@yahoo/uds 0.5.10 → 1.0.0-beta.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (190) hide show
  1. package/cli/README.md +17 -11
  2. package/cli/bin/uds-darwin-arm64-baseline +0 -0
  3. package/cli/bin/uds-darwin-x64 +0 -0
  4. package/cli/bin/uds-linux-arm64 +0 -0
  5. package/cli/bin/uds-linux-x64-baseline +0 -0
  6. package/cli/bin/uds-windows-x64-baseline.exe +0 -0
  7. package/cli/cli.ts +1 -0
  8. package/cli/consts.ts +1 -7
  9. package/cli/preload.ts +1 -1
  10. package/cli/tsconfig.json +20 -1
  11. package/cli/uds-cli +1 -7
  12. package/cli/utils/configWorker.ts +58 -31
  13. package/cli/utils/purgeCSS.ts +1 -4
  14. package/cli/utils/setupConfigWorker.ts +13 -12
  15. package/dist/{Image.native-BxsXWBqp.d.ts → Image.native-BTcdQraV.d.ts} +2 -2
  16. package/dist/{Image.native-DBoB1LOc.d.cts → Image.native-D6qA03vT.d.ts} +2 -2
  17. package/dist/Image.native-D96MZTYD.d.cts +39 -0
  18. package/dist/Image.native-DX2YWGZD.d.ts +39 -0
  19. package/dist/Image.native-f8x4GPuV.d.cts +39 -0
  20. package/dist/Image.native-mHTDIRbL.d.cts +39 -0
  21. package/dist/chunk-2C7RDVXS.js +3 -0
  22. package/dist/chunk-2JQBQOM6.cjs +4 -0
  23. package/dist/chunk-47ZDV5TW.js +3 -0
  24. package/dist/chunk-4EJ6WK3H.cjs +2 -0
  25. package/dist/chunk-5DFU4PSC.cjs +2 -0
  26. package/dist/chunk-5LDKFAU4.cjs +2 -0
  27. package/dist/chunk-5MYSY56L.js +2 -0
  28. package/dist/chunk-5UHMAJB4.js +2 -0
  29. package/dist/chunk-6QLTGUJB.cjs +2 -0
  30. package/dist/chunk-77JE2H36.js +2 -0
  31. package/dist/chunk-7A7DDMD7.cjs +2 -0
  32. package/dist/chunk-7BKASJ4D.cjs +3 -0
  33. package/dist/chunk-7ICJCQTV.cjs +4 -0
  34. package/dist/chunk-7OODVPL6.cjs +2 -0
  35. package/dist/chunk-7SJRCGTP.js +3 -0
  36. package/dist/chunk-AKOUDLRN.cjs +2 -0
  37. package/dist/chunk-AV442FHA.js +3 -0
  38. package/dist/chunk-AY4XUL7M.cjs +3 -0
  39. package/dist/chunk-B7X77UTF.cjs +3 -0
  40. package/dist/chunk-BIYOCTWR.js +3 -0
  41. package/dist/chunk-BQB5NUKC.cjs +3 -0
  42. package/dist/chunk-CBSKS4K5.cjs +2 -0
  43. package/dist/chunk-CE5ROFEK.cjs +3 -0
  44. package/dist/chunk-CNY6ADXP.js +3 -0
  45. package/dist/chunk-D24YMS3F.cjs +2 -0
  46. package/dist/chunk-D3NVRUYG.cjs +4 -0
  47. package/dist/chunk-DIOVB5EV.js +3 -0
  48. package/dist/chunk-E53NU2VM.js +2 -0
  49. package/dist/chunk-E5X2STIU.js +2 -0
  50. package/dist/chunk-E6BTI63P.cjs +2 -0
  51. package/dist/chunk-EFYCREMN.js +3 -0
  52. package/dist/chunk-EMPQR5VI.js +3 -0
  53. package/dist/chunk-ET6WP7R7.js +2 -0
  54. package/dist/chunk-EXHCIY4P.cjs +2 -0
  55. package/dist/chunk-F56AWN2Z.js +3 -0
  56. package/dist/chunk-G7GQQIM5.js +3 -0
  57. package/dist/chunk-GVBZYWK6.js +4 -0
  58. package/dist/chunk-H2RSKIJ4.cjs +2 -0
  59. package/dist/chunk-HF5DHYIT.cjs +2 -0
  60. package/dist/chunk-HTDED6CG.js +3 -0
  61. package/dist/chunk-HUYXQPM5.cjs +3 -0
  62. package/dist/chunk-HY56NZEJ.js +3 -0
  63. package/dist/chunk-I2ENXXSN.js +2 -0
  64. package/dist/chunk-ITYNB2GX.js +3 -0
  65. package/dist/chunk-IVJD6N6G.cjs +2 -0
  66. package/dist/chunk-JVQ7PW3M.js +3 -0
  67. package/dist/chunk-KH3WJY4K.js +4 -0
  68. package/dist/chunk-KIDADDGN.js +4 -0
  69. package/dist/chunk-L7K4GFJK.cjs +3 -0
  70. package/dist/chunk-LRJNSHQA.cjs +2 -0
  71. package/dist/chunk-MIEZCJHO.cjs +2 -0
  72. package/dist/chunk-MPK4ZX4R.js +3 -0
  73. package/dist/chunk-MPP74SLP.js +2 -0
  74. package/dist/chunk-ND64MB7X.js +2 -0
  75. package/dist/chunk-NSPDKMNR.cjs +2 -0
  76. package/dist/chunk-O6FFTCHY.js +3 -0
  77. package/dist/chunk-OAYQHFZC.cjs +3 -0
  78. package/dist/chunk-OG5MIFO6.js +3 -0
  79. package/dist/chunk-OHOQVW2M.js +3 -0
  80. package/dist/chunk-PKL3JLWF.js +2 -0
  81. package/dist/chunk-PSZZ5NTF.cjs +2 -0
  82. package/dist/chunk-QAVZFB5J.cjs +3 -0
  83. package/dist/chunk-QENB6W4I.cjs +4 -0
  84. package/dist/chunk-QGADB35M.js +4 -0
  85. package/dist/chunk-RFY7RXSM.js +3 -0
  86. package/dist/chunk-RL274CM3.cjs +2 -0
  87. package/dist/chunk-S37OVJTV.js +2 -0
  88. package/dist/chunk-TKOGPWM4.cjs +2 -0
  89. package/dist/chunk-TM36S4YW.cjs +2 -0
  90. package/dist/chunk-UI4NLXDH.cjs +2 -0
  91. package/dist/chunk-UWZYIALE.js +3 -0
  92. package/dist/chunk-VCELYR7Q.cjs +3 -0
  93. package/dist/chunk-VEIAMHP4.js +2 -0
  94. package/dist/chunk-VF7WOINA.cjs +2 -0
  95. package/dist/chunk-VG5VAHYR.cjs +3 -0
  96. package/dist/chunk-WEJOZLMZ.js +2 -0
  97. package/dist/chunk-WJBYPKLH.cjs +3 -0
  98. package/dist/chunk-WKHVRU4K.js +3 -0
  99. package/dist/chunk-WR7BWGMO.cjs +2 -0
  100. package/dist/chunk-X5VBG5D7.js +3 -0
  101. package/dist/chunk-XELIMPNH.cjs +4 -0
  102. package/dist/chunk-YACR35TD.js +4 -0
  103. package/dist/chunk-YUYEO5DZ.cjs +2 -0
  104. package/dist/chunk-ZDKN5LRE.js +3 -0
  105. package/dist/chunk-ZFYJXGZM.cjs +2 -0
  106. package/dist/chunk-ZMPSBRKW.js +2 -0
  107. package/dist/client/index.cjs +4 -0
  108. package/dist/client/index.d.cts +94 -0
  109. package/dist/client/index.d.ts +94 -0
  110. package/dist/client/index.js +6 -0
  111. package/dist/experimental/index.cjs +3 -3
  112. package/dist/experimental/index.d.cts +296 -100
  113. package/dist/experimental/index.d.ts +296 -100
  114. package/dist/experimental/index.js +3 -3
  115. package/dist/experimental/index.native.cjs +3 -1
  116. package/dist/experimental/index.native.d.cts +6 -5
  117. package/dist/experimental/index.native.d.ts +6 -5
  118. package/dist/experimental/index.native.js +3 -1
  119. package/dist/fixtures.cjs +252 -35
  120. package/dist/fixtures.d.ts +31 -14
  121. package/dist/fixtures.js +230 -31
  122. package/dist/index.cjs +1 -2
  123. package/dist/index.d.cts +201 -27
  124. package/dist/index.d.ts +201 -27
  125. package/dist/index.js +2 -3
  126. package/dist/index.native.cjs +3 -1
  127. package/dist/index.native.d.cts +52 -147
  128. package/dist/index.native.d.ts +52 -147
  129. package/dist/index.native.js +2 -1
  130. package/dist/metafile-cjs.json +1 -1
  131. package/dist/metafile-esm.json +1 -1
  132. package/dist/motionFeatures-AEY3XSQX.js +1 -0
  133. package/dist/motionFeatures-GFOZDTZE.js +1 -0
  134. package/dist/motionFeatures-H5RRG7RP.js +1 -0
  135. package/dist/motionFeatures-NR4MMJ3L.cjs +1 -0
  136. package/dist/motionFeatures-WFC6MN64.cjs +1 -0
  137. package/dist/motionFeatures-WUDKXXR7.js +1 -0
  138. package/dist/motionFeatures-XXMSSBUB.cjs +1 -0
  139. package/dist/motionFeatures-ZAB6OWON.cjs +1 -0
  140. package/dist/styles/toast.css +3 -1
  141. package/dist/styles/toast.d.cts +2 -0
  142. package/dist/styles/toast.d.ts +2 -0
  143. package/dist/tailwind/plugin.cjs +3 -1
  144. package/dist/tailwind/plugin.d.cts +28 -5
  145. package/dist/tailwind/plugin.d.ts +28 -5
  146. package/dist/tailwind/plugin.js +3 -3
  147. package/dist/tailwind/purger.cjs +2 -2
  148. package/dist/tailwind/purger.js +3 -3
  149. package/dist/tailwind/tsMorph.cjs +3 -1
  150. package/dist/tailwind/tsMorph.d.cts +1 -4
  151. package/dist/tailwind/tsMorph.d.ts +1 -4
  152. package/dist/tailwind/tsMorph.js +2 -3
  153. package/dist/tailwind/utils.cjs +1 -0
  154. package/dist/tailwind/utils.d.cts +98 -0
  155. package/dist/tailwind/utils.d.ts +98 -0
  156. package/dist/tailwind/utils.js +1 -0
  157. package/dist/tokens/index.cjs +1 -2
  158. package/dist/tokens/index.d.cts +41 -362
  159. package/dist/tokens/index.d.ts +41 -362
  160. package/dist/tokens/index.js +1 -2
  161. package/dist/tokens/index.native.cjs +3 -1
  162. package/dist/tokens/index.native.d.cts +24 -2
  163. package/dist/tokens/index.native.d.ts +24 -2
  164. package/dist/tokens/index.native.js +3 -1
  165. package/dist/tokens/parseTokens.cjs +1 -2
  166. package/dist/tokens/parseTokens.d.cts +7 -20
  167. package/dist/tokens/parseTokens.d.ts +7 -20
  168. package/dist/tokens/parseTokens.js +1 -2
  169. package/dist/types-BVfWAIpr.d.cts +909 -0
  170. package/dist/types-BVfWAIpr.d.ts +909 -0
  171. package/dist/types-BkcFcA6N.d.cts +909 -0
  172. package/dist/types-BkcFcA6N.d.ts +909 -0
  173. package/dist/types-C7KJV1b1.d.cts +943 -0
  174. package/dist/types-C7KJV1b1.d.ts +943 -0
  175. package/dist/types-DVTR9ROz.d.cts +942 -0
  176. package/dist/types-DVTR9ROz.d.ts +942 -0
  177. package/dist/types-JTm5E7im.d.cts +943 -0
  178. package/dist/types-JTm5E7im.d.ts +943 -0
  179. package/dist/types-uSRlDJAd.d.cts +942 -0
  180. package/dist/types-uSRlDJAd.d.ts +942 -0
  181. package/package.json +207 -195
  182. package/dist/VStack-BFIFJUVx.d.cts +0 -177
  183. package/dist/VStack-zgq0Zq3N.d.ts +0 -177
  184. package/dist/index.native-Gbm66c6M.d.ts +0 -317
  185. package/dist/index.native-OW5d35eT.d.cts +0 -317
  186. package/dist/styles/globals.css +0 -1
  187. package/dist/types-BofdnBTe.d.cts +0 -436
  188. package/dist/types-BofdnBTe.d.ts +0 -436
  189. package/dist/types-CLPge83Y.d.cts +0 -436
  190. package/dist/types-CLPge83Y.d.ts +0 -436
