Skip to content

Commit

Permalink
chore(deps): update all non-major dependencies (minor) (#5263)
Browse files Browse the repository at this point in the history
[![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

<details>
<summary>typescript-eslint/typescript-eslint
(@&#8203;typescript-eslint/eslint-plugin)</summary>

###
[`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`
([#&#8203;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
([#&#8203;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
([#&#8203;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
([#&#8203;7273](https://togithub.com/typescript-eslint/typescript-eslint/issues/7273))
([66cd0c0](https://togithub.com/typescript-eslint/typescript-eslint/commit/66cd0c0535e5de1b46ba337919a9a92748d2b0a6))
- allow [email protected] as devDependency
([#&#8203;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
([#&#8203;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
([#&#8203;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.

</details>

<details>
<summary>typescript-eslint/typescript-eslint
(@&#8203;typescript-eslint/parser)</summary>

###
[`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
[@&#8203;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.

</details>

<details>
<summary>chromaui/chromatic-cli (chromatic)</summary>

###
[`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
[#&#8203;855](https://togithub.com/chromaui/chromatic-cli/pull/855)
([@&#8203;ghengeveld](https://togithub.com/ghengeveld))

##### 🐛 Bug Fix

- Redact `userToken` in diagnostics and fatal error output
[#&#8203;859](https://togithub.com/chromaui/chromatic-cli/pull/859)
([@&#8203;ghengeveld](https://togithub.com/ghengeveld))
- Bump zod from 3.22.2 to 3.22.3
[#&#8203;830](https://togithub.com/chromaui/chromatic-cli/pull/830)
([@&#8203;dependabot\[bot\]](https://togithub.com/dependabot\[bot])
[@&#8203;thafryer](https://togithub.com/thafryer))
- Bump word-wrap from 1.2.3 to 1.2.5
[#&#8203;804](https://togithub.com/chromaui/chromatic-cli/pull/804)
([@&#8203;dependabot\[bot\]](https://togithub.com/dependabot\[bot])
[@&#8203;thafryer](https://togithub.com/thafryer))
- Bump get-func-name from 2.0.0 to 2.0.2
[#&#8203;824](https://togithub.com/chromaui/chromatic-cli/pull/824)
([@&#8203;dependabot\[bot\]](https://togithub.com/dependabot\[bot])
[@&#8203;thafryer](https://togithub.com/thafryer))
- Bump [@&#8203;babel/traverse](https://togithub.com/babel/traverse)
from 7.16.3 to 7.23.2 in /subdir
[#&#8203;838](https://togithub.com/chromaui/chromatic-cli/pull/838)
([@&#8203;dependabot\[bot\]](https://togithub.com/dependabot\[bot])
[@&#8203;thafryer](https://togithub.com/thafryer))
- Fix changelog for 9.0.0 and update auto config to prevent issue in the
future
[#&#8203;854](https://togithub.com/chromaui/chromatic-cli/pull/854)
([@&#8203;ghengeveld](https://togithub.com/ghengeveld))

##### ⚠️ Pushed to `main`

- Drop next-release label
([@&#8203;ghengeveld](https://togithub.com/ghengeveld))

##### Authors: 3

-   [@&#8203;dependabot\[bot\]](https://togithub.com/dependabot\[bot])
- Gert Hengeveld ([@&#8203;ghengeveld](https://togithub.com/ghengeveld))
-   Jarel Fryer ([@&#8203;thafryer](https://togithub.com/thafryer))

***

</details>

<details>
<summary>eslint/eslint (eslint)</summary>

### [`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
([#&#8203;17755](https://togithub.com/eslint/eslint/issues/17755))
(Angelo Annunziata)
-
[`1452dc9`](https://togithub.com/eslint/eslint/commit/1452dc9f12c45c05d7c569f737221f0d988ecef1)
feat: Add suggestions to no-console
([#&#8203;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
([#&#8203;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
([#&#8203;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
([#&#8203;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
([#&#8203;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
([#&#8203;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
([#&#8203;17712](https://togithub.com/eslint/eslint/issues/17712))
(Francesco Trotta)
-
[`eb2279e`](https://togithub.com/eslint/eslint/commit/eb2279e5148cee8fdea7dae614f4f8af7a2d06c3)
docs: display info about deprecated rules
([#&#8203;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
([#&#8203;17722](https://togithub.com/eslint/eslint/issues/17722))
(Filip Tammergård)

#### Chores

-
[`d644de9`](https://togithub.com/eslint/eslint/commit/d644de9a4b593b565617303a095bc9aa69e7b768)
chore: upgrade
[@&#8203;eslint/js](https://togithub.com/eslint/js)[@&#8203;8](https://togithub.com/8).54.0
([#&#8203;17773](https://togithub.com/eslint/eslint/issues/17773))
(Milos Djermanovic)
-
[`1e6e314`](https://togithub.com/eslint/eslint/commit/1e6e31415cc429a3a9fc64b2ec03df0e0ec0c91b)
chore: package.json update for
[@&#8203;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
([#&#8203;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
([#&#8203;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
([#&#8203;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
([#&#8203;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
([#&#8203;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
([#&#8203;17740](https://togithub.com/eslint/eslint/issues/17740))
(renovate\[bot])
-
[`ba8ca7e`](https://togithub.com/eslint/eslint/commit/ba8ca7e3debcba68ee7015b9221cf5acd7870206)
chore: add .github/renovate.json5
([#&#8203;17567](https://togithub.com/eslint/eslint/issues/17567)) (Josh
Goldberg ✨)

</details>

---

### 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.

---

- [ ] <!-- rebase-check -->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).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==-->

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Lukas Harbarth <[email protected]>
  • Loading branch information
renovate[bot] and Lukas742 authored Nov 20, 2023
1 parent 5945cf3 commit d5064b8
Show file tree
Hide file tree
Showing 13 changed files with 82 additions and 78 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
};
}, []);

Expand Down
2 changes: 1 addition & 1 deletion packages/charts/src/hooks/useLongestYAxisLabel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
2 changes: 1 addition & 1 deletion packages/charts/src/hooks/useLongestYAxisLabelBar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Original file line number Diff line number Diff line change
@@ -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 '../..';
Expand All @@ -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) => ({
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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:
Expand Down
Original file line number Diff line number Diff line change
@@ -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;
Expand All @@ -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;
Expand Down
11 changes: 6 additions & 5 deletions packages/main/src/components/FlexBox/FlexBox.cy.tsx
Original file line number Diff line number Diff line change
@@ -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(
<FlexBox justifyContent={val} data-testid="flexbox">
Expand All @@ -26,7 +27,7 @@ describe('FlexBox', () => {
});
});

Object.values(FlexBoxAlignItems).forEach((val) => {
Object.values(FlexBoxAlignItems).forEach((val: FlexBoxPropTypes['alignItems']) => {
it(`AlignItems: ${val}`, () => {
cy.mount(
<FlexBox alignItems={val} data-testid="flexbox">
Expand All @@ -48,7 +49,7 @@ describe('FlexBox', () => {
});
});

Object.values(FlexBoxDirection).forEach((val) => {
Object.values(FlexBoxDirection).forEach((val: FlexBoxPropTypes['direction']) => {
it(`AlignItems: ${val}`, () => {
cy.mount(
<FlexBox direction={val} data-testid="flexbox">
Expand All @@ -60,7 +61,7 @@ describe('FlexBox', () => {
});
});

Object.values(FlexBoxWrap).forEach((val) => {
Object.values(FlexBoxWrap).forEach((val: FlexBoxPropTypes['wrap']) => {
it(`wrap: ${val}`, () => {
cy.mount(
<FlexBox wrap={val} data-testid="flexbox">
Expand Down Expand Up @@ -93,6 +94,6 @@ describe('FlexBox', () => {
.should('have.css', 'height', '200px');
});

mountWithCustomTagName(FlexBox, { children: <span>Test 1</span> });
mountWithCustomTagName<FlexBoxPropTypes>(FlexBox, { children: <span>Test 1</span> });
cypressPassThroughTestsFactory(FlexBox);
});
3 changes: 2 additions & 1 deletion packages/main/src/components/Grid/Grid.cy.tsx
Original file line number Diff line number Diff line change
@@ -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%' };
Expand Down Expand Up @@ -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(
<div style={{ width: '400px' }}>
Expand Down
2 changes: 1 addition & 1 deletion packages/main/src/components/Toolbar/Toolbar.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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(
<Toolbar data-testid="tb" design={design}>
Expand Down
Original file line number Diff line number Diff line change
@@ -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)', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -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)', () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -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)', () => {
Expand Down
Loading

0 comments on commit d5064b8

Please sign in to comment.