@motiadev/ui 0.14.0-beta.165-454838 → 0.14.0-beta.165-210612
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/components/ui/background-effect.d.ts +7 -4
- package/dist/components/ui/background-effect.d.ts.map +1 -1
- package/dist/components/ui/background-effect.js +35 -0
- package/dist/components/ui/background-effect.js.map +1 -0
- package/dist/components/ui/badge.d.ts +11 -8
- package/dist/components/ui/badge.d.ts.map +1 -1
- package/dist/components/ui/badge.js +61 -0
- package/dist/components/ui/badge.js.map +1 -0
- package/dist/components/ui/breadcrumb.d.ts +24 -20
- package/dist/components/ui/breadcrumb.d.ts.map +1 -1
- package/dist/components/ui/breadcrumb.js +176 -0
- package/dist/components/ui/breadcrumb.js.map +1 -0
- package/dist/components/ui/button.d.ts +14 -9
- package/dist/components/ui/button.d.ts.map +1 -1
- package/dist/components/ui/button.js +92 -0
- package/dist/components/ui/button.js.map +1 -0
- package/dist/components/ui/checkbox.d.ts +7 -3
- package/dist/components/ui/checkbox.d.ts.map +1 -1
- package/dist/components/ui/checkbox.js +57 -0
- package/dist/components/ui/checkbox.js.map +1 -0
- package/dist/components/ui/collapsible-panel.d.ts +17 -13
- package/dist/components/ui/collapsible-panel.d.ts.map +1 -1
- package/dist/components/ui/collapsible-panel.js +268 -0
- package/dist/components/ui/collapsible-panel.js.map +1 -0
- package/dist/components/ui/container.d.ts +17 -13
- package/dist/components/ui/container.d.ts.map +1 -1
- package/dist/components/ui/container.js +155 -0
- package/dist/components/ui/container.js.map +1 -0
- package/dist/components/ui/dropdown-menu.d.ts +23 -21
- package/dist/components/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/components/ui/dropdown-menu.js +482 -0
- package/dist/components/ui/dropdown-menu.js.map +1 -0
- package/dist/components/ui/empty.d.ts +34 -10
- package/dist/components/ui/empty.d.ts.map +1 -1
- package/dist/components/ui/empty.js +243 -0
- package/dist/components/ui/empty.js.map +1 -0
- package/dist/components/ui/input.d.ts +12 -8
- package/dist/components/ui/input.d.ts.map +1 -1
- package/dist/components/ui/input.js +70 -0
- package/dist/components/ui/input.js.map +1 -0
- package/dist/components/ui/label.d.ts +7 -3
- package/dist/components/ui/label.d.ts.map +1 -1
- package/dist/components/ui/label.js +47 -0
- package/dist/components/ui/label.js.map +1 -0
- package/dist/components/ui/level-dot.d.ts +7 -3
- package/dist/components/ui/level-dot.d.ts.map +1 -1
- package/dist/components/ui/level-dot.js +39 -0
- package/dist/components/ui/level-dot.js.map +1 -0
- package/dist/components/ui/panel.d.ts +32 -28
- package/dist/components/ui/panel.d.ts.map +1 -1
- package/dist/components/ui/panel.js +292 -0
- package/dist/components/ui/panel.js.map +1 -0
- package/dist/components/ui/select.d.ts +11 -13
- package/dist/components/ui/select.d.ts.map +1 -1
- package/dist/components/ui/select.js +369 -0
- package/dist/components/ui/select.js.map +1 -0
- package/dist/components/ui/side-panel-detail.d.ts +8 -5
- package/dist/components/ui/side-panel-detail.d.ts.map +1 -1
- package/dist/components/ui/side-panel-detail.js +62 -0
- package/dist/components/ui/side-panel-detail.js.map +1 -0
- package/dist/components/ui/side-panel.d.ts +18 -18
- package/dist/components/ui/side-panel.d.ts.map +1 -1
- package/dist/components/ui/side-panel.js +142 -0
- package/dist/components/ui/side-panel.js.map +1 -0
- package/dist/components/ui/sidebar.d.ts +12 -8
- package/dist/components/ui/sidebar.d.ts.map +1 -1
- package/dist/components/ui/sidebar.js +157 -0
- package/dist/components/ui/sidebar.js.map +1 -0
- package/dist/components/ui/table.d.ts +5 -4
- package/dist/components/ui/table.d.ts.map +1 -1
- package/dist/components/ui/table.js +317 -0
- package/dist/components/ui/table.js.map +1 -0
- package/dist/components/ui/tabs.d.ts +10 -6
- package/dist/components/ui/tabs.d.ts.map +1 -1
- package/dist/components/ui/tabs.js +158 -0
- package/dist/components/ui/tabs.js.map +1 -0
- package/dist/components/ui/textarea.d.ts +6 -2
- package/dist/components/ui/textarea.d.ts.map +1 -1
- package/dist/components/ui/textarea.js +46 -0
- package/dist/components/ui/textarea.js.map +1 -0
- package/dist/components/ui/tooltip.d.ts +10 -5
- package/dist/components/ui/tooltip.d.ts.map +1 -1
- package/dist/components/ui/tooltip.js +58 -0
- package/dist/components/ui/tooltip.js.map +1 -0
- package/dist/index.d.ts +24 -24
- package/dist/index.js +25 -11031
- package/dist/lib/utils.d.ts +6 -2
- package/dist/lib/utils.d.ts.map +1 -1
- package/dist/lib/utils.js +11 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/stores/use-theme-store.d.ts +22 -17
- package/dist/stores/use-theme-store.d.ts.map +1 -1
- package/dist/stores/use-theme-store.js +30 -0
- package/dist/stores/use-theme-store.js.map +1 -0
- package/dist/styles.css +2653 -0
- package/dist/styles.css.map +1 -0
- package/dist/styles.js +0 -0
- package/package.json +21 -23
- package/dist/components/ui/background-effect.stories.d.ts +0 -12
- package/dist/components/ui/background-effect.stories.d.ts.map +0 -1
- package/dist/components/ui/badge.stories.d.ts +0 -19
- package/dist/components/ui/badge.stories.d.ts.map +0 -1
- package/dist/components/ui/breadcrumb.stories.d.ts +0 -21
- package/dist/components/ui/breadcrumb.stories.d.ts.map +0 -1
- package/dist/components/ui/button.stories.d.ts +0 -25
- package/dist/components/ui/button.stories.d.ts.map +0 -1
- package/dist/components/ui/checkbox.stories.d.ts +0 -25
- package/dist/components/ui/checkbox.stories.d.ts.map +0 -1
- package/dist/components/ui/collapsible-panel.stories.d.ts +0 -12
- package/dist/components/ui/collapsible-panel.stories.d.ts.map +0 -1
- package/dist/components/ui/container.stories.d.ts +0 -10
- package/dist/components/ui/container.stories.d.ts.map +0 -1
- package/dist/components/ui/dropdown-menu.stories.d.ts +0 -18
- package/dist/components/ui/dropdown-menu.stories.d.ts.map +0 -1
- package/dist/components/ui/input.stories.d.ts +0 -23
- package/dist/components/ui/input.stories.d.ts.map +0 -1
- package/dist/components/ui/label.stories.d.ts +0 -17
- package/dist/components/ui/label.stories.d.ts.map +0 -1
- package/dist/components/ui/level-dot.stories.d.ts +0 -19
- package/dist/components/ui/level-dot.stories.d.ts.map +0 -1
- package/dist/components/ui/panel.stories.d.ts +0 -24
- package/dist/components/ui/panel.stories.d.ts.map +0 -1
- package/dist/components/ui/select.stories.d.ts +0 -18
- package/dist/components/ui/select.stories.d.ts.map +0 -1
- package/dist/components/ui/side-panel-detail.stories.d.ts +0 -12
- package/dist/components/ui/side-panel-detail.stories.d.ts.map +0 -1
- package/dist/components/ui/side-panel.stories.d.ts +0 -13
- package/dist/components/ui/side-panel.stories.d.ts.map +0 -1
- package/dist/components/ui/sidebar.stories.d.ts +0 -14
- package/dist/components/ui/sidebar.stories.d.ts.map +0 -1
- package/dist/components/ui/table.stories.d.ts +0 -18
- package/dist/components/ui/table.stories.d.ts.map +0 -1
- package/dist/components/ui/tabs.stories.d.ts +0 -16
- package/dist/components/ui/tabs.stories.d.ts.map +0 -1
- package/dist/components/ui/textarea.stories.d.ts +0 -21
- package/dist/components/ui/textarea.stories.d.ts.map +0 -1
- package/dist/components/ui/tooltip.stories.d.ts +0 -21
- package/dist/components/ui/tooltip.stories.d.ts.map +0 -1
- package/dist/index.cjs +0 -122
- package/dist/index.d.ts.map +0 -1
- package/dist/ui.css +0 -1
|
@@ -0,0 +1,369 @@
|
|
|
1
|
+
import { cn } from "../../lib/utils.js";
|
|
2
|
+
import { c } from "react/compiler-runtime";
|
|
3
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
|
+
import { Check, ChevronDown, ChevronUp } from "lucide-react";
|
|
5
|
+
import * as React$1 from "react";
|
|
6
|
+
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
7
|
+
|
|
8
|
+
//#region src/components/ui/select.tsx
|
|
9
|
+
const Select = SelectPrimitive.Root;
|
|
10
|
+
const SelectGroup = SelectPrimitive.Group;
|
|
11
|
+
const SelectValue = SelectPrimitive.Value;
|
|
12
|
+
const SelectTrigger = React$1.forwardRef((t0, ref) => {
|
|
13
|
+
const $ = c(13);
|
|
14
|
+
if ($[0] !== "7558ea93396792fd0b2c0cde73c662fdbfcdbc0d323b3b63f0daa9d9121f355a") {
|
|
15
|
+
for (let $i = 0; $i < 13; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
16
|
+
$[0] = "7558ea93396792fd0b2c0cde73c662fdbfcdbc0d323b3b63f0daa9d9121f355a";
|
|
17
|
+
}
|
|
18
|
+
let children;
|
|
19
|
+
let className;
|
|
20
|
+
let props;
|
|
21
|
+
if ($[1] !== t0) {
|
|
22
|
+
({className, children, ...props} = t0);
|
|
23
|
+
$[1] = t0;
|
|
24
|
+
$[2] = children;
|
|
25
|
+
$[3] = className;
|
|
26
|
+
$[4] = props;
|
|
27
|
+
} else {
|
|
28
|
+
children = $[2];
|
|
29
|
+
className = $[3];
|
|
30
|
+
props = $[4];
|
|
31
|
+
}
|
|
32
|
+
let t1;
|
|
33
|
+
if ($[5] !== className) {
|
|
34
|
+
t1 = cn("flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1", className);
|
|
35
|
+
$[5] = className;
|
|
36
|
+
$[6] = t1;
|
|
37
|
+
} else t1 = $[6];
|
|
38
|
+
let t2;
|
|
39
|
+
if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
|
|
40
|
+
t2 = /* @__PURE__ */ jsx(SelectPrimitive.Icon, {
|
|
41
|
+
asChild: true,
|
|
42
|
+
children: /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4 opacity-50" })
|
|
43
|
+
});
|
|
44
|
+
$[7] = t2;
|
|
45
|
+
} else t2 = $[7];
|
|
46
|
+
let t3;
|
|
47
|
+
if ($[8] !== children || $[9] !== props || $[10] !== ref || $[11] !== t1) {
|
|
48
|
+
t3 = /* @__PURE__ */ jsxs(SelectPrimitive.Trigger, {
|
|
49
|
+
ref,
|
|
50
|
+
className: t1,
|
|
51
|
+
...props,
|
|
52
|
+
children: [children, t2]
|
|
53
|
+
});
|
|
54
|
+
$[8] = children;
|
|
55
|
+
$[9] = props;
|
|
56
|
+
$[10] = ref;
|
|
57
|
+
$[11] = t1;
|
|
58
|
+
$[12] = t3;
|
|
59
|
+
} else t3 = $[12];
|
|
60
|
+
return t3;
|
|
61
|
+
});
|
|
62
|
+
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
63
|
+
const SelectScrollUpButton = React$1.forwardRef((t0, ref) => {
|
|
64
|
+
const $ = c(11);
|
|
65
|
+
if ($[0] !== "7558ea93396792fd0b2c0cde73c662fdbfcdbc0d323b3b63f0daa9d9121f355a") {
|
|
66
|
+
for (let $i = 0; $i < 11; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
67
|
+
$[0] = "7558ea93396792fd0b2c0cde73c662fdbfcdbc0d323b3b63f0daa9d9121f355a";
|
|
68
|
+
}
|
|
69
|
+
let className;
|
|
70
|
+
let props;
|
|
71
|
+
if ($[1] !== t0) {
|
|
72
|
+
({className, ...props} = t0);
|
|
73
|
+
$[1] = t0;
|
|
74
|
+
$[2] = className;
|
|
75
|
+
$[3] = props;
|
|
76
|
+
} else {
|
|
77
|
+
className = $[2];
|
|
78
|
+
props = $[3];
|
|
79
|
+
}
|
|
80
|
+
let t1;
|
|
81
|
+
if ($[4] !== className) {
|
|
82
|
+
t1 = cn("flex cursor-default items-center justify-center py-1", className);
|
|
83
|
+
$[4] = className;
|
|
84
|
+
$[5] = t1;
|
|
85
|
+
} else t1 = $[5];
|
|
86
|
+
let t2;
|
|
87
|
+
if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
|
|
88
|
+
t2 = /* @__PURE__ */ jsx(ChevronUp, { className: "h-4 w-4" });
|
|
89
|
+
$[6] = t2;
|
|
90
|
+
} else t2 = $[6];
|
|
91
|
+
let t3;
|
|
92
|
+
if ($[7] !== props || $[8] !== ref || $[9] !== t1) {
|
|
93
|
+
t3 = /* @__PURE__ */ jsx(SelectPrimitive.ScrollUpButton, {
|
|
94
|
+
ref,
|
|
95
|
+
className: t1,
|
|
96
|
+
...props,
|
|
97
|
+
children: t2
|
|
98
|
+
});
|
|
99
|
+
$[7] = props;
|
|
100
|
+
$[8] = ref;
|
|
101
|
+
$[9] = t1;
|
|
102
|
+
$[10] = t3;
|
|
103
|
+
} else t3 = $[10];
|
|
104
|
+
return t3;
|
|
105
|
+
});
|
|
106
|
+
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
107
|
+
const SelectScrollDownButton = React$1.forwardRef((t0, ref) => {
|
|
108
|
+
const $ = c(11);
|
|
109
|
+
if ($[0] !== "7558ea93396792fd0b2c0cde73c662fdbfcdbc0d323b3b63f0daa9d9121f355a") {
|
|
110
|
+
for (let $i = 0; $i < 11; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
111
|
+
$[0] = "7558ea93396792fd0b2c0cde73c662fdbfcdbc0d323b3b63f0daa9d9121f355a";
|
|
112
|
+
}
|
|
113
|
+
let className;
|
|
114
|
+
let props;
|
|
115
|
+
if ($[1] !== t0) {
|
|
116
|
+
({className, ...props} = t0);
|
|
117
|
+
$[1] = t0;
|
|
118
|
+
$[2] = className;
|
|
119
|
+
$[3] = props;
|
|
120
|
+
} else {
|
|
121
|
+
className = $[2];
|
|
122
|
+
props = $[3];
|
|
123
|
+
}
|
|
124
|
+
let t1;
|
|
125
|
+
if ($[4] !== className) {
|
|
126
|
+
t1 = cn("flex cursor-default items-center justify-center py-1", className);
|
|
127
|
+
$[4] = className;
|
|
128
|
+
$[5] = t1;
|
|
129
|
+
} else t1 = $[5];
|
|
130
|
+
let t2;
|
|
131
|
+
if ($[6] === Symbol.for("react.memo_cache_sentinel")) {
|
|
132
|
+
t2 = /* @__PURE__ */ jsx(ChevronDown, { className: "h-4 w-4" });
|
|
133
|
+
$[6] = t2;
|
|
134
|
+
} else t2 = $[6];
|
|
135
|
+
let t3;
|
|
136
|
+
if ($[7] !== props || $[8] !== ref || $[9] !== t1) {
|
|
137
|
+
t3 = /* @__PURE__ */ jsx(SelectPrimitive.ScrollDownButton, {
|
|
138
|
+
ref,
|
|
139
|
+
className: t1,
|
|
140
|
+
...props,
|
|
141
|
+
children: t2
|
|
142
|
+
});
|
|
143
|
+
$[7] = props;
|
|
144
|
+
$[8] = ref;
|
|
145
|
+
$[9] = t1;
|
|
146
|
+
$[10] = t3;
|
|
147
|
+
} else t3 = $[10];
|
|
148
|
+
return t3;
|
|
149
|
+
});
|
|
150
|
+
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
151
|
+
const SelectContent = React$1.forwardRef((t0, ref) => {
|
|
152
|
+
const $ = c(22);
|
|
153
|
+
if ($[0] !== "7558ea93396792fd0b2c0cde73c662fdbfcdbc0d323b3b63f0daa9d9121f355a") {
|
|
154
|
+
for (let $i = 0; $i < 22; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
155
|
+
$[0] = "7558ea93396792fd0b2c0cde73c662fdbfcdbc0d323b3b63f0daa9d9121f355a";
|
|
156
|
+
}
|
|
157
|
+
let children;
|
|
158
|
+
let className;
|
|
159
|
+
let props;
|
|
160
|
+
let t1;
|
|
161
|
+
if ($[1] !== t0) {
|
|
162
|
+
({className, children, position: t1, ...props} = t0);
|
|
163
|
+
$[1] = t0;
|
|
164
|
+
$[2] = children;
|
|
165
|
+
$[3] = className;
|
|
166
|
+
$[4] = props;
|
|
167
|
+
$[5] = t1;
|
|
168
|
+
} else {
|
|
169
|
+
children = $[2];
|
|
170
|
+
className = $[3];
|
|
171
|
+
props = $[4];
|
|
172
|
+
t1 = $[5];
|
|
173
|
+
}
|
|
174
|
+
const position = t1 === void 0 ? "popper" : t1;
|
|
175
|
+
const t2 = position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1";
|
|
176
|
+
let t3;
|
|
177
|
+
if ($[6] !== className || $[7] !== t2) {
|
|
178
|
+
t3 = cn("relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] backdrop-blur-2xl overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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 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-select-content-transform-origin]", t2, className);
|
|
179
|
+
$[6] = className;
|
|
180
|
+
$[7] = t2;
|
|
181
|
+
$[8] = t3;
|
|
182
|
+
} else t3 = $[8];
|
|
183
|
+
let t4;
|
|
184
|
+
if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
|
|
185
|
+
t4 = /* @__PURE__ */ jsx(SelectScrollUpButton, {});
|
|
186
|
+
$[9] = t4;
|
|
187
|
+
} else t4 = $[9];
|
|
188
|
+
const t5 = position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]";
|
|
189
|
+
let t6;
|
|
190
|
+
if ($[10] !== t5) {
|
|
191
|
+
t6 = cn("p-1", t5);
|
|
192
|
+
$[10] = t5;
|
|
193
|
+
$[11] = t6;
|
|
194
|
+
} else t6 = $[11];
|
|
195
|
+
let t7;
|
|
196
|
+
if ($[12] !== children || $[13] !== t6) {
|
|
197
|
+
t7 = /* @__PURE__ */ jsx(SelectPrimitive.Viewport, {
|
|
198
|
+
className: t6,
|
|
199
|
+
children
|
|
200
|
+
});
|
|
201
|
+
$[12] = children;
|
|
202
|
+
$[13] = t6;
|
|
203
|
+
$[14] = t7;
|
|
204
|
+
} else t7 = $[14];
|
|
205
|
+
let t8;
|
|
206
|
+
if ($[15] === Symbol.for("react.memo_cache_sentinel")) {
|
|
207
|
+
t8 = /* @__PURE__ */ jsx(SelectScrollDownButton, {});
|
|
208
|
+
$[15] = t8;
|
|
209
|
+
} else t8 = $[15];
|
|
210
|
+
let t9;
|
|
211
|
+
if ($[16] !== position || $[17] !== props || $[18] !== ref || $[19] !== t3 || $[20] !== t7) {
|
|
212
|
+
t9 = /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs(SelectPrimitive.Content, {
|
|
213
|
+
ref,
|
|
214
|
+
className: t3,
|
|
215
|
+
position,
|
|
216
|
+
...props,
|
|
217
|
+
children: [
|
|
218
|
+
t4,
|
|
219
|
+
t7,
|
|
220
|
+
t8
|
|
221
|
+
]
|
|
222
|
+
}) });
|
|
223
|
+
$[16] = position;
|
|
224
|
+
$[17] = props;
|
|
225
|
+
$[18] = ref;
|
|
226
|
+
$[19] = t3;
|
|
227
|
+
$[20] = t7;
|
|
228
|
+
$[21] = t9;
|
|
229
|
+
} else t9 = $[21];
|
|
230
|
+
return t9;
|
|
231
|
+
});
|
|
232
|
+
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
233
|
+
const SelectLabel = React$1.forwardRef((t0, ref) => {
|
|
234
|
+
const $ = c(10);
|
|
235
|
+
if ($[0] !== "7558ea93396792fd0b2c0cde73c662fdbfcdbc0d323b3b63f0daa9d9121f355a") {
|
|
236
|
+
for (let $i = 0; $i < 10; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
237
|
+
$[0] = "7558ea93396792fd0b2c0cde73c662fdbfcdbc0d323b3b63f0daa9d9121f355a";
|
|
238
|
+
}
|
|
239
|
+
let className;
|
|
240
|
+
let props;
|
|
241
|
+
if ($[1] !== t0) {
|
|
242
|
+
({className, ...props} = t0);
|
|
243
|
+
$[1] = t0;
|
|
244
|
+
$[2] = className;
|
|
245
|
+
$[3] = props;
|
|
246
|
+
} else {
|
|
247
|
+
className = $[2];
|
|
248
|
+
props = $[3];
|
|
249
|
+
}
|
|
250
|
+
let t1;
|
|
251
|
+
if ($[4] !== className) {
|
|
252
|
+
t1 = cn("px-2 py-1.5 text-sm font-semibold", className);
|
|
253
|
+
$[4] = className;
|
|
254
|
+
$[5] = t1;
|
|
255
|
+
} else t1 = $[5];
|
|
256
|
+
let t2;
|
|
257
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
258
|
+
t2 = /* @__PURE__ */ jsx(SelectPrimitive.Label, {
|
|
259
|
+
ref,
|
|
260
|
+
className: t1,
|
|
261
|
+
...props
|
|
262
|
+
});
|
|
263
|
+
$[6] = props;
|
|
264
|
+
$[7] = ref;
|
|
265
|
+
$[8] = t1;
|
|
266
|
+
$[9] = t2;
|
|
267
|
+
} else t2 = $[9];
|
|
268
|
+
return t2;
|
|
269
|
+
});
|
|
270
|
+
SelectLabel.displayName = SelectPrimitive.Label.displayName;
|
|
271
|
+
const SelectItem = React$1.forwardRef((t0, ref) => {
|
|
272
|
+
const $ = c(15);
|
|
273
|
+
if ($[0] !== "7558ea93396792fd0b2c0cde73c662fdbfcdbc0d323b3b63f0daa9d9121f355a") {
|
|
274
|
+
for (let $i = 0; $i < 15; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
275
|
+
$[0] = "7558ea93396792fd0b2c0cde73c662fdbfcdbc0d323b3b63f0daa9d9121f355a";
|
|
276
|
+
}
|
|
277
|
+
let children;
|
|
278
|
+
let className;
|
|
279
|
+
let props;
|
|
280
|
+
if ($[1] !== t0) {
|
|
281
|
+
({className, children, ...props} = t0);
|
|
282
|
+
$[1] = t0;
|
|
283
|
+
$[2] = children;
|
|
284
|
+
$[3] = className;
|
|
285
|
+
$[4] = props;
|
|
286
|
+
} else {
|
|
287
|
+
children = $[2];
|
|
288
|
+
className = $[3];
|
|
289
|
+
props = $[4];
|
|
290
|
+
}
|
|
291
|
+
let t1;
|
|
292
|
+
if ($[5] !== className) {
|
|
293
|
+
t1 = cn("relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50", className);
|
|
294
|
+
$[5] = className;
|
|
295
|
+
$[6] = t1;
|
|
296
|
+
} else t1 = $[6];
|
|
297
|
+
let t2;
|
|
298
|
+
if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
|
|
299
|
+
t2 = /* @__PURE__ */ jsx("span", {
|
|
300
|
+
className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center",
|
|
301
|
+
children: /* @__PURE__ */ jsx(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(Check, { className: "h-4 w-4" }) })
|
|
302
|
+
});
|
|
303
|
+
$[7] = t2;
|
|
304
|
+
} else t2 = $[7];
|
|
305
|
+
let t3;
|
|
306
|
+
if ($[8] !== children) {
|
|
307
|
+
t3 = /* @__PURE__ */ jsx(SelectPrimitive.ItemText, { children });
|
|
308
|
+
$[8] = children;
|
|
309
|
+
$[9] = t3;
|
|
310
|
+
} else t3 = $[9];
|
|
311
|
+
let t4;
|
|
312
|
+
if ($[10] !== props || $[11] !== ref || $[12] !== t1 || $[13] !== t3) {
|
|
313
|
+
t4 = /* @__PURE__ */ jsxs(SelectPrimitive.Item, {
|
|
314
|
+
ref,
|
|
315
|
+
className: t1,
|
|
316
|
+
...props,
|
|
317
|
+
children: [t2, t3]
|
|
318
|
+
});
|
|
319
|
+
$[10] = props;
|
|
320
|
+
$[11] = ref;
|
|
321
|
+
$[12] = t1;
|
|
322
|
+
$[13] = t3;
|
|
323
|
+
$[14] = t4;
|
|
324
|
+
} else t4 = $[14];
|
|
325
|
+
return t4;
|
|
326
|
+
});
|
|
327
|
+
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
328
|
+
const SelectSeparator = React$1.forwardRef((t0, ref) => {
|
|
329
|
+
const $ = c(10);
|
|
330
|
+
if ($[0] !== "7558ea93396792fd0b2c0cde73c662fdbfcdbc0d323b3b63f0daa9d9121f355a") {
|
|
331
|
+
for (let $i = 0; $i < 10; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
332
|
+
$[0] = "7558ea93396792fd0b2c0cde73c662fdbfcdbc0d323b3b63f0daa9d9121f355a";
|
|
333
|
+
}
|
|
334
|
+
let className;
|
|
335
|
+
let props;
|
|
336
|
+
if ($[1] !== t0) {
|
|
337
|
+
({className, ...props} = t0);
|
|
338
|
+
$[1] = t0;
|
|
339
|
+
$[2] = className;
|
|
340
|
+
$[3] = props;
|
|
341
|
+
} else {
|
|
342
|
+
className = $[2];
|
|
343
|
+
props = $[3];
|
|
344
|
+
}
|
|
345
|
+
let t1;
|
|
346
|
+
if ($[4] !== className) {
|
|
347
|
+
t1 = cn("-mx-1 my-1 h-px bg-muted", className);
|
|
348
|
+
$[4] = className;
|
|
349
|
+
$[5] = t1;
|
|
350
|
+
} else t1 = $[5];
|
|
351
|
+
let t2;
|
|
352
|
+
if ($[6] !== props || $[7] !== ref || $[8] !== t1) {
|
|
353
|
+
t2 = /* @__PURE__ */ jsx(SelectPrimitive.Separator, {
|
|
354
|
+
ref,
|
|
355
|
+
className: t1,
|
|
356
|
+
...props
|
|
357
|
+
});
|
|
358
|
+
$[6] = props;
|
|
359
|
+
$[7] = ref;
|
|
360
|
+
$[8] = t1;
|
|
361
|
+
$[9] = t2;
|
|
362
|
+
} else t2 = $[9];
|
|
363
|
+
return t2;
|
|
364
|
+
});
|
|
365
|
+
SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
366
|
+
|
|
367
|
+
//#endregion
|
|
368
|
+
export { Select, SelectContent, SelectItem, SelectTrigger, SelectValue };
|
|
369
|
+
//# sourceMappingURL=select.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"select.js","names":["SelectPrimitive","Check","ChevronDown","ChevronUp","React","cn","Select","Root","SelectGroup","Group","SelectValue","Value","SelectTrigger","forwardRef","ElementRef","Trigger","ComponentPropsWithoutRef","t0","ref","$","_c","$i","Symbol","for","children","className","props","t1","t2","t3","displayName","SelectScrollUpButton","ScrollUpButton","SelectScrollDownButton","ScrollDownButton","SelectContent","Content","position","undefined","t4","t5","t6","t7","t8","t9","SelectLabel","Label","SelectItem","Item","SelectSeparator","Separator"],"sources":["../../../src/components/ui/select.tsx"],"sourcesContent":["import * as SelectPrimitive from '@radix-ui/react-select'\nimport { Check, ChevronDown, ChevronUp } from 'lucide-react'\nimport * as React from 'react'\n\nimport { cn } from '../../lib/utils'\n\nconst Select = SelectPrimitive.Root\n\nconst SelectGroup = SelectPrimitive.Group\n\nconst SelectValue = SelectPrimitive.Value\n\nconst SelectTrigger = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Trigger>\n>(({ className, children, ...props }, ref) => (\n <SelectPrimitive.Trigger\n ref={ref}\n className={cn(\n 'flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background data-[placeholder]:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1',\n className,\n )}\n {...props}\n >\n {children}\n <SelectPrimitive.Icon asChild>\n <ChevronDown className=\"h-4 w-4 opacity-50\" />\n </SelectPrimitive.Icon>\n </SelectPrimitive.Trigger>\n))\nSelectTrigger.displayName = SelectPrimitive.Trigger.displayName\n\nconst SelectScrollUpButton = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.ScrollUpButton>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollUpButton>\n>(({ className, ...props }, ref) => (\n <SelectPrimitive.ScrollUpButton\n ref={ref}\n className={cn('flex cursor-default items-center justify-center py-1', className)}\n {...props}\n >\n <ChevronUp className=\"h-4 w-4\" />\n </SelectPrimitive.ScrollUpButton>\n))\nSelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName\n\nconst SelectScrollDownButton = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.ScrollDownButton>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.ScrollDownButton>\n>(({ className, ...props }, ref) => (\n <SelectPrimitive.ScrollDownButton\n ref={ref}\n className={cn('flex cursor-default items-center justify-center py-1', className)}\n {...props}\n >\n <ChevronDown className=\"h-4 w-4\" />\n </SelectPrimitive.ScrollDownButton>\n))\nSelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName\n\nconst SelectContent = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Content>\n>(({ className, children, position = 'popper', ...props }, ref) => (\n <SelectPrimitive.Portal>\n <SelectPrimitive.Content\n ref={ref}\n className={cn(\n 'relative z-50 max-h-[--radix-select-content-available-height] min-w-[8rem] backdrop-blur-2xl overflow-y-auto overflow-x-hidden rounded-md border bg-popover text-popover-foreground shadow-md 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 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-select-content-transform-origin]',\n position === 'popper' &&\n 'data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1',\n className,\n )}\n position={position}\n {...props}\n >\n <SelectScrollUpButton />\n <SelectPrimitive.Viewport\n className={cn(\n 'p-1',\n position === 'popper' &&\n 'h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]',\n )}\n >\n {children}\n </SelectPrimitive.Viewport>\n <SelectScrollDownButton />\n </SelectPrimitive.Content>\n </SelectPrimitive.Portal>\n))\nSelectContent.displayName = SelectPrimitive.Content.displayName\n\nconst SelectLabel = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Label>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Label>\n>(({ className, ...props }, ref) => (\n <SelectPrimitive.Label ref={ref} className={cn('px-2 py-1.5 text-sm font-semibold', className)} {...props} />\n))\nSelectLabel.displayName = SelectPrimitive.Label.displayName\n\nconst SelectItem = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Item>\n>(({ className, children, ...props }, ref) => (\n <SelectPrimitive.Item\n ref={ref}\n className={cn(\n 'relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50',\n className,\n )}\n {...props}\n >\n <span className=\"absolute right-2 flex h-3.5 w-3.5 items-center justify-center\">\n <SelectPrimitive.ItemIndicator>\n <Check className=\"h-4 w-4\" />\n </SelectPrimitive.ItemIndicator>\n </span>\n <SelectPrimitive.ItemText>{children}</SelectPrimitive.ItemText>\n </SelectPrimitive.Item>\n))\nSelectItem.displayName = SelectPrimitive.Item.displayName\n\nconst SelectSeparator = React.forwardRef<\n React.ElementRef<typeof SelectPrimitive.Separator>,\n React.ComponentPropsWithoutRef<typeof SelectPrimitive.Separator>\n>(({ className, ...props }, ref) => (\n <SelectPrimitive.Separator ref={ref} className={cn('-mx-1 my-1 h-px bg-muted', className)} {...props} />\n))\nSelectSeparator.displayName = SelectPrimitive.Separator.displayName\n\nexport {\n Select,\n SelectGroup,\n SelectValue,\n SelectTrigger,\n SelectContent,\n SelectLabel,\n SelectItem,\n SelectSeparator,\n SelectScrollUpButton,\n SelectScrollDownButton,\n}\n"],"mappings":";;;;;;;;AAMA,MAAMM,SAASN,gBAAgBO;AAE/B,MAAMC,cAAcR,gBAAgBS;AAEpC,MAAMC,cAAcV,gBAAgBW;AAEpC,MAAMC,gBAAgBR,QAAMS,YAG1BI,IAAAC,QAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;AAAA,KAAAD,EAAA,OAAA,oEAAA;AAAA,OAAA,IAAAE,KAAA,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B,EAAA;AAAA,QAdvBoB;EAeA;AACFQ,WAAWjB,cAAc9B,gBAAgBgD,KAAKlB;AAE9C,MAAMmB,kBAAkB7C,QAAMS,YAG5BI,IAAAC,QAAA;CAAA,MAAAC,IAAAC,EAAA,GAAA;AAAA,KAAAD,EAAA,OAAA,oEAAA;AAAA,OAAA,IAAAE,KAAA,GAAAA,KAAA,IAAAA,MAAA,EAAAF,GAAAE,MAAAC,OAAAC,IAAA,4BAAA;AAAAJ,IAAA,KAAA;;CAAA,IAAAM;CAAA,IAAAC;AAAA,KAAAP,EAAA,OAAAF,IAAA;AAAC,GAAA,CAAAQ,cAAAC,SAAAT;AAAuBE,IAAA,KAAAF;AAAAE,IAAA,KAAAM;AAAAN,IAAA,KAAAO;QAAA;AAAAD,cAAAN,EAAA;AAAAO,UAAAP,EAAA;;CAAA,IAAAQ;AAAA,KAAAR,EAAA,OAAAM,WAAA;AACwBE,OAAAtB,GAAG,4BAA4BoB,UAAU;AAAAN,IAAA,KAAAM;AAAAN,IAAA,KAAAQ;OAAAA,MAAAR,EAAA;CAAA,IAAAS;AAAA,KAAAT,EAAA,OAAAO,SAAAP,EAAA,OAAAD,OAAAC,EAAA,OAAAQ,IAAA;AAAzFC,OAAA,oBAAA,gBAAA;GAAgCV;GAAgB,WAAAS;GAAyC,GAAMD;IAAS;AAAAP,IAAA,KAAAO;AAAAP,IAAA,KAAAD;AAAAC,IAAA,KAAAQ;AAAAR,IAAA,KAAAS;OAAAA,MAAAT,EAAA;AAAA,QAAxGS;EACA;AACFqB,gBAAgBnB,cAAc9B,gBAAgBkD,UAAUpB"}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
|
-
import { PropsWithChildren } from
|
|
1
|
+
import { PropsWithChildren } from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/components/ui/side-panel-detail.d.ts
|
|
2
4
|
type ItemProps = PropsWithChildren<{
|
|
3
|
-
|
|
5
|
+
title: string;
|
|
4
6
|
}>;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
7
|
+
declare const SidePanelDetail: React.FC<PropsWithChildren>;
|
|
8
|
+
declare const SidePanelDetailItem: React.FC<ItemProps>;
|
|
9
|
+
//#endregion
|
|
10
|
+
export { SidePanelDetail, SidePanelDetailItem };
|
|
8
11
|
//# sourceMappingURL=side-panel-detail.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"side-panel-detail.d.ts","
|
|
1
|
+
{"version":3,"file":"side-panel-detail.d.ts","names":[],"sources":["../../../src/components/ui/side-panel-detail.tsx"],"sourcesContent":[],"mappings":";;;KAEK,SAAA,GAAY;;AAF6B,CAAA,CAAA;AAMjC,cAAA,eAA0B,EAAT,KAAA,CAAM,EAAG,CAAA,iBAAD,CAAA;AAIzB,cAAA,mBAA8B,EAAT,KAAA,CAAM,EAAN,CAAS,SAAD,CAAA"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { c } from "react/compiler-runtime";
|
|
2
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
|
|
4
|
+
//#region src/components/ui/side-panel-detail.tsx
|
|
5
|
+
const SidePanelDetail = (t0) => {
|
|
6
|
+
const $ = c(3);
|
|
7
|
+
if ($[0] !== "4a0de11b1b19fb813ed181f71caf5142f82ef32c94a5d554fa707c7ef35cd632") {
|
|
8
|
+
for (let $i = 0; $i < 3; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
9
|
+
$[0] = "4a0de11b1b19fb813ed181f71caf5142f82ef32c94a5d554fa707c7ef35cd632";
|
|
10
|
+
}
|
|
11
|
+
const { children } = t0;
|
|
12
|
+
let t1;
|
|
13
|
+
if ($[1] !== children) {
|
|
14
|
+
t1 = /* @__PURE__ */ jsx("table", {
|
|
15
|
+
className: "w-full",
|
|
16
|
+
children
|
|
17
|
+
});
|
|
18
|
+
$[1] = children;
|
|
19
|
+
$[2] = t1;
|
|
20
|
+
} else t1 = $[2];
|
|
21
|
+
return t1;
|
|
22
|
+
};
|
|
23
|
+
const SidePanelDetailItem = (t0) => {
|
|
24
|
+
const $ = c(8);
|
|
25
|
+
if ($[0] !== "4a0de11b1b19fb813ed181f71caf5142f82ef32c94a5d554fa707c7ef35cd632") {
|
|
26
|
+
for (let $i = 0; $i < 8; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
27
|
+
$[0] = "4a0de11b1b19fb813ed181f71caf5142f82ef32c94a5d554fa707c7ef35cd632";
|
|
28
|
+
}
|
|
29
|
+
const { title, children } = t0;
|
|
30
|
+
let t1;
|
|
31
|
+
if ($[1] !== title) {
|
|
32
|
+
t1 = /* @__PURE__ */ jsx("td", {
|
|
33
|
+
className: "text-md min-w-[100px] font-medium",
|
|
34
|
+
children: title
|
|
35
|
+
});
|
|
36
|
+
$[1] = title;
|
|
37
|
+
$[2] = t1;
|
|
38
|
+
} else t1 = $[2];
|
|
39
|
+
let t2;
|
|
40
|
+
if ($[3] !== children) {
|
|
41
|
+
t2 = /* @__PURE__ */ jsx("td", {
|
|
42
|
+
className: "py-2 text-muted-foreground font-medium",
|
|
43
|
+
children
|
|
44
|
+
});
|
|
45
|
+
$[3] = children;
|
|
46
|
+
$[4] = t2;
|
|
47
|
+
} else t2 = $[4];
|
|
48
|
+
let t3;
|
|
49
|
+
if ($[5] !== t1 || $[6] !== t2) {
|
|
50
|
+
t3 = /* @__PURE__ */ jsxs("tr", { children: [t1, t2] });
|
|
51
|
+
$[5] = t1;
|
|
52
|
+
$[6] = t2;
|
|
53
|
+
$[7] = t3;
|
|
54
|
+
} else t3 = $[7];
|
|
55
|
+
return t3;
|
|
56
|
+
};
|
|
57
|
+
SidePanelDetail.displayName = "SidePanelDetail";
|
|
58
|
+
SidePanelDetailItem.displayName = "SidePanelDetailItem";
|
|
59
|
+
|
|
60
|
+
//#endregion
|
|
61
|
+
export { SidePanelDetail, SidePanelDetailItem };
|
|
62
|
+
//# sourceMappingURL=side-panel-detail.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"side-panel-detail.js","names":["PropsWithChildren","ItemProps","title","SidePanelDetail","React","FC","t0","$","_c","$i","Symbol","for","children","t1","SidePanelDetailItem","t2","t3","displayName"],"sources":["../../../src/components/ui/side-panel-detail.tsx"],"sourcesContent":["import type { PropsWithChildren } from 'react'\n\ntype ItemProps = PropsWithChildren<{\n title: string\n}>\n\nexport const SidePanelDetail: React.FC<PropsWithChildren> = ({ children }) => {\n return <table className=\"w-full\">{children}</table>\n}\n\nexport const SidePanelDetailItem: React.FC<ItemProps> = ({ title, children }) => {\n return (\n <tr>\n <td className=\"text-md min-w-[100px] font-medium\">{title}</td>\n <td className=\"py-2 text-muted-foreground font-medium\">{children}</td>\n </tr>\n )\n}\n\nSidePanelDetail.displayName = 'SidePanelDetail'\nSidePanelDetailItem.displayName = 'SidePanelDetailItem'\n"],"mappings":";;;;AAMA,MAAaG,mBAA+CG,OAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;AAAA,KAAAD,EAAA,OAAA,oEAAA;AAAA,OAAA,IAAAE,KAAA,GAAAA,KAAA,GAAAA,MAAA,EAAAF,GAAAE,MAAAC,OAAAC,IAAA,4BAAA;AAAAJ,IAAA,KAAA;;CAAC,MAAA,EAAAK,aAAAN;CAAY,IAAAO;AAAA,KAAAN,EAAA,OAAAK,UAAA;AAChEC,OAAA,oBAAA;GAAiB,WAAA;GAAUD;IAAiB;AAAAL,IAAA,KAAAK;AAAAL,IAAA,KAAAM;OAAAA,MAAAN,EAAA;AAAA,QAA5CM;;AAGT,MAAaC,uBAA2CR,OAAA;CAAA,MAAAC,IAAAC,EAAA,EAAA;AAAA,KAAAD,EAAA,OAAA,oEAAA;AAAA,OAAA,IAAAE,KAAA,GAAAA,KAAA,GAAAA,MAAA,EAAAF,GAAAE,MAAAC,OAAAC,IAAA,4BAAA;AAAAJ,IAAA,KAAA;;CAAC,MAAA,EAAAL,OAAAU,aAAAN;CAAmB,IAAAO;AAAA,KAAAN,EAAA,OAAAL,OAAA;AAGtEW,OAAA,oBAAA;GAAc,WAAA;aAAqCX;IAAW;AAAAK,IAAA,KAAAL;AAAAK,IAAA,KAAAM;OAAAA,MAAAN,EAAA;CAAA,IAAAQ;AAAA,KAAAR,EAAA,OAAAK,UAAA;AAC9DG,OAAA,oBAAA;GAAc,WAAA;GAA0CH;IAAc;AAAAL,IAAA,KAAAK;AAAAL,IAAA,KAAAQ;OAAAA,MAAAR,EAAA;CAAA,IAAAS;AAAA,KAAAT,EAAA,OAAAM,MAAAN,EAAA,OAAAQ,IAAA;AAFxEC,OAAA,qBAAA,mBACEH,IACAE,MACG;AAAAR,IAAA,KAAAM;AAAAN,IAAA,KAAAQ;AAAAR,IAAA,KAAAS;OAAAA,MAAAT,EAAA;AAAA,QAHLS;;AAOJb,gBAAgBc,cAAc;AAC9BH,oBAAoBG,cAAc"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { FC } from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
|
|
3
|
+
//#region src/components/ui/side-panel.d.ts
|
|
4
|
+
|
|
5
|
+
interface PanelAction {
|
|
6
|
+
icon: React.ReactNode;
|
|
7
|
+
onClick: () => void;
|
|
8
|
+
label?: string;
|
|
6
9
|
}
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
10
|
+
interface PanelProps {
|
|
11
|
+
title: string;
|
|
12
|
+
subtitle?: string;
|
|
13
|
+
actions?: PanelAction[];
|
|
14
|
+
className?: string;
|
|
15
|
+
children?: React.ReactNode;
|
|
16
|
+
onClose?: () => void;
|
|
11
17
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
actions?: PanelAction[];
|
|
16
|
-
className?: string;
|
|
17
|
-
children?: React.ReactNode;
|
|
18
|
-
onClose?: () => void;
|
|
19
|
-
}
|
|
20
|
-
export declare const SidePanel: FC<PanelProps>;
|
|
18
|
+
declare const SidePanel: FC<PanelProps>;
|
|
19
|
+
//#endregion
|
|
20
|
+
export { SidePanel };
|
|
21
21
|
//# sourceMappingURL=side-panel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"side-panel.d.ts","
|
|
1
|
+
{"version":3,"file":"side-panel.d.ts","names":[],"sources":["../../../src/components/ui/side-panel.tsx"],"sourcesContent":[],"mappings":";;;;UAWiB,WAAA;QACT,KAAA,CAAM;;;;UAKG,UAAA;;;YAGL;;aAEC,KAAA,CAAM;;;cAIN,WAAW,GAAG"}
|
|
@@ -0,0 +1,142 @@
|
|
|
1
|
+
import { cn } from "../../lib/utils.js";
|
|
2
|
+
import { Button } from "./button.js";
|
|
3
|
+
import { c } from "react/compiler-runtime";
|
|
4
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import { X } from "lucide-react";
|
|
6
|
+
|
|
7
|
+
//#region src/components/ui/side-panel.tsx
|
|
8
|
+
const SidePanel = (t0) => {
|
|
9
|
+
const $ = c(29);
|
|
10
|
+
if ($[0] !== "39a5c1c37b367fbe5681e107f52c735a559918c882d3fc91fa9f52f7cdd414a8") {
|
|
11
|
+
for (let $i = 0; $i < 29; $i += 1) $[$i] = Symbol.for("react.memo_cache_sentinel");
|
|
12
|
+
$[0] = "39a5c1c37b367fbe5681e107f52c735a559918c882d3fc91fa9f52f7cdd414a8";
|
|
13
|
+
}
|
|
14
|
+
const { title, subtitle, actions, className, children, onClose } = t0;
|
|
15
|
+
let t1;
|
|
16
|
+
if ($[1] !== className) {
|
|
17
|
+
t1 = cn("bg-muted-foreground/5 text-foreground border-l border-border overflow-hidden w-1/3", className);
|
|
18
|
+
$[1] = className;
|
|
19
|
+
$[2] = t1;
|
|
20
|
+
} else t1 = $[2];
|
|
21
|
+
let t2;
|
|
22
|
+
if ($[3] !== title) {
|
|
23
|
+
t2 = /* @__PURE__ */ jsx("div", {
|
|
24
|
+
className: "text-lg font-semibold text-foreground tracking-[-0.25px] leading-tight",
|
|
25
|
+
children: title
|
|
26
|
+
});
|
|
27
|
+
$[3] = title;
|
|
28
|
+
$[4] = t2;
|
|
29
|
+
} else t2 = $[4];
|
|
30
|
+
let t3;
|
|
31
|
+
if ($[5] !== actions) {
|
|
32
|
+
t3 = actions?.map(_temp);
|
|
33
|
+
$[5] = actions;
|
|
34
|
+
$[6] = t3;
|
|
35
|
+
} else t3 = $[6];
|
|
36
|
+
let t4;
|
|
37
|
+
if ($[7] === Symbol.for("react.memo_cache_sentinel")) {
|
|
38
|
+
t4 = /* @__PURE__ */ jsx(X, { className: "w-4 h-4 text-muted-foreground" });
|
|
39
|
+
$[7] = t4;
|
|
40
|
+
} else t4 = $[7];
|
|
41
|
+
let t5;
|
|
42
|
+
if ($[8] !== onClose) {
|
|
43
|
+
t5 = /* @__PURE__ */ jsx(Button, {
|
|
44
|
+
onClick: onClose,
|
|
45
|
+
variant: "ghost",
|
|
46
|
+
size: "icon",
|
|
47
|
+
"aria-label": "Close",
|
|
48
|
+
children: t4
|
|
49
|
+
});
|
|
50
|
+
$[8] = onClose;
|
|
51
|
+
$[9] = t5;
|
|
52
|
+
} else t5 = $[9];
|
|
53
|
+
let t6;
|
|
54
|
+
if ($[10] !== t3 || $[11] !== t5) {
|
|
55
|
+
t6 = /* @__PURE__ */ jsxs("div", {
|
|
56
|
+
className: "flex items-center gap-1",
|
|
57
|
+
children: [t3, t5]
|
|
58
|
+
});
|
|
59
|
+
$[10] = t3;
|
|
60
|
+
$[11] = t5;
|
|
61
|
+
$[12] = t6;
|
|
62
|
+
} else t6 = $[12];
|
|
63
|
+
let t7;
|
|
64
|
+
if ($[13] !== t2 || $[14] !== t6) {
|
|
65
|
+
t7 = /* @__PURE__ */ jsxs("div", {
|
|
66
|
+
className: "flex items-center justify-between w-full",
|
|
67
|
+
children: [t2, t6]
|
|
68
|
+
});
|
|
69
|
+
$[13] = t2;
|
|
70
|
+
$[14] = t6;
|
|
71
|
+
$[15] = t7;
|
|
72
|
+
} else t7 = $[15];
|
|
73
|
+
let t8;
|
|
74
|
+
if ($[16] !== subtitle) {
|
|
75
|
+
t8 = subtitle && /* @__PURE__ */ jsx("div", {
|
|
76
|
+
className: "text-md font-medium text-muted-foreground tracking-[-0.25px] leading-tight",
|
|
77
|
+
children: subtitle
|
|
78
|
+
});
|
|
79
|
+
$[16] = subtitle;
|
|
80
|
+
$[17] = t8;
|
|
81
|
+
} else t8 = $[17];
|
|
82
|
+
let t9;
|
|
83
|
+
if ($[18] !== t7 || $[19] !== t8) {
|
|
84
|
+
t9 = /* @__PURE__ */ jsx("div", {
|
|
85
|
+
className: "relative shrink-0 w-full border-b border-border",
|
|
86
|
+
children: /* @__PURE__ */ jsxs("div", {
|
|
87
|
+
className: "flex flex-col gap-0 p-4",
|
|
88
|
+
children: [t7, t8]
|
|
89
|
+
})
|
|
90
|
+
});
|
|
91
|
+
$[18] = t7;
|
|
92
|
+
$[19] = t8;
|
|
93
|
+
$[20] = t9;
|
|
94
|
+
} else t9 = $[20];
|
|
95
|
+
let t10;
|
|
96
|
+
if ($[21] !== children) {
|
|
97
|
+
t10 = /* @__PURE__ */ jsx("div", {
|
|
98
|
+
className: "flex-1 overflow-auto",
|
|
99
|
+
children: /* @__PURE__ */ jsx("div", {
|
|
100
|
+
className: "flex flex-col gap-2 p-4",
|
|
101
|
+
children
|
|
102
|
+
})
|
|
103
|
+
});
|
|
104
|
+
$[21] = children;
|
|
105
|
+
$[22] = t10;
|
|
106
|
+
} else t10 = $[22];
|
|
107
|
+
let t11;
|
|
108
|
+
if ($[23] !== t10 || $[24] !== t9) {
|
|
109
|
+
t11 = /* @__PURE__ */ jsxs("div", {
|
|
110
|
+
className: "flex flex-col size-full",
|
|
111
|
+
children: [t9, t10]
|
|
112
|
+
});
|
|
113
|
+
$[23] = t10;
|
|
114
|
+
$[24] = t9;
|
|
115
|
+
$[25] = t11;
|
|
116
|
+
} else t11 = $[25];
|
|
117
|
+
let t12;
|
|
118
|
+
if ($[26] !== t1 || $[27] !== t11) {
|
|
119
|
+
t12 = /* @__PURE__ */ jsx("div", {
|
|
120
|
+
className: t1,
|
|
121
|
+
children: t11
|
|
122
|
+
});
|
|
123
|
+
$[26] = t1;
|
|
124
|
+
$[27] = t11;
|
|
125
|
+
$[28] = t12;
|
|
126
|
+
} else t12 = $[28];
|
|
127
|
+
return t12;
|
|
128
|
+
};
|
|
129
|
+
SidePanel.displayName = "SidePanel";
|
|
130
|
+
function _temp(action, index) {
|
|
131
|
+
return /* @__PURE__ */ jsx(Button, {
|
|
132
|
+
onClick: action.onClick,
|
|
133
|
+
variant: "ghost",
|
|
134
|
+
size: "icon",
|
|
135
|
+
"aria-label": action.label,
|
|
136
|
+
children: action.icon
|
|
137
|
+
}, index);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
//#endregion
|
|
141
|
+
export { SidePanel };
|
|
142
|
+
//# sourceMappingURL=side-panel.js.map
|