@marigold/components 16.0.0 → 16.0.1
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 +127 -128
- package/dist/index.d.ts +127 -128
- package/dist/index.js +32 -675
- package/dist/index.mjs +71 -713
- package/package.json +4 -4
package/dist/index.d.ts
CHANGED
|
@@ -2,12 +2,11 @@ import { AriaLabelingProps, Orientation, RefObject, Selection } from "@react-typ
|
|
|
2
2
|
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, ValidationResult } from "react-aria-components";
|
|
3
3
|
import { useAsyncList, useListData } from "@react-stately/data";
|
|
4
4
|
import { AspectProp, CursorProp, DateFormat, FontSizeProp, FontStyleProp, FontWeightProp, GapSpaceProp, HeightProp, MaxWidthProp, NumericFormat, PaddingBottomProp, PaddingLeftProp, PaddingRightProp, PaddingSpaceProp, PaddingSpacePropX, PaddingSpacePropY, PaddingTopProp, PlaceItemsProp, TextAlignProp, TextWrapProp, Theme, ThemeProvider, ThemeProviderProps, WhiteSpaceProps, WidthProp, alignment, useTheme } from "@marigold/system";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
7
|
-
import
|
|
5
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
6
|
+
import * as react8 from "react";
|
|
7
|
+
import { CSSProperties, ComponentPropsWithRef, Dispatch, ElementType, FormEvent, ForwardRefExoticComponent, JSX, Key as Key$1, PropsWithChildren, ReactElement, ReactNode, RefAttributes, SVGProps, SetStateAction } from "react";
|
|
8
8
|
import { AriaLabelingProps as AriaLabelingProps$1, AriaRegionProps, DistributiveOmit, NonZeroPercentage } from "@marigold/types";
|
|
9
9
|
import { AriaLandmarkRole } from "@react-aria/landmark";
|
|
10
|
-
import { FieldBaseProps as FieldBaseProps$1, LoaderVisualType as LoaderVisualType$1 } from "@marigold/components";
|
|
11
10
|
import { Props } from "react-select";
|
|
12
11
|
import { OverlayTriggerProps, OverlayTriggerState } from "react-stately";
|
|
13
12
|
import { I18nProvider } from "@react-aria/i18n";
|
|
@@ -38,7 +37,7 @@ declare const AccordionItem: ({
|
|
|
38
37
|
disabled,
|
|
39
38
|
expanded,
|
|
40
39
|
...props
|
|
41
|
-
}: DisclosureProps) =>
|
|
40
|
+
}: DisclosureProps) => react_jsx_runtime3.JSX.Element;
|
|
42
41
|
//#endregion
|
|
43
42
|
//#region src/Accordion/Accordion.d.ts
|
|
44
43
|
type RemovedProps$37 = 'isDisabled';
|
|
@@ -61,19 +60,19 @@ declare const Accordion: {
|
|
|
61
60
|
stickyHeader,
|
|
62
61
|
iconPosition,
|
|
63
62
|
...props
|
|
64
|
-
}: AccordionProps):
|
|
63
|
+
}: AccordionProps): react_jsx_runtime3.JSX.Element;
|
|
65
64
|
Header: ({
|
|
66
65
|
children
|
|
67
|
-
}: AccordionHeaderProps) =>
|
|
66
|
+
}: AccordionHeaderProps) => react_jsx_runtime3.JSX.Element;
|
|
68
67
|
Content: ({
|
|
69
68
|
children
|
|
70
|
-
}: AccordionPanelProps) =>
|
|
69
|
+
}: AccordionPanelProps) => react_jsx_runtime3.JSX.Element;
|
|
71
70
|
Item: ({
|
|
72
71
|
children,
|
|
73
72
|
disabled,
|
|
74
73
|
expanded,
|
|
75
74
|
...props
|
|
76
|
-
}: DisclosureProps) =>
|
|
75
|
+
}: DisclosureProps) => react_jsx_runtime3.JSX.Element;
|
|
77
76
|
};
|
|
78
77
|
//#endregion
|
|
79
78
|
//#region src/Aside/Aside.d.ts
|
|
@@ -103,7 +102,7 @@ declare const Aside: ({
|
|
|
103
102
|
space,
|
|
104
103
|
side,
|
|
105
104
|
wrap
|
|
106
|
-
}: AsideProps) =>
|
|
105
|
+
}: AsideProps) => react_jsx_runtime3.JSX.Element;
|
|
107
106
|
//#endregion
|
|
108
107
|
//#region src/Aspect/Aspect.d.ts
|
|
109
108
|
interface AspectProps extends AspectProp, AriaRegionProps {
|
|
@@ -121,7 +120,7 @@ declare const Aspect: ({
|
|
|
121
120
|
ratio,
|
|
122
121
|
maxWidth,
|
|
123
122
|
children
|
|
124
|
-
}: AspectProps) =>
|
|
123
|
+
}: AspectProps) => react_jsx_runtime3.JSX.Element;
|
|
125
124
|
//#endregion
|
|
126
125
|
//#region src/HelpText/HelpText.d.ts
|
|
127
126
|
interface HelpTextProps {
|
|
@@ -142,7 +141,7 @@ declare const HelpText: ({
|
|
|
142
141
|
description,
|
|
143
142
|
errorMessage,
|
|
144
143
|
...props
|
|
145
|
-
}: HelpTextProps) =>
|
|
144
|
+
}: HelpTextProps) => react_jsx_runtime3.JSX.Element | null;
|
|
146
145
|
//#endregion
|
|
147
146
|
//#region src/FieldBase/FieldBase.d.ts
|
|
148
147
|
interface FieldBaseProps<T$1 extends ElementType> extends WidthProp, Pick<HelpTextProps, 'description' | 'errorMessage'> {
|
|
@@ -160,18 +159,18 @@ interface FieldBaseProps<T$1 extends ElementType> extends WidthProp, Pick<HelpTe
|
|
|
160
159
|
isInvalid?: boolean;
|
|
161
160
|
isRequired?: boolean;
|
|
162
161
|
}
|
|
163
|
-
declare const FieldBase: <T extends ElementType>(props: FieldBaseProps<T> & DistributiveOmit<ComponentPropsWithRef<T>, "as"> &
|
|
162
|
+
declare const FieldBase: <T extends ElementType>(props: FieldBaseProps<T> & DistributiveOmit<ComponentPropsWithRef<T>, "as"> & react8.RefAttributes<any>) => React.ReactNode;
|
|
164
163
|
//#endregion
|
|
165
164
|
//#region src/ListBox/ListBoxItem.d.ts
|
|
166
165
|
type ListBoxItemProps = Omit<RAC.ListBoxItemProps, 'style' | 'className' | 'children'> & {
|
|
167
166
|
/**
|
|
168
167
|
* The children of the component
|
|
169
168
|
*/
|
|
170
|
-
children?:
|
|
169
|
+
children?: ReactNode;
|
|
171
170
|
};
|
|
172
171
|
declare const _ListBoxItem: ({
|
|
173
172
|
...props
|
|
174
|
-
}: ListBoxItemProps) =>
|
|
173
|
+
}: ListBoxItemProps) => react_jsx_runtime3.JSX.Element;
|
|
175
174
|
//#endregion
|
|
176
175
|
//#region src/ListBox/ListBoxSection.d.ts
|
|
177
176
|
interface SectionProps extends Omit<RAC.SectionProps<object>, 'className' | 'style' | 'children'> {
|
|
@@ -188,7 +187,7 @@ declare const _Section: ({
|
|
|
188
187
|
header,
|
|
189
188
|
children,
|
|
190
189
|
...props
|
|
191
|
-
}: SectionProps) =>
|
|
190
|
+
}: SectionProps) => react_jsx_runtime3.JSX.Element;
|
|
192
191
|
//#endregion
|
|
193
192
|
//#region src/ListBox/ListBox.d.ts
|
|
194
193
|
interface ListBoxProps extends Omit<RAC.ListBoxProps<object>, 'className' | 'style'> {
|
|
@@ -284,7 +283,7 @@ interface BadgeProps {
|
|
|
284
283
|
/**
|
|
285
284
|
* Children of the component
|
|
286
285
|
*/
|
|
287
|
-
children?:
|
|
286
|
+
children?: ReactNode;
|
|
288
287
|
variant?: 'default' | 'primary' | 'success' | 'warning' | 'info' | 'error' | 'admin' | 'master' | (string & {});
|
|
289
288
|
size?: string;
|
|
290
289
|
}
|
|
@@ -293,7 +292,7 @@ declare const Badge: ({
|
|
|
293
292
|
size,
|
|
294
293
|
children,
|
|
295
294
|
...props
|
|
296
|
-
}: BadgeProps) =>
|
|
295
|
+
}: BadgeProps) => react_jsx_runtime3.JSX.Element;
|
|
297
296
|
//#endregion
|
|
298
297
|
//#region src/Breadcrumbs/BreadcrumbsItem.d.ts
|
|
299
298
|
type RemovedProps$35 = 'className' | 'style';
|
|
@@ -328,7 +327,7 @@ interface BreadcrumbsProps extends Omit<BreadcrumbsProps$1<object>, RemovedProps
|
|
|
328
327
|
/**
|
|
329
328
|
* The breadcrumb items to be displayed.
|
|
330
329
|
*/
|
|
331
|
-
children:
|
|
330
|
+
children: ReactNode | ReactNode[];
|
|
332
331
|
}
|
|
333
332
|
interface BreadcrumbsComponent extends ForwardRefExoticComponent<BreadcrumbsProps & RefAttributes<HTMLOListElement>> {
|
|
334
333
|
Item: typeof BreadcrumbsItem;
|
|
@@ -341,7 +340,7 @@ interface BreakoutProps extends AriaRegionProps {
|
|
|
341
340
|
}
|
|
342
341
|
declare const Breakout: ({
|
|
343
342
|
children
|
|
344
|
-
}: BreakoutProps) =>
|
|
343
|
+
}: BreakoutProps) => react_jsx_runtime3.JSX.Element;
|
|
345
344
|
//#endregion
|
|
346
345
|
//#region src/Button/Button.d.ts
|
|
347
346
|
type RemovedProps$33 = 'isDisabled' | 'isPending' | 'className' | 'style';
|
|
@@ -368,7 +367,7 @@ interface ButtonProps extends Omit<RAC.ButtonProps, RemovedProps$33> {
|
|
|
368
367
|
*/
|
|
369
368
|
loading?: RAC.ButtonProps['isPending'];
|
|
370
369
|
}
|
|
371
|
-
declare const _Button:
|
|
370
|
+
declare const _Button: react8.ForwardRefExoticComponent<ButtonProps & react8.RefAttributes<HTMLButtonElement>>;
|
|
372
371
|
//#endregion
|
|
373
372
|
//#region src/Calendar/Calendar.d.ts
|
|
374
373
|
type RemovedProps$32 = 'visibleDuration' | 'pageBehavior' | 'isDateUnavailable' | 'isDisabled' | 'isReadOnly' | 'isInvalid' | 'errorMessage' | 'className' | 'style';
|
|
@@ -405,7 +404,7 @@ declare const _Calendar: ({
|
|
|
405
404
|
minValue: _minValue,
|
|
406
405
|
maxValue: _maxValue,
|
|
407
406
|
...rest
|
|
408
|
-
}: CalendarProps) =>
|
|
407
|
+
}: CalendarProps) => react_jsx_runtime3.JSX.Element;
|
|
409
408
|
//#endregion
|
|
410
409
|
//#region src/Card/Card.d.ts
|
|
411
410
|
interface CardProps extends PaddingRightProp, PaddingLeftProp, PaddingBottomProp, PaddingTopProp {
|
|
@@ -442,7 +441,7 @@ declare const Card: ({
|
|
|
442
441
|
pl,
|
|
443
442
|
pr,
|
|
444
443
|
...props
|
|
445
|
-
}: CardProps) =>
|
|
444
|
+
}: CardProps) => react_jsx_runtime3.JSX.Element;
|
|
446
445
|
//#endregion
|
|
447
446
|
//#region src/Center/Center.d.ts
|
|
448
447
|
interface CenterProps extends GapSpaceProp, AriaRegionProps {
|
|
@@ -458,7 +457,7 @@ declare const Center: ({
|
|
|
458
457
|
space,
|
|
459
458
|
children,
|
|
460
459
|
...props
|
|
461
|
-
}: CenterProps) =>
|
|
460
|
+
}: CenterProps) => react_jsx_runtime3.JSX.Element;
|
|
462
461
|
//#endregion
|
|
463
462
|
//#region src/Checkbox/CheckboxGroup.d.ts
|
|
464
463
|
type RemovedProps$31 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly';
|
|
@@ -526,7 +525,7 @@ declare const _CheckboxGroup: ({
|
|
|
526
525
|
orientation,
|
|
527
526
|
collapseAt,
|
|
528
527
|
...rest
|
|
529
|
-
}: CheckboxGroupProps) =>
|
|
528
|
+
}: CheckboxGroupProps) => react_jsx_runtime3.JSX.Element;
|
|
530
529
|
//#endregion
|
|
531
530
|
//#region src/Checkbox/Checkbox.d.ts
|
|
532
531
|
type RemovedProps$30 = 'children' | 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'isSelected' | 'isIndeterminate' | 'defaultSelected';
|
|
@@ -590,7 +589,7 @@ interface CloseButtonProps extends Pick<ButtonProps, 'onPress' | 'size' | 'varia
|
|
|
590
589
|
className?: string;
|
|
591
590
|
style?: CSSProperties;
|
|
592
591
|
}
|
|
593
|
-
declare const CloseButton:
|
|
592
|
+
declare const CloseButton: react8.ForwardRefExoticComponent<CloseButtonProps & react8.RefAttributes<HTMLButtonElement>>;
|
|
594
593
|
//#endregion
|
|
595
594
|
//#region src/Collapsible/CollapsibleTrigger.d.ts
|
|
596
595
|
interface CollapsibleProps$1 extends Omit<ButtonProps$1, 'className' | 'style'>, Pick<HeadingProps, 'level'> {
|
|
@@ -621,20 +620,20 @@ declare const Collapsible: {
|
|
|
621
620
|
children,
|
|
622
621
|
unstyled,
|
|
623
622
|
...props
|
|
624
|
-
}: CollapsibleProps):
|
|
623
|
+
}: CollapsibleProps): react_jsx_runtime3.JSX.Element;
|
|
625
624
|
Trigger: ({
|
|
626
625
|
variant,
|
|
627
626
|
size,
|
|
628
627
|
children,
|
|
629
628
|
level,
|
|
630
629
|
...props
|
|
631
|
-
}: CollapsibleProps$1) =>
|
|
630
|
+
}: CollapsibleProps$1) => react_jsx_runtime3.JSX.Element;
|
|
632
631
|
Content: ({
|
|
633
632
|
variant,
|
|
634
633
|
size,
|
|
635
634
|
children,
|
|
636
635
|
...props
|
|
637
|
-
}: CollapsibleContentProps) =>
|
|
636
|
+
}: CollapsibleContentProps) => react_jsx_runtime3.JSX.Element;
|
|
638
637
|
};
|
|
639
638
|
//#endregion
|
|
640
639
|
//#region src/Columns/Columns.d.ts
|
|
@@ -664,7 +663,7 @@ declare const Columns: ({
|
|
|
664
663
|
stretch,
|
|
665
664
|
children,
|
|
666
665
|
...props
|
|
667
|
-
}: ColumnsProps) =>
|
|
666
|
+
}: ColumnsProps) => react_jsx_runtime3.JSX.Element;
|
|
668
667
|
//#endregion
|
|
669
668
|
//#region src/ComboBox/ComboBox.d.ts
|
|
670
669
|
type RemovedProps$29 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'defaultInputValue' | 'inputValue' | 'onInputChange';
|
|
@@ -768,7 +767,7 @@ declare const Container: ({
|
|
|
768
767
|
space,
|
|
769
768
|
children,
|
|
770
769
|
...props
|
|
771
|
-
}: ContainerProps) =>
|
|
770
|
+
}: ContainerProps) => react_jsx_runtime3.JSX.Element;
|
|
772
771
|
//#endregion
|
|
773
772
|
//#region src/icons/Icons.types.d.ts
|
|
774
773
|
interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'width' | 'height'> {
|
|
@@ -777,7 +776,7 @@ interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'width' | 'height'> {
|
|
|
777
776
|
//#endregion
|
|
778
777
|
//#region src/ContextualHelp/ContextualHelpContent.d.ts
|
|
779
778
|
interface ContextualHelpContentProps {
|
|
780
|
-
children:
|
|
779
|
+
children: ReactNode;
|
|
781
780
|
variant?: string;
|
|
782
781
|
size?: string;
|
|
783
782
|
}
|
|
@@ -785,11 +784,11 @@ declare const ContextualHelpContent: ({
|
|
|
785
784
|
children,
|
|
786
785
|
variant,
|
|
787
786
|
size
|
|
788
|
-
}: ContextualHelpContentProps) =>
|
|
787
|
+
}: ContextualHelpContentProps) => react_jsx_runtime3.JSX.Element;
|
|
789
788
|
//#endregion
|
|
790
789
|
//#region src/ContextualHelp/ContextualHelpTitle.d.ts
|
|
791
790
|
interface ContextualHelpTitleProps {
|
|
792
|
-
children:
|
|
791
|
+
children: ReactNode;
|
|
793
792
|
variant?: string;
|
|
794
793
|
size?: string;
|
|
795
794
|
}
|
|
@@ -797,7 +796,7 @@ declare const ContextualHelpTitle: ({
|
|
|
797
796
|
children,
|
|
798
797
|
variant,
|
|
799
798
|
size
|
|
800
|
-
}: ContextualHelpTitleProps) =>
|
|
799
|
+
}: ContextualHelpTitleProps) => react_jsx_runtime3.JSX.Element;
|
|
801
800
|
//#endregion
|
|
802
801
|
//#region src/ContextualHelp/ContextualHelp.d.ts
|
|
803
802
|
declare const icons$1: {
|
|
@@ -805,12 +804,12 @@ declare const icons$1: {
|
|
|
805
804
|
size,
|
|
806
805
|
className,
|
|
807
806
|
...props
|
|
808
|
-
}: IconProps) =>
|
|
807
|
+
}: IconProps) => react_jsx_runtime3.JSX.Element;
|
|
809
808
|
info: ({
|
|
810
809
|
size,
|
|
811
810
|
className,
|
|
812
811
|
...props
|
|
813
|
-
}: IconProps) =>
|
|
812
|
+
}: IconProps) => react_jsx_runtime3.JSX.Element;
|
|
814
813
|
};
|
|
815
814
|
interface ContextualHelpComponent extends ForwardRefExoticComponent<ContextualHelpProps & RefAttributes<HTMLInputElement>> {
|
|
816
815
|
/**
|
|
@@ -886,7 +885,7 @@ interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProp
|
|
|
886
885
|
*/
|
|
887
886
|
width?: WidthProp['width'];
|
|
888
887
|
}
|
|
889
|
-
declare const _DateField:
|
|
888
|
+
declare const _DateField: react8.ForwardRefExoticComponent<DateFieldProps & react8.RefAttributes<HTMLInputElement>>;
|
|
890
889
|
//#endregion
|
|
891
890
|
//#region src/DatePicker/DatePicker.d.ts
|
|
892
891
|
type RemovedProps$27 = 'isDisabled' | 'isDateUnavailable' | 'isReadOnly' | 'isRequired' | 'isInvalid' | 'style' | 'className' | 'isOpen';
|
|
@@ -927,7 +926,7 @@ interface DatePickerProps extends Omit<RAC.DatePickerProps<DateValue>, RemovedPr
|
|
|
927
926
|
*/
|
|
928
927
|
width?: WidthProp['width'];
|
|
929
928
|
}
|
|
930
|
-
declare const _DatePicker:
|
|
929
|
+
declare const _DatePicker: react8.ForwardRefExoticComponent<DatePickerProps & react8.RefAttributes<HTMLDivElement>>;
|
|
931
930
|
//#endregion
|
|
932
931
|
//#region src/Overlay/Modal.d.ts
|
|
933
932
|
interface ModalProps extends RAC.ModalOverlayProps {
|
|
@@ -945,7 +944,7 @@ interface ModalProps extends RAC.ModalOverlayProps {
|
|
|
945
944
|
keyboardDismissable?: boolean;
|
|
946
945
|
size?: string;
|
|
947
946
|
}
|
|
948
|
-
declare const _Modal:
|
|
947
|
+
declare const _Modal: react8.ForwardRefExoticComponent<Omit<ModalProps, "className" | "isOpen" | "isDismissable" | "isKeyboardDismissDisabled"> & react8.RefAttributes<HTMLDivElement>>;
|
|
949
948
|
//#endregion
|
|
950
949
|
//#region src/Dialog/DialogActions.d.ts
|
|
951
950
|
interface DialogActions {
|
|
@@ -960,7 +959,7 @@ declare const DialogActions: ({
|
|
|
960
959
|
variant,
|
|
961
960
|
size,
|
|
962
961
|
children
|
|
963
|
-
}: DialogActions) =>
|
|
962
|
+
}: DialogActions) => react_jsx_runtime3.JSX.Element;
|
|
964
963
|
//#endregion
|
|
965
964
|
//#region src/Dialog/DialogContent.d.ts
|
|
966
965
|
interface DialogContentProps {
|
|
@@ -975,12 +974,12 @@ declare const DialogContent: ({
|
|
|
975
974
|
variant,
|
|
976
975
|
size,
|
|
977
976
|
children
|
|
978
|
-
}: DialogContentProps) =>
|
|
977
|
+
}: DialogContentProps) => react_jsx_runtime3.JSX.Element;
|
|
979
978
|
//#endregion
|
|
980
979
|
//#region src/Dialog/DialogTitle.d.ts
|
|
981
980
|
interface DialogTitleProps {
|
|
982
981
|
/** Children of the component. */
|
|
983
|
-
children?:
|
|
982
|
+
children?: ReactNode;
|
|
984
983
|
variant?: string;
|
|
985
984
|
size?: string;
|
|
986
985
|
}
|
|
@@ -988,7 +987,7 @@ declare const DialogTitle: ({
|
|
|
988
987
|
variant,
|
|
989
988
|
size,
|
|
990
989
|
children
|
|
991
|
-
}: DialogTitleProps) =>
|
|
990
|
+
}: DialogTitleProps) => react_jsx_runtime3.JSX.Element;
|
|
992
991
|
//#endregion
|
|
993
992
|
//#region src/Dialog/Context.d.ts
|
|
994
993
|
interface DialogContextProps extends RAC.ModalOverlayProps {
|
|
@@ -1069,7 +1068,7 @@ declare const ConfirmationDialog: {
|
|
|
1069
1068
|
variant,
|
|
1070
1069
|
size,
|
|
1071
1070
|
...props
|
|
1072
|
-
}: ConfirmationDialogProps):
|
|
1071
|
+
}: ConfirmationDialogProps): react_jsx_runtime3.JSX.Element;
|
|
1073
1072
|
Trigger: ({
|
|
1074
1073
|
open,
|
|
1075
1074
|
dismissable,
|
|
@@ -1081,13 +1080,13 @@ declare const ConfirmationDialog: {
|
|
|
1081
1080
|
//#region src/Dialog/useConfirmation.d.ts
|
|
1082
1081
|
type ConfirmationResult = 'confirmed' | 'cancelled';
|
|
1083
1082
|
interface ConfirmationConfig extends Pick<ConfirmationDialogProps, 'variant' | 'title' | 'confirmationLabel' | 'cancelLabel' | 'autoFocusButton'> {
|
|
1084
|
-
content?:
|
|
1083
|
+
content?: ReactNode;
|
|
1085
1084
|
}
|
|
1086
1085
|
type ConfirmationFn = (props: ConfirmationConfig) => Promise<ConfirmationResult>;
|
|
1087
|
-
declare const ConfirmationContext:
|
|
1086
|
+
declare const ConfirmationContext: react8.Context<ConfirmationFn | null>;
|
|
1088
1087
|
declare const ConfirmationProvider: ({
|
|
1089
1088
|
children
|
|
1090
|
-
}: PropsWithChildren) =>
|
|
1089
|
+
}: PropsWithChildren) => react_jsx_runtime3.JSX.Element;
|
|
1091
1090
|
declare const useConfirmation: () => ConfirmationFn;
|
|
1092
1091
|
//#endregion
|
|
1093
1092
|
//#region src/Divider/Divider.d.ts
|
|
@@ -1098,7 +1097,7 @@ interface DividerProps extends Omit<RAC.SeparatorProps, RemovedProps$25> {
|
|
|
1098
1097
|
declare const _Divider: ({
|
|
1099
1098
|
variant,
|
|
1100
1099
|
...props
|
|
1101
|
-
}: DividerProps) =>
|
|
1100
|
+
}: DividerProps) => react_jsx_runtime3.JSX.Element;
|
|
1102
1101
|
//#endregion
|
|
1103
1102
|
//#region src/Drawer/DrawerTrigger.d.ts
|
|
1104
1103
|
interface DrawerTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'> {
|
|
@@ -1116,7 +1115,7 @@ interface DrawerTitleProps {
|
|
|
1116
1115
|
/**
|
|
1117
1116
|
* Children of the component.
|
|
1118
1117
|
*/
|
|
1119
|
-
children?:
|
|
1118
|
+
children?: ReactNode;
|
|
1120
1119
|
}
|
|
1121
1120
|
//#endregion
|
|
1122
1121
|
//#region src/Drawer/DrawerContent.d.ts
|
|
@@ -1142,7 +1141,7 @@ declare const DrawerActions: ({
|
|
|
1142
1141
|
variant,
|
|
1143
1142
|
size,
|
|
1144
1143
|
children
|
|
1145
|
-
}: DrawerActions) =>
|
|
1144
|
+
}: DrawerActions) => react_jsx_runtime3.JSX.Element;
|
|
1146
1145
|
//#endregion
|
|
1147
1146
|
//#region src/Drawer/Drawer.d.ts
|
|
1148
1147
|
interface DrawerProps extends Omit<DialogProps$1, 'className' | 'style' | 'isOpen' | 'role'> {
|
|
@@ -1189,27 +1188,27 @@ declare const Drawer: {
|
|
|
1189
1188
|
role,
|
|
1190
1189
|
placement,
|
|
1191
1190
|
...props
|
|
1192
|
-
}: DrawerProps):
|
|
1191
|
+
}: DrawerProps): react_jsx_runtime3.JSX.Element;
|
|
1193
1192
|
Trigger: ({
|
|
1194
1193
|
open,
|
|
1195
1194
|
children,
|
|
1196
1195
|
...props
|
|
1197
|
-
}: DrawerTriggerProps) =>
|
|
1196
|
+
}: DrawerTriggerProps) => react_jsx_runtime3.JSX.Element;
|
|
1198
1197
|
Title: ({
|
|
1199
1198
|
variant,
|
|
1200
1199
|
size,
|
|
1201
1200
|
children
|
|
1202
|
-
}: DrawerTitleProps) =>
|
|
1201
|
+
}: DrawerTitleProps) => react_jsx_runtime3.JSX.Element;
|
|
1203
1202
|
Content: ({
|
|
1204
1203
|
variant,
|
|
1205
1204
|
size,
|
|
1206
1205
|
children
|
|
1207
|
-
}: DrawerContentProps) =>
|
|
1206
|
+
}: DrawerContentProps) => react_jsx_runtime3.JSX.Element;
|
|
1208
1207
|
Actions: ({
|
|
1209
1208
|
variant,
|
|
1210
1209
|
size,
|
|
1211
1210
|
children
|
|
1212
|
-
}: DrawerActions) =>
|
|
1211
|
+
}: DrawerActions) => react_jsx_runtime3.JSX.Element;
|
|
1213
1212
|
};
|
|
1214
1213
|
//#endregion
|
|
1215
1214
|
//#region src/FileField/FileTrigger.d.ts
|
|
@@ -1237,7 +1236,7 @@ interface FileFieldItemProps {
|
|
|
1237
1236
|
//#endregion
|
|
1238
1237
|
//#region src/FileField/FileField.d.ts
|
|
1239
1238
|
type RemovedProps$23 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired';
|
|
1240
|
-
interface FileFieldProps extends Omit<RAC.DropZoneProps, RemovedProps$23>, Pick<FieldBaseProps
|
|
1239
|
+
interface FileFieldProps extends Omit<RAC.DropZoneProps, RemovedProps$23>, Pick<FieldBaseProps<'input'>, 'label'> {
|
|
1241
1240
|
variant?: string;
|
|
1242
1241
|
size?: string;
|
|
1243
1242
|
/**
|
|
@@ -1267,11 +1266,11 @@ declare const FileField: {
|
|
|
1267
1266
|
width,
|
|
1268
1267
|
label,
|
|
1269
1268
|
...props
|
|
1270
|
-
}: FileFieldProps):
|
|
1269
|
+
}: FileFieldProps): react_jsx_runtime3.JSX.Element;
|
|
1271
1270
|
Item: ({
|
|
1272
1271
|
children,
|
|
1273
1272
|
onRemove
|
|
1274
|
-
}: FileFieldItemProps) =>
|
|
1273
|
+
}: FileFieldItemProps) => react_jsx_runtime3.JSX.Element;
|
|
1275
1274
|
};
|
|
1276
1275
|
//#endregion
|
|
1277
1276
|
//#region src/Form/Form.d.ts
|
|
@@ -1286,7 +1285,7 @@ declare const _Form: ({
|
|
|
1286
1285
|
unstyled,
|
|
1287
1286
|
maxWidth,
|
|
1288
1287
|
...props
|
|
1289
|
-
}: FormProps) =>
|
|
1288
|
+
}: FormProps) => react_jsx_runtime3.JSX.Element;
|
|
1290
1289
|
//#endregion
|
|
1291
1290
|
//#region src/Grid/GridArea.d.ts
|
|
1292
1291
|
interface GridAreaProps {
|
|
@@ -1339,11 +1338,11 @@ declare const Grid: {
|
|
|
1339
1338
|
height,
|
|
1340
1339
|
space,
|
|
1341
1340
|
...props
|
|
1342
|
-
}: GridProps):
|
|
1341
|
+
}: GridProps): react_jsx_runtime3.JSX.Element;
|
|
1343
1342
|
Area: ({
|
|
1344
1343
|
name,
|
|
1345
1344
|
children
|
|
1346
|
-
}: GridAreaProps) =>
|
|
1345
|
+
}: GridAreaProps) => react_jsx_runtime3.JSX.Element;
|
|
1347
1346
|
};
|
|
1348
1347
|
//#endregion
|
|
1349
1348
|
//#region src/Headline/Headline.d.ts
|
|
@@ -1375,7 +1374,7 @@ declare const _Headline: ({
|
|
|
1375
1374
|
color,
|
|
1376
1375
|
level,
|
|
1377
1376
|
...props
|
|
1378
|
-
}: HeadlineProps) =>
|
|
1377
|
+
}: HeadlineProps) => react_jsx_runtime3.JSX.Element;
|
|
1379
1378
|
//#endregion
|
|
1380
1379
|
//#region src/IconButton/IconButton.d.ts
|
|
1381
1380
|
interface IconButtonProps extends RAC.ButtonProps {
|
|
@@ -1389,7 +1388,7 @@ declare const IconButton: ({
|
|
|
1389
1388
|
variant,
|
|
1390
1389
|
size,
|
|
1391
1390
|
...props
|
|
1392
|
-
}: IconButtonProps) =>
|
|
1391
|
+
}: IconButtonProps) => react_jsx_runtime3.JSX.Element;
|
|
1393
1392
|
//#endregion
|
|
1394
1393
|
//#region src/Inline/Inline.d.ts
|
|
1395
1394
|
declare const inlineAlignmentY: {
|
|
@@ -1423,7 +1422,7 @@ declare const Inline: ({
|
|
|
1423
1422
|
alignY,
|
|
1424
1423
|
children,
|
|
1425
1424
|
...props
|
|
1426
|
-
}: InlineProps) =>
|
|
1425
|
+
}: InlineProps) => react_jsx_runtime3.JSX.Element;
|
|
1427
1426
|
//#endregion
|
|
1428
1427
|
//#region src/Input/Input.d.ts
|
|
1429
1428
|
type RemovedProps$22 = 'className' | 'style' | 'size';
|
|
@@ -1434,7 +1433,7 @@ interface InputProps extends Omit<RAC.InputProps, RemovedProps$22> {
|
|
|
1434
1433
|
size?: string;
|
|
1435
1434
|
className?: string;
|
|
1436
1435
|
}
|
|
1437
|
-
declare const _Input:
|
|
1436
|
+
declare const _Input: react8.ForwardRefExoticComponent<InputProps & react8.RefAttributes<HTMLInputElement>>;
|
|
1438
1437
|
//#endregion
|
|
1439
1438
|
//#region src/Input/SearchInput.d.ts
|
|
1440
1439
|
interface SearchInputProps extends Omit<InputProps, 'icon' | 'className'> {
|
|
@@ -1445,7 +1444,7 @@ interface SearchInputProps extends Omit<InputProps, 'icon' | 'className'> {
|
|
|
1445
1444
|
};
|
|
1446
1445
|
onClear?: () => void;
|
|
1447
1446
|
}
|
|
1448
|
-
declare const SearchInput:
|
|
1447
|
+
declare const SearchInput: react8.ForwardRefExoticComponent<SearchInputProps & react8.RefAttributes<HTMLInputElement>>;
|
|
1449
1448
|
//#endregion
|
|
1450
1449
|
//#region src/Inset/Inset.d.ts
|
|
1451
1450
|
type InsetProps = (AriaRegionProps & {
|
|
@@ -1476,7 +1475,7 @@ declare const Inset: ({
|
|
|
1476
1475
|
spaceX,
|
|
1477
1476
|
spaceY,
|
|
1478
1477
|
children
|
|
1479
|
-
}: InsetProps) =>
|
|
1478
|
+
}: InsetProps) => react_jsx_runtime3.JSX.Element;
|
|
1480
1479
|
//#endregion
|
|
1481
1480
|
//#region src/Label/Label.d.ts
|
|
1482
1481
|
type RemovedProps$21 = 'className';
|
|
@@ -1489,7 +1488,7 @@ declare const _Label: ({
|
|
|
1489
1488
|
variant,
|
|
1490
1489
|
children,
|
|
1491
1490
|
...props
|
|
1492
|
-
}: LabelProps) =>
|
|
1491
|
+
}: LabelProps) => react_jsx_runtime3.JSX.Element;
|
|
1493
1492
|
//#endregion
|
|
1494
1493
|
//#region src/Link/Link.d.ts
|
|
1495
1494
|
type RemovedProps$20 = 'className' | 'isDisabled' | 'slot';
|
|
@@ -1502,7 +1501,7 @@ interface LinkProps extends Omit<RAC.LinkProps, RemovedProps$20> {
|
|
|
1502
1501
|
*/
|
|
1503
1502
|
disabled?: RAC.LinkProps['isDisabled'];
|
|
1504
1503
|
}
|
|
1505
|
-
declare const _Link:
|
|
1504
|
+
declare const _Link: react8.ForwardRefExoticComponent<LinkProps & react8.RefAttributes<HTMLAnchorElement>>;
|
|
1506
1505
|
//#endregion
|
|
1507
1506
|
//#region src/LinkButton/LinkButton.d.ts
|
|
1508
1507
|
type RemovedProps$19 = 'isDisabled' | 'isPending' | 'className' | 'style';
|
|
@@ -1524,7 +1523,7 @@ interface LinkButtonProps extends Omit<RAC.LinkProps, RemovedProps$19> {
|
|
|
1524
1523
|
*/
|
|
1525
1524
|
disabled?: RAC.LinkProps['isDisabled'];
|
|
1526
1525
|
}
|
|
1527
|
-
declare const _LinkButton:
|
|
1526
|
+
declare const _LinkButton: react8.ForwardRefExoticComponent<LinkButtonProps & react8.RefAttributes<HTMLAnchorElement>>;
|
|
1528
1527
|
//#endregion
|
|
1529
1528
|
//#region src/List/ListItem.d.ts
|
|
1530
1529
|
interface ListItemProps {
|
|
@@ -1555,11 +1554,11 @@ declare const List: {
|
|
|
1555
1554
|
variant,
|
|
1556
1555
|
size,
|
|
1557
1556
|
...props
|
|
1558
|
-
}: ListProps):
|
|
1557
|
+
}: ListProps): react_jsx_runtime3.JSX.Element;
|
|
1559
1558
|
Item: ({
|
|
1560
1559
|
children,
|
|
1561
1560
|
...props
|
|
1562
|
-
}: ListItemProps) =>
|
|
1561
|
+
}: ListItemProps) => react_jsx_runtime3.JSX.Element;
|
|
1563
1562
|
};
|
|
1564
1563
|
//#endregion
|
|
1565
1564
|
//#region src/Menu/MenuItem.d.ts
|
|
@@ -1582,7 +1581,7 @@ interface PopoverProps extends Omit<RAC.PopoverProps, 'isOpen' | 'isKeyboardDism
|
|
|
1582
1581
|
open?: boolean;
|
|
1583
1582
|
children: ReactNode;
|
|
1584
1583
|
}
|
|
1585
|
-
declare const _Popover:
|
|
1584
|
+
declare const _Popover: react8.ForwardRefExoticComponent<PopoverProps & react8.RefAttributes<HTMLDivElement>>;
|
|
1586
1585
|
//#endregion
|
|
1587
1586
|
//#region src/Menu/Menu.d.ts
|
|
1588
1587
|
type RemovedProps$16 = 'isOpen' | 'className' | 'style' | 'children';
|
|
@@ -1627,18 +1626,18 @@ declare const _Menu: {
|
|
|
1627
1626
|
placement,
|
|
1628
1627
|
"aria-label": ariaLabel,
|
|
1629
1628
|
...props
|
|
1630
|
-
}: MenuProps):
|
|
1629
|
+
}: MenuProps): react_jsx_runtime3.JSX.Element;
|
|
1631
1630
|
Item: ({
|
|
1632
1631
|
children,
|
|
1633
1632
|
variant,
|
|
1634
1633
|
size,
|
|
1635
1634
|
...props
|
|
1636
|
-
}: MenuItemProps) =>
|
|
1635
|
+
}: MenuItemProps) => react_jsx_runtime3.JSX.Element;
|
|
1637
1636
|
Section: ({
|
|
1638
1637
|
children,
|
|
1639
1638
|
title,
|
|
1640
1639
|
...props
|
|
1641
|
-
}: MenuSectionProps) =>
|
|
1640
|
+
}: MenuSectionProps) => react_jsx_runtime3.JSX.Element;
|
|
1642
1641
|
};
|
|
1643
1642
|
//#endregion
|
|
1644
1643
|
//#region src/Menu/ActionMenu.d.ts
|
|
@@ -1647,18 +1646,18 @@ declare const ActionMenu: {
|
|
|
1647
1646
|
({
|
|
1648
1647
|
children,
|
|
1649
1648
|
...props
|
|
1650
|
-
}: ActionMenuProps):
|
|
1649
|
+
}: ActionMenuProps): react_jsx_runtime3.JSX.Element;
|
|
1651
1650
|
Item: ({
|
|
1652
1651
|
children,
|
|
1653
1652
|
variant,
|
|
1654
1653
|
size,
|
|
1655
1654
|
...props
|
|
1656
|
-
}: MenuItemProps) =>
|
|
1655
|
+
}: MenuItemProps) => react_jsx_runtime3.JSX.Element;
|
|
1657
1656
|
Section: ({
|
|
1658
1657
|
children,
|
|
1659
1658
|
title,
|
|
1660
1659
|
...props
|
|
1661
|
-
}: MenuSectionProps) =>
|
|
1660
|
+
}: MenuSectionProps) => react_jsx_runtime3.JSX.Element;
|
|
1662
1661
|
};
|
|
1663
1662
|
//#endregion
|
|
1664
1663
|
//#region src/Multiselect/Multiselect.d.ts
|
|
@@ -1786,7 +1785,7 @@ declare const Multiselect: ({
|
|
|
1786
1785
|
onSelectionChange,
|
|
1787
1786
|
width,
|
|
1788
1787
|
...rest
|
|
1789
|
-
}: MultipleSelectProps) =>
|
|
1788
|
+
}: MultipleSelectProps) => react_jsx_runtime3.JSX.Element;
|
|
1790
1789
|
//#endregion
|
|
1791
1790
|
//#region src/NumberField/NumberField.d.ts
|
|
1792
1791
|
type RemovedProps$15 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'size';
|
|
@@ -1829,7 +1828,7 @@ interface NumberFieldProps extends Omit<RAC.NumberFieldProps, RemovedProps$15>,
|
|
|
1829
1828
|
*/
|
|
1830
1829
|
placeholder?: string;
|
|
1831
1830
|
}
|
|
1832
|
-
declare const _NumberField:
|
|
1831
|
+
declare const _NumberField: react8.ForwardRefExoticComponent<NumberFieldProps & react8.RefAttributes<HTMLInputElement>>;
|
|
1833
1832
|
//#endregion
|
|
1834
1833
|
//#region src/utils/useRenderProps.d.ts
|
|
1835
1834
|
interface StyleRenderProps<T$1> {
|
|
@@ -1911,7 +1910,7 @@ interface NonModalProps extends Omit<OverlayTriggerProps, 'isOpen'>, AriaLabelin
|
|
|
1911
1910
|
*/
|
|
1912
1911
|
ref?: RefObject<HTMLElement | null>;
|
|
1913
1912
|
}
|
|
1914
|
-
declare const NonModal:
|
|
1913
|
+
declare const NonModal: react8.ForwardRefExoticComponent<Omit<NonModalProps, "ref"> & react8.RefAttributes<HTMLElement>>;
|
|
1915
1914
|
//#endregion
|
|
1916
1915
|
//#region src/Overlay/Underlay.d.ts
|
|
1917
1916
|
interface UnderlayProps extends Omit<RAC.ModalOverlayProps, 'isOpen' | 'isDismissable' | 'isKeyboardDismissDisabled' | 'className'> {
|
|
@@ -1928,7 +1927,7 @@ declare const Underlay: ({
|
|
|
1928
1927
|
dismissable,
|
|
1929
1928
|
keyboardDismissable,
|
|
1930
1929
|
...rest
|
|
1931
|
-
}: UnderlayProps) =>
|
|
1930
|
+
}: UnderlayProps) => react_jsx_runtime3.JSX.Element;
|
|
1932
1931
|
//#endregion
|
|
1933
1932
|
//#region src/Pagination/Pagination.d.ts
|
|
1934
1933
|
interface PaginationProps {
|
|
@@ -1963,7 +1962,7 @@ declare const _Pagination: ({
|
|
|
1963
1962
|
totalItems,
|
|
1964
1963
|
pageSize,
|
|
1965
1964
|
...props
|
|
1966
|
-
}: PaginationProps) =>
|
|
1965
|
+
}: PaginationProps) => react_jsx_runtime3.JSX.Element;
|
|
1967
1966
|
//#endregion
|
|
1968
1967
|
//#region src/ProgressCircle/ProgressCircle.d.ts
|
|
1969
1968
|
interface ProgressCircleProps extends RAC.ProgressBarProps {
|
|
@@ -1977,11 +1976,11 @@ interface ProgressCircleProps extends RAC.ProgressBarProps {
|
|
|
1977
1976
|
declare const ProgressCircleSvg: ({
|
|
1978
1977
|
size,
|
|
1979
1978
|
variant
|
|
1980
|
-
}: ProgressCircleProps) =>
|
|
1979
|
+
}: ProgressCircleProps) => react_jsx_runtime3.JSX.Element;
|
|
1981
1980
|
declare const ProgressCircle: ({
|
|
1982
1981
|
size,
|
|
1983
1982
|
...props
|
|
1984
|
-
}: ProgressCircleProps) =>
|
|
1983
|
+
}: ProgressCircleProps) => react_jsx_runtime3.JSX.Element;
|
|
1985
1984
|
//#endregion
|
|
1986
1985
|
//#region src/Provider/MarigoldProvider.d.ts
|
|
1987
1986
|
type MarigoldProviderProps<T$1 extends Theme> = ThemeProviderProps<T$1>;
|
|
@@ -1989,7 +1988,7 @@ declare function MarigoldProvider<T$1 extends Theme>({
|
|
|
1989
1988
|
children,
|
|
1990
1989
|
className,
|
|
1991
1990
|
theme
|
|
1992
|
-
}: MarigoldProviderProps<T$1>):
|
|
1991
|
+
}: MarigoldProviderProps<T$1>): react_jsx_runtime3.JSX.Element;
|
|
1993
1992
|
//#endregion
|
|
1994
1993
|
//#region src/Provider/OverlayContainerProvider.d.ts
|
|
1995
1994
|
interface OverlayContainerProps extends PropsWithChildren {
|
|
@@ -2004,7 +2003,7 @@ interface OverlayContainerProps extends PropsWithChildren {
|
|
|
2004
2003
|
declare const OverlayContainerProvider: ({
|
|
2005
2004
|
container,
|
|
2006
2005
|
children
|
|
2007
|
-
}: OverlayContainerProps) =>
|
|
2006
|
+
}: OverlayContainerProps) => react_jsx_runtime3.JSX.Element;
|
|
2008
2007
|
//#endregion
|
|
2009
2008
|
//#region src/Radio/RadioGroup.d.ts
|
|
2010
2009
|
type RemovedProps$14 = 'className' | 'style' | 'isDisabled' | 'isInvalid' | 'isRequired' | 'isSelected';
|
|
@@ -2088,7 +2087,7 @@ declare const _RadioGroup: ({
|
|
|
2088
2087
|
width,
|
|
2089
2088
|
collapseAt,
|
|
2090
2089
|
...rest
|
|
2091
|
-
}: RadioGroupProps) =>
|
|
2090
|
+
}: RadioGroupProps) => react_jsx_runtime3.JSX.Element;
|
|
2092
2091
|
//#endregion
|
|
2093
2092
|
//#region src/Radio/Radio.d.ts
|
|
2094
2093
|
type RemovedProps$13 = 'className' | 'style' | 'children' | 'isDisabled';
|
|
@@ -2132,7 +2131,7 @@ declare const Scrollable: ({
|
|
|
2132
2131
|
width,
|
|
2133
2132
|
height,
|
|
2134
2133
|
...props
|
|
2135
|
-
}: ScrollableProps) =>
|
|
2134
|
+
}: ScrollableProps) => react_jsx_runtime3.JSX.Element;
|
|
2136
2135
|
//#endregion
|
|
2137
2136
|
//#region src/SearchField/SearchField.d.ts
|
|
2138
2137
|
type RemovedProps$12 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
|
|
@@ -2184,7 +2183,7 @@ interface SearchFieldProps extends Omit<RAC.SearchFieldProps, RemovedProps$12>,
|
|
|
2184
2183
|
*/
|
|
2185
2184
|
placeholder?: string;
|
|
2186
2185
|
}
|
|
2187
|
-
declare const _SearchField:
|
|
2186
|
+
declare const _SearchField: react8.ForwardRefExoticComponent<SearchFieldProps & react8.RefAttributes<HTMLInputElement>>;
|
|
2188
2187
|
//#endregion
|
|
2189
2188
|
//#region src/SectionMessage/SectionMessageTitle.d.ts
|
|
2190
2189
|
interface SectionMessageTitleProps {
|
|
@@ -2208,22 +2207,22 @@ declare const icons: {
|
|
|
2208
2207
|
size,
|
|
2209
2208
|
className,
|
|
2210
2209
|
...props
|
|
2211
|
-
}: IconProps) =>
|
|
2210
|
+
}: IconProps) => react_jsx_runtime3.JSX.Element;
|
|
2212
2211
|
readonly info: ({
|
|
2213
2212
|
size,
|
|
2214
2213
|
className,
|
|
2215
2214
|
...props
|
|
2216
|
-
}: IconProps) =>
|
|
2215
|
+
}: IconProps) => react_jsx_runtime3.JSX.Element;
|
|
2217
2216
|
readonly warning: ({
|
|
2218
2217
|
size,
|
|
2219
2218
|
className,
|
|
2220
2219
|
...props
|
|
2221
|
-
}: IconProps) =>
|
|
2220
|
+
}: IconProps) => react_jsx_runtime3.JSX.Element;
|
|
2222
2221
|
readonly error: ({
|
|
2223
2222
|
size,
|
|
2224
2223
|
className,
|
|
2225
2224
|
...props
|
|
2226
|
-
}: IconProps) =>
|
|
2225
|
+
}: IconProps) => react_jsx_runtime3.JSX.Element;
|
|
2227
2226
|
};
|
|
2228
2227
|
interface SectionMessageProps {
|
|
2229
2228
|
variant?: keyof typeof icons;
|
|
@@ -2254,13 +2253,13 @@ declare const SectionMessage: {
|
|
|
2254
2253
|
close,
|
|
2255
2254
|
onCloseChange,
|
|
2256
2255
|
...props
|
|
2257
|
-
}: SectionMessageProps):
|
|
2256
|
+
}: SectionMessageProps): react_jsx_runtime3.JSX.Element | null;
|
|
2258
2257
|
Title: ({
|
|
2259
2258
|
children
|
|
2260
|
-
}: SectionMessageTitleProps) =>
|
|
2259
|
+
}: SectionMessageTitleProps) => react_jsx_runtime3.JSX.Element;
|
|
2261
2260
|
Content: ({
|
|
2262
2261
|
children
|
|
2263
|
-
}: SectionMessageContentProps) =>
|
|
2262
|
+
}: SectionMessageContentProps) => react_jsx_runtime3.JSX.Element;
|
|
2264
2263
|
};
|
|
2265
2264
|
//#endregion
|
|
2266
2265
|
//#region src/Select/Select.d.ts
|
|
@@ -2272,7 +2271,7 @@ interface SelectProps<T$1 extends object, M$1 extends SelectionMode = 'single'>
|
|
|
2272
2271
|
/**
|
|
2273
2272
|
* Children of the select.
|
|
2274
2273
|
*/
|
|
2275
|
-
children?:
|
|
2274
|
+
children?: ReactNode | ((item: T$1) => ReactNode);
|
|
2276
2275
|
/**
|
|
2277
2276
|
* Set a label for the select.
|
|
2278
2277
|
*/
|
|
@@ -2314,15 +2313,15 @@ interface SelectProps<T$1 extends object, M$1 extends SelectionMode = 'single'>
|
|
|
2314
2313
|
*/
|
|
2315
2314
|
error?: boolean;
|
|
2316
2315
|
}
|
|
2317
|
-
declare const Select: (<T extends object, M extends SelectionMode = "single">(props: SelectProps<T, M> &
|
|
2316
|
+
declare const Select: (<T extends object, M extends SelectionMode = "single">(props: SelectProps<T, M> & react8.RefAttributes<HTMLButtonElement>) => react8.ReactElement | null) & {
|
|
2318
2317
|
Option: ({
|
|
2319
2318
|
...props
|
|
2320
|
-
}: ListBoxItemProps) =>
|
|
2319
|
+
}: ListBoxItemProps) => react_jsx_runtime3.JSX.Element;
|
|
2321
2320
|
Section: ({
|
|
2322
2321
|
header,
|
|
2323
2322
|
children,
|
|
2324
2323
|
...props
|
|
2325
|
-
}: SectionProps) =>
|
|
2324
|
+
}: SectionProps) => react_jsx_runtime3.JSX.Element;
|
|
2326
2325
|
};
|
|
2327
2326
|
//#endregion
|
|
2328
2327
|
//#region src/SelectList/SelectListAction.d.ts
|
|
@@ -2331,7 +2330,7 @@ interface SelectListAction {
|
|
|
2331
2330
|
}
|
|
2332
2331
|
declare const SelectListAction: ({
|
|
2333
2332
|
children
|
|
2334
|
-
}: SelectListAction) =>
|
|
2333
|
+
}: SelectListAction) => react_jsx_runtime3.JSX.Element;
|
|
2335
2334
|
//#endregion
|
|
2336
2335
|
//#region src/SelectList/SelectListItem.d.ts
|
|
2337
2336
|
type RemovedProps$10 = 'className' | 'style' | 'isDisabled';
|
|
@@ -2343,7 +2342,7 @@ interface SelectListItemProps extends Omit<RAC.GridListItemProps<object>, Remove
|
|
|
2343
2342
|
*/
|
|
2344
2343
|
disabled?: RAC.GridListItemProps<object>['isDisabled'];
|
|
2345
2344
|
}
|
|
2346
|
-
declare const _SelectListItem:
|
|
2345
|
+
declare const _SelectListItem: react8.ForwardRefExoticComponent<SelectListItemProps & react8.RefAttributes<HTMLDivElement>>;
|
|
2347
2346
|
//#endregion
|
|
2348
2347
|
//#region src/SelectList/SelectList.d.ts
|
|
2349
2348
|
type RemoveProps = 'style' | 'className' | 'onSelectionChange';
|
|
@@ -2391,10 +2390,10 @@ interface SliderProps<T$1> extends Omit<RAC.SliderProps<T$1>, 'children' | 'isDi
|
|
|
2391
2390
|
*/
|
|
2392
2391
|
label?: ReactNode;
|
|
2393
2392
|
}
|
|
2394
|
-
declare const _Slider:
|
|
2393
|
+
declare const _Slider: react8.ForwardRefExoticComponent<SliderProps<number | number[]> & react8.RefAttributes<HTMLDivElement>>;
|
|
2395
2394
|
//#endregion
|
|
2396
2395
|
//#region src/Split/Split.d.ts
|
|
2397
|
-
declare const Split: () =>
|
|
2396
|
+
declare const Split: () => react_jsx_runtime3.JSX.Element;
|
|
2398
2397
|
//#endregion
|
|
2399
2398
|
//#region src/Stack/Stack.d.ts
|
|
2400
2399
|
interface StackProps extends GapSpaceProp, AriaRegionProps {
|
|
@@ -2430,7 +2429,7 @@ declare const Stack: ({
|
|
|
2430
2429
|
alignY,
|
|
2431
2430
|
asList,
|
|
2432
2431
|
...props
|
|
2433
|
-
}: StackProps) =>
|
|
2432
|
+
}: StackProps) => react_jsx_runtime3.JSX.Element;
|
|
2434
2433
|
//#endregion
|
|
2435
2434
|
//#region src/Switch/Switch.d.ts
|
|
2436
2435
|
type RemovedProps$9 = 'children' | 'className' | 'isDisabled' | 'isReadOnly' | 'isSelected' | 'children' | 'slot';
|
|
@@ -2462,7 +2461,7 @@ interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$9> {
|
|
|
2462
2461
|
*/
|
|
2463
2462
|
selected?: RAC.SwitchProps['isSelected'];
|
|
2464
2463
|
}
|
|
2465
|
-
declare const _Switch:
|
|
2464
|
+
declare const _Switch: react8.ForwardRefExoticComponent<SwitchProps & react8.RefAttributes<HTMLLabelElement>>;
|
|
2466
2465
|
//#endregion
|
|
2467
2466
|
//#region src/Table/Table.d.ts
|
|
2468
2467
|
interface TableProps extends Pick<AriaTableProps, 'focusMode' | 'onRowAction' | 'onCellAction'>, Omit<TableStateProps<object>, 'showSelectionCheckboxes' | 'showDragButtons' | 'allowDuplicateSelectionEvents'> {
|
|
@@ -2543,13 +2542,13 @@ declare const _Tabs: {
|
|
|
2543
2542
|
variant,
|
|
2544
2543
|
size,
|
|
2545
2544
|
...rest
|
|
2546
|
-
}: TabsProps):
|
|
2545
|
+
}: TabsProps): react_jsx_runtime3.JSX.Element;
|
|
2547
2546
|
List: ({
|
|
2548
2547
|
space,
|
|
2549
2548
|
...props
|
|
2550
|
-
}: TabListProps) =>
|
|
2551
|
-
TabPanel: (props: TabPanelProps) =>
|
|
2552
|
-
Item: (props: TabProps) =>
|
|
2549
|
+
}: TabListProps) => react_jsx_runtime3.JSX.Element;
|
|
2550
|
+
TabPanel: (props: TabPanelProps) => react_jsx_runtime3.JSX.Element;
|
|
2551
|
+
Item: (props: TabProps) => react_jsx_runtime3.JSX.Element;
|
|
2553
2552
|
};
|
|
2554
2553
|
//#endregion
|
|
2555
2554
|
//#region src/TagGroup/TagGroup.d.ts
|
|
@@ -2585,7 +2584,7 @@ declare const _TagGroup: ({
|
|
|
2585
2584
|
name,
|
|
2586
2585
|
removeAll,
|
|
2587
2586
|
...rest
|
|
2588
|
-
}: TagGroupProps) =>
|
|
2587
|
+
}: TagGroupProps) => react_jsx_runtime3.JSX.Element;
|
|
2589
2588
|
//#endregion
|
|
2590
2589
|
//#region src/TagGroup/Tag.d.ts
|
|
2591
2590
|
type RemovedProps$7 = 'className' | 'style' | 'isDisabled';
|
|
@@ -2602,7 +2601,7 @@ declare const _Tag: {
|
|
|
2602
2601
|
children,
|
|
2603
2602
|
disabled,
|
|
2604
2603
|
...rest
|
|
2605
|
-
}: TagProps):
|
|
2604
|
+
}: TagProps): react_jsx_runtime3.JSX.Element;
|
|
2606
2605
|
Group: ({
|
|
2607
2606
|
items,
|
|
2608
2607
|
children,
|
|
@@ -2612,7 +2611,7 @@ declare const _Tag: {
|
|
|
2612
2611
|
name,
|
|
2613
2612
|
removeAll,
|
|
2614
2613
|
...rest
|
|
2615
|
-
}: TagGroupProps) =>
|
|
2614
|
+
}: TagGroupProps) => react_jsx_runtime3.JSX.Element;
|
|
2616
2615
|
};
|
|
2617
2616
|
//#endregion
|
|
2618
2617
|
//#region src/Text/Text.d.ts
|
|
@@ -2621,7 +2620,7 @@ interface TextProps extends AriaLabelingProps$1, Omit<RAC.TextProps, RemovedProp
|
|
|
2621
2620
|
/**
|
|
2622
2621
|
* The children of the component
|
|
2623
2622
|
*/
|
|
2624
|
-
children?:
|
|
2623
|
+
children?: ReactNode;
|
|
2625
2624
|
/**
|
|
2626
2625
|
* Set the text color.
|
|
2627
2626
|
* @default currentColor
|
|
@@ -2653,7 +2652,7 @@ declare const _Text: ({
|
|
|
2653
2652
|
children,
|
|
2654
2653
|
as,
|
|
2655
2654
|
...props
|
|
2656
|
-
}: TextProps) =>
|
|
2655
|
+
}: TextProps) => react_jsx_runtime3.JSX.Element;
|
|
2657
2656
|
//#endregion
|
|
2658
2657
|
//#region src/TextArea/TextArea.d.ts
|
|
2659
2658
|
type RemovedProps$5 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
|
|
@@ -2706,7 +2705,7 @@ interface TextAreaProps extends Omit<RAC.TextFieldProps, RemovedProps$5>, Pick<R
|
|
|
2706
2705
|
*/
|
|
2707
2706
|
rows?: number;
|
|
2708
2707
|
}
|
|
2709
|
-
declare const _TextArea:
|
|
2708
|
+
declare const _TextArea: react8.ForwardRefExoticComponent<TextAreaProps & react8.RefAttributes<HTMLTextAreaElement>>;
|
|
2710
2709
|
//#endregion
|
|
2711
2710
|
//#region src/TextField/TextField.d.ts
|
|
2712
2711
|
type RemovedProps$4 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue' | 'slot';
|
|
@@ -2764,7 +2763,7 @@ interface TextFieldProps extends Omit<RAC.TextFieldProps, RemovedProps$4>, Pick<
|
|
|
2764
2763
|
*/
|
|
2765
2764
|
placeholder?: string;
|
|
2766
2765
|
}
|
|
2767
|
-
declare const _TextField:
|
|
2766
|
+
declare const _TextField: react8.ForwardRefExoticComponent<TextFieldProps & react8.RefAttributes<HTMLInputElement>>;
|
|
2768
2767
|
//#endregion
|
|
2769
2768
|
//#region src/Tiles/Tiles.d.ts
|
|
2770
2769
|
interface TilesProps extends GapSpaceProp, AriaRegionProps {
|
|
@@ -2795,7 +2794,7 @@ declare const Tiles: ({
|
|
|
2795
2794
|
tilesWidth,
|
|
2796
2795
|
children,
|
|
2797
2796
|
...props
|
|
2798
|
-
}: TilesProps) =>
|
|
2797
|
+
}: TilesProps) => react_jsx_runtime3.JSX.Element;
|
|
2799
2798
|
//#endregion
|
|
2800
2799
|
//#region src/TimeField/TimeField.d.ts
|
|
2801
2800
|
type RemovedProps$3 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'slot';
|
|
@@ -2843,7 +2842,7 @@ interface TimeFieldProps extends Omit<RAC.TimeFieldProps<TimeValue$1>, RemovedPr
|
|
|
2843
2842
|
*/
|
|
2844
2843
|
shouldForceLeadingZeros?: boolean;
|
|
2845
2844
|
}
|
|
2846
|
-
declare const _TimeField:
|
|
2845
|
+
declare const _TimeField: react8.ForwardRefExoticComponent<TimeFieldProps & react8.RefAttributes<HTMLInputElement>>;
|
|
2847
2846
|
//#endregion
|
|
2848
2847
|
//#region src/Toast/Toast.d.ts
|
|
2849
2848
|
type ToastContentProps = {
|
|
@@ -2860,7 +2859,7 @@ interface ToastProps {
|
|
|
2860
2859
|
}
|
|
2861
2860
|
declare const Toast: ({
|
|
2862
2861
|
toast
|
|
2863
|
-
}: ToastProps) =>
|
|
2862
|
+
}: ToastProps) => react_jsx_runtime3.JSX.Element;
|
|
2864
2863
|
//#endregion
|
|
2865
2864
|
//#region src/Toast/ToastProvider.d.ts
|
|
2866
2865
|
interface ToastProviderProps extends Omit<RAC.ToastRegionProps<object>, RemovedProps$2> {
|
|
@@ -2870,7 +2869,7 @@ type RemovedProps$2 = 'children' | 'className' | 'style' | 'queue';
|
|
|
2870
2869
|
type ToastPosition = 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right' | 'top' | 'bottom';
|
|
2871
2870
|
declare const ToastProvider: ({
|
|
2872
2871
|
position
|
|
2873
|
-
}: ToastProviderProps) =>
|
|
2872
|
+
}: ToastProviderProps) => react_jsx_runtime3.JSX.Element;
|
|
2874
2873
|
//#endregion
|
|
2875
2874
|
//#region src/Toast/ToastQueue.d.ts
|
|
2876
2875
|
declare function useToast(): {
|
|
@@ -2923,14 +2922,14 @@ declare const _Tooltip: {
|
|
|
2923
2922
|
size,
|
|
2924
2923
|
open,
|
|
2925
2924
|
...rest
|
|
2926
|
-
}: TooltipProps):
|
|
2925
|
+
}: TooltipProps): react_jsx_runtime3.JSX.Element;
|
|
2927
2926
|
Trigger: ({
|
|
2928
2927
|
delay,
|
|
2929
2928
|
children,
|
|
2930
2929
|
disabled,
|
|
2931
2930
|
open,
|
|
2932
2931
|
...rest
|
|
2933
|
-
}: TooltipTriggerProps) =>
|
|
2932
|
+
}: TooltipTriggerProps) => react_jsx_runtime3.JSX.Element;
|
|
2934
2933
|
};
|
|
2935
2934
|
//#endregion
|
|
2936
2935
|
//#region src/Loader/BaseLoader.d.ts
|
|
@@ -2941,7 +2940,7 @@ interface BaseLoaderProps extends Pick<ProgressBarProps, 'id' | 'aria-label' | '
|
|
|
2941
2940
|
children?: ReactNode;
|
|
2942
2941
|
variant?: 'default' | 'inverted';
|
|
2943
2942
|
size?: 'default' | 'large' | 'fit';
|
|
2944
|
-
loaderType?: LoaderVisualType
|
|
2943
|
+
loaderType?: LoaderVisualType;
|
|
2945
2944
|
}
|
|
2946
2945
|
//#endregion
|
|
2947
2946
|
//#region src/Loader/Loader.d.ts
|
|
@@ -2962,7 +2961,7 @@ declare const Loader: ({
|
|
|
2962
2961
|
mode,
|
|
2963
2962
|
variant,
|
|
2964
2963
|
...props
|
|
2965
|
-
}: LoaderProps) =>
|
|
2964
|
+
}: LoaderProps) => react_jsx_runtime3.JSX.Element;
|
|
2966
2965
|
//#endregion
|
|
2967
2966
|
//#region src/utils/form.utils.d.ts
|
|
2968
2967
|
/**
|