@yahoo/uds 0.1.20 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. package/cli/utils/purgeCSS.ts +0 -2
  2. package/dist/Image.native-jCNIrPZD.d.cts +38 -0
  3. package/dist/Image.native-tkOXN29I.d.ts +38 -0
  4. package/dist/Pressable-2kgXQNVs.d.cts +55 -0
  5. package/dist/Pressable-LIDkIIAF.d.ts +55 -0
  6. package/dist/experimental/index.cjs +1 -0
  7. package/dist/experimental/index.d.cts +228 -0
  8. package/dist/experimental/index.d.ts +228 -0
  9. package/dist/experimental/index.js +1 -0
  10. package/dist/experimental/index.native.cjs +1 -0
  11. package/dist/experimental/index.native.d.cts +51 -0
  12. package/dist/experimental/index.native.d.ts +51 -0
  13. package/dist/experimental/index.native.js +1 -0
  14. package/dist/index.cjs +1 -1
  15. package/dist/index.d.cts +12 -283
  16. package/dist/index.d.ts +12 -283
  17. package/dist/index.js +1 -1
  18. package/dist/{index.native-DqJv5EjY.d.ts → index.native--Dm3KDDS.d.cts} +1 -1
  19. package/dist/{index.native-C5-xv9Na.d.cts → index.native-xVHqKK0u.d.ts} +1 -1
  20. package/dist/index.native.cjs +1 -1
  21. package/dist/index.native.d.cts +11 -83
  22. package/dist/index.native.d.ts +11 -83
  23. package/dist/index.native.js +1 -1
  24. package/dist/tailwindPlugin.d.cts +1 -1
  25. package/dist/tailwindPlugin.d.ts +1 -1
  26. package/dist/tailwindPurge.cjs +1 -1
  27. package/dist/tailwindPurge.js +1 -1
  28. package/dist/tokens/index.d.cts +2 -2
  29. package/dist/tokens/index.d.ts +2 -2
  30. package/dist/tokens/index.native.d.cts +2 -2
  31. package/dist/tokens/index.native.d.ts +2 -2
  32. package/dist/tokens/parseTokens.d.cts +1 -1
  33. package/dist/tokens/parseTokens.d.ts +1 -1
  34. package/dist/tokens/parseTokens.native.d.cts +1 -1
  35. package/dist/tokens/parseTokens.native.d.ts +1 -1
  36. package/dist/{types-ZrxnB4cM.d.cts → types-7oEBWtMQ.d.cts} +1 -1
  37. package/dist/{types-ZrxnB4cM.d.ts → types-7oEBWtMQ.d.ts} +1 -1
  38. package/dist/{types-BO2kLynl.d.cts → types-J4DLS6Xj.d.cts} +1 -1
  39. package/dist/{types-BO2kLynl.d.ts → types-J4DLS6Xj.d.ts} +1 -1
  40. package/package.json +16 -1
package/dist/index.d.ts CHANGED
@@ -1,147 +1,15 @@
1
- import * as react_jsx_runtime from 'react/jsx-runtime';
1
+ import { D as DivProps } from './Pressable-LIDkIIAF.js';
2
+ export { B as Box, a as BoxProps, P as Pressable, b as PressableProps } from './Pressable-LIDkIIAF.js';
2
3
  import * as react from 'react';
