@rededor/cura 1.6.1-alpha.0 → 1.6.1-alpha.1
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/cjs/cura-accordion_18.cjs.entry.js +23 -4
- package/dist/cjs/cura-accordion_18.cjs.entry.js.map +1 -1
- package/dist/collection/components/cura-card/cura-card.stories.js +56 -25
- package/dist/collection/components/cura-card/cura-card.stories.js.map +1 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js +6 -1
- package/dist/collection/components/cura-dropdown-search/cura-dropdown-search.js.map +1 -1
- package/dist/collection/components/forms/cura-select/cura-select.js +17 -3
- package/dist/collection/components/forms/cura-select/cura-select.js.map +1 -1
- package/dist/collection/stories/blocks/index.js +9 -0
- package/dist/components/cura-dropdown-search.js +6 -1
- package/dist/components/cura-dropdown-search.js.map +1 -1
- package/dist/components/cura-select2.js +17 -3
- package/dist/components/cura-select2.js.map +1 -1
- package/dist/cura/cura.esm.js +1 -1
- package/dist/cura/p-e5abb2a4.entry.js +2 -0
- package/dist/cura/p-e5abb2a4.entry.js.map +1 -0
- package/dist/esm/cura-accordion_18.entry.js +23 -4
- package/dist/esm/cura-accordion_18.entry.js.map +1 -1
- package/dist/types/components/cura-card/cura-card.stories.d.ts +7 -98
- package/dist/types/components/cura-dropdown-search/cura-dropdown-search.d.ts +1 -0
- package/dist/types/components/forms/cura-select/cura-select.d.ts +3 -0
- package/package.json +15 -11
- package/dist/cura/p-5b928e46.entry.js +0 -2
- package/dist/cura/p-5b928e46.entry.js.map +0 -1
|
@@ -1,98 +1,7 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
argTypes: {
|
|
9
|
-
hasPadding: {
|
|
10
|
-
name: string;
|
|
11
|
-
control: string;
|
|
12
|
-
description: string;
|
|
13
|
-
table: {
|
|
14
|
-
category: string;
|
|
15
|
-
defaultValue: {
|
|
16
|
-
summary: string;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
hasShadow: {
|
|
21
|
-
name: string;
|
|
22
|
-
control: string;
|
|
23
|
-
description: string;
|
|
24
|
-
table: {
|
|
25
|
-
category: string;
|
|
26
|
-
defaultValue: {
|
|
27
|
-
summary: string;
|
|
28
|
-
};
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
type: {
|
|
32
|
-
control: {
|
|
33
|
-
type: string;
|
|
34
|
-
};
|
|
35
|
-
options: string[];
|
|
36
|
-
description: string;
|
|
37
|
-
table: {
|
|
38
|
-
category: string;
|
|
39
|
-
defaultValue: {
|
|
40
|
-
summary: string;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
href: {
|
|
45
|
-
control: string;
|
|
46
|
-
description: string;
|
|
47
|
-
name: string;
|
|
48
|
-
table: {
|
|
49
|
-
category: string;
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
target: {
|
|
53
|
-
control: string;
|
|
54
|
-
description: string;
|
|
55
|
-
name: string;
|
|
56
|
-
table: {
|
|
57
|
-
category: string;
|
|
58
|
-
defaultValue: {
|
|
59
|
-
summary: string;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
colorMode: {
|
|
64
|
-
control: {
|
|
65
|
-
type: string;
|
|
66
|
-
};
|
|
67
|
-
options: string[];
|
|
68
|
-
description: string;
|
|
69
|
-
table: {
|
|
70
|
-
category: string;
|
|
71
|
-
defaultValue: {
|
|
72
|
-
summary: string;
|
|
73
|
-
};
|
|
74
|
-
};
|
|
75
|
-
name: string;
|
|
76
|
-
};
|
|
77
|
-
slot: {
|
|
78
|
-
name: string;
|
|
79
|
-
control: string;
|
|
80
|
-
description: string;
|
|
81
|
-
table: {
|
|
82
|
-
category: string;
|
|
83
|
-
};
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
};
|
|
87
|
-
export default _default;
|
|
88
|
-
export declare const CuraCard: {
|
|
89
|
-
args: {
|
|
90
|
-
hasPadding: boolean;
|
|
91
|
-
hasShadow: boolean;
|
|
92
|
-
type: string;
|
|
93
|
-
colorMode: string;
|
|
94
|
-
target: string;
|
|
95
|
-
href: string;
|
|
96
|
-
slot: string;
|
|
97
|
-
};
|
|
98
|
-
};
|
|
1
|
+
import type { Meta, StoryObj } from '@storybook/html';
|
|
2
|
+
declare const meta: Meta;
|
|
3
|
+
export default meta;
|
|
4
|
+
type Story = StoryObj;
|
|
5
|
+
export declare const Default: Story;
|
|
6
|
+
export declare const WithLink: Story;
|
|
7
|
+
export declare const Transparent: Story;
|
|
@@ -185,5 +185,8 @@ export declare class CuraSelect {
|
|
|
185
185
|
*/
|
|
186
186
|
renderIcon(): any;
|
|
187
187
|
handleClick: (event: MouseEvent) => void;
|
|
188
|
+
handleClickOutside: (event: MouseEvent) => void;
|
|
189
|
+
private addOutsideClickListener;
|
|
190
|
+
private removeOutsideClickListener;
|
|
188
191
|
render(): any;
|
|
189
192
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rededor/cura",
|
|
3
|
-
"version": "1.6.1-alpha.
|
|
3
|
+
"version": "1.6.1-alpha.1",
|
|
4
4
|
"description": "Cura Design System",
|
|
5
5
|
"author": "Rede D`Or São Luiz",
|
|
6
6
|
"license": "MIT",
|
|
@@ -24,7 +24,8 @@
|
|
|
24
24
|
"generate": "stencil generate",
|
|
25
25
|
"build:iconset": "node ./node/iconset-builder.js",
|
|
26
26
|
"storybook": "npm run build && storybook dev -p 6006",
|
|
27
|
-
"build-storybook": "storybook build"
|
|
27
|
+
"build-storybook": "storybook build",
|
|
28
|
+
"test-storybook": "test-storybook --coverage"
|
|
28
29
|
},
|
|
29
30
|
"dependencies": {
|
|
30
31
|
"@stencil/core": "^4.22.0",
|
|
@@ -35,21 +36,24 @@
|
|
|
35
36
|
"devDependencies": {
|
|
36
37
|
"@stencil/react-output-target": "^0.5.3",
|
|
37
38
|
"@stencil/sass": "^2.0.4",
|
|
38
|
-
"@storybook/addon-
|
|
39
|
-
"@storybook/addon-
|
|
40
|
-
"@storybook/addon-
|
|
41
|
-
"@storybook/
|
|
42
|
-
"@storybook/
|
|
43
|
-
"@storybook/
|
|
44
|
-
"@storybook/
|
|
39
|
+
"@storybook/addon-a11y": "^7.6.10",
|
|
40
|
+
"@storybook/addon-coverage": "^1.0.0",
|
|
41
|
+
"@storybook/addon-essentials": "^7.6.10",
|
|
42
|
+
"@storybook/addon-interactions": "^7.6.10",
|
|
43
|
+
"@storybook/addon-links": "^7.6.10",
|
|
44
|
+
"@storybook/blocks": "^7.6.10",
|
|
45
|
+
"@storybook/html": "^7.6.10",
|
|
46
|
+
"@storybook/html-webpack5": "^7.6.10",
|
|
47
|
+
"@storybook/test": "^7.6.10",
|
|
48
|
+
"@storybook/test-runner": "^0.16.0",
|
|
45
49
|
"@types/jest": "^27.0.3",
|
|
46
50
|
"jest": "^27.4.5",
|
|
47
51
|
"jest-cli": "^27.4.5",
|
|
48
52
|
"puppeteer": "^22.13.1",
|
|
49
53
|
"react": "^18.2.0",
|
|
50
54
|
"react-dom": "^18.2.0",
|
|
51
|
-
"storybook": "^7.6.
|
|
55
|
+
"storybook": "^7.6.10",
|
|
52
56
|
"svgo": "^3.3.2"
|
|
53
57
|
},
|
|
54
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "8493f6585283cf5d16ca5e1ef34bc0067e929bc7"
|
|
55
59
|
}
|