@aircall/ds 0.43.1 → 0.45.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
@@ -358,6 +358,10 @@ declare const AudioPlayerButton: React.ForwardRefExoticComponent<Omit<AudioPlaye
358
358
  * Use `playheadHeight` to render a thin vertical playhead instead of the default
359
359
  * circle thumb — useful when the bar overlays a multi-row timeline (e.g. a
360
360
  * speaker waveform) and the cursor should visually fall through the rows below.
361
+ * The playhead is part of the thumb itself, so grabbing it anywhere along its
362
+ * length drags the seek position, the same way the legacy tractor `AudioBar`'s
363
+ * tall cursor thumb worked (see its `WithFallingCursor` story). The click-to-seek
364
+ * area for the rest of the bar stays 16 px tall in both modes.
361
365
  *
362
366
  * @example
363
367
  * ```tsx
@@ -368,22 +372,31 @@ declare const AudioPlayerButton: React.ForwardRefExoticComponent<Omit<AudioPlaye
368
372
  type AudioPlayerBarProps = Omit<React.ComponentProps<typeof Slider$1.Root>, 'value' | 'defaultValue' | 'min' | 'max' | 'onValueChange' | 'onValueCommitted'> & {
369
373
  /**
370
374
  * When set, replaces the default circle thumb with a thin vertical playhead of
371
- * this height (in px). Use when the bar sits above a multi-row timeline (e.g.
372
- * a speaker waveform) and the cursor should visually fall through the rows
373
- * below. The playhead is 2 px wide and uses the primary colour.
375
+ * this height (in px), measured **downward from the track centre**. Use when
376
+ * the bar sits above a multi-row timeline (e.g. a speaker waveform) and the
377
+ * cursor should visually fall through the rows below. The playhead is 2 px
378
+ * wide and uses the muted-foreground colour.
374
379
  *
375
- * The Root is anchored to 16 px in document flow so a parent `items-center`
376
- * only sees the primary-bar height. The Control (click-to-seek area) is
377
- * absolutely positioned and grows **downward** from the track centre,
378
- * covering the full `playheadHeight` span below it.
380
+ * **The playhead is a drag handle, not decoration.** It is rendered as an
381
+ * `::after` pseudo-element on the Base UI thumb itself (not a separate div), so
382
+ * it shares the thumb's own pointer-down handling — grabbing it anywhere along
383
+ * its length starts the same drag-to-seek gesture as grabbing the thumb dot.
384
+ * This mirrors the legacy tractor `AudioBar`, whose cursor thumb was a single
385
+ * element with a `::after` line drawn below it (see `AudioThumb/styled.ts`);
386
+ * dragging the line dragged the thumb because they're the same DOM node.
379
387
  *
380
- * **Stacking is not handled here.** The playhead escapes its 16 px box purely
381
- * by absolute positioning (it needs an `overflow-visible` ancestor), and the
382
- * component sets no `z-index`. Whether the bar and its playhead paint above or
383
- * below the following siblings is therefore decided by normal document paint
384
- * order. If you need the bar on top of the rows beneath it, lift it yourself in
385
- * the consumer — e.g. `relative z-10` on the bar's wrapper (see the `Playhead`
386
- * Storybook example).
388
+ * The click-to-seek area (the Control box) itself is unaffected — it stays
389
+ * 16 px tall regardless of `playheadHeight`, so clicking elsewhere on the bar
390
+ * (or on rows the playhead visually crosses) does not seek. Only the thumb +
391
+ * its playhead line are draggable.
392
+ *
393
+ * **Stacking is not handled here.** The playhead escapes the bar's 16 px flow
394
+ * box purely by absolute positioning (it needs an
395
+ * `overflow-visible` ancestor), and the component sets no `z-index`. Whether
396
+ * the bar and its playhead paint above or below the following siblings is
397
+ * therefore decided by normal document paint order. If you need the bar on top
398
+ * of the rows beneath it, lift it yourself in the consumer — e.g.
399
+ * `relative z-10` on the bar's wrapper (see the `Playhead` Storybook example).
387
400
  */
388
401
  playheadHeight?: number;
389
402
  };
@@ -645,7 +658,7 @@ declare namespace AlertDialogCancel {
645
658
  * the icon level with the first line when the title wraps.
646
659
  */
647
660
  declare const alertVariants: (props?: ({
648
- variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
661
+ variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
649
662
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
650
663
  /**
651
664
  * Callout that draws attention to an important, contextual message.
@@ -866,6 +879,13 @@ declare namespace AttachmentGroup {
866
879
  }
867
880
  //#endregion
868
881
  //#region src/components/avatar.d.ts
882
+ /**
883
+ * `class-variance-authority` config for {@link Avatar}. `size`
884
+ * (`xs` | `sm` | `default` | `lg` | `xl`, default `default`) sets the avatar's diameter.
885
+ */
886
+ declare const avatarVariants: (props?: ({
887
+ size?: "default" | "sm" | "lg" | "xs" | "xl" | null | undefined;
888
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
869
889
  /**
870
890
  * Circular container that displays a user or entity image with a text/icon fallback.
871
891
  * Renders the Base UI `Avatar.Root` element; place `AvatarImage`, `AvatarFallback`, and
@@ -880,9 +900,7 @@ declare namespace AttachmentGroup {
880
900
  * ```
