@yahoo/uds 0.5.8 → 0.5.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. package/cli/README.md +1 -0
  2. package/cli/bin/uds-darwin-arm64-baseline +0 -0
  3. package/cli/bin/uds-linux-x64-baseline +0 -0
  4. package/cli/cli.ts +26 -0
  5. package/cli/commands/purge.ts +6 -2
  6. package/cli/compile.ts +35 -0
  7. package/cli/consts.ts +9 -0
  8. package/cli/exec.ts +36 -0
  9. package/cli/tsconfig.json +1 -0
  10. package/cli/uds-cli +34 -6
  11. package/cli/utils/configWorker.ts +2 -0
  12. package/cli/utils/purgeCSS.test.ts +1 -1
  13. package/cli/utils/purgeCSS.ts +31 -11
  14. package/dist/{Image.native-taa2jsQc.d.ts → Image.native-BxsXWBqp.d.ts} +1 -1
  15. package/dist/{Image.native-No-SNzS_.d.cts → Image.native-DBoB1LOc.d.cts} +1 -1
  16. package/dist/{VStack-B4TMNdfk.d.cts → VStack-BFIFJUVx.d.cts} +1 -1
  17. package/dist/{VStack-pgMJmuKn.d.ts → VStack-zgq0Zq3N.d.ts} +1 -1
  18. package/dist/experimental/index.cjs +2 -2
  19. package/dist/experimental/index.d.cts +2 -2
  20. package/dist/experimental/index.d.ts +2 -2
  21. package/dist/experimental/index.js +2 -2
  22. package/dist/experimental/index.native.cjs +1 -1
  23. package/dist/experimental/index.native.d.cts +3 -3
  24. package/dist/experimental/index.native.d.ts +3 -3
  25. package/dist/experimental/index.native.js +1 -1
  26. package/dist/fixtures.cjs +26 -1
  27. package/dist/fixtures.d.ts +6 -2
  28. package/dist/fixtures.js +22 -1
  29. package/dist/index.cjs +1 -1
  30. package/dist/index.d.cts +5 -5
  31. package/dist/index.d.ts +5 -5
  32. package/dist/index.js +2 -2
  33. package/dist/{index.native-BzvT-a_y.d.ts → index.native-Gbm66c6M.d.ts} +1 -1
  34. package/dist/{index.native-WZqIALTD.d.cts → index.native-OW5d35eT.d.cts} +1 -1
  35. package/dist/index.native.cjs +1 -1
  36. package/dist/index.native.d.cts +32 -5
  37. package/dist/index.native.d.ts +32 -5
  38. package/dist/index.native.js +1 -1
  39. package/dist/metafile-cjs.json +1 -1
  40. package/dist/metafile-esm.json +1 -1
  41. package/dist/tailwind/plugin.cjs +1 -1
  42. package/dist/tailwind/plugin.d.cts +1 -1
  43. package/dist/tailwind/plugin.d.ts +1 -1
  44. package/dist/tailwind/plugin.js +3 -3
  45. package/dist/tailwind/purger.cjs +2 -2
  46. package/dist/tailwind/purger.js +3 -3
  47. package/dist/tailwind/tsMorph.cjs +1 -1
  48. package/dist/tailwind/tsMorph.js +2 -2
  49. package/dist/tokens/index.cjs +1 -1
  50. package/dist/tokens/index.d.cts +30 -3
  51. package/dist/tokens/index.d.ts +30 -3
  52. package/dist/tokens/index.js +2 -2
  53. package/dist/tokens/index.native.cjs +1 -1
  54. package/dist/tokens/index.native.d.cts +2 -2
  55. package/dist/tokens/index.native.d.ts +2 -2
  56. package/dist/tokens/index.native.js +1 -1
  57. package/dist/tokens/parseTokens.cjs +1 -1
  58. package/dist/tokens/parseTokens.d.cts +2 -2
  59. package/dist/tokens/parseTokens.d.ts +2 -2
  60. package/dist/tokens/parseTokens.js +1 -1
  61. package/dist/{types-CHw8YXrX.d.cts → types-BofdnBTe.d.cts} +41 -30
  62. package/dist/{types-CHw8YXrX.d.ts → types-BofdnBTe.d.ts} +41 -30
  63. package/dist/{types-FhFpiSwO.d.cts → types-CLPge83Y.d.cts} +41 -30
  64. package/dist/{types-FhFpiSwO.d.ts → types-CLPge83Y.d.ts} +41 -30
  65. package/package.json +195 -198
