@marigold/components 16.1.0 → 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.cjs +1595 -1066
- package/dist/index.d.cts +842 -264
- package/dist/index.d.mts +730 -152
- package/dist/index.mjs +1529 -1014
- 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 +50 -36
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";
|
|
4
|
+
import { CSSProperties, ComponentPropsWithRef, Dispatch, ElementType, FormEvent, FormHTMLAttributes, ForwardRefExoticComponent, JSX, Key as Key$1, PropsWithChildren, ReactElement, ReactNode, RefAttributes, SVGProps, SetStateAction } from "react";
|
|
6
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). */
|
|
@@ -40,8 +38,8 @@ declare const AccordionItem: ({
|
|
|
40
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. */
|
|
@@ -75,12 +73,75 @@ declare const Accordion: {
|
|
|
75
73
|
}: DisclosureProps) => react_jsx_runtime3.JSX.Element;
|
|
76
74
|
};
|
|
77
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;
|
|
132
|
+
};
|
|
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
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 SpaceProp<'section' | 'fieldY' | 'container' | 'gro
|
|
|
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
|
}
|
|
@@ -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
|
*/
|
|
@@ -295,8 +363,8 @@ declare const Badge: ({
|
|
|
295
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
|
/**
|
|
@@ -343,9 +411,12 @@ declare const Breakout: ({
|
|
|
343
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
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
|
|
416
505
|
*/
|
|
417
|
-
|
|
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>`
|
|
510
|
+
*/
|
|
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,
|
|
@@ -444,7 +562,12 @@ declare const Card: ({
|
|
|
444
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.
|
|
@@ -460,8 +583,8 @@ declare const Center: ({
|
|
|
460
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
|
/**
|
|
@@ -528,8 +652,8 @@ declare const _CheckboxGroup: ({
|
|
|
528
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
|
/**
|
|
@@ -637,7 +761,12 @@ declare const Collapsible: {
|
|
|
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
|
*/
|
|
@@ -666,10 +795,14 @@ declare const Columns: ({
|
|
|
666
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.
|
|
@@ -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
|
/**
|
|
@@ -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
|
/**
|
|
@@ -1090,8 +1229,8 @@ declare const ConfirmationProvider: ({
|
|
|
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: ({
|
|
@@ -1211,9 +1350,36 @@ declare const Drawer: {
|
|
|
1211
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,6 +1436,7 @@ declare const FileField: {
|
|
|
1265
1436
|
multiple,
|
|
1266
1437
|
width,
|
|
1267
1438
|
label,
|
|
1439
|
+
name,
|
|
1268
1440
|
...props
|
|
1269
1441
|
}: FileFieldProps): react_jsx_runtime3.JSX.Element;
|
|
1270
1442
|
Item: ({
|
|
@@ -1274,18 +1446,18 @@ declare const FileField: {
|
|
|
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_runtime3.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
|
*/
|
|
@@ -1346,7 +1528,7 @@ declare const Grid: {
|
|
|
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,6 +1555,7 @@ declare const _Headline: ({
|
|
|
1373
1555
|
align,
|
|
1374
1556
|
color,
|
|
1375
1557
|
level,
|
|
1558
|
+
lineHeight,
|
|
1376
1559
|
...props
|
|
1377
1560
|
}: HeadlineProps) => react_jsx_runtime3.JSX.Element;
|
|
1378
1561
|
//#endregion
|
|
@@ -1392,7 +1575,12 @@ declare const IconButton: ({
|
|
|
1392
1575
|
//#endregion
|
|
1393
1576
|
//#region src/Inline/Inline.d.ts
|
|
1394
1577
|
declare const inlineAlignmentY: any;
|
|
1395
|
-
interface InlineProps extends
|
|
1578
|
+
interface InlineProps extends AriaRegionProps {
|
|
1579
|
+
/**
|
|
1580
|
+
* Set the spacing between child elements.
|
|
1581
|
+
* @remarks `SpacingTokens<Tokens>`
|
|
1582
|
+
*/
|
|
1583
|
+
space?: SpaceProp<SpacingTokens>['space'];
|
|
1396
1584
|
/**
|
|
1397
1585
|
* The children of the component.
|
|
1398
1586
|
*/
|
|
@@ -1420,8 +1608,8 @@ declare const Inline: ({
|
|
|
1420
1608
|
}: InlineProps) => react_jsx_runtime3.JSX.Element;
|
|
1421
1609
|
//#endregion
|
|
1422
1610
|
//#region src/Input/Input.d.ts
|
|
1423
|
-
type RemovedProps$
|
|
1424
|
-
interface InputProps extends Omit<RAC.InputProps, RemovedProps$
|
|
1611
|
+
type RemovedProps$31 = 'className' | 'style' | 'size';
|
|
1612
|
+
interface InputProps extends Omit<RAC.InputProps, RemovedProps$31> {
|
|
1425
1613
|
icon?: ReactElement<any>;
|
|
1426
1614
|
action?: ReactElement<any>;
|
|
1427
1615
|
variant?: string;
|
|
@@ -1450,16 +1638,19 @@ type InsetProps = (AriaRegionProps & {
|
|
|
1450
1638
|
space?: never;
|
|
1451
1639
|
/**
|
|
1452
1640
|
* Horizontal alignment for the children. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
|
|
1641
|
+
* @remarks `PaddingSpacePropX<Tokens>`
|
|
1453
1642
|
*/
|
|
1454
1643
|
spaceX?: PaddingSpacePropX['spaceX'];
|
|
1455
1644
|
/**
|
|
1456
1645
|
* Vertical alignment for the children. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
|
|
1646
|
+
* @remarks `PaddingSpacePropY<Tokens>`
|
|
1457
1647
|
*/
|
|
1458
1648
|
spaceY?: PaddingSpacePropY['spaceY'];
|
|
1459
1649
|
}) | (AriaRegionProps & {
|
|
1460
1650
|
children: ReactNode;
|
|
1461
1651
|
/**
|
|
1462
1652
|
* The space between the children. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
|
|
1653
|
+
* @remarks `PaddingSpaceProp<Tokens>`
|
|
1463
1654
|
*/
|
|
1464
1655
|
space?: PaddingSpaceProp['space'];
|
|
1465
1656
|
spaceX?: never;
|
|
@@ -1473,8 +1664,8 @@ declare const Inset: ({
|
|
|
1473
1664
|
}: InsetProps) => react_jsx_runtime3.JSX.Element;
|
|
1474
1665
|
//#endregion
|
|
1475
1666
|
//#region src/Label/Label.d.ts
|
|
1476
|
-
type RemovedProps$
|
|
1477
|
-
interface LabelProps extends Omit<RAC.LabelProps, RemovedProps$
|
|
1667
|
+
type RemovedProps$30 = 'className';
|
|
1668
|
+
interface LabelProps extends Omit<RAC.LabelProps, RemovedProps$30> {
|
|
1478
1669
|
size?: string;
|
|
1479
1670
|
variant?: string;
|
|
1480
1671
|
}
|
|
@@ -1486,8 +1677,8 @@ declare const _Label: ({
|
|
|
1486
1677
|
}: LabelProps) => react_jsx_runtime3.JSX.Element;
|
|
1487
1678
|
//#endregion
|
|
1488
1679
|
//#region src/Link/Link.d.ts
|
|
1489
|
-
type RemovedProps$
|
|
1490
|
-
interface LinkProps extends Omit<RAC.LinkProps, RemovedProps$
|
|
1680
|
+
type RemovedProps$29 = 'className' | 'isDisabled' | 'slot';
|
|
1681
|
+
interface LinkProps extends Omit<RAC.LinkProps, RemovedProps$29> {
|
|
1491
1682
|
variant?: 'default' | 'secondary' | (string & {});
|
|
1492
1683
|
size?: string;
|
|
1493
1684
|
/**
|
|
@@ -1499,8 +1690,8 @@ interface LinkProps extends Omit<RAC.LinkProps, RemovedProps$20> {
|
|
|
1499
1690
|
declare const _Link: react8.ForwardRefExoticComponent<LinkProps & react8.RefAttributes<HTMLAnchorElement>>;
|
|
1500
1691
|
//#endregion
|
|
1501
1692
|
//#region src/LinkButton/LinkButton.d.ts
|
|
1502
|
-
type RemovedProps$
|
|
1503
|
-
interface LinkButtonProps extends Omit<RAC.LinkProps, RemovedProps$
|
|
1693
|
+
type RemovedProps$28 = 'isDisabled' | 'isPending' | 'className' | 'style';
|
|
1694
|
+
interface LinkButtonProps extends Omit<RAC.LinkProps, RemovedProps$28> {
|
|
1504
1695
|
variant?: 'primary' | 'secondary' | 'destructive' | 'ghost' | 'link' | (string & {});
|
|
1505
1696
|
size?: 'default' | 'small' | 'large' | 'icon' | (string & {});
|
|
1506
1697
|
/**
|
|
@@ -1557,15 +1748,15 @@ declare const List: {
|
|
|
1557
1748
|
};
|
|
1558
1749
|
//#endregion
|
|
1559
1750
|
//#region src/Menu/MenuItem.d.ts
|
|
1560
|
-
type RemovedProps$
|
|
1561
|
-
interface MenuItemProps extends Omit<RAC.MenuItemProps, RemovedProps$
|
|
1751
|
+
type RemovedProps$27 = 'style' | 'className';
|
|
1752
|
+
interface MenuItemProps extends Omit<RAC.MenuItemProps, RemovedProps$27> {
|
|
1562
1753
|
variant?: 'destructive' | 'default' | (string & {});
|
|
1563
1754
|
size?: string;
|
|
1564
1755
|
}
|
|
1565
1756
|
//#endregion
|
|
1566
1757
|
//#region src/Menu/MenuSection.d.ts
|
|
1567
|
-
type RemovedProps$
|
|
1568
|
-
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> {
|
|
1569
1760
|
title?: string;
|
|
1570
1761
|
children: ReactNode;
|
|
1571
1762
|
}
|
|
@@ -1579,8 +1770,8 @@ interface PopoverProps extends Omit<RAC.PopoverProps, 'isOpen' | 'isKeyboardDism
|
|
|
1579
1770
|
declare const _Popover: react8.ForwardRefExoticComponent<PopoverProps & react8.RefAttributes<HTMLDivElement>>;
|
|
1580
1771
|
//#endregion
|
|
1581
1772
|
//#region src/Menu/Menu.d.ts
|
|
1582
|
-
type RemovedProps$
|
|
1583
|
-
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> {
|
|
1584
1775
|
/**
|
|
1585
1776
|
* Whether the menu is open.
|
|
1586
1777
|
* @default false
|
|
@@ -1656,7 +1847,12 @@ declare const ActionMenu: {
|
|
|
1656
1847
|
};
|
|
1657
1848
|
//#endregion
|
|
1658
1849
|
//#region src/Multiselect/Multiselect.d.ts
|
|
1659
|
-
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'];
|
|
1660
1856
|
/**
|
|
1661
1857
|
* If the select should be disabled.
|
|
1662
1858
|
*
|
|
@@ -1762,6 +1958,9 @@ interface MultipleSelectProps extends Pick<FieldBaseProps<'label'>, 'width' | 's
|
|
|
1762
1958
|
*/
|
|
1763
1959
|
ariaLiveMessages?: Props['ariaLiveMessages'];
|
|
1764
1960
|
}
|
|
1961
|
+
/**
|
|
1962
|
+
* @deprecated Use `TagField` instead. Will be removed in a future major version.
|
|
1963
|
+
*/
|
|
1765
1964
|
declare const Multiselect: ({
|
|
1766
1965
|
disabled,
|
|
1767
1966
|
readOnly,
|
|
@@ -1783,13 +1982,14 @@ declare const Multiselect: ({
|
|
|
1783
1982
|
}: MultipleSelectProps) => react_jsx_runtime3.JSX.Element;
|
|
1784
1983
|
//#endregion
|
|
1785
1984
|
//#region src/NumberField/NumberField.d.ts
|
|
1786
|
-
type RemovedProps$
|
|
1787
|
-
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'> {
|
|
1788
1987
|
variant?: string;
|
|
1789
1988
|
size?: string;
|
|
1790
1989
|
/**
|
|
1791
1990
|
* Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
|
|
1792
1991
|
* @default full
|
|
1992
|
+
* @remarks `WidthProp`
|
|
1793
1993
|
*/
|
|
1794
1994
|
width?: WidthProp['width'];
|
|
1795
1995
|
/**
|
|
@@ -1908,7 +2108,7 @@ interface NonModalProps extends Omit<OverlayTriggerProps, 'isOpen'>, AriaLabelin
|
|
|
1908
2108
|
declare const NonModal: react8.ForwardRefExoticComponent<Omit<NonModalProps, "ref"> & react8.RefAttributes<HTMLElement>>;
|
|
1909
2109
|
//#endregion
|
|
1910
2110
|
//#region src/Overlay/Underlay.d.ts
|
|
1911
|
-
interface UnderlayProps extends Omit<RAC.ModalOverlayProps, 'isOpen' | 'isDismissable' | 'isKeyboardDismissDisabled' | 'className'> {
|
|
2111
|
+
interface UnderlayProps extends Omit<RAC.ModalOverlayProps, 'isOpen' | 'isDismissable' | 'isKeyboardDismissDisabled' | 'className' | 'render'> {
|
|
1912
2112
|
variant?: string;
|
|
1913
2113
|
size?: string;
|
|
1914
2114
|
open?: boolean;
|
|
@@ -2001,8 +2201,8 @@ declare const OverlayContainerProvider: ({
|
|
|
2001
2201
|
}: OverlayContainerProps) => react_jsx_runtime3.JSX.Element;
|
|
2002
2202
|
//#endregion
|
|
2003
2203
|
//#region src/Radio/RadioGroup.d.ts
|
|
2004
|
-
type RemovedProps$
|
|
2005
|
-
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> {
|
|
2006
2206
|
variant?: string;
|
|
2007
2207
|
size?: string;
|
|
2008
2208
|
/**
|
|
@@ -2027,6 +2227,7 @@ interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$14> {
|
|
|
2027
2227
|
/**
|
|
2028
2228
|
* Control the width of the field.
|
|
2029
2229
|
* @default 100%
|
|
2230
|
+
* @remarks `WidthProp`
|
|
2030
2231
|
*/
|
|
2031
2232
|
width?: WidthProp['width'];
|
|
2032
2233
|
/**
|
|
@@ -2085,8 +2286,8 @@ declare const _RadioGroup: ({
|
|
|
2085
2286
|
}: RadioGroupProps) => react_jsx_runtime3.JSX.Element;
|
|
2086
2287
|
//#endregion
|
|
2087
2288
|
//#region src/Radio/Radio.d.ts
|
|
2088
|
-
type RemovedProps$
|
|
2089
|
-
interface RadioProps extends Omit<RAC.RadioProps, RemovedProps$
|
|
2289
|
+
type RemovedProps$22 = 'className' | 'style' | 'children' | 'isDisabled';
|
|
2290
|
+
interface RadioProps extends Omit<RAC.RadioProps, RemovedProps$22> {
|
|
2090
2291
|
variant?: string;
|
|
2091
2292
|
size?: string;
|
|
2092
2293
|
/**
|
|
@@ -2111,7 +2312,12 @@ interface RadioComponent extends ForwardRefExoticComponent<RadioProps & RefAttri
|
|
|
2111
2312
|
}
|
|
2112
2313
|
//#endregion
|
|
2113
2314
|
//#region src/Scrollable/Scrollable.d.ts
|
|
2114
|
-
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'];
|
|
2115
2321
|
/**
|
|
2116
2322
|
* Children of the layout.
|
|
2117
2323
|
*/
|
|
@@ -2129,8 +2335,8 @@ declare const Scrollable: ({
|
|
|
2129
2335
|
}: ScrollableProps) => react_jsx_runtime3.JSX.Element;
|
|
2130
2336
|
//#endregion
|
|
2131
2337
|
//#region src/SearchField/SearchField.d.ts
|
|
2132
|
-
type RemovedProps$
|
|
2133
|
-
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'> {
|
|
2134
2340
|
/**
|
|
2135
2341
|
* Action element to display in the search field.
|
|
2136
2342
|
*/
|
|
@@ -2140,6 +2346,7 @@ interface SearchFieldProps extends Omit<RAC.SearchFieldProps, RemovedProps$12>,
|
|
|
2140
2346
|
/**
|
|
2141
2347
|
* Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
|
|
2142
2348
|
* @default full
|
|
2349
|
+
* @remarks `WidthProp`
|
|
2143
2350
|
*/
|
|
2144
2351
|
width?: WidthProp['width'];
|
|
2145
2352
|
/**
|
|
@@ -2259,10 +2466,14 @@ declare const SectionMessage: {
|
|
|
2259
2466
|
//#endregion
|
|
2260
2467
|
//#region src/Select/Select.d.ts
|
|
2261
2468
|
type SelectionMode = 'single' | 'multiple';
|
|
2262
|
-
type RemovedProps$
|
|
2263
|
-
interface SelectProps<T extends object, M extends SelectionMode = 'single'> extends Omit<RAC.SelectProps<T, M>, RemovedProps$
|
|
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> {
|
|
2264
2471
|
variant?: string;
|
|
2265
2472
|
size?: string;
|
|
2473
|
+
/**
|
|
2474
|
+
* @remarks `WidthProp`
|
|
2475
|
+
*/
|
|
2476
|
+
width?: WidthProp['width'];
|
|
2266
2477
|
/**
|
|
2267
2478
|
* Children of the select.
|
|
2268
2479
|
*/
|
|
@@ -2328,8 +2539,8 @@ declare const SelectListAction: ({
|
|
|
2328
2539
|
}: SelectListAction) => react_jsx_runtime3.JSX.Element;
|
|
2329
2540
|
//#endregion
|
|
2330
2541
|
//#region src/SelectList/SelectListItem.d.ts
|
|
2331
|
-
type RemovedProps$
|
|
2332
|
-
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> {
|
|
2333
2544
|
children?: ReactNode;
|
|
2334
2545
|
/**
|
|
2335
2546
|
* Whether the item is disabled.
|
|
@@ -2340,7 +2551,7 @@ interface SelectListItemProps extends Omit<RAC.GridListItemProps<object>, Remove
|
|
|
2340
2551
|
declare const _SelectListItem: react8.ForwardRefExoticComponent<SelectListItemProps & react8.RefAttributes<HTMLDivElement>>;
|
|
2341
2552
|
//#endregion
|
|
2342
2553
|
//#region src/SelectList/SelectList.d.ts
|
|
2343
|
-
type RemoveProps = 'style' | 'className' | 'onSelectionChange';
|
|
2554
|
+
type RemoveProps = 'style' | 'className' | 'onSelectionChange' | 'dragAndDropHooks';
|
|
2344
2555
|
interface SelectListProps extends Omit<RAC.GridListProps<object>, RemoveProps> {
|
|
2345
2556
|
/**
|
|
2346
2557
|
* Handler that is called when the selection change.
|
|
@@ -2391,7 +2602,12 @@ declare const _Slider: react8.ForwardRefExoticComponent<SliderProps<number | num
|
|
|
2391
2602
|
declare const Split: () => react_jsx_runtime3.JSX.Element;
|
|
2392
2603
|
//#endregion
|
|
2393
2604
|
//#region src/Stack/Stack.d.ts
|
|
2394
|
-
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'];
|
|
2395
2611
|
/**
|
|
2396
2612
|
* Children of the component.
|
|
2397
2613
|
*/
|
|
@@ -2428,8 +2644,8 @@ declare const Stack: ({
|
|
|
2428
2644
|
}: StackProps) => react_jsx_runtime3.JSX.Element;
|
|
2429
2645
|
//#endregion
|
|
2430
2646
|
//#region src/Switch/Switch.d.ts
|
|
2431
|
-
type RemovedProps$
|
|
2432
|
-
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> {
|
|
2433
2649
|
variant?: string;
|
|
2434
2650
|
size?: string;
|
|
2435
2651
|
/**
|
|
@@ -2459,62 +2675,216 @@ interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$9> {
|
|
|
2459
2675
|
}
|
|
2460
2676
|
declare const _Switch: react8.ForwardRefExoticComponent<SwitchProps & react8.RefAttributes<HTMLLabelElement>>;
|
|
2461
2677
|
//#endregion
|
|
2462
|
-
//#region src/Table/
|
|
2463
|
-
|
|
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> {
|
|
2464
2726
|
variant?: 'grid' | 'default' | 'muted' | (string & {});
|
|
2465
|
-
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 {
|
|
2466
2751
|
/**
|
|
2467
|
-
*
|
|
2752
|
+
* Display content shown when the cell is not being edited.
|
|
2753
|
+
*/
|
|
2754
|
+
children: ReactNode;
|
|
2755
|
+
/**
|
|
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.
|
|
2468
2762
|
* @default false
|
|
2469
2763
|
*/
|
|
2470
|
-
|
|
2764
|
+
saving?: boolean;
|
|
2471
2765
|
/**
|
|
2472
|
-
*
|
|
2473
|
-
* @default true
|
|
2766
|
+
* Called when the editing form is submitted, either via the save button or outside click.
|
|
2474
2767
|
*/
|
|
2475
|
-
|
|
2768
|
+
onSubmit?: (e: FormEvent<HTMLFormElement>) => void;
|
|
2769
|
+
/**
|
|
2770
|
+
* Called when the user cancels editing via the cancel button.
|
|
2771
|
+
*/
|
|
2772
|
+
onCancel?: () => void;
|
|
2476
2773
|
/**
|
|
2477
|
-
*
|
|
2774
|
+
* Whether editing is disabled. Hides the edit trigger button.
|
|
2478
2775
|
* @default false
|
|
2479
2776
|
*/
|
|
2480
|
-
|
|
2777
|
+
disabled?: boolean;
|
|
2778
|
+
/**
|
|
2779
|
+
* The action to submit the form to. Supports React 19 form actions.
|
|
2780
|
+
*/
|
|
2781
|
+
action?: string | FormHTMLAttributes<HTMLFormElement>['action'];
|
|
2481
2782
|
/**
|
|
2482
|
-
*
|
|
2783
|
+
* Horizontal text alignment of the cell content.
|
|
2784
|
+
* @default 'left'
|
|
2483
2785
|
*/
|
|
2484
|
-
|
|
2786
|
+
alignX?: keyof typeof textAlign;
|
|
2485
2787
|
/**
|
|
2486
|
-
*
|
|
2487
|
-
* @default
|
|
2788
|
+
* Text overflow behavior for this specific cell. Overrides the table-level overflow setting.
|
|
2789
|
+
* @default undefined (inherits from table)
|
|
2488
2790
|
*/
|
|
2489
|
-
|
|
2791
|
+
overflow?: 'truncate' | 'wrap';
|
|
2490
2792
|
}
|
|
2491
|
-
|
|
2492
|
-
|
|
2493
|
-
|
|
2793
|
+
//#endregion
|
|
2794
|
+
//#region src/Table/TableDropIndicator.d.ts
|
|
2795
|
+
interface TableDropIndicatorProps extends Pick<DropIndicatorProps, 'target'> {
|
|
2494
2796
|
size?: string;
|
|
2797
|
+
variant?: string;
|
|
2495
2798
|
}
|
|
2496
|
-
|
|
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 & {});
|
|
2497
2812
|
/**
|
|
2498
|
-
*
|
|
2499
|
-
* @default
|
|
2813
|
+
* Controls how cell content overflows. Works best when columns have defined width props.
|
|
2814
|
+
* @default 'wrap'
|
|
2500
2815
|
*/
|
|
2501
|
-
|
|
2502
|
-
|
|
2503
|
-
|
|
2504
|
-
|
|
2505
|
-
|
|
2506
|
-
|
|
2507
|
-
|
|
2508
|
-
|
|
2509
|
-
|
|
2510
|
-
|
|
2511
|
-
|
|
2512
|
-
Column: (props: ColumnProps$1) => JSX.Element;
|
|
2513
|
-
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';
|
|
2514
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
|
+
};
|
|
2515
2885
|
//#endregion
|
|
2516
2886
|
//#region src/Tabs/TabList.d.ts
|
|
2517
|
-
|
|
2887
|
+
type TabListProps = Omit<RAC.TabListProps<object>, 'className' | 'style'>;
|
|
2518
2888
|
//#endregion
|
|
2519
2889
|
//#region src/Tabs/TabPanel.d.ts
|
|
2520
2890
|
type TabPanelProps = Omit<RAC.TabPanelProps, 'className' | 'style'>;
|
|
@@ -2539,17 +2909,14 @@ declare const _Tabs: {
|
|
|
2539
2909
|
size,
|
|
2540
2910
|
...rest
|
|
2541
2911
|
}: TabsProps): react_jsx_runtime3.JSX.Element;
|
|
2542
|
-
List: (
|
|
2543
|
-
space,
|
|
2544
|
-
...props
|
|
2545
|
-
}: TabListProps) => react_jsx_runtime3.JSX.Element;
|
|
2912
|
+
List: (props: TabListProps) => react_jsx_runtime3.JSX.Element;
|
|
2546
2913
|
TabPanel: (props: TabPanelProps) => react_jsx_runtime3.JSX.Element;
|
|
2547
2914
|
Item: (props: TabProps) => react_jsx_runtime3.JSX.Element;
|
|
2548
2915
|
};
|
|
2549
2916
|
//#endregion
|
|
2550
2917
|
//#region src/TagGroup/TagGroup.d.ts
|
|
2551
|
-
type RemovedProps$
|
|
2552
|
-
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'> {
|
|
2553
2920
|
variant?: string;
|
|
2554
2921
|
size?: string;
|
|
2555
2922
|
/**
|
|
@@ -2583,8 +2950,8 @@ declare const _TagGroup: ({
|
|
|
2583
2950
|
}: TagGroupProps) => react_jsx_runtime3.JSX.Element;
|
|
2584
2951
|
//#endregion
|
|
2585
2952
|
//#region src/TagGroup/Tag.d.ts
|
|
2586
|
-
type RemovedProps$
|
|
2587
|
-
interface TagProps extends Omit<RAC.TagProps, RemovedProps$
|
|
2953
|
+
type RemovedProps$10 = 'className' | 'style' | 'isDisabled';
|
|
2954
|
+
interface TagProps extends Omit<RAC.TagProps, RemovedProps$10> {
|
|
2588
2955
|
variant?: string;
|
|
2589
2956
|
size?: string;
|
|
2590
2957
|
children?: ReactNode;
|
|
@@ -2610,9 +2977,74 @@ declare const _Tag: {
|
|
|
2610
2977
|
}: TagGroupProps) => react_jsx_runtime3.JSX.Element;
|
|
2611
2978
|
};
|
|
2612
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;
|
|
3043
|
+
};
|
|
3044
|
+
//#endregion
|
|
2613
3045
|
//#region src/Text/Text.d.ts
|
|
2614
|
-
type RemovedProps$
|
|
2615
|
-
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 {
|
|
2616
3048
|
/**
|
|
2617
3049
|
* The children of the component
|
|
2618
3050
|
*/
|
|
@@ -2643,6 +3075,7 @@ declare const _Text: ({
|
|
|
2643
3075
|
weight,
|
|
2644
3076
|
fontSize,
|
|
2645
3077
|
fontStyle,
|
|
3078
|
+
lineHeight,
|
|
2646
3079
|
wrap,
|
|
2647
3080
|
whiteSpace,
|
|
2648
3081
|
children,
|
|
@@ -2651,8 +3084,8 @@ declare const _Text: ({
|
|
|
2651
3084
|
}: TextProps) => react_jsx_runtime3.JSX.Element;
|
|
2652
3085
|
//#endregion
|
|
2653
3086
|
//#region src/TextArea/TextArea.d.ts
|
|
2654
|
-
type RemovedProps$
|
|
2655
|
-
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'> {
|
|
2656
3089
|
variant?: string;
|
|
2657
3090
|
size?: string;
|
|
2658
3091
|
/**
|
|
@@ -2704,8 +3137,8 @@ interface TextAreaProps extends Omit<RAC.TextFieldProps, RemovedProps$5>, Pick<R
|
|
|
2704
3137
|
declare const _TextArea: react8.ForwardRefExoticComponent<TextAreaProps & react8.RefAttributes<HTMLTextAreaElement>>;
|
|
2705
3138
|
//#endregion
|
|
2706
3139
|
//#region src/TextField/TextField.d.ts
|
|
2707
|
-
type RemovedProps$
|
|
2708
|
-
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'> {
|
|
2709
3142
|
variant?: string;
|
|
2710
3143
|
size?: string;
|
|
2711
3144
|
/**
|
|
@@ -2762,7 +3195,12 @@ interface TextFieldProps extends Omit<RAC.TextFieldProps, RemovedProps$4>, Pick<
|
|
|
2762
3195
|
declare const _TextField: react8.ForwardRefExoticComponent<TextFieldProps & react8.RefAttributes<HTMLInputElement>>;
|
|
2763
3196
|
//#endregion
|
|
2764
3197
|
//#region src/Tiles/Tiles.d.ts
|
|
2765
|
-
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'];
|
|
2766
3204
|
/**
|
|
2767
3205
|
* The children of the component.
|
|
2768
3206
|
*/
|
|
@@ -2793,8 +3231,8 @@ declare const Tiles: ({
|
|
|
2793
3231
|
}: TilesProps) => react_jsx_runtime3.JSX.Element;
|
|
2794
3232
|
//#endregion
|
|
2795
3233
|
//#region src/TimeField/TimeField.d.ts
|
|
2796
|
-
type RemovedProps$
|
|
2797
|
-
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'> {
|
|
2798
3236
|
variant?: string;
|
|
2799
3237
|
size?: string;
|
|
2800
3238
|
/**
|
|
@@ -2858,10 +3296,10 @@ declare const Toast: ({
|
|
|
2858
3296
|
}: ToastProps) => react_jsx_runtime3.JSX.Element;
|
|
2859
3297
|
//#endregion
|
|
2860
3298
|
//#region src/Toast/ToastProvider.d.ts
|
|
2861
|
-
interface ToastProviderProps extends Omit<RAC.ToastRegionProps<object>, RemovedProps$
|
|
3299
|
+
interface ToastProviderProps extends Omit<RAC.ToastRegionProps<object>, RemovedProps$4> {
|
|
2862
3300
|
position?: ToastPosition;
|
|
2863
3301
|
}
|
|
2864
|
-
type RemovedProps$
|
|
3302
|
+
type RemovedProps$4 = 'children' | 'className' | 'style' | 'queue';
|
|
2865
3303
|
type ToastPosition = 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right' | 'top' | 'bottom';
|
|
2866
3304
|
declare const ToastProvider: ({
|
|
2867
3305
|
position
|
|
@@ -2881,8 +3319,8 @@ declare function useToast(): {
|
|
|
2881
3319
|
};
|
|
2882
3320
|
//#endregion
|
|
2883
3321
|
//#region src/Tooltip/TooltipTrigger.d.ts
|
|
2884
|
-
type RemovedProps$
|
|
2885
|
-
interface TooltipTriggerProps extends Omit<RAC.TooltipTriggerComponentProps, RemovedProps$
|
|
3322
|
+
type RemovedProps$3 = 'isDisabled' | 'isOpen' | 'children';
|
|
3323
|
+
interface TooltipTriggerProps extends Omit<RAC.TooltipTriggerComponentProps, RemovedProps$3> {
|
|
2886
3324
|
/**
|
|
2887
3325
|
* The children of the component.
|
|
2888
3326
|
*/
|
|
@@ -2898,8 +3336,8 @@ interface TooltipTriggerProps extends Omit<RAC.TooltipTriggerComponentProps, Rem
|
|
|
2898
3336
|
}
|
|
2899
3337
|
//#endregion
|
|
2900
3338
|
//#region src/Tooltip/Tooltip.d.ts
|
|
2901
|
-
type RemovedProps = 'className' | 'isOpen' | 'style';
|
|
2902
|
-
interface TooltipProps extends Omit<RAC.TooltipProps, RemovedProps> {
|
|
3339
|
+
type RemovedProps$2 = 'className' | 'isOpen' | 'style';
|
|
3340
|
+
interface TooltipProps extends Omit<RAC.TooltipProps, RemovedProps$2> {
|
|
2903
3341
|
/**
|
|
2904
3342
|
* The children of the component.
|
|
2905
3343
|
*/
|
|
@@ -2959,6 +3397,146 @@ declare const Loader: ({
|
|
|
2959
3397
|
...props
|
|
2960
3398
|
}: LoaderProps) => react_jsx_runtime3.JSX.Element;
|
|
2961
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
|
+
};
|
|
3539
|
+
//#endregion
|
|
2962
3540
|
//#region src/utils/form.utils.d.ts
|
|
2963
3541
|
/**
|
|
2964
3542
|
* Parses the data from a submitted HTML form and returns an object mapping form field names to their values.
|
|
@@ -2968,4 +3546,4 @@ declare const Loader: ({
|
|
|
2968
3546
|
*/
|
|
2969
3547
|
declare const parseFormData: <T extends Record<string, FormDataEntryValue | FormDataEntryValue[]> = Record<string, FormDataEntryValue | FormDataEntryValue[]>>(e: FormEvent<HTMLFormElement>) => T;
|
|
2970
3548
|
//#endregion
|
|
2971
|
-
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 };
|