3
- import react__default, { PropsWithChildren, TdHTMLAttributes } from 'react';
4
- import { l as UniversalPressableProps, j as UniversalAvatarProps, k as UniversalBoxProps, m as UniversalButtonProps, aA as IconName, o as UniversalTextProps, aM as Overflow, ad as ButtonVariant, ac as ButtonSize, n as UniversalStackProps, p as UniversalIconProps, q as UniversalIconButtonProps, aw as ForegroundColor, i as UniversalImageProps, ah as Display, b1 as UniversalTextInputProps } from './types-ZrxnB4cM.js';
5
- export { _ as AlwaysPalette, $ as AlwaysPaletteAlias, a0 as Animation, a1 as AriaAttribute, a2 as AspectRatio, a3 as AspectRatioConfig, a4 as AvatarShape, a5 as AvatarSize, D as AvatarSizeConfig, a6 as BackgroundColor, B as BackgroundPalette, a7 as BackgroundPaletteAlias, u as BackgroundStyleProps, d as BackgroundWashPalette, a8 as BackgroundWashPaletteAlias, a9 as BorderRadius, K as BorderRadiusConfig, v as BorderStyleProps, aa as BorderWidth, N as BorderWidthConfig, ab as BoxShadowConfig, C as ColorMode, r as ColorModeForApp, a as ColorsConfig, ae as ConfigurableTextProperty, c as CorePalette, af as CorePaletteAlias, A as CustomSizingStyleProps, ag as DataAttribute, g as Elevation, E as ElevationConfig, ai as ElevationPaletteAlias, aj as Flex, ak as FlexAlignContent, al as FlexAlignItems, am as FlexAlignSelf, an as FlexBasis, ao as FlexDirection, ap as FlexGrow, aq as FlexJustifyContent, ar as FlexShrink, x as FlexStyleProps, as as FlexWrap, Q as FontFamilyConfig, at as FontFamilyGlobalAlias, h as FontFamilyGlobalConfig, au as FontSize, R as FontSizeConfig, e as FontWeightConfig, av as FontWeightDescriptive, f as FontWeightNumeric, F as ForegroundPalette, ax as ForegroundPaletteAlias, ay as Height, az as HighContrastMode, H as Hue, b as HueStep, aB as IconSize, G as IconSizeConfig, I as ImageStyleProps, w as LayoutStyleProps, aC as LetterSpacing, aD as LineClampAlias, aE as LineColor, aF as LineHeight, V as LineHeightConfig, L as LinePalette, aG as LinePaletteAlias, aH as MaxHeight, aI as MaxWidth, aJ as MinHeight, aK as MinWidth, M as Modes, aL as Opacity, O as OpacityStyleProps, aN as Palette, aO as PaletteConfig, aP as PaletteType, P as PaletteValue, aQ as PlatformMode, aR as Position, aS as RegionMode, aT as ScaleConfig, S as ScaleMode, t as ScaleModeConfig, s as ScaleModeForApp, z as SizingStyleProps, aU as SpacingAlias, J as SpacingConfig, y as SpacingStyleProps, aV as SpectrumColor, aW as SpectrumConfig, aX as StateStyleProps, X as StyleProps, T as TextStyleProps, aY as TextTransform, W as TextTransformConfig, aZ as TextVariant, a_ as TransitionDelay, a$ as TransitionDuration, b0 as TransitionTiming, U as UniversalTokensConfig, b2 as Width, b3 as ZIndex, Z as ZIndexConfig, Y as alwaysPalette } from './types-ZrxnB4cM.js';
6
- import * as _ariakit_react from '@ariakit/react';
7
- import { PopoverProviderProps, PopoverProps, 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';
11
- import { a as CX, C as CVA } from './types-BO2kLynl.js';
12
- export { S as SetState } from './types-BO2kLynl.js';
13
- 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-DqJv5EjY.js';
4
+ import { o as UniversalStackProps, p as UniversalIconProps, n as UniversalImageProps, q as UniversalTextProps } from './types-7oEBWtMQ.js';
5
+ export { A as AlwaysPalette, s as AlwaysPaletteAlias, t as Animation, u as AriaAttribute, v as AspectRatio, w as AspectRatioConfig, x as AvatarShape, y as AvatarSize, z as AvatarSizeConfig, D as BackgroundColor, B as BackgroundPalette, G as BackgroundPaletteAlias, I as BackgroundStyleProps, d as BackgroundWashPalette, J as BackgroundWashPaletteAlias, K as BorderRadius, M as BorderRadiusConfig, N as BorderStyleProps, O as BorderWidth, Q as BorderWidthConfig, R as BoxShadowConfig, T as ButtonSize, V as ButtonVariant, C as ColorMode, W as ColorModeForApp, a as ColorsConfig, X as ConfigurableTextProperty, c as CorePalette, Y as CorePaletteAlias, Z as CustomSizingStyleProps, _ as DataAttribute, $ as Display, g as Elevation, E as ElevationConfig, a0 as ElevationPaletteAlias, a1 as Flex, a2 as FlexAlignContent, a3 as FlexAlignItems, a4 as FlexAlignSelf, a5 as FlexBasis, a6 as FlexDirection, a7 as FlexGrow, a8 as FlexJustifyContent, a9 as FlexShrink, aa as FlexStyleProps, ab as FlexWrap, ac as FontFamilyConfig, ad as FontFamilyGlobalAlias, h as FontFamilyGlobalConfig, ae as FontSize, af as FontSizeConfig, e as FontWeightConfig, ag as FontWeightDescriptive, f as FontWeightNumeric, ah as ForegroundColor, F as ForegroundPalette, ai as ForegroundPaletteAlias, aj as Height, ak as HighContrastMode, H as Hue, b as HueStep, al as IconName, am as IconSize, an as IconSizeConfig, ao as ImageStyleProps, ap as LayoutStyleProps, aq as LetterSpacing, ar as LineClampAlias, as as LineColor, at as LineHeight, au as LineHeightConfig, L as LinePalette, av as LinePaletteAlias, aw as MaxHeight, ax as MaxWidth, ay as MinHeight, az as MinWidth, aA as Modes, aB as Opacity, aC as OpacityStyleProps, aD as Overflow, aE as Palette, aF as PaletteConfig, aG as PaletteType, P as PaletteValue, aH as PlatformMode, aI as Position, aJ as RegionMode, aK as ScaleConfig, S as ScaleMode, aL as ScaleModeConfig, aM as ScaleModeForApp, aN as SizingStyleProps, aO as SpacingAlias, aP as SpacingConfig, aQ as SpacingStyleProps, aR as SpectrumColor, aS as SpectrumConfig, aT as StateStyleProps, aU as StyleProps, aV as TextStyleProps, aW as TextTransform, aX as TextTransformConfig, aY as TextVariant, aZ as TransitionDelay, a_ as TransitionDuration, a$ as TransitionTiming, k as UniversalAvatarProps, i as UniversalBoxProps, l as UniversalButtonProps, m as UniversalIconButtonProps, j as UniversalPressableProps, b0 as UniversalTextInputProps, U as UniversalTokensConfig, b1 as Width, b2 as ZIndex, b3 as ZIndexConfig, r as alwaysPalette } from './types-7oEBWtMQ.js';
6
+ import * as react_jsx_runtime from 'react/jsx-runtime';
7
+ import { C as CX, a as CVA } from './types-J4DLS6Xj.js';
8
+ export { S as SetState } from './types-J4DLS6Xj.js';
9
+ 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-xVHqKK0u.js';
14
10
  export { AVATAR_SIZE_PREFIX, BORDER_RADIUS_PREFIX, BORDER_WIDTH_PREFIX, DARK_COLOR_MODE_CLASSNAME, DEFAULT_COLOR_MODE_CLASSNAME, DEFAULT_SCALE_MODE_CLASSNAME, 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, ICON_SIZE_PREFIX, LARGE_SCALE_MODE_CLASSNAME, LIGHT_COLOR_MODE_CLASSNAME, LINE_HEIGHT_PREFIX, MEDIUM_SCALE_MODE_CLASSNAME, SMALL_SCALE_MODE_CLASSNAME, SPACING_PREFIX, SPECTRUM_COLOR_PREFIX, TEXT_TRANSFORM_PREFIX, UDS_PREFIX, XLARGE_SCALE_MODE_CLASSNAME, XSMALL_SCALE_MODE_CLASSNAME, XXLARGE_SCALE_MODE_CLASSNAME, XXXLARGE_SCALE_MODE_CLASSNAME, entries } from './tokens/index.js';
15
11
 
16
- type HtmlButtonProps = Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'color' | 'name'>;
17
- interface PressableProps extends UniversalPressableProps, HtmlButtonProps {
18
- }
19
- /**
20
- * Provides press interactions with accessibility support.
21
- * @example
22
- ```tsx
23
- import { Pressable, Text } from "@yahoo/uds"
24
-
25
- export function Demo() {
26
- return (
27
- <Pressable
28
- onClick={console.log}
29
- backgroundColor="secondary"
30
- bordered
31
- borderColor="primary"
32
- borderRadius="lg"
33
- >
34
- <Text variant="body1" spacingHorizontal="7" spacingVertical="5">Click me...</Text>
35
- </Pressable>
36
- )
37
- }
38
- ```
39
- */
40
- declare const Pressable: react.ForwardRefExoticComponent<PressableProps & react.RefAttributes<HTMLButtonElement>>;
41
-
42
- interface AccordionProps extends PressableProps {
43
- label: string;
44
- open?: boolean;
45
- onClick?: () => void;
46
- }
47
- declare function Accordion({ label, children, onClick, open, spacingHorizontal, ...pressableProps }: AccordionProps): react_jsx_runtime.JSX.Element;
48
-
49
- type NativeImageProps$1 = Omit<react__default.ImgHTMLAttributes<HTMLImageElement>, 'size' | 'color' | 'height' | 'width' | 'alt' | 'src'>;
50
- interface AvatarProps extends NativeImageProps$1, UniversalAvatarProps {
51
- }
52
- /**
53
- * Avatar can be used for profile images.
54
- */
55
- declare function Avatar({ size: avatarSize, shape: borderRadius, src, alt, ...props }: AvatarProps): react_jsx_runtime.JSX.Element;
56
-
57
- type DivProps$1 = React.HTMLAttributes<HTMLDivElement>;
58
- interface BoxProps extends UniversalBoxProps, DivProps$1 {
59
- }
60
- /**
61
- * A layout primitive that can be used to compose other components.
62
- * @example
63
- ```tsx
64
- import { Box } from "@yahoo/uds"
65
-
66
- export function Demo() {
67
- return (
68
- <Box
69
- bordered
70
- backgroundColor="primary"
71
- borderRadius="md"
72
- spacing='6'
73
- >
74
- Any kind of content can go here!
75
- </Box>
76
- )
77
- }
78
- ```
79
- */
80
- declare const Box: react.ForwardRefExoticComponent<BoxProps & react.RefAttributes<HTMLDivElement>>;
81
-
82
- interface ButtonProps extends PressableProps, UniversalButtonProps {
83
- }
84
- /**
85
- * A button element that can be used to trigger an action.
86
- * @example
87
- ```tsx
88
- import { Button, HStack } from "@yahoo/uds"
89
-
90
- export function Demo() {
91
- return (
92
- <HStack gap="2">
93
- <Button variant="accent" onClick={console.log}>Save</Button>
94
- <Button variant="accent-outline" onClick={console.log}>Cancel</Button>
95
- </HStack>
96
- )
97
- }
98
- ```
99
- */
100
- declare const Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
101
-
102
- interface ChipProps {
103
- children?: string;
104
- startContent?: React.ReactNode;
105
- startIcon?: IconName;
106
- endIcon?: IconName;
107
- endContent?: React.ReactNode;
108
- variant: 'accent' | 'secondary';
109
- }
110
- declare function Chip({ children, variant, startIcon, startContent, endIcon, endContent, }: ChipProps): react_jsx_runtime.JSX.Element;
111
-
112
- interface DropdownProps extends PopoverProviderProps {
113
- children: React.ReactNode;
114
- }
115
- declare const Dropdown: typeof _ariakit_react.PopoverProvider;
116
-
117
- interface DropdownItemProps extends DropdownItemPressableProps {
118
- startIcon?: IconName;
119
- endIcon?: IconName;
120
- title?: string;
121
- description?: string;
122
- _title?: UniversalTextProps;
123
- _description?: UniversalTextProps;
124
- }
125
- declare function DropdownItem({ title, description, _title, _description, startIcon, endIcon, ...props }: DropdownItemProps): react_jsx_runtime.JSX.Element;
126
-
127
- interface DropdownItemPressableProps extends Omit<PressableProps, 'onClick'> {
128
- onClick?: (close: () => void) => void;
129
- }
130
- declare const DropdownItemPressable: react.ForwardRefExoticComponent<DropdownItemPressableProps & react.RefAttributes<HTMLButtonElement>>;
131
-
132
- interface DropdownItemsProps extends React.PropsWithChildren, Omit<PopoverProps, 'children'> {
133
- overflow?: Overflow;
134
- }
135
- declare const DropdownItems: react.ForwardRefExoticComponent<Omit<DropdownItemsProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
136
-
137
- interface DropdownTriggerProps extends PressableProps {
138
- children: React.ReactNode;
139
- variant?: ButtonVariant;
140
- size?: ButtonSize;
141
- }
142
- declare function DropdownTrigger({ children, variant, size, ...props }: DropdownTriggerProps): react_jsx_runtime.JSX.Element;
143
-
144
- interface HStackProps extends UniversalStackProps, DivProps$1 {
12
+ interface HStackProps extends UniversalStackProps, DivProps {
145
13
  }
146
14
  /**
147
15
  * @example
@@ -262,24 +130,6 @@ interface IconProps extends UniversalIconProps, HtmlSpanProps {
262
130
  */
263
131
  declare const Icon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<HTMLSpanElement>>;
264
132
 
265
- interface IconButtonProps extends PressableProps, UniversalIconButtonProps {
266
- color?: ForegroundColor;
267
- }
268
- /**
269
- * An icon button element that can be used to trigger an action.
270
- * @example
271
- ```tsx
272
- import { IconButton } from "@yahoo/uds"
273
-
274
- export function IconButtonDemo() {
275
- return (
276
- <IconButton variant="accent-outline" name="close" onPress={console.log} />
277
- )
278
- }
279
- ```
280
- */
281
- declare const IconButton: react.ForwardRefExoticComponent<IconButtonProps & react.RefAttributes<HTMLButtonElement>>;
282
-
283
133
  type NativeImageProps = Omit<React.ImgHTMLAttributes<HTMLImageElement>, 'size' | 'color' | 'height' | 'width' | 'alt' | 'src'>;
284
134
  interface ImageProps extends NativeImageProps, UniversalImageProps {
285
135
  }
@@ -288,108 +138,6 @@ interface ImageProps extends NativeImageProps, UniversalImageProps {
288
138
  */
289
139
  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;
290
140
 
291
- interface ModalProps extends DialogProps {
292
- }
293
- declare function useModalStore(params?: Parameters<typeof useDialogStore>[0]): DialogStore;
294
- interface ModalHeaderProps extends React.PropsWithChildren {
295
- handleClose?: () => void;
296
- }
297
- declare function ModalHeader({ children, handleClose }: ModalHeaderProps): react_jsx_runtime.JSX.Element;
298
- declare function Modal({ className, ...props }: ModalProps): react_jsx_runtime.JSX.Element;
299
- declare const ModalDismiss: typeof DialogDismiss;
300
-
301
- interface PopoverHeadingProps extends PropsWithChildren {
302
- leading?: react__default.ReactNode;
303
- trailing?: react__default.ReactNode;
304
- }
305
- declare function PopoverHeading({ children, leading, trailing }: PopoverHeadingProps): react_jsx_runtime.JSX.Element;
306
- declare const Popover: typeof Popover$1;
307
- declare const PopoverArrow: typeof PopoverArrow$1;
308
- declare const PopoverAnchor: typeof PopoverAnchor$1;
309
- declare const PopoverDescription: typeof PopoverDescription$1;
310
- declare const PopoverDismiss: typeof PopoverDismiss$1;
311
- declare const PopoverProvider: typeof PopoverProvider$1;
312
- declare const PopoverDisclosure: typeof PopoverDisclosure$1;
313
- declare const PopoverDisclosureArrow: typeof PopoverDisclosureArrow$1;
314
-
315
- type DivProps = React.HTMLAttributes<HTMLDivElement>;
316
- interface SpinnerProps extends DivProps {
317
- }
318
- declare function Spinner({ className, ...props }: SpinnerProps): react_jsx_runtime.JSX.Element;
319
-
320
- /**
321
- * TableColumn
322
- * A TableColumn is a definition of a column in a table.
323
- */
324
- type TableColumn<T> = {
325
- title?: string;
326
- dataIndex: keyof T;
327
- render?: (value: T[keyof T], record: T, index: number) => react__default.ReactNode;
328
- };
329
- interface HTMLTableCellProps extends Omit<TdHTMLAttributes<HTMLTableCellElement>, 'color' | 'height' | 'width'> {
330
- }
331
- interface TableCellProps extends UniversalTextProps, HTMLTableCellProps {
332
- /** asHeaderCell will return a th element instead of a td element.
333
- * If asHeaderCell is row, it will return a th element with scope="row"
334
- * @default false
335
- */
336
- asHeaderCell?: boolean | 'column' | 'row';
337
- }
338
- /**
339
- * Table component props
340
- * @template T The type of data in the table.
341
- */
342
- type TableProps<T> = {
343
- /** An array of data for the table. Each item represents a row in the table.
344
- * The keys of each item should match the `dataIndex` of the columns.
345
- */
346
- data: T[];
347
- /** An array of columns for the table. Each item defines a column in the table.
348
- * The `dataIndex` should match the key of the data item.
349
- */
350
- columns: TableColumn<T>[];
351
- };
352
- /**
353
- * The Table component renders a table with the given data and columns.
354
- * If you want more control over the table, or want to handle virtualization,
355
- * drag-n-drop, etc, Please can use the sub-components directly and build your own!
356
- */
357
- declare function Table<T>({ data, columns }: TableProps<T>): react_jsx_runtime.JSX.Element;
358
- declare namespace Table {
359
- var Root: react__default.ForwardRefExoticComponent<react__default.TableHTMLAttributes<HTMLTableElement> & BoxProps & {
360
- /** Sets whether an element is treated as a block or inline box and the
361
- * layout used for its children, such as flow layout, grid or flex.
362
- * @default "table"
363
- */
364
- display?: Display | undefined;
365
- } & {
366
- children?: react__default.ReactNode;
367
- } & react__default.RefAttributes<HTMLTableElement>>;
368
- var Row: react__default.ForwardRefExoticComponent<react__default.HTMLAttributes<HTMLTableRowElement> & BoxProps & {
369
- children?: react__default.ReactNode;
370
- } & react__default.RefAttributes<HTMLTableRowElement>>;
371
- var Header: react__default.ForwardRefExoticComponent<react__default.HTMLAttributes<HTMLTableSectionElement> & BoxProps & {
372
- children?: react__default.ReactNode;
373
- } & react__default.RefAttributes<HTMLTableSectionElement>>;
374
- var Body: react__default.ForwardRefExoticComponent<react__default.HTMLAttributes<HTMLTableSectionElement> & BoxProps & {
375
- children?: react__default.ReactNode;
376
- } & react__default.RefAttributes<HTMLTableSectionElement>>;
377
- var Cell: react__default.ForwardRefExoticComponent<TableCellProps & {
378
- children?: react__default.ReactNode;
379
- } & react__default.RefAttributes<HTMLTableCellElement | HTMLTableHeaderCellElement>>;
380
- }
381
-
382
- interface TabProps extends React.PropsWithChildren {
383
- asChild?: boolean;
384
- value: string;
385
- label: string;
386
- startIcon?: IconName;
387
- }
388
- declare function Tabs(props: TabProviderProps): react_jsx_runtime.JSX.Element;
389
- declare const TabList: react.ForwardRefExoticComponent<Omit<TabListProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
390
- declare const Tab: ({ asChild, label, value, startIcon }: TabProps) => react_jsx_runtime.JSX.Element;
391
- declare const TabPanel: react.ForwardRefExoticComponent<Omit<TabPanelProps, "ref"> & react.RefAttributes<HTMLDivElement>>;
392
-
393
141
  type TextElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'p' | 'strong' | 'span' | 'label' | 'li';
394
142
  type TextProps<As extends TextElement = TextElement> = UniversalTextProps & {
395
143
  as?: As;
@@ -490,26 +238,7 @@ type TextProps<As extends TextElement = TextElement> = UniversalTextProps & {
490
238
  */
491
239
  declare const Text: react.ForwardRefExoticComponent<Omit<TextProps<TextElement>, "ref"> & react.RefAttributes<HTMLParagraphElement>>;
492
240
 
493
- type NativeTextInputProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'height' | 'size' | 'width' | 'color'>;
494
- interface TextInputProps extends NativeTextInputProps, UniversalTextInputProps {
495
- }
496
- declare function TextInput({ className, disabled, backgroundColor, borderColor, borderWidth, borderRadius, color, placeholderColor, spacingVertical, spacingHorizontal, fontSize: textVariant, ...props }: TextInputProps): react_jsx_runtime.JSX.Element;
497
-
498
- interface TextInputGroupProps extends TextInputProps {
499
- label?: string;
500
- }
501
- declare function TextInputGroup({ label, required, ...props }: TextInputGroupProps): react_jsx_runtime.JSX.Element;
502
-
503
- interface TextInputLabelProps extends React.PropsWithChildren {
504
- required?: boolean;
505
- }
506
- declare function TextInputLabel({ children, required }: TextInputLabelProps): react_jsx_runtime.JSX.Element;
507
-
508
- interface ToastProps extends ToastContainerProps {
509
- }
510
- declare function ToastContainer(props: ToastProps): react_jsx_runtime.JSX.Element;
511
-
512
- type VStackProps = UniversalStackProps & DivProps$1;
241
+ type VStackProps = UniversalStackProps & DivProps;
513
242
  /**
514
243
  * @example
515
244
  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.
@@ -566,7 +295,7 @@ type VStackProps = UniversalStackProps & DivProps$1;
566
295
  ```
567
296
 
568
297
  */
569
- declare const VStack: react.ForwardRefExoticComponent<UniversalStackProps & DivProps$1 & react.RefAttributes<HTMLDivElement>>;
298
+ declare const VStack: react.ForwardRefExoticComponent<UniversalStackProps & DivProps & react.RefAttributes<HTMLDivElement>>;
570
299
 
571
300
  declare const cx: CX<string>;
572
301
  declare const cva: CVA<string>;
@@ -662,4 +391,4 @@ declare const getStyles: (props?: ({
662
391
  className?: string | undefined;
663
392
  }) | undefined) => string;
664
393
 
665
- export { Accordion, type AccordionProps, Avatar, type AvatarProps, Box, type BoxProps, Button, type ButtonProps, ButtonSize, ButtonVariant, Chip, type ChipProps, Display, Dropdown, DropdownItem, DropdownItemPressable, type DropdownItemPressableProps, type DropdownItemProps, DropdownItems, type DropdownItemsProps, type DropdownProps, DropdownTrigger, type DropdownTriggerProps, ForegroundColor, HStack, type HStackProps, Icon, IconButton, type IconButtonProps, IconName, type IconProps, Image, type ImageProps, Modal, ModalDismiss, ModalHeader, type ModalProps, Overflow, Popover, PopoverAnchor, PopoverArrow, PopoverDescription, PopoverDisclosure, PopoverDisclosureArrow, PopoverDismiss, PopoverHeading, type PopoverHeadingProps, PopoverProvider, Pressable, type PressableProps, Spinner, type SpinnerProps, Tab, TabList, TabPanel, type TabProps, Table, type TableProps, Tabs, Text, TextInput, TextInputGroup, type TextInputGroupProps, TextInputLabel, type TextInputLabelProps, type TextInputProps, type TextProps, ToastContainer, UniversalAvatarProps, UniversalBoxProps, UniversalButtonProps, UniversalIconButtonProps, UniversalIconProps, UniversalImageProps, UniversalPressableProps, UniversalStackProps, UniversalTextInputProps, UniversalTextProps, VStack, type VStackProps, cva, cx, getStyles, useModalStore };
394
+ export { HStack, type HStackProps, Icon, type IconProps, Image, type ImageProps, Text, type TextProps, UniversalIconProps, UniversalImageProps, UniversalStackProps, UniversalTextProps, VStack, type VStackProps, cva, cx, getStyles };