@aircall/ds 0.15.0 → 0.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.ts CHANGED
@@ -27,6 +27,8 @@ 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";
31
+ import { NumberField } from "@base-ui/react/number-field";
30
32
  import * as input_otp0 from "input-otp";
31
33
  import { OTPInput } from "input-otp";
32
34
  import { Progress as Progress$1 } from "@base-ui/react/progress";
@@ -38,7 +40,7 @@ import { Switch as Switch$1 } from "@base-ui/react/switch";
38
40
  import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
39
41
  import { Toggle as Toggle$1 } from "@base-ui/react/toggle";
40
42
  import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
41
- import * as class_variance_authority_types2 from "class-variance-authority/types";
43
+ import * as class_variance_authority_types5 from "class-variance-authority/types";
42
44
  import { CountryCode } from "@aircall/numbers";
43
45
 
44
46
  //#region src/components/accordion.d.ts
@@ -66,9 +68,9 @@ declare namespace AccordionContent {
66
68
  //#region src/components/button.d.ts
67
69
  declare const buttonVariants: (props?: ({
68
70
  variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
69
- size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
71
+ size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
70
72
  block?: boolean | null | undefined;
71
- } & class_variance_authority_types2.ClassProp) | undefined) => string;
73
+ } & class_variance_authority_types5.ClassProp) | undefined) => string;
72
74
  declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
73
75
  interface ButtonProps extends Button$1.Props, VariantProps<typeof buttonVariants> {
74
76
  children?: React.ReactNode;
@@ -189,8 +191,8 @@ declare namespace AlertDialogCancel {
189
191
  //#endregion
190
192
  //#region src/components/alert.d.ts
191
193
  declare const alertVariants: (props?: ({
192
- variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
193
- } & class_variance_authority_types2.ClassProp) | undefined) => string;
194
+ variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
195
+ } & class_variance_authority_types5.ClassProp) | undefined) => string;
194
196
  declare const Alert: React.ForwardRefExoticComponent<Omit<AlertProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
195
197
  interface AlertProps extends React.ComponentProps<'div'>, VariantProps<typeof alertVariants> {}
196
198
  declare namespace Alert {
@@ -249,7 +251,7 @@ declare namespace AvatarGroupCount {
249
251
  //#region src/components/counter-badge.d.ts
250
252
  declare const counterBadgeVariants: (props?: ({
251
253
  variant?: "default" | "secondary" | "ghost" | null | undefined;
252
- } & class_variance_authority_types2.ClassProp) | undefined) => string;
254
+ } & class_variance_authority_types5.ClassProp) | undefined) => string;
253
255
  declare const CounterBadge: React.ForwardRefExoticComponent<Omit<CounterBadgeProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
254
256
  type CounterBadgeProps = useRender.ComponentProps<'span'> & VariantProps<typeof counterBadgeVariants>;
255
257
  declare namespace CounterBadge {
@@ -261,7 +263,7 @@ declare const badgeVariants: (props?: ({
261
263
  size?: "default" | "lg" | null | undefined;
262
264
  color?: "blue" | "green" | "pink" | "purple" | "red" | "yellow" | "charcoal" | null | undefined;
263
265
  tone?: "dark" | "light" | "medium-dark" | "medium-light" | null | undefined;
264
- } & class_variance_authority_types2.ClassProp) | undefined) => string;
266
+ } & class_variance_authority_types5.ClassProp) | undefined) => string;
265
267
  type BadgeVariants = VariantProps<typeof badgeVariants>;
266
268
  type BadgeColor = NonNullable<BadgeVariants['color']>;
267
269
  type BadgeTone = NonNullable<BadgeVariants['tone']>;
@@ -293,7 +295,7 @@ declare namespace BadgeGroup {
293
295
  }
294
296
  declare const badgeGroupCountVariants: (props?: ({
295
297
  size?: "default" | "lg" | null | undefined;
296
- } & class_variance_authority_types2.ClassProp) | undefined) => string;
298
+ } & class_variance_authority_types5.ClassProp) | undefined) => string;
297
299
  declare const BadgeGroupCount: React.ForwardRefExoticComponent<Omit<BadgeGroupCount.Props, "ref"> & React.RefAttributes<HTMLSpanElement>>;
