@deriv-ds/design-intelligence-layer 0.2.0 → 0.3.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/AGENTS.md +3 -3
- package/README.md +350 -144
- package/dist/index.cjs +2815 -1449
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +169 -73
- package/dist/index.d.ts +169 -73
- package/dist/index.js +2608 -1238
- package/dist/index.js.map +1 -1
- package/guides/brand-voice/deriv-brand-voice.md +250 -0
- package/guides/design-system-guide/{trading-game-ds-guide.md → deriv-design-intelligence-guide.md} +5 -5
- package/guides/design-system-guide/quill-ds-guide.md +817 -0
- package/package.json +1 -1
- package/src/styles.css +840 -14
- package/guides/brand-voice/trading-game-brand-voice.md +0 -325
package/dist/index.d.cts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
|
-
import { Accordion as Accordion$1, AlertDialog as AlertDialog$1, AspectRatio as AspectRatio$1, Avatar as Avatar$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, Dialog as Dialog$1, ContextMenu as ContextMenu$1, Direction, DropdownMenu as DropdownMenu$1, Label as Label$1, Slot, HoverCard as HoverCard$1, Separator as Separator$1,
|
|
3
|
+
import { Accordion as Accordion$1, AlertDialog as AlertDialog$1, AspectRatio as AspectRatio$1, Avatar as Avatar$1, Checkbox as Checkbox$1, Collapsible as Collapsible$1, Dialog as Dialog$1, ContextMenu as ContextMenu$1, Direction, DropdownMenu as DropdownMenu$1, Label as Label$1, Slot, HoverCard as HoverCard$1, Separator as Separator$1, Popover as Popover$1, Progress as Progress$1, RadioGroup as RadioGroup$1, ScrollArea as ScrollArea$1, Select as Select$1, Tooltip as Tooltip$1, Slider as Slider$1, Switch as Switch$1, Tabs, Toggle as Toggle$1, ToggleGroup as ToggleGroup$1 } from 'radix-ui';
|
|
4
4
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
5
|
import { VariantProps } from 'class-variance-authority';
|
|
6
6
|
import { DayPicker, DayButton } from 'react-day-picker';
|
|
@@ -21,16 +21,57 @@ declare function AccordionItem({ className, ...props }: React$1.ComponentProps<t
|
|
|
21
21
|
declare function AccordionTrigger({ className, children, ...props }: React$1.ComponentProps<typeof Accordion$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
22
22
|
declare function AccordionContent({ className, children, ...props }: React$1.ComponentProps<typeof Accordion$1.Content>): react_jsx_runtime.JSX.Element;
|
|
23
23
|
|
|
24
|
-
declare
|
|
25
|
-
|
|
24
|
+
declare function Badge({ count, className, ...props }: React$1.ComponentProps<"span"> & {
|
|
25
|
+
count: number;
|
|
26
|
+
}): react_jsx_runtime.JSX.Element;
|
|
27
|
+
declare const dotColorMap: {
|
|
28
|
+
readonly red: "bg-badge-status-red";
|
|
29
|
+
readonly yellow: "bg-badge-status-yellow";
|
|
30
|
+
readonly green: "bg-badge-status-green";
|
|
31
|
+
readonly blue: "bg-badge-status-blue";
|
|
32
|
+
};
|
|
33
|
+
declare function BadgeDot({ size, color, className, ...props }: React$1.ComponentProps<"span"> & {
|
|
34
|
+
size?: "sm" | "md";
|
|
35
|
+
color?: keyof typeof dotColorMap;
|
|
36
|
+
}): react_jsx_runtime.JSX.Element;
|
|
37
|
+
|
|
38
|
+
type NotificationVariant = "information" | "success" | "warning" | "danger";
|
|
39
|
+
interface NotificationBannerProps {
|
|
40
|
+
title: string;
|
|
41
|
+
description?: string;
|
|
42
|
+
onClose?: () => void;
|
|
43
|
+
className?: string;
|
|
44
|
+
}
|
|
45
|
+
declare function NotificationBanner({ title, description, onClose, className, }: NotificationBannerProps): react_jsx_runtime.JSX.Element;
|
|
46
|
+
interface NotificationItemProps {
|
|
47
|
+
variant?: NotificationVariant;
|
|
48
|
+
title: string;
|
|
49
|
+
description?: string;
|
|
50
|
+
dateTime?: string;
|
|
51
|
+
isRead: boolean;
|
|
52
|
+
/** desktop=true → hover reveals icon-only actions (no swipe). default false = mobile swipe mode. */
|
|
53
|
+
desktop?: boolean;
|
|
54
|
+
onRead?: () => void;
|
|
55
|
+
onUnread?: () => void;
|
|
56
|
+
onDelete?: () => void;
|
|
57
|
+
className?: string;
|
|
58
|
+
}
|
|
59
|
+
declare function NotificationItem({ desktop, ...props }: NotificationItemProps): react_jsx_runtime.JSX.Element;
|
|
60
|
+
declare function NotificationDivider({ className }: {
|
|
61
|
+
className?: string;
|
|
62
|
+
}): react_jsx_runtime.JSX.Element;
|
|
63
|
+
|
|
64
|
+
declare const sectionMessageVariants: (props?: ({
|
|
65
|
+
variant?: "information" | "success" | "warning" | "danger" | "default" | "error" | "info" | null | undefined;
|
|
66
|
+
size?: "sm" | "md" | null | undefined;
|
|
26
67
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
27
|
-
declare function
|
|
28
|
-
declare function
|
|
29
|
-
declare function
|
|
68
|
+
declare function SectionMessage({ className, variant, size, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof sectionMessageVariants>): react_jsx_runtime.JSX.Element;
|
|
69
|
+
declare function SectionMessageTitle({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
70
|
+
declare function SectionMessageDescription({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
30
71
|
|
|
31
72
|
declare const buttonVariants: (props?: ({
|
|
32
|
-
variant?: "primary" | "secondary" | "tertiary" | null | undefined;
|
|
33
|
-
size?: "
|
|
73
|
+
variant?: "primary" | "secondary" | "tertiary" | "ghost" | null | undefined;
|
|
74
|
+
size?: "sm" | "md" | "lg" | "xs" | "icon" | "icon-lg" | "icon-md" | "icon-sm" | "icon-xs" | null | undefined;
|
|
34
75
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
35
76
|
declare function Button({ className, variant, size, asChild, loading, ...props }: React$1.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
36
77
|
asChild?: boolean;
|
|
@@ -63,11 +104,11 @@ declare function AvatarBadge({ className, ...props }: React$1.ComponentProps<"sp
|
|
|
63
104
|
declare function AvatarGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
64
105
|
declare function AvatarGroupCount({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
65
106
|
|
|
66
|
-
declare const
|
|
67
|
-
variant?: "fill
|
|
68
|
-
size?: "
|
|
107
|
+
declare const tagVariants: (props?: ({
|
|
108
|
+
variant?: "fill-neutral" | "fill-red" | "fill-yellow" | "fill-green" | "fill-blue" | "outline-neutral" | "outline-red" | "outline-yellow" | "outline-green" | "outline-blue" | null | undefined;
|
|
109
|
+
size?: "sm" | "md" | null | undefined;
|
|
69
110
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
70
|
-
declare function
|
|
111
|
+
declare function Tag({ className, variant, size, asChild, ...props }: React$1.ComponentProps<"span"> & VariantProps<typeof tagVariants> & {
|
|
71
112
|
asChild?: boolean;
|
|
72
113
|
}): react_jsx_runtime.JSX.Element;
|
|
73
114
|
|
|
@@ -81,6 +122,13 @@ declare function BreadcrumbPage({ className, ...props }: React$1.ComponentProps<
|
|
|
81
122
|
declare function BreadcrumbSeparator({ children, className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
82
123
|
declare function BreadcrumbEllipsis({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
83
124
|
|
|
125
|
+
declare const chipVariants: (props?: ({
|
|
126
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
127
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
128
|
+
declare function Chip({ className, size, selected, ...props }: React$1.ComponentProps<"button"> & VariantProps<typeof chipVariants> & {
|
|
129
|
+
selected?: boolean;
|
|
130
|
+
}): react_jsx_runtime.JSX.Element;
|
|
131
|
+
|
|
84
132
|
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React$1.ComponentProps<typeof DayPicker> & {
|
|
85
133
|
buttonVariant?: React$1.ComponentProps<typeof Button>["variant"];
|
|
86
134
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -270,7 +318,7 @@ declare function DropdownMenuSubContent({ className, ...props }: React$1.Compone
|
|
|
270
318
|
declare function Empty({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
271
319
|
declare function EmptyHeader({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
272
320
|
declare const emptyMediaVariants: (props?: ({
|
|
273
|
-
variant?: "
|
|
321
|
+
variant?: "default" | "icon" | null | undefined;
|
|
274
322
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
275
323
|
declare function EmptyMedia({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): react_jsx_runtime.JSX.Element;
|
|
276
324
|
declare function EmptyTitle({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
@@ -325,7 +373,22 @@ declare function HoverCard({ ...props }: React$1.ComponentProps<typeof HoverCard
|
|
|
325
373
|
declare function HoverCardTrigger({ ...props }: React$1.ComponentProps<typeof HoverCard$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
326
374
|
declare function HoverCardContent({ className, align, sideOffset, ...props }: React$1.ComponentProps<typeof HoverCard$1.Content>): react_jsx_runtime.JSX.Element;
|
|
327
375
|
|
|
328
|
-
declare
|
|
376
|
+
declare const inputWrapperVariants: (props?: ({
|
|
377
|
+
variant?: "fill" | "outline" | null | undefined;
|
|
378
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
379
|
+
status?: "success" | "default" | "error" | null | undefined;
|
|
380
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
381
|
+
interface InputProps extends Omit<React$1.ComponentProps<"input">, "size">, VariantProps<typeof inputWrapperVariants> {
|
|
382
|
+
label?: string;
|
|
383
|
+
helperText?: string;
|
|
384
|
+
iconLeft?: React$1.ReactNode;
|
|
385
|
+
iconRight?: React$1.ReactNode;
|
|
386
|
+
/** When false, renders the labelless variant: label and input cross-fade at the same size. */
|
|
387
|
+
labeled?: boolean;
|
|
388
|
+
/** Horizontal text alignment for both label and input. Default is "left". */
|
|
389
|
+
align?: "left" | "center";
|
|
390
|
+
}
|
|
391
|
+
declare const Input: React$1.ForwardRefExoticComponent<Omit<InputProps, "ref"> & React$1.RefAttributes<HTMLInputElement>>;
|
|
329
392
|
|
|
330
393
|
declare function InputGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
331
394
|
declare const inputGroupAddonVariants: (props?: ({
|
|
@@ -340,28 +403,58 @@ declare function InputGroupText({ className, ...props }: React$1.ComponentProps<
|
|
|
340
403
|
declare function InputGroupInput({ className, ...props }: React$1.ComponentProps<"input">): react_jsx_runtime.JSX.Element;
|
|
341
404
|
declare function InputGroupTextarea({ className, ...props }: React$1.ComponentProps<"textarea">): react_jsx_runtime.JSX.Element;
|
|
342
405
|
|
|
406
|
+
declare const searchFieldVariants: (props?: ({
|
|
407
|
+
variant?: "fill" | "outline" | null | undefined;
|
|
408
|
+
size?: "sm" | "md" | null | undefined;
|
|
409
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
410
|
+
type SearchFieldProps = Omit<React$1.ComponentProps<"div">, "children"> & VariantProps<typeof searchFieldVariants> & {
|
|
411
|
+
placeholder?: string;
|
|
412
|
+
disabled?: boolean;
|
|
413
|
+
value?: string;
|
|
414
|
+
defaultValue?: string;
|
|
415
|
+
onChange?: React$1.ChangeEventHandler<HTMLInputElement>;
|
|
416
|
+
};
|
|
417
|
+
declare function SearchField({ variant, size, className, placeholder, disabled, value, defaultValue, onChange, ...props }: SearchFieldProps): react_jsx_runtime.JSX.Element;
|
|
418
|
+
|
|
343
419
|
declare function InputOTP({ className, containerClassName, ...props }: React$1.ComponentProps<typeof OTPInput> & {
|
|
344
420
|
containerClassName?: string;
|
|
345
421
|
}): react_jsx_runtime.JSX.Element;
|
|
346
422
|
declare function InputOTPGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
347
|
-
declare
|
|
423
|
+
declare const inputOTPSlotVariants: (props?: ({
|
|
424
|
+
size?: "sm" | "md" | null | undefined;
|
|
425
|
+
status?: "success" | "default" | "error" | null | undefined;
|
|
426
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
427
|
+
declare function InputOTPSlot({ index, className, size, status, ...props }: React$1.ComponentProps<"div"> & {
|
|
348
428
|
index: number;
|
|
349
|
-
}): react_jsx_runtime.JSX.Element;
|
|
429
|
+
} & VariantProps<typeof inputOTPSlotVariants>): react_jsx_runtime.JSX.Element;
|
|
350
430
|
declare function InputOTPSeparator({ ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
351
431
|
|
|
432
|
+
declare function CodeInput({ className, containerClassName, ...props }: React$1.ComponentProps<typeof OTPInput> & {
|
|
433
|
+
containerClassName?: string;
|
|
434
|
+
}): react_jsx_runtime.JSX.Element;
|
|
435
|
+
declare function CodeInputGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
436
|
+
declare const codeInputSlotVariants: (props?: ({
|
|
437
|
+
size?: "sm" | "md" | null | undefined;
|
|
438
|
+
status?: "success" | "default" | "error" | null | undefined;
|
|
439
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
440
|
+
declare function CodeInputSlot({ index, className, size, status, ...props }: React$1.ComponentProps<"div"> & {
|
|
441
|
+
index: number;
|
|
442
|
+
} & VariantProps<typeof codeInputSlotVariants>): react_jsx_runtime.JSX.Element;
|
|
443
|
+
declare function CodeInputSeparator({ ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
444
|
+
|
|
352
445
|
declare function Separator({ className, orientation, decorative, ...props }: React$1.ComponentProps<typeof Separator$1.Root>): react_jsx_runtime.JSX.Element;
|
|
353
446
|
|
|
354
447
|
declare function ItemGroup({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
355
448
|
declare function ItemSeparator({ className, ...props }: React$1.ComponentProps<typeof Separator>): react_jsx_runtime.JSX.Element;
|
|
356
449
|
declare const itemVariants: (props?: ({
|
|
357
|
-
variant?: "default" | "outline" | "muted" | null | undefined;
|
|
358
|
-
size?: "sm" | "default" | null | undefined;
|
|
450
|
+
variant?: "disabled" | "selected" | "default" | "outline" | "muted" | null | undefined;
|
|
451
|
+
size?: "sm" | "md" | "default" | null | undefined;
|
|
359
452
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
360
453
|
declare function Item({ className, variant, size, asChild, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof itemVariants> & {
|
|
361
454
|
asChild?: boolean;
|
|
362
455
|
}): react_jsx_runtime.JSX.Element;
|
|
363
456
|
declare const itemMediaVariants: (props?: ({
|
|
364
|
-
variant?: "image" | "
|
|
457
|
+
variant?: "image" | "default" | "icon" | null | undefined;
|
|
365
458
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
366
459
|
declare function ItemMedia({ className, variant, ...props }: React$1.ComponentProps<"div"> & VariantProps<typeof itemMediaVariants>): react_jsx_runtime.JSX.Element;
|
|
367
460
|
declare function ItemContent({ className, ...props }: React$1.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
@@ -375,54 +468,19 @@ declare function Kbd({ className, ...props }: React.ComponentProps<"kbd">): reac
|
|
|
375
468
|
declare function KbdGroup({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
376
469
|
|
|
377
470
|
declare const linkVariants: (props?: ({
|
|
378
|
-
|
|
471
|
+
variant?: "primary" | "secondary-normal" | "secondary-inverse" | "secondary-static-light" | "secondary-static-dark" | null | undefined;
|
|
472
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
379
473
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
380
|
-
declare function Link({ className, size, asChild, ...props }: React$1.ComponentProps<"a"> & VariantProps<typeof linkVariants> & {
|
|
474
|
+
declare function Link({ className, variant, size, asChild, ...props }: React$1.ComponentProps<"a"> & VariantProps<typeof linkVariants> & {
|
|
381
475
|
asChild?: boolean;
|
|
382
476
|
}): react_jsx_runtime.JSX.Element;
|
|
383
477
|
|
|
384
|
-
declare function Menubar({ className, ...props }: React$1.ComponentProps<typeof Menubar$1.Root>): react_jsx_runtime.JSX.Element;
|
|
385
|
-
declare function MenubarMenu({ ...props }: React$1.ComponentProps<typeof Menubar$1.Menu>): react_jsx_runtime.JSX.Element;
|
|
386
|
-
declare function MenubarGroup({ ...props }: React$1.ComponentProps<typeof Menubar$1.Group>): react_jsx_runtime.JSX.Element;
|
|
387
|
-
declare function MenubarPortal({ ...props }: React$1.ComponentProps<typeof Menubar$1.Portal>): react_jsx_runtime.JSX.Element;
|
|
388
|
-
declare function MenubarRadioGroup({ ...props }: React$1.ComponentProps<typeof Menubar$1.RadioGroup>): react_jsx_runtime.JSX.Element;
|
|
389
|
-
declare function MenubarTrigger({ className, ...props }: React$1.ComponentProps<typeof Menubar$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
390
|
-
declare function MenubarContent({ className, align, alignOffset, sideOffset, ...props }: React$1.ComponentProps<typeof Menubar$1.Content>): react_jsx_runtime.JSX.Element;
|
|
391
|
-
declare function MenubarItem({ className, inset, variant, ...props }: React$1.ComponentProps<typeof Menubar$1.Item> & {
|
|
392
|
-
inset?: boolean;
|
|
393
|
-
variant?: "default" | "destructive";
|
|
394
|
-
}): react_jsx_runtime.JSX.Element;
|
|
395
|
-
declare function MenubarCheckboxItem({ className, children, checked, ...props }: React$1.ComponentProps<typeof Menubar$1.CheckboxItem>): react_jsx_runtime.JSX.Element;
|
|
396
|
-
declare function MenubarRadioItem({ className, children, ...props }: React$1.ComponentProps<typeof Menubar$1.RadioItem>): react_jsx_runtime.JSX.Element;
|
|
397
|
-
declare function MenubarLabel({ className, inset, ...props }: React$1.ComponentProps<typeof Menubar$1.Label> & {
|
|
398
|
-
inset?: boolean;
|
|
399
|
-
}): react_jsx_runtime.JSX.Element;
|
|
400
|
-
declare function MenubarSeparator({ className, ...props }: React$1.ComponentProps<typeof Menubar$1.Separator>): react_jsx_runtime.JSX.Element;
|
|
401
|
-
declare function MenubarShortcut({ className, ...props }: React$1.ComponentProps<"span">): react_jsx_runtime.JSX.Element;
|
|
402
|
-
declare function MenubarSub({ ...props }: React$1.ComponentProps<typeof Menubar$1.Sub>): react_jsx_runtime.JSX.Element;
|
|
403
|
-
declare function MenubarSubTrigger({ className, inset, children, ...props }: React$1.ComponentProps<typeof Menubar$1.SubTrigger> & {
|
|
404
|
-
inset?: boolean;
|
|
405
|
-
}): react_jsx_runtime.JSX.Element;
|
|
406
|
-
declare function MenubarSubContent({ className, ...props }: React$1.ComponentProps<typeof Menubar$1.SubContent>): react_jsx_runtime.JSX.Element;
|
|
407
|
-
|
|
408
478
|
declare function NativeSelect({ className, size, ...props }: Omit<React$1.ComponentProps<"select">, "size"> & {
|
|
409
479
|
size?: "sm" | "default";
|
|
410
480
|
}): react_jsx_runtime.JSX.Element;
|
|
411
481
|
declare function NativeSelectOption({ ...props }: React$1.ComponentProps<"option">): react_jsx_runtime.JSX.Element;
|
|
412
482
|
declare function NativeSelectOptGroup({ className, ...props }: React$1.ComponentProps<"optgroup">): react_jsx_runtime.JSX.Element;
|
|
413
483
|
|
|
414
|
-
declare function NavigationMenu({ className, children, viewport, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Root> & {
|
|
415
|
-
viewport?: boolean;
|
|
416
|
-
}): react_jsx_runtime.JSX.Element;
|
|
417
|
-
declare function NavigationMenuList({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.List>): react_jsx_runtime.JSX.Element;
|
|
418
|
-
declare function NavigationMenuItem({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Item>): react_jsx_runtime.JSX.Element;
|
|
419
|
-
declare const navigationMenuTriggerStyle: (props?: class_variance_authority_types.ClassProp | undefined) => string;
|
|
420
|
-
declare function NavigationMenuTrigger({ className, children, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
421
|
-
declare function NavigationMenuContent({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Content>): react_jsx_runtime.JSX.Element;
|
|
422
|
-
declare function NavigationMenuViewport({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Viewport>): react_jsx_runtime.JSX.Element;
|
|
423
|
-
declare function NavigationMenuLink({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Link>): react_jsx_runtime.JSX.Element;
|
|
424
|
-
declare function NavigationMenuIndicator({ className, ...props }: React$1.ComponentProps<typeof NavigationMenu$1.Indicator>): react_jsx_runtime.JSX.Element;
|
|
425
|
-
|
|
426
484
|
declare function Pagination({ className, ...props }: React$1.ComponentProps<"nav">): react_jsx_runtime.JSX.Element;
|
|
427
485
|
declare function PaginationContent({ className, ...props }: React$1.ComponentProps<"ul">): react_jsx_runtime.JSX.Element;
|
|
428
486
|
declare function PaginationItem({ ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
@@ -442,7 +500,12 @@ declare function PopoverHeader({ className, ...props }: React$1.ComponentProps<"
|
|
|
442
500
|
declare function PopoverTitle({ className, ...props }: React$1.ComponentProps<"h2">): react_jsx_runtime.JSX.Element;
|
|
443
501
|
declare function PopoverDescription({ className, ...props }: React$1.ComponentProps<"p">): react_jsx_runtime.JSX.Element;
|
|
444
502
|
|
|
445
|
-
declare
|
|
503
|
+
declare const progressVariants: (props?: ({
|
|
504
|
+
size?: "sm" | "md" | null | undefined;
|
|
505
|
+
variant?: "normal" | "inverse" | null | undefined;
|
|
506
|
+
color?: "red" | "yellow" | "green" | "blue" | "default" | null | undefined;
|
|
507
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
508
|
+
declare function Progress({ className, value, size, variant, color, ...props }: React$1.ComponentProps<typeof Progress$1.Root> & VariantProps<typeof progressVariants>): react_jsx_runtime.JSX.Element;
|
|
446
509
|
|
|
447
510
|
declare function RadioGroup({ className, ...props }: React$1.ComponentProps<typeof RadioGroup$1.Root>): react_jsx_runtime.JSX.Element;
|
|
448
511
|
declare function RadioGroupItem({ className, ...props }: React$1.ComponentProps<typeof RadioGroup$1.Item>): react_jsx_runtime.JSX.Element;
|
|
@@ -485,7 +548,9 @@ declare function SheetDescription({ className, ...props }: React$1.ComponentProp
|
|
|
485
548
|
declare function TooltipProvider({ delayDuration, ...props }: React$1.ComponentProps<typeof Tooltip$1.Provider>): react_jsx_runtime.JSX.Element;
|
|
486
549
|
declare function Tooltip({ ...props }: React$1.ComponentProps<typeof Tooltip$1.Root>): react_jsx_runtime.JSX.Element;
|
|
487
550
|
declare function TooltipTrigger({ ...props }: React$1.ComponentProps<typeof Tooltip$1.Trigger>): react_jsx_runtime.JSX.Element;
|
|
488
|
-
declare function TooltipContent({ className, sideOffset, children, ...props }: React$1.ComponentProps<typeof Tooltip$1.Content>
|
|
551
|
+
declare function TooltipContent({ className, sideOffset, variant, children, ...props }: React$1.ComponentProps<typeof Tooltip$1.Content> & {
|
|
552
|
+
variant?: "default" | "error";
|
|
553
|
+
}): react_jsx_runtime.JSX.Element;
|
|
489
554
|
|
|
490
555
|
type SidebarContextProps = {
|
|
491
556
|
state: "expanded" | "collapsed";
|
|
@@ -527,7 +592,7 @@ declare function SidebarMenu({ className, ...props }: React$1.ComponentProps<"ul
|
|
|
527
592
|
declare function SidebarMenuItem({ className, ...props }: React$1.ComponentProps<"li">): react_jsx_runtime.JSX.Element;
|
|
528
593
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
529
594
|
variant?: "default" | "outline" | null | undefined;
|
|
530
|
-
size?: "
|
|
595
|
+
size?: "sm" | "default" | "lg" | null | undefined;
|
|
531
596
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
532
597
|
declare function SidebarMenuButton({ asChild, isActive, variant, size, tooltip, className, ...props }: React$1.ComponentProps<"button"> & {
|
|
533
598
|
asChild?: boolean;
|
|
@@ -554,7 +619,7 @@ declare function Skeleton({ className, ...props }: React.ComponentProps<"div">):
|
|
|
554
619
|
|
|
555
620
|
declare function Slider({ className, defaultValue, value, min, max, ...props }: React$1.ComponentProps<typeof Slider$1.Root>): react_jsx_runtime.JSX.Element;
|
|
556
621
|
|
|
557
|
-
declare const
|
|
622
|
+
declare const Snackbar: ({ ...props }: ToasterProps) => react_jsx_runtime.JSX.Element;
|
|
558
623
|
|
|
559
624
|
interface StepperProps {
|
|
560
625
|
value?: number;
|
|
@@ -574,6 +639,8 @@ declare function Stepper({ value: controlledValue, defaultValue, onValueChange,
|
|
|
574
639
|
|
|
575
640
|
declare function Spinner({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
576
641
|
|
|
642
|
+
declare function LoadingSpinner({ className, ...props }: React.ComponentProps<"div">): react_jsx_runtime.JSX.Element;
|
|
643
|
+
|
|
577
644
|
declare function Switch({ className, size, ...props }: React$1.ComponentProps<typeof Switch$1.Root> & {
|
|
578
645
|
size?: "sm" | "default";
|
|
579
646
|
}): react_jsx_runtime.JSX.Element;
|
|
@@ -587,18 +654,47 @@ declare function TableHead({ className, ...props }: React$1.ComponentProps<"th">
|
|
|
587
654
|
declare function TableCell({ className, ...props }: React$1.ComponentProps<"td">): react_jsx_runtime.JSX.Element;
|
|
588
655
|
declare function TableCaption({ className, ...props }: React$1.ComponentProps<"caption">): react_jsx_runtime.JSX.Element;
|
|
589
656
|
|
|
590
|
-
declare
|
|
591
|
-
|
|
592
|
-
variant?: "line" | "default" | null | undefined;
|
|
593
|
-
size?: "lg" | "md" | "sm" | null | undefined;
|
|
657
|
+
declare const segmentedControlListVariants: (props?: ({
|
|
658
|
+
size?: "md" | "lg" | null | undefined;
|
|
594
659
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
595
|
-
declare function
|
|
596
|
-
declare function
|
|
597
|
-
|
|
598
|
-
}): react_jsx_runtime.JSX.Element;
|
|
599
|
-
declare function TabsContent({ className, ...props }: React$1.ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime.JSX.Element;
|
|
660
|
+
declare function SegmentedControl({ className, ...props }: React$1.ComponentProps<typeof Tabs.Root>): react_jsx_runtime.JSX.Element;
|
|
661
|
+
declare function SegmentedControlList({ className, size, ...props }: React$1.ComponentProps<typeof Tabs.List> & VariantProps<typeof segmentedControlListVariants>): react_jsx_runtime.JSX.Element;
|
|
662
|
+
declare function SegmentedControlTrigger({ className, ...props }: React$1.ComponentProps<typeof Tabs.Trigger>): react_jsx_runtime.JSX.Element;
|
|
663
|
+
declare function SegmentedControlContent({ className, ...props }: React$1.ComponentProps<typeof Tabs.Content>): react_jsx_runtime.JSX.Element;
|
|
600
664
|
|
|
601
|
-
declare
|
|
665
|
+
declare const tabListVariants: (props?: ({
|
|
666
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
667
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
668
|
+
declare function Tab({ className, ...props }: React$1.ComponentProps<typeof Tabs.Root>): react_jsx_runtime.JSX.Element;
|
|
669
|
+
declare function TabList({ className, size, ...props }: React$1.ComponentProps<typeof Tabs.List> & VariantProps<typeof tabListVariants>): react_jsx_runtime.JSX.Element;
|
|
670
|
+
declare function TabTrigger({ className, ...props }: React$1.ComponentProps<typeof Tabs.Trigger>): react_jsx_runtime.JSX.Element;
|
|
671
|
+
declare function TabContent({ className, ...props }: React$1.ComponentProps<typeof Tabs.Content>): react_jsx_runtime.JSX.Element;
|
|
672
|
+
|
|
673
|
+
declare const textareaWrapperVariants: (props?: ({
|
|
674
|
+
variant?: "fill" | "outline" | null | undefined;
|
|
675
|
+
status?: "success" | "default" | "error" | null | undefined;
|
|
676
|
+
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
677
|
+
interface TextareaProps extends Omit<React$1.ComponentProps<"textarea">, "size">, VariantProps<typeof textareaWrapperVariants> {
|
|
678
|
+
label?: string;
|
|
679
|
+
helperText?: string;
|
|
680
|
+
iconLeft?: React$1.ReactNode;
|
|
681
|
+
iconRight?: React$1.ReactNode;
|
|
682
|
+
/**
|
|
683
|
+
* When `true` (default), renders a floating label above the text area.
|
|
684
|
+
* When `false`, renders the labelless variant where the label acts as a
|
|
685
|
+
* placeholder that cross-fades with the typed text.
|
|
686
|
+
*/
|
|
687
|
+
labeled?: boolean;
|
|
688
|
+
/**
|
|
689
|
+
* Controls the minimum height for the **labelless** variant only.
|
|
690
|
+
* - `"md"` (default) → 128 px
|
|
691
|
+
* - `"sm"` → 104 px
|
|
692
|
+
*
|
|
693
|
+
* Ignored when `labeled={true}`, which always uses the 128 px height.
|
|
694
|
+
*/
|
|
695
|
+
size?: "sm" | "md";
|
|
696
|
+
}
|
|
697
|
+
declare const Textarea: React$1.ForwardRefExoticComponent<Omit<TextareaProps, "ref"> & React$1.RefAttributes<HTMLTextAreaElement>>;
|
|
602
698
|
|
|
603
699
|
interface TicketCardProps {
|
|
604
700
|
icon?: React$1.ReactNode;
|
|
@@ -614,7 +710,7 @@ declare function TicketCard({ icon, label, value, stubIcon, stubLabel, onStubCli
|
|
|
614
710
|
|
|
615
711
|
declare const toggleVariants: (props?: ({
|
|
616
712
|
variant?: "default" | "outline" | null | undefined;
|
|
617
|
-
size?: "
|
|
713
|
+
size?: "sm" | "default" | "lg" | null | undefined;
|
|
618
714
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
619
715
|
declare function Toggle({ className, variant, size, ...props }: React$1.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
620
716
|
|
|
@@ -627,4 +723,4 @@ declare function cn(...inputs: ClassValue[]): string;
|
|
|
627
723
|
|
|
628
724
|
declare function useIsMobile(): boolean;
|
|
629
725
|
|
|
630
|
-
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger,
|
|
726
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogMedia, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AspectRatio, Avatar, AvatarBadge, AvatarFallback, AvatarGroup, AvatarGroupCount, AvatarImage, Badge, BadgeDot, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, Button, Calendar, CalendarDayButton, Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious, type ChartConfig, ChartContainer, ChartLegend, ChartLegendContent, ChartStyle, ChartTooltip, ChartTooltipContent, Checkbox, Chip, CodeInput, CodeInputGroup, CodeInputSeparator, CodeInputSlot, Collapsible, CollapsibleContent, CollapsibleTrigger, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxCollection, ComboboxContent, ComboboxEmpty, ComboboxGroup, ComboboxInput, ComboboxItem, ComboboxLabel, ComboboxList, ComboboxSeparator, ComboboxTrigger, ComboboxValue, Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, ContextMenu, ContextMenuCheckboxItem, ContextMenuContent, ContextMenuGroup, ContextMenuItem, ContextMenuLabel, ContextMenuPortal, ContextMenuRadioGroup, ContextMenuRadioItem, ContextMenuSeparator, ContextMenuShortcut, ContextMenuSub, ContextMenuSubContent, ContextMenuSubTrigger, ContextMenuTrigger, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DirectionProvider, Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle, Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, HoverCard, HoverCardContent, HoverCardTrigger, Input, InputGroup, InputGroupAddon, InputGroupButton, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, Item, ItemActions, ItemContent, ItemDescription, ItemFooter, ItemGroup, ItemHeader, ItemMedia, ItemSeparator, ItemTitle, Kbd, KbdGroup, Label, Link, LoadingSpinner, NativeSelect, NativeSelectOptGroup, NativeSelectOption, NotificationBanner, type NotificationBannerProps, NotificationDivider, NotificationItem, type NotificationItemProps, type NotificationVariant, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, Popover, PopoverAnchor, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger, Progress, RadioGroup, RadioGroupItem, ResizableHandle, ResizablePanel, ResizablePanelGroup, ScrollArea, ScrollBar, SearchField, SectionMessage, SectionMessageDescription, SectionMessageTitle, SegmentedControl, SegmentedControlContent, SegmentedControlList, SegmentedControlTrigger, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, 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, Snackbar, Spinner, Stepper, type StepperProps, Switch, Tab, TabContent, TabList, TabTrigger, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, Tag, Textarea, TicketCard, type TicketCardProps, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buttonVariants, chipVariants, cn, codeInputSlotVariants, inputOTPSlotVariants, inputWrapperVariants as inputVariants, linkVariants, progressVariants, searchFieldVariants, segmentedControlListVariants, tabListVariants, tagVariants, textareaWrapperVariants as textareaVariants, toggleVariants, useComboboxAnchor, useDirection, useFormField, useIsMobile, useSidebar };
|