@aircall/ds 0.29.0 → 0.31.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/index.d.ts CHANGED
@@ -9,7 +9,8 @@ import { useRender } from "@base-ui/react/use-render";
9
9
  import { AlertDialog as AlertDialog$1 } from "@base-ui/react/alert-dialog";
10
10
  import { Avatar as Avatar$1 } from "@base-ui/react/avatar";
11
11
  import { Separator as Separator$1 } from "@base-ui/react/separator";
12
- import { DayButton, DayPicker, Locale } from "react-day-picker";
12
+ import { DateRange, DayButton, DayPicker, DropdownProps, Locale, Matcher } from "react-day-picker";
13
+ import { Select as Select$1 } from "@base-ui/react/select";
13
14
  import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
14
15
  import { Checkbox as Checkbox$1 } from "@base-ui/react/checkbox";
15
16
  import { Collapsible as Collapsible$1 } from "@base-ui/react/collapsible";
@@ -19,16 +20,15 @@ import { Command as Command$1 } from "cmdk";
19
20
  import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
20
21
  import { ColumnDef, ColumnDef as ColumnDef$1, OnChangeFn, OnChangeFn as OnChangeFn$1, SortingState, SortingState as SortingState$1 } from "@tanstack/react-table";
21
22
  import { ItemInstance } from "@headless-tree/core";
23
+ import { Popover as Popover$1 } from "@base-ui/react/popover";
22
24
  import { Drawer as DrawerPrimitive } from "@base-ui/react/drawer";
23
25
  import { Radio } from "@base-ui/react/radio";
24
26
  import { RadioGroup as RadioGroup$1 } from "@base-ui/react/radio-group";
25
27
  import { ScrollArea as ScrollAreaPrimitive } from "@base-ui/react/scroll-area";
26
28
  import { Menu } from "@base-ui/react/menu";
27
29
  import { Categories, SuggestionMode } from "emoji-picker-react";
28
- import { Popover as Popover$1 } from "@base-ui/react/popover";
29
30
  import { ThemeProviderProps, useTheme } from "next-themes";
30
31
  import { PreviewCard } from "@base-ui/react/preview-card";
31
- import { Select as Select$1 } from "@base-ui/react/select";
32
32
  import { NumberField } from "@base-ui/react/number-field";
33
33
  import * as input_otp0 from "input-otp";
34
34
  import { OTPInput } from "input-otp";
@@ -669,7 +669,7 @@ 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" | "info" | "success" | "warning" | "error" | null | undefined;
672
+ variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
673
673
  } & class_variance_authority_types6.ClassProp) | undefined) => string;
674
674
  /**
675
675
  * Callout that draws attention to an important, contextual message.
@@ -751,7 +751,7 @@ declare namespace AlertAction {
751
751
  */
752
752
  type AttachmentState = 'idle' | 'uploading' | 'processing' | 'error' | 'done';
753
753
  declare const attachmentVariants: (props?: ({
754
- size?: "default" | "sm" | "xs" | null | undefined;
754
+ size?: "default" | "xs" | "sm" | null | undefined;
755
755
  orientation?: "horizontal" | "vertical" | null | undefined;
756
756
  block?: boolean | null | undefined;
757
757
  } & class_variance_authority_types6.ClassProp) | undefined) => string;
