@locusgraph/components 0.1.0 → 0.2.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/action/button-group.d.ts +1 -1
- package/dist/action/button-group.js +2 -2
- package/dist/action/button.js +3 -3
- package/dist/action/toggle-group.d.ts +1 -1
- package/dist/action/toggle-group.js +3 -3
- package/dist/action/toggle.js +5 -5
- package/dist/display/badge.d.ts +1 -1
- package/dist/display/badge.js +4 -1
- package/dist/display/chart/chart-legend.js +1 -1
- package/dist/display/chart/chart-tooltip.js +3 -3
- package/dist/display/chat/attachment/attachment-parts.d.ts +1 -1
- package/dist/display/chat/attachment/attachment-parts.js +1 -1
- package/dist/display/chat/attachment/attachment.js +1 -1
- package/dist/display/chat/bubble.js +2 -2
- package/dist/display/chat/message-scroller.d.ts +1 -1
- package/dist/display/chat/message-scroller.js +2 -2
- package/dist/display/chat/message.js +2 -2
- package/dist/display/content/item.d.ts +1 -1
- package/dist/display/content/item.js +1 -1
- package/dist/display/content/kbd.js +1 -1
- package/dist/display/media/carousel-controls.d.ts +1 -1
- package/dist/display/media/carousel-controls.js +3 -3
- package/dist/display/rule-grid/rule-grid.d.ts +3 -1
- package/dist/display/rule-grid/rule-grid.js +8 -2
- package/dist/display/skeletons/layouts/skeleton-rule-grid.d.ts +8 -0
- package/dist/display/skeletons/layouts/skeleton-rule-grid.js +10 -0
- package/dist/display/skeletons/layouts/skeleton-table.d.ts +8 -0
- package/dist/display/skeletons/layouts/skeleton-table.js +16 -0
- package/dist/display/skeletons/shapes/skeleton-avatar.d.ts +10 -0
- package/dist/display/skeletons/shapes/skeleton-avatar.js +20 -0
- package/dist/display/skeletons/shapes/skeleton-button.d.ts +10 -0
- package/dist/display/skeletons/shapes/skeleton-button.js +20 -0
- package/dist/display/skeletons/shapes/skeleton-text.d.ts +7 -0
- package/dist/display/skeletons/shapes/skeleton-text.js +13 -0
- package/dist/display/skeletons/skeleton-parts.d.ts +11 -0
- package/dist/display/skeletons/skeleton-parts.js +11 -0
- package/dist/display/status/alert.d.ts +1 -1
- package/dist/display/status/alert.js +4 -2
- package/dist/display/status/empty.js +1 -1
- package/dist/display/status/progress.d.ts +5 -1
- package/dist/display/status/progress.js +19 -2
- package/dist/display/status/skeleton.js +1 -1
- package/dist/display/status/spinner.js +1 -1
- package/dist/display/table.js +1 -1
- package/dist/feedback/toaster.d.ts +1 -1
- package/dist/feedback/toaster.js +12 -14
- package/dist/form/advanced/calendar-day-button.js +2 -2
- package/dist/form/advanced/calendar.d.ts +1 -1
- package/dist/form/advanced/calendar.js +6 -6
- package/dist/form/advanced/combobox/combobox-chips.js +3 -3
- package/dist/form/advanced/combobox/combobox-items.js +2 -2
- package/dist/form/advanced/combobox/combobox.js +3 -3
- package/dist/form/advanced/input-otp.js +2 -2
- package/dist/form/choice/checkbox.js +3 -3
- package/dist/form/choice/radio-group.js +2 -2
- package/dist/form/choice/select.js +5 -5
- package/dist/form/choice/slider.js +1 -1
- package/dist/form/choice/switch.js +1 -1
- package/dist/form/field/field-separator.js +1 -1
- package/dist/form/field/field-text.d.ts +1 -1
- package/dist/form/field/field-text.js +1 -1
- package/dist/form/field/field.js +3 -3
- package/dist/form/hook-form/form.js +2 -2
- package/dist/form/input-group.d.ts +1 -1
- package/dist/form/input-group.js +7 -7
- package/dist/form/native-select.js +2 -2
- package/dist/index.d.ts +101 -95
- package/dist/index.js +100 -94
- package/dist/layout/accordion.js +3 -3
- package/dist/layout/resizable.js +1 -1
- package/dist/layout/scroll/scroll-area.d.ts +1 -1
- package/dist/layout/scroll/scroll-area.js +3 -3
- package/dist/layout/sidebar/sidebar-context.js +2 -2
- package/dist/layout/sidebar/sidebar-menu-sub.js +1 -1
- package/dist/layout/sidebar/sidebar-menu.d.ts +1 -1
- package/dist/layout/sidebar/sidebar-menu.js +2 -2
- package/dist/layout/sidebar/sidebar-sections.d.ts +2 -2
- package/dist/layout/sidebar/sidebar-sections.js +4 -4
- package/dist/layout/sidebar/sidebar.d.ts +1 -1
- package/dist/layout/sidebar/sidebar.js +4 -4
- package/dist/layout/tabs.js +3 -3
- package/dist/navigation/breadcrumb.js +1 -1
- package/dist/navigation/menubar/menubar-items.js +2 -2
- package/dist/navigation/menubar/menubar-sub.js +2 -2
- package/dist/navigation/menubar/menubar.js +2 -2
- package/dist/navigation/navigation-menu.js +3 -3
- package/dist/navigation/pagination.d.ts +1 -1
- package/dist/navigation/pagination.js +6 -5
- package/dist/overlay/alert-dialog.d.ts +1 -1
- package/dist/overlay/alert-dialog.js +4 -4
- package/dist/overlay/context-menu/context-menu-items.js +2 -2
- package/dist/overlay/context-menu/context-menu-sub.js +2 -2
- package/dist/overlay/context-menu/context-menu.js +1 -1
- package/dist/overlay/dialog.js +4 -4
- package/dist/overlay/floating/command.d.ts +1 -1
- package/dist/overlay/floating/command.js +6 -6
- package/dist/overlay/floating/drawer.js +5 -5
- package/dist/overlay/floating/hover-card.js +2 -2
- package/dist/overlay/menu/dropdown-menu-choice.js +1 -1
- package/dist/overlay/menu/dropdown-menu-item.js +1 -1
- package/dist/overlay/menu/dropdown-menu-sub.js +2 -2
- package/dist/overlay/menu/dropdown-menu.js +2 -2
- package/dist/overlay/popover.js +2 -2
- package/dist/overlay/sheet.js +7 -7
- package/dist/shell/app-header.js +2 -2
- package/dist/shell/app-shell.js +2 -2
- package/dist/shell/breadcrumbs.d.ts +1 -1
- package/dist/shell/breadcrumbs.js +1 -1
- package/dist/shell/docs/docs-header.d.ts +1 -1
- package/dist/shell/docs/docs-header.js +3 -3
- package/dist/shell/docs/docs-shell.js +1 -1
- package/dist/shell/docs/docs-sidebar.d.ts +1 -1
- package/dist/shell/docs/docs-sidebar.js +2 -2
- package/dist/shell/docs/on-this-page.js +2 -2
- package/dist/shell/navigation/app-sidebar.d.ts +2 -2
- package/dist/shell/navigation/app-sidebar.js +4 -4
- package/dist/shell/navigation/nav-group.d.ts +1 -1
- package/dist/shell/navigation/nav-group.js +2 -2
- package/dist/shell/theme-toggle.js +2 -2
- package/package.json +5 -5
package/dist/index.d.ts
CHANGED
|
@@ -1,96 +1,102 @@
|
|
|
1
1
|
export { cn } from "cn";
|
|
2
|
-
export * from "./action/button";
|
|
3
|
-
export * from "./action/button-group";
|
|
4
|
-
export * from "./action/toggle";
|
|
5
|
-
export * from "./action/toggle-group";
|
|
6
|
-
export * from "./display/avatar";
|
|
7
|
-
export * from "./display/badge";
|
|
8
|
-
export * from "./display/chart/chart-container";
|
|
9
|
-
export * from "./display/chart/chart-legend";
|
|
10
|
-
export * from "./display/chart/chart-tooltip";
|
|
11
|
-
export * from "./display/chat/attachment/attachment";
|
|
12
|
-
export * from "./display/chat/attachment/attachment-parts";
|
|
13
|
-
export * from "./display/chat/bubble";
|
|
14
|
-
export * from "./display/chat/marker";
|
|
15
|
-
export * from "./display/chat/message";
|
|
16
|
-
export * from "./display/chat/message-scroller";
|
|
17
|
-
export * from "./display/content/item";
|
|
18
|
-
export * from "./display/content/kbd";
|
|
19
|
-
export * from "./display/media/aspect-ratio";
|
|
20
|
-
export * from "./display/media/carousel";
|
|
21
|
-
export * from "./display/media/carousel-controls";
|
|
22
|
-
export * from "./display/rule-grid/rule-grid";
|
|
23
|
-
export * from "./display/separator";
|
|
24
|
-
export * from "./display/
|
|
25
|
-
export * from "./display/
|
|
26
|
-
export * from "./display/
|
|
27
|
-
export * from "./display/
|
|
28
|
-
export * from "./display/
|
|
29
|
-
export * from "./display/
|
|
30
|
-
export * from "./
|
|
31
|
-
export * from "./
|
|
32
|
-
export * from "./
|
|
33
|
-
export * from "./
|
|
34
|
-
export * from "./
|
|
35
|
-
export * from "./
|
|
36
|
-
export * from "./
|
|
37
|
-
export * from "./form/
|
|
38
|
-
export * from "./form/
|
|
39
|
-
export * from "./form/
|
|
40
|
-
export * from "./form/
|
|
41
|
-
export * from "./form/
|
|
42
|
-
export * from "./form/
|
|
43
|
-
export * from "./form/
|
|
44
|
-
export * from "./form/
|
|
45
|
-
export * from "./form/
|
|
46
|
-
export * from "./form/
|
|
47
|
-
export * from "./form/
|
|
48
|
-
export * from "./form/
|
|
49
|
-
export * from "./form/
|
|
50
|
-
export * from "./form/
|
|
51
|
-
export * from "./form/
|
|
52
|
-
export * from "./form/
|
|
53
|
-
export * from "./
|
|
54
|
-
export * from "./
|
|
55
|
-
export * from "./
|
|
56
|
-
export * from "./
|
|
57
|
-
export * from "./
|
|
58
|
-
export * from "./
|
|
59
|
-
export
|
|
60
|
-
export * from "./layout/
|
|
61
|
-
export * from "./layout/
|
|
62
|
-
export * from "./layout/
|
|
63
|
-
export * from "./layout/
|
|
64
|
-
export * from "./layout/
|
|
65
|
-
export
|
|
66
|
-
export * from "./
|
|
67
|
-
export * from "./
|
|
68
|
-
export * from "./
|
|
69
|
-
export * from "./
|
|
70
|
-
export * from "./
|
|
71
|
-
export * from "./
|
|
72
|
-
export * from "./
|
|
73
|
-
export * from "./
|
|
74
|
-
export * from "./
|
|
75
|
-
export * from "./
|
|
76
|
-
export * from "./
|
|
77
|
-
export * from "./overlay/
|
|
78
|
-
export * from "./overlay/
|
|
79
|
-
export * from "./overlay/menu/
|
|
80
|
-
export * from "./overlay/menu/
|
|
81
|
-
export * from "./overlay/
|
|
82
|
-
export * from "./overlay/
|
|
83
|
-
export * from "./overlay/
|
|
84
|
-
export * from "./overlay/
|
|
85
|
-
export * from "./overlay/
|
|
86
|
-
export * from "./
|
|
87
|
-
export * from "./
|
|
88
|
-
export * from "./
|
|
89
|
-
export * from "./
|
|
90
|
-
export * from "./
|
|
91
|
-
export * from "./
|
|
92
|
-
export * from "./shell/
|
|
93
|
-
export * from "./shell/
|
|
94
|
-
export * from "./shell/
|
|
95
|
-
export
|
|
96
|
-
export * from "./shell/
|
|
2
|
+
export * from "./action/button.js";
|
|
3
|
+
export * from "./action/button-group.js";
|
|
4
|
+
export * from "./action/toggle.js";
|
|
5
|
+
export * from "./action/toggle-group.js";
|
|
6
|
+
export * from "./display/avatar.js";
|
|
7
|
+
export * from "./display/badge.js";
|
|
8
|
+
export * from "./display/chart/chart-container.js";
|
|
9
|
+
export * from "./display/chart/chart-legend.js";
|
|
10
|
+
export * from "./display/chart/chart-tooltip.js";
|
|
11
|
+
export * from "./display/chat/attachment/attachment.js";
|
|
12
|
+
export * from "./display/chat/attachment/attachment-parts.js";
|
|
13
|
+
export * from "./display/chat/bubble.js";
|
|
14
|
+
export * from "./display/chat/marker.js";
|
|
15
|
+
export * from "./display/chat/message.js";
|
|
16
|
+
export * from "./display/chat/message-scroller.js";
|
|
17
|
+
export * from "./display/content/item.js";
|
|
18
|
+
export * from "./display/content/kbd.js";
|
|
19
|
+
export * from "./display/media/aspect-ratio.js";
|
|
20
|
+
export * from "./display/media/carousel.js";
|
|
21
|
+
export * from "./display/media/carousel-controls.js";
|
|
22
|
+
export * from "./display/rule-grid/rule-grid.js";
|
|
23
|
+
export * from "./display/separator.js";
|
|
24
|
+
export * from "./display/skeletons/layouts/skeleton-rule-grid.js";
|
|
25
|
+
export * from "./display/skeletons/layouts/skeleton-table.js";
|
|
26
|
+
export * from "./display/skeletons/shapes/skeleton-avatar.js";
|
|
27
|
+
export * from "./display/skeletons/shapes/skeleton-button.js";
|
|
28
|
+
export * from "./display/skeletons/shapes/skeleton-text.js";
|
|
29
|
+
export * from "./display/skeletons/skeleton-parts.js";
|
|
30
|
+
export * from "./display/status/alert.js";
|
|
31
|
+
export * from "./display/status/empty.js";
|
|
32
|
+
export * from "./display/status/progress.js";
|
|
33
|
+
export * from "./display/status/skeleton.js";
|
|
34
|
+
export * from "./display/status/spinner.js";
|
|
35
|
+
export * from "./display/table.js";
|
|
36
|
+
export * from "./feedback/toaster.js";
|
|
37
|
+
export * from "./form/advanced/calendar.js";
|
|
38
|
+
export * from "./form/advanced/calendar-day-button.js";
|
|
39
|
+
export * from "./form/advanced/combobox/combobox.js";
|
|
40
|
+
export * from "./form/advanced/combobox/combobox-chips.js";
|
|
41
|
+
export * from "./form/advanced/combobox/combobox-items.js";
|
|
42
|
+
export * from "./form/advanced/input-otp.js";
|
|
43
|
+
export * from "./form/choice/checkbox.js";
|
|
44
|
+
export * from "./form/choice/radio-group.js";
|
|
45
|
+
export * from "./form/choice/select.js";
|
|
46
|
+
export * from "./form/choice/slider.js";
|
|
47
|
+
export * from "./form/choice/switch.js";
|
|
48
|
+
export * from "./form/field/field.js";
|
|
49
|
+
export * from "./form/field/field-error.js";
|
|
50
|
+
export * from "./form/field/field-separator.js";
|
|
51
|
+
export * from "./form/field/field-set.js";
|
|
52
|
+
export * from "./form/field/field-text.js";
|
|
53
|
+
export * from "./form/hook-form/form.js";
|
|
54
|
+
export * from "./form/input.js";
|
|
55
|
+
export * from "./form/input-group.js";
|
|
56
|
+
export * from "./form/label.js";
|
|
57
|
+
export * from "./form/native-select.js";
|
|
58
|
+
export * from "./form/textarea.js";
|
|
59
|
+
export * from "./layout/accordion.js";
|
|
60
|
+
export * from "./layout/collapsible.js";
|
|
61
|
+
export * from "./layout/resizable.js";
|
|
62
|
+
export * from "./layout/scroll/direction.js";
|
|
63
|
+
export * from "./layout/scroll/scroll-area.js";
|
|
64
|
+
export * from "./layout/sidebar/sidebar.js";
|
|
65
|
+
export { SidebarProvider, useSidebar } from "./layout/sidebar/sidebar-context.js";
|
|
66
|
+
export * from "./layout/sidebar/sidebar-menu.js";
|
|
67
|
+
export * from "./layout/sidebar/sidebar-menu-sub.js";
|
|
68
|
+
export * from "./layout/sidebar/sidebar-sections.js";
|
|
69
|
+
export * from "./layout/tabs.js";
|
|
70
|
+
export * from "./layout/use-mobile.js";
|
|
71
|
+
export * from "./navigation/breadcrumb.js";
|
|
72
|
+
export * from "./navigation/menubar/menubar.js";
|
|
73
|
+
export * from "./navigation/menubar/menubar-items.js";
|
|
74
|
+
export * from "./navigation/menubar/menubar-sub.js";
|
|
75
|
+
export * from "./navigation/navigation-menu.js";
|
|
76
|
+
export * from "./navigation/pagination.js";
|
|
77
|
+
export * from "./overlay/alert-dialog.js";
|
|
78
|
+
export * from "./overlay/context-menu/context-menu.js";
|
|
79
|
+
export * from "./overlay/context-menu/context-menu-items.js";
|
|
80
|
+
export * from "./overlay/context-menu/context-menu-sub.js";
|
|
81
|
+
export * from "./overlay/dialog.js";
|
|
82
|
+
export * from "./overlay/floating/command.js";
|
|
83
|
+
export * from "./overlay/floating/drawer.js";
|
|
84
|
+
export * from "./overlay/floating/hover-card.js";
|
|
85
|
+
export * from "./overlay/menu/dropdown-menu.js";
|
|
86
|
+
export * from "./overlay/menu/dropdown-menu-choice.js";
|
|
87
|
+
export * from "./overlay/menu/dropdown-menu-item.js";
|
|
88
|
+
export * from "./overlay/menu/dropdown-menu-sub.js";
|
|
89
|
+
export * from "./overlay/popover.js";
|
|
90
|
+
export * from "./overlay/sheet.js";
|
|
91
|
+
export * from "./overlay/tooltip.js";
|
|
92
|
+
export * from "./shell/app-header.js";
|
|
93
|
+
export * from "./shell/app-shell.js";
|
|
94
|
+
export * from "./shell/breadcrumbs.js";
|
|
95
|
+
export * from "./shell/docs/docs-header.js";
|
|
96
|
+
export * from "./shell/docs/docs-shell.js";
|
|
97
|
+
export * from "./shell/docs/docs-sidebar.js";
|
|
98
|
+
export * from "./shell/docs/on-this-page.js";
|
|
99
|
+
export * from "./shell/link.js";
|
|
100
|
+
export * from "./shell/navigation/app-sidebar.js";
|
|
101
|
+
export type { AppNavGroup, AppNavItem } from "./shell/navigation/nav-group.js";
|
|
102
|
+
export * from "./shell/theme-toggle.js";
|
package/dist/index.js
CHANGED
|
@@ -1,95 +1,101 @@
|
|
|
1
1
|
export { cn } from "cn";
|
|
2
|
-
export * from "./action/button";
|
|
3
|
-
export * from "./action/button-group";
|
|
4
|
-
export * from "./action/toggle";
|
|
5
|
-
export * from "./action/toggle-group";
|
|
6
|
-
export * from "./display/avatar";
|
|
7
|
-
export * from "./display/badge";
|
|
8
|
-
export * from "./display/chart/chart-container";
|
|
9
|
-
export * from "./display/chart/chart-legend";
|
|
10
|
-
export * from "./display/chart/chart-tooltip";
|
|
11
|
-
export * from "./display/chat/attachment/attachment";
|
|
12
|
-
export * from "./display/chat/attachment/attachment-parts";
|
|
13
|
-
export * from "./display/chat/bubble";
|
|
14
|
-
export * from "./display/chat/marker";
|
|
15
|
-
export * from "./display/chat/message";
|
|
16
|
-
export * from "./display/chat/message-scroller";
|
|
17
|
-
export * from "./display/content/item";
|
|
18
|
-
export * from "./display/content/kbd";
|
|
19
|
-
export * from "./display/media/aspect-ratio";
|
|
20
|
-
export * from "./display/media/carousel";
|
|
21
|
-
export * from "./display/media/carousel-controls";
|
|
22
|
-
export * from "./display/rule-grid/rule-grid";
|
|
23
|
-
export * from "./display/separator";
|
|
24
|
-
export * from "./display/
|
|
25
|
-
export * from "./display/
|
|
26
|
-
export * from "./display/
|
|
27
|
-
export * from "./display/
|
|
28
|
-
export * from "./display/
|
|
29
|
-
export * from "./display/
|
|
30
|
-
export * from "./
|
|
31
|
-
export * from "./
|
|
32
|
-
export * from "./
|
|
33
|
-
export * from "./
|
|
34
|
-
export * from "./
|
|
35
|
-
export * from "./
|
|
36
|
-
export * from "./
|
|
37
|
-
export * from "./form/
|
|
38
|
-
export * from "./form/
|
|
39
|
-
export * from "./form/
|
|
40
|
-
export * from "./form/
|
|
41
|
-
export * from "./form/
|
|
42
|
-
export * from "./form/
|
|
43
|
-
export * from "./form/
|
|
44
|
-
export * from "./form/
|
|
45
|
-
export * from "./form/
|
|
46
|
-
export * from "./form/
|
|
47
|
-
export * from "./form/
|
|
48
|
-
export * from "./form/
|
|
49
|
-
export * from "./form/
|
|
50
|
-
export * from "./form/
|
|
51
|
-
export * from "./form/
|
|
52
|
-
export * from "./form/
|
|
53
|
-
export * from "./
|
|
54
|
-
export * from "./
|
|
55
|
-
export * from "./
|
|
56
|
-
export * from "./
|
|
57
|
-
export * from "./
|
|
58
|
-
export * from "./
|
|
59
|
-
export
|
|
60
|
-
export * from "./layout/
|
|
61
|
-
export * from "./layout/
|
|
62
|
-
export * from "./layout/
|
|
63
|
-
export * from "./layout/
|
|
64
|
-
export * from "./layout/
|
|
65
|
-
export
|
|
66
|
-
export * from "./
|
|
67
|
-
export * from "./
|
|
68
|
-
export * from "./
|
|
69
|
-
export * from "./
|
|
70
|
-
export * from "./
|
|
71
|
-
export * from "./
|
|
72
|
-
export * from "./
|
|
73
|
-
export * from "./
|
|
74
|
-
export * from "./
|
|
75
|
-
export * from "./
|
|
76
|
-
export * from "./
|
|
77
|
-
export * from "./overlay/
|
|
78
|
-
export * from "./overlay/
|
|
79
|
-
export * from "./overlay/menu/
|
|
80
|
-
export * from "./overlay/menu/
|
|
81
|
-
export * from "./overlay/
|
|
82
|
-
export * from "./overlay/
|
|
83
|
-
export * from "./overlay/
|
|
84
|
-
export * from "./overlay/
|
|
85
|
-
export * from "./overlay/
|
|
86
|
-
export * from "./
|
|
87
|
-
export * from "./
|
|
88
|
-
export * from "./
|
|
89
|
-
export * from "./
|
|
90
|
-
export * from "./
|
|
91
|
-
export * from "./
|
|
92
|
-
export * from "./shell/
|
|
93
|
-
export * from "./shell/
|
|
94
|
-
export * from "./shell/
|
|
95
|
-
export * from "./shell/
|
|
2
|
+
export * from "./action/button.js";
|
|
3
|
+
export * from "./action/button-group.js";
|
|
4
|
+
export * from "./action/toggle.js";
|
|
5
|
+
export * from "./action/toggle-group.js";
|
|
6
|
+
export * from "./display/avatar.js";
|
|
7
|
+
export * from "./display/badge.js";
|
|
8
|
+
export * from "./display/chart/chart-container.js";
|
|
9
|
+
export * from "./display/chart/chart-legend.js";
|
|
10
|
+
export * from "./display/chart/chart-tooltip.js";
|
|
11
|
+
export * from "./display/chat/attachment/attachment.js";
|
|
12
|
+
export * from "./display/chat/attachment/attachment-parts.js";
|
|
13
|
+
export * from "./display/chat/bubble.js";
|
|
14
|
+
export * from "./display/chat/marker.js";
|
|
15
|
+
export * from "./display/chat/message.js";
|
|
16
|
+
export * from "./display/chat/message-scroller.js";
|
|
17
|
+
export * from "./display/content/item.js";
|
|
18
|
+
export * from "./display/content/kbd.js";
|
|
19
|
+
export * from "./display/media/aspect-ratio.js";
|
|
20
|
+
export * from "./display/media/carousel.js";
|
|
21
|
+
export * from "./display/media/carousel-controls.js";
|
|
22
|
+
export * from "./display/rule-grid/rule-grid.js";
|
|
23
|
+
export * from "./display/separator.js";
|
|
24
|
+
export * from "./display/skeletons/layouts/skeleton-rule-grid.js";
|
|
25
|
+
export * from "./display/skeletons/layouts/skeleton-table.js";
|
|
26
|
+
export * from "./display/skeletons/shapes/skeleton-avatar.js";
|
|
27
|
+
export * from "./display/skeletons/shapes/skeleton-button.js";
|
|
28
|
+
export * from "./display/skeletons/shapes/skeleton-text.js";
|
|
29
|
+
export * from "./display/skeletons/skeleton-parts.js";
|
|
30
|
+
export * from "./display/status/alert.js";
|
|
31
|
+
export * from "./display/status/empty.js";
|
|
32
|
+
export * from "./display/status/progress.js";
|
|
33
|
+
export * from "./display/status/skeleton.js";
|
|
34
|
+
export * from "./display/status/spinner.js";
|
|
35
|
+
export * from "./display/table.js";
|
|
36
|
+
export * from "./feedback/toaster.js";
|
|
37
|
+
export * from "./form/advanced/calendar.js";
|
|
38
|
+
export * from "./form/advanced/calendar-day-button.js";
|
|
39
|
+
export * from "./form/advanced/combobox/combobox.js";
|
|
40
|
+
export * from "./form/advanced/combobox/combobox-chips.js";
|
|
41
|
+
export * from "./form/advanced/combobox/combobox-items.js";
|
|
42
|
+
export * from "./form/advanced/input-otp.js";
|
|
43
|
+
export * from "./form/choice/checkbox.js";
|
|
44
|
+
export * from "./form/choice/radio-group.js";
|
|
45
|
+
export * from "./form/choice/select.js";
|
|
46
|
+
export * from "./form/choice/slider.js";
|
|
47
|
+
export * from "./form/choice/switch.js";
|
|
48
|
+
export * from "./form/field/field.js";
|
|
49
|
+
export * from "./form/field/field-error.js";
|
|
50
|
+
export * from "./form/field/field-separator.js";
|
|
51
|
+
export * from "./form/field/field-set.js";
|
|
52
|
+
export * from "./form/field/field-text.js";
|
|
53
|
+
export * from "./form/hook-form/form.js";
|
|
54
|
+
export * from "./form/input.js";
|
|
55
|
+
export * from "./form/input-group.js";
|
|
56
|
+
export * from "./form/label.js";
|
|
57
|
+
export * from "./form/native-select.js";
|
|
58
|
+
export * from "./form/textarea.js";
|
|
59
|
+
export * from "./layout/accordion.js";
|
|
60
|
+
export * from "./layout/collapsible.js";
|
|
61
|
+
export * from "./layout/resizable.js";
|
|
62
|
+
export * from "./layout/scroll/direction.js";
|
|
63
|
+
export * from "./layout/scroll/scroll-area.js";
|
|
64
|
+
export * from "./layout/sidebar/sidebar.js";
|
|
65
|
+
export { SidebarProvider, useSidebar } from "./layout/sidebar/sidebar-context.js";
|
|
66
|
+
export * from "./layout/sidebar/sidebar-menu.js";
|
|
67
|
+
export * from "./layout/sidebar/sidebar-menu-sub.js";
|
|
68
|
+
export * from "./layout/sidebar/sidebar-sections.js";
|
|
69
|
+
export * from "./layout/tabs.js";
|
|
70
|
+
export * from "./layout/use-mobile.js";
|
|
71
|
+
export * from "./navigation/breadcrumb.js";
|
|
72
|
+
export * from "./navigation/menubar/menubar.js";
|
|
73
|
+
export * from "./navigation/menubar/menubar-items.js";
|
|
74
|
+
export * from "./navigation/menubar/menubar-sub.js";
|
|
75
|
+
export * from "./navigation/navigation-menu.js";
|
|
76
|
+
export * from "./navigation/pagination.js";
|
|
77
|
+
export * from "./overlay/alert-dialog.js";
|
|
78
|
+
export * from "./overlay/context-menu/context-menu.js";
|
|
79
|
+
export * from "./overlay/context-menu/context-menu-items.js";
|
|
80
|
+
export * from "./overlay/context-menu/context-menu-sub.js";
|
|
81
|
+
export * from "./overlay/dialog.js";
|
|
82
|
+
export * from "./overlay/floating/command.js";
|
|
83
|
+
export * from "./overlay/floating/drawer.js";
|
|
84
|
+
export * from "./overlay/floating/hover-card.js";
|
|
85
|
+
export * from "./overlay/menu/dropdown-menu.js";
|
|
86
|
+
export * from "./overlay/menu/dropdown-menu-choice.js";
|
|
87
|
+
export * from "./overlay/menu/dropdown-menu-item.js";
|
|
88
|
+
export * from "./overlay/menu/dropdown-menu-sub.js";
|
|
89
|
+
export * from "./overlay/popover.js";
|
|
90
|
+
export * from "./overlay/sheet.js";
|
|
91
|
+
export * from "./overlay/tooltip.js";
|
|
92
|
+
export * from "./shell/app-header.js";
|
|
93
|
+
export * from "./shell/app-shell.js";
|
|
94
|
+
export * from "./shell/breadcrumbs.js";
|
|
95
|
+
export * from "./shell/docs/docs-header.js";
|
|
96
|
+
export * from "./shell/docs/docs-shell.js";
|
|
97
|
+
export * from "./shell/docs/docs-sidebar.js";
|
|
98
|
+
export * from "./shell/docs/on-this-page.js";
|
|
99
|
+
export * from "./shell/link.js";
|
|
100
|
+
export * from "./shell/navigation/app-sidebar.js";
|
|
101
|
+
export * from "./shell/theme-toggle.js";
|
package/dist/layout/accordion.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { ChevronDown as ChevronDownIcon } from "@carbon/icons-react";
|
|
3
4
|
import { cn } from "cn";
|
|
4
|
-
import { ChevronDownIcon } from "lucide-react";
|
|
5
5
|
import * as AccordionPrimitive from "radix-ui/accordion";
|
|
6
6
|
function Accordion(props) {
|
|
7
7
|
return _jsx(AccordionPrimitive.Root, { "data-slot": "accordion", ...props });
|
|
@@ -10,9 +10,9 @@ function AccordionItem({ className, ...props }) {
|
|
|
10
10
|
return (_jsx(AccordionPrimitive.Item, { "data-slot": "accordion-item", className: cn("border-b last:border-b-0", className), ...props }));
|
|
11
11
|
}
|
|
12
12
|
function AccordionTrigger({ className, children, ...props }) {
|
|
13
|
-
return (_jsx(AccordionPrimitive.Header, { className: "flex", children: _jsxs(AccordionPrimitive.Trigger, { "data-slot": "accordion-trigger", className: cn("flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/70 focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180", className), ...props, children: [children, _jsx(ChevronDownIcon, { className: "pointer-events-none size-4 shrink-0 translate-y-0.5 text-muted-foreground transition-transform duration-200" })] }) }));
|
|
13
|
+
return (_jsx(AccordionPrimitive.Header, { className: "flex font-sans tracking-normal", children: _jsxs(AccordionPrimitive.Trigger, { "data-slot": "accordion-trigger", className: cn("flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium transition-all outline-none hover:underline focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/70 focus-visible:ring-offset-2 focus-visible:ring-offset-background disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180", className), ...props, children: [children, _jsx(ChevronDownIcon, { className: "pointer-events-none size-4 shrink-0 translate-y-0.5 text-muted-foreground transition-transform duration-200" })] }) }));
|
|
14
14
|
}
|
|
15
15
|
function AccordionContent({ className, children, ...props }) {
|
|
16
|
-
return (_jsx(AccordionPrimitive.Content, { "data-slot": "accordion-content", className: "overflow-hidden text-sm data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down", ...props, children: _jsx("div", { className: cn("pt-0 pb-4", className), children: children }) }));
|
|
16
|
+
return (_jsx(AccordionPrimitive.Content, { "data-slot": "accordion-content", className: "overflow-hidden text-sm text-muted-foreground data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down", ...props, children: _jsx("div", { className: cn("pt-0 pb-4", className), children: children }) }));
|
|
17
17
|
}
|
|
18
18
|
export { Accordion, AccordionContent, AccordionItem, AccordionTrigger };
|
package/dist/layout/resizable.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
|
+
import { Draggable as GripVerticalIcon } from "@carbon/icons-react";
|
|
3
4
|
import { cn } from "cn";
|
|
4
|
-
import { GripVerticalIcon } from "lucide-react";
|
|
5
5
|
import * as ResizablePrimitive from "react-resizable-panels";
|
|
6
6
|
function ResizablePanelGroup({ className, ...props }) {
|
|
7
7
|
return (_jsx(ResizablePrimitive.Group, { "data-slot": "resizable-panel-group", className: cn("flex h-full w-full aria-[orientation=vertical]:flex-col", className), ...props }));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as ScrollAreaPrimitive from "radix-ui/scroll-area";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
declare function ScrollArea({ className, children, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>): React.JSX.Element;
|
|
3
|
+
declare function ScrollArea({ className, children, type, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.Root>): React.JSX.Element;
|
|
4
4
|
declare function ScrollBar({ className, orientation, ...props }: React.ComponentProps<typeof ScrollAreaPrimitive.ScrollAreaScrollbar>): React.JSX.Element;
|
|
5
5
|
export { ScrollArea, ScrollBar };
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { cn } from "cn";
|
|
4
4
|
import * as ScrollAreaPrimitive from "radix-ui/scroll-area";
|
|
5
|
-
function ScrollArea({ className, children, ...props }) {
|
|
6
|
-
return (_jsxs(ScrollAreaPrimitive.Root, { "data-slot": "scroll-area", className: cn("relative", className), ...props, children: [_jsx(ScrollAreaPrimitive.Viewport, { "data-slot": "scroll-area-viewport", className: "size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-2 focus-visible:ring-ring/70 focus-visible:ring-offset-2 focus-visible:ring-offset-background focus-visible:outline-1", children: children }), _jsx(ScrollBar, {}), _jsx(ScrollAreaPrimitive.Corner, {})] }));
|
|
5
|
+
function ScrollArea({ className, children, type = "auto", ...props }) {
|
|
6
|
+
return (_jsxs(ScrollAreaPrimitive.Root, { "data-slot": "scroll-area", type: type, className: cn("relative", className), ...props, children: [_jsx(ScrollAreaPrimitive.Viewport, { "data-slot": "scroll-area-viewport", className: "size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-2 focus-visible:ring-ring/70 focus-visible:ring-offset-2 focus-visible:ring-offset-background focus-visible:outline-1", children: children }), _jsx(ScrollBar, {}), _jsx(ScrollAreaPrimitive.Corner, {})] }));
|
|
7
7
|
}
|
|
8
8
|
function ScrollBar({ className, orientation = "vertical", ...props }) {
|
|
9
|
-
return (_jsx(ScrollAreaPrimitive.ScrollAreaScrollbar, { "data-slot": "scroll-area-scrollbar", orientation: orientation, className: cn("flex touch-none p-px transition-colors select-none", orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent", orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent", className), ...props, children: _jsx(ScrollAreaPrimitive.ScrollAreaThumb, { "data-slot": "scroll-area-thumb", className: "relative flex-1 rounded-full bg-
|
|
9
|
+
return (_jsx(ScrollAreaPrimitive.ScrollAreaScrollbar, { "data-slot": "scroll-area-scrollbar", orientation: orientation, className: cn("flex touch-none p-px transition-colors select-none", orientation === "vertical" && "h-full w-2.5 border-l border-l-transparent", orientation === "horizontal" && "h-2.5 flex-col border-t border-t-transparent", className), ...props, children: _jsx(ScrollAreaPrimitive.ScrollAreaThumb, { "data-slot": "scroll-area-thumb", className: "relative flex-1 rounded-full bg-foreground/20 hover:bg-foreground/30" }) }));
|
|
10
10
|
}
|
|
11
11
|
export { ScrollArea, ScrollBar };
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { cn } from "cn";
|
|
4
4
|
import * as React from "react";
|
|
5
|
-
import { TooltipProvider } from "../../overlay/tooltip";
|
|
6
|
-
import { useIsMobile } from "../use-mobile";
|
|
5
|
+
import { TooltipProvider } from "../../overlay/tooltip.js";
|
|
6
|
+
import { useIsMobile } from "../use-mobile.js";
|
|
7
7
|
const SIDEBAR_COOKIE_NAME = "sidebar_state";
|
|
8
8
|
const SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
|
|
9
9
|
const SIDEBAR_WIDTH = "15rem";
|
|
@@ -3,7 +3,7 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { cn } from "cn";
|
|
4
4
|
import * as Slot from "radix-ui/slot";
|
|
5
5
|
import * as React from "react";
|
|
6
|
-
import { Skeleton } from "../../display/status/skeleton";
|
|
6
|
+
import { Skeleton } from "../../display/status/skeleton.js";
|
|
7
7
|
function randomSkeletonWidth() {
|
|
8
8
|
return `${Math.floor(Math.random() * 40) + 50}%`;
|
|
9
9
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type VariantProps } from "class-variance-authority";
|
|
2
2
|
import type * as React from "react";
|
|
3
|
-
import { TooltipContent } from "../../overlay/tooltip";
|
|
3
|
+
import { TooltipContent } from "../../overlay/tooltip.js";
|
|
4
4
|
declare function SidebarMenu({ className, ...props }: React.ComponentProps<"ul">): React.JSX.Element;
|
|
5
5
|
declare function SidebarMenuItem({ className, ...props }: React.ComponentProps<"li">): React.JSX.Element;
|
|
6
6
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
@@ -3,8 +3,8 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import { cva } from "class-variance-authority";
|
|
4
4
|
import { cn } from "cn";
|
|
5
5
|
import * as Slot from "radix-ui/slot";
|
|
6
|
-
import { Tooltip, TooltipContent, TooltipTrigger } from "../../overlay/tooltip";
|
|
7
|
-
import { sidebarMobileHitArea, useSidebar } from "./sidebar-context";
|
|
6
|
+
import { Tooltip, TooltipContent, TooltipTrigger } from "../../overlay/tooltip.js";
|
|
7
|
+
import { sidebarMobileHitArea, useSidebar } from "./sidebar-context.js";
|
|
8
8
|
function SidebarMenu({ className, ...props }) {
|
|
9
9
|
return (_jsx("ul", { "data-slot": "sidebar-menu", "data-sidebar": "menu", className: cn("flex w-full min-w-0 flex-col gap-1", className), ...props }));
|
|
10
10
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type * as React from "react";
|
|
2
|
-
import { Separator } from "../../display/separator";
|
|
3
|
-
import { Input } from "../../form/input";
|
|
2
|
+
import { Separator } from "../../display/separator.js";
|
|
3
|
+
import { Input } from "../../form/input.js";
|
|
4
4
|
declare function SidebarInput({ className, ...props }: React.ComponentProps<typeof Input>): React.JSX.Element;
|
|
5
5
|
declare function SidebarHeader({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
6
6
|
declare function SidebarFooter({ className, ...props }: React.ComponentProps<"div">): React.JSX.Element;
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
3
3
|
import { cn } from "cn";
|
|
4
4
|
import * as Slot from "radix-ui/slot";
|
|
5
|
-
import { Separator } from "../../display/separator";
|
|
6
|
-
import { Input } from "../../form/input";
|
|
7
|
-
import { sidebarMobileHitArea } from "./sidebar-context";
|
|
5
|
+
import { Separator } from "../../display/separator.js";
|
|
6
|
+
import { Input } from "../../form/input.js";
|
|
7
|
+
import { sidebarMobileHitArea } from "./sidebar-context.js";
|
|
8
8
|
function SidebarInput({ className, ...props }) {
|
|
9
9
|
return (_jsx(Input, { "data-slot": "sidebar-input", "data-sidebar": "input", className: cn("h-8 w-full bg-background shadow-none", className), ...props }));
|
|
10
10
|
}
|
|
@@ -25,7 +25,7 @@ function SidebarGroup({ className, ...props }) {
|
|
|
25
25
|
}
|
|
26
26
|
function SidebarGroupLabel({ className, asChild = false, ...props }) {
|
|
27
27
|
const Comp = asChild ? Slot.Root : "div";
|
|
28
|
-
return (_jsx(Comp, { "data-slot": "sidebar-group-label", "data-sidebar": "group-label", className: cn("flex h-8 shrink-0 items-center rounded-md px-2
|
|
28
|
+
return (_jsx(Comp, { "data-slot": "sidebar-group-label", "data-sidebar": "group-label", className: cn("flex h-8 shrink-0 items-center eyebrow rounded-md px-2 ring-sidebar-ring outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0", "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0", className), ...props }));
|
|
29
29
|
}
|
|
30
30
|
function SidebarGroupAction({ className, asChild = false, ...props }) {
|
|
31
31
|
const Comp = asChild ? Slot.Root : "button";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type * as React from "react";
|
|
2
|
-
import { Button } from "../../action/button";
|
|
2
|
+
import { Button } from "../../action/button.js";
|
|
3
3
|
declare function Sidebar({ side, variant, collapsible, className, children, ...props }: React.ComponentProps<"div"> & {
|
|
4
4
|
side?: "left" | "right";
|
|
5
5
|
variant?: "sidebar" | "floating" | "inset";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import { SidePanelOpen as PanelLeftIcon } from "@carbon/icons-react";
|
|
3
4
|
import { cn } from "cn";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { SIDEBAR_WIDTH_MOBILE, useSidebar } from "./sidebar-context";
|
|
5
|
+
import { Button } from "../../action/button.js";
|
|
6
|
+
import { Sheet, SheetContent, SheetDescription, SheetHeader, SheetTitle, } from "../../overlay/sheet.js";
|
|
7
|
+
import { SIDEBAR_WIDTH_MOBILE, useSidebar } from "./sidebar-context.js";
|
|
8
8
|
function Sidebar({ side = "left", variant = "sidebar", collapsible = "offcanvas", className, children, ...props }) {
|
|
9
9
|
const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
|
|
10
10
|
if (collapsible === "none") {
|
package/dist/layout/tabs.js
CHANGED
|
@@ -4,13 +4,13 @@ import { cva } from "class-variance-authority";
|
|
|
4
4
|
import { cn } from "cn";
|
|
5
5
|
import * as TabsPrimitive from "radix-ui/tabs";
|
|
6
6
|
function Tabs({ className, orientation = "horizontal", ...props }) {
|
|
7
|
-
return (_jsx(TabsPrimitive.Root, { "data-slot": "tabs", "data-orientation": orientation, orientation: orientation, className: cn("group/tabs flex gap-
|
|
7
|
+
return (_jsx(TabsPrimitive.Root, { "data-slot": "tabs", "data-orientation": orientation, orientation: orientation, className: cn("group/tabs flex gap-4 data-[orientation=horizontal]:flex-col data-[orientation=vertical]:gap-6", className), ...props }));
|
|
8
8
|
}
|
|
9
9
|
const tabsListVariants = cva("group/tabs-list inline-flex w-fit items-center justify-center rounded-lg p-[3px] text-muted-foreground group-data-[orientation=horizontal]/tabs:h-9 group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col data-[variant=line]:rounded-none", {
|
|
10
10
|
variants: {
|
|
11
11
|
variant: {
|
|
12
12
|
default: "bg-muted",
|
|
13
|
-
line: "gap-1 bg-transparent",
|
|
13
|
+
line: "gap-1 bg-transparent group-data-[orientation=horizontal]/tabs:border-b group-data-[orientation=horizontal]/tabs:border-line group-data-[orientation=vertical]/tabs:border-r group-data-[orientation=vertical]/tabs:border-line",
|
|
14
14
|
},
|
|
15
15
|
},
|
|
16
16
|
defaultVariants: {
|
|
@@ -21,7 +21,7 @@ function TabsList({ className, variant = "default", ...props }) {
|
|
|
21
21
|
return (_jsx(TabsPrimitive.List, { "data-slot": "tabs-list", "data-variant": variant, className: cn(tabsListVariants({ variant }), className), ...props }));
|
|
22
22
|
}
|
|
23
23
|
function TabsTrigger({ className, ...props }) {
|
|
24
|
-
return (_jsx(TabsPrimitive.Trigger, { "data-slot": "tabs-trigger", className: cn("relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap text-foreground/60 transition-[color,background-color,border-color,box-shadow] duration-150 ease-out group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/70 focus-visible:ring-offset-2 focus-visible:ring-offset-background focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 group-data-[variant=default]/tabs-list:data-[state=active]:shadow-sm group-data-[variant=line]/tabs-list:data-[state=active]:shadow-none dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:border-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent", "data-[state=active]:bg-background data-[state=active]:text-foreground
|
|
24
|
+
return (_jsx(TabsPrimitive.Trigger, { "data-slot": "tabs-trigger", className: cn("relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center gap-1.5 rounded-md border border-transparent px-2 py-1 text-sm font-medium whitespace-nowrap text-foreground/60 transition-[color,background-color,border-color,box-shadow] duration-150 ease-out group-data-[orientation=vertical]/tabs:w-full group-data-[orientation=vertical]/tabs:justify-start hover:text-foreground focus-visible:border-ring focus-visible:ring-2 focus-visible:ring-ring/70 focus-visible:ring-offset-2 focus-visible:ring-offset-background focus-visible:outline-1 focus-visible:outline-ring disabled:pointer-events-none disabled:opacity-50 group-data-[variant=default]/tabs-list:data-[state=active]:shadow-sm group-data-[variant=line]/tabs-list:data-[state=active]:shadow-none dark:text-muted-foreground dark:hover:text-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:border-transparent dark:group-data-[variant=line]/tabs-list:data-[state=active]:bg-transparent", "data-[state=active]:bg-background data-[state=active]:text-foreground group-data-[variant=default]/tabs-list:data-[state=active]:border-input dark:data-[state=active]:bg-input/30 dark:data-[state=active]:text-foreground", "after:absolute after:bg-foreground after:opacity-0 after:transition-opacity group-data-[orientation=horizontal]/tabs:after:inset-x-0 group-data-[orientation=horizontal]/tabs:after:bottom-[-4px] group-data-[orientation=horizontal]/tabs:after:h-0.5 group-data-[orientation=vertical]/tabs:after:inset-y-0 group-data-[orientation=vertical]/tabs:after:-right-1 group-data-[orientation=vertical]/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-[state=active]:after:opacity-100", className), ...props }));
|
|
25
25
|
}
|
|
26
26
|
const visibleKeyboardFocusOutline = "focus-visible:outline-2 focus-visible:-outline-offset-2 focus-visible:outline-solid focus-visible:outline-ring/70";
|
|
27
27
|
function TabsContent({ className, ...props }) {
|