@aircall/ds 0.30.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/globals.css +1 -1
- package/dist/index.d.ts +414 -31
- package/dist/index.js +3772 -1700
- package/package.json +1 -1
- package/skills/aircall-ds/migrate-tractor/SKILL.md +54 -52
- package/skills/aircall-ds/migrate-tractor/date-picker/SKILL.md +157 -0
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";
|
|
@@ -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_types6 from "class-variance-authority/types";
|
|
43
43
|
import { CountryCode } from "@aircall/numbers";
|
|
44
44
|
|
|
45
45
|
//#region src/components/accordion.d.ts
|
|
@@ -102,7 +102,7 @@ declare const buttonVariants: (props?: ({
|
|
|
102
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_types6.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).
|
|
@@ -670,7 +670,7 @@ declare namespace AlertDialogCancel {
|
|
|
670
670
|
*/
|
|
671
671
|
declare const alertVariants: (props?: ({
|
|
672
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.
|
|
676
676
|
*
|
|
@@ -751,10 +751,10 @@ declare namespace AlertAction {
|
|
|
751
751
|
*/
|
|
752
752
|
type AttachmentState = 'idle' | 'uploading' | 'processing' | 'error' | 'done';
|
|
753
753
|
declare const attachmentVariants: (props?: ({
|
|
754
|
-
size?: "default" | "
|
|
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;
|
|
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_types6.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>`.
|
|
@@ -970,7 +970,7 @@ declare namespace AvatarGroupCount {
|
|
|
970
970
|
*/
|
|
971
971
|
declare const counterBadgeVariants: (props?: ({
|
|
972
972
|
variant?: "default" | "secondary" | "ghost" | null | undefined;
|
|
973
|
-
} &
|
|
973
|
+
} & class_variance_authority_types6.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_types6.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_types6.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`).
|
|
@@ -1052,7 +1052,7 @@ declare namespace BadgeGroupCount {
|
|
|
1052
1052
|
declare const bannerVariants: (props?: ({
|
|
1053
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
|
/**
|
|
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_types6.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.
|
|
@@ -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
|
|
1282
|
-
*
|
|
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,
|
|
@@ -2526,6 +2614,282 @@ declare namespace DataTree {
|
|
|
2526
2614
|
*/
|
|
2527
2615
|
declare function DataTree<T>(componentProps: DataTree.Props<T>): React.JSX.Element;
|
|
2528
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
|
|
2529
2893
|
//#region src/components/drawer.d.ts
|
|
2530
2894
|
type DrawerPosition = 'right' | 'left' | 'top' | 'bottom';
|
|
2531
2895
|
/**
|
|
@@ -3129,7 +3493,7 @@ declare namespace EmptyHeader {
|
|
|
3129
3493
|
}
|
|
3130
3494
|
declare const emptyMediaVariants: (props?: ({
|
|
3131
3495
|
variant?: "default" | "icon" | null | undefined;
|
|
3132
|
-
} &
|
|
3496
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
3133
3497
|
/**
|
|
3134
3498
|
* Wrapper for the empty state's icon or illustration. Renders a `<div>`; the `icon`
|
|
3135
3499
|
* variant gives it a muted rounded background, while `default` is transparent.
|
|
@@ -3289,6 +3653,25 @@ interface PopoverTriggerProps extends Popover$1.Trigger.Props {}
|
|
|
3289
3653
|
declare namespace PopoverTrigger {
|
|
3290
3654
|
type Props = PopoverTriggerProps;
|
|
3291
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
|
+
}
|
|
3292
3675
|
/**
|
|
3293
3676
|
* The floating panel shown when the popover is open. Composes
|
|
3294
3677
|
* `Popover.Portal → Popover.Positioner → Popover.Popup` into a single part and
|
|
@@ -3301,7 +3684,7 @@ declare namespace PopoverTrigger {
|
|
|
3301
3684
|
* @prop alignOffset - Offset in pixels along the cross-axis. Default: `0`.
|
|
3302
3685
|
*/
|
|
3303
3686
|
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
3304
|
-
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'> {}
|
|
3305
3688
|
declare namespace PopoverContent {
|
|
3306
3689
|
type Props = PopoverContentProps;
|
|
3307
3690
|
}
|
|
@@ -3427,7 +3810,7 @@ declare namespace EmojiPickerContent {
|
|
|
3427
3810
|
declare const fabVariants: (props?: ({
|
|
3428
3811
|
variant?: "default" | "outline" | null | undefined;
|
|
3429
3812
|
size?: "lg" | "icon-lg" | null | undefined;
|
|
3430
|
-
} &
|
|
3813
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
3431
3814
|
/**
|
|
3432
3815
|
* Floating action button — a raised, shadowed button for a primary action.
|
|
3433
3816
|
* Renders Base UI's `Button` primitive as a `<button>`.
|
|
@@ -3501,7 +3884,7 @@ declare namespace FieldGroup {
|
|
|
3501
3884
|
}
|
|
3502
3885
|
declare const fieldVariants: (props?: ({
|
|
3503
3886
|
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
3504
|
-
} &
|
|
3887
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
3505
3888
|
/**
|
|
3506
3889
|
* Layout wrapper pairing a control with its label, description, and error. Renders a
|
|
3507
3890
|
* `<div role="group">`. The `orientation` variant (`'vertical' | 'horizontal' | 'responsive'`)
|
|
@@ -4306,7 +4689,7 @@ declare const InlineEditTextarea: React.ForwardRefExoticComponent<Omit<InlineEdi
|
|
|
4306
4689
|
//#region src/components/input.d.ts
|
|
4307
4690
|
declare const inputVariants: (props?: ({
|
|
4308
4691
|
block?: boolean | null | undefined;
|
|
4309
|
-
} &
|
|
4692
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
4310
4693
|
/**
|
|
4311
4694
|
* Single-line text field styled to the design system.
|
|
4312
4695
|
*
|
|
@@ -4352,7 +4735,7 @@ declare namespace InputGroup {
|
|
|
4352
4735
|
}
|
|
4353
4736
|
declare const inputGroupAddonVariants: (props?: ({
|
|
4354
4737
|
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
4355
|
-
} &
|
|
4738
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
4356
4739
|
declare const InputGroupAddon: React.ForwardRefExoticComponent<Omit<InputGroupAddonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
4357
4740
|
interface InputGroupAddonProps extends React.ComponentProps<'div'>, VariantProps<typeof inputGroupAddonVariants> {}
|
|
4358
4741
|
declare namespace InputGroupAddon {
|
|
@@ -4575,8 +4958,8 @@ declare namespace ItemSeparator {
|
|
|
4575
4958
|
}
|
|
4576
4959
|
declare const itemVariants: (props?: ({
|
|
4577
4960
|
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
4578
|
-
size?: "default" | "
|
|
4579
|
-
} &
|
|
4961
|
+
size?: "default" | "xs" | "sm" | null | undefined;
|
|
4962
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
4580
4963
|
/**
|
|
4581
4964
|
* Flexible list-item container laying out media, content, and actions on one row. Renders a `<div>`
|
|
4582
4965
|
* by default (swap the element via `render`). The `variant` (`'default' | 'outline' | 'muted'`) and
|
|
@@ -4599,7 +4982,7 @@ declare namespace Item {
|
|
|
4599
4982
|
}
|
|
4600
4983
|
declare const itemMediaVariants: (props?: ({
|
|
4601
4984
|
variant?: "image" | "default" | "icon" | null | undefined;
|
|
4602
|
-
} &
|
|
4985
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
4603
4986
|
/**
|
|
4604
4987
|
* Leading media slot of an `Item` (icon, image, or avatar). Renders a `<div>`. The `variant`
|
|
4605
4988
|
* (`'default' | 'icon' | 'image'`) tunes sizing and styling and defaults to `'default'`.
|
|
@@ -4958,7 +5341,7 @@ declare namespace ScrollBar {
|
|
|
4958
5341
|
/** `class-variance-authority` variants for the select trigger; exposes the `size` variant. */
|
|
4959
5342
|
declare const selectTriggerVariants: (props?: ({
|
|
4960
5343
|
size?: "default" | "sm" | null | undefined;
|
|
4961
|
-
} &
|
|
5344
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
4962
5345
|
/**
|
|
4963
5346
|
* Root of the select, aliasing Base UI's `Select.Root`. Manages open state and the selected value,
|
|
4964
5347
|
* and renders no DOM element — place `SelectTrigger` and `SelectContent` inside it.
|
|
@@ -5466,7 +5849,7 @@ declare namespace SidebarMenuItem {
|
|
|
5466
5849
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
5467
5850
|
variant?: "default" | "outline" | null | undefined;
|
|
5468
5851
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
5469
|
-
} &
|
|
5852
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
5470
5853
|
/**
|
|
5471
5854
|
* Primary clickable row inside a menu item, with variant/size styles and an
|
|
5472
5855
|
* optional tooltip shown only when collapsed. Renders a `<button>` by default,
|
|
@@ -5623,7 +6006,7 @@ declare namespace Toaster {
|
|
|
5623
6006
|
/** Class variants for `Spinner`, controlling its `size` (`default`, `sm`, `lg`, `xl`). */
|
|
5624
6007
|
declare const spinnerVariants: (props?: ({
|
|
5625
6008
|
size?: "default" | "sm" | "lg" | "xl" | null | undefined;
|
|
5626
|
-
} &
|
|
6009
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
5627
6010
|
/**
|
|
5628
6011
|
* Animated loading indicator. Renders a spinning `<svg>` (Loader icon) with
|
|
5629
6012
|
* `role="status"` and a localized `aria-label` for assistive technology.
|
|
@@ -5940,7 +6323,7 @@ declare namespace ThemeProvider {
|
|
|
5940
6323
|
declare const toggleVariants: (props?: ({
|
|
5941
6324
|
variant?: "default" | "outline" | null | undefined;
|
|
5942
6325
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
5943
|
-
} &
|
|
6326
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
5944
6327
|
/**
|
|
5945
6328
|
* A two-state button that can be pressed on or off, wrapping Base UI's `Toggle`.
|
|
5946
6329
|
* Renders a `<button aria-pressed>` styled via {@link toggleVariants}.
|
|
@@ -6154,7 +6537,7 @@ declare function useDsLocale(): string;
|
|
|
6154
6537
|
//#endregion
|
|
6155
6538
|
//#region src/i18n/keys.d.ts
|
|
6156
6539
|
/** All translation keys owned by the `ds` namespace. Flat dotted keys (keySeparator: false). */
|
|
6157
|
-
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';
|
|
6158
6541
|
/** A complete set of translations for one language. Missing a key is a compile error. */
|
|
6159
6542
|
type DsLocale = Record<DsI18nKey, string>;
|
|
6160
6543
|
//#endregion
|
|
@@ -6216,4 +6599,4 @@ declare function useAudioGauge(options?: UseAudioGaugeOptions): UseAudioGaugeRes
|
|
|
6216
6599
|
//#region src/lib/utils.d.ts
|
|
6217
6600
|
declare function cn(...inputs: ClassValue[]): string;
|
|
6218
6601
|
//#endregion
|
|
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 };
|
|
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 };
|