@aircall/ds 0.40.1 → 0.41.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/{data-table-DD7m3puW.js → data-table-Ciqcsotb.js} +110 -5
- package/dist/data-table.js +1 -1
- package/dist/globals.css +1 -1
- package/dist/index.d.ts +445 -189
- package/dist/index.js +1527 -817
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -15,11 +15,14 @@ import { Select as Select$1 } from "@base-ui/react/select";
|
|
|
15
15
|
import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
|
|
16
16
|
import { Checkbox as Checkbox$1 } from "@base-ui/react/checkbox";
|
|
17
17
|
import { Collapsible as Collapsible$1 } from "@base-ui/react/collapsible";
|
|
18
|
+
import { Popover as Popover$1 } from "@base-ui/react/popover";
|
|
19
|
+
import { Toggle as Toggle$1 } from "@base-ui/react/toggle";
|
|
20
|
+
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
21
|
+
import { Tooltip as Tooltip$1 } from "@base-ui/react/tooltip";
|
|
18
22
|
import { Combobox as Combobox$1 } from "@base-ui/react";
|
|
19
23
|
import { Command as Command$1 } from "cmdk";
|
|
20
24
|
import { Dialog as Dialog$1 } from "@base-ui/react/dialog";
|
|
21
25
|
import { ItemInstance } from "@headless-tree/core";
|
|
22
|
-
import { Popover as Popover$1 } from "@base-ui/react/popover";
|
|
23
26
|
import { Drawer as DrawerPrimitive } from "@base-ui/react/drawer";
|
|
24
27
|
import { Radio } from "@base-ui/react/radio";
|
|
25
28
|
import { RadioGroup as RadioGroup$1 } from "@base-ui/react/radio-group";
|
|
@@ -32,12 +35,9 @@ import { NumberField } from "@base-ui/react/number-field";
|
|
|
32
35
|
import { OTPInput } from "input-otp";
|
|
33
36
|
import { Progress as Progress$1 } from "@base-ui/react/progress";
|
|
34
37
|
import "platejs";
|
|
35
|
-
import { Toggle as Toggle$1 } from "@base-ui/react/toggle";
|
|
36
|
-
import { Tooltip as Tooltip$1 } from "@base-ui/react/tooltip";
|
|
37
38
|
import { ToasterProps, toast } from "sonner";
|
|
38
39
|
import { Switch as Switch$1 } from "@base-ui/react/switch";
|
|
39
40
|
import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
|
|
40
|
-
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
41
41
|
import { CountryCode } from "@aircall/numbers";
|
|
42
42
|
//#region src/components/accordion.d.ts
|
|
43
43
|
/**
|
|
@@ -97,7 +97,7 @@ declare namespace AccordionContent {
|
|
|
97
97
|
/** `cva` variant definitions for {@link Button} — resolves `variant`, `size`, and `block` into class names. */
|
|
98
98
|
declare const buttonVariants: (props?: ({
|
|
99
99
|
variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
100
|
-
size?: "default" | "
|
|
100
|
+
size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
|
|
101
101
|
block?: boolean | null | undefined;
|
|
102
102
|
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
103
103
|
/**
|
|
@@ -637,6 +637,12 @@ declare namespace AlertDialogCancel {
|
|
|
637
637
|
* `class-variance-authority` config for the {@link Alert} container. The
|
|
638
638
|
* `variant` option (`default` | `info` | `success` | `warning` | `error`,
|
|
639
639
|
* default `default`) sets the background, border, and icon colour scheme.
|
|
640
|
+
*
|
|
641
|
+
* With an `AlertAction` but no `AlertDescription` the row is sized by the
|
|
642
|
+
* button (32px) while the icon and title are only 24px tall, so `items-start`
|
|
643
|
+
* would leave them 4px above the optical centre. The `my-1` / `py-1` band gives
|
|
644
|
+
* both a 32px box, which centres single-line content on the button and keeps
|
|
645
|
+
* the icon level with the first line when the title wraps.
|
|
640
646
|
*/
|
|
641
647
|
declare const alertVariants: (props?: ({
|
|
642
648
|
variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
@@ -697,7 +703,9 @@ declare namespace AlertDescription {
|
|
|
697
703
|
* Container for action controls (e.g. buttons) inside an {@link Alert}.
|
|
698
704
|
*
|
|
699
705
|
* Renders a `<div>` positioned by the alert grid to the trailing side on wide
|
|
700
|
-
* layouts and below the content on narrow ones.
|
|
706
|
+
* layouts and below the content on narrow ones. It spans both content rows only
|
|
707
|
+
* when an `AlertDescription` is present; otherwise there is no second row to
|
|
708
|
+
* span and creating one would offset the icon and title.
|
|
701
709
|
*
|
|
702
710
|
* @example
|
|
703
711
|
* ```tsx
|
|
@@ -977,7 +985,7 @@ type BadgeTone = NonNullable<BadgeVariants['tone']>;
|
|
|
977
985
|
* removable token inside an input/combobox, use `Chip`.
|
|
978
986
|
*
|
|
979
987
|
* Pick a constrained DS `color` + `tone` (no freeform hex) — defaults to
|
|
980
|
-
* `charcoal` / `light` — or pass
|
|
988
|
+
* `charcoal` / `light` — or pass any stored hex via `customColor`. Icons are
|
|
981
989
|
* composed as children (auto-sized per `size`).
|
|
982
990
|
*
|
|
983
991
|
* `overflowMode` controls how content wider than the badge is handled:
|
|
@@ -991,8 +999,24 @@ interface BadgeProps extends Omit<useRender.ComponentProps<'span'>, 'color'>, Va
|
|
|
991
999
|
* provided it is resolved to the matching `color` + `tone` and overrides
|
|
992
1000
|
* them — render existing tags without migrating their stored colors.
|
|
993
1001
|
* Unknown values fall back to `charcoal` / `dark`.
|
|
1002
|
+
*
|
|
1003
|
+
* @deprecated `LEGACY_TAG_COLOR_MAP` assumed production tag data was a closed set
|
|
1004
|
+
* of 13 hexes; it covers only 54.2% of it, with everything else silently falling
|
|
1005
|
+
* back to `charcoal` / `dark`. Use `customColor` instead, which renders any hex
|
|
1006
|
+
* directly. Existing call sites keep working — this is not being removed out from
|
|
1007
|
+
* under them — but do not add new ones.
|
|
994
1008
|
*/
|
|
995
1009
|
legacyColor?: string;
|
|
1010
|
+
/**
|
|
1011
|
+
* An arbitrary fill hex (e.g. one a user picked with `ColorPicker`'s free-form mode).
|
|
1012
|
+
* Painted inline and given a black or white foreground by WCAG contrast, so any colour
|
|
1013
|
+
* stays legible. Overrides `color` / `tone` / `legacyColor`. A value that is not a hex
|
|
1014
|
+
* is ignored rather than rendering an unstyled badge.
|
|
1015
|
+
*
|
|
1016
|
+
* Prefer `color` + `tone` - they are theme-aware and this is not. Reach for it only
|
|
1017
|
+
* where a colour genuinely comes from outside the palette.
|
|
1018
|
+
*/
|
|
1019
|
+
customColor?: string;
|
|
996
1020
|
}
|
|
997
1021
|
declare namespace Badge {
|
|
998
1022
|
type Props = BadgeProps;
|
|
@@ -1576,6 +1600,414 @@ declare namespace CollapsibleContent {
|
|
|
1576
1600
|
type Props = CollapsibleContentProps;
|
|
1577
1601
|
}
|
|
1578
1602
|
//#endregion
|
|
1603
|
+
//#region src/components/input.d.ts
|
|
1604
|
+
declare const inputVariants: (props?: ({
|
|
1605
|
+
block?: boolean | null | undefined;
|
|
1606
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
1607
|
+
/**
|
|
1608
|
+
* Single-line text field styled to the design system.
|
|
1609
|
+
*
|
|
1610
|
+
* Renders a native `<input>` with focus ring and `aria-invalid` error styling;
|
|
1611
|
+
* accepts any input `type`.
|
|
1612
|
+
*
|
|
1613
|
+
* @prop block - When `true`, stretches to fill the full width of its container. Default: `false`.
|
|
1614
|
+
*
|
|
1615
|
+
* @example
|
|
1616
|
+
* ```tsx
|
|
1617
|
+
* <Input type="email" placeholder="you@example.com" />
|
|
1618
|
+
* ```
|
|
1619
|
+
*/
|
|
1620
|
+
declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1621
|
+
/** Props for {@link Input} — `<input>` props plus the `inputVariants` `block` option. */
|
|
1622
|
+
interface InputProps extends React.ComponentProps<'input'>, VariantProps<typeof inputVariants> {}
|
|
1623
|
+
declare namespace Input {
|
|
1624
|
+
type Props = InputProps;
|
|
1625
|
+
}
|
|
1626
|
+
//#endregion
|
|
1627
|
+
//#region src/components/popover.d.ts
|
|
1628
|
+
/**
|
|
1629
|
+
* Root container for a popover, wrapping Base UI's `Popover.Root`. Manages
|
|
1630
|
+
* open/close state and renders no DOM element — place `PopoverTrigger` and
|
|
1631
|
+
* `PopoverContent` inside it.
|
|
1632
|
+
*
|
|
1633
|
+
* @example
|
|
1634
|
+
* ```tsx
|
|
1635
|
+
* <Popover>
|
|
1636
|
+
* <PopoverTrigger render={<Button variant="outline" />}>Open</PopoverTrigger>
|
|
1637
|
+
* <PopoverContent>Popover body</PopoverContent>
|
|
1638
|
+
* </Popover>
|
|
1639
|
+
* ```
|
|
1640
|
+
*/
|
|
1641
|
+
declare function Popover(componentProps: Popover.Props): React.JSX.Element;
|
|
1642
|
+
interface PopoverProps extends Popover$1.Root.Props {}
|
|
1643
|
+
declare namespace Popover {
|
|
1644
|
+
type Props = PopoverProps;
|
|
1645
|
+
}
|
|
1646
|
+
/**
|
|
1647
|
+
* The element that toggles the popover, wrapping `Popover.Trigger`.
|
|
1648
|
+
* Renders a `<button>` by default; use `render` to swap the element.
|
|
1649
|
+
*/
|
|
1650
|
+
declare const PopoverTrigger: React.ForwardRefExoticComponent<Omit<PopoverTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1651
|
+
interface PopoverTriggerProps extends Popover$1.Trigger.Props {}
|
|
1652
|
+
declare namespace PopoverTrigger {
|
|
1653
|
+
type Props = PopoverTriggerProps;
|
|
1654
|
+
}
|
|
1655
|
+
/**
|
|
1656
|
+
* A button that closes the enclosing popover.
|
|
1657
|
+
* Renders a `<button>` element. Required inside `<PopoverContent>` when
|
|
1658
|
+
* `modal='trap-focus'` is set on the `<Popover>` root so that Base UI
|
|
1659
|
+
* engages the focus trap (focusManagerModal = modal !== false && hasClosePart).
|
|
1660
|
+
*
|
|
1661
|
+
* @example
|
|
1662
|
+
* ```tsx
|
|
1663
|
+
* <PopoverContent>
|
|
1664
|
+
* <PopoverClose className="sr-only">Close</PopoverClose>
|
|
1665
|
+
* {children}
|
|
1666
|
+
* </PopoverContent>
|
|
1667
|
+
* ```
|
|
1668
|
+
*/
|
|
1669
|
+
declare const PopoverClose: React.ForwardRefExoticComponent<Omit<PopoverCloseProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1670
|
+
interface PopoverCloseProps extends Popover$1.Close.Props {}
|
|
1671
|
+
declare namespace PopoverClose {
|
|
1672
|
+
type Props = PopoverCloseProps;
|
|
1673
|
+
}
|
|
1674
|
+
/**
|
|
1675
|
+
* The floating panel shown when the popover is open. Composes
|
|
1676
|
+
* `Popover.Portal → Popover.Positioner → Popover.Popup` into a single part and
|
|
1677
|
+
* renders a `<div>` popup. Positioning props (`side`, `sideOffset`, `align`,
|
|
1678
|
+
* `alignOffset`) are forwarded to the positioner; all other props go to the popup.
|
|
1679
|
+
*
|
|
1680
|
+
* @prop side - Which side of the trigger to place the popover. Default: `'bottom'`.
|
|
1681
|
+
* @prop sideOffset - Gap in pixels between the trigger and the popover. Default: `4`.
|
|
1682
|
+
* @prop align - Alignment along the trigger's cross-axis. Default: `'center'`.
|
|
1683
|
+
* @prop alignOffset - Offset in pixels along the cross-axis. Default: `0`.
|
|
1684
|
+
*/
|
|
1685
|
+
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1686
|
+
interface PopoverContentProps extends Popover$1.Popup.Props, Pick<Popover$1.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset' | 'anchor'> {}
|
|
1687
|
+
declare namespace PopoverContent {
|
|
1688
|
+
type Props = PopoverContentProps;
|
|
1689
|
+
}
|
|
1690
|
+
/**
|
|
1691
|
+
* Optional header region grouping the popover's title and description.
|
|
1692
|
+
* Renders a `<div>`.
|
|
1693
|
+
*/
|
|
1694
|
+
declare const PopoverHeader: React.ForwardRefExoticComponent<Omit<PopoverHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1695
|
+
interface PopoverHeaderProps extends React.ComponentProps<'div'> {}
|
|
1696
|
+
declare namespace PopoverHeader {
|
|
1697
|
+
type Props = PopoverHeaderProps;
|
|
1698
|
+
}
|
|
1699
|
+
/**
|
|
1700
|
+
* Accessible title for the popover, wrapping `Popover.Title`.
|
|
1701
|
+
* Renders an `<h2>` and labels the popup for assistive technology.
|
|
1702
|
+
*/
|
|
1703
|
+
declare const PopoverTitle: React.ForwardRefExoticComponent<Omit<PopoverTitleProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
1704
|
+
interface PopoverTitleProps extends Popover$1.Title.Props {}
|
|
1705
|
+
declare namespace PopoverTitle {
|
|
1706
|
+
type Props = PopoverTitleProps;
|
|
1707
|
+
}
|
|
1708
|
+
/**
|
|
1709
|
+
* Accessible supporting text for the popover, wrapping `Popover.Description`.
|
|
1710
|
+
* Renders a `<p>` and describes the popup for assistive technology.
|
|
1711
|
+
*/
|
|
1712
|
+
declare const PopoverDescription: React.ForwardRefExoticComponent<Omit<PopoverDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
1713
|
+
interface PopoverDescriptionProps extends Popover$1.Description.Props {}
|
|
1714
|
+
declare namespace PopoverDescription {
|
|
1715
|
+
type Props = PopoverDescriptionProps;
|
|
1716
|
+
}
|
|
1717
|
+
//#endregion
|
|
1718
|
+
//#region src/components/toggle.d.ts
|
|
1719
|
+
/**
|
|
1720
|
+
* Class-variance-authority variants for {@link Toggle}: `variant` (`default` | `outline`)
|
|
1721
|
+
* and `size` (`default` | `sm` | `lg`).
|
|
1722
|
+
*/
|
|
1723
|
+
declare const toggleVariants: (props?: ({
|
|
1724
|
+
variant?: "default" | "outline" | null | undefined;
|
|
1725
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
1726
|
+
pressedColor?: "highContrast" | "lowContrast" | null | undefined;
|
|
1727
|
+
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
1728
|
+
/**
|
|
1729
|
+
* A two-state button that can be pressed on or off, wrapping Base UI's `Toggle`.
|
|
1730
|
+
* Renders a `<button aria-pressed>` styled via {@link toggleVariants}.
|
|
1731
|
+
*
|
|
1732
|
+
* @example
|
|
1733
|
+
* ```tsx
|
|
1734
|
+
* <Toggle aria-label="Bold">B</Toggle>
|
|
1735
|
+
* ```
|
|
1736
|
+
*/
|
|
1737
|
+
declare const Toggle: React.ForwardRefExoticComponent<Omit<ToggleProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1738
|
+
interface ToggleProps extends Toggle$1.Props, VariantProps<typeof toggleVariants> {}
|
|
1739
|
+
declare namespace Toggle {
|
|
1740
|
+
type Props = ToggleProps;
|
|
1741
|
+
}
|
|
1742
|
+
//#endregion
|
|
1743
|
+
//#region src/components/toggle-group.d.ts
|
|
1744
|
+
/**
|
|
1745
|
+
* Root container grouping related toggle buttons, wrapping Base UI's `ToggleGroup`.
|
|
1746
|
+
* Renders a `<div role="group">` and shares `variant`, `size` and `spacing` with its
|
|
1747
|
+
* `ToggleGroupItem`s via context.
|
|
1748
|
+
*
|
|
1749
|
+
* @example
|
|
1750
|
+
* ```tsx
|
|
1751
|
+
* <ToggleGroup defaultValue={['left']}>
|
|
1752
|
+
* <ToggleGroupItem value="left">Left</ToggleGroupItem>
|
|
1753
|
+
* <ToggleGroupItem value="center">Center</ToggleGroupItem>
|
|
1754
|
+
* </ToggleGroup>
|
|
1755
|
+
* ```
|
|
1756
|
+
*/
|
|
1757
|
+
declare const ToggleGroup: React.ForwardRefExoticComponent<Omit<ToggleGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1758
|
+
type ToggleGroupProps = ToggleGroup$1.Props & VariantProps<typeof toggleVariants> & {
|
|
1759
|
+
spacing?: number;
|
|
1760
|
+
orientation?: 'horizontal' | 'vertical';
|
|
1761
|
+
/**
|
|
1762
|
+
* Stretch the group to fill its container.
|
|
1763
|
+
*/
|
|
1764
|
+
block?: boolean;
|
|
1765
|
+
};
|
|
1766
|
+
declare namespace ToggleGroup {
|
|
1767
|
+
type Props = ToggleGroupProps;
|
|
1768
|
+
}
|
|
1769
|
+
/**
|
|
1770
|
+
* A single toggle button within a `ToggleGroup`, wrapping Base UI's `Toggle`.
|
|
1771
|
+
* Renders a `<button aria-pressed>` that inherits `variant` and `size` from the group context.
|
|
1772
|
+
*/
|
|
1773
|
+
declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupItemProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1774
|
+
interface ToggleGroupItemProps extends Toggle$1.Props, VariantProps<typeof toggleVariants> {}
|
|
1775
|
+
declare namespace ToggleGroupItem {
|
|
1776
|
+
type Props = ToggleGroupItemProps;
|
|
1777
|
+
}
|
|
1778
|
+
//#endregion
|
|
1779
|
+
//#region src/components/color-picker.d.ts
|
|
1780
|
+
/**
|
|
1781
|
+
* One selectable cell in a preset grid: a literal colour. `hex` is both the fill and
|
|
1782
|
+
* the emitted value; `color` + `tone` are optional and purely derive the tooltip label
|
|
1783
|
+
* (that is how {@link LEGACY_COLOR_PRESETS} names its swatches).
|
|
1784
|
+
*/
|
|
1785
|
+
type ColorPickerPreset = {
|
|
1786
|
+
/** The swatch's fill, and the value written when it is picked. */
|
|
1787
|
+
hex: string;
|
|
1788
|
+
/** DS hue family, used only to derive the default label. */
|
|
1789
|
+
color?: BadgeColor;
|
|
1790
|
+
/** DS tone, used only to derive the default label. */
|
|
1791
|
+
tone?: BadgeTone;
|
|
1792
|
+
/** Explicit tooltip label, overriding the one derived from `color` + `tone`. */
|
|
1793
|
+
label?: string;
|
|
1794
|
+
};
|
|
1795
|
+
/**
|
|
1796
|
+
* The 13 legacy tag colours - the palette `@dashboard/library`'s `TAGS_COLORS` and
|
|
1797
|
+
* campaign-extension's `OUTCOME_COLORS` already write. Literal colours, so they emit
|
|
1798
|
+
* their own hex and a consumer storing them needs no migration. Ordered by hue family
|
|
1799
|
+
* then tone, and labelled through the same design-approved equivalency table
|
|
1800
|
+
* `Badge`'s deprecated `legacyColor` uses.
|
|
1801
|
+
*
|
|
1802
|
+
* The only preset set shipped for now - the DS brand palette (28 cells painted by
|
|
1803
|
+
* `badgeVariants`) is deferred: it needs a beautified pass design hasn't drawn yet,
|
|
1804
|
+
* and shipping it as published API now would mean versioning or breaking it later.
|
|
1805
|
+
*/
|
|
1806
|
+
declare const LEGACY_COLOR_PRESETS: readonly ColorPickerPreset[];
|
|
1807
|
+
/** Which surface the panel is showing: the preset grid, or the free-form picker. */
|
|
1808
|
+
type ColorPickerMode = 'presets' | 'custom';
|
|
1809
|
+
type ColorPickerProps = {
|
|
1810
|
+
/**
|
|
1811
|
+
* The selected colour, as a `#rrggbb` hex. Accepts `#rgb`, uppercase, and a missing
|
|
1812
|
+
* `#`; it is normalised internally. Pass straight through to `Badge`'s
|
|
1813
|
+
* `customColor`.
|
|
1814
|
+
*/
|
|
1815
|
+
value?: string;
|
|
1816
|
+
/** Called with the new value, a canonical lowercase `#rrggbb` hex. */
|
|
1817
|
+
onValueChange?: (value: string) => void;
|
|
1818
|
+
/**
|
|
1819
|
+
* The swatches offered by `ColorPickerPresets`, and the set that decides whether
|
|
1820
|
+
* `value` counts as a custom colour.
|
|
1821
|
+
* @default LEGACY_COLOR_PRESETS
|
|
1822
|
+
*/
|
|
1823
|
+
presets?: readonly ColorPickerPreset[];
|
|
1824
|
+
/**
|
|
1825
|
+
* Forces the active panel. Leave undefined to let the picker choose: it opens on
|
|
1826
|
+
* `presets` when `value` is one of them, and on `custom` when it is not.
|
|
1827
|
+
*/
|
|
1828
|
+
mode?: ColorPickerMode;
|
|
1829
|
+
/** Called when the panel changes, including the automatic choice made on open. */
|
|
1830
|
+
onModeChange?: (mode: ColorPickerMode) => void;
|
|
1831
|
+
/** Controls the popover. Leave undefined for uncontrolled open state. */
|
|
1832
|
+
open?: boolean;
|
|
1833
|
+
/** Called when the popover opens or closes. */
|
|
1834
|
+
onOpenChange?: (open: boolean) => void;
|
|
1835
|
+
children?: React.ReactNode;
|
|
1836
|
+
};
|
|
1837
|
+
/**
|
|
1838
|
+
* Root of the colour picker: owns the value, mirrors it as HSV for the free-form
|
|
1839
|
+
* surfaces, and manages open/close state. Renders the Base UI Popover root
|
|
1840
|
+
* (context only - no DOM element). Place `ColorPickerTrigger` and
|
|
1841
|
+
* `ColorPickerContent` inside it.
|
|
1842
|
+
*
|
|
1843
|
+
* The value is always a hex string - that is what consumers store and what
|
|
1844
|
+
* `Badge`'s `customColor` reads.
|
|
1845
|
+
*
|
|
1846
|
+
* @example
|
|
1847
|
+
* ```tsx
|
|
1848
|
+
* <ColorPicker value={color} onValueChange={setColor}>
|
|
1849
|
+
* <ColorPickerTrigger />
|
|
1850
|
+
* <ColorPickerContent align="start">
|
|
1851
|
+
* <ColorPickerPresets presets={LEGACY_COLOR_PRESETS} />
|
|
1852
|
+
* </ColorPickerContent>
|
|
1853
|
+
* </ColorPicker>
|
|
1854
|
+
* ```
|
|
1855
|
+
*/
|
|
1856
|
+
declare function ColorPicker(componentProps: ColorPicker.Props): React.JSX.Element;
|
|
1857
|
+
declare namespace ColorPicker {
|
|
1858
|
+
type Props = ColorPickerProps;
|
|
1859
|
+
/** The value type: a `#rrggbb` hex. */
|
|
1860
|
+
type Value = string;
|
|
1861
|
+
}
|
|
1862
|
+
/**
|
|
1863
|
+
* Trigger that opens the `ColorPicker`. Renders a Base UI `PopoverTrigger` as a
|
|
1864
|
+
* `<button>` - by default a 32px outline icon `Button` showing the current colour
|
|
1865
|
+
* as a rounded swatch. Override the element via `render` and the inner content via
|
|
1866
|
+
* `children`. Forwards `className`, `aria-invalid` and `disabled`, so it can join a
|
|
1867
|
+
* `ButtonGroup` and share an error border with a neighbouring `Input`.
|
|
1868
|
+
*
|
|
1869
|
+
* @example
|
|
1870
|
+
* ```tsx
|
|
1871
|
+
* <ColorPickerTrigger aria-invalid={hasError || undefined} />
|
|
1872
|
+
* ```
|
|
1873
|
+
*/
|
|
1874
|
+
declare const ColorPickerTrigger: React.ForwardRefExoticComponent<Omit<ColorPickerTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1875
|
+
/** Props for {@link ColorPickerTrigger} - extends Base UI `Popover.Trigger.Props`. */
|
|
1876
|
+
interface ColorPickerTriggerProps extends React.ComponentProps<typeof PopoverTrigger> {}
|
|
1877
|
+
declare namespace ColorPickerTrigger {
|
|
1878
|
+
type Props = ColorPickerTriggerProps;
|
|
1879
|
+
}
|
|
1880
|
+
/**
|
|
1881
|
+
* The floating panel of the `ColorPicker`. A `PopoverContent` sized to the design's
|
|
1882
|
+
* 220px grid, laid out as a column so preset and free-form parts stack.
|
|
1883
|
+
*
|
|
1884
|
+
* @example
|
|
1885
|
+
* ```tsx
|
|
1886
|
+
* <ColorPickerContent align="start">
|
|
1887
|
+
* <ColorPickerPresets />
|
|
1888
|
+
* </ColorPickerContent>
|
|
1889
|
+
* ```
|
|
1890
|
+
*/
|
|
1891
|
+
declare const ColorPickerContent: React.ForwardRefExoticComponent<Omit<ColorPickerContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1892
|
+
/** Props for {@link ColorPickerContent} - extends {@link PopoverContent}'s props. */
|
|
1893
|
+
interface ColorPickerContentProps extends React.ComponentProps<typeof PopoverContent> {}
|
|
1894
|
+
declare namespace ColorPickerContent {
|
|
1895
|
+
type Props = ColorPickerContentProps;
|
|
1896
|
+
}
|
|
1897
|
+
/**
|
|
1898
|
+
* The preset grid: a 7-column `radiogroup` of colour swatches, each with a tooltip
|
|
1899
|
+
* naming it. Picking a swatch sets the value and closes the popover.
|
|
1900
|
+
*
|
|
1901
|
+
* Arrow keys move focus without changing the value; `Enter` or `Space` picks the
|
|
1902
|
+
* focused swatch. (Selection deliberately does not follow focus - it would close
|
|
1903
|
+
* the popover on the first arrow press.)
|
|
1904
|
+
*
|
|
1905
|
+
* @example
|
|
1906
|
+
* ```tsx
|
|
1907
|
+
* <ColorPickerPresets presets={LEGACY_COLOR_PRESETS} />
|
|
1908
|
+
* ```
|
|
1909
|
+
*/
|
|
1910
|
+
declare const ColorPickerPresets: React.ForwardRefExoticComponent<Omit<ColorPickerPresetsProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1911
|
+
interface ColorPickerPresetsProps extends React.ComponentProps<'div'> {
|
|
1912
|
+
/**
|
|
1913
|
+
* Overrides the swatches for this grid only. Prefer setting `presets` on the
|
|
1914
|
+
* `ColorPicker` root, which also drives the automatic presets/custom choice.
|
|
1915
|
+
* @default the root's `presets`
|
|
1916
|
+
*/
|
|
1917
|
+
presets?: readonly ColorPickerPreset[];
|
|
1918
|
+
}
|
|
1919
|
+
declare namespace ColorPickerPresets {
|
|
1920
|
+
type Props = ColorPickerPresetsProps;
|
|
1921
|
+
}
|
|
1922
|
+
/**
|
|
1923
|
+
* Full-width, text-labelled two-state switch between the preset grid and the
|
|
1924
|
+
* free-form picker. Place it as the first child of `ColorPickerContent`; it forms its
|
|
1925
|
+
* own header row (`block` stretches the two labelled segments to fill the panel).
|
|
1926
|
+
*
|
|
1927
|
+
* @example
|
|
1928
|
+
* ```tsx
|
|
1929
|
+
* <ColorPickerContent>
|
|
1930
|
+
* <ColorPickerModeToggle />
|
|
1931
|
+
* <ColorPickerPanel mode="presets">...</ColorPickerPanel>
|
|
1932
|
+
* </ColorPickerContent>
|
|
1933
|
+
* ```
|
|
1934
|
+
*/
|
|
1935
|
+
declare const ColorPickerModeToggle: React.ForwardRefExoticComponent<Omit<ColorPickerModeToggleProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1936
|
+
type ColorPickerModeToggleProps = Omit<React.ComponentProps<typeof ToggleGroup>, 'value' | 'defaultValue' | 'onValueChange' | 'children'>;
|
|
1937
|
+
declare namespace ColorPickerModeToggle {
|
|
1938
|
+
type Props = ColorPickerModeToggleProps;
|
|
1939
|
+
}
|
|
1940
|
+
/**
|
|
1941
|
+
* Shows its children only while `mode` is the active one. Mirrors `TabsContent`:
|
|
1942
|
+
* one panel per mode, both declared, one rendered.
|
|
1943
|
+
*
|
|
1944
|
+
* Only needed alongside a `ColorPickerModeToggle` - a picker that offers presets
|
|
1945
|
+
* alone puts `ColorPickerPresets` straight into `ColorPickerContent`.
|
|
1946
|
+
*
|
|
1947
|
+
* @example
|
|
1948
|
+
* ```tsx
|
|
1949
|
+
* <ColorPickerPanel mode="custom">
|
|
1950
|
+
* <ColorPickerArea />
|
|
1951
|
+
* <ColorPickerHue />
|
|
1952
|
+
* </ColorPickerPanel>
|
|
1953
|
+
* ```
|
|
1954
|
+
*/
|
|
1955
|
+
declare const ColorPickerPanel: React.ForwardRefExoticComponent<Omit<ColorPickerPanelProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1956
|
+
interface ColorPickerPanelProps extends React.ComponentProps<'div'> {
|
|
1957
|
+
/** The mode this panel belongs to. */
|
|
1958
|
+
mode: ColorPickerMode;
|
|
1959
|
+
}
|
|
1960
|
+
declare namespace ColorPickerPanel {
|
|
1961
|
+
type Props = ColorPickerPanelProps;
|
|
1962
|
+
}
|
|
1963
|
+
/**
|
|
1964
|
+
* Two-dimensional saturation (x) and brightness (y) surface, tinted by the current
|
|
1965
|
+
* hue. Dragging updates the value continuously and does **not** close the popover.
|
|
1966
|
+
*
|
|
1967
|
+
* Keyboard: left/right adjust saturation, up/down adjust brightness, in 1% steps
|
|
1968
|
+
* (10% with `Shift`).
|
|
1969
|
+
*
|
|
1970
|
+
* @example
|
|
1971
|
+
* ```tsx
|
|
1972
|
+
* <ColorPickerArea />
|
|
1973
|
+
* ```
|
|
1974
|
+
*/
|
|
1975
|
+
declare const ColorPickerArea: React.ForwardRefExoticComponent<Omit<ColorPickerAreaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1976
|
+
interface ColorPickerAreaProps extends React.ComponentProps<'div'> {}
|
|
1977
|
+
declare namespace ColorPickerArea {
|
|
1978
|
+
type Props = ColorPickerAreaProps;
|
|
1979
|
+
}
|
|
1980
|
+
/**
|
|
1981
|
+
* Hue slider, 0-360, with a full-spectrum track. Built on the Base UI Slider
|
|
1982
|
+
* primitive rather than the DS `Slider` because the track paints a spectrum and
|
|
1983
|
+
* has no filled range. Dragging does **not** close the popover.
|
|
1984
|
+
*
|
|
1985
|
+
* @example
|
|
1986
|
+
* ```tsx
|
|
1987
|
+
* <ColorPickerHue />
|
|
1988
|
+
* ```
|
|
1989
|
+
*/
|
|
1990
|
+
declare const ColorPickerHue: React.ForwardRefExoticComponent<Omit<ColorPickerHueProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1991
|
+
type ColorPickerHueProps = Omit<Slider$1.Root.Props, 'value' | 'defaultValue' | 'onValueChange' | 'min' | 'max' | 'children'>;
|
|
1992
|
+
declare namespace ColorPickerHue {
|
|
1993
|
+
type Props = ColorPickerHueProps;
|
|
1994
|
+
}
|
|
1995
|
+
/**
|
|
1996
|
+
* Hex text field. Accepts `#rgb` / `#rrggbb`, with or without the leading `#`, in any
|
|
1997
|
+
* case. Commits on `Enter` or blur; reverts to the current colour when the input is
|
|
1998
|
+
* not a valid hex, so a half-typed value never escapes as a colour change.
|
|
1999
|
+
*
|
|
2000
|
+
* @example
|
|
2001
|
+
* ```tsx
|
|
2002
|
+
* <ColorPickerHexField />
|
|
2003
|
+
* ```
|
|
2004
|
+
*/
|
|
2005
|
+
declare const ColorPickerHexField: React.ForwardRefExoticComponent<Omit<ColorPickerHexFieldProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
2006
|
+
interface ColorPickerHexFieldProps extends Omit<React.ComponentProps<typeof Input>, 'value' | 'onChange'> {}
|
|
2007
|
+
declare namespace ColorPickerHexField {
|
|
2008
|
+
type Props = ColorPickerHexFieldProps;
|
|
2009
|
+
}
|
|
2010
|
+
//#endregion
|
|
1579
2011
|
//#region src/components/combobox.d.ts
|
|
1580
2012
|
/**
|
|
1581
2013
|
* Root of the combobox, aliasing Base UI's `Combobox.Root`. Manages selection, open state, and
|
|
@@ -1727,7 +2159,7 @@ declare namespace ComboboxChips {
|
|
|
1727
2159
|
* Renders a `Chip` `<div>` with an optional remove button.
|
|
1728
2160
|
*/
|
|
1729
2161
|
declare const ComboboxChip: React.ForwardRefExoticComponent<Omit<ComboboxChipProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1730
|
-
interface ComboboxChipProps extends Combobox$1.Chip.Props, Pick<Chip.Props, 'color' | 'tone' | 'legacyColor'> {
|
|
2162
|
+
interface ComboboxChipProps extends Combobox$1.Chip.Props, Pick<Chip.Props, 'color' | 'tone' | 'legacyColor' | 'customColor'> {
|
|
1731
2163
|
/**
|
|
1732
2164
|
* Whether to render the trailing remove button on the chip.
|
|
1733
2165
|
* @default true
|
|
@@ -3401,97 +3833,6 @@ declare namespace DropzoneTrigger {
|
|
|
3401
3833
|
type Props = DropzoneTriggerProps;
|
|
3402
3834
|
}
|
|
3403
3835
|
//#endregion
|
|
3404
|
-
//#region src/components/popover.d.ts
|
|
3405
|
-
/**
|
|
3406
|
-
* Root container for a popover, wrapping Base UI's `Popover.Root`. Manages
|
|
3407
|
-
* open/close state and renders no DOM element — place `PopoverTrigger` and
|
|
3408
|
-
* `PopoverContent` inside it.
|
|
3409
|
-
*
|
|
3410
|
-
* @example
|
|
3411
|
-
* ```tsx
|
|
3412
|
-
* <Popover>
|
|
3413
|
-
* <PopoverTrigger render={<Button variant="outline" />}>Open</PopoverTrigger>
|
|
3414
|
-
* <PopoverContent>Popover body</PopoverContent>
|
|
3415
|
-
* </Popover>
|
|
3416
|
-
* ```
|
|
3417
|
-
*/
|
|
3418
|
-
declare function Popover(componentProps: Popover.Props): React.JSX.Element;
|
|
3419
|
-
interface PopoverProps extends Popover$1.Root.Props {}
|
|
3420
|
-
declare namespace Popover {
|
|
3421
|
-
type Props = PopoverProps;
|
|
3422
|
-
}
|
|
3423
|
-
/**
|
|
3424
|
-
* The element that toggles the popover, wrapping `Popover.Trigger`.
|
|
3425
|
-
* Renders a `<button>` by default; use `render` to swap the element.
|
|
3426
|
-
*/
|
|
3427
|
-
declare const PopoverTrigger: React.ForwardRefExoticComponent<Omit<PopoverTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
3428
|
-
interface PopoverTriggerProps extends Popover$1.Trigger.Props {}
|
|
3429
|
-
declare namespace PopoverTrigger {
|
|
3430
|
-
type Props = PopoverTriggerProps;
|
|
3431
|
-
}
|
|
3432
|
-
/**
|
|
3433
|
-
* A button that closes the enclosing popover.
|
|
3434
|
-
* Renders a `<button>` element. Required inside `<PopoverContent>` when
|
|
3435
|
-
* `modal='trap-focus'` is set on the `<Popover>` root so that Base UI
|
|
3436
|
-
* engages the focus trap (focusManagerModal = modal !== false && hasClosePart).
|
|
3437
|
-
*
|
|
3438
|
-
* @example
|
|
3439
|
-
* ```tsx
|
|
3440
|
-
* <PopoverContent>
|
|
3441
|
-
* <PopoverClose className="sr-only">Close</PopoverClose>
|
|
3442
|
-
* {children}
|
|
3443
|
-
* </PopoverContent>
|
|
3444
|
-
* ```
|
|
3445
|
-
*/
|
|
3446
|
-
declare const PopoverClose: React.ForwardRefExoticComponent<Omit<PopoverCloseProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
3447
|
-
interface PopoverCloseProps extends Popover$1.Close.Props {}
|
|
3448
|
-
declare namespace PopoverClose {
|
|
3449
|
-
type Props = PopoverCloseProps;
|
|
3450
|
-
}
|
|
3451
|
-
/**
|
|
3452
|
-
* The floating panel shown when the popover is open. Composes
|
|
3453
|
-
* `Popover.Portal → Popover.Positioner → Popover.Popup` into a single part and
|
|
3454
|
-
* renders a `<div>` popup. Positioning props (`side`, `sideOffset`, `align`,
|
|
3455
|
-
* `alignOffset`) are forwarded to the positioner; all other props go to the popup.
|
|
3456
|
-
*
|
|
3457
|
-
* @prop side - Which side of the trigger to place the popover. Default: `'bottom'`.
|
|
3458
|
-
* @prop sideOffset - Gap in pixels between the trigger and the popover. Default: `4`.
|
|
3459
|
-
* @prop align - Alignment along the trigger's cross-axis. Default: `'center'`.
|
|
3460
|
-
* @prop alignOffset - Offset in pixels along the cross-axis. Default: `0`.
|
|
3461
|
-
*/
|
|
3462
|
-
declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
3463
|
-
interface PopoverContentProps extends Popover$1.Popup.Props, Pick<Popover$1.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset' | 'anchor'> {}
|
|
3464
|
-
declare namespace PopoverContent {
|
|
3465
|
-
type Props = PopoverContentProps;
|
|
3466
|
-
}
|
|
3467
|
-
/**
|
|
3468
|
-
* Optional header region grouping the popover's title and description.
|
|
3469
|
-
* Renders a `<div>`.
|
|
3470
|
-
*/
|
|
3471
|
-
declare const PopoverHeader: React.ForwardRefExoticComponent<Omit<PopoverHeaderProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
3472
|
-
interface PopoverHeaderProps extends React.ComponentProps<'div'> {}
|
|
3473
|
-
declare namespace PopoverHeader {
|
|
3474
|
-
type Props = PopoverHeaderProps;
|
|
3475
|
-
}
|
|
3476
|
-
/**
|
|
3477
|
-
* Accessible title for the popover, wrapping `Popover.Title`.
|
|
3478
|
-
* Renders an `<h2>` and labels the popup for assistive technology.
|
|
3479
|
-
*/
|
|
3480
|
-
declare const PopoverTitle: React.ForwardRefExoticComponent<Omit<PopoverTitleProps, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
3481
|
-
interface PopoverTitleProps extends Popover$1.Title.Props {}
|
|
3482
|
-
declare namespace PopoverTitle {
|
|
3483
|
-
type Props = PopoverTitleProps;
|
|
3484
|
-
}
|
|
3485
|
-
/**
|
|
3486
|
-
* Accessible supporting text for the popover, wrapping `Popover.Description`.
|
|
3487
|
-
* Renders a `<p>` and describes the popup for assistive technology.
|
|
3488
|
-
*/
|
|
3489
|
-
declare const PopoverDescription: React.ForwardRefExoticComponent<Omit<PopoverDescriptionProps, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
3490
|
-
interface PopoverDescriptionProps extends Popover$1.Description.Props {}
|
|
3491
|
-
declare namespace PopoverDescription {
|
|
3492
|
-
type Props = PopoverDescriptionProps;
|
|
3493
|
-
}
|
|
3494
|
-
//#endregion
|
|
3495
3836
|
//#region src/components/emoji-picker.d.ts
|
|
3496
3837
|
/** Emoji category identifiers, for the `categories` prop of `EmojiPickerContent`. */
|
|
3497
3838
|
declare const EmojiPickerCategories: {
|
|
@@ -4032,7 +4373,7 @@ declare namespace InlineEditMultiComboboxValue {
|
|
|
4032
4373
|
* ```
|
|
4033
4374
|
*/
|
|
4034
4375
|
declare function InlineEditMultiComboboxValue(componentProps: InlineEditMultiComboboxValue.Props): React.JSX.Element;
|
|
4035
|
-
interface InlineEditMultiComboboxChipProps extends Omit<Combobox$1.Chip.Props, 'render'>, Pick<Chip.Props, 'color' | 'tone' | 'legacyColor' | 'glow'> {
|
|
4376
|
+
interface InlineEditMultiComboboxChipProps extends Omit<Combobox$1.Chip.Props, 'render'>, Pick<Chip.Props, 'color' | 'tone' | 'legacyColor' | 'customColor' | 'glow'> {
|
|
4036
4377
|
/** Chip label content. */
|
|
4037
4378
|
children?: React.ReactNode;
|
|
4038
4379
|
}
|
|
@@ -4478,30 +4819,6 @@ declare namespace InlineEditTextarea {
|
|
|
4478
4819
|
*/
|
|
4479
4820
|
declare const InlineEditTextarea: React.ForwardRefExoticComponent<Omit<InlineEditTextareaProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
4480
4821
|
//#endregion
|
|
4481
|
-
//#region src/components/input.d.ts
|
|
4482
|
-
declare const inputVariants: (props?: ({
|
|
4483
|
-
block?: boolean | null | undefined;
|
|
4484
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
4485
|
-
/**
|
|
4486
|
-
* Single-line text field styled to the design system.
|
|
4487
|
-
*
|
|
4488
|
-
* Renders a native `<input>` with focus ring and `aria-invalid` error styling;
|
|
4489
|
-
* accepts any input `type`.
|
|
4490
|
-
*
|
|
4491
|
-
* @prop block - When `true`, stretches to fill the full width of its container. Default: `false`.
|
|
4492
|
-
*
|
|
4493
|
-
* @example
|
|
4494
|
-
* ```tsx
|
|
4495
|
-
* <Input type="email" placeholder="you@example.com" />
|
|
4496
|
-
* ```
|
|
4497
|
-
*/
|
|
4498
|
-
declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
4499
|
-
/** Props for {@link Input} — `<input>` props plus the `inputVariants` `block` option. */
|
|
4500
|
-
interface InputProps extends React.ComponentProps<'input'>, VariantProps<typeof inputVariants> {}
|
|
4501
|
-
declare namespace Input {
|
|
4502
|
-
type Props = InputProps;
|
|
4503
|
-
}
|
|
4504
|
-
//#endregion
|
|
4505
4822
|
//#region src/components/input-group.d.ts
|
|
4506
4823
|
/**
|
|
4507
4824
|
* Bordered flex-row container that groups an input with leading/trailing addons
|
|
@@ -4658,7 +4975,7 @@ declare namespace NumericInputDecrement {
|
|
|
4658
4975
|
* )} />
|
|
4659
4976
|
* ```
|
|
4660
4977
|
*/
|
|
4661
|
-
declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
4978
|
+
declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
4662
4979
|
value?: string;
|
|
4663
4980
|
onChange?: (newValue: string) => unknown;
|
|
4664
4981
|
maxLength: number;
|
|
@@ -4673,7 +4990,7 @@ declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHT
|
|
|
4673
4990
|
children?: never;
|
|
4674
4991
|
} & React.RefAttributes<HTMLInputElement> & {
|
|
4675
4992
|
containerClassName?: string;
|
|
4676
|
-
}, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
4993
|
+
}, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
4677
4994
|
value?: string;
|
|
4678
4995
|
onChange?: (newValue: string) => unknown;
|
|
4679
4996
|
maxLength: number;
|
|
@@ -6434,67 +6751,6 @@ declare namespace ThemeProvider {
|
|
|
6434
6751
|
type Props = ThemeProviderProps$1;
|
|
6435
6752
|
}
|
|
6436
6753
|
//#endregion
|
|
6437
|
-
//#region src/components/toggle.d.ts
|
|
6438
|
-
/**
|
|
6439
|
-
* Class-variance-authority variants for {@link Toggle}: `variant` (`default` | `outline`)
|
|
6440
|
-
* and `size` (`default` | `sm` | `lg`).
|
|
6441
|
-
*/
|
|
6442
|
-
declare const toggleVariants: (props?: ({
|
|
6443
|
-
variant?: "default" | "outline" | null | undefined;
|
|
6444
|
-
size?: "default" | "sm" | "lg" | null | undefined;
|
|
6445
|
-
pressedColor?: "highContrast" | "lowContrast" | null | undefined;
|
|
6446
|
-
} & import("class-variance-authority/types").ClassProp) | undefined) => string;
|
|
6447
|
-
/**
|
|
6448
|
-
* A two-state button that can be pressed on or off, wrapping Base UI's `Toggle`.
|
|
6449
|
-
* Renders a `<button aria-pressed>` styled via {@link toggleVariants}.
|
|
6450
|
-
*
|
|
6451
|
-
* @example
|
|
6452
|
-
* ```tsx
|
|
6453
|
-
* <Toggle aria-label="Bold">B</Toggle>
|
|
6454
|
-
* ```
|
|
6455
|
-
*/
|
|
6456
|
-
declare const Toggle: React.ForwardRefExoticComponent<Omit<ToggleProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
6457
|
-
interface ToggleProps extends Toggle$1.Props, VariantProps<typeof toggleVariants> {}
|
|
6458
|
-
declare namespace Toggle {
|
|
6459
|
-
type Props = ToggleProps;
|
|
6460
|
-
}
|
|
6461
|
-
//#endregion
|
|
6462
|
-
//#region src/components/toggle-group.d.ts
|
|
6463
|
-
/**
|
|
6464
|
-
* Root container grouping related toggle buttons, wrapping Base UI's `ToggleGroup`.
|
|
6465
|
-
* Renders a `<div role="group">` and shares `variant`, `size` and `spacing` with its
|
|
6466
|
-
* `ToggleGroupItem`s via context.
|
|
6467
|
-
*
|
|
6468
|
-
* @example
|
|
6469
|
-
* ```tsx
|
|
6470
|
-
* <ToggleGroup defaultValue={['left']}>
|
|
6471
|
-
* <ToggleGroupItem value="left">Left</ToggleGroupItem>
|
|
6472
|
-
* <ToggleGroupItem value="center">Center</ToggleGroupItem>
|
|
6473
|
-
* </ToggleGroup>
|
|
6474
|
-
* ```
|
|
6475
|
-
*/
|
|
6476
|
-
declare const ToggleGroup: React.ForwardRefExoticComponent<Omit<ToggleGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
6477
|
-
type ToggleGroupProps = ToggleGroup$1.Props & VariantProps<typeof toggleVariants> & {
|
|
6478
|
-
spacing?: number;
|
|
6479
|
-
orientation?: 'horizontal' | 'vertical';
|
|
6480
|
-
/**
|
|
6481
|
-
* Stretch the group to fill its container.
|
|
6482
|
-
*/
|
|
6483
|
-
block?: boolean;
|
|
6484
|
-
};
|
|
6485
|
-
declare namespace ToggleGroup {
|
|
6486
|
-
type Props = ToggleGroupProps;
|
|
6487
|
-
}
|
|
6488
|
-
/**
|
|
6489
|
-
* A single toggle button within a `ToggleGroup`, wrapping Base UI's `Toggle`.
|
|
6490
|
-
* Renders a `<button aria-pressed>` that inherits `variant` and `size` from the group context.
|
|
6491
|
-
*/
|
|
6492
|
-
declare const ToggleGroupItem: React.ForwardRefExoticComponent<Omit<ToggleGroupItemProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
6493
|
-
interface ToggleGroupItemProps extends Toggle$1.Props, VariantProps<typeof toggleVariants> {}
|
|
6494
|
-
declare namespace ToggleGroupItem {
|
|
6495
|
-
type Props = ToggleGroupItemProps;
|
|
6496
|
-
}
|
|
6497
|
-
//#endregion
|
|
6498
6754
|
//#region src/components/tree.d.ts
|
|
6499
6755
|
interface TreeProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
6500
6756
|
/** Pixel indentation applied per nesting level. Defaults to `20`. */
|
|
@@ -6635,7 +6891,7 @@ declare function useDsLocale(): string;
|
|
|
6635
6891
|
//#endregion
|
|
6636
6892
|
//#region src/i18n/keys.d.ts
|
|
6637
6893
|
/** All translation keys owned by the `ds` namespace. Flat dotted keys (keySeparator: false). */
|
|
6638
|
-
type DsI18nKey = 'spinner.loading' | 'pagination.label' | 'pagination.previousPage' | 'pagination.nextPage' | 'dataTable.selectAllRows' | 'dataTable.selectRow' | 'dataCombobox.noResults' | 'combobox.showOptions' | 'tree.collapse' | 'tree.expand' | 'multiselect.remove' | 'multiselect.clearAll' | 'multiselect.addItem' | 'multiselect.search' | 'combobox.toggleOptions' | 'combobox.clear' | 'sidebar.toggle' | 'drawer.close' | 'emojiPicker.emoji' | 'emojiPicker.choose' | 'actionBar.selectionActions' | 'pagination.previous' | 'pagination.next' | 'actionBar.clearSelection' | 'actionBar.itemsSelected' | 'actionBar.itemsSelected_plural' | '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';
|
|
6894
|
+
type DsI18nKey = 'spinner.loading' | 'pagination.label' | 'pagination.previousPage' | 'pagination.nextPage' | 'dataTable.selectAllRows' | 'dataTable.selectRow' | 'dataCombobox.noResults' | 'combobox.showOptions' | 'tree.collapse' | 'tree.expand' | 'multiselect.remove' | 'multiselect.clearAll' | 'multiselect.addItem' | 'multiselect.search' | 'combobox.toggleOptions' | 'combobox.clear' | 'sidebar.toggle' | 'drawer.close' | 'emojiPicker.emoji' | 'emojiPicker.choose' | 'actionBar.selectionActions' | 'pagination.previous' | 'pagination.next' | 'actionBar.clearSelection' | 'actionBar.itemsSelected' | 'actionBar.itemsSelected_plural' | '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' | 'colorPicker.trigger' | 'colorPicker.choose' | 'colorPicker.presets' | 'colorPicker.mode' | 'colorPicker.modePresets' | 'colorPicker.modeCustom' | 'colorPicker.charcoal' | 'colorPicker.green' | 'colorPicker.blue' | 'colorPicker.purple' | 'colorPicker.pink' | 'colorPicker.red' | 'colorPicker.yellow' | 'colorPicker.toneDark' | 'colorPicker.toneMediumDark' | 'colorPicker.toneMediumLight' | 'colorPicker.toneLight' | 'colorPicker.saturation' | 'colorPicker.hue' | 'colorPicker.hex' | 'colorPicker.areaValue';
|
|
6639
6895
|
/** A complete set of translations for one language. Missing a key is a compile error. */
|
|
6640
6896
|
type DsLocale = Record<DsI18nKey, string>;
|
|
6641
6897
|
//#endregion
|
|
@@ -6697,4 +6953,4 @@ declare function useAudioGauge(options?: UseAudioGaugeOptions): UseAudioGaugeRes
|
|
|
6697
6953
|
//#region src/lib/utils.d.ts
|
|
6698
6954
|
declare function cn(...inputs: ClassValue[]): string;
|
|
6699
6955
|
//#endregion
|
|
6700
|
-
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_SEARCH_THRESHOLD, 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, type ColumnPinningState, Combobox, 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, InlineEditMultiCombobox, InlineEditMultiComboboxChip, InlineEditMultiComboboxChips, InlineEditMultiComboboxContent, InlineEditMultiComboboxItem, InlineEditMultiComboboxTrigger, InlineEditMultiComboboxValue, 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, type VisibilityState, 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 };
|
|
6956
|
+
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_SEARCH_THRESHOLD, 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, ColorPicker, ColorPickerArea, ColorPickerContent, ColorPickerHexField, ColorPickerHue, type ColorPickerMode, ColorPickerModeToggle, ColorPickerPanel, type ColorPickerPreset, ColorPickerPresets, ColorPickerTrigger, type ColumnDef, type ColumnPinningState, Combobox, 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, InlineEditMultiCombobox, InlineEditMultiComboboxChip, InlineEditMultiComboboxChips, InlineEditMultiComboboxContent, InlineEditMultiComboboxItem, InlineEditMultiComboboxTrigger, InlineEditMultiComboboxValue, 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, LEGACY_COLOR_PRESETS, 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, type VisibilityState, 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 };
|