Skip to content

Commit 04d3042

Browse files
balco0110Mojsoski, Blagoja (UIS)
andauthored
chore: update dependencies (#2791)
<!-- ## Title: Please consider adding the [skip chromatic] flag to the PR title in case you dont need chromatic testing your changes. --> ## Description: Closes: #460 - [x] relevant tickets are linked --------- Co-authored-by: Mojsoski, Blagoja (UIS) <blagoja.mojsoski@union-investment.de>
1 parent c33a09a commit 04d3042

14 files changed

Lines changed: 1710 additions & 1860 deletions

File tree

.github/workflows/check-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
if: github.event.pull_request.draft == false
1414
container:
15-
image: mcr.microsoft.com/playwright:v1.57.0-noble
15+
image: mcr.microsoft.com/playwright:v1.58.2-noble
1616
strategy:
1717
matrix:
1818
package:

eslint.config.mjs

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ import js from '@eslint/js';
99
import litA11Y from 'eslint-plugin-lit-a11y';
1010
import path from 'node:path';
1111
import sds from '@solid-design-system/eslint-plugin';
12-
import sortImportsEs6Autofix from 'eslint-plugin-sort-imports-es6-autofix';
1312
import tsParser from '@typescript-eslint/parser';
1413
import typescriptEslint from '@typescript-eslint/eslint-plugin';
1514

@@ -63,8 +62,7 @@ export default [
6362
'lit-a11y': litA11Y,
6463
'chai-expect': chaiExpect,
6564
'chai-friendly': chaiFriendly,
66-
import: fixupPluginRules(_import),
67-
'sort-imports-es6-autofix': sortImportsEs6Autofix
65+
import: fixupPluginRules(_import)
6866
},
6967

7068
languageOptions: {
@@ -157,15 +155,6 @@ export default [
157155

158156
'import/no-duplicates': 'warn',
159157

160-
'sort-imports-es6-autofix/sort-imports-es6': [
161-
2,
162-
{
163-
ignoreCase: true,
164-
ignoreMemberSort: false,
165-
memberSyntaxSortOrder: ['none', 'all', 'multiple', 'single']
166-
}
167-
],
168-
169158
'wc/guard-super-call': 'off'
170159
}
171160
},

package.json

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -36,29 +36,28 @@
3636
},
3737
"devDependencies": {
3838
"@changesets/cli": "^2.29.7",
39-
"@eslint/compat": "^1.4.0",
39+
"@eslint/compat": "^2.0.2",
4040
"@eslint/eslintrc": "^3.3.1",
41-
"@eslint/js": "^9.36.0",
41+
"@eslint/js": "^10.0.1",
4242
"@octokit/rest": "^22.0.0",
4343
"@solid-design-system/eslint-plugin": "workspace:*",
44-
"@typescript-eslint/eslint-plugin": "^8.44.1",
45-
"@typescript-eslint/parser": "^8.44.1",
44+
"@typescript-eslint/eslint-plugin": "^8.54.0",
45+
"@typescript-eslint/parser": "^8.54.0",
4646
"changesets-changelog-clean": "^1.3.0",
47-
"eslint": "^9.36.0",
47+
"eslint": "^10.0.0",
4848
"eslint-config-prettier": "^10.1.8",
4949
"eslint-plugin-chai-expect": "^3.1.0",
5050
"eslint-plugin-chai-friendly": "^1.1.0",
5151
"eslint-plugin-import": "^2.32.0",
52-
"eslint-plugin-lit": "^2.1.1",
52+
"eslint-plugin-lit": "^2.2.1",
5353
"eslint-plugin-lit-a11y": "^5.1.1",
54-
"eslint-plugin-sort-imports-es6-autofix": "^0.6.0",
55-
"eslint-plugin-storybook": "^9.1.8",
56-
"eslint-plugin-wc": "^3.0.1",
57-
"globals": "^16.4.0",
58-
"globby": "^14.1.0",
54+
"eslint-plugin-storybook": "^10.2.8",
55+
"eslint-plugin-wc": "^3.1.0",
56+
"globals": "^17.3.0",
57+
"globby": "^16.1.0",
5958
"husky": "^9.1.7",
6059
"lint-staged": "^16.2.0",
61-
"prettier": "^3.6.2"
60+
"prettier": "^3.8.1"
6261
},
6362
"pnpm": {
6463
"patchedDependencies": {

packages/components/package.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -72,59 +72,59 @@
7272
"postversion": "pnpm build && node scripts/node-write-sizes.mjs"
7373
},
7474
"dependencies": {
75-
"@floating-ui/dom": "^1.7.4",
75+
"@floating-ui/dom": "^1.7.5",
7676
"@shoelace-style/animations": "^1.2.0",
7777
"@shoelace-style/localize": "^3.2.1",
7878
"classix": "^2.2.4",
79-
"lit": "^3.3.1",
79+
"lit": "^3.3.2",
8080
"style-observer": "^0.1.2"
8181
},
8282
"devDependencies": {
83-
"@custom-elements-manifest/analyzer": "^0.10.8",
83+
"@custom-elements-manifest/analyzer": "^0.11.0",
8484
"@mariohamann/tailwindcss-var": "github:mariohamann/tailwindcss-var",
8585
"@open-wc/testing": "^4.0.0",
8686
"@open-wc/testing-helpers": "^3.0.1",
8787
"@solid-design-system/versioning": "workspace:^",
88-
"@tailwindcss/node": "^4.1.12",
89-
"@tailwindcss/oxide": "^4.1.12",
90-
"@tailwindcss/postcss": "^4.1.11",
88+
"@tailwindcss/node": "^4.1.18",
89+
"@tailwindcss/oxide": "^4.1.18",
90+
"@tailwindcss/postcss": "^4.1.18",
9191
"@tarekraafat/autocomplete.js": "^10.2.9",
9292
"@types/mocha": "^10.0.10",
93-
"@types/sinon": "^17.0.4",
94-
"@web/dev-server-esbuild": "^1.0.4",
93+
"@types/sinon": "^21.0.0",
94+
"@web/dev-server-esbuild": "^1.0.5",
9595
"@web/test-runner": "^0.20.2",
9696
"@web/test-runner-commands": "^0.9.0",
9797
"@web/test-runner-playwright": "^0.11.1",
98-
"autoprefixer": "^10.4.21",
98+
"autoprefixer": "^10.4.24",
9999
"change-case": "^5.4.4",
100-
"chokidar": "^4.0.3",
100+
"chokidar": "^5.0.0",
101101
"command-line-args": "^6.0.1",
102-
"comment-parser": "^1.4.1",
102+
"comment-parser": "^1.4.5",
103103
"concurrently": "^9.2.1",
104104
"cssnano": "^7.1.1",
105105
"custom-element-jet-brains-integration": "^1.7.0",
106106
"custom-element-vs-code-integration": "^1.5.0",
107107
"del": "^8.0.1",
108-
"esbuild": "^0.25.10",
108+
"esbuild": "^0.27.3",
109109
"esbuild-plugin-replace": "^1.4.0",
110110
"esbuild-plugin-tailwindcss": "^2.0.1",
111-
"globby": "^15.0.0",
111+
"globby": "^16.1.0",
112112
"gzip-size": "^7.0.0",
113113
"jsonata": "^2.1.0",
114-
"lightningcss": "^1.30.1",
114+
"lightningcss": "^1.31.1",
115115
"lit-html": "^3.3.1",
116116
"minify-html-literals": "^1.3.5",
117-
"ora": "^9.0.0",
117+
"ora": "^9.3.0",
118118
"picocolors": "^1.1.1",
119-
"playwright": "^1.55.1",
120-
"plop": "^4.0.4",
119+
"playwright": "^1.58.2",
120+
"plop": "^4.0.5",
121121
"postcss": "^8.5.6",
122122
"postcss-import": "^16.1.1",
123123
"postcss-nested": "^7.0.2",
124-
"prettier": "^3.6.2",
124+
"prettier": "^3.8.1",
125125
"recursive-copy": "^2.0.14",
126-
"sinon": "^21.0.0",
127-
"tailwindcss": "^4.1.13",
126+
"sinon": "^21.0.1",
127+
"tailwindcss": "^4.1.18",
128128
"typescript": "5.8.3",
129129
"user-agent-data-types": "^0.4.2"
130130
},

packages/components/src/components/combobox/combobox.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -702,13 +702,16 @@ export default class SdCombobox extends SolidElement implements SolidFormControl
702702
const currentOption = this.getCurrentOption();
703703

704704
const currentIndex = filteredOptions.indexOf(currentOption!);
705+
// eslint-disable-next-line no-useless-assignment
705706
let newIndex = Math.max(0, currentIndex);
706707

707708
if (isNext) {
708709
const nextIndex = currentIndex + 1;
710+
709711
newIndex = nextIndex > filteredOptions.length - 1 ? 0 : nextIndex;
710712
} else {
711713
const previousIndex = currentIndex - 1;
714+
712715
newIndex = previousIndex < 0 ? filteredOptions.length - 1 : previousIndex;
713716
}
714717
this.setCurrentOption(filteredOptions[newIndex], new KeyboardEvent('keydown'));

packages/components/src/components/datepicker/datepicker.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,7 @@ export default class SdDatepicker extends SolidElement implements SolidFormContr
735735
this.rangeStart = newStart;
736736
this.rangeEnd = newEnd;
737737
this.previewEnd = null;
738+
// eslint-disable-next-line no-useless-assignment
738739
changed = true;
739740

740741
const pivot = rs ?? re ?? this.today;
@@ -1489,7 +1490,7 @@ export default class SdDatepicker extends SolidElement implements SolidFormContr
14891490
}
14901491

