@marigold/components 12.0.2 → 12.0.3

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,10 +1,10 @@
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';
4
+ import { GapSpaceProp, AspectProp, WidthProp, PaddingSpaceProp, PaddingRightProp, PaddingLeftProp, PaddingBottomProp, PaddingTopProp, PaddingSpacePropX, PaddingSpacePropY, PlaceItemsProp, MaxWidthProp, HeightProp, alignment, TextAlignProp, ObjectFitProp, ObjectPositionProp, Theme, ThemeProviderProps, FontSizeProp, FontWeightProp, FontStyleProp, CursorProp } from '@marigold/system';
5
5
  export { DateFormat, NumericFormat, ThemeProvider, useTheme } from '@marigold/system';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
- import RAC, { ValidationResult, Key, DialogProps as DialogProps$1, DateValue, SlotProps, TagListProps, ProgressBarProps } from 'react-aria-components';
7
+ import RAC, { ValidationResult, Key, DialogProps as DialogProps$1, DateValue, SlotProps, TagListProps, ProgressBarProps, TimeValue } from 'react-aria-components';
8
8
  export { RouterProvider } from 'react-aria-components';
9
9
  import * as react from 'react';
10
10
  import react__default, { ReactNode, ReactElement, ElementType, ComponentPropsWithRef, ForwardRefExoticComponent, RefAttributes, Key as Key$1, CSSProperties, Dispatch, SetStateAction, JSX } from 'react';
