@aircall/ds 0.28.1 → 0.30.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 +258 -82
- package/dist/index.js +688 -388
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -12,7 +12,6 @@ import { Separator as Separator$1 } from "@base-ui/react/separator";
|
|
|
12
12
|
import { DayButton, DayPicker, Locale } from "react-day-picker";
|
|
13
13
|
import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
|
|
14
14
|
import { Checkbox as Checkbox$1 } from "@base-ui/react/checkbox";
|
|
15
|
-
import { ScrollArea as ScrollAreaPrimitive } from "@base-ui/react/scroll-area";
|
|
16
15
|
import { Collapsible as Collapsible$1 } from "@base-ui/react/collapsible";
|
|
17
16
|
import * as _base_ui_react0 from "@base-ui/react";
|
|
18
17
|
import { Combobox as Combobox$1 } from "@base-ui/react";
|
|
@@ -23,6 +22,7 @@ import { ItemInstance } from "@headless-tree/core";
|
|
|
23
22
|
import { Drawer as DrawerPrimitive } from "@base-ui/react/drawer";
|
|
24
23
|
import { Radio } from "@base-ui/react/radio";
|
|
25
24
|
import { RadioGroup as RadioGroup$1 } from "@base-ui/react/radio-group";
|
|
25
|
+
import { ScrollArea as ScrollAreaPrimitive } from "@base-ui/react/scroll-area";
|
|
26
26
|
import { Menu } from "@base-ui/react/menu";
|
|
27
27
|
import { Categories, SuggestionMode } from "emoji-picker-react";
|
|
28
28
|
import { Popover as Popover$1 } from "@base-ui/react/popover";
|
|
@@ -39,7 +39,7 @@ import { Switch as Switch$1 } from "@base-ui/react/switch";
|
|
|
39
39
|
import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
|
|
40
40
|
import { Toggle as Toggle$1 } from "@base-ui/react/toggle";
|
|
41
41
|
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
42
|
-
import * as
|
|
42
|
+
import * as class_variance_authority_types5 from "class-variance-authority/types";
|
|
43
43
|
import { CountryCode } from "@aircall/numbers";
|
|
44
44
|
|
|
45
45
|
//#region src/components/accordion.d.ts
|
|
@@ -99,10 +99,10 @@ declare namespace AccordionContent {
|
|
|
99
99
|
//#region src/components/button.d.ts
|
|
100
100
|
/** `cva` variant definitions for {@link Button} — resolves `variant`, `size`, and `block` into class names. */
|
|
101
101
|
declare const buttonVariants: (props?: ({
|
|
102
|
-
variant?: "link" | "default" | "
|
|
102
|
+
variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
103
103
|
size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
|
|
104
104
|
block?: boolean | null | undefined;
|
|
105
|
-
} &
|
|
105
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
106
106
|
/**
|
|
107
107
|
* Clickable button. Renders a Base UI `Button` primitive as a `<button>` element,
|
|
108
108
|
* styled via `buttonVariants` (variant / size / block).
|
|
@@ -669,8 +669,8 @@ declare namespace AlertDialogCancel {
|
|
|
669
669
|
* default `default`) sets the background, border, and icon colour scheme.
|
|
670
670
|
*/
|
|
671
671
|
declare const alertVariants: (props?: ({
|
|
672
|
-
variant?: "default" | "
|
|
673
|
-
} &
|
|
672
|
+
variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
673
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
674
674
|
/**
|
|
675
675
|
* Callout that draws attention to an important, contextual message.
|
|
676
676
|
*
|
|
@@ -754,7 +754,7 @@ declare const attachmentVariants: (props?: ({
|
|
|
754
754
|
size?: "default" | "sm" | "xs" | null | undefined;
|
|
755
755
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
756
756
|
block?: boolean | null | undefined;
|
|
757
|
-
} &
|
|
757
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
758
758
|
/**
|
|
759
759
|
* Card displaying a single file or image attachment with its metadata,
|
|
760
760
|
* upload state, and actions. Renders a `<div>`; compose it from
|
|
@@ -797,7 +797,7 @@ declare namespace Attachment {
|
|
|
797
797
|
}
|
|
798
798
|
declare const attachmentMediaVariants: (props?: ({
|
|
799
799
|
variant?: "image" | "icon" | null | undefined;
|
|
800
|
-
} &
|
|
800
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
801
801
|
/**
|
|
802
802
|
* Leading media slot of an `Attachment` — holds an icon (`variant="icon"`)
|
|
803
803
|
* or an image thumbnail (`variant="image"`). Renders a `<div>`.
|
|
@@ -969,8 +969,8 @@ declare namespace AvatarGroupCount {
|
|
|
969
969
|
* (`default` | `secondary` | `ghost`, default `default`) sets the colour scheme.
|
|
970
970
|
*/
|
|
971
971
|
declare const counterBadgeVariants: (props?: ({
|
|
972
|
-
variant?: "default" | "
|
|
973
|
-
} &
|
|
972
|
+
variant?: "default" | "secondary" | "ghost" | null | undefined;
|
|
973
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
974
974
|
/**
|
|
975
975
|
* Small pill for surfacing a count or short status, e.g. an unread indicator.
|
|
976
976
|
* Renders a `<span>` (override the element via the `render` prop).
|
|
@@ -994,7 +994,7 @@ declare const badgeVariants: (props?: ({
|
|
|
994
994
|
size?: "default" | "lg" | null | undefined;
|
|
995
995
|
color?: "blue" | "green" | "pink" | "purple" | "red" | "yellow" | "charcoal" | null | undefined;
|
|
996
996
|
tone?: "dark" | "light" | "medium-dark" | "medium-light" | null | undefined;
|
|
997
|
-
} &
|
|
997
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
998
998
|
type BadgeVariants = VariantProps<typeof badgeVariants>;
|
|
999
999
|
/** Constrained DS badge fill color (no freeform hex). */
|
|
1000
1000
|
type BadgeColor = NonNullable<BadgeVariants['color']>;
|
|
@@ -1032,7 +1032,7 @@ declare namespace BadgeGroup {
|
|
|
1032
1032
|
}
|
|
1033
1033
|
declare const badgeGroupCountVariants: (props?: ({
|
|
1034
1034
|
size?: "default" | "lg" | null | undefined;
|
|
1035
|
-
} &
|
|
1035
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
1036
1036
|
/**
|
|
1037
1037
|
* Trailing "+N" overflow counter for a `BadgeGroup`. Renders a ghost `CounterBadge`
|
|
1038
1038
|
* sized to match the group's badges (`size` mirrors `Badge`'s `default` / `lg`).
|
|
@@ -1050,9 +1050,9 @@ declare namespace BadgeGroupCount {
|
|
|
1050
1050
|
* edge gets the accent border.
|
|
1051
1051
|
*/
|
|
1052
1052
|
declare const bannerVariants: (props?: ({
|
|
1053
|
-
variant?: "default" | "
|
|
1053
|
+
variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
1054
1054
|
borderDirection?: "bottom" | "top" | null | undefined;
|
|
1055
|
-
} &
|
|
1055
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
1056
1056
|
/**
|
|
1057
1057
|
* Full-width contextual message, typically pinned to the top or bottom of a
|
|
1058
1058
|
* view. Like {@link Alert} but edge-to-edge with a single accent border.
|
|
@@ -1207,7 +1207,7 @@ declare namespace Separator {
|
|
|
1207
1207
|
/** `cva` variant definitions for {@link ButtonGroup} — resolves `orientation` (horizontal / vertical) into class names. */
|
|
1208
1208
|
declare const buttonGroupVariants: (props?: ({
|
|
1209
1209
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
1210
|
-
} &
|
|
1210
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
1211
1211
|
/**
|
|
1212
1212
|
* Groups related buttons into a single visual unit with shared borders and merged corners.
|
|
1213
1213
|
* Renders a `<div role="group">` and normalizes the radii/borders of its children.
|
|
@@ -1497,46 +1497,6 @@ declare namespace Chip {
|
|
|
1497
1497
|
type Props = ChipProps;
|
|
1498
1498
|
}
|
|
1499
1499
|
//#endregion
|
|
1500
|
-
//#region src/components/filter.d.ts
|
|
1501
|
-
/**
|
|
1502
|
-
* A removable active-filter token for a filter bar / toolbar — a dark charcoal
|
|
1503
|
-
* `Chip` with a trailing remove (X). Shows each applied filter above a
|
|
1504
|
-
* searchable data view (table / list); clicking the X clears that filter
|
|
1505
|
-
* (`onRemove`). Long values truncate with an ellipsis, capped at the Badge
|
|
1506
|
-
* `max-w-36` (144px). Compose inside a `FilterGroup` with a trailing
|
|
1507
|
-
* `FilterClearAllButton` (see the FilterBar story).
|
|
1508
|
-
*/
|
|
1509
|
-
declare const Filter: React.ForwardRefExoticComponent<FilterProps & React.RefAttributes<HTMLSpanElement>>;
|
|
1510
|
-
interface FilterProps extends Pick<Chip.Props, 'className' | 'children'> {
|
|
1511
|
-
/** Called when the trailing X is activated to clear this filter. */
|
|
1512
|
-
onRemove: () => void;
|
|
1513
|
-
/** Accessible label for the remove button. Defaults to "Remove filter". */
|
|
1514
|
-
removeLabel?: string;
|
|
1515
|
-
}
|
|
1516
|
-
declare namespace Filter {
|
|
1517
|
-
type Props = FilterProps;
|
|
1518
|
-
}
|
|
1519
|
-
/**
|
|
1520
|
-
* Layout container for a row of `Filter` chips (and a trailing
|
|
1521
|
-
* `FilterClearAllButton`). Always a single, non-wrapping row inside a
|
|
1522
|
-
* horizontal `ScrollArea` (inset scroll + edge fade) — it does not wrap onto
|
|
1523
|
-
* multiple lines.
|
|
1524
|
-
*/
|
|
1525
|
-
declare const FilterGroup: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1526
|
-
declare namespace FilterGroup {
|
|
1527
|
-
type Props = React.ComponentProps<'div'>;
|
|
1528
|
-
}
|
|
1529
|
-
/**
|
|
1530
|
-
* The trailing "Clear all filters" action for a `FilterGroup` — a ghost,
|
|
1531
|
-
* small `Button` with the styling pinned. Provide `onClick`; the label
|
|
1532
|
-
* defaults to "Clear all filters" (pass translated `children` to override).
|
|
1533
|
-
*/
|
|
1534
|
-
declare const FilterClearAllButton: React.ForwardRefExoticComponent<Omit<FilterClearAllButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1535
|
-
interface FilterClearAllButtonProps extends Omit<Button.Props, 'variant' | 'size'> {}
|
|
1536
|
-
declare namespace FilterClearAllButton {
|
|
1537
|
-
type Props = FilterClearAllButtonProps;
|
|
1538
|
-
}
|
|
1539
|
-
//#endregion
|
|
1540
1500
|
//#region src/components/collapsible.d.ts
|
|
1541
1501
|
/**
|
|
1542
1502
|
* Root container for a Collapsible. Manages the open/closed state of a single
|
|
@@ -1734,6 +1694,220 @@ declare const ComboboxChipsInput: React.ForwardRefExoticComponent<Omit<_base_ui_
|
|
|
1734
1694
|
*/
|
|
1735
1695
|
declare function useComboboxAnchor(): React.RefObject<HTMLDivElement | null>;
|
|
1736
1696
|
//#endregion
|
|
1697
|
+
//#region src/components/combobox-rows.d.ts
|
|
1698
|
+
/**
|
|
1699
|
+
* Async states a data-driven combobox list can be in (mirrors `DataTable`'s
|
|
1700
|
+
* `loadingState`). Shared by `DataCombobox` and `ComboboxBody`:
|
|
1701
|
+
* - `'loading'` — initial load with no items yet; the list shows skeleton rows.
|
|
1702
|
+
* - `'filtering'` — re-querying after the user typed; the current results stay
|
|
1703
|
+
* in place under a dimmed overlay with a spinner (context + stable height)
|
|
1704
|
+
* until the new results arrive. Keep the previous `items` until then.
|
|
1705
|
+
* - `'loadingMore'` — fetching the next page for infinite scroll; a spinner row
|
|
1706
|
+
* renders at the bottom of the list.
|
|
1707
|
+
* Omit (or `'idle'`) when not loading.
|
|
1708
|
+
*/
|
|
1709
|
+
type ComboboxLoadingState = 'idle' | 'loading' | 'filtering' | 'loadingMore';
|
|
1710
|
+
//#endregion
|
|
1711
|
+
//#region src/lib/use-combobox-item-selection.d.ts
|
|
1712
|
+
/**
|
|
1713
|
+
* WHY a selection changed, straight from Base UI's combobox root — `'item-press'`,
|
|
1714
|
+
* `'escape-key'`, `'clear-press'`, … See `ComboboxRoot.ChangeEventDetails`.
|
|
1715
|
+
*
|
|
1716
|
+
* Inferred from the primitive rather than hand-written, for the same reason
|
|
1717
|
+
* `ComboboxInputValueChange` is: the reason union is Base UI's to grow.
|
|
1718
|
+
*/
|
|
1719
|
+
type ComboboxSelectionChangeDetails = Parameters<NonNullable<React.ComponentProps<typeof Combobox$1.Root>['onValueChange']>>[1];
|
|
1720
|
+
//#endregion
|
|
1721
|
+
//#region src/components/combobox-body.d.ts
|
|
1722
|
+
/**
|
|
1723
|
+
* Row count at which `ComboboxBody` virtualises its rows on its own, when `virtualizeRows` was not
|
|
1724
|
+
* passed either way. Exported so it can be asserted against and tuned in ONE place.
|
|
1725
|
+
*
|
|
1726
|
+
* Crossing it LATCHES virtualisation on for the life of the component - see the `virtualizeRows`
|
|
1727
|
+
* prop doc. A list that declares `onFetchMore` can grow without bound, so it starts out virtualised
|
|
1728
|
+
* regardless of this number rather than waiting to cross it.
|
|
1729
|
+
*
|
|
1730
|
+
* A STARTING POINT, not a measured optimum. The two real data points behind it: 244 countries with
|
|
1731
|
+
* a flag per row was visibly laggy unvirtualised, and the user lists are server-capped at 10 rows
|
|
1732
|
+
* today, so both known cases sit far from this line and the exact value is not load-bearing yet.
|
|
1733
|
+
* Measure before tuning it - the honest cost driver is how expensive `renderItem` is, not the row
|
|
1734
|
+
* count alone, and a threshold cannot see that.
|
|
1735
|
+
*/
|
|
1736
|
+
declare const COMBOBOX_AUTO_VIRTUALIZE_THRESHOLD = 100;
|
|
1737
|
+
interface ComboboxBodyProps<T> {
|
|
1738
|
+
/** The items to show in the list — the already-prepared page/result set. */
|
|
1739
|
+
items: T[];
|
|
1740
|
+
/** Resolves an item's stable value/key (used for selection and de-duplication). */
|
|
1741
|
+
getItemValue: (item: T) => string;
|
|
1742
|
+
/** Resolves an item's display label — also the typeahead/accessibility text. */
|
|
1743
|
+
getItemLabel: (item: T) => string;
|
|
1744
|
+
/** Optional rich row content (icon, description, …). Defaults to `getItemLabel`. */
|
|
1745
|
+
renderItem?: (item: T) => React.ReactNode;
|
|
1746
|
+
/**
|
|
1747
|
+
* Groups items under headers. Return the group key an item belongs to; items
|
|
1748
|
+
* are grouped in first-seen order. When provided, the list renders grouped
|
|
1749
|
+
* sections. Pair with `getGroupLabel` for a custom header.
|
|
1750
|
+
*/
|
|
1751
|
+
getGroupKey?: (item: T) => string;
|
|
1752
|
+
/** Maps a group key to its header label. Defaults to the group key. */
|
|
1753
|
+
getGroupLabel?: (groupKey: string) => React.ReactNode;
|
|
1754
|
+
/**
|
|
1755
|
+
* `'single'` (default) selects one item; `'multiple'` selects many, each row
|
|
1756
|
+
* keeping its check indicator. There is no chips field — the host (a `Filter`
|
|
1757
|
+
* trigger, a form field) summarises the selection.
|
|
1758
|
+
*/
|
|
1759
|
+
selectionMode?: 'single' | 'multiple';
|
|
1760
|
+
/** Controlled selected item keys (values from `getItemValue`). */
|
|
1761
|
+
selectedKeys?: Set<string>;
|
|
1762
|
+
/** Initial selected keys for uncontrolled selection. Ignored when `selectedKeys` is set. */
|
|
1763
|
+
defaultSelectedKeys?: Set<string>;
|
|
1764
|
+
/**
|
|
1765
|
+
* Called with the new set of selected keys whenever selection changes, and with WHY it
|
|
1766
|
+
* changed (`details.reason`) — `'item-press'`, `'clear-press'`, `'escape-key'`, ….
|
|
1767
|
+
*
|
|
1768
|
+
* Read the reason whenever a deliberate pick and a RESET must be told apart. Escape clears
|
|
1769
|
+
* an inline list's selection (see the dismissal note on the component) and reports it here
|
|
1770
|
+
* exactly like a pick, so a host that treats every change as a user choice will treat that
|
|
1771
|
+
* clear as one too. `Filter`'s popup is the case in point: it must not apply an Escape
|
|
1772
|
+
* clear, because Escape there means "discard my draft", not "select nothing".
|
|
1773
|
+
*/
|
|
1774
|
+
onSelectionChange?: (keys: Set<string>, details: ComboboxSelectionChangeDetails) => void;
|
|
1775
|
+
/**
|
|
1776
|
+
* Known selected items used to seed the label cache, so a selected key whose
|
|
1777
|
+
* item is NOT in the current `items` (e.g. a saved filter value not yet
|
|
1778
|
+
* fetched, or a selection made before searching away) still resolves.
|
|
1779
|
+
*/
|
|
1780
|
+
selectedItems?: T[];
|
|
1781
|
+
/** Item keys that cannot be selected — rendered disabled and dimmed. */
|
|
1782
|
+
disabledKeys?: Set<string>;
|
|
1783
|
+
/** The list's async state. Omit (or `'idle'`) when not loading. */
|
|
1784
|
+
loadingState?: ComboboxLoadingState;
|
|
1785
|
+
/** Number of skeleton rows shown while `loadingState` is `'loading'`. */
|
|
1786
|
+
skeletonCount?: number;
|
|
1787
|
+
/**
|
|
1788
|
+
* Enables SERVER-side search. When omitted, the list filters the provided
|
|
1789
|
+
* `items` client-side as you type (Base UI's built-in filter) — ideal for a
|
|
1790
|
+
* fixed list. When provided, internal filtering is turned off and this is
|
|
1791
|
+
* called (debounce it yourself) with the query: feed the matching `items` and
|
|
1792
|
+
* set `loadingState='filtering'` while the fetch runs.
|
|
1793
|
+
*
|
|
1794
|
+
* Prefer this for any PAGINATED list: while `onFetchMore`+`hasMore` are active
|
|
1795
|
+
* client-side filtering is disabled (it only sees loaded pages and would break
|
|
1796
|
+
* infinite scroll), so a searchable paginated list must search server-side.
|
|
1797
|
+
*
|
|
1798
|
+
* Called with `''` when the query is cleared — including the automatic clear
|
|
1799
|
+
* after a selection. Treat `''` as "no query": return the initial, unfiltered
|
|
1800
|
+
* list. Otherwise the results stay stuck on the last search with no way back.
|
|
1801
|
+
*/
|
|
1802
|
+
onSearch?: (query: string) => void;
|
|
1803
|
+
/** Called when the user scrolls near the bottom of the list; fetch the next page. */
|
|
1804
|
+
onFetchMore?: () => void;
|
|
1805
|
+
/** Whether more pages are available. */
|
|
1806
|
+
hasMore?: boolean;
|
|
1807
|
+
/** Shown when there are no items and not loading. Defaults to a "no results" message. */
|
|
1808
|
+
emptyState?: React.ReactNode;
|
|
1809
|
+
/**
|
|
1810
|
+
* Whether a search input renders above the list. Set `false` for a short
|
|
1811
|
+
* pick-list that doesn't need typeahead (e.g. a "Status" filter). Keyboard
|
|
1812
|
+
* selection still works: with no input to own the tab stop, the LIST becomes
|
|
1813
|
+
* focusable and takes the arrow keys and Enter itself.
|
|
1814
|
+
* @default true
|
|
1815
|
+
*/
|
|
1816
|
+
searchable?: boolean;
|
|
1817
|
+
/** Placeholder for the search input. Ignored when `searchable` is `false`. */
|
|
1818
|
+
placeholder?: string;
|
|
1819
|
+
/**
|
|
1820
|
+
* Renders only the rows inside the scrolled window plus a small overscan,
|
|
1821
|
+
* instead of every item, via `@tanstack/react-virtual`.
|
|
1822
|
+
*
|
|
1823
|
+
* Three states, not two:
|
|
1824
|
+
* - `true` — always on, even for a short list.
|
|
1825
|
+
* - `false` — always off, even for a huge one. The escape hatch for a test that
|
|
1826
|
+
* needs every row in the DOM.
|
|
1827
|
+
* - omitted (the default) — AUTO: on once this list either declares
|
|
1828
|
+
* `onFetchMore` (so it can grow without bound) or reaches
|
|
1829
|
+
* {@link COMBOBOX_AUTO_VIRTUALIZE_THRESHOLD} rows. A long list therefore does
|
|
1830
|
+
* not have to remember to ask.
|
|
1831
|
+
*
|
|
1832
|
+
* Auto is one-way: it LATCHES on and never turns back off, even if the list
|
|
1833
|
+
* later shrinks below the threshold. That matters because turning it off again
|
|
1834
|
+
* is not free. Base UI renders its list element bare when `virtualized` and
|
|
1835
|
+
* wrapped in a `CompositeList` when not, so changing that prop mid-life changes
|
|
1836
|
+
* the component type at that position and React remounts the list. Measured
|
|
1837
|
+
* cost of one such change, driven from a story: the list element is replaced and
|
|
1838
|
+
* `scrollTop` goes 656 to 0.
|
|
1839
|
+
*
|
|
1840
|
+
* Which is also why a list declaring `onFetchMore` virtualises from the start
|
|
1841
|
+
* rather than waiting to cross the threshold — it will cross it eventually, and
|
|
1842
|
+
* the crossing is the expensive part. A list with a fixed set of items that is
|
|
1843
|
+
* simply handed more rows later still pays that one crossing; latching is what
|
|
1844
|
+
* keeps it to one rather than one per fluctuation.
|
|
1845
|
+
*
|
|
1846
|
+
* IGNORED for a GROUPED list (`getGroupKey` set), including when passed
|
|
1847
|
+
* explicitly — group headers would need a second, variable-height index space
|
|
1848
|
+
* on top of the row one, so grouped lists keep rendering every row. The
|
|
1849
|
+
* threshold does not override that gate. Same shape as `DataTable`, which
|
|
1850
|
+
* silently gates its own `virtualizeRows` on `fillHeight` for the same "the
|
|
1851
|
+
* prerequisite isn't there" reason.
|
|
1852
|
+
*
|
|
1853
|
+
* Everything else is unchanged: search (client- or server-side), keyboard
|
|
1854
|
+
* navigation and typeahead still reach every item, not just the mounted ones,
|
|
1855
|
+
* and infinite scroll still fires at the true bottom of the data.
|
|
1856
|
+
* @default auto — see {@link COMBOBOX_AUTO_VIRTUALIZE_THRESHOLD}
|
|
1857
|
+
*/
|
|
1858
|
+
virtualizeRows?: boolean;
|
|
1859
|
+
/**
|
|
1860
|
+
* Assumed row height in px before a row has been measured, while
|
|
1861
|
+
* `virtualizeRows` is on. Real heights are measured after the first paint, so
|
|
1862
|
+
* this only sets the initial scrollbar; pass it when `renderItem` produces a
|
|
1863
|
+
* row taller than one line of text so the scrollbar doesn't jump.
|
|
1864
|
+
* @default 36
|
|
1865
|
+
*/
|
|
1866
|
+
estimateRowHeight?: number;
|
|
1867
|
+
/** Class applied to the wrapper holding the search input and the list. */
|
|
1868
|
+
className?: string;
|
|
1869
|
+
'aria-label'?: string;
|
|
1870
|
+
}
|
|
1871
|
+
/**
|
|
1872
|
+
* A data-driven combobox list with NO trigger and NO popup of its own: an
|
|
1873
|
+
* optional search input above a selectable list, ready to be dropped into a
|
|
1874
|
+
* surface the caller owns (a `Filter` popover, a panel, a dialog). Driven by an
|
|
1875
|
+
* `items` array plus `getItemValue`/`getItemLabel`, with opt-in server-side
|
|
1876
|
+
* search, grouping, infinite scroll, and loading/empty states.
|
|
1877
|
+
*
|
|
1878
|
+
* Use `DataCombobox` instead when you want the field-plus-popup combobox. This
|
|
1879
|
+
* is the same rows region plus an optional search input, without the field or the
|
|
1880
|
+
* popup around them, so the host controls open state, dismissal and positioning.
|
|
1881
|
+
* The name pairs with `ComboboxContent`, which is the popup this deliberately
|
|
1882
|
+
* does not have.
|
|
1883
|
+
*
|
|
1884
|
+
* Dismissal note: with no popup of its own, this holds no dismiss layer, so an
|
|
1885
|
+
* outside press or Escape always reaches the host. Escape ALSO resets the list —
|
|
1886
|
+
* clearing the query and the selection, the combobox convention for a list with
|
|
1887
|
+
* nothing open — but only while the search box is untouched; once the user has
|
|
1888
|
+
* clicked or typed in it, Base UI treats the list as open and Escape just
|
|
1889
|
+
* dismisses. The reset is forwarded to `onSearch('')` so a server-driven list
|
|
1890
|
+
* comes back unfiltered instead of stranding the previous query's page. Dismiss
|
|
1891
|
+
* via an outside press (or the host's own close affordance) when the selection
|
|
1892
|
+
* must survive.
|
|
1893
|
+
*
|
|
1894
|
+
* @example
|
|
1895
|
+
* ```tsx
|
|
1896
|
+
* <ComboboxBody
|
|
1897
|
+
* items={statuses}
|
|
1898
|
+
* getItemValue={status => status.id}
|
|
1899
|
+
* getItemLabel={status => status.label}
|
|
1900
|
+
* selectionMode="multiple"
|
|
1901
|
+
* selectedKeys={selectedKeys}
|
|
1902
|
+
* onSelectionChange={setSelectedKeys}
|
|
1903
|
+
* />
|
|
1904
|
+
* ```
|
|
1905
|
+
*/
|
|
1906
|
+
declare function ComboboxBody<T>(componentProps: ComboboxBody.Props<T>): React.JSX.Element;
|
|
1907
|
+
declare namespace ComboboxBody {
|
|
1908
|
+
type Props<T> = ComboboxBodyProps<T>;
|
|
1909
|
+
}
|
|
1910
|
+
//#endregion
|
|
1737
1911
|
//#region src/components/dialog.d.ts
|
|
1738
1912
|
/**
|
|
1739
1913
|
* Root of the dialog, wrapping Base UI's `Dialog.Root`. Manages open/close state and renders no DOM
|
|
@@ -1990,17 +2164,6 @@ declare namespace CountryFlag {
|
|
|
1990
2164
|
}
|
|
1991
2165
|
//#endregion
|
|
1992
2166
|
//#region src/components/data-combobox.d.ts
|
|
1993
|
-
/**
|
|
1994
|
-
* Async states a `DataCombobox` can be in (mirrors `DataTable`'s `loadingState`):
|
|
1995
|
-
* - `'loading'` — initial load with no items yet; the list shows skeleton rows.
|
|
1996
|
-
* - `'filtering'` — re-querying after the user typed; the current results stay
|
|
1997
|
-
* in place under a dimmed overlay with a spinner (context + stable height)
|
|
1998
|
-
* until the new results arrive. Keep the previous `items` until then.
|
|
1999
|
-
* - `'loadingMore'` — fetching the next page for infinite scroll; a spinner row
|
|
2000
|
-
* renders at the bottom of the list.
|
|
2001
|
-
* Omit (or `'idle'`) when not loading.
|
|
2002
|
-
*/
|
|
2003
|
-
type DataComboboxLoadingState = 'idle' | 'loading' | 'filtering' | 'loadingMore';
|
|
2004
2167
|
interface DataComboboxProps<T> {
|
|
2005
2168
|
/** The items to show in the dropdown — the already-prepared page/result set. */
|
|
2006
2169
|
items: T[];
|
|
@@ -2037,8 +2200,13 @@ interface DataComboboxProps<T> {
|
|
|
2037
2200
|
selectedKeys?: Set<string>;
|
|
2038
2201
|
/** Initial selected keys for uncontrolled selection. Ignored when `selectedKeys` is set. */
|
|
2039
2202
|
defaultSelectedKeys?: Set<string>;
|
|
2040
|
-
/**
|
|
2041
|
-
|
|
2203
|
+
/**
|
|
2204
|
+
* Called with the new set of selected keys whenever selection changes, and with WHY it
|
|
2205
|
+
* changed (`details.reason`) — `'item-press'`, `'clear-press'`, `'chip-remove-press'`, ….
|
|
2206
|
+
* Read the reason when a deliberate pick and a reset must be told apart; ignore the second
|
|
2207
|
+
* argument otherwise.
|
|
2208
|
+
*/
|
|
2209
|
+
onSelectionChange?: (keys: Set<string>, details: ComboboxSelectionChangeDetails) => void;
|
|
2042
2210
|
/**
|
|
2043
2211
|
* Called when the dropdown opens (`true`) or closes (`false`). Use the
|
|
2044
2212
|
* `false` edge to commit a deferred action — e.g. a table filter that should
|
|
@@ -2055,7 +2223,7 @@ interface DataComboboxProps<T> {
|
|
|
2055
2223
|
/** Item keys that cannot be selected — rendered disabled and dimmed. */
|
|
2056
2224
|
disabledKeys?: Set<string>;
|
|
2057
2225
|
/** The dropdown's async state. Omit (or `'idle'`) when not loading. */
|
|
2058
|
-
loadingState?:
|
|
2226
|
+
loadingState?: ComboboxLoadingState;
|
|
2059
2227
|
/** Number of skeleton rows shown while `loadingState` is `'loading'`. */
|
|
2060
2228
|
skeletonCount?: number;
|
|
2061
2229
|
/**
|
|
@@ -2132,6 +2300,14 @@ declare function DataCombobox<T>(componentProps: DataCombobox.Props<T>): React.J
|
|
|
2132
2300
|
declare namespace DataCombobox {
|
|
2133
2301
|
type Props<T> = DataComboboxProps<T>;
|
|
2134
2302
|
}
|
|
2303
|
+
/**
|
|
2304
|
+
* The loading state union, under its original `DataCombobox`-prefixed name.
|
|
2305
|
+
*
|
|
2306
|
+
* @deprecated Use `ComboboxLoadingState`. `DataCombobox` and `ComboboxBody` both
|
|
2307
|
+
* take this type, so the `Data` prefix no longer describes it. This alias is
|
|
2308
|
+
* identical and keeps working; it will be removed in a future minor.
|
|
2309
|
+
*/
|
|
2310
|
+
type DataComboboxLoadingState = ComboboxLoadingState;
|
|
2135
2311
|
//#endregion
|
|
2136
2312
|
//#region src/components/data-table.d.ts
|
|
2137
2313
|
/** Async states a `DataTable` can be in (mirrors React Spectrum's `loadingState`). */
|
|
@@ -2953,7 +3129,7 @@ declare namespace EmptyHeader {
|
|
|
2953
3129
|
}
|
|
2954
3130
|
declare const emptyMediaVariants: (props?: ({
|
|
2955
3131
|
variant?: "default" | "icon" | null | undefined;
|
|
2956
|
-
} &
|
|
3132
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
2957
3133
|
/**
|
|
2958
3134
|
* Wrapper for the empty state's icon or illustration. Renders a `<div>`; the `icon`
|
|
2959
3135
|
* variant gives it a muted rounded background, while `default` is transparent.
|
|
@@ -3251,7 +3427,7 @@ declare namespace EmojiPickerContent {
|
|
|
3251
3427
|
declare const fabVariants: (props?: ({
|
|
3252
3428
|
variant?: "default" | "outline" | null | undefined;
|
|
3253
3429
|
size?: "lg" | "icon-lg" | null | undefined;
|
|
3254
|
-
} &
|
|
3430
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
3255
3431
|
/**
|
|
3256
3432
|
* Floating action button — a raised, shadowed button for a primary action.
|
|
3257
3433
|
* Renders Base UI's `Button` primitive as a `<button>`.
|
|
@@ -3325,7 +3501,7 @@ declare namespace FieldGroup {
|
|
|
3325
3501
|
}
|
|
3326
3502
|
declare const fieldVariants: (props?: ({
|
|
3327
3503
|
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
3328
|
-
} &
|
|
3504
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
3329
3505
|
/**
|
|
3330
3506
|
* Layout wrapper pairing a control with its label, description, and error. Renders a
|
|
3331
3507
|
* `<div role="group">`. The `orientation` variant (`'vertical' | 'horizontal' | 'responsive'`)
|
|
@@ -4130,7 +4306,7 @@ declare const InlineEditTextarea: React.ForwardRefExoticComponent<Omit<InlineEdi
|
|
|
4130
4306
|
//#region src/components/input.d.ts
|
|
4131
4307
|
declare const inputVariants: (props?: ({
|
|
4132
4308
|
block?: boolean | null | undefined;
|
|
4133
|
-
} &
|
|
4309
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
4134
4310
|
/**
|
|
4135
4311
|
* Single-line text field styled to the design system.
|
|
4136
4312
|
*
|
|
@@ -4176,7 +4352,7 @@ declare namespace InputGroup {
|
|
|
4176
4352
|
}
|
|
4177
4353
|
declare const inputGroupAddonVariants: (props?: ({
|
|
4178
4354
|
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
4179
|
-
} &
|
|
4355
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
4180
4356
|
declare const InputGroupAddon: React.ForwardRefExoticComponent<Omit<InputGroupAddonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
4181
4357
|
interface InputGroupAddonProps extends React.ComponentProps<'div'>, VariantProps<typeof inputGroupAddonVariants> {}
|
|
4182
4358
|
declare namespace InputGroupAddon {
|
|
@@ -4398,9 +4574,9 @@ declare namespace ItemSeparator {
|
|
|
4398
4574
|
type Props = ItemSeparatorProps;
|
|
4399
4575
|
}
|
|
4400
4576
|
declare const itemVariants: (props?: ({
|
|
4401
|
-
variant?: "default" | "
|
|
4577
|
+
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
4402
4578
|
size?: "default" | "sm" | "xs" | null | undefined;
|
|
4403
|
-
} &
|
|
4579
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
4404
4580
|
/**
|
|
4405
4581
|
* Flexible list-item container laying out media, content, and actions on one row. Renders a `<div>`
|
|
4406
4582
|
* by default (swap the element via `render`). The `variant` (`'default' | 'outline' | 'muted'`) and
|
|
@@ -4423,7 +4599,7 @@ declare namespace Item {
|
|
|
4423
4599
|
}
|
|
4424
4600
|
declare const itemMediaVariants: (props?: ({
|
|
4425
4601
|
variant?: "image" | "default" | "icon" | null | undefined;
|
|
4426
|
-
} &
|
|
4602
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
4427
4603
|
/**
|
|
4428
4604
|
* Leading media slot of an `Item` (icon, image, or avatar). Renders a `<div>`. The `variant`
|
|
4429
4605
|
* (`'default' | 'icon' | 'image'`) tunes sizing and styling and defaults to `'default'`.
|
|
@@ -4782,7 +4958,7 @@ declare namespace ScrollBar {
|
|
|
4782
4958
|
/** `class-variance-authority` variants for the select trigger; exposes the `size` variant. */
|
|
4783
4959
|
declare const selectTriggerVariants: (props?: ({
|
|
4784
4960
|
size?: "default" | "sm" | null | undefined;
|
|
4785
|
-
} &
|
|
4961
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
4786
4962
|
/**
|
|
4787
4963
|
* Root of the select, aliasing Base UI's `Select.Root`. Manages open state and the selected value,
|
|
4788
4964
|
* and renders no DOM element — place `SelectTrigger` and `SelectContent` inside it.
|
|
@@ -5290,7 +5466,7 @@ declare namespace SidebarMenuItem {
|
|
|
5290
5466
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
5291
5467
|
variant?: "default" | "outline" | null | undefined;
|
|
5292
5468
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
5293
|
-
} &
|
|
5469
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
5294
5470
|
/**
|
|
5295
5471
|
* Primary clickable row inside a menu item, with variant/size styles and an
|
|
5296
5472
|
* optional tooltip shown only when collapsed. Renders a `<button>` by default,
|
|
@@ -5447,7 +5623,7 @@ declare namespace Toaster {
|
|
|
5447
5623
|
/** Class variants for `Spinner`, controlling its `size` (`default`, `sm`, `lg`, `xl`). */
|
|
5448
5624
|
declare const spinnerVariants: (props?: ({
|
|
5449
5625
|
size?: "default" | "sm" | "lg" | "xl" | null | undefined;
|
|
5450
|
-
} &
|
|
5626
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
5451
5627
|
/**
|
|
5452
5628
|
* Animated loading indicator. Renders a spinning `<svg>` (Loader icon) with
|
|
5453
5629
|
* `role="status"` and a localized `aria-label` for assistive technology.
|
|
@@ -5764,7 +5940,7 @@ declare namespace ThemeProvider {
|
|
|
5764
5940
|
declare const toggleVariants: (props?: ({
|
|
5765
5941
|
variant?: "default" | "outline" | null | undefined;
|
|
5766
5942
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
5767
|
-
} &
|
|
5943
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
5768
5944
|
/**
|
|
5769
5945
|
* A two-state button that can be pressed on or off, wrapping Base UI's `Toggle`.
|
|
5770
5946
|
* Renders a `<button aria-pressed>` styled via {@link toggleVariants}.
|
|
@@ -6040,4 +6216,4 @@ declare function useAudioGauge(options?: UseAudioGaugeOptions): UseAudioGaugeRes
|
|
|
6040
6216
|
//#region src/lib/utils.d.ts
|
|
6041
6217
|
declare function cn(...inputs: ClassValue[]): string;
|
|
6042
6218
|
//#endregion
|
|
6043
|
-
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,
|
|
6219
|
+
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, COMBOBOX_AUTO_VIRTUALIZE_THRESHOLD, 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, ComboboxBody, ComboboxChip, ComboboxChips, ComboboxChipsInput, type ComboboxClear, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, type ComboboxLoadingState, type ComboboxSelectionChangeDetails, 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, Gauge, HoverCard, HoverCardContent, HoverCardTrigger, type I18nLanguageSource, InlineEditInput, InlineEditMultiselect, InlineEditMultiselectChip, InlineEditMultiselectChips, InlineEditMultiselectContent, InlineEditMultiselectItem, InlineEditMultiselectTrigger, InlineEditMultiselectValue, InlineEditSelect, InlineEditSelectContent, InlineEditSelectItem, InlineEditSelectTrigger, InlineEditSelectValue, InlineEditTextarea, 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 };
|