@pos-360/horizon 0.14.0 → 0.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-US6BPM62.mjs → chunk-6YUIM6WB.mjs} +192 -14
- package/dist/chunk-6YUIM6WB.mjs.map +1 -0
- package/dist/{chunk-BVQVZKMM.js → chunk-AJP6WOSY.js} +191 -12
- package/dist/chunk-AJP6WOSY.js.map +1 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +105 -97
- package/dist/index.mjs +1 -1
- package/dist/primitives.d.mts +38 -4
- package/dist/primitives.d.ts +38 -4
- package/dist/primitives.js +105 -97
- package/dist/primitives.mjs +1 -1
- package/package.json +1 -1
- package/dist/chunk-BVQVZKMM.js.map +0 -1
- package/dist/chunk-US6BPM62.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Badge, BadgeProps, Button, ButtonProps, Caption, CaptionProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Code, CodeProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormControlProps, FormDescription, FormDescriptionProps, FormField, FormFieldProps, FormLabel, FormLabelProps, FormMessage, FormMessageProps, FormProps, Heading, HeadingProps, Label, LabelProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SegmentedControlRadius, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeparatorProps, Skeleton, SkeletonAvatar, SkeletonBadge, SkeletonButton, SkeletonCard, SkeletonIcon, SkeletonInput, SkeletonSubtitle, SkeletonTableRow, SkeletonTableRows, SkeletonText, SkeletonTitle, Switch, SwitchProps, Table, TableBody, TableCaption, TableCell, TableCellProps, TableFooter, TableHead, TableHeader, TableRow, TableRowCheckbox, TableSelectAll, Tabs, TabsContent, TabsList, TabsTrigger, TabsVariant, Text, TextProps, Textarea, TextareaProps, Toggle, ToggleOption, ToggleProps, ToggleRadius, badgeVariants, buttonVariants, captionVariants, codeVariants, headingVariants, labelVariants, segmentedControlItemVariants, segmentedControlVariants, separatorVariants, switchLabelVariants, switchThumbVariants, switchTrackVariants, textVariants, toggleGroupVariants, toggleItemVariants, useFormContext, useFormFieldContext, useTableSelection } from './primitives.mjs';
|
|
1
|
+
export { Badge, BadgeProps, Button, ButtonProps, Caption, CaptionProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Code, CodeProps, ColumnDef, ColumnPicker, ColumnPickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormControlProps, FormDescription, FormDescriptionProps, FormField, FormFieldProps, FormLabel, FormLabelProps, FormMessage, FormMessageProps, FormProps, Heading, HeadingProps, Label, LabelProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SegmentedControlRadius, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeparatorProps, Skeleton, SkeletonAvatar, SkeletonBadge, SkeletonButton, SkeletonCard, SkeletonIcon, SkeletonInput, SkeletonSubtitle, SkeletonTableRow, SkeletonTableRows, SkeletonText, SkeletonTitle, Switch, SwitchProps, Table, TableBody, TableCaption, TableCell, TableCellProps, TableFooter, TableHead, TableHeader, TableRow, TableRowCheckbox, TableSelectAll, Tabs, TabsContent, TabsList, TabsTrigger, TabsVariant, Text, TextProps, Textarea, TextareaProps, Toggle, ToggleOption, ToggleProps, ToggleRadius, badgeVariants, buttonVariants, captionVariants, codeVariants, headingVariants, labelVariants, segmentedControlItemVariants, segmentedControlVariants, separatorVariants, switchLabelVariants, switchThumbVariants, switchTrackVariants, textVariants, toggleGroupVariants, toggleItemVariants, useColumnVisibility, useFormContext, useFormFieldContext, useTableSelection } from './primitives.mjs';
|
|
2
2
|
export { AccentColor, AnimatedButton, AnimatedButtonProps, BarChartData, Breakpoint, ChartConfig, ChartRenderer, CompactPanel, CompactPanelProps, Dashboard, DashboardPanel, DashboardPanelProps, DashboardProps, DashboardTableRow, DonutChartData, Input, InputProps, LargePanel, LargePanelChartProps, LargePanelProps, LargePanelStatsProps, LargePanelTableProps, LineChartData, MediumPanel, MediumPanelProps, MediumPanelTableProps, ResponsiveValue, SideNav, SideNavContextValue, SideNavFooter, SideNavFooterProps, SideNavHeader, SideNavHeaderProps, SideNavItem, SideNavItemData, SideNavItemProps, SideNavProps, SideNavSection, SideNavSectionData, SideNavSectionProps, StatData, StatDisplay, TableCellValue, TableColumn, TableConfig, TablePagination, TableRenderer, Template, TemplateSelector, TemplateSelectorProps, TextButton, TextButtonProps, TrendData, useDashboardContext, useSideNavContext } from './enhanced.mjs';
|
|
3
3
|
export { T as Toast, a as ToastProps } from './toast-cr-vEOyB.mjs';
|
|
4
4
|
export { ArrowRightIcon, ArrowRightIconHandle, ArrowRightIconProps, CheckIcon, CheckIconHandle, CheckIconProps, PlusIcon, PlusIconHandle, PlusIconProps, SendIcon, SendIconHandle, SendIconProps, TrashIcon, TrashIconHandle, TrashIconProps } from './animated-icons.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Badge, BadgeProps, Button, ButtonProps, Caption, CaptionProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Code, CodeProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormControlProps, FormDescription, FormDescriptionProps, FormField, FormFieldProps, FormLabel, FormLabelProps, FormMessage, FormMessageProps, FormProps, Heading, HeadingProps, Label, LabelProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SegmentedControlRadius, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeparatorProps, Skeleton, SkeletonAvatar, SkeletonBadge, SkeletonButton, SkeletonCard, SkeletonIcon, SkeletonInput, SkeletonSubtitle, SkeletonTableRow, SkeletonTableRows, SkeletonText, SkeletonTitle, Switch, SwitchProps, Table, TableBody, TableCaption, TableCell, TableCellProps, TableFooter, TableHead, TableHeader, TableRow, TableRowCheckbox, TableSelectAll, Tabs, TabsContent, TabsList, TabsTrigger, TabsVariant, Text, TextProps, Textarea, TextareaProps, Toggle, ToggleOption, ToggleProps, ToggleRadius, badgeVariants, buttonVariants, captionVariants, codeVariants, headingVariants, labelVariants, segmentedControlItemVariants, segmentedControlVariants, separatorVariants, switchLabelVariants, switchThumbVariants, switchTrackVariants, textVariants, toggleGroupVariants, toggleItemVariants, useFormContext, useFormFieldContext, useTableSelection } from './primitives.js';
|
|
1
|
+
export { Badge, BadgeProps, Button, ButtonProps, Caption, CaptionProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Code, CodeProps, ColumnDef, ColumnPicker, ColumnPickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormControlProps, FormDescription, FormDescriptionProps, FormField, FormFieldProps, FormLabel, FormLabelProps, FormMessage, FormMessageProps, FormProps, Heading, HeadingProps, Label, LabelProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, SegmentedControl, SegmentedControlOption, SegmentedControlProps, SegmentedControlRadius, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, SeparatorProps, Skeleton, SkeletonAvatar, SkeletonBadge, SkeletonButton, SkeletonCard, SkeletonIcon, SkeletonInput, SkeletonSubtitle, SkeletonTableRow, SkeletonTableRows, SkeletonText, SkeletonTitle, Switch, SwitchProps, Table, TableBody, TableCaption, TableCell, TableCellProps, TableFooter, TableHead, TableHeader, TableRow, TableRowCheckbox, TableSelectAll, Tabs, TabsContent, TabsList, TabsTrigger, TabsVariant, Text, TextProps, Textarea, TextareaProps, Toggle, ToggleOption, ToggleProps, ToggleRadius, badgeVariants, buttonVariants, captionVariants, codeVariants, headingVariants, labelVariants, segmentedControlItemVariants, segmentedControlVariants, separatorVariants, switchLabelVariants, switchThumbVariants, switchTrackVariants, textVariants, toggleGroupVariants, toggleItemVariants, useColumnVisibility, useFormContext, useFormFieldContext, useTableSelection } from './primitives.js';
|
|
2
2
|
export { AccentColor, AnimatedButton, AnimatedButtonProps, BarChartData, Breakpoint, ChartConfig, ChartRenderer, CompactPanel, CompactPanelProps, Dashboard, DashboardPanel, DashboardPanelProps, DashboardProps, DashboardTableRow, DonutChartData, Input, InputProps, LargePanel, LargePanelChartProps, LargePanelProps, LargePanelStatsProps, LargePanelTableProps, LineChartData, MediumPanel, MediumPanelProps, MediumPanelTableProps, ResponsiveValue, SideNav, SideNavContextValue, SideNavFooter, SideNavFooterProps, SideNavHeader, SideNavHeaderProps, SideNavItem, SideNavItemData, SideNavItemProps, SideNavProps, SideNavSection, SideNavSectionData, SideNavSectionProps, StatData, StatDisplay, TableCellValue, TableColumn, TableConfig, TablePagination, TableRenderer, Template, TemplateSelector, TemplateSelectorProps, TextButton, TextButtonProps, TrendData, useDashboardContext, useSideNavContext } from './enhanced.js';
|
|
3
3
|
export { T as Toast, a as ToastProps } from './toast-cr-vEOyB.js';
|
|
4
4
|
export { ArrowRightIcon, ArrowRightIconHandle, ArrowRightIconProps, CheckIcon, CheckIconHandle, CheckIconProps, PlusIcon, PlusIconHandle, PlusIconProps, SendIcon, SendIconHandle, SendIconProps, TrashIcon, TrashIconHandle, TrashIconProps } from './animated-icons.js';
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkAJP6WOSY_js = require('./chunk-AJP6WOSY.js');
|
|
4
4
|
var chunk6CAMHXUV_js = require('./chunk-6CAMHXUV.js');
|
|
5
5
|
var chunkYO72COII_js = require('./chunk-YO72COII.js');
|
|
6
6
|
var chunkR5HAFV6M_js = require('./chunk-R5HAFV6M.js');
|
|
@@ -11,387 +11,395 @@ require('./chunk-GGM3MDFM.js');
|
|
|
11
11
|
|
|
12
12
|
Object.defineProperty(exports, "Button", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkAJP6WOSY_js.Button; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "Card", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkAJP6WOSY_js.Card; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "CardContent", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkAJP6WOSY_js.CardContent; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "CardDescription", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkAJP6WOSY_js.CardDescription; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "CardFooter", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkAJP6WOSY_js.CardFooter; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "CardHeader", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkAJP6WOSY_js.CardHeader; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "CardTitle", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkAJP6WOSY_js.CardTitle; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "Checkbox", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkAJP6WOSY_js.Checkbox; }
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "ColumnPicker", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return chunkAJP6WOSY_js.ColumnPicker; }
|
|
43
47
|
});
|
|
44
48
|
Object.defineProperty(exports, "Dialog", {
|
|
45
49
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkAJP6WOSY_js.Dialog; }
|
|
47
51
|
});
|
|
48
52
|
Object.defineProperty(exports, "DialogClose", {
|
|
49
53
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkAJP6WOSY_js.DialogClose; }
|
|
51
55
|
});
|
|
52
56
|
Object.defineProperty(exports, "DialogContent", {
|
|
53
57
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkAJP6WOSY_js.DialogContent; }
|
|
55
59
|
});
|
|
56
60
|
Object.defineProperty(exports, "DialogDescription", {
|
|
57
61
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkAJP6WOSY_js.DialogDescription; }
|
|
59
63
|
});
|
|
60
64
|
Object.defineProperty(exports, "DialogFooter", {
|
|
61
65
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
66
|
+
get: function () { return chunkAJP6WOSY_js.DialogFooter; }
|
|
63
67
|
});
|
|
64
68
|
Object.defineProperty(exports, "DialogHeader", {
|
|
65
69
|
enumerable: true,
|
|
66
|
-
get: function () { return
|
|
70
|
+
get: function () { return chunkAJP6WOSY_js.DialogHeader; }
|
|
67
71
|
});
|
|
68
72
|
Object.defineProperty(exports, "DialogOverlay", {
|
|
69
73
|
enumerable: true,
|
|
70
|
-
get: function () { return
|
|
74
|
+
get: function () { return chunkAJP6WOSY_js.DialogOverlay; }
|
|
71
75
|
});
|
|
72
76
|
Object.defineProperty(exports, "DialogPortal", {
|
|
73
77
|
enumerable: true,
|
|
74
|
-
get: function () { return
|
|
78
|
+
get: function () { return chunkAJP6WOSY_js.DialogPortal; }
|
|
75
79
|
});
|
|
76
80
|
Object.defineProperty(exports, "DialogTitle", {
|
|
77
81
|
enumerable: true,
|
|
78
|
-
get: function () { return
|
|
82
|
+
get: function () { return chunkAJP6WOSY_js.DialogTitle; }
|
|
79
83
|
});
|
|
80
84
|
Object.defineProperty(exports, "DialogTrigger", {
|
|
81
85
|
enumerable: true,
|
|
82
|
-
get: function () { return
|
|
86
|
+
get: function () { return chunkAJP6WOSY_js.DialogTrigger; }
|
|
83
87
|
});
|
|
84
88
|
Object.defineProperty(exports, "DropdownMenu", {
|
|
85
89
|
enumerable: true,
|
|
86
|
-
get: function () { return
|
|
90
|
+
get: function () { return chunkAJP6WOSY_js.DropdownMenu; }
|
|
87
91
|
});
|
|
88
92
|
Object.defineProperty(exports, "DropdownMenuCheckboxItem", {
|
|
89
93
|
enumerable: true,
|
|
90
|
-
get: function () { return
|
|
94
|
+
get: function () { return chunkAJP6WOSY_js.DropdownMenuCheckboxItem; }
|
|
91
95
|
});
|
|
92
96
|
Object.defineProperty(exports, "DropdownMenuContent", {
|
|
93
97
|
enumerable: true,
|
|
94
|
-
get: function () { return
|
|
98
|
+
get: function () { return chunkAJP6WOSY_js.DropdownMenuContent; }
|
|
95
99
|
});
|
|
96
100
|
Object.defineProperty(exports, "DropdownMenuGroup", {
|
|
97
101
|
enumerable: true,
|
|
98
|
-
get: function () { return
|
|
102
|
+
get: function () { return chunkAJP6WOSY_js.DropdownMenuGroup; }
|
|
99
103
|
});
|
|
100
104
|
Object.defineProperty(exports, "DropdownMenuItem", {
|
|
101
105
|
enumerable: true,
|
|
102
|
-
get: function () { return
|
|
106
|
+
get: function () { return chunkAJP6WOSY_js.DropdownMenuItem; }
|
|
103
107
|
});
|
|
104
108
|
Object.defineProperty(exports, "DropdownMenuLabel", {
|
|
105
109
|
enumerable: true,
|
|
106
|
-
get: function () { return
|
|
110
|
+
get: function () { return chunkAJP6WOSY_js.DropdownMenuLabel; }
|
|
107
111
|
});
|
|
108
112
|
Object.defineProperty(exports, "DropdownMenuPortal", {
|
|
109
113
|
enumerable: true,
|
|
110
|
-
get: function () { return
|
|
114
|
+
get: function () { return chunkAJP6WOSY_js.DropdownMenuPortal; }
|
|
111
115
|
});
|
|
112
116
|
Object.defineProperty(exports, "DropdownMenuRadioGroup", {
|
|
113
117
|
enumerable: true,
|
|
114
|
-
get: function () { return
|
|
118
|
+
get: function () { return chunkAJP6WOSY_js.DropdownMenuRadioGroup; }
|
|
115
119
|
});
|
|
116
120
|
Object.defineProperty(exports, "DropdownMenuRadioItem", {
|
|
117
121
|
enumerable: true,
|
|
118
|
-
get: function () { return
|
|
122
|
+
get: function () { return chunkAJP6WOSY_js.DropdownMenuRadioItem; }
|
|
119
123
|
});
|
|
120
124
|
Object.defineProperty(exports, "DropdownMenuSeparator", {
|
|
121
125
|
enumerable: true,
|
|
122
|
-
get: function () { return
|
|
126
|
+
get: function () { return chunkAJP6WOSY_js.DropdownMenuSeparator; }
|
|
123
127
|
});
|
|
124
128
|
Object.defineProperty(exports, "DropdownMenuShortcut", {
|
|
125
129
|
enumerable: true,
|
|
126
|
-
get: function () { return
|
|
130
|
+
get: function () { return chunkAJP6WOSY_js.DropdownMenuShortcut; }
|
|
127
131
|
});
|
|
128
132
|
Object.defineProperty(exports, "DropdownMenuSub", {
|
|
129
133
|
enumerable: true,
|
|
130
|
-
get: function () { return
|
|
134
|
+
get: function () { return chunkAJP6WOSY_js.DropdownMenuSub; }
|
|
131
135
|
});
|
|
132
136
|
Object.defineProperty(exports, "DropdownMenuSubContent", {
|
|
133
137
|
enumerable: true,
|
|
134
|
-
get: function () { return
|
|
138
|
+
get: function () { return chunkAJP6WOSY_js.DropdownMenuSubContent; }
|
|
135
139
|
});
|
|
136
140
|
Object.defineProperty(exports, "DropdownMenuSubTrigger", {
|
|
137
141
|
enumerable: true,
|
|
138
|
-
get: function () { return
|
|
142
|
+
get: function () { return chunkAJP6WOSY_js.DropdownMenuSubTrigger; }
|
|
139
143
|
});
|
|
140
144
|
Object.defineProperty(exports, "DropdownMenuTrigger", {
|
|
141
145
|
enumerable: true,
|
|
142
|
-
get: function () { return
|
|
146
|
+
get: function () { return chunkAJP6WOSY_js.DropdownMenuTrigger; }
|
|
143
147
|
});
|
|
144
148
|
Object.defineProperty(exports, "Form", {
|
|
145
149
|
enumerable: true,
|
|
146
|
-
get: function () { return
|
|
150
|
+
get: function () { return chunkAJP6WOSY_js.Form; }
|
|
147
151
|
});
|
|
148
152
|
Object.defineProperty(exports, "FormControl", {
|
|
149
153
|
enumerable: true,
|
|
150
|
-
get: function () { return
|
|
154
|
+
get: function () { return chunkAJP6WOSY_js.FormControl; }
|
|
151
155
|
});
|
|
152
156
|
Object.defineProperty(exports, "FormDescription", {
|
|
153
157
|
enumerable: true,
|
|
154
|
-
get: function () { return
|
|
158
|
+
get: function () { return chunkAJP6WOSY_js.FormDescription; }
|
|
155
159
|
});
|
|
156
160
|
Object.defineProperty(exports, "FormField", {
|
|
157
161
|
enumerable: true,
|
|
158
|
-
get: function () { return
|
|
162
|
+
get: function () { return chunkAJP6WOSY_js.FormField; }
|
|
159
163
|
});
|
|
160
164
|
Object.defineProperty(exports, "FormLabel", {
|
|
161
165
|
enumerable: true,
|
|
162
|
-
get: function () { return
|
|
166
|
+
get: function () { return chunkAJP6WOSY_js.FormLabel; }
|
|
163
167
|
});
|
|
164
168
|
Object.defineProperty(exports, "FormMessage", {
|
|
165
169
|
enumerable: true,
|
|
166
|
-
get: function () { return
|
|
170
|
+
get: function () { return chunkAJP6WOSY_js.FormMessage; }
|
|
167
171
|
});
|
|
168
172
|
Object.defineProperty(exports, "Popover", {
|
|
169
173
|
enumerable: true,
|
|
170
|
-
get: function () { return
|
|
174
|
+
get: function () { return chunkAJP6WOSY_js.Popover; }
|
|
171
175
|
});
|
|
172
176
|
Object.defineProperty(exports, "PopoverAnchor", {
|
|
173
177
|
enumerable: true,
|
|
174
|
-
get: function () { return
|
|
178
|
+
get: function () { return chunkAJP6WOSY_js.PopoverAnchor; }
|
|
175
179
|
});
|
|
176
180
|
Object.defineProperty(exports, "PopoverContent", {
|
|
177
181
|
enumerable: true,
|
|
178
|
-
get: function () { return
|
|
182
|
+
get: function () { return chunkAJP6WOSY_js.PopoverContent; }
|
|
179
183
|
});
|
|
180
184
|
Object.defineProperty(exports, "PopoverTrigger", {
|
|
181
185
|
enumerable: true,
|
|
182
|
-
get: function () { return
|
|
186
|
+
get: function () { return chunkAJP6WOSY_js.PopoverTrigger; }
|
|
183
187
|
});
|
|
184
188
|
Object.defineProperty(exports, "SegmentedControl", {
|
|
185
189
|
enumerable: true,
|
|
186
|
-
get: function () { return
|
|
190
|
+
get: function () { return chunkAJP6WOSY_js.SegmentedControl; }
|
|
187
191
|
});
|
|
188
192
|
Object.defineProperty(exports, "Select", {
|
|
189
193
|
enumerable: true,
|
|
190
|
-
get: function () { return
|
|
194
|
+
get: function () { return chunkAJP6WOSY_js.Select; }
|
|
191
195
|
});
|
|
192
196
|
Object.defineProperty(exports, "SelectContent", {
|
|
193
197
|
enumerable: true,
|
|
194
|
-
get: function () { return
|
|
198
|
+
get: function () { return chunkAJP6WOSY_js.SelectContent; }
|
|
195
199
|
});
|
|
196
200
|
Object.defineProperty(exports, "SelectGroup", {
|
|
197
201
|
enumerable: true,
|
|
198
|
-
get: function () { return
|
|
202
|
+
get: function () { return chunkAJP6WOSY_js.SelectGroup; }
|
|
199
203
|
});
|
|
200
204
|
Object.defineProperty(exports, "SelectItem", {
|
|
201
205
|
enumerable: true,
|
|
202
|
-
get: function () { return
|
|
206
|
+
get: function () { return chunkAJP6WOSY_js.SelectItem; }
|
|
203
207
|
});
|
|
204
208
|
Object.defineProperty(exports, "SelectLabel", {
|
|
205
209
|
enumerable: true,
|
|
206
|
-
get: function () { return
|
|
210
|
+
get: function () { return chunkAJP6WOSY_js.SelectLabel; }
|
|
207
211
|
});
|
|
208
212
|
Object.defineProperty(exports, "SelectScrollDownButton", {
|
|
209
213
|
enumerable: true,
|
|
210
|
-
get: function () { return
|
|
214
|
+
get: function () { return chunkAJP6WOSY_js.SelectScrollDownButton; }
|
|
211
215
|
});
|
|
212
216
|
Object.defineProperty(exports, "SelectScrollUpButton", {
|
|
213
217
|
enumerable: true,
|
|
214
|
-
get: function () { return
|
|
218
|
+
get: function () { return chunkAJP6WOSY_js.SelectScrollUpButton; }
|
|
215
219
|
});
|
|
216
220
|
Object.defineProperty(exports, "SelectSeparator", {
|
|
217
221
|
enumerable: true,
|
|
218
|
-
get: function () { return
|
|
222
|
+
get: function () { return chunkAJP6WOSY_js.SelectSeparator; }
|
|
219
223
|
});
|
|
220
224
|
Object.defineProperty(exports, "SelectTrigger", {
|
|
221
225
|
enumerable: true,
|
|
222
|
-
get: function () { return
|
|
226
|
+
get: function () { return chunkAJP6WOSY_js.SelectTrigger; }
|
|
223
227
|
});
|
|
224
228
|
Object.defineProperty(exports, "SelectValue", {
|
|
225
229
|
enumerable: true,
|
|
226
|
-
get: function () { return
|
|
230
|
+
get: function () { return chunkAJP6WOSY_js.SelectValue; }
|
|
227
231
|
});
|
|
228
232
|
Object.defineProperty(exports, "Separator", {
|
|
229
233
|
enumerable: true,
|
|
230
|
-
get: function () { return
|
|
234
|
+
get: function () { return chunkAJP6WOSY_js.Separator; }
|
|
231
235
|
});
|
|
232
236
|
Object.defineProperty(exports, "Skeleton", {
|
|
233
237
|
enumerable: true,
|
|
234
|
-
get: function () { return
|
|
238
|
+
get: function () { return chunkAJP6WOSY_js.Skeleton; }
|
|
235
239
|
});
|
|
236
240
|
Object.defineProperty(exports, "SkeletonAvatar", {
|
|
237
241
|
enumerable: true,
|
|
238
|
-
get: function () { return
|
|
242
|
+
get: function () { return chunkAJP6WOSY_js.SkeletonAvatar; }
|
|
239
243
|
});
|
|
240
244
|
Object.defineProperty(exports, "SkeletonBadge", {
|
|
241
245
|
enumerable: true,
|
|
242
|
-
get: function () { return
|
|
246
|
+
get: function () { return chunkAJP6WOSY_js.SkeletonBadge; }
|
|
243
247
|
});
|
|
244
248
|
Object.defineProperty(exports, "SkeletonButton", {
|
|
245
249
|
enumerable: true,
|
|
246
|
-
get: function () { return
|
|
250
|
+
get: function () { return chunkAJP6WOSY_js.SkeletonButton; }
|
|
247
251
|
});
|
|
248
252
|
Object.defineProperty(exports, "SkeletonCard", {
|
|
249
253
|
enumerable: true,
|
|
250
|
-
get: function () { return
|
|
254
|
+
get: function () { return chunkAJP6WOSY_js.SkeletonCard; }
|
|
251
255
|
});
|
|
252
256
|
Object.defineProperty(exports, "SkeletonIcon", {
|
|
253
257
|
enumerable: true,
|
|
254
|
-
get: function () { return
|
|
258
|
+
get: function () { return chunkAJP6WOSY_js.SkeletonIcon; }
|
|
255
259
|
});
|
|
256
260
|
Object.defineProperty(exports, "SkeletonInput", {
|
|
257
261
|
enumerable: true,
|
|
258
|
-
get: function () { return
|
|
262
|
+
get: function () { return chunkAJP6WOSY_js.SkeletonInput; }
|
|
259
263
|
});
|
|
260
264
|
Object.defineProperty(exports, "SkeletonSubtitle", {
|
|
261
265
|
enumerable: true,
|
|
262
|
-
get: function () { return
|
|
266
|
+
get: function () { return chunkAJP6WOSY_js.SkeletonSubtitle; }
|
|
263
267
|
});
|
|
264
268
|
Object.defineProperty(exports, "SkeletonTableRow", {
|
|
265
269
|
enumerable: true,
|
|
266
|
-
get: function () { return
|
|
270
|
+
get: function () { return chunkAJP6WOSY_js.SkeletonTableRow; }
|
|
267
271
|
});
|
|
268
272
|
Object.defineProperty(exports, "SkeletonTableRows", {
|
|
269
273
|
enumerable: true,
|
|
270
|
-
get: function () { return
|
|
274
|
+
get: function () { return chunkAJP6WOSY_js.SkeletonTableRows; }
|
|
271
275
|
});
|
|
272
276
|
Object.defineProperty(exports, "SkeletonText", {
|
|
273
277
|
enumerable: true,
|
|
274
|
-
get: function () { return
|
|
278
|
+
get: function () { return chunkAJP6WOSY_js.SkeletonText; }
|
|
275
279
|
});
|
|
276
280
|
Object.defineProperty(exports, "SkeletonTitle", {
|
|
277
281
|
enumerable: true,
|
|
278
|
-
get: function () { return
|
|
282
|
+
get: function () { return chunkAJP6WOSY_js.SkeletonTitle; }
|
|
279
283
|
});
|
|
280
284
|
Object.defineProperty(exports, "Switch", {
|
|
281
285
|
enumerable: true,
|
|
282
|
-
get: function () { return
|
|
286
|
+
get: function () { return chunkAJP6WOSY_js.Switch; }
|
|
283
287
|
});
|
|
284
288
|
Object.defineProperty(exports, "Table", {
|
|
285
289
|
enumerable: true,
|
|
286
|
-
get: function () { return
|
|
290
|
+
get: function () { return chunkAJP6WOSY_js.Table; }
|
|
287
291
|
});
|
|
288
292
|
Object.defineProperty(exports, "TableBody", {
|
|
289
293
|
enumerable: true,
|
|
290
|
-
get: function () { return
|
|
294
|
+
get: function () { return chunkAJP6WOSY_js.TableBody; }
|
|
291
295
|
});
|
|
292
296
|
Object.defineProperty(exports, "TableCaption", {
|
|
293
297
|
enumerable: true,
|
|
294
|
-
get: function () { return
|
|
298
|
+
get: function () { return chunkAJP6WOSY_js.TableCaption; }
|
|
295
299
|
});
|
|
296
300
|
Object.defineProperty(exports, "TableCell", {
|
|
297
301
|
enumerable: true,
|
|
298
|
-
get: function () { return
|
|
302
|
+
get: function () { return chunkAJP6WOSY_js.TableCell; }
|
|
299
303
|
});
|
|
300
304
|
Object.defineProperty(exports, "TableFooter", {
|
|
301
305
|
enumerable: true,
|
|
302
|
-
get: function () { return
|
|
306
|
+
get: function () { return chunkAJP6WOSY_js.TableFooter; }
|
|
303
307
|
});
|
|
304
308
|
Object.defineProperty(exports, "TableHead", {
|
|
305
309
|
enumerable: true,
|
|
306
|
-
get: function () { return
|
|
310
|
+
get: function () { return chunkAJP6WOSY_js.TableHead; }
|
|
307
311
|
});
|
|
308
312
|
Object.defineProperty(exports, "TableHeader", {
|
|
309
313
|
enumerable: true,
|
|
310
|
-
get: function () { return
|
|
314
|
+
get: function () { return chunkAJP6WOSY_js.TableHeader; }
|
|
311
315
|
});
|
|
312
316
|
Object.defineProperty(exports, "TableRow", {
|
|
313
317
|
enumerable: true,
|
|
314
|
-
get: function () { return
|
|
318
|
+
get: function () { return chunkAJP6WOSY_js.TableRow; }
|
|
315
319
|
});
|
|
316
320
|
Object.defineProperty(exports, "TableRowCheckbox", {
|
|
317
321
|
enumerable: true,
|
|
318
|
-
get: function () { return
|
|
322
|
+
get: function () { return chunkAJP6WOSY_js.TableRowCheckbox; }
|
|
319
323
|
});
|
|
320
324
|
Object.defineProperty(exports, "TableSelectAll", {
|
|
321
325
|
enumerable: true,
|
|
322
|
-
get: function () { return
|
|
326
|
+
get: function () { return chunkAJP6WOSY_js.TableSelectAll; }
|
|
323
327
|
});
|
|
324
328
|
Object.defineProperty(exports, "Tabs", {
|
|
325
329
|
enumerable: true,
|
|
326
|
-
get: function () { return
|
|
330
|
+
get: function () { return chunkAJP6WOSY_js.Tabs; }
|
|
327
331
|
});
|
|
328
332
|
Object.defineProperty(exports, "TabsContent", {
|
|
329
333
|
enumerable: true,
|
|
330
|
-
get: function () { return
|
|
334
|
+
get: function () { return chunkAJP6WOSY_js.TabsContent; }
|
|
331
335
|
});
|
|
332
336
|
Object.defineProperty(exports, "TabsList", {
|
|
333
337
|
enumerable: true,
|
|
334
|
-
get: function () { return
|
|
338
|
+
get: function () { return chunkAJP6WOSY_js.TabsList; }
|
|
335
339
|
});
|
|
336
340
|
Object.defineProperty(exports, "TabsTrigger", {
|
|
337
341
|
enumerable: true,
|
|
338
|
-
get: function () { return
|
|
342
|
+
get: function () { return chunkAJP6WOSY_js.TabsTrigger; }
|
|
339
343
|
});
|
|
340
344
|
Object.defineProperty(exports, "Textarea", {
|
|
341
345
|
enumerable: true,
|
|
342
|
-
get: function () { return
|
|
346
|
+
get: function () { return chunkAJP6WOSY_js.Textarea; }
|
|
343
347
|
});
|
|
344
348
|
Object.defineProperty(exports, "Toggle", {
|
|
345
349
|
enumerable: true,
|
|
346
|
-
get: function () { return
|
|
350
|
+
get: function () { return chunkAJP6WOSY_js.Toggle; }
|
|
347
351
|
});
|
|
348
352
|
Object.defineProperty(exports, "buttonVariants", {
|
|
349
353
|
enumerable: true,
|
|
350
|
-
get: function () { return
|
|
354
|
+
get: function () { return chunkAJP6WOSY_js.buttonVariants; }
|
|
351
355
|
});
|
|
352
356
|
Object.defineProperty(exports, "segmentedControlItemVariants", {
|
|
353
357
|
enumerable: true,
|
|
354
|
-
get: function () { return
|
|
358
|
+
get: function () { return chunkAJP6WOSY_js.segmentedControlItemVariants; }
|
|
355
359
|
});
|
|
356
360
|
Object.defineProperty(exports, "segmentedControlVariants", {
|
|
357
361
|
enumerable: true,
|
|
358
|
-
get: function () { return
|
|
362
|
+
get: function () { return chunkAJP6WOSY_js.segmentedControlVariants; }
|
|
359
363
|
});
|
|
360
364
|
Object.defineProperty(exports, "separatorVariants", {
|
|
361
365
|
enumerable: true,
|
|
362
|
-
get: function () { return
|
|
366
|
+
get: function () { return chunkAJP6WOSY_js.separatorVariants; }
|
|
363
367
|
});
|
|
364
368
|
Object.defineProperty(exports, "switchLabelVariants", {
|
|
365
369
|
enumerable: true,
|
|
366
|
-
get: function () { return
|
|
370
|
+
get: function () { return chunkAJP6WOSY_js.switchLabelVariants; }
|
|
367
371
|
});
|
|
368
372
|
Object.defineProperty(exports, "switchThumbVariants", {
|
|
369
373
|
enumerable: true,
|
|
370
|
-
get: function () { return
|
|
374
|
+
get: function () { return chunkAJP6WOSY_js.switchThumbVariants; }
|
|
371
375
|
});
|
|
372
376
|
Object.defineProperty(exports, "switchTrackVariants", {
|
|
373
377
|
enumerable: true,
|
|
374
|
-
get: function () { return
|
|
378
|
+
get: function () { return chunkAJP6WOSY_js.switchTrackVariants; }
|
|
375
379
|
});
|
|
376
380
|
Object.defineProperty(exports, "toggleGroupVariants", {
|
|
377
381
|
enumerable: true,
|
|
378
|
-
get: function () { return
|
|
382
|
+
get: function () { return chunkAJP6WOSY_js.toggleGroupVariants; }
|
|
379
383
|
});
|
|
380
384
|
Object.defineProperty(exports, "toggleItemVariants", {
|
|
381
385
|
enumerable: true,
|
|
382
|
-
get: function () { return
|
|
386
|
+
get: function () { return chunkAJP6WOSY_js.toggleItemVariants; }
|
|
387
|
+
});
|
|
388
|
+
Object.defineProperty(exports, "useColumnVisibility", {
|
|
389
|
+
enumerable: true,
|
|
390
|
+
get: function () { return chunkAJP6WOSY_js.useColumnVisibility; }
|
|
383
391
|
});
|
|
384
392
|
Object.defineProperty(exports, "useFormContext", {
|
|
385
393
|
enumerable: true,
|
|
386
|
-
get: function () { return
|
|
394
|
+
get: function () { return chunkAJP6WOSY_js.useFormContext; }
|
|
387
395
|
});
|
|
388
396
|
Object.defineProperty(exports, "useFormFieldContext", {
|
|
389
397
|
enumerable: true,
|
|
390
|
-
get: function () { return
|
|
398
|
+
get: function () { return chunkAJP6WOSY_js.useFormFieldContext; }
|
|
391
399
|
});
|
|
392
400
|
Object.defineProperty(exports, "useTableSelection", {
|
|
393
401
|
enumerable: true,
|
|
394
|
-
get: function () { return
|
|
402
|
+
get: function () { return chunkAJP6WOSY_js.useTableSelection; }
|
|
395
403
|
});
|
|
396
404
|
Object.defineProperty(exports, "AnimatedButton", {
|
|
397
405
|
enumerable: true,
|
package/dist/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormLabel, FormMessage, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, SegmentedControl, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Skeleton, SkeletonAvatar, SkeletonBadge, SkeletonButton, SkeletonCard, SkeletonIcon, SkeletonInput, SkeletonSubtitle, SkeletonTableRow, SkeletonTableRows, SkeletonText, SkeletonTitle, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableRowCheckbox, TableSelectAll, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toggle, buttonVariants, segmentedControlItemVariants, segmentedControlVariants, separatorVariants, switchLabelVariants, switchThumbVariants, switchTrackVariants, toggleGroupVariants, toggleItemVariants, useFormContext, useFormFieldContext, useTableSelection } from './chunk-
|
|
1
|
+
export { Button, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, ColumnPicker, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, FormDescription, FormField, FormLabel, FormMessage, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, SegmentedControl, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, Skeleton, SkeletonAvatar, SkeletonBadge, SkeletonButton, SkeletonCard, SkeletonIcon, SkeletonInput, SkeletonSubtitle, SkeletonTableRow, SkeletonTableRows, SkeletonText, SkeletonTitle, Switch, Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, TableRowCheckbox, TableSelectAll, Tabs, TabsContent, TabsList, TabsTrigger, Textarea, Toggle, buttonVariants, segmentedControlItemVariants, segmentedControlVariants, separatorVariants, switchLabelVariants, switchThumbVariants, switchTrackVariants, toggleGroupVariants, toggleItemVariants, useColumnVisibility, useFormContext, useFormFieldContext, useTableSelection } from './chunk-6YUIM6WB.mjs';
|
|
2
2
|
export { AnimatedButton, ChartRenderer, CompactPanel, Dashboard, DashboardPanel, Globe, Input, LargePanel, MediumPanel, Moon, Orbit, Rocket, SideNav, SideNavFooter, SideNavHeader, SideNavItem, SideNavSection, Sparkles, Star, StatDisplay, TableRenderer, TemplateSelector, TextButton, Toast, useDashboardContext, useSideNavContext } from './chunk-A4QVL4JL.mjs';
|
|
3
3
|
export { Badge, Caption, Code, Heading, Label, Text, badgeVariants, captionVariants, cn, codeVariants, headingVariants, labelVariants, textVariants } from './chunk-E3UN74IA.mjs';
|
|
4
4
|
export { ArrowRightIcon, CheckIcon, PlusIcon, SendIcon, TrashIcon } from './chunk-2B2BWI5A.mjs';
|
package/dist/primitives.d.mts
CHANGED
|
@@ -229,15 +229,33 @@ interface TableContextValue {
|
|
|
229
229
|
registerRowId: (rowId: string) => void;
|
|
230
230
|
unregisterRowId: (rowId: string) => void;
|
|
231
231
|
}
|
|
232
|
-
interface
|
|
232
|
+
interface ColumnDef<T = any> {
|
|
233
|
+
key: string;
|
|
234
|
+
label: string;
|
|
235
|
+
cell: (row: T) => React.ReactNode;
|
|
236
|
+
sticky?: boolean;
|
|
237
|
+
/** Used by `useColumnVisibility` to set initial visible columns on desktop */
|
|
238
|
+
defaultVisible?: boolean;
|
|
239
|
+
/** Used by `useColumnVisibility` to set initial visible columns on mobile (viewport < 768px) */
|
|
240
|
+
mobileVisible?: boolean;
|
|
241
|
+
minWidth?: number;
|
|
242
|
+
}
|
|
243
|
+
interface TableProps<T = any> extends React.HTMLAttributes<HTMLTableElement> {
|
|
233
244
|
selectable?: boolean;
|
|
234
245
|
selectionMode?: SelectionMode;
|
|
235
246
|
selectedRows?: string[];
|
|
236
247
|
onSelectionChange?: (selectedRows: string[]) => void;
|
|
237
248
|
getRowId?: (row: any) => string;
|
|
238
249
|
rows?: any[];
|
|
239
|
-
|
|
240
|
-
|
|
250
|
+
columns?: ColumnDef<T>[];
|
|
251
|
+
data?: T[];
|
|
252
|
+
visibleColumns?: string[];
|
|
253
|
+
showDividers?: boolean;
|
|
254
|
+
highlightMode?: "row" | "column" | "cross" | "none";
|
|
255
|
+
}
|
|
256
|
+
declare const Table: <T = any>(props: TableProps<T> & {
|
|
257
|
+
ref?: React.Ref<HTMLTableElement>;
|
|
258
|
+
}) => React.ReactElement | null;
|
|
241
259
|
declare const TableHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
242
260
|
declare const TableBody: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
243
261
|
declare const TableFooter: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -269,6 +287,22 @@ interface TableRowCheckboxProps {
|
|
|
269
287
|
declare const TableRowCheckbox: React.ForwardRefExoticComponent<TableRowCheckboxProps & React.RefAttributes<HTMLDivElement>>;
|
|
270
288
|
declare const useTableSelection: () => TableContextValue;
|
|
271
289
|
|
|
290
|
+
interface UseColumnVisibilityOptions {
|
|
291
|
+
storageKey?: string;
|
|
292
|
+
}
|
|
293
|
+
declare function useColumnVisibility<T = any>(columns: ColumnDef<T>[], options?: UseColumnVisibilityOptions): {
|
|
294
|
+
visibleColumns: string[];
|
|
295
|
+
setVisibleColumns: (cols: string[]) => void;
|
|
296
|
+
};
|
|
297
|
+
|
|
298
|
+
interface ColumnPickerProps<T = any> {
|
|
299
|
+
columns: ColumnDef<T>[];
|
|
300
|
+
visibleColumns: string[];
|
|
301
|
+
onVisibleColumnsChange: (cols: string[]) => void;
|
|
302
|
+
triggerLabel?: string;
|
|
303
|
+
}
|
|
304
|
+
declare function ColumnPicker<T = any>({ columns, visibleColumns, onVisibleColumnsChange, triggerLabel, }: ColumnPickerProps<T>): react_jsx_runtime.JSX.Element;
|
|
305
|
+
|
|
272
306
|
interface TabsProps extends React.ComponentPropsWithoutRef<typeof TabsPrimitive.Root> {
|
|
273
307
|
defaultValue?: string;
|
|
274
308
|
value?: string;
|
|
@@ -390,4 +424,4 @@ interface CodeProps extends Omit<React.HTMLAttributes<HTMLElement>, "color">, Va
|
|
|
390
424
|
}
|
|
391
425
|
declare const Code: React.ForwardRefExoticComponent<CodeProps & React.RefAttributes<HTMLElement>>;
|
|
392
426
|
|
|
393
|
-
export { Badge, type BadgeProps, Button, type ButtonProps, Caption, type CaptionProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Code, type CodeProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, Heading, type HeadingProps, Label, type LabelProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, type SegmentedControlRadius, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, type SeparatorProps, Skeleton, SkeletonAvatar, SkeletonBadge, SkeletonButton, SkeletonCard, SkeletonIcon, SkeletonInput, SkeletonSubtitle, SkeletonTableRow, SkeletonTableRows, SkeletonText, SkeletonTitle, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, type TableCellProps, TableFooter, TableHead, TableHeader, TableRow, TableRowCheckbox, TableSelectAll, Tabs, TabsContent, TabsList, TabsTrigger, type TabsVariant, Text, type TextProps, Textarea, type TextareaProps, Toggle, type ToggleOption, type ToggleProps, type ToggleRadius, badgeVariants, buttonVariants, captionVariants, codeVariants, headingVariants, labelVariants, segmentedControlItemVariants, segmentedControlVariants, separatorVariants, switchLabelVariants, switchThumbVariants, switchTrackVariants, textVariants, toggleGroupVariants, toggleItemVariants, useFormContext, useFormFieldContext, useTableSelection };
|
|
427
|
+
export { Badge, type BadgeProps, Button, type ButtonProps, Caption, type CaptionProps, Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, Checkbox, Code, type CodeProps, type ColumnDef, ColumnPicker, type ColumnPickerProps, Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Form, FormControl, type FormControlProps, FormDescription, type FormDescriptionProps, FormField, type FormFieldProps, FormLabel, type FormLabelProps, FormMessage, type FormMessageProps, type FormProps, Heading, type HeadingProps, Label, type LabelProps, Popover, PopoverAnchor, PopoverContent, PopoverTrigger, SegmentedControl, type SegmentedControlOption, type SegmentedControlProps, type SegmentedControlRadius, Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, Separator, type SeparatorProps, Skeleton, SkeletonAvatar, SkeletonBadge, SkeletonButton, SkeletonCard, SkeletonIcon, SkeletonInput, SkeletonSubtitle, SkeletonTableRow, SkeletonTableRows, SkeletonText, SkeletonTitle, Switch, type SwitchProps, Table, TableBody, TableCaption, TableCell, type TableCellProps, TableFooter, TableHead, TableHeader, TableRow, TableRowCheckbox, TableSelectAll, Tabs, TabsContent, TabsList, TabsTrigger, type TabsVariant, Text, type TextProps, Textarea, type TextareaProps, Toggle, type ToggleOption, type ToggleProps, type ToggleRadius, badgeVariants, buttonVariants, captionVariants, codeVariants, headingVariants, labelVariants, segmentedControlItemVariants, segmentedControlVariants, separatorVariants, switchLabelVariants, switchThumbVariants, switchTrackVariants, textVariants, toggleGroupVariants, toggleItemVariants, useColumnVisibility, useFormContext, useFormFieldContext, useTableSelection };
|