@marigold/components 15.2.0 → 15.4.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.
Files changed (5) hide show
  1. package/dist/index.d.mts +2759 -2052
  2. package/dist/index.d.ts +2759 -2052
  3. package/dist/index.js +9696 -11465
  4. package/dist/index.mjs +9535 -11491
  5. package/package.json +29 -28
package/dist/index.d.mts CHANGED
@@ -1,551 +1,820 @@
1
- import { Orientation, RefObject, AriaLabelingProps as AriaLabelingProps$1 } from '@react-types/shared';
2
- export { Selection } from '@react-types/shared';
3
- export { useAsyncList, useListData } from '@react-stately/data';
4
- import { GapSpaceProp, AspectProp, WidthProp, PaddingSpaceProp, PaddingRightProp, PaddingLeftProp, PaddingBottomProp, PaddingTopProp, PaddingSpacePropX, PaddingSpacePropY, PlaceItemsProp, MaxWidthProp, HeightProp, alignment, TextAlignProp, Theme, ThemeProviderProps, FontSizeProp, FontWeightProp, FontStyleProp, CursorProp, TextWrapProp } from '@marigold/system';
5
- export { DateFormat, NumericFormat, ThemeProvider, useTheme } from '@marigold/system';
6
- import * as react_jsx_runtime from 'react/jsx-runtime';
7
- import RAC, { ValidationResult, Key, DialogProps as DialogProps$1, DateValue, SlotProps, UNSTABLE_ToastQueue, TagListProps, ProgressBarProps, TimeValue, BreadcrumbsProps as BreadcrumbsProps$1 } from 'react-aria-components';
8
- export { RouterProvider } from 'react-aria-components';
9
- import * as react from 'react';
10
- import react__default, { ReactNode, ReactElement, ElementType, ComponentPropsWithRef, ForwardRefExoticComponent, RefAttributes, Key as Key$1, CSSProperties, PropsWithChildren, Dispatch, SetStateAction, JSX } from 'react';
11
- import { AriaRegionProps, NonZeroPercentage, DistributiveOmit, AriaLabelingProps } from '@marigold/types';
12
- import { AriaLandmarkRole } from '@react-aria/landmark';
13
- import { Props } from 'react-select';
14
- import { OverlayTriggerState, OverlayTriggerProps } from 'react-stately';
15
- export { I18nProvider } from '@react-aria/i18n';
16
- import { AriaTableProps } from '@react-aria/table';
17
- import { TableStateProps, TableBody, Cell, TableHeader, ColumnProps as ColumnProps$1, RowProps as RowProps$1 } from '@react-stately/table';
18
- export { VisuallyHidden } from '@react-aria/visually-hidden';
19
-
20
- type RemovedProps$y = 'isDisabled' | 'isExpanded';
21
- interface DisclosureProps extends Omit<RAC.DisclosureProps, RemovedProps$y> {
22
- /** Whether the item is disabled. */
23
- disabled?: RAC.DisclosureProps['isDisabled'];
24
- /** Whether the item is expanded (controlled). */
25
- expanded?: RAC.DisclosureProps['isExpanded'];
26
- }
27
- declare const AccordionItem: ({ children, disabled, expanded, ...props }: DisclosureProps) => react_jsx_runtime.JSX.Element;
28
-
29
- interface AccordionPanelProps {
30
- children?: ReactNode;
31
- }
32
-
1
+ import { useAsyncList, useListData } from "@react-stately/data";
2
+ 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, HeadingProps, Key, ProgressBarProps, RouterProvider, SlotProps, TagListProps, TimeValue, TimeValue as TimeValue$1, UNSTABLE_ToastQueue, ValidationResult } from "react-aria-components";
4
+ import * as react6 from "react";
5
+ import React$1, { CSSProperties, ComponentPropsWithRef, Dispatch, ElementType, FormEvent, ForwardRefExoticComponent, JSX, Key as Key$1, PropsWithChildren, ReactElement, ReactNode, RefAttributes, SVGProps, SetStateAction } from "react";
6
+ import * as react_jsx_runtime4 from "react/jsx-runtime";
7
+ import { I18nProvider } from "@react-aria/i18n";
8
+ import { AriaLandmarkRole } from "@react-aria/landmark";
9
+ 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
+ import { VisuallyHidden } from "@react-aria/visually-hidden";
13
+ import { AriaLabelingProps, Orientation, RefObject, Selection } from "@react-types/shared";
14
+ import { AriaLabelingProps as AriaLabelingProps$1, AriaRegionProps, DistributiveOmit, NonZeroPercentage } from "@marigold/types";
15
+ import { Props } from "react-select";
16
+
17
+ //#region src/Accordion/AccordionHeader.d.ts
33
18
  interface AccordionHeaderProps {
34
- children?: ReactNode;
19
+ children?: ReactNode;
35
20
  }
36
-
37
- type RemovedProps$x = 'isDisabled';
38
- interface AccordionProps extends Omit<RAC.DisclosureGroupProps, RemovedProps$x> {
39
- /** Whether all items are disabled. */
40
- disabled?: RAC.DisclosureGroupProps['isDisabled'];
41
- variant?: 'default' | 'card' | (string & {});
42
- size?: string;
21
+ //#endregion
22
+ //#region src/Accordion/AccordionPanel.d.ts
23
+ interface AccordionPanelProps {
24
+ children?: ReactNode;
25
+ }
26
+ //#endregion
27
+ //#region src/Accordion/AccordionItem.d.ts
28
+ type RemovedProps$36 = 'isDisabled' | 'isExpanded';
29
+ interface DisclosureProps extends Omit<RAC.DisclosureProps, RemovedProps$36> {
30
+ /** Whether the item is disabled. */
31
+ disabled?: RAC.DisclosureProps['isDisabled'];
32
+ /** Whether the item is expanded (controlled). */
33
+ expanded?: RAC.DisclosureProps['isExpanded'];
34
+ }
35
+ declare const AccordionItem: ({
36
+ children,
37
+ disabled,
38
+ expanded,
39
+ ...props
40
+ }: DisclosureProps) => react_jsx_runtime4.JSX.Element;
41
+ //#endregion
42
+ //#region src/Accordion/Accordion.d.ts
43
+ type RemovedProps$35 = 'isDisabled';
44
+ interface AccordionProps extends Omit<RAC.DisclosureGroupProps, RemovedProps$35> {
45
+ /** Whether all items are disabled. */
46
+ disabled?: RAC.DisclosureGroupProps['isDisabled'];
47
+ variant?: 'default' | 'card' | (string & {});
48
+ size?: string;
49
+ stickyHeader?: boolean;
50
+ iconPosition?: 'right' | 'left';
43
51
  }
44
52
  declare const Accordion: {
45
- ({ children, disabled, variant, size, ...props }: AccordionProps): react_jsx_runtime.JSX.Element;
46
- Header: ({ children }: AccordionHeaderProps) => react_jsx_runtime.JSX.Element;
47
- Content: ({ children }: AccordionPanelProps) => react_jsx_runtime.JSX.Element;
48
- Item: ({ children, disabled, expanded, ...props }: DisclosureProps) => react_jsx_runtime.JSX.Element;
53
+ ({
54
+ children,
55
+ disabled,
56
+ variant,
57
+ size,
58
+ stickyHeader,
59
+ iconPosition,
60
+ ...props
61
+ }: AccordionProps): react_jsx_runtime4.JSX.Element;
62
+ Header: ({
63
+ children
64
+ }: AccordionHeaderProps) => react_jsx_runtime4.JSX.Element;
65
+ Content: ({
66
+ children
67
+ }: AccordionPanelProps) => react_jsx_runtime4.JSX.Element;
68
+ Item: ({
69
+ children,
70
+ disabled,
71
+ expanded,
72
+ ...props
73
+ }: DisclosureProps) => react_jsx_runtime4.JSX.Element;
49
74
  };
50
-
75
+ //#endregion
76
+ //#region src/Aside/Aside.d.ts
51
77
  interface AsideProps extends GapSpaceProp, AriaRegionProps {
52
- /**
53
- * The children of the component.
54
- */
55
- children: [ReactElement<any>, ReactElement<any>];
56
- /**
57
- * The side of the aside content.
58
- * @default left
59
- */
60
- side?: 'left' | 'right';
61
- /**
62
- * The width of the side content.
63
- */
64
- sideWidth?: string;
65
- /**
66
- * At what percentage of the content's width should the other content wrap beneath it
67
- * @default 50%
68
- */
69
- wrap?: NonZeroPercentage;
70
- }
71
- declare const Aside: ({ children, sideWidth, space, side, wrap, }: AsideProps) => react_jsx_runtime.JSX.Element;
72
-
78
+ /**
79
+ * The children of the component.
80
+ */
81
+ children: [ReactElement<any>, ReactElement<any>];
82
+ /**
83
+ * The side of the aside content.
84
+ * @default left
85
+ */
86
+ side?: 'left' | 'right';
87
+ /**
88
+ * The width of the side content.
89
+ */
90
+ sideWidth?: string;
91
+ /**
92
+ * At what percentage of the content's width should the other content wrap beneath it
93
+ * @default 50%
94
+ */
95
+ wrap?: NonZeroPercentage;
96
+ }
97
+ declare const Aside: ({
98
+ children,
99
+ sideWidth,
100
+ space,
101
+ side,
102
+ wrap
103
+ }: AsideProps) => react_jsx_runtime4.JSX.Element;
104
+ //#endregion
105
+ //#region src/Aspect/Aspect.d.ts
73
106
  interface AspectProps extends AspectProp, AriaRegionProps {
74
- /**
75
- * The children of the component.
76
- */
77
- children?: ReactNode;
78
- /**
79
- * The maximum width of the image.
80
- * @default 100%
81
- */
82
- maxWidth?: string;
83
- }
84
- declare const Aspect: ({ ratio, maxWidth, children, }: AspectProps) => react_jsx_runtime.JSX.Element;
85
-
107
+ /**
108
+ * The children of the component.
109
+ */
110
+ children?: ReactNode;
111
+ /**
112
+ * The maximum width of the image.
113
+ * @default 100%
114
+ */
115
+ maxWidth?: string;
116
+ }
117
+ declare const Aspect: ({
118
+ ratio,
119
+ maxWidth,
120
+ children
121
+ }: AspectProps) => react_jsx_runtime4.JSX.Element;
122
+ //#endregion
123
+ //#region src/HelpText/HelpText.d.ts
86
124
  interface HelpTextProps {
87
- variant?: string;
88
- size?: string;
89
- /**
90
- * A helpful text.
91
- */
92
- description?: ReactNode;
93
- /**
94
- * An error message.
95
- */
96
- errorMessage?: ReactNode | ((v: ValidationResult) => ReactNode);
97
- }
98
-
125
+ variant?: string;
126
+ size?: string;
127
+ /**
128
+ * A helpful text.
129
+ */
130
+ description?: ReactNode;
131
+ /**
132
+ * An error message.
133
+ */
134
+ errorMessage?: ReactNode | ((v: ValidationResult) => ReactNode);
135
+ }
136
+ declare const HelpText: ({
137
+ variant,
138
+ size,
139
+ description,
140
+ errorMessage,
141
+ ...props
142
+ }: HelpTextProps) => react_jsx_runtime4.JSX.Element | null;
143
+ //#endregion
144
+ //#region src/FieldBase/FieldBase.d.ts
99
145
  interface FieldBaseProps<T extends ElementType> extends WidthProp, Pick<HelpTextProps, 'description' | 'errorMessage'> {
100
- as?: T;
101
- /**
102
- * Specifies the label of the field.
103
- */
104
- label?: ReactNode;
105
- variant?: string;
106
- size?: string;
107
- children?: ReactNode;
108
- /**
109
- * Use RAC prop names here so we can directly pass the components via "as"
110
- */
111
- isInvalid?: boolean;
112
- isRequired?: boolean;
113
- }
114
- declare const FieldBase: <T extends ElementType>(props: FieldBaseProps<T> & DistributiveOmit<ComponentPropsWithRef<T>, "as"> & react.RefAttributes<any>) => React.ReactNode;
115
-
146
+ as?: T;
147
+ /**
148
+ * Specifies the label of the field.
149
+ */
150
+ label?: ReactNode;
151
+ variant?: string;
152
+ size?: string;
153
+ children?: ReactNode;
154
+ /**
155
+ * Use RAC prop names here so we can directly pass the components via "as"
156
+ */
157
+ isInvalid?: boolean;
158
+ isRequired?: boolean;
159
+ }
160
+ declare const FieldBase: <T extends ElementType>(props: FieldBaseProps<T> & DistributiveOmit<ComponentPropsWithRef<T>, "as"> & react6.RefAttributes<any>) => React.ReactNode;
161
+ //#endregion
162
+ //#region src/ListBox/ListBoxItem.d.ts
116
163
  type ListBoxItemProps = Omit<RAC.ListBoxItemProps, 'style' | 'className' | 'children'> & {
117
- /**
118
- * The children of the component
119
- */
120
- children?: React.ReactNode;
164
+ /**
165
+ * The children of the component
166
+ */
167
+ children?: React.ReactNode;
121
168
  };
122
- declare const _ListBoxItem: ({ ...props }: ListBoxItemProps) => react_jsx_runtime.JSX.Element;
123
-
169
+ declare const _ListBoxItem: ({
170
+ ...props
171
+ }: ListBoxItemProps) => react_jsx_runtime4.JSX.Element;
172
+ //#endregion
173
+ //#region src/ListBox/ListBoxSection.d.ts
124
174
  interface SectionProps extends Omit<RAC.SectionProps<object>, 'className' | 'style' | 'children'> {
125
- /**
126
- * Section header to display.
127
- */
128
- header: ReactNode;
129
- /**
130
- * Children of the section.
131
- */
132
- children: ReactNode;
133
- }
134
- declare const _Section: ({ header, children, ...props }: SectionProps) => react_jsx_runtime.JSX.Element;
135
-
175
+ /**
176
+ * Section header to display.
177
+ */
178
+ header: ReactNode;
179
+ /**
180
+ * Children of the section.
181
+ */
182
+ children: ReactNode;
183
+ }
184
+ declare const _Section: ({
185
+ header,
186
+ children,
187
+ ...props
188
+ }: SectionProps) => react_jsx_runtime4.JSX.Element;
189
+ //#endregion
190
+ //#region src/ListBox/ListBox.d.ts
136
191
  interface ListBoxProps extends Omit<RAC.ListBoxProps<object>, 'className' | 'style'> {
137
- variant?: string;
138
- size?: string;
192
+ variant?: string;
193
+ size?: string;
139
194
  }
140
195
  interface ListBoxComponent extends ForwardRefExoticComponent<ListBoxProps & RefAttributes<HTMLUListElement>> {
141
- Item: typeof _ListBoxItem;
142
- Section: typeof _Section;
196
+ Item: typeof _ListBoxItem;
197
+ Section: typeof _Section;
143
198
  }
144
199
  declare const _ListBox: ListBoxComponent;
