@aircall/ds 0.48.0 → 0.50.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";
@@ -97,7 +98,7 @@ declare namespace AccordionContent {
97
98
  /** `cva` variant definitions for {@link Button} — resolves `variant`, `size`, and `block` into class names. */
98
99
  declare const buttonVariants: (props?: ({
99
100
  variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
100
- size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | 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.
@@ -994,8 +995,8 @@ declare namespace CounterBadge {
994
995
  /** `cva` recipe for the Badge/Chip container — drives the `size`, `color`, and `tone` classes. */
995
996
  declare const badgeVariants: (props?: ({
996
997
  size?: "default" | "lg" | null | undefined;
997
- color?: "blue" | "green" | "pink" | "purple" | "red" | "yellow" | "charcoal" | null | undefined;
998
- tone?: "dark" | "light" | "medium-dark" | "medium-light" | null | undefined;
998
+ color?: "charcoal" | "red" | "green" | "blue" | "purple" | "yellow" | "pink" | null | undefined;
999
+ tone?: "dark" | "medium-dark" | "medium-light" | "light" | null | undefined;
999
1000
  overflowMode?: "none" | "truncate" | null | undefined;
1000
1001
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1001
1002
  type BadgeVariants = VariantProps<typeof badgeVariants>;
@@ -1073,8 +1074,8 @@ 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
- borderDirection?: "bottom" | "top" | null | undefined;
1077
+ variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
1078
+ borderDirection?: "top" | "bottom" | null | undefined;
1078
1079
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1079
1080
  /**
1080
1081
  * Full-width contextual message, typically pinned to the top or bottom of a
@@ -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.
@@ -5056,7 +5065,7 @@ declare namespace NumericInputDecrement {
5056
5065
  * )} />
5057
5066
  * ```
5058
5067
  */
5059
- 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"> & {
5060
5069
  value?: string;
5061
5070
  onChange?: (newValue: string) => unknown;
5062
5071
  maxLength: number;
@@ -5071,7 +5080,7 @@ declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHT
5071
5080
  children?: never;
5072
5081
  } & React.RefAttributes<HTMLInputElement> & {
5073
5082
  containerClassName?: string;
5074
- }, "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"> & {
5075
5084
  value?: string;
5076
5085
  onChange?: (newValue: string) => unknown;
5077
5086
  maxLength: number;
@@ -5517,12 +5526,8 @@ interface SlashCommandOption {
5517
5526
  description?: string;
5518
5527
  /** Optional leading icon (consumer-supplied node). */
5519
5528
  icon?: React.ReactNode;
5520
- /**
5521
- * Runs when the command is chosen. Receives the Plate editor.
5522
- * `editor` is intentionally `any` to honor the component's public contract
5523
- * without leaking Plate's internal editor type onto consumers.
5524
- */
5525
- onSelect?: (editor: any) => void;
5529
+ /** Runs when the command is chosen. Receives the Plate editor. */
5530
+ onSelect?: (editor: PlateEditor) => void;
5526
5531
  }
5527
5532
  /**
5528
5533
  * A `#`-tag offered in the {@link RichTextarea} tag menu, rendered as a DS {@link Badge}.
@@ -5630,7 +5635,7 @@ interface RichTextareaProps {
5630
5635
  * Named `defaultValue` (like native inputs) because the editor is uncontrolled -
5631
5636
  * changing it after mount does not update the editor. Drive edits via `onValueChange`.
5632
5637
  */
5633
- defaultValue?: string | any[];
5638
+ defaultValue?: string | Value;
5634
5639
  /**
5635
5640
  * Called on every content edit with the serialized value. Fires on real edits only,
5636
5641
  * not caret/selection moves. `markdown` is present only when `formatting` is on.
@@ -5639,13 +5644,13 @@ interface RichTextareaProps {
5639
5644
  */
5640
5645
  onValueChange?: (value: {
5641
5646
  plainText: string;
5642
- json: any;
5647
+ json: Value;
5643
5648
  markdown?: string;
5644
5649
  }) => void;
5645
5650
  /** Called when the user submits (see `submitOnEnter`). */
5646
5651
  onSubmit?: (value: {
5647
5652
  plainText: string;
5648
- json: any;
5653
+ json: Value;
5649
5654
  markdown?: string;
5650
5655
  }) => void;
5651
5656
  /** Placeholder shown while empty. */
@@ -5671,10 +5676,10 @@ interface RichTextareaProps {
5671
5676
  */
5672
5677
  tags?: TagOption[] | RichTextareaAsyncList<TagOption>;
5673
5678
  /**
5674
- * Enables marks (bold/italic/underline/strikethrough/code), lists, links, and
5675
- * Markdown interchange. Links recognize typed/pasted URLs (autolink) and expose a
5679
+ * Enables marks (bold/italic/underline/strikethrough/code), lists, quotes, links,
5680
+ * and Markdown interchange. Links recognize typed/pasted URLs (autolink) and expose a
5676
5681
  * floating edit/remove card on click; Cmd/Ctrl+K opens the insert form. Compose a
5677
- * {@link RichTextareaToolbar} to expose the mark/list/link controls. Autolink and
5682
+ * {@link RichTextareaToolbar} to expose the mark/list/quote/link controls. Autolink and
5678
5683
  * the floating link card only exist when this is on.
5679
5684
  * @default false
5680
5685
  */
@@ -5809,6 +5814,40 @@ interface InputGroupRichTextareaProps extends Omit<RichTextareaProps, 'bare'> {}
5809
5814
  declare namespace InputGroupRichTextarea {
5810
5815
  type Props = InputGroupRichTextareaProps;
5811
5816
  }
5817
+ /** Props for {@link MarkdownView}. */
5818
+ interface MarkdownViewProps {
5819
+ /**
5820
+ * The Markdown to render, as a `formatting` RichTextarea writes it (the `markdown` of
5821
+ * `onValueChange`). Plain text with no Markdown syntax renders as is, line breaks kept. Raw
5822
+ * HTML shows as text.
5823
+ */
5824
+ value: string;
5825
+ /** Extra classes for the rendered content. */
5826
+ className?: string;
5827
+ /**
5828
+ * Test id applied to the rendered content.
5829
+ * @default 'markdown-view'
5830
+ */
5831
+ 'data-test'?: string;
5832
+ }
5833
+ /**
5834
+ * Read-only render of the Markdown a `formatting` {@link RichTextarea} writes. It uses the
5835
+ * same plugins and elements, so quotes, lists, marks and links look as they do in the editor.
5836
+ * No border, padding or toolbar: it takes the surrounding text size and color. Links open in a
5837
+ * new tab, and a new `value` renders again.
5838
+ *
5839
+ * It renders what the editor can write: marks, lists, quotes and links. Other Markdown is not
5840
+ * styled: headings and tables show as plain text, and images do not show.
5841
+ *
5842
+ * @example
5843
+ * ```tsx
5844
+ * <MarkdownView value={script} />
5845
+ * ```
5846
+ */
5847
+ declare const MarkdownView: React.ForwardRefExoticComponent<MarkdownViewProps & React.RefAttributes<HTMLDivElement>>;
5848
+ declare namespace MarkdownView {
5849
+ type Props = MarkdownViewProps;
5850
+ }
5812
5851
  //#endregion
5813
5852
  //#region src/components/rich-textarea-toolbar.d.ts
5814
5853
  /** Props for {@link RichTextareaToolbar}. */
@@ -5816,7 +5855,7 @@ interface RichTextareaToolbarProps extends React.ComponentProps<'div'> {}
5816
5855
  /**
5817
5856
  * Formatting toolbar for a {@link RichTextareaRoot} with `formatting`. Renders DS
5818
5857
  * `Toggle`s wired to the editor: bold / italic / underline / strikethrough / inline
5819
- * code, bulleted / numbered lists, and a link button that opens the floating link
5858
+ * code, bulleted / numbered lists, quote, and a link button that opens the floating link
5820
5859
  * card (the same card shown on click / Cmd+K). Must render inside a
5821
5860
  * `RichTextareaRoot` (it reads the editor from the Plate provider) — typically in an
5822
5861
  * `InputGroupAddon align="block-start"`.
@@ -6584,8 +6623,8 @@ interface StepperContextValue {
6584
6623
  }
6585
6624
  /**
6586
6625
  * Reads the current `Stepper` context. Must be called inside a `Stepper`.
6587
- * @returns `{ activeId, goTo, getIndex, steps }` — the active step id, a setter
6588
- * to navigate to a step id, an id-to-index lookup, and the full step list.
6626
+ * @returns `{ activeId, goTo, getIndex, steps }`: the active step id, a setter to
6627
+ * navigate to a step id, an id-to-index lookup and the full step list.
6589
6628
  * @throws if used outside a `Stepper`.
6590
6629
  */
6591
6630
  declare function useStepper(): StepperContextValue;
@@ -6595,11 +6634,11 @@ declare function useStepper(): StepperContextValue;
6595
6634
  *
6596
6635
  * @example
6597
6636
  * ```tsx
6598
- * const steps = [{ id: 'account' }, { id: 'profile' }, { id: 'done' }];
6637
+ * const steps = [{ id: 'account', title: 'Account' }, { id: 'profile', title: 'Profile' }];
6599
6638
  *
6600
6639
  * <Stepper steps={steps} defaultValue="account">
6601
6640
  * <StepperProgress />
6602
- * <StepperCounter />
6641
+ * <StepperTitles />
6603
6642
  * <StepperContent value="account">…</StepperContent>
6604
6643
  * <StepperContent value="profile">…</StepperContent>
6605
6644
  * </Stepper>
@@ -6607,7 +6646,7 @@ declare function useStepper(): StepperContextValue;
6607
6646
  */
6608
6647
  declare const Stepper: React.ForwardRefExoticComponent<Omit<StepperProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
6609
6648
  interface StepperProps extends React.ComponentProps<'div'> {
6610
- /** Ordered list of steps in the flow. */
6649
+ /** Ordered steps in the active flow. Filter conditional steps at the root. */
6611
6650
  steps: StepDefinition[];
6612
6651
  /**
6613
6652
  * Initially active step id for uncontrolled usage.
@@ -6623,36 +6662,34 @@ declare namespace Stepper {
6623
6662
  type Props = StepperProps;
6624
6663
  }
6625
6664
  /**
6626
- * Segment-bar progress indicator (the "Step x of y" layout). Renders an
6627
- * `aria-hidden` `<div>` of `<span>` segments, one per step, marked completed /
6628
- * active / inactive relative to the active step.
6665
+ * Decorative, non-interactive segment bar. Titles, counters and surrounding flow content
6666
+ * provide meaningful text; the bar adds no accessible position label.
6667
+ * Hovering a segment shows its canonical step title in a tooltip.
6629
6668
  */
6630
- declare const StepperProgress: React.ForwardRefExoticComponent<Omit<StepperProgressProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
6631
- interface StepperProgressProps extends React.ComponentProps<'div'> {
6632
- /**
6633
- * Subset of root step ids to render segments for (e.g. a conditional branch).
6634
- * @default all step ids from the stepper context
6635
- */
6636
- steps?: string[];
6637
- }
6669
+ declare const StepperProgress: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
6670
+ type StepperProgressProps = React.ComponentProps<'div'>;
6638
6671
  declare namespace StepperProgress {
6639
6672
  type Props = StepperProgressProps;
6640
6673
  }
6641
6674
  /**
6642
- * "Step x of y" companion line for `StepperProgress`. Renders a `<p>` whose
6643
- * position is derived from the stepper context.
6675
+ * Localized "Step x of y" line derived from the root's ordered steps.
6676
+ * Renders a `<p>` in the muted foreground colour.
6644
6677
  */
6645
6678
  declare const StepperCounter: React.ForwardRefExoticComponent<Omit<StepperCounterProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
6646
- interface StepperCounterProps extends React.ComponentProps<'p'> {
6647
- /**
6648
- * Subset of root step ids used to compute the count (match `StepperProgress`).
6649
- * @default all step ids from the stepper context
6650
- */
6651
- steps?: string[];
6652
- }
6679
+ type StepperCounterProps = Omit<React.ComponentProps<'p'>, 'children'>;
6653
6680
  declare namespace StepperCounter {
6654
6681
  type Props = StepperCounterProps;
6655
6682
  }
6683
+ /**
6684
+ * Ordered list of step titles, aligned with the progress segments.
6685
+ * Uses foreground for completed and active titles, muted foreground for upcoming titles.
6686
+ * Keep contextual explanations in the step body rather than changing its canonical title.
6687
+ */
6688
+ declare const StepperTitles: React.ForwardRefExoticComponent<Omit<StepperTitlesProps, "ref"> & React.RefAttributes<HTMLOListElement>>;
6689
+ type StepperTitlesProps = Omit<React.ComponentProps<'ol'>, 'children'>;
6690
+ declare namespace StepperTitles {
6691
+ type Props = StepperTitlesProps;
6692
+ }
6656
6693
  /**
6657
6694
  * Container for the step body, tagged with the active step id via `data-state`.
6658
6695
  * Renders a `<div>`.
@@ -6863,14 +6900,14 @@ declare namespace ThemeProvider {
6863
6900
  }
6864
6901
  //#endregion
6865
6902
  //#region src/components/tree.d.ts
6866
- interface TreeProps extends React.HTMLAttributes<HTMLDivElement> {
6903
+ interface TreeProps<T = unknown> extends React.HTMLAttributes<HTMLDivElement> {
6867
6904
  /** Pixel indentation applied per nesting level. Defaults to `20`. */
6868
6905
  indent?: number;
6869
6906
  /** The tree instance returned by `useTree`. */
6870
- tree?: any;
6907
+ tree?: TreeInstance<T>;
6871
6908
  }
6872
6909
  declare namespace Tree {
6873
- type Props = TreeProps;
6910
+ type Props<T = unknown> = TreeProps<T>;
6874
6911
  }
6875
6912
  /**
6876
6913
  * Root tree container. Renders a flex-column `<div>` and provides the tree
@@ -6890,8 +6927,8 @@ declare namespace Tree {
6890
6927
  * );
6891
6928
  * ```
6892
6929
  */
6893
- declare function Tree({ indent, tree, className, ...props }: Tree.Props): React.JSX.Element;
6894
- interface TreeItemProps<T = any> extends React.HTMLAttributes<HTMLDivElement> {
6930
+ declare function Tree<T = unknown>({ indent, tree, className, ...props }: Tree.Props<T>): React.JSX.Element;
6931
+ interface TreeItemProps<T = unknown> extends React.HTMLAttributes<HTMLDivElement> {
6895
6932
  /** The item instance from `tree.getItems()`. */
6896
6933
  item: ItemInstance<T>;
6897
6934
  /**
@@ -6906,27 +6943,27 @@ interface TreeItemProps<T = any> extends React.HTMLAttributes<HTMLDivElement> {
6906
6943
  onActivate?: (item: ItemInstance<T>) => void;
6907
6944
  }
6908
6945
  declare namespace TreeItem {
6909
- type Props<T = any> = TreeItemProps<T>;
6946
+ type Props<T = unknown> = TreeItemProps<T>;
6910
6947
  }
6911
6948
  /**
6912
6949
  * A full-width, highlightable tree row. Renders a `<div role="treeitem">` so a
6913
6950
  * leading control (e.g. a selection `Checkbox`) shares the row's hover/selected
6914
6951
  * highlight; drives activation for both mouse and keyboard.
6915
6952
  */
6916
- declare function TreeItem<T = any>({ item, className, children, onActivate, onClick: userOnClick, onKeyDown: userOnKeyDown, style: userStyle, ...props }: TreeItem.Props<T>): React.JSX.Element;
6917
- interface TreeItemLabelProps<T = any> extends React.HTMLAttributes<HTMLSpanElement> {
6953
+ declare function TreeItem<T = unknown>({ item, className, children, onActivate, onClick: userOnClick, onKeyDown: userOnKeyDown, style: userStyle, ...props }: TreeItem.Props<T>): React.JSX.Element;
6954
+ interface TreeItemLabelProps<T = unknown> extends React.HTMLAttributes<HTMLSpanElement> {
6918
6955
  /** Item to label. Falls back to the current `TreeItem` from context. */
6919
6956
  item?: ItemInstance<T>;
6920
6957
  }
6921
6958
  declare namespace TreeItemLabel {
6922
- type Props<T = any> = TreeItemLabelProps<T>;
6959
+ type Props<T = unknown> = TreeItemLabelProps<T>;
6923
6960
  }
6924
6961
  /**
6925
6962
  * A tree row's label. Renders a `<span>` with a fixed-width chevron expand
6926
6963
  * button for folders (or an aligned spacer for leaves) followed by the label
6927
6964
  * content, falling back to the item's name.
6928
6965
  */
6929
- declare function TreeItemLabel<T = any>({ item: propItem, children, className, ...props }: TreeItemLabel.Props<T>): React.JSX.Element | null;
6966
+ declare function TreeItemLabel<T = unknown>({ item: propItem, children, className, ...props }: TreeItemLabel.Props<T>): React.JSX.Element | null;
6930
6967
  interface TreeDragLineProps extends React.HTMLAttributes<HTMLDivElement> {}
6931
6968
  declare namespace TreeDragLine {
6932
6969
  type Props = TreeDragLineProps;
@@ -7002,7 +7039,7 @@ declare function useDsLocale(): string;
7002
7039
  //#endregion
7003
7040
  //#region src/i18n/keys.d.ts
7004
7041
  /** All translation keys owned by the `ds` namespace. Flat dotted keys (keySeparator: false). */
7005
- 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';
7042
+ 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.quote' | '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';
7006
7043
  /** A complete set of translations for one language. Missing a key is a compile error. */
7007
7044
  type DsLocale = Record<DsI18nKey, string>;
7008
7045
  //#endregion
@@ -7064,4 +7101,4 @@ declare function useAudioGauge(options?: UseAudioGaugeOptions): UseAudioGaugeRes
7064
7101
  //#region src/lib/utils.d.ts
7065
7102
  declare function cn(...inputs: ClassValue[]): string;
7066
7103
  //#endregion
7067
- 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 };
7104
+ 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, MarkdownView, 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 };