881
901
  */
882
902
  declare const Avatar: React.ForwardRefExoticComponent<Omit<AvatarProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
883
- interface AvatarProps extends Avatar$1.Root.Props {
884
- size?: 'xs' | 'sm' | 'default' | 'lg' | 'xl';
885
- }
903
+ type AvatarProps = Avatar$1.Root.Props & VariantProps<typeof avatarVariants>;
886
904
  declare namespace Avatar {
887
905
  type Props = AvatarProps;
888
906
  }
@@ -896,8 +914,10 @@ declare namespace AvatarImage {
896
914
  type Props = AvatarImageProps;
897
915
  }
898
916
  /**
899
- * Content shown while the image is loading or when it fails to load (typically initials).
900
- * Renders the Base UI `Avatar.Fallback` element.
917
+ * Content shown while the image is loading or when it fails to load (typically initials or an
918
+ * icon). Renders the Base UI `Avatar.Fallback` element. A direct `<svg>` child (e.g. an icon from
919
+ * `@aircall/react-icons`) is sized automatically off the parent `Avatar`'s `size` — `xs`/`sm`
920
+ * render at 12px, `default` at 16px, `lg`/`xl` at 20px — so it never needs its own `size-*` class.
901
921
  */
902
922
  declare const AvatarFallback: React.ForwardRefExoticComponent<Omit<AvatarFallbackProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
903
923
  interface AvatarFallbackProps extends Avatar$1.Fallback.Props {}
