@marigold/components 11.4.1 → 11.5.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
@@ -2,13 +2,14 @@ import { Orientation, RefObject, AriaLabelingProps as AriaLabelingProps$1 } from
2
2
  export { Selection } from '@react-types/shared';
3
3
  export { useAsyncList, useListData } from '@react-stately/data';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
- import RAC, { ValidationResult, Key, DateValue, SlotProps, TagListProps, ProgressBarProps } from 'react-aria-components';
6
- export { Form, FormProps, RouterProvider } from 'react-aria-components';
5
+ import RAC, { ValidationResult, Key, DialogProps as DialogProps$1, DateValue, SlotProps, TagListProps, ProgressBarProps } from 'react-aria-components';
6
+ export { RouterProvider } from 'react-aria-components';
7
7
  import * as react from 'react';
8
8
  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, HeightProp, TextAlignProp, ObjectFitProp, ObjectPositionProp, alignment, Theme, ThemeProviderProps, FontSizeProp, FontWeightProp, FontStyleProp, CursorProp } from '@marigold/system';
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
10
  export { ThemeProvider, useTheme } from '@marigold/system';
11
11
  import { AriaRegionProps, NonZeroPercentage, DistributiveOmit, HtmlProps, AriaLabelingProps } from '@marigold/types';
12
+ import { AriaLandmarkRole } from '@react-aria/landmark';
12
13
  import { Props } from 'react-select';
13
14
  import { OverlayTriggerState, OverlayTriggerProps } from 'react-stately';
14
15
  export { I18nProvider } from '@react-aria/i18n';
@@ -440,9 +441,15 @@ interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$l> {
440
441
  variant?: string;
441
442
  size?: string;
442
443
  /**
443
- * Children of the component.
444
+ * Children of the checkbox.
445
+ * @deprecated Will be removed in the next major version. Use `label` prop instead.
444
446
  */
445
447
  children?: ReactNode;
448
+ /**
449
+ * Set the label of the checkbox.
450
+ *
451
+ */
452
+ label?: ReactNode;
446
453
  }
