@yahoo/uds 0.5.6 → 0.5.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (52) hide show
  1. package/dist/{Image.native-t6JVy3qi.d.cts → Image.native-CIafNow6.d.cts} +1 -1
  2. package/dist/{Image.native-B7g_JqfQ.d.ts → Image.native-Cbv-erHz.d.ts} +1 -1
  3. package/dist/{VStack-BA1lcm0p.d.ts → VStack-DTK919lo.d.ts} +1 -1
  4. package/dist/{VStack-DoQaz7yf.d.cts → VStack-DnjkTYdB.d.cts} +1 -1
  5. package/dist/experimental/index.cjs +4 -4
  6. package/dist/experimental/index.d.cts +2 -2
  7. package/dist/experimental/index.d.ts +2 -2
  8. package/dist/experimental/index.js +3 -3
  9. package/dist/experimental/index.native.cjs +1 -1
  10. package/dist/experimental/index.native.d.cts +4 -4
  11. package/dist/experimental/index.native.d.ts +4 -4
  12. package/dist/experimental/index.native.js +1 -1
  13. package/dist/fixtures.cjs +6 -6
  14. package/dist/fixtures.d.ts +13 -13
  15. package/dist/fixtures.js +6 -6
  16. package/dist/index.cjs +2 -2
  17. package/dist/index.d.cts +7 -7
  18. package/dist/index.d.ts +7 -7
  19. package/dist/index.js +3 -3
  20. package/dist/{index.native-Cl1NmAGq.d.ts → index.native-B7lxeKHq.d.ts} +1 -1
  21. package/dist/{index.native-axhnucpt.d.cts → index.native-y03H93Or.d.cts} +1 -1
  22. package/dist/index.native.cjs +1 -1
  23. package/dist/index.native.d.cts +13 -8
  24. package/dist/index.native.d.ts +13 -8
  25. package/dist/index.native.js +1 -1
  26. package/dist/metafile-cjs.json +1 -1
  27. package/dist/metafile-esm.json +1 -1
  28. package/dist/tailwind/plugin.cjs +1 -1
  29. package/dist/tailwind/plugin.d.cts +1 -1
  30. package/dist/tailwind/plugin.d.ts +1 -1
  31. package/dist/tailwind/plugin.js +2 -2
  32. package/dist/tailwind/purger.cjs +1 -1
  33. package/dist/tailwind/purger.js +1 -1
  34. package/dist/tailwind/tsMorph.cjs +1 -1
  35. package/dist/tailwind/tsMorph.js +2 -2
  36. package/dist/tokens/index.cjs +1 -1
  37. package/dist/tokens/index.d.cts +8 -6
  38. package/dist/tokens/index.d.ts +8 -6
  39. package/dist/tokens/index.js +2 -2
  40. package/dist/tokens/index.native.cjs +1 -1
  41. package/dist/tokens/index.native.d.cts +2 -2
  42. package/dist/tokens/index.native.d.ts +2 -2
  43. package/dist/tokens/index.native.js +1 -1
  44. package/dist/tokens/parseTokens.cjs +1 -1
  45. package/dist/tokens/parseTokens.d.cts +1 -1
  46. package/dist/tokens/parseTokens.d.ts +1 -1
  47. package/dist/tokens/parseTokens.js +1 -1
  48. package/dist/{types-Dg9w4-q2.d.cts → types-BB7LBOmj.d.cts} +60 -7
  49. package/dist/{types-Dg9w4-q2.d.ts → types-BB7LBOmj.d.ts} +60 -7
  50. package/dist/{types-yd5VT3UG.d.cts → types-DDJJDimt.d.cts} +60 -7
  51. package/dist/{types-yd5VT3UG.d.ts → types-DDJJDimt.d.ts} +60 -7
  52. package/package.json +1 -1
@@ -54,14 +54,16 @@ type FontFamilyConfig = Record<TextVariant, FontFamilyGlobalAlias>;
54
54
  type FontWeightConfig = Record<TextVariant, FontWeightDescriptive>;
55
55
  type LineHeightConfig = Record<TextVariant, LineHeight>;
56
56
  type ConfigurableTextProperty = 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight' | 'textTransform';
57
- type AvatarSize = 's' | 'm' | 'l';
57
+ type TShirtSize = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
58
+ type TShirtSizeCommon = Extract<TShirtSize, 'sm' | 'md' | 'lg'>;
59
+ type AvatarSize = TShirtSizeCommon;
58
60
  type AvatarSizeConfig = Record<AvatarSize, number>;
59
61
  type AvatarShape = BorderRadius;
60
- type IconSize = 'sm' | 'md' | 'lg';
62
+ type IconSize = TShirtSizeCommon;
61
63
  type IconSizeConfig = Record<IconSize, number>;
62
64
  type SpacingAlias = '0' | 'px' | '0.5' | '1' | '1.5' | '2' | '2.5' | '3' | '3.5' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '14' | '16' | '20' | '24' | '28' | '32' | '36' | '40' | '44' | '48' | '52' | '56' | '60' | '64' | '72' | '80' | '96';
63
65
  type SpacingConfig = Record<SpacingAlias, number>;
64
- type BorderRadius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
66
+ type BorderRadius = TShirtSize;
65
67
  type BorderRadiusConfig = Record<BorderRadius, number>;
66
68
  type BorderWidth = 'none' | 'thin' | 'medium' | 'thick';
67
69
  type BorderWidthConfig = Record<BorderWidth, number>;
@@ -97,10 +99,61 @@ type ScaleConfig = {
97
99
  textTransform: TextTransformConfig;
98
100
  };
99
101
  type ScaleModeConfig = Record<ScaleMode, ScaleConfig>;