145
-
146
- type RemovedProps$w = 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'inputValue' | 'onInputChange' | 'defaultValue' | 'validate' | 'validationState' | 'slot';
147
- interface AutocompleteProps extends Omit<RAC.ComboBoxProps<object>, RemovedProps$w>, Pick<FieldBaseProps<'label'>, 'width' | 'label' | 'description' | 'errorMessage'> {
148
- /**
149
- * The value of the input (uncontrolled).
150
- */
151
- defaultValue?: RAC.ComboBoxProps<object>['defaultInputValue'];
152
- /**
153
- * The value of the input (controlled).
154
- */
155
- value?: RAC.ComboBoxProps<object>['inputValue'];
156
- /**
157
- * Called when the input value changes.
158
- */
159
- onChange?: RAC.ComboBoxProps<object>['onInputChange'];
160
- /**
161
- * Called when the clear button is pressed.
162
- */
163
- onClear?: () => void;
164
- /**
165
- * If `true`, the input is disabled.
166
- *
167
- * @default false
168
- */
169
- disabled?: RAC.ComboBoxProps<object>['isDisabled'];
170
- /**
171
- * If `true`, the input is required.
172
- *
173
- * @default false
174
- */
175
- required?: RAC.ComboBoxProps<object>['isRequired'];
176
- /**
177
- * If `true`, the field is considered invalid and if set the `errorMessage` is shown instead of the `description`.
178
- *
179
- * @default false
180
- */
181
- error?: RAC.ComboBoxProps<object>['isInvalid'];
182
- /**
183
- * If `true`, the input is readOnly.
184
- *
185
- * @default false
186
- */
187
- readOnly?: RAC.ComboBoxProps<object>['isReadOnly'];
188
- /**
189
- * Provides content to display when there are no items in the list.
190
- */
191
- emptyState?: ReactNode;
192
- /**
193
- * If `true`, a loading spinner will show up.
194
- * @default false
195
- */
196
- loading?: boolean;
197
- variant?: string;
198
- size?: string;
199
- placeholder?: string;
200
- /**
201
- * Handler that is called when the SearchAutocomplete is submitted.
202
- *
203
- * A `key` will be passed if the submission is a selected item (e.g. a user
204
- * clicks or presses enter on an option). If the input is a custom `value`, `key` will be `null`.
205
- *
206
- * A `value` will be passed if the submission is a custom value (e.g. a user
207
- * types then presses enter). If the input is a selected item, `value` will be `null`.
208
- */
209
- onSubmit?: (value: string | number | null, key: Key | null) => void;
200
+ //#endregion
201
+ //#region src/Autocomplete/Autocomplete.d.ts
202
+ type RemovedProps$34 = 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'inputValue' | 'onInputChange' | 'defaultValue' | 'validate' | 'validationState' | 'slot';
203
+ interface AutocompleteProps extends Omit<RAC.ComboBoxProps<object>, RemovedProps$34>, Pick<FieldBaseProps<'label'>, 'width' | 'label' | 'description' | 'errorMessage'> {
204
+ /**
205
+ * The value of the input (uncontrolled).
206
+ */
207
+ defaultValue?: RAC.ComboBoxProps<object>['defaultInputValue'];
208
+ /**
209
+ * The value of the input (controlled).
210
+ */
211
+ value?: RAC.ComboBoxProps<object>['inputValue'];
212
+ /**
213
+ * Called when the input value changes.
214
+ */
215
+ onChange?: RAC.ComboBoxProps<object>['onInputChange'];
216
+ /**
217
+ * Called when the clear button is pressed.
218
+ */
219
+ onClear?: () => void;
220
+ /**
221
+ * If `true`, the input is disabled.
222
+ *
223
+ * @default false
224
+ */
225
+ disabled?: RAC.ComboBoxProps<object>['isDisabled'];
226
+ /**
227
+ * If `true`, the input is required.
228
+ *
229
+ * @default false
230
+ */
231
+ required?: RAC.ComboBoxProps<object>['isRequired'];
232
+ /**
233
+ * If `true`, the field is considered invalid and if set the `errorMessage` is shown instead of the `description`.
234
+ *
235
+ * @default false
236
+ */
237
+ error?: RAC.ComboBoxProps<object>['isInvalid'];
238
+ /**
239
+ * If `true`, the input is readOnly.
240
+ *
241
+ * @default false
242
+ */
243
+ readOnly?: RAC.ComboBoxProps<object>['isReadOnly'];
244
+ /**
245
+ * Provides content to display when there are no items in the list.
246
+ */
247
+ emptyState?: ReactNode;
248
+ /**
249
+ * If `true`, a loading spinner will show up.
250
+ * @default false
251
+ */
252
+ loading?: boolean;
253
+ variant?: string;
254
+ size?: string;
255
+ placeholder?: string;
256
+ /**
257
+ * Handler that is called when the SearchAutocomplete is submitted.
258
+ *
259
+ * A `key` will be passed if the submission is a selected item (e.g. a user
260
+ * clicks or presses enter on an option). If the input is a custom `value`, `key` will be `null`.
261
+ *
262
+ * A `value` will be passed if the submission is a custom value (e.g. a user
263
+ * types then presses enter). If the input is a selected item, `value` will be `null`.
264
+ */
265
+ onSubmit?: (value: string | number | null, key: Key | null) => void;
210
266
  }
211
267
  interface AutocompleteComponent extends ForwardRefExoticComponent<AutocompleteProps & RefAttributes<HTMLInputElement>> {
212
- /**
213
- * Options for the Combobox.
214
- */
215
- Option: typeof _ListBox.Item;
216
- /**
217
- * Section for the Combobox, to put options in.
218
- */
219
- Section: typeof _ListBox.Section;
268
+ /**
269
+ * Options for the Combobox.
270
+ */
271
+ Option: typeof _ListBox.Item;
272
+ /**
273
+ * Section for the Combobox, to put options in.
274
+ */
275
+ Section: typeof _ListBox.Section;
220
276
  }
221
277
  declare const _Autocomplete: AutocompleteComponent;
222
-
223
- type RemovedProps$v = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'defaultInputValue' | 'inputValue' | 'onInputChange';
224
- interface ComboBoxProps extends Omit<RAC.ComboBoxProps<any>, RemovedProps$v>, Pick<FieldBaseProps<'label'>, 'width' | 'label' | 'description' | 'errorMessage'> {
225
- variant?: string;
226
- size?: string;
227
- /**
228
- * If `true`, the input is disabled.
229
- * @default false
230
- */
231
- disabled?: RAC.ComboBoxProps<any>['isDisabled'];
232
- /**
233
- * If `true`, the input is required.
234
- * @default false
235
- */
236
- required?: RAC.ComboBoxProps<any>['isRequired'];
237
- /**
238
- * If `true`, the input is readOnly.
239
- * @default false
240
- */
241
- readOnly?: RAC.ComboBoxProps<any>['isReadOnly'];
242
- /**
243
- * If `true`, the field is considered invalid and if set the `errorMessage` is shown instead of the `description`.
244
- * @default false
245
- */
246
- error?: RAC.ComboBoxProps<any>['isInvalid'];
247
- /**
248
- * The value of the input (uncontrolled).
249
- */
250
- defaultValue?: RAC.ComboBoxProps<any>['defaultInputValue'];
251
- /**
252
- * The value of the input (controlled).
253
- */
254
- value?: RAC.ComboBoxProps<any>['inputValue'];
255
- /**
256
- * Called when the input value changes.
257
- */
258
- onChange?: RAC.ComboBoxProps<any>['onInputChange'];
259
- /**
260
- * ReactNode or function to render the list of items.
261
- */
262
- children?: ReactNode | ((item: any) => ReactNode);
263
- /**
264
- * Set the placeholder for the select.
265
- */
266
- placeholder?: string;
267
- /**
268
- * Provides content to display when there are no items in the list.
269
- */
270
- emptyState?: ReactNode;
271
- /**
272
- * If `true`, a loading spinner will show up.
273
- * @default false
274
- */
275
- loading?: boolean;
278
+ //#endregion
279
+ //#region src/Badge/Badge.d.ts
280
+ interface BadgeProps {
281
+ /**
282
+ * Children of the component
283
+ */
284
+ children?: React.ReactNode;
285
+ variant?: 'default' | 'primary' | 'success' | 'warning' | 'info' | 'error' | 'admin' | 'master' | (string & {});
286
+ size?: string;
287
+ }
288
+ declare const Badge: ({
289
+ variant,
290
+ size,
291
+ children,
292
+ ...props
293
+ }: BadgeProps) => react_jsx_runtime4.JSX.Element;
294
+ //#endregion
295
+ //#region src/Breadcrumbs/BreadcrumbsItem.d.ts
296
+ type RemovedProps$33 = 'className' | 'style';
297
+ interface BreadcrumbsItemProps extends Omit<RAC.BreadcrumbProps, RemovedProps$33> {
298
+ variant?: 'default' | (string & {});
299
+ size?: 'small' | 'default' | 'large' | (string & {});
300
+ /**
301
+ * The content inside the breadcrumb.
302
+ */
303
+ children: ReactNode;
304
+ /**
305
+ * Link for the breadcrumb item.
306
+ */
307
+ href: string;
276
308
  }
277
- interface ComboBoxComponent extends ForwardRefExoticComponent<ComboBoxProps & RefAttributes<HTMLInputElement>> {
278
- /**
279
- * Options for the Combobox.
280
- */
281
- Option: typeof _ListBox.Item;
282
- /**
283
- * Section for the Combobox, to put options in.
284
- */
285
- Section: typeof _ListBox.Section;
309
+ declare const BreadcrumbsItem: (_: BreadcrumbsItemProps) => null;
310
+ //#endregion
311
+ //#region src/Breadcrumbs/Breadcrumbs.d.ts
312
+ type RemovedProps$32 = 'className' | 'style' | 'children' | 'isDisabled';
313
+ interface BreadcrumbsProps extends Omit<BreadcrumbsProps$1<object>, RemovedProps$32> {
314
+ variant?: 'default' | (string & {});
315
+ size?: 'small' | 'default' | 'large' | (string & {});
316
+ /**
317
+ * Disables the breadcrumbs.
318
+ * @default false
319
+ */
320
+ disabled?: BreadcrumbsProps$1<object>['isDisabled'];
321
+ /**
322
+ * Maximum number of visible items before the breadcrumbs collapse.
323
+ */
324
+ maxVisibleItems?: number;
325
+ /**
326
+ * The breadcrumb items to be displayed.
327
+ */
328
+ children: React$1.ReactNode | React$1.ReactNode[];
286
329
  }
287
- declare const _ComboBox: ComboBoxComponent;
288
-
289
- interface BadgeProps {
290
- /**
291
- * Children of the component
292
- */
293
- children?: React.ReactNode;
294
- variant?: 'default' | 'primary' | 'success' | 'warning' | 'info' | 'error' | 'admin' | 'master' | (string & {});
295
- size?: string;
296
- }
297
- declare const Badge: ({ variant, size, children, ...props }: BadgeProps) => react_jsx_runtime.JSX.Element;
298
-
299
- interface BreakoutProps extends AriaRegionProps {
300
- children?: ReactNode;
330
+ interface BreadcrumbsComponent extends ForwardRefExoticComponent<BreadcrumbsProps & RefAttributes<HTMLOListElement>> {
331
+ Item: typeof BreadcrumbsItem;
301
332
  }
302
- declare const Breakout: ({ children }: BreakoutProps) => react_jsx_runtime.JSX.Element;
303
-
304
- type RemovedProps$u = 'isDisabled' | 'isPending' | 'className' | 'style';
305
- interface ButtonProps extends Omit<RAC.ButtonProps, RemovedProps$u> {
306
- variant?: 'primary' | 'secondary' | 'destructive' | 'ghost' | 'link' | (string & {});
307
- size?: 'default' | 'small' | 'large' | 'icon' | (string & {});
308
- /**
309
- * Stretches the button width with full available space.
310
- * @default false
311
- */
312
- fullWidth?: boolean;
313
- /**
314
- * Children of the component
315
- */
316
- children?: ReactNode;
317
- /**
318
- * Disables the button.
319
- * @default false
320
- */
321
- disabled?: RAC.ButtonProps['isDisabled'];
322
- /**
323
- * Whether the button is in a loading state.
324
- * This disables press and hover events while retaining focusability, and announces the loading state to screen readers.
325
- */
326
- loading?: RAC.ButtonProps['isPending'];
327
- }
328
- declare const _Button: react.ForwardRefExoticComponent<ButtonProps & react.RefAttributes<HTMLButtonElement>>;
329
-
330
- interface CardProps extends GapSpaceProp, PaddingSpaceProp, PaddingRightProp, PaddingLeftProp, PaddingBottomProp, PaddingTopProp {
331
- children?: ReactNode;
332
- variant?: string;
333
- size?: 'default' | 'full' | (string & {});
334
- /**
335
- * Padding of the component. You can see allowed tokens [here](../../foundations/design-token#spacing).
336
- */
337
- p?: PaddingSpaceProp['space'];
338
- /**
339
- * Padding horizontal (left and right) of the component.
340
- */
341
- px?: PaddingSpacePropX['spaceX'];
342
- /**
343
- * Padding vertical (top and bottom) of the component. You can see allowed tokens [here](../../foundations/design-token#spacing).
344
- */
345
- py?: PaddingSpacePropY['spaceY'];
346
- }
347
- declare const Card: ({ children, variant, size, space, p, px, py, pt, pb, pl, pr, ...props }: CardProps) => react_jsx_runtime.JSX.Element;
348
-
333
+ declare const _Breadcrumbs: BreadcrumbsComponent;
334
+ //#endregion
335
+ //#region src/Breakout/Breakout.d.ts
336
+ interface BreakoutProps extends AriaRegionProps {
337
+ children?: ReactNode;
338
+ }
339
+ declare const Breakout: ({
340
+ children
341
+ }: BreakoutProps) => react_jsx_runtime4.JSX.Element;
342
+ //#endregion
343
+ //#region src/Button/Button.d.ts
344
+ type RemovedProps$31 = 'isDisabled' | 'isPending' | 'className' | 'style';
345
+ interface ButtonProps extends Omit<RAC.ButtonProps, RemovedProps$31> {
346
+ variant?: 'primary' | 'secondary' | 'destructive' | 'ghost' | 'link' | (string & {});
347
+ size?: 'default' | 'small' | 'large' | 'icon' | (string & {});
348
+ /**
349
+ * If true, the element stretches to fill the available width.
350
+ * @default false
351
+ */
352
+ fullWidth?: boolean;
353
+ /**
354
+ * Children of the component
355
+ */
356
+ children?: ReactNode;
357
+ /**
358
+ * Disables the button.
359
+ * @default false
360
+ */
361
+ disabled?: RAC.ButtonProps['isDisabled'];
362
+ /**
363
+ * Whether the button is in a loading state.
364
+ * This disables press and hover events while retaining focusability, and announces the loading state to screen readers.
365
+ */
366
+ loading?: RAC.ButtonProps['isPending'];
367
+ }
368
+ declare const _Button: react6.ForwardRefExoticComponent<ButtonProps & react6.RefAttributes<HTMLButtonElement>>;
369
+ //#endregion
370
+ //#region src/Calendar/Calendar.d.ts
371
+ type RemovedProps$30 = 'visibleDuration' | 'pageBehavior' | 'isDateUnavailable' | 'isDisabled' | 'isReadOnly' | 'isInvalid' | 'errorMessage' | 'className' | 'style';
372
+ interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$30> {
373
+ /**
374
+ * Disables the Calendar.
375
+ * @default false
376
+ */
377
+ disabled?: boolean;
378
+ /**
379
+ * Whether the calendar value is immutable.
380
+ * @default false
381
+ */
382
+ readOnly?: boolean;
383
+ variant?: string;
384
+ size?: string;
385
+ /**
386
+ * Sets the width of the calendar. You can see allowed tokens here: https://tailwindcss.com/docs/width
387
+ * @default fit
388
+ */
389
+ width?: WidthProp['width'];
390
+ /**
391
+ * Callback that is called for each date of the calendar. If it returns true, then the date is unavailable.
392
+ */
393
+ dateUnavailable?: RAC.CalendarProps<DateValue>['isDateUnavailable'];
394
+ }
395
+ declare const _Calendar: ({
396
+ disabled,
397
+ readOnly,
398
+ size,
399
+ variant,
400
+ width,
401
+ dateUnavailable,
402
+ minValue: _minValue,
403
+ maxValue: _maxValue,
404
+ ...rest
405
+ }: CalendarProps) => react_jsx_runtime4.JSX.Element;
406
+ //#endregion
407
+ //#region src/Card/Card.d.ts
408
+ interface CardProps extends PaddingRightProp, PaddingLeftProp, PaddingBottomProp, PaddingTopProp {
409
+ children?: ReactNode;
410
+ variant?: string;
411
+ size?: 'default' | 'full' | (string & {});
412
+ /**
413
+ * Gap between children. You can see allowed tokens [here](../../foundations/design-token#spacing).
414
+ */
415
+ space?: GapSpaceProp['space'];
416
+ /**
417
+ * Padding of the component. You can see allowed tokens [here](../../foundations/design-token#spacing).
418
+ */
419
+ p?: PaddingSpaceProp['space'];
420
+ /**
421
+ * Padding horizontal (left and right) of the component.
422
+ */
423
+ px?: PaddingSpacePropX['spaceX'];
424
+ /**
425
+ * Padding vertical (top and bottom) of the component. You can see allowed tokens [here](../../foundations/design-token#spacing).
426
+ */
427
+ py?: PaddingSpacePropY['spaceY'];
428
+ }
429
+ declare const Card: ({
430
+ children,
431
+ variant,
432
+ size,
433
+ space,
434
+ p,
435
+ px,
436
+ py,
437
+ pt,
438
+ pb,
439
+ pl,
440
+ pr,
441
+ ...props
442
+ }: CardProps) => react_jsx_runtime4.JSX.Element;
443
+ //#endregion
444
+ //#region src/Center/Center.d.ts
349
445
  interface CenterProps extends GapSpaceProp, AriaRegionProps {
350
- children?: ReactNode;
351
- /**
352
- * The maximum width of the container.
353
- * @default 100%
354
- */
355
- maxWidth?: string;
356
- }
357
- declare const Center: ({ maxWidth, space, children, ...props }: CenterProps) => react_jsx_runtime.JSX.Element;
358
-
359
- type RemovedProps$t = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly';
360
- interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$t>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
361
- /**
362
- * The children of the component
363
- */
364
- children?: ReactNode;
365
- variant?: string;
366
- size?: string;
367
- /**
368
- * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
369
- *
370
- * @default full
371
- */
372
- width?: WidthProp['width'];
373
- /**
374
- * Sets all checkboxes to disabled
375
- *
376
- * @default false
377
- */
378
- disabled?: RAC.CheckboxGroupProps['isDisabled'];
379
- /**
380
- * Sets the checkbox as required.
381
- *
382
- * @default false
383
- */
384
- required?: RAC.CheckboxGroupProps['isRequired'];
385
- /**
386
- * If `true`, the checkbox is considered invalid and if set the `errorMessage` is shown instead of the `description`.
387
- *
388
- * @default false
389
- */
390
- error?: RAC.CheckboxGroupProps['isInvalid'];
391
- /**
392
- * Sets the checkbox on read only.
393
- *
394
- * @default false
395
- */
396
- readOnly?: RAC.CheckboxGroupProps['isReadOnly'];
397
- /**
398
- * Wheather the component is displayed vertically or horizontally.
399
- *
400
- * @default vertical
401
- */
402
- orientation?: Orientation;
403
- /**
404
- * The number of items to display before collapsing the rest.
405
- * Items beyond this number will be hidden until the user clicks
406
- * the "Show more" control.
407
- *
408
- * @default undefined
409
- */
410
- collapseAt?: number;
411
- }
412
- declare const _CheckboxGroup: ({ children, variant, size, required, disabled, readOnly, error, width, orientation, collapseAt, ...rest }: CheckboxGroupProps) => react_jsx_runtime.JSX.Element;
413
-
414
- type RemovedProps$s = 'children' | 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'isSelected' | 'isIndeterminate' | 'defaultSelected';
415
- interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$s> {
416
- variant?: string;
417
- size?: string;
418
- /**
419
- * Whether the element should be checked (controlled).
420
- */
421
- checked?: boolean | undefined;
422
- /**
423
- * Whether the element should be checked (uncontrolled).
424
- */
425
- defaultChecked?: boolean | undefined;
426
- /**
427
- * Whether the checkbox is disabled.
428
- * @default false
429
- */
430
- disabled?: boolean;
431
- /**
432
- * Whether the checkbox is required.
433
- * @default false
434
- */
435
- required?: boolean;
436
- /**
437
- * Whether the checkbox is read-only.
438
- * @default false
439
- */
440
- readOnly?: boolean;
441
- /**
442
- * Use when it represents both selected and not selected values.
443
- * @default false
444
- */
445
- indeterminate?: boolean;
446
- /**
447
- * If `true`, the checkbox is considered invalid and if set the `errorMessage` is shown instead of the `description`.
448
- * @default false
449
- */
450
- error?: boolean;
451
- /**
452
- * Set the label of the checkbox.
453
- * @default none
454
- *
455
- */
456
- label?: ReactNode;
457
- /**
458
- * A helpful text.
459
- */
460
- description?: ReactNode;
446
+ children?: ReactNode;
447
+ /**
448
+ * The maximum width of the container.
449
+ * @default 100%
450
+ */
451
+ maxWidth?: string;
452
+ }
453
+ declare const Center: ({
454
+ maxWidth,
455
+ space,
456
+ children,
457
+ ...props
458
+ }: CenterProps) => react_jsx_runtime4.JSX.Element;
459
+ //#endregion
460
+ //#region src/Checkbox/CheckboxGroup.d.ts
461
+ type RemovedProps$29 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly';
462
+ interface CheckboxGroupProps extends Omit<RAC.CheckboxGroupProps, RemovedProps$29>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
463
+ /**
464
+ * The children of the component
465
+ */
466
+ children?: ReactNode;
467
+ variant?: string;
468
+ size?: string;
469
+ /**
470
+ * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
471
+ *
472
+ * @default full
473
+ */
474
+ width?: WidthProp['width'];
475
+ /**
476
+ * Sets all checkboxes to disabled
477
+ *
478
+ * @default false
479
+ */
480
+ disabled?: RAC.CheckboxGroupProps['isDisabled'];
481
+ /**
482
+ * Sets the checkbox as required.
483
+ *
484
+ * @default false
485
+ */
486
+ required?: RAC.CheckboxGroupProps['isRequired'];
487
+ /**
488
+ * If `true`, the checkbox is considered invalid and if set the `errorMessage` is shown instead of the `description`.
489
+ *
490
+ * @default false
491
+ */
492
+ error?: RAC.CheckboxGroupProps['isInvalid'];
493
+ /**
494
+ * Sets the checkbox on read only.
495
+ *
496
+ * @default false
497
+ */
498
+ readOnly?: RAC.CheckboxGroupProps['isReadOnly'];
499
+ /**
500
+ * Wheather the component is displayed vertically or horizontally.
501
+ *
502
+ * @default vertical
503
+ */
504
+ orientation?: Orientation;
505
+ /**
506
+ * The number of items to display before collapsing the rest.
507
+ * Items beyond this number will be hidden until the user clicks
508
+ * the "Show more" control.
509
+ *
510
+ * @default undefined
511
+ */
512
+ collapseAt?: number;
513
+ }
514
+ declare const _CheckboxGroup: ({
515
+ children,
516
+ variant,
517
+ size,
518
+ required,
519
+ disabled,
520
+ readOnly,
521
+ error,
522
+ width,
523
+ orientation,
524
+ collapseAt,
525
+ ...rest
526
+ }: CheckboxGroupProps) => react_jsx_runtime4.JSX.Element;
527
+ //#endregion
528
+ //#region src/Checkbox/Checkbox.d.ts
529
+ type RemovedProps$28 = 'children' | 'className' | 'style' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'isSelected' | 'isIndeterminate' | 'defaultSelected';
530
+ interface CheckboxProps extends Omit<RAC.CheckboxProps, RemovedProps$28> {
531
+ variant?: string;
532
+ size?: string;
533
+ /**
534
+ * Whether the element should be checked (controlled).
535
+ */
536
+ checked?: boolean | undefined;
537
+ /**
538
+ * Whether the element should be checked (uncontrolled).
539
+ */
540
+ defaultChecked?: boolean | undefined;
541
+ /**
542
+ * Whether the checkbox is disabled.
543
+ * @default false
544
+ */
545
+ disabled?: boolean;
546
+ /**
547
+ * Whether the checkbox is required.
548
+ * @default false
549
+ */
550
+ required?: boolean;
551
+ /**
552
+ * Whether the checkbox is read-only.
553
+ * @default false
554
+ */
555
+ readOnly?: boolean;
556
+ /**
557
+ * Use when it represents both selected and not selected values.
558
+ * @default false
559
+ */
560
+ indeterminate?: boolean;
561
+ /**
562
+ * If `true`, the checkbox is considered invalid and if set the `errorMessage` is shown instead of the `description`.
563
+ * @default false
564
+ */
565
+ error?: boolean;
566
+ /**
567
+ * Set the label of the checkbox.
568
+ * @default none
569
+ *
570
+ */
571
+ label?: ReactNode;
572
+ /**
573
+ * A helpful text.
574
+ */
575
+ description?: ReactNode;
461
576
  }
462
577
  interface CheckboxComponent extends ForwardRefExoticComponent<CheckboxProps & RefAttributes<HTMLLabelElement>> {
463
- /**
464
- * Group for checkboxes.
465
- */
466
- Group: typeof _CheckboxGroup;
578
+ /**
579
+ * Group for checkboxes.
580
+ */
581
+ Group: typeof _CheckboxGroup;
467
582
  }
468
583
  declare const _Checkbox: CheckboxComponent;
469
-
584
+ //#endregion
585
+ //#region src/CloseButton/CloseButton.d.ts
586
+ interface CloseButtonProps extends Pick<ButtonProps, 'onPress' | 'size' | 'variant' | 'slot' | 'aria-label'> {
587
+ className?: string;
588
+ style?: CSSProperties;
589
+ }
590
+ declare const CloseButton: react6.ForwardRefExoticComponent<CloseButtonProps & react6.RefAttributes<HTMLButtonElement>>;
591
+ //#endregion
592
+ //#region src/Collapsible/CollapsibleTrigger.d.ts
593
+ interface CollapsibleProps$1 extends Omit<ButtonProps$1, 'className' | 'style'>, Pick<HeadingProps, 'level'> {
594
+ variant?: 'default' | 'link' | (string & {});
595
+ size?: 'default' | (string & {});
596
+ }
597
+ //#endregion
598
+ //#region src/Collapsible/CollapsibleContent.d.ts
599
+ interface CollapsibleContentProps extends Omit<DisclosurePanelProps, 'className' | 'style'> {
600
+ variant?: string;
601
+ size?: string;
602
+ }
603
+ //#endregion
604
+ //#region src/Collapsible/Collapsible.d.ts
605
+ interface CollapsibleProps extends Omit<DisclosureProps$1, 'className' | 'style'> {
606
+ variant?: 'default' | 'link' | (string & {});
607
+ size?: 'default' | (string & {});
608
+ /**
609
+ * Removes the form's visual container so that it does not impact the layout,
610
+ * letting child elements render naturally.
611
+ */
612
+ unstyled?: boolean;
613
+ }
614
+ declare const Collapsible: {
615
+ ({
616
+ variant,
617
+ size,
618
+ children,
619
+ unstyled,
620
+ ...props
621
+ }: CollapsibleProps): react_jsx_runtime4.JSX.Element;
622
+ Trigger: ({
623
+ variant,
624
+ size,
625
+ children,
626
+ level,
627
+ ...props
628
+ }: CollapsibleProps$1) => react_jsx_runtime4.JSX.Element;
629
+ Content: ({
630
+ variant,
631
+ size,
632
+ children,
633
+ ...props
634
+ }: CollapsibleContentProps) => react_jsx_runtime4.JSX.Element;
635
+ };
636
+ //#endregion
637
+ //#region src/Columns/Columns.d.ts
470
638
  interface ColumnsProps extends GapSpaceProp, AriaRegionProps {
471
- /**
472
- * The children of the component.
473
- */
474
- children?: ReactNode;
475
- /**
476
- * An array of numbers to set the size of the children. The columns array length and the count of children must be the same. Write "fit" for the column you want to have it fitting the contents width and height.
477
- */
478
- columns: Array<number | 'fit'>;
479
- /**
480
- * Collapse children into a vertical layout at given width. Note that `collapseAt` is based on the total element width, and not the window width. With a default value of "0" columns will not collapse by default.
481
- */
482
- collapseAt?: string;
483
- /**
484
- * Stretch to height of parent container.
485
- * @default false
486
- */
487
- stretch?: boolean;
488
- }
489
- declare const Columns: ({ space, columns, collapseAt, stretch, children, ...props }: ColumnsProps) => react_jsx_runtime.JSX.Element;
490
-
639
+ /**
640
+ * The children of the component.
641
+ */
642
+ children?: ReactNode;
643
+ /**
644
+ * An array of numbers to set the size of the children. The columns array length and the count of children must be the same. Write "fit" for the column you want to have it fitting the contents width and height.
645
+ */
646
+ columns: Array<number | 'fit'>;
647
+ /**
648
+ * Collapse children into a vertical layout at given width. Note that `collapseAt` is based on the total element width, and not the window width. With a default value of "0" columns will not collapse by default.
649
+ */
650
+ collapseAt?: string;
651
+ /**
652
+ * Stretch to height of parent container.
653
+ * @default false
654
+ */
655
+ stretch?: boolean;
656
+ }
657
+ declare const Columns: ({
658
+ space,
659
+ columns,
660
+ collapseAt,
661
+ stretch,
662
+ children,
663
+ ...props
664
+ }: ColumnsProps) => react_jsx_runtime4.JSX.Element;
665
+ //#endregion
666
+ //#region src/ComboBox/ComboBox.d.ts
667
+ type RemovedProps$27 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'defaultInputValue' | 'inputValue' | 'onInputChange';
668
+ interface ComboBoxProps extends Omit<RAC.ComboBoxProps<any>, RemovedProps$27>, Pick<FieldBaseProps<'label'>, 'width' | 'label' | 'description' | 'errorMessage'> {
669
+ variant?: string;
670
+ size?: string;
671
+ /**
672
+ * If `true`, the input is disabled.
673
+ * @default false
674
+ */
675
+ disabled?: RAC.ComboBoxProps<any>['isDisabled'];
676
+ /**
677
+ * If `true`, the input is required.
678
+ * @default false
679
+ */
680
+ required?: RAC.ComboBoxProps<any>['isRequired'];
681
+ /**
682
+ * If `true`, the input is readOnly.
683
+ * @default false
684
+ */
685
+ readOnly?: RAC.ComboBoxProps<any>['isReadOnly'];
686
+ /**
687
+ * If `true`, the field is considered invalid and if set the `errorMessage` is shown instead of the `description`.
688
+ * @default false
689
+ */
690
+ error?: RAC.ComboBoxProps<any>['isInvalid'];
691
+ /**
692
+ * The value of the input (uncontrolled).
693
+ */
694
+ defaultValue?: RAC.ComboBoxProps<any>['defaultInputValue'];
695
+ /**
696
+ * The value of the input (controlled).
697
+ */
698
+ value?: RAC.ComboBoxProps<any>['inputValue'];
699
+ /**
700
+ * Called when the input value changes.
701
+ */
702
+ onChange?: RAC.ComboBoxProps<any>['onInputChange'];
703
+ /**
704
+ * ReactNode or function to render the list of items.
705
+ */
706
+ children?: ReactNode | ((item: any) => ReactNode);
707
+ /**
708
+ * Set the placeholder for the select.
709
+ */
710
+ placeholder?: string;
711
+ /**
712
+ * Provides content to display when there are no items in the list.
713
+ */
714
+ emptyState?: ReactNode;
715
+ /**
716
+ * If `true`, a loading spinner will show up.
717
+ * @default false
718
+ */
719
+ loading?: boolean;
720
+ }
721
+ interface ComboBoxComponent extends ForwardRefExoticComponent<ComboBoxProps & RefAttributes<HTMLInputElement>> {
722
+ /**
723
+ * Options for the Combobox.
724
+ */
725
+ Option: typeof _ListBox.Item;
726
+ /**
727
+ * Section for the Combobox, to put options in.
728
+ */
729
+ Section: typeof _ListBox.Section;
730
+ }
731
+ declare const _ComboBox: ComboBoxComponent;
732
+ //#endregion
733
+ //#region src/Container/Container.d.ts
491
734
  declare const containerTextLength: {
492
- short: string;
493
- default: string;
494
- long: string;
735
+ short: string;
736
+ default: string;
737
+ long: string;
495
738
  };
496
739
  declare const gridColsAlign: {
497
- left: string;
498
- center: string;
499
- right: string;
500
- };
501
- declare const gridColumn: {
502
- left: string;
503
- center: string;
504
- right: string;
740
+ left: string;
741
+ center: string;
742
+ right: string;
505
743
  };
506
744
  interface ContainerProps extends GapSpaceProp, AriaRegionProps {
507
- children?: ReactNode;
508
- /**
509
- * Width of the container.
510
- * @default 'default'
511
- */
512
- contentLength?: keyof typeof containerTextLength;
513
- /**
514
- * Set alignment the content inside the container.
515
- * @default 'left'
516
- */
517
- align?: keyof typeof gridColsAlign;
518
- /**
519
- * Set alignment of the items inside the container.
520
- */
521
- alignItems?: PlaceItemsProp['align'];
522
- }
523
- declare const Container: ({ contentLength, align, alignItems, space, children, ...props }: ContainerProps) => react_jsx_runtime.JSX.Element;
524
-
745
+ children?: ReactNode;
746
+ /**
747
+ * Width of the container.
748
+ * @default 'default'
749
+ */
750
+ contentLength?: keyof typeof containerTextLength;
751
+ /**
752
+ * Set alignment the content inside the container.
753
+ * @default 'left'
754
+ */
755
+ align?: keyof typeof gridColsAlign;
756
+ /**
757
+ * Set alignment of the items inside the container.
758
+ */
759
+ alignItems?: PlaceItemsProp['align'];
760
+ }
761
+ declare const Container: ({
762
+ contentLength,
763
+ align,
764
+ alignItems,
765
+ space,
766
+ children,
767
+ ...props
768
+ }: ContainerProps) => react_jsx_runtime4.JSX.Element;
769
+ //#endregion
770
+ //#region src/icons/Icons.types.d.ts
771
+ interface IconProps extends Omit<SVGProps<SVGSVGElement>, 'width' | 'height'> {
772
+ size?: number | `${number}${number}` | `${number}${number}`;
773
+ }
774
+ //#endregion
775
+ //#region src/ContextualHelp/ContextualHelpContent.d.ts
525
776
  interface ContextualHelpContentProps {
526
- children: React.ReactNode;
527
- variant?: string;
528
- size?: string;
529
- }
530
- declare const ContextualHelpContent: ({ children, variant, size, }: ContextualHelpContentProps) => react_jsx_runtime.JSX.Element;
531
-
777
+ children: React.ReactNode;
778
+ variant?: string;
779
+ size?: string;
780
+ }
781
+ declare const ContextualHelpContent: ({
782
+ children,
783
+ variant,
784
+ size
785
+ }: ContextualHelpContentProps) => react_jsx_runtime4.JSX.Element;
786
+ //#endregion
787
+ //#region src/ContextualHelp/ContextualHelpTitle.d.ts
532
788
  interface ContextualHelpTitleProps {
533
- children: React.ReactNode;
534
- variant?: string;
535
- size?: string;
536
- }
537
- declare const ContextualHelpTitle: ({ children, variant, size, }: ContextualHelpTitleProps) => react_jsx_runtime.JSX.Element;
538
-
789
+ children: React.ReactNode;
790
+ variant?: string;
791
+ size?: string;
792
+ }
793
+ declare const ContextualHelpTitle: ({
794
+ children,
795
+ variant,
796
+ size
797
+ }: ContextualHelpTitleProps) => react_jsx_runtime4.JSX.Element;
798
+ //#endregion
799
+ //#region src/ContextualHelp/ContextualHelp.d.ts
539
800
  declare const icons$1: {
540
- help: () => react_jsx_runtime.JSX.Element;
541
- info: () => react_jsx_runtime.JSX.Element;
801
+ help: ({
802
+ size,
803
+ className,
804
+ ...props
805
+ }: IconProps) => react_jsx_runtime4.JSX.Element;
806
+ info: ({
807
+ size,
808
+ className,
809
+ ...props
810
+ }: IconProps) => react_jsx_runtime4.JSX.Element;
542
811
  };
