@marigold/components 9.0.2 → 10.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -1,13 +1,14 @@
1
+ import { ItemElement, SelectionMode, ItemProps, Node, Orientation } from '@react-types/shared';
2
+ export { Selection } from '@react-types/shared';
1
3
  export { useAsyncList, useListData } from '@react-stately/data';
2
4
  import * as react_jsx_runtime from 'react/jsx-runtime';
3
5
  import * as react from 'react';
4
6
  import react__default, { ReactElement, ReactNode, ElementType, ComponentPropsWithRef, ForwardRefExoticComponent, RefAttributes, Key as Key$1, Dispatch, SetStateAction } from 'react';
5
7
  import { AriaAccordionProps } from '@react-aria/accordion';
6
- import { ItemElement, SelectionMode, ItemProps, Node, Orientation } from '@react-types/shared';
7
8
  import { TreeState } from '@react-stately/tree';
8
9
  import { GapSpaceProp, AspectProp, WidthProp, alignment, PaddingSpaceProp, PaddingRightProp, PaddingLeftProp, PaddingBottomProp, PaddingTopProp, PaddingSpacePropX, PaddingSpacePropY, GridColsAlignProp, PlaceItemsProp, TextAlignProp, HeightProp, ObjectFitProp, ObjectPositionProp, Theme, ThemeProviderProps, FontSizeProp, FontWeightProp, FontStyleProp, CursorProp, SVGProps } from '@marigold/system';
9
10
  export { ThemeProvider, useTheme } from '@marigold/system';
10
- import { NonZeroPercentage, DistributiveOmit, HtmlProps } from '@marigold/types';
11
+ import { AriaRegionProps, NonZeroPercentage, DistributiveOmit, HtmlProps, AriaLabelingProps } from '@marigold/types';
11
12
  import RAC, { ValidationResult, Key, DateValue, TagListProps } from 'react-aria-components';
12
13
  export { Form, FormProps, RouterProvider } from 'react-aria-components';
13
14
  export { I18nProvider } from '@react-aria/i18n';
@@ -54,7 +55,7 @@ interface AccordionItemProps {
54
55
  }
55
56
  declare const AccordionItem: ({ item, state, title, variant, size, ...props }: AccordionItemProps) => react_jsx_runtime.JSX.Element;
56
57
 
