@speakapbv/dough-component-library 9.18.4 → 9.20.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/components/br/br.d.ts +0 -1
- package/dist/components/bread-crumb/bread-crumb.d.ts +7 -0
- package/dist/components/button/button.d.ts +2 -0
- package/dist/components/color-tile/color-tile.d.ts +15 -0
- package/dist/components/divider/divider.d.ts +0 -1
- package/dist/components/drop-menu/drop-menu.d.ts +3 -1
- package/dist/components/fader/fader.d.ts +0 -1
- package/dist/components/form-elements/date-picker/date-picker.d.ts +0 -1
- package/dist/components/form-elements/date-time/date-time.d.ts +0 -1
- package/dist/components/image-carousel/image-carousel.d.ts +0 -1
- package/dist/components/link/link.d.ts +3 -1
- package/dist/components/overlay/overlay.d.ts +0 -1
- package/dist/components/skeleton/skeleton.d.ts +0 -1
- package/dist/components/spacer/spacer.d.ts +0 -1
- package/dist/components/spinner/spinner.d.ts +0 -1
- package/dist/components/strength-indicator/strength-indicator.d.ts +0 -1
- package/dist/index.d.ts +4 -3
- package/dist/index.es.js +155 -86
- package/dist/index.js +154 -84
- package/dist/node_modules/@speakapbv/dough-component-library-tokens/index.d.ts +7 -0
- package/dist/src/components/alert-textbox/alert-textbox.stories.d.ts +3 -0
- package/dist/src/components/bread-crumb/bread-crumb.stories.d.ts +24 -0
- package/dist/src/components/button/button.stories.d.ts +6 -0
- package/dist/src/components/color-tile/color-tile.stories.d.ts +5 -0
- package/dist/src/components/form-elements/date-time/date-time-header.d.ts +0 -1
- package/dist/src/components/form-elements/date-time/month-selector.d.ts +0 -1
- package/dist/src/components/form-elements/date-time/year-selector.d.ts +0 -1
- package/dist/src/components/spinner/spinner.stories.d.ts +3 -0
- package/dist/src/components/texts/info-icons.d.ts +0 -1
- package/dist/src/components/tree/tree.d.ts +0 -1
- package/dist/src/utils/flattenChildren.d.ts +4 -0
- package/dist/src/utils/icon-renderers.d.ts +0 -1
- package/dist/utils/constants.d.ts +7 -0
- package/package.json +18 -3
|
@@ -20,6 +20,13 @@ declare const _default: {
|
|
|
20
20
|
colorBrandHeaderDark: string;
|
|
21
21
|
colorLike: string;
|
|
22
22
|
};
|
|
23
|
+
fixedColors: {
|
|
24
|
+
colorSelector1: string;
|
|
25
|
+
colorSelector2: string;
|
|
26
|
+
colorSelector3: string;
|
|
27
|
+
colorSelector4: string;
|
|
28
|
+
colorSelector5: string;
|
|
29
|
+
};
|
|
23
30
|
textColors: {
|
|
24
31
|
colorTextWarning: string;
|
|
25
32
|
colorTextSuccess: string;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("./alert-textbox").AlertTextProps>;
|
|
2
|
+
export default _default;
|
|
3
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, import("./alert-textbox").AlertTextProps>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BreadCrumbProps } from "./bread-crumb";
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, BreadCrumbProps>;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const Simple: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BreadCrumbProps & {
|
|
5
|
+
width: string;
|
|
6
|
+
}>;
|
|
7
|
+
export declare const OneChild: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BreadCrumbProps & {
|
|
8
|
+
width: string;
|
|
9
|
+
}>;
|
|
10
|
+
export declare const LimitedWidth: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BreadCrumbProps & {
|
|
11
|
+
width: string;
|
|
12
|
+
}>;
|
|
13
|
+
export declare const MultipleChildren: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BreadCrumbProps & {
|
|
14
|
+
width: string;
|
|
15
|
+
}>;
|
|
16
|
+
export declare const CustomChildren: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BreadCrumbProps & {
|
|
17
|
+
width: string;
|
|
18
|
+
}>;
|
|
19
|
+
export declare const CustomChildrenLimitedWidth: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BreadCrumbProps & {
|
|
20
|
+
width: string;
|
|
21
|
+
}>;
|
|
22
|
+
export declare const WithoutUsingFragments: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, BreadCrumbProps & {
|
|
23
|
+
width: string;
|
|
24
|
+
}>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("./button").ButtonProps>;
|
|
2
|
+
export default _default;
|
|
3
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, import("./button").ButtonProps>;
|
|
4
|
+
export declare const Phantom: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, import("./button").ButtonProps>;
|
|
5
|
+
export declare const ColorButton: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, import("./button").ButtonProps>;
|
|
6
|
+
export declare const ColorButtonWithoutBorder: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, import("./button").ButtonProps>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("./color-tile").ColorTileProps & React.RefAttributes<import("./color-tile").ColorTileRef>>;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, import("./color-tile").ColorTileProps & React.RefAttributes<import("./color-tile").ColorTileRef>>;
|
|
5
|
+
export declare const WithChild: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, import("./color-tile").ColorTileProps & React.RefAttributes<import("./color-tile").ColorTileRef>>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react").ReactFramework, import("./spinner").SpinnerProps>;
|
|
2
|
+
export default _default;
|
|
3
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react").ReactFramework, import("./spinner").SpinnerProps>;
|
|
@@ -31,6 +31,13 @@ export declare enum Colors {
|
|
|
31
31
|
DANGER = "dough-color-status-danger",
|
|
32
32
|
TRANSPARENT = "dough-color-transparent"
|
|
33
33
|
}
|
|
34
|
+
export declare enum FixedColors {
|
|
35
|
+
SELECTOR1 = "dough-color-selector-1",
|
|
36
|
+
SELECTOR2 = "dough-color-selector-2",
|
|
37
|
+
SELECTOR3 = "dough-color-selector-3",
|
|
38
|
+
SELECTOR4 = "dough-color-selector-4",
|
|
39
|
+
SELECTOR5 = "dough-color-selector-5"
|
|
40
|
+
}
|
|
34
41
|
export declare enum ColorsText {
|
|
35
42
|
DEFAULT = "dough-color-text-default",
|
|
36
43
|
WHITE = "dough-color-text-white",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@speakapbv/dough-component-library",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.20.0",
|
|
4
4
|
"description": "DOUGH: Speakap React Component Library",
|
|
5
5
|
"author": "Speakap",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,7 +22,9 @@
|
|
|
22
22
|
"start": "cross-env BABEL_ENV=production rollup -c -w",
|
|
23
23
|
"format": "prettier --write \"src/**/*.{scss,js,json,md}\"",
|
|
24
24
|
"changelog": "git fetch && auto-changelog -p --commit-limit false",
|
|
25
|
-
"prepare": "husky install"
|
|
25
|
+
"prepare": "husky install",
|
|
26
|
+
"storybook": "start-storybook -p 6006",
|
|
27
|
+
"build-storybook": "build-storybook"
|
|
26
28
|
},
|
|
27
29
|
"peerDependencies": {
|
|
28
30
|
"lottie-web": ">=5.7.4",
|
|
@@ -39,13 +41,23 @@
|
|
|
39
41
|
"@rollup/plugin-url": "^4.0.0",
|
|
40
42
|
"@semantic-release/changelog": "^6.0.0",
|
|
41
43
|
"@semantic-release/git": "^10.0.0",
|
|
44
|
+
"@storybook/addon-actions": "^6.5.9",
|
|
45
|
+
"@storybook/addon-essentials": "^6.5.9",
|
|
46
|
+
"@storybook/addon-interactions": "^6.5.9",
|
|
47
|
+
"@storybook/addon-links": "^6.5.9",
|
|
48
|
+
"@storybook/builder-webpack4": "^6.5.9",
|
|
49
|
+
"@storybook/manager-webpack4": "^6.5.9",
|
|
50
|
+
"@storybook/react": "^6.5.9",
|
|
51
|
+
"@storybook/testing-library": "^0.0.13",
|
|
42
52
|
"@svgr/rollup": "^5.0.1",
|
|
43
53
|
"@types/react": "^16.9.44",
|
|
44
54
|
"@types/react-dom": "^16.9.8",
|
|
45
55
|
"auto-changelog": "^1.16.2",
|
|
46
56
|
"babel-eslint": "^10.0.3",
|
|
47
57
|
"babel-jest": "^26.2.1",
|
|
58
|
+
"babel-loader": "^8.2.5",
|
|
48
59
|
"cross-env": "^6.0.3",
|
|
60
|
+
"css-loader": "^5.2.7",
|
|
49
61
|
"cz-conventional-changelog": "3.3.0",
|
|
50
62
|
"enzyme": "^3.11.0",
|
|
51
63
|
"enzyme-adapter-react-16": "^1.15.2",
|
|
@@ -58,6 +70,7 @@
|
|
|
58
70
|
"eslint-plugin-react": "^7.17.0",
|
|
59
71
|
"eslint-plugin-react-hooks": "^2.3.0",
|
|
60
72
|
"eslint-plugin-rulesdir": "^0.1.0",
|
|
73
|
+
"eslint-plugin-storybook": "^0.6.0",
|
|
61
74
|
"husky": "^7.0.2",
|
|
62
75
|
"jest": "^26.2.1",
|
|
63
76
|
"lottie-web": "5.7.4",
|
|
@@ -72,14 +85,16 @@
|
|
|
72
85
|
"rollup-plugin-typescript2": "^0.27.1",
|
|
73
86
|
"rollup-plugin-visualizer": "^5.5.2",
|
|
74
87
|
"sass": "^1.42.1",
|
|
88
|
+
"sass-loader": "10.3.1",
|
|
75
89
|
"semantic-release": "^18.0.0",
|
|
90
|
+
"style-loader": "^2.0.0",
|
|
76
91
|
"typescript": "^3.9.7"
|
|
77
92
|
},
|
|
78
93
|
"files": [
|
|
79
94
|
"dist"
|
|
80
95
|
],
|
|
81
96
|
"dependencies": {
|
|
82
|
-
"@speakapbv/dough-component-library-tokens": "1.
|
|
97
|
+
"@speakapbv/dough-component-library-tokens": "1.4.0"
|
|
83
98
|
},
|
|
84
99
|
"publishConfig": {
|
|
85
100
|
"registry": "https://registry.npmjs.org/"
|