543
812
  interface ContextualHelpComponent extends ForwardRefExoticComponent<ContextualHelpProps & RefAttributes<HTMLInputElement>> {
544
- /**
545
- * Options for the Combobox.
546
- */
547
- Title: typeof ContextualHelpTitle;
548
- Content: typeof ContextualHelpContent;
813
+ /**
814
+ * Options for the Combobox.
815
+ */
816
+ Title: typeof ContextualHelpTitle;
817
+ Content: typeof ContextualHelpContent;
549
818
  }
550
819
  /**
551
820
  * Placement of the popover.
@@ -556,1635 +825,2073 @@ type Placement = 'top' | 'bottom' | 'left' | 'right' | 'top start' | 'bottom sta
556
825
  * Props for the ContextualHelp component.
557
826
  */
558
827
  interface ContextualHelpProps {
559
- /** Size of the button and popover. */
560
- size?: 'small' | 'medium' | 'large';
561
- /** Content rendered inside the popover. */
562
- children: ReactNode;
563
- /** Visual variant of the icon (e.g. info or help). */
564
- variant?: keyof typeof icons$1;
565
- /** Placement of the popover relative to the button. */
566
- placement?: Placement;
567
- /** Optional width size for the popover */
568
- width?: 'small' | 'medium' | 'large';
569
- /** Offset (in px) between button and popover. */
570
- offset?: number;
571
- /** Whether the popover is open by default (uncontrolled). */
572
- defaultOpen?: boolean;
573
- /** Controls the open state of the popover (controlled). */
574
- open?: boolean;
575
- /** Handler that is called when the open state changes. */
576
- onOpenChange?: (isOpen: boolean) => void;
828
+ /** Size of the button and popover. */
829
+ size?: 'small' | 'medium' | 'large';
830
+ /** Content rendered inside the popover. */
831
+ children: ReactNode;
832
+ /** Visual variant of the icon (e.g. info or help). */
833
+ variant?: keyof typeof icons$1;
834
+ /** Placement of the popover relative to the button. */
835
+ placement?: Placement;
836
+ /** Optional width size for the popover */
837
+ width?: 'small' | 'medium' | 'large';
838
+ /** Offset (in px) between button and popover. */
839
+ offset?: number;
840
+ /** Whether the popover is open by default (uncontrolled). */
841
+ defaultOpen?: boolean;
842
+ /** Controls the open state of the popover (controlled). */
843
+ open?: boolean;
844
+ /** Handler that is called when the open state changes. */
845
+ onOpenChange?: (isOpen: boolean) => void;
577
846
  }
578
847
  declare const _ContextualHelp: ContextualHelpComponent;
579
-
848
+ //#endregion
849
+ //#region src/DateField/DateField.d.ts
850
+ type RemovedProps$26 = 'className' | 'isRequired' | 'isDisabled' | 'isInvalid' | 'isReadOnly' | 'label' | 'children' | 'style';
851
+ interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProps$26>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
852
+ variant?: string;
853
+ size?: string;
854
+ /**
855
+ * Optional element (e.g., button or icon) rendered inside the DateField.
856
+ */
857
+ action?: ReactElement<any>;
858
+ /**
859
+ * If `true`, the date field is required.
860
+ * @default false
861
+ */
862
+ required?: RAC.DateFieldProps<DateValue>['isRequired'];
863
+ /**
864
+ * If `true`, the date field is disabled.
865
+ * @default false
866
+ */
867
+ disabled?: RAC.DateFieldProps<DateValue>['isDisabled'];
868
+ /**
869
+ * If `true`, the field is considered invalid and if set the errorMessage is shown instead of the `description`.
870
+ * @default false
871
+ */
872
+ error?: RAC.DateFieldProps<DateValue>['isInvalid'];
873
+ /**
874
+ * If `true`, the date field is readOnly.
875
+ * @default false
876
+ */
877
+ readOnly?: RAC.DateFieldProps<DateValue>['isReadOnly'];
878
+ /**
879
+ * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
880
+ * @default 'full'
881
+ */
882
+ width?: WidthProp['width'];
883
+ }
884
+ declare const _DateField: react6.ForwardRefExoticComponent<DateFieldProps & react6.RefAttributes<HTMLInputElement>>;
885
+ //#endregion
886
+ //#region src/DatePicker/DatePicker.d.ts
887
+ type RemovedProps$25 = 'isDisabled' | 'isDateUnavailable' | 'isReadOnly' | 'isRequired' | 'isInvalid' | 'style' | 'className' | 'isOpen';
888
+ interface DatePickerProps extends Omit<RAC.DatePickerProps<DateValue>, RemovedProps$25>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
889
+ /**
890
+ * Callback that is called for each date of the calendar. If it returns true, then the date is unavailable.
891
+ */
892
+ dateUnavailable?: RAC.DatePickerProps<DateValue>['isDateUnavailable'];
893
+ /**
894
+ * If `true`, the date picker is disabled.
895
+ * @default false
896
+ */
897
+ disabled?: RAC.DatePickerProps<DateValue>['isDisabled'];
898
+ /**
899
+ * If `true`, the date picker is required.
900
+ * @default false
901
+ */
902
+ required?: RAC.DatePickerProps<DateValue>['isRequired'];
903
+ /**
904
+ * If `true`, the date picker is readOnly.
905
+ * @default false
906
+ */
907
+ readOnly?: RAC.DatePickerProps<DateValue>['isReadOnly'];
908
+ /**
909
+ * If `true`, the field is considered invalid and if set the errorMessage is shown instead of the `description`.
910
+ * @default false
911
+ */
912
+ error?: RAC.DatePickerProps<DateValue>['isInvalid'];
913
+ /**
914
+ * Whether the calendar is open by default (controlled).
915
+ * @default false
916
+ */
917
+ open?: RAC.DatePickerProps<DateValue>['isOpen'];
918
+ variant?: string;
919
+ size?: string;
920
+ /**
921
+ * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
922
+ */
923
+ width?: WidthProp['width'];
924
+ }
925
+ declare const _DatePicker: React$1.ForwardRefExoticComponent<DatePickerProps & React$1.RefAttributes<HTMLDivElement>>;
926
+ //#endregion
927
+ //#region src/Overlay/Modal.d.ts
928
+ interface ModalProps extends RAC.ModalOverlayProps {
929
+ /** Whether the overlay is open by default (controlled). */
930
+ open?: boolean;
931
+ /**
932
+ * Whether to close the modal when the user interacts outside it.
933
+ * @default false
934
+ */
935
+ dismissable?: boolean;
936
+ /**
937
+ * Whether pressing the escape key to close the modal should be disabled.
938
+ * @default true
939
+ */
940
+ keyboardDismissable?: boolean;
941
+ size?: string;
942
+ }
943
+ declare const _Modal: react6.ForwardRefExoticComponent<Omit<ModalProps, "className" | "isOpen" | "isDismissable" | "isKeyboardDismissDisabled"> & react6.RefAttributes<HTMLDivElement>>;
944
+ //#endregion
945
+ //#region src/Dialog/DialogActions.d.ts
580
946
  interface DialogActions {
581
- /**
582
- * Children of the component.
583
- */
584
- children?: ReactNode;
585
- variant?: string;
586
- size?: string;
587
- }
588
- declare const DialogActions: ({ variant, size, children }: DialogActions) => react_jsx_runtime.JSX.Element;
589
-
947
+ /**
948
+ * Children of the component.
949
+ */
950
+ children?: ReactNode;
951
+ variant?: string;
952
+ size?: string;
953
+ }
954
+ declare const DialogActions: ({
955
+ variant,
956
+ size,
957
+ children
958
+ }: DialogActions) => react_jsx_runtime4.JSX.Element;
959
+ //#endregion
960
+ //#region src/Dialog/DialogContent.d.ts
590
961
  interface DialogContentProps {
591
- /**
592
- * Children of the component.
593
- */
594
- children?: ReactNode;
595
- variant?: string;
596
- size?: string;
597
- }
598
- declare const DialogContent: ({ variant, size, children, }: DialogContentProps) => react_jsx_runtime.JSX.Element;
599
-
962
+ /**
963
+ * Children of the component.
964
+ */
965
+ children?: ReactNode;
966
+ variant?: string;
967
+ size?: string;
968
+ }
969
+ declare const DialogContent: ({
970
+ variant,
971
+ size,
972
+ children
973
+ }: DialogContentProps) => react_jsx_runtime4.JSX.Element;
974
+ //#endregion
975
+ //#region src/Dialog/DialogTitle.d.ts
600
976
  interface DialogTitleProps {
601
- children?: React.ReactNode;
602
- variant?: string;
603
- size?: string;
977
+ /** Children of the component. */
978
+ children?: React.ReactNode;
979
+ variant?: string;
980
+ size?: string;
981
+ }
982
+ declare const DialogTitle: ({
983
+ variant,
984
+ size,
985
+ children
986
+ }: DialogTitleProps) => react_jsx_runtime4.JSX.Element;
987
+ //#endregion
988
+ //#region src/Dialog/Context.d.ts
989
+ interface DialogContextProps extends RAC.ModalOverlayProps {
990
+ dismissable?: boolean;
991
+ keyboardDismissable?: boolean;
992
+ }
993
+ //#endregion
994
+ //#region src/Dialog/DialogTrigger.d.ts
995
+ type RemovedProps$24 = 'children' | 'isOpen' | 'isDismissable' | 'isKeyboardDismissDisabled';
996
+ interface DialogTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'>, Omit<DialogContextProps, RemovedProps$24> {
997
+ /** Whether the overlay is open by default (controlled). */
998
+ open?: boolean;
999
+ }
1000
+ declare const _DialogTrigger: ({
1001
+ open,
1002
+ dismissable,
1003
+ keyboardDismissable,
1004
+ ...rest
1005
+ }: DialogTriggerProps) => ReactNode;
1006
+ //#endregion
1007
+ //#region src/Dialog/Dialog.d.ts
1008
+ interface DialogProps extends Omit<RAC.DialogProps, 'className' | 'style'>, Pick<ModalProps, 'open' | 'onOpenChange'> {
1009
+ variant?: string;
1010
+ size?: 'xsmall' | 'small' | 'medium' | (string & {});
1011
+ /**
1012
+ * Show the close button.
1013
+ */
1014
+ closeButton?: boolean;
604
1015
  }
605
- declare const DialogTitle: ({ variant, size, children }: DialogTitleProps) => react_jsx_runtime.JSX.Element;
606
-
607
- type RemovedProps$r = 'children' | 'isOpen' | 'isDismissable' | 'isKeyboardDismissDisabled';
608
- interface ModalProps$1 extends RAC.ModalOverlayProps {
609
- open?: boolean;
610
- dismissable?: boolean;
611
- keyboardDismissable?: boolean;
612
- size?: string;
613
- }
614
- interface DialogTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'>, Omit<ModalProps$1, RemovedProps$r> {
615
- }
616
- declare const _DialogTrigger: ({ open, dismissable, keyboardDismissable, ...rest }: DialogTriggerProps) => ReactNode;
617
-
618
1016
  interface DialogComponent extends ForwardRefExoticComponent<DialogProps & RefAttributes<HTMLInputElement>> {
619
- /**
620
- * Options for the Combobox.
621
- */
622
- Trigger: typeof _DialogTrigger;
623
- Title: typeof DialogTitle;
624
- Content: typeof DialogContent;
625
- Actions: typeof DialogActions;
626
- }
627
- interface DialogProps extends Omit<RAC.DialogProps, 'className' | 'style'> {
628
- variant?: string;
629
- size?: string;
630
- /**
631
- * Show the close button.
632
- */
633
- closeButton?: boolean;
634
- }
635
- interface DialogProps extends Omit<RAC.DialogProps, 'className' | 'style'> {
636
- variant?: string;
637
- size?: string;
638
- /**
639
- * Show the close button.
640
- */
641
- closeButton?: boolean;
642
- /**
643
- * If `true`, the dialog will be non-modal, meaning it will not block interaction with the background content.
644
- * @default false
645
- */
646
- isNonModal?: boolean;
1017
+ Trigger: typeof _DialogTrigger;
1018
+ Title: typeof DialogTitle;
1019
+ Content: typeof DialogContent;
1020
+ Actions: typeof DialogActions;
647
1021
  }
648
1022
  declare const _Dialog: DialogComponent;
649
-
650
- type RemovedProps$q = 'className' | 'style';
651
- interface DividerProps extends Omit<RAC.SeparatorProps, RemovedProps$q> {
652
- variant?: 'default' | 'bold' | (string & {});
653
- }
654
- declare const _Divider: ({ variant, ...props }: DividerProps) => react_jsx_runtime.JSX.Element;
655
-
656
- interface DrawerContentProps {
657
- variant?: string;
658
- size?: string;
659
- /**
660
- * Children of the component.
661
- */
662
- children?: ReactNode;
663
- }
664
-
665
- interface DrawerTitleProps {
666
- variant?: string;
667
- size?: string;
668
- /**
669
- * Children of the component.
670
- */
671
- children?: React.ReactNode;
672
- }
673
-
1023
+ //#endregion
1024
+ //#region src/Dialog/ConfirmationDialog.d.ts
1025
+ interface ConfirmationDialogProps extends Pick<DialogProps, 'variant' | 'size' | 'closeButton' | 'open' | 'onOpenChange'> {
1026
+ /**
1027
+ * The dialog's title.
1028
+ */
1029
+ title: string;
1030
+ /**
1031
+ * Label for the primary action button.
1032
+ */
1033
+ confirmationLabel: string;
1034
+ /**
1035
+ * Optional label for the cancel button, default label is "cancel".
1036
+ */
1037
+ cancelLabel?: string;
1038
+ /**
1039
+ * Handler that is called when the confirm button is pressed.
1040
+ */
1041
+ onConfirm?: () => void;
1042
+ /**
1043
+ * Handler that is called when the cancel button is pressed.
1044
+ */
1045
+ onCancel?: () => void;
1046
+ /**
1047
+ * Button to focus by default when the dialog opens.
1048
+ */
1049
+ autoFocusButton?: 'cancel' | 'action';
1050
+ /**
1051
+ * The dialog's content.
1052
+ */
1053
+ children?: ReactNode;
1054
+ }
1055
+ declare const ConfirmationDialog: {
1056
+ ({
1057
+ title,
1058
+ confirmationLabel,
1059
+ cancelLabel,
1060
+ onCancel,
1061
+ onConfirm,
1062
+ autoFocusButton,
1063
+ children,
1064
+ variant,
1065
+ size,
1066
+ ...props
1067
+ }: ConfirmationDialogProps): react_jsx_runtime4.JSX.Element;
1068
+ Trigger: ({
1069
+ open,
1070
+ dismissable,
1071
+ keyboardDismissable,
1072
+ ...rest
1073
+ }: DialogTriggerProps) => ReactNode;
1074
+ };
1075
+ //#endregion
1076
+ //#region src/Dialog/useConfirmation.d.ts
1077
+ type ConfirmationResult = 'confirmed' | 'cancelled';
1078
+ interface ConfirmationConfig extends Pick<ConfirmationDialogProps, 'variant' | 'title' | 'confirmationLabel' | 'cancelLabel' | 'autoFocusButton'> {
1079
+ content?: React.ReactNode;
1080
+ }
1081
+ type ConfirmationFn = (props: ConfirmationConfig) => Promise<ConfirmationResult>;
1082
+ declare const ConfirmationContext: react6.Context<ConfirmationFn | null>;
1083
+ declare const ConfirmationProvider: ({
1084
+ children
1085
+ }: PropsWithChildren) => react_jsx_runtime4.JSX.Element;
1086
+ declare const useConfirmation: () => ConfirmationFn;
1087
+ //#endregion
1088
+ //#region src/Divider/Divider.d.ts
1089
+ type RemovedProps$23 = 'className' | 'style';
1090
+ interface DividerProps extends Omit<RAC.SeparatorProps, RemovedProps$23> {
1091
+ variant?: 'default' | 'bold' | (string & {});
1092
+ }
1093
+ declare const _Divider: ({
1094
+ variant,
1095
+ ...props
1096
+ }: DividerProps) => react_jsx_runtime4.JSX.Element;
1097
+ //#endregion
1098
+ //#region src/Drawer/DrawerTrigger.d.ts
674
1099
  interface DrawerTriggerProps extends Omit<RAC.DialogTriggerProps, 'isOpen'> {
675
- /**
676
- * Whether the overlay is open by default (controlled).
677
- * @default false
678
- */
679
- open?: boolean;
680
- }
681
-
1100
+ /**
1101
+ * Whether the overlay is open by default (controlled).
1102
+ * @default false
1103
+ */
1104
+ open?: boolean;
1105
+ }
1106
+ //#endregion
1107
+ //#region src/Drawer/DrawerTitle.d.ts
1108
+ interface DrawerTitleProps {
1109
+ variant?: string;
1110
+ size?: string;
1111
+ /**
1112
+ * Children of the component.
1113
+ */
1114
+ children?: React.ReactNode;
1115
+ }
1116
+ //#endregion
1117
+ //#region src/Drawer/DrawerContent.d.ts
1118
+ interface DrawerContentProps {
1119
+ variant?: string;
1120
+ size?: string;
1121
+ /**
1122
+ * Children of the component.
1123
+ */
1124
+ children?: ReactNode;
1125
+ }
1126
+ //#endregion
1127
+ //#region src/Drawer/DrawerActions.d.ts
682
1128
  interface DrawerActions {
683
- variant?: string;
684
- size?: string;
685
- /**
686
- * Children of the component.
687
- */
688
- children?: ReactNode;
689
- }
690
- declare const DrawerActions: ({ variant, size, children }: DrawerActions) => react_jsx_runtime.JSX.Element;
691
-
1129
+ variant?: string;
1130
+ size?: string;
1131
+ /**
1132
+ * Children of the component.
1133
+ */
1134
+ children?: ReactNode;
1135
+ }
1136
+ declare const DrawerActions: ({
1137
+ variant,
1138
+ size,
1139
+ children
1140
+ }: DrawerActions) => react_jsx_runtime4.JSX.Element;
1141
+ //#endregion
1142
+ //#region src/Drawer/Drawer.d.ts
692
1143
  interface DrawerProps extends Omit<DialogProps$1, 'className' | 'style' | 'isOpen' | 'role'> {
693
- size?: 'xsmall' | 'small' | 'medium' | (string & {});
694
- variant?: string;
695
- /**
696
- * Whether the overlay is open by default (controlled).
697
- * @default undefined
698
- */
699
- open?: boolean;
700
- /**
701
- * Whether pressing the escape key closes the modal.
702
- * @default true
703
- */
704
- /**
705
- * The placement of the drawer on the screen.
706
- * @default right
707
- */
708
- placement?: 'top' | 'bottom' | 'left' | 'right';
709
- keyboardDismissable?: boolean;
710
- /**
711
- * Show the close button.
712
- */
713
- closeButton?: boolean;
714
- /**
715
- * The `role` property sets the ARIA landmark role for this component,
716
- * enhancing accessibility by clarifying its purpose to assistive technologies.
717
- *
718
- * Only ARIA landmark roles (e.g., "complementary", "search", "banner", "navigation")
719
- * can be used to ensure proper semantic context. Defaults to `"complementary"`
720
- * for secondary content (e.g., filters, sidebar) that supports the main content.
721
- * @default "complementary"
722
- */
723
- role?: Exclude<AriaLandmarkRole, 'main'>;
1144
+ size?: 'xsmall' | 'small' | 'medium' | (string & {});
1145
+ variant?: string;
1146
+ /**
1147
+ * Whether the overlay is open by default (controlled).
1148
+ * @default undefined
1149
+ */
1150
+ open?: boolean;
1151
+ /**
1152
+ * Whether pressing the escape key closes the modal.
1153
+ * @default true
1154
+ */
1155
+ /**
1156
+ * The placement of the drawer on the screen.
1157
+ * @default right
1158
+ */
1159
+ placement?: 'top' | 'bottom' | 'left' | 'right';
1160
+ keyboardDismissable?: boolean;
1161
+ /**
1162
+ * Show the close button.
1163
+ */
1164
+ closeButton?: boolean;
1165
+ /**
1166
+ * The `role` property sets the ARIA landmark role for this component,
1167
+ * enhancing accessibility by clarifying its purpose to assistive technologies.
1168
+ *
1169
+ * Only ARIA landmark roles (e.g., "complementary", "search", "banner", "navigation")
1170
+ * can be used to ensure proper semantic context. Defaults to `"complementary"`
1171
+ * for secondary content (e.g., filters, sidebar) that supports the main content.
1172
+ * @default "complementary"
1173
+ */
1174
+ role?: Exclude<AriaLandmarkRole, 'main'>;
724
1175
  }
725
1176
  declare const Drawer: {
726
- ({ children, size, variant, open, keyboardDismissable, closeButton, role, placement, ...props }: DrawerProps): react_jsx_runtime.JSX.Element;
727
- Trigger: ({ open, children, ...props }: DrawerTriggerProps) => react_jsx_runtime.JSX.Element;
728
- Title: ({ variant, size, children }: DrawerTitleProps) => react_jsx_runtime.JSX.Element;
729
- Content: ({ variant, size, children, }: DrawerContentProps) => react_jsx_runtime.JSX.Element;
730
- Actions: ({ variant, size, children }: DrawerActions) => react_jsx_runtime.JSX.Element;
1177
+ ({
1178
+ children,
1179
+ size,
1180
+ variant,
1181
+ open,
1182
+ keyboardDismissable,
1183
+ closeButton,
1184
+ role,
1185
+ placement,
1186
+ ...props
1187
+ }: DrawerProps): react_jsx_runtime4.JSX.Element;
1188
+ Trigger: ({
1189
+ open,
1190
+ children,
1191
+ ...props
1192
+ }: DrawerTriggerProps) => react_jsx_runtime4.JSX.Element;
1193
+ Title: ({
1194
+ variant,
1195
+ size,
1196
+ children
1197
+ }: DrawerTitleProps) => react_jsx_runtime4.JSX.Element;
1198
+ Content: ({
1199
+ variant,
1200
+ size,
1201
+ children
1202
+ }: DrawerContentProps) => react_jsx_runtime4.JSX.Element;
1203
+ Actions: ({
1204
+ variant,
1205
+ size,
1206
+ children
1207
+ }: DrawerActions) => react_jsx_runtime4.JSX.Element;
731
1208
  };