298
300
  declare namespace BadgeGroupCount {
299
301
  type Props = Omit<React.ComponentProps<typeof CounterBadge>, 'variant'> & VariantProps<typeof badgeGroupCountVariants>;
@@ -301,9 +303,9 @@ declare namespace BadgeGroupCount {
301
303
  //#endregion
302
304
  //#region src/components/banner.d.ts
303
305
  declare const bannerVariants: (props?: ({
304
- variant?: "default" | "info" | "success" | "warning" | "error" | null | undefined;
306
+ variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
305
307
  borderDirection?: "bottom" | "top" | null | undefined;
306
- } & class_variance_authority_types2.ClassProp) | undefined) => string;
308
+ } & class_variance_authority_types5.ClassProp) | undefined) => string;
307
309
  declare const Banner: React.ForwardRefExoticComponent<Omit<BannerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
308
310
  interface BannerProps extends React.ComponentProps<'div'>, VariantProps<typeof bannerVariants> {}
309
311
  declare namespace Banner {
@@ -384,7 +386,7 @@ declare namespace Separator {
384
386
  //#region src/components/button-group.d.ts
385
387
  declare const buttonGroupVariants: (props?: ({
386
388
  orientation?: "horizontal" | "vertical" | null | undefined;
387
- } & class_variance_authority_types2.ClassProp) | undefined) => string;
389
+ } & class_variance_authority_types5.ClassProp) | undefined) => string;
388
390
  declare const ButtonGroup: React.ForwardRefExoticComponent<Omit<ButtonGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
389
391
  interface ButtonGroupProps extends React.ComponentProps<'div'>, VariantProps<typeof buttonGroupVariants> {}
390
392
  declare namespace ButtonGroup {
@@ -538,7 +540,7 @@ declare const Chip: React.ForwardRefExoticComponent<Omit<ChipProps, "ref"> & Rea
538
540
  interface ChipProps extends Omit<Badge.Props, 'size' | 'render'> {
539
541
  color?: BadgeColor;
540
542
  tone?: BadgeTone;
541
- /** AI glow — a colored border + softly pulsing drop-shadow. */
543
+ /** AI glow — a colored outline + softly pulsing drop-shadow. */
542
544
  glow?: boolean;
543
545
  }
544
546
  declare namespace Chip {
@@ -1176,7 +1178,7 @@ declare namespace EmptyHeader {
1176
1178
  }
1177
1179
  declare const emptyMediaVariants: (props?: ({
1178
1180
  variant?: "default" | "icon" | null | undefined;
1179
- } & class_variance_authority_types2.ClassProp) | undefined) => string;
1181
+ } & class_variance_authority_types5.ClassProp) | undefined) => string;
1180
1182
  declare const EmptyMedia: React.ForwardRefExoticComponent<Omit<EmptyMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1181
1183
  interface EmptyMediaProps extends React.ComponentProps<'div'>, VariantProps<typeof emptyMediaVariants> {}
1182
1184
  declare namespace EmptyMedia {
@@ -1370,7 +1372,7 @@ declare namespace EmojiPickerContent {
1370
1372
  declare const fabVariants: (props?: ({
1371
1373
  variant?: "default" | "outline" | null | undefined;
1372
1374
  size?: "lg" | "icon-lg" | null | undefined;
1373
- } & class_variance_authority_types2.ClassProp) | undefined) => string;
1375
+ } & class_variance_authority_types5.ClassProp) | undefined) => string;
1374
1376
  declare const FAB: React.ForwardRefExoticComponent<Omit<FABProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1375
1377
  interface FABProps extends Button$1.Props, VariantProps<typeof fabVariants> {}
1376
1378
  declare namespace FAB {
@@ -1404,7 +1406,7 @@ declare namespace FieldGroup {
1404
1406
  }
1405
1407
  declare const fieldVariants: (props?: ({
1406
1408
  orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
1407
- } & class_variance_authority_types2.ClassProp) | undefined) => string;
1409
+ } & class_variance_authority_types5.ClassProp) | undefined) => string;
1408
1410
  declare const Field: React.ForwardRefExoticComponent<Omit<FieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1409
1411
  interface FieldProps extends React.ComponentProps<'div'>, VariantProps<typeof fieldVariants> {}
