@synertech/ui 0.53.0 → 0.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (62) hide show
  1. package/.claude/skills/use-synertech-ui/SKILL.md +401 -12
  2. package/dist/components/chart/ChartContainer.cjs +1 -1
  3. package/dist/components/chart/ChartContainer.js +1 -1
  4. package/dist/components/checkbox/Checkbox.cjs +1 -1
  5. package/dist/components/checkbox/Checkbox.js +1 -1
  6. package/dist/components/command-palette/CommandGroup.cjs +1 -0
  7. package/dist/components/command-palette/CommandGroup.js +1 -0
  8. package/dist/components/command-palette/CommandItem.cjs +1 -0
  9. package/dist/components/command-palette/CommandItem.js +1 -0
  10. package/dist/components/command-palette/CommandPalette.cjs +1 -0
  11. package/dist/components/command-palette/CommandPalette.js +1 -0
  12. package/dist/components/command-palette/context.cjs +1 -0
  13. package/dist/components/command-palette/context.js +1 -0
  14. package/dist/components/command-palette/index.cjs +1 -0
  15. package/dist/components/command-palette/index.js +1 -0
  16. package/dist/components/command-palette/kbd.cjs +1 -0
  17. package/dist/components/command-palette/kbd.js +1 -0
  18. package/dist/components/command-palette/match.cjs +1 -0
  19. package/dist/components/command-palette/match.js +1 -0
  20. package/dist/components/datagrid/DataGrid.cjs +1 -1
  21. package/dist/components/datagrid/DataGrid.js +1 -1
  22. package/dist/components/empty-state/EmptyState.cjs +1 -0
  23. package/dist/components/empty-state/EmptyState.js +1 -0
  24. package/dist/components/empty-state/index.cjs +1 -0
  25. package/dist/components/empty-state/index.js +1 -0
  26. package/dist/components/index.cjs +1 -1
  27. package/dist/components/index.js +1 -1
  28. package/dist/components/select/Select.cjs +1 -1
  29. package/dist/components/select/Select.js +1 -1
  30. package/dist/components/select/index.cjs +1 -1
  31. package/dist/components/select/index.js +1 -1
  32. package/dist/components/switch/Switch.cjs +1 -0
  33. package/dist/components/switch/Switch.js +1 -0
  34. package/dist/components/switch/index.cjs +1 -0
  35. package/dist/components/switch/index.js +1 -0
  36. package/dist/components/timeline/Timeline.cjs +1 -0
  37. package/dist/components/timeline/Timeline.js +1 -0
  38. package/dist/components/timeline/index.cjs +1 -0
  39. package/dist/components/timeline/index.js +1 -0
  40. package/dist/components/toast/Toast.cjs +1 -1
  41. package/dist/components/toast/Toast.js +1 -1
  42. package/dist/components/toast/Toaster.cjs +1 -0
  43. package/dist/components/toast/Toaster.js +1 -0
  44. package/dist/components/toast/index.cjs +1 -1
  45. package/dist/components/toast/index.js +1 -1
  46. package/dist/components/toast/toast-store.cjs +1 -0
  47. package/dist/components/toast/toast-store.js +1 -0
  48. package/dist/components/tree-view/TreeView.cjs +1 -0
  49. package/dist/components/tree-view/TreeView.js +1 -0
  50. package/dist/components/tree-view/index.cjs +1 -0
  51. package/dist/components/tree-view/index.js +1 -0
  52. package/dist/components/tree-view/tree-model.cjs +1 -0
  53. package/dist/components/tree-view/tree-model.js +1 -0
  54. package/dist/index.d.cts +719 -11
  55. package/dist/index.d.ts +719 -11
  56. package/dist/lib/layer-document.cjs +1 -1
  57. package/dist/lib/layer-document.js +1 -1
  58. package/dist/lib/ui-labels.cjs +1 -1
  59. package/dist/lib/ui-labels.js +1 -1
  60. package/dist/styles-no-preflight.css +842 -3
  61. package/dist/styles.css +840 -3
  62. package/package.json +1 -1
