@kopexa/theme 1.5.8 → 1.6.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.
Files changed (71) hide show
  1. package/dist/{chunk-FLD2CUFZ.mjs → chunk-3IIJVON7.mjs} +11 -8
  2. package/dist/chunk-CZMZHA7U.mjs +37 -0
  3. package/dist/{chunk-UI2M2MFB.mjs → chunk-DH3KNPAO.mjs} +3 -1
  4. package/dist/{chunk-4VKJFW6Y.mjs → chunk-EACX3NZF.mjs} +11 -2
  5. package/dist/chunk-GA6UOB2D.mjs +166 -0
  6. package/dist/{chunk-32L6KXLV.mjs → chunk-HOQ2LD24.mjs} +1 -1
  7. package/dist/chunk-I6M4S2KZ.mjs +41 -0
  8. package/dist/chunk-IRKCLWJD.mjs +15 -0
  9. package/dist/{chunk-3M5JSM7Y.mjs → chunk-MGYGD5BF.mjs} +1 -1
  10. package/dist/{chunk-I2NMD23O.mjs → chunk-OMS3433R.mjs} +1 -1
  11. package/dist/{chunk-CDTKWCOH.mjs → chunk-SU53TZN7.mjs} +34 -2
  12. package/dist/chunk-UPTG533L.mjs +87 -0
  13. package/dist/{chunk-67PPUTSS.mjs → chunk-UVT775TU.mjs} +1 -1
  14. package/dist/{chunk-5BIGFSZK.mjs → chunk-WSX3HKVE.mjs} +1 -1
  15. package/dist/components/avatar.js +1 -1
  16. package/dist/components/avatar.mjs +2 -2
  17. package/dist/components/button.js +1 -1
  18. package/dist/components/button.mjs +2 -2
  19. package/dist/components/card.d.mts +24 -0
  20. package/dist/components/card.d.ts +24 -0
  21. package/dist/components/card.js +11 -2
  22. package/dist/components/card.mjs +1 -1
  23. package/dist/components/chip.js +1 -1
  24. package/dist/components/chip.mjs +2 -2
  25. package/dist/components/code.js +1 -1
  26. package/dist/components/code.mjs +2 -2
  27. package/dist/components/drawer.d.mts +9 -3
  28. package/dist/components/drawer.d.ts +9 -3
  29. package/dist/components/drawer.js +3 -1
  30. package/dist/components/drawer.mjs +1 -1
  31. package/dist/components/index.d.mts +5 -0
  32. package/dist/components/index.d.ts +5 -0
  33. package/dist/components/index.js +411 -22
  34. package/dist/components/index.mjs +39 -15
  35. package/dist/components/page-layout.d.mts +9 -0
  36. package/dist/components/page-layout.d.ts +9 -0
  37. package/dist/components/page-layout.js +11 -8
  38. package/dist/components/page-layout.mjs +1 -1
  39. package/dist/components/risk-indicator.d.mts +76 -0
  40. package/dist/components/risk-indicator.d.ts +76 -0
  41. package/dist/components/risk-indicator.js +61 -0
  42. package/dist/components/risk-indicator.mjs +6 -0
  43. package/dist/components/separator.d.mts +22 -0
  44. package/dist/components/separator.d.ts +22 -0
  45. package/dist/components/separator.js +39 -0
  46. package/dist/components/separator.mjs +6 -0
  47. package/dist/components/sidebar.d.mts +206 -0
  48. package/dist/components/sidebar.d.ts +206 -0
  49. package/dist/components/sidebar.js +192 -0
  50. package/dist/components/sidebar.mjs +10 -0
  51. package/dist/components/tab-nav.d.mts +101 -0
  52. package/dist/components/tab-nav.d.ts +101 -0
  53. package/dist/components/tab-nav.js +111 -0
  54. package/dist/components/tab-nav.mjs +6 -0
  55. package/dist/components/table.d.mts +54 -0
  56. package/dist/components/table.d.ts +54 -0
  57. package/dist/components/table.js +34 -2
  58. package/dist/components/table.mjs +1 -1
  59. package/dist/components/tabs.d.mts +43 -0
  60. package/dist/components/tabs.d.ts +43 -0
  61. package/dist/components/tabs.js +65 -0
  62. package/dist/components/tabs.mjs +6 -0
  63. package/dist/index.css +23 -11
  64. package/dist/index.d.mts +5 -0
  65. package/dist/index.d.ts +5 -0
  66. package/dist/index.js +411 -22
  67. package/dist/index.mjs +39 -15
  68. package/dist/utils/variants.js +1 -1
  69. package/dist/utils/variants.mjs +1 -1
  70. package/package.json +1 -1
  71. /package/dist/{chunk-FWB233VZ.mjs → chunk-EOJ6MEGH.mjs} +0 -0