732
-
1209
+ //#endregion
1210
+ //#region src/Form/Form.d.ts
733
1211
  interface FormProps extends Omit<RAC.FormProps, 'className' | 'style'>, MaxWidthProp {
734
- /**
735
- * Removes the form's visual container so that it does not impact the layout,
736
- * letting child elements render naturally.
737
- */
738
- unstyled?: boolean;
739
- }
740
- declare const _Form: ({ unstyled, maxWidth, ...props }: FormProps) => react_jsx_runtime.JSX.Element;
741
-
1212
+ /**
1213
+ * Removes the form's visual container so that it does not impact the layout,
1214
+ * letting child elements render naturally.
1215
+ */
1216
+ unstyled?: boolean;
1217
+ }
1218
+ declare const _Form: ({
1219
+ unstyled,
1220
+ maxWidth,
1221
+ ...props
1222
+ }: FormProps) => react_jsx_runtime4.JSX.Element;
1223
+ //#endregion
1224
+ //#region src/Grid/GridArea.d.ts
742
1225
  interface GridAreaProps {
743
- /**
744
- * Name of the grid area slot.
745
- */
746
- name: string;
747
- /**
748
- * Children of the component.
749
- */
750
- children?: ReactNode;
751
- }
752
-
1226
+ /**
1227
+ * Name of the grid area slot.
1228
+ */
1229
+ name: string;
1230
+ /**
1231
+ * Children of the component.
1232
+ */
1233
+ children?: ReactNode;
1234
+ }
1235
+ //#endregion
1236
+ //#region src/Grid/Grid.d.ts
753
1237
  type TemplateValue = 'none' | 'auto' | 'min-content' | 'max-content' | (string & {}) | number;
754
1238
  interface GridProps extends GapSpaceProp, HeightProp, AriaRegionProps {
755
- /**
756
- * Specifies the named grid areas, much like `grid-template-areas`.
757
- */
758
- areas: string[];
759
- /**
760
- * Specifies the width of each column in the grid.
761
- */
762
- columns: TemplateValue[];
763
- /**
764
- * Specifies the height of each rows in the grid.
765
- */
766
- rows: TemplateValue[];
767
- /**
768
- * Children of the layout.
769
- */
770
- children?: ReactNode;
771
- /**
772
- * Horizontal alignment for the children.
773
- */
774
- alignX?: keyof typeof alignment.horizontal.alignmentX;
775
- /**
776
- * Vertical alignment for the children.
777
- */
778
- alignY?: keyof typeof alignment.horizontal.alignmentY;
1239
+ /**
1240
+ * Specifies the named grid areas, much like `grid-template-areas`.
1241
+ */
1242
+ areas: string[];
1243
+ /**
1244
+ * Specifies the width of each column in the grid.
1245
+ */
1246
+ columns: TemplateValue[];
1247
+ /**
1248
+ * Specifies the height of each rows in the grid.
1249
+ */
1250
+ rows: TemplateValue[];
1251
+ /**
1252
+ * Children of the layout.
1253
+ */
1254
+ children?: ReactNode;
1255
+ /**
1256
+ * Horizontal alignment for the children.
1257
+ */
1258
+ alignX?: keyof typeof alignment.horizontal.alignmentX;
1259
+ /**
1260
+ * Vertical alignment for the children.
1261
+ */
1262
+ alignY?: keyof typeof alignment.horizontal.alignmentY;
779
1263
  }
780
1264
  declare const Grid: {
781
- ({ children, areas, columns, rows, alignX, alignY, height, space, ...props }: GridProps): react_jsx_runtime.JSX.Element;
782
- Area: ({ name, children }: GridAreaProps) => react_jsx_runtime.JSX.Element;
1265
+ ({
1266
+ children,
1267
+ areas,
1268
+ columns,
1269
+ rows,
1270
+ alignX,
1271
+ alignY,
1272
+ height,
1273
+ space,
1274
+ ...props
1275
+ }: GridProps): react_jsx_runtime4.JSX.Element;
1276
+ Area: ({
1277
+ name,
1278
+ children
1279
+ }: GridAreaProps) => react_jsx_runtime4.JSX.Element;
1280
+ };
1281
+ //#endregion
1282
+ //#region src/Headline/Headline.d.ts
1283
+ interface HeadlineProps extends AriaLabelingProps$1, TextAlignProp {
1284
+ /**
1285
+ * Set the color of the headline.
1286
+ */
1287
+ color?: string;
1288
+ variant?: string;
1289
+ size?: 'level-1' | 'level-2' | 'level-3' | 'level-4' | 'level-5' | 'level-6' | (string & {});
1290
+ /**
1291
+ * Set a different level.
1292
+ */
1293
+ level?: '1' | '2' | '3' | '4' | '5' | '6' | 1 | 2 | 3 | 4 | 5 | 6;
1294
+ /**
1295
+ * Children of the component.
1296
+ */
1297
+ children?: ReactNode;
1298
+ /**
1299
+ * A slot to place the element in.
1300
+ */
1301
+ slot?: string;
1302
+ }
1303
+ declare const _Headline: ({
1304
+ variant,
1305
+ size,
1306
+ children,
1307
+ align,
1308
+ color,
1309
+ level,
1310
+ ...props
1311
+ }: HeadlineProps) => react_jsx_runtime4.JSX.Element;
1312
+ //#endregion
1313
+ //#region src/IconButton/IconButton.d.ts
1314
+ interface IconButtonProps extends RAC.ButtonProps {
1315
+ className?: string;
1316
+ variant?: 'navigation' | (string & {});
1317
+ size?: string;
1318
+ }
1319
+ declare const IconButton: ({
1320
+ className,
1321
+ children,
1322
+ variant,
1323
+ size,
1324
+ ...props
1325
+ }: IconButtonProps) => react_jsx_runtime4.JSX.Element;
1326
+ //#endregion
1327
+ //#region src/Inline/Inline.d.ts
1328
+ declare const inlineAlignmentY: {
1329
+ input: string;
1330
+ top: "items-start";
1331
+ center: "items-center";
1332
+ bottom: "items-end";
783
1333
  };
784
-
785
- interface HeadlineProps extends AriaLabelingProps, TextAlignProp {
786
- /**
787
- * Set the color of the headline.
788
- */
789
- color?: string;
790
- variant?: string;
791
- size?: 'level-1' | 'level-2' | 'level-3' | 'level-4' | 'level-5' | 'level-6' | (string & {});
792
- /**
793
- * Set a different level.
794
- */
795
- level?: '1' | '2' | '3' | '4' | '5' | '6' | 1 | 2 | 3 | 4 | 5 | 6;
796
- /**
797
- * Children of the component.
798
- */
799
- children?: ReactNode;
800
- /**
801
- * A slot to place the element in.
802
- */
803
- slot?: string;
804
- }
805
- declare const _Headline: ({ variant, size, children, align, color, level, ...props }: HeadlineProps) => react_jsx_runtime.JSX.Element;
806
-
807
1334
  interface InlineProps extends GapSpaceProp, AriaRegionProps {
808
- /**
809
- * The children of the component.
810
- */
811
- children?: ReactNode;
812
- /**
813
- * Horizontal alignment of the items inside the element.
814
- */
815
- alignX?: keyof typeof alignment.horizontal.alignmentX;
816
- /**
817
- * Vertical alignment of the items inside the element.
818
- */
819
- alignY?: keyof typeof alignment.horizontal.alignmentY | 'input';
820
- }
821
- declare const Inline: ({ space, alignX, alignY, children, ...props }: InlineProps) => react_jsx_runtime.JSX.Element;
822
-
823
- type RemovedProps$p = 'className' | 'style' | 'size';
824
- interface InputProps extends Omit<RAC.InputProps, RemovedProps$p> {
825
- icon?: ReactElement<any>;
826
- action?: ReactElement<any>;
827
- variant?: string;
828
- size?: string;
829
- className?: string;
830
- }
831
- declare const _Input: react.ForwardRefExoticComponent<InputProps & react.RefAttributes<HTMLInputElement>>;
832
-
833
- type RemovedProps$o = 'className' | 'isRequired' | 'isDisabled' | 'isInvalid' | 'isReadOnly' | 'label' | 'children' | 'style';
834
- interface DateFieldProps extends Omit<RAC.DateFieldProps<DateValue>, RemovedProps$o>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
835
- variant?: string;
836
- size?: string;
837
- /**
838
- * Optional element (e.g., button or icon) rendered inside the DateField.
839
- */
840
- action?: ReactElement<any>;
841
- /**
842
- * If `true`, the date field is required.
843
- * @default false
844
- */
845
- required?: RAC.DateFieldProps<DateValue>['isRequired'];
846
- /**
847
- * If `true`, the date field is disabled.
848
- * @default false
849
- */
850
- disabled?: RAC.DateFieldProps<DateValue>['isDisabled'];
851
- /**
852
- * If `true`, the field is considered invalid and if set the errorMessage is shown instead of the `description`.
853
- * @default false
854
- */
855
- error?: RAC.DateFieldProps<DateValue>['isInvalid'];
856
- /**
857
- * If `true`, the date field is readOnly.
858
- * @default false
859
- */
860
- readOnly?: RAC.DateFieldProps<DateValue>['isReadOnly'];
861
- /**
862
- * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
863
- * @default 'full'
864
- */
865
- width?: WidthProp['width'];
866
- }
867
- declare const _DateField: react.ForwardRefExoticComponent<DateFieldProps & react.RefAttributes<HTMLInputElement>>;
868
-
869
- type RemovedProps$n = 'visibleDuration' | 'pageBehavior' | 'isDateUnavailable' | 'isDisabled' | 'isReadOnly' | 'isInvalid' | 'errorMessage' | 'className' | 'style';
870
- interface CalendarProps extends Omit<RAC.CalendarProps<DateValue>, RemovedProps$n> {
871
- /**
872
- * Disables the Calendar.
873
- * @default false
874
- */
875
- disabled?: boolean;
876
- /**
877
- * Whether the calendar value is immutable.
878
- * @default false
879
- */
880
- readOnly?: boolean;
881
- variant?: string;
882
- size?: string;
883
- /**
884
- * Sets the width of the calendar. You can see allowed tokens here: https://tailwindcss.com/docs/width
885
- * @default fit
886
- */
887
- width?: WidthProp['width'];
888
- /**
889
- * Callback that is called for each date of the calendar. If it returns true, then the date is unavailable.
890
- */
891
- dateUnavailable?: RAC.CalendarProps<DateValue>['isDateUnavailable'];
892
- }
893
- declare const _Calendar: ({ disabled, readOnly, size, variant, width, dateUnavailable, minValue: _minValue, maxValue: _maxValue, ...rest }: CalendarProps) => react_jsx_runtime.JSX.Element;
894
-
895
- type RemovedProps$m = 'isDisabled' | 'isDateUnavailable' | 'isReadOnly' | 'isRequired' | 'isInvalid' | 'style' | 'className' | 'isOpen';
896
- interface DatePickerProps extends Omit<RAC.DatePickerProps<DateValue>, RemovedProps$m>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
897
- /**
898
- * Callback that is called for each date of the calendar. If it returns true, then the date is unavailable.
899
- */
900
- dateUnavailable?: RAC.DatePickerProps<DateValue>['isDateUnavailable'];
901
- /**
902
- * If `true`, the date picker is disabled.
903
- * @default false
904
- */
905
- disabled?: RAC.DatePickerProps<DateValue>['isDisabled'];
906
- /**
907
- * If `true`, the date picker is required.
908
- * @default false
909
- */
910
- required?: RAC.DatePickerProps<DateValue>['isRequired'];
911
- /**
912
- * If `true`, the date picker is readOnly.
913
- * @default false
914
- */
915
- readOnly?: RAC.DatePickerProps<DateValue>['isReadOnly'];
916
- /**
917
- * If `true`, the field is considered invalid and if set the errorMessage is shown instead of the `description`.
918
- * @default false
919
- */
920
- error?: RAC.DatePickerProps<DateValue>['isInvalid'];
921
- /**
922
- * Whether the calendar is open by default (controlled).
923
- * @default false
924
- */
925
- open?: RAC.DatePickerProps<DateValue>['isOpen'];
926
- variant?: string;
927
- size?: string;
928
- /**
929
- * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
930
- */
931
- width?: WidthProp['width'];
932
- }
933
- declare const _DatePicker: react__default.ForwardRefExoticComponent<DatePickerProps & react__default.RefAttributes<HTMLDivElement>>;
934
-
1335
+ /**
1336
+ * The children of the component.
1337
+ */
1338
+ children?: ReactNode;
1339
+ /**
1340
+ * Prevent the items from wrapping to the next line.
1341
+ */
1342
+ noWrap?: boolean;
1343
+ /**
1344
+ * Horizontal alignment of the items inside the element.
1345
+ */
1346
+ alignX?: keyof typeof alignment.horizontal.alignmentX;
1347
+ /**
1348
+ * Vertical alignment of the items inside the element.
1349
+ */
1350
+ alignY?: keyof typeof inlineAlignmentY;
1351
+ }
1352
+ declare const Inline: ({
1353
+ space,
1354
+ noWrap,
1355
+ alignX,
1356
+ alignY,
1357
+ children,
1358
+ ...props
1359
+ }: InlineProps) => react_jsx_runtime4.JSX.Element;
1360
+ //#endregion
1361
+ //#region src/Input/Input.d.ts
1362
+ type RemovedProps$22 = 'className' | 'style' | 'size';
1363
+ interface InputProps extends Omit<RAC.InputProps, RemovedProps$22> {
1364
+ icon?: ReactElement<any>;
1365
+ action?: ReactElement<any>;
1366
+ variant?: string;
1367
+ size?: string;
1368
+ className?: string;
1369
+ }
1370
+ declare const _Input: react6.ForwardRefExoticComponent<InputProps & react6.RefAttributes<HTMLInputElement>>;
1371
+ //#endregion
1372
+ //#region src/Input/SearchInput.d.ts
1373
+ interface SearchInputProps extends Omit<InputProps, 'icon' | 'className'> {
1374
+ loading?: boolean;
1375
+ className?: {
1376
+ input?: string;
1377
+ action?: string;
1378
+ };
1379
+ onClear?: () => void;
1380
+ }
1381
+ declare const SearchInput: react6.ForwardRefExoticComponent<SearchInputProps & react6.RefAttributes<HTMLInputElement>>;
1382
+ //#endregion
1383
+ //#region src/Inset/Inset.d.ts
935
1384
  type InsetProps = (AriaRegionProps & {
936
- /**
937
- * The children of the component
938
- */
939
- children: ReactNode;
940
- space?: never;
941
- /**
942
- * Horizontal alignment for the children. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
943
- */
944
- spaceX?: PaddingSpacePropX['spaceX'];
945
- /**
946
- * Vertical alignment for the children. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
947
- */
948
- spaceY?: PaddingSpacePropY['spaceY'];
1385
+ /**
1386
+ * The children of the component
1387
+ */
1388
+ children: ReactNode;
1389
+ space?: never;
1390
+ /**
1391
+ * Horizontal alignment for the children. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
1392
+ */
1393
+ spaceX?: PaddingSpacePropX['spaceX'];
1394
+ /**
1395
+ * Vertical alignment for the children. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
1396
+ */
1397
+ spaceY?: PaddingSpacePropY['spaceY'];
949
1398
  }) | (AriaRegionProps & {
950
- children: ReactNode;
951
- /**
952
- * The space between the children. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
953
- */
954
- space?: PaddingSpaceProp['space'];
955
- spaceX?: never;
956
- spaceY?: never;
1399
+ children: ReactNode;
1400
+ /**
1401
+ * The space between the children. You can see allowed tokens [here](../../foundations/design-tokens?theme=core#spacing).
1402
+ */
1403
+ space?: PaddingSpaceProp['space'];
1404
+ spaceX?: never;
1405
+ spaceY?: never;
957
1406
  });
958
- declare const Inset: ({ space, spaceX, spaceY, children }: InsetProps) => react_jsx_runtime.JSX.Element;
959
-
960
- type RemovedProps$l = 'className';
961
- interface LabelProps extends Omit<RAC.LabelProps, RemovedProps$l> {
962
- size?: string;
963
- variant?: string;
964
- }
965
- declare const _Label: ({ size, variant, children, ...props }: LabelProps) => react_jsx_runtime.JSX.Element;
966
-
967
- type RemovedProps$k = 'className' | 'isDisabled' | 'slot';
968
- interface LinkProps extends Omit<RAC.LinkProps, RemovedProps$k> {
969
- variant?: 'default' | 'secondary' | (string & {});
970
- size?: string;
971
- /**
972
- * The link can't be clicked
973
- * @default false
974
- */
975
- disabled?: RAC.LinkProps['isDisabled'];
976
- }
977
- declare const _Link: react.ForwardRefExoticComponent<LinkProps & react.RefAttributes<HTMLAnchorElement>>;
978
-
1407
+ declare const Inset: ({
1408
+ space,
1409
+ spaceX,
1410
+ spaceY,
1411
+ children
1412
+ }: InsetProps) => react_jsx_runtime4.JSX.Element;
1413
+ //#endregion
1414
+ //#region src/Label/Label.d.ts
1415
+ type RemovedProps$21 = 'className';
1416
+ interface LabelProps extends Omit<RAC.LabelProps, RemovedProps$21> {
1417
+ size?: string;
1418
+ variant?: string;
1419
+ }
1420
+ declare const _Label: ({
1421
+ size,
1422
+ variant,
1423
+ children,
1424
+ ...props
1425
+ }: LabelProps) => react_jsx_runtime4.JSX.Element;
1426
+ //#endregion
1427
+ //#region src/Link/Link.d.ts
1428
+ type RemovedProps$20 = 'className' | 'isDisabled' | 'slot';
1429
+ interface LinkProps extends Omit<RAC.LinkProps, RemovedProps$20> {
1430
+ variant?: 'default' | 'secondary' | (string & {});
1431
+ size?: string;
1432
+ /**
1433
+ * The link can't be clicked
1434
+ * @default false
1435
+ */
1436
+ disabled?: RAC.LinkProps['isDisabled'];
1437
+ }
1438
+ declare const _Link: react6.ForwardRefExoticComponent<LinkProps & react6.RefAttributes<HTMLAnchorElement>>;
1439
+ //#endregion
1440
+ //#region src/LinkButton/LinkButton.d.ts
1441
+ type RemovedProps$19 = 'isDisabled' | 'isPending' | 'className' | 'style';
1442
+ interface LinkButtonProps extends Omit<RAC.LinkProps, RemovedProps$19> {
1443
+ variant?: 'primary' | 'secondary' | 'destructive' | 'ghost' | 'link' | (string & {});
1444
+ size?: 'default' | 'small' | 'large' | 'icon' | (string & {});
1445
+ /**
1446
+ * If true, the element stretches to fill the available width.
1447
+ * @default false
1448
+ */
1449
+ fullWidth?: boolean;
1450
+ /**
1451
+ * Children of the component
1452
+ */
1453
+ children?: ReactNode;
1454
+ /**
1455
+ * Disables the button.
1456
+ * @default false
1457
+ */
1458
+ disabled?: RAC.LinkProps['isDisabled'];
1459
+ }
1460
+ declare const _LinkButton: react6.ForwardRefExoticComponent<LinkButtonProps & react6.RefAttributes<HTMLAnchorElement>>;
1461
+ //#endregion
1462
+ //#region src/List/ListItem.d.ts
979
1463
  interface ListItemProps {
980
- /**
981
- * Children of the component.
982
- */
983
- children?: ReactNode;
1464
+ /**
1465
+ * Children of the component.
1466
+ */
1467
+ children?: ReactNode;
984
1468
  }
985
-
1469
+ //#endregion
1470
+ //#region src/List/List.d.ts
986
1471
  interface ListProps {
987
- variant?: string;
988
- size?: string;
989
- /**
990
- * Displaying a unordered or ordered list for showing Information.
991
- * @default 'ul'
992
- */
993
- as?: 'ul' | 'ol';
994
- /**
995
- * The children of the component.
996
- */
997
- children?: ReactNode;
1472
+ variant?: string;
1473
+ size?: string;
1474
+ /**
1475
+ * Displaying a unordered or ordered list for showing Information.
1476
+ * @default 'ul'
1477
+ */
1478
+ as?: 'ul' | 'ol';
1479
+ /**
1480
+ * The children of the component.
1481
+ */
1482
+ children?: ReactNode;
998
1483
  }
999
1484
  declare const List: {
1000
- ({ as, children, variant, size, ...props }: ListProps): react_jsx_runtime.JSX.Element;
1001
- Item: ({ children, ...props }: ListItemProps) => react_jsx_runtime.JSX.Element;
1485
+ ({
1486
+ as,
1487
+ children,
1488
+ variant,
1489
+ size,
1490
+ ...props
1491
+ }: ListProps): react_jsx_runtime4.JSX.Element;
1492
+ Item: ({
1493
+ children,
1494
+ ...props
1495
+ }: ListItemProps) => react_jsx_runtime4.JSX.Element;
1002
1496
  };
1003
-
1004
- type RemovedProps$j = 'className' | 'style' | 'children';
1005
- interface MenuSectionProps extends Omit<RAC.SectionProps<object>, RemovedProps$j> {
1006
- title?: string;
1007
- children: ReactNode;
1008
- }
1009
-
1010
- type RemovedProps$i = 'style' | 'className';
1011
- type MenuItemProps = Omit<RAC.MenuItemProps, RemovedProps$i>;
1012
-
1497
+ //#endregion
1498
+ //#region src/Menu/MenuItem.d.ts
1499
+ type RemovedProps$18 = 'style' | 'className';
1500
+ interface MenuItemProps extends Omit<RAC.MenuItemProps, RemovedProps$18> {
1501
+ variant?: 'destructive' | 'default' | (string & {});
1502
+ size?: string;
1503
+ }
1504
+ //#endregion
1505
+ //#region src/Menu/MenuSection.d.ts
1506
+ type RemovedProps$17 = 'className' | 'style' | 'children';
1507
+ interface MenuSectionProps extends Omit<RAC.SectionProps<object>, RemovedProps$17> {
1508
+ title?: string;
1509
+ children: ReactNode;
1510
+ }
1511
+ //#endregion
1512
+ //#region src/Overlay/Popover.d.ts
1013
1513
  interface PopoverProps extends Omit<RAC.PopoverProps, 'isOpen' | 'isKeyboardDismissDisabled' | 'style' | 'className' | 'children'> {
1014
- keyboardDismissDisabled?: boolean;
1015
- open?: boolean;
1016
- children: ReactNode;
1017
- }
1018
- declare const _Popover: react.ForwardRefExoticComponent<PopoverProps & react.RefAttributes<HTMLDivElement>>;
1019
-
1020
- type RemovedProps$h = 'isOpen' | 'className' | 'style' | 'children';
1021
- interface MenuProps extends Omit<RAC.MenuTriggerProps, RemovedProps$h>, Omit<RAC.MenuProps<object>, RemovedProps$h> {
1022
- /**
1023
- * Whether the menu is open.
1024
- * @default false
1025
- */
1026
- open?: RAC.MenuTriggerProps['isOpen'];
1027
- /**
1028
- * Placement of the popover.
1029
- * @default 'bottom'
1030
- */
1031
- placement?: PopoverProps['placement'];
1032
- /**
1033
- * The label for the menu trigger button.
1034
- */
1035
- label?: ReactNode;
1036
- variant?: 'default' | 'ghost' | (string & {});
1037
- size?: 'default' | 'small' | 'large' | 'icon' | (string & {});
1038
- /**
1039
- * Handler that is called when an action is performed on an item.
1040
- */
1041
- onAction?: (key: Key$1) => void;
1042
- /**
1043
- * The contents of the menu.
1044
- */
1045
- children?: ReactNode;
1046
- /**
1047
- * Whether the menu trigger is disabled.
1048
- */
1049
- disabled?: boolean;
1514
+ keyboardDismissDisabled?: boolean;
1515
+ open?: boolean;
1516
+ children: ReactNode;
1517
+ }
1518
+ declare const _Popover: react6.ForwardRefExoticComponent<PopoverProps & react6.RefAttributes<HTMLDivElement>>;
1519
+ //#endregion
1520
+ //#region src/Menu/Menu.d.ts
1521
+ type RemovedProps$16 = 'isOpen' | 'className' | 'style' | 'children';
1522
+ interface MenuProps extends Omit<RAC.MenuTriggerProps, RemovedProps$16>, Omit<RAC.MenuProps<object>, RemovedProps$16> {
1523
+ /**
1524
+ * Whether the menu is open.
1525
+ * @default false
1526
+ */
1527
+ open?: RAC.MenuTriggerProps['isOpen'];
1528
+ /**
1529
+ * Placement of the popover.
1530
+ * @default 'bottom'
1531
+ */
1532
+ placement?: PopoverProps['placement'];
1533
+ /**
1534
+ * The label for the menu trigger button.
1535
+ */
1536
+ label?: ReactNode;
1537
+ variant?: 'default' | 'ghost' | (string & {});
1538
+ size?: 'default' | 'small' | 'large' | 'icon' | (string & {});
1539
+ /**
1540
+ * Handler that is called when an action is performed on an item.
1541
+ */
1542
+ onAction?: (key: Key$1) => void;
1543
+ /**
1544
+ * The contents of the menu.
1545
+ */
1546
+ children?: ReactNode;
1547
+ /**
1548
+ * Whether the menu trigger is disabled.
1549
+ */
1550
+ disabled?: boolean;
1050
1551
  }