447
454
  interface CheckboxComponent extends ForwardRefExoticComponent<CheckboxProps & RefAttributes<HTMLLabelElement>> {
448
455
  /**
@@ -545,6 +552,15 @@ interface DialogTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'>, Omi
545
552
  }
546
553
  declare const _DialogTrigger: ({ open, dismissable, keyboardDismissable, size, ...rest }: DialogTriggerProps) => ReactNode;
547
554
 
555
+ interface DialogComponent extends ForwardRefExoticComponent<DialogProps & RefAttributes<HTMLInputElement>> {
556
+ /**
557
+ * Options for the Combobox.
558
+ */
559
+ Trigger: typeof _DialogTrigger;
560
+ Title: typeof DialogTitle;
561
+ Content: typeof DialogContent;
562
+ Actions: typeof DialogActions;
563
+ }
548
564
  interface DialogProps extends Omit<RAC.DialogProps, 'className' | 'style'> {
549
565
  variant?: string;
550
566
  size?: string;
@@ -553,14 +569,18 @@ interface DialogProps extends Omit<RAC.DialogProps, 'className' | 'style'> {
553
569
  */
554
570
  closeButton?: boolean;
555
571
  }
556
- interface DialogComponent extends ForwardRefExoticComponent<DialogProps & RefAttributes<HTMLInputElement>> {
572
+ interface DialogProps extends Omit<RAC.DialogProps, 'className' | 'style'> {
573
+ variant?: string;
574
+ size?: string;
557
575
  /**
558
- * Options for the Combobox.
576
+ * Show the close button.
559
577
  */
560
- Trigger: typeof _DialogTrigger;
561
- Title: typeof DialogTitle;
562
- Content: typeof DialogContent;
563
- Actions: typeof DialogActions;
578
+ closeButton?: boolean;
579
+ /**
580
+ * If `true`, the dialog will be non-modal, meaning it will not block interaction with the background content.
581
+ * @default false
582
+ */
583
+ isNonModal?: boolean;
564
584
  }
565
585
  declare const _Dialog: DialogComponent;
566
586
 
@@ -569,6 +589,78 @@ interface DividerProps extends RAC.SeparatorProps {
569
589
  }
570
590
  declare const _Divider: ({ variant, ...props }: DividerProps) => react_jsx_runtime.JSX.Element;
571
591
 
592
+ interface DrawerContentProps {
593
+ variant?: string;
594
+ size?: string;
595
+ /**
596
+ * Children of the component.
597
+ */
598
+ children?: ReactNode;
599
+ }
600
+
601
+ interface DrawerTitleProps {
602
+ variant?: string;
603
+ size?: string;
604
+ /**
605
+ * Children of the component.
606
+ */
607
+ children?: React.ReactNode;
608
+ }
609
+
610
+ interface DrawerTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'> {
611
+ /**
612
+ * Whether the overlay is open by default (controlled).
613
+ * @default false
614
+ */
615
+ open?: boolean;
616
+ }
617
+
618
+ interface DrawerActions {
619
+ variant?: string;
620
+ size?: string;
621
+ /**
622
+ * Children of the component.
623
+ */
624
+ children?: ReactNode;
625
+ }
626
+ declare const DrawerActions: ({ variant, size, children }: DrawerActions) => react_jsx_runtime.JSX.Element;
627
+
628
+ interface DrawerProps extends Omit<DialogProps$1, 'className' | 'style' | 'isOpen' | 'role'> {
629
+ variant?: string;
630
+ size?: string;
631
+ /**
632
+ * Whether the overlay is open by default (controlled).
633
+ * @default undefined
634
+ */
635
+ open?: boolean;
636
+ /**
637
+ * Whether pressing the escape key closes the modal.
638
+ * @default true
639
+ */
640
+ keyboardDismissable?: boolean;
641
+ /**
642
+ * Show the close button.
643
+ */
644
+ closeButton?: boolean;
645
+ /**
646
+ * The `role` property sets the ARIA landmark role for this component,
647
+ * enhancing accessibility by clarifying its purpose to assistive technologies.
648
+ *
649
+ * Only ARIA landmark roles (e.g., "complementary", "search", "banner", "navigation")
650
+ * can be used to ensure proper semantic context. Defaults to `"complementary"`
651
+ * for secondary content (e.g., filters, sidebar) that supports the main content.
652
+ * @default "complementary"
653
+ */
654
+ role?: Exclude<AriaLandmarkRole, 'main'>;
655
+ }
656
+ declare const Drawer: {
657
+ ({ children, variant, size, open, keyboardDismissable, closeButton, role, ...props }: DrawerProps): react_jsx_runtime.JSX.Element;
658
+ Trigger: ({ open, children, ...props }: DrawerTriggerProps) => react_jsx_runtime.JSX.Element;
659
+ Title: ({ variant, size, children }: DrawerTitleProps) => react_jsx_runtime.JSX.Element;
660
+ Content: ({ variant, size, children, }: DrawerContentProps) => react_jsx_runtime.JSX.Element;
661
+ Actions: ({ variant, size, children }: DrawerActions) => react_jsx_runtime.JSX.Element;
662
+ };
663
+
572
664
  interface FooterProps extends Omit<HtmlProps<'footer'>, 'className'> {
573
665
  /**
574
666
  * The children of the component.
@@ -579,6 +671,15 @@ interface FooterProps extends Omit<HtmlProps<'footer'>, 'className'> {
579
671
  }
580
672
  declare const Footer: ({ children, variant, size, ...props }: FooterProps) => react_jsx_runtime.JSX.Element;
581
673
 
674
+ interface FormProps extends Omit<RAC.FormProps, 'className' | 'style'>, MaxWidthProp {
675
+ /**
676
+ * Removes the form's visual container so that it does not impact the layout,
677
+ * letting child elements render naturally.
678
+ */
679
+ unstyled?: boolean;
680
+ }
681
+ declare const _Form: ({ unstyled, maxWidth, ...props }: FormProps) => react_jsx_runtime.JSX.Element;
682
+
582
683
  interface GridAreaProps {
583
684
  /**
584
685
  * Name of the grid area slot.
@@ -1226,11 +1327,11 @@ interface PaginationProps {
1226
1327
  */
1227
1328
  onChange?: (page: number) => void;
1228
1329
  /**
1229
- * Labels for the pagination controls.
1330
+ * Labels for the pagination controls (Previous and Next button).
1230
1331
  */
1231
1332
  controlLabels?: [string, string];
1232
1333
  }
1233
- declare const _Pagination: ({ defaultPage, page, totalItems, pageSize, onChange, controlLabels, }: PaginationProps) => react_jsx_runtime.JSX.Element;
1334
+ declare const _Pagination: ({ defaultPage, page, totalItems, pageSize, ...props }: PaginationProps) => react_jsx_runtime.JSX.Element;
1234
1335
 
1235
1336
  interface MarigoldProviderProps<T extends Theme> extends ThemeProviderProps<T> {
1236
1337
  }
@@ -1504,6 +1605,9 @@ interface SliderProps<T> extends Omit<RAC.SliderProps<T>, 'isDisabled' | 'orient
1504
1605
  * @deprecated Will be removed in the next major version. Use `label` prop instead.
1505
1606
  */
1506
1607
  children?: ReactNode;
1608
+ /**
1609
+ * Set the label of the slider.
1610
+ */
1507
1611
  label?: string;
1508
1612
  }