@@ -1049,7 +1069,7 @@ declare namespace BadgeGroupCount {
1049
1069
  * edge gets the accent border.
1050
1070
  */
1051
1071
  declare const bannerVariants: (props?: ({
1052
- variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
1072
+ variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
1053
1073
  borderDirection?: "bottom" | "top" | null | undefined;
1054
1074
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1055
1075
  /**
@@ -1354,6 +1374,14 @@ declare namespace CalendarDayButton {
1354
1374
  }
1355
1375
  //#endregion
1356
1376
  //#region src/components/card.d.ts
1377
+ /**
1378
+ * `class-variance-authority` config for {@link Card}. `size`
1379
+ * (`sm` | `default` | `lg`, default `default`) scales the root's vertical padding and gap;
1380
+ * child parts read the same size back off `data-size` via `group-data-[size=x]/card`.
1381
+ */
1382
+ declare const cardVariants: (props?: ({
1383
+ size?: "default" | "sm" | "lg" | null | undefined;
1384
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1357
1385
  /**
1358
1386
  * Root container for a card. Renders a `<div data-slot="card">` with border, background, and
1359
1387
  * vertical spacing; child parts (`CardHeader`, `CardContent`, `CardFooter`, …) compose inside it.
@@ -1371,13 +1399,7 @@ declare namespace CalendarDayButton {
1371
1399
  * ```
1372
1400
  */
1373
1401
  declare const Card: React.ForwardRefExoticComponent<Omit<CardProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1374
- interface CardProps extends React.ComponentProps<'div'> {
1375
- /**
1376
- * Visual density of the card — `'sm'` tightens padding and gaps.
1377
- * @default 'default'
1378
- */
1379
- size?: 'default' | 'sm';
1380
- }
1402
+ type CardProps = React.ComponentProps<'div'> & VariantProps<typeof cardVariants>;
1381
1403
  declare namespace Card {
1382
1404
  type Props = CardProps;
1383
1405
  }
@@ -1391,7 +1413,11 @@ declare namespace CardHeader {
1391
1413
  type Props = CardHeaderProps;
1392
1414
  }
1393
1415
  /**
1394
- * Card title. Renders a `<div data-slot="card-title">` with emphasized title typography.
1416
+ * Card title. Renders a `<div data-slot="card-title">` with emphasized title typography that
1417
+ * scales with the parent `Card`'s `size`: `sm` renders at `text-sm`/`font-medium`, the default
1418
+ * at `text-base`/`font-medium`, and `lg` at `text-lg`/`font-bold`. Relies on each Tailwind text
1419
+ * size's paired default line-height rather than an explicit `leading-*` override — see
1420
+ * `.agents/learnings/2026-05-05-figma-token-names-vs-tailwind-classes.md`.
1395
1421
  */
1396
1422
  declare const CardTitle: React.ForwardRefExoticComponent<Omit<CardTitleProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1397
1423
  interface CardTitleProps extends React.ComponentProps<'div'> {}
@@ -6966,4 +6992,4 @@ declare function useAudioGauge(options?: UseAudioGaugeOptions): UseAudioGaugeRes
6966
6992
  //#region src/lib/utils.d.ts
6967
6993
  declare function cn(...inputs: ClassValue[]): string;
6968
6994
  //#endregion
6969
- 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, cn, counterBadgeVariants, detectInitialLanguage, fabVariants, isInsideCalendarDropdown, registerI18nNamespace, selectTriggerVariants, spinnerVariants, syncDsLanguage, toast, toggleVariants, useAudioGauge, useAudioPlayer, useAudioPlayerTime, useComboboxAnchor, useDsLocale, useDsTranslation, useNotification, useNotificationQueue, useSidebar, useStepper, useTheme };
6995
+ 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 };
package/dist/index.js CHANGED
@@ -578,45 +578,34 @@ function AudioPlayerBar(_ref7) {
578
578
  if (wasPlayingRef.current) play();
579
579
  wasPlayingRef.current = false;
580
580
  },
581
- className: cn("group/audio-player-bar data-[orientation=horizontal]:w-full", playheadHeight && "relative h-4", !knownDuration && "pointer-events-none opacity-50", className)
581
+ className: cn("group/audio-player-bar data-[orientation=horizontal]:w-full", "relative h-4", !knownDuration && "pointer-events-none opacity-50", className)
582
582
  }, props), {}, { children: /* @__PURE__ */ jsxs(Slider$1.Control, {
583
- className: cn("flex w-full touch-none select-none", playheadHeight ? "absolute top-0 items-start" : "relative items-center"),
584
- style: playheadHeight ? {
585
- height: 16 + playheadHeight,
586
- paddingTop: 6
587
- } : { height: 16 },
588
- children: [
589
- /* @__PURE__ */ jsx(Slider$1.Track, {
590
- "data-slot": "audio-player-bar-track",
591
- className: "relative h-1 w-full grow overflow-hidden rounded-full bg-muted select-none",
592
- children: /* @__PURE__ */ jsx(Slider$1.Indicator, {
593
- "data-slot": "audio-player-bar-range",
594
- className: "h-full bg-primary select-none"
595
- })
596
- }),
597
- playheadHeight && /* @__PURE__ */ jsx("div", {
598
- "aria-hidden": true,
599
- className: "absolute top-2 w-0.5 bg-primary pointer-events-none",
600
- style: {
601
- left: `${value / max * 100}%`,
602
- height: playheadHeight,
603
- translate: "-50% 0"
604
- }
605
- }),
606
- /* @__PURE__ */ jsx(Slider$1.Thumb, {
607
- "data-slot": "audio-player-bar-thumb",
608
- className: cn("block shrink-0 rounded-full shadow-sm select-none", playheadHeight ? [
609
- "bg-primary size-3 hover:size-4 focus-visible:size-4",
610
- "top-2! transition-[width,height]",
611
- "focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:outline-none"
612
- ] : [
613
- "size-4 border border-ring bg-white",
614
- "transition-opacity",
615
- "opacity-0 group-hover/audio-player-bar:opacity-100",
616
- "focus-visible:opacity-100 focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:outline-none"
617
- ])
583
+ className: "relative flex h-full w-full touch-none items-center select-none",
584
+ children: [/* @__PURE__ */ jsx(Slider$1.Track, {
585
+ "data-slot": "audio-player-bar-track",
586
+ className: "relative h-1 w-full grow overflow-hidden rounded-full bg-muted-foreground/20 select-none",
587
+ children: /* @__PURE__ */ jsx(Slider$1.Indicator, {
588
+ "data-slot": "audio-player-bar-range",
589
+ className: "h-full bg-primary select-none"
618
590
  })
619
- ]
591
+ }), /* @__PURE__ */ jsx(Slider$1.Thumb, {
592
+ "data-slot": "audio-player-bar-thumb",
593
+ className: cn("block shrink-0 rounded-full shadow-sm select-none", playheadHeight ? [
594
+ "size-3 hover:size-4 focus-visible:size-4",
595
+ "transition-[width,height]",
596
+ "focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:outline-none",
597
+ "cursor-ew-resize",
598
+ "before:absolute before:top-1/2 before:left-1/2 before:h-[var(--playhead-height)] before:w-2 before:-translate-x-1/2 before:cursor-ew-resize before:content-['']",
599
+ "before:bg-[linear-gradient(var(--color-muted-foreground),var(--color-muted-foreground))] before:bg-[length:2px_100%] before:bg-center before:bg-no-repeat",
600
+ "after:absolute after:inset-0 after:rounded-full after:bg-primary after:content-['']"
601
+ ] : [
602
+ "size-4 border border-ring bg-white",
603
+ "transition-opacity",
604
+ "opacity-0 group-hover/audio-player-bar:opacity-100",
605
+ "focus-visible:opacity-100 focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:outline-none"
606
+ ]),
607
+ style: playheadHeight ? { "--playhead-height": `${playheadHeight}px` } : void 0
608
+ })]
620
609
  }) }));
621
610
  }
622
611
  /**
@@ -1356,6 +1345,20 @@ const _excluded4$26 = ["className"];
1356
1345
  const _excluded5$21 = ["className"];
1357
1346
  const _excluded6$17 = ["className"];
1358
1347
  /**
1348
+ * `class-variance-authority` config for {@link Avatar}. `size`
1349
+ * (`xs` | `sm` | `default` | `lg` | `xl`, default `default`) sets the avatar's diameter.
1350
+ */
1351
+ const avatarVariants = cva("group/avatar relative flex shrink-0 rounded-full select-none", {
1352
+ variants: { size: {
1353
+ xs: "size-5",
1354
+ sm: "size-6",
1355
+ default: "size-8",
1356
+ lg: "size-10",
1357
+ xl: "size-12"
1358
+ } },
1359
+ defaultVariants: { size: "default" }
1360
+ });
1361
+ /**
1359
1362
  * Circular container that displays a user or entity image with a text/icon fallback.
1360
1363
  * Renders the Base UI `Avatar.Root` element; place `AvatarImage`, `AvatarFallback`, and
1361
1364
  * an optional `AvatarBadge` inside it.
@@ -1374,7 +1377,7 @@ const Avatar = React.forwardRef((componentProps, forwardRef) => {
1374
1377
  ref: forwardRef,
1375
1378
  "data-slot": "avatar",
1376
1379
  "data-size": size,
1377
- className: cn("group/avatar relative flex size-8 shrink-0 rounded-full select-none after:absolute after:inset-0 after:rounded-full after:border after:border-border after:mix-blend-darken data-[size=xs]:size-5 data-[size=sm]:size-6 data-[size=lg]:size-10 data-[size=xl]:size-12 dark:after:mix-blend-lighten", className)
1380
+ className: cn(avatarVariants({ size }), className)
1378
1381
  }, props));
1379
1382
  });
1380
1383
  Avatar.displayName = "Avatar";
@@ -1392,15 +1395,17 @@ const AvatarImage = React.forwardRef((componentProps, forwardRef) => {
1392
1395
  });
1393
1396
  AvatarImage.displayName = "AvatarImage";
1394
1397
  /**
1395
- * Content shown while the image is loading or when it fails to load (typically initials).
1396
- * Renders the Base UI `Avatar.Fallback` element.
1398
+ * Content shown while the image is loading or when it fails to load (typically initials or an
1399
+ * icon). Renders the Base UI `Avatar.Fallback` element. A direct `<svg>` child (e.g. an icon from
1400
+ * `@aircall/react-icons`) is sized automatically off the parent `Avatar`'s `size` — `xs`/`sm`
1401
+ * render at 12px, `default` at 16px, `lg`/`xl` at 20px — so it never needs its own `size-*` class.
1397
1402
  */
1398
1403
  const AvatarFallback = React.forwardRef((componentProps, forwardRef) => {
1399
1404
  const { className } = componentProps, props = _objectWithoutProperties(componentProps, _excluded3$31);
1400
1405
  return /* @__PURE__ */ jsx(Avatar$1.Fallback, _objectSpread2({
1401
1406
  ref: forwardRef,
1402
1407
  "data-slot": "avatar-fallback",
1403
- className: cn("flex size-full items-center justify-center rounded-full bg-background text-sm text-foreground group-data-[size=xs]/avatar:text-xs group-data-[size=sm]/avatar:text-xs group-data-[size=xl]/avatar:text-base", className)
1408
+ className: cn("flex size-full items-center justify-center rounded-full bg-muted text-sm text-muted-foreground [&>svg]:size-4 group-data-[size=xs]/avatar:text-xs group-data-[size=xs]/avatar:[&>svg]:size-3 group-data-[size=sm]/avatar:text-xs group-data-[size=sm]/avatar:[&>svg]:size-3 group-data-[size=lg]/avatar:[&>svg]:size-5 group-data-[size=xl]/avatar:text-base group-data-[size=xl]/avatar:[&>svg]:size-5", className)
1404
1409
  }, props));
1405
1410
  });
1406
1411
  AvatarFallback.displayName = "AvatarFallback";
@@ -2666,6 +2671,19 @@ const _excluded5$18 = ["className"];
2666
2671
  const _excluded6$15 = ["className"];
2667
2672
  const _excluded7$8 = ["className"];
2668
2673
  /**
2674
+ * `class-variance-authority` config for {@link Card}. `size`
2675
+ * (`sm` | `default` | `lg`, default `default`) scales the root's vertical padding and gap;
2676
+ * child parts read the same size back off `data-size` via `group-data-[size=x]/card`.
2677
+ */
2678
+ const cardVariants = cva("group/card flex flex-col overflow-hidden rounded-xl border bg-card text-sm text-card-foreground shadow-xs has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl", {
2679
+ variants: { size: {
2680
+ sm: "gap-3 py-3",
2681
+ default: "gap-4 py-4",
2682
+ lg: "gap-6 py-6"
2683
+ } },
2684
+ defaultVariants: { size: "default" }
2685
+ });
2686
+ /**
2669
2687
  * Root container for a card. Renders a `<div data-slot="card">` with border, background, and
2670
2688
  * vertical spacing; child parts (`CardHeader`, `CardContent`, `CardFooter`, …) compose inside it.
2671
2689
  *
@@ -2687,7 +2705,7 @@ const Card = React.forwardRef((componentProps, forwardRef) => {
2687
2705
  ref: forwardRef,
2688
2706
  "data-slot": "card",
2689
2707
  "data-size": size,
2690
- className: cn("group/card flex flex-col gap-4 overflow-hidden rounded-xl border bg-card py-4 text-sm text-card-foreground has-data-[slot=card-footer]:pb-0 has-[>img:first-child]:pt-0 data-[size=sm]:gap-3 data-[size=sm]:py-3 data-[size=sm]:has-data-[slot=card-footer]:pb-0 *:[img:first-child]:rounded-t-xl *:[img:last-child]:rounded-b-xl", className)
2708
+ className: cn(cardVariants({ size }), className)
2691
2709
  }, props));
2692
2710
  });
2693
2711
  Card.displayName = "Card";
@@ -2700,19 +2718,23 @@ const CardHeader = React.forwardRef((componentProps, forwardRef) => {
2700
2718
  return /* @__PURE__ */ jsx("div", _objectSpread2({
2701
2719
  ref: forwardRef,
2702
2720
  "data-slot": "card-header",
2703
- className: cn("group/card-header @container/card-header grid auto-rows-min items-start gap-1 rounded-t-xl px-4 group-data-[size=sm]/card:px-3 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-4 group-data-[size=sm]/card:[.border-b]:pb-3", className)
2721
+ className: cn("group/card-header @container/card-header grid auto-rows-min items-start gap-x-2 gap-y-1 rounded-t-xl px-4 group-data-[size=sm]/card:px-3 group-data-[size=lg]/card:px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto] [.border-b]:pb-4 group-data-[size=sm]/card:[.border-b]:pb-3 group-data-[size=lg]/card:[.border-b]:pb-6", className)
2704
2722
  }, props));
2705
2723
  });