1051
1552
  declare const _Menu: {
1052
- ({ children, label, variant, size, disabled, open, placement, "aria-label": ariaLabel, ...props }: MenuProps): react_jsx_runtime.JSX.Element;
1053
- Item: ({ children, ...props }: MenuItemProps) => react_jsx_runtime.JSX.Element;
1054
- Section: ({ children, title, ...props }: MenuSectionProps) => react_jsx_runtime.JSX.Element;
1553
+ ({
1554
+ children,
1555
+ label,
1556
+ variant,
1557
+ size,
1558
+ disabled,
1559
+ open,
1560
+ placement,
1561
+ "aria-label": ariaLabel,
1562
+ ...props
1563
+ }: MenuProps): react_jsx_runtime4.JSX.Element;
1564
+ Item: ({
1565
+ children,
1566
+ variant,
1567
+ size,
1568
+ ...props
1569
+ }: MenuItemProps) => react_jsx_runtime4.JSX.Element;
1570
+ Section: ({
1571
+ children,
1572
+ title,
1573
+ ...props
1574
+ }: MenuSectionProps) => react_jsx_runtime4.JSX.Element;
1055
1575
  };
1056
-
1576
+ //#endregion
1577
+ //#region src/Menu/ActionMenu.d.ts
1057
1578
  type ActionMenuProps = Omit<MenuProps, 'label'>;
1058
1579
  declare const ActionMenu: {
1059
- ({ children, ...props }: ActionMenuProps): react_jsx_runtime.JSX.Element;
1060
- Item: ({ children, ...props }: MenuItemProps) => react_jsx_runtime.JSX.Element;
1061
- Section: ({ children, title, ...props }: MenuSectionProps) => react_jsx_runtime.JSX.Element;
1062
- };
1063
-
1064
- interface SectionMessageContentProps {
1065
- /**
1066
- * The children of the component.
1067
- */
1068
- children?: ReactNode;
1069
- }
1070
-
1071
- interface SectionMessageTitleProps {
1072
- /**
1073
- * The children of the component.
1074
- */
1075
- children?: ReactNode;
1076
- }
1077
-
1078
- declare const icons: {
1079
- success: () => react_jsx_runtime.JSX.Element;
1080
- info: () => react_jsx_runtime.JSX.Element;
1081
- warning: () => react_jsx_runtime.JSX.Element;
1082
- error: () => react_jsx_runtime.JSX.Element;
1580
+ ({
1581
+ children,
1582
+ ...props
1583
+ }: ActionMenuProps): react_jsx_runtime4.JSX.Element;
1584
+ Item: ({
1585
+ children,
1586
+ variant,
1587
+ size,
1588
+ ...props
1589
+ }: MenuItemProps) => react_jsx_runtime4.JSX.Element;
1590
+ Section: ({
1591
+ children,
1592
+ title,
1593
+ ...props
1594
+ }: MenuSectionProps) => react_jsx_runtime4.JSX.Element;
1083
1595
  };
1084
- interface SectionMessageProps {
1085
- variant?: keyof typeof icons;
1086
- size?: string;
1087
- /**
1088
- * The children of the component.
1089
- */
1090
- children?: ReactNode;
1091
- /**
1092
- * Adds a close button, makes the section message dismissable.
1093
- */
1094
- closeButton?: boolean;
1095
- /**
1096
- * Handler that is called when you need to control the dismissable message to close.
1097
- */
1098
- onCloseChange?: (close: boolean) => void;
1099
- /**
1100
- * If the message should be closed/dismissed (controlled).
1101
- */
1102
- close?: boolean;
1103
- }
1104
- declare const SectionMessage: {
1105
- ({ variant, size, children, closeButton, close, onCloseChange, ...props }: SectionMessageProps): react_jsx_runtime.JSX.Element | null;
1106
- Title: ({ children }: SectionMessageTitleProps) => react_jsx_runtime.JSX.Element;
1107
- Content: ({ children, }: SectionMessageContentProps) => react_jsx_runtime.JSX.Element;
1108
- };
1109
-
1596
+ //#endregion
1597
+ //#region src/Multiselect/Multiselect.d.ts
1110
1598
  interface MultipleSelectProps extends Pick<FieldBaseProps<'label'>, 'width' | 'size' | 'variant' | 'label' | 'description' | 'errorMessage'> {
1111
- /**
1112
- * If the select should be disabled.
1113
- *
1114
- * @default false
1115
- */
1116
- disabled?: boolean;
1117
- /**
1118
- * If the select should be required.
1119
- *
1120
- * @default false
1121
- */
1122
- required?: boolean;
1123
- /**
1124
- * If the select should be read only.
1125
- *
1126
- * @default false
1127
- */
1128
- readOnly?: boolean;
1129
- /**
1130
- * If the select should throw an error.
1131
- *
1132
- * @default false
1133
- */
1134
- error?: boolean;
1135
- /**
1136
- * The items of the select.
1137
- */
1138
- items?: Props['options'];
1139
- /**
1140
- * Set a error message for the select.
1141
- */
1142
- errorMessage?: string | ((validation: ValidationResult) => string);
1143
- /**
1144
- * The placdeholder of the select when it is empty.
1145
- */
1146
- placeholder?: string;
1147
- /**
1148
- * Items that should be selected by default (uncontrolled).
1149
- */
1150
- defaultSelectedItems?: Props['defaultValue'];
1151
- /**
1152
- * Selected items (controlled):
1153
- */
1154
- selectedItems?: Props['value'];
1155
- /**
1156
- * Input text that should be set by default.
1157
- */
1158
- defaultValue?: Props['defaultInputValue'];
1159
- /**
1160
- * Handler that is called when the input changes.
1161
- */
1162
- onChange?: Props['onInputChange'];
1163
- /**
1164
- * Provides content to display when there are no items in the list.
1165
- */
1166
- emptyState?: (obj: {
1167
- inputValue: string;
1168
- }) => ReactNode;
1169
- /**
1170
- * Handler that is called when the selection changes.
1171
- */
1172
- onSelectionChange?: Props['onChange'];
1173
- /** Focus the control when it is mounted */
1174
- autoFocus?: Props['autoFocus'];
1175
- /**
1176
- * Override the built-in logic to detect whether an option is disabled
1177
- * */
1178
- isOptionDisabled?: Props['isOptionDisabled'];
1179
- /**
1180
- * Text to display when there are no options
1181
- * */
1182
- noOptionsMessage?: Props['noOptionsMessage'];
1183
- /**
1184
- * Handle blur events on the control
1185
- */
1186
- onBlur?: Props['onBlur'];
1187
- /**
1188
- * Handle focus events on the control
1189
- */
1190
- onFocus?: Props['onFocus'];
1191
- /**
1192
- * HTML ID of an element containing an error message related to the input*
1193
- */
1194
- 'aria-errormessage'?: Props['aria-errormessage'];
1195
- /**
1196
- * Indicate if the value entered in the field is invalid *
1197
- */
1198
- 'aria-invalid'?: Props['aria-invalid'];
1199
- /**
1200
- * Aria label (for assistive tech)
1201
- */
1202
- 'aria-label'?: Props['aria-label'];
1203
- /**
1204
- * HTML ID of an element that should be used as the label (for assistive tech)
1205
- */
1206
- 'aria-labelledby'?: Props['aria-labelledby'];
1207
- /**
1208
- * Used to set the priority with which screen reader should treat updates to live regions. The possible settings are: off, polite (default) or assertive
1209
- */
1210
- 'aria-live'?: Props['aria-live'];
1211
- /**
1212
- * Customise the messages used by the aria-live component
1213
- */
1214
- ariaLiveMessages?: Props['ariaLiveMessages'];
1215
- }
1216
- declare const Multiselect: ({ disabled, readOnly, items, selectedItems, defaultSelectedItems, defaultValue, error, errorMessage, size, variant, placeholder, description, emptyState, onChange, onSelectionChange, width, ...rest }: MultipleSelectProps) => react_jsx_runtime.JSX.Element;
1217
-
1218
- type RemovedProps$g = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'size';
1219
- interface NumberFieldProps extends Omit<RAC.NumberFieldProps, RemovedProps$g>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1220
- variant?: string;
1221
- size?: string;
1222
- /**
1223
- * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
1224
- * @default full
1225
- */
1226
- width?: WidthProp['width'];
1227
- /**
1228
- * If `true`, the input is disabled.
1229
- * @default false
1230
- */
1231
- disabled?: RAC.NumberFieldProps['isDisabled'];
1232
- /**
1233
- * If `true`, the input is required.
1234
- * @default false
1235
- */
1236
- required?: RAC.NumberFieldProps['isRequired'];
1237
- /**
1238
- * If `true`, the field is considered invalid and if set the errorMessage is shown instead of the `description`.
1239
- * @default false
1240
- */
1241
- error?: RAC.NumberFieldProps['isInvalid'];
1242
- /**
1243
- * If `true`, the input is readOnly.
1244
- * @default false
1245
- */
1246
- readOnly?: RAC.NumberFieldProps['isReadOnly'];
1247
- /**
1248
- * Property for hiding the step buttons of the field.
1249
- * @default false
1250
- */
1251
- hideStepper?: boolean;
1252
- /**
1253
- * Placeholder text for the input field.
1254
- * @default none
1255
- */
1256
- placeholder?: string;
1257
- }
1258
- declare const _NumberField: react.ForwardRefExoticComponent<NumberFieldProps & react.RefAttributes<HTMLInputElement>>;
1259
-
1260
- interface ModalProps extends RAC.ModalOverlayProps {
1261
- open?: boolean;
1262
- dismissable?: boolean;
1263
- keyboardDismissable?: boolean;
1264
- size?: string;
1265
- }
1266
- declare const _Modal: react.ForwardRefExoticComponent<Omit<ModalProps, "className" | "isOpen" | "isDismissable" | "isKeyboardDismissDisabled"> & react.RefAttributes<HTMLDivElement>>;
1267
-
1599
+ /**
1600
+ * If the select should be disabled.
1601
+ *
1602
+ * @default false
1603
+ */
1604
+ disabled?: boolean;
1605
+ /**
1606
+ * If the select should be required.
1607
+ *
1608
+ * @default false
1609
+ */
1610
+ required?: boolean;
1611
+ /**
1612
+ * If the select should be read only.
1613
+ *
1614
+ * @default false
1615
+ */
1616
+ readOnly?: boolean;
1617
+ /**
1618
+ * If the select should throw an error.
1619
+ *
1620
+ * @default false
1621
+ */
1622
+ error?: boolean;
1623
+ /**
1624
+ * The items of the select.
1625
+ */
1626
+ items?: Props['options'];
1627
+ /**
1628
+ * Set a error message for the select.
1629
+ */
1630
+ errorMessage?: string | ((validation: ValidationResult) => string);
1631
+ /**
1632
+ * The placdeholder of the select when it is empty.
1633
+ */
1634
+ placeholder?: string;
1635
+ /**
1636
+ * Items that should be selected by default (uncontrolled).
1637
+ */
1638
+ defaultSelectedItems?: Props['defaultValue'];
1639
+ /**
1640
+ * Selected items (controlled):
1641
+ */
1642
+ selectedItems?: Props['value'];
1643
+ /**
1644
+ * Input text that should be set by default.
1645
+ */
1646
+ defaultValue?: Props['defaultInputValue'];
1647
+ /**
1648
+ * Handler that is called when the input changes.
1649
+ */
1650
+ onChange?: Props['onInputChange'];
1651
+ /**
1652
+ * Provides content to display when there are no items in the list.
1653
+ */
1654
+ emptyState?: (obj: {
1655
+ inputValue: string;
1656
+ }) => ReactNode;
1657
+ /**
1658
+ * Handler that is called when the selection changes.
1659
+ */
1660
+ onSelectionChange?: Props['onChange'];
1661
+ /** Focus the control when it is mounted */
1662
+ autoFocus?: Props['autoFocus'];
1663
+ /**
1664
+ * Override the built-in logic to detect whether an option is disabled
1665
+ * */
1666
+ isOptionDisabled?: Props['isOptionDisabled'];
1667
+ /**
1668
+ * Text to display when there are no options
1669
+ * */
1670
+ noOptionsMessage?: Props['noOptionsMessage'];
1671
+ /**
1672
+ * Handle blur events on the control
1673
+ */
1674
+ onBlur?: Props['onBlur'];
1675
+ /**
1676
+ * Handle focus events on the control
1677
+ */
1678
+ onFocus?: Props['onFocus'];
1679
+ /**
1680
+ * HTML ID of an element containing an error message related to the input*
1681
+ */
1682
+ 'aria-errormessage'?: Props['aria-errormessage'];
1683
+ /**
1684
+ * Indicate if the value entered in the field is invalid *
1685
+ */
1686
+ 'aria-invalid'?: Props['aria-invalid'];
1687
+ /**
1688
+ * Aria label (for assistive tech)
1689
+ */
1690
+ 'aria-label'?: Props['aria-label'];
1691
+ /**
1692
+ * HTML ID of an element that should be used as the label (for assistive tech)
1693
+ */
1694
+ 'aria-labelledby'?: Props['aria-labelledby'];
1695
+ /**
1696
+ * Used to set the priority with which screen reader should treat updates to live regions. The possible settings are: off, polite (default) or assertive
1697
+ */
1698
+ 'aria-live'?: Props['aria-live'];
1699
+ /**
1700
+ * Customise the messages used by the aria-live component
1701
+ */
1702
+ ariaLiveMessages?: Props['ariaLiveMessages'];
1703
+ }
1704
+ declare const Multiselect: ({
1705
+ disabled,
1706
+ readOnly,
1707
+ items,
1708
+ selectedItems,
1709
+ defaultSelectedItems,
1710
+ defaultValue,
1711
+ error,
1712
+ errorMessage,
1713
+ size,
1714
+ variant,
1715
+ placeholder,
1716
+ description,
1717
+ emptyState,
1718
+ onChange,
1719
+ onSelectionChange,
1720
+ width,
1721
+ ...rest
1722
+ }: MultipleSelectProps) => react_jsx_runtime4.JSX.Element;
1723
+ //#endregion
1724
+ //#region src/NumberField/NumberField.d.ts
1725
+ type RemovedProps$15 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'size';
1726
+ interface NumberFieldProps extends Omit<RAC.NumberFieldProps, RemovedProps$15>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1727
+ variant?: string;
1728
+ size?: string;
1729
+ /**
1730
+ * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
1731
+ * @default full
1732
+ */
1733
+ width?: WidthProp['width'];
1734
+ /**
1735
+ * If `true`, the input is disabled.
1736
+ * @default false
1737
+ */
1738
+ disabled?: RAC.NumberFieldProps['isDisabled'];
1739
+ /**
1740
+ * If `true`, the input is required.
1741
+ * @default false
1742
+ */
1743
+ required?: RAC.NumberFieldProps['isRequired'];
1744
+ /**
1745
+ * If `true`, the field is considered invalid and if set the errorMessage is shown instead of the `description`.
1746
+ * @default false
1747
+ */
1748
+ error?: RAC.NumberFieldProps['isInvalid'];
1749
+ /**
1750
+ * If `true`, the input is readOnly.
1751
+ * @default false
1752
+ */
1753
+ readOnly?: RAC.NumberFieldProps['isReadOnly'];
1754
+ /**
1755
+ * Property for hiding the step buttons of the field.
1756
+ * @default false
1757
+ */
1758
+ hideStepper?: boolean;
1759
+ /**
1760
+ * Placeholder text for the input field.
1761
+ * @default none
1762
+ */
1763
+ placeholder?: string;
1764
+ }
1765
+ declare const _NumberField: react6.ForwardRefExoticComponent<NumberFieldProps & react6.RefAttributes<HTMLInputElement>>;
1766
+ //#endregion
1767
+ //#region src/utils/useRenderProps.d.ts
1268
1768
  interface StyleRenderProps<T> {
1269
- /** 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. */
1270
- className?: string | ((values: T & {
1271
- defaultClassName: string | undefined;
1272
- }) => string);
1273
- /** 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. */
1274
- style?: CSSProperties | ((values: T & {
1275
- defaultStyle: CSSProperties;
1276
- }) => CSSProperties | undefined);
1769
+ /** The CSS [className](https://developer.mozilla.org/en-US/docs/Web/API/Element/className) for the element. A function may be provided to compute the class based on component state. */
1770
+ className?: string | ((values: T & {
1771
+ defaultClassName: string | undefined;
1772
+ }) => string);
1773
+ /** The inline [style](https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/style) for the element. A function may be provided to compute the style based on component state. */
1774
+ style?: CSSProperties | ((values: T & {
1775
+ defaultStyle: CSSProperties;
1776
+ }) => CSSProperties | undefined);
1277
1777
  }
1278
1778
  interface RenderProps<T> extends StyleRenderProps<T> {
1279
- /** The children of the component. A function may be provided to alter the children based on component state. */
1280
- children?: ReactNode | ((values: T & {
1281
- defaultChildren: ReactNode | undefined;
1282
- }) => ReactNode);
1779
+ /** The children of the component. A function may be provided to alter the children based on component state. */
1780
+ children?: ReactNode | ((values: T & {
1781
+ defaultChildren: ReactNode | undefined;
1782
+ }) => ReactNode);
1283
1783
  }
1284
-
1784
+ //#endregion
1785
+ //#region src/Overlay/useNonModal.d.ts
1285
1786
  interface AriaNonModalProps {
1286
- /**
1287
- * The ref for the non-modal element.
1288
- */
1289
- nonModalRef: RefObject<Element | null>;
1290
- /**
1291
- * Whether pressing the escape key closes the modal.
1292
- * @default true
1293
- */
1294
- keyboardDismissable?: boolean;
1295
- }
1296
-
1787
+ /**
1788
+ * The ref for the non-modal element.
1789
+ */
1790
+ nonModalRef: RefObject<Element | null>;
1791
+ /**
1792
+ * Whether pressing the escape key closes the modal.
1793
+ * @default true
1794
+ */
1795
+ keyboardDismissable?: boolean;
1796
+ }
1797
+ //#endregion
1798
+ //#region src/Overlay/NonModal.d.ts
1297
1799
  interface NonModalRenderProps {
1298
- /**
1299
- * Whether the popover is currently entering. Use this to apply animations.
1300
- * @selector [data-entering]
1301
- */
1302
- isEntering: boolean;
1303
- /**
1304
- * Whether the popover is currently exiting. Use this to apply animations.
1305
- * @selector [data-exiting]
1306
- */
1307
- isExiting: boolean;
1308
- /**
1309
- * State of the non-modal.
1310
- */
1311
- state: OverlayTriggerState;
1312
- }
1313
- interface NonModalInnerProps extends AriaNonModalProps, AriaLabelingProps$1, SlotProps, RenderProps<NonModalRenderProps> {
1314
- state: OverlayTriggerState;
1315
- isEntering?: boolean;
1316
- isExiting: boolean;
1317
- }
1318
- interface NonModalProps extends Omit<OverlayTriggerProps, 'isOpen'>, AriaLabelingProps$1, SlotProps, Pick<NonModalInnerProps, 'style' | 'className' | 'children'> {
1319
- /**
1320
- * Whether the overlay is open by default (controlled).
1321
- * @default undefined
1322
- */
1323
- open?: boolean;
1324
- /**
1325
- * Whether pressing the escape key closes the modal.
1326
- * @default true
1327
- */
1328
- keyboardDismissable?: boolean;
1329
- /**
1330
- * Whether the popover is currently performing an entry animation.
1331
- * @default undefined
1332
- */
1333
- isEntering?: boolean;
1334
- /**
1335
- * Whether the popover is currently performing an exit animation.
1336
- * @default undefined
1337
- */
1338
- isExiting?: boolean;
1339
- /**
1340
- * Ref to the overlay element.
1341
- * @default undefined
1342
- */
1343
- ref?: RefObject<HTMLElement | null>;
1344
- }
1345
- declare const NonModal: react.ForwardRefExoticComponent<Omit<NonModalProps, "ref"> & react.RefAttributes<HTMLElement>>;
1346
-
1800
+ /**
1801
+ * Whether the popover is currently entering. Use this to apply animations.
1802
+ * @selector [data-entering]
1803
+ */
1804
+ isEntering: boolean;
1805
+ /**
1806
+ * Whether the popover is currently exiting. Use this to apply animations.
1807
+ * @selector [data-exiting]
1808
+ */
1809
+ isExiting: boolean;
1810
+ /**
1811
+ * State of the non-modal.
1812
+ */
1813
+ state: OverlayTriggerState;
1814
+ }
1815
+ interface NonModalInnerProps extends AriaNonModalProps, AriaLabelingProps, SlotProps, RenderProps<NonModalRenderProps> {
1816
+ state: OverlayTriggerState;
1817
+ isEntering?: boolean;
1818
+ isExiting: boolean;
1819
+ }
1820
+ interface NonModalProps extends Omit<OverlayTriggerProps, 'isOpen'>, AriaLabelingProps, SlotProps, Pick<NonModalInnerProps, 'style' | 'className' | 'children'> {
1821
+ /**
1822
+ * Whether the overlay is open by default (controlled).
1823
+ * @default undefined
1824
+ */
1825
+ open?: boolean;
1826
+ /**
1827
+ * Whether pressing the escape key closes the modal.
1828
+ * @default true
1829
+ */
1830
+ keyboardDismissable?: boolean;
1831
+ /**
1832
+ * Whether the popover is currently performing an entry animation.
1833
+ * @default undefined
1834
+ */
1835
+ isEntering?: boolean;
1836
+ /**
1837
+ * Whether the popover is currently performing an exit animation.
1838
+ * @default undefined
1839
+ */
1840
+ isExiting?: boolean;
1841
+ /**
1842
+ * Ref to the overlay element.
1843
+ * @default undefined
1844
+ */
1845
+ ref?: RefObject<HTMLElement | null>;
1846
+ }
1847
+ declare const NonModal: react6.ForwardRefExoticComponent<Omit<NonModalProps, "ref"> & react6.RefAttributes<HTMLElement>>;
1848
+ //#endregion
1849
+ //#region src/Overlay/Underlay.d.ts
1347
1850
  interface UnderlayProps extends Omit<RAC.ModalOverlayProps, 'isOpen' | 'isDismissable' | 'isKeyboardDismissDisabled' | 'className'> {
1348
- variant?: string;
1349
- size?: string;
1350
- open?: boolean;
1351
- dismissable?: boolean;
1352
- keyboardDismissable?: boolean;
1353
- }
1354
- declare const Underlay: ({ size, variant, open, dismissable, keyboardDismissable, ...rest }: UnderlayProps) => react_jsx_runtime.JSX.Element;
1355
-
1851
+ variant?: string;
1852
+ size?: string;
1853
+ open?: boolean;
1854
+ dismissable?: boolean;
1855
+ keyboardDismissable?: boolean;
1856
+ }
1857
+ declare const Underlay: ({
1858
+ size,
1859
+ variant,
1860
+ open,
1861
+ dismissable,
1862
+ keyboardDismissable,
1863
+ ...rest
1864
+ }: UnderlayProps) => react_jsx_runtime4.JSX.Element;
1865
+ //#endregion
1866
+ //#region src/Pagination/Pagination.d.ts
1356
1867
  interface PaginationProps {
1357
- /**
1358
- * The initial page. (uncontrolled)
1359
- */
1360
- defaultPage?: number;
1361
- /**
1362
- * The current page. (controlled)
1363
- */
1364
- page?: number;
1365
- /**
1366
- * The number of total items.
1367
- */
1368
- totalItems: number;
1369
- /**
1370
- * The number of items per page.
1371
- */
1372
- pageSize: number;
1373
- /**
1374
- * Handler that is called when the pagination active page changes.
1375
- */
1376
- onChange?: (page: number) => void;
1377
- /**
1378
- * Labels for the pagination controls (Previous and Next button).
1379
- */
1380
- controlLabels?: [string, string];
1381
- }
1382
- declare const _Pagination: ({ defaultPage, page, totalItems, pageSize, ...props }: PaginationProps) => react_jsx_runtime.JSX.Element;
1383
-
1868
+ /**
1869
+ * The initial page. (uncontrolled)
1870
+ */
1871
+ defaultPage?: number;
1872
+ /**
1873
+ * The current page. (controlled)
1874
+ */
1875
+ page?: number;
1876
+ /**
1877
+ * The number of total items.
1878
+ */
1879
+ totalItems: number;
1880
+ /**
1881
+ * The number of items per page.
1882
+ */
1883
+ pageSize: number;
1884
+ /**
1885
+ * Handler that is called when the pagination active page changes.
1886
+ */
1887
+ onChange?: (page: number) => void;
1888
+ /**
1889
+ * Labels for the pagination controls (Previous and Next button).
1890
+ */
1891
+ controlLabels?: [string, string];
1892
+ }
1893
+ declare const _Pagination: ({
1894
+ defaultPage,
1895
+ page,
1896
+ totalItems,
1897
+ pageSize,
1898
+ ...props
1899
+ }: PaginationProps) => react_jsx_runtime4.JSX.Element;
1900
+ //#endregion
1901
+ //#region src/ProgressCycle/ProgressCycle.d.ts
1902
+ interface ProgressCycleProps extends RAC.ProgressBarProps {
1903
+ /**
1904
+ * Defines the height and width of the component
1905
+ * @default 16
1906
+ */
1907
+ size?: string;
1908
+ }
1909
+ declare const ProgressCycle: ({
1910
+ size,
1911
+ ...props
1912
+ }: ProgressCycleProps) => react_jsx_runtime4.JSX.Element;
1913
+ //#endregion
1914
+ //#region src/Provider/MarigoldProvider.d.ts
1384
1915
  type MarigoldProviderProps<T extends Theme> = ThemeProviderProps<T>;
