@marigold/components 12.0.5 → 14.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' | 'className' | 'style';
297
+ interface ButtonProps extends Omit<RAC.ButtonProps, RemovedProps$r> {
307
298
  variant?: string;
308
299
  size?: string;
309
300
  /**
@@ -311,10 +302,6 @@ interface ButtonProps extends Omit<RAC.ButtonProps, RemovedProps$o> {
311
302
  * @default false
312
303
  */
313
304
  fullWidth?: boolean;
314
- /**
315
- * Class of the component.
316
- */
317
- className?: string;
318
305
  /**
319
306
  * Children of the component
320
307
  */
@@ -337,7 +324,7 @@ interface CardProps extends GapSpaceProp, PaddingSpaceProp, PaddingRightProp, Pa
337
324
  variant?: string;
338
325
  size?: string;
339
326
  /**
340
- * Padding of the component. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
327
+ * Padding of the component. You can see allowed tokens [here](../../foundations/design-token#spacing).
341
328
  */
342
329
  p?: PaddingSpaceProp['space'];
343
330
  /**
@@ -345,7 +332,7 @@ interface CardProps extends GapSpaceProp, PaddingSpaceProp, PaddingRightProp, Pa
345
332
  */
346
333
  px?: PaddingSpacePropX['spaceX'];
347
334
  /**
348
- * Padding vertical (top and bottom) of the component. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
335
+ * Padding vertical (top and bottom) of the component. You can see allowed tokens [here](../../foundations/design-token#spacing).
349
336
  */
350
337
  py?: PaddingSpacePropY['spaceY'];
351
338
  }
@@ -361,8 +348,8 @@ interface CenterProps extends GapSpaceProp, AriaRegionProps {
361
348
  }
362
349
  declare const Center: ({ maxWidth, space, children, ...props }: CenterProps) => react_jsx_runtime.JSX.Element;
363
350
 
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'> {
351
+ type RemovedProps$q = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly';
352
+ interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$q>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
366
353
  /**
367
354
  * The children of the component
368
355
  */
@@ -402,8 +389,8 @@ interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$n
402
389
  }
403
390
  declare const _CheckboxGroup: ({ children, variant, size, required, disabled, readOnly, error, width, orientation, ...rest }: CheckboxGroupProps) => react_jsx_runtime.JSX.Element;
404
391
 
