@marigold/components 11.5.0 → 12.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.mts CHANGED
@@ -1,13 +1,13 @@
1
1
  import { Orientation, RefObject, AriaLabelingProps as AriaLabelingProps$1 } from '@react-types/shared';
2
2
  export { Selection } from '@react-types/shared';
3
3
  export { useAsyncList, useListData } from '@react-stately/data';
4
+ import { GapSpaceProp, AspectProp, WidthProp, PaddingSpaceProp, PaddingRightProp, PaddingLeftProp, PaddingBottomProp, PaddingTopProp, PaddingSpacePropX, PaddingSpacePropY, PlaceItemsProp, MaxWidthProp, HeightProp, TextAlignProp, ObjectFitProp, ObjectPositionProp, alignment, Theme, ThemeProviderProps, FontSizeProp, FontWeightProp, FontStyleProp, CursorProp } from '@marigold/system';
5
+ export { DateFormat, NumericFormat, ThemeProvider, useTheme } from '@marigold/system';
4
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
7
  import RAC, { ValidationResult, Key, DialogProps as DialogProps$1, DateValue, SlotProps, TagListProps, ProgressBarProps } from 'react-aria-components';
6
8
  export { RouterProvider } from 'react-aria-components';
7
9
  import * as react from 'react';
8
10
  import react__default, { ReactNode, ReactElement, ElementType, ComponentPropsWithRef, ForwardRefExoticComponent, RefAttributes, Key as Key$1, CSSProperties, Dispatch, SetStateAction, JSX } from 'react';
9
- import { GapSpaceProp, AspectProp, WidthProp, PaddingSpaceProp, PaddingRightProp, PaddingLeftProp, PaddingBottomProp, PaddingTopProp, PaddingSpacePropX, PaddingSpacePropY, PlaceItemsProp, MaxWidthProp, HeightProp, TextAlignProp, ObjectFitProp, ObjectPositionProp, alignment, Theme, ThemeProviderProps, FontSizeProp, FontWeightProp, FontStyleProp, CursorProp } from '@marigold/system';
10
- export { ThemeProvider, useTheme } from '@marigold/system';
11
11
  import { AriaRegionProps, NonZeroPercentage, DistributiveOmit, HtmlProps, AriaLabelingProps } from '@marigold/types';
12
12
  import { AriaLandmarkRole } from '@react-aria/landmark';
13
13
  import { Props } from 'react-select';
@@ -127,8 +127,7 @@ interface FieldGroupProps {
127
127
  }
128
128
  declare const FieldGroup: ({ labelWidth, children }: FieldGroupProps) => react_jsx_runtime.JSX.Element;
129
129
 
130
- interface ListBoxItemProps extends Omit<RAC.ListBoxItemProps, 'style' | 'className'> {
131
- }
130
+ type ListBoxItemProps = Omit<RAC.ListBoxItemProps, 'style' | 'className'>;
132
131
  declare const _ListBoxItem: ({ ...props }: ListBoxItemProps) => react_jsx_runtime.JSX.Element;
133
132
 
134
133
  interface SectionProps extends Omit<RAC.SectionProps<object>, 'className' | 'style' | 'children'> {
@@ -403,8 +402,10 @@ interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$m
403
402
  }
404
403
  declare const _CheckboxGroup: ({ children, variant, size, required, disabled, readOnly, error, width, orientation, ...rest }: CheckboxGroupProps) => react_jsx_runtime.JSX.Element;
405
404
 