102
+ type ButtonSpectrumColor = {
103
+ type: 'spectrum';
104
+ value: SpectrumColor;
105
+ };
106
+ type ButtonComputedColor = {
107
+ type: 'computed';
108
+ value: `${string} ${string} ${string}`;
109
+ meta: {
110
+ effect: 'lighten' | 'darken';
111
+ hue: Hue;
112
+ hueStep: HueStep;
113
+ };
114
+ };
115
+ type ButtonBackgroundPaletteColor = {
116
+ type: 'palette';
117
+ value: BackgroundColor;
118
+ };
119
+ type ButtonForegroundPaletteColor = {
120
+ type: 'palette';
121
+ value: ForegroundColor;
122
+ };
123
+ type ButtonBorderPaletteColor = {
124
+ type: 'palette';
125
+ value: LineColor;
126
+ };
127
+ interface ButtonStateConfig {
128
+ backgroundColor?: ButtonSpectrumColor | ButtonBackgroundPaletteColor | ButtonComputedColor;
129
+ foregroundColor: ButtonSpectrumColor | ButtonForegroundPaletteColor | ButtonComputedColor;
130
+ borderColor?: ButtonSpectrumColor | ButtonBorderPaletteColor | ButtonComputedColor;
131
+ }
132
+ interface ButtonVariantConfig {
133
+ kind: 'fill' | 'outline' | 'ghost';
134
+ borderWidth: BorderWidth;
135
+ rest: ButtonStateConfig;
136
+ hover: ButtonStateConfig;
137
+ pressed: ButtonStateConfig;
138
+ disabled: ButtonStateConfig;
139
+ }
140
+ interface ButtonSizeConfig {
141
+ spacingHorizontal: SpacingAlias;
142
+ spacingVertical: SpacingAlias;
143
+ gap: SpacingAlias;
144
+ iconSize: IconSize;
145
+ textStyle: TextVariant;
146
+ shape: BorderRadius;
147
+ }
148
+ interface ButtonConfig {
149
+ sizes: Record<TShirtSizeCommon, ButtonSizeConfig>;
150
+ variants: Record<'primary' | 'secondary' | 'tertiary', ButtonVariantConfig>;
151
+ }
100
152
  type UniversalTokensConfig = {
101
153
  colorMode: ColorModeConfig;
102
154
  scaleMode: ScaleModeConfig;
103
155
  fontFamily: FontFamilyGlobalConfig;
156
+ buttons?: ButtonConfig;
104
157
  };
105
158
  type PlatformMode = 'web' | 'ios' | 'android';
106
159
  type ColorMode = 'light' | 'dark';
@@ -303,12 +356,12 @@ interface UniversalPressableProps extends UniversalBoxProps {
303
356
  onPress?: () => void;
304
357
  }
305
358
  type ButtonVariant = CorePaletteAlias | `${CorePaletteAlias}-outline` | `${CorePaletteAlias}-ghost` | 'primary-ghost' | 'primary-outline' | 'secondary';