2706
2724
  CardHeader.displayName = "CardHeader";
2707
2725
  /**
2708
- * Card title. Renders a `<div data-slot="card-title">` with emphasized title typography.
2726
+ * Card title. Renders a `<div data-slot="card-title">` with emphasized title typography that
2727
+ * scales with the parent `Card`'s `size`: `sm` renders at `text-sm`/`font-medium`, the default
2728
+ * at `text-base`/`font-medium`, and `lg` at `text-lg`/`font-bold`. Relies on each Tailwind text
2729
+ * size's paired default line-height rather than an explicit `leading-*` override — see
2730
+ * `.agents/learnings/2026-05-05-figma-token-names-vs-tailwind-classes.md`.
2709
2731
  */
2710
2732
  const CardTitle = React.forwardRef((componentProps, forwardRef) => {
2711
2733
  const { className } = componentProps, props = _objectWithoutProperties(componentProps, _excluded3$26);
2712
2734
  return /* @__PURE__ */ jsx("div", _objectSpread2({
2713
2735
  ref: forwardRef,
2714
2736
  "data-slot": "card-title",
2715
- className: cn("text-base leading-snug font-medium group-data-[size=sm]/card:text-sm", className)
2737
+ className: cn("text-base font-medium group-data-[size=sm]/card:text-sm group-data-[size=lg]/card:text-lg group-data-[size=lg]/card:font-bold", className)
2716
2738
  }, props));
2717
2739
  });
