@aircall/ds 0.31.4 → 0.34.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 +462 -194
- package/dist/index.js +1975 -435
- package/dist/theme.css +28 -0
- package/package.json +14 -2
- package/skills/aircall-ds/migrate-tractor/data-table/SKILL.md +62 -2
package/dist/index.d.ts
CHANGED
|
@@ -14,11 +14,10 @@ import { Select as Select$1 } from "@base-ui/react/select";
|
|
|
14
14
|
import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
|
|
15
15
|
import { Checkbox as Checkbox$1 } from "@base-ui/react/checkbox";
|
|
16
16
|
import { Collapsible as Collapsible$1 } from "@base-ui/react/collapsible";
|
|
17
|
-
import * as _base_ui_react0 from "@base-ui/react";
|
|
18
17
|
import { Combobox as Combobox$1 } from "@base-ui/react";
|
|
19
18
|
import { Command as Command$1 } from "cmdk";
|
|
20
19
|
import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
|
|
21
|
-
import { ColumnDef, ColumnDef as ColumnDef$1, OnChangeFn, OnChangeFn as OnChangeFn$1, SortingState, SortingState as SortingState$1 } from "@tanstack/react-table";
|
|
20
|
+
import { ColumnDef, ColumnDef as ColumnDef$1, OnChangeFn, OnChangeFn as OnChangeFn$1, RowData, SortingState, SortingState as SortingState$1 } from "@tanstack/react-table";
|
|
22
21
|
import { ItemInstance } from "@headless-tree/core";
|
|
23
22
|
import { Popover as Popover$1 } from "@base-ui/react/popover";
|
|
24
23
|
import { Drawer as DrawerPrimitive } from "@base-ui/react/drawer";
|
|
@@ -30,18 +29,15 @@ import { Categories, SuggestionMode } from "emoji-picker-react";
|
|
|
30
29
|
import { ThemeProviderProps, useTheme } from "next-themes";
|
|
31
30
|
import { PreviewCard } from "@base-ui/react/preview-card";
|
|
32
31
|
import { NumberField } from "@base-ui/react/number-field";
|
|
33
|
-
import * as input_otp0 from "input-otp";
|
|
34
32
|
import { OTPInput } from "input-otp";
|
|
35
33
|
import { Progress as Progress$1 } from "@base-ui/react/progress";
|
|
34
|
+
import { Toggle as Toggle$1 } from "@base-ui/react/toggle";
|
|
36
35
|
import { Tooltip as Tooltip$1 } from "@base-ui/react/tooltip";
|
|
37
36
|
import { ToasterProps, toast } from "sonner";
|
|
38
37
|
import { Switch as Switch$1 } from "@base-ui/react/switch";
|
|
39
38
|
import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
|
|
40
|
-
import { Toggle as Toggle$1 } from "@base-ui/react/toggle";
|
|
41
39
|
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
42
|
-
import * as class_variance_authority_types7 from "class-variance-authority/types";
|
|
43
40
|
import { CountryCode } from "@aircall/numbers";
|
|
44
|
-
|
|
45
41
|
//#region src/components/accordion.d.ts
|
|
46
42
|
/**
|
|
47
43
|
* Root container for an accordion, wrapping Base UI's `Accordion.Root`.
|
|
@@ -100,9 +96,9 @@ declare namespace AccordionContent {
|
|
|
100
96
|
/** `cva` variant definitions for {@link Button} — resolves `variant`, `size`, and `block` into class names. */
|
|
101
97
|
declare const buttonVariants: (props?: ({
|
|
102
98
|
variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
103
|
-
size?: "default" | "
|
|
99
|
+
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
104
100
|
block?: boolean | null | undefined;
|
|
105
|
-
} &
|
|
101
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
106
102
|
/**
|
|
107
103
|
* Clickable button. Renders a Base UI `Button` primitive as a `<button>` element,
|
|
108
104
|
* styled via `buttonVariants` (variant / size / block).
|
|
@@ -292,14 +288,7 @@ interface AudioProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onError
|
|
|
292
288
|
* </Audio>
|
|
293
289
|
* ```
|
|
294
290
|
*/
|
|
295
|
-
declare function Audio({
|
|
296
|
-
src,
|
|
297
|
-
defaultPlaybackRate,
|
|
298
|
-
preload,
|
|
299
|
-
crossOrigin,
|
|
300
|
-
children,
|
|
301
|
-
...divProps
|
|
302
|
-
}: AudioProps): React.JSX.Element;
|
|
291
|
+
declare function Audio({ src, defaultPlaybackRate, preload, crossOrigin, children, ...divProps }: AudioProps): React.JSX.Element;
|
|
303
292
|
/**
|
|
304
293
|
* Flex row wrapper for AudioPlayer sub-components. Renders a `<div>` with
|
|
305
294
|
* `flex items-center gap-2`. Cascades `variant` to child `<AudioPlayerButton>`
|
|
@@ -330,12 +319,7 @@ type AudioPlayerRowProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
330
319
|
*/
|
|
331
320
|
variant?: 'default' | 'ghost';
|
|
332
321
|
};
|
|
333
|
-
declare function AudioPlayerRow({
|
|
334
|
-
variant,
|
|
335
|
-
className,
|
|
336
|
-
children,
|
|
337
|
-
...props
|
|
338
|
-
}: AudioPlayerRowProps): React.JSX.Element;
|
|
322
|
+
declare function AudioPlayerRow({ variant, className, children, ...props }: AudioPlayerRowProps): React.JSX.Element;
|
|
339
323
|
/**
|
|
340
324
|
* Play / pause / replay toggle button. Automatically selects the correct icon
|
|
341
325
|
* from provider state (Play → Pause → Replay → Spinner for buffering) and sets
|
|
@@ -402,12 +386,7 @@ type AudioPlayerBarProps = Omit<React.ComponentProps<typeof Slider$1.Root>, 'val
|
|
|
402
386
|
*/
|
|
403
387
|
playheadHeight?: number;
|
|
404
388
|
};
|
|
405
|
-
declare function AudioPlayerBar({
|
|
406
|
-
className,
|
|
407
|
-
step,
|
|
408
|
-
playheadHeight,
|
|
409
|
-
...props
|
|
410
|
-
}: AudioPlayerBarProps): React.JSX.Element;
|
|
389
|
+
declare function AudioPlayerBar({ className, step, playheadHeight, ...props }: AudioPlayerBarProps): React.JSX.Element;
|
|
411
390
|
type AudioPlayerCurrentTimeProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
412
391
|
/**
|
|
413
392
|
* Dumb span that always renders the current playback position as a formatted
|
|
@@ -418,10 +397,7 @@ type AudioPlayerCurrentTimeProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
|
418
397
|
* <AudioPlayerCurrentTime />
|
|
419
398
|
* ```
|
|
420
399
|
*/
|
|
421
|
-
declare function AudioPlayerCurrentTime({
|
|
422
|
-
className,
|
|
423
|
-
...props
|
|
424
|
-
}: AudioPlayerCurrentTimeProps): React.JSX.Element;
|
|
400
|
+
declare function AudioPlayerCurrentTime({ className, ...props }: AudioPlayerCurrentTimeProps): React.JSX.Element;
|
|
425
401
|
type AudioPlayerTimeProps = React.HTMLAttributes<HTMLSpanElement> & {
|
|
426
402
|
/**
|
|
427
403
|
* `compact` (default) — smart single value: shows total duration before the track
|
|
@@ -443,11 +419,7 @@ type AudioPlayerTimeProps = React.HTMLAttributes<HTMLSpanElement> & {
|
|
|
443
419
|
* <AudioPlayerTime mode="full" />
|
|
444
420
|
* ```
|
|
445
421
|
*/
|
|
446
|
-
declare function AudioPlayerTime({
|
|
447
|
-
mode,
|
|
448
|
-
className,
|
|
449
|
-
...props
|
|
450
|
-
}: AudioPlayerTimeProps): React.JSX.Element;
|
|
422
|
+
declare function AudioPlayerTime({ mode, className, ...props }: AudioPlayerTimeProps): React.JSX.Element;
|
|
451
423
|
type AudioPlayerDurationProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
452
424
|
/**
|
|
453
425
|
* Dumb span that always renders the total audio duration as a formatted time
|
|
@@ -458,12 +430,10 @@ type AudioPlayerDurationProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
|
458
430
|
* <AudioPlayerDuration />
|
|
459
431
|
* ```
|
|
460
432
|
*/
|
|
461
|
-
declare function AudioPlayerDuration({
|
|
462
|
-
className,
|
|
463
|
-
...props
|
|
464
|
-
}: AudioPlayerDurationProps): React.JSX.Element;
|
|
433
|
+
declare function AudioPlayerDuration({ className, ...props }: AudioPlayerDurationProps): React.JSX.Element;
|
|
465
434
|
type AudioPlayerSpeedProps = useRender.ComponentProps<'button'> & {
|
|
466
|
-
/** Speed cycle order. Defaults to [1, 1.5, 2, 0.5] (matches Figma). */
|
|
435
|
+
/** Speed cycle order. Defaults to [1, 1.5, 2, 0.5] (matches Figma). */
|
|
436
|
+
speeds?: number[];
|
|
467
437
|
/**
|
|
468
438
|
* Sizing pairs with the row's `AudioPlayerButton` variant.
|
|
469
439
|
* - `default` → DS `<Button variant="ghost" size="default">` (32 px)
|
|
@@ -488,7 +458,8 @@ declare const AudioPlayerSpeed: React.ForwardRefExoticComponent<Omit<AudioPlayer
|
|
|
488
458
|
* ```
|
|
489
459
|
*/
|
|
490
460
|
type AudioPlayerSkipProps = useRender.ComponentProps<'button'> & {
|
|
491
|
-
/** Seconds to seek (positive = forward, negative = back). Required. */
|
|
461
|
+
/** Seconds to seek (positive = forward, negative = back). Required. */
|
|
462
|
+
offset: number;
|
|
492
463
|
};
|
|
493
464
|
declare const AudioPlayerSkip: React.ForwardRefExoticComponent<Omit<AudioPlayerSkipProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
494
465
|
type AudioPlayerManagerProps = {
|
|
@@ -510,9 +481,7 @@ type AudioPlayerManagerProps = {
|
|
|
510
481
|
* </AudioPlayerManager>
|
|
511
482
|
* ```
|
|
512
483
|
*/
|
|
513
|
-
declare function AudioPlayerManager({
|
|
514
|
-
children
|
|
515
|
-
}: AudioPlayerManagerProps): React.JSX.Element;
|
|
484
|
+
declare function AudioPlayerManager({ children }: AudioPlayerManagerProps): React.JSX.Element;
|
|
516
485
|
//#endregion
|
|
517
486
|
//#region src/components/alert-dialog.d.ts
|
|
518
487
|
/**
|
|
@@ -670,7 +639,7 @@ declare namespace AlertDialogCancel {
|
|
|
670
639
|
*/
|
|
671
640
|
declare const alertVariants: (props?: ({
|
|
672
641
|
variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
|
|
673
|
-
} &
|
|
642
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
674
643
|
/**
|
|
675
644
|
* Callout that draws attention to an important, contextual message.
|
|
676
645
|
*
|
|
@@ -754,7 +723,7 @@ declare const attachmentVariants: (props?: ({
|
|
|
754
723
|
size?: "default" | "sm" | "xs" | null | undefined;
|
|
755
724
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
756
725
|
block?: boolean | null | undefined;
|
|
757
|
-
} &
|
|
726
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
758
727
|
/**
|
|
759
728
|
* Card displaying a single file or image attachment with its metadata,
|
|
760
729
|
* upload state, and actions. Renders a `<div>`; compose it from
|
|
@@ -797,7 +766,7 @@ declare namespace Attachment {
|
|
|
797
766
|
}
|
|
798
767
|
declare const attachmentMediaVariants: (props?: ({
|
|
799
768
|
variant?: "image" | "icon" | null | undefined;
|
|
800
|
-
} &
|
|
769
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
801
770
|
/**
|
|
802
771
|
* Leading media slot of an `Attachment` — holds an icon (`variant="icon"`)
|
|
803
772
|
* or an image thumbnail (`variant="image"`). Renders a `<div>`.
|
|
@@ -970,7 +939,7 @@ declare namespace AvatarGroupCount {
|
|
|
970
939
|
*/
|
|
971
940
|
declare const counterBadgeVariants: (props?: ({
|
|
972
941
|
variant?: "default" | "secondary" | "ghost" | null | undefined;
|
|
973
|
-
} &
|
|
942
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
974
943
|
/**
|
|
975
944
|
* Small pill for surfacing a count or short status, e.g. an unread indicator.
|
|
976
945
|
* Renders a `<span>` (override the element via the `render` prop).
|
|
@@ -994,7 +963,8 @@ declare const badgeVariants: (props?: ({
|
|
|
994
963
|
size?: "default" | "lg" | null | undefined;
|
|
995
964
|
color?: "blue" | "green" | "pink" | "purple" | "red" | "yellow" | "charcoal" | null | undefined;
|
|
996
965
|
tone?: "dark" | "light" | "medium-dark" | "medium-light" | null | undefined;
|
|
997
|
-
|
|
966
|
+
overflowMode?: "none" | "truncate" | null | undefined;
|
|
967
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
998
968
|
type BadgeVariants = VariantProps<typeof badgeVariants>;
|
|
999
969
|
/** Constrained DS badge fill color (no freeform hex). */
|
|
1000
970
|
type BadgeColor = NonNullable<BadgeVariants['color']>;
|
|
@@ -1008,6 +978,10 @@ type BadgeTone = NonNullable<BadgeVariants['tone']>;
|
|
|
1008
978
|
* Pick a constrained DS `color` + `tone` (no freeform hex) — defaults to
|
|
1009
979
|
* `charcoal` / `light` — or pass a stored hex via `legacyColor`. Icons are
|
|
1010
980
|
* composed as children (auto-sized per `size`).
|
|
981
|
+
*
|
|
982
|
+
* `overflowMode` controls how content wider than the badge is handled:
|
|
983
|
+
* `'none'` (default) lets it wrap/grow naturally; `'truncate'` caps the
|
|
984
|
+
* width at `max-w-36` and ellipsizes text content.
|
|
1011
985
|
*/
|
|
1012
986
|
declare const Badge: React.ForwardRefExoticComponent<Omit<BadgeProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
1013
987
|
interface BadgeProps extends Omit<useRender.ComponentProps<'span'>, 'color'>, VariantProps<typeof badgeVariants> {
|
|
@@ -1032,7 +1006,7 @@ declare namespace BadgeGroup {
|
|
|
1032
1006
|
}
|
|
1033
1007
|
declare const badgeGroupCountVariants: (props?: ({
|
|
1034
1008
|
size?: "default" | "lg" | null | undefined;
|
|
1035
|
-
} &
|
|
1009
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
1036
1010
|
/**
|
|
1037
1011
|
* Trailing "+N" overflow counter for a `BadgeGroup`. Renders a ghost `CounterBadge`
|
|
1038
1012
|
* sized to match the group's badges (`size` mirrors `Badge`'s `default` / `lg`).
|
|
@@ -1052,7 +1026,7 @@ declare namespace BadgeGroupCount {
|
|
|
1052
1026
|
declare const bannerVariants: (props?: ({
|
|
1053
1027
|
variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
|
|
1054
1028
|
borderDirection?: "bottom" | "top" | null | undefined;
|
|
1055
|
-
} &
|
|
1029
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
1056
1030
|
/**
|
|
1057
1031
|
* Full-width contextual message, typically pinned to the top or bottom of a
|
|
1058
1032
|
* view. Like {@link Alert} but edge-to-edge with a single accent border.
|
|
@@ -1160,12 +1134,7 @@ declare function useNotificationQueue(): NotificationQueueControls;
|
|
|
1160
1134
|
*
|
|
1161
1135
|
* @returns a `NotificationHandle` with a `dismiss` bound to this notification.
|
|
1162
1136
|
*/
|
|
1163
|
-
declare function useNotification({
|
|
1164
|
-
id,
|
|
1165
|
-
slot,
|
|
1166
|
-
priority,
|
|
1167
|
-
render
|
|
1168
|
-
}: NotificationOptions): NotificationHandle;
|
|
1137
|
+
declare function useNotification({ id, slot, priority, render }: NotificationOptions): NotificationHandle;
|
|
1169
1138
|
interface NotificationSlotProps {
|
|
1170
1139
|
slot: string;
|
|
1171
1140
|
className?: string;
|
|
@@ -1207,7 +1176,7 @@ declare namespace Separator {
|
|
|
1207
1176
|
/** `cva` variant definitions for {@link ButtonGroup} — resolves `orientation` (horizontal / vertical) into class names. */
|
|
1208
1177
|
declare const buttonGroupVariants: (props?: ({
|
|
1209
1178
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
1210
|
-
} &
|
|
1179
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
1211
1180
|
/**
|
|
1212
1181
|
* Groups related buttons into a single visual unit with shared borders and merged corners.
|
|
1213
1182
|
* Renders a `<div role="group">` and normalizes the radii/borders of its children.
|
|
@@ -1269,16 +1238,7 @@ declare namespace ButtonGroupSeparator {
|
|
|
1269
1238
|
* `SelectHTMLAttributes<HTMLSelectElement>` minus `children`), plus the
|
|
1270
1239
|
* `options` array that react-day-picker passes for month/year values.
|
|
1271
1240
|
*/
|
|
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;
|
|
1241
|
+
declare function CalendarDropdown({ options, value, onChange, disabled, 'aria-label': ariaLabel, className, components: _components, classNames: _classNames }: DropdownProps): React.JSX.Element;
|
|
1282
1242
|
type CalendarDropdownProps = DropdownProps;
|
|
1283
1243
|
declare namespace CalendarDropdown {
|
|
1284
1244
|
type Props = CalendarDropdownProps;
|
|
@@ -1338,17 +1298,7 @@ declare function isInsideCalendarDropdown(event: Event): boolean;
|
|
|
1338
1298
|
* <Calendar mode="single" selected={date} onSelect={setDate} />
|
|
1339
1299
|
* ```
|
|
1340
1300
|
*/
|
|
1341
|
-
declare function Calendar({
|
|
1342
|
-
className,
|
|
1343
|
-
classNames,
|
|
1344
|
-
showOutsideDays,
|
|
1345
|
-
captionLayout,
|
|
1346
|
-
buttonVariant,
|
|
1347
|
-
locale,
|
|
1348
|
-
formatters,
|
|
1349
|
-
components,
|
|
1350
|
-
...props
|
|
1351
|
-
}: Calendar.Props): React.JSX.Element;
|
|
1301
|
+
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, locale, formatters, components, ...props }: Calendar.Props): React.JSX.Element;
|
|
1352
1302
|
type CalendarProps = React.ComponentProps<typeof DayPicker> & {
|
|
1353
1303
|
/**
|
|
1354
1304
|
* `Button` variant applied to the previous/next month nav controls.
|
|
@@ -1369,13 +1319,7 @@ declare namespace Calendar {
|
|
|
1369
1319
|
* roving-tabindex keyboard navigation (ArrowLeft/Right/Up/Down) that our
|
|
1370
1320
|
* custom DayButton slot would otherwise drop.
|
|
1371
1321
|
*/
|
|
1372
|
-
declare function CalendarDayButton({
|
|
1373
|
-
className: dayClassName,
|
|
1374
|
-
day,
|
|
1375
|
-
modifiers,
|
|
1376
|
-
locale,
|
|
1377
|
-
...props
|
|
1378
|
-
}: CalendarDayButton.Props): React.JSX.Element;
|
|
1322
|
+
declare function CalendarDayButton({ className: dayClassName, day, modifiers, locale, ...props }: CalendarDayButton.Props): React.JSX.Element;
|
|
1379
1323
|
interface CalendarDayButtonProps extends React.ComponentProps<typeof DayButton> {
|
|
1380
1324
|
/** Locale used to format the day's `data-day` date string. */
|
|
1381
1325
|
locale?: Partial<Locale>;
|
|
@@ -1472,13 +1416,16 @@ type UseCarouselParameters = Parameters<typeof useEmblaCarousel>;
|
|
|
1472
1416
|
type CarouselOptions = UseCarouselParameters[0];
|
|
1473
1417
|
type CarouselPlugin = UseCarouselParameters[1];
|
|
1474
1418
|
type CarouselProps = {
|
|
1475
|
-
/** Embla options object passed through to `useEmblaCarousel`. */
|
|
1419
|
+
/** Embla options object passed through to `useEmblaCarousel`. */
|
|
1420
|
+
opts?: CarouselOptions;
|
|
1421
|
+
/** Embla plugins (e.g. autoplay) passed through to `useEmblaCarousel`. */
|
|
1476
1422
|
plugins?: CarouselPlugin;
|
|
1477
1423
|
/**
|
|
1478
1424
|
* Scroll axis of the carousel.
|
|
1479
1425
|
* @default 'horizontal'
|
|
1480
1426
|
*/
|
|
1481
|
-
orientation?: 'horizontal' | 'vertical';
|
|
1427
|
+
orientation?: 'horizontal' | 'vertical';
|
|
1428
|
+
/** Callback invoked with the Embla api once ready, for imperative control. */
|
|
1482
1429
|
setApi?: (api: CarouselApi) => void;
|
|
1483
1430
|
};
|
|
1484
1431
|
/**
|
|
@@ -1573,6 +1520,9 @@ declare namespace ChipRemove {
|
|
|
1573
1520
|
* fixed 24px size with a forced trailing remove (X) button. The chip body is
|
|
1574
1521
|
* non-interactive — only the X reacts to hover. For combobox-bound chips that
|
|
1575
1522
|
* must drive Base UI's selection state, see `ComboboxChip`.
|
|
1523
|
+
*
|
|
1524
|
+
* Defaults `overflowMode` to `'truncate'` (unlike `Badge`, which defaults to
|
|
1525
|
+
* `'none'`) since chips sit in fixed-width input/combobox rows.
|
|
1576
1526
|
*/
|
|
1577
1527
|
declare const Chip: React.ForwardRefExoticComponent<Omit<ChipProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
1578
1528
|
interface ChipProps extends Omit<Badge.Props, 'size' | 'render'> {
|
|
@@ -1656,7 +1606,7 @@ declare namespace ComboboxValue {
|
|
|
1656
1606
|
* Toggles the combobox popup, wrapping Base UI's `Combobox.Trigger`. Renders a `<button>` with a
|
|
1657
1607
|
* trailing chevron icon.
|
|
1658
1608
|
*/
|
|
1659
|
-
declare const ComboboxTrigger: React.ForwardRefExoticComponent<Omit<
|
|
1609
|
+
declare const ComboboxTrigger: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").AutocompleteTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1660
1610
|
declare namespace ComboboxTrigger {
|
|
1661
1611
|
type Props = Combobox$1.Trigger.Props;
|
|
1662
1612
|
}
|
|
@@ -1696,7 +1646,7 @@ declare namespace ComboboxContent {
|
|
|
1696
1646
|
* Scrollable list wrapper for combobox items, wrapping Base UI's `Combobox.List`. Renders a
|
|
1697
1647
|
* scrollable `<div>`.
|
|
1698
1648
|
*/
|
|
1699
|
-
declare const ComboboxList: React.ForwardRefExoticComponent<Omit<
|
|
1649
|
+
declare const ComboboxList: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").AutocompleteListProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1700
1650
|
declare namespace ComboboxList {
|
|
1701
1651
|
type Props = Combobox$1.List.Props;
|
|
1702
1652
|
}
|
|
@@ -1704,7 +1654,7 @@ declare namespace ComboboxList {
|
|
|
1704
1654
|
* Selectable option in the combobox list, wrapping Base UI's `Combobox.Item`. Renders a `<div>`
|
|
1705
1655
|
* row with a trailing check indicator when selected.
|
|
1706
1656
|
*/
|
|
1707
|
-
declare const ComboboxItem: React.ForwardRefExoticComponent<Omit<
|
|
1657
|
+
declare const ComboboxItem: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").AutocompleteItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1708
1658
|
declare namespace ComboboxItem {
|
|
1709
1659
|
type Props = Combobox$1.Item.Props;
|
|
1710
1660
|
}
|
|
@@ -1712,7 +1662,7 @@ declare namespace ComboboxItem {
|
|
|
1712
1662
|
* Groups related combobox items under a shared label, wrapping Base UI's `Combobox.Group`.
|
|
1713
1663
|
* Renders a `<div>`.
|
|
1714
1664
|
*/
|
|
1715
|
-
declare const ComboboxGroup: React.ForwardRefExoticComponent<Omit<
|
|
1665
|
+
declare const ComboboxGroup: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").AutocompleteGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1716
1666
|
declare namespace ComboboxGroup {
|
|
1717
1667
|
type Props = Combobox$1.Group.Props;
|
|
1718
1668
|
}
|
|
@@ -1720,7 +1670,7 @@ declare namespace ComboboxGroup {
|
|
|
1720
1670
|
* Label for a `ComboboxGroup`, wrapping Base UI's `Combobox.GroupLabel`. Renders a muted `<div>`
|
|
1721
1671
|
* heading.
|
|
1722
1672
|
*/
|
|
1723
|
-
declare const ComboboxLabel: React.ForwardRefExoticComponent<Omit<
|
|
1673
|
+
declare const ComboboxLabel: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").AutocompleteGroupLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1724
1674
|
declare namespace ComboboxLabel {
|
|
1725
1675
|
type Props = Combobox$1.GroupLabel.Props;
|
|
1726
1676
|
}
|
|
@@ -1736,7 +1686,7 @@ declare namespace ComboboxCollection {
|
|
|
1736
1686
|
* Message shown when no items match the current query, wrapping Base UI's `Combobox.Empty`.
|
|
1737
1687
|
* Renders a `<div>` that is only visible when the list is empty.
|
|
1738
1688
|
*/
|
|
1739
|
-
declare const ComboboxEmpty: React.ForwardRefExoticComponent<Omit<
|
|
1689
|
+
declare const ComboboxEmpty: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").AutocompleteEmptyProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1740
1690
|
declare namespace ComboboxEmpty {
|
|
1741
1691
|
type Props = Combobox$1.Empty.Props;
|
|
1742
1692
|
}
|
|
@@ -1744,7 +1694,7 @@ declare namespace ComboboxEmpty {
|
|
|
1744
1694
|
* Visual divider between combobox items or groups, wrapping Base UI's `Combobox.Separator`.
|
|
1745
1695
|
* Renders a thin `<div>` line.
|
|
1746
1696
|
*/
|
|
1747
|
-
declare const ComboboxSeparator: React.ForwardRefExoticComponent<Omit<
|
|
1697
|
+
declare const ComboboxSeparator: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").SeparatorProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1748
1698
|
declare namespace ComboboxSeparator {
|
|
1749
1699
|
type Props = Combobox$1.Separator.Props;
|
|
1750
1700
|
}
|
|
@@ -1775,7 +1725,7 @@ declare namespace ComboboxChip {
|
|
|
1775
1725
|
* Text input placed inside `ComboboxChips` for filtering and adding chips, wrapping Base UI's
|
|
1776
1726
|
* `Combobox.Input`. Renders an `<input>`.
|
|
1777
1727
|
*/
|
|
1778
|
-
declare const ComboboxChipsInput: React.ForwardRefExoticComponent<Omit<
|
|
1728
|
+
declare const ComboboxChipsInput: React.ForwardRefExoticComponent<Omit<import("@base-ui/react").AutocompleteInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1779
1729
|
/**
|
|
1780
1730
|
* Returns a stable ref to attach to `ComboboxChips` and pass as `ComboboxContent`'s `anchor`, so
|
|
1781
1731
|
* the popup is positioned against the chips container rather than the input.
|
|
@@ -2403,6 +2353,17 @@ declare namespace DataCombobox {
|
|
|
2403
2353
|
type DataComboboxLoadingState = ComboboxLoadingState;
|
|
2404
2354
|
//#endregion
|
|
2405
2355
|
//#region src/components/data-table.d.ts
|
|
2356
|
+
declare module '@tanstack/react-table' {
|
|
2357
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
2358
|
+
/**
|
|
2359
|
+
* Stick this column to the left or right edge while the table scrolls
|
|
2360
|
+
* horizontally. Implies fixed column widths (`table-layout: fixed`); set an
|
|
2361
|
+
* explicit `size` on pinned columns. When any column is pinned and selection
|
|
2362
|
+
* is enabled, the built-in selection column is also auto-pinned to the left.
|
|
2363
|
+
*/
|
|
2364
|
+
pin?: 'left' | 'right';
|
|
2365
|
+
}
|
|
2366
|
+
}
|
|
2406
2367
|
/** Async states a `DataTable` can be in (mirrors React Spectrum's `loadingState`). */
|
|
2407
2368
|
type DataTableLoadingState = 'idle' | 'loading' | 'sorting' | 'filtering' | 'loadingMore';
|
|
2408
2369
|
interface DataTableProps<TData> {
|
|
@@ -2410,6 +2371,9 @@ interface DataTableProps<TData> {
|
|
|
2410
2371
|
* Column definitions for the table. Define a column's `footer` to render a
|
|
2411
2372
|
* summary row — the table auto-shows a `<tfoot>` when any column has one, with
|
|
2412
2373
|
* footer cells aligned under their columns.
|
|
2374
|
+
*
|
|
2375
|
+
* Pin a column while scrolling horizontally with `meta: { pin: 'left' | 'right' }`.
|
|
2376
|
+
* Pinned columns imply fixed widths — set an explicit `size` on each.
|
|
2413
2377
|
*/
|
|
2414
2378
|
columns: ColumnDef$1<TData, unknown>[];
|
|
2415
2379
|
/** Data array to render. With server-side sorting/pagination, this is the already-prepared page. */
|
|
@@ -2527,7 +2491,8 @@ interface DataTableProps<TData> {
|
|
|
2527
2491
|
* This is width-pinning WITHOUT interactivity — unlike `enableColumnResizing`
|
|
2528
2492
|
* it adds no drag handles, and unlike `virtualizeRows` it needs no
|
|
2529
2493
|
* `fillHeight`. Use it for content-stable lists where columns shouldn't
|
|
2530
|
-
* reflow. (`enableColumnResizing` and
|
|
2494
|
+
* reflow. (`enableColumnResizing`, `virtualizeRows`, and column pinning via
|
|
2495
|
+
* `meta.pin` imply this too.)
|
|
2531
2496
|
*/
|
|
2532
2497
|
fixedLayout?: boolean;
|
|
2533
2498
|
className?: string;
|
|
@@ -2535,8 +2500,8 @@ interface DataTableProps<TData> {
|
|
|
2535
2500
|
/**
|
|
2536
2501
|
* Data grid built on TanStack Table. Renders a `<div>` wrapper around a DS
|
|
2537
2502
|
* `<Table>` (`<table>`), driven by `columns` + `data`, with opt-in sorting,
|
|
2538
|
-
* row selection, column resizing,
|
|
2539
|
-
* action bar, and loading/empty states.
|
|
2503
|
+
* row selection, column resizing, column pinning (`meta.pin`), virtualization,
|
|
2504
|
+
* infinite scroll, a floating action bar, and loading/empty states.
|
|
2540
2505
|
*
|
|
2541
2506
|
* @example
|
|
2542
2507
|
* ```tsx
|
|
@@ -2920,11 +2885,7 @@ declare const DrawerCreateHandle: typeof DrawerPrimitive.createHandle;
|
|
|
2920
2885
|
* </Drawer>
|
|
2921
2886
|
* ```
|
|
2922
2887
|
*/
|
|
2923
|
-
declare function Drawer({
|
|
2924
|
-
swipeDirection,
|
|
2925
|
-
position,
|
|
2926
|
-
...props
|
|
2927
|
-
}: Drawer.Props): React.ReactElement;
|
|
2888
|
+
declare function Drawer({ swipeDirection, position, ...props }: Drawer.Props): React.ReactElement;
|
|
2928
2889
|
interface DrawerProps extends DrawerPrimitive.Root.Props {
|
|
2929
2890
|
/**
|
|
2930
2891
|
* Edge the drawer is anchored to; also sets the default `swipeDirection`.
|
|
@@ -3498,7 +3459,7 @@ declare namespace EmptyHeader {
|
|
|
3498
3459
|
}
|
|
3499
3460
|
declare const emptyMediaVariants: (props?: ({
|
|
3500
3461
|
variant?: "default" | "icon" | null | undefined;
|
|
3501
|
-
} &
|
|
3462
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
3502
3463
|
/**
|
|
3503
3464
|
* Wrapper for the empty state's icon or illustration. Renders a `<div>`; the `icon`
|
|
3504
3465
|
* variant gives it a muted rounded background, while `default` is transparent.
|
|
@@ -3756,10 +3717,7 @@ type EmojiPickerProps = {
|
|
|
3756
3717
|
* </EmojiPicker>
|
|
3757
3718
|
* ```
|
|
3758
3719
|
*/
|
|
3759
|
-
declare function EmojiPicker({
|
|
3760
|
-
onEmojiSelect,
|
|
3761
|
-
children
|
|
3762
|
-
}: EmojiPicker.Props): React.JSX.Element;
|
|
3720
|
+
declare function EmojiPicker({ onEmojiSelect, children }: EmojiPicker.Props): React.JSX.Element;
|
|
3763
3721
|
declare namespace EmojiPicker {
|
|
3764
3722
|
type Props = EmojiPickerProps;
|
|
3765
3723
|
}
|
|
@@ -3793,15 +3751,7 @@ type EmojiPickerContentProps = Omit<React.ComponentProps<typeof PopoverContent>,
|
|
|
3793
3751
|
* <EmojiPickerContent width={320} categories={[{ category: EmojiPickerCategories.SMILEYS_PEOPLE, name: 'Smileys' }]} />
|
|
3794
3752
|
* ```
|
|
3795
3753
|
*/
|
|
3796
|
-
declare function EmojiPickerContent({
|
|
3797
|
-
className,
|
|
3798
|
-
align,
|
|
3799
|
-
searchPlaceholder,
|
|
3800
|
-
categories,
|
|
3801
|
-
width,
|
|
3802
|
-
suggestedEmojisMode,
|
|
3803
|
-
...props
|
|
3804
|
-
}: EmojiPickerContentProps): React.JSX.Element;
|
|
3754
|
+
declare function EmojiPickerContent({ className, align, searchPlaceholder, categories, width, suggestedEmojisMode, ...props }: EmojiPickerContentProps): React.JSX.Element;
|
|
3805
3755
|
declare namespace EmojiPickerContent {
|
|
3806
3756
|
type Props = EmojiPickerContentProps;
|
|
3807
3757
|
}
|
|
@@ -3815,7 +3765,7 @@ declare namespace EmojiPickerContent {
|
|
|
3815
3765
|
declare const fabVariants: (props?: ({
|
|
3816
3766
|
variant?: "default" | "outline" | null | undefined;
|
|
3817
3767
|
size?: "lg" | "icon-lg" | null | undefined;
|
|
3818
|
-
} &
|
|
3768
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
3819
3769
|
/**
|
|
3820
3770
|
* Floating action button — a raised, shadowed button for a primary action.
|
|
3821
3771
|
* Renders Base UI's `Button` primitive as a `<button>`.
|
|
@@ -3889,7 +3839,7 @@ declare namespace FieldGroup {
|
|
|
3889
3839
|
}
|
|
3890
3840
|
declare const fieldVariants: (props?: ({
|
|
3891
3841
|
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
3892
|
-
} &
|
|
3842
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
3893
3843
|
/**
|
|
3894
3844
|
* Layout wrapper pairing a control with its label, description, and error. Renders a
|
|
3895
3845
|
* `<div role="group">`. The `orientation` variant (`'vertical' | 'horizontal' | 'responsive'`)
|
|
@@ -4176,13 +4126,21 @@ declare namespace HoverCardContent {
|
|
|
4176
4126
|
//#endregion
|
|
4177
4127
|
//#region src/components/inline-edit-input.d.ts
|
|
4178
4128
|
type InlineEditInputOwnProps = {
|
|
4179
|
-
/** Optional 16 px leading icon rendered before the text. */
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4129
|
+
/** Optional 16 px leading icon rendered before the text. */
|
|
4130
|
+
prefix?: React.ReactNode;
|
|
4131
|
+
/** When true, renders as static text with no hover/focus affordance. */
|
|
4132
|
+
readOnly?: boolean;
|
|
4133
|
+
/** Marks the field as invalid; drives the destructive border/ring. */
|
|
4134
|
+
'aria-invalid'?: boolean;
|
|
4135
|
+
/** Controlled value. Fires `onValueChange` on every keystroke. */
|
|
4136
|
+
value?: string;
|
|
4137
|
+
/** Uncontrolled initial value. */
|
|
4138
|
+
defaultValue?: string;
|
|
4139
|
+
/** Fired on every keystroke (live, for controlled form-lib usage). */
|
|
4140
|
+
onValueChange?: (value: string) => void;
|
|
4141
|
+
/** Fired on blur or Enter with the trimmed value (deferred commit). */
|
|
4142
|
+
onValueCommit?: (value: string) => void;
|
|
4143
|
+
/** Selects all text when the field receives focus. */
|
|
4186
4144
|
selectAllOnFocus?: boolean;
|
|
4187
4145
|
};
|
|
4188
4146
|
type InlineEditInputNativeProps = Omit<React.ComponentProps<'input'>, 'size' | 'prefix' | 'value' | 'defaultValue' | 'onChange'>;
|
|
@@ -4379,15 +4337,15 @@ interface InlineEditMultiselectBaseProps {
|
|
|
4379
4337
|
* Data-driven mode props. Items are opaque `Item`s read via accessor functions
|
|
4380
4338
|
* (mirrors `DataCombobox` / `InlineEditSelect`), so the item shape is the consumer's.
|
|
4381
4339
|
*/
|
|
4382
|
-
interface InlineEditMultiselectDataProps<Item
|
|
4340
|
+
interface InlineEditMultiselectDataProps<Item> extends InlineEditMultiselectBaseProps {
|
|
4383
4341
|
/** The selectable options. Mutually exclusive with `children`. */
|
|
4384
|
-
items: Item
|
|
4342
|
+
items: Item[];
|
|
4385
4343
|
/** Extracts the string key stored for an item (the value in `value`/`onValueChange`). */
|
|
4386
|
-
getItemValue: (item: Item
|
|
4344
|
+
getItemValue: (item: Item) => string;
|
|
4387
4345
|
/** Extracts the plain-text label shown in the chip, the option row, and used for search. */
|
|
4388
|
-
getItemLabel: (item: Item
|
|
4346
|
+
getItemLabel: (item: Item) => string;
|
|
4389
4347
|
/** Optional rich row content (icon, subtitle, …) for the dropdown option. */
|
|
4390
|
-
renderItem?: (item: Item
|
|
4348
|
+
renderItem?: (item: Item) => React.ReactNode;
|
|
4391
4349
|
/**
|
|
4392
4350
|
* Optional custom render for a selected chip. Return the WHOLE chip - an
|
|
4393
4351
|
* `InlineEditMultiselectChip` element - so its appearance (`color`/`tone`/`glow`/
|
|
@@ -4397,7 +4355,7 @@ interface InlineEditMultiselectDataProps<Item$1> extends InlineEditMultiselectBa
|
|
|
4397
4355
|
* `renderItem`, which returns only the row's inner content, the chip is entirely
|
|
4398
4356
|
* consumer-owned here - mirrors `DataCombobox`'s `renderChip`.)
|
|
4399
4357
|
*/
|
|
4400
|
-
renderChip?: (item: Item
|
|
4358
|
+
renderChip?: (item: Item) => React.ReactNode;
|
|
4401
4359
|
/** Keys (from `getItemValue`) that are non-selectable. */
|
|
4402
4360
|
disabledKeys?: Set<string>;
|
|
4403
4361
|
/** Placeholder for the dropdown search input. */
|
|
@@ -4429,9 +4387,9 @@ interface InlineEditMultiselectCompoundProps extends InlineEditMultiselectBasePr
|
|
|
4429
4387
|
itemToStringLabel?: (value: string) => string;
|
|
4430
4388
|
getItemValue?: never;
|
|
4431
4389
|
}
|
|
4432
|
-
type InlineEditMultiselectProps<Item
|
|
4390
|
+
type InlineEditMultiselectProps<Item> = InlineEditMultiselectDataProps<Item> | InlineEditMultiselectCompoundProps;
|
|
4433
4391
|
declare namespace InlineEditMultiselect {
|
|
4434
|
-
type Props<Item
|
|
4392
|
+
type Props<Item = unknown> = InlineEditMultiselectProps<Item>;
|
|
4435
4393
|
}
|
|
4436
4394
|
/**
|
|
4437
4395
|
* An inline-editable multi-value select rendered as a wrapping row of removable chips
|
|
@@ -4470,7 +4428,7 @@ declare namespace InlineEditMultiselect {
|
|
|
4470
4428
|
* ```
|
|
4471
4429
|
* (Pass the content children as a render function, not a static `.map`, so the search filters.)
|
|
4472
4430
|
*/
|
|
4473
|
-
declare function InlineEditMultiselect<Item
|
|
4431
|
+
declare function InlineEditMultiselect<Item>(componentProps: InlineEditMultiselectDataProps<Item>): React.ReactNode;
|
|
4474
4432
|
declare function InlineEditMultiselect(componentProps: InlineEditMultiselectCompoundProps): React.ReactNode;
|
|
4475
4433
|
//#endregion
|
|
4476
4434
|
//#region src/components/inline-edit-select.d.ts
|
|
@@ -4572,16 +4530,16 @@ interface InlineEditSelectBaseProps {
|
|
|
4572
4530
|
* Data-driven mode props. Items are opaque `Item`s read via accessor functions
|
|
4573
4531
|
* (mirrors `DataCombobox`), so the item shape is the consumer's — not a fixed type.
|
|
4574
4532
|
*/
|
|
4575
|
-
interface InlineEditSelectDataProps<Item
|
|
4533
|
+
interface InlineEditSelectDataProps<Item> extends InlineEditSelectBaseProps {
|
|
4576
4534
|
/** The options to show in the dropdown. Mutually exclusive with `children`. */
|
|
4577
|
-
items: Item
|
|
4535
|
+
items: Item[];
|
|
4578
4536
|
/** Extracts the string value/key submitted when an item is selected. */
|
|
4579
|
-
getItemValue: (item: Item
|
|
4537
|
+
getItemValue: (item: Item) => string;
|
|
4580
4538
|
/** Extracts the plain-text label shown in the trigger and (by default) the row. */
|
|
4581
|
-
getItemLabel: (item: Item
|
|
4539
|
+
getItemLabel: (item: Item) => string;
|
|
4582
4540
|
/** Optional rich row content (icon, subtitle, …) for the dropdown. The trigger
|
|
4583
4541
|
* always shows `getItemLabel` (plain text), never `renderItem`. */
|
|
4584
|
-
renderItem?: (item: Item
|
|
4542
|
+
renderItem?: (item: Item) => React.ReactNode;
|
|
4585
4543
|
/** Values (from `getItemValue`) that are non-selectable. */
|
|
4586
4544
|
disabledKeys?: Set<string>;
|
|
4587
4545
|
/** Optional 16 px leading icon. */
|
|
@@ -4607,9 +4565,9 @@ interface InlineEditSelectCompoundProps extends InlineEditSelectBaseProps {
|
|
|
4607
4565
|
children: React.ReactNode;
|
|
4608
4566
|
items?: never;
|
|
4609
4567
|
}
|
|
4610
|
-
type InlineEditSelectProps<Item
|
|
4568
|
+
type InlineEditSelectProps<Item> = InlineEditSelectDataProps<Item> | InlineEditSelectCompoundProps;
|
|
4611
4569
|
declare namespace InlineEditSelect {
|
|
4612
|
-
type Props<Item
|
|
4570
|
+
type Props<Item = unknown> = InlineEditSelectProps<Item>;
|
|
4613
4571
|
}
|
|
4614
4572
|
/**
|
|
4615
4573
|
* An inline-editable single-value select. Picks one option from a popup and
|
|
@@ -4644,19 +4602,28 @@ declare namespace InlineEditSelect {
|
|
|
4644
4602
|
* </InlineEditSelect>
|
|
4645
4603
|
* ```
|
|
4646
4604
|
*/
|
|
4647
|
-
declare function InlineEditSelect<Item
|
|
4605
|
+
declare function InlineEditSelect<Item>(componentProps: InlineEditSelectDataProps<Item>): React.ReactNode;
|
|
4648
4606
|
declare function InlineEditSelect(componentProps: InlineEditSelectCompoundProps): React.ReactNode;
|
|
4649
4607
|
//#endregion
|
|
4650
4608
|
//#region src/components/inline-edit-textarea.d.ts
|
|
4651
4609
|
type InlineEditTextareaOwnProps = {
|
|
4652
|
-
/** Optional 16 px leading icon rendered before the text. */
|
|
4653
|
-
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4610
|
+
/** Optional 16 px leading icon rendered before the text. */
|
|
4611
|
+
prefix?: React.ReactNode;
|
|
4612
|
+
/** When true, renders as static text with no hover/focus affordance. */
|
|
4613
|
+
readOnly?: boolean;
|
|
4614
|
+
/** Marks the field as invalid; drives the destructive border/ring. */
|
|
4615
|
+
'aria-invalid'?: boolean;
|
|
4616
|
+
/** Controlled value. Fires `onValueChange` on every keystroke. */
|
|
4617
|
+
value?: string;
|
|
4618
|
+
/** Uncontrolled initial value. */
|
|
4619
|
+
defaultValue?: string;
|
|
4620
|
+
/** Fired on every keystroke (live, for controlled form-lib usage). */
|
|
4621
|
+
onValueChange?: (value: string) => void;
|
|
4622
|
+
/** Fired on blur or ⌘/Ctrl+Enter with the trimmed value (deferred commit). */
|
|
4623
|
+
onValueCommit?: (value: string) => void;
|
|
4624
|
+
/** Selects all text when the field receives focus. */
|
|
4625
|
+
selectAllOnFocus?: boolean;
|
|
4626
|
+
/** Maximum number of characters allowed. */
|
|
4660
4627
|
maxLength?: number;
|
|
4661
4628
|
};
|
|
4662
4629
|
type InlineEditTextareaNativeProps = Omit<React.ComponentProps<'textarea'>, 'size' | 'prefix' | 'value' | 'defaultValue' | 'onChange'>;
|
|
@@ -4694,7 +4661,7 @@ declare const InlineEditTextarea: React.ForwardRefExoticComponent<Omit<InlineEdi
|
|
|
4694
4661
|
//#region src/components/input.d.ts
|
|
4695
4662
|
declare const inputVariants: (props?: ({
|
|
4696
4663
|
block?: boolean | null | undefined;
|
|
4697
|
-
} &
|
|
4664
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4698
4665
|
/**
|
|
4699
4666
|
* Single-line text field styled to the design system.
|
|
4700
4667
|
*
|
|
@@ -4740,7 +4707,7 @@ declare namespace InputGroup {
|
|
|
4740
4707
|
}
|
|
4741
4708
|
declare const inputGroupAddonVariants: (props?: ({
|
|
4742
4709
|
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
4743
|
-
} &
|
|
4710
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4744
4711
|
declare const InputGroupAddon: React.ForwardRefExoticComponent<Omit<InputGroupAddonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
4745
4712
|
interface InputGroupAddonProps extends React.ComponentProps<'div'>, VariantProps<typeof inputGroupAddonVariants> {}
|
|
4746
4713
|
declare namespace InputGroupAddon {
|
|
@@ -4791,7 +4758,9 @@ declare namespace InputGroupTextarea {
|
|
|
4791
4758
|
*/
|
|
4792
4759
|
declare const NumericInput: React.ForwardRefExoticComponent<Omit<NumericInputProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
4793
4760
|
type NumericInputProps = Omit<NumberField.Root.Props, 'prefix'> & {
|
|
4794
|
-
/** Element rendered before the input (inline-start affix). Convenience mode only. @default undefined */
|
|
4761
|
+
/** Element rendered before the input (inline-start affix). Convenience mode only. @default undefined */
|
|
4762
|
+
prefix?: React.ReactNode;
|
|
4763
|
+
/** Element rendered after the input (inline-end affix). Convenience mode only. @default undefined */
|
|
4795
4764
|
suffix?: React.ReactNode;
|
|
4796
4765
|
/**
|
|
4797
4766
|
* Hide the −/+ stepper buttons. Convenience mode only — in compound mode the
|
|
@@ -4869,7 +4838,7 @@ declare namespace NumericInputDecrement {
|
|
|
4869
4838
|
* )} />
|
|
4870
4839
|
* ```
|
|
4871
4840
|
*/
|
|
4872
|
-
declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
4841
|
+
declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
4873
4842
|
value?: string;
|
|
4874
4843
|
onChange?: (newValue: string) => unknown;
|
|
4875
4844
|
maxLength: number;
|
|
@@ -4880,11 +4849,11 @@ declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHT
|
|
|
4880
4849
|
containerClassName?: string;
|
|
4881
4850
|
noScriptCSSFallback?: string | null;
|
|
4882
4851
|
} & {
|
|
4883
|
-
render: (props:
|
|
4852
|
+
render: (props: import("input-otp").RenderProps) => React.ReactNode;
|
|
4884
4853
|
children?: never;
|
|
4885
4854
|
} & React.RefAttributes<HTMLInputElement> & {
|
|
4886
4855
|
containerClassName?: string;
|
|
4887
|
-
}, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
4856
|
+
}, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
4888
4857
|
value?: string;
|
|
4889
4858
|
onChange?: (newValue: string) => unknown;
|
|
4890
4859
|
maxLength: number;
|
|
@@ -4964,7 +4933,7 @@ declare namespace ItemSeparator {
|
|
|
4964
4933
|
declare const itemVariants: (props?: ({
|
|
4965
4934
|
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
4966
4935
|
size?: "default" | "sm" | "xs" | null | undefined;
|
|
4967
|
-
} &
|
|
4936
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4968
4937
|
/**
|
|
4969
4938
|
* Flexible list-item container laying out media, content, and actions on one row. Renders a `<div>`
|
|
4970
4939
|
* by default (swap the element via `render`). The `variant` (`'default' | 'outline' | 'muted'`) and
|
|
@@ -4987,7 +4956,7 @@ declare namespace Item {
|
|
|
4987
4956
|
}
|
|
4988
4957
|
declare const itemMediaVariants: (props?: ({
|
|
4989
4958
|
variant?: "image" | "default" | "icon" | null | undefined;
|
|
4990
|
-
} &
|
|
4959
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4991
4960
|
/**
|
|
4992
4961
|
* Leading media slot of an `Item` (icon, image, or avatar). Renders a `<div>`. The `variant`
|
|
4993
4962
|
* (`'default' | 'icon' | 'image'`) tunes sizing and styling and defaults to `'default'`.
|
|
@@ -5303,6 +5272,327 @@ declare namespace RadioGroupItem {
|
|
|
5303
5272
|
type Props = RadioGroupItemProps;
|
|
5304
5273
|
}
|
|
5305
5274
|
//#endregion
|
|
5275
|
+
//#region src/components/rich-textarea.d.ts
|
|
5276
|
+
/**
|
|
5277
|
+
* A person that can be `@`-mentioned in {@link RichTextarea}.
|
|
5278
|
+
*/
|
|
5279
|
+
interface MentionOption {
|
|
5280
|
+
/** Stable identifier stored on the inserted node. */
|
|
5281
|
+
id: string;
|
|
5282
|
+
/** Text shown in the menu and in the inserted pill. */
|
|
5283
|
+
label: string;
|
|
5284
|
+
/** Optional avatar image URL rendered in the menu and pill. */
|
|
5285
|
+
avatar?: string;
|
|
5286
|
+
/** DS {@link Chip} color for the mention pill. Defaults to `charcoal`. */
|
|
5287
|
+
color?: Chip.Props['color'];
|
|
5288
|
+
}
|
|
5289
|
+
/**
|
|
5290
|
+
* A `/`-command offered in the {@link RichTextarea} slash menu. Selecting it runs
|
|
5291
|
+
* `onSelect` and inserts no node.
|
|
5292
|
+
*/
|
|
5293
|
+
interface SlashCommandOption {
|
|
5294
|
+
/** Stable identifier and menu key. */
|
|
5295
|
+
id: string;
|
|
5296
|
+
/** Text shown in the menu. */
|
|
5297
|
+
label: string;
|
|
5298
|
+
/** Optional secondary line shown under the label. */
|
|
5299
|
+
description?: string;
|
|
5300
|
+
/** Optional leading icon (consumer-supplied node). */
|
|
5301
|
+
icon?: React.ReactNode;
|
|
5302
|
+
/**
|
|
5303
|
+
* Runs when the command is chosen. Receives the Plate editor.
|
|
5304
|
+
* `editor` is intentionally `any` to honor the component's public contract
|
|
5305
|
+
* without leaking Plate's internal editor type onto consumers.
|
|
5306
|
+
*/
|
|
5307
|
+
onSelect?: (editor: any) => void;
|
|
5308
|
+
}
|
|
5309
|
+
/**
|
|
5310
|
+
* A `#`-tag offered in the {@link RichTextarea} tag menu, rendered as a DS {@link Badge}.
|
|
5311
|
+
*/
|
|
5312
|
+
interface TagOption {
|
|
5313
|
+
/** Stable identifier stored on the inserted node. */
|
|
5314
|
+
id: string;
|
|
5315
|
+
/** Text shown in the menu and in the inserted pill. */
|
|
5316
|
+
label: string;
|
|
5317
|
+
/** DS {@link Badge} color for the tag pill. Defaults to `charcoal`. */
|
|
5318
|
+
color?: Badge.Props['color'];
|
|
5319
|
+
/**
|
|
5320
|
+
* DS {@link Badge} tone (the per-color fill opacity, e.g. `dark` / `light`) paired with
|
|
5321
|
+
* `color`. Ignored when `legacyColor` is set, since that resolves its own color + tone.
|
|
5322
|
+
*/
|
|
5323
|
+
tone?: Badge.Props['tone'];
|
|
5324
|
+
/**
|
|
5325
|
+
* A legacy hard-coded tag hex (e.g. `#0761B5`) from Aircall's predefined tag palette.
|
|
5326
|
+
* Forwarded to the {@link Badge} `legacyColor` prop, which resolves it to a DS `color` + `tone`
|
|
5327
|
+
* (unknown hexes fall back to `charcoal`). Takes precedence over `color`/`tone` - use it to
|
|
5328
|
+
* render existing tags without migrating their stored colors.
|
|
5329
|
+
*/
|
|
5330
|
+
legacyColor?: Badge.Props['legacyColor'];
|
|
5331
|
+
}
|
|
5332
|
+
/**
|
|
5333
|
+
* Async-search + pagination config for {@link RichTextarea} `@mention` / `#tag`
|
|
5334
|
+
* candidates. Pass this object form (instead of a static `T[]`) to source candidates
|
|
5335
|
+
* from a backend: the menu stops filtering client-side and renders `items` verbatim,
|
|
5336
|
+
* calling `onSearch` as the user types and `onFetchMore` as the list scrolls. Prop
|
|
5337
|
+
* names mirror the DS `DataCombobox` / `ComboboxBody` convention.
|
|
5338
|
+
*
|
|
5339
|
+
* @example
|
|
5340
|
+
* ```tsx
|
|
5341
|
+
* <RichTextarea
|
|
5342
|
+
* mentions={{
|
|
5343
|
+
* items: page, // current page of results
|
|
5344
|
+
* onSearch: query => runSearch(query), // you debounce + race-guard
|
|
5345
|
+
* onFetchMore: () => fetchNextPage(),
|
|
5346
|
+
* hasMore,
|
|
5347
|
+
* loadingState // 'loading' | 'filtering' | 'loadingMore'
|
|
5348
|
+
* }}
|
|
5349
|
+
* />
|
|
5350
|
+
* ```
|
|
5351
|
+
*/
|
|
5352
|
+
interface RichTextareaAsyncList<T> {
|
|
5353
|
+
/** The current page of candidates to render (already prepared by the consumer). */
|
|
5354
|
+
items: T[];
|
|
5355
|
+
/**
|
|
5356
|
+
* Fired with the query typed after the trigger (and `''` on clear) so you can fetch
|
|
5357
|
+
* matches. Client-side filtering is disabled in async mode, so results are shown
|
|
5358
|
+
* verbatim - debounce and race-guard (AbortController / request id) this yourself,
|
|
5359
|
+
* as with DS `DataCombobox`.
|
|
5360
|
+
*/
|
|
5361
|
+
onSearch: (query: string) => void;
|
|
5362
|
+
/**
|
|
5363
|
+
* Fired when the list scrolls near the bottom while `hasMore` is `true` - load the
|
|
5364
|
+
* next page and append it to `items`. Omit for a single-page result set.
|
|
5365
|
+
*/
|
|
5366
|
+
onFetchMore?: () => void;
|
|
5367
|
+
/** Whether more pages are available; gates the scroll sentinel. */
|
|
5368
|
+
hasMore?: boolean;
|
|
5369
|
+
/**
|
|
5370
|
+
* Async UI state (reuses the DS {@link ComboboxLoadingState}): `'loading'` shows
|
|
5371
|
+
* skeleton rows on first open; `'filtering'` keeps the previous list mounted while
|
|
5372
|
+
* re-querying (no skeleton flash - keep the previous `items` until results arrive);
|
|
5373
|
+
* `'loadingMore'` appends a spinner row. Omit (or `'idle'`) when not loading.
|
|
5374
|
+
*/
|
|
5375
|
+
loadingState?: ComboboxLoadingState;
|
|
5376
|
+
/**
|
|
5377
|
+
* Number of skeleton rows to show while `loadingState` is `'loading'`.
|
|
5378
|
+
* @default 5
|
|
5379
|
+
*/
|
|
5380
|
+
skeletonCount?: number;
|
|
5381
|
+
}
|
|
5382
|
+
/**
|
|
5383
|
+
* Props for {@link RichTextarea}.
|
|
5384
|
+
*
|
|
5385
|
+
* Note: `value`, the `onValueChange`/`onSubmit` `json`, and `SlashCommandOption.onSelect`
|
|
5386
|
+
* use `any` deliberately — these are the caller-facing contract (plain text or a
|
|
5387
|
+
* Slate JSON AST). Internals are typed against Plate's real `Value`/editor types.
|
|
5388
|
+
*/
|
|
5389
|
+
interface RichTextareaProps {
|
|
5390
|
+
/**
|
|
5391
|
+
* Uncontrolled initial content: plain text, or a Slate JSON AST (array of nodes).
|
|
5392
|
+
*
|
|
5393
|
+
* A plain-text string is split on newlines into paragraphs. When `formatting` is on it is
|
|
5394
|
+
* parsed as Markdown; otherwise, if `mentions`/`tags` are provided, `@label`/`#label`
|
|
5395
|
+
* tokens that exactly match a known option (at a word boundary) are reconstructed into
|
|
5396
|
+
* pills - so a persisted `plainText` value reloads with its pills. This reparse is a
|
|
5397
|
+
* best-effort convenience: plain text cannot distinguish a real pill from literally-typed
|
|
5398
|
+
* `#label` text, so a literal token that happens to match an option becomes a pill. For a
|
|
5399
|
+
* lossless round-trip, persist and pass back the `json` value (array) instead - a JSON AST
|
|
5400
|
+
* is used verbatim, with no token reparsing.
|
|
5401
|
+
*
|
|
5402
|
+
* Named `defaultValue` (like native inputs) because the editor is uncontrolled -
|
|
5403
|
+
* changing it after mount does not update the editor. Drive edits via `onValueChange`.
|
|
5404
|
+
*/
|
|
5405
|
+
defaultValue?: string | any[];
|
|
5406
|
+
/**
|
|
5407
|
+
* Called on every content edit with the serialized value. Fires on real edits only,
|
|
5408
|
+
* not caret/selection moves. `markdown` is present only when `formatting` is on.
|
|
5409
|
+
* Named `onValueChange` (not `onChange`) to match DS value-emitting controls (Combobox,
|
|
5410
|
+
* Select, Stepper) - the argument is a value object, not a DOM change event.
|
|
5411
|
+
*/
|
|
5412
|
+
onValueChange?: (value: {
|
|
5413
|
+
plainText: string;
|
|
5414
|
+
json: any;
|
|
5415
|
+
markdown?: string;
|
|
5416
|
+
}) => void;
|
|
5417
|
+
/** Called when the user submits (see `submitOnEnter`). */
|
|
5418
|
+
onSubmit?: (value: {
|
|
5419
|
+
plainText: string;
|
|
5420
|
+
json: any;
|
|
5421
|
+
markdown?: string;
|
|
5422
|
+
}) => void;
|
|
5423
|
+
/** Placeholder shown while empty. */
|
|
5424
|
+
placeholder?: string;
|
|
5425
|
+
/** Renders read-only and dimmed. */
|
|
5426
|
+
disabled?: boolean;
|
|
5427
|
+
/**
|
|
5428
|
+
* When `true`, Enter submits and Shift+Enter inserts a newline. When `false`,
|
|
5429
|
+
* Enter always inserts a newline.
|
|
5430
|
+
* @default true
|
|
5431
|
+
*/
|
|
5432
|
+
submitOnEnter?: boolean;
|
|
5433
|
+
/**
|
|
5434
|
+
* People that can be `@`-mentioned: a static `MentionOption[]` (filtered
|
|
5435
|
+
* client-side), or a {@link RichTextareaAsyncList} for server-side search + pagination.
|
|
5436
|
+
*/
|
|
5437
|
+
mentions?: MentionOption[] | RichTextareaAsyncList<MentionOption>;
|
|
5438
|
+
/** Commands offered in the `/` menu. */
|
|
5439
|
+
slashCommands?: SlashCommandOption[];
|
|
5440
|
+
/**
|
|
5441
|
+
* Tags offered in the `#` menu: a static `TagOption[]` (filtered client-side),
|
|
5442
|
+
* or a {@link RichTextareaAsyncList} for server-side search + pagination.
|
|
5443
|
+
*/
|
|
5444
|
+
tags?: TagOption[] | RichTextareaAsyncList<TagOption>;
|
|
5445
|
+
/**
|
|
5446
|
+
* Enables marks (bold/italic/underline/strikethrough/code), lists, links, and
|
|
5447
|
+
* Markdown interchange. Links recognize typed/pasted URLs (autolink) and expose a
|
|
5448
|
+
* floating edit/remove card on click; Cmd/Ctrl+K opens the insert form. Compose a
|
|
5449
|
+
* {@link RichTextareaToolbar} to expose the mark/list/link controls. Autolink and
|
|
5450
|
+
* the floating link card only exist when this is on.
|
|
5451
|
+
* @default false
|
|
5452
|
+
*/
|
|
5453
|
+
formatting?: boolean;
|
|
5454
|
+
/**
|
|
5455
|
+
* Shows a floating formatting toolbar over the current text selection, carrying the
|
|
5456
|
+
* same controls as {@link RichTextareaToolbar}. Use it to expose formatting from the
|
|
5457
|
+
* all-in-one {@link RichTextarea} / `InputGroupRichTextarea`, which have no slot for a
|
|
5458
|
+
* static toolbar; it can also sit alongside one in a composed layout.
|
|
5459
|
+
*
|
|
5460
|
+
* Requires `formatting` - a no-op without it, since there is nothing to format. Like
|
|
5461
|
+
* `formatting`, it is read once at mount; toggling it later has no effect.
|
|
5462
|
+
* @default false
|
|
5463
|
+
*/
|
|
5464
|
+
floatingToolbar?: boolean;
|
|
5465
|
+
/**
|
|
5466
|
+
* Renders without its own border, background, shadow, and focus ring so it can
|
|
5467
|
+
* act as the borderless control inside an `InputGroup` (see `InputGroupRichTextarea`).
|
|
5468
|
+
* The `InputGroup` shell then owns the border/ring; place `InputGroupAddon`s around
|
|
5469
|
+
* it to build a composer (attachments, toolbar).
|
|
5470
|
+
* @default false
|
|
5471
|
+
*/
|
|
5472
|
+
bare?: boolean;
|
|
5473
|
+
/** Accessible name for the editor (the placeholder is not a label). */
|
|
5474
|
+
'aria-label'?: string;
|
|
5475
|
+
/** Extra classes for the outer container. */
|
|
5476
|
+
className?: string;
|
|
5477
|
+
}
|
|
5478
|
+
/** Props for {@link RichTextareaRoot} — the editor config plus composed children. */
|
|
5479
|
+
interface RichTextareaRootProps extends Omit<RichTextareaProps, 'bare' | 'className'> {
|
|
5480
|
+
/** The composed layout (e.g. an `InputGroup` with a toolbar and `RichTextareaContent`). */
|
|
5481
|
+
children: React.ReactNode;
|
|
5482
|
+
}
|
|
5483
|
+
/**
|
|
5484
|
+
* Owns the editor and the `<Plate>` provider for a composed RichTextarea. Renders no
|
|
5485
|
+
* DOM of its own — wrap your layout as children so a sibling {@link RichTextareaToolbar}
|
|
5486
|
+
* (which must live inside the Plate provider) can control the editor. For the simple,
|
|
5487
|
+
* all-in-one case use {@link RichTextarea} instead.
|
|
5488
|
+
*
|
|
5489
|
+
* @example
|
|
5490
|
+
* ```tsx
|
|
5491
|
+
* <RichTextareaRoot formatting mentions={mentions} onValueChange={handleChange}>
|
|
5492
|
+
* <InputGroup>
|
|
5493
|
+
* <InputGroupAddon align="block-start"><RichTextareaToolbar /></InputGroupAddon>
|
|
5494
|
+
* <RichTextareaContent bare />
|
|
5495
|
+
* </InputGroup>
|
|
5496
|
+
* </RichTextareaRoot>
|
|
5497
|
+
* ```
|
|
5498
|
+
*/
|
|
5499
|
+
declare function RichTextareaRoot(componentProps: RichTextareaRoot.Props): React.JSX.Element;
|
|
5500
|
+
declare namespace RichTextareaRoot {
|
|
5501
|
+
var displayName: string;
|
|
5502
|
+
}
|
|
5503
|
+
declare namespace RichTextareaRoot {
|
|
5504
|
+
type Props = RichTextareaRootProps;
|
|
5505
|
+
}
|
|
5506
|
+
/** Props for {@link RichTextareaContent}. */
|
|
5507
|
+
interface RichTextareaContentProps {
|
|
5508
|
+
/**
|
|
5509
|
+
* Renders borderless (no border/background/shadow/ring) so the surrounding
|
|
5510
|
+
* `InputGroup` shell owns the chrome. @default false
|
|
5511
|
+
*/
|
|
5512
|
+
bare?: boolean;
|
|
5513
|
+
/** Accessible name for the editor (the placeholder is not a label). */
|
|
5514
|
+
'aria-label'?: string;
|
|
5515
|
+
/** Extra classes for the editable container. */
|
|
5516
|
+
className?: string;
|
|
5517
|
+
}
|
|
5518
|
+
/**
|
|
5519
|
+
* The editable surface of a composed RichTextarea. Must render inside a
|
|
5520
|
+
* {@link RichTextareaRoot}. Use `bare` when placing it inside an `InputGroup`.
|
|
5521
|
+
*/
|
|
5522
|
+
declare const RichTextareaContent: React.ForwardRefExoticComponent<RichTextareaContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
5523
|
+
declare namespace RichTextareaContent {
|
|
5524
|
+
type Props = RichTextareaContentProps;
|
|
5525
|
+
}
|
|
5526
|
+
/**
|
|
5527
|
+
* Chat/comment-style rich input built on Plate.js, styled to match the DS
|
|
5528
|
+
* `Textarea`. Supports `@mention` autocomplete, `#tag` colored pills, and
|
|
5529
|
+
* `/slash` command menus. Enter submits (configurable); Shift+Enter adds a newline.
|
|
5530
|
+
*
|
|
5531
|
+
* All-in-one wrapper around {@link RichTextareaRoot} + {@link RichTextareaContent};
|
|
5532
|
+
* for a consumer-composed toolbar, use those directly.
|
|
5533
|
+
*
|
|
5534
|
+
* @example
|
|
5535
|
+
* ```tsx
|
|
5536
|
+
* <RichTextarea
|
|
5537
|
+
* placeholder="Leave a comment…"
|
|
5538
|
+
* mentions={[{ id: '1', label: 'Ada Lovelace' }]}
|
|
5539
|
+
* onSubmit={({ plainText }) => console.log(plainText)}
|
|
5540
|
+
* />
|
|
5541
|
+
* ```
|
|
5542
|
+
*/
|
|
5543
|
+
declare const RichTextarea: React.ForwardRefExoticComponent<RichTextareaProps & React.RefAttributes<HTMLDivElement>>;
|
|
5544
|
+
declare namespace RichTextarea {
|
|
5545
|
+
type Props = RichTextareaProps;
|
|
5546
|
+
}
|
|
5547
|
+
/**
|
|
5548
|
+
* `RichTextarea` pre-configured as the borderless control inside an `InputGroup`
|
|
5549
|
+
* (the `bare` variant). Compose `InputGroupAddon`s around it — e.g. an attachments
|
|
5550
|
+
* row (`align="block-start"`) and a toolbar (`align="block-end"`) — to build a
|
|
5551
|
+
* chat/agent composer. Lives here (not in `input-group.tsx`) so Plate.js stays out
|
|
5552
|
+
* of `InputGroup`'s import graph.
|
|
5553
|
+
*
|
|
5554
|
+
* @example
|
|
5555
|
+
* ```tsx
|
|
5556
|
+
* <InputGroup>
|
|
5557
|
+
* <InputGroupAddon align="block-start">…attachments…</InputGroupAddon>
|
|
5558
|
+
* <InputGroupRichTextarea mentions={mentions} placeholder="Ask anything…" />
|
|
5559
|
+
* <InputGroupAddon align="block-end">…toolbar…</InputGroupAddon>
|
|
5560
|
+
* </InputGroup>
|
|
5561
|
+
* ```
|
|
5562
|
+
*/
|
|
5563
|
+
declare const InputGroupRichTextarea: React.ForwardRefExoticComponent<InputGroupRichTextareaProps & React.RefAttributes<HTMLDivElement>>;
|
|
5564
|
+
/** Props for {@link InputGroupRichTextarea} — same as {@link RichTextarea} minus `bare` (always on). */
|
|
5565
|
+
interface InputGroupRichTextareaProps extends Omit<RichTextareaProps, 'bare'> {}
|
|
5566
|
+
declare namespace InputGroupRichTextarea {
|
|
5567
|
+
type Props = InputGroupRichTextareaProps;
|
|
5568
|
+
}
|
|
5569
|
+
//#endregion
|
|
5570
|
+
//#region src/components/rich-textarea-toolbar.d.ts
|
|
5571
|
+
/** Props for {@link RichTextareaToolbar}. */
|
|
5572
|
+
interface RichTextareaToolbarProps extends React.ComponentProps<'div'> {}
|
|
5573
|
+
/**
|
|
5574
|
+
* Formatting toolbar for a {@link RichTextareaRoot} with `formatting`. Renders DS
|
|
5575
|
+
* `Toggle`s wired to the editor: bold / italic / underline / strikethrough / inline
|
|
5576
|
+
* code, bulleted / numbered lists, and a link button that opens the floating link
|
|
5577
|
+
* card (the same card shown on click / Cmd+K). Must render inside a
|
|
5578
|
+
* `RichTextareaRoot` (it reads the editor from the Plate provider) — typically in an
|
|
5579
|
+
* `InputGroupAddon align="block-start"`.
|
|
5580
|
+
*
|
|
5581
|
+
* @example
|
|
5582
|
+
* ```tsx
|
|
5583
|
+
* <RichTextareaRoot formatting>
|
|
5584
|
+
* <InputGroup>
|
|
5585
|
+
* <InputGroupAddon align="block-start"><RichTextareaToolbar /></InputGroupAddon>
|
|
5586
|
+
* <RichTextareaContent bare />
|
|
5587
|
+
* </InputGroup>
|
|
5588
|
+
* </RichTextareaRoot>
|
|
5589
|
+
* ```
|
|
5590
|
+
*/
|
|
5591
|
+
declare const RichTextareaToolbar: React.ForwardRefExoticComponent<Omit<RichTextareaToolbarProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
5592
|
+
declare namespace RichTextareaToolbar {
|
|
5593
|
+
type Props = RichTextareaToolbarProps;
|
|
5594
|
+
}
|
|
5595
|
+
//#endregion
|
|
5306
5596
|
//#region src/components/scroll-area.d.ts
|
|
5307
5597
|
/**
|
|
5308
5598
|
* Custom-scrollbar container. Renders the Base UI `ScrollArea.Root` `<div>`
|
|
@@ -5346,7 +5636,7 @@ declare namespace ScrollBar {
|
|
|
5346
5636
|
/** `class-variance-authority` variants for the select trigger; exposes the `size` variant. */
|
|
5347
5637
|
declare const selectTriggerVariants: (props?: ({
|
|
5348
5638
|
size?: "default" | "sm" | null | undefined;
|
|
5349
|
-
} &
|
|
5639
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5350
5640
|
/**
|
|
5351
5641
|
* Root of the select, aliasing Base UI's `Select.Root`. Manages open state and the selected value,
|
|
5352
5642
|
* and renders no DOM element — place `SelectTrigger` and `SelectContent` inside it.
|
|
@@ -5854,7 +6144,7 @@ declare namespace SidebarMenuItem {
|
|
|
5854
6144
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
5855
6145
|
variant?: "default" | "outline" | null | undefined;
|
|
5856
6146
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
5857
|
-
} &
|
|
6147
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
5858
6148
|
/**
|
|
5859
6149
|
* Primary clickable row inside a menu item, with variant/size styles and an
|
|
5860
6150
|
* optional tooltip shown only when collapsed. Renders a `<button>` by default,
|
|
@@ -6011,7 +6301,7 @@ declare namespace Toaster {
|
|
|
6011
6301
|
/** Class variants for `Spinner`, controlling its `size` (`default`, `sm`, `lg`, `xl`). */
|
|
6012
6302
|
declare const spinnerVariants: (props?: ({
|
|
6013
6303
|
size?: "default" | "sm" | "lg" | "xl" | null | undefined;
|
|
6014
|
-
} &
|
|
6304
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6015
6305
|
/**
|
|
6016
6306
|
* Animated loading indicator. Renders a spinning `<svg>` (Loader icon) with
|
|
6017
6307
|
* `role="status"` and a localized `aria-label` for assistive technology.
|
|
@@ -6329,7 +6619,7 @@ declare const toggleVariants: (props?: ({
|
|
|
6329
6619
|
variant?: "default" | "outline" | null | undefined;
|
|
6330
6620
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
6331
6621
|
pressedColor?: "highContrast" | "lowContrast" | null | undefined;
|
|
6332
|
-
} &
|
|
6622
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6333
6623
|
/**
|
|
6334
6624
|
* A two-state button that can be pressed on or off, wrapping Base UI's `Toggle`.
|
|
6335
6625
|
* Renders a `<button aria-pressed>` styled via {@link toggleVariants}.
|
|
@@ -6409,12 +6699,7 @@ declare namespace Tree {
|
|
|
6409
6699
|
* );
|
|
6410
6700
|
* ```
|
|
6411
6701
|
*/
|
|
6412
|
-
declare function Tree({
|
|
6413
|
-
indent,
|
|
6414
|
-
tree,
|
|
6415
|
-
className,
|
|
6416
|
-
...props
|
|
6417
|
-
}: Tree.Props): React.JSX.Element;
|
|
6702
|
+
declare function Tree({ indent, tree, className, ...props }: Tree.Props): React.JSX.Element;
|
|
6418
6703
|
interface TreeItemProps<T = any> extends React.HTMLAttributes<HTMLDivElement> {
|
|
6419
6704
|
/** The item instance from `tree.getItems()`. */
|
|
6420
6705
|
item: ItemInstance<T>;
|
|
@@ -6437,16 +6722,7 @@ declare namespace TreeItem {
|
|
|
6437
6722
|
* leading control (e.g. a selection `Checkbox`) shares the row's hover/selected
|
|
6438
6723
|
* highlight; drives activation for both mouse and keyboard.
|
|
6439
6724
|
*/
|
|
6440
|
-
declare function TreeItem<T = any>({
|
|
6441
|
-
item,
|
|
6442
|
-
className,
|
|
6443
|
-
children,
|
|
6444
|
-
onActivate,
|
|
6445
|
-
onClick: userOnClick,
|
|
6446
|
-
onKeyDown: userOnKeyDown,
|
|
6447
|
-
style: userStyle,
|
|
6448
|
-
...props
|
|
6449
|
-
}: TreeItem.Props<T>): React.JSX.Element;
|
|
6725
|
+
declare function TreeItem<T = any>({ item, className, children, onActivate, onClick: userOnClick, onKeyDown: userOnKeyDown, style: userStyle, ...props }: TreeItem.Props<T>): React.JSX.Element;
|
|
6450
6726
|
interface TreeItemLabelProps<T = any> extends React.HTMLAttributes<HTMLSpanElement> {
|
|
6451
6727
|
/** Item to label. Falls back to the current `TreeItem` from context. */
|
|
6452
6728
|
item?: ItemInstance<T>;
|
|
@@ -6459,12 +6735,7 @@ declare namespace TreeItemLabel {
|
|
|
6459
6735
|
* button for folders (or an aligned spacer for leaves) followed by the label
|
|
6460
6736
|
* content, falling back to the item's name.
|
|
6461
6737
|
*/
|
|
6462
|
-
declare function TreeItemLabel<T = any>({
|
|
6463
|
-
item: propItem,
|
|
6464
|
-
children,
|
|
6465
|
-
className,
|
|
6466
|
-
...props
|
|
6467
|
-
}: TreeItemLabel.Props<T>): React.JSX.Element | null;
|
|
6738
|
+
declare function TreeItemLabel<T = any>({ item: propItem, children, className, ...props }: TreeItemLabel.Props<T>): React.JSX.Element | null;
|
|
6468
6739
|
interface TreeDragLineProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
6469
6740
|
declare namespace TreeDragLine {
|
|
6470
6741
|
type Props = TreeDragLineProps;
|
|
@@ -6473,10 +6744,7 @@ declare namespace TreeDragLine {
|
|
|
6473
6744
|
* Drag-and-drop drop indicator. Renders a positioned `<div>` line using the
|
|
6474
6745
|
* tree instance's `getDragLineStyle()`; renders nothing when no tree is in context.
|
|
6475
6746
|
*/
|
|
6476
|
-
declare function TreeDragLine({
|
|
6477
|
-
className,
|
|
6478
|
-
...props
|
|
6479
|
-
}: TreeDragLine.Props): React.JSX.Element | null;
|
|
6747
|
+
declare function TreeDragLine({ className, ...props }: TreeDragLine.Props): React.JSX.Element | null;
|
|
6480
6748
|
//#endregion
|
|
6481
6749
|
//#region src/components/ds-i18n-provider.d.ts
|
|
6482
6750
|
/** Minimal shape of an i18next-like instance — structural to avoid coupling to a version. */
|
|
@@ -6543,7 +6811,7 @@ declare function useDsLocale(): string;
|
|
|
6543
6811
|
//#endregion
|
|
6544
6812
|
//#region src/i18n/keys.d.ts
|
|
6545
6813
|
/** All translation keys owned by the `ds` namespace. Flat dotted keys (keySeparator: false). */
|
|
6546
|
-
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';
|
|
6814
|
+
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' | 'richTextarea.noResults' | 'richTextarea.slashNoCommands' | 'richTextarea.bold' | 'richTextarea.italic' | 'richTextarea.underline' | 'richTextarea.strikethrough' | 'richTextarea.inlineCode' | 'richTextarea.bulletedList' | 'richTextarea.numberedList' | 'richTextarea.link' | 'richTextarea.linkPlaceholder' | 'richTextarea.linkText' | 'richTextarea.linkEdit' | 'richTextarea.linkOpen' | 'richTextarea.linkRemove';
|
|
6547
6815
|
/** A complete set of translations for one language. Missing a key is a compile error. */
|
|
6548
6816
|
type DsLocale = Record<DsI18nKey, string>;
|
|
6549
6817
|
//#endregion
|
|
@@ -6605,4 +6873,4 @@ declare function useAudioGauge(options?: UseAudioGaugeOptions): UseAudioGaugeRes
|
|
|
6605
6873
|
//#region src/lib/utils.d.ts
|
|
6606
6874
|
declare function cn(...inputs: ClassValue[]): string;
|
|
6607
6875
|
//#endregion
|
|
6608
|
-
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 };
|
|
6876
|
+
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, InputGroupRichTextarea, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Label, List, ListCol, ListRow, type MentionOption, 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, RichTextarea, type RichTextareaAsyncList, RichTextareaContent, RichTextareaRoot, RichTextareaToolbar, 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, type SlashCommandOption, Slider, type SortingState, Spinner, type StepDefinition, Stepper, StepperContent, StepperCounter, StepperPanel, StepperProgress, Switch, Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, type TagOption, 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 };
|