1509
1613
  declare const _Slider: react__default.ForwardRefExoticComponent<SliderProps<number | number[]> & react__default.RefAttributes<HTMLDivElement>>;
@@ -1537,7 +1641,15 @@ type RemovedProps$6 = 'className' | 'isDisabled' | 'isReadOnly' | 'isSelected' |
1537
1641
  interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$6> {
1538
1642
  variant?: string;
1539
1643
  size?: string;
1644
+ /**
1645
+ * The children of the switch.
1646
+ * @deprecated Will be removed in the next major version. Use `label` prop instead.
1647
+ */
1540
1648
  children?: ReactNode;
1649
+ /**
1650
+ * Set the label of the switch.
1651
+ */
1652
+ label?: ReactNode;
1541
1653
  /**
1542
1654
  * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
1543
1655
  * @default full
@@ -1811,10 +1923,6 @@ interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps$1>, Pick<Ta
1811
1923
  allowsRemoving?: boolean;
1812
1924
  }
1813
1925
 
1814
- interface CloseButtonProps {
1815
- className: string;
1816
- }
1817
- declare const CloseButton: ({ className }: CloseButtonProps) => react_jsx_runtime.JSX.Element;
1818
1926
  type RemovedProps = 'className' | 'style' | 'isDisabled';
1819
1927
  interface TagProps extends Omit<RAC.TagProps, RemovedProps> {
1820
1928
  variant?: string;
@@ -1870,4 +1978,4 @@ declare const _Tabs: {
1870
1978
  Item: (props: TabProps) => react_jsx_runtime.JSX.Element;
1871
1979
  };
1872
1980
 
1873
- 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, CloseButton, 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, FieldBase, type FieldBaseProps, FieldGroup, FieldGroupContext, type FieldGroupContextProps, type FieldGroupProps, Footer, type FooterProps, 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 };
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 };
package/dist/index.d.ts CHANGED
@@ -2,13 +2,14 @@ import { Orientation, RefObject, AriaLabelingProps as AriaLabelingProps$1 } from
2
2
  export { Selection } from '@react-types/shared';
3
3
  export { useAsyncList, useListData } from '@react-stately/data';
4
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
5
- import RAC, { ValidationResult, Key, DateValue, SlotProps, TagListProps, ProgressBarProps } from 'react-aria-components';
6
- export { Form, FormProps, RouterProvider } from 'react-aria-components';
5
+ import RAC, { ValidationResult, Key, DialogProps as DialogProps$1, DateValue, SlotProps, TagListProps, ProgressBarProps } from 'react-aria-components';
6
+ export { RouterProvider } from 'react-aria-components';
7
7
  import * as react from 'react';
8
8
  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, HeightProp, TextAlignProp, ObjectFitProp, ObjectPositionProp, alignment, Theme, ThemeProviderProps, FontSizeProp, FontWeightProp, FontStyleProp, CursorProp } from '@marigold/system';
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
10
  export { ThemeProvider, useTheme } from '@marigold/system';
11
11
  import { AriaRegionProps, NonZeroPercentage, DistributiveOmit, HtmlProps, AriaLabelingProps } from '@marigold/types';
12
+ import { AriaLandmarkRole } from '@react-aria/landmark';
12
13
  import { Props } from 'react-select';
13
14
  import { OverlayTriggerState, OverlayTriggerProps } from 'react-stately';
14
15
  export { I18nProvider } from '@react-aria/i18n';
@@ -440,9 +441,15 @@ interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$l> {
440
441
  variant?: string;
441
442
  size?: string;
442
443
  /**
443
- * Children of the component.
444
+ * Children of the checkbox.
445
+ * @deprecated Will be removed in the next major version. Use `label` prop instead.
444
446
  */
445
447
  children?: ReactNode;
448
+ /**
449
+ * Set the label of the checkbox.
450
+ *
451
+ */
452
+ label?: ReactNode;
446
453
  }
