@amboss/design-system 3.40.6 → 3.41.0
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/build/cjs/components/BulkActionsToolbar/BulkActionsToolbar.js +1 -1
- package/build/cjs/components/Callout/Callout.js +1 -1
- package/build/cjs/components/CatalogCard/CatalogCard.js +1 -1
- package/build/cjs/components/Content/ContentBox/ContentBox.js +1 -1
- package/build/cjs/components/Form/Combobox/constants.js +1 -1
- package/build/cjs/components/Form/SearchInput/SearchInput.js +1 -1
- package/build/cjs/components/Form/SegmentedControl/SegmentedControl.js +1 -1
- package/build/cjs/components/Form/SegmentedControl/SegmentedControlOption.js +1 -1
- package/build/cjs/components/Icon/Icon.d.ts +2 -2
- package/build/cjs/components/Icon/Icon.js +1 -1
- package/build/cjs/components/Logo/Logo.js +1 -1
- package/build/cjs/components/MediaViewerCarousel/MediaViewerCarousel.js +1 -1
- package/build/cjs/components/SplashCardMedia/SplashCardMedia.js +1 -1
- package/build/cjs/components/SubThemeProvider/SubThemeProvider.d.ts +1 -1
- package/build/cjs/components/Toggletip/BasePopover.js +1 -1
- package/build/cjs/components/Tooltip/TooltipContent.d.ts +1 -1
- package/build/cjs/components/Tooltip/TooltipContent.js +1 -1
- package/build/cjs/index.d.ts +1 -1
- package/build/cjs/index.js +1 -1
- package/build/cjs/shared/mediaQueries.js +1 -1
- package/build/cjs/shared/useBreakpoints.js +1 -1
- package/build/cjs/web-tokens/_sizes.json +28 -28
- package/build/cjs/web-tokens/{_subThemeType.d.ts → _subThemeType.ts} +1 -0
- package/build/cjs/web-tokens/visualConfig.ts +5074 -0
- package/build/esm/components/BulkActionsToolbar/BulkActionsToolbar.js +1 -1
- package/build/esm/components/Callout/Callout.js +1 -1
- package/build/esm/components/CatalogCard/CatalogCard.js +1 -1
- package/build/esm/components/Content/ContentBox/ContentBox.js +1 -1
- package/build/esm/components/Form/Combobox/constants.js +1 -1
- package/build/esm/components/Form/SearchInput/SearchInput.js +1 -1
- package/build/esm/components/Form/SegmentedControl/SegmentedControl.js +1 -1
- package/build/esm/components/Form/SegmentedControl/SegmentedControlOption.js +1 -1
- package/build/esm/components/Icon/Icon.d.ts +2 -2
- package/build/esm/components/Icon/Icon.js +1 -1
- package/build/esm/components/Logo/Logo.js +1 -1
- package/build/esm/components/MediaViewerCarousel/MediaViewerCarousel.js +1 -1
- package/build/esm/components/SplashCardMedia/SplashCardMedia.js +1 -1
- package/build/esm/components/SubThemeProvider/SubThemeProvider.d.ts +1 -1
- package/build/esm/components/Toggletip/BasePopover.js +1 -1
- package/build/esm/components/Tooltip/TooltipContent.d.ts +1 -1
- package/build/esm/components/Tooltip/TooltipContent.js +1 -1
- package/build/esm/index.d.ts +1 -1
- package/build/esm/index.js +1 -1
- package/build/esm/shared/mediaQueries.js +1 -1
- package/build/esm/shared/useBreakpoints.js +1 -1
- package/build/esm/web-tokens/_sizes.json +28 -28
- package/build/esm/web-tokens/{_subThemeType.d.ts → _subThemeType.ts} +1 -0
- package/build/esm/web-tokens/visualConfig.ts +5074 -0
- package/package.json +27 -21
- package/build/cjs/web-tokens/_subThemeType.js +0 -1
- package/build/cjs/web-tokens/visualConfig.d.ts +0 -1765
- package/build/cjs/web-tokens/visualConfig.js +0 -1
- package/build/esm/web-tokens/_subThemeType.js +0 -1
- package/build/esm/web-tokens/visualConfig.d.ts +0 -1765
- package/build/esm/web-tokens/visualConfig.js +0 -1
package/package.json
CHANGED
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amboss/design-system",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.41.0",
|
|
4
4
|
"description": "the design system for AMBOSS products",
|
|
5
5
|
"author": "AMBOSS",
|
|
6
6
|
"license": "ISC",
|
|
7
|
+
"workspaces": [
|
|
8
|
+
"packages/*"
|
|
9
|
+
],
|
|
7
10
|
"main": "build/cjs/index.js",
|
|
8
11
|
"module": "build/esm/index.js",
|
|
9
12
|
"exports": {
|
|
@@ -46,14 +49,17 @@
|
|
|
46
49
|
"build/**/*"
|
|
47
50
|
],
|
|
48
51
|
"lint-staged": {
|
|
49
|
-
"{src,tokens,.storybook,test-utils}/**/*.{js,jsx,ts,tsx}": [
|
|
52
|
+
"{src,packages/design-tokens/src,.storybook,test-utils}/**/*.{js,jsx,ts,tsx}": [
|
|
50
53
|
"prettier --write",
|
|
51
54
|
"eslint --fix"
|
|
52
55
|
],
|
|
53
|
-
"{
|
|
56
|
+
"packages/design-tokens/style-dictionary/**/*.{js,ts}": [
|
|
57
|
+
"prettier --write"
|
|
58
|
+
],
|
|
59
|
+
"{src,packages/design-tokens/src,.storybook,test-utils}/**/*.mdx": [
|
|
54
60
|
"prettier --write"
|
|
55
61
|
],
|
|
56
|
-
"{assets/icons/*,tokens/web/assets.json}": [
|
|
62
|
+
"{assets/icons/*,packages/design-tokens/src/web/assets.json}": [
|
|
57
63
|
"bun run icons:optimize"
|
|
58
64
|
]
|
|
59
65
|
},
|
|
@@ -77,9 +83,9 @@
|
|
|
77
83
|
},
|
|
78
84
|
"scripts": {
|
|
79
85
|
"prepare": "husky",
|
|
80
|
-
"clean": "rimraf build build-ts
|
|
86
|
+
"clean": "rimraf build build-ts packages/design-tokens/dist",
|
|
81
87
|
"build": "./scripts/build.sh",
|
|
82
|
-
"predev": "bun run tokens:web
|
|
88
|
+
"predev": "bun run tokens:web",
|
|
83
89
|
"dev": "bun run tokens:watch & bun run storybook",
|
|
84
90
|
"static": "http-server storybook-static/ -p 6006",
|
|
85
91
|
"storybook": "storybook dev -p 6006",
|
|
@@ -91,18 +97,18 @@
|
|
|
91
97
|
"test:coverage": "TZ=Europe/Berlin jest --coverage",
|
|
92
98
|
"test:ci": "NODE_OPTIONS=\"--max-old-space-size=6144\" bun run test:coverage -- --ci --maxWorkers=2 --reporters=jest-junit",
|
|
93
99
|
"test-a11y": "vitest --project=storybook",
|
|
94
|
-
"tokens:web": "
|
|
95
|
-
"tokens:web:ts": "
|
|
96
|
-
"tokens:android": "
|
|
97
|
-
"tokens:ios": "
|
|
98
|
-
"tokens:watch": "chokidar
|
|
100
|
+
"tokens:web": "bun run --filter @amboss/design-tokens build:web",
|
|
101
|
+
"tokens:web:ts": "bun run --filter @amboss/design-tokens build:web:ts",
|
|
102
|
+
"tokens:android": "bun run --filter @amboss/design-tokens build:android",
|
|
103
|
+
"tokens:ios": "bun run --filter @amboss/design-tokens build:ios",
|
|
104
|
+
"tokens:watch": "chokidar \"packages/design-tokens/src/**/*.json\" \"packages/design-tokens/style-dictionary/**/*.*\" -c \"bun run tokens:web\"",
|
|
99
105
|
"tokens:prettier": "prettier --write \"build-tokens/*.(t|j)s*\"",
|
|
100
|
-
"chromatic": "bunx chromatic --project-token ${CHROMATIC_TOKEN} --exit-zero-on-changes --only-changed --externals 'tokens/**/*'",
|
|
101
|
-
"chromatic:ci": "bunx chromatic --project-token ${CHROMATIC_TOKEN} -d 'storybook-static' --zip --skip 'dependabot/**' --exit-zero-on-changes --exit-once-uploaded --only-changed --externals 'tokens/**/*'",
|
|
102
|
-
"chromatic:master": "bunx chromatic --project-token ${CHROMATIC_TOKEN} -d 'storybook-static' --zip --auto-accept-changes --only-changed --exit-once-uploaded --externals 'tokens/**/*'",
|
|
106
|
+
"chromatic": "bunx chromatic --project-token ${CHROMATIC_TOKEN} --exit-zero-on-changes --only-changed --externals 'packages/design-tokens/src/**/*'",
|
|
107
|
+
"chromatic:ci": "bunx chromatic --project-token ${CHROMATIC_TOKEN} -d 'storybook-static' --zip --skip 'dependabot/**' --exit-zero-on-changes --exit-once-uploaded --only-changed --externals 'packages/design-tokens/src/**/*'",
|
|
108
|
+
"chromatic:master": "bunx chromatic --project-token ${CHROMATIC_TOKEN} -d 'storybook-static' --zip --auto-accept-changes --only-changed --exit-once-uploaded --externals 'packages/design-tokens/src/**/*'",
|
|
103
109
|
"lint": "bun run lint:eslint && bun run lint:prettier",
|
|
104
110
|
"lint:eslint": "eslint -c .eslintrc --fix src .storybook test-utils --no-error-on-unmatched-pattern scripts/**/*.{js,ts,mts}",
|
|
105
|
-
"lint:prettier": "prettier --write \"{src,tokens,.storybook,test-utils}/**/*.{js,jsx,ts,tsx,mdx}\"",
|
|
111
|
+
"lint:prettier": "prettier --write \"{src,packages/design-tokens/src,packages/design-tokens/style-dictionary,.storybook,test-utils}/**/*.{js,jsx,ts,tsx,mdx}\"",
|
|
106
112
|
"component": "DS_ROOT=/src/components DS_COMP_FOLDER=/components node scripts/createComponent/createComponent.js",
|
|
107
113
|
"link-ds": "./scripts/link-ds.sh",
|
|
108
114
|
"icons:ios": "node --experimental-strip-types ./scripts/svg-to-pdf.mts",
|
|
@@ -122,12 +128,12 @@
|
|
|
122
128
|
],
|
|
123
129
|
"dependencies": {
|
|
124
130
|
"@react-aria/interactions": "^3.27.0",
|
|
125
|
-
"@swc/helpers": "
|
|
126
|
-
"@vitejs/plugin-react-swc": "
|
|
131
|
+
"@swc/helpers": "~0.5.17",
|
|
132
|
+
"@vitejs/plugin-react-swc": "~3.10.1",
|
|
127
133
|
"focus-trap-react": "^10.2.3",
|
|
128
134
|
"imask": "^7.4.0",
|
|
129
135
|
"runtypes": "^6.7.0",
|
|
130
|
-
"svgo": "^3.3.
|
|
136
|
+
"svgo": "^3.3.3"
|
|
131
137
|
},
|
|
132
138
|
"peerDependencies": {
|
|
133
139
|
"@emotion/cache": "^11.14.0",
|
|
@@ -148,7 +154,7 @@
|
|
|
148
154
|
"micromatch": ">=4.0.8",
|
|
149
155
|
"brace-expansion": ">=2.0.2",
|
|
150
156
|
"diff": ">=5.2.2",
|
|
151
|
-
"lodash": "
|
|
157
|
+
"lodash": "~4.18.1",
|
|
152
158
|
"rollup": ">=4.59.0",
|
|
153
159
|
"@octokit/request": "~8.4.1",
|
|
154
160
|
"@octokit/request-error": "~5.1.1",
|
|
@@ -168,7 +174,7 @@
|
|
|
168
174
|
"@storybook/addon-vitest": "10.2.14",
|
|
169
175
|
"@storybook/react-vite": "10.2.14",
|
|
170
176
|
"@swc/cli": "^0.1.65",
|
|
171
|
-
"@swc/core": "1.11.31",
|
|
177
|
+
"@swc/core": "~1.11.31",
|
|
172
178
|
"@swc/plugin-emotion": "^9.0.0",
|
|
173
179
|
"@testing-library/jest-dom": "^6.6.3",
|
|
174
180
|
"@testing-library/react": "^16.3.0",
|
|
@@ -204,7 +210,7 @@
|
|
|
204
210
|
"jest-environment-jsdom": "^29.6.2",
|
|
205
211
|
"jest-junit": "^16.0.0",
|
|
206
212
|
"lint-staged": "^13.2.2",
|
|
207
|
-
"lodash": "4.
|
|
213
|
+
"lodash": "~4.18.1",
|
|
208
214
|
"markdown-to-jsx": "^9.7.6",
|
|
209
215
|
"pdfkit": "^0.15.0",
|
|
210
216
|
"playwright": "^1.56.1",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});
|