@aircall/ds 0.16.1 → 0.17.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/globals.css +1 -1
- package/dist/index.d.ts +141 -25
- package/dist/index.js +252 -13
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ 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
30
|
import { PreviewCard } from "@base-ui/react/preview-card";
|
|
31
|
+
import { NumberField } from "@base-ui/react/number-field";
|
|
31
32
|
import * as input_otp0 from "input-otp";
|
|
32
33
|
import { OTPInput } from "input-otp";
|
|
33
34
|
import { Progress as Progress$1 } from "@base-ui/react/progress";
|
|
@@ -39,7 +40,7 @@ import { Switch as Switch$1 } from "@base-ui/react/switch";
|
|
|
39
40
|
import { Tabs as Tabs$1 } from "@base-ui/react/tabs";
|
|
40
41
|
import { Toggle as Toggle$1 } from "@base-ui/react/toggle";
|
|
41
42
|
import { ToggleGroup as ToggleGroup$1 } from "@base-ui/react/toggle-group";
|
|
42
|
-
import * as
|
|
43
|
+
import * as class_variance_authority_types3 from "class-variance-authority/types";
|
|
43
44
|
import { CountryCode } from "@aircall/numbers";
|
|
44
45
|
|
|
45
46
|
//#region src/components/accordion.d.ts
|
|
@@ -67,9 +68,9 @@ declare namespace AccordionContent {
|
|
|
67
68
|
//#region src/components/button.d.ts
|
|
68
69
|
declare const buttonVariants: (props?: ({
|
|
69
70
|
variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
70
|
-
size?: "default" | "
|
|
71
|
+
size?: "default" | "icon" | "sm" | "lg" | "icon-sm" | "icon-lg" | null | undefined;
|
|
71
72
|
block?: boolean | null | undefined;
|
|
72
|
-
} &
|
|
73
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
73
74
|
declare const Button: React.ForwardRefExoticComponent<Omit<ButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
74
75
|
interface ButtonProps extends Button$1.Props, VariantProps<typeof buttonVariants> {
|
|
75
76
|
children?: React.ReactNode;
|
|
@@ -191,7 +192,7 @@ declare namespace AlertDialogCancel {
|
|
|
191
192
|
//#region src/components/alert.d.ts
|
|
192
193
|
declare const alertVariants: (props?: ({
|
|
193
194
|
variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
194
|
-
} &
|
|
195
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
195
196
|
declare const Alert: React.ForwardRefExoticComponent<Omit<AlertProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
196
197
|
interface AlertProps extends React.ComponentProps<'div'>, VariantProps<typeof alertVariants> {}
|
|
197
198
|
declare namespace Alert {
|
|
@@ -250,7 +251,7 @@ declare namespace AvatarGroupCount {
|
|
|
250
251
|
//#region src/components/counter-badge.d.ts
|
|
251
252
|
declare const counterBadgeVariants: (props?: ({
|
|
252
253
|
variant?: "default" | "secondary" | "ghost" | null | undefined;
|
|
253
|
-
} &
|
|
254
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
254
255
|
declare const CounterBadge: React.ForwardRefExoticComponent<Omit<CounterBadgeProps, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
255
256
|
type CounterBadgeProps = useRender.ComponentProps<'span'> & VariantProps<typeof counterBadgeVariants>;
|
|
256
257
|
declare namespace CounterBadge {
|
|
@@ -262,7 +263,7 @@ declare const badgeVariants: (props?: ({
|
|
|
262
263
|
size?: "default" | "lg" | null | undefined;
|
|
263
264
|
color?: "blue" | "green" | "pink" | "purple" | "red" | "yellow" | "charcoal" | null | undefined;
|
|
264
265
|
tone?: "dark" | "light" | "medium-dark" | "medium-light" | null | undefined;
|
|
265
|
-
} &
|
|
266
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
266
267
|
type BadgeVariants = VariantProps<typeof badgeVariants>;
|
|
267
268
|
type BadgeColor = NonNullable<BadgeVariants['color']>;
|
|
268
269
|
type BadgeTone = NonNullable<BadgeVariants['tone']>;
|
|
@@ -294,7 +295,7 @@ declare namespace BadgeGroup {
|
|
|
294
295
|
}
|
|
295
296
|
declare const badgeGroupCountVariants: (props?: ({
|
|
296
297
|
size?: "default" | "lg" | null | undefined;
|
|
297
|
-
} &
|
|
298
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
298
299
|
declare const BadgeGroupCount: React.ForwardRefExoticComponent<Omit<BadgeGroupCount.Props, "ref"> & React.RefAttributes<HTMLSpanElement>>;
|
|
299
300
|
declare namespace BadgeGroupCount {
|
|
300
301
|
type Props = Omit<React.ComponentProps<typeof CounterBadge>, 'variant'> & VariantProps<typeof badgeGroupCountVariants>;
|
|
@@ -304,7 +305,7 @@ declare namespace BadgeGroupCount {
|
|
|
304
305
|
declare const bannerVariants: (props?: ({
|
|
305
306
|
variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
|
|
306
307
|
borderDirection?: "bottom" | "top" | null | undefined;
|
|
307
|
-
} &
|
|
308
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
308
309
|
declare const Banner: React.ForwardRefExoticComponent<Omit<BannerProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
309
310
|
interface BannerProps extends React.ComponentProps<'div'>, VariantProps<typeof bannerVariants> {}
|
|
310
311
|
declare namespace Banner {
|
|
@@ -385,7 +386,7 @@ declare namespace Separator {
|
|
|
385
386
|
//#region src/components/button-group.d.ts
|
|
386
387
|
declare const buttonGroupVariants: (props?: ({
|
|
387
388
|
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
388
|
-
} &
|
|
389
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
389
390
|
declare const ButtonGroup: React.ForwardRefExoticComponent<Omit<ButtonGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
390
391
|
interface ButtonGroupProps extends React.ComponentProps<'div'>, VariantProps<typeof buttonGroupVariants> {}
|
|
391
392
|
declare namespace ButtonGroup {
|
|
@@ -1177,7 +1178,7 @@ declare namespace EmptyHeader {
|
|
|
1177
1178
|
}
|
|
1178
1179
|
declare const emptyMediaVariants: (props?: ({
|
|
1179
1180
|
variant?: "default" | "icon" | null | undefined;
|
|
1180
|
-
} &
|
|
1181
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
1181
1182
|
declare const EmptyMedia: React.ForwardRefExoticComponent<Omit<EmptyMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1182
1183
|
interface EmptyMediaProps extends React.ComponentProps<'div'>, VariantProps<typeof emptyMediaVariants> {}
|
|
1183
1184
|
declare namespace EmptyMedia {
|
|
@@ -1371,7 +1372,7 @@ declare namespace EmojiPickerContent {
|
|
|
1371
1372
|
declare const fabVariants: (props?: ({
|
|
1372
1373
|
variant?: "default" | "outline" | null | undefined;
|
|
1373
1374
|
size?: "lg" | "icon-lg" | null | undefined;
|
|
1374
|
-
} &
|
|
1375
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
1375
1376
|
declare const FAB: React.ForwardRefExoticComponent<Omit<FABProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1376
1377
|
interface FABProps extends Button$1.Props, VariantProps<typeof fabVariants> {}
|
|
1377
1378
|
declare namespace FAB {
|
|
@@ -1405,7 +1406,7 @@ declare namespace FieldGroup {
|
|
|
1405
1406
|
}
|
|
1406
1407
|
declare const fieldVariants: (props?: ({
|
|
1407
1408
|
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
1408
|
-
} &
|
|
1409
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
1409
1410
|
declare const Field: React.ForwardRefExoticComponent<Omit<FieldProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1410
1411
|
interface FieldProps extends React.ComponentProps<'div'>, VariantProps<typeof fieldVariants> {}
|
|
1411
1412
|
declare namespace Field {
|
|
@@ -1416,8 +1417,37 @@ interface FieldContentProps extends React.ComponentProps<'div'> {}
|
|
|
1416
1417
|
declare namespace FieldContent {
|
|
1417
1418
|
type Props = FieldContentProps;
|
|
1418
1419
|
}
|
|
1420
|
+
/**
|
|
1421
|
+
* Label for a field. Renders an `@aircall/ds` Label with field-layout styling, plus an optional
|
|
1422
|
+
* necessity marker — `(required)` or `(optional)` text — after the label content.
|
|
1423
|
+
*
|
|
1424
|
+
* Per Aircall form conventions, **mark the exceptions, not the rule**: in a mostly-mandatory form
|
|
1425
|
+
* tag the few optional fields with `necessityIndicator="optional"`; in a mostly-optional form tag
|
|
1426
|
+
* the few mandatory fields with `necessityIndicator="required"`. Leave it unset when every field
|
|
1427
|
+
* shares the same necessity (the common case). Never mix the two markers in one form. The marker
|
|
1428
|
+
* is readable text — the asterisk (`*`) is intentionally **not** a necessity marker.
|
|
1429
|
+
*
|
|
1430
|
+
* The marker is presentational — set the control's own `required`/`aria-required` for semantics.
|
|
1431
|
+
*
|
|
1432
|
+
* @example
|
|
1433
|
+
* ```tsx
|
|
1434
|
+
* <FieldLabel>Name</FieldLabel>
|
|
1435
|
+
* <FieldLabel necessityIndicator="optional">Nickname</FieldLabel>
|
|
1436
|
+
* ```
|
|
1437
|
+
*/
|
|
1419
1438
|
declare const FieldLabel: React.ForwardRefExoticComponent<Omit<FieldLabelProps, "ref"> & React.RefAttributes<HTMLLabelElement>>;
|
|
1420
|
-
interface FieldLabelProps extends React.ComponentProps<typeof Label> {
|
|
1439
|
+
interface FieldLabelProps extends React.ComponentProps<typeof Label> {
|
|
1440
|
+
/**
|
|
1441
|
+
* Necessity marker shown after the label: `'required'` renders `(required)`, `'optional'`
|
|
1442
|
+
* renders `(optional)`. Omit for no marker (the default, and the common case).
|
|
1443
|
+
*
|
|
1444
|
+
* Follow "mark the exceptions": tag only the minority necessity in a form (e.g. the lone
|
|
1445
|
+
* optional field in an otherwise-mandatory form), and never mix `'required'` and `'optional'`
|
|
1446
|
+
* in the same form. Presentational only — set the control's own `required`/`aria-required`.
|
|
1447
|
+
* @default undefined
|
|
1448
|
+
*/
|
|
1449
|
+
necessityIndicator?: 'required' | 'optional';
|
|
1450
|
+
}
|
|
1421
1451
|
declare namespace FieldLabel {
|
|
1422
1452
|
type Props = FieldLabelProps;
|
|
1423
1453
|
}
|
|
@@ -1553,7 +1583,7 @@ declare namespace HoverCardContent {
|
|
|
1553
1583
|
//#region src/components/input.d.ts
|
|
1554
1584
|
declare const inputVariants: (props?: ({
|
|
1555
1585
|
block?: boolean | null | undefined;
|
|
1556
|
-
} &
|
|
1586
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
1557
1587
|
declare const Input: React.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1558
1588
|
interface InputProps extends React.ComponentProps<'input'>, VariantProps<typeof inputVariants> {}
|
|
1559
1589
|
declare namespace Input {
|
|
@@ -1568,7 +1598,7 @@ declare namespace InputGroup {
|
|
|
1568
1598
|
}
|
|
1569
1599
|
declare const inputGroupAddonVariants: (props?: ({
|
|
1570
1600
|
align?: "block-end" | "block-start" | "inline-end" | "inline-start" | null | undefined;
|
|
1571
|
-
} &
|
|
1601
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
1572
1602
|
declare const InputGroupAddon: React.ForwardRefExoticComponent<Omit<InputGroupAddonProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1573
1603
|
interface InputGroupAddonProps extends React.ComponentProps<'div'>, VariantProps<typeof inputGroupAddonVariants> {}
|
|
1574
1604
|
declare namespace InputGroupAddon {
|
|
@@ -1595,8 +1625,94 @@ declare namespace InputGroupTextarea {
|
|
|
1595
1625
|
type Props = InputGroupTextareaProps;
|
|
1596
1626
|
}
|
|
1597
1627
|
//#endregion
|
|
1628
|
+
//#region src/components/numeric-input.d.ts
|
|
1629
|
+
/**
|
|
1630
|
+
* Locale-aware numeric input. Renders a bordered group `<div>` styled like
|
|
1631
|
+
* `InputGroup` (it IS the group — do not nest it inside an `InputGroup`).
|
|
1632
|
+
*
|
|
1633
|
+
* Two modes:
|
|
1634
|
+
* - **Convenience** (no children): renders `prefix`/`suffix` affixes, the input,
|
|
1635
|
+
* and `−`/`+` steppers (steppers shown unless `hideStepper`).
|
|
1636
|
+
* - **Compound** (children): caller composes `NumericInputControl`,
|
|
1637
|
+
* `NumericInputIncrement`, `NumericInputDecrement`, and `InputGroupAddon`.
|
|
1638
|
+
* In compound mode, the visual invalid halo (red border/ring) follows the inner control's
|
|
1639
|
+
* `aria-invalid` (or DS `Field` state), NOT the `aria-invalid` on `NumericInput` itself.
|
|
1640
|
+
*
|
|
1641
|
+
* Formatting is delegated to Base UI's `format` (`Intl.NumberFormatOptions`) and
|
|
1642
|
+
* `locale` props. `locale` defaults to the DS i18n active language.
|
|
1643
|
+
*
|
|
1644
|
+
* @example
|
|
1645
|
+
* ```tsx
|
|
1646
|
+
* <NumericInput aria-label="Amount" defaultValue={10}
|
|
1647
|
+
* format={{ style: 'currency', currency: 'EUR' }} prefix="€" suffix="EUR" />
|
|
1648
|
+
* ```
|
|
1649
|
+
*/
|
|
1650
|
+
declare const NumericInput: React.ForwardRefExoticComponent<Omit<NumericInputProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1651
|
+
type NumericInputProps = Omit<NumberField.Root.Props, 'prefix'> & {
|
|
1652
|
+
/** 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 */
|
|
1653
|
+
suffix?: React.ReactNode;
|
|
1654
|
+
/**
|
|
1655
|
+
* Hide the −/+ stepper buttons. Convenience mode only — in compound mode the
|
|
1656
|
+
* caller owns the stepper layout by composing `NumericInputDecrement`/`NumericInputIncrement`.
|
|
1657
|
+
* @default false
|
|
1658
|
+
*/
|
|
1659
|
+
hideStepper?: boolean;
|
|
1660
|
+
/**
|
|
1661
|
+
* Locale used by `Intl.NumberFormat` for formatting and parsing. Defaults to
|
|
1662
|
+
* the DS i18n active language (driven by `DsI18nProvider`).
|
|
1663
|
+
* @default DS i18n active language
|
|
1664
|
+
*/
|
|
1665
|
+
locale?: Intl.LocalesArgument;
|
|
1666
|
+
};
|
|
1667
|
+
declare namespace NumericInput {
|
|
1668
|
+
type Props = NumericInputProps;
|
|
1669
|
+
}
|
|
1670
|
+
/**
|
|
1671
|
+
* The text input part. Renders a bare `<input>` (direct child of `NumericInput`)
|
|
1672
|
+
* carrying `data-slot="input-group-control"` so the shell's focus halo applies.
|
|
1673
|
+
* The input's `aria-label` deliberately overrides the group's label for the input control.
|
|
1674
|
+
*
|
|
1675
|
+
* @example
|
|
1676
|
+
* ```tsx
|
|
1677
|
+
* <NumericInput aria-label="Quantity" defaultValue={1}>
|
|
1678
|
+
* <NumericInputControl aria-label="Quantity value" />
|
|
1679
|
+
* </NumericInput>
|
|
1680
|
+
* ```
|
|
1681
|
+
*/
|
|
1682
|
+
declare const NumericInputControl: React.ForwardRefExoticComponent<Omit<NumericInputControlProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
|
|
1683
|
+
interface NumericInputControlProps extends NumberField.Input.Props {}
|
|
1684
|
+
declare namespace NumericInputControl {
|
|
1685
|
+
type Props = NumericInputControlProps;
|
|
1686
|
+
}
|
|
1687
|
+
/**
|
|
1688
|
+
* Increment button. Defaults to a plus icon; pass children to override.
|
|
1689
|
+
*
|
|
1690
|
+
* @example
|
|
1691
|
+
* ```tsx
|
|
1692
|
+
* <NumericInputIncrement />
|
|
1693
|
+
* ```
|
|
1694
|
+
*/
|
|
1695
|
+
declare const NumericInputIncrement: React.ForwardRefExoticComponent<Omit<NumericInputIncrementProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1696
|
+
interface NumericInputIncrementProps extends NumberField.Increment.Props {}
|
|
1697
|
+
declare namespace NumericInputIncrement {
|
|
1698
|
+
type Props = NumericInputIncrementProps;
|
|
1699
|
+
}
|
|
1700
|
+
/**
|
|
1701
|
+
* Decrement button. Defaults to a minus icon; pass children to override.
|
|
1702
|
+
*
|
|
1703
|
+
* @example
|
|
1704
|
+
* ```tsx
|
|
1705
|
+
* <NumericInputDecrement />
|
|
1706
|
+
* ```
|
|
1707
|
+
*/
|
|
1708
|
+
declare const NumericInputDecrement: React.ForwardRefExoticComponent<Omit<NumericInputDecrementProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
1709
|
+
interface NumericInputDecrementProps extends NumberField.Decrement.Props {}
|
|
1710
|
+
declare namespace NumericInputDecrement {
|
|
1711
|
+
type Props = NumericInputDecrementProps;
|
|
1712
|
+
}
|
|
1713
|
+
//#endregion
|
|
1598
1714
|
//#region src/components/input-otp.d.ts
|
|
1599
|
-
declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
1715
|
+
declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
1600
1716
|
value?: string;
|
|
1601
1717
|
onChange?: (newValue: string) => unknown;
|
|
1602
1718
|
maxLength: number;
|
|
@@ -1611,7 +1727,7 @@ declare const InputOTP: React.ForwardRefExoticComponent<(Omit<Omit<React.InputHT
|
|
|
1611
1727
|
children?: never;
|
|
1612
1728
|
} & React.RefAttributes<HTMLInputElement> & {
|
|
1613
1729
|
containerClassName?: string;
|
|
1614
|
-
}, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "
|
|
1730
|
+
}, "ref"> | Omit<Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange" | "value" | "maxLength" | "textAlign" | "onComplete" | "pushPasswordManagerStrategy" | "pasteTransformer" | "containerClassName" | "noScriptCSSFallback"> & {
|
|
1615
1731
|
value?: string;
|
|
1616
1732
|
onChange?: (newValue: string) => unknown;
|
|
1617
1733
|
maxLength: number;
|
|
@@ -1667,7 +1783,7 @@ declare namespace ItemSeparator {
|
|
|
1667
1783
|
declare const itemVariants: (props?: ({
|
|
1668
1784
|
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
1669
1785
|
size?: "default" | "sm" | "xs" | null | undefined;
|
|
1670
|
-
} &
|
|
1786
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
1671
1787
|
declare const Item: React.ForwardRefExoticComponent<Omit<ItemProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1672
1788
|
interface ItemProps extends useRender.ComponentProps<'div'>, VariantProps<typeof itemVariants> {}
|
|
1673
1789
|
declare namespace Item {
|
|
@@ -1675,7 +1791,7 @@ declare namespace Item {
|
|
|
1675
1791
|
}
|
|
1676
1792
|
declare const itemMediaVariants: (props?: ({
|
|
1677
1793
|
variant?: "image" | "default" | "icon" | null | undefined;
|
|
1678
|
-
} &
|
|
1794
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
1679
1795
|
declare const ItemMedia: React.ForwardRefExoticComponent<Omit<ItemMediaProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1680
1796
|
interface ItemMediaProps extends React.ComponentProps<'div'>, VariantProps<typeof itemMediaVariants> {}
|
|
1681
1797
|
declare namespace ItemMedia {
|
|
@@ -1864,7 +1980,7 @@ declare namespace ScrollBar {
|
|
|
1864
1980
|
//#region src/components/select.d.ts
|
|
1865
1981
|
declare const selectTriggerVariants: (props?: ({
|
|
1866
1982
|
size?: "default" | "sm" | null | undefined;
|
|
1867
|
-
} &
|
|
1983
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
1868
1984
|
declare const Select: typeof Select$1.Root;
|
|
1869
1985
|
declare const SelectGroup: React.ForwardRefExoticComponent<Omit<SelectGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1870
1986
|
interface SelectGroupProps extends Select$1.Group.Props {}
|
|
@@ -2089,7 +2205,7 @@ declare namespace SidebarMenuItem {
|
|
|
2089
2205
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
2090
2206
|
variant?: "default" | "outline" | null | undefined;
|
|
2091
2207
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
2092
|
-
} &
|
|
2208
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
2093
2209
|
declare const SidebarMenuButton: React.ForwardRefExoticComponent<Omit<SidebarMenuButtonProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2094
2210
|
type SidebarMenuButtonProps = useRender.ComponentProps<'button'> & React.ComponentProps<'button'> & VariantProps<typeof sidebarMenuButtonVariants> & {
|
|
2095
2211
|
isActive?: boolean;
|
|
@@ -2161,7 +2277,7 @@ declare namespace Toaster {
|
|
|
2161
2277
|
//#region src/components/spinner.d.ts
|
|
2162
2278
|
declare const spinnerVariants: (props?: ({
|
|
2163
2279
|
size?: "default" | "sm" | "lg" | "xl" | null | undefined;
|
|
2164
|
-
} &
|
|
2280
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
2165
2281
|
declare const Spinner: React.ForwardRefExoticComponent<Omit<SpinnerProps, "ref"> & React.RefAttributes<SVGSVGElement>>;
|
|
2166
2282
|
interface SpinnerProps extends React.ComponentProps<'svg'>, VariantProps<typeof spinnerVariants> {}
|
|
2167
2283
|
declare namespace Spinner {
|
|
@@ -2305,7 +2421,7 @@ declare namespace ThemeProvider {
|
|
|
2305
2421
|
declare const toggleVariants: (props?: ({
|
|
2306
2422
|
variant?: "default" | "outline" | null | undefined;
|
|
2307
2423
|
size?: "default" | "sm" | "lg" | null | undefined;
|
|
2308
|
-
} &
|
|
2424
|
+
} & class_variance_authority_types3.ClassProp) | undefined) => string;
|
|
2309
2425
|
declare const Toggle: React.ForwardRefExoticComponent<Omit<ToggleProps, "ref"> & React.RefAttributes<HTMLButtonElement>>;
|
|
2310
2426
|
interface ToggleProps extends Toggle$1.Props, VariantProps<typeof toggleVariants> {}
|
|
2311
2427
|
declare namespace Toggle {
|
|
@@ -2452,7 +2568,7 @@ declare function useDsTranslation(ns: 'ds' | 'blocks'): (key: string, opts?: Rec
|
|
|
2452
2568
|
//#endregion
|
|
2453
2569
|
//#region src/i18n/keys.d.ts
|
|
2454
2570
|
/** All translation keys owned by the `ds` namespace. Flat dotted keys (keySeparator: false). */
|
|
2455
|
-
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';
|
|
2571
|
+
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';
|
|
2456
2572
|
/** A complete set of translations for one language. Missing a key is a compile error. */
|
|
2457
2573
|
type DsLocale = Record<DsI18nKey, string>;
|
|
2458
2574
|
//#endregion
|
|
@@ -2514,4 +2630,4 @@ declare function useAudioGauge(options?: UseAudioGaugeOptions): UseAudioGaugeRes
|
|
|
2514
2630
|
//#region src/lib/utils.d.ts
|
|
2515
2631
|
declare function cn(...inputs: ClassValue[]): string;
|
|
2516
2632
|
//#endregion
|
|
2517
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, ActionBar, ActionBarButton, ActionBarContext, type ActionBarContextValue, ActionBarHeight, Alert, AlertAction, AlertAction as BannerAction, AlertDescription, AlertDescription as BannerDescription, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertTitle, AlertTitle as BannerTitle, Anchor, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, BadgeGroup, BadgeGroupCount, Banner, Button, ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, Checkbox, Chip, ChipRemove, Collapsible, CollapsibleContent, CollapsibleTrigger, type ColumnDef, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, type ComboboxClear, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, CounterBadge, CountryFlag, DataTable, type DataTableLoadingState, DataTree, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, Drawer, DrawerBackdrop, DrawerBar, DrawerClose, DrawerContent, DrawerCreateHandle, DrawerDescription, DrawerFooter, DrawerHeader, DrawerMenu, DrawerMenuCheckboxItem, DrawerMenuGroup, DrawerMenuGroupLabel, DrawerMenuItem, DrawerMenuRadioGroup, DrawerMenuRadioItem, DrawerMenuSeparator, DrawerMenuTrigger, DrawerPanel, DrawerPopup, DrawerPortal, DrawerPrimitive, DrawerSwipeArea, DrawerTitle, DrawerTrigger, DrawerViewport, DropdownMenu, DropdownMenuAddon, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Dropzone, DropzoneActions, DropzoneContent, DropzoneDescription, type DropzoneErrorCode, DropzoneIcon, DropzoneTitle, DropzoneTrigger, type DsI18nKey, DsI18nProvider, type DsLocale, EmojiPicker, EmojiPickerCategories, type EmojiPickerCategory, EmojiPickerContent, EmojiPickerTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, FAB, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, type FileError, type FileRejection, Filter, FilterClearAllButton, FilterGroup, Gauge, HoverCard, HoverCardContent, HoverCardTrigger, type I18nLanguageSource, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Label, List, ListCol, ListRow, type NotificationHandle, type NotificationOptions, type NotificationPriority, type NotificationQueueControls, NotificationQueueProvider, type NotificationRenderProps, NotificationSlot, type OnChangeFn, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, RadioGroup, RadioGroupItem, type RowSelectionState, SUPPORTED_LANGUAGES, ScrollArea, ScrollAreaPrimitive, ScrollBar, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, type SheetOverlay, type SheetPortal, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, Slider, type SortingState, Spinner, type StepDefinition, Stepper, StepperContent, StepperCounter, StepperPanel, StepperProgress, Switch, Table, TableBody, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, ThemeProvider, Toaster, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, Tree, TreeDragLine, TreeItem, TreeItemLabel, UseAudioGaugeOptions, UseAudioGaugeResult, alertVariants, anchorVariants, bannerVariants, buttonGroupVariants, buttonVariants, cn, counterBadgeVariants, detectInitialLanguage, fabVariants, registerI18nNamespace, selectTriggerVariants, spinnerVariants, syncDsLanguage, toast, toggleVariants, useAudioGauge, useComboboxAnchor, useDsTranslation, useNotification, useNotificationQueue, useSidebar, useStepper, useTheme };
|
|
2633
|
+
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 };
|