447
454
  interface CheckboxComponent extends ForwardRefExoticComponent<CheckboxProps & RefAttributes<HTMLLabelElement>> {
448
455
  /**
@@ -545,6 +552,15 @@ interface DialogTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'>, Omi
545
552
  }
546
553
  declare const _DialogTrigger: ({ open, dismissable, keyboardDismissable, size, ...rest }: DialogTriggerProps) => ReactNode;
547
554
 
555
+ interface DialogComponent extends ForwardRefExoticComponent<DialogProps & RefAttributes<HTMLInputElement>> {
556
+ /**
557
+ * Options for the Combobox.
558
+ */
559
+ Trigger: typeof _DialogTrigger;
560
+ Title: typeof DialogTitle;
561
+ Content: typeof DialogContent;
562
+ Actions: typeof DialogActions;
563
+ }
548
564
  interface DialogProps extends Omit<RAC.DialogProps, 'className' | 'style'> {
549
565
  variant?: string;
550
566
  size?: string;
@@ -553,14 +569,18 @@ interface DialogProps extends Omit<RAC.DialogProps, 'className' | 'style'> {
553
569
  */
554
570
  closeButton?: boolean;
555
571
  }
556
- interface DialogComponent extends ForwardRefExoticComponent<DialogProps & RefAttributes<HTMLInputElement>> {
572
+ interface DialogProps extends Omit<RAC.DialogProps, 'className' | 'style'> {
573
+ variant?: string;
574
+ size?: string;
557
575
  /**
558
- * Options for the Combobox.
576
+ * Show the close button.
559
577
  */
560
- Trigger: typeof _DialogTrigger;
561
- Title: typeof DialogTitle;
562
- Content: typeof DialogContent;
563
- Actions: typeof DialogActions;
578
+ closeButton?: boolean;
579
+ /**
580
+ * If `true`, the dialog will be non-modal, meaning it will not block interaction with the background content.
581
+ * @default false
582
+ */
583
+ isNonModal?: boolean;
564
584
  }
565
585
  declare const _Dialog: DialogComponent;
566
586
 
@@ -569,6 +589,78 @@ interface DividerProps extends RAC.SeparatorProps {
569
589
  }
570
590
  declare const _Divider: ({ variant, ...props }: DividerProps) => react_jsx_runtime.JSX.Element;
571
591
 
592
+ interface DrawerContentProps {
593
+ variant?: string;
594
+ size?: string;
595
+ /**
596
+ * Children of the component.
597
+ */
598
+ children?: ReactNode;
599
+ }
600
+
601
+ interface DrawerTitleProps {
602
+ variant?: string;
603
+ size?: string;
604
+ /**
605
+ * Children of the component.
606
+ */
607
+ children?: React.ReactNode;
608
+ }
609
+
610
+ interface DrawerTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'> {
611
+ /**
612
+ * Whether the overlay is open by default (controlled).
613
+ * @default false
614
+ */
615
+ open?: boolean;
616
+ }
617
+
618
+ interface DrawerActions {
619
+ variant?: string;
620
+ size?: string;
621
+ /**
622
+ * Children of the component.
623
+ */
624
+ children?: ReactNode;
625
+ }
626
+ declare const DrawerActions: ({ variant, size, children }: DrawerActions) => react_jsx_runtime.JSX.Element;
627
+
628
+ interface DrawerProps extends Omit<DialogProps$1, 'className' | 'style' | 'isOpen' | 'role'> {
629
+ variant?: string;
630
+ size?: string;
631
+ /**
632
+ * Whether the overlay is open by default (controlled).
633
+ * @default undefined
634
+ */
635
+ open?: boolean;
636
+ /**
637
+ * Whether pressing the escape key closes the modal.
638
+ * @default true
639
+ */
640
+ keyboardDismissable?: boolean;
641
+ /**
642
+ * Show the close button.
643
+ */
644
+ closeButton?: boolean;
645
+ /**
646
+ * The `role` property sets the ARIA landmark role for this component,
647
+ * enhancing accessibility by clarifying its purpose to assistive technologies.
648
+ *
649
+ * Only ARIA landmark roles (e.g., "complementary", "search", "banner", "navigation")
650
+ * can be used to ensure proper semantic context. Defaults to `"complementary"`
651
+ * for secondary content (e.g., filters, sidebar) that supports the main content.
652
+ * @default "complementary"
653
+ */
654
+ role?: Exclude<AriaLandmarkRole, 'main'>;
655
+ }
656
+ declare const Drawer: {
657
+ ({ children, variant, size, open, keyboardDismissable, closeButton, role, ...props }: DrawerProps): react_jsx_runtime.JSX.Element;
658
+ Trigger: ({ open, children, ...props }: DrawerTriggerProps) => react_jsx_runtime.JSX.Element;
659
+ Title: ({ variant, size, children }: DrawerTitleProps) => react_jsx_runtime.JSX.Element;
660
+ Content: ({ variant, size, children, }: DrawerContentProps) => react_jsx_runtime.JSX.Element;
661
+ Actions: ({ variant, size, children }: DrawerActions) => react_jsx_runtime.JSX.Element;
662
+ };
663
+
572
664
  interface FooterProps extends Omit<HtmlProps<'footer'>, 'className'> {
573
665
  /**
574
666
  * The children of the component.
@@ -579,6 +671,15 @@ interface FooterProps extends Omit<HtmlProps<'footer'>, 'className'> {
579
671
  }
580
672
  declare const Footer: ({ children, variant, size, ...props }: FooterProps) => react_jsx_runtime.JSX.Element;
581
673
 
674
+ interface FormProps extends Omit<RAC.FormProps, 'className' | 'style'>, MaxWidthProp {
675
+ /**
676
+ * Removes the form's visual container so that it does not impact the layout,
677
+ * letting child elements render naturally.
678
+ */
679
+ unstyled?: boolean;
680
+ }
681
+ declare const _Form: ({ unstyled, maxWidth, ...props }: FormProps) => react_jsx_runtime.JSX.Element;
682
+
582
683
  interface GridAreaProps {
583
684
  /**
584
685
  * Name of the grid area slot.
@@ -1226,11 +1327,11 @@ interface PaginationProps {
1226
1327
  */
1227
1328
  onChange?: (page: number) => void;
1228
1329
  /**
1229
- * Labels for the pagination controls.
1330
+ * Labels for the pagination controls (Previous and Next button).
1230
1331
  */
1231
1332
  controlLabels?: [string, string];
1232
1333
  }
1233
- declare const _Pagination: ({ defaultPage, page, totalItems, pageSize, onChange, controlLabels, }: PaginationProps) => react_jsx_runtime.JSX.Element;
1334
+ declare const _Pagination: ({ defaultPage, page, totalItems, pageSize, ...props }: PaginationProps) => react_jsx_runtime.JSX.Element;
1234
1335
 
1235
1336
  interface MarigoldProviderProps<T extends Theme> extends ThemeProviderProps<T> {
1236
1337
  }
@@ -1504,6 +1605,9 @@ interface SliderProps<T> extends Omit<RAC.SliderProps<T>, 'isDisabled' | 'orient
1504
1605
  * @deprecated Will be removed in the next major version. Use `label` prop instead.
1505
1606
  */
1506
1607
  children?: ReactNode;
1608
+ /**
1609
+ * Set the label of the slider.
1610
+ */
1507
1611
  label?: string;
1508
1612
  }
