@yahoo/uds 0.5.6 → 0.5.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (56) hide show
  1. package/cli/utils/purgeCSS.test.ts +1 -0
  2. package/cli/utils/setupConfigWorker.ts +12 -1
  3. package/dist/{Image.native-t6JVy3qi.d.cts → Image.native-No-SNzS_.d.cts} +1 -1
  4. package/dist/{Image.native-B7g_JqfQ.d.ts → Image.native-taa2jsQc.d.ts} +1 -1
  5. package/dist/{VStack-DoQaz7yf.d.cts → VStack-B4TMNdfk.d.cts} +1 -1
  6. package/dist/{VStack-BA1lcm0p.d.ts → VStack-pgMJmuKn.d.ts} +1 -1
  7. package/dist/experimental/index.cjs +4 -4
  8. package/dist/experimental/index.d.cts +2 -2
  9. package/dist/experimental/index.d.ts +2 -2
  10. package/dist/experimental/index.js +3 -3
  11. package/dist/experimental/index.native.cjs +1 -1
  12. package/dist/experimental/index.native.d.cts +4 -4
  13. package/dist/experimental/index.native.d.ts +4 -4
  14. package/dist/experimental/index.native.js +1 -1
  15. package/dist/fixtures.cjs +8 -7
  16. package/dist/fixtures.d.ts +18 -18
  17. package/dist/fixtures.js +8 -7
  18. package/dist/index.cjs +2 -2
  19. package/dist/index.d.cts +18 -15
  20. package/dist/index.d.ts +18 -15
  21. package/dist/index.js +3 -3
  22. package/dist/index.native-BzvT-a_y.d.ts +317 -0
  23. package/dist/index.native-WZqIALTD.d.cts +317 -0
  24. package/dist/index.native.cjs +1 -1
  25. package/dist/index.native.d.cts +38 -8
  26. package/dist/index.native.d.ts +38 -8
  27. package/dist/index.native.js +1 -1
  28. package/dist/metafile-cjs.json +1 -1
  29. package/dist/metafile-esm.json +1 -1
  30. package/dist/tailwind/plugin.cjs +1 -1
  31. package/dist/tailwind/plugin.d.cts +3 -3
  32. package/dist/tailwind/plugin.d.ts +3 -3
  33. package/dist/tailwind/plugin.js +3 -3
  34. package/dist/tailwind/purger.cjs +2 -2
  35. package/dist/tailwind/purger.js +2 -2
  36. package/dist/tailwind/tsMorph.cjs +1 -1
  37. package/dist/tailwind/tsMorph.js +2 -2
  38. package/dist/tokens/index.cjs +1 -1
  39. package/dist/tokens/index.d.cts +336 -7
  40. package/dist/tokens/index.d.ts +336 -7
  41. package/dist/tokens/index.js +2 -2
  42. package/dist/tokens/index.native.cjs +1 -1
  43. package/dist/tokens/index.native.d.cts +2 -2
  44. package/dist/tokens/index.native.d.ts +2 -2
  45. package/dist/tokens/index.native.js +1 -1
  46. package/dist/tokens/parseTokens.cjs +1 -1
  47. package/dist/tokens/parseTokens.d.cts +4 -4
  48. package/dist/tokens/parseTokens.d.ts +4 -4
  49. package/dist/tokens/parseTokens.js +1 -1
  50. package/dist/{types-yd5VT3UG.d.cts → types-CHw8YXrX.d.cts} +67 -7
  51. package/dist/{types-yd5VT3UG.d.ts → types-CHw8YXrX.d.ts} +67 -7
  52. package/dist/{types-Dg9w4-q2.d.cts → types-FhFpiSwO.d.cts} +67 -7
  53. package/dist/{types-Dg9w4-q2.d.ts → types-FhFpiSwO.d.ts} +67 -7
  54. package/package.json +1 -1
  55. package/dist/index.native-Cl1NmAGq.d.ts +0 -15
  56. package/dist/index.native-axhnucpt.d.cts +0 -15
