@amboss/design-system 1.10.1 → 1.10.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/build/cjs/build-tokens/assets/icons.json.js +2 -1
- package/build/cjs/build-tokens/assets/icons16.json.js +2 -1
- package/build/cjs/src/components/Box/Box.js +1 -1
- package/build/cjs/src/components/Button/Button.js +6 -5
- package/build/cjs/src/components/Collapsible/Collapsible.js +3 -4
- package/build/cjs/src/components/Container/Container.js +1 -1
- package/build/cjs/src/components/Divider/Divider.js +3 -3
- package/build/cjs/src/components/DropdownMenu/MenuItem.js +5 -3
- package/build/cjs/src/components/Form/PasswordInput/PasswordInput.js +3 -3
- package/build/cjs/src/components/Inline/Inline.js +2 -2
- package/build/cjs/src/components/Link/Link.js +2 -2
- package/build/cjs/src/components/PictogramButton/PictogramButton.js +3 -3
- package/build/cjs/src/components/RoundButton/RoundButton.js +3 -3
- package/build/cjs/src/components/Typography/Header/Header.js +6 -6
- package/build/cjs/src/components/Typography/Text/Text.js +2 -4
- package/build/cjs/src/index.js +5 -4
- package/build/esm/build-tokens/assets/icons.json.js +2 -2
- package/build/esm/build-tokens/assets/icons16.json.js +2 -2
- package/build/esm/src/components/Box/Box.d.ts +1 -2
- package/build/esm/src/components/Box/Box.js +1 -1
- package/build/esm/src/components/Box/Box.js.map +1 -1
- package/build/esm/src/components/Button/Button.js +6 -5
- package/build/esm/src/components/Button/Button.js.map +1 -1
- package/build/esm/src/components/Card/CardBox.d.ts +1 -2
- package/build/esm/src/components/Card/CardBox.js.map +1 -1
- package/build/esm/src/components/Collapsible/Collapsible.d.ts +0 -4
- package/build/esm/src/components/Collapsible/Collapsible.js +4 -4
- package/build/esm/src/components/Collapsible/Collapsible.js.map +1 -1
- package/build/esm/src/components/Container/Container.d.ts +1 -2
- package/build/esm/src/components/Container/Container.js +1 -1
- package/build/esm/src/components/Container/Container.js.map +1 -1
- package/build/esm/src/components/Divider/Divider.d.ts +1 -2
- package/build/esm/src/components/Divider/Divider.js +3 -3
- package/build/esm/src/components/Divider/Divider.js.map +1 -1
- package/build/esm/src/components/DropdownMenu/MenuItem.js +5 -3
- package/build/esm/src/components/DropdownMenu/MenuItem.js.map +1 -1
- package/build/esm/src/components/Form/Input/index.d.ts +2 -0
- package/build/esm/src/components/Form/PasswordInput/PasswordInput.d.ts +2 -7
- package/build/esm/src/components/Form/PasswordInput/PasswordInput.js +3 -3
- package/build/esm/src/components/Form/PasswordInput/PasswordInput.js.map +1 -1
- package/build/esm/src/components/Form/PasswordInput/index.d.ts +2 -0
- package/build/esm/src/components/Inline/Inline.d.ts +1 -2
- package/build/esm/src/components/Inline/Inline.js +2 -2
- package/build/esm/src/components/Inline/Inline.js.map +1 -1
- package/build/esm/src/components/Link/Link.d.ts +1 -2
- package/build/esm/src/components/Link/Link.js +2 -2
- package/build/esm/src/components/Link/Link.js.map +1 -1
- package/build/esm/src/components/PictogramButton/PictogramButton.js +3 -3
- package/build/esm/src/components/PictogramButton/PictogramButton.js.map +1 -1
- package/build/esm/src/components/RoundButton/RoundButton.js +3 -3
- package/build/esm/src/components/RoundButton/RoundButton.js.map +1 -1
- package/build/esm/src/components/Typography/Header/Header.d.ts +1 -2
- package/build/esm/src/components/Typography/Header/Header.js +6 -6
- package/build/esm/src/components/Typography/Header/Header.js.map +1 -1
- package/build/esm/src/components/Typography/Text/Text.js +2 -4
- package/build/esm/src/components/Typography/Text/Text.js.map +1 -1
- package/build/esm/src/index.d.ts +46 -44
- package/build/esm/src/index.js +3 -3
- package/build/esm/src/index.js.map +1 -1
- package/package.json +5 -5
package/build/esm/src/index.d.ts
CHANGED
|
@@ -1,47 +1,49 @@
|
|
|
1
|
-
|
|
1
|
+
import { VisualConfig } from "../build-tokens/visualConfig";
|
|
2
|
+
export type { VisualConfig };
|
|
3
|
+
export declare const dark: VisualConfig, light: VisualConfig;
|
|
2
4
|
export { ThemeProvider, CacheProvider } from "@emotion/react";
|
|
3
5
|
export { default as createCache } from "@emotion/cache";
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
30
|
-
export
|
|
31
|
-
export
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
export
|
|
37
|
-
export
|
|
38
|
-
export
|
|
39
|
-
export
|
|
40
|
-
export
|
|
41
|
-
export
|
|
42
|
-
export
|
|
43
|
-
export
|
|
44
|
-
export
|
|
45
|
-
export
|
|
46
|
-
export
|
|
6
|
+
export * from "./components/Card/Card";
|
|
7
|
+
export * from "./components/Card/CardBox";
|
|
8
|
+
export * from "./components/Box/Box";
|
|
9
|
+
export * from "./components/Inline/Inline";
|
|
10
|
+
export * from "./components/Stack/Stack";
|
|
11
|
+
export * from "./components/Typography/Header/Header";
|
|
12
|
+
export * from "./components/Typography/Text/Text";
|
|
13
|
+
export * from "./components/Typography/TextClamped/TextClamped";
|
|
14
|
+
export * from "./components/Typography/StyledText/StyledText";
|
|
15
|
+
export * from "./components/Link/Link";
|
|
16
|
+
export * from "./components/Icon/Icon";
|
|
17
|
+
export * from "./components/Button/Button";
|
|
18
|
+
export * from "./components/Divider/Divider";
|
|
19
|
+
export * from "./components/Column/Columns";
|
|
20
|
+
export * from "./components/Tabs/Tabs";
|
|
21
|
+
export * from "./components/Badge/Badge";
|
|
22
|
+
export * from "./components/SearchResult/SearchResult";
|
|
23
|
+
export * from "./components/Form/ToggleButton/ToggleButton";
|
|
24
|
+
export * from "./components/DropdownMenu/DropdownMenu";
|
|
25
|
+
export * from "./components/Form/FormFieldGroup/FormFieldGroup";
|
|
26
|
+
export * from "./components/Form/Input";
|
|
27
|
+
export * from "./components/Form/Checkbox/Checkbox";
|
|
28
|
+
export * from "./components/Form/Toggle/Toggle";
|
|
29
|
+
export * from "./components/Form/Radio/Radio";
|
|
30
|
+
export * from "./components/Form/RadioButton/RadioButton";
|
|
31
|
+
export * from "./components/Form/Textarea/Textarea";
|
|
32
|
+
export * from "./components/Form/Select/Select";
|
|
33
|
+
export * from "./components/SubThemeProvider/SubThemeProvider";
|
|
34
|
+
export * from "./components/PictogramButton/PictogramButton";
|
|
35
|
+
export * from "./components/MediaViewerBar/MediaViewerBar";
|
|
36
|
+
export * from "./components/SegmentedProgressBar/SegmentedProgressBar";
|
|
37
|
+
export * from "./components/ProgressBar/ProgressBar";
|
|
38
|
+
export * from "./components/Container/Container";
|
|
39
|
+
export * from "./components/Form/PasswordInput";
|
|
40
|
+
export * from "./components/RoundButton/RoundButton";
|
|
41
|
+
export * from "./components/Notification/Notification";
|
|
42
|
+
export * from "./components/Logo/Logo";
|
|
43
|
+
export * from "./components/MediaItem/MediaItem";
|
|
44
|
+
export * from "./components/Callout/Callout";
|
|
45
|
+
export * from "./components/Patterns/Modal/Modal";
|
|
46
|
+
export * from "./components/Patterns/ButtonGroup/ButtonGroup";
|
|
47
|
+
export * from "./components/Collapsible/Collapsible";
|
|
48
|
+
export * from "./components/LoadingSpinner/LoadingSpinner";
|
|
47
49
|
export * from "./components/Pagination/Pagination";
|
package/build/esm/src/index.js
CHANGED
|
@@ -9,7 +9,7 @@ export { Stack } from './components/Stack/Stack.js';
|
|
|
9
9
|
export { H1, H2, H3, H4, H5, H6 } from './components/Typography/Header/Header.js';
|
|
10
10
|
export { Text } from './components/Typography/Text/Text.js';
|
|
11
11
|
export { TextClamped } from './components/Typography/TextClamped/TextClamped.js';
|
|
12
|
-
export { StyledText } from './components/Typography/StyledText/StyledText.js';
|
|
12
|
+
export { StyledText, makeStyledJSX } from './components/Typography/StyledText/StyledText.js';
|
|
13
13
|
export { Link } from './components/Link/Link.js';
|
|
14
14
|
export { Icon } from './components/Icon/Icon.js';
|
|
15
15
|
export { Button } from './components/Button/Button.js';
|
|
@@ -21,7 +21,6 @@ export { SearchResult } from './components/SearchResult/SearchResult.js';
|
|
|
21
21
|
export { ToggleButton } from './components/Form/ToggleButton/ToggleButton.js';
|
|
22
22
|
export { DropdownMenu } from './components/DropdownMenu/DropdownMenu.js';
|
|
23
23
|
export { FormFieldGroup } from './components/Form/FormFieldGroup/FormFieldGroup.js';
|
|
24
|
-
export { Input } from './components/Form/Input/Input.js';
|
|
25
24
|
export { Checkbox } from './components/Form/Checkbox/Checkbox.js';
|
|
26
25
|
export { Toggle } from './components/Form/Toggle/Toggle.js';
|
|
27
26
|
export { Radio } from './components/Form/Radio/Radio.js';
|
|
@@ -34,7 +33,6 @@ export { MediaViewerBar } from './components/MediaViewerBar/MediaViewerBar.js';
|
|
|
34
33
|
export { SegmentedProgressBar } from './components/SegmentedProgressBar/SegmentedProgressBar.js';
|
|
35
34
|
export { ProgressBar } from './components/ProgressBar/ProgressBar.js';
|
|
36
35
|
export { Container } from './components/Container/Container.js';
|
|
37
|
-
export { PasswordInput } from './components/Form/PasswordInput/PasswordInput.js';
|
|
38
36
|
export { RoundButton } from './components/RoundButton/RoundButton.js';
|
|
39
37
|
export { Notification } from './components/Notification/Notification.js';
|
|
40
38
|
export { Logo } from './components/Logo/Logo.js';
|
|
@@ -45,6 +43,8 @@ export { ButtonGroup } from './components/Patterns/ButtonGroup/ButtonGroup.js';
|
|
|
45
43
|
export { Collapsible, CollapsibleHeader } from './components/Collapsible/Collapsible.js';
|
|
46
44
|
export { LoadingSpinner } from './components/LoadingSpinner/LoadingSpinner.js';
|
|
47
45
|
export { Pagination } from './components/Pagination/Pagination.js';
|
|
46
|
+
export { Input } from './components/Form/Input/Input.js';
|
|
47
|
+
export { PasswordInput } from './components/Form/PasswordInput/PasswordInput.js';
|
|
48
48
|
|
|
49
49
|
const {
|
|
50
50
|
dark,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../src/index.ts"],"sourcesContent":["import {
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../src/index.ts"],"sourcesContent":["import {\n ambossVisualConfiguration,\n VisualConfig,\n} from \"../build-tokens/visualConfig\";\n\nexport type { VisualConfig };\nexport const { dark, light } = ambossVisualConfiguration;\nexport { ThemeProvider, CacheProvider } from \"@emotion/react\";\nexport { default as createCache } from \"@emotion/cache\";\nexport * from \"./components/Card/Card\";\nexport * from \"./components/Card/CardBox\";\nexport * from \"./components/Box/Box\";\nexport * from \"./components/Inline/Inline\";\nexport * from \"./components/Stack/Stack\";\nexport * from \"./components/Typography/Header/Header\";\nexport * from \"./components/Typography/Text/Text\";\nexport * from \"./components/Typography/TextClamped/TextClamped\";\nexport * from \"./components/Typography/StyledText/StyledText\";\nexport * from \"./components/Link/Link\";\nexport * from \"./components/Icon/Icon\";\nexport * from \"./components/Button/Button\";\nexport * from \"./components/Divider/Divider\";\nexport * from \"./components/Column/Columns\";\nexport * from \"./components/Tabs/Tabs\";\nexport * from \"./components/Badge/Badge\";\nexport * from \"./components/SearchResult/SearchResult\";\nexport * from \"./components/Form/ToggleButton/ToggleButton\";\nexport * from \"./components/DropdownMenu/DropdownMenu\";\nexport * from \"./components/Form/FormFieldGroup/FormFieldGroup\";\nexport * from \"./components/Form/Input\";\nexport * from \"./components/Form/Checkbox/Checkbox\";\nexport * from \"./components/Form/Toggle/Toggle\";\nexport * from \"./components/Form/Radio/Radio\";\nexport * from \"./components/Form/RadioButton/RadioButton\";\nexport * from \"./components/Form/Textarea/Textarea\";\nexport * from \"./components/Form/Select/Select\";\nexport * from \"./components/SubThemeProvider/SubThemeProvider\";\nexport * from \"./components/PictogramButton/PictogramButton\";\nexport * from \"./components/MediaViewerBar/MediaViewerBar\";\nexport * from \"./components/SegmentedProgressBar/SegmentedProgressBar\";\nexport * from \"./components/ProgressBar/ProgressBar\";\nexport * from \"./components/Container/Container\";\nexport * from \"./components/Form/PasswordInput\";\nexport * from \"./components/RoundButton/RoundButton\";\nexport * from \"./components/Notification/Notification\";\nexport * from \"./components/Logo/Logo\";\nexport * from \"./components/MediaItem/MediaItem\";\nexport * from \"./components/Callout/Callout\";\nexport * from \"./components/Patterns/Modal/Modal\";\nexport * from \"./components/Patterns/ButtonGroup/ButtonGroup\";\nexport * from \"./components/Collapsible/Collapsible\";\nexport * from \"./components/LoadingSpinner/LoadingSpinner\";\nexport * from \"./components/Pagination/Pagination\";\n"],"names":["dark","light","ambossVisualConfiguration"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMa,MAAA;EAAEA,IAAI;AAAEC,EAAAA,KAAAA;AAAM,CAAC,GAAGC;;;;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amboss/design-system",
|
|
3
|
-
"version": "1.10.
|
|
3
|
+
"version": "1.10.3",
|
|
4
4
|
"description": "the design system for AMBOSS products",
|
|
5
5
|
"author": "Bagrat Gobedashvili",
|
|
6
6
|
"license": "ISC",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"build/**/*"
|
|
26
26
|
],
|
|
27
27
|
"lint-staged": {
|
|
28
|
-
"{src,tokens,.storybook}/**/*.{js,jsx,ts,tsx}": [
|
|
28
|
+
"{src,tokens,.storybook,test-utils}/**/*.{js,jsx,ts,tsx}": [
|
|
29
29
|
"prettier --write",
|
|
30
30
|
"eslint --fix"
|
|
31
31
|
]
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
"chromatic:ci": "npx chromatic --project-token ${CHROMATIC_TOKEN} --skip 'dependabot/**' --exit-zero-on-changes",
|
|
76
76
|
"chromatic:master": "npx chromatic --project-token ${CHROMATIC_TOKEN} --auto-accept-changes",
|
|
77
77
|
"lint": "npm run lint:eslint && npm run lint:prettier",
|
|
78
|
-
"lint:eslint": "eslint -c .eslintrc --fix src .storybook",
|
|
79
|
-
"lint:prettier": "prettier --write \"{src,tokens,.storybook}/**/*.(t|j)s*\"",
|
|
78
|
+
"lint:eslint": "eslint -c .eslintrc --fix src .storybook test-utils",
|
|
79
|
+
"lint:prettier": "prettier --write \"{src,tokens,.storybook,test-utils}/**/*.(t|j)s*\"",
|
|
80
80
|
"component": "DS_ROOT=/src/components DS_COMP_FOLDER=/components node scripts/createComponent/createComponent.js",
|
|
81
81
|
"link-ds": "./scripts/link-ds.sh"
|
|
82
82
|
},
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"auto": "^10.13.2",
|
|
150
150
|
"babel-loader": "^8.1.0",
|
|
151
151
|
"chokidar-cli": "^2.1.0",
|
|
152
|
-
"chromatic": "^
|
|
152
|
+
"chromatic": "^6.19.9",
|
|
153
153
|
"copyfiles": "^2.4.1",
|
|
154
154
|
"eslint": "^7.11.0",
|
|
155
155
|
"eslint-config-airbnb": "^18.2.0",
|