406
- type RemovedProps$l = 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'isSelected' | 'isIndeterminate' | 'defaultSelected';
405
+ type RemovedProps$l = 'children' | 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'isSelected' | 'isIndeterminate' | 'defaultSelected';
407
406
  interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$l> {
407
+ variant?: string;
408
+ size?: string;
408
409
  /**
409
410
  * Whether the element should be checked (controlled).
410
411
  */
@@ -438,13 +439,6 @@ interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$l> {
438
439
  * @default false
439
440
  */
440
441
  error?: boolean;
441
- variant?: string;
442
- size?: string;
443
- /**
444
- * Children of the checkbox.
445
- * @deprecated Will be removed in the next major version. Use `label` prop instead.
446
- */
447
- children?: ReactNode;
448
442
  /**
449
443
  * Set the label of the checkbox.
450
444
  *
@@ -550,7 +544,7 @@ interface ModalProps$1 extends RAC.ModalOverlayProps {
550
544
  }
551
545
  interface DialogTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'>, Omit<ModalProps$1, RemovedProps$k> {
552
546
  }
553
- declare const _DialogTrigger: ({ open, dismissable, keyboardDismissable, size, ...rest }: DialogTriggerProps) => ReactNode;
547
+ declare const _DialogTrigger: ({ open, dismissable, keyboardDismissable, ...rest }: DialogTriggerProps) => ReactNode;
554
548
 
555
549
  interface DialogComponent extends ForwardRefExoticComponent<DialogProps & RefAttributes<HTMLInputElement>> {
556
550
  /**
@@ -964,8 +958,7 @@ interface MenuSectionProps extends Omit<RAC.SectionProps<object>, RemovedProps$d
964
958
  }
965
959
 
966
960
  type RemovedProps$c = 'style' | 'className';
967
- interface MenuItemProps extends Omit<RAC.MenuItemProps, RemovedProps$c> {
968
- }
961
+ type MenuItemProps = Omit<RAC.MenuItemProps, RemovedProps$c>;
969
962
 
970
963
  interface PopoverProps extends Omit<RAC.PopoverProps, 'isOpen' | 'isKeyboardDismissDisabled' | 'style' | 'className' | 'children'> {
971
964
  keyboardDismissDisabled?: boolean;
@@ -1333,8 +1326,7 @@ interface PaginationProps {
1333
1326
  }
1334
1327
  declare const _Pagination: ({ defaultPage, page, totalItems, pageSize, ...props }: PaginationProps) => react_jsx_runtime.JSX.Element;
1335
1328
 
1336
- interface MarigoldProviderProps<T extends Theme> extends ThemeProviderProps<T> {
1337
- }
1329
+ type MarigoldProviderProps<T extends Theme> = ThemeProviderProps<T>;
1338
1330
  declare function MarigoldProvider<T extends Theme>({ children, className, theme, }: MarigoldProviderProps<T>): react_jsx_runtime.JSX.Element;
1339
1331
 
1340
1332
  declare const OverlayContainerProvider: react.Provider<string | undefined>;
@@ -1584,7 +1576,9 @@ interface ScrollableProps extends WidthProp, AriaRegionProps {
1584
1576
  }
1585
1577
  declare const Scrollable: ({ children, width, height, ...props }: ScrollableProps) => react_jsx_runtime.JSX.Element;
1586
1578
 
1587
- interface SliderProps<T> extends Omit<RAC.SliderProps<T>, 'isDisabled' | 'orientation'>, Pick<FieldBaseProps<'label'>, 'description'> {
1579
+ interface SliderProps<T> extends Omit<RAC.SliderProps<T>, 'children' | 'isDisabled' | 'orientation'>, Pick<FieldBaseProps<'label'>, 'description'> {
1580
+ variant?: string;
1581
+ size?: string;
1588
1582
  /**
1589
1583
  * Labels for the thumbs in the slider. Also used for the name when submitting the form.
1590
1584
  */
@@ -1594,26 +1588,18 @@ interface SliderProps<T> extends Omit<RAC.SliderProps<T>, 'isDisabled' | 'orient
1594
1588
  * @default full
1595
1589
  */
1596
1590
  width?: WidthProp['width'];
1597
- variant?: string;
1598
- size?: string;
1599
1591
  /**
1600
1592
  * If `true`, the input is disabled.
1601
1593
  * @default false
1602
1594
  */
1603
1595
  disabled?: boolean;
1604
- /**
1605
- * @deprecated Will be removed in the next major version. Use `label` prop instead.
1606
- */
1607
- children?: ReactNode;
1608
1596
  /**
1609
1597
  * Set the label of the slider.
1610
1598
  */
1611
1599
  label?: string;
1612
1600
  }
1613
- declare const _Slider: react__default.ForwardRefExoticComponent<SliderProps<number | number[]> & react__default.RefAttributes<HTMLDivElement>>;
1601
+ declare const _Slider: react.ForwardRefExoticComponent<SliderProps<number | number[]> & react.RefAttributes<HTMLDivElement>>;
1614
1602
 
1615
- interface SplitProps {
1616
- }
1617
1603
  declare const Split: () => react_jsx_runtime.JSX.Element;
1618
1604
 
1619
1605
  interface StackProps extends GapSpaceProp, AriaRegionProps {
@@ -1637,15 +1623,10 @@ interface StackProps extends GapSpaceProp, AriaRegionProps {
1637
1623
  }
1638
1624
  declare const Stack: ({ children, space, stretch, alignX, alignY, ...props }: StackProps) => react_jsx_runtime.JSX.Element;
1639
1625
 
1640
- type RemovedProps$6 = 'className' | 'isDisabled' | 'isReadOnly' | 'isSelected' | 'children' | 'slot';
1626
+ type RemovedProps$6 = 'children' | 'className' | 'isDisabled' | 'isReadOnly' | 'isSelected' | 'children' | 'slot';
1641
1627
  interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$6> {
1642
1628
  variant?: string;
1643
1629
  size?: string;
1644
- /**
1645
- * The children of the switch.
1646
- * @deprecated Will be removed in the next major version. Use `label` prop instead.
1647
- */
1648
- children?: ReactNode;
1649
1630
  /**
1650
1631
  * Set the label of the switch.
1651
1632
  */
@@ -1908,7 +1889,7 @@ declare const _Tooltip: {
1908
1889
  };
1909
1890
 
1910
1891
  type RemovedProps$1 = 'className' | 'style' | 'children' | 'isRequired';
1911
- interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps$1>, Pick<TagListProps<object>, 'items' | 'children' | 'renderEmptyState'>, Pick<FieldBaseProps<'label'>, 'label' | 'description'> {
1892
+ interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps$1>, Pick<TagListProps<object>, 'items' | 'children'>, Pick<FieldBaseProps<'label'>, 'label' | 'description'> {
1912
1893
  variant?: string;
1913
1894
  size?: string;
1914
1895
  /**
@@ -1917,10 +1898,13 @@ interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps$1>, Pick<Ta
1917
1898
  */
1918
1899
  width?: WidthProp['width'];
1919
1900
  /**
1920
- * Displays a remove button on each tag.
1921
- * @default false
1901
+ * The name of the field, used when submitting form data.
1922
1902
  */
1923
- allowsRemoving?: boolean;
1903
+ name?: string;
1904
+ /**
1905
+ * Provides content to display when there are no items in the tag list.
1906
+ */
1907
+ emptyState?: TagListProps<object>['renderEmptyState'];
1924
1908
  }
1925
1909
 
1926
1910
  type RemovedProps = 'className' | 'style' | 'isDisabled';
@@ -1932,7 +1916,7 @@ interface TagProps extends Omit<RAC.TagProps, RemovedProps> {
1932
1916
  }
1933
1917
  declare const _Tag: {
1934
1918
  ({ variant, size, children, disabled, ...rest }: TagProps): react_jsx_runtime.JSX.Element;
1935
- Group: ({ width, items, children, renderEmptyState, variant, size, ...rest }: TagGroupProps) => react_jsx_runtime.JSX.Element;
1919
+ Group: ({ width, items, children, emptyState, variant, size, name, ...rest }: TagGroupProps) => react_jsx_runtime.JSX.Element;
1936
1920
  };
1937
1921
 
1938
1922
  interface LoaderProps extends Pick<ProgressBarProps, 'id' | 'aria-label' | 'aria-labelledby' | 'aria-describedby' | 'aria-details'> {
@@ -1953,13 +1937,11 @@ interface XLoaderProps extends LoaderProps {
1953
1937
  }
1954
1938
  declare const XLoader: ({ mode, variant, ...props }: XLoaderProps) => react_jsx_runtime.JSX.Element;
1955
1939
 
1956
- interface TabProps extends Omit<RAC.TabProps, 'className' | 'style'> {
1957
- }
1940
+ type TabProps = Omit<RAC.TabProps, 'className' | 'style'>;
1958
1941
 
1959
- interface TabPanelProps extends Omit<RAC.TabPanelProps, 'className' | 'style'> {
1960
- }
1942
+ type TabPanelProps = Omit<RAC.TabPanelProps, 'className' | 'style'>;
1961
1943
 
1962
- interface TabListProps extends Omit<RAC.TabListProps<Object>, 'className' | 'style'>, GapSpaceProp {
1944
+ interface TabListProps extends Omit<RAC.TabListProps<object>, 'className' | 'style'>, GapSpaceProp {
1963
1945
  }
1964
1946
 
1965
1947
  interface TabsProps extends Omit<RAC.TabsProps, 'className' | 'style' | 'isDisabled' | 'orientation' | 'slot'> {
@@ -1978,4 +1960,4 @@ declare const _Tabs: {
1978
1960
  Item: (props: TabProps) => react_jsx_runtime.JSX.Element;
1979
1961
  };
1980
1962
 
1981
- 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, _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$l 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, type SplitProps, 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, _Tooltip as Tooltip, type TooltipProps, Underlay, type UnderlayProps, XLoader, type XLoaderProps, _Calendar, gridColsAlign, gridColumn, useFieldGroupContext, usePortalContainer };
1963
+ 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, _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$l 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, _Tooltip as Tooltip, type TooltipProps, Underlay, type UnderlayProps, XLoader, type XLoaderProps, _Calendar, gridColsAlign, gridColumn, useFieldGroupContext, usePortalContainer };
package/dist/index.d.ts CHANGED
@@ -1,13 +1,13 @@
1
1
  import { Orientation, RefObject, AriaLabelingProps as AriaLabelingProps$1 } from '@react-types/shared';
2
2
  export { Selection } from '@react-types/shared';
3
3
  export { useAsyncList, useListData } from '@react-stately/data';
4
+ import { GapSpaceProp, AspectProp, WidthProp, PaddingSpaceProp, PaddingRightProp, PaddingLeftProp, PaddingBottomProp, PaddingTopProp, PaddingSpacePropX, PaddingSpacePropY, PlaceItemsProp, MaxWidthProp, HeightProp, TextAlignProp, ObjectFitProp, ObjectPositionProp, alignment, Theme, ThemeProviderProps, FontSizeProp, FontWeightProp, FontStyleProp, CursorProp } from '@marigold/system';
5
+ export { DateFormat, NumericFormat, ThemeProvider, useTheme } from '@marigold/system';
4
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
7
  import RAC, { ValidationResult, Key, DialogProps as DialogProps$1, DateValue, SlotProps, TagListProps, ProgressBarProps } from 'react-aria-components';
6
8
  export { RouterProvider } from 'react-aria-components';
7
9
  import * as react from 'react';
8
10
  import react__default, { ReactNode, ReactElement, ElementType, ComponentPropsWithRef, ForwardRefExoticComponent, RefAttributes, Key as Key$1, CSSProperties, Dispatch, SetStateAction, JSX } from 'react';
9
- import { GapSpaceProp, AspectProp, WidthProp, PaddingSpaceProp, PaddingRightProp, PaddingLeftProp, PaddingBottomProp, PaddingTopProp, PaddingSpacePropX, PaddingSpacePropY, PlaceItemsProp, MaxWidthProp, HeightProp, TextAlignProp, ObjectFitProp, ObjectPositionProp, alignment, Theme, ThemeProviderProps, FontSizeProp, FontWeightProp, FontStyleProp, CursorProp } from '@marigold/system';
10
- export { ThemeProvider, useTheme } from '@marigold/system';
11
11
  import { AriaRegionProps, NonZeroPercentage, DistributiveOmit, HtmlProps, AriaLabelingProps } from '@marigold/types';
12
12
  import { AriaLandmarkRole } from '@react-aria/landmark';
13
13
  import { Props } from 'react-select';
@@ -127,8 +127,7 @@ interface FieldGroupProps {
127
127
  }
128
128
  declare const FieldGroup: ({ labelWidth, children }: FieldGroupProps) => react_jsx_runtime.JSX.Element;
129
129
 
130
- interface ListBoxItemProps extends Omit<RAC.ListBoxItemProps, 'style' | 'className'> {
131
- }
130
+ type ListBoxItemProps = Omit<RAC.ListBoxItemProps, 'style' | 'className'>;
132
131
  declare const _ListBoxItem: ({ ...props }: ListBoxItemProps) => react_jsx_runtime.JSX.Element;
133
132
 
134
133
  interface SectionProps extends Omit<RAC.SectionProps<object>, 'className' | 'style' | 'children'> {
@@ -403,8 +402,10 @@ interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$m
403
402
  }
404
403
  declare const _CheckboxGroup: ({ children, variant, size, required, disabled, readOnly, error, width, orientation, ...rest }: CheckboxGroupProps) => react_jsx_runtime.JSX.Element;
405
404
 
406
- type RemovedProps$l = 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'isSelected' | 'isIndeterminate' | 'defaultSelected';
405
+ type RemovedProps$l = 'children' | 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'isSelected' | 'isIndeterminate' | 'defaultSelected';
407
406
  interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$l> {
407
+ variant?: string;
408
+ size?: string;
408
409
  /**
409
410
  * Whether the element should be checked (controlled).
410
411
  */
@@ -438,13 +439,6 @@ interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$l> {
438
439
  * @default false
439
440
  */
440
441
  error?: boolean;
441
- variant?: string;
442
- size?: string;
443
- /**
444
- * Children of the checkbox.
445
- * @deprecated Will be removed in the next major version. Use `label` prop instead.
446
- */
447
- children?: ReactNode;
448
442
  /**
449
443
  * Set the label of the checkbox.
450
444
  *
@@ -550,7 +544,7 @@ interface ModalProps$1 extends RAC.ModalOverlayProps {
550
544
  }
551
545
  interface DialogTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'>, Omit<ModalProps$1, RemovedProps$k> {
552
546
  }
553
- declare const _DialogTrigger: ({ open, dismissable, keyboardDismissable, size, ...rest }: DialogTriggerProps) => ReactNode;
547
+ declare const _DialogTrigger: ({ open, dismissable, keyboardDismissable, ...rest }: DialogTriggerProps) => ReactNode;
554
548
 
555
549
  interface DialogComponent extends ForwardRefExoticComponent<DialogProps & RefAttributes<HTMLInputElement>> {
556
550
  /**
@@ -964,8 +958,7 @@ interface MenuSectionProps extends Omit<RAC.SectionProps<object>, RemovedProps$d
964
958
  }
965
959
 
966
960
  type RemovedProps$c = 'style' | 'className';
967
- interface MenuItemProps extends Omit<RAC.MenuItemProps, RemovedProps$c> {
968
- }
961
+ type MenuItemProps = Omit<RAC.MenuItemProps, RemovedProps$c>;
969
962
 
970
963
  interface PopoverProps extends Omit<RAC.PopoverProps, 'isOpen' | 'isKeyboardDismissDisabled' | 'style' | 'className' | 'children'> {
971
964
  keyboardDismissDisabled?: boolean;
@@ -1333,8 +1326,7 @@ interface PaginationProps {
1333
1326
  }
1334
1327
  declare const _Pagination: ({ defaultPage, page, totalItems, pageSize, ...props }: PaginationProps) => react_jsx_runtime.JSX.Element;
1335
1328
 
1336
- interface MarigoldProviderProps<T extends Theme> extends ThemeProviderProps<T> {
1337
- }
1329
+ type MarigoldProviderProps<T extends Theme> = ThemeProviderProps<T>;
1338
1330
  declare function MarigoldProvider<T extends Theme>({ children, className, theme, }: MarigoldProviderProps<T>): react_jsx_runtime.JSX.Element;
1339
1331
 
1340
1332
  declare const OverlayContainerProvider: react.Provider<string | undefined>;
@@ -1584,7 +1576,9 @@ interface ScrollableProps extends WidthProp, AriaRegionProps {
1584
1576
  }
1585
1577
  declare const Scrollable: ({ children, width, height, ...props }: ScrollableProps) => react_jsx_runtime.JSX.Element;
1586
1578
 
1587
- interface SliderProps<T> extends Omit<RAC.SliderProps<T>, 'isDisabled' | 'orientation'>, Pick<FieldBaseProps<'label'>, 'description'> {
1579
+ interface SliderProps<T> extends Omit<RAC.SliderProps<T>, 'children' | 'isDisabled' | 'orientation'>, Pick<FieldBaseProps<'label'>, 'description'> {
1580
+ variant?: string;
1581
+ size?: string;
1588
1582
  /**
1589
1583
  * Labels for the thumbs in the slider. Also used for the name when submitting the form.
1590
1584
  */
@@ -1594,26 +1588,18 @@ interface SliderProps<T> extends Omit<RAC.SliderProps<T>, 'isDisabled' | 'orient
1594
1588
  * @default full
1595
1589
  */
1596
1590
  width?: WidthProp['width'];
1597
- variant?: string;
1598
- size?: string;
1599
1591
  /**
1600
1592
  * If `true`, the input is disabled.
1601
1593
  * @default false
1602
1594
  */
1603
1595
  disabled?: boolean;
1604
- /**
1605
- * @deprecated Will be removed in the next major version. Use `label` prop instead.
1606
- */
1607
- children?: ReactNode;
1608
1596
  /**
1609
1597
  * Set the label of the slider.
1610
1598
  */
1611
1599
  label?: string;
1612
1600
  }
1613
- declare const _Slider: react__default.ForwardRefExoticComponent<SliderProps<number | number[]> & react__default.RefAttributes<HTMLDivElement>>;
1601
+ declare const _Slider: react.ForwardRefExoticComponent<SliderProps<number | number[]> & react.RefAttributes<HTMLDivElement>>;
1614
1602
 
1615
- interface SplitProps {
1616
- }
1617
1603
  declare const Split: () => react_jsx_runtime.JSX.Element;
1618
1604
 
1619
1605
  interface StackProps extends GapSpaceProp, AriaRegionProps {
@@ -1637,15 +1623,10 @@ interface StackProps extends GapSpaceProp, AriaRegionProps {
1637
1623
  }
1638
1624
  declare const Stack: ({ children, space, stretch, alignX, alignY, ...props }: StackProps) => react_jsx_runtime.JSX.Element;
1639
1625
 
1640
- type RemovedProps$6 = 'className' | 'isDisabled' | 'isReadOnly' | 'isSelected' | 'children' | 'slot';
1626
+ type RemovedProps$6 = 'children' | 'className' | 'isDisabled' | 'isReadOnly' | 'isSelected' | 'children' | 'slot';
1641
1627
  interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$6> {
1642
1628
  variant?: string;
1643
1629
  size?: string;
1644
- /**
1645
- * The children of the switch.
1646
- * @deprecated Will be removed in the next major version. Use `label` prop instead.
1647
- */
1648
- children?: ReactNode;
1649
1630
  /**
1650
1631
  * Set the label of the switch.
1651
1632
  */
@@ -1908,7 +1889,7 @@ declare const _Tooltip: {
1908
1889
  };
1909
1890
 
1910
1891
  type RemovedProps$1 = 'className' | 'style' | 'children' | 'isRequired';
1911
- interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps$1>, Pick<TagListProps<object>, 'items' | 'children' | 'renderEmptyState'>, Pick<FieldBaseProps<'label'>, 'label' | 'description'> {
1892
+ interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps$1>, Pick<TagListProps<object>, 'items' | 'children'>, Pick<FieldBaseProps<'label'>, 'label' | 'description'> {
1912
1893
  variant?: string;
1913
1894
  size?: string;
1914
1895
  /**
@@ -1917,10 +1898,13 @@ interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps$1>, Pick<Ta
1917
1898
  */
1918
1899
  width?: WidthProp['width'];
1919
1900
  /**
1920
- * Displays a remove button on each tag.
1921
- * @default false
1901
+ * The name of the field, used when submitting form data.
1922
1902
  */
1923
- allowsRemoving?: boolean;
1903
+ name?: string;
1904
+ /**
1905
+ * Provides content to display when there are no items in the tag list.
1906
+ */
1907
+ emptyState?: TagListProps<object>['renderEmptyState'];
1924
1908
  }
1925
1909
 
1926
1910
  type RemovedProps = 'className' | 'style' | 'isDisabled';
@@ -1932,7 +1916,7 @@ interface TagProps extends Omit<RAC.TagProps, RemovedProps> {
1932
1916
  }
1933
1917
  declare const _Tag: {
1934
1918
  ({ variant, size, children, disabled, ...rest }: TagProps): react_jsx_runtime.JSX.Element;
1935
- Group: ({ width, items, children, renderEmptyState, variant, size, ...rest }: TagGroupProps) => react_jsx_runtime.JSX.Element;
1919
+ Group: ({ width, items, children, emptyState, variant, size, name, ...rest }: TagGroupProps) => react_jsx_runtime.JSX.Element;
1936
1920
  };
1937
1921
 
1938
1922
  interface LoaderProps extends Pick<ProgressBarProps, 'id' | 'aria-label' | 'aria-labelledby' | 'aria-describedby' | 'aria-details'> {
@@ -1953,13 +1937,11 @@ interface XLoaderProps extends LoaderProps {
1953
1937
  }
1954
1938
  declare const XLoader: ({ mode, variant, ...props }: XLoaderProps) => react_jsx_runtime.JSX.Element;
1955
1939
 
1956
- interface TabProps extends Omit<RAC.TabProps, 'className' | 'style'> {
1957
- }
1940
+ type TabProps = Omit<RAC.TabProps, 'className' | 'style'>;
1958
1941
 
1959
- interface TabPanelProps extends Omit<RAC.TabPanelProps, 'className' | 'style'> {
1960
- }
1942
+ type TabPanelProps = Omit<RAC.TabPanelProps, 'className' | 'style'>;
1961
1943
 
1962
- interface TabListProps extends Omit<RAC.TabListProps<Object>, 'className' | 'style'>, GapSpaceProp {
1944
+ interface TabListProps extends Omit<RAC.TabListProps<object>, 'className' | 'style'>, GapSpaceProp {
1963
1945
  }
1964
1946
 
1965
1947
  interface TabsProps extends Omit<RAC.TabsProps, 'className' | 'style' | 'isDisabled' | 'orientation' | 'slot'> {
@@ -1978,4 +1960,4 @@ declare const _Tabs: {
1978
1960
  Item: (props: TabProps) => react_jsx_runtime.JSX.Element;
1979
1961
  };
1980
1962
 
1981
- 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, _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$l 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, type SplitProps, 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, _Tooltip as Tooltip, type TooltipProps, Underlay, type UnderlayProps, XLoader, type XLoaderProps, _Calendar, gridColsAlign, gridColumn, useFieldGroupContext, usePortalContainer };
1963
+ 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, _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$l 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, _Tooltip as Tooltip, type TooltipProps, Underlay, type UnderlayProps, XLoader, type XLoaderProps, _Calendar, gridColsAlign, gridColumn, useFieldGroupContext, usePortalContainer };