Skip to content

Commit 58c5053

Browse files
chore(deps): bump the all-dependencies group across 1 directory with 20 updates (#5238)
* chore(deps): bump the all-dependencies group across 1 directory with 20 updates Bumps the all-dependencies group with 20 updates in the / directory: | Package | From | To | | --- | --- | --- | | [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) | `8.64.0` | `8.65.0` | | [stylelint](https://github.com/stylelint/stylelint) | `17.14.0` | `17.14.1` | | [prettier](https://github.com/prettier/prettier) | `3.9.5` | `3.9.6` | | [browserslist](https://github.com/browserslist/browserslist) | `4.28.6` | `4.28.7` | | [lightningcss](https://github.com/parcel-bundler/lightningcss) | `1.32.0` | `1.33.0` | | [postcss](https://github.com/postcss/postcss) | `8.5.19` | `8.5.22` | | [react-hook-form](https://github.com/react-hook-form/react-hook-form) | `7.81.0` | `7.82.0` | | [styled-components](https://github.com/styled-components/styled-components) | `6.4.3` | `6.4.4` | | [ts-jest](https://github.com/kulshekhar/ts-jest) | `29.4.11` | `29.4.12` | | [react-is](https://github.com/react/react/tree/HEAD/packages/react-is) | `19.2.7` | `19.2.8` | | [@tailwindcss/vite](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-vite) | `4.3.2` | `4.3.3` | | [tailwindcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/tailwindcss) | `4.3.2` | `4.3.3` | | [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) | `8.1.4` | `8.1.5` | | [lightningcss-cli](https://github.com/parcel-bundler/lightningcss) | `1.32.0` | `1.33.0` | | [@microsoft/api-extractor](https://github.com/microsoft/rushstack/tree/HEAD/apps/api-extractor) | `7.58.9` | `7.58.12` | | [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) | `6.0.3` | `6.0.4` | | [lucide-react](https://github.com/lucide-icons/lucide/tree/HEAD/packages/lucide-react) | `1.24.0` | `1.25.0` | | [@next/eslint-plugin-next](https://github.com/vercel/next.js/tree/HEAD/packages/eslint-plugin-next) | `16.2.10` | `16.2.11` | | [@tailwindcss/postcss](https://github.com/tailwindlabs/tailwindcss/tree/HEAD/packages/@tailwindcss-postcss) | `4.3.2` | `4.3.3` | | [@next/mdx](https://github.com/vercel/next.js/tree/HEAD/packages/next-mdx) | `16.2.10` | `16.2.11` | Updates `typescript-eslint` from 8.64.0 to 8.65.0 - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.65.0/packages/typescript-eslint) Updates `stylelint` from 17.14.0 to 17.14.1 - [Release notes](https://github.com/stylelint/stylelint/releases) - [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md) - [Commits](stylelint/stylelint@17.14.0...17.14.1) Updates `prettier` from 3.9.5 to 3.9.6 - [Release notes](https://github.com/prettier/prettier/releases) - [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md) - [Commits](prettier/prettier@3.9.5...3.9.6) Updates `browserslist` from 4.28.6 to 4.28.7 - [Release notes](https://github.com/browserslist/browserslist/releases) - [Changelog](https://github.com/browserslist/browserslist/blob/main/CHANGELOG.md) - [Commits](browserslist/browserslist@4.28.6...4.28.7) Updates `lightningcss` from 1.32.0 to 1.33.0 - [Release notes](https://github.com/parcel-bundler/lightningcss/releases) - [Commits](parcel-bundler/lightningcss@v1.32.0...v1.33.0) Updates `postcss` from 8.5.19 to 8.5.22 - [Release notes](https://github.com/postcss/postcss/releases) - [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md) - [Commits](postcss/postcss@8.5.19...8.5.22) Updates `react-hook-form` from 7.81.0 to 7.82.0 - [Release notes](https://github.com/react-hook-form/react-hook-form/releases) - [Changelog](https://github.com/react-hook-form/react-hook-form/blob/master/CHANGELOG.md) - [Commits](react-hook-form/react-hook-form@v7.81.0...v7.82.0) Updates `styled-components` from 6.4.3 to 6.4.4 - [Release notes](https://github.com/styled-components/styled-components/releases) - [Commits](https://github.com/styled-components/styled-components/compare/styled-components@6.4.3...styled-components@6.4.4) Updates `ts-jest` from 29.4.11 to 29.4.12 - [Release notes](https://github.com/kulshekhar/ts-jest/releases) - [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md) - [Commits](kulshekhar/ts-jest@v29.4.11...v29.4.12) Updates `react-is` from 19.2.7 to 19.2.8 - [Release notes](https://github.com/react/react/releases) - [Changelog](https://github.com/react/react/blob/main/CHANGELOG.md) - [Commits](https://github.com/react/react/commits/v19.2.8/packages/react-is) Updates `@tailwindcss/vite` from 4.3.2 to 4.3.3 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.3/packages/@tailwindcss-vite) Updates `tailwindcss` from 4.3.2 to 4.3.3 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.3/packages/tailwindcss) Updates `vite` from 8.1.4 to 8.1.5 - [Release notes](https://github.com/vitejs/vite/releases) - [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite/commits/v8.1.5/packages/vite) Updates `lightningcss-cli` from 1.32.0 to 1.33.0 - [Release notes](https://github.com/parcel-bundler/lightningcss/releases) - [Commits](parcel-bundler/lightningcss@v1.32.0...v1.33.0) Updates `@microsoft/api-extractor` from 7.58.9 to 7.58.12 - [Changelog](https://github.com/microsoft/rushstack/blob/main/apps/api-extractor/CHANGELOG.md) - [Commits](https://github.com/microsoft/rushstack/commits/@microsoft/api-extractor_v7.58.12/apps/api-extractor) Updates `@vitejs/plugin-react` from 6.0.3 to 6.0.4 - [Release notes](https://github.com/vitejs/vite-plugin-react/releases) - [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md) - [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@6.0.4/packages/plugin-react) Updates `lucide-react` from 1.24.0 to 1.25.0 - [Release notes](https://github.com/lucide-icons/lucide/releases) - [Commits](https://github.com/lucide-icons/lucide/commits/1.25.0/packages/lucide-react) Updates `@next/eslint-plugin-next` from 16.2.10 to 16.2.11 - [Release notes](https://github.com/vercel/next.js/releases) - [Commits](https://github.com/vercel/next.js/commits/v16.2.11/packages/eslint-plugin-next) Updates `@tailwindcss/postcss` from 4.3.2 to 4.3.3 - [Release notes](https://github.com/tailwindlabs/tailwindcss/releases) - [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/main/CHANGELOG.md) - [Commits](https://github.com/tailwindlabs/tailwindcss/commits/v4.3.3/packages/@tailwindcss-postcss) Updates `@next/mdx` from 16.2.10 to 16.2.11 - [Release notes](https://github.com/vercel/next.js/releases) - [Commits](https://github.com/vercel/next.js/commits/v16.2.11/packages/next-mdx) --- updated-dependencies: - dependency-name: "@microsoft/api-extractor" dependency-version: 7.58.12 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: "@next/eslint-plugin-next" dependency-version: 16.2.11 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: "@next/mdx" dependency-version: 16.2.11 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: "@tailwindcss/postcss" dependency-version: 4.3.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: "@tailwindcss/vite" dependency-version: 4.3.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: "@vitejs/plugin-react" dependency-version: 6.0.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: browserslist dependency-version: 4.28.7 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: lightningcss dependency-version: 1.33.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all-dependencies - dependency-name: lightningcss-cli dependency-version: 1.33.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all-dependencies - dependency-name: lucide-react dependency-version: 1.25.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: all-dependencies - dependency-name: postcss dependency-version: 8.5.22 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: prettier dependency-version: 3.9.6 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: react-hook-form dependency-version: 7.82.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all-dependencies - dependency-name: react-is dependency-version: 19.2.8 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: styled-components dependency-version: 6.4.4 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: stylelint dependency-version: 17.14.1 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: tailwindcss dependency-version: 4.3.3 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: ts-jest dependency-version: 29.4.12 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies - dependency-name: typescript-eslint dependency-version: 8.65.0 dependency-type: direct:development update-type: version-update:semver-minor dependency-group: all-dependencies - dependency-name: vite dependency-version: 8.1.5 dependency-type: direct:development update-type: version-update:semver-patch dependency-group: all-dependencies ... Signed-off-by: dependabot[bot] <support@github.com> * chore: fix typescript-eslint 8.65 unbound-method errors and update Autocomplete snapshot --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Frida <fridaerdal@hotmail.no> Co-authored-by: Frida Erdal <31915755+pomfrida@users.noreply.github.com>
1 parent 6853eed commit 58c5053

19 files changed

Lines changed: 1356 additions & 1799 deletions

File tree

apps/eds-color-palette-generator/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,27 +29,27 @@
2929
"@equinor/eds-tokens": "workspace:^",
3030
"@equinor/eds-utils": "workspace:^",
3131
"colorjs.io": "^0.7.0",
32-
"lucide-react": "^1.24.0",
32+
"lucide-react": "^1.25.0",
3333
"next": "16.2.11",
3434
"react": "^19.2.8",
3535
"react-dom": "^19.2.8"
3636
},
3737
"devDependencies": {
3838
"@eslint/eslintrc": "^3.3.6",
39-
"@microsoft/api-extractor": "^7.58.9",
40-
"@next/eslint-plugin-next": "16.2.10",
39+
"@microsoft/api-extractor": "^7.58.12",
40+
"@next/eslint-plugin-next": "16.2.11",
4141
"@playwright/test": "^1.61.1",
42-
"@tailwindcss/postcss": "^4.3.2",
42+
"@tailwindcss/postcss": "^4.3.3",
4343
"@types/node": "^25.5.2",
4444
"@types/react": "^19.2.15",
4545
"@types/react-dom": "^19.2.3",
4646
"dotenv": "^17.4.0",
4747
"eslint": "^9.38.0",
4848
"eslint-config-next": "16.2.11",
49-
"tailwindcss": "^4.3.2",
49+
"tailwindcss": "^4.3.3",
5050
"tsx": "^4.23.1",
5151
"typescript": "^5.9.3",
52-
"vite": "^8.1.4",
52+
"vite": "^8.1.5",
5353
"vite-plugin-dts": "^5.0.3",
5454
"vitest": "^4.1.10"
5555
}

apps/eds-demo/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@equinor/eds-tokens": "workspace:^",
1717
"@mdx-js/loader": "^3.1.1",
1818
"@mdx-js/react": "^3.1.1",
19-
"@next/mdx": "^16.2.10",
19+
"@next/mdx": "^16.2.11",
2020
"@types/mdx": "^2.0.14",
2121
"github-markdown-css": "^5.9.0",
2222
"next": "16.2.11",
@@ -26,15 +26,15 @@
2626
},
2727
"devDependencies": {
2828
"@playwright/test": "^1.61.1",
29-
"@tailwindcss/postcss": "^4.3.2",
29+
"@tailwindcss/postcss": "^4.3.3",
3030
"@types/node": "^25.5.2",
3131
"@types/react": "^19.2.15",
3232
"@types/react-dom": "^19.2.3",
3333
"autoprefixer": "^10.5.3",
3434
"eslint": "^9.38.0",
3535
"eslint-config-next": "16.2.11",
36-
"postcss": "^8.5.17",
37-
"tailwindcss": "^4.3.2",
36+
"postcss": "^8.5.22",
37+
"tailwindcss": "^4.3.3",
3838
"typescript": "^5.9.3"
3939
},
4040
"prettier": {

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,13 @@
9090
"eslint-plugin-storybook": "^10.5.3",
9191
"eslint-plugin-testing-library": "^7.16.2",
9292
"globals": "^17.7.0",
93-
"typescript-eslint": "^8.64.0",
93+
"typescript-eslint": "^8.65.0",
9494
"jest-axe": "^10.0.0",
95-
"stylelint": "^17.14.0",
95+
"stylelint": "^17.14.1",
9696
"stylelint-config-clean-order": "^10.0.0",
9797
"stylelint-config-standard": "^40.0.0",
9898
"stylelint-order": "^8.1.1",
99-
"prettier": "3.9.5",
99+
"prettier": "3.9.6",
100100
"ts-morph": "^27.0.2",
101101
"typescript": "^5.9.3"
102102
},

