@aircall/ds 0.25.0 → 0.26.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +60 -61
- package/dist/theme.css +970 -2
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Accordion as Accordion$1 } from "@base-ui/react/accordion";
|
|
3
3
|
import { ClassValue } from "clsx";
|
|
4
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
4
|
import { Button as Button$1 } from "@base-ui/react/button";
|
|
6
5
|
import { VariantProps } from "class-variance-authority";
|
|
7
6
|
import "i18next";
|
|
@@ -40,7 +39,7 @@ import { Switch as Switch$1 } from "@base-ui/react/switch";
|
|
|
40
39
|
import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
|
|
41
40
|
import { Toggle as Toggle$1 } from "@base-ui/react/toggle";
|
|
42
41
|
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
43
|
-
import * as
|
|
42
|
+
import * as class_variance_authority_types2 from "class-variance-authority/types";
|
|
44
43
|
import { CountryCode } from "@aircall/numbers";
|
|
45
44
|
|
|
46
45
|
//#region src/components/accordion.d.ts
|
|
@@ -70,7 +69,7 @@ declare const buttonVariants: (props?: ({
|
|
|
70
69
|
variant?: "link" | "default" | "ghost" | "secondary" | "destructive" | "outline" | null | undefined;
|
|
71
70
|
size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
|
|
72
71
|
block?: boolean | null | undefined;
|
|
73
|
-
} &
|
|
72
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
74
73
|
declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
75
74
|
interface ButtonProps extends Button$1.Props, VariantProps<typeof buttonVariants> {
|
|
76
75
|
children?: React.ReactNode;
|
|
@@ -245,7 +244,7 @@ declare function Audio({
|
|
|
245
244
|
crossOrigin,
|
|
246
245
|
children,
|
|
247
246
|
...divProps
|
|
248
|
-
}: AudioProps):
|
|
247
|
+
}: AudioProps): React.JSX.Element;
|
|
249
248
|
/**
|
|
250
249
|
* Flex row wrapper for AudioPlayer sub-components. Renders a `<div>` with
|
|
251
250
|
* `flex items-center gap-2`. Cascades `variant` to child `<AudioPlayerButton>`
|
|
@@ -281,7 +280,7 @@ declare function AudioPlayerRow({
|
|
|
281
280
|
className,
|
|
282
281
|
children,
|
|
283
282
|
...props
|
|
284
|
-
}: AudioPlayerRowProps):
|
|
283
|
+
}: AudioPlayerRowProps): React.JSX.Element;
|
|
285
284
|
/**
|
|
286
285
|
* Play / pause / replay toggle button. Automatically selects the correct icon
|
|
287
286
|
* from provider state (Play → Pause → Replay → Spinner for buffering) and sets
|
|
@@ -340,7 +339,7 @@ declare function AudioPlayerBar({
|
|
|
340
339
|
step,
|
|
341
340
|
playheadHeight,
|
|
342
341
|
...props
|
|
343
|
-
}: AudioPlayerBarProps):
|
|
342
|
+
}: AudioPlayerBarProps): React.JSX.Element;
|
|
344
343
|
type AudioPlayerCurrentTimeProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
345
344
|
/**
|
|
346
345
|
* Dumb span that always renders the current playback position as a formatted
|
|
@@ -354,7 +353,7 @@ type AudioPlayerCurrentTimeProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
|
354
353
|
declare function AudioPlayerCurrentTime({
|
|
355
354
|
className,
|
|
356
355
|
...props
|
|
357
|
-
}: AudioPlayerCurrentTimeProps):
|
|
356
|
+
}: AudioPlayerCurrentTimeProps): React.JSX.Element;
|
|
358
357
|
type AudioPlayerTimeProps = React.HTMLAttributes<HTMLSpanElement> & {
|
|
359
358
|
/**
|
|
360
359
|
* `compact` (default) — smart single value: shows total duration before the track
|
|
@@ -380,7 +379,7 @@ declare function AudioPlayerTime({
|
|
|
380
379
|
mode,
|
|
381
380
|
className,
|
|
382
381
|
...props
|
|
383
|
-
}: AudioPlayerTimeProps):
|
|
382
|
+
}: AudioPlayerTimeProps): React.JSX.Element;
|
|
384
383
|
type AudioPlayerDurationProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
385
384
|
/**
|
|
386
385
|
* Dumb span that always renders the total audio duration as a formatted time
|
|
@@ -394,7 +393,7 @@ type AudioPlayerDurationProps = React.HTMLAttributes<HTMLSpanElement>;
|
|
|
394
393
|
declare function AudioPlayerDuration({
|
|
395
394
|
className,
|
|
396
395
|
...props
|
|
397
|
-
}: AudioPlayerDurationProps):
|
|
396
|
+
}: AudioPlayerDurationProps): React.JSX.Element;
|
|
398
397
|
type AudioPlayerSpeedProps = useRender.ComponentProps<'button'> & {
|
|
399
398
|
/** Speed cycle order. Defaults to [1, 1.5, 2, 0.5] (matches Figma). */speeds?: number[];
|
|
400
399
|
/**
|
|
@@ -445,10 +444,10 @@ type AudioPlayerManagerProps = {
|
|
|
445
444
|
*/
|
|
446
445
|
declare function AudioPlayerManager({
|
|
447
446
|
children
|
|
448
|
-
}: AudioPlayerManagerProps):
|
|
447
|
+
}: AudioPlayerManagerProps): React.JSX.Element;
|
|
449
448
|
//#endregion
|
|
450
449
|
//#region src/components/alert-dialog.d.ts
|
|
451
|
-
declare function AlertDialog(componentProps: AlertDialog.Props):
|
|
450
|
+
declare function AlertDialog(componentProps: AlertDialog.Props): React.JSX.Element;
|
|
452
451
|
interface AlertDialogProps extends AlertDialog$1.Root.Props {}
|
|
453
452
|
declare namespace AlertDialog {
|
|
454
453
|
type Props = AlertDialogProps;
|
|
@@ -458,7 +457,7 @@ interface AlertDialogTriggerProps extends AlertDialog$1.Trigger.Props {}
|
|
|
458
457
|
declare namespace AlertDialogTrigger {
|
|
459
458
|
type Props = AlertDialogTriggerProps;
|
|
460
459
|
}
|
|
461
|
-
declare function AlertDialogPortal(componentProps: AlertDialogPortal.Props):
|
|
460
|
+
declare function AlertDialogPortal(componentProps: AlertDialogPortal.Props): React.JSX.Element;
|
|
462
461
|
interface AlertDialogPortalProps extends AlertDialog$1.Portal.Props {}
|
|
463
462
|
declare namespace AlertDialogPortal {
|
|
464
463
|
type Props = AlertDialogPortalProps;
|
|
@@ -514,7 +513,7 @@ declare namespace AlertDialogCancel {
|
|
|
514
513
|
//#region src/components/alert.d.ts
|
|
515
514
|
declare const alertVariants: (props?: ({
|
|
516
515
|
variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
|
|
517
|
-
} &
|
|
516
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
518
517
|
declare const Alert: React.ForwardRefExoticComponent<Omit<AlertProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
519
518
|
interface AlertProps extends React.ComponentProps<'div'>, VariantProps<typeof alertVariants> {}
|
|
520
519
|
declare namespace Alert {
|
|
@@ -546,7 +545,7 @@ type AttachmentState = 'idle' | 'uploading' | 'processing' | 'error' | 'done';
|
|
|
546
545
|
declare const attachmentVariants: (props?: ({
|
|
547
546
|
size?: "default" | "sm" | "xs" | null | undefined;
|
|
548
547
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
549
|
-
} &
|
|
548
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
550
549
|
/**
|
|
551
550
|
* Card displaying a single file or image attachment with its metadata,
|
|
552
551
|
* upload state, and actions. Renders a `<div>`; compose it from
|
|
@@ -584,7 +583,7 @@ declare namespace Attachment {
|
|
|
584
583
|
}
|
|
585
584
|
declare const attachmentMediaVariants: (props?: ({
|
|
586
585
|
variant?: "image" | "icon" | null | undefined;
|
|
587
|
-
} &
|
|
586
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
588
587
|
/**
|
|
589
588
|
* Leading media slot of an `Attachment` — holds an icon (`variant="icon"`)
|
|
590
589
|
* or an image thumbnail (`variant="image"`). Renders a `<div>`.
|
|
@@ -711,7 +710,7 @@ declare namespace AvatarGroupCount {
|
|
|
711
710
|
//#region src/components/counter-badge.d.ts
|
|
712
711
|
declare const counterBadgeVariants: (props?: ({
|
|
713
712
|
variant?: "default" | "ghost" | "secondary" | null | undefined;
|
|
714
|
-
} &
|
|
713
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
715
714
|
declare const CounterBadge: React.ForwardRefExoticComponent<Omit<CounterBadgeProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
716
715
|
type CounterBadgeProps = useRender.ComponentProps<'span'> & VariantProps<typeof counterBadgeVariants>;
|
|
717
716
|
declare namespace CounterBadge {
|
|
@@ -723,7 +722,7 @@ declare const badgeVariants: (props?: ({
|
|
|
723
722
|
size?: "default" | "lg" | null | undefined;
|
|
724
723
|
color?: "blue" | "green" | "pink" | "purple" | "red" | "yellow" | "charcoal" | null | undefined;
|
|
725
724
|
tone?: "dark" | "light" | "medium-dark" | "medium-light" | null | undefined;
|
|
726
|
-
} &
|
|
725
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
727
726
|
type BadgeVariants = VariantProps<typeof badgeVariants>;
|
|
728
727
|
type BadgeColor = NonNullable<BadgeVariants['color']>;
|
|
729
728
|
type BadgeTone = NonNullable<BadgeVariants['tone']>;
|
|
@@ -755,7 +754,7 @@ declare namespace BadgeGroup {
|
|
|
755
754
|
}
|
|
756
755
|
declare const badgeGroupCountVariants: (props?: ({
|
|
757
756
|
size?: "default" | "lg" | null | undefined;
|
|
758
|
-
} &
|
|
757
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
759
758
|
declare const BadgeGroupCount: React.ForwardRefExoticComponent<Omit<BadgeGroupCount.Props, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
760
759
|
declare namespace BadgeGroupCount {
|
|
761
760
|
type Props = Omit<React.ComponentProps<typeof CounterBadge>, 'variant'> & VariantProps<typeof badgeGroupCountVariants>;
|
|
@@ -765,7 +764,7 @@ declare namespace BadgeGroupCount {
|
|
|
765
764
|
declare const bannerVariants: (props?: ({
|
|
766
765
|
variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
|
|
767
766
|
borderDirection?: "bottom" | "top" | null | undefined;
|
|
768
|
-
} &
|
|
767
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
769
768
|
declare const Banner: React.ForwardRefExoticComponent<Omit<BannerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
770
769
|
interface BannerProps extends React.ComponentProps<'div'>, VariantProps<typeof bannerVariants> {}
|
|
771
770
|
declare namespace Banner {
|
|
@@ -774,7 +773,7 @@ declare namespace Banner {
|
|
|
774
773
|
//#endregion
|
|
775
774
|
//#region src/components/notification-queue.d.ts
|
|
776
775
|
type NotificationPriority = 'error' | 'warning' | 'success' | 'info' | 'promotional';
|
|
777
|
-
declare function NotificationQueueProvider(componentProps: NotificationQueueProvider.Props):
|
|
776
|
+
declare function NotificationQueueProvider(componentProps: NotificationQueueProvider.Props): React.JSX.Element;
|
|
778
777
|
interface NotificationQueueProviderProps {
|
|
779
778
|
children: React.ReactNode;
|
|
780
779
|
}
|
|
@@ -846,7 +845,7 @@ declare namespace Separator {
|
|
|
846
845
|
//#region src/components/button-group.d.ts
|
|
847
846
|
declare const buttonGroupVariants: (props?: ({
|
|
848
847
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
849
|
-
} &
|
|
848
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
850
849
|
declare const ButtonGroup: React.ForwardRefExoticComponent<Omit<ButtonGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
851
850
|
interface ButtonGroupProps extends React.ComponentProps<'div'>, VariantProps<typeof buttonGroupVariants> {}
|
|
852
851
|
declare namespace ButtonGroup {
|
|
@@ -874,7 +873,7 @@ declare function Calendar({
|
|
|
874
873
|
formatters,
|
|
875
874
|
components,
|
|
876
875
|
...props
|
|
877
|
-
}: Calendar.Props):
|
|
876
|
+
}: Calendar.Props): React.JSX.Element;
|
|
878
877
|
type CalendarProps = React.ComponentProps<typeof DayPicker> & {
|
|
879
878
|
buttonVariant?: React.ComponentProps<typeof Button>['variant'];
|
|
880
879
|
};
|
|
@@ -887,7 +886,7 @@ declare function CalendarDayButton({
|
|
|
887
886
|
modifiers,
|
|
888
887
|
locale,
|
|
889
888
|
...props
|
|
890
|
-
}: CalendarDayButton.Props):
|
|
889
|
+
}: CalendarDayButton.Props): React.JSX.Element;
|
|
891
890
|
interface CalendarDayButtonProps extends React.ComponentProps<typeof DayButton> {
|
|
892
891
|
locale?: Partial<Locale>;
|
|
893
892
|
}
|
|
@@ -1066,7 +1065,7 @@ declare namespace CollapsibleContent {
|
|
|
1066
1065
|
//#endregion
|
|
1067
1066
|
//#region src/components/combobox.d.ts
|
|
1068
1067
|
declare const Combobox: typeof Combobox$1.Root;
|
|
1069
|
-
declare function ComboboxValue(componentProps: ComboboxValue.Props):
|
|
1068
|
+
declare function ComboboxValue(componentProps: ComboboxValue.Props): React.JSX.Element;
|
|
1070
1069
|
declare namespace ComboboxValue {
|
|
1071
1070
|
type Props = Combobox$1.Value.Props;
|
|
1072
1071
|
}
|
|
@@ -1106,7 +1105,7 @@ declare const ComboboxLabel: React.ForwardRefExoticComponent<Omit<_base_ui_react
|
|
|
1106
1105
|
declare namespace ComboboxLabel {
|
|
1107
1106
|
type Props = Combobox$1.GroupLabel.Props;
|
|
1108
1107
|
}
|
|
1109
|
-
declare function ComboboxCollection(componentProps: ComboboxCollection.Props):
|
|
1108
|
+
declare function ComboboxCollection(componentProps: ComboboxCollection.Props): React.JSX.Element;
|
|
1110
1109
|
declare namespace ComboboxCollection {
|
|
1111
1110
|
type Props = Combobox$1.Collection.Props;
|
|
1112
1111
|
}
|
|
@@ -1130,10 +1129,10 @@ declare namespace ComboboxChip {
|
|
|
1130
1129
|
type Props = ComboboxChipProps;
|
|
1131
1130
|
}
|
|
1132
1131
|
declare const ComboboxChipsInput: React.ForwardRefExoticComponent<Omit<_base_ui_react0.AutocompleteInputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1133
|
-
declare function useComboboxAnchor(): React.
|
|
1132
|
+
declare function useComboboxAnchor(): React.RefObject<HTMLDivElement | null>;
|
|
1134
1133
|
//#endregion
|
|
1135
1134
|
//#region src/components/dialog.d.ts
|
|
1136
|
-
declare function Dialog(componentProps: Dialog.Props):
|
|
1135
|
+
declare function Dialog(componentProps: Dialog.Props): React.JSX.Element;
|
|
1137
1136
|
interface DialogProps extends Dialog$1.Root.Props {}
|
|
1138
1137
|
declare namespace Dialog {
|
|
1139
1138
|
type Props = DialogProps;
|
|
@@ -1143,7 +1142,7 @@ interface DialogTriggerProps extends Dialog$1.Trigger.Props {}
|
|
|
1143
1142
|
declare namespace DialogTrigger {
|
|
1144
1143
|
type Props = DialogTriggerProps;
|
|
1145
1144
|
}
|
|
1146
|
-
declare function DialogPortal(componentProps: DialogPortal.Props):
|
|
1145
|
+
declare function DialogPortal(componentProps: DialogPortal.Props): React.JSX.Element;
|
|
1147
1146
|
interface DialogPortalProps extends Dialog$1.Portal.Props {}
|
|
1148
1147
|
declare namespace DialogPortal {
|
|
1149
1148
|
type Props = DialogPortalProps;
|
|
@@ -1194,7 +1193,7 @@ interface CommandProps extends React.ComponentProps<typeof Command$1> {}
|
|
|
1194
1193
|
declare namespace Command {
|
|
1195
1194
|
type Props = CommandProps;
|
|
1196
1195
|
}
|
|
1197
|
-
declare function CommandDialog(componentProps: CommandDialog.Props):
|
|
1196
|
+
declare function CommandDialog(componentProps: CommandDialog.Props): React.JSX.Element;
|
|
1198
1197
|
interface CommandDialogProps extends React.ComponentProps<typeof Dialog> {
|
|
1199
1198
|
title?: string;
|
|
1200
1199
|
description?: string;
|
|
@@ -1372,7 +1371,7 @@ interface DataComboboxProps<T> {
|
|
|
1372
1371
|
contentClassName?: string;
|
|
1373
1372
|
'aria-label'?: string;
|
|
1374
1373
|
}
|
|
1375
|
-
declare function DataCombobox<T>(componentProps: DataCombobox.Props<T>):
|
|
1374
|
+
declare function DataCombobox<T>(componentProps: DataCombobox.Props<T>): React.JSX.Element;
|
|
1376
1375
|
declare namespace DataCombobox {
|
|
1377
1376
|
type Props<T> = DataComboboxProps<T>;
|
|
1378
1377
|
}
|
|
@@ -1500,7 +1499,7 @@ interface DataTableProps<TData> {
|
|
|
1500
1499
|
fixedLayout?: boolean;
|
|
1501
1500
|
className?: string;
|
|
1502
1501
|
}
|
|
1503
|
-
declare function DataTable<TData>(componentProps: DataTable.Props<TData>):
|
|
1502
|
+
declare function DataTable<TData>(componentProps: DataTable.Props<TData>): React.JSX.Element;
|
|
1504
1503
|
declare namespace DataTable {
|
|
1505
1504
|
type Props<TData> = DataTableProps<TData>;
|
|
1506
1505
|
}
|
|
@@ -1553,7 +1552,7 @@ interface DataTreeProps<T> {
|
|
|
1553
1552
|
declare namespace DataTree {
|
|
1554
1553
|
type Props<T> = DataTreeProps<T>;
|
|
1555
1554
|
}
|
|
1556
|
-
declare function DataTree<T>(componentProps: DataTree.Props<T>):
|
|
1555
|
+
declare function DataTree<T>(componentProps: DataTree.Props<T>): React.JSX.Element;
|
|
1557
1556
|
//#endregion
|
|
1558
1557
|
//#region src/components/drawer.d.ts
|
|
1559
1558
|
type DrawerPosition = 'right' | 'left' | 'top' | 'bottom';
|
|
@@ -1711,12 +1710,12 @@ declare namespace DrawerMenuRadioItem {
|
|
|
1711
1710
|
}
|
|
1712
1711
|
//#endregion
|
|
1713
1712
|
//#region src/components/dropdown-menu.d.ts
|
|
1714
|
-
declare function DropdownMenu(componentProps: DropdownMenu.Props):
|
|
1713
|
+
declare function DropdownMenu(componentProps: DropdownMenu.Props): React.JSX.Element;
|
|
1715
1714
|
interface DropdownMenuProps extends Menu.Root.Props {}
|
|
1716
1715
|
declare namespace DropdownMenu {
|
|
1717
1716
|
type Props = DropdownMenuProps;
|
|
1718
1717
|
}
|
|
1719
|
-
declare function DropdownMenuPortal(componentProps: DropdownMenuPortal.Props):
|
|
1718
|
+
declare function DropdownMenuPortal(componentProps: DropdownMenuPortal.Props): React.JSX.Element;
|
|
1720
1719
|
interface DropdownMenuPortalProps extends Menu.Portal.Props {}
|
|
1721
1720
|
declare namespace DropdownMenuPortal {
|
|
1722
1721
|
type Props = DropdownMenuPortalProps;
|
|
@@ -1753,7 +1752,7 @@ interface DropdownMenuItemProps extends Menu.Item.Props {
|
|
|
1753
1752
|
declare namespace DropdownMenuItem {
|
|
1754
1753
|
type Props = DropdownMenuItemProps;
|
|
1755
1754
|
}
|
|
1756
|
-
declare function DropdownMenuSub(componentProps: DropdownMenuSub.Props):
|
|
1755
|
+
declare function DropdownMenuSub(componentProps: DropdownMenuSub.Props): React.JSX.Element;
|
|
1757
1756
|
interface DropdownMenuSubProps extends Menu.SubmenuRoot.Props {}
|
|
1758
1757
|
declare namespace DropdownMenuSub {
|
|
1759
1758
|
type Props = DropdownMenuSubProps;
|
|
@@ -1818,7 +1817,7 @@ declare namespace EmptyHeader {
|
|
|
1818
1817
|
}
|
|
1819
1818
|
declare const emptyMediaVariants: (props?: ({
|
|
1820
1819
|
variant?: "default" | "icon" | null | undefined;
|
|
1821
|
-
} &
|
|
1820
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
1822
1821
|
declare const EmptyMedia: React.ForwardRefExoticComponent<Omit<EmptyMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1823
1822
|
interface EmptyMediaProps extends React.ComponentProps<'div'>, VariantProps<typeof emptyMediaVariants> {}
|
|
1824
1823
|
declare namespace EmptyMedia {
|
|
@@ -1926,7 +1925,7 @@ declare namespace DropzoneTrigger {
|
|
|
1926
1925
|
}
|
|
1927
1926
|
//#endregion
|
|
1928
1927
|
//#region src/components/popover.d.ts
|
|
1929
|
-
declare function Popover(componentProps: Popover.Props):
|
|
1928
|
+
declare function Popover(componentProps: Popover.Props): React.JSX.Element;
|
|
1930
1929
|
interface PopoverProps extends Popover$1.Root.Props {}
|
|
1931
1930
|
declare namespace Popover {
|
|
1932
1931
|
type Props = PopoverProps;
|
|
@@ -1980,7 +1979,7 @@ type EmojiPickerProps = {
|
|
|
1980
1979
|
declare function EmojiPicker({
|
|
1981
1980
|
onEmojiSelect,
|
|
1982
1981
|
children
|
|
1983
|
-
}: EmojiPicker.Props):
|
|
1982
|
+
}: EmojiPicker.Props): React.JSX.Element;
|
|
1984
1983
|
declare namespace EmojiPicker {
|
|
1985
1984
|
type Props = EmojiPickerProps;
|
|
1986
1985
|
}
|
|
@@ -2003,7 +2002,7 @@ declare function EmojiPickerContent({
|
|
|
2003
2002
|
width,
|
|
2004
2003
|
suggestedEmojisMode,
|
|
2005
2004
|
...props
|
|
2006
|
-
}: EmojiPickerContentProps):
|
|
2005
|
+
}: EmojiPickerContentProps): React.JSX.Element;
|
|
2007
2006
|
declare namespace EmojiPickerContent {
|
|
2008
2007
|
type Props = EmojiPickerContentProps;
|
|
2009
2008
|
}
|
|
@@ -2012,7 +2011,7 @@ declare namespace EmojiPickerContent {
|
|
|
2012
2011
|
declare const fabVariants: (props?: ({
|
|
2013
2012
|
variant?: "default" | "outline" | null | undefined;
|
|
2014
2013
|
size?: "lg" | "icon-lg" | null | undefined;
|
|
2015
|
-
} &
|
|
2014
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
2016
2015
|
declare const FAB: React.ForwardRefExoticComponent<Omit<FABProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2017
2016
|
interface FABProps extends Button$1.Props, VariantProps<typeof fabVariants> {}
|
|
2018
2017
|
declare namespace FAB {
|
|
@@ -2046,7 +2045,7 @@ declare namespace FieldGroup {
|
|
|
2046
2045
|
}
|
|
2047
2046
|
declare const fieldVariants: (props?: ({
|
|
2048
2047
|
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
2049
|
-
} &
|
|
2048
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
2050
2049
|
declare const Field: React.ForwardRefExoticComponent<Omit<FieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2051
2050
|
interface FieldProps extends React.ComponentProps<'div'>, VariantProps<typeof fieldVariants> {}
|
|
2052
2051
|
declare namespace Field {
|
|
@@ -2213,7 +2212,7 @@ declare namespace Gauge {
|
|
|
2213
2212
|
* </HoverCard>
|
|
2214
2213
|
* ```
|
|
2215
2214
|
*/
|
|
2216
|
-
declare function HoverCard(componentProps: HoverCard.Props):
|
|
2215
|
+
declare function HoverCard(componentProps: HoverCard.Props): React.JSX.Element;
|
|
2217
2216
|
interface HoverCardProps extends PreviewCard.Root.Props {}
|
|
2218
2217
|
declare namespace HoverCard {
|
|
2219
2218
|
type Props = HoverCardProps;
|
|
@@ -2372,7 +2371,7 @@ declare namespace InlineEditSelectValue {
|
|
|
2372
2371
|
* <InlineEditSelectValue placeholder="Pick a language" />
|
|
2373
2372
|
* ```
|
|
2374
2373
|
*/
|
|
2375
|
-
declare function InlineEditSelectValue(componentProps: InlineEditSelectValue.Props):
|
|
2374
|
+
declare function InlineEditSelectValue(componentProps: InlineEditSelectValue.Props): React.JSX.Element;
|
|
2376
2375
|
interface InlineEditSelectContentProps extends Select$1.Popup.Props, Pick<Select$1.Positioner.Props, 'side' | 'sideOffset' | 'align' | 'alignOffset' | 'alignItemWithTrigger'> {}
|
|
2377
2376
|
declare namespace InlineEditSelectContent {
|
|
2378
2377
|
type Props = InlineEditSelectContentProps;
|
|
@@ -2547,7 +2546,7 @@ declare const InlineEditTextarea: React.ForwardRefExoticComponent<Omit<InlineEdi
|
|
|
2547
2546
|
//#region src/components/input.d.ts
|
|
2548
2547
|
declare const inputVariants: (props?: ({
|
|
2549
2548
|
block?: boolean | null | undefined;
|
|
2550
|
-
} &
|
|
2549
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
2551
2550
|
declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
2552
2551
|
interface InputProps extends React.ComponentProps<'input'>, VariantProps<typeof inputVariants> {}
|
|
2553
2552
|
declare namespace Input {
|
|
@@ -2561,8 +2560,8 @@ declare namespace InputGroup {
|
|
|
2561
2560
|
type Props = InputGroupProps;
|
|
2562
2561
|
}
|
|
2563
2562
|
declare const inputGroupAddonVariants: (props?: ({
|
|
2564
|
-
align?: "
|
|
2565
|
-
} &
|
|
2563
|
+
align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
|
|
2564
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
2566
2565
|
declare const InputGroupAddon: React.ForwardRefExoticComponent<Omit<InputGroupAddonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2567
2566
|
interface InputGroupAddonProps extends React.ComponentProps<'div'>, VariantProps<typeof inputGroupAddonVariants> {}
|
|
2568
2567
|
declare namespace InputGroupAddon {
|
|
@@ -2747,7 +2746,7 @@ declare namespace ItemSeparator {
|
|
|
2747
2746
|
declare const itemVariants: (props?: ({
|
|
2748
2747
|
variant?: "default" | "muted" | "outline" | null | undefined;
|
|
2749
2748
|
size?: "default" | "sm" | "xs" | null | undefined;
|
|
2750
|
-
} &
|
|
2749
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
2751
2750
|
declare const Item: React.ForwardRefExoticComponent<Omit<ItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2752
2751
|
interface ItemProps extends useRender.ComponentProps<'div'>, VariantProps<typeof itemVariants> {}
|
|
2753
2752
|
declare namespace Item {
|
|
@@ -2755,7 +2754,7 @@ declare namespace Item {
|
|
|
2755
2754
|
}
|
|
2756
2755
|
declare const itemMediaVariants: (props?: ({
|
|
2757
2756
|
variant?: "image" | "default" | "icon" | null | undefined;
|
|
2758
|
-
} &
|
|
2757
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
2759
2758
|
declare const ItemMedia: React.ForwardRefExoticComponent<Omit<ItemMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2760
2759
|
interface ItemMediaProps extends React.ComponentProps<'div'>, VariantProps<typeof itemMediaVariants> {}
|
|
2761
2760
|
declare namespace ItemMedia {
|
|
@@ -2944,14 +2943,14 @@ declare namespace ScrollBar {
|
|
|
2944
2943
|
//#region src/components/select.d.ts
|
|
2945
2944
|
declare const selectTriggerVariants: (props?: ({
|
|
2946
2945
|
size?: "default" | "sm" | null | undefined;
|
|
2947
|
-
} &
|
|
2946
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
2948
2947
|
declare const Select: typeof Select$1.Root;
|
|
2949
2948
|
declare const SelectGroup: React.ForwardRefExoticComponent<Omit<SelectGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
2950
2949
|
interface SelectGroupProps extends Select$1.Group.Props {}
|
|
2951
2950
|
declare namespace SelectGroup {
|
|
2952
2951
|
type Props = SelectGroupProps;
|
|
2953
2952
|
}
|
|
2954
|
-
declare function SelectValue(componentProps: SelectValue.Props):
|
|
2953
|
+
declare function SelectValue(componentProps: SelectValue.Props): React.JSX.Element;
|
|
2955
2954
|
interface SelectValueProps extends Select$1.Value.Props {}
|
|
2956
2955
|
declare namespace SelectValue {
|
|
2957
2956
|
type Props = SelectValueProps;
|
|
@@ -2993,7 +2992,7 @@ declare namespace SelectScrollDownButton {
|
|
|
2993
2992
|
}
|
|
2994
2993
|
//#endregion
|
|
2995
2994
|
//#region src/components/sheet.d.ts
|
|
2996
|
-
declare function Sheet(componentProps: Sheet.Props):
|
|
2995
|
+
declare function Sheet(componentProps: Sheet.Props): React.JSX.Element;
|
|
2997
2996
|
interface SheetProps extends Dialog$1.Root.Props {}
|
|
2998
2997
|
declare namespace Sheet {
|
|
2999
2998
|
type Props = SheetProps;
|
|
@@ -3046,12 +3045,12 @@ declare namespace SheetDescription {
|
|
|
3046
3045
|
}
|
|
3047
3046
|
//#endregion
|
|
3048
3047
|
//#region src/components/tooltip.d.ts
|
|
3049
|
-
declare function TooltipProvider(componentProps: TooltipProvider.Props):
|
|
3048
|
+
declare function TooltipProvider(componentProps: TooltipProvider.Props): React.JSX.Element;
|
|
3050
3049
|
interface TooltipProviderProps extends Tooltip$1.Provider.Props {}
|
|
3051
3050
|
declare namespace TooltipProvider {
|
|
3052
3051
|
type Props = TooltipProviderProps;
|
|
3053
3052
|
}
|
|
3054
|
-
declare function Tooltip(componentProps: Tooltip.Props):
|
|
3053
|
+
declare function Tooltip(componentProps: Tooltip.Props): React.JSX.Element;
|
|
3055
3054
|
interface TooltipProps extends Tooltip$1.Root.Props {}
|
|
3056
3055
|
declare namespace Tooltip {
|
|
3057
3056
|
type Props = TooltipProps;
|
|
@@ -3171,7 +3170,7 @@ declare namespace SidebarMenuItem {
|
|
|
3171
3170
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
3172
3171
|
variant?: "default" | "outline" | null | undefined;
|
|
3173
3172
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
3174
|
-
} &
|
|
3173
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
3175
3174
|
declare const SidebarMenuButton: React.ForwardRefExoticComponent<Omit<SidebarMenuButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
3176
3175
|
type SidebarMenuButtonProps = useRender.ComponentProps<'button'> & React.ComponentProps<'button'> & VariantProps<typeof sidebarMenuButtonVariants> & {
|
|
3177
3176
|
isActive?: boolean;
|
|
@@ -3235,7 +3234,7 @@ declare namespace Slider {
|
|
|
3235
3234
|
}
|
|
3236
3235
|
//#endregion
|
|
3237
3236
|
//#region src/components/sonner.d.ts
|
|
3238
|
-
declare const Toaster: (componentProps: Toaster.Props) =>
|
|
3237
|
+
declare const Toaster: (componentProps: Toaster.Props) => React.JSX.Element;
|
|
3239
3238
|
declare namespace Toaster {
|
|
3240
3239
|
type Props = ToasterProps;
|
|
3241
3240
|
}
|
|
@@ -3243,7 +3242,7 @@ declare namespace Toaster {
|
|
|
3243
3242
|
//#region src/components/spinner.d.ts
|
|
3244
3243
|
declare const spinnerVariants: (props?: ({
|
|
3245
3244
|
size?: "default" | "sm" | "lg" | "xl" | null | undefined;
|
|
3246
|
-
} &
|
|
3245
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
3247
3246
|
declare const Spinner: React.ForwardRefExoticComponent<Omit<SpinnerProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
3248
3247
|
interface SpinnerProps extends React.ComponentProps<'svg'>, VariantProps<typeof spinnerVariants> {}
|
|
3249
3248
|
declare namespace Spinner {
|
|
@@ -3389,7 +3388,7 @@ declare namespace ThemeProvider {
|
|
|
3389
3388
|
declare const toggleVariants: (props?: ({
|
|
3390
3389
|
variant?: "default" | "outline" | null | undefined;
|
|
3391
3390
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
3392
|
-
} &
|
|
3391
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
3393
3392
|
declare const Toggle: React.ForwardRefExoticComponent<Omit<ToggleProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
3394
3393
|
interface ToggleProps extends Toggle$1.Props, VariantProps<typeof toggleVariants> {}
|
|
3395
3394
|
declare namespace Toggle {
|
|
@@ -3430,7 +3429,7 @@ declare function Tree({
|
|
|
3430
3429
|
tree,
|
|
3431
3430
|
className,
|
|
3432
3431
|
...props
|
|
3433
|
-
}: Tree.Props):
|
|
3432
|
+
}: Tree.Props): React.JSX.Element;
|
|
3434
3433
|
interface TreeItemProps<T = any> extends React.HTMLAttributes<HTMLDivElement> {
|
|
3435
3434
|
/** The item instance from `tree.getItems()`. */
|
|
3436
3435
|
item: ItemInstance<T>;
|
|
@@ -3457,7 +3456,7 @@ declare function TreeItem<T = any>({
|
|
|
3457
3456
|
onKeyDown: userOnKeyDown,
|
|
3458
3457
|
style: userStyle,
|
|
3459
3458
|
...props
|
|
3460
|
-
}: TreeItem.Props<T>):
|
|
3459
|
+
}: TreeItem.Props<T>): React.JSX.Element;
|
|
3461
3460
|
interface TreeItemLabelProps<T = any> extends React.HTMLAttributes<HTMLSpanElement> {
|
|
3462
3461
|
/** Item to label. Falls back to the current `TreeItem` from context. */
|
|
3463
3462
|
item?: ItemInstance<T>;
|
|
@@ -3470,7 +3469,7 @@ declare function TreeItemLabel<T = any>({
|
|
|
3470
3469
|
children,
|
|
3471
3470
|
className,
|
|
3472
3471
|
...props
|
|
3473
|
-
}: TreeItemLabel.Props<T>):
|
|
3472
|
+
}: TreeItemLabel.Props<T>): React.JSX.Element | null;
|
|
3474
3473
|
interface TreeDragLineProps extends React.HTMLAttributes<HTMLDivElement> {}
|
|
3475
3474
|
declare namespace TreeDragLine {
|
|
3476
3475
|
type Props = TreeDragLineProps;
|
|
@@ -3478,7 +3477,7 @@ declare namespace TreeDragLine {
|
|
|
3478
3477
|
declare function TreeDragLine({
|
|
3479
3478
|
className,
|
|
3480
3479
|
...props
|
|
3481
|
-
}: TreeDragLine.Props):
|
|
3480
|
+
}: TreeDragLine.Props): React.JSX.Element | null;
|
|
3482
3481
|
//#endregion
|
|
3483
3482
|
//#region src/components/ds-i18n-provider.d.ts
|
|
3484
3483
|
/** Minimal shape of an i18next-like instance — structural to avoid coupling to a version. */
|