@molecule/app-ui-react-native 1.0.2 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/LICENSE +111 -24
  2. package/README.md +580 -580
  3. package/package.json +7 -16
package/README.md CHANGED
@@ -3,15 +3,11 @@ AUTO-GENERATED — DO NOT EDIT THIS FILE.
3
3
  Generated by `mlcl sync-docs` from the package's src/index.ts JSDoc + mlcl/registry.json.
4
4
  Edits here are overwritten on the next commit (molecule's pre-commit hook regenerates).
5
5
  To change this document, edit the module-level JSDoc in src/index.ts.
6
- Generated: 2026-08-04T01:53:05.885Z
6
+ Generated: 2026-10-16T23:38:50.287Z
7
7
  -->
8
8
 
9
9
  # @molecule/app-ui-react-native
10
10
 
11
- > **Auto-generated, AI-first package reference** for the [molecule.dev](https://molecule.dev) ecosystem.
12
- > It is written to be read by coding agents as much as by people, and is generated from this
13
- > package's source — edit `src/index.ts` JSDoc, not this file.
14
-
15
11
  React Native UI components for molecule.dev.
16
12
 
17
13
  Provides React Native implementations (View/Pressable/Text-based) of the
@@ -25,6 +21,10 @@ Prop types are re-exported from `@molecule/app-ui`. Web-only extras (Icon,
25
21
  UserMenu, ThemeToggle, PageHeader, …) live in `@molecule/app-ui-react` and
26
22
  are NOT available here.
27
23
 
24
+ > **Auto-generated, AI-first package reference** for the [molecule.dev](https://molecule.dev) ecosystem.
25
+ > It is written to be read by coding agents as much as by people, and is generated from this
26
+ > package's source — edit `src/index.ts` JSDoc, not this file.
27
+
28
28
  ## Quick Start
29
29
 
30
30
  ```tsx
@@ -63,242 +63,218 @@ npm install @molecule/app-ui-react-native @molecule/app-i18n @molecule/app-icons
63
63
 
64
64
  ### Interfaces
65
65
 
66
- #### `AccordionProps`
66
+ #### `BaseProps`
67
67
 
68
- Props for the Accordion component.
68
+ Base props shared by all components.
69
69
 
70
70
  ```typescript
71
- interface AccordionProps<T = string> extends BaseProps {
72
- /**
73
- * Accordion items.
74
- */
75
- items: AccordionItem<T>[]
71
+ interface BaseProps {
76
72
  /**
77
- * Expanded item(s).
73
+ * Additional CSS class name(s).
78
74
  */
79
- value?: T | T[]
75
+ className?: string
80
76
  /**
81
- * Default expanded item(s).
77
+ * Inline styles.
82
78
  */
83
- defaultValue?: T | T[]
79
+ style?: CSSProperties
84
80
  /**
85
- * Change handler.
81
+ * Test ID for automated testing.
86
82
  */
87
- onChange?: (value: T | T[]) => void
83
+ testId?: string
88
84
  /**
89
- * Whether multiple items can be expanded.
85
+ * Automation ID for AI agents and E2E tests. Maps to the `data-mol-id`
86
+ * HTML attribute. Use `molId()` from `./automation.js` to generate
87
+ * semantic IDs. (Tooling only — screen readers do not expose `data-*`
88
+ * attributes; accessible names come from labels/`aria-*`.)
90
89
  */
91
- multiple?: boolean
90
+ automationId?: string
92
91
  /**
93
- * Whether items can be collapsed.
92
+ * Whether the component is disabled.
94
93
  */
95
- collapsible?: boolean
94
+ disabled?: boolean
96
95
  }
97
96
  ```
98
97
 
99
- #### `AlertProps`
98
+ #### `ButtonProps`
100
99
 
101
- Props for the Alert component.
100
+ Props for the Button component.
102
101
 
103
102
  ```typescript
104
- interface AlertProps extends HTMLElementProps {
103
+ interface ButtonProps extends ButtonElementProps {
105
104
  /**
106
- * Alert content.
105
+ * Button content.
107
106
  */
108
107
  children?: Children
109
108
  /**
110
- * Alert title.
109
+ * Visual variant.
111
110
  */
112
- title?: string
111
+ variant?: ButtonVariant
113
112
  /**
114
- * Alert status/type.
113
+ * Color scheme.
115
114
  */
116
- status?: ColorVariant
115
+ color?: ColorVariant
117
116
  /**
118
- * Alert variant.
117
+ * Button size.
119
118
  */
120
- variant?: 'solid' | 'subtle' | 'outline' | 'left-accent'
119
+ size?: ButtonSize
121
120
  /**
122
- * Whether the alert is dismissible.
121
+ * Whether the button is in a loading state.
123
122
  */
124
- dismissible?: boolean
123
+ loading?: boolean
125
124
  /**
126
- * Called when dismissed.
125
+ * Loading text to display.
127
126
  */
128
- onDismiss?: () => void
127
+ loadingText?: string
129
128
  /**
130
- * Icon to display.
129
+ * Whether the button takes full width.
131
130
  */
132
- icon?: Children
131
+ fullWidth?: boolean
133
132
  /**
134
- * Accessible label for the dismiss button.
135
- * @default 'Dismiss'
133
+ * Icon to display before the label.
136
134
  */
137
- dismissLabel?: string
135
+ leftIcon?: Children
136
+ /**
137
+ * Icon to display after the label.
138
+ */
139
+ rightIcon?: Children
138
140
  }
139
141
  ```
140
142
 
141
- #### `AvatarProps`
143
+ #### `InputProps`
142
144
 
143
- Props for the Avatar component.
145
+ Props for the Input component (text field, email, password, etc.).
144
146
 
145
147
  ```typescript
146
- interface AvatarProps extends HTMLElementProps {
148
+ interface InputProps extends InputElementProps {
147
149
  /**
148
- * Image source URL.
150
+ * Input type.
149
151
  */
150
- src?: string
152
+ type?: InputType
151
153
  /**
152
- * Alt text for the image.
154
+ * Input size.
153
155
  */
154
- alt?: string
156
+ size?: Size
155
157
  /**
156
- * Name for fallback initials.
158
+ * Horizontal text alignment inside the input (see
159
+ * {@link InputClassOptions.align}). Defaults to the bond's own style.
157
160
  */
158
- name?: string
161
+ align?: 'left' | 'center'
159
162
  /**
160
- * Avatar size.
163
+ * Label text.
161
164
  */
162
- size?: Size | number
165
+ label?: string
163
166
  /**
164
- * Whether the avatar is rounded.
167
+ * Error message.
165
168
  */
166
- rounded?: boolean
169
+ error?: string
167
170
  /**
168
- * Fallback element when no image.
171
+ * Hint/help text.
169
172
  */
170
- fallback?: Children
171
- }
172
- ```
173
-
174
- #### `BadgeProps`
175
-
176
- Props for the Badge component (status labels, counts, tags).
177
-
178
- ```typescript
179
- interface BadgeProps extends HTMLElementProps {
173
+ hint?: string
180
174
  /**
181
- * Badge content.
175
+ * Element to display on the left.
182
176
  */
183
- children?: Children
177
+ leftElement?: Children
184
178
  /**
185
- * Badge color.
179
+ * Element to display on the right.
186
180
  */
187
- color?: ColorVariant
181
+ rightElement?: Children
188
182
  /**
189
- * Badge variant.
183
+ * Whether to show a clear button.
190
184
  */
191
- variant?: 'solid' | 'outline' | 'subtle'
185
+ clearable?: boolean
192
186
  /**
193
- * Badge size.
187
+ * Called when the clear button is clicked.
194
188
  */
195
- size?: Size
189
+ onClear?: () => void
196
190
  /**
197
- * Whether the badge is rounded.
191
+ * Accessible label for the clear button.
192
+ * @default 'Clear'
198
193
  */
199
- rounded?: boolean
194
+ clearLabel?: string
200
195
  }
201
196
  ```
202
197
 
203
- #### `BaseProps`
198
+ #### `TextareaProps`
204
199
 
205
- Base props shared by all components.
200
+ Props for the Textarea component.
206
201
 
207
202
  ```typescript
208
- interface BaseProps {
203
+ interface TextareaProps extends TextareaElementProps {
209
204
  /**
210
- * Additional CSS class name(s).
205
+ * Text size tier (see {@link TextareaClassOptions.size}) — pass the same
206
+ * `size` as a neighboring Input for identical font sizes.
211
207
  */
212
- className?: string
208
+ size?: Size
213
209
  /**
214
- * Inline styles.
210
+ * Label text.
215
211
  */
216
- style?: CSSProperties
212
+ label?: string
217
213
  /**
218
- * Test ID for automated testing.
214
+ * Error message.
219
215
  */
220
- testId?: string
216
+ error?: string
221
217
  /**
222
- * Automation ID for AI agents and E2E tests. Maps to the `data-mol-id`
223
- * HTML attribute. Use `molId()` from `./automation.js` to generate
224
- * semantic IDs. (Tooling only — screen readers do not expose `data-*`
225
- * attributes; accessible names come from labels/`aria-*`.)
218
+ * Hint/help text.
226
219
  */
227
- automationId?: string
220
+ hint?: string
228
221
  /**
229
- * Whether the component is disabled.
222
+ * Whether the textarea auto-resizes.
230
223
  */
231
- disabled?: boolean
224
+ autoResize?: boolean
225
+ /**
226
+ * Minimum number of rows.
227
+ */
228
+ minRows?: number
229
+ /**
230
+ * Maximum number of rows.
231
+ */
232
+ maxRows?: number
232
233
  }
233
234
  ```
234
235
 
235
- #### `ButtonProps`
236
+ #### `SelectProps`
236
237
 
237
- Props for the Button component.
238
+ Props for the Select dropdown component (single or multi-select).
238
239
 
239
240
  ```typescript
240
- interface ButtonProps extends ButtonElementProps {
241
- /**
242
- * Button content.
243
- */
244
- children?: Children
245
- /**
246
- * Visual variant.
247
- */
248
- variant?: ButtonVariant
249
- /**
250
- * Color scheme.
251
- */
252
- color?: ColorVariant
253
- /**
254
- * Button size.
255
- */
256
- size?: ButtonSize
241
+ interface SelectProps<T = string> extends SelectElementProps {
257
242
  /**
258
- * Whether the button is in a loading state.
243
+ * Select options.
259
244
  */
260
- loading?: boolean
245
+ options: SelectOption<T>[]
261
246
  /**
262
- * Loading text to display.
247
+ * Current value.
263
248
  */
264
- loadingText?: string
249
+ value?: T
265
250
  /**
266
- * Whether the button takes full width.
251
+ * Change handler (with typed value).
267
252
  */
268
- fullWidth?: boolean
253
+ onValueChange?: (value: T) => void
269
254
  /**
270
- * Icon to display before the label.
255
+ * Select size.
271
256
  */
272
- leftIcon?: Children
257
+ size?: Size
273
258
  /**
274
- * Icon to display after the label.
259
+ * Label text.
275
260
  */
276
- rightIcon?: Children
277
- }
278
- ```
279
-
280
- #### `CardProps`
281
-
282
- Props for the Card container component (elevated, outlined, or filled surface).
283
-
284
- ```typescript
285
- interface CardProps extends HTMLElementProps {
261
+ label?: string
286
262
  /**
287
- * Card content.
263
+ * Placeholder text.
288
264
  */
289
- children?: Children
265
+ placeholder?: string
290
266
  /**
291
- * Card variant.
267
+ * Error message.
292
268
  */
293
- variant?: 'elevated' | 'outlined' | 'filled'
269
+ error?: string
294
270
  /**
295
- * Whether the card is interactive (clickable).
271
+ * Hint/help text.
296
272
  */
297
- interactive?: boolean
273
+ hint?: string
298
274
  /**
299
- * Padding size.
275
+ * Whether to allow clearing the selection.
300
276
  */
301
- padding?: Size | 'none'
277
+ clearable?: boolean
302
278
  }
303
279
  ```
304
280
 
@@ -331,154 +307,74 @@ interface CheckboxProps extends InputElementProps {
331
307
  }
332
308
  ```
333
309
 
334
- #### `DropdownProps`
310
+ #### `RadioGroupProps`
335
311
 
336
- Props for the Dropdown menu component.
312
+ Props for the RadioGroup component.
337
313
 
338
314
  ```typescript
339
- interface DropdownProps<T = string> extends BaseProps {
315
+ interface RadioGroupProps<T = string> extends BaseProps {
340
316
  /**
341
- * Dropdown trigger element.
317
+ * Radio options.
342
318
  */
343
- trigger: Children
344
- /**
345
- * Dropdown items.
346
- */
347
- items: DropdownItem<T>[]
348
- /**
349
- * Called when an item is selected.
350
- */
351
- onSelect?: (value: T) => void
352
- /**
353
- * Dropdown placement.
354
- */
355
- placement?:
356
- 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'right'
357
- /**
358
- * Whether the dropdown is open (controlled).
359
- */
360
- open?: boolean
361
- /**
362
- * Called when open state changes.
363
- */
364
- onOpenChange?: (open: boolean) => void
319
+ options: RadioOption<T>[]
365
320
  /**
366
- * Menu alignment.
321
+ * Current value.
367
322
  */
368
- align?: 'start' | 'center' | 'end'
323
+ value?: T
369
324
  /**
370
- * Menu width.
325
+ * Change handler.
371
326
  */
372
- width?: 'trigger' | 'auto' | number | string
373
- }
374
- ```
375
-
376
- #### `FormFieldProps`
377
-
378
- Form field wrapper props.
379
-
380
- ```typescript
381
- interface FormFieldProps extends HTMLElementProps {
327
+ onChange?: (value: T) => void
382
328
  /**
383
- * Field content.
329
+ * Radio size.
384
330
  */
385
- children?: Children
331
+ size?: Size
386
332
  /**
387
- * Field label.
333
+ * Group label.
388
334
  */
389
335
  label?: string
390
336
  /**
391
- * Field name.
337
+ * Shared `name` attribute for the group's radio inputs (used for native
338
+ * form submission). When omitted, a unique per-instance name is generated
339
+ * so separate groups never merge — the visible `label` is deliberately
340
+ * NOT used as the name, because two groups with the same label (e.g. two
341
+ * "Size" pickers) would otherwise form ONE native radio group and
342
+ * deselect each other.
392
343
  */
393
344
  name?: string
394
345
  /**
395
- * Error message.
396
- */
397
- error?: string
398
- /**
399
- * Hint/help text.
346
+ * Layout direction.
400
347
  */
401
- hint?: string
348
+ direction?: 'horizontal' | 'vertical'
402
349
  /**
403
- * Whether the field is required.
350
+ * Error message.
404
351
  */
405
- required?: boolean
352
+ error?: string
406
353
  }
407
354
  ```
408
355
 
409
- #### `FormProps`
356
+ #### `SwitchProps`
410
357
 
411
- Props for the Form component (wraps inputs with submission handling and validation).
358
+ Props for the Switch/Toggle component.
412
359
 
413
360
  ```typescript
414
- interface FormProps extends FormElementProps {
415
- /**
416
- * Form content.
417
- */
418
- children?: Children
419
- /**
420
- * Submit handler with form data.
421
- */
422
- onFormSubmit?: (data: Record<string, unknown>) => void | Promise<void>
361
+ interface SwitchProps extends InputElementProps {
423
362
  /**
424
- * Whether the form is submitting.
363
+ * Switch label.
425
364
  */
426
- submitting?: boolean
427
- }
428
- ```
429
-
430
- #### `InputProps`
431
-
432
- Props for the Input component (text field, email, password, etc.).
433
-
434
- ```typescript
435
- interface InputProps extends InputElementProps {
365
+ label?: Children
436
366
  /**
437
- * Input type.
367
+ * Whether the switch is on.
438
368
  */
439
- type?: InputType
369
+ checked?: boolean
440
370
  /**
441
- * Input size.
371
+ * Switch size.
442
372
  */
443
373
  size?: Size
444
374
  /**
445
- * Horizontal text alignment inside the input (see
446
- * {@link InputClassOptions.align}). Defaults to the bond's own style.
447
- */
448
- align?: 'left' | 'center'
449
- /**
450
- * Label text.
451
- */
452
- label?: string
453
- /**
454
- * Error message.
455
- */
456
- error?: string
457
- /**
458
- * Hint/help text.
459
- */
460
- hint?: string
461
- /**
462
- * Element to display on the left.
463
- */
464
- leftElement?: Children
465
- /**
466
- * Element to display on the right.
467
- */
468
- rightElement?: Children
469
- /**
470
- * Whether to show a clear button.
471
- */
472
- clearable?: boolean
473
- /**
474
- * Called when the clear button is clicked.
475
- */
476
- onClear?: () => void
477
- /**
478
- * Accessible label for the clear button.
479
- * @default 'Clear'
375
+ * Color when on.
480
376
  */
481
- clearLabel?: string
377
+ color?: ColorVariant
482
378
  }
483
379
  ```
484
380
 
@@ -540,134 +436,186 @@ interface ModalProps extends HTMLElementProps {
540
436
  }
541
437
  ```
542
438
 
543
- #### `PaginationProps`
439
+ #### `SpinnerProps`
544
440
 
545
- Props for the Pagination component (page navigation with current page, total, page size, and change callbacks).
441
+ Props for the Spinner/loading indicator component.
546
442
 
547
443
  ```typescript
548
- interface PaginationProps extends BaseProps {
444
+ interface SpinnerProps extends BaseProps {
549
445
  /**
550
- * Current page (1-indexed).
446
+ * Spinner size.
551
447
  */
552
- page: number
448
+ size?: Size
553
449
  /**
554
- * Total number of pages.
450
+ * Spinner color.
555
451
  */
556
- totalPages: number
452
+ color?: ColorVariant | string
557
453
  /**
558
- * Page change handler.
454
+ * Loading label (for accessibility).
559
455
  */
560
- onChange: (page: number) => void
456
+ label?: string
561
457
  /**
562
- * Number of sibling pages to show.
458
+ * Spinner thickness.
563
459
  */
564
- siblings?: number
460
+ thickness?: number
461
+ }
462
+ ```
463
+
464
+ #### `AvatarProps`
465
+
466
+ Props for the Avatar component.
467
+
468
+ ```typescript
469
+ interface AvatarProps extends HTMLElementProps {
565
470
  /**
566
- * Number of boundary pages to show.
471
+ * Image source URL.
567
472
  */
568
- boundaries?: number
473
+ src?: string
569
474
  /**
570
- * Pagination size.
475
+ * Alt text for the image.
571
476
  */
572
- size?: Size
477
+ alt?: string
573
478
  /**
574
- * Whether to show first/last buttons.
479
+ * Name for fallback initials.
575
480
  */
576
- showFirstLast?: boolean
481
+ name?: string
577
482
  /**
578
- * Whether to show previous/next buttons.
483
+ * Avatar size.
579
484
  */
580
- showPrevNext?: boolean
485
+ size?: Size | number
581
486
  /**
582
- * Accessible labels for pagination controls.
487
+ * Whether the avatar is rounded.
583
488
  */
584
- labels?: {
585
- nav?: string
586
- first?: string
587
- previous?: string
588
- next?: string
589
- last?: string
590
- goToPage?: (page: number) => string
591
- }
489
+ rounded?: boolean
490
+ /**
491
+ * Fallback element when no image.
492
+ */
493
+ fallback?: Children
592
494
  }
593
495
  ```
594
496
 
595
- #### `RadioGroupProps`
497
+ #### `BadgeProps`
596
498
 
597
- Props for the RadioGroup component.
499
+ Props for the Badge component (status labels, counts, tags).
598
500
 
599
501
  ```typescript
600
- interface RadioGroupProps<T = string> extends BaseProps {
502
+ interface BadgeProps extends HTMLElementProps {
601
503
  /**
602
- * Radio options.
504
+ * Badge content.
603
505
  */
604
- options: RadioOption<T>[]
506
+ children?: Children
605
507
  /**
606
- * Current value.
508
+ * Badge color.
607
509
  */
608
- value?: T
510
+ color?: ColorVariant
609
511
  /**
610
- * Change handler.
512
+ * Badge variant.
611
513
  */
612
- onChange?: (value: T) => void
514
+ variant?: 'solid' | 'outline' | 'subtle'
613
515
  /**
614
- * Radio size.
516
+ * Badge size.
615
517
  */
616
518
  size?: Size
617
519
  /**
618
- * Group label.
520
+ * Whether the badge is rounded.
619
521
  */
620
- label?: string
522
+ rounded?: boolean
523
+ }
524
+ ```
525
+
526
+ #### `TooltipProps`
527
+
528
+ Props for the Tooltip component (hover/focus popover with informational text).
529
+
530
+ ```typescript
531
+ interface TooltipProps extends HTMLElementProps {
621
532
  /**
622
- * Shared `name` attribute for the group's radio inputs (used for native
623
- * form submission). When omitted, a unique per-instance name is generated
624
- * so separate groups never merge — the visible `label` is deliberately
625
- * NOT used as the name, because two groups with the same label (e.g. two
626
- * "Size" pickers) would otherwise form ONE native radio group and
627
- * deselect each other.
533
+ * Tooltip content.
628
534
  */
629
- name?: string
535
+ content: Children
630
536
  /**
631
- * Layout direction.
537
+ * Element that triggers the tooltip.
632
538
  */
633
- direction?: 'horizontal' | 'vertical'
539
+ children: Children
634
540
  /**
635
- * Error message.
541
+ * Tooltip placement.
636
542
  */
637
- error?: string
543
+ placement?: TooltipPlacement
544
+ /**
545
+ * Delay before showing (ms).
546
+ */
547
+ delay?: number
548
+ /**
549
+ * Whether the tooltip has an arrow.
550
+ */
551
+ hasArrow?: boolean
638
552
  }
639
553
  ```
640
554
 
641
- #### `SelectProps`
555
+ #### `CardProps`
642
556
 
643
- Props for the Select dropdown component (single or multi-select).
557
+ Props for the Card container component (elevated, outlined, or filled surface).
644
558
 
645
559
  ```typescript
646
- interface SelectProps<T = string> extends SelectElementProps {
560
+ interface CardProps extends HTMLElementProps {
647
561
  /**
648
- * Select options.
562
+ * Card content.
649
563
  */
650
- options: SelectOption<T>[]
564
+ children?: Children
651
565
  /**
652
- * Current value.
566
+ * Card variant.
653
567
  */
654
- value?: T
568
+ variant?: 'elevated' | 'outlined' | 'filled'
655
569
  /**
656
- * Change handler (with typed value).
570
+ * Whether the card is interactive (clickable).
657
571
  */
658
- onValueChange?: (value: T) => void
572
+ interactive?: boolean
659
573
  /**
660
- * Select size.
574
+ * Padding size.
661
575
  */
662
- size?: Size
576
+ padding?: Size | 'none'
577
+ }
578
+ ```
579
+
580
+ #### `FormProps`
581
+
582
+ Props for the Form component (wraps inputs with submission handling and validation).
583
+
584
+ ```typescript
585
+ interface FormProps extends FormElementProps {
663
586
  /**
664
- * Label text.
587
+ * Form content.
588
+ */
589
+ children?: Children
590
+ /**
591
+ * Submit handler with form data.
592
+ */
593
+ onFormSubmit?: (data: Record<string, unknown>) => void | Promise<void>
594
+ /**
595
+ * Whether the form is submitting.
596
+ */
597
+ submitting?: boolean
598
+ }
599
+ ```
600
+
601
+ #### `FormFieldProps`
602
+
603
+ Form field wrapper props.
604
+
605
+ ```typescript
606
+ interface FormFieldProps extends HTMLElementProps {
607
+ /**
608
+ * Field content.
609
+ */
610
+ children?: Children
611
+ /**
612
+ * Field label.
665
613
  */
666
614
  label?: string
667
615
  /**
668
- * Placeholder text.
616
+ * Field name.
669
617
  */
670
- placeholder?: string
618
+ name?: string
671
619
  /**
672
620
  * Error message.
673
621
  */
@@ -677,88 +625,167 @@ interface SelectProps<T = string> extends SelectElementProps {
677
625
  */
678
626
  hint?: string
679
627
  /**
680
- * Whether to allow clearing the selection.
628
+ * Whether the field is required.
681
629
  */
682
- clearable?: boolean
630
+ required?: boolean
683
631
  }
684
632
  ```
685
633
 
686
- #### `SkeletonProps`
634
+ #### `AlertProps`
687
635
 
688
- Props for the Skeleton loading placeholder component.
636
+ Props for the Alert component.
689
637
 
690
638
  ```typescript
691
- interface SkeletonProps extends BaseProps {
639
+ interface AlertProps extends HTMLElementProps {
692
640
  /**
693
- * Skeleton width.
641
+ * Alert content.
694
642
  */
695
- width?: string | number
643
+ children?: Children
644
+ /**
645
+ * Alert title.
646
+ */
647
+ title?: string
648
+ /**
649
+ * Alert status/type.
650
+ */
651
+ status?: ColorVariant
652
+ /**
653
+ * Alert variant.
654
+ */
655
+ variant?: 'solid' | 'subtle' | 'outline' | 'left-accent'
656
+ /**
657
+ * Whether the alert is dismissible.
658
+ */
659
+ dismissible?: boolean
660
+ /**
661
+ * Called when dismissed.
662
+ */
663
+ onDismiss?: () => void
664
+ /**
665
+ * Icon to display.
666
+ */
667
+ icon?: Children
668
+ /**
669
+ * Accessible label for the dismiss button.
670
+ * @default 'Dismiss'
671
+ */
672
+ dismissLabel?: string
673
+ }
674
+ ```
675
+
676
+ #### `ToastProps`
677
+
678
+ Props for the Toast/notification component.
679
+
680
+ ```typescript
681
+ interface ToastProps extends HTMLElementProps {
682
+ /**
683
+ * Toast content.
684
+ */
685
+ children?: Children
686
+ /**
687
+ * Toast title.
688
+ */
689
+ title?: string
690
+ /**
691
+ * Toast description.
692
+ */
693
+ description?: string
694
+ /**
695
+ * Toast status/type.
696
+ */
697
+ status?: ColorVariant
698
+ /**
699
+ * Duration in milliseconds (0 for persistent).
700
+ */
701
+ duration?: number
696
702
  /**
697
- * Skeleton height.
703
+ * Whether the toast is dismissible.
698
704
  */
699
- height?: string | number
705
+ dismissible?: boolean
700
706
  /**
701
- * Whether the skeleton is circular.
707
+ * Called when dismissed.
702
708
  */
703
- circle?: boolean
709
+ onDismiss?: () => void
704
710
  /**
705
- * Border radius.
711
+ * Toast position.
706
712
  */
707
- borderRadius?: string | number
713
+ position?: 'top' | 'top-right' | 'top-left' | 'bottom' | 'bottom-right' | 'bottom-left'
708
714
  /**
709
- * Animation type.
715
+ * Accessible label for the close button.
716
+ * @default 'Close'
710
717
  */
711
- animation?: 'pulse' | 'wave' | 'none'
718
+ closeLabel?: string
712
719
  }
713
720
  ```
714
721
 
715
- #### `SpinnerProps`
722
+ #### `TabsProps`
716
723
 
717
- Props for the Spinner/loading indicator component.
724
+ Props for the Tabs component (switchable tabbed content panels).
718
725
 
719
726
  ```typescript
720
- interface SpinnerProps extends BaseProps {
727
+ interface TabsProps<T = string> extends BaseProps {
721
728
  /**
722
- * Spinner size.
729
+ * Tab items.
723
730
  */
724
- size?: Size
731
+ items: TabItem<T>[]
725
732
  /**
726
- * Spinner color.
733
+ * Current active tab.
727
734
  */
728
- color?: ColorVariant | string
735
+ value?: T
729
736
  /**
730
- * Loading label (for accessibility).
737
+ * Default active tab.
731
738
  */
732
- label?: string
739
+ defaultValue?: T
733
740
  /**
734
- * Spinner thickness.
741
+ * Change handler.
735
742
  */
736
- thickness?: number
743
+ onChange?: (value: T) => void
744
+ /**
745
+ * Tab variant.
746
+ */
747
+ variant?: 'line' | 'enclosed' | 'soft-rounded' | 'solid-rounded'
748
+ /**
749
+ * Tab size.
750
+ */
751
+ size?: Size
752
+ /**
753
+ * Whether tabs are fitted (take full width).
754
+ */
755
+ fitted?: boolean
737
756
  }
738
757
  ```
739
758
 
740
- #### `SwitchProps`
759
+ #### `AccordionProps`
741
760
 
742
- Props for the Switch/Toggle component.
761
+ Props for the Accordion component.
743
762
 
744
763
  ```typescript
745
- interface SwitchProps extends InputElementProps {
764
+ interface AccordionProps<T = string> extends BaseProps {
746
765
  /**
747
- * Switch label.
766
+ * Accordion items.
748
767
  */
749
- label?: Children
768
+ items: AccordionItem<T>[]
750
769
  /**
751
- * Whether the switch is on.
770
+ * Expanded item(s).
752
771
  */
753
- checked?: boolean
772
+ value?: T | T[]
754
773
  /**
755
- * Switch size.
774
+ * Default expanded item(s).
756
775
  */
757
- size?: Size
776
+ defaultValue?: T | T[]
758
777
  /**
759
- * Color when on.
778
+ * Change handler.
760
779
  */
761
- color?: ColorVariant
780
+ onChange?: (value: T | T[]) => void
781
+ /**
782
+ * Whether multiple items can be expanded.
783
+ */
784
+ multiple?: boolean
785
+ /**
786
+ * Whether items can be collapsed.
787
+ */
788
+ collapsible?: boolean
762
789
  }
763
790
  ```
764
791
 
@@ -822,153 +849,126 @@ interface TableProps<T> extends HTMLElementProps {
822
849
  }
823
850
  ```
824
851
 
825
- #### `TabsProps`
852
+ #### `PaginationProps`
826
853
 
827
- Props for the Tabs component (switchable tabbed content panels).
854
+ Props for the Pagination component (page navigation with current page, total, page size, and change callbacks).
828
855
 
829
856
  ```typescript
830
- interface TabsProps<T = string> extends BaseProps {
857
+ interface PaginationProps extends BaseProps {
831
858
  /**
832
- * Tab items.
859
+ * Current page (1-indexed).
833
860
  */
834
- items: TabItem<T>[]
861
+ page: number
835
862
  /**
836
- * Current active tab.
863
+ * Total number of pages.
837
864
  */
838
- value?: T
865
+ totalPages: number
839
866
  /**
840
- * Default active tab.
867
+ * Page change handler.
841
868
  */
842
- defaultValue?: T
869
+ onChange: (page: number) => void
843
870
  /**
844
- * Change handler.
871
+ * Number of sibling pages to show.
845
872
  */
846
- onChange?: (value: T) => void
873
+ siblings?: number
847
874
  /**
848
- * Tab variant.
875
+ * Number of boundary pages to show.
849
876
  */
850
- variant?: 'line' | 'enclosed' | 'soft-rounded' | 'solid-rounded'
877
+ boundaries?: number
851
878
  /**
852
- * Tab size.
879
+ * Pagination size.
853
880
  */
854
881
  size?: Size
855
882
  /**
856
- * Whether tabs are fitted (take full width).
883
+ * Whether to show first/last buttons.
857
884
  */
858
- fitted?: boolean
885
+ showFirstLast?: boolean
886
+ /**
887
+ * Whether to show previous/next buttons.
888
+ */
889
+ showPrevNext?: boolean
890
+ /**
891
+ * Accessible labels for pagination controls.
892
+ */
893
+ labels?: {
894
+ nav?: string
895
+ first?: string
896
+ previous?: string
897
+ next?: string
898
+ last?: string
899
+ goToPage?: (page: number) => string
900
+ }
859
901
  }
860
902
  ```
861
903
 
862
- #### `TextareaProps`
904
+ #### `SkeletonProps`
863
905
 
864
- Props for the Textarea component.
906
+ Props for the Skeleton loading placeholder component.
865
907
 
866
908
  ```typescript
867
- interface TextareaProps extends TextareaElementProps {
868
- /**
869
- * Text size tier (see {@link TextareaClassOptions.size}) — pass the same
870
- * `size` as a neighboring Input for identical font sizes.
871
- */
872
- size?: Size
873
- /**
874
- * Label text.
875
- */
876
- label?: string
909
+ interface SkeletonProps extends BaseProps {
877
910
  /**
878
- * Error message.
911
+ * Skeleton width.
879
912
  */
880
- error?: string
913
+ width?: string | number
881
914
  /**
882
- * Hint/help text.
915
+ * Skeleton height.
883
916
  */
884
- hint?: string
917
+ height?: string | number
885
918
  /**
886
- * Whether the textarea auto-resizes.
919
+ * Whether the skeleton is circular.
887
920
  */
888
- autoResize?: boolean
921
+ circle?: boolean
889
922
  /**
890
- * Minimum number of rows.
923
+ * Border radius.
891
924
  */
892
- minRows?: number
925
+ borderRadius?: string | number
893
926
  /**
894
- * Maximum number of rows.
927
+ * Animation type.
895
928
  */
896
- maxRows?: number
929
+ animation?: 'pulse' | 'wave' | 'none'
897
930
  }
898
931
  ```
899
932
 
900
- #### `ToastProps`
933
+ #### `DropdownProps`
901
934
 
902
- Props for the Toast/notification component.
935
+ Props for the Dropdown menu component.
903
936
 
904
937
  ```typescript
905
- interface ToastProps extends HTMLElementProps {
906
- /**
907
- * Toast content.
908
- */
909
- children?: Children
910
- /**
911
- * Toast title.
912
- */
913
- title?: string
914
- /**
915
- * Toast description.
916
- */
917
- description?: string
918
- /**
919
- * Toast status/type.
920
- */
921
- status?: ColorVariant
922
- /**
923
- * Duration in milliseconds (0 for persistent).
924
- */
925
- duration?: number
926
- /**
927
- * Whether the toast is dismissible.
928
- */
929
- dismissible?: boolean
938
+ interface DropdownProps<T = string> extends BaseProps {
930
939
  /**
931
- * Called when dismissed.
940
+ * Dropdown trigger element.
932
941
  */
933
- onDismiss?: () => void
942
+ trigger: Children
934
943
  /**
935
- * Toast position.
944
+ * Dropdown items.
936
945
  */
937
- position?: 'top' | 'top-right' | 'top-left' | 'bottom' | 'bottom-right' | 'bottom-left'
946
+ items: DropdownItem<T>[]
938
947
  /**
939
- * Accessible label for the close button.
940
- * @default 'Close'
948
+ * Called when an item is selected.
941
949
  */
942
- closeLabel?: string
943
- }
944
- ```
945
-
946
- #### `TooltipProps`
947
-
948
- Props for the Tooltip component (hover/focus popover with informational text).
949
-
950
- ```typescript
951
- interface TooltipProps extends HTMLElementProps {
950
+ onSelect?: (value: T) => void
952
951
  /**
953
- * Tooltip content.
952
+ * Dropdown placement.
954
953
  */
955
- content: Children
954
+ placement?:
955
+ 'top' | 'top-start' | 'top-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'right'
956
956
  /**
957
- * Element that triggers the tooltip.
957
+ * Whether the dropdown is open (controlled).
958
958
  */
959
- children: Children
959
+ open?: boolean
960
960
  /**
961
- * Tooltip placement.
961
+ * Called when open state changes.
962
962
  */
963
- placement?: TooltipPlacement
963
+ onOpenChange?: (open: boolean) => void
964
964
  /**
965
- * Delay before showing (ms).
965
+ * Menu alignment.
966
966
  */
967
- delay?: number
967
+ align?: 'start' | 'center' | 'end'
968
968
  /**
969
- * Whether the tooltip has an arrow.
969
+ * Menu width.
970
970
  */
971
- hasArrow?: boolean
971
+ width?: 'trigger' | 'auto' | number | string
972
972
  }
973
973
  ```
974
974
 
@@ -1158,12 +1158,12 @@ function Card({
1158
1158
 
1159
1159
  **Returns:** The rendered Card element.
1160
1160
 
1161
- #### `CardContent(props)`
1161
+ #### `CardHeader(props)`
1162
1162
 
1163
- Renders a CardContent component.
1163
+ Renders a CardHeader component.
1164
1164
 
1165
1165
  ```typescript
1166
- function CardContent({
1166
+ function CardHeader({
1167
1167
  children,
1168
1168
  className,
1169
1169
  }: {
@@ -1173,17 +1173,17 @@ function CardContent({
1173
1173
  ```
1174
1174
 
1175
1175
  - `props` — Component props.
1176
- - `props.children` — Body content.
1176
+ - `props.children` — Header content.
1177
1177
  - `props.className` — CSS class name override.
1178
1178
 
1179
- **Returns:** The rendered CardContent element.
1179
+ **Returns:** The rendered CardHeader element.
1180
1180
 
1181
- #### `CardDescription(props)`
1181
+ #### `CardTitle(props)`
1182
1182
 
1183
- Renders a CardDescription component.
1183
+ Renders a CardTitle component.
1184
1184
 
1185
1185
  ```typescript
1186
- function CardDescription({
1186
+ function CardTitle({
1187
1187
  children,
1188
1188
  className,
1189
1189
  }: {
@@ -1193,17 +1193,17 @@ function CardDescription({
1193
1193
  ```
1194
1194
 
1195
1195
  - `props` — Component props.
1196
- - `props.children` — Description content.
1196
+ - `props.children` — Title content.
1197
1197
  - `props.className` — CSS class name override.
1198
1198
 
1199
- **Returns:** The rendered CardDescription element.
1199
+ **Returns:** The rendered CardTitle element.
1200
1200
 
1201
- #### `CardFooter(props)`
1201
+ #### `CardDescription(props)`
1202
1202
 
1203
- Renders a CardFooter component.
1203
+ Renders a CardDescription component.
1204
1204
 
1205
1205
  ```typescript
1206
- function CardFooter({
1206
+ function CardDescription({
1207
1207
  children,
1208
1208
  className,
1209
1209
  }: {
@@ -1213,17 +1213,17 @@ function CardFooter({
1213
1213
  ```
1214
1214
 
1215
1215
  - `props` — Component props.
1216
- - `props.children` — Footer content.
1216
+ - `props.children` — Description content.
1217
1217
  - `props.className` — CSS class name override.
1218
1218
 
1219
- **Returns:** The rendered CardFooter element.
1219
+ **Returns:** The rendered CardDescription element.
1220
1220
 
1221
- #### `CardHeader(props)`
1221
+ #### `CardContent(props)`
1222
1222
 
1223
- Renders a CardHeader component.
1223
+ Renders a CardContent component.
1224
1224
 
1225
1225
  ```typescript
1226
- function CardHeader({
1226
+ function CardContent({
1227
1227
  children,
1228
1228
  className,
1229
1229
  }: {
@@ -1233,17 +1233,17 @@ function CardHeader({
1233
1233
  ```
1234
1234
 
1235
1235
  - `props` — Component props.
1236
- - `props.children` — Header content.
1236
+ - `props.children` — Body content.
1237
1237
  - `props.className` — CSS class name override.
1238
1238
 
1239
- **Returns:** The rendered CardHeader element.
1239
+ **Returns:** The rendered CardContent element.
1240
1240
 
1241
- #### `CardTitle(props)`
1241
+ #### `CardFooter(props)`
1242
1242
 
1243
- Renders a CardTitle component.
1243
+ Renders a CardFooter component.
1244
1244
 
1245
1245
  ```typescript
1246
- function CardTitle({
1246
+ function CardFooter({
1247
1247
  children,
1248
1248
  className,
1249
1249
  }: {
@@ -1253,10 +1253,10 @@ function CardTitle({
1253
1253
  ```
1254
1254
 
1255
1255
  - `props` — Component props.
1256
- - `props.children` — Title content.
1256
+ - `props.children` — Footer content.
1257
1257
  - `props.className` — CSS class name override.
1258
1258
 
1259
- **Returns:** The rendered CardTitle element.
1259
+ **Returns:** The rendered CardFooter element.
1260
1260
 
1261
1261
  #### `Checkbox(props)`
1262
1262
 
@@ -1287,31 +1287,6 @@ function Checkbox({
1287
1287
 
1288
1288
  **Returns:** The rendered Checkbox element.
1289
1289
 
1290
- #### `Container(props)`
1291
-
1292
- Renders a Container component.
1293
-
1294
- ```typescript
1295
- function Container({
1296
- children,
1297
- maxWidth = 'lg',
1298
- centered = true,
1299
- className,
1300
- style,
1301
- testId,
1302
- }: ContainerProps): React.JSX.Element
1303
- ```
1304
-
1305
- - `props` — Component props.
1306
- - `props.children` — Container content.
1307
- - `props.maxWidth` — Maximum width constraint.
1308
- - `props.centered` — Whether centered.
1309
- - `props.className` — CSS class name override.
1310
- - `props.style` — Inline style object.
1311
- - `props.testId` — Test identifier.
1312
-
1313
- **Returns:** The rendered Container element.
1314
-
1315
1290
  #### `Dropdown(props)`
1316
1291
 
1317
1292
  Renders a Dropdown component.
@@ -1335,19 +1310,6 @@ function Dropdown({
1335
1310
 
1336
1311
  **Returns:** The rendered Dropdown element.
1337
1312
 
1338
- #### `DropdownLabel(props)`
1339
-
1340
- Renders a DropdownLabel component.
1341
-
1342
- ```typescript
1343
- function DropdownLabel({ children }: { children: unknown }): React.JSX.Element
1344
- ```
1345
-
1346
- - `props` — Component props.
1347
- - `props.children` — Label content.
1348
-
1349
- **Returns:** The rendered DropdownLabel element.
1350
-
1351
1313
  #### `DropdownSeparator()`
1352
1314
 
1353
1315
  Renders a DropdownSeparator component.
@@ -1358,38 +1320,18 @@ function DropdownSeparator(): React.JSX.Element
1358
1320
 
1359
1321
  **Returns:** The rendered DropdownSeparator element.
1360
1322
 
1361
- #### `Flex(props)`
1323
+ #### `DropdownLabel(props)`
1362
1324
 
1363
- Renders a Flex component.
1325
+ Renders a DropdownLabel component.
1364
1326
 
1365
1327
  ```typescript
1366
- function Flex({
1367
- children,
1368
- direction = 'row',
1369
- justify,
1370
- align,
1371
- wrap,
1372
- gap,
1373
- className,
1374
- style,
1375
- testId,
1376
- onClick,
1377
- }: FlexProps): React.JSX.Element
1328
+ function DropdownLabel({ children }: { children: unknown }): React.JSX.Element
1378
1329
  ```
1379
1330
 
1380
1331
  - `props` — Component props.
1381
- - `props.children` — Flex content.
1382
- - `props.direction` — Flex direction.
1383
- - `props.justify` — Justify content.
1384
- - `props.align` — Align items.
1385
- - `props.wrap` — Flex wrap behavior.
1386
- - `props.gap` — Gap between items.
1387
- - `props.className` — CSS class name override.
1388
- - `props.style` — Inline style object.
1389
- - `props.testId` — Test identifier.
1390
- - `props.onClick` — Click handler.
1332
+ - `props.children` — Label content.
1391
1333
 
1392
- **Returns:** The rendered Flex element.
1334
+ **Returns:** The rendered DropdownLabel element.
1393
1335
 
1394
1336
  #### `Form(props)`
1395
1337
 
@@ -1435,6 +1377,79 @@ function FormField({
1435
1377
 
1436
1378
  **Returns:** The rendered FormField element.
1437
1379
 
1380
+ #### `Label(props)`
1381
+
1382
+ Renders a Label component.
1383
+
1384
+ ```typescript
1385
+ function Label({ children, required, className }: LabelProps): React.JSX.Element
1386
+ ```
1387
+
1388
+ - `props` — Component props.
1389
+ - `props.children` — Label content.
1390
+ - `props.required` — Whether required.
1391
+ - `props.className` — CSS class name override.
1392
+
1393
+ **Returns:** The rendered Label element.
1394
+
1395
+ #### `Container(props)`
1396
+
1397
+ Renders a Container component.
1398
+
1399
+ ```typescript
1400
+ function Container({
1401
+ children,
1402
+ maxWidth = 'lg',
1403
+ centered = true,
1404
+ className,
1405
+ style,
1406
+ testId,
1407
+ }: ContainerProps): React.JSX.Element
1408
+ ```
1409
+
1410
+ - `props` — Component props.
1411
+ - `props.children` — Container content.
1412
+ - `props.maxWidth` — Maximum width constraint.
1413
+ - `props.centered` — Whether centered.
1414
+ - `props.className` — CSS class name override.
1415
+ - `props.style` — Inline style object.
1416
+ - `props.testId` — Test identifier.
1417
+
1418
+ **Returns:** The rendered Container element.
1419
+
1420
+ #### `Flex(props)`
1421
+
1422
+ Renders a Flex component.
1423
+
1424
+ ```typescript
1425
+ function Flex({
1426
+ children,
1427
+ direction = 'row',
1428
+ justify,
1429
+ align,
1430
+ wrap,
1431
+ gap,
1432
+ className,
1433
+ style,
1434
+ testId,
1435
+ onClick,
1436
+ }: FlexProps): React.JSX.Element
1437
+ ```
1438
+
1439
+ - `props` — Component props.
1440
+ - `props.children` — Flex content.
1441
+ - `props.direction` — Flex direction.
1442
+ - `props.justify` — Justify content.
1443
+ - `props.align` — Align items.
1444
+ - `props.wrap` — Flex wrap behavior.
1445
+ - `props.gap` — Gap between items.
1446
+ - `props.className` — CSS class name override.
1447
+ - `props.style` — Inline style object.
1448
+ - `props.testId` — Test identifier.
1449
+ - `props.onClick` — Click handler.
1450
+
1451
+ **Returns:** The rendered Flex element.
1452
+
1438
1453
  #### `Grid(props)`
1439
1454
 
1440
1455
  Renders a Grid component.
@@ -1453,20 +1468,28 @@ function Grid({ children, columns, gap, className, style, testId }: GridProps):
1453
1468
 
1454
1469
  **Returns:** The rendered Grid element.
1455
1470
 
1456
- #### `Label(props)`
1471
+ #### `Spacer(props)`
1457
1472
 
1458
- Renders a Label component.
1473
+ Renders a Spacer component.
1459
1474
 
1460
1475
  ```typescript
1461
- function Label({ children, required, className }: LabelProps): React.JSX.Element
1476
+ function Spacer({
1477
+ size = 'md',
1478
+ horizontal,
1479
+ className,
1480
+ style,
1481
+ testId,
1482
+ }: SpacerProps): React.JSX.Element
1462
1483
  ```
1463
1484
 
1464
1485
  - `props` — Component props.
1465
- - `props.children` — Label content.
1466
- - `props.required` — Whether required.
1486
+ - `props.size` — Spacer size.
1487
+ - `props.horizontal` — Whether horizontal.
1467
1488
  - `props.className` — CSS class name override.
1489
+ - `props.style` — Inline style object.
1490
+ - `props.testId` — Test identifier.
1468
1491
 
1469
- **Returns:** The rendered Label element.
1492
+ **Returns:** The rendered Spacer element.
1470
1493
 
1471
1494
  #### `Modal(props)`
1472
1495
 
@@ -1673,29 +1696,6 @@ function Skeleton({
1673
1696
 
1674
1697
  **Returns:** The rendered Skeleton element.
1675
1698
 
1676
- #### `SkeletonCircle(props)`
1677
-
1678
- Renders a SkeletonCircle component.
1679
-
1680
- ```typescript
1681
- function SkeletonCircle({
1682
- size = 40,
1683
- className,
1684
- testId,
1685
- }: {
1686
- size?: number
1687
- className?: string
1688
- testId?: string
1689
- }): React.JSX.Element
1690
- ```
1691
-
1692
- - `props` — Component props.
1693
- - `props.size` — Circle diameter.
1694
- - `props.className` — CSS class name override.
1695
- - `props.testId` — Test identifier.
1696
-
1697
- **Returns:** The rendered SkeletonCircle element.
1698
-
1699
1699
  #### `SkeletonText(props)`
1700
1700
 
1701
1701
  Renders a SkeletonText component.
@@ -1719,28 +1719,28 @@ function SkeletonText({
1719
1719
 
1720
1720
  **Returns:** The rendered SkeletonText element.
1721
1721
 
1722
- #### `Spacer(props)`
1722
+ #### `SkeletonCircle(props)`
1723
1723
 
1724
- Renders a Spacer component.
1724
+ Renders a SkeletonCircle component.
1725
1725
 
1726
1726
  ```typescript
1727
- function Spacer({
1728
- size = 'md',
1729
- horizontal,
1727
+ function SkeletonCircle({
1728
+ size = 40,
1730
1729
  className,
1731
- style,
1732
1730
  testId,
1733
- }: SpacerProps): React.JSX.Element
1731
+ }: {
1732
+ size?: number
1733
+ className?: string
1734
+ testId?: string
1735
+ }): React.JSX.Element
1734
1736
  ```
1735
1737
 
1736
1738
  - `props` — Component props.
1737
- - `props.size` — Spacer size.
1738
- - `props.horizontal` — Whether horizontal.
1739
+ - `props.size` — Circle diameter.
1739
1740
  - `props.className` — CSS class name override.
1740
- - `props.style` — Inline style object.
1741
1741
  - `props.testId` — Test identifier.
1742
1742
 
1743
- **Returns:** The rendered Spacer element.
1743
+ **Returns:** The rendered SkeletonCircle element.
1744
1744
 
1745
1745
  #### `Spinner(props)`
1746
1746
 
@@ -1919,6 +1919,16 @@ function ToastProvider({
1919
1919
 
1920
1920
  **Returns:** The rendered ToastProvider element.
1921
1921
 
1922
+ #### `useToast()`
1923
+
1924
+ Hook for toast notifications.
1925
+
1926
+ ```typescript
1927
+ function useToast(): ToastContextValue
1928
+ ```
1929
+
1930
+ **Returns:** The toast context value.
1931
+
1922
1932
  #### `Tooltip(props)`
1923
1933
 
1924
1934
  Renders a Tooltip component.
@@ -1935,16 +1945,6 @@ function Tooltip({ children, content, className, testId }: TooltipProps): React.
1935
1945
 
1936
1946
  **Returns:** The rendered Tooltip element.
1937
1947
 
1938
- #### `useToast()`
1939
-
1940
- Hook for toast notifications.
1941
-
1942
- ```typescript
1943
- function useToast(): ToastContextValue
1944
- ```
1945
-
1946
- **Returns:** The toast context value.
1947
-
1948
1948
  ### Constants
1949
1949
 
1950
1950
  #### `Input`