@yahoo/uds 1.1.8 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. package/cli/README.md +21 -0
  2. package/cli/cli.ts +27 -4
  3. package/cli/commands/login.ts +28 -0
  4. package/cli/commands/logout.ts +24 -0
  5. package/cli/commands/uds.ts +4 -1
  6. package/cli/env.d.ts +5 -0
  7. package/cli/exec.ts +1 -1
  8. package/cli/preload.ts +16 -0
  9. package/cli/uds-cli +3 -3
  10. package/cli/utils/auth.test.ts +107 -0
  11. package/cli/utils/auth.ts +158 -0
  12. package/cli/utils/client_secrets.json.enc +0 -0
  13. package/cli/utils/secrets.ts +40 -0
  14. package/cli/utils/types.ts +8 -0
  15. package/package.json +163 -153
  16. package/cli/bin/uds-darwin-arm64-baseline +0 -0
  17. package/cli/bin/uds-linux-x64-baseline +0 -0
  18. package/dist/chunk-4QPJJLKY.cjs +0 -3
  19. package/dist/chunk-7BKLIVWM.js +0 -3
  20. package/dist/chunk-7MIFGMTL.js +0 -3
  21. package/dist/chunk-AP7V5X3U.js +0 -3
  22. package/dist/chunk-AXSSWKHD.js +0 -2
  23. package/dist/chunk-BFM5K4BL.cjs +0 -2
  24. package/dist/chunk-DMK4ALSA.js +0 -3
  25. package/dist/chunk-EK4QO3CL.cjs +0 -2
  26. package/dist/chunk-JVJE7CIQ.js +0 -2
  27. package/dist/chunk-KBN4CEUI.cjs +0 -2
  28. package/dist/chunk-LDUD6QEL.cjs +0 -2
  29. package/dist/chunk-LQIX6U65.js +0 -2
  30. package/dist/chunk-PV3R4H6R.cjs +0 -3
  31. package/dist/chunk-QBWDISRA.js +0 -4
  32. package/dist/chunk-V2TMQJ2B.cjs +0 -3
  33. package/dist/chunk-YQ2REBIU.cjs +0 -4
  34. package/dist/chunk-ZNQDH7JN.cjs +0 -2
  35. package/dist/chunk-ZZFEIQRV.js +0 -2
  36. package/dist/client/index.cjs +0 -4
  37. package/dist/client/index.d.cts +0 -97
  38. package/dist/client/index.d.ts +0 -97
  39. package/dist/client/index.js +0 -6
  40. package/dist/experimental/index.cjs +0 -4
  41. package/dist/experimental/index.d.cts +0 -451
  42. package/dist/experimental/index.d.ts +0 -451
  43. package/dist/experimental/index.js +0 -3
  44. package/dist/fixtures.cjs +0 -1506
  45. package/dist/fixtures.d.cts +0 -94
  46. package/dist/fixtures.d.ts +0 -94
  47. package/dist/fixtures.js +0 -1449
  48. package/dist/index.cjs +0 -1
  49. package/dist/index.d.cts +0 -353
  50. package/dist/index.d.ts +0 -353
  51. package/dist/index.js +0 -2
  52. package/dist/metafile-cjs.json +0 -1
  53. package/dist/metafile-esm.json +0 -1
  54. package/dist/motionFeatures-QGPGM4F5.js +0 -1
  55. package/dist/motionFeatures-TULW7TOK.cjs +0 -1
  56. package/dist/styles/toast.css +0 -3
  57. package/dist/styles/toast.d.cts +0 -2
  58. package/dist/styles/toast.d.ts +0 -2
  59. package/dist/tailwind/plugin.cjs +0 -3
  60. package/dist/tailwind/plugin.d.cts +0 -60
  61. package/dist/tailwind/plugin.d.ts +0 -60
  62. package/dist/tailwind/plugin.js +0 -3
  63. package/dist/tailwind/purger.cjs +0 -6
  64. package/dist/tailwind/purger.d.cts +0 -17
  65. package/dist/tailwind/purger.d.ts +0 -17
  66. package/dist/tailwind/purger.js +0 -6
  67. package/dist/tailwind/tsMorph.cjs +0 -3
  68. package/dist/tailwind/tsMorph.d.cts +0 -31
  69. package/dist/tailwind/tsMorph.d.ts +0 -31
  70. package/dist/tailwind/tsMorph.js +0 -2
  71. package/dist/tailwind/utils.cjs +0 -1
  72. package/dist/tailwind/utils.d.cts +0 -99
  73. package/dist/tailwind/utils.d.ts +0 -99
  74. package/dist/tailwind/utils.js +0 -1
  75. package/dist/tokens/index.cjs +0 -1
  76. package/dist/tokens/index.d.cts +0 -1127
  77. package/dist/tokens/index.d.ts +0 -1127
  78. package/dist/tokens/index.js +0 -1
  79. package/dist/tokens/parseTokens.cjs +0 -1
  80. package/dist/tokens/parseTokens.d.cts +0 -59
  81. package/dist/tokens/parseTokens.d.ts +0 -59
  82. package/dist/tokens/parseTokens.js +0 -1
  83. package/dist/types-CpZ2ERLZ.d.cts +0 -949
  84. package/dist/types-CpZ2ERLZ.d.ts +0 -949
