@marigold/components 16.0.1 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Checkbox-D6DudF_g.mjs +431 -0
- package/dist/Checkbox-DIbAWlSt.cjs +503 -0
- package/dist/{index.js → index.cjs} +1792 -1261
- package/dist/{index.d.ts → index.d.cts} +769 -195
- package/dist/index.d.mts +834 -260
- package/dist/index.mjs +1728 -1191
- package/dist/legacy.cjs +334 -0
- package/dist/legacy.d.cts +60 -0
- package/dist/legacy.d.mts +60 -0
- package/dist/legacy.mjs +333 -0
- package/package.json +52 -38
package/dist/index.d.mts
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
-
import { useAsyncList, useListData } from "
|
|
2
|
-
import { AspectProp, CursorProp, DateFormat, FontSizeProp, FontStyleProp, FontWeightProp,
|
|
3
|
-
import RAC, { BreadcrumbsProps as BreadcrumbsProps$1, ButtonProps as ButtonProps$1, DateValue, DialogProps as DialogProps$1, DisclosurePanelProps, DisclosureProps as DisclosureProps$1, HeadingProps, Key, ProgressBarProps, RouterProvider, SlotProps, TagListProps, TimeValue, TimeValue as TimeValue$1, UNSTABLE_ToastQueue, ValidationResult } from "react-aria-components";
|
|
1
|
+
import RAC, { BreadcrumbsProps as BreadcrumbsProps$1, ButtonProps as ButtonProps$1, DateValue, DialogProps as DialogProps$1, DisclosurePanelProps, DisclosureProps as DisclosureProps$1, DropIndicatorProps, HeadingProps, Key, ProgressBarProps, RouterProvider, SlotProps, TagListProps, TimeValue, TimeValue as TimeValue$1, UNSTABLE_ToastQueue, ValidationResult, useAsyncList, useDragAndDrop, useListData } from "react-aria-components";
|
|
2
|
+
import { AspectProp, CursorProp, DateFormat, FontSizeProp, FontStyleProp, FontWeightProp, HeightProp, LineHeightProp, MaxWidthProp, NumericFormat, PaddingBottomProp, PaddingLeftProp, PaddingRightProp, PaddingSpaceProp, PaddingSpacePropX, PaddingSpacePropY, PaddingTopProp, PlaceItemsProp, SpaceProp, SpacingTokens, TextAlignProp, TextWrapProp, Theme, ThemeProvider, ThemeProviderProps, WhiteSpaceProps, WidthProp, alignment, textAlign, useTheme } from "@marigold/system";
|
|
4
3
|
import * as react8 from "react";
|
|
5
|
-
import { CSSProperties, ComponentPropsWithRef, Dispatch, ElementType, FormEvent, ForwardRefExoticComponent, JSX, Key as Key$1, PropsWithChildren, ReactElement, ReactNode, RefAttributes, SVGProps, SetStateAction } from "react";
|
|
6
|
-
import * as
|
|
4
|
+
import { CSSProperties, ComponentPropsWithRef, Dispatch, ElementType, FormEvent, FormHTMLAttributes, ForwardRefExoticComponent, JSX, Key as Key$1, PropsWithChildren, ReactElement, ReactNode, RefAttributes, SVGProps, SetStateAction } from "react";
|
|
5
|
+
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
7
6
|
import { I18nProvider } from "@react-aria/i18n";
|
|
8
7
|
import { AriaLandmarkRole } from "@react-aria/landmark";
|
|
9
8
|
import { OverlayTriggerProps, OverlayTriggerState } from "react-stately";
|
|
10
|
-
import { AriaTableProps } from "@react-aria/table";
|
|
11
|
-
import { Cell, ColumnProps, RowProps, TableBody, TableHeader, TableStateProps } from "@react-stately/table";
|
|
12
9
|
import { VisuallyHidden } from "@react-aria/visually-hidden";
|
|
10
|
+
import * as _react_types_shared0 from "@react-types/shared";
|
|
13
11
|
import { AriaLabelingProps, Orientation, RefObject, Selection } from "@react-types/shared";
|
|
14
12
|
import { AriaLabelingProps as AriaLabelingProps$1, AriaRegionProps, DistributiveOmit, NonZeroPercentage } from "@marigold/types";
|
|
15
13
|
import { Props } from "react-select";
|
|
@@ -25,8 +23,8 @@ interface AccordionPanelProps {
|
|
|
25
23
|
}
|
|
26
24
|
//#endregion
|
|
27
25
|
//#region src/Accordion/AccordionItem.d.ts
|
|
28
|
-
type RemovedProps$
|
|
29
|
-
interface DisclosureProps extends Omit<RAC.DisclosureProps, RemovedProps$
|
|
26
|
+
type RemovedProps$48 = 'isDisabled' | 'isExpanded';
|
|
27
|
+
interface DisclosureProps extends Omit<RAC.DisclosureProps, RemovedProps$48> {
|
|
30
28
|
/** Whether the item is disabled. */
|
|
31
29
|
disabled?: RAC.DisclosureProps['isDisabled'];
|
|
32
30
|
/** Whether the item is expanded (controlled). */
|
|
@@ -37,11 +35,11 @@ declare const AccordionItem: ({
|
|
|
37
35
|
disabled,
|
|
38
36
|
expanded,
|
|
39
37
|
...props
|
|
40
|
-
}: DisclosureProps) =>
|
|
38
|
+
}: DisclosureProps) => react_jsx_runtime3.JSX.Element;
|
|
41
39
|
//#endregion
|
|
42
40
|
//#region src/Accordion/Accordion.d.ts
|
|
43
|
-
type RemovedProps$
|
|
44
|
-
interface AccordionProps extends Omit<RAC.DisclosureGroupProps, RemovedProps$
|
|
41
|
+
type RemovedProps$47 = 'isDisabled';
|
|
42
|
+
interface AccordionProps extends Omit<RAC.DisclosureGroupProps, RemovedProps$47> {
|
|
45
43
|
variant?: 'default' | 'card' | (string & {});
|
|
46
44
|
size?: string;
|
|
47
45
|
/** Whether all items are disabled. */
|
|
@@ -60,27 +58,90 @@ declare const Accordion: {
|
|
|
60
58
|
stickyHeader,
|
|
61
59
|
iconPosition,
|
|
62
60
|
...props
|
|
63
|
-
}: AccordionProps):
|
|
61
|
+
}: AccordionProps): react_jsx_runtime3.JSX.Element;
|
|
64
62
|
Header: ({
|
|
65
63
|
children
|
|
66
|
-
}: AccordionHeaderProps) =>
|
|
64
|
+
}: AccordionHeaderProps) => react_jsx_runtime3.JSX.Element;
|
|
67
65
|
Content: ({
|
|
68
66
|
children
|
|
69
|
-
}: AccordionPanelProps) =>
|
|
67
|
+
}: AccordionPanelProps) => react_jsx_runtime3.JSX.Element;
|
|
70
68
|
Item: ({
|
|
71
69
|
children,
|
|
72
70
|
disabled,
|
|
73
71
|
expanded,
|
|
74
72
|
...props
|
|
75
|
-
}: DisclosureProps) =>
|
|
73
|
+
}: DisclosureProps) => react_jsx_runtime3.JSX.Element;
|
|
74
|
+
};
|
|
75
|
+
//#endregion
|
|
76
|
+
//#region src/ActionBar/ActionButton.d.ts
|
|
77
|
+
type RemovedProps$46 = 'isDisabled' | 'className' | 'style';
|
|
78
|
+
interface ActionButtonProps extends Omit<RAC.ButtonProps, RemovedProps$46> {
|
|
79
|
+
/**
|
|
80
|
+
* Children of the component (icon and/or text)
|
|
81
|
+
*/
|
|
82
|
+
children?: ReactNode;
|
|
83
|
+
onPress?: RAC.ButtonProps['onPress'];
|
|
84
|
+
}
|
|
85
|
+
declare const ActionButton: ({
|
|
86
|
+
onPress,
|
|
87
|
+
children
|
|
88
|
+
}: ActionButtonProps) => react_jsx_runtime3.JSX.Element;
|
|
89
|
+
//#endregion
|
|
90
|
+
//#region src/ActionBar/ActionBar.d.ts
|
|
91
|
+
interface ActionBarProps {
|
|
92
|
+
/**
|
|
93
|
+
* A list of ActionButtons to display.
|
|
94
|
+
*/
|
|
95
|
+
children?: ReactNode;
|
|
96
|
+
/**
|
|
97
|
+
* The element's unique identifier.
|
|
98
|
+
*/
|
|
99
|
+
id?: string;
|
|
100
|
+
/**
|
|
101
|
+
* Handler that is called when the ActionBar clear button is pressed.
|
|
102
|
+
*/
|
|
103
|
+
onClearSelection?: () => void;
|
|
104
|
+
/**
|
|
105
|
+
* The number of selected items that the ActionBar is currently linked to.
|
|
106
|
+
* If 0, the ActionBar is hidden.
|
|
107
|
+
* @default 0
|
|
108
|
+
*/
|
|
109
|
+
selectedItemCount?: number | 'all';
|
|
110
|
+
/**
|
|
111
|
+
* Variant of the ActionBar.
|
|
112
|
+
*/
|
|
113
|
+
variant?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Size of the ActionBar.
|
|
116
|
+
*/
|
|
117
|
+
size?: string;
|
|
118
|
+
}
|
|
119
|
+
declare const ActionBar: {
|
|
120
|
+
({
|
|
121
|
+
children,
|
|
122
|
+
id,
|
|
123
|
+
onClearSelection,
|
|
124
|
+
selectedItemCount,
|
|
125
|
+
variant,
|
|
126
|
+
size
|
|
127
|
+
}: ActionBarProps): react_jsx_runtime3.JSX.Element | null;
|
|
128
|
+
Button: ({
|
|
129
|
+
onPress,
|
|
130
|
+
children
|
|
131
|
+
}: ActionButtonProps) => react_jsx_runtime3.JSX.Element;
|
|
76
132
|
};
|
|
77
133
|
//#endregion
|
|
78
134
|
//#region src/Aside/Aside.d.ts
|
|
79
|
-
interface AsideProps extends
|
|
135
|
+
interface AsideProps extends AriaRegionProps {
|
|
80
136
|
/**
|
|
81
137
|
* The children of the component.
|
|
82
138
|
*/
|
|
83
|
-
children: [ReactElement
|
|
139
|
+
children: [ReactElement, ReactElement];
|
|
140
|
+
/**
|
|
141
|
+
* Set the spacing between child elements.
|
|
142
|
+
* @remarks `SpacingTokens<Tokens>`
|
|
143
|
+
*/
|
|
144
|
+
space?: SpaceProp<SpacingTokens>['space'];
|
|
84
145
|
/**
|
|
85
146
|
* The side of the aside content.
|
|
86
147
|
* @default left
|
|
@@ -93,6 +154,7 @@ interface AsideProps extends GapSpaceProp, AriaRegionProps {
|
|
|
93
154
|
/**
|
|
94
155
|
* At what percentage of the content's width should the other content wrap beneath it
|
|
95
156
|
* @default 50%
|
|
157
|
+
* @remarks `NonZeroPercentage`
|
|
96
158
|
*/
|
|
97
159
|
wrap?: NonZeroPercentage;
|
|
98
160
|
}
|
|
@@ -102,7 +164,7 @@ declare const Aside: ({
|
|
|
102
164
|
space,
|
|
103
165
|
side,
|
|
104
166
|
wrap
|
|
105
|
-
}: AsideProps) =>
|
|
167
|
+
}: AsideProps) => react_jsx_runtime3.JSX.Element;
|
|
106
168
|
//#endregion
|
|
107
169
|
//#region src/Aspect/Aspect.d.ts
|
|
108
170
|
interface AspectProps extends AspectProp, AriaRegionProps {
|
|
@@ -120,7 +182,7 @@ declare const Aspect: ({
|
|
|
120
182
|
ratio,
|
|
121
183
|
maxWidth,
|
|
122
184
|
children
|
|
123
|
-
}: AspectProps) =>
|
|
185
|
+
}: AspectProps) => react_jsx_runtime3.JSX.Element;
|
|
124
186
|
//#endregion
|
|
125
187
|
//#region src/HelpText/HelpText.d.ts
|
|
126
188
|
interface HelpTextProps {
|
|
@@ -141,11 +203,11 @@ declare const HelpText: ({
|
|
|
141
203
|
description,
|
|
142
204
|
errorMessage,
|
|
143
205
|
...props
|
|
144
|
-
}: HelpTextProps) =>
|
|
206
|
+
}: HelpTextProps) => react_jsx_runtime3.JSX.Element | null;
|
|
145
207
|
//#endregion
|
|
146
208
|
//#region src/FieldBase/FieldBase.d.ts
|
|
147
|
-
interface FieldBaseProps<T
|
|
148
|
-
as?: T
|
|
209
|
+
interface FieldBaseProps<T extends ElementType> extends WidthProp, Pick<HelpTextProps, 'description' | 'errorMessage'> {
|
|
210
|
+
as?: T;
|
|
149
211
|
/**
|
|
150
212
|
* Specifies the label of the field.
|
|
151
213
|
*/
|
|
@@ -170,7 +232,7 @@ type ListBoxItemProps = Omit<RAC.ListBoxItemProps, 'style' | 'className' | 'chil
|
|
|
170
232
|
};
|
|
171
233
|
declare const _ListBoxItem: ({
|
|
172
234
|
...props
|
|
173
|
-
}: ListBoxItemProps) =>
|
|
235
|
+
}: ListBoxItemProps) => react_jsx_runtime3.JSX.Element;
|
|
174
236
|
//#endregion
|
|
175
237
|
//#region src/ListBox/ListBoxSection.d.ts
|
|
176
238
|
interface SectionProps extends Omit<RAC.SectionProps<object>, 'className' | 'style' | 'children'> {
|
|
@@ -187,7 +249,7 @@ declare const _Section: ({
|
|
|
187
249
|
header,
|
|
188
250
|
children,
|
|
189
251
|
...props
|
|
190
|
-
}: SectionProps) =>
|
|
252
|
+
}: SectionProps) => react_jsx_runtime3.JSX.Element;
|
|
191
253
|
//#endregion
|
|
192
254
|
//#region src/ListBox/ListBox.d.ts
|
|
193
255
|
interface ListBoxProps extends Omit<RAC.ListBoxProps<object>, 'className' | 'style'> {
|
|
@@ -201,12 +263,18 @@ interface ListBoxComponent extends ForwardRefExoticComponent<ListBoxProps & RefA
|
|
|
201
263
|
declare const _ListBox: ListBoxComponent;
|
|
202
264
|
//#endregion
|
|
203
265
|
//#region src/Autocomplete/Autocomplete.d.ts
|
|
204
|
-
type RemovedProps$
|
|
205
|
-
interface AutocompleteProps extends Omit<RAC.ComboBoxProps<object>, RemovedProps$
|
|
266
|
+
type RemovedProps$45 = 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'inputValue' | 'onInputChange' | 'defaultValue' | 'validate' | 'validationState' | 'slot';
|
|
267
|
+
interface AutocompleteProps extends Omit<RAC.ComboBoxProps<object>, RemovedProps$45>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
206
268
|
/**
|
|
207
269
|
* The value of the input (uncontrolled).
|
|
208
270
|
*/
|
|
209
271
|
defaultValue?: RAC.ComboBoxProps<object>['defaultInputValue'];
|
|
272
|
+
/**
|
|
273
|
+
* Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
|
|
274
|
+
* @default 'full'
|
|
275
|
+
* @remarks `WidthProp`
|
|
276
|
+
*/
|
|
277
|
+
width?: WidthProp['width'];
|
|
210
278
|
/**
|
|
211
279
|
* The value of the input (controlled).
|
|
212
280
|
*/
|
|
@@ -292,11 +360,11 @@ declare const Badge: ({
|
|
|
292
360
|
size,
|
|
293
361
|
children,
|
|
294
362
|
...props
|
|
295
|
-
}: BadgeProps) =>
|
|
363
|
+
}: BadgeProps) => react_jsx_runtime3.JSX.Element;
|
|
296
364
|
//#endregion
|
|
297
365
|
//#region src/Breadcrumbs/BreadcrumbsItem.d.ts
|
|
298
|
-
type RemovedProps$
|
|
299
|
-
interface BreadcrumbsItemProps extends Omit<RAC.BreadcrumbProps, RemovedProps$
|
|
366
|
+
type RemovedProps$44 = 'className' | 'style';
|
|
367
|
+
interface BreadcrumbsItemProps extends Omit<RAC.BreadcrumbProps, RemovedProps$44> {
|
|
300
368
|
variant?: 'default' | (string & {});
|
|
301
369
|
size?: 'small' | 'default' | 'large' | (string & {});
|
|
302
370
|
/**
|
|
@@ -311,8 +379,8 @@ interface BreadcrumbsItemProps extends Omit<RAC.BreadcrumbProps, RemovedProps$35
|
|
|
311
379
|
declare const BreadcrumbsItem: (_: BreadcrumbsItemProps) => null;
|
|
312
380
|
//#endregion
|
|
313
381
|
//#region src/Breadcrumbs/Breadcrumbs.d.ts
|
|
314
|
-
type RemovedProps$
|
|
315
|
-
interface BreadcrumbsProps extends Omit<BreadcrumbsProps$1<object>, RemovedProps$
|
|
382
|
+
type RemovedProps$43 = 'className' | 'style' | 'children' | 'isDisabled';
|
|
383
|
+
interface BreadcrumbsProps extends Omit<BreadcrumbsProps$1<object>, RemovedProps$43> {
|
|
316
384
|
variant?: 'default' | (string & {});
|
|
317
385
|
size?: 'small' | 'default' | 'large' | (string & {});
|
|
318
386
|
/**
|
|
@@ -340,12 +408,15 @@ interface BreakoutProps extends AriaRegionProps {
|
|
|
340
408
|
}
|
|
341
409
|
declare const Breakout: ({
|
|
342
410
|
children
|
|
343
|
-
}: BreakoutProps) =>
|
|
411
|
+
}: BreakoutProps) => react_jsx_runtime3.JSX.Element;
|
|
344
412
|
//#endregion
|
|
345
413
|
//#region src/Button/Button.d.ts
|
|
346
|
-
type RemovedProps$
|
|
347
|
-
interface ButtonProps extends Omit<RAC.ButtonProps, RemovedProps$
|
|
414
|
+
type RemovedProps$42 = 'isDisabled' | 'isPending' | 'className' | 'style';
|
|
415
|
+
interface ButtonProps extends Omit<RAC.ButtonProps, RemovedProps$42> {
|
|
348
416
|
variant?: 'primary' | 'secondary' | 'destructive' | 'destructive-ghost' | 'ghost' | 'link' | (string & {});
|
|
417
|
+
/**
|
|
418
|
+
* @internal
|
|
419
|
+
*/
|
|
349
420
|
size?: 'default' | 'small' | 'large' | 'icon' | (string & {});
|
|
350
421
|
/**
|
|
351
422
|
* If true, the element stretches to fill the available width.
|
|
@@ -370,8 +441,8 @@ interface ButtonProps extends Omit<RAC.ButtonProps, RemovedProps$33> {
|
|
|
370
441
|
declare const _Button: react8.ForwardRefExoticComponent<ButtonProps & react8.RefAttributes<HTMLButtonElement>>;
|
|
371
442
|
//#endregion
|
|
372
443
|
//#region src/Calendar/Calendar.d.ts
|
|
373
|
-
type RemovedProps$
|
|
374
|
-
interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$
|
|
444
|
+
type RemovedProps$41 = 'isDateUnavailable' | 'isDisabled' | 'isReadOnly' | 'isInvalid' | 'errorMessage' | 'className' | 'style';
|
|
445
|
+
interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$41> {
|
|
375
446
|
/**
|
|
376
447
|
* Disables the Calendar.
|
|
377
448
|
* @default false
|
|
@@ -387,12 +458,27 @@ interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$
|
|
|
387
458
|
/**
|
|
388
459
|
* Sets the width of the calendar. You can see allowed tokens here: https://tailwindcss.com/docs/width
|
|
389
460
|
* @default fit
|
|
461
|
+
* @remarks `WidthProp`
|
|
390
462
|
*/
|
|
391
463
|
width?: WidthProp['width'];
|
|
392
464
|
/**
|
|
393
465
|
* Callback that is called for each date of the calendar. If it returns true, then the date is unavailable.
|
|
394
466
|
*/
|
|
395
467
|
dateUnavailable?: RAC.CalendarProps<DateValue>['isDateUnavailable'];
|
|
468
|
+
/**
|
|
469
|
+
* The number of months to display at once. Up to 3 months are supported.
|
|
470
|
+
* @default { months: 1 }
|
|
471
|
+
*/
|
|
472
|
+
visibleDuration?: {
|
|
473
|
+
months: number;
|
|
474
|
+
};
|
|
475
|
+
/**
|
|
476
|
+
* Controls how the calendar pages when navigating.
|
|
477
|
+
* - 'single': Page by one month at a time
|
|
478
|
+
* - 'visible': Page by the number of visible months
|
|
479
|
+
* @default 'visible'
|
|
480
|
+
*/
|
|
481
|
+
pageBehavior?: 'single' | 'visible';
|
|
396
482
|
}
|
|
397
483
|
declare const _Calendar: ({
|
|
398
484
|
disabled,
|
|
@@ -401,38 +487,70 @@ declare const _Calendar: ({
|
|
|
401
487
|
variant,
|
|
402
488
|
width,
|
|
403
489
|
dateUnavailable,
|
|
404
|
-
minValue
|
|
405
|
-
maxValue
|
|
490
|
+
minValue,
|
|
491
|
+
maxValue,
|
|
492
|
+
visibleDuration,
|
|
493
|
+
pageBehavior,
|
|
406
494
|
...rest
|
|
407
|
-
}: CalendarProps) =>
|
|
495
|
+
}: CalendarProps) => react_jsx_runtime3.JSX.Element;
|
|
408
496
|
//#endregion
|
|
409
497
|
//#region src/Card/Card.d.ts
|
|
410
|
-
interface CardProps
|
|
498
|
+
interface CardProps {
|
|
411
499
|
children?: ReactNode;
|
|
412
500
|
variant?: string;
|
|
413
|
-
size?:
|
|
501
|
+
size?: string;
|
|
414
502
|
/**
|
|
415
|
-
*
|
|
503
|
+
* Stretch to fill space horizontally.
|
|
504
|
+
* @default false
|
|
505
|
+
*/
|
|
506
|
+
stretch?: boolean;
|
|
507
|
+
/**
|
|
508
|
+
* Set the spacing between child elements. You can see allowed tokens [here](../../foundations/design-token#spacing).
|
|
509
|
+
* @remarks `SpaceProp<SpacingTokens>`
|
|
416
510
|
*/
|
|
417
|
-
space?:
|
|
511
|
+
space?: SpaceProp<SpacingTokens>['space'];
|
|
418
512
|
/**
|
|
419
513
|
* Padding of the component. You can see allowed tokens [here](../../foundations/design-token#spacing).
|
|
514
|
+
* @remarks `PaddingSpaceProp`
|
|
420
515
|
*/
|
|
421
516
|
p?: PaddingSpaceProp['space'];
|
|
422
517
|
/**
|
|
423
518
|
* Padding horizontal (left and right) of the component.
|
|
519
|
+
* @remarks `PaddingSpacePropX`
|
|
424
520
|
*/
|
|
425
521
|
px?: PaddingSpacePropX['spaceX'];
|
|
426
522
|
/**
|
|
427
523
|
* Padding vertical (top and bottom) of the component. You can see allowed tokens [here](../../foundations/design-token#spacing).
|
|
524
|
+
* @remarks `PaddingSpacePropY`
|
|
428
525
|
*/
|
|
429
526
|
py?: PaddingSpacePropY['spaceY'];
|
|
527
|
+
/**
|
|
528
|
+
* Set the right padding for the element. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
|
|
529
|
+
* @remarks `PaddingRightProp`
|
|
530
|
+
*/
|
|
531
|
+
pr?: PaddingRightProp['pr'];
|
|
532
|
+
/**
|
|
533
|
+
* Set the left padding for the element. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
|
|
534
|
+
* @remarks `PaddingLeftProp`
|
|
535
|
+
*/
|
|
536
|
+
pl?: PaddingLeftProp['pl'];
|
|
537
|
+
/**
|
|
538
|
+
* Set the top padding for the element. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
|
|
539
|
+
* @remarks `PaddingTopProp`
|
|
540
|
+
*/
|
|
541
|
+
pt?: PaddingTopProp['pt'];
|
|
542
|
+
/**
|
|
543
|
+
* Set the bottom padding for the element. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
|
|
544
|
+
* @remarks `PaddingBottomProp`
|
|
545
|
+
*/
|
|
546
|
+
pb?: PaddingBottomProp['pb'];
|
|
430
547
|
}
|
|
431
548
|
declare const Card: ({
|
|
432
549
|
children,
|
|
433
550
|
variant,
|
|
434
551
|
size,
|
|
435
552
|
space,
|
|
553
|
+
stretch,
|
|
436
554
|
p,
|
|
437
555
|
px,
|
|
438
556
|
py,
|
|
@@ -441,10 +559,15 @@ declare const Card: ({
|
|
|
441
559
|
pl,
|
|
442
560
|
pr,
|
|
443
561
|
...props
|
|
444
|
-
}: CardProps) =>
|
|
562
|
+
}: CardProps) => react_jsx_runtime3.JSX.Element;
|
|
445
563
|
//#endregion
|
|
446
564
|
//#region src/Center/Center.d.ts
|
|
447
|
-
interface CenterProps extends
|
|
565
|
+
interface CenterProps extends AriaRegionProps {
|
|
566
|
+
/**
|
|
567
|
+
* Set the spacing between child elements.
|
|
568
|
+
* @remarks `SpacingTokens<Tokens>`
|
|
569
|
+
*/
|
|
570
|
+
space?: SpaceProp<SpacingTokens>['space'];
|
|
448
571
|
children?: ReactNode;
|
|
449
572
|
/**
|
|
450
573
|
* The maximum width of the container.
|
|
@@ -457,11 +580,11 @@ declare const Center: ({
|
|
|
457
580
|
space,
|
|
458
581
|
children,
|
|
459
582
|
...props
|
|
460
|
-
}: CenterProps) =>
|
|
583
|
+
}: CenterProps) => react_jsx_runtime3.JSX.Element;
|
|
461
584
|
//#endregion
|
|
462
585
|
//#region src/Checkbox/CheckboxGroup.d.ts
|
|
463
|
-
type RemovedProps$
|
|
464
|
-
interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$
|
|
586
|
+
type RemovedProps$40 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly';
|
|
587
|
+
interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$40>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
465
588
|
/**
|
|
466
589
|
* The children of the component
|
|
467
590
|
*/
|
|
@@ -472,6 +595,7 @@ interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$3
|
|
|
472
595
|
* Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
|
|
473
596
|
*
|
|
474
597
|
* @default full
|
|
598
|
+
* @remarks `WidthProp`
|
|
475
599
|
*/
|
|
476
600
|
width?: WidthProp['width'];
|
|
477
601
|
/**
|
|
@@ -525,11 +649,11 @@ declare const _CheckboxGroup: ({
|
|
|
525
649
|
orientation,
|
|
526
650
|
collapseAt,
|
|
527
651
|
...rest
|
|
528
|
-
}: CheckboxGroupProps) =>
|
|
652
|
+
}: CheckboxGroupProps) => react_jsx_runtime3.JSX.Element;
|
|
529
653
|
//#endregion
|
|
530
654
|
//#region src/Checkbox/Checkbox.d.ts
|
|
531
|
-
type RemovedProps$
|
|
532
|
-
interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$
|
|
655
|
+
type RemovedProps$39 = 'children' | 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'isSelected' | 'isIndeterminate' | 'defaultSelected';
|
|
656
|
+
interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$39> {
|
|
533
657
|
variant?: string;
|
|
534
658
|
size?: string;
|
|
535
659
|
/**
|
|
@@ -620,24 +744,29 @@ declare const Collapsible: {
|
|
|
620
744
|
children,
|
|
621
745
|
unstyled,
|
|
622
746
|
...props
|
|
623
|
-
}: CollapsibleProps):
|
|
747
|
+
}: CollapsibleProps): react_jsx_runtime3.JSX.Element;
|
|
624
748
|
Trigger: ({
|
|
625
749
|
variant,
|
|
626
750
|
size,
|
|
627
751
|
children,
|
|
628
752
|
level,
|
|
629
753
|
...props
|
|
630
|
-
}: CollapsibleProps$1) =>
|
|
754
|
+
}: CollapsibleProps$1) => react_jsx_runtime3.JSX.Element;
|
|
631
755
|
Content: ({
|
|
632
756
|
variant,
|
|
633
757
|
size,
|
|
634
758
|
children,
|
|
635
759
|
...props
|
|
636
|
-
}: CollapsibleContentProps) =>
|
|
760
|
+
}: CollapsibleContentProps) => react_jsx_runtime3.JSX.Element;
|
|
637
761
|
};
|
|
638
762
|
//#endregion
|
|
639
763
|
//#region src/Columns/Columns.d.ts
|
|
640
|
-
interface ColumnsProps extends
|
|
764
|
+
interface ColumnsProps extends AriaRegionProps {
|
|
765
|
+
/**
|
|
766
|
+
* Set the spacing between child elements.
|
|
767
|
+
* @remarks `SpacingTokens<Tokens>`
|
|
768
|
+
*/
|
|
769
|
+
space?: SpaceProp<SpacingTokens>['space'];
|
|
641
770
|
/**
|
|
642
771
|
* The children of the component.
|
|
643
772
|
*/
|
|
@@ -663,13 +792,17 @@ declare const Columns: ({
|
|
|
663
792
|
stretch,
|
|
664
793
|
children,
|
|
665
794
|
...props
|
|
666
|
-
}: ColumnsProps) =>
|
|
795
|
+
}: ColumnsProps) => react_jsx_runtime3.JSX.Element;
|
|
667
796
|
//#endregion
|
|
668
797
|
//#region src/ComboBox/ComboBox.d.ts
|
|
669
|
-
type RemovedProps$
|
|
670
|
-
interface ComboBoxProps extends Omit<RAC.ComboBoxProps<any>, RemovedProps$
|
|
798
|
+
type RemovedProps$38 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'defaultInputValue' | 'inputValue' | 'onInputChange';
|
|
799
|
+
interface ComboBoxProps extends Omit<RAC.ComboBoxProps<any>, RemovedProps$38>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
671
800
|
variant?: string;
|
|
672
801
|
size?: string;
|
|
802
|
+
/**
|
|
803
|
+
* @remarks `WidthProp`
|
|
804
|
+
*/
|
|
805
|
+
width?: FieldBaseProps<'label'>['width'];
|
|
673
806
|
/**
|
|
674
807
|
* If `true`, the input is disabled.
|
|
675
808
|
* @default false
|
|
@@ -743,7 +876,12 @@ declare const gridColsAlign: {
|
|
|
743
876
|
center: string;
|
|
744
877
|
right: string;
|
|
745
878
|
};
|
|
746
|
-
interface ContainerProps extends
|
|
879
|
+
interface ContainerProps extends AriaRegionProps {
|
|
880
|
+
/**
|
|
881
|
+
* Set the spacing between child elements.
|
|
882
|
+
* @remarks `SpacingTokens<Tokens>`
|
|
883
|
+
*/
|
|
884
|
+
space?: SpaceProp<SpacingTokens>['space'];
|
|
747
885
|
children?: ReactNode;
|
|
748
886
|
/**
|
|
749
887
|
* Width of the container.
|
|
@@ -767,7 +905,7 @@ declare const Container: ({
|
|
|
767
905
|
space,
|
|
768
906
|
children,
|
|
769
907
|
...props
|
|
770
|
-
}: ContainerProps) =>
|
|
908
|
+
}: ContainerProps) => react_jsx_runtime3.JSX.Element;
|
|
771
909
|
//#endregion
|
|
772
910
|
//#region src/icons/Icons.types.d.ts
|
|
773
911
|
interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'width' | 'height'> {
|
|
@@ -784,7 +922,7 @@ declare const ContextualHelpContent: ({
|
|
|
784
922
|
children,
|
|
785
923
|
variant,
|
|
786
924
|
size
|
|
787
|
-
}: ContextualHelpContentProps) =>
|
|
925
|
+
}: ContextualHelpContentProps) => react_jsx_runtime3.JSX.Element;
|
|
788
926
|
//#endregion
|
|
789
927
|
//#region src/ContextualHelp/ContextualHelpTitle.d.ts
|
|
790
928
|
interface ContextualHelpTitleProps {
|
|
@@ -796,7 +934,7 @@ declare const ContextualHelpTitle: ({
|
|
|
796
934
|
children,
|
|
797
935
|
variant,
|
|
798
936
|
size
|
|
799
|
-
}: ContextualHelpTitleProps) =>
|
|
937
|
+
}: ContextualHelpTitleProps) => react_jsx_runtime3.JSX.Element;
|
|
800
938
|
//#endregion
|
|
801
939
|
//#region src/ContextualHelp/ContextualHelp.d.ts
|
|
802
940
|
declare const icons$1: {
|
|
@@ -804,12 +942,12 @@ declare const icons$1: {
|
|
|
804
942
|
size,
|
|
805
943
|
className,
|
|
806
944
|
...props
|
|
807
|
-
}: IconProps) =>
|
|
945
|
+
}: IconProps) => react_jsx_runtime3.JSX.Element;
|
|
808
946
|
info: ({
|
|
809
947
|
size,
|
|
810
948
|
className,
|
|
811
949
|
...props
|
|
812
|
-
}: IconProps) =>
|
|
950
|
+
}: IconProps) => react_jsx_runtime3.JSX.Element;
|
|
813
951
|
};
|
|
814
952
|
interface ContextualHelpComponent extends ForwardRefExoticComponent<ContextualHelpProps & RefAttributes<HTMLInputElement>> {
|
|
815
953
|
/**
|
|
@@ -828,7 +966,7 @@ type Placement = 'top' | 'bottom' | 'left' | 'right' | 'top start' | 'bottom sta
|
|
|
828
966
|
*/
|
|
829
967
|
interface ContextualHelpProps {
|
|
830
968
|
/** Size of the button and popover. */
|
|
831
|
-
size?:
|
|
969
|
+
size?: string;
|
|
832
970
|
/** Content rendered inside the popover. */
|
|
833
971
|
children: ReactNode;
|
|
834
972
|
/** Visual variant of the icon (e.g. info or help). */
|
|
@@ -851,8 +989,8 @@ interface ContextualHelpProps {
|
|
|
851
989
|
declare const _ContextualHelp: ContextualHelpComponent;
|
|
852
990
|
//#endregion
|
|
853
991
|
//#region src/DateField/DateField.d.ts
|
|
854
|
-
type RemovedProps$
|
|
855
|
-
interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProps$
|
|
992
|
+
type RemovedProps$37 = 'className' | 'isRequired' | 'isDisabled' | 'isInvalid' | 'isReadOnly' | 'label' | 'children' | 'style';
|
|
993
|
+
interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProps$37>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
856
994
|
variant?: string;
|
|
857
995
|
size?: string;
|
|
858
996
|
/**
|
|
@@ -888,8 +1026,8 @@ interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProp
|
|
|
888
1026
|
declare const _DateField: react8.ForwardRefExoticComponent<DateFieldProps & react8.RefAttributes<HTMLInputElement>>;
|
|
889
1027
|
//#endregion
|
|
890
1028
|
//#region src/DatePicker/DatePicker.d.ts
|
|
891
|
-
type RemovedProps$
|
|
892
|
-
interface DatePickerProps extends Omit<RAC.DatePickerProps<DateValue>, RemovedProps$
|
|
1029
|
+
type RemovedProps$36 = 'isDisabled' | 'isDateUnavailable' | 'isReadOnly' | 'isRequired' | 'isInvalid' | 'style' | 'className' | 'isOpen';
|
|
1030
|
+
interface DatePickerProps extends Omit<RAC.DatePickerProps<DateValue>, RemovedProps$36>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
893
1031
|
/**
|
|
894
1032
|
* Callback that is called for each date of the calendar. If it returns true, then the date is unavailable.
|
|
895
1033
|
*/
|
|
@@ -923,13 +1061,14 @@ interface DatePickerProps extends Omit<RAC.DatePickerProps<DateValue>, RemovedPr
|
|
|
923
1061
|
size?: string;
|
|
924
1062
|
/**
|
|
925
1063
|
* Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
|
|
1064
|
+
* @remarks `WidthProp`
|
|
926
1065
|
*/
|
|
927
1066
|
width?: WidthProp['width'];
|
|
928
1067
|
}
|
|
929
1068
|
declare const _DatePicker: react8.ForwardRefExoticComponent<DatePickerProps & react8.RefAttributes<HTMLDivElement>>;
|
|
930
1069
|
//#endregion
|
|
931
1070
|
//#region src/Overlay/Modal.d.ts
|
|
932
|
-
interface ModalProps extends RAC.ModalOverlayProps {
|
|
1071
|
+
interface ModalProps extends Omit<RAC.ModalOverlayProps, 'render'> {
|
|
933
1072
|
/** Whether the overlay is open by default (controlled). */
|
|
934
1073
|
open?: boolean;
|
|
935
1074
|
/**
|
|
@@ -959,7 +1098,7 @@ declare const DialogActions: ({
|
|
|
959
1098
|
variant,
|
|
960
1099
|
size,
|
|
961
1100
|
children
|
|
962
|
-
}: DialogActions) =>
|
|
1101
|
+
}: DialogActions) => react_jsx_runtime3.JSX.Element;
|
|
963
1102
|
//#endregion
|
|
964
1103
|
//#region src/Dialog/DialogContent.d.ts
|
|
965
1104
|
interface DialogContentProps {
|
|
@@ -974,7 +1113,7 @@ declare const DialogContent: ({
|
|
|
974
1113
|
variant,
|
|
975
1114
|
size,
|
|
976
1115
|
children
|
|
977
|
-
}: DialogContentProps) =>
|
|
1116
|
+
}: DialogContentProps) => react_jsx_runtime3.JSX.Element;
|
|
978
1117
|
//#endregion
|
|
979
1118
|
//#region src/Dialog/DialogTitle.d.ts
|
|
980
1119
|
interface DialogTitleProps {
|
|
@@ -987,7 +1126,7 @@ declare const DialogTitle: ({
|
|
|
987
1126
|
variant,
|
|
988
1127
|
size,
|
|
989
1128
|
children
|
|
990
|
-
}: DialogTitleProps) =>
|
|
1129
|
+
}: DialogTitleProps) => react_jsx_runtime3.JSX.Element;
|
|
991
1130
|
//#endregion
|
|
992
1131
|
//#region src/Dialog/Context.d.ts
|
|
993
1132
|
interface DialogContextProps extends RAC.ModalOverlayProps {
|
|
@@ -996,8 +1135,8 @@ interface DialogContextProps extends RAC.ModalOverlayProps {
|
|
|
996
1135
|
}
|
|
997
1136
|
//#endregion
|
|
998
1137
|
//#region src/Dialog/DialogTrigger.d.ts
|
|
999
|
-
type RemovedProps$
|
|
1000
|
-
interface DialogTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'>, Omit<DialogContextProps, RemovedProps$
|
|
1138
|
+
type RemovedProps$35 = 'children' | 'isOpen' | 'isDismissable' | 'isKeyboardDismissDisabled';
|
|
1139
|
+
interface DialogTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen' | 'render'>, Omit<DialogContextProps, RemovedProps$35> {
|
|
1001
1140
|
/** Whether the overlay is open by default (controlled). */
|
|
1002
1141
|
open?: boolean;
|
|
1003
1142
|
}
|
|
@@ -1009,7 +1148,7 @@ declare const _DialogTrigger: ({
|
|
|
1009
1148
|
}: DialogTriggerProps) => ReactNode;
|
|
1010
1149
|
//#endregion
|
|
1011
1150
|
//#region src/Dialog/Dialog.d.ts
|
|
1012
|
-
interface DialogProps extends Omit<RAC.DialogProps, 'className' | 'style'>, Pick<ModalProps, 'open' | 'onOpenChange'> {
|
|
1151
|
+
interface DialogProps extends Omit<RAC.DialogProps, 'className' | 'style' | 'render'>, Pick<ModalProps, 'open' | 'onOpenChange'> {
|
|
1013
1152
|
variant?: string;
|
|
1014
1153
|
size?: 'xsmall' | 'small' | 'medium' | (string & {});
|
|
1015
1154
|
/**
|
|
@@ -1068,7 +1207,7 @@ declare const ConfirmationDialog: {
|
|
|
1068
1207
|
variant,
|
|
1069
1208
|
size,
|
|
1070
1209
|
...props
|
|
1071
|
-
}: ConfirmationDialogProps):
|
|
1210
|
+
}: ConfirmationDialogProps): react_jsx_runtime3.JSX.Element;
|
|
1072
1211
|
Trigger: ({
|
|
1073
1212
|
open,
|
|
1074
1213
|
dismissable,
|
|
@@ -1086,18 +1225,18 @@ type ConfirmationFn = (props: ConfirmationConfig) => Promise<ConfirmationResult>
|
|
|
1086
1225
|
declare const ConfirmationContext: react8.Context<ConfirmationFn | null>;
|
|
1087
1226
|
declare const ConfirmationProvider: ({
|
|
1088
1227
|
children
|
|
1089
|
-
}: PropsWithChildren) =>
|
|
1228
|
+
}: PropsWithChildren) => react_jsx_runtime3.JSX.Element;
|
|
1090
1229
|
declare const useConfirmation: () => ConfirmationFn;
|
|
1091
1230
|
//#endregion
|
|
1092
1231
|
//#region src/Divider/Divider.d.ts
|
|
1093
|
-
type RemovedProps$
|
|
1094
|
-
interface DividerProps extends Omit<RAC.SeparatorProps, RemovedProps$
|
|
1232
|
+
type RemovedProps$34 = 'className' | 'style';
|
|
1233
|
+
interface DividerProps extends Omit<RAC.SeparatorProps, RemovedProps$34> {
|
|
1095
1234
|
variant?: 'default' | 'bold' | (string & {});
|
|
1096
1235
|
}
|
|
1097
1236
|
declare const _Divider: ({
|
|
1098
1237
|
variant,
|
|
1099
1238
|
...props
|
|
1100
|
-
}: DividerProps) =>
|
|
1239
|
+
}: DividerProps) => react_jsx_runtime3.JSX.Element;
|
|
1101
1240
|
//#endregion
|
|
1102
1241
|
//#region src/Drawer/DrawerTrigger.d.ts
|
|
1103
1242
|
interface DrawerTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'> {
|
|
@@ -1141,7 +1280,7 @@ declare const DrawerActions: ({
|
|
|
1141
1280
|
variant,
|
|
1142
1281
|
size,
|
|
1143
1282
|
children
|
|
1144
|
-
}: DrawerActions) =>
|
|
1283
|
+
}: DrawerActions) => react_jsx_runtime3.JSX.Element;
|
|
1145
1284
|
//#endregion
|
|
1146
1285
|
//#region src/Drawer/Drawer.d.ts
|
|
1147
1286
|
interface DrawerProps extends Omit<DialogProps$1, 'className' | 'style' | 'isOpen' | 'role'> {
|
|
@@ -1188,32 +1327,59 @@ declare const Drawer: {
|
|
|
1188
1327
|
role,
|
|
1189
1328
|
placement,
|
|
1190
1329
|
...props
|
|
1191
|
-
}: DrawerProps):
|
|
1330
|
+
}: DrawerProps): react_jsx_runtime3.JSX.Element;
|
|
1192
1331
|
Trigger: ({
|
|
1193
1332
|
open,
|
|
1194
1333
|
children,
|
|
1195
1334
|
...props
|
|
1196
|
-
}: DrawerTriggerProps) =>
|
|
1335
|
+
}: DrawerTriggerProps) => react_jsx_runtime3.JSX.Element;
|
|
1197
1336
|
Title: ({
|
|
1198
1337
|
variant,
|
|
1199
1338
|
size,
|
|
1200
1339
|
children
|
|
1201
|
-
}: DrawerTitleProps) =>
|
|
1340
|
+
}: DrawerTitleProps) => react_jsx_runtime3.JSX.Element;
|
|
1202
1341
|
Content: ({
|
|
1203
1342
|
variant,
|
|
1204
1343
|
size,
|
|
1205
1344
|
children
|
|
1206
|
-
}: DrawerContentProps) =>
|
|
1345
|
+
}: DrawerContentProps) => react_jsx_runtime3.JSX.Element;
|
|
1207
1346
|
Actions: ({
|
|
1208
1347
|
variant,
|
|
1209
1348
|
size,
|
|
1210
1349
|
children
|
|
1211
|
-
}: DrawerActions) =>
|
|
1350
|
+
}: DrawerActions) => react_jsx_runtime3.JSX.Element;
|
|
1212
1351
|
};
|
|
1213
1352
|
//#endregion
|
|
1353
|
+
//#region src/EmptyState/EmptyState.d.ts
|
|
1354
|
+
interface EmptyStateProps {
|
|
1355
|
+
/**
|
|
1356
|
+
* Title of the empty state.
|
|
1357
|
+
*/
|
|
1358
|
+
title: ReactNode;
|
|
1359
|
+
/**
|
|
1360
|
+
* Description text for the empty state.
|
|
1361
|
+
* Use clear microcopy to explain why no information is shown, how this could be solved by the user, if possible.
|
|
1362
|
+
*/
|
|
1363
|
+
description?: ReactNode;
|
|
1364
|
+
/**
|
|
1365
|
+
* Optional action element (e.g., a button) to help users resolve the empty state.
|
|
1366
|
+
*/
|
|
1367
|
+
action?: ReactNode;
|
|
1368
|
+
variant?: string;
|
|
1369
|
+
size?: string;
|
|
1370
|
+
}
|
|
1371
|
+
declare const EmptyState: ({
|
|
1372
|
+
title,
|
|
1373
|
+
description,
|
|
1374
|
+
action,
|
|
1375
|
+
variant,
|
|
1376
|
+
size,
|
|
1377
|
+
...props
|
|
1378
|
+
}: EmptyStateProps) => react_jsx_runtime3.JSX.Element;
|
|
1379
|
+
//#endregion
|
|
1214
1380
|
//#region src/FileField/FileTrigger.d.ts
|
|
1215
|
-
type RemovedProps$
|
|
1216
|
-
interface FileTriggerProps extends Omit<RAC.FileTriggerProps, RemovedProps$
|
|
1381
|
+
type RemovedProps$33 = 'className' | 'style';
|
|
1382
|
+
interface FileTriggerProps extends Omit<RAC.FileTriggerProps, RemovedProps$33> {
|
|
1217
1383
|
allowsMultiple?: RAC.FileTriggerProps['allowsMultiple'];
|
|
1218
1384
|
acceptedFileType?: RAC.FileTriggerProps['acceptedFileTypes'];
|
|
1219
1385
|
acceptDirectory?: RAC.FileTriggerProps['acceptDirectory'];
|
|
@@ -1235,13 +1401,14 @@ interface FileFieldItemProps {
|
|
|
1235
1401
|
}
|
|
1236
1402
|
//#endregion
|
|
1237
1403
|
//#region src/FileField/FileField.d.ts
|
|
1238
|
-
type RemovedProps$
|
|
1239
|
-
interface FileFieldProps extends Omit<RAC.DropZoneProps, RemovedProps$
|
|
1404
|
+
type RemovedProps$32 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired';
|
|
1405
|
+
interface FileFieldProps extends Omit<RAC.DropZoneProps, RemovedProps$32>, Pick<FieldBaseProps<'input'>, 'label'> {
|
|
1240
1406
|
variant?: string;
|
|
1241
1407
|
size?: string;
|
|
1242
1408
|
/**
|
|
1243
1409
|
* Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
|
|
1244
1410
|
* @default full
|
|
1411
|
+
* @remarks `WidthProp`
|
|
1245
1412
|
*/
|
|
1246
1413
|
width?: WidthProp['width'];
|
|
1247
1414
|
/**
|
|
@@ -1257,6 +1424,10 @@ interface FileFieldProps extends Omit<RAC.DropZoneProps, RemovedProps$23>, Pick<
|
|
|
1257
1424
|
* Whether multiple files can be selected.
|
|
1258
1425
|
*/
|
|
1259
1426
|
multiple?: RAC.FileTriggerProps['allowsMultiple'];
|
|
1427
|
+
/**
|
|
1428
|
+
* The name of the field for form submission.
|
|
1429
|
+
*/
|
|
1430
|
+
name?: string;
|
|
1260
1431
|
}
|
|
1261
1432
|
declare const FileField: {
|
|
1262
1433
|
({
|
|
@@ -1265,27 +1436,28 @@ declare const FileField: {
|
|
|
1265
1436
|
multiple,
|
|
1266
1437
|
width,
|
|
1267
1438
|
label,
|
|
1439
|
+
name,
|
|
1268
1440
|
...props
|
|
1269
|
-
}: FileFieldProps):
|
|
1441
|
+
}: FileFieldProps): react_jsx_runtime3.JSX.Element;
|
|
1270
1442
|
Item: ({
|
|
1271
1443
|
children,
|
|
1272
1444
|
onRemove
|
|
1273
|
-
}: FileFieldItemProps) =>
|
|
1445
|
+
}: FileFieldItemProps) => react_jsx_runtime3.JSX.Element;
|
|
1274
1446
|
};
|
|
1275
1447
|
//#endregion
|
|
1276
1448
|
//#region src/Form/Form.d.ts
|
|
1277
|
-
interface FormProps extends Omit<RAC.FormProps, 'className' | 'style'
|
|
1449
|
+
interface FormProps extends Omit<RAC.FormProps, 'className' | 'style'> {
|
|
1278
1450
|
/**
|
|
1279
1451
|
* Removes the form's visual container so that it does not impact the layout,
|
|
1280
1452
|
* letting child elements render naturally.
|
|
1281
1453
|
*/
|
|
1282
1454
|
unstyled?: boolean;
|
|
1455
|
+
/**
|
|
1456
|
+
* @remarks `MaxWidthProp`
|
|
1457
|
+
*/
|
|
1458
|
+
maxWidth?: MaxWidthProp['maxWidth'];
|
|
1283
1459
|
}
|
|
1284
|
-
declare const _Form:
|
|
1285
|
-
unstyled,
|
|
1286
|
-
maxWidth,
|
|
1287
|
-
...props
|
|
1288
|
-
}: FormProps) => react_jsx_runtime0.JSX.Element;
|
|
1460
|
+
declare const _Form: react8.ForwardRefExoticComponent<FormProps & react8.RefAttributes<HTMLFormElement>>;
|
|
1289
1461
|
//#endregion
|
|
1290
1462
|
//#region src/Grid/GridArea.d.ts
|
|
1291
1463
|
interface GridAreaProps {
|
|
@@ -1301,7 +1473,17 @@ interface GridAreaProps {
|
|
|
1301
1473
|
//#endregion
|
|
1302
1474
|
//#region src/Grid/Grid.d.ts
|
|
1303
1475
|
type TemplateValue = 'none' | 'auto' | 'min-content' | 'max-content' | (string & {}) | number;
|
|
1304
|
-
interface GridProps extends
|
|
1476
|
+
interface GridProps extends AriaRegionProps {
|
|
1477
|
+
/**
|
|
1478
|
+
* Set the spacing between child elements.
|
|
1479
|
+
* @remarks `SpacingTokens<Tokens>`
|
|
1480
|
+
*/
|
|
1481
|
+
space?: SpaceProp<SpacingTokens>['space'];
|
|
1482
|
+
/**
|
|
1483
|
+
* The height of the grid container.
|
|
1484
|
+
* @remarks `HeightProp<Tokens>`
|
|
1485
|
+
*/
|
|
1486
|
+
height?: HeightProp['height'];
|
|
1305
1487
|
/**
|
|
1306
1488
|
* Specifies the named grid areas, much like `grid-template-areas`.
|
|
1307
1489
|
*/
|
|
@@ -1338,15 +1520,15 @@ declare const Grid: {
|
|
|
1338
1520
|
height,
|
|
1339
1521
|
space,
|
|
1340
1522
|
...props
|
|
1341
|
-
}: GridProps):
|
|
1523
|
+
}: GridProps): react_jsx_runtime3.JSX.Element;
|
|
1342
1524
|
Area: ({
|
|
1343
1525
|
name,
|
|
1344
1526
|
children
|
|
1345
|
-
}: GridAreaProps) =>
|
|
1527
|
+
}: GridAreaProps) => react_jsx_runtime3.JSX.Element;
|
|
1346
1528
|
};
|
|
1347
1529
|
//#endregion
|
|
1348
1530
|
//#region src/Headline/Headline.d.ts
|
|
1349
|
-
interface HeadlineProps extends AriaLabelingProps$1, TextAlignProp {
|
|
1531
|
+
interface HeadlineProps extends AriaLabelingProps$1, TextAlignProp, LineHeightProp {
|
|
1350
1532
|
/**
|
|
1351
1533
|
* Set the color of the headline.
|
|
1352
1534
|
*/
|
|
@@ -1373,8 +1555,9 @@ declare const _Headline: ({
|
|
|
1373
1555
|
align,
|
|
1374
1556
|
color,
|
|
1375
1557
|
level,
|
|
1558
|
+
lineHeight,
|
|
1376
1559
|
...props
|
|
1377
|
-
}: HeadlineProps) =>
|
|
1560
|
+
}: HeadlineProps) => react_jsx_runtime3.JSX.Element;
|
|
1378
1561
|
//#endregion
|
|
1379
1562
|
//#region src/IconButton/IconButton.d.ts
|
|
1380
1563
|
interface IconButtonProps extends RAC.ButtonProps {
|
|
@@ -1388,16 +1571,16 @@ declare const IconButton: ({
|
|
|
1388
1571
|
variant,
|
|
1389
1572
|
size,
|
|
1390
1573
|
...props
|
|
1391
|
-
}: IconButtonProps) =>
|
|
1574
|
+
}: IconButtonProps) => react_jsx_runtime3.JSX.Element;
|
|
1392
1575
|
//#endregion
|
|
1393
1576
|
//#region src/Inline/Inline.d.ts
|
|
1394
|
-
declare const inlineAlignmentY:
|
|
1395
|
-
|
|
1396
|
-
|
|
1397
|
-
|
|
1398
|
-
|
|
1399
|
-
|
|
1400
|
-
|
|
1577
|
+
declare const inlineAlignmentY: any;
|
|
1578
|
+
interface InlineProps extends AriaRegionProps {
|
|
1579
|
+
/**
|
|
1580
|
+
* Set the spacing between child elements.
|
|
1581
|
+
* @remarks `SpacingTokens<Tokens>`
|
|
1582
|
+
*/
|
|
1583
|
+
space?: SpaceProp<SpacingTokens>['space'];
|
|
1401
1584
|
/**
|
|
1402
1585
|
* The children of the component.
|
|
1403
1586
|
*/
|
|
@@ -1422,11 +1605,11 @@ declare const Inline: ({
|
|
|
1422
1605
|
alignY,
|
|
1423
1606
|
children,
|
|
1424
1607
|
...props
|
|
1425
|
-
}: InlineProps) =>
|
|
1608
|
+
}: InlineProps) => react_jsx_runtime3.JSX.Element;
|
|
1426
1609
|
//#endregion
|
|
1427
1610
|
//#region src/Input/Input.d.ts
|
|
1428
|
-
type RemovedProps$
|
|
1429
|
-
interface InputProps extends Omit<RAC.InputProps, RemovedProps$
|
|
1611
|
+
type RemovedProps$31 = 'className' | 'style' | 'size';
|
|
1612
|
+
interface InputProps extends Omit<RAC.InputProps, RemovedProps$31> {
|
|
1430
1613
|
icon?: ReactElement<any>;
|
|
1431
1614
|
action?: ReactElement<any>;
|
|
1432
1615
|
variant?: string;
|
|
@@ -1455,16 +1638,19 @@ type InsetProps = (AriaRegionProps & {
|
|
|
1455
1638
|
space?: never;
|
|
1456
1639
|
/**
|
|
1457
1640
|
* Horizontal alignment for the children. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
|
|
1641
|
+
* @remarks `PaddingSpacePropX<Tokens>`
|
|
1458
1642
|
*/
|
|
1459
1643
|
spaceX?: PaddingSpacePropX['spaceX'];
|
|
1460
1644
|
/**
|
|
1461
1645
|
* Vertical alignment for the children. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
|
|
1646
|
+
* @remarks `PaddingSpacePropY<Tokens>`
|
|
1462
1647
|
*/
|
|
1463
1648
|
spaceY?: PaddingSpacePropY['spaceY'];
|
|
1464
1649
|
}) | (AriaRegionProps & {
|
|
1465
1650
|
children: ReactNode;
|
|
1466
1651
|
/**
|
|
1467
1652
|
* The space between the children. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
|
|
1653
|
+
* @remarks `PaddingSpaceProp<Tokens>`
|
|
1468
1654
|
*/
|
|
1469
1655
|
space?: PaddingSpaceProp['space'];
|
|
1470
1656
|
spaceX?: never;
|
|
@@ -1475,11 +1661,11 @@ declare const Inset: ({
|
|
|
1475
1661
|
spaceX,
|
|
1476
1662
|
spaceY,
|
|
1477
1663
|
children
|
|
1478
|
-
}: InsetProps) =>
|
|
1664
|
+
}: InsetProps) => react_jsx_runtime3.JSX.Element;
|
|
1479
1665
|
//#endregion
|
|
1480
1666
|
//#region src/Label/Label.d.ts
|
|
1481
|
-
type RemovedProps$
|
|
1482
|
-
interface LabelProps extends Omit<RAC.LabelProps, RemovedProps$
|
|
1667
|
+
type RemovedProps$30 = 'className';
|
|
1668
|
+
interface LabelProps extends Omit<RAC.LabelProps, RemovedProps$30> {
|
|
1483
1669
|
size?: string;
|
|
1484
1670
|
variant?: string;
|
|
1485
1671
|
}
|
|
@@ -1488,11 +1674,11 @@ declare const _Label: ({
|
|
|
1488
1674
|
variant,
|
|
1489
1675
|
children,
|
|
1490
1676
|
...props
|
|
1491
|
-
}: LabelProps) =>
|
|
1677
|
+
}: LabelProps) => react_jsx_runtime3.JSX.Element;
|
|
1492
1678
|
//#endregion
|
|
1493
1679
|
//#region src/Link/Link.d.ts
|
|
1494
|
-
type RemovedProps$
|
|
1495
|
-
interface LinkProps extends Omit<RAC.LinkProps, RemovedProps$
|
|
1680
|
+
type RemovedProps$29 = 'className' | 'isDisabled' | 'slot';
|
|
1681
|
+
interface LinkProps extends Omit<RAC.LinkProps, RemovedProps$29> {
|
|
1496
1682
|
variant?: 'default' | 'secondary' | (string & {});
|
|
1497
1683
|
size?: string;
|
|
1498
1684
|
/**
|
|
@@ -1504,8 +1690,8 @@ interface LinkProps extends Omit<RAC.LinkProps, RemovedProps$20> {
|
|
|
1504
1690
|
declare const _Link: react8.ForwardRefExoticComponent<LinkProps & react8.RefAttributes<HTMLAnchorElement>>;
|
|
1505
1691
|
//#endregion
|
|
1506
1692
|
//#region src/LinkButton/LinkButton.d.ts
|
|
1507
|
-
type RemovedProps$
|
|
1508
|
-
interface LinkButtonProps extends Omit<RAC.LinkProps, RemovedProps$
|
|
1693
|
+
type RemovedProps$28 = 'isDisabled' | 'isPending' | 'className' | 'style';
|
|
1694
|
+
interface LinkButtonProps extends Omit<RAC.LinkProps, RemovedProps$28> {
|
|
1509
1695
|
variant?: 'primary' | 'secondary' | 'destructive' | 'ghost' | 'link' | (string & {});
|
|
1510
1696
|
size?: 'default' | 'small' | 'large' | 'icon' | (string & {});
|
|
1511
1697
|
/**
|
|
@@ -1554,23 +1740,23 @@ declare const List: {
|
|
|
1554
1740
|
variant,
|
|
1555
1741
|
size,
|
|
1556
1742
|
...props
|
|
1557
|
-
}: ListProps):
|
|
1743
|
+
}: ListProps): react_jsx_runtime3.JSX.Element;
|
|
1558
1744
|
Item: ({
|
|
1559
1745
|
children,
|
|
1560
1746
|
...props
|
|
1561
|
-
}: ListItemProps) =>
|
|
1747
|
+
}: ListItemProps) => react_jsx_runtime3.JSX.Element;
|
|
1562
1748
|
};
|
|
1563
1749
|
//#endregion
|
|
1564
1750
|
//#region src/Menu/MenuItem.d.ts
|
|
1565
|
-
type RemovedProps$
|
|
1566
|
-
interface MenuItemProps extends Omit<RAC.MenuItemProps, RemovedProps$
|
|
1751
|
+
type RemovedProps$27 = 'style' | 'className';
|
|
1752
|
+
interface MenuItemProps extends Omit<RAC.MenuItemProps, RemovedProps$27> {
|
|
1567
1753
|
variant?: 'destructive' | 'default' | (string & {});
|
|
1568
1754
|
size?: string;
|
|
1569
1755
|
}
|
|
1570
1756
|
//#endregion
|
|
1571
1757
|
//#region src/Menu/MenuSection.d.ts
|
|
1572
|
-
type RemovedProps$
|
|
1573
|
-
interface MenuSectionProps extends Omit<RAC.SectionProps<object>, RemovedProps$
|
|
1758
|
+
type RemovedProps$26 = 'className' | 'style' | 'children';
|
|
1759
|
+
interface MenuSectionProps extends Omit<RAC.SectionProps<object>, RemovedProps$26> {
|
|
1574
1760
|
title?: string;
|
|
1575
1761
|
children: ReactNode;
|
|
1576
1762
|
}
|
|
@@ -1584,8 +1770,8 @@ interface PopoverProps extends Omit<RAC.PopoverProps, 'isOpen' | 'isKeyboardDism
|
|
|
1584
1770
|
declare const _Popover: react8.ForwardRefExoticComponent<PopoverProps & react8.RefAttributes<HTMLDivElement>>;
|
|
1585
1771
|
//#endregion
|
|
1586
1772
|
//#region src/Menu/Menu.d.ts
|
|
1587
|
-
type RemovedProps$
|
|
1588
|
-
interface MenuProps extends Omit<RAC.MenuTriggerProps, RemovedProps$
|
|
1773
|
+
type RemovedProps$25 = 'isOpen' | 'className' | 'style' | 'children';
|
|
1774
|
+
interface MenuProps extends Omit<RAC.MenuTriggerProps, RemovedProps$25>, Omit<RAC.MenuProps<object>, RemovedProps$25> {
|
|
1589
1775
|
/**
|
|
1590
1776
|
* Whether the menu is open.
|
|
1591
1777
|
* @default false
|
|
@@ -1626,18 +1812,18 @@ declare const _Menu: {
|
|
|
1626
1812
|
placement,
|
|
1627
1813
|
"aria-label": ariaLabel,
|
|
1628
1814
|
...props
|
|
1629
|
-
}: MenuProps):
|
|
1815
|
+
}: MenuProps): react_jsx_runtime3.JSX.Element;
|
|
1630
1816
|
Item: ({
|
|
1631
1817
|
children,
|
|
1632
1818
|
variant,
|
|
1633
1819
|
size,
|
|
1634
1820
|
...props
|
|
1635
|
-
}: MenuItemProps) =>
|
|
1821
|
+
}: MenuItemProps) => react_jsx_runtime3.JSX.Element;
|
|
1636
1822
|
Section: ({
|
|
1637
1823
|
children,
|
|
1638
1824
|
title,
|
|
1639
1825
|
...props
|
|
1640
|
-
}: MenuSectionProps) =>
|
|
1826
|
+
}: MenuSectionProps) => react_jsx_runtime3.JSX.Element;
|
|
1641
1827
|
};
|
|
1642
1828
|
//#endregion
|
|
1643
1829
|
//#region src/Menu/ActionMenu.d.ts
|
|
@@ -1646,22 +1832,27 @@ declare const ActionMenu: {
|
|
|
1646
1832
|
({
|
|
1647
1833
|
children,
|
|
1648
1834
|
...props
|
|
1649
|
-
}: ActionMenuProps):
|
|
1835
|
+
}: ActionMenuProps): react_jsx_runtime3.JSX.Element;
|
|
1650
1836
|
Item: ({
|
|
1651
1837
|
children,
|
|
1652
1838
|
variant,
|
|
1653
1839
|
size,
|
|
1654
1840
|
...props
|
|
1655
|
-
}: MenuItemProps) =>
|
|
1841
|
+
}: MenuItemProps) => react_jsx_runtime3.JSX.Element;
|
|
1656
1842
|
Section: ({
|
|
1657
1843
|
children,
|
|
1658
1844
|
title,
|
|
1659
1845
|
...props
|
|
1660
|
-
}: MenuSectionProps) =>
|
|
1846
|
+
}: MenuSectionProps) => react_jsx_runtime3.JSX.Element;
|
|
1661
1847
|
};
|
|
1662
1848
|
//#endregion
|
|
1663
1849
|
//#region src/Multiselect/Multiselect.d.ts
|
|
1664
|
-
interface MultipleSelectProps extends Pick<FieldBaseProps<'label'>, '
|
|
1850
|
+
interface MultipleSelectProps extends Pick<FieldBaseProps<'label'>, 'size' | 'variant' | 'label' | 'description' | 'errorMessage'> {
|
|
1851
|
+
/**
|
|
1852
|
+
* Sets the width of the field.
|
|
1853
|
+
* @remarks `WidthProp`
|
|
1854
|
+
*/
|
|
1855
|
+
width?: FieldBaseProps<'label'>['width'];
|
|
1665
1856
|
/**
|
|
1666
1857
|
* If the select should be disabled.
|
|
1667
1858
|
*
|
|
@@ -1767,6 +1958,9 @@ interface MultipleSelectProps extends Pick<FieldBaseProps<'label'>, 'width' | 's
|
|
|
1767
1958
|
*/
|
|
1768
1959
|
ariaLiveMessages?: Props['ariaLiveMessages'];
|
|
1769
1960
|
}
|
|
1961
|
+
/**
|
|
1962
|
+
* @deprecated Use `TagField` instead. Will be removed in a future major version.
|
|
1963
|
+
*/
|
|
1770
1964
|
declare const Multiselect: ({
|
|
1771
1965
|
disabled,
|
|
1772
1966
|
readOnly,
|
|
@@ -1785,16 +1979,17 @@ declare const Multiselect: ({
|
|
|
1785
1979
|
onSelectionChange,
|
|
1786
1980
|
width,
|
|
1787
1981
|
...rest
|
|
1788
|
-
}: MultipleSelectProps) =>
|
|
1982
|
+
}: MultipleSelectProps) => react_jsx_runtime3.JSX.Element;
|
|
1789
1983
|
//#endregion
|
|
1790
1984
|
//#region src/NumberField/NumberField.d.ts
|
|
1791
|
-
type RemovedProps$
|
|
1792
|
-
interface NumberFieldProps extends Omit<RAC.NumberFieldProps, RemovedProps$
|
|
1985
|
+
type RemovedProps$24 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'size';
|
|
1986
|
+
interface NumberFieldProps extends Omit<RAC.NumberFieldProps, RemovedProps$24>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
1793
1987
|
variant?: string;
|
|
1794
1988
|
size?: string;
|
|
1795
1989
|
/**
|
|
1796
1990
|
* Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
|
|
1797
1991
|
* @default full
|
|
1992
|
+
* @remarks `WidthProp`
|
|
1798
1993
|
*/
|
|
1799
1994
|
width?: WidthProp['width'];
|
|
1800
1995
|
/**
|
|
@@ -1831,19 +2026,19 @@ interface NumberFieldProps extends Omit<RAC.NumberFieldProps, RemovedProps$15>,
|
|
|
1831
2026
|
declare const _NumberField: react8.ForwardRefExoticComponent<NumberFieldProps & react8.RefAttributes<HTMLInputElement>>;
|
|
1832
2027
|
//#endregion
|
|
1833
2028
|
//#region src/utils/useRenderProps.d.ts
|
|
1834
|
-
interface StyleRenderProps<T
|
|
2029
|
+
interface StyleRenderProps<T> {
|
|
1835
2030
|
/** 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. */
|
|
1836
|
-
className?: string | ((values: T
|
|
2031
|
+
className?: string | ((values: T & {
|
|
1837
2032
|
defaultClassName: string | undefined;
|
|
1838
2033
|
}) => string);
|
|
1839
2034
|
/** 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. */
|
|
1840
|
-
style?: CSSProperties | ((values: T
|
|
2035
|
+
style?: CSSProperties | ((values: T & {
|
|
1841
2036
|
defaultStyle: CSSProperties;
|
|
1842
2037
|
}) => CSSProperties | undefined);
|
|
1843
2038
|
}
|
|
1844
|
-
interface RenderProps<T
|
|
2039
|
+
interface RenderProps<T> extends StyleRenderProps<T> {
|
|
1845
2040
|
/** The children of the component. A function may be provided to alter the children based on component state. */
|
|
1846
|
-
children?: ReactNode | ((values: T
|
|
2041
|
+
children?: ReactNode | ((values: T & {
|
|
1847
2042
|
defaultChildren: ReactNode | undefined;
|
|
1848
2043
|
}) => ReactNode);
|
|
1849
2044
|
}
|
|
@@ -1913,7 +2108,7 @@ interface NonModalProps extends Omit<OverlayTriggerProps, 'isOpen'>, AriaLabelin
|
|
|
1913
2108
|
declare const NonModal: react8.ForwardRefExoticComponent<Omit<NonModalProps, "ref"> & react8.RefAttributes<HTMLElement>>;
|
|
1914
2109
|
//#endregion
|
|
1915
2110
|
//#region src/Overlay/Underlay.d.ts
|
|
1916
|
-
interface UnderlayProps extends Omit<RAC.ModalOverlayProps, 'isOpen' | 'isDismissable' | 'isKeyboardDismissDisabled' | 'className'> {
|
|
2111
|
+
interface UnderlayProps extends Omit<RAC.ModalOverlayProps, 'isOpen' | 'isDismissable' | 'isKeyboardDismissDisabled' | 'className' | 'render'> {
|
|
1917
2112
|
variant?: string;
|
|
1918
2113
|
size?: string;
|
|
1919
2114
|
open?: boolean;
|
|
@@ -1927,7 +2122,7 @@ declare const Underlay: ({
|
|
|
1927
2122
|
dismissable,
|
|
1928
2123
|
keyboardDismissable,
|
|
1929
2124
|
...rest
|
|
1930
|
-
}: UnderlayProps) =>
|
|
2125
|
+
}: UnderlayProps) => react_jsx_runtime3.JSX.Element;
|
|
1931
2126
|
//#endregion
|
|
1932
2127
|
//#region src/Pagination/Pagination.d.ts
|
|
1933
2128
|
interface PaginationProps {
|
|
@@ -1962,7 +2157,7 @@ declare const _Pagination: ({
|
|
|
1962
2157
|
totalItems,
|
|
1963
2158
|
pageSize,
|
|
1964
2159
|
...props
|
|
1965
|
-
}: PaginationProps) =>
|
|
2160
|
+
}: PaginationProps) => react_jsx_runtime3.JSX.Element;
|
|
1966
2161
|
//#endregion
|
|
1967
2162
|
//#region src/ProgressCircle/ProgressCircle.d.ts
|
|
1968
2163
|
interface ProgressCircleProps extends RAC.ProgressBarProps {
|
|
@@ -1976,19 +2171,19 @@ interface ProgressCircleProps extends RAC.ProgressBarProps {
|
|
|
1976
2171
|
declare const ProgressCircleSvg: ({
|
|
1977
2172
|
size,
|
|
1978
2173
|
variant
|
|
1979
|
-
}: ProgressCircleProps) =>
|
|
2174
|
+
}: ProgressCircleProps) => react_jsx_runtime3.JSX.Element;
|
|
1980
2175
|
declare const ProgressCircle: ({
|
|
1981
2176
|
size,
|
|
1982
2177
|
...props
|
|
1983
|
-
}: ProgressCircleProps) =>
|
|
2178
|
+
}: ProgressCircleProps) => react_jsx_runtime3.JSX.Element;
|
|
1984
2179
|
//#endregion
|
|
1985
2180
|
//#region src/Provider/MarigoldProvider.d.ts
|
|
1986
|
-
type MarigoldProviderProps<T
|
|
1987
|
-
declare function MarigoldProvider<T
|
|
2181
|
+
type MarigoldProviderProps<T extends Theme> = ThemeProviderProps<T>;
|
|
2182
|
+
declare function MarigoldProvider<T extends Theme>({
|
|
1988
2183
|
children,
|
|
1989
2184
|
className,
|
|
1990
2185
|
theme
|
|
1991
|
-
}: MarigoldProviderProps<T
|
|
2186
|
+
}: MarigoldProviderProps<T>): react_jsx_runtime3.JSX.Element;
|
|
1992
2187
|
//#endregion
|
|
1993
2188
|
//#region src/Provider/OverlayContainerProvider.d.ts
|
|
1994
2189
|
interface OverlayContainerProps extends PropsWithChildren {
|
|
@@ -2003,11 +2198,11 @@ interface OverlayContainerProps extends PropsWithChildren {
|
|
|
2003
2198
|
declare const OverlayContainerProvider: ({
|
|
2004
2199
|
container,
|
|
2005
2200
|
children
|
|
2006
|
-
}: OverlayContainerProps) =>
|
|
2201
|
+
}: OverlayContainerProps) => react_jsx_runtime3.JSX.Element;
|
|
2007
2202
|
//#endregion
|
|
2008
2203
|
//#region src/Radio/RadioGroup.d.ts
|
|
2009
|
-
type RemovedProps$
|
|
2010
|
-
interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$
|
|
2204
|
+
type RemovedProps$23 = 'className' | 'style' | 'isDisabled' | 'isInvalid' | 'isRequired' | 'isSelected';
|
|
2205
|
+
interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$23> {
|
|
2011
2206
|
variant?: string;
|
|
2012
2207
|
size?: string;
|
|
2013
2208
|
/**
|
|
@@ -2032,6 +2227,7 @@ interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$14> {
|
|
|
2032
2227
|
/**
|
|
2033
2228
|
* Control the width of the field.
|
|
2034
2229
|
* @default 100%
|
|
2230
|
+
* @remarks `WidthProp`
|
|
2035
2231
|
*/
|
|
2036
2232
|
width?: WidthProp['width'];
|
|
2037
2233
|
/**
|
|
@@ -2087,11 +2283,11 @@ declare const _RadioGroup: ({
|
|
|
2087
2283
|
width,
|
|
2088
2284
|
collapseAt,
|
|
2089
2285
|
...rest
|
|
2090
|
-
}: RadioGroupProps) =>
|
|
2286
|
+
}: RadioGroupProps) => react_jsx_runtime3.JSX.Element;
|
|
2091
2287
|
//#endregion
|
|
2092
2288
|
//#region src/Radio/Radio.d.ts
|
|
2093
|
-
type RemovedProps$
|
|
2094
|
-
interface RadioProps extends Omit<RAC.RadioProps, RemovedProps$
|
|
2289
|
+
type RemovedProps$22 = 'className' | 'style' | 'children' | 'isDisabled';
|
|
2290
|
+
interface RadioProps extends Omit<RAC.RadioProps, RemovedProps$22> {
|
|
2095
2291
|
variant?: string;
|
|
2096
2292
|
size?: string;
|
|
2097
2293
|
/**
|
|
@@ -2116,7 +2312,12 @@ interface RadioComponent extends ForwardRefExoticComponent<RadioProps & RefAttri
|
|
|
2116
2312
|
}
|
|
2117
2313
|
//#endregion
|
|
2118
2314
|
//#region src/Scrollable/Scrollable.d.ts
|
|
2119
|
-
interface ScrollableProps extends
|
|
2315
|
+
interface ScrollableProps extends AriaRegionProps {
|
|
2316
|
+
/**
|
|
2317
|
+
* Set the width of the container.
|
|
2318
|
+
* @remarks `WidthProp<Tokens>`
|
|
2319
|
+
*/
|
|
2320
|
+
width?: WidthProp['width'];
|
|
2120
2321
|
/**
|
|
2121
2322
|
* Children of the layout.
|
|
2122
2323
|
*/
|
|
@@ -2131,11 +2332,11 @@ declare const Scrollable: ({
|
|
|
2131
2332
|
width,
|
|
2132
2333
|
height,
|
|
2133
2334
|
...props
|
|
2134
|
-
}: ScrollableProps) =>
|
|
2335
|
+
}: ScrollableProps) => react_jsx_runtime3.JSX.Element;
|
|
2135
2336
|
//#endregion
|
|
2136
2337
|
//#region src/SearchField/SearchField.d.ts
|
|
2137
|
-
type RemovedProps$
|
|
2138
|
-
interface SearchFieldProps extends Omit<RAC.SearchFieldProps, RemovedProps$
|
|
2338
|
+
type RemovedProps$21 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
|
|
2339
|
+
interface SearchFieldProps extends Omit<RAC.SearchFieldProps, RemovedProps$21>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
2139
2340
|
/**
|
|
2140
2341
|
* Action element to display in the search field.
|
|
2141
2342
|
*/
|
|
@@ -2145,6 +2346,7 @@ interface SearchFieldProps extends Omit<RAC.SearchFieldProps, RemovedProps$12>,
|
|
|
2145
2346
|
/**
|
|
2146
2347
|
* Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
|
|
2147
2348
|
* @default full
|
|
2349
|
+
* @remarks `WidthProp`
|
|
2148
2350
|
*/
|
|
2149
2351
|
width?: WidthProp['width'];
|
|
2150
2352
|
/**
|
|
@@ -2207,22 +2409,22 @@ declare const icons: {
|
|
|
2207
2409
|
size,
|
|
2208
2410
|
className,
|
|
2209
2411
|
...props
|
|
2210
|
-
}: IconProps) =>
|
|
2412
|
+
}: IconProps) => react_jsx_runtime3.JSX.Element;
|
|
2211
2413
|
readonly info: ({
|
|
2212
2414
|
size,
|
|
2213
2415
|
className,
|
|
2214
2416
|
...props
|
|
2215
|
-
}: IconProps) =>
|
|
2417
|
+
}: IconProps) => react_jsx_runtime3.JSX.Element;
|
|
2216
2418
|
readonly warning: ({
|
|
2217
2419
|
size,
|
|
2218
2420
|
className,
|
|
2219
2421
|
...props
|
|
2220
|
-
}: IconProps) =>
|
|
2422
|
+
}: IconProps) => react_jsx_runtime3.JSX.Element;
|
|
2221
2423
|
readonly error: ({
|
|
2222
2424
|
size,
|
|
2223
2425
|
className,
|
|
2224
2426
|
...props
|
|
2225
|
-
}: IconProps) =>
|
|
2427
|
+
}: IconProps) => react_jsx_runtime3.JSX.Element;
|
|
2226
2428
|
};
|
|
2227
2429
|
interface SectionMessageProps {
|
|
2228
2430
|
variant?: keyof typeof icons;
|
|
@@ -2253,25 +2455,29 @@ declare const SectionMessage: {
|
|
|
2253
2455
|
close,
|
|
2254
2456
|
onCloseChange,
|
|
2255
2457
|
...props
|
|
2256
|
-
}: SectionMessageProps):
|
|
2458
|
+
}: SectionMessageProps): react_jsx_runtime3.JSX.Element | null;
|
|
2257
2459
|
Title: ({
|
|
2258
2460
|
children
|
|
2259
|
-
}: SectionMessageTitleProps) =>
|
|
2461
|
+
}: SectionMessageTitleProps) => react_jsx_runtime3.JSX.Element;
|
|
2260
2462
|
Content: ({
|
|
2261
2463
|
children
|
|
2262
|
-
}: SectionMessageContentProps) =>
|
|
2464
|
+
}: SectionMessageContentProps) => react_jsx_runtime3.JSX.Element;
|
|
2263
2465
|
};
|
|
2264
2466
|
//#endregion
|
|
2265
2467
|
//#region src/Select/Select.d.ts
|
|
2266
2468
|
type SelectionMode = 'single' | 'multiple';
|
|
2267
|
-
type RemovedProps$
|
|
2268
|
-
interface SelectProps<T
|
|
2469
|
+
type RemovedProps$20 = 'children' | 'isInvalid' | 'isDisabled' | 'isOpen' | 'isRequired' | 'style' | 'className';
|
|
2470
|
+
interface SelectProps<T extends object, M extends SelectionMode = 'single'> extends Omit<RAC.SelectProps<T, M>, RemovedProps$20> {
|
|
2269
2471
|
variant?: string;
|
|
2270
2472
|
size?: string;
|
|
2473
|
+
/**
|
|
2474
|
+
* @remarks `WidthProp`
|
|
2475
|
+
*/
|
|
2476
|
+
width?: WidthProp['width'];
|
|
2271
2477
|
/**
|
|
2272
2478
|
* Children of the select.
|
|
2273
2479
|
*/
|
|
2274
|
-
children?: ReactNode | ((item: T
|
|
2480
|
+
children?: ReactNode | ((item: T) => ReactNode);
|
|
2275
2481
|
/**
|
|
2276
2482
|
* Set a label for the select.
|
|
2277
2483
|
*/
|
|
@@ -2287,7 +2493,7 @@ interface SelectProps<T$1 extends object, M$1 extends SelectionMode = 'single'>
|
|
|
2287
2493
|
/**
|
|
2288
2494
|
* Items of the select.
|
|
2289
2495
|
*/
|
|
2290
|
-
items?: Iterable<T
|
|
2496
|
+
items?: Iterable<T>;
|
|
2291
2497
|
/**
|
|
2292
2498
|
* If the select should be required.
|
|
2293
2499
|
*
|
|
@@ -2316,12 +2522,12 @@ interface SelectProps<T$1 extends object, M$1 extends SelectionMode = 'single'>
|
|
|
2316
2522
|
declare const Select: (<T extends object, M extends SelectionMode = "single">(props: SelectProps<T, M> & react8.RefAttributes<HTMLButtonElement>) => react8.ReactElement | null) & {
|
|
2317
2523
|
Option: ({
|
|
2318
2524
|
...props
|
|
2319
|
-
}: ListBoxItemProps) =>
|
|
2525
|
+
}: ListBoxItemProps) => react_jsx_runtime3.JSX.Element;
|
|
2320
2526
|
Section: ({
|
|
2321
2527
|
header,
|
|
2322
2528
|
children,
|
|
2323
2529
|
...props
|
|
2324
|
-
}: SectionProps) =>
|
|
2530
|
+
}: SectionProps) => react_jsx_runtime3.JSX.Element;
|
|
2325
2531
|
};
|
|
2326
2532
|
//#endregion
|
|
2327
2533
|
//#region src/SelectList/SelectListAction.d.ts
|
|
@@ -2330,11 +2536,11 @@ interface SelectListAction {
|
|
|
2330
2536
|
}
|
|
2331
2537
|
declare const SelectListAction: ({
|
|
2332
2538
|
children
|
|
2333
|
-
}: SelectListAction) =>
|
|
2539
|
+
}: SelectListAction) => react_jsx_runtime3.JSX.Element;
|
|
2334
2540
|
//#endregion
|
|
2335
2541
|
//#region src/SelectList/SelectListItem.d.ts
|
|
2336
|
-
type RemovedProps$
|
|
2337
|
-
interface SelectListItemProps extends Omit<RAC.GridListItemProps<object>, RemovedProps$
|
|
2542
|
+
type RemovedProps$19 = 'className' | 'style' | 'isDisabled';
|
|
2543
|
+
interface SelectListItemProps extends Omit<RAC.GridListItemProps<object>, RemovedProps$19> {
|
|
2338
2544
|
children?: ReactNode;
|
|
2339
2545
|
/**
|
|
2340
2546
|
* Whether the item is disabled.
|
|
@@ -2345,7 +2551,7 @@ interface SelectListItemProps extends Omit<RAC.GridListItemProps<object>, Remove
|
|
|
2345
2551
|
declare const _SelectListItem: react8.ForwardRefExoticComponent<SelectListItemProps & react8.RefAttributes<HTMLDivElement>>;
|
|
2346
2552
|
//#endregion
|
|
2347
2553
|
//#region src/SelectList/SelectList.d.ts
|
|
2348
|
-
type RemoveProps = 'style' | 'className' | 'onSelectionChange';
|
|
2554
|
+
type RemoveProps = 'style' | 'className' | 'onSelectionChange' | 'dragAndDropHooks';
|
|
2349
2555
|
interface SelectListProps extends Omit<RAC.GridListProps<object>, RemoveProps> {
|
|
2350
2556
|
/**
|
|
2351
2557
|
* Handler that is called when the selection change.
|
|
@@ -2362,7 +2568,7 @@ interface SelectListComponent extends ForwardRefExoticComponent<SelectListProps
|
|
|
2362
2568
|
declare const _SelectList: SelectListComponent;
|
|
2363
2569
|
//#endregion
|
|
2364
2570
|
//#region src/Slider/Slider.d.ts
|
|
2365
|
-
interface SliderProps<T
|
|
2571
|
+
interface SliderProps<T> extends Omit<RAC.SliderProps<T>, 'children' | 'isDisabled' | 'orientation'>, Pick<FieldBaseProps<'label'>, 'description'> {
|
|
2366
2572
|
variant?: string;
|
|
2367
2573
|
size?: string;
|
|
2368
2574
|
/**
|
|
@@ -2393,10 +2599,15 @@ interface SliderProps<T$1> extends Omit<RAC.SliderProps<T$1>, 'children' | 'isDi
|
|
|
2393
2599
|
declare const _Slider: react8.ForwardRefExoticComponent<SliderProps<number | number[]> & react8.RefAttributes<HTMLDivElement>>;
|
|
2394
2600
|
//#endregion
|
|
2395
2601
|
//#region src/Split/Split.d.ts
|
|
2396
|
-
declare const Split: () =>
|
|
2602
|
+
declare const Split: () => react_jsx_runtime3.JSX.Element;
|
|
2397
2603
|
//#endregion
|
|
2398
2604
|
//#region src/Stack/Stack.d.ts
|
|
2399
|
-
interface StackProps extends
|
|
2605
|
+
interface StackProps extends AriaRegionProps {
|
|
2606
|
+
/**
|
|
2607
|
+
* Set the spacing between child elements.
|
|
2608
|
+
* @remarks `SpacingTokens<Tokens>`
|
|
2609
|
+
*/
|
|
2610
|
+
space?: SpaceProp<SpacingTokens>['space'];
|
|
2400
2611
|
/**
|
|
2401
2612
|
* Children of the component.
|
|
2402
2613
|
*/
|
|
@@ -2408,6 +2619,7 @@ interface StackProps extends GapSpaceProp, AriaRegionProps {
|
|
|
2408
2619
|
stretch?: boolean;
|
|
2409
2620
|
/**
|
|
2410
2621
|
* Horizontal alignment for the children.
|
|
2622
|
+
* @default 'stretch'
|
|
2411
2623
|
*/
|
|
2412
2624
|
alignX?: keyof typeof alignment.vertical.alignmentX;
|
|
2413
2625
|
/**
|
|
@@ -2429,11 +2641,11 @@ declare const Stack: ({
|
|
|
2429
2641
|
alignY,
|
|
2430
2642
|
asList,
|
|
2431
2643
|
...props
|
|
2432
|
-
}: StackProps) =>
|
|
2644
|
+
}: StackProps) => react_jsx_runtime3.JSX.Element;
|
|
2433
2645
|
//#endregion
|
|
2434
2646
|
//#region src/Switch/Switch.d.ts
|
|
2435
|
-
type RemovedProps$
|
|
2436
|
-
interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$
|
|
2647
|
+
type RemovedProps$18 = 'children' | 'className' | 'isDisabled' | 'isReadOnly' | 'isSelected' | 'children' | 'slot';
|
|
2648
|
+
interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$18> {
|
|
2437
2649
|
variant?: string;
|
|
2438
2650
|
size?: string;
|
|
2439
2651
|
/**
|
|
@@ -2463,62 +2675,216 @@ interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$9> {
|
|
|
2463
2675
|
}
|
|
2464
2676
|
declare const _Switch: react8.ForwardRefExoticComponent<SwitchProps & react8.RefAttributes<HTMLLabelElement>>;
|
|
2465
2677
|
//#endregion
|
|
2466
|
-
//#region src/Table/
|
|
2467
|
-
|
|
2678
|
+
//#region src/Table/TableHeader.d.ts
|
|
2679
|
+
type RemovedProps$17 = 'className' | 'style';
|
|
2680
|
+
interface TableHeaderProps<T extends object = object> extends Omit<RAC.TableHeaderProps<T>, RemovedProps$17> {
|
|
2681
|
+
/**
|
|
2682
|
+
* Makes the header stick to the top of the viewport when scrolling.
|
|
2683
|
+
*/
|
|
2684
|
+
sticky?: boolean;
|
|
2685
|
+
}
|
|
2686
|
+
//#endregion
|
|
2687
|
+
//#region src/Table/TableColumn.d.ts
|
|
2688
|
+
type RemovedProps$16 = 'className' | 'style' | 'children' | 'isRowHeader' | 'render';
|
|
2689
|
+
interface TableColumnProps extends Omit<RAC.ColumnProps, RemovedProps$16> {
|
|
2690
|
+
/**
|
|
2691
|
+
* Whether the column is a row header and should be announced by assistive technology during navigation.
|
|
2692
|
+
* At least one column needs to be set as row header.
|
|
2693
|
+
*/
|
|
2694
|
+
rowHeader?: RAC.ColumnProps['isRowHeader'];
|
|
2695
|
+
/**
|
|
2696
|
+
* The column header label.
|
|
2697
|
+
*/
|
|
2698
|
+
children?: ReactNode;
|
|
2699
|
+
/**
|
|
2700
|
+
* Horizontal text alignment of the column's content.
|
|
2701
|
+
* @default 'left'
|
|
2702
|
+
*/
|
|
2703
|
+
alignX?: keyof typeof textAlign;
|
|
2704
|
+
/** The width of the column. */
|
|
2705
|
+
width?: RAC.ColumnProps['width'];
|
|
2706
|
+
/** The default width of the column. */
|
|
2707
|
+
defaultWidth?: RAC.ColumnProps['defaultWidth'];
|
|
2708
|
+
/** The minimum width of the column. */
|
|
2709
|
+
minWidth?: RAC.ColumnProps['minWidth'];
|
|
2710
|
+
/** The maximum width of the column. */
|
|
2711
|
+
maxWidth?: RAC.ColumnProps['maxWidth'];
|
|
2712
|
+
}
|
|
2713
|
+
//#endregion
|
|
2714
|
+
//#region src/Table/TableBody.d.ts
|
|
2715
|
+
type RemovedProps$15 = 'className' | 'style' | 'renderEmptyState';
|
|
2716
|
+
interface TableBodyProps<T extends object = object> extends Omit<RAC.TableBodyProps<T>, RemovedProps$15> {
|
|
2717
|
+
/**
|
|
2718
|
+
* Render function called when the table body has no items to display.
|
|
2719
|
+
*/
|
|
2720
|
+
emptyState?: RAC.TableBodyProps<T>['renderEmptyState'];
|
|
2721
|
+
}
|
|
2722
|
+
//#endregion
|
|
2723
|
+
//#region src/Table/TableRow.d.ts
|
|
2724
|
+
type RemovedProps$14 = 'className' | 'style';
|
|
2725
|
+
interface TableRowProps<T extends object = object> extends Omit<RAC.RowProps<T>, RemovedProps$14> {
|
|
2468
2726
|
variant?: 'grid' | 'default' | 'muted' | (string & {});
|
|
2469
|
-
size?: string;
|
|
2727
|
+
size?: 'compact' | 'default' | 'spacious' | (string & {});
|
|
2728
|
+
}
|
|
2729
|
+
//#endregion
|
|
2730
|
+
//#region src/Table/TableCell.d.ts
|
|
2731
|
+
type RemovedProps$13 = 'className' | 'style' | 'children';
|
|
2732
|
+
interface TableCellProps extends Omit<RAC.CellProps, RemovedProps$13> {
|
|
2733
|
+
/**
|
|
2734
|
+
* The content of the cell.
|
|
2735
|
+
*/
|
|
2736
|
+
children?: ReactNode;
|
|
2737
|
+
/**
|
|
2738
|
+
* Horizontal text alignment of the cell content.
|
|
2739
|
+
* @default 'left'
|
|
2740
|
+
*/
|
|
2741
|
+
alignX?: keyof typeof textAlign;
|
|
2742
|
+
/**
|
|
2743
|
+
* Text overflow behavior for this specific cell. Overrides the table-level overflow setting.
|
|
2744
|
+
* @default undefined (inherits from table)
|
|
2745
|
+
*/
|
|
2746
|
+
overflow?: 'truncate' | 'wrap';
|
|
2747
|
+
}
|
|
2748
|
+
//#endregion
|
|
2749
|
+
//#region src/Table/TableEditableCell.d.ts
|
|
2750
|
+
interface TableEditableCellProps {
|
|
2751
|
+
/**
|
|
2752
|
+
* Display content shown when the cell is not being edited.
|
|
2753
|
+
*/
|
|
2754
|
+
children: ReactNode;
|
|
2470
2755
|
/**
|
|
2471
|
-
*
|
|
2756
|
+
* Form field shown when editing. Must include `name` attribute for form data.
|
|
2757
|
+
* Supports input elements like TextField, Select, etc.
|
|
2758
|
+
*/
|
|
2759
|
+
field: ReactNode | (() => ReactNode);
|
|
2760
|
+
/**
|
|
2761
|
+
* Whether the cell is currently saving. Shows a loading indicator on the save button.
|
|
2472
2762
|
* @default false
|
|
2473
2763
|
*/
|
|
2474
|
-
|
|
2764
|
+
saving?: boolean;
|
|
2475
2765
|
/**
|
|
2476
|
-
*
|
|
2477
|
-
* @default true
|
|
2766
|
+
* Called when the editing form is submitted, either via the save button or outside click.
|
|
2478
2767
|
*/
|
|
2479
|
-
|
|
2768
|
+
onSubmit?: (e: FormEvent<HTMLFormElement>) => void;
|
|
2480
2769
|
/**
|
|
2481
|
-
*
|
|
2770
|
+
* Called when the user cancels editing via the cancel button.
|
|
2771
|
+
*/
|
|
2772
|
+
onCancel?: () => void;
|
|
2773
|
+
/**
|
|
2774
|
+
* Whether editing is disabled. Hides the edit trigger button.
|
|
2482
2775
|
* @default false
|
|
2483
2776
|
*/
|
|
2484
|
-
|
|
2777
|
+
disabled?: boolean;
|
|
2778
|
+
/**
|
|
2779
|
+
* The action to submit the form to. Supports React 19 form actions.
|
|
2780
|
+
*/
|
|
2781
|
+
action?: string | FormHTMLAttributes<HTMLFormElement>['action'];
|
|
2485
2782
|
/**
|
|
2486
|
-
*
|
|
2783
|
+
* Horizontal text alignment of the cell content.
|
|
2784
|
+
* @default 'left'
|
|
2487
2785
|
*/
|
|
2488
|
-
|
|
2786
|
+
alignX?: keyof typeof textAlign;
|
|
2489
2787
|
/**
|
|
2490
|
-
*
|
|
2491
|
-
* @default
|
|
2788
|
+
* Text overflow behavior for this specific cell. Overrides the table-level overflow setting.
|
|
2789
|
+
* @default undefined (inherits from table)
|
|
2492
2790
|
*/
|
|
2493
|
-
|
|
2791
|
+
overflow?: 'truncate' | 'wrap';
|
|
2494
2792
|
}
|
|
2495
|
-
|
|
2496
|
-
|
|
2497
|
-
|
|
2793
|
+
//#endregion
|
|
2794
|
+
//#region src/Table/TableDropIndicator.d.ts
|
|
2795
|
+
interface TableDropIndicatorProps extends Pick<DropIndicatorProps, 'target'> {
|
|
2498
2796
|
size?: string;
|
|
2797
|
+
variant?: string;
|
|
2499
2798
|
}
|
|
2500
|
-
|
|
2799
|
+
//#endregion
|
|
2800
|
+
//#region src/Table/TableDragPreview.d.ts
|
|
2801
|
+
interface TableDragPreviewProps {
|
|
2802
|
+
variant?: string;
|
|
2803
|
+
size?: string;
|
|
2804
|
+
items: Record<string, string>[];
|
|
2805
|
+
}
|
|
2806
|
+
//#endregion
|
|
2807
|
+
//#region src/Table/Table.d.ts
|
|
2808
|
+
type RemovedProps$12 = 'className' | 'style' | 'selectionBehavior' | 'render';
|
|
2809
|
+
interface TableProps extends Omit<RAC.TableProps, RemovedProps$12> {
|
|
2810
|
+
variant?: 'grid' | 'default' | 'muted' | (string & {});
|
|
2811
|
+
size?: 'compact' | 'default' | 'spacious' | (string & {});
|
|
2501
2812
|
/**
|
|
2502
|
-
*
|
|
2503
|
-
* @default
|
|
2813
|
+
* Controls how cell content overflows. Works best when columns have defined width props.
|
|
2814
|
+
* @default 'wrap'
|
|
2504
2815
|
*/
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
|
|
2513
|
-
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
Column: (props: ColumnProps$1) => JSX.Element;
|
|
2517
|
-
Row: (props: RowProps$1) => JSX.Element;
|
|
2816
|
+
overflow?: 'truncate' | 'wrap';
|
|
2817
|
+
/**
|
|
2818
|
+
* Controls whether text selection is allowed in cells.
|
|
2819
|
+
* @default false
|
|
2820
|
+
*/
|
|
2821
|
+
allowTextSelection?: boolean;
|
|
2822
|
+
/**
|
|
2823
|
+
* Controls vertical alignment of cell content.
|
|
2824
|
+
* @default 'middle'
|
|
2825
|
+
*/
|
|
2826
|
+
alignY?: 'top' | 'middle' | 'bottom' | 'baseline';
|
|
2518
2827
|
}
|
|
2828
|
+
declare const Table: (({
|
|
2829
|
+
variant,
|
|
2830
|
+
size,
|
|
2831
|
+
overflow,
|
|
2832
|
+
allowTextSelection,
|
|
2833
|
+
alignY,
|
|
2834
|
+
...props
|
|
2835
|
+
}: TableProps) => react_jsx_runtime3.JSX.Element) & {
|
|
2836
|
+
Header: <T extends object>({
|
|
2837
|
+
sticky,
|
|
2838
|
+
columns,
|
|
2839
|
+
children,
|
|
2840
|
+
...props
|
|
2841
|
+
}: TableHeaderProps<T>) => react_jsx_runtime3.JSX.Element;
|
|
2842
|
+
Column: ({
|
|
2843
|
+
alignX,
|
|
2844
|
+
width,
|
|
2845
|
+
minWidth,
|
|
2846
|
+
rowHeader,
|
|
2847
|
+
...props
|
|
2848
|
+
}: TableColumnProps) => react_jsx_runtime3.JSX.Element;
|
|
2849
|
+
Body: <T extends object = object>({
|
|
2850
|
+
emptyState,
|
|
2851
|
+
...props
|
|
2852
|
+
}: TableBodyProps<T>) => react_jsx_runtime3.JSX.Element;
|
|
2853
|
+
Row: <T extends object>({
|
|
2854
|
+
id,
|
|
2855
|
+
columns,
|
|
2856
|
+
children,
|
|
2857
|
+
variant: variantProp,
|
|
2858
|
+
size: sizeProp,
|
|
2859
|
+
...otherProps
|
|
2860
|
+
}: TableRowProps<T>) => react_jsx_runtime3.JSX.Element;
|
|
2861
|
+
Cell: ({
|
|
2862
|
+
children,
|
|
2863
|
+
alignX,
|
|
2864
|
+
overflow: cellOverflow,
|
|
2865
|
+
...props
|
|
2866
|
+
}: TableCellProps) => react_jsx_runtime3.JSX.Element;
|
|
2867
|
+
EditableCell: ({
|
|
2868
|
+
children,
|
|
2869
|
+
field,
|
|
2870
|
+
saving,
|
|
2871
|
+
onSubmit,
|
|
2872
|
+
onCancel,
|
|
2873
|
+
disabled,
|
|
2874
|
+
action,
|
|
2875
|
+
alignX,
|
|
2876
|
+
overflow: cellOverflow
|
|
2877
|
+
}: TableEditableCellProps) => react_jsx_runtime3.JSX.Element;
|
|
2878
|
+
renderDropIndicator: ((target: RAC.DropTarget) => react8.JSX.Element) | undefined;
|
|
2879
|
+
renderDragPreview: ((items: _react_types_shared0.DragItem[]) => react8.JSX.Element | {
|
|
2880
|
+
element: react8.JSX.Element;
|
|
2881
|
+
x: number;
|
|
2882
|
+
y: number;
|
|
2883
|
+
}) | undefined;
|
|
2884
|
+
};
|
|
2519
2885
|
//#endregion
|
|
2520
2886
|
//#region src/Tabs/TabList.d.ts
|
|
2521
|
-
|
|
2887
|
+
type TabListProps = Omit<RAC.TabListProps<object>, 'className' | 'style'>;
|
|
2522
2888
|
//#endregion
|
|
2523
2889
|
//#region src/Tabs/TabPanel.d.ts
|
|
2524
2890
|
type TabPanelProps = Omit<RAC.TabPanelProps, 'className' | 'style'>;
|
|
@@ -2542,18 +2908,15 @@ declare const _Tabs: {
|
|
|
2542
2908
|
variant,
|
|
2543
2909
|
size,
|
|
2544
2910
|
...rest
|
|
2545
|
-
}: TabsProps):
|
|
2546
|
-
List: (
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
}: TabListProps) => react_jsx_runtime0.JSX.Element;
|
|
2550
|
-
TabPanel: (props: TabPanelProps) => react_jsx_runtime0.JSX.Element;
|
|
2551
|
-
Item: (props: TabProps) => react_jsx_runtime0.JSX.Element;
|
|
2911
|
+
}: TabsProps): react_jsx_runtime3.JSX.Element;
|
|
2912
|
+
List: (props: TabListProps) => react_jsx_runtime3.JSX.Element;
|
|
2913
|
+
TabPanel: (props: TabPanelProps) => react_jsx_runtime3.JSX.Element;
|
|
2914
|
+
Item: (props: TabProps) => react_jsx_runtime3.JSX.Element;
|
|
2552
2915
|
};
|
|
2553
2916
|
//#endregion
|
|
2554
2917
|
//#region src/TagGroup/TagGroup.d.ts
|
|
2555
|
-
type RemovedProps$
|
|
2556
|
-
interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps$
|
|
2918
|
+
type RemovedProps$11 = 'className' | 'style' | 'children' | 'isRequired';
|
|
2919
|
+
interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps$11>, Pick<TagListProps<object>, 'items' | 'children'>, Pick<FieldBaseProps<'label'>, 'label' | 'description'> {
|
|
2557
2920
|
variant?: string;
|
|
2558
2921
|
size?: string;
|
|
2559
2922
|
/**
|
|
@@ -2584,11 +2947,11 @@ declare const _TagGroup: ({
|
|
|
2584
2947
|
name,
|
|
2585
2948
|
removeAll,
|
|
2586
2949
|
...rest
|
|
2587
|
-
}: TagGroupProps) =>
|
|
2950
|
+
}: TagGroupProps) => react_jsx_runtime3.JSX.Element;
|
|
2588
2951
|
//#endregion
|
|
2589
2952
|
//#region src/TagGroup/Tag.d.ts
|
|
2590
|
-
type RemovedProps$
|
|
2591
|
-
interface TagProps extends Omit<RAC.TagProps, RemovedProps$
|
|
2953
|
+
type RemovedProps$10 = 'className' | 'style' | 'isDisabled';
|
|
2954
|
+
interface TagProps extends Omit<RAC.TagProps, RemovedProps$10> {
|
|
2592
2955
|
variant?: string;
|
|
2593
2956
|
size?: string;
|
|
2594
2957
|
children?: ReactNode;
|
|
@@ -2601,7 +2964,7 @@ declare const _Tag: {
|
|
|
2601
2964
|
children,
|
|
2602
2965
|
disabled,
|
|
2603
2966
|
...rest
|
|
2604
|
-
}: TagProps):
|
|
2967
|
+
}: TagProps): react_jsx_runtime3.JSX.Element;
|
|
2605
2968
|
Group: ({
|
|
2606
2969
|
items,
|
|
2607
2970
|
children,
|
|
@@ -2611,12 +2974,77 @@ declare const _Tag: {
|
|
|
2611
2974
|
name,
|
|
2612
2975
|
removeAll,
|
|
2613
2976
|
...rest
|
|
2614
|
-
}: TagGroupProps) =>
|
|
2977
|
+
}: TagGroupProps) => react_jsx_runtime3.JSX.Element;
|
|
2978
|
+
};
|
|
2979
|
+
//#endregion
|
|
2980
|
+
//#region src/TagField/TagField.d.ts
|
|
2981
|
+
type RemovedProps$9 = 'children' | 'isInvalid' | 'isDisabled' | 'isOpen' | 'isRequired' | 'style' | 'className' | 'selectionMode';
|
|
2982
|
+
interface TagFieldProps<T extends object> extends Omit<RAC.SelectProps<T, 'multiple'>, RemovedProps$9>, WidthProp {
|
|
2983
|
+
variant?: string;
|
|
2984
|
+
size?: string;
|
|
2985
|
+
/**
|
|
2986
|
+
* Children of the tag field (options).
|
|
2987
|
+
*/
|
|
2988
|
+
children?: ReactNode | ((item: T) => ReactNode);
|
|
2989
|
+
/**
|
|
2990
|
+
* Set a label for the field.
|
|
2991
|
+
*/
|
|
2992
|
+
label?: ReactNode;
|
|
2993
|
+
/**
|
|
2994
|
+
* Set a description for the field.
|
|
2995
|
+
*/
|
|
2996
|
+
description?: string;
|
|
2997
|
+
/**
|
|
2998
|
+
* Set an error message for the field.
|
|
2999
|
+
*/
|
|
3000
|
+
errorMessage?: string | ((validation: RAC.ValidationResult) => string);
|
|
3001
|
+
/**
|
|
3002
|
+
* Items of the tag field.
|
|
3003
|
+
*/
|
|
3004
|
+
items?: Iterable<T>;
|
|
3005
|
+
/**
|
|
3006
|
+
* If the field should be required.
|
|
3007
|
+
* @default false
|
|
3008
|
+
*/
|
|
3009
|
+
required?: boolean;
|
|
3010
|
+
/**
|
|
3011
|
+
* If the field should be disabled.
|
|
3012
|
+
* @default false
|
|
3013
|
+
*/
|
|
3014
|
+
disabled?: boolean;
|
|
3015
|
+
/**
|
|
3016
|
+
* If the dropdown should be open.
|
|
3017
|
+
* @default false
|
|
3018
|
+
*/
|
|
3019
|
+
open?: boolean;
|
|
3020
|
+
/**
|
|
3021
|
+
* If the field should show an error state.
|
|
3022
|
+
* @default false
|
|
3023
|
+
*/
|
|
3024
|
+
error?: boolean;
|
|
3025
|
+
/**
|
|
3026
|
+
* Placeholder text when no items are selected.
|
|
3027
|
+
*/
|
|
3028
|
+
placeholder?: string;
|
|
3029
|
+
/**
|
|
3030
|
+
* Provides content to display when there are no items in the list.
|
|
3031
|
+
*/
|
|
3032
|
+
emptyState?: ReactNode;
|
|
3033
|
+
}
|
|
3034
|
+
declare const TagField: (<T extends object>(props: TagFieldProps<T> & react8.RefAttributes<HTMLDivElement>) => react8.ReactElement | null) & {
|
|
3035
|
+
Option: ({
|
|
3036
|
+
...props
|
|
3037
|
+
}: ListBoxItemProps) => react_jsx_runtime3.JSX.Element;
|
|
3038
|
+
Section: ({
|
|
3039
|
+
header,
|
|
3040
|
+
children,
|
|
3041
|
+
...props
|
|
3042
|
+
}: SectionProps) => react_jsx_runtime3.JSX.Element;
|
|
2615
3043
|
};
|
|
2616
3044
|
//#endregion
|
|
2617
3045
|
//#region src/Text/Text.d.ts
|
|
2618
|
-
type RemovedProps$
|
|
2619
|
-
interface TextProps extends AriaLabelingProps$1, Omit<RAC.TextProps, RemovedProps$
|
|
3046
|
+
type RemovedProps$8 = 'elementType' | keyof JSX.IntrinsicElements['div'] | keyof JSX.IntrinsicElements['span'] | keyof JSX.IntrinsicElements['p'];
|
|
3047
|
+
interface TextProps extends AriaLabelingProps$1, Omit<RAC.TextProps, RemovedProps$8>, TextAlignProp, FontSizeProp, FontWeightProp, FontStyleProp, LineHeightProp, CursorProp, TextWrapProp, WhiteSpaceProps {
|
|
2620
3048
|
/**
|
|
2621
3049
|
* The children of the component
|
|
2622
3050
|
*/
|
|
@@ -2647,16 +3075,17 @@ declare const _Text: ({
|
|
|
2647
3075
|
weight,
|
|
2648
3076
|
fontSize,
|
|
2649
3077
|
fontStyle,
|
|
3078
|
+
lineHeight,
|
|
2650
3079
|
wrap,
|
|
2651
3080
|
whiteSpace,
|
|
2652
3081
|
children,
|
|
2653
3082
|
as,
|
|
2654
3083
|
...props
|
|
2655
|
-
}: TextProps) =>
|
|
3084
|
+
}: TextProps) => react_jsx_runtime3.JSX.Element;
|
|
2656
3085
|
//#endregion
|
|
2657
3086
|
//#region src/TextArea/TextArea.d.ts
|
|
2658
|
-
type RemovedProps$
|
|
2659
|
-
interface TextAreaProps extends Omit<RAC.TextFieldProps, RemovedProps$
|
|
3087
|
+
type RemovedProps$7 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
|
|
3088
|
+
interface TextAreaProps extends Omit<RAC.TextFieldProps, RemovedProps$7>, Pick<RAC.TextAreaProps, 'rows'>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
2660
3089
|
variant?: string;
|
|
2661
3090
|
size?: string;
|
|
2662
3091
|
/**
|
|
@@ -2708,8 +3137,8 @@ interface TextAreaProps extends Omit<RAC.TextFieldProps, RemovedProps$5>, Pick<R
|
|
|
2708
3137
|
declare const _TextArea: react8.ForwardRefExoticComponent<TextAreaProps & react8.RefAttributes<HTMLTextAreaElement>>;
|
|
2709
3138
|
//#endregion
|
|
2710
3139
|
//#region src/TextField/TextField.d.ts
|
|
2711
|
-
type RemovedProps$
|
|
2712
|
-
interface TextFieldProps extends Omit<RAC.TextFieldProps, RemovedProps$
|
|
3140
|
+
type RemovedProps$6 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue' | 'slot';
|
|
3141
|
+
interface TextFieldProps extends Omit<RAC.TextFieldProps, RemovedProps$6>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
2713
3142
|
variant?: string;
|
|
2714
3143
|
size?: string;
|
|
2715
3144
|
/**
|
|
@@ -2766,7 +3195,12 @@ interface TextFieldProps extends Omit<RAC.TextFieldProps, RemovedProps$4>, Pick<
|
|
|
2766
3195
|
declare const _TextField: react8.ForwardRefExoticComponent<TextFieldProps & react8.RefAttributes<HTMLInputElement>>;
|
|
2767
3196
|
//#endregion
|
|
2768
3197
|
//#region src/Tiles/Tiles.d.ts
|
|
2769
|
-
interface TilesProps extends
|
|
3198
|
+
interface TilesProps extends AriaRegionProps {
|
|
3199
|
+
/**
|
|
3200
|
+
* Set the spacing between child elements.
|
|
3201
|
+
* @remarks `SpacingTokens<Tokens>`
|
|
3202
|
+
*/
|
|
3203
|
+
space?: SpaceProp<SpacingTokens>['space'];
|
|
2770
3204
|
/**
|
|
2771
3205
|
* The children of the component.
|
|
2772
3206
|
*/
|
|
@@ -2794,11 +3228,11 @@ declare const Tiles: ({
|
|
|
2794
3228
|
tilesWidth,
|
|
2795
3229
|
children,
|
|
2796
3230
|
...props
|
|
2797
|
-
}: TilesProps) =>
|
|
3231
|
+
}: TilesProps) => react_jsx_runtime3.JSX.Element;
|
|
2798
3232
|
//#endregion
|
|
2799
3233
|
//#region src/TimeField/TimeField.d.ts
|
|
2800
|
-
type RemovedProps$
|
|
2801
|
-
interface TimeFieldProps extends Omit<RAC.TimeFieldProps<TimeValue$1>, RemovedProps$
|
|
3234
|
+
type RemovedProps$5 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'slot';
|
|
3235
|
+
interface TimeFieldProps extends Omit<RAC.TimeFieldProps<TimeValue$1>, RemovedProps$5>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
|
|
2802
3236
|
variant?: string;
|
|
2803
3237
|
size?: string;
|
|
2804
3238
|
/**
|
|
@@ -2859,17 +3293,17 @@ interface ToastProps {
|
|
|
2859
3293
|
}
|
|
2860
3294
|
declare const Toast: ({
|
|
2861
3295
|
toast
|
|
2862
|
-
}: ToastProps) =>
|
|
3296
|
+
}: ToastProps) => react_jsx_runtime3.JSX.Element;
|
|
2863
3297
|
//#endregion
|
|
2864
3298
|
//#region src/Toast/ToastProvider.d.ts
|
|
2865
|
-
interface ToastProviderProps extends Omit<RAC.ToastRegionProps<object>, RemovedProps$
|
|
3299
|
+
interface ToastProviderProps extends Omit<RAC.ToastRegionProps<object>, RemovedProps$4> {
|
|
2866
3300
|
position?: ToastPosition;
|
|
2867
3301
|
}
|
|
2868
|
-
type RemovedProps$
|
|
3302
|
+
type RemovedProps$4 = 'children' | 'className' | 'style' | 'queue';
|
|
2869
3303
|
type ToastPosition = 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right' | 'top' | 'bottom';
|
|
2870
3304
|
declare const ToastProvider: ({
|
|
2871
3305
|
position
|
|
2872
|
-
}: ToastProviderProps) =>
|
|
3306
|
+
}: ToastProviderProps) => react_jsx_runtime3.JSX.Element;
|
|
2873
3307
|
//#endregion
|
|
2874
3308
|
//#region src/Toast/ToastQueue.d.ts
|
|
2875
3309
|
declare function useToast(): {
|
|
@@ -2885,8 +3319,8 @@ declare function useToast(): {
|
|
|
2885
3319
|
};
|
|
2886
3320
|
//#endregion
|
|
2887
3321
|
//#region src/Tooltip/TooltipTrigger.d.ts
|
|
2888
|
-
type RemovedProps$
|
|
2889
|
-
interface TooltipTriggerProps extends Omit<RAC.TooltipTriggerComponentProps, RemovedProps$
|
|
3322
|
+
type RemovedProps$3 = 'isDisabled' | 'isOpen' | 'children';
|
|
3323
|
+
interface TooltipTriggerProps extends Omit<RAC.TooltipTriggerComponentProps, RemovedProps$3> {
|
|
2890
3324
|
/**
|
|
2891
3325
|
* The children of the component.
|
|
2892
3326
|
*/
|
|
@@ -2902,8 +3336,8 @@ interface TooltipTriggerProps extends Omit<RAC.TooltipTriggerComponentProps, Rem
|
|
|
2902
3336
|
}
|
|
2903
3337
|
//#endregion
|
|
2904
3338
|
//#region src/Tooltip/Tooltip.d.ts
|
|
2905
|
-
type RemovedProps = 'className' | 'isOpen' | 'style';
|
|
2906
|
-
interface TooltipProps extends Omit<RAC.TooltipProps, RemovedProps> {
|
|
3339
|
+
type RemovedProps$2 = 'className' | 'isOpen' | 'style';
|
|
3340
|
+
interface TooltipProps extends Omit<RAC.TooltipProps, RemovedProps$2> {
|
|
2907
3341
|
/**
|
|
2908
3342
|
* The children of the component.
|
|
2909
3343
|
*/
|
|
@@ -2922,14 +3356,14 @@ declare const _Tooltip: {
|
|
|
2922
3356
|
size,
|
|
2923
3357
|
open,
|
|
2924
3358
|
...rest
|
|
2925
|
-
}: TooltipProps):
|
|
3359
|
+
}: TooltipProps): react_jsx_runtime3.JSX.Element;
|
|
2926
3360
|
Trigger: ({
|
|
2927
3361
|
delay,
|
|
2928
3362
|
children,
|
|
2929
3363
|
disabled,
|
|
2930
3364
|
open,
|
|
2931
3365
|
...rest
|
|
2932
|
-
}: TooltipTriggerProps) =>
|
|
3366
|
+
}: TooltipTriggerProps) => react_jsx_runtime3.JSX.Element;
|
|
2933
3367
|
};
|
|
2934
3368
|
//#endregion
|
|
2935
3369
|
//#region src/Loader/BaseLoader.d.ts
|
|
@@ -2961,7 +3395,147 @@ declare const Loader: ({
|
|
|
2961
3395
|
mode,
|
|
2962
3396
|
variant,
|
|
2963
3397
|
...props
|
|
2964
|
-
}: LoaderProps) =>
|
|
3398
|
+
}: LoaderProps) => react_jsx_runtime3.JSX.Element;
|
|
3399
|
+
//#endregion
|
|
3400
|
+
//#region src/ToggleButton/ToggleButtonGroup.d.ts
|
|
3401
|
+
type RemovedProps$1 = 'className' | 'style' | 'isDisabled' | 'orientation';
|
|
3402
|
+
interface ToggleButtonGroupProps extends Omit<RAC.ToggleButtonGroupProps, RemovedProps$1> {
|
|
3403
|
+
/**
|
|
3404
|
+
* Whether the toggle button group is disabled.
|
|
3405
|
+
*/
|
|
3406
|
+
disabled?: RAC.ToggleButtonGroupProps['isDisabled'];
|
|
3407
|
+
variant?: string;
|
|
3408
|
+
size?: 'small' | 'default' | 'icon' | (string & {});
|
|
3409
|
+
}
|
|
3410
|
+
declare const _ToggleButtonGroup: ({
|
|
3411
|
+
children,
|
|
3412
|
+
disabled,
|
|
3413
|
+
variant,
|
|
3414
|
+
size,
|
|
3415
|
+
...props
|
|
3416
|
+
}: ToggleButtonGroupProps) => react_jsx_runtime3.JSX.Element;
|
|
3417
|
+
//#endregion
|
|
3418
|
+
//#region src/ToggleButton/ToggleButton.d.ts
|
|
3419
|
+
type RemovedProps = 'className' | 'style' | 'isSelected' | 'isDisabled';
|
|
3420
|
+
interface ToggleButtonProps extends Omit<RAC.ToggleButtonProps, RemovedProps> {
|
|
3421
|
+
/**
|
|
3422
|
+
* Whether the toggle button is selected.
|
|
3423
|
+
*/
|
|
3424
|
+
selected?: RAC.ToggleButtonProps['isSelected'];
|
|
3425
|
+
/**
|
|
3426
|
+
* Set the toggle button disabled.
|
|
3427
|
+
*/
|
|
3428
|
+
disabled?: RAC.ToggleButtonProps['isDisabled'];
|
|
3429
|
+
variant?: string;
|
|
3430
|
+
size?: 'small' | 'default' | 'icon' | (string & {});
|
|
3431
|
+
}
|
|
3432
|
+
declare const _ToggleButton: {
|
|
3433
|
+
({
|
|
3434
|
+
children,
|
|
3435
|
+
selected,
|
|
3436
|
+
disabled,
|
|
3437
|
+
variant,
|
|
3438
|
+
size,
|
|
3439
|
+
...props
|
|
3440
|
+
}: ToggleButtonProps): react_jsx_runtime3.JSX.Element;
|
|
3441
|
+
Group: ({
|
|
3442
|
+
children,
|
|
3443
|
+
disabled,
|
|
3444
|
+
variant,
|
|
3445
|
+
size,
|
|
3446
|
+
...props
|
|
3447
|
+
}: ToggleButtonGroupProps) => react_jsx_runtime3.JSX.Element;
|
|
3448
|
+
};
|
|
3449
|
+
//#endregion
|
|
3450
|
+
//#region src/Tray/TrayTrigger.d.ts
|
|
3451
|
+
interface TrayTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'> {
|
|
3452
|
+
/**
|
|
3453
|
+
* Whether the overlay is open (controlled).
|
|
3454
|
+
* @default false
|
|
3455
|
+
*/
|
|
3456
|
+
open?: boolean;
|
|
3457
|
+
}
|
|
3458
|
+
//#endregion
|
|
3459
|
+
//#region src/Tray/TrayTitle.d.ts
|
|
3460
|
+
interface TrayTitleProps {
|
|
3461
|
+
/**
|
|
3462
|
+
* Children of the component.
|
|
3463
|
+
*/
|
|
3464
|
+
children?: ReactNode;
|
|
3465
|
+
}
|
|
3466
|
+
//#endregion
|
|
3467
|
+
//#region src/Tray/TrayContent.d.ts
|
|
3468
|
+
interface TrayContentProps {
|
|
3469
|
+
/**
|
|
3470
|
+
* Children of the component.
|
|
3471
|
+
*/
|
|
3472
|
+
children?: ReactNode;
|
|
3473
|
+
/**
|
|
3474
|
+
* Additional class names to apply to the content container
|
|
3475
|
+
* useful when component specific styles are needed
|
|
3476
|
+
*/
|
|
3477
|
+
className?: string;
|
|
3478
|
+
}
|
|
3479
|
+
//#endregion
|
|
3480
|
+
//#region src/Tray/TrayActions.d.ts
|
|
3481
|
+
interface TrayActionsProps {
|
|
3482
|
+
/**
|
|
3483
|
+
* Children of the component.
|
|
3484
|
+
*/
|
|
3485
|
+
children?: ReactNode;
|
|
3486
|
+
}
|
|
3487
|
+
//#endregion
|
|
3488
|
+
//#region src/Tray/Tray.d.ts
|
|
3489
|
+
interface TrayProps extends Omit<RAC.DialogProps, 'className' | 'style'> {
|
|
3490
|
+
/**
|
|
3491
|
+
* Whether the overlay is open (controlled).
|
|
3492
|
+
* @default undefined
|
|
3493
|
+
*/
|
|
3494
|
+
open?: boolean;
|
|
3495
|
+
/**
|
|
3496
|
+
* Handler called when the open state changes.
|
|
3497
|
+
*/
|
|
3498
|
+
onOpenChange?: (isOpen: boolean) => void;
|
|
3499
|
+
/**
|
|
3500
|
+
* Whether clicking outside closes the tray.
|
|
3501
|
+
* @default true
|
|
3502
|
+
*/
|
|
3503
|
+
dismissable?: boolean;
|
|
3504
|
+
/**
|
|
3505
|
+
* Whether pressing the escape key closes the tray.
|
|
3506
|
+
* @default true
|
|
3507
|
+
*/
|
|
3508
|
+
keyboardDismissable?: boolean;
|
|
3509
|
+
/**
|
|
3510
|
+
* Children of the tray.
|
|
3511
|
+
*/
|
|
3512
|
+
children?: ReactNode;
|
|
3513
|
+
}
|
|
3514
|
+
declare const Tray: {
|
|
3515
|
+
({
|
|
3516
|
+
open,
|
|
3517
|
+
onOpenChange,
|
|
3518
|
+
dismissable,
|
|
3519
|
+
keyboardDismissable,
|
|
3520
|
+
children,
|
|
3521
|
+
...props
|
|
3522
|
+
}: TrayProps): react_jsx_runtime3.JSX.Element;
|
|
3523
|
+
Trigger: ({
|
|
3524
|
+
open,
|
|
3525
|
+
children,
|
|
3526
|
+
...props
|
|
3527
|
+
}: TrayTriggerProps) => react_jsx_runtime3.JSX.Element;
|
|
3528
|
+
Title: ({
|
|
3529
|
+
children
|
|
3530
|
+
}: TrayTitleProps) => react_jsx_runtime3.JSX.Element;
|
|
3531
|
+
Content: ({
|
|
3532
|
+
children,
|
|
3533
|
+
className
|
|
3534
|
+
}: TrayContentProps) => react_jsx_runtime3.JSX.Element;
|
|
3535
|
+
Actions: ({
|
|
3536
|
+
children
|
|
3537
|
+
}: TrayActionsProps) => react_jsx_runtime3.JSX.Element;
|
|
3538
|
+
};
|
|
2965
3539
|
//#endregion
|
|
2966
3540
|
//#region src/utils/form.utils.d.ts
|
|
2967
3541
|
/**
|
|
@@ -2972,4 +3546,4 @@ declare const Loader: ({
|
|
|
2972
3546
|
*/
|
|
2973
3547
|
declare const parseFormData: <T extends Record<string, FormDataEntryValue | FormDataEntryValue[]> = Record<string, FormDataEntryValue | FormDataEntryValue[]>>(e: FormEvent<HTMLFormElement>) => T;
|
|
2974
3548
|
//#endregion
|
|
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 };
|
|
3549
|
+
export { Accordion, AccordionItem, type AccordionProps, ActionBar, type ActionBarProps, ActionButton, type ActionButtonProps, 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, EmptyState, type EmptyStateProps, 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 TableBodyProps, type TableCellProps, type TableColumnProps, type TableDragPreviewProps, type TableDropIndicatorProps, type TableEditableCellProps, type TableHeaderProps, type TableProps, type TableRowProps, _Tabs as Tabs, type TabsProps, _Tag as Tag, TagField, type TagFieldProps, _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, _ToggleButton as ToggleButton, _ToggleButtonGroup as ToggleButtonGroup, type ToggleButtonGroupProps, type ToggleButtonProps, _Tooltip as Tooltip, type TooltipProps, Tray, type TrayProps, Underlay, type UnderlayProps, VisuallyHidden, parseFormData, useAsyncList, useConfirmation, useDragAndDrop, useListData, useTheme, useToast };
|