@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
|
@@ -1,17 +1,15 @@
|
|
|
1
|
+
import * as _react_types_shared0 from "@react-types/shared";
|
|
1
2
|
import { AriaLabelingProps, Orientation, RefObject, Selection } from "@react-types/shared";
|
|
2
|
-
import RAC, { BreadcrumbsProps as BreadcrumbsProps$1, ButtonProps as ButtonProps$1, DateValue, DialogProps as DialogProps$1, DisclosurePanelProps, DisclosureProps as DisclosureProps$1, HeadingProps, Key, ProgressBarProps, RouterProvider, SlotProps, TagListProps, TimeValue, TimeValue as TimeValue$1, ValidationResult } from "react-aria-components";
|
|
3
|
-
import {
|
|
4
|
-
import { AspectProp, CursorProp, DateFormat, FontSizeProp, FontStyleProp, FontWeightProp, GapSpaceProp, HeightProp, MaxWidthProp, NumericFormat, PaddingBottomProp, PaddingLeftProp, PaddingRightProp, PaddingSpaceProp, PaddingSpacePropX, PaddingSpacePropY, PaddingTopProp, PlaceItemsProp, TextAlignProp, TextWrapProp, Theme, ThemeProvider, ThemeProviderProps, WhiteSpaceProps, WidthProp, alignment, useTheme } from "@marigold/system";
|
|
3
|
+
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, ValidationResult, useAsyncList, useDragAndDrop, useListData } from "react-aria-components";
|
|
4
|
+
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";
|
|
5
5
|
import * as react_jsx_runtime3 from "react/jsx-runtime";
|
|
6
|
-
import * as
|
|
7
|
-
import { CSSProperties, ComponentPropsWithRef, Dispatch, ElementType, FormEvent, ForwardRefExoticComponent, JSX, Key as Key$1, PropsWithChildren, ReactElement, ReactNode, RefAttributes, SVGProps, SetStateAction } from "react";
|
|
6
|
+
import * as react10 from "react";
|
|
7
|
+
import { CSSProperties, ComponentPropsWithRef, Dispatch, ElementType, FormEvent, FormHTMLAttributes, ForwardRefExoticComponent, JSX, Key as Key$1, PropsWithChildren, ReactElement, ReactNode, RefAttributes, SVGProps, SetStateAction } from "react";
|
|
8
8
|
import { AriaLabelingProps as AriaLabelingProps$1, AriaRegionProps, DistributiveOmit, NonZeroPercentage } from "@marigold/types";
|
|
9
9
|
import { AriaLandmarkRole } from "@react-aria/landmark";
|
|
10
10
|
import { Props } from "react-select";
|
|
11
11
|
import { OverlayTriggerProps, OverlayTriggerState } from "react-stately";
|
|
12
12
|
import { I18nProvider } from "@react-aria/i18n";
|
|
13
|
-
import { AriaTableProps } from "@react-aria/table";
|
|
14
|
-
import { Cell, ColumnProps, RowProps, TableBody, TableHeader, TableStateProps } from "@react-stately/table";
|
|
15
13
|
import { VisuallyHidden } from "@react-aria/visually-hidden";
|
|
16
14
|
|
|
17
15
|
//#region src/Accordion/AccordionHeader.d.ts
|
|
@@ -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
|
-
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
|
}
|
|
@@ -144,8 +206,8 @@ declare const HelpText: ({
|
|
|
144
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
|
*/
|
|
@@ -159,7 +221,7 @@ interface FieldBaseProps<T$1 extends ElementType> extends WidthProp, Pick<HelpTe
|
|
|
159
221
|
isInvalid?: boolean;
|
|
160
222
|
isRequired?: boolean;
|
|
161
223
|
}
|
|
162
|
-
declare const FieldBase: <T extends ElementType>(props: FieldBaseProps<T> & DistributiveOmit<ComponentPropsWithRef<T>, "as"> &
|
|
224
|
+
declare const FieldBase: <T extends ElementType>(props: FieldBaseProps<T> & DistributiveOmit<ComponentPropsWithRef<T>, "as"> & react10.RefAttributes<any>) => React.ReactNode;
|
|
163
225
|
//#endregion
|
|
164
226
|
//#region src/ListBox/ListBoxItem.d.ts
|
|
165
227
|
type ListBoxItemProps = Omit<RAC.ListBoxItemProps, 'style' | 'className' | 'children'> & {
|
|
@@ -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.
|
|
@@ -367,11 +438,11 @@ interface ButtonProps extends Omit<RAC.ButtonProps, RemovedProps$33> {
|
|
|
367
438
|
*/
|
|
368
439
|
loading?: RAC.ButtonProps['isPending'];
|
|
369
440
|
}
|
|
370
|
-
declare const _Button:
|
|
441
|
+
declare const _Button: react10.ForwardRefExoticComponent<ButtonProps & react10.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
|
/**
|
|
@@ -589,7 +713,7 @@ interface CloseButtonProps extends Pick<ButtonProps, 'onPress' | 'size' | 'varia
|
|
|
589
713
|
className?: string;
|
|
590
714
|
style?: CSSProperties;
|
|
591
715
|
}
|
|
592
|
-
declare const CloseButton:
|
|
716
|
+
declare const CloseButton: react10.ForwardRefExoticComponent<CloseButtonProps & react10.RefAttributes<HTMLButtonElement>>;
|
|
593
717
|
//#endregion
|
|
594
718
|
//#region src/Collapsible/CollapsibleTrigger.d.ts
|
|
595
719
|
interface CollapsibleProps$1 extends Omit<ButtonProps$1, 'className' | 'style'>, Pick<HeadingProps, 'level'> {
|
|
@@ -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
|
/**
|
|
@@ -885,11 +1023,11 @@ interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProp
|
|
|
885
1023
|
*/
|
|
886
1024
|
width?: WidthProp['width'];
|
|
887
1025
|
}
|
|
888
|
-
declare const _DateField:
|
|
1026
|
+
declare const _DateField: react10.ForwardRefExoticComponent<DateFieldProps & react10.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
|
-
declare const _DatePicker:
|
|
1068
|
+
declare const _DatePicker: react10.ForwardRefExoticComponent<DatePickerProps & react10.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
|
/**
|
|
@@ -944,7 +1083,7 @@ interface ModalProps extends RAC.ModalOverlayProps {
|
|
|
944
1083
|
keyboardDismissable?: boolean;
|
|
945
1084
|
size?: string;
|
|
946
1085
|
}
|
|
947
|
-
declare const _Modal:
|
|
1086
|
+
declare const _Modal: react10.ForwardRefExoticComponent<Omit<ModalProps, "className" | "isOpen" | "isDismissable" | "isKeyboardDismissDisabled"> & react10.RefAttributes<HTMLDivElement>>;
|
|
948
1087
|
//#endregion
|
|
949
1088
|
//#region src/Dialog/DialogActions.d.ts
|
|
950
1089
|
interface DialogActions {
|
|
@@ -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
|
/**
|
|
@@ -1083,15 +1222,15 @@ interface ConfirmationConfig extends Pick<ConfirmationDialogProps, 'variant' | '
|
|
|
1083
1222
|
content?: ReactNode;
|
|
1084
1223
|
}
|
|
1085
1224
|
type ConfirmationFn = (props: ConfirmationConfig) => Promise<ConfirmationResult>;
|
|
1086
|
-
declare const ConfirmationContext:
|
|
1225
|
+
declare const ConfirmationContext: react10.Context<ConfirmationFn | null>;
|
|
1087
1226
|
declare const ConfirmationProvider: ({
|
|
1088
1227
|
children
|
|
1089
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: ({
|
|
@@ -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: react10.ForwardRefExoticComponent<FormProps & react10.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
|
|
@@ -1391,13 +1574,13 @@ declare const IconButton: ({
|
|
|
1391
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
|
*/
|
|
@@ -1425,15 +1608,15 @@ declare const Inline: ({
|
|
|
1425
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;
|
|
1433
1616
|
size?: string;
|
|
1434
1617
|
className?: string;
|
|
1435
1618
|
}
|
|
1436
|
-
declare const _Input:
|
|
1619
|
+
declare const _Input: react10.ForwardRefExoticComponent<InputProps & react10.RefAttributes<HTMLInputElement>>;
|
|
1437
1620
|
//#endregion
|
|
1438
1621
|
//#region src/Input/SearchInput.d.ts
|
|
1439
1622
|
interface SearchInputProps extends Omit<InputProps, 'icon' | 'className'> {
|
|
@@ -1444,7 +1627,7 @@ interface SearchInputProps extends Omit<InputProps, 'icon' | 'className'> {
|
|
|
1444
1627
|
};
|
|
1445
1628
|
onClear?: () => void;
|
|
1446
1629
|
}
|
|
1447
|
-
declare const SearchInput:
|
|
1630
|
+
declare const SearchInput: react10.ForwardRefExoticComponent<SearchInputProps & react10.RefAttributes<HTMLInputElement>>;
|
|
1448
1631
|
//#endregion
|
|
1449
1632
|
//#region src/Inset/Inset.d.ts
|
|
1450
1633
|
type InsetProps = (AriaRegionProps & {
|
|
@@ -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;
|
|
@@ -1478,8 +1664,8 @@ declare const Inset: ({
|
|
|
1478
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
|
}
|
|
@@ -1491,8 +1677,8 @@ declare const _Label: ({
|
|
|
1491
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
|
/**
|
|
@@ -1501,11 +1687,11 @@ interface LinkProps extends Omit<RAC.LinkProps, RemovedProps$20> {
|
|
|
1501
1687
|
*/
|
|
1502
1688
|
disabled?: RAC.LinkProps['isDisabled'];
|
|
1503
1689
|
}
|
|
1504
|
-
declare const _Link:
|
|
1690
|
+
declare const _Link: react10.ForwardRefExoticComponent<LinkProps & react10.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
|
/**
|
|
@@ -1523,7 +1709,7 @@ interface LinkButtonProps extends Omit<RAC.LinkProps, RemovedProps$19> {
|
|
|
1523
1709
|
*/
|
|
1524
1710
|
disabled?: RAC.LinkProps['isDisabled'];
|
|
1525
1711
|
}
|
|
1526
|
-
declare const _LinkButton:
|
|
1712
|
+
declare const _LinkButton: react10.ForwardRefExoticComponent<LinkButtonProps & react10.RefAttributes<HTMLAnchorElement>>;
|
|
1527
1713
|
//#endregion
|
|
1528
1714
|
//#region src/List/ListItem.d.ts
|
|
1529
1715
|
interface ListItemProps {
|
|
@@ -1562,15 +1748,15 @@ declare const List: {
|
|
|
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
|
}
|
|
@@ -1581,11 +1767,11 @@ interface PopoverProps extends Omit<RAC.PopoverProps, 'isOpen' | 'isKeyboardDism
|
|
|
1581
1767
|
open?: boolean;
|
|
1582
1768
|
children: ReactNode;
|
|
1583
1769
|
}
|
|
1584
|
-
declare const _Popover:
|
|
1770
|
+
declare const _Popover: react10.ForwardRefExoticComponent<PopoverProps & react10.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
|
|
@@ -1661,7 +1847,12 @@ declare const ActionMenu: {
|
|
|
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,
|
|
@@ -1788,13 +1982,14 @@ declare const Multiselect: ({
|
|
|
1788
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
|
/**
|
|
@@ -1828,22 +2023,22 @@ interface NumberFieldProps extends Omit<RAC.NumberFieldProps, RemovedProps$15>,
|
|
|
1828
2023
|
*/
|
|
1829
2024
|
placeholder?: string;
|
|
1830
2025
|
}
|
|
1831
|
-
declare const _NumberField:
|
|
2026
|
+
declare const _NumberField: react10.ForwardRefExoticComponent<NumberFieldProps & react10.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
|
}
|
|
@@ -1910,10 +2105,10 @@ interface NonModalProps extends Omit<OverlayTriggerProps, 'isOpen'>, AriaLabelin
|
|
|
1910
2105
|
*/
|
|
1911
2106
|
ref?: RefObject<HTMLElement | null>;
|
|
1912
2107
|
}
|
|
1913
|
-
declare const NonModal:
|
|
2108
|
+
declare const NonModal: react10.ForwardRefExoticComponent<Omit<NonModalProps, "ref"> & react10.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;
|
|
@@ -1983,12 +2178,12 @@ declare const ProgressCircle: ({
|
|
|
1983
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 {
|
|
@@ -2006,8 +2201,8 @@ declare const OverlayContainerProvider: ({
|
|
|
2006
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
|
/**
|
|
@@ -2090,8 +2286,8 @@ declare const _RadioGroup: ({
|
|
|
2090
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
|
*/
|
|
@@ -2134,8 +2335,8 @@ declare const Scrollable: ({
|
|
|
2134
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
|
/**
|
|
@@ -2183,7 +2385,7 @@ interface SearchFieldProps extends Omit<RAC.SearchFieldProps, RemovedProps$12>,
|
|
|
2183
2385
|
*/
|
|
2184
2386
|
placeholder?: string;
|
|
2185
2387
|
}
|
|
2186
|
-
declare const _SearchField:
|
|
2388
|
+
declare const _SearchField: react10.ForwardRefExoticComponent<SearchFieldProps & react10.RefAttributes<HTMLInputElement>>;
|
|
2187
2389
|
//#endregion
|
|
2188
2390
|
//#region src/SectionMessage/SectionMessageTitle.d.ts
|
|
2189
2391
|
interface SectionMessageTitleProps {
|
|
@@ -2264,14 +2466,18 @@ declare const SectionMessage: {
|
|
|
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
|
*
|
|
@@ -2313,7 +2519,7 @@ interface SelectProps<T$1 extends object, M$1 extends SelectionMode = 'single'>
|
|
|
2313
2519
|
*/
|
|
2314
2520
|
error?: boolean;
|
|
2315
2521
|
}
|
|
2316
|
-
declare const Select: (<T extends object, M extends SelectionMode = "single">(props: SelectProps<T, M> &
|
|
2522
|
+
declare const Select: (<T extends object, M extends SelectionMode = "single">(props: SelectProps<T, M> & react10.RefAttributes<HTMLButtonElement>) => react10.ReactElement | null) & {
|
|
2317
2523
|
Option: ({
|
|
2318
2524
|
...props
|
|
2319
2525
|
}: ListBoxItemProps) => react_jsx_runtime3.JSX.Element;
|
|
@@ -2333,8 +2539,8 @@ declare const SelectListAction: ({
|
|
|
2333
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.
|
|
@@ -2342,10 +2548,10 @@ interface SelectListItemProps extends Omit<RAC.GridListItemProps<object>, Remove
|
|
|
2342
2548
|
*/
|
|
2343
2549
|
disabled?: RAC.GridListItemProps<object>['isDisabled'];
|
|
2344
2550
|
}
|
|
2345
|
-
declare const _SelectListItem:
|
|
2551
|
+
declare const _SelectListItem: react10.ForwardRefExoticComponent<SelectListItemProps & react10.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
|
/**
|
|
@@ -2390,13 +2596,18 @@ interface SliderProps<T$1> extends Omit<RAC.SliderProps<T$1>, 'children' | 'isDi
|
|
|
2390
2596
|
*/
|
|
2391
2597
|
label?: ReactNode;
|
|
2392
2598
|
}
|
|
2393
|
-
declare const _Slider:
|
|
2599
|
+
declare const _Slider: react10.ForwardRefExoticComponent<SliderProps<number | number[]> & react10.RefAttributes<HTMLDivElement>>;
|
|
2394
2600
|
//#endregion
|
|
2395
2601
|
//#region src/Split/Split.d.ts
|
|
2396
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
|
/**
|
|
@@ -2432,8 +2644,8 @@ declare const Stack: ({
|
|
|
2432
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
|
/**
|
|
@@ -2461,64 +2673,218 @@ interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$9> {
|
|
|
2461
2673
|
*/
|
|
2462
2674
|
selected?: RAC.SwitchProps['isSelected'];
|
|
2463
2675
|
}
|
|
2464
|
-
declare const _Switch:
|
|
2676
|
+
declare const _Switch: react10.ForwardRefExoticComponent<SwitchProps & react10.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;
|
|
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);
|
|
2470
2760
|
/**
|
|
2471
|
-
*
|
|
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'> {
|
|
2796
|
+
size?: string;
|
|
2797
|
+
variant?: string;
|
|
2798
|
+
}
|
|
2799
|
+
//#endregion
|
|
2800
|
+
//#region src/Table/TableDragPreview.d.ts
|
|
2801
|
+
interface TableDragPreviewProps {
|
|
2802
|
+
variant?: string;
|
|
2498
2803
|
size?: string;
|
|
2804
|
+
items: Record<string, string>[];
|
|
2499
2805
|
}
|
|
2500
|
-
|
|
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) => react10.JSX.Element) | undefined;
|
|
2879
|
+
renderDragPreview: ((items: _react_types_shared0.DragItem[]) => react10.JSX.Element | {
|
|
2880
|
+
element: react10.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'>;
|
|
@@ -2543,17 +2909,14 @@ declare const _Tabs: {
|
|
|
2543
2909
|
size,
|
|
2544
2910
|
...rest
|
|
2545
2911
|
}: TabsProps): react_jsx_runtime3.JSX.Element;
|
|
2546
|
-
List: (
|
|
2547
|
-
space,
|
|
2548
|
-
...props
|
|
2549
|
-
}: TabListProps) => react_jsx_runtime3.JSX.Element;
|
|
2912
|
+
List: (props: TabListProps) => react_jsx_runtime3.JSX.Element;
|
|
2550
2913
|
TabPanel: (props: TabPanelProps) => react_jsx_runtime3.JSX.Element;
|
|
2551
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
|
/**
|
|
@@ -2587,8 +2950,8 @@ declare const _TagGroup: ({
|
|
|
2587
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;
|
|
@@ -2614,9 +2977,74 @@ declare const _Tag: {
|
|
|
2614
2977
|
}: TagGroupProps) => react_jsx_runtime3.JSX.Element;
|
|
2615
2978
|
};
|
|
2616
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> & react10.RefAttributes<HTMLDivElement>) => react10.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
|
|
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,6 +3075,7 @@ declare const _Text: ({
|
|
|
2647
3075
|
weight,
|
|
2648
3076
|
fontSize,
|
|
2649
3077
|
fontStyle,
|
|
3078
|
+
lineHeight,
|
|
2650
3079
|
wrap,
|
|
2651
3080
|
whiteSpace,
|
|
2652
3081
|
children,
|
|
@@ -2655,8 +3084,8 @@ declare const _Text: ({
|
|
|
2655
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
|
/**
|
|
@@ -2705,11 +3134,11 @@ interface TextAreaProps extends Omit<RAC.TextFieldProps, RemovedProps$5>, Pick<R
|
|
|
2705
3134
|
*/
|
|
2706
3135
|
rows?: number;
|
|
2707
3136
|
}
|
|
2708
|
-
declare const _TextArea:
|
|
3137
|
+
declare const _TextArea: react10.ForwardRefExoticComponent<TextAreaProps & react10.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
|
/**
|
|
@@ -2763,10 +3192,15 @@ interface TextFieldProps extends Omit<RAC.TextFieldProps, RemovedProps$4>, Pick<
|
|
|
2763
3192
|
*/
|
|
2764
3193
|
placeholder?: string;
|
|
2765
3194
|
}
|
|
2766
|
-
declare const _TextField:
|
|
3195
|
+
declare const _TextField: react10.ForwardRefExoticComponent<TextFieldProps & react10.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
|
*/
|
|
@@ -2797,8 +3231,8 @@ declare const Tiles: ({
|
|
|
2797
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
|
/**
|
|
@@ -2842,7 +3276,7 @@ interface TimeFieldProps extends Omit<RAC.TimeFieldProps<TimeValue$1>, RemovedPr
|
|
|
2842
3276
|
*/
|
|
2843
3277
|
shouldForceLeadingZeros?: boolean;
|
|
2844
3278
|
}
|
|
2845
|
-
declare const _TimeField:
|
|
3279
|
+
declare const _TimeField: react10.ForwardRefExoticComponent<TimeFieldProps & react10.RefAttributes<HTMLInputElement>>;
|
|
2846
3280
|
//#endregion
|
|
2847
3281
|
//#region src/Toast/Toast.d.ts
|
|
2848
3282
|
type ToastContentProps = {
|
|
@@ -2862,10 +3296,10 @@ declare const Toast: ({
|
|
|
2862
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
|
|
@@ -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
|
*/
|
|
@@ -2963,6 +3397,146 @@ declare const Loader: ({
|
|
|
2963
3397
|
...props
|
|
2964
3398
|
}: LoaderProps) => react_jsx_runtime3.JSX.Element;
|
|
2965
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
|
|
2966
3540
|
//#region src/utils/form.utils.d.ts
|
|
2967
3541
|
/**
|
|
2968
3542
|
* Parses the data from a submitted HTML form and returns an object mapping form field names to their values.
|
|
@@ -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 };
|