@@ -1,13 +1,14 @@
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-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';
3
+ import { B as ButtonKind, C as CorePaletteAlias, e as ButtonBaseConfig, f as ButtonConfig, I as IconButtonConfig, g as UniversalBoxProps, h as UniversalStackProps, i as UniversalTextProps, j as UniversalIconProps, k as ColorModeForApp, l as ColorMode, S as ScaleModeForApp, m as ScaleMode, M as Modes, n as UniversalTokensConfig, o as StyleProps, A as AvatarSizeConfig, p as IconSizeConfig, q as BorderRadiusConfig, r as BorderWidthConfig, F as FontFamilyConfig, s as FontSizeConfig, t as FontWeightConfig, L as LineHeightConfig, T as TextTransformConfig, P as PaletteConfig, u as MotionConfig } from './types-C7KJV1b1.cjs';
4
+ export { x as AVATAR_SIZE_PREFIX, a7 as AlwaysPalette, a8 as AlwaysPaletteAlias, a9 as Animation, aa as AriaAttribute, ab as AvatarShape, ac as AvatarSize, y as BORDER_RADIUS_PREFIX, z as BORDER_WIDTH_PREFIX, a2 as BUTTON_CSS_VAR_MAP, ad as BackgroundColor, ae as BackgroundPalette, af as BackgroundPaletteAlias, ag as BackgroundStyleProps, ah as BorderRadius, ai as BorderStyleProps, aj as BorderWidth, ak as BoxShadowConfig, al as ButtonClassMap, am as ButtonClassName, an as ButtonColorConfig, ao as ButtonColorEffect, ap as ButtonColorEffectConfig, aq as ButtonColorProperty, ar as ButtonColorPropertyConfig, as as ButtonMotionEffect, at as ButtonMotionProperty, au as ButtonMotionPropertyConfig, av as ButtonPalette, aw as ButtonPaletteColor, ax as ButtonPaletteConfig, ay as ButtonSize, az as ButtonSizeConfig, aA as ButtonSizeProperty, aB as ButtonSpectrumColor, aC as ButtonState, aD as ButtonStateConfig, aE as ButtonStateEffectConfig, aF as ButtonVariant, aG as ButtonVariantConfig, aH as ColorModeConfig, aI as ColorsConfig, aJ as CorePalette, aK as CustomSizingStyleProps, Q as DARK_COLOR_MODE_CLASSNAME, a0 as DEFAULT_COLOR_MODE_CLASSNAME, a1 as DEFAULT_SCALE_MODE_CLASSNAME, aL as DataAttribute, aM as Display, a6 as FONT_DECLARATIONS_MAP, D as FONT_FAMILY_PREFIX, E as FONT_SIZE_PREFIX, G as FONT_WEIGHT_PREFIX, aN as Flex, aO as FlexAlignContent, aP as FlexAlignItems, aQ as FlexAlignSelf, aR as FlexBasis, aS as FlexDirection, aT as FlexGrow, aU as FlexJustifyContent, aV as FlexShrink, aW as FlexStyleProps, aX as FlexWrap, aY as FontAlias, aZ as FontConfig, a_ as FontCssVar, a5 as FontDeclarationConfig, a$ as FontFamilyCDNUrl, b0 as FontID, b1 as FontSize, b2 as FontType, b3 as FontWeightDescriptive, b4 as FontWeightNumeric, b5 as ForegroundColor, b6 as ForegroundPalette, b7 as ForegroundPaletteAlias, b8 as HighContrastMode, b9 as Hue, ba as HueStep, a3 as ICON_BUTTON_CSS_VAR_MAP, H as ICON_SIZE_PREFIX, bb as IconButtonClassMap, bc as IconButtonClassName, bd as IconButtonDefaultsConfig, be as IconButtonSize, bf as IconSize, bg as IconVariant, bh as ImageStyleProps, Y as LARGE_SCALE_MODE_CLASSNAME, R as LIGHT_COLOR_MODE_CLASSNAME, J as LINE_HEIGHT_PREFIX, bi as LayoutStyleProps, bj as LetterSpacing, bk as LineClampAlias, bl as LineColor, bm as LineHeight, bn as LinePalette, bo as LinePaletteAlias, W as MEDIUM_SCALE_MODE_CLASSNAME, K as MOTION_PREFIX, bp as MotionCssVar, bq as MotionSpringConfig, br as MotionSpringConfigOptions, bs as MotionVariant, bt as MotionVariantSpeed, bu as MotionVariantValues, bv as Overflow, a4 as PSEUDO_STYLE_SELECTOR_MAP, bw as Palette, bx as PaletteType, by as PaletteValue, bz as PlatformMode, bA as Position, bB as PropertyToPaletteAliasMap, bC as RegionMode, V as SMALL_SCALE_MODE_CLASSNAME, N as SPECTRUM_COLOR_PREFIX, bD as ScaleConfig, bE as ScaleEffectMap, bF as ScaleModeConfig, bG as SpacingAlias, bH as SpacingConfig, bI as SpacingStyleProps, bJ as SpectrumColor, bK as SpectrumConfig, bL as StateStyleProps, O as TEXT_TRANSFORM_PREFIX, bT as TShirtSize, bU as TShirtSizeCommon, bM as TextProperty, bN as TextStyleProps, bO as TextTransform, bP as TextVariant, bQ as TransitionDelay, bR as TransitionDuration, bS as TransitionTiming, w as UDS_PREFIX, bV as UdsCssVar, U as UniversalAvatarProps, a as UniversalButtonProps, c as UniversalIconButtonProps, d as UniversalImageProps, b as UniversalPressableProps, bW as UniversalTextInputProps, Z as XLARGE_SCALE_MODE_CLASSNAME, X as XSMALL_SCALE_MODE_CLASSNAME, _ as XXLARGE_SCALE_MODE_CLASSNAME, $ as XXXLARGE_SCALE_MODE_CLASSNAME, v as alwaysPalette } from './types-C7KJV1b1.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-DBoB1LOc.cjs';
6
+ export { a as IconButton, b as IconButtonProps, c as Image, I as ImageProps, d as Pressable, P as PressableProps } from './Image.native-f8x4GPuV.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-OW5d35eT.cjs';
10
+ export { DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_FOR_APP, defaultTokensConfig, fontWeightMap } from './tokens/index.native.cjs';
11
+ import 'framer-motion';
11
12
 
