@rededor/cura 0.4.6 → 0.4.8
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/assets/icons/iconset-default-list.ts +1 -1
- package/dist/assets/icons/iconset-default-tmp.svg +27 -5
- package/dist/assets/icons/iconset-default.svg +1 -1
- package/dist/cjs/{cura-button_10.cjs.entry.js → cura-accordion_12.cjs.entry.js} +129 -3
- package/dist/cjs/cura-accordion_12.cjs.entry.js.map +1 -0
- package/dist/cjs/cura.cjs.js +2 -2
- package/dist/cjs/{index-0e874533.js → index-72217b50.js} +10 -2
- package/dist/cjs/index-72217b50.js.map +1 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/assets/icons/iconset-default-list.js +1 -1
- package/dist/collection/assets/icons/iconset-default-list.js.map +1 -1
- package/dist/collection/assets/icons/iconset-default-tmp.svg +27 -5
- package/dist/collection/assets/icons/iconset-default.svg +1 -1
- package/dist/collection/assets-raw/icons/default/doc.svg +5 -5
- package/dist/collection/assets-raw/icons/default/examDoc.svg +8 -0
- package/dist/collection/assets-raw/icons/default/siren.svg +12 -0
- package/dist/collection/collection-manifest.json +2 -0
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.css +14 -0
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.js +272 -0
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.js.map +1 -0
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js +160 -0
- package/dist/collection/components/accordion/cura-accordion/cura-accordion.stories.js.map +1 -0
- package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.css +139 -0
- package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js +199 -0
- package/dist/collection/components/accordion/cura-accordion-item/cura-accordion-item.js.map +1 -0
- package/dist/collection/components/buttons/cura-button/cura-button.stories.js +93 -47
- package/dist/collection/components/buttons/cura-button/cura-button.stories.js.map +1 -1
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js +168 -0
- package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js.map +1 -0
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js +168 -0
- package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js.map +1 -0
- package/dist/collection/components/cura-icon/cura-icon.stories.js +75 -0
- package/dist/collection/components/cura-icon/cura-icon.stories.js.map +1 -0
- package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js +56 -0
- package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js.map +1 -0
- package/dist/collection/components/text/cura-display/cura-display.stories.js +80 -0
- package/dist/collection/components/text/cura-display/cura-display.stories.js.map +1 -0
- package/dist/collection/components/text/cura-heading/cura-heading.stories.js +91 -0
- package/dist/collection/components/text/cura-heading/cura-heading.stories.js.map +1 -0
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js +94 -0
- package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js.map +1 -0
- package/dist/collection/utils/utils.js +12 -0
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/components/cura-accordion-item.d.ts +11 -0
- package/dist/components/cura-accordion-item.js +76 -0
- package/dist/components/cura-accordion-item.js.map +1 -0
- package/dist/components/cura-accordion.d.ts +11 -0
- package/dist/components/cura-accordion.js +121 -0
- package/dist/components/cura-accordion.js.map +1 -0
- package/dist/components/cura-icons-view.js +1 -1
- package/dist/components/cura-icons-view.js.map +1 -1
- package/dist/components/index.js +4 -0
- package/dist/components/index.js.map +1 -1
- package/dist/cura/cura.esm.js +1 -1
- package/dist/cura/cura.esm.js.map +1 -1
- package/dist/cura/cura.js +1 -1
- package/dist/cura/p-03b4f9a3.system.js +2 -0
- package/dist/cura/p-03b4f9a3.system.js.map +1 -0
- package/dist/cura/p-2cbf52f1.js +3 -0
- package/dist/cura/p-2cbf52f1.js.map +1 -0
- package/dist/cura/p-74e2e763.entry.js +2 -0
- package/dist/cura/p-74e2e763.entry.js.map +1 -0
- package/dist/cura/{p-a84ae34f.system.js → p-8da635b7.system.js} +3 -3
- package/dist/cura/{p-cbc91ac5.js.map → p-8da635b7.system.js.map} +1 -1
- package/dist/cura/p-d6eee1ad.system.entry.js +2 -0
- package/dist/cura/p-d6eee1ad.system.entry.js.map +1 -0
- package/dist/esm/{cura-button_10.entry.js → cura-accordion_12.entry.js} +128 -4
- package/dist/esm/cura-accordion_12.entry.js.map +1 -0
- package/dist/esm/cura.js +3 -3
- package/dist/esm/{index-92c824be.js → index-9af0cdbd.js} +10 -2
- package/dist/esm/index-9af0cdbd.js.map +1 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm-es5/cura-accordion_12.entry.js +2 -0
- package/dist/esm-es5/cura-accordion_12.entry.js.map +1 -0
- package/dist/esm-es5/cura.js +1 -1
- package/dist/esm-es5/cura.js.map +1 -1
- package/dist/esm-es5/{index-92c824be.js → index-9af0cdbd.js} +2 -2
- package/dist/esm-es5/index-9af0cdbd.js.map +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/loader.js.map +1 -1
- package/dist/types/components/accordion/cura-accordion/cura-accordion.d.ts +39 -0
- package/dist/types/components/accordion/cura-accordion/cura-accordion.stories.d.ts +154 -0
- package/dist/types/components/accordion/cura-accordion-item/cura-accordion-item.d.ts +29 -0
- package/dist/types/components/buttons/cura-button/cura-button.stories.d.ts +87 -35
- package/dist/types/components/buttons/cura-button-outline/cura-button-outline.stories.d.ts +171 -0
- package/dist/types/components/buttons/cura-button-transparent/cura-button-transparent.stories.d.ts +171 -0
- package/dist/types/components/cura-icon/cura-icon.stories.d.ts +65 -0
- package/dist/types/components/loaders/cura-loader-circle/cura-loader-circle.stories.d.ts +43 -0
- package/dist/types/components/text/cura-display/cura-display.stories.d.ts +76 -0
- package/dist/types/components/text/cura-heading/cura-heading.stories.d.ts +90 -0
- package/dist/types/components/text/cura-paragraph/cura-paragraph.stories.d.ts +74 -0
- package/dist/types/components.d.ts +114 -0
- package/dist/types/utils/utils.d.ts +1 -0
- package/package.json +2 -2
- package/dist/cjs/cura-button_10.cjs.entry.js.map +0 -1
- package/dist/cjs/index-0e874533.js.map +0 -1
- package/dist/cura/p-19176c44.system.js +0 -2
- package/dist/cura/p-19176c44.system.js.map +0 -1
- package/dist/cura/p-a84ae34f.system.js.map +0 -1
- package/dist/cura/p-b7e3230a.entry.js +0 -2
- package/dist/cura/p-b7e3230a.entry.js.map +0 -1
- package/dist/cura/p-cbc91ac5.js +0 -3
- package/dist/cura/p-e45582d9.system.entry.js +0 -2
- package/dist/cura/p-e45582d9.system.entry.js.map +0 -1
- package/dist/esm/cura-button_10.entry.js.map +0 -1
- package/dist/esm/index-92c824be.js.map +0 -1
- package/dist/esm-es5/cura-button_10.entry.js +0 -2
- package/dist/esm-es5/cura-button_10.entry.js.map +0 -1
- package/dist/esm-es5/index-92c824be.js.map +0 -1
- /package/dist/collection/stories/{Button.stories.js → Button.st.js} +0 -0
- /package/dist/collection/stories/{Header.stories.js → Header.st.js} +0 -0
- /package/dist/collection/stories/{Page.stories.js → Page.st.js} +0 -0
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
tags: string[];
|
|
4
|
+
render: ({ ...args }: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
}) => string;
|
|
7
|
+
argTypes: {
|
|
8
|
+
color: {
|
|
9
|
+
control: {
|
|
10
|
+
type: string;
|
|
11
|
+
};
|
|
12
|
+
options: string[];
|
|
13
|
+
description: string;
|
|
14
|
+
table: {
|
|
15
|
+
category: string;
|
|
16
|
+
defaultValue: {
|
|
17
|
+
summary: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
name: string;
|
|
21
|
+
};
|
|
22
|
+
activeColor: {
|
|
23
|
+
control: {
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
options: string[];
|
|
27
|
+
description: string;
|
|
28
|
+
table: {
|
|
29
|
+
category: string;
|
|
30
|
+
defaultValue: {
|
|
31
|
+
summary: string;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
name: string;
|
|
35
|
+
};
|
|
36
|
+
colorMode: {
|
|
37
|
+
control: {
|
|
38
|
+
type: string;
|
|
39
|
+
};
|
|
40
|
+
options: string[];
|
|
41
|
+
description: string;
|
|
42
|
+
table: {
|
|
43
|
+
category: string;
|
|
44
|
+
defaultValue: {
|
|
45
|
+
summary: string;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
name: string;
|
|
49
|
+
};
|
|
50
|
+
behavior: {
|
|
51
|
+
control: {
|
|
52
|
+
type: string;
|
|
53
|
+
};
|
|
54
|
+
options: string[];
|
|
55
|
+
description: string;
|
|
56
|
+
table: {
|
|
57
|
+
category: string;
|
|
58
|
+
defaultValue: {
|
|
59
|
+
summary: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
name: string;
|
|
63
|
+
};
|
|
64
|
+
openIcon: {
|
|
65
|
+
control: {
|
|
66
|
+
type: string;
|
|
67
|
+
};
|
|
68
|
+
options: string[];
|
|
69
|
+
description: string;
|
|
70
|
+
table: {
|
|
71
|
+
category: string;
|
|
72
|
+
defaultValue: {
|
|
73
|
+
summary: string;
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
name: string;
|
|
77
|
+
};
|
|
78
|
+
closeIcon: {
|
|
79
|
+
control: {
|
|
80
|
+
type: string;
|
|
81
|
+
};
|
|
82
|
+
options: string[];
|
|
83
|
+
description: string;
|
|
84
|
+
table: {
|
|
85
|
+
category: string;
|
|
86
|
+
defaultValue: {
|
|
87
|
+
summary: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
name: string;
|
|
91
|
+
};
|
|
92
|
+
iconSize: {
|
|
93
|
+
control: {
|
|
94
|
+
type: string;
|
|
95
|
+
};
|
|
96
|
+
options: string[];
|
|
97
|
+
description: string;
|
|
98
|
+
table: {
|
|
99
|
+
category: string;
|
|
100
|
+
defaultValue: {
|
|
101
|
+
summary: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
name: string;
|
|
105
|
+
};
|
|
106
|
+
iconColor: {
|
|
107
|
+
control: {
|
|
108
|
+
type: string;
|
|
109
|
+
};
|
|
110
|
+
options: string[];
|
|
111
|
+
description: string;
|
|
112
|
+
table: {
|
|
113
|
+
category: string;
|
|
114
|
+
};
|
|
115
|
+
name: string;
|
|
116
|
+
};
|
|
117
|
+
iconActiveColor: {
|
|
118
|
+
control: {
|
|
119
|
+
type: string;
|
|
120
|
+
};
|
|
121
|
+
options: string[];
|
|
122
|
+
description: string;
|
|
123
|
+
table: {
|
|
124
|
+
category: string;
|
|
125
|
+
};
|
|
126
|
+
name: string;
|
|
127
|
+
};
|
|
128
|
+
darkBackground: {
|
|
129
|
+
control: string;
|
|
130
|
+
description: string;
|
|
131
|
+
table: {
|
|
132
|
+
category: string;
|
|
133
|
+
defaultValue: {
|
|
134
|
+
summary: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
export default _default;
|
|
141
|
+
export declare const Accordion: {
|
|
142
|
+
args: {
|
|
143
|
+
color: string;
|
|
144
|
+
activeColor: string;
|
|
145
|
+
colorMode: string;
|
|
146
|
+
openIcon: string;
|
|
147
|
+
closeIcon: string;
|
|
148
|
+
iconSize: string;
|
|
149
|
+
iconColor: string;
|
|
150
|
+
iconActiveColor: string;
|
|
151
|
+
behavior: string;
|
|
152
|
+
darkBackground: boolean;
|
|
153
|
+
};
|
|
154
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export declare class CuraAccordionItem {
|
|
2
|
+
/**
|
|
3
|
+
* Text label for accordion item
|
|
4
|
+
*/
|
|
5
|
+
label: string;
|
|
6
|
+
/** ***Properties below are inherited from the cura-accordion*** */
|
|
7
|
+
/**
|
|
8
|
+
* Accordion items icons
|
|
9
|
+
*/
|
|
10
|
+
iconSize: number;
|
|
11
|
+
openIcon: string;
|
|
12
|
+
closeIcon: string;
|
|
13
|
+
/**
|
|
14
|
+
* Color scheme base color
|
|
15
|
+
* (By default, the icon will use the same color of 'color' and 'activeColor')
|
|
16
|
+
*/
|
|
17
|
+
iconColor: string;
|
|
18
|
+
iconActiveColor: string;
|
|
19
|
+
/**
|
|
20
|
+
* Set the color mode to dark or light
|
|
21
|
+
*/
|
|
22
|
+
colorMode: 'dark' | 'light';
|
|
23
|
+
opened: boolean;
|
|
24
|
+
styles: {};
|
|
25
|
+
getIconColor(): string;
|
|
26
|
+
getClasses(): {};
|
|
27
|
+
accordionItemClick(_: Event): void;
|
|
28
|
+
render(): any;
|
|
29
|
+
}
|
|
@@ -8,89 +8,157 @@ declare const _default: {
|
|
|
8
8
|
argTypes: {
|
|
9
9
|
label: {
|
|
10
10
|
control: string;
|
|
11
|
+
description: string;
|
|
12
|
+
name: string;
|
|
11
13
|
};
|
|
12
14
|
disabled: {
|
|
13
15
|
control: string;
|
|
16
|
+
description: string;
|
|
17
|
+
table: {
|
|
18
|
+
category: string;
|
|
19
|
+
defaultValue: {
|
|
20
|
+
summary: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
14
23
|
};
|
|
15
24
|
isLoading: {
|
|
16
25
|
control: string;
|
|
26
|
+
description: string;
|
|
27
|
+
table: {
|
|
28
|
+
category: string;
|
|
29
|
+
defaultValue: {
|
|
30
|
+
summary: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
name: string;
|
|
17
34
|
};
|
|
18
35
|
size: {
|
|
19
36
|
control: {
|
|
20
37
|
type: string;
|
|
21
38
|
};
|
|
22
39
|
options: string[];
|
|
40
|
+
description: string;
|
|
41
|
+
table: {
|
|
42
|
+
category: string;
|
|
43
|
+
defaultValue: {
|
|
44
|
+
summary: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
23
47
|
};
|
|
24
48
|
color: {
|
|
25
49
|
control: {
|
|
26
50
|
type: string;
|
|
27
51
|
};
|
|
28
52
|
options: string[];
|
|
53
|
+
description: string;
|
|
54
|
+
table: {
|
|
55
|
+
category: string;
|
|
56
|
+
defaultValue: {
|
|
57
|
+
summary: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
29
60
|
};
|
|
30
61
|
fontColor: {
|
|
31
62
|
control: {
|
|
32
63
|
type: string;
|
|
33
64
|
};
|
|
34
65
|
options: string[];
|
|
66
|
+
description: string;
|
|
67
|
+
table: {
|
|
68
|
+
category: string;
|
|
69
|
+
defaultValue: {
|
|
70
|
+
summary: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
name: string;
|
|
35
74
|
};
|
|
36
75
|
textAlign: {
|
|
37
76
|
control: {
|
|
38
77
|
type: string;
|
|
39
78
|
};
|
|
40
79
|
options: string[];
|
|
80
|
+
description: string;
|
|
81
|
+
table: {
|
|
82
|
+
category: string;
|
|
83
|
+
defaultValue: {
|
|
84
|
+
summary: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
name: string;
|
|
41
88
|
};
|
|
42
89
|
fullWidth: {
|
|
43
90
|
control: string;
|
|
91
|
+
description: string;
|
|
92
|
+
table: {
|
|
93
|
+
category: string;
|
|
94
|
+
defaultValue: {
|
|
95
|
+
summary: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
44
98
|
};
|
|
45
99
|
iconName: {
|
|
46
100
|
control: {
|
|
47
101
|
type: string;
|
|
48
102
|
};
|
|
49
103
|
options: string[];
|
|
104
|
+
description: string;
|
|
105
|
+
table: {
|
|
106
|
+
category: string;
|
|
107
|
+
};
|
|
108
|
+
name: string;
|
|
50
109
|
};
|
|
51
110
|
iconPosition: {
|
|
52
111
|
control: {
|
|
53
112
|
type: string;
|
|
54
113
|
};
|
|
55
114
|
options: string[];
|
|
115
|
+
description: string;
|
|
116
|
+
table: {
|
|
117
|
+
category: string;
|
|
118
|
+
defaultValue: {
|
|
119
|
+
summary: string;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
name: string;
|
|
56
123
|
};
|
|
57
124
|
iconOnly: {
|
|
58
125
|
control: string;
|
|
126
|
+
description: string;
|
|
127
|
+
table: {
|
|
128
|
+
category: string;
|
|
129
|
+
defaultValue: {
|
|
130
|
+
summary: string;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
name: string;
|
|
59
134
|
};
|
|
60
135
|
href: {
|
|
61
136
|
control: string;
|
|
137
|
+
description: string;
|
|
138
|
+
table: {
|
|
139
|
+
category: string;
|
|
140
|
+
};
|
|
62
141
|
};
|
|
63
142
|
target: {
|
|
64
143
|
control: string;
|
|
144
|
+
description: string;
|
|
145
|
+
table: {
|
|
146
|
+
category: string;
|
|
147
|
+
defaultValue: {
|
|
148
|
+
summary: string;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
65
151
|
};
|
|
66
152
|
};
|
|
67
153
|
};
|
|
68
154
|
export default _default;
|
|
69
|
-
export declare const
|
|
70
|
-
args: {
|
|
71
|
-
label: string;
|
|
72
|
-
size: string;
|
|
73
|
-
color: string;
|
|
74
|
-
fontColor: string;
|
|
75
|
-
textAlign: string;
|
|
76
|
-
fullWidth: boolean;
|
|
77
|
-
iconName: string;
|
|
78
|
-
iconPosition: string;
|
|
79
|
-
iconOnly: boolean;
|
|
80
|
-
disabled: boolean;
|
|
81
|
-
isLoading: boolean;
|
|
82
|
-
href: string;
|
|
83
|
-
target: string;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
export declare const Secondary: {
|
|
155
|
+
export declare const Button: {
|
|
87
156
|
args: {
|
|
88
157
|
label: string;
|
|
89
158
|
size: string;
|
|
90
159
|
color: string;
|
|
91
160
|
fontColor: string;
|
|
92
161
|
textAlign: string;
|
|
93
|
-
fullWidth: boolean;
|
|
94
162
|
iconName: string;
|
|
95
163
|
iconPosition: string;
|
|
96
164
|
iconOnly: boolean;
|
|
@@ -98,22 +166,6 @@ export declare const Secondary: {
|
|
|
98
166
|
isLoading: boolean;
|
|
99
167
|
href: string;
|
|
100
168
|
target: string;
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
export declare const Accent: {
|
|
104
|
-
args: {
|
|
105
|
-
label: string;
|
|
106
|
-
size: string;
|
|
107
|
-
color: string;
|
|
108
|
-
fontColor: string;
|
|
109
|
-
textAlign: string;
|
|
110
169
|
fullWidth: boolean;
|
|
111
|
-
iconName: string;
|
|
112
|
-
iconPosition: string;
|
|
113
|
-
iconOnly: boolean;
|
|
114
|
-
disabled: boolean;
|
|
115
|
-
isLoading: boolean;
|
|
116
|
-
href: string;
|
|
117
|
-
target: string;
|
|
118
170
|
};
|
|
119
171
|
};
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
tags: string[];
|
|
4
|
+
render: ({ label, ...args }: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
label: any;
|
|
7
|
+
}) => string;
|
|
8
|
+
argTypes: {
|
|
9
|
+
label: {
|
|
10
|
+
control: string;
|
|
11
|
+
description: string;
|
|
12
|
+
name: string;
|
|
13
|
+
};
|
|
14
|
+
disabled: {
|
|
15
|
+
control: string;
|
|
16
|
+
description: string;
|
|
17
|
+
table: {
|
|
18
|
+
category: string;
|
|
19
|
+
defaultValue: {
|
|
20
|
+
summary: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
isLoading: {
|
|
25
|
+
control: string;
|
|
26
|
+
description: string;
|
|
27
|
+
table: {
|
|
28
|
+
category: string;
|
|
29
|
+
defaultValue: {
|
|
30
|
+
summary: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
name: string;
|
|
34
|
+
};
|
|
35
|
+
size: {
|
|
36
|
+
control: {
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
39
|
+
options: string[];
|
|
40
|
+
description: string;
|
|
41
|
+
table: {
|
|
42
|
+
category: string;
|
|
43
|
+
defaultValue: {
|
|
44
|
+
summary: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
color: {
|
|
49
|
+
control: {
|
|
50
|
+
type: string;
|
|
51
|
+
};
|
|
52
|
+
options: string[];
|
|
53
|
+
description: string;
|
|
54
|
+
table: {
|
|
55
|
+
category: string;
|
|
56
|
+
defaultValue: {
|
|
57
|
+
summary: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
fontColor: {
|
|
62
|
+
control: {
|
|
63
|
+
type: string;
|
|
64
|
+
};
|
|
65
|
+
options: string[];
|
|
66
|
+
description: string;
|
|
67
|
+
table: {
|
|
68
|
+
category: string;
|
|
69
|
+
defaultValue: {
|
|
70
|
+
summary: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
name: string;
|
|
74
|
+
};
|
|
75
|
+
textAlign: {
|
|
76
|
+
control: {
|
|
77
|
+
type: string;
|
|
78
|
+
};
|
|
79
|
+
options: string[];
|
|
80
|
+
description: string;
|
|
81
|
+
table: {
|
|
82
|
+
category: string;
|
|
83
|
+
defaultValue: {
|
|
84
|
+
summary: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
name: string;
|
|
88
|
+
};
|
|
89
|
+
fullWidth: {
|
|
90
|
+
control: string;
|
|
91
|
+
description: string;
|
|
92
|
+
table: {
|
|
93
|
+
category: string;
|
|
94
|
+
defaultValue: {
|
|
95
|
+
summary: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
iconName: {
|
|
100
|
+
control: {
|
|
101
|
+
type: string;
|
|
102
|
+
};
|
|
103
|
+
options: string[];
|
|
104
|
+
description: string;
|
|
105
|
+
table: {
|
|
106
|
+
category: string;
|
|
107
|
+
};
|
|
108
|
+
name: string;
|
|
109
|
+
};
|
|
110
|
+
iconPosition: {
|
|
111
|
+
control: {
|
|
112
|
+
type: string;
|
|
113
|
+
};
|
|
114
|
+
options: string[];
|
|
115
|
+
description: string;
|
|
116
|
+
table: {
|
|
117
|
+
category: string;
|
|
118
|
+
defaultValue: {
|
|
119
|
+
summary: string;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
name: string;
|
|
123
|
+
};
|
|
124
|
+
iconOnly: {
|
|
125
|
+
control: string;
|
|
126
|
+
description: string;
|
|
127
|
+
table: {
|
|
128
|
+
category: string;
|
|
129
|
+
defaultValue: {
|
|
130
|
+
summary: string;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
name: string;
|
|
134
|
+
};
|
|
135
|
+
href: {
|
|
136
|
+
control: string;
|
|
137
|
+
description: string;
|
|
138
|
+
table: {
|
|
139
|
+
category: string;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
target: {
|
|
143
|
+
control: string;
|
|
144
|
+
description: string;
|
|
145
|
+
table: {
|
|
146
|
+
category: string;
|
|
147
|
+
defaultValue: {
|
|
148
|
+
summary: string;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
export default _default;
|
|
155
|
+
export declare const ButtonOutline: {
|
|
156
|
+
args: {
|
|
157
|
+
label: string;
|
|
158
|
+
size: string;
|
|
159
|
+
color: string;
|
|
160
|
+
fontColor: string;
|
|
161
|
+
textAlign: string;
|
|
162
|
+
iconName: string;
|
|
163
|
+
iconPosition: string;
|
|
164
|
+
iconOnly: boolean;
|
|
165
|
+
disabled: boolean;
|
|
166
|
+
isLoading: boolean;
|
|
167
|
+
href: string;
|
|
168
|
+
target: string;
|
|
169
|
+
fullWidth: boolean;
|
|
170
|
+
};
|
|
171
|
+
};
|
package/dist/types/components/buttons/cura-button-transparent/cura-button-transparent.stories.d.ts
ADDED
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
title: string;
|
|
3
|
+
tags: string[];
|
|
4
|
+
render: ({ label, ...args }: {
|
|
5
|
+
[x: string]: any;
|
|
6
|
+
label: any;
|
|
7
|
+
}) => string;
|
|
8
|
+
argTypes: {
|
|
9
|
+
label: {
|
|
10
|
+
control: string;
|
|
11
|
+
description: string;
|
|
12
|
+
name: string;
|
|
13
|
+
};
|
|
14
|
+
disabled: {
|
|
15
|
+
control: string;
|
|
16
|
+
description: string;
|
|
17
|
+
table: {
|
|
18
|
+
category: string;
|
|
19
|
+
defaultValue: {
|
|
20
|
+
summary: string;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
isLoading: {
|
|
25
|
+
control: string;
|
|
26
|
+
description: string;
|
|
27
|
+
table: {
|
|
28
|
+
category: string;
|
|
29
|
+
defaultValue: {
|
|
30
|
+
summary: string;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
name: string;
|
|
34
|
+
};
|
|
35
|
+
size: {
|
|
36
|
+
control: {
|
|
37
|
+
type: string;
|
|
38
|
+
};
|
|
39
|
+
options: string[];
|
|
40
|
+
description: string;
|
|
41
|
+
table: {
|
|
42
|
+
category: string;
|
|
43
|
+
defaultValue: {
|
|
44
|
+
summary: string;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
color: {
|
|
49
|
+
control: {
|
|
50
|
+
type: string;
|
|
51
|
+
};
|
|
52
|
+
options: string[];
|
|
53
|
+
description: string;
|
|
54
|
+
table: {
|
|
55
|
+
category: string;
|
|
56
|
+
defaultValue: {
|
|
57
|
+
summary: string;
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
fontColor: {
|
|
62
|
+
control: {
|
|
63
|
+
type: string;
|
|
64
|
+
};
|
|
65
|
+
options: string[];
|
|
66
|
+
description: string;
|
|
67
|
+
table: {
|
|
68
|
+
category: string;
|
|
69
|
+
defaultValue: {
|
|
70
|
+
summary: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
name: string;
|
|
74
|
+
};
|
|
75
|
+
textAlign: {
|
|
76
|
+
control: {
|
|
77
|
+
type: string;
|
|
78
|
+
};
|
|
79
|
+
options: string[];
|
|
80
|
+
description: string;
|
|
81
|
+
table: {
|
|
82
|
+
category: string;
|
|
83
|
+
defaultValue: {
|
|
84
|
+
summary: string;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
name: string;
|
|
88
|
+
};
|
|
89
|
+
fullWidth: {
|
|
90
|
+
control: string;
|
|
91
|
+
description: string;
|
|
92
|
+
table: {
|
|
93
|
+
category: string;
|
|
94
|
+
defaultValue: {
|
|
95
|
+
summary: string;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
iconName: {
|
|
100
|
+
control: {
|
|
101
|
+
type: string;
|
|
102
|
+
};
|
|
103
|
+
options: string[];
|
|
104
|
+
description: string;
|
|
105
|
+
table: {
|
|
106
|
+
category: string;
|
|
107
|
+
};
|
|
108
|
+
name: string;
|
|
109
|
+
};
|
|
110
|
+
iconPosition: {
|
|
111
|
+
control: {
|
|
112
|
+
type: string;
|
|
113
|
+
};
|
|
114
|
+
options: string[];
|
|
115
|
+
description: string;
|
|
116
|
+
table: {
|
|
117
|
+
category: string;
|
|
118
|
+
defaultValue: {
|
|
119
|
+
summary: string;
|
|
120
|
+
};
|
|
121
|
+
};
|
|
122
|
+
name: string;
|
|
123
|
+
};
|
|
124
|
+
iconOnly: {
|
|
125
|
+
control: string;
|
|
126
|
+
description: string;
|
|
127
|
+
table: {
|
|
128
|
+
category: string;
|
|
129
|
+
defaultValue: {
|
|
130
|
+
summary: string;
|
|
131
|
+
};
|
|
132
|
+
};
|
|
133
|
+
name: string;
|
|
134
|
+
};
|
|
135
|
+
href: {
|
|
136
|
+
control: string;
|
|
137
|
+
description: string;
|
|
138
|
+
table: {
|
|
139
|
+
category: string;
|
|
140
|
+
};
|
|
141
|
+
};
|
|
142
|
+
target: {
|
|
143
|
+
control: string;
|
|
144
|
+
description: string;
|
|
145
|
+
table: {
|
|
146
|
+
category: string;
|
|
147
|
+
defaultValue: {
|
|
148
|
+
summary: string;
|
|
149
|
+
};
|
|
150
|
+
};
|
|
151
|
+
};
|
|
152
|
+
};
|
|
153
|
+
};
|
|
154
|
+
export default _default;
|
|
155
|
+
export declare const ButtonTransparent: {
|
|
156
|
+
args: {
|
|
157
|
+
label: string;
|
|
158
|
+
size: string;
|
|
159
|
+
color: string;
|
|
160
|
+
fontColor: string;
|
|
161
|
+
textAlign: string;
|
|
162
|
+
iconName: string;
|
|
163
|
+
iconPosition: string;
|
|
164
|
+
iconOnly: boolean;
|
|
165
|
+
disabled: boolean;
|
|
166
|
+
isLoading: boolean;
|
|
167
|
+
href: string;
|
|
168
|
+
target: string;
|
|
169
|
+
fullWidth: boolean;
|
|
170
|
+
};
|
|
171
|
+
};
|