@aircall/ds 0.37.0 → 0.37.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 +9 -9
- package/dist/index.js +2 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -95,8 +95,8 @@ declare namespace AccordionContent {
|
|
|
95
95
|
//#region src/components/button.d.ts
|
|
96
96
|
/** `cva` variant definitions for {@link Button} — resolves `variant`, `size`, and `block` into class names. */
|
|
97
97
|
declare const buttonVariants: (props?: ({
|
|
98
|
-
variant?: "link" | "default" | "
|
|
99
|
-
size?: "default" | "
|
|
98
|
+
variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
99
|
+
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
100
100
|
block?: boolean | null | undefined;
|
|
101
101
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
102
102
|
/**
|
|
@@ -938,7 +938,7 @@ declare namespace AvatarGroupCount {
|
|
|
938
938
|
* (`default` | `secondary` | `ghost`, default `default`) sets the colour scheme.
|
|
939
939
|
*/
|
|
940
940
|
declare const counterBadgeVariants: (props?: ({
|
|
941
|
-
variant?: "default" | "
|
|
941
|
+
variant?: "default" | "secondary" | "ghost" | null | undefined;
|
|
942
942
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
943
943
|
/**
|
|
944
944
|
* Small pill for surfacing a count or short status, e.g. an unread indicator.
|
|
@@ -4673,7 +4673,7 @@ declare namespace NumericInputDecrement {
|
|
|
4673
4673
|
* )} />
|
|
4674
4674
|
* ```
|
|
4675
4675
|
*/
|
|
4676
|
-
declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
4676
|
+
declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "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>, "
|
|
4691
|
+
}, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
4692
4692
|
value?: string;
|
|
4693
4693
|
onChange?: (newValue: string) => unknown;
|
|
4694
4694
|
maxLength: number;
|
|
@@ -4766,7 +4766,7 @@ declare namespace ItemSeparator {
|
|
|
4766
4766
|
type Props = ItemSeparatorProps;
|
|
4767
4767
|
}
|
|
4768
4768
|
declare const itemVariants: (props?: ({
|
|
4769
|
-
variant?: "default" | "
|
|
4769
|
+
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
4770
4770
|
size?: "default" | "sm" | "xs" | null | undefined;
|
|
4771
4771
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4772
4772
|
/**
|
|
@@ -5978,7 +5978,7 @@ declare namespace SidebarMenuItem {
|
|
|
5978
5978
|
}
|
|
5979
5979
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
5980
5980
|
variant?: "default" | "outline" | null | undefined;
|
|
5981
|
-
size?: "default" | "
|
|
5981
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
5982
5982
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5983
5983
|
/**
|
|
5984
5984
|
* Primary clickable row inside a menu item, with variant/size styles and an
|
|
@@ -6135,7 +6135,7 @@ declare namespace Toaster {
|
|
|
6135
6135
|
//#region src/components/spinner.d.ts
|
|
6136
6136
|
/** Class variants for `Spinner`, controlling its `size` (`default`, `sm`, `lg`, `xl`). */
|
|
6137
6137
|
declare const spinnerVariants: (props?: ({
|
|
6138
|
-
size?: "default" | "
|
|
6138
|
+
size?: "default" | "sm" | "lg" | "xl" | null | undefined;
|
|
6139
6139
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6140
6140
|
/**
|
|
6141
6141
|
* Animated loading indicator. Renders a spinning `<svg>` (Loader icon) with
|
|
@@ -6452,7 +6452,7 @@ declare namespace ThemeProvider {
|
|
|
6452
6452
|
*/
|
|
6453
6453
|
declare const toggleVariants: (props?: ({
|
|
6454
6454
|
variant?: "default" | "outline" | null | undefined;
|
|
6455
|
-
size?: "default" | "
|
|
6455
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
6456
6456
|
pressedColor?: "highContrast" | "lowContrast" | null | undefined;
|
|
6457
6457
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6458
6458
|
/**
|
package/dist/index.js
CHANGED
|
@@ -3451,6 +3451,7 @@ ComboboxChips.displayName = "ComboboxChips";
|
|
|
3451
3451
|
*/
|
|
3452
3452
|
const ComboboxChip = React.forwardRef(function ComboboxChip(componentProps, forwardRef) {
|
|
3453
3453
|
const { className, children, showRemove = true, color, tone, legacyColor } = componentProps, props = _objectWithoutProperties(componentProps, _excluded12$3);
|
|
3454
|
+
const t = useDsTranslation("ds");
|
|
3454
3455
|
return /* @__PURE__ */ jsxs(Combobox$1.Chip, _objectSpread2(_objectSpread2({
|
|
3455
3456
|
ref: forwardRef,
|
|
3456
3457
|
render: /* @__PURE__ */ jsx(Chip, {
|
|
@@ -3459,7 +3460,7 @@ const ComboboxChip = React.forwardRef(function ComboboxChip(componentProps, forw
|
|
|
3459
3460
|
legacyColor
|
|
3460
3461
|
}),
|
|
3461
3462
|
className
|
|
3462
|
-
}, props), {}, { children: [children, showRemove && /* @__PURE__ */ jsx(Combobox$1.ChipRemove, { render: /* @__PURE__ */ jsx(ChipRemove, {}) })] }));
|
|
3463
|
+
}, props), {}, { children: [children, showRemove && /* @__PURE__ */ jsx(Combobox$1.ChipRemove, { render: /* @__PURE__ */ jsx(ChipRemove, { "aria-label": t("multiselect.remove") }) })] }));
|
|
3463
3464
|
});
|
|
3464
3465
|
/**
|
|
3465
3466
|
* Text input placed inside `ComboboxChips` for filtering and adding chips, wrapping Base UI's
|