@capra/core 1.8.1 → 1.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -3,7 +3,6 @@ import React$1, { HTMLAttributeAnchorTarget, HTMLAttributeReferrerPolicy } from
3
3
  import { BreadcrumbProps as BreadcrumbProps$1, BreadcrumbsProps as BreadcrumbsProps$1, ButtonProps as ButtonProps$1, ComboBoxRenderProps, DatePickerProps, DateRangePickerProps, DateValue, DisclosureProps, Focusable, LinkProps as LinkProps$1, ListBoxItemProps, PopoverProps as PopoverProps$1, PressEvent, RouterProvider } from "react-aria-components";
4
4
  import { SvgIcon } from "@capra/icons";
5
5
  import { SvgLogo } from "@capra/icons/logos";
6
-
7
6
  //#region src/utils/stylingOverride.d.ts
8
7
  interface StylingOverrideProps {
9
8
  /**
@@ -17,9 +16,9 @@ interface StylingOverrideProps {
17
16
  }
18
17
  //#endregion
19
18
  //#region src/components/Alert/Alert.d.ts
20
- declare const layouts: readonly ["section", "compact", "inline"];
19
+ declare const layouts: readonly ['section', 'compact', 'inline'];
21
20
  type Layout = (typeof layouts)[number];
22
- declare const appearances$3: readonly ["info", "warning", "danger", "success"];
21
+ declare const appearances$3: readonly ['info', 'warning', 'danger', 'success'];
23
22
  type Appearance$3 = (typeof appearances$3)[number];
24
23
  type AlertProps = {
25
24
  /**
@@ -81,33 +80,26 @@ type AlertProps = {
81
80
  /**
82
81
  * Alerts are used to communicate important information to the user.
83
82
  */
84
- declare function Alert({
85
- appearance,
86
- layout,
87
- title,
88
- children,
89
- action,
90
- onDismiss,
91
- FORCE__className: classNameOverride,
92
- ...props
93
- }: AlertProps): React$2.JSX.Element | null;
83
+ declare function Alert({ appearance, layout, title, children, action, onDismiss, FORCE__className: classNameOverride, ...props }: AlertProps): React$2.JSX.Element | null;
94
84
  //#endregion
95
85
  //#region src/components/TextInput/TextInput.d.ts
96
- declare const appearances$2: readonly ["default", "danger", "warning"];
86
+ declare const appearances$2: readonly ['default', 'danger', 'warning'];
97
87
  type Appearance$2 = (typeof appearances$2)[number];
98
- declare const sizes$2: readonly ["sm", "md"];
88
+ declare const sizes$2: readonly ['sm', 'md'];
99
89
  type Size$3 = (typeof sizes$2)[number];
100
90
  type TextInputProps = {
101
91
  /** Appearance of the input.
102
92
  * @default 'default'
103
93
  */
104
- appearance?: Appearance$2; /** Content before the input (e.g. icon). */
94
+ appearance?: Appearance$2;
95
+ /** Content before the input (e.g. icon). */
105
96
  leadingSlot?: React$2.ReactNode;
106
97
  /**
107
98
  * Size of the input.
108
99
  * @default 'md'
109
100
  */
110
- size?: Size$3; /** Content after the input (e.g. icon or clear button). */
101
+ size?: Size$3;
102
+ /** Content after the input (e.g. icon or clear button). */
111
103
  trailingSlot?: React$2.ReactNode;
112
104
  } & StylingOverrideProps & Omit<React$2.ComponentPropsWithoutRef<'input'>, 'className' | 'style' | 'size'>;
113
105
  /**
@@ -117,20 +109,25 @@ declare const TextInput: React$2.ForwardRefExoticComponent<{
117
109
  /** Appearance of the input.
118
110
  * @default 'default'
119
111
  */
120
- appearance?: Appearance$2; /** Content before the input (e.g. icon). */
112
+ appearance?: Appearance$2;
113
+ /** Content before the input (e.g. icon). */
121
114
  leadingSlot?: React$2.ReactNode;
122
115
  /**
123
116
  * Size of the input.
124
117
  * @default 'md'
125
118
  */
126
- size?: Size$3; /** Content after the input (e.g. icon or clear button). */
119
+ size?: Size$3;
120
+ /** Content after the input (e.g. icon or clear button). */
127
121
  trailingSlot?: React$2.ReactNode;
128
- } & StylingOverrideProps & Omit<Omit<React$2.DetailedHTMLProps<React$2.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "style" | "size" | "className"> & React$2.RefAttributes<HTMLInputElement>>;
122
+ } & StylingOverrideProps & Omit<Omit<React$2.DetailedHTMLProps<React$2.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "className" | "size" | "style"> & React$2.RefAttributes<HTMLInputElement>>;
129
123
  //#endregion
130
124
  //#region src/components/input-helpers/fieldLayout.d.ts
131
125
  type FieldLayoutProps = {
132
- /** Helper text below the field. Replaced by error message when status is error. Use for requirements, disclaimers. */helperText?: string; /** Label for the field. Required for accessibility; use aria-label if another element acts as label. */
133
- label?: string; /** Label and field layout: vertical (label above) or horizontal (label on leading side). Prefer vertical; use horizontal when space is limited. */
126
+ /** Helper text below the field. Replaced by error message when status is error. Use for requirements, disclaimers. */
127
+ helperText?: string;
128
+ /** Label for the field. Required for accessibility; use aria-label if another element acts as label. */
129
+ label?: string;
130
+ /** Label and field layout: vertical (label above) or horizontal (label on leading side). Prefer vertical; use horizontal when space is limited. */
134
131
  layout?: 'vertical' | 'horizontal';
135
132
  };
136
133
  //#endregion
@@ -142,13 +139,21 @@ type ChildrenOrFunction<T> = React$1.ReactNode | ((values: T & {
142
139
  defaultChildren: React$1.ReactNode | undefined;
143
140
  }) => React$1.ReactNode);
144
141
  type AutocompleteFieldProps = {
145
- /** Whether to show a clear button for the input. */canClear?: boolean; /** The children to render in the dropdown. */
146
- children?: ChildrenOrFunction<ComboBoxRenderProps>; /** A function that filters the items based on the input value. */
147
- itemFilter?: (textValue: string, inputValue: string) => boolean; /** A callback function that is called when the input value changes. */
148
- onChange?: (value: string) => void; /** A callback function that is called when the dropdown is opened or closed. */
149
- onOpenChange?: (isOpen: boolean) => void; /** The items to display in the dropdown. */
150
- items?: AutocompleteItem[]; /** The value of the input. */
151
- value?: AutocompleteItem['value']; /** Whether to automatically size the dropdown to the width of the input. Defaults to `true` */
142
+ /** Whether to show a clear button for the input. */
143
+ canClear?: boolean;
144
+ /** The children to render in the dropdown. */
145
+ children?: ChildrenOrFunction<ComboBoxRenderProps>;
146
+ /** A function that filters the items based on the input value. */
147
+ itemFilter?: (textValue: string, inputValue: string) => boolean;
148
+ /** A callback function that is called when the input value changes. */
149
+ onChange?: (value: string) => void;
150
+ /** A callback function that is called when the dropdown is opened or closed. */
151
+ onOpenChange?: (isOpen: boolean) => void;
152
+ /** The items to display in the dropdown. */
153
+ items?: AutocompleteItem[];
154
+ /** The value of the input. */
155
+ value?: AutocompleteItem['value'];
156
+ /** Whether to automatically size the dropdown to the width of the input. Defaults to `true` */
152
157
  shouldAutoSizeDropdown?: boolean;
153
158
  } & StylingOverrideProps & FieldLayoutProps & Omit<React$1.ComponentPropsWithoutRef<typeof TextInput>, 'value' | 'onChange'>;
154
159
  /**
@@ -159,27 +164,35 @@ declare function AutocompleteItem(props: ListBoxItemProps): React$1.JSX.Element;
159
164
  * AutocompleteField combines a text field with a suggestions list. Consumers can supply static `AutocompleteField.Item` children or an `items` collection with an optional default item renderer. The field allows custom values that are not in the list.
160
165
  */
161
166
  declare const AutocompleteField: ((props: {
162
- /** Whether to show a clear button for the input. */canClear?: boolean; /** The children to render in the dropdown. */
163
- children?: ChildrenOrFunction<ComboBoxRenderProps>; /** A function that filters the items based on the input value. */
164
- itemFilter?: (textValue: string, inputValue: string) => boolean; /** A callback function that is called when the input value changes. */
165
- onChange?: (value: string) => void; /** A callback function that is called when the dropdown is opened or closed. */
166
- onOpenChange?: (isOpen: boolean) => void; /** The items to display in the dropdown. */
167
- items?: AutocompleteItem[]; /** The value of the input. */
168
- value?: AutocompleteItem["value"]; /** Whether to automatically size the dropdown to the width of the input. Defaults to `true` */
167
+ /** Whether to show a clear button for the input. */
168
+ canClear?: boolean;
169
+ /** The children to render in the dropdown. */
170
+ children?: ChildrenOrFunction<ComboBoxRenderProps>;
171
+ /** A function that filters the items based on the input value. */
172
+ itemFilter?: (textValue: string, inputValue: string) => boolean;
173
+ /** A callback function that is called when the input value changes. */
174
+ onChange?: (value: string) => void;
175
+ /** A callback function that is called when the dropdown is opened or closed. */
176
+ onOpenChange?: (isOpen: boolean) => void;
177
+ /** The items to display in the dropdown. */
178
+ items?: AutocompleteItem[];
179
+ /** The value of the input. */
180
+ value?: AutocompleteItem['value'];
181
+ /** Whether to automatically size the dropdown to the width of the input. Defaults to `true` */
169
182
  shouldAutoSizeDropdown?: boolean;
170
183
  } & StylingOverrideProps & FieldLayoutProps & Omit<Omit<{
171
184
  appearance?: Appearance$2;
172
185
  leadingSlot?: React$1.ReactNode;
173
186
  size?: Size$3;
174
187
  trailingSlot?: React$1.ReactNode;
175
- } & StylingOverrideProps & Omit<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "style" | "size" | "className"> & React$1.RefAttributes<HTMLInputElement>, "ref">, "value" | "onChange"> & React$1.RefAttributes<HTMLInputElement>) => React$1.ReactElement) & {
188
+ } & StylingOverrideProps & Omit<Omit<React$1.DetailedHTMLProps<React$1.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "className" | "size" | "style"> & React$1.RefAttributes<HTMLInputElement>, "ref">, "onChange" | "value"> & React$1.RefAttributes<HTMLInputElement>) => React$1.ReactElement) & {
176
189
  Item: typeof AutocompleteItem;
177
190
  };
178
191
  //#endregion
179
192
  //#region src/components/Text/Text.d.ts
180
193
  declare const variants$1: readonly ["body", "heading", "metric", "code", "body-xs-normal", "body-xs-semibold", "body-sm-normal", "body-sm-semibold", "body-md-normal", "body-md-semibold", "body-lg-normal", "body-lg-semibold", "heading-xs", "heading-sm", "heading-md", "heading-lg", "heading-xl", "metric-sm", "metric-md", "metric-lg", "metric-xl", "code"];
181
194
  type Variant$1 = (typeof variants$1)[number];
182
- declare const colors: readonly ["default", "primary", "secondary", "tertiary", "accent", "attention", "warning", "subtle", "success", "highlight"];
195
+ declare const colors: readonly ['default', 'primary', 'secondary', 'tertiary', 'accent', 'attention', 'warning', 'subtle', 'success', 'highlight'];
183
196
  type Color = (typeof colors)[number];
