@yahoo/uds 0.1.6 → 0.1.8

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.cts CHANGED
@@ -1,60 +1,498 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
+ import { UniversalAvatarProps, UniversalBoxProps, UniversalPressableProps, UniversalButtonProps, IconName, Overflow, UniversalTextProps, ButtonVariant, ButtonSize, UniversalStackProps, UniversalIconProps, UniversalIconButtonProps, ForegroundColor, UniversalImageProps, UniversalTextInputProps } from '@yahoo/uds-tokens';
3
+ export * from '@yahoo/uds-tokens';
2
4
  import * as react from 'react';
3
- import react__default from 'react';
4
- import { U as UniversalAvatarProps, s as UniversalBoxProps, t as UniversalPressableProps, u as UniversalButtonProps, v as UniversalStackProps, w as UniversalTextProps, x as UniversalTokensConfig } from './types-7giMTpNx.cjs';
5
- export { y as AlwaysPalette, A as AlwaysPaletteAlias, z as Animation, D as AnyObject, G as AriaAttribute, I as AspectRatioAlias, J as AspectRatioConfig, p as AvatarSizeAlias, K as AvatarSizeConfig, M as BackgroundColor, f as BackgroundPalette, B as BackgroundPaletteAlias, N as BackgroundStyleProps, g as BackgroundWashPalette, d as BackgroundWashPaletteAlias, O as BorderStyleProps, m as BorderWidthAlias, P as BorderWidthConfig, Q as BoxShadowConfig, r as ButtonSize, q as ButtonVariant, C as ColorMode, R as ColorsConfig, e as CorePalette, c as CorePaletteAlias, V as DataAttribute, E as ElevationAlias, W as ElevationConfig, X as FlexStyleProps, j as FontFamilyAlias, Y as FontFamilyConfig, Z as FontSizeAlias, _ as FontSizeConfig, k as FontWeightAlias, $ as FontWeightConfig, a0 as FontWeightDescriptiveAlias, a1 as FontWeightNumericAlias, a2 as ForegroundColor, h as ForegroundPalette, F as ForegroundPaletteAlias, H as Hue, a as HueStep, a3 as IconSizeAlias, a4 as IconSizeConfig, a5 as LayoutStyleProps, a6 as LetterSpacingAlias, a7 as LineClamp, a8 as LineColor, a9 as LineHeightAlias, aa as LineHeightConfig, i as LinePalette, L as LinePaletteAlias, ab as Modes, ac as OpacityAlias, ad as OpacityStyleProps, ae as Palette, af as PaletteConfig, ag as PaletteType, ah as PaletteValue, ai as PlatformMode, aj as ScaleConfig, S as ScaleMode, ak as ScaleModeConfig, al as SetState, o as ShapeAlias, am as ShapeConfig, an as SizingStyleProps, n as SpacingAlias, ao as SpacingConfig, ap as SpacingStyleProps, b as SpectrumColor, aq as SpectrumConfig, ar as StateStyleProps, as as StyleProps, at as TextConfig, au as TextStyleProps, l as TextTransformAlias, av as TextTransformConfig, T as TextVariant, aw as TransitionDelay, ax as TransitionDuration, ay as TransitionTiming, az as TypographyConfig, aA as UniversalImageProps, aB as ZIndexAlias, aC as ZIndexConfig } from './types-7giMTpNx.cjs';
6
- import * as tailwindcss_types_config from 'tailwindcss/types/config';
5
+ import react__default, { PropsWithChildren, Dispatch, SetStateAction } from 'react';
6
+ import * as _ariakit_react from '@ariakit/react';
7
+ import { PopoverProps, PopoverProviderProps, DialogProps, useDialogStore, DialogStore, DialogDismiss, Popover as Popover$1, PopoverArrow as PopoverArrow$1, PopoverAnchor as PopoverAnchor$1, PopoverDescription as PopoverDescription$1, PopoverDismiss as PopoverDismiss$1, PopoverProvider as PopoverProvider$1, PopoverDisclosure as PopoverDisclosure$1, PopoverDisclosureArrow as PopoverDisclosureArrow$1, TabProviderProps, TabListProps, TabPanelProps } from '@ariakit/react';
8
+ export { DialogStore as ModalStore, TabListProps, TabPanelProps, TabProviderProps as TabsProps, usePopoverStore } from '@ariakit/react';
9
+ import { ToastContainerProps } from 'react-toastify';
10
+ export { toast } from 'react-toastify';
7
11
 
