@marigold/components 16.0.0 → 16.1.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.js → index.cjs} +263 -904
- package/dist/{index.d.ts → index.d.cts} +147 -152
- package/dist/index.d.mts +57 -62
- package/dist/index.mjs +303 -923
- package/package.json +6 -6
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { AriaLabelingProps, Orientation, RefObject, Selection } from "@react-types/shared";
|
|
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
|
-
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
|
|
4
|
+
import { AspectProp, CursorProp, DateFormat, FontSizeProp, FontStyleProp, FontWeightProp, GapSpaceProp, HeightProp, MaxWidthProp, NumericFormat, PaddingBottomProp, PaddingLeftProp, PaddingRightProp, PaddingSpaceProp, PaddingSpacePropX, PaddingSpacePropY, PaddingTopProp, PlaceItemsProp, SpaceProp, TextAlignProp, TextWrapProp, Theme, ThemeProvider, ThemeProviderProps, WhiteSpaceProps, WidthProp, alignment, useTheme } from "@marigold/system";
|
|
5
|
+
import * as react_jsx_runtime5 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_runtime5.JSX.Element;
|
|
42
41
|
//#endregion
|
|
43
42
|
//#region src/Accordion/Accordion.d.ts
|
|
44
43
|
type RemovedProps$37 = 'isDisabled';
|
|
@@ -61,27 +60,27 @@ declare const Accordion: {
|
|
|
61
60
|
stickyHeader,
|
|
62
61
|
iconPosition,
|
|
63
62
|
...props
|
|
64
|
-
}: AccordionProps):
|
|
63
|
+
}: AccordionProps): react_jsx_runtime5.JSX.Element;
|
|
65
64
|
Header: ({
|
|
66
65
|
children
|
|
67
|
-
}: AccordionHeaderProps) =>
|
|
66
|
+
}: AccordionHeaderProps) => react_jsx_runtime5.JSX.Element;
|
|
68
67
|
Content: ({
|
|
69
68
|
children
|
|
70
|
-
}: AccordionPanelProps) =>
|
|
69
|
+
}: AccordionPanelProps) => react_jsx_runtime5.JSX.Element;
|
|
71
70
|
Item: ({
|
|
72
71
|
children,
|
|
73
72
|
disabled,
|
|
74
73
|
expanded,
|
|
75
74
|
...props
|
|
76
|
-
}: DisclosureProps) =>
|
|
75
|
+
}: DisclosureProps) => react_jsx_runtime5.JSX.Element;
|
|
77
76
|
};
|
|
78
77
|
//#endregion
|
|
79
78
|
//#region src/Aside/Aside.d.ts
|
|
80
|
-
interface AsideProps extends
|
|
79
|
+
interface AsideProps extends SpaceProp<'section' | 'fieldY' | 'container' | 'group'>, AriaRegionProps {
|
|
81
80
|
/**
|
|
82
81
|
* The children of the component.
|
|
83
82
|
*/
|
|
84
|
-
children: [ReactElement
|
|
83
|
+
children: [ReactElement, ReactElement];
|
|
85
84
|
/**
|
|
86
85
|
* The side of the aside content.
|
|
87
86
|
* @default left
|
|
@@ -103,7 +102,7 @@ declare const Aside: ({
|
|
|
103
102
|
space,
|
|
104
103
|
side,
|
|
105
104
|
wrap
|
|
106
|
-
}: AsideProps) =>
|
|
105
|
+
}: AsideProps) => react_jsx_runtime5.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_runtime5.JSX.Element;
|
|
125
124
|
//#endregion
|
|
126
125
|
//#region src/HelpText/HelpText.d.ts
|
|
127
126
|
interface HelpTextProps {
|
|
@@ -142,11 +141,11 @@ declare const HelpText: ({
|
|
|
142
141
|
description,
|
|
143
142
|
errorMessage,
|
|
144
143
|
...props
|
|
145
|
-
}: HelpTextProps) =>
|
|
144
|
+
}: HelpTextProps) => react_jsx_runtime5.JSX.Element | null;
|
|
146
145
|
//#endregion
|
|
147
146
|
//#region src/FieldBase/FieldBase.d.ts
|
|
148
|
-
interface FieldBaseProps<T
|
|
149
|
-
as?: T
|
|
147
|
+
interface FieldBaseProps<T extends ElementType> extends WidthProp, Pick<HelpTextProps, 'description' | 'errorMessage'> {
|
|
148
|
+
as?: T;
|
|
150
149
|
/**
|
|
151
150
|
* Specifies the label of the field.
|
|
152
151
|
*/
|
|
@@ -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_runtime5.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_runtime5.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_runtime5.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_runtime5.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_runtime5.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_runtime5.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_runtime5.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_runtime5.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_runtime5.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_runtime5.JSX.Element;
|
|
632
631
|
Content: ({
|
|
633
632
|
variant,
|
|
634
633
|
size,
|
|
635
634
|
children,
|
|
636
635
|
...props
|
|
637
|
-
}: CollapsibleContentProps) =>
|
|
636
|
+
}: CollapsibleContentProps) => react_jsx_runtime5.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_runtime5.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_runtime5.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_runtime5.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_runtime5.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_runtime5.JSX.Element;
|
|
809
808
|
info: ({
|
|
810
809
|
size,
|
|
811
810
|
className,
|
|
812
811
|
...props
|
|
813
|
-
}: IconProps) =>
|
|
812
|
+
}: IconProps) => react_jsx_runtime5.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_runtime5.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_runtime5.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_runtime5.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_runtime5.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_runtime5.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_runtime5.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_runtime5.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_runtime5.JSX.Element;
|
|
1193
1192
|
Trigger: ({
|
|
1194
1193
|
open,
|
|
1195
1194
|
children,
|
|
1196
1195
|
...props
|
|
1197
|
-
}: DrawerTriggerProps) =>
|
|
1196
|
+
}: DrawerTriggerProps) => react_jsx_runtime5.JSX.Element;
|
|
1198
1197
|
Title: ({
|
|
1199
1198
|
variant,
|
|
1200
1199
|
size,
|
|
1201
1200
|
children
|
|
1202
|
-
}: DrawerTitleProps) =>
|
|
1201
|
+
}: DrawerTitleProps) => react_jsx_runtime5.JSX.Element;
|
|
1203
1202
|
Content: ({
|
|
1204
1203
|
variant,
|
|
1205
1204
|
size,
|
|
1206
1205
|
children
|
|
1207
|
-
}: DrawerContentProps) =>
|
|
1206
|
+
}: DrawerContentProps) => react_jsx_runtime5.JSX.Element;
|
|
1208
1207
|
Actions: ({
|
|
1209
1208
|
variant,
|
|
1210
1209
|
size,
|
|
1211
1210
|
children
|
|
1212
|
-
}: DrawerActions) =>
|
|
1211
|
+
}: DrawerActions) => react_jsx_runtime5.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_runtime5.JSX.Element;
|
|
1271
1270
|
Item: ({
|
|
1272
1271
|
children,
|
|
1273
1272
|
onRemove
|
|
1274
|
-
}: FileFieldItemProps) =>
|
|
1273
|
+
}: FileFieldItemProps) => react_jsx_runtime5.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_runtime5.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_runtime5.JSX.Element;
|
|
1343
1342
|
Area: ({
|
|
1344
1343
|
name,
|
|
1345
1344
|
children
|
|
1346
|
-
}: GridAreaProps) =>
|
|
1345
|
+
}: GridAreaProps) => react_jsx_runtime5.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_runtime5.JSX.Element;
|
|
1379
1378
|
//#endregion
|
|
1380
1379
|
//#region src/IconButton/IconButton.d.ts
|
|
1381
1380
|
interface IconButtonProps extends RAC.ButtonProps {
|
|
@@ -1389,16 +1388,11 @@ declare const IconButton: ({
|
|
|
1389
1388
|
variant,
|
|
1390
1389
|
size,
|
|
1391
1390
|
...props
|
|
1392
|
-
}: IconButtonProps) =>
|
|
1391
|
+
}: IconButtonProps) => react_jsx_runtime5.JSX.Element;
|
|
1393
1392
|
//#endregion
|
|
1394
1393
|
//#region src/Inline/Inline.d.ts
|
|
1395
|
-
declare const inlineAlignmentY:
|
|
1396
|
-
|
|
1397
|
-
top: "items-start";
|
|
1398
|
-
center: "items-center";
|
|
1399
|
-
bottom: "items-end";
|
|
1400
|
-
};
|
|
1401
|
-
interface InlineProps extends GapSpaceProp, AriaRegionProps {
|
|
1394
|
+
declare const inlineAlignmentY: any;
|
|
1395
|
+
interface InlineProps extends SpaceProp<'section' | 'fieldX' | 'container' | 'group'>, AriaRegionProps {
|
|
1402
1396
|
/**
|
|
1403
1397
|
* The children of the component.
|
|
1404
1398
|
*/
|
|
@@ -1423,7 +1417,7 @@ declare const Inline: ({
|
|
|
1423
1417
|
alignY,
|
|
1424
1418
|
children,
|
|
1425
1419
|
...props
|
|
1426
|
-
}: InlineProps) =>
|
|
1420
|
+
}: InlineProps) => react_jsx_runtime5.JSX.Element;
|
|
1427
1421
|
//#endregion
|
|
1428
1422
|
//#region src/Input/Input.d.ts
|
|
1429
1423
|
type RemovedProps$22 = 'className' | 'style' | 'size';
|
|
@@ -1434,7 +1428,7 @@ interface InputProps extends Omit<RAC.InputProps, RemovedProps$22> {
|
|
|
1434
1428
|
size?: string;
|
|
1435
1429
|
className?: string;
|
|
1436
1430
|
}
|
|
1437
|
-
declare const _Input:
|
|
1431
|
+
declare const _Input: react8.ForwardRefExoticComponent<InputProps & react8.RefAttributes<HTMLInputElement>>;
|
|
1438
1432
|
//#endregion
|
|
1439
1433
|
//#region src/Input/SearchInput.d.ts
|
|
1440
1434
|
interface SearchInputProps extends Omit<InputProps, 'icon' | 'className'> {
|
|
@@ -1445,7 +1439,7 @@ interface SearchInputProps extends Omit<InputProps, 'icon' | 'className'> {
|
|
|
1445
1439
|
};
|
|
1446
1440
|
onClear?: () => void;
|
|
1447
1441
|
}
|
|
1448
|
-
declare const SearchInput:
|
|
1442
|
+
declare const SearchInput: react8.ForwardRefExoticComponent<SearchInputProps & react8.RefAttributes<HTMLInputElement>>;
|
|
1449
1443
|
//#endregion
|
|
1450
1444
|
//#region src/Inset/Inset.d.ts
|
|
1451
1445
|
type InsetProps = (AriaRegionProps & {
|
|
@@ -1476,7 +1470,7 @@ declare const Inset: ({
|
|
|
1476
1470
|
spaceX,
|
|
1477
1471
|
spaceY,
|
|
1478
1472
|
children
|
|
1479
|
-
}: InsetProps) =>
|
|
1473
|
+
}: InsetProps) => react_jsx_runtime5.JSX.Element;
|
|
1480
1474
|
//#endregion
|
|
1481
1475
|
//#region src/Label/Label.d.ts
|
|
1482
1476
|
type RemovedProps$21 = 'className';
|
|
@@ -1489,7 +1483,7 @@ declare const _Label: ({
|
|
|
1489
1483
|
variant,
|
|
1490
1484
|
children,
|
|
1491
1485
|
...props
|
|
1492
|
-
}: LabelProps) =>
|
|
1486
|
+
}: LabelProps) => react_jsx_runtime5.JSX.Element;
|
|
1493
1487
|
//#endregion
|
|
1494
1488
|
//#region src/Link/Link.d.ts
|
|
1495
1489
|
type RemovedProps$20 = 'className' | 'isDisabled' | 'slot';
|
|
@@ -1502,7 +1496,7 @@ interface LinkProps extends Omit<RAC.LinkProps, RemovedProps$20> {
|
|
|
1502
1496
|
*/
|
|
1503
1497
|
disabled?: RAC.LinkProps['isDisabled'];
|
|
1504
1498
|
}
|
|
1505
|
-
declare const _Link:
|
|
1499
|
+
declare const _Link: react8.ForwardRefExoticComponent<LinkProps & react8.RefAttributes<HTMLAnchorElement>>;
|
|
1506
1500
|
//#endregion
|
|
1507
1501
|
//#region src/LinkButton/LinkButton.d.ts
|
|
1508
1502
|
type RemovedProps$19 = 'isDisabled' | 'isPending' | 'className' | 'style';
|
|
@@ -1524,7 +1518,7 @@ interface LinkButtonProps extends Omit<RAC.LinkProps, RemovedProps$19> {
|
|
|
1524
1518
|
*/
|
|
1525
1519
|
disabled?: RAC.LinkProps['isDisabled'];
|
|
1526
1520
|
}
|
|
1527
|
-
declare const _LinkButton:
|
|
1521
|
+
declare const _LinkButton: react8.ForwardRefExoticComponent<LinkButtonProps & react8.RefAttributes<HTMLAnchorElement>>;
|
|
1528
1522
|
//#endregion
|
|
1529
1523
|
//#region src/List/ListItem.d.ts
|
|
1530
1524
|
interface ListItemProps {
|
|
@@ -1555,11 +1549,11 @@ declare const List: {
|
|
|
1555
1549
|
variant,
|
|
1556
1550
|
size,
|
|
1557
1551
|
...props
|
|
1558
|
-
}: ListProps):
|
|
1552
|
+
}: ListProps): react_jsx_runtime5.JSX.Element;
|
|
1559
1553
|
Item: ({
|
|
1560
1554
|
children,
|
|
1561
1555
|
...props
|
|
1562
|
-
}: ListItemProps) =>
|
|
1556
|
+
}: ListItemProps) => react_jsx_runtime5.JSX.Element;
|
|
1563
1557
|
};
|
|
1564
1558
|
//#endregion
|
|
1565
1559
|
//#region src/Menu/MenuItem.d.ts
|
|
@@ -1582,7 +1576,7 @@ interface PopoverProps extends Omit<RAC.PopoverProps, 'isOpen' | 'isKeyboardDism
|
|
|
1582
1576
|
open?: boolean;
|
|
1583
1577
|
children: ReactNode;
|
|
1584
1578
|
}
|
|
1585
|
-
declare const _Popover:
|
|
1579
|
+
declare const _Popover: react8.ForwardRefExoticComponent<PopoverProps & react8.RefAttributes<HTMLDivElement>>;
|
|
1586
1580
|
//#endregion
|
|
1587
1581
|
//#region src/Menu/Menu.d.ts
|
|
1588
1582
|
type RemovedProps$16 = 'isOpen' | 'className' | 'style' | 'children';
|
|
@@ -1627,18 +1621,18 @@ declare const _Menu: {
|
|
|
1627
1621
|
placement,
|
|
1628
1622
|
"aria-label": ariaLabel,
|
|
1629
1623
|
...props
|
|
1630
|
-
}: MenuProps):
|
|
1624
|
+
}: MenuProps): react_jsx_runtime5.JSX.Element;
|
|
1631
1625
|
Item: ({
|
|
1632
1626
|
children,
|
|
1633
1627
|
variant,
|
|
1634
1628
|
size,
|
|
1635
1629
|
...props
|
|
1636
|
-
}: MenuItemProps) =>
|
|
1630
|
+
}: MenuItemProps) => react_jsx_runtime5.JSX.Element;
|
|
1637
1631
|
Section: ({
|
|
1638
1632
|
children,
|
|
1639
1633
|
title,
|
|
1640
1634
|
...props
|
|
1641
|
-
}: MenuSectionProps) =>
|
|
1635
|
+
}: MenuSectionProps) => react_jsx_runtime5.JSX.Element;
|
|
1642
1636
|
};
|
|
1643
1637
|
//#endregion
|
|
1644
1638
|
//#region src/Menu/ActionMenu.d.ts
|
|
@@ -1647,18 +1641,18 @@ declare const ActionMenu: {
|
|
|
1647
1641
|
({
|
|
1648
1642
|
children,
|
|
1649
1643
|
...props
|
|
1650
|
-
}: ActionMenuProps):
|
|
1644
|
+
}: ActionMenuProps): react_jsx_runtime5.JSX.Element;
|
|
1651
1645
|
Item: ({
|
|
1652
1646
|
children,
|
|
1653
1647
|
variant,
|
|
1654
1648
|
size,
|
|
1655
1649
|
...props
|
|
1656
|
-
}: MenuItemProps) =>
|
|
1650
|
+
}: MenuItemProps) => react_jsx_runtime5.JSX.Element;
|
|
1657
1651
|
Section: ({
|
|
1658
1652
|
children,
|
|
1659
1653
|
title,
|
|
1660
1654
|
...props
|
|
1661
|
-
}: MenuSectionProps) =>
|
|
1655
|
+
}: MenuSectionProps) => react_jsx_runtime5.JSX.Element;
|
|
1662
1656
|
};
|
|
1663
1657
|
//#endregion
|
|
1664
1658
|
//#region src/Multiselect/Multiselect.d.ts
|
|
@@ -1786,7 +1780,7 @@ declare const Multiselect: ({
|
|
|
1786
1780
|
onSelectionChange,
|
|
1787
1781
|
width,
|
|
1788
1782
|
...rest
|
|
1789
|
-
}: MultipleSelectProps) =>
|
|
1783
|
+
}: MultipleSelectProps) => react_jsx_runtime5.JSX.Element;
|
|
1790
1784
|
//#endregion
|
|
1791
1785
|
//#region src/NumberField/NumberField.d.ts
|
|
1792
1786
|
type RemovedProps$15 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'size';
|
|
@@ -1829,22 +1823,22 @@ interface NumberFieldProps extends Omit<RAC.NumberFieldProps, RemovedProps$15>,
|
|
|
1829
1823
|
*/
|
|
1830
1824
|
placeholder?: string;
|
|
1831
1825
|
}
|
|
1832
|
-
declare const _NumberField:
|
|
1826
|
+
declare const _NumberField: react8.ForwardRefExoticComponent<NumberFieldProps & react8.RefAttributes<HTMLInputElement>>;
|
|
1833
1827
|
//#endregion
|
|
1834
1828
|
//#region src/utils/useRenderProps.d.ts
|
|
1835
|
-
interface StyleRenderProps<T
|
|
1829
|
+
interface StyleRenderProps<T> {
|
|
1836
1830
|
/** 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. */
|
|
1837
|
-
className?: string | ((values: T
|
|
1831
|
+
className?: string | ((values: T & {
|
|
1838
1832
|
defaultClassName: string | undefined;
|
|
1839
1833
|
}) => string);
|
|
1840
1834
|
/** 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. */
|
|
1841
|
-
style?: CSSProperties | ((values: T
|
|
1835
|
+
style?: CSSProperties | ((values: T & {
|
|
1842
1836
|
defaultStyle: CSSProperties;
|
|
1843
1837
|
}) => CSSProperties | undefined);
|
|
1844
1838
|
}
|
|
1845
|
-
interface RenderProps<T
|
|
1839
|
+
interface RenderProps<T> extends StyleRenderProps<T> {
|
|
1846
1840
|
/** The children of the component. A function may be provided to alter the children based on component state. */
|
|
1847
|
-
children?: ReactNode | ((values: T
|
|
1841
|
+
children?: ReactNode | ((values: T & {
|
|
1848
1842
|
defaultChildren: ReactNode | undefined;
|
|
1849
1843
|
}) => ReactNode);
|
|
1850
1844
|
}
|
|
@@ -1911,7 +1905,7 @@ interface NonModalProps extends Omit<OverlayTriggerProps, 'isOpen'>, AriaLabelin
|
|
|
1911
1905
|
*/
|
|
1912
1906
|
ref?: RefObject<HTMLElement | null>;
|
|
1913
1907
|
}
|
|
1914
|
-
declare const NonModal:
|
|
1908
|
+
declare const NonModal: react8.ForwardRefExoticComponent<Omit<NonModalProps, "ref"> & react8.RefAttributes<HTMLElement>>;
|
|
1915
1909
|
//#endregion
|
|
1916
1910
|
//#region src/Overlay/Underlay.d.ts
|
|
1917
1911
|
interface UnderlayProps extends Omit<RAC.ModalOverlayProps, 'isOpen' | 'isDismissable' | 'isKeyboardDismissDisabled' | 'className'> {
|
|
@@ -1928,7 +1922,7 @@ declare const Underlay: ({
|
|
|
1928
1922
|
dismissable,
|
|
1929
1923
|
keyboardDismissable,
|
|
1930
1924
|
...rest
|
|
1931
|
-
}: UnderlayProps) =>
|
|
1925
|
+
}: UnderlayProps) => react_jsx_runtime5.JSX.Element;
|
|
1932
1926
|
//#endregion
|
|
1933
1927
|
//#region src/Pagination/Pagination.d.ts
|
|
1934
1928
|
interface PaginationProps {
|
|
@@ -1963,7 +1957,7 @@ declare const _Pagination: ({
|
|
|
1963
1957
|
totalItems,
|
|
1964
1958
|
pageSize,
|
|
1965
1959
|
...props
|
|
1966
|
-
}: PaginationProps) =>
|
|
1960
|
+
}: PaginationProps) => react_jsx_runtime5.JSX.Element;
|
|
1967
1961
|
//#endregion
|
|
1968
1962
|
//#region src/ProgressCircle/ProgressCircle.d.ts
|
|
1969
1963
|
interface ProgressCircleProps extends RAC.ProgressBarProps {
|
|
@@ -1977,19 +1971,19 @@ interface ProgressCircleProps extends RAC.ProgressBarProps {
|
|
|
1977
1971
|
declare const ProgressCircleSvg: ({
|
|
1978
1972
|
size,
|
|
1979
1973
|
variant
|
|
1980
|
-
}: ProgressCircleProps) =>
|
|
1974
|
+
}: ProgressCircleProps) => react_jsx_runtime5.JSX.Element;
|
|
1981
1975
|
declare const ProgressCircle: ({
|
|
1982
1976
|
size,
|
|
1983
1977
|
...props
|
|
1984
|
-
}: ProgressCircleProps) =>
|
|
1978
|
+
}: ProgressCircleProps) => react_jsx_runtime5.JSX.Element;
|
|
1985
1979
|
//#endregion
|
|
1986
1980
|
//#region src/Provider/MarigoldProvider.d.ts
|
|
1987
|
-
type MarigoldProviderProps<T
|
|
1988
|
-
declare function MarigoldProvider<T
|
|
1981
|
+
type MarigoldProviderProps<T extends Theme> = ThemeProviderProps<T>;
|
|
1982
|
+
declare function MarigoldProvider<T extends Theme>({
|
|
1989
1983
|
children,
|
|
1990
1984
|
className,
|
|
1991
1985
|
theme
|
|
1992
|
-
}: MarigoldProviderProps<T
|
|
1986
|
+
}: MarigoldProviderProps<T>): react_jsx_runtime5.JSX.Element;
|
|
1993
1987
|
//#endregion
|
|
1994
1988
|
//#region src/Provider/OverlayContainerProvider.d.ts
|
|
1995
1989
|
interface OverlayContainerProps extends PropsWithChildren {
|
|
@@ -2004,7 +1998,7 @@ interface OverlayContainerProps extends PropsWithChildren {
|
|
|
2004
1998
|
declare const OverlayContainerProvider: ({
|
|
2005
1999
|
container,
|
|
2006
2000
|
children
|
|
2007
|
-
}: OverlayContainerProps) =>
|
|
2001
|
+
}: OverlayContainerProps) => react_jsx_runtime5.JSX.Element;
|
|
2008
2002
|
//#endregion
|
|
2009
2003
|
//#region src/Radio/RadioGroup.d.ts
|
|
2010
2004
|
type RemovedProps$14 = 'className' | 'style' | 'isDisabled' | 'isInvalid' | 'isRequired' | 'isSelected';
|
|
@@ -2088,7 +2082,7 @@ declare const _RadioGroup: ({
|
|
|
2088
2082
|
width,
|
|
2089
2083
|
collapseAt,
|
|
2090
2084
|
...rest
|
|
2091
|
-
}: RadioGroupProps) =>
|
|
2085
|
+
}: RadioGroupProps) => react_jsx_runtime5.JSX.Element;
|
|
2092
2086
|
//#endregion
|
|
2093
2087
|
//#region src/Radio/Radio.d.ts
|
|
2094
2088
|
type RemovedProps$13 = 'className' | 'style' | 'children' | 'isDisabled';
|
|
@@ -2132,7 +2126,7 @@ declare const Scrollable: ({
|
|
|
2132
2126
|
width,
|
|
2133
2127
|
height,
|
|
2134
2128
|
...props
|
|
2135
|
-
}: ScrollableProps) =>
|
|
2129
|
+
}: ScrollableProps) => react_jsx_runtime5.JSX.Element;
|
|
2136
2130
|
//#endregion
|
|
2137
2131
|
//#region src/SearchField/SearchField.d.ts
|
|
2138
2132
|
type RemovedProps$12 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
|
|
@@ -2184,7 +2178,7 @@ interface SearchFieldProps extends Omit<RAC.SearchFieldProps, RemovedProps$12>,
|
|
|
2184
2178
|
*/
|
|
2185
2179
|
placeholder?: string;
|
|
2186
2180
|
}
|
|
2187
|
-
declare const _SearchField:
|
|
2181
|
+
declare const _SearchField: react8.ForwardRefExoticComponent<SearchFieldProps & react8.RefAttributes<HTMLInputElement>>;
|
|
2188
2182
|
//#endregion
|
|
2189
2183
|
//#region src/SectionMessage/SectionMessageTitle.d.ts
|
|
2190
2184
|
interface SectionMessageTitleProps {
|
|
@@ -2208,22 +2202,22 @@ declare const icons: {
|
|
|
2208
2202
|
size,
|
|
2209
2203
|
className,
|
|
2210
2204
|
...props
|
|
2211
|
-
}: IconProps) =>
|
|
2205
|
+
}: IconProps) => react_jsx_runtime5.JSX.Element;
|
|
2212
2206
|
readonly info: ({
|
|
2213
2207
|
size,
|
|
2214
2208
|
className,
|
|
2215
2209
|
...props
|
|
2216
|
-
}: IconProps) =>
|
|
2210
|
+
}: IconProps) => react_jsx_runtime5.JSX.Element;
|
|
2217
2211
|
readonly warning: ({
|
|
2218
2212
|
size,
|
|
2219
2213
|
className,
|
|
2220
2214
|
...props
|
|
2221
|
-
}: IconProps) =>
|
|
2215
|
+
}: IconProps) => react_jsx_runtime5.JSX.Element;
|
|
2222
2216
|
readonly error: ({
|
|
2223
2217
|
size,
|
|
2224
2218
|
className,
|
|
2225
2219
|
...props
|
|
2226
|
-
}: IconProps) =>
|
|
2220
|
+
}: IconProps) => react_jsx_runtime5.JSX.Element;
|
|
2227
2221
|
};
|
|
2228
2222
|
interface SectionMessageProps {
|
|
2229
2223
|
variant?: keyof typeof icons;
|
|
@@ -2254,25 +2248,25 @@ declare const SectionMessage: {
|
|
|
2254
2248
|
close,
|
|
2255
2249
|
onCloseChange,
|
|
2256
2250
|
...props
|
|
2257
|
-
}: SectionMessageProps):
|
|
2251
|
+
}: SectionMessageProps): react_jsx_runtime5.JSX.Element | null;
|
|
2258
2252
|
Title: ({
|
|
2259
2253
|
children
|
|
2260
|
-
}: SectionMessageTitleProps) =>
|
|
2254
|
+
}: SectionMessageTitleProps) => react_jsx_runtime5.JSX.Element;
|
|
2261
2255
|
Content: ({
|
|
2262
2256
|
children
|
|
2263
|
-
}: SectionMessageContentProps) =>
|
|
2257
|
+
}: SectionMessageContentProps) => react_jsx_runtime5.JSX.Element;
|
|
2264
2258
|
};
|
|
2265
2259
|
//#endregion
|
|
2266
2260
|
//#region src/Select/Select.d.ts
|
|
2267
2261
|
type SelectionMode = 'single' | 'multiple';
|
|
2268
2262
|
type RemovedProps$11 = 'children' | 'isInvalid' | 'isDisabled' | 'isOpen' | 'isRequired' | 'style' | 'className';
|
|
2269
|
-
interface SelectProps<T
|
|
2263
|
+
interface SelectProps<T extends object, M extends SelectionMode = 'single'> extends Omit<RAC.SelectProps<T, M>, RemovedProps$11>, WidthProp {
|
|
2270
2264
|
variant?: string;
|
|
2271
2265
|
size?: string;
|
|
2272
2266
|
/**
|
|
2273
2267
|
* Children of the select.
|
|
2274
2268
|
*/
|
|
2275
|
-
children?:
|
|
2269
|
+
children?: ReactNode | ((item: T) => ReactNode);
|
|
2276
2270
|
/**
|
|
2277
2271
|
* Set a label for the select.
|
|
2278
2272
|
*/
|
|
@@ -2288,7 +2282,7 @@ interface SelectProps<T$1 extends object, M$1 extends SelectionMode = 'single'>
|
|
|
2288
2282
|
/**
|
|
2289
2283
|
* Items of the select.
|
|
2290
2284
|
*/
|
|
2291
|
-
items?: Iterable<T
|
|
2285
|
+
items?: Iterable<T>;
|
|
2292
2286
|
/**
|
|
2293
2287
|
* If the select should be required.
|
|
2294
2288
|
*
|
|
@@ -2314,15 +2308,15 @@ interface SelectProps<T$1 extends object, M$1 extends SelectionMode = 'single'>
|
|
|
2314
2308
|
*/
|
|
2315
2309
|
error?: boolean;
|
|
2316
2310
|
}
|
|
2317
|
-
declare const Select: (<T extends object, M extends SelectionMode = "single">(props: SelectProps<T, M> &
|
|
2311
|
+
declare const Select: (<T extends object, M extends SelectionMode = "single">(props: SelectProps<T, M> & react8.RefAttributes<HTMLButtonElement>) => react8.ReactElement | null) & {
|
|
2318
2312
|
Option: ({
|
|
2319
2313
|
...props
|
|
2320
|
-
}: ListBoxItemProps) =>
|
|
2314
|
+
}: ListBoxItemProps) => react_jsx_runtime5.JSX.Element;
|
|
2321
2315
|
Section: ({
|
|
2322
2316
|
header,
|
|
2323
2317
|
children,
|
|
2324
2318
|
...props
|
|
2325
|
-
}: SectionProps) =>
|
|
2319
|
+
}: SectionProps) => react_jsx_runtime5.JSX.Element;
|
|
2326
2320
|
};
|
|
2327
2321
|
//#endregion
|
|
2328
2322
|
//#region src/SelectList/SelectListAction.d.ts
|
|
@@ -2331,7 +2325,7 @@ interface SelectListAction {
|
|
|
2331
2325
|
}
|
|
2332
2326
|
declare const SelectListAction: ({
|
|
2333
2327
|
children
|
|
2334
|
-
}: SelectListAction) =>
|
|
2328
|
+
}: SelectListAction) => react_jsx_runtime5.JSX.Element;
|
|
2335
2329
|
//#endregion
|
|
2336
2330
|
//#region src/SelectList/SelectListItem.d.ts
|
|
2337
2331
|
type RemovedProps$10 = 'className' | 'style' | 'isDisabled';
|
|
@@ -2343,7 +2337,7 @@ interface SelectListItemProps extends Omit<RAC.GridListItemProps<object>, Remove
|
|
|
2343
2337
|
*/
|
|
2344
2338
|
disabled?: RAC.GridListItemProps<object>['isDisabled'];
|
|
2345
2339
|
}
|
|
2346
|
-
declare const _SelectListItem:
|
|
2340
|
+
declare const _SelectListItem: react8.ForwardRefExoticComponent<SelectListItemProps & react8.RefAttributes<HTMLDivElement>>;
|
|
2347
2341
|
//#endregion
|
|
2348
2342
|
//#region src/SelectList/SelectList.d.ts
|
|
2349
2343
|
type RemoveProps = 'style' | 'className' | 'onSelectionChange';
|
|
@@ -2363,7 +2357,7 @@ interface SelectListComponent extends ForwardRefExoticComponent<SelectListProps
|
|
|
2363
2357
|
declare const _SelectList: SelectListComponent;
|
|
2364
2358
|
//#endregion
|
|
2365
2359
|
//#region src/Slider/Slider.d.ts
|
|
2366
|
-
interface SliderProps<T
|
|
2360
|
+
interface SliderProps<T> extends Omit<RAC.SliderProps<T>, 'children' | 'isDisabled' | 'orientation'>, Pick<FieldBaseProps<'label'>, 'description'> {
|
|
2367
2361
|
variant?: string;
|
|
2368
2362
|
size?: string;
|
|
2369
2363
|
/**
|
|
@@ -2391,13 +2385,13 @@ interface SliderProps<T$1> extends Omit<RAC.SliderProps<T$1>, 'children' | 'isDi
|
|
|
2391
2385
|
*/
|
|
2392
2386
|
label?: ReactNode;
|
|
2393
2387
|
}
|
|
2394
|
-
declare const _Slider:
|
|
2388
|
+
declare const _Slider: react8.ForwardRefExoticComponent<SliderProps<number | number[]> & react8.RefAttributes<HTMLDivElement>>;
|
|
2395
2389
|
//#endregion
|
|
2396
2390
|
//#region src/Split/Split.d.ts
|
|
2397
|
-
declare const Split: () =>
|
|
2391
|
+
declare const Split: () => react_jsx_runtime5.JSX.Element;
|
|
2398
2392
|
//#endregion
|
|
2399
2393
|
//#region src/Stack/Stack.d.ts
|
|
2400
|
-
interface StackProps extends
|
|
2394
|
+
interface StackProps extends SpaceProp<'section' | 'fieldY' | 'container' | 'group'>, AriaRegionProps {
|
|
2401
2395
|
/**
|
|
2402
2396
|
* Children of the component.
|
|
2403
2397
|
*/
|
|
@@ -2409,6 +2403,7 @@ interface StackProps extends GapSpaceProp, AriaRegionProps {
|
|
|
2409
2403
|
stretch?: boolean;
|
|
2410
2404
|
/**
|
|
2411
2405
|
* Horizontal alignment for the children.
|
|
2406
|
+
* @default 'stretch'
|
|
2412
2407
|
*/
|
|
2413
2408
|
alignX?: keyof typeof alignment.vertical.alignmentX;
|
|
2414
2409
|
/**
|
|
@@ -2430,7 +2425,7 @@ declare const Stack: ({
|
|
|
2430
2425
|
alignY,
|
|
2431
2426
|
asList,
|
|
2432
2427
|
...props
|
|
2433
|
-
}: StackProps) =>
|
|
2428
|
+
}: StackProps) => react_jsx_runtime5.JSX.Element;
|
|
2434
2429
|
//#endregion
|
|
2435
2430
|
//#region src/Switch/Switch.d.ts
|
|
2436
2431
|
type RemovedProps$9 = 'children' | 'className' | 'isDisabled' | 'isReadOnly' | 'isSelected' | 'children' | 'slot';
|
|
@@ -2462,14 +2457,14 @@ interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$9> {
|
|
|
2462
2457
|
*/
|
|
2463
2458
|
selected?: RAC.SwitchProps['isSelected'];
|
|
2464
2459
|
}
|
|
2465
|
-
declare const _Switch:
|
|
2460
|
+
declare const _Switch: react8.ForwardRefExoticComponent<SwitchProps & react8.RefAttributes<HTMLLabelElement>>;
|
|
2466
2461
|
//#endregion
|
|
2467
2462
|
//#region src/Table/Table.d.ts
|
|
2468
2463
|
interface TableProps extends Pick<AriaTableProps, 'focusMode' | 'onRowAction' | 'onCellAction'>, Omit<TableStateProps<object>, 'showSelectionCheckboxes' | 'showDragButtons' | 'allowDuplicateSelectionEvents'> {
|
|
2469
2464
|
variant?: 'grid' | 'default' | 'muted' | (string & {});
|
|
2470
2465
|
size?: string;
|
|
2471
2466
|
/**
|
|
2472
|
-
* Stretch table to fill the container.
|
|
2467
|
+
* Stretch the table to fill the container.
|
|
2473
2468
|
* @default false
|
|
2474
2469
|
*/
|
|
2475
2470
|
stretch?: boolean;
|
|
@@ -2543,13 +2538,13 @@ declare const _Tabs: {
|
|
|
2543
2538
|
variant,
|
|
2544
2539
|
size,
|
|
2545
2540
|
...rest
|
|
2546
|
-
}: TabsProps):
|
|
2541
|
+
}: TabsProps): react_jsx_runtime5.JSX.Element;
|
|
2547
2542
|
List: ({
|
|
2548
2543
|
space,
|
|
2549
2544
|
...props
|
|
2550
|
-
}: TabListProps) =>
|
|
2551
|
-
TabPanel: (props: TabPanelProps) =>
|
|
2552
|
-
Item: (props: TabProps) =>
|
|
2545
|
+
}: TabListProps) => react_jsx_runtime5.JSX.Element;
|
|
2546
|
+
TabPanel: (props: TabPanelProps) => react_jsx_runtime5.JSX.Element;
|
|
2547
|
+
Item: (props: TabProps) => react_jsx_runtime5.JSX.Element;
|
|
2553
2548
|
};
|
|
2554
2549
|
//#endregion
|
|
2555
2550
|
//#region src/TagGroup/TagGroup.d.ts
|
|
@@ -2585,7 +2580,7 @@ declare const _TagGroup: ({
|
|
|
2585
2580
|
name,
|
|
2586
2581
|
removeAll,
|
|
2587
2582
|
...rest
|
|
2588
|
-
}: TagGroupProps) =>
|
|
2583
|
+
}: TagGroupProps) => react_jsx_runtime5.JSX.Element;
|
|
2589
2584
|
//#endregion
|
|
2590
2585
|
//#region src/TagGroup/Tag.d.ts
|
|
2591
2586
|
type RemovedProps$7 = 'className' | 'style' | 'isDisabled';
|
|
@@ -2602,7 +2597,7 @@ declare const _Tag: {
|
|
|
2602
2597
|
children,
|
|
2603
2598
|
disabled,
|
|
2604
2599
|
...rest
|
|
2605
|
-
}: TagProps):
|
|
2600
|
+
}: TagProps): react_jsx_runtime5.JSX.Element;
|
|
2606
2601
|
Group: ({
|
|
2607
2602
|
items,
|
|
2608
2603
|
children,
|
|
@@ -2612,7 +2607,7 @@ declare const _Tag: {
|
|
|
2612
2607
|
name,
|
|
2613
2608
|
removeAll,
|
|
2614
2609
|
...rest
|
|
2615
|
-
}: TagGroupProps) =>
|
|
2610
|
+
}: TagGroupProps) => react_jsx_runtime5.JSX.Element;
|
|
2616
2611
|
};
|
|
2617
2612
|
//#endregion
|
|
2618
2613
|
//#region src/Text/Text.d.ts
|
|
@@ -2621,7 +2616,7 @@ interface TextProps extends AriaLabelingProps$1, Omit<RAC.TextProps, RemovedProp
|
|
|
2621
2616
|
/**
|
|
2622
2617
|
* The children of the component
|
|
2623
2618
|
*/
|
|
2624
|
-
children?:
|
|
2619
|
+
children?: ReactNode;
|
|
2625
2620
|
/**
|
|
2626
2621
|
* Set the text color.
|
|
2627
2622
|
* @default currentColor
|
|
@@ -2653,7 +2648,7 @@ declare const _Text: ({
|
|
|
2653
2648
|
children,
|
|
2654
2649
|
as,
|
|
2655
2650
|
...props
|
|
2656
|
-
}: TextProps) =>
|
|
2651
|
+
}: TextProps) => react_jsx_runtime5.JSX.Element;
|
|
2657
2652
|
//#endregion
|
|
2658
2653
|
//#region src/TextArea/TextArea.d.ts
|
|
2659
2654
|
type RemovedProps$5 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
|
|
@@ -2706,7 +2701,7 @@ interface TextAreaProps extends Omit<RAC.TextFieldProps, RemovedProps$5>, Pick<R
|
|
|
2706
2701
|
*/
|
|
2707
2702
|
rows?: number;
|
|
2708
2703
|
}
|
|
2709
|
-
declare const _TextArea:
|
|
2704
|
+
declare const _TextArea: react8.ForwardRefExoticComponent<TextAreaProps & react8.RefAttributes<HTMLTextAreaElement>>;
|
|
2710
2705
|
//#endregion
|
|
2711
2706
|
//#region src/TextField/TextField.d.ts
|
|
2712
2707
|
type RemovedProps$4 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue' | 'slot';
|
|
@@ -2764,7 +2759,7 @@ interface TextFieldProps extends Omit<RAC.TextFieldProps, RemovedProps$4>, Pick<
|
|
|
2764
2759
|
*/
|
|
2765
2760
|
placeholder?: string;
|
|
2766
2761
|
}
|
|
2767
|
-
declare const _TextField:
|
|
2762
|
+
declare const _TextField: react8.ForwardRefExoticComponent<TextFieldProps & react8.RefAttributes<HTMLInputElement>>;
|
|
2768
2763
|
//#endregion
|
|
2769
2764
|
//#region src/Tiles/Tiles.d.ts
|
|
2770
2765
|
interface TilesProps extends GapSpaceProp, AriaRegionProps {
|
|
@@ -2795,7 +2790,7 @@ declare const Tiles: ({
|
|
|
2795
2790
|
tilesWidth,
|
|
2796
2791
|
children,
|
|
2797
2792
|
...props
|
|
2798
|
-
}: TilesProps) =>
|
|
2793
|
+
}: TilesProps) => react_jsx_runtime5.JSX.Element;
|
|
2799
2794
|
//#endregion
|
|
2800
2795
|
//#region src/TimeField/TimeField.d.ts
|
|
2801
2796
|
type RemovedProps$3 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'slot';
|
|
@@ -2843,7 +2838,7 @@ interface TimeFieldProps extends Omit<RAC.TimeFieldProps<TimeValue$1>, RemovedPr
|
|
|
2843
2838
|
*/
|
|
2844
2839
|
shouldForceLeadingZeros?: boolean;
|
|
2845
2840
|
}
|
|
2846
|
-
declare const _TimeField:
|
|
2841
|
+
declare const _TimeField: react8.ForwardRefExoticComponent<TimeFieldProps & react8.RefAttributes<HTMLInputElement>>;
|
|
2847
2842
|
//#endregion
|
|
2848
2843
|
//#region src/Toast/Toast.d.ts
|
|
2849
2844
|
type ToastContentProps = {
|
|
@@ -2860,7 +2855,7 @@ interface ToastProps {
|
|
|
2860
2855
|
}
|
|
2861
2856
|
declare const Toast: ({
|
|
2862
2857
|
toast
|
|
2863
|
-
}: ToastProps) =>
|
|
2858
|
+
}: ToastProps) => react_jsx_runtime5.JSX.Element;
|
|
2864
2859
|
//#endregion
|
|
2865
2860
|
//#region src/Toast/ToastProvider.d.ts
|
|
2866
2861
|
interface ToastProviderProps extends Omit<RAC.ToastRegionProps<object>, RemovedProps$2> {
|
|
@@ -2870,7 +2865,7 @@ type RemovedProps$2 = 'children' | 'className' | 'style' | 'queue';
|
|
|
2870
2865
|
type ToastPosition = 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right' | 'top' | 'bottom';
|
|
2871
2866
|
declare const ToastProvider: ({
|
|
2872
2867
|
position
|
|
2873
|
-
}: ToastProviderProps) =>
|
|
2868
|
+
}: ToastProviderProps) => react_jsx_runtime5.JSX.Element;
|
|
2874
2869
|
//#endregion
|
|
2875
2870
|
//#region src/Toast/ToastQueue.d.ts
|
|
2876
2871
|
declare function useToast(): {
|
|
@@ -2923,14 +2918,14 @@ declare const _Tooltip: {
|
|
|
2923
2918
|
size,
|
|
2924
2919
|
open,
|
|
2925
2920
|
...rest
|
|
2926
|
-
}: TooltipProps):
|
|
2921
|
+
}: TooltipProps): react_jsx_runtime5.JSX.Element;
|
|
2927
2922
|
Trigger: ({
|
|
2928
2923
|
delay,
|
|
2929
2924
|
children,
|
|
2930
2925
|
disabled,
|
|
2931
2926
|
open,
|
|
2932
2927
|
...rest
|
|
2933
|
-
}: TooltipTriggerProps) =>
|
|
2928
|
+
}: TooltipTriggerProps) => react_jsx_runtime5.JSX.Element;
|
|
2934
2929
|
};
|
|
2935
2930
|
//#endregion
|
|
2936
2931
|
//#region src/Loader/BaseLoader.d.ts
|
|
@@ -2941,7 +2936,7 @@ interface BaseLoaderProps extends Pick<ProgressBarProps, 'id' | 'aria-label' | '
|
|
|
2941
2936
|
children?: ReactNode;
|
|
2942
2937
|
variant?: 'default' | 'inverted';
|
|
2943
2938
|
size?: 'default' | 'large' | 'fit';
|
|
2944
|
-
loaderType?: LoaderVisualType
|
|
2939
|
+
loaderType?: LoaderVisualType;
|
|
2945
2940
|
}
|
|
2946
2941
|
//#endregion
|
|
2947
2942
|
//#region src/Loader/Loader.d.ts
|
|
@@ -2962,7 +2957,7 @@ declare const Loader: ({
|
|
|
2962
2957
|
mode,
|
|
2963
2958
|
variant,
|
|
2964
2959
|
...props
|
|
2965
|
-
}: LoaderProps) =>
|
|
2960
|
+
}: LoaderProps) => react_jsx_runtime5.JSX.Element;
|
|
2966
2961
|
//#endregion
|
|
2967
2962
|
//#region src/utils/form.utils.d.ts
|
|
2968
2963
|
/**
|