12
13
  declare const variants: {
13
14
  color: {
@@ -43,12 +44,11 @@ declare const variants: {
43
44
  current: string;
44
45
  };
45
46
  fontFamily: {
46
- icons: string;
47
47
  sans: string;
48
- 'sans-beta': string;
49
- 'sans-condensed': string;
50
- 'serif-text': string;
51
- 'serif-display': string;
48
+ 'sans-alt': string;
49
+ serif: string;
50
+ 'serif-alt': string;
51
+ mono: string;
52
52
  display1: string;
53
53
  display2: string;
54
54
  display3: string;
@@ -1053,7 +1053,7 @@ declare const variants: {
1053
1053
  xxxLarge: string;
1054
1054
  xxLarge: string;
1055
1055
  };
1056
- buttonCategory: {
1056
+ buttonPalette: {
1057
1057
  accent: string;
1058
1058
  brand: string;
1059
1059
  alert: string;
@@ -1070,69 +1070,43 @@ declare const variants: {
1070
1070
  md: string;
1071
1071
  lg: string;
1072
1072
  };
1073
+ iconButtonSize: {
1074
+ xs: string;
1075
+ sm: string;
1076
+ md: string;
1077
+ lg: string;
1078
+ xl: string;
1079
+ };
1073
1080
  };
1074
1081
 
1082
+ declare const getDefaultButtonBaseMap: Record<ButtonKind, (alias: CorePaletteAlias) => ButtonBaseConfig>;
1075
1083
  declare const button: ButtonConfig;
1076
1084
 
1077
- declare const UDS_PREFIX = "uds";
1078
- declare const SPECTRUM_COLOR_PREFIX = "uds-spectrum-color";
1079
- declare const FONT_FAMILY_PREFIX = "uds-font";
1080
- declare const ICON_SIZE_PREFIX = "uds-icon-size";
1081
- declare const AVATAR_SIZE_PREFIX = "uds-avatar-size";
1082
- declare const BORDER_RADIUS_PREFIX = "uds-border-radius";
1083
- declare const BORDER_WIDTH_PREFIX = "uds-border-width";
1084
- declare const FONT_SIZE_PREFIX = "uds-font-size";
1085
- declare const LINE_HEIGHT_PREFIX = "uds-line-height";
1086
- declare const FONT_WEIGHT_PREFIX = "uds-font-weight";
1087
- declare const TEXT_TRANSFORM_PREFIX = "uds-text-transform";
1088
- declare const DARK_COLOR_MODE_CLASSNAME = "uds-color-mode-dark";
1089
- declare const LIGHT_COLOR_MODE_CLASSNAME = "uds-color-mode-light";
1090
- declare const XSMALL_SCALE_MODE_CLASSNAME = "uds-scale-mode-xsmall";
1091
- declare const SMALL_SCALE_MODE_CLASSNAME = "uds-scale-mode-small";
1092
- declare const MEDIUM_SCALE_MODE_CLASSNAME = "uds-scale-mode-medium";
1093
- declare const LARGE_SCALE_MODE_CLASSNAME = "uds-scale-mode-large";
1094
- declare const XLARGE_SCALE_MODE_CLASSNAME = "uds-scale-mode-xlarge";
1095
- declare const XXLARGE_SCALE_MODE_CLASSNAME = "uds-scale-mode-xxlarge";
1096
- declare const XXXLARGE_SCALE_MODE_CLASSNAME = "uds-scale-mode-xxxlarge";
1097
- declare const DEFAULT_COLOR_MODE_CLASSNAME = "uds-color-mode-light";
1098
- declare const DEFAULT_SCALE_MODE_CLASSNAME = "uds-scale-mode-large";
1099
- declare const FONT_ICONS_CSS_VAR = "--uds-font-icons";
1100
- declare const FONT_SANS_CSS_VAR = "--uds-font-sans";
1101
- declare const FONT_SANS_BETA_CSS_VAR = "--uds-font-sans-beta";
1102
- declare const FONT_SANS_CONDENSED_CSS_VAR = "--uds-font-sans-condensed";
1103
- declare const FONT_SERIF_DISPLAY_CSS_VAR = "--uds-font-serif-display";
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
- };
1125
-
1085
+ /**
1086
+ * Converts an object into an array of key-value pair entries.
1087
+ *
1088
+ * This function takes an object `item` and returns an array of its own enumerable
1089
+ * property `[key, value]` pairs, where `key` is a string. The generic type `T` represents
1090
+ * the type of the input object. The return type is an array of tuples, where each tuple
1091
+ * consists of a string key and a value corresponding to the type of values in `T`.
1092
+ */
1126
1093
  declare function entries<T>(item: T): [Extract<keyof T, string>, T[keyof T]][];
1127
1094
 
1095
+ /**
1096
+ * Converts an array of key-value pair entries into an object.
1097
+ *
1098
+ * This function takes an array of `[key, value]` pairs and converts it into an object
1099
+ * where each key is associated with its corresponding value. The generic types `T` and `K`
1100
+ * represent the types of the keys and values, respectively. The keys are constrained to
1101
+ * be strings.
1102
+ */
1128
1103
  declare function fromEntries<T extends string, K>(item: [T, K][]): Record<T, K>;
1129
1104
 
1130
- interface CombinationsConfig extends Exclude<ButtonConfig, 'defaults'> {
1131
- }
1105
+ type CombinationsConfig = IconButtonConfig | ButtonConfig;
1132
1106
  type Combination<T extends CombinationsConfig> = {
1133
1107
  [K in keyof T]: keyof T[K];
1134
1108
  };
1135
- declare function generateConfigCombinations(config: CombinationsConfig): Combination<CombinationsConfig>[];
1109
+ declare function generateConfigCombinations<T extends CombinationsConfig>(config: T): Combination<T>[];
1136
1110
 
1137
1111
  type AnyObject = Record<string, unknown>;
1138
1112
  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>; };
@@ -1662,34 +1636,11 @@ declare function createStyler({ colorMode, scaleMode }: Modes, config: Universal
1662
1636
  15: string;
1663
1637
  };
1664
1638
  };
1665
- palette: {
1666
- core: {
1667
- accent: string;
1668
- alert: string;
1669
- brand: string;
1670
- positive: string;
1671
- warning: string;
1672
- };
1673
- background: {
1674
- primary: string;
1675
- secondary: string;
1676
- };
1677
- foreground: {
1678
- primary: string;
1679
- secondary: string;
1680
- tertiary: string;
1681
- muted: string;
1682
- "on-color": string;
1683
- };
1684
- line: {
1685
- primary: string;
1686
- secondary: string;
1687
- tertiary: string;
1688
- muted: string;
1689
- };
1690
- };
1691
- button?: ButtonConfig | undefined;
1692
- fontFamilyGlobal: FontFamilyGlobalConfig;
1639
+ palette: { [key in keyof PaletteConfig]: { [key2 in keyof PaletteConfig[key]]: string; }; };
1640
+ version: string;
1641
+ button: ButtonConfig;
1642
+ iconButton: IconButtonConfig;
1643
+ motion: MotionConfig;
1693
1644
  };