14911492
const fd = DateUtils.startOfDayLocal(next);
1492-
if (!this.focusedDate || fd.getTime() !== this.focusedDate.getTime()) {
1493+
if (fd.getTime() !== this.focusedDate?.getTime()) {
14931494
this.focusedDate = fd;
14941495
}
14951496

packages/components/src/components/popup/popup.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,7 @@ export default class SdPopup extends SolidElement {
425425
let top = '';
426426
let right = '';
427427
let bottom = '';
428+
// eslint-disable-next-line no-useless-assignment
428429
let left = '';
429430

430431
if (this.arrowPlacement === 'start') {

packages/components/src/components/range/range.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -509,6 +509,7 @@ export default class SdRange extends SolidElement implements SolidFormControl {
509509
const currentValue = this._rangeValues.get(rangeId);
510510
if (currentValue === undefined) return;
511511

512+
// eslint-disable-next-line no-useless-assignment
512513
let value = currentValue;
513514

514515
switch (event.key) {
@@ -608,8 +609,8 @@ export default class SdRange extends SolidElement implements SolidFormControl {
608609
this._rangeValues.set(rangeId, value);
609610

610611
const id = `thumb-${rangeId}`;
611-
612612
let ariaLabel = '';
613+
// eslint-disable-next-line no-useless-assignment
613614
let ariaLabeledBy = '';
614615

615616
if (!isMultiple) {
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
1-
function previewAnnotations(entry = []) {
2-
return [...entry, require.resolve('./preview')];
1+
import { fileURLToPath } from 'node:url';
2+
3+
export function previewAnnotations(entry = []) {
4+
return [...entry, fileURLToPath(import.meta.resolve('./preview.ts'))];
35
}
46

5-
function managerEntries(entry = []) {
6-
return [...entry, require.resolve('../manager')];
7+
export function managerEntries(entry = []) {
8+
return [...entry, fileURLToPath(import.meta.resolve('../manager.ts'))];
79
}
810

9-
module.exports = {
11+
export default {
1012
managerEntries,
1113
previewAnnotations
1214
};

packages/docs/package.json

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -39,55 +39,55 @@
3939
"preview": "http-server dist/storybook --port \"6998\""
4040
},
4141
"dependencies": {
42-
"@storybook/addon-a11y": "^9.1.8",
42+
"@storybook/addon-a11y": "^10.2.8",
4343
"classix": "^2.2.4",
4444
"custom-elements-manifest": "^2.1.0",
45-
"lit": "^3.3.1",
45+
"lit": "^3.3.2",
4646
"vite-plugin-replace": "^0.1.1"
4747
},
4848
"devDependencies": {
4949
"@open-wc/testing-helpers": "^3.0.1",
5050
"@rollup/pluginutils": "^5.3.0",
5151
"@solid-design-system/theming": "workspace:*",
52-
"@storybook/addon-themes": "^9.1.5",
53-
"@tailwindcss/postcss": "^4.1.13",
54-
"@tailwindcss/vite": "^4.1.13",
55-
"@storybook/addon-links": "^9.1.8",
56-
"@playwright/test": "^1.54.2",
57-
"@storybook/test-runner": "^0.23.0",
58-
"@storybook/web-components-vite": "^9.1.8",
52+
"@storybook/addon-themes": "^10.2.8",
53+
"@tailwindcss/postcss": "^4.1.18",
54+
"@tailwindcss/vite": "^4.1.18",
55+
"@storybook/addon-links": "^10.2.8",
56+
"@playwright/test": "^1.58.2",
57+
"@storybook/test-runner": "^0.24.2",
58+
"@storybook/web-components-vite": "^10.2.8",
5959
"@tarekraafat/autocomplete.js": "^10.2.9",
60-
"@types/node": "^24.0.10",
61-
"autoprefixer": "^10.4.21",
60+
"@types/node": "^25.2.3",
61+
"autoprefixer": "^10.4.24",
6262
"axe-html-reporter": "^2.2.11",
6363
"axe-playwright": "^2.2.2",
6464
"change-case": "^5.4.4",
65-
"chromatic": "^13.2.1",
66-
"comment-parser": "^1.4.1",
65+
"chromatic": "^15.1.0",
66+
"comment-parser": "^1.4.5",
6767
"concurrently": "^9.2.1",
6868
"countup.js": "^2.9.0",
6969
"cssnano": "^7.1.1",
70-
"globby": "^15.0.0",
70+
"globby": "^16.1.0",
7171
"http-server": "^14.1.1",
72-
"lit-html": "^3.3.1",
72+
"lit-html": "^3.3.2",
7373
"normalize.css": "^8.0.1",
7474
"picocolors": "^1.1.1",
7575
"postcss-nested": "^7.0.2",
7676
"postcss-import": "^16.1.1",
7777
"postcss": "^8.5.6",
78-
"prettier": "^3.6.2",
79-
"react-dom": "^19.1.1",
80-
"storybook": "^9.1.17",
81-
"react": "^19.1.1",
82-
"tailwindcss": "^4.1.13",
78+
"prettier": "^3.8.1",
79+
"react-dom": "^19.2.4",
80+
"storybook": "^10.2.8",
81+
"react": "^19.2.4",
82+
"tailwindcss": "^4.1.18",
8383
"typescript": "5.8.3",
8484
"user-agent-data-types": "^0.4.2",
85-
"vite-node": "^3.2.4",
85+
"vite-node": "^5.3.0",
8686
"vite-plugin-cem": "^0.8.4",
87-
"vite-tsconfig-paths": "^5.1.4",
87+
"vite-tsconfig-paths": "^6.1.0",
8888
"wait-on": "^9.0.1",
8989
"wc-storybook-helpers": "1.5.3",
90-
"@storybook/addon-docs": "^9.1.8",
91-
"vite": "^7.1.9"
90+
"@storybook/addon-docs": "^10.2.8",
91+
"vite": "^7.3.1"
9292
}
9393
}

0 commit comments

Comments
 (0)