@sk-web-gui/core 1.0.3 → 1.1.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.
Files changed (266) hide show
  1. package/dist/cjs/base.js +6 -1
  2. package/dist/cjs/base.js.map +1 -1
  3. package/dist/cjs/colors.js +5 -1
  4. package/dist/cjs/colors.js.map +1 -1
  5. package/dist/cjs/components/accordion.js +97 -20
  6. package/dist/cjs/components/accordion.js.map +1 -1
  7. package/dist/cjs/components/alert.js +5 -1
  8. package/dist/cjs/components/alert.js.map +1 -1
  9. package/dist/cjs/components/avatar.js +5 -1
  10. package/dist/cjs/components/avatar.js.map +1 -1
  11. package/dist/cjs/components/badge.js +5 -1
  12. package/dist/cjs/components/badge.js.map +1 -1
  13. package/dist/cjs/components/breadcrumb.js +5 -1
  14. package/dist/cjs/components/breadcrumb.js.map +1 -1
  15. package/dist/cjs/components/button-group.js +5 -1
  16. package/dist/cjs/components/button-group.js.map +1 -1
  17. package/dist/cjs/components/button.js +5 -1
  18. package/dist/cjs/components/button.js.map +1 -1
  19. package/dist/cjs/components/card.js +5 -1
  20. package/dist/cjs/components/card.js.map +1 -1
  21. package/dist/cjs/components/checkbox.js +5 -1
  22. package/dist/cjs/components/checkbox.js.map +1 -1
  23. package/dist/cjs/components/chip.js +41 -0
  24. package/dist/cjs/components/chip.js.map +1 -0
  25. package/dist/cjs/components/code.js +5 -1
  26. package/dist/cjs/components/code.js.map +1 -1
  27. package/dist/cjs/components/combobox.js +10 -1
  28. package/dist/cjs/components/combobox.js.map +1 -1
  29. package/dist/cjs/components/cookie-consent.js +5 -1
  30. package/dist/cjs/components/cookie-consent.js.map +1 -1
  31. package/dist/cjs/components/dialog.js +5 -1
  32. package/dist/cjs/components/dialog.js.map +1 -1
  33. package/dist/cjs/components/divider.js +5 -1
  34. package/dist/cjs/components/divider.js.map +1 -1
  35. package/dist/cjs/components/dot.js +5 -1
  36. package/dist/cjs/components/dot.js.map +1 -1
  37. package/dist/cjs/components/filter.js +5 -1
  38. package/dist/cjs/components/filter.js.map +1 -1
  39. package/dist/cjs/components/footer.js +5 -1
  40. package/dist/cjs/components/footer.js.map +1 -1
  41. package/dist/cjs/components/forms.js +5 -1
  42. package/dist/cjs/components/forms.js.map +1 -1
  43. package/dist/cjs/components/header.js +5 -1
  44. package/dist/cjs/components/header.js.map +1 -1
  45. package/dist/cjs/components/icon.js +5 -1
  46. package/dist/cjs/components/icon.js.map +1 -1
  47. package/dist/cjs/components/input.js +17 -10
  48. package/dist/cjs/components/input.js.map +1 -1
  49. package/dist/cjs/components/kbd.js +5 -1
  50. package/dist/cjs/components/kbd.js.map +1 -1
  51. package/dist/cjs/components/label.js +5 -1
  52. package/dist/cjs/components/label.js.map +1 -1
  53. package/dist/cjs/components/link.js +5 -1
  54. package/dist/cjs/components/link.js.map +1 -1
  55. package/dist/cjs/components/list.js +5 -1
  56. package/dist/cjs/components/list.js.map +1 -1
  57. package/dist/cjs/components/logo.js +5 -1
  58. package/dist/cjs/components/logo.js.map +1 -1
  59. package/dist/cjs/components/menu-vertical.js +7 -6
  60. package/dist/cjs/components/menu-vertical.js.map +1 -1
  61. package/dist/cjs/components/menubar.js +7 -3
  62. package/dist/cjs/components/menubar.js.map +1 -1
  63. package/dist/cjs/components/modal.js +5 -1
  64. package/dist/cjs/components/modal.js.map +1 -1
  65. package/dist/cjs/components/pagination.js +5 -1
  66. package/dist/cjs/components/pagination.js.map +1 -1
  67. package/dist/cjs/components/popup-menu.js +5 -1
  68. package/dist/cjs/components/popup-menu.js.map +1 -1
  69. package/dist/cjs/components/progress-bar.js +5 -1
  70. package/dist/cjs/components/progress-bar.js.map +1 -1
  71. package/dist/cjs/components/progress-stepper.js +5 -1
  72. package/dist/cjs/components/progress-stepper.js.map +1 -1
  73. package/dist/cjs/components/radio.js +5 -1
  74. package/dist/cjs/components/radio.js.map +1 -1
  75. package/dist/cjs/components/search-field.js +5 -1
  76. package/dist/cjs/components/search-field.js.map +1 -1
  77. package/dist/cjs/components/select.js +5 -1
  78. package/dist/cjs/components/select.js.map +1 -1
  79. package/dist/cjs/components/snackbar.js +5 -1
  80. package/dist/cjs/components/snackbar.js.map +1 -1
  81. package/dist/cjs/components/spinner.js +5 -1
  82. package/dist/cjs/components/spinner.js.map +1 -1
  83. package/dist/cjs/components/switch.js +5 -1
  84. package/dist/cjs/components/switch.js.map +1 -1
  85. package/dist/cjs/components/table.js +5 -1
  86. package/dist/cjs/components/table.js.map +1 -1
  87. package/dist/cjs/components/tabs.js +12 -57
  88. package/dist/cjs/components/tabs.js.map +1 -1
  89. package/dist/cjs/components/tooltip.js +5 -1
  90. package/dist/cjs/components/tooltip.js.map +1 -1
  91. package/dist/cjs/components/user-menu.js +5 -1
  92. package/dist/cjs/components/user-menu.js.map +1 -1
  93. package/dist/cjs/components/zebratable.js +5 -1
  94. package/dist/cjs/components/zebratable.js.map +1 -1
  95. package/dist/cjs/index.js +10 -7
  96. package/dist/cjs/index.js.map +1 -1
  97. package/dist/cjs/plugin.js +56 -56
  98. package/dist/cjs/plugin.js.map +1 -1
  99. package/dist/cjs/preset.js +10 -2
  100. package/dist/cjs/preset.js.map +1 -1
  101. package/dist/cjs/theme.js +70 -66
  102. package/dist/cjs/theme.js.map +1 -1
  103. package/dist/cjs/units.js +44 -39
  104. package/dist/cjs/units.js.map +1 -1
  105. package/dist/cjs/with-opacity.js +6 -1
  106. package/dist/cjs/with-opacity.js.map +1 -1
  107. package/dist/esm/base.js +3 -1
  108. package/dist/esm/base.js.map +1 -1
  109. package/dist/esm/colors.js +2 -1
  110. package/dist/esm/colors.js.map +1 -1
  111. package/dist/esm/components/accordion.js +93 -20
  112. package/dist/esm/components/accordion.js.map +1 -1
  113. package/dist/esm/components/alert.js +1 -1
  114. package/dist/esm/components/alert.js.map +1 -1
  115. package/dist/esm/components/avatar.js +1 -1
  116. package/dist/esm/components/avatar.js.map +1 -1
  117. package/dist/esm/components/badge.js +1 -1
  118. package/dist/esm/components/badge.js.map +1 -1
  119. package/dist/esm/components/breadcrumb.js +1 -1
  120. package/dist/esm/components/breadcrumb.js.map +1 -1
  121. package/dist/esm/components/button-group.js +1 -1
  122. package/dist/esm/components/button-group.js.map +1 -1
  123. package/dist/esm/components/button.js +1 -1
  124. package/dist/esm/components/button.js.map +1 -1
  125. package/dist/esm/components/card.js +1 -1
  126. package/dist/esm/components/card.js.map +1 -1
  127. package/dist/esm/components/checkbox.js +1 -1
  128. package/dist/esm/components/checkbox.js.map +1 -1
  129. package/dist/esm/components/chip.js +35 -0
  130. package/dist/esm/components/chip.js.map +1 -0
  131. package/dist/esm/components/code.js +1 -1
  132. package/dist/esm/components/code.js.map +1 -1
  133. package/dist/esm/components/combobox.js +6 -1
  134. package/dist/esm/components/combobox.js.map +1 -1
  135. package/dist/esm/components/cookie-consent.js +1 -1
  136. package/dist/esm/components/cookie-consent.js.map +1 -1
  137. package/dist/esm/components/dialog.js +1 -1
  138. package/dist/esm/components/dialog.js.map +1 -1
  139. package/dist/esm/components/divider.js +1 -1
  140. package/dist/esm/components/divider.js.map +1 -1
  141. package/dist/esm/components/dot.js +1 -1
  142. package/dist/esm/components/dot.js.map +1 -1
  143. package/dist/esm/components/filter.js +1 -1
  144. package/dist/esm/components/filter.js.map +1 -1
  145. package/dist/esm/components/footer.js +1 -1
  146. package/dist/esm/components/footer.js.map +1 -1
  147. package/dist/esm/components/forms.js +1 -1
  148. package/dist/esm/components/forms.js.map +1 -1
  149. package/dist/esm/components/header.js +1 -1
  150. package/dist/esm/components/header.js.map +1 -1
  151. package/dist/esm/components/icon.js +1 -1
  152. package/dist/esm/components/icon.js.map +1 -1
  153. package/dist/esm/components/input.js +13 -10
  154. package/dist/esm/components/input.js.map +1 -1
  155. package/dist/esm/components/kbd.js +1 -1
  156. package/dist/esm/components/kbd.js.map +1 -1
  157. package/dist/esm/components/label.js +1 -1
  158. package/dist/esm/components/label.js.map +1 -1
  159. package/dist/esm/components/link.js +1 -1
  160. package/dist/esm/components/link.js.map +1 -1
  161. package/dist/esm/components/list.js +1 -1
  162. package/dist/esm/components/list.js.map +1 -1
  163. package/dist/esm/components/logo.js +1 -1
  164. package/dist/esm/components/logo.js.map +1 -1
  165. package/dist/esm/components/menu-vertical.js +3 -6
  166. package/dist/esm/components/menu-vertical.js.map +1 -1
  167. package/dist/esm/components/menubar.js +3 -3
  168. package/dist/esm/components/menubar.js.map +1 -1
  169. package/dist/esm/components/modal.js +1 -1
  170. package/dist/esm/components/modal.js.map +1 -1
  171. package/dist/esm/components/pagination.js +1 -1
  172. package/dist/esm/components/pagination.js.map +1 -1
  173. package/dist/esm/components/popup-menu.js +1 -1
  174. package/dist/esm/components/popup-menu.js.map +1 -1
  175. package/dist/esm/components/progress-bar.js +1 -1
  176. package/dist/esm/components/progress-bar.js.map +1 -1
  177. package/dist/esm/components/progress-stepper.js +1 -1
  178. package/dist/esm/components/progress-stepper.js.map +1 -1
  179. package/dist/esm/components/radio.js +1 -1
  180. package/dist/esm/components/radio.js.map +1 -1
  181. package/dist/esm/components/search-field.js +1 -1
  182. package/dist/esm/components/search-field.js.map +1 -1
  183. package/dist/esm/components/select.js +1 -1
  184. package/dist/esm/components/select.js.map +1 -1
  185. package/dist/esm/components/snackbar.js +1 -1
  186. package/dist/esm/components/snackbar.js.map +1 -1
  187. package/dist/esm/components/spinner.js +1 -1
  188. package/dist/esm/components/spinner.js.map +1 -1
  189. package/dist/esm/components/switch.js +1 -1
  190. package/dist/esm/components/switch.js.map +1 -1
  191. package/dist/esm/components/table.js +1 -1
  192. package/dist/esm/components/table.js.map +1 -1
  193. package/dist/esm/components/tabs.js +8 -57
  194. package/dist/esm/components/tabs.js.map +1 -1
  195. package/dist/esm/components/tooltip.js +1 -1
  196. package/dist/esm/components/tooltip.js.map +1 -1
  197. package/dist/esm/components/user-menu.js +1 -1
  198. package/dist/esm/components/user-menu.js.map +1 -1
  199. package/dist/esm/components/zebratable.js +1 -1
  200. package/dist/esm/components/zebratable.js.map +1 -1
  201. package/dist/esm/index.js +4 -7
  202. package/dist/esm/index.js.map +1 -1
  203. package/dist/esm/plugin.js +50 -54
  204. package/dist/esm/plugin.js.map +1 -1
  205. package/dist/esm/preset.js +5 -2
  206. package/dist/esm/preset.js.map +1 -1
  207. package/dist/esm/theme.js +25 -26
  208. package/dist/esm/theme.js.map +1 -1
  209. package/dist/esm/units.js +41 -39
  210. package/dist/esm/units.js.map +1 -1
  211. package/dist/esm/with-opacity.js +2 -1
  212. package/dist/esm/with-opacity.js.map +1 -1
  213. package/dist/types/base.d.ts +3 -2
  214. package/dist/types/colors.d.ts +559 -799
  215. package/dist/types/components/accordion.d.ts +90 -18
  216. package/dist/types/components/alert.d.ts +17 -6
  217. package/dist/types/components/avatar.d.ts +25 -3
  218. package/dist/types/components/badge.d.ts +20 -3
  219. package/dist/types/components/breadcrumb.d.ts +1 -2
  220. package/dist/types/components/button-group.d.ts +1 -2
  221. package/dist/types/components/button.d.ts +30 -4
  222. package/dist/types/components/card.d.ts +82 -3
  223. package/dist/types/components/checkbox.d.ts +1 -2
  224. package/dist/types/components/chip.d.ts +34 -0
  225. package/dist/types/components/code.d.ts +1 -2
  226. package/dist/types/components/combobox.d.ts +6 -2
  227. package/dist/types/components/cookie-consent.d.ts +1 -2
  228. package/dist/types/components/dialog.d.ts +1 -2
  229. package/dist/types/components/divider.d.ts +1 -2
  230. package/dist/types/components/dot.d.ts +12 -4
  231. package/dist/types/components/filter.d.ts +1 -2
  232. package/dist/types/components/footer.d.ts +1 -2
  233. package/dist/types/components/forms.d.ts +1 -2
  234. package/dist/types/components/header.d.ts +1 -2
  235. package/dist/types/components/icon.d.ts +37 -3
  236. package/dist/types/components/input.d.ts +8 -6
  237. package/dist/types/components/kbd.d.ts +1 -2
  238. package/dist/types/components/label.d.ts +18 -3
  239. package/dist/types/components/link.d.ts +1 -2
  240. package/dist/types/components/list.d.ts +1 -2
  241. package/dist/types/components/logo.d.ts +1 -2
  242. package/dist/types/components/menu-vertical.d.ts +3 -7
  243. package/dist/types/components/menubar.d.ts +26 -3
  244. package/dist/types/components/modal.d.ts +1 -2
  245. package/dist/types/components/pagination.d.ts +1 -2
  246. package/dist/types/components/popup-menu.d.ts +1 -2
  247. package/dist/types/components/progress-bar.d.ts +12 -3
  248. package/dist/types/components/progress-stepper.d.ts +1 -2
  249. package/dist/types/components/radio.d.ts +1 -2
  250. package/dist/types/components/search-field.d.ts +1 -2
  251. package/dist/types/components/select.d.ts +1 -2
  252. package/dist/types/components/snackbar.d.ts +1 -2
  253. package/dist/types/components/spinner.d.ts +9 -3
  254. package/dist/types/components/switch.d.ts +1 -2
  255. package/dist/types/components/table.d.ts +1 -2
  256. package/dist/types/components/tabs.d.ts +8 -58
  257. package/dist/types/components/tooltip.d.ts +1 -2
  258. package/dist/types/components/user-menu.d.ts +1 -2
  259. package/dist/types/components/zebratable.d.ts +1 -2
  260. package/dist/types/index.d.ts +2 -2
  261. package/dist/types/plugin.d.ts +7 -3
  262. package/dist/types/preset.d.ts +6 -4
  263. package/dist/types/theme.d.ts +4 -1719
  264. package/dist/types/units.d.ts +250 -246
  265. package/dist/types/with-opacity.d.ts +3 -3
  266. package/package.json +9 -10