1694
1645
  };
1695
1646
  declare const DEFAULT_STYLER: {
@@ -2069,34 +2020,11 @@ declare const DEFAULT_STYLER: {
2069
2020
  15: string;
2070
2021
  };
2071
2022
  };
2072
- palette: {
2073
- core: {
2074
- accent: string;
2075
- alert: string;
2076
- brand: string;
2077
- positive: string;
2078
- warning: string;
2079
- };
2080
- background: {
2081
- primary: string;
2082
- secondary: string;
2083
- };
2084
- foreground: {
2085
- primary: string;
2086
- secondary: string;
2087
- tertiary: string;
2088
- muted: string;
2089
- "on-color": string;
2090
- };
2091
- line: {
2092
- primary: string;
2093
- secondary: string;
2094
- tertiary: string;
2095
- muted: string;
2096
- };
2097
- };
2098
- button?: ButtonConfig | undefined;
2099
- fontFamilyGlobal: FontFamilyGlobalConfig;
2023
+ palette: { [key in keyof PaletteConfig]: { [key2 in keyof PaletteConfig[key]]: string; }; };
2024
+ version: string;
2025
+ button: ButtonConfig;
2026
+ iconButton: IconButtonConfig;
2027
+ motion: MotionConfig;
2100
2028
  };
