Skip to content

Commit e67ed39

Browse files
authored
chore: ⬆️ Upgrade dependencies in all packages (#3933)
* chore: ⬆️ Upgrade minor dependencies in all packages * chore(eds-color-palette-generator): 🔥 Remove lockfile and update gitignore * chore: ⬆️ Upgrade style-dictionary major * chore: ⬆️ Update lockfile * fix(eds-lab-react): 🐛 add type cast for React 19 compatibility in DatePicker Fixes build error * fix(eds-lab-react): 🐛 add proper TypeScript typing to DatePicker onKeyDown handler * chore: 📦️ Update lockfile
1 parent bcf234b commit e67ed39

File tree

14 files changed

+1126
-703
lines changed

14 files changed

+1126
-703
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ pnpm-debug.log
55
.DS_Store
66
# use pnpm
77
package-lock.json
8+
packages/*/package-lock.yaml
9+
scripts/*/package-lock.yaml
810
# Prevent individual package lockfiles (use workspace lockfile in root)
911
packages/*/pnpm-lock.yaml
1012
scripts/*/pnpm-lock.yaml

package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -48,30 +48,30 @@
4848
"types": "pnpm --filter @equinor/eds-tokens types && pnpm --filter @equinor/eds-utils types && pnpm --filter @equinor/eds-icons types && pnpm --filter @equinor/eds-core-react types && pnpm --filter @equinor/eds-lab-react types && pnpm --filter @equinor/eds-data-grid-react types"
4949
},
5050
"devDependencies": {
51-
"@babel/core": "^7.26.10",
52-
"@babel/eslint-parser": "^7.27.0",
53-
"@babel/plugin-transform-runtime": "^7.26.10",
54-
"@babel/preset-env": "^7.26.9",
55-
"@babel/preset-react": "^7.26.3",
56-
"@babel/preset-typescript": "^7.27.0",
57-
"@babel/runtime": "^7.27.6",
51+
"@babel/core": "^7.28.3",
52+
"@babel/eslint-parser": "^7.28.0",
53+
"@babel/plugin-transform-runtime": "^7.28.3",
54+
"@babel/preset-env": "^7.28.3",
55+
"@babel/preset-react": "^7.27.1",
56+
"@babel/preset-typescript": "^7.27.1",
57+
"@babel/runtime": "^7.28.3",
5858
"@types/jest": "^29.5.14",
5959
"@types/jest-axe": "^3.5.9",
60-
"@typescript-eslint/eslint-plugin": "^8.31.0",
61-
"@typescript-eslint/parser": "^8.31.0",
60+
"@typescript-eslint/eslint-plugin": "^8.41.0",
61+
"@typescript-eslint/parser": "^8.41.0",
6262
"babel-plugin-styled-components": "^2.1.4",
6363
"eslint": "^8.57.1",
64-
"eslint-config-prettier": "^9.1.0",
64+
"eslint-config-prettier": "^9.1.2",
6565
"eslint-import-resolver-typescript": "^3.10.1",
66-
"eslint-plugin-import": "^2.31.0",
66+
"eslint-plugin-import": "^2.32.0",
6767
"eslint-plugin-jsx-a11y": "^6.10.2",
68-
"eslint-plugin-prettier": "^5.2.6",
68+
"eslint-plugin-prettier": "^5.5.4",
6969
"eslint-plugin-react": "^7.37.5",
7070
"eslint-plugin-react-hooks": "^5.2.0",
71-
"eslint-plugin-testing-library": "^7.1.1",
71+
"eslint-plugin-testing-library": "^7.6.6",
7272
"jest-axe": "^9.0.0",
7373
"prettier": "3.6.2",
74-
"typescript": "^5.8.3"
74+
"typescript": "^5.9.2"
7575
},
7676
"browserslist": "last 2 Chrome versions, last 2 firefox versions, last 2 safari versions, last 2 edge versions, not dead",
7777
"packageManager": "pnpm@9.15.0+sha1.8bfdb6d72b4d5fdf87d21d27f2bfbe2b21dd2629"

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

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,22 +22,23 @@
2222
"dependencies": {
2323
"colorjs.io": "^0.5.2",
2424
"next": "15.2.4",
25-
"react": "^19.0.0",
26-
"react-dom": "^19.0.0",
25+
"react": "^19.1.1",
26+
"react-dom": "^19.1.1",
2727
"@equinor/eds-tokens": "workspace:*"
2828
},
2929
"devDependencies": {
30-
"@playwright/test": "^1.53.2",
31-
"@tailwindcss/postcss": "^4",
32-
"@types/node": "^20",
33-
"@types/react": "^18.3.20",
34-
"@types/react-dom": "^18.3.6",
35-
"dotenv": "^17.0.1",
36-
"eslint": "^8.57.1",
30+
"@eslint/eslintrc": "^3.3.1",
31+
"@playwright/test": "^1.55.0",
32+
"@tailwindcss/postcss": "^4.1.12",
33+
"@types/node": "^20.19.11",
34+
"@types/react": "^18.3.24",
35+
"@types/react-dom": "^18.3.7",
36+
"dotenv": "^17.2.1",
37+
"eslint": "^9.34.0",
3738
"eslint-config-next": "15.2.4",
38-
"tailwindcss": "^4",
39+
"tailwindcss": "^4.1.12",
3940
"tsx": "^4.20.5",
40-
"typescript": "^5",
41+
"typescript": "^5.9.2",
4142
"vitest": "^3.2.4"
4243
}
4344
}