1410
1412
  declare namespace Field {
@@ -1415,8 +1417,35 @@ interface FieldContentProps extends React.ComponentProps<'div'> {}
1415
1417
  declare namespace FieldContent {
1416
1418
  type Props = FieldContentProps;
1417
1419
  }
1420
+ /**
1421
+ * Label for a field. Renders an `@aircall/ds` Label with field-layout styling, and optionally a
1422
+ * necessity indicator (a required `*` or `(optional)`/`(required)` text) after the label content.
1423
+ *
1424
+ * The visual `*` is `aria-hidden` with a paired `sr-only` "(required)" for screen readers; still
1425
+ * mark the control itself `required`/`aria-required`. With `necessityIndicator="label"` the marker
1426
+ * is readable text. Pick one indicator style per form to avoid clutter.
1427
+ *
1428
+ * @example
1429
+ * ```tsx
1430
+ * <FieldLabel required>Name</FieldLabel>
1431
+ * <FieldLabel required necessityIndicator="label">Email</FieldLabel>
1432
+ * ```
1433
+ */
1418
1434
  declare const FieldLabel: React.ForwardRefExoticComponent<Omit<FieldLabelProps, "ref"> & React.RefAttributes<HTMLLabelElement>>;
1419
- interface FieldLabelProps extends React.ComponentProps<typeof Label> {}
1435
+ interface FieldLabelProps extends React.ComponentProps<typeof Label> {
1436
+ /**
1437
+ * Whether the field is required. Controls the necessity indicator only (the `*` or the
1438
+ * `(required)`/`(optional)` text); enforce the rule on the control's own validation.
1439
+ * @default false
1440
+ */
1441
+ required?: boolean;
1442
+ /**
1443
+ * How necessity is shown: `icon` renders a `*` on required fields (nothing on optional);
1444
+ * `label` renders `(required)` or `(optional)` text on every field.
1445
+ * @default 'icon'
1446
+ */
1447
+ necessityIndicator?: 'icon' | 'label';
1448
+ }
1420
1449
  declare namespace FieldLabel {
1421
1450
  type Props = FieldLabelProps;
1422
1451
  }
@@ -1460,10 +1489,99 @@ declare namespace Gauge {
1460
1489
  type Props = GaugeProps;
1461
1490
  }
1462
1491
  //#endregion
1492
+ //#region src/components/hover-card.d.ts
1493
+ /**
1494
+ * Root container for the HoverCard. Manages open/close state.
1495
+ *
1496
+ * Renders no DOM element — wrap `HoverCardTrigger` and `HoverCardContent`
1497
+ * inside it.
1498
+ *
1499
+ * Supports both controlled (`open` + `onOpenChange`) and uncontrolled
1500
+ * (`defaultOpen`) modes.
1501
+ *
1502
+ * @example
1503
+ * ```tsx
1504
+ * <HoverCard>
1505
+ * <HoverCardTrigger render={<span />}>Hover me</HoverCardTrigger>
1506
+ * <HoverCardContent side="top">Details here</HoverCardContent>
1507
+ * </HoverCard>
1508
+ * ```
1509
+ */
1510
+ declare function HoverCard(componentProps: HoverCard.Props): react_jsx_runtime0.JSX.Element;
1511
+ interface HoverCardProps extends PreviewCard.Root.Props {}
1512
+ declare namespace HoverCard {
1513
+ type Props = HoverCardProps;
1514
+ }
1515
+ /**
1516
+ * The element that triggers the HoverCard on hover or focus.
1517
+ *
1518
+ * Renders an `<a>` element by default. Use the `render` prop to swap in any
1519
+ * other element or component:
1520
+ *
1521
+ * ```tsx
1522
+ * <HoverCardTrigger render={<span className="cursor-help" />}>
1523
+ * <InfoIcon size={16} />
1524
+ * </HoverCardTrigger>
1525
+ * ```
1526
+ *
1527
+ * @prop delay - Milliseconds to wait before opening. Default: `400`.
1528
+ * @prop closeDelay - Milliseconds to wait before closing after the cursor
1529
+ * leaves both the trigger and the content. Default: `300`.
1530
+ * @prop render - Replace the default `<a>` with any element or component.
1531
+ */
1532
+ declare const HoverCardTrigger: React.ForwardRefExoticComponent<Omit<HoverCardTriggerProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
1533
+ interface HoverCardTriggerProps extends PreviewCard.Trigger.Props {
1534
+ /**
1535
+ * Milliseconds to wait before opening the card after the cursor enters the
1536
+ * trigger. Tune this to avoid flickering on accidental hover.
1537
+ * @default 400
1538
+ */
1539
+ delay?: number;
1540
+ /**
1541
+ * Milliseconds to wait before closing the card after the cursor leaves both
1542
+ * the trigger and the card content. A non-zero value gives users time to
1543
+ * move the cursor into the card content without it closing.
1544
+ * @default 300
1545
+ */
1546
+ closeDelay?: number;
1547
+ }
1548
+ declare namespace HoverCardTrigger {
1549
+ type Props = HoverCardTriggerProps;
1550
+ }
1551
+ /**
1552
+ * The floating panel shown when the trigger is hovered or focused.
1553
+ *
1554
+ * Composes `PreviewCard.Portal → PreviewCard.Positioner → PreviewCard.Popup`
1555
+ * into a single consumer-facing part. Pass positioning props (`side`,
1556
+ * `sideOffset`, `align`, `alignOffset`) directly — they are forwarded to the
1557
+ * positioner. All other props (including `className`) go to the popup element.
1558
+ *
1559
+ * The card stays open while the cursor is inside it, giving users time to
1560
+ * interact with the content before it dismisses.
1561
+ *
1562
+ * @prop side - Which side of the trigger to place the card. Default: `'bottom'`.
1563
+ * @prop sideOffset - Gap in pixels between the trigger and the card. Default: `8`.
1564
+ * @prop align - Alignment along the cross-axis. Default: `'center'`.
1565
+ * @prop alignOffset - Offset in pixels along the cross-axis. Default: `0`.
1566
+ *
1567
+ * @example
1568
+ * ```tsx
1569
+ * <HoverCardContent side="top" align="start" className="max-w-[280px]">
1570
+ * <p className="text-sm font-bold">Title</p>
1571
+ * <p className="text-sm text-muted-foreground">Description</p>
1572
+ * </HoverCardContent>
1573
+ * ```
1574
+ */
1575
+ declare const HoverCardContent: React.ForwardRefExoticComponent<Omit<HoverCardContentProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1576
+ interface HoverCardContentProps extends PreviewCard.Popup.Props, Pick<PreviewCard.Positioner.Props, 'side' | 'sideOffset' | 'align' | 'alignOffset'> {}
1577
+ declare namespace HoverCardContent {
1578
+ type Props = HoverCardContentProps;
1579
+ }
1580
+ //#endregion
1463
1581
  //#region src/components/input.d.ts
1464
1582
  declare const inputVariants: (props?: ({
1465
1583
  block?: boolean | null | undefined;
1466
- } & class_variance_authority_types2.ClassProp) | undefined) => string;
1584
+ } & class_variance_authority_types5.ClassProp) | undefined) => string;
1467
1585
  declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