@@ -1,247 +1,251 @@
1
- export let spacing: {
2
- 0: string;
3
- 2: string;
4
- 4: string;
5
- 6: string;
6
- 8: string;
7
- 10: string;
8
- 12: string;
9
- 14: string;
10
- 16: string;
11
- 18: string;
12
- 20: string;
13
- 24: string;
14
- 32: string;
15
- 40: string;
16
- 48: string;
17
- 56: string;
18
- 64: string;
19
- 72: string;
20
- 80: string;
21
- };
22
- export let fontSizes: {
23
- 'display-1': (string | {
24
- lineHeight: string;
25
- fontWeight: number;
26
- })[];
27
- 'display-1-lg': (string | {
28
- lineHeight: string;
29
- fontWeight: number;
30
- })[];
31
- 'display-1-md': (string | {
32
- lineHeight: string;
33
- fontWeight: number;
34
- })[];
35
- 'display-1-sm': (string | {
36
- lineHeight: string;
37
- fontWeight: number;
38
- })[];
39
- 'display-2': (string | {
40
- lineHeight: string;
41
- fontWeight: number;
42
- })[];
43
- 'display-2-lg': (string | {
44
- lineHeight: string;
45
- fontWeight: number;
46
- })[];
47
- 'display-2-md': (string | {
48
- lineHeight: string;
49
- fontWeight: number;
50
- })[];
51
- 'display-2-sm': (string | {
52
- lineHeight: string;
53
- fontWeight: number;
54
- })[];
55
- 'display-3': (string | {
56
- lineHeight: string;
57
- fontWeight: number;
58
- })[];
59
- 'display-3-lg': (string | {
60
- lineHeight: string;
61
- fontWeight: number;
62
- })[];
63
- 'display-3-md': (string | {
64
- lineHeight: string;
65
- fontWeight: number;
66
- })[];
67
- 'display-3-sm': (string | {
68
- lineHeight: string;
69
- fontWeight: number;
70
- })[];
71
- h1: (string | {
72
- lineHeight: string;
73
- fontWeight: number;
74
- })[];
75
- 'h1-lg': (string | {
76
- lineHeight: string;
77
- fontWeight: number;
78
- })[];
79
- 'h1-md': (string | {
80
- lineHeight: string;
81
- fontWeight: number;
82
- })[];
83
- 'h1-sm': (string | {
84
- lineHeight: string;
85
- fontWeight: number;
86
- })[];
87
- h2: (string | {
88
- lineHeight: string;
89
- fontWeight: number;
90
- })[];
91
- 'h2-lg': (string | {
92
- lineHeight: string;
93
- fontWeight: number;
94
- })[];
95
- 'h2-md': (string | {
96
- lineHeight: string;
97
- fontWeight: number;
98
- })[];
99
- 'h2-sm': (string | {
100
- lineHeight: string;
101
- fontWeight: number;
102
- })[];
103
- h3: (string | {
104
- lineHeight: string;
105
- fontWeight: number;
106
- })[];
107
- 'h3-lg': (string | {
108
- lineHeight: string;
109
- fontWeight: number;
110
- })[];
111
- 'h3-md': (string | {
112
- lineHeight: string;
113
- fontWeight: number;
114
- })[];
115
- 'h3-sm': (string | {
116
- lineHeight: string;
117
- fontWeight: number;
118
- })[];
119
- h4: (string | {
120
- lineHeight: string;
121
- fontWeight: number;
122
- })[];
123
- 'h4-lg': (string | {
124
- lineHeight: string;
125
- fontWeight: number;
126
- })[];
127
- 'h4-md': (string | {
128
- lineHeight: string;
129
- fontWeight: number;
130
- })[];
131
- 'h4-sm': (string | {
132
- lineHeight: string;
133
- fontWeight: number;
134
- })[];
135
- 'label-large': (string | {
136
- lineHeight: string;
137
- fontWeight: number;
138
- })[];
139
- 'label-medium': (string | {
140
- lineHeight: string;
141
- fontWeight: number;
142
- })[];
143
- 'label-small': (string | {
144
- lineHeight: string;
145
- fontWeight: number;
146
- })[];
147
- 'input-large': (string | {
148
- lineHeight: string;
149
- fontWeight: number;
150
- })[];
151
- 'input-medium': (string | {
152
- lineHeight: string;
153
- fontWeight: number;
154
- })[];
155
- 'input-small': (string | {
156
- lineHeight: string;
157
- fontWeight: number;
158
- })[];
159
- lead: string[];
160
- base: string[];
161
- large: string[];
162
- small: string[];
163
- };
164
- export let lineHeights: {
165
- 'display-1': string;
166
- 'display-1-lg': string;
167
- 'display-1-md': string;
168
- 'display-1-sm': string;
169
- 'display-2': string;
170
- 'display-2-lg': string;
171
- 'display-2-md': string;
172
- 'display-2-sm': string;
173
- 'display-3': string;
174
- 'display-3-lg': string;
175
- 'display-3-md': string;
176
- 'display-3-sm': string;
177
- h1: string;
178
- 'h1-lg': string;
179
- 'h1-md': string;
180
- 'h1-sm': string;
181
- h2: string;
182
- 'h2-lg': string;
183
- 'h2-md': string;
184
- 'h2-sm': string;
185
- h3: string;
186
- 'h3-lg': string;
187
- 'h3-md': string;
188
- 'h3-sm': string;
189
- h4: string;
190
- 'h4-lg': string;
191
- 'h4-md': string;
192
- 'h4-sm': string;
193
- 'label-large': string;
194
- 'label-medium': string;
195
- 'label-small': string;
196
- 'input-large': string;
197
- 'input-medium': string;
198
- 'input-small': string;
199
- lead: string;
200
- base: string;
201
- large: string;
202
- small: string;
203
- };
204
- export let radius: {
205
- DEFAULT: string;
206
- full: string;
207
- none: string;
208
- circular: string;
209
- 'circular-lg': string;
210
- 'circular-md': string;
211
- 'circular-sm': string;
212
- button: string;
213
- 'button-lg': string;
214
- 'button-md': string;
215
- 'button-sm': string;
216
- cards: string;
217
- 'cards-lg': string;
218
- 'cards-md': string;
219
- 'cards-sm': string;
220
- utility: string;
221
- 'utility-lg': string;
222
- 'utility-md': string;
223
- 'utility-sm': string;
224
- groups: string;
225
- 'groups-lg': string;
226
- 'groups-md': string;
227
- 'groups-sm': string;
228
- 0: string;
229
- 2: string;
230
- 4: string;
231
- 6: string;
232
- 8: string;
233
- 10: string;
234
- 12: string;
235
- 14: string;
236
- 16: string;
237
- 18: string;
238
- 20: string;
239
- 24: string;
240
- 32: string;
241
- 40: string;
242
- 48: string;
243
- 56: string;
244
- 64: string;
245
- 72: string;
246
- 80: string;
1
+ declare const _units: {
2
+ spacing: {
3
+ '0': string;
4
+ '2': string;
5
+ '4': string;
6
+ '6': string;
7
+ '8': string;
8
+ '10': string;
9
+ '12': string;
10
+ '14': string;
11
+ '16': string;
12
+ '18': string;
13
+ '20': string;
14
+ '24': string;
15
+ '32': string;
16
+ '40': string;
17
+ '48': string;
18
+ '56': string;
19
+ '64': string;
20
+ '72': string;
21
+ '80': string;
22
+ };
23
+ fontSizes: {
24
+ 'display-1': (string | {
25
+ lineHeight: string;
26
+ fontWeight: number;
27
+ })[];
28
+ 'display-1-lg': (string | {
29
+ lineHeight: string;
30
+ fontWeight: number;
31
+ })[];
32
+ 'display-1-md': (string | {
33
+ lineHeight: string;
34
+ fontWeight: number;
35
+ })[];
36
+ 'display-1-sm': (string | {
37
+ lineHeight: string;
38
+ fontWeight: number;
39
+ })[];
40
+ 'display-2': (string | {
41
+ lineHeight: string;
42
+ fontWeight: number;
43
+ })[];
44
+ 'display-2-lg': (string | {
45
+ lineHeight: string;
46
+ fontWeight: number;
47
+ })[];
48
+ 'display-2-md': (string | {
49
+ lineHeight: string;
50
+ fontWeight: number;
51
+ })[];
52
+ 'display-2-sm': (string | {
53
+ lineHeight: string;
54
+ fontWeight: number;
55
+ })[];
56
+ 'display-3': (string | {
57
+ lineHeight: string;
58
+ fontWeight: number;
59
+ })[];
60
+ 'display-3-lg': (string | {
61
+ lineHeight: string;
62
+ fontWeight: number;
63
+ })[];
64
+ 'display-3-md': (string | {
65
+ lineHeight: string;
66
+ fontWeight: number;
67
+ })[];
68
+ 'display-3-sm': (string | {
69
+ lineHeight: string;
70
+ fontWeight: number;
71
+ })[];
72
+ h1: (string | {
73
+ lineHeight: string;
74
+ fontWeight: number;
75
+ })[];
76
+ 'h1-lg': (string | {
77
+ lineHeight: string;
78
+ fontWeight: number;
79
+ })[];
80
+ 'h1-md': (string | {
81
+ lineHeight: string;
82
+ fontWeight: number;
83
+ })[];
84
+ 'h1-sm': (string | {
85
+ lineHeight: string;
86
+ fontWeight: number;
87
+ })[];
88
+ h2: (string | {
89
+ lineHeight: string;
90
+ fontWeight: number;
91
+ })[];
92
+ 'h2-lg': (string | {
93
+ lineHeight: string;
94
+ fontWeight: number;
95
+ })[];
96
+ 'h2-md': (string | {
97
+ lineHeight: string;
98
+ fontWeight: number;
99
+ })[];
100
+ 'h2-sm': (string | {
101
+ lineHeight: string;
102
+ fontWeight: number;
103
+ })[];
104
+ h3: (string | {
105
+ lineHeight: string;
106
+ fontWeight: number;
107
+ })[];
108
+ 'h3-lg': (string | {
109
+ lineHeight: string;
110
+ fontWeight: number;
111
+ })[];
112
+ 'h3-md': (string | {
113
+ lineHeight: string;
114
+ fontWeight: number;
115
+ })[];
116
+ 'h3-sm': (string | {
117
+ lineHeight: string;
118
+ fontWeight: number;
119
+ })[];
120
+ h4: (string | {
121
+ lineHeight: string;
122
+ fontWeight: number;
123
+ })[];
124
+ 'h4-lg': (string | {
125
+ lineHeight: string;
126
+ fontWeight: number;
127
+ })[];
128
+ 'h4-md': (string | {
129
+ lineHeight: string;
130
+ fontWeight: number;
131
+ })[];
132
+ 'h4-sm': (string | {
133
+ lineHeight: string;
134
+ fontWeight: number;
135
+ })[];
136
+ 'label-large': (string | {
137
+ lineHeight: string;
138
+ fontWeight: number;
139
+ })[];
140
+ 'label-medium': (string | {
141
+ lineHeight: string;
142
+ fontWeight: number;
143
+ })[];
144
+ 'label-small': (string | {
145
+ lineHeight: string;
146
+ fontWeight: number;
147
+ })[];
148
+ 'input-large': (string | {
149
+ lineHeight: string;
150
+ fontWeight: number;
151
+ })[];
152
+ 'input-medium': (string | {
153
+ lineHeight: string;
154
+ fontWeight: number;
155
+ })[];
156
+ 'input-small': (string | {
157
+ lineHeight: string;
158
+ fontWeight: number;
159
+ })[];
160
+ lead: string[];
161
+ base: string[];
162
+ large: string[];
163
+ small: string[];
164
+ };
165
+ lineHeights: {
166
+ 'display-1': string;
167
+ 'display-1-lg': string;
168
+ 'display-1-md': string;
169
+ 'display-1-sm': string;
170
+ 'display-2': string;
171
+ 'display-2-lg': string;
172
+ 'display-2-md': string;
173
+ 'display-2-sm': string;
174
+ 'display-3': string;
175
+ 'display-3-lg': string;
176
+ 'display-3-md': string;
177
+ 'display-3-sm': string;
178
+ h1: string;
179
+ 'h1-lg': string;
180
+ 'h1-md': string;
181
+ 'h1-sm': string;
182
+ h2: string;
183
+ 'h2-lg': string;
184
+ 'h2-md': string;
185
+ 'h2-sm': string;
186
+ h3: string;
187
+ 'h3-lg': string;
188
+ 'h3-md': string;
189
+ 'h3-sm': string;
190
+ h4: string;
191
+ 'h4-lg': string;
192
+ 'h4-md': string;
193
+ 'h4-sm': string;
194
+ 'label-large': string;
195
+ 'label-medium': string;
196
+ 'label-small': string;
197
+ 'input-large': string;
198
+ 'input-medium': string;
199
+ 'input-small': string;
200
+ lead: string;
201
+ base: string;
202
+ large: string;
203
+ small: string;
204
+ };
205
+ radius: {
206
+ DEFAULT: string;
207
+ full: string;
208
+ none: string;
209
+ circular: string;
210
+ 'circular-lg': string;
211
+ 'circular-md': string;
212
+ 'circular-sm': string;
213
+ button: string;
214
+ 'button-lg': string;
215
+ 'button-md': string;
216
+ 'button-sm': string;
217
+ cards: string;
218
+ 'cards-lg': string;
219
+ 'cards-md': string;
220
+ 'cards-sm': string;
221
+ utility: string;
222
+ 'utility-lg': string;
223
+ 'utility-md': string;
224
+ 'utility-sm': string;
225
+ groups: string;
226
+ 'groups-lg': string;
227
+ 'groups-md': string;
228
+ 'groups-sm': string;
229
+ '0': string;
230
+ '2': string;
231
+ '4': string;
232
+ '6': string;
233
+ '8': string;
234
+ '10': string;
235
+ '12': string;
236
+ '14': string;
237
+ '16': string;
238
+ '18': string;
239
+ '20': string;
240
+ '24': string;
241
+ '32': string;
242
+ '40': string;
243
+ '48': string;
244
+ '56': string;
245
+ '64': string;
246
+ '72': string;
247
+ '80': string;
248
+ };
247
249
  };
250
+ declare const units: typeof _units;
251
+ export { units };
@@ -1,4 +1,4 @@
1
- declare function _exports(variableName: any): ({ opacityValue }: {
2
- opacityValue: any;
1
+ declare const withOpacity: (variableName: string) => ({ opacityValue }: {
2
+ opacityValue: string;
3
3
  }) => string;
4
- export = _exports;
4
+ export default withOpacity;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sk-web-gui/core",
3
- "version": "1.0.3",
3
+ "version": "1.1.0",
4
4
  "license": "MIT",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -23,29 +23,28 @@
23
23
  "url": "git+https://github.com/vechai/sk-web-gui.git"
24
24
  },
25
25
  "scripts": {
26
- "build2": "node scripts/build.js",
27
26
  "version": "yarn build",
28
27
  "build": "concurrently yarn:build:*",
29
- "build:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .js -d dist/esm --source-maps",
30
- "build:cjs": "cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .js -d dist/cjs --source-maps",
28
+ "build:esm": "cross-env BABEL_ENV=esm babel src --root-mode upward --extensions .ts -d dist/esm --source-maps",
29
+ "build:cjs": "cross-env BABEL_ENV=cjs babel src --root-mode upward --extensions .ts -d dist/cjs --source-maps",
31
30
  "build:types": "tsc --emitDeclarationOnly --declaration --allowJs --declarationDir dist/types"
32
31
  },
33
32
  "bugs": {
34
33
  "url": "https://github.com/vechai/sk-web-gui/issues"
35
34
  },
36
35
  "peerDependencies": {
37
- "tailwindcss": "^3.3.5"
36
+ "tailwindcss": "^3.4.0"
38
37
  },
39
38
  "devDependencies": {
40
39
  "autoprefixer": "^10.4.16",
41
- "clean-css": "^5.3.2",
42
- "postcss": "^8.4.31",
40
+ "clean-css": "^5.3.3",
41
+ "postcss": "^8.4.32",
43
42
  "postcss-import": "^15.1.0",
44
- "tailwindcss": "^3.3.5"
43
+ "tailwindcss": "^3.4.0"
45
44
  },
46
45
  "dependencies": {
47
- "@sk-web-gui/theme": "1.0.1",
46
+ "@sk-web-gui/theme": "1.0.2",
48
47
  "mini-svg-data-uri": "^1.4.4"
49
48
  },
50
- "gitHead": "377c0c836655f79346778554fff6693447ae89f4"
49
+ "gitHead": "01eea9b892fab19394af7dd7545b174435ad893a"
51
50
  }