405
- type RemovedProps$m = 'children' | 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'isSelected' | 'isIndeterminate' | 'defaultSelected';
406
- interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$m> {
392
+ type RemovedProps$p = 'children' | 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'isSelected' | 'isIndeterminate' | 'defaultSelected';
393
+ interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$p> {
407
394
  variant?: string;
408
395
  size?: string;
409
396
  /**
@@ -441,6 +428,7 @@ interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$m> {
441
428
  error?: boolean;
442
429
  /**
443
430
  * Set the label of the checkbox.
431
+ * @default none
444
432
  *
445
433
  */
446
434
  label?: ReactNode;
@@ -590,14 +578,14 @@ interface DialogTitleProps {
590
578
  }
591
579
  declare const DialogTitle: ({ variant, size, children }: DialogTitleProps) => react_jsx_runtime.JSX.Element;
592
580
 
593
- type RemovedProps$l = 'children' | 'isOpen' | 'isDismissable' | 'isKeyboardDismissDisabled';
581
+ type RemovedProps$o = 'children' | 'isOpen' | 'isDismissable' | 'isKeyboardDismissDisabled';
594
582
  interface ModalProps$1 extends RAC.ModalOverlayProps {
595
583
  open?: boolean;
596
584
  dismissable?: boolean;
597
585
  keyboardDismissable?: boolean;
598
586
  size?: string;
599
587
  }
600
- interface DialogTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'>, Omit<ModalProps$1, RemovedProps$l> {
588
+ interface DialogTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'>, Omit<ModalProps$1, RemovedProps$o> {
601
589
  }
602
590
  declare const _DialogTrigger: ({ open, dismissable, keyboardDismissable, ...rest }: DialogTriggerProps) => ReactNode;
603
591
 
@@ -633,7 +621,8 @@ interface DialogProps extends Omit<RAC.DialogProps, 'className' | 'style'> {
633
621
  }
634
622
  declare const _Dialog: DialogComponent;
635
623
 
636
- interface DividerProps extends RAC.SeparatorProps {
624
+ type RemovedProps$n = 'className' | 'style';
625
+ interface DividerProps extends Omit<RAC.SeparatorProps, RemovedProps$n> {
637
626
  variant?: string;
638
627
  }
639
628
  declare const _Divider: ({ variant, ...props }: DividerProps) => react_jsx_runtime.JSX.Element;
@@ -834,8 +823,8 @@ interface InlineProps extends GapSpaceProp, AriaRegionProps {
834
823
  }
835
824
  declare const Inline: ({ space, alignX, alignY, children, ...props }: InlineProps) => react_jsx_runtime.JSX.Element;
836
825
 
837
- type RemovedProps$k = 'className' | 'style' | 'size';
838
- interface InputProps extends Omit<RAC.InputProps, RemovedProps$k> {
826
+ type RemovedProps$m = 'className' | 'style' | 'size';
827
+ interface InputProps extends Omit<RAC.InputProps, RemovedProps$m> {
839
828
  icon?: ReactElement<any>;
840
829
  action?: ReactElement<any>;
841
830
  variant?: string;
@@ -844,8 +833,8 @@ interface InputProps extends Omit<RAC.InputProps, RemovedProps$k> {
844
833
  }
845
834
  declare const _Input: react.ForwardRefExoticComponent<InputProps & react.RefAttributes<HTMLInputElement>>;
846
835
 
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'> {
836
+ type RemovedProps$l = 'className' | 'isRequired' | 'isDisabled' | 'isInvalid' | 'isReadOnly' | 'label' | 'children' | 'style';
837
+ interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProps$l>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
849
838
  variant?: string;
850
839
  size?: string;
851
840
  /**
@@ -880,8 +869,8 @@ interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProp
880
869
  }
881
870
  declare const _DateField: react.ForwardRefExoticComponent<DateFieldProps & react.RefAttributes<HTMLInputElement>>;
882
871
 
883
- type RemovedProps$i = 'visibleDuration' | 'pageBehavior' | 'isDateUnavailable' | 'isDisabled' | 'isReadOnly' | 'isInvalid' | 'errorMessage' | 'className' | 'style';
884
- interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$i> {
872
+ type RemovedProps$k = 'visibleDuration' | 'pageBehavior' | 'isDateUnavailable' | 'isDisabled' | 'isReadOnly' | 'isInvalid' | 'errorMessage' | 'className' | 'style';
873
+ interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$k> {
885
874
  /**
886
875
  * Disables the Calendar.
887
876
  * @default false
@@ -895,7 +884,8 @@ interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$
895
884
  variant?: string;
896
885
  size?: string;
897
886
  /**
898
- * Width of the calendar.
887
+ * Sets the width of the calendar. You can see allowed tokens here: https://tailwindcss.com/docs/width
888
+ * @default fit
899
889
  */
900
890
  width?: WidthProp['width'];
901
891
  /**
@@ -903,10 +893,10 @@ interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$
903
893
  */
904
894
  dateUnavailable?: RAC.CalendarProps<DateValue>['isDateUnavailable'];
905
895
  }
906
- declare const _Calendar: ({ disabled, readOnly, size, variant, dateUnavailable, ...rest }: CalendarProps) => react_jsx_runtime.JSX.Element;
896
+ declare const _Calendar: ({ disabled, readOnly, size, variant, width, dateUnavailable, ...rest }: CalendarProps) => react_jsx_runtime.JSX.Element;
907
897
 
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'> {
898
+ type RemovedProps$j = 'isDisabled' | 'isDateUnavailable' | 'isReadOnly' | 'isRequired' | 'isInvalid' | 'style' | 'className' | 'isOpen';
899
+ interface DatePickerProps extends Omit<RAC.DatePickerProps<DateValue>, RemovedProps$j>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
910
900
  /**
911
901
  * Callback that is called for each date of the calendar. If it returns true, then the date is unavailable.
912
902
  */
@@ -970,15 +960,15 @@ type InsetProps = (AriaRegionProps & {
970
960
  });
971
961
  declare const Inset: ({ space, spaceX, spaceY, children }: InsetProps) => react_jsx_runtime.JSX.Element;
972
962
 
973
- type RemovedProps$g = 'className';
974
- interface LabelProps extends Omit<RAC.LabelProps, RemovedProps$g> {
963
+ type RemovedProps$i = 'className';
964
+ interface LabelProps extends Omit<RAC.LabelProps, RemovedProps$i> {
975
965
  size?: string;
976
966
  variant?: string;
977
967
  }
978
968
  declare const _Label: ({ size, variant, children, ...props }: LabelProps) => react_jsx_runtime.JSX.Element;
979
969
 
980
- type RemovedProps$f = 'className' | 'isDisabled' | 'slot';
981
- interface LinkProps extends Omit<RAC.LinkProps, RemovedProps$f> {
970
+ type RemovedProps$h = 'className' | 'isDisabled' | 'slot';
971
+ interface LinkProps extends Omit<RAC.LinkProps, RemovedProps$h> {
982
972
  variant?: string;
983
973
  size?: string;
984
974
  /**
@@ -1014,14 +1004,14 @@ declare const List: {
1014
1004
  Item: ({ children, ...props }: ListItemProps) => react_jsx_runtime.JSX.Element;
1015
1005
  };
1016
1006
 
1017
- type RemovedProps$e = 'className' | 'style' | 'children';
1018
- interface MenuSectionProps extends Omit<RAC.SectionProps<object>, RemovedProps$e> {
1007
+ type RemovedProps$g = 'className' | 'style' | 'children';
1008
+ interface MenuSectionProps extends Omit<RAC.SectionProps<object>, RemovedProps$g> {
1019
1009
  title?: string;
1020
1010
  children: ReactNode;
1021
1011
  }
1022
1012
 
1023
- type RemovedProps$d = 'style' | 'className';
1024
- type MenuItemProps = Omit<RAC.MenuItemProps, RemovedProps$d>;
1013
+ type RemovedProps$f = 'style' | 'className';
1014
+ type MenuItemProps = Omit<RAC.MenuItemProps, RemovedProps$f>;
1025
1015
 
1026
1016
  interface PopoverProps extends Omit<RAC.PopoverProps, 'isOpen' | 'isKeyboardDismissDisabled' | 'style' | 'className' | 'children'> {
1027
1017
  keyboardDismissDisabled?: boolean;
@@ -1031,8 +1021,8 @@ interface PopoverProps extends Omit<RAC.PopoverProps, 'isOpen' | 'isKeyboardDism
1031
1021
  }
1032
1022
  declare const _Popover: react.ForwardRefExoticComponent<PopoverProps & react.RefAttributes<HTMLDivElement>>;
1033
1023
 
1034
- type RemovedProps$c = 'isOpen' | 'className' | 'style' | 'children';
1035
- interface MenuProps extends Omit<RAC.MenuTriggerProps, RemovedProps$c>, Omit<RAC.MenuProps<object>, RemovedProps$c> {
1024
+ type RemovedProps$e = 'isOpen' | 'className' | 'style' | 'children';
1025
+ interface MenuProps extends Omit<RAC.MenuTriggerProps, RemovedProps$e>, Omit<RAC.MenuProps<object>, RemovedProps$e> {
1036
1026
  /**
1037
1027
  * Whether the menu is open.
1038
1028
  * @default false
@@ -1221,10 +1211,10 @@ interface MultipleSelectProps extends Pick<FieldBaseProps<'label'>, 'width' | 's
1221
1211
  */
1222
1212
  ariaLiveMessages?: Props['ariaLiveMessages'];
1223
1213
  }
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;
1214
+ 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
1215
 
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'> {
1216
+ type RemovedProps$d = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'size';
1217
+ interface NumberFieldProps extends Omit<RAC.NumberFieldProps, RemovedProps$d>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1228
1218
  variant?: string;
1229
1219
  size?: string;
1230
1220
  /**
@@ -1395,15 +1385,15 @@ declare function MarigoldProvider<T extends Theme>({ children, className, theme,
1395
1385
  declare const OverlayContainerProvider: react.Provider<string | undefined>;
1396
1386
  declare const usePortalContainer: () => HTMLElement | undefined;
1397
1387
 
1398
- type RemovedProps$a = 'className' | 'style' | 'isDisabled' | 'isInvalid' | 'isRequired' | 'isSelected';
1399
- interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$a> {
1388
+ type RemovedProps$c = 'className' | 'style' | 'isDisabled' | 'isInvalid' | 'isRequired' | 'isSelected';
1389
+ interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$c> {
1400
1390
  variant?: string;
1401
1391
  size?: string;
1402
1392
  /**
1403
1393
  * Set the label of the radio group.
1404
1394
  * @default none
1405
1395
  */
1406
- label?: string;
1396
+ label?: ReactNode;
1407
1397
  /**
1408
1398
  * Set the radio group help text.
1409
1399
  * @default none
@@ -1455,8 +1445,8 @@ interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$a> {
1455
1445
  }
1456
1446
  declare const _RadioGroup: ({ variant, size, label, error, disabled, required, readOnly, description, errorMessage, orientation, children, width, ...rest }: RadioGroupProps) => react_jsx_runtime.JSX.Element;
1457
1447
 
1458
- type RemovedProps$9 = 'className' | 'style' | 'children' | 'isDisabled';
1459
- interface RadioProps extends Omit<RAC.RadioProps, RemovedProps$9> {
1448
+ type RemovedProps$b = 'className' | 'style' | 'children' | 'isDisabled';
1449
+ interface RadioProps extends Omit<RAC.RadioProps, RemovedProps$b> {
1460
1450
  variant?: string;
1461
1451
  size?: string;
1462
1452
  /**
@@ -1481,8 +1471,8 @@ interface RadioComponent extends ForwardRefExoticComponent<RadioProps & RefAttri
1481
1471
  Group: typeof _RadioGroup;
1482
1472
  }
1483
1473
 
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'> {
1474
+ type RemovedProps$a = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
1475
+ interface SearchFieldProps extends Omit<RAC.SearchFieldProps, RemovedProps$a>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1486
1476
  /**
1487
1477
  * Action element to display in the search field.
1488
1478
  */
@@ -1537,7 +1527,7 @@ interface SelectProps<T extends object> extends Omit<RAC.SelectProps<T>, RemoveP
1537
1527
  /**
1538
1528
  * Set a label for the select.
1539
1529
  */
1540
- label?: string;
1530
+ label?: ReactNode;
1541
1531
  /**
1542
1532
  * Set a description for the select.
1543
1533
  */
@@ -1607,8 +1597,19 @@ interface SelectComponent extends ForwardRefExoticComponent<SelectProps<object>
1607
1597
  }
1608
1598
  declare const _Select: SelectComponent;
1609
1599
 
1610
- interface SelectListItemProps extends Omit<RAC.GridListItemProps<object>, 'className' | 'style'> {
1600
+ interface SelectListAction {
1601
+ children: ReactNode;
1602
+ }
1603
+ declare const SelectListAction: ({ children }: SelectListAction) => react_jsx_runtime.JSX.Element;
1604
+
1605
+ type RemovedProps$9 = 'className' | 'style' | 'isDisabled';
1606
+ interface SelectListItemProps extends Omit<RAC.GridListItemProps<object>, RemovedProps$9> {
1611
1607
  children?: ReactNode;
1608
+ /**
1609
+ * Whether the item is disabled.
1610
+ * @default false
1611
+ */
1612
+ disabled?: RAC.GridListItemProps<object>['isDisabled'];
1612
1613
  }
1613
1614
  declare const _SelectListItem: react.ForwardRefExoticComponent<SelectListItemProps & react.RefAttributes<HTMLDivElement>>;
1614
1615
 
@@ -1624,6 +1625,7 @@ interface SelectListComponent extends ForwardRefExoticComponent<SelectListProps
1624
1625
  * Items of the SelectList.
1625
1626
  */
1626
1627
  Item: typeof _SelectListItem;
1628
+ Action: typeof SelectListAction;
1627
1629
  }
1628
1630
  declare const _SelectList: SelectListComponent;
1629
1631
 
@@ -1683,11 +1685,17 @@ interface StackProps extends GapSpaceProp, AriaRegionProps {
1683
1685
  * Vertical alignment for the children.
1684
1686
  */
1685
1687
  alignY?: keyof typeof alignment.vertical.alignmentY;
1688
+ /**
1689
+ * Prop to make the stack rendered as a list element.
1690
+ * Useful for screen readers and accessibility.
1691
+ * @default false
1692
+ */
1693
+ asList?: boolean;
1686
1694
  }
1687
- declare const Stack: ({ children, space, stretch, alignX, alignY, ...props }: StackProps) => react_jsx_runtime.JSX.Element;
1695
+ declare const Stack: ({ children, space, stretch, alignX, alignY, asList, ...props }: StackProps) => react_jsx_runtime.JSX.Element;
1688
1696
 
1689
- type RemovedProps$7 = 'children' | 'className' | 'isDisabled' | 'isReadOnly' | 'isSelected' | 'children' | 'slot';
1690
- interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$7> {
1697
+ type RemovedProps$8 = 'children' | 'className' | 'isDisabled' | 'isReadOnly' | 'isSelected' | 'children' | 'slot';
1698
+ interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$8> {
1691
1699
  variant?: string;
1692
1700
  size?: string;
1693
1701
  /**
@@ -1770,7 +1778,8 @@ interface Table {
1770
1778
  Row: (props: RowProps) => JSX.Element;
1771
1779
  }
1772
1780
 
1773
- interface TextProps extends AriaLabelingProps, Omit<RAC.TextProps, 'elementType'>, TextAlignProp, FontSizeProp, FontWeightProp, FontStyleProp, CursorProp {
1781
+ type RemovedProps$7 = 'elementType' | keyof JSX.IntrinsicElements['div'] | keyof JSX.IntrinsicElements['span'] | keyof JSX.IntrinsicElements['p'];
1782
+ interface TextProps extends AriaLabelingProps, Omit<RAC.TextProps, RemovedProps$7>, TextAlignProp, FontSizeProp, FontWeightProp, FontStyleProp, CursorProp {
1774
1783
  /**
1775
1784
  * The children of the component
1776
1785
  */
@@ -1785,6 +1794,10 @@ interface TextProps extends AriaLabelingProps, Omit<RAC.TextProps, 'elementType'
1785
1794
  * @default "div"
1786
1795
  */
1787
1796
  as?: 'div' | 'p' | 'span';
1797
+ /**
1798
+ * A slot name for the component. Slots allow the component to receive props from a parent component.
1799
+ */
1800
+ slot?: string;
1788
1801
  variant?: string;
1789
1802
  size?: string;
1790
1803
  }
@@ -2075,4 +2088,4 @@ interface TimeFieldProps extends Omit<RAC.TimeFieldProps<TimeValue>, RemovedProp
2075
2088
  }
2076
2089
  declare const _TimeField: react.ForwardRefExoticComponent<TimeFieldProps & react.RefAttributes<HTMLInputElement>>;
2077
2090
 
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 };
2091
+ 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 };