package/dist/index.d.cts CHANGED
@@ -414,7 +414,10 @@ interface ChartBrushRange {
414
414
  interface ChartStatusProps {
415
415
  /** Dims the plot while fresh data loads; a first load shows a spinner. */
416
416
  loading?: boolean;
417
- /** Replaces the "no data" message. */
417
+ /**
418
+ * Replaces the "no data" state: usually an `EmptyState` saying why, and
419
+ * what to do.
420
+ */
418
421
  emptyState?: ReactNode;
419
422
  /**
420
423
  * The data could not be loaded.
@@ -1386,8 +1389,40 @@ interface UILabels {
1386
1389
  bannerClose: string;
1387
1390
  /** Accessible name of the Toast close button. */
1388
1391
  toastClose: string;
1392
+ /** Accessible name of the region of the Toaster, when it has no hotkey. */
1393
+ toasterRegion: string;
1394
+ /** Accessible name of the region of the Toaster; `{hotkey}` is the key that sends the focus there. */
1395
+ toasterRegionHotkey: string;
1389
1396
  /** Accessible name of a PopoverClose drawn as an icon, without children of its own. */
1390
1397
  popoverClose: string;
1398
+ /** Accessible name of the dialog of a CommandPalette. */
1399
+ commandPaletteLabel: string;
1400
+ /** Accessible name of the search field of a CommandPalette. */
1401
+ commandPaletteSearch: string;
1402
+ /** Placeholder of the search field of a CommandPalette. */
1403
+ commandPalettePlaceholder: string;
1404
+ /** Shown by a CommandPalette that has no entry to offer, before anything is typed. */
1405
+ commandPaletteNoResults: string;
1406
+ /** Shown by a CommandPalette when no entry matches what is typed, `{query}` being that text. */
1407
+ commandPaletteNoResultsFor: string;
1408
+ /** Shown and announced by a CommandPalette while its entries load. */
1409
+ commandPaletteLoading: string;
1410
+ /** Announced by a CommandPalette when one entry matches, `{count}` being 1. */
1411
+ commandPaletteResult: string;
1412
+ /** Announced by a CommandPalette when several entries match, `{count}` being their number. */
1413
+ commandPaletteResults: string;
1414
+ /** Hint beside the arrow keys at the foot of a CommandPalette. */
1415
+ commandPaletteNavigate: string;
1416
+ /** Hint beside the Enter key at the foot of a CommandPalette. */
1417
+ commandPaletteSelect: string;
1418
+ /** Hint beside the Escape key at the foot of a CommandPalette. */
1419
+ commandPaletteClose: string;
1420
+ /** The Escape key as its keycap writes it, at the foot of a CommandPalette. */
1421
+ commandPaletteEscapeKey: string;
1422
+ /** Read with a node of a TreeView while its children load. */
1423
+ treeViewLoading: string;
1424
+ /** Shown beside a node of a TreeView whose children could not be loaded. */
1425
+ treeViewLoadError: string;
1391
1426
  /** Accessible name of the Chip remove button. */
1392
1427
  chipRemove: string;
1393
1428
  /** Placeholder and accessible name of the Header search field. */
@@ -1412,6 +1447,12 @@ interface UILabels {
1412
1447
  selectSearch: string;
1413
1448
  /** Placeholder of the search field of a Select. */
1414
1449
  selectSearchPlaceholder: string;
1450
+ /** Accessible name of the button removing one value of a multiple Select, `{label}` being the value's label. */
1451
+ selectRemoveValue: string;
1452
+ /** Written after the tags of a multiple Select past its `maxTagCount`, `{count}` being the values not shown. */
1453
+ selectMoreValues: string;
1454
+ /** The entry of a creatable Select that adds the text typed as a value, `{label}` being that text. */
1455
+ selectCreateOption: string;
1415
1456
  /** Shown in the suggestion list of a MentionInput while it loads. */
1416
1457
  mentionInputLoading: string;
1417
1458
  /** Hint after the title of an optional Wizard step. */
@@ -2552,6 +2593,10 @@ interface ChartContainerProps extends Omit<ComponentPropsWithoutRef<"figure">, "
2552
2593
  loading?: boolean;
2553
2594
  /** The chart has nothing to draw. */
2554
2595
  empty?: boolean;
2596
+ /**
2597
+ * Replaces the "no data" state: usually an `EmptyState` saying why, and
2598
+ * what to do.
2599
+ */
2555
2600
  emptyState?: ReactNode;
2556
2601
  /**
2557
2602
  * The data could not be loaded.
@@ -3395,6 +3440,10 @@ interface ChartFacetsProps extends Omit<ComponentPropsWithoutRef<"div">, "childr
3395
3440
  * no context: the `locale` of `UILabelsProvider` does not reach it.
3396
3441
  */
3397
3442
  locale?: string;
3443
+ /**
3444
+ * What is drawn when there is no panel, usually an `EmptyState`. Nothing
3445
+ * is drawn without it: this component reads no labels.
3446
+ */
3398
3447
  emptyState?: ReactNode;
3399
3448
  children: (panel: ChartFacetPanel) => ReactNode;
3400
3449
  }
@@ -4349,7 +4398,10 @@ interface DataGridProps<T = unknown> {
4349
4398
  loading?: boolean;
4350
4399
  /** Number of skeleton rows to show when loading */
4351
4400
  loadingRows?: number;
4352
- /** Custom empty state */
4401
+ /**
4402
+ * What the grid shows when it has no row, in place of its own "no data"
4403
+ * state: usually an `EmptyState` saying why, and what to do.
4404
+ */
4353
4405
  emptyState?: ReactNode;
4354
4406
  /**
4355
4407
  * The strings the grid writes itself, for this instance: any `dataGrid…` key
@@ -4430,6 +4482,150 @@ declare namespace Chip {
4430
4482
  var displayName: string;
4431
4483
  }
4432
4484
 
4485
+ interface CommandPaletteProps {
4486
+ /** Whether the palette is open, when the application holds the state. */
4487
+ open?: boolean;
4488
+ /** Whether the palette starts open, when it holds the state itself. */
4489
+ defaultOpen?: boolean;
4490
+ /** Called with the state the palette asks for: the hotkey, Escape, a press outside, an entry chosen. */
4491
+ onOpenChange?: (open: boolean) => void;
4492
+ /**
4493
+ * The text of the search field, when the application holds it: to search a
4494
+ * server with it, or to keep it from one opening to the next. Left out, the
4495
+ * palette holds it and empties it when it closes.
4496
+ */
4497
+ query?: string;
4498
+ /** Called with the text of the search field at every keystroke. */
4499
+ onQueryChange?: (query: string) => void;
4500
+ /**
4501
+ * Hide the entries that do not match the search: every word typed must be
4502
+ * found in an entry's text or keywords, case and accents aside. `false`
4503
+ * when the application filters itself, a server search for instance; a
4504
+ * `CommandGroup` can say it for its own entries.
4505
+ */
4506
+ filter?: boolean;
4507
+ /** Close the palette once an entry is chosen. A `CommandItem` can say otherwise. */
4508
+ closeOnSelect?: boolean;
4509
+ /**
4510
+ * The entries are being loaded: a spinner in the field, "Loading..."
4511
+ * instead of "No results", and the list `aria-busy`.
4512
+ */
4513
+ loading?: boolean;
4514
+ /**
4515
+ * The key combination that opens and closes the palette from anywhere in
4516
+ * the document: `mod` is ⌘ on Apple systems and Ctrl elsewhere, joined to
4517
+ * `ctrl`, `meta`, `alt`, `shift` and the key by `+`. `false` leaves the
4518
+ * opening to the application. A key already handled (`preventDefault()`,
4519
+ * by a text editor for instance) is left alone.
4520
+ */
4521
+ hotkey?: string | false;
4522
+ /** Accessible name of the dialog. Defaults to the `commandPaletteLabel` label. */
4523
+ label?: string;
4524
+ /** Placeholder of the search field. Defaults to the `commandPalettePlaceholder` label. */
4525
+ placeholder?: string;
4526
+ /**
4527
+ * Shown when no entry is offered, in place of "No results". An `EmptyState`
4528
+ * of size `sm` keeps the face of the kit.
4529
+ */
4530
+ emptyState?: ReactNode;
4531
+ /**
4532
+ * The foot of the palette. Left out, the keys it answers to; `null` draws
4533
+ * nothing.
4534
+ */
4535
+ footer?: ReactNode;
4536
+ /** Classes of the panel. */
4537
+ className?: string;
4538
+ /** Classes of the overlay behind the panel. */
4539
+ overlayClassName?: string;
4540
+ /** The texts of this palette, over those of the `UILabelsProvider`. */
4541
+ labels?: UILabelsOf<"commandPalette">;
4542
+ /** The `CommandGroup`s and `CommandItem`s offered, in the order they are shown. */
4543
+ children?: ReactNode;
4544
+ }
4545
+ /**
4546
+ * A dialog to reach any action of the application from the keyboard: a
4547
+ * search field over a list of entries, opened from anywhere by ⌘K (Ctrl K
4548
+ * elsewhere than on Apple systems).
4549
+ *
4550
+ * The entries are declared by the application, `CommandItem`s in
4551
+ * `CommandGroup`s, and keep their order: the palette hides those that do not
4552
+ * match what is typed (accents and case aside) and writes in bold where they
4553
+ * do. The focus stays in the field; the arrows move over the entries and
4554
+ * Enter chooses one, which calls its `onSelect` and closes the palette.
4555
+ *
4556
+ * A modal dialog under the `<body>` of the window it is shown in, with the
4557
+ * contract of `Modal`: the focus kept inside, Escape, the focus given back,
4558
+ * the page behind it inert.
4559
+ */
4560
+ declare function CommandPalette({ open: openProp, defaultOpen, onOpenChange, query: queryProp, onQueryChange, filter, closeOnSelect, loading, hotkey, label, placeholder, emptyState, footer, className, overlayClassName, labels: labelsProp, children, }: CommandPaletteProps): react_jsx_runtime.JSX.Element | null;
4561
+ declare namespace CommandPalette {
4562
+ var displayName: string;
4563
+ }
4564
+
4565
+ interface CommandGroupProps extends Omit<ComponentPropsWithoutRef<"div">, "children"> {
4566
+ /** The heading of the group, its accessible name too: "Actions", "Go to". */
4567
+ label?: ReactNode;
4568
+ /**
4569
+ * Whether the palette hides the entries of this group that do not match
4570
+ * the search. Left out, the palette's `filter` decides; `false` for results
4571
+ * a server already searched, beside actions filtered on the spot.
4572
+ */
4573
+ filter?: boolean;
4574
+ /** The `CommandItem`s of the group. */
4575
+ children?: ReactNode;
4576
+ }
4577
+ /**
4578
+ * A group of entries of a `CommandPalette`, under its heading. A group none
4579
+ * of whose entries matches the search is hidden with its heading.
4580
+ */
4581
+ declare function CommandGroup({ label, filter, className, children, ...props }: CommandGroupProps): react_jsx_runtime.JSX.Element;
4582
+ declare namespace CommandGroup {
4583
+ var displayName: string;
4584
+ }
4585
+
4586
+ interface CommandItemProps extends Omit<ComponentPropsWithoutRef<"div">, "children" | "onSelect"> {
4587
+ /**
4588
+ * What the entry does, in a few words: "Create an invoice". A string is
4589
+ * written with what matches the search in bold.
4590
+ */
4591
+ children: ReactNode;
4592
+ /** Called when the entry is chosen, by a click or by Enter. */
4593
+ onSelect?: () => void;
4594
+ /**
4595
+ * The text the entry is searched by. Left out, the text of `children`: give
4596
+ * it when they hold more than words, or other words than those searched.
4597
+ */
4598
+ textValue?: string;
4599
+ /**
4600
+ * More words the entry is found by, shown nowhere: "bill" and "facture"
4601
+ * for "Create an invoice".
4602
+ */
4603
+ keywords?: string[];
4604
+ /** A picture before the text, decorative: hidden from assistive technologies. */
4605
+ icon?: ReactNode;
4606
+ /** A second line under the text: an address, a detail. Not searched. */
4607
+ description?: ReactNode;
4608
+ /**
4609
+ * The keys of the action, shown at the end of the entry: `"⌘N"`, or
4610
+ * `["G", "R"]` for one key after the other. Shown only: the palette binds
4611
+ * nothing, the application does, and passes `aria-keyshortcuts` if it does.
4612
+ */
4613
+ shortcut?: string | string[];
4614
+ /** The entry is shown but cannot be chosen; the arrows pass over it. */
4615
+ disabled?: boolean;
4616
+ /** Close the palette once chosen. Left out, the palette's `closeOnSelect` decides. */
4617
+ closeOnSelect?: boolean;
4618
+ }
4619
+ /**
4620
+ * An entry of a `CommandPalette`: what it does, an icon, a detail and its
4621
+ * keys. Hidden while it does not match the search, unless the palette or its
4622
+ * group does not filter.
4623
+ */
4624
+ declare function CommandItem({ children, onSelect, textValue, keywords, icon, description, shortcut, disabled, closeOnSelect, id: idProp, className, onClick, onPointerMove, onMouseDown, ...props }: CommandItemProps): react_jsx_runtime.JSX.Element | null;
4625
+ declare namespace CommandItem {
4626
+ var displayName: string;
4627
+ }
4628
+
4433
4629
  interface DetachableProps {
4434
4630
  children: ReactNode;
4435
4631
  detached?: boolean;
@@ -5007,6 +5203,51 @@ interface Position {
5007
5203
  */
5008
5204
  declare function usePositioning({ triggerRef, contentRef, isOpen, side, align, sideOffset, alignOffset, avoidCollisions, collisionPadding, }: UsePositioningOptions): Position;
5009
5205
 
5206
+ type EmptyStateSize = "sm" | "md" | "lg";
5207
+ interface EmptyStateProps extends Omit<ComponentPropsWithoutRef<"div">, "title"> {
5208
+ /**
5209
+ * A picture of what is missing, drawn in a disc above the title. It is
5210
+ * decorative and hidden from assistive technologies: the title says it. An
5211
+ * `<svg>` is sized by `size`, whatever its own width and height.
5212
+ */
5213
+ icon?: ReactNode;
5214
+ /** What there is not, in one line: "No invoices yet". */
5215
+ title: ReactNode;
5216
+ /** Why there is nothing, or what to do about it. */
5217
+ description?: ReactNode;
5218
+ /**
5219
+ * The one action that follows: create the first, clear the filters, retry.
5220
+ * Usually a `Button`.
5221
+ */
5222
+ action?: ReactNode;
5223
+ /** A second way out, drawn after the first: import a file, read the guide. */
5224
+ secondaryAction?: ReactNode;
5225
+ /**
5226
+ * Makes the title a heading of this level, for a state that stands for a
5227
+ * section of the page. Left out, the title is a paragraph: in a table, a
5228
+ * chart or a card, a heading would cut the outline of the page.
5229
+ */
5230
+ headingLevel?: 1 | 2 | 3 | 4 | 5 | 6;
5231
+ /** `sm` in a table, a chart or a card, `md` for a panel, `lg` for a whole page. */
5232
+ size?: EmptyStateSize;
5233
+ /** Drawn under the description, before the actions: a hint, a list of suggestions. */
5234
+ children?: ReactNode;
5235
+ }
5236
+ /**
5237
+ * What a list, a table, a chart or a page shows when there is nothing in it:
5238
+ * an icon, a title, a line of explanation and the action that follows.
5239
+ *
5240
+ * `DataGrid` and every chart take one in `emptyState`, and draw their own
5241
+ * "no data" and "could not be loaded" with it, so that the three look alike.
5242
+ *
5243
+ * No hooks and no handlers of its own: it renders on the server. It writes no
5244
+ * text of its own either, so `UILabelsProvider` has nothing to give it.
5245
+ */
5246
+ declare function EmptyState({ icon, title, description, action, secondaryAction, headingLevel, size, children, className, ...props }: EmptyStateProps): react_jsx_runtime.JSX.Element;
5247
+ declare namespace EmptyState {
5248
+ var displayName: string;
5249
+ }
5250
+
5010
5251
  /**
5011
5252
  * What a control spreads to be the field's: the id the label points at, and
5012
5253
  * the attributes that tell a screen reader what the field says around it.
@@ -5999,11 +6240,9 @@ interface SelectOption {
5999
6240
  disabled?: boolean;
6000
6241
  keywords?: string[];
6001
6242
  }
6002
- interface SelectProps {
6243
+ /** The props a Select has in both modes. */
6244
+ interface SelectBaseProps {
6003
6245
  options: SelectOption[];
6004
- value?: string;
6005
- defaultValue?: string;
6006
- onValueChange?: (value: string) => void;
6007
6246
  searchable?: boolean;
6008
6247
  clearable?: boolean;
6009
6248
  disabled?: boolean;
@@ -6031,14 +6270,68 @@ interface SelectProps {
6031
6270
  searchLabel?: string;
6032
6271
  /** Placeholder of the search field. Defaults to the `selectSearchPlaceholder` label. */
6033
6272
  searchPlaceholder?: string;
6273
+ /**
6274
+ * The labels of this instance, under the keys of `UILabelsProvider`. The
6275
+ * props that name one label (`placeholder`, `noOptionsText`, `clearLabel`,
6276
+ * `searchLabel`, `searchPlaceholder`) win over it.
6277
+ */
6278
+ labels?: UILabelsOf<"select">;
6034
6279
  onSearchChange?: (query: string) => void;
6280
+ /**
6281
+ * Submitted with a form: the value, or one entry per value with `multiple`
6282
+ * — what a native `<select multiple>` sends.
6283
+ */
6035
6284
  name?: string;
6036
6285
  className?: string;
6286
+ /** Classes of the field: the button, or the frame holding the tags with `multiple`. */
6037
6287
  triggerClassName?: string;
6038
6288
  contentClassName?: string;
6039
6289
  maxHeight?: number;
6040
6290
  }
6041
- declare function Select({ options, value, defaultValue, onValueChange, searchable, clearable, disabled, readOnly, loading, size, variant, placeholder: placeholderProp, label, description, helperText, error, required, noOptionsText: noOptionsTextProp, clearLabel, searchLabel, searchPlaceholder, onSearchChange, name, className, triggerClassName, contentClassName, maxHeight, }: SelectProps): react_jsx_runtime.JSX.Element;
6291
+ /** The props of a Select that holds one value. */
6292
+ interface SelectSingleProps extends SelectBaseProps {
6293
+ /** Several values, written as tags in the field, instead of one. */
6294
+ multiple?: false;
6295
+ /** One value: the one chosen, when the application holds it; `""` is none. */
6296
+ value?: string;
6297
+ /** One value: the one the field starts with, when it holds its value itself. */
6298
+ defaultValue?: string;
6299
+ /** One value: called with the value chosen, or `""` when it is cleared. */
6300
+ onValueChange?: (value: string) => void;
6301
+ }
6302
+ /** The props of a Select that holds several values (`multiple`), written as tags in the field. */
6303
+ interface SelectMultipleProps extends SelectBaseProps {
6304
+ /** Several values, written as tags in the field, instead of one. */
6305
+ multiple: true;
6306
+ /** With `multiple`: the values chosen, in the order they were, when the application holds them. */
6307
+ value?: string[];
6308
+ /** With `multiple`: the values the field starts with, when it holds them itself. */
6309
+ defaultValue?: string[];
6310
+ /**
6311
+ * With `multiple`: called with every value chosen, in the order they were,
6312
+ * each time one is added or removed. The list stays open meanwhile.
6313
+ */
6314
+ onValueChange?: (value: string[]) => void;
6315
+ /**
6316
+ * The most tags written in the field; the others are counted in one more,
6317
+ * "+2". Every value has its tag by default.
6318
+ */
6319
+ maxTagCount?: number;
6320
+ /**
6321
+ * What is typed in the search field can be added as a value of its own,
6322
+ * when no option bears that label — tags typed freely. Turns the search
6323
+ * field on. The value is the text typed, written under its own text, and
6324
+ * listed with the options while it is chosen.
6325
+ */
6326
+ creatable?: boolean;
6327
+ }
6328
+ type SelectProps = SelectSingleProps | SelectMultipleProps;
6329
+ /**
6330
+ * A field whose value is chosen in a list: one value, or several with
6331
+ * `multiple`, written as tags in the field. The list is searchable, keeps to
6332
+ * the viewport, and stays live in a dialog.
6333
+ */
6334
+ declare function Select(props: SelectProps): react_jsx_runtime.JSX.Element;
6042
6335
 
6043
6336
  type SidebarVariant = "default" | "bordered" | "floating";
6044
6337
  type SidebarPosition = "left" | "right";
@@ -6347,6 +6640,73 @@ interface SliderProps extends Omit<ComponentPropsWithoutRef<"input">, "type" | "
6347
6640
  }
6348
6641
  declare const Slider: react.ForwardRefExoticComponent<SliderProps & react.RefAttributes<HTMLInputElement>>;
6349
6642
 
6643
+ interface SwitchProps extends Omit<ComponentPropsWithoutRef<"input">, "type" | "size" | "role" | "checked" | "defaultChecked" | "value" | "children"> {
6644
+ /**
6645
+ * On or off, held by the application, which changes it in
6646
+ * `onCheckedChange`. Left out, the switch is uncontrolled: the input holds
6647
+ * its state, from `defaultChecked`.
6648
+ */
6649
+ checked?: boolean;
6650
+ /**
6651
+ * The state at mount, uncontrolled. The input holds it afterwards, never a
6652
+ * React state: a form reset puts it back.
6653
+ */
6654
+ defaultChecked?: boolean;
6655
+ /**
6656
+ * Called with the new state when the reader turns the switch. The native
6657
+ * `onChange`, which a form library hands over, is called before it with the
6658
+ * event.
6659
+ */
6660
+ onCheckedChange?: (checked: boolean) => void;
6661
+ /** Names the switch. Without one, give it an `aria-label` or an `aria-labelledby`. */
6662
+ label?: ReactNode;
6663
+ /** Written under the label, and describes the switch. */
6664
+ description?: ReactNode;
6665
+ /**
6666
+ * `true` marks the switch invalid; a message also does, and is written
6667
+ * under it. The switch is then `aria-invalid` and described by the message.
6668
+ * `false` and `""` are no error.
6669
+ */
6670
+ error?: boolean | string;
6671
+ /** Size of the switch and of its texts. */
6672
+ size?: "sm" | "md" | "lg";
6673
+ /**
6674
+ * Side of the label. `left` puts the switch at the end of the row: with
6675
+ * `className="w-full"`, the row of a settings page.
6676
+ */
6677
+ labelPosition?: "left" | "right";
6678
+ /** Name in a form: the switch submits `value` under it while it is on. */
6679
+ name?: string;
6680
+ /**
6681
+ * What the form receives under `name` while the switch is on, `on` when left
6682
+ * out. Nothing is sent while it is off, as for a checkbox.
6683
+ */
6684
+ value?: string;
6685
+ /** Neither turned nor submitted, and out of the Tab order. */
6686
+ disabled?: boolean;
6687
+ /** Shown, reached and submitted, but not turned: a press or Space changes nothing. */
6688
+ readOnly?: boolean;
6689
+ /** A form is not sent while the switch is off; an asterisk follows the label. */
6690
+ required?: boolean;
6691
+ /** Classes of the root, which holds the row and the message. */
6692
+ className?: string;
6693
+ }
6694
+ /**
6695
+ * An on/off setting that takes effect as it is turned: notifications, a dark
6696
+ * theme, a feature. A choice the reader confirms with a button is a
6697
+ * `Checkbox`.
6698
+ *
6699
+ * A native `<input type="checkbox" role="switch">` under a drawn track, as
6700
+ * `Checkbox` is under its box. Uncontrolled, its state stays in the input and
6701
+ * never in a React state: the track is drawn by `:checked`, so a form reset —
6702
+ * which React 19 does after every successful action — puts it back, and what
6703
+ * is on screen is what the form sends. With `name`, it is the form's field:
6704
+ * `value` is sent while it is on, nothing while it is off.
6705
+ *
6706
+ * The ref is the input, where a form library sends the focus.
6707
+ */
6708
+ declare const Switch: react.ForwardRefExoticComponent<SwitchProps & react.RefAttributes<HTMLInputElement>>;
6709
+
6350
6710
  interface TableProps extends TableHTMLAttributes<HTMLTableElement> {
6351
6711
  children: ReactNode;
6352
6712
  }
@@ -6447,13 +6807,98 @@ declare namespace TabsContent {
6447
6807
  var displayName: string;
6448
6808
  }
6449
6809
 
6810
+ type TimelineOrientation = "vertical" | "horizontal";
6811
+ /** Where an item stands in the story: done, under way, or still to come. */
6812
+ type TimelineItemStatus = "completed" | "current" | "upcoming";
6813
+ type TimelineItemColor = "neutral" | "primary" | "success" | "warning" | "error" | "info";
6814
+ interface TimelineProps extends ComponentPropsWithoutRef<"ol"> {
6815
+ /**
6816
+ * `vertical` for a history of any length. `horizontal` for a handful of
6817
+ * steps across the width, an order on its way: each item is as wide as the
6818
+ * others, so a long history belongs in a vertical one.
6819
+ */
6820
+ orientation?: TimelineOrientation;
6821
+ /** The `TimelineItem`s, in the order they are read: the newest first, for a history. */
6822
+ children?: ReactNode;
6823
+ }
6824
+ /**
6825
+ * What happened, in order: the history of a file, an audit log, the
6826
+ * progress of an order. `GanttChart` plans what is to come; a timeline tells
6827
+ * what took place.
6828
+ *
6829
+ * An ordered list of `TimelineItem`s, each with its marker on a line that
6830
+ * runs from one to the next. No hooks, no handlers and no text of its own:
6831
+ * it renders on the server, and `UILabelsProvider` has nothing to give it.
6832
+ */
6833
+ declare function Timeline({ orientation, className, children, ...props }: TimelineProps): react_jsx_runtime.JSX.Element;
6834
+ declare namespace Timeline {
6835
+ var displayName: string;
6836
+ }
6837
+ interface TimelineItemProps extends Omit<ComponentPropsWithoutRef<"li">, "title" | "color"> {
6838
+ /**
6839
+ * What happened, in one line: "Invoice 2026-114 paid". Left out, the
6840
+ * children take its place.
6841
+ */
6842
+ title?: ReactNode;
6843
+ /**
6844
+ * When it happened, written as the reader reads it: "12 min ago",
6845
+ * "Nov 12, 2026". The timeline formats nothing: an upcoming item says
6846
+ * "expected" here, in the application's words.
6847
+ */
6848
+ time?: ReactNode;
6849
+ /**
6850
+ * The moment `time` stands for, in ISO 8601 (`2026-11-12`,
6851
+ * `2026-11-12T16:40`). Given, `time` is written in a `<time>` element that
6852
+ * carries it.
6853
+ */
6854
+ dateTime?: string;
6855
+ /**
6856
+ * `completed`: it happened. `current`: it is under way, or the latest step
6857
+ * of a process; its marker is ringed and the item is `aria-current="step"`.
6858
+ * `upcoming`: it has not happened yet; its dot is hollow, the line that
6859
+ * leads to it is dashed and its title is greyed.
6860
+ */
6861
+ status?: TimelineItemStatus;
6862
+ /**
6863
+ * The hue of the marker: grey by default, the brand's for the current
6864
+ * item. It adds to what the title says and never says it alone: "Payment
6865
+ * declined" is written, not only drawn in red.
6866
+ */
6867
+ color?: TimelineItemColor;
6868
+ /**
6869
+ * A picture of the event, drawn in a disc on the line in place of the dot.
6870
+ * It is decorative and hidden from assistive technologies: the title says
6871
+ * it. An `<svg>` is drawn at 16px, whatever its own width and height.
6872
+ */
6873
+ icon?: ReactNode;
6874
+ /**
6875
+ * Who did it, drawn on the line in place of the dot: an `Avatar` of size
6876
+ * `sm` (32px) fills the place. Decorative as well: the title names the
6877
+ * person. Wins over `icon`.
6878
+ */
6879
+ avatar?: ReactNode;
6880
+ /**
6881
+ * The details, under the title and the time: a comment, a description,
6882
+ * a link. Without `title`, they are the main text of the item.
6883
+ */
6884
+ children?: ReactNode;
6885
+ }
6886
+ /**
6887
+ * One event of a `Timeline`: its marker (a dot, an icon or an avatar), what
6888
+ * happened, when, and the details. Renders on the server, like the list.
6889
+ */
6890
+ declare function TimelineItem({ title, time, dateTime, status, color, icon, avatar, className, children, ...props }: TimelineItemProps): react_jsx_runtime.JSX.Element;
6891
+ declare namespace TimelineItem {
6892
+ var displayName: string;
6893
+ }
6894
+
6450
6895
  type ToastVariant = "solid" | "outlined" | "soft";
6451
6896
  type ToastType = "success" | "error" | "warning" | "info" | "default";
6452
6897
  type ToastPosition = "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
6453
- interface ToastProps extends Omit<ComponentPropsWithoutRef<"div">, "type"> {
6898
+ interface ToastProps extends Omit<ComponentPropsWithoutRef<"div">, "type" | "title"> {
6454
6899
  children?: ReactNode;
6455
- title?: string;
6456
- description?: string;
6900
+ title?: ReactNode;
6901
+ description?: ReactNode;
6457
6902
  type?: ToastType;
6458
6903
  variant?: ToastVariant;
6459
6904
  /**
@@ -6484,6 +6929,144 @@ declare namespace Toast {
6484
6929
  var displayName: string;
6485
6930
  }
6486
6931
 
6932
+ /** Why a toast left: its countdown ran out, its cross or its action was pressed, or `toast.dismiss()` was called. */
6933
+ type ToastCloseReason = "timeout" | "close" | "action" | "dismiss";
6934
+ /** The button of a toast. Pressed, it calls `onClick` and closes the toast, unless `onClick` calls `event.preventDefault()`. */
6935
+ interface ToastAction {
6936
+ /** Text of the button. */
6937
+ label: ReactNode;
6938
+ /** Called when the button is pressed, before the toast closes. */
6939
+ onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
6940
+ }
6941
+ interface ToastOptions {
6942
+ /**
6943
+ * Names the toast. Pushing a toast under an id already shown replaces that
6944
+ * toast in place, and starts its countdown over: how a message is updated.
6945
+ */
6946
+ id?: string;
6947
+ /** Text under the title. */
6948
+ description?: ReactNode;
6949
+ /** Colour and default icon. `toast.success()` and its siblings set it. */
6950
+ type?: ToastType;
6951
+ /** Visual variant. Defaults to the Toaster's `variant`. */
6952
+ variant?: ToastVariant;
6953
+ /** Replaces the icon of the type. */
6954
+ icon?: ReactNode;
6955
+ /**
6956
+ * Milliseconds before the toast closes on its own. Defaults to the
6957
+ * Toaster's `duration`; `0` or `Infinity` keeps it until it is closed. A
6958
+ * toast that holds what the reader must act on stays: a countdown takes the
6959
+ * action away from whoever needs more time to reach it.
6960
+ */
6961
+ duration?: number;
6962
+ /** Shows the close button. Defaults to the Toaster's `closable`. */
6963
+ closable?: boolean;
6964
+ /** A button under the text: "Undo", "Retry". */
6965
+ action?: ToastAction;
6966
+ /** Called once when the toast leaves, with the reason. Not called when it is replaced under its `id`. */
6967
+ onClose?: (reason: ToastCloseReason) => void;
6968
+ /** Classes of the toast. */
6969
+ className?: string;
6970
+ }
6971
+ /** A toast written as one object: its title and its options. */
6972
+ interface ToastContent extends ToastOptions {
6973
+ title?: ReactNode;
6974
+ }
6975
+ /** What a stage of `toast.promise()` shows: a title, a whole toast, or a function of the value (or the error) returning either. */
6976
+ type ToastPromiseMessage<Value> = ReactNode | ToastContent | ((value: Value) => ReactNode | ToastContent);
6977
+ interface ToastPromiseMessages<Value> {
6978
+ /** Shown while the promise is pending. */
6979
+ loading: ReactNode | ToastContent;
6980
+ /** Replaces the loading toast once the promise resolves. Left out, the loading toast closes. */
6981
+ success?: ToastPromiseMessage<Value>;
6982
+ /** Replaces the loading toast once the promise rejects. Left out, the loading toast closes. */
6983
+ error?: ToastPromiseMessage<unknown>;
6984
+ }
6985
+ interface ToastApi {
6986
+ /** Shows a toast and returns its id. */
6987
+ (title: ReactNode, options?: ToastOptions): string;
6988
+ /** A toast of type `success`. */
6989
+ success(title: ReactNode, options?: ToastOptions): string;
6990
+ /** A toast of type `error`. */
6991
+ error(title: ReactNode, options?: ToastOptions): string;
6992
+ /** A toast of type `warning`. */
6993
+ warning(title: ReactNode, options?: ToastOptions): string;
6994
+ /** A toast of type `info`. */
6995
+ info(title: ReactNode, options?: ToastOptions): string;
6996
+ /** A toast with a spinner, which stays until it is replaced under its id or closed. */
6997
+ loading(title: ReactNode, options?: ToastOptions): string;
6998
+ /**
6999
+ * A loading toast replaced by `success` or `error` when the promise settles.
7000
+ * Returns the promise itself: awaited, it still rejects, and the caller
7001
+ * still decides what a failure does beyond the toast.
7002
+ */
7003
+ promise<Value>(promise: Promise<Value> | (() => Promise<Value>), messages: ToastPromiseMessages<Value>, options?: ToastOptions): Promise<Value>;
7004
+ /** Closes a toast, or every toast when no id is given. */
7005
+ dismiss(id?: string): void;
7006
+ }
7007
+ /**
7008
+ * Pushes a toast to the `<Toaster />` of the application, from anywhere — a
7009
+ * component, an event handler, a module that is not a component. Returns the
7010
+ * id of the toast. Does nothing on the server.
7011
+ */
7012
+ declare const toast: ToastApi;
7013
+
7014
+ interface ToasterProps {
7015
+ /** Corner of the viewport the toasts stack in. The newest is the one nearest the edge. */
7016
+ position?: ToastPosition;
7017
+ /**
7018
+ * The most toasts shown at once. The newest are shown; the others wait,
7019
+ * without counting down, and come back as the shown ones close — none is
7020
+ * dropped unread.
7021
+ */
7022
+ max?: number;
7023
+ /** Milliseconds a toast stays when it was given no `duration`. `0` keeps every toast until it is closed. */
7024
+ duration?: number;
7025
+ /** Visual variant of a toast that was given none. */
7026
+ variant?: ToastVariant;
7027
+ /** Shows the close button of a toast that did not say. */
7028
+ closable?: boolean;
7029
+ /** Draws, along the bottom of a toast that counts down, the time it has left. */
7030
+ showProgress?: boolean;
7031
+ /**
7032
+ * The key that sends the focus to the toasts, as `KeyboardEvent.key` (or
7033
+ * `.code`) names it, without a modifier: how a keyboard reaches the action
7034
+ * of a toast. Escape, or Tab past the last toast, goes back. `false` turns
7035
+ * it off.
7036
+ */
7037
+ hotkey?: string | false;
7038
+ /**
7039
+ * Accessible name of the region. Defaults to the `toasterRegionHotkey`
7040
+ * label, with the hotkey, or `toasterRegion` without one.
7041
+ */
7042
+ label?: string;
7043
+ /** Classes of the region. */
7044
+ className?: string;
7045
+ }
7046
+ /**
7047
+ * Draws the toasts pushed with `toast()` or `useToast()`. Mount one, near the
7048
+ * root of the application: a server layout can render it, it takes no
7049
+ * function.
7050
+ *
7051
+ * One live region speaks for the stack, polite for every type — an error is
7052
+ * read after what is being read, not over it: a toast is not where an
7053
+ * application stops its reader, a dialog is. The region stays readable and
7054
+ * clickable while a dialog hides the page, sits above dialogs and menus, and
7055
+ * is rendered under the `<body>` of the document it is shown in.
7056
+ *
7057
+ * The countdowns are held while the pointer is over the stack, while the
7058
+ * focus is in it and while the page is hidden, and start over when that ends.
7059
+ */
7060
+ declare function Toaster({ position, max, duration, variant, closable, showProgress, hotkey, label, className, }: ToasterProps): react_jsx_runtime.JSX.Element | null;
7061
+ declare namespace Toaster {
7062
+ var displayName: string;
7063
+ }
7064
+ /**
7065
+ * The function that pushes a toast to the `<Toaster />`: `toast` itself, for a
7066
+ * component that would rather ask a hook. Stable from one render to the next.
7067
+ */
7068
+ declare function useToast(): ToastApi;
7069
+
6487
7070
  type TooltipPosition = "top" | "bottom" | "left" | "right";
6488
7071
  type TooltipVariant = "default" | "light" | "error" | "success" | "warning" | "info";
6489
7072
  type TooltipSize = "sm" | "md" | "lg";
@@ -6509,6 +7092,131 @@ declare namespace Tooltip {
6509
7092
  var displayName: string;
6510
7093
  }
6511
7094
 
7095
+ /**
7096
+ * A node of a `TreeView`: a leaf, or a branch with `children` (or with
7097
+ * `hasChildren`, its children loaded when it is first opened).
7098
+ */
7099
+ interface TreeNode<T = unknown> {
7100
+ /** The identifier of the node, unique in the tree: what `expanded`, `selected` and `checked` hold. */
7101
+ id: string;
7102
+ /** What the node shows: its name. */
7103
+ label: ReactNode;
7104
+ /**
7105
+ * The text typing a first letter looks for. Left out, the text of `label`:
7106
+ * give it when the label holds more than words.
7107
+ */
7108
+ textValue?: string;
7109
+ /** A picture before the label, decorative: hidden from assistive technologies. */
7110
+ icon?: ReactNode;
7111
+ /** The picture of an open branch, in place of `icon`: an open folder. */
7112
+ expandedIcon?: ReactNode;
7113
+ /**
7114
+ * The children of a branch. An empty array is a branch with nothing in it,
7115
+ * drawn as a leaf.
7116
+ */
7117
+ children?: TreeNode<T>[];
7118
+ /**
7119
+ * A branch whose `children` are not there yet: `loadChildren` is called the
7120
+ * first time it is opened.
7121
+ */
7122
+ hasChildren?: boolean;
7123
+ /** The node is shown, read and opened, but neither selected nor checked. */
7124
+ disabled?: boolean;
7125
+ /** Anything the application keeps with the node: a path, a record. */
7126
+ data?: T;
7127
+ }
7128
+ /** The state of a node's box, in a tree with `checkable`. */
7129
+ type TreeCheckState = "checked" | "mixed" | "unchecked";
7130
+
7131
+ /** How many nodes the reader can select: none, one, or several. */
7132
+ type TreeSelectionMode = "none" | "single" | "multiple";
7133
+ /** What `renderLabel` is told about the node it draws. */
7134
+ interface TreeItemState {
7135
+ /** 1 for a root. */
7136
+ level: number;
7137
+ expanded: boolean;
7138
+ selected: boolean;
7139
+ checked: TreeCheckState;
7140
+ disabled: boolean;
7141
+ /** Its children are being loaded. */
7142
+ loading: boolean;
7143
+ }
7144
+ interface TreeViewProps<T = unknown> extends Omit<HTMLAttributes<HTMLUListElement>, "children" | "onSelect" | "defaultChecked" | "defaultValue" | "onChange"> {
7145
+ /** The roots of the tree, each with its children. */
7146
+ items: TreeNode<T>[];
7147
+ /** The open branches, when the application holds them. */
7148
+ expanded?: string[];
7149
+ /** The branches open at first, when the tree holds them itself. */
7150
+ defaultExpanded?: string[];
7151
+ /** Called with the open branches, in the order of the tree, when one opens or closes. */
7152
+ onExpandedChange?: (expanded: string[]) => void;
7153
+ /**
7154
+ * How many nodes can be selected. `single`: a click or Enter selects one.
7155
+ * `multiple`: Ctrl / ⌘ + click and Space add or remove one, Shift + click
7156
+ * selects a run, Ctrl / ⌘ + A everything shown. `none`: a click only opens
7157
+ * and closes.
7158
+ */
7159
+ selectionMode?: TreeSelectionMode;
7160
+ /** The selected nodes, when the application holds them. */
7161
+ selected?: string[];
7162
+ /** The nodes selected at first, when the tree holds them itself. */
7163
+ defaultSelected?: string[];
7164
+ /** Called with the selected nodes, in the order of the tree. */
7165
+ onSelectionChange?: (selected: string[]) => void;
7166
+ /**
7167
+ * A box before each node, with three states: checking a branch checks what
7168
+ * is under it, and a branch with some of its children checked is mixed.
7169
+ * Space and a click on the box check; a disabled node keeps its state.
7170
+ */
7171
+ checkable?: boolean;
7172
+ /** The checked nodes, when the application holds them. */
7173
+ checked?: string[];
7174
+ /** The nodes checked at first, when the tree holds them itself. */
7175
+ defaultChecked?: string[];
7176
+ /**
7177
+ * Called with every node checked, in the order of the tree: a branch whose
7178
+ * children are all checked comes with them. A branch checked before its
7179
+ * children were loaded stands for them.
7180
+ */
7181
+ onCheckedChange?: (checked: string[]) => void;
7182
+ /**
7183
+ * Loads the children of a node marked `hasChildren`, the first time it is
7184
+ * opened. The node shows a spinner meanwhile; a promise that fails closes
7185
+ * it again, and opening it once more tries again.
7186
+ */
7187
+ loadChildren?: (node: TreeNode<T>) => Promise<TreeNode<T>[]>;
7188
+ /** Called when `loadChildren` fails. Without it, the error is written in the console. */
7189
+ onLoadError?: (error: unknown, node: TreeNode<T>) => void;
7190
+ /**
7191
+ * A click or Enter on a branch opens or closes it, beside selecting it.
7192
+ * `false` leaves that to the arrow before it and the arrow keys.
7193
+ */
7194
+ expandOnClick?: boolean;
7195
+ /** The step of each level, in pixels. */
7196
+ indent?: number;
7197
+ /** Draws the label of a node in place of its `label`: a count, a badge. */
7198
+ renderLabel?: (node: TreeNode<T>, state: TreeItemState) => ReactNode;
7199
+ /** Shown in place of the tree when `items` is empty: an `EmptyState` of size `sm`. */
7200
+ emptyState?: ReactNode;
7201
+ /** The texts of this tree, over those of the `UILabelsProvider`. */
7202
+ labels?: UILabelsOf<"treeView">;
7203
+ }
7204
+ /**
7205
+ * A hierarchy the reader opens, closes and moves through: folders and files,
7206
+ * categories, an organisation chart.
7207
+ *
7208
+ * The ARIA `tree` pattern in full: one node in the tab order, the arrows
7209
+ * moving through the nodes shown (right opens a branch then enters it, left
7210
+ * closes it then goes up to its parent), Home and End, `*` opening the
7211
+ * siblings of the node, and the first letters of a name bringing the focus
7212
+ * to it. Selection of one node or several, three-state boxes, and children
7213
+ * loaded the first time their branch is opened.
7214
+ */
7215
+ declare function TreeView<T = unknown>({ items, expanded: expandedProp, defaultExpanded, onExpandedChange, selectionMode, selected: selectedProp, defaultSelected, onSelectionChange, checkable, checked: checkedProp, defaultChecked, onCheckedChange, loadChildren, onLoadError, expandOnClick, indent, renderLabel, emptyState, labels: labelsProp, className, onKeyDown, onFocus, ...props }: TreeViewProps<T>): react_jsx_runtime.JSX.Element;
7216
+ declare namespace TreeView {
7217
+ var displayName: string;
7218
+ }
7219
+
6512
7220
  interface FooterProps extends ComponentPropsWithoutRef<"footer"> {
6513
7221
  variant?: "default" | "bordered" | "minimal" | "dark";
6514
7222
  size?: "sm" | "md" | "lg";
@@ -7218,4 +7926,4 @@ declare function isFocusable(element: HTMLElement): boolean;
7218
7926
  */
7219
7927
  declare function getFocusableElements(container: HTMLElement): HTMLElement[];
7220
7928
 
7221
- export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionSize, AccordionTrigger, type AccordionTriggerProps, type AccordionType, type AccordionVariant, AdvanceDetachable, type AdvanceDetachableProps, type AdvanceDetachableRef, type AdvanceDetachableRenderContext, type AggregateFunction, type Align, AreaChart, type AreaChartProps, Avatar, type AvatarProps, Badge, type BadgeColor, type BadgeProps, type BadgeSize, type BadgeVariant, Banner, type BannerProps, type BannerType, type BannerVariant, BarChart, type BarChartOrientation, type BarChartProps, type BinSpec, BoxPlot, type BoxPlotBox, type BoxPlotProps, type BoxPlotQuantileKeys, type BoxStats, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, BulletChart, type BulletChartProps, type BulletRow, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, CHART_ALL_PAIRS_LIMIT, CHART_DIVERGING_COLORS, CHART_DIVERGING_DARK_STOPS, CHART_DIVERGING_NEUTRAL_INDEX, CHART_DOWN_COLOR, CHART_MAX_COLOR_CLASSES, CHART_MUTED_COLOR, CHART_ORDINAL_COLORS, CHART_ORDINAL_DARK_STOPS, CHART_PALETTE_SIZE, CHART_PATTERNS, CHART_POINT_BUDGET, CHART_SEQUENTIAL_COLORS, CHART_SEQUENTIAL_DARK_STOPS, CHART_SERIES_COLORS, CHART_SURFACE_COLOR, CHART_UP_COLOR, Calendar, type CalendarColor, type CalendarDateRange, type CalendarDayState, type CalendarLabels, type CalendarMode, type CalendarProps, type CalendarSize, type CalendarWeekStart, type Candle, CandlestickChart, type CandlestickChartProps, Card, CardBody, type CardBodyProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, CardImage, type CardImageProps, type CardProps, CardTitle, type CardTitleProps, type CartesianChartBaseProps, type CartesianGeometry, type CartesianGeometryOptions, type CartesianOrientation, type CategoryPlacement, type ChartAnnotation, type ChartAnnotationBase, ChartAnnotationLayer, type ChartAnnotationLayerProps, ChartAxis, type ChartAxisOrientation, type ChartAxisProps, type ChartBandAnnotation, ChartBrushLayer, type ChartBrushLayerProps, type ChartBrushRange, type ChartColorScale, ChartContainer, type ChartContainerProps, type ChartContainerRenderArgs, type ChartCurve, type ChartDatum, type ChartDimensions, ChartExportButton, type ChartExportButtonProps, type ChartExportFormat, type ChartExportOptions, type ChartExportRow, type ChartExportSource, type ChartFacetPanel, ChartFacets, type ChartFacetsProps, ChartFilterBar, type ChartFilterBarProps, ChartGrid, type ChartGridLines, type ChartGridProps, ChartLegend, type ChartLegendItem, type ChartLegendMarker, type ChartLegendPosition, type ChartLegendProps, type ChartLineAnnotation, type ChartMargin, type ChartOrientation, type ChartOverlay, type ChartOverlayRenderer, type ChartPattern, ChartPatternDefs, type ChartPatternDefsProps, type ChartPatternEntry, type ChartPeriod, ChartPeriodPicker, type ChartPeriodPickerProps, type ChartPeriodPreset, type ChartPlotContext, type ChartPoint, type ChartPointAnnotation, type ChartPointEvent, type ChartReferenceLine, type ChartResolvedSeries, ChartScaleLegend, type ChartScaleLegendProps, type ChartScaleType, type ChartSeries, type ChartSize, type ChartStatusProps, type ChartSyncContextValue, ChartSyncProvider, type ChartSyncProviderProps, ChartTableView, type ChartTableViewProps, type ChartTick, ChartTooltip, ChartTooltipContent, type ChartTooltipContentProps, type ChartTooltipPayload, type ChartTooltipProps, type ChartXAxisConfig, type ChartXValue, type ChartYAxisConfig, Checkbox, CheckboxGroup, CheckboxGroupItem, type CheckboxGroupItemProps, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipColor, type ChipProps, type ChipSize, type ChipVariant, CircularProgress, type CircularProgressColor, type CircularProgressProps, type CircularProgressSize, type CircularProgressThickness, type ColumnDef, DEFAULT_CHART_PERIOD_PRESETS, DEFAULT_CHART_WIDTH, DEFAULT_FIELD_TYPES, DataGrid, type DataGridMode, type DataGridProps, type DataGridRef, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type DateRangePreset, type DateRangePresetKey, type DateRangePresetOption, type Density, Detachable, type DetachableProps, type DetachableRef, DeviceMockup, type DeviceMockupProps, type DeviceOrientation, type DeviceSize, type DeviceTheme, type DeviceType, type DialogA11yProps, type DialogInitialFocus, type DialogReturnFocus, type DivergingScaleOptions, Divider, type DividerOrientation, type DividerProps, type DividerTextAlign, type DividerVariant, Drawer, type DrawerPosition, type DrawerProps, type DrawerSize, Dropdown, DropdownCheckboxItem, type DropdownCheckboxItemProps, DropdownContent, type DropdownContentProps, type DropdownContextValue, DropdownItem, type DropdownItemProps, DropdownLabel, type DropdownLabelProps, type DropdownProps, DropdownRadioGroup, type DropdownRadioGroupProps, DropdownRadioItem, type DropdownRadioItemProps, DropdownSeparator, type DropdownSeparatorProps, DropdownSubMenu, DropdownSubMenuContent, type DropdownSubMenuContentProps, type DropdownSubMenuProps, DropdownSubMenuTrigger, type DropdownSubMenuTriggerProps, DropdownTrigger, type DropdownTriggerProps, DumbbellChart, type DumbbellChartProps, type DumbbellRow, type DumbbellSort, FOCUSABLE_SELECTOR, FileSelector, type FileSelectorProps, type FilterOperator, type FilterType, type FilterValue, Footer, FooterBottom, type FooterBottomProps, FooterColumn, type FooterColumnProps, FooterLink, type FooterLinkProps, type FooterProps, FooterSection, type FooterSectionProps, FooterSocial, FooterSocialLink, type FooterSocialLinkProps, type FooterSocialProps, FormField, type FormFieldControlProps, type FormFieldProps, type FormFieldState, FunnelChart, type FunnelChartProps, type FunnelStage, GanttChart, type GanttChartProps, type GanttTask, Header, type HeaderProps, Heatmap, type HeatmapCell, type HeatmapProps, HelpButton, type HelpButtonProps, type HistogramBin, INERT_IGNORE_ATTRIBUTE, ImageUploader, type ImageUploaderProps, Indicator, type IndicatorColor, type IndicatorPlacement, type IndicatorProps, type IndicatorSize, type IndicatorVariant, Input, type InputProps, Label, type LabelColor, type LabelProps, type LabelSize, type LabelVariant, type LabelWeight, LineChart, type LineChartProps, MarkdownEditorComponent, type MentionData, MentionInput, type MentionInputProps, type MentionInputValue, type MentionSuggestion, Modal, type ModalProps, type NavItem, type NodeRegistryEntry, NumberInput, type NumberInputProps, Pagination, type PaginationConfig, type PaginationProps, PieChart, type PieChartProps, Popover, PopoverClose, type PopoverCloseProps, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, type Position, ProgressBar, type ProgressBarColor, type ProgressBarProps, type ProgressBarSize, type ProgressBarVariant, RadioButton, type RadioButtonProps, type ScatterBubble, ScatterChart, type ScatterChartProps, SchemaEditor, type SchemaEditorProps, type SchemaEditorRef, type SchemaField, type SchemaFieldEvent, type SchemaFieldType, type SchemaRelation, type SchemaRelationCardinality, type SchemaTable, type SchemaTableEvent, type SchemaValue, type SchemaViewport, Select, type SelectOption, type SelectProps, type SelectedFile, type SelectionMode, type SequentialScaleOptions, type Side, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, type SidebarPosition, type SidebarProps, SidebarSubMenu, type SidebarSubMenuProps, SidebarToggle, type SidebarToggleProps, type SidebarVariant, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonVariant, Slider, type SliderColor, type SliderMark, type SliderProps, type SliderSize, type SortDirection, type SortState, Sparkline, type SparklineProps, StatCard, type StatCardDelta, type StatCardDeltaDirection, type StatCardDeltaTone, StatCardGroup, type StatCardGroupProps, type StatCardProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsColor, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsOrientation, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, type TimeTickScale, type TimeUnit, Toast, type ToastPosition, type ToastProps, type ToastType, type ToastVariant, Tooltip, type TooltipPosition, type TooltipProps, type TooltipSize, type TooltipTrigger, type TooltipVariant, type UILabels, type UILabelsOf, UILabelsProvider, type UILabelsProviderProps, type UILinkComponent, type UILinkProps, type UseChartBrushOptions, type UseChartBrushResult, type UseChartSizeOptions, type UseChartSizeResult, type UseClickOutsideOptions, type UseDialogA11yOptions, type UseDialogA11yResult, type UseKeyboardNavigationOptions, type UsePositioningOptions, WaterfallChart, type WaterfallChartProps, type WaterfallKind, type WaterfallStep, WithHelpButton, type WithHelpButtonProps, Wizard, WizardActions, type WizardActionsProps, type WizardColor, WizardContent, type WizardContentProps, type WizardContextValue, type WizardDirection, WizardNext, type WizardNextProps, type WizardOrientation, WizardPanel, type WizardPanelProps, WizardPrevious, type WizardPreviousProps, type WizardProps, type WizardSize, type WizardStepChangeMeta, type WizardStepDefinition, type WizardStepStatus, WizardSteps, type WizardStepsProps, type WizardVariant, type WorkflowDirection, type WorkflowEdge, WorkflowEditor, type WorkflowEditorProps, type WorkflowEditorRef, type WorkflowNode, type WorkflowNodeAction, type WorkflowNodeActionEvent, type WorkflowNodeActionPosition, type WorkflowNodeEvent, type WorkflowPort, type WorkflowValue, type WorkflowViewport, autoLayoutTables, binEdges, binValues, boxStats, brushToPeriod, buildCartesianGeometry, cn, createCategoryLocator, createDefaultField, createDefaultTable, createDivergingScale, createPeriod, createPlotContext, createSequentialScale, decimateIndices, decimatePath, defaultUILabels, describeAnnotations, downloadChartData, endOfDay, findOwnedLayers, formatPeriodRange, formatTimeTick, formatUILabel, frenchUILabels, generateFieldId, generateRelationId, generateSQL, generateTableId, getFocusableElements, getOrdinalColor, getPattern, getSeriesColor, getSeriesLabel, hideOthers, isElementVisible, isFocusable, lttb, niceTimeTicks, patternBackground, patternFill, patternId, quantile, quantileSorted, rampColor, registerFloatingLayer, resetBarChartWarnings, resetDumbbellWarnings, resetFacetWarnings, resetPointBudgetWarning, resolvePeriodPreset, resolveSeriesColor, samePeriod, sampleEvenly, splitOverlay, startOfDay, sturgesBins, toChartCsv, toChartJson, toChartRows, toLegendItems, toTimestamp, useChartBrush, useChartSize, useChartSync, useClickOutside, useDialogA11y, useDropdownContext, useFocusItem, useKeyboardNavigation, usePositioning, useSidebar, useUILabels, useUILinkComponent, useUILocale, useWizard };
7929
+ export { Accordion, AccordionContent, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, type AccordionSize, AccordionTrigger, type AccordionTriggerProps, type AccordionType, type AccordionVariant, AdvanceDetachable, type AdvanceDetachableProps, type AdvanceDetachableRef, type AdvanceDetachableRenderContext, type AggregateFunction, type Align, AreaChart, type AreaChartProps, Avatar, type AvatarProps, Badge, type BadgeColor, type BadgeProps, type BadgeSize, type BadgeVariant, Banner, type BannerProps, type BannerType, type BannerVariant, BarChart, type BarChartOrientation, type BarChartProps, type BinSpec, BoxPlot, type BoxPlotBox, type BoxPlotProps, type BoxPlotQuantileKeys, type BoxStats, Breadcrumb, type BreadcrumbItem, type BreadcrumbProps, BulletChart, type BulletChartProps, type BulletRow, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, CHART_ALL_PAIRS_LIMIT, CHART_DIVERGING_COLORS, CHART_DIVERGING_DARK_STOPS, CHART_DIVERGING_NEUTRAL_INDEX, CHART_DOWN_COLOR, CHART_MAX_COLOR_CLASSES, CHART_MUTED_COLOR, CHART_ORDINAL_COLORS, CHART_ORDINAL_DARK_STOPS, CHART_PALETTE_SIZE, CHART_PATTERNS, CHART_POINT_BUDGET, CHART_SEQUENTIAL_COLORS, CHART_SEQUENTIAL_DARK_STOPS, CHART_SERIES_COLORS, CHART_SURFACE_COLOR, CHART_UP_COLOR, Calendar, type CalendarColor, type CalendarDateRange, type CalendarDayState, type CalendarLabels, type CalendarMode, type CalendarProps, type CalendarSize, type CalendarWeekStart, type Candle, CandlestickChart, type CandlestickChartProps, Card, CardBody, type CardBodyProps, CardDescription, type CardDescriptionProps, CardFooter, type CardFooterProps, CardHeader, type CardHeaderProps, CardImage, type CardImageProps, type CardProps, CardTitle, type CardTitleProps, type CartesianChartBaseProps, type CartesianGeometry, type CartesianGeometryOptions, type CartesianOrientation, type CategoryPlacement, type ChartAnnotation, type ChartAnnotationBase, ChartAnnotationLayer, type ChartAnnotationLayerProps, ChartAxis, type ChartAxisOrientation, type ChartAxisProps, type ChartBandAnnotation, ChartBrushLayer, type ChartBrushLayerProps, type ChartBrushRange, type ChartColorScale, ChartContainer, type ChartContainerProps, type ChartContainerRenderArgs, type ChartCurve, type ChartDatum, type ChartDimensions, ChartExportButton, type ChartExportButtonProps, type ChartExportFormat, type ChartExportOptions, type ChartExportRow, type ChartExportSource, type ChartFacetPanel, ChartFacets, type ChartFacetsProps, ChartFilterBar, type ChartFilterBarProps, ChartGrid, type ChartGridLines, type ChartGridProps, ChartLegend, type ChartLegendItem, type ChartLegendMarker, type ChartLegendPosition, type ChartLegendProps, type ChartLineAnnotation, type ChartMargin, type ChartOrientation, type ChartOverlay, type ChartOverlayRenderer, type ChartPattern, ChartPatternDefs, type ChartPatternDefsProps, type ChartPatternEntry, type ChartPeriod, ChartPeriodPicker, type ChartPeriodPickerProps, type ChartPeriodPreset, type ChartPlotContext, type ChartPoint, type ChartPointAnnotation, type ChartPointEvent, type ChartReferenceLine, type ChartResolvedSeries, ChartScaleLegend, type ChartScaleLegendProps, type ChartScaleType, type ChartSeries, type ChartSize, type ChartStatusProps, type ChartSyncContextValue, ChartSyncProvider, type ChartSyncProviderProps, ChartTableView, type ChartTableViewProps, type ChartTick, ChartTooltip, ChartTooltipContent, type ChartTooltipContentProps, type ChartTooltipPayload, type ChartTooltipProps, type ChartXAxisConfig, type ChartXValue, type ChartYAxisConfig, Checkbox, CheckboxGroup, CheckboxGroupItem, type CheckboxGroupItemProps, type CheckboxGroupProps, type CheckboxProps, Chip, type ChipColor, type ChipProps, type ChipSize, type ChipVariant, CircularProgress, type CircularProgressColor, type CircularProgressProps, type CircularProgressSize, type CircularProgressThickness, type ColumnDef, CommandGroup, type CommandGroupProps, CommandItem, type CommandItemProps, CommandPalette, type CommandPaletteProps, DEFAULT_CHART_PERIOD_PRESETS, DEFAULT_CHART_WIDTH, DEFAULT_FIELD_TYPES, DataGrid, type DataGridMode, type DataGridProps, type DataGridRef, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, type DateRangePreset, type DateRangePresetKey, type DateRangePresetOption, type Density, Detachable, type DetachableProps, type DetachableRef, DeviceMockup, type DeviceMockupProps, type DeviceOrientation, type DeviceSize, type DeviceTheme, type DeviceType, type DialogA11yProps, type DialogInitialFocus, type DialogReturnFocus, type DivergingScaleOptions, Divider, type DividerOrientation, type DividerProps, type DividerTextAlign, type DividerVariant, Drawer, type DrawerPosition, type DrawerProps, type DrawerSize, Dropdown, DropdownCheckboxItem, type DropdownCheckboxItemProps, DropdownContent, type DropdownContentProps, type DropdownContextValue, DropdownItem, type DropdownItemProps, DropdownLabel, type DropdownLabelProps, type DropdownProps, DropdownRadioGroup, type DropdownRadioGroupProps, DropdownRadioItem, type DropdownRadioItemProps, DropdownSeparator, type DropdownSeparatorProps, DropdownSubMenu, DropdownSubMenuContent, type DropdownSubMenuContentProps, type DropdownSubMenuProps, DropdownSubMenuTrigger, type DropdownSubMenuTriggerProps, DropdownTrigger, type DropdownTriggerProps, DumbbellChart, type DumbbellChartProps, type DumbbellRow, type DumbbellSort, EmptyState, type EmptyStateProps, type EmptyStateSize, FOCUSABLE_SELECTOR, FileSelector, type FileSelectorProps, type FilterOperator, type FilterType, type FilterValue, Footer, FooterBottom, type FooterBottomProps, FooterColumn, type FooterColumnProps, FooterLink, type FooterLinkProps, type FooterProps, FooterSection, type FooterSectionProps, FooterSocial, FooterSocialLink, type FooterSocialLinkProps, type FooterSocialProps, FormField, type FormFieldControlProps, type FormFieldProps, type FormFieldState, FunnelChart, type FunnelChartProps, type FunnelStage, GanttChart, type GanttChartProps, type GanttTask, Header, type HeaderProps, Heatmap, type HeatmapCell, type HeatmapProps, HelpButton, type HelpButtonProps, type HistogramBin, INERT_IGNORE_ATTRIBUTE, ImageUploader, type ImageUploaderProps, Indicator, type IndicatorColor, type IndicatorPlacement, type IndicatorProps, type IndicatorSize, type IndicatorVariant, Input, type InputProps, Label, type LabelColor, type LabelProps, type LabelSize, type LabelVariant, type LabelWeight, LineChart, type LineChartProps, MarkdownEditorComponent, type MentionData, MentionInput, type MentionInputProps, type MentionInputValue, type MentionSuggestion, Modal, type ModalProps, type NavItem, type NodeRegistryEntry, NumberInput, type NumberInputProps, Pagination, type PaginationConfig, type PaginationProps, PieChart, type PieChartProps, Popover, PopoverClose, type PopoverCloseProps, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, type Position, ProgressBar, type ProgressBarColor, type ProgressBarProps, type ProgressBarSize, type ProgressBarVariant, RadioButton, type RadioButtonProps, type ScatterBubble, ScatterChart, type ScatterChartProps, SchemaEditor, type SchemaEditorProps, type SchemaEditorRef, type SchemaField, type SchemaFieldEvent, type SchemaFieldType, type SchemaRelation, type SchemaRelationCardinality, type SchemaTable, type SchemaTableEvent, type SchemaValue, type SchemaViewport, Select, type SelectBaseProps, type SelectMultipleProps, type SelectOption, type SelectProps, type SelectSingleProps, type SelectedFile, type SelectionMode, type SequentialScaleOptions, type Side, Sidebar, SidebarContent, type SidebarContentProps, SidebarFooter, type SidebarFooterProps, SidebarGroup, type SidebarGroupProps, SidebarHeader, type SidebarHeaderProps, SidebarItem, type SidebarItemProps, type SidebarPosition, type SidebarProps, SidebarSubMenu, type SidebarSubMenuProps, SidebarToggle, type SidebarToggleProps, type SidebarVariant, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonVariant, Slider, type SliderColor, type SliderMark, type SliderProps, type SliderSize, type SortDirection, type SortState, Sparkline, type SparklineProps, StatCard, type StatCardDelta, type StatCardDeltaDirection, type StatCardDeltaTone, StatCardGroup, type StatCardGroupProps, type StatCardProps, Switch, type SwitchProps, Table, TableBody, type TableBodyProps, TableCell, type TableCellProps, TableHeader, TableHeaderCell, type TableHeaderCellProps, type TableHeaderProps, type TableProps, TableRow, type TableRowProps, Tabs, type TabsColor, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsOrientation, type TabsProps, type TabsSize, TabsTrigger, type TabsTriggerProps, type TabsVariant, type TimeTickScale, type TimeUnit, Timeline, TimelineItem, type TimelineItemColor, type TimelineItemProps, type TimelineItemStatus, type TimelineOrientation, type TimelineProps, Toast, type ToastAction, type ToastApi, type ToastCloseReason, type ToastContent, type ToastOptions, type ToastPosition, type ToastPromiseMessage, type ToastPromiseMessages, type ToastProps, type ToastType, type ToastVariant, Toaster, type ToasterProps, Tooltip, type TooltipPosition, type TooltipProps, type TooltipSize, type TooltipTrigger, type TooltipVariant, type TreeCheckState, type TreeItemState, type TreeNode, type TreeSelectionMode, TreeView, type TreeViewProps, type UILabels, type UILabelsOf, UILabelsProvider, type UILabelsProviderProps, type UILinkComponent, type UILinkProps, type UseChartBrushOptions, type UseChartBrushResult, type UseChartSizeOptions, type UseChartSizeResult, type UseClickOutsideOptions, type UseDialogA11yOptions, type UseDialogA11yResult, type UseKeyboardNavigationOptions, type UsePositioningOptions, WaterfallChart, type WaterfallChartProps, type WaterfallKind, type WaterfallStep, WithHelpButton, type WithHelpButtonProps, Wizard, WizardActions, type WizardActionsProps, type WizardColor, WizardContent, type WizardContentProps, type WizardContextValue, type WizardDirection, WizardNext, type WizardNextProps, type WizardOrientation, WizardPanel, type WizardPanelProps, WizardPrevious, type WizardPreviousProps, type WizardProps, type WizardSize, type WizardStepChangeMeta, type WizardStepDefinition, type WizardStepStatus, WizardSteps, type WizardStepsProps, type WizardVariant, type WorkflowDirection, type WorkflowEdge, WorkflowEditor, type WorkflowEditorProps, type WorkflowEditorRef, type WorkflowNode, type WorkflowNodeAction, type WorkflowNodeActionEvent, type WorkflowNodeActionPosition, type WorkflowNodeEvent, type WorkflowPort, type WorkflowValue, type WorkflowViewport, autoLayoutTables, binEdges, binValues, boxStats, brushToPeriod, buildCartesianGeometry, cn, createCategoryLocator, createDefaultField, createDefaultTable, createDivergingScale, createPeriod, createPlotContext, createSequentialScale, decimateIndices, decimatePath, defaultUILabels, describeAnnotations, downloadChartData, endOfDay, findOwnedLayers, formatPeriodRange, formatTimeTick, formatUILabel, frenchUILabels, generateFieldId, generateRelationId, generateSQL, generateTableId, getFocusableElements, getOrdinalColor, getPattern, getSeriesColor, getSeriesLabel, hideOthers, isElementVisible, isFocusable, lttb, niceTimeTicks, patternBackground, patternFill, patternId, quantile, quantileSorted, rampColor, registerFloatingLayer, resetBarChartWarnings, resetDumbbellWarnings, resetFacetWarnings, resetPointBudgetWarning, resolvePeriodPreset, resolveSeriesColor, samePeriod, sampleEvenly, splitOverlay, startOfDay, sturgesBins, toChartCsv, toChartJson, toChartRows, toLegendItems, toTimestamp, toast, useChartBrush, useChartSize, useChartSync, useClickOutside, useDialogA11y, useDropdownContext, useFocusItem, useKeyboardNavigation, usePositioning, useSidebar, useToast, useUILabels, useUILinkComponent, useUILocale, useWizard };