@clasing/ui 2.0.4 → 2.0.6
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/{badge-B_J-uqVk.js → badge-DgjaD6g5.js} +5 -5
- package/dist/{badge-BMe7WNGM.cjs → badge-DuEEk3J_.cjs} +1 -1
- package/dist/{button-DPbsJTTm.js → button-D8hlW1CJ.js} +103 -103
- package/dist/button-U1793OQ4.cjs +1 -0
- package/dist/{card-DiFJZ6gb.cjs → card-BJMc0row.cjs} +1 -1
- package/dist/{card-3-vRPTXr.js → card-DPaMJS2f.js} +1 -1
- package/dist/{chip-wy9RL5iU.js → chip-C5OWe3FG.js} +16 -16
- package/dist/chip-CXa6E8Cf.cjs +1 -0
- package/dist/command-B7wbtmbM.cjs +1 -0
- package/dist/{command-DTwO6Xc5.js → command-RWDkdfba.js} +64 -64
- package/dist/components/accordion.cjs.js +1 -1
- package/dist/components/accordion.es.js +15 -15
- package/dist/components/alert-dialog.cjs.js +1 -1
- package/dist/components/alert-dialog.es.js +3 -3
- package/dist/components/alert.cjs.js +1 -1
- package/dist/components/alert.es.js +20 -20
- package/dist/components/avatar.cjs.js +1 -1
- package/dist/components/avatar.es.js +9 -9
- package/dist/components/badge.cjs.js +1 -1
- package/dist/components/badge.es.js +1 -1
- package/dist/components/blocks/interactive-card.cjs.js +1 -1
- package/dist/components/blocks/interactive-card.es.js +51 -49
- package/dist/components/blocks/selectable-chips.cjs.js +1 -1
- package/dist/components/blocks/selectable-chips.es.js +10 -10
- package/dist/components/breadcrumb.cjs.js +1 -1
- package/dist/components/breadcrumb.es.js +6 -6
- package/dist/components/button.cjs.js +1 -1
- package/dist/components/button.es.js +1 -1
- package/dist/components/calendar.cjs.js +1 -1
- package/dist/components/calendar.es.js +5 -5
- package/dist/components/card.cjs.js +1 -1
- package/dist/components/card.es.js +1 -1
- package/dist/components/chart.cjs.js +2 -2
- package/dist/components/chart.es.js +2 -2
- package/dist/components/checkbox.cjs.js +1 -1
- package/dist/components/checkbox.es.js +1 -1
- package/dist/components/chip.cjs.js +1 -1
- package/dist/components/chip.es.js +1 -1
- package/dist/components/command.cjs.js +1 -1
- package/dist/components/command.es.js +1 -1
- package/dist/components/context-menu.cjs.js +1 -1
- package/dist/components/context-menu.es.js +7 -7
- package/dist/components/dialog.cjs.js +1 -1
- package/dist/components/dialog.es.js +1 -1
- package/dist/components/drawer.cjs.js +1 -1
- package/dist/components/drawer.es.js +30 -30
- package/dist/components/dropdown-menu.cjs.js +1 -1
- package/dist/components/dropdown-menu.es.js +7 -7
- package/dist/components/form.cjs.js +1 -1
- package/dist/components/form.es.js +3 -3
- package/dist/components/icon-component.cjs.js +1 -1
- package/dist/components/icon-component.es.js +1 -1
- package/dist/components/input-otp.cjs.js +1 -1
- package/dist/components/input-otp.es.js +2 -2
- package/dist/components/input.cjs.js +1 -1
- package/dist/components/input.es.js +1 -1
- package/dist/components/label.cjs.js +1 -1
- package/dist/components/label.es.js +1 -1
- package/dist/components/menubar.cjs.js +1 -1
- package/dist/components/menubar.es.js +8 -8
- package/dist/components/multi-select.cjs.js +1 -1
- package/dist/components/multi-select.es.js +8 -8
- package/dist/components/navigation-menu.cjs.js +1 -1
- package/dist/components/navigation-menu.es.js +3 -3
- package/dist/components/phone-input.cjs.js +1 -1
- package/dist/components/phone-input.es.js +39 -39
- package/dist/components/resizable.cjs.js +1 -1
- package/dist/components/resizable.es.js +1 -1
- package/dist/components/select.cjs.js +1 -1
- package/dist/components/select.es.js +7 -7
- package/dist/components/sheet.cjs.js +1 -1
- package/dist/components/sheet.es.js +2 -2
- package/dist/components/table.cjs.js +1 -1
- package/dist/components/table.es.js +28 -28
- package/dist/components/textarea.cjs.js +1 -1
- package/dist/components/textarea.es.js +17 -17
- package/dist/components/toggle-group.cjs.js +1 -1
- package/dist/components/toggle-group.es.js +1 -1
- package/dist/components/toggle.cjs.js +1 -1
- package/dist/components/toggle.es.js +1 -1
- package/dist/components/tooltip.cjs.js +1 -1
- package/dist/components/tooltip.es.js +1 -1
- package/dist/{dialog-D9ZObHR9.js → dialog-BSEMFrzb.js} +7 -7
- package/dist/{dialog-CMSUa1RD.cjs → dialog-aYmcf_6q.cjs} +1 -1
- package/dist/icon-component-4lyl8wE_.cjs +1 -0
- package/dist/{icon-component-CxQsODCa.js → icon-component-Db_44zX2.js} +2 -2
- package/dist/{input-C71fsEVP.js → input-CUpmfQgR.js} +24 -24
- package/dist/input-belq5zLm.cjs +1 -0
- package/dist/label-CKObiJEl.js +22 -0
- package/dist/{label-U5GnYvFO.cjs → label-RxaHfl3U.cjs} +1 -1
- package/dist/{toggle-BE4UelY4.js → toggle-DkQSX3ux.js} +5 -5
- package/dist/toggle-v18XjPC4.cjs +1 -0
- package/dist/{tooltip-Bxh10S4Q.js → tooltip-DgWl3klK.js} +1 -1
- package/dist/tooltip-__VfWmJD.cjs +1 -0
- package/dist/ui.css +26 -22
- package/package.json +3 -3
- package/dist/button-DcyXjceS.cjs +0 -1
- package/dist/chip-BCFqRgCq.cjs +0 -1
- package/dist/command-KZ-02POP.cjs +0 -1
- package/dist/icon-component-D5YssRbR.cjs +0 -1
- package/dist/input-B_INrEy1.cjs +0 -1
- package/dist/label-_kG7WBoJ.js +0 -22
- package/dist/toggle-BEGyyGWY.cjs +0 -1
- package/dist/tooltip-BRSR0-4n.cjs +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";const t=require("./jsx-runtime-BuHQgaKs.cjs"),a=require("cmdk"),m=require("./dialog-aYmcf_6q.cjs"),n=require("./index-DoxiiusW.cjs"),p=require("./icon-component-4lyl8wE_.cjs");function r({className:e,...o}){return t.jsxRuntimeExports.jsx(a.Command,{"data-slot":"command",className:n.cn("bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",e),...o})}function u({title:e="Command Palette",description:o="Search for a command to run...",children:s,className:d,showCloseButton:i=!0,...c}){return t.jsxRuntimeExports.jsxs(m.Dialog,{...c,children:[t.jsxRuntimeExports.jsxs(m.DialogHeader,{className:"sr-only",children:[t.jsxRuntimeExports.jsx(m.DialogTitle,{children:e}),t.jsxRuntimeExports.jsx(m.DialogDescription,{children:o})]}),t.jsxRuntimeExports.jsx(m.DialogContent,{className:n.cn("overflow-hidden p-0",d),showCloseButton:i,children:t.jsxRuntimeExports.jsx(r,{className:"[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-semibold [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5",children:s})})]})}function l({className:e,...o}){return t.jsxRuntimeExports.jsxs("div",{"data-slot":"command-input-wrapper",className:"flex h-9 items-center gap-2 border-b px-3",children:[t.jsxRuntimeExports.jsx(p.IconComponent,{iconName:"IconSearch",className:"size-4 shrink-0 opacity-50"}),t.jsxRuntimeExports.jsx(a.Command.Input,{"data-slot":"command-input",className:n.cn("placeholder:text-muted-foreground paragraph-sm flex h-10 w-full rounded-md bg-transparent py-3 outline-hidden disabled:cursor-not-allowed disabled:opacity-50",e),...o})]})}function x({className:e,...o}){return t.jsxRuntimeExports.jsx(a.Command.List,{"data-slot":"command-list",className:n.cn("max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",e),...o})}function g({...e}){return t.jsxRuntimeExports.jsx(a.Command.Empty,{"data-slot":"command-empty",className:"paragraph-sm py-6 text-center",...e})}function h({className:e,...o}){return t.jsxRuntimeExports.jsx(a.Command.Group,{"data-slot":"command-group",className:n.cn("text-foreground [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:paragraph-xs overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:font-semibold",e),...o})}function f({className:e,...o}){return t.jsxRuntimeExports.jsx(a.Command.Separator,{"data-slot":"command-separator",className:n.cn("bg-border -mx-1 h-px",e),...o})}function j({className:e,...o}){return t.jsxRuntimeExports.jsx(a.Command.Item,{"data-slot":"command-item",className:n.cn("data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground paragraph-sm relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",e),...o})}function C({className:e,...o}){return t.jsxRuntimeExports.jsx("span",{"data-slot":"command-shortcut",className:n.cn("text-muted-foreground paragraph-xs ml-auto tracking-widest",e),...o})}exports.Command=r;exports.CommandDialog=u;exports.CommandEmpty=g;exports.CommandGroup=h;exports.CommandInput=l;exports.CommandItem=j;exports.CommandList=x;exports.CommandSeparator=f;exports.CommandShortcut=C;
|
|
@@ -1,73 +1,73 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as e } from "./jsx-runtime-DywqP_6a.js";
|
|
2
2
|
import { Command as r } from "cmdk";
|
|
3
|
-
import { D as c, e as p, h as i, c as l, b as u } from "./dialog-
|
|
4
|
-
import { c as
|
|
5
|
-
import { I as g } from "./icon-component-
|
|
3
|
+
import { D as c, e as p, h as i, c as l, b as u } from "./dialog-BSEMFrzb.js";
|
|
4
|
+
import { c as t } from "./index-CRiPKpXj.js";
|
|
5
|
+
import { I as g } from "./icon-component-Db_44zX2.js";
|
|
6
6
|
function x({
|
|
7
|
-
className:
|
|
8
|
-
...
|
|
7
|
+
className: a,
|
|
8
|
+
...o
|
|
9
9
|
}) {
|
|
10
|
-
return /* @__PURE__ */
|
|
10
|
+
return /* @__PURE__ */ e.jsx(
|
|
11
11
|
r,
|
|
12
12
|
{
|
|
13
13
|
"data-slot": "command",
|
|
14
|
-
className:
|
|
14
|
+
className: t(
|
|
15
15
|
"bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",
|
|
16
|
-
|
|
16
|
+
a
|
|
17
17
|
),
|
|
18
|
-
...
|
|
18
|
+
...o
|
|
19
19
|
}
|
|
20
20
|
);
|
|
21
21
|
}
|
|
22
22
|
function j({
|
|
23
|
-
title:
|
|
24
|
-
description:
|
|
23
|
+
title: a = "Command Palette",
|
|
24
|
+
description: o = "Search for a command to run...",
|
|
25
25
|
children: n,
|
|
26
26
|
className: d,
|
|
27
27
|
showCloseButton: s = !0,
|
|
28
28
|
...m
|
|
29
29
|
}) {
|
|
30
|
-
return /* @__PURE__ */
|
|
31
|
-
/* @__PURE__ */
|
|
32
|
-
/* @__PURE__ */
|
|
33
|
-
/* @__PURE__ */
|
|
30
|
+
return /* @__PURE__ */ e.jsxs(c, { ...m, children: [
|
|
31
|
+
/* @__PURE__ */ e.jsxs(p, { className: "sr-only", children: [
|
|
32
|
+
/* @__PURE__ */ e.jsx(i, { children: a }),
|
|
33
|
+
/* @__PURE__ */ e.jsx(l, { children: o })
|
|
34
34
|
] }),
|
|
35
|
-
/* @__PURE__ */
|
|
35
|
+
/* @__PURE__ */ e.jsx(
|
|
36
36
|
u,
|
|
37
37
|
{
|
|
38
|
-
className:
|
|
38
|
+
className: t("overflow-hidden p-0", d),
|
|
39
39
|
showCloseButton: s,
|
|
40
|
-
children: /* @__PURE__ */
|
|
40
|
+
children: /* @__PURE__ */ e.jsx(x, { className: "[&_[cmdk-group-heading]]:text-muted-foreground **:data-[slot=command-input-wrapper]:h-12 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-semibold [&_[cmdk-group]]:px-2 [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: n })
|
|
41
41
|
}
|
|
42
42
|
)
|
|
43
43
|
] });
|
|
44
44
|
}
|
|
45
45
|
function b({
|
|
46
|
-
className:
|
|
47
|
-
...
|
|
46
|
+
className: a,
|
|
47
|
+
...o
|
|
48
48
|
}) {
|
|
49
|
-
return /* @__PURE__ */
|
|
49
|
+
return /* @__PURE__ */ e.jsxs(
|
|
50
50
|
"div",
|
|
51
51
|
{
|
|
52
52
|
"data-slot": "command-input-wrapper",
|
|
53
53
|
className: "flex h-9 items-center gap-2 border-b px-3",
|
|
54
54
|
children: [
|
|
55
|
-
/* @__PURE__ */
|
|
55
|
+
/* @__PURE__ */ e.jsx(
|
|
56
56
|
g,
|
|
57
57
|
{
|
|
58
58
|
iconName: "IconSearch",
|
|
59
59
|
className: "size-4 shrink-0 opacity-50"
|
|
60
60
|
}
|
|
61
61
|
),
|
|
62
|
-
/* @__PURE__ */
|
|
62
|
+
/* @__PURE__ */ e.jsx(
|
|
63
63
|
r.Input,
|
|
64
64
|
{
|
|
65
65
|
"data-slot": "command-input",
|
|
66
|
-
className:
|
|
67
|
-
"placeholder:text-muted-foreground
|
|
68
|
-
|
|
66
|
+
className: t(
|
|
67
|
+
"placeholder:text-muted-foreground paragraph-sm flex h-10 w-full rounded-md bg-transparent py-3 outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
|
|
68
|
+
a
|
|
69
69
|
),
|
|
70
|
-
...
|
|
70
|
+
...o
|
|
71
71
|
}
|
|
72
72
|
)
|
|
73
73
|
]
|
|
@@ -75,91 +75,91 @@ function b({
|
|
|
75
75
|
);
|
|
76
76
|
}
|
|
77
77
|
function w({
|
|
78
|
-
className:
|
|
79
|
-
...
|
|
78
|
+
className: a,
|
|
79
|
+
...o
|
|
80
80
|
}) {
|
|
81
|
-
return /* @__PURE__ */
|
|
81
|
+
return /* @__PURE__ */ e.jsx(
|
|
82
82
|
r.List,
|
|
83
83
|
{
|
|
84
84
|
"data-slot": "command-list",
|
|
85
|
-
className:
|
|
85
|
+
className: t(
|
|
86
86
|
"max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",
|
|
87
|
-
|
|
87
|
+
a
|
|
88
88
|
),
|
|
89
|
-
...
|
|
89
|
+
...o
|
|
90
90
|
}
|
|
91
91
|
);
|
|
92
92
|
}
|
|
93
93
|
function C({
|
|
94
|
-
...
|
|
94
|
+
...a
|
|
95
95
|
}) {
|
|
96
|
-
return /* @__PURE__ */
|
|
96
|
+
return /* @__PURE__ */ e.jsx(
|
|
97
97
|
r.Empty,
|
|
98
98
|
{
|
|
99
99
|
"data-slot": "command-empty",
|
|
100
|
-
className: "
|
|
101
|
-
...
|
|
100
|
+
className: "paragraph-sm py-6 text-center",
|
|
101
|
+
...a
|
|
102
102
|
}
|
|
103
103
|
);
|
|
104
104
|
}
|
|
105
105
|
function y({
|
|
106
|
-
className:
|
|
107
|
-
...
|
|
106
|
+
className: a,
|
|
107
|
+
...o
|
|
108
108
|
}) {
|
|
109
|
-
return /* @__PURE__ */
|
|
109
|
+
return /* @__PURE__ */ e.jsx(
|
|
110
110
|
r.Group,
|
|
111
111
|
{
|
|
112
112
|
"data-slot": "command-group",
|
|
113
|
-
className:
|
|
114
|
-
"text-foreground [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:
|
|
115
|
-
|
|
113
|
+
className: t(
|
|
114
|
+
"text-foreground [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group-heading]]:paragraph-xs overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:font-semibold",
|
|
115
|
+
a
|
|
116
116
|
),
|
|
117
|
-
...
|
|
117
|
+
...o
|
|
118
118
|
}
|
|
119
119
|
);
|
|
120
120
|
}
|
|
121
121
|
function N({
|
|
122
|
-
className:
|
|
123
|
-
...
|
|
122
|
+
className: a,
|
|
123
|
+
...o
|
|
124
124
|
}) {
|
|
125
|
-
return /* @__PURE__ */
|
|
125
|
+
return /* @__PURE__ */ e.jsx(
|
|
126
126
|
r.Separator,
|
|
127
127
|
{
|
|
128
128
|
"data-slot": "command-separator",
|
|
129
|
-
className:
|
|
130
|
-
...
|
|
129
|
+
className: t("bg-border -mx-1 h-px", a),
|
|
130
|
+
...o
|
|
131
131
|
}
|
|
132
132
|
);
|
|
133
133
|
}
|
|
134
134
|
function D({
|
|
135
|
-
className:
|
|
136
|
-
...
|
|
135
|
+
className: a,
|
|
136
|
+
...o
|
|
137
137
|
}) {
|
|
138
|
-
return /* @__PURE__ */
|
|
138
|
+
return /* @__PURE__ */ e.jsx(
|
|
139
139
|
r.Item,
|
|
140
140
|
{
|
|
141
141
|
"data-slot": "command-item",
|
|
142
|
-
className:
|
|
143
|
-
"data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground
|
|
144
|
-
|
|
142
|
+
className: t(
|
|
143
|
+
"data-[selected=true]:bg-accent data-[selected=true]:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground paragraph-sm relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
144
|
+
a
|
|
145
145
|
),
|
|
146
|
-
...
|
|
146
|
+
...o
|
|
147
147
|
}
|
|
148
148
|
);
|
|
149
149
|
}
|
|
150
150
|
function I({
|
|
151
|
-
className:
|
|
152
|
-
...
|
|
151
|
+
className: a,
|
|
152
|
+
...o
|
|
153
153
|
}) {
|
|
154
|
-
return /* @__PURE__ */
|
|
154
|
+
return /* @__PURE__ */ e.jsx(
|
|
155
155
|
"span",
|
|
156
156
|
{
|
|
157
157
|
"data-slot": "command-shortcut",
|
|
158
|
-
className:
|
|
159
|
-
"text-muted-foreground
|
|
160
|
-
|
|
158
|
+
className: t(
|
|
159
|
+
"text-muted-foreground paragraph-xs ml-auto tracking-widest",
|
|
160
|
+
a
|
|
161
161
|
),
|
|
162
|
-
...
|
|
162
|
+
...o
|
|
163
163
|
}
|
|
164
164
|
);
|
|
165
165
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../jsx-runtime-BuHQgaKs.cjs"),c=require("@radix-ui/react-accordion"),i=require("../index-DoxiiusW.cjs"),a=require("../icon-component-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("../jsx-runtime-BuHQgaKs.cjs"),c=require("@radix-ui/react-accordion"),i=require("../index-DoxiiusW.cjs"),a=require("../icon-component-4lyl8wE_.cjs");function d(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const s=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,s.get?s:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const r=d(c);function u({...e}){return o.jsxRuntimeExports.jsx(r.Root,{"data-slot":"accordion",...e})}function l({className:e,...t}){return o.jsxRuntimeExports.jsx(r.Item,{"data-slot":"accordion-item",className:i.cn("border-b last:border-b-0",e),...t})}function m({className:e,children:t,...n}){return o.jsxRuntimeExports.jsx(r.Header,{className:"flex",children:o.jsxRuntimeExports.jsxs(r.Trigger,{"data-slot":"accordion-trigger",className:i.cn("focus-visible:border-ring focus-visible:ring-ring/50 paragraph-sm flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left font-semibold transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",e),...n,children:[t,o.jsxRuntimeExports.jsx(a.IconComponent,{iconName:"IconChevronDown",className:"text-muted-foreground pointer-events-none size-4 shrink-0 translate-y-0.5 transition-transform duration-200"})]})})}function p({className:e,children:t,...n}){return o.jsxRuntimeExports.jsx(r.Content,{"data-slot":"accordion-content",className:"data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down paragraph-sm overflow-hidden",...n,children:o.jsxRuntimeExports.jsx("div",{className:i.cn("pt-0 pb-4",e),children:t})})}exports.Accordion=u;exports.AccordionContent=p;exports.AccordionItem=l;exports.AccordionTrigger=m;
|
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as e } from "../jsx-runtime-DywqP_6a.js";
|
|
2
2
|
import * as n from "@radix-ui/react-accordion";
|
|
3
3
|
import { c as a } from "../index-CRiPKpXj.js";
|
|
4
|
-
import { I as i } from "../icon-component-
|
|
4
|
+
import { I as i } from "../icon-component-Db_44zX2.js";
|
|
5
5
|
function l({
|
|
6
6
|
...o
|
|
7
7
|
}) {
|
|
8
|
-
return /* @__PURE__ */
|
|
8
|
+
return /* @__PURE__ */ e.jsx(n.Root, { "data-slot": "accordion", ...o });
|
|
9
9
|
}
|
|
10
10
|
function m({
|
|
11
11
|
className: o,
|
|
12
|
-
...
|
|
12
|
+
...t
|
|
13
13
|
}) {
|
|
14
|
-
return /* @__PURE__ */
|
|
14
|
+
return /* @__PURE__ */ e.jsx(
|
|
15
15
|
n.Item,
|
|
16
16
|
{
|
|
17
17
|
"data-slot": "accordion-item",
|
|
18
18
|
className: a("border-b last:border-b-0", o),
|
|
19
|
-
...
|
|
19
|
+
...t
|
|
20
20
|
}
|
|
21
21
|
);
|
|
22
22
|
}
|
|
23
23
|
function p({
|
|
24
24
|
className: o,
|
|
25
|
-
children:
|
|
25
|
+
children: t,
|
|
26
26
|
...r
|
|
27
27
|
}) {
|
|
28
|
-
return /* @__PURE__ */
|
|
28
|
+
return /* @__PURE__ */ e.jsx(n.Header, { className: "flex", children: /* @__PURE__ */ e.jsxs(
|
|
29
29
|
n.Trigger,
|
|
30
30
|
{
|
|
31
31
|
"data-slot": "accordion-trigger",
|
|
32
32
|
className: a(
|
|
33
|
-
"focus-visible:border-ring focus-visible:ring-ring/50
|
|
33
|
+
"focus-visible:border-ring focus-visible:ring-ring/50 paragraph-sm flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left font-semibold transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
|
|
34
34
|
o
|
|
35
35
|
),
|
|
36
36
|
...r,
|
|
37
37
|
children: [
|
|
38
|
-
|
|
39
|
-
/* @__PURE__ */
|
|
38
|
+
t,
|
|
39
|
+
/* @__PURE__ */ e.jsx(
|
|
40
40
|
i,
|
|
41
41
|
{
|
|
42
42
|
iconName: "IconChevronDown",
|
|
@@ -49,16 +49,16 @@ function p({
|
|
|
49
49
|
}
|
|
50
50
|
function f({
|
|
51
51
|
className: o,
|
|
52
|
-
children:
|
|
52
|
+
children: t,
|
|
53
53
|
...r
|
|
54
54
|
}) {
|
|
55
|
-
return /* @__PURE__ */
|
|
55
|
+
return /* @__PURE__ */ e.jsx(
|
|
56
56
|
n.Content,
|
|
57
57
|
{
|
|
58
58
|
"data-slot": "accordion-content",
|
|
59
|
-
className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down
|
|
59
|
+
className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down paragraph-sm overflow-hidden",
|
|
60
60
|
...r,
|
|
61
|
-
children: /* @__PURE__ */
|
|
61
|
+
children: /* @__PURE__ */ e.jsx("div", { className: a("pt-0 pb-4", o), children: t })
|
|
62
62
|
}
|
|
63
63
|
);
|
|
64
64
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../jsx-runtime-BuHQgaKs.cjs"),u=require("@radix-ui/react-alert-dialog"),i=require("../button-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("../jsx-runtime-BuHQgaKs.cjs"),u=require("@radix-ui/react-alert-dialog"),i=require("../button-U1793OQ4.cjs"),l=require("../index-DoxiiusW.cjs");function d(t){const e=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(t){for(const r in t)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(t,r);Object.defineProperty(e,r,n.get?n:{enumerable:!0,get:()=>t[r]})}}return e.default=t,Object.freeze(e)}const o=d(u);function g({...t}){return a.jsxRuntimeExports.jsx(o.Root,{"data-slot":"alert-dialog",...t})}function x({...t}){return a.jsxRuntimeExports.jsx(o.Trigger,{"data-slot":"alert-dialog-trigger",...t})}function s({...t}){return a.jsxRuntimeExports.jsx(o.Portal,{"data-slot":"alert-dialog-portal",...t})}function c({className:t,...e}){return a.jsxRuntimeExports.jsx(o.Overlay,{"data-slot":"alert-dialog-overlay",className:l.cn("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",t),...e})}function m({className:t,...e}){return a.jsxRuntimeExports.jsxs(s,{children:[a.jsxRuntimeExports.jsx(c,{}),a.jsxRuntimeExports.jsx(o.Content,{"data-slot":"alert-dialog-content",className:l.cn("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",t),...e})]})}function f({className:t,...e}){return a.jsxRuntimeExports.jsx("div",{"data-slot":"alert-dialog-header",className:l.cn("flex flex-col gap-2 text-left",t),...e})}function p({className:t,...e}){return a.jsxRuntimeExports.jsx("div",{"data-slot":"alert-dialog-footer",className:l.cn("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",t),...e})}function j({className:t,...e}){return a.jsxRuntimeExports.jsx(o.Title,{"data-slot":"alert-dialog-title",className:l.cn("label-2xl font-semibold",t),...e})}function D({className:t,...e}){return a.jsxRuntimeExports.jsx(o.Description,{"data-slot":"alert-dialog-description",className:l.cn("text-muted-foreground paragraph-md",t),...e})}function A({className:t,...e}){return a.jsxRuntimeExports.jsx(o.Action,{className:l.cn(i.buttonStyles(),t),...e})}function b({className:t,...e}){return a.jsxRuntimeExports.jsx(o.Cancel,{className:l.cn(i.buttonStyles({variant:"outline"}),t),...e})}exports.AlertDialog=g;exports.AlertDialogAction=A;exports.AlertDialogCancel=b;exports.AlertDialogContent=m;exports.AlertDialogDescription=D;exports.AlertDialogFooter=p;exports.AlertDialogHeader=f;exports.AlertDialogOverlay=c;exports.AlertDialogPortal=s;exports.AlertDialogTitle=j;exports.AlertDialogTrigger=x;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as e } from "../jsx-runtime-DywqP_6a.js";
|
|
2
2
|
import * as o from "@radix-ui/react-alert-dialog";
|
|
3
|
-
import { c as r } from "../button-
|
|
3
|
+
import { c as r } from "../button-D8hlW1CJ.js";
|
|
4
4
|
import { c as l } from "../index-CRiPKpXj.js";
|
|
5
5
|
function g({
|
|
6
6
|
...t
|
|
@@ -89,7 +89,7 @@ function p({
|
|
|
89
89
|
o.Title,
|
|
90
90
|
{
|
|
91
91
|
"data-slot": "alert-dialog-title",
|
|
92
|
-
className: l("
|
|
92
|
+
className: l("label-2xl font-semibold", t),
|
|
93
93
|
...a
|
|
94
94
|
}
|
|
95
95
|
);
|
|
@@ -102,7 +102,7 @@ function j({
|
|
|
102
102
|
o.Description,
|
|
103
103
|
{
|
|
104
104
|
"data-slot": "alert-dialog-description",
|
|
105
|
-
className: l("text-muted-foreground
|
|
105
|
+
className: l("text-muted-foreground paragraph-md", t),
|
|
106
106
|
...a
|
|
107
107
|
}
|
|
108
108
|
);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../jsx-runtime-BuHQgaKs.cjs"),n=require("../index-DoxiiusW.cjs"),g=require("../index-C8P6Mn4U.cjs"),d=require("../icon-component-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../jsx-runtime-BuHQgaKs.cjs"),n=require("../index-DoxiiusW.cjs"),g=require("../index-C8P6Mn4U.cjs"),d=require("../icon-component-4lyl8wE_.cjs"),m=g.cva("paragraph-sm text-foreground relative grid w-full grid-cols-[0_1fr] items-start gap-y-2 rounded-2xl px-6 py-6 has-[>svg]:grid-cols-[calc(var(--spacing)*5)_1fr] has-[>svg]:gap-x-3 [&>svg]:size-5 [&>svg]:translate-y-0.5 [&>svg]:text-current",{variants:{variant:{info:"bg-blue-050",success:"bg-success-light",warning:"bg-warning-light",error:"bg-error-light",neutral:"bg-neutral-000"}},defaultVariants:{variant:"neutral"}}),p={info:"IconInfoCircleFilled",success:"IconCircleCheckFilled",warning:"IconAlertTriangleFilled",error:"IconAlertCircleFilled",neutral:"IconHelpCircleFilled"},j={info:"text-blue-800",success:"text-success-main",warning:"text-warning-main",error:"text-error-main",neutral:"text-black"};function f({className:t,title:r,content:i,variant:s="neutral",showIcon:c,iconName:o,children:u,...x}){return e.jsxRuntimeExports.jsxs("div",{"data-slot":"alert",role:"alert",className:n.cn(m({variant:s}),t),...x,children:[c&&s&&e.jsxRuntimeExports.jsx(d.IconComponent,{className:n.cn("max-w-5 min-w-5",j[s]),iconName:o??p[s],size:20}),r&&e.jsxRuntimeExports.jsx(l,{children:e.jsxRuntimeExports.jsx("p",{className:"label-lg font-semibold",children:r})}),i&&e.jsxRuntimeExports.jsx(a,{children:e.jsxRuntimeExports.jsx("p",{className:"paragraph-sm",children:i})}),u]})}function l({className:t,...r}){return e.jsxRuntimeExports.jsx("div",{"data-slot":"alert-title",className:n.cn("label-lg col-start-2 font-semibold",t),...r})}function a({className:t,...r}){return e.jsxRuntimeExports.jsx("div",{"data-slot":"alert-description",className:n.cn("paragraph-sm col-start-2 grid justify-items-start gap-1",t),...r})}exports.Alert=f;exports.AlertDescription=a;exports.AlertTitle=l;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { j as r } from "../jsx-runtime-DywqP_6a.js";
|
|
2
|
-
import { c as
|
|
2
|
+
import { c as t } from "../index-CRiPKpXj.js";
|
|
3
3
|
import { c as g } from "../index-BqtVL8d-.js";
|
|
4
|
-
import { I as m } from "../icon-component-
|
|
4
|
+
import { I as m } from "../icon-component-Db_44zX2.js";
|
|
5
5
|
const d = g(
|
|
6
|
-
"
|
|
6
|
+
"paragraph-sm text-foreground relative grid w-full grid-cols-[0_1fr] items-start gap-y-2 rounded-2xl px-6 py-6 has-[>svg]:grid-cols-[calc(var(--spacing)*5)_1fr] has-[>svg]:gap-x-3 [&>svg]:size-5 [&>svg]:translate-y-0.5 [&>svg]:text-current",
|
|
7
7
|
{
|
|
8
8
|
variants: {
|
|
9
9
|
variant: {
|
|
@@ -18,13 +18,13 @@ const d = g(
|
|
|
18
18
|
variant: "neutral"
|
|
19
19
|
}
|
|
20
20
|
}
|
|
21
|
-
),
|
|
21
|
+
), p = {
|
|
22
22
|
info: "IconInfoCircleFilled",
|
|
23
23
|
success: "IconCircleCheckFilled",
|
|
24
24
|
warning: "IconAlertTriangleFilled",
|
|
25
25
|
error: "IconAlertCircleFilled",
|
|
26
26
|
neutral: "IconHelpCircleFilled"
|
|
27
|
-
},
|
|
27
|
+
}, u = {
|
|
28
28
|
info: "text-blue-800",
|
|
29
29
|
success: "text-success-main",
|
|
30
30
|
warning: "text-warning-main",
|
|
@@ -32,10 +32,10 @@ const d = g(
|
|
|
32
32
|
neutral: "text-black"
|
|
33
33
|
};
|
|
34
34
|
function w({
|
|
35
|
-
className:
|
|
35
|
+
className: a,
|
|
36
36
|
title: e,
|
|
37
37
|
content: l,
|
|
38
|
-
variant:
|
|
38
|
+
variant: s = "neutral",
|
|
39
39
|
showIcon: i,
|
|
40
40
|
iconName: n,
|
|
41
41
|
children: c,
|
|
@@ -46,45 +46,45 @@ function w({
|
|
|
46
46
|
{
|
|
47
47
|
"data-slot": "alert",
|
|
48
48
|
role: "alert",
|
|
49
|
-
className:
|
|
49
|
+
className: t(d({ variant: s }), a),
|
|
50
50
|
...o,
|
|
51
51
|
children: [
|
|
52
|
-
i &&
|
|
52
|
+
i && s && /* @__PURE__ */ r.jsx(
|
|
53
53
|
m,
|
|
54
54
|
{
|
|
55
|
-
className:
|
|
56
|
-
iconName: n ??
|
|
55
|
+
className: t("max-w-5 min-w-5", u[s]),
|
|
56
|
+
iconName: n ?? p[s],
|
|
57
57
|
size: 20
|
|
58
58
|
}
|
|
59
59
|
),
|
|
60
|
-
e && /* @__PURE__ */ r.jsx(
|
|
61
|
-
l && /* @__PURE__ */ r.jsx(f, { children: /* @__PURE__ */ r.jsx("p", { className: "
|
|
60
|
+
e && /* @__PURE__ */ r.jsx(x, { children: /* @__PURE__ */ r.jsx("p", { className: "label-lg font-semibold", children: e }) }),
|
|
61
|
+
l && /* @__PURE__ */ r.jsx(f, { children: /* @__PURE__ */ r.jsx("p", { className: "paragraph-sm", children: l }) }),
|
|
62
62
|
c
|
|
63
63
|
]
|
|
64
64
|
}
|
|
65
65
|
);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function x({ className: a, ...e }) {
|
|
68
68
|
return /* @__PURE__ */ r.jsx(
|
|
69
69
|
"div",
|
|
70
70
|
{
|
|
71
71
|
"data-slot": "alert-title",
|
|
72
|
-
className:
|
|
72
|
+
className: t("label-lg col-start-2 font-semibold", a),
|
|
73
73
|
...e
|
|
74
74
|
}
|
|
75
75
|
);
|
|
76
76
|
}
|
|
77
77
|
function f({
|
|
78
|
-
className:
|
|
78
|
+
className: a,
|
|
79
79
|
...e
|
|
80
80
|
}) {
|
|
81
81
|
return /* @__PURE__ */ r.jsx(
|
|
82
82
|
"div",
|
|
83
83
|
{
|
|
84
84
|
"data-slot": "alert-description",
|
|
85
|
-
className:
|
|
86
|
-
"
|
|
87
|
-
|
|
85
|
+
className: t(
|
|
86
|
+
"paragraph-sm col-start-2 grid justify-items-start gap-1",
|
|
87
|
+
a
|
|
88
88
|
),
|
|
89
89
|
...e
|
|
90
90
|
}
|
|
@@ -93,5 +93,5 @@ function f({
|
|
|
93
93
|
export {
|
|
94
94
|
w as Alert,
|
|
95
95
|
f as AlertDescription,
|
|
96
|
-
|
|
96
|
+
x as AlertTitle
|
|
97
97
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../jsx-runtime-BuHQgaKs.cjs"),i=require("@radix-ui/react-avatar"),n=require("../index-DoxiiusW.cjs");function o(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const l=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,l.get?l:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const s=o(i);function u({className:e,...t}){return r.jsxRuntimeExports.jsx(s.Root,{"data-slot":"avatar",className:n.cn("relative flex size-8 shrink-0 overflow-hidden rounded-full",e),...t})}function c({className:e,...t}){return r.jsxRuntimeExports.jsx(s.Image,{"data-slot":"avatar-image",className:n.cn("aspect-square size-full",e),...t})}function f({className:e,...t}){return r.jsxRuntimeExports.jsx(s.Fallback,{"data-slot":"avatar-fallback",className:n.cn("bg-muted
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("../jsx-runtime-BuHQgaKs.cjs"),i=require("@radix-ui/react-avatar"),n=require("../index-DoxiiusW.cjs");function o(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const l=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,l.get?l:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const s=o(i);function u({className:e,...t}){return r.jsxRuntimeExports.jsx(s.Root,{"data-slot":"avatar",className:n.cn("relative flex size-8 shrink-0 overflow-hidden rounded-full",e),...t})}function c({className:e,...t}){return r.jsxRuntimeExports.jsx(s.Image,{"data-slot":"avatar-image",className:n.cn("aspect-square size-full",e),...t})}function f({className:e,...t}){return r.jsxRuntimeExports.jsx(s.Fallback,{"data-slot":"avatar-fallback",className:n.cn("bg-muted paragraph-sm flex size-full items-center justify-center rounded-full",e),...t})}exports.Avatar=u;exports.AvatarFallback=f;exports.AvatarImage=c;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import * as
|
|
1
|
+
import { j as r } from "../jsx-runtime-DywqP_6a.js";
|
|
2
|
+
import * as e from "@radix-ui/react-avatar";
|
|
3
3
|
import { c as s } from "../index-CRiPKpXj.js";
|
|
4
4
|
function i({
|
|
5
5
|
className: a,
|
|
6
6
|
...t
|
|
7
7
|
}) {
|
|
8
|
-
return /* @__PURE__ */
|
|
9
|
-
|
|
8
|
+
return /* @__PURE__ */ r.jsx(
|
|
9
|
+
e.Root,
|
|
10
10
|
{
|
|
11
11
|
"data-slot": "avatar",
|
|
12
12
|
className: s(
|
|
@@ -21,8 +21,8 @@ function m({
|
|
|
21
21
|
className: a,
|
|
22
22
|
...t
|
|
23
23
|
}) {
|
|
24
|
-
return /* @__PURE__ */
|
|
25
|
-
|
|
24
|
+
return /* @__PURE__ */ r.jsx(
|
|
25
|
+
e.Image,
|
|
26
26
|
{
|
|
27
27
|
"data-slot": "avatar-image",
|
|
28
28
|
className: s("aspect-square size-full", a),
|
|
@@ -34,12 +34,12 @@ function n({
|
|
|
34
34
|
className: a,
|
|
35
35
|
...t
|
|
36
36
|
}) {
|
|
37
|
-
return /* @__PURE__ */
|
|
38
|
-
|
|
37
|
+
return /* @__PURE__ */ r.jsx(
|
|
38
|
+
e.Fallback,
|
|
39
39
|
{
|
|
40
40
|
"data-slot": "avatar-fallback",
|
|
41
41
|
className: s(
|
|
42
|
-
"bg-muted
|
|
42
|
+
"bg-muted paragraph-sm flex size-full items-center justify-center rounded-full",
|
|
43
43
|
a
|
|
44
44
|
),
|
|
45
45
|
...t
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../badge-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../badge-DuEEk3J_.cjs");exports.Badge=e.Badge;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../jsx-runtime-BuHQgaKs.cjs"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../../jsx-runtime-BuHQgaKs.cjs"),q=require("../../badge-DuEEk3J_.cjs"),i=require("../../card-BJMc0row.cjs"),j=require("../../icon-component-4lyl8wE_.cjs"),u=require("../../tooltip-__VfWmJD.cjs"),n=require("../../index-DoxiiusW.cjs"),w=require("../../index-C8P6Mn4U.cjs"),y=require("react"),z=w.cva("focus-visible:border-ring focus-visible:ring-ring/50 transition-[color,box-shadow] focus-visible:ring-[3px]"),g=y.forwardRef(({className:h,isActive:s,title:m,text:d,helperText:p,badgeText:l,disabled:r,badgeVariant:f,badgeSize:R="xs",iconName:o,iconText:a,tooltipIconName:b="IconHelpCircleFilled",tooltipText:t,tooltipTitle:c,tooltipSide:C,tooltipSideOffset:E,tooltipAlign:N,children:v,...x},I)=>e.jsxRuntimeExports.jsxs(i.Card,{ref:I,className:n.cn(z({className:h}),{"bg-blue-050 border-blue-950":s,"border-neutral-100 bg-neutral-100":r,"cursor-pointer lg:active:bg-blue-100":x.onClick&&s&&!r,"lg:active:bg-blue-050 cursor-pointer":x.onClick&&!s&&!r}),role:"button",tabIndex:0,...x,children:[l||o||a?e.jsxRuntimeExports.jsxs(i.CardHeader,{className:"flex items-center justify-between gap-2",children:[o||a?e.jsxRuntimeExports.jsx("div",{className:n.cn("rounded-full p-1",{"bg-neutral-000 text-muted-foreground":!s,"bg-white text-blue-800":s,"bg-white text-neutral-700":r}),children:e.jsxRuntimeExports.jsx(j.IconComponent,{iconName:o,iconText:a,size:20})}):null,(l||t)&&e.jsxRuntimeExports.jsxs("div",{className:"flex items-center gap-2",children:[l?e.jsxRuntimeExports.jsx(q.Badge,{variant:f,size:R,weight:"semibold",className:n.cn({"opacity-50":r}),children:l}):null,t&&e.jsxRuntimeExports.jsxs(u.Tooltip,{children:[e.jsxRuntimeExports.jsx(u.TooltipTrigger,{children:e.jsxRuntimeExports.jsx(j.IconComponent,{iconName:b??"IconHelpCircleFilled",size:20,className:"z-10 min-h-5 min-w-5"})}),e.jsxRuntimeExports.jsx(u.TooltipContent,{side:C,sideOffset:E,align:N,children:c||t&&e.jsxRuntimeExports.jsxs("div",{className:"text-neutral-1000 flex flex-col gap-1",children:[c&&e.jsxRuntimeExports.jsx("p",{className:"paragraph-md font-semibold",children:c}),t&&e.jsxRuntimeExports.jsx("p",{className:"paragraph-md",children:t})]})})]})]})]}):null,e.jsxRuntimeExports.jsxs(i.CardContent,{className:"flex flex-col gap-1",children:[m?e.jsxRuntimeExports.jsx("p",{className:n.cn("text-foreground label-xl font-semibold",{"text-neutral-700":r}),children:m}):null,d?e.jsxRuntimeExports.jsx("p",{className:n.cn("text-muted-foreground paragraph-md",{"text-neutral-700":r}),children:d}):null,v]}),p?e.jsxRuntimeExports.jsx(i.CardFooter,{children:e.jsxRuntimeExports.jsx("p",{className:n.cn("paragraph-sm text-neutral-800",{"text-neutral-700":r}),children:p})}):null]}));g.displayName="InteractiveCard";const F=g;exports.InteractiveCard=F;
|