Skip to content

Commit e2dea15

Browse files
authored
chore(deps): upgrade dependencies (#2130)
1 parent c0a4c8e commit e2dea15

File tree

15 files changed

+1989
-1140
lines changed

15 files changed

+1989
-1140
lines changed

.changeset/ripe-paths-tell.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
"@stackoverflow/stacks-svelte": patch
3+
"@stackoverflow/stacks": patch
4+
"@stackoverflow/stacks-utils": patch
5+
---
6+
7+
dependencies upgrade

.stylelintrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,11 @@
1313
"selector-pseudo-element-colon-notation": "single",
1414
"no-descending-specificity": null,
1515
"no-invalid-position-at-import-rule": null,
16+
"nesting-selector-no-missing-scoping-root": null,
1617
"selector-disallowed-list": [
1718
"/[.#]js-/",
1819
{
19-
"message": "js-* selectors cant have visual styling. https://stackoverflow.design/product/develop/javascript/#javascript-classnames"
20+
"message": "js-* selectors can't have visual styling. https://stackoverflow.design/product/develop/javascript/#javascript-classnames"
2021
}
2122
]
2223
}

package-lock.json

Lines changed: 1903 additions & 1083 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 42 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -20,82 +20,81 @@
2020
"test": "npm run test -workspaces -if-present"
2121
},
2222
"devDependencies": {
23-
"@11ty/eleventy": "^3.1.0",
24-
"@changesets/changelog-github": "^0.5.1",
25-
"@changesets/cli": "^2.29.5",
26-
"@eslint/js": "^9.30.0",
23+
"@11ty/eleventy": "^3.1.2",
24+
"@changesets/changelog-github": "^0.5.2",
25+
"@changesets/cli": "^2.29.8",
26+
"@eslint/js": "^9.39.2",
2727
"@highlightjs/cdn-assets": "^11.11.1",
2828
"@open-wc/testing": "^4.0.0",
29-
"@remcovaes/web-test-runner-vite-plugin": "^1.3.0",
29+
"@remcovaes/web-test-runner-vite-plugin": "^1.4.0",
3030
"@rollup/plugin-commonjs": "^26.0.1",
3131
"@rollup/plugin-replace": "^6.0.3",
3232
"@stackoverflow/prettier-config": "^1.0.0",
3333
"@stackoverflow/stacks-icons": "^7.0.0-beta.14",
3434
"@stackoverflow/stacks-icons-legacy": "npm:@stackoverflow/stacks-icons@^6.9.0",
35-
"@storybook/addon-docs": "^9.1.5",
36-
"@storybook/addon-links": "^9.1.3",
37-
"@storybook/addon-svelte-csf": "^5.0.8",
38-
"@storybook/svelte": "^9.1.5",
39-
"@storybook/svelte-vite": "^9.1.15",
40-
"@sveltejs/package": "^2.5.0",
41-
"@sveltejs/vite-plugin-svelte": "^5.1.0",
42-
"@testing-library/dom": "^10.4.0",
43-
"@testing-library/svelte": "^5.2.8",
35+
"@storybook/addon-docs": "^10.1.11",
36+
"@storybook/addon-links": "^10.1.11",
37+
"@storybook/addon-svelte-csf": "^5.0.10",
38+
"@storybook/svelte-vite": "^10.1.11",
39+
"@sveltejs/package": "^2.5.7",
40+
"@sveltejs/vite-plugin-svelte": "^6.2.4",
41+
"@testing-library/dom": "^10.4.1",
42+
"@testing-library/svelte": "^5.3.1",
4443
"@testing-library/user-event": "^14.6.1",
4544
"@types/babel__core": "^7.20.5",
4645
"@types/cssbeautify": "^0.3.5",
4746
"@types/less": "^3.0.8",
4847
"@types/mocha": "^10.0.10",
49-
"@typescript-eslint/parser": "^8.42.0",
48+
"@typescript-eslint/parser": "^8.53.0",
5049
"@web/dev-server-esbuild": "^1.0.4",
5150
"@web/dev-server-rollup": "^0.6.4",
52-
"@web/test-runner": "^0.20.1",
51+
"@web/test-runner": "^0.20.2",
5352
"@web/test-runner-commands": "^0.9.0",
5453
"@web/test-runner-playwright": "^0.11.1",
5554
"@web/test-runner-visual-regression": "^0.10.0",
5655
"apca-check": "^0.1.1",
5756
"chai-dom": "^1.12.1",
58-
"colorjs.io": "^0.5.2",
59-
"concurrently": "^9.2.0",
57+
"colorjs.io": "^0.6.1",
58+
"concurrently": "^9.2.1",
6059
"css-loader": "^7.1.2",
6160
"cssbeautify": "^0.3.1",
62-
"cssnano": "^7.0.7",
61+
"cssnano": "^7.1.2",
6362
"eleventy-plugin-highlightjs": "^1.1.0",
6463
"eleventy-plugin-llms-txt": "^1.2.0",
6564
"eleventy-plugin-nesting-toc": "^1.3.0",
66-
"eslint": "^9.35.0",
65+
"eslint": "^9.39.2",
6766
"eslint-config-prettier": "^10.1.8",
6867
"eslint-plugin-chai-friendly": "^1.1.0",
69-
"eslint-plugin-no-unsanitized": "^4.1.2",
70-
"eslint-plugin-prettier": "^5.5.4",
71-
"eslint-plugin-svelte": "^3.13.0",
72-
"globals": "^16.4.0",
68+
"eslint-plugin-no-unsanitized": "^4.1.4",
69+
"eslint-plugin-prettier": "^5.5.5",
70+
"eslint-plugin-svelte": "^3.14.0",
71+
"globals": "^17.0.0",
7372
"htm": "^3.1.1",
7473
"less-loader": "^12.3.0",
7574
"markdown-it": "^14.1.0",
76-
"mini-css-extract-plugin": "^2.9.2",
75+
"mini-css-extract-plugin": "^2.9.4",
7776
"postcss-less": "^6.0.0",
78-
"postcss-loader": "^8.1.1",
79-
"prettier": "^3.6.2",
80-
"prettier-plugin-svelte": "^3.4.0",
81-
"rimraf": "^6.0.1",
77+
"postcss-loader": "^8.2.0",
78+
"prettier": "^3.8.0",
79+
"prettier-plugin-svelte": "^3.4.1",
80+
"rimraf": "^6.1.2",
8281
"rollup-plugin-postcss": "^4.0.2",
83-
"sass": "^1.93.2",
84-
"sinon": "^20.0.0",
85-
"storybook": "^9.1.5",
86-
"stylelint": "^16.25.0",
87-
"stylelint-config-recommended": "^16.0.0",
88-
"stylelint-config-standard": "^39.0.1",
89-
"svelte": "^5.39.11",
90-
"svelte-check": "^4.3.3",
82+
"sass": "^1.97.2",
83+
"sinon": "^21.0.1",
84+
"storybook": "^10.1.11",
85+
"stylelint": "^17.0.0",
86+
"stylelint-config-recommended": "^18.0.0",
87+
"stylelint-config-standard": "^40.0.0",
88+
"svelte": "^5.46.4",
89+
"svelte-check": "^4.3.5",
9190
"svelte-preprocess": "^6.0.3",
92-
"terser-webpack-plugin": "^5.3.14",
93-
"ts-loader": "^9.5.2",
91+
"terser-webpack-plugin": "^5.3.16",
92+
"ts-loader": "^9.5.4",
9493
"typescript": "^5.9.3",
95-
"typescript-eslint": "^8.46.1",
96-
"vite": "^6.4.1",
97-
"vitest": "^3.1.3",
98-
"webpack": "^5.102.1",
94+
"typescript-eslint": "^8.53.0",
95+
"vite": "^7.3.1",
96+
"vitest": "^4.0.17",
97+
"webpack": "^5.104.1",
9998
"webpack-cli": "^6.0.1",
10099
"webpack-merge": "^6.0.1"
101100
},