@@ -1,13 +1,13 @@
1
1
  import * as react from 'react';
2
2
  import { Dispatch, SetStateAction } from 'react';
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';
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-CLPge83Y.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 ButtonBaseConfig, O as ButtonCategory, P as ButtonColorConfig, Q as ButtonColorEffect, R as ButtonColorEffectConfig, V as ButtonColorProperty, W as ButtonColorPropertyConfig, X as ButtonKind, Y as ButtonSize, Z as ButtonSpecrtumColor, _ as ButtonState, $ as ButtonStateConfig, a0 as ButtonStateEffectConfig, a1 as ButtonVariant, a2 as ButtonVariant2, a3 as ColorModeConfig, a4 as ColorsConfig, a5 as ConfigurableTextProperty, a6 as CorePalette, a7 as CorePaletteAlias, a8 as CustomSizingStyleProps, a9 as DataAttribute, aa as Display, ab as Flex, ac as FlexAlignContent, ad as FlexAlignItems, ae as FlexAlignSelf, af as FlexBasis, ag as FlexDirection, ah as FlexGrow, ai as FlexJustifyContent, aj as FlexShrink, ak as FlexStyleProps, al as FlexWrap, am as FontFamilyGlobalAlias, an as FontSize, ao as FontWeightDescriptive, ap as FontWeightNumeric, aq as ForegroundColor, ar as ForegroundPalette, as as ForegroundPaletteAlias, at as HighContrastMode, au as Hue, av as HueStep, aw as IconSize, ax as ImageStyleProps, ay as LayoutStyleProps, az as LetterSpacing, aA as LineClampAlias, aB as LineColor, aC as LineHeight, aD as LinePalette, aE as LinePaletteAlias, aF as Overflow, aG as Palette, aH as PaletteConfig, aI as PaletteType, aJ as PaletteValue, aK as PlatformMode, aL as Position, aM as PropertyToPaletteAliasMap, aN as RegionMode, aO as ScaleConfig, aP as ScaleModeConfig, aQ as SpacingAlias, aR as SpacingConfig, aS as SpacingStyleProps, aT as SpectrumColor, aU as SpectrumConfig, aV as StateStyleProps, b0 as TShirtSize, b1 as TShirtSizeCommon, aW as TextStyleProps, aX as TextTransform, aY as TextVariant, aZ as TransitionDelay, a_ as TransitionDuration, a$ as TransitionTiming, U as UniversalAvatarProps, a as UniversalButtonProps, c as UniversalIconButtonProps, d as UniversalImageProps, b as UniversalPressableProps, b2 as UniversalTextInputProps, r as alwaysPalette } from './types-CLPge83Y.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-No-SNzS_.cjs';
6
+ export { a as IconButton, b as IconButtonProps, c as Image, I as ImageProps, d as Pressable, P as PressableProps } from './Image.native-DBoB1LOc.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-WZqIALTD.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-OW5d35eT.cjs';
11
11
 