package/dist/index.d.ts DELETED
@@ -1,353 +0,0 @@
1
- import * as react from 'react';
2
- import { Ref, Dispatch, SetStateAction } from 'react';
3
- import { p as UniversalBoxProps, q as UniversalStackProps, r as UniversalIconProps, s as UniversalImageProps, t as UniversalPressableProps, u as UniversalTextProps } from './types-CpZ2ERLZ.js';
4
- export { A as AVATAR_SIZE_PREFIX, a4 as AlwaysPalette, a5 as AlwaysPaletteAlias, a6 as Animation, a7 as AriaAttribute, a8 as AvatarShape, a9 as AvatarSize, aa as AvatarSizeConfig, x as BORDER_RADIUS_PREFIX, y as BORDER_WIDTH_PREFIX, a0 as BUTTON_CSS_VAR_MAP, ab as BackgroundColor, ac as BackgroundPalette, ad as BackgroundPaletteAlias, ae as BackgroundStyleProps, af as BorderRadius, ag as BorderRadiusConfig, ah as BorderStyleProps, ai as BorderWidth, aj as BorderWidthConfig, ak as BoxShadowConfig, al as ButtonBaseConfig, h as ButtonClassMap, am as ButtonClassName, an as ButtonColorConfig, ao as ButtonColorEffect, ap as ButtonColorEffectConfig, i as ButtonColorProperty, j as ButtonColorPropertyConfig, B as ButtonConfig, aq as ButtonKind, ar as ButtonMotionEffect, as as ButtonMotionProperty, at as ButtonMotionPropertyConfig, au as ButtonPalette, av as ButtonPaletteColor, aw as ButtonPaletteConfig, ax as ButtonSize, ay as ButtonSizeConfig, az as ButtonSizeProperty, aA as ButtonSpectrumColor, aB as ButtonState, aC as ButtonStateConfig, aD as ButtonStateEffectConfig, aE as ButtonVariant, aF as ButtonVariantConfig, C as ColorMode, aG as ColorModeConfig, aH as ColorModeForApp, a as ColorsConfig, aI as CorePalette, aJ as CorePaletteAlias, aK as CustomSizingStyleProps, N as DARK_COLOR_MODE_CLASSNAME, _ as DEFAULT_COLOR_MODE_CLASSNAME, $ as DEFAULT_SCALE_MODE_CLASSNAME, aL as DataAttribute, aM as Display, a3 as FONT_DECLARATIONS_MAP, z as FONT_FAMILY_PREFIX, D as FONT_SIZE_PREFIX, E 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, o as FontConfig, aZ as FontCssVar, n as FontDeclarationConfig, a_ as FontFamilyCDNUrl, a$ as FontFamilyConfig, m as FontID, b0 as FontSize, b1 as FontSizeConfig, b2 as FontType, F as FontWeightConfig, b3 as FontWeightDescriptive, d as FontWeightNumeric, b4 as ForegroundColor, b5 as ForegroundPalette, b6 as ForegroundPaletteAlias, b7 as HighContrastMode, H as Hue, b as HueStep, a1 as ICON_BUTTON_CSS_VAR_MAP, G as ICON_SIZE_PREFIX, I as IconButtonClassMap, b8 as IconButtonClassName, b9 as IconButtonConfig, ba as IconButtonDefaultsConfig, bb as IconButtonSize, bc as IconSizeConfig, bd as ImageStyleProps, V as LARGE_SCALE_MODE_CLASSNAME, O as LIGHT_COLOR_MODE_CLASSNAME, L as LINE_HEIGHT_PREFIX, be as LayoutStyleProps, bf as LetterSpacing, bg as LineClampAlias, bh as LineColor, bi as LineHeight, bj as LineHeightConfig, bk as LinePalette, bl as LinePaletteAlias, R as MEDIUM_SCALE_MODE_CLASSNAME, J as MOTION_PREFIX, bm as Modes, l as MotionConfig, bn as MotionCssVar, bo as MotionSpringConfig, k as MotionSpringConfigOptions, M as MotionVariant, g as MotionVariantSpeed, bp as MotionVariantValues, bq as Overflow, a2 as PSEUDO_STYLE_SELECTOR_MAP, br as Palette, c as PaletteConfig, P as PaletteType, bs as PaletteValue, bt as PlatformMode, bu as Position, bv as PropertyToPaletteAliasMap, bw as RegionMode, Q as SMALL_SCALE_MODE_CLASSNAME, K as SPECTRUM_COLOR_PREFIX, bx as ScaleConfig, by as ScaleEffectMap, S as ScaleMode, bz as ScaleModeConfig, bA as ScaleModeForApp, bB as SpacingAlias, bC as SpacingConfig, bD as SpacingStyleProps, bE as SpectrumColor, bF as SpectrumConfig, bG as StateStyleProps, bH as StyleProps, T as TEXT_TRANSFORM_PREFIX, bQ as TShirtSize, bR as TShirtSizeCommon, bI as TextProperty, bJ as TextStyleProps, bK as TextTransform, bL as TextTransformConfig, bM as TextVariant, bN as TransitionDelay, bO as TransitionDuration, bP as TransitionTiming, w as UDS_PREFIX, bS as UdsCssVar, bT as UniversalAvatarProps, e as UniversalButtonProps, f as UniversalIconButtonProps, bU as UniversalTextInputProps, U as UniversalTokensConfig, W as XLARGE_SCALE_MODE_CLASSNAME, X as XSMALL_SCALE_MODE_CLASSNAME, Y as XXLARGE_SCALE_MODE_CLASSNAME, Z as XXXLARGE_SCALE_MODE_CLASSNAME, v as alwaysPalette } from './types-CpZ2ERLZ.js';
5
- import * as react_jsx_runtime from 'react/jsx-runtime';
6
- export { Button, ButtonProps, IconButton, IconButtonProps, SpringMotionConfig, SpringMotionConfigProps } from '@yahoo/uds/client';
7
- export { Combination, CombinationsConfig, DEFAULT_COLOR_MODE, DEFAULT_COLOR_MODE_FOR_APP, DEFAULT_HIGH_CONTRAST_MODE, DEFAULT_REGION_MODE, DEFAULT_SCALE_MODE, DEFAULT_SCALE_MODE_FOR_APP, button, defaultTokensConfig, entries, fontWeightMap, fromEntries, generateConfigCombinations, getDefaultButtonBaseMap, mapValues, variants } from './tokens/index.js';
8
- export { IconSize, IconVariant } from '@yahoo/uds-icons/types';
9
- import 'framer-motion';
10
-
11
- type DivProps = React.HTMLAttributes<HTMLDivElement>;
12
- interface BoxProps extends UniversalBoxProps, DivProps {
13
- }
14
- /**
15
- * **📦 A layout component that can be used to compose other components**
16
- *
17
- * @description
18
- * The most simple component we ship - a div. But with all the power of the UDS design system.
19
- * By default, `Box` is a flexbox container. When working with vertical or horizontal layouts,
20
- * consider using [VStack](./v-stack) or [HStack](./h-stack) respectively.
21
- *
22
- * @example
23
- * ```tsx
24
- * import { Box } from '@yahoo/uds';
25
- *
26
- * <Box backgroundColor="primary" spacing="6">
27
- * Any kind of content can go here!
28
- * </Box>
29
- * ```
30
- *
31
- * @usage
32
- * - If you need to div-like container to apply padding, shapes, or other styling.
33
- * - If you're creating card components.
34
- *
35
- * @see The {@link http://yo/uds/docs/components/box Box Docs} for more info
36
- *
37
- * @related [HStack](http://yo/uds/docs/components/h-stack), [VStack](http://yo/uds/docs/components/v-stack)
38
- */
39
- declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLDivElement>>;
40
-
41
- interface HStackProps extends UniversalStackProps, DivProps {
42
- }
43
- /**
44
- * **📏 A layout component that arranges its children in columns using flexbox**
45
- *
46
- * @description
47
- * HStack is a layout primitive that arranges its children in a columns [flexbox](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox)
48
- * and can be used to compose larger layouts. HStack is similar to [Box](./box) but provides additional features like a `gap` property to
49
- * add spacing between children.
50
- *
51
- * @example
52
- * ```tsx
53
- * import { HStack, Text } from '@yahoo/uds';
54
-
55
- * <HStack gap="6">
56
- * <Text variant="body1" color="primary">First</Text>
57
- * <Text variant="body1" color="primary">Second</Text>
58
- * <Text variant="body1" color="primary">Third</Text>
59
- * </HStack>
60
- * ```
61
- *
62
- * @usage
63
- * - Create a row of items, optionally with gaps between items.
64
- * - Create columns that are sized to their content.
65
- * - Create columns that fill the available space within the parent container.
66
- * - Create columns of proportionate size to each other (also known as a ratio-based layout).
67
- *
68
- * @see The {@link http://yo/uds/docs/components/h-stack HStack Docs} for more info
69
- *
70
- * @related [Box](http://yo/uds/docs/components/box), [VStack](http://yo/uds/docs/components/v-stack)
71
- **/
72
- declare const HStack: react.ForwardRefExoticComponent<HStackProps & react.RefAttributes<HTMLDivElement>>;
73
-
74
- type SVGElementProps = Omit<React.HTMLAttributes<SVGSVGElement>, 'color'>;
75
- interface IconProps extends UniversalIconProps, SVGElementProps {
76
- }
77
- /**
78
- * **🎨 A component for displaying icons**
79
- *
80
- * @description
81
- * [Iconography](http://yo/uds/docs/core-concepts/icons) contains small symbols for actions or
82
- * other items. They are available in three different sizes: `sm`, `md`, and
83
- * `lg`. Each size also supports an outline and fill variant. Icons can be
84
- * colored using the `color` prop.
85
- *
86
- * The component is available in the `@yahoo/uds` package but is meant to be used
87
- * with the assets in `@yahoo/uds-icons`. You will need both packages to use icons.
88
- * A separate package provides modularity from the core library, better
89
- * versioning strategies, and tree shakeability.
90
- *
91
- * @example
92
- * ```tsx
93
- * import { Icon } from '@yahoo/uds';
94
- * import { AddFolder } from '@yahoo/uds-icons';
95
- *
96
- * <Icon name={AddFolder} variant="fill" size="sm" />
97
- * ```
98
- *
99
- * @usage
100
- * - If you need to display an icon.
101
- *
102
- * @see The {@link http://yo/uds/docs/components/icon Icon Docs} for more info
103
- *
104
- * @related [IconButton](http://yo/uds/docs/components/icon-button)
105
- */
106
- declare const Icon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
107
-
108
- type NativeImageProps = Omit<React.ImgHTMLAttributes<HTMLImageElement>, 'size' | 'color' | 'height' | 'width' | 'alt' | 'src'>;
109
- interface ImageProps extends NativeImageProps, UniversalImageProps {
110
- }
111
- /**
112
- * **📸 A component for displaying images**
113
- *
114
- * @description
115
- * Wrapper for the image element. In the future, may provide additional
116
- * functionality for handling fallbacks, dark mode, lazy loading, shimmers.
117
- *
118
- * @example
119
- * ```tsx
120
- * import { Image } from '@yahoo/uds';
121
- *
122
- * <Image src="/images/profile.png" width={580} height={334} />;
123
- * ```
124
- *
125
- * @usage
126
- * - Use the `Image` component to display images.
127
- * - Use `width` and `height` props to set the size of the image.
128
- * - Image extends the HTMLImageElement, as well as the uds `Box` component and supports all of their props.
129
- *
130
- * @see The {@link http://yo/uds/docs/components/image Image Docs} for more info
131
- *
132
- * @related [Box](http://yo/uds/docs/components/box)
133
- */
134
- declare function Image({ width: imageWidth, height: imageHeight, src, alt, contentFit, backgroundColor, borderRadius, borderTopStartRadius, borderTopEndRadius, borderBottomStartRadius, borderBottomEndRadius, borderColor, borderStartColor, borderEndColor, borderTopColor, borderBottomColor, borderWidth, borderVerticalWidth, borderHorizontalWidth, borderStartWidth, borderEndWidth, borderTopWidth, borderBottomWidth, alignContent, alignItems, alignSelf, flex, flexDirection, flexGrow, flexShrink, flexWrap, justifyContent, flexBasis, display, overflow, overflowX, overflowY, position, spacing, spacingHorizontal, spacingVertical, spacingBottom, spacingEnd, spacingStart, spacingTop, offset, offsetVertical, offsetHorizontal, offsetBottom, offsetEnd, offsetStart, offsetTop, columnGap, rowGap, ...props }: ImageProps): react_jsx_runtime.JSX.Element;
135
-
136
- type HtmlButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'name'>;
137
- interface PressableProps extends UniversalPressableProps, HtmlButtonProps {
138
- }
139
- /**
140
- * **🖲️ A primitive component for creating button interactions with accessibility support**
141
- *
142
- * @description
143
- * The Pressable component is a primitive component that can be used
144
- * to create button interactions with accessibility support. It can be used
145
- * to trigger an action, such as submitting a form, navigating to a new page,
146
- * or adding interactivity to a section or card.
147
- *
148
- * @example
149
- * ```tsx
150
- * import { Pressable } from '@yahoo/uds';
151
- *
152
- * <Pressable
153
- * backgroundColor="secondary"
154
- * borderWidth="thin"
155
- * borderColor="primary"
156
- * borderRadius="lg"
157
- * onPress={() => console.log('Pressed!')}
158
- * >
159
- * <Text variant="body1" color="primary" spacingHorizontal="7" spacingVertical="5">Click me...</Text>
160
- * </Pressable>
161
- * ```
162
- *
163
- * @usage
164
- * - If you need to add interactivity to a section or card.
165
- * - If you need a highly customized version of [Button](./button)
166
- *
167
- * @see The {@link http://yo/uds/docs/components/pressable Pressable Docs} for more info
168
- *
169
- * @related [Button](http://yo/uds/docs/components/button), [IconButton](http://yo/uds/docs/components/icon-button)
170
- *
171
- */
172
- declare const Pressable: react.ForwardRefExoticComponent<PressableProps & react.RefAttributes<HTMLButtonElement>>;
173
-
174
- type TextElementTagName = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li';
175
- type TextProps = UniversalTextProps & {
176
- /** Ref passed to the inner container. */
177
- ref?: Ref<HTMLElement>;
178
- /** Changes the HTML tag used to render text. Uses the most appropriate semantic tag based on the text style variant. */
179
- as?: TextElementTagName;
180
- } & Omit<JSX.IntrinsicElements[TextElementTagName], 'color'>;
181
- /**
182
- * **💬 A text element that can be used to display text**
183
- *
184
- * @description
185
- * By default, the `Text` component uses text primary color and selects the
186
- * correct font, weight, and leading. It also choices appropriate semantic
187
- * HTML element based on the `variant` prop. For example, `body1` will use a
188
- * `<p>` tag, `title1` uses an `<h1>`, etc. This behavior can be overridden
189
- * with the `as` prop.
190
- *
191
- *
192
- * @example
193
- * ```tsx
194
- * import { Text } from '@yahoo/uds';
195
- *
196
- * <Text variant="body1" color="primary">
197
- * Text goes here
198
- * </Text>
199
- * ```
200
- *
201
- * @usage
202
- * - Use `Text` to display text in your app.
203
- * - Use `variant` to change the size and weight of the text.
204
- * - Use `color` to change the color of the text.
205
- * - Use `as` to change the HTML tag used to render the text.
206
- *
207
- * @see The {@link http://yo/uds/docs/components/text Text Docs} for more info
208
- *
209
- * @related [Button](http://yo/uds/docs/components/button) and [Pressable](http://yo/uds/docs/components/pressable)
210
- */
211
- declare const Text: react.ForwardRefExoticComponent<Omit<TextProps, "ref"> & react.RefAttributes<HTMLElement>>;
212
-
213
- type VStackProps = UniversalStackProps & DivProps;
214
- /**
215
- * **🥞 A layout component that arranges its children in rows using flexbox**
216
- *
217
- * @description
218
- * VStack is a layout component that arranges its children in rows using [flexbox](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox)
219
- * and can be used to compose larger layouts. VStack is similar to [Box](./box) but provides additional features like a `gap` property to
220
- * add spacing between children.
221
- *
222
- * @example
223
- * ```tsx
224
- * import { VStack, Text } from '@yahoo/uds';
225
- *
226
- * <VStack gap="6">
227
- * <Text variant="body1" color="primary">First</Text>
228
- * <Text variant="body1" color="primary">Second</Text>
229
- * <Text variant="body1" color="primary">Third</Text>
230
- * </VStack>
231
- * ```
232
- *
233
- * @usage
234
- * - Create a column of items, optionally with gaps between.
235
- * - Create rows that are sized to their content (height only). By default each child will fill the width of the VStack.
236
- * - Create rows that fill the available space within the parent container.
237
- * - Create rows of proportionate size to each other (also known as a ratio-based layout).
238
- *
239
- * @see The {@link http://yo/uds/docs/components/v-stack VStack Docs} for more info
240
- *
241
- * @related [Box](http://yo/uds/docs/components/box), [HStack](http://yo/uds/docs/components/h-stack)
242
- **/
243
- declare const VStack: react.ForwardRefExoticComponent<UniversalStackProps & DivProps & react.RefAttributes<HTMLDivElement>>;
244
-
245
- type StringToBoolean<T> = T extends 'true' | 'false' ? boolean : T;
246
- type CvaStyleValue<T> = T | CvaStyleArray<T> | Record<string, unknown> | null | boolean | undefined;
247
- type CvaStyleArray<T> = CvaStyleValue<T>[];
248
- type CVAVariantSchema<T, V extends CVAVariantShape<T>> = {
249
- [Variant in keyof V]?: StringToBoolean<keyof V[Variant]> | undefined;
250
- };
251
- type CVAVariantShape<T> = Record<string, Record<string, T>>;
252
- type CVAStyleProp<T> = T extends string ? {
253
- className?: T;
254
- } : {
255
- style?: T;
256
- };
257
- type CVAConfigBase<T> = {
258
- base?: T | null;
259
- };
260
- interface CVA<T> {
261
- <V extends CVAVariantShape<T>>(config: V extends CVAVariantShape<T> ? CVAConfigBase<T> & {
262
- base?: T;
263
- variants?: V;
264
- compoundVariants?: (V extends CVAVariantShape<T> ? (CVAVariantSchema<T, V> | {
265
- [Variant in keyof V]?: StringToBoolean<keyof V[Variant]> | undefined;
266
- }) & CVAStyleProp<T> : CVAStyleProp<T>)[];
267
- defaultVariants?: CVAVariantSchema<T, V>;
268
- } : CVAConfigBase<T> & {
269
- variants?: never;
270
- compoundVariants?: never;
271
- defaultVariants?: never;
272
- }): (props?: V extends CVAVariantShape<T> ? CVAVariantSchema<T, V> & CVAStyleProp<T> : CVAStyleProp<T>) => T;
273
- }
274
- interface CX<T> {
275
- (...inputs: CvaStyleValue<T>[]): T;
276
- }
277
-
278
- declare const cx: CX<string>;
279
- declare const cva: CVA<string>;
280
- declare const getStyles: (props?: ({
281
- color?: "brand" | "accent" | "alert" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "transparent" | "white" | "black" | "current" | undefined;
282
- placeholderColor?: "brand" | "accent" | "alert" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "transparent" | "white" | "black" | "current" | undefined;
283
- fontFamily?: "serif" | "sans" | "mono" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "sans-alt" | "serif-alt" | undefined;
284
- fontSize?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | undefined;
285
- fontWeight?: "black" | "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "thin" | "extralight" | "light" | "regular" | "medium" | "semibold" | "bold" | "extrabold" | undefined;
286
- lineHeight?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | undefined;
287
- textAlign?: "center" | "end" | "start" | "justify" | undefined;
288
- textTransform?: "display1" | "display2" | "display3" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
289
- spacing?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "14" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
290
- spacingHorizontal?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "14" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
291
- spacingVertical?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "14" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
292
- spacingBottom?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "14" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
293
- spacingEnd?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "14" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
294
- spacingStart?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "14" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
295
- spacingTop?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "14" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
296
- offset?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "14" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
297
- offsetVertical?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "14" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
298
- offsetHorizontal?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "14" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
299
- offsetBottom?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "14" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
300
- offsetEnd?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "14" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
301
- offsetStart?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "14" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
302
- offsetTop?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "14" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
303
- columnGap?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "14" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
304
- rowGap?: "9" | "0" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "10" | "11" | "12" | "14" | "px" | "0.5" | "1.5" | "2.5" | "3.5" | "16" | "20" | "24" | "28" | "32" | "36" | "40" | "44" | "48" | "52" | "56" | "60" | "64" | "72" | "80" | "96" | undefined;
305
- backgroundColor?: "brand" | "accent" | "alert" | "positive" | "warning" | "primary" | "secondary" | "transparent" | "white" | "black" | "current" | undefined;
306
- borderColor?: "brand" | "accent" | "alert" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "transparent" | "white" | "black" | "current" | undefined;
307
- borderStartColor?: "brand" | "accent" | "alert" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "transparent" | "white" | "black" | "current" | undefined;
308
- borderEndColor?: "brand" | "accent" | "alert" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "transparent" | "white" | "black" | "current" | undefined;
309
- borderBottomColor?: "brand" | "accent" | "alert" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "transparent" | "white" | "black" | "current" | undefined;
310
- borderTopColor?: "brand" | "accent" | "alert" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "transparent" | "white" | "black" | "current" | undefined;
311
- borderRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
312
- borderTopStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
313
- borderTopEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
314
- borderBottomStartRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
315
- borderBottomEndRadius?: "none" | "xs" | "sm" | "md" | "lg" | "xl" | "full" | undefined;
316
- borderWidth?: "thin" | "medium" | "none" | "thick" | undefined;
317
- borderVerticalWidth?: "thin" | "medium" | "none" | "thick" | undefined;
318
- borderHorizontalWidth?: "thin" | "medium" | "none" | "thick" | undefined;
319
- borderStartWidth?: "thin" | "medium" | "none" | "thick" | undefined;
320
- borderEndWidth?: "thin" | "medium" | "none" | "thick" | undefined;
321
- borderTopWidth?: "thin" | "medium" | "none" | "thick" | undefined;
322
- borderBottomWidth?: "thin" | "medium" | "none" | "thick" | undefined;
323
- avatarSize?: "sm" | "md" | "lg" | undefined;
324
- iconSize?: "sm" | "md" | "lg" | undefined;
325
- alignContent?: "center" | "flex-end" | "flex-start" | "stretch" | "space-between" | "space-around" | undefined;
326
- alignItems?: "center" | "flex-end" | "flex-start" | "baseline" | "stretch" | undefined;
327
- alignSelf?: "center" | "flex-end" | "flex-start" | "baseline" | "stretch" | "auto" | undefined;
328
- flex?: "1" | "none" | "initial" | "auto" | undefined;
329
- flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
330
- flexGrow?: "0" | "1" | "2" | "3" | undefined;
331
- flexShrink?: "0" | "1" | undefined;
332
- flexWrap?: "nowrap" | "wrap" | "wrap-reverse" | undefined;
333
- justifyContent?: "center" | "flex-end" | "flex-start" | "space-between" | "space-around" | "space-evenly" | undefined;
334
- flexBasis?: "min-content" | undefined;
335
- display?: "block" | "inline" | "flex" | "flow-root" | "grid" | "table" | "table-caption" | "table-cell" | "table-column" | "table-column-group" | "table-footer-group" | "table-header-group" | "table-row" | "table-row-group" | "inline-block" | "inline-flex" | "inline-table" | "contents" | undefined;
336
- overflow?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
337
- overflowX?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
338
- overflowY?: "hidden" | "auto" | "clip" | "visible" | "scroll" | undefined;
339
- position?: "static" | "fixed" | "absolute" | "relative" | "sticky" | undefined;
340
- contentFit?: "none" | "fill" | "cover" | "contain" | "scale-down" | undefined;
341
- colorMode?: "light" | "dark" | undefined;
342
- scaleMode?: "medium" | "xSmall" | "small" | "large" | "xLarge" | "xxLarge" | "xxxLarge" | undefined;
343
- buttonPalette?: "brand" | "accent" | "alert" | "positive" | "warning" | undefined;
344
- buttonVariant?: "primary" | "secondary" | "tertiary" | undefined;
345
- buttonSize?: "sm" | "md" | "lg" | undefined;
346
- iconButtonSize?: "xs" | "sm" | "md" | "lg" | "xl" | undefined;
347
- } & {
348
- className?: string | undefined;
349
- }) | undefined) => string;
350
-
351
- type SetState<T> = Dispatch<SetStateAction<T>>;
352
-
353
- export { Box, type BoxProps, HStack, type HStackProps, Icon, type IconProps, Image, type ImageProps, Pressable, type PressableProps, type SetState, Text, type TextProps, UniversalBoxProps, UniversalIconProps, UniversalImageProps, UniversalPressableProps, UniversalStackProps, UniversalTextProps, VStack, type VStackProps, cva, cx, getStyles };
package/dist/index.js DELETED
@@ -1,2 +0,0 @@
1
- import{createSlot as o,getStyles as r}from"./chunk-AP7V5X3U.js";export{Icon,cva,cx,getStyles}from"./chunk-AP7V5X3U.js";export{DEFAULT_COLOR_MODE,DEFAULT_COLOR_MODE_FOR_APP,DEFAULT_HIGH_CONTRAST_MODE,DEFAULT_REGION_MODE,DEFAULT_SCALE_MODE,DEFAULT_SCALE_MODE_FOR_APP,FONT_DECLARATIONS_MAP,alwaysPalette,button,defaultTokensConfig,fromEntries,generateConfigCombinations,getDefaultButtonBaseMap}from"./chunk-QBWDISRA.js";export{entries,fontWeightMap,mapValues}from"./chunk-AXSSWKHD.js";export{variants}from"./chunk-DMK4ALSA.js";export{AVATAR_SIZE_PREFIX,BORDER_RADIUS_PREFIX,BORDER_WIDTH_PREFIX,BUTTON_CSS_VAR_MAP,DARK_COLOR_MODE_CLASSNAME,DEFAULT_COLOR_MODE_CLASSNAME,DEFAULT_SCALE_MODE_CLASSNAME,FONT_FAMILY_PREFIX,FONT_SIZE_PREFIX,FONT_WEIGHT_PREFIX,ICON_BUTTON_CSS_VAR_MAP,ICON_SIZE_PREFIX,LARGE_SCALE_MODE_CLASSNAME,LIGHT_COLOR_MODE_CLASSNAME,LINE_HEIGHT_PREFIX,MEDIUM_SCALE_MODE_CLASSNAME,MOTION_PREFIX,PSEUDO_STYLE_SELECTOR_MAP,SMALL_SCALE_MODE_CLASSNAME,SPECTRUM_COLOR_PREFIX,TEXT_TRANSFORM_PREFIX,UDS_PREFIX,XLARGE_SCALE_MODE_CLASSNAME,XSMALL_SCALE_MODE_CLASSNAME,XXLARGE_SCALE_MODE_CLASSNAME,XXXLARGE_SCALE_MODE_CLASSNAME}from"./chunk-LQIX6U65.js";import{forwardRef as t}from"react";import{jsx as e}from"react/jsx-runtime";export{Button,IconButton,SpringMotionConfig}from"@yahoo/uds/client";
2
- /*! © 2024 Yahoo, Inc. UDS v1.1.8 */var i=o(),a=t((function({asChild:o,className:t,backgroundColor:a,borderRadius:d,borderTopStartRadius:n,borderTopEndRadius:l,borderBottomStartRadius:s,borderBottomEndRadius:f,borderColor:p,borderStartColor:c,borderEndColor:b,borderTopColor:E,borderBottomColor:S,borderWidth:g,borderVerticalWidth:C,borderHorizontalWidth:m,borderStartWidth:u,borderEndWidth:h,borderTopWidth:_,borderBottomWidth:T,alignContent:R,alignItems:A,alignSelf:W,flex:B,flexDirection:x,flexGrow:L,flexShrink:O,flexWrap:D,justifyContent:w,flexBasis:M,display:I="flex",overflow:G,overflowX:N,overflowY:H,position:F,spacing:X,spacingHorizontal:v,spacingVertical:V,spacingBottom:y,spacingEnd:P,spacingStart:z,spacingTop:k,offset:U,offsetVertical:j,offsetHorizontal:Y,offsetBottom:K,offsetEnd:Z,offsetStart:Q,offsetTop:q,columnGap:J,rowGap:$,...oo},ro){const to=r({backgroundColor:a,borderRadius:d,borderTopStartRadius:n,borderTopEndRadius:l,borderBottomStartRadius:s,borderBottomEndRadius:f,borderColor:p,borderStartColor:c,borderEndColor:b,borderTopColor:E,borderBottomColor:S,borderWidth:g,borderVerticalWidth:C,borderHorizontalWidth:m,borderStartWidth:u,borderEndWidth:h,borderTopWidth:_,borderBottomWidth:T,alignContent:R,alignItems:A,alignSelf:W,flex:B,flexDirection:x,flexGrow:L,flexShrink:O,flexWrap:D,justifyContent:w,flexBasis:M,display:I,overflow:G,overflowX:N,overflowY:H,position:F,spacing:X,spacingHorizontal:v,spacingVertical:V,spacingBottom:y,spacingEnd:P,spacingStart:z,spacingTop:k,offset:U,offsetVertical:j,offsetHorizontal:Y,offsetBottom:K,offsetEnd:Z,offsetStart:Q,offsetTop:q,columnGap:J,rowGap:$,className:t});return e(o?i:"div",{className:to,ref:ro,...oo})})),d=t((function({gap:o,...r},t){return e(a,{ref:t,flexDirection:"row",rowGap:o,columnGap:o,...r})}));function n({width:o,height:t,src:i,alt:a,contentFit:d,backgroundColor:n,borderRadius:l,borderTopStartRadius:s,borderTopEndRadius:f,borderBottomStartRadius:p,borderBottomEndRadius:c,borderColor:b,borderStartColor:E,borderEndColor:S,borderTopColor:g,borderBottomColor:C,borderWidth:m,borderVerticalWidth:u,borderHorizontalWidth:h,borderStartWidth:_,borderEndWidth:T,borderTopWidth:R,borderBottomWidth:A,alignContent:W,alignItems:B,alignSelf:x,flex:L,flexDirection:O,flexGrow:D,flexShrink:w,flexWrap:M,justifyContent:I,flexBasis:G,display:N,overflow:H,overflowX:F,overflowY:X,position:v,spacing:V,spacingHorizontal:y,spacingVertical:P,spacingBottom:z,spacingEnd:k,spacingStart:U,spacingTop:j,offset:Y,offsetVertical:K,offsetHorizontal:Z,offsetBottom:Q,offsetEnd:q,offsetStart:J,offsetTop:$,columnGap:oo,rowGap:ro,...to}){const eo=r({contentFit:d,backgroundColor:n,borderRadius:l,borderTopStartRadius:s,borderTopEndRadius:f,borderBottomStartRadius:p,borderBottomEndRadius:c,borderColor:b,borderStartColor:E,borderEndColor:S,borderTopColor:g,borderBottomColor:C,borderWidth:m,borderVerticalWidth:u,borderHorizontalWidth:h,borderStartWidth:_,borderEndWidth:T,borderTopWidth:R,borderBottomWidth:A,alignContent:W,alignItems:B,alignSelf:x,flex:L,flexDirection:O,flexGrow:D,flexShrink:w,flexWrap:M,justifyContent:I,flexBasis:G,display:N,overflow:H,overflowX:F,overflowY:X,position:v,spacing:V,spacingHorizontal:y,spacingVertical:P,spacingBottom:z,spacingEnd:k,spacingStart:U,spacingTop:j,offset:Y,offsetVertical:K,offsetHorizontal:Z,offsetBottom:Q,offsetEnd:q,offsetStart:J,offsetTop:$,columnGap:oo,rowGap:ro});return e("img",{src:i,alt:a,className:eo,style:{objectPosition:"left",width:o,height:t},...to})}var l=o(),s=t((function({className:o,asChild:t,onPress:i,onClick:a=i,backgroundColor:d,borderRadius:n,borderTopStartRadius:s,borderTopEndRadius:f,borderBottomStartRadius:p,borderBottomEndRadius:c,borderColor:b,borderStartColor:E,borderEndColor:S,borderTopColor:g,borderBottomColor:C,borderWidth:m,borderVerticalWidth:u,borderHorizontalWidth:h,borderStartWidth:_,borderEndWidth:T,borderTopWidth:R,borderBottomWidth:A,alignContent:W,alignItems:B,alignSelf:x,flex:L,flexDirection:O,flexGrow:D,flexShrink:w,flexWrap:M,justifyContent:I,flexBasis:G,display:N,overflow:H,overflowX:F,overflowY:X,position:v,spacing:V,spacingHorizontal:y,spacingVertical:P,spacingBottom:z,spacingEnd:k,spacingStart:U,spacingTop:j,offset:Y,offsetVertical:K,offsetHorizontal:Z,offsetBottom:Q,offsetEnd:q,offsetStart:J,offsetTop:$,columnGap:oo,rowGap:ro,...to},eo){const io=r({backgroundColor:d,borderRadius:n,borderTopStartRadius:s,borderTopEndRadius:f,borderBottomStartRadius:p,borderBottomEndRadius:c,borderColor:b,borderStartColor:E,borderEndColor:S,borderTopColor:g,borderBottomColor:C,borderWidth:m,borderVerticalWidth:u,borderHorizontalWidth:h,borderStartWidth:_,borderEndWidth:T,borderTopWidth:R,borderBottomWidth:A,alignContent:W,alignItems:B,alignSelf:x,flex:L,flexDirection:O,flexGrow:D,flexShrink:w,flexWrap:M,justifyContent:I,flexBasis:G,display:N,overflow:H,overflowX:F,overflowY:X,position:v,spacing:V,spacingHorizontal:y,spacingVertical:P,spacingBottom:z,spacingEnd:k,spacingStart:U,spacingTop:j,offset:Y,offsetVertical:K,offsetHorizontal:Z,offsetBottom:Q,offsetEnd:q,offsetStart:J,offsetTop:$,columnGap:oo,rowGap:ro,className:o});return e(t?l:"button",{className:io,ref:eo,onClick:a,...to})})),f=o(),p={display1:"h1",display2:"h1",display3:"h1",title1:"h1",title2:"h2",title3:"h3",title4:"h4",headline1:"h5",body1:"p",label1:"p",label2:"p",caption1:"p",caption2:"p",legal1:"p"},c=t((function({className:o,asChild:t,color:i="primary",variant:a="body1",as:d=p[a],fontSize:n=a,fontFamily:l=a,fontWeight:s=a,lineHeight:c=a,textTransform:b=a,textAlign:E,backgroundColor:S,borderRadius:g,borderTopStartRadius:C,borderTopEndRadius:m,borderBottomStartRadius:u,borderBottomEndRadius:h,borderColor:_,borderStartColor:T,borderEndColor:R,borderTopColor:A,borderBottomColor:W,borderWidth:B,borderVerticalWidth:x,borderHorizontalWidth:L,borderStartWidth:O,borderEndWidth:D,borderTopWidth:w,borderBottomWidth:M,alignContent:I,alignItems:G,alignSelf:N,flex:H,flexDirection:F,flexGrow:X,flexShrink:v,flexWrap:V,justifyContent:y,flexBasis:P,display:z,overflow:k,overflowX:U,overflowY:j,position:Y,spacing:K,spacingHorizontal:Z,spacingVertical:Q,spacingBottom:q,spacingEnd:J,spacingStart:$,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:io,offsetEnd:ao,offsetStart:no,offsetTop:lo,columnGap:so,rowGap:fo,...po},co){const bo=r({className:o,color:i,fontFamily:l,fontSize:n,fontWeight:s,lineHeight:c,textTransform:b,textAlign:E,backgroundColor:S,borderRadius:g,borderTopStartRadius:C,borderTopEndRadius:m,borderBottomStartRadius:u,borderBottomEndRadius:h,borderColor:_,borderStartColor:T,borderEndColor:R,borderTopColor:A,borderBottomColor:W,borderWidth:B,borderVerticalWidth:x,borderHorizontalWidth:L,borderStartWidth:O,borderEndWidth:D,borderTopWidth:w,borderBottomWidth:M,alignContent:I,alignItems:G,alignSelf:N,flex:H,flexDirection:F,flexGrow:X,flexShrink:v,flexWrap:V,justifyContent:y,flexBasis:P,display:z,overflow:k,overflowX:U,overflowY:j,position:Y,spacing:K,spacingHorizontal:Z,spacingVertical:Q,spacingBottom:q,spacingEnd:J,spacingStart:$,spacingTop:oo,offset:ro,offsetVertical:to,offsetHorizontal:eo,offsetBottom:io,offsetEnd:ao,offsetStart:no,offsetTop:lo,columnGap:so,rowGap:fo});return e(t?f:d,{className:bo,ref:co,...po})})),b=t((function({gap:o,...r},t){return e(a,{ref:t,flexDirection:"column",columnGap:o,rowGap:o,...r})}));export{a as Box,d as HStack,n as Image,s as Pressable,c as Text,b as VStack};