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