1468
1586
  interface InputProps extends React.ComponentProps<'input'>, VariantProps<typeof inputVariants> {}
1469
1587
  declare namespace Input {
@@ -1478,7 +1596,7 @@ declare namespace InputGroup {
1478
1596
  }
1479
1597
  declare const inputGroupAddonVariants: (props?: ({
1480
1598
  align?: "block-end" | "block-start" | "inline-end" | "inline-start" | null | undefined;
1481
- } & class_variance_authority_types2.ClassProp) | undefined) => string;
1599
+ } & class_variance_authority_types5.ClassProp) | undefined) => string;
1482
1600
  declare const InputGroupAddon: React.ForwardRefExoticComponent<Omit<InputGroupAddonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1483
1601
  interface InputGroupAddonProps extends React.ComponentProps<'div'>, VariantProps<typeof inputGroupAddonVariants> {}
1484
1602
  declare namespace InputGroupAddon {
@@ -1505,8 +1623,94 @@ declare namespace InputGroupTextarea {
1505
1623
  type Props = InputGroupTextareaProps;
1506
1624
  }
1507
1625
  //#endregion
1626
+ //#region src/components/numeric-input.d.ts
1627
+ /**
1628
+ * Locale-aware numeric input. Renders a bordered group `<div>` styled like
1629
+ * `InputGroup` (it IS the group — do not nest it inside an `InputGroup`).
1630
+ *
1631
+ * Two modes:
1632
+ * - **Convenience** (no children): renders `prefix`/`suffix` affixes, the input,
1633
+ * and `−`/`+` steppers (steppers shown unless `hideStepper`).
1634
+ * - **Compound** (children): caller composes `NumericInputControl`,
1635
+ * `NumericInputIncrement`, `NumericInputDecrement`, and `InputGroupAddon`.
1636
+ * In compound mode, the visual invalid halo (red border/ring) follows the inner control's
1637
+ * `aria-invalid` (or DS `Field` state), NOT the `aria-invalid` on `NumericInput` itself.
1638
+ *
1639
+ * Formatting is delegated to Base UI's `format` (`Intl.NumberFormatOptions`) and
1640
+ * `locale` props. `locale` defaults to the DS i18n active language.
1641
+ *
1642
+ * @example
1643
+ * ```tsx
1644
+ * <NumericInput aria-label="Amount" defaultValue={10}
1645
+ * format={{ style: 'currency', currency: 'EUR' }} prefix="€" suffix="EUR" />
1646
+ * ```
1647
+ */
1648
+ declare const NumericInput: React.ForwardRefExoticComponent<Omit<NumericInputProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1649
+ type NumericInputProps = Omit<NumberField.Root.Props, 'prefix'> & {
1650
+ /** Element rendered before the input (inline-start affix). Convenience mode only. @default undefined */prefix?: React.ReactNode; /** Element rendered after the input (inline-end affix). Convenience mode only. @default undefined */
1651
+ suffix?: React.ReactNode;
1652
+ /**
1653
+ * Hide the −/+ stepper buttons. Convenience mode only — in compound mode the
1654
+ * caller owns the stepper layout by composing `NumericInputDecrement`/`NumericInputIncrement`.
1655
+ * @default false
1656
+ */
1657
+ hideStepper?: boolean;
1658
+ /**
1659
+ * Locale used by `Intl.NumberFormat` for formatting and parsing. Defaults to
1660
+ * the DS i18n active language (driven by `DsI18nProvider`).
1661
+ * @default DS i18n active language
1662
+ */
1663
+ locale?: Intl.LocalesArgument;
1664
+ };
1665
+ declare namespace NumericInput {
1666
+ type Props = NumericInputProps;
1667
+ }
1668
+ /**
1669
+ * The text input part. Renders a bare `<input>` (direct child of `NumericInput`)
1670
+ * carrying `data-slot="input-group-control"` so the shell's focus halo applies.
1671
+ * The input's `aria-label` deliberately overrides the group's label for the input control.
1672
+ *
1673
+ * @example
1674
+ * ```tsx
1675
+ * <NumericInput aria-label="Quantity" defaultValue={1}>
1676
+ * <NumericInputControl aria-label="Quantity value" />
1677
+ * </NumericInput>
1678
+ * ```
1679
+ */
1680
+ declare const NumericInputControl: React.ForwardRefExoticComponent<Omit<NumericInputControlProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
1681
+ interface NumericInputControlProps extends NumberField.Input.Props {}
1682
+ declare namespace NumericInputControl {
1683
+ type Props = NumericInputControlProps;
1684
+ }
1685
+ /**
1686
+ * Increment button. Defaults to a plus icon; pass children to override.
1687
+ *
1688
+ * @example
1689
+ * ```tsx
1690
+ * <NumericInputIncrement />
1691
+ * ```
1692
+ */
1693
+ declare const NumericInputIncrement: React.ForwardRefExoticComponent<Omit<NumericInputIncrementProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1694
+ interface NumericInputIncrementProps extends NumberField.Increment.Props {}
1695
+ declare namespace NumericInputIncrement {
1696
+ type Props = NumericInputIncrementProps;
1697
+ }
1698
+ /**
1699
+ * Decrement button. Defaults to a minus icon; pass children to override.
1700
+ *
1701
+ * @example
1702
+ * ```tsx
1703
+ * <NumericInputDecrement />
1704
+ * ```
1705
+ */
1706
+ declare const NumericInputDecrement: React.ForwardRefExoticComponent<Omit<NumericInputDecrementProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1707
+ interface NumericInputDecrementProps extends NumberField.Decrement.Props {}
1708
+ declare namespace NumericInputDecrement {
1709
+ type Props = NumericInputDecrementProps;
1710
+ }
1711
+ //#endregion
1508
1712
  //#region src/components/input-otp.d.ts
1509
- declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
1713
+ declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
1510
1714
  value?: string;
1511
1715
  onChange?: (newValue: string) => unknown;
1512
1716
  maxLength: number;
@@ -1521,7 +1725,7 @@ declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHT
1521
1725
  children?: never;
1522
1726
  } & React.RefAttributes<HTMLInputElement> & {
1523
1727
  containerClassName?: string;
1524
- }, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "value" | "onChange" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
1728
+ }, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
1525
1729
  value?: string;