packages/eds-core-react/package.json

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -42,63 +42,63 @@
4242
],
4343
"devDependencies": {
4444
"@rollup/plugin-babel": "^6.0.4",
45-
"@rollup/plugin-commonjs": "^28.0.3",
45+
"@rollup/plugin-commonjs": "^28.0.6",
4646
"@rollup/plugin-node-resolve": "^16.0.1",
47-
"@storybook/addon-a11y": "^8.6.12",
48-
"@storybook/addon-actions": "^8.6.12",
49-
"@storybook/addon-docs": "^8.6.12",
50-
"@storybook/addon-essentials": "^8.6.12",
51-
"@storybook/addon-links": "^8.6.12",
52-
"@storybook/blocks": "^8.6.12",
53-
"@storybook/preview-api": "^8.6.12",
54-
"@storybook/react": "^8.6.12",
55-
"@storybook/react-vite": "^8.6.12",
56-
"@testing-library/dom": "^10.4.0",
57-
"@testing-library/jest-dom": "^6.6.3",
47+
"@storybook/addon-a11y": "^8.6.14",
48+
"@storybook/addon-actions": "^8.6.14",
49+
"@storybook/addon-docs": "^8.6.14",
50+
"@storybook/addon-essentials": "^8.6.14",
51+
"@storybook/addon-links": "^8.6.14",
52+
"@storybook/blocks": "^8.6.14",
53+
"@storybook/preview-api": "^8.6.14",
54+
"@storybook/react": "^8.6.14",
55+
"@storybook/react-vite": "^8.6.14",
56+
"@testing-library/dom": "^10.4.1",
57+
"@testing-library/jest-dom": "^6.8.0",
5858
"@testing-library/react": "16.3.0",
5959
"@testing-library/user-event": "14.5.2",
6060
"@types/jest": "^29.5.14",
6161
"@types/ramda": "^0.30.2",
62-
"@types/react": "^18.3.20",
63-
"@types/react-dom": "^18.3.6",
62+
"@types/react": "^18.3.24",
63+
"@types/react-dom": "^18.3.7",
6464
"babel-plugin-styled-components": "^2.1.4",
6565
"jest": "^29.7.0",
6666
"jest-environment-jsdom": "^29.7.0",
6767
"jest-styled-components": "^7.2.0",
6868
"js-file-download": "^0.4.12",
69-
"postcss": "^8.5.3",
69+
"postcss": "^8.5.6",
7070
"ramda": "^0.31.3",
7171
"react": "^18.3.1",
7272
"react-dom": "^18.3.1",
73-
"react-hook-form": "^7.56.1",
74-
"react-router-dom": "^6.30.0",
75-
"rollup": "^4.40.1",
73+
"react-hook-form": "^7.62.0",
74+
"react-router-dom": "^6.30.1",
75+
"rollup": "^4.50.0",
7676
"rollup-plugin-delete": "^2.2.0",
7777
"rollup-plugin-postcss": "^4.0.2",
7878
"rollup-preserve-directives": "^1.1.3",
7979
"storybook": "^8.6.14",
8080
"styled-components": "6.1.19",
81-
"tsc-watch": "^6.2.1",
82-
"typescript": "^5.8.3"
81+
"tsc-watch": "^6.3.1",
82+
"typescript": "^5.9.2"
8383
},
8484
"peerDependencies": {
8585
"react": ">=16.8",
8686
"react-dom": ">=16.8",
8787
"styled-components": ">=5.1"
8888
},
8989
"dependencies": {
90-
"@babel/runtime": "^7.27.6",
90+
"@babel/runtime": "^7.28.3",
9191
"@equinor/eds-icons": "workspace:^",
9292
"@equinor/eds-tokens": "workspace:*",
9393
"@equinor/eds-utils": "workspace:*",
94-
"@floating-ui/react": "^0.27.8",
95-
"@internationalized/date": "^3.8.0",
96-
"@react-aria/utils": "^3.28.2",
97-
"@react-stately/calendar": "^3.8.0",
98-
"@react-stately/datepicker": "^3.14.0",
99-
"@react-types/shared": "^3.29.0",
94+
"@floating-ui/react": "^0.27.16",
95+
"@internationalized/date": "^3.9.0",
96+
"@react-aria/utils": "^3.30.1",
97+
"@react-stately/calendar": "^3.8.4",
98+
"@react-stately/datepicker": "^3.15.1",
99+
"@react-types/shared": "^3.32.0",
100100
"@tanstack/react-virtual": "3.13.12",
101101
"downshift": "9.0.8",
102-
"react-aria": "^3.39.0"
102+
"react-aria": "^3.43.1"
103103
}
104104
}

