@jeromefitz/design-system 4.1.4 → 4.1.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (192) hide show
  1. package/Accordion-4ee18be8.d.ts +505 -0
  2. package/Alert-6851b974.d.ts +297 -0
  3. package/AppBar-be17f0ce.d.ts +324 -0
  4. package/{Avatar-9592d3fc.d.ts → Avatar-49ac7d8e.d.ts} +90 -268
  5. package/Badge-af0370f8.d.ts +357 -0
  6. package/Banner-031e4193.d.ts +303 -0
  7. package/Box-ed161a2b.d.ts +251 -0
  8. package/BoxGrab-a0c6b58f.d.ts +251 -0
  9. package/BoxLink-593cc24a.d.ts +251 -0
  10. package/ButtonDemo-dbc35fc7.d.ts +1512 -0
  11. package/Card-15a6c6fc.d.ts +344 -0
  12. package/Carousel-f585a32b.d.ts +256 -0
  13. package/{Checkbox-891cb9bb.d.ts → Checkbox-c10d0f40.d.ts} +90 -268
  14. package/Code-c14ea67d.d.ts +260 -0
  15. package/CommandMenu-c2cfe342.d.ts +3226 -0
  16. package/Container-38fb7e49.d.ts +287 -0
  17. package/ContextMenu-7b2e548d.d.ts +1492 -0
  18. package/ControlGroup-597b643e.d.ts +251 -0
  19. package/DropdownMenu-8cb36b6a.d.ts +2717 -0
  20. package/Flex-77b8491f.d.ts +347 -0
  21. package/FocusArea-d47ba521.d.ts +256 -0
  22. package/Grid-2f151d59.d.ts +411 -0
  23. package/{Heading-b0b8205b.d.ts → Heading-848dbcb9.d.ts} +1 -1
  24. package/{Icon-d48f2f08.d.ts → Icon-b62f4b89.d.ts} +1 -1
  25. package/Icon.types-1480d456.d.ts +377 -0
  26. package/IconButton-899aa9ab.d.ts +382 -0
  27. package/Image-143403e3.d.ts +251 -0
  28. package/Kbd-149a6f3e.d.ts +312 -0
  29. package/Label-5f1c67ba.d.ts +631 -0
  30. package/{Link-9d116ca4.d.ts → Link-426db150.d.ts} +89 -267
  31. package/LoadingDots-fed943e9.d.ts +302 -0
  32. package/Menu-7fe13437.d.ts +1490 -0
  33. package/NavigationMenu-e84374c2.d.ts +4122 -0
  34. package/Overlay.styles-82fedffb.d.ts +497 -0
  35. package/{PageHeading-9c87c946.d.ts → PageHeading-e146e00e.d.ts} +1 -1
  36. package/Panel.styles-bbc4bfaf.d.ts +497 -0
  37. package/{Paragraph-83414284.d.ts → Paragraph-d411737b.d.ts} +1 -1
  38. package/{Paragraph.types-fa0c04ae.d.ts → Paragraph.types-54ab648b.d.ts} +1 -1
  39. package/{Popover-0dff553f.d.ts → Popover-eac2ec74.d.ts} +0 -0
  40. package/{ProgressBar-049c4e95.d.ts → ProgressBar-68a880e5.d.ts} +89 -267
  41. package/Radio-6cefaf19.d.ts +564 -0
  42. package/RadioCard-93a59685.d.ts +262 -0
  43. package/RadioGrid-c8b16e70.d.ts +498 -0
  44. package/Section-b6b35443.d.ts +278 -0
  45. package/Select-e64dce51.d.ts +2218 -0
  46. package/Separator-6659e651.d.ts +328 -0
  47. package/Sheet-fa50617e.d.ts +812 -0
  48. package/Skeleton-14d91960.d.ts +321 -0
  49. package/Slider-f0baefc6.d.ts +260 -0
  50. package/Spotify-dcc9c8c5.d.ts +3765 -0
  51. package/Status-a3815aad.d.ts +287 -0
  52. package/Sub-6a33bd8d.d.ts +251 -0
  53. package/Sup-c826d72c.d.ts +251 -0
  54. package/{SwitchIcon-fff8c972.d.ts → SwitchIcon-7347591b.d.ts} +91 -269
  55. package/TabLink-a331612d.d.ts +290 -0
  56. package/Table-7a405813.d.ts +2043 -0
  57. package/Tabs.styles-13527893.d.ts +752 -0
  58. package/Text-faee46ac.d.ts +381 -0
  59. package/TextArea-d25fb2b3.d.ts +347 -0
  60. package/TextField-f7adffeb.d.ts +381 -0
  61. package/Toaster-e13e0dcc.d.ts +1561 -0
  62. package/Toggle-0ce8252c.d.ts +312 -0
  63. package/ToggleGroup-c29f3012.d.ts +498 -0
  64. package/Toolbar-8397da4c.d.ts +1478 -0
  65. package/TreeItem-6b0fb009.d.ts +274 -0
  66. package/VerifiedBadge-ffb77b5d.d.ts +607 -0
  67. package/components/Accordion/index.d.ts +1 -1
  68. package/components/Alert/index.d.ts +1 -1
  69. package/components/AppBar/index.d.ts +1 -1
  70. package/components/Avatar/index.d.ts +4 -5
  71. package/components/Badge/index.d.ts +1 -1
  72. package/components/Banner/index.d.ts +1 -1
  73. package/components/Box/index.d.ts +1 -1
  74. package/components/BoxGrab/index.d.ts +1 -1
  75. package/components/BoxLink/index.d.ts +1 -1
  76. package/components/Button/index.d.ts +1 -1
  77. package/components/Card/index.d.ts +1 -1
  78. package/components/Carousel/index.d.ts +1 -1
  79. package/components/Checkbox/index.d.ts +3 -4
  80. package/components/Code/index.d.ts +1 -1
  81. package/components/CommandMenu/index.d.ts +1 -1
  82. package/components/Container/index.d.ts +1 -1
  83. package/components/ContextMenu/index.d.ts +1 -2
  84. package/components/ControlGroup/index.d.ts +1 -1
  85. package/components/DropdownMenu/index.d.ts +1 -2
  86. package/components/Flex/index.d.ts +1 -1
  87. package/components/FocusArea/index.d.ts +1 -1
  88. package/components/Grid/index.d.ts +1 -1
  89. package/components/Heading/index.d.ts +4 -5
  90. package/components/Icon/index.d.ts +4 -5
  91. package/components/IconButton/index.d.ts +1 -1
  92. package/components/Image/index.d.ts +1 -1
  93. package/components/Kbd/index.d.ts +1 -1
  94. package/components/Label/index.d.ts +1 -1
  95. package/components/Link/index.d.ts +1 -1
  96. package/components/LoadingDots/index.d.ts +1 -1
  97. package/components/Menu/index.d.ts +1 -2
  98. package/components/NavigationMenu/index.d.ts +4 -5
  99. package/components/Overlay/index.d.ts +1 -1
  100. package/components/PageHeading/index.d.ts +5 -6
  101. package/components/Panel/index.d.ts +1 -1
  102. package/components/Paragraph/index.d.ts +5 -6
  103. package/components/Popover/index.d.ts +2 -4
  104. package/components/ProgressBar/index.d.ts +1 -2
  105. package/components/Radio/index.d.ts +3 -4
  106. package/components/RadioCard/index.d.ts +1 -2
  107. package/components/RadioGrid/index.d.ts +1 -1
  108. package/components/Section/index.d.ts +1 -1
  109. package/components/Select/index.d.ts +1 -1
  110. package/components/Separator/index.d.ts +1 -1
  111. package/components/Sheet/index.d.ts +3 -4
  112. package/components/Skeleton/index.d.ts +1 -1
  113. package/components/Slider/index.d.ts +1 -2
  114. package/components/Status/index.d.ts +1 -1
  115. package/components/Sub/index.d.ts +1 -1
  116. package/components/Sup/index.d.ts +1 -1
  117. package/components/Switch/index.d.ts +3 -4
  118. package/components/TabLink/index.d.ts +1 -1
  119. package/components/Table/index.d.ts +1 -1
  120. package/components/Tabs/index.d.ts +3 -4
  121. package/components/Text/index.d.ts +1 -1
  122. package/components/TextArea/index.d.ts +1 -1
  123. package/components/TextField/index.d.ts +1 -1
  124. package/components/Toast/index.d.ts +1 -1
  125. package/components/Toggle/index.d.ts +1 -1
  126. package/components/ToggleGroup/index.d.ts +1 -1
  127. package/components/Toolbar/index.d.ts +1 -1
  128. package/components/TreeItem/index.d.ts +1 -1
  129. package/components/VerifiedBadge/index.d.ts +1 -2
  130. package/components/index.d.ts +65 -66
  131. package/custom/Card/index.d.ts +1 -1
  132. package/custom/Hero/index.js +1 -1
  133. package/custom/Tooltip/index.d.ts +256 -612
  134. package/custom/index.d.ts +1 -1
  135. package/index.d.ts +66 -67
  136. package/lib/stitches.config.d.ts +1099 -2145
  137. package/package.json +43 -43
  138. package/Accordion-07ffdde8.d.ts +0 -861
  139. package/Alert-2d248f02.d.ts +0 -475
  140. package/AppBar-45d359b4.d.ts +0 -502
  141. package/Badge-85f0a03c.d.ts +0 -535
  142. package/Banner-8bdcae08.d.ts +0 -481
  143. package/Box-0145a25b.d.ts +0 -429
  144. package/BoxGrab-f2016450.d.ts +0 -429
  145. package/BoxLink-01e0e0e1.d.ts +0 -429
  146. package/ButtonDemo-1e0e6216.d.ts +0 -2224
  147. package/Card-12bdd1c0.d.ts +0 -522
  148. package/Carousel-9d6beddc.d.ts +0 -434
  149. package/Code-918ddbd0.d.ts +0 -438
  150. package/CommandMenu-f09be95e.d.ts +0 -5540
  151. package/Container-c9493c19.d.ts +0 -465
  152. package/ContextMenu-59566c09.d.ts +0 -2560
  153. package/ControlGroup-598bde73.d.ts +0 -429
  154. package/DropdownMenu-fc93debb.d.ts +0 -4675
  155. package/Flex-28440ec4.d.ts +0 -525
  156. package/FocusArea-bd1379f7.d.ts +0 -434
  157. package/Grid-2a6c3e8b.d.ts +0 -589
  158. package/Icon.types-cf2e7181.d.ts +0 -555
  159. package/IconButton-61b70df5.d.ts +0 -560
  160. package/Image-7a9c2ac8.d.ts +0 -429
  161. package/Kbd-ee11e8ee.d.ts +0 -490
  162. package/Label-aac2b752.d.ts +0 -987
  163. package/LoadingDots-b37f3f06.d.ts +0 -480
  164. package/Menu-6ad1af6d.d.ts +0 -2558
  165. package/NavigationMenu-d55c47b7.d.ts +0 -6970
  166. package/Overlay.styles-150e1ce9.d.ts +0 -853
  167. package/Panel.styles-9141abd2.d.ts +0 -853
  168. package/Radio-a6652eb7.d.ts +0 -920
  169. package/RadioCard-0e8131d2.d.ts +0 -440
  170. package/RadioGrid-734a21f7.d.ts +0 -854
  171. package/Section-38d29a05.d.ts +0 -456
  172. package/Select-a9a6f30f.d.ts +0 -3820
  173. package/Separator-190f52e3.d.ts +0 -506
  174. package/Sheet-147a6bea.d.ts +0 -1346
  175. package/Skeleton-b7ef8d20.d.ts +0 -499
  176. package/Slider-2071e096.d.ts +0 -438
  177. package/Spotify-cac6fde2.d.ts +0 -6257
  178. package/Status-d976a923.d.ts +0 -465
  179. package/Sub-cd08549a.d.ts +0 -429
  180. package/Sup-51406ef7.d.ts +0 -429
  181. package/TabLink-f14dc0e4.d.ts +0 -468
  182. package/Table-feea8caf.d.ts +0 -3467
  183. package/Tabs.styles-4ab28890.d.ts +0 -1286
  184. package/Text-2b3df7ba.d.ts +0 -559
  185. package/TextArea-0a415aa1.d.ts +0 -525
  186. package/TextField-a4255bc3.d.ts +0 -559
  187. package/Toaster-f1d90e57.d.ts +0 -2629
  188. package/Toggle-021765b2.d.ts +0 -490
  189. package/ToggleGroup-5d3e8fc9.d.ts +0 -854
  190. package/Toolbar-0f13fcab.d.ts +0 -2546
  191. package/TreeItem-7624f862.d.ts +0 -452
  192. package/VerifiedBadge-956bf1f9.d.ts +0 -963