1526
1730
  onChange?: (newValue: string) => unknown;
1527
1731
  maxLength: number;
@@ -1577,7 +1781,7 @@ declare namespace ItemSeparator {
1577
1781
  declare const itemVariants: (props?: ({
1578
1782
  variant?: "default" | "outline" | "muted" | null | undefined;
1579
1783
  size?: "default" | "sm" | "xs" | null | undefined;
1580
- } & class_variance_authority_types2.ClassProp) | undefined) => string;
1784
+ } & class_variance_authority_types5.ClassProp) | undefined) => string;
1581
1785
  declare const Item: React.ForwardRefExoticComponent<Omit<ItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1582
1786
  interface ItemProps extends useRender.ComponentProps<'div'>, VariantProps<typeof itemVariants> {}
1583
1787
  declare namespace Item {
@@ -1585,7 +1789,7 @@ declare namespace Item {
1585
1789
  }
1586
1790
  declare const itemMediaVariants: (props?: ({
1587
1791
  variant?: "image" | "default" | "icon" | null | undefined;
1588
- } & class_variance_authority_types2.ClassProp) | undefined) => string;
1792
+ } & class_variance_authority_types5.ClassProp) | undefined) => string;
1589
1793
  declare const ItemMedia: React.ForwardRefExoticComponent<Omit<ItemMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1590
