@aircall/ds 0.21.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 +149 -33
- package/dist/index.js +271 -74
- package/dist/theme.css +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ import * as _base_ui_react0 from "@base-ui/react";
|
|
|
19
19
|
import { Combobox as Combobox$1 } from "@base-ui/react";
|
|
20
20
|
import { Command as Command$1 } from "cmdk";
|
|
21
21
|
import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
|
|
22
|
-
import { ColumnDef, ColumnDef as ColumnDef$1, OnChangeFn, OnChangeFn as OnChangeFn$1,
|
|
22
|
+
import { ColumnDef, ColumnDef as ColumnDef$1, OnChangeFn, OnChangeFn as OnChangeFn$1, SortingState, SortingState as SortingState$1 } from "@tanstack/react-table";
|
|
23
23
|
import { ItemInstance } from "@headless-tree/core";
|
|
24
24
|
import { Drawer as DrawerPrimitive } from "@base-ui/react/drawer";
|
|
25
25
|
import { Radio } from "@base-ui/react/radio";
|
|
@@ -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;
|
|
@@ -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" | "info" | "success" | "warning" | "error" | null | undefined;
|
|
534
|
-
} &
|
|
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>;
|
|
@@ -782,7 +782,7 @@ declare namespace BadgeGroupCount {
|
|
|
782
782
|
declare const bannerVariants: (props?: ({
|
|
783
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';
|
|
@@ -1310,12 +1387,39 @@ interface DataTableProps<TData> {
|
|
|
1310
1387
|
* column def to pin it (e.g. an actions column).
|
|
1311
1388
|
*/
|
|
1312
1389
|
enableColumnResizing?: boolean;
|
|
1313
|
-
/**
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1390
|
+
/**
|
|
1391
|
+
* The type of selection allowed (mirrors React Spectrum's `selectionMode`):
|
|
1392
|
+
* - `'none'` — selection off; no checkbox column (default).
|
|
1393
|
+
* - `'single'` — one row at a time; a checkbox column is prepended with no
|
|
1394
|
+
* select-all header, and selecting a row clears any other.
|
|
1395
|
+
* - `'multiple'` — many rows; the checkbox column gets a select-all header.
|
|
1396
|
+
*
|
|
1397
|
+
* Selection keys are the values returned by `getRowId` (its index when
|
|
1398
|
+
* `getRowId` is omitted), matching React Spectrum's key-based model.
|
|
1399
|
+
*/
|
|
1400
|
+
selectionMode?: 'none' | 'single' | 'multiple';
|
|
1401
|
+
/**
|
|
1402
|
+
* Controlled set of selected row ids. Pass alongside `onSelectionChange`. For
|
|
1403
|
+
* uncontrolled selection, use `defaultSelectedKeys` instead (or neither).
|
|
1404
|
+
*/
|
|
1405
|
+
selectedKeys?: Set<string>;
|
|
1406
|
+
/**
|
|
1407
|
+
* Initial selected row ids for uncontrolled selection (mirrors React
|
|
1408
|
+
* Spectrum's `defaultSelectedKeys`). Ignored when `selectedKeys` is provided.
|
|
1409
|
+
*/
|
|
1410
|
+
defaultSelectedKeys?: Set<string>;
|
|
1411
|
+
/** Called with the new set of selected row ids whenever selection changes. */
|
|
1412
|
+
onSelectionChange?: (keys: Set<string>) => void;
|
|
1413
|
+
/** Row ids that cannot be selected (mirrors React Spectrum's `disabledKeys`). */
|
|
1414
|
+
disabledKeys?: Set<string>;
|
|
1415
|
+
/**
|
|
1416
|
+
* How `disabledKeys` rows behave (mirrors React Spectrum's `disabledBehavior`):
|
|
1417
|
+
* - `'all'` — fully disabled: no checkbox, the row is dimmed and does not
|
|
1418
|
+
* respond to clicks/`onRowClick` (default).
|
|
1419
|
+
* - `'selection'` — disabled for selection only: no checkbox, but the row is
|
|
1420
|
+
* not dimmed and still fires `onRowClick`.
|
|
1421
|
+
*/
|
|
1422
|
+
disabledBehavior?: 'selection' | 'all';
|
|
1319
1423
|
/** Bar rendered floating at the bottom while there is at least one selected row. */
|
|
1320
1424
|
actionBar?: React.ReactNode;
|
|
1321
1425
|
/** Called when the user scrolls near the bottom; use to fetch the next page. */
|
|
@@ -1349,6 +1453,18 @@ interface DataTableProps<TData> {
|
|
|
1349
1453
|
* virtualization has no effect.
|
|
1350
1454
|
*/
|
|
1351
1455
|
virtualizeRows?: boolean;
|
|
1456
|
+
/**
|
|
1457
|
+
* Uses a fixed table layout (`table-layout: fixed`): column widths come from
|
|
1458
|
+
* each column's `size` (defaulting to 150) instead of the widest cell, so the
|
|
1459
|
+
* layout stays stable as different-length content loads. Long cell content
|
|
1460
|
+
* should be truncated by the cell (e.g. a `truncate` wrapper).
|
|
1461
|
+
*
|
|
1462
|
+
* This is width-pinning WITHOUT interactivity — unlike `enableColumnResizing`
|
|
1463
|
+
* it adds no drag handles, and unlike `virtualizeRows` it needs no
|
|
1464
|
+
* `fillHeight`. Use it for content-stable lists where columns shouldn't
|
|
1465
|
+
* reflow. (`enableColumnResizing` and `virtualizeRows` imply this too.)
|
|
1466
|
+
*/
|
|
1467
|
+
fixedLayout?: boolean;
|
|
1352
1468
|
className?: string;
|
|
1353
1469
|
}
|
|
1354
1470
|
declare function DataTable<TData>(componentProps: DataTable.Props<TData>): react_jsx_runtime0.JSX.Element;
|
|
@@ -1669,7 +1785,7 @@ declare namespace EmptyHeader {
|
|
|
1669
1785
|
}
|
|
1670
1786
|
declare const emptyMediaVariants: (props?: ({
|
|
1671
1787
|
variant?: "default" | "icon" | null | undefined;
|
|
1672
|
-
} &
|
|
1788
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
1673
1789
|
declare const EmptyMedia: React.ForwardRefExoticComponent<Omit<EmptyMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1674
1790
|
interface EmptyMediaProps extends React.ComponentProps<'div'>, VariantProps<typeof emptyMediaVariants> {}
|
|
1675
1791
|
declare namespace EmptyMedia {
|
|
@@ -1863,7 +1979,7 @@ declare namespace EmojiPickerContent {
|
|
|
1863
1979
|
declare const fabVariants: (props?: ({
|
|
1864
1980
|
variant?: "default" | "outline" | null | undefined;
|
|
1865
1981
|
size?: "lg" | "icon-lg" | null | undefined;
|
|
1866
|
-
} &
|
|
1982
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
1867
1983
|
declare const FAB: React.ForwardRefExoticComponent<Omit<FABProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1868
1984
|
interface FABProps extends Button$1.Props, VariantProps<typeof fabVariants> {}
|
|
1869
1985
|
declare namespace FAB {
|
|
@@ -1897,7 +2013,7 @@ declare namespace FieldGroup {
|
|
|
1897
2013
|
}
|
|
1898
2014
|
declare const fieldVariants: (props?: ({
|
|
1899
2015
|
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
1900
|
-
} &
|
|
2016
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
1901
2017
|
declare const Field: React.ForwardRefExoticComponent<Omit<FieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1902
2018
|
interface FieldProps extends React.ComponentProps<'div'>, VariantProps<typeof fieldVariants> {}
|
|
1903
2019
|
declare namespace Field {
|
|
@@ -2138,7 +2254,7 @@ declare namespace HoverCardContent {
|
|
|
2138
2254
|
//#region src/components/input.d.ts
|
|
2139
2255
|
declare const inputVariants: (props?: ({
|
|
2140
2256
|
block?: boolean | null | undefined;
|
|
2141
|
-
} &
|
|
2257
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
2142
2258
|
declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
2143
2259
|
interface InputProps extends React.ComponentProps<'input'>, VariantProps<typeof inputVariants> {}
|
|
2144
2260
|
declare namespace Input {
|
|
@@ -2153,7 +2269,7 @@ declare namespace InputGroup {
|
|
|
2153
2269
|
}
|
|
2154
2270
|
declare const inputGroupAddonVariants: (props?: ({
|
|
2155
2271
|
align?: "block-end" | "block-start" | "inline-end" | "inline-start" | null | undefined;
|
|
2156
|
-
} &
|
|
2272
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
2157
2273
|
declare const InputGroupAddon: React.ForwardRefExoticComponent<Omit<InputGroupAddonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2158
2274
|
interface InputGroupAddonProps extends React.ComponentProps<'div'>, VariantProps<typeof inputGroupAddonVariants> {}
|
|
2159
2275
|
declare namespace InputGroupAddon {
|
|
@@ -2267,7 +2383,7 @@ declare namespace NumericInputDecrement {
|
|
|
2267
2383
|
}
|
|
2268
2384
|
//#endregion
|
|
2269
2385
|
//#region src/components/input-otp.d.ts
|
|
2270
|
-
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"> & {
|
|
2271
2387
|
value?: string;
|
|
2272
2388
|
onChange?: (newValue: string) => unknown;
|
|
2273
2389
|
maxLength: number;
|
|
@@ -2282,7 +2398,7 @@ declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHT
|
|
|
2282
2398
|
children?: never;
|
|
2283
2399
|
} & React.RefAttributes<HTMLInputElement> & {
|
|
2284
2400
|
containerClassName?: string;
|
|
2285
|
-
}, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
2401
|
+
}, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
2286
2402
|
value?: string;
|
|
2287
2403
|
onChange?: (newValue: string) => unknown;
|
|
2288
2404
|
maxLength: number;
|
|
@@ -2338,7 +2454,7 @@ declare namespace ItemSeparator {
|
|
|
2338
2454
|
declare const itemVariants: (props?: ({
|
|
2339
2455
|
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
2340
2456
|
size?: "default" | "sm" | "xs" | null | undefined;
|
|
2341
|
-
} &
|
|
2457
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
2342
2458
|
declare const Item: React.ForwardRefExoticComponent<Omit<ItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2343
2459
|
interface ItemProps extends useRender.ComponentProps<'div'>, VariantProps<typeof itemVariants> {}
|
|
2344
2460
|
declare namespace Item {
|
|
@@ -2346,7 +2462,7 @@ declare namespace Item {
|
|
|
2346
2462
|
}
|
|
2347
2463
|
declare const itemMediaVariants: (props?: ({
|
|
2348
2464
|
variant?: "image" | "default" | "icon" | null | undefined;
|
|
2349
|
-
} &
|
|
2465
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
2350
2466
|
declare const ItemMedia: React.ForwardRefExoticComponent<Omit<ItemMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2351
2467
|
interface ItemMediaProps extends React.ComponentProps<'div'>, VariantProps<typeof itemMediaVariants> {}
|
|
2352
2468
|
declare namespace ItemMedia {
|
|
@@ -2535,7 +2651,7 @@ declare namespace ScrollBar {
|
|
|
2535
2651
|
//#region src/components/select.d.ts
|
|
2536
2652
|
declare const selectTriggerVariants: (props?: ({
|
|
2537
2653
|
size?: "default" | "sm" | null | undefined;
|
|
2538
|
-
} &
|
|
2654
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
2539
2655
|
declare const Select: typeof Select$1.Root;
|
|
2540
2656
|
declare const SelectGroup: React.ForwardRefExoticComponent<Omit<SelectGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2541
2657
|
interface SelectGroupProps extends Select$1.Group.Props {}
|
|
@@ -2760,7 +2876,7 @@ declare namespace SidebarMenuItem {
|
|
|
2760
2876
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
2761
2877
|
variant?: "default" | "outline" | null | undefined;
|
|
2762
2878
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
2763
|
-
} &
|
|
2879
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
2764
2880
|
declare const SidebarMenuButton: React.ForwardRefExoticComponent<Omit<SidebarMenuButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2765
2881
|
type SidebarMenuButtonProps = useRender.ComponentProps<'button'> & React.ComponentProps<'button'> & VariantProps<typeof sidebarMenuButtonVariants> & {
|
|
2766
2882
|
isActive?: boolean;
|
|
@@ -2832,7 +2948,7 @@ declare namespace Toaster {
|
|
|
2832
2948
|
//#region src/components/spinner.d.ts
|
|
2833
2949
|
declare const spinnerVariants: (props?: ({
|
|
2834
2950
|
size?: "default" | "sm" | "lg" | "xl" | null | undefined;
|
|
2835
|
-
} &
|
|
2951
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
2836
2952
|
declare const Spinner: React.ForwardRefExoticComponent<Omit<SpinnerProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
2837
2953
|
interface SpinnerProps extends React.ComponentProps<'svg'>, VariantProps<typeof spinnerVariants> {}
|
|
2838
2954
|
declare namespace Spinner {
|
|
@@ -2978,7 +3094,7 @@ declare namespace ThemeProvider {
|
|
|
2978
3094
|
declare const toggleVariants: (props?: ({
|
|
2979
3095
|
variant?: "default" | "outline" | null | undefined;
|
|
2980
3096
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
2981
|
-
} &
|
|
3097
|
+
} & class_variance_authority_types7.ClassProp) | undefined) => string;
|
|
2982
3098
|
declare const Toggle: React.ForwardRefExoticComponent<Omit<ToggleProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2983
3099
|
interface ToggleProps extends Toggle$1.Props, VariantProps<typeof toggleVariants> {}
|
|
2984
3100
|
declare namespace Toggle {
|
|
@@ -3134,7 +3250,7 @@ declare function useDsLocale(): string;
|
|
|
3134
3250
|
//#endregion
|
|
3135
3251
|
//#region src/i18n/keys.d.ts
|
|
3136
3252
|
/** All translation keys owned by the `ds` namespace. Flat dotted keys (keySeparator: false). */
|
|
3137
|
-
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';
|
|
3138
3254
|
/** A complete set of translations for one language. Missing a key is a compile error. */
|
|
3139
3255
|
type DsLocale = Record<DsI18nKey, string>;
|
|
3140
3256
|
//#endregion
|
|
@@ -3196,4 +3312,4 @@ declare function useAudioGauge(options?: UseAudioGaugeOptions): UseAudioGaugeRes
|
|
|
3196
3312
|
//#region src/lib/utils.d.ts
|
|
3197
3313
|
declare function cn(...inputs: ClassValue[]): string;
|
|
3198
3314
|
//#endregion
|
|
3199
|
-
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,
|
|
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 };
|