@@ -1,555 +0,0 @@
1
- import { SVGAttributes } from 'react';
2
- import { CSS } from './lib/stitches.config.js';
3
- import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
4
- import * as _stitches_react_types_config from '@stitches/react/types/config';
5
- import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
6
- import { VariantProps } from '@stitches/react';
7
-
8
- declare const StyledSVG: _stitches_react_types_styled_component.StyledComponent<"svg", _stitches_react_types_styled_component.StyledComponentProps<[{
9
- variants: {
10
- variant: {
11
- default: {
12
- stroke: string;
13
- fill: string;
14
- };
15
- primary: {
16
- stroke: string;
17
- fill: string;
18
- };
19
- secondary: {
20
- stroke: string;
21
- fill: string;
22
- };
23
- tertiary: {
24
- stroke: string;
25
- fill: string;
26
- };
27
- info: {
28
- stroke: string;
29
- fill: string;
30
- };
31
- error: {
32
- stroke: string;
33
- fill: string;
34
- };
35
- success: {
36
- stroke: string;
37
- fill: string;
38
- };
39
- warning: {
40
- stroke: string;
41
- fill: string;
42
- };
43
- };
44
- outline: {
45
- true: {
46
- fill: string;
47
- };
48
- };
49
- size: {
50
- 1: {
51
- width: string;
52
- height: string;
53
- };
54
- 2: {
55
- width: string;
56
- height: string;
57
- };
58
- 3: {
59
- width: string;
60
- height: string;
61
- };
62
- 4: {
63
- width: string;
64
- height: string;
65
- };
66
- 5: {
67
- width: string;
68
- height: string;
69
- };
70
- 6: {
71
- width: string;
72
- height: string;
73
- };
74
- 7: {
75
- width: string;
76
- height: string;
77
- };
78
- 8: {
79
- width: string;
80
- height: string;
81
- };
82
- 9: {
83
- width: string;
84
- height: string;
85
- };
86
- 10: {
87
- width: string;
88
- height: string;
89
- };
90
- 11: {
91
- width: string;
92
- height: string;
93
- };
94
- 12: {
95
- width: string;
96
- height: string;
97
- };
98
- 13: {
99
- width: string;
100
- height: string;
101
- };
102
- 14: {
103
- width: string;
104
- height: string;
105
- };
106
- 15: {
107
- width: string;
108
- height: string;
109
- };
110
- };
111
- };
112
- defaultVariants: {
113
- variant: "default";
114
- outline: true;
115
- size: 5;
116
- };
117
- }]>, {
118
- bp1: string;
119
- bp2: string;
120
- bp3: string;
121
- bp4: string;
122
- motion: string;
123
- hover: string;
124
- dark: string;
125
- light: string;
126
- }, _stitches_react_types_css_util.CSS<{
127
- bp1: string;
128
- bp2: string;
129
- bp3: string;
130
- bp4: string;
131
- motion: string;
132
- hover: string;
133
- dark: string;
134
- light: string;
135
- }, {
136
- borderWidths: unknown;
137
- borderStyles: unknown;
138
- colors: unknown;
139
- fonts: {
140
- 'fallback-mono': string;
141
- 'fallback-sans': string;
142
- 'fallback-serif': string;
143
- mono: string;
144
- sans: string;
145
- serif: string;
146
- };
147
- fontSizes: {
148
- 1: string;
149
- 2: string;
150
- 3: string;
151
- 4: string;
152
- 5: string;
153
- 6: string;
154
- 7: string;
155
- 8: string;
156
- 9: string;
157
- };
158
- fontWeights: {
159
- 1: string;
160
- 2: string;
161
- 3: string;
162
- 4: string;
163
- 5: string;
164
- 6: string;
165
- 7: string;
166
- 8: string;
167
- 9: string;
168
- };
169
- letterSpacings: unknown;
170
- lineHeights: unknown;
171
- radii: {
172
- 0: string;
173
- 1: string;
174
- 2: string;
175
- 3: string;
176
- 4: string;
177
- pill: string;
178
- round: string;
179
- };
180
- shadows: {
181
- 0: string;
182
- 1: string;
183
- 2: string;
184
- 3: string;
185
- toast: string;
186
- };
187
- sizes: {
188
- 0: string;
189
- 1: string;
190
- 2: string;
191
- 3: string;
192
- 4: string;
193
- 5: string;
194
- 6: string;
195
- 7: string;
196
- 8: string;
197
- 9: string;
198
- };
199
- space: {
200
- 0: string;
201
- 1: string;
202
- 2: string;
203
- 3: string;
204
- 4: string;
205
- 5: string;
206
- 6: string;
207
- 7: string;
208
- 8: string;
209
- 9: string;
210
- 10: string;
211
- 11: string;
212
- 12: string;
213
- 13: string;
214
- 14: string;
215
- 15: string;
216
- 16: string;
217
- };
218
- transitions: unknown;
219
- zIndices: {
220
- 0: string;
221
- 1: string;
222
- 2: string;
223
- 3: string;
224
- 4: string;
225
- max: string;
226
- toast: string;
227
- };
228
- foo: {
229
- bar: string;
230
- };
231
- }, _stitches_react_types_config.DefaultThemeMap, {
232
- p: (value: string | number | {
233
- readonly [$$ScaleValue]: "padding";
234
- }) => {
235
- padding: string | number | {
236
- readonly [$$ScaleValue]: "padding";
237
- };
238
- };
239
- pt: (value: string | number | {
240
- readonly [$$ScaleValue]: "paddingTop";
241
- }) => {
242
- paddingTop: string | number | {
243
- readonly [$$ScaleValue]: "paddingTop";
244
- };
245
- };
246
- pr: (value: string | number | {
247
- readonly [$$ScaleValue]: "paddingRight";
248
- }) => {
249
- paddingRight: string | number | {
250
- readonly [$$ScaleValue]: "paddingRight";
251
- };
252
- };
253
- pb: (value: string | number | {
254
- readonly [$$ScaleValue]: "paddingBottom";
255
- }) => {
256
- paddingBottom: string | number | {
257
- readonly [$$ScaleValue]: "paddingBottom";
258
- };
259
- };
260
- pl: (value: string | number | {
261
- readonly [$$ScaleValue]: "paddingLeft";
262
- }) => {
263
- paddingLeft: string | number | {
264
- readonly [$$ScaleValue]: "paddingLeft";
265
- };
266
- };
267
- px: (value: string | number | {
268
- readonly [$$ScaleValue]: "paddingLeft";
269
- }) => {
270
- paddingLeft: string | number | {
271
- readonly [$$ScaleValue]: "paddingLeft";
272
- };
273
- paddingRight: string | number | {
274
- readonly [$$ScaleValue]: "paddingLeft";
275
- };
276
- };
277
- py: (value: string | number | {
278
- readonly [$$ScaleValue]: "paddingTop";
279
- }) => {
280
- paddingTop: string | number | {
281
- readonly [$$ScaleValue]: "paddingTop";
282
- };
283
- paddingBottom: string | number | {
284
- readonly [$$ScaleValue]: "paddingTop";
285
- };
286
- };
287
- m: (value: string | number | {
288
- readonly [$$ScaleValue]: "margin";
289
- }) => {
290
- margin: string | number | {
291
- readonly [$$ScaleValue]: "margin";
292
- };
293
- };
294
- mt: (value: string | number | {
295
- readonly [$$ScaleValue]: "marginTop";
296
- }) => {
297
- marginTop: string | number | {
298
- readonly [$$ScaleValue]: "marginTop";
299
- };
300
- };
301
- mr: (value: string | number | {
302
- readonly [$$ScaleValue]: "marginRight";
303
- }) => {
304
- marginRight: string | number | {
305
- readonly [$$ScaleValue]: "marginRight";
306
- };
307
- };
308
- mb: (value: string | number | {
309
- readonly [$$ScaleValue]: "marginBottom";
310
- }) => {
311
- marginBottom: string | number | {
312
- readonly [$$ScaleValue]: "marginBottom";
313
- };
314
- };
315
- ml: (value: string | number | {
316
- readonly [$$ScaleValue]: "marginLeft";
317
- }) => {
318
- marginLeft: string | number | {
319
- readonly [$$ScaleValue]: "marginLeft";
320
- };
321
- };
322
- mx: (value: string | number | {
323
- readonly [$$ScaleValue]: "marginLeft";
324
- }) => {
325
- marginLeft: string | number | {
326
- readonly [$$ScaleValue]: "marginLeft";
327
- };
328
- marginRight: string | number | {
329
- readonly [$$ScaleValue]: "marginLeft";
330
- };
331
- };
332
- my: (value: string | number | {
333
- readonly [$$ScaleValue]: "marginTop";
334
- }) => {
335
- marginTop: string | number | {
336
- readonly [$$ScaleValue]: "marginTop";
337
- };
338
- marginBottom: string | number | {
339
- readonly [$$ScaleValue]: "marginTop";
340
- };
341
- };
342
- ta: (value: string | number | {
343
- readonly [$$ScaleValue]: "textAlign";
344
- }) => {
345
- textAlign: string | number | {
346
- readonly [$$ScaleValue]: "textAlign";
347
- };
348
- };
349
- fd: (value: string | number | {
350
- readonly [$$ScaleValue]: "flexDirection";
351
- }) => {
352
- flexDirection: string | number | {
353
- readonly [$$ScaleValue]: "flexDirection";
354
- };
355
- };
356
- fw: (value: string | number | {
357
- readonly [$$ScaleValue]: "flexWrap";
358
- }) => {
359
- flexWrap: string | number | {
360
- readonly [$$ScaleValue]: "flexWrap";
361
- };
362
- };
363
- ai: (value: string | number | {
364
- readonly [$$ScaleValue]: "alignItems";
365
- }) => {
366
- alignItems: string | number | {
367
- readonly [$$ScaleValue]: "alignItems";
368
- };
369
- };
370
- ac: (value: string | number | {
371
- readonly [$$ScaleValue]: "alignContent";
372
- }) => {
373
- alignContent: string | number | {
374
- readonly [$$ScaleValue]: "alignContent";
375
- };
376
- };
377
- jc: (value: string | number | {
378
- readonly [$$ScaleValue]: "justifyContent";
379
- }) => {
380
- justifyContent: string | number | {
381
- readonly [$$ScaleValue]: "justifyContent";
382
- };
383
- };
384
- as: (value: string | number | {
385
- readonly [$$ScaleValue]: "alignSelf";
386
- }) => {
387
- alignSelf: string | number | {
388
- readonly [$$ScaleValue]: "alignSelf";
389
- };
390
- };
391
- fg: (value: string | number | {
392
- readonly [$$ScaleValue]: "flexGrow";
393
- }) => {
394
- flexGrow: string | number | {
395
- readonly [$$ScaleValue]: "flexGrow";
396
- };
397
- };
398
- fs: (value: string | number | {
399
- readonly [$$ScaleValue]: "flexShrink";
400
- }) => {
401
- flexShrink: string | number | {
402
- readonly [$$ScaleValue]: "flexShrink";
403
- };
404
- };
405
- fb: (value: string | number | {
406
- readonly [$$ScaleValue]: "flexBasis";
407
- }) => {
408
- flexBasis: string | number | {
409
- readonly [$$ScaleValue]: "flexBasis";
410
- };
411
- };
412
- bc: (value: string | number | {
413
- readonly [$$ScaleValue]: "backgroundColor";
414
- }) => {
415
- backgroundColor: string | number | {
416
- readonly [$$ScaleValue]: "backgroundColor";
417
- };
418
- };
419
- br: (value: string | number | {
420
- readonly [$$ScaleValue]: "borderRadius";
421
- }) => {
422
- borderRadius: string | number | {
423
- readonly [$$ScaleValue]: "borderRadius";
424
- };
425
- };
426
- btrr: (value: string | number | {
427
- readonly [$$ScaleValue]: "borderTopRightRadius";
428
- }) => {
429
- borderTopRightRadius: string | number | {
430
- readonly [$$ScaleValue]: "borderTopRightRadius";
431
- };
432
- };
433
- bbrr: (value: string | number | {
434
- readonly [$$ScaleValue]: "borderBottomRightRadius";
435
- }) => {
436
- borderBottomRightRadius: string | number | {
437
- readonly [$$ScaleValue]: "borderBottomRightRadius";
438
- };
439
- };
440
- bblr: (value: string | number | {
441
- readonly [$$ScaleValue]: "borderBottomLeftRadius";
442
- }) => {
443
- borderBottomLeftRadius: string | number | {
444
- readonly [$$ScaleValue]: "borderBottomLeftRadius";
445
- };
446
- };
447
- btlr: (value: string | number | {
448
- readonly [$$ScaleValue]: "borderTopLeftRadius";
449
- }) => {
450
- borderTopLeftRadius: string | number | {
451
- readonly [$$ScaleValue]: "borderTopLeftRadius";
452
- };
453
- };
454
- bs: (value: string | number | {
455
- readonly [$$ScaleValue]: "boxShadow";
456
- }) => {
457
- boxShadow: string | number | {
458
- readonly [$$ScaleValue]: "boxShadow";
459
- };
460
- };
461
- lh: (value: string | number | {
462
- readonly [$$ScaleValue]: "lineHeight";
463
- }) => {
464
- lineHeight: string | number | {
465
- readonly [$$ScaleValue]: "lineHeight";
466
- };
467
- };
468
- ox: (value: string | number | {
469
- readonly [$$ScaleValue]: "overflowX";
470
- }) => {
471
- overflowX: string | number | {
472
- readonly [$$ScaleValue]: "overflowX";
473
- };
474
- };
475
- oy: (value: string | number | {
476
- readonly [$$ScaleValue]: "overflowY";
477
- }) => {
478
- overflowY: string | number | {
479
- readonly [$$ScaleValue]: "overflowY";
480
- };
481
- };
482
- pe: (value: string | number | {
483
- readonly [$$ScaleValue]: "pointerEvents";
484
- }) => {
485
- pointerEvents: string | number | {
486
- readonly [$$ScaleValue]: "pointerEvents";
487
- };
488
- };
489
- us: (value: string | number | {
490
- readonly [$$ScaleValue]: "userSelect";
491
- }) => {
492
- WebkitUserSelect: string | number | {
493
- readonly [$$ScaleValue]: "userSelect";
494
- };
495
- userSelect: string | number | {
496
- readonly [$$ScaleValue]: "userSelect";
497
- };
498
- };
499
- userSelect: (value: string | number | {
500
- readonly [$$ScaleValue]: "userSelect";
501
- }) => {
502
- WebkitUserSelect: string | number | {
503
- readonly [$$ScaleValue]: "userSelect";
504
- };
505
- userSelect: string | number | {
506
- readonly [$$ScaleValue]: "userSelect";
507
- };
508
- };
509
- size: (value: string | number | {
510
- readonly [$$ScaleValue]: "width";
511
- }) => {
512
- width: string | number | {
513
- readonly [$$ScaleValue]: "width";
514
- };
515
- height: string | number | {
516
- readonly [$$ScaleValue]: "width";
517
- };
518
- };
519
- appearance: (value: string | number | {
520
- readonly [$$ScaleValue]: "appearance";
521
- }) => {
522
- WebkitAppearance: string | number | {
523
- readonly [$$ScaleValue]: "appearance";
524
- };
525
- appearance: string | number | {
526
- readonly [$$ScaleValue]: "appearance";
527
- };
528
- };
529
- backgroundClip: (value: string | number | {
530
- readonly [$$ScaleValue]: "backgroundClip";
531
- }) => {
532
- WebkitBackgroundClip: string | number | {
533
- readonly [$$ScaleValue]: "backgroundClip";
534
- };
535
- backgroundClip: string | number | {
536
- readonly [$$ScaleValue]: "backgroundClip";
537
- };
538
- };
539
- }>>;
540
-
541
- declare type IconSize = VariantProps<typeof StyledSVG>['size'];
542
- declare type IconVariant = VariantProps<typeof StyledSVG>['variant'];
543
- /**
544
- * ref: https://github.com/radix-ui/icons/blob/master/packages/radix-icons/src/types.tsx
545
- */
546
- interface IconProps extends SVGAttributes<SVGElement> {
547
- children?: never;
548
- css?: CSS;
549
- color?: string;
550
- label?: string;
551
- size?: IconSize;
552
- variant?: IconVariant;
553
- }
554
-
555
- export { IconProps as I };