1794
  interface ItemMediaProps extends React.ComponentProps<'div'>, VariantProps<typeof itemMediaVariants> {}
1591
1795
  declare namespace ItemMedia {
@@ -1622,6 +1826,33 @@ declare namespace ItemFooter {
1622
1826
  type Props = ItemFooterProps;
1623
1827
  }
1624
1828
  //#endregion
1829
+ //#region src/components/anchor.d.ts
1830
+ declare const anchorVariants: string;
1831
+ /**
1832
+ * Renders an `<a>` element styled as a text link. Use instead of
1833
+ * `<Button variant="link" render={<a>}>` for any navigational action.
1834
+ *
1835
+ * For in-app routing pass your router's link component via the `render` prop —
1836
+ * the DS styles are applied to whatever element you provide.
1837
+ *
1838
+ * @example
1839
+ * ```tsx
1840
+ * // External link
1841
+ * <Anchor href="https://aircall.io" target="_blank" rel="noopener noreferrer">
1842
+ * Visit Aircall <ExternalLink />
1843
+ * </Anchor>
1844
+ *
1845
+ * // React Router in-app navigation
1846
+ * import { Link } from 'react-router-dom';
1847
+ * <Anchor render={<Link to="/settings" />}>Settings</Anchor>
1848
+ * ```
1849
+ */
1850
+ declare const Anchor: React.ForwardRefExoticComponent<Omit<AnchorProps, "ref"> & React.RefAttributes<HTMLAnchorElement>>;
1851
+ interface AnchorProps extends useRender.ComponentProps<'a'> {}
1852
+ declare namespace Anchor {
1853
+ type Props = AnchorProps;
1854
+ }
1855
+ //#endregion
1625
1856
  //#region src/components/list.d.ts
1626
1857
  declare const List: React.ForwardRefExoticComponent<ListProps & React.RefAttributes<HTMLDivElement>>;
1627
1858
  interface ListProps extends React.HTMLAttributes<HTMLDivElement> {
@@ -1747,7 +1978,7 @@ declare namespace ScrollBar {
1747
1978
  //#region src/components/select.d.ts
1748
1979
  declare const selectTriggerVariants: (props?: ({
1749
1980
  size?: "default" | "sm" | null | undefined;
1750
- } & class_variance_authority_types2.ClassProp) | undefined) => string;
1981
+ } & class_variance_authority_types5.ClassProp) | undefined) => string;
1751
1982
  declare const Select: typeof Select$1.Root;
1752
1983
  declare const SelectGroup: React.ForwardRefExoticComponent<Omit<SelectGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
1753
1984
  interface SelectGroupProps extends Select$1.Group.Props {}