8
- type NativeImageProps = Omit<react__default.ImgHTMLAttributes<HTMLImageElement>, 'size' | 'color' | 'height' | 'width' | 'alt' | 'src'>;
9
- interface AvatarProps extends NativeImageProps, UniversalAvatarProps {
12
+ interface AccordionProps extends React.PropsWithChildren {
13
+ label: string;
14
+ open?: boolean;
15
+ onClick?: () => void;
16
+ }
17
+ declare function Accordion({ label, children, onClick, open }: AccordionProps): react_jsx_runtime.JSX.Element;
18
+
19
+ type NativeImageProps$1 = Omit<react__default.ImgHTMLAttributes<HTMLImageElement>, 'size' | 'color' | 'height' | 'width' | 'alt' | 'src'>;
20
+ interface AvatarProps extends NativeImageProps$1, UniversalAvatarProps {
10
21
  }
11
22
  /**
12
23
  * Avatar can be used for profile images.
13
24
  */
14
25
  declare function Avatar({ size: avatarSize, shape: borderRadius, src, alt, ...props }: AvatarProps): react_jsx_runtime.JSX.Element;
15
26
 
16
- type DivProps = React.HTMLAttributes<HTMLDivElement>;
17
- interface BoxProps extends UniversalBoxProps, DivProps {
27
+ type DivProps$1 = React.HTMLAttributes<HTMLDivElement>;
28
+ interface BoxProps extends UniversalBoxProps, DivProps$1 {
18
29
  }
19
30
  /**
20
- * A box is a div with customizable styling such as elevation, border, and spacing.
31
+ * A layout primitive that can be used to compose other components.
32
+ * @example
33
+ ```tsx
34
+ import { Box } from "@yahoo/uds"
35
+
36
+ export function Demo() {
37
+ return (
38
+ <Box
39
+ bordered
40
+ backgroundColor="primary"
41
+ borderRadius="md"
42
+ spacing='6'
43
+ >
44
+ Any kind of content can go here!
45
+ </Box>
46
+ )
47
+ }
48
+ ```
21
49
  */
22
50
  declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLDivElement>>;
23
51
 
24
- type HtmlButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color'>;
52
+ type HtmlButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'name'>;
25
53
  interface PressableProps extends UniversalPressableProps, HtmlButtonProps {
26
54
  }
27
55
  /**
28
- * A Pressable is a button.
56
+ * Provides press interactions with accessibility support.
57
+ * @example
58
+ ```tsx
59
+ import { Pressable, Text } from "@yahoo/uds"
60
+
61
+ export function Demo() {
62
+ return (
63
+ <Pressable
64
+ onClick={console.log}
65
+ backgroundColor="secondary"
66
+ bordered
67
+ borderColor="primary"
68
+ borderRadius="l"
69
+ >
70
+ <Text variant="body1" spacingHorizontal="7" spacingVertical="5">Click me...</Text>
71
+ </Pressable>
72
+ )
73
+ }
74
+ ```
29
75
  */
30
76
  declare const Pressable: react.ForwardRefExoticComponent<PressableProps & react.RefAttributes<HTMLButtonElement>>;
31
77
 
32
78
  interface ButtonProps extends PressableProps, UniversalButtonProps {
33
79
  }
34
80
  /**
35
- * Buttons allow users to take actions, and make choices, with a single tap.
81
+ * A button element that can be used to trigger an action.
82
+ * @example
83
+ ```tsx
84
+ import { Button, HStack } from "@yahoo/uds"
85
+
86
+ export function Demo() {
87
+ return (
88
+ <HStack gap="2">
89
+ <Button variant="accent" onClick={console.log}>Save</Button>
90
+ <Button variant="accent-outline" onClick={console.log}>Cancel</Button>
91
+ </HStack>
92
+ )
93
+ }
94
+ ```
36
95
  */
37
96
  declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
38
97
 
39
- type HStackProps = UniversalStackProps & DivProps;
98
+ interface ChipProps {
99
+ children?: string;
100
+ startContent?: React.ReactNode;
101
+ startIcon?: IconName;
102
+ endIcon?: IconName;
103
+ endContent?: React.ReactNode;
104
+ variant: 'accent' | 'secondary';
105
+ }
106
+ declare function Chip({ children, variant, startIcon, startContent, endIcon, endContent, }: ChipProps): react_jsx_runtime.JSX.Element;
107
+
108
+ interface DropdownItemsProps extends React.PropsWithChildren, Omit<PopoverProps, 'children'> {
109
+ overflow?: Overflow;
110
+ }
111
+ declare const DropdownItems: react.ForwardRefExoticComponent<Omit<DropdownItemsProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
112
+ interface DropdownItemPressableProps extends Omit<PressableProps, 'onClick'> {
113
+ onClick?: (close: () => void) => void;
114
+ }
115
+ declare const DropdownItemPressable: react.ForwardRefExoticComponent<DropdownItemPressableProps & react.RefAttributes<HTMLButtonElement>>;
116
+ interface DropdownItemProps extends DropdownItemPressableProps {
117
+ startIcon?: IconName;
118
+ endIcon?: IconName;
119
+ title?: string;
120
+ description?: string;
121
+ _title?: UniversalTextProps;
122
+ _description?: UniversalTextProps;
123
+ }
124
+ declare function DropdownItem({ title, description, _title, _description, startIcon, endIcon, ...props }: DropdownItemProps): react_jsx_runtime.JSX.Element;
125
+ declare function DropdownTrigger({ children, variant, size, ...props }: {
126
+ children: React.ReactNode;
127
+ variant?: ButtonVariant;
128
+ size?: ButtonSize;
129
+ } & PressableProps): react_jsx_runtime.JSX.Element;
130
+ interface DropdownProps extends PopoverProviderProps {
131
+ children: React.ReactNode;
132
+ }
133
+ declare const Dropdown: typeof _ariakit_react.PopoverProvider;
134
+
135
+ type HStackProps = UniversalStackProps & DivProps$1;
136
+ /**
137
+ * @example
138
+ A layout primitive that can be used to compose other components.
139
+ The HStack is essentially the same component as [Box](/components/box) where it uses [flexbox](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox) to lay content out in a row. Where it differs is HStack also allows for gaps between children via the `gap` prop.
140
+
141
+ You should use HStack when:
142
+
143
+ - you want to lay content out in columns that are sized to their content
144
+ - you want to add gaps between columns
145
+ - you want to lay content out in columns that fill the available space within the parent container
146
+ - you need columns of proportionate size to each other (also known as a ratio-based layout)
147
+
148
+
149
+ #### Columns Sized to Content
150
+
151
+ ```tsx
152
+ import { Box, HStack } from "@yahoo/uds"
153
+
154
+ export function Demo() {
155
+ return (
156
+ <HStack>
157
+ <Box spacing="6" backgroundColor="secondary">
158
+ First
159
+ </Box>
160
+ <Box spacing="6" backgroundColor="secondary">
161
+ Second
162
+ </Box>
163
+ <Box spacing="6" backgroundColor="secondary">
164
+ Third
165
+ </Box>
166
+ </HStack>
167
+ )
168
+ }
169
+ ```
170
+
171
+ #### Columns with Gaps
172
+
173
+ ```tsx
174
+ import { Box, HStack } from "@yahoo/uds"
175
+
176
+ export function Demo() {
177
+ return (
178
+ <HStack gap="1">
179
+ <Box spacing="6" backgroundColor="secondary">
180
+ First
181
+ </Box>
182
+ <Box spacing="6" backgroundColor="secondary">
183
+ Second
184
+ </Box>
185
+ <Box spacing="6" backgroundColor="secondary">
186
+ Third
187
+ </Box>
188
+ </HStack>
189
+ )
190
+ }
191
+ ```
192
+
193
+ #### Columns that Fill the Available Space
194
+
195
+ ```tsx
196
+ import { Box, HStack } from "@yahoo/uds"
197
+
198
+ export function Demo() {
199
+ return (
200
+ <HStack gap="1">
201
+ <Box spacing="6" flexGrow="1" backgroundColor="secondary">
202
+ First
203
+ </Box>
204
+ <Box spacing="6" flexGrow="1" backgroundColor="secondary">
205
+ Second
206
+ </Box>
207
+ <Box spacing="6" flexGrow="1" backgroundColor="secondary">
208
+ Third
209
+ </Box>
210
+ </HStack>
211
+ )
212
+ ```
213
+
214
+ #### Columns that Have Proportionate Sizes
215
+
216
+ ```tsx
217
+ import { Box, HStack } from "@yahoo/uds"
218
+
219
+ export function Demo() {
220
+ return (
221
+ <HStack gap="1">
222
+ <Box spacing="6" flexGrow="1" backgroundColor="secondary">
223
+ First
224
+ </Box>
225
+ <Box spacing="6" flexGrow="2" backgroundColor="secondary">
226
+ Second
227
+ </Box>
228
+ <Box spacing="6" flexGrow="3" backgroundColor="secondary">
229
+ Third
230
+ </Box>
231
+ </HStack>
232
+ )
233
+ }
234
+ ```
235
+ */
236
+ declare const HStack: react.ForwardRefExoticComponent<UniversalStackProps & DivProps$1 & react.RefAttributes<HTMLDivElement>>;
237
+
238
+ type HtmlSpanProps = Omit<React.HTMLAttributes<HTMLSpanElement>, 'color'>;
239
+ interface IconProps extends UniversalIconProps, HtmlSpanProps {
240
+ }
241
+ /**
242
+ * For an icon to render, it requires a unique name that maps to an upstream asset in Figma (this will autocomplete when using TypeScript), and a target size (s, m, l).
243
+
244
+ @example
245
+ ```tsx
246
+ import { Icon } from "@yahoo/uds"
247
+
248
+ export function Demo() {
249
+ return <Icon name="academicCap" size="m" />
250
+ }
251
+ ```
252
+ */
253
+ declare const Icon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<HTMLSpanElement>>;
254
+
255
+ interface IconButtonProps extends PressableProps, UniversalIconButtonProps {
256
+ color?: ForegroundColor;
257
+ }
40
258
  /**
41
- * HStack is a layout component that groups elements together in the horizontal direction.
259
+ * An icon button element that can be used to trigger an action.
260
+ * @example
261
+ ```tsx
262
+ import { IconButton } from "@yahoo/uds"
263
+
264
+ export function IconButtonDemo() {
265
+ return (
266
+ <IconButton variant="accent-outline" name="close" onPress={console.log} />
267
+ )
268
+ }
269
+ ```
42
270
  */
43
- declare const HStack: react.ForwardRefExoticComponent<UniversalStackProps & DivProps & react.RefAttributes<HTMLDivElement>>;
271
+ declare const IconButton: react.ForwardRefExoticComponent<IconButtonProps & react.RefAttributes<HTMLButtonElement>>;
272
+
273
+ type NativeImageProps = Omit<React.ImgHTMLAttributes<HTMLImageElement>, 'size' | 'color' | 'height' | 'width' | 'alt' | 'src'>;
274
+ interface ImageProps extends NativeImageProps, UniversalImageProps {
275
+ }
276
+ /**
277
+ * An image element with a fallback for representing the user.
278
+ */
279
+ declare function Image({ width: imageWidth, height: imageHeight, src, alt, contentFit, elevation, backgroundColor, backgroundColorOnActive, backgroundColorOnHover, backgroundColorOnChecked, opacity, bordered, borderedTop, borderedBottom, borderedStart, borderedEnd, borderedHorizontal, borderedVertical, borderRadius, borderTopStartRadius, borderTopEndRadius, borderBottomStartRadius, borderBottomEndRadius, borderColor, borderColorOnActive, borderColorOnFocus, borderColorOnChecked, borderColorOnHover, borderStartColor, borderEndColor, borderTopColor, borderBottomColor, borderWidth, borderVerticalWidth, borderHorizontalWidth, borderStartWidth, borderEndWidth, borderTopWidth, borderBottomWidth, alignContent, alignItems, alignSelf, flex, flexDirection, flexGrow, flexShrink, flexWrap, justifyContent, flexBasis, display, zIndex, overflow, overflowX, overflowY, position, spacing, spacingHorizontal, spacingVertical, spacingBottom, spacingEnd, spacingStart, spacingTop, offset, offsetVertical, offsetHorizontal, offsetBottom, offsetEnd, offsetStart, offsetTop, columnGap, rowGap, minHeight, maxHeight, minWidth, maxWidth, ...props }: ImageProps): react_jsx_runtime.JSX.Element;
280
+
281
+ interface ModalProps extends DialogProps {
282
+ }
283
+ declare function useModalStore(params?: Parameters<typeof useDialogStore>[0]): DialogStore;
284
+ interface ModalHeaderProps extends React.PropsWithChildren {
285
+ handleClose?: () => void;
286
+ }
287
+ declare function ModalHeader({ children, handleClose }: ModalHeaderProps): react_jsx_runtime.JSX.Element;
288
+ declare function Modal({ className, ...props }: ModalProps): react_jsx_runtime.JSX.Element;
289
+ declare const ModalDismiss: typeof DialogDismiss;
290
+
291
+ interface PopoverHeadingProps extends PropsWithChildren {
292
+ leading?: react__default.ReactNode;
293
+ trailing?: react__default.ReactNode;
294
+ }
295
+ declare function PopoverHeading({ children, leading, trailing }: PopoverHeadingProps): react_jsx_runtime.JSX.Element;
296
+ declare const Popover: typeof Popover$1;
297
+ declare const PopoverArrow: typeof PopoverArrow$1;
298
+ declare const PopoverAnchor: typeof PopoverAnchor$1;
299
+ declare const PopoverDescription: typeof PopoverDescription$1;
300
+ declare const PopoverDismiss: typeof PopoverDismiss$1;
301
+ declare const PopoverProvider: typeof PopoverProvider$1;
302
+ declare const PopoverDisclosure: typeof PopoverDisclosure$1;
303
+ declare const PopoverDisclosureArrow: typeof PopoverDisclosureArrow$1;
44
304
 
45
- type HtmlParagraphProps = Omit<React.HTMLAttributes<HTMLParagraphElement>, 'color'>;
46
- interface TextProps extends UniversalTextProps, HtmlParagraphProps {
305
+ type DivProps = React.HTMLAttributes<HTMLDivElement>;
306
+ interface SpinnerProps extends DivProps {
47
307
  }
308
+ declare function Spinner({ className, ...props }: SpinnerProps): react_jsx_runtime.JSX.Element;
309
+
310
+ interface TabProps extends React.PropsWithChildren {
311
+ asChild?: boolean;
312
+ value: string;
313
+ label: string;
314
+ startIcon?: IconName;
315
+ }
316
+ declare function Tabs(props: TabProviderProps): react_jsx_runtime.JSX.Element;
317
+ declare const TabList: react.ForwardRefExoticComponent<Omit<TabListProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
318
+ declare const Tab: ({ asChild, label, value, startIcon }: TabProps) => react_jsx_runtime.JSX.Element;
319
+ declare const TabPanel: react.ForwardRefExoticComponent<Omit<TabPanelProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
320
+
321
+ type TextElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li';
322
+ type TextProps<As extends TextElement = TextElement> = UniversalTextProps & {
323
+ as?: As;
324
+ } & Omit<JSX.IntrinsicElements[As], 'color'>;
48
325
  /**
49
- * Text provide easy use of typography.
326
+ * A text element that can be used to display text.
327
+ * @example
328
+ #### Display1
329
+
330
+ Display1 styles are to be used very sparingly. Display styles supersede Title styles, so they are there for when you need to layer on more hierarchy.
331
+ The default html text element rendered for this variant is `h1`.
332
+
333
+ ```tsx
334
+ import { Text, VStack } from "@yahoo/uds"
335
+
336
+ export function Demo() {
337
+ return (
338
+ <VStack>
339
+ <Text variant="display1">Display 1</Text>
340
+ </VStack>
341
+ )
342
+ }
343
+ ```
344
+
345
+ #### Title
346
+
347
+ Title styles are used to establish the primary hierarchy in a layout. They should be used to label sections.
348
+ The default html text element rendered for this variant is `h1` for `title1`, `h2` for `title2`, `h3` for `title3` and `h4` for `headline1`.
349
+
350
+ ```tsx
351
+ import { Text, VStack } from "@yahoo/uds"
352
+
353
+ export function Demo() {
354
+ return (
355
+ <VStack gap="6">
356
+ <Text variant="title1">Title 1</Text>
357
+ <Text variant="title2">Title 2</Text>
358
+ <Text variant="title3">Title 3</Text>
359
+ </VStack>
360
+ )
361
+ }
362
+ ```
363
+
364
+ #### Headline & Body
365
+
366
+ Headline and body styles are your essential content styles. They’re versatile styles that can be used for paragraphs, data, labels for buttons.
367
+ The default html text element rendered for this variant is `p`.
368
+
369
+ ```tsx
370
+ import { Text, VStack } from "@yahoo/uds"
371
+
372
+ export function Demo() {
373
+ return (
374
+ <VStack gap="6">
375
+ <Text variant="headline1">Headline 1</Text>
376
+ <Text variant="body1">Body 1</Text>
377
+ </VStack>
378
+ )
379
+ }
380
+ ```
381
+
382
+ #### Label & Caption
383
+
384
+ Label and caption styles are when you need to add hierarchy in your content. They ideally are used in conjunction with Headline and Body styles, but in extraordinarily dense interfaces they can replace Headline & Body should you need to present large data sets to users. They’re also great candidates for presenting numbers to the user as they have tabular numbers by default.
385
+ The default html text element rendered for this variant is `p`.
386
+
387
+ ```tsx
388
+ import { Text, VStack } from "@yahoo/uds"
389
+
390
+ export function Demo() {
391
+ return (
392
+ <VStack gap="6">
393
+ <Text variant="label1">Label 1</Text>
394
+ <Text variant="label2">Label 2</Text>
395
+ <Text variant="caption1">Caption 1</Text>
396
+ <Text variant="caption2">Caption 2</Text>
397
+ </VStack>
398
+ )
399
+ }
400
+ ```
401
+
402
+ #### Legal
403
+
404
+ Legal styles are used for legal disclaimers and fine print.
405
+ The default html text element rendered for this variant is `p`.
406
+
407
+ ```tsx
408
+ import { Text, VStack } from "@yahoo/uds"
409
+
410
+ export function Demo() {
411
+ return (
412
+ <VStack>
413
+ <Text variant="legal1">Legal 1</Text>
414
+ </VStack>
415
+ )
416
+ }
417
+ ```
50
418
  */
51
- declare const Text: react.ForwardRefExoticComponent<TextProps & react.RefAttributes<HTMLParagraphElement>>;
419
+ declare const Text: react.ForwardRefExoticComponent<Omit<TextProps<TextElement>, "ref"> & react.RefAttributes<HTMLParagraphElement>>;
420
+
421
+ type NativeTextInputProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'height' | 'size' | 'width' | ''>;
422
+ interface TextInputProps extends NativeTextInputProps, UniversalTextInputProps {
423
+ }
424
+ interface TextInputLabelProps extends React.PropsWithChildren {
425
+ required?: boolean;
426
+ }
427
+ interface TextInputGroupProps extends TextInputProps {
428
+ label?: string;
429
+ }
430
+ declare function TextInputLabel({ children, required }: TextInputLabelProps): react_jsx_runtime.JSX.Element;
431
+ declare function TextInput({ className, disabled, ...props }: TextInputProps): react_jsx_runtime.JSX.Element;
432
+ declare function TextInputGroup({ label, required, ...props }: TextInputGroupProps): react_jsx_runtime.JSX.Element;
433
+
434
+ interface ToastProps extends ToastContainerProps {
435
+ }
436
+ declare function ToastContainer(props: ToastProps): react_jsx_runtime.JSX.Element;
52
437
 
53
- type VStackProps = UniversalStackProps & DivProps;
438
+ type VStackProps = UniversalStackProps & DivProps$1;
54
439
  /**
55
- * VStack is a layout component that groups elements together in the vertical direction.
440
+ * @example
441
+ The VStack is essentially the same component as [Box](/components/box) where it uses [flexbox](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Flexbox) but it lays out content in a column. VStack also allows for gaps between children via the `gap` prop.
442
+
443
+ You should use VStack when:
444
+
445
+ - you want to lay content out in rows that are sized to their content (height only, by default each child will fill the width of the VStack)
446
+ - you want to add gaps between columns
447
+ - you want to lay content out in columns that fill the available space within the parent container
448
+ - you need columns of proportionate size to each other (also known as a ratio-based layout)
449
+
450
+ #### Rows with Gaps
451
+
452
+ ```tsx
453
+ import { Box, VStack } from "@yahoo/uds"
454
+
455
+ export function Demo() {
456
+ return (
457
+ <VStack gap="6">
458
+ <Box spacing="6" backgroundColor="secondary">
459
+ First
460
+ </Box>
461
+ <Box spacing="6" backgroundColor="secondary">
462
+ Second
463
+ </Box>
464
+ <Box spacing="6" backgroundColor="secondary">
465
+ Third
466
+ </Box>
467
+ </VStack>
468
+ )
469
+ }
470
+ ```
471
+
472
+ #### Rows that Have Proportionate Sizes
473
+
474
+ ```tsx
475
+ import { Box, VStack } from "@yahoo/uds"
476
+
477
+ export function Demo() {
478
+ return (
479
+ <VStack gap="6">
480
+ <Box spacing="6" flexGrow="1" backgroundColor="secondary">
481
+ First
482
+ </Box>
483
+ <Box spacing="6" flexGrow="2" backgroundColor="secondary">
484
+ Second
485
+ </Box>
486
+ <Box spacing="6" flexGrow="3" backgroundColor="secondary">
487
+ Third
488
+ </Box>
489
+ </VStack>
490
+ )
491
+ }
492
+ ```
493
+
56
494
  */
57
- declare const VStack: react.ForwardRefExoticComponent<UniversalStackProps & DivProps & react.RefAttributes<HTMLDivElement>>;
495
+ declare const VStack: react.ForwardRefExoticComponent<UniversalStackProps & DivProps$1 & react.RefAttributes<HTMLDivElement>>;
58
496
 
59
497
  type StringToBoolean<T> = T extends 'true' | 'false' ? boolean : T;
60
498
  type CvaStyleValue<T> = T | CvaStyleArray<T> | Record<string, unknown> | null | boolean | undefined;
@@ -92,102 +530,93 @@ interface CX<T> {
92
530
  declare const cx: CX<string>;
93
531
  declare const cva: CVA<string>;
94
532
  declare const getStyles: (props?: ({
95
- color?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "white" | "black" | undefined;
96
- colorChecked?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "white" | "black" | undefined;
97
- fontFamily?: "icons" | "sans" | "sans-condensed" | "serif-text" | "serif-display" | undefined;
533
+ color?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "white" | "black" | "transparent" | undefined;
534
+ colorChecked?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "on-color" | "white" | "black" | "transparent" | undefined;
535
+ fontFamily?: "icons" | "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "sans" | "sans-beta" | "sans-condensed" | "serif-text" | "serif-display" | "display2" | undefined;
98
536
  fontSize?: "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "display2" | undefined;
99
- fontWeight?: "black" | "thin" | "extralight" | "light" | "regular" | "medium" | "semibold" | "bold" | "extrabold" | "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "display2" | undefined;
537
+ fontWeight?: "bold" | "black" | "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "display2" | "thin" | "extralight" | "light" | "regular" | "medium" | "semibold" | "extrabold" | undefined;
100
538
  lineHeight?: "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "display2" | undefined;
101
- textAlign?: "center" | "justify" | "start" | "end" | undefined;
102
- textTransform?: "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "display2" | undefined;
103
- spacing?: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12" | "13" | "14" | "0" | undefined;
104
- spacingHorizontal?: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12" | "13" | "14" | "0" | undefined;
105
- spacingVertical?: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12" | "13" | "14" | "0" | undefined;
106
- spacingBottom?: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12" | "13" | "14" | "0" | undefined;
107
- spacingEnd?: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12" | "13" | "14" | "0" | undefined;
108
- spacingStart?: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12" | "13" | "14" | "0" | undefined;
109
- spacingTop?: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12" | "13" | "14" | "0" | undefined;
110
- offset?: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12" | "13" | "14" | "0" | undefined;
111
- offsetVertical?: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12" | "13" | "14" | "0" | undefined;
112
- offsetHorizontal?: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12" | "13" | "14" | "0" | undefined;
113
- offsetBottom?: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12" | "13" | "14" | "0" | undefined;
114
- offsetEnd?: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12" | "13" | "14" | "0" | undefined;
115
- offsetStart?: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12" | "13" | "14" | "0" | undefined;
116
- offsetTop?: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12" | "13" | "14" | "0" | undefined;
117
- columnGap?: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12" | "13" | "14" | "0" | undefined;
118
- rowGap?: "10" | "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "11" | "12" | "13" | "14" | "0" | undefined;
119
- backgroundColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-3-inverse" | "overlay" | "accent-wash" | "alert-wash" | "brand-wash" | "positive-wash" | "warning-wash" | undefined;
120
- backgroundColorOnActive?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-3-inverse" | "overlay" | "accent-wash" | "alert-wash" | "brand-wash" | "positive-wash" | "warning-wash" | undefined;
121
- backgroundColorOnHover?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-3-inverse" | "overlay" | "accent-wash" | "alert-wash" | "brand-wash" | "positive-wash" | "warning-wash" | undefined;
122
- backgroundColorOnChecked?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-3-inverse" | "overlay" | "accent-wash" | "alert-wash" | "brand-wash" | "positive-wash" | "warning-wash" | undefined;
539
+ textAlign?: "end" | "start" | "center" | "justify" | undefined;
540
+ textTransform?: "display1" | "title1" | "title2" | "title3" | "title4" | "headline1" | "body1" | "label1" | "label2" | "caption1" | "caption2" | "legal1" | "display2" | "none" | "uppercase" | "lowercase" | "capitalize" | undefined;
541
+ spacing?: "0" | "1" | "2" | "4" | "8" | "3" | "5" | "6" | "7" | "9" | "10" | "11" | "12" | "13" | "14" | undefined;
542
+ spacingHorizontal?: "0" | "1" | "2" | "4" | "8" | "3" | "5" | "6" | "7" | "9" | "10" | "11" | "12" | "13" | "14" | undefined;
543
+ spacingVertical?: "0" | "1" | "2" | "4" | "8" | "3" | "5" | "6" | "7" | "9" | "10" | "11" | "12" | "13" | "14" | undefined;
544
+ spacingBottom?: "0" | "1" | "2" | "4" | "8" | "3" | "5" | "6" | "7" | "9" | "10" | "11" | "12" | "13" | "14" | undefined;
545
+ spacingEnd?: "0" | "1" | "2" | "4" | "8" | "3" | "5" | "6" | "7" | "9" | "10" | "11" | "12" | "13" | "14" | undefined;
546
+ spacingStart?: "0" | "1" | "2" | "4" | "8" | "3" | "5" | "6" | "7" | "9" | "10" | "11" | "12" | "13" | "14" | undefined;
547
+ spacingTop?: "0" | "1" | "2" | "4" | "8" | "3" | "5" | "6" | "7" | "9" | "10" | "11" | "12" | "13" | "14" | undefined;
548
+ offset?: "0" | "1" | "2" | "4" | "8" | "3" | "5" | "6" | "7" | "9" | "10" | "11" | "12" | "13" | "14" | undefined;
549
+ offsetVertical?: "0" | "1" | "2" | "4" | "8" | "3" | "5" | "6" | "7" | "9" | "10" | "11" | "12" | "13" | "14" | undefined;
550
+ offsetHorizontal?: "0" | "1" | "2" | "4" | "8" | "3" | "5" | "6" | "7" | "9" | "10" | "11" | "12" | "13" | "14" | undefined;
551
+ offsetBottom?: "0" | "1" | "2" | "4" | "8" | "3" | "5" | "6" | "7" | "9" | "10" | "11" | "12" | "13" | "14" | undefined;
552
+ offsetEnd?: "0" | "1" | "2" | "4" | "8" | "3" | "5" | "6" | "7" | "9" | "10" | "11" | "12" | "13" | "14" | undefined;
553
+ offsetStart?: "0" | "1" | "2" | "4" | "8" | "3" | "5" | "6" | "7" | "9" | "10" | "11" | "12" | "13" | "14" | undefined;
554
+ offsetTop?: "0" | "1" | "2" | "4" | "8" | "3" | "5" | "6" | "7" | "9" | "10" | "11" | "12" | "13" | "14" | undefined;
555
+ columnGap?: "0" | "1" | "2" | "4" | "8" | "3" | "5" | "6" | "7" | "9" | "10" | "11" | "12" | "13" | "14" | undefined;
556
+ rowGap?: "0" | "1" | "2" | "4" | "8" | "3" | "5" | "6" | "7" | "9" | "10" | "11" | "12" | "13" | "14" | undefined;
557
+ backgroundColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "transparent" | "accent-wash" | "alert-wash" | "brand-wash" | "positive-wash" | "warning-wash" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-3-inverse" | "overlay" | undefined;
558
+ backgroundColorOnActive?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "transparent" | "accent-wash" | "alert-wash" | "brand-wash" | "positive-wash" | "warning-wash" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-3-inverse" | "overlay" | undefined;
559
+ backgroundColorOnHover?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "transparent" | "accent-wash" | "alert-wash" | "brand-wash" | "positive-wash" | "warning-wash" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-3-inverse" | "overlay" | undefined;
560
+ backgroundColorOnChecked?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "white" | "black" | "transparent" | "accent-wash" | "alert-wash" | "brand-wash" | "positive-wash" | "warning-wash" | "elevation-1" | "elevation-2" | "elevation-3" | "elevation-3-inverse" | "overlay" | undefined;
123
561
  elevation?: "1" | "2" | "3" | undefined;
124
- opacity?: "10" | "5" | "100" | "0" | "20" | "30" | "40" | "50" | "25" | "60" | "70" | "75" | "80" | "90" | "95" | undefined;
125
- borderColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
126
- borderColorOnActive?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
127
- borderColorOnFocus?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
128
- borderColorOnHover?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
129
- borderColorOnChecked?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
130
- borderStartColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
131
- borderEndColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
132
- borderBottomColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
133
- borderTopColor?: "transparent" | "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | undefined;
134
- borderRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
135
- borderTopStartRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
136
- borderTopEndRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
137
- borderBottomStartRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
138
- borderBottomEndRadius?: "square" | "xs" | "s" | "m" | "l" | "xl" | "xxl" | "circle" | undefined;
562
+ opacity?: "0" | "5" | "10" | "20" | "25" | "30" | "40" | "50" | "60" | "70" | "75" | "80" | "90" | "95" | "100" | undefined;
563
+ borderColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | "transparent" | undefined;
564
+ borderColorOnActive?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | "transparent" | undefined;
565
+ borderColorOnFocus?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | "transparent" | undefined;
566
+ borderColorOnHover?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | "transparent" | undefined;
567
+ borderColorOnChecked?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | "transparent" | undefined;
568
+ borderStartColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | "transparent" | undefined;
569
+ borderEndColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | "transparent" | undefined;
570
+ borderBottomColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | "transparent" | undefined;
571
+ borderTopColor?: "accent" | "alert" | "brand" | "positive" | "warning" | "primary" | "secondary" | "tertiary" | "muted" | "white" | "black" | "transparent" | undefined;
572
+ borderRadius?: "m" | "square" | "xs" | "s" | "l" | "xl" | "xxl" | "circle" | undefined;
573
+ borderTopStartRadius?: "m" | "square" | "xs" | "s" | "l" | "xl" | "xxl" | "circle" | undefined;
574
+ borderTopEndRadius?: "m" | "square" | "xs" | "s" | "l" | "xl" | "xxl" | "circle" | undefined;
575
+ borderBottomStartRadius?: "m" | "square" | "xs" | "s" | "l" | "xl" | "xxl" | "circle" | undefined;
576
+ borderBottomEndRadius?: "m" | "square" | "xs" | "s" | "l" | "xl" | "xxl" | "circle" | undefined;
139
577
  bordered?: boolean | undefined;
140
- borderWidth?: "1" | "2" | "4" | "8" | "0" | undefined;
141
- borderVerticalWidth?: "1" | "2" | "4" | "8" | "0" | undefined;
142
- borderHorizontalWidth?: "1" | "2" | "4" | "8" | "0" | undefined;
143
- borderStartWidth?: "1" | "2" | "4" | "8" | "0" | undefined;
144
- borderEndWidth?: "1" | "2" | "4" | "8" | "0" | undefined;
145
- borderTopWidth?: "1" | "2" | "4" | "8" | "0" | undefined;
146
- borderBottomWidth?: "1" | "2" | "4" | "8" | "0" | undefined;
578
+ borderWidth?: "0" | "1" | "2" | "4" | "8" | undefined;
579
+ borderVerticalWidth?: "0" | "1" | "2" | "4" | "8" | undefined;
580
+ borderHorizontalWidth?: "0" | "1" | "2" | "4" | "8" | undefined;
581
+ borderStartWidth?: "0" | "1" | "2" | "4" | "8" | undefined;
582
+ borderEndWidth?: "0" | "1" | "2" | "4" | "8" | undefined;
583
+ borderTopWidth?: "0" | "1" | "2" | "4" | "8" | undefined;
584
+ borderBottomWidth?: "0" | "1" | "2" | "4" | "8" | undefined;
147
585
  borderedVertical?: boolean | undefined;
148
586
  borderedTop?: boolean | undefined;
149
587
  borderedBottom?: boolean | undefined;
150
588
  borderedHorizontal?: boolean | undefined;
151
589
  borderedEnd?: boolean | undefined;
152
590
  borderedStart?: boolean | undefined;
153
- height?: "auto" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "full" | "screen" | "min" | "max" | "fit" | undefined;
591
+ height?: "auto" | "full" | "screen" | "min" | "max" | "fit" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | undefined;
154
592
  minHeight?: "full" | "screen" | "min" | "max" | "fit" | undefined;
155
593
  maxHeight?: "none" | "full" | "screen" | "min" | "max" | "fit" | undefined;
156
- width?: "auto" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "full" | "screen" | "min" | "max" | "fit" | "1/12" | "2/12" | "3/12" | "4/12" | "5/12" | "6/12" | "7/12" | "8/12" | "9/12" | "10/12" | "11/12" | undefined;
157
- minWidth?: "full" | "min" | "max" | "fit" | undefined;
594
+ width?: "auto" | "full" | "screen" | "min" | "max" | "fit" | "1/2" | "1/3" | "2/3" | "1/4" | "2/4" | "3/4" | "1/5" | "2/5" | "3/5" | "4/5" | "1/6" | "2/6" | "3/6" | "4/6" | "5/6" | "1/12" | "2/12" | "3/12" | "4/12" | "5/12" | "6/12" | "7/12" | "8/12" | "9/12" | "10/12" | "11/12" | undefined;
595
+ minWidth?: "full" | "screen" | "min" | "max" | "fit" | undefined;
158
596
  maxWidth?: "none" | "full" | "min" | "max" | "fit" | undefined;
159
- avatarSize?: "s" | "m" | "l" | undefined;
160
- iconSize?: "s" | "m" | "l" | undefined;
161
- alignContent?: "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | undefined;
162
- alignItems?: "flex-start" | "flex-end" | "center" | "stretch" | "baseline" | undefined;
163
- alignSelf?: "auto" | "flex-start" | "flex-end" | "center" | "stretch" | "baseline" | undefined;
597
+ avatarSize?: "m" | "s" | "l" | undefined;
598
+ iconSize?: "m" | "s" | "l" | undefined;
599
+ alignContent?: "center" | "flex-start" | "flex-end" | "stretch" | "space-between" | "space-around" | undefined;
600
+ alignItems?: "center" | "flex-start" | "flex-end" | "stretch" | "baseline" | undefined;
601
+ alignSelf?: "center" | "auto" | "flex-start" | "flex-end" | "stretch" | "baseline" | undefined;
164
602
  flex?: "1" | "none" | "auto" | "initial" | undefined;
165
603
  flexDirection?: "row" | "column" | "row-reverse" | "column-reverse" | undefined;
166
- flexGrow?: "1" | "0" | undefined;
167
- flexShrink?: "1" | "0" | undefined;
168
- flexWrap?: "wrap" | "nowrap" | "wrap-reverse" | undefined;
169
- justifyContent?: "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined;
604
+ flexGrow?: "0" | "1" | "2" | "3" | undefined;
605
+ flexShrink?: "0" | "1" | undefined;
606
+ flexWrap?: "wrap" | "wrap-reverse" | "nowrap" | undefined;
607
+ justifyContent?: "center" | "flex-start" | "flex-end" | "space-between" | "space-around" | "space-evenly" | undefined;
170
608
  flexBasis?: "min-content" | undefined;
171
- display?: "block" | "inline-block" | "inline" | "flex" | "inline-flex" | "table" | "inline-table" | "table-caption" | "table-cell" | "table-column" | "table-column-group" | "table-footer-group" | "table-header-group" | "table-row-group" | "table-row" | "flow-root" | "grid" | undefined;
609
+ display?: "flex" | "block" | "inline-block" | "inline" | "inline-flex" | "table" | "inline-table" | "table-caption" | "table-cell" | "table-column" | "table-column-group" | "table-footer-group" | "table-header-group" | "table-row-group" | "table-row" | "flow-root" | "grid" | "contents" | undefined;
172
610
  overflow?: "auto" | "hidden" | "clip" | "visible" | "scroll" | undefined;
173
611
  overflowX?: "auto" | "hidden" | "clip" | "visible" | "scroll" | undefined;
174
612
  overflowY?: "auto" | "hidden" | "clip" | "visible" | "scroll" | undefined;
175
- position?: "static" | "fixed" | "absolute" | "relative" | "sticky" | undefined;
176
- zIndex?: "10" | "auto" | "0" | "20" | "30" | "40" | "50" | undefined;
177
- objectFit?: "none" | "cover" | "contain" | "fill" | "scale-down" | undefined;
613
+ position?: "fixed" | "static" | "absolute" | "relative" | "sticky" | undefined;
614
+ zIndex?: "0" | "10" | "20" | "30" | "40" | "50" | "auto" | undefined;
615
+ contentFit?: "fill" | "none" | "contain" | "cover" | "scale-down" | undefined;
178
616
  } & {
179
617
  className?: string | undefined;
180
618
  }) | undefined) => string;
181
619
 
182
- interface TailwindPluginOptions {
183
- config?: UniversalTokensConfig;
184
- }
185
- declare const tailwindPlugin: {
186
- (options: TailwindPluginOptions): {
187
- handler: tailwindcss_types_config.PluginCreator;
188
- config?: Partial<tailwindcss_types_config.Config> | undefined;
189
- };
190
- __isOptionsFunction: true;
191
- };
620
+ type SetState<T> = Dispatch<SetStateAction<T>>;
192
621
 
193
- export { Avatar, type AvatarProps, Box, type BoxProps, Button, type ButtonProps, HStack, type HStackProps, Pressable, type PressableProps, Text, type TextProps, UniversalAvatarProps, UniversalBoxProps, UniversalButtonProps, UniversalPressableProps, UniversalStackProps, UniversalTextProps, UniversalTokensConfig, VStack, type VStackProps, cva, cx, getStyles, tailwindPlugin };
622
+ export { Accordion, type AccordionProps, Avatar, type AvatarProps, Box, type BoxProps, Button, type ButtonProps, Chip, type ChipProps, Dropdown, DropdownItem, DropdownItemPressable, type DropdownItemProps, DropdownItems, type DropdownItemsProps, type DropdownProps, DropdownTrigger, HStack, type HStackProps, Icon, IconButton, type IconButtonProps, type IconProps, Image, type ImageProps, Modal, ModalDismiss, ModalHeader, type ModalProps, Popover, PopoverAnchor, PopoverArrow, PopoverDescription, PopoverDisclosure, PopoverDisclosureArrow, PopoverDismiss, PopoverHeading, type PopoverHeadingProps, PopoverProvider, Pressable, type PressableProps, type SetState, Spinner, type SpinnerProps, Tab, TabList, TabPanel, type TabProps, Tabs, Text, TextInput, TextInputGroup, type TextInputGroupProps, TextInputLabel, type TextInputLabelProps, type TextInputProps, type TextProps, ToastContainer, VStack, type VStackProps, cva, cx, getStyles, useModalStore };