@@ -1,13 +1,13 @@
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, 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-yd5VT3UG.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-yd5VT3UG.cjs';
3
+ import { B as ButtonConfig, 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, m as BorderRadiusConfig, n as BorderWidthConfig, F as FontFamilyConfig, o as FontSizeConfig, p as FontWeightConfig, L as LineHeightConfig, T as TextTransformConfig, q as FontFamilyGlobalConfig } from './types-CHw8YXrX.cjs';
4
+ export { s as AlwaysPalette, t as AlwaysPaletteAlias, u as Animation, v as AriaAttribute, w as AvatarShape, x as AvatarSize, y as BackgroundColor, z as BackgroundPalette, D as BackgroundPaletteAlias, E as BackgroundStyleProps, G as BorderRadius, H as BorderStyleProps, J as BorderWidth, K as BoxShadowConfig, N as ButtonCategory, O as ButtonSize, P as ButtonVariant, Q as ButtonVariant2, R as ColorModeConfig, V as ColorsConfig, W as ConfigurableTextProperty, X as CorePalette, Y as CorePaletteAlias, Z as CustomSizingStyleProps, _ as DataAttribute, $ as Display, a0 as Flex, a1 as FlexAlignContent, a2 as FlexAlignItems, a3 as FlexAlignSelf, a4 as FlexBasis, a5 as FlexDirection, a6 as FlexGrow, a7 as FlexJustifyContent, a8 as FlexShrink, a9 as FlexStyleProps, aa as FlexWrap, ab as FontFamilyGlobalAlias, ac as FontSize, ad as FontWeightDescriptive, ae as FontWeightNumeric, af as ForegroundColor, ag as ForegroundPalette, ah as ForegroundPaletteAlias, ai as HighContrastMode, aj as Hue, ak as HueStep, al as IconSize, am as ImageStyleProps, an as LayoutStyleProps, ao as LetterSpacing, ap as LineClampAlias, aq as LineColor, ar as LineHeight, as as LinePalette, at as LinePaletteAlias, au as Overflow, av as Palette, aw as PaletteConfig, ax as PaletteType, ay as PaletteValue, az as PlatformMode, aA as Position, aB as RegionMode, aC as ScaleConfig, aD as ScaleModeConfig, aE as SpacingAlias, aF as SpacingConfig, aG as SpacingStyleProps, aH as SpectrumColor, aI as SpectrumConfig, aJ as StateStyleProps, aQ as TShirtSize, aR as TShirtSizeCommon, aK as TextStyleProps, aL as TextTransform, aM as TextVariant, aN as TransitionDelay, aO as TransitionDuration, aP as TransitionTiming, U as UniversalAvatarProps, a as UniversalButtonProps, c as UniversalIconButtonProps, d as UniversalImageProps, b as UniversalPressableProps, aS as UniversalTextInputProps, r as alwaysPalette } from './types-CHw8YXrX.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-t6JVy3qi.cjs';
6
+ export { a as IconButton, b as IconButtonProps, c as Image, I as ImageProps, d as Pressable, P as PressableProps } from './Image.native-No-SNzS_.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-axhnucpt.cjs';
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-WZqIALTD.cjs';
11
11
 
