@marigold/components 12.0.5 → 13.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -17,8 +17,8 @@ import { AriaTableProps } from '@react-aria/table';
17
17
  import { TableStateProps, TableBody, Cell, TableHeader, ColumnProps as ColumnProps$1, RowProps as RowProps$1 } from '@react-stately/table';
18
18
  export { VisuallyHidden } from '@react-aria/visually-hidden';
19
19
 
20
- type RemovedProps$s = 'isDisabled' | 'isExpanded';
21
- interface DisclosureProps extends Omit<RAC.DisclosureProps, RemovedProps$s> {
20
+ type RemovedProps$v = 'isDisabled' | 'isExpanded';
21
+ interface DisclosureProps extends Omit<RAC.DisclosureProps, RemovedProps$v> {
22
22
  /** Whether the item is disabled. */
23
23
  disabled?: RAC.DisclosureProps['isDisabled'];
24
24
  /** Whether the item is expanded (controlled). */
@@ -34,8 +34,8 @@ interface AccordionHeaderProps {
34
34
  children?: ReactNode;
35
35
  }
36
36
 
37
- type RemovedProps$r = 'isDisabled';
38
- interface AccordionProps extends Omit<RAC.DisclosureGroupProps, RemovedProps$r> {
37
+ type RemovedProps$u = 'isDisabled';
38
+ interface AccordionProps extends Omit<RAC.DisclosureGroupProps, RemovedProps$u> {
39
39
  /** Whether all items are disabled. */
40
40
  disabled?: RAC.DisclosureGroupProps['isDisabled'];
41
41
  variant?: string;
@@ -113,21 +113,12 @@ interface FieldBaseProps<T extends ElementType> extends WidthProp, Pick<HelpText
113
113
  }
114
114
  declare const FieldBase: <T extends ElementType>(props: FieldBaseProps<T> & DistributiveOmit<ComponentPropsWithRef<T>, "as"> & react.RefAttributes<any>) => React.ReactNode;
115
115
 
116
- interface FieldGroupContextProps {
117
- labelWidth?: string;
118
- }
119
- declare const FieldGroupContext: react.Context<FieldGroupContextProps>;
120
- declare const useFieldGroupContext: () => FieldGroupContextProps;
121
- interface FieldGroupProps {
116
+ type ListBoxItemProps = Omit<RAC.ListBoxItemProps, 'style' | 'className' | 'children'> & {
122
117
  /**
123
- * Sets the width of all Fields labels used inside the `FieldGroup`
118
+ * The children of the component
124
119
  */
125
- labelWidth?: string;
126
- children: ReactNode;
127
- }
128
- declare const FieldGroup: ({ labelWidth, children }: FieldGroupProps) => react_jsx_runtime.JSX.Element;
129
-
130
- type ListBoxItemProps = Omit<RAC.ListBoxItemProps, 'style' | 'className'>;
120
+ children?: React.ReactNode;
121
+ };
131
122
  declare const _ListBoxItem: ({ ...props }: ListBoxItemProps) => react_jsx_runtime.JSX.Element;
132
123
 
133
124
  interface SectionProps extends Omit<RAC.SectionProps<object>, 'className' | 'style' | 'children'> {
@@ -152,8 +143,8 @@ interface ListBoxComponent extends ForwardRefExoticComponent<ListBoxProps & RefA
152
143
  }
153
144
  declare const _ListBox: ListBoxComponent;
154
145
 
155
- type RemovedProps$q = 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'inputValue' | 'onInputChange' | 'defaultValue' | 'validate' | 'validationState' | 'slot';
156
- interface AutocompleteProps extends Omit<RAC.ComboBoxProps<object>, RemovedProps$q>, Pick<FieldBaseProps<'label'>, 'width' | 'label' | 'description' | 'errorMessage'> {
146
+ type RemovedProps$t = 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'inputValue' | 'onInputChange' | 'defaultValue' | 'validate' | 'validationState' | 'slot';
147
+ interface AutocompleteProps extends Omit<RAC.ComboBoxProps<object>, RemovedProps$t>, Pick<FieldBaseProps<'label'>, 'width' | 'label' | 'description' | 'errorMessage'> {
157
148
  /**
158
149
  * The value of the input (uncontrolled).
159
150
  */
@@ -220,8 +211,8 @@ interface AutocompleteComponent extends ForwardRefExoticComponent<AutocompletePr
220
211
  }
221
212
  declare const _Autocomplete: AutocompleteComponent;
222
213
 
223
- type RemovedProps$p = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'defaultInputValue' | 'inputValue' | 'onInputChange';
224
- interface ComboBoxProps extends Omit<RAC.ComboBoxProps<any>, RemovedProps$p>, Pick<FieldBaseProps<'label'>, 'width' | 'label' | 'description' | 'errorMessage'> {
214
+ type RemovedProps$s = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'defaultInputValue' | 'inputValue' | 'onInputChange';
215
+ interface ComboBoxProps extends Omit<RAC.ComboBoxProps<any>, RemovedProps$s>, Pick<FieldBaseProps<'label'>, 'width' | 'label' | 'description' | 'errorMessage'> {
225
216
  variant?: string;
226
217
  size?: string;
227
218
  /**
@@ -302,8 +293,8 @@ interface BodyProps extends Omit<HtmlProps<'section'>, 'className'> {
302
293
  }
303
294
  declare const Body: ({ children, variant, size, ...props }: BodyProps) => react_jsx_runtime.JSX.Element;
304
295
 
305
- type RemovedProps$o = 'isDisabled' | 'isPending';
306
- interface ButtonProps extends Omit<RAC.ButtonProps, RemovedProps$o> {
296
+ type RemovedProps$r = 'isDisabled' | 'isPending';
297
+ interface ButtonProps extends Omit<RAC.ButtonProps, RemovedProps$r> {
307
298
  variant?: string;
308
299
  size?: string;
309
300
  /**
@@ -337,7 +328,7 @@ interface CardProps extends GapSpaceProp, PaddingSpaceProp, PaddingRightProp, Pa
337
328
  variant?: string;
338
329
  size?: string;
339
330
  /**
340
- * Padding of the component. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
331
+ * Padding of the component. You can see allowed tokens [here](../../foundations/design-token#spacing).
341
332
  */
342
333
  p?: PaddingSpaceProp['space'];
343
334
  /**
@@ -345,7 +336,7 @@ interface CardProps extends GapSpaceProp, PaddingSpaceProp, PaddingRightProp, Pa
345
336
  */
346
337
  px?: PaddingSpacePropX['spaceX'];
347
338
  /**
348
- * Padding vertical (top and bottom) of the component. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
339
+ * Padding vertical (top and bottom) of the component. You can see allowed tokens [here](../../foundations/design-token#spacing).
349
340
  */
350
341
  py?: PaddingSpacePropY['spaceY'];
351
342
  }
@@ -361,8 +352,8 @@ interface CenterProps extends GapSpaceProp, AriaRegionProps {
361
352
  }
362
353
  declare const Center: ({ maxWidth, space, children, ...props }: CenterProps) => react_jsx_runtime.JSX.Element;
363
354
 
364
- type RemovedProps$n = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly';
365
- interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$n>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
355
+ type RemovedProps$q = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly';
356
+ interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$q>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
366
357
  /**
367
358
  * The children of the component
368
359
  */
@@ -402,8 +393,8 @@ interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$n
402
393
  }
403
394
  declare const _CheckboxGroup: ({ children, variant, size, required, disabled, readOnly, error, width, orientation, ...rest }: CheckboxGroupProps) => react_jsx_runtime.JSX.Element;
404
395
 
405
- type RemovedProps$m = 'children' | 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'isSelected' | 'isIndeterminate' | 'defaultSelected';
406
- interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$m> {
396
+ type RemovedProps$p = 'children' | 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'isSelected' | 'isIndeterminate' | 'defaultSelected';
397
+ interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$p> {
407
398
  variant?: string;
408
399
  size?: string;
409
400
  /**
@@ -590,14 +581,14 @@ interface DialogTitleProps {
590
581
  }
591
582
  declare const DialogTitle: ({ variant, size, children }: DialogTitleProps) => react_jsx_runtime.JSX.Element;
592
583
 
593
- type RemovedProps$l = 'children' | 'isOpen' | 'isDismissable' | 'isKeyboardDismissDisabled';
584
+ type RemovedProps$o = 'children' | 'isOpen' | 'isDismissable' | 'isKeyboardDismissDisabled';
594
585
  interface ModalProps$1 extends RAC.ModalOverlayProps {
595
586
  open?: boolean;
596
587
  dismissable?: boolean;
597
588
  keyboardDismissable?: boolean;
598
589
  size?: string;
599
590
  }
600
- interface DialogTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'>, Omit<ModalProps$1, RemovedProps$l> {
591
+ interface DialogTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'>, Omit<ModalProps$1, RemovedProps$o> {
601
592
  }
602
593
  declare const _DialogTrigger: ({ open, dismissable, keyboardDismissable, ...rest }: DialogTriggerProps) => ReactNode;
603
594
 
@@ -633,7 +624,8 @@ interface DialogProps extends Omit<RAC.DialogProps, 'className' | 'style'> {
633
624
  }
634
625
  declare const _Dialog: DialogComponent;
635
626
 
636
- interface DividerProps extends RAC.SeparatorProps {
627
+ type RemovedProps$n = 'className' | 'style';
628
+ interface DividerProps extends Omit<RAC.SeparatorProps, RemovedProps$n> {
637
629
  variant?: string;
638
630
  }
639
631
  declare const _Divider: ({ variant, ...props }: DividerProps) => react_jsx_runtime.JSX.Element;
@@ -834,8 +826,8 @@ interface InlineProps extends GapSpaceProp, AriaRegionProps {
834
826
  }
835
827
  declare const Inline: ({ space, alignX, alignY, children, ...props }: InlineProps) => react_jsx_runtime.JSX.Element;
836
828
 
837
- type RemovedProps$k = 'className' | 'style' | 'size';
838
- interface InputProps extends Omit<RAC.InputProps, RemovedProps$k> {
829
+ type RemovedProps$m = 'className' | 'style' | 'size';
830
+ interface InputProps extends Omit<RAC.InputProps, RemovedProps$m> {
839
831
  icon?: ReactElement<any>;
840
832
  action?: ReactElement<any>;
841
833
  variant?: string;
@@ -844,8 +836,8 @@ interface InputProps extends Omit<RAC.InputProps, RemovedProps$k> {
844
836
  }
845
837
  declare const _Input: react.ForwardRefExoticComponent<InputProps & react.RefAttributes<HTMLInputElement>>;
846
838
 
847
- type RemovedProps$j = 'className' | 'isRequired' | 'isDisabled' | 'isInvalid' | 'isReadOnly' | 'label' | 'children' | 'style';
848
- interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProps$j>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
839
+ type RemovedProps$l = 'className' | 'isRequired' | 'isDisabled' | 'isInvalid' | 'isReadOnly' | 'label' | 'children' | 'style';
840
+ interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProps$l>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
849
841
  variant?: string;
850
842
  size?: string;
851
843
  /**
@@ -880,8 +872,8 @@ interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProp
880
872
  }
881
873
  declare const _DateField: react.ForwardRefExoticComponent<DateFieldProps & react.RefAttributes<HTMLInputElement>>;
882
874
 
883
- type RemovedProps$i = 'visibleDuration' | 'pageBehavior' | 'isDateUnavailable' | 'isDisabled' | 'isReadOnly' | 'isInvalid' | 'errorMessage' | 'className' | 'style';
884
- interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$i> {
875
+ type RemovedProps$k = 'visibleDuration' | 'pageBehavior' | 'isDateUnavailable' | 'isDisabled' | 'isReadOnly' | 'isInvalid' | 'errorMessage' | 'className' | 'style';
876
+ interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$k> {
885
877
  /**
886
878
  * Disables the Calendar.
887
879
  * @default false
@@ -905,8 +897,8 @@ interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$
905
897
  }
906
898
  declare const _Calendar: ({ disabled, readOnly, size, variant, dateUnavailable, ...rest }: CalendarProps) => react_jsx_runtime.JSX.Element;
907
899
 
908
- type RemovedProps$h = 'isDisabled' | 'isDateUnavailable' | 'isReadOnly' | 'isRequired' | 'isInvalid' | 'style' | 'className' | 'isOpen';
909
- interface DatePickerProps extends Omit<RAC.DatePickerProps<DateValue>, RemovedProps$h>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
900
+ type RemovedProps$j = 'isDisabled' | 'isDateUnavailable' | 'isReadOnly' | 'isRequired' | 'isInvalid' | 'style' | 'className' | 'isOpen';
901
+ interface DatePickerProps extends Omit<RAC.DatePickerProps<DateValue>, RemovedProps$j>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
910
902
  /**
911
903
  * Callback that is called for each date of the calendar. If it returns true, then the date is unavailable.
912
904
  */
@@ -970,15 +962,15 @@ type InsetProps = (AriaRegionProps & {
970
962
  });
971
963
  declare const Inset: ({ space, spaceX, spaceY, children }: InsetProps) => react_jsx_runtime.JSX.Element;
972
964
 
973
- type RemovedProps$g = 'className';
974
- interface LabelProps extends Omit<RAC.LabelProps, RemovedProps$g> {
965
+ type RemovedProps$i = 'className';
966
+ interface LabelProps extends Omit<RAC.LabelProps, RemovedProps$i> {
975
967
  size?: string;
976
968
  variant?: string;
977
969
  }
978
970
  declare const _Label: ({ size, variant, children, ...props }: LabelProps) => react_jsx_runtime.JSX.Element;
979
971
 
980
- type RemovedProps$f = 'className' | 'isDisabled' | 'slot';
981
- interface LinkProps extends Omit<RAC.LinkProps, RemovedProps$f> {
972
+ type RemovedProps$h = 'className' | 'isDisabled' | 'slot';
973
+ interface LinkProps extends Omit<RAC.LinkProps, RemovedProps$h> {
982
974
  variant?: string;
983
975
  size?: string;
984
976
  /**
@@ -1014,14 +1006,14 @@ declare const List: {
1014
1006
  Item: ({ children, ...props }: ListItemProps) => react_jsx_runtime.JSX.Element;
1015
1007
  };
1016
1008
 
1017
- type RemovedProps$e = 'className' | 'style' | 'children';
1018
- interface MenuSectionProps extends Omit<RAC.SectionProps<object>, RemovedProps$e> {
1009
+ type RemovedProps$g = 'className' | 'style' | 'children';
1010
+ interface MenuSectionProps extends Omit<RAC.SectionProps<object>, RemovedProps$g> {
1019
1011
  title?: string;
1020
1012
  children: ReactNode;
1021
1013
  }
1022
1014
 
1023
- type RemovedProps$d = 'style' | 'className';
1024
- type MenuItemProps = Omit<RAC.MenuItemProps, RemovedProps$d>;
1015
+ type RemovedProps$f = 'style' | 'className';
1016
+ type MenuItemProps = Omit<RAC.MenuItemProps, RemovedProps$f>;
1025
1017
 
1026
1018
  interface PopoverProps extends Omit<RAC.PopoverProps, 'isOpen' | 'isKeyboardDismissDisabled' | 'style' | 'className' | 'children'> {
1027
1019
  keyboardDismissDisabled?: boolean;
@@ -1031,8 +1023,8 @@ interface PopoverProps extends Omit<RAC.PopoverProps, 'isOpen' | 'isKeyboardDism
1031
1023
  }
1032
1024
  declare const _Popover: react.ForwardRefExoticComponent<PopoverProps & react.RefAttributes<HTMLDivElement>>;
1033
1025
 
1034
- type RemovedProps$c = 'isOpen' | 'className' | 'style' | 'children';
1035
- interface MenuProps extends Omit<RAC.MenuTriggerProps, RemovedProps$c>, Omit<RAC.MenuProps<object>, RemovedProps$c> {
1026
+ type RemovedProps$e = 'isOpen' | 'className' | 'style' | 'children';
1027
+ interface MenuProps extends Omit<RAC.MenuTriggerProps, RemovedProps$e>, Omit<RAC.MenuProps<object>, RemovedProps$e> {
1036
1028
  /**
1037
1029
  * Whether the menu is open.
1038
1030
  * @default false
@@ -1221,10 +1213,10 @@ interface MultipleSelectProps extends Pick<FieldBaseProps<'label'>, 'width' | 's
1221
1213
  */
1222
1214
  ariaLiveMessages?: Props['ariaLiveMessages'];
1223
1215
  }
1224
- declare const Multiselect: ({ disabled, readOnly, items, selectedItems, defaultSelectedItems, defaultValue, error, errorMessage, size, variant, placeholder, description, onChange, onSelectionChange, ...rest }: MultipleSelectProps) => react_jsx_runtime.JSX.Element;
1216
+ declare const Multiselect: ({ disabled, readOnly, items, selectedItems, defaultSelectedItems, defaultValue, error, errorMessage, size, variant, placeholder, description, onChange, onSelectionChange, width, ...rest }: MultipleSelectProps) => react_jsx_runtime.JSX.Element;
1225
1217
 
1226
- type RemovedProps$b = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'size';
1227
- interface NumberFieldProps extends Omit<RAC.NumberFieldProps, RemovedProps$b>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1218
+ type RemovedProps$d = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'size';
1219
+ interface NumberFieldProps extends Omit<RAC.NumberFieldProps, RemovedProps$d>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1228
1220
  variant?: string;
1229
1221
  size?: string;
1230
1222
  /**
@@ -1395,8 +1387,8 @@ declare function MarigoldProvider<T extends Theme>({ children, className, theme,
1395
1387
  declare const OverlayContainerProvider: react.Provider<string | undefined>;
1396
1388
  declare const usePortalContainer: () => HTMLElement | undefined;
1397
1389
 
1398
- type RemovedProps$a = 'className' | 'style' | 'isDisabled' | 'isInvalid' | 'isRequired' | 'isSelected';
1399
- interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$a> {
1390
+ type RemovedProps$c = 'className' | 'style' | 'isDisabled' | 'isInvalid' | 'isRequired' | 'isSelected';
1391
+ interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$c> {
1400
1392
  variant?: string;
1401
1393
  size?: string;
1402
1394
  /**
@@ -1455,8 +1447,8 @@ interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$a> {
1455
1447
  }
1456
1448
  declare const _RadioGroup: ({ variant, size, label, error, disabled, required, readOnly, description, errorMessage, orientation, children, width, ...rest }: RadioGroupProps) => react_jsx_runtime.JSX.Element;
1457
1449
 
1458
- type RemovedProps$9 = 'className' | 'style' | 'children' | 'isDisabled';
1459
- interface RadioProps extends Omit<RAC.RadioProps, RemovedProps$9> {
1450
+ type RemovedProps$b = 'className' | 'style' | 'children' | 'isDisabled';
1451
+ interface RadioProps extends Omit<RAC.RadioProps, RemovedProps$b> {
1460
1452
  variant?: string;
1461
1453
  size?: string;
1462
1454
  /**
@@ -1481,8 +1473,8 @@ interface RadioComponent extends ForwardRefExoticComponent<RadioProps & RefAttri
1481
1473
  Group: typeof _RadioGroup;
1482
1474
  }
1483
1475
 
1484
- type RemovedProps$8 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
1485
- interface SearchFieldProps extends Omit<RAC.SearchFieldProps, RemovedProps$8>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1476
+ type RemovedProps$a = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
1477
+ interface SearchFieldProps extends Omit<RAC.SearchFieldProps, RemovedProps$a>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1486
1478
  /**
1487
1479
  * Action element to display in the search field.
1488
1480
  */
@@ -1607,8 +1599,14 @@ interface SelectComponent extends ForwardRefExoticComponent<SelectProps<object>
1607
1599
  }
1608
1600
  declare const _Select: SelectComponent;
1609
1601
 
1610
- interface SelectListItemProps extends Omit<RAC.GridListItemProps<object>, 'className' | 'style'> {
1602
+ type RemovedProps$9 = 'className' | 'style' | 'isDisabled';
1603
+ interface SelectListItemProps extends Omit<RAC.GridListItemProps<object>, RemovedProps$9> {
1611
1604
  children?: ReactNode;
1605
+ /**
1606
+ * Whether the item is disabled.
1607
+ * @default false
1608
+ */
1609
+ disabled?: RAC.GridListItemProps<object>['isDisabled'];
1612
1610
  }
1613
1611
  declare const _SelectListItem: react.ForwardRefExoticComponent<SelectListItemProps & react.RefAttributes<HTMLDivElement>>;
1614
1612
 
@@ -1683,11 +1681,17 @@ interface StackProps extends GapSpaceProp, AriaRegionProps {
1683
1681
  * Vertical alignment for the children.
1684
1682
  */
1685
1683
  alignY?: keyof typeof alignment.vertical.alignmentY;
1684
+ /**
1685
+ * Prop to make the stack rendered as a list element.
1686
+ * Useful for screen readers and accessibility.
1687
+ * @default false
1688
+ */
1689
+ asList?: boolean;
1686
1690
  }
1687
- declare const Stack: ({ children, space, stretch, alignX, alignY, ...props }: StackProps) => react_jsx_runtime.JSX.Element;
1691
+ declare const Stack: ({ children, space, stretch, alignX, alignY, asList, ...props }: StackProps) => react_jsx_runtime.JSX.Element;
1688
1692
 
1689
- type RemovedProps$7 = 'children' | 'className' | 'isDisabled' | 'isReadOnly' | 'isSelected' | 'children' | 'slot';
1690
- interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$7> {
1693
+ type RemovedProps$8 = 'children' | 'className' | 'isDisabled' | 'isReadOnly' | 'isSelected' | 'children' | 'slot';
1694
+ interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$8> {
1691
1695
  variant?: string;
1692
1696
  size?: string;
1693
1697
  /**
@@ -1770,7 +1774,8 @@ interface Table {
1770
1774
  Row: (props: RowProps) => JSX.Element;
1771
1775
  }
1772
1776
 
1773
- interface TextProps extends AriaLabelingProps, Omit<RAC.TextProps, 'elementType'>, TextAlignProp, FontSizeProp, FontWeightProp, FontStyleProp, CursorProp {
1777
+ type RemovedProps$7 = 'elementType' | keyof JSX.IntrinsicElements['div'] | keyof JSX.IntrinsicElements['span'] | keyof JSX.IntrinsicElements['p'];
1778
+ interface TextProps extends AriaLabelingProps, Omit<RAC.TextProps, RemovedProps$7>, TextAlignProp, FontSizeProp, FontWeightProp, FontStyleProp, CursorProp {
1774
1779
  /**
1775
1780
  * The children of the component
1776
1781
  */
@@ -1785,6 +1790,10 @@ interface TextProps extends AriaLabelingProps, Omit<RAC.TextProps, 'elementType'
1785
1790
  * @default "div"
1786
1791
  */
1787
1792
  as?: 'div' | 'p' | 'span';
1793
+ /**
1794
+ * A slot name for the component. Slots allow the component to receive props from a parent component.
1795
+ */
1796
+ slot?: string;
1788
1797
  variant?: string;
1789
1798
  size?: string;
1790
1799
  }
@@ -2075,4 +2084,4 @@ interface TimeFieldProps extends Omit<RAC.TimeFieldProps<TimeValue>, RemovedProp
2075
2084
  }
2076
2085
  declare const _TimeField: react.ForwardRefExoticComponent<TimeFieldProps & react.RefAttributes<HTMLInputElement>>;
2077
2086
 
2078
- export { Accordion, AccordionItem, type AccordionProps, ActionMenu, type GridAreaProps as AreaProps, Aside, type AsideProps, Aspect, type AspectProps, _Autocomplete as Autocomplete, type AutocompleteProps, Badge, type BadgeProps, Body, type BodyProps, Breakout, type BreakoutProps, _Button as Button, type ButtonProps, _Calendar as Calendar, type CalendarProps, Card, type CardProps, Center, type CenterProps, _Checkbox as Checkbox, type CheckboxComponent, _CheckboxGroup as CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type ColumnProps, Columns, type ColumnsProps, _ComboBox as ComboBox, type ComboBoxProps, Container, type ContainerProps, _ContextualHelp as ContextualHelp, type ContextualHelpProps, _DateField as DateField, type DateFieldProps, _DatePicker as DatePicker, type DatePickerProps, _Dialog as Dialog, type DialogProps, type DisclosureProps, _Divider as Divider, type DividerProps, Drawer, FieldBase, type FieldBaseProps, FieldGroup, FieldGroupContext, type FieldGroupContextProps, type FieldGroupProps, Footer, type FooterProps, _Form as Form, type FormProps, Grid, type GridProps, _Header as Header, type HeaderProps, _Headline as Headline, type HeadlineProps, Image, type ImageProps, Inline, type InlineProps, _Input as Input, type InputProps, Inset, type InsetProps, _Label as Label, type LabelProps, _Link as Link, type LinkProps, List, type ListProps, MarigoldProvider, type MarigoldProviderProps, _Menu as Menu, type MenuProps, _Modal as Modal, type ModalProps, Multiselect, NonModal, type NonModalProps, type NonModalRenderProps, _NumberField as NumberField, type NumberFieldProps, OverlayContainerProvider, _Pagination as Pagination, type PaginationProps, _Popover as Popover, type PopoverProps, _Radio as Radio, type RadioComponent, _RadioGroup as RadioGroup, type RadioGroupProps, type RadioProps, type RemovedProps$m as RemovedProps, type RowProps, Scrollable, type ScrollableProps, _SearchField as SearchField, type SearchFieldProps, SectionMessage, type SectionMessageProps, _Select as Select, type SelectComponent, _SelectList as SelectList, type SelectListProps, type SelectProps, _Slider as Slider, type SliderProps, Split, Stack, type StackProps, _Switch as Switch, type SwitchProps, Table, type TableProps, _Tabs as Tabs, type TabsProps, _Tag as Tag, type TagProps, type TemplateValue, _Text as Text, _TextArea as TextArea, type TextAreaProps, _TextField as TextField, type TextFieldProps, type TextProps, Tiles, type TilesProps, _TimeField as TimeField, type TimeFieldProps, _Tooltip as Tooltip, type TooltipProps, Underlay, type UnderlayProps, XLoader, type XLoaderProps, _ContextualHelp, gridColsAlign, gridColumn, useFieldGroupContext, usePortalContainer };
2087
+ export { Accordion, AccordionItem, type AccordionProps, ActionMenu, type GridAreaProps as AreaProps, Aside, type AsideProps, Aspect, type AspectProps, _Autocomplete as Autocomplete, type AutocompleteProps, Badge, type BadgeProps, Body, type BodyProps, Breakout, type BreakoutProps, _Button as Button, type ButtonProps, _Calendar as Calendar, type CalendarProps, Card, type CardProps, Center, type CenterProps, _Checkbox as Checkbox, type CheckboxComponent, _CheckboxGroup as CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type ColumnProps, Columns, type ColumnsProps, _ComboBox as ComboBox, type ComboBoxProps, Container, type ContainerProps, _ContextualHelp as ContextualHelp, type ContextualHelpProps, _DateField as DateField, type DateFieldProps, _DatePicker as DatePicker, type DatePickerProps, _Dialog as Dialog, type DialogProps, type DisclosureProps, _Divider as Divider, type DividerProps, Drawer, FieldBase, type FieldBaseProps, Footer, type FooterProps, _Form as Form, type FormProps, Grid, type GridProps, _Header as Header, type HeaderProps, _Headline as Headline, type HeadlineProps, Image, type ImageProps, Inline, type InlineProps, _Input as Input, type InputProps, Inset, type InsetProps, _Label as Label, type LabelProps, _Link as Link, type LinkProps, List, type ListProps, MarigoldProvider, type MarigoldProviderProps, _Menu as Menu, type MenuProps, _Modal as Modal, type ModalProps, Multiselect, NonModal, type NonModalProps, type NonModalRenderProps, _NumberField as NumberField, type NumberFieldProps, OverlayContainerProvider, _Pagination as Pagination, type PaginationProps, _Popover as Popover, type PopoverProps, _Radio as Radio, type RadioComponent, _RadioGroup as RadioGroup, type RadioGroupProps, type RadioProps, type RemovedProps$p as RemovedProps, type RowProps, Scrollable, type ScrollableProps, _SearchField as SearchField, type SearchFieldProps, SectionMessage, type SectionMessageProps, _Select as Select, type SelectComponent, _SelectList as SelectList, type SelectListProps, type SelectProps, _Slider as Slider, type SliderProps, Split, Stack, type StackProps, _Switch as Switch, type SwitchProps, Table, type TableProps, _Tabs as Tabs, type TabsProps, _Tag as Tag, type TagProps, type TemplateValue, _Text as Text, _TextArea as TextArea, type TextAreaProps, _TextField as TextField, type TextFieldProps, type TextProps, Tiles, type TilesProps, _TimeField as TimeField, type TimeFieldProps, _Tooltip as Tooltip, type TooltipProps, Underlay, type UnderlayProps, XLoader, type XLoaderProps, _ContextualHelp, gridColsAlign, gridColumn, usePortalContainer };