packages/eds-core-react/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,27 +75,27 @@
7575
"@types/react": "^19.2.15",
7676
"@types/react-dom": "^19.2.3",
7777
"babel-plugin-styled-components": "^2.3.0",
78-
"browserslist": "^4.28.5",
78+
"browserslist": "^4.28.7",
7979
"eslint-plugin-storybook": "10.5.3",
80-
"lightningcss": "^1.32.0",
80+
"lightningcss": "^1.33.0",
8181
"jest": "^30.4.2",
8282
"jest-environment-jsdom": "^30.4.1",
8383
"jest-styled-components": "^7.4.0",
8484
"js-file-download": "^0.4.12",
85-
"postcss": "^8.5.17",
85+
"postcss": "^8.5.22",
8686
"postcss-import": "^16.1.1",
8787
"ramda": "^0.32.0",
8888
"react": "^19.2.8",
8989
"react-dom": "^19.2.8",
90-
"react-hook-form": "^7.81.0",
90+
"react-hook-form": "^7.82.0",
9191
"react-router-dom": "^7.18.1",
9292
"remark-gfm": "^4.0.1",
9393
"rollup": "^4.62.2",
9494
"rollup-plugin-delete": "^3.0.2",
9595
"rollup-plugin-postcss": "^4.0.2",
9696
"rollup-preserve-directives": "^1.1.3",
9797
"storybook": "^10.5.3",
98-
"styled-components": "6.4.3",
98+
"styled-components": "6.4.4",
9999
"tsc-watch": "^7.2.1",
100100
"typescript": "^5.9.3"
101101
},

