@aircall/ds 0.22.0 → 0.24.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/globals.css +1 -1
- package/dist/index.d.ts +150 -23
- package/dist/index.js +243 -52
- 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_types3 from "class-variance-authority/types";
|
|
44
44
|
import { CountryCode } from "@aircall/numbers";
|
|
45
45
|
|
|
46
46
|
//#region src/components/accordion.d.ts
|
|
@@ -70,7 +70,7 @@ declare const buttonVariants: (props?: ({
|
|
|
70
70
|
variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
71
71
|
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
72
72
|
block?: boolean | null | undefined;
|
|
73
|
-
} &
|
|
73
|
+
} & class_variance_authority_types3.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;
|
|
@@ -531,7 +531,7 @@ declare namespace AlertDialogCancel {
|
|
|
531
531
|
//#region src/components/alert.d.ts
|
|
532
532
|
declare const alertVariants: (props?: ({
|
|
533
533
|
variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
534
|
-
} &
|
|
534
|
+
} & class_variance_authority_types3.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_types3.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_types3.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_types3.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_types3.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_types3.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>;
|
|
@@ -782,7 +782,7 @@ declare namespace BadgeGroupCount {
|
|
|
782
782
|
declare const bannerVariants: (props?: ({
|
|
783
783
|
variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
784
784
|
borderDirection?: "bottom" | "top" | null | undefined;
|
|
785
|
-
} &
|
|
785
|
+
} & class_variance_authority_types3.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_types3.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,133 @@ 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
|
+
* Optional custom render for a selected chip (multiple mode). Return the WHOLE
|
|
1293
|
+
* chip — a `ComboboxChip` element — so its appearance (`color`/`tone`, content)
|
|
1294
|
+
* is fully yours, e.g.
|
|
1295
|
+
* `item => <ComboboxChip color="blue" tone="light">{item.label}</ComboboxChip>`.
|
|
1296
|
+
* Defaults to a plain `ComboboxChip` with `getItemLabel`. (Unlike `renderItem`,
|
|
1297
|
+
* which returns only the row's inner content — the DS owns that `ComboboxItem`
|
|
1298
|
+
* for selection/keyboard — the chip is entirely consumer-owned here.)
|
|
1299
|
+
*/
|
|
1300
|
+
renderChip?: (item: T) => React.ReactNode;
|
|
1301
|
+
/**
|
|
1302
|
+
* Groups items under headers. Return the group key an item belongs to; items
|
|
1303
|
+
* are grouped in first-seen order. When provided, the list renders grouped
|
|
1304
|
+
* sections. Pair with `getGroupLabel` for a custom header.
|
|
1305
|
+
*/
|
|
1306
|
+
getGroupKey?: (item: T) => string;
|
|
1307
|
+
/** Maps a group key to its header label. Defaults to the group key. */
|
|
1308
|
+
getGroupLabel?: (groupKey: string) => React.ReactNode;
|
|
1309
|
+
/**
|
|
1310
|
+
* `'single'` (default) selects one item; `'multiple'` selects many and renders
|
|
1311
|
+
* them as removable chips above the input.
|
|
1312
|
+
*/
|
|
1313
|
+
selectionMode?: 'single' | 'multiple';
|
|
1314
|
+
/** Controlled selected item keys (values from `getItemValue`). */
|
|
1315
|
+
selectedKeys?: Set<string>;
|
|
1316
|
+
/** Initial selected keys for uncontrolled selection. Ignored when `selectedKeys` is set. */
|
|
1317
|
+
defaultSelectedKeys?: Set<string>;
|
|
1318
|
+
/** Called with the new set of selected keys whenever selection changes. */
|
|
1319
|
+
onSelectionChange?: (keys: Set<string>) => void;
|
|
1320
|
+
/**
|
|
1321
|
+
* Called when the dropdown opens (`true`) or closes (`false`). Use the
|
|
1322
|
+
* `false` edge to commit a deferred action — e.g. a table filter that should
|
|
1323
|
+
* only run once the user is done picking, not on every checkbox toggle:
|
|
1324
|
+
* keep the live selection in `onSelectionChange` and apply it here on close.
|
|
1325
|
+
*/
|
|
1326
|
+
onOpenChange?: (open: boolean) => void;
|
|
1327
|
+
/**
|
|
1328
|
+
* Known selected items used to seed the label cache, so a selected key whose
|
|
1329
|
+
* item is NOT in the current `items` (e.g. a saved form value not yet fetched,
|
|
1330
|
+
* or a selection made before searching away) still renders its label/chip.
|
|
1331
|
+
*/
|
|
1332
|
+
selectedItems?: T[];
|
|
1333
|
+
/** Item keys that cannot be selected — rendered disabled and dimmed. */
|
|
1334
|
+
disabledKeys?: Set<string>;
|
|
1335
|
+
/** The dropdown's async state. Omit (or `'idle'`) when not loading. */
|
|
1336
|
+
loadingState?: DataComboboxLoadingState;
|
|
1337
|
+
/** Number of skeleton rows shown while `loadingState` is `'loading'`. */
|
|
1338
|
+
skeletonCount?: number;
|
|
1339
|
+
/**
|
|
1340
|
+
* Enables SERVER-side search. When omitted, the combobox filters the provided
|
|
1341
|
+
* `items` client-side as you type (Base UI's built-in filter) — ideal for a
|
|
1342
|
+
* fixed list. When provided, internal filtering is turned off and this is
|
|
1343
|
+
* called (debounce it yourself) with the query: feed the matching `items` and
|
|
1344
|
+
* set `loadingState='filtering'` while the fetch runs.
|
|
1345
|
+
*
|
|
1346
|
+
* Prefer this for any PAGINATED list: while `onFetchMore`+`hasMore` are active
|
|
1347
|
+
* client-side filtering is disabled (it only sees loaded pages and would break
|
|
1348
|
+
* infinite scroll), so a searchable paginated list must search server-side.
|
|
1349
|
+
*
|
|
1350
|
+
* Called with `''` when the query is cleared — including the automatic clear
|
|
1351
|
+
* after a selection (multi keeps the popup open) and the input's clear button.
|
|
1352
|
+
* Treat `''` as "no query": return the initial, unfiltered list. Otherwise the
|
|
1353
|
+
* results stay stuck on the last search with no way back to the full list.
|
|
1354
|
+
*/
|
|
1355
|
+
onSearch?: (query: string) => void;
|
|
1356
|
+
/** Called when the user scrolls near the bottom of the list; fetch the next page. */
|
|
1357
|
+
onFetchMore?: () => void;
|
|
1358
|
+
/** Whether more pages are available. */
|
|
1359
|
+
hasMore?: boolean;
|
|
1360
|
+
/** Shown when there are no items and not loading. Defaults to a "no results" message. */
|
|
1361
|
+
emptyState?: React.ReactNode;
|
|
1362
|
+
/**
|
|
1363
|
+
* A custom trigger element (e.g. a filter button) that opens the dropdown.
|
|
1364
|
+
* When provided, the search input moves INTO the overlay above the list and
|
|
1365
|
+
* this element becomes the popup anchor — instead of the default inline input
|
|
1366
|
+
* (single) / chips field (multiple). Reflect selection in it yourself (you
|
|
1367
|
+
* already hold `selectedKeys`), e.g. a count on a "Created by" filter button.
|
|
1368
|
+
*/
|
|
1369
|
+
trigger?: React.ReactElement;
|
|
1370
|
+
/**
|
|
1371
|
+
* Whether the dropdown shows a search input. Default `true`. Set `false` for a
|
|
1372
|
+
* short pick-list that doesn't need typeahead (e.g. a "Status" filter): with a
|
|
1373
|
+
* `trigger`, the overlay renders just the list (no search box); keyboard nav
|
|
1374
|
+
* and selection still work. Ignored without a `trigger` (the inline field IS
|
|
1375
|
+
* the input / chips).
|
|
1376
|
+
*/
|
|
1377
|
+
searchable?: boolean;
|
|
1378
|
+
/** Placeholder for the input (single / overlay search) or chips input (multiple). */
|
|
1379
|
+
placeholder?: string;
|
|
1380
|
+
/** Disables the whole combobox. */
|
|
1381
|
+
disabled?: boolean;
|
|
1382
|
+
/** Class applied to the visible field (the input, or the chips container). */
|
|
1383
|
+
className?: string;
|
|
1384
|
+
/**
|
|
1385
|
+
* Class applied to the dropdown popup (`ComboboxContent`). Overrides the default
|
|
1386
|
+
* `min-w-50` (200px) — e.g. `min-w-0` to hug the anchor, or `min-w-80` (320px)
|
|
1387
|
+
* for a wider menu.
|
|
1388
|
+
*/
|
|
1389
|
+
contentClassName?: string;
|
|
1390
|
+
'aria-label'?: string;
|
|
1391
|
+
}
|
|
1392
|
+
declare function DataCombobox<T>(componentProps: DataCombobox.Props<T>): react_jsx_runtime0.JSX.Element;
|
|
1393
|
+
declare namespace DataCombobox {
|
|
1394
|
+
type Props<T> = DataComboboxProps<T>;
|
|
1395
|
+
}
|
|
1396
|
+
//#endregion
|
|
1270
1397
|
//#region src/components/data-table.d.ts
|
|
1271
1398
|
/** Async states a `DataTable` can be in (mirrors React Spectrum's `loadingState`). */
|
|
1272
1399
|
type DataTableLoadingState = 'idle' | 'loading' | 'sorting' | 'filtering' | 'loadingMore';
|
|
@@ -1708,7 +1835,7 @@ declare namespace EmptyHeader {
|
|
|
1708
1835
|
}
|
|
1709
1836
|
declare const emptyMediaVariants: (props?: ({
|
|
1710
1837
|
variant?: "default" | "icon" | null | undefined;
|
|
1711
|
-
} &
|
|
1838
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
1712
1839
|
declare const EmptyMedia: React.ForwardRefExoticComponent<Omit<EmptyMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1713
1840
|
interface EmptyMediaProps extends React.ComponentProps<'div'>, VariantProps<typeof emptyMediaVariants> {}
|
|
1714
1841
|
declare namespace EmptyMedia {
|
|
@@ -1902,7 +2029,7 @@ declare namespace EmojiPickerContent {
|
|
|
1902
2029
|
declare const fabVariants: (props?: ({
|
|
1903
2030
|
variant?: "default" | "outline" | null | undefined;
|
|
1904
2031
|
size?: "lg" | "icon-lg" | null | undefined;
|
|
1905
|
-
} &
|
|
2032
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
1906
2033
|
declare const FAB: React.ForwardRefExoticComponent<Omit<FABProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1907
2034
|
interface FABProps extends Button$1.Props, VariantProps<typeof fabVariants> {}
|
|
1908
2035
|
declare namespace FAB {
|
|
@@ -1936,7 +2063,7 @@ declare namespace FieldGroup {
|
|
|
1936
2063
|
}
|
|
1937
2064
|
declare const fieldVariants: (props?: ({
|
|
1938
2065
|
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
1939
|
-
} &
|
|
2066
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
1940
2067
|
declare const Field: React.ForwardRefExoticComponent<Omit<FieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1941
2068
|
interface FieldProps extends React.ComponentProps<'div'>, VariantProps<typeof fieldVariants> {}
|
|
1942
2069
|
declare namespace Field {
|
|
@@ -2177,7 +2304,7 @@ declare namespace HoverCardContent {
|
|
|
2177
2304
|
//#region src/components/input.d.ts
|
|
2178
2305
|
declare const inputVariants: (props?: ({
|
|
2179
2306
|
block?: boolean | null | undefined;
|
|
2180
|
-
} &
|
|
2307
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
2181
2308
|
declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
2182
2309
|
interface InputProps extends React.ComponentProps<'input'>, VariantProps<typeof inputVariants> {}
|
|
2183
2310
|
declare namespace Input {
|
|
@@ -2192,7 +2319,7 @@ declare namespace InputGroup {
|
|
|
2192
2319
|
}
|
|
2193
2320
|
declare const inputGroupAddonVariants: (props?: ({
|
|
2194
2321
|
align?: "block-end" | "block-start" | "inline-end" | "inline-start" | null | undefined;
|
|
2195
|
-
} &
|
|
2322
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
2196
2323
|
declare const InputGroupAddon: React.ForwardRefExoticComponent<Omit<InputGroupAddonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2197
2324
|
interface InputGroupAddonProps extends React.ComponentProps<'div'>, VariantProps<typeof inputGroupAddonVariants> {}
|
|
2198
2325
|
declare namespace InputGroupAddon {
|
|
@@ -2377,7 +2504,7 @@ declare namespace ItemSeparator {
|
|
|
2377
2504
|
declare const itemVariants: (props?: ({
|
|
2378
2505
|
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
2379
2506
|
size?: "default" | "sm" | "xs" | null | undefined;
|
|
2380
|
-
} &
|
|
2507
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
2381
2508
|
declare const Item: React.ForwardRefExoticComponent<Omit<ItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2382
2509
|
interface ItemProps extends useRender.ComponentProps<'div'>, VariantProps<typeof itemVariants> {}
|
|
2383
2510
|
declare namespace Item {
|
|
@@ -2385,7 +2512,7 @@ declare namespace Item {
|
|
|
2385
2512
|
}
|
|
2386
2513
|
declare const itemMediaVariants: (props?: ({
|
|
2387
2514
|
variant?: "image" | "default" | "icon" | null | undefined;
|
|
2388
|
-
} &
|
|
2515
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
2389
2516
|
declare const ItemMedia: React.ForwardRefExoticComponent<Omit<ItemMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2390
2517
|
interface ItemMediaProps extends React.ComponentProps<'div'>, VariantProps<typeof itemMediaVariants> {}
|
|
2391
2518
|
declare namespace ItemMedia {
|
|
@@ -2574,7 +2701,7 @@ declare namespace ScrollBar {
|
|
|
2574
2701
|
//#region src/components/select.d.ts
|
|
2575
2702
|
declare const selectTriggerVariants: (props?: ({
|
|
2576
2703
|
size?: "default" | "sm" | null | undefined;
|
|
2577
|
-
} &
|
|
2704
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
2578
2705
|
declare const Select: typeof Select$1.Root;
|
|
2579
2706
|
declare const SelectGroup: React.ForwardRefExoticComponent<Omit<SelectGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2580
2707
|
interface SelectGroupProps extends Select$1.Group.Props {}
|
|
@@ -2799,7 +2926,7 @@ declare namespace SidebarMenuItem {
|
|
|
2799
2926
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
2800
2927
|
variant?: "default" | "outline" | null | undefined;
|
|
2801
2928
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
2802
|
-
} &
|
|
2929
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
2803
2930
|
declare const SidebarMenuButton: React.ForwardRefExoticComponent<Omit<SidebarMenuButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2804
2931
|
type SidebarMenuButtonProps = useRender.ComponentProps<'button'> & React.ComponentProps<'button'> & VariantProps<typeof sidebarMenuButtonVariants> & {
|
|
2805
2932
|
isActive?: boolean;
|
|
@@ -2871,7 +2998,7 @@ declare namespace Toaster {
|
|
|
2871
2998
|
//#region src/components/spinner.d.ts
|
|
2872
2999
|
declare const spinnerVariants: (props?: ({
|
|
2873
3000
|
size?: "default" | "sm" | "lg" | "xl" | null | undefined;
|
|
2874
|
-
} &
|
|
3001
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
2875
3002
|
declare const Spinner: React.ForwardRefExoticComponent<Omit<SpinnerProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
2876
3003
|
interface SpinnerProps extends React.ComponentProps<'svg'>, VariantProps<typeof spinnerVariants> {}
|
|
2877
3004
|
declare namespace Spinner {
|
|
@@ -3017,7 +3144,7 @@ declare namespace ThemeProvider {
|
|
|
3017
3144
|
declare const toggleVariants: (props?: ({
|
|
3018
3145
|
variant?: "default" | "outline" | null | undefined;
|
|
3019
3146
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
3020
|
-
} &
|
|
3147
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
3021
3148
|
declare const Toggle: React.ForwardRefExoticComponent<Omit<ToggleProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
3022
3149
|
interface ToggleProps extends Toggle$1.Props, VariantProps<typeof toggleVariants> {}
|
|
3023
3150
|
declare namespace Toggle {
|
|
@@ -3173,7 +3300,7 @@ declare function useDsLocale(): string;
|
|
|
3173
3300
|
//#endregion
|
|
3174
3301
|
//#region src/i18n/keys.d.ts
|
|
3175
3302
|
/** 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';
|
|
3303
|
+
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
3304
|
/** A complete set of translations for one language. Missing a key is a compile error. */
|
|
3178
3305
|
type DsLocale = Record<DsI18nKey, string>;
|
|
3179
3306
|
//#endregion
|
|
@@ -3235,4 +3362,4 @@ declare function useAudioGauge(options?: UseAudioGaugeOptions): UseAudioGaugeRes
|
|
|
3235
3362
|
//#region src/lib/utils.d.ts
|
|
3236
3363
|
declare function cn(...inputs: ClassValue[]): string;
|
|
3237
3364
|
//#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 };
|
|
3365
|
+
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 };
|