@krrli/cm-designsystem 1.20.1 → 1.20.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cm-designsystem.css +1 -1
- package/dist/components/accessible-button/AccessibleButton.d.ts +32 -0
- package/dist/components/accessible-button/AccessibleButton.js +15 -0
- package/dist/components/accessible-button/AccessibleButton.test.d.ts +1 -0
- package/dist/components/accessible-button/AccessibleButton.test.js +28 -0
- package/dist/components/avatar/Avatar.d.ts +51 -4
- package/dist/components/avatar/Avatar.js +9 -1
- package/dist/components/button/Button.d.ts +27 -15
- package/dist/components/button/Button.js +11 -7
- package/dist/components/button/Button.test.js +3 -3
- package/dist/components/file-upload/FileUpload.js +1 -1
- package/dist/components/icon-button/IconButton.d.ts +24 -5
- package/dist/components/icon-button/IconButton.js +8 -5
- package/dist/components/icon-button/IconButton.test.js +2 -2
- package/dist/components/icons/IconBase.js +2 -2
- package/dist/components/modal/Modal.test.js +2 -2
- package/dist/components/navi-button/NaviButton.d.ts +28 -5
- package/dist/components/navi-button/NaviButton.js +8 -3
- package/dist/components/navi-button/NaviButton.test.js +2 -2
- package/dist/components/navi-user-button/NaviUserButton.d.ts +24 -6
- package/dist/components/navi-user-button/NaviUserButton.js +8 -4
- package/dist/components/round-button/RoundButton.d.ts +23 -4
- package/dist/components/round-button/RoundButton.js +8 -3
- package/dist/components/round-button/RoundButton.test.js +3 -2
- package/dist/components/timed-button/TimedButton.d.ts +29 -6
- package/dist/components/timed-button/TimedButton.js +9 -6
- package/dist/components/timed-button/TimedButton.test.js +6 -5
- package/dist/components/typography/AccessibleTypography.d.ts +33 -0
- package/dist/components/typography/AccessibleTypography.js +11 -0
- package/dist/components/typography/Heading.d.ts +17 -10
- package/dist/components/typography/Heading.js +8 -8
- package/dist/components/typography/Label.d.ts +15 -8
- package/dist/components/typography/Label.js +8 -4
- package/dist/components/typography/Paragraph.d.ts +15 -8
- package/dist/components/typography/Paragraph.js +8 -4
- package/dist/components/typography/Placeholder.d.ts +12 -8
- package/dist/components/typography/Placeholder.js +8 -4
- package/dist/components/typography/ValidationMessage.d.ts +15 -8
- package/dist/components/typography/ValidationMessage.js +8 -6
- package/dist/index.es.js +2925 -3002
- package/package.json +57 -59
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@krrli/cm-designsystem",
|
|
3
|
-
"version": "1.20.
|
|
3
|
+
"version": "1.20.3",
|
|
4
4
|
"files": [
|
|
5
5
|
"dist/",
|
|
6
6
|
"dist/cm-designsystem.css"
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"access": "public"
|
|
14
14
|
},
|
|
15
15
|
"scripts": {
|
|
16
|
-
"preflight": "npm run prettier && npm run lint && npm run typecheck && npm run build",
|
|
16
|
+
"preflight": "npm run prettier && npm run lint && npm run typecheck && npm run build && npm run knip",
|
|
17
17
|
"build": "tsc -b && vite build",
|
|
18
18
|
"lint": "eslint . --max-warnings 0",
|
|
19
19
|
"lint:fix": "eslint . --fix",
|
|
@@ -27,67 +27,65 @@
|
|
|
27
27
|
"coverage": "vitest run --coverage",
|
|
28
28
|
"icons:generate": "node src/scripts/generate-icons.js && prettier src/components/icons/generated --write",
|
|
29
29
|
"e2e:build": "docker build -t cm-designsystem-visual-testing .",
|
|
30
|
-
"e2e:ci": "docker run --rm -i -e TEST_BASE_URL=http://localhost:6006 -e CI=true -v ./playwright-report:/app/playwright-report -v ./test-results:/app/test-results -v ./storybook-static:/app/storybook-static -v ./tests:/app/tests -v ./playwright.config.ts:/app/playwright.config.ts cm-designsystem-visual-testing sh -c \"npx http-server /app/storybook-static -p 6006 & npx playwright test\"",
|
|
31
30
|
"e2e:test": "npm run build-storybook & docker run --rm -i -e TEST_BASE_URL=http://localhost:6006 -e CI=true -v ./playwright-report:/app/playwright-report -v ./test-results:/app/test-results -v ./storybook-static:/app/storybook-static -v ./tests:/app/tests -v ./playwright.config.ts:/app/playwright.config.ts cm-designsystem-visual-testing sh -c \"npx http-server /app/storybook-static -p 6006 & npx playwright test\"",
|
|
32
|
-
"e2e:update": "npm run build-storybook & docker run --rm -i -e TEST_BASE_URL=http://localhost:6006 -e CI=true -v ./playwright-report:/app/playwright-report -v ./test-results:/app/test-results -v ./storybook-static:/app/storybook-static -v ./tests:/app/tests -v ./playwright.config.ts:/app/playwright.config.ts cm-designsystem-visual-testing sh -c \"npx http-server /app/storybook-static -p 6006 & npx playwright test --update-snapshots\""
|
|
33
|
-
"e2e:build-storybook": "storybook build --docs"
|
|
31
|
+
"e2e:update": "npm run build-storybook & docker run --rm -i -e TEST_BASE_URL=http://localhost:6006 -e CI=true -v ./playwright-report:/app/playwright-report -v ./test-results:/app/test-results -v ./storybook-static:/app/storybook-static -v ./tests:/app/tests -v ./playwright.config.ts:/app/playwright.config.ts cm-designsystem-visual-testing sh -c \"npx http-server /app/storybook-static -p 6006 & npx playwright test --update-snapshots\""
|
|
34
32
|
},
|
|
35
33
|
"dependencies": {
|
|
36
|
-
"
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
"@radix-ui/react-
|
|
40
|
-
"@radix-ui/react-
|
|
41
|
-
"@radix-ui/react-
|
|
42
|
-
"@
|
|
43
|
-
"
|
|
44
|
-
"react": "
|
|
45
|
-
"react
|
|
46
|
-
"
|
|
47
|
-
"tailwind-merge": "^3.3.1",
|
|
48
|
-
"tailwind-variants": "^3.1.1",
|
|
49
|
-
"tailwindcss": "^4.1.14"
|
|
34
|
+
"tailwind-variants": "3.2.2"
|
|
35
|
+
},
|
|
36
|
+
"peerDependencies": {
|
|
37
|
+
"@radix-ui/react-accessible-icon": "1.1.8",
|
|
38
|
+
"@radix-ui/react-avatar": "1.1.11",
|
|
39
|
+
"@radix-ui/react-dialog": "1.1.15",
|
|
40
|
+
"@radix-ui/react-form": "0.1.8",
|
|
41
|
+
"@radix-ui/react-tabs": "1.1.13",
|
|
42
|
+
"@radix-ui/react-toggle": "1.1.10",
|
|
43
|
+
"react": "19.2.0",
|
|
44
|
+
"react-dom": "19.2.0"
|
|
50
45
|
},
|
|
51
46
|
"devDependencies": {
|
|
52
|
-
"@chromatic-com/storybook": "
|
|
53
|
-
"@eslint/js": "
|
|
54
|
-
"@playwright/test": "
|
|
55
|
-
"@storybook/addon-a11y": "
|
|
56
|
-
"@storybook/addon-docs": "
|
|
57
|
-
"@storybook/addon-
|
|
58
|
-
"@storybook/
|
|
59
|
-
"@
|
|
60
|
-
"@testing-library/dom": "
|
|
61
|
-
"@testing-library/jest-dom": "
|
|
62
|
-
"@testing-library/react": "
|
|
63
|
-
"@testing-library/user-event": "
|
|
64
|
-
"@types/node": "
|
|
65
|
-
"@types/react": "
|
|
66
|
-
"@types/react-dom": "
|
|
67
|
-
"@vitejs/plugin-react": "
|
|
68
|
-
"@vitest/browser": "
|
|
69
|
-
"@vitest/
|
|
70
|
-
"
|
|
71
|
-
"eslint
|
|
72
|
-
"eslint-
|
|
73
|
-
"eslint-
|
|
74
|
-
"eslint-plugin-
|
|
75
|
-
"eslint-plugin-
|
|
76
|
-
"eslint-plugin-react
|
|
77
|
-
"eslint-plugin-react-
|
|
78
|
-
"eslint-plugin-
|
|
79
|
-
"eslint-plugin-
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"playwright": "
|
|
85
|
-
"prettier": "
|
|
86
|
-
"prettier-plugin-tailwindcss": "
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
47
|
+
"@chromatic-com/storybook": "4.1.3",
|
|
48
|
+
"@eslint/js": "9.39.1",
|
|
49
|
+
"@playwright/test": "1.57.0",
|
|
50
|
+
"@storybook/addon-a11y": "10.1.2",
|
|
51
|
+
"@storybook/addon-docs": "10.1.2",
|
|
52
|
+
"@storybook/addon-vitest": "10.1.2",
|
|
53
|
+
"@storybook/react-vite": "10.1.2",
|
|
54
|
+
"@tailwindcss/vite": "4.1.17",
|
|
55
|
+
"@testing-library/dom": "10.4.1",
|
|
56
|
+
"@testing-library/jest-dom": "6.9.1",
|
|
57
|
+
"@testing-library/react": "16.3.0",
|
|
58
|
+
"@testing-library/user-event": "14.6.1",
|
|
59
|
+
"@types/node": "24.10.1",
|
|
60
|
+
"@types/react": "19.2.7",
|
|
61
|
+
"@types/react-dom": "19.2.3",
|
|
62
|
+
"@vitejs/plugin-react": "5.1.1",
|
|
63
|
+
"@vitest/browser": "4.0.14",
|
|
64
|
+
"@vitest/browser-playwright": "4.0.14",
|
|
65
|
+
"@vitest/coverage-v8": "4.0.14",
|
|
66
|
+
"eslint": "9.39.1",
|
|
67
|
+
"eslint-config-prettier": "10.1.8",
|
|
68
|
+
"eslint-import-resolver-typescript": "4.4.4",
|
|
69
|
+
"eslint-plugin-import": "2.32.0",
|
|
70
|
+
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
71
|
+
"eslint-plugin-react": "7.37.5",
|
|
72
|
+
"eslint-plugin-react-hooks": "7.0.1",
|
|
73
|
+
"eslint-plugin-react-refresh": "0.4.24",
|
|
74
|
+
"eslint-plugin-storybook": "10.1.2",
|
|
75
|
+
"eslint-plugin-unused-imports": "4.3.0",
|
|
76
|
+
"globals": "16.5.0",
|
|
77
|
+
"jsdom": "27.2.0",
|
|
78
|
+
"knip": "5.70.2",
|
|
79
|
+
"playwright": "1.57.0",
|
|
80
|
+
"prettier": "3.7.3",
|
|
81
|
+
"prettier-plugin-tailwindcss": "0.7.1",
|
|
82
|
+
"semantic-release": "25.0.2",
|
|
83
|
+
"storybook": "10.1.2",
|
|
84
|
+
"tailwind-merge": "3.4.0",
|
|
85
|
+
"tailwindcss": "4.1.17",
|
|
86
|
+
"typescript": "5.9.3",
|
|
87
|
+
"typescript-eslint": "8.48.0",
|
|
88
|
+
"vite": "7.2.4",
|
|
89
|
+
"vitest": "4.0.14"
|
|
92
90
|
}
|
|
93
91
|
}
|