2101
2029
  };
2102
2030
 
@@ -2479,34 +2407,11 @@ declare function useTokens(): {
2479
2407
  15: string;
2480
2408
  };
2481
2409
  };
2482
- palette: {
2483
- core: {
2484
- accent: string;
2485
- alert: string;
2486
- brand: string;
2487
- positive: string;
2488
- warning: string;
2489
- };
2490
- background: {
2491
- primary: string;
2492
- secondary: string;
2493
- };
2494
- foreground: {
2495
- primary: string;
2496
- secondary: string;
2497
- tertiary: string;
2498
- muted: string;
2499
- "on-color": string;
2500
- };
2501
- line: {
2502
- primary: string;
2503
- secondary: string;
2504
- tertiary: string;
2505
- muted: string;
2506
- };
2507
- };
2508
- button?: ButtonConfig | undefined;
2509
- fontFamilyGlobal: FontFamilyGlobalConfig;
2410
+ palette: { [key in keyof PaletteConfig]: { [key2 in keyof PaletteConfig[key]]: string; }; };
2411
+ version: string;
2412
+ button: ButtonConfig;
2413
+ iconButton: IconButtonConfig;
2414
+ motion: MotionConfig;
2510
2415
  };
2511
2416
 
2512
2417
  interface ThemeProviderProps extends React.PropsWithChildren {
@@ -2516,4 +2421,4 @@ interface ThemeProviderProps extends React.PropsWithChildren {
2516
2421
  }
2517
2422
  declare function ThemeProvider({ children, colorModeForApp, scaleModeForApp, config, }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
2518
2423
 
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 };
2424
+ export { AvatarSizeConfig, BorderRadiusConfig, BorderWidthConfig, Box, type BoxProps, ButtonBaseConfig, ButtonConfig, ButtonKind, ColorMode, ColorModeContext, ColorModeForApp, ColorModeForAppContext, ColorModeForAppContextUpdater, ColorModeForAppProvider, type ColorModeForAppProviderProps, ColorModeForDeviceContext, ColorModeForDeviceProvider, type ColorModeForDeviceProviderProps, ColorModeProvider, type ColorModeProviderProps, type Combination, type CombinationsConfig, ComputedTokensContext, ComputedTokensProvider, type ComputedTokensProviderProps, CorePaletteAlias, DEFAULT_STYLER, FontFamilyConfig, FontSizeConfig, FontWeightConfig, HStack, type HStackProps, Icon, IconButtonConfig, type IconProps, IconSizeConfig, LineHeightConfig, Modes, MotionConfig, PaletteConfig, type ReactNativeStyle, ScaleMode, ScaleModeContext, ScaleModeForApp, ScaleModeForAppContext, ScaleModeForAppProvider, type ScaleModeForAppProviderProps, ScaleModeForAppUpdaterContext, ScaleModeForDeviceContext, ScaleModeForDeviceProvider, type ScaleModeForDeviceProviderProps, ScaleModeProvider, type ScaleModeProviderProps, Screen, type ScreenProps, type SetState, StyleProps, StyleProvider, Text, type TextProps, type TextPropsOriginal, TextTransformConfig, ThemeProvider, type ThemeProviderProps, UniversalBoxProps, UniversalIconProps, UniversalStackProps, UniversalTextProps, UniversalTokensConfig, VStack, type VStackProps, button, createStyler, entries, fromEntries, generateConfigCombinations, getDefaultButtonBaseMap, mapValues, useAppState, useColorMode, useColorModeForApp, useColorModeForDevice, useComputedTokens, useDeviceFontScale, useScaleMode, useScaleModeForDevice, useStyles, useTokens, variants };
@@ -1,13 +1,14 @@
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-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';
3
+ import { B as ButtonKind, C as CorePaletteAlias, e as ButtonBaseConfig, f as ButtonConfig, I as IconButtonConfig, g as UniversalBoxProps, h as UniversalStackProps, i as UniversalTextProps, j as UniversalIconProps, k as ColorModeForApp, l as ColorMode, S as ScaleModeForApp, m as ScaleMode, M as Modes, n as UniversalTokensConfig, o as StyleProps, A as AvatarSizeConfig, p as IconSizeConfig, q as BorderRadiusConfig, r as BorderWidthConfig, F as FontFamilyConfig, s as FontSizeConfig, t as FontWeightConfig, L as LineHeightConfig, T as TextTransformConfig, P as PaletteConfig, u as MotionConfig } from './types-C7KJV1b1.js';
4
+ export { x as AVATAR_SIZE_PREFIX, a7 as AlwaysPalette, a8 as AlwaysPaletteAlias, a9 as Animation, aa as AriaAttribute, ab as AvatarShape, ac as AvatarSize, y as BORDER_RADIUS_PREFIX, z as BORDER_WIDTH_PREFIX, a2 as BUTTON_CSS_VAR_MAP, ad as BackgroundColor, ae as BackgroundPalette, af as BackgroundPaletteAlias, ag as BackgroundStyleProps, ah as BorderRadius, ai as BorderStyleProps, aj as BorderWidth, ak as BoxShadowConfig, al as ButtonClassMap, am as ButtonClassName, an as ButtonColorConfig, ao as ButtonColorEffect, ap as ButtonColorEffectConfig, aq as ButtonColorProperty, ar as ButtonColorPropertyConfig, as as ButtonMotionEffect, at as ButtonMotionProperty, au as ButtonMotionPropertyConfig, av as ButtonPalette, aw as ButtonPaletteColor, ax as ButtonPaletteConfig, ay as ButtonSize, az as ButtonSizeConfig, aA as ButtonSizeProperty, aB as ButtonSpectrumColor, aC as ButtonState, aD as ButtonStateConfig, aE as ButtonStateEffectConfig, aF as ButtonVariant, aG as ButtonVariantConfig, aH as ColorModeConfig, aI as ColorsConfig, aJ as CorePalette, aK as CustomSizingStyleProps, Q as DARK_COLOR_MODE_CLASSNAME, a0 as DEFAULT_COLOR_MODE_CLASSNAME, a1 as DEFAULT_SCALE_MODE_CLASSNAME, aL as DataAttribute, aM as Display, a6 as FONT_DECLARATIONS_MAP, D as FONT_FAMILY_PREFIX, E as FONT_SIZE_PREFIX, G as FONT_WEIGHT_PREFIX, aN as Flex, aO as FlexAlignContent, aP as FlexAlignItems, aQ as FlexAlignSelf, aR as FlexBasis, aS as FlexDirection, aT as FlexGrow, aU as FlexJustifyContent, aV as FlexShrink, aW as FlexStyleProps, aX as FlexWrap, aY as FontAlias, aZ as FontConfig, a_ as FontCssVar, a5 as FontDeclarationConfig, a$ as FontFamilyCDNUrl, b0 as FontID, b1 as FontSize, b2 as FontType, b3 as FontWeightDescriptive, b4 as FontWeightNumeric, b5 as ForegroundColor, b6 as ForegroundPalette, b7 as ForegroundPaletteAlias, b8 as HighContrastMode, b9 as Hue, ba as HueStep, a3 as ICON_BUTTON_CSS_VAR_MAP, H as ICON_SIZE_PREFIX, bb as IconButtonClassMap, bc as IconButtonClassName, bd as IconButtonDefaultsConfig, be as IconButtonSize, bf as IconSize, bg as IconVariant, bh as ImageStyleProps, Y as LARGE_SCALE_MODE_CLASSNAME, R as LIGHT_COLOR_MODE_CLASSNAME, J as LINE_HEIGHT_PREFIX, bi as LayoutStyleProps, bj as LetterSpacing, bk as LineClampAlias, bl as LineColor, bm as LineHeight, bn as LinePalette, bo as LinePaletteAlias, W as MEDIUM_SCALE_MODE_CLASSNAME, K as MOTION_PREFIX, bp as MotionCssVar, bq as MotionSpringConfig, br as MotionSpringConfigOptions, bs as MotionVariant, bt as MotionVariantSpeed, bu as MotionVariantValues, bv as Overflow, a4 as PSEUDO_STYLE_SELECTOR_MAP, bw as Palette, bx as PaletteType, by as PaletteValue, bz as PlatformMode, bA as Position, bB as PropertyToPaletteAliasMap, bC as RegionMode, V as SMALL_SCALE_MODE_CLASSNAME, N as SPECTRUM_COLOR_PREFIX, bD as ScaleConfig, bE as ScaleEffectMap, bF as ScaleModeConfig, bG as SpacingAlias, bH as SpacingConfig, bI as SpacingStyleProps, bJ as SpectrumColor, bK as SpectrumConfig, bL as StateStyleProps, O as TEXT_TRANSFORM_PREFIX, bT as TShirtSize, bU as TShirtSizeCommon, bM as TextProperty, bN as TextStyleProps, bO as TextTransform, bP as TextVariant, bQ as TransitionDelay, bR as TransitionDuration, bS as TransitionTiming, w as UDS_PREFIX, bV as UdsCssVar, U as UniversalAvatarProps, a as UniversalButtonProps, c as UniversalIconButtonProps, d as UniversalImageProps, b as UniversalPressableProps, bW as UniversalTextInputProps, Z as XLARGE_SCALE_MODE_CLASSNAME, X as XSMALL_SCALE_MODE_CLASSNAME, _ as XXLARGE_SCALE_MODE_CLASSNAME, $ as XXXLARGE_SCALE_MODE_CLASSNAME, v as alwaysPalette } from './types-C7KJV1b1.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-BxsXWBqp.js';
6
+ export { a as IconButton, b as IconButtonProps, c as Image, I as ImageProps, d as Pressable, P as PressableProps } from './Image.native-D6qA03vT.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-Gbm66c6M.js';
10
+ export { DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_FOR_APP, defaultTokensConfig, fontWeightMap } from './tokens/index.native.js';
11
+ import 'framer-motion';
11
12
 
12
13
  declare const variants: {
13
14
  color: {
@@ -43,12 +44,11 @@ declare const variants: {
43
44
  current: string;
44
45
  };
45
46
  fontFamily: {
46
- icons: string;
47
47
  sans: string;
48
- 'sans-beta': string;
49
- 'sans-condensed': string;
50
- 'serif-text': string;
51
- 'serif-display': string;
48
+ 'sans-alt': string;
49
+ serif: string;
50
+ 'serif-alt': string;
51
+ mono: string;
52
52
  display1: string;
53
53
  display2: string;
54
54
  display3: string;
@@ -1053,7 +1053,7 @@ declare const variants: {
1053
1053
  xxxLarge: string;
1054
1054
  xxLarge: string;
1055
1055
  };
1056
- buttonCategory: {
1056
+ buttonPalette: {
1057
1057
  accent: string;
1058
1058
  brand: string;
1059
1059
  alert: string;
@@ -1070,69 +1070,43 @@ declare const variants: {
1070
1070
  md: string;
1071
1071
  lg: string;
1072
1072
  };
1073
+ iconButtonSize: {
1074
+ xs: string;
1075
+ sm: string;
1076
+ md: string;
1077
+ lg: string;
1078
+ xl: string;
1079
+ };
1073
1080
  };
1074
1081
 
1082
+ declare const getDefaultButtonBaseMap: Record<ButtonKind, (alias: CorePaletteAlias) => ButtonBaseConfig>;
1075
1083
  declare const button: ButtonConfig;
1076
1084
 
1077
- declare const UDS_PREFIX = "uds";
1078
- declare const SPECTRUM_COLOR_PREFIX = "uds-spectrum-color";
1079
- declare const FONT_FAMILY_PREFIX = "uds-font";
1080
- declare const ICON_SIZE_PREFIX = "uds-icon-size";
1081
- declare const AVATAR_SIZE_PREFIX = "uds-avatar-size";
1082
- declare const BORDER_RADIUS_PREFIX = "uds-border-radius";
1083
- declare const BORDER_WIDTH_PREFIX = "uds-border-width";
1084
- declare const FONT_SIZE_PREFIX = "uds-font-size";
1085
- declare const LINE_HEIGHT_PREFIX = "uds-line-height";
1086
- declare const FONT_WEIGHT_PREFIX = "uds-font-weight";
1087
- declare const TEXT_TRANSFORM_PREFIX = "uds-text-transform";
1088
- declare const DARK_COLOR_MODE_CLASSNAME = "uds-color-mode-dark";
1089
- declare const LIGHT_COLOR_MODE_CLASSNAME = "uds-color-mode-light";
1090
- declare const XSMALL_SCALE_MODE_CLASSNAME = "uds-scale-mode-xsmall";
1091
- declare const SMALL_SCALE_MODE_CLASSNAME = "uds-scale-mode-small";
1092
- declare const MEDIUM_SCALE_MODE_CLASSNAME = "uds-scale-mode-medium";
1093
- declare const LARGE_SCALE_MODE_CLASSNAME = "uds-scale-mode-large";
1094
- declare const XLARGE_SCALE_MODE_CLASSNAME = "uds-scale-mode-xlarge";
1095
- declare const XXLARGE_SCALE_MODE_CLASSNAME = "uds-scale-mode-xxlarge";
1096
- declare const XXXLARGE_SCALE_MODE_CLASSNAME = "uds-scale-mode-xxxlarge";
1097
- declare const DEFAULT_COLOR_MODE_CLASSNAME = "uds-color-mode-light";
1098
- declare const DEFAULT_SCALE_MODE_CLASSNAME = "uds-scale-mode-large";
1099
- declare const FONT_ICONS_CSS_VAR = "--uds-font-icons";
1100
- declare const FONT_SANS_CSS_VAR = "--uds-font-sans";
1101
- declare const FONT_SANS_BETA_CSS_VAR = "--uds-font-sans-beta";
1102
- declare const FONT_SANS_CONDENSED_CSS_VAR = "--uds-font-sans-condensed";
1103
- declare const FONT_SERIF_DISPLAY_CSS_VAR = "--uds-font-serif-display";
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
- };
1125
-
1085
+ /**
1086
+ * Converts an object into an array of key-value pair entries.
1087
+ *
1088
+ * This function takes an object `item` and returns an array of its own enumerable
1089
+ * property `[key, value]` pairs, where `key` is a string. The generic type `T` represents
1090
+ * the type of the input object. The return type is an array of tuples, where each tuple
1091
+ * consists of a string key and a value corresponding to the type of values in `T`.
1092
+ */
1126
1093
  declare function entries<T>(item: T): [Extract<keyof T, string>, T[keyof T]][];
1127
1094
 
1095
+ /**
1096
+ * Converts an array of key-value pair entries into an object.
1097
+ *
1098
+ * This function takes an array of `[key, value]` pairs and converts it into an object
1099
+ * where each key is associated with its corresponding value. The generic types `T` and `K`
1100
+ * represent the types of the keys and values, respectively. The keys are constrained to
1101
+ * be strings.
1102
+ */
1128
1103
  declare function fromEntries<T extends string, K>(item: [T, K][]): Record<T, K>;
1129
1104
 
1130
- interface CombinationsConfig extends Exclude<ButtonConfig, 'defaults'> {
1131
- }
1105
+ type CombinationsConfig = IconButtonConfig | ButtonConfig;
1132
1106
  type Combination<T extends CombinationsConfig> = {
1133
1107
  [K in keyof T]: keyof T[K];
1134
1108
  };
1135
- declare function generateConfigCombinations(config: CombinationsConfig): Combination<CombinationsConfig>[];
1109
+ declare function generateConfigCombinations<T extends CombinationsConfig>(config: T): Combination<T>[];
1136
1110
 
1137
1111
  type AnyObject = Record<string, unknown>;
1138
1112
  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>; };
@@ -1662,34 +1636,11 @@ declare function createStyler({ colorMode, scaleMode }: Modes, config: Universal
1662
1636
  15: string;
1663
1637
  };
1664
1638
  };
1665
- palette: {
1666
- core: {
1667
- accent: string;
1668
- alert: string;
1669
- brand: string;
1670
- positive: string;
1671
- warning: string;
1672
- };
1673
- background: {
1674
- primary: string;
1675
- secondary: string;
1676
- };
1677
- foreground: {
1678
- primary: string;
1679
- secondary: string;
1680
- tertiary: string;
1681
- muted: string;
1682
- "on-color": string;
1683
- };
1684
- line: {
1685
- primary: string;
1686
- secondary: string;
1687
- tertiary: string;
1688
- muted: string;
1689
- };
1690
- };
1691
- button?: ButtonConfig | undefined;
1692
- fontFamilyGlobal: FontFamilyGlobalConfig;
1639
+ palette: { [key in keyof PaletteConfig]: { [key2 in keyof PaletteConfig[key]]: string; }; };
1640
+ version: string;
1641
+ button: ButtonConfig;
1642
+ iconButton: IconButtonConfig;
1643
+ motion: MotionConfig;
1693
1644
  };
1694
1645
  };
