@aircall/ds 0.22.0 → 0.24.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/globals.css +1 -1
- package/dist/index.d.ts +105 -28
- package/dist/index.js +214 -50
- package/dist/theme.css +1 -1
- package/package.json +1 -1
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
|
|
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" | "
|
|
71
|
+
size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
|
|
72
72
|
block?: boolean | null | undefined;
|
|
73
|
-
} &
|
|
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;
|
|
@@ -530,8 +530,8 @@ declare namespace AlertDialogCancel {
|
|
|
530
530
|
//#endregion
|
|
531
531
|
//#region src/components/alert.d.ts
|
|
532
532
|
declare const alertVariants: (props?: ({
|
|
533
|
-
variant?: "default" | "
|
|
534
|
-
} &
|
|
533
|
+
variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
|
|
534
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
535
535
|
declare const Alert: React.ForwardRefExoticComponent<Omit<AlertProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
536
536
|
interface AlertProps extends React.ComponentProps<'div'>, VariantProps<typeof alertVariants> {}
|
|
537
537
|
declare namespace Alert {
|
|
@@ -563,7 +563,7 @@ type AttachmentState = 'idle' | 'uploading' | 'processing' | 'error' | 'done';
|
|
|
563
563
|
declare const attachmentVariants: (props?: ({
|
|
564
564
|
size?: "default" | "sm" | "xs" | null | undefined;
|
|
565
565
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
566
|
-
} &
|
|
566
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
567
567
|
/**
|
|
568
568
|
* Card displaying a single file or image attachment with its metadata,
|
|
569
569
|
* upload state, and actions. Renders a `<div>`; compose it from
|
|
@@ -601,7 +601,7 @@ declare namespace Attachment {
|
|
|
601
601
|
}
|
|
602
602
|
declare const attachmentMediaVariants: (props?: ({
|
|
603
603
|
variant?: "image" | "icon" | null | undefined;
|
|
604
|
-
} &
|
|
604
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
605
605
|
/**
|
|
606
606
|
* Leading media slot of an `Attachment` — holds an icon (`variant="icon"`)
|
|
607
607
|
* or an image thumbnail (`variant="image"`). Renders a `<div>`.
|
|
@@ -728,7 +728,7 @@ declare namespace AvatarGroupCount {
|
|
|
728
728
|
//#region src/components/counter-badge.d.ts
|
|
729
729
|
declare const counterBadgeVariants: (props?: ({
|
|
730
730
|
variant?: "default" | "secondary" | "ghost" | null | undefined;
|
|
731
|
-
} &
|
|
731
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
732
732
|
declare const CounterBadge: React.ForwardRefExoticComponent<Omit<CounterBadgeProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
733
733
|
type CounterBadgeProps = useRender.ComponentProps<'span'> & VariantProps<typeof counterBadgeVariants>;
|
|
734
734
|
declare namespace CounterBadge {
|
|
@@ -740,7 +740,7 @@ declare const badgeVariants: (props?: ({
|
|
|
740
740
|
size?: "default" | "lg" | null | undefined;
|
|
741
741
|
color?: "blue" | "green" | "pink" | "purple" | "red" | "yellow" | "charcoal" | null | undefined;
|
|
742
742
|
tone?: "dark" | "light" | "medium-dark" | "medium-light" | null | undefined;
|
|
743
|
-
} &
|
|
743
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
744
744
|
type BadgeVariants = VariantProps<typeof badgeVariants>;
|
|
745
745
|
type BadgeColor = NonNullable<BadgeVariants['color']>;
|
|
746
746
|
type BadgeTone = NonNullable<BadgeVariants['tone']>;
|
|
@@ -772,7 +772,7 @@ declare namespace BadgeGroup {
|
|
|
772
772
|
}
|
|
773
773
|
declare const badgeGroupCountVariants: (props?: ({
|
|
774
774
|
size?: "default" | "lg" | null | undefined;
|
|
775
|
-
} &
|
|
775
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
776
776
|
declare const BadgeGroupCount: React.ForwardRefExoticComponent<Omit<BadgeGroupCount.Props, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
777
777
|
declare namespace BadgeGroupCount {
|
|
778
778
|
type Props = Omit<React.ComponentProps<typeof CounterBadge>, 'variant'> & VariantProps<typeof badgeGroupCountVariants>;
|
|
@@ -780,9 +780,9 @@ declare namespace BadgeGroupCount {
|
|
|
780
780
|
//#endregion
|
|
781
781
|
//#region src/components/banner.d.ts
|
|
782
782
|
declare const bannerVariants: (props?: ({
|
|
783
|
-
variant?: "default" | "
|
|
783
|
+
variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
|
|
784
784
|
borderDirection?: "bottom" | "top" | null | undefined;
|
|
785
|
-
} &
|
|
785
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
786
786
|
declare const Banner: React.ForwardRefExoticComponent<Omit<BannerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
787
787
|
interface BannerProps extends React.ComponentProps<'div'>, VariantProps<typeof bannerVariants> {}
|
|
788
788
|
declare namespace Banner {
|
|
@@ -863,7 +863,7 @@ declare namespace Separator {
|
|
|
863
863
|
//#region src/components/button-group.d.ts
|
|
864
864
|
declare const buttonGroupVariants: (props?: ({
|
|
865
865
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
866
|
-
} &
|
|
866
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
867
867
|
declare const ButtonGroup: React.ForwardRefExoticComponent<Omit<ButtonGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
868
868
|
interface ButtonGroupProps extends React.ComponentProps<'div'>, VariantProps<typeof buttonGroupVariants> {}
|
|
869
869
|
declare namespace ButtonGroup {
|
|
@@ -1267,6 +1267,83 @@ declare namespace CountryFlag {
|
|
|
1267
1267
|
type Props = CountryFlagProps;
|
|
1268
1268
|
}
|
|
1269
1269
|
//#endregion
|
|
1270
|
+
//#region src/components/data-combobox.d.ts
|
|
1271
|
+
/**
|
|
1272
|
+
* Async states a `DataCombobox` can be in (mirrors `DataTable`'s `loadingState`):
|
|
1273
|
+
* - `'loading'` — initial load with no items yet; the list shows skeleton rows.
|
|
1274
|
+
* - `'filtering'` — re-querying after the user typed; the current results stay
|
|
1275
|
+
* in place under a dimmed overlay with a spinner (context + stable height)
|
|
1276
|
+
* until the new results arrive. Keep the previous `items` until then.
|
|
1277
|
+
* - `'loadingMore'` — fetching the next page for infinite scroll; a spinner row
|
|
1278
|
+
* renders at the bottom of the list.
|
|
1279
|
+
* Omit (or `'idle'`) when not loading.
|
|
1280
|
+
*/
|
|
1281
|
+
type DataComboboxLoadingState = 'idle' | 'loading' | 'filtering' | 'loadingMore';
|
|
1282
|
+
interface DataComboboxProps<T> {
|
|
1283
|
+
/** The items to show in the dropdown — the already-prepared page/result set. */
|
|
1284
|
+
items: T[];
|
|
1285
|
+
/** Resolves an item's stable value/key (used for selection and de-duplication). */
|
|
1286
|
+
getItemValue: (item: T) => string;
|
|
1287
|
+
/** Resolves an item's display label — also the typeahead/accessibility text. */
|
|
1288
|
+
getItemLabel: (item: T) => string;
|
|
1289
|
+
/** Optional rich row content (icon, description, …). Defaults to `getItemLabel`. */
|
|
1290
|
+
renderItem?: (item: T) => React.ReactNode;
|
|
1291
|
+
/**
|
|
1292
|
+
* `'single'` (default) selects one item; `'multiple'` selects many and renders
|
|
1293
|
+
* them as removable chips above the input.
|
|
1294
|
+
*/
|
|
1295
|
+
selectionMode?: 'single' | 'multiple';
|
|
1296
|
+
/** Controlled selected item keys (values from `getItemValue`). */
|
|
1297
|
+
selectedKeys?: Set<string>;
|
|
1298
|
+
/** Initial selected keys for uncontrolled selection. Ignored when `selectedKeys` is set. */
|
|
1299
|
+
defaultSelectedKeys?: Set<string>;
|
|
1300
|
+
/** Called with the new set of selected keys whenever selection changes. */
|
|
1301
|
+
onSelectionChange?: (keys: Set<string>) => void;
|
|
1302
|
+
/**
|
|
1303
|
+
* Known selected items used to seed the label cache, so a selected key whose
|
|
1304
|
+
* item is NOT in the current `items` (e.g. a saved form value not yet fetched,
|
|
1305
|
+
* or a selection made before searching away) still renders its label/chip.
|
|
1306
|
+
*/
|
|
1307
|
+
selectedItems?: T[];
|
|
1308
|
+
/** Item keys that cannot be selected — rendered disabled and dimmed. */
|
|
1309
|
+
disabledKeys?: Set<string>;
|
|
1310
|
+
/** The dropdown's async state. Omit (or `'idle'`) when not loading. */
|
|
1311
|
+
loadingState?: DataComboboxLoadingState;
|
|
1312
|
+
/** Number of skeleton rows shown while `loadingState` is `'loading'`. */
|
|
1313
|
+
skeletonCount?: number;
|
|
1314
|
+
/**
|
|
1315
|
+
* Called (debounce it yourself) when the user types — the query to filter/fetch
|
|
1316
|
+
* against. When provided, the combobox does NOT filter internally: feed it the
|
|
1317
|
+
* matching `items` and set `loadingState='filtering'` while the query runs.
|
|
1318
|
+
*/
|
|
1319
|
+
onSearch?: (query: string) => void;
|
|
1320
|
+
/** Called when the user scrolls near the bottom of the list; fetch the next page. */
|
|
1321
|
+
onFetchMore?: () => void;
|
|
1322
|
+
/** Whether more pages are available. */
|
|
1323
|
+
hasMore?: boolean;
|
|
1324
|
+
/** Shown when there are no items and not loading. Defaults to a "no results" message. */
|
|
1325
|
+
emptyState?: React.ReactNode;
|
|
1326
|
+
/**
|
|
1327
|
+
* A custom trigger element (e.g. a filter button) that opens the dropdown.
|
|
1328
|
+
* When provided, the search input moves INTO the overlay above the list and
|
|
1329
|
+
* this element becomes the popup anchor — instead of the default inline input
|
|
1330
|
+
* (single) / chips field (multiple). Reflect selection in it yourself (you
|
|
1331
|
+
* already hold `selectedKeys`), e.g. a count on a "Created by" filter button.
|
|
1332
|
+
*/
|
|
1333
|
+
trigger?: React.ReactElement;
|
|
1334
|
+
/** Placeholder for the input (single / overlay search) or chips input (multiple). */
|
|
1335
|
+
placeholder?: string;
|
|
1336
|
+
/** Disables the whole combobox. */
|
|
1337
|
+
disabled?: boolean;
|
|
1338
|
+
/** Class applied to the visible field (the input, or the chips container). */
|
|
1339
|
+
className?: string;
|
|
1340
|
+
'aria-label'?: string;
|
|
1341
|
+
}
|
|
1342
|
+
declare function DataCombobox<T>(componentProps: DataCombobox.Props<T>): react_jsx_runtime0.JSX.Element;
|
|
1343
|
+
declare namespace DataCombobox {
|
|
1344
|
+
type Props<T> = DataComboboxProps<T>;
|
|
1345
|
+
}
|
|
1346
|
+
//#endregion
|
|
1270
1347
|
//#region src/components/data-table.d.ts
|
|
1271
1348
|
/** Async states a `DataTable` can be in (mirrors React Spectrum's `loadingState`). */
|
|
1272
1349
|
type DataTableLoadingState = 'idle' | 'loading' | 'sorting' | 'filtering' | 'loadingMore';
|
|
@@ -1708,7 +1785,7 @@ declare namespace EmptyHeader {
|
|
|
1708
1785
|
}
|
|
1709
1786
|
declare const emptyMediaVariants: (props?: ({
|
|
1710
1787
|
variant?: "default" | "icon" | null | undefined;
|
|
1711
|
-
} &
|
|
1788
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
1712
1789
|
declare const EmptyMedia: React.ForwardRefExoticComponent<Omit<EmptyMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1713
1790
|
interface EmptyMediaProps extends React.ComponentProps<'div'>, VariantProps<typeof emptyMediaVariants> {}
|
|
1714
1791
|
declare namespace EmptyMedia {
|
|
@@ -1902,7 +1979,7 @@ declare namespace EmojiPickerContent {
|
|
|
1902
1979
|
declare const fabVariants: (props?: ({
|
|
1903
1980
|
variant?: "default" | "outline" | null | undefined;
|
|
1904
1981
|
size?: "lg" | "icon-lg" | null | undefined;
|
|
1905
|
-
} &
|
|
1982
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
1906
1983
|
declare const FAB: React.ForwardRefExoticComponent<Omit<FABProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1907
1984
|
interface FABProps extends Button$1.Props, VariantProps<typeof fabVariants> {}
|
|
1908
1985
|
declare namespace FAB {
|
|
@@ -1936,7 +2013,7 @@ declare namespace FieldGroup {
|
|
|
1936
2013
|
}
|
|
1937
2014
|
declare const fieldVariants: (props?: ({
|
|
1938
2015
|
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
1939
|
-
} &
|
|
2016
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
1940
2017
|
declare const Field: React.ForwardRefExoticComponent<Omit<FieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1941
2018
|
interface FieldProps extends React.ComponentProps<'div'>, VariantProps<typeof fieldVariants> {}
|
|
1942
2019
|
declare namespace Field {
|
|
@@ -2177,7 +2254,7 @@ declare namespace HoverCardContent {
|
|
|
2177
2254
|
//#region src/components/input.d.ts
|
|
2178
2255
|
declare const inputVariants: (props?: ({
|
|
2179
2256
|
block?: boolean | null | undefined;
|
|
2180
|
-
} &
|
|
2257
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
2181
2258
|
declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
2182
2259
|
interface InputProps extends React.ComponentProps<'input'>, VariantProps<typeof inputVariants> {}
|
|
2183
2260
|
declare namespace Input {
|
|
@@ -2192,7 +2269,7 @@ declare namespace InputGroup {
|
|
|
2192
2269
|
}
|
|
2193
2270
|
declare const inputGroupAddonVariants: (props?: ({
|
|
2194
2271
|
align?: "block-end" | "block-start" | "inline-end" | "inline-start" | null | undefined;
|
|
2195
|
-
} &
|
|
2272
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
2196
2273
|
declare const InputGroupAddon: React.ForwardRefExoticComponent<Omit<InputGroupAddonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2197
2274
|
interface InputGroupAddonProps extends React.ComponentProps<'div'>, VariantProps<typeof inputGroupAddonVariants> {}
|
|
2198
2275
|
declare namespace InputGroupAddon {
|
|
@@ -2306,7 +2383,7 @@ declare namespace NumericInputDecrement {
|
|
|
2306
2383
|
}
|
|
2307
2384
|
//#endregion
|
|
2308
2385
|
//#region src/components/input-otp.d.ts
|
|
2309
|
-
declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
2386
|
+
declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
2310
2387
|
value?: string;
|
|
2311
2388
|
onChange?: (newValue: string) => unknown;
|
|
2312
2389
|
maxLength: number;
|
|
@@ -2321,7 +2398,7 @@ declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHT
|
|
|
2321
2398
|
children?: never;
|
|
2322
2399
|
} & React.RefAttributes<HTMLInputElement> & {
|
|
2323
2400
|
containerClassName?: string;
|
|
2324
|
-
}, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
2401
|
+
}, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
2325
2402
|
value?: string;
|
|
2326
2403
|
onChange?: (newValue: string) => unknown;
|
|
2327
2404
|
maxLength: number;
|
|
@@ -2377,7 +2454,7 @@ declare namespace ItemSeparator {
|
|
|
2377
2454
|
declare const itemVariants: (props?: ({
|
|
2378
2455
|
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
2379
2456
|
size?: "default" | "sm" | "xs" | null | undefined;
|
|
2380
|
-
} &
|
|
2457
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
2381
2458
|
declare const Item: React.ForwardRefExoticComponent<Omit<ItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2382
2459
|
interface ItemProps extends useRender.ComponentProps<'div'>, VariantProps<typeof itemVariants> {}
|
|
2383
2460
|
declare namespace Item {
|
|
@@ -2385,7 +2462,7 @@ declare namespace Item {
|
|
|
2385
2462
|
}
|
|
2386
2463
|
declare const itemMediaVariants: (props?: ({
|
|
2387
2464
|
variant?: "image" | "default" | "icon" | null | undefined;
|
|
2388
|
-
} &
|
|
2465
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
2389
2466
|
declare const ItemMedia: React.ForwardRefExoticComponent<Omit<ItemMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2390
2467
|
interface ItemMediaProps extends React.ComponentProps<'div'>, VariantProps<typeof itemMediaVariants> {}
|
|
2391
2468
|
declare namespace ItemMedia {
|
|
@@ -2574,7 +2651,7 @@ declare namespace ScrollBar {
|
|
|
2574
2651
|
//#region src/components/select.d.ts
|
|
2575
2652
|
declare const selectTriggerVariants: (props?: ({
|
|
2576
2653
|
size?: "default" | "sm" | null | undefined;
|
|
2577
|
-
} &
|
|
2654
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
2578
2655
|
declare const Select: typeof Select$1.Root;
|
|
2579
2656
|
declare const SelectGroup: React.ForwardRefExoticComponent<Omit<SelectGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2580
2657
|
interface SelectGroupProps extends Select$1.Group.Props {}
|
|
@@ -2799,7 +2876,7 @@ declare namespace SidebarMenuItem {
|
|
|
2799
2876
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
2800
2877
|
variant?: "default" | "outline" | null | undefined;
|
|
2801
2878
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
2802
|
-
} &
|
|
2879
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
2803
2880
|
declare const SidebarMenuButton: React.ForwardRefExoticComponent<Omit<SidebarMenuButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2804
2881
|
type SidebarMenuButtonProps = useRender.ComponentProps<'button'> & React.ComponentProps<'button'> & VariantProps<typeof sidebarMenuButtonVariants> & {
|
|
2805
2882
|
isActive?: boolean;
|
|
@@ -2871,7 +2948,7 @@ declare namespace Toaster {
|
|
|
2871
2948
|
//#region src/components/spinner.d.ts
|
|
2872
2949
|
declare const spinnerVariants: (props?: ({
|
|
2873
2950
|
size?: "default" | "sm" | "lg" | "xl" | null | undefined;
|
|
2874
|
-
} &
|
|
2951
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
2875
2952
|
declare const Spinner: React.ForwardRefExoticComponent<Omit<SpinnerProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
2876
2953
|
interface SpinnerProps extends React.ComponentProps<'svg'>, VariantProps<typeof spinnerVariants> {}
|
|
2877
2954
|
declare namespace Spinner {
|
|
@@ -3017,7 +3094,7 @@ declare namespace ThemeProvider {
|
|
|
3017
3094
|
declare const toggleVariants: (props?: ({
|
|
3018
3095
|
variant?: "default" | "outline" | null | undefined;
|
|
3019
3096
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
3020
|
-
} &
|
|
3097
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
3021
3098
|
declare const Toggle: React.ForwardRefExoticComponent<Omit<ToggleProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
3022
3099
|
interface ToggleProps extends Toggle$1.Props, VariantProps<typeof toggleVariants> {}
|
|
3023
3100
|
declare namespace Toggle {
|
|
@@ -3173,7 +3250,7 @@ declare function useDsLocale(): string;
|
|
|
3173
3250
|
//#endregion
|
|
3174
3251
|
//#region src/i18n/keys.d.ts
|
|
3175
3252
|
/** All translation keys owned by the `ds` namespace. Flat dotted keys (keySeparator: false). */
|
|
3176
|
-
type DsI18nKey = 'spinner.loading' | 'pagination.label' | 'pagination.previousPage' | 'pagination.nextPage' | 'dataTable.selectAllRows' | 'dataTable.selectRow' | 'tree.collapse' | 'tree.expand' | 'multiselect.remove' | 'multiselect.clearAll' | 'sidebar.toggle' | 'drawer.close' | 'emojiPicker.emoji' | 'emojiPicker.choose' | 'actionBar.selectionActions' | 'pagination.previous' | 'pagination.next' | 'actionBar.clearSelection' | 'actionBar.itemsSelected' | 'fieldLabel.required' | 'fieldLabel.optional' | 'fieldLabel.moreInfo';
|
|
3253
|
+
type DsI18nKey = 'spinner.loading' | 'pagination.label' | 'pagination.previousPage' | 'pagination.nextPage' | 'dataTable.selectAllRows' | 'dataTable.selectRow' | 'dataCombobox.noResults' | 'tree.collapse' | 'tree.expand' | 'multiselect.remove' | 'multiselect.clearAll' | 'sidebar.toggle' | 'drawer.close' | 'emojiPicker.emoji' | 'emojiPicker.choose' | 'actionBar.selectionActions' | 'pagination.previous' | 'pagination.next' | 'actionBar.clearSelection' | 'actionBar.itemsSelected' | 'fieldLabel.required' | 'fieldLabel.optional' | 'fieldLabel.moreInfo';
|
|
3177
3254
|
/** A complete set of translations for one language. Missing a key is a compile error. */
|
|
3178
3255
|
type DsLocale = Record<DsI18nKey, string>;
|
|
3179
3256
|
//#endregion
|
|
@@ -3235,4 +3312,4 @@ declare function useAudioGauge(options?: UseAudioGaugeOptions): UseAudioGaugeRes
|
|
|
3235
3312
|
//#region src/lib/utils.d.ts
|
|
3236
3313
|
declare function cn(...inputs: ClassValue[]): string;
|
|
3237
3314
|
//#endregion
|
|
3238
|
-
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, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Chip, ChipRemove, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColumnDef, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, type ComboboxClear, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CounterBadge, CountryFlag, DataTable, type DataTableLoadingState, DataTree, 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, Filter, FilterClearAllButton, FilterGroup, Gauge, HoverCard, HoverCardContent, HoverCardTrigger, type I18nLanguageSource, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Label, List, ListCol, ListRow, 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, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, 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, Slider, type SortingState, Spinner, type StepDefinition, 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, UseAudioGaugeOptions, UseAudioGaugeResult, alertVariants, anchorVariants, bannerVariants, buttonGroupVariants, buttonVariants, cn, counterBadgeVariants, detectInitialLanguage, fabVariants, registerI18nNamespace, selectTriggerVariants, spinnerVariants, syncDsLanguage, toast, toggleVariants, useAudioGauge, useAudioPlayer, useAudioPlayerTime, useComboboxAnchor, useDsLocale, useDsTranslation, useNotification, useNotificationQueue, useSidebar, useStepper, useTheme };
|
|
3315
|
+
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, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Chip, ChipRemove, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColumnDef, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, type ComboboxClear, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CounterBadge, CountryFlag, DataCombobox, type DataComboboxLoadingState, DataTable, type DataTableLoadingState, DataTree, 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, Filter, FilterClearAllButton, FilterGroup, Gauge, HoverCard, HoverCardContent, HoverCardTrigger, type I18nLanguageSource, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Label, List, ListCol, ListRow, 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, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, 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, Slider, type SortingState, Spinner, type StepDefinition, 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, UseAudioGaugeOptions, UseAudioGaugeResult, alertVariants, anchorVariants, bannerVariants, buttonGroupVariants, buttonVariants, cn, counterBadgeVariants, detectInitialLanguage, fabVariants, registerI18nNamespace, selectTriggerVariants, spinnerVariants, syncDsLanguage, toast, toggleVariants, useAudioGauge, useAudioPlayer, useAudioPlayerTime, useComboboxAnchor, useDsLocale, useDsTranslation, useNotification, useNotificationQueue, useSidebar, useStepper, useTheme };
|