@databricks/design-system 1.4.0 → 1.5.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/dist/design-system/Button/Button.d.ts +2 -1
- package/dist/design-system/Button/Button.d.ts.map +1 -1
- package/dist/design-system/Button/styles.d.ts +1 -0
- package/dist/design-system/Button/styles.d.ts.map +1 -1
- package/dist/design-system/DesignSystemProvider/DesignSystemProvider.d.ts +3 -2
- package/dist/design-system/DesignSystemProvider/DesignSystemProvider.d.ts.map +1 -1
- package/dist/design-system/Dropdown/Dropdown.d.ts +3 -0
- package/dist/design-system/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/design-system/DropdownMenu/DropdownMenu.d.ts +11 -1
- package/dist/design-system/DropdownMenu/DropdownMenu.d.ts.map +1 -1
- package/dist/design-system/FormMessage/FormMessage.d.ts.map +1 -1
- package/dist/design-system/FormV2/FormV2.d.ts +6 -0
- package/dist/design-system/FormV2/FormV2.d.ts.map +1 -1
- package/dist/design-system/Hint/Hint.d.ts +2 -0
- package/dist/design-system/Hint/Hint.d.ts.map +1 -0
- package/dist/design-system/Input/Input.d.ts.map +1 -1
- package/dist/design-system/Label/Label.d.ts +6 -0
- package/dist/design-system/Label/Label.d.ts.map +1 -0
- package/dist/design-system/Menu/Menu.d.ts +6 -1
- package/dist/design-system/Menu/Menu.d.ts.map +1 -1
- package/dist/design-system/Select/Select.d.ts +21 -15
- package/dist/design-system/Select/Select.d.ts.map +1 -1
- package/dist/design-system/Spinner/Spinner.d.ts +7 -3
- package/dist/design-system/Spinner/Spinner.d.ts.map +1 -1
- package/dist/design-system/Tree/Tree.d.ts.map +1 -1
- package/dist/design-system/Typography/Link.d.ts.map +1 -1
- package/dist/design-system/utils/css-utils.d.ts +14 -1
- package/dist/design-system/utils/css-utils.d.ts.map +1 -1
- package/dist/flags.d.ts +3 -1
- package/dist/flags.d.ts.map +1 -1
- package/dist/index-dark.css +89 -89
- package/dist/index.css +89 -89
- package/dist/index.js +405 -248
- package/dist/index.js.map +1 -1
- package/dist/theme/spacing.d.ts +8 -0
- package/dist/theme/spacing.d.ts.map +1 -1
- package/dist/theme-dark.json +1 -0
- package/dist/theme-default.json +1 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +8 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@databricks/design-system",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "DuBois Design System",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "ISC",
|
|
@@ -24,15 +24,14 @@
|
|
|
24
24
|
"generate": "npm-run-all generate:icons generate:icons-story prettier",
|
|
25
25
|
"generate:icons": "svgr -d src/design-system/Icon/__generated/icons --typescript --template src/design-system/Icon/generator/iconTemplate.js --icon --replace-attr-values \\\"#EB4A32=currentColor\\\" src/assets/icons",
|
|
26
26
|
"generate:icons-story": "node ./src/design-system/Icon/generator/generateIconStory.js",
|
|
27
|
-
"build": "
|
|
27
|
+
"build": "npm-run-all --parallel build:styles build:js",
|
|
28
28
|
"build:deps": "yarn workspaces foreach -piR --topological-dev --from @databricks/design-system --exclude @databricks/design-system run build",
|
|
29
29
|
"build:js:base": "databricks-pkgr build --no-clean",
|
|
30
30
|
"build:js": "yarn build:js:base",
|
|
31
|
-
"clean:styles": "rm -rf dist/index.css dist/index-dark.css styles.js",
|
|
32
31
|
"build:styles": "npm-run-all --parallel build:styles-default-theme build:styles-dark-theme",
|
|
33
32
|
"build:styles-default-theme": "rollup --configPlugin typescript -c ./src/rollup.styles.config.ts",
|
|
34
33
|
"build:styles-dark-theme": "BUILD_DARK_MODE=true rollup --configPlugin typescript -c ./src/rollup.styles.config.ts",
|
|
35
|
-
"watch": "yarn build:js:base -w
|
|
34
|
+
"watch": "yarn build:js:base -w",
|
|
36
35
|
"storybook-build": "yarn build:storybook",
|
|
37
36
|
"build:storybook": "yarn build && TS_NODE_PROJECT=.storybook/tsconfig.json yarn databricks-build-storybook -c storybook",
|
|
38
37
|
"storybook": "yarn build:styles && yarn start:storybook",
|
|
@@ -63,13 +62,14 @@
|
|
|
63
62
|
"@databricks/pkgr": "1.0.0",
|
|
64
63
|
"@emotion/babel-plugin": "^11.3.0",
|
|
65
64
|
"@emotion/babel-preset-css-prop": "^11.2.0",
|
|
65
|
+
"@emotion/cache": "^11.4.0",
|
|
66
66
|
"@emotion/react": "^11.4.0",
|
|
67
67
|
"@faker-js/faker": "^6.0.0-alpha.6",
|
|
68
68
|
"@jest/types": "^28.1.0",
|
|
69
69
|
"@percy/cli": "1.0.0-beta.70",
|
|
70
70
|
"@percy/storybook": "4.1.0",
|
|
71
|
-
"@radix-ui/react-popover": "^0.
|
|
72
|
-
"@radix-ui/react-switch": "^0.
|
|
71
|
+
"@radix-ui/react-popover": "^1.0.0",
|
|
72
|
+
"@radix-ui/react-switch": "^1.0.0",
|
|
73
73
|
"@storybook/addon-actions": "^6.5.5",
|
|
74
74
|
"@storybook/addon-docs": "^6.5.5",
|
|
75
75
|
"@storybook/addon-essentials": "^6.5.5",
|
|
@@ -114,6 +114,7 @@
|
|
|
114
114
|
"react": "^17.0.1",
|
|
115
115
|
"react-docgen-typescript": "^1.20.5",
|
|
116
116
|
"react-dom": "^17.0.1",
|
|
117
|
+
"react-shadow-root": "^6.2.0",
|
|
117
118
|
"rollup": "^2.61.1",
|
|
118
119
|
"rollup-plugin-postcss": "^4.0.0",
|
|
119
120
|
"storybook-dark-mode": "^1.0.8",
|
|
@@ -134,7 +135,7 @@
|
|
|
134
135
|
"@ant-design/icons": "^4.7.0",
|
|
135
136
|
"@babel/runtime": "^7.18.3",
|
|
136
137
|
"@emotion/unitless": "^0.7.5",
|
|
137
|
-
"@radix-ui/react-dropdown-menu": "^0.
|
|
138
|
+
"@radix-ui/react-dropdown-menu": "^1.0.0",
|
|
138
139
|
"@rollup/plugin-node-resolve": "^13.1.1",
|
|
139
140
|
"@types/chroma-js": "^2.1.3",
|
|
140
141
|
"antd": "4.16.8",
|