packages/eds-data-grid-react/package.json

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -37,44 +37,44 @@
3737
},
3838
"devDependencies": {
3939
"@rollup/plugin-babel": "^6.0.4",
40-
"@rollup/plugin-commonjs": "^28.0.3",
40+
"@rollup/plugin-commonjs": "^28.0.6",
4141
"@rollup/plugin-node-resolve": "^16.0.1",
42-
"@storybook/addon-a11y": "^8.6.12",
43-
"@storybook/addon-actions": "^8.6.12",
44-
"@storybook/addon-docs": "^8.6.12",
45-
"@storybook/addon-essentials": "^8.6.12",
46-
"@storybook/addon-links": "^8.6.12",
47-
"@storybook/blocks": "^8.6.12",
48-
"@storybook/preview-api": "^8.6.12",
49-
"@storybook/react": "^8.6.12",
50-
"@storybook/react-vite": "^8.6.12",
51-
"@testing-library/dom": "^10.4.0",
52-
"@testing-library/jest-dom": "^6.6.3",
42+
"@storybook/addon-a11y": "^8.6.14",
43+
"@storybook/addon-actions": "^8.6.14",
44+
"@storybook/addon-docs": "^8.6.14",
45+
"@storybook/addon-essentials": "^8.6.14",
46+
"@storybook/addon-links": "^8.6.14",
47+
"@storybook/blocks": "^8.6.14",
48+
"@storybook/preview-api": "^8.6.14",
49+
"@storybook/react": "^8.6.14",
50+
"@storybook/react-vite": "^8.6.14",
51+
"@testing-library/dom": "^10.4.1",
52+
"@testing-library/jest-dom": "^6.8.0",
5353
"@testing-library/react": "16.3.0",
5454
"@testing-library/user-event": "^14.6.1",
5555
"@types/jest": "^29.5.14",
56-
"@types/node": "^22.15.3",
56+
"@types/node": "^22.18.0",
5757
"@types/ramda": "^0.30.2",
58-
"@types/react": "^18.3.20",
59-
"@types/react-dom": "^18.3.6",
58+
"@types/react": "^18.3.24",
59+
"@types/react-dom": "^18.3.7",
6060
"babel-plugin-styled-components": "^2.1.4",
6161
"jest": "29.7.0",
6262
"jest-environment-jsdom": "29.7.0",
6363
"jest-styled-components": "^7.2.0",
6464
"js-file-download": "^0.4.12",
65-
"postcss": "^8.5.3",
65+
"postcss": "^8.5.6",
6666
"ramda": "^0.31.3",
6767
"react": "^18.3.1",
6868
"react-dom": "^18.3.1",
69-
"react-hook-form": "^7.56.1",
70-
"rollup": "^4.40.1",
69+
"react-hook-form": "^7.62.0",
70+
"rollup": "^4.50.0",
7171
"rollup-plugin-delete": "^2.2.0",
7272
"rollup-plugin-postcss": "^4.0.2",
7373
"storybook": "^8.6.14",
7474
"styled-components": "6.1.19",
7575
"ts-jest": "29.4.0",
7676
"ts-node": "10.9.2",
77-
"tsc-watch": "^6.2.1",
77+
"tsc-watch": "^6.3.1",
7878
"typescript": "~5.8.3"
7979
},
8080
"homepage": "https://eds.equinor.com",

