@rafal.lemieszewski/tide-ui 0.84.2 → 0.84.3
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/cjs/components/fundamental/breadcrumb.cjs +1 -1
- package/dist/cjs/components/fundamental/country-dropdown.cjs +1 -1
- package/dist/cjs/components/fundamental/icon.cjs +1 -1
- package/dist/cjs/components/fundamental/tree.cjs +1 -1
- package/dist/cjs/components/product/data-table.cjs +1 -1
- package/dist/cjs/lib/index.cjs +1 -1
- package/dist/es/components/fundamental/accordion.js +3 -3
- package/dist/es/components/fundamental/alert-dialog.js +5 -5
- package/dist/es/components/fundamental/alert.js +3 -3
- package/dist/es/components/fundamental/avatar-group.js +1 -1
- package/dist/es/components/fundamental/avatar.js +3 -3
- package/dist/es/components/fundamental/badge.js +1 -1
- package/dist/es/components/fundamental/breadcrumb.js +6 -6
- package/dist/es/components/fundamental/button-group.js +3 -3
- package/dist/es/components/fundamental/button.js +1 -1
- package/dist/es/components/fundamental/card.js +6 -6
- package/dist/es/components/fundamental/checkbox.js +1 -1
- package/dist/es/components/fundamental/collapsible.js +2 -2
- package/dist/es/components/fundamental/command.js +7 -7
- package/dist/es/components/fundamental/date-picker.js +2 -2
- package/dist/es/components/fundamental/dialog.js +3 -3
- package/dist/es/components/fundamental/drawer.js +4 -4
- package/dist/es/components/fundamental/dropdown-menu.js +25 -25
- package/dist/es/components/fundamental/empty.js +6 -6
- package/dist/es/components/fundamental/file-upload.js +9 -9
- package/dist/es/components/fundamental/form-field.js +15 -15
- package/dist/es/components/fundamental/hover-card.js +1 -1
- package/dist/es/components/fundamental/icon.js +115 -120
- package/dist/es/components/fundamental/input-group.js +6 -6
- package/dist/es/components/fundamental/input.js +1 -1
- package/dist/es/components/fundamental/kbd.js +2 -2
- package/dist/es/components/fundamental/label.js +1 -1
- package/dist/es/components/fundamental/month-picker.js +1 -1
- package/dist/es/components/fundamental/pagination.js +1 -1
- package/dist/es/components/fundamental/popover.js +1 -1
- package/dist/es/components/fundamental/progress.js +1 -1
- package/dist/es/components/fundamental/radio-group.js +2 -2
- package/dist/es/components/fundamental/scroll-area.js +2 -2
- package/dist/es/components/fundamental/select.js +5 -5
- package/dist/es/components/fundamental/separator.js +1 -1
- package/dist/es/components/fundamental/sheet.js +4 -4
- package/dist/es/components/fundamental/sidebar.js +25 -25
- package/dist/es/components/fundamental/skeleton.js +5 -5
- package/dist/es/components/fundamental/slider.js +1 -1
- package/dist/es/components/fundamental/spinner.js +5 -5
- package/dist/es/components/fundamental/switch.js +1 -1
- package/dist/es/components/fundamental/table.js +10 -10
- package/dist/es/components/fundamental/tabs.js +5 -5
- package/dist/es/components/fundamental/tag.js +2 -2
- package/dist/es/components/fundamental/text-link.js +1 -1
- package/dist/es/components/fundamental/textarea.js +1 -1
- package/dist/es/components/fundamental/toggle-group.js +2 -2
- package/dist/es/components/fundamental/toggle.js +1 -1
- package/dist/es/components/fundamental/tooltip.js +1 -1
- package/dist/es/components/fundamental/tree.js +2 -2
- package/dist/es/components/product/activity-log.js +12 -12
- package/dist/es/components/product/attributes-list.js +13 -13
- package/dist/es/components/product/bookmarks.js +2 -2
- package/dist/es/components/product/data-table.js +365 -351
- package/dist/es/components/product/filters.js +3 -3
- package/dist/es/components/product/fixture-status.js +1 -1
- package/dist/es/lib/index.js +328 -368
- package/dist/types/bookmarks.d.ts +2 -0
- package/dist/types/calendar.d.ts +2 -0
- package/dist/types/chart.d.ts +2 -0
- package/dist/types/components/core-index.d.cts +135 -0
- package/dist/types/components/core-index.d.ts +135 -0
- package/dist/types/components/fundamental/avatar.d.ts +3 -3
- package/dist/types/components/fundamental/badge.d.ts +2 -2
- package/dist/types/components/fundamental/button-group.d.ts +1 -1
- package/dist/types/components/fundamental/calendar.d.cts +7 -0
- package/dist/types/components/fundamental/chart.d.cts +95 -0
- package/dist/types/components/fundamental/command.d.ts +1 -1
- package/dist/types/components/fundamental/country-dropdown.d.cts +34 -0
- package/dist/types/components/fundamental/date-picker.d.cts +30 -0
- package/dist/types/components/fundamental/form-field.d.ts +1 -1
- package/dist/types/components/fundamental/resizable.d.cts +23 -0
- package/dist/types/components/fundamental/resizable.d.ts +1 -1
- package/dist/types/components/fundamental/spinner.d.ts +1 -1
- package/dist/types/components/fundamental/table.d.ts +3 -3
- package/dist/types/components/product/bookmarks.d.cts +90 -0
- package/dist/types/components/product/data-table.d.cts +802 -0
- package/dist/types/components/product/filters.d.cts +124 -0
- package/dist/types/components/product/linked-chart.d.cts +22 -0
- package/dist/types/country-dropdown.d.ts +2 -0
- package/dist/types/data-table.d.ts +2 -0
- package/dist/types/date-picker.d.ts +2 -0
- package/dist/types/filters.d.ts +2 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/lib/index.d.cts +104 -3
- package/dist/types/lib/index.d.ts +104 -3
- package/dist/types/linked-chart.d.ts +2 -0
- package/dist/types/resizable.d.ts +2 -0
- package/package.json +94 -12
- /package/dist/cjs/components/{index.cjs → core-index.cjs} +0 -0
- /package/dist/es/components/{index.js → core-index.js} +0 -0
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
export { Alert, AlertDescription, AlertTitle } from './fundamental/alert.js';
|
|
2
|
+
export type { AlertProps } from './fundamental/alert.js';
|
|
3
|
+
export { Avatar, AvatarImage, AvatarFallback, avatarVariants, avatarFallbackVariants } from './fundamental/avatar.js';
|
|
4
|
+
export type { AvatarProps, AvatarFallbackProps } from './fundamental/avatar.js';
|
|
5
|
+
export { AvatarGroup } from './fundamental/avatar-group.js';
|
|
6
|
+
export type { AvatarGroupProps, AvatarGroupSize } from './fundamental/avatar-group.js';
|
|
7
|
+
export { Badge } from './fundamental/badge.js';
|
|
8
|
+
export type { BadgeProps } from './fundamental/badge.js';
|
|
9
|
+
export { Collapsible, CollapsibleTrigger, CollapsibleContent } from './fundamental/collapsible.js';
|
|
10
|
+
export { Button } from './fundamental/button.js';
|
|
11
|
+
export type { ButtonProps } from './fundamental/button.js';
|
|
12
|
+
export { ButtonGroup, ButtonGroupText, ButtonGroupSeparator, buttonGroupVariants } from './fundamental/button-group.js';
|
|
13
|
+
export type { ButtonGroupProps, ButtonGroupTextProps, ButtonGroupSeparatorProps } from './fundamental/button-group.js';
|
|
14
|
+
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './fundamental/card.js';
|
|
15
|
+
export { Checkbox, checkboxVariants } from './fundamental/checkbox.js';
|
|
16
|
+
export { RadioGroup, RadioGroupItem, radioGroupVariants, radioGroupItemVariants } from './fundamental/radio-group.js';
|
|
17
|
+
export type { RadioGroupProps, RadioGroupItemProps } from './fundamental/radio-group.js';
|
|
18
|
+
export { Input } from './fundamental/input.js';
|
|
19
|
+
export type { InputProps } from './fundamental/input.js';
|
|
20
|
+
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupText, InputGroupInput, InputGroupTextarea, inputGroupAddonVariants, } from './fundamental/input-group.js';
|
|
21
|
+
export type { InputGroupProps, InputGroupAddonProps, InputGroupButtonProps, InputGroupTextProps, InputGroupInputProps, InputGroupTextareaProps, } from './fundamental/input-group.js';
|
|
22
|
+
export { Label } from './fundamental/label.js';
|
|
23
|
+
export type { LabelProps } from './fundamental/label.js';
|
|
24
|
+
export { ScrollArea, ScrollBar } from './fundamental/scroll-area.js';
|
|
25
|
+
export { Separator } from './fundamental/separator.js';
|
|
26
|
+
export { Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonTable, skeletonVariants } from './fundamental/skeleton.js';
|
|
27
|
+
export { Spinner, LoadingOverlay, Pulse, ProgressDots } from './fundamental/spinner.js';
|
|
28
|
+
export type { SpinnerProps, LoadingOverlayProps } from './fundamental/spinner.js';
|
|
29
|
+
export { FixtureStatus, statusConfig } from './product/fixture-status.js';
|
|
30
|
+
export type { FixtureStatusProps, StatusValue, StatusConfig } from './product/fixture-status.js';
|
|
31
|
+
export { Switch } from './fundamental/switch.js';
|
|
32
|
+
export { Textarea } from './fundamental/textarea.js';
|
|
33
|
+
export type { TextareaProps } from './fundamental/textarea.js';
|
|
34
|
+
export { ActivityLog, ActivityLogItem, ActivityLogSeparator, ActivityLogHeader, ActivityLogContent, ActivityLogDescription, ActivityLogTime, ActivityLogChevron, ActivityLogValue, } from './product/activity-log.js';
|
|
35
|
+
export type { ActivityLogProps, ActivityLogItemProps, ActivityLogSeparatorProps, ActivityLogHeaderProps, ActivityLogContentProps, ActivityLogDescriptionProps, ActivityLogTimeProps, ActivityLogChevronProps, ActivityLogValueProps, } from './product/activity-log.js';
|
|
36
|
+
export { AttributesList, AttributesSeparator, AttributesGroup, AttributesItem, AttributesRow, AttributesLabel, AttributesValue, AttributesContent, AttributesChevron, } from './product/attributes-list.js';
|
|
37
|
+
export type { AttributesListProps, AttributesSeparatorProps, AttributesGroupProps, AttributesItemProps, AttributesRowProps, AttributesLabelProps, AttributesValueProps, AttributesContentProps, AttributesChevronProps, } from './product/attributes-list.js';
|
|
38
|
+
export { Editable, EditablePreview, EditableInput, EditableDisplay, EditableField } from './fundamental/editable.js';
|
|
39
|
+
export type { EditableProps, EditablePreviewProps, EditableInputProps } from './fundamental/editable.js';
|
|
40
|
+
export { FormField, FormLabel, FormControl, FormHelperText, FormErrorMessage } from './fundamental/form-field.js';
|
|
41
|
+
export type { FormFieldProps, FormLabelProps, FormControlProps, FormHelperTextProps, FormErrorMessageProps } from './fundamental/form-field.js';
|
|
42
|
+
export { Field, FieldSet, FieldLegend, FieldGroup, FieldContent, FieldLabel, FieldTitle, FieldDescription, FieldSeparator, FieldError, fieldVariants, fieldLegendVariants, } from './fundamental/form-field.js';
|
|
43
|
+
export type { FieldProps, FieldSetProps, FieldLegendProps, FieldGroupProps, FieldContentProps, FieldLabelProps, FieldTitleProps, FieldDescriptionProps, FieldSeparatorProps, FieldErrorProps } from './fundamental/form-field.js';
|
|
44
|
+
export { Tabs, TabsList, TabsTrigger, TabsContent, TabsGroupLabel } from './fundamental/tabs.js';
|
|
45
|
+
export type { TabsProps, TabsListProps, TabsTriggerProps, TabsGroupLabelProps } from './fundamental/tabs.js';
|
|
46
|
+
export { Toggle } from './fundamental/toggle.js';
|
|
47
|
+
export type { ToggleProps } from './fundamental/toggle.js';
|
|
48
|
+
export { ToggleGroup, ToggleGroupItem } from './fundamental/toggle-group.js';
|
|
49
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, selectTriggerVariants, selectContentVariants, selectItemVariants, } from './fundamental/select.js';
|
|
50
|
+
export type { SelectTriggerProps, SelectContentProps, SelectItemProps } from './fundamental/select.js';
|
|
51
|
+
export { TextLink } from './fundamental/text-link.js';
|
|
52
|
+
export type { TextLinkProps } from './fundamental/text-link.js';
|
|
53
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, } from './fundamental/accordion.js';
|
|
54
|
+
export { Dialog, DialogPortal, DialogOverlay, DialogClose, DialogTrigger, DialogContent, DialogHeader, DialogBody, DialogFooter, DialogTitle, } from './fundamental/dialog.js';
|
|
55
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogBody, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, } from './fundamental/alert-dialog.js';
|
|
56
|
+
export { Empty, EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, EmptyContent, } from './fundamental/empty.js';
|
|
57
|
+
export type { EmptyProps, EmptyMediaProps, EmptyTitleProps, EmptyDescriptionProps, } from './fundamental/empty.js';
|
|
58
|
+
export { Flag } from './fundamental/flag.js';
|
|
59
|
+
export type { FlagProps, FlagSize } from './fundamental/flag.js';
|
|
60
|
+
export { FileUpload } from './fundamental/file-upload.js';
|
|
61
|
+
export type { FileUploadFile, FileUploadProps, FileUploadDropzoneProps, FileUploadTriggerProps, FileUploadListProps, FileUploadItemProps, FileUploadItemPreviewProps, FileUploadItemMetadataProps, FileUploadItemProgressProps, FileUploadItemDeleteProps, } from './fundamental/file-upload.js';
|
|
62
|
+
export { HoverCard, HoverCardTrigger, HoverCardContent } from './fundamental/hover-card.js';
|
|
63
|
+
export { Slider } from './fundamental/slider.js';
|
|
64
|
+
export { Tag, TagGroup } from './fundamental/tag.js';
|
|
65
|
+
export type { TagProps, TagGroupProps, TagDotColor, TagIntent, TagVariant } from './fundamental/tag.js';
|
|
66
|
+
export { Tree } from './fundamental/tree.js';
|
|
67
|
+
export type { TreeProps, TreeDataItem } from './fundamental/tree.js';
|
|
68
|
+
export { Icon } from './fundamental/icon.js';
|
|
69
|
+
export type { IconColor, IconSize, CustomIconName } from './fundamental/icon.js';
|
|
70
|
+
export { Kbd, KbdGroup } from './fundamental/kbd.js';
|
|
71
|
+
export type { KbdProps, KbdGroupProps } from './fundamental/kbd.js';
|
|
72
|
+
export { MonthPicker } from './fundamental/month-picker.js';
|
|
73
|
+
export type { MonthPickerProps } from './fundamental/month-picker.js';
|
|
74
|
+
export { CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, } from './fundamental/command.js';
|
|
75
|
+
export { Combobox, MultiCombobox } from './fundamental/combobox.js';
|
|
76
|
+
export type { ComboboxProps, ComboboxOption, ComboboxTriggerProps, MultiComboboxProps, MultiComboboxTriggerProps, } from './fundamental/combobox.js';
|
|
77
|
+
export { AutocompleteSearch } from './fundamental/autocomplete-search.js';
|
|
78
|
+
export type { AutocompleteSearchProps } from './fundamental/autocomplete-search.js';
|
|
79
|
+
export { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbPagePicker, BreadcrumbSeparator, } from './fundamental/breadcrumb.js';
|
|
80
|
+
export type { BreadcrumbPagePickerProps } from './fundamental/breadcrumb.js';
|
|
81
|
+
export { Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarInput, SidebarSearchButton, SidebarSearchTrigger, SidebarRail, SidebarSeparator, SidebarGroup, SidebarGroupAction, SidebarGroupLabel, SidebarGroupContent, SidebarMenu, SidebarMenuItem, SidebarMenuButton, SidebarMenuAction, SidebarMenuBadge, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubItem, SidebarMenuSubButton, SidebarInset, SidebarProvider, SidebarTrigger, useSidebar, } from './fundamental/sidebar.js';
|
|
82
|
+
export { AppFrame } from './product/app-frame.js';
|
|
83
|
+
export type { AppFrameProps, AppFrameNavItem, AppFrameUser, AppFrameTeam, AppFrameNavigationData, } from './product/app-frame.js';
|
|
84
|
+
export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, } from './fundamental/drawer.js';
|
|
85
|
+
export { Sheet, SheetPortal, SheetOverlay, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, } from './fundamental/sheet.js';
|
|
86
|
+
export type { SheetProps, SheetContentProps } from './fundamental/sheet.js';
|
|
87
|
+
export { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, DropdownMenuLabel, DropdownMenuGroup, } from './fundamental/dropdown-menu.js';
|
|
88
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, } from './fundamental/tooltip.js';
|
|
89
|
+
export { Toaster, toast } from './fundamental/toast.js';
|
|
90
|
+
export { Pagination } from './fundamental/pagination.js';
|
|
91
|
+
export type { PaginationProps } from './fundamental/pagination.js';
|
|
92
|
+
export { Progress } from './fundamental/progress.js';
|
|
93
|
+
export type { ProgressProps } from './fundamental/progress.js';
|
|
94
|
+
export { Popover, PopoverTrigger, PopoverContent } from './fundamental/popover.js';
|
|
95
|
+
export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption, TableSortHeader, TableGroupHeader, tableVariants, tableRowVariants, tableCellVariants, tableHeaderVariants, } from './fundamental/table.js';
|
|
96
|
+
export type { TableProps, TableRowProps, TableHeadProps, TableCellProps, TableSortHeaderProps, } from './fundamental/table.js';
|
|
97
|
+
export { DataTableSettingsMenu } from './product/data-table-settings-menu.js';
|
|
98
|
+
export type { DataTableSettingsMenuProps, ColumnOption } from './product/data-table-settings-menu.js';
|
|
99
|
+
export { ViewModeMenu } from './product/view-mode-menu.js';
|
|
100
|
+
export type { ViewModeMenuProps, ViewMode, ViewModeMenuHandle, ViewModeSettings } from './product/view-mode-menu.js';
|
|
101
|
+
export { cn } from '../lib/utils.js';
|
|
102
|
+
export declare const designTokens: {
|
|
103
|
+
readonly colors: {
|
|
104
|
+
readonly primary: "var(--color-surface-primary)";
|
|
105
|
+
readonly secondary: "var(--color-surface-secondary)";
|
|
106
|
+
readonly textPrimary: "var(--color-text-primary)";
|
|
107
|
+
readonly textSecondary: "var(--color-text-secondary)";
|
|
108
|
+
readonly textBrand: "var(--color-text-brand-bold)";
|
|
109
|
+
readonly backgroundBrand: "var(--color-background-blue-bold)";
|
|
110
|
+
readonly backgroundBrandSelected: "var(--color-background-blue-subtle-selected)";
|
|
111
|
+
readonly borderPrimary: "var(--color-border-primary-subtle)";
|
|
112
|
+
readonly borderBrand: "var(--color-border-brand-bold)";
|
|
113
|
+
readonly borderFocus: "var(--color-border-focused)";
|
|
114
|
+
};
|
|
115
|
+
readonly spacing: {
|
|
116
|
+
readonly xs: "var(--space-xs)";
|
|
117
|
+
readonly s: "var(--space-s)";
|
|
118
|
+
readonly m: "var(--space-m)";
|
|
119
|
+
readonly l: "var(--space-l)";
|
|
120
|
+
readonly xl: "var(--space-xl)";
|
|
121
|
+
readonly '2xl': "var(--space-2xl)";
|
|
122
|
+
readonly '3xl': "var(--space-3xl)";
|
|
123
|
+
readonly '4xl': "var(--space-4xl)";
|
|
124
|
+
};
|
|
125
|
+
readonly sizing: {
|
|
126
|
+
readonly xs: "var(--size-xs)";
|
|
127
|
+
readonly s: "var(--size-s)";
|
|
128
|
+
readonly m: "var(--size-m)";
|
|
129
|
+
readonly l: "var(--size-l)";
|
|
130
|
+
readonly xl: "var(--size-xl)";
|
|
131
|
+
readonly '2xl': "var(--size-2xl)";
|
|
132
|
+
readonly '3xl': "var(--size-3xl)";
|
|
133
|
+
readonly '4xl': "var(--size-4xl)";
|
|
134
|
+
};
|
|
135
|
+
};
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
export { Alert, AlertDescription, AlertTitle } from './fundamental/alert.js';
|
|
2
|
+
export type { AlertProps } from './fundamental/alert.js';
|
|
3
|
+
export { Avatar, AvatarImage, AvatarFallback, avatarVariants, avatarFallbackVariants } from './fundamental/avatar.js';
|
|
4
|
+
export type { AvatarProps, AvatarFallbackProps } from './fundamental/avatar.js';
|
|
5
|
+
export { AvatarGroup } from './fundamental/avatar-group.js';
|
|
6
|
+
export type { AvatarGroupProps, AvatarGroupSize } from './fundamental/avatar-group.js';
|
|
7
|
+
export { Badge } from './fundamental/badge.js';
|
|
8
|
+
export type { BadgeProps } from './fundamental/badge.js';
|
|
9
|
+
export { Collapsible, CollapsibleTrigger, CollapsibleContent } from './fundamental/collapsible.js';
|
|
10
|
+
export { Button } from './fundamental/button.js';
|
|
11
|
+
export type { ButtonProps } from './fundamental/button.js';
|
|
12
|
+
export { ButtonGroup, ButtonGroupText, ButtonGroupSeparator, buttonGroupVariants } from './fundamental/button-group.js';
|
|
13
|
+
export type { ButtonGroupProps, ButtonGroupTextProps, ButtonGroupSeparatorProps } from './fundamental/button-group.js';
|
|
14
|
+
export { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle } from './fundamental/card.js';
|
|
15
|
+
export { Checkbox, checkboxVariants } from './fundamental/checkbox.js';
|
|
16
|
+
export { RadioGroup, RadioGroupItem, radioGroupVariants, radioGroupItemVariants } from './fundamental/radio-group.js';
|
|
17
|
+
export type { RadioGroupProps, RadioGroupItemProps } from './fundamental/radio-group.js';
|
|
18
|
+
export { Input } from './fundamental/input.js';
|
|
19
|
+
export type { InputProps } from './fundamental/input.js';
|
|
20
|
+
export { InputGroup, InputGroupAddon, InputGroupButton, InputGroupText, InputGroupInput, InputGroupTextarea, inputGroupAddonVariants, } from './fundamental/input-group.js';
|
|
21
|
+
export type { InputGroupProps, InputGroupAddonProps, InputGroupButtonProps, InputGroupTextProps, InputGroupInputProps, InputGroupTextareaProps, } from './fundamental/input-group.js';
|
|
22
|
+
export { Label } from './fundamental/label.js';
|
|
23
|
+
export type { LabelProps } from './fundamental/label.js';
|
|
24
|
+
export { ScrollArea, ScrollBar } from './fundamental/scroll-area.js';
|
|
25
|
+
export { Separator } from './fundamental/separator.js';
|
|
26
|
+
export { Skeleton, SkeletonAvatar, SkeletonButton, SkeletonCard, SkeletonTable, skeletonVariants } from './fundamental/skeleton.js';
|
|
27
|
+
export { Spinner, LoadingOverlay, Pulse, ProgressDots } from './fundamental/spinner.js';
|
|
28
|
+
export type { SpinnerProps, LoadingOverlayProps } from './fundamental/spinner.js';
|
|
29
|
+
export { FixtureStatus, statusConfig } from './product/fixture-status.js';
|
|
30
|
+
export type { FixtureStatusProps, StatusValue, StatusConfig } from './product/fixture-status.js';
|
|
31
|
+
export { Switch } from './fundamental/switch.js';
|
|
32
|
+
export { Textarea } from './fundamental/textarea.js';
|
|
33
|
+
export type { TextareaProps } from './fundamental/textarea.js';
|
|
34
|
+
export { ActivityLog, ActivityLogItem, ActivityLogSeparator, ActivityLogHeader, ActivityLogContent, ActivityLogDescription, ActivityLogTime, ActivityLogChevron, ActivityLogValue, } from './product/activity-log.js';
|
|
35
|
+
export type { ActivityLogProps, ActivityLogItemProps, ActivityLogSeparatorProps, ActivityLogHeaderProps, ActivityLogContentProps, ActivityLogDescriptionProps, ActivityLogTimeProps, ActivityLogChevronProps, ActivityLogValueProps, } from './product/activity-log.js';
|
|
36
|
+
export { AttributesList, AttributesSeparator, AttributesGroup, AttributesItem, AttributesRow, AttributesLabel, AttributesValue, AttributesContent, AttributesChevron, } from './product/attributes-list.js';
|
|
37
|
+
export type { AttributesListProps, AttributesSeparatorProps, AttributesGroupProps, AttributesItemProps, AttributesRowProps, AttributesLabelProps, AttributesValueProps, AttributesContentProps, AttributesChevronProps, } from './product/attributes-list.js';
|
|
38
|
+
export { Editable, EditablePreview, EditableInput, EditableDisplay, EditableField } from './fundamental/editable.js';
|
|
39
|
+
export type { EditableProps, EditablePreviewProps, EditableInputProps } from './fundamental/editable.js';
|
|
40
|
+
export { FormField, FormLabel, FormControl, FormHelperText, FormErrorMessage } from './fundamental/form-field.js';
|
|
41
|
+
export type { FormFieldProps, FormLabelProps, FormControlProps, FormHelperTextProps, FormErrorMessageProps } from './fundamental/form-field.js';
|
|
42
|
+
export { Field, FieldSet, FieldLegend, FieldGroup, FieldContent, FieldLabel, FieldTitle, FieldDescription, FieldSeparator, FieldError, fieldVariants, fieldLegendVariants, } from './fundamental/form-field.js';
|
|
43
|
+
export type { FieldProps, FieldSetProps, FieldLegendProps, FieldGroupProps, FieldContentProps, FieldLabelProps, FieldTitleProps, FieldDescriptionProps, FieldSeparatorProps, FieldErrorProps } from './fundamental/form-field.js';
|
|
44
|
+
export { Tabs, TabsList, TabsTrigger, TabsContent, TabsGroupLabel } from './fundamental/tabs.js';
|
|
45
|
+
export type { TabsProps, TabsListProps, TabsTriggerProps, TabsGroupLabelProps } from './fundamental/tabs.js';
|
|
46
|
+
export { Toggle } from './fundamental/toggle.js';
|
|
47
|
+
export type { ToggleProps } from './fundamental/toggle.js';
|
|
48
|
+
export { ToggleGroup, ToggleGroupItem } from './fundamental/toggle-group.js';
|
|
49
|
+
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectSeparator, SelectTrigger, SelectValue, selectTriggerVariants, selectContentVariants, selectItemVariants, } from './fundamental/select.js';
|
|
50
|
+
export type { SelectTriggerProps, SelectContentProps, SelectItemProps } from './fundamental/select.js';
|
|
51
|
+
export { TextLink } from './fundamental/text-link.js';
|
|
52
|
+
export type { TextLinkProps } from './fundamental/text-link.js';
|
|
53
|
+
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger, } from './fundamental/accordion.js';
|
|
54
|
+
export { Dialog, DialogPortal, DialogOverlay, DialogClose, DialogTrigger, DialogContent, DialogHeader, DialogBody, DialogFooter, DialogTitle, } from './fundamental/dialog.js';
|
|
55
|
+
export { AlertDialog, AlertDialogAction, AlertDialogCancel, AlertDialogContent, AlertDialogBody, AlertDialogFooter, AlertDialogHeader, AlertDialogTitle, AlertDialogTrigger, } from './fundamental/alert-dialog.js';
|
|
56
|
+
export { Empty, EmptyHeader, EmptyMedia, EmptyTitle, EmptyDescription, EmptyContent, } from './fundamental/empty.js';
|
|
57
|
+
export type { EmptyProps, EmptyMediaProps, EmptyTitleProps, EmptyDescriptionProps, } from './fundamental/empty.js';
|
|
58
|
+
export { Flag } from './fundamental/flag.js';
|
|
59
|
+
export type { FlagProps, FlagSize } from './fundamental/flag.js';
|
|
60
|
+
export { FileUpload } from './fundamental/file-upload.js';
|
|
61
|
+
export type { FileUploadFile, FileUploadProps, FileUploadDropzoneProps, FileUploadTriggerProps, FileUploadListProps, FileUploadItemProps, FileUploadItemPreviewProps, FileUploadItemMetadataProps, FileUploadItemProgressProps, FileUploadItemDeleteProps, } from './fundamental/file-upload.js';
|
|
62
|
+
export { HoverCard, HoverCardTrigger, HoverCardContent } from './fundamental/hover-card.js';
|
|
63
|
+
export { Slider } from './fundamental/slider.js';
|
|
64
|
+
export { Tag, TagGroup } from './fundamental/tag.js';
|
|
65
|
+
export type { TagProps, TagGroupProps, TagDotColor, TagIntent, TagVariant } from './fundamental/tag.js';
|
|
66
|
+
export { Tree } from './fundamental/tree.js';
|
|
67
|
+
export type { TreeProps, TreeDataItem } from './fundamental/tree.js';
|
|
68
|
+
export { Icon } from './fundamental/icon.js';
|
|
69
|
+
export type { IconColor, IconSize, CustomIconName } from './fundamental/icon.js';
|
|
70
|
+
export { Kbd, KbdGroup } from './fundamental/kbd.js';
|
|
71
|
+
export type { KbdProps, KbdGroupProps } from './fundamental/kbd.js';
|
|
72
|
+
export { MonthPicker } from './fundamental/month-picker.js';
|
|
73
|
+
export type { MonthPickerProps } from './fundamental/month-picker.js';
|
|
74
|
+
export { CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, } from './fundamental/command.js';
|
|
75
|
+
export { Combobox, MultiCombobox } from './fundamental/combobox.js';
|
|
76
|
+
export type { ComboboxProps, ComboboxOption, ComboboxTriggerProps, MultiComboboxProps, MultiComboboxTriggerProps, } from './fundamental/combobox.js';
|
|
77
|
+
export { AutocompleteSearch } from './fundamental/autocomplete-search.js';
|
|
78
|
+
export type { AutocompleteSearchProps } from './fundamental/autocomplete-search.js';
|
|
79
|
+
export { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbPagePicker, BreadcrumbSeparator, } from './fundamental/breadcrumb.js';
|
|
80
|
+
export type { BreadcrumbPagePickerProps } from './fundamental/breadcrumb.js';
|
|
81
|
+
export { Sidebar, SidebarContent, SidebarFooter, SidebarHeader, SidebarInput, SidebarSearchButton, SidebarSearchTrigger, SidebarRail, SidebarSeparator, SidebarGroup, SidebarGroupAction, SidebarGroupLabel, SidebarGroupContent, SidebarMenu, SidebarMenuItem, SidebarMenuButton, SidebarMenuAction, SidebarMenuBadge, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubItem, SidebarMenuSubButton, SidebarInset, SidebarProvider, SidebarTrigger, useSidebar, } from './fundamental/sidebar.js';
|
|
82
|
+
export { AppFrame } from './product/app-frame.js';
|
|
83
|
+
export type { AppFrameProps, AppFrameNavItem, AppFrameUser, AppFrameTeam, AppFrameNavigationData, } from './product/app-frame.js';
|
|
84
|
+
export { Drawer, DrawerPortal, DrawerOverlay, DrawerTrigger, DrawerClose, DrawerContent, DrawerHeader, DrawerFooter, DrawerTitle, DrawerDescription, } from './fundamental/drawer.js';
|
|
85
|
+
export { Sheet, SheetPortal, SheetOverlay, SheetTrigger, SheetClose, SheetContent, SheetHeader, SheetFooter, SheetTitle, SheetDescription, } from './fundamental/sheet.js';
|
|
86
|
+
export type { SheetProps, SheetContentProps } from './fundamental/sheet.js';
|
|
87
|
+
export { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, DropdownMenuLabel, DropdownMenuGroup, } from './fundamental/dropdown-menu.js';
|
|
88
|
+
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, } from './fundamental/tooltip.js';
|
|
89
|
+
export { Toaster, toast } from './fundamental/toast.js';
|
|
90
|
+
export { Pagination } from './fundamental/pagination.js';
|
|
91
|
+
export type { PaginationProps } from './fundamental/pagination.js';
|
|
92
|
+
export { Progress } from './fundamental/progress.js';
|
|
93
|
+
export type { ProgressProps } from './fundamental/progress.js';
|
|
94
|
+
export { Popover, PopoverTrigger, PopoverContent } from './fundamental/popover.js';
|
|
95
|
+
export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption, TableSortHeader, TableGroupHeader, tableVariants, tableRowVariants, tableCellVariants, tableHeaderVariants, } from './fundamental/table.js';
|
|
96
|
+
export type { TableProps, TableRowProps, TableHeadProps, TableCellProps, TableSortHeaderProps, } from './fundamental/table.js';
|
|
97
|
+
export { DataTableSettingsMenu } from './product/data-table-settings-menu.js';
|
|
98
|
+
export type { DataTableSettingsMenuProps, ColumnOption } from './product/data-table-settings-menu.js';
|
|
99
|
+
export { ViewModeMenu } from './product/view-mode-menu.js';
|
|
100
|
+
export type { ViewModeMenuProps, ViewMode, ViewModeMenuHandle, ViewModeSettings } from './product/view-mode-menu.js';
|
|
101
|
+
export { cn } from '../lib/utils.js';
|
|
102
|
+
export declare const designTokens: {
|
|
103
|
+
readonly colors: {
|
|
104
|
+
readonly primary: "var(--color-surface-primary)";
|
|
105
|
+
readonly secondary: "var(--color-surface-secondary)";
|
|
106
|
+
readonly textPrimary: "var(--color-text-primary)";
|
|
107
|
+
readonly textSecondary: "var(--color-text-secondary)";
|
|
108
|
+
readonly textBrand: "var(--color-text-brand-bold)";
|
|
109
|
+
readonly backgroundBrand: "var(--color-background-blue-bold)";
|
|
110
|
+
readonly backgroundBrandSelected: "var(--color-background-blue-subtle-selected)";
|
|
111
|
+
readonly borderPrimary: "var(--color-border-primary-subtle)";
|
|
112
|
+
readonly borderBrand: "var(--color-border-brand-bold)";
|
|
113
|
+
readonly borderFocus: "var(--color-border-focused)";
|
|
114
|
+
};
|
|
115
|
+
readonly spacing: {
|
|
116
|
+
readonly xs: "var(--space-xs)";
|
|
117
|
+
readonly s: "var(--space-s)";
|
|
118
|
+
readonly m: "var(--space-m)";
|
|
119
|
+
readonly l: "var(--space-l)";
|
|
120
|
+
readonly xl: "var(--space-xl)";
|
|
121
|
+
readonly '2xl': "var(--space-2xl)";
|
|
122
|
+
readonly '3xl': "var(--space-3xl)";
|
|
123
|
+
readonly '4xl': "var(--space-4xl)";
|
|
124
|
+
};
|
|
125
|
+
readonly sizing: {
|
|
126
|
+
readonly xs: "var(--size-xs)";
|
|
127
|
+
readonly s: "var(--size-s)";
|
|
128
|
+
readonly m: "var(--size-m)";
|
|
129
|
+
readonly l: "var(--size-l)";
|
|
130
|
+
readonly xl: "var(--size-xl)";
|
|
131
|
+
readonly '2xl': "var(--size-2xl)";
|
|
132
|
+
readonly '3xl': "var(--size-3xl)";
|
|
133
|
+
readonly '4xl': "var(--size-4xl)";
|
|
134
|
+
};
|
|
135
|
+
};
|
|
@@ -2,13 +2,13 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import * as AvatarPrimitive from "@radix-ui/react-avatar";
|
|
4
4
|
declare const avatarVariants: (props?: ({
|
|
5
|
-
size?: "
|
|
5
|
+
size?: "xxs" | "xs" | "s" | "m" | "l" | "xl" | null | undefined;
|
|
6
6
|
type?: "user" | "organization" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
declare const avatarFallbackVariants: (props?: ({
|
|
9
|
-
size?: "
|
|
9
|
+
size?: "xxs" | "xs" | "s" | "m" | "l" | "xl" | null | undefined;
|
|
10
10
|
type?: "user" | "organization" | null | undefined;
|
|
11
|
-
variant?: "success" | "warning" | "
|
|
11
|
+
variant?: "success" | "warning" | "information" | "error" | "violet" | "magenta" | null | undefined;
|
|
12
12
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
13
13
|
interface AvatarProps extends React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Root>, VariantProps<typeof avatarVariants> {
|
|
14
14
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const badgeVariants: (props?: ({
|
|
4
|
-
intent?: "success" | "warning" | "destructive" | "
|
|
4
|
+
intent?: "success" | "warning" | "destructive" | "information" | "violet" | "magenta" | "neutral" | "brand" | null | undefined;
|
|
5
5
|
appearance?: "bold" | "subtle" | null | undefined;
|
|
6
|
-
size?: "
|
|
6
|
+
size?: "xs" | "s" | "m" | "l" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
8
|
declare const iconSizeClasses: {
|
|
9
9
|
readonly xs: "w-3 h-3";
|
|
@@ -2,7 +2,7 @@ import { VariantProps } from 'class-variance-authority';
|
|
|
2
2
|
import { Separator } from './separator.js';
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
declare const buttonGroupVariants: (props?: ({
|
|
5
|
-
orientation?: "
|
|
5
|
+
orientation?: "horizontal" | "vertical" | null | undefined;
|
|
6
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
7
|
export interface ButtonGroupProps extends React.ComponentProps<"div">, VariantProps<typeof buttonGroupVariants> {
|
|
8
8
|
size?: "s" | "m" | "l";
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { DayPickerProps } from 'react-day-picker';
|
|
2
|
+
export type CalendarProps = DayPickerProps;
|
|
3
|
+
declare function Calendar(calendarProps: CalendarProps): import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
declare namespace Calendar {
|
|
5
|
+
var displayName: string;
|
|
6
|
+
}
|
|
7
|
+
export { Calendar };
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
export declare const formatNumber: (value: number, decimals?: number) => string;
|
|
2
|
+
export declare const chartColorSchemes: {
|
|
3
|
+
readonly bar: readonly ["var(--color-chart-bar-1)", "var(--color-chart-bar-2)", "var(--color-chart-bar-3)", "var(--color-chart-bar-4)", "var(--color-chart-bar-5)", "var(--color-chart-bar-6)"];
|
|
4
|
+
readonly line: readonly ["var(--color-chart-line-1)", "var(--color-chart-line-2)", "var(--color-chart-line-3)", "var(--color-chart-line-4)", "var(--color-chart-line-5)"];
|
|
5
|
+
readonly scatter: readonly ["var(--color-chart-scatter-1)", "var(--color-chart-scatter-2)", "var(--color-chart-scatter-3)", "var(--color-chart-scatter-4)", "var(--color-chart-scatter-5)", "var(--color-chart-scatter-6)"];
|
|
6
|
+
readonly area: readonly ["var(--color-chart-area-1)", "var(--color-chart-area-2)", "var(--color-chart-area-3)", "var(--color-chart-area-4)", "var(--color-chart-area-5)", "var(--color-chart-area-6)"];
|
|
7
|
+
readonly accessible: readonly ["#0066CC", "#CC6600", "#009966", "#CC0066", "#6600CC", "#CC9900", "#006666", "#CC0000"];
|
|
8
|
+
};
|
|
9
|
+
export type ChartType = "bar" | "horizontal-bar" | "line" | "scatter" | "composed";
|
|
10
|
+
export type ChartColorScheme = keyof typeof chartColorSchemes;
|
|
11
|
+
export interface ChartDataPoint {
|
|
12
|
+
[key: string]: string | number | number[];
|
|
13
|
+
}
|
|
14
|
+
export interface ChartConfig {
|
|
15
|
+
[key: string]: {
|
|
16
|
+
label: string;
|
|
17
|
+
color?: string;
|
|
18
|
+
type?: "bar" | "line" | "area" | "range-area";
|
|
19
|
+
stroke?: string;
|
|
20
|
+
fill?: string;
|
|
21
|
+
showDots?: boolean;
|
|
22
|
+
strokeStyle?: "solid" | "dashed" | "dotted";
|
|
23
|
+
yAxisId?: "left" | "right";
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export interface ChartMargin {
|
|
27
|
+
top: number;
|
|
28
|
+
right: number;
|
|
29
|
+
bottom: number;
|
|
30
|
+
left: number;
|
|
31
|
+
}
|
|
32
|
+
export interface ReferenceMarkerDataPoint {
|
|
33
|
+
yValue: number;
|
|
34
|
+
label?: string;
|
|
35
|
+
shape?: 'circle' | 'triangle' | 'square';
|
|
36
|
+
size?: number;
|
|
37
|
+
fill?: string;
|
|
38
|
+
stroke?: string;
|
|
39
|
+
strokeWidth?: number;
|
|
40
|
+
}
|
|
41
|
+
export interface ReferenceMarker {
|
|
42
|
+
xValue: string | number;
|
|
43
|
+
showLine?: boolean;
|
|
44
|
+
lineStyle?: {
|
|
45
|
+
stroke?: string;
|
|
46
|
+
strokeWidth?: number;
|
|
47
|
+
strokeDasharray?: string;
|
|
48
|
+
};
|
|
49
|
+
tooltipLabel?: string;
|
|
50
|
+
dataPoints: ReferenceMarkerDataPoint[];
|
|
51
|
+
}
|
|
52
|
+
export interface ChartProps {
|
|
53
|
+
type: ChartType;
|
|
54
|
+
data: ChartDataPoint[];
|
|
55
|
+
config: ChartConfig;
|
|
56
|
+
className?: string;
|
|
57
|
+
height?: number;
|
|
58
|
+
width?: number;
|
|
59
|
+
minWidth?: number;
|
|
60
|
+
onDataPointClick?: (data: ChartDataPoint, index: number) => void;
|
|
61
|
+
onDataPointHover?: (data: ChartDataPoint | null, index?: number) => void;
|
|
62
|
+
highlightedIndex?: number;
|
|
63
|
+
showGrid?: boolean;
|
|
64
|
+
showLegend?: boolean;
|
|
65
|
+
showTooltip?: boolean;
|
|
66
|
+
colorScheme?: ChartColorScheme;
|
|
67
|
+
responsive?: boolean;
|
|
68
|
+
maintainAspectRatio?: boolean;
|
|
69
|
+
legendHeight?: number;
|
|
70
|
+
margin?: Partial<ChartMargin>;
|
|
71
|
+
yAxisWidth?: number;
|
|
72
|
+
yAxisTickCount?: number;
|
|
73
|
+
yAxisDomain?: [number | 'auto' | 'dataMin' | 'dataMax', number | 'auto' | 'dataMin' | 'dataMax'];
|
|
74
|
+
xAxisTickFormatter?: (value: any, index: number) => string;
|
|
75
|
+
yAxisTickFormatter?: (value: any, index: number) => string;
|
|
76
|
+
showRightYAxis?: boolean;
|
|
77
|
+
rightYAxisWidth?: number;
|
|
78
|
+
rightYAxisTickCount?: number;
|
|
79
|
+
rightYAxisDomain?: [number | 'auto' | 'dataMin' | 'dataMax', number | 'auto' | 'dataMin' | 'dataMax'];
|
|
80
|
+
rightYAxisTickFormatter?: (value: any, index: number) => string;
|
|
81
|
+
title?: string;
|
|
82
|
+
description?: string;
|
|
83
|
+
showDataTable?: boolean;
|
|
84
|
+
tooltipMaxWidth?: string;
|
|
85
|
+
tooltipAllowEscapeViewBox?: {
|
|
86
|
+
x?: boolean;
|
|
87
|
+
y?: boolean;
|
|
88
|
+
};
|
|
89
|
+
legendOrder?: string[];
|
|
90
|
+
legendPosition?: 'bottom';
|
|
91
|
+
referenceMarkers?: ReferenceMarker[];
|
|
92
|
+
}
|
|
93
|
+
export declare function Chart({ type, data, config, className, height, width, minWidth, onDataPointClick, onDataPointHover, highlightedIndex, showGrid, showLegend, showTooltip, colorScheme, responsive, maintainAspectRatio, legendHeight, margin, yAxisWidth, yAxisTickCount, xAxisTickFormatter, yAxisTickFormatter, showRightYAxis, rightYAxisWidth, rightYAxisTickCount, rightYAxisDomain, rightYAxisTickFormatter, title, description, showDataTable, tooltipMaxWidth, tooltipAllowEscapeViewBox, legendOrder, legendPosition, referenceMarkers, yAxisDomain, ...props }: ChartProps): import("react/jsx-runtime").JSX.Element;
|
|
94
|
+
export declare const generateChartColors: (count: number, scheme?: ChartColorScheme) => ("var(--color-chart-bar-1)" | "var(--color-chart-bar-2)" | "var(--color-chart-bar-3)" | "var(--color-chart-bar-4)" | "var(--color-chart-bar-5)" | "var(--color-chart-bar-6)" | "var(--color-chart-line-1)" | "var(--color-chart-line-2)" | "var(--color-chart-line-3)" | "var(--color-chart-line-4)" | "var(--color-chart-line-5)" | "var(--color-chart-scatter-1)" | "var(--color-chart-scatter-2)" | "var(--color-chart-scatter-3)" | "var(--color-chart-scatter-4)" | "var(--color-chart-scatter-5)" | "var(--color-chart-scatter-6)" | "var(--color-chart-area-1)" | "var(--color-chart-area-2)" | "var(--color-chart-area-3)" | "var(--color-chart-area-4)" | "var(--color-chart-area-5)" | "var(--color-chart-area-6)" | "#0066CC" | "#CC6600" | "#009966" | "#CC0066" | "#6600CC" | "#CC9900" | "#006666" | "#CC0000")[];
|
|
95
|
+
export declare const createChartConfig: (input: ChartConfig | string[], labels?: string[], colors?: string[]) => ChartConfig;
|
|
@@ -74,7 +74,7 @@ declare const CommandItem: React.ForwardRefExoticComponent<Omit<{
|
|
|
74
74
|
ref?: React.Ref<HTMLDivElement>;
|
|
75
75
|
} & {
|
|
76
76
|
asChild?: boolean;
|
|
77
|
-
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "onSelect" | "
|
|
77
|
+
}, "key" | "asChild" | keyof React.HTMLAttributes<HTMLDivElement>>, "onSelect" | "disabled" | "value"> & {
|
|
78
78
|
disabled?: boolean;
|
|
79
79
|
onSelect?: (value: string) => void;
|
|
80
80
|
value?: string;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export interface Country {
|
|
2
|
+
name: string;
|
|
3
|
+
alpha2: string;
|
|
4
|
+
alpha3: string;
|
|
5
|
+
numeric: string;
|
|
6
|
+
emoji?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface CountryDropdownTriggerProps {
|
|
9
|
+
open: boolean;
|
|
10
|
+
selectedCountry: Country | undefined;
|
|
11
|
+
placeholder: string;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface CountryDropdownProps {
|
|
15
|
+
value?: string;
|
|
16
|
+
onValueChange?: (value: string) => void;
|
|
17
|
+
placeholder?: string;
|
|
18
|
+
searchPlaceholder?: string;
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
className?: string;
|
|
21
|
+
flagSize?: number;
|
|
22
|
+
showFlag?: boolean;
|
|
23
|
+
showCode?: boolean;
|
|
24
|
+
variant?: "default" | "slim";
|
|
25
|
+
priorityCountries?: string[];
|
|
26
|
+
trigger?: (props: CountryDropdownTriggerProps) => React.ReactNode;
|
|
27
|
+
clearable?: boolean;
|
|
28
|
+
}
|
|
29
|
+
export declare function CountryDropdown({ value, onValueChange, placeholder, searchPlaceholder, disabled, className, flagSize, showFlag, showCode, variant, priorityCountries, trigger, clearable, }: CountryDropdownProps): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
export declare function useCountryData(): {
|
|
31
|
+
countries: Country[];
|
|
32
|
+
getCountryByCode: (code: string) => Country | undefined;
|
|
33
|
+
getCountryByName: (name: string) => Country | undefined;
|
|
34
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface DatePickerProps {
|
|
3
|
+
date?: Date;
|
|
4
|
+
onDateChange?: (date: Date | undefined) => void;
|
|
5
|
+
placeholder?: string;
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
className?: string;
|
|
8
|
+
formatStr?: string;
|
|
9
|
+
fromDate?: Date;
|
|
10
|
+
toDate?: Date;
|
|
11
|
+
}
|
|
12
|
+
declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
13
|
+
export interface DateRangePickerProps {
|
|
14
|
+
dateRange?: {
|
|
15
|
+
from: Date | undefined;
|
|
16
|
+
to: Date | undefined;
|
|
17
|
+
};
|
|
18
|
+
onDateRangeChange?: (range: {
|
|
19
|
+
from: Date | undefined;
|
|
20
|
+
to: Date | undefined;
|
|
21
|
+
}) => void;
|
|
22
|
+
placeholder?: string;
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
className?: string;
|
|
25
|
+
formatStr?: string;
|
|
26
|
+
fromDate?: Date;
|
|
27
|
+
toDate?: Date;
|
|
28
|
+
}
|
|
29
|
+
declare const DateRangePicker: React.ForwardRefExoticComponent<DateRangePickerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
30
|
+
export { DatePicker, DateRangePicker };
|
|
@@ -14,7 +14,7 @@ export interface FieldGroupProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
14
14
|
}
|
|
15
15
|
declare const FieldGroup: React.ForwardRefExoticComponent<FieldGroupProps & React.RefAttributes<HTMLDivElement>>;
|
|
16
16
|
declare const fieldVariants: (props?: ({
|
|
17
|
-
orientation?: "
|
|
17
|
+
orientation?: "horizontal" | "vertical" | "responsive" | null | undefined;
|
|
18
18
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
19
19
|
export interface FieldProps extends React.HTMLAttributes<HTMLDivElement>, VariantProps<typeof fieldVariants> {
|
|
20
20
|
invalid?: boolean;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import * as ResizablePrimitive from "react-resizable-panels";
|
|
2
|
+
declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
+
declare const ResizablePanel: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLDivElement | HTMLElement | HTMLHeadingElement | HTMLSpanElement | HTMLObjectElement | HTMLStyleElement | HTMLSlotElement | HTMLTitleElement | HTMLLinkElement | HTMLMapElement | HTMLButtonElement | HTMLDialogElement | HTMLFormElement | HTMLImageElement | HTMLOptionElement | HTMLTableElement | HTMLAnchorElement | HTMLInputElement | HTMLLabelElement | HTMLLIElement | HTMLOListElement | HTMLParagraphElement | HTMLSelectElement | HTMLUListElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLLegendElement | HTMLMetaElement | HTMLMeterElement | HTMLOptGroupElement | HTMLOutputElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSourceElement | HTMLTemplateElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTableRowElement | HTMLTrackElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
|
|
4
|
+
className?: string;
|
|
5
|
+
collapsedSize?: number | undefined;
|
|
6
|
+
collapsible?: boolean | undefined;
|
|
7
|
+
defaultSize?: number | undefined;
|
|
8
|
+
id?: string;
|
|
9
|
+
maxSize?: number | undefined;
|
|
10
|
+
minSize?: number | undefined;
|
|
11
|
+
onCollapse?: ResizablePrimitive.PanelOnCollapse;
|
|
12
|
+
onExpand?: ResizablePrimitive.PanelOnExpand;
|
|
13
|
+
onResize?: ResizablePrimitive.PanelOnResize;
|
|
14
|
+
order?: number;
|
|
15
|
+
style?: object;
|
|
16
|
+
tagName?: keyof HTMLElementTagNameMap | undefined;
|
|
17
|
+
} & {
|
|
18
|
+
children?: import('react').ReactNode | undefined;
|
|
19
|
+
} & import('react').RefAttributes<ResizablePrimitive.ImperativePanelHandle>>;
|
|
20
|
+
declare const ResizableHandle: ({ withHandle, className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelResizeHandle> & {
|
|
21
|
+
withHandle?: boolean;
|
|
22
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export { ResizablePanelGroup, ResizablePanel, ResizableHandle };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as ResizablePrimitive from "react-resizable-panels";
|
|
2
2
|
declare const ResizablePanelGroup: ({ className, ...props }: React.ComponentProps<typeof ResizablePrimitive.PanelGroup>) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare const ResizablePanel: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLDivElement | HTMLElement | HTMLHeadingElement |
|
|
3
|
+
declare const ResizablePanel: import('react').ForwardRefExoticComponent<Omit<import('react').HTMLAttributes<HTMLDivElement | HTMLElement | HTMLHeadingElement | HTMLSpanElement | HTMLObjectElement | HTMLStyleElement | HTMLSlotElement | HTMLTitleElement | HTMLLinkElement | HTMLMapElement | HTMLButtonElement | HTMLDialogElement | HTMLFormElement | HTMLImageElement | HTMLOptionElement | HTMLTableElement | HTMLAnchorElement | HTMLInputElement | HTMLLabelElement | HTMLLIElement | HTMLOListElement | HTMLParagraphElement | HTMLSelectElement | HTMLUListElement | HTMLAreaElement | HTMLAudioElement | HTMLBaseElement | HTMLQuoteElement | HTMLBodyElement | HTMLBRElement | HTMLCanvasElement | HTMLTableColElement | HTMLDataElement | HTMLDataListElement | HTMLModElement | HTMLDetailsElement | HTMLDListElement | HTMLEmbedElement | HTMLFieldSetElement | HTMLHeadElement | HTMLHRElement | HTMLHtmlElement | HTMLIFrameElement | HTMLLegendElement | HTMLMetaElement | HTMLMeterElement | HTMLOptGroupElement | HTMLOutputElement | HTMLPreElement | HTMLProgressElement | HTMLScriptElement | HTMLSourceElement | HTMLTemplateElement | HTMLTableSectionElement | HTMLTableCellElement | HTMLTextAreaElement | HTMLTimeElement | HTMLTableRowElement | HTMLTrackElement | HTMLVideoElement | HTMLTableCaptionElement | HTMLMenuElement | HTMLPictureElement>, "id" | "onResize"> & {
|
|
4
4
|
className?: string;
|
|
5
5
|
collapsedSize?: number | undefined;
|
|
6
6
|
collapsible?: boolean | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
declare const spinnerVariants: (props?: ({
|
|
4
|
-
size?: "
|
|
4
|
+
size?: "xs" | "s" | "m" | "l" | "xl" | "2xl" | null | undefined;
|
|
5
5
|
variant?: "default" | "success" | "warning" | "error" | "disabled" | "primary" | "secondary" | "tertiary" | "inverse" | null | undefined;
|
|
6
6
|
speed?: "normal" | "slow" | "fast" | null | undefined;
|
|
7
7
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
@@ -9,15 +9,15 @@ declare const tableRowVariants: (props?: ({
|
|
|
9
9
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
10
|
declare const tableCellVariants: (props?: ({
|
|
11
11
|
size?: "s" | "m" | "l" | null | undefined;
|
|
12
|
-
align?: "
|
|
13
|
-
verticalAlign?: "
|
|
12
|
+
align?: "center" | "left" | "right" | null | undefined;
|
|
13
|
+
verticalAlign?: "middle" | "bottom" | "top" | null | undefined;
|
|
14
14
|
numeric?: boolean | null | undefined;
|
|
15
15
|
showBorder?: boolean | null | undefined;
|
|
16
16
|
showRowBorder?: boolean | null | undefined;
|
|
17
17
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
18
18
|
declare const tableHeaderVariants: (props?: ({
|
|
19
19
|
size?: "s" | "m" | "l" | null | undefined;
|
|
20
|
-
align?: "
|
|
20
|
+
align?: "center" | "left" | "right" | null | undefined;
|
|
21
21
|
numeric?: boolean | null | undefined;
|
|
22
22
|
showBorder?: boolean | null | undefined;
|
|
23
23
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|