2718
2740
  CardTitle.displayName = "CardTitle";
@@ -2750,7 +2772,7 @@ const CardContent = React.forwardRef((componentProps, forwardRef) => {
2750
2772
  return /* @__PURE__ */ jsx("div", _objectSpread2({
2751
2773
  ref: forwardRef,
2752
2774
  "data-slot": "card-content",
2753
- className: cn("px-4 group-data-[size=sm]/card:px-3", className)
2775
+ className: cn("px-4 group-data-[size=sm]/card:px-3 group-data-[size=lg]/card:px-6", className)
2754
2776
  }, props));
2755
2777
  });
2756
2778
  CardContent.displayName = "CardContent";
@@ -2763,7 +2785,7 @@ const CardFooter = React.forwardRef((componentProps, forwardRef) => {
2763
2785
  return /* @__PURE__ */ jsx("div", _objectSpread2({
2764
2786
  ref: forwardRef,
2765
2787
  "data-slot": "card-footer",
2766
- className: cn("flex items-center rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/card:p-3", className)
2788
+ className: cn("flex items-center rounded-b-xl border-t bg-muted/50 p-4 group-data-[size=sm]/card:p-3 group-data-[size=lg]/card:p-6", className)
2767
2789
  }, props));
2768
2790
  });
2769
2791
  CardFooter.displayName = "CardFooter";