1695
1646
  declare const DEFAULT_STYLER: {
@@ -2069,34 +2020,11 @@ declare const DEFAULT_STYLER: {
2069
2020
  15: string;
2070
2021
  };
2071
2022
  };
2072
- palette: {
2073
- core: {
2074
- accent: string;
2075
- alert: string;
2076
- brand: string;
2077
- positive: string;
2078
- warning: string;
2079
- };
2080
- background: {
2081
- primary: string;
2082
- secondary: string;
2083
- };
2084
- foreground: {
2085
- primary: string;
2086
- secondary: string;
2087
- tertiary: string;
2088
- muted: string;
2089
- "on-color": string;
2090
- };
2091
- line: {
2092
- primary: string;
2093
- secondary: string;
2094
- tertiary: string;
2095
- muted: string;
2096
- };
2097
- };
2098
- button?: ButtonConfig | undefined;
2099
- fontFamilyGlobal: FontFamilyGlobalConfig;
2023
+ palette: { [key in keyof PaletteConfig]: { [key2 in keyof PaletteConfig[key]]: string; }; };
2024
+ version: string;
2025
+ button: ButtonConfig;
2026
+ iconButton: IconButtonConfig;
2027
+ motion: MotionConfig;
2100
2028
  };
2101
2029
  };
