@rededor/cura 0.4.5 → 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 (92) hide show
  1. package/dist/assets/icons/iconset-default-list.ts +1 -1
  2. package/dist/assets/icons/iconset-default-tmp.svg +951 -0
  3. package/dist/assets/icons/iconset-default.svg +1 -1
  4. package/dist/cjs/{app-globals-858f45bf.js → app-globals-11fb6b23.js} +4 -4
  5. package/dist/cjs/{app-globals-858f45bf.js.map → app-globals-11fb6b23.js.map} +1 -1
  6. package/dist/cjs/cura-button_10.cjs.entry.js +1 -1
  7. package/dist/cjs/cura-button_10.cjs.entry.js.map +1 -1
  8. package/dist/cjs/cura.cjs.js +1 -1
  9. package/dist/cjs/loader.cjs.js +1 -1
  10. package/dist/collection/api/theme-presets/static.js +3 -3
  11. package/dist/collection/api/theme-presets/static.js.map +1 -1
  12. package/dist/collection/assets/icons/iconset-default-list.js +1 -1
  13. package/dist/collection/assets/icons/iconset-default-list.js.map +1 -1
  14. package/dist/collection/assets/icons/iconset-default-tmp.svg +951 -0
  15. package/dist/collection/assets/icons/iconset-default.svg +1 -1
  16. package/dist/collection/assets-raw/icons/default/airdrop.svg +6 -0
  17. package/dist/collection/assets-raw/icons/default/doc.svg +5 -2
  18. package/dist/collection/assets-raw/icons/default/examDoc.svg +8 -0
  19. package/dist/collection/assets-raw/icons/default/maintenance.svg +4 -0
  20. package/dist/collection/assets-raw/icons/default/profile.svg +2 -2
  21. package/dist/collection/assets-raw/icons/default/profileCircle.svg +4 -0
  22. package/dist/collection/assets-raw/icons/default/scheduleCheck.svg +8 -0
  23. package/dist/collection/assets-raw/icons/default/telegram.svg +3 -0
  24. package/dist/collection/assets-raw/icons/default/twitter.svg +3 -1
  25. package/dist/collection/components/buttons/cura-button/cura-button.stories.js +168 -0
  26. package/dist/collection/components/buttons/cura-button/cura-button.stories.js.map +1 -0
  27. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js +168 -0
  28. package/dist/collection/components/buttons/cura-button-outline/cura-button-outline.stories.js.map +1 -0
  29. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js +168 -0
  30. package/dist/collection/components/buttons/cura-button-transparent/cura-button-transparent.stories.js.map +1 -0
  31. package/dist/collection/components/cura-icon/cura-icon.stories.js +75 -0
  32. package/dist/collection/components/cura-icon/cura-icon.stories.js.map +1 -0
  33. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js +56 -0
  34. package/dist/collection/components/loaders/cura-loader-circle/cura-loader-circle.stories.js.map +1 -0
  35. package/dist/collection/components/text/cura-display/cura-display.stories.js +80 -0
  36. package/dist/collection/components/text/cura-display/cura-display.stories.js.map +1 -0
  37. package/dist/collection/components/text/cura-heading/cura-heading.stories.js +91 -0
  38. package/dist/collection/components/text/cura-heading/cura-heading.stories.js.map +1 -0
  39. package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js +94 -0
  40. package/dist/collection/components/text/cura-paragraph/cura-paragraph.stories.js.map +1 -0
  41. package/dist/collection/stories/Button.js +21 -0
  42. package/dist/collection/stories/Button.st.js +50 -0
  43. package/dist/collection/stories/Header.js +47 -0
  44. package/dist/collection/stories/Header.st.js +28 -0
  45. package/dist/collection/stories/Page.js +94 -0
  46. package/dist/collection/stories/Page.st.js +27 -0
  47. package/dist/collection/stories/assets/accessibility.svg +5 -0
  48. package/dist/collection/stories/assets/discord.svg +15 -0
  49. package/dist/collection/stories/assets/github.svg +3 -0
  50. package/dist/collection/stories/assets/tutorials.svg +12 -0
  51. package/dist/collection/stories/assets/youtube.svg +4 -0
  52. package/dist/collection/utils/utils.js +12 -0
  53. package/dist/collection/utils/utils.js.map +1 -1
  54. package/dist/components/cura-icons-view.js +1 -1
  55. package/dist/components/cura-icons-view.js.map +1 -1
  56. package/dist/components/index.js +3 -3
  57. package/dist/components/index.js.map +1 -1
  58. package/dist/cura/cura.esm.js +1 -1
  59. package/dist/cura/cura.js +1 -1
  60. package/dist/cura/{p-aa9ad33b.system.js → p-0bb24006.system.js} +2 -2
  61. package/dist/cura/{p-aa9ad33b.system.js.map → p-0bb24006.system.js.map} +1 -1
  62. package/dist/cura/{p-deafb1b5.js → p-0e6b48da.js} +2 -2
  63. package/dist/cura/{p-deafb1b5.js.map → p-0e6b48da.js.map} +1 -1
  64. package/dist/cura/{p-b1ae12e5.system.js → p-19176c44.system.js} +2 -2
  65. package/dist/cura/{p-2b6e4727.entry.js → p-d184517b.entry.js} +2 -2
  66. package/dist/cura/{p-2b6e4727.entry.js.map → p-d184517b.entry.js.map} +1 -1
  67. package/dist/cura/{p-8e62c529.system.entry.js → p-eec653ca.system.entry.js} +2 -2
  68. package/dist/cura/{p-8e62c529.system.entry.js.map → p-eec653ca.system.entry.js.map} +1 -1
  69. package/dist/esm/{app-globals-66a65edd.js → app-globals-5009a324.js} +4 -4
  70. package/dist/esm/{app-globals-66a65edd.js.map → app-globals-5009a324.js.map} +1 -1
  71. package/dist/esm/cura-button_10.entry.js +1 -1
  72. package/dist/esm/cura-button_10.entry.js.map +1 -1
  73. package/dist/esm/cura.js +1 -1
  74. package/dist/esm/loader.js +1 -1
  75. package/dist/esm-es5/{app-globals-66a65edd.js → app-globals-5009a324.js} +2 -2
  76. package/dist/esm-es5/{app-globals-66a65edd.js.map → app-globals-5009a324.js.map} +1 -1
  77. package/dist/esm-es5/cura-button_10.entry.js +1 -1
  78. package/dist/esm-es5/cura-button_10.entry.js.map +1 -1
  79. package/dist/esm-es5/cura.js +1 -1
  80. package/dist/esm-es5/loader.js +1 -1
  81. package/dist/types/components/buttons/cura-button/cura-button.stories.d.ts +171 -0
  82. package/dist/types/components/buttons/cura-button-outline/cura-button-outline.stories.d.ts +171 -0
  83. package/dist/types/components/buttons/cura-button-transparent/cura-button-transparent.stories.d.ts +171 -0
  84. package/dist/types/components/cura-icon/cura-icon.stories.d.ts +65 -0
  85. package/dist/types/components/loaders/cura-loader-circle/cura-loader-circle.stories.d.ts +43 -0
  86. package/dist/types/components/text/cura-display/cura-display.stories.d.ts +76 -0
  87. package/dist/types/components/text/cura-heading/cura-heading.stories.d.ts +90 -0
  88. package/dist/types/components/text/cura-paragraph/cura-paragraph.stories.d.ts +74 -0
  89. package/dist/types/utils/utils.d.ts +1 -0
  90. package/package.json +15 -3
  91. package/dist/collection/assets-raw/icons/default/profile2.svg +0 -4
  92. /package/dist/cura/{p-b1ae12e5.system.js.map → p-19176c44.system.js.map} +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[];