@@ -14036,4 +14058,4 @@ function useAudioGauge(options = {}) {
14036
14058
  };
14037
14059
  }
14038
14060
  //#endregion
14039
- 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, COMBOBOX_AUTO_SEARCH_THRESHOLD, COMBOBOX_AUTO_VIRTUALIZE_THRESHOLD, Calendar, CalendarDayButton, CalendarDropdown, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Chip, ChipRemove, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, ColorPickerArea, ColorPickerContent, ColorPickerHexField, ColorPickerHue, ColorPickerModeToggle, ColorPickerPanel, ColorPickerPresets, ColorPickerTrigger, 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, DatePicker, 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, Gauge, HoverCard, HoverCardContent, HoverCardTrigger, 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, NotificationQueueProvider, NotificationSlot, NumericInput, NumericInputControl, NumericInputDecrement, NumericInputIncrement, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverClose, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, RichTextarea, 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, 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, isInsideCalendarDropdown, registerI18nNamespace, selectTriggerVariants, spinnerVariants, syncDsLanguage, toast, toggleVariants, useAudioGauge, useAudioPlayer, useAudioPlayerTime, useComboboxAnchor, useDsLocale, useDsTranslation, useNotification, useNotificationQueue, useSidebar, useStepper, useTheme };
14061
+ 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, COMBOBOX_AUTO_SEARCH_THRESHOLD, COMBOBOX_AUTO_VIRTUALIZE_THRESHOLD, Calendar, CalendarDayButton, CalendarDropdown, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Chip, ChipRemove, Collapsible, CollapsibleContent, CollapsibleTrigger, ColorPicker, ColorPickerArea, ColorPickerContent, ColorPickerHexField, ColorPickerHue, ColorPickerModeToggle, ColorPickerPanel, ColorPickerPresets, ColorPickerTrigger, 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, DatePicker, 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, Gauge, HoverCard, HoverCardContent, HoverCardTrigger, 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, NotificationQueueProvider, NotificationSlot, NumericInput, NumericInputControl, NumericInputDecrement, NumericInputIncrement, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverClose, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, RichTextarea, 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, 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, cardVariants, cn, counterBadgeVariants, detectInitialLanguage, fabVariants, isInsideCalendarDropdown, registerI18nNamespace, selectTriggerVariants, spinnerVariants, syncDsLanguage, toast, toggleVariants, useAudioGauge, useAudioPlayer, useAudioPlayerTime, useComboboxAnchor, useDsLocale, useDsTranslation, useNotification, useNotificationQueue, useSidebar, useStepper, useTheme };
package/dist/theme.css CHANGED
@@ -348,8 +348,17 @@
348
348
  counterpart. Opacity = tone: Dark 10% → Medium Dark 40% → Medium Light