1385
- declare function MarigoldProvider<T extends Theme>({ children, className, theme, }: MarigoldProviderProps<T>): react_jsx_runtime.JSX.Element;
1386
-
1916
+ declare function MarigoldProvider<T extends Theme>({
1917
+ children,
1918
+ className,
1919
+ theme
1920
+ }: MarigoldProviderProps<T>): react_jsx_runtime4.JSX.Element;
1921
+ //#endregion
1922
+ //#region src/Provider/OverlayContainerProvider.d.ts
1387
1923
  interface OverlayContainerProps extends PropsWithChildren {
1388
- /**
1389
- * The id of the container element where the overlay should be rendered.
1390
- * If not provided, the overlay will be rendered in the body.
1391
- *
1392
- * Note that the container must be present in the DOM before the overlay is rendered.
1393
- */
1394
- container?: string;
1395
- }
1396
- declare const OverlayContainerProvider: ({ container, children, }: OverlayContainerProps) => react_jsx_runtime.JSX.Element;
1397
-
1398
- type RemovedProps$f = 'className' | 'style' | 'isDisabled' | 'isInvalid' | 'isRequired' | 'isSelected';
1399
- interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$f> {
1400
- variant?: string;
1401
- size?: string;
1402
- /**
1403
- * Set the label of the radio group.
1404
- * @default none
1405
- */
1406
- label?: ReactNode;
1407
- /**
1408
- * Set the radio group help text.
1409
- * @default none
1410
- */
1411
- description?: string;
1412
- /**
1413
- * Set the radio group error message if an error occurs.
1414
- * @default none
1415
- */
1416
- errorMessage?: string;
1417
- /**
1418
- * The children elements of the radio group.
1419
- */
1420
- children?: ReactNode[];
1421
- /**
1422
- * Control the width of the field.
1423
- * @default 100%
1424
- */
1425
- width?: WidthProp['width'];
1426
- /**
1427
- * If `true`, the radio group is considered invalid and if set the `errorMessage` is shown.
1428
- * @default false
1429
- */
1430
- error?: RAC.RadioGroupProps['isInvalid'];
1431
- /**
1432
- * If `true`, the radio group is required.
1433
- * @default false
1434
- */
1435
- required?: RAC.RadioGroupProps['isRequired'];
1436
- /**
1437
- * If `true`, the radio group is disabled.
1438
- * @default false
1439
- */
1440
- disabled?: RAC.RadioGroupProps['isDisabled'];
1441
- /**
1442
- * Set the radio group as read-only.
1443
- * @default false
1444
- */
1445
- readOnly?: boolean;
1446
- /**
1447
- * The selected value of the radio group.
1448
- */
1449
- value?: string;
1450
- /**
1451
- * Set the radio group direction.
1452
- * @default vertical
1453
- */
1454
- orientation?: 'horizontal' | 'vertical';
1455
- /**
1456
- * The number of items to display before collapsing the rest.
1457
- * Items beyond this number will be hidden until the user clicks
1458
- * the "Show more" control.
1459
- *
1460
- * @default undefined
1461
- */
1462
- collapseAt?: number;
1463
- }
1464
- declare const _RadioGroup: ({ variant, size, label, error, disabled, required, readOnly, description, errorMessage, orientation, children, width, collapseAt, ...rest }: RadioGroupProps) => react_jsx_runtime.JSX.Element;
1465
-
1466
- type RemovedProps$e = 'className' | 'style' | 'children' | 'isDisabled';
1467
- interface RadioProps extends Omit<RAC.RadioProps, RemovedProps$e> {
1468
- variant?: string;
1469
- size?: string;
1470
- /**
1471
- * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
1472
- * @default full
1473
- */
1474
- width?: string;
1475
- children?: ReactNode;
1476
- /**
1477
- * Set the radio disabled.
1478
- * @default false
1479
- */
1480
- disabled?: RAC.RadioProps['isDisabled'];
1924
+ /**
1925
+ * The id of the container element where the overlay should be rendered.
1926
+ * If not provided, the overlay will be rendered in the body.
1927
+ *
1928
+ * Note that the container must be present in the DOM before the overlay is rendered.
1929
+ */
1930
+ container?: string;
1931
+ }
1932
+ declare const OverlayContainerProvider: ({
1933
+ container,
1934
+ children
1935
+ }: OverlayContainerProps) => react_jsx_runtime4.JSX.Element;
1936
+ //#endregion
1937
+ //#region src/Radio/RadioGroup.d.ts
1938
+ type RemovedProps$14 = 'className' | 'style' | 'isDisabled' | 'isInvalid' | 'isRequired' | 'isSelected';
1939
+ interface RadioGroupProps extends Omit<RAC.RadioGroupProps, RemovedProps$14> {
1940
+ variant?: string;
1941
+ size?: string;
1942
+ /**
1943
+ * Set the label of the radio group.
1944
+ * @default none
1945
+ */
1946
+ label?: ReactNode;
1947
+ /**
1948
+ * Set the radio group help text.
1949
+ * @default none
1950
+ */
1951
+ description?: string;
1952
+ /**
1953
+ * Set the radio group error message if an error occurs.
1954
+ * @default none
1955
+ */
1956
+ errorMessage?: string;
1957
+ /**
1958
+ * The children elements of the radio group.
1959
+ */
1960
+ children?: ReactNode[];
1961
+ /**
1962
+ * Control the width of the field.
1963
+ * @default 100%
1964
+ */
1965
+ width?: WidthProp['width'];
1966
+ /**
1967
+ * If `true`, the radio group is considered invalid and if set the `errorMessage` is shown.
1968
+ * @default false
1969
+ */
1970
+ error?: RAC.RadioGroupProps['isInvalid'];
1971
+ /**
1972
+ * If `true`, the radio group is required.
1973
+ * @default false
1974
+ */
1975
+ required?: RAC.RadioGroupProps['isRequired'];
1976
+ /**
1977
+ * If `true`, the radio group is disabled.
1978
+ * @default false
1979
+ */
1980
+ disabled?: RAC.RadioGroupProps['isDisabled'];
1981
+ /**
1982
+ * Set the radio group as read-only.
1983
+ * @default false
1984
+ */
1985
+ readOnly?: boolean;
1986
+ /**
1987
+ * The selected value of the radio group.
1988
+ */
1989
+ value?: string;
1990
+ /**
1991
+ * Set the radio group direction.
1992
+ * @default vertical
1993
+ */
1994
+ orientation?: 'horizontal' | 'vertical';
1995
+ /**
1996
+ * The number of items to display before collapsing the rest.
1997
+ * Items beyond this number will be hidden until the user clicks
1998
+ * the "Show more" control.
1999
+ *
2000
+ * @default undefined
2001
+ */
2002
+ collapseAt?: number;
2003
+ }
2004
+ declare const _RadioGroup: ({
2005
+ variant,
2006
+ size,
2007
+ label,
2008
+ error,
2009
+ disabled,
2010
+ required,
2011
+ readOnly,
2012
+ description,
2013
+ errorMessage,
2014
+ orientation,
2015
+ children,
2016
+ width,
2017
+ collapseAt,
2018
+ ...rest
2019
+ }: RadioGroupProps) => react_jsx_runtime4.JSX.Element;
2020
+ //#endregion
2021
+ //#region src/Radio/Radio.d.ts
2022
+ type RemovedProps$13 = 'className' | 'style' | 'children' | 'isDisabled';
2023
+ interface RadioProps extends Omit<RAC.RadioProps, RemovedProps$13> {
2024
+ variant?: string;
2025
+ size?: string;
2026
+ /**
2027
+ * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
2028
+ * @default full
2029
+ */
2030
+ width?: string;
2031
+ children?: ReactNode;
2032
+ /**
2033
+ * Set the radio disabled.
2034
+ * @default false
2035
+ */
2036
+ disabled?: RAC.RadioProps['isDisabled'];
1481
2037
  }
1482
2038
  declare const _Radio: RadioComponent;
1483
-
1484
2039
  /**
1485
2040
  * We need this so that TypeScripts allows us to add
1486
2041
  * additional properties to the component (function).
1487
2042
  */
1488
2043
  interface RadioComponent extends ForwardRefExoticComponent<RadioProps & RefAttributes<HTMLLabelElement>> {
1489
- Group: typeof _RadioGroup;
2044
+ Group: typeof _RadioGroup;
1490
2045
  }
1491
-
1492
- type RemovedProps$d = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
1493
- interface SearchFieldProps extends Omit<RAC.SearchFieldProps, RemovedProps$d>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1494
- /**
1495
- * Action element to display in the search field.
1496
- */
1497
- action?: ReactElement<any>;
1498
- variant?: string;
1499
- size?: string;
1500
- /**
1501
- * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
1502
- * @default full
1503
- */
1504
- width?: WidthProp['width'];
1505
- /**
1506
- * If `true`, the input is considered invalid and if set the `errorMessage` is shown instead of the `description`.
1507
- * @default false
1508
- */
1509
- error?: RAC.SearchFieldProps['isInvalid'];
1510
- /**
1511
- * If `true`, the input is disabled.
1512
- * @default false
1513
- */
1514
- disabled?: RAC.SearchFieldProps['isDisabled'];
1515
- /**
1516
- * If `true`, the input is required.
1517
- * @default false
1518
- */
1519
- required?: RAC.SearchFieldProps['isRequired'];
1520
- /**
1521
- * If `true`, the input is readOnly.
1522
- * @default false
1523
- */
1524
- readOnly?: RAC.SearchFieldProps['isReadOnly'];
1525
- /**
1526
- * The current value of the input field.
1527
- * @default none
1528
- */
1529
- value?: string;
1530
- /**
1531
- * The default value of the input field.
1532
- * @default none
1533
- */
1534
- defaultValue?: string;
1535
- /**
1536
- * Placeholder text for the input field.
1537
- * @default none
1538
- */
1539
- placeholder?: string;
1540
- }
1541
- declare const _SearchField: react.ForwardRefExoticComponent<SearchFieldProps & react.RefAttributes<HTMLInputElement>>;
1542
-
1543
- type RemoveProps$1 = 'children' | 'isInvalid' | 'isDisabled' | 'isOpen' | 'isRequired' | 'style' | 'className' | 'onSelectionChange';
1544
- interface SelectProps<T extends object> extends Omit<RAC.SelectProps<T>, RemoveProps$1> {
1545
- /**
1546
- * Set a label for the select.
1547
- */
1548
- label?: ReactNode;
1549
- /**
1550
- * Set a description for the select.
1551
- */
1552
- description?: string;
1553
- /**
1554
- * Set a error message for the select.
1555
- */
1556
- errorMessage?: string | ((validation: ValidationResult) => string);
1557
- /**
1558
- * Items of the select.
1559
- */
1560
- items?: Iterable<T>;
1561
- /**
1562
- * Children of the select.
1563
- */
1564
- children: React.ReactNode | ((item: T) => React.ReactNode);
1565
- /**
1566
- * sets the variant of the select.
1567
- */
1568
- variant?: string;
1569
- /**
1570
- * Sets the size of the select.
1571
- */
1572
- size?: string;
1573
- /**
1574
- * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
1575
- */
1576
- width?: WidthProp['width'];
1577
- /**
1578
- * If the select should be required.
1579
- *
1580
- * @default false
1581
- */
1582
- required?: boolean;
1583
- /**
1584
- * If the select should be disabled.
1585
- *
1586
- * @default false
1587
- */
1588
- disabled?: boolean;
1589
- /**
1590
- * If the select list should be open.
1591
- *
1592
- * @default false
1593
- */
1594
- open?: boolean;
1595
- /**
1596
- * If the select should throw an error.
1597
- *
1598
- * @default false
1599
- */
1600
- error?: boolean;
1601
- /**
1602
- * Handler that is called when the selection changes.
1603
- */
1604
- onChange?: ((key: RAC.Key) => void) | undefined;
1605
- }
1606
- interface SelectComponent extends ForwardRefExoticComponent<SelectProps<object> & RefAttributes<HTMLDivElement>> {
1607
- /**
1608
- * Options of the Select.
1609
- */
1610
- Option: typeof _ListBox.Item;
1611
- /**
1612
- * Section of the Select.
1613
- */
1614
- Section: typeof _ListBox.Section;
1615
- }
1616
- declare const _Select: SelectComponent;
1617
-
1618
- interface SelectListAction {
1619
- children: ReactNode;
2046
+ //#endregion
2047
+ //#region src/Scrollable/Scrollable.d.ts
2048
+ interface ScrollableProps extends WidthProp, AriaRegionProps {
2049
+ /**
2050
+ * Children of the layout.
2051
+ */
2052
+ children?: ReactNode;
2053
+ /**
2054
+ * Specifies the height of the scrollable container.
2055
+ */
2056
+ height?: string;
2057
+ }
2058
+ declare const Scrollable: ({
2059
+ children,
2060
+ width,
2061
+ height,
2062
+ ...props
2063
+ }: ScrollableProps) => react_jsx_runtime4.JSX.Element;
2064
+ //#endregion
2065
+ //#region src/SearchField/SearchField.d.ts
2066
+ type RemovedProps$12 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
2067
+ interface SearchFieldProps extends Omit<RAC.SearchFieldProps, RemovedProps$12>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
2068
+ /**
2069
+ * Action element to display in the search field.
2070
+ */
2071
+ action?: ReactElement<any>;
2072
+ variant?: string;
2073
+ size?: string;
2074
+ /**
2075
+ * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
2076
+ * @default full
2077
+ */
2078
+ width?: WidthProp['width'];
2079
+ /**
2080
+ * If `true`, the input is considered invalid and if set the `errorMessage` is shown instead of the `description`.
2081
+ * @default false
2082
+ */
2083
+ error?: RAC.SearchFieldProps['isInvalid'];
2084
+ /**
2085
+ * If `true`, the input is disabled.
2086
+ * @default false
2087
+ */
2088
+ disabled?: RAC.SearchFieldProps['isDisabled'];
2089
+ /**
2090
+ * If `true`, the input is required.
2091
+ * @default false
2092
+ */
2093
+ required?: RAC.SearchFieldProps['isRequired'];
2094
+ /**
2095
+ * If `true`, the input is readOnly.
2096
+ * @default false
2097
+ */
2098
+ readOnly?: RAC.SearchFieldProps['isReadOnly'];
2099
+ /**
2100
+ * The current value of the input field.
2101
+ * @default none
2102
+ */
2103
+ value?: string;
2104
+ /**
2105
+ * The default value of the input field.
2106
+ * @default none
2107
+ */
2108
+ defaultValue?: string;
2109
+ /**
2110
+ * Placeholder text for the input field.
2111
+ * @default none
2112
+ */
2113
+ placeholder?: string;
2114
+ }
2115
+ declare const _SearchField: react6.ForwardRefExoticComponent<SearchFieldProps & react6.RefAttributes<HTMLInputElement>>;
2116
+ //#endregion
2117
+ //#region src/SectionMessage/SectionMessageTitle.d.ts
2118
+ interface SectionMessageTitleProps {
2119
+ /**
2120
+ * The children of the component.
2121
+ */
2122
+ children?: ReactNode;
1620
2123
  }
1621
- declare const SelectListAction: ({ children }: SelectListAction) => react_jsx_runtime.JSX.Element;
1622
-
1623
- type RemovedProps$c = 'className' | 'style' | 'isDisabled';
1624
- interface SelectListItemProps extends Omit<RAC.GridListItemProps<object>, RemovedProps$c> {
1625
- children?: ReactNode;
1626
- /**
1627
- * Whether the item is disabled.
1628
- * @default false
1629
- */
1630
- disabled?: RAC.GridListItemProps<object>['isDisabled'];
1631
- }
1632
- declare const _SelectListItem: react.ForwardRefExoticComponent<SelectListItemProps & react.RefAttributes<HTMLDivElement>>;
1633
-
2124
+ //#endregion
2125
+ //#region src/SectionMessage/SectionMessageContent.d.ts
2126
+ interface SectionMessageContentProps {
2127
+ /**
2128
+ * The children of the component.
2129
+ */
2130
+ children?: ReactNode;
2131
+ }
2132
+ //#endregion
2133
+ //#region src/SectionMessage/SectionMessage.d.ts
2134
+ declare const icons: {
2135
+ readonly success: ({
2136
+ size,
2137
+ className,
2138
+ ...props
2139
+ }: IconProps) => react_jsx_runtime4.JSX.Element;
2140
+ readonly info: ({
2141
+ size,
2142
+ className,
2143
+ ...props
2144
+ }: IconProps) => react_jsx_runtime4.JSX.Element;
2145
+ readonly warning: ({
2146
+ size,
2147
+ className,
2148
+ ...props
2149
+ }: IconProps) => react_jsx_runtime4.JSX.Element;
2150
+ readonly error: ({
2151
+ size,
2152
+ className,
2153
+ ...props
2154
+ }: IconProps) => react_jsx_runtime4.JSX.Element;
2155
+ };
2156
+ interface SectionMessageProps {
2157
+ variant?: keyof typeof icons;
2158
+ size?: string;
2159
+ /**
2160
+ * The children of the component.
2161
+ */
2162
+ children?: ReactNode;
2163
+ /**
2164
+ * Adds a close button, makes the section message dismissable.
2165
+ */
2166
+ closeButton?: boolean;
2167
+ /**
2168
+ * Handler that is called when you need to control the dismissable message to close.
2169
+ */
2170
+ onCloseChange?: (close: boolean) => void;
2171
+ /**
2172
+ * If the message should be closed/dismissed (controlled).
2173
+ */
2174
+ close?: boolean;
2175
+ }
2176
+ declare const SectionMessage: {
2177
+ ({
2178
+ variant,
2179
+ size,
2180
+ children,
2181
+ closeButton,
2182
+ close,
2183
+ onCloseChange,
2184
+ ...props
2185
+ }: SectionMessageProps): react_jsx_runtime4.JSX.Element | null;
2186
+ Title: ({
2187
+ children
2188
+ }: SectionMessageTitleProps) => react_jsx_runtime4.JSX.Element;
2189
+ Content: ({
2190
+ children
2191
+ }: SectionMessageContentProps) => react_jsx_runtime4.JSX.Element;
2192
+ };
2193
+ //#endregion
2194
+ //#region src/Select/Select.d.ts
2195
+ type SelectionMode = 'single' | 'multiple';
2196
+ type RemovedProps$11 = 'children' | 'isInvalid' | 'isDisabled' | 'isOpen' | 'isRequired' | 'style' | 'className';
2197
+ interface SelectProps<T extends object, M extends SelectionMode = 'single'> extends Omit<RAC.SelectProps<T, M>, RemovedProps$11>, WidthProp {
2198
+ variant?: string;
2199
+ size?: string;
2200
+ /**
2201
+ * Children of the select.
2202
+ */
2203
+ children?: React.ReactNode | ((item: T) => React.ReactNode);
2204
+ /**
2205
+ * Set a label for the select.
2206
+ */
2207
+ label?: ReactNode;
2208
+ /**
2209
+ * Set a description for the select.
2210
+ */
2211
+ description?: string;
2212
+ /**
2213
+ * Set a error message for the select.
2214
+ */
2215
+ errorMessage?: string | ((validation: RAC.ValidationResult) => string);
2216
+ /**
2217
+ * Items of the select.
2218
+ */
2219
+ items?: Iterable<T>;
2220
+ /**
2221
+ * If the select should be required.
2222
+ *
2223
+ * @default false
2224
+ */
2225
+ required?: boolean;
2226
+ /**
2227
+ * If the select should be disabled.
2228
+ *
2229
+ * @default false
2230
+ */
2231
+ disabled?: boolean;
2232
+ /**
2233
+ * If the select list should be open.
2234
+ *
2235
+ * @default false
2236
+ */
2237
+ open?: boolean;
2238
+ /**
2239
+ * If the select should throw an error.
2240
+ *
2241
+ * @default false
2242
+ */
2243
+ error?: boolean;
2244
+ }
2245
+ declare const Select: (<T extends object, M extends SelectionMode = "single">(props: SelectProps<T, M> & react6.RefAttributes<HTMLButtonElement>) => react6.ReactElement | null) & {
2246
+ Option: ({
2247
+ ...props
2248
+ }: ListBoxItemProps) => react_jsx_runtime4.JSX.Element;
2249
+ Section: ({
2250
+ header,
2251
+ children,
2252
+ ...props
2253
+ }: SectionProps) => react_jsx_runtime4.JSX.Element;
2254
+ };
2255
+ //#endregion
2256
+ //#region src/SelectList/SelectListAction.d.ts
2257
+ interface SelectListAction {
2258
+ children: ReactNode;
2259
+ }
2260
+ declare const SelectListAction: ({
2261
+ children
2262
+ }: SelectListAction) => react_jsx_runtime4.JSX.Element;
2263
+ //#endregion
2264
+ //#region src/SelectList/SelectListItem.d.ts
2265
+ type RemovedProps$10 = 'className' | 'style' | 'isDisabled';
2266
+ interface SelectListItemProps extends Omit<RAC.GridListItemProps<object>, RemovedProps$10> {
2267
+ children?: ReactNode;
2268
+ /**
2269
+ * Whether the item is disabled.
2270
+ * @default false
2271
+ */
2272
+ disabled?: RAC.GridListItemProps<object>['isDisabled'];
2273
+ }
2274
+ declare const _SelectListItem: react6.ForwardRefExoticComponent<SelectListItemProps & react6.RefAttributes<HTMLDivElement>>;
2275
+ //#endregion
2276
+ //#region src/SelectList/SelectList.d.ts
1634
2277
  type RemoveProps = 'style' | 'className' | 'onSelectionChange';
1635
2278
  interface SelectListProps extends Omit<RAC.GridListProps<object>, RemoveProps> {
1636
- /**
1637
- * Handler that is called when the selection change.
1638
- */
1639
- onChange?: RAC.GridListProps<object>['onSelectionChange'] | Dispatch<SetStateAction<any>>;
2279
+ /**
2280
+ * Handler that is called when the selection change.
2281
+ */
2282
+ onChange?: RAC.GridListProps<object>['onSelectionChange'] | Dispatch<SetStateAction<any>>;
1640
2283
  }
1641
2284
  interface SelectListComponent extends ForwardRefExoticComponent<SelectListProps & RefAttributes<HTMLUListElement>> {
1642
- /**
1643
- * Items of the SelectList.
1644
- */
1645
- Item: typeof _SelectListItem;
1646
- Action: typeof SelectListAction;
2285
+ /**
2286
+ * Items of the SelectList.
2287
+ */
2288
+ Item: typeof _SelectListItem;
2289
+ Action: typeof SelectListAction;
1647
2290
  }
1648
2291
  declare const _SelectList: SelectListComponent;