packages/eds-icons/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@
3636
],
3737
"devDependencies": {
3838
"@rollup/plugin-babel": "^6.0.4",
39-
"@rollup/plugin-commonjs": "^28.0.3",
39+
"@rollup/plugin-commonjs": "^28.0.6",
4040
"@rollup/plugin-node-resolve": "^16.0.1",
41-
"rollup": "^4.40.1",
41+
"rollup": "^4.50.0",
4242
"rollup-plugin-delete": "^2.2.0",
43-
"typescript": "^5.8.3"
43+
"typescript": "^5.9.2"
4444
}
4545
}

packages/eds-lab-react/package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -43,50 +43,50 @@
4343
],
4444
"devDependencies": {
4545
"@rollup/plugin-babel": "^6.0.4",
46-
"@rollup/plugin-commonjs": "^28.0.3",
46+
"@rollup/plugin-commonjs": "^28.0.6",
4747
"@rollup/plugin-node-resolve": "^16.0.1",
48-
"@storybook/addon-a11y": "^8.6.12",
49-
"@storybook/addon-actions": "^8.6.12",
50-
"@storybook/addon-docs": "^8.6.12",
51-
"@storybook/addon-essentials": "^8.6.12",
52-
"@storybook/addon-links": "^8.6.12",
53-
"@storybook/react": "^8.6.12",
54-
"@storybook/react-vite": "^8.6.12",
55-
"@testing-library/dom": "^10.4.0",
56-
"@testing-library/jest-dom": "^6.6.3",
48+
"@storybook/addon-a11y": "^8.6.14",
49+
"@storybook/addon-actions": "^8.6.14",
50+
"@storybook/addon-docs": "^8.6.14",
51+
"@storybook/addon-essentials": "^8.6.14",
52+
"@storybook/addon-links": "^8.6.14",
53+
"@storybook/react": "^8.6.14",
54+
"@storybook/react-vite": "^8.6.14",
55+
"@testing-library/dom": "^10.4.1",
56+
"@testing-library/jest-dom": "^6.8.0",
5757
"@testing-library/react": "^16.3.0",
5858
"@testing-library/user-event": "14.6.1",
5959
"@types/jest": "^29.5.14",
6060
"@types/ramda": "^0.30.2",
61-
"@types/react": "^18.3.20",
62-
"@types/react-dom": "^18.3.6",
61+
"@types/react": "^18.3.24",
62+
"@types/react-dom": "^18.3.7",
6363
"babel-plugin-styled-components": "^2.1.4",
6464
"clsx": "^2.1.1",
6565
"jest": "^29.7.0",
6666
"jest-environment-jsdom": "^29.7.0",
6767
"jest-styled-components": "^7.2.0",
6868
"js-file-download": "^0.4.12",
69-
"postcss": "^8.5.3",
69+
"postcss": "^8.5.6",
7070
"ramda": "^0.31.3",
7171
"react": "^18.3.1",
7272
"react-dom": "^18.3.1",
73-
"react-hook-form": "^7.56.1",
73+
"react-hook-form": "^7.62.0",
7474
"react-is": "^18.3.1",
75-
"rollup": "^4.40.1",
75+
"rollup": "^4.50.0",
7676
"rollup-plugin-delete": "^2.2.0",
7777
"rollup-plugin-postcss": "^4.0.2",
7878
"storybook": "8.6.14",
7979
"styled-components": "6.1.19",
80-
"tsc-watch": "^6.2.1",
81-
"typescript": "^5.8.3"
80+
"tsc-watch": "^6.3.1",
81+
"typescript": "^5.9.2"
8282
},
8383
"peerDependencies": {
8484
"react": ">=16.8",
8585
"react-dom": ">=16.8",
8686
"styled-components": ">=5.1"
8787
},
8888
"dependencies": {
89-
"@babel/runtime": "^7.27.6",
89+
"@babel/runtime": "^7.28.3",
9090
"@equinor/eds-core-react": "workspace:^",
9191
"@equinor/eds-icons": "workspace:^",
9292
"@equinor/eds-tokens": "workspace:*",

packages/eds-lab-react/src/components/DatePicker/DatePicker.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const ReactDatePicker = forwardRef<DatePickerRefProps, DatePickerProps>(
127127
dateFormat={dateFormat}
128128
placeholderText={placeholder}
129129
id={id}
130-
onKeyDown={(event) => {
130+
onKeyDown={(event: React.KeyboardEvent<HTMLInputElement>) => {
131131
// If you shift-tab while focusing the input-element, it should close the pop-over.
132132
// Not currently supported by react-datepicker.
133133
if (
@@ -246,7 +246,8 @@ const Container = styled.div`
246246
}
247247
`
248248

249-
const StyledDatepicker = styled(DatePicker)`
249+
// eslint-disable-next-line @typescript-eslint/no-explicit-any
250+
const StyledDatepicker = styled(DatePicker as any)`
250251
${({ theme }) => css`
251252
height: 24px;
252253
font-family: ${theme.entities.title.typography.fontFamily};

packages/eds-tokens-build/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@
3838
},
3939
"devDependencies": {
4040
"@equinor/eds-tokens-sync": "workspace:*",
41-
"@types/node": "^22.15.3",
41+
"@types/node": "^22.18.0",
4242
"prettier": "3.6.2",
43-
"style-dictionary": "^4.4.0",
44-
"style-dictionary-utils": "^4.0.5",
45-
"typescript": "^5.8.3",
46-
"vite": "^7.0.5",
43+
"style-dictionary": "^5.0.3",
44+
"style-dictionary-utils": "^4.1.0",
45+
"typescript": "^5.9.2",
46+
"vite": "^7.1.3",
4747
"vite-plugin-dts": "^3.9.1"
4848
},
4949
"engines": {

packages/eds-tokens-sync/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@
4040
},
4141
"devDependencies": {
4242
"@figma/rest-api-spec": "^0.33.0",
43-
"@types/node": "^22.15.3",
44-
"axios": "^1.9.0",
45-
"dotenv": "^16.5.0",
43+
"@types/node": "^22.18.0",
44+
"axios": "^1.11.0",
45+
"dotenv": "^16.6.1",
4646
"prettier": "^3.6.2",
47-
"typescript": "^5.8.3",
48-
"vite": "^7.0.5",
49-
"vite-plugin-dts": "^4.5.3"
47+
"typescript": "^5.9.2",
48+
"vite": "^7.1.3",
49+
"vite-plugin-dts": "^4.5.4"
5050
}
5151
}

0 commit comments

Comments
 (0)