From d5064b80a7b16c9047877ee6864634895257c895 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 20 Nov 2023 10:42:52 +0100 Subject: [PATCH] chore(deps): update all non-major dependencies (minor) (#5263) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![Mend Renovate logo banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [@typescript-eslint/eslint-plugin](https://togithub.com/typescript-eslint/typescript-eslint) | [`6.10.0` -> `6.11.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2feslint-plugin/6.10.0/6.11.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2feslint-plugin/6.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2feslint-plugin/6.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2feslint-plugin/6.10.0/6.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2feslint-plugin/6.10.0/6.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [@typescript-eslint/parser](https://togithub.com/typescript-eslint/typescript-eslint) | [`6.10.0` -> `6.11.0`](https://renovatebot.com/diffs/npm/@typescript-eslint%2fparser/6.10.0/6.11.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@typescript-eslint%2fparser/6.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/@typescript-eslint%2fparser/6.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/@typescript-eslint%2fparser/6.10.0/6.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@typescript-eslint%2fparser/6.10.0/6.11.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [chromatic](https://www.chromatic.com) ([source](https://togithub.com/chromaui/chromatic-cli)) | [`9.0.0` -> `9.1.0`](https://renovatebot.com/diffs/npm/chromatic/9.0.0/9.1.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/chromatic/9.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/chromatic/9.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/chromatic/9.0.0/9.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/chromatic/9.0.0/9.1.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | | [eslint](https://eslint.org) ([source](https://togithub.com/eslint/eslint)) | [`8.53.0` -> `8.54.0`](https://renovatebot.com/diffs/npm/eslint/8.53.0/8.54.0) | [![age](https://developer.mend.io/api/mc/badges/age/npm/eslint/8.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/eslint/8.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/eslint/8.53.0/8.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/eslint/8.53.0/8.54.0?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
typescript-eslint/typescript-eslint (@​typescript-eslint/eslint-plugin) ### [`v6.11.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/eslint-plugin/CHANGELOG.md#6110-2023-11-13) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.10.0...v6.11.0) ##### Bug Fixes - **eslint-plugin:** \[explicit-function-return-type] support JSX attributes in `allowTypedFunctionExpressions` ([#​7553](https://togithub.com/typescript-eslint/typescript-eslint/issues/7553)) ([be2777c](https://togithub.com/typescript-eslint/typescript-eslint/commit/be2777c5338669836d786f9a7806f499fd566dcd)) - **eslint-plugin:** \[no-unnecessary-qualifier] handle nested namespace id ([#​7883](https://togithub.com/typescript-eslint/typescript-eslint/issues/7883)) ([a668f5b](https://togithub.com/typescript-eslint/typescript-eslint/commit/a668f5b10e7b1570c732312ad9ccab3431459c1b)) ##### Features - add `no-unsafe-unary-minus` rule ([#​7390](https://togithub.com/typescript-eslint/typescript-eslint/issues/7390)) ([c4709c2](https://togithub.com/typescript-eslint/typescript-eslint/commit/c4709c2861f8ea4e18c289218a75224d6bb76193)) - add types for flat config files ([#​7273](https://togithub.com/typescript-eslint/typescript-eslint/issues/7273)) ([66cd0c0](https://togithub.com/typescript-eslint/typescript-eslint/commit/66cd0c0535e5de1b46ba337919a9a92748d2b0a6)) - allow typescript@5.3.0-RC as devDependency ([#​7821](https://togithub.com/typescript-eslint/typescript-eslint/issues/7821)) ([b6c40b4](https://togithub.com/typescript-eslint/typescript-eslint/commit/b6c40b42b68d5567c7468030ee45b9b84bec4c4d)) - **eslint-plugin:** no-unsafe-enum-comparison handles switch cases ([#​7898](https://togithub.com/typescript-eslint/typescript-eslint/issues/7898)) ([72cb9e4](https://togithub.com/typescript-eslint/typescript-eslint/commit/72cb9e4ed397d35a8d8838d27dedbace6122179c)) - **utils:** add ESLint `CodePath` selector types ([#​7551](https://togithub.com/typescript-eslint/typescript-eslint/issues/7551)) ([99a026f](https://togithub.com/typescript-eslint/typescript-eslint/commit/99a026fe41b4b169914352fe66e7d5d687b300bf)) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
typescript-eslint/typescript-eslint (@​typescript-eslint/parser) ### [`v6.11.0`](https://togithub.com/typescript-eslint/typescript-eslint/blob/HEAD/packages/parser/CHANGELOG.md#6110-2023-11-13) [Compare Source](https://togithub.com/typescript-eslint/typescript-eslint/compare/v6.10.0...v6.11.0) **Note:** Version bump only for package [@​typescript-eslint/parser](https://togithub.com/typescript-eslint/parser) You can read about our [versioning strategy](https://main--typescript-eslint.netlify.app/users/versioning) and [releases](https://main--typescript-eslint.netlify.app/users/releases) on our website.
chromaui/chromatic-cli (chromatic) ### [`v9.1.0`](https://togithub.com/chromaui/chromatic-cli/blob/HEAD/CHANGELOG.md#v910-Fri-Nov-17-2023) [Compare Source](https://togithub.com/chromaui/chromatic-cli/compare/v9.0.0...v9.1.0) ##### 🚀 Enhancement - Don't write `chromatic.log` by default, allow configuring log files [#​855](https://togithub.com/chromaui/chromatic-cli/pull/855) ([@​ghengeveld](https://togithub.com/ghengeveld)) ##### 🐛 Bug Fix - Redact `userToken` in diagnostics and fatal error output [#​859](https://togithub.com/chromaui/chromatic-cli/pull/859) ([@​ghengeveld](https://togithub.com/ghengeveld)) - Bump zod from 3.22.2 to 3.22.3 [#​830](https://togithub.com/chromaui/chromatic-cli/pull/830) ([@​dependabot\[bot\]](https://togithub.com/dependabot\[bot]) [@​thafryer](https://togithub.com/thafryer)) - Bump word-wrap from 1.2.3 to 1.2.5 [#​804](https://togithub.com/chromaui/chromatic-cli/pull/804) ([@​dependabot\[bot\]](https://togithub.com/dependabot\[bot]) [@​thafryer](https://togithub.com/thafryer)) - Bump get-func-name from 2.0.0 to 2.0.2 [#​824](https://togithub.com/chromaui/chromatic-cli/pull/824) ([@​dependabot\[bot\]](https://togithub.com/dependabot\[bot]) [@​thafryer](https://togithub.com/thafryer)) - Bump [@​babel/traverse](https://togithub.com/babel/traverse) from 7.16.3 to 7.23.2 in /subdir [#​838](https://togithub.com/chromaui/chromatic-cli/pull/838) ([@​dependabot\[bot\]](https://togithub.com/dependabot\[bot]) [@​thafryer](https://togithub.com/thafryer)) - Fix changelog for 9.0.0 and update auto config to prevent issue in the future [#​854](https://togithub.com/chromaui/chromatic-cli/pull/854) ([@​ghengeveld](https://togithub.com/ghengeveld)) ##### ⚠️ Pushed to `main` - Drop next-release label ([@​ghengeveld](https://togithub.com/ghengeveld)) ##### Authors: 3 - [@​dependabot\[bot\]](https://togithub.com/dependabot\[bot]) - Gert Hengeveld ([@​ghengeveld](https://togithub.com/ghengeveld)) - Jarel Fryer ([@​thafryer](https://togithub.com/thafryer)) ***
eslint/eslint (eslint) ### [`v8.54.0`](https://togithub.com/eslint/eslint/releases/tag/v8.54.0) [Compare Source](https://togithub.com/eslint/eslint/compare/v8.53.0...v8.54.0) #### Features - [`a7a883b`](https://togithub.com/eslint/eslint/commit/a7a883bd6ba4f140b60cbbb2be5b53d750f6c8db) feat: for-direction rule add check for condition in reverse order ([#​17755](https://togithub.com/eslint/eslint/issues/17755)) (Angelo Annunziata) - [`1452dc9`](https://togithub.com/eslint/eslint/commit/1452dc9f12c45c05d7c569f737221f0d988ecef1) feat: Add suggestions to no-console ([#​17680](https://togithub.com/eslint/eslint/issues/17680)) (Joel Mathew Koshy) - [`21ebf8a`](https://togithub.com/eslint/eslint/commit/21ebf8a811be9f4b009cf70a10be5062d4fdc736) feat: update `no-array-constructor` rule ([#​17711](https://togithub.com/eslint/eslint/issues/17711)) (Francesco Trotta) #### Bug Fixes - [`98926e6`](https://togithub.com/eslint/eslint/commit/98926e6e7323e5dd12a9f016cb558144296665af) fix: Ensure that extra data is not accidentally stored in the cache file ([#​17760](https://togithub.com/eslint/eslint/issues/17760)) (Milos Djermanovic) - [`e8cf9f6`](https://togithub.com/eslint/eslint/commit/e8cf9f6a524332293f8b2c90a2db4a532e47d919) fix: Make dark scroll bar in dark theme ([#​17753](https://togithub.com/eslint/eslint/issues/17753)) (Pavel) - [`3cbeaad`](https://togithub.com/eslint/eslint/commit/3cbeaad7b943c153937ce34365cec2c406f2b98b) fix: Use `cwd` constructor option as config `basePath` in Linter ([#​17705](https://togithub.com/eslint/eslint/issues/17705)) (Milos Djermanovic) #### Documentation - [`becfdd3`](https://togithub.com/eslint/eslint/commit/becfdd39b25d795e56c9a13eb3e77af6b9c86e8a) docs: Make clear when rules are removed ([#​17728](https://togithub.com/eslint/eslint/issues/17728)) (Nicholas C. Zakas) - [`05d6e99`](https://togithub.com/eslint/eslint/commit/05d6e99153ed6d94eb30f46c57609371918a41f3) docs: update "Submit a Pull Request" page ([#​17712](https://togithub.com/eslint/eslint/issues/17712)) (Francesco Trotta) - [`eb2279e`](https://togithub.com/eslint/eslint/commit/eb2279e5148cee8fdea7dae614f4f8af7a2d06c3) docs: display info about deprecated rules ([#​17749](https://togithub.com/eslint/eslint/issues/17749)) (Percy Ma) - [`d245326`](https://togithub.com/eslint/eslint/commit/d24532601e64714ac5d08507e05aa5c14ecd1d5a) docs: Correct working in migrating plugin docs ([#​17722](https://togithub.com/eslint/eslint/issues/17722)) (Filip Tammergård) #### Chores - [`d644de9`](https://togithub.com/eslint/eslint/commit/d644de9a4b593b565617303a095bc9aa69e7b768) chore: upgrade [@​eslint/js](https://togithub.com/eslint/js)[@​8](https://togithub.com/8).54.0 ([#​17773](https://togithub.com/eslint/eslint/issues/17773)) (Milos Djermanovic) - [`1e6e314`](https://togithub.com/eslint/eslint/commit/1e6e31415cc429a3a9fc64b2ec03df0e0ec0c91b) chore: package.json update for [@​eslint/js](https://togithub.com/eslint/js) release (Jenkins) - [`6fb8805`](https://togithub.com/eslint/eslint/commit/6fb8805310afe7476d6c404f172177a6d15fcf11) chore: Fixed grammar in issue_templates/rule_change ([#​17770](https://togithub.com/eslint/eslint/issues/17770)) (Joel Mathew Koshy) - [`85db724`](https://togithub.com/eslint/eslint/commit/85db7243ddb8706ed60ab64a7ddf604d0d7de493) chore: upgrade `markdownlint` to 0.31.1 ([#​17754](https://togithub.com/eslint/eslint/issues/17754)) (Nitin Kumar) - [`6d470d2`](https://togithub.com/eslint/eslint/commit/6d470d2e74535761bd56dcb1c021b463ef9e8a9c) chore: update dependency recast to ^0.23.0 ([#​17736](https://togithub.com/eslint/eslint/issues/17736)) (renovate\[bot]) - [`b7121b5`](https://togithub.com/eslint/eslint/commit/b7121b590d578c9c9b38ee481313317f30e54817) chore: update dependency markdownlint-cli to ^0.37.0 ([#​17735](https://togithub.com/eslint/eslint/issues/17735)) (renovate\[bot]) - [`633b9a1`](https://togithub.com/eslint/eslint/commit/633b9a19752b6a22ab4d6c824f27a75ac0e4151b) chore: update dependency regenerator-runtime to ^0.14.0 ([#​17739](https://togithub.com/eslint/eslint/issues/17739)) (renovate\[bot]) - [`acac16f`](https://togithub.com/eslint/eslint/commit/acac16fdf8540f7ba86cf637e3c1b253bd35a268) chore: update dependency vite-plugin-commonjs to ^0.10.0 ([#​17740](https://togithub.com/eslint/eslint/issues/17740)) (renovate\[bot]) - [`ba8ca7e`](https://togithub.com/eslint/eslint/commit/ba8ca7e3debcba68ee7015b9221cf5acd7870206) chore: add .github/renovate.json5 ([#​17567](https://togithub.com/eslint/eslint/issues/17567)) (Josh Goldberg ✨)
--- ### Configuration 📅 **Schedule**: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://togithub.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/). View repository job log [here](https://developer.mend.io/github/SAP/ui5-webcomponents-react). --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Lukas Harbarth --- .../chartbody/TimelineChartBody.tsx | 5 +- .../charts/src/hooks/useLongestYAxisLabel.ts | 2 +- .../src/hooks/useLongestYAxisLabelBar.ts | 2 +- .../AnalyticalTable/AnalyticalTable.cy.tsx | 2 +- .../ColumnHeader/ColumnHeaderModal.tsx | 6 +- .../AnalyticalTable/types/ColumnType.ts | 3 +- .../src/components/FlexBox/FlexBox.cy.tsx | 11 +- packages/main/src/components/Grid/Grid.cy.tsx | 3 +- .../src/components/Toolbar/Toolbar.cy.tsx | 2 +- .../SelectMenu/SelectMenu.cy.tsx | 2 +- .../SelectMenuOption/SelectMenuOption.cy.tsx | 2 +- .../ToolbarSelectOption.cy.tsx | 2 +- yarn.lock | 118 +++++++++--------- 13 files changed, 82 insertions(+), 78 deletions(-) diff --git a/packages/charts/src/components/TimelineChart/chartbody/TimelineChartBody.tsx b/packages/charts/src/components/TimelineChart/chartbody/TimelineChartBody.tsx index d4cfd1487b7..5930efcdee5 100644 --- a/packages/charts/src/components/TimelineChart/chartbody/TimelineChartBody.tsx +++ b/packages/charts/src/components/TimelineChart/chartbody/TimelineChartBody.tsx @@ -54,9 +54,10 @@ const TimelineChartBody = ({ const [displayArrows, setDisplayArrows] = useState(false); useEffect(() => { - bodyRef.current?.addEventListener('wheel', onMouseWheelEvent); + const bodyElement = bodyRef.current; + bodyElement?.addEventListener('wheel', onMouseWheelEvent); return () => { - bodyRef.current?.removeEventListener('wheel', onMouseWheelEvent); + bodyElement?.removeEventListener('wheel', onMouseWheelEvent); }; }, []); diff --git a/packages/charts/src/hooks/useLongestYAxisLabel.ts b/packages/charts/src/hooks/useLongestYAxisLabel.ts index 4ccdeb60c78..5f01bc959f9 100644 --- a/packages/charts/src/hooks/useLongestYAxisLabel.ts +++ b/packages/charts/src/hooks/useLongestYAxisLabel.ts @@ -25,4 +25,4 @@ export const useLongestYAxisLabel = (dataset: unknown[], elements, legendPositio } return [labelLength, { marginLeft: labelLength, maxWidth: `calc(100% - ${labelLength + 10}px)` }]; - }, [dataset, elements]); + }, [dataset, elements, legendPosition]); diff --git a/packages/charts/src/hooks/useLongestYAxisLabelBar.ts b/packages/charts/src/hooks/useLongestYAxisLabelBar.ts index 90741dee2c3..8702923acd3 100644 --- a/packages/charts/src/hooks/useLongestYAxisLabelBar.ts +++ b/packages/charts/src/hooks/useLongestYAxisLabelBar.ts @@ -29,4 +29,4 @@ export const useLongestYAxisLabelBar = (dataset: unknown[], elements, legendPosi return [axisWidths, { width: 'auto' }]; } return [axisWidths, { marginLeft, maxWidth: `calc(100% - ${marginLeft + 8}px)` }]; - }, [dataset, elements]); + }, [dataset, elements, legendPosition]); diff --git a/packages/main/src/components/AnalyticalTable/AnalyticalTable.cy.tsx b/packages/main/src/components/AnalyticalTable/AnalyticalTable.cy.tsx index 2cb0c1f33ac..b2d01dd157a 100644 --- a/packages/main/src/components/AnalyticalTable/AnalyticalTable.cy.tsx +++ b/packages/main/src/components/AnalyticalTable/AnalyticalTable.cy.tsx @@ -1,4 +1,3 @@ -import { cssVarToRgb, cypressPassThroughTestsFactory } from '@/cypress/support/utils'; import { ThemingParameters } from '@ui5/webcomponents-react-base'; import { useCallback, useEffect, useMemo, useRef, useState } from 'react'; import type { AnalyticalTablePropTypes } from '../..'; @@ -14,6 +13,7 @@ import { import { AnalyticalTableSelectionMode, AnalyticalTableVisibleRowCountMode, ValueState } from '../../enums/index.js'; import { useManualRowSelect } from './pluginHooks/useManualRowSelect'; import { useRowDisableSelection } from './pluginHooks/useRowDisableSelection'; +import { cssVarToRgb, cypressPassThroughTestsFactory } from '@/cypress/support/utils'; const generateMoreData = (count) => { return new Array(count).fill('').map((item, index) => ({ diff --git a/packages/main/src/components/AnalyticalTable/ColumnHeader/ColumnHeaderModal.tsx b/packages/main/src/components/AnalyticalTable/ColumnHeader/ColumnHeaderModal.tsx index 4d3ddc0292a..64ac58025d5 100644 --- a/packages/main/src/components/AnalyticalTable/ColumnHeader/ColumnHeaderModal.tsx +++ b/packages/main/src/components/AnalyticalTable/ColumnHeader/ColumnHeaderModal.tsx @@ -26,10 +26,10 @@ import type { PopoverDomRef } from '../../../webComponents/Popover/index.js'; import { Popover } from '../../../webComponents/Popover/index.js'; import { StandardListItem } from '../../../webComponents/StandardListItem/index.js'; import { FlexBox } from '../../FlexBox/index.js'; -import type { ColumnType } from '../types/ColumnType.js'; +import type { AnalyticalTableColumnDefinition } from '../types/index.js'; export interface ColumnHeaderModalProperties { - column: ColumnType; + column: AnalyticalTableColumnDefinition; onSort?: (e: CustomEvent<{ column: unknown; sortDirection: string }>) => void; onGroupBy?: (e: CustomEvent<{ column: unknown; isGrouped: boolean }>) => void; open: boolean; @@ -141,7 +141,7 @@ export const ColumnHeaderModal = (props: ColumnHeaderModalProperties) => { }; const horizontalAlign = (() => { - switch (column.hAlign) { + switch (column.hAlign as AnalyticalTableColumnDefinition['hAlign']) { case TextAlign.Begin: return isRtl ? PopoverHorizontalAlign.Right : PopoverHorizontalAlign.Left; case TextAlign.End: diff --git a/packages/main/src/components/AnalyticalTable/types/ColumnType.ts b/packages/main/src/components/AnalyticalTable/types/ColumnType.ts index 6bc358129b3..0ba4a7f35e9 100644 --- a/packages/main/src/components/AnalyticalTable/types/ColumnType.ts +++ b/packages/main/src/components/AnalyticalTable/types/ColumnType.ts @@ -1,6 +1,7 @@ import type { ComponentType, RefObject } from 'react'; import type { Column } from 'react-table'; import type { PopoverDomRef } from '../../../webComponents/Popover/index.js'; +import type { AnalyticalTableColumnDefinition } from './index.js'; export interface ColumnType extends Column { show: boolean; @@ -20,7 +21,7 @@ export interface ColumnType extends Column { disableGrouping: boolean; getResizerProps: () => any; isResizing: boolean; - hAlign: string; + hAlign: AnalyticalTableColumnDefinition['hAlign']; totalLeft: number; totalFlexWidth: number; enableMultiSort?: boolean; diff --git a/packages/main/src/components/FlexBox/FlexBox.cy.tsx b/packages/main/src/components/FlexBox/FlexBox.cy.tsx index f0fb0e9ed08..376b54b3045 100644 --- a/packages/main/src/components/FlexBox/FlexBox.cy.tsx +++ b/packages/main/src/components/FlexBox/FlexBox.cy.tsx @@ -1,10 +1,11 @@ import { FlexBoxJustifyContent, FlexBoxAlignItems, FlexBoxDirection, FlexBoxWrap } from '../../enums/index.js'; import { camelToKebabCase, lowercaseFirstLetter } from '../../internal/utils.js'; import { FlexBox } from './index.js'; +import type { FlexBoxPropTypes } from './index.js'; import { cypressPassThroughTestsFactory, mountWithCustomTagName } from '@/cypress/support/utils'; describe('FlexBox', () => { - Object.values(FlexBoxJustifyContent).forEach((val) => { + Object.values(FlexBoxJustifyContent).forEach((val: FlexBoxPropTypes['justifyContent']) => { it(`JustifyContent: ${val}`, () => { cy.mount( @@ -26,7 +27,7 @@ describe('FlexBox', () => { }); }); - Object.values(FlexBoxAlignItems).forEach((val) => { + Object.values(FlexBoxAlignItems).forEach((val: FlexBoxPropTypes['alignItems']) => { it(`AlignItems: ${val}`, () => { cy.mount( @@ -48,7 +49,7 @@ describe('FlexBox', () => { }); }); - Object.values(FlexBoxDirection).forEach((val) => { + Object.values(FlexBoxDirection).forEach((val: FlexBoxPropTypes['direction']) => { it(`AlignItems: ${val}`, () => { cy.mount( @@ -60,7 +61,7 @@ describe('FlexBox', () => { }); }); - Object.values(FlexBoxWrap).forEach((val) => { + Object.values(FlexBoxWrap).forEach((val: FlexBoxPropTypes['wrap']) => { it(`wrap: ${val}`, () => { cy.mount( @@ -93,6 +94,6 @@ describe('FlexBox', () => { .should('have.css', 'height', '200px'); }); - mountWithCustomTagName(FlexBox, { children: Test 1 }); + mountWithCustomTagName(FlexBox, { children: Test 1 }); cypressPassThroughTestsFactory(FlexBox); }); diff --git a/packages/main/src/components/Grid/Grid.cy.tsx b/packages/main/src/components/Grid/Grid.cy.tsx index 4a6ab437287..629f1a53a5a 100644 --- a/packages/main/src/components/Grid/Grid.cy.tsx +++ b/packages/main/src/components/Grid/Grid.cy.tsx @@ -1,5 +1,6 @@ import { GridPosition } from '../../enums/index.js'; import { Grid } from './index.js'; +import type { GridPropTypes } from './index.js'; import { cypressPassThroughTestsFactory } from '@/cypress/support/utils'; const style = { height: '6rem', width: '100%' }; @@ -108,7 +109,7 @@ describe('Grid', () => { ); cy.findByTestId('grid').should('have.css', 'grid-row-gap', '42px').should('have.css', 'grid-column-gap', '7px'); }); - [...Object.values(GridPosition), undefined].forEach((pos: GridPosition | undefined) => { + [...Object.values(GridPosition), undefined].forEach((pos: GridPropTypes['position'] | undefined) => { it(`position-${pos}`, () => { cy.mount(
diff --git a/packages/main/src/components/Toolbar/Toolbar.cy.tsx b/packages/main/src/components/Toolbar/Toolbar.cy.tsx index 781fbaaa7d5..31d49222afc 100644 --- a/packages/main/src/components/Toolbar/Toolbar.cy.tsx +++ b/packages/main/src/components/Toolbar/Toolbar.cy.tsx @@ -317,7 +317,7 @@ describe('Toolbar', () => { cy.findByTestId('tb').should('have.css', 'border-bottom-style', 'none'); }); - Object.values(ToolbarDesign).forEach((design) => { + Object.values(ToolbarDesign).forEach((design: ToolbarPropTypes['design']) => { it(`Design: ${design}`, () => { cy.mount( diff --git a/packages/main/src/webComponents/SelectMenu/SelectMenu.cy.tsx b/packages/main/src/webComponents/SelectMenu/SelectMenu.cy.tsx index 096237f701a..d461174de8b 100644 --- a/packages/main/src/webComponents/SelectMenu/SelectMenu.cy.tsx +++ b/packages/main/src/webComponents/SelectMenu/SelectMenu.cy.tsx @@ -1,5 +1,5 @@ -import { cypressPassThroughTestsFactory } from '@/cypress/support/utils'; import { SelectMenu } from './index'; +import { cypressPassThroughTestsFactory } from '@/cypress/support/utils'; describe('SelectMenu', () => { it('Basic Test (generated)', () => { diff --git a/packages/main/src/webComponents/SelectMenuOption/SelectMenuOption.cy.tsx b/packages/main/src/webComponents/SelectMenuOption/SelectMenuOption.cy.tsx index 03755a271ca..62d30cb6c92 100644 --- a/packages/main/src/webComponents/SelectMenuOption/SelectMenuOption.cy.tsx +++ b/packages/main/src/webComponents/SelectMenuOption/SelectMenuOption.cy.tsx @@ -1,5 +1,5 @@ -import { cypressPassThroughTestsFactory } from '@/cypress/support/utils'; import { SelectMenuOption } from './index'; +import { cypressPassThroughTestsFactory } from '@/cypress/support/utils'; describe('SelectMenuOption', () => { it('Basic Test (generated)', () => { diff --git a/packages/main/src/webComponents/ToolbarSelectOption/ToolbarSelectOption.cy.tsx b/packages/main/src/webComponents/ToolbarSelectOption/ToolbarSelectOption.cy.tsx index cf567456b15..395121ad98e 100644 --- a/packages/main/src/webComponents/ToolbarSelectOption/ToolbarSelectOption.cy.tsx +++ b/packages/main/src/webComponents/ToolbarSelectOption/ToolbarSelectOption.cy.tsx @@ -1,5 +1,5 @@ -import { cypressPassThroughTestsFactory } from '@/cypress/support/utils'; import { ToolbarSelectOption } from './index'; +import { cypressPassThroughTestsFactory } from '@/cypress/support/utils'; describe('ToolbarSelectOption', () => { it('Basic Test (generated)', () => { diff --git a/yarn.lock b/yarn.lock index 63197f9700a..6d9289da040 100644 --- a/yarn.lock +++ b/yarn.lock @@ -3644,10 +3644,10 @@ __metadata: languageName: node linkType: hard -"@eslint/js@npm:8.53.0": - version: 8.53.0 - resolution: "@eslint/js@npm:8.53.0" - checksum: d29f6c207b2f6dc4ef174d16a3c07b0d3a17ca3d805680496ff267edd773e3bac41db4e7dcab622ca1970d892535bd19671e2a756d4eac75e96fd8c8dcdb619b +"@eslint/js@npm:8.54.0": + version: 8.54.0 + resolution: "@eslint/js@npm:8.54.0" + checksum: d61fb4a0be6af2d8cb290121c329697664a75d6255a29926d5454fb02aeb02b87112f67fdf218d10abac42f90c570ac366126751baefc5405d0e017ed0c946c5 languageName: node linkType: hard @@ -7187,14 +7187,14 @@ __metadata: linkType: hard "@typescript-eslint/eslint-plugin@npm:^6.0.0": - version: 6.10.0 - resolution: "@typescript-eslint/eslint-plugin@npm:6.10.0" + version: 6.11.0 + resolution: "@typescript-eslint/eslint-plugin@npm:6.11.0" dependencies: "@eslint-community/regexpp": "npm:^4.5.1" - "@typescript-eslint/scope-manager": "npm:6.10.0" - "@typescript-eslint/type-utils": "npm:6.10.0" - "@typescript-eslint/utils": "npm:6.10.0" - "@typescript-eslint/visitor-keys": "npm:6.10.0" + "@typescript-eslint/scope-manager": "npm:6.11.0" + "@typescript-eslint/type-utils": "npm:6.11.0" + "@typescript-eslint/utils": "npm:6.11.0" + "@typescript-eslint/visitor-keys": "npm:6.11.0" debug: "npm:^4.3.4" graphemer: "npm:^1.4.0" ignore: "npm:^5.2.4" @@ -7207,7 +7207,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: f50b17cb753afbfc99549d38585eba8558949b977eb4661dd584e73ee946b3dbe944c9e3b12a233fa06b5e1c7d101730ac88a00c7a91b0a7f1e2c37a98e13c7a + checksum: 6645aa09b9d51c5e3ea781eaf74da75b94f83f3e2d7b3dd988d5ce7eb82dd87e3509471cf2ee8c6b2428d907df5f1b02f29dbd04f54c2653f9566c8c4ce98009 languageName: node linkType: hard @@ -7229,20 +7229,20 @@ __metadata: linkType: hard "@typescript-eslint/parser@npm:^6.0.0": - version: 6.10.0 - resolution: "@typescript-eslint/parser@npm:6.10.0" + version: 6.11.0 + resolution: "@typescript-eslint/parser@npm:6.11.0" dependencies: - "@typescript-eslint/scope-manager": "npm:6.10.0" - "@typescript-eslint/types": "npm:6.10.0" - "@typescript-eslint/typescript-estree": "npm:6.10.0" - "@typescript-eslint/visitor-keys": "npm:6.10.0" + "@typescript-eslint/scope-manager": "npm:6.11.0" + "@typescript-eslint/types": "npm:6.11.0" + "@typescript-eslint/typescript-estree": "npm:6.11.0" + "@typescript-eslint/visitor-keys": "npm:6.11.0" debug: "npm:^4.3.4" peerDependencies: eslint: ^7.0.0 || ^8.0.0 peerDependenciesMeta: typescript: optional: true - checksum: fd86c31dfdde03636393a3a9cf16716856bb506923069f34d87af14fac363a33578f47476a15d272e4d7a764de00fd905ee11361cc06b81b302a9fa8ebe4c23c + checksum: e7caeb20069102e21f468fc0dbe7ff6fb6b1efa9e72f4c9f39d4a865ed0633f39130b593ef9ae8f394ca1d70563e15410faf30a482a97809951eaac6ed3a67da languageName: node linkType: hard @@ -7266,13 +7266,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/scope-manager@npm:6.10.0": - version: 6.10.0 - resolution: "@typescript-eslint/scope-manager@npm:6.10.0" +"@typescript-eslint/scope-manager@npm:6.11.0": + version: 6.11.0 + resolution: "@typescript-eslint/scope-manager@npm:6.11.0" dependencies: - "@typescript-eslint/types": "npm:6.10.0" - "@typescript-eslint/visitor-keys": "npm:6.10.0" - checksum: a5fbee770d763852a7f426b950d495529139f1629fdcb30136c93f787acd82236db4272f78dff1d05a3a10a6406472ae95ae94ab75cfb618a06d75b8cc536cbf + "@typescript-eslint/types": "npm:6.11.0" + "@typescript-eslint/visitor-keys": "npm:6.11.0" + checksum: d8999e2d1a4cbde8a79df5e3ec416f0e3db9532d39f2f4bb5a0ebdf954ae75c183d3277579ba05268fe2c88e88ef87f0fa12f02bb8d95d9e67d92e411241f3a3 languageName: node linkType: hard @@ -7293,12 +7293,12 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/type-utils@npm:6.10.0": - version: 6.10.0 - resolution: "@typescript-eslint/type-utils@npm:6.10.0" +"@typescript-eslint/type-utils@npm:6.11.0": + version: 6.11.0 + resolution: "@typescript-eslint/type-utils@npm:6.11.0" dependencies: - "@typescript-eslint/typescript-estree": "npm:6.10.0" - "@typescript-eslint/utils": "npm:6.10.0" + "@typescript-eslint/typescript-estree": "npm:6.11.0" + "@typescript-eslint/utils": "npm:6.11.0" debug: "npm:^4.3.4" ts-api-utils: "npm:^1.0.1" peerDependencies: @@ -7306,7 +7306,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: f7c425d4da4d53d78b3d6630216dc1f2809f8dcaed62dc3cf12252102a53103a2aa39a160b310ca1cedebf87b8c339013be0c2360710c7c836b775374730c10e + checksum: ff68f2e052b8d688f1dc1a0050746704c8e0ab6263b47f1f52da73a7d251678e4950af23a95e1cd8e3fcea2457e6e5294ddbe01d29dafa2fdfb5b11ed9452a3f languageName: node linkType: hard @@ -7324,10 +7324,10 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/types@npm:6.10.0": - version: 6.10.0 - resolution: "@typescript-eslint/types@npm:6.10.0" - checksum: 30f47de625405b3729db6d26a0376d98628bd966c70ca01fab1adcef91bba810d27ce643d844e42d1cc77bb2c6277e62efe278a090da63ba748dfe5710c4757b +"@typescript-eslint/types@npm:6.11.0": + version: 6.11.0 + resolution: "@typescript-eslint/types@npm:6.11.0" + checksum: 23182813db39a5e9b9bcc1e85306c953f7b8b22d3885e41fcac0bd725c170fbcb70f4ce55633678cc5921dcf062fa0e55635eb39480c118a4411a00354820223 languageName: node linkType: hard @@ -7367,12 +7367,12 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/typescript-estree@npm:6.10.0": - version: 6.10.0 - resolution: "@typescript-eslint/typescript-estree@npm:6.10.0" +"@typescript-eslint/typescript-estree@npm:6.11.0": + version: 6.11.0 + resolution: "@typescript-eslint/typescript-estree@npm:6.11.0" dependencies: - "@typescript-eslint/types": "npm:6.10.0" - "@typescript-eslint/visitor-keys": "npm:6.10.0" + "@typescript-eslint/types": "npm:6.11.0" + "@typescript-eslint/visitor-keys": "npm:6.11.0" debug: "npm:^4.3.4" globby: "npm:^11.1.0" is-glob: "npm:^4.0.3" @@ -7381,7 +7381,7 @@ __metadata: peerDependenciesMeta: typescript: optional: true - checksum: ca28ca5a55e2d431c649ad093e4a4302f2b37c430bbeebbe622b05c727fd14dab136aead5a96848499d3ff4d187889733f8871b8dd5205d19bed4a260ad74544 + checksum: 3e183e554e1bc74f065da3015f7137eb40c262f989c547701b1e3f4f20134e574e56b749288cd00d77b9d1ddb705546613c2457661ffc63b6060ffa97ba3aac8 languageName: node linkType: hard @@ -7403,20 +7403,20 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/utils@npm:6.10.0": - version: 6.10.0 - resolution: "@typescript-eslint/utils@npm:6.10.0" +"@typescript-eslint/utils@npm:6.11.0": + version: 6.11.0 + resolution: "@typescript-eslint/utils@npm:6.11.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.4.0" "@types/json-schema": "npm:^7.0.12" "@types/semver": "npm:^7.5.0" - "@typescript-eslint/scope-manager": "npm:6.10.0" - "@typescript-eslint/types": "npm:6.10.0" - "@typescript-eslint/typescript-estree": "npm:6.10.0" + "@typescript-eslint/scope-manager": "npm:6.11.0" + "@typescript-eslint/types": "npm:6.11.0" + "@typescript-eslint/typescript-estree": "npm:6.11.0" semver: "npm:^7.5.4" peerDependencies: eslint: ^7.0.0 || ^8.0.0 - checksum: 809a1d08b154f76ed7a99edddf872369f6ed93987cea19a18cb9f12b8390bddcff9138d9d94955545da54488d59e0001054bec13baf6d858a1761b059480b887 + checksum: c91eb4578607959acc2b43ddc791571682e45601a19b25d5d120786ed4af607656f83c5c1fa71972e549ddfb5542acf2f7d443ae93b32ee28192c22c106b8883 languageName: node linkType: hard @@ -7458,13 +7458,13 @@ __metadata: languageName: node linkType: hard -"@typescript-eslint/visitor-keys@npm:6.10.0": - version: 6.10.0 - resolution: "@typescript-eslint/visitor-keys@npm:6.10.0" +"@typescript-eslint/visitor-keys@npm:6.11.0": + version: 6.11.0 + resolution: "@typescript-eslint/visitor-keys@npm:6.11.0" dependencies: - "@typescript-eslint/types": "npm:6.10.0" + "@typescript-eslint/types": "npm:6.11.0" eslint-visitor-keys: "npm:^3.4.1" - checksum: f9223c148655ce00bb17db8aa92ee964e62c75d15095893e0b4d653c60a4033f456329b06de3eab4b404d8df359904f0dd6e3c8c842885c6d130e28ccd95ce03 + checksum: 5f48329422b7f286196661d39e93e9defd7c5cf80e6c84c8d03459853f5d9f86a5e91c5e80ea572dcdb907ebbe503bbcc77aeb8b468c294b2aa7b3ccfc81cb88 languageName: node linkType: hard @@ -9508,13 +9508,13 @@ __metadata: linkType: hard "chromatic@npm:^9.0.0": - version: 9.0.0 - resolution: "chromatic@npm:9.0.0" + version: 9.1.0 + resolution: "chromatic@npm:9.1.0" bin: chroma: dist/bin.js chromatic: dist/bin.js chromatic-cli: dist/bin.js - checksum: 9127171d64aa337b24b3862bab7f86d52abdfd1d6911c1259acbd980788d8e063d18cf438d3b0756400946e135ac9b50003db2c0449ee943be125fb9d9bc33f1 + checksum: 27d0ff5ef993024301f31d137e9774b051de908d48dcd461c33b51c92e5e7b57cd062eaddafcd02f1c2a98cfe5d5ef26b7fcdf77b76df94e357171074a23b950 languageName: node linkType: hard @@ -12186,13 +12186,13 @@ __metadata: linkType: hard "eslint@npm:^8.35.0": - version: 8.53.0 - resolution: "eslint@npm:8.53.0" + version: 8.54.0 + resolution: "eslint@npm:8.54.0" dependencies: "@eslint-community/eslint-utils": "npm:^4.2.0" "@eslint-community/regexpp": "npm:^4.6.1" "@eslint/eslintrc": "npm:^2.1.3" - "@eslint/js": "npm:8.53.0" + "@eslint/js": "npm:8.54.0" "@humanwhocodes/config-array": "npm:^0.11.13" "@humanwhocodes/module-importer": "npm:^1.0.1" "@nodelib/fs.walk": "npm:^1.2.8" @@ -12229,7 +12229,7 @@ __metadata: text-table: "npm:^0.2.0" bin: eslint: bin/eslint.js - checksum: c5cd0049488c0463dab7d97466767ca5a1d0b3b59d0a223122683dc8039ecea30b27867fb9e38906b4c1ab9d09ece8a802a6c540d8905016f1cc4b4bb27329af + checksum: 4f205f832bdbd0218cde374b067791f4f76d7abe8de86b2dc849c273899051126d912ebf71531ee49b8eeaa22cad77febdc8f2876698dc2a76e84a8cb976af22 languageName: node linkType: hard