1649
-
1650
- interface ScrollableProps extends WidthProp, AriaRegionProps {
1651
- /**
1652
- * Children of the layout.
1653
- */
1654
- children?: ReactNode;
1655
- /**
1656
- * Specifies the height of the scrollable container.
1657
- */
1658
- height?: string;
1659
- }
1660
- declare const Scrollable: ({ children, width, height, ...props }: ScrollableProps) => react_jsx_runtime.JSX.Element;
1661
-
2292
+ //#endregion
2293
+ //#region src/Slider/Slider.d.ts
1662
2294
  interface SliderProps<T> extends Omit<RAC.SliderProps<T>, 'children' | 'isDisabled' | 'orientation'>, Pick<FieldBaseProps<'label'>, 'description'> {
1663
- variant?: string;
1664
- size?: string;
1665
- /**
1666
- * The `name` attribute for the slider input(s), used for form submission.
1667
- * - For single-thumb sliders, provide a string.
1668
- * - For range sliders (two thumbs), provide a tuple of two strings, one for each thumb.
1669
- */
1670
- name?: string | [string, string];
1671
- /**
1672
- * Aria labels for the thumbs in the slider.
1673
- */
1674
- thumbLabels?: string | [string, string];
1675
- /**
1676
- * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
1677
- * @default full
1678
- */
1679
- width?: WidthProp['width'];
1680
- /**
1681
- * If `true`, the input is disabled.
1682
- * @default false
1683
- */
1684
- disabled?: boolean;
1685
- /**
1686
- * Set the label of the slider.
1687
- */
1688
- label?: ReactNode;
1689
- }
1690
- declare const _Slider: react.ForwardRefExoticComponent<SliderProps<number | number[]> & react.RefAttributes<HTMLDivElement>>;
1691
-
1692
- declare const Split: () => react_jsx_runtime.JSX.Element;
1693
-
2295
+ variant?: string;
2296
+ size?: string;
2297
+ /**
2298
+ * The `name` attribute for the slider input(s), used for form submission.
2299
+ * - For single-thumb sliders, provide a string.
2300
+ * - For range sliders (two thumbs), provide a tuple of two strings, one for each thumb.
2301
+ */
2302
+ name?: string | [string, string];
2303
+ /**
2304
+ * Aria labels for the thumbs in the slider.
2305
+ */
2306
+ thumbLabels?: string | [string, string];
2307
+ /**
2308
+ * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
2309
+ * @default full
2310
+ */
2311
+ width?: WidthProp['width'];
2312
+ /**
2313
+ * If `true`, the input is disabled.
2314
+ * @default false
2315
+ */
2316
+ disabled?: boolean;
2317
+ /**
2318
+ * Set the label of the slider.
2319
+ */
2320
+ label?: ReactNode;
2321
+ }
2322
+ declare const _Slider: react6.ForwardRefExoticComponent<SliderProps<number | number[]> & react6.RefAttributes<HTMLDivElement>>;
2323
+ //#endregion
2324
+ //#region src/Split/Split.d.ts
2325
+ declare const Split: () => react_jsx_runtime4.JSX.Element;
2326
+ //#endregion
2327
+ //#region src/Stack/Stack.d.ts
1694
2328
  interface StackProps extends GapSpaceProp, AriaRegionProps {
1695
- /**
1696
- * Children of the component.
1697
- */
1698
- children?: ReactNode;
1699
- /**
1700
- * Stretch to fill space (vertical AND horizontal, useful if you want to change y alignment).
1701
- * @default false
1702
- */
1703
- stretch?: boolean;
1704
- /**
1705
- * Horizontal alignment for the children.
1706
- */
1707
- alignX?: keyof typeof alignment.vertical.alignmentX;
1708
- /**
1709
- * Vertical alignment for the children.
1710
- */
1711
- alignY?: keyof typeof alignment.vertical.alignmentY;
1712
- /**
1713
- * Prop to make the stack rendered as a list element.
1714
- * Useful for screen readers and accessibility.
1715
- * @default false
1716
- */
1717
- asList?: boolean;
1718
- }
1719
- declare const Stack: ({ children, space, stretch, alignX, alignY, asList, ...props }: StackProps) => react_jsx_runtime.JSX.Element;
1720
-
1721
- type RemovedProps$b = 'children' | 'className' | 'isDisabled' | 'isReadOnly' | 'isSelected' | 'children' | 'slot';
1722
- interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$b> {
1723
- variant?: string;
1724
- size?: string;
1725
- /**
1726
- * Set the label of the switch.
1727
- */
1728
- label?: ReactNode;
1729
- /**
1730
- * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
1731
- * @default full
1732
- */
1733
- width?: WidthProp['width'];
1734
- /**
1735
- * Disables the switch.
1736
- * @default false
1737
- */
1738
- disabled?: RAC.SwitchProps['isDisabled'];
1739
- /**
1740
- * Set the switch to read-only.
1741
- * @default false
1742
- */
1743
- readOnly?: RAC.SwitchProps['isReadOnly'];
1744
- /**
1745
- * With this prop you can set the switch selected.
1746
- * @default false
1747
- */
1748
- selected?: RAC.SwitchProps['isSelected'];
1749
- }
1750
- declare const _Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<HTMLLabelElement>>;
1751
-
2329
+ /**
2330
+ * Children of the component.
2331
+ */
2332
+ children?: ReactNode;
2333
+ /**
2334
+ * Stretch to fill space (vertical AND horizontal, useful if you want to change y alignment).
2335
+ * @default false
2336
+ */
2337
+ stretch?: boolean;
2338
+ /**
2339
+ * Horizontal alignment for the children.
2340
+ */
2341
+ alignX?: keyof typeof alignment.vertical.alignmentX;
2342
+ /**
2343
+ * Vertical alignment for the children.
2344
+ */
2345
+ alignY?: keyof typeof alignment.vertical.alignmentY;
2346
+ /**
2347
+ * Prop to make the stack rendered as a list element.
2348
+ * Useful for screen readers and accessibility.
2349
+ * @default false
2350
+ */
2351
+ asList?: boolean;
2352
+ }
2353
+ declare const Stack: ({
2354
+ children,
2355
+ space,
2356
+ stretch,
2357
+ alignX,
2358
+ alignY,
2359
+ asList,
2360
+ ...props
2361
+ }: StackProps) => react_jsx_runtime4.JSX.Element;
2362
+ //#endregion
2363
+ //#region src/Switch/Switch.d.ts
2364
+ type RemovedProps$9 = 'children' | 'className' | 'isDisabled' | 'isReadOnly' | 'isSelected' | 'children' | 'slot';
2365
+ interface SwitchProps extends Omit<RAC.SwitchProps, RemovedProps$9> {
2366
+ variant?: string;
2367
+ size?: string;
2368
+ /**
2369
+ * Set the label of the switch.
2370
+ */
2371
+ label?: ReactNode;
2372
+ /**
2373
+ * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
2374
+ * @default full
2375
+ */
2376
+ width?: WidthProp['width'];
2377
+ /**
2378
+ * Disables the switch.
2379
+ * @default false
2380
+ */
2381
+ disabled?: RAC.SwitchProps['isDisabled'];
2382
+ /**
2383
+ * Set the switch to read-only.
2384
+ * @default false
2385
+ */
2386
+ readOnly?: RAC.SwitchProps['isReadOnly'];
2387
+ /**
2388
+ * With this prop you can set the switch selected.
2389
+ * @default false
2390
+ */
2391
+ selected?: RAC.SwitchProps['isSelected'];
2392
+ }
2393
+ declare const _Switch: react6.ForwardRefExoticComponent<SwitchProps & react6.RefAttributes<HTMLLabelElement>>;
2394
+ //#endregion
2395
+ //#region src/Table/Table.d.ts
1752
2396
  interface TableProps extends Pick<AriaTableProps, 'focusMode' | 'onRowAction' | 'onCellAction'>, Omit<TableStateProps<object>, 'showSelectionCheckboxes' | 'showDragButtons' | 'allowDuplicateSelectionEvents'> {
1753
- variant?: 'grid' | 'default' | 'muted' | (string & {});
1754
- size?: string;
1755
- /**
1756
- * Stretch table to fill the container.
1757
- * @default false
1758
- */
1759
- stretch?: boolean;
1760
- /**
1761
- * Make the column sticky to the top of the table.
1762
- * @default true
1763
- */
1764
- stickyHeader?: boolean;
1765
- /**
1766
- * Disable keyboard navigation. Use if you have input fields in your table. Be aware that this is bad for accessibility.
1767
- * @default false
1768
- */
1769
- disableKeyboardNavigation?: boolean;
1770
- /**
1771
- * Content to display when there are no rows in the table.
1772
- */
1773
- emptyState?: () => ReactNode;
1774
- /**
1775
- * Control the vertical alignment of table content.
1776
- * @default middle
1777
- */
1778
- alignY?: Exclude<JSX.IntrinsicElements['td']['valign'], 'baseline' | 'sub' | 'super' | 'bottom'>;
1779
- }
1780
- interface RowProps extends RowProps$1<any> {
1781
- variant?: 'default' | 'grid' | 'admin' | 'master' | (string & {});
1782
- size?: string;
1783
- }
1784
- interface ColumnProps extends Omit<ColumnProps$1<any>, 'width'>, WidthProp {
1785
- /**
1786
- * Control the alignment of Column.
1787
- * @default left
1788
- */
1789
- align?: Exclude<JSX.IntrinsicElements['td']['align'], 'char'>;
2397
+ variant?: 'grid' | 'default' | 'muted' | (string & {});
2398
+ size?: string;
2399
+ /**
2400
+ * Stretch table to fill the container.
2401
+ * @default false
2402
+ */
2403
+ stretch?: boolean;
2404
+ /**
2405
+ * Make the column sticky to the top of the table.
2406
+ * @default true
2407
+ */
2408
+ stickyHeader?: boolean;
2409
+ /**
2410
+ * Disable keyboard navigation. Use if you have input fields in your table. Be aware that this is bad for accessibility.
2411
+ * @default false
2412
+ */
2413
+ disableKeyboardNavigation?: boolean;
2414
+ /**
2415
+ * Content to display when there are no rows in the table.
2416
+ */
2417
+ emptyState?: () => ReactNode;
2418
+ /**
2419
+ * Control the vertical alignment of table content.
2420
+ * @default middle
2421
+ */
2422
+ alignY?: Exclude<JSX.IntrinsicElements['td']['valign'], 'baseline' | 'sub' | 'super' | 'bottom'>;
1790
2423
  }
1791
2424
  declare const Table: Table;
2425
+ interface RowProps$1 extends RowProps<any> {
2426
+ variant?: 'default' | 'grid' | 'admin' | 'master' | (string & {});
2427
+ size?: string;
2428
+ }
2429
+ interface ColumnProps$1 extends Omit<ColumnProps<any>, 'width'>, WidthProp {
2430
+ /**
2431
+ * Control the alignment of Column.
2432
+ * @default left
2433
+ */
2434
+ align?: Exclude<JSX.IntrinsicElements['td']['align'], 'char'>;
2435
+ }
1792
2436
  /**
1793
2437
  * Necessary since TypeScript can not infer the
1794
2438
  * types of the @react-stately components.
1795
2439
  */
1796
2440
  interface Table {
1797
- (props: TableProps): JSX.Element;
1798
- Body: typeof TableBody;
1799
- Cell: typeof Cell;
1800
- Header: typeof TableHeader;
1801
- Column: (props: ColumnProps) => JSX.Element;
1802
- Row: (props: RowProps) => JSX.Element;
1803
- }
1804
-
1805
- type RemovedProps$a = 'elementType' | keyof JSX.IntrinsicElements['div'] | keyof JSX.IntrinsicElements['span'] | keyof JSX.IntrinsicElements['p'];
1806
- interface TextProps extends AriaLabelingProps, Omit<RAC.TextProps, RemovedProps$a>, TextAlignProp, FontSizeProp, FontWeightProp, FontStyleProp, CursorProp, TextWrapProp {
1807
- /**
1808
- * The children of the component
1809
- */
1810
- children?: React.ReactNode;
1811
- /**
1812
- * Set the text color.
1813
- * @default currentColor
1814
- */
1815
- color?: string;
1816
- /**
1817
- * Element to render
1818
- * @default "div"
1819
- */
1820
- as?: 'div' | 'p' | 'span';
1821
- /**
1822
- * A slot name for the component. Slots allow the component to receive props from a parent component.
1823
- */
1824
- slot?: string;
1825
- variant?: 'default' | 'muted' | (string & {});
1826
- size?: 'default' | 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl' | '9xl' | (string & {});
1827
- }
1828
- declare const _Text: ({ variant, size, color, align, cursor, weight, fontSize, fontStyle, wrap, children, as, ...props }: TextProps) => react_jsx_runtime.JSX.Element;
1829
-
1830
- type RemovedProps$9 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
1831
- interface TextAreaProps extends Omit<RAC.TextFieldProps, RemovedProps$9>, Pick<RAC.TextAreaProps, 'rows'>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1832
- variant?: string;
1833
- size?: string;
1834
- /**
1835
- * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
1836
- * @default full
1837
- */
1838
- width?: WidthProp['width'];
1839
- /**
1840
- * If `true`, the textarea is disabled.
1841
- * @default false
1842
- */
1843
- disabled?: RAC.TextFieldProps['isDisabled'];
1844
- /**
1845
- * If `true`, the textarea is required.
1846
- * @default false
1847
- */
1848
- required?: RAC.TextFieldProps['isRequired'];
1849
- /**
1850
- * If `true`, the field is considered invalid and if set the `errorMessage` is shown instead of the `description`.
1851
- * @default false
1852
- */
1853
- error?: RAC.TextFieldProps['isInvalid'];
1854
- /**
1855
- * If `true`, the textarea is read-only.
1856
- * @default false
1857
- */
1858
- readOnly?: RAC.TextFieldProps['isReadOnly'];
1859
- /**
1860
- * The value of the textarea.
1861
- * @default none
1862
- */
1863
- value?: string;
1864
- /**
1865
- * The default value of the textarea.
1866
- * @default none
1867
- */
1868
- defaultValue?: string;
1869
- /**
1870
- * Placeholder text for the textarea.
1871
- * @default none
1872
- */
1873
- placeholder?: string;
1874
- /**
1875
- * Sets the number of rows in the textarea.
1876
- * @default none
1877
- */
1878
- rows?: number;
1879
- }
1880
- declare const _TextArea: react.ForwardRefExoticComponent<TextAreaProps & react.RefAttributes<HTMLTextAreaElement>>;
1881
-
1882
- type RemovedProps$8 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue' | 'slot';
1883
- interface TextFieldProps extends Omit<RAC.TextFieldProps, RemovedProps$8>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
1884
- variant?: string;
1885
- size?: string;
1886
- /**
1887
- * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
1888
- * @default full
1889
- */
1890
- width?: WidthProp['width'];
1891
- /**
1892
- * If `true`, the input is disabled.
1893
- * @default false
1894
- */
1895
- disabled?: RAC.TextFieldProps['isDisabled'];
1896
- /**
1897
- * If `true`, the input is required.
1898
- * @default false
1899
- */
1900
- required?: RAC.TextFieldProps['isRequired'];
1901
- /**
1902
- * If `true`, the field is considered invalid and if set the `errorMessage` is shown instead of the `description`.
1903
- * @default false
1904
- */
1905
- error?: RAC.TextFieldProps['isInvalid'];
1906
- /**
1907
- * If `true`, the input is readOnly.
1908
- * @default false
1909
- */
1910
- readOnly?: RAC.TextFieldProps['isReadOnly'];
1911
- /**
1912
- * The minimum value for the input field.
1913
- * @default none
1914
- */
1915
- min?: HTMLInputElement['min'];
1916
- /**
1917
- * The maximum value for the input field.
1918
- * @default none
1919
- */
1920
- max?: HTMLInputElement['max'];
1921
- /**
1922
- * The value of the input field.
1923
- * @default none
1924
- */
1925
- value?: string;
1926
- /**
1927
- * The default value of the input field.
1928
- * @default none
1929
- */
1930
- defaultValue?: string;
1931
- /**
1932
- * Placeholder text for the input field.
1933
- * @default none
1934
- */
1935
- placeholder?: string;
1936
- }
1937
- declare const _TextField: react.ForwardRefExoticComponent<TextFieldProps & react.RefAttributes<HTMLInputElement>>;
1938
-
1939
- interface TilesProps extends GapSpaceProp, AriaRegionProps {
1940
- /**
1941
- * The children of the component.
1942
- */
1943
- children: ReactNode;
1944
- /**
1945
- * Set minimum width for all items inside.
1946
- * @default '250px'
1947
- */
1948
- tilesWidth?: string;
1949
- /**
1950
- * Tiles will stretch to available width and will distribute their width equally. Note that this can make them wider than the specified tiles width, but not smaller than the given "tilesWidth". Basically, this is full responsive mode.
1951
- * @default false
1952
- */
1953
- stretch?: boolean;
1954
- /**
1955
- * If true, all items will have the height of the biggest item.
1956
- * @default false
1957
- */
1958
- equalHeight?: boolean;
1959
- }
1960
- declare const Tiles: ({ space, stretch, equalHeight, tilesWidth, children, ...props }: TilesProps) => react_jsx_runtime.JSX.Element;
1961
-
1962
- type RemovedProps$7 = 'isDisabled' | 'isOpen' | 'children';
1963
- interface TooltipTriggerProps extends Omit<RAC.TooltipTriggerComponentProps, RemovedProps$7> {
1964
- /**
1965
- * The children of the component.
1966
- */
1967
- children: ReactNode;
1968
- /**
1969
- * Whether the tooltip should be disabled, independent from the trigger.
1970
- */
1971
- disabled?: RAC.TooltipTriggerComponentProps['isDisabled'];
1972
- /**
1973
- * Control the visibility of the tooltip.
1974
- */
1975
- open?: boolean;
2441
+ (props: TableProps): JSX.Element;
2442
+ Body: typeof TableBody;
2443
+ Cell: typeof Cell;
2444
+ Header: typeof TableHeader;
2445
+ Column: (props: ColumnProps$1) => JSX.Element;
2446
+ Row: (props: RowProps$1) => JSX.Element;
2447
+ }
2448
+ //#endregion
2449
+ //#region src/Tabs/TabList.d.ts
2450
+ interface TabListProps extends Omit<RAC.TabListProps<object>, 'className' | 'style'>, GapSpaceProp {}
2451
+ //#endregion
2452
+ //#region src/Tabs/TabPanel.d.ts
2453
+ type TabPanelProps = Omit<RAC.TabPanelProps, 'className' | 'style'>;
2454
+ //#endregion
2455
+ //#region src/Tabs/Tab.d.ts
2456
+ type TabProps = Omit<RAC.TabProps, 'className' | 'style'>;
2457
+ //#endregion
2458
+ //#region src/Tabs/Tabs.d.ts
2459
+ interface TabsProps extends Omit<RAC.TabsProps, 'className' | 'style' | 'isDisabled' | 'orientation' | 'slot'> {
2460
+ /**
2461
+ * Set All TabPanel disabled
2462
+ * @default false
2463
+ */
2464
+ disabled?: boolean;
2465
+ size?: 'small' | 'medium' | 'large';
2466
+ variant?: string;
1976
2467
  }
1977
-
1978
- type RemovedProps$6 = 'className' | 'isOpen' | 'style';
1979
- interface TooltipProps extends Omit<RAC.TooltipProps, RemovedProps$6> {
1980
- /**
1981
- * The children of the component.
1982
- */
1983
- children?: ReactNode;
1984
- variant?: 'default' | 'white' | (string & {});
1985
- size?: string;
1986
- /**
1987
- * Whether the element is rendered.
1988
- */
1989
- open?: RAC.TooltipProps['isOpen'];
2468
+ declare const _Tabs: {
2469
+ ({
2470
+ disabled,
2471
+ variant,
2472
+ size,
2473
+ ...rest
2474
+ }: TabsProps): react_jsx_runtime4.JSX.Element;
2475
+ List: ({
2476
+ space,
2477
+ ...props
2478
+ }: TabListProps) => react_jsx_runtime4.JSX.Element;
2479
+ TabPanel: (props: TabPanelProps) => react_jsx_runtime4.JSX.Element;
2480
+ Item: (props: TabProps) => react_jsx_runtime4.JSX.Element;
2481
+ };
2482
+ //#endregion
2483
+ //#region src/TagGroup/TagGroup.d.ts
2484
+ type RemovedProps$8 = 'className' | 'style' | 'children' | 'isRequired';
2485
+ interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps$8>, Pick<TagListProps<object>, 'items' | 'children'>, Pick<FieldBaseProps<'label'>, 'label' | 'description'> {
2486
+ variant?: string;
2487
+ size?: string;
2488
+ /**
2489
+ * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
2490
+ * @default full
2491
+ */
2492
+ width?: WidthProp['width'];
2493
+ /**
2494
+ * The name of the field, used when submitting form data.
2495
+ */
2496
+ name?: string;
2497
+ /**
2498
+ * Provides content to display when there are no items in the tag list.
2499
+ */
2500
+ emptyState?: TagListProps<object>['renderEmptyState'];
2501
+ /**
2502
+ * Renders a "remove all" option, when a the `onRemove` prop is also set.
2503
+ * @default false
2504
+ */
2505
+ removeAll?: boolean;
2506
+ }
2507
+ declare const _TagGroup: ({
2508
+ items,
2509
+ children,
2510
+ emptyState,
2511
+ variant,
2512
+ size,
2513
+ name,
2514
+ removeAll,
2515
+ ...rest
2516
+ }: TagGroupProps) => react_jsx_runtime4.JSX.Element;
2517
+ //#endregion
2518
+ //#region src/TagGroup/Tag.d.ts
2519
+ type RemovedProps$7 = 'className' | 'style' | 'isDisabled';
2520
+ interface TagProps extends Omit<RAC.TagProps, RemovedProps$7> {
2521
+ variant?: string;
2522
+ size?: string;
2523
+ children?: ReactNode;
2524
+ disabled?: boolean;
1990
2525
  }
1991
- declare const _Tooltip: {
1992
- ({ children, variant, size, open, ...rest }: TooltipProps): react_jsx_runtime.JSX.Element;
1993
- Trigger: ({ delay, children, disabled, open, ...rest }: TooltipTriggerProps) => react_jsx_runtime.JSX.Element;
2526
+ declare const _Tag: {
2527
+ ({
2528
+ variant,
2529
+ size,
2530
+ children,
2531
+ disabled,
2532
+ ...rest
2533
+ }: TagProps): react_jsx_runtime4.JSX.Element;
2534
+ Group: ({
2535
+ items,
2536
+ children,
2537
+ emptyState,
2538
+ variant,
2539
+ size,
2540
+ name,
2541
+ removeAll,
2542
+ ...rest
2543
+ }: TagGroupProps) => react_jsx_runtime4.JSX.Element;
1994
2544
  };
1995
-
2545
+ //#endregion
2546
+ //#region src/Text/Text.d.ts
2547
+ type RemovedProps$6 = 'elementType' | keyof JSX.IntrinsicElements['div'] | keyof JSX.IntrinsicElements['span'] | keyof JSX.IntrinsicElements['p'];
2548
+ interface TextProps extends AriaLabelingProps$1, Omit<RAC.TextProps, RemovedProps$6>, TextAlignProp, FontSizeProp, FontWeightProp, FontStyleProp, CursorProp, TextWrapProp, WhiteSpaceProps {
2549
+ /**
2550
+ * The children of the component
2551
+ */
2552
+ children?: React.ReactNode;
2553
+ /**
2554
+ * Set the text color.
2555
+ * @default currentColor
2556
+ */
2557
+ color?: string;
2558
+ /**
2559
+ * Element to render
2560
+ * @default "div"
2561
+ */
2562
+ as?: 'div' | 'p' | 'span';
2563
+ /**
2564
+ * A slot name for the component. Slots allow the component to receive props from a parent component.
2565
+ */
2566
+ slot?: string;
2567
+ variant?: 'default' | 'muted' | (string & {});
2568
+ size?: 'default' | 'xs' | 'sm' | 'base' | 'lg' | 'xl' | '2xl' | '3xl' | '4xl' | '5xl' | '6xl' | '7xl' | '8xl' | '9xl' | (string & {});
2569
+ }
2570
+ declare const _Text: ({
2571
+ variant,
2572
+ size,
2573
+ color,
2574
+ align,
2575
+ cursor,
2576
+ weight,
2577
+ fontSize,
2578
+ fontStyle,
2579
+ wrap,
2580
+ whiteSpace,
2581
+ children,
2582
+ as,
2583
+ ...props
2584
+ }: TextProps) => react_jsx_runtime4.JSX.Element;
2585
+ //#endregion
2586
+ //#region src/TextArea/TextArea.d.ts
2587
+ type RemovedProps$5 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue';
2588
+ interface TextAreaProps extends Omit<RAC.TextFieldProps, RemovedProps$5>, Pick<RAC.TextAreaProps, 'rows'>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
2589
+ variant?: string;
2590
+ size?: string;
2591
+ /**
2592
+ * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
2593
+ * @default full
2594
+ */
2595
+ width?: WidthProp['width'];
2596
+ /**
2597
+ * If `true`, the textarea is disabled.
2598
+ * @default false
2599
+ */
2600
+ disabled?: RAC.TextFieldProps['isDisabled'];
2601
+ /**
2602
+ * If `true`, the textarea is required.
2603
+ * @default false
2604
+ */
2605
+ required?: RAC.TextFieldProps['isRequired'];
2606
+ /**
2607
+ * If `true`, the field is considered invalid and if set the `errorMessage` is shown instead of the `description`.
2608
+ * @default false
2609
+ */
2610
+ error?: RAC.TextFieldProps['isInvalid'];
2611
+ /**
2612
+ * If `true`, the textarea is read-only.
2613
+ * @default false
2614
+ */
2615
+ readOnly?: RAC.TextFieldProps['isReadOnly'];
2616
+ /**
2617
+ * The value of the textarea.
2618
+ * @default none
2619
+ */
2620
+ value?: string;
2621
+ /**
2622
+ * The default value of the textarea.
2623
+ * @default none
2624
+ */
2625
+ defaultValue?: string;
2626
+ /**
2627
+ * Placeholder text for the textarea.
2628
+ * @default none
2629
+ */
2630
+ placeholder?: string;
2631
+ /**
2632
+ * Sets the number of rows in the textarea.
2633
+ * @default none
2634
+ */
2635
+ rows?: number;
2636
+ }
2637
+ declare const _TextArea: react6.ForwardRefExoticComponent<TextAreaProps & react6.RefAttributes<HTMLTextAreaElement>>;
2638
+ //#endregion
2639
+ //#region src/TextField/TextField.d.ts
2640
+ type RemovedProps$4 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'value' | 'defaultValue' | 'slot';
2641
+ interface TextFieldProps extends Omit<RAC.TextFieldProps, RemovedProps$4>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
2642
+ variant?: string;
2643
+ size?: string;
2644
+ /**
2645
+ * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
2646
+ * @default full
2647
+ */
2648
+ width?: WidthProp['width'];
2649
+ /**
2650
+ * If `true`, the input is disabled.
2651
+ * @default false
2652
+ */
2653
+ disabled?: RAC.TextFieldProps['isDisabled'];
2654
+ /**
2655
+ * If `true`, the input is required.
2656
+ * @default false
2657
+ */
2658
+ required?: RAC.TextFieldProps['isRequired'];
2659
+ /**
2660
+ * If `true`, the field is considered invalid and if set the `errorMessage` is shown instead of the `description`.
2661
+ * @default false
2662
+ */
2663
+ error?: RAC.TextFieldProps['isInvalid'];
2664
+ /**
2665
+ * If `true`, the input is readOnly.
2666
+ * @default false
2667
+ */
2668
+ readOnly?: RAC.TextFieldProps['isReadOnly'];
2669
+ /**
2670
+ * The minimum value for the input field.
2671
+ * @default none
2672
+ */
2673
+ min?: HTMLInputElement['min'];
2674
+ /**
2675
+ * The maximum value for the input field.
2676
+ * @default none
2677
+ */
2678
+ max?: HTMLInputElement['max'];
2679
+ /**
2680
+ * The value of the input field.
2681
+ * @default none
2682
+ */
2683
+ value?: string;
2684
+ /**
2685
+ * The default value of the input field.
2686
+ * @default none
2687
+ */
2688
+ defaultValue?: string;
2689
+ /**
2690
+ * Placeholder text for the input field.
2691
+ * @default none
2692
+ */
2693
+ placeholder?: string;
2694
+ }
2695
+ declare const _TextField: react6.ForwardRefExoticComponent<TextFieldProps & react6.RefAttributes<HTMLInputElement>>;
2696
+ //#endregion
2697
+ //#region src/Tiles/Tiles.d.ts
2698
+ interface TilesProps extends GapSpaceProp, AriaRegionProps {
2699
+ /**
2700
+ * The children of the component.
2701
+ */
2702
+ children: ReactNode;
2703
+ /**
2704
+ * Set minimum width for all items inside.
2705
+ * @default '250px'
2706
+ */
2707
+ tilesWidth?: string;
2708
+ /**
2709
+ * Tiles will stretch to available width and will distribute their width equally. Note that this can make them wider than the specified tiles width, but not smaller than the given "tilesWidth". Basically, this is full responsive mode.
2710
+ * @default false
2711
+ */
2712
+ stretch?: boolean;
2713
+ /**
2714
+ * If true, all items will have the height of the biggest item.
2715
+ * @default false
2716
+ */
2717
+ equalHeight?: boolean;
2718
+ }
2719
+ declare const Tiles: ({
2720
+ space,
2721
+ stretch,
2722
+ equalHeight,
2723
+ tilesWidth,
2724
+ children,
2725
+ ...props
2726
+ }: TilesProps) => react_jsx_runtime4.JSX.Element;
2727
+ //#endregion
2728
+ //#region src/TimeField/TimeField.d.ts
2729
+ type RemovedProps$3 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'slot';
2730
+ interface TimeFieldProps extends Omit<RAC.TimeFieldProps<TimeValue$1>, RemovedProps$3>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
2731
+ variant?: string;
2732
+ size?: string;
2733
+ /**
2734
+ * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
2735
+ * @default full
2736
+ */
2737
+ width?: WidthProp['width'];
2738
+ /**
2739
+ * If `true`, the input is disabled.
2740
+ * @default false
2741
+ */
2742
+ disabled?: RAC.TimeFieldProps<TimeValue$1>['isDisabled'];
2743
+ /**
2744
+ * If `true`, the input is required.
2745
+ * @default false
2746
+ */
2747
+ required?: RAC.TimeFieldProps<TimeValue$1>['isRequired'];
2748
+ /**
2749
+ * If `true`, the field is considered invalid and if set the `errorMessage` is shown instead of the `description`.
2750
+ * @default false
2751
+ */
2752
+ error?: RAC.TimeFieldProps<TimeValue$1>['isInvalid'];
2753
+ /**
2754
+ * If `true`, the input is readOnly.
2755
+ * @default false
2756
+ */
2757
+ readOnly?: RAC.TimeFieldProps<TimeValue$1>['isReadOnly'];
2758
+ /**
2759
+ * Whether to display the time in 12 or 24 hour format
2760
+ * @default 24
2761
+ */
2762
+ hourCycle?: 12 | 24 | undefined;
2763
+ /**
2764
+ * Determines the smallest unit that is displayed in the time picker.
2765
+ * @default minute
2766
+ */
2767
+ granularity?: 'hour' | 'minute' | 'second';
2768
+ /**
2769
+ * Whether to always show leading zeros in the hour field. Default is determined by the user's locale.
2770
+ * @default none
2771
+ */
2772
+ shouldForceLeadingZeros?: boolean;
2773
+ }
2774
+ declare const _TimeField: react6.ForwardRefExoticComponent<TimeFieldProps & react6.RefAttributes<HTMLInputElement>>;
2775
+ //#endregion
2776
+ //#region src/Toast/Toast.d.ts
1996
2777
  type ToastContentProps = {
1997
- title: string;
1998
- description?: string;
1999
- variant?: 'success' | 'info' | 'warning' | 'error';
2778
+ title: string;
2779
+ description?: ReactNode;
2780
+ action?: ReactNode;
2781
+ variant?: 'success' | 'info' | 'warning' | 'error';
2000
2782
  };
