@incognia/cosmik 0.41.0 → 1.0.0-beta.2
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/README.md +7 -19
- package/dist/Alert/index.d.ts +8 -7
- package/dist/Alert/index.d.ts.map +1 -1
- package/dist/AlertDialog/index.d.ts +17 -23
- package/dist/AlertDialog/index.d.ts.map +1 -1
- package/dist/Badge/index.d.ts +7 -6
- package/dist/Badge/index.d.ts.map +1 -1
- package/dist/Button/index.d.ts +6 -6
- package/dist/Button/index.d.ts.map +1 -1
- package/dist/Calendar/index.d.ts +4 -7
- package/dist/Calendar/index.d.ts.map +1 -1
- package/dist/Card/index.d.ts +8 -7
- package/dist/Card/index.d.ts.map +1 -1
- package/dist/Checkbox/index.d.ts +1 -1
- package/dist/Checkbox/index.d.ts.map +1 -1
- package/dist/Command/index.d.ts +19 -51
- package/dist/Command/index.d.ts.map +1 -1
- package/dist/Dialog/index.d.ts +14 -19
- package/dist/Dialog/index.d.ts.map +1 -1
- package/dist/DropdownMenu/index.d.ts +23 -25
- package/dist/DropdownMenu/index.d.ts.map +1 -1
- package/dist/Filter/index.d.ts +1 -1
- package/dist/FilterBar/GradientScroll.d.ts +4 -4
- package/dist/FilterBar/index.d.ts +2 -2
- package/dist/Input/index.d.ts +1 -3
- package/dist/Input/index.d.ts.map +1 -1
- package/dist/Label/index.d.ts +1 -2
- package/dist/Label/index.d.ts.map +1 -1
- package/dist/Layout/index.d.ts +1 -1
- package/dist/Layout/index.d.ts.map +1 -1
- package/dist/Pagination/index.d.ts +11 -26
- package/dist/Pagination/index.d.ts.map +1 -1
- package/dist/Popover/index.d.ts +6 -6
- package/dist/Popover/index.d.ts.map +1 -1
- package/dist/Progress/index.d.ts +1 -1
- package/dist/Progress/index.d.ts.map +1 -1
- package/dist/RadioGroup/index.d.ts +2 -2
- package/dist/RadioGroup/index.d.ts.map +1 -1
- package/dist/Select/index.d.ts +13 -11
- package/dist/Select/index.d.ts.map +1 -1
- package/dist/Separator/index.d.ts +1 -1
- package/dist/Separator/index.d.ts.map +1 -1
- package/dist/Sheet/index.d.ts +13 -23
- package/dist/Sheet/index.d.ts.map +1 -1
- package/dist/Skeleton/index.d.ts +0 -1
- package/dist/Skeleton/index.d.ts.map +1 -1
- package/dist/Sonner/index.d.ts +0 -1
- package/dist/Sonner/index.d.ts.map +1 -1
- package/dist/Switch/index.d.ts +2 -2
- package/dist/Switch/index.d.ts.map +1 -1
- package/dist/Table/index.d.ts +12 -12
- package/dist/Table/index.d.ts.map +1 -1
- package/dist/Tabs/index.d.ts +5 -5
- package/dist/Tabs/index.d.ts.map +1 -1
- package/dist/TagInput/index.d.ts +4 -5
- package/dist/TagInput/index.d.ts.map +1 -1
- package/dist/Textarea/index.d.ts +1 -3
- package/dist/Textarea/index.d.ts.map +1 -1
- package/dist/Toggle/index.d.ts +3 -8
- package/dist/Toggle/index.d.ts.map +1 -1
- package/dist/ToggleGroup/index.d.ts +4 -13
- package/dist/ToggleGroup/index.d.ts.map +1 -1
- package/dist/Tooltip/index.d.ts +7 -11
- package/dist/Tooltip/index.d.ts.map +1 -1
- package/dist/VerticalNavigationMenu/index.d.ts +8 -6
- package/dist/VerticalNavigationMenu/index.d.ts.map +1 -1
- package/dist/cosmik-theme.css +185 -0
- package/dist/cosmik.css +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +2 -10
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +174 -178
- package/dist/index.js.map +1 -1
- package/dist/index10.cjs +1 -1
- package/dist/index10.cjs.map +1 -1
- package/dist/index10.js +191 -45
- package/dist/index10.js.map +1 -1
- package/dist/index11.cjs +1 -1
- package/dist/index11.cjs.map +1 -1
- package/dist/index11.js +138 -33
- package/dist/index11.js.map +1 -1
- package/dist/index12.cjs +1 -1
- package/dist/index12.cjs.map +1 -1
- package/dist/index12.js +224 -139
- package/dist/index12.js.map +1 -1
- package/dist/index13.cjs +1 -1
- package/dist/index13.cjs.map +1 -1
- package/dist/index13.js +98 -103
- package/dist/index13.js.map +1 -1
- package/dist/index14.cjs +1 -1
- package/dist/index14.cjs.map +1 -1
- package/dist/index14.js +22 -141
- package/dist/index14.js.map +1 -1
- package/dist/index15.cjs +1 -1
- package/dist/index15.cjs.map +1 -1
- package/dist/index15.js +18 -103
- package/dist/index15.js.map +1 -1
- package/dist/index16.cjs +1 -1
- package/dist/index16.cjs.map +1 -1
- package/dist/index16.js +18 -20
- package/dist/index16.js.map +1 -1
- package/dist/index17.cjs +1 -1
- package/dist/index17.cjs.map +1 -1
- package/dist/index17.js +58 -22
- package/dist/index17.js.map +1 -1
- package/dist/index18.cjs +1 -1
- package/dist/index18.cjs.map +1 -1
- package/dist/index18.js +20 -17
- package/dist/index18.js.map +1 -1
- package/dist/index19.cjs +1 -1
- package/dist/index19.cjs.map +1 -1
- package/dist/index19.js +89 -47
- package/dist/index19.js.map +1 -1
- package/dist/index20.cjs +1 -1
- package/dist/index20.cjs.map +1 -1
- package/dist/index20.js +39 -17
- package/dist/index20.js.map +1 -1
- package/dist/index21.cjs +1 -1
- package/dist/index21.cjs.map +1 -1
- package/dist/index21.js +29 -96
- package/dist/index21.js.map +1 -1
- package/dist/index22.cjs +1 -1
- package/dist/index22.cjs.map +1 -1
- package/dist/index22.js +44 -22
- package/dist/index22.js.map +1 -1
- package/dist/index23.cjs +1 -1
- package/dist/index23.cjs.map +1 -1
- package/dist/index23.js +183 -24
- package/dist/index23.js.map +1 -1
- package/dist/index24.cjs +1 -1
- package/dist/index24.cjs.map +1 -1
- package/dist/index24.js +26 -30
- package/dist/index24.js.map +1 -1
- package/dist/index25.cjs +1 -1
- package/dist/index25.cjs.map +1 -1
- package/dist/index25.js +128 -130
- package/dist/index25.js.map +1 -1
- package/dist/index26.cjs +1 -1
- package/dist/index26.cjs.map +1 -1
- package/dist/index26.js +13 -21
- package/dist/index26.js.map +1 -1
- package/dist/index27.cjs +1 -1
- package/dist/index27.cjs.map +1 -1
- package/dist/index27.js +28 -103
- package/dist/index27.js.map +1 -1
- package/dist/index28.cjs +1 -1
- package/dist/index28.cjs.map +1 -1
- package/dist/index28.js +25 -9
- package/dist/index28.js.map +1 -1
- package/dist/index29.cjs +1 -1
- package/dist/index29.cjs.map +1 -1
- package/dist/index29.js +132 -34
- package/dist/index29.js.map +1 -1
- package/dist/index3.cjs +1 -1
- package/dist/index3.cjs.map +1 -1
- package/dist/index3.js +83 -69
- package/dist/index3.js.map +1 -1
- package/dist/index30.cjs +1 -1
- package/dist/index30.cjs.map +1 -1
- package/dist/index30.js +62 -27
- package/dist/index30.js.map +1 -1
- package/dist/index31.cjs +1 -1
- package/dist/index31.cjs.map +1 -1
- package/dist/index31.js +78 -104
- package/dist/index31.js.map +1 -1
- package/dist/index32.cjs +1 -1
- package/dist/index32.cjs.map +1 -1
- package/dist/index32.js +21 -42
- package/dist/index32.js.map +1 -1
- package/dist/index33.cjs +1 -1
- package/dist/index33.cjs.map +1 -1
- package/dist/index33.js +85 -77
- package/dist/index33.js.map +1 -1
- package/dist/index34.cjs +1 -1
- package/dist/index34.cjs.map +1 -1
- package/dist/index34.js +67 -20
- package/dist/index34.js.map +1 -1
- package/dist/index35.cjs +1 -1
- package/dist/index35.cjs.map +1 -1
- package/dist/index35.js +55 -75
- package/dist/index35.js.map +1 -1
- package/dist/index36.cjs +1 -1
- package/dist/index36.cjs.map +1 -1
- package/dist/index36.js +89 -39
- package/dist/index36.js.map +1 -1
- package/dist/index37.cjs +1 -1
- package/dist/index37.cjs.map +1 -1
- package/dist/index37.js +3 -33
- package/dist/index37.js.map +1 -1
- package/dist/index38.cjs +1 -1
- package/dist/index38.cjs.map +1 -1
- package/dist/index38.js +33 -65
- package/dist/index38.js.map +1 -1
- package/dist/index39.cjs +1 -1
- package/dist/index39.cjs.map +1 -1
- package/dist/index39.js +11 -261
- package/dist/index39.js.map +1 -1
- package/dist/index4.cjs +1 -1
- package/dist/index4.cjs.map +1 -1
- package/dist/index4.js +153 -323
- package/dist/index4.js.map +1 -1
- package/dist/index40.cjs +1 -1
- package/dist/index40.cjs.map +1 -1
- package/dist/index40.js +118 -6
- package/dist/index40.js.map +1 -1
- package/dist/index41.cjs +1 -1
- package/dist/index41.cjs.map +1 -1
- package/dist/index41.js +13 -12
- package/dist/index41.js.map +1 -1
- package/dist/index42.cjs +1 -1
- package/dist/index42.cjs.map +1 -1
- package/dist/index42.js +7 -118
- package/dist/index42.js.map +1 -1
- package/dist/index43.cjs +1 -1
- package/dist/index43.cjs.map +1 -1
- package/dist/index43.js +2 -14
- package/dist/index43.js.map +1 -1
- package/dist/index44.cjs +1 -1
- package/dist/index44.cjs.map +1 -1
- package/dist/index44.js +23 -3
- package/dist/index44.js.map +1 -1
- package/dist/index45.cjs +6 -1
- package/dist/index45.cjs.map +1 -1
- package/dist/index45.js +234 -103
- package/dist/index45.js.map +1 -1
- package/dist/index46.cjs +1 -1
- package/dist/index46.cjs.map +1 -1
- package/dist/index46.js +13 -32
- package/dist/index46.js.map +1 -1
- package/dist/index47.cjs +1 -1
- package/dist/index47.cjs.map +1 -1
- package/dist/index47.js +2729 -2
- package/dist/index47.js.map +1 -1
- package/dist/index48.cjs +1 -9
- package/dist/index48.cjs.map +1 -1
- package/dist/index48.js +2 -30
- package/dist/index48.js.map +1 -1
- package/dist/index49.cjs +1 -19
- package/dist/index49.cjs.map +1 -1
- package/dist/index49.js +2 -599
- package/dist/index49.js.map +1 -1
- package/dist/index5.cjs +1 -1
- package/dist/index5.cjs.map +1 -1
- package/dist/index5.js +77 -41
- package/dist/index5.js.map +1 -1
- package/dist/index6.cjs +1 -1
- package/dist/index6.cjs.map +1 -1
- package/dist/index6.js +157 -110
- package/dist/index6.js.map +1 -1
- package/dist/index7.cjs +1 -1
- package/dist/index7.cjs.map +1 -1
- package/dist/index7.js +182 -80
- package/dist/index7.js.map +1 -1
- package/dist/index8.cjs +1 -1
- package/dist/index8.cjs.map +1 -1
- package/dist/index8.js +87 -157
- package/dist/index8.js.map +1 -1
- package/dist/index9.cjs +1 -1
- package/dist/index9.cjs.map +1 -1
- package/dist/index9.js +32 -65
- package/dist/index9.js.map +1 -1
- package/dist/lib/utils.d.ts +1 -1
- package/dist/lib/utils.d.ts.map +1 -1
- package/package.json +59 -63
- package/dist/Colors.d.ts +0 -71
- package/dist/Colors.d.ts.map +0 -1
- package/dist/index2.cjs +0 -2
- package/dist/index2.cjs.map +0 -1
- package/dist/index2.js +0 -5
- package/dist/index2.js.map +0 -1
- package/dist/index50.cjs +0 -2
- package/dist/index50.cjs.map +0 -1
- package/dist/index50.js +0 -5
- package/dist/index50.js.map +0 -1
- package/dist/index51.cjs +0 -2
- package/dist/index51.cjs.map +0 -1
- package/dist/index51.js +0 -154
- package/dist/index51.js.map +0 -1
- package/dist/index52.cjs +0 -2
- package/dist/index52.cjs.map +0 -1
- package/dist/index52.js +0 -19
- package/dist/index52.js.map +0 -1
- package/dist/index53.cjs +0 -2
- package/dist/index53.cjs.map +0 -1
- package/dist/index53.js +0 -345
- package/dist/index53.js.map +0 -1
- package/dist/index54.cjs +0 -2
- package/dist/index54.cjs.map +0 -1
- package/dist/index54.js +0 -48
- package/dist/index54.js.map +0 -1
- package/dist/index55.cjs +0 -2
- package/dist/index55.cjs.map +0 -1
- package/dist/index55.js +0 -5
- package/dist/index55.js.map +0 -1
- package/dist/index56.cjs +0 -2
- package/dist/index56.cjs.map +0 -1
- package/dist/index56.js +0 -5
- package/dist/index56.js.map +0 -1
- package/dist/index57.cjs +0 -2
- package/dist/index57.cjs.map +0 -1
- package/dist/index57.js +0 -5
- package/dist/index57.js.map +0 -1
- package/dist/index58.cjs +0 -2
- package/dist/index58.cjs.map +0 -1
- package/dist/index58.js +0 -7
- package/dist/index58.js.map +0 -1
- package/dist/tailwind-theme-config.d.ts +0 -318
- package/dist/tailwind-theme-config.d.ts.map +0 -1
package/dist/index35.js
CHANGED
|
@@ -1,86 +1,66 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import * as
|
|
3
|
-
import { cva as
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
"inline-flex items-center justify-center rounded font-small transition-colors disabled:pointer-events-none disabled:opacity-40",
|
|
1
|
+
import { j as o } from "./index37.js";
|
|
2
|
+
import * as i from "@radix-ui/react-tooltip";
|
|
3
|
+
import { cva as d } from "./index38.js";
|
|
4
|
+
import { cn as s } from "./index39.js";
|
|
5
|
+
const l = d(
|
|
6
|
+
"z-50 overflow-hidden rounded px-12 py-8 text-sm shadow-200 animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-tooltip-content-transform-origin)",
|
|
8
7
|
{
|
|
9
8
|
variants: {
|
|
10
9
|
variant: {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
"badge-magenta": "bg-gray-100 text-gray-900/48 border-gray-200 hover:bg-gray-200 data-[state=on]:bg-magenta-50 hover:data-[state=on]:bg-magenta-50 data-[state=on]:text-magenta-700 [&_svg]:data-[state=on]:text-magenta-700 data-[state=on]:border-magenta-100",
|
|
14
|
-
"badge-gray": "bg-gray-100 text-gray-900/48 border-gray-200 hover:bg-gray-200 data-[state=on]:bg-gray-200 hover:data-[state=on]:bg-gray-200 data-[state=on]:text-gray-900 [&_svg]:data-[state=on]:text-gray-900 data-[state=on]:border-gray-300",
|
|
15
|
-
"badge-purple": "bg-gray-100 text-gray-900/48 border-gray-200 hover:bg-gray-200 data-[state=on]:bg-purple-100 hover:data-[state=on]:bg-purple-100 data-[state=on]:text-purple-900 [&_svg]:data-[state=on]:text-purple-900 data-[state=on]:border-purple-200",
|
|
16
|
-
"badge-robinblue": "bg-gray-100 text-gray-900/48 border-gray-200 hover:bg-gray-200 data-[state=on]:bg-robinblue-100 hover:data-[state=on]:bg-robinblue-100 data-[state=on]:text-robinblue-900 [&_svg]:data-[state=on]:text-robinblue-900 data-[state=on]:border-robinblue-200"
|
|
17
|
-
},
|
|
18
|
-
size: {
|
|
19
|
-
icon: "w-32 h-32",
|
|
20
|
-
sm: "px-8 h-[26px] text-sm",
|
|
21
|
-
md: "px-12 h-32 text-base"
|
|
22
|
-
},
|
|
23
|
-
border: {
|
|
24
|
-
outline: "border",
|
|
25
|
-
none: "border-0"
|
|
26
|
-
},
|
|
27
|
-
inverted: {
|
|
28
|
-
true: "data-[state=on]:text-white [&_svg]:data-[state=on]:text-white",
|
|
29
|
-
false: ""
|
|
10
|
+
default: "bg-gray-800 text-white text-sm",
|
|
11
|
+
inverted: "bg-white text-gray-800 border border-gray-900/8"
|
|
30
12
|
}
|
|
31
13
|
},
|
|
32
|
-
compoundVariants: [
|
|
33
|
-
{
|
|
34
|
-
inverted: !0,
|
|
35
|
-
variant: "badge-green",
|
|
36
|
-
className: "data-[state=on]:bg-green-700 hover:data-[state=on]:bg-green-700 data-[state=on]:border-green-800"
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
inverted: !0,
|
|
40
|
-
variant: "badge-yellow",
|
|
41
|
-
className: "data-[state=on]:bg-yellow-700 hover:data-[state=on]:bg-yellow-700 data-[state=on]:border-yellow-800"
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
inverted: !0,
|
|
45
|
-
variant: "badge-magenta",
|
|
46
|
-
className: "data-[state=on]:bg-magenta-700 hover:data-[state=on]:bg-magenta-700 data-[state=on]:border-magenta-800"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
inverted: !0,
|
|
50
|
-
variant: "badge-gray",
|
|
51
|
-
className: "data-[state=on]:bg-gray-700 hover:data-[state=on]:bg-gray-700 data-[state=on]:border-gray-800"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
inverted: !0,
|
|
55
|
-
variant: "badge-purple",
|
|
56
|
-
className: "data-[state=on]:bg-purple-700 hover:data-[state=on]:bg-purple-700 data-[state=on]:border-purple-800"
|
|
57
|
-
},
|
|
58
|
-
{
|
|
59
|
-
inverted: !0,
|
|
60
|
-
variant: "badge-robinblue",
|
|
61
|
-
className: "data-[state=on]:bg-robinblue-700 hover:data-[state=on]:bg-robinblue-700 data-[state=on]:border-robinblue-800"
|
|
62
|
-
}
|
|
63
|
-
],
|
|
64
14
|
defaultVariants: {
|
|
65
|
-
variant: "
|
|
66
|
-
size: "icon",
|
|
67
|
-
border: "outline",
|
|
68
|
-
inverted: !1
|
|
15
|
+
variant: "default"
|
|
69
16
|
}
|
|
70
17
|
}
|
|
71
|
-
)
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
18
|
+
);
|
|
19
|
+
function m({
|
|
20
|
+
delayDuration: t = 0,
|
|
21
|
+
...r
|
|
22
|
+
}) {
|
|
23
|
+
return /* @__PURE__ */ o.jsx(
|
|
24
|
+
i.Provider,
|
|
25
|
+
{
|
|
26
|
+
"data-slot": "tooltip-provider",
|
|
27
|
+
delayDuration: t,
|
|
28
|
+
...r
|
|
29
|
+
}
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
function c({
|
|
33
|
+
...t
|
|
34
|
+
}) {
|
|
35
|
+
return /* @__PURE__ */ o.jsx(m, { children: /* @__PURE__ */ o.jsx(i.Root, { "data-slot": "tooltip", ...t }) });
|
|
36
|
+
}
|
|
37
|
+
function g({
|
|
38
|
+
...t
|
|
39
|
+
}) {
|
|
40
|
+
return /* @__PURE__ */ o.jsx(i.Trigger, { "data-slot": "tooltip-trigger", ...t });
|
|
41
|
+
}
|
|
42
|
+
function x({
|
|
43
|
+
variant: t,
|
|
44
|
+
className: r,
|
|
45
|
+
sideOffset: e = 4,
|
|
46
|
+
children: a,
|
|
47
|
+
...n
|
|
48
|
+
}) {
|
|
49
|
+
return /* @__PURE__ */ o.jsx(i.Portal, { children: /* @__PURE__ */ o.jsx(
|
|
50
|
+
i.Content,
|
|
51
|
+
{
|
|
52
|
+
"data-slot": "tooltip-content",
|
|
53
|
+
sideOffset: e,
|
|
54
|
+
className: s(l({ variant: t, className: r })),
|
|
55
|
+
...n,
|
|
56
|
+
children: a
|
|
57
|
+
}
|
|
58
|
+
) });
|
|
59
|
+
}
|
|
82
60
|
export {
|
|
83
|
-
|
|
84
|
-
|
|
61
|
+
c as Tooltip,
|
|
62
|
+
x as TooltipContent,
|
|
63
|
+
m as TooltipProvider,
|
|
64
|
+
g as TooltipTrigger
|
|
85
65
|
};
|
|
86
66
|
//# sourceMappingURL=index35.js.map
|
package/dist/index35.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index35.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index35.js","sources":["../src/Tooltip/index.tsx"],"sourcesContent":["'use client'\n\nimport * as TooltipPrimitive from '@radix-ui/react-tooltip'\nimport { VariantProps, cva } from 'class-variance-authority'\nimport * as React from 'react'\nimport { cn } from '../lib/utils'\n\nconst tooltipContentVariants = cva(\n 'z-50 overflow-hidden rounded px-12 py-8 text-sm shadow-200 animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-tooltip-content-transform-origin)',\n {\n variants: {\n variant: {\n default: 'bg-gray-800 text-white text-sm',\n inverted: 'bg-white text-gray-800 border border-gray-900/8'\n }\n },\n defaultVariants: {\n variant: 'default'\n }\n }\n)\n\nfunction TooltipProvider({\n delayDuration = 0,\n ...props\n}: React.ComponentProps<typeof TooltipPrimitive.Provider>) {\n return (\n <TooltipPrimitive.Provider\n data-slot=\"tooltip-provider\"\n delayDuration={delayDuration}\n {...props}\n />\n )\n}\n\nfunction Tooltip({\n ...props\n}: React.ComponentProps<typeof TooltipPrimitive.Root>) {\n return (\n <TooltipProvider>\n <TooltipPrimitive.Root data-slot=\"tooltip\" {...props} />\n </TooltipProvider>\n )\n}\n\nfunction TooltipTrigger({\n ...props\n}: React.ComponentProps<typeof TooltipPrimitive.Trigger>) {\n return <TooltipPrimitive.Trigger data-slot=\"tooltip-trigger\" {...props} />\n}\n\nfunction TooltipContent({\n variant,\n className,\n sideOffset = 4,\n children,\n ...props\n}: React.ComponentProps<typeof TooltipPrimitive.Content> &\n VariantProps<typeof tooltipContentVariants>) {\n return (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n data-slot=\"tooltip-content\"\n sideOffset={sideOffset}\n className={cn(tooltipContentVariants({ variant, className }))}\n {...props}\n >\n {children}\n </TooltipPrimitive.Content>\n </TooltipPrimitive.Portal>\n )\n}\nexport { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger }\n"],"names":["tooltipContentVariants","cva","TooltipProvider","delayDuration","props","jsx","TooltipPrimitive","Tooltip","TooltipTrigger","TooltipContent","variant","className","sideOffset","children","cn"],"mappings":";;;;AAOA,MAAMA,IAAyBC;AAAA,EAC7B;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,UAAU;AAAA,MAAA;AAAA,IACZ;AAAA,IAEF,iBAAiB;AAAA,MACf,SAAS;AAAA,IAAA;AAAA,EACX;AAEJ;AAEA,SAASC,EAAgB;AAAA,EACvB,eAAAC,IAAgB;AAAA,EAChB,GAAGC;AACL,GAA2D;AACzD,SACEC,gBAAAA,EAAAA;AAAAA,IAACC,EAAiB;AAAA,IAAjB;AAAA,MACC,aAAU;AAAA,MACV,eAAAH;AAAA,MACC,GAAGC;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASG,EAAQ;AAAA,EACf,GAAGH;AACL,GAAuD;AACrD,SACEC,gBAAAA,EAAAA,IAACH,GAAA,EACC,UAAAG,gBAAAA,EAAAA,IAACC,EAAiB,MAAjB,EAAsB,aAAU,WAAW,GAAGF,EAAA,CAAO,EAAA,CACxD;AAEJ;AAEA,SAASI,EAAe;AAAA,EACtB,GAAGJ;AACL,GAA0D;AACxD,+BAAQE,EAAiB,SAAjB,EAAyB,aAAU,mBAAmB,GAAGF,GAAO;AAC1E;AAEA,SAASK,EAAe;AAAA,EACtB,SAAAC;AAAA,EACA,WAAAC;AAAA,EACA,YAAAC,IAAa;AAAA,EACb,UAAAC;AAAA,EACA,GAAGT;AACL,GAC+C;AAC7C,SACEC,gBAAAA,EAAAA,IAACC,EAAiB,QAAjB,EACC,UAAAD,gBAAAA,EAAAA;AAAAA,IAACC,EAAiB;AAAA,IAAjB;AAAA,MACC,aAAU;AAAA,MACV,YAAAM;AAAA,MACA,WAAWE,EAAGd,EAAuB,EAAE,SAAAU,GAAS,WAAAC,EAAA,CAAW,CAAC;AAAA,MAC3D,GAAGP;AAAA,MAEH,UAAAS;AAAA,IAAA;AAAA,EAAA,GAEL;AAEJ;"}
|
package/dist/index36.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index37.cjs"),u=require("@radix-ui/react-navigation-menu"),s=require("./index24.cjs"),r=require("./index39.cjs");function c(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const n in t)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(e,n,o.get?o:{enumerable:!0,get:()=>t[n]})}}return e.default=t,Object.freeze(e)}const a=c(u);function l({children:t,viewport:e=!0,...n}){return i.jsxRuntimeExports.jsxs(a.Root,{"data-slot":"navigation-menu","data-viewport":e,...n,children:[t,e&&i.jsxRuntimeExports.jsx(a.NavigationMenuViewport,{})]})}function g({className:t,...e}){return i.jsxRuntimeExports.jsx(a.List,{"data-slot":"navigation-menu-list",className:r.cn("group flex flex-col list-none items-center justify-center pb-16",t),...e})}function x({className:t,...e}){return i.jsxRuntimeExports.jsx("div",{className:r.cn("flex items-start justify-start text-sm text-gray-800 mt-16 mb-2 px-16",t),...e})}function m({...t}){return i.jsxRuntimeExports.jsx(s.Separator,{...t})}function v({className:t,...e}){return i.jsxRuntimeExports.jsx(a.Item,{"data-slot":"navigation-menu-item",className:r.cn("w-full",t),...e})}function p({className:t,...e}){return i.jsxRuntimeExports.jsx(a.Link,{"data-slot":"navigation-menu-link",className:r.cn("flex justify-start px-12 py-[10px] w-full font-normal text-gray-800 hover:bg-gray-200 hover:text-purple-800 focus-visible:outline-none focus-visible:bg-gray-200 focus-visible:text-purple-900 data-active:bg-purple-900 hover:data-active:bg-purple-900 data-active:text-white",t),...e})}exports.VerticalNavigationMenu=l;exports.VerticalNavigationMenuHeading=x;exports.VerticalNavigationMenuItem=v;exports.VerticalNavigationMenuLink=p;exports.VerticalNavigationMenuList=g;exports.VerticalNavigationMenuSeparator=m;
|
|
2
2
|
//# sourceMappingURL=index36.cjs.map
|
package/dist/index36.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index36.cjs","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index36.cjs","sources":["../src/VerticalNavigationMenu/index.tsx"],"sourcesContent":["import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu'\nimport * as React from 'react'\nimport { Separator } from '../Separator'\nimport { cn } from '../lib/utils'\n\nfunction VerticalNavigationMenu({\n children,\n viewport = true,\n ...props\n}: React.ComponentProps<typeof NavigationMenuPrimitive.Root> & {\n viewport?: boolean\n}) {\n return (\n <NavigationMenuPrimitive.Root\n data-slot=\"navigation-menu\"\n data-viewport={viewport}\n {...props}\n >\n {children}\n {viewport && <NavigationMenuPrimitive.NavigationMenuViewport />}\n </NavigationMenuPrimitive.Root>\n )\n}\n\nfunction VerticalNavigationMenuList({\n className,\n ...props\n}: React.ComponentProps<typeof NavigationMenuPrimitive.List>) {\n return (\n <NavigationMenuPrimitive.List\n data-slot=\"navigation-menu-list\"\n className={cn(\n 'group flex flex-col list-none items-center justify-center pb-16',\n className\n )}\n {...props}\n />\n )\n}\n\nfunction VerticalNavigationMenuHeading({\n className,\n ...props\n}: React.ComponentProps<'div'>) {\n return (\n <div\n className={cn(\n 'flex items-start justify-start text-sm text-gray-800 mt-16 mb-2 px-16',\n className\n )}\n {...props}\n />\n )\n}\n\nfunction VerticalNavigationMenuSeparator({\n ...props\n}: React.ComponentProps<'div'>) {\n return <Separator {...props} />\n}\n\nfunction VerticalNavigationMenuItem({\n className,\n ...props\n}: React.ComponentProps<typeof NavigationMenuPrimitive.Item>) {\n return (\n <NavigationMenuPrimitive.Item\n data-slot=\"navigation-menu-item\"\n className={cn('w-full', className)}\n {...props}\n />\n )\n}\n\nfunction VerticalNavigationMenuLink({\n className,\n ...props\n}: React.ComponentProps<typeof NavigationMenuPrimitive.Link>) {\n return (\n <NavigationMenuPrimitive.Link\n data-slot=\"navigation-menu-link\"\n className={cn(\n 'flex justify-start px-12 py-[10px] w-full font-normal text-gray-800 \\\n hover:bg-gray-200 hover:text-purple-800 \\\n focus-visible:outline-none focus-visible:bg-gray-200 focus-visible:text-purple-900 \\\n data-active:bg-purple-900 hover:data-active:bg-purple-900 data-active:text-white',\n className\n )}\n {...props}\n />\n )\n}\nexport {\n VerticalNavigationMenu,\n VerticalNavigationMenuHeading,\n VerticalNavigationMenuItem,\n VerticalNavigationMenuLink,\n VerticalNavigationMenuList,\n VerticalNavigationMenuSeparator\n}\n"],"names":["VerticalNavigationMenu","children","viewport","props","jsxs","NavigationMenuPrimitive","jsx","VerticalNavigationMenuList","className","cn","VerticalNavigationMenuHeading","VerticalNavigationMenuSeparator","Separator","VerticalNavigationMenuItem","VerticalNavigationMenuLink"],"mappings":"8eAKA,SAASA,EAAuB,CAC9B,SAAAC,EACA,SAAAC,EAAW,GACX,GAAGC,CACL,EAEG,CACD,OACEC,EAAAA,kBAAAA,KAACC,EAAwB,KAAxB,CACC,YAAU,kBACV,gBAAeH,EACd,GAAGC,EAEH,SAAA,CAAAF,EACAC,GAAYI,EAAAA,kBAAAA,IAACD,EAAwB,uBAAxB,CAAA,CAA+C,CAAA,CAAA,CAAA,CAGnE,CAEA,SAASE,EAA2B,CAClC,UAAAC,EACA,GAAGL,CACL,EAA8D,CAC5D,OACEG,EAAAA,kBAAAA,IAACD,EAAwB,KAAxB,CACC,YAAU,uBACV,UAAWI,EAAAA,GACT,kEACAD,CAAA,EAED,GAAGL,CAAA,CAAA,CAGV,CAEA,SAASO,EAA8B,CACrC,UAAAF,EACA,GAAGL,CACL,EAAgC,CAC9B,OACEG,EAAAA,kBAAAA,IAAC,MAAA,CACC,UAAWG,EAAAA,GACT,wEACAD,CAAA,EAED,GAAGL,CAAA,CAAA,CAGV,CAEA,SAASQ,EAAgC,CACvC,GAAGR,CACL,EAAgC,CAC9B,OAAOG,wBAACM,EAAAA,UAAA,CAAW,GAAGT,CAAA,CAAO,CAC/B,CAEA,SAASU,EAA2B,CAClC,UAAAL,EACA,GAAGL,CACL,EAA8D,CAC5D,OACEG,EAAAA,kBAAAA,IAACD,EAAwB,KAAxB,CACC,YAAU,uBACV,UAAWI,EAAAA,GAAG,SAAUD,CAAS,EAChC,GAAGL,CAAA,CAAA,CAGV,CAEA,SAASW,EAA2B,CAClC,UAAAN,EACA,GAAGL,CACL,EAA8D,CAC5D,OACEG,EAAAA,kBAAAA,IAACD,EAAwB,KAAxB,CACC,YAAU,uBACV,UAAWI,EAAAA,GACT,8RAIAD,CAAA,EAED,GAAGL,CAAA,CAAA,CAGV"}
|
package/dist/index36.js
CHANGED
|
@@ -1,46 +1,96 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import * as
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
t.Root,
|
|
13
|
-
{
|
|
14
|
-
ref: l,
|
|
15
|
-
className: c("flex items-center justify-center gap-8", o),
|
|
16
|
-
...p,
|
|
17
|
-
children: /* @__PURE__ */ d.jsx(f.Provider, { value: { variant: a, size: i, border: s, inverted: n }, children: m })
|
|
18
|
-
}
|
|
19
|
-
));
|
|
20
|
-
u.displayName = t.Root.displayName;
|
|
21
|
-
const x = r.forwardRef(({ className: o, children: a, variant: i, size: s, border: n, inverted: m, ...p }, l) => {
|
|
22
|
-
const e = r.useContext(f);
|
|
23
|
-
return /* @__PURE__ */ d.jsx(
|
|
24
|
-
t.Item,
|
|
1
|
+
import { j as a } from "./index37.js";
|
|
2
|
+
import * as i from "@radix-ui/react-navigation-menu";
|
|
3
|
+
import { Separator as o } from "./index24.js";
|
|
4
|
+
import { cn as n } from "./index39.js";
|
|
5
|
+
function c({
|
|
6
|
+
children: t,
|
|
7
|
+
viewport: e = !0,
|
|
8
|
+
...r
|
|
9
|
+
}) {
|
|
10
|
+
return /* @__PURE__ */ a.jsxs(
|
|
11
|
+
i.Root,
|
|
25
12
|
{
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
13
|
+
"data-slot": "navigation-menu",
|
|
14
|
+
"data-viewport": e,
|
|
15
|
+
...r,
|
|
16
|
+
children: [
|
|
17
|
+
t,
|
|
18
|
+
e && /* @__PURE__ */ a.jsx(i.NavigationMenuViewport, {})
|
|
19
|
+
]
|
|
20
|
+
}
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
function m({
|
|
24
|
+
className: t,
|
|
25
|
+
...e
|
|
26
|
+
}) {
|
|
27
|
+
return /* @__PURE__ */ a.jsx(
|
|
28
|
+
i.List,
|
|
29
|
+
{
|
|
30
|
+
"data-slot": "navigation-menu-list",
|
|
31
|
+
className: n(
|
|
32
|
+
"group flex flex-col list-none items-center justify-center pb-16",
|
|
33
|
+
t
|
|
34
|
+
),
|
|
35
|
+
...e
|
|
36
|
+
}
|
|
37
|
+
);
|
|
38
|
+
}
|
|
39
|
+
function f({
|
|
40
|
+
className: t,
|
|
41
|
+
...e
|
|
42
|
+
}) {
|
|
43
|
+
return /* @__PURE__ */ a.jsx(
|
|
44
|
+
"div",
|
|
45
|
+
{
|
|
46
|
+
className: n(
|
|
47
|
+
"flex items-start justify-start text-sm text-gray-800 mt-16 mb-2 px-16",
|
|
48
|
+
t
|
|
49
|
+
),
|
|
50
|
+
...e
|
|
51
|
+
}
|
|
52
|
+
);
|
|
53
|
+
}
|
|
54
|
+
function p({
|
|
55
|
+
...t
|
|
56
|
+
}) {
|
|
57
|
+
return /* @__PURE__ */ a.jsx(o, { ...t });
|
|
58
|
+
}
|
|
59
|
+
function v({
|
|
60
|
+
className: t,
|
|
61
|
+
...e
|
|
62
|
+
}) {
|
|
63
|
+
return /* @__PURE__ */ a.jsx(
|
|
64
|
+
i.Item,
|
|
65
|
+
{
|
|
66
|
+
"data-slot": "navigation-menu-item",
|
|
67
|
+
className: n("w-full", t),
|
|
68
|
+
...e
|
|
69
|
+
}
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
function x({
|
|
73
|
+
className: t,
|
|
74
|
+
...e
|
|
75
|
+
}) {
|
|
76
|
+
return /* @__PURE__ */ a.jsx(
|
|
77
|
+
i.Link,
|
|
78
|
+
{
|
|
79
|
+
"data-slot": "navigation-menu-link",
|
|
80
|
+
className: n(
|
|
81
|
+
"flex justify-start px-12 py-[10px] w-full font-normal text-gray-800 hover:bg-gray-200 hover:text-purple-800 focus-visible:outline-none focus-visible:bg-gray-200 focus-visible:text-purple-900 data-active:bg-purple-900 hover:data-active:bg-purple-900 data-active:text-white",
|
|
82
|
+
t
|
|
35
83
|
),
|
|
36
|
-
...
|
|
37
|
-
children: a
|
|
84
|
+
...e
|
|
38
85
|
}
|
|
39
86
|
);
|
|
40
|
-
}
|
|
41
|
-
x.displayName = t.Item.displayName;
|
|
87
|
+
}
|
|
42
88
|
export {
|
|
43
|
-
|
|
44
|
-
|
|
89
|
+
c as VerticalNavigationMenu,
|
|
90
|
+
f as VerticalNavigationMenuHeading,
|
|
91
|
+
v as VerticalNavigationMenuItem,
|
|
92
|
+
x as VerticalNavigationMenuLink,
|
|
93
|
+
m as VerticalNavigationMenuList,
|
|
94
|
+
p as VerticalNavigationMenuSeparator
|
|
45
95
|
};
|
|
46
96
|
//# sourceMappingURL=index36.js.map
|
package/dist/index36.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index36.js","sources":["../src/
|
|
1
|
+
{"version":3,"file":"index36.js","sources":["../src/VerticalNavigationMenu/index.tsx"],"sourcesContent":["import * as NavigationMenuPrimitive from '@radix-ui/react-navigation-menu'\nimport * as React from 'react'\nimport { Separator } from '../Separator'\nimport { cn } from '../lib/utils'\n\nfunction VerticalNavigationMenu({\n children,\n viewport = true,\n ...props\n}: React.ComponentProps<typeof NavigationMenuPrimitive.Root> & {\n viewport?: boolean\n}) {\n return (\n <NavigationMenuPrimitive.Root\n data-slot=\"navigation-menu\"\n data-viewport={viewport}\n {...props}\n >\n {children}\n {viewport && <NavigationMenuPrimitive.NavigationMenuViewport />}\n </NavigationMenuPrimitive.Root>\n )\n}\n\nfunction VerticalNavigationMenuList({\n className,\n ...props\n}: React.ComponentProps<typeof NavigationMenuPrimitive.List>) {\n return (\n <NavigationMenuPrimitive.List\n data-slot=\"navigation-menu-list\"\n className={cn(\n 'group flex flex-col list-none items-center justify-center pb-16',\n className\n )}\n {...props}\n />\n )\n}\n\nfunction VerticalNavigationMenuHeading({\n className,\n ...props\n}: React.ComponentProps<'div'>) {\n return (\n <div\n className={cn(\n 'flex items-start justify-start text-sm text-gray-800 mt-16 mb-2 px-16',\n className\n )}\n {...props}\n />\n )\n}\n\nfunction VerticalNavigationMenuSeparator({\n ...props\n}: React.ComponentProps<'div'>) {\n return <Separator {...props} />\n}\n\nfunction VerticalNavigationMenuItem({\n className,\n ...props\n}: React.ComponentProps<typeof NavigationMenuPrimitive.Item>) {\n return (\n <NavigationMenuPrimitive.Item\n data-slot=\"navigation-menu-item\"\n className={cn('w-full', className)}\n {...props}\n />\n )\n}\n\nfunction VerticalNavigationMenuLink({\n className,\n ...props\n}: React.ComponentProps<typeof NavigationMenuPrimitive.Link>) {\n return (\n <NavigationMenuPrimitive.Link\n data-slot=\"navigation-menu-link\"\n className={cn(\n 'flex justify-start px-12 py-[10px] w-full font-normal text-gray-800 \\\n hover:bg-gray-200 hover:text-purple-800 \\\n focus-visible:outline-none focus-visible:bg-gray-200 focus-visible:text-purple-900 \\\n data-active:bg-purple-900 hover:data-active:bg-purple-900 data-active:text-white',\n className\n )}\n {...props}\n />\n )\n}\nexport {\n VerticalNavigationMenu,\n VerticalNavigationMenuHeading,\n VerticalNavigationMenuItem,\n VerticalNavigationMenuLink,\n VerticalNavigationMenuList,\n VerticalNavigationMenuSeparator\n}\n"],"names":["VerticalNavigationMenu","children","viewport","props","jsxs","NavigationMenuPrimitive","jsx","VerticalNavigationMenuList","className","cn","VerticalNavigationMenuHeading","VerticalNavigationMenuSeparator","Separator","VerticalNavigationMenuItem","VerticalNavigationMenuLink"],"mappings":";;;;AAKA,SAASA,EAAuB;AAAA,EAC9B,UAAAC;AAAA,EACA,UAAAC,IAAW;AAAA,EACX,GAAGC;AACL,GAEG;AACD,SACEC,gBAAAA,EAAAA;AAAAA,IAACC,EAAwB;AAAA,IAAxB;AAAA,MACC,aAAU;AAAA,MACV,iBAAeH;AAAA,MACd,GAAGC;AAAA,MAEH,UAAA;AAAA,QAAAF;AAAA,QACAC,KAAYI,gBAAAA,EAAAA,IAACD,EAAwB,wBAAxB,CAAA,CAA+C;AAAA,MAAA;AAAA,IAAA;AAAA,EAAA;AAGnE;AAEA,SAASE,EAA2B;AAAA,EAClC,WAAAC;AAAA,EACA,GAAGL;AACL,GAA8D;AAC5D,SACEG,gBAAAA,EAAAA;AAAAA,IAACD,EAAwB;AAAA,IAAxB;AAAA,MACC,aAAU;AAAA,MACV,WAAWI;AAAA,QACT;AAAA,QACAD;AAAA,MAAA;AAAA,MAED,GAAGL;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASO,EAA8B;AAAA,EACrC,WAAAF;AAAA,EACA,GAAGL;AACL,GAAgC;AAC9B,SACEG,gBAAAA,EAAAA;AAAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWG;AAAA,QACT;AAAA,QACAD;AAAA,MAAA;AAAA,MAED,GAAGL;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASQ,EAAgC;AAAA,EACvC,GAAGR;AACL,GAAgC;AAC9B,SAAOG,gBAAAA,MAACM,GAAA,EAAW,GAAGT,EAAA,CAAO;AAC/B;AAEA,SAASU,EAA2B;AAAA,EAClC,WAAAL;AAAA,EACA,GAAGL;AACL,GAA8D;AAC5D,SACEG,gBAAAA,EAAAA;AAAAA,IAACD,EAAwB;AAAA,IAAxB;AAAA,MACC,aAAU;AAAA,MACV,WAAWI,EAAG,UAAUD,CAAS;AAAA,MAChC,GAAGL;AAAA,IAAA;AAAA,EAAA;AAGV;AAEA,SAASW,EAA2B;AAAA,EAClC,WAAAN;AAAA,EACA,GAAGL;AACL,GAA8D;AAC5D,SACEG,gBAAAA,EAAAA;AAAAA,IAACD,EAAwB;AAAA,IAAxB;AAAA,MACC,aAAU;AAAA,MACV,WAAWI;AAAA,QACT;AAAA,QAIAD;AAAA,MAAA;AAAA,MAED,GAAGL;AAAA,IAAA;AAAA,EAAA;AAGV;"}
|
package/dist/index37.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index42.cjs");var t=e.__require();exports.jsxRuntimeExports=t;
|
|
2
2
|
//# sourceMappingURL=index37.cjs.map
|
package/dist/index37.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index37.cjs","sources":[
|
|
1
|
+
{"version":3,"file":"index37.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":""}
|
package/dist/index37.js
CHANGED
|
@@ -1,36 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
import { cva as s } from "class-variance-authority";
|
|
4
|
-
import * as n from "react";
|
|
5
|
-
import { cn as m } from "./index41.js";
|
|
6
|
-
const l = s(
|
|
7
|
-
"z-50 overflow-hidden rounded px-12 py-8 text-sm shadow-200 animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
8
|
-
{
|
|
9
|
-
variants: {
|
|
10
|
-
variant: {
|
|
11
|
-
default: "bg-gray-800 text-white text-sm",
|
|
12
|
-
inverted: "bg-white text-gray-800 border border-gray-900-8"
|
|
13
|
-
}
|
|
14
|
-
},
|
|
15
|
-
defaultVariants: {
|
|
16
|
-
variant: "default"
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
), v = t.Provider, x = t.Root, u = t.Portal, T = t.Trigger, p = n.forwardRef(({ variant: o, className: a, sideOffset: e = 4, ...i }, r) => /* @__PURE__ */ d.jsx(
|
|
20
|
-
t.Content,
|
|
21
|
-
{
|
|
22
|
-
ref: r,
|
|
23
|
-
sideOffset: e,
|
|
24
|
-
className: m(l({ variant: o, className: a })),
|
|
25
|
-
...i
|
|
26
|
-
}
|
|
27
|
-
));
|
|
28
|
-
p.displayName = t.Content.displayName;
|
|
1
|
+
import { __require as r } from "./index42.js";
|
|
2
|
+
var i = r();
|
|
29
3
|
export {
|
|
30
|
-
|
|
31
|
-
p as TooltipContent,
|
|
32
|
-
u as TooltipPortal,
|
|
33
|
-
v as TooltipProvider,
|
|
34
|
-
T as TooltipTrigger
|
|
4
|
+
i as j
|
|
35
5
|
};
|
|
36
6
|
//# sourceMappingURL=index37.js.map
|
package/dist/index37.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index37.js","sources":[
|
|
1
|
+
{"version":3,"file":"index37.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
|
package/dist/index38.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const C=require("./index46.cjs"),y=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,r=C.clsx,O=(t,l)=>e=>{var s;if(l?.variants==null)return r(t,e?.class,e?.className);const{variants:v,defaultVariants:u}=l,V=Object.keys(v).map(n=>{const a=e?.[n],d=u?.[n];if(a===null)return null;const i=y(a)||y(d);return v[n][i]}),c=e&&Object.entries(e).reduce((n,a)=>{let[d,i]=a;return i===void 0||(n[d]=i),n},{}),N=l==null||(s=l.compoundVariants)===null||s===void 0?void 0:s.reduce((n,a)=>{let{class:d,className:i,...b}=a;return Object.entries(b).every(f=>{let[m,o]=f;return Array.isArray(o)?o.includes({...u,...c}[m]):{...u,...c}[m]===o})?[...n,d,i]:n},[]);return r(t,V,N,e?.class,e?.className)};exports.cva=O;exports.cx=r;
|
|
2
2
|
//# sourceMappingURL=index38.cjs.map
|
package/dist/index38.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index38.cjs","sources":["../
|
|
1
|
+
{"version":3,"file":"index38.cjs","sources":["../node_modules/.pnpm/class-variance-authority@0.7.1/node_modules/class-variance-authority/dist/index.mjs"],"sourcesContent":["/**\n * Copyright 2022 Joe Bell. All rights reserved.\n *\n * This file is licensed to you under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with the\n * License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n */ import { clsx } from \"clsx\";\nconst falsyToString = (value)=>typeof value === \"boolean\" ? `${value}` : value === 0 ? \"0\" : value;\nexport const cx = clsx;\nexport const cva = (base, config)=>(props)=>{\n var _config_compoundVariants;\n if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n const { variants, defaultVariants } = config;\n const getVariantClassNames = Object.keys(variants).map((variant)=>{\n const variantProp = props === null || props === void 0 ? void 0 : props[variant];\n const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];\n if (variantProp === null) return null;\n const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);\n return variants[variant][variantKey];\n });\n const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{\n let [key, value] = param;\n if (value === undefined) {\n return acc;\n }\n acc[key] = value;\n return acc;\n }, {});\n const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param)=>{\n let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;\n return Object.entries(compoundVariantOptions).every((param)=>{\n let [key, value] = param;\n return Array.isArray(value) ? value.includes({\n ...defaultVariants,\n ...propsWithoutUndefined\n }[key]) : ({\n ...defaultVariants,\n ...propsWithoutUndefined\n })[key] === value;\n }) ? [\n ...acc,\n cvClass,\n cvClassName\n ] : acc;\n }, []);\n return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n };\n\n"],"names":["falsyToString","value","cx","clsx","cva","base","config","props","_config_compoundVariants","variants","defaultVariants","getVariantClassNames","variant","variantProp","defaultVariantProp","variantKey","propsWithoutUndefined","acc","param","key","getCompoundVariantClassNames","cvClass","cvClassName","compoundVariantOptions"],"mappings":"iHAeMA,EAAiBC,GAAQ,OAAOA,GAAU,UAAY,GAAGA,CAAK,GAAKA,IAAU,EAAI,IAAMA,EAChFC,EAAKC,EAAAA,KACLC,EAAM,CAACC,EAAMC,IAAUC,GAAQ,CACpC,IAAIC,EACJ,GAAqDF,GAAO,UAAa,KAAM,OAAOJ,EAAGG,EAAoDE,GAAM,MAAqDA,GAAM,SAAS,EACvN,KAAM,CAAE,SAAAE,EAAU,gBAAAC,CAAe,EAAKJ,EAChCK,EAAuB,OAAO,KAAKF,CAAQ,EAAE,IAAKG,GAAU,CAC9D,MAAMC,EAA4DN,IAAMK,CAAO,EACzEE,EAAuFJ,IAAgBE,CAAO,EACpH,GAAIC,IAAgB,KAAM,OAAO,KACjC,MAAME,EAAaf,EAAca,CAAW,GAAKb,EAAcc,CAAkB,EACjF,OAAOL,EAASG,CAAO,EAAEG,CAAU,CACvC,CAAC,EACKC,EAAwBT,GAAS,OAAO,QAAQA,CAAK,EAAE,OAAO,CAACU,EAAKC,IAAQ,CAC9E,GAAI,CAACC,EAAKlB,CAAK,EAAIiB,EACnB,OAAIjB,IAAU,SAGdgB,EAAIE,CAAG,EAAIlB,GACJgB,CACX,EAAG,CAAA,CAAE,EACCG,EAA+Bd,GAAW,OAAsCE,EAA2BF,EAAO,oBAAsB,MAAQE,IAA6B,OAAvG,OAAyHA,EAAyB,OAAO,CAACS,EAAKC,IAAQ,CAC/O,GAAI,CAAE,MAAOG,EAAS,UAAWC,EAAa,GAAGC,CAAsB,EAAKL,EAC5E,OAAO,OAAO,QAAQK,CAAsB,EAAE,MAAOL,GAAQ,CACzD,GAAI,CAACC,EAAKlB,CAAK,EAAIiB,EACnB,OAAO,MAAM,QAAQjB,CAAK,EAAIA,EAAM,SAAS,CACzC,GAAGS,EACH,GAAGM,CACvB,EAAkBG,CAAG,CAAC,EAAK,CACP,GAAGT,EACH,GAAGM,CACvB,EAAmBG,CAAG,IAAMlB,CAChB,CAAC,EAAI,CACD,GAAGgB,EACHI,EACAC,CAChB,EAAgBL,CACR,EAAG,CAAA,CAAE,EACL,OAAOf,EAAGG,EAAMM,EAAsBS,EAA4Eb,GAAM,MAAqDA,GAAM,SAAS,CAChM","x_google_ignoreList":[0]}
|