@aircall/ds 0.15.0 → 0.16.1
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 +140 -23
- package/dist/index.js +203 -65
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -27,6 +27,7 @@ import { Menu } from "@base-ui/react/menu";
|
|
|
27
27
|
import { Categories, SuggestionMode } from "emoji-picker-react";
|
|
28
28
|
import { Popover as Popover$1 } from "@base-ui/react/popover";
|
|
29
29
|
import { ThemeProviderProps, useTheme } from "next-themes";
|
|
30
|
+
import { PreviewCard } from "@base-ui/react/preview-card";
|
|
30
31
|
import * as input_otp0 from "input-otp";
|
|
31
32
|
import { OTPInput } from "input-otp";
|
|
32
33
|
import { Progress as Progress$1 } from "@base-ui/react/progress";
|
|
@@ -38,7 +39,7 @@ import { Switch as Switch$1 } from "@base-ui/react/switch";
|
|
|
38
39
|
import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
|
|
39
40
|
import { Toggle as Toggle$1 } from "@base-ui/react/toggle";
|
|
40
41
|
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
41
|
-
import * as
|
|
42
|
+
import * as class_variance_authority_types5 from "class-variance-authority/types";
|
|
42
43
|
import { CountryCode } from "@aircall/numbers";
|
|
43
44
|
|
|
44
45
|
//#region src/components/accordion.d.ts
|
|
@@ -68,7 +69,7 @@ declare const buttonVariants: (props?: ({
|
|
|
68
69
|
variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
69
70
|
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
70
71
|
block?: boolean | null | undefined;
|
|
71
|
-
} &
|
|
72
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
72
73
|
declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
73
74
|
interface ButtonProps extends Button$1.Props, VariantProps<typeof buttonVariants> {
|
|
74
75
|
children?: React.ReactNode;
|
|
@@ -189,8 +190,8 @@ declare namespace AlertDialogCancel {
|
|
|
189
190
|
//#endregion
|
|
190
191
|
//#region src/components/alert.d.ts
|
|
191
192
|
declare const alertVariants: (props?: ({
|
|
192
|
-
variant?: "default" | "
|
|
193
|
-
} &
|
|
193
|
+
variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
194
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
194
195
|
declare const Alert: React.ForwardRefExoticComponent<Omit<AlertProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
195
196
|
interface AlertProps extends React.ComponentProps<'div'>, VariantProps<typeof alertVariants> {}
|
|
196
197
|
declare namespace Alert {
|
|
@@ -249,7 +250,7 @@ declare namespace AvatarGroupCount {
|
|
|
249
250
|
//#region src/components/counter-badge.d.ts
|
|
250
251
|
declare const counterBadgeVariants: (props?: ({
|
|
251
252
|
variant?: "default" | "secondary" | "ghost" | null | undefined;
|
|
252
|
-
} &
|
|
253
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
253
254
|
declare const CounterBadge: React.ForwardRefExoticComponent<Omit<CounterBadgeProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
254
255
|
type CounterBadgeProps = useRender.ComponentProps<'span'> & VariantProps<typeof counterBadgeVariants>;
|
|
255
256
|
declare namespace CounterBadge {
|
|
@@ -261,7 +262,7 @@ declare const badgeVariants: (props?: ({
|
|
|
261
262
|
size?: "default" | "lg" | null | undefined;
|
|
262
263
|
color?: "blue" | "green" | "pink" | "purple" | "red" | "yellow" | "charcoal" | null | undefined;
|
|
263
264
|
tone?: "dark" | "light" | "medium-dark" | "medium-light" | null | undefined;
|
|
264
|
-
} &
|
|
265
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
265
266
|
type BadgeVariants = VariantProps<typeof badgeVariants>;
|
|
266
267
|
type BadgeColor = NonNullable<BadgeVariants['color']>;
|
|
267
268
|
type BadgeTone = NonNullable<BadgeVariants['tone']>;
|
|
@@ -293,7 +294,7 @@ declare namespace BadgeGroup {
|
|
|
293
294
|
}
|
|
294
295
|
declare const badgeGroupCountVariants: (props?: ({
|
|
295
296
|
size?: "default" | "lg" | null | undefined;
|
|
296
|
-
} &
|
|
297
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
297
298
|
declare const BadgeGroupCount: React.ForwardRefExoticComponent<Omit<BadgeGroupCount.Props, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
298
299
|
declare namespace BadgeGroupCount {
|
|
299
300
|
type Props = Omit<React.ComponentProps<typeof CounterBadge>, 'variant'> & VariantProps<typeof badgeGroupCountVariants>;
|
|
@@ -301,9 +302,9 @@ declare namespace BadgeGroupCount {
|
|
|
301
302
|
//#endregion
|
|
302
303
|
//#region src/components/banner.d.ts
|
|
303
304
|
declare const bannerVariants: (props?: ({
|
|
304
|
-
variant?: "default" | "
|
|
305
|
+
variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
305
306
|
borderDirection?: "bottom" | "top" | null | undefined;
|
|
306
|
-
} &
|
|
307
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
307
308
|
declare const Banner: React.ForwardRefExoticComponent<Omit<BannerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
308
309
|
interface BannerProps extends React.ComponentProps<'div'>, VariantProps<typeof bannerVariants> {}
|
|
309
310
|
declare namespace Banner {
|
|
@@ -384,7 +385,7 @@ declare namespace Separator {
|
|
|
384
385
|
//#region src/components/button-group.d.ts
|
|
385
386
|
declare const buttonGroupVariants: (props?: ({
|
|
386
387
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
387
|
-
} &
|
|
388
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
388
389
|
declare const ButtonGroup: React.ForwardRefExoticComponent<Omit<ButtonGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
389
390
|
interface ButtonGroupProps extends React.ComponentProps<'div'>, VariantProps<typeof buttonGroupVariants> {}
|
|
390
391
|
declare namespace ButtonGroup {
|
|
@@ -538,7 +539,7 @@ declare const Chip: React.ForwardRefExoticComponent<Omit<ChipProps, "ref"> & Rea
|
|
|
538
539
|
interface ChipProps extends Omit<Badge.Props, 'size' | 'render'> {
|
|
539
540
|
color?: BadgeColor;
|
|
540
541
|
tone?: BadgeTone;
|
|
541
|
-
/** AI glow — a colored
|
|
542
|
+
/** AI glow — a colored outline + softly pulsing drop-shadow. */
|
|
542
543
|
glow?: boolean;
|
|
543
544
|
}
|
|
544
545
|
declare namespace Chip {
|
|
@@ -1176,7 +1177,7 @@ declare namespace EmptyHeader {
|
|
|
1176
1177
|
}
|
|
1177
1178
|
declare const emptyMediaVariants: (props?: ({
|
|
1178
1179
|
variant?: "default" | "icon" | null | undefined;
|
|
1179
|
-
} &
|
|
1180
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
1180
1181
|
declare const EmptyMedia: React.ForwardRefExoticComponent<Omit<EmptyMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1181
1182
|
interface EmptyMediaProps extends React.ComponentProps<'div'>, VariantProps<typeof emptyMediaVariants> {}
|
|
1182
1183
|
declare namespace EmptyMedia {
|
|
@@ -1370,7 +1371,7 @@ declare namespace EmojiPickerContent {
|
|
|
1370
1371
|
declare const fabVariants: (props?: ({
|
|
1371
1372
|
variant?: "default" | "outline" | null | undefined;
|
|
1372
1373
|
size?: "lg" | "icon-lg" | null | undefined;
|
|
1373
|
-
} &
|
|
1374
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
1374
1375
|
declare const FAB: React.ForwardRefExoticComponent<Omit<FABProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1375
1376
|
interface FABProps extends Button$1.Props, VariantProps<typeof fabVariants> {}
|
|
1376
1377
|
declare namespace FAB {
|
|
@@ -1404,7 +1405,7 @@ declare namespace FieldGroup {
|
|
|
1404
1405
|
}
|
|
1405
1406
|
declare const fieldVariants: (props?: ({
|
|
1406
1407
|
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
1407
|
-
} &
|
|
1408
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
1408
1409
|
declare const Field: React.ForwardRefExoticComponent<Omit<FieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1409
1410
|
interface FieldProps extends React.ComponentProps<'div'>, VariantProps<typeof fieldVariants> {}
|
|
1410
1411
|
declare namespace Field {
|
|
@@ -1460,10 +1461,99 @@ declare namespace Gauge {
|
|
|
1460
1461
|
type Props = GaugeProps;
|
|
1461
1462
|
}
|
|
1462
1463
|
//#endregion
|
|
1464
|
+
//#region src/components/hover-card.d.ts
|
|
1465
|
+
/**
|
|
1466
|
+
* Root container for the HoverCard. Manages open/close state.
|
|
1467
|
+
*
|
|
1468
|
+
* Renders no DOM element — wrap `HoverCardTrigger` and `HoverCardContent`
|
|
1469
|
+
* inside it.
|
|
1470
|
+
*
|
|
1471
|
+
* Supports both controlled (`open` + `onOpenChange`) and uncontrolled
|
|
1472
|
+
* (`defaultOpen`) modes.
|
|
1473
|
+
*
|
|
1474
|
+
* @example
|
|
1475
|
+
* ```tsx
|
|
1476
|
+
* <HoverCard>
|
|
1477
|
+
* <HoverCardTrigger render={<span />}>Hover me</HoverCardTrigger>
|
|
1478
|
+
* <HoverCardContent side="top">Details here</HoverCardContent>
|
|
1479
|
+
* </HoverCard>
|
|
1480
|
+
* ```
|
|
1481
|
+
*/
|
|
1482
|
+
declare function HoverCard(componentProps: HoverCard.Props): react_jsx_runtime0.JSX.Element;
|
|
1483
|
+
interface HoverCardProps extends PreviewCard.Root.Props {}
|
|
1484
|
+
declare namespace HoverCard {
|
|
1485
|
+
type Props = HoverCardProps;
|
|
1486
|
+
}
|
|
1487
|
+
/**
|
|
1488
|
+
* The element that triggers the HoverCard on hover or focus.
|
|
1489
|
+
*
|
|
1490
|
+
* Renders an `<a>` element by default. Use the `render` prop to swap in any
|
|
1491
|
+
* other element or component:
|
|
1492
|
+
*
|
|
1493
|
+
* ```tsx
|
|
1494
|
+
* <HoverCardTrigger render={<span className="cursor-help" />}>
|
|
1495
|
+
* <InfoIcon size={16} />
|
|
1496
|
+
* </HoverCardTrigger>
|
|
1497
|
+
* ```
|
|
1498
|
+
*
|
|
1499
|
+
* @prop delay - Milliseconds to wait before opening. Default: `400`.
|
|
1500
|
+
* @prop closeDelay - Milliseconds to wait before closing after the cursor
|
|
1501
|
+
* leaves both the trigger and the content. Default: `300`.
|
|
1502
|
+
* @prop render - Replace the default `<a>` with any element or component.
|
|
1503
|
+
*/
|
|
1504
|
+
declare const HoverCardTrigger: React.ForwardRefExoticComponent<Omit<HoverCardTriggerProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
1505
|
+
interface HoverCardTriggerProps extends PreviewCard.Trigger.Props {
|
|
1506
|
+
/**
|
|
1507
|
+
* Milliseconds to wait before opening the card after the cursor enters the
|
|
1508
|
+
* trigger. Tune this to avoid flickering on accidental hover.
|
|
1509
|
+
* @default 400
|
|
1510
|
+
*/
|
|
1511
|
+
delay?: number;
|
|
1512
|
+
/**
|
|
1513
|
+
* Milliseconds to wait before closing the card after the cursor leaves both
|
|
1514
|
+
* the trigger and the card content. A non-zero value gives users time to
|
|
1515
|
+
* move the cursor into the card content without it closing.
|
|
1516
|
+
* @default 300
|
|
1517
|
+
*/
|
|
1518
|
+
closeDelay?: number;
|
|
1519
|
+
}
|
|
1520
|
+
declare namespace HoverCardTrigger {
|
|
1521
|
+
type Props = HoverCardTriggerProps;
|
|
1522
|
+
}
|
|
1523
|
+
/**
|
|
1524
|
+
* The floating panel shown when the trigger is hovered or focused.
|
|
1525
|
+
*
|
|
1526
|
+
* Composes `PreviewCard.Portal → PreviewCard.Positioner → PreviewCard.Popup`
|
|
1527
|
+
* into a single consumer-facing part. Pass positioning props (`side`,
|
|
1528
|
+
* `sideOffset`, `align`, `alignOffset`) directly — they are forwarded to the
|
|
1529
|
+
* positioner. All other props (including `className`) go to the popup element.
|
|
1530
|
+
*
|
|
1531
|
+
* The card stays open while the cursor is inside it, giving users time to
|
|
1532
|
+
* interact with the content before it dismisses.
|
|
1533
|
+
*
|
|
1534
|
+
* @prop side - Which side of the trigger to place the card. Default: `'bottom'`.
|
|
1535
|
+
* @prop sideOffset - Gap in pixels between the trigger and the card. Default: `8`.
|
|
1536
|
+
* @prop align - Alignment along the cross-axis. Default: `'center'`.
|
|
1537
|
+
* @prop alignOffset - Offset in pixels along the cross-axis. Default: `0`.
|
|
1538
|
+
*
|
|
1539
|
+
* @example
|
|
1540
|
+
* ```tsx
|
|
1541
|
+
* <HoverCardContent side="top" align="start" className="max-w-[280px]">
|
|
1542
|
+
* <p className="text-sm font-bold">Title</p>
|
|
1543
|
+
* <p className="text-sm text-muted-foreground">Description</p>
|
|
1544
|
+
* </HoverCardContent>
|
|
1545
|
+
* ```
|
|
1546
|
+
*/
|
|
1547
|
+
declare const HoverCardContent: React.ForwardRefExoticComponent<Omit<HoverCardContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1548
|
+
interface HoverCardContentProps extends PreviewCard.Popup.Props, Pick<PreviewCard.Positioner.Props, 'side' | 'sideOffset' | 'align' | 'alignOffset'> {}
|
|
1549
|
+
declare namespace HoverCardContent {
|
|
1550
|
+
type Props = HoverCardContentProps;
|
|
1551
|
+
}
|
|
1552
|
+
//#endregion
|
|
1463
1553
|
//#region src/components/input.d.ts
|
|
1464
1554
|
declare const inputVariants: (props?: ({
|
|
1465
1555
|
block?: boolean | null | undefined;
|
|
1466
|
-
} &
|
|
1556
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
1467
1557
|
declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1468
1558
|
interface InputProps extends React.ComponentProps<'input'>, VariantProps<typeof inputVariants> {}
|
|
1469
1559
|
declare namespace Input {
|
|
@@ -1478,7 +1568,7 @@ declare namespace InputGroup {
|
|
|
1478
1568
|
}
|
|
1479
1569
|
declare const inputGroupAddonVariants: (props?: ({
|
|
1480
1570
|
align?: "block-end" | "block-start" | "inline-end" | "inline-start" | null | undefined;
|
|
1481
|
-
} &
|
|
1571
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
1482
1572
|
declare const InputGroupAddon: React.ForwardRefExoticComponent<Omit<InputGroupAddonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1483
1573
|
interface InputGroupAddonProps extends React.ComponentProps<'div'>, VariantProps<typeof inputGroupAddonVariants> {}
|
|
1484
1574
|
declare namespace InputGroupAddon {
|
|
@@ -1577,7 +1667,7 @@ declare namespace ItemSeparator {
|
|
|
1577
1667
|
declare const itemVariants: (props?: ({
|
|
1578
1668
|
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
1579
1669
|
size?: "default" | "sm" | "xs" | null | undefined;
|
|
1580
|
-
} &
|
|
1670
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
1581
1671
|
declare const Item: React.ForwardRefExoticComponent<Omit<ItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1582
1672
|
interface ItemProps extends useRender.ComponentProps<'div'>, VariantProps<typeof itemVariants> {}
|
|
1583
1673
|
declare namespace Item {
|
|
@@ -1585,7 +1675,7 @@ declare namespace Item {
|
|
|
1585
1675
|
}
|
|
1586
1676
|
declare const itemMediaVariants: (props?: ({
|
|
1587
1677
|
variant?: "image" | "default" | "icon" | null | undefined;
|
|
1588
|
-
} &
|
|
1678
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
1589
1679
|
declare const ItemMedia: React.ForwardRefExoticComponent<Omit<ItemMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1590
1680
|
interface ItemMediaProps extends React.ComponentProps<'div'>, VariantProps<typeof itemMediaVariants> {}
|
|
1591
1681
|
declare namespace ItemMedia {
|
|
@@ -1622,6 +1712,33 @@ declare namespace ItemFooter {
|
|
|
1622
1712
|
type Props = ItemFooterProps;
|
|
1623
1713
|
}
|
|
1624
1714
|
//#endregion
|
|
1715
|
+
//#region src/components/anchor.d.ts
|
|
1716
|
+
declare const anchorVariants: string;
|
|
1717
|
+
/**
|
|
1718
|
+
* Renders an `<a>` element styled as a text link. Use instead of
|
|
1719
|
+
* `<Button variant="link" render={<a>}>` for any navigational action.
|
|
1720
|
+
*
|
|
1721
|
+
* For in-app routing pass your router's link component via the `render` prop —
|
|
1722
|
+
* the DS styles are applied to whatever element you provide.
|
|
1723
|
+
*
|
|
1724
|
+
* @example
|
|
1725
|
+
* ```tsx
|
|
1726
|
+
* // External link
|
|
1727
|
+
* <Anchor href="https://aircall.io" target="_blank" rel="noopener noreferrer">
|
|
1728
|
+
* Visit Aircall <ExternalLink />
|
|
1729
|
+
* </Anchor>
|
|
1730
|
+
*
|
|
1731
|
+
* // React Router in-app navigation
|
|
1732
|
+
* import { Link } from 'react-router-dom';
|
|
1733
|
+
* <Anchor render={<Link to="/settings" />}>Settings</Anchor>
|
|
1734
|
+
* ```
|
|
1735
|
+
*/
|
|
1736
|
+
declare const Anchor: React.ForwardRefExoticComponent<Omit<AnchorProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
1737
|
+
interface AnchorProps extends useRender.ComponentProps<'a'> {}
|
|
1738
|
+
declare namespace Anchor {
|
|
1739
|
+
type Props = AnchorProps;
|
|
1740
|
+
}
|
|
1741
|
+
//#endregion
|
|
1625
1742
|
//#region src/components/list.d.ts
|
|
1626
1743
|
declare const List: React.ForwardRefExoticComponent<ListProps & React.RefAttributes<HTMLDivElement>>;
|
|
1627
1744
|
interface ListProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
@@ -1747,7 +1864,7 @@ declare namespace ScrollBar {
|
|
|
1747
1864
|
//#region src/components/select.d.ts
|
|
1748
1865
|
declare const selectTriggerVariants: (props?: ({
|
|
1749
1866
|
size?: "default" | "sm" | null | undefined;
|
|
1750
|
-
} &
|
|
1867
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
1751
1868
|
declare const Select: typeof Select$1.Root;
|
|
1752
1869
|
declare const SelectGroup: React.ForwardRefExoticComponent<Omit<SelectGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1753
1870
|
interface SelectGroupProps extends Select$1.Group.Props {}
|
|
@@ -1972,7 +2089,7 @@ declare namespace SidebarMenuItem {
|
|
|
1972
2089
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
1973
2090
|
variant?: "default" | "outline" | null | undefined;
|
|
1974
2091
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1975
|
-
} &
|
|
2092
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
1976
2093
|
declare const SidebarMenuButton: React.ForwardRefExoticComponent<Omit<SidebarMenuButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1977
2094
|
type SidebarMenuButtonProps = useRender.ComponentProps<'button'> & React.ComponentProps<'button'> & VariantProps<typeof sidebarMenuButtonVariants> & {
|
|
1978
2095
|
isActive?: boolean;
|
|
@@ -2044,7 +2161,7 @@ declare namespace Toaster {
|
|
|
2044
2161
|
//#region src/components/spinner.d.ts
|
|
2045
2162
|
declare const spinnerVariants: (props?: ({
|
|
2046
2163
|
size?: "default" | "sm" | "lg" | "xl" | null | undefined;
|
|
2047
|
-
} &
|
|
2164
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
2048
2165
|
declare const Spinner: React.ForwardRefExoticComponent<Omit<SpinnerProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
2049
2166
|
interface SpinnerProps extends React.ComponentProps<'svg'>, VariantProps<typeof spinnerVariants> {}
|
|
2050
2167
|
declare namespace Spinner {
|
|
@@ -2188,7 +2305,7 @@ declare namespace ThemeProvider {
|
|
|
2188
2305
|
declare const toggleVariants: (props?: ({
|
|
2189
2306
|
variant?: "default" | "outline" | null | undefined;
|
|
2190
2307
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
2191
|
-
} &
|
|
2308
|
+
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
2192
2309
|
declare const Toggle: React.ForwardRefExoticComponent<Omit<ToggleProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2193
2310
|
interface ToggleProps extends Toggle$1.Props, VariantProps<typeof toggleVariants> {}
|
|
2194
2311
|
declare namespace Toggle {
|
|
@@ -2397,4 +2514,4 @@ declare function useAudioGauge(options?: UseAudioGaugeOptions): UseAudioGaugeRes
|
|
|
2397
2514
|
//#region src/lib/utils.d.ts
|
|
2398
2515
|
declare function cn(...inputs: ClassValue[]): string;
|
|
2399
2516
|
//#endregion
|
|
2400
|
-
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, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, BadgeGroup, BadgeGroupCount, Banner, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Chip, ChipRemove, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColumnDef, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, type ComboboxClear, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CounterBadge, CountryFlag, DataTable, type DataTableLoadingState, DataTree, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBackdrop, DrawerBar, DrawerClose, DrawerContent, DrawerCreateHandle, DrawerDescription, DrawerFooter, DrawerHeader, DrawerMenu, DrawerMenuCheckboxItem, DrawerMenuGroup, DrawerMenuGroupLabel, DrawerMenuItem, DrawerMenuRadioGroup, DrawerMenuRadioItem, DrawerMenuSeparator, DrawerMenuTrigger, DrawerPanel, DrawerPopup, DrawerPortal, DrawerPrimitive, DrawerSwipeArea, DrawerTitle, DrawerTrigger, DrawerViewport, DropdownMenu, DropdownMenuAddon, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, DropzoneActions, DropzoneContent, DropzoneDescription, type DropzoneErrorCode, DropzoneIcon, DropzoneTitle, DropzoneTrigger, type DsI18nKey, DsI18nProvider, type DsLocale, EmojiPicker, EmojiPickerCategories, type EmojiPickerCategory, EmojiPickerContent, EmojiPickerTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FAB, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, type FileError, type FileRejection, Filter, FilterClearAllButton, FilterGroup, Gauge, type I18nLanguageSource, 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, type OnChangeFn, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, type RowSelectionState, 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, bannerVariants, buttonGroupVariants, buttonVariants, cn, counterBadgeVariants, detectInitialLanguage, fabVariants, registerI18nNamespace, selectTriggerVariants, spinnerVariants, syncDsLanguage, toast, toggleVariants, useAudioGauge, useComboboxAnchor, useDsTranslation, useNotification, useNotificationQueue, useSidebar, useStepper, useTheme };
|
|
2517
|
+
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, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, BadgeGroup, BadgeGroupCount, Banner, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Chip, ChipRemove, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColumnDef, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, type ComboboxClear, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CounterBadge, CountryFlag, DataTable, type DataTableLoadingState, DataTree, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBackdrop, DrawerBar, DrawerClose, DrawerContent, DrawerCreateHandle, DrawerDescription, DrawerFooter, DrawerHeader, DrawerMenu, DrawerMenuCheckboxItem, DrawerMenuGroup, DrawerMenuGroupLabel, DrawerMenuItem, DrawerMenuRadioGroup, DrawerMenuRadioItem, DrawerMenuSeparator, DrawerMenuTrigger, DrawerPanel, DrawerPopup, DrawerPortal, DrawerPrimitive, DrawerSwipeArea, DrawerTitle, DrawerTrigger, DrawerViewport, DropdownMenu, DropdownMenuAddon, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, DropzoneActions, DropzoneContent, DropzoneDescription, type DropzoneErrorCode, DropzoneIcon, DropzoneTitle, DropzoneTrigger, type DsI18nKey, DsI18nProvider, type DsLocale, EmojiPicker, EmojiPickerCategories, type EmojiPickerCategory, EmojiPickerContent, EmojiPickerTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FAB, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, type FileError, type FileRejection, Filter, FilterClearAllButton, FilterGroup, Gauge, HoverCard, HoverCardContent, HoverCardTrigger, type I18nLanguageSource, 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, type OnChangeFn, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, type RowSelectionState, SUPPORTED_LANGUAGES, ScrollArea, ScrollAreaPrimitive, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, type SheetOverlay, type SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, type SortingState, Spinner, type StepDefinition, Stepper, StepperContent, StepperCounter, StepperPanel, StepperProgress, Switch, Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeProvider, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tree, TreeDragLine, TreeItem, TreeItemLabel, UseAudioGaugeOptions, UseAudioGaugeResult, alertVariants, anchorVariants, bannerVariants, buttonGroupVariants, buttonVariants, cn, counterBadgeVariants, detectInitialLanguage, fabVariants, registerI18nNamespace, selectTriggerVariants, spinnerVariants, syncDsLanguage, toast, toggleVariants, useAudioGauge, useComboboxAnchor, useDsTranslation, useNotification, useNotificationQueue, useSidebar, useStepper, useTheme };
|