@@ -0,0 +1,206 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ declare const sidebar: tailwind_variants.TVReturnType<{
5
+ variant: {
6
+ sidebar: {
7
+ gap: string;
8
+ container: string;
9
+ };
10
+ floating: {
11
+ gap: string;
12
+ container: string;
13
+ };
14
+ inset: {
15
+ gap: string;
16
+ container: string;
17
+ };
18
+ };
19
+ side: {
20
+ left: {
21
+ container: string;
22
+ };
23
+ right: {
24
+ container: string;
25
+ };
26
+ };
27
+ isMobile: {
28
+ true: {};
29
+ false: {};
30
+ };
31
+ }, {
32
+ provider: string[];
33
+ sidebarWrapper: string[];
34
+ sidebar: string[];
35
+ gap: string[];
36
+ container: string[];
37
+ inner: string[];
38
+ trigger: never[];
39
+ rail: string[];
40
+ inset: string[];
41
+ input: string[];
42
+ header: string[];
43
+ footer: string[];
44
+ separator: string[];
45
+ content: string[];
46
+ group: string[];
47
+ groupLabel: string[];
48
+ groupAction: string[];
49
+ groupContent: string[];
50
+ menu: string[];
51
+ menuItem: string[];
52
+ }, undefined, {
53
+ variant: {
54
+ sidebar: {
55
+ gap: string;
56
+ container: string;
57
+ };
58
+ floating: {
59
+ gap: string;
60
+ container: string;
61
+ };
62
+ inset: {
63
+ gap: string;
64
+ container: string;
65
+ };
66
+ };
67
+ side: {
68
+ left: {
69
+ container: string;
70
+ };
71
+ right: {
72
+ container: string;
73
+ };
74
+ };
75
+ isMobile: {
76
+ true: {};
77
+ false: {};
78
+ };
79
+ }, {
80
+ provider: string[];
81
+ sidebarWrapper: string[];
82
+ sidebar: string[];
83
+ gap: string[];
84
+ container: string[];
85
+ inner: string[];
86
+ trigger: never[];
87
+ rail: string[];
88
+ inset: string[];
89
+ input: string[];
90
+ header: string[];
91
+ footer: string[];
92
+ separator: string[];
93
+ content: string[];
94
+ group: string[];
95
+ groupLabel: string[];
96
+ groupAction: string[];
97
+ groupContent: string[];
98
+ menu: string[];
99
+ menuItem: string[];
100
+ }, tailwind_variants.TVReturnType<{
101
+ variant: {
102
+ sidebar: {
103
+ gap: string;
104
+ container: string;
105
+ };
106
+ floating: {
107
+ gap: string;
108
+ container: string;
109
+ };
110
+ inset: {
111
+ gap: string;
112
+ container: string;
113
+ };
114
+ };
115
+ side: {
116
+ left: {
117
+ container: string;
118
+ };
119
+ right: {
120
+ container: string;
121
+ };
122
+ };
123
+ isMobile: {
124
+ true: {};
125
+ false: {};
126
+ };
127
+ }, {
128
+ provider: string[];
129
+ sidebarWrapper: string[];
130
+ sidebar: string[];
131
+ gap: string[];
132
+ container: string[];
133
+ inner: string[];
134
+ trigger: never[];
135
+ rail: string[];
136
+ inset: string[];
137
+ input: string[];
138
+ header: string[];
139
+ footer: string[];
140
+ separator: string[];
141
+ content: string[];
142
+ group: string[];
143
+ groupLabel: string[];
144
+ groupAction: string[];
145
+ groupContent: string[];
146
+ menu: string[];
147
+ menuItem: string[];
148
+ }, undefined, unknown, unknown, undefined>>;
149
+ type SidebarVariantProps = VariantProps<typeof sidebar>;
150
+ declare const sidebarMenuButton: tailwind_variants.TVReturnType<{
151
+ variant: {
152
+ default: string;
153
+ outline: string;
154
+ };
155
+ color: {
156
+ default: string[];
157
+ };
158
+ size: {
159
+ sm: string;
160
+ md: string;
161
+ lg: string;
162
+ };
163
+ }, undefined, string[], {
164
+ variant: {
165
+ default: string;
166
+ outline: string;
167
+ };
168
+ color: {
169
+ default: string[];
170
+ };
171
+ size: {
172
+ sm: string;
173
+ md: string;
174
+ lg: string;
175
+ };
176
+ }, undefined, tailwind_variants.TVReturnType<{
177
+ variant: {
178
+ default: string;
179
+ outline: string;
180
+ };
181
+ color: {
182
+ default: string[];
183
+ };
184
+ size: {
185
+ sm: string;
186
+ md: string;
187
+ lg: string;
188
+ };
189
+ }, undefined, string[], unknown, unknown, undefined>>;
190
+ type SidebarMenuButtonVariantProps = VariantProps<typeof sidebarMenuButton>;
191
+ declare const sidebarMenuAction: tailwind_variants.TVReturnType<{
192
+ showOnHover: {
193
+ true: string[];
194
+ };
195
+ }, undefined, string[], {
196
+ showOnHover: {
197
+ true: string[];
198
+ };
199
+ }, undefined, tailwind_variants.TVReturnType<{
200
+ showOnHover: {
201
+ true: string[];
202
+ };
203
+ }, undefined, string[], unknown, unknown, undefined>>;
204
+ type SidebarMenuActionVariantProps = VariantProps<typeof sidebarMenuAction>;
205
+
206
+ export { type SidebarMenuActionVariantProps, type SidebarMenuButtonVariantProps, type SidebarVariantProps, sidebar, sidebarMenuAction, sidebarMenuButton };
@@ -0,0 +1,206 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ declare const sidebar: tailwind_variants.TVReturnType<{
5
+ variant: {
6
+ sidebar: {
7
+ gap: string;
8
+ container: string;
9
+ };
10
+ floating: {
11
+ gap: string;
12
+ container: string;
13
+ };
14
+ inset: {
15
+ gap: string;
16
+ container: string;
17
+ };
18
+ };
19
+ side: {
20
+ left: {
21
+ container: string;
22
+ };
23
+ right: {
24
+ container: string;
25
+ };
26
+ };
27
+ isMobile: {
28
+ true: {};
29
+ false: {};
30
+ };
31
+ }, {
32
+ provider: string[];
33
+ sidebarWrapper: string[];
34
+ sidebar: string[];
35
+ gap: string[];
36
+ container: string[];
37
+ inner: string[];
38
+ trigger: never[];
39
+ rail: string[];
40
+ inset: string[];
41
+ input: string[];
42
+ header: string[];
43
+ footer: string[];
44
+ separator: string[];
45
+ content: string[];
46
+ group: string[];
47
+ groupLabel: string[];
48
+ groupAction: string[];
49
+ groupContent: string[];
50
+ menu: string[];
51
+ menuItem: string[];
52
+ }, undefined, {
53
+ variant: {
54
+ sidebar: {
55
+ gap: string;
56
+ container: string;
57
+ };
58
+ floating: {
59
+ gap: string;
60
+ container: string;
61
+ };
62
+ inset: {
63
+ gap: string;
64
+ container: string;
65
+ };
66
+ };
67
+ side: {
68
+ left: {
69
+ container: string;
70
+ };
71
+ right: {
72
+ container: string;
73
+ };
74
+ };
75
+ isMobile: {
76
+ true: {};
77
+ false: {};
78
+ };
79
+ }, {
80
+ provider: string[];
81
+ sidebarWrapper: string[];
82
+ sidebar: string[];
83
+ gap: string[];
84
+ container: string[];
85
+ inner: string[];
86
+ trigger: never[];
87
+ rail: string[];
88
+ inset: string[];
89
+ input: string[];
90
+ header: string[];
91
+ footer: string[];
92
+ separator: string[];
93
+ content: string[];
94
+ group: string[];
95
+ groupLabel: string[];
96
+ groupAction: string[];
97
+ groupContent: string[];
98
+ menu: string[];
99
+ menuItem: string[];
100
+ }, tailwind_variants.TVReturnType<{
101
+ variant: {
102
+ sidebar: {
103
+ gap: string;
104
+ container: string;
105
+ };
106
+ floating: {
107
+ gap: string;
108
+ container: string;
109
+ };
110
+ inset: {
111
+ gap: string;
112
+ container: string;
113
+ };
114
+ };
115
+ side: {
116
+ left: {
117
+ container: string;
118
+ };
119
+ right: {
120
+ container: string;
121
+ };
122
+ };
123
+ isMobile: {
124
+ true: {};
125
+ false: {};
126
+ };
127
+ }, {
128
+ provider: string[];
129
+ sidebarWrapper: string[];
130
+ sidebar: string[];
131
+ gap: string[];
132
+ container: string[];
133
+ inner: string[];
134
+ trigger: never[];
135
+ rail: string[];
136
+ inset: string[];
137
+ input: string[];
138
+ header: string[];
139
+ footer: string[];
140
+ separator: string[];
141
+ content: string[];
142
+ group: string[];
143
+ groupLabel: string[];
144
+ groupAction: string[];
145
+ groupContent: string[];
146
+ menu: string[];
147
+ menuItem: string[];
148
+ }, undefined, unknown, unknown, undefined>>;
149
+ type SidebarVariantProps = VariantProps<typeof sidebar>;
150
+ declare const sidebarMenuButton: tailwind_variants.TVReturnType<{
151
+ variant: {
152
+ default: string;
153
+ outline: string;
154
+ };
155
+ color: {
156
+ default: string[];
157
+ };
158
+ size: {
159
+ sm: string;
160
+ md: string;
161
+ lg: string;
162
+ };
163
+ }, undefined, string[], {
164
+ variant: {
165
+ default: string;
166
+ outline: string;
167
+ };
168
+ color: {
169
+ default: string[];
170
+ };
171
+ size: {
172
+ sm: string;
173
+ md: string;
174
+ lg: string;
175
+ };
176
+ }, undefined, tailwind_variants.TVReturnType<{
177
+ variant: {
178
+ default: string;
179
+ outline: string;
180
+ };
181
+ color: {
182
+ default: string[];
183
+ };
184
+ size: {
185
+ sm: string;
186
+ md: string;
187
+ lg: string;
188
+ };
189
+ }, undefined, string[], unknown, unknown, undefined>>;
190
+ type SidebarMenuButtonVariantProps = VariantProps<typeof sidebarMenuButton>;
191
+ declare const sidebarMenuAction: tailwind_variants.TVReturnType<{
192
+ showOnHover: {
193
+ true: string[];
194
+ };
195
+ }, undefined, string[], {
196
+ showOnHover: {
197
+ true: string[];
198
+ };
199
+ }, undefined, tailwind_variants.TVReturnType<{
200
+ showOnHover: {
201
+ true: string[];
202
+ };
203
+ }, undefined, string[], unknown, unknown, undefined>>;
204
+ type SidebarMenuActionVariantProps = VariantProps<typeof sidebarMenuAction>;
205
+
206
+ export { type SidebarMenuActionVariantProps, type SidebarMenuButtonVariantProps, type SidebarVariantProps, sidebar, sidebarMenuAction, sidebarMenuButton };
@@ -0,0 +1,192 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+
20
+ // src/components/sidebar.ts
21
+ var sidebar_exports = {};
22
+ __export(sidebar_exports, {
23
+ sidebar: () => sidebar,
24
+ sidebarMenuAction: () => sidebarMenuAction,
25
+ sidebarMenuButton: () => sidebarMenuButton
26
+ });
27
+ module.exports = __toCommonJS(sidebar_exports);
28
+ var import_tailwind_variants = require("tailwind-variants");
29
+ var sidebar = (0, import_tailwind_variants.tv)({
30
+ slots: {
31
+ provider: [
32
+ "group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full"
33
+ ],
34
+ sidebarWrapper: ["group peer text-sidebar-foreground hidden md:block"],
35
+ sidebar: [
36
+ "bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col"
37
+ ],
38
+ gap: [
39
+ "relative w-(--sidebar-width) bg-transparent transition-[width] duration-200 ease-linear",
40
+ "group-data-[collapsible=offcanvas]:w-0",
41
+ "group-data-[side=right]:rotate-180"
42
+ ],
43
+ container: [
44
+ "fixed inset-y-0 z-10 hidden h-svh w-(--sidebar-width) transition-[left,right,width] duration-200 ease-linear md:flex"
45
+ ],
46
+ inner: [
47
+ "bg-sidebar group-data-[variant=floating]:border-sidebar-border flex h-full w-full flex-col group-data-[variant=floating]:rounded-lg group-data-[variant=floating]:border group-data-[variant=floating]:shadow-sm"
48
+ ],
49
+ trigger: [],
50
+ rail: [
51
+ "hover:after:bg-sidebar-border absolute inset-y-0 z-20 hidden w-4 -translate-x-1/2 transition-all ease-linear group-data-[side=left]:-right-4 group-data-[side=right]:left-0 after:absolute after:inset-y-0 after:left-1/2 after:w-[2px] sm:flex",
52
+ "in-data-[side=left]:cursor-w-resize in-data-[side=right]:cursor-e-resize",
53
+ "[[data-side=left][data-state=collapsed]_&]:cursor-e-resize [[data-side=right][data-state=collapsed]_&]:cursor-w-resize",
54
+ "hover:group-data-[collapsible=offcanvas]:bg-sidebar group-data-[collapsible=offcanvas]:translate-x-0 group-data-[collapsible=offcanvas]:after:left-full",
55
+ "[[data-side=left][data-collapsible=offcanvas]_&]:-right-2",
56
+ "[[data-side=right][data-collapsible=offcanvas]_&]:-left-2"
57
+ ],
58
+ inset: [
59
+ "bg-background relative flex w-full flex-1 flex-col",
60
+ "md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ml-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ml-2"
61
+ ],
62
+ input: ["bg-background h-8 w-full shadow-none"],
63
+ header: ["flex flex-col gap-2 p-2"],
64
+ footer: ["flex flex-col gap-2 p-2"],
65
+ separator: ["bg-sidebar-border mx-2 w-auto"],
66
+ content: [
67
+ "flex min-h-0 flex-1 flex-col gap-2 overflow-auto group-data-[collapsible=icon]:overflow-hidden"
68
+ ],
69
+ group: ["relative flex w-full min-w-0 flex-col p-2"],
70
+ groupLabel: [
71
+ "text-sidebar-foreground/70 ring-sidebar-ring flex h-8 shrink-0 items-center rounded-md px-2 text-xs font-medium outline-hidden transition-[margin,opacity] duration-200 ease-linear focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
72
+ "group-data-[collapsible=icon]:-mt-8 group-data-[collapsible=icon]:opacity-0"
73
+ ],
74
+ groupAction: [
75
+ "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground absolute top-3.5 right-3 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
76
+ // Increases the hit area of the button on mobile.
77
+ "after:absolute after:-inset-2 md:after:hidden",
78
+ "group-data-[collapsible=icon]:hidden"
79
+ ],
80
+ groupContent: ["w-full text-sm"],
81
+ menu: ["flex w-full min-w-0 flex-col gap-1"],
82
+ menuItem: ["group/menu-item relative"]
83
+ },
84
+ variants: {
85
+ variant: {
86
+ sidebar: {
87
+ gap: "group-data-[collapsible=icon]:w-(--sidebar-width-icon)",
88
+ container: "group-data-[collapsible=icon]:w-(--sidebar-width-icon) group-data-[side=left]:border-r group-data-[side=right]:border-l"
89
+ },
90
+ floating: {
91
+ gap: "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]",
92
+ container: "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]"
93
+ },
94
+ inset: {
95
+ gap: "group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4)))]",
96
+ container: "p-2 group-data-[collapsible=icon]:w-[calc(var(--sidebar-width-icon)+(--spacing(4))+2px)]"
97
+ }
98
+ },
99
+ side: {
100
+ left: {
101
+ container: "left-0 group-data-[collapsible=offcanvas]:left-[calc(var(--sidebar-width)*-1)]"
102
+ },
103
+ right: {
104
+ container: "right-0 group-data-[collapsible=offcanvas]:right-[calc(var(--sidebar-width)*-1)]"
105
+ }
106
+ },
107
+ isMobile: {
108
+ true: {},
109
+ false: {}
110
+ }
111
+ },
112
+ defaultVariants: {
113
+ variant: "sidebar",
114
+ isMobile: false
115
+ }
116
+ });
117
+ var sidebarMenuButton = (0, import_tailwind_variants.tv)({
118
+ base: [
119
+ "peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md",
120
+ "p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding]",
121
+ "disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8",
122
+ "aria-disabled:pointer-events-none aria-disabled:opacity-50",
123
+ "data-[active=true]:font-medium",
124
+ "group-data-[collapsible=icon]:size-8!",
125
+ "group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0"
126
+ ],
127
+ variants: {
128
+ variant: {
129
+ default: "",
130
+ outline: ""
131
+ },
132
+ color: {
133
+ default: [
134
+ "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
135
+ "focus-visible:ring-2",
136
+ "active:bg-sidebar-accent active:text-sidebar-accent-foreground",
137
+ "data-[active=true]:bg-sidebar-accent",
138
+ "data-[active=true]:text-sidebar-accent-foreground",
139
+ "data-[state=open]:hover:bg-sidebar-accent",
140
+ "data-[state=open]:hover:text-sidebar-accent-foreground "
141
+ ]
142
+ },
143
+ size: {
144
+ sm: "h-7 text-xs",
145
+ md: "h-8 text-sm",
146
+ lg: "h-12 text-sm group-data-[collapsible=icon]:p-0!"
147
+ }
148
+ },
149
+ defaultVariants: {
150
+ color: "default",
151
+ variant: "default",
152
+ size: "md"
153
+ },
154
+ compoundVariants: [
155
+ {
156
+ variant: "default",
157
+ color: "default",
158
+ class: ["hover:bg-sidebar-accent hover:text-sidebar-accent-foreground"]
159
+ },
160
+ {
161
+ variant: "outline",
162
+ color: "default",
163
+ class: [
164
+ "bg-background shadow-[0_0_0_1px_hsl(var(--sidebar-border))] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground hover:shadow-[0_0_0_1px_hsl(var(--sidebar-accent))]"
165
+ ]
166
+ }
167
+ ]
168
+ });
169
+ var sidebarMenuAction = (0, import_tailwind_variants.tv)({
170
+ base: [
171
+ "text-sidebar-foreground ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground peer-hover/menu-button:text-sidebar-accent-foreground absolute top-1.5 right-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 outline-hidden transition-transform focus-visible:ring-2 [&>svg]:size-4 [&>svg]:shrink-0",
172
+ // Increases the hit area of the button on mobile.
173
+ "after:absolute after:-inset-2 md:after:hidden",
174
+ "peer-data-[size=sm]/menu-button:top-1",
175
+ "peer-data-[size=default]/menu-button:top-1.5",
176
+ "peer-data-[size=lg]/menu-button:top-2.5",
177
+ "group-data-[collapsible=icon]:hidden"
178
+ ],
179
+ variants: {
180
+ showOnHover: {
181
+ true: [
182
+ "peer-data-[active=true]/menu-button:text-sidebar-accent-foreground group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 data-[state=open]:opacity-100 md:opacity-0"
183
+ ]
184
+ }
185
+ }
186
+ });
187
+ // Annotate the CommonJS export names for ESM import in node:
188
+ 0 && (module.exports = {
189
+ sidebar,
190
+ sidebarMenuAction,
191
+ sidebarMenuButton
192
+ });
@@ -0,0 +1,10 @@
1
+ import {
2
+ sidebar,
3
+ sidebarMenuAction,
4
+ sidebarMenuButton
5
+ } from "../chunk-GA6UOB2D.mjs";
6
+ export {
7
+ sidebar,
8
+ sidebarMenuAction,
9
+ sidebarMenuButton
10
+ };
@@ -0,0 +1,101 @@
1
+ import * as tailwind_variants from 'tailwind-variants';
2
+ import { VariantProps } from 'tailwind-variants';
3
+
4
+ declare const tabNav: tailwind_variants.TVReturnType<{
5
+ color: {
6
+ primary: {
7
+ link: string[];
8
+ };
9
+ };
10
+ size: {
11
+ sm: {
12
+ link: string[];
13
+ linkInner: string;
14
+ linkInnerHidden: string;
15
+ };
16
+ md: {
17
+ link: string[];
18
+ linkInner: string;
19
+ linkInnerHidden: string;
20
+ };
21
+ };
22
+ border: {
23
+ true: {
24
+ list: string;
25
+ link: string[];
26
+ };
27
+ };
28
+ }, {
29
+ base: string;
30
+ list: string[];
31
+ item: string;
32
+ link: string[];
33
+ linkInner: string[];
34
+ linkInnerHidden: string[];
35
+ }, undefined, {
36
+ color: {
37
+ primary: {
38
+ link: string[];
39
+ };
40
+ };
41
+ size: {
42
+ sm: {
43
+ link: string[];
44
+ linkInner: string;
45
+ linkInnerHidden: string;
46
+ };
47
+ md: {
48
+ link: string[];
49
+ linkInner: string;
50
+ linkInnerHidden: string;
51
+ };
52
+ };
53
+ border: {
54
+ true: {
55
+ list: string;
56
+ link: string[];
57
+ };
58
+ };
59
+ }, {
60
+ base: string;
61
+ list: string[];
62
+ item: string;
63
+ link: string[];
64
+ linkInner: string[];
65
+ linkInnerHidden: string[];
66
+ }, tailwind_variants.TVReturnType<{
67
+ color: {
68
+ primary: {
69
+ link: string[];
70
+ };
71
+ };
72
+ size: {
73
+ sm: {
74
+ link: string[];
75
+ linkInner: string;
76
+ linkInnerHidden: string;
77
+ };
78
+ md: {
79
+ link: string[];
80
+ linkInner: string;
81
+ linkInnerHidden: string;
82
+ };
83
+ };
84
+ border: {
85
+ true: {
86
+ list: string;
87
+ link: string[];
88
+ };
89
+ };
90
+ }, {
91
+ base: string;
92
+ list: string[];
93
+ item: string;
94
+ link: string[];
95
+ linkInner: string[];
96
+ linkInnerHidden: string[];
97
+ }, undefined, unknown, unknown, undefined>>;
98
+ type TabNavVariantProps = VariantProps<typeof tabNav>;
99
+ type TabNavSlots = keyof ReturnType<typeof tabNav>;
100
+
101
+ export { type TabNavSlots, type TabNavVariantProps, tabNav };