packages/eds-core-react/src/components/Autocomplete/Autocomplete.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -216,6 +216,7 @@ export function Autocomplete<T>({ ...props }: AutocompleteProps<T>) {
216216
meta={meta}
217217
disabled={disabled}
218218
/>
219+
{/* eslint-disable-next-line @typescript-eslint/unbound-method -- floating-ui's setReference is a stable standalone callback, not a `this`-bound method */}
219220
<Container ref={floatingProps.refs.setReference}>
220221
{multiple ? <MultipleInput /> : <SingleInput />}
221222
</Container>

packages/eds-core-react/src/components/Autocomplete/OptionList.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ export const OptionList = ({
5656
isOpen && !availableItems.length && noOptionsText.length > 0
5757

5858
const floatingProps = getFloatingProps({
59+
// eslint-disable-next-line @typescript-eslint/unbound-method -- floating-ui's setFloating is a stable standalone callback, not a `this`-bound method
5960
ref: refs.setFloating,
6061
onFocus: handleListFocus,
6162
style: {
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

3-
exports[`Autocomplete Matches snapshot 1`] = `"<div class="Autocomplete__Container-sc-yvif0e-0 eokfcP"><label id="downshift-test-id" for="downshift-test-id" class="Label__LabelBase-sc-1gi2bcn-0 ivpBtE"><span class="Label__Text-sc-1gi2bcn-1 jEcoFI">Select label test</span></label><div class="Autocomplete__Container-sc-yvif0e-0 eokfcP"><div class="Input__Container-sc-1ykv024-0 fQOoUL"><input style="resize: none;" aria-activedescendant="downshift-test-id-item-0" aria-autocomplete="list" aria-controls="downshift-test-controls" aria-expanded="true" aria-labelledby="downshift-test-label-id" autocomplete="off" id="downshift-test-id" role="combobox" class="Input__StyledInput-sc-1ykv024-1 edvZcE" type="text" value=""><div class="Input__Adornments-sc-1ykv024-2 Input__RightAdornments-sc-1ykv024-4 brsBdR kqoRit"><button type="button" tabindex="-1" aria-controls="downshift-test-controls" aria-expanded="true" id="downshift-test-id" aria-label="toggle options" title="open" class="Button__ButtonBase-sc-1hs0myn-1 dKnLGx Autocomplete__StyledButton-sc-yvif0e-2 dmlTjq"><span class="Button__Inner-sc-1hs0myn-0 ULafd"><svg fill="currentColor" viewBox="0 0 24 24" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" height="24px" width="24px" class="Icon__StyledSvg-sc-6evbi1-0 bRHOEJ"><path data-testid="eds-icon-path" d="m7 14.5 5-5 5 5z" fill-rule="evenodd" clip-rule="evenodd" class="Icon__StyledPath-sc-6evbi1-1"></path></svg></span></button></div></div></div><div popover="manual" tabindex="-1" data-floating-ui-focusable="" style="position: absolute; top: -4px; left: 0px; width: auto;" class="OptionList__StyledPopover-sc-t6tp7k-0 ibHgmN"><ul id="downshift-test-id" role="listbox" aria-labelledby="downshift-test-label-id" style="max-height: 300px;" class="List__StyledList-sc-v9d2hy-0 dRuIXW OptionList__StyledList-sc-t6tp7k-1 EyjYS"><li role="presentation" style="height: 144px; margin: 0px; grid-area: 1 / -1;"></li><li aria-hidden="false" aria-setsize="3" data-index="0" aria-posinset="1" aria-disabled="false" aria-selected="true" id="downshift-test-id" role="option" style="transform: translateY(0px); height: 48px;" class="Option__StyledListItem-sc-1ly11zu-0 hdFAKf"><span class="Option__AutocompleteOptionLabel-sc-1ly11zu-1 guBBIO">One</span></li><li aria-hidden="false" aria-setsize="3" data-index="1" aria-posinset="2" aria-disabled="false" aria-selected="false" id="downshift-test-id" role="option" style="transform: translateY(48px); height: 48px;" class="Option__StyledListItem-sc-1ly11zu-0 hiyYmH"><span class="Option__AutocompleteOptionLabel-sc-1ly11zu-1 guBBIO">Two</span></li><li aria-hidden="false" aria-setsize="3" data-index="2" aria-posinset="3" aria-disabled="false" aria-selected="false" id="downshift-test-id" role="option" style="transform: translateY(96px); height: 48px;" class="Option__StyledListItem-sc-1ly11zu-0 hiyYmH"><span class="Option__AutocompleteOptionLabel-sc-1ly11zu-1 guBBIO">Three</span></li></ul></div></div>"`;
3+
exports[`Autocomplete Matches snapshot 1`] = `"<div class="Autocomplete__Container-sc-yvif0e-0 dfoGdQ"><label id="downshift-test-id" for="downshift-test-id" class="Label__LabelBase-sc-1gi2bcn-0 dbBgyT"><span class="Label__Text-sc-1gi2bcn-1 jYIJyz">Select label test</span></label><div class="Autocomplete__Container-sc-yvif0e-0 dfoGdQ"><div class="Input__Container-sc-1ykv024-0 hXgbvg"><input style="resize: none;" aria-activedescendant="downshift-test-id-item-0" aria-autocomplete="list" aria-controls="downshift-test-controls" aria-expanded="true" aria-labelledby="downshift-test-label-id" autocomplete="off" id="downshift-test-id" role="combobox" class="Input__StyledInput-sc-1ykv024-1 cKLoQj" type="text" value=""><div class="Input__Adornments-sc-1ykv024-2 Input__RightAdornments-sc-1ykv024-4 UJOOq fzNCIC"><button type="button" tabindex="-1" aria-controls="downshift-test-controls" aria-expanded="true" id="downshift-test-id" aria-label="toggle options" title="open" class="Button__ButtonBase-sc-1hs0myn-1 hjGMmW Autocomplete__StyledButton-sc-yvif0e-2 dGamgB"><span class="Button__Inner-sc-1hs0myn-0 cNmmIy"><svg fill="currentColor" viewBox="0 0 24 24" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" height="24px" width="24px" class="Icon__StyledSvg-sc-6evbi1-0 cmxqHi"><path data-testid="eds-icon-path" d="m7 14.5 5-5 5 5z" fill-rule="evenodd" clip-rule="evenodd" class="Icon__StyledPath-sc-6evbi1-1"></path></svg></span></button></div></div></div><div popover="manual" tabindex="-1" data-floating-ui-focusable="" style="position: absolute; top: -4px; left: 0px; width: auto;" class="OptionList__StyledPopover-sc-t6tp7k-0 jAsPwO"><ul id="downshift-test-id" role="listbox" aria-labelledby="downshift-test-label-id" style="max-height: 300px;" class="List__StyledList-sc-v9d2hy-0 kyBYHV OptionList__StyledList-sc-t6tp7k-1 klbEER"><li role="presentation" style="height: 144px; margin: 0px; grid-area: 1 / -1;"></li><li aria-hidden="false" aria-setsize="3" data-index="0" aria-posinset="1" aria-disabled="false" aria-selected="true" id="downshift-test-id" role="option" style="transform: translateY(0px); height: 48px;" class="Option__StyledListItem-sc-1ly11zu-0 jiByNg"><span class="Option__AutocompleteOptionLabel-sc-1ly11zu-1 jCTDUF">One</span></li><li aria-hidden="false" aria-setsize="3" data-index="1" aria-posinset="2" aria-disabled="false" aria-selected="false" id="downshift-test-id" role="option" style="transform: translateY(48px); height: 48px;" class="Option__StyledListItem-sc-1ly11zu-0 bPFMNk"><span class="Option__AutocompleteOptionLabel-sc-1ly11zu-1 jCTDUF">Two</span></li><li aria-hidden="false" aria-setsize="3" data-index="2" aria-posinset="3" aria-disabled="false" aria-selected="false" id="downshift-test-id" role="option" style="transform: translateY(96px); height: 48px;" class="Option__StyledListItem-sc-1ly11zu-0 bPFMNk"><span class="Option__AutocompleteOptionLabel-sc-1ly11zu-1 jCTDUF">Three</span></li></ul></div></div>"`;

packages/eds-core-react/src/components/Menu/Menu.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,8 +187,8 @@ export const Menu = forwardRef<HTMLDivElement, MenuProps>(function Menu(
187187
})
188188

189189
const popoverRef = useMemo(
190-
() => mergeRefs<HTMLDivElement>(refs.setFloating, ref),
191-
[refs.setFloating, ref],
190+
() => mergeRefs<HTMLDivElement>((node) => refs.setFloating(node), ref),
191+
[refs, ref],
192192
)
193193
useIsomorphicLayoutEffect(() => {
194194
if (refs.reference.current && refs.floating.current && open) {

packages/eds-core-react/src/components/Popover/Popover.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,8 +159,8 @@ export const Popover = forwardRef<HTMLDivElement, PopoverProps>(
159159
})
160160

161161
const popoverRef = useMemo(
162-
() => mergeRefs<HTMLDivElement>(refs.setFloating, ref),
163-
[refs.setFloating, ref],
162+
() => mergeRefs<HTMLDivElement>((node) => refs.setFloating(node), ref),
163+
[refs, ref],
164164
)
165165

166166
const { getFloatingProps } = useInteractions([useDismiss(context)])

packages/eds-core-react/src/components/SideBar/SidebarLink/SidebarLink.test.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,9 @@ beforeAll(() => {
9090
},
9191
})
9292

93+
// eslint-disable-next-line @typescript-eslint/unbound-method
9394
rafOrig = window.requestAnimationFrame
95+
// eslint-disable-next-line @typescript-eslint/unbound-method
9496
cafOrig = window.cancelAnimationFrame
9597
if (!window.requestAnimationFrame) {
9698
window.requestAnimationFrame = (cb: FrameRequestCallback) =>

0 commit comments

Comments
 (0)