1509
1613
  declare const _Slider: react__default.ForwardRefExoticComponent<SliderProps<number | number[]> & react__default.RefAttributes<HTMLDivElement>>;
@@ -1537,7 +1641,15 @@ type RemovedProps$6 = 'className' | 'isDisabled' | 'isReadOnly' | 'isSelected' |
1537
1641
  interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$6> {
1538
1642
  variant?: string;
1539
1643
  size?: string;
1644
+ /**
1645
+ * The children of the switch.
1646
+ * @deprecated Will be removed in the next major version. Use `label` prop instead.
1647
+ */
1540
1648
  children?: ReactNode;
1649
+ /**
1650
+ * Set the label of the switch.
1651
+ */
1652
+ label?: ReactNode;
1541
1653
  /**
1542
1654
  * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
1543
1655
  * @default full
@@ -1811,10 +1923,6 @@ interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps$1>, Pick<Ta
1811
1923
  allowsRemoving?: boolean;
1812
1924
  }
1813
1925
 
1814
- interface CloseButtonProps {
1815
- className: string;
1816
- }
1817
- declare const CloseButton: ({ className }: CloseButtonProps) => react_jsx_runtime.JSX.Element;
1818
1926
  type RemovedProps = 'className' | 'style' | 'isDisabled';
1819
1927
  interface TagProps extends Omit<RAC.TagProps, RemovedProps> {
1820
1928
  variant?: string;
@@ -1870,4 +1978,4 @@ declare const _Tabs: {
1870
1978
  Item: (props: TabProps) => react_jsx_runtime.JSX.Element;
1871
1979
  };
1872
1980
 
1873
- 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, CloseButton, 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, FieldBase, type FieldBaseProps, FieldGroup, FieldGroupContext, type FieldGroupContextProps, type FieldGroupProps, Footer, type FooterProps, 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 };
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 };