packages/stacks-classic/lib/atomic/__snapshots__/misc.less.test.ts.snap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,6 +273,7 @@ exports[`atomic: misc > should output all atomic css classes 1`] = `
273273
274274
.v-visible-sr {
275275
border: 0;
276+
/* stylelint-disable-next-line property-no-deprecated -- clip is kept for older browser compatibility alongside clip-path */
276277
clip: rect(var(--su-static1), var(--su-static1), var(--su-static1), var(--su-static1));
277278
clip-path: inset(50%);
278279
height: var(--su-static1);

packages/stacks-classic/lib/atomic/misc.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@
179179
// Borrowed from Wordpress
180180
// https://make.wordpress.org/accessibility/2015/02/09/hiding-text-for-screen-readers-with-wordpress-core/
181181
border: 0;
182+
/* stylelint-disable-next-line property-no-deprecated -- clip is kept for older browser compatibility alongside clip-path */
182183
clip: rect(var(--su-static1), var(--su-static1), var(--su-static1), var(--su-static1)); // rect(1px, 1px, 1px, 1px)
183184
clip-path: inset(50%);
184185
height: var(--su-static1);

packages/stacks-classic/lib/components/button/button.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@
248248
&--radio { // This lives alongside a .s-btn element. These styles are the equivelent of `.v-visible-sr`
249249
border: 0;
250250
clip-path: inset(50%);
251+
/* stylelint-disable-next-line property-no-deprecated -- clip is kept for older browser compatibility alongside clip-path */
251252
clip: rect(var(--su-static1), var(--su-static1), var(--su-static1), var(--su-static1)); // rect(1px, 1px, 1px, 1px)
252253
height: var(--su-static1);
253254
margin: var(--sun1);

packages/stacks-classic/lib/components/notice/notice.less

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@
171171
//Add spacing between multiple notice actions
172172
gap: calc(var(--su24) - var(--su2)); //22px
173173
//Fix css issue caused by svelte-sonner-toast in the NoticeAction svelte component
174-
word-wrap: initial !important;
174+
overflow-wrap: initial !important;
175175
}
176176

177177
// STYLES MODIFIED BY COMPONENT-SPECIFIC CUSTOM PROPERTIES

packages/stacks-svelte/.storybook/main.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,17 @@ const config: StorybookConfig = {
2121
},
2222
},
2323
},
24+
viteFinal: (config) => {
25+
// Include svelte-sonner in optimizeDeps to ensure its virtual CSS modules
26+
// (from <style global> blocks) are properly processed by vite-plugin-svelte.
27+
// Without this, Storybook fails to load the Toaster component styles.
28+
// Note: svelte-sonner is excluded in vite.config.ts for test compatibility,
29+
// but Storybook needs it included for proper CSS handling.
30+
config!.optimizeDeps!.exclude = config?.optimizeDeps?.exclude?.filter(
31+
(dep) => dep !== "svelte-sonner"
32+
);
33+
34+
return config;
35+
},
2436
};
2537
export default config;

packages/stacks-svelte/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"@stackoverflow/stacks-icons-legacy": "npm:@stackoverflow/stacks-icons@^6.9.0",
3939
"@stackoverflow/stacks-utils": "^1.0.0-beta.0",
4040
"svelte-floating-ui": "^1.6.2",
41-
"svelte-sonner": "^1.0.5"
41+
"svelte-sonner": "^1.0.7"
4242
},
4343
"files": [
4444
"lib",

0 commit comments

Comments
 (0)