@aircall/ds 0.47.0 → 0.47.1

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
@@ -96,8 +96,8 @@ declare namespace AccordionContent {
96
96
  //#region src/components/button.d.ts
97
97
  /** `cva` variant definitions for {@link Button} — resolves `variant`, `size`, and `block` into class names. */
98
98
  declare const buttonVariants: (props?: ({
99
- variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
100
- size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
99
+ variant?: "link" | "default" | "ghost" | "secondary" | "destructive" | "outline" | null | undefined;
100
+ size?: "default" | "icon" | "lg" | "sm" | "icon-sm" | "icon-lg" | null | undefined;
101
101
  block?: boolean | null | undefined;
102
102
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
103
103
  /**
@@ -658,7 +658,7 @@ declare namespace AlertDialogCancel {
658
658
  * the icon level with the first line when the title wraps.
659
659
  */
660
660
  declare const alertVariants: (props?: ({
661
- variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
661
+ variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
662
662
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
663
663
  /**
664
664
  * Callout that draws attention to an important, contextual message.
@@ -888,7 +888,7 @@ declare namespace AttachmentGroup {
888
888
  * over the sticky header (also `z-10`) while the rows scrolled under it.
889
889
  */
890
890
  declare const avatarVariants: (props?: ({
891
- size?: "default" | "sm" | "lg" | "xs" | "xl" | null | undefined;
891
+ size?: "default" | "lg" | "sm" | "xs" | "xl" | null | undefined;
892
892
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
893
893
  /**
894
894
  * Circular container that displays a user or entity image with a text/icon fallback.
@@ -971,7 +971,7 @@ declare namespace AvatarGroupCount {
971
971
  * (`default` | `secondary` | `ghost`, default `default`) sets the colour scheme.
972
972
  */
973
973
  declare const counterBadgeVariants: (props?: ({
974
- variant?: "default" | "secondary" | "ghost" | null | undefined;
974
+ variant?: "default" | "ghost" | "secondary" | null | undefined;
975
975
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
976
976
  /**
977
977
  * Small pill for surfacing a count or short status, e.g. an unread indicator.
@@ -1073,7 +1073,7 @@ declare namespace BadgeGroupCount {
1073
1073
  * edge gets the accent border.
1074
1074
  */
1075
1075
  declare const bannerVariants: (props?: ({
1076
- variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
1076
+ variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
1077
1077
  borderDirection?: "bottom" | "top" | null | undefined;
1078
1078
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1079
1079
  /**
@@ -1384,7 +1384,7 @@ declare namespace CalendarDayButton {
1384
1384
  * child parts read the same size back off `data-size` via `group-data-[size=x]/card`.
1385
1385
  */
1386
1386
  declare const cardVariants: (props?: ({
1387
- size?: "default" | "sm" | "lg" | null | undefined;
1387
+ size?: "default" | "lg" | "sm" | null | undefined;
1388
1388
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1389
1389
  /**
1390
1390
  * Root container for a card. Renders a `<div data-slot="card">` with border, background, and
@@ -1752,7 +1752,7 @@ declare namespace PopoverDescription {
1752
1752
  */
1753
1753
  declare const toggleVariants: (props?: ({
1754
1754
  variant?: "default" | "outline" | null | undefined;
1755
- size?: "default" | "sm" | "lg" | null | undefined;
1755
+ size?: "default" | "lg" | "sm" | null | undefined;
1756
1756
  pressedColor?: "highContrast" | "lowContrast" | null | undefined;
1757
1757
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1758
1758
  /**
@@ -5128,7 +5128,7 @@ declare namespace ItemSeparator {
5128
5128
  type Props = ItemSeparatorProps;
5129
5129
  }
5130
5130
  declare const itemVariants: (props?: ({
5131
- variant?: "default" | "outline" | "muted" | null | undefined;
5131
+ variant?: "default" | "muted" | "outline" | null | undefined;
5132
5132
  size?: "default" | "sm" | "xs" | null | undefined;
5133
5133
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
5134
5134
  /**
@@ -6370,7 +6370,7 @@ declare namespace SidebarMenuItem {
6370
6370
  }
6371
6371
  declare const sidebarMenuButtonVariants: (props?: ({
6372
6372
  variant?: "default" | "outline" | null | undefined;
6373
- size?: "default" | "sm" | "lg" | null | undefined;
6373
+ size?: "default" | "lg" | "sm" | null | undefined;
6374
6374
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6375
6375
  /**
6376
6376
  * Primary clickable row inside a menu item, with variant/size styles and an
@@ -6531,7 +6531,7 @@ declare namespace Toaster {
6531
6531
  //#region src/components/spinner.d.ts
6532
6532
  /** Class variants for `Spinner`, controlling its `size` (`default`, `sm`, `lg`, `xl`). */
6533
6533
  declare const spinnerVariants: (props?: ({
6534
- size?: "default" | "sm" | "lg" | "xl" | null | undefined;
6534
+ size?: "default" | "lg" | "sm" | "xl" | null | undefined;
6535
6535
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6536
6536
  /**
6537
6537
  * Animated loading indicator. Renders a spinning `<svg>` (Loader icon) with
package/dist/index.js CHANGED
@@ -115,7 +115,7 @@ const AccordionTrigger = React.forwardRef((componentProps, forwardRef) => {
115
115
  children: /* @__PURE__ */ jsxs(Accordion$1.Trigger, _objectSpread2(_objectSpread2({
116
116
  ref: forwardRef,
117
117
  "data-slot": "accordion-trigger",
118
- className: cn("group/accordion-trigger relative flex flex-1 items-start justify-between rounded-md border border-transparent py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:after:border-ring aria-disabled:pointer-events-none aria-disabled:opacity-50 **:data-[slot=accordion-trigger-icon]:ml-auto **:data-[slot=accordion-trigger-icon]:size-4 **:data-[slot=accordion-trigger-icon]:text-muted-foreground", className)
118
+ className: cn("group/accordion-trigger relative flex flex-1 items-start justify-between rounded-md border border-transparent py-4 text-left text-sm font-medium transition-all outline-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 focus-visible:after:border-ring aria-disabled:pointer-events-none aria-disabled:opacity-50 **:data-[slot=accordion-trigger-icon]:ml-auto **:data-[slot=accordion-trigger-icon]:size-4 **:data-[slot=accordion-trigger-icon]:text-muted-foreground", className)
119
119
  }, props), {}, { children: [
120
120
  children,
121
121
  /* @__PURE__ */ jsx(ChevronDownIcon, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aircall/ds",
3
- "version": "0.47.0",
3
+ "version": "0.47.1",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "sideEffects": [