12
12
  declare const variants: {
13
13
  color: {
@@ -1102,11 +1102,38 @@ declare const FONT_SANS_BETA_CSS_VAR = "--uds-font-sans-beta";
1102
1102
  declare const FONT_SANS_CONDENSED_CSS_VAR = "--uds-font-sans-condensed";
1103
1103
  declare const FONT_SERIF_DISPLAY_CSS_VAR = "--uds-font-serif-display";
1104
1104
  declare const FONT_SERIF_TEXT_CSS_VAR = "--uds-font-serif-text";
1105
+ declare const BUTTON_CSS_VAR_MAP: {
1106
+ readonly borderRadius: "--uds-button-border-radius";
1107
+ readonly borderWidth: "--uds-buton-border-width";
1108
+ readonly color: "--uds-button-color";
1109
+ readonly backgroundColor: "--uds-button-background-color";
1110
+ readonly borderColor: "--uds-button-border-color";
1111
+ readonly padding: "--uds-button-padding";
1112
+ readonly columnGap: "--uds-button-gap";
1113
+ readonly fontFamily: "--uds-button-font";
1114
+ readonly fontWeight: "--uds-button-font-weight";
1115
+ readonly fontSize: "--uds-button-font-size";
1116
+ readonly lineHeight: "--uds-button-line-height";
1117
+ readonly textTransform: "--uds-button-text-transform";
1118
+ readonly iconSize: "--uds-button-icon-size";
1119
+ };
1120
+ declare const PSUEDO_STYLE_SELECTOR_MAP: {
1121
+ readonly hover: "&:hover:not([disabled])";
1122
+ readonly pressed: "&:active:not([disabled])";
1123
+ readonly disabled: "&:disabled";
1124
+ };
1105
1125
 
1106
1126
  declare function entries<T>(item: T): [Extract<keyof T, string>, T[keyof T]][];
1107
1127
 
1108
1128
  declare function fromEntries<T extends string, K>(item: [T, K][]): Record<T, K>;
1109
1129
 
1130
+ interface CombinationsConfig extends Exclude<ButtonConfig, 'defaults'> {
1131
+ }
1132
+ type Combination<T extends CombinationsConfig> = {
1133
+ [K in keyof T]: keyof T[K];
1134
+ };
1135
+ declare function generateConfigCombinations(config: CombinationsConfig): Combination<CombinationsConfig>[];
1136
+
1110
1137
  type AnyObject = Record<string, unknown>;
1111
1138
  declare function mapValues<T extends AnyObject, K extends (value: T[keyof T], key: keyof T, i: number) => unknown>(obj: T, callbackFn: K): { [key in keyof T]: ReturnType<K>; };
1112
1139
 
@@ -2489,4 +2516,4 @@ interface ThemeProviderProps extends React.PropsWithChildren {
2489
2516
  }
2490
2517
  declare function ThemeProvider({ children, colorModeForApp, scaleModeForApp, config, }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
2491
2518
 
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 };
2519
+ export { AVATAR_SIZE_PREFIX, AvatarSizeConfig, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_CSS_VAR_MAP, BorderRadiusConfig, BorderWidthConfig, Box, type BoxProps, ButtonConfig, ColorMode, ColorModeContext, ColorModeForApp, ColorModeForAppContext, ColorModeForAppContextUpdater, ColorModeForAppProvider, type ColorModeForAppProviderProps, ColorModeForDeviceContext, ColorModeForDeviceProvider, type ColorModeForDeviceProviderProps, ColorModeProvider, type ColorModeProviderProps, type Combination, type CombinationsConfig, 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, PSUEDO_STYLE_SELECTOR_MAP, 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, generateConfigCombinations, 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 { 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';
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-CLPge83Y.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 ButtonBaseConfig, O as ButtonCategory, P as ButtonColorConfig, Q as ButtonColorEffect, R as ButtonColorEffectConfig, V as ButtonColorProperty, W as ButtonColorPropertyConfig, X as ButtonKind, Y as ButtonSize, Z as ButtonSpecrtumColor, _ as ButtonState, $ as ButtonStateConfig, a0 as ButtonStateEffectConfig, a1 as ButtonVariant, a2 as ButtonVariant2, a3 as ColorModeConfig, a4 as ColorsConfig, a5 as ConfigurableTextProperty, a6 as CorePalette, a7 as CorePaletteAlias, a8 as CustomSizingStyleProps, a9 as DataAttribute, aa as Display, ab as Flex, ac as FlexAlignContent, ad as FlexAlignItems, ae as FlexAlignSelf, af as FlexBasis, ag as FlexDirection, ah as FlexGrow, ai as FlexJustifyContent, aj as FlexShrink, ak as FlexStyleProps, al as FlexWrap, am as FontFamilyGlobalAlias, an as FontSize, ao as FontWeightDescriptive, ap as FontWeightNumeric, aq as ForegroundColor, ar as ForegroundPalette, as as ForegroundPaletteAlias, at as HighContrastMode, au as Hue, av as HueStep, aw as IconSize, ax as ImageStyleProps, ay as LayoutStyleProps, az as LetterSpacing, aA as LineClampAlias, aB as LineColor, aC as LineHeight, aD as LinePalette, aE as LinePaletteAlias, aF as Overflow, aG as Palette, aH as PaletteConfig, aI as PaletteType, aJ as PaletteValue, aK as PlatformMode, aL as Position, aM as PropertyToPaletteAliasMap, aN as RegionMode, aO as ScaleConfig, aP as ScaleModeConfig, aQ as SpacingAlias, aR as SpacingConfig, aS as SpacingStyleProps, aT as SpectrumColor, aU as SpectrumConfig, aV as StateStyleProps, b0 as TShirtSize, b1 as TShirtSizeCommon, aW as TextStyleProps, aX as TextTransform, aY as TextVariant, aZ as TransitionDelay, a_ as TransitionDuration, a$ as TransitionTiming, U as UniversalAvatarProps, a as UniversalButtonProps, c as UniversalIconButtonProps, d as UniversalImageProps, b as UniversalPressableProps, b2 as UniversalTextInputProps, r as alwaysPalette } from './types-CLPge83Y.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-taa2jsQc.js';
6
+ export { a as IconButton, b as IconButtonProps, c as Image, I as ImageProps, d as Pressable, P as PressableProps } from './Image.native-BxsXWBqp.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-BzvT-a_y.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-Gbm66c6M.js';
11
11
 
12
12
  declare const variants: {
13
13
  color: {
@@ -1102,11 +1102,38 @@ declare const FONT_SANS_BETA_CSS_VAR = "--uds-font-sans-beta";
1102
1102
  declare const FONT_SANS_CONDENSED_CSS_VAR = "--uds-font-sans-condensed";
1103
1103
  declare const FONT_SERIF_DISPLAY_CSS_VAR = "--uds-font-serif-display";
1104
1104
  declare const FONT_SERIF_TEXT_CSS_VAR = "--uds-font-serif-text";
1105
+ declare const BUTTON_CSS_VAR_MAP: {
1106
+ readonly borderRadius: "--uds-button-border-radius";
1107
+ readonly borderWidth: "--uds-buton-border-width";
1108
+ readonly color: "--uds-button-color";
1109
+ readonly backgroundColor: "--uds-button-background-color";
1110
+ readonly borderColor: "--uds-button-border-color";
1111
+ readonly padding: "--uds-button-padding";
1112
+ readonly columnGap: "--uds-button-gap";
1113
+ readonly fontFamily: "--uds-button-font";
1114
+ readonly fontWeight: "--uds-button-font-weight";
1115
+ readonly fontSize: "--uds-button-font-size";
1116
+ readonly lineHeight: "--uds-button-line-height";
1117
+ readonly textTransform: "--uds-button-text-transform";
1118
+ readonly iconSize: "--uds-button-icon-size";
1119
+ };
1120
+ declare const PSUEDO_STYLE_SELECTOR_MAP: {
1121
+ readonly hover: "&:hover:not([disabled])";
1122
+ readonly pressed: "&:active:not([disabled])";
1123
+ readonly disabled: "&:disabled";
1124
+ };
1105
1125
 
1106
1126
  declare function entries<T>(item: T): [Extract<keyof T, string>, T[keyof T]][];
1107
1127
 
1108
1128
  declare function fromEntries<T extends string, K>(item: [T, K][]): Record<T, K>;
1109
1129
 
1130
+ interface CombinationsConfig extends Exclude<ButtonConfig, 'defaults'> {
1131
+ }
1132
+ type Combination<T extends CombinationsConfig> = {
1133
+ [K in keyof T]: keyof T[K];
1134
+ };
1135
+ declare function generateConfigCombinations(config: CombinationsConfig): Combination<CombinationsConfig>[];
1136
+
1110
1137
  type AnyObject = Record<string, unknown>;
1111
1138
  declare function mapValues<T extends AnyObject, K extends (value: T[keyof T], key: keyof T, i: number) => unknown>(obj: T, callbackFn: K): { [key in keyof T]: ReturnType<K>; };
1112
1139
 
@@ -2489,4 +2516,4 @@ interface ThemeProviderProps extends React.PropsWithChildren {
2489
2516
  }
2490
2517
  declare function ThemeProvider({ children, colorModeForApp, scaleModeForApp, config, }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
2491
2518
 
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 };
2519
+ export { AVATAR_SIZE_PREFIX, AvatarSizeConfig, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, BUTTON_CSS_VAR_MAP, BorderRadiusConfig, BorderWidthConfig, Box, type BoxProps, ButtonConfig, ColorMode, ColorModeContext, ColorModeForApp, ColorModeForAppContext, ColorModeForAppContextUpdater, ColorModeForAppProvider, type ColorModeForAppProviderProps, ColorModeForDeviceContext, ColorModeForDeviceProvider, type ColorModeForDeviceProviderProps, ColorModeProvider, type ColorModeProviderProps, type Combination, type CombinationsConfig, 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, PSUEDO_STYLE_SELECTOR_MAP, 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, generateConfigCombinations, mapValues, useAppState, useColorMode, useColorModeForApp, useColorModeForDevice, useComputedTokens, useDeviceFontScale, useScaleMode, useScaleModeForDevice, useStyles, useTokens, variants };