@vuer-ai/vuer-uikit 0.0.24 → 0.0.26
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-2TXGBB33.js +21 -0
- package/dist/{chunk-2TRYGIGT.mjs → chunk-2WJW572X.mjs} +1 -3
- package/dist/{chunk-TMBKCIVQ.mjs → chunk-35CM7HPZ.mjs} +1 -0
- package/dist/{chunk-QVUX6LLD.mjs → chunk-4F3R5V3E.mjs} +4 -5
- package/dist/chunk-5F36YBKG.js +116 -0
- package/dist/{chunk-WDUTW7HS.mjs → chunk-66FC5NST.mjs} +2 -2
- package/dist/{chunk-JMPVDU2C.mjs → chunk-6SBHQBFL.mjs} +1 -1
- package/dist/{chunk-IXHMIR5P.js → chunk-6SRDWLQJ.js} +3 -2
- package/dist/chunk-6YJ6IBWC.mjs +861 -0
- package/dist/{chunk-DZ4J7I7I.mjs → chunk-AAIXMQCG.mjs} +4 -4
- package/dist/{chunk-6N5422RT.js → chunk-AQXAGOYO.js} +16 -19
- package/dist/chunk-CCGCEN7Z.js +79 -0
- package/dist/{chunk-EYIFKSU2.mjs → chunk-DD7FIYSP.mjs} +5 -5
- package/dist/{chunk-F776EMXP.mjs → chunk-DYT2FBW5.mjs} +16 -19
- package/dist/{chunk-X55EAYE2.js → chunk-FV2TIL2G.js} +0 -1
- package/dist/{chunk-6RTJSAVW.js → chunk-GGMVWSL5.js} +4 -4
- package/dist/{chunk-Q5KEB4UK.mjs → chunk-GXZZGOXX.mjs} +19 -22
- package/dist/{chunk-B2E7AY66.mjs → chunk-H2VZHFP6.mjs} +0 -1
- package/dist/{chunk-ALTUOIWV.mjs → chunk-HT37IGEB.mjs} +4 -4
- package/dist/{chunk-VXHM7V6F.mjs → chunk-JOTWPUPW.mjs} +6 -7
- package/dist/{chunk-U7SNLMJR.js → chunk-JSMQMGST.js} +2 -2
- package/dist/{chunk-WJ7T7FAH.js → chunk-KJV7RR25.js} +1 -1
- package/dist/chunk-L3LDQABD.mjs +1 -0
- package/dist/chunk-LHWH4GP5.mjs +77 -0
- package/dist/{chunk-5SR53QBZ.js → chunk-N3VYENST.js} +4 -4
- package/dist/{chunk-SKO72K64.js → chunk-NP6VNT23.js} +3 -3
- package/dist/{chunk-MZ4POL3U.js → chunk-NQRO3NQX.js} +4 -5
- package/dist/chunk-Q3GXSHJV.mjs +214 -0
- package/dist/chunk-Q42CNAC4.js +863 -0
- package/dist/{chunk-MRVMXKZO.mjs → chunk-QPQFG2DZ.mjs} +3 -2
- package/dist/{chunk-OO7LYJQL.js → chunk-RTURVQIP.js} +1 -1
- package/dist/{chunk-FP26SRGL.js → chunk-S3TZN6HZ.js} +2 -4
- package/dist/{chunk-YXDJPCAF.js → chunk-SAM2YZFC.js} +2 -4
- package/dist/{chunk-U2ZLDPOE.js → chunk-TOXM5BPM.js} +12 -12
- package/dist/chunk-U5U7B7ZI.mjs +105 -0
- package/dist/chunk-UOFJLQ72.js +2 -0
- package/dist/{chunk-EUY74AXP.mjs → chunk-VKGXNTK2.mjs} +2 -4
- package/dist/{chunk-H5C3BWSK.mjs → chunk-XADXCP5Z.mjs} +2 -2
- package/dist/{chunk-2YCL2ET2.js → chunk-XPPJVYYS.js} +129 -136
- package/dist/{chunk-OQ237S4Z.js → chunk-XUKMVPUD.js} +6 -7
- package/dist/{chunk-UKFVRXAR.mjs → chunk-YGIU2WQY.mjs} +130 -137
- package/dist/{chunk-E33MW663.js → chunk-YLYNNT5Q.js} +1 -0
- package/dist/{chunk-FEYQ2OWB.mjs → chunk-ZRJ5JCVG.mjs} +1 -1
- package/dist/{chunk-QYRRQ65X.mjs → chunk-ZT6G7STM.mjs} +3 -3
- package/dist/chunk-ZTNXAV64.js +217 -0
- package/dist/{chunk-EOFYA6CS.js → chunk-ZX6K2A3O.js} +18 -21
- package/dist/highlight-cursor/enhanced-components.js +11 -11
- package/dist/highlight-cursor/enhanced-components.mjs +6 -6
- package/dist/highlight-cursor/index.js +11 -11
- package/dist/highlight-cursor/index.mjs +6 -6
- package/dist/index.css +2 -2
- package/dist/index.d.mts +5 -2
- package/dist/index.d.ts +5 -2
- package/dist/index.js +202 -159
- package/dist/index.mjs +27 -24
- package/dist/styles/toast.css +1 -1
- package/dist/ui/avatar.js +6 -6
- package/dist/ui/avatar.mjs +2 -2
- package/dist/ui/badge.js +1 -1
- package/dist/ui/badge.mjs +1 -1
- package/dist/ui/button.js +3 -3
- package/dist/ui/button.mjs +2 -2
- package/dist/ui/card.js +9 -9
- package/dist/ui/card.mjs +2 -2
- package/dist/ui/checkbox.js +1 -1
- package/dist/ui/checkbox.mjs +1 -1
- package/dist/ui/collapsible.js +1 -1
- package/dist/ui/collapsible.mjs +1 -1
- package/dist/ui/drawer.d.mts +16 -0
- package/dist/ui/drawer.d.ts +16 -0
- package/dist/ui/drawer.js +49 -0
- package/dist/ui/drawer.mjs +4 -0
- package/dist/ui/dropdown.js +17 -17
- package/dist/ui/dropdown.mjs +2 -2
- package/dist/ui/index.d.mts +5 -2
- package/dist/ui/index.d.ts +5 -2
- package/dist/ui/index.js +188 -145
- package/dist/ui/index.mjs +26 -23
- package/dist/ui/input-numbers.js +4 -4
- package/dist/ui/input-numbers.mjs +3 -3
- package/dist/ui/input.d.mts +1 -1
- package/dist/ui/input.d.ts +1 -1
- package/dist/ui/input.js +4 -4
- package/dist/ui/input.mjs +2 -2
- package/dist/ui/layout.js +1 -1
- package/dist/ui/layout.mjs +1 -1
- package/dist/ui/modal.js +12 -12
- package/dist/ui/modal.mjs +2 -2
- package/dist/ui/popover.js +1 -1
- package/dist/ui/popover.mjs +1 -1
- package/dist/ui/radio-group.js +1 -1
- package/dist/ui/radio-group.mjs +1 -1
- package/dist/ui/select.d.mts +1 -1
- package/dist/ui/select.d.ts +1 -1
- package/dist/ui/select.js +12 -12
- package/dist/ui/select.mjs +2 -2
- package/dist/ui/sheet.js +9 -9
- package/dist/ui/sheet.mjs +1 -1
- package/dist/ui/slider.js +1 -1
- package/dist/ui/slider.mjs +1 -1
- package/dist/ui/switch.js +1 -1
- package/dist/ui/switch.mjs +1 -1
- package/dist/ui/tabs.js +6 -6
- package/dist/ui/tabs.mjs +2 -2
- package/dist/ui/textarea.d.mts +1 -1
- package/dist/ui/textarea.d.ts +1 -1
- package/dist/ui/textarea.js +1 -1
- package/dist/ui/textarea.mjs +1 -1
- package/dist/ui/theme-context/index.d.mts +4 -0
- package/dist/ui/theme-context/index.d.ts +4 -0
- package/dist/ui/theme-context/index.js +16 -0
- package/dist/ui/theme-context/index.mjs +3 -0
- package/dist/ui/theme-context/theme-context.d.mts +8 -0
- package/dist/ui/theme-context/theme-context.d.ts +8 -0
- package/dist/ui/theme-context/theme-context.js +15 -0
- package/dist/ui/theme-context/theme-context.mjs +2 -0
- package/dist/ui/theme-context/theme-script.d.mts +13 -0
- package/dist/ui/theme-context/theme-script.d.ts +13 -0
- package/dist/ui/theme-context/theme-script.js +10 -0
- package/dist/ui/theme-context/theme-script.mjs +1 -0
- package/dist/ui/theme-context/theme-types.d.mts +47 -0
- package/dist/ui/theme-context/theme-types.d.ts +47 -0
- package/dist/ui/theme-context/theme-types.js +2 -0
- package/dist/ui/theme-context/theme-types.mjs +1 -0
- package/dist/ui/timeline.d.mts +23 -10
- package/dist/ui/timeline.d.ts +23 -10
- package/dist/ui/timeline.js +5 -5
- package/dist/ui/timeline.mjs +4 -4
- package/dist/ui/toggle-group.js +5 -5
- package/dist/ui/toggle-group.mjs +3 -3
- package/dist/ui/toggle.js +4 -4
- package/dist/ui/toggle.mjs +2 -2
- package/dist/ui/tooltip.js +6 -6
- package/dist/ui/tooltip.mjs +2 -2
- package/dist/ui/tree-view-v2.js +4 -4
- package/dist/ui/tree-view-v2.mjs +3 -3
- package/dist/ui/tree-view.js +4 -2
- package/dist/ui/tree-view.mjs +3 -1
- package/dist/ui/version-badge.js +3 -3
- package/dist/ui/version-badge.mjs +2 -2
- package/dist/utils/index.js +2 -2
- package/dist/utils/index.mjs +1 -1
- package/dist/utils/use-local-storage.js +2 -2
- package/dist/utils/use-local-storage.mjs +1 -1
- package/package.json +3 -2
- package/src/styles/toast.css +1 -1
- package/src/ui/avatar.tsx +12 -15
- package/src/ui/button.tsx +6 -7
- package/src/ui/card.tsx +0 -1
- package/src/ui/drawer.tsx +119 -0
- package/src/ui/dropdown.tsx +2 -4
- package/src/ui/index.ts +1 -0
- package/src/ui/input-numbers.tsx +1 -1
- package/src/ui/input.tsx +3 -3
- package/src/ui/modal.tsx +1 -0
- package/src/ui/select.tsx +4 -5
- package/src/ui/sheet.tsx +4 -4
- package/src/ui/tabs.tsx +2 -1
- package/src/ui/theme-context/index.ts +3 -0
- package/src/ui/theme-context/theme-context.tsx +266 -0
- package/src/ui/theme-context/theme-script.tsx +101 -0
- package/src/ui/theme-context/theme-types.ts +50 -0
- package/src/ui/timeline.tsx +534 -199
- package/src/ui/toggle-group.tsx +0 -2
- package/src/ui/toggle.tsx +2 -2
- package/src/ui/tooltip.tsx +1 -1
- package/src/ui/tree-view-v2.tsx +4 -4
- package/src/ui/tree-view.tsx +84 -115
- package/src/utils/use-local-storage.ts +23 -25
- package/dist/chunk-AOUGWGQR.js +0 -609
- package/dist/chunk-LEPXSM36.mjs +0 -46
- package/dist/chunk-PVRQNCSJ.js +0 -49
- package/dist/chunk-W7D57QE6.js +0 -21
- package/dist/chunk-ZVG2UKKC.mjs +0 -603
- package/dist/ui/theme-context.d.mts +0 -17
- package/dist/ui/theme-context.d.ts +0 -17
- package/dist/ui/theme-context.js +0 -17
- package/dist/ui/theme-context.mjs +0 -4
- package/src/ui/theme-context.tsx +0 -80
- /package/dist/{chunk-N7CINZS2.js → chunk-2TBYBUF4.js} +0 -0
- /package/dist/{chunk-F56ZKT7B.mjs → chunk-4FOSHIMU.mjs} +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk5OUTEHVX_js = require('./chunk-5OUTEHVX.js');
|
|
4
|
+
var chunkNQRO3NQX_js = require('./chunk-NQRO3NQX.js');
|
|
5
|
+
var chunk6SRDWLQJ_js = require('./chunk-6SRDWLQJ.js');
|
|
6
|
+
var chunkNP6VNT23_js = require('./chunk-NP6VNT23.js');
|
|
7
|
+
var chunkUFHMEEGL_js = require('./chunk-UFHMEEGL.js');
|
|
8
|
+
var chunkXUKMVPUD_js = require('./chunk-XUKMVPUD.js');
|
|
9
|
+
|
|
10
|
+
// src/highlight-cursor/enhanced-components.tsx
|
|
11
|
+
var CursorButton = chunkUFHMEEGL_js.withCursor(chunkXUKMVPUD_js.Button);
|
|
12
|
+
var CursorTabs = chunkUFHMEEGL_js.withCursor(chunk6SRDWLQJ_js.Tabs);
|
|
13
|
+
var CursorInputRoot = chunkUFHMEEGL_js.withCursor(chunkNP6VNT23_js.InputRoot);
|
|
14
|
+
var CursorSelectTrigger = chunkUFHMEEGL_js.withCursor(chunkNQRO3NQX_js.SelectTrigger);
|
|
15
|
+
var CursorTextarea = chunkUFHMEEGL_js.withCursor(chunk5OUTEHVX_js.Textarea);
|
|
16
|
+
|
|
17
|
+
exports.CursorButton = CursorButton;
|
|
18
|
+
exports.CursorInputRoot = CursorInputRoot;
|
|
19
|
+
exports.CursorSelectTrigger = CursorSelectTrigger;
|
|
20
|
+
exports.CursorTabs = CursorTabs;
|
|
21
|
+
exports.CursorTextarea = CursorTextarea;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { toggleVariants } from './chunk-
|
|
1
|
+
import { toggleVariants } from './chunk-66FC5NST.mjs';
|
|
2
2
|
import { cn } from './chunk-KTNZSZ5Y.mjs';
|
|
3
3
|
import * as ToggleGroupPrimitive from '@radix-ui/react-toggle-group';
|
|
4
4
|
import { createContext, useContext } from 'react';
|
|
@@ -27,7 +27,6 @@ function ToggleGroup({
|
|
|
27
27
|
"w-fit",
|
|
28
28
|
"items-center",
|
|
29
29
|
"rounded-uk-md",
|
|
30
|
-
"data-[variant=outline]:shadow-xs",
|
|
31
30
|
className
|
|
32
31
|
),
|
|
33
32
|
...props,
|
|
@@ -58,7 +57,6 @@ function ToggleGroupItem({
|
|
|
58
57
|
"flex-1",
|
|
59
58
|
"shrink-0",
|
|
60
59
|
"rounded-none",
|
|
61
|
-
"shadow-none",
|
|
62
60
|
"first:rounded-l-md",
|
|
63
61
|
"last:rounded-r-md",
|
|
64
62
|
"focus:z-10",
|
|
@@ -48,9 +48,9 @@ var selectTriggerVariants = cva(
|
|
|
48
48
|
error: ["hover:bg-danger-primary/10", "bg-danger-primary/20"]
|
|
49
49
|
},
|
|
50
50
|
size: {
|
|
51
|
-
sm: "px-sm py-xs text-uk-sm h-
|
|
52
|
-
base: "px-md py-sm text-uk-md h-
|
|
53
|
-
lg: "px-lg py-sm text-uk-lg h-
|
|
51
|
+
sm: "px-sm py-xs text-uk-sm h-6 [&_svg:not([class*='size-'])]:size-3",
|
|
52
|
+
base: "px-md py-sm text-uk-md h-8 [&_svg:not([class*='size-'])]:size-4",
|
|
53
|
+
lg: "px-lg py-sm text-uk-lg h-9 [&_svg:not([class*='size-'])]:size-5"
|
|
54
54
|
}
|
|
55
55
|
},
|
|
56
56
|
defaultVariants: {
|
|
@@ -115,8 +115,7 @@ function SelectContent({
|
|
|
115
115
|
"overflow-x-hidden",
|
|
116
116
|
"overflow-y-auto",
|
|
117
117
|
"rounded-uk-md",
|
|
118
|
-
"shadow-
|
|
119
|
-
"shadow-[0_8px_20px_0_rgba(0,0,0,.80)]",
|
|
118
|
+
"shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
|
|
120
119
|
"liquid:liquid-bg"
|
|
121
120
|
],
|
|
122
121
|
{
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkXXWQ4RVP_js = require('./chunk-XXWQ4RVP.js');
|
|
4
|
+
var vaul = require('vaul');
|
|
5
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
6
|
+
|
|
7
|
+
function Drawer({ ...props }) {
|
|
8
|
+
return /* @__PURE__ */ jsxRuntime.jsx(vaul.Drawer.Root, { "data-slot": "drawer", ...props });
|
|
9
|
+
}
|
|
10
|
+
function DrawerTrigger({ ...props }) {
|
|
11
|
+
return /* @__PURE__ */ jsxRuntime.jsx(vaul.Drawer.Trigger, { "data-slot": "drawer-trigger", ...props });
|
|
12
|
+
}
|
|
13
|
+
function DrawerPortal({ ...props }) {
|
|
14
|
+
return /* @__PURE__ */ jsxRuntime.jsx(vaul.Drawer.Portal, { "data-slot": "drawer-portal", ...props });
|
|
15
|
+
}
|
|
16
|
+
function DrawerClose({ ...props }) {
|
|
17
|
+
return /* @__PURE__ */ jsxRuntime.jsx(vaul.Drawer.Close, { "data-slot": "drawer-close", ...props });
|
|
18
|
+
}
|
|
19
|
+
function DrawerOverlay({
|
|
20
|
+
className,
|
|
21
|
+
...props
|
|
22
|
+
}) {
|
|
23
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
24
|
+
vaul.Drawer.Overlay,
|
|
25
|
+
{
|
|
26
|
+
"data-slot": "drawer-overlay",
|
|
27
|
+
className: chunkXXWQ4RVP_js.cn(
|
|
28
|
+
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 bg-bg-mask fixed inset-0 z-50",
|
|
29
|
+
className
|
|
30
|
+
),
|
|
31
|
+
...props
|
|
32
|
+
}
|
|
33
|
+
);
|
|
34
|
+
}
|
|
35
|
+
function DrawerContent({
|
|
36
|
+
className,
|
|
37
|
+
children,
|
|
38
|
+
...props
|
|
39
|
+
}) {
|
|
40
|
+
return /* @__PURE__ */ jsxRuntime.jsxs(DrawerPortal, { "data-slot": "drawer-portal", children: [
|
|
41
|
+
/* @__PURE__ */ jsxRuntime.jsx(DrawerOverlay, {}),
|
|
42
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
43
|
+
vaul.Drawer.Content,
|
|
44
|
+
{
|
|
45
|
+
"data-slot": "drawer-content",
|
|
46
|
+
className: chunkXXWQ4RVP_js.cn(
|
|
47
|
+
"group/drawer-content bg-bg-primary liquid:liquid-bg p-xl fixed z-50 flex h-auto flex-col shadow-[0_4px_16px_0_var(--color-shadow-secondary)]",
|
|
48
|
+
"data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh]",
|
|
49
|
+
"data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:pt-0",
|
|
50
|
+
"data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:right-0 data-[vaul-drawer-direction=right]:w-[340px]",
|
|
51
|
+
"data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:left-0 data-[vaul-drawer-direction=left]:w-[340px]",
|
|
52
|
+
className
|
|
53
|
+
),
|
|
54
|
+
...props,
|
|
55
|
+
children: [
|
|
56
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "bg-bg-quaternary rounded-uk-md mx-auto mt-[8px] hidden h-[4px] w-[80px] shrink-0 group-data-[vaul-drawer-direction=bottom]/drawer-content:block" }),
|
|
57
|
+
children
|
|
58
|
+
]
|
|
59
|
+
}
|
|
60
|
+
)
|
|
61
|
+
] });
|
|
62
|
+
}
|
|
63
|
+
function DrawerHeader({ className, ...props }) {
|
|
64
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
65
|
+
"div",
|
|
66
|
+
{
|
|
67
|
+
"data-slot": "drawer-header",
|
|
68
|
+
className: chunkXXWQ4RVP_js.cn("gap-md pb-xl flex flex-col", className),
|
|
69
|
+
...props
|
|
70
|
+
}
|
|
71
|
+
);
|
|
72
|
+
}
|
|
73
|
+
function DrawerFooter({ className, ...props }) {
|
|
74
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
75
|
+
"div",
|
|
76
|
+
{
|
|
77
|
+
"data-slot": "drawer-footer",
|
|
78
|
+
className: chunkXXWQ4RVP_js.cn("gap-lg pt-xl mt-auto flex flex-col", className),
|
|
79
|
+
...props
|
|
80
|
+
}
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
function DrawerTitle({ className, ...props }) {
|
|
84
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
85
|
+
vaul.Drawer.Title,
|
|
86
|
+
{
|
|
87
|
+
"data-slot": "drawer-title",
|
|
88
|
+
className: chunkXXWQ4RVP_js.cn("text-text-highlight text-uk-xl leading-uk-xl font-medium", className),
|
|
89
|
+
...props
|
|
90
|
+
}
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
function DrawerDescription({
|
|
94
|
+
className,
|
|
95
|
+
...props
|
|
96
|
+
}) {
|
|
97
|
+
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
98
|
+
vaul.Drawer.Description,
|
|
99
|
+
{
|
|
100
|
+
"data-slot": "drawer-description",
|
|
101
|
+
className: chunkXXWQ4RVP_js.cn("text-text-secondary text-uk-md leading-uk-md", className),
|
|
102
|
+
...props
|
|
103
|
+
}
|
|
104
|
+
);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
exports.Drawer = Drawer;
|
|
108
|
+
exports.DrawerClose = DrawerClose;
|
|
109
|
+
exports.DrawerContent = DrawerContent;
|
|
110
|
+
exports.DrawerDescription = DrawerDescription;
|
|
111
|
+
exports.DrawerFooter = DrawerFooter;
|
|
112
|
+
exports.DrawerHeader = DrawerHeader;
|
|
113
|
+
exports.DrawerOverlay = DrawerOverlay;
|
|
114
|
+
exports.DrawerPortal = DrawerPortal;
|
|
115
|
+
exports.DrawerTitle = DrawerTitle;
|
|
116
|
+
exports.DrawerTrigger = DrawerTrigger;
|
|
@@ -49,7 +49,7 @@ var toggleVariants = cva(
|
|
|
49
49
|
"leading-uk-md",
|
|
50
50
|
"gap-xs",
|
|
51
51
|
"p-sm",
|
|
52
|
-
"[&_svg:not([class*='size-'])]:size-
|
|
52
|
+
"[&_svg:not([class*='size-'])]:size-4",
|
|
53
53
|
"rounded-uk-sm"
|
|
54
54
|
],
|
|
55
55
|
lg: [
|
|
@@ -57,7 +57,7 @@ var toggleVariants = cva(
|
|
|
57
57
|
"leading-uk-lg",
|
|
58
58
|
"gap-xs",
|
|
59
59
|
"p-md",
|
|
60
|
-
"[&_svg:not([class*='size-'])]:size-
|
|
60
|
+
"[&_svg:not([class*='size-'])]:size-5",
|
|
61
61
|
"rounded-uk-md"
|
|
62
62
|
]
|
|
63
63
|
}
|
|
@@ -75,7 +75,7 @@ var tabsTriggerVariants = classVarianceAuthority.cva(
|
|
|
75
75
|
"inline-flex",
|
|
76
76
|
"items-center",
|
|
77
77
|
"justify-center",
|
|
78
|
-
"font-
|
|
78
|
+
"font-normal",
|
|
79
79
|
"whitespace-nowrap",
|
|
80
80
|
"transition-all",
|
|
81
81
|
"disabled:pointer-events-none",
|
|
@@ -86,7 +86,8 @@ var tabsTriggerVariants = classVarianceAuthority.cva(
|
|
|
86
86
|
"[&_svg]:shrink-0",
|
|
87
87
|
"outline-none",
|
|
88
88
|
"text-text-primary",
|
|
89
|
-
"data-[state=active]:bg-bg-secondary"
|
|
89
|
+
"data-[state=active]:bg-bg-secondary",
|
|
90
|
+
"data-[state=active]:font-medium"
|
|
90
91
|
],
|
|
91
92
|
{
|
|
92
93
|
variants: {
|