57
- interface AsideProps extends GapSpaceProp {
58
+ interface AsideProps extends GapSpaceProp, AriaRegionProps {
58
59
  /**
59
60
  * The children of the component.
60
61
  */
@@ -76,7 +77,7 @@ interface AsideProps extends GapSpaceProp {
76
77
  }
77
78
  declare const Aside: ({ children, sideWidth, space, side, wrap, }: AsideProps) => react_jsx_runtime.JSX.Element;
78
79
 
79
- interface AspectProps extends AspectProp {
80
+ interface AspectProps extends AspectProp, AriaRegionProps {
80
81
  /**
81
82
  * The children of the component.
82
83
  */
@@ -137,9 +138,17 @@ interface ListBoxItemProps extends Omit<RAC.ListBoxItemProps, 'style' | 'classNa
137
138
  }
138
139
  declare const _ListBoxItem: ({ ...props }: ListBoxItemProps) => react_jsx_runtime.JSX.Element;
139
140
 
140
- interface SectionProps extends Omit<RAC.SectionProps<object>, 'className' | 'style'> {
141
+ interface SectionProps extends Omit<RAC.SectionProps<object>, 'className' | 'style' | 'children'> {
142
+ /**
143
+ * Section header to display.
144
+ */
145
+ header: ReactNode;
146
+ /**
147
+ * Children of the section.
148
+ */
149
+ children: ReactNode;
141
150
  }
142
- declare const _Section: (props: SectionProps) => react_jsx_runtime.JSX.Element;
151
+ declare const _Section: ({ header, children, ...props }: SectionProps) => react_jsx_runtime.JSX.Element;
143
152
 
144
153
  interface ListBoxProps extends Omit<RAC.ListBoxProps<object>, 'className' | 'style'> {
145
154
  variant?: string;
@@ -208,7 +217,14 @@ interface AutocompleteProps extends Omit<RAC.ComboBoxProps<object>, RemovedProps
208
217
  onSubmit?: (value: string | number | null, key: Key | null) => void;
209
218
  }
210
219
  interface AutocompleteComponent extends ForwardRefExoticComponent<AutocompleteProps & RefAttributes<HTMLInputElement>> {
211
- Item: typeof _ListBox.Item;
220
+ /**
221
+ * Options for the Combobox.
222
+ */
223
+ Option: typeof _ListBox.Item;
224
+ /**
225
+ * Section for the Combobox, to put options in.
226
+ */
227
+ Section: typeof _ListBox.Section;
212
228
  }
213
229
  declare const _Autocomplete: AutocompleteComponent;
214
230
 
@@ -258,7 +274,14 @@ interface ComboBoxProps extends Omit<RAC.ComboBoxProps<any>, RemovedProps$m>, Pi
258
274
  placeholder?: string;
259
275
  }
260
276
  interface ComboBoxComponent extends ForwardRefExoticComponent<ComboBoxProps & RefAttributes<HTMLInputElement>> {
261
- Item: typeof _ListBox.Item;
277
+ /**
278
+ * Options for the Combobox.
279
+ */
280
+ Option: typeof _ListBox.Item;
281
+ /**
282
+ * Section for the Combobox, to put options in.
283
+ */
284
+ Section: typeof _ListBox.Section;
262
285
  }
263
286
  declare const _ComboBox: ComboBoxComponent;
264
287
 
@@ -272,7 +295,7 @@ interface BadgeProps {
272
295
  }
273
296
  declare const Badge: ({ variant, size, children, ...props }: BadgeProps) => react_jsx_runtime.JSX.Element;
274
297
 
275
- interface BreakoutProps {
298
+ interface BreakoutProps extends AriaRegionProps {
276
299
  children?: ReactNode;
277
300
  /**
278
301
  * Set the height of the breakout element.
@@ -331,7 +354,7 @@ interface CardProps extends GapSpaceProp, PaddingSpaceProp, PaddingRightProp, Pa
331
354
  variant?: string;
332
355
  size?: string;
333
356
  /**
334
- * Padding of the component. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#spacing).
357
+ * Padding of the component. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
335
358
  */
336
359
  p?: PaddingSpaceProp['space'];
337
360
  /**
@@ -339,13 +362,13 @@ interface CardProps extends GapSpaceProp, PaddingSpaceProp, PaddingRightProp, Pa
339
362
  */
340
363
  px?: PaddingSpacePropX['spaceX'];
341
364
  /**
342
- * Padding vertical (top and bottom) of the component. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#spacing).
365
+ * Padding vertical (top and bottom) of the component. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
343
366
  */
344
367
  py?: PaddingSpacePropY['spaceY'];
345
368
  }
346
369
  declare const Card: ({ children, variant, size, space, p, px, py, pt, pb, pl, pr, ...props }: CardProps) => react_jsx_runtime.JSX.Element;
347
370
 
348
- interface CenterProps extends GapSpaceProp {
371
+ interface CenterProps extends GapSpaceProp, AriaRegionProps {
349
372
  children?: ReactNode;
350
373
  /**
351
374
  * The maximum width of the container.
@@ -355,8 +378,49 @@ interface CenterProps extends GapSpaceProp {
355
378
  }
356
379
  declare const Center: ({ maxWidth, space, children, ...props }: CenterProps) => react_jsx_runtime.JSX.Element;
357
380
 
358
- type RemovedProps$k = 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'isSelected' | 'isIndeterminate' | 'defaultSelected';
359
- interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$k> {
381
+ type RemovedProps$k = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly';
382
+ interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$k>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
383
+ /**
384
+ * The children of the component
385
+ */
386
+ children?: ReactNode;
387
+ variant?: string;
388
+ size?: string;
389
+ /**
390
+ * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
391
+ * @default full
392
+ */
393
+ width?: WidthProp['width'];
394
+ /**
395
+ * Sets all checkboxes to disabled
396
+ * @default false
397
+ */
398
+ disabled?: RAC.CheckboxGroupProps['isDisabled'];
399
+ /**
400
+ * Sets the checkbox as required.
401
+ * @default false
402
+ */
403
+ required?: RAC.CheckboxGroupProps['isRequired'];
404
+ /**
405
+ * If `true`, the checkbox is considered invalid and if set the `errorMessage` is shown instead of the `description`.
406
+ * @default false
407
+ */
408
+ error?: RAC.CheckboxGroupProps['isInvalid'];
409
+ /**
410
+ * Sets the checkbox on read only.
411
+ * @default false
412
+ */
413
+ readOnly?: RAC.CheckboxGroupProps['isReadOnly'];
414
+ /**
415
+ * Wheather the component is displayed vertically or horizontally.
416
+ * @default vertical
417
+ */
418
+ orientation?: Orientation;
419
+ }
420
+ declare const _CheckboxGroup: ({ children, variant, size, required, disabled, readOnly, error, width, orientation, ...rest }: CheckboxGroupProps) => react_jsx_runtime.JSX.Element;
421
+
422
+ type RemovedProps$j = 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'isSelected' | 'isIndeterminate' | 'defaultSelected';
423
+ interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$j> {
360
424
  /**
361
425
  * Whether the element should be checked (controlled).
362
426
  */
@@ -397,50 +461,15 @@ interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$k> {
397
461
  */
398
462
  children?: ReactNode;
399
463
  }
400
- declare const _Checkbox: react.ForwardRefExoticComponent<CheckboxProps & react.RefAttributes<HTMLLabelElement>>;
401
-
402
- type RemovedProps$j = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly';
403
- interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$j>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
404
- /**
405
- * The children of the component
406
- */
407
- children?: ReactNode;
408
- variant?: string;
409
- size?: string;
410
- /**
411
- * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
412
- * @default full
413
- */
414
- width?: WidthProp['width'];
415
- /**
416
- * Sets all checkboxes to disabled
417
- * @default false
418
- */
419
- disabled?: RAC.CheckboxGroupProps['isDisabled'];
420
- /**
421
- * Sets the checkbox as required.
422
- * @default false
423
- */
424
- required?: RAC.CheckboxGroupProps['isRequired'];
425
- /**
426
- * If `true`, the checkbox is considered invalid and if set the `errorMessage` is shown instead of the `description`.
427
- * @default false
428
- */
429
- error?: RAC.CheckboxGroupProps['isInvalid'];
430
- /**
431
- * Sets the checkbox on read only.
432
- * @default false
433
- */
434
- readOnly?: RAC.CheckboxGroupProps['isReadOnly'];
464
+ interface CheckboxComponent extends ForwardRefExoticComponent<CheckboxProps & RefAttributes<HTMLLabelElement>> {
435
465
  /**
436
- * Wheather the component is displayed vertically or horizontally.
437
- * @default vertical
466
+ * Group for checkboxes.
438
467
  */
439
- orientation?: Orientation;
468
+ Group: typeof _CheckboxGroup;
440
469
  }
441
- declare const _CheckboxGroup: ({ children, variant, size, required, disabled, readOnly, error, width, orientation, ...rest }: CheckboxGroupProps) => react_jsx_runtime.JSX.Element;
470
+ declare const _Checkbox: CheckboxComponent;
442
471
 
443
- interface ColumnsProps extends GapSpaceProp {
472
+ interface ColumnsProps extends GapSpaceProp, AriaRegionProps {
444
473
  /**
445
474
  * The children of the component.
446
475
  */
@@ -461,7 +490,7 @@ interface ColumnsProps extends GapSpaceProp {
461
490
  }
462
491
  declare const Columns: ({ space, columns, collapseAt, stretch, children, ...props }: ColumnsProps) => react_jsx_runtime.JSX.Element;
463
492
 
464
- interface ContainerProps {
493
+ interface ContainerProps extends AriaRegionProps {
465
494
  children?: ReactNode;
466
495
  /**
467
496
  * The content type of the container.
@@ -491,6 +520,42 @@ declare const header: {
491
520
  };
492
521
  declare const Container: ({ contentType, size, align, alignItems, children, ...props }: ContainerProps) => react_jsx_runtime.JSX.Element;
493
522
 
523
+ interface DialogContentProps {
524
+ /**
525
+ * Children of the component.
526
+ */
527
+ children?: ReactNode;
528
+ variant?: string;
529
+ size?: string;
530
+ }
531
+
532
+ interface HeadlineProps extends AriaLabelingProps, TextAlignProp {
533
+ /**
534
+ * Set the color of the headline.
535
+ */
536
+ color?: string;
537
+ variant?: string;
538
+ size?: string;
539
+ /**
540
+ * Set a different level.
541
+ */
542
+ level?: '1' | '2' | '3' | '4' | '5' | '6' | 1 | 2 | 3 | 4 | 5 | 6;
543
+ /**
544
+ * Children of the component.
545
+ */
546
+ children?: ReactNode;
547
+ /**
548
+ * A slot to place the element in.
549
+ */
550
+ slot?: string;
551
+ }
552
+ declare const _Headline: ({ variant, size, children, align, color, level, ...props }: HeadlineProps) => react_jsx_runtime.JSX.Element;
553
+
554
+ interface DialogTitleProps extends Omit<HeadlineProps, 'slot'> {
555
+ variant?: string;
556
+ size?: string;
557
+ }
558
+
494
559
  interface DialogTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'> {
495
560
  /**
496
561
  * Wheather compnent is rendered.
@@ -512,30 +577,16 @@ interface DialogTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'> {
512
577
  isNonModal?: boolean;
513
578
  }
514
579
 
515
- interface HeadlineProps extends TextAlignProp {
516
- /**
517
- * Set the color of the headline.
518
- */
519
- color?: string;
520
- variant?: string;
521
- size?: string;
522
- /**
523
- * Set a different level.
524
- */
525
- level?: '1' | '2' | '3' | '4' | '5' | '6' | 1 | 2 | 3 | 4 | 5 | 6;
580
+ interface DialogActions {
526
581
  /**
527
582
  * Children of the component.
528
583
  */
529
584
  children?: ReactNode;
530
- /**
531
- * A slot to place the element in.
532
- */
533
- slot?: string;
585
+ variant?: string;
586
+ size?: string;
534
587
  }
535
- declare const _Headline: ({ variant, size, children, align, color, level, ...props }: HeadlineProps) => react_jsx_runtime.JSX.Element;
588
+ declare const DialogActions: ({ variant, size, children }: DialogActions) => react_jsx_runtime.JSX.Element;
536
589
 
537
- interface DialogHeadlineProps extends Omit<HeadlineProps, 'slot'> {
538
- }
539
590
  interface DialogProps extends Omit<RAC.DialogProps, 'className' | 'style'> {
540
591
  variant?: string;
541
592
  size?: string;
@@ -552,7 +603,9 @@ interface DialogProps extends Omit<RAC.DialogProps, 'className' | 'style'> {
552
603
  declare const _Dialog: {
553
604
  ({ variant, size, closeButton, isNonModal, ...props }: DialogProps): react_jsx_runtime.JSX.Element;
554
605
  Trigger: ({ open, dismissable, keyboardDismissable, isNonModal, ...rest }: DialogTriggerProps) => react_jsx_runtime.JSX.Element;
555
- Headline: ({ children }: DialogHeadlineProps) => react_jsx_runtime.JSX.Element;
606
+ Title: ({ level, variant, size, children, }: DialogTitleProps) => react_jsx_runtime.JSX.Element;
607
+ Content: ({ variant, size, children, }: DialogContentProps) => react_jsx_runtime.JSX.Element;
608
+ Actions: ({ variant, size, children }: DialogActions) => react_jsx_runtime.JSX.Element;
556
609
  };
557
610
 
558
611
  interface DividerProps extends RAC.SeparatorProps {
@@ -582,7 +635,7 @@ interface GridAreaProps {
582
635
  }
583
636
 
584
637
  type TemplateValue = 'none' | 'auto' | 'min-content' | 'max-content' | (string & {}) | number;
585
- interface GridProps extends GapSpaceProp, HeightProp {
638
+ interface GridProps extends GapSpaceProp, HeightProp, AriaRegionProps {
586
639
  /**
587
640
  * Specifies the named grid areas, much like `grid-template-areas`.
588
641
  */
@@ -629,7 +682,7 @@ interface ImageProps extends Pick<HtmlProps<'img'>, 'src' | 'srcSet' | 'sizes' |
629
682
  }
630
683
  declare const Image: ({ variant, size, fit, position, ...props }: ImageProps) => react_jsx_runtime.JSX.Element;
631
684
 
632
- interface InlineProps extends GapSpaceProp {
685
+ interface InlineProps extends GapSpaceProp, AriaRegionProps {
633
686
  /**
634
687
  * The children of the component.
635
688
  */
@@ -706,8 +759,12 @@ interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$
706
759
  }
707
760
  declare const _Calendar: ({ disabled, readOnly, size, variant, ...rest }: CalendarProps) => react_jsx_runtime.JSX.Element;
708
761
 
709
- type RemovedProps$f = 'isDisabled' | 'isReadOnly' | 'isRequired' | 'isInvalid' | 'style' | 'className' | 'isOpen';
762
+ type RemovedProps$f = 'isDisabled' | 'isDateUnavailable' | 'isReadOnly' | 'isRequired' | 'isInvalid' | 'style' | 'className' | 'isOpen';
710
763
  interface DatePickerProps extends Omit<RAC.DatePickerProps<DateValue>, RemovedProps$f>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
764
+ /**
765
+ * Callback that is called for each date of the calendar. If it returns true, then the date is unavailable.
766
+ */
767
+ dateUnavailable?: RAC.DatePickerProps<DateValue>['isDateUnavailable'];
711
768
  /**
712
769
  * If `true`, the date picker is disabled.
713
770
  * @default false
@@ -742,29 +799,29 @@ interface DatePickerProps extends Omit<RAC.DatePickerProps<DateValue>, RemovedPr
742
799
  }
743
800
  declare const _DatePicker: react__default.ForwardRefExoticComponent<DatePickerProps & react__default.RefAttributes<HTMLDivElement>>;
744
801
 
745
- type InsetProps = {
802
+ type InsetProps = (AriaRegionProps & {
746
803
  /**
747
804
  * The children of the component
748
805
  */
749
806
  children: ReactNode;
750
807
  space?: never;
751
808
  /**
752
- * Horizontal alignment for the children. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#spacing).
809
+ * Horizontal alignment for the children. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
753
810
  */
754
811
  spaceX?: PaddingSpacePropX['spaceX'];
755
812
  /**
756
- * Vertical alignment for the children. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#spacing).
813
+ * Vertical alignment for the children. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
757
814
  */
758
815
  spaceY?: PaddingSpacePropY['spaceY'];
759
- } | {
816
+ }) | (AriaRegionProps & {
760
817
  children: ReactNode;
761
818
  /**
762
- * The space between the children. You can see allowed tokens [here](../../introduction/design-tokens?theme=core#spacing).
819
+ * The space between the children. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
763
820
  */
764
821
  space?: PaddingSpaceProp['space'];
765
822
  spaceX?: never;
766
823
  spaceY?: never;
767
- };
824
+ });
768
825
  declare const Inset: ({ space, spaceX, spaceY, children }: InsetProps) => react_jsx_runtime.JSX.Element;
769
826
 
770
827
  type RemovedProps$e = 'className';
@@ -860,7 +917,7 @@ interface MenuProps extends Omit<RAC.MenuTriggerProps, RemovedProps$a>, Omit<RAC
860
917
  disabled?: boolean;
861
918
  }
862
919
  declare const _Menu: {
863
- ({ children, label, variant, size, disabled, open, placement, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
920
+ ({ children, label, variant, size, disabled, open, placement, "aria-label": ariaLabel, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
864
921
  Item: ({ children, ...props }: MenuItemProps) => react_jsx_runtime.JSX.Element;
865
922
  Section: ({ children, title, ...props }: MenuSectionProps) => react_jsx_runtime.JSX.Element;
866
923
  };
@@ -899,9 +956,13 @@ interface SectionMessageProps {
899
956
  * The children of the component.
900
957
  */
901
958
  children?: ReactNode;
959
+ /**
960
+ * Adds a close button, makes the section message dismissable.
961
+ */
962
+ closeButton?: boolean;
902
963
  }
903
964
  declare const SectionMessage: {
904
- ({ variant, size, children, ...props }: SectionMessageProps): react_jsx_runtime.JSX.Element;
965
+ ({ variant, size, children, closeButton, ...props }: SectionMessageProps): react_jsx_runtime.JSX.Element | null;
905
966
  Title: ({ children }: SectionMessageTitleProps) => react_jsx_runtime.JSX.Element;
906
967
  Content: ({ children, }: SectionMessageContentProps) => react_jsx_runtime.JSX.Element;
907
968
  };
@@ -966,6 +1027,7 @@ interface ModalProps extends RAC.ModalOverlayProps {
966
1027
  open?: boolean;
967
1028
  dismissable?: boolean;
968
1029
  keyboardDismissable?: boolean;
1030
+ size?: string;
969
1031
  }
970
1032
  declare const _Modal: react.ForwardRefExoticComponent<Omit<ModalProps, "className" | "isOpen" | "isDismissable" | "isKeyboardDismissDisabled"> & react.RefAttributes<HTMLDivElement>>;
971
1033
 
@@ -1220,7 +1282,7 @@ interface SelectListComponent extends ForwardRefExoticComponent<SelectListProps
1220
1282
  }
1221
1283
  declare const _SelectList: SelectListComponent;
1222
1284
 
1223
- interface ScrollableProps extends WidthProp {
1285
+ interface ScrollableProps extends WidthProp, AriaRegionProps {
1224
1286
  /**
1225
1287
  * Children of the layout.
1226
1288
  */
@@ -1256,7 +1318,7 @@ interface SplitProps {
1256
1318
  }
1257
1319
  declare const Split: () => react_jsx_runtime.JSX.Element;
1258
1320
 
1259
- interface StackProps extends GapSpaceProp {
1321
+ interface StackProps extends GapSpaceProp, AriaRegionProps {
1260
1322
  /**
1261
1323
  * Children of the component.
1262
1324
  */
@@ -1353,7 +1415,7 @@ interface Table {
1353
1415
  Row: (props: RowProps) => JSX.Element;
1354
1416
  }
1355
1417
 
1356
- interface TextProps extends Omit<RAC.TextProps, 'elementType'>, TextAlignProp, FontSizeProp, FontWeightProp, FontStyleProp, CursorProp {
1418
+ interface TextProps extends AriaLabelingProps, Omit<RAC.TextProps, 'elementType'>, TextAlignProp, FontSizeProp, FontWeightProp, FontStyleProp, CursorProp {
1357
1419
  /**
1358
1420
  * The children of the component
1359
1421
  */
@@ -1482,7 +1544,7 @@ interface TextFieldProps extends Omit<RAC.TextFieldProps, RemovedProps$3>, Pick<
1482
1544
  }
1483
1545
  declare const _TextField: react.ForwardRefExoticComponent<TextFieldProps & react.RefAttributes<HTMLInputElement>>;
1484
1546
 
1485
- interface TilesProps extends GapSpaceProp {
1547
+ interface TilesProps extends GapSpaceProp, AriaRegionProps {
1486
1548
  /**
1487
1549
  * The children of the component.
1488
1550
  */
@@ -1568,7 +1630,19 @@ declare const _Tag: {
1568
1630
  Group: ({ width, items, children, renderEmptyState, variant, size, ...rest }: TagGroupProps) => react_jsx_runtime.JSX.Element;
1569
1631
  };
1570
1632
 
1571
- declare const XLoader: react.ForwardRefExoticComponent<SVGProps & react.RefAttributes<SVGElement>>;
1633
+ interface XLoaderProps extends SVGProps {
1634
+ /**
1635
+ * Show the loader in `fullsize` and blocks interaction with the site or `ìnline` in a certain area.
1636
+ * @default undefined
1637
+ */
1638
+ mode?: LoadingModeKeys;
1639
+ }
1640
+ declare const LoadingModes: {
1641
+ readonly FullSize: "fullsize";
1642
+ readonly Inline: "inline";
1643
+ };
1644
+ type LoadingModeKeys = (typeof LoadingModes)[keyof typeof LoadingModes];
1645
+ declare const XLoader: react.ForwardRefExoticComponent<XLoaderProps & react.RefAttributes<SVGElement>>;
1572
1646
 
1573
1647
  interface TabProps extends Omit<RAC.TabProps, 'className' | 'style'> {
1574
1648
  }
@@ -1595,4 +1669,4 @@ declare const _Tabs: {
1595
1669
  Item: (props: TabProps) => react_jsx_runtime.JSX.Element;
1596
1670
  };
1597
1671
 
1598
- export { Accordion, AccordionItem, type AccordionItemProps, type AccordionOwnItemProps, 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, _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, _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, type MultiSelectItemProps, type MultiSelectProps, Multiselect, _NumberField as NumberField, type NumberFieldProps, OverlayContainerProvider, _Popover as Popover, type PopoverProps, _Radio as Radio, type RadioComponent, _RadioGroup as RadioGroup, type RadioGroupProps, type RadioProps, type RemovedProps$k 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, _Calendar, useFieldGroupContext, usePortalContainer };
1672
+ export { Accordion, AccordionItem, type AccordionItemProps, type AccordionOwnItemProps, 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, _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, type MultiSelectItemProps, type MultiSelectProps, Multiselect, _NumberField as NumberField, type NumberFieldProps, OverlayContainerProvider, _Popover as Popover, type PopoverProps, _Radio as Radio, type RadioComponent, _RadioGroup as RadioGroup, type RadioGroupProps, type RadioProps, type RemovedProps$j 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, useFieldGroupContext, usePortalContainer };