Skip to content

Commit debef1f

Browse files
authored
chore(deps): integrate stacks icons v7-beta and rename v6 to legacy (#2025)
1 parent ee168fa commit debef1f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+779
-754
lines changed

package-lock.json

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

package.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
{
22
"private": true,
3-
"workspaces": ["packages/*"],
3+
"workspaces": [
4+
"packages/*"
5+
],
46
"name": "stacks",
57
"repository": {
68
"type": "git",
@@ -9,7 +11,7 @@
911
"license": "MIT",
1012
"scripts": {
1113
"build": "npm run build -workspaces -if-present",
12-
"prepublishOnly": "npm run build -workspaces -if-present",
14+
"prepublishOnly": "npm run build -workspaces -if-present",
1315
"version": "changeset version && npm install --package-lock-only",
1416
"release": "npm run build && changeset publish",
1517
"format": "npm run format -workspaces -if-present",
@@ -28,8 +30,8 @@
2830
"@rollup/plugin-commonjs": "^26.0.1",
2931
"@rollup/plugin-replace": "^6.0.2",
3032
"@stackoverflow/prettier-config": "^1.0.0",
31-
"@stackoverflow/stacks": "^2.8.4",
32-
"@stackoverflow/stacks-icons": "^6.6.1",
33+
"@stackoverflow/stacks-icons": "^7.0.0-beta.1",
34+
"@stackoverflow/stacks-icons-legacy": "npm:@stackoverflow/stacks-icons@^6.6.1",
3335
"@storybook/addon-docs": "^9.1.5",
3436
"@storybook/addon-links": "^9.1.3",
3537
"@storybook/addon-svelte-csf": "^5.0.8",
@@ -117,4 +119,4 @@
117119
"@web/dev-server-core": "0.7.1",
118120
"playwright": "1.55.1"
119121
}
120-
}
122+
}

packages/stacks-classic/lib/components/badge/badge.a11y.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { runA11yTests } from "../../test/a11y-test-utils";
2-
import { IconEyeSm } from "@stackoverflow/stacks-icons/icons";
2+
import { IconEyeSm } from "@stackoverflow/stacks-icons-legacy/icons";
33
import "../../index";
44

55
const variants = {

packages/stacks-classic/lib/components/badge/badge.visual.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { runVisualTests } from "../../test/visual-test-utils";
2-
import { IconEyeSm } from "@stackoverflow/stacks-icons/icons";
2+
import { IconEyeSm } from "@stackoverflow/stacks-icons-legacy/icons";
33
import "../../index";
44
import { html } from "@open-wc/testing";
55

packages/stacks-classic/lib/components/empty-state/empty-state.a11y.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { html } from "@open-wc/testing";
2-
import { SpotEmptyXL } from "@stackoverflow/stacks-icons";
2+
import { SpotEmptyXL } from "@stackoverflow/stacks-icons-legacy";
33
import { runA11yTests } from "../../test/a11y-test-utils";
44
import "../../index";
55

packages/stacks-classic/lib/components/empty-state/empty-state.visual.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { html } from "@open-wc/testing";
2-
import { SpotEmptyXL } from "@stackoverflow/stacks-icons";
2+
import { SpotEmptyXL } from "@stackoverflow/stacks-icons-legacy";
33
import { runVisualTests } from "../../test/visual-test-utils";
44
import "../../index";
55

packages/stacks-classic/lib/components/modal/modal.a11y.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { html } from "@open-wc/testing";
22
import { runA11yTests } from "../../test/a11y-test-utils";
3-
import { IconClearSm } from "@stackoverflow/stacks-icons/icons";
3+
import { IconClearSm } from "@stackoverflow/stacks-icons-legacy/icons";
44
import "../../index";
55

66
describe("modal", () => {

packages/stacks-classic/lib/components/modal/modal.visual.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { html } from "@open-wc/testing";
22
import { runVisualTests } from "../../test/visual-test-utils";
3-
import { IconClearSm } from "@stackoverflow/stacks-icons/icons";
3+
import { IconClearSm } from "@stackoverflow/stacks-icons-legacy/icons";
44
import "../../index";
55

66
describe("modal", () => {

packages/stacks-classic/lib/components/post-summary/post-summary.test.setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import {
88
IconPencilSm,
99
IconTackSm,
1010
IconTrashSm,
11-
} from "@stackoverflow/stacks-icons/icons";
11+
} from "@stackoverflow/stacks-icons-legacy/icons";
1212
import type { TestVariationArgs } from "../../test/test-utils";
1313
import "../../index";
1414

packages/stacks-classic/lib/components/progress-bar/progress-bar.a11y.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { html } from "@open-wc/testing";
22
import {
33
IconAchievementsSm,
44
IconCheckmarkSm,
5-
} from "@stackoverflow/stacks-icons/icons";
5+
} from "@stackoverflow/stacks-icons-legacy/icons";
66
import { runA11yTests } from "../../test/a11y-test-utils";
77
import "../../index";
88

0 commit comments

Comments
 (0)