@aircall/ds 0.35.0 → 0.35.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.
@@ -61,7 +61,12 @@ const BLOCKS_COLORS = [
61
61
  "navbar-foreground",
62
62
  "navbar-accent",
63
63
  "navbar-accent-foreground",
64
- "navbar-icon-bg"
64
+ "navbar-icon-bg",
65
+ "add-on-ai-assist-pro",
66
+ "add-on-analytics-plus",
67
+ "add-on-surveys",
68
+ "add-on-whatsapp",
69
+ "add-on-aiva"
65
70
  ];
66
71
  const twMerge = extendTailwindMerge({ extend: { theme: {
67
72
  color: [...DS_COLORS, ...BLOCKS_COLORS],
@@ -1,2 +1,2 @@
1
- import { t as DataTable } from "./data-table-DpKxtE_u.js";
1
+ import { t as DataTable } from "./data-table-DZGquwTZ.js";
2
2
  export { DataTable };
package/dist/index.d.ts CHANGED
@@ -96,7 +96,7 @@ declare namespace AccordionContent {
96
96
  /** `cva` variant definitions for {@link Button} — resolves `variant`, `size`, and `block` into class names. */
97
97
  declare const buttonVariants: (props?: ({
98
98
  variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
99
- size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
99
+ size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
100
100
  block?: boolean | null | undefined;
101
101
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
102
102
  /**
@@ -638,7 +638,7 @@ declare namespace AlertDialogCancel {
638
638
  * default `default`) sets the background, border, and icon colour scheme.
639
639
  */
640
640
  declare const alertVariants: (props?: ({
641
- variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
641
+ variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
642
642
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
643
643
  /**
644
644
  * Callout that draws attention to an important, contextual message.
@@ -720,7 +720,7 @@ declare namespace AlertAction {
720
720
  */
721
721
  type AttachmentState = 'idle' | 'uploading' | 'processing' | 'error' | 'done';
722
722
  declare const attachmentVariants: (props?: ({
723
- size?: "default" | "sm" | "xs" | null | undefined;
723
+ size?: "default" | "xs" | "sm" | null | undefined;
724
724
  orientation?: "horizontal" | "vertical" | null | undefined;
725
725
  block?: boolean | null | undefined;
726
726
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
@@ -1024,7 +1024,7 @@ declare namespace BadgeGroupCount {
1024
1024
  * edge gets the accent border.
1025
1025
  */
1026
1026
  declare const bannerVariants: (props?: ({
1027
- variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
1027
+ variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
1028
1028
  borderDirection?: "bottom" | "top" | null | undefined;
1029
1029
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
1030
1030
  /**
@@ -4673,7 +4673,7 @@ declare namespace NumericInputDecrement {
4673
4673
  * )} />
4674
4674
  * ```
4675
4675
  */
4676
- declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
4676
+ declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
4677
4677
  value?: string;
4678
4678
  onChange?: (newValue: string) => unknown;
4679
4679
  maxLength: number;
@@ -4688,7 +4688,7 @@ declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHT
4688
4688
  children?: never;
4689
4689
  } & React.RefAttributes<HTMLInputElement> & {
4690
4690
  containerClassName?: string;
4691
- }, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
4691
+ }, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
4692
4692
  value?: string;
4693
4693
  onChange?: (newValue: string) => unknown;
4694
4694
  maxLength: number;
@@ -4767,7 +4767,7 @@ declare namespace ItemSeparator {
4767
4767
  }
4768
4768
  declare const itemVariants: (props?: ({
4769
4769
  variant?: "default" | "outline" | "muted" | null | undefined;
4770
- size?: "default" | "sm" | "xs" | null | undefined;
4770
+ size?: "default" | "xs" | "sm" | null | undefined;
4771
4771
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
4772
4772
  /**
4773
4773
  * Flexible list-item container laying out media, content, and actions on one row. Renders a `<div>`
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { C as Button, E as cn, S as registerI18nNamespace, T as linkStyle, _ as ActionBarHeight, a as TableFooter, b as detectInitialLanguage, c as TableRow, d as Checkbox, f as Spinner, g as ActionBarContext, h as ActionBarButton, i as TableCell, l as useFetchMoreSentinel, m as ActionBar, n as Table, o as TableHead, p as spinnerVariants, r as TableBody, s as TableHeader, t as DataTable, u as Skeleton, v as useDsTranslation, w as buttonVariants, x as dsI18n, y as SUPPORTED_LANGUAGES } from "./data-table-DpKxtE_u.js";
1
+ import { C as Button, E as cn, S as registerI18nNamespace, T as linkStyle, _ as ActionBarHeight, a as TableFooter, b as detectInitialLanguage, c as TableRow, d as Checkbox, f as Spinner, g as ActionBarContext, h as ActionBarButton, i as TableCell, l as useFetchMoreSentinel, m as ActionBar, n as Table, o as TableHead, p as spinnerVariants, r as TableBody, s as TableHeader, t as DataTable, u as Skeleton, v as useDsTranslation, w as buttonVariants, x as dsI18n, y as SUPPORTED_LANGUAGES } from "./data-table-DZGquwTZ.js";
2
2
  import * as React from "react";
3
3
  import { createContext, useContext, useSyncExternalStore } from "react";
4
4
  import { Accordion as Accordion$1 } from "@base-ui/react/accordion";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aircall/ds",
3
- "version": "0.35.0",
3
+ "version": "0.35.1",
4
4
  "type": "module",
5
5
  "private": false,
6
6
  "sideEffects": [