@amboss/design-system 0.27.2 → 1.0.0-canary-4
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/README.md +137 -174
- package/build/build-tokens/visualConfig.d.ts +714 -0
- package/build/index.js +10 -7
- package/build/index.js.map +1 -1
- package/build/src/components/Box/Box.d.ts +4 -4
- package/build/src/components/Card/Card.d.ts +2 -2
- package/build/src/components/Column/Columns.d.ts +22 -7
- package/build/src/components/Container/Container.d.ts +2 -1
- package/build/src/components/DropdownMenu/DropdownMenu.d.ts +3 -0
- package/build/src/components/Form/Input/Input.d.ts +1 -3
- package/build/src/components/Link/Link.d.ts +7 -6
- package/build/src/components/PictogramButton/PictogramButton.d.ts +1 -1
- package/build/src/components/Typography/Header/Header.d.ts +28 -8
- package/build/src/components/Typography/Text/Text.d.ts +4 -4
- package/build/src/index.d.ts +3 -2
- package/build/src/shared/mediaQueries.d.ts +10 -0
- package/build/src/shared/useAutoPosition.d.ts +1 -2
- package/build/src/types/index.d.ts +1 -1
- package/package.json +19 -20
- package/CHANGELOG.md +0 -1727
- package/build/src/components/Column/Column.d.ts +0 -17
- package/build/src/components/Typography/Header/CustomHeader.d.ts +0 -8
|
@@ -23,8 +23,8 @@ declare type BoxProps = {
|
|
|
23
23
|
alignText?: TextAlignment | MQ<TextAlignment>;
|
|
24
24
|
"data-e2e-test-id"?: string;
|
|
25
25
|
};
|
|
26
|
-
export declare
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
}
|
|
26
|
+
export declare const Box: import("@emotion/styled").StyledComponent<{
|
|
27
|
+
theme?: import("@emotion/react").Theme;
|
|
28
|
+
as?: React.ElementType<any>;
|
|
29
|
+
} & BoxProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
30
30
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { DropdownMenuProps } from "../DropdownMenu/DropdownMenu";
|
|
3
|
-
export declare
|
|
3
|
+
export declare type CardProps = {
|
|
4
4
|
/** specify title displayed in Header */
|
|
5
5
|
title?: string;
|
|
6
6
|
/** @deprecated Subtitle is now deprecated */
|
|
@@ -12,5 +12,5 @@ export declare class CardProps {
|
|
|
12
12
|
squareCorners?: boolean;
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
"data-e2e-test-id"?: string;
|
|
15
|
-
}
|
|
15
|
+
};
|
|
16
16
|
export declare function Card({ title, subtitle, button, dropdown, children, overflow, squareCorners, "data-e2e-test-id": dataE2eTestId, }: CardProps): React.ReactElement;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { MQ, HorizontalAlignment, SpaceSizes, VerticalAlignment } from "../../types";
|
|
3
|
-
export declare
|
|
2
|
+
import { MQ, HorizontalAlignment, SpaceSizes, VerticalAlignment, ColumnSizes, Order } from "../../types";
|
|
3
|
+
export declare type ColumnsProps = {
|
|
4
4
|
children: React.ReactNode[] | React.ReactNode;
|
|
5
5
|
/** represents the size of both horizontal and vertical gap between children, can be a single string or an array of 3 strings
|
|
6
6
|
* specify [small screen gap size, medium screen gap size, large screen gap size] to apply different gap sizes for different screen sizes
|
|
@@ -18,8 +18,23 @@ export declare class ColumnsProps {
|
|
|
18
18
|
*/
|
|
19
19
|
vAlignItems?: VerticalAlignment | MQ<VerticalAlignment>;
|
|
20
20
|
"data-e2e-test-id"?: string;
|
|
21
|
-
}
|
|
22
|
-
export declare
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
};
|
|
22
|
+
export declare type ColumnProps = {
|
|
23
|
+
children: React.ReactNode[] | React.ReactNode;
|
|
24
|
+
/** represents the size of the column, can be a single number or an array of 3 numbers with a value ranging from 1 to 12
|
|
25
|
+
* specify [small screen column size, medium screen column size, large screen column size] to apply different values for different screen sizes
|
|
26
|
+
*/
|
|
27
|
+
size?: ColumnSizes | MQ<ColumnSizes>;
|
|
28
|
+
/** specify the visual positioning of the column. [small screen column order, medium screen column order, large screen column order] to apply different order for different screen sizes
|
|
29
|
+
*/
|
|
30
|
+
order?: Order | MQ<Order>;
|
|
31
|
+
"data-e2e-test-id"?: string;
|
|
32
|
+
};
|
|
33
|
+
export declare const Column: import("@emotion/styled").StyledComponent<{
|
|
34
|
+
theme?: import("@emotion/react").Theme;
|
|
35
|
+
as?: React.ElementType<any>;
|
|
36
|
+
} & Partial<ColumnProps>, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
37
|
+
export declare const Columns: import("@emotion/styled").StyledComponent<{
|
|
38
|
+
theme?: import("@emotion/react").Theme;
|
|
39
|
+
as?: React.ElementType<any>;
|
|
40
|
+
} & Partial<ColumnsProps>, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
2
|
+
declare type ContainerProps = {
|
|
3
3
|
/** 0 - base, 1 - Card, 2 - Tooltips, 3 - Dropdowns, 4 - Modals */
|
|
4
4
|
elevation: 0 | 1 | 2 | 3 | 4;
|
|
5
5
|
children?: React.ReactNode;
|
|
6
6
|
"data-e2e-test-id"?: string;
|
|
7
7
|
};
|
|
8
8
|
export declare function Container({ children, elevation, "data-e2e-test-id": dataE2eTestId, }: ContainerProps): React.ReactElement;
|
|
9
|
+
export {};
|
|
@@ -21,6 +21,9 @@ export declare type DropdownMenuProps = {
|
|
|
21
21
|
onMenuClose?: (e: React.MouseEvent) => void;
|
|
22
22
|
"data-e2e-test-id"?: string;
|
|
23
23
|
};
|
|
24
|
+
export declare type MenuPositionProps = {
|
|
25
|
+
verticalPosition: "up" | "down";
|
|
26
|
+
};
|
|
24
27
|
export declare function DropdownMenu({ menuItems, iconName, size, disabled, onMenuOpen, onMenuClose, "data-e2e-test-id": dataE2eTestId, }: DropdownMenuProps): React.ReactElement;
|
|
25
28
|
export declare namespace DropdownMenu {
|
|
26
29
|
var defaultProps: Partial<DropdownMenuProps>;
|
|
@@ -19,7 +19,6 @@ export declare type InputProps = {
|
|
|
19
19
|
onClick?: (e: React.FormEvent<HTMLInputElement>) => void;
|
|
20
20
|
onBlur?: (e: React.FormEvent<HTMLInputElement>) => void;
|
|
21
21
|
onFocus?: (e: React.FormEvent<HTMLInputElement>) => void;
|
|
22
|
-
isTransparent?: boolean;
|
|
23
22
|
areaLabel?: string;
|
|
24
23
|
tabIndex?: number;
|
|
25
24
|
autoComplete?: string;
|
|
@@ -45,7 +44,6 @@ export declare const InputRaw: React.ForwardRefExoticComponent<{
|
|
|
45
44
|
onClick?: (e: React.FormEvent<HTMLInputElement>) => void;
|
|
46
45
|
onBlur?: (e: React.FormEvent<HTMLInputElement>) => void;
|
|
47
46
|
onFocus?: (e: React.FormEvent<HTMLInputElement>) => void;
|
|
48
|
-
isTransparent?: boolean;
|
|
49
47
|
areaLabel?: string;
|
|
50
48
|
tabIndex?: number;
|
|
51
49
|
autoComplete?: string;
|
|
@@ -53,4 +51,4 @@ export declare const InputRaw: React.ForwardRefExoticComponent<{
|
|
|
53
51
|
isTransparent?: boolean;
|
|
54
52
|
};
|
|
55
53
|
} & FormFieldProps & React.RefAttributes<HTMLInputElement>>;
|
|
56
|
-
export declare function Input({ name, value, placeholder, hasError, onChange, onClick, onBlur, onFocus, type, icon, tabIndex, areaLabel, autoComplete, ...rest }: InputProps): React.ReactElement;
|
|
54
|
+
export declare function Input({ name, value, placeholder, hasError, onChange, onClick, onBlur, onFocus, type, icon, tabIndex, areaLabel, autoComplete, privateProps, ...rest }: InputProps): React.ReactElement;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { LinkVariations, TextSize } from "../../types";
|
|
3
|
+
declare type FontWeight = "normal" | "bold" | "inherit";
|
|
3
4
|
declare type AnchorProps = {
|
|
4
5
|
as?: "a";
|
|
5
6
|
href: string;
|
|
@@ -14,17 +15,17 @@ declare type LinkProps = Record<string, unknown> & {
|
|
|
14
15
|
children: string;
|
|
15
16
|
as?: "a" | React.ComponentType;
|
|
16
17
|
size?: TextSize;
|
|
17
|
-
weight?:
|
|
18
|
+
weight?: FontWeight;
|
|
18
19
|
variant?: LinkVariations;
|
|
19
20
|
"data-e2e-test-id"?: string;
|
|
20
21
|
} & AnchorProps;
|
|
21
|
-
export declare function Link({ children,
|
|
22
|
+
export declare function Link({ children, size, weight, variant, target, rel, href, "data-e2e-test-id": dataE2eTestId, ...rest }: LinkProps): React.ReactElement;
|
|
22
23
|
export declare namespace Link {
|
|
23
24
|
var defaultProps: Partial<Record<string, unknown> & {
|
|
24
25
|
children: string;
|
|
25
26
|
as?: "a" | React.ComponentClass<{}, any> | React.FunctionComponent<{}>;
|
|
26
|
-
size?: "
|
|
27
|
-
weight?: "
|
|
27
|
+
size?: "xs" | "s" | "m";
|
|
28
|
+
weight?: "inherit" | "normal" | "bold";
|
|
28
29
|
variant?: "primary" | "secondary" | "tertiary";
|
|
29
30
|
"data-e2e-test-id"?: string;
|
|
30
31
|
} & {
|
|
@@ -36,8 +37,8 @@ export declare namespace Link {
|
|
|
36
37
|
}> | Partial<Record<string, unknown> & {
|
|
37
38
|
children: string;
|
|
38
39
|
as?: "a" | React.ComponentClass<{}, any> | React.FunctionComponent<{}>;
|
|
39
|
-
size?: "
|
|
40
|
-
weight?: "
|
|
40
|
+
size?: "xs" | "s" | "m";
|
|
41
|
+
weight?: "inherit" | "normal" | "bold";
|
|
41
42
|
variant?: "primary" | "secondary" | "tertiary";
|
|
42
43
|
"data-e2e-test-id"?: string;
|
|
43
44
|
} & {
|
|
@@ -7,7 +7,7 @@ export declare type PictogramButtonProps = Pick<ButtonProps, "variant" | "type"
|
|
|
7
7
|
/** If true, the button has square corners. */
|
|
8
8
|
squareCorners?: boolean;
|
|
9
9
|
};
|
|
10
|
-
export declare function PictogramButton({ onClick, onFocus, onBlur, type,
|
|
10
|
+
export declare function PictogramButton({ onClick, onFocus, onBlur, type, disabled, as, icon, "data-e2e-test-id": dataE2eTestId, ...rest }: PictogramButtonProps): React.ReactElement;
|
|
11
11
|
export declare namespace PictogramButton {
|
|
12
12
|
var defaultProps: Partial<PictogramButtonProps>;
|
|
13
13
|
}
|
|
@@ -1,13 +1,33 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
|
|
2
|
+
import { Theme } from "@emotion/react";
|
|
3
|
+
declare type HeaderProps = {
|
|
4
|
+
as?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6";
|
|
3
5
|
children: React.ReactNode;
|
|
4
6
|
"data-e2e-test-id"?: string;
|
|
5
7
|
id?: string;
|
|
6
|
-
}
|
|
7
|
-
export declare const H1:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
export declare const
|
|
12
|
-
|
|
8
|
+
};
|
|
9
|
+
export declare const H1: import("@emotion/styled").StyledComponent<{
|
|
10
|
+
theme?: Theme;
|
|
11
|
+
as?: React.ElementType<any>;
|
|
12
|
+
} & HeaderProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
13
|
+
export declare const H2: import("@emotion/styled").StyledComponent<{
|
|
14
|
+
theme?: Theme;
|
|
15
|
+
as?: React.ElementType<any>;
|
|
16
|
+
} & HeaderProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
17
|
+
export declare const H3: import("@emotion/styled").StyledComponent<{
|
|
18
|
+
theme?: Theme;
|
|
19
|
+
as?: React.ElementType<any>;
|
|
20
|
+
} & HeaderProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
21
|
+
export declare const H4: import("@emotion/styled").StyledComponent<{
|
|
22
|
+
theme?: Theme;
|
|
23
|
+
as?: React.ElementType<any>;
|
|
24
|
+
} & HeaderProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
25
|
+
export declare const H5: import("@emotion/styled").StyledComponent<{
|
|
26
|
+
theme?: Theme;
|
|
27
|
+
as?: React.ElementType<any>;
|
|
28
|
+
} & HeaderProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
29
|
+
export declare const H6: import("@emotion/styled").StyledComponent<{
|
|
30
|
+
theme?: Theme;
|
|
31
|
+
as?: React.ElementType<any>;
|
|
32
|
+
} & HeaderProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLHeadingElement>, HTMLHeadingElement>, {}>;
|
|
13
33
|
export {};
|
|
@@ -11,7 +11,7 @@ export declare type TextProps = {
|
|
|
11
11
|
hyphens?: Hyphens | MQ<Hyphens>;
|
|
12
12
|
"data-e2e-test-id"?: string;
|
|
13
13
|
};
|
|
14
|
-
export declare
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
}
|
|
14
|
+
export declare const Text: import("@emotion/styled").StyledComponent<{
|
|
15
|
+
theme?: import("@emotion/react").Theme;
|
|
16
|
+
as?: React.ElementType<any>;
|
|
17
|
+
} & TextProps, React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
package/build/src/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
export declare const dark: import("../build-tokens/visualConfig").VisualConfig, light: import("../build-tokens/visualConfig").VisualConfig;
|
|
2
|
+
export { ThemeProvider } from "@emotion/react";
|
|
1
3
|
export { Card } from "./components/Card/Card";
|
|
2
4
|
export { CardBox } from "./components/Card/CardBox";
|
|
3
5
|
export { Box } from "./components/Box/Box";
|
|
@@ -11,8 +13,7 @@ export { Link } from "./components/Link/Link";
|
|
|
11
13
|
export { Icon } from "./components/Icon/Icon";
|
|
12
14
|
export { Button } from "./components/Button/Button";
|
|
13
15
|
export { Divider } from "./components/Divider/Divider";
|
|
14
|
-
export { Columns } from "./components/Column/Columns";
|
|
15
|
-
export { Column } from "./components/Column/Column";
|
|
16
|
+
export { Column, Columns } from "./components/Column/Columns";
|
|
16
17
|
export { Tabs } from "./components/Tabs/Tabs";
|
|
17
18
|
export { Badge } from "./components/Badge/Badge";
|
|
18
19
|
export { SearchResult } from "./components/SearchResult/SearchResult";
|
|
@@ -1,2 +1,12 @@
|
|
|
1
1
|
import { MQ } from "../types";
|
|
2
|
+
declare type MqProp<T> = [
|
|
3
|
+
T | MQ<T>,
|
|
4
|
+
Record<T extends string ? T : never, string | number>
|
|
5
|
+
];
|
|
6
|
+
declare type EmotionCssPropertyName = string;
|
|
7
|
+
declare type EmotionCssValue = string | number;
|
|
8
|
+
declare type EmotionCssDescription = Record<EmotionCssPropertyName, EmotionCssValue>;
|
|
9
|
+
declare type MqFunc = (rules: Record<string, MqProp<any>>) => Record<string, EmotionCssValue | EmotionCssDescription>;
|
|
10
|
+
export declare const mq: MqFunc;
|
|
2
11
|
export declare function getMediaQueryClasses<T>(s: T | MQ<T> | undefined, styles: Record<string, string>, prefix?: string): string[];
|
|
12
|
+
export {};
|
|
@@ -13,7 +13,7 @@ export declare const ColumsSizesRuntype: Union<[Literal<1>, Literal<2>, Literal<
|
|
|
13
13
|
export declare type ColumnSizes = Static<typeof ColumsSizesRuntype>;
|
|
14
14
|
export declare const OrderRuntype: Union<[Literal<"first">, Literal<"last">, Literal<"unset">]>;
|
|
15
15
|
export declare type Order = Static<typeof OrderRuntype>;
|
|
16
|
-
declare const BaseVariationsRuntype: Union<[Literal<"primary">, Literal<"secondary">, Literal<"tertiary">]>;
|
|
16
|
+
export declare const BaseVariationsRuntype: Union<[Literal<"primary">, Literal<"secondary">, Literal<"tertiary">]>;
|
|
17
17
|
export declare type BaseVariations = Static<typeof BaseVariationsRuntype>;
|
|
18
18
|
declare const TextVariationsRuntype: Union<[Union<[Literal<"primary">, Literal<"secondary">, Literal<"tertiary">]>, Literal<"info">, Literal<"error">, Literal<"warning">]>;
|
|
19
19
|
export declare type TextVariations = Static<typeof TextVariationsRuntype>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amboss/design-system",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.0-canary-4",
|
|
4
4
|
"description": "the design system for AMBOSS products",
|
|
5
5
|
"author": "Bagrat Gobedashvili",
|
|
6
6
|
"license": "ISC",
|
|
@@ -37,22 +37,21 @@
|
|
|
37
37
|
"npm": ">7.0.0"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|
|
40
|
-
"prebuild": "rm -rf build && npm run tokens
|
|
41
|
-
"build": "webpack
|
|
42
|
-
"postbuild": "mkdir -p ./build/build-tokens/assets && cp -R ./build-tokens/assets ./build/build-tokens/",
|
|
43
|
-
"prestart": "npm run
|
|
44
|
-
"start": "npm run storybook",
|
|
40
|
+
"prebuild": "rm -rf build && npm run tokens",
|
|
41
|
+
"build": "webpack",
|
|
42
|
+
"postbuild": "tsc --emitDeclarationOnly && mkdir -p ./build/build-tokens/assets && cp -R ./build-tokens/assets ./build/build-tokens/",
|
|
43
|
+
"prestart": "npm run tokens",
|
|
44
|
+
"start": "npm run tokens:watch & npm run storybook",
|
|
45
45
|
"static": "http-server storybook-static/ -p 6006",
|
|
46
46
|
"storybook": "start-storybook -s ./static -p 6006",
|
|
47
47
|
"build-storybook": "npm run prebuild && build-storybook -s ./static",
|
|
48
|
-
"type-styles": "tsm src --banner '// Autogenerated.\n const styles: { [className: string]: string }; export default styles;\n'",
|
|
49
|
-
"type-styles:watch": "tsm src --banner '// Autogenerated.\n const styles: { [className: string]: string }; export default styles;\n' --watch",
|
|
50
48
|
"test": "jest",
|
|
51
49
|
"test:watch": "jest --watch",
|
|
52
50
|
"test:coverage": "TZ=Europe/Berlin jest --coverage",
|
|
53
51
|
"test:ci": "npm run test:coverage -- --ci --maxWorkers=2 --reporters=jest-junit",
|
|
54
|
-
"tokens": "node style-dictionary.build.js",
|
|
55
|
-
"tokens:watch": "
|
|
52
|
+
"tokens": "node style-dictionary/style-dictionary.build.js",
|
|
53
|
+
"tokens:watch": "chokidar \"tokens/**/*.json\" -c \"npm run tokens\"",
|
|
54
|
+
"tokens:prettier": "prettier --write \"build-tokens/*.(t|j)s*\"",
|
|
56
55
|
"chromatic": "npx chromatic --project-token ${CHROMATIC_TOKEN} --exit-zero-on-changes",
|
|
57
56
|
"chromatic:ci": "npx chromatic --project-token ${CHROMATIC_TOKEN} --skip 'dependabot/**' --exit-zero-on-changes",
|
|
58
57
|
"chromatic:master": "npx chromatic --project-token ${CHROMATIC_TOKEN} --auto-accept-changes",
|
|
@@ -70,11 +69,13 @@
|
|
|
70
69
|
"design-system",
|
|
71
70
|
"ui-library",
|
|
72
71
|
"components",
|
|
73
|
-
"
|
|
72
|
+
"emotion.js",
|
|
74
73
|
"typescript"
|
|
75
74
|
],
|
|
76
75
|
"dependencies": {
|
|
77
|
-
"
|
|
76
|
+
"@emotion/is-prop-valid": "^1.1.1",
|
|
77
|
+
"@emotion/react": "^11.4.1",
|
|
78
|
+
"@emotion/styled": "^11.3.0",
|
|
78
79
|
"react": "^17.0.1",
|
|
79
80
|
"react-dom": "^17.0.1",
|
|
80
81
|
"react-keyed-flatten-children": "^1.3.0",
|
|
@@ -85,11 +86,15 @@
|
|
|
85
86
|
"@auto-it/pr-body-labels": "^10.13.2",
|
|
86
87
|
"@auto-it/released": "^10.13.2",
|
|
87
88
|
"@babel/core": "^7.12.3",
|
|
89
|
+
"@babel/preset-env": "^7.16.4",
|
|
90
|
+
"@babel/preset-react": "^7.14.5",
|
|
91
|
+
"@babel/preset-typescript": "^7.15.0",
|
|
92
|
+
"@emotion/babel-plugin": "^11.3.0",
|
|
88
93
|
"@geometricpanda/storybook-addon-badges": "0.2.1",
|
|
89
|
-
"@storybook/addons": "^6.2.9",
|
|
90
94
|
"@storybook/addon-a11y": "^6.2.9",
|
|
91
95
|
"@storybook/addon-essentials": "^6.2.9",
|
|
92
96
|
"@storybook/addon-links": "^6.2.9",
|
|
97
|
+
"@storybook/addons": "^6.2.9",
|
|
93
98
|
"@storybook/react": "^6.2.9",
|
|
94
99
|
"@storybook/theming": "^6.2.9",
|
|
95
100
|
"@testing-library/jest-dom": "^5.11.5",
|
|
@@ -106,7 +111,6 @@
|
|
|
106
111
|
"babel-loader": "^8.1.0",
|
|
107
112
|
"chokidar-cli": "^2.1.0",
|
|
108
113
|
"chromatic": "^5.7.1",
|
|
109
|
-
"css-loader": "^5.0.1",
|
|
110
114
|
"eslint": "^7.11.0",
|
|
111
115
|
"eslint-config-airbnb": "^18.2.0",
|
|
112
116
|
"eslint-config-prettier": "^7.1.0",
|
|
@@ -126,15 +130,10 @@
|
|
|
126
130
|
"jest-junit": "^12.0.0",
|
|
127
131
|
"prettier": "^2.2.1",
|
|
128
132
|
"react-is": "^17.0.1",
|
|
129
|
-
"sass": "^1.26.5",
|
|
130
|
-
"sass-loader": "^8.0.2",
|
|
131
133
|
"slackify-markdown": "^4.1.0",
|
|
132
|
-
"storybook-addon-multi-theme": "^0.0.
|
|
134
|
+
"storybook-addon-multi-theme": "^0.0.8",
|
|
133
135
|
"style-dictionary": "^3.0.1",
|
|
134
|
-
"style-loader": "^2.0.0",
|
|
135
136
|
"ts-jest": "^26.4.3",
|
|
136
|
-
"ts-loader": "^8.0.18",
|
|
137
|
-
"typed-scss-modules": "^4.1.0",
|
|
138
137
|
"typescript": "^4.1.2",
|
|
139
138
|
"webpack": "^4.43.0",
|
|
140
139
|
"webpack-cli": "^4.5.0"
|