@rededor/cura 0.4.6 → 0.4.7

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.
Files changed (54) hide show
  1. package/dist/assets/icons/iconset-default-list.ts +1 -1
  2. package/dist/assets/icons/iconset-default-tmp.svg +9 -0
  3. package/dist/assets/icons/iconset-default.svg +1 -1
  4. package/dist/cjs/cura-button_10.cjs.entry.js +1 -1
  5. package/dist/cjs/cura-button_10.cjs.entry.js.map +1 -1
  6. package/dist/collection/assets/icons/iconset-default-list.js +1 -1
  7. package/dist/collection/assets/icons/iconset-default-list.js.map +1 -1
  8. package/dist/collection/assets/icons/iconset-default-tmp.svg +9 -0
  9. package/dist/collection/assets/icons/iconset-default.svg +1 -1
  10. package/dist/collection/assets-raw/icons/default/doc.svg +5 -5
  11. package/dist/collection/assets-raw/icons/default/examDoc.svg +8 -0
  12. package/dist/collection/components/buttons/cura-button/cura-button.stories.js +93 -47
  13. package/dist/collection/components/buttons/cura-button/cura-button.stories.js.map +1 -1
  14. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js +168 -0
  15. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js.map +1 -0
  16. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js +168 -0
  17. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js.map +1 -0
  18. package/dist/collection/components/cura-icon/cura-icon.stories.js +75 -0
  19. package/dist/collection/components/cura-icon/cura-icon.stories.js.map +1 -0
  20. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js +56 -0
  21. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js.map +1 -0
  22. package/dist/collection/components/text/cura-display/cura-display.stories.js +80 -0
  23. package/dist/collection/components/text/cura-display/cura-display.stories.js.map +1 -0
  24. package/dist/collection/components/text/cura-heading/cura-heading.stories.js +91 -0
  25. package/dist/collection/components/text/cura-heading/cura-heading.stories.js.map +1 -0
  26. package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js +94 -0
  27. package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js.map +1 -0
  28. package/dist/collection/utils/utils.js +12 -0
  29. package/dist/collection/utils/utils.js.map +1 -1
  30. package/dist/components/cura-icons-view.js +1 -1
  31. package/dist/components/cura-icons-view.js.map +1 -1
  32. package/dist/cura/cura.esm.js +1 -1
  33. package/dist/cura/p-19176c44.system.js +1 -1
  34. package/dist/cura/{p-b7e3230a.entry.js → p-d184517b.entry.js} +2 -2
  35. package/dist/cura/{p-b7e3230a.entry.js.map → p-d184517b.entry.js.map} +1 -1
  36. package/dist/cura/{p-e45582d9.system.entry.js → p-eec653ca.system.entry.js} +2 -2
  37. package/dist/cura/{p-e45582d9.system.entry.js.map → p-eec653ca.system.entry.js.map} +1 -1
  38. package/dist/esm/cura-button_10.entry.js +1 -1
  39. package/dist/esm/cura-button_10.entry.js.map +1 -1
  40. package/dist/esm-es5/cura-button_10.entry.js +1 -1
  41. package/dist/esm-es5/cura-button_10.entry.js.map +1 -1
  42. package/dist/types/components/buttons/cura-button/cura-button.stories.d.ts +87 -35
  43. package/dist/types/components/buttons/cura-button-outline/cura-button-outline.stories.d.ts +171 -0
  44. package/dist/types/components/buttons/cura-button-transparent/cura-button-transparent.stories.d.ts +171 -0
  45. package/dist/types/components/cura-icon/cura-icon.stories.d.ts +65 -0
  46. package/dist/types/components/loaders/cura-loader-circle/cura-loader-circle.stories.d.ts +43 -0
  47. package/dist/types/components/text/cura-display/cura-display.stories.d.ts +76 -0
  48. package/dist/types/components/text/cura-heading/cura-heading.stories.d.ts +90 -0
  49. package/dist/types/components/text/cura-paragraph/cura-paragraph.stories.d.ts +74 -0
  50. package/dist/types/utils/utils.d.ts +1 -0
  51. package/package.json +2 -2
  52. /package/dist/collection/stories/{Button.stories.js → Button.st.js} +0 -0
  53. /package/dist/collection/stories/{Header.stories.js → Header.st.js} +0 -0
  54. /package/dist/collection/stories/{Page.stories.js → Page.st.js} +0 -0