184
197
  type TextProps<As extends React$2.ElementType> = {
185
198
  /**
@@ -210,7 +223,7 @@ declare const Text: <As extends React$2.ElementType = "span">(props: {
210
223
  * The text foreground color. Can be a theme color or inherited from the environment. Defaults to `inherit`.
211
224
  * @default inherit
212
225
  */
213
- color?: Color | "inherit";
226
+ color?: Color | 'inherit';
214
227
  /**
215
228
  * The underlying element rendered by the component. Defaults to `span`.
216
229
  */
@@ -218,39 +231,63 @@ declare const Text: <As extends React$2.ElementType = "span">(props: {
218
231
  } & StylingOverrideProps & Omit<React$2.PropsWithoutRef<React$2.ComponentProps<As>>, "className"> & React$2.RefAttributes<unknown>) => React$2.ReactElement;
219
232
  //#endregion
220
233
  //#region src/components/Card/Card.d.ts
234
+ /**
235
+ * The base component for the card.
236
+ * @param className - Class overrides.
237
+ * @param props - The props for the card.
238
+ * @returns A card base component.
239
+ */
240
+ declare const CardRoot: ({ className, ...props }: React$2.ComponentProps<'div'>) => React$2.JSX.Element;
241
+ /**
242
+ * The header of the card.
243
+ * @param className - Class overrides.
244
+ * @param props - The props for the card header.
245
+ * @returns A card header component.
246
+ */
247
+ declare const CardHeader: ({ className, ...props }: React$2.ComponentProps<'div'>) => React$2.JSX.Element;
248
+ /**
249
+ * The title of the card.
250
+ * @param props - The props for the card title.
251
+ * @returns A card title component.
252
+ */
253
+ declare const CardTitle: ({ children, variant, ...props }: Omit<React$2.ComponentProps<typeof Text>, 'className'>) => React$2.JSX.Element;
254
+ /**
255
+ * The description of the card.
256
+ * @param props - The props for the card description.
257
+ * @returns A card description component.
258
+ */
259
+ declare const CardDescription: ({ children, ...props }: Omit<React$2.ComponentProps<typeof Text>, 'variant' | 'color' | 'className'>) => React$2.JSX.Element;
260
+ /**
261
+ * The actions container for the card header.
262
+ * @param className - Class overrides.
263
+ * @param props - The props for the card header actions container.
264
+ * @returns A card header actions container component.
265
+ */
266
+ declare const CardAction: ({ className, ...props }: React$2.ComponentProps<'div'>) => React$2.JSX.Element;
267
+ /**
268
+ * The content container for the card.
269
+ * @param className - Class overrides.
270
+ * @param props - The props for the card content container.
271
+ * @returns A card content container component.
272
+ */
273
+ declare const CardContent: ({ className, ...props }: React$2.ComponentProps<'div'>) => React$2.JSX.Element;
274
+ /**
275
+ * The footer container for the card.
276
+ * @param props - The props for the card footer container.
277
+ * @returns A card footer container component.
278
+ */
279
+ declare const CardFooter: ({ className, ...props }: React$2.ComponentProps<'div'>) => React$2.JSX.Element;
221
280
  /**
222
281
  * Compound card component exposing structural slots for header, title, description,
223
282
  * action, content, and footer so consumers can build consistent layouts.
224
283
  */
225
- declare const Card: (({
226
- className,
227
- ...props
228
- }: React$2.ComponentProps<"div">) => React$2.JSX.Element) & {
229
- Header: ({
230
- className,
231
- ...props
232
- }: React$2.ComponentProps<"div">) => React$2.JSX.Element;
233
- Title: ({
234
- children,
235
- variant,
236
- ...props
237
- }: Omit<React$2.ComponentProps<typeof Text>, "className">) => React$2.JSX.Element;
238
- Description: ({
239
- children,
240
- ...props
241
- }: Omit<React$2.ComponentProps<typeof Text>, "variant" | "color" | "className">) => React$2.JSX.Element;
242
- Action: ({
243
- className,
244
- ...props
245
- }: React$2.ComponentProps<"div">) => React$2.JSX.Element;
246
- Content: ({
247
- className,
248
- ...props
249
- }: React$2.ComponentProps<"div">) => React$2.JSX.Element;
250
- Footer: ({
251
- className,
252
- ...props
253
- }: React$2.ComponentProps<"div">) => React$2.JSX.Element;
284
+ declare const Card: typeof CardRoot & {
285
+ Header: typeof CardHeader;
286
+ Title: typeof CardTitle;
287
+ Description: typeof CardDescription;
288
+ Action: typeof CardAction;
289
+ Content: typeof CardContent;
290
+ Footer: typeof CardFooter;
254
291
  };
255
292
  //#endregion
256
293
  //#region src/utils/accessibleLabel.d.ts
@@ -295,60 +332,36 @@ type BadgeProps = {
295
332
  /**
296
333
  * Badges display an indicator/counter on an associated component.
297
334
  */
298
- declare function Badge({
299
- appearance,
300
- variant,
301
- count,
302
- showZero,
303
- overflowCount,
304
- FORCE__className,
305
- ...props
306
- }: BadgeProps): React$2.JSX.Element | null;
335
+ declare function Badge({ appearance, variant, count, showZero, overflowCount, FORCE__className, ...props }: BadgeProps): React$2.JSX.Element | null;
307
336
  /**
308
337
  * A convenience component allowing you to easily attach a badge to another component.
309
338
  */
310
- declare function BadgeLayout({
311
- children
312
- }: React$2.PropsWithChildren): React$2.JSX.Element;
339
+ declare function BadgeLayout({ children }: React$2.PropsWithChildren): React$2.JSX.Element;
313
340
  //#endregion
314
341
  //#region src/components/ListItem/ListItem.d.ts
315
342
  type ListItemProps<As extends React$2.ElementType> = {
316
343
  as?: As;
317
344
  } & Omit<React$2.ComponentPropsWithoutRef<As>, 'className'> & StylingOverrideProps;
318
- declare function ListItem<As extends React$2.ElementType = 'li'>({
319
- as: asComponent,
320
- children,
321
- FORCE__className: classNameOverride,
322
- ...props
323
- }: ListItemProps<As>): React$2.JSX.Element;
345
+ declare function ListItem<As extends React$2.ElementType = 'li'>({ as: asComponent, children, FORCE__className: classNameOverride, ...props }: ListItemProps<As>): React$2.JSX.Element;
324
346
  declare namespace ListItem {
325
- var Content: ({
326
- children,
327
- FORCE__className
328
- }: React$2.PropsWithChildren & StylingOverrideProps) => React$2.JSX.Element;
329
- var Label: ({
330
- children,
331
- id
332
- }: ListItemLabelProps) => React$2.JSX.Element;
333
- var Description: ({
334
- children
335
- }: React$2.PropsWithChildren) => React$2.JSX.Element;
336
- var Suffix: ({
337
- children
338
- }: React$2.PropsWithChildren) => React$2.JSX.Element;
339
- var Spacer: () => React$2.JSX.Element;
340
- var Leading: ({
341
- children,
342
- FORCE__className
343
- }: React$2.PropsWithChildren & StylingOverrideProps) => React$2.JSX.Element;
344
- var Trailing: ({
345
- children,
346
- FORCE__className
347
- }: React$2.PropsWithChildren & StylingOverrideProps) => React$2.JSX.Element;
347
+ export { Content };
348
+ export { Label };
349
+ export { Description };
350
+ export { Suffix };
351
+ export { Spacer };
352
+ export { Leading };
353
+ export { Trailing };
348
354
  }
355
+ declare const Leading: ({ children, FORCE__className }: React$2.PropsWithChildren & StylingOverrideProps) => React$2.JSX.Element;
356
+ declare const Trailing: ({ children, FORCE__className }: React$2.PropsWithChildren & StylingOverrideProps) => React$2.JSX.Element;
357
+ declare const Content: ({ children, FORCE__className }: React$2.PropsWithChildren & StylingOverrideProps) => React$2.JSX.Element;
349
358
  type ListItemLabelProps = React$2.PropsWithChildren & {
350
359
  id?: string;
351
360
  };
361
+ declare const Label: ({ children, id }: ListItemLabelProps) => React$2.JSX.Element;
362
+ declare const Suffix: ({ children }: React$2.PropsWithChildren) => React$2.JSX.Element;
363
+ declare const Description: ({ children }: React$2.PropsWithChildren) => React$2.JSX.Element;
364
+ declare const Spacer: () => React$2.JSX.Element;
352
365
  //#endregion
353
366
  //#region src/components/Pill/Pill.d.ts
354
367
  type PillAppearance = 'default' | 'info' | 'danger' | 'warning' | 'success' | 'highlight';
@@ -402,22 +415,19 @@ type PillProps = React$2.HTMLAttributes<HTMLDivElement> & {
402
415
  */
403
416
  inline?: boolean;
404
417
  } & StylingOverrideProps;
405
- declare const Pill: ({
406
- children,
407
- icon: overrideIcon,
408
- variant,
409
- appearance,
410
- inline,
411
- FORCE__className: classNameOverride,
412
- ...props
413
- }: PillProps) => React$2.JSX.Element;
418
+ declare const Pill: ({ children, icon: overrideIcon, variant, appearance, inline, FORCE__className: classNameOverride, ...props }: PillProps) => React$2.JSX.Element;
414
419
  //#endregion
415
420
  //#region src/components/RadioGroup/RadioGroup.d.ts
416
421
  type RadioGroupContextValue = {
417
- /** The name of the radio group, this will act as a default name if one is not provided to the child radio components. */name?: string; /** Whether the radios in the group are required */
418
- required?: boolean; /** Whether the radios in the group are disabled */
419
- disabled?: boolean; /** The current value of the radio group */
420
- value?: string | null; /** Callback when the value of the radio group changes */
422
+ /** The name of the radio group, this will act as a default name if one is not provided to the child radio components. */
423
+ name?: string;
424
+ /** Whether the radios in the group are required */
425
+ required?: boolean;
426
+ /** Whether the radios in the group are disabled */
427
+ disabled?: boolean;
428
+ /** The current value of the radio group */
429
+ value?: string | null;
430
+ /** Callback when the value of the radio group changes */
421
431
  onChange?(e: React$2.ChangeEvent<HTMLInputElement>): void;
422
432
  /**
423
433
  * Whether the radio buttons should be displayed vertically or horizontally
@@ -429,7 +439,7 @@ type RadioGroupProps = RadioGroupContextValue & StylingOverrideProps & Omit<Reac
429
439
  /**
430
440
  * A control wrapper for a group of radio buttons.
431
441
  */
432
- declare const RadioGroup: (props: RadioGroupContextValue & StylingOverrideProps & Omit<Omit<React$2.DetailedHTMLProps<React$2.FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>, "ref">, "onChange" | "className"> & React$2.RefAttributes<HTMLFieldSetElement>) => React$2.ReactElement;
442
+ declare const RadioGroup: (props: RadioGroupContextValue & StylingOverrideProps & Omit<Omit<React$2.DetailedHTMLProps<React$2.FieldsetHTMLAttributes<HTMLFieldSetElement>, HTMLFieldSetElement>, "ref">, "className" | "onChange"> & React$2.RefAttributes<HTMLFieldSetElement>) => React$2.ReactElement;
433
443
  //#endregion
434
444
  //#region src/components/Radio/Radio.d.ts
435
445
  type ChildrenLabel = {
@@ -442,7 +452,8 @@ type ChildrenLabel = {
442
452
  */
443
453
  type LabelProps = AccessibleLabelProps | ChildrenLabel;
444
454
  type RadioProps = {
445
- /** The value of the radio button. */value: string | null;
455
+ /** The value of the radio button. */
456
+ value: string | null;
446
457
  } & Partial<RadioGroupContextValue> & LabelProps & StylingOverrideProps & Omit<React$2.ComponentPropsWithoutRef<'input'>, 'className' | 'type'>;
447
458
  /**
448
459
  * A presentational radio button component. You will typically use this component within a RadioGroup component.
@@ -490,9 +501,9 @@ type SwitchProps = AccessibleLabelProps & SwitchNativeProps & {
490
501
  declare const Switch: React$2.ForwardRefExoticComponent<SwitchProps & React$2.RefAttributes<HTMLInputElement>>;
491
502
  //#endregion
492
503
  //#region src/components/Tag/Tag.d.ts
493
- declare const tagColors: readonly ["default", "accent", "danger", "warning", "info", "success", "highlight", "brand", "amber", "blue", "bronze", "brown", "criblTeal", "crimson", "cyan", "gold", "grass", "green", "indigo", "iris", "jade", "lime", "mint", "orange", "pink", "plum", "purple", "red", "ruby", "sky", "teal", "tomato", "violet", "yellow"];
504
+ declare const tagColors: readonly ['default', 'accent', 'danger', 'warning', 'info', 'success', 'highlight', 'brand', 'amber', 'blue', 'bronze', 'brown', 'criblTeal', 'crimson', 'cyan', 'gold', 'grass', 'green', 'indigo', 'iris', 'jade', 'lime', 'mint', 'orange', 'pink', 'plum', 'purple', 'red', 'ruby', 'sky', 'teal', 'tomato', 'violet', 'yellow'];
494
505
  type TagColor = (typeof tagColors)[number];
495
- declare const tagSizes: readonly ["sm", "md"];
506
+ declare const tagSizes: readonly ['sm', 'md'];
496
507
  type TagSize = (typeof tagSizes)[number];
497
508
  type Draggable = {
498
509
  draggable: true;
@@ -532,25 +543,17 @@ type TagProps = DraggableProps & {
532
543
  /**
533
544
  * A tag component for displaying a label and an optional icon.
534
545
  */
535
- declare function Tag({
536
- draggable,
537
- color,
538
- icon: Icon,
539
- children,
540
- size,
541
- onDelete,
542
- onDragStart,
543
- onDragEnd,
544
- onHandleKeydown,
545
- FORCE__className: classNameOverride,
546
- ...props
547
- }: TagProps): React$2.JSX.Element;
546
+ declare function Tag({ draggable, color, icon: Icon, children, size, onDelete, onDragStart, onDragEnd, onHandleKeydown, FORCE__className: classNameOverride, ...props }: TagProps): React$2.JSX.Element;
548
547
  //#endregion
549
548
  //#region src/components/Checkbox/Checkbox.d.ts
550
549
  type CheckboxProps = {
551
- /** Whether the checkbox is in an indeterminate state. */indeterminate?: boolean; /** Controlled checked state. Use with onChange for controlled component. */
552
- checked?: boolean; /** Default checked state for uncontrolled component. */
553
- defaultChecked?: boolean; /** The label for the checkbox. */
550
+ /** Whether the checkbox is in an indeterminate state. */
551
+ indeterminate?: boolean;
552
+ /** Controlled checked state. Use with onChange for controlled component. */
553
+ checked?: boolean;
554
+ /** Default checked state for uncontrolled component. */
555
+ defaultChecked?: boolean;
556
+ /** The label for the checkbox. */
554
557
  children?: string | React$2.ReactNode;
555
558
  } & StylingOverrideProps & Omit<React$2.ComponentPropsWithoutRef<'input'>, 'className' | 'type'>;
556
559
  /**
@@ -565,18 +568,25 @@ type CheckboxProps = {
565
568
  * <Checkbox checked={isChecked} onChange={handleChange}>Subscribe</Checkbox>
566
569
  */
567
570
  declare const Checkbox: React$2.ForwardRefExoticComponent<{
568
- /** Whether the checkbox is in an indeterminate state. */indeterminate?: boolean; /** Controlled checked state. Use with onChange for controlled component. */
569
- checked?: boolean; /** Default checked state for uncontrolled component. */
570
- defaultChecked?: boolean; /** The label for the checkbox. */
571
+ /** Whether the checkbox is in an indeterminate state. */
572
+ indeterminate?: boolean;
573
+ /** Controlled checked state. Use with onChange for controlled component. */
574
+ checked?: boolean;
575
+ /** Default checked state for uncontrolled component. */
576
+ defaultChecked?: boolean;
577
+ /** The label for the checkbox. */
571
578
  children?: string | React$2.ReactNode;
572
- } & StylingOverrideProps & Omit<Omit<React$2.DetailedHTMLProps<React$2.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "type" | "className"> & React$2.RefAttributes<HTMLInputElement>>;
579
+ } & StylingOverrideProps & Omit<Omit<React$2.DetailedHTMLProps<React$2.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "className" | "type"> & React$2.RefAttributes<HTMLInputElement>>;
573
580
  //#endregion
574
581
  //#region src/components/Collapse/Collapse.d.ts
575
582
  /** Props forwarded to React Aria `Disclosure`; see https://reactaria.adobe.com/Disclosure */
576
583
  type CollapseDisclosureProps = Pick<DisclosureProps, 'id' | 'defaultExpanded' | 'isExpanded' | 'onExpandedChange' | 'isDisabled'>;
577
584
  type CollapseProps = StylingOverrideProps & CollapseDisclosureProps & {
578
- /** Plain string title rendered in the disclosure heading. */title: string; /** Trailing header region for actions (switches, buttons, etc.). */
579
- headerTrailingContentSlot?: React$2.ReactNode; /** Content of the disclosure panel. */
585
+ /** Plain string title rendered in the disclosure heading. */
586
+ title: string;
587
+ /** Trailing header region for actions (switches, buttons, etc.). */
588
+ headerTrailingContentSlot?: React$2.ReactNode;
589
+ /** Content of the disclosure panel. */
580
590
  children: React$2.ReactNode;
581
591
  };
582
592
  /**
@@ -586,8 +596,11 @@ type CollapseProps = StylingOverrideProps & CollapseDisclosureProps & {
586
596
  * (switches, buttons), and the panel body via **`children`**.
587
597
  */
588
598
  declare const Collapse: React$2.ForwardRefExoticComponent<StylingOverrideProps & CollapseDisclosureProps & {
589
- /** Plain string title rendered in the disclosure heading. */title: string; /** Trailing header region for actions (switches, buttons, etc.). */
590
- headerTrailingContentSlot?: React$2.ReactNode; /** Content of the disclosure panel. */
599
+ /** Plain string title rendered in the disclosure heading. */
600
+ title: string;
601
+ /** Trailing header region for actions (switches, buttons, etc.). */
602
+ headerTrailingContentSlot?: React$2.ReactNode;
603
+ /** Content of the disclosure panel. */
591
604
  children: React$2.ReactNode;
592
605
  } & React$2.RefAttributes<HTMLDivElement>>;
593
606
  //#endregion
@@ -603,26 +616,8 @@ type InputRowAddonProps = {
603
616
  */
604
617
  size?: Size$3;
605
618
  } & StylingOverrideProps & Omit<React$2.ComponentPropsWithoutRef<'span'>, 'className'>;
606
- declare function InputRowAddon({
607
- children,
608
- size,
609
- FORCE__className: classNameOverride,
610
- ...rest
611
- }: InputRowAddonProps): React$2.JSX.Element;
612
- declare namespace InputRowAddon {
613
- var displayName: string;
614
- }
615
- declare function InputRowRoot({
616
- children,
617
- FORCE__className: classNameOverride,
618
- role: roleProp,
619
- 'aria-label': ariaLabel,
620
- 'aria-labelledby': ariaLabelledBy,
621
- ...rest
622
- }: InputRowProps): React$2.JSX.Element;
623
- declare namespace InputRowRoot {
624
- var displayName: string;
625
- }
619
+ declare function InputRowAddon({ children, size, FORCE__className: classNameOverride, ...rest }: InputRowAddonProps): React$2.JSX.Element;
620
+ declare function InputRowRoot({ children, FORCE__className: classNameOverride, role: roleProp, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, ...rest }: InputRowProps): React$2.JSX.Element;
626
621
  /**
627
622
  * Horizontal flex container for visually joining inputs and addons.
628
623
  */
@@ -632,7 +627,9 @@ declare const InputRow: typeof InputRowRoot & {
632
627
  //#endregion
633
628
  //#region src/components/TextField/TextField.d.ts
634
629
  type TextFieldProps = {
635
- /** Called with the new string value when the input changes. */onChange?: (value: string) => void; /** When true, shows a character count. */
630
+ /** Called with the new string value when the input changes. */
631
+ onChange?: (value: string) => void;
632
+ /** When true, shows a character count. */
636
633
  showCount?: boolean;
637
634
  value?: string | number | undefined;
638
635
  } & FieldLayoutProps & Omit<TextInputProps, 'onChange' | 'value'>;
@@ -640,10 +637,12 @@ type TextFieldProps = {
640
637
  * Single-line text field with optional label and helper text.
641
638
  */
642
639
  declare const TextField: React$2.ForwardRefExoticComponent<{
643
- /** Called with the new string value when the input changes. */onChange?: (value: string) => void; /** When true, shows a character count. */
640
+ /** Called with the new string value when the input changes. */
641
+ onChange?: (value: string) => void;
642
+ /** When true, shows a character count. */
644
643
  showCount?: boolean;
645
644
  value?: string | number | undefined;
646
- } & FieldLayoutProps & Omit<TextInputProps, "value" | "onChange"> & React$2.RefAttributes<HTMLInputElement>>;
645
+ } & FieldLayoutProps & Omit<TextInputProps, "onChange" | "value"> & React$2.RefAttributes<HTMLInputElement>>;
647
646
  //#endregion
648
647
  //#region src/components/PasswordField/PasswordField.d.ts
649
648
  type PasswordFieldProps = Omit<TextFieldProps, 'trailingSlot' | 'type'>;
@@ -655,9 +654,13 @@ declare const PasswordField: React$2.ForwardRefExoticComponent<PasswordFieldProp
655
654
  //#endregion
656
655
  //#region src/components/NumberField/NumberField.d.ts
657
656
  type NumberFieldProps = Omit<TextInputProps, 'type' | 'onChange' | 'min' | 'max' | 'step'> & {
658
- /** Called with the unformatted number value when the number changes. */onChange?: (value: number) => void; /** Locale-aware display and parsing for the displayed value (see https://react-aria.adobe.com/NumberField#format-options) */
659
- formatOptions?: Intl.NumberFormatOptions; /** Minimum value */
660
- min?: number; /** Maximum value */
657
+ /** Called with the unformatted number value when the number changes. */
658
+ onChange?: (value: number) => void;
659
+ /** Locale-aware display and parsing for the displayed value (see https://react-aria.adobe.com/NumberField#format-options) */
660
+ formatOptions?: Intl.NumberFormatOptions;
661
+ /** Minimum value */
662
+ min?: number;
663
+ /** Maximum value */
661
664
  max?: number;
662
665
  /**
663
666
  * Step increment. When omitted, defaults to `1` (same as native `input type="number"`).
@@ -667,10 +670,14 @@ type NumberFieldProps = Omit<TextInputProps, 'type' | 'onChange' | 'min' | 'max'
667
670
  /**
668
671
  * Number field built on React Aria `NumberField`, with custom increment/decrement controls (native spinners hidden).
669
672
  */
670
- declare const NumberField: React$2.ForwardRefExoticComponent<Omit<TextInputProps, "max" | "min" | "step" | "type" | "onChange"> & {
671
- /** Called with the unformatted number value when the number changes. */onChange?: (value: number) => void; /** Locale-aware display and parsing for the displayed value (see https://react-aria.adobe.com/NumberField#format-options) */
672
- formatOptions?: Intl.NumberFormatOptions; /** Minimum value */
673
- min?: number; /** Maximum value */
673
+ declare const NumberField: React$2.ForwardRefExoticComponent<Omit<TextInputProps, "max" | "min" | "onChange" | "step" | "type"> & {
674
+ /** Called with the unformatted number value when the number changes. */
675
+ onChange?: (value: number) => void;
676
+ /** Locale-aware display and parsing for the displayed value (see https://react-aria.adobe.com/NumberField#format-options) */
677
+ formatOptions?: Intl.NumberFormatOptions;
678
+ /** Minimum value */
679
+ min?: number;
680
+ /** Maximum value */
674
681
  max?: number;
675
682
  /**
676
683
  * Step increment. When omitted, defaults to `1` (same as native `input type="number"`).
@@ -680,23 +687,37 @@ declare const NumberField: React$2.ForwardRefExoticComponent<Omit<TextInputProps
680
687
  //#endregion
681
688
  //#region src/components/DatePickerField/DatePickerField.d.ts
682
689
  type DatePickerFieldProps<T extends DateValue = DateValue> = FieldLayoutProps & Pick<TextInputProps, 'appearance' | 'size' | 'leadingSlot' | 'placeholder'> & Pick<DatePickerProps<T>, 'value' | 'defaultValue' | 'onChange'> & {
683
- /** Smallest date/time unit shown in the field. Only `day` and `second` are supported. */granularity?: 'day' | 'second';
690
+ /** Smallest date/time unit shown in the field. Only `day` and `second` are supported. */
691
+ granularity?: 'day' | 'second';
684
692
  } & StylingOverrideProps & {
685
- /** When true, shows a clear control to the left of the calendar button while the field has a value. */canClear?: boolean; /** Disables the field. */
686
- disabled?: boolean; /** Optional id for the root; associates the label and field. */
687
- id?: string; /** Read-only field. */
688
- readOnly?: boolean; /** Required field. */
689
- required?: boolean; /** Invalid value; `appearance="danger"` also forces an invalid state for display. */
693
+ /** When true, shows a clear control to the left of the calendar button while the field has a value. */
694
+ canClear?: boolean;
695
+ /** Disables the field. */
696
+ disabled?: boolean;
697
+ /** Optional id for the root; associates the label and field. */
698
+ id?: string;
699
+ /** Read-only field. */
700
+ readOnly?: boolean;
701
+ /** Required field. */
702
+ required?: boolean;
703
+ /** Invalid value; `appearance="danger"` also forces an invalid state for display. */
690
704
  isInvalid?: boolean;
691
705
  };
692
- declare const DatePickerField: React$2.ForwardRefExoticComponent<FieldLayoutProps & Pick<TextInputProps, "placeholder" | "size" | "appearance" | "leadingSlot"> & Pick<DatePickerProps<DateValue>, "value" | "onChange" | "defaultValue"> & {
693
- /** Smallest date/time unit shown in the field. Only `day` and `second` are supported. */granularity?: "day" | "second";
706
+ declare const DatePickerField: React$2.ForwardRefExoticComponent<FieldLayoutProps & Pick<TextInputProps, "appearance" | "leadingSlot" | "placeholder" | "size"> & Pick<DatePickerProps<DateValue>, "defaultValue" | "onChange" | "value"> & {
707
+ /** Smallest date/time unit shown in the field. Only `day` and `second` are supported. */
708
+ granularity?: 'day' | 'second';
694
709
  } & StylingOverrideProps & {
695
- /** When true, shows a clear control to the left of the calendar button while the field has a value. */canClear?: boolean; /** Disables the field. */
696
- disabled?: boolean; /** Optional id for the root; associates the label and field. */
697
- id?: string; /** Read-only field. */
698
- readOnly?: boolean; /** Required field. */
699
- required?: boolean; /** Invalid value; `appearance="danger"` also forces an invalid state for display. */
710
+ /** When true, shows a clear control to the left of the calendar button while the field has a value. */
711
+ canClear?: boolean;
712
+ /** Disables the field. */
713
+ disabled?: boolean;
714
+ /** Optional id for the root; associates the label and field. */
715
+ id?: string;
716
+ /** Read-only field. */
717
+ readOnly?: boolean;
718
+ /** Required field. */
719
+ required?: boolean;
720
+ /** Invalid value; `appearance="danger"` also forces an invalid state for display. */
700
721
  isInvalid?: boolean;
701
722
  } & React$2.RefAttributes<HTMLDivElement>>;
702
723
  //#endregion
@@ -704,27 +725,43 @@ declare const DatePickerField: React$2.ForwardRefExoticComponent<FieldLayoutProp
704
725
  /** Visible placeholders for empty start/end when the field is not focus-within. */
705
726
  type DateRangePickerFieldPlaceholder = readonly [string, string];
706
727
  type DateRangePickerFieldProps<T extends DateValue = DateValue> = FieldLayoutProps & Pick<TextInputProps, 'appearance' | 'size' | 'leadingSlot'> & {
707
- /** Placeholders for empty start and end, shown with a swap icon between them when the group is not focus-within. */placeholder?: DateRangePickerFieldPlaceholder;
728
+ /** Placeholders for empty start and end, shown with a swap icon between them when the group is not focus-within. */
729
+ placeholder?: DateRangePickerFieldPlaceholder;
708
730
  } & Pick<DateRangePickerProps<T>, 'value' | 'defaultValue' | 'onChange' | 'shouldCloseOnSelect'> & {
709
- /** Smallest date/time unit shown in the fields. Only `day` and `second` are supported. */granularity?: 'day' | 'second';
731
+ /** Smallest date/time unit shown in the fields. Only `day` and `second` are supported. */
732
+ granularity?: 'day' | 'second';
710
733
  } & StylingOverrideProps & {
711
- /** When true, shows a clear control to the left of the calendar button while the field has a value. */canClear?: boolean; /** Disables the field. */
712
- disabled?: boolean; /** Optional id for the root; associates the label and field. */
713
- id?: string; /** Read-only field. */
714
- readOnly?: boolean; /** Required field. */
715
- required?: boolean; /** Invalid value; `appearance="danger"` also forces an invalid state for display. */
734
+ /** When true, shows a clear control to the left of the calendar button while the field has a value. */
735
+ canClear?: boolean;
736
+ /** Disables the field. */
737
+ disabled?: boolean;
738
+ /** Optional id for the root; associates the label and field. */
739
+ id?: string;
740
+ /** Read-only field. */
741
+ readOnly?: boolean;
742
+ /** Required field. */
743
+ required?: boolean;
744
+ /** Invalid value; `appearance="danger"` also forces an invalid state for display. */
716
745
  isInvalid?: boolean;
717
746
  };
718
- declare const DateRangePickerField: React$2.ForwardRefExoticComponent<FieldLayoutProps & Pick<TextInputProps, "size" | "appearance" | "leadingSlot"> & {
719
- /** Placeholders for empty start and end, shown with a swap icon between them when the group is not focus-within. */placeholder?: DateRangePickerFieldPlaceholder;
720
- } & Pick<DateRangePickerProps<DateValue>, "value" | "onChange" | "defaultValue" | "shouldCloseOnSelect"> & {
721
- /** Smallest date/time unit shown in the fields. Only `day` and `second` are supported. */granularity?: "day" | "second";
747
+ declare const DateRangePickerField: React$2.ForwardRefExoticComponent<FieldLayoutProps & Pick<TextInputProps, "appearance" | "leadingSlot" | "size"> & {
748
+ /** Placeholders for empty start and end, shown with a swap icon between them when the group is not focus-within. */
749
+ placeholder?: DateRangePickerFieldPlaceholder;
750
+ } & Pick<DateRangePickerProps<DateValue>, "defaultValue" | "onChange" | "shouldCloseOnSelect" | "value"> & {
751
+ /** Smallest date/time unit shown in the fields. Only `day` and `second` are supported. */
752
+ granularity?: 'day' | 'second';
722
753
  } & StylingOverrideProps & {
723
- /** When true, shows a clear control to the left of the calendar button while the field has a value. */canClear?: boolean; /** Disables the field. */
724
- disabled?: boolean; /** Optional id for the root; associates the label and field. */
725
- id?: string; /** Read-only field. */
726
- readOnly?: boolean; /** Required field. */
727
- required?: boolean; /** Invalid value; `appearance="danger"` also forces an invalid state for display. */
754
+ /** When true, shows a clear control to the left of the calendar button while the field has a value. */
755
+ canClear?: boolean;
756
+ /** Disables the field. */
757
+ disabled?: boolean;
758
+ /** Optional id for the root; associates the label and field. */
759
+ id?: string;
760
+ /** Read-only field. */
761
+ readOnly?: boolean;
762
+ /** Required field. */
763
+ required?: boolean;
764
+ /** Invalid value; `appearance="danger"` also forces an invalid state for display. */
728
765
  isInvalid?: boolean;
729
766
  } & React$2.RefAttributes<HTMLDivElement>>;
730
767
  //#endregion
@@ -751,8 +788,10 @@ type TextAreaProps = {
751
788
  * `true` grows with content; use `{ minRows, maxRows }` to clamp height.
752
789
  * When enabled, manual vertical resize is disabled (`resize: none`).
753
790
  */
754
- autoSize?: TextAreaAutoSize; /** When true, shows a character count. */
755
- showCount?: boolean; /** Called with the new string value when the input changes. */
791
+ autoSize?: TextAreaAutoSize;
792
+ /** When true, shows a character count. */
793
+ showCount?: boolean;
794
+ /** Called with the new string value when the input changes. */
756
795
  onChange?: (value: string) => void;
757
796
  } & FieldLayoutProps & StylingOverrideProps & Omit<React$2.ComponentPropsWithoutRef<'textarea'>, 'className' | 'style' | 'size' | 'onChange'>;
758
797
  /**
@@ -774,28 +813,39 @@ declare const TextArea: React$2.ForwardRefExoticComponent<{
774
813
  * `true` grows with content; use `{ minRows, maxRows }` to clamp height.
775
814
  * When enabled, manual vertical resize is disabled (`resize: none`).
776
815
  */
777
- autoSize?: TextAreaAutoSize; /** When true, shows a character count. */
778
- showCount?: boolean; /** Called with the new string value when the input changes. */
816
+ autoSize?: TextAreaAutoSize;
817
+ /** When true, shows a character count. */
818
+ showCount?: boolean;
819
+ /** Called with the new string value when the input changes. */
779
820
  onChange?: (value: string) => void;
780
- } & FieldLayoutProps & StylingOverrideProps & Omit<Omit<React$2.DetailedHTMLProps<React$2.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref">, "style" | "size" | "onChange" | "className"> & React$2.RefAttributes<HTMLTextAreaElement>>;
821
+ } & FieldLayoutProps & StylingOverrideProps & Omit<Omit<React$2.DetailedHTMLProps<React$2.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref">, "className" | "onChange" | "size" | "style"> & React$2.RefAttributes<HTMLTextAreaElement>>;
781
822
  //#endregion
782
823
  //#region src/components/Modal/Modal.d.ts
783
824
  type ModalSize = 'sm' | 'md' | 'lg';
784
825
  type ModalProps = React$2.PropsWithChildren<{
785
- /** Controlled open state */isOpen?: boolean; /** Called when open state changes */
786
- onIsOpenChange?: (open: boolean) => void; /** Modal title shown in the header */
787
- title?: React$2.ReactNode; /** Label for the confirm action button */
788
- confirmButtonText?: string; /** Label for the cancel action button. Pass `null` to hide the secondary button. */
826
+ /** Controlled open state */
827
+ isOpen?: boolean;
828
+ /** Called when open state changes */
829
+ onIsOpenChange?: (open: boolean) => void;
830
+ /** Modal title shown in the header */
831
+ title?: React$2.ReactNode;
832
+ /** Label for the confirm action button */
833
+ confirmButtonText?: string;
834
+ /** Label for the cancel action button. Pass `null` to hide the secondary button. */
789
835
  cancelButtonText?: string | null;
790
836
  /**
791
837
  * Called when the confirm action button is pressed.
792
838
  *
793
839
  * If the handler returns a promise, the button will display a pending state until the promise is fulfilled. The modal will close automatically when the promise is fulfilled **regardless of whether the promise is resolved or rejected**.
794
840
  */
795
- onConfirm?: () => void; /** Called when cancel/overlay dismiss is triggered */
796
- onClose?: () => void; /** Optional footer content (e.g. action buttons). If provided, it replaces the default footer in which case the primary and secondary buttons will not show. Pass `null` to completely hide all footers. */
797
- footer?: React$2.ReactNode; /** Width variant */
798
- size?: ModalSize; /** If false, remove the close button in the header and prevent `Esc` from closing the modal. Defaults to `true`. */
841
+ onConfirm?: () => void;
842
+ /** Called when cancel/overlay dismiss is triggered */
843
+ onClose?: () => void;
844
+ /** Optional footer content (e.g. action buttons). If provided, it replaces the default footer in which case the primary and secondary buttons will not show. Pass `null` to completely hide all footers. */
845
+ footer?: React$2.ReactNode;
846
+ /** Width variant */
847
+ size?: ModalSize;
848
+ /** If false, remove the close button in the header and prevent `Esc` from closing the modal. Defaults to `true`. */
799
849
  isDismissible?: boolean;
800
850
  /**
801
851
  * The container to mount the modal in. Defaults to `document.body`.
@@ -808,49 +858,32 @@ type ModalProps = React$2.PropsWithChildren<{
808
858
  type ModalCreateOptions = Omit<ConfirmationModalProps, 'appearance' | 'isOpen'>;
809
859
  /** Return value of Modal.create() */
810
860
  type ModalCreateResult = {
811
- /** Close the modal. Safe to call multiple times. */close: () => void; /** Promise that resolves when the modal has closed (after close is called or user dismisses). */
861
+ /** Close the modal. Safe to call multiple times. */
862
+ close: () => void;
863
+ /** Promise that resolves when the modal has closed (after close is called or user dismisses). */
812
864
  closed: Promise<void>;
813
865
  };
814
- declare const appearances$1: readonly ["default", "info", "danger", "warning", "success"];
866
+ declare const appearances$1: readonly ['default', 'info', 'danger', 'warning', 'success'];
815
867
  type Appearance$1 = (typeof appearances$1)[number];
816
868
  type ConfirmationModalProps = Omit<ModalProps, 'title' | 'footer' | 'size' | 'isDismissible' | 'FORCE__className'> & {
817
- /** Visual appearance of the confirmation modal */appearance?: Appearance$1; /** Modal title shown in the header */
818
- title: string; /** Confirmation content */
869
+ /** Visual appearance of the confirmation modal */
870
+ appearance?: Appearance$1;
871
+ /** Modal title shown in the header */
872
+ title: string;
873
+ /** Confirmation content */
819
874
  content?: React$2.ReactNode;
820
875
  };
821
- declare function ModalInner({
822
- children,
823
- isOpen: open,
824
- onIsOpenChange: onOpenChange,
825
- title,
826
- footer,
827
- size,
828
- isDismissible,
829
- FORCE__className,
830
- confirmButtonText,
831
- cancelButtonText,
832
- onClose,
833
- onConfirm,
834
- getContainer
835
- }: ModalProps): React$2.JSX.Element;
836
- declare function ModalFooterActions({
837
- children
838
- }: {
876
+ declare function ModalInner({ children, isOpen: open, onIsOpenChange: onOpenChange, title, footer, size, isDismissible, FORCE__className, confirmButtonText, cancelButtonText, onClose, onConfirm, getContainer }: ModalProps): React$2.JSX.Element;
877
+ declare function ModalFooterActions({ children }: {
839
878
  children: React$2.ReactNode;
840
879
  }): React$2.JSX.Element;
841
- declare function ModalExpandedFooterLayout({
842
- children
843
- }: {
880
+ declare function ModalExpandedFooterLayout({ children }: {
844
881
  children: React$2.ReactNode;
845
882
  }): React$2.JSX.Element;
846
- declare function ModalHeading({
847
- children
848
- }: {
883
+ declare function ModalHeading({ children }: {
849
884
  children: React$2.ReactNode;
850
885
  }): React$2.JSX.Element;
851
- declare function ModalExpandedTitleLayout({
852
- children
853
- }: {
886
+ declare function ModalExpandedTitleLayout({ children }: {
854
887
  children: React$2.ReactNode;
855
888
  }): React$2.JSX.Element;
856
889
  declare const Modal: typeof ModalInner & {
@@ -877,7 +910,8 @@ type DrawerProps = {
877
910
  * Called when the drawer should close: header dismiss, footer actions you wire up, scrim click (when a scrim is
878
911
  * shown), or Escape.
879
912
  */
880
- onClose?: (event?: React$2.MouseEvent | React$2.KeyboardEvent) => void; /** Called when the drawer open state changes (after render). */
913
+ onClose?: (event?: React$2.MouseEvent | React$2.KeyboardEvent) => void;
914
+ /** Called when the drawer open state changes (after render). */
881
915
  onOpenChange?: (isOpen: boolean) => void;
882
916
  /**
883
917
  * Which vertical edge the drawer attaches to (Capra does not support top/bottom drawers).
@@ -893,7 +927,8 @@ type DrawerProps = {
893
927
  * Header content: pass a string for a single heading, or compose with `Drawer.Heading`, optional
894
928
  * `Drawer.Description`, `Drawer.ExpandedTitleLayout`, and `Breadcrumbs` (same idea as `Modal`).
895
929
  */
896
- title?: React$2.ReactNode; /** Footer region, typically actions. */
930
+ title?: React$2.ReactNode;
931
+ /** Footer region, typically actions. */
897
932
  footer?: React$2.ReactNode;
898
933
  /**
899
934
  * Whether to show the dismiss control in the header.
@@ -917,41 +952,21 @@ type DrawerProps = {
917
952
  * props; structure is an implementation detail and may change across releases.
918
953
  */
919
954
  FORCE__className?: string;
920
- children?: React$2.ReactNode; /** Pass-through when no visible title is provided. */
955
+ children?: React$2.ReactNode;
956
+ /** Pass-through when no visible title is provided. */
921
957
  'aria-label'?: string;
922
958
  };
923
- declare function DrawerHeading({
924
- children,
925
- id: idProp
926
- }: {
959
+ declare function DrawerHeading({ children, id: idProp }: {
927
960
  children: React$2.ReactNode;
928
961
  id?: string;
929
962
  }): React$2.JSX.Element;
930
- declare function DrawerExpandedTitleLayout({
931
- children
932
- }: {
963
+ declare function DrawerExpandedTitleLayout({ children }: {
933
964
  children: React$2.ReactNode;
934
965
  }): React$2.JSX.Element;
935
- declare function DrawerDescription({
936
- children
937
- }: {
966
+ declare function DrawerDescription({ children }: {
938
967
  children: React$2.ReactNode;
939
968
  }): React$2.JSX.Element;
940
- declare function DrawerInner({
941
- isOpen,
942
- onClose,
943
- onOpenChange,
944
- placement,
945
- width,
946
- title,
947
- footer,
948
- closable,
949
- modal,
950
- getContainer,
951
- FORCE__className,
952
- children,
953
- 'aria-label': ariaLabel
954
- }: DrawerProps): React$2.ReactPortal | null;
969
+ declare function DrawerInner({ isOpen, onClose, onOpenChange, placement, width, title, footer, closable, modal, getContainer, FORCE__className, children, 'aria-label': ariaLabel }: DrawerProps): React$2.ReactPortal | null;
955
970
  /**
956
971
  * A side sheet aligned with Capra design: supports **modal** (scrim + scroll lock + focus trap) and **non-modal**
957
972
  * (parallel interaction with the main page) modes, and Ant Design–compatible props where applicable.
@@ -1017,18 +1032,12 @@ type PopoverProps = {
1017
1032
  /**
1018
1033
  * A popover component that renders a trigger and popover content.
1019
1034
  */
1020
- declare function Popover({
1021
- content,
1022
- children,
1023
- isOpen,
1024
- onOpenChange,
1025
- ...props
1026
- }: PopoverProps): React$2.JSX.Element;
1035
+ declare function Popover({ content, children, isOpen, onOpenChange, ...props }: PopoverProps): React$2.JSX.Element;
1027
1036
  //#endregion
1028
1037
  //#region src/components/Ribbon/Ribbon.d.ts
1029
- declare const ribbonColors: readonly ["teal", "green", "purple"];
1038
+ declare const ribbonColors: readonly ['teal', 'green', 'purple'];
1030
1039
  type RibbonColor = (typeof ribbonColors)[number];
1031
- declare const ribbonPositions: readonly ["left", "right"];
1040
+ declare const ribbonPositions: readonly ['left', 'right'];
1032
1041
  type RibbonPosition = (typeof ribbonPositions)[number];
1033
1042
  type RibbonProps = StylingOverrideProps & Omit<React$2.HTMLAttributes<HTMLDivElement>, 'className' | 'style'> & {
1034
1043
  /**
@@ -1059,15 +1068,7 @@ type RibbonProps = StylingOverrideProps & Omit<React$2.HTMLAttributes<HTMLDivEle
1059
1068
  * A ribbon component used to highlight new features that exist in a 'preview' state.
1060
1069
  * Ribbons communicate that users may encounter errors when using these features.
1061
1070
  */
1062
- declare const Ribbon: ({
1063
- children,
1064
- FORCE__className: classNameOverride,
1065
- color,
1066
- leadingIcon: LeadingIcon,
1067
- position,
1068
- trailingIcon: TrailingIcon,
1069
- ...props
1070
- }: RibbonProps) => React$2.JSX.Element;
1071
+ declare const Ribbon: ({ children, FORCE__className: classNameOverride, color, leadingIcon: LeadingIcon, position, trailingIcon: TrailingIcon, ...props }: RibbonProps) => React$2.JSX.Element;
1071
1072
  //#endregion
1072
1073
  //#region src/components/Anchor/Anchor.d.ts
1073
1074
  type AnchorProps<As extends React$2.ElementType> = {
@@ -1116,39 +1117,59 @@ declare const Anchor: <As extends React$2.ElementType = "a">(props: {
1116
1117
  } & StylingOverrideProps & Omit<React$2.PropsWithoutRef<React$2.ComponentProps<As>>, "className"> & React$2.RefAttributes<unknown>) => React$2.ReactElement;
1117
1118
  //#endregion
1118
1119
  //#region src/components/Button/Button.d.ts
1119
- declare const variants: readonly ["primary", "secondary", "tertiary"];
1120
+ declare const variants: readonly ['primary', 'secondary', 'tertiary'];
1120
1121
  type Variant = (typeof variants)[number];
1121
- declare const appearances: readonly ["default", "danger", "neutral"];
1122
+ declare const appearances: readonly ['default', 'danger', 'neutral'];
1122
1123
  type Appearance = (typeof appearances)[number];
1123
- declare const sizes$1: readonly ["xs", "sm", "md", "lg", "xl"];
1124
+ declare const sizes$1: readonly ['xs', 'sm', 'md', 'lg', 'xl'];
1124
1125
  type Size$2 = (typeof sizes$1)[number];
1125
1126
  type ButtonProps = {
1126
- /** The `label` for the button. */children: string; /** Which button style to use. Defaults to `secondary`. */
1127
- variant?: Variant; /** Appearance to apply to the button. Defaults to `default`. */
1128
- appearance?: Appearance; /** Size of the button. Defaults to `md`. */
1129
- size?: Size$2; /** Whether the button is disabled. */
1130
- disabled?: boolean; /** Whether the button is in a pending state. */
1131
- pending?: boolean; /** Icon to display before the button text. */
1132
- leadingIcon?: SvgIcon; /** Icon to display after the button text. */
1133
- trailingIcon?: SvgIcon; /** Whether to display the button as a block-level (full-width) component. Defaults to `false`. */
1134
- block?: boolean; /** Click handler for the button. */
1127
+ /** The `label` for the button. */
1128
+ children: string;
1129
+ /** Which button style to use. Defaults to `secondary`. */
1130
+ variant?: Variant;
1131
+ /** Appearance to apply to the button. Defaults to `default`. */
1132
+ appearance?: Appearance;
1133
+ /** Size of the button. Defaults to `md`. */
1134
+ size?: Size$2;
1135
+ /** Whether the button is disabled. */
1136
+ disabled?: boolean;
1137
+ /** Whether the button is in a pending state. */
1138
+ pending?: boolean;
1139
+ /** Icon to display before the button text. */
1140
+ leadingIcon?: SvgIcon;
1141
+ /** Icon to display after the button text. */
1142
+ trailingIcon?: SvgIcon;
1143
+ /** Whether to display the button as a block-level (full-width) component. Defaults to `false`. */
1144
+ block?: boolean;
1145
+ /** Click handler for the button. */
1135
1146
  onClick?: React$2.ComponentProps<'button'>['onClick'];
1136
1147
  } & StylingOverrideProps & Omit<ButtonProps$1, 'className' | 'isDisabled' | 'isPending' | 'onClick'>;
1137
1148
  /**
1138
1149
  * Primary interactive element displaying text and supporting leading and trailing icons.
1139
1150
  */
1140
1151
  declare const Button: (props: {
1141
- /** The `label` for the button. */children: string; /** Which button style to use. Defaults to `secondary`. */
1142
- variant?: Variant; /** Appearance to apply to the button. Defaults to `default`. */
1143
- appearance?: Appearance; /** Size of the button. Defaults to `md`. */
1144
- size?: Size$2; /** Whether the button is disabled. */
1145
- disabled?: boolean; /** Whether the button is in a pending state. */
1146
- pending?: boolean; /** Icon to display before the button text. */
1147
- leadingIcon?: SvgIcon; /** Icon to display after the button text. */
1148
- trailingIcon?: SvgIcon; /** Whether to display the button as a block-level (full-width) component. Defaults to `false`. */
1149
- block?: boolean; /** Click handler for the button. */
1150
- onClick?: React$2.ComponentProps<"button">["onClick"];
1151
- } & StylingOverrideProps & Omit<ButtonProps$1, "className" | "onClick" | "isDisabled" | "isPending"> & React$2.RefAttributes<HTMLButtonElement>) => React$2.ReactElement;
1152
+ /** The `label` for the button. */
1153
+ children: string;
1154
+ /** Which button style to use. Defaults to `secondary`. */
1155
+ variant?: Variant;
1156
+ /** Appearance to apply to the button. Defaults to `default`. */
1157
+ appearance?: Appearance;
1158
+ /** Size of the button. Defaults to `md`. */
1159
+ size?: Size$2;
1160
+ /** Whether the button is disabled. */
1161
+ disabled?: boolean;
1162
+ /** Whether the button is in a pending state. */
1163
+ pending?: boolean;
1164
+ /** Icon to display before the button text. */
1165
+ leadingIcon?: SvgIcon;
1166
+ /** Icon to display after the button text. */
1167
+ trailingIcon?: SvgIcon;
1168
+ /** Whether to display the button as a block-level (full-width) component. Defaults to `false`. */
1169
+ block?: boolean;
1170
+ /** Click handler for the button. */
1171
+ onClick?: React$2.ComponentProps<'button'>['onClick'];
1172
+ } & StylingOverrideProps & Omit<ButtonProps$1, "className" | "isDisabled" | "isPending" | "onClick"> & React$2.RefAttributes<HTMLButtonElement>) => React$2.ReactElement;
1152
1173
  //#endregion
1153
1174
  //#region src/utils/routing.d.ts
1154
1175
  /**
@@ -1181,57 +1202,93 @@ interface RoutedLinkProps {
1181
1202
  //#endregion
1182
1203
  //#region src/components/Link/ButtonLink.d.ts
1183
1204
  type ButtonLinkProps<As extends React$2.ElementType> = {
1184
- /** The `label` for the link. */children: string; /** Which visual style to use. Defaults to `secondary`. */
1185
- variant?: Variant; /** Appearance to apply to the link. Defaults to `default`. */
1186
- appearance?: Appearance; /** Size of the link. Defaults to `md`. */
1187
- size?: Size$2; /** Whether the link is disabled. */
1188
- disabled?: boolean; /** Whether the link is in a pending state. */
1189
- pending?: boolean; /** Icon to display before the link text. */
1190
- leadingIcon?: SvgIcon; /** Icon to display after the link text. */
1191
- trailingIcon?: SvgIcon; /** Whether to display the link as a block-level (full-width) component. Defaults to `false`. */
1192
- block?: boolean; /** The underlying element rendered by the component. Defaults to `a`. */
1205
+ /** The `label` for the link. */
1206
+ children: string;
1207
+ /** Which visual style to use. Defaults to `secondary`. */
1208
+ variant?: Variant;
1209
+ /** Appearance to apply to the link. Defaults to `default`. */
1210
+ appearance?: Appearance;
1211
+ /** Size of the link. Defaults to `md`. */
1212
+ size?: Size$2;
1213
+ /** Whether the link is disabled. */
1214
+ disabled?: boolean;
1215
+ /** Whether the link is in a pending state. */
1216
+ pending?: boolean;
1217
+ /** Icon to display before the link text. */
1218
+ leadingIcon?: SvgIcon;
1219
+ /** Icon to display after the link text. */
1220
+ trailingIcon?: SvgIcon;
1221
+ /** Whether to display the link as a block-level (full-width) component. Defaults to `false`. */
1222
+ block?: boolean;
1223
+ /** The underlying element rendered by the component. Defaults to `a`. */
1193
1224
  as?: As;
1194
1225
  } & RoutedLinkProps & StylingOverrideProps & Omit<React$2.ComponentPropsWithoutRef<As>, 'className'>;
1195
1226
  /**
1196
1227
  * Primary interactive element displaying text and supporting leading and trailing icons.
1197
1228
  */
1198
1229
  declare const ButtonLink: <As extends React$2.ElementType = "a">(props: {
1199
- /** The `label` for the link. */children: string; /** Which visual style to use. Defaults to `secondary`. */
1200
- variant?: Variant; /** Appearance to apply to the link. Defaults to `default`. */
1201
- appearance?: Appearance; /** Size of the link. Defaults to `md`. */
1202
- size?: Size$2; /** Whether the link is disabled. */
1203
- disabled?: boolean; /** Whether the link is in a pending state. */
1204
- pending?: boolean; /** Icon to display before the link text. */
1205
- leadingIcon?: SvgIcon; /** Icon to display after the link text. */
1206
- trailingIcon?: SvgIcon; /** Whether to display the link as a block-level (full-width) component. Defaults to `false`. */
1207
- block?: boolean; /** The underlying element rendered by the component. Defaults to `a`. */
1230
+ /** The `label` for the link. */
1231
+ children: string;
1232
+ /** Which visual style to use. Defaults to `secondary`. */
1233
+ variant?: Variant;
1234
+ /** Appearance to apply to the link. Defaults to `default`. */
1235
+ appearance?: Appearance;
1236
+ /** Size of the link. Defaults to `md`. */
1237
+ size?: Size$2;
1238
+ /** Whether the link is disabled. */
1239
+ disabled?: boolean;
1240
+ /** Whether the link is in a pending state. */
1241
+ pending?: boolean;
1242
+ /** Icon to display before the link text. */
1243
+ leadingIcon?: SvgIcon;
1244
+ /** Icon to display after the link text. */
1245
+ trailingIcon?: SvgIcon;
1246
+ /** Whether to display the link as a block-level (full-width) component. Defaults to `false`. */
1247
+ block?: boolean;
1248
+ /** The underlying element rendered by the component. Defaults to `a`. */
1208
1249
  as?: As | undefined;
1209
1250
  } & RoutedLinkProps & StylingOverrideProps & Omit<React$2.PropsWithoutRef<React$2.ComponentProps<As>>, "className"> & React$2.RefAttributes<unknown>) => React$2.ReactElement;
1210
1251
  //#endregion
1211
1252
  //#region src/components/Button/IconButton.d.ts
1212
1253
  type IconButtonProps = {
1213
- /** Icon to display in the button. */icon: SvgIcon; /** Accessibility label to apply to the button. */
1214
- 'aria-label': string; /** Which button style to use. Defaults to `secondary`. */
1215
- variant?: Variant; /** Appearance to apply to the button. Defaults to `default`. */
1216
- appearance?: Appearance; /** Size of the button. Defaults to `md`. */
1217
- size?: Size$2; /** Whether the button is disabled. */
1218
- disabled?: boolean; /** Whether the button is in a pending state. */
1219
- pending?: boolean; /** Click handler for the button. */
1254
+ /** Icon to display in the button. */
1255
+ icon: SvgIcon;
1256
+ /** Accessibility label to apply to the button. */
1257
+ 'aria-label': string;
1258
+ /** Which button style to use. Defaults to `secondary`. */
1259
+ variant?: Variant;
1260
+ /** Appearance to apply to the button. Defaults to `default`. */
1261
+ appearance?: Appearance;
1262
+ /** Size of the button. Defaults to `md`. */
1263
+ size?: Size$2;
1264
+ /** Whether the button is disabled. */
1265
+ disabled?: boolean;
1266
+ /** Whether the button is in a pending state. */
1267
+ pending?: boolean;
1268
+ /** Click handler for the button. */
1220
1269
  onClick?: React$2.ComponentProps<'button'>['onClick'];
1221
1270
  } & StylingOverrideProps & Omit<ButtonProps$1, 'className' | 'isDisabled' | 'isPending' | 'onClick'>;
1222
1271
  /**
1223
1272
  * Interactive element displaying a single icon.
1224
1273
  */
1225
1274
  declare const IconButton: (props: {
1226
- /** Icon to display in the button. */icon: SvgIcon; /** Accessibility label to apply to the button. */
1227
- 'aria-label': string; /** Which button style to use. Defaults to `secondary`. */
1228
- variant?: Variant; /** Appearance to apply to the button. Defaults to `default`. */
1229
- appearance?: Appearance; /** Size of the button. Defaults to `md`. */
1230
- size?: Size$2; /** Whether the button is disabled. */
1231
- disabled?: boolean; /** Whether the button is in a pending state. */
1232
- pending?: boolean; /** Click handler for the button. */
1233
- onClick?: React$2.ComponentProps<"button">["onClick"];
1234
- } & StylingOverrideProps & Omit<ButtonProps$1, "className" | "onClick" | "isDisabled" | "isPending"> & React$2.RefAttributes<HTMLButtonElement>) => React$2.ReactElement;
1275
+ /** Icon to display in the button. */
1276
+ icon: SvgIcon;
1277
+ /** Accessibility label to apply to the button. */
1278
+ 'aria-label': string;
1279
+ /** Which button style to use. Defaults to `secondary`. */
1280
+ variant?: Variant;
1281
+ /** Appearance to apply to the button. Defaults to `default`. */
1282
+ appearance?: Appearance;
1283
+ /** Size of the button. Defaults to `md`. */
1284
+ size?: Size$2;
1285
+ /** Whether the button is disabled. */
1286
+ disabled?: boolean;
1287
+ /** Whether the button is in a pending state. */
1288
+ pending?: boolean;
1289
+ /** Click handler for the button. */
1290
+ onClick?: React$2.ComponentProps<'button'>['onClick'];
1291
+ } & StylingOverrideProps & Omit<ButtonProps$1, "className" | "isDisabled" | "isPending" | "onClick"> & React$2.RefAttributes<HTMLButtonElement>) => React$2.ReactElement;
1235
1292
  //#endregion
1236
1293
  //#region src/components/Link/Link.d.ts
1237
1294
  type LinkProps<As extends React$2.ElementType> = {
@@ -1333,48 +1390,24 @@ type VerticalNavigationItemProps<As extends React$2.ElementType> = VerticalNavig
1333
1390
  * Can be a link (if href is provided) or a button.
1334
1391
  * Supports icons, active state, and 'subItem' variant for indentation.
1335
1392
  */
1336
- declare const Item: <As extends React$2.ElementType>({
1337
- as,
1338
- icon,
1339
- label,
1340
- isActive,
1341
- href,
1342
- FORCE__className,
1343
- isDisabled,
1344
- onClick,
1345
- variant,
1346
- rightElement,
1347
- ...props
1348
- }: VerticalNavigationItemProps<As>) => React$2.JSX.Element;
1393
+ declare const Item: <As extends React$2.ElementType>({ as, icon, label, isActive, href, FORCE__className, isDisabled, onClick, variant, rightElement, ...props }: VerticalNavigationItemProps<As>) => React$2.JSX.Element;
1349
1394
  interface VerticalNavigationCollapseProps extends React$2.ButtonHTMLAttributes<HTMLButtonElement>, StylingOverrideProps {}
1350
1395
  /**
1351
1396
  * A toggle button to collapse/expand the navigation.
1352
1397
  * Should be placed within VerticalNavigation to control its state.
1353
1398
  */
1354
- declare const Collapse$1: ({
1355
- FORCE__className,
1356
- onClick,
1357
- ...props
1358
- }: VerticalNavigationCollapseProps) => React$2.JSX.Element;
1399
+ declare const Collapse$1: ({ FORCE__className, onClick, ...props }: VerticalNavigationCollapseProps) => React$2.JSX.Element;
1359
1400
  interface VerticalNavigationItemListProps extends React$2.HTMLAttributes<HTMLUListElement>, StylingOverrideProps {}
1360
1401
  /**
1361
1402
  * Container for the primary list of navigation items.
1362
1403
  * Renders an unordered list with consistent spacing and layout.
1363
1404
  */
1364
- declare const ItemList: ({
1365
- children,
1366
- FORCE__className,
1367
- ...props
1368
- }: VerticalNavigationItemListProps) => React$2.JSX.Element;
1405
+ declare const ItemList: ({ children, FORCE__className, ...props }: VerticalNavigationItemListProps) => React$2.JSX.Element;
1369
1406
  interface VerticalNavigationFooterProps extends React$2.HTMLAttributes<HTMLUListElement>, StylingOverrideProps {}
1370
1407
  /**
1371
1408
  * Secondary container for footer navigation actions such as settings or help.
1372
1409
  */
1373
- declare const Footer: ({
1374
- children,
1375
- FORCE__className,
1376
- ...props
1377
- }: VerticalNavigationFooterProps) => React$2.JSX.Element;
1410
+ declare const Footer: ({ children, FORCE__className, ...props }: VerticalNavigationFooterProps) => React$2.JSX.Element;
1378
1411
  interface VerticalNavigationComponent {
1379
1412
  (props: VerticalNavigationProps): JSX.Element;
1380
1413
  Item: typeof Item;
@@ -1390,54 +1423,50 @@ declare const VerticalNavigation: VerticalNavigationComponent;
1390
1423
  //#endregion
1391
1424
  //#region src/components/EmptyState/EmptyState.d.ts
1392
1425
  /** Valid illustration slugs for the EmptyState component. */
1393
- declare const illustrationSlugs: readonly ["EmptyFolder", "ArtSupplies", "EmptyBowl", "EmptySuitcase", "Envelope", "MissingSock", "PizzaBox", "PottedPlant", "Sandcastle"];
1426
+ declare const illustrationSlugs: readonly ['EmptyFolder', 'ArtSupplies', 'EmptyBowl', 'EmptySuitcase', 'Envelope', 'MissingSock', 'PizzaBox', 'PottedPlant', 'Sandcastle'];
1394
1427
  type EmptyStateIllustrationSlug = (typeof illustrationSlugs)[number];
1395
1428
  type EmptyStateProps = {
1396
- /** The illustration to display, identified by slug. Use theme to switch between light/dark variants when available. @default "EmptyFolder" */illustration?: EmptyStateIllustrationSlug; /** The theme for the illustration. Determines which variant to show when light/dark variants exist. @default "light" */
1397
- theme?: 'light' | 'dark'; /** The size of the empty state. `lg` is for large components or the whole pages. @default "md" */
1398
- size?: 'md' | 'lg'; /** The title to display in the empty state. */
1399
- title: string; /** The description to display in the empty state. Please do not skip this property without a good reason. */
1400
- description?: string; /** Generic use for adding a button or other action elements below the description. */
1429
+ /** The illustration to display, identified by slug. Use theme to switch between light/dark variants when available. @default "EmptyFolder" */
1430
+ illustration?: EmptyStateIllustrationSlug;
1431
+ /** The theme for the illustration. Determines which variant to show when light/dark variants exist. @default "light" */
1432
+ theme?: 'light' | 'dark';
1433
+ /** The size of the empty state. `lg` is for large components or the whole pages. @default "md" */
1434
+ size?: 'md' | 'lg';
1435
+ /** The title to display in the empty state. */
1436
+ title: string;
1437
+ /** The description to display in the empty state. Please do not skip this property without a good reason. */
1438
+ description?: string;
1439
+ /** Generic use for adding a button or other action elements below the description. */
1401
1440
  children?: React$1.ReactNode;
1402
1441
  } & StylingOverrideProps & React$1.HTMLAttributes<HTMLDivElement>;
1403
- /**
1404
- * The EmptyState component is used to display a message when there is no data to display.
1405
- * Illustrations are lazy-loaded and support light/dark themes via the theme prop.
1406
- * @example
1407
- * <EmptyState title="No data" description="There is no data to display" illustration="EmptyFolder" />
1408
- * <EmptyState title="No data" illustration="EmptyFolder" theme="dark" />
1409
- */
1410
- declare const EmptyState: {
1411
- (props: EmptyStateProps): React$1.JSX.Element;
1412
- displayName: string;
1413
- };
1442
+ declare function EmptyState(props: EmptyStateProps): React$1.JSX.Element;
1443
+ declare namespace EmptyState {
1444
+ var displayName: string;
1445
+ }
1414
1446
  //#endregion
1415
1447
  //#region src/components/Pagination/Pagination.d.ts
1416
1448
  type PaginationProps = {
1417
- /** Total number of data items. Used with `pageSize` to compute total pages. */total: number; /** Current page number (1-based). */
1418
- current: number; /** Number of items per page. Defaults to `10`. */
1419
- pageSize?: number; /** Callback when page changes. */
1420
- onChange?: (page: number, pageSize: number) => void; /** Whether the pagination is disabled. */
1421
- disabled?: boolean; /** Accessible name for the navigation. Required for accessibility. */
1449
+ /** Total number of data items. Used with `pageSize` to compute total pages. */
1450
+ total: number;
1451
+ /** Current page number (1-based). */
1452
+ current: number;
1453
+ /** Number of items per page. Defaults to `10`. */
1454
+ pageSize?: number;
1455
+ /** Callback when page changes. */
1456
+ onChange?: (page: number, pageSize: number) => void;
1457
+ /** Whether the pagination is disabled. */
1458
+ disabled?: boolean;
1459
+ /** Accessible name for the navigation. Required for accessibility. */
1422
1460
  'aria-label': string;
1423
1461
  } & StylingOverrideProps & Omit<React$2.ComponentPropsWithoutRef<'nav'>, 'className' | 'aria-label' | 'onChange'>;
1424
1462
  /**
1425
1463
  * Pagination component for navigating through paged content.
1426
1464
  * Renders prev/next buttons and a page number input with total pages indicator.
1427
1465
  */
1428
- declare function Pagination({
1429
- total,
1430
- current,
1431
- pageSize,
1432
- onChange,
1433
- disabled,
1434
- 'aria-label': ariaLabel,
1435
- FORCE__className: classNameOverride,
1436
- ...props
1437
- }: PaginationProps): React$2.JSX.Element;
1466
+ declare function Pagination({ total, current, pageSize, onChange, disabled, 'aria-label': ariaLabel, FORCE__className: classNameOverride, ...props }: PaginationProps): React$2.JSX.Element;
1438
1467
  //#endregion
1439
1468
  //#region src/components/Breadcrumbs/Breadcrumbs.d.ts
1440
- declare const sizes: readonly ["sm", "md"];
1469
+ declare const sizes: readonly ['sm', 'md'];
1441
1470
  type Size$1 = (typeof sizes)[number];
1442
1471
  interface BreadcrumbsContextState {
1443
1472
  /** The size of the breadcrumbs. Defaults to `"md"`. */
@@ -1475,7 +1504,7 @@ type BreadcrumbProps = Omit<BreadcrumbProps$1, 'className' | 'children'> & Omit<
1475
1504
  * plus options from React Aria `Breadcrumb` / `Link`. Renders a trailing separator
1476
1505
  * for every item except the current page.
1477
1506
  */
1478
- declare const Breadcrumb: React$2.ForwardRefExoticComponent<Omit<BreadcrumbProps$1, "className" | "children"> & Omit<LinkProps$1, "className" | "children"> & {
1507
+ declare const Breadcrumb: React$2.ForwardRefExoticComponent<Omit<BreadcrumbProps$1, "children" | "className"> & Omit<LinkProps$1, "children" | "className"> & {
1479
1508
  children: React$2.ReactNode;
1480
1509
  separator?: React$2.ReactNode;
1481
1510
  } & React$2.RefAttributes<HTMLLIElement>>;
@@ -1483,29 +1512,19 @@ declare const Breadcrumb: React$2.ForwardRefExoticComponent<Omit<BreadcrumbProps
1483
1512
  //#region src/components/Spinner/Spinner.d.ts
1484
1513
  type Size = 'sm' | 'md' | 'lg';
1485
1514
  type SpinnerProps = {
1486
- /** The size of the Spinner. @default "md" */size?: Size; /** (optional) The title to display in the Spinner. */
1487
- title?: string; /** The content to display inside the Spinner. When provided, Spinner acts as a wrapper with overlay. */
1488
- children?: React$1.ReactNode; /** Whether the Spinner is visible. Only used when children are provided. @default true */
1515
+ /** The size of the Spinner. @default "md" */
1516
+ size?: Size;
1517
+ /** (optional) The title to display in the Spinner. */
1518
+ title?: string;
1519
+ /** The content to display inside the Spinner. When provided, Spinner acts as a wrapper with overlay. */
1520
+ children?: React$1.ReactNode;
1521
+ /** Whether the Spinner is visible. Only used when children are provided. @default true */
1489
1522
  isPending?: boolean;
1490
1523
  } & StylingOverrideProps & React$1.HTMLAttributes<HTMLDivElement>;
1491
- /**
1492
- * The Spinner component is used to display a loading state. It can be used in two modes:
1493
- *
1494
- * **Mode 1 - Standalone Spinner:**
1495
- * @example
1496
- * <Spinner title="Loading..." />
1497
- * <Spinner size="lg" />
1498
- *
1499
- * **Mode 2 - Wrapper with Overlay:**
1500
- * @example
1501
- * <Spinner isPending={isLoading}>
1502
- * <YourContent />
1503
- * </Spinner>
1504
- */
1505
- declare const Spinner: {
1506
- (props: SpinnerProps): React$1.JSX.Element;
1507
- displayName: string;
1508
- };
1524
+ declare function Spinner(props: SpinnerProps): React$1.JSX.Element;
1525
+ declare namespace Spinner {
1526
+ var displayName: string;
1527
+ }
1509
1528
  //#endregion
1510
1529
  //#region src/components/Divider/Divider.d.ts
1511
1530
  type DividerType = 'horizontal' | 'vertical';
@@ -1523,20 +1542,10 @@ type VerticalDividerProps = {
1523
1542
  children?: never;
1524
1543
  };
1525
1544
  type DividerProps = StylingOverrideProps & Omit<React$2.HTMLAttributes<HTMLHRElement & HTMLDivElement>, 'children'> & (HorizontalDividerProps | VerticalDividerProps);
1526
- /**
1527
- * Divider separates and groups content. Use horizontal dividers between sections;
1528
- * use vertical dividers between inline items. A horizontal divider can optionally
1529
- * display a label. Dividers are static and not keyboard focusable.
1530
- */
1531
- declare const Divider: {
1532
- ({
1533
- type,
1534
- children,
1535
- FORCE__className: classNameOverride,
1536
- ...restProps
1537
- }: DividerProps): React$2.JSX.Element;
1538
- displayName: string;
1539
- };
1545
+ declare function Divider({ type, children, FORCE__className: classNameOverride, ...restProps }: DividerProps): React$2.JSX.Element;
1546
+ declare namespace Divider {
1547
+ var displayName: string;
1548
+ }
1540
1549
  //#endregion
1541
1550
  //#region src/components/Skeleton/Skeleton.d.ts
1542
1551
  type SkeletonTitleProps = {
@@ -1580,34 +1589,26 @@ type SkeletonProps = {
1580
1589
  */
1581
1590
  children?: React$2.ReactNode;
1582
1591
  } & StylingOverrideProps & Omit<React$2.HTMLAttributes<HTMLSpanElement>, 'children' | 'title' | 'paragraph'>;
1583
- /**
1584
- * A skeleton is a graphical placeholder, reserving physical space in the page for content in cases where a service or action may be slow to resolve. A skeleton can be considered as an alternative to the progress spinner in many situations.
1585
- *
1586
- * @example
1587
- * <Skeleton loading paragraph={{ rows: 4 }} />
1588
- *
1589
- * @example
1590
- * // Ant Design–style wrapper: skeleton while loading, then children.
1591
- * <Skeleton loading={isLoading}><Article /></Skeleton>
1592
- */
1593
- declare const Skeleton: {
1594
- (props: SkeletonProps): React$2.JSX.Element | null;
1595
- displayName: string;
1596
- };
1592
+ declare function Skeleton(props: SkeletonProps): React$2.JSX.Element | null;
1593
+ declare namespace Skeleton {
1594
+ var displayName: string;
1595
+ }
1597
1596
  //#endregion
1598
1597
  //#region src/components/Skeleton/SkeletonGroup.d.ts
1599
1598
  /** `dimension.component.{sm,md,lg}` via the same `--cds-dimension-component-*` vars as Button. */
1600
1599
  declare const SKELETON_SIZE: {
1601
- readonly sm: "var(--cds-dimension-component-sm)";
1602
- readonly md: "var(--cds-dimension-component-md)";
1603
- readonly lg: "var(--cds-dimension-component-lg)";
1600
+ readonly sm: 'var(--cds-dimension-component-sm)';
1601
+ readonly md: 'var(--cds-dimension-component-md)';
1602
+ readonly lg: 'var(--cds-dimension-component-lg)';
1604
1603
  };
1605
1604
  type SkeletonSize = keyof typeof SKELETON_SIZE;
1606
1605
  /** Ordered size keys (same keys as {@link SKELETON_SIZE}). */
1607
1606
  declare const SKELETON_SIZE_TOKENS: SkeletonSize[];
1608
1607
  type SkeletonElementProps = {
1609
- style?: React$2.CSSProperties; /** Preset dimensions from `dimension.component.*`; use `style` for custom width/height. */
1610
- size?: SkeletonSize; /** Show animation effect. @default false */
1608
+ style?: React$2.CSSProperties;
1609
+ /** Preset dimensions from `dimension.component.*`; use `style` for custom width/height. */
1610
+ size?: SkeletonSize;
1611
+ /** Show animation effect. @default false */
1611
1612
  active?: boolean;
1612
1613
  } & StylingOverrideProps & Omit<React$2.HTMLAttributes<HTMLSpanElement>, 'children'>;
1613
1614
  type SkeletonGroupButtonProps = SkeletonElementProps & {
@@ -1620,19 +1621,22 @@ type SkeletonGroupInputProps = SkeletonElementProps & {
1620
1621
  type SkeletonGroupNodeProps = SkeletonElementProps & {
1621
1622
  children?: React$2.ReactNode;
1622
1623
  };
1624
+ declare function SkeletonGroupButton(props: SkeletonGroupButtonProps): React$2.JSX.Element;
1625
+ declare namespace SkeletonGroupButton {
1626
+ var displayName: string;
1627
+ }
1628
+ declare function SkeletonGroupInput(props: SkeletonGroupInputProps): React$2.JSX.Element;
1629
+ declare namespace SkeletonGroupInput {
1630
+ var displayName: string;
1631
+ }
1632
+ declare function SkeletonGroupNode(props: SkeletonGroupNodeProps): React$2.JSX.Element;
1633
+ declare namespace SkeletonGroupNode {
1634
+ var displayName: string;
1635
+ }
1623
1636
  declare const SkeletonGroup: {
1624
- readonly Button: {
1625
- (props: SkeletonGroupButtonProps): React$2.JSX.Element;
1626
- displayName: string;
1627
- };
1628
- readonly Input: {
1629
- (props: SkeletonGroupInputProps): React$2.JSX.Element;
1630
- displayName: string;
1631
- };
1632
- readonly Node: {
1633
- (props: SkeletonGroupNodeProps): React$2.JSX.Element;
1634
- displayName: string;
1635
- };
1637
+ readonly Button: typeof SkeletonGroupButton;
1638
+ readonly Input: typeof SkeletonGroupInput;
1639
+ readonly Node: typeof SkeletonGroupNode;
1636
1640
  };
1637
1641
  //#endregion
1638
1642
  //#region src/components/VisuallyHidden/VisuallyHidden.d.ts
@@ -1643,15 +1647,12 @@ type VisuallyHiddenProps = React$1.ComponentPropsWithoutRef<'span'> & {
1643
1647
  * VisuallyHidden is a component that hides its children from the visual
1644
1648
  * rendering, but still makes them available to screen readers.
1645
1649
  */
1646
- declare const VisuallyHidden: ({
1647
- children,
1648
- ...props
1649
- }: VisuallyHiddenProps) => React$1.JSX.Element;
1650
+ declare const VisuallyHidden: ({ children, ...props }: VisuallyHiddenProps) => React$1.JSX.Element;
1650
1651
  //#endregion
1651
1652
  //#region src/components/Toast/Toast.d.ts
1652
- declare const toastTypes: readonly ["info", "success", "warning", "error"];
1653
+ declare const toastTypes: readonly ['info', 'success', 'warning', 'error'];
1653
1654
  type ToastType = (typeof toastTypes)[number];
1654
- declare const toastPositions: readonly ["top-right", "bottom-right"];
1655
+ declare const toastPositions: readonly ['top-right', 'bottom-right'];
1655
1656
  type ToastPosition = (typeof toastPositions)[number];
1656
1657
  type ToastOptions = {
1657
1658
  /**
@@ -1696,7 +1697,8 @@ type ToastAPI = {
1696
1697
  success: (content: React$2.ReactNode, options?: ToastOptions) => string;
1697
1698
  error: (content: React$2.ReactNode, options?: ToastOptions) => string;
1698
1699
  info: (content: React$2.ReactNode, options?: ToastOptions) => string;
1699
- warning: (content: React$2.ReactNode, options?: ToastOptions) => string; /** Remove a toast by id. */
1700
+ warning: (content: React$2.ReactNode, options?: ToastOptions) => string;
1701
+ /** Remove a toast by id. */
1700
1702
  destroy: (id: string) => void;
1701
1703
  };
1702
1704
  /**
@@ -1900,100 +1902,56 @@ interface MenuProps extends StylingOverrideProps {
1900
1902
  }
1901
1903
  /** Inset of the menu panel relative to the popover shell. */
1902
1904
  type MenuPanelPadding = NonNullable<MenuProps['panelPadding']>;
1903
- declare const Menu: {
1904
- ({
1905
- trigger,
1906
- children,
1907
- contentProps,
1908
- open,
1909
- onOpenChange,
1910
- itemHoverAppearance,
1911
- itemActiveAccentBar,
1912
- itemActiveLabelSemibold,
1913
- panelPadding,
1914
- popoverOffset,
1915
- trapFocus,
1916
- FORCE__className: classNameOverride
1917
- }: MenuProps): React$2.JSX.Element;
1905
+ declare const MenuHeader: {
1906
+ ({ id, label, FORCE__className: classNameOverride, children }: MenuHeaderProps): React$2.JSX.Element;
1907
+ displayName: string;
1908
+ };
1909
+ declare const MenuSection: {
1910
+ ({ children, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, className, FORCE__className: classNameOverride, ...rest }: MenuSectionProps): React$2.JSX.Element;
1911
+ displayName: string;
1912
+ };
1913
+ declare const MenuItem: {
1914
+ <As extends React$2.ElementType = "a">({ as: Component, label, description, ariaLabel, href, disabled, active, variant, icon, indent: indentProp, shortcut, parent, onPress, onClick, FORCE__className, children, ...rest }: MenuItemProps<As>): React$2.JSX.Element;
1915
+ displayName: string;
1916
+ };
1917
+ declare const MenuDivider: {
1918
+ ({ FORCE__className: classNameOverride }: MenuDividerProps): React$2.JSX.Element;
1919
+ displayName: string;
1920
+ };
1921
+ /**
1922
+ * Menu.List — Layout only, no padding. Use inside a custom overlay when you are not using {@link Menu}.
1923
+ */
1924
+ declare const MenuList: {
1925
+ ({ children, FORCE__className: classNameOverride, ...rest }: MenuListProps): React$2.JSX.Element;
1918
1926
  displayName: string;
1919
- Item: {
1920
- <As extends React$2.ElementType = "a">({
1921
- as: Component,
1922
- label,
1923
- description,
1924
- ariaLabel,
1925
- href,
1926
- disabled,
1927
- active,
1928
- variant,
1929
- icon,
1930
- indent: indentProp,
1931
- shortcut,
1932
- parent,
1933
- onPress,
1934
- onClick,
1935
- FORCE__className,
1936
- children,
1937
- ...rest
1938
- }: MenuItemProps<As>): React$2.JSX.Element;
1939
- displayName: string;
1940
- };
1941
- Header: {
1942
- ({
1943
- id,
1944
- label,
1945
- FORCE__className: classNameOverride,
1946
- children
1947
- }: MenuHeaderProps): React$2.JSX.Element;
1948
- displayName: string;
1949
- };
1950
- Section: {
1951
- ({
1952
- children,
1953
- "aria-label": ariaLabel,
1954
- "aria-labelledby": ariaLabelledBy,
1955
- className,
1956
- FORCE__className: classNameOverride,
1957
- ...rest
1958
- }: MenuSectionProps): React$2.JSX.Element;
1959
- displayName: string;
1960
- };
1961
- Divider: {
1962
- ({
1963
- FORCE__className: classNameOverride
1964
- }: MenuDividerProps): React$2.JSX.Element;
1965
- displayName: string;
1966
- };
1967
- List: {
1968
- ({
1969
- children,
1970
- FORCE__className: classNameOverride,
1971
- ...rest
1972
- }: MenuListProps): React$2.JSX.Element;
1973
- displayName: string;
1974
- };
1975
- Submenu: {
1976
- ({
1977
- label,
1978
- children,
1979
- itemHoverAppearance,
1980
- itemActiveAccentBar,
1981
- itemActiveLabelSemibold,
1982
- delay,
1983
- FORCE__className: classNameOverride
1984
- }: MenuSubmenuProps): React$2.JSX.Element;
1985
- displayName: string;
1986
- };
1987
1927
  };
1928
+ /**
1929
+ * Nested submenu for use inside {@link Menu}. Uses `AriaSubmenuTrigger` + `Popover` + `AriaMenu` so the flyout
1930
+ * positions to the side; the second child must not be `Menu` alone. Capra `Menu.Item` cannot be the trigger row.
1931
+ */
1932
+ declare const MenuSubmenu: {
1933
+ ({ label, children, itemHoverAppearance, itemActiveAccentBar, itemActiveLabelSemibold, delay, FORCE__className: classNameOverride }: MenuSubmenuProps): React$2.JSX.Element;
1934
+ displayName: string;
1935
+ };
1936
+ declare function Menu({ trigger, children, contentProps, open, onOpenChange, itemHoverAppearance, itemActiveAccentBar, itemActiveLabelSemibold, panelPadding, popoverOffset, trapFocus, FORCE__className: classNameOverride }: MenuProps): React$2.JSX.Element;
1937
+ declare namespace Menu {
1938
+ var displayName: string;
1939
+ export { MenuItem as Item };
1940
+ export { MenuHeader as Header };
1941
+ export { MenuSection as Section };
1942
+ export { MenuDivider as Divider };
1943
+ export { MenuList as List };
1944
+ export { MenuSubmenu as Submenu };
1945
+ }
1988
1946
  /**
1989
1947
  * Apply to react-aria `Menu` when composing `SubmenuTrigger` yourself; prefer {@link Menu.Submenu} for correct behavior.
1990
1948
  */
1991
- declare const submenuPanelClassName: any;
1949
+ declare const submenuPanelClassName: string;
1992
1950
  //#endregion
1993
1951
  //#region src/components/TabNav/TabNav.d.ts
1994
- declare const tabNavPlacements: readonly ["horizontal", "vertical"];
1952
+ declare const tabNavPlacements: readonly ['horizontal', 'vertical'];
1995
1953
  type TabNavPlacement = (typeof tabNavPlacements)[number];
1996
- declare const tabNavItemVariants: readonly ["default", "dropdown"];
1954
+ declare const tabNavItemVariants: readonly ['default', 'dropdown'];
1997
1955
  type TabNavItemVariant = (typeof tabNavItemVariants)[number];
1998
1956
  interface TabNavSubItemType {
1999
1957
  /** Unique key for the sub-item. */
@@ -2079,26 +2037,10 @@ type TabNavProps = StylingOverrideProps & Omit<React$2.HTMLAttributes<HTMLDivEle
2079
2037
  */
2080
2038
  wrap?: boolean;
2081
2039
  };
2082
- /**
2083
- * TabNav provides a horizontal or vertical navigation styled as tabs.
2084
- * Tab items are links that redirect to URLs. With `subItems`, horizontal tabs open a dropdown menu; vertical tabs
2085
- * use an inline indented list (Tab Nav | Vertical in Figma).
2086
- */
2087
- declare const TabNav: {
2088
- ({
2089
- activeKey,
2090
- onTabClick,
2091
- items,
2092
- tabPlacement,
2093
- centered,
2094
- tabBarExtraSlot,
2095
- wrap,
2096
- FORCE__className: classNameOverride,
2097
- "aria-label": ariaLabel,
2098
- ...props
2099
- }: TabNavProps): React$2.JSX.Element;
2100
- displayName: string;
2101
- };
2040
+ declare function TabNav({ activeKey, onTabClick, items, tabPlacement, centered, tabBarExtraSlot, wrap, FORCE__className: classNameOverride, 'aria-label': ariaLabel, ...props }: TabNavProps): React$2.JSX.Element;
2041
+ declare namespace TabNav {
2042
+ var displayName: string;
2043
+ }
2102
2044
  //#endregion
2103
2045
  //#region src/components/TopNav/TopNav.d.ts
2104
2046
  type TopNavProps = StylingOverrideProps & Omit<React$2.ComponentPropsWithoutRef<'header'>, 'className'> & {
@@ -2114,27 +2056,15 @@ type TopNavCenterProps = StylingOverrideProps & Omit<React$2.ComponentPropsWitho
2114
2056
  children?: React$2.ReactNode;
2115
2057
  };
2116
2058
  declare const Start: {
2117
- ({
2118
- children,
2119
- FORCE__className: classNameOverride,
2120
- ...props
2121
- }: TopNavStartProps): React$2.JSX.Element;
2059
+ ({ children, FORCE__className: classNameOverride, ...props }: TopNavStartProps): React$2.JSX.Element;
2122
2060
  displayName: string;
2123
2061
  };
2124
2062
  declare const Center: {
2125
- ({
2126
- children,
2127
- FORCE__className: classNameOverride,
2128
- ...props
2129
- }: TopNavCenterProps): React$2.JSX.Element;
2063
+ ({ children, FORCE__className: classNameOverride, ...props }: TopNavCenterProps): React$2.JSX.Element;
2130
2064
  displayName: string;
2131
2065
  };
2132
2066
  declare const End: {
2133
- ({
2134
- children,
2135
- FORCE__className: classNameOverride,
2136
- ...props
2137
- }: TopNavEndProps): React$2.JSX.Element;
2067
+ ({ children, FORCE__className: classNameOverride, ...props }: TopNavEndProps): React$2.JSX.Element;
2138
2068
  displayName: string;
2139
2069
  };
2140
2070
  declare const TopNavWithRef: (props: StylingOverrideProps & Omit<Omit<React$2.DetailedHTMLProps<React$2.HTMLAttributes<HTMLElement>, HTMLElement>, "ref">, "className"> & {
@@ -2154,7 +2084,7 @@ type TopNavComponent = typeof TopNavWithRef & {
2154
2084
  declare const TopNav: TopNavComponent;
2155
2085
  //#endregion
2156
2086
  //#region src/components/Tooltip/Tooltip.d.ts
2157
- declare const placements: readonly ["top", "bottom", "left", "right"];
2087
+ declare const placements: readonly ['top', 'bottom', 'left', 'right'];
2158
2088
  type Placement = (typeof placements)[number];
2159
2089
  type TooltipProps = {
2160
2090
  /**
@@ -2190,19 +2120,11 @@ type TooltipProps = {
2190
2120
  /**
2191
2121
  * A component to display additional information when hovering or focusing on an interactive element.
2192
2122
  */
2193
- declare function Tooltip({
2194
- children,
2195
- title,
2196
- shortcut,
2197
- getContainer,
2198
- placement,
2199
- isDisabled,
2200
- FORCE__className: classNameOverride,
2201
- ...props
2202
- }: TooltipProps): React$2.JSX.Element;
2123
+ declare function Tooltip({ children, title, shortcut, getContainer, placement, isDisabled, FORCE__className: classNameOverride, ...props }: TooltipProps): React$2.JSX.Element;
2203
2124
  type CustomTooltipTriggerChild = NonNullable<React$2.ComponentProps<typeof Focusable>['children']>;
2204
2125
  type CustomTooltipTriggerProps = {
2205
- /** A single element that receives focus and pointer events for the tooltip trigger. */children: CustomTooltipTriggerChild;
2126
+ /** A single element that receives focus and pointer events for the tooltip trigger. */
2127
+ children: CustomTooltipTriggerChild;
2206
2128
  };
2207
2129
  /**
2208
2130
  * Wraps a custom or third-party trigger so {@link Tooltip} can attach hover and focus behavior.