@aircall/ds 0.24.1 → 0.24.2

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
@@ -40,7 +40,7 @@ import { Switch as Switch$1 } from "@base-ui/react/switch";
40
40
  import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
41
41
  import { Toggle as Toggle$1 } from "@base-ui/react/toggle";
42
42
  import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
43
- import * as class_variance_authority_types3 from "class-variance-authority/types";
43
+ import * as class_variance_authority_types7 from "class-variance-authority/types";
44
44
  import { CountryCode } from "@aircall/numbers";
45
45
 
46
46
  //#region src/components/accordion.d.ts
@@ -68,9 +68,9 @@ declare namespace AccordionContent {
68
68
  //#region src/components/button.d.ts
69
69
  declare const buttonVariants: (props?: ({
70
70
  variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
71
- size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
71
+ size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
72
72
  block?: boolean | null | undefined;
73
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
73
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
74
74
  declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
75
75
  interface ButtonProps extends Button$1.Props, VariantProps<typeof buttonVariants> {
76
76
  children?: React.ReactNode;
@@ -306,12 +306,7 @@ type AudioPlayerButtonProps = useRender.ComponentProps<'button'> & {
306
306
  */
307
307
  variant?: 'default' | 'ghost';
308
308
  };
309
- declare function AudioPlayerButton({
310
- variant,
311
- render,
312
- onClick,
313
- ...props
314
- }: AudioPlayerButtonProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
309
+ declare const AudioPlayerButton: React.ForwardRefExoticComponent<Omit<AudioPlayerButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
315
310
  /**
316
311
  * Seek bar built on Base UI `<Slider.Root>`. Clicking or dragging seeks the audio;
317
312
  * drag pauses playback and resumes on release. The thumb is hidden by default and
@@ -411,14 +406,7 @@ type AudioPlayerSpeedProps = useRender.ComponentProps<'button'> & {
411
406
  */
412
407
  variant?: 'default' | 'ghost';
413
408
  };
414
- declare function AudioPlayerSpeed({
415
- speeds,
416
- variant,
417
- render,
418
- onClick,
419
- className,
420
- ...props
421
- }: AudioPlayerSpeedProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
409
+ declare const AudioPlayerSpeed: React.ForwardRefExoticComponent<Omit<AudioPlayerSpeedProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
422
410
  /**
423
411
  * Skip button that seeks by a fixed number of seconds. The icon is selected
424
412
  * automatically from `offset`: `−10` → `Backward10`, `+10` → `Forward10`,
@@ -435,12 +423,7 @@ declare function AudioPlayerSpeed({
435
423
  type AudioPlayerSkipProps = useRender.ComponentProps<'button'> & {
436
424
  /** Seconds to seek (positive = forward, negative = back). Required. */offset: number;
437
425
  };
438
- declare function AudioPlayerSkip({
439
- offset,
440
- render,
441
- onClick,
442
- ...props
443
- }: AudioPlayerSkipProps): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
426
+ declare const AudioPlayerSkip: React.ForwardRefExoticComponent<Omit<AudioPlayerSkipProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
444
427
  type AudioPlayerManagerProps = {
445
428
  children: React.ReactNode;
446
429
  };
@@ -530,8 +513,8 @@ declare namespace AlertDialogCancel {
530
513
  //#endregion
531
514
  //#region src/components/alert.d.ts
532
515
  declare const alertVariants: (props?: ({
533
- variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
534
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
516
+ variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
517
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
535
518
  declare const Alert: React.ForwardRefExoticComponent<Omit<AlertProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
536
519
  interface AlertProps extends React.ComponentProps<'div'>, VariantProps<typeof alertVariants> {}
537
520
  declare namespace Alert {
@@ -563,7 +546,7 @@ type AttachmentState = 'idle' | 'uploading' | 'processing' | 'error' | 'done';
563
546
  declare const attachmentVariants: (props?: ({
564
547
  size?: "default" | "sm" | "xs" | null | undefined;
565
548
  orientation?: "horizontal" | "vertical" | null | undefined;
566
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
549
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
567
550
  /**
568
551
  * Card displaying a single file or image attachment with its metadata,
569
552
  * upload state, and actions. Renders a `<div>`; compose it from
@@ -601,7 +584,7 @@ declare namespace Attachment {
601
584
  }
602
585
  declare const attachmentMediaVariants: (props?: ({
603
586
  variant?: "image" | "icon" | null | undefined;
604
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
587
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
605
588
  /**
606
589
  * Leading media slot of an `Attachment` — holds an icon (`variant="icon"`)
607
590
  * or an image thumbnail (`variant="image"`). Renders a `<div>`.
@@ -728,7 +711,7 @@ declare namespace AvatarGroupCount {
728
711
  //#region src/components/counter-badge.d.ts
729
712
  declare const counterBadgeVariants: (props?: ({
730
713
  variant?: "default" | "secondary" | "ghost" | null | undefined;
731
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
714
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
732
715
  declare const CounterBadge: React.ForwardRefExoticComponent<Omit<CounterBadgeProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
733
716
  type CounterBadgeProps = useRender.ComponentProps<'span'> & VariantProps<typeof counterBadgeVariants>;
734
717
  declare namespace CounterBadge {
@@ -740,7 +723,7 @@ declare const badgeVariants: (props?: ({
740
723
  size?: "default" | "lg" | null | undefined;
741
724
  color?: "blue" | "green" | "pink" | "purple" | "red" | "yellow" | "charcoal" | null | undefined;
742
725
  tone?: "dark" | "light" | "medium-dark" | "medium-light" | null | undefined;
743
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
726
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
744
727
  type BadgeVariants = VariantProps<typeof badgeVariants>;
745
728
  type BadgeColor = NonNullable<BadgeVariants['color']>;
746
729
  type BadgeTone = NonNullable<BadgeVariants['tone']>;
@@ -772,7 +755,7 @@ declare namespace BadgeGroup {
772
755
  }
773
756
  declare const badgeGroupCountVariants: (props?: ({
774
757
  size?: "default" | "lg" | null | undefined;
775
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
758
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
776
759
  declare const BadgeGroupCount: React.ForwardRefExoticComponent<Omit<BadgeGroupCount.Props, "ref"> & React.RefAttributes<HTMLSpanElement>>;
777
760
  declare namespace BadgeGroupCount {
778
761
  type Props = Omit<React.ComponentProps<typeof CounterBadge>, 'variant'> & VariantProps<typeof badgeGroupCountVariants>;
@@ -780,9 +763,9 @@ declare namespace BadgeGroupCount {
780
763
  //#endregion
781
764
  //#region src/components/banner.d.ts
782
765
  declare const bannerVariants: (props?: ({
783
- variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
766
+ variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
784
767
  borderDirection?: "bottom" | "top" | null | undefined;
785
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
768
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
786
769
  declare const Banner: React.ForwardRefExoticComponent<Omit<BannerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
787
770
  interface BannerProps extends React.ComponentProps<'div'>, VariantProps<typeof bannerVariants> {}
788
771
  declare namespace Banner {
@@ -863,7 +846,7 @@ declare namespace Separator {
863
846
  //#region src/components/button-group.d.ts
864
847
  declare const buttonGroupVariants: (props?: ({
865
848
  orientation?: "horizontal" | "vertical" | null | undefined;
866
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
849
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
867
850
  declare const ButtonGroup: React.ForwardRefExoticComponent<Omit<ButtonGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
868
851
  interface ButtonGroupProps extends React.ComponentProps<'div'>, VariantProps<typeof buttonGroupVariants> {}
869
852
  declare namespace ButtonGroup {
@@ -1835,7 +1818,7 @@ declare namespace EmptyHeader {
1835
1818
  }
1836
1819
  declare const emptyMediaVariants: (props?: ({
1837
1820
  variant?: "default" | "icon" | null | undefined;
1838
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
1821
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
1839
1822
  declare const EmptyMedia: React.ForwardRefExoticComponent<Omit<EmptyMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1840
1823
  interface EmptyMediaProps extends React.ComponentProps<'div'>, VariantProps<typeof emptyMediaVariants> {}
1841
1824
  declare namespace EmptyMedia {
@@ -2029,7 +2012,7 @@ declare namespace EmojiPickerContent {
2029
2012
  declare const fabVariants: (props?: ({
2030
2013
  variant?: "default" | "outline" | null | undefined;
2031
2014
  size?: "lg" | "icon-lg" | null | undefined;
2032
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
2015
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
2033
2016
  declare const FAB: React.ForwardRefExoticComponent<Omit<FABProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
2034
2017
  interface FABProps extends Button$1.Props, VariantProps<typeof fabVariants> {}
2035
2018
  declare namespace FAB {
@@ -2063,7 +2046,7 @@ declare namespace FieldGroup {
2063
2046
  }
2064
2047
  declare const fieldVariants: (props?: ({
2065
2048
  orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
2066
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
2049
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
2067
2050
  declare const Field: React.ForwardRefExoticComponent<Omit<FieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
2068
2051
  interface FieldProps extends React.ComponentProps<'div'>, VariantProps<typeof fieldVariants> {}
2069
2052
  declare namespace Field {
@@ -2304,7 +2287,7 @@ declare namespace HoverCardContent {
2304
2287
  //#region src/components/input.d.ts
2305
2288
  declare const inputVariants: (props?: ({
2306
2289
  block?: boolean | null | undefined;
2307
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
2290
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
2308
2291
  declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
2309
2292
  interface InputProps extends React.ComponentProps<'input'>, VariantProps<typeof inputVariants> {}
2310
2293
  declare namespace Input {
@@ -2319,7 +2302,7 @@ declare namespace InputGroup {
2319
2302
  }
2320
2303
  declare const inputGroupAddonVariants: (props?: ({
2321
2304
  align?: "block-end" | "block-start" | "inline-end" | "inline-start" | null | undefined;
2322
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
2305
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
2323
2306
  declare const InputGroupAddon: React.ForwardRefExoticComponent<Omit<InputGroupAddonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
2324
2307
  interface InputGroupAddonProps extends React.ComponentProps<'div'>, VariantProps<typeof inputGroupAddonVariants> {}
2325
2308
  declare namespace InputGroupAddon {
@@ -2433,7 +2416,7 @@ declare namespace NumericInputDecrement {
2433
2416
  }
2434
2417
  //#endregion
2435
2418
  //#region src/components/input-otp.d.ts
2436
- declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
2419
+ declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
2437
2420
  value?: string;
2438
2421
  onChange?: (newValue: string) => unknown;
2439
2422
  maxLength: number;
@@ -2448,7 +2431,7 @@ declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHT
2448
2431
  children?: never;
2449
2432
  } & React.RefAttributes<HTMLInputElement> & {
2450
2433
  containerClassName?: string;
2451
- }, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
2434
+ }, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
2452
2435
  value?: string;
2453
2436
  onChange?: (newValue: string) => unknown;
2454
2437
  maxLength: number;
@@ -2504,7 +2487,7 @@ declare namespace ItemSeparator {
2504
2487
  declare const itemVariants: (props?: ({
2505
2488
  variant?: "default" | "outline" | "muted" | null | undefined;
2506
2489
  size?: "default" | "sm" | "xs" | null | undefined;
2507
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
2490
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
2508
2491
  declare const Item: React.ForwardRefExoticComponent<Omit<ItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
2509
2492
  interface ItemProps extends useRender.ComponentProps<'div'>, VariantProps<typeof itemVariants> {}
2510
2493
  declare namespace Item {
@@ -2512,7 +2495,7 @@ declare namespace Item {
2512
2495
  }
2513
2496
  declare const itemMediaVariants: (props?: ({
2514
2497
  variant?: "image" | "default" | "icon" | null | undefined;
2515
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
2498
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
2516
2499
  declare const ItemMedia: React.ForwardRefExoticComponent<Omit<ItemMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
2517
2500
  interface ItemMediaProps extends React.ComponentProps<'div'>, VariantProps<typeof itemMediaVariants> {}
2518
2501
  declare namespace ItemMedia {
@@ -2701,7 +2684,7 @@ declare namespace ScrollBar {
2701
2684
  //#region src/components/select.d.ts
2702
2685
  declare const selectTriggerVariants: (props?: ({
2703
2686
  size?: "default" | "sm" | null | undefined;
2704
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
2687
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
2705
2688
  declare const Select: typeof Select$1.Root;
2706
2689
  declare const SelectGroup: React.ForwardRefExoticComponent<Omit<SelectGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
2707
2690
  interface SelectGroupProps extends Select$1.Group.Props {}
@@ -2926,7 +2909,7 @@ declare namespace SidebarMenuItem {
2926
2909
  declare const sidebarMenuButtonVariants: (props?: ({
2927
2910
  variant?: "default" | "outline" | null | undefined;
2928
2911
  size?: "default" | "sm" | "lg" | null | undefined;
2929
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
2912
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
2930
2913
  declare const SidebarMenuButton: React.ForwardRefExoticComponent<Omit<SidebarMenuButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
2931
2914
  type SidebarMenuButtonProps = useRender.ComponentProps<'button'> & React.ComponentProps<'button'> & VariantProps<typeof sidebarMenuButtonVariants> & {
2932
2915
  isActive?: boolean;
@@ -2998,7 +2981,7 @@ declare namespace Toaster {
2998
2981
  //#region src/components/spinner.d.ts
2999
2982
  declare const spinnerVariants: (props?: ({
3000
2983
  size?: "default" | "sm" | "lg" | "xl" | null | undefined;
3001
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
2984
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
3002
2985
  declare const Spinner: React.ForwardRefExoticComponent<Omit<SpinnerProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
3003
2986
  interface SpinnerProps extends React.ComponentProps<'svg'>, VariantProps<typeof spinnerVariants> {}
3004
2987
  declare namespace Spinner {
@@ -3144,7 +3127,7 @@ declare namespace ThemeProvider {
3144
3127
  declare const toggleVariants: (props?: ({
3145
3128
  variant?: "default" | "outline" | null | undefined;
3146
3129
  size?: "default" | "sm" | "lg" | null | undefined;
3147
- } & class_variance_authority_types3.ClassProp) | undefined) => string;
3130
+ } & class_variance_authority_types7.ClassProp) | undefined) => string;
3148
3131
  declare const Toggle: React.ForwardRefExoticComponent<Omit<ToggleProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
3149
3132
  interface ToggleProps extends Toggle$1.Props, VariantProps<typeof toggleVariants> {}
3150
3133
  declare namespace Toggle {
package/dist/index.js CHANGED
@@ -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 })
@@ -6373,7 +6377,7 @@ const SheetTitle = React.forwardRef((componentProps, forwardRef) => {
6373
6377
  return /* @__PURE__ */ jsx(Dialog$1.Title, {
6374
6378
  ref: forwardRef,
6375
6379
  "data-slot": "sheet-title",
6376
- className: cn("font-medium text-foreground", className),
6380
+ className: cn("text-base font-medium text-foreground", className),
6377
6381
  ...props
6378
6382
  });
6379
6383
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aircall/ds",
3
- "version": "0.24.1",
3
+ "version": "0.24.2",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "sideEffects": [