349
349
  60% → Light 80%. */
350
350
  --badge-film-10: rgba(255, 255, 255, 0.1);
351
+ /* Not a Badge tone either - Badge uses 10/40/60/80. 30 exists because Figma's
352
+ Bubble Hover state (`27904:8247`) lays a 30% white film over the bubble
353
+ surface; see `specs/bubbles.spec.md` section 14. Same family, one film scale. */
354
+ --badge-film-30: rgba(255, 255, 255, 0.3);
351
355
  --badge-film-40: rgba(255, 255, 255, 0.4);
352
356
  --badge-film-60: rgba(255, 255, 255, 0.6);
357
+ /* Not a Badge tone - Badge uses 10/40/60/80. 70 exists because Figma's
358
+ Bubble frames declare a 70% film on one icon disc (`alpha/30` on node
359
+ 27904:7588); see `specs/bubbles.spec.md` section 12. Kept in this family
360
+ rather than duplicated so there is one film scale, not two. */
361
+ --badge-film-70: rgba(255, 255, 255, 0.7);
353
362
  --badge-film-80: rgba(255, 255, 255, 0.8);
354
363
  }
355
364
 
@@ -467,8 +476,10 @@
467
476
  /* Dark theme: the film flips to near-black (#0a0a0a) so the same base
468
477
  shade darkens into its four tones instead of lightening. */
469
478
  --badge-film-10: rgba(10, 10, 10, 0.1);
479
+ --badge-film-30: rgba(10, 10, 10, 0.3);
470
480
  --badge-film-40: rgba(10, 10, 10, 0.4);
471
481
  --badge-film-60: rgba(10, 10, 10, 0.6);
482
+ --badge-film-70: rgba(10, 10, 10, 0.7);
472
483
  --badge-film-80: rgba(10, 10, 10, 0.8);
473
484
  }
474
485
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aircall/ds",
3
- "version": "0.43.1",
3
+ "version": "0.45.0",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "sideEffects": [