306
- type ButtonSize = 's' | 'm' | 'l';
359
+ type ButtonSize = TShirtSizeCommon;
307
360
  interface UniversalIconButtonProps {
308
361
  /** The variant of the button. */
309
362
  variant?: ButtonVariant;
310
363
  /** The size of the button. */
311
- size?: ButtonSize;
364
+ size?: UniversalIconProps['size'];
312
365
  /** Icon to render from the icons package. */
313
366
  name: SvgIcon;
314
367
  /** Color for the icon. */
@@ -322,7 +375,7 @@ interface UniversalButtonProps {
322
375
  variant?: ButtonVariant;
323
376
  /**
324
377
  * The size of the button
325
- * @default 'm'
378
+ * @default 'md'
326
379
  */
327
380
  size?: ButtonSize;
328
381
  /** The name of the icon to be displayed at the start of the button. */
@@ -362,4 +415,4 @@ interface UniversalTextInputProps {
362
415
  spacingHorizontal?: SpacingAlias;
363
416
  }
364
417
 
365
- export { type FontFamilyGlobalAlias as $, type AlwaysPalette as A, type BackgroundPaletteAlias as B, type ColorMode as C, type ColorModeConfig as D, type ColorModeForApp as E, type ForegroundPaletteAlias as F, type ConfigurableTextProperty as G, type Hue as H, type CorePalette as I, type CustomSizingStyleProps as J, type DataAttribute as K, type LinePaletteAlias as L, type Display as M, type Flex as N, type FlexAlignContent as O, type FlexAlignItems as P, type FlexAlignSelf as Q, type FlexBasis as R, type ScaleMode as S, type FlexDirection as T, type UniversalTokensConfig as U, type FlexGrow as V, type FlexJustifyContent as W, type FlexShrink as X, type FlexStyleProps as Y, type FlexWrap as Z, type FontFamilyConfig as _, type ColorsConfig as a, type FontSize as a0, type FontSizeConfig as a1, type FontWeightDescriptive as a2, type ForegroundColor as a3, type ForegroundPalette as a4, type HighContrastMode as a5, type IconSize as a6, type IconSizeConfig as a7, type ImageStyleProps as a8, type LayoutStyleProps as a9, type TextTransform as aA, type TextTransformConfig as aB, type TextVariant as aC, type TransitionDelay as aD, type TransitionDuration as aE, type TransitionTiming as aF, type UniversalAvatarProps as aG, type UniversalBoxProps as aH, type UniversalButtonProps as aI, type UniversalIconButtonProps as aJ, type UniversalIconProps as aK, type UniversalPressableProps as aL, type UniversalTextInputProps as aM, type UniversalTextProps as aN, type LetterSpacing as aa, type LineClampAlias as ab, type LineColor as ac, type LineHeight as ad, type LineHeightConfig as ae, type LinePalette as af, type Modes as ag, type Overflow as ah, type Palette as ai, type PaletteConfig as aj, type PaletteType as ak, type PaletteValue as al, type PlatformMode as am, type Position as an, type RegionMode as ao, type ScaleConfig as ap, type ScaleModeConfig as aq, type ScaleModeForApp as ar, type SpacingAlias as as, type SpacingConfig as at, type SpacingStyleProps as au, type SpectrumColor as av, type SpectrumConfig as aw, type StateStyleProps as ax, type StyleProps as ay, type TextStyleProps as az, type HueStep as b, type CorePaletteAlias as c, type FontWeightConfig as d, type FontWeightNumeric as e, type FontFamilyGlobalConfig as f, type UniversalStackProps as g, type UniversalImageProps as h, alwaysPalette as i, type AlwaysPaletteAlias as j, type Animation as k, type AriaAttribute as l, type AvatarShape as m, type AvatarSize as n, type AvatarSizeConfig as o, type BackgroundColor as p, type BackgroundPalette as q, type BackgroundStyleProps as r, type BorderRadius as s, type BorderRadiusConfig as t, type BorderStyleProps as u, type BorderWidth as v, type BorderWidthConfig as w, type BoxShadowConfig as x, type ButtonSize as y, type ButtonVariant as z };
418
+ export { type FontFamilyConfig as $, type AlwaysPalette as A, type BackgroundPaletteAlias as B, type ColorMode as C, type ButtonVariant as D, type ColorModeConfig as E, type ForegroundPaletteAlias as F, type ColorModeForApp as G, type Hue as H, type ConfigurableTextProperty as I, type CorePalette as J, type CustomSizingStyleProps as K, type LinePaletteAlias as L, type DataAttribute as M, type Display as N, type Flex as O, type FlexAlignContent as P, type FlexAlignItems as Q, type FlexAlignSelf as R, type ScaleMode as S, type FlexBasis as T, type UniversalTokensConfig as U, type FlexDirection as V, type FlexGrow as W, type FlexJustifyContent as X, type FlexShrink as Y, type FlexStyleProps as Z, type FlexWrap as _, type ColorsConfig as a, type FontFamilyGlobalAlias as a0, type FontSize as a1, type FontSizeConfig as a2, type FontWeightDescriptive as a3, type ForegroundColor as a4, type ForegroundPalette as a5, type HighContrastMode as a6, type IconSize as a7, type IconSizeConfig as a8, type ImageStyleProps as a9, type TextStyleProps as aA, type TextTransform as aB, type TextTransformConfig as aC, type TextVariant as aD, type TransitionDelay as aE, type TransitionDuration as aF, type TransitionTiming as aG, type TShirtSize as aH, type TShirtSizeCommon as aI, type UniversalAvatarProps as aJ, type UniversalBoxProps as aK, type UniversalButtonProps as aL, type UniversalIconButtonProps as aM, type UniversalIconProps as aN, type UniversalPressableProps as aO, type UniversalTextInputProps as aP, type UniversalTextProps as aQ, type LayoutStyleProps as aa, type LetterSpacing as ab, type LineClampAlias as ac, type LineColor as ad, type LineHeight as ae, type LineHeightConfig as af, type LinePalette as ag, type Modes as ah, type Overflow as ai, type Palette as aj, type PaletteConfig as ak, type PaletteType as al, type PaletteValue as am, type PlatformMode as an, type Position as ao, type RegionMode as ap, type ScaleConfig as aq, type ScaleModeConfig as ar, type ScaleModeForApp as as, type SpacingAlias as at, type SpacingConfig as au, type SpacingStyleProps as av, type SpectrumColor as aw, type SpectrumConfig as ax, type StateStyleProps as ay, type StyleProps as az, type HueStep as b, type CorePaletteAlias as c, type FontWeightConfig as d, type FontWeightNumeric as e, type FontFamilyGlobalConfig as f, type UniversalStackProps as g, type UniversalImageProps as h, alwaysPalette as i, type AlwaysPaletteAlias as j, type Animation as k, type AriaAttribute as l, type AvatarShape as m, type AvatarSize as n, type AvatarSizeConfig as o, type BackgroundColor as p, type BackgroundPalette as q, type BackgroundStyleProps as r, type BorderRadius as s, type BorderRadiusConfig as t, type BorderStyleProps as u, type BorderWidth as v, type BorderWidthConfig as w, type BoxShadowConfig as x, type ButtonConfig as y, type ButtonSize as z };
@@ -54,14 +54,16 @@ type FontFamilyConfig = Record<TextVariant, FontFamilyGlobalAlias>;
54
54
  type FontWeightConfig = Record<TextVariant, FontWeightDescriptive>;
55
55
  type LineHeightConfig = Record<TextVariant, LineHeight>;
56
56
  type ConfigurableTextProperty = 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight' | 'textTransform';
57
- type AvatarSize = 's' | 'm' | 'l';
57
+ type TShirtSize = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
58
+ type TShirtSizeCommon = Extract<TShirtSize, 'sm' | 'md' | 'lg'>;
59
+ type AvatarSize = TShirtSizeCommon;
58
60
  type AvatarSizeConfig = Record<AvatarSize, number>;
59
61
  type AvatarShape = BorderRadius;
60
- type IconSize = 'sm' | 'md' | 'lg';
62
+ type IconSize = TShirtSizeCommon;
61
63
  type IconSizeConfig = Record<IconSize, number>;
62
64
  type SpacingAlias = '0' | 'px' | '0.5' | '1' | '1.5' | '2' | '2.5' | '3' | '3.5' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '14' | '16' | '20' | '24' | '28' | '32' | '36' | '40' | '44' | '48' | '52' | '56' | '60' | '64' | '72' | '80' | '96';
63
65
  type SpacingConfig = Record<SpacingAlias, number>;
64
- type BorderRadius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
66
+ type BorderRadius = TShirtSize;
65
67
  type BorderRadiusConfig = Record<BorderRadius, number>;
66
68
  type BorderWidth = 'none' | 'thin' | 'medium' | 'thick';
67
69
  type BorderWidthConfig = Record<BorderWidth, number>;
@@ -97,10 +99,61 @@ type ScaleConfig = {
97
99
  textTransform: TextTransformConfig;
98
100
  };
99
101
  type ScaleModeConfig = Record<ScaleMode, ScaleConfig>;
102
+ type ButtonSpectrumColor = {
103
+ type: 'spectrum';
104
+ value: SpectrumColor;
105
+ };
106
+ type ButtonComputedColor = {
107
+ type: 'computed';
108
+ value: `${string} ${string} ${string}`;
109
+ meta: {
110
+ effect: 'lighten' | 'darken';
111
+ hue: Hue;
112
+ hueStep: HueStep;
113
+ };
114
+ };
115
+ type ButtonBackgroundPaletteColor = {
116
+ type: 'palette';
117
+ value: BackgroundColor;
118
+ };
119
+ type ButtonForegroundPaletteColor = {
120
+ type: 'palette';
121
+ value: ForegroundColor;
122
+ };
123
+ type ButtonBorderPaletteColor = {
124
+ type: 'palette';
125
+ value: LineColor;
126
+ };
127
+ interface ButtonStateConfig {
128
+ backgroundColor?: ButtonSpectrumColor | ButtonBackgroundPaletteColor | ButtonComputedColor;
129
+ foregroundColor: ButtonSpectrumColor | ButtonForegroundPaletteColor | ButtonComputedColor;
130
+ borderColor?: ButtonSpectrumColor | ButtonBorderPaletteColor | ButtonComputedColor;
131
+ }
132
+ interface ButtonVariantConfig {
133
+ kind: 'fill' | 'outline' | 'ghost';
134
+ borderWidth: BorderWidth;
135
+ rest: ButtonStateConfig;
136
+ hover: ButtonStateConfig;
137
+ pressed: ButtonStateConfig;
138
+ disabled: ButtonStateConfig;
139
+ }
140
+ interface ButtonSizeConfig {
141
+ spacingHorizontal: SpacingAlias;
142
+ spacingVertical: SpacingAlias;
143
+ gap: SpacingAlias;
144
+ iconSize: IconSize;
145
+ textStyle: TextVariant;
146
+ shape: BorderRadius;
147
+ }
148
+ interface ButtonConfig {
149
+ sizes: Record<TShirtSizeCommon, ButtonSizeConfig>;
150
+ variants: Record<'primary' | 'secondary' | 'tertiary', ButtonVariantConfig>;
151
+ }
100
152
  type UniversalTokensConfig = {
101
153
  colorMode: ColorModeConfig;
102
154
  scaleMode: ScaleModeConfig;
103
155
  fontFamily: FontFamilyGlobalConfig;
156
+ buttons?: ButtonConfig;
104
157
  };
105
158
  type PlatformMode = 'web' | 'ios' | 'android';
106
159
  type ColorMode = 'light' | 'dark';
@@ -303,12 +356,12 @@ interface UniversalPressableProps extends UniversalBoxProps {
303
356
  onPress?: () => void;
304
357
  }
305
358
  type ButtonVariant = CorePaletteAlias | `${CorePaletteAlias}-outline` | `${CorePaletteAlias}-ghost` | 'primary-ghost' | 'primary-outline' | 'secondary';
306
- type ButtonSize = 's' | 'm' | 'l';
359
+ type ButtonSize = TShirtSizeCommon;
307
360
  interface UniversalIconButtonProps {
308
361
  /** The variant of the button. */
309
362
  variant?: ButtonVariant;
310
363
  /** The size of the button. */
311
- size?: ButtonSize;
364
+ size?: UniversalIconProps['size'];
312
365
  /** Icon to render from the icons package. */
313
366
  name: SvgIcon;
314
367
  /** Color for the icon. */
@@ -322,7 +375,7 @@ interface UniversalButtonProps {
322
375
  variant?: ButtonVariant;
323
376
  /**
324
377
  * The size of the button
325
- * @default 'm'
378
+ * @default 'md'
326
379
  */
327
380
  size?: ButtonSize;
328
381
  /** The name of the icon to be displayed at the start of the button. */
@@ -362,4 +415,4 @@ interface UniversalTextInputProps {
362
415
  spacingHorizontal?: SpacingAlias;
363
416
  }
364
417
 
365
- export { type FontFamilyGlobalAlias as $, type AlwaysPalette as A, type BackgroundPaletteAlias as B, type ColorMode as C, type ColorModeConfig as D, type ColorModeForApp as E, type ForegroundPaletteAlias as F, type ConfigurableTextProperty as G, type Hue as H, type CorePalette as I, type CustomSizingStyleProps as J, type DataAttribute as K, type LinePaletteAlias as L, type Display as M, type Flex as N, type FlexAlignContent as O, type FlexAlignItems as P, type FlexAlignSelf as Q, type FlexBasis as R, type ScaleMode as S, type FlexDirection as T, type UniversalTokensConfig as U, type FlexGrow as V, type FlexJustifyContent as W, type FlexShrink as X, type FlexStyleProps as Y, type FlexWrap as Z, type FontFamilyConfig as _, type ColorsConfig as a, type FontSize as a0, type FontSizeConfig as a1, type FontWeightDescriptive as a2, type ForegroundColor as a3, type ForegroundPalette as a4, type HighContrastMode as a5, type IconSize as a6, type IconSizeConfig as a7, type ImageStyleProps as a8, type LayoutStyleProps as a9, type TextTransform as aA, type TextTransformConfig as aB, type TextVariant as aC, type TransitionDelay as aD, type TransitionDuration as aE, type TransitionTiming as aF, type UniversalAvatarProps as aG, type UniversalBoxProps as aH, type UniversalButtonProps as aI, type UniversalIconButtonProps as aJ, type UniversalIconProps as aK, type UniversalPressableProps as aL, type UniversalTextInputProps as aM, type UniversalTextProps as aN, type LetterSpacing as aa, type LineClampAlias as ab, type LineColor as ac, type LineHeight as ad, type LineHeightConfig as ae, type LinePalette as af, type Modes as ag, type Overflow as ah, type Palette as ai, type PaletteConfig as aj, type PaletteType as ak, type PaletteValue as al, type PlatformMode as am, type Position as an, type RegionMode as ao, type ScaleConfig as ap, type ScaleModeConfig as aq, type ScaleModeForApp as ar, type SpacingAlias as as, type SpacingConfig as at, type SpacingStyleProps as au, type SpectrumColor as av, type SpectrumConfig as aw, type StateStyleProps as ax, type StyleProps as ay, type TextStyleProps as az, type HueStep as b, type CorePaletteAlias as c, type FontWeightConfig as d, type FontWeightNumeric as e, type FontFamilyGlobalConfig as f, type UniversalStackProps as g, type UniversalImageProps as h, alwaysPalette as i, type AlwaysPaletteAlias as j, type Animation as k, type AriaAttribute as l, type AvatarShape as m, type AvatarSize as n, type AvatarSizeConfig as o, type BackgroundColor as p, type BackgroundPalette as q, type BackgroundStyleProps as r, type BorderRadius as s, type BorderRadiusConfig as t, type BorderStyleProps as u, type BorderWidth as v, type BorderWidthConfig as w, type BoxShadowConfig as x, type ButtonSize as y, type ButtonVariant as z };
418
+ export { type FontFamilyConfig as $, type AlwaysPalette as A, type BackgroundPaletteAlias as B, type ColorMode as C, type ButtonVariant as D, type ColorModeConfig as E, type ForegroundPaletteAlias as F, type ColorModeForApp as G, type Hue as H, type ConfigurableTextProperty as I, type CorePalette as J, type CustomSizingStyleProps as K, type LinePaletteAlias as L, type DataAttribute as M, type Display as N, type Flex as O, type FlexAlignContent as P, type FlexAlignItems as Q, type FlexAlignSelf as R, type ScaleMode as S, type FlexBasis as T, type UniversalTokensConfig as U, type FlexDirection as V, type FlexGrow as W, type FlexJustifyContent as X, type FlexShrink as Y, type FlexStyleProps as Z, type FlexWrap as _, type ColorsConfig as a, type FontFamilyGlobalAlias as a0, type FontSize as a1, type FontSizeConfig as a2, type FontWeightDescriptive as a3, type ForegroundColor as a4, type ForegroundPalette as a5, type HighContrastMode as a6, type IconSize as a7, type IconSizeConfig as a8, type ImageStyleProps as a9, type TextStyleProps as aA, type TextTransform as aB, type TextTransformConfig as aC, type TextVariant as aD, type TransitionDelay as aE, type TransitionDuration as aF, type TransitionTiming as aG, type TShirtSize as aH, type TShirtSizeCommon as aI, type UniversalAvatarProps as aJ, type UniversalBoxProps as aK, type UniversalButtonProps as aL, type UniversalIconButtonProps as aM, type UniversalIconProps as aN, type UniversalPressableProps as aO, type UniversalTextInputProps as aP, type UniversalTextProps as aQ, type LayoutStyleProps as aa, type LetterSpacing as ab, type LineClampAlias as ac, type LineColor as ad, type LineHeight as ae, type LineHeightConfig as af, type LinePalette as ag, type Modes as ah, type Overflow as ai, type Palette as aj, type PaletteConfig as ak, type PaletteType as al, type PaletteValue as am, type PlatformMode as an, type Position as ao, type RegionMode as ap, type ScaleConfig as aq, type ScaleModeConfig as ar, type ScaleModeForApp as as, type SpacingAlias as at, type SpacingConfig as au, type SpacingStyleProps as av, type SpectrumColor as aw, type SpectrumConfig as ax, type StateStyleProps as ay, type StyleProps as az, type HueStep as b, type CorePaletteAlias as c, type FontWeightConfig as d, type FontWeightNumeric as e, type FontFamilyGlobalConfig as f, type UniversalStackProps as g, type UniversalImageProps as h, alwaysPalette as i, type AlwaysPaletteAlias as j, type Animation as k, type AriaAttribute as l, type AvatarShape as m, type AvatarSize as n, type AvatarSizeConfig as o, type BackgroundColor as p, type BackgroundPalette as q, type BackgroundStyleProps as r, type BorderRadius as s, type BorderRadiusConfig as t, type BorderStyleProps as u, type BorderWidth as v, type BorderWidthConfig as w, type BoxShadowConfig as x, type ButtonConfig as y, type ButtonSize as z };
@@ -54,14 +54,16 @@ type FontFamilyConfig = Record<TextVariant, FontFamilyGlobalAlias>;
54
54
  type FontWeightConfig = Record<TextVariant, FontWeightDescriptive>;
55
55
  type LineHeightConfig = Record<TextVariant, LineHeight>;
56
56
  type ConfigurableTextProperty = 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight' | 'textTransform';
57
- type AvatarSize = 's' | 'm' | 'l';
57
+ type TShirtSize = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
58
+ type TShirtSizeCommon = Extract<TShirtSize, 'sm' | 'md' | 'lg'>;
59
+ type AvatarSize = TShirtSizeCommon;
58
60
  type AvatarSizeConfig = Record<AvatarSize, number>;
59
61
  type AvatarShape = BorderRadius;
60
- type IconSize = 'sm' | 'md' | 'lg';
62
+ type IconSize = TShirtSizeCommon;
61
63
  type IconSizeConfig = Record<IconSize, number>;
62
64
  type SpacingAlias = '0' | 'px' | '0.5' | '1' | '1.5' | '2' | '2.5' | '3' | '3.5' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '14' | '16' | '20' | '24' | '28' | '32' | '36' | '40' | '44' | '48' | '52' | '56' | '60' | '64' | '72' | '80' | '96';
63
65
  type SpacingConfig = Record<SpacingAlias, number>;
64
- type BorderRadius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
66
+ type BorderRadius = TShirtSize;
65
67
  type BorderRadiusConfig = Record<BorderRadius, number>;
66
68
  type BorderWidth = 'none' | 'thin' | 'medium' | 'thick';
67
69
  type BorderWidthConfig = Record<BorderWidth, number>;
@@ -97,10 +99,61 @@ type ScaleConfig = {
97
99
  textTransform: TextTransformConfig;
98
100
  };
99
101
  type ScaleModeConfig = Record<ScaleMode, ScaleConfig>;
102
+ type ButtonSpectrumColor = {
103
+ type: 'spectrum';
104
+ value: SpectrumColor;
105
+ };
106
+ type ButtonComputedColor = {
107
+ type: 'computed';
108
+ value: `${string} ${string} ${string}`;
109
+ meta: {
110
+ effect: 'lighten' | 'darken';
111
+ hue: Hue;
112
+ hueStep: HueStep;
113
+ };
114
+ };
115
+ type ButtonBackgroundPaletteColor = {
116
+ type: 'palette';
117
+ value: BackgroundColor;
118
+ };
119
+ type ButtonForegroundPaletteColor = {
120
+ type: 'palette';
121
+ value: ForegroundColor;
122
+ };
123
+ type ButtonBorderPaletteColor = {
124
+ type: 'palette';
125
+ value: LineColor;
126
+ };
127
+ interface ButtonStateConfig {
128
+ backgroundColor?: ButtonSpectrumColor | ButtonBackgroundPaletteColor | ButtonComputedColor;
129
+ foregroundColor: ButtonSpectrumColor | ButtonForegroundPaletteColor | ButtonComputedColor;
130
+ borderColor?: ButtonSpectrumColor | ButtonBorderPaletteColor | ButtonComputedColor;
131
+ }
132
+ interface ButtonVariantConfig {
133
+ kind: 'fill' | 'outline' | 'ghost';
134
+ borderWidth: BorderWidth;
135
+ rest: ButtonStateConfig;
136
+ hover: ButtonStateConfig;
137
+ pressed: ButtonStateConfig;
138
+ disabled: ButtonStateConfig;
139
+ }
140
+ interface ButtonSizeConfig {
141
+ spacingHorizontal: SpacingAlias;
142
+ spacingVertical: SpacingAlias;
143
+ gap: SpacingAlias;
144
+ iconSize: IconSize;
145
+ textStyle: TextVariant;
146
+ shape: BorderRadius;
147
+ }
148
+ interface ButtonConfig {
149
+ sizes: Record<TShirtSizeCommon, ButtonSizeConfig>;
150
+ variants: Record<'primary' | 'secondary' | 'tertiary', ButtonVariantConfig>;
151
+ }
100
152
  type UniversalTokensConfig = {
101
153
  colorMode: ColorModeConfig;
102
154
  scaleMode: ScaleModeConfig;
103
155
  fontFamily: FontFamilyGlobalConfig;
156
+ buttons?: ButtonConfig;
104
157
  };
105
158
  type PlatformMode = 'web' | 'ios' | 'android';
106
159
  type ColorMode = 'light' | 'dark';
@@ -303,12 +356,12 @@ interface UniversalPressableProps extends UniversalBoxProps {
303
356
  onPress?: () => void;
304
357
  }
305
358
  type ButtonVariant = CorePaletteAlias | `${CorePaletteAlias}-outline` | `${CorePaletteAlias}-ghost` | 'primary-ghost' | 'primary-outline' | 'secondary';
306
- type ButtonSize = 's' | 'm' | 'l';
359
+ type ButtonSize = TShirtSizeCommon;
307
360
  interface UniversalIconButtonProps {
308
361
  /** The variant of the button. */
309
362
  variant?: ButtonVariant;
310
363
  /** The size of the button. */
311
- size?: ButtonSize;
364
+ size?: UniversalIconProps['size'];
312
365
  /** Icon to render from the icons package. */
313
366
  name: SvgIcon;
314
367
  /** Color for the icon. */
@@ -322,7 +375,7 @@ interface UniversalButtonProps {
322
375
  variant?: ButtonVariant;
323
376
  /**
324
377
  * The size of the button
325
- * @default 'm'
378
+ * @default 'md'
326
379
  */
327
380
  size?: ButtonSize;
328
381
  /** The name of the icon to be displayed at the start of the button. */
@@ -362,4 +415,4 @@ interface UniversalTextInputProps {
362
415
  spacingHorizontal?: SpacingAlias;
363
416
  }
364
417
 
365
- export { type FlexAlignItems as $, type AvatarSizeConfig as A, type BorderRadiusConfig as B, type ColorModeForApp as C, type BackgroundStyleProps as D, type BorderRadius as E, type FontFamilyConfig as F, type BorderStyleProps as G, type BorderWidth as H, type IconSizeConfig as I, type BoxShadowConfig as J, type ButtonSize as K, type LineHeightConfig as L, type Modes as M, type ButtonVariant as N, type ColorModeConfig as O, type ColorsConfig as P, type ConfigurableTextProperty as Q, type CorePalette as R, type ScaleModeForApp as S, type TextTransformConfig as T, type UniversalAvatarProps as U, type CorePaletteAlias as V, type CustomSizingStyleProps as W, type DataAttribute as X, type Display as Y, type Flex as Z, type FlexAlignContent as _, type UniversalButtonProps as a, type FlexAlignSelf as a0, type FlexBasis as a1, type FlexDirection as a2, type FlexGrow as a3, type FlexJustifyContent as a4, type FlexShrink as a5, type FlexStyleProps as a6, type FlexWrap as a7, type FontFamilyGlobalAlias as a8, type FontSize as a9, type ScaleModeConfig as aA, type SpacingAlias as aB, type SpacingConfig as aC, type SpacingStyleProps as aD, type SpectrumColor as aE, type SpectrumConfig as aF, type StateStyleProps as aG, type TextStyleProps as aH, type TextTransform as aI, type TextVariant as aJ, type TransitionDelay as aK, type TransitionDuration as aL, type TransitionTiming as aM, type UniversalTextInputProps as aN, type FontWeightDescriptive as aa, type FontWeightNumeric as ab, type ForegroundColor as ac, type ForegroundPalette as ad, type ForegroundPaletteAlias as ae, type HighContrastMode as af, type Hue as ag, type HueStep as ah, type IconSize as ai, type ImageStyleProps as aj, type LayoutStyleProps as ak, type LetterSpacing as al, type LineClampAlias as am, type LineColor as an, type LineHeight as ao, type LinePalette as ap, type LinePaletteAlias as aq, type Overflow as ar, type Palette as as, type PaletteConfig as at, type PaletteType as au, type PaletteValue as av, type PlatformMode as aw, type Position as ax, type RegionMode as ay, type ScaleConfig as az, type UniversalPressableProps as b, type UniversalIconButtonProps as c, type UniversalImageProps as d, type UniversalBoxProps as e, type UniversalStackProps as f, type UniversalTextProps as g, type UniversalIconProps as h, type ColorMode as i, type ScaleMode as j, type UniversalTokensConfig as k, type StyleProps as l, type BorderWidthConfig as m, type FontSizeConfig as n, type FontWeightConfig as o, type FontFamilyGlobalConfig as p, alwaysPalette as q, type AlwaysPalette as r, type AlwaysPaletteAlias as s, type Animation as t, type AriaAttribute as u, type AvatarShape as v, type AvatarSize as w, type BackgroundColor as x, type BackgroundPalette as y, type BackgroundPaletteAlias as z };
418
+ export { type FlexAlignContent as $, type AvatarSizeConfig as A, type ButtonConfig as B, type ColorModeForApp as C, type BackgroundPaletteAlias as D, type BackgroundStyleProps as E, type FontFamilyConfig as F, type BorderRadius as G, type BorderStyleProps as H, type IconSizeConfig as I, type BorderWidth as J, type BoxShadowConfig as K, type LineHeightConfig as L, type Modes as M, type ButtonSize as N, type ButtonVariant as O, type ColorModeConfig as P, type ColorsConfig as Q, type ConfigurableTextProperty as R, type ScaleModeForApp as S, type TextTransformConfig as T, type UniversalAvatarProps as U, type CorePalette as V, type CorePaletteAlias as W, type CustomSizingStyleProps as X, type DataAttribute as Y, type Display as Z, type Flex as _, type UniversalButtonProps as a, type FlexAlignItems as a0, type FlexAlignSelf as a1, type FlexBasis as a2, type FlexDirection as a3, type FlexGrow as a4, type FlexJustifyContent as a5, type FlexShrink as a6, type FlexStyleProps as a7, type FlexWrap as a8, type FontFamilyGlobalAlias as a9, type ScaleConfig as aA, type ScaleModeConfig as aB, type SpacingAlias as aC, type SpacingConfig as aD, type SpacingStyleProps as aE, type SpectrumColor as aF, type SpectrumConfig as aG, type StateStyleProps as aH, type TextStyleProps as aI, type TextTransform as aJ, type TextVariant as aK, type TransitionDelay as aL, type TransitionDuration as aM, type TransitionTiming as aN, type TShirtSize as aO, type TShirtSizeCommon as aP, type UniversalTextInputProps as aQ, type FontSize as aa, type FontWeightDescriptive as ab, type FontWeightNumeric as ac, type ForegroundColor as ad, type ForegroundPalette as ae, type ForegroundPaletteAlias as af, type HighContrastMode as ag, type Hue as ah, type HueStep as ai, type IconSize as aj, type ImageStyleProps as ak, type LayoutStyleProps as al, type LetterSpacing as am, type LineClampAlias as an, type LineColor as ao, type LineHeight as ap, type LinePalette as aq, type LinePaletteAlias as ar, type Overflow as as, type Palette as at, type PaletteConfig as au, type PaletteType as av, type PaletteValue as aw, type PlatformMode as ax, type Position as ay, type RegionMode as az, type UniversalPressableProps as b, type UniversalIconButtonProps as c, type UniversalImageProps as d, type UniversalBoxProps as e, type UniversalStackProps as f, type UniversalTextProps as g, type UniversalIconProps as h, type ColorMode as i, type ScaleMode as j, type UniversalTokensConfig as k, type StyleProps as l, type BorderRadiusConfig as m, type BorderWidthConfig as n, type FontSizeConfig as o, type FontWeightConfig as p, type FontFamilyGlobalConfig as q, alwaysPalette as r, type AlwaysPalette as s, type AlwaysPaletteAlias as t, type Animation as u, type AriaAttribute as v, type AvatarShape as w, type AvatarSize as x, type BackgroundColor as y, type BackgroundPalette as z };
@@ -54,14 +54,16 @@ type FontFamilyConfig = Record<TextVariant, FontFamilyGlobalAlias>;
54
54
  type FontWeightConfig = Record<TextVariant, FontWeightDescriptive>;
55
55
  type LineHeightConfig = Record<TextVariant, LineHeight>;
56
56
  type ConfigurableTextProperty = 'fontFamily' | 'fontSize' | 'fontWeight' | 'lineHeight' | 'textTransform';
57
- type AvatarSize = 's' | 'm' | 'l';
57
+ type TShirtSize = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
58
+ type TShirtSizeCommon = Extract<TShirtSize, 'sm' | 'md' | 'lg'>;
59
+ type AvatarSize = TShirtSizeCommon;
58
60
  type AvatarSizeConfig = Record<AvatarSize, number>;
59
61
  type AvatarShape = BorderRadius;
60
- type IconSize = 'sm' | 'md' | 'lg';
62
+ type IconSize = TShirtSizeCommon;
61
63
  type IconSizeConfig = Record<IconSize, number>;
62
64
  type SpacingAlias = '0' | 'px' | '0.5' | '1' | '1.5' | '2' | '2.5' | '3' | '3.5' | '4' | '5' | '6' | '7' | '8' | '9' | '10' | '11' | '12' | '14' | '16' | '20' | '24' | '28' | '32' | '36' | '40' | '44' | '48' | '52' | '56' | '60' | '64' | '72' | '80' | '96';
63
65
  type SpacingConfig = Record<SpacingAlias, number>;
64
- type BorderRadius = 'none' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
66
+ type BorderRadius = TShirtSize;
65
67
  type BorderRadiusConfig = Record<BorderRadius, number>;
66
68
  type BorderWidth = 'none' | 'thin' | 'medium' | 'thick';
67
69
  type BorderWidthConfig = Record<BorderWidth, number>;
@@ -97,10 +99,61 @@ type ScaleConfig = {
97
99
  textTransform: TextTransformConfig;
98
100
  };
99
101
  type ScaleModeConfig = Record<ScaleMode, ScaleConfig>;
102
+ type ButtonSpectrumColor = {
103
+ type: 'spectrum';
104
+ value: SpectrumColor;
105
+ };
106
+ type ButtonComputedColor = {
107
+ type: 'computed';
108
+ value: `${string} ${string} ${string}`;
109
+ meta: {
110
+ effect: 'lighten' | 'darken';
111
+ hue: Hue;
112
+ hueStep: HueStep;
113
+ };
114
+ };
115
+ type ButtonBackgroundPaletteColor = {
116
+ type: 'palette';
117
+ value: BackgroundColor;
118
+ };
119
+ type ButtonForegroundPaletteColor = {
120
+ type: 'palette';
121
+ value: ForegroundColor;
122
+ };
123
+ type ButtonBorderPaletteColor = {
124
+ type: 'palette';
125
+ value: LineColor;
126
+ };
127
+ interface ButtonStateConfig {
128
+ backgroundColor?: ButtonSpectrumColor | ButtonBackgroundPaletteColor | ButtonComputedColor;
129
+ foregroundColor: ButtonSpectrumColor | ButtonForegroundPaletteColor | ButtonComputedColor;
130
+ borderColor?: ButtonSpectrumColor | ButtonBorderPaletteColor | ButtonComputedColor;
131
+ }
132
+ interface ButtonVariantConfig {
133
+ kind: 'fill' | 'outline' | 'ghost';
134
+ borderWidth: BorderWidth;
135
+ rest: ButtonStateConfig;
136
+ hover: ButtonStateConfig;
137
+ pressed: ButtonStateConfig;
138
+ disabled: ButtonStateConfig;
139
+ }
140
+ interface ButtonSizeConfig {
141
+ spacingHorizontal: SpacingAlias;
142
+ spacingVertical: SpacingAlias;
143
+ gap: SpacingAlias;
144
+ iconSize: IconSize;
145
+ textStyle: TextVariant;
146
+ shape: BorderRadius;
147
+ }
148
+ interface ButtonConfig {
149
+ sizes: Record<TShirtSizeCommon, ButtonSizeConfig>;
150
+ variants: Record<'primary' | 'secondary' | 'tertiary', ButtonVariantConfig>;
151
+ }
100
152
  type UniversalTokensConfig = {
101
153
  colorMode: ColorModeConfig;
102
154
  scaleMode: ScaleModeConfig;
103
155
  fontFamily: FontFamilyGlobalConfig;
156
+ buttons?: ButtonConfig;
104
157
  };
105
158
  type PlatformMode = 'web' | 'ios' | 'android';
106
159
  type ColorMode = 'light' | 'dark';
@@ -303,12 +356,12 @@ interface UniversalPressableProps extends UniversalBoxProps {
303
356
  onPress?: () => void;
304
357
  }
305
358
  type ButtonVariant = CorePaletteAlias | `${CorePaletteAlias}-outline` | `${CorePaletteAlias}-ghost` | 'primary-ghost' | 'primary-outline' | 'secondary';
306
- type ButtonSize = 's' | 'm' | 'l';
359
+ type ButtonSize = TShirtSizeCommon;
307
360
  interface UniversalIconButtonProps {
308
361
  /** The variant of the button. */
309
362
  variant?: ButtonVariant;
310
363
  /** The size of the button. */
311
- size?: ButtonSize;
364
+ size?: UniversalIconProps['size'];
312
365
  /** Icon to render from the icons package. */
313
366
  name: SvgIcon;
314
367
  /** Color for the icon. */
@@ -322,7 +375,7 @@ interface UniversalButtonProps {
322
375
  variant?: ButtonVariant;
323
376
  /**
324
377
  * The size of the button
325
- * @default 'm'
378
+ * @default 'md'
326
379
  */
327
380
  size?: ButtonSize;
328
381
  /** The name of the icon to be displayed at the start of the button. */
@@ -362,4 +415,4 @@ interface UniversalTextInputProps {
362
415
  spacingHorizontal?: SpacingAlias;
363
416
  }
364
417
 
365
- export { type FlexAlignItems as $, type AvatarSizeConfig as A, type BorderRadiusConfig as B, type ColorModeForApp as C, type BackgroundStyleProps as D, type BorderRadius as E, type FontFamilyConfig as F, type BorderStyleProps as G, type BorderWidth as H, type IconSizeConfig as I, type BoxShadowConfig as J, type ButtonSize as K, type LineHeightConfig as L, type Modes as M, type ButtonVariant as N, type ColorModeConfig as O, type ColorsConfig as P, type ConfigurableTextProperty as Q, type CorePalette as R, type ScaleModeForApp as S, type TextTransformConfig as T, type UniversalAvatarProps as U, type CorePaletteAlias as V, type CustomSizingStyleProps as W, type DataAttribute as X, type Display as Y, type Flex as Z, type FlexAlignContent as _, type UniversalButtonProps as a, type FlexAlignSelf as a0, type FlexBasis as a1, type FlexDirection as a2, type FlexGrow as a3, type FlexJustifyContent as a4, type FlexShrink as a5, type FlexStyleProps as a6, type FlexWrap as a7, type FontFamilyGlobalAlias as a8, type FontSize as a9, type ScaleModeConfig as aA, type SpacingAlias as aB, type SpacingConfig as aC, type SpacingStyleProps as aD, type SpectrumColor as aE, type SpectrumConfig as aF, type StateStyleProps as aG, type TextStyleProps as aH, type TextTransform as aI, type TextVariant as aJ, type TransitionDelay as aK, type TransitionDuration as aL, type TransitionTiming as aM, type UniversalTextInputProps as aN, type FontWeightDescriptive as aa, type FontWeightNumeric as ab, type ForegroundColor as ac, type ForegroundPalette as ad, type ForegroundPaletteAlias as ae, type HighContrastMode as af, type Hue as ag, type HueStep as ah, type IconSize as ai, type ImageStyleProps as aj, type LayoutStyleProps as ak, type LetterSpacing as al, type LineClampAlias as am, type LineColor as an, type LineHeight as ao, type LinePalette as ap, type LinePaletteAlias as aq, type Overflow as ar, type Palette as as, type PaletteConfig as at, type PaletteType as au, type PaletteValue as av, type PlatformMode as aw, type Position as ax, type RegionMode as ay, type ScaleConfig as az, type UniversalPressableProps as b, type UniversalIconButtonProps as c, type UniversalImageProps as d, type UniversalBoxProps as e, type UniversalStackProps as f, type UniversalTextProps as g, type UniversalIconProps as h, type ColorMode as i, type ScaleMode as j, type UniversalTokensConfig as k, type StyleProps as l, type BorderWidthConfig as m, type FontSizeConfig as n, type FontWeightConfig as o, type FontFamilyGlobalConfig as p, alwaysPalette as q, type AlwaysPalette as r, type AlwaysPaletteAlias as s, type Animation as t, type AriaAttribute as u, type AvatarShape as v, type AvatarSize as w, type BackgroundColor as x, type BackgroundPalette as y, type BackgroundPaletteAlias as z };
418
+ export { type FlexAlignContent as $, type AvatarSizeConfig as A, type ButtonConfig as B, type ColorModeForApp as C, type BackgroundPaletteAlias as D, type BackgroundStyleProps as E, type FontFamilyConfig as F, type BorderRadius as G, type BorderStyleProps as H, type IconSizeConfig as I, type BorderWidth as J, type BoxShadowConfig as K, type LineHeightConfig as L, type Modes as M, type ButtonSize as N, type ButtonVariant as O, type ColorModeConfig as P, type ColorsConfig as Q, type ConfigurableTextProperty as R, type ScaleModeForApp as S, type TextTransformConfig as T, type UniversalAvatarProps as U, type CorePalette as V, type CorePaletteAlias as W, type CustomSizingStyleProps as X, type DataAttribute as Y, type Display as Z, type Flex as _, type UniversalButtonProps as a, type FlexAlignItems as a0, type FlexAlignSelf as a1, type FlexBasis as a2, type FlexDirection as a3, type FlexGrow as a4, type FlexJustifyContent as a5, type FlexShrink as a6, type FlexStyleProps as a7, type FlexWrap as a8, type FontFamilyGlobalAlias as a9, type ScaleConfig as aA, type ScaleModeConfig as aB, type SpacingAlias as aC, type SpacingConfig as aD, type SpacingStyleProps as aE, type SpectrumColor as aF, type SpectrumConfig as aG, type StateStyleProps as aH, type TextStyleProps as aI, type TextTransform as aJ, type TextVariant as aK, type TransitionDelay as aL, type TransitionDuration as aM, type TransitionTiming as aN, type TShirtSize as aO, type TShirtSizeCommon as aP, type UniversalTextInputProps as aQ, type FontSize as aa, type FontWeightDescriptive as ab, type FontWeightNumeric as ac, type ForegroundColor as ad, type ForegroundPalette as ae, type ForegroundPaletteAlias as af, type HighContrastMode as ag, type Hue as ah, type HueStep as ai, type IconSize as aj, type ImageStyleProps as ak, type LayoutStyleProps as al, type LetterSpacing as am, type LineClampAlias as an, type LineColor as ao, type LineHeight as ap, type LinePalette as aq, type LinePaletteAlias as ar, type Overflow as as, type Palette as at, type PaletteConfig as au, type PaletteType as av, type PaletteValue as aw, type PlatformMode as ax, type Position as ay, type RegionMode as az, type UniversalPressableProps as b, type UniversalIconButtonProps as c, type UniversalImageProps as d, type UniversalBoxProps as e, type UniversalStackProps as f, type UniversalTextProps as g, type UniversalIconProps as h, type ColorMode as i, type ScaleMode as j, type UniversalTokensConfig as k, type StyleProps as l, type BorderRadiusConfig as m, type BorderWidthConfig as n, type FontSizeConfig as o, type FontWeightConfig as p, type FontFamilyGlobalConfig as q, alwaysPalette as r, type AlwaysPalette as s, type AlwaysPaletteAlias as t, type Animation as u, type AriaAttribute as v, type AvatarShape as w, type AvatarSize as x, type BackgroundColor as y, type BackgroundPalette as z };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@yahoo/uds",
3
3
  "description": "Yahoo Universal System",
4
- "version": "0.5.6",
4
+ "version": "0.5.7",
5
5
  "type": "module",
6
6
  "bin": {
7
7
  "uds": "./cli/uds-cli"