@aircall/ds 0.47.1 → 0.49.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -22,7 +22,7 @@ import { Tooltip as Tooltip$1 } from "@base-ui/react/tooltip";
22
22
  import { Combobox as Combobox$1 } from "@base-ui/react";
23
23
  import { Command as Command$1 } from "cmdk";
24
24
  import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
25
- import { ItemInstance } from "@headless-tree/core";
25
+ import { ItemInstance, TreeInstance } from "@headless-tree/core";
26
26
  import { Drawer as DrawerPrimitive } from "@base-ui/react/drawer";
27
27
  import { Radio } from "@base-ui/react/radio";
28
28
  import { RadioGroup as RadioGroup$1 } from "@base-ui/react/radio-group";
@@ -34,7 +34,8 @@ import { PreviewCard } from "@base-ui/react/preview-card";
34
34
  import { NumberField } from "@base-ui/react/number-field";
35
35
  import { OTPInput } from "input-otp";
36
36
  import { Progress as Progress$1 } from "@base-ui/react/progress";
37
- import "platejs";
37
+ import { Value } from "platejs";
38
+ import { PlateEditor } from "platejs/react";
38
39
  import { ToasterProps, toast } from "sonner";
39
40
  import { Switch as Switch$1 } from "@base-ui/react/switch";
40
41
  import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