@@ -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
+ };
@@ -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
+ };
@@ -0,0 +1,65 @@
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
+ disabled: {
10
+ control: string;
11
+ description: string;
12
+ table: {
13
+ category: string;
14
+ defaultValue: {
15
+ summary: string;
16
+ };
17
+ };
18
+ };
19
+ size: {
20
+ control: {
21
+ type: string;
22
+ };
23
+ options: string[];
24
+ description: string;
25
+ table: {
26
+ category: string;
27
+ defaultValue: {
28
+ summary: string;
29
+ };
30
+ };
31
+ };
32
+ color: {
33
+ control: {
34
+ type: string;
35
+ };
36
+ options: string[];
37
+ description: string;
38
+ table: {
39
+ category: string;
40
+ defaultValue: {
41
+ summary: string;
42
+ };
43
+ };
44
+ };
45
+ name: {
46
+ control: {
47
+ type: string;
48
+ };
49
+ options: string[];
50
+ description: string;
51
+ table: {
52
+ category: string;
53
+ };
54
+ };
55
+ };
56
+ };
57
+ export default _default;
58
+ export declare const Icon: {
59
+ args: {
60
+ name: string;
61
+ size: string;
62
+ color: string;
63
+ disabled: boolean;
64
+ };
65
+ };
@@ -0,0 +1,43 @@
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
+ size: {
10
+ control: {
11
+ type: string;
12
+ };
13
+ options: string[];
14
+ description: string;
15
+ table: {
16
+ category: string;
17
+ defaultValue: {
18
+ summary: string;
19
+ };
20
+ };
21
+ };
22
+ color: {
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
+ };
35
+ };
36
+ };
37
+ export default _default;
38
+ export declare const LoaderCircle: {
39
+ args: {
40
+ size: string;
41
+ color: string;
42
+ };
43
+ };
@@ -0,0 +1,76 @@
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
+ inverted: {
15
+ control: string;
16
+ description: string;
17
+ table: {
18
+ category: string;
19
+ defaultValue: {
20
+ summary: string;
21
+ };
22
+ };
23
+ };
24
+ size: {
25
+ control: {
26
+ type: string;
27
+ };
28
+ options: string[];
29
+ description: string;
30
+ table: {
31
+ category: string;
32
+ defaultValue: {
33
+ summary: string;
34
+ };
35
+ };
36
+ };
37
+ spotColor: {
38
+ control: {
39
+ type: string;
40
+ };
41
+ options: string[];
42
+ description: string;
43
+ table: {
44
+ category: string;
45
+ defaultValue: {
46
+ summary: string;
47
+ };
48
+ };
49
+ };
50
+ level: {
51
+ control: {
52
+ type: string;
53
+ min: number;
54
+ max: number;
55
+ step: number;
56
+ };
57
+ description: string;
58
+ table: {
59
+ category: string;
60
+ defaultValue: {
61
+ summary: string;
62
+ };
63
+ };
64
+ };
65
+ };
66
+ };
67
+ export default _default;
68
+ export declare const Display: {
69
+ args: {
70
+ label: string;
71
+ size: string;
72
+ level: number;
73
+ spotColor: string;
74
+ inverted: boolean;
75
+ };
76
+ };
@@ -0,0 +1,90 @@
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
+ inverted: {
15
+ control: string;
16
+ description: string;
17
+ table: {
18
+ category: string;
19
+ defaultValue: {
20
+ summary: string;
21
+ };
22
+ };
23
+ };
24
+ size: {
25
+ control: {
26
+ type: string;
27
+ };
28
+ options: string[];
29
+ description: string;
30
+ table: {
31
+ category: string;
32
+ defaultValue: {
33
+ summary: string;
34
+ };
35
+ };
36
+ };
37
+ weight: {
38
+ control: {
39
+ type: string;
40
+ };
41
+ options: string[];
42
+ description: string;
43
+ table: {
44
+ category: string;
45
+ defaultValue: {
46
+ summary: string;
47
+ };
48
+ };
49
+ };
50
+ spotColor: {
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
+ };
63
+ level: {
64
+ control: {
65
+ type: string;
66
+ min: number;
67
+ max: number;
68
+ step: number;
69
+ };
70
+ description: string;
71
+ table: {
72
+ category: string;
73
+ defaultValue: {
74
+ summary: string;
75
+ };
76
+ };
77
+ };
78
+ };
79
+ };
80
+ export default _default;
81
+ export declare const Heading: {
82
+ args: {
83
+ label: string;
84
+ size: string;
85
+ weight: string;
86
+ level: number;
87
+ spotColor: string;
88
+ inverted: boolean;
89
+ };
90
+ };
@@ -0,0 +1,74 @@
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
+ inverted: {
15
+ control: string;
16
+ description: string;
17
+ table: {
18
+ category: string;
19
+ defaultValue: {
20
+ summary: string;
21
+ };
22
+ };
23
+ };
24
+ size: {
25
+ control: {
26
+ type: string;
27
+ };
28
+ options: string[];
29
+ description: string;
30
+ table: {
31
+ category: string;
32
+ defaultValue: {
33
+ summary: string;
34
+ };
35
+ };
36
+ };
37
+ spotColor: {
38
+ control: {
39
+ type: string;
40
+ };
41
+ options: string[];
42
+ description: string;
43
+ table: {
44
+ category: string;
45
+ defaultValue: {
46
+ summary: string;
47
+ };
48
+ };
49
+ };
50
+ color: {
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
+ };
63
+ };
64
+ };
65
+ export default _default;
66
+ export declare const Paragraph: {
67
+ args: {
68
+ label: string;
69
+ size: string;
70
+ spotColor: string;
71
+ inverted: boolean;
72
+ color: string;
73
+ };
74
+ };
@@ -1 +1,2 @@
1
1
  export declare function format(first: string, middle: string, last: string): string;
2
+ export declare function getColorsWithDepths(): string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rededor/cura",
3
- "version": "0.4.6",
3
+ "version": "0.4.7",
4
4
  "description": "Cura Design System",
5
5
  "author": "Rede D`Or São Luiz",
6
6
  "license": "MIT",
@@ -50,5 +50,5 @@
50
50
  "storybook": "^7.6.7",
51
51
  "svgo": "^3.0.1"
52
52
  },
53
- "gitHead": "5ab15b8bc90c3e5520e070b527d31a3186149caf"
53
+ "gitHead": "264ee544164fe8de70d006d2a76edfca8baf21fd"
54
54
  }