2102
2030
 
@@ -2479,34 +2407,11 @@ declare function useTokens(): {
2479
2407
  15: string;
2480
2408
  };
2481
2409
  };
2482
- palette: {
2483
- core: {
2484
- accent: string;
2485
- alert: string;
2486
- brand: string;
2487
- positive: string;
2488
- warning: string;
2489
- };
2490
- background: {
2491
- primary: string;
2492
- secondary: string;
2493
- };
2494
- foreground: {
2495
- primary: string;
2496
- secondary: string;
2497
- tertiary: string;
2498
- muted: string;
2499
- "on-color": string;
2500
- };
2501
- line: {
2502
- primary: string;
2503
- secondary: string;
2504
- tertiary: string;
2505
- muted: string;
2506
- };
2507
- };
2508
- button?: ButtonConfig | undefined;
2509
- fontFamilyGlobal: FontFamilyGlobalConfig;
2410
+ palette: { [key in keyof PaletteConfig]: { [key2 in keyof PaletteConfig[key]]: string; }; };
2411
+ version: string;
2412
+ button: ButtonConfig;
2413
+ iconButton: IconButtonConfig;
2414
+ motion: MotionConfig;
2510
2415
  };
2511
2416
 
2512
2417
  interface ThemeProviderProps extends React.PropsWithChildren {
@@ -2516,4 +2421,4 @@ interface ThemeProviderProps extends React.PropsWithChildren {
2516
2421
  }
2517
2422
  declare function ThemeProvider({ children, colorModeForApp, scaleModeForApp, config, }: ThemeProviderProps): react_jsx_runtime.JSX.Element;
2518
2423
 
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 };
2424
+ export { AvatarSizeConfig, BorderRadiusConfig, BorderWidthConfig, Box, type BoxProps, ButtonBaseConfig, ButtonConfig, ButtonKind, ColorMode, ColorModeContext, ColorModeForApp, ColorModeForAppContext, ColorModeForAppContextUpdater, ColorModeForAppProvider, type ColorModeForAppProviderProps, ColorModeForDeviceContext, ColorModeForDeviceProvider, type ColorModeForDeviceProviderProps, ColorModeProvider, type ColorModeProviderProps, type Combination, type CombinationsConfig, ComputedTokensContext, ComputedTokensProvider, type ComputedTokensProviderProps, CorePaletteAlias, DEFAULT_STYLER, FontFamilyConfig, FontSizeConfig, FontWeightConfig, HStack, type HStackProps, Icon, IconButtonConfig, type IconProps, IconSizeConfig, LineHeightConfig, Modes, MotionConfig, PaletteConfig, type ReactNativeStyle, ScaleMode, ScaleModeContext, ScaleModeForApp, ScaleModeForAppContext, ScaleModeForAppProvider, type ScaleModeForAppProviderProps, ScaleModeForAppUpdaterContext, ScaleModeForDeviceContext, ScaleModeForDeviceProvider, type ScaleModeForDeviceProviderProps, ScaleModeProvider, type ScaleModeProviderProps, Screen, type ScreenProps, type SetState, StyleProps, StyleProvider, Text, type TextProps, type TextPropsOriginal, TextTransformConfig, ThemeProvider, type ThemeProviderProps, UniversalBoxProps, UniversalIconProps, UniversalStackProps, UniversalTextProps, UniversalTokensConfig, VStack, type VStackProps, button, createStyler, entries, fromEntries, generateConfigCombinations, getDefaultButtonBaseMap, mapValues, useAppState, useColorMode, useColorModeForApp, useColorModeForDevice, useComputedTokens, useDeviceFontScale, useScaleMode, useScaleModeForDevice, useStyles, useTokens, variants };