@@ -1972,7 +2203,7 @@ declare namespace SidebarMenuItem {
1972
2203
  declare const sidebarMenuButtonVariants: (props?: ({
1973
2204
  variant?: "default" | "outline" | null | undefined;
1974
2205
  size?: "default" | "sm" | "lg" | null | undefined;
1975
- } & class_variance_authority_types2.ClassProp) | undefined) => string;
2206
+ } & class_variance_authority_types5.ClassProp) | undefined) => string;
1976
2207
  declare const SidebarMenuButton: React.ForwardRefExoticComponent<Omit<SidebarMenuButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
1977
2208
  type SidebarMenuButtonProps = useRender.ComponentProps<'button'> & React.ComponentProps<'button'> & VariantProps<typeof sidebarMenuButtonVariants> & {
1978
2209
  isActive?: boolean;
@@ -2044,7 +2275,7 @@ declare namespace Toaster {
2044
2275
  //#region src/components/spinner.d.ts
2045
2276
  declare const spinnerVariants: (props?: ({
2046
2277
  size?: "default" | "sm" | "lg" | "xl" | null | undefined;
2047
- } & class_variance_authority_types2.ClassProp) | undefined) => string;
2278
+ } & class_variance_authority_types5.ClassProp) | undefined) => string;
2048
2279
  declare const Spinner: React.ForwardRefExoticComponent<Omit<SpinnerProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
2049
2280
  interface SpinnerProps extends React.ComponentProps<'svg'>, VariantProps<typeof spinnerVariants> {}
2050
2281
  declare namespace Spinner {
@@ -2188,7 +2419,7 @@ declare namespace ThemeProvider {
2188
2419
  declare const toggleVariants: (props?: ({
2189
2420
  variant?: "default" | "outline" | null | undefined;
2190
2421
  size?: "default" | "sm" | "lg" | null | undefined;
2191
- } & class_variance_authority_types2.ClassProp) | undefined) => string;
2422
+ } & class_variance_authority_types5.ClassProp) | undefined) => string;
2192
2423
  declare const Toggle: React.ForwardRefExoticComponent<Omit<ToggleProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
2193
2424
  interface ToggleProps extends Toggle$1.Props, VariantProps<typeof toggleVariants> {}
2194
2425
  declare namespace Toggle {
@@ -2335,7 +2566,7 @@ declare function useDsTranslation(ns: 'ds' | 'blocks'): (key: string, opts?: Rec
2335
2566
  //#endregion
2336
2567
  //#region src/i18n/keys.d.ts
2337
2568
  /** All translation keys owned by the `ds` namespace. Flat dotted keys (keySeparator: false). */
2338
- type DsI18nKey = 'spinner.loading' | 'pagination.label' | 'pagination.previousPage' | 'pagination.nextPage' | 'dataTable.selectAllRows' | 'dataTable.selectRow' | 'tree.collapse' | 'tree.expand' | 'multiselect.remove' | 'multiselect.clearAll' | 'sidebar.toggle' | 'drawer.close' | 'emojiPicker.emoji' | 'emojiPicker.choose' | 'actionBar.selectionActions' | 'pagination.previous' | 'pagination.next' | 'actionBar.clearSelection' | 'actionBar.itemsSelected';
2569
+ type DsI18nKey = 'spinner.loading' | 'pagination.label' | 'pagination.previousPage' | 'pagination.nextPage' | 'dataTable.selectAllRows' | 'dataTable.selectRow' | 'tree.collapse' | 'tree.expand' | 'multiselect.remove' | 'multiselect.clearAll' | 'sidebar.toggle' | 'drawer.close' | 'emojiPicker.emoji' | 'emojiPicker.choose' | 'actionBar.selectionActions' | 'pagination.previous' | 'pagination.next' | 'actionBar.clearSelection' | 'actionBar.itemsSelected' | 'fieldLabel.required' | 'fieldLabel.optional';
2339
2570
  /** A complete set of translations for one language. Missing a key is a compile error. */
2340
2571
  type DsLocale = Record<DsI18nKey, string>;
2341
2572
  //#endregion
@@ -2397,4 +2628,4 @@ declare function useAudioGauge(options?: UseAudioGaugeOptions): UseAudioGaugeRes
2397
2628
  //#region src/lib/utils.d.ts
2398
2629
  declare function cn(...inputs: ClassValue[]): string;
2399
2630
  //#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 };
2631
+ 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, NumericInput, NumericInputControl, NumericInputDecrement, NumericInputIncrement, type OnChangeFn, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, 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 };