@@ -96,8 +97,8 @@ declare namespace AccordionContent {
96
97
  //#region src/components/button.d.ts
97
98
  /** `cva` variant definitions for {@link Button} — resolves `variant`, `size`, and `block` into class names. */
98
99
  declare const buttonVariants: (props?: ({
99
- variant?: "link" | "default" | "ghost" | "secondary" | "destructive" | "outline" | null | undefined;
100
- size?: "default" | "icon" | "lg" | "sm" | "icon-sm" | "icon-lg" | null | undefined;
100
+ variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
101
+ size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
101
102
  block?: boolean | null | undefined;
102
103
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
103
104
  /**
@@ -658,7 +659,7 @@ declare namespace AlertDialogCancel {
658
659
  * the icon level with the first line when the title wraps.
659
660
  */
660
661
  declare const alertVariants: (props?: ({
661
- variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
662
+ variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
662
663
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
663
664
  /**
664
665
  * Callout that draws attention to an important, contextual message.
@@ -888,7 +889,7 @@ declare namespace AttachmentGroup {
888
889
  * over the sticky header (also `z-10`) while the rows scrolled under it.
889
890
  */
890
891
  declare const avatarVariants: (props?: ({
891
- size?: "default" | "lg" | "sm" | "xs" | "xl" | null | undefined;
892
+ size?: "default" | "sm" | "lg" | "xs" | "xl" | null | undefined;
892
893
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
893
894
  /**
894
895
  * Circular container that displays a user or entity image with a text/icon fallback.
@@ -971,7 +972,7 @@ declare namespace AvatarGroupCount {
971
972
  * (`default` | `secondary` | `ghost`, default `default`) sets the colour scheme.
972
973
  */
973
974
  declare const counterBadgeVariants: (props?: ({
974
- variant?: "default" | "ghost" | "secondary" | null | undefined;
975
+ variant?: "default" | "secondary" | "ghost" | null | undefined;
975
976
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
976
977
  /**
977
978
  * Small pill for surfacing a count or short status, e.g. an unread indicator.
@@ -1073,7 +1074,7 @@ declare namespace BadgeGroupCount {
1073
1074
  * edge gets the accent border.
1074
1075
  */
1075
1076
  declare const bannerVariants: (props?: ({
1076
- variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
1077
+ variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
1077
1078
  borderDirection?: "bottom" | "top" | null | undefined;
1078
1079
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1079
1080
  /**
@@ -1384,7 +1385,7 @@ declare namespace CalendarDayButton {
1384
1385
  * child parts read the same size back off `data-size` via `group-data-[size=x]/card`.
1385
1386
  */
1386
1387
  declare const cardVariants: (props?: ({
1387
- size?: "default" | "lg" | "sm" | null | undefined;
1388
+ size?: "default" | "sm" | "lg" | null | undefined;
1388
1389
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1389
1390
  /**
1390
1391
  * Root container for a card. Renders a `<div data-slot="card">` with border, background, and
@@ -1752,7 +1753,7 @@ declare namespace PopoverDescription {
1752
1753
  */
1753
1754
  declare const toggleVariants: (props?: ({
1754
1755
  variant?: "default" | "outline" | null | undefined;
1755
- size?: "default" | "lg" | "sm" | null | undefined;
1756
+ size?: "default" | "sm" | "lg" | null | undefined;
1756
1757
  pressedColor?: "highContrast" | "lowContrast" | null | undefined;
1757
1758
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1758
1759
  /**
@@ -2840,6 +2841,14 @@ interface DataTreeProps<T> {
2840
2841
  * label when it is a string, otherwise the key.
2841
2842
  */
2842
2843
  getTextValue?: (item: T) => string;
2844
+ /**
2845
+ * Groups top-level items and draws a divider between groups (mirrors
2846
+ * `DataCombobox`). Return the group an item belongs to; groups render in
2847
+ * first-seen order. Only top-level items are grouped — children stay under
2848
+ * their parent. The divider is visual only (hidden from assistive tech) and
2849
+ * arrow-key navigation moves straight across it.
2850
+ */
2851
+ getGroupKey?: (item: T) => string;
2843
2852
  /**
2844
2853
  * Selection behaviour (mirrors React Spectrum):
2845
2854
  * - `'none'` (default) — no selection affordance.
@@ -4353,6 +4362,14 @@ type InlineEditInputOwnProps = {
4353
4362
  onValueCommit?: (value: string) => void;
4354
4363
  /** Selects all text when the field receives focus. */
4355
4364
  selectAllOnFocus?: boolean;
4365
+ /**
4366
+ * Shows a pencil icon right after the text so the field reads as editable at
4367
+ * rest. The field then hugs its content instead of filling the row. The icon
4368
+ * hides while editing but keeps its space, so the field doesn't resize on focus.
4369
+ * It never shows when `readOnly` or `disabled`. Clicking it focuses the field.
4370
+ * @default false
4371
+ */
4372
+ showIcon?: boolean;
4356
4373
  };
4357
4374
  type InlineEditInputNativeProps = Omit<React.ComponentProps<'input'>, 'size' | 'prefix' | 'value' | 'defaultValue' | 'onChange'>;
4358
4375
  type InlineEditInputProps = InlineEditInputOwnProps & InlineEditInputNativeProps;
@@ -4666,6 +4683,13 @@ interface InlineEditSelectTriggerProps {
4666
4683
  className?: string;
4667
4684
  /** Content of the trigger — typically `InlineEditSelectValue`. */
4668
4685
  children?: React.ReactNode;
4686
+ /**
4687
+ * Keeps the chevron visible at rest so the value reads as selectable, and makes
4688
+ * the trigger hug its content so the chevron sits right after the text. When
4689
+ * `false`, the chevron only appears on hover and focus. Never shown when `readOnly`.
4690
+ * @default false
4691
+ */
4692
+ showIcon?: boolean;
4669
4693
  }
4670
4694
  declare namespace InlineEditSelectTrigger {
4671
4695
  type Props = InlineEditSelectTriggerProps;
@@ -4775,6 +4799,12 @@ interface InlineEditSelectDataProps<Item> extends InlineEditSelectBaseProps {
4775
4799
  id?: string;
4776
4800
  /** Additional class name on the chrome wrapper. */
4777
4801
  className?: string;
4802
+ /**
4803
+ * Keeps the chevron visible at rest so the value reads as selectable.
4804
+ * See `InlineEditSelectTrigger`.
4805
+ * @default false
4806
+ */
4807
+ showIcon?: boolean;
4778
4808
  children?: never;
4779
4809
  }
4780
4810
  /** Compound (escape-hatch) mode props: bring your own sub-parts. */
@@ -5035,7 +5065,7 @@ declare namespace NumericInputDecrement {
5035
5065
  * )} />
5036
5066
  * ```
5037
5067
  */
5038
- declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
5068
+ declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
5039
5069
  value?: string;
5040
5070
  onChange?: (newValue: string) => unknown;
5041
5071
  maxLength: number;
@@ -5050,7 +5080,7 @@ declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHT
5050
5080
  children?: never;
5051
5081
  } & React.RefAttributes<HTMLInputElement> & {
5052
5082
  containerClassName?: string;
5053
- }, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
5083
+ }, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
5054
5084
  value?: string;
5055
5085
  onChange?: (newValue: string) => unknown;
5056
5086
  maxLength: number;
@@ -5128,7 +5158,7 @@ declare namespace ItemSeparator {
5128
5158
  type Props = ItemSeparatorProps;
5129
5159
  }
5130
5160
  declare const itemVariants: (props?: ({
5131
- variant?: "default" | "muted" | "outline" | null | undefined;
5161
+ variant?: "default" | "outline" | "muted" | null | undefined;
5132
5162
  size?: "default" | "sm" | "xs" | null | undefined;
5133
5163
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
5134
5164
  /**
@@ -5496,12 +5526,8 @@ interface SlashCommandOption {
5496
5526
  description?: string;
5497
5527
  /** Optional leading icon (consumer-supplied node). */
5498
5528
  icon?: React.ReactNode;
5499
- /**
5500
- * Runs when the command is chosen. Receives the Plate editor.
5501
- * `editor` is intentionally `any` to honor the component's public contract
5502
- * without leaking Plate's internal editor type onto consumers.
5503
- */
5504
- onSelect?: (editor: any) => void;
5529
+ /** Runs when the command is chosen. Receives the Plate editor. */
5530
+ onSelect?: (editor: PlateEditor) => void;
5505
5531
  }
5506
5532
  /**
5507
5533
  * A `#`-tag offered in the {@link RichTextarea} tag menu, rendered as a DS {@link Badge}.
@@ -5609,7 +5635,7 @@ interface RichTextareaProps {
5609
5635
  * Named `defaultValue` (like native inputs) because the editor is uncontrolled -
5610
5636
  * changing it after mount does not update the editor. Drive edits via `onValueChange`.
5611
5637
  */
5612
- defaultValue?: string | any[];
5638
+ defaultValue?: string | Value;
5613
5639
  /**
5614
5640
  * Called on every content edit with the serialized value. Fires on real edits only,
5615
5641
  * not caret/selection moves. `markdown` is present only when `formatting` is on.
@@ -5618,13 +5644,13 @@ interface RichTextareaProps {
5618
5644
  */
5619
5645
  onValueChange?: (value: {
5620
5646
  plainText: string;
5621
- json: any;
5647
+ json: Value;
5622
5648
  markdown?: string;
5623
5649
  }) => void;
5624
5650
  /** Called when the user submits (see `submitOnEnter`). */
5625
5651
  onSubmit?: (value: {
5626
5652
  plainText: string;
5627
- json: any;
5653
+ json: Value;
5628
5654
  markdown?: string;
5629
5655
  }) => void;
5630
5656
  /** Placeholder shown while empty. */
@@ -6370,7 +6396,7 @@ declare namespace SidebarMenuItem {
6370
6396
  }
6371
6397
  declare const sidebarMenuButtonVariants: (props?: ({
6372
6398
  variant?: "default" | "outline" | null | undefined;
6373
- size?: "default" | "lg" | "sm" | null | undefined;
6399
+ size?: "default" | "sm" | "lg" | null | undefined;
6374
6400
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6375
6401
  /**
6376
6402
  * Primary clickable row inside a menu item, with variant/size styles and an
@@ -6531,7 +6557,7 @@ declare namespace Toaster {
6531
6557
  //#region src/components/spinner.d.ts
6532
6558
  /** Class variants for `Spinner`, controlling its `size` (`default`, `sm`, `lg`, `xl`). */
6533
6559
  declare const spinnerVariants: (props?: ({
6534
- size?: "default" | "lg" | "sm" | "xl" | null | undefined;
6560
+ size?: "default" | "sm" | "lg" | "xl" | null | undefined;
6535
6561
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6536
6562
  /**
6537
6563
  * Animated loading indicator. Renders a spinning `<svg>` (Loader icon) with
@@ -6563,8 +6589,8 @@ interface StepperContextValue {
6563
6589
  }
6564
6590
  /**
6565
6591
  * Reads the current `Stepper` context. Must be called inside a `Stepper`.
6566
- * @returns `{ activeId, goTo, getIndex, steps }` — the active step id, a setter
6567
- * to navigate to a step id, an id-to-index lookup, and the full step list.
6592
+ * @returns `{ activeId, goTo, getIndex, steps }`: the active step id, a setter to
6593
+ * navigate to a step id, an id-to-index lookup and the full step list.
6568
6594
  * @throws if used outside a `Stepper`.
6569
6595
  */
6570
6596
  declare function useStepper(): StepperContextValue;
@@ -6574,11 +6600,11 @@ declare function useStepper(): StepperContextValue;
6574
6600
  *
6575
6601
  * @example
6576
6602
  * ```tsx
6577
- * const steps = [{ id: 'account' }, { id: 'profile' }, { id: 'done' }];
6603
+ * const steps = [{ id: 'account', title: 'Account' }, { id: 'profile', title: 'Profile' }];
6578
6604
  *
6579
6605
  * <Stepper steps={steps} defaultValue="account">
6580
6606
  * <StepperProgress />
6581
- * <StepperCounter />
6607
+ * <StepperTitles />
6582
6608
  * <StepperContent value="account">…</StepperContent>
6583
6609
  * <StepperContent value="profile">…</StepperContent>
6584
6610
  * </Stepper>
@@ -6586,7 +6612,7 @@ declare function useStepper(): StepperContextValue;
6586
6612
  */
6587
6613
  declare const Stepper: React.ForwardRefExoticComponent<Omit<StepperProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
6588
6614
  interface StepperProps extends React.ComponentProps<'div'> {
6589
- /** Ordered list of steps in the flow. */
6615
+ /** Ordered steps in the active flow. Filter conditional steps at the root. */
6590
6616
  steps: StepDefinition[];
6591
6617
  /**
6592
6618
  * Initially active step id for uncontrolled usage.
@@ -6602,36 +6628,34 @@ declare namespace Stepper {
6602
6628
  type Props = StepperProps;
6603
6629
  }
6604
6630
  /**
6605
- * Segment-bar progress indicator (the "Step x of y" layout). Renders an
6606
- * `aria-hidden` `<div>` of `<span>` segments, one per step, marked completed /
6607
- * active / inactive relative to the active step.
6631
+ * Decorative, non-interactive segment bar. Titles, counters and surrounding flow content
6632
+ * provide meaningful text; the bar adds no accessible position label.
6633
+ * Hovering a segment shows its canonical step title in a tooltip.
6608
6634
  */
6609
- declare const StepperProgress: React.ForwardRefExoticComponent<Omit<StepperProgressProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
6610
- interface StepperProgressProps extends React.ComponentProps<'div'> {
6611
- /**
6612
- * Subset of root step ids to render segments for (e.g. a conditional branch).
6613
- * @default all step ids from the stepper context
6614
- */
6615
- steps?: string[];
6616
- }
6635
+ declare const StepperProgress: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
6636
+ type StepperProgressProps = React.ComponentProps<'div'>;
6617
6637
  declare namespace StepperProgress {
6618
6638
  type Props = StepperProgressProps;
6619
6639
  }
6620
6640
  /**
6621
- * "Step x of y" companion line for `StepperProgress`. Renders a `<p>` whose
6622
- * position is derived from the stepper context.
6641
+ * Localized "Step x of y" line derived from the root's ordered steps.
6642
+ * Renders a `<p>` in the muted foreground colour.
6623
6643
  */
6624
6644
  declare const StepperCounter: React.ForwardRefExoticComponent<Omit<StepperCounterProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
6625
- interface StepperCounterProps extends React.ComponentProps<'p'> {
6626
- /**
6627
- * Subset of root step ids used to compute the count (match `StepperProgress`).
6628
- * @default all step ids from the stepper context
6629
- */
6630
- steps?: string[];
6631
- }
6645
+ type StepperCounterProps = Omit<React.ComponentProps<'p'>, 'children'>;
6632
6646
  declare namespace StepperCounter {
6633
6647
  type Props = StepperCounterProps;
6634
6648
  }
6649
+ /**
6650
+ * Ordered list of step titles, aligned with the progress segments.
6651
+ * Uses foreground for completed and active titles, muted foreground for upcoming titles.
6652
+ * Keep contextual explanations in the step body rather than changing its canonical title.
6653
+ */
6654
+ declare const StepperTitles: React.ForwardRefExoticComponent<Omit<StepperTitlesProps, "ref"> & React.RefAttributes<HTMLOListElement>>;
6655
+ type StepperTitlesProps = Omit<React.ComponentProps<'ol'>, 'children'>;
6656
+ declare namespace StepperTitles {
6657
+ type Props = StepperTitlesProps;
6658
+ }
6635
6659
  /**
6636
6660
  * Container for the step body, tagged with the active step id via `data-state`.
6637
6661
  * Renders a `<div>`.
@@ -6842,14 +6866,14 @@ declare namespace ThemeProvider {
6842
6866
  }
6843
6867
  //#endregion
6844
6868
  //#region src/components/tree.d.ts
6845
- interface TreeProps extends React.HTMLAttributes<HTMLDivElement> {
6869
+ interface TreeProps<T = unknown> extends React.HTMLAttributes<HTMLDivElement> {
6846
6870
  /** Pixel indentation applied per nesting level. Defaults to `20`. */
6847
6871
  indent?: number;
6848
6872
  /** The tree instance returned by `useTree`. */
6849
- tree?: any;
6873
+ tree?: TreeInstance<T>;
6850
6874
  }
6851
6875
  declare namespace Tree {
6852
- type Props = TreeProps;
6876
+ type Props<T = unknown> = TreeProps<T>;
6853
6877
  }
6854
6878
  /**
6855
6879
  * Root tree container. Renders a flex-column `<div>` and provides the tree
@@ -6869,8 +6893,8 @@ declare namespace Tree {
6869
6893
  * );
6870
6894
  * ```
6871
6895
  */
6872
- declare function Tree({ indent, tree, className, ...props }: Tree.Props): React.JSX.Element;
6873
- interface TreeItemProps<T = any> extends React.HTMLAttributes<HTMLDivElement> {
6896
+ declare function Tree<T = unknown>({ indent, tree, className, ...props }: Tree.Props<T>): React.JSX.Element;
6897
+ interface TreeItemProps<T = unknown> extends React.HTMLAttributes<HTMLDivElement> {
6874
6898
  /** The item instance from `tree.getItems()`. */
6875
6899
  item: ItemInstance<T>;
6876
6900
  /**
@@ -6885,27 +6909,27 @@ interface TreeItemProps<T = any> extends React.HTMLAttributes<HTMLDivElement> {
6885
6909
  onActivate?: (item: ItemInstance<T>) => void;
6886
6910
  }
6887
6911
  declare namespace TreeItem {
6888
- type Props<T = any> = TreeItemProps<T>;
6912
+ type Props<T = unknown> = TreeItemProps<T>;
6889
6913
  }
6890
6914
  /**
6891
6915
  * A full-width, highlightable tree row. Renders a `<div role="treeitem">` so a
6892
6916
  * leading control (e.g. a selection `Checkbox`) shares the row's hover/selected
6893
6917
  * highlight; drives activation for both mouse and keyboard.
6894
6918
  */
6895
- declare function TreeItem<T = any>({ item, className, children, onActivate, onClick: userOnClick, onKeyDown: userOnKeyDown, style: userStyle, ...props }: TreeItem.Props<T>): React.JSX.Element;
6896
- interface TreeItemLabelProps<T = any> extends React.HTMLAttributes<HTMLSpanElement> {
6919
+ declare function TreeItem<T = unknown>({ item, className, children, onActivate, onClick: userOnClick, onKeyDown: userOnKeyDown, style: userStyle, ...props }: TreeItem.Props<T>): React.JSX.Element;
6920
+ interface TreeItemLabelProps<T = unknown> extends React.HTMLAttributes<HTMLSpanElement> {
6897
6921
  /** Item to label. Falls back to the current `TreeItem` from context. */
6898
6922
  item?: ItemInstance<T>;
6899
6923
  }
6900
6924
  declare namespace TreeItemLabel {
6901
- type Props<T = any> = TreeItemLabelProps<T>;
6925
+ type Props<T = unknown> = TreeItemLabelProps<T>;
6902
6926
  }
6903
6927
  /**
6904
6928
  * A tree row's label. Renders a `<span>` with a fixed-width chevron expand
6905
6929
  * button for folders (or an aligned spacer for leaves) followed by the label
6906
6930
  * content, falling back to the item's name.
6907
6931
  */
6908
- declare function TreeItemLabel<T = any>({ item: propItem, children, className, ...props }: TreeItemLabel.Props<T>): React.JSX.Element | null;
6932
+ declare function TreeItemLabel<T = unknown>({ item: propItem, children, className, ...props }: TreeItemLabel.Props<T>): React.JSX.Element | null;
6909
6933
  interface TreeDragLineProps extends React.HTMLAttributes<HTMLDivElement> {}
6910
6934
  declare namespace TreeDragLine {
6911
6935
  type Props = TreeDragLineProps;
@@ -6981,7 +7005,7 @@ declare function useDsLocale(): string;
6981
7005
  //#endregion
6982
7006
  //#region src/i18n/keys.d.ts
6983
7007
  /** All translation keys owned by the `ds` namespace. Flat dotted keys (keySeparator: false). */
6984
- type DsI18nKey = 'spinner.loading' | 'pagination.label' | 'pagination.previousPage' | 'pagination.nextPage' | 'dataTable.selectAllRows' | 'dataTable.selectRow' | 'dataCombobox.noResults' | 'combobox.showOptions' | 'tree.collapse' | 'tree.expand' | 'multiselect.remove' | 'multiselect.clearAll' | 'multiselect.addItem' | 'multiselect.search' | 'combobox.toggleOptions' | 'combobox.clear' | 'sidebar.toggle' | 'drawer.close' | 'emojiPicker.emoji' | 'emojiPicker.choose' | 'actionBar.selectionActions' | 'pagination.previous' | 'pagination.next' | 'actionBar.clearSelection' | 'actionBar.itemsSelected' | 'actionBar.itemsSelected_plural' | 'fieldLabel.required' | 'fieldLabel.optional' | 'fieldLabel.moreInfo' | 'datePicker.beforeMin' | 'datePicker.afterMax' | 'datePicker.unavailable' | 'datePicker.rangeOrder' | 'richTextarea.noResults' | 'richTextarea.slashNoCommands' | 'richTextarea.bold' | 'richTextarea.italic' | 'richTextarea.underline' | 'richTextarea.strikethrough' | 'richTextarea.inlineCode' | 'richTextarea.bulletedList' | 'richTextarea.numberedList' | 'richTextarea.link' | 'richTextarea.linkPlaceholder' | 'richTextarea.linkText' | 'richTextarea.linkEdit' | 'richTextarea.linkOpen' | 'richTextarea.linkRemove' | 'colorPicker.trigger' | 'colorPicker.choose' | 'colorPicker.presets' | 'colorPicker.mode' | 'colorPicker.modePresets' | 'colorPicker.modeCustom' | 'colorPicker.charcoal' | 'colorPicker.green' | 'colorPicker.blue' | 'colorPicker.purple' | 'colorPicker.pink' | 'colorPicker.red' | 'colorPicker.yellow' | 'colorPicker.toneDark' | 'colorPicker.toneMediumDark' | 'colorPicker.toneMediumLight' | 'colorPicker.toneLight' | 'colorPicker.saturation' | 'colorPicker.hue' | 'colorPicker.hex' | 'colorPicker.areaValue';
7008
+ type DsI18nKey = 'spinner.loading' | 'pagination.label' | 'pagination.previousPage' | 'pagination.nextPage' | 'dataTable.selectAllRows' | 'dataTable.selectRow' | 'dataCombobox.noResults' | 'combobox.showOptions' | 'tree.collapse' | 'tree.expand' | 'multiselect.remove' | 'multiselect.clearAll' | 'multiselect.addItem' | 'multiselect.search' | 'combobox.toggleOptions' | 'combobox.clear' | 'sidebar.toggle' | 'drawer.close' | 'emojiPicker.emoji' | 'emojiPicker.choose' | 'actionBar.selectionActions' | 'pagination.previous' | 'pagination.next' | 'actionBar.clearSelection' | 'actionBar.itemsSelected' | 'actionBar.itemsSelected_plural' | 'fieldLabel.required' | 'fieldLabel.optional' | 'fieldLabel.moreInfo' | 'datePicker.beforeMin' | 'datePicker.afterMax' | 'datePicker.unavailable' | 'datePicker.rangeOrder' | 'richTextarea.noResults' | 'richTextarea.slashNoCommands' | 'richTextarea.bold' | 'richTextarea.italic' | 'richTextarea.underline' | 'richTextarea.strikethrough' | 'richTextarea.inlineCode' | 'richTextarea.bulletedList' | 'richTextarea.numberedList' | 'richTextarea.link' | 'richTextarea.linkPlaceholder' | 'richTextarea.linkText' | 'richTextarea.linkEdit' | 'richTextarea.linkOpen' | 'richTextarea.linkRemove' | 'colorPicker.trigger' | 'colorPicker.choose' | 'colorPicker.presets' | 'colorPicker.mode' | 'colorPicker.modePresets' | 'colorPicker.modeCustom' | 'colorPicker.charcoal' | 'colorPicker.green' | 'colorPicker.blue' | 'colorPicker.purple' | 'colorPicker.pink' | 'colorPicker.red' | 'colorPicker.yellow' | 'colorPicker.toneDark' | 'colorPicker.toneMediumDark' | 'colorPicker.toneMediumLight' | 'colorPicker.toneLight' | 'colorPicker.saturation' | 'colorPicker.hue' | 'colorPicker.hex' | 'colorPicker.areaValue' | 'stepper.counter';
6985
7009
  /** A complete set of translations for one language. Missing a key is a compile error. */
6986
7010
  type DsLocale = Record<DsI18nKey, string>;
6987
7011
  //#endregion
@@ -7043,4 +7067,4 @@ declare function useAudioGauge(options?: UseAudioGaugeOptions): UseAudioGaugeRes
7043
7067
  //#region src/lib/utils.d.ts
7044
7068
  declare function cn(...inputs: ClassValue[]): string;
7045
7069
  //#endregion
7046
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionBar, ActionBarButton, ActionBarContext, type ActionBarContextValue, ActionBarHeight, Alert, AlertAction, AlertAction as BannerAction, AlertDescription, AlertDescription as BannerDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AlertTitle as BannerTitle, Anchor, Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, type AttachmentState, AttachmentTitle, AttachmentTrigger, Audio, AudioPlayerBar, type AudioPlayerBarProps, AudioPlayerButton, type AudioPlayerButtonProps, AudioPlayerCurrentTime, type AudioPlayerCurrentTimeProps, AudioPlayerDuration, type AudioPlayerDurationProps, type AudioPlayerItem, AudioPlayerManager, type AudioPlayerManagerProps, AudioPlayerRow, type AudioPlayerRowProps, AudioPlayerSkip, type AudioPlayerSkipProps, AudioPlayerSpeed, type AudioPlayerSpeedProps, AudioPlayerTime, type AudioPlayerTimeProps, type AudioProps, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, BadgeGroup, BadgeGroupCount, Banner, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, COMBOBOX_AUTO_SEARCH_THRESHOLD, COMBOBOX_AUTO_VIRTUALIZE_THRESHOLD, Calendar, CalendarDayButton, CalendarDropdown, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Chip, ChipRemove, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, ColorPickerArea, ColorPickerContent, ColorPickerHexField, ColorPickerHue, type ColorPickerMode, ColorPickerModeToggle, ColorPickerPanel, type ColorPickerPreset, ColorPickerPresets, ColorPickerTrigger, type ColumnDef, type ColumnPinningState, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, type ComboboxClear, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, type ComboboxLoadingState, type ComboboxSelectionChangeDetails, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CounterBadge, CountryFlag, DataCombobox, type DataComboboxLoadingState, DataTable, type DataTableLoadingState, DataTree, DatePicker, type DatePickerPredefinedRange, type DateRange, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBackdrop, DrawerBar, DrawerClose, DrawerContent, DrawerCreateHandle, DrawerDescription, DrawerFooter, DrawerHeader, DrawerMenu, DrawerMenuCheckboxItem, DrawerMenuGroup, DrawerMenuGroupLabel, DrawerMenuItem, DrawerMenuRadioGroup, DrawerMenuRadioItem, DrawerMenuSeparator, DrawerMenuTrigger, DrawerPanel, DrawerPopup, DrawerPortal, DrawerPrimitive, DrawerSwipeArea, DrawerTitle, DrawerTrigger, DrawerViewport, DropdownMenu, DropdownMenuAddon, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, DropzoneActions, DropzoneContent, DropzoneDescription, type DropzoneErrorCode, DropzoneIcon, DropzoneTitle, DropzoneTrigger, type DsI18nKey, DsI18nProvider, type DsLocale, EmojiPicker, EmojiPickerCategories, type EmojiPickerCategory, EmojiPickerContent, EmojiPickerTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FAB, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLabelAside, FieldLabelInfo, FieldLabelRow, FieldLegend, FieldSeparator, FieldSet, FieldTitle, type FileError, type FileRejection, Gauge, HoverCard, HoverCardContent, HoverCardTrigger, type I18nLanguageSource, InlineEditInput, InlineEditMultiCombobox, InlineEditMultiComboboxChip, InlineEditMultiComboboxChips, InlineEditMultiComboboxContent, InlineEditMultiComboboxItem, InlineEditMultiComboboxTrigger, InlineEditMultiComboboxValue, InlineEditSelect, InlineEditSelectContent, InlineEditSelectItem, InlineEditSelectTrigger, InlineEditSelectValue, InlineEditTextarea, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupRichTextarea, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, LEGACY_COLOR_PRESETS, Label, List, ListCol, ListRow, type MentionOption, type NotificationHandle, type NotificationOptions, type NotificationPriority, type NotificationQueueControls, NotificationQueueProvider, type NotificationRenderProps, NotificationSlot, NumericInput, NumericInputControl, NumericInputDecrement, NumericInputIncrement, type OnChangeFn, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverClose, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, RichTextarea, type RichTextareaAsyncList, RichTextareaContent, RichTextareaRoot, RichTextareaToolbar, SUPPORTED_LANGUAGES, ScrollArea, ScrollAreaPrimitive, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, type SheetOverlay, type SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SlashCommandOption, Slider, type SortingState, Spinner, type StepDefinition, Stepper, StepperContent, StepperCounter, StepperPanel, StepperProgress, Switch, Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, type TagOption, Textarea, ThemeProvider, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tree, TreeDragLine, TreeItem, TreeItemLabel, UseAudioGaugeOptions, UseAudioGaugeResult, type VisibilityState, alertVariants, anchorVariants, bannerVariants, buttonGroupVariants, buttonVariants, cardVariants, cn, counterBadgeVariants, detectInitialLanguage, fabVariants, isInsideCalendarDropdown, registerI18nNamespace, selectTriggerVariants, spinnerVariants, syncDsLanguage, toast, toggleVariants, useAudioGauge, useAudioPlayer, useAudioPlayerTime, useComboboxAnchor, useDsLocale, useDsTranslation, useNotification, useNotificationQueue, useSidebar, useStepper, useTheme };
7070
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionBar, ActionBarButton, ActionBarContext, type ActionBarContextValue, ActionBarHeight, Alert, AlertAction, AlertAction as BannerAction, AlertDescription, AlertDescription as BannerDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AlertTitle as BannerTitle, Anchor, Attachment, AttachmentAction, AttachmentActions, AttachmentContent, AttachmentDescription, AttachmentGroup, AttachmentMedia, type AttachmentState, AttachmentTitle, AttachmentTrigger, Audio, AudioPlayerBar, type AudioPlayerBarProps, AudioPlayerButton, type AudioPlayerButtonProps, AudioPlayerCurrentTime, type AudioPlayerCurrentTimeProps, AudioPlayerDuration, type AudioPlayerDurationProps, type AudioPlayerItem, AudioPlayerManager, type AudioPlayerManagerProps, AudioPlayerRow, type AudioPlayerRowProps, AudioPlayerSkip, type AudioPlayerSkipProps, AudioPlayerSpeed, type AudioPlayerSpeedProps, AudioPlayerTime, type AudioPlayerTimeProps, type AudioProps, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, BadgeGroup, BadgeGroupCount, Banner, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, COMBOBOX_AUTO_SEARCH_THRESHOLD, COMBOBOX_AUTO_VIRTUALIZE_THRESHOLD, Calendar, CalendarDayButton, CalendarDropdown, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Chip, ChipRemove, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, ColorPickerArea, ColorPickerContent, ColorPickerHexField, ColorPickerHue, type ColorPickerMode, ColorPickerModeToggle, ColorPickerPanel, type ColorPickerPreset, ColorPickerPresets, ColorPickerTrigger, type ColumnDef, type ColumnPinningState, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, type ComboboxClear, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, type ComboboxLoadingState, type ComboboxSelectionChangeDetails, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CounterBadge, CountryFlag, DataCombobox, type DataComboboxLoadingState, DataTable, type DataTableLoadingState, DataTree, DatePicker, type DatePickerPredefinedRange, type DateRange, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBackdrop, DrawerBar, DrawerClose, DrawerContent, DrawerCreateHandle, DrawerDescription, DrawerFooter, DrawerHeader, DrawerMenu, DrawerMenuCheckboxItem, DrawerMenuGroup, DrawerMenuGroupLabel, DrawerMenuItem, DrawerMenuRadioGroup, DrawerMenuRadioItem, DrawerMenuSeparator, DrawerMenuTrigger, DrawerPanel, DrawerPopup, DrawerPortal, DrawerPrimitive, DrawerSwipeArea, DrawerTitle, DrawerTrigger, DrawerViewport, DropdownMenu, DropdownMenuAddon, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, DropzoneActions, DropzoneContent, DropzoneDescription, type DropzoneErrorCode, DropzoneIcon, DropzoneTitle, DropzoneTrigger, type DsI18nKey, DsI18nProvider, type DsLocale, EmojiPicker, EmojiPickerCategories, type EmojiPickerCategory, EmojiPickerContent, EmojiPickerTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FAB, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLabelAside, FieldLabelInfo, FieldLabelRow, FieldLegend, FieldSeparator, FieldSet, FieldTitle, type FileError, type FileRejection, Gauge, HoverCard, HoverCardContent, HoverCardTrigger, type I18nLanguageSource, InlineEditInput, InlineEditMultiCombobox, InlineEditMultiComboboxChip, InlineEditMultiComboboxChips, InlineEditMultiComboboxContent, InlineEditMultiComboboxItem, InlineEditMultiComboboxTrigger, InlineEditMultiComboboxValue, InlineEditSelect, InlineEditSelectContent, InlineEditSelectItem, InlineEditSelectTrigger, InlineEditSelectValue, InlineEditTextarea, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupRichTextarea, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, LEGACY_COLOR_PRESETS, Label, List, ListCol, ListRow, type MentionOption, type NotificationHandle, type NotificationOptions, type NotificationPriority, type NotificationQueueControls, NotificationQueueProvider, type NotificationRenderProps, NotificationSlot, NumericInput, NumericInputControl, NumericInputDecrement, NumericInputIncrement, type OnChangeFn, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverClose, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, RichTextarea, type RichTextareaAsyncList, RichTextareaContent, RichTextareaRoot, RichTextareaToolbar, SUPPORTED_LANGUAGES, ScrollArea, ScrollAreaPrimitive, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, type SheetOverlay, type SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SlashCommandOption, Slider, type SortingState, Spinner, type StepDefinition, Stepper, StepperContent, StepperCounter, StepperPanel, StepperProgress, StepperTitles, Switch, Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, type TagOption, Textarea, ThemeProvider, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tree, TreeDragLine, TreeItem, TreeItemLabel, UseAudioGaugeOptions, UseAudioGaugeResult, type VisibilityState, alertVariants, anchorVariants, bannerVariants, buttonGroupVariants, buttonVariants, cardVariants, cn, counterBadgeVariants, detectInitialLanguage, fabVariants, isInsideCalendarDropdown, registerI18nNamespace, selectTriggerVariants, spinnerVariants, syncDsLanguage, toast, toggleVariants, useAudioGauge, useAudioPlayer, useAudioPlayerTime, useComboboxAnchor, useDsLocale, useDsTranslation, useNotification, useNotificationQueue, useSidebar, useStepper, useTheme };