@@ -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$r = 'isDisabled' | 'isExpanded';
21
- interface DisclosureProps extends Omit<RAC.DisclosureProps, RemovedProps$r> {
20
+ type RemovedProps$s = 'isDisabled' | 'isExpanded';
21
+ interface DisclosureProps extends Omit<RAC.DisclosureProps, RemovedProps$s> {
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$q = 'isDisabled';
38
- interface AccordionProps extends Omit<RAC.DisclosureGroupProps, RemovedProps$q> {
37
+ type RemovedProps$r = 'isDisabled';
38
+ interface AccordionProps extends Omit<RAC.DisclosureGroupProps, RemovedProps$r> {
39
39
  /** Whether all items are disabled. */
40
40
  disabled?: RAC.DisclosureGroupProps['isDisabled'];
41
41
  variant?: string;
@@ -152,8 +152,8 @@ interface ListBoxComponent extends ForwardRefExoticComponent<ListBoxProps & RefA
152
152
  }
153
153
  declare const _ListBox: ListBoxComponent;
154
154
 
155
- type RemovedProps$p = 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'inputValue' | 'onInputChange' | 'defaultValue' | 'validate' | 'validationState' | 'slot';
156
- interface AutocompleteProps extends Omit<RAC.ComboBoxProps<object>, RemovedProps$p>, Pick<FieldBaseProps<'label'>, 'width' | 'label' | 'description' | 'errorMessage'> {
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'> {
157
157
  /**
158
158
  * The value of the input (uncontrolled).
159
159
  */
@@ -220,8 +220,8 @@ interface AutocompleteComponent extends ForwardRefExoticComponent<AutocompletePr
220
220
  }
221
221
  declare const _Autocomplete: AutocompleteComponent;
222
222
 
223
- type RemovedProps$o = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'defaultInputValue' | 'inputValue' | 'onInputChange';
224
- interface ComboBoxProps extends Omit<RAC.ComboBoxProps<any>, RemovedProps$o>, Pick<FieldBaseProps<'label'>, 'width' | 'label' | 'description' | 'errorMessage'> {
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'> {
225
225
  variant?: string;
226
226
  size?: string;
227
227
  /**
@@ -302,8 +302,8 @@ interface BodyProps extends Omit<HtmlProps<'section'>, 'className'> {
302
302
  }
303
303
  declare const Body: ({ children, variant, size, ...props }: BodyProps) => react_jsx_runtime.JSX.Element;
304
304
 
305
- type RemovedProps$n = 'isDisabled' | 'isPending';
306
- interface ButtonProps extends Omit<RAC.ButtonProps, RemovedProps$n> {
305
+ type RemovedProps$o = 'isDisabled' | 'isPending';
306
+ interface ButtonProps extends Omit<RAC.ButtonProps, RemovedProps$o> {
307
307
  variant?: string;
308
308
  size?: string;
309
309
  /**
@@ -361,8 +361,8 @@ interface CenterProps extends GapSpaceProp, AriaRegionProps {
361
361
  }
362
362
  declare const Center: ({ maxWidth, space, children, ...props }: CenterProps) => react_jsx_runtime.JSX.Element;
363
363
 
364
- type RemovedProps$m = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly';
365
- interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$m>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
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'> {
366
366
  /**
367
367
  * The children of the component
368
368
  */
@@ -402,8 +402,8 @@ interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$m
402
402
  }
403
403
  declare const _CheckboxGroup: ({ children, variant, size, required, disabled, readOnly, error, width, orientation, ...rest }: CheckboxGroupProps) => react_jsx_runtime.JSX.Element;
404
404
 
405
- type RemovedProps$l = 'children' | 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'isSelected' | 'isIndeterminate' | 'defaultSelected';
406
- interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$l> {
405
+ type RemovedProps$m = 'children' | 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'isSelected' | 'isIndeterminate' | 'defaultSelected';
406
+ interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$m> {
407
407
  variant?: string;
408
408
  size?: string;
409
409
  /**
@@ -535,14 +535,14 @@ interface DialogTitleProps {
535
535
  }
536
536
  declare const DialogTitle: ({ variant, size, children }: DialogTitleProps) => react_jsx_runtime.JSX.Element;
537
537
 
538
- type RemovedProps$k = 'children' | 'isOpen' | 'isDismissable' | 'isKeyboardDismissDisabled';
538
+ type RemovedProps$l = 'children' | 'isOpen' | 'isDismissable' | 'isKeyboardDismissDisabled';
539
539
  interface ModalProps$1 extends RAC.ModalOverlayProps {
540
540
  open?: boolean;
541
541
  dismissable?: boolean;
542
542
  keyboardDismissable?: boolean;
543
543
  size?: string;
544
544
  }
545
- interface DialogTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'>, Omit<ModalProps$1, RemovedProps$k> {
545
+ interface DialogTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'>, Omit<ModalProps$1, RemovedProps$l> {
546
546
  }
547
547
  declare const _DialogTrigger: ({ open, dismissable, keyboardDismissable, ...rest }: DialogTriggerProps) => ReactNode;
548
548
 
@@ -703,9 +703,17 @@ interface GridProps extends GapSpaceProp, HeightProp, AriaRegionProps {
703
703
  * Children of the layout.
704
704
  */
705
705
  children?: ReactNode;
706
+ /**
707
+ * Horizontal alignment for the children.
708
+ */
709
+ alignX?: keyof typeof alignment.horizontal.alignmentX;
710
+ /**
711
+ * Vertical alignment for the children.
712
+ */
713
+ alignY?: keyof typeof alignment.horizontal.alignmentY;
706
714
  }
707
715
  declare const Grid: {
708
- ({ children, areas, columns, rows, height, space, ...props }: GridProps): react_jsx_runtime.JSX.Element;
716
+ ({ children, areas, columns, rows, alignX, alignY, height, space, ...props }: GridProps): react_jsx_runtime.JSX.Element;
709
717
  Area: ({ name, children }: GridAreaProps) => react_jsx_runtime.JSX.Element;
710
718
  };
711
719
 
@@ -771,8 +779,8 @@ interface InlineProps extends GapSpaceProp, AriaRegionProps {
771
779
  }
772
780
  declare const Inline: ({ space, alignX, alignY, children, ...props }: InlineProps) => react_jsx_runtime.JSX.Element;
773
781
 
774
- type RemovedProps$j = 'className' | 'style' | 'size';
775
- interface InputProps extends Omit<RAC.InputProps, RemovedProps$j> {
782
+ type RemovedProps$k = 'className' | 'style' | 'size';
783
+ interface InputProps extends Omit<RAC.InputProps, RemovedProps$k> {
776
784
  icon?: ReactElement<any>;
777
785
  action?: ReactElement<any>;
778
786
  variant?: string;
@@ -781,8 +789,8 @@ interface InputProps extends Omit<RAC.InputProps, RemovedProps$j> {
781
789
  }
782
790
  declare const _Input: react.ForwardRefExoticComponent<InputProps & react.RefAttributes<HTMLInputElement>>;
783
791
 
784
- type RemovedProps$i = 'className' | 'isRequired' | 'isDisabled' | 'isInvalid' | 'isReadOnly' | 'label' | 'children' | 'style';
785
- interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProps$i>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
792
+ type RemovedProps$j = 'className' | 'isRequired' | 'isDisabled' | 'isInvalid' | 'isReadOnly' | 'label' | 'children' | 'style';
793
+ interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProps$j>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
786
794
  variant?: string;
787
795
  size?: string;
788
796
  /**
@@ -817,8 +825,8 @@ interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProp
817
825
  }
818
826
  declare const _DateField: react.ForwardRefExoticComponent<DateFieldProps & react.RefAttributes<HTMLInputElement>>;
819
827
 
820
- type RemovedProps$h = 'visibleDuration' | 'pageBehavior' | 'isDateUnavailable' | 'isDisabled' | 'isReadOnly' | 'isInvalid' | 'errorMessage' | 'className' | 'style';
821
- interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$h> {
828
+ type RemovedProps$i = 'visibleDuration' | 'pageBehavior' | 'isDateUnavailable' | 'isDisabled' | 'isReadOnly' | 'isInvalid' | 'errorMessage' | 'className' | 'style';
829
+ interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$i> {
822
830
  /**
823
831
  * Disables the Calendar.
824
832
  * @default false
@@ -842,8 +850,8 @@ interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$
842
850
  }
843
851
  declare const _Calendar: ({ disabled, readOnly, size, variant, dateUnavailable, ...rest }: CalendarProps) => react_jsx_runtime.JSX.Element;
844
852
 
845
- type RemovedProps$g = 'isDisabled' | 'isDateUnavailable' | 'isReadOnly' | 'isRequired' | 'isInvalid' | 'style' | 'className' | 'isOpen';
846
- interface DatePickerProps extends Omit<RAC.DatePickerProps<DateValue>, RemovedProps$g>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
853
+ type RemovedProps$h = 'isDisabled' | 'isDateUnavailable' | 'isReadOnly' | 'isRequired' | 'isInvalid' | 'style' | 'className' | 'isOpen';
854
+ interface DatePickerProps extends Omit<RAC.DatePickerProps<DateValue>, RemovedProps$h>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
847
855
  /**
848
856
  * Callback that is called for each date of the calendar. If it returns true, then the date is unavailable.
849
857
  */
@@ -907,15 +915,15 @@ type InsetProps = (AriaRegionProps & {
907
915
  });
908
916
  declare const Inset: ({ space, spaceX, spaceY, children }: InsetProps) => react_jsx_runtime.JSX.Element;
909
917
 
910
- type RemovedProps$f = 'className';
911
- interface LabelProps extends Omit<RAC.LabelProps, RemovedProps$f> {
918
+ type RemovedProps$g = 'className';
919
+ interface LabelProps extends Omit<RAC.LabelProps, RemovedProps$g> {
912
920
  size?: string;
913
921
  variant?: string;
914
922
  }
915
923
  declare const _Label: ({ size, variant, children, ...props }: LabelProps) => react_jsx_runtime.JSX.Element;
916
924
 
917
- type RemovedProps$e = 'className' | 'isDisabled' | 'slot';
918
- interface LinkProps extends Omit<RAC.LinkProps, RemovedProps$e> {
925
+ type RemovedProps$f = 'className' | 'isDisabled' | 'slot';
926
+ interface LinkProps extends Omit<RAC.LinkProps, RemovedProps$f> {
919
927
  variant?: string;
920
928
  size?: string;
921
929
  /**
@@ -951,14 +959,14 @@ declare const List: {
951
959
  Item: ({ children, ...props }: ListItemProps) => react_jsx_runtime.JSX.Element;
952
960
  };
953
961
 
954
- type RemovedProps$d = 'className' | 'style' | 'children';
955
- interface MenuSectionProps extends Omit<RAC.SectionProps<object>, RemovedProps$d> {
962
+ type RemovedProps$e = 'className' | 'style' | 'children';
963
+ interface MenuSectionProps extends Omit<RAC.SectionProps<object>, RemovedProps$e> {
956
964
  title?: string;
957
965
  children: ReactNode;
958
966
  }
959
967
 
960
- type RemovedProps$c = 'style' | 'className';
961
- type MenuItemProps = Omit<RAC.MenuItemProps, RemovedProps$c>;
968
+ type RemovedProps$d = 'style' | 'className';
969
+ type MenuItemProps = Omit<RAC.MenuItemProps, RemovedProps$d>;
962
970
 
963
971
  interface PopoverProps extends Omit<RAC.PopoverProps, 'isOpen' | 'isKeyboardDismissDisabled' | 'style' | 'className' | 'children'> {
964
972
  keyboardDismissDisabled?: boolean;
@@ -968,8 +976,8 @@ interface PopoverProps extends Omit<RAC.PopoverProps, 'isOpen' | 'isKeyboardDism
968
976
  }
969
977
  declare const _Popover: react.ForwardRefExoticComponent<PopoverProps & react.RefAttributes<HTMLDivElement>>;
970
978
 
971
- type RemovedProps$b = 'isOpen' | 'className' | 'style' | 'children';
972
- interface MenuProps extends Omit<RAC.MenuTriggerProps, RemovedProps$b>, Omit<RAC.MenuProps<object>, RemovedProps$b> {
979
+ type RemovedProps$c = 'isOpen' | 'className' | 'style' | 'children';
980
+ interface MenuProps extends Omit<RAC.MenuTriggerProps, RemovedProps$c>, Omit<RAC.MenuProps<object>, RemovedProps$c> {
973
981
  /**
974
982
  * Whether the menu is open.
975
983
  * @default false
@@ -1160,8 +1168,8 @@ interface MultipleSelectProps extends Pick<FieldBaseProps<'label'>, 'width' | 's
1160
1168
  }
1161
1169
  declare const Multiselect: ({ disabled, readOnly, items, selectedItems, defaultSelectedItems, defaultValue, error, errorMessage, size, variant, placeholder, description, onChange, onSelectionChange, ...rest }: MultipleSelectProps) => react_jsx_runtime.JSX.Element;
1162
1170
 
1163
- type RemovedProps$a = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'size';
1164
- interface NumberFieldProps extends Omit<RAC.NumberFieldProps, RemovedProps$a>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1171
+ type RemovedProps$b = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'size';
1172
+ interface NumberFieldProps extends Omit<RAC.NumberFieldProps, RemovedProps$b>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1165
1173
  variant?: string;
1166
1174
  size?: string;
1167
1175
  /**
@@ -1332,8 +1340,8 @@ declare function MarigoldProvider<T extends Theme>({ children, className, theme,
1332
1340
  declare const OverlayContainerProvider: react.Provider<string | undefined>;
1333
1341
  declare const usePortalContainer: () => HTMLElement | undefined;
1334
1342
 
1335
- type RemovedProps$9 = 'className' | 'style' | 'isDisabled' | 'isInvalid' | 'isRequired' | 'isSelected';
1336
- interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$9> {
1343
+ type RemovedProps$a = 'className' | 'style' | 'isDisabled' | 'isInvalid' | 'isRequired' | 'isSelected';
1344
+ interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$a> {
1337
1345
  variant?: string;
1338
1346
  size?: string;
1339
1347
  /**
@@ -1392,8 +1400,8 @@ interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$9> {
1392
1400
  }
1393
1401
  declare const _RadioGroup: ({ variant, size, label, error, disabled, required, readOnly, description, errorMessage, orientation, children, width, ...rest }: RadioGroupProps) => react_jsx_runtime.JSX.Element;
1394
1402
 
1395
- type RemovedProps$8 = 'className' | 'style' | 'children' | 'isDisabled';
1396
- interface RadioProps extends Omit<RAC.RadioProps, RemovedProps$8> {
1403
+ type RemovedProps$9 = 'className' | 'style' | 'children' | 'isDisabled';
1404
+ interface RadioProps extends Omit<RAC.RadioProps, RemovedProps$9> {
1397
1405
  variant?: string;
1398
1406
  size?: string;
1399
1407
  /**
@@ -1418,8 +1426,8 @@ interface RadioComponent extends ForwardRefExoticComponent<RadioProps & RefAttri
1418
1426
  Group: typeof _RadioGroup;
1419
1427
  }
1420
1428
 
1421
- type RemovedProps$7 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
1422
- interface SearchFieldProps extends Omit<RAC.SearchFieldProps, RemovedProps$7>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1429
+ type RemovedProps$8 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
1430
+ interface SearchFieldProps extends Omit<RAC.SearchFieldProps, RemovedProps$8>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1423
1431
  /**
1424
1432
  * Action element to display in the search field.
1425
1433
  */
@@ -1623,8 +1631,8 @@ interface StackProps extends GapSpaceProp, AriaRegionProps {
1623
1631
  }
1624
1632
  declare const Stack: ({ children, space, stretch, alignX, alignY, ...props }: StackProps) => react_jsx_runtime.JSX.Element;
1625
1633
 
1626
- type RemovedProps$6 = 'children' | 'className' | 'isDisabled' | 'isReadOnly' | 'isSelected' | 'children' | 'slot';
1627
- interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$6> {
1634
+ type RemovedProps$7 = 'children' | 'className' | 'isDisabled' | 'isReadOnly' | 'isSelected' | 'children' | 'slot';
1635
+ interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$7> {
1628
1636
  variant?: string;
1629
1637
  size?: string;
1630
1638
  /**
@@ -1722,8 +1730,8 @@ interface TextProps extends AriaLabelingProps, Omit<RAC.TextProps, 'elementType'
1722
1730
  }
1723
1731
  declare const _Text: ({ variant, size, color, align, cursor, weight, fontSize, fontStyle, children, as, ...props }: TextProps) => react_jsx_runtime.JSX.Element;
1724
1732
 
1725
- type RemovedProps$5 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
1726
- interface TextAreaProps extends Omit<RAC.TextFieldProps, RemovedProps$5>, Pick<RAC.TextAreaProps, 'rows'>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1733
+ type RemovedProps$6 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
1734
+ interface TextAreaProps extends Omit<RAC.TextFieldProps, RemovedProps$6>, Pick<RAC.TextAreaProps, 'rows'>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1727
1735
  variant?: string;
1728
1736
  size?: string;
1729
1737
  /**
@@ -1774,8 +1782,8 @@ interface TextAreaProps extends Omit<RAC.TextFieldProps, RemovedProps$5>, Pick<R
1774
1782
  }
1775
1783
  declare const _TextArea: react.ForwardRefExoticComponent<TextAreaProps & react.RefAttributes<HTMLTextAreaElement>>;
1776
1784
 
1777
- type RemovedProps$4 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue' | 'slot';
1778
- interface TextFieldProps extends Omit<RAC.TextFieldProps, RemovedProps$4>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1785
+ type RemovedProps$5 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue' | 'slot';
1786
+ interface TextFieldProps extends Omit<RAC.TextFieldProps, RemovedProps$5>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1779
1787
  variant?: string;
1780
1788
  size?: string;
1781
1789
  /**
@@ -1854,8 +1862,8 @@ interface TilesProps extends GapSpaceProp, AriaRegionProps {
1854
1862
  }
1855
1863
  declare const Tiles: ({ space, stretch, equalHeight, tilesWidth, children, ...props }: TilesProps) => react_jsx_runtime.JSX.Element;
1856
1864
 
1857
- type RemovedProps$3 = 'isDisabled' | 'isOpen' | 'children';
1858
- interface TooltipTriggerProps extends Omit<RAC.TooltipTriggerComponentProps, RemovedProps$3> {
1865
+ type RemovedProps$4 = 'isDisabled' | 'isOpen' | 'children';
1866
+ interface TooltipTriggerProps extends Omit<RAC.TooltipTriggerComponentProps, RemovedProps$4> {
1859
1867
  /**
1860
1868
  * The children of the component.
1861
1869
  */
@@ -1870,8 +1878,8 @@ interface TooltipTriggerProps extends Omit<RAC.TooltipTriggerComponentProps, Rem
1870
1878
  open?: boolean;
1871
1879
  }
1872
1880
 
1873
- type RemovedProps$2 = 'className' | 'isOpen' | 'style';
1874
- interface TooltipProps extends Omit<RAC.TooltipProps, RemovedProps$2> {
1881
+ type RemovedProps$3 = 'className' | 'isOpen' | 'style';
1882
+ interface TooltipProps extends Omit<RAC.TooltipProps, RemovedProps$3> {
1875
1883
  /**
1876
1884
  * The children of the component.
1877
1885
  */
@@ -1888,8 +1896,8 @@ declare const _Tooltip: {
1888
1896
  Trigger: ({ delay, children, disabled, open, ...rest }: TooltipTriggerProps) => react_jsx_runtime.JSX.Element;
1889
1897
  };
1890
1898
 
1891
- type RemovedProps$1 = 'className' | 'style' | 'children' | 'isRequired';
1892
- interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps$1>, Pick<TagListProps<object>, 'items' | 'children'>, Pick<FieldBaseProps<'label'>, 'label' | 'description'> {
1899
+ type RemovedProps$2 = 'className' | 'style' | 'children' | 'isRequired';
1900
+ interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps$2>, Pick<TagListProps<object>, 'items' | 'children'>, Pick<FieldBaseProps<'label'>, 'label' | 'description'> {
1893
1901
  variant?: string;
1894
1902
  size?: string;
1895
1903
  /**
@@ -1907,8 +1915,8 @@ interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps$1>, Pick<Ta
1907
1915
  emptyState?: TagListProps<object>['renderEmptyState'];
1908
1916
  }
1909
1917
 
1910
- type RemovedProps = 'className' | 'style' | 'isDisabled';
1911
- interface TagProps extends Omit<RAC.TagProps, RemovedProps> {
1918
+ type RemovedProps$1 = 'className' | 'style' | 'isDisabled';
1919
+ interface TagProps extends Omit<RAC.TagProps, RemovedProps$1> {
1912
1920
  variant?: string;
1913
1921
  size?: string;
1914
1922
  children?: ReactNode;
@@ -1960,4 +1968,51 @@ declare const _Tabs: {
1960
1968
  Item: (props: TabProps) => react_jsx_runtime.JSX.Element;
1961
1969
  };
1962
1970
 
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, gridColsAlign, gridColumn, useFieldGroupContext, usePortalContainer };
1971
+ type RemovedProps = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'slot';
1972
+ interface TimeFieldProps extends Omit<RAC.TimeFieldProps<TimeValue>, RemovedProps>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1973
+ variant?: string;
1974
+ size?: string;
1975
+ /**
1976
+ * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
1977
+ * @default full
1978
+ */
1979
+ width?: WidthProp['width'];
1980
+ /**
1981
+ * If `true`, the input is disabled.
1982
+ * @default false
1983
+ */
1984
+ disabled?: RAC.TimeFieldProps<TimeValue>['isDisabled'];
1985
+ /**
1986
+ * If `true`, the input is required.
1987
+ * @default false
1988
+ */
1989
+ required?: RAC.TimeFieldProps<TimeValue>['isRequired'];
1990
+ /**
1991
+ * If `true`, the field is considered invalid and if set the `errorMessage` is shown instead of the `description`.
1992
+ * @default false
1993
+ */
1994
+ error?: RAC.TimeFieldProps<TimeValue>['isInvalid'];
1995
+ /**
1996
+ * If `true`, the input is readOnly.
1997
+ * @default false
1998
+ */
1999
+ readOnly?: RAC.TimeFieldProps<TimeValue>['isReadOnly'];
2000
+ /**
2001
+ * Whether to display the time in 12 or 24 hour format
2002
+ * @default 24
2003
+ */
2004
+ hourCycle?: 12 | 24 | undefined;
2005
+ /**
2006
+ * Determines the smallest unit that is displayed in the time picker.
2007
+ * @default minute
2008
+ */
2009
+ granularity?: 'hour' | 'minute' | 'second';
2010
+ /**
2011
+ * Whether to always show leading zeros in the hour field. Default is determined by the user's locale.
2012
+ * @default none
2013
+ */
2014
+ shouldForceLeadingZeros?: boolean;
2015
+ }
2016
+ declare const _TimeField: react.ForwardRefExoticComponent<TimeFieldProps & react.RefAttributes<HTMLInputElement>>;
2017
+
2018
+ 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$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, gridColsAlign, gridColumn, useFieldGroupContext, usePortalContainer };
package/dist/index.d.ts CHANGED
@@ -1,10 +1,10 @@
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';
4
+ import { GapSpaceProp, AspectProp, WidthProp, PaddingSpaceProp, PaddingRightProp, PaddingLeftProp, PaddingBottomProp, PaddingTopProp, PaddingSpacePropX, PaddingSpacePropY, PlaceItemsProp, MaxWidthProp, HeightProp, alignment, TextAlignProp, ObjectFitProp, ObjectPositionProp, Theme, ThemeProviderProps, FontSizeProp, FontWeightProp, FontStyleProp, CursorProp } from '@marigold/system';
5
5
  export { DateFormat, NumericFormat, ThemeProvider, useTheme } from '@marigold/system';
6
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
7
- import RAC, { ValidationResult, Key, DialogProps as DialogProps$1, DateValue, SlotProps, TagListProps, ProgressBarProps } from 'react-aria-components';
7
+ import RAC, { ValidationResult, Key, DialogProps as DialogProps$1, DateValue, SlotProps, TagListProps, ProgressBarProps, TimeValue } from 'react-aria-components';
8
8
  export { RouterProvider } from 'react-aria-components';
9
9
  import * as react from 'react';
10
10
  import react__default, { ReactNode, ReactElement, ElementType, ComponentPropsWithRef, ForwardRefExoticComponent, RefAttributes, Key as Key$1, CSSProperties, Dispatch, SetStateAction, JSX } from 'react';
@@ -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$r = 'isDisabled' | 'isExpanded';
21
- interface DisclosureProps extends Omit<RAC.DisclosureProps, RemovedProps$r> {
20
+ type RemovedProps$s = 'isDisabled' | 'isExpanded';
21
+ interface DisclosureProps extends Omit<RAC.DisclosureProps, RemovedProps$s> {
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$q = 'isDisabled';
38
- interface AccordionProps extends Omit<RAC.DisclosureGroupProps, RemovedProps$q> {
37
+ type RemovedProps$r = 'isDisabled';
38
+ interface AccordionProps extends Omit<RAC.DisclosureGroupProps, RemovedProps$r> {
39
39
  /** Whether all items are disabled. */
40
40
  disabled?: RAC.DisclosureGroupProps['isDisabled'];
41
41
  variant?: string;
@@ -152,8 +152,8 @@ interface ListBoxComponent extends ForwardRefExoticComponent<ListBoxProps & RefA
152
152
  }
153
153
  declare const _ListBox: ListBoxComponent;
154
154
 
155
- type RemovedProps$p = 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'inputValue' | 'onInputChange' | 'defaultValue' | 'validate' | 'validationState' | 'slot';
156
- interface AutocompleteProps extends Omit<RAC.ComboBoxProps<object>, RemovedProps$p>, Pick<FieldBaseProps<'label'>, 'width' | 'label' | 'description' | 'errorMessage'> {
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'> {
157
157
  /**
158
158
  * The value of the input (uncontrolled).
159
159
  */
@@ -220,8 +220,8 @@ interface AutocompleteComponent extends ForwardRefExoticComponent<AutocompletePr
220
220
  }
221
221
  declare const _Autocomplete: AutocompleteComponent;
222
222
 
223
- type RemovedProps$o = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'defaultInputValue' | 'inputValue' | 'onInputChange';
224
- interface ComboBoxProps extends Omit<RAC.ComboBoxProps<any>, RemovedProps$o>, Pick<FieldBaseProps<'label'>, 'width' | 'label' | 'description' | 'errorMessage'> {
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'> {
225
225
  variant?: string;
226
226
  size?: string;
227
227
  /**
@@ -302,8 +302,8 @@ interface BodyProps extends Omit<HtmlProps<'section'>, 'className'> {
302
302
  }
303
303
  declare const Body: ({ children, variant, size, ...props }: BodyProps) => react_jsx_runtime.JSX.Element;
304
304
 
305
- type RemovedProps$n = 'isDisabled' | 'isPending';
306
- interface ButtonProps extends Omit<RAC.ButtonProps, RemovedProps$n> {
305
+ type RemovedProps$o = 'isDisabled' | 'isPending';
306
+ interface ButtonProps extends Omit<RAC.ButtonProps, RemovedProps$o> {
307
307
  variant?: string;
308
308
  size?: string;
309
309
  /**
@@ -361,8 +361,8 @@ interface CenterProps extends GapSpaceProp, AriaRegionProps {
361
361
  }
362
362
  declare const Center: ({ maxWidth, space, children, ...props }: CenterProps) => react_jsx_runtime.JSX.Element;
363
363
 
364
- type RemovedProps$m = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly';
365
- interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$m>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
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'> {
366
366
  /**
367
367
  * The children of the component
368
368
  */
@@ -402,8 +402,8 @@ interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$m
402
402
  }
403
403
  declare const _CheckboxGroup: ({ children, variant, size, required, disabled, readOnly, error, width, orientation, ...rest }: CheckboxGroupProps) => react_jsx_runtime.JSX.Element;
404
404
 
405
- type RemovedProps$l = 'children' | 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'isSelected' | 'isIndeterminate' | 'defaultSelected';
406
- interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$l> {
405
+ type RemovedProps$m = 'children' | 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'isSelected' | 'isIndeterminate' | 'defaultSelected';
406
+ interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$m> {
407
407
  variant?: string;
408
408
  size?: string;
409
409
  /**
@@ -535,14 +535,14 @@ interface DialogTitleProps {
535
535
  }
536
536
  declare const DialogTitle: ({ variant, size, children }: DialogTitleProps) => react_jsx_runtime.JSX.Element;
537
537
 
538
- type RemovedProps$k = 'children' | 'isOpen' | 'isDismissable' | 'isKeyboardDismissDisabled';
538
+ type RemovedProps$l = 'children' | 'isOpen' | 'isDismissable' | 'isKeyboardDismissDisabled';
539
539
  interface ModalProps$1 extends RAC.ModalOverlayProps {
540
540
  open?: boolean;
541
541
  dismissable?: boolean;
542
542
  keyboardDismissable?: boolean;
543
543
  size?: string;
544
544
  }
545
- interface DialogTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'>, Omit<ModalProps$1, RemovedProps$k> {
545
+ interface DialogTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'>, Omit<ModalProps$1, RemovedProps$l> {
546
546
  }
547
547
  declare const _DialogTrigger: ({ open, dismissable, keyboardDismissable, ...rest }: DialogTriggerProps) => ReactNode;
548
548
 
@@ -703,9 +703,17 @@ interface GridProps extends GapSpaceProp, HeightProp, AriaRegionProps {
703
703
  * Children of the layout.
704
704
  */
705
705
  children?: ReactNode;
706
+ /**
707
+ * Horizontal alignment for the children.
708
+ */
709
+ alignX?: keyof typeof alignment.horizontal.alignmentX;
710
+ /**
711
+ * Vertical alignment for the children.
712
+ */
713
+ alignY?: keyof typeof alignment.horizontal.alignmentY;
706
714
  }
707
715
  declare const Grid: {
708
- ({ children, areas, columns, rows, height, space, ...props }: GridProps): react_jsx_runtime.JSX.Element;
716
+ ({ children, areas, columns, rows, alignX, alignY, height, space, ...props }: GridProps): react_jsx_runtime.JSX.Element;
709
717
  Area: ({ name, children }: GridAreaProps) => react_jsx_runtime.JSX.Element;
710
718
  };
711
719
 
@@ -771,8 +779,8 @@ interface InlineProps extends GapSpaceProp, AriaRegionProps {
771
779
  }
772
780
  declare const Inline: ({ space, alignX, alignY, children, ...props }: InlineProps) => react_jsx_runtime.JSX.Element;
773
781
 
774
- type RemovedProps$j = 'className' | 'style' | 'size';
775
- interface InputProps extends Omit<RAC.InputProps, RemovedProps$j> {
782
+ type RemovedProps$k = 'className' | 'style' | 'size';
783
+ interface InputProps extends Omit<RAC.InputProps, RemovedProps$k> {
776
784
  icon?: ReactElement<any>;
777
785
  action?: ReactElement<any>;
778
786
  variant?: string;
@@ -781,8 +789,8 @@ interface InputProps extends Omit<RAC.InputProps, RemovedProps$j> {
781
789
  }
782
790
  declare const _Input: react.ForwardRefExoticComponent<InputProps & react.RefAttributes<HTMLInputElement>>;
783
791
 
784
- type RemovedProps$i = 'className' | 'isRequired' | 'isDisabled' | 'isInvalid' | 'isReadOnly' | 'label' | 'children' | 'style';
785
- interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProps$i>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
792
+ type RemovedProps$j = 'className' | 'isRequired' | 'isDisabled' | 'isInvalid' | 'isReadOnly' | 'label' | 'children' | 'style';
793
+ interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProps$j>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
786
794
  variant?: string;
787
795
  size?: string;
788
796
  /**
@@ -817,8 +825,8 @@ interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProp
817
825
  }
818
826
  declare const _DateField: react.ForwardRefExoticComponent<DateFieldProps & react.RefAttributes<HTMLInputElement>>;
819
827
 
820
- type RemovedProps$h = 'visibleDuration' | 'pageBehavior' | 'isDateUnavailable' | 'isDisabled' | 'isReadOnly' | 'isInvalid' | 'errorMessage' | 'className' | 'style';
821
- interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$h> {
828
+ type RemovedProps$i = 'visibleDuration' | 'pageBehavior' | 'isDateUnavailable' | 'isDisabled' | 'isReadOnly' | 'isInvalid' | 'errorMessage' | 'className' | 'style';
829
+ interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$i> {
822
830
  /**
823
831
  * Disables the Calendar.
824
832
  * @default false
@@ -842,8 +850,8 @@ interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$
842
850
  }
843
851
  declare const _Calendar: ({ disabled, readOnly, size, variant, dateUnavailable, ...rest }: CalendarProps) => react_jsx_runtime.JSX.Element;
844
852
 
845
- type RemovedProps$g = 'isDisabled' | 'isDateUnavailable' | 'isReadOnly' | 'isRequired' | 'isInvalid' | 'style' | 'className' | 'isOpen';
846
- interface DatePickerProps extends Omit<RAC.DatePickerProps<DateValue>, RemovedProps$g>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
853
+ type RemovedProps$h = 'isDisabled' | 'isDateUnavailable' | 'isReadOnly' | 'isRequired' | 'isInvalid' | 'style' | 'className' | 'isOpen';
854
+ interface DatePickerProps extends Omit<RAC.DatePickerProps<DateValue>, RemovedProps$h>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
847
855
  /**
848
856
  * Callback that is called for each date of the calendar. If it returns true, then the date is unavailable.
849
857
  */
@@ -907,15 +915,15 @@ type InsetProps = (AriaRegionProps & {
907
915
  });
908
916
  declare const Inset: ({ space, spaceX, spaceY, children }: InsetProps) => react_jsx_runtime.JSX.Element;
909
917
 
910
- type RemovedProps$f = 'className';
911
- interface LabelProps extends Omit<RAC.LabelProps, RemovedProps$f> {
918
+ type RemovedProps$g = 'className';
919
+ interface LabelProps extends Omit<RAC.LabelProps, RemovedProps$g> {
912
920
  size?: string;
913
921
  variant?: string;
914
922
  }
915
923
  declare const _Label: ({ size, variant, children, ...props }: LabelProps) => react_jsx_runtime.JSX.Element;
916
924
 
917
- type RemovedProps$e = 'className' | 'isDisabled' | 'slot';
918
- interface LinkProps extends Omit<RAC.LinkProps, RemovedProps$e> {
925
+ type RemovedProps$f = 'className' | 'isDisabled' | 'slot';
926
+ interface LinkProps extends Omit<RAC.LinkProps, RemovedProps$f> {
919
927
  variant?: string;
920
928
  size?: string;
921
929
  /**
@@ -951,14 +959,14 @@ declare const List: {
951
959
  Item: ({ children, ...props }: ListItemProps) => react_jsx_runtime.JSX.Element;
952
960
  };
953
961
 
954
- type RemovedProps$d = 'className' | 'style' | 'children';
955
- interface MenuSectionProps extends Omit<RAC.SectionProps<object>, RemovedProps$d> {
962
+ type RemovedProps$e = 'className' | 'style' | 'children';
963
+ interface MenuSectionProps extends Omit<RAC.SectionProps<object>, RemovedProps$e> {
956
964
  title?: string;
957
965
  children: ReactNode;
958
966
  }
959
967
 
960
- type RemovedProps$c = 'style' | 'className';
961
- type MenuItemProps = Omit<RAC.MenuItemProps, RemovedProps$c>;
968
+ type RemovedProps$d = 'style' | 'className';
969
+ type MenuItemProps = Omit<RAC.MenuItemProps, RemovedProps$d>;
962
970
 
963
971
  interface PopoverProps extends Omit<RAC.PopoverProps, 'isOpen' | 'isKeyboardDismissDisabled' | 'style' | 'className' | 'children'> {
964
972
  keyboardDismissDisabled?: boolean;
@@ -968,8 +976,8 @@ interface PopoverProps extends Omit<RAC.PopoverProps, 'isOpen' | 'isKeyboardDism
968
976
  }
969
977
  declare const _Popover: react.ForwardRefExoticComponent<PopoverProps & react.RefAttributes<HTMLDivElement>>;
970
978
 
971
- type RemovedProps$b = 'isOpen' | 'className' | 'style' | 'children';
972
- interface MenuProps extends Omit<RAC.MenuTriggerProps, RemovedProps$b>, Omit<RAC.MenuProps<object>, RemovedProps$b> {
979
+ type RemovedProps$c = 'isOpen' | 'className' | 'style' | 'children';
980
+ interface MenuProps extends Omit<RAC.MenuTriggerProps, RemovedProps$c>, Omit<RAC.MenuProps<object>, RemovedProps$c> {
973
981
  /**
974
982
  * Whether the menu is open.
975
983
  * @default false
@@ -1160,8 +1168,8 @@ interface MultipleSelectProps extends Pick<FieldBaseProps<'label'>, 'width' | 's
1160
1168
  }
1161
1169
  declare const Multiselect: ({ disabled, readOnly, items, selectedItems, defaultSelectedItems, defaultValue, error, errorMessage, size, variant, placeholder, description, onChange, onSelectionChange, ...rest }: MultipleSelectProps) => react_jsx_runtime.JSX.Element;
1162
1170
 
1163
- type RemovedProps$a = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'size';
1164
- interface NumberFieldProps extends Omit<RAC.NumberFieldProps, RemovedProps$a>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1171
+ type RemovedProps$b = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'size';
1172
+ interface NumberFieldProps extends Omit<RAC.NumberFieldProps, RemovedProps$b>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1165
1173
  variant?: string;
1166
1174
  size?: string;
1167
1175
  /**
@@ -1332,8 +1340,8 @@ declare function MarigoldProvider<T extends Theme>({ children, className, theme,
1332
1340
  declare const OverlayContainerProvider: react.Provider<string | undefined>;
1333
1341
  declare const usePortalContainer: () => HTMLElement | undefined;
1334
1342
 
1335
- type RemovedProps$9 = 'className' | 'style' | 'isDisabled' | 'isInvalid' | 'isRequired' | 'isSelected';
1336
- interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$9> {
1343
+ type RemovedProps$a = 'className' | 'style' | 'isDisabled' | 'isInvalid' | 'isRequired' | 'isSelected';
1344
+ interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$a> {
1337
1345
  variant?: string;
1338
1346
  size?: string;
1339
1347
  /**
@@ -1392,8 +1400,8 @@ interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$9> {
1392
1400
  }
1393
1401
  declare const _RadioGroup: ({ variant, size, label, error, disabled, required, readOnly, description, errorMessage, orientation, children, width, ...rest }: RadioGroupProps) => react_jsx_runtime.JSX.Element;
1394
1402
 
1395
- type RemovedProps$8 = 'className' | 'style' | 'children' | 'isDisabled';
1396
- interface RadioProps extends Omit<RAC.RadioProps, RemovedProps$8> {
1403
+ type RemovedProps$9 = 'className' | 'style' | 'children' | 'isDisabled';
1404
+ interface RadioProps extends Omit<RAC.RadioProps, RemovedProps$9> {
1397
1405
  variant?: string;
1398
1406
  size?: string;
1399
1407
  /**
@@ -1418,8 +1426,8 @@ interface RadioComponent extends ForwardRefExoticComponent<RadioProps & RefAttri
1418
1426
  Group: typeof _RadioGroup;
1419
1427
  }
1420
1428
 
1421
- type RemovedProps$7 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
1422
- interface SearchFieldProps extends Omit<RAC.SearchFieldProps, RemovedProps$7>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1429
+ type RemovedProps$8 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
1430
+ interface SearchFieldProps extends Omit<RAC.SearchFieldProps, RemovedProps$8>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1423
1431
  /**
1424
1432
  * Action element to display in the search field.
1425
1433
  */
@@ -1623,8 +1631,8 @@ interface StackProps extends GapSpaceProp, AriaRegionProps {
1623
1631
  }
1624
1632
  declare const Stack: ({ children, space, stretch, alignX, alignY, ...props }: StackProps) => react_jsx_runtime.JSX.Element;
1625
1633
 
1626
- type RemovedProps$6 = 'children' | 'className' | 'isDisabled' | 'isReadOnly' | 'isSelected' | 'children' | 'slot';
1627
- interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$6> {
1634
+ type RemovedProps$7 = 'children' | 'className' | 'isDisabled' | 'isReadOnly' | 'isSelected' | 'children' | 'slot';
1635
+ interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$7> {
1628
1636
  variant?: string;
1629
1637
  size?: string;
1630
1638
  /**
@@ -1722,8 +1730,8 @@ interface TextProps extends AriaLabelingProps, Omit<RAC.TextProps, 'elementType'
1722
1730
  }
1723
1731
  declare const _Text: ({ variant, size, color, align, cursor, weight, fontSize, fontStyle, children, as, ...props }: TextProps) => react_jsx_runtime.JSX.Element;
1724
1732
 
1725
- type RemovedProps$5 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
1726
- interface TextAreaProps extends Omit<RAC.TextFieldProps, RemovedProps$5>, Pick<RAC.TextAreaProps, 'rows'>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1733
+ type RemovedProps$6 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
1734
+ interface TextAreaProps extends Omit<RAC.TextFieldProps, RemovedProps$6>, Pick<RAC.TextAreaProps, 'rows'>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1727
1735
  variant?: string;
1728
1736
  size?: string;
1729
1737
  /**
@@ -1774,8 +1782,8 @@ interface TextAreaProps extends Omit<RAC.TextFieldProps, RemovedProps$5>, Pick<R
1774
1782
  }
1775
1783
  declare const _TextArea: react.ForwardRefExoticComponent<TextAreaProps & react.RefAttributes<HTMLTextAreaElement>>;
1776
1784
 
1777
- type RemovedProps$4 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue' | 'slot';
1778
- interface TextFieldProps extends Omit<RAC.TextFieldProps, RemovedProps$4>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1785
+ type RemovedProps$5 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue' | 'slot';
1786
+ interface TextFieldProps extends Omit<RAC.TextFieldProps, RemovedProps$5>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1779
1787
  variant?: string;
1780
1788
  size?: string;
1781
1789
  /**
@@ -1854,8 +1862,8 @@ interface TilesProps extends GapSpaceProp, AriaRegionProps {
1854
1862
  }
1855
1863
  declare const Tiles: ({ space, stretch, equalHeight, tilesWidth, children, ...props }: TilesProps) => react_jsx_runtime.JSX.Element;
1856
1864
 
1857
- type RemovedProps$3 = 'isDisabled' | 'isOpen' | 'children';
1858
- interface TooltipTriggerProps extends Omit<RAC.TooltipTriggerComponentProps, RemovedProps$3> {
1865
+ type RemovedProps$4 = 'isDisabled' | 'isOpen' | 'children';
1866
+ interface TooltipTriggerProps extends Omit<RAC.TooltipTriggerComponentProps, RemovedProps$4> {
1859
1867
  /**
1860
1868
  * The children of the component.
1861
1869
  */
@@ -1870,8 +1878,8 @@ interface TooltipTriggerProps extends Omit<RAC.TooltipTriggerComponentProps, Rem
1870
1878
  open?: boolean;
1871
1879
  }
1872
1880
 
1873
- type RemovedProps$2 = 'className' | 'isOpen' | 'style';
1874
- interface TooltipProps extends Omit<RAC.TooltipProps, RemovedProps$2> {
1881
+ type RemovedProps$3 = 'className' | 'isOpen' | 'style';
1882
+ interface TooltipProps extends Omit<RAC.TooltipProps, RemovedProps$3> {
1875
1883
  /**
1876
1884
  * The children of the component.
1877
1885
  */
@@ -1888,8 +1896,8 @@ declare const _Tooltip: {
1888
1896
  Trigger: ({ delay, children, disabled, open, ...rest }: TooltipTriggerProps) => react_jsx_runtime.JSX.Element;
1889
1897
  };
1890
1898
 
1891
- type RemovedProps$1 = 'className' | 'style' | 'children' | 'isRequired';
1892
- interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps$1>, Pick<TagListProps<object>, 'items' | 'children'>, Pick<FieldBaseProps<'label'>, 'label' | 'description'> {
1899
+ type RemovedProps$2 = 'className' | 'style' | 'children' | 'isRequired';
1900
+ interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps$2>, Pick<TagListProps<object>, 'items' | 'children'>, Pick<FieldBaseProps<'label'>, 'label' | 'description'> {
1893
1901
  variant?: string;
1894
1902
  size?: string;
1895
1903
  /**
@@ -1907,8 +1915,8 @@ interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps$1>, Pick<Ta
1907
1915
  emptyState?: TagListProps<object>['renderEmptyState'];
1908
1916
  }
1909
1917
 
1910
- type RemovedProps = 'className' | 'style' | 'isDisabled';
1911
- interface TagProps extends Omit<RAC.TagProps, RemovedProps> {
1918
+ type RemovedProps$1 = 'className' | 'style' | 'isDisabled';
1919
+ interface TagProps extends Omit<RAC.TagProps, RemovedProps$1> {
1912
1920
  variant?: string;
1913
1921
  size?: string;
1914
1922
  children?: ReactNode;
@@ -1960,4 +1968,51 @@ declare const _Tabs: {
1960
1968
  Item: (props: TabProps) => react_jsx_runtime.JSX.Element;
1961
1969
  };
1962
1970
 
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, gridColsAlign, gridColumn, useFieldGroupContext, usePortalContainer };
1971
+ type RemovedProps = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'slot';
1972
+ interface TimeFieldProps extends Omit<RAC.TimeFieldProps<TimeValue>, RemovedProps>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1973
+ variant?: string;
1974
+ size?: string;
1975
+ /**
1976
+ * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
1977
+ * @default full
1978
+ */
1979
+ width?: WidthProp['width'];
1980
+ /**
1981
+ * If `true`, the input is disabled.
1982
+ * @default false
1983
+ */
1984
+ disabled?: RAC.TimeFieldProps<TimeValue>['isDisabled'];
1985
+ /**
1986
+ * If `true`, the input is required.
1987
+ * @default false
1988
+ */
1989
+ required?: RAC.TimeFieldProps<TimeValue>['isRequired'];
1990
+ /**
1991
+ * If `true`, the field is considered invalid and if set the `errorMessage` is shown instead of the `description`.
1992
+ * @default false
1993
+ */
1994
+ error?: RAC.TimeFieldProps<TimeValue>['isInvalid'];
1995
+ /**
1996
+ * If `true`, the input is readOnly.
1997
+ * @default false
1998
+ */
1999
+ readOnly?: RAC.TimeFieldProps<TimeValue>['isReadOnly'];
2000
+ /**
2001
+ * Whether to display the time in 12 or 24 hour format
2002
+ * @default 24
2003
+ */
2004
+ hourCycle?: 12 | 24 | undefined;
2005
+ /**
2006
+ * Determines the smallest unit that is displayed in the time picker.
2007
+ * @default minute
2008
+ */
2009
+ granularity?: 'hour' | 'minute' | 'second';
2010
+ /**
2011
+ * Whether to always show leading zeros in the hour field. Default is determined by the user's locale.
2012
+ * @default none
2013
+ */
2014
+ shouldForceLeadingZeros?: boolean;
2015
+ }
2016
+ declare const _TimeField: react.ForwardRefExoticComponent<TimeFieldProps & react.RefAttributes<HTMLInputElement>>;
2017
+
2018
+ 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$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, gridColsAlign, gridColumn, useFieldGroupContext, usePortalContainer };
package/dist/index.js CHANGED
@@ -923,6 +923,7 @@ __export(index_exports, {
923
923
  TextField: () => _TextField,
924
924
  ThemeProvider: () => import_system15.ThemeProvider,
925
925
  Tiles: () => Tiles,
926
+ TimeField: () => _TimeField,
926
927
  Tooltip: () => _Tooltip,
927
928
  Underlay: () => Underlay,
928
929
  VisuallyHidden: () => import_visually_hidden.VisuallyHidden,
@@ -977,7 +978,7 @@ var import_jsx_runtime2 = require("react/jsx-runtime");
977
978
  var AccordionHeader = ({ children }) => {
978
979
  const { classNames: classNames3 } = useAccordionContext();
979
980
  const { isExpanded } = (0, import_react3.useContext)(import_react_aria_components.DisclosureStateContext);
980
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_aria_components.Heading, { children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react_aria_components.Button, { slot: "trigger", className: classNames3.header, children: [
981
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_react_aria_components.Heading, { className: "flex-1", children: /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(import_react_aria_components.Button, { slot: "trigger", className: classNames3.header, children: [
981
982
  children,
982
983
  /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
983
984
  ChevronDown,
@@ -2717,14 +2718,23 @@ var Grid = ({
2717
2718
  areas,
2718
2719
  columns,
2719
2720
  rows,
2721
+ alignX,
2722
+ alignY,
2720
2723
  height = "auto",
2721
2724
  space = 0,
2722
2725
  ...props
2723
2726
  }) => {
2727
+ var _a, _b, _c, _d;
2724
2728
  return /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
2725
2729
  "div",
2726
2730
  {
2727
- className: (0, import_system50.cn)("grid", import_system50.gapSpace[space], import_system50.height[height]),
2731
+ className: (0, import_system50.cn)(
2732
+ "grid",
2733
+ alignX && ((_b = (_a = import_system50.alignment) == null ? void 0 : _a.horizontal) == null ? void 0 : _b.alignmentX[alignX]),
2734
+ alignY && ((_d = (_c = import_system50.alignment) == null ? void 0 : _c.horizontal) == null ? void 0 : _d.alignmentY[alignY]),
2735
+ import_system50.gapSpace[space],
2736
+ import_system50.height[height]
2737
+ ),
2728
2738
  style: {
2729
2739
  gridTemplateAreas: parseGridAreas(areas),
2730
2740
  gridTemplateColumns: parseTemplateValue(columns),
@@ -11078,6 +11088,45 @@ _Tabs.Item = _Tab;
11078
11088
 
11079
11089
  // src/RouterProvider/RouterProvider.tsx
11080
11090
  var import_react_aria_components75 = require("react-aria-components");
11091
+
11092
+ // src/TimeField/TimeField.tsx
11093
+ var import_react77 = require("react");
11094
+ var import_react_aria_components76 = require("react-aria-components");
11095
+ var import_system108 = require("@marigold/system");
11096
+ var import_jsx_runtime126 = require("react/jsx-runtime");
11097
+ var _TimeField = (0, import_react77.forwardRef)(
11098
+ ({
11099
+ required,
11100
+ disabled,
11101
+ readOnly,
11102
+ error,
11103
+ variant,
11104
+ size: size2,
11105
+ width = "full",
11106
+ ...rest
11107
+ }, ref) => {
11108
+ const classNames3 = (0, import_system108.useClassNames)({ component: "DateField", variant, size: size2 });
11109
+ const props = {
11110
+ isDisabled: disabled,
11111
+ isReadOnly: readOnly,
11112
+ isInvalid: error,
11113
+ isRequired: required,
11114
+ ...rest
11115
+ };
11116
+ return /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(
11117
+ FieldBase,
11118
+ {
11119
+ as: import_react_aria_components76.TimeField,
11120
+ variant,
11121
+ size: size2,
11122
+ width,
11123
+ ...props,
11124
+ ref,
11125
+ children: /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_react_aria_components76.DateInput, { className: classNames3.field, children: (segment) => /* @__PURE__ */ (0, import_jsx_runtime126.jsx)(import_react_aria_components76.DateSegment, { className: classNames3.segment, segment }) })
11126
+ }
11127
+ );
11128
+ }
11129
+ );
11081
11130
  // Annotate the CommonJS export names for ESM import in node:
11082
11131
  0 && (module.exports = {
11083
11132
  Accordion,
@@ -11150,6 +11199,7 @@ var import_react_aria_components75 = require("react-aria-components");
11150
11199
  TextField,
11151
11200
  ThemeProvider,
11152
11201
  Tiles,
11202
+ TimeField,
11153
11203
  Tooltip,
11154
11204
  Underlay,
11155
11205
  VisuallyHidden,
package/dist/index.mjs CHANGED
@@ -884,7 +884,7 @@ import { jsx as jsx2, jsxs } from "react/jsx-runtime";
884
884
  var AccordionHeader = ({ children }) => {
885
885
  const { classNames: classNames3 } = useAccordionContext();
886
886
  const { isExpanded } = useContext2(DisclosureStateContext);
887
- return /* @__PURE__ */ jsx2(Heading, { children: /* @__PURE__ */ jsxs(Button, { slot: "trigger", className: classNames3.header, children: [
887
+ return /* @__PURE__ */ jsx2(Heading, { className: "flex-1", children: /* @__PURE__ */ jsxs(Button, { slot: "trigger", className: classNames3.header, children: [
888
888
  children,
889
889
  /* @__PURE__ */ jsx2(
890
890
  ChevronDown,
@@ -2639,7 +2639,7 @@ var _Form = ({ unstyled, maxWidth = "full", ...props }) => /* @__PURE__ */ jsx55
2639
2639
  );
2640
2640
 
2641
2641
  // src/Grid/Grid.tsx
2642
- import { cn as cn34, gapSpace as gapSpace6, height as twHeight } from "@marigold/system";
2642
+ import { alignment, cn as cn34, gapSpace as gapSpace6, height as twHeight } from "@marigold/system";
2643
2643
 
2644
2644
  // src/Grid/GridArea.tsx
2645
2645
  import { jsx as jsx56 } from "react/jsx-runtime";
@@ -2654,14 +2654,23 @@ var Grid = ({
2654
2654
  areas,
2655
2655
  columns,
2656
2656
  rows,
2657
+ alignX,
2658
+ alignY,
2657
2659
  height = "auto",
2658
2660
  space = 0,
2659
2661
  ...props
2660
2662
  }) => {
2663
+ var _a, _b, _c, _d;
2661
2664
  return /* @__PURE__ */ jsx57(
2662
2665
  "div",
2663
2666
  {
2664
- className: cn34("grid", gapSpace6[space], twHeight[height]),
2667
+ className: cn34(
2668
+ "grid",
2669
+ alignX && ((_b = (_a = alignment) == null ? void 0 : _a.horizontal) == null ? void 0 : _b.alignmentX[alignX]),
2670
+ alignY && ((_d = (_c = alignment) == null ? void 0 : _c.horizontal) == null ? void 0 : _d.alignmentY[alignY]),
2671
+ gapSpace6[space],
2672
+ twHeight[height]
2673
+ ),
2665
2674
  style: {
2666
2675
  gridTemplateAreas: parseGridAreas(areas),
2667
2676
  gridTemplateColumns: parseTemplateValue(columns),
@@ -2759,7 +2768,7 @@ var Image = ({
2759
2768
  };
2760
2769
 
2761
2770
  // src/Inline/Inline.tsx
2762
- import { alignment, cn as cn37, gapSpace as gapSpace7 } from "@marigold/system";
2771
+ import { alignment as alignment2, cn as cn37, gapSpace as gapSpace7 } from "@marigold/system";
2763
2772
  import { jsx as jsx61 } from "react/jsx-runtime";
2764
2773
  var Inline = ({
2765
2774
  space = 0,
@@ -2776,8 +2785,8 @@ var Inline = ({
2776
2785
  className: cn37(
2777
2786
  "flex flex-wrap",
2778
2787
  gapSpace7[space],
2779
- alignX && ((_b = (_a = alignment) == null ? void 0 : _a.horizontal) == null ? void 0 : _b.alignmentX[alignX]),
2780
- alignY && ((_d = (_c = alignment) == null ? void 0 : _c.horizontal) == null ? void 0 : _d.alignmentY[alignY])
2788
+ alignX && ((_b = (_a = alignment2) == null ? void 0 : _a.horizontal) == null ? void 0 : _b.alignmentX[alignX]),
2789
+ alignY && ((_d = (_c = alignment2) == null ? void 0 : _c.horizontal) == null ? void 0 : _d.alignmentY[alignY])
2781
2790
  ),
2782
2791
  children
2783
2792
  }
@@ -9976,7 +9985,7 @@ import { jsx as jsx100 } from "react/jsx-runtime";
9976
9985
  var Split = () => /* @__PURE__ */ jsx100("div", { role: "separator", className: "grow" });
9977
9986
 
9978
9987
  // src/Stack/Stack.tsx
9979
- import { alignment as alignment2, cn as cn60, gapSpace as gapSpace8 } from "@marigold/system";
9988
+ import { alignment as alignment3, cn as cn60, gapSpace as gapSpace8 } from "@marigold/system";
9980
9989
  import { jsx as jsx101 } from "react/jsx-runtime";
9981
9990
  var Stack = ({
9982
9991
  children,
@@ -9993,8 +10002,8 @@ var Stack = ({
9993
10002
  className: cn60(
9994
10003
  "flex flex-col",
9995
10004
  gapSpace8[space],
9996
- alignX && ((_b = (_a = alignment2) == null ? void 0 : _a.vertical) == null ? void 0 : _b.alignmentX[alignX]),
9997
- alignY && ((_d = (_c = alignment2) == null ? void 0 : _c.vertical) == null ? void 0 : _d.alignmentY[alignY]),
10005
+ alignX && ((_b = (_a = alignment3) == null ? void 0 : _a.vertical) == null ? void 0 : _b.alignmentX[alignX]),
10006
+ alignY && ((_d = (_c = alignment3) == null ? void 0 : _c.vertical) == null ? void 0 : _d.alignmentY[alignY]),
9998
10007
  stretch && "h-full w-full"
9999
10008
  ),
10000
10009
  ...props,
@@ -11085,6 +11094,45 @@ _Tabs.Item = _Tab;
11085
11094
 
11086
11095
  // src/RouterProvider/RouterProvider.tsx
11087
11096
  import { RouterProvider } from "react-aria-components";
11097
+
11098
+ // src/TimeField/TimeField.tsx
11099
+ import { forwardRef as forwardRef34 } from "react";
11100
+ import { DateInput as DateInput2, DateSegment as DateSegment2, TimeField } from "react-aria-components";
11101
+ import { useClassNames as useClassNames69 } from "@marigold/system";
11102
+ import { jsx as jsx127 } from "react/jsx-runtime";
11103
+ var _TimeField = forwardRef34(
11104
+ ({
11105
+ required,
11106
+ disabled,
11107
+ readOnly,
11108
+ error,
11109
+ variant,
11110
+ size: size2,
11111
+ width = "full",
11112
+ ...rest
11113
+ }, ref) => {
11114
+ const classNames3 = useClassNames69({ component: "DateField", variant, size: size2 });
11115
+ const props = {
11116
+ isDisabled: disabled,
11117
+ isReadOnly: readOnly,
11118
+ isInvalid: error,
11119
+ isRequired: required,
11120
+ ...rest
11121
+ };
11122
+ return /* @__PURE__ */ jsx127(
11123
+ FieldBase,
11124
+ {
11125
+ as: TimeField,
11126
+ variant,
11127
+ size: size2,
11128
+ width,
11129
+ ...props,
11130
+ ref,
11131
+ children: /* @__PURE__ */ jsx127(DateInput2, { className: classNames3.field, children: (segment) => /* @__PURE__ */ jsx127(DateSegment2, { className: classNames3.segment, segment }) })
11132
+ }
11133
+ );
11134
+ }
11135
+ );
11088
11136
  export {
11089
11137
  Accordion,
11090
11138
  AccordionItem,
@@ -11156,6 +11204,7 @@ export {
11156
11204
  _TextField as TextField,
11157
11205
  ThemeProvider2 as ThemeProvider,
11158
11206
  Tiles,
11207
+ _TimeField as TimeField,
11159
11208
  _Tooltip as Tooltip,
11160
11209
  Underlay,
11161
11210
  VisuallyHidden,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@marigold/components",
3
- "version": "12.0.2",
3
+ "version": "12.0.3",
4
4
  "description": "Components for the Marigold Design System",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -54,7 +54,7 @@
54
54
  "@react-types/table": "3.13.0",
55
55
  "react-aria-components": "1.9.0",
56
56
  "react-stately": "3.38.0",
57
- "@marigold/system": "12.0.2",
57
+ "@marigold/system": "12.0.3",
58
58
  "@marigold/types": "1.3.1"
59
59
  },
60
60
  "peerDependencies": {
@@ -66,7 +66,7 @@
66
66
  "react": "19.1.0",
67
67
  "react-dom": "19.1.0",
68
68
  "tsup": "8.4.0",
69
- "@marigold/icons": "1.3.10",
69
+ "@marigold/icons": "1.3.11",
70
70
  "@marigold/tsconfig": "0.4.0"
71
71
  },
72
72
  "scripts": {