@marigold/components 15.4.2 → 16.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 +221 -142
- package/dist/index.d.ts +243 -164
- package/dist/index.js +1159 -247
- package/dist/index.mjs +1200 -291
- package/package.json +6 -6
package/dist/index.d.mts
CHANGED
|
@@ -3,8 +3,9 @@ import { AspectProp, CursorProp, DateFormat, FontSizeProp, FontStyleProp, FontWe
|
|
|
3
3
|
import RAC, { BreadcrumbsProps as BreadcrumbsProps$1, ButtonProps as ButtonProps$1, DateValue, DialogProps as DialogProps$1, DisclosurePanelProps, DisclosureProps as DisclosureProps$1, HeadingProps, Key, ProgressBarProps, RouterProvider, SlotProps, TagListProps, TimeValue, TimeValue as TimeValue$1, UNSTABLE_ToastQueue, ValidationResult } from "react-aria-components";
|
|
4
4
|
import * as react6 from "react";
|
|
5
5
|
import React$1, { CSSProperties, ComponentPropsWithRef, Dispatch, ElementType, FormEvent, ForwardRefExoticComponent, JSX, Key as Key$1, PropsWithChildren, ReactElement, ReactNode, RefAttributes, SVGProps, SetStateAction } from "react";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
7
7
|
import { I18nProvider } from "@react-aria/i18n";
|
|
8
|
+
import { FieldBaseProps as FieldBaseProps$1, LoaderVisualType as LoaderVisualType$1 } from "@marigold/components";
|
|
8
9
|
import { AriaLandmarkRole } from "@react-aria/landmark";
|
|
9
10
|
import { OverlayTriggerProps, OverlayTriggerState } from "react-stately";
|
|
10
11
|
import { AriaTableProps } from "@react-aria/table";
|
|
@@ -25,8 +26,8 @@ interface AccordionPanelProps {
|
|
|
25
26
|
}
|
|
26
27
|
//#endregion
|
|
27
28
|
//#region src/Accordion/AccordionItem.d.ts
|
|
28
|
-
type RemovedProps$
|
|
29
|
-
interface DisclosureProps extends Omit<RAC.DisclosureProps, RemovedProps$
|
|
29
|
+
type RemovedProps$38 = 'isDisabled' | 'isExpanded';
|
|
30
|
+
interface DisclosureProps extends Omit<RAC.DisclosureProps, RemovedProps$38> {
|
|
30
31
|
/** Whether the item is disabled. */
|
|
31
32
|
disabled?: RAC.DisclosureProps['isDisabled'];
|
|
32
33
|
/** Whether the item is expanded (controlled). */
|
|
@@ -37,16 +38,18 @@ declare const AccordionItem: ({
|
|
|
37
38
|
disabled,
|
|
38
39
|
expanded,
|
|
39
40
|
...props
|
|
40
|
-
}: DisclosureProps) =>
|
|
41
|
+
}: DisclosureProps) => react_jsx_runtime3.JSX.Element;
|
|
41
42
|
//#endregion
|
|
42
43
|
//#region src/Accordion/Accordion.d.ts
|
|
43
|
-
type RemovedProps$
|
|
44
|
-
interface AccordionProps extends Omit<RAC.DisclosureGroupProps, RemovedProps$
|
|
45
|
-
/** Whether all items are disabled. */
|
|
46
|
-
disabled?: RAC.DisclosureGroupProps['isDisabled'];
|
|
44
|
+
type RemovedProps$37 = 'isDisabled';
|
|
45
|
+
interface AccordionProps extends Omit<RAC.DisclosureGroupProps, RemovedProps$37> {
|
|
47
46
|
variant?: 'default' | 'card' | (string & {});
|
|
48
47
|
size?: string;
|
|
48
|
+
/** Whether all items are disabled. */
|
|
49
|
+
disabled?: RAC.DisclosureGroupProps['isDisabled'];
|
|
50
|
+
/** Whether the header should stick to the top when scrolling. */
|
|
49
51
|
stickyHeader?: boolean;
|
|
52
|
+
/** Position of the icon in the header. */
|
|
50
53
|
iconPosition?: 'right' | 'left';
|
|
51
54
|
}
|
|
52
55
|
declare const Accordion: {
|
|
@@ -58,19 +61,19 @@ declare const Accordion: {
|
|
|
58
61
|
stickyHeader,
|
|
59
62
|
iconPosition,
|
|
60
63
|
...props
|
|
61
|
-
}: AccordionProps):
|
|
64
|
+
}: AccordionProps): react_jsx_runtime3.JSX.Element;
|
|
62
65
|
Header: ({
|
|
63
66
|
children
|
|
64
|
-
}: AccordionHeaderProps) =>
|
|
67
|
+
}: AccordionHeaderProps) => react_jsx_runtime3.JSX.Element;
|
|
65
68
|
Content: ({
|
|
66
69
|
children
|
|
67
|
-
}: AccordionPanelProps) =>
|
|
70
|
+
}: AccordionPanelProps) => react_jsx_runtime3.JSX.Element;
|
|
68
71
|
Item: ({
|
|
69
72
|
children,
|
|
70
73
|
disabled,
|
|
71
74
|
expanded,
|
|
72
75
|
...props
|
|
73
|
-
}: DisclosureProps) =>
|
|
76
|
+
}: DisclosureProps) => react_jsx_runtime3.JSX.Element;
|
|
74
77
|
};
|
|
75
78
|
//#endregion
|
|
76
79
|
//#region src/Aside/Aside.d.ts
|
|
@@ -100,7 +103,7 @@ declare const Aside: ({
|
|
|
100
103
|
space,
|
|
101
104
|
side,
|
|
102
105
|
wrap
|
|
103
|
-
}: AsideProps) =>
|
|
106
|
+
}: AsideProps) => react_jsx_runtime3.JSX.Element;
|
|
104
107
|
//#endregion
|
|
105
108
|
//#region src/Aspect/Aspect.d.ts
|
|
106
109
|
interface AspectProps extends AspectProp, AriaRegionProps {
|
|
@@ -118,7 +121,7 @@ declare const Aspect: ({
|
|
|
118
121
|
ratio,
|
|
119
122
|
maxWidth,
|
|
120
123
|
children
|
|
121
|
-
}: AspectProps) =>
|
|
124
|
+
}: AspectProps) => react_jsx_runtime3.JSX.Element;
|
|
122
125
|
//#endregion
|
|
123
126
|
//#region src/HelpText/HelpText.d.ts
|
|
124
127
|
interface HelpTextProps {
|
|
@@ -139,11 +142,11 @@ declare const HelpText: ({
|
|
|
139
142
|
description,
|
|
140
143
|
errorMessage,
|
|
141
144
|
...props
|
|
142
|
-
}: HelpTextProps) =>
|
|
145
|
+
}: HelpTextProps) => react_jsx_runtime3.JSX.Element | null;
|
|
143
146
|
//#endregion
|
|
144
147
|
//#region src/FieldBase/FieldBase.d.ts
|
|
145
|
-
interface FieldBaseProps<T extends ElementType> extends WidthProp, Pick<HelpTextProps, 'description' | 'errorMessage'> {
|
|
146
|
-
as?: T;
|
|
148
|
+
interface FieldBaseProps<T$1 extends ElementType> extends WidthProp, Pick<HelpTextProps, 'description' | 'errorMessage'> {
|
|
149
|
+
as?: T$1;
|
|
147
150
|
/**
|
|
148
151
|
* Specifies the label of the field.
|
|
149
152
|
*/
|
|
@@ -168,7 +171,7 @@ type ListBoxItemProps = Omit<RAC.ListBoxItemProps, 'style' | 'className' | 'chil
|
|
|
168
171
|
};
|
|
169
172
|
declare const _ListBoxItem: ({
|
|
170
173
|
...props
|
|
171
|
-
}: ListBoxItemProps) =>
|
|
174
|
+
}: ListBoxItemProps) => react_jsx_runtime3.JSX.Element;
|
|
172
175
|
//#endregion
|
|
173
176
|
//#region src/ListBox/ListBoxSection.d.ts
|
|
174
177
|
interface SectionProps extends Omit<RAC.SectionProps<object>, 'className' | 'style' | 'children'> {
|
|
@@ -185,7 +188,7 @@ declare const _Section: ({
|
|
|
185
188
|
header,
|
|
186
189
|
children,
|
|
187
190
|
...props
|
|
188
|
-
}: SectionProps) =>
|
|
191
|
+
}: SectionProps) => react_jsx_runtime3.JSX.Element;
|
|
189
192
|
//#endregion
|
|
190
193
|
//#region src/ListBox/ListBox.d.ts
|
|
191
194
|
interface ListBoxProps extends Omit<RAC.ListBoxProps<object>, 'className' | 'style'> {
|
|
@@ -199,8 +202,8 @@ interface ListBoxComponent extends ForwardRefExoticComponent<ListBoxProps & RefA
|
|
|
199
202
|
declare const _ListBox: ListBoxComponent;
|
|
200
203
|
//#endregion
|
|
201
204
|
//#region src/Autocomplete/Autocomplete.d.ts
|
|
202
|
-
type RemovedProps$
|
|
203
|
-
interface AutocompleteProps extends Omit<RAC.ComboBoxProps<object>, RemovedProps$
|
|
205
|
+
type RemovedProps$36 = 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'inputValue' | 'onInputChange' | 'defaultValue' | 'validate' | 'validationState' | 'slot';
|
|
206
|
+
interface AutocompleteProps extends Omit<RAC.ComboBoxProps<object>, RemovedProps$36>, Pick<FieldBaseProps<'label'>, 'width' | 'label' | 'description' | 'errorMessage'> {
|
|
204
207
|
/**
|
|
205
208
|
* The value of the input (uncontrolled).
|
|
206
209
|
*/
|
|
@@ -290,11 +293,11 @@ declare const Badge: ({
|
|
|
290
293
|
size,
|
|
291
294
|
children,
|
|
292
295
|
...props
|
|
293
|
-
}: BadgeProps) =>
|
|
296
|
+
}: BadgeProps) => react_jsx_runtime3.JSX.Element;
|
|
294
297
|
//#endregion
|
|
295
298
|
//#region src/Breadcrumbs/BreadcrumbsItem.d.ts
|
|
296
|
-
type RemovedProps$
|
|
297
|
-
interface BreadcrumbsItemProps extends Omit<RAC.BreadcrumbProps, RemovedProps$
|
|
299
|
+
type RemovedProps$35 = 'className' | 'style';
|
|
300
|
+
interface BreadcrumbsItemProps extends Omit<RAC.BreadcrumbProps, RemovedProps$35> {
|
|
298
301
|
variant?: 'default' | (string & {});
|
|
299
302
|
size?: 'small' | 'default' | 'large' | (string & {});
|
|
300
303
|
/**
|
|
@@ -309,8 +312,8 @@ interface BreadcrumbsItemProps extends Omit<RAC.BreadcrumbProps, RemovedProps$33
|
|
|
309
312
|
declare const BreadcrumbsItem: (_: BreadcrumbsItemProps) => null;
|
|
310
313
|
//#endregion
|
|
311
314
|
//#region src/Breadcrumbs/Breadcrumbs.d.ts
|
|
312
|
-
type RemovedProps$
|
|
313
|
-
interface BreadcrumbsProps extends Omit<BreadcrumbsProps$1<object>, RemovedProps$
|
|
315
|
+
type RemovedProps$34 = 'className' | 'style' | 'children' | 'isDisabled';
|
|
316
|
+
interface BreadcrumbsProps extends Omit<BreadcrumbsProps$1<object>, RemovedProps$34> {
|
|
314
317
|
variant?: 'default' | (string & {});
|
|
315
318
|
size?: 'small' | 'default' | 'large' | (string & {});
|
|
316
319
|
/**
|
|
@@ -338,12 +341,12 @@ interface BreakoutProps extends AriaRegionProps {
|
|
|
338
341
|
}
|
|
339
342
|
declare const Breakout: ({
|
|
340
343
|
children
|
|
341
|
-
}: BreakoutProps) =>
|
|
344
|
+
}: BreakoutProps) => react_jsx_runtime3.JSX.Element;
|
|
342
345
|
//#endregion
|
|
343
346
|
//#region src/Button/Button.d.ts
|
|
344
|
-
type RemovedProps$
|
|
345
|
-
interface ButtonProps extends Omit<RAC.ButtonProps, RemovedProps$
|
|
346
|
-
variant?: 'primary' | 'secondary' | 'destructive' | 'ghost' | 'link' | (string & {});
|
|
347
|
+
type RemovedProps$33 = 'isDisabled' | 'isPending' | 'className' | 'style';
|
|
348
|
+
interface ButtonProps extends Omit<RAC.ButtonProps, RemovedProps$33> {
|
|
349
|
+
variant?: 'primary' | 'secondary' | 'destructive' | 'destructive-ghost' | 'ghost' | 'link' | (string & {});
|
|
347
350
|
size?: 'default' | 'small' | 'large' | 'icon' | (string & {});
|
|
348
351
|
/**
|
|
349
352
|
* If true, the element stretches to fill the available width.
|
|
@@ -368,8 +371,8 @@ interface ButtonProps extends Omit<RAC.ButtonProps, RemovedProps$31> {
|
|
|
368
371
|
declare const _Button: react6.ForwardRefExoticComponent<ButtonProps & react6.RefAttributes<HTMLButtonElement>>;
|
|
369
372
|
//#endregion
|
|
370
373
|
//#region src/Calendar/Calendar.d.ts
|
|
371
|
-
type RemovedProps$
|
|
372
|
-
interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$
|
|
374
|
+
type RemovedProps$32 = 'visibleDuration' | 'pageBehavior' | 'isDateUnavailable' | 'isDisabled' | 'isReadOnly' | 'isInvalid' | 'errorMessage' | 'className' | 'style';
|
|
375
|
+
interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$32> {
|
|
373
376
|
/**
|
|
374
377
|
* Disables the Calendar.
|
|
375
378
|
* @default false
|
|
@@ -402,7 +405,7 @@ declare const _Calendar: ({
|
|
|
402
405
|
minValue: _minValue,
|
|
403
406
|
maxValue: _maxValue,
|
|
404
407
|
...rest
|
|
405
|
-
}: CalendarProps) =>
|
|
408
|
+
}: CalendarProps) => react_jsx_runtime3.JSX.Element;
|
|
406
409
|
//#endregion
|
|
407
410
|
//#region src/Card/Card.d.ts
|
|
408
411
|
interface CardProps extends PaddingRightProp, PaddingLeftProp, PaddingBottomProp, PaddingTopProp {
|
|
@@ -439,7 +442,7 @@ declare const Card: ({
|
|
|
439
442
|
pl,
|
|
440
443
|
pr,
|
|
441
444
|
...props
|
|
442
|
-
}: CardProps) =>
|
|
445
|
+
}: CardProps) => react_jsx_runtime3.JSX.Element;
|
|
443
446
|
//#endregion
|
|
444
447
|
//#region src/Center/Center.d.ts
|
|
445
448
|
interface CenterProps extends GapSpaceProp, AriaRegionProps {
|
|
@@ -455,11 +458,11 @@ declare const Center: ({
|
|
|
455
458
|
space,
|
|
456
459
|
children,
|
|
457
460
|
...props
|
|
458
|
-
}: CenterProps) =>
|
|
461
|
+
}: CenterProps) => react_jsx_runtime3.JSX.Element;
|
|
459
462
|
//#endregion
|
|
460
463
|
//#region src/Checkbox/CheckboxGroup.d.ts
|
|
461
|
-
type RemovedProps$
|
|
462
|
-
interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$
|
|
464
|
+
type RemovedProps$31 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly';
|
|
465
|
+
interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$31>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
463
466
|
/**
|
|
464
467
|
* The children of the component
|
|
465
468
|
*/
|
|
@@ -523,11 +526,11 @@ declare const _CheckboxGroup: ({
|
|
|
523
526
|
orientation,
|
|
524
527
|
collapseAt,
|
|
525
528
|
...rest
|
|
526
|
-
}: CheckboxGroupProps) =>
|
|
529
|
+
}: CheckboxGroupProps) => react_jsx_runtime3.JSX.Element;
|
|
527
530
|
//#endregion
|
|
528
531
|
//#region src/Checkbox/Checkbox.d.ts
|
|
529
|
-
type RemovedProps$
|
|
530
|
-
interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$
|
|
532
|
+
type RemovedProps$30 = 'children' | 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'isSelected' | 'isIndeterminate' | 'defaultSelected';
|
|
533
|
+
interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$30> {
|
|
531
534
|
variant?: string;
|
|
532
535
|
size?: string;
|
|
533
536
|
/**
|
|
@@ -618,20 +621,20 @@ declare const Collapsible: {
|
|
|
618
621
|
children,
|
|
619
622
|
unstyled,
|
|
620
623
|
...props
|
|
621
|
-
}: CollapsibleProps):
|
|
624
|
+
}: CollapsibleProps): react_jsx_runtime3.JSX.Element;
|
|
622
625
|
Trigger: ({
|
|
623
626
|
variant,
|
|
624
627
|
size,
|
|
625
628
|
children,
|
|
626
629
|
level,
|
|
627
630
|
...props
|
|
628
|
-
}: CollapsibleProps$1) =>
|
|
631
|
+
}: CollapsibleProps$1) => react_jsx_runtime3.JSX.Element;
|
|
629
632
|
Content: ({
|
|
630
633
|
variant,
|
|
631
634
|
size,
|
|
632
635
|
children,
|
|
633
636
|
...props
|
|
634
|
-
}: CollapsibleContentProps) =>
|
|
637
|
+
}: CollapsibleContentProps) => react_jsx_runtime3.JSX.Element;
|
|
635
638
|
};
|
|
636
639
|
//#endregion
|
|
637
640
|
//#region src/Columns/Columns.d.ts
|
|
@@ -661,11 +664,11 @@ declare const Columns: ({
|
|
|
661
664
|
stretch,
|
|
662
665
|
children,
|
|
663
666
|
...props
|
|
664
|
-
}: ColumnsProps) =>
|
|
667
|
+
}: ColumnsProps) => react_jsx_runtime3.JSX.Element;
|
|
665
668
|
//#endregion
|
|
666
669
|
//#region src/ComboBox/ComboBox.d.ts
|
|
667
|
-
type RemovedProps$
|
|
668
|
-
interface ComboBoxProps extends Omit<RAC.ComboBoxProps<any>, RemovedProps$
|
|
670
|
+
type RemovedProps$29 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'defaultInputValue' | 'inputValue' | 'onInputChange';
|
|
671
|
+
interface ComboBoxProps extends Omit<RAC.ComboBoxProps<any>, RemovedProps$29>, Pick<FieldBaseProps<'label'>, 'width' | 'label' | 'description' | 'errorMessage'> {
|
|
669
672
|
variant?: string;
|
|
670
673
|
size?: string;
|
|
671
674
|
/**
|
|
@@ -765,7 +768,7 @@ declare const Container: ({
|
|
|
765
768
|
space,
|
|
766
769
|
children,
|
|
767
770
|
...props
|
|
768
|
-
}: ContainerProps) =>
|
|
771
|
+
}: ContainerProps) => react_jsx_runtime3.JSX.Element;
|
|
769
772
|
//#endregion
|
|
770
773
|
//#region src/icons/Icons.types.d.ts
|
|
771
774
|
interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'width' | 'height'> {
|
|
@@ -782,7 +785,7 @@ declare const ContextualHelpContent: ({
|
|
|
782
785
|
children,
|
|
783
786
|
variant,
|
|
784
787
|
size
|
|
785
|
-
}: ContextualHelpContentProps) =>
|
|
788
|
+
}: ContextualHelpContentProps) => react_jsx_runtime3.JSX.Element;
|
|
786
789
|
//#endregion
|
|
787
790
|
//#region src/ContextualHelp/ContextualHelpTitle.d.ts
|
|
788
791
|
interface ContextualHelpTitleProps {
|
|
@@ -794,7 +797,7 @@ declare const ContextualHelpTitle: ({
|
|
|
794
797
|
children,
|
|
795
798
|
variant,
|
|
796
799
|
size
|
|
797
|
-
}: ContextualHelpTitleProps) =>
|
|
800
|
+
}: ContextualHelpTitleProps) => react_jsx_runtime3.JSX.Element;
|
|
798
801
|
//#endregion
|
|
799
802
|
//#region src/ContextualHelp/ContextualHelp.d.ts
|
|
800
803
|
declare const icons$1: {
|
|
@@ -802,12 +805,12 @@ declare const icons$1: {
|
|
|
802
805
|
size,
|
|
803
806
|
className,
|
|
804
807
|
...props
|
|
805
|
-
}: IconProps) =>
|
|
808
|
+
}: IconProps) => react_jsx_runtime3.JSX.Element;
|
|
806
809
|
info: ({
|
|
807
810
|
size,
|
|
808
811
|
className,
|
|
809
812
|
...props
|
|
810
|
-
}: IconProps) =>
|
|
813
|
+
}: IconProps) => react_jsx_runtime3.JSX.Element;
|
|
811
814
|
};
|
|
812
815
|
interface ContextualHelpComponent extends ForwardRefExoticComponent<ContextualHelpProps & RefAttributes<HTMLInputElement>> {
|
|
813
816
|
/**
|
|
@@ -843,12 +846,14 @@ interface ContextualHelpProps {
|
|
|
843
846
|
open?: boolean;
|
|
844
847
|
/** Handler that is called when the open state changes. */
|
|
845
848
|
onOpenChange?: (isOpen: boolean) => void;
|
|
849
|
+
/** Accessible label for the button. */
|
|
850
|
+
ariaLabel?: string;
|
|
846
851
|
}
|
|
847
852
|
declare const _ContextualHelp: ContextualHelpComponent;
|
|
848
853
|
//#endregion
|
|
849
854
|
//#region src/DateField/DateField.d.ts
|
|
850
|
-
type RemovedProps$
|
|
851
|
-
interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProps$
|
|
855
|
+
type RemovedProps$28 = 'className' | 'isRequired' | 'isDisabled' | 'isInvalid' | 'isReadOnly' | 'label' | 'children' | 'style';
|
|
856
|
+
interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProps$28>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
852
857
|
variant?: string;
|
|
853
858
|
size?: string;
|
|
854
859
|
/**
|
|
@@ -884,8 +889,8 @@ interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProp
|
|
|
884
889
|
declare const _DateField: react6.ForwardRefExoticComponent<DateFieldProps & react6.RefAttributes<HTMLInputElement>>;
|
|
885
890
|
//#endregion
|
|
886
891
|
//#region src/DatePicker/DatePicker.d.ts
|
|
887
|
-
type RemovedProps$
|
|
888
|
-
interface DatePickerProps extends Omit<RAC.DatePickerProps<DateValue>, RemovedProps$
|
|
892
|
+
type RemovedProps$27 = 'isDisabled' | 'isDateUnavailable' | 'isReadOnly' | 'isRequired' | 'isInvalid' | 'style' | 'className' | 'isOpen';
|
|
893
|
+
interface DatePickerProps extends Omit<RAC.DatePickerProps<DateValue>, RemovedProps$27>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
889
894
|
/**
|
|
890
895
|
* Callback that is called for each date of the calendar. If it returns true, then the date is unavailable.
|
|
891
896
|
*/
|
|
@@ -955,7 +960,7 @@ declare const DialogActions: ({
|
|
|
955
960
|
variant,
|
|
956
961
|
size,
|
|
957
962
|
children
|
|
958
|
-
}: DialogActions) =>
|
|
963
|
+
}: DialogActions) => react_jsx_runtime3.JSX.Element;
|
|
959
964
|
//#endregion
|
|
960
965
|
//#region src/Dialog/DialogContent.d.ts
|
|
961
966
|
interface DialogContentProps {
|
|
@@ -970,7 +975,7 @@ declare const DialogContent: ({
|
|
|
970
975
|
variant,
|
|
971
976
|
size,
|
|
972
977
|
children
|
|
973
|
-
}: DialogContentProps) =>
|
|
978
|
+
}: DialogContentProps) => react_jsx_runtime3.JSX.Element;
|
|
974
979
|
//#endregion
|
|
975
980
|
//#region src/Dialog/DialogTitle.d.ts
|
|
976
981
|
interface DialogTitleProps {
|
|
@@ -983,7 +988,7 @@ declare const DialogTitle: ({
|
|
|
983
988
|
variant,
|
|
984
989
|
size,
|
|
985
990
|
children
|
|
986
|
-
}: DialogTitleProps) =>
|
|
991
|
+
}: DialogTitleProps) => react_jsx_runtime3.JSX.Element;
|
|
987
992
|
//#endregion
|
|
988
993
|
//#region src/Dialog/Context.d.ts
|
|
989
994
|
interface DialogContextProps extends RAC.ModalOverlayProps {
|
|
@@ -992,8 +997,8 @@ interface DialogContextProps extends RAC.ModalOverlayProps {
|
|
|
992
997
|
}
|
|
993
998
|
//#endregion
|
|
994
999
|
//#region src/Dialog/DialogTrigger.d.ts
|
|
995
|
-
type RemovedProps$
|
|
996
|
-
interface DialogTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'>, Omit<DialogContextProps, RemovedProps$
|
|
1000
|
+
type RemovedProps$26 = 'children' | 'isOpen' | 'isDismissable' | 'isKeyboardDismissDisabled';
|
|
1001
|
+
interface DialogTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'>, Omit<DialogContextProps, RemovedProps$26> {
|
|
997
1002
|
/** Whether the overlay is open by default (controlled). */
|
|
998
1003
|
open?: boolean;
|
|
999
1004
|
}
|
|
@@ -1064,7 +1069,7 @@ declare const ConfirmationDialog: {
|
|
|
1064
1069
|
variant,
|
|
1065
1070
|
size,
|
|
1066
1071
|
...props
|
|
1067
|
-
}: ConfirmationDialogProps):
|
|
1072
|
+
}: ConfirmationDialogProps): react_jsx_runtime3.JSX.Element;
|
|
1068
1073
|
Trigger: ({
|
|
1069
1074
|
open,
|
|
1070
1075
|
dismissable,
|
|
@@ -1082,18 +1087,18 @@ type ConfirmationFn = (props: ConfirmationConfig) => Promise<ConfirmationResult>
|
|
|
1082
1087
|
declare const ConfirmationContext: react6.Context<ConfirmationFn | null>;
|
|
1083
1088
|
declare const ConfirmationProvider: ({
|
|
1084
1089
|
children
|
|
1085
|
-
}: PropsWithChildren) =>
|
|
1090
|
+
}: PropsWithChildren) => react_jsx_runtime3.JSX.Element;
|
|
1086
1091
|
declare const useConfirmation: () => ConfirmationFn;
|
|
1087
1092
|
//#endregion
|
|
1088
1093
|
//#region src/Divider/Divider.d.ts
|
|
1089
|
-
type RemovedProps$
|
|
1090
|
-
interface DividerProps extends Omit<RAC.SeparatorProps, RemovedProps$
|
|
1094
|
+
type RemovedProps$25 = 'className' | 'style';
|
|
1095
|
+
interface DividerProps extends Omit<RAC.SeparatorProps, RemovedProps$25> {
|
|
1091
1096
|
variant?: 'default' | 'bold' | (string & {});
|
|
1092
1097
|
}
|
|
1093
1098
|
declare const _Divider: ({
|
|
1094
1099
|
variant,
|
|
1095
1100
|
...props
|
|
1096
|
-
}: DividerProps) =>
|
|
1101
|
+
}: DividerProps) => react_jsx_runtime3.JSX.Element;
|
|
1097
1102
|
//#endregion
|
|
1098
1103
|
//#region src/Drawer/DrawerTrigger.d.ts
|
|
1099
1104
|
interface DrawerTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'> {
|
|
@@ -1137,7 +1142,7 @@ declare const DrawerActions: ({
|
|
|
1137
1142
|
variant,
|
|
1138
1143
|
size,
|
|
1139
1144
|
children
|
|
1140
|
-
}: DrawerActions) =>
|
|
1145
|
+
}: DrawerActions) => react_jsx_runtime3.JSX.Element;
|
|
1141
1146
|
//#endregion
|
|
1142
1147
|
//#region src/Drawer/Drawer.d.ts
|
|
1143
1148
|
interface DrawerProps extends Omit<DialogProps$1, 'className' | 'style' | 'isOpen' | 'role'> {
|
|
@@ -1184,27 +1189,89 @@ declare const Drawer: {
|
|
|
1184
1189
|
role,
|
|
1185
1190
|
placement,
|
|
1186
1191
|
...props
|
|
1187
|
-
}: DrawerProps):
|
|
1192
|
+
}: DrawerProps): react_jsx_runtime3.JSX.Element;
|
|
1188
1193
|
Trigger: ({
|
|
1189
1194
|
open,
|
|
1190
1195
|
children,
|
|
1191
1196
|
...props
|
|
1192
|
-
}: DrawerTriggerProps) =>
|
|
1197
|
+
}: DrawerTriggerProps) => react_jsx_runtime3.JSX.Element;
|
|
1193
1198
|
Title: ({
|
|
1194
1199
|
variant,
|
|
1195
1200
|
size,
|
|
1196
1201
|
children
|
|
1197
|
-
}: DrawerTitleProps) =>
|
|
1202
|
+
}: DrawerTitleProps) => react_jsx_runtime3.JSX.Element;
|
|
1198
1203
|
Content: ({
|
|
1199
1204
|
variant,
|
|
1200
1205
|
size,
|
|
1201
1206
|
children
|
|
1202
|
-
}: DrawerContentProps) =>
|
|
1207
|
+
}: DrawerContentProps) => react_jsx_runtime3.JSX.Element;
|
|
1203
1208
|
Actions: ({
|
|
1204
1209
|
variant,
|
|
1205
1210
|
size,
|
|
1206
1211
|
children
|
|
1207
|
-
}: DrawerActions) =>
|
|
1212
|
+
}: DrawerActions) => react_jsx_runtime3.JSX.Element;
|
|
1213
|
+
};
|
|
1214
|
+
//#endregion
|
|
1215
|
+
//#region src/FileField/FileTrigger.d.ts
|
|
1216
|
+
type RemovedProps$24 = 'className' | 'style';
|
|
1217
|
+
interface FileTriggerProps extends Omit<RAC.FileTriggerProps, RemovedProps$24> {
|
|
1218
|
+
allowsMultiple?: RAC.FileTriggerProps['allowsMultiple'];
|
|
1219
|
+
acceptedFileType?: RAC.FileTriggerProps['acceptedFileTypes'];
|
|
1220
|
+
acceptDirectory?: RAC.FileTriggerProps['acceptDirectory'];
|
|
1221
|
+
onSelect?: RAC.FileTriggerProps['onSelect'];
|
|
1222
|
+
/**
|
|
1223
|
+
* Label for the upload button
|
|
1224
|
+
*/
|
|
1225
|
+
label: string;
|
|
1226
|
+
disabled?: boolean;
|
|
1227
|
+
}
|
|
1228
|
+
//#endregion
|
|
1229
|
+
//#region src/FileField/FileFieldItem.d.ts
|
|
1230
|
+
interface FileFieldItemProps {
|
|
1231
|
+
children?: ReactNode;
|
|
1232
|
+
/**
|
|
1233
|
+
* Called when the close button is pressed to remove this item.
|
|
1234
|
+
*/
|
|
1235
|
+
onRemove?: () => void;
|
|
1236
|
+
}
|
|
1237
|
+
//#endregion
|
|
1238
|
+
//#region src/FileField/FileField.d.ts
|
|
1239
|
+
type RemovedProps$23 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired';
|
|
1240
|
+
interface FileFieldProps extends Omit<RAC.DropZoneProps, RemovedProps$23>, Pick<FieldBaseProps$1<'input'>, 'label'> {
|
|
1241
|
+
variant?: string;
|
|
1242
|
+
size?: string;
|
|
1243
|
+
/**
|
|
1244
|
+
* Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
|
|
1245
|
+
* @default full
|
|
1246
|
+
*/
|
|
1247
|
+
width?: WidthProp['width'];
|
|
1248
|
+
/**
|
|
1249
|
+
* Disables the trigger.
|
|
1250
|
+
* @default false
|
|
1251
|
+
*/
|
|
1252
|
+
disabled?: RAC.DropZoneProps['isDisabled'];
|
|
1253
|
+
/**
|
|
1254
|
+
* Accepted file types for selection.
|
|
1255
|
+
*/
|
|
1256
|
+
accept?: RAC.FileTriggerProps['acceptedFileTypes'];
|
|
1257
|
+
/**
|
|
1258
|
+
* Whether multiple files can be selected.
|
|
1259
|
+
*/
|
|
1260
|
+
multiple?: RAC.FileTriggerProps['allowsMultiple'];
|
|
1261
|
+
}
|
|
1262
|
+
declare const FileField: {
|
|
1263
|
+
({
|
|
1264
|
+
disabled,
|
|
1265
|
+
accept,
|
|
1266
|
+
multiple,
|
|
1267
|
+
width,
|
|
1268
|
+
label,
|
|
1269
|
+
...props
|
|
1270
|
+
}: FileFieldProps): react_jsx_runtime3.JSX.Element;
|
|
1271
|
+
Item: ({
|
|
1272
|
+
children,
|
|
1273
|
+
onRemove
|
|
1274
|
+
}: FileFieldItemProps) => react_jsx_runtime3.JSX.Element;
|
|
1208
1275
|
};
|
|
1209
1276
|
//#endregion
|
|
1210
1277
|
//#region src/Form/Form.d.ts
|
|
@@ -1219,7 +1286,7 @@ declare const _Form: ({
|
|
|
1219
1286
|
unstyled,
|
|
1220
1287
|
maxWidth,
|
|
1221
1288
|
...props
|
|
1222
|
-
}: FormProps) =>
|
|
1289
|
+
}: FormProps) => react_jsx_runtime3.JSX.Element;
|
|
1223
1290
|
//#endregion
|
|
1224
1291
|
//#region src/Grid/GridArea.d.ts
|
|
1225
1292
|
interface GridAreaProps {
|
|
@@ -1272,11 +1339,11 @@ declare const Grid: {
|
|
|
1272
1339
|
height,
|
|
1273
1340
|
space,
|
|
1274
1341
|
...props
|
|
1275
|
-
}: GridProps):
|
|
1342
|
+
}: GridProps): react_jsx_runtime3.JSX.Element;
|
|
1276
1343
|
Area: ({
|
|
1277
1344
|
name,
|
|
1278
1345
|
children
|
|
1279
|
-
}: GridAreaProps) =>
|
|
1346
|
+
}: GridAreaProps) => react_jsx_runtime3.JSX.Element;
|
|
1280
1347
|
};
|
|
1281
1348
|
//#endregion
|
|
1282
1349
|
//#region src/Headline/Headline.d.ts
|
|
@@ -1308,7 +1375,7 @@ declare const _Headline: ({
|
|
|
1308
1375
|
color,
|
|
1309
1376
|
level,
|
|
1310
1377
|
...props
|
|
1311
|
-
}: HeadlineProps) =>
|
|
1378
|
+
}: HeadlineProps) => react_jsx_runtime3.JSX.Element;
|
|
1312
1379
|
//#endregion
|
|
1313
1380
|
//#region src/IconButton/IconButton.d.ts
|
|
1314
1381
|
interface IconButtonProps extends RAC.ButtonProps {
|
|
@@ -1322,7 +1389,7 @@ declare const IconButton: ({
|
|
|
1322
1389
|
variant,
|
|
1323
1390
|
size,
|
|
1324
1391
|
...props
|
|
1325
|
-
}: IconButtonProps) =>
|
|
1392
|
+
}: IconButtonProps) => react_jsx_runtime3.JSX.Element;
|
|
1326
1393
|
//#endregion
|
|
1327
1394
|
//#region src/Inline/Inline.d.ts
|
|
1328
1395
|
declare const inlineAlignmentY: {
|
|
@@ -1356,7 +1423,7 @@ declare const Inline: ({
|
|
|
1356
1423
|
alignY,
|
|
1357
1424
|
children,
|
|
1358
1425
|
...props
|
|
1359
|
-
}: InlineProps) =>
|
|
1426
|
+
}: InlineProps) => react_jsx_runtime3.JSX.Element;
|
|
1360
1427
|
//#endregion
|
|
1361
1428
|
//#region src/Input/Input.d.ts
|
|
1362
1429
|
type RemovedProps$22 = 'className' | 'style' | 'size';
|
|
@@ -1409,7 +1476,7 @@ declare const Inset: ({
|
|
|
1409
1476
|
spaceX,
|
|
1410
1477
|
spaceY,
|
|
1411
1478
|
children
|
|
1412
|
-
}: InsetProps) =>
|
|
1479
|
+
}: InsetProps) => react_jsx_runtime3.JSX.Element;
|
|
1413
1480
|
//#endregion
|
|
1414
1481
|
//#region src/Label/Label.d.ts
|
|
1415
1482
|
type RemovedProps$21 = 'className';
|
|
@@ -1422,7 +1489,7 @@ declare const _Label: ({
|
|
|
1422
1489
|
variant,
|
|
1423
1490
|
children,
|
|
1424
1491
|
...props
|
|
1425
|
-
}: LabelProps) =>
|
|
1492
|
+
}: LabelProps) => react_jsx_runtime3.JSX.Element;
|
|
1426
1493
|
//#endregion
|
|
1427
1494
|
//#region src/Link/Link.d.ts
|
|
1428
1495
|
type RemovedProps$20 = 'className' | 'isDisabled' | 'slot';
|
|
@@ -1488,11 +1555,11 @@ declare const List: {
|
|
|
1488
1555
|
variant,
|
|
1489
1556
|
size,
|
|
1490
1557
|
...props
|
|
1491
|
-
}: ListProps):
|
|
1558
|
+
}: ListProps): react_jsx_runtime3.JSX.Element;
|
|
1492
1559
|
Item: ({
|
|
1493
1560
|
children,
|
|
1494
1561
|
...props
|
|
1495
|
-
}: ListItemProps) =>
|
|
1562
|
+
}: ListItemProps) => react_jsx_runtime3.JSX.Element;
|
|
1496
1563
|
};
|
|
1497
1564
|
//#endregion
|
|
1498
1565
|
//#region src/Menu/MenuItem.d.ts
|
|
@@ -1560,18 +1627,18 @@ declare const _Menu: {
|
|
|
1560
1627
|
placement,
|
|
1561
1628
|
"aria-label": ariaLabel,
|
|
1562
1629
|
...props
|
|
1563
|
-
}: MenuProps):
|
|
1630
|
+
}: MenuProps): react_jsx_runtime3.JSX.Element;
|
|
1564
1631
|
Item: ({
|
|
1565
1632
|
children,
|
|
1566
1633
|
variant,
|
|
1567
1634
|
size,
|
|
1568
1635
|
...props
|
|
1569
|
-
}: MenuItemProps) =>
|
|
1636
|
+
}: MenuItemProps) => react_jsx_runtime3.JSX.Element;
|
|
1570
1637
|
Section: ({
|
|
1571
1638
|
children,
|
|
1572
1639
|
title,
|
|
1573
1640
|
...props
|
|
1574
|
-
}: MenuSectionProps) =>
|
|
1641
|
+
}: MenuSectionProps) => react_jsx_runtime3.JSX.Element;
|
|
1575
1642
|
};
|
|
1576
1643
|
//#endregion
|
|
1577
1644
|
//#region src/Menu/ActionMenu.d.ts
|
|
@@ -1580,18 +1647,18 @@ declare const ActionMenu: {
|
|
|
1580
1647
|
({
|
|
1581
1648
|
children,
|
|
1582
1649
|
...props
|
|
1583
|
-
}: ActionMenuProps):
|
|
1650
|
+
}: ActionMenuProps): react_jsx_runtime3.JSX.Element;
|
|
1584
1651
|
Item: ({
|
|
1585
1652
|
children,
|
|
1586
1653
|
variant,
|
|
1587
1654
|
size,
|
|
1588
1655
|
...props
|
|
1589
|
-
}: MenuItemProps) =>
|
|
1656
|
+
}: MenuItemProps) => react_jsx_runtime3.JSX.Element;
|
|
1590
1657
|
Section: ({
|
|
1591
1658
|
children,
|
|
1592
1659
|
title,
|
|
1593
1660
|
...props
|
|
1594
|
-
}: MenuSectionProps) =>
|
|
1661
|
+
}: MenuSectionProps) => react_jsx_runtime3.JSX.Element;
|
|
1595
1662
|
};
|
|
1596
1663
|
//#endregion
|
|
1597
1664
|
//#region src/Multiselect/Multiselect.d.ts
|
|
@@ -1719,7 +1786,7 @@ declare const Multiselect: ({
|
|
|
1719
1786
|
onSelectionChange,
|
|
1720
1787
|
width,
|
|
1721
1788
|
...rest
|
|
1722
|
-
}: MultipleSelectProps) =>
|
|
1789
|
+
}: MultipleSelectProps) => react_jsx_runtime3.JSX.Element;
|
|
1723
1790
|
//#endregion
|
|
1724
1791
|
//#region src/NumberField/NumberField.d.ts
|
|
1725
1792
|
type RemovedProps$15 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'size';
|
|
@@ -1765,19 +1832,19 @@ interface NumberFieldProps extends Omit<RAC.NumberFieldProps, RemovedProps$15>,
|
|
|
1765
1832
|
declare const _NumberField: react6.ForwardRefExoticComponent<NumberFieldProps & react6.RefAttributes<HTMLInputElement>>;
|
|
1766
1833
|
//#endregion
|
|
1767
1834
|
//#region src/utils/useRenderProps.d.ts
|
|
1768
|
-
interface StyleRenderProps<T> {
|
|
1835
|
+
interface StyleRenderProps<T$1> {
|
|
1769
1836
|
/** The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. A function may be provided to compute the class based on component state. */
|
|
1770
|
-
className?: string | ((values: T & {
|
|
1837
|
+
className?: string | ((values: T$1 & {
|
|
1771
1838
|
defaultClassName: string | undefined;
|
|
1772
1839
|
}) => string);
|
|
1773
1840
|
/** The inline [style](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style) for the element. A function may be provided to compute the style based on component state. */
|
|
1774
|
-
style?: CSSProperties | ((values: T & {
|
|
1841
|
+
style?: CSSProperties | ((values: T$1 & {
|
|
1775
1842
|
defaultStyle: CSSProperties;
|
|
1776
1843
|
}) => CSSProperties | undefined);
|
|
1777
1844
|
}
|
|
1778
|
-
interface RenderProps<T> extends StyleRenderProps<T> {
|
|
1845
|
+
interface RenderProps<T$1> extends StyleRenderProps<T$1> {
|
|
1779
1846
|
/** The children of the component. A function may be provided to alter the children based on component state. */
|
|
1780
|
-
children?: ReactNode | ((values: T & {
|
|
1847
|
+
children?: ReactNode | ((values: T$1 & {
|
|
1781
1848
|
defaultChildren: ReactNode | undefined;
|
|
1782
1849
|
}) => ReactNode);
|
|
1783
1850
|
}
|
|
@@ -1861,7 +1928,7 @@ declare const Underlay: ({
|
|
|
1861
1928
|
dismissable,
|
|
1862
1929
|
keyboardDismissable,
|
|
1863
1930
|
...rest
|
|
1864
|
-
}: UnderlayProps) =>
|
|
1931
|
+
}: UnderlayProps) => react_jsx_runtime3.JSX.Element;
|
|
1865
1932
|
//#endregion
|
|
1866
1933
|
//#region src/Pagination/Pagination.d.ts
|
|
1867
1934
|
interface PaginationProps {
|
|
@@ -1896,28 +1963,33 @@ declare const _Pagination: ({
|
|
|
1896
1963
|
totalItems,
|
|
1897
1964
|
pageSize,
|
|
1898
1965
|
...props
|
|
1899
|
-
}: PaginationProps) =>
|
|
1966
|
+
}: PaginationProps) => react_jsx_runtime3.JSX.Element;
|
|
1900
1967
|
//#endregion
|
|
1901
|
-
//#region src/
|
|
1902
|
-
interface
|
|
1968
|
+
//#region src/ProgressCircle/ProgressCircle.d.ts
|
|
1969
|
+
interface ProgressCircleProps extends RAC.ProgressBarProps {
|
|
1903
1970
|
/**
|
|
1904
1971
|
* Defines the height and width of the component
|
|
1905
1972
|
* @default 16
|
|
1906
1973
|
*/
|
|
1907
|
-
size?: string;
|
|
1974
|
+
size?: string | 'default' | 'large' | 'fit';
|
|
1975
|
+
variant?: 'default' | 'inverted';
|
|
1908
1976
|
}
|
|
1909
|
-
declare const
|
|
1977
|
+
declare const ProgressCircleSvg: ({
|
|
1978
|
+
size,
|
|
1979
|
+
variant
|
|
1980
|
+
}: ProgressCircleProps) => react_jsx_runtime3.JSX.Element;
|
|
1981
|
+
declare const ProgressCircle: ({
|
|
1910
1982
|
size,
|
|
1911
1983
|
...props
|
|
1912
|
-
}:
|
|
1984
|
+
}: ProgressCircleProps) => react_jsx_runtime3.JSX.Element;
|
|
1913
1985
|
//#endregion
|
|
1914
1986
|
//#region src/Provider/MarigoldProvider.d.ts
|
|
1915
|
-
type MarigoldProviderProps<T extends Theme> = ThemeProviderProps<T>;
|
|
1916
|
-
declare function MarigoldProvider<T extends Theme>({
|
|
1987
|
+
type MarigoldProviderProps<T$1 extends Theme> = ThemeProviderProps<T$1>;
|
|
1988
|
+
declare function MarigoldProvider<T$1 extends Theme>({
|
|
1917
1989
|
children,
|
|
1918
1990
|
className,
|
|
1919
1991
|
theme
|
|
1920
|
-
}: MarigoldProviderProps<T>):
|
|
1992
|
+
}: MarigoldProviderProps<T$1>): react_jsx_runtime3.JSX.Element;
|
|
1921
1993
|
//#endregion
|
|
1922
1994
|
//#region src/Provider/OverlayContainerProvider.d.ts
|
|
1923
1995
|
interface OverlayContainerProps extends PropsWithChildren {
|
|
@@ -1932,7 +2004,7 @@ interface OverlayContainerProps extends PropsWithChildren {
|
|
|
1932
2004
|
declare const OverlayContainerProvider: ({
|
|
1933
2005
|
container,
|
|
1934
2006
|
children
|
|
1935
|
-
}: OverlayContainerProps) =>
|
|
2007
|
+
}: OverlayContainerProps) => react_jsx_runtime3.JSX.Element;
|
|
1936
2008
|
//#endregion
|
|
1937
2009
|
//#region src/Radio/RadioGroup.d.ts
|
|
1938
2010
|
type RemovedProps$14 = 'className' | 'style' | 'isDisabled' | 'isInvalid' | 'isRequired' | 'isSelected';
|
|
@@ -2016,7 +2088,7 @@ declare const _RadioGroup: ({
|
|
|
2016
2088
|
width,
|
|
2017
2089
|
collapseAt,
|
|
2018
2090
|
...rest
|
|
2019
|
-
}: RadioGroupProps) =>
|
|
2091
|
+
}: RadioGroupProps) => react_jsx_runtime3.JSX.Element;
|
|
2020
2092
|
//#endregion
|
|
2021
2093
|
//#region src/Radio/Radio.d.ts
|
|
2022
2094
|
type RemovedProps$13 = 'className' | 'style' | 'children' | 'isDisabled';
|
|
@@ -2060,7 +2132,7 @@ declare const Scrollable: ({
|
|
|
2060
2132
|
width,
|
|
2061
2133
|
height,
|
|
2062
2134
|
...props
|
|
2063
|
-
}: ScrollableProps) =>
|
|
2135
|
+
}: ScrollableProps) => react_jsx_runtime3.JSX.Element;
|
|
2064
2136
|
//#endregion
|
|
2065
2137
|
//#region src/SearchField/SearchField.d.ts
|
|
2066
2138
|
type RemovedProps$12 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
|
|
@@ -2136,22 +2208,22 @@ declare const icons: {
|
|
|
2136
2208
|
size,
|
|
2137
2209
|
className,
|
|
2138
2210
|
...props
|
|
2139
|
-
}: IconProps) =>
|
|
2211
|
+
}: IconProps) => react_jsx_runtime3.JSX.Element;
|
|
2140
2212
|
readonly info: ({
|
|
2141
2213
|
size,
|
|
2142
2214
|
className,
|
|
2143
2215
|
...props
|
|
2144
|
-
}: IconProps) =>
|
|
2216
|
+
}: IconProps) => react_jsx_runtime3.JSX.Element;
|
|
2145
2217
|
readonly warning: ({
|
|
2146
2218
|
size,
|
|
2147
2219
|
className,
|
|
2148
2220
|
...props
|
|
2149
|
-
}: IconProps) =>
|
|
2221
|
+
}: IconProps) => react_jsx_runtime3.JSX.Element;
|
|
2150
2222
|
readonly error: ({
|
|
2151
2223
|
size,
|
|
2152
2224
|
className,
|
|
2153
2225
|
...props
|
|
2154
|
-
}: IconProps) =>
|
|
2226
|
+
}: IconProps) => react_jsx_runtime3.JSX.Element;
|
|
2155
2227
|
};
|
|
2156
2228
|
interface SectionMessageProps {
|
|
2157
2229
|
variant?: keyof typeof icons;
|
|
@@ -2182,25 +2254,25 @@ declare const SectionMessage: {
|
|
|
2182
2254
|
close,
|
|
2183
2255
|
onCloseChange,
|
|
2184
2256
|
...props
|
|
2185
|
-
}: SectionMessageProps):
|
|
2257
|
+
}: SectionMessageProps): react_jsx_runtime3.JSX.Element | null;
|
|
2186
2258
|
Title: ({
|
|
2187
2259
|
children
|
|
2188
|
-
}: SectionMessageTitleProps) =>
|
|
2260
|
+
}: SectionMessageTitleProps) => react_jsx_runtime3.JSX.Element;
|
|
2189
2261
|
Content: ({
|
|
2190
2262
|
children
|
|
2191
|
-
}: SectionMessageContentProps) =>
|
|
2263
|
+
}: SectionMessageContentProps) => react_jsx_runtime3.JSX.Element;
|
|
2192
2264
|
};
|
|
2193
2265
|
//#endregion
|
|
2194
2266
|
//#region src/Select/Select.d.ts
|
|
2195
2267
|
type SelectionMode = 'single' | 'multiple';
|
|
2196
2268
|
type RemovedProps$11 = 'children' | 'isInvalid' | 'isDisabled' | 'isOpen' | 'isRequired' | 'style' | 'className';
|
|
2197
|
-
interface SelectProps<T extends object, M extends SelectionMode = 'single'> extends Omit<RAC.SelectProps<T, M>, RemovedProps$11>, WidthProp {
|
|
2269
|
+
interface SelectProps<T$1 extends object, M$1 extends SelectionMode = 'single'> extends Omit<RAC.SelectProps<T$1, M$1>, RemovedProps$11>, WidthProp {
|
|
2198
2270
|
variant?: string;
|
|
2199
2271
|
size?: string;
|
|
2200
2272
|
/**
|
|
2201
2273
|
* Children of the select.
|
|
2202
2274
|
*/
|
|
2203
|
-
children?: React.ReactNode | ((item: T) => React.ReactNode);
|
|
2275
|
+
children?: React.ReactNode | ((item: T$1) => React.ReactNode);
|
|
2204
2276
|
/**
|
|
2205
2277
|
* Set a label for the select.
|
|
2206
2278
|
*/
|
|
@@ -2216,7 +2288,7 @@ interface SelectProps<T extends object, M extends SelectionMode = 'single'> exte
|
|
|
2216
2288
|
/**
|
|
2217
2289
|
* Items of the select.
|
|
2218
2290
|
*/
|
|
2219
|
-
items?: Iterable<T>;
|
|
2291
|
+
items?: Iterable<T$1>;
|
|
2220
2292
|
/**
|
|
2221
2293
|
* If the select should be required.
|
|
2222
2294
|
*
|
|
@@ -2245,12 +2317,12 @@ interface SelectProps<T extends object, M extends SelectionMode = 'single'> exte
|
|
|
2245
2317
|
declare const Select: (<T extends object, M extends SelectionMode = "single">(props: SelectProps<T, M> & react6.RefAttributes<HTMLButtonElement>) => react6.ReactElement | null) & {
|
|
2246
2318
|
Option: ({
|
|
2247
2319
|
...props
|
|
2248
|
-
}: ListBoxItemProps) =>
|
|
2320
|
+
}: ListBoxItemProps) => react_jsx_runtime3.JSX.Element;
|
|
2249
2321
|
Section: ({
|
|
2250
2322
|
header,
|
|
2251
2323
|
children,
|
|
2252
2324
|
...props
|
|
2253
|
-
}: SectionProps) =>
|
|
2325
|
+
}: SectionProps) => react_jsx_runtime3.JSX.Element;
|
|
2254
2326
|
};
|
|
2255
2327
|
//#endregion
|
|
2256
2328
|
//#region src/SelectList/SelectListAction.d.ts
|
|
@@ -2259,7 +2331,7 @@ interface SelectListAction {
|
|
|
2259
2331
|
}
|
|
2260
2332
|
declare const SelectListAction: ({
|
|
2261
2333
|
children
|
|
2262
|
-
}: SelectListAction) =>
|
|
2334
|
+
}: SelectListAction) => react_jsx_runtime3.JSX.Element;
|
|
2263
2335
|
//#endregion
|
|
2264
2336
|
//#region src/SelectList/SelectListItem.d.ts
|
|
2265
2337
|
type RemovedProps$10 = 'className' | 'style' | 'isDisabled';
|
|
@@ -2291,7 +2363,7 @@ interface SelectListComponent extends ForwardRefExoticComponent<SelectListProps
|
|
|
2291
2363
|
declare const _SelectList: SelectListComponent;
|
|
2292
2364
|
//#endregion
|
|
2293
2365
|
//#region src/Slider/Slider.d.ts
|
|
2294
|
-
interface SliderProps<T> extends Omit<RAC.SliderProps<T>, 'children' | 'isDisabled' | 'orientation'>, Pick<FieldBaseProps<'label'>, 'description'> {
|
|
2366
|
+
interface SliderProps<T$1> extends Omit<RAC.SliderProps<T$1>, 'children' | 'isDisabled' | 'orientation'>, Pick<FieldBaseProps<'label'>, 'description'> {
|
|
2295
2367
|
variant?: string;
|
|
2296
2368
|
size?: string;
|
|
2297
2369
|
/**
|
|
@@ -2322,7 +2394,7 @@ interface SliderProps<T> extends Omit<RAC.SliderProps<T>, 'children' | 'isDisabl
|
|
|
2322
2394
|
declare const _Slider: react6.ForwardRefExoticComponent<SliderProps<number | number[]> & react6.RefAttributes<HTMLDivElement>>;
|
|
2323
2395
|
//#endregion
|
|
2324
2396
|
//#region src/Split/Split.d.ts
|
|
2325
|
-
declare const Split: () =>
|
|
2397
|
+
declare const Split: () => react_jsx_runtime3.JSX.Element;
|
|
2326
2398
|
//#endregion
|
|
2327
2399
|
//#region src/Stack/Stack.d.ts
|
|
2328
2400
|
interface StackProps extends GapSpaceProp, AriaRegionProps {
|
|
@@ -2358,7 +2430,7 @@ declare const Stack: ({
|
|
|
2358
2430
|
alignY,
|
|
2359
2431
|
asList,
|
|
2360
2432
|
...props
|
|
2361
|
-
}: StackProps) =>
|
|
2433
|
+
}: StackProps) => react_jsx_runtime3.JSX.Element;
|
|
2362
2434
|
//#endregion
|
|
2363
2435
|
//#region src/Switch/Switch.d.ts
|
|
2364
2436
|
type RemovedProps$9 = 'children' | 'className' | 'isDisabled' | 'isReadOnly' | 'isSelected' | 'children' | 'slot';
|
|
@@ -2471,13 +2543,13 @@ declare const _Tabs: {
|
|
|
2471
2543
|
variant,
|
|
2472
2544
|
size,
|
|
2473
2545
|
...rest
|
|
2474
|
-
}: TabsProps):
|
|
2546
|
+
}: TabsProps): react_jsx_runtime3.JSX.Element;
|
|
2475
2547
|
List: ({
|
|
2476
2548
|
space,
|
|
2477
2549
|
...props
|
|
2478
|
-
}: TabListProps) =>
|
|
2479
|
-
TabPanel: (props: TabPanelProps) =>
|
|
2480
|
-
Item: (props: TabProps) =>
|
|
2550
|
+
}: TabListProps) => react_jsx_runtime3.JSX.Element;
|
|
2551
|
+
TabPanel: (props: TabPanelProps) => react_jsx_runtime3.JSX.Element;
|
|
2552
|
+
Item: (props: TabProps) => react_jsx_runtime3.JSX.Element;
|
|
2481
2553
|
};
|
|
2482
2554
|
//#endregion
|
|
2483
2555
|
//#region src/TagGroup/TagGroup.d.ts
|
|
@@ -2513,7 +2585,7 @@ declare const _TagGroup: ({
|
|
|
2513
2585
|
name,
|
|
2514
2586
|
removeAll,
|
|
2515
2587
|
...rest
|
|
2516
|
-
}: TagGroupProps) =>
|
|
2588
|
+
}: TagGroupProps) => react_jsx_runtime3.JSX.Element;
|
|
2517
2589
|
//#endregion
|
|
2518
2590
|
//#region src/TagGroup/Tag.d.ts
|
|
2519
2591
|
type RemovedProps$7 = 'className' | 'style' | 'isDisabled';
|
|
@@ -2530,7 +2602,7 @@ declare const _Tag: {
|
|
|
2530
2602
|
children,
|
|
2531
2603
|
disabled,
|
|
2532
2604
|
...rest
|
|
2533
|
-
}: TagProps):
|
|
2605
|
+
}: TagProps): react_jsx_runtime3.JSX.Element;
|
|
2534
2606
|
Group: ({
|
|
2535
2607
|
items,
|
|
2536
2608
|
children,
|
|
@@ -2540,7 +2612,7 @@ declare const _Tag: {
|
|
|
2540
2612
|
name,
|
|
2541
2613
|
removeAll,
|
|
2542
2614
|
...rest
|
|
2543
|
-
}: TagGroupProps) =>
|
|
2615
|
+
}: TagGroupProps) => react_jsx_runtime3.JSX.Element;
|
|
2544
2616
|
};
|
|
2545
2617
|
//#endregion
|
|
2546
2618
|
//#region src/Text/Text.d.ts
|
|
@@ -2581,7 +2653,7 @@ declare const _Text: ({
|
|
|
2581
2653
|
children,
|
|
2582
2654
|
as,
|
|
2583
2655
|
...props
|
|
2584
|
-
}: TextProps) =>
|
|
2656
|
+
}: TextProps) => react_jsx_runtime3.JSX.Element;
|
|
2585
2657
|
//#endregion
|
|
2586
2658
|
//#region src/TextArea/TextArea.d.ts
|
|
2587
2659
|
type RemovedProps$5 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
|
|
@@ -2723,7 +2795,7 @@ declare const Tiles: ({
|
|
|
2723
2795
|
tilesWidth,
|
|
2724
2796
|
children,
|
|
2725
2797
|
...props
|
|
2726
|
-
}: TilesProps) =>
|
|
2798
|
+
}: TilesProps) => react_jsx_runtime3.JSX.Element;
|
|
2727
2799
|
//#endregion
|
|
2728
2800
|
//#region src/TimeField/TimeField.d.ts
|
|
2729
2801
|
type RemovedProps$3 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'slot';
|
|
@@ -2788,7 +2860,7 @@ interface ToastProps {
|
|
|
2788
2860
|
}
|
|
2789
2861
|
declare const Toast: ({
|
|
2790
2862
|
toast
|
|
2791
|
-
}: ToastProps) =>
|
|
2863
|
+
}: ToastProps) => react_jsx_runtime3.JSX.Element;
|
|
2792
2864
|
//#endregion
|
|
2793
2865
|
//#region src/Toast/ToastProvider.d.ts
|
|
2794
2866
|
interface ToastProviderProps extends Omit<RAC.ToastRegionProps<object>, RemovedProps$2> {
|
|
@@ -2798,7 +2870,7 @@ type RemovedProps$2 = 'children' | 'className' | 'style' | 'queue';
|
|
|
2798
2870
|
type ToastPosition = 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right' | 'top' | 'bottom';
|
|
2799
2871
|
declare const ToastProvider: ({
|
|
2800
2872
|
position
|
|
2801
|
-
}: ToastProviderProps) =>
|
|
2873
|
+
}: ToastProviderProps) => react_jsx_runtime3.JSX.Element;
|
|
2802
2874
|
//#endregion
|
|
2803
2875
|
//#region src/Toast/ToastQueue.d.ts
|
|
2804
2876
|
declare function useToast(): {
|
|
@@ -2851,39 +2923,46 @@ declare const _Tooltip: {
|
|
|
2851
2923
|
size,
|
|
2852
2924
|
open,
|
|
2853
2925
|
...rest
|
|
2854
|
-
}: TooltipProps):
|
|
2926
|
+
}: TooltipProps): react_jsx_runtime3.JSX.Element;
|
|
2855
2927
|
Trigger: ({
|
|
2856
2928
|
delay,
|
|
2857
2929
|
children,
|
|
2858
2930
|
disabled,
|
|
2859
2931
|
open,
|
|
2860
2932
|
...rest
|
|
2861
|
-
}: TooltipTriggerProps) =>
|
|
2933
|
+
}: TooltipTriggerProps) => react_jsx_runtime3.JSX.Element;
|
|
2862
2934
|
};
|
|
2863
2935
|
//#endregion
|
|
2864
|
-
//#region src/
|
|
2865
|
-
interface
|
|
2936
|
+
//#region src/Loader/BaseLoader.d.ts
|
|
2937
|
+
interface BaseLoaderProps extends Pick<ProgressBarProps, 'id' | 'aria-label' | 'aria-labelledby' | 'aria-describedby' | 'aria-details'> {
|
|
2866
2938
|
/**
|
|
2867
2939
|
* Children of the component that will make up the label.
|
|
2868
2940
|
*/
|
|
2869
2941
|
children?: ReactNode;
|
|
2870
2942
|
variant?: 'default' | 'inverted';
|
|
2871
2943
|
size?: 'default' | 'large' | 'fit';
|
|
2944
|
+
loaderType?: LoaderVisualType$1;
|
|
2872
2945
|
}
|
|
2873
2946
|
//#endregion
|
|
2874
|
-
//#region src/
|
|
2875
|
-
|
|
2947
|
+
//#region src/Loader/Loader.d.ts
|
|
2948
|
+
type LoaderVisualType = 'xloader' | 'circle';
|
|
2949
|
+
interface LoaderProps extends BaseLoaderProps {
|
|
2876
2950
|
/**
|
|
2877
2951
|
* Show the loader in `fullscreen` to overlay and block interaction with the site or `section` to show loading for a certain area.
|
|
2878
2952
|
* @default undefined
|
|
2879
2953
|
*/
|
|
2880
2954
|
mode?: 'fullscreen' | 'section';
|
|
2955
|
+
/**
|
|
2956
|
+
* Selects the visual style of the loading indicator shown when loading is true. Accepts `xloader` or `cycle`.
|
|
2957
|
+
* @default cycle
|
|
2958
|
+
*/
|
|
2959
|
+
loaderType?: LoaderVisualType;
|
|
2881
2960
|
}
|
|
2882
|
-
declare const
|
|
2961
|
+
declare const Loader: ({
|
|
2883
2962
|
mode,
|
|
2884
2963
|
variant,
|
|
2885
2964
|
...props
|
|
2886
|
-
}:
|
|
2965
|
+
}: LoaderProps) => react_jsx_runtime3.JSX.Element;
|
|
2887
2966
|
//#endregion
|
|
2888
2967
|
//#region src/utils/form.utils.d.ts
|
|
2889
2968
|
/**
|
|
@@ -2894,4 +2973,4 @@ declare const XLoader: ({
|
|
|
2894
2973
|
*/
|
|
2895
2974
|
declare const parseFormData: <T extends Record<string, FormDataEntryValue | FormDataEntryValue[]> = Record<string, FormDataEntryValue | FormDataEntryValue[]>>(e: FormEvent<HTMLFormElement>) => T;
|
|
2896
2975
|
//#endregion
|
|
2897
|
-
export { Accordion, AccordionItem, type AccordionProps, ActionMenu, type ActionMenuProps, Aside, type AsideProps, Aspect, type AspectProps, _Autocomplete as Autocomplete, type AutocompleteProps, Badge, type BadgeProps, _Breadcrumbs as Breadcrumbs, type BreadcrumbsProps, 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, Collapsible, type CollapsibleProps, Columns, type ColumnsProps, _ComboBox as ComboBox, type ComboBoxProps, type ConfirmationConfig, ConfirmationContext, ConfirmationDialog, type ConfirmationDialogProps, type ConfirmationFn, ConfirmationProvider, type ConfirmationResult, Container, type ContainerProps, _ContextualHelp as ContextualHelp, type ContextualHelpProps, _DateField as DateField, type DateFieldProps, DateFormat, _DatePicker as DatePicker, type DatePickerProps, _Dialog as Dialog, type DialogProps, type DisclosureProps, _Divider as Divider, type DividerProps, Drawer, type DrawerProps, FieldBase, type FieldBaseProps, _Form as Form, type FormProps, Grid, type GridProps, _Headline as Headline, type HeadlineProps, HelpText, type HelpTextProps, I18nProvider, IconButton, Inline, type InlineProps, _Input as Input, type InputProps, Inset, type InsetProps, _Label as Label, type LabelProps, _Link as Link, _LinkButton as LinkButton, type LinkButtonProps, type LinkProps, List, _ListBox as ListBox, _ListBoxItem as ListBoxItem, type ListBoxItemProps, type ListBoxProps, type ListProps, MarigoldProvider, type MarigoldProviderProps, _Menu as Menu, type MenuProps, _Modal as Modal, type ModalProps, Multiselect, NonModal, type NonModalProps, _NumberField as NumberField, type NumberFieldProps, NumericFormat, type OverlayContainerProps, OverlayContainerProvider, _Pagination as Pagination, type PaginationProps, _Popover as Popover, type PopoverProps,
|
|
2976
|
+
export { Accordion, AccordionItem, type AccordionProps, ActionMenu, type ActionMenuProps, Aside, type AsideProps, Aspect, type AspectProps, _Autocomplete as Autocomplete, type AutocompleteProps, Badge, type BadgeProps, _Breadcrumbs as Breadcrumbs, type BreadcrumbsProps, 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, Collapsible, type CollapsibleProps, Columns, type ColumnsProps, _ComboBox as ComboBox, type ComboBoxProps, type ConfirmationConfig, ConfirmationContext, ConfirmationDialog, type ConfirmationDialogProps, type ConfirmationFn, ConfirmationProvider, type ConfirmationResult, Container, type ContainerProps, _ContextualHelp as ContextualHelp, type ContextualHelpProps, _DateField as DateField, type DateFieldProps, DateFormat, _DatePicker as DatePicker, type DatePickerProps, _Dialog as Dialog, type DialogProps, type DisclosureProps, _Divider as Divider, type DividerProps, Drawer, type DrawerProps, FieldBase, type FieldBaseProps, FileField, type FileFieldProps, type FileTriggerProps, _Form as Form, type FormProps, Grid, type GridProps, _Headline as Headline, type HeadlineProps, HelpText, type HelpTextProps, I18nProvider, IconButton, Inline, type InlineProps, _Input as Input, type InputProps, Inset, type InsetProps, _Label as Label, type LabelProps, _Link as Link, _LinkButton as LinkButton, type LinkButtonProps, type LinkProps, List, _ListBox as ListBox, _ListBoxItem as ListBoxItem, type ListBoxItemProps, type ListBoxProps, type ListProps, Loader, type LoaderProps, type LoaderVisualType, MarigoldProvider, type MarigoldProviderProps, _Menu as Menu, type MenuProps, _Modal as Modal, type ModalProps, Multiselect, NonModal, type NonModalProps, _NumberField as NumberField, type NumberFieldProps, NumericFormat, type OverlayContainerProps, OverlayContainerProvider, _Pagination as Pagination, type PaginationProps, _Popover as Popover, type PopoverProps, ProgressCircle, type ProgressCircleProps, ProgressCircleSvg, _Radio as Radio, _RadioGroup as RadioGroup, type RadioGroupProps, type RadioProps, RouterProvider, Scrollable, type ScrollableProps, _SearchField as SearchField, type SearchFieldProps, SearchInput, type SearchInputProps, SectionMessage, type SectionMessageProps, Select, _SelectList as SelectList, _SelectListItem as SelectListItem, type SelectListItemProps, type SelectListProps, type SelectProps, type Selection, _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, _TagGroup as TagGroup, type TagGroupProps, type TagProps, _Text as Text, _TextArea as TextArea, type TextAreaProps, _TextField as TextField, type TextFieldProps, type TextProps, ThemeProvider, Tiles, type TilesProps, _TimeField as TimeField, type TimeFieldProps, type TimeValue, Toast, type ToastContentProps, type ToastProps, ToastProvider, type ToastProviderProps, _Tooltip as Tooltip, type TooltipProps, Underlay, type UnderlayProps, VisuallyHidden, parseFormData, useAsyncList, useConfirmation, useListData, useTheme, useToast };
|