@yahoo/uds 0.4.5 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- package/cli/README.md +15 -2
- package/cli/codemods/remapProps.ts +65 -0
- package/cli/commands/codemod/spacingProps.ts +52 -0
- package/cli/preload.ts +12 -8
- package/cli/utils/purgeCSS.test.ts +55 -18
- package/cli/utils/purgeCSS.ts +144 -21
- package/dist/{Image.native-CfDCpWe_.d.cts → Image.native-Dy2tsvOP.d.ts} +13 -12
- package/dist/{Image.native-nwk5tr_f.d.ts → Image.native-DyqCXXic.d.cts} +13 -12
- package/dist/{VStack-D-py89Ge.d.cts → VStack-BjW120vC.d.cts} +25 -2
- package/dist/{VStack-Bj6PfbK5.d.ts → VStack-CPOOI31y.d.ts} +25 -2
- package/dist/experimental/index.cjs +2 -1
- package/dist/experimental/index.d.cts +30 -32
- package/dist/experimental/index.d.ts +30 -32
- package/dist/experimental/index.js +2 -1
- package/dist/experimental/index.native.cjs +1 -1
- package/dist/experimental/index.native.d.cts +13 -16
- package/dist/experimental/index.native.d.ts +13 -16
- package/dist/experimental/index.native.js +1 -1
- package/dist/fixtures.cjs +1 -664
- package/dist/fixtures.d.ts +1 -2
- package/dist/fixtures.js +1 -663
- package/dist/index.cjs +2 -1
- package/dist/index.d.cts +14 -30
- package/dist/index.d.ts +14 -30
- package/dist/index.js +3 -1
- package/dist/{index.native-BLJdXZHY.d.ts → index.native-D-eItswB.d.ts} +1 -1
- package/dist/{index.native-A2gCijBH.d.cts → index.native-VZWytAxw.d.cts} +1 -1
- package/dist/index.native.cjs +1 -1
- package/dist/index.native.d.cts +1122 -10
- package/dist/index.native.d.ts +1122 -10
- package/dist/index.native.js +1 -1
- package/dist/metafile-cjs.json +1 -0
- package/dist/metafile-esm.json +1 -0
- package/dist/tailwind/plugin.cjs +1 -1
- package/dist/tailwind/plugin.d.cts +1 -1
- package/dist/tailwind/plugin.d.ts +1 -1
- package/dist/tailwind/plugin.js +3 -1
- package/dist/tailwind/purger.cjs +3 -1
- package/dist/tailwind/purger.d.cts +3 -6
- package/dist/tailwind/purger.d.ts +3 -6
- package/dist/tailwind/purger.js +3 -1
- package/dist/tailwind/tsMorph.cjs +1 -1
- package/dist/tailwind/tsMorph.d.cts +11 -2
- package/dist/tailwind/tsMorph.d.ts +11 -2
- package/dist/tailwind/tsMorph.js +3 -1
- package/dist/tokens/index.cjs +2 -1
- package/dist/tokens/index.d.cts +1097 -3
- package/dist/tokens/index.d.ts +1097 -3
- package/dist/tokens/index.js +2 -1
- package/dist/tokens/index.native.d.cts +2 -2
- package/dist/tokens/index.native.d.ts +2 -2
- package/dist/tokens/parseTokens.cjs +2 -1
- package/dist/tokens/parseTokens.d.cts +1 -1
- package/dist/tokens/parseTokens.d.ts +1 -1
- package/dist/tokens/parseTokens.js +2 -1
- package/dist/{types-Diou6f1Q.d.cts → types-Cy3fKMaw.d.cts} +21 -20
- package/dist/{types-Diou6f1Q.d.ts → types-Cy3fKMaw.d.ts} +21 -20
- package/dist/{types-Dk8fLx7L.d.cts → types-at8CTkly.d.cts} +21 -20
- package/dist/{types-Dk8fLx7L.d.ts → types-at8CTkly.d.ts} +21 -20
- package/package.json +20 -19
package/dist/index.native.d.cts
CHANGED
@@ -1,13 +1,1107 @@
|
|
1
1
|
import * as react from 'react';
|
2
2
|
import { Dispatch, SetStateAction } from 'react';
|
3
|
-
import { e as UniversalBoxProps, f as UniversalStackProps, g as UniversalTextProps, h as UniversalIconProps, C as ColorModeForApp, i as ColorMode, S as ScaleModeForApp, j as ScaleMode, M as Modes, k as UniversalTokensConfig,
|
4
|
-
export {
|
3
|
+
import { e as UniversalBoxProps, f as UniversalStackProps, g as UniversalTextProps, h as UniversalIconProps, C as ColorModeForApp, i as ColorMode, S as ScaleModeForApp, j as ScaleMode, M as Modes, k as UniversalTokensConfig, l as StyleProps, A as AvatarSizeConfig, I as IconSizeConfig, B as BorderRadiusConfig, m as BorderWidthConfig, F as FontFamilyConfig, n as FontSizeConfig, o as FontWeightConfig, L as LineHeightConfig, T as TextTransformConfig, p as FontFamilyGlobalConfig } from './types-at8CTkly.cjs';
|
4
|
+
export { r as AlwaysPalette, s as AlwaysPaletteAlias, t as Animation, u as AriaAttribute, v as AvatarShape, w as AvatarSize, x as BackgroundColor, y as BackgroundPalette, z as BackgroundPaletteAlias, D as BackgroundStyleProps, E as BorderRadius, G as BorderStyleProps, H as BorderWidth, J as BoxShadowConfig, K as ButtonSize, N as ButtonVariant, O as ColorModeConfig, P as ColorsConfig, Q as ConfigurableTextProperty, R as CorePalette, V as CorePaletteAlias, W as CustomSizingStyleProps, X as DataAttribute, Y as Display, Z as Flex, _ as FlexAlignContent, $ as FlexAlignItems, a0 as FlexAlignSelf, a1 as FlexBasis, a2 as FlexDirection, a3 as FlexGrow, a4 as FlexJustifyContent, a5 as FlexShrink, a6 as FlexStyleProps, a7 as FlexWrap, a8 as FontFamilyGlobalAlias, a9 as FontSize, aa as FontWeightDescriptive, ab as FontWeightNumeric, ac as ForegroundColor, ad as ForegroundPalette, ae as ForegroundPaletteAlias, af as HighContrastMode, ag as Hue, ah as HueStep, ai as IconSize, aj as ImageStyleProps, ak as LayoutStyleProps, al as LetterSpacing, am as LineClampAlias, an as LineColor, ao as LineHeight, ap as LinePalette, aq as LinePaletteAlias, ar as Overflow, as as Palette, at as PaletteConfig, au as PaletteType, av as PaletteValue, aw as PlatformMode, ax as Position, ay as RegionMode, az as ScaleConfig, aA as ScaleModeConfig, aB as SpacingAlias, aC as SpacingConfig, aD as SpacingStyleProps, aE as SpectrumColor, aF as SpectrumConfig, aG as StateStyleProps, aH as TextStyleProps, aI as TextTransform, aJ as TextVariant, aK as TransitionDelay, aL as TransitionDuration, aM as TransitionTiming, U as UniversalAvatarProps, a as UniversalButtonProps, c as UniversalIconButtonProps, d as UniversalImageProps, b as UniversalPressableProps, aN as UniversalTextInputProps, q as alwaysPalette } from './types-at8CTkly.cjs';
|
5
5
|
import { ViewProps, View, TextProps as TextProps$1, Text as Text$1, ScrollViewProps, ScrollView, StyleProp, ViewStyle, TextStyle } from 'react-native';
|
6
|
-
export { a as IconButton, b as IconButtonProps, c as Image, I as ImageProps, d as Pressable, P as PressableProps } from './Image.native-
|
6
|
+
export { a as IconButton, b as IconButtonProps, c as Image, I as ImageProps, d as Pressable, P as PressableProps } from './Image.native-DyqCXXic.cjs';
|
7
7
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
8
8
|
import { EdgeInsets } from 'react-native-safe-area-context';
|
9
9
|
import { ImageStyle } from 'expo-image';
|
10
|
-
export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, f as fontFamilyGlobal, a as fontWeightMap } from './index.native-
|
10
|
+
export { c as DEFAULT_COLOR_MODE, D as DEFAULT_COLOR_MODE_FOR_APP, g as DEFAULT_HIGH_CONTRAST_MODE, h as DEFAULT_REGION_MODE, e as DEFAULT_SCALE_MODE, b as DEFAULT_SCALE_MODE_FOR_APP, d as defaultTokensConfig, f as fontFamilyGlobal, a as fontWeightMap } from './index.native-VZWytAxw.cjs';
|
11
|
+
|
12
|
+
declare const variants: {
|
13
|
+
color: {
|
14
|
+
accent: string;
|
15
|
+
alert: string;
|
16
|
+
black: string;
|
17
|
+
brand: string;
|
18
|
+
positive: string;
|
19
|
+
warning: string;
|
20
|
+
white: string;
|
21
|
+
transparent: string;
|
22
|
+
muted: string;
|
23
|
+
'on-color': string;
|
24
|
+
primary: string;
|
25
|
+
secondary: string;
|
26
|
+
tertiary: string;
|
27
|
+
};
|
28
|
+
placeholderColor: {
|
29
|
+
accent: string;
|
30
|
+
alert: string;
|
31
|
+
black: string;
|
32
|
+
brand: string;
|
33
|
+
positive: string;
|
34
|
+
warning: string;
|
35
|
+
white: string;
|
36
|
+
transparent: string;
|
37
|
+
muted: string;
|
38
|
+
'on-color': string;
|
39
|
+
primary: string;
|
40
|
+
secondary: string;
|
41
|
+
tertiary: string;
|
42
|
+
};
|
43
|
+
fontFamily: {
|
44
|
+
icons: string;
|
45
|
+
sans: string;
|
46
|
+
'sans-beta': string;
|
47
|
+
'sans-condensed': string;
|
48
|
+
'serif-text': string;
|
49
|
+
'serif-display': string;
|
50
|
+
display1: string;
|
51
|
+
display2: string;
|
52
|
+
display3: string;
|
53
|
+
title1: string;
|
54
|
+
title2: string;
|
55
|
+
title3: string;
|
56
|
+
title4: string;
|
57
|
+
headline1: string;
|
58
|
+
body1: string;
|
59
|
+
label1: string;
|
60
|
+
label2: string;
|
61
|
+
caption1: string;
|
62
|
+
caption2: string;
|
63
|
+
legal1: string;
|
64
|
+
};
|
65
|
+
fontSize: {
|
66
|
+
display1: string;
|
67
|
+
display2: string;
|
68
|
+
display3: string;
|
69
|
+
title1: string;
|
70
|
+
title2: string;
|
71
|
+
title3: string;
|
72
|
+
title4: string;
|
73
|
+
headline1: string;
|
74
|
+
body1: string;
|
75
|
+
label1: string;
|
76
|
+
label2: string;
|
77
|
+
caption1: string;
|
78
|
+
caption2: string;
|
79
|
+
legal1: string;
|
80
|
+
};
|
81
|
+
fontWeight: {
|
82
|
+
thin: string;
|
83
|
+
extralight: string;
|
84
|
+
light: string;
|
85
|
+
regular: string;
|
86
|
+
medium: string;
|
87
|
+
semibold: string;
|
88
|
+
bold: string;
|
89
|
+
extrabold: string;
|
90
|
+
black: string;
|
91
|
+
display1: string;
|
92
|
+
display2: string;
|
93
|
+
display3: string;
|
94
|
+
title1: string;
|
95
|
+
title2: string;
|
96
|
+
title3: string;
|
97
|
+
title4: string;
|
98
|
+
headline1: string;
|
99
|
+
body1: string;
|
100
|
+
label1: string;
|
101
|
+
label2: string;
|
102
|
+
caption1: string;
|
103
|
+
caption2: string;
|
104
|
+
legal1: string;
|
105
|
+
};
|
106
|
+
lineHeight: {
|
107
|
+
display1: string;
|
108
|
+
display2: string;
|
109
|
+
display3: string;
|
110
|
+
title1: string;
|
111
|
+
title2: string;
|
112
|
+
title3: string;
|
113
|
+
title4: string;
|
114
|
+
headline1: string;
|
115
|
+
body1: string;
|
116
|
+
label1: string;
|
117
|
+
label2: string;
|
118
|
+
caption1: string;
|
119
|
+
caption2: string;
|
120
|
+
legal1: string;
|
121
|
+
};
|
122
|
+
textAlign: {
|
123
|
+
center: string;
|
124
|
+
justify: string;
|
125
|
+
start: string;
|
126
|
+
end: string;
|
127
|
+
};
|
128
|
+
textTransform: {
|
129
|
+
display1: string;
|
130
|
+
display2: string;
|
131
|
+
display3: string;
|
132
|
+
title1: string;
|
133
|
+
title2: string;
|
134
|
+
title3: string;
|
135
|
+
title4: string;
|
136
|
+
headline1: string;
|
137
|
+
body1: string;
|
138
|
+
label1: string;
|
139
|
+
label2: string;
|
140
|
+
caption1: string;
|
141
|
+
caption2: string;
|
142
|
+
legal1: string;
|
143
|
+
none: string;
|
144
|
+
uppercase: string;
|
145
|
+
lowercase: string;
|
146
|
+
capitalize: string;
|
147
|
+
};
|
148
|
+
spacing: {
|
149
|
+
'0': string;
|
150
|
+
px: string;
|
151
|
+
'0.5': string;
|
152
|
+
'1': string;
|
153
|
+
'1.5': string;
|
154
|
+
'2': string;
|
155
|
+
'2.5': string;
|
156
|
+
'3': string;
|
157
|
+
'3.5': string;
|
158
|
+
'4': string;
|
159
|
+
'5': string;
|
160
|
+
'6': string;
|
161
|
+
'7': string;
|
162
|
+
'8': string;
|
163
|
+
'9': string;
|
164
|
+
'10': string;
|
165
|
+
'11': string;
|
166
|
+
'12': string;
|
167
|
+
'14': string;
|
168
|
+
'16': string;
|
169
|
+
'20': string;
|
170
|
+
'24': string;
|
171
|
+
'28': string;
|
172
|
+
'32': string;
|
173
|
+
'36': string;
|
174
|
+
'40': string;
|
175
|
+
'44': string;
|
176
|
+
'48': string;
|
177
|
+
'52': string;
|
178
|
+
'56': string;
|
179
|
+
'60': string;
|
180
|
+
'64': string;
|
181
|
+
'72': string;
|
182
|
+
'80': string;
|
183
|
+
'96': string;
|
184
|
+
};
|
185
|
+
spacingHorizontal: {
|
186
|
+
'0': string;
|
187
|
+
px: string;
|
188
|
+
'0.5': string;
|
189
|
+
'1': string;
|
190
|
+
'1.5': string;
|
191
|
+
'2': string;
|
192
|
+
'2.5': string;
|
193
|
+
'3': string;
|
194
|
+
'3.5': string;
|
195
|
+
'4': string;
|
196
|
+
'5': string;
|
197
|
+
'6': string;
|
198
|
+
'7': string;
|
199
|
+
'8': string;
|
200
|
+
'9': string;
|
201
|
+
'10': string;
|
202
|
+
'11': string;
|
203
|
+
'12': string;
|
204
|
+
'14': string;
|
205
|
+
'16': string;
|
206
|
+
'20': string;
|
207
|
+
'24': string;
|
208
|
+
'28': string;
|
209
|
+
'32': string;
|
210
|
+
'36': string;
|
211
|
+
'40': string;
|
212
|
+
'44': string;
|
213
|
+
'48': string;
|
214
|
+
'52': string;
|
215
|
+
'56': string;
|
216
|
+
'60': string;
|
217
|
+
'64': string;
|
218
|
+
'72': string;
|
219
|
+
'80': string;
|
220
|
+
'96': string;
|
221
|
+
};
|
222
|
+
spacingVertical: {
|
223
|
+
'0': string;
|
224
|
+
px: string;
|
225
|
+
'0.5': string;
|
226
|
+
'1': string;
|
227
|
+
'1.5': string;
|
228
|
+
'2': string;
|
229
|
+
'2.5': string;
|
230
|
+
'3': string;
|
231
|
+
'3.5': string;
|
232
|
+
'4': string;
|
233
|
+
'5': string;
|
234
|
+
'6': string;
|
235
|
+
'7': string;
|
236
|
+
'8': string;
|
237
|
+
'9': string;
|
238
|
+
'10': string;
|
239
|
+
'11': string;
|
240
|
+
'12': string;
|
241
|
+
'14': string;
|
242
|
+
'16': string;
|
243
|
+
'20': string;
|
244
|
+
'24': string;
|
245
|
+
'28': string;
|
246
|
+
'32': string;
|
247
|
+
'36': string;
|
248
|
+
'40': string;
|
249
|
+
'44': string;
|
250
|
+
'48': string;
|
251
|
+
'52': string;
|
252
|
+
'56': string;
|
253
|
+
'60': string;
|
254
|
+
'64': string;
|
255
|
+
'72': string;
|
256
|
+
'80': string;
|
257
|
+
'96': string;
|
258
|
+
};
|
259
|
+
spacingBottom: {
|
260
|
+
'0': string;
|
261
|
+
px: string;
|
262
|
+
'0.5': string;
|
263
|
+
'1': string;
|
264
|
+
'1.5': string;
|
265
|
+
'2': string;
|
266
|
+
'2.5': string;
|
267
|
+
'3': string;
|
268
|
+
'3.5': string;
|
269
|
+
'4': string;
|
270
|
+
'5': string;
|
271
|
+
'6': string;
|
272
|
+
'7': string;
|
273
|
+
'8': string;
|
274
|
+
'9': string;
|
275
|
+
'10': string;
|
276
|
+
'11': string;
|
277
|
+
'12': string;
|
278
|
+
'14': string;
|
279
|
+
'16': string;
|
280
|
+
'20': string;
|
281
|
+
'24': string;
|
282
|
+
'28': string;
|
283
|
+
'32': string;
|
284
|
+
'36': string;
|
285
|
+
'40': string;
|
286
|
+
'44': string;
|
287
|
+
'48': string;
|
288
|
+
'52': string;
|
289
|
+
'56': string;
|
290
|
+
'60': string;
|
291
|
+
'64': string;
|
292
|
+
'72': string;
|
293
|
+
'80': string;
|
294
|
+
'96': string;
|
295
|
+
};
|
296
|
+
spacingEnd: {
|
297
|
+
'0': string;
|
298
|
+
px: string;
|
299
|
+
'0.5': string;
|
300
|
+
'1': string;
|
301
|
+
'1.5': string;
|
302
|
+
'2': string;
|
303
|
+
'2.5': string;
|
304
|
+
'3': string;
|
305
|
+
'3.5': string;
|
306
|
+
'4': string;
|
307
|
+
'5': string;
|
308
|
+
'6': string;
|
309
|
+
'7': string;
|
310
|
+
'8': string;
|
311
|
+
'9': string;
|
312
|
+
'10': string;
|
313
|
+
'11': string;
|
314
|
+
'12': string;
|
315
|
+
'14': string;
|
316
|
+
'16': string;
|
317
|
+
'20': string;
|
318
|
+
'24': string;
|
319
|
+
'28': string;
|
320
|
+
'32': string;
|
321
|
+
'36': string;
|
322
|
+
'40': string;
|
323
|
+
'44': string;
|
324
|
+
'48': string;
|
325
|
+
'52': string;
|
326
|
+
'56': string;
|
327
|
+
'60': string;
|
328
|
+
'64': string;
|
329
|
+
'72': string;
|
330
|
+
'80': string;
|
331
|
+
'96': string;
|
332
|
+
};
|
333
|
+
spacingStart: {
|
334
|
+
'0': string;
|
335
|
+
px: string;
|
336
|
+
'0.5': string;
|
337
|
+
'1': string;
|
338
|
+
'1.5': string;
|
339
|
+
'2': string;
|
340
|
+
'2.5': string;
|
341
|
+
'3': string;
|
342
|
+
'3.5': string;
|
343
|
+
'4': string;
|
344
|
+
'5': string;
|
345
|
+
'6': string;
|
346
|
+
'7': string;
|
347
|
+
'8': string;
|
348
|
+
'9': string;
|
349
|
+
'10': string;
|
350
|
+
'11': string;
|
351
|
+
'12': string;
|
352
|
+
'14': string;
|
353
|
+
'16': string;
|
354
|
+
'20': string;
|
355
|
+
'24': string;
|
356
|
+
'28': string;
|
357
|
+
'32': string;
|
358
|
+
'36': string;
|
359
|
+
'40': string;
|
360
|
+
'44': string;
|
361
|
+
'48': string;
|
362
|
+
'52': string;
|
363
|
+
'56': string;
|
364
|
+
'60': string;
|
365
|
+
'64': string;
|
366
|
+
'72': string;
|
367
|
+
'80': string;
|
368
|
+
'96': string;
|
369
|
+
};
|
370
|
+
spacingTop: {
|
371
|
+
'0': string;
|
372
|
+
px: string;
|
373
|
+
'0.5': string;
|
374
|
+
'1': string;
|
375
|
+
'1.5': string;
|
376
|
+
'2': string;
|
377
|
+
'2.5': string;
|
378
|
+
'3': string;
|
379
|
+
'3.5': string;
|
380
|
+
'4': string;
|
381
|
+
'5': string;
|
382
|
+
'6': string;
|
383
|
+
'7': string;
|
384
|
+
'8': string;
|
385
|
+
'9': string;
|
386
|
+
'10': string;
|
387
|
+
'11': string;
|
388
|
+
'12': string;
|
389
|
+
'14': string;
|
390
|
+
'16': string;
|
391
|
+
'20': string;
|
392
|
+
'24': string;
|
393
|
+
'28': string;
|
394
|
+
'32': string;
|
395
|
+
'36': string;
|
396
|
+
'40': string;
|
397
|
+
'44': string;
|
398
|
+
'48': string;
|
399
|
+
'52': string;
|
400
|
+
'56': string;
|
401
|
+
'60': string;
|
402
|
+
'64': string;
|
403
|
+
'72': string;
|
404
|
+
'80': string;
|
405
|
+
'96': string;
|
406
|
+
};
|
407
|
+
offset: {
|
408
|
+
'0': string;
|
409
|
+
px: string;
|
410
|
+
'0.5': string;
|
411
|
+
'1': string;
|
412
|
+
'1.5': string;
|
413
|
+
'2': string;
|
414
|
+
'2.5': string;
|
415
|
+
'3': string;
|
416
|
+
'3.5': string;
|
417
|
+
'4': string;
|
418
|
+
'5': string;
|
419
|
+
'6': string;
|
420
|
+
'7': string;
|
421
|
+
'8': string;
|
422
|
+
'9': string;
|
423
|
+
'10': string;
|
424
|
+
'11': string;
|
425
|
+
'12': string;
|
426
|
+
'14': string;
|
427
|
+
'16': string;
|
428
|
+
'20': string;
|
429
|
+
'24': string;
|
430
|
+
'28': string;
|
431
|
+
'32': string;
|
432
|
+
'36': string;
|
433
|
+
'40': string;
|
434
|
+
'44': string;
|
435
|
+
'48': string;
|
436
|
+
'52': string;
|
437
|
+
'56': string;
|
438
|
+
'60': string;
|
439
|
+
'64': string;
|
440
|
+
'72': string;
|
441
|
+
'80': string;
|
442
|
+
'96': string;
|
443
|
+
};
|
444
|
+
offsetVertical: {
|
445
|
+
'0': string;
|
446
|
+
px: string;
|
447
|
+
'0.5': string;
|
448
|
+
'1': string;
|
449
|
+
'1.5': string;
|
450
|
+
'2': string;
|
451
|
+
'2.5': string;
|
452
|
+
'3': string;
|
453
|
+
'3.5': string;
|
454
|
+
'4': string;
|
455
|
+
'5': string;
|
456
|
+
'6': string;
|
457
|
+
'7': string;
|
458
|
+
'8': string;
|
459
|
+
'9': string;
|
460
|
+
'10': string;
|
461
|
+
'11': string;
|
462
|
+
'12': string;
|
463
|
+
'14': string;
|
464
|
+
'16': string;
|
465
|
+
'20': string;
|
466
|
+
'24': string;
|
467
|
+
'28': string;
|
468
|
+
'32': string;
|
469
|
+
'36': string;
|
470
|
+
'40': string;
|
471
|
+
'44': string;
|
472
|
+
'48': string;
|
473
|
+
'52': string;
|
474
|
+
'56': string;
|
475
|
+
'60': string;
|
476
|
+
'64': string;
|
477
|
+
'72': string;
|
478
|
+
'80': string;
|
479
|
+
'96': string;
|
480
|
+
};
|
481
|
+
offsetHorizontal: {
|
482
|
+
'0': string;
|
483
|
+
px: string;
|
484
|
+
'0.5': string;
|
485
|
+
'1': string;
|
486
|
+
'1.5': string;
|
487
|
+
'2': string;
|
488
|
+
'2.5': string;
|
489
|
+
'3': string;
|
490
|
+
'3.5': string;
|
491
|
+
'4': string;
|
492
|
+
'5': string;
|
493
|
+
'6': string;
|
494
|
+
'7': string;
|
495
|
+
'8': string;
|
496
|
+
'9': string;
|
497
|
+
'10': string;
|
498
|
+
'11': string;
|
499
|
+
'12': string;
|
500
|
+
'14': string;
|
501
|
+
'16': string;
|
502
|
+
'20': string;
|
503
|
+
'24': string;
|
504
|
+
'28': string;
|
505
|
+
'32': string;
|
506
|
+
'36': string;
|
507
|
+
'40': string;
|
508
|
+
'44': string;
|
509
|
+
'48': string;
|
510
|
+
'52': string;
|
511
|
+
'56': string;
|
512
|
+
'60': string;
|
513
|
+
'64': string;
|
514
|
+
'72': string;
|
515
|
+
'80': string;
|
516
|
+
'96': string;
|
517
|
+
};
|
518
|
+
offsetBottom: {
|
519
|
+
'0': string;
|
520
|
+
px: string;
|
521
|
+
'0.5': string;
|
522
|
+
'1': string;
|
523
|
+
'1.5': string;
|
524
|
+
'2': string;
|
525
|
+
'2.5': string;
|
526
|
+
'3': string;
|
527
|
+
'3.5': string;
|
528
|
+
'4': string;
|
529
|
+
'5': string;
|
530
|
+
'6': string;
|
531
|
+
'7': string;
|
532
|
+
'8': string;
|
533
|
+
'9': string;
|
534
|
+
'10': string;
|
535
|
+
'11': string;
|
536
|
+
'12': string;
|
537
|
+
'14': string;
|
538
|
+
'16': string;
|
539
|
+
'20': string;
|
540
|
+
'24': string;
|
541
|
+
'28': string;
|
542
|
+
'32': string;
|
543
|
+
'36': string;
|
544
|
+
'40': string;
|
545
|
+
'44': string;
|
546
|
+
'48': string;
|
547
|
+
'52': string;
|
548
|
+
'56': string;
|
549
|
+
'60': string;
|
550
|
+
'64': string;
|
551
|
+
'72': string;
|
552
|
+
'80': string;
|
553
|
+
'96': string;
|
554
|
+
};
|
555
|
+
offsetEnd: {
|
556
|
+
'0': string;
|
557
|
+
px: string;
|
558
|
+
'0.5': string;
|
559
|
+
'1': string;
|
560
|
+
'1.5': string;
|
561
|
+
'2': string;
|
562
|
+
'2.5': string;
|
563
|
+
'3': string;
|
564
|
+
'3.5': string;
|
565
|
+
'4': string;
|
566
|
+
'5': string;
|
567
|
+
'6': string;
|
568
|
+
'7': string;
|
569
|
+
'8': string;
|
570
|
+
'9': string;
|
571
|
+
'10': string;
|
572
|
+
'11': string;
|
573
|
+
'12': string;
|
574
|
+
'14': string;
|
575
|
+
'16': string;
|
576
|
+
'20': string;
|
577
|
+
'24': string;
|
578
|
+
'28': string;
|
579
|
+
'32': string;
|
580
|
+
'36': string;
|
581
|
+
'40': string;
|
582
|
+
'44': string;
|
583
|
+
'48': string;
|
584
|
+
'52': string;
|
585
|
+
'56': string;
|
586
|
+
'60': string;
|
587
|
+
'64': string;
|
588
|
+
'72': string;
|
589
|
+
'80': string;
|
590
|
+
'96': string;
|
591
|
+
};
|
592
|
+
offsetStart: {
|
593
|
+
'0': string;
|
594
|
+
px: string;
|
595
|
+
'0.5': string;
|
596
|
+
'1': string;
|
597
|
+
'1.5': string;
|
598
|
+
'2': string;
|
599
|
+
'2.5': string;
|
600
|
+
'3': string;
|
601
|
+
'3.5': string;
|
602
|
+
'4': string;
|
603
|
+
'5': string;
|
604
|
+
'6': string;
|
605
|
+
'7': string;
|
606
|
+
'8': string;
|
607
|
+
'9': string;
|
608
|
+
'10': string;
|
609
|
+
'11': string;
|
610
|
+
'12': string;
|
611
|
+
'14': string;
|
612
|
+
'16': string;
|
613
|
+
'20': string;
|
614
|
+
'24': string;
|
615
|
+
'28': string;
|
616
|
+
'32': string;
|
617
|
+
'36': string;
|
618
|
+
'40': string;
|
619
|
+
'44': string;
|
620
|
+
'48': string;
|
621
|
+
'52': string;
|
622
|
+
'56': string;
|
623
|
+
'60': string;
|
624
|
+
'64': string;
|
625
|
+
'72': string;
|
626
|
+
'80': string;
|
627
|
+
'96': string;
|
628
|
+
};
|
629
|
+
offsetTop: {
|
630
|
+
'0': string;
|
631
|
+
px: string;
|
632
|
+
'0.5': string;
|
633
|
+
'1': string;
|
634
|
+
'1.5': string;
|
635
|
+
'2': string;
|
636
|
+
'2.5': string;
|
637
|
+
'3': string;
|
638
|
+
'3.5': string;
|
639
|
+
'4': string;
|
640
|
+
'5': string;
|
641
|
+
'6': string;
|
642
|
+
'7': string;
|
643
|
+
'8': string;
|
644
|
+
'9': string;
|
645
|
+
'10': string;
|
646
|
+
'11': string;
|
647
|
+
'12': string;
|
648
|
+
'14': string;
|
649
|
+
'16': string;
|
650
|
+
'20': string;
|
651
|
+
'24': string;
|
652
|
+
'28': string;
|
653
|
+
'32': string;
|
654
|
+
'36': string;
|
655
|
+
'40': string;
|
656
|
+
'44': string;
|
657
|
+
'48': string;
|
658
|
+
'52': string;
|
659
|
+
'56': string;
|
660
|
+
'60': string;
|
661
|
+
'64': string;
|
662
|
+
'72': string;
|
663
|
+
'80': string;
|
664
|
+
'96': string;
|
665
|
+
};
|
666
|
+
columnGap: {
|
667
|
+
'0': string;
|
668
|
+
px: string;
|
669
|
+
'0.5': string;
|
670
|
+
'1': string;
|
671
|
+
'1.5': string;
|
672
|
+
'2': string;
|
673
|
+
'2.5': string;
|
674
|
+
'3': string;
|
675
|
+
'3.5': string;
|
676
|
+
'4': string;
|
677
|
+
'5': string;
|
678
|
+
'6': string;
|
679
|
+
'7': string;
|
680
|
+
'8': string;
|
681
|
+
'9': string;
|
682
|
+
'10': string;
|
683
|
+
'11': string;
|
684
|
+
'12': string;
|
685
|
+
'14': string;
|
686
|
+
'16': string;
|
687
|
+
'20': string;
|
688
|
+
'24': string;
|
689
|
+
'28': string;
|
690
|
+
'32': string;
|
691
|
+
'36': string;
|
692
|
+
'40': string;
|
693
|
+
'44': string;
|
694
|
+
'48': string;
|
695
|
+
'52': string;
|
696
|
+
'56': string;
|
697
|
+
'60': string;
|
698
|
+
'64': string;
|
699
|
+
'72': string;
|
700
|
+
'80': string;
|
701
|
+
'96': string;
|
702
|
+
};
|
703
|
+
rowGap: {
|
704
|
+
'0': string;
|
705
|
+
px: string;
|
706
|
+
'0.5': string;
|
707
|
+
'1': string;
|
708
|
+
'1.5': string;
|
709
|
+
'2': string;
|
710
|
+
'2.5': string;
|
711
|
+
'3': string;
|
712
|
+
'3.5': string;
|
713
|
+
'4': string;
|
714
|
+
'5': string;
|
715
|
+
'6': string;
|
716
|
+
'7': string;
|
717
|
+
'8': string;
|
718
|
+
'9': string;
|
719
|
+
'10': string;
|
720
|
+
'11': string;
|
721
|
+
'12': string;
|
722
|
+
'14': string;
|
723
|
+
'16': string;
|
724
|
+
'20': string;
|
725
|
+
'24': string;
|
726
|
+
'28': string;
|
727
|
+
'32': string;
|
728
|
+
'36': string;
|
729
|
+
'40': string;
|
730
|
+
'44': string;
|
731
|
+
'48': string;
|
732
|
+
'52': string;
|
733
|
+
'56': string;
|
734
|
+
'60': string;
|
735
|
+
'64': string;
|
736
|
+
'72': string;
|
737
|
+
'80': string;
|
738
|
+
'96': string;
|
739
|
+
};
|
740
|
+
backgroundColor: {
|
741
|
+
accent: string;
|
742
|
+
alert: string;
|
743
|
+
black: string;
|
744
|
+
brand: string;
|
745
|
+
positive: string;
|
746
|
+
warning: string;
|
747
|
+
white: string;
|
748
|
+
primary: string;
|
749
|
+
secondary: string;
|
750
|
+
transparent: string;
|
751
|
+
};
|
752
|
+
borderColor: {
|
753
|
+
accent: string;
|
754
|
+
alert: string;
|
755
|
+
black: string;
|
756
|
+
brand: string;
|
757
|
+
positive: string;
|
758
|
+
warning: string;
|
759
|
+
white: string;
|
760
|
+
transparent: string;
|
761
|
+
muted: string;
|
762
|
+
primary: string;
|
763
|
+
secondary: string;
|
764
|
+
tertiary: string;
|
765
|
+
};
|
766
|
+
borderColorOnActive: {
|
767
|
+
accent: string;
|
768
|
+
alert: string;
|
769
|
+
black: string;
|
770
|
+
brand: string;
|
771
|
+
positive: string;
|
772
|
+
warning: string;
|
773
|
+
white: string;
|
774
|
+
transparent: string;
|
775
|
+
muted: string;
|
776
|
+
primary: string;
|
777
|
+
secondary: string;
|
778
|
+
tertiary: string;
|
779
|
+
};
|
780
|
+
borderColorOnFocus: {
|
781
|
+
accent: string;
|
782
|
+
alert: string;
|
783
|
+
black: string;
|
784
|
+
brand: string;
|
785
|
+
positive: string;
|
786
|
+
warning: string;
|
787
|
+
white: string;
|
788
|
+
transparent: string;
|
789
|
+
muted: string;
|
790
|
+
primary: string;
|
791
|
+
secondary: string;
|
792
|
+
tertiary: string;
|
793
|
+
};
|
794
|
+
borderColorOnHover: {
|
795
|
+
accent: string;
|
796
|
+
alert: string;
|
797
|
+
black: string;
|
798
|
+
brand: string;
|
799
|
+
positive: string;
|
800
|
+
warning: string;
|
801
|
+
white: string;
|
802
|
+
transparent: string;
|
803
|
+
muted: string;
|
804
|
+
primary: string;
|
805
|
+
secondary: string;
|
806
|
+
tertiary: string;
|
807
|
+
};
|
808
|
+
borderColorOnChecked: {
|
809
|
+
accent: string;
|
810
|
+
alert: string;
|
811
|
+
black: string;
|
812
|
+
brand: string;
|
813
|
+
positive: string;
|
814
|
+
warning: string;
|
815
|
+
white: string;
|
816
|
+
transparent: string;
|
817
|
+
muted: string;
|
818
|
+
primary: string;
|
819
|
+
secondary: string;
|
820
|
+
tertiary: string;
|
821
|
+
};
|
822
|
+
borderStartColor: {
|
823
|
+
accent: string;
|
824
|
+
alert: string;
|
825
|
+
black: string;
|
826
|
+
brand: string;
|
827
|
+
positive: string;
|
828
|
+
warning: string;
|
829
|
+
white: string;
|
830
|
+
transparent: string;
|
831
|
+
muted: string;
|
832
|
+
primary: string;
|
833
|
+
secondary: string;
|
834
|
+
tertiary: string;
|
835
|
+
};
|
836
|
+
borderEndColor: {
|
837
|
+
accent: string;
|
838
|
+
alert: string;
|
839
|
+
black: string;
|
840
|
+
brand: string;
|
841
|
+
positive: string;
|
842
|
+
warning: string;
|
843
|
+
white: string;
|
844
|
+
transparent: string;
|
845
|
+
muted: string;
|
846
|
+
primary: string;
|
847
|
+
secondary: string;
|
848
|
+
tertiary: string;
|
849
|
+
};
|
850
|
+
borderBottomColor: {
|
851
|
+
accent: string;
|
852
|
+
alert: string;
|
853
|
+
black: string;
|
854
|
+
brand: string;
|
855
|
+
positive: string;
|
856
|
+
warning: string;
|
857
|
+
white: string;
|
858
|
+
transparent: string;
|
859
|
+
muted: string;
|
860
|
+
primary: string;
|
861
|
+
secondary: string;
|
862
|
+
tertiary: string;
|
863
|
+
};
|
864
|
+
borderTopColor: {
|
865
|
+
accent: string;
|
866
|
+
alert: string;
|
867
|
+
black: string;
|
868
|
+
brand: string;
|
869
|
+
positive: string;
|
870
|
+
warning: string;
|
871
|
+
white: string;
|
872
|
+
transparent: string;
|
873
|
+
muted: string;
|
874
|
+
primary: string;
|
875
|
+
secondary: string;
|
876
|
+
tertiary: string;
|
877
|
+
};
|
878
|
+
borderRadius: {
|
879
|
+
none: string;
|
880
|
+
xs: string;
|
881
|
+
sm: string;
|
882
|
+
md: string;
|
883
|
+
lg: string;
|
884
|
+
xl: string;
|
885
|
+
full: string;
|
886
|
+
};
|
887
|
+
borderTopStartRadius: {
|
888
|
+
none: string;
|
889
|
+
xs: string;
|
890
|
+
sm: string;
|
891
|
+
md: string;
|
892
|
+
lg: string;
|
893
|
+
xl: string;
|
894
|
+
full: string;
|
895
|
+
};
|
896
|
+
borderTopEndRadius: {
|
897
|
+
none: string;
|
898
|
+
xs: string;
|
899
|
+
sm: string;
|
900
|
+
md: string;
|
901
|
+
lg: string;
|
902
|
+
xl: string;
|
903
|
+
full: string;
|
904
|
+
};
|
905
|
+
borderBottomStartRadius: {
|
906
|
+
none: string;
|
907
|
+
xs: string;
|
908
|
+
sm: string;
|
909
|
+
md: string;
|
910
|
+
lg: string;
|
911
|
+
xl: string;
|
912
|
+
full: string;
|
913
|
+
};
|
914
|
+
borderBottomEndRadius: {
|
915
|
+
none: string;
|
916
|
+
xs: string;
|
917
|
+
sm: string;
|
918
|
+
md: string;
|
919
|
+
lg: string;
|
920
|
+
xl: string;
|
921
|
+
full: string;
|
922
|
+
};
|
923
|
+
borderWidth: {
|
924
|
+
none: string;
|
925
|
+
thin: string;
|
926
|
+
medium: string;
|
927
|
+
thick: string;
|
928
|
+
};
|
929
|
+
borderVerticalWidth: {
|
930
|
+
none: string;
|
931
|
+
thin: string;
|
932
|
+
medium: string;
|
933
|
+
thick: string;
|
934
|
+
};
|
935
|
+
borderHorizontalWidth: {
|
936
|
+
none: string;
|
937
|
+
thin: string;
|
938
|
+
medium: string;
|
939
|
+
thick: string;
|
940
|
+
};
|
941
|
+
borderStartWidth: {
|
942
|
+
none: string;
|
943
|
+
thin: string;
|
944
|
+
medium: string;
|
945
|
+
thick: string;
|
946
|
+
};
|
947
|
+
borderEndWidth: {
|
948
|
+
none: string;
|
949
|
+
thin: string;
|
950
|
+
medium: string;
|
951
|
+
thick: string;
|
952
|
+
};
|
953
|
+
borderTopWidth: {
|
954
|
+
none: string;
|
955
|
+
thin: string;
|
956
|
+
medium: string;
|
957
|
+
thick: string;
|
958
|
+
};
|
959
|
+
borderBottomWidth: {
|
960
|
+
none: string;
|
961
|
+
thin: string;
|
962
|
+
medium: string;
|
963
|
+
thick: string;
|
964
|
+
};
|
965
|
+
avatarSize: {
|
966
|
+
s: string;
|
967
|
+
m: string;
|
968
|
+
l: string;
|
969
|
+
};
|
970
|
+
iconSize: {
|
971
|
+
sm: string;
|
972
|
+
md: string;
|
973
|
+
lg: string;
|
974
|
+
};
|
975
|
+
alignContent: {
|
976
|
+
'flex-start': string;
|
977
|
+
'flex-end': string;
|
978
|
+
center: string;
|
979
|
+
stretch: string;
|
980
|
+
'space-between': string;
|
981
|
+
'space-around': string;
|
982
|
+
};
|
983
|
+
alignItems: {
|
984
|
+
'flex-start': string;
|
985
|
+
'flex-end': string;
|
986
|
+
center: string;
|
987
|
+
stretch: string;
|
988
|
+
baseline: string;
|
989
|
+
};
|
990
|
+
alignSelf: {
|
991
|
+
auto: string;
|
992
|
+
'flex-start': string;
|
993
|
+
'flex-end': string;
|
994
|
+
center: string;
|
995
|
+
stretch: string;
|
996
|
+
baseline: string;
|
997
|
+
};
|
998
|
+
flex: {
|
999
|
+
'1': string;
|
1000
|
+
auto: string;
|
1001
|
+
initial: string;
|
1002
|
+
none: string;
|
1003
|
+
};
|
1004
|
+
flexDirection: {
|
1005
|
+
row: string;
|
1006
|
+
column: string;
|
1007
|
+
'row-reverse': string;
|
1008
|
+
'column-reverse': string;
|
1009
|
+
};
|
1010
|
+
flexGrow: {
|
1011
|
+
'0': string;
|
1012
|
+
'1': string;
|
1013
|
+
'2': string;
|
1014
|
+
'3': string;
|
1015
|
+
};
|
1016
|
+
flexShrink: {
|
1017
|
+
'0': string;
|
1018
|
+
'1': string;
|
1019
|
+
};
|
1020
|
+
flexWrap: {
|
1021
|
+
wrap: string;
|
1022
|
+
'wrap-reverse': string;
|
1023
|
+
nowrap: string;
|
1024
|
+
};
|
1025
|
+
justifyContent: {
|
1026
|
+
'flex-start': string;
|
1027
|
+
'flex-end': string;
|
1028
|
+
center: string;
|
1029
|
+
'space-between': string;
|
1030
|
+
'space-around': string;
|
1031
|
+
'space-evenly': string;
|
1032
|
+
};
|
1033
|
+
flexBasis: {
|
1034
|
+
'min-content': string;
|
1035
|
+
};
|
1036
|
+
display: {
|
1037
|
+
block: string;
|
1038
|
+
'inline-block': string;
|
1039
|
+
inline: string;
|
1040
|
+
flex: string;
|
1041
|
+
'inline-flex': string;
|
1042
|
+
table: string;
|
1043
|
+
'inline-table': string;
|
1044
|
+
'table-caption': string;
|
1045
|
+
'table-cell': string;
|
1046
|
+
'table-column': string;
|
1047
|
+
'table-column-group': string;
|
1048
|
+
'table-footer-group': string;
|
1049
|
+
'table-header-group': string;
|
1050
|
+
'table-row-group': string;
|
1051
|
+
'table-row': string;
|
1052
|
+
'flow-root': string;
|
1053
|
+
grid: string;
|
1054
|
+
contents: string;
|
1055
|
+
};
|
1056
|
+
overflow: {
|
1057
|
+
auto: string;
|
1058
|
+
hidden: string;
|
1059
|
+
clip: string;
|
1060
|
+
visible: string;
|
1061
|
+
scroll: string;
|
1062
|
+
};
|
1063
|
+
overflowX: {
|
1064
|
+
auto: string;
|
1065
|
+
hidden: string;
|
1066
|
+
clip: string;
|
1067
|
+
visible: string;
|
1068
|
+
scroll: string;
|
1069
|
+
};
|
1070
|
+
overflowY: {
|
1071
|
+
auto: string;
|
1072
|
+
hidden: string;
|
1073
|
+
clip: string;
|
1074
|
+
visible: string;
|
1075
|
+
scroll: string;
|
1076
|
+
};
|
1077
|
+
position: {
|
1078
|
+
static: string;
|
1079
|
+
fixed: string;
|
1080
|
+
absolute: string;
|
1081
|
+
relative: string;
|
1082
|
+
sticky: string;
|
1083
|
+
};
|
1084
|
+
contentFit: {
|
1085
|
+
contain: string;
|
1086
|
+
cover: string;
|
1087
|
+
fill: string;
|
1088
|
+
none: string;
|
1089
|
+
'scale-down': string;
|
1090
|
+
};
|
1091
|
+
colorMode: {
|
1092
|
+
dark: string;
|
1093
|
+
light: string;
|
1094
|
+
};
|
1095
|
+
scaleMode: {
|
1096
|
+
xSmall: string;
|
1097
|
+
small: string;
|
1098
|
+
medium: string;
|
1099
|
+
large: string;
|
1100
|
+
xLarge: string;
|
1101
|
+
xxxLarge: string;
|
1102
|
+
xxLarge: string;
|
1103
|
+
};
|
1104
|
+
};
|
11
1105
|
|
12
1106
|
declare const UDS_PREFIX = "uds";
|
13
1107
|
declare const SPECTRUM_COLOR_PREFIX = "uds-spectrum-color";
|
@@ -80,7 +1174,25 @@ declare const Text: react.ForwardRefExoticComponent<TextProps & react.RefAttribu
|
|
80
1174
|
|
81
1175
|
interface IconProps extends UniversalIconProps, TextPropsOriginal {
|
82
1176
|
}
|
83
|
-
|
1177
|
+
/**
|
1178
|
+
* Icons are small symbols for actions or other items. They are available in
|
1179
|
+
* three different sizes: `sm`, `md`, and `lg`. Each size also supports an
|
1180
|
+
* outline and fill variant. Icons can be colored using the `color` prop.
|
1181
|
+
*
|
1182
|
+
* The component is available in the `@yahoo/uds` package but is meant to be used
|
1183
|
+
* with the assets in `@yahoo/uds-icons`. You will need both packages to use icons.
|
1184
|
+
* A separate package provides modularity from the core library, better
|
1185
|
+
* versioning strategies, and tree shakeability.
|
1186
|
+
*
|
1187
|
+
* **Basic usage**
|
1188
|
+
* ```tsx
|
1189
|
+
* import { Icon } from '@yahoo/uds';
|
1190
|
+
* import { AddFolder } from '@yahoo/uds-icons';
|
1191
|
+
*
|
1192
|
+
* <Icon name={AddFolder} variant="fill" size="sm" />
|
1193
|
+
* ```
|
1194
|
+
*/
|
1195
|
+
declare const Icon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
|
84
1196
|
|
85
1197
|
type VStackProps = UniversalStackProps & ViewProps;
|
86
1198
|
declare const VStack: react.ForwardRefExoticComponent<UniversalStackProps & ViewProps & react.RefAttributes<View>>;
|
@@ -177,8 +1289,8 @@ interface CVA<T> {
|
|
177
1289
|
type ReactNativeStyle = StyleProp<ViewStyle | TextStyle | ImageStyle>;
|
178
1290
|
declare function createStyler({ colorMode, scaleMode }: Modes, config: UniversalTokensConfig): {
|
179
1291
|
cva: CVA<ReactNativeStyle>;
|
180
|
-
getStyles: <T extends ReactNativeStyle>({ style, ...props }:
|
181
|
-
style?: T
|
1292
|
+
getStyles: <T extends ReactNativeStyle>({ style, ...props }: StyleProps & {
|
1293
|
+
style?: T;
|
182
1294
|
}) => ReactNativeStyle;
|
183
1295
|
tokens: {
|
184
1296
|
avatarSizes: AvatarSizeConfig;
|
@@ -583,8 +1695,8 @@ declare function createStyler({ colorMode, scaleMode }: Modes, config: Universal
|
|
583
1695
|
};
|
584
1696
|
declare const DEFAULT_STYLER: {
|
585
1697
|
cva: CVA<ReactNativeStyle>;
|
586
|
-
getStyles: <T extends ReactNativeStyle>({ style, ...props }:
|
587
|
-
style?: T
|
1698
|
+
getStyles: <T extends ReactNativeStyle>({ style, ...props }: StyleProps & {
|
1699
|
+
style?: T;
|
588
1700
|
}) => ReactNativeStyle;
|
589
1701
|
tokens: {
|
590
1702
|
avatarSizes: AvatarSizeConfig;
|
@@ -1403,4 +2515,4 @@ interface ThemeProviderProps extends React.PropsWithChildren {
|
|
1403
2515
|
}
|
1404
2516
|
declare function ThemeProvider({ children, colorModeForApp, scaleModeForApp, config, }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
|
1405
2517
|
|
1406
|
-
export { AVATAR_SIZE_PREFIX, AvatarSizeConfig, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX,
|
2518
|
+
export { AVATAR_SIZE_PREFIX, AvatarSizeConfig, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BorderRadiusConfig, BorderWidthConfig, Box, type BoxProps, ColorMode, ColorModeContext, ColorModeForApp, ColorModeForAppContext, ColorModeForAppContextUpdater, ColorModeForAppProvider, type ColorModeForAppProviderProps, ColorModeForDeviceContext, ColorModeForDeviceProvider, type ColorModeForDeviceProviderProps, ColorModeProvider, type ColorModeProviderProps, ComputedTokensContext, ComputedTokensProvider, type ComputedTokensProviderProps, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, DEFAULT_STYLER, FONT_FAMILY_PREFIX, FONT_ICONS_CSS_VAR, FONT_SANS_BETA_CSS_VAR, FONT_SANS_CONDENSED_CSS_VAR, FONT_SANS_CSS_VAR, FONT_SERIF_DISPLAY_CSS_VAR, FONT_SERIF_TEXT_CSS_VAR, FONT_SIZE_PREFIX, FONT_WEIGHT_PREFIX, FontFamilyConfig, FontFamilyGlobalConfig, FontSizeConfig, FontWeightConfig, HStack, type HStackProps, ICON_SIZE_PREFIX, Icon, type IconProps, IconSizeConfig, LARGE_SCALE_MODE_CLASSNAME, LIGHT_COLOR_MODE_CLASSNAME, LINE_HEIGHT_PREFIX, LineHeightConfig, MEDIUM_SCALE_MODE_CLASSNAME, Modes, type ReactNativeStyle, SMALL_SCALE_MODE_CLASSNAME, SPECTRUM_COLOR_PREFIX, ScaleMode, ScaleModeContext, ScaleModeForApp, ScaleModeForAppContext, ScaleModeForAppProvider, type ScaleModeForAppProviderProps, ScaleModeForAppUpdaterContext, ScaleModeForDeviceContext, ScaleModeForDeviceProvider, type ScaleModeForDeviceProviderProps, ScaleModeProvider, type ScaleModeProviderProps, Screen, type ScreenProps, type SetState, StyleProps, StyleProvider, TEXT_TRANSFORM_PREFIX, Text, type TextProps, type TextPropsOriginal, TextTransformConfig, ThemeProvider, type ThemeProviderProps, UDS_PREFIX, UniversalBoxProps, UniversalIconProps, UniversalStackProps, UniversalTextProps, UniversalTokensConfig, VStack, type VStackProps, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, createStyler, entries, fromEntries, mapValues, useAppState, useColorMode, useColorModeForApp, useColorModeForDevice, useComputedTokens, useDeviceFontScale, useScaleMode, useScaleModeForDevice, useStyles, useTokens, variants };
|