@@ -1050,7 +1050,7 @@ declare namespace BadgeGroupCount {
1050
1050
  * edge gets the accent border.
1051
1051
  */
1052
1052
  declare const bannerVariants: (props?: ({
1053
- variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
1053
+ variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
1054
1054
  borderDirection?: "bottom" | "top" | null | undefined;
1055
1055
  } & class_variance_authority_types6.ClassProp) | undefined) => string;
1056
1056
  /**
@@ -1245,6 +1245,89 @@ declare namespace ButtonGroupSeparator {
1245
1245
  }
1246
1246
  //#endregion
1247
1247
  //#region src/components/calendar.d.ts
1248
+ /**
1249
+ * DS Select-based dropdown for the react-day-picker month/year caption slots.
1250
+ *
1251
+ * Replaces the native `<select>` with the DS Base UI `Select` component so the
1252
+ * caption dropdowns match the full DS design system (popover, keyboard navigation,
1253
+ * focus ring, disabled items, accessible listbox/option roles).
1254
+ *
1255
+ * **RDP onChange bridge:** react-day-picker's `Dropdown` slot receives `onChange`
1256
+ * typed as `React.ChangeEventHandler<HTMLSelectElement>` (a native select event
1257
+ * handler). Base UI Select exposes `onValueChange(value: string)` instead. We
1258
+ * bridge by constructing a minimal synthetic event object
1259
+ * `{ target: { value: newValue } }` and casting it to the expected type — this
1260
+ * is the standard RDP v9 custom-dropdown integration pattern.
1261
+ *
1262
+ * **modal={false}:** The Base UI Select defaults to `modal={true}`, which renders
1263
+ * an `InternalBackdrop` covering the screen. When the Select is inside a DatePicker
1264
+ * Popover, this backdrop intercepts pointer events on the Popover content. Setting
1265
+ * `modal={false}` disables the backdrop so the Popover remains interactive while
1266
+ * the Select is open.
1267
+ *
1268
+ * Receives the full `DropdownProps` from react-day-picker (which extends
1269
+ * `SelectHTMLAttributes<HTMLSelectElement>` minus `children`), plus the
1270
+ * `options` array that react-day-picker passes for month/year values.
1271
+ */
1272
+ declare function CalendarDropdown({
1273
+ options,
1274
+ value,
1275
+ onChange,
1276
+ disabled,
1277
+ 'aria-label': ariaLabel,
1278
+ className,
1279
+ components: _components,
1280
+ classNames: _classNames
1281
+ }: DropdownProps): React.JSX.Element;
1282
+ type CalendarDropdownProps = DropdownProps;
1283
+ declare namespace CalendarDropdown {
1284
+ type Props = CalendarDropdownProps;
1285
+ }
1286
+ /**
1287
+ * Returns `true` when the given event target is inside the calendar's own
1288
+ * month/year dropdown (trigger or portaled popup). Use this in a wrapping
1289
+ * `Popover`'s `onOpenChange` handler to prevent the Popover from closing when
1290
+ * the user clicks a `CalendarDropdown` month/year selector.
1291
+ *
1292
+ * **Why this is needed:** Base UI Select renders its popup in a portal
1293
+ * (`document.body`), so it does not register with the surrounding Popover's
1294
+ * FloatingTree. Base UI's `useDismiss` therefore treats any click on the Select
1295
+ * trigger or popup as an "outside press" and fires `onOpenChange(false, { reason:
1296
+ * 'outside-press' })`. Calling `eventDetails.cancel()` when this helper returns
1297
+ * `true` prevents the Popover from closing while the user navigates the dropdowns.
1298
+ *
1299
+ * **Scoped to calendar dropdowns only:** The check matches `[data-calendar-dropdown]`,
1300
+ * which is set exclusively on the `SelectTrigger` and `SelectContent` rendered by
1301
+ * `CalendarDropdown`. Unrelated DS Select components elsewhere on the page do NOT
1302
+ * carry this attribute, so clicking them correctly dismisses the calendar popover.
1303
+ *
1304
+ * `DatePicker` uses this internally. Consumers who render a standalone `Calendar`
1305
+ * with `captionLayout="dropdown"` inside their own `Popover` should wire it up the
1306
+ * same way:
1307
+ *
1308
+ * @example
1309
+ * ```tsx
1310
+ * import { Popover, PopoverContent } from '@aircall/ds';
1311
+ * import { Calendar, isInsideCalendarDropdown } from '@aircall/ds';
1312
+ *
1313
+ * <Popover
1314
+ * onOpenChange={(open, eventDetails) => {
1315
+ * if (!open && eventDetails.reason === 'outside-press') {
1316
+ * if (isInsideCalendarDropdown(eventDetails.event)) {
1317
+ * eventDetails.cancel();
1318
+ * return;
1319
+ * }
1320
+ * }
1321
+ * setOpen(open);
1322
+ * }}
1323
+ * >
1324
+ * <PopoverContent>
1325
+ * <Calendar captionLayout="dropdown" ... />
1326
+ * </PopoverContent>
1327
+ * </Popover>
1328
+ * ```
1329
+ */
1330
+ declare function isInsideCalendarDropdown(event: Event): boolean;
1248
1331
  /**
1249
1332
  * Date picker calendar, a themed wrapper around react-day-picker's `DayPicker`.
1250
1333
  * Renders DayPicker's grid inside a `<div data-slot="calendar">`, styled with DS
@@ -1278,8 +1361,13 @@ declare namespace Calendar {
1278
1361
  }
1279
1362
  /**
1280
1363
  * Single day cell within the calendar grid. Renders a ghost icon `Button`
1281
- * (`<button>`) carrying selection/range data attributes, and auto-focuses
1282
- * itself when react-day-picker marks the day as focused.
1364
+ * (`<button>`) carrying selection/range data attributes.
1365
+ *
1366
+ * Re-implements react-day-picker's native roving-focus effect: when RDP marks
1367
+ * this day as focused (via `modifiers.focused`), the effect calls
1368
+ * `ref.current?.focus()` to move DOM focus to the button. This restores the
1369
+ * roving-tabindex keyboard navigation (ArrowLeft/Right/Up/Down) that our
1370
+ * custom DayButton slot would otherwise drop.
1283
1371
  */
1284
1372
  declare function CalendarDayButton({
1285
1373
  className: dayClassName,
@@ -1708,7 +1796,32 @@ declare function useComboboxAnchor(): React.RefObject<HTMLDivElement | null>;
1708
1796
  */
1709
1797
  type ComboboxLoadingState = 'idle' | 'loading' | 'filtering' | 'loadingMore';
1710
1798
  //#endregion
1799
+ //#region src/lib/use-combobox-item-selection.d.ts
1800
+ /**
1801
+ * WHY a selection changed, straight from Base UI's combobox root — `'item-press'`,
1802
+ * `'escape-key'`, `'clear-press'`, … See `ComboboxRoot.ChangeEventDetails`.
1803
+ *
1804
+ * Inferred from the primitive rather than hand-written, for the same reason
1805
+ * `ComboboxInputValueChange` is: the reason union is Base UI's to grow.
1806
+ */
1807
+ type ComboboxSelectionChangeDetails = Parameters<NonNullable<React.ComponentProps<typeof Combobox$1.Root>['onValueChange']>>[1];
1808
+ //#endregion
1711
1809
  //#region src/components/combobox-body.d.ts
1810
+ /**
1811
+ * Row count at which `ComboboxBody` virtualises its rows on its own, when `virtualizeRows` was not
1812
+ * passed either way. Exported so it can be asserted against and tuned in ONE place.
1813
+ *
1814
+ * Crossing it LATCHES virtualisation on for the life of the component - see the `virtualizeRows`
1815
+ * prop doc. A list that declares `onFetchMore` can grow without bound, so it starts out virtualised
1816
+ * regardless of this number rather than waiting to cross it.
1817
+ *
1818
+ * A STARTING POINT, not a measured optimum. The two real data points behind it: 244 countries with
1819
+ * a flag per row was visibly laggy unvirtualised, and the user lists are server-capped at 10 rows
1820
+ * today, so both known cases sit far from this line and the exact value is not load-bearing yet.
1821
+ * Measure before tuning it - the honest cost driver is how expensive `renderItem` is, not the row
1822
+ * count alone, and a threshold cannot see that.
1823
+ */
1824
+ declare const COMBOBOX_AUTO_VIRTUALIZE_THRESHOLD = 100;
1712
1825
  interface ComboboxBodyProps<T> {
1713
1826
  /** The items to show in the list — the already-prepared page/result set. */
1714
1827
  items: T[];
@@ -1736,8 +1849,17 @@ interface ComboboxBodyProps<T> {
1736
1849
  selectedKeys?: Set<string>;
1737
1850
  /** Initial selected keys for uncontrolled selection. Ignored when `selectedKeys` is set. */
1738
1851
  defaultSelectedKeys?: Set<string>;
1739
- /** Called with the new set of selected keys whenever selection changes. */
1740
- onSelectionChange?: (keys: Set<string>) => void;
1852
+ /**
1853
+ * Called with the new set of selected keys whenever selection changes, and with WHY it
1854
+ * changed (`details.reason`) — `'item-press'`, `'clear-press'`, `'escape-key'`, ….
1855
+ *
1856
+ * Read the reason whenever a deliberate pick and a RESET must be told apart. Escape clears
1857
+ * an inline list's selection (see the dismissal note on the component) and reports it here
1858
+ * exactly like a pick, so a host that treats every change as a user choice will treat that
1859
+ * clear as one too. `Filter`'s popup is the case in point: it must not apply an Escape
1860
+ * clear, because Escape there means "discard my draft", not "select nothing".
1861
+ */
1862
+ onSelectionChange?: (keys: Set<string>, details: ComboboxSelectionChangeDetails) => void;
1741
1863
  /**
1742
1864
  * Known selected items used to seed the label cache, so a selected key whose
1743
1865
  * item is NOT in the current `items` (e.g. a saved filter value not yet
@@ -1784,20 +1906,42 @@ interface ComboboxBodyProps<T> {
1784
1906
  placeholder?: string;
1785
1907
  /**
1786
1908
  * Renders only the rows inside the scrolled window plus a small overscan,
1787
- * instead of every item, via `@tanstack/react-virtual`. Turn it on for a long
1788
- * list (every country, every user at scale) where mounting a row per item
1789
- * makes opening and scrolling the list lag.
1909
+ * instead of every item, via `@tanstack/react-virtual`.
1910
+ *
1911
+ * Three states, not two:
1912
+ * - `true` — always on, even for a short list.
1913
+ * - `false` — always off, even for a huge one. The escape hatch for a test that
1914
+ * needs every row in the DOM.
1915
+ * - omitted (the default) — AUTO: on once this list either declares
1916
+ * `onFetchMore` (so it can grow without bound) or reaches
1917
+ * {@link COMBOBOX_AUTO_VIRTUALIZE_THRESHOLD} rows. A long list therefore does
1918
+ * not have to remember to ask.
1790
1919
  *
1791
- * IGNORED for a GROUPED list (`getGroupKey` set) — group headers would need a
1792
- * second, variable-height index space on top of the row one, so grouped lists
1793
- * keep rendering every row. Same shape as `DataTable`, which silently gates its
1794
- * own `virtualizeRows` on `fillHeight` for the same "the prerequisite isn't
1795
- * there" reason.
1920
+ * Auto is one-way: it LATCHES on and never turns back off, even if the list
1921
+ * later shrinks below the threshold. That matters because turning it off again
1922
+ * is not free. Base UI renders its list element bare when `virtualized` and
1923
+ * wrapped in a `CompositeList` when not, so changing that prop mid-life changes
1924
+ * the component type at that position and React remounts the list. Measured
1925
+ * cost of one such change, driven from a story: the list element is replaced and
1926
+ * `scrollTop` goes 656 to 0.
1927
+ *
1928
+ * Which is also why a list declaring `onFetchMore` virtualises from the start
1929
+ * rather than waiting to cross the threshold — it will cross it eventually, and
1930
+ * the crossing is the expensive part. A list with a fixed set of items that is
1931
+ * simply handed more rows later still pays that one crossing; latching is what
1932
+ * keeps it to one rather than one per fluctuation.
1933
+ *
1934
+ * IGNORED for a GROUPED list (`getGroupKey` set), including when passed
1935
+ * explicitly — group headers would need a second, variable-height index space
1936
+ * on top of the row one, so grouped lists keep rendering every row. The
1937
+ * threshold does not override that gate. Same shape as `DataTable`, which
1938
+ * silently gates its own `virtualizeRows` on `fillHeight` for the same "the
1939
+ * prerequisite isn't there" reason.
1796
1940
  *
1797
1941
  * Everything else is unchanged: search (client- or server-side), keyboard
1798
1942
  * navigation and typeahead still reach every item, not just the mounted ones,
1799
1943
  * and infinite scroll still fires at the true bottom of the data.
1800
- * @default false
1944
+ * @default auto — see {@link COMBOBOX_AUTO_VIRTUALIZE_THRESHOLD}
1801
1945
  */
1802
1946
  virtualizeRows?: boolean;
1803
1947
  /**
@@ -2144,8 +2288,13 @@ interface DataComboboxProps<T> {
2144
2288
  selectedKeys?: Set<string>;
2145
2289
  /** Initial selected keys for uncontrolled selection. Ignored when `selectedKeys` is set. */
2146
2290
  defaultSelectedKeys?: Set<string>;
2147
- /** Called with the new set of selected keys whenever selection changes. */
2148
- onSelectionChange?: (keys: Set<string>) => void;
2291
+ /**
2292
+ * Called with the new set of selected keys whenever selection changes, and with WHY it
2293
+ * changed (`details.reason`) — `'item-press'`, `'clear-press'`, `'chip-remove-press'`, ….
2294
+ * Read the reason when a deliberate pick and a reset must be told apart; ignore the second
2295
+ * argument otherwise.
2296
+ */
2297
+ onSelectionChange?: (keys: Set<string>, details: ComboboxSelectionChangeDetails) => void;
2149
2298
  /**
2150
2299
  * Called when the dropdown opens (`true`) or closes (`false`). Use the
2151
2300
  * `false` edge to commit a deferred action — e.g. a table filter that should
@@ -2465,6 +2614,282 @@ declare namespace DataTree {
2465
2614
  */
2466
2615
  declare function DataTree<T>(componentProps: DataTree.Props<T>): React.JSX.Element;
2467
2616
  //#endregion
2617
+ //#region src/components/date-picker.d.ts
2618
+ /**
2619
+ * A predefined date range shortcut shown in the sidebar (range mode only).
2620
+ */
2621
+ interface DatePickerPredefinedRange {
2622
+ /** Display label for the shortcut button and trigger label when matched. */
2623
+ label: string;
2624
+ /** Start of the predefined range. */
2625
+ from: Date;
2626
+ /** End of the predefined range. */
2627
+ to: Date;
2628
+ /** Optional identifier passed back in `onRangeChange` meta when this range is selected. */
2629
+ id?: string;
2630
+ }
2631
+ /**
2632
+ * Composite date picker built from `@aircall/ds` primitives.
2633
+ *
2634
+ * The trigger is a segmented date input — each date part (day, month, year)
2635
+ * is an independently-editable `<input inputMode="numeric">` with `role="spinbutton"`.
2636
+ * Typing into a segment edits that part only; the calendar does NOT open on segment focus.
2637
+ *
2638
+ * **Opening the calendar:**
2639
+ * - Click the calendar icon button (right side of the input group).
2640
+ * - Press `Alt+ArrowDown` while any segment is focused.
2641
+ *
2642
+ * The calendar opens in a focus-trapped popover (`modal='trap-focus'`). Focus moves
2643
+ * into the calendar grid on open; Escape or selecting a date closes the popover and
2644
+ * returns focus to the icon button.
2645
+ *
2646
+ * Supports single-date and date-range modes.
2647
+ *
2648
+ * Controlled (`value` + `onValueChange`/`onRangeChange`) and uncontrolled (`defaultValue`).
2649
+ *
2650
+ * @example
2651
+ * ```tsx
2652
+ * const [date, setDate] = React.useState<Date | undefined>();
2653
+ * <DatePicker value={date} onValueChange={setDate} />
2654
+ * ```
2655
+ */
2656
+ declare const DatePicker: React.ForwardRefExoticComponent<(Omit<DatePickerSingleProps, "ref"> | Omit<DatePickerRangeProps, "ref">) & React.RefAttributes<HTMLDivElement>>;
2657
+ /**
2658
+ * Base props shared by both single and range modes.
2659
+ */
2660
+ interface DatePickerBaseProps extends Omit<React.ComponentProps<'div'>, 'onChange' | 'defaultValue' | 'inputMode'> {
2661
+ /**
2662
+ * react-day-picker Locale for calendar localization AND segment order derivation via `locale.code`.
2663
+ * Overrides the DS i18n language. Defaults to DS i18n language, then `en-US`.
2664
+ */
2665
+ locale?: Partial<Locale>;
2666
+ /**
2667
+ * Disables the entire picker.
2668
+ * @default false
2669
+ */
2670
+ disabled?: boolean;
2671
+ /**
2672
+ * Marks the field as invalid — applies destructive border/ring tokens.
2673
+ * When `invalid` is true, transient out-of-bounds/disabled hints are suppressed
2674
+ * (the consumer already owns the error state).
2675
+ * @default false
2676
+ */
2677
+ invalid?: boolean;
2678
+ /**
2679
+ * react-day-picker `Matcher` passed to `<Calendar disabled>`.
2680
+ * Supports the full RDP Matcher set: `Date`, `Date[]`, `{ before }`, `{ after }`,
2681
+ * `{ from, to }`, `{ dayOfWeek }`, and predicate functions.
2682
+ * Enforced identically for typed input and calendar clicks.
2683
+ *
2684
+ * **Range mode -- Model B contract:** only the range endpoints (from / to) are
2685
+ * blocked by this matcher. A disabled day that falls strictly inside the selected
2686
+ * range is permitted -- the calendar visually spans it and the emitted {from, to}
2687
+ * is the literal pair of clicked or typed endpoints. Interior disabled dates do
2688
+ * not block, reset, or clamp the range. Consumers own interpretation of interior
2689
+ * disabled dates (e.g. filtering them out before submitting). To reset the range
2690
+ * when it would span a disabled day, pass the RDP `excludeDisabled` prop via a
2691
+ * custom Calendar wrapper (not currently exposed as a prop).
2692
+ */
2693
+ disabledDates?: Matcher | Matcher[];
2694
+ /**
2695
+ * Selection lower bound (inclusive). Day cells before this date are greyed and
2696
+ * unclickable in the calendar. Typing a date before this bound reverts the segments
2697
+ * to the last committed value and emits a transient accessible hint.
2698
+ * Also controls the earliest month shown in the calendar year dropdown.
2699
+ * No year clamp is applied to typed input.
2700
+ *
2701
+ * For a scheduling picker that disallows past dates, pass `minDate={new Date()}`.
2702
+ *
2703
+ * @default January 1 1900
2704
+ */
2705
+ minDate?: Date;
2706
+ /**
2707
+ * Selection upper bound (inclusive). Day cells after this date are greyed and
2708
+ * unclickable in the calendar. Typing a date after this bound reverts the segments
2709
+ * to the last committed value and emits a transient accessible hint.
2710
+ * Also controls the latest month shown in the calendar year dropdown.
2711
+ * No year clamp is applied to typed input.
2712
+ *
2713
+ * For a scheduling picker that disallows far-future dates, pass
2714
+ * `maxDate={new Date(currentYear + 2, 11, 31)}`.
2715
+ *
2716
+ * @default December 31 2100
2717
+ */
2718
+ maxDate?: Date;
2719
+ /**
2720
+ * react-day-picker caption layout.
2721
+ * @default 'dropdown'
2722
+ */
2723
+ captionLayout?: 'dropdown' | 'label' | 'dropdown-months' | 'dropdown-years';
2724
+ /**
2725
+ * Controlled open state for the calendar popover.
2726
+ */
2727
+ open?: boolean;
2728
+ /**
2729
+ * Callback fired when the popover open state changes.
2730
+ */
2731
+ onOpenChange?: (open: boolean) => void;
2732
+ /**
2733
+ * Optional footer rendered below the calendar (and below sidebar row).
2734
+ * Separated by `border-t p-3`. No constraints on content.
2735
+ */
2736
+ footer?: React.ReactNode;
2737
+ /**
2738
+ * className applied to the trigger container (InputGroup).
2739
+ * Use for min-w/max-w/w customization.
2740
+ */
2741
+ triggerClassName?: string;
2742
+ /**
2743
+ * `id` forwarded to the first segment input (the one in locale-order position 0).
2744
+ * A `<label htmlFor={id}>` will correctly associate with the picker trigger.
2745
+ */
2746
+ id?: string;
2747
+ /**
2748
+ * `name` attribute for form submission.
2749
+ *
2750
+ * In **single** mode a hidden `<input type="hidden" name={name}>` is rendered carrying
2751
+ * the selected date as a `yyyy-MM-dd` string in local time.
2752
+ *
2753
+ * In **range** mode two hidden inputs are rendered: `name` (from date) and `name-to`
2754
+ * (to date), each carrying a `yyyy-MM-dd` string in local time.
2755
+ *
2756
+ * The hidden inputs do not affect what `onValueChange`/`onRangeChange` emit.
2757
+ */
2758
+ name?: string;
2759
+ /**
2760
+ * data-testid for the segment group container.
2761
+ * @default 'date-picker-input'
2762
+ */
2763
+ 'data-testid'?: string;
2764
+ }
2765
+ /**
2766
+ * Props for single-date mode (default).
2767
+ */
2768
+ interface DatePickerSingleProps extends DatePickerBaseProps {
2769
+ /** Single-date mode (default). */
2770
+ mode?: 'single';
2771
+ /**
2772
+ * The currently selected date.
2773
+ *
2774
+ * @remarks
2775
+ * The emitted value is a `Date` at **local midnight** in the user's timezone
2776
+ * (constructed as `new Date(year, month - 1, day)`). Calling `.toISOString()` on it
2777
+ * will shift the calendar day across the UTC boundary for users east of UTC
2778
+ * (e.g. UTC+5: June 15 local → June 14 UTC). For date-only payloads use
2779
+ * `format(date, 'yyyy-MM-dd')` (date-fns) or construct a UTC date explicitly.
2780
+ */
2781
+ value?: Date;
2782
+ /**
2783
+ * Initially selected date (uncontrolled).
2784
+ *
2785
+ * @remarks
2786
+ * The emitted value is a `Date` at **local midnight** in the user's timezone
2787
+ * (constructed as `new Date(year, month - 1, day)`). Calling `.toISOString()` on it
2788
+ * will shift the calendar day across the UTC boundary for users east of UTC
2789
+ * (e.g. UTC+5: June 15 local → June 14 UTC). For date-only payloads use
2790
+ * `format(date, 'yyyy-MM-dd')` (date-fns) or construct a UTC date explicitly.
2791
+ */
2792
+ defaultValue?: Date;
2793
+ /**
2794
+ * Called when the user selects or deselects a day.
2795
+ *
2796
+ * @remarks
2797
+ * The emitted `Date` is at **local midnight** in the user's timezone
2798
+ * (constructed as `new Date(year, month - 1, day)`). Calling `.toISOString()` on it
2799
+ * will shift the calendar day across the UTC boundary for users east of UTC
2800
+ * (e.g. UTC+5: June 15 local → June 14 UTC). For date-only payloads use
2801
+ * `format(date, 'yyyy-MM-dd')` (date-fns) or construct a UTC date explicitly.
2802
+ *
2803
+ * @example
2804
+ * ```tsx
2805
+ * const [date, setDate] = React.useState<Date | undefined>();
2806
+ * <DatePicker value={date} onValueChange={setDate} />
2807
+ * ```
2808
+ */
2809
+ onValueChange?: (date: Date | undefined) => void;
2810
+ /** Not applicable in single mode. */
2811
+ onRangeChange?: never;
2812
+ /** Not applicable in single mode. */
2813
+ predefinedRanges?: never;
2814
+ }
2815
+ /**
2816
+ * Props for date-range mode.
2817
+ */
2818
+ interface DatePickerRangeProps extends DatePickerBaseProps {
2819
+ /** Range mode — renders two calendar months side-by-side. */
2820
+ mode: 'range';
2821
+ /**
2822
+ * The currently selected date range.
2823
+ *
2824
+ * @remarks
2825
+ * Both `from` and `to` are `Date` values at **local midnight** in the user's timezone
2826
+ * (constructed as `new Date(year, month - 1, day)`). Calling `.toISOString()` on either
2827
+ * will shift the calendar day across the UTC boundary for users east of UTC
2828
+ * (e.g. UTC+5: June 15 local → June 14 UTC). For date-only payloads use
2829
+ * `format(date, 'yyyy-MM-dd')` (date-fns) or construct UTC dates explicitly.
2830
+ */
2831
+ value?: DateRange;
2832
+ /**
2833
+ * Initially selected date range (uncontrolled).
2834
+ *
2835
+ * @remarks
2836
+ * Both `from` and `to` are `Date` values at **local midnight** in the user's timezone
2837
+ * (constructed as `new Date(year, month - 1, day)`). Calling `.toISOString()` on either
2838
+ * will shift the calendar day across the UTC boundary for users east of UTC
2839
+ * (e.g. UTC+5: June 15 local → June 14 UTC). For date-only payloads use
2840
+ * `format(date, 'yyyy-MM-dd')` (date-fns) or construct UTC dates explicitly.
2841
+ */
2842
+ defaultValue?: DateRange;
2843
+ /**
2844
+ * Called when the user selects or clears a range.
2845
+ * `range` is `undefined` when the selection is cleared/deselected.
2846
+ *
2847
+ * @remarks
2848
+ * Both `from` and `to` are `Date` values at **local midnight** in the user's timezone
2849
+ * (constructed as `new Date(year, month - 1, day)`). Calling `.toISOString()` on either
2850
+ * will shift the calendar day across the UTC boundary for users east of UTC
2851
+ * (e.g. UTC+5: June 15 local → June 14 UTC). For date-only payloads use
2852
+ * `format(date, 'yyyy-MM-dd')` (date-fns) or construct UTC dates explicitly.
2853
+ *
2854
+ * Typing a complete date into the "from" group emits immediately as `{ from }`
2855
+ * (with `to` omitted) so partial ranges are still reported as the user builds them up.
2856
+ * Typing a complete date into the "to" group while "from" is still empty, however,
2857
+ * does **not** call this handler yet -- the typed value would otherwise have to be
2858
+ * emitted as `{ from: <typed to-date> }`, silently promoting an end date into the
2859
+ * start slot. That "to" value is held internally and included once "from" is
2860
+ * completed, at which point a single call fires with both `{ from, to }`.
2861
+ *
2862
+ * @example
2863
+ * ```tsx
2864
+ * const [range, setRange] = React.useState<DateRange | undefined>();
2865
+ * <DatePicker mode="range" value={range} onRangeChange={(r) => setRange(r)} />
2866
+ * ```
2867
+ */
2868
+ onRangeChange?: (range: DateRange | undefined, meta: {
2869
+ matchedRangeId?: string;
2870
+ }) => void;
2871
+ /** Predefined range shortcuts shown in a left sidebar. */
2872
+ predefinedRanges?: DatePickerPredefinedRange[];
2873
+ /**
2874
+ * data-testid for the "to" segment group (range mode only).
2875
+ * @default 'date-picker-input-to'
2876
+ */
2877
+ 'data-testid-to'?: string;
2878
+ /** Not applicable in range mode. */
2879
+ onValueChange?: never;
2880
+ }
2881
+ /**
2882
+ * Props for the DatePicker component.
2883
+ *
2884
+ * Discriminated by `mode`:
2885
+ * - `'single'` (default) — `value: Date | undefined`, handler: `onValueChange`.
2886
+ * - `'range'` — `value: DateRange | undefined`, handler: `onRangeChange`.
2887
+ */
2888
+ type DatePickerProps = DatePickerSingleProps | DatePickerRangeProps;
2889
+ declare namespace DatePicker {
2890
+ type Props = DatePickerProps;
2891
+ }
2892
+ //#endregion
2468
2893
  //#region src/components/drawer.d.ts
2469
2894
  type DrawerPosition = 'right' | 'left' | 'top' | 'bottom';
2470
2895
  /**
@@ -3228,6 +3653,25 @@ interface PopoverTriggerProps extends Popover$1.Trigger.Props {}
3228
3653
  declare namespace PopoverTrigger {
3229
3654
  type Props = PopoverTriggerProps;
3230
3655
  }
3656
+ /**
3657
+ * A button that closes the enclosing popover.
3658
+ * Renders a `<button>` element. Required inside `<PopoverContent>` when
3659
+ * `modal='trap-focus'` is set on the `<Popover>` root so that Base UI
3660
+ * engages the focus trap (focusManagerModal = modal !== false && hasClosePart).
3661
+ *
3662
+ * @example
3663
+ * ```tsx
3664
+ * <PopoverContent>
3665
+ * <PopoverClose className="sr-only">Close</PopoverClose>
3666
+ * {children}
3667
+ * </PopoverContent>
3668
+ * ```
3669
+ */
3670
+ declare const PopoverClose: React.ForwardRefExoticComponent<Omit<PopoverCloseProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
3671
+ interface PopoverCloseProps extends Popover$1.Close.Props {}
3672
+ declare namespace PopoverClose {
3673
+ type Props = PopoverCloseProps;
3674
+ }
3231
3675
  /**
3232
3676
  * The floating panel shown when the popover is open. Composes
3233
3677
  * `Popover.Portal → Popover.Positioner → Popover.Popup` into a single part and
@@ -3240,7 +3684,7 @@ declare namespace PopoverTrigger {
3240
3684
  * @prop alignOffset - Offset in pixels along the cross-axis. Default: `0`.
3241
3685
  */
3242
3686
  declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
3243
- interface PopoverContentProps extends Popover$1.Popup.Props, Pick<Popover$1.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset'> {}
3687
+ interface PopoverContentProps extends Popover$1.Popup.Props, Pick<Popover$1.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset' | 'anchor'> {}
3244
3688
  declare namespace PopoverContent {
3245
3689
  type Props = PopoverContentProps;
3246
3690
  }
@@ -4514,7 +4958,7 @@ declare namespace ItemSeparator {
4514
4958
  }
4515
4959
  declare const itemVariants: (props?: ({
4516
4960
  variant?: "default" | "outline" | "muted" | null | undefined;
4517
- size?: "default" | "sm" | "xs" | null | undefined;
4961
+ size?: "default" | "xs" | "sm" | null | undefined;
4518
4962
  } & class_variance_authority_types6.ClassProp) | undefined) => string;
4519
4963
  /**
4520
4964
  * Flexible list-item container laying out media, content, and actions on one row. Renders a `<div>`
@@ -6093,7 +6537,7 @@ declare function useDsLocale(): string;
6093
6537
  //#endregion
6094
6538
  //#region src/i18n/keys.d.ts
6095
6539
  /** All translation keys owned by the `ds` namespace. Flat dotted keys (keySeparator: false). */
6096
- type DsI18nKey = 'spinner.loading' | 'pagination.label' | 'pagination.previousPage' | 'pagination.nextPage' | 'dataTable.selectAllRows' | 'dataTable.selectRow' | 'dataCombobox.noResults' | 'tree.collapse' | 'tree.expand' | 'multiselect.remove' | 'multiselect.clearAll' | 'multiselect.addItem' | 'multiselect.search' | 'sidebar.toggle' | 'drawer.close' | 'emojiPicker.emoji' | 'emojiPicker.choose' | 'actionBar.selectionActions' | 'pagination.previous' | 'pagination.next' | 'actionBar.clearSelection' | 'actionBar.itemsSelected' | 'fieldLabel.required' | 'fieldLabel.optional' | 'fieldLabel.moreInfo';
6540
+ type DsI18nKey = 'spinner.loading' | 'pagination.label' | 'pagination.previousPage' | 'pagination.nextPage' | 'dataTable.selectAllRows' | 'dataTable.selectRow' | 'dataCombobox.noResults' | 'tree.collapse' | 'tree.expand' | 'multiselect.remove' | 'multiselect.clearAll' | 'multiselect.addItem' | 'multiselect.search' | 'sidebar.toggle' | 'drawer.close' | 'emojiPicker.emoji' | 'emojiPicker.choose' | 'actionBar.selectionActions' | 'pagination.previous' | 'pagination.next' | 'actionBar.clearSelection' | 'actionBar.itemsSelected' | 'fieldLabel.required' | 'fieldLabel.optional' | 'fieldLabel.moreInfo' | 'datePicker.beforeMin' | 'datePicker.afterMax' | 'datePicker.unavailable' | 'datePicker.rangeOrder';
6097
6541
  /** A complete set of translations for one language. Missing a key is a compile error. */
6098
6542
  type DsLocale = Record<DsI18nKey, string>;
6099
6543
  //#endregion
@@ -6155,4 +6599,4 @@ declare function useAudioGauge(options?: UseAudioGaugeOptions): UseAudioGaugeRes
6155
6599
  //#region src/lib/utils.d.ts
6156
6600
  declare function cn(...inputs: ClassValue[]): string;
6157
6601
  //#endregion
6158
- 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, ComboboxBody, ComboboxChip, ComboboxChips, ComboboxChipsInput, type ComboboxClear, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, type ComboboxLoadingState, 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 };
6602
+ 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, CalendarDropdown, 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, DatePicker, type DatePickerPredefinedRange, type DateRange, 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, PopoverClose, 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, isInsideCalendarDropdown, registerI18nNamespace, selectTriggerVariants, spinnerVariants, syncDsLanguage, toast, toggleVariants, useAudioGauge, useAudioPlayer, useAudioPlayerTime, useComboboxAnchor, useDsLocale, useDsTranslation, useNotification, useNotificationQueue, useSidebar, useStepper, useTheme };