12
12
  declare const variants: {
13
13
  color: {
@@ -24,6 +24,7 @@ declare const variants: {
24
24
  primary: string;
25
25
  secondary: string;
26
26
  tertiary: string;
27
+ current: string;
27
28
  };
28
29
  placeholderColor: {
29
30
  accent: string;
@@ -39,6 +40,7 @@ declare const variants: {
39
40
  primary: string;
40
41
  secondary: string;
41
42
  tertiary: string;
43
+ current: string;
42
44
  };
43
45
  fontFamily: {
44
46
  icons: string;
@@ -748,6 +750,7 @@ declare const variants: {
748
750
  primary: string;
749
751
  secondary: string;
750
752
  transparent: string;
753
+ current: string;
751
754
  };
752
755
  borderColor: {
753
756
  accent: string;
@@ -762,6 +765,7 @@ declare const variants: {
762
765
  primary: string;
763
766
  secondary: string;
764
767
  tertiary: string;
768
+ current: string;
765
769
  };
766
770
  borderStartColor: {
767
771
  accent: string;
@@ -776,6 +780,7 @@ declare const variants: {
776
780
  primary: string;
777
781
  secondary: string;
778
782
  tertiary: string;
783
+ current: string;
779
784
  };
780
785
  borderEndColor: {
781
786
  accent: string;
@@ -790,6 +795,7 @@ declare const variants: {
790
795
  primary: string;
791
796
  secondary: string;
792
797
  tertiary: string;
798
+ current: string;
793
799
  };
794
800
  borderBottomColor: {
795
801
  accent: string;
@@ -804,6 +810,7 @@ declare const variants: {
804
810
  primary: string;
805
811
  secondary: string;
806
812
  tertiary: string;
813
+ current: string;
807
814
  };
808
815
  borderTopColor: {
809
816
  accent: string;
@@ -818,6 +825,7 @@ declare const variants: {
818
825
  primary: string;
819
826
  secondary: string;
820
827
  tertiary: string;
828
+ current: string;
821
829
  };
822
830
  borderRadius: {
823
831
  none: string;
@@ -907,9 +915,9 @@ declare const variants: {
907
915
  thick: string;
908
916
  };
909
917
  avatarSize: {
910
- s: string;
911
- m: string;
912
- l: string;
918
+ sm: string;
919
+ md: string;
920
+ lg: string;
913
921
  };
914
922
  iconSize: {
915
923
  sm: string;
@@ -1045,8 +1053,27 @@ declare const variants: {
1045
1053
  xxxLarge: string;
1046
1054
  xxLarge: string;
1047
1055
  };
1056
+ buttonCategory: {
1057
+ accent: string;
1058
+ brand: string;
1059
+ alert: string;
1060
+ positive: string;
1061
+ warning: string;
1062
+ };
1063
+ buttonVariant: {
1064
+ primary: string;
1065
+ secondary: string;
1066
+ tertiary: string;
1067
+ };
1068
+ buttonSize: {
1069
+ sm: string;
1070
+ md: string;
1071
+ lg: string;
1072
+ };
1048
1073
  };
1049
1074
 
1075
+ declare const button: ButtonConfig;
1076
+
1050
1077
  declare const UDS_PREFIX = "uds";
1051
1078
  declare const SPECTRUM_COLOR_PREFIX = "uds-spectrum-color";
1052
1079
  declare const FONT_FAMILY_PREFIX = "uds-font";
@@ -1634,6 +1661,7 @@ declare function createStyler({ colorMode, scaleMode }: Modes, config: Universal
1634
1661
  muted: string;
1635
1662
  };
1636
1663
  };
1664
+ button?: ButtonConfig | undefined;
1637
1665
  fontFamilyGlobal: FontFamilyGlobalConfig;
1638
1666
  };
1639
1667
  };
@@ -2040,6 +2068,7 @@ declare const DEFAULT_STYLER: {
2040
2068
  muted: string;
2041
2069
  };
2042
2070
  };
2071
+ button?: ButtonConfig | undefined;
2043
2072
  fontFamilyGlobal: FontFamilyGlobalConfig;
2044
2073
  };
2045
2074
  };
@@ -2449,6 +2478,7 @@ declare function useTokens(): {
2449
2478
  muted: string;
2450
2479
  };
2451
2480
  };
2481
+ button?: ButtonConfig | undefined;
2452
2482
  fontFamilyGlobal: FontFamilyGlobalConfig;
2453
2483
  };
2454
2484
 
@@ -2459,4 +2489,4 @@ interface ThemeProviderProps extends React.PropsWithChildren {
2459
2489
  }
2460
2490
  declare function ThemeProvider({ children, colorModeForApp, scaleModeForApp, config, }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
2461
2491
 
2462
- 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 };
2492
+ export { AVATAR_SIZE_PREFIX, AvatarSizeConfig, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BorderRadiusConfig, BorderWidthConfig, Box, type BoxProps, ButtonConfig, 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, button, createStyler, entries, fromEntries, mapValues, useAppState, useColorMode, useColorModeForApp, useColorModeForDevice, useComputedTokens, useDeviceFontScale, useScaleMode, useScaleModeForDevice, useStyles, useTokens, variants };
@@ -1,13 +1,13 @@
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, 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-yd5VT3UG.js';
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-yd5VT3UG.js';
3
+ import { B as ButtonConfig, 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, m as BorderRadiusConfig, n as BorderWidthConfig, F as FontFamilyConfig, o as FontSizeConfig, p as FontWeightConfig, L as LineHeightConfig, T as TextTransformConfig, q as FontFamilyGlobalConfig } from './types-CHw8YXrX.js';
4
+ export { s as AlwaysPalette, t as AlwaysPaletteAlias, u as Animation, v as AriaAttribute, w as AvatarShape, x as AvatarSize, y as BackgroundColor, z as BackgroundPalette, D as BackgroundPaletteAlias, E as BackgroundStyleProps, G as BorderRadius, H as BorderStyleProps, J as BorderWidth, K as BoxShadowConfig, N as ButtonCategory, O as ButtonSize, P as ButtonVariant, Q as ButtonVariant2, R as ColorModeConfig, V as ColorsConfig, W as ConfigurableTextProperty, X as CorePalette, Y as CorePaletteAlias, Z as CustomSizingStyleProps, _ as DataAttribute, $ as Display, a0 as Flex, a1 as FlexAlignContent, a2 as FlexAlignItems, a3 as FlexAlignSelf, a4 as FlexBasis, a5 as FlexDirection, a6 as FlexGrow, a7 as FlexJustifyContent, a8 as FlexShrink, a9 as FlexStyleProps, aa as FlexWrap, ab as FontFamilyGlobalAlias, ac as FontSize, ad as FontWeightDescriptive, ae as FontWeightNumeric, af as ForegroundColor, ag as ForegroundPalette, ah as ForegroundPaletteAlias, ai as HighContrastMode, aj as Hue, ak as HueStep, al as IconSize, am as ImageStyleProps, an as LayoutStyleProps, ao as LetterSpacing, ap as LineClampAlias, aq as LineColor, ar as LineHeight, as as LinePalette, at as LinePaletteAlias, au as Overflow, av as Palette, aw as PaletteConfig, ax as PaletteType, ay as PaletteValue, az as PlatformMode, aA as Position, aB as RegionMode, aC as ScaleConfig, aD as ScaleModeConfig, aE as SpacingAlias, aF as SpacingConfig, aG as SpacingStyleProps, aH as SpectrumColor, aI as SpectrumConfig, aJ as StateStyleProps, aQ as TShirtSize, aR as TShirtSizeCommon, aK as TextStyleProps, aL as TextTransform, aM as TextVariant, aN as TransitionDelay, aO as TransitionDuration, aP as TransitionTiming, U as UniversalAvatarProps, a as UniversalButtonProps, c as UniversalIconButtonProps, d as UniversalImageProps, b as UniversalPressableProps, aS as UniversalTextInputProps, r as alwaysPalette } from './types-CHw8YXrX.js';
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-B7g_JqfQ.js';
6
+ export { a as IconButton, b as IconButtonProps, c as Image, I as ImageProps, d as Pressable, P as PressableProps } from './Image.native-taa2jsQc.js';
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-Cl1NmAGq.js';
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-BzvT-a_y.js';
11
11
 
12
12
  declare const variants: {
13
13
  color: {
@@ -24,6 +24,7 @@ declare const variants: {
24
24
  primary: string;
25
25
  secondary: string;
26
26
  tertiary: string;
27
+ current: string;
27
28
  };
28
29
  placeholderColor: {
29
30
  accent: string;
@@ -39,6 +40,7 @@ declare const variants: {
39
40
  primary: string;
40
41
  secondary: string;
41
42
  tertiary: string;
43
+ current: string;
42
44
  };
43
45
  fontFamily: {
44
46
  icons: string;
@@ -748,6 +750,7 @@ declare const variants: {
748
750
  primary: string;
749
751
  secondary: string;
750
752
  transparent: string;
753
+ current: string;
751
754
  };
752
755
  borderColor: {
753
756
  accent: string;
@@ -762,6 +765,7 @@ declare const variants: {
762
765
  primary: string;
763
766
  secondary: string;
764
767
  tertiary: string;
768
+ current: string;
765
769
  };
766
770
  borderStartColor: {
767
771
  accent: string;
@@ -776,6 +780,7 @@ declare const variants: {
776
780
  primary: string;
777
781
  secondary: string;
778
782
  tertiary: string;
783
+ current: string;
779
784
  };
780
785
  borderEndColor: {
781
786
  accent: string;
@@ -790,6 +795,7 @@ declare const variants: {
790
795
  primary: string;
791
796
  secondary: string;
792
797
  tertiary: string;
798
+ current: string;
793
799
  };
794
800
  borderBottomColor: {
795
801
  accent: string;
@@ -804,6 +810,7 @@ declare const variants: {
804
810
  primary: string;
805
811
  secondary: string;
806
812
  tertiary: string;
813
+ current: string;
807
814
  };
808
815
  borderTopColor: {
809
816
  accent: string;
@@ -818,6 +825,7 @@ declare const variants: {
818
825
  primary: string;
819
826
  secondary: string;
820
827
  tertiary: string;
828
+ current: string;
821
829
  };
822
830
  borderRadius: {
823
831
  none: string;
@@ -907,9 +915,9 @@ declare const variants: {
907
915
  thick: string;
908
916
  };
909
917
  avatarSize: {
910
- s: string;
911
- m: string;
912
- l: string;
918
+ sm: string;
919
+ md: string;
920
+ lg: string;
913
921
  };
914
922
  iconSize: {
915
923
  sm: string;
@@ -1045,8 +1053,27 @@ declare const variants: {
1045
1053
  xxxLarge: string;
1046
1054
  xxLarge: string;
1047
1055
  };
1056
+ buttonCategory: {
1057
+ accent: string;
1058
+ brand: string;
1059
+ alert: string;
1060
+ positive: string;
1061
+ warning: string;
1062
+ };
1063
+ buttonVariant: {
1064
+ primary: string;
1065
+ secondary: string;
1066
+ tertiary: string;
1067
+ };
1068
+ buttonSize: {
1069
+ sm: string;
1070
+ md: string;
1071
+ lg: string;
1072
+ };
1048
1073
  };
1049
1074
 
1075
+ declare const button: ButtonConfig;
1076
+
1050
1077
  declare const UDS_PREFIX = "uds";
1051
1078
  declare const SPECTRUM_COLOR_PREFIX = "uds-spectrum-color";
1052
1079
  declare const FONT_FAMILY_PREFIX = "uds-font";
@@ -1634,6 +1661,7 @@ declare function createStyler({ colorMode, scaleMode }: Modes, config: Universal
1634
1661
  muted: string;
1635
1662
  };
1636
1663
  };
1664
+ button?: ButtonConfig | undefined;
1637
1665
  fontFamilyGlobal: FontFamilyGlobalConfig;
1638
1666
  };
1639
1667
  };
@@ -2040,6 +2068,7 @@ declare const DEFAULT_STYLER: {
2040
2068
  muted: string;
2041
2069
  };
2042
2070
  };
2071
+ button?: ButtonConfig | undefined;
2043
2072
  fontFamilyGlobal: FontFamilyGlobalConfig;
2044
2073
  };
2045
2074
  };
@@ -2449,6 +2478,7 @@ declare function useTokens(): {
2449
2478
  muted: string;
2450
2479
  };
2451
2480
  };
2481
+ button?: ButtonConfig | undefined;
2452
2482
  fontFamilyGlobal: FontFamilyGlobalConfig;
2453
2483
  };
2454
2484
 
@@ -2459,4 +2489,4 @@ interface ThemeProviderProps extends React.PropsWithChildren {
2459
2489
  }
2460
2490
  declare function ThemeProvider({ children, colorModeForApp, scaleModeForApp, config, }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
2461
2491
 
2462
- 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 };
2492
+ export { AVATAR_SIZE_PREFIX, AvatarSizeConfig, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BorderRadiusConfig, BorderWidthConfig, Box, type BoxProps, ButtonConfig, 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, button, createStyler, entries, fromEntries, mapValues, useAppState, useColorMode, useColorModeForApp, useColorModeForDevice, useComputedTokens, useDeviceFontScale, useScaleMode, useScaleModeForDevice, useStyles, useTokens, variants };