2001
2783
  interface ToastProps {
2002
- toast: {
2003
- content: ToastContentProps;
2004
- key: string;
2005
- };
2006
- }
2007
- declare const Toast: ({ toast }: ToastProps) => react_jsx_runtime.JSX.Element;
2008
-
2009
- declare const queue: UNSTABLE_ToastQueue<ToastContentProps>;
2010
- interface ToastProviderProps extends Omit<RAC.ToastRegionProps<object>, RemovedProps$5> {
2011
- position?: ToastPosition;
2012
- }
2013
- type RemovedProps$5 = 'children' | 'className' | 'style' | 'queue';
2784
+ toast: {
2785
+ content: ToastContentProps;
2786
+ key: string;
2787
+ };
2788
+ }
2789
+ declare const Toast: ({
2790
+ toast
2791
+ }: ToastProps) => react_jsx_runtime4.JSX.Element;
2792
+ //#endregion
2793
+ //#region src/Toast/ToastProvider.d.ts
2794
+ interface ToastProviderProps extends Omit<RAC.ToastRegionProps<object>, RemovedProps$2> {
2795
+ position?: ToastPosition;
2796
+ }
2797
+ type RemovedProps$2 = 'children' | 'className' | 'style' | 'queue';
2014
2798
  type ToastPosition = 'bottom-left' | 'bottom-right' | 'top-left' | 'top-right' | 'top' | 'bottom';
2015
- declare const ToastProvider: ({ position }: ToastProviderProps) => react_jsx_runtime.JSX.Element;
2016
-
2799
+ declare const ToastProvider: ({
2800
+ position
2801
+ }: ToastProviderProps) => react_jsx_runtime4.JSX.Element;
2802
+ //#endregion
2803
+ //#region src/Toast/ToastQueue.d.ts
2017
2804
  declare function useToast(): {
2018
- addToast: (options: {
2019
- title: string;
2020
- description?: string;
2021
- variant?: "info" | "success" | "error" | "warning";
2022
- timeout?: number;
2023
- }) => string;
2024
- clearToasts: () => void;
2025
- removeToast: (key: string) => void;
2805
+ addToast: (options: {
2806
+ title: string;
2807
+ description?: ReactNode;
2808
+ variant?: "info" | "success" | "error" | "warning";
2809
+ timeout?: number;
2810
+ action?: ReactNode;
2811
+ }) => string;
2812
+ clearToasts: () => void;
2813
+ removeToast: (key: string) => void;
2026
2814
  };
2027
-
2028
- type RemovedProps$4 = 'className' | 'style' | 'children' | 'isRequired';
2029
- interface TagGroupProps extends Omit<RAC.TagGroupProps, RemovedProps$4>, Pick<TagListProps<object>, 'items' | 'children'>, Pick<FieldBaseProps<'label'>, 'label' | 'description'> {
2030
- variant?: string;
2031
- size?: string;
2032
- /**
2033
- * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
2034
- * @default full
2035
- */
2036
- width?: WidthProp['width'];
2037
- /**
2038
- * The name of the field, used when submitting form data.
2039
- */
2040
- name?: string;
2041
- /**
2042
- * Provides content to display when there are no items in the tag list.
2043
- */
2044
- emptyState?: TagListProps<object>['renderEmptyState'];
2045
- /**
2046
- * Renders a "remove all" option, when a the `onRemove` prop is also set.
2047
- * @default false
2048
- */
2049
- removeAll?: boolean;
2050
- }
2051
-
2052
- type RemovedProps$3 = 'className' | 'style' | 'isDisabled';
2053
- interface TagProps extends Omit<RAC.TagProps, RemovedProps$3> {
2054
- variant?: string;
2055
- size?: string;
2056
- children?: ReactNode;
2057
- disabled?: boolean;
2815
+ //#endregion
2816
+ //#region src/Tooltip/TooltipTrigger.d.ts
2817
+ type RemovedProps$1 = 'isDisabled' | 'isOpen' | 'children';
2818
+ interface TooltipTriggerProps extends Omit<RAC.TooltipTriggerComponentProps, RemovedProps$1> {
2819
+ /**
2820
+ * The children of the component.
2821
+ */
2822
+ children: ReactNode;
2823
+ /**
2824
+ * Whether the tooltip should be disabled, independent from the trigger.
2825
+ */
2826
+ disabled?: RAC.TooltipTriggerComponentProps['isDisabled'];
2827
+ /**
2828
+ * Control the visibility of the tooltip.
2829
+ */
2830
+ open?: boolean;
2831
+ }
2832
+ //#endregion
2833
+ //#region src/Tooltip/Tooltip.d.ts
2834
+ type RemovedProps = 'className' | 'isOpen' | 'style';
2835
+ interface TooltipProps extends Omit<RAC.TooltipProps, RemovedProps> {
2836
+ /**
2837
+ * The children of the component.
2838
+ */
2839
+ children?: ReactNode;
2840
+ variant?: 'default' | 'white' | (string & {});
2841
+ size?: string;
2842
+ /**
2843
+ * Whether the element is rendered.
2844
+ */
2845
+ open?: RAC.TooltipProps['isOpen'];
2058
2846
  }
2059
- declare const _Tag: {
2060
- ({ variant, size, children, disabled, ...rest }: TagProps): react_jsx_runtime.JSX.Element;
2061
- Group: ({ items, children, emptyState, variant, size, name, removeAll, ...rest }: TagGroupProps) => react_jsx_runtime.JSX.Element;
2847
+ declare const _Tooltip: {
2848
+ ({
2849
+ children,
2850
+ variant,
2851
+ size,
2852
+ open,
2853
+ ...rest
2854
+ }: TooltipProps): react_jsx_runtime4.JSX.Element;
2855
+ Trigger: ({
2856
+ delay,
2857
+ children,
2858
+ disabled,
2859
+ open,
2860
+ ...rest
2861
+ }: TooltipTriggerProps) => react_jsx_runtime4.JSX.Element;
2062
2862
  };
2063
-
2863
+ //#endregion
2864
+ //#region src/XLoader/BaseLoader.d.ts
2064
2865
  interface LoaderProps extends Pick<ProgressBarProps, 'id' | 'aria-label' | 'aria-labelledby' | 'aria-describedby' | 'aria-details'> {
2065
- /**
2066
- * Children of the component that will make up the label.
2067
- */
2068
- children?: ReactNode;
2069
- variant?: 'default' | 'inverted';
2070
- size?: 'default' | 'large' | 'fit';
2071
- }
2072
-
2866
+ /**
2867
+ * Children of the component that will make up the label.
2868
+ */
2869
+ children?: ReactNode;
2870
+ variant?: 'default' | 'inverted';
2871
+ size?: 'default' | 'large' | 'fit';
2872
+ }
2873
+ //#endregion
2874
+ //#region src/XLoader/XLoader.d.ts
2073
2875
  interface XLoaderProps extends LoaderProps {
2074
- /**
2075
- * Show the loader in `fullscreen` to overlay and block interaction with the site or `section` to show loading for a certain area.
2076
- * @default undefined
2077
- */
2078
- mode?: 'fullscreen' | 'section';
2079
- }
2080
- declare const XLoader: ({ mode, variant, ...props }: XLoaderProps) => react_jsx_runtime.JSX.Element;
2081
-
2082
- type TabProps = Omit<RAC.TabProps, 'className' | 'style'>;
2083
-
2084
- type TabPanelProps = Omit<RAC.TabPanelProps, 'className' | 'style'>;
2085
-
2086
- interface TabListProps extends Omit<RAC.TabListProps<object>, 'className' | 'style'>, GapSpaceProp {
2087
- }
2088
-
2089
- interface TabsProps extends Omit<RAC.TabsProps, 'className' | 'style' | 'isDisabled' | 'orientation' | 'slot'> {
2090
- /**
2091
- * Set All TabPanel disabled
2092
- * @default false
2093
- */
2094
- disabled?: boolean;
2095
- size?: 'small' | 'medium' | 'large';
2096
- variant?: string;
2097
- }
2098
- declare const _Tabs: {
2099
- ({ disabled, variant, size, ...rest }: TabsProps): react_jsx_runtime.JSX.Element;
2100
- List: ({ space, ...props }: TabListProps) => react_jsx_runtime.JSX.Element;
2101
- TabPanel: (props: TabPanelProps) => react_jsx_runtime.JSX.Element;
2102
- Item: (props: TabProps) => react_jsx_runtime.JSX.Element;
2103
- };
2104
-
2105
- type RemovedProps$2 = 'className' | 'style' | 'children' | 'isDisabled' | 'isRequired' | 'isInvalid' | 'isReadOnly' | 'slot';
2106
- interface TimeFieldProps extends Omit<RAC.TimeFieldProps<TimeValue>, RemovedProps$2>, Pick<FieldBaseProps<'label'>, 'label' | 'description' | 'errorMessage'> {
2107
- variant?: string;
2108
- size?: string;
2109
- /**
2110
- * Sets the width of the field. You can see allowed tokens here: https://tailwindcss.com/docs/width
2111
- * @default full
2112
- */
2113
- width?: WidthProp['width'];
2114
- /**
2115
- * If `true`, the input is disabled.
2116
- * @default false
2117
- */
2118
- disabled?: RAC.TimeFieldProps<TimeValue>['isDisabled'];
2119
- /**
2120
- * If `true`, the input is required.
2121
- * @default false
2122
- */
2123
- required?: RAC.TimeFieldProps<TimeValue>['isRequired'];
2124
- /**
2125
- * If `true`, the field is considered invalid and if set the `errorMessage` is shown instead of the `description`.
2126
- * @default false
2127
- */
2128
- error?: RAC.TimeFieldProps<TimeValue>['isInvalid'];
2129
- /**
2130
- * If `true`, the input is readOnly.
2131
- * @default false
2132
- */
2133
- readOnly?: RAC.TimeFieldProps<TimeValue>['isReadOnly'];
2134
- /**
2135
- * Whether to display the time in 12 or 24 hour format
2136
- * @default 24
2137
- */
2138
- hourCycle?: 12 | 24 | undefined;
2139
- /**
2140
- * Determines the smallest unit that is displayed in the time picker.
2141
- * @default minute
2142
- */
2143
- granularity?: 'hour' | 'minute' | 'second';
2144
- /**
2145
- * Whether to always show leading zeros in the hour field. Default is determined by the user's locale.
2146
- * @default none
2147
- */
2148
- shouldForceLeadingZeros?: boolean;
2149
- }
2150
- declare const _TimeField: react.ForwardRefExoticComponent<TimeFieldProps & react.RefAttributes<HTMLInputElement>>;
2151
-
2152
- type RemovedProps$1 = 'className' | 'style';
2153
- interface BreadcrumbsItemProps extends Omit<RAC.BreadcrumbProps, RemovedProps$1> {
2154
- variant?: 'default' | (string & {});
2155
- size?: 'small' | 'default' | 'large' | (string & {});
2156
- /**
2157
- * The content inside the breadcrumb.
2158
- */
2159
- children: ReactNode;
2160
- /**
2161
- * Link for the breadcrumb item.
2162
- */
2163
- href: string;
2164
- }
2165
- declare const BreadcrumbsItem: (_: BreadcrumbsItemProps) => null;
2166
-
2167
- type RemovedProps = 'className' | 'style' | 'children' | 'isDisabled';
2168
- interface BreadcrumbsProps extends Omit<BreadcrumbsProps$1<object>, RemovedProps> {
2169
- variant?: 'default' | (string & {});
2170
- size?: 'small' | 'default' | 'large' | (string & {});
2171
- /**
2172
- * Disables the breadcrumbs.
2173
- * @default false
2174
- */
2175
- disabled?: BreadcrumbsProps$1<object>['isDisabled'];
2176
- /**
2177
- * Maximum number of visible items before the breadcrumbs collapse.
2178
- */
2179
- maxVisibleItems?: number;
2180
- /**
2181
- * The breadcrumb items to be displayed.
2182
- */
2183
- children: react__default.ReactNode | react__default.ReactNode[];
2184
- }
2185
- interface BreadcrumbsComponent extends ForwardRefExoticComponent<BreadcrumbsProps & RefAttributes<HTMLOListElement>> {
2186
- Item: typeof BreadcrumbsItem;
2187
- }
2188
- declare const _Breadcrumbs: BreadcrumbsComponent;
2189
-
2190
- export { Accordion, AccordionItem, type AccordionProps, ActionMenu, type ActionMenuProps, type GridAreaProps as AreaProps, Aside, type AsideProps, Aspect, type AspectProps, _Autocomplete as Autocomplete, type AutocompleteProps, Badge, type BadgeProps, _Breadcrumbs as Breadcrumbs, type BreadcrumbsComponent, type BreadcrumbsProps, Breakout, type BreakoutProps, _Button as Button, type ButtonProps, _Calendar as Calendar, type CalendarProps, Card, type CardProps, Center, type CenterProps, _Checkbox as Checkbox, type CheckboxComponent, _CheckboxGroup as CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, type ColumnProps, Columns, type ColumnsProps, _ComboBox as ComboBox, type ComboBoxProps, Container, type ContainerProps, _ContextualHelp as ContextualHelp, type ContextualHelpProps, _DateField as DateField, type DateFieldProps, _DatePicker as DatePicker, type DatePickerProps, _Dialog as Dialog, type DialogProps, type DisclosureProps, _Divider as Divider, type DividerProps, Drawer, FieldBase, type FieldBaseProps, _Form as Form, type FormProps, Grid, type GridProps, _Headline as Headline, type HeadlineProps, Inline, type InlineProps, _Input as Input, type InputProps, Inset, type InsetProps, _Label as Label, type LabelProps, _Link as Link, type LinkProps, List, type ListProps, MarigoldProvider, type MarigoldProviderProps, _Menu as Menu, type MenuProps, _Modal as Modal, type ModalProps, Multiselect, NonModal, type NonModalProps, type NonModalRenderProps, _NumberField as NumberField, type NumberFieldProps, type OverlayContainerProps, OverlayContainerProvider, _Pagination as Pagination, type PaginationProps, _Popover as Popover, type PopoverProps, _Radio as Radio, type RadioComponent, _RadioGroup as RadioGroup, type RadioGroupProps, type RadioProps, type RemovedProps$s as RemovedProps, type RowProps, Scrollable, type ScrollableProps, _SearchField as SearchField, type SearchFieldProps, SectionMessage, type SectionMessageProps, _Select as Select, type SelectComponent, _SelectList as SelectList, type SelectListProps, type SelectProps, _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, type TagProps, type TemplateValue, _Text as Text, _TextArea as TextArea, type TextAreaProps, _TextField as TextField, type TextFieldProps, type TextProps, Tiles, type TilesProps, _TimeField as TimeField, type TimeFieldProps, Toast, type ToastContentProps, ToastProvider, type ToastProviderProps, _Tooltip as Tooltip, type TooltipProps, Underlay, type UnderlayProps, XLoader, type XLoaderProps, _ContextualHelp, gridColsAlign, gridColumn, queue, useToast };
2876
+ /**
2877
+ * Show the loader in `fullscreen` to overlay and block interaction with the site or `section` to show loading for a certain area.
2878
+ * @default undefined
2879
+ */
2880
+ mode?: 'fullscreen' | 'section';
2881
+ }
2882
+ declare const XLoader: ({
2883
+ mode,
2884
+ variant,
2885
+ ...props
2886
+ }: XLoaderProps) => react_jsx_runtime4.JSX.Element;
2887
+ //#endregion
2888
+ //#region src/utils/form.utils.d.ts
2889
+ /**
2890
+ * Parses the data from a submitted HTML form and returns an object mapping form field names to their values.
2891
+ *
2892
+ * If a field appears multiple times (e.g., checkboxes with the same name), its value will be an array of values.
2893
+ * Otherwise, the value will be a single FormDataEntryValue (string or File).
2894
+ */
2895
+ declare const parseFormData: <T extends Record<string, FormDataEntryValue | FormDataEntryValue[]> = Record<string, FormDataEntryValue | FormDataEntryValue[]>>(e: FormEvent<HTMLFormElement>) => T;
2896
+ //#endregion
2897
+ export { Accordion, AccordionItem, type AccordionProps, ActionMenu, type ActionMenuProps, Aside, type AsideProps, Aspect, type AspectProps, _Autocomplete as Autocomplete, type AutocompleteProps, Badge, type BadgeProps, _Breadcrumbs as Breadcrumbs, type BreadcrumbsProps, Breakout, type BreakoutProps, _Button as Button, type ButtonProps, _Calendar as Calendar, type CalendarProps, Card, type CardProps, Center, type CenterProps, _Checkbox as Checkbox, _CheckboxGroup as CheckboxGroup, type CheckboxGroupProps, type CheckboxProps, CloseButton, Collapsible, type CollapsibleProps, Columns, type ColumnsProps, _ComboBox as ComboBox, type ComboBoxProps, type ConfirmationConfig, ConfirmationContext, ConfirmationDialog, type ConfirmationDialogProps, type ConfirmationFn, ConfirmationProvider, type ConfirmationResult, Container, type ContainerProps, _ContextualHelp as ContextualHelp, type ContextualHelpProps, _DateField as DateField, type DateFieldProps, DateFormat, _DatePicker as DatePicker, type DatePickerProps, _Dialog as Dialog, type DialogProps, type DisclosureProps, _Divider as Divider, type DividerProps, Drawer, type DrawerProps, FieldBase, type FieldBaseProps, _Form as Form, type FormProps, Grid, type GridProps, _Headline as Headline, type HeadlineProps, HelpText, type HelpTextProps, I18nProvider, IconButton, Inline, type InlineProps, _Input as Input, type InputProps, Inset, type InsetProps, _Label as Label, type LabelProps, _Link as Link, _LinkButton as LinkButton, type LinkButtonProps, type LinkProps, List, _ListBox as ListBox, _ListBoxItem as ListBoxItem, type ListBoxItemProps, type ListBoxProps, type ListProps, MarigoldProvider, type MarigoldProviderProps, _Menu as Menu, type MenuProps, _Modal as Modal, type ModalProps, Multiselect, NonModal, type NonModalProps, _NumberField as NumberField, type NumberFieldProps, NumericFormat, type OverlayContainerProps, OverlayContainerProvider, _Pagination as Pagination, type PaginationProps, _Popover as Popover, type PopoverProps, ProgressCycle, type ProgressCycleProps, _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, XLoader, type XLoaderProps, parseFormData, useAsyncList, useConfirmation, useListData, useTheme, useToast };