@aircall/ds 0.24.1 → 0.25.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.js CHANGED
@@ -35,10 +35,10 @@ import EmojiReactPicker, { Categories, EmojiStyle, SuggestionMode, Theme } from
35
35
  import { Popover as Popover$1 } from "@base-ui/react/popover";
36
36
  import { ThemeProvider as ThemeProvider$1, useTheme, useTheme as useTheme$1 } from "next-themes";
37
37
  import { PreviewCard } from "@base-ui/react/preview-card";
38
+ import { Select as Select$1 } from "@base-ui/react/select";
38
39
  import { NumberField } from "@base-ui/react/number-field";
39
40
  import { OTPInput, OTPInputContext } from "input-otp";
40
41
  import { Progress as Progress$1 } from "@base-ui/react/progress";
41
- import { Select as Select$1 } from "@base-ui/react/select";
42
42
  import { Tooltip as Tooltip$1 } from "@base-ui/react/tooltip";
43
43
  import { Toaster as Toaster$1, toast } from "sonner";
44
44
  import { Switch as Switch$1 } from "@base-ui/react/switch";
@@ -765,7 +765,7 @@ function AudioPlayerRow({ variant = "default", className, children, ...props })
765
765
  })
766
766
  });
767
767
  }
768
- function AudioPlayerButton({ variant, render, onClick, ...props }) {
768
+ const AudioPlayerButton = React.forwardRef(function AudioPlayerButton({ variant, render, onClick, ...props }, forwardRef) {
769
769
  const rowCtx = React.useContext(AudioPlayerRowContext);
770
770
  const resolvedVariant = variant ?? rowCtx.variant;
771
771
  const { isPlaying, isEnded, isBuffering, activeItem, seek, play, toggle } = useAudioPlayer();
@@ -794,14 +794,15 @@ function AudioPlayerButton({ variant, render, onClick, ...props }) {
794
794
  "data-state": showPause ? "playing" : showReplay ? "ended" : "idle",
795
795
  "aria-label": accessibleLabel,
796
796
  onClick: handleClick
797
- }, props),
797
+ }, { ref: forwardRef }, props),
798
798
  render: render ?? /* @__PURE__ */ jsx(Button, {
799
799
  variant: resolvedVariant,
800
800
  size: buttonSize,
801
801
  children: /* @__PURE__ */ jsx(Icon, {})
802
802
  })
803
803
  });
804
- }
804
+ });
805
+ AudioPlayerButton.displayName = "AudioPlayerButton";
805
806
  function AudioPlayerBar({ className, step = .25, playheadHeight, ...props }) {
806
807
  const { duration, seek, isPlaying, pause, play } = useAudioPlayer();
807
808
  const currentTime = useAudioPlayerTime();
@@ -967,7 +968,7 @@ const DEFAULT_SPEEDS = [
967
968
  2,
968
969
  .5
969
970
  ];
970
- function AudioPlayerSpeed({ speeds = DEFAULT_SPEEDS, variant, render, onClick, className, ...props }) {
971
+ const AudioPlayerSpeed = React.forwardRef(function AudioPlayerSpeed({ speeds = DEFAULT_SPEEDS, variant, render, onClick, className, ...props }, forwardRef) {
971
972
  const rowCtx = React.useContext(AudioPlayerRowContext);
972
973
  const resolvedVariant = variant ?? rowCtx.variant;
973
974
  const { playbackRate, setPlaybackRate } = useAudioPlayer();
@@ -986,20 +987,21 @@ function AudioPlayerSpeed({ speeds = DEFAULT_SPEEDS, variant, render, onClick, c
986
987
  "aria-label": `Playback speed: ${label}`,
987
988
  onClick: handleClick,
988
989
  className: cn("min-w-10 tabular-nums", className)
989
- }, props),
990
+ }, { ref: forwardRef }, props),
990
991
  render: render ?? /* @__PURE__ */ jsx(Button, {
991
992
  variant: "ghost",
992
993
  size: buttonSize,
993
994
  children: label
994
995
  })
995
996
  });
996
- }
997
+ });
998
+ AudioPlayerSpeed.displayName = "AudioPlayerSpeed";
997
999
  function pickSkipIcon(offset) {
998
1000
  if (offset === -10) return Backward10;
999
1001
  if (offset === 10) return Forward10;
1000
1002
  return offset < 0 ? Rewind : FastForward;
1001
1003
  }
1002
- function AudioPlayerSkip({ offset, render, onClick, ...props }) {
1004
+ const AudioPlayerSkip = React.forwardRef(function AudioPlayerSkip({ offset, render, onClick, ...props }, forwardRef) {
1003
1005
  const { seek, audioRef } = useAudioPlayer();
1004
1006
  const Icon = pickSkipIcon(offset);
1005
1007
  const label = `Skip ${offset < 0 ? "back" : "forward"} ${Math.abs(offset)} seconds`;
@@ -1015,14 +1017,15 @@ function AudioPlayerSkip({ offset, render, onClick, ...props }) {
1015
1017
  "data-slot": "audio-player-skip",
1016
1018
  "aria-label": label,
1017
1019
  onClick: handleClick
1018
- }, props),
1020
+ }, { ref: forwardRef }, props),
1019
1021
  render: render ?? /* @__PURE__ */ jsx(Button, {
1020
1022
  variant: "ghost",
1021
1023
  size: "icon",
1022
1024
  children: /* @__PURE__ */ jsx(Icon, {})
1023
1025
  })
1024
1026
  });
1025
- }
1027
+ });
1028
+ AudioPlayerSkip.displayName = "AudioPlayerSkip";
1026
1029
  /**
1027
1030
  * Optional coordination wrapper. Place it above multiple `<Audio>` instances to
1028
1031
  * ensure only one plays at a time — starting playback on any child automatically
@@ -3337,8 +3340,9 @@ function DataCombobox(componentProps) {
3337
3340
  children: renderItem ? renderItem(item) : getItemLabel(item)
3338
3341
  }, key);
3339
3342
  };
3343
+ const hasRows = items.length > 0;
3340
3344
  const popupBody = /* @__PURE__ */ jsxs("div", {
3341
- className: "relative",
3345
+ className: cn("relative", isFiltering && !hasRows && "min-h-24"),
3342
3346
  children: [isInitialLoading ? /* @__PURE__ */ jsx("div", {
3343
3347
  className: "p-1",
3344
3348
  children: /* @__PURE__ */ jsx(ComboboxSkeleton, { count: skeletonCount })
@@ -5507,6 +5511,453 @@ const HoverCardContent = React.forwardRef((componentProps, forwardRef) => {
5507
5511
  });
5508
5512
  HoverCardContent.displayName = "HoverCardContent";
5509
5513
 
5514
+ //#endregion
5515
+ //#region src/components/inline-edit.tsx
5516
+ /** Context shared between InlineEditSelect root and its compound sub-parts. */
5517
+ const InlineEditSelectContext = React.createContext({});
5518
+ /**
5519
+ * Internal chrome wrapper shared by all InlineEdit* variants.
5520
+ * Renders the relative container, the absolute bg layer (bleeds 4 px sideways
5521
+ * for a wider affordance), and the optional prefix icon slot. Not exported.
5522
+ */
5523
+ function InlineEditChrome({ readOnly, "aria-invalid": ariaInvalid, className, prefix, children }) {
5524
+ return /* @__PURE__ */ jsxs("div", {
5525
+ "data-slot": "inline-edit",
5526
+ "data-readonly": readOnly || void 0,
5527
+ "data-invalid": ariaInvalid || void 0,
5528
+ className: cn("group/inline-edit relative flex items-center min-h-8 min-w-[84px] py-1", readOnly ? "gap-0 cursor-not-allowed" : "gap-2", className),
5529
+ children: [
5530
+ !readOnly && /* @__PURE__ */ jsx("div", {
5531
+ "aria-hidden": true,
5532
+ "data-slot": "inline-edit-bg",
5533
+ className: cn("pointer-events-none absolute inset-[0_-4px] rounded-md transition-colors", "group-hover/inline-edit:bg-accent/50", "group-focus-within/inline-edit:bg-background", "group-focus-within/inline-edit:border group-focus-within/inline-edit:border-ring", "group-focus-within/inline-edit:ring-3 group-focus-within/inline-edit:ring-ring/50", "group-data-[invalid]/inline-edit:border group-data-[invalid]/inline-edit:border-destructive", "group-data-[invalid]/inline-edit:group-focus-within/inline-edit:ring-destructive/20", "group-data-[invalid]/inline-edit:group-hover/inline-edit:bg-destructive/10")
5534
+ }),
5535
+ prefix && /* @__PURE__ */ jsx("span", {
5536
+ "data-slot": "inline-edit-prefix",
5537
+ className: cn("relative flex shrink-0 items-center min-h-[1lh] text-muted-foreground", "[&_svg]:pointer-events-none [&_svg]:size-4"),
5538
+ children: prefix
5539
+ }),
5540
+ children
5541
+ ]
5542
+ });
5543
+ }
5544
+ /**
5545
+ * Manages value state for an inline-edit text control. Supports both
5546
+ * controlled (`value` + `onValueChange`) and uncontrolled
5547
+ * (`defaultValue` + `onValueCommit`) modes simultaneously. Tracks the last
5548
+ * committed value for Escape-to-revert.
5549
+ */
5550
+ function useInlineEditCommit({ value, defaultValue, onValueChange, onValueCommit }) {
5551
+ const isControlled = value !== void 0;
5552
+ const [internalValue, setInternalValue] = React.useState(defaultValue ?? "");
5553
+ const committedRef = React.useRef((isControlled ? value ?? "" : defaultValue ?? "").trim());
5554
+ const skipNextCommitRef = React.useRef(false);
5555
+ const currentValue = isControlled ? value : internalValue;
5556
+ const currentValueRef = React.useRef(currentValue);
5557
+ currentValueRef.current = currentValue;
5558
+ const prevValueRef = React.useRef(value);
5559
+ if (isControlled && value !== prevValueRef.current) {
5560
+ committedRef.current = (value ?? "").trim();
5561
+ prevValueRef.current = value;
5562
+ }
5563
+ return {
5564
+ currentValue,
5565
+ handleChange: React.useCallback((e) => {
5566
+ const v = e.target.value;
5567
+ if (!isControlled) setInternalValue(v);
5568
+ onValueChange?.(v);
5569
+ }, [isControlled, onValueChange]),
5570
+ handleCommit: React.useCallback(() => {
5571
+ if (skipNextCommitRef.current) {
5572
+ skipNextCommitRef.current = false;
5573
+ return;
5574
+ }
5575
+ const trimmed = currentValueRef.current.trim();
5576
+ if (trimmed === committedRef.current) {
5577
+ if (!isControlled && currentValueRef.current !== trimmed) setInternalValue(trimmed);
5578
+ return;
5579
+ }
5580
+ committedRef.current = trimmed;
5581
+ if (!isControlled) setInternalValue(trimmed);
5582
+ onValueCommit?.(trimmed);
5583
+ }, [isControlled, onValueCommit]),
5584
+ handleRevert: React.useCallback((el) => {
5585
+ const committed = committedRef.current;
5586
+ skipNextCommitRef.current = true;
5587
+ if (!isControlled) setInternalValue(committed);
5588
+ else onValueChange?.(committed);
5589
+ el.blur();
5590
+ }, [isControlled, onValueChange])
5591
+ };
5592
+ }
5593
+
5594
+ //#endregion
5595
+ //#region src/components/inline-edit-input.tsx
5596
+ /**
5597
+ * An inline-editable single-line text field. Renders as unstyled text that
5598
+ * inherits the surrounding typography (set it with a `text-*` className); the
5599
+ * edit affordance chrome appears on hover/focus.
5600
+ *
5601
+ * Supports both controlled (`value` + `onValueChange`) and uncontrolled
5602
+ * (`defaultValue` + `onValueCommit`) modes simultaneously.
5603
+ *
5604
+ * - **Enter** → commit (trimmed) and blur
5605
+ * - **Escape** → revert to the last committed value and blur
5606
+ * - **Blur** → commit
5607
+ *
5608
+ * Slots into DS `Field` (label + `FieldError`) via `aria-invalid`.
5609
+ *
5610
+ * @example
5611
+ * ```tsx
5612
+ * <InlineEditInput
5613
+ * className="text-xl font-bold"
5614
+ * value={name}
5615
+ * onValueChange={setName}
5616
+ * selectAllOnFocus
5617
+ * />
5618
+ * ```
5619
+ */
5620
+ const InlineEditInput = React.forwardRef((componentProps, forwardRef) => {
5621
+ const { prefix, readOnly, "aria-invalid": ariaInvalid, className, value, defaultValue, onValueChange, onValueCommit, selectAllOnFocus, onBlur, onKeyDown, onFocus, placeholder, ...props } = componentProps;
5622
+ const { currentValue, handleChange, handleCommit, handleRevert } = useInlineEditCommit({
5623
+ value,
5624
+ defaultValue,
5625
+ onValueChange,
5626
+ onValueCommit
5627
+ });
5628
+ const handleKeyDown = (e) => {
5629
+ if (e.key === "Enter") {
5630
+ e.preventDefault();
5631
+ e.currentTarget.blur();
5632
+ } else if (e.key === "Escape") {
5633
+ e.preventDefault();
5634
+ handleRevert(e.currentTarget);
5635
+ }
5636
+ onKeyDown?.(e);
5637
+ };
5638
+ const handleBlur = (e) => {
5639
+ handleCommit();
5640
+ onBlur?.(e);
5641
+ };
5642
+ const handleFocus = (e) => {
5643
+ if (selectAllOnFocus) e.currentTarget.select();
5644
+ onFocus?.(e);
5645
+ };
5646
+ return /* @__PURE__ */ jsx(InlineEditChrome, {
5647
+ readOnly,
5648
+ "aria-invalid": ariaInvalid,
5649
+ className,
5650
+ prefix,
5651
+ children: /* @__PURE__ */ jsx("input", {
5652
+ ref: forwardRef,
5653
+ "data-slot": "inline-edit-field",
5654
+ "aria-invalid": ariaInvalid,
5655
+ readOnly,
5656
+ placeholder,
5657
+ value: currentValue,
5658
+ onChange: handleChange,
5659
+ onBlur: handleBlur,
5660
+ onKeyDown: handleKeyDown,
5661
+ onFocus: handleFocus,
5662
+ className: cn("relative flex-1 min-w-0 bg-transparent outline-none border-none", "text-foreground placeholder:text-muted-foreground", "read-only:cursor-not-allowed"),
5663
+ ...props
5664
+ })
5665
+ });
5666
+ });
5667
+ InlineEditInput.displayName = "InlineEditInput";
5668
+
5669
+ //#endregion
5670
+ //#region src/components/inline-edit-select.tsx
5671
+ /**
5672
+ * The interactive trigger part of an `InlineEditSelect`. Renders the
5673
+ * inline-edit chrome (bg affordance, prefix) wrapping a Base UI
5674
+ * `Select.Trigger` button. A `ChevronDown` icon fades in on hover/focus.
5675
+ *
5676
+ * Place `InlineEditSelectValue` inside as the value display.
5677
+ *
5678
+ * @example
5679
+ * ```tsx
5680
+ * <InlineEditSelectTrigger prefix={<PhoneIcon />}>
5681
+ * <InlineEditSelectValue placeholder="Pick one" />
5682
+ * </InlineEditSelectTrigger>
5683
+ * ```
5684
+ */
5685
+ const InlineEditSelectTrigger = React.forwardRef((componentProps, forwardRef) => {
5686
+ const { prefix, "aria-invalid": ariaInvalid, "aria-label": ariaLabel, id, className, children } = componentProps;
5687
+ const { readOnly } = React.useContext(InlineEditSelectContext);
5688
+ return /* @__PURE__ */ jsx(InlineEditChrome, {
5689
+ readOnly,
5690
+ "aria-invalid": ariaInvalid,
5691
+ className,
5692
+ prefix,
5693
+ children: /* @__PURE__ */ jsxs(Select$1.Trigger, {
5694
+ ref: forwardRef,
5695
+ "data-slot": "inline-edit-trigger",
5696
+ id,
5697
+ "aria-label": ariaLabel,
5698
+ disabled: readOnly,
5699
+ className: cn("relative flex flex-1 min-w-0 items-center gap-2 outline-none select-none", "text-foreground data-[placeholder]:text-muted-foreground", readOnly && "cursor-not-allowed"),
5700
+ children: [children, !readOnly && /* @__PURE__ */ jsx(ChevronDownIcon, {
5701
+ "data-slot": "inline-edit-chevron",
5702
+ className: "ml-auto shrink-0 size-4 opacity-0 group-hover/inline-edit:opacity-50 group-focus-within/inline-edit:opacity-70 pointer-events-none"
5703
+ })]
5704
+ })
5705
+ });
5706
+ });
5707
+ InlineEditSelectTrigger.displayName = "InlineEditSelectTrigger";
5708
+ /**
5709
+ * Displays the label of the currently-selected item inside
5710
+ * `InlineEditSelectTrigger`. Shows `placeholder` when nothing is selected.
5711
+ *
5712
+ * @example
5713
+ * ```tsx
5714
+ * <InlineEditSelectValue placeholder="Pick a language" />
5715
+ * ```
5716
+ */
5717
+ function InlineEditSelectValue(componentProps) {
5718
+ const { className, ...props } = componentProps;
5719
+ return /* @__PURE__ */ jsx(Select$1.Value, {
5720
+ "data-slot": "inline-edit-value",
5721
+ className: cn("flex flex-1 min-w-0 truncate text-left", className),
5722
+ ...props
5723
+ });
5724
+ }
5725
+ /**
5726
+ * The floating popup panel of an `InlineEditSelect`. Portal-renders and
5727
+ * positions below the trigger by default.
5728
+ *
5729
+ * @example
5730
+ * ```tsx
5731
+ * <InlineEditSelectContent>
5732
+ * <InlineEditSelectItem value="en">English</InlineEditSelectItem>
5733
+ * </InlineEditSelectContent>
5734
+ * ```
5735
+ */
5736
+ const InlineEditSelectContent = React.forwardRef((componentProps, forwardRef) => {
5737
+ const { className, children, side = "bottom", sideOffset = 12, align = "start", alignOffset = 0, alignItemWithTrigger = false, ...props } = componentProps;
5738
+ return /* @__PURE__ */ jsx(Select$1.Portal, { children: /* @__PURE__ */ jsx(Select$1.Positioner, {
5739
+ side,
5740
+ sideOffset,
5741
+ align,
5742
+ alignOffset,
5743
+ alignItemWithTrigger,
5744
+ className: "isolate z-50",
5745
+ children: /* @__PURE__ */ jsx(Select$1.Popup, {
5746
+ ref: forwardRef,
5747
+ "data-slot": "inline-edit-content",
5748
+ className: cn("relative isolate z-50 max-h-(--available-height) min-w-36 min-w-(--anchor-width) origin-(--transform-origin) overflow-x-hidden overflow-y-auto rounded-md p-1 bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10 duration-100", "data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2", "data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95", "data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
5749
+ ...props,
5750
+ children: /* @__PURE__ */ jsx(Select$1.List, { children })
5751
+ })
5752
+ }) });
5753
+ });
5754
+ InlineEditSelectContent.displayName = "InlineEditSelectContent";
5755
+ /**
5756
+ * A single option row inside `InlineEditSelectContent`. Renders a checkmark
5757
+ * indicator when the item is selected.
5758
+ *
5759
+ * Pass a `label` (Base UI text label for typeahead/value) when `children` is
5760
+ * rich content (icon + text). In that case the children render directly and
5761
+ * nothing non-text goes into `Select.ItemText` — see the AW-17502 learning on
5762
+ * icon placement. For plain-text options, omit `label` and pass an `icon` prop.
5763
+ *
5764
+ * @example
5765
+ * ```tsx
5766
+ * <InlineEditSelectItem value="en" icon={<FlagIcon />}>English</InlineEditSelectItem>
5767
+ * ```
5768
+ */
5769
+ const InlineEditSelectItem = React.forwardRef((componentProps, forwardRef) => {
5770
+ const { className, children, icon, label, ...props } = componentProps;
5771
+ return /* @__PURE__ */ jsxs(Select$1.Item, {
5772
+ ref: forwardRef,
5773
+ "data-slot": "inline-edit-item",
5774
+ label,
5775
+ className: cn("relative flex w-full cursor-default items-center gap-2 rounded-md p-2 pr-8 text-sm outline-hidden select-none", "focus:bg-accent focus:text-accent-foreground", "data-disabled:pointer-events-none data-disabled:opacity-50", "[&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
5776
+ ...props,
5777
+ children: [/* @__PURE__ */ jsx("span", {
5778
+ className: "flex flex-1 min-w-0 shrink-0 items-center gap-2 whitespace-nowrap",
5779
+ children: label !== void 0 ? children : /* @__PURE__ */ jsxs(Fragment, { children: [icon, /* @__PURE__ */ jsx(Select$1.ItemText, { children })] })
5780
+ }), /* @__PURE__ */ jsx(Select$1.ItemIndicator, {
5781
+ "data-slot": "inline-edit-item-indicator",
5782
+ render: /* @__PURE__ */ jsx("span", { className: "pointer-events-none absolute right-2 flex size-4 items-center justify-center text-primary" }),
5783
+ children: /* @__PURE__ */ jsx(CheckIcon, { className: "pointer-events-none" })
5784
+ })]
5785
+ });
5786
+ });
5787
+ InlineEditSelectItem.displayName = "InlineEditSelectItem";
5788
+ function InlineEditSelectDataDriven(props) {
5789
+ const { value, defaultValue, onValueChange, readOnly, items, getItemValue, getItemLabel, renderItem, disabledKeys, prefix, placeholder, "aria-invalid": ariaInvalid, "aria-label": ariaLabel, id, className } = props;
5790
+ const contextValue = React.useMemo(() => ({ readOnly }), [readOnly]);
5791
+ const [displayValue, setDisplayValue] = React.useState(defaultValue);
5792
+ const currentDisplayValue = value !== void 0 ? value : displayValue;
5793
+ const handleValueChange = React.useCallback((v) => {
5794
+ setDisplayValue(v ?? void 0);
5795
+ if (v !== null) onValueChange?.(v);
5796
+ }, [onValueChange]);
5797
+ const itemByValue = React.useMemo(() => new Map(items.map((item) => [getItemValue(item), item])), [items, getItemValue]);
5798
+ const selectedItem = currentDisplayValue === void 0 ? void 0 : itemByValue.get(currentDisplayValue);
5799
+ const displayLabel = selectedItem ? getItemLabel(selectedItem) : currentDisplayValue !== void 0 && currentDisplayValue !== "" ? currentDisplayValue : void 0;
5800
+ return /* @__PURE__ */ jsx(InlineEditSelectContext.Provider, {
5801
+ value: contextValue,
5802
+ children: /* @__PURE__ */ jsxs(Select$1.Root, {
5803
+ value,
5804
+ defaultValue,
5805
+ onValueChange: handleValueChange,
5806
+ readOnly,
5807
+ children: [/* @__PURE__ */ jsx(InlineEditSelectTrigger, {
5808
+ prefix,
5809
+ "aria-invalid": ariaInvalid,
5810
+ "aria-label": ariaLabel,
5811
+ id,
5812
+ className,
5813
+ children: /* @__PURE__ */ jsx("span", {
5814
+ "data-slot": "inline-edit-value",
5815
+ className: cn("flex flex-1 min-w-0 truncate text-left", displayLabel === void 0 && "text-muted-foreground"),
5816
+ children: displayLabel ?? placeholder
5817
+ })
5818
+ }), /* @__PURE__ */ jsx(InlineEditSelectContent, { children: items.map((item) => {
5819
+ const itemValue = getItemValue(item);
5820
+ return /* @__PURE__ */ jsx(InlineEditSelectItem, {
5821
+ value: itemValue,
5822
+ label: getItemLabel(item),
5823
+ disabled: disabledKeys?.has(itemValue),
5824
+ children: renderItem ? renderItem(item) : getItemLabel(item)
5825
+ }, itemValue);
5826
+ }) })]
5827
+ })
5828
+ });
5829
+ }
5830
+ function InlineEditSelect(componentProps) {
5831
+ if ("items" in componentProps && componentProps.items !== void 0) return /* @__PURE__ */ jsx(InlineEditSelectDataDriven, { ...componentProps });
5832
+ const { value, defaultValue, onValueChange, readOnly, children } = componentProps;
5833
+ return /* @__PURE__ */ jsx(InlineEditSelectCompound, {
5834
+ value,
5835
+ defaultValue,
5836
+ onValueChange,
5837
+ readOnly,
5838
+ children
5839
+ });
5840
+ }
5841
+ function InlineEditSelectCompound(props) {
5842
+ const { value, defaultValue, onValueChange, readOnly, children } = props;
5843
+ const contextValue = React.useMemo(() => ({ readOnly }), [readOnly]);
5844
+ const handleValueChange = React.useCallback((v) => {
5845
+ if (v !== null) onValueChange?.(v);
5846
+ }, [onValueChange]);
5847
+ return /* @__PURE__ */ jsx(InlineEditSelectContext.Provider, {
5848
+ value: contextValue,
5849
+ children: /* @__PURE__ */ jsx(Select$1.Root, {
5850
+ value,
5851
+ defaultValue,
5852
+ onValueChange: handleValueChange,
5853
+ readOnly,
5854
+ children
5855
+ })
5856
+ });
5857
+ }
5858
+
5859
+ //#endregion
5860
+ //#region src/components/inline-edit-textarea.tsx
5861
+ /**
5862
+ * An inline-editable multi-line text area. Auto-grows to fit content height
5863
+ * (capped, then scrolls); text wraps naturally (no truncation). Inherits the
5864
+ * surrounding typography (set it with a `text-*` className).
5865
+ *
5866
+ * Supports both controlled (`value` + `onValueChange`) and uncontrolled
5867
+ * (`defaultValue` + `onValueCommit`) modes simultaneously.
5868
+ *
5869
+ * - **Enter** → newline (Shift+Enter also works)
5870
+ * - **⌘/Ctrl+Enter** → commit (trimmed) and blur
5871
+ * - **Blur** → commit
5872
+ * - **Escape** → revert to the last committed value and blur
5873
+ *
5874
+ * Slots into DS `Field` (label + `FieldError`) via `aria-invalid`.
5875
+ *
5876
+ * @example
5877
+ * ```tsx
5878
+ * <InlineEditTextarea
5879
+ * defaultValue={content}
5880
+ * onValueCommit={onUpdate}
5881
+ * placeholder="No information gathered"
5882
+ * maxLength={1024}
5883
+ * />
5884
+ * ```
5885
+ */
5886
+ const InlineEditTextarea = React.forwardRef((componentProps, forwardRef) => {
5887
+ const { prefix, readOnly, "aria-invalid": ariaInvalid, className, value, defaultValue, onValueChange, onValueCommit, selectAllOnFocus, onBlur, onKeyDown, onFocus, placeholder, maxLength, ...props } = componentProps;
5888
+ const { currentValue, handleChange, handleCommit, handleRevert } = useInlineEditCommit({
5889
+ value,
5890
+ defaultValue,
5891
+ onValueChange,
5892
+ onValueCommit
5893
+ });
5894
+ const internalRef = React.useRef(null);
5895
+ const setRefs = React.useCallback((node) => {
5896
+ internalRef.current = node;
5897
+ if (typeof forwardRef === "function") forwardRef(node);
5898
+ else if (forwardRef) forwardRef.current = node;
5899
+ }, [forwardRef]);
5900
+ React.useLayoutEffect(() => {
5901
+ const el = internalRef.current;
5902
+ if (!el) return;
5903
+ const resize = () => {
5904
+ el.style.height = "auto";
5905
+ el.style.height = `${el.scrollHeight}px`;
5906
+ };
5907
+ resize();
5908
+ let lastWidth = el.clientWidth;
5909
+ const observer = new ResizeObserver(() => {
5910
+ const width = el.clientWidth;
5911
+ if (width === lastWidth) return;
5912
+ lastWidth = width;
5913
+ resize();
5914
+ });
5915
+ observer.observe(el);
5916
+ return () => observer.disconnect();
5917
+ }, [currentValue]);
5918
+ const handleKeyDown = (e) => {
5919
+ if (e.key === "Escape") {
5920
+ e.preventDefault();
5921
+ handleRevert(e.currentTarget);
5922
+ } else if (e.key === "Enter" && (e.metaKey || e.ctrlKey)) {
5923
+ e.preventDefault();
5924
+ e.currentTarget.blur();
5925
+ }
5926
+ onKeyDown?.(e);
5927
+ };
5928
+ const handleBlur = (e) => {
5929
+ handleCommit();
5930
+ onBlur?.(e);
5931
+ };
5932
+ const handleFocus = (e) => {
5933
+ if (selectAllOnFocus) e.currentTarget.select();
5934
+ onFocus?.(e);
5935
+ };
5936
+ return /* @__PURE__ */ jsx(InlineEditChrome, {
5937
+ readOnly,
5938
+ "aria-invalid": ariaInvalid,
5939
+ className: cn("items-start", className),
5940
+ prefix,
5941
+ children: /* @__PURE__ */ jsx("textarea", {
5942
+ ref: setRefs,
5943
+ "data-slot": "inline-edit-field",
5944
+ "aria-invalid": ariaInvalid,
5945
+ readOnly,
5946
+ placeholder,
5947
+ maxLength,
5948
+ value: currentValue,
5949
+ onChange: handleChange,
5950
+ onBlur: handleBlur,
5951
+ onKeyDown: handleKeyDown,
5952
+ onFocus: handleFocus,
5953
+ rows: 1,
5954
+ className: cn("relative flex-1 min-w-0 resize-none max-h-60 overflow-y-auto bg-transparent outline-none border-none", "text-foreground placeholder:text-muted-foreground", "read-only:cursor-not-allowed"),
5955
+ ...props
5956
+ })
5957
+ });
5958
+ });
5959
+ InlineEditTextarea.displayName = "InlineEditTextarea";
5960
+
5510
5961
  //#endregion
5511
5962
  //#region src/i18n/number-format.ts
5512
5963
  /**
@@ -6373,7 +6824,7 @@ const SheetTitle = React.forwardRef((componentProps, forwardRef) => {
6373
6824
  return /* @__PURE__ */ jsx(Dialog$1.Title, {
6374
6825
  ref: forwardRef,
6375
6826
  "data-slot": "sheet-title",
6376
- className: cn("font-medium text-foreground", className),
6827
+ className: cn("text-base font-medium text-foreground", className),
6377
6828
  ...props
6378
6829
  });
6379
6830
  });
@@ -6416,21 +6867,24 @@ const TooltipTrigger = React.forwardRef((componentProps, forwardRef) => {
6416
6867
  });
6417
6868
  TooltipTrigger.displayName = "TooltipTrigger";
6418
6869
  const TooltipContent = React.forwardRef((componentProps, forwardRef) => {
6419
- const { className, side = "top", sideOffset = 4, align = "center", alignOffset = 0, children, ...props } = componentProps;
6420
- return /* @__PURE__ */ jsx(Tooltip$1.Portal, { children: /* @__PURE__ */ jsx(Tooltip$1.Positioner, {
6421
- align,
6422
- alignOffset,
6423
- side,
6424
- sideOffset,
6425
- className: "isolate z-50",
6426
- children: /* @__PURE__ */ jsxs(Tooltip$1.Popup, {
6427
- ref: forwardRef,
6428
- "data-slot": "tooltip-content",
6429
- className: cn("z-50 inline-flex w-fit max-w-sm origin-(--transform-origin) items-center gap-2 rounded-md bg-accent-foreground p-2 text-sm font-medium text-primary-foreground has-data-[slot=kbd]:pr-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
6430
- ...props,
6431
- children: [children, /* @__PURE__ */ jsx(Tooltip$1.Arrow, { className: "z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-accent-foreground fill-accent-foreground data-[side=bottom]:top-1 data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5" })]
6870
+ const { className, side = "top", sideOffset = 4, align = "center", alignOffset = 0, children, container, ...props } = componentProps;
6871
+ return /* @__PURE__ */ jsx(Tooltip$1.Portal, {
6872
+ container,
6873
+ children: /* @__PURE__ */ jsx(Tooltip$1.Positioner, {
6874
+ align,
6875
+ alignOffset,
6876
+ side,
6877
+ sideOffset,
6878
+ className: "isolate z-50",
6879
+ children: /* @__PURE__ */ jsxs(Tooltip$1.Popup, {
6880
+ ref: forwardRef,
6881
+ "data-slot": "tooltip-content",
6882
+ className: cn("z-50 inline-flex w-fit max-w-sm origin-(--transform-origin) items-center gap-2 rounded-md bg-accent-foreground p-2 text-sm font-medium text-primary-foreground has-data-[slot=kbd]:pr-1.5 data-[side=bottom]:slide-in-from-top-2 data-[side=inline-end]:slide-in-from-left-2 data-[side=inline-start]:slide-in-from-right-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 **:data-[slot=kbd]:relative **:data-[slot=kbd]:isolate **:data-[slot=kbd]:z-50 **:data-[slot=kbd]:rounded-sm data-[state=delayed-open]:animate-in data-[state=delayed-open]:fade-in-0 data-[state=delayed-open]:zoom-in-95 data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95 data-closed:animate-out data-closed:fade-out-0 data-closed:zoom-out-95", className),
6883
+ ...props,
6884
+ children: [children, /* @__PURE__ */ jsx(Tooltip$1.Arrow, { className: "z-50 size-2.5 translate-y-[calc(-50%-2px)] rotate-45 rounded-[2px] bg-accent-foreground fill-accent-foreground data-[side=bottom]:top-1 data-[side=inline-end]:top-1/2! data-[side=inline-end]:-left-1 data-[side=inline-end]:-translate-y-1/2 data-[side=inline-start]:top-1/2! data-[side=inline-start]:-right-1 data-[side=inline-start]:-translate-y-1/2 data-[side=left]:top-1/2! data-[side=left]:-right-1 data-[side=left]:-translate-y-1/2 data-[side=right]:top-1/2! data-[side=right]:-left-1 data-[side=right]:-translate-y-1/2 data-[side=top]:-bottom-2.5" })]
6885
+ })
6432
6886
  })
6433
- }) });
6887
+ });
6434
6888
  });
6435
6889
  TooltipContent.displayName = "TooltipContent";
6436
6890
 
@@ -7359,4 +7813,4 @@ function useAudioGauge(options = {}) {
7359
7813
  }
7360
7814
 
7361
7815
  //#endregion
7362
- export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionBar, ActionBarButton, ActionBarContext, 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, AttachmentTitle, AttachmentTrigger, Audio, AudioPlayerBar, AudioPlayerButton, AudioPlayerCurrentTime, AudioPlayerDuration, AudioPlayerManager, AudioPlayerRow, AudioPlayerSkip, AudioPlayerSpeed, AudioPlayerTime, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, BadgeGroup, BadgeGroupCount, Banner, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Chip, ChipRemove, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CounterBadge, CountryFlag, DataCombobox, DataTable, DataTree, 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, DropzoneIcon, DropzoneTitle, DropzoneTrigger, DsI18nProvider, EmojiPicker, EmojiPickerCategories, EmojiPickerContent, EmojiPickerTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FAB, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLabelAside, FieldLabelInfo, FieldLabelRow, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Filter, FilterClearAllButton, FilterGroup, Gauge, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Label, List, ListCol, ListRow, NotificationQueueProvider, NotificationSlot, NumericInput, NumericInputControl, NumericInputDecrement, NumericInputIncrement, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, SUPPORTED_LANGUAGES, ScrollArea, ScrollAreaPrimitive, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, 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, Slider, Spinner, Stepper, StepperContent, StepperCounter, StepperPanel, StepperProgress, Switch, Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeProvider, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tree, TreeDragLine, TreeItem, TreeItemLabel, alertVariants, anchorVariants, bannerVariants, buttonGroupVariants, buttonVariants, cn, counterBadgeVariants, detectInitialLanguage, fabVariants, registerI18nNamespace, selectTriggerVariants, spinnerVariants, syncDsLanguage, toast, toggleVariants, useAudioGauge, useAudioPlayer, useAudioPlayerTime, useComboboxAnchor, useDsLocale, useDsTranslation, useNotification, useNotificationQueue, useSidebar, useStepper, useTheme };
7816
+ export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionBar, ActionBarButton, ActionBarContext, 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, AttachmentTitle, AttachmentTrigger, Audio, AudioPlayerBar, AudioPlayerButton, AudioPlayerCurrentTime, AudioPlayerDuration, AudioPlayerManager, AudioPlayerRow, AudioPlayerSkip, AudioPlayerSpeed, AudioPlayerTime, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, BadgeGroup, BadgeGroupCount, Banner, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Chip, ChipRemove, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CounterBadge, CountryFlag, DataCombobox, DataTable, DataTree, 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, DropzoneIcon, DropzoneTitle, DropzoneTrigger, DsI18nProvider, EmojiPicker, EmojiPickerCategories, EmojiPickerContent, EmojiPickerTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FAB, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLabelAside, FieldLabelInfo, FieldLabelRow, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Filter, FilterClearAllButton, FilterGroup, Gauge, HoverCard, HoverCardContent, HoverCardTrigger, InlineEditInput, InlineEditSelect, InlineEditSelectContent, InlineEditSelectItem, InlineEditSelectTrigger, InlineEditSelectValue, InlineEditTextarea, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Label, List, ListCol, ListRow, NotificationQueueProvider, NotificationSlot, NumericInput, NumericInputControl, NumericInputDecrement, NumericInputIncrement, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, SUPPORTED_LANGUAGES, ScrollArea, ScrollAreaPrimitive, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, 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, Slider, Spinner, Stepper, StepperContent, StepperCounter, StepperPanel, StepperProgress, Switch, Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeProvider, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tree, TreeDragLine, TreeItem, TreeItemLabel, alertVariants, anchorVariants, bannerVariants, buttonGroupVariants, buttonVariants, cn, counterBadgeVariants, detectInitialLanguage, fabVariants, registerI18nNamespace, selectTriggerVariants, spinnerVariants, syncDsLanguage, toast, toggleVariants, useAudioGauge, useAudioPlayer, useAudioPlayerTime, useComboboxAnchor, useDsLocale, useDsTranslation, useNotification, useNotificationQueue, useSidebar, useStepper, useTheme };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aircall/ds",
3
- "version": "0.24.1",
3
+ "version": "0.25.0",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "sideEffects": [