react-uic 0.0.1-alpha.2 → 0.0.1-alpha.3
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/index.js +225 -222
- package/dist/index.js.map +1 -0
- package/dist/style.css +1550 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { jsx
|
|
1
|
+
import { jsx, jsxs } from "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import { Slot
|
|
4
|
-
import { cva
|
|
5
|
-
import { clsx
|
|
6
|
-
import { twMerge
|
|
7
|
-
import * as
|
|
8
|
-
import * as
|
|
9
|
-
import * as
|
|
10
|
-
import { CheckIcon
|
|
11
|
-
function
|
|
12
|
-
return
|
|
3
|
+
import { Slot } from "@radix-ui/react-slot";
|
|
4
|
+
import { cva } from "class-variance-authority";
|
|
5
|
+
import { clsx } from "clsx";
|
|
6
|
+
import { twMerge } from "tailwind-merge";
|
|
7
|
+
import * as SeparatorPrimitive from "@radix-ui/react-separator";
|
|
8
|
+
import * as LabelPrimitive from "@radix-ui/react-label";
|
|
9
|
+
import * as SelectPrimitive from "@radix-ui/react-select";
|
|
10
|
+
import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react";
|
|
11
|
+
function cn(...inputs) {
|
|
12
|
+
return twMerge(clsx(inputs));
|
|
13
13
|
}
|
|
14
|
-
const
|
|
14
|
+
const buttonVariants = cva(
|
|
15
15
|
"inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
16
16
|
{
|
|
17
17
|
variants: {
|
|
@@ -38,45 +38,46 @@ const h = c(
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
);
|
|
41
|
-
function
|
|
42
|
-
className
|
|
43
|
-
variant
|
|
44
|
-
size
|
|
45
|
-
asChild
|
|
46
|
-
...
|
|
41
|
+
function Button({
|
|
42
|
+
className,
|
|
43
|
+
variant = "default",
|
|
44
|
+
size = "default",
|
|
45
|
+
asChild = false,
|
|
46
|
+
...props
|
|
47
47
|
}) {
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
const Comp = asChild ? Slot : "button";
|
|
49
|
+
return /* @__PURE__ */ jsx(
|
|
50
|
+
Comp,
|
|
50
51
|
{
|
|
51
52
|
"data-slot": "button",
|
|
52
|
-
"data-variant":
|
|
53
|
-
"data-size":
|
|
54
|
-
className:
|
|
55
|
-
...
|
|
53
|
+
"data-variant": variant,
|
|
54
|
+
"data-size": size,
|
|
55
|
+
className: cn(buttonVariants({ variant, size, className })),
|
|
56
|
+
...props
|
|
56
57
|
}
|
|
57
58
|
);
|
|
58
59
|
}
|
|
59
|
-
function
|
|
60
|
-
className
|
|
61
|
-
orientation
|
|
62
|
-
decorative
|
|
63
|
-
...
|
|
60
|
+
function Separator({
|
|
61
|
+
className,
|
|
62
|
+
orientation = "horizontal",
|
|
63
|
+
decorative = true,
|
|
64
|
+
...props
|
|
64
65
|
}) {
|
|
65
|
-
return /* @__PURE__ */
|
|
66
|
-
|
|
66
|
+
return /* @__PURE__ */ jsx(
|
|
67
|
+
SeparatorPrimitive.Root,
|
|
67
68
|
{
|
|
68
69
|
"data-slot": "separator",
|
|
69
|
-
decorative
|
|
70
|
-
orientation
|
|
71
|
-
className:
|
|
70
|
+
decorative,
|
|
71
|
+
orientation,
|
|
72
|
+
className: cn(
|
|
72
73
|
"bg-border shrink-0 data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-px",
|
|
73
|
-
|
|
74
|
+
className
|
|
74
75
|
),
|
|
75
|
-
...
|
|
76
|
+
...props
|
|
76
77
|
}
|
|
77
78
|
);
|
|
78
79
|
}
|
|
79
|
-
const
|
|
80
|
+
const buttonGroupVariants = cva(
|
|
80
81
|
"flex w-fit items-stretch [&>*]:focus-visible:z-10 [&>*]:focus-visible:relative [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-md has-[>[data-slot=button-group]]:gap-2",
|
|
81
82
|
{
|
|
82
83
|
variants: {
|
|
@@ -90,354 +91,356 @@ const w = c(
|
|
|
90
91
|
}
|
|
91
92
|
}
|
|
92
93
|
);
|
|
93
|
-
function
|
|
94
|
-
className
|
|
95
|
-
orientation
|
|
96
|
-
...
|
|
94
|
+
function ButtonGroup({
|
|
95
|
+
className,
|
|
96
|
+
orientation,
|
|
97
|
+
...props
|
|
97
98
|
}) {
|
|
98
|
-
return /* @__PURE__ */
|
|
99
|
+
return /* @__PURE__ */ jsx(
|
|
99
100
|
"div",
|
|
100
101
|
{
|
|
101
102
|
role: "group",
|
|
102
103
|
"data-slot": "button-group",
|
|
103
|
-
"data-orientation":
|
|
104
|
-
className:
|
|
105
|
-
...
|
|
104
|
+
"data-orientation": orientation,
|
|
105
|
+
className: cn(buttonGroupVariants({ orientation }), className),
|
|
106
|
+
...props
|
|
106
107
|
}
|
|
107
108
|
);
|
|
108
109
|
}
|
|
109
|
-
function
|
|
110
|
-
className
|
|
111
|
-
asChild
|
|
112
|
-
...
|
|
110
|
+
function ButtonGroupText({
|
|
111
|
+
className,
|
|
112
|
+
asChild = false,
|
|
113
|
+
...props
|
|
113
114
|
}) {
|
|
114
|
-
|
|
115
|
-
|
|
115
|
+
const Comp = asChild ? Slot : "div";
|
|
116
|
+
return /* @__PURE__ */ jsx(
|
|
117
|
+
Comp,
|
|
116
118
|
{
|
|
117
|
-
className:
|
|
119
|
+
className: cn(
|
|
118
120
|
"bg-muted flex items-center gap-2 rounded-md border px-4 text-sm font-medium shadow-xs [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4",
|
|
119
|
-
|
|
121
|
+
className
|
|
120
122
|
),
|
|
121
|
-
...
|
|
123
|
+
...props
|
|
122
124
|
}
|
|
123
125
|
);
|
|
124
126
|
}
|
|
125
|
-
function
|
|
126
|
-
className
|
|
127
|
-
orientation
|
|
128
|
-
...
|
|
127
|
+
function ButtonGroupSeparator({
|
|
128
|
+
className,
|
|
129
|
+
orientation = "vertical",
|
|
130
|
+
...props
|
|
129
131
|
}) {
|
|
130
|
-
return /* @__PURE__ */
|
|
131
|
-
|
|
132
|
+
return /* @__PURE__ */ jsx(
|
|
133
|
+
Separator,
|
|
132
134
|
{
|
|
133
135
|
"data-slot": "button-group-separator",
|
|
134
|
-
orientation
|
|
135
|
-
className:
|
|
136
|
+
orientation,
|
|
137
|
+
className: cn(
|
|
136
138
|
"bg-input relative !m-0 self-stretch data-[orientation=vertical]:h-auto",
|
|
137
|
-
|
|
139
|
+
className
|
|
138
140
|
),
|
|
139
|
-
...
|
|
141
|
+
...props
|
|
140
142
|
}
|
|
141
143
|
);
|
|
142
144
|
}
|
|
143
|
-
function
|
|
144
|
-
return /* @__PURE__ */
|
|
145
|
+
function Card({ className, ...props }) {
|
|
146
|
+
return /* @__PURE__ */ jsx(
|
|
145
147
|
"div",
|
|
146
148
|
{
|
|
147
149
|
"data-slot": "card",
|
|
148
|
-
className:
|
|
150
|
+
className: cn(
|
|
149
151
|
"bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",
|
|
150
|
-
|
|
152
|
+
className
|
|
151
153
|
),
|
|
152
|
-
...
|
|
154
|
+
...props
|
|
153
155
|
}
|
|
154
156
|
);
|
|
155
157
|
}
|
|
156
|
-
function
|
|
157
|
-
return /* @__PURE__ */
|
|
158
|
+
function CardHeader({ className, ...props }) {
|
|
159
|
+
return /* @__PURE__ */ jsx(
|
|
158
160
|
"div",
|
|
159
161
|
{
|
|
160
162
|
"data-slot": "card-header",
|
|
161
|
-
className:
|
|
163
|
+
className: cn(
|
|
162
164
|
"@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-2 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
|
|
163
|
-
|
|
165
|
+
className
|
|
164
166
|
),
|
|
165
|
-
...
|
|
167
|
+
...props
|
|
166
168
|
}
|
|
167
169
|
);
|
|
168
170
|
}
|
|
169
|
-
function
|
|
170
|
-
return /* @__PURE__ */
|
|
171
|
+
function CardTitle({ className, ...props }) {
|
|
172
|
+
return /* @__PURE__ */ jsx(
|
|
171
173
|
"div",
|
|
172
174
|
{
|
|
173
175
|
"data-slot": "card-title",
|
|
174
|
-
className:
|
|
175
|
-
...
|
|
176
|
+
className: cn("leading-none font-semibold", className),
|
|
177
|
+
...props
|
|
176
178
|
}
|
|
177
179
|
);
|
|
178
180
|
}
|
|
179
|
-
function
|
|
180
|
-
return /* @__PURE__ */
|
|
181
|
+
function CardDescription({ className, ...props }) {
|
|
182
|
+
return /* @__PURE__ */ jsx(
|
|
181
183
|
"div",
|
|
182
184
|
{
|
|
183
185
|
"data-slot": "card-description",
|
|
184
|
-
className:
|
|
185
|
-
...
|
|
186
|
+
className: cn("text-muted-foreground text-sm", className),
|
|
187
|
+
...props
|
|
186
188
|
}
|
|
187
189
|
);
|
|
188
190
|
}
|
|
189
|
-
function
|
|
190
|
-
return /* @__PURE__ */
|
|
191
|
+
function CardAction({ className, ...props }) {
|
|
192
|
+
return /* @__PURE__ */ jsx(
|
|
191
193
|
"div",
|
|
192
194
|
{
|
|
193
195
|
"data-slot": "card-action",
|
|
194
|
-
className:
|
|
196
|
+
className: cn(
|
|
195
197
|
"col-start-2 row-span-2 row-start-1 self-start justify-self-end",
|
|
196
|
-
|
|
198
|
+
className
|
|
197
199
|
),
|
|
198
|
-
...
|
|
200
|
+
...props
|
|
199
201
|
}
|
|
200
202
|
);
|
|
201
203
|
}
|
|
202
|
-
function
|
|
203
|
-
return /* @__PURE__ */
|
|
204
|
+
function CardContent({ className, ...props }) {
|
|
205
|
+
return /* @__PURE__ */ jsx(
|
|
204
206
|
"div",
|
|
205
207
|
{
|
|
206
208
|
"data-slot": "card-content",
|
|
207
|
-
className:
|
|
208
|
-
...
|
|
209
|
+
className: cn("px-6", className),
|
|
210
|
+
...props
|
|
209
211
|
}
|
|
210
212
|
);
|
|
211
213
|
}
|
|
212
|
-
function
|
|
213
|
-
return /* @__PURE__ */
|
|
214
|
+
function CardFooter({ className, ...props }) {
|
|
215
|
+
return /* @__PURE__ */ jsx(
|
|
214
216
|
"div",
|
|
215
217
|
{
|
|
216
218
|
"data-slot": "card-footer",
|
|
217
|
-
className:
|
|
218
|
-
...
|
|
219
|
+
className: cn("flex items-center px-6 [.border-t]:pt-6", className),
|
|
220
|
+
...props
|
|
219
221
|
}
|
|
220
222
|
);
|
|
221
223
|
}
|
|
222
|
-
function
|
|
223
|
-
return /* @__PURE__ */
|
|
224
|
+
function Input({ className, type, ...props }) {
|
|
225
|
+
return /* @__PURE__ */ jsx(
|
|
224
226
|
"input",
|
|
225
227
|
{
|
|
226
|
-
type
|
|
228
|
+
type,
|
|
227
229
|
"data-slot": "input",
|
|
228
|
-
className:
|
|
230
|
+
className: cn(
|
|
229
231
|
"file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
|
|
230
232
|
"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
|
231
233
|
"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
232
|
-
|
|
234
|
+
className
|
|
233
235
|
),
|
|
234
|
-
...
|
|
236
|
+
...props
|
|
235
237
|
}
|
|
236
238
|
);
|
|
237
239
|
}
|
|
238
|
-
function
|
|
239
|
-
className
|
|
240
|
-
...
|
|
240
|
+
function Label({
|
|
241
|
+
className,
|
|
242
|
+
...props
|
|
241
243
|
}) {
|
|
242
|
-
return /* @__PURE__ */
|
|
243
|
-
|
|
244
|
+
return /* @__PURE__ */ jsx(
|
|
245
|
+
LabelPrimitive.Root,
|
|
244
246
|
{
|
|
245
247
|
"data-slot": "label",
|
|
246
|
-
className:
|
|
248
|
+
className: cn(
|
|
247
249
|
"flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
|
|
248
|
-
|
|
250
|
+
className
|
|
249
251
|
),
|
|
250
|
-
...
|
|
252
|
+
...props
|
|
251
253
|
}
|
|
252
254
|
);
|
|
253
255
|
}
|
|
254
|
-
function
|
|
255
|
-
...
|
|
256
|
+
function Select({
|
|
257
|
+
...props
|
|
256
258
|
}) {
|
|
257
|
-
return /* @__PURE__ */
|
|
259
|
+
return /* @__PURE__ */ jsx(SelectPrimitive.Root, { "data-slot": "select", ...props });
|
|
258
260
|
}
|
|
259
|
-
function
|
|
260
|
-
...
|
|
261
|
+
function SelectGroup({
|
|
262
|
+
...props
|
|
261
263
|
}) {
|
|
262
|
-
return /* @__PURE__ */
|
|
264
|
+
return /* @__PURE__ */ jsx(SelectPrimitive.Group, { "data-slot": "select-group", ...props });
|
|
263
265
|
}
|
|
264
|
-
function
|
|
265
|
-
...
|
|
266
|
+
function SelectValue({
|
|
267
|
+
...props
|
|
266
268
|
}) {
|
|
267
|
-
return /* @__PURE__ */
|
|
269
|
+
return /* @__PURE__ */ jsx(SelectPrimitive.Value, { "data-slot": "select-value", ...props });
|
|
268
270
|
}
|
|
269
|
-
function
|
|
270
|
-
className
|
|
271
|
-
size
|
|
272
|
-
children
|
|
273
|
-
...
|
|
271
|
+
function SelectTrigger({
|
|
272
|
+
className,
|
|
273
|
+
size = "default",
|
|
274
|
+
children,
|
|
275
|
+
...props
|
|
274
276
|
}) {
|
|
275
|
-
return /* @__PURE__ */
|
|
276
|
-
|
|
277
|
+
return /* @__PURE__ */ jsxs(
|
|
278
|
+
SelectPrimitive.Trigger,
|
|
277
279
|
{
|
|
278
280
|
"data-slot": "select-trigger",
|
|
279
|
-
"data-size":
|
|
280
|
-
className:
|
|
281
|
+
"data-size": size,
|
|
282
|
+
className: cn(
|
|
281
283
|
"border-input data-[placeholder]:text-muted-foreground [&_svg:not([class*='text-'])]:text-muted-foreground focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:bg-input/30 dark:hover:bg-input/50 flex w-fit items-center justify-between gap-2 rounded-md border bg-transparent px-3 py-2 text-sm whitespace-nowrap shadow-xs transition-[color,box-shadow] outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 data-[size=default]:h-9 data-[size=sm]:h-8 *:data-[slot=select-value]:line-clamp-1 *:data-[slot=select-value]:flex *:data-[slot=select-value]:items-center *:data-[slot=select-value]:gap-2 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
282
|
-
|
|
284
|
+
className
|
|
283
285
|
),
|
|
284
|
-
...
|
|
286
|
+
...props,
|
|
285
287
|
children: [
|
|
286
|
-
|
|
287
|
-
/* @__PURE__ */
|
|
288
|
+
children,
|
|
289
|
+
/* @__PURE__ */ jsx(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx(ChevronDownIcon, { className: "size-4 opacity-50" }) })
|
|
288
290
|
]
|
|
289
291
|
}
|
|
290
292
|
);
|
|
291
293
|
}
|
|
292
|
-
function
|
|
293
|
-
className
|
|
294
|
-
children
|
|
295
|
-
position
|
|
296
|
-
align
|
|
297
|
-
...
|
|
294
|
+
function SelectContent({
|
|
295
|
+
className,
|
|
296
|
+
children,
|
|
297
|
+
position = "item-aligned",
|
|
298
|
+
align = "center",
|
|
299
|
+
...props
|
|
298
300
|
}) {
|
|
299
|
-
return /* @__PURE__ */
|
|
300
|
-
|
|
301
|
+
return /* @__PURE__ */ jsx(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs(
|
|
302
|
+
SelectPrimitive.Content,
|
|
301
303
|
{
|
|
302
304
|
"data-slot": "select-content",
|
|
303
|
-
className:
|
|
305
|
+
className: cn(
|
|
304
306
|
"bg-popover text-popover-foreground 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 relative z-50 max-h-(--radix-select-content-available-height) min-w-[8rem] origin-(--radix-select-content-transform-origin) overflow-x-hidden overflow-y-auto rounded-md border shadow-md",
|
|
305
|
-
|
|
306
|
-
|
|
307
|
+
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",
|
|
308
|
+
className
|
|
307
309
|
),
|
|
308
|
-
position
|
|
309
|
-
align
|
|
310
|
-
...
|
|
310
|
+
position,
|
|
311
|
+
align,
|
|
312
|
+
...props,
|
|
311
313
|
children: [
|
|
312
|
-
/* @__PURE__ */
|
|
313
|
-
/* @__PURE__ */
|
|
314
|
-
|
|
314
|
+
/* @__PURE__ */ jsx(SelectScrollUpButton, {}),
|
|
315
|
+
/* @__PURE__ */ jsx(
|
|
316
|
+
SelectPrimitive.Viewport,
|
|
315
317
|
{
|
|
316
|
-
className:
|
|
318
|
+
className: cn(
|
|
317
319
|
"p-1",
|
|
318
|
-
|
|
320
|
+
position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)] scroll-my-1"
|
|
319
321
|
),
|
|
320
|
-
children
|
|
322
|
+
children
|
|
321
323
|
}
|
|
322
324
|
),
|
|
323
|
-
/* @__PURE__ */
|
|
325
|
+
/* @__PURE__ */ jsx(SelectScrollDownButton, {})
|
|
324
326
|
]
|
|
325
327
|
}
|
|
326
328
|
) });
|
|
327
329
|
}
|
|
328
|
-
function
|
|
329
|
-
className
|
|
330
|
-
...
|
|
330
|
+
function SelectLabel({
|
|
331
|
+
className,
|
|
332
|
+
...props
|
|
331
333
|
}) {
|
|
332
|
-
return /* @__PURE__ */
|
|
333
|
-
|
|
334
|
+
return /* @__PURE__ */ jsx(
|
|
335
|
+
SelectPrimitive.Label,
|
|
334
336
|
{
|
|
335
337
|
"data-slot": "select-label",
|
|
336
|
-
className:
|
|
337
|
-
...
|
|
338
|
+
className: cn("text-muted-foreground px-2 py-1.5 text-xs", className),
|
|
339
|
+
...props
|
|
338
340
|
}
|
|
339
341
|
);
|
|
340
342
|
}
|
|
341
|
-
function
|
|
342
|
-
className
|
|
343
|
-
children
|
|
344
|
-
...
|
|
343
|
+
function SelectItem({
|
|
344
|
+
className,
|
|
345
|
+
children,
|
|
346
|
+
...props
|
|
345
347
|
}) {
|
|
346
|
-
return /* @__PURE__ */
|
|
347
|
-
|
|
348
|
+
return /* @__PURE__ */ jsxs(
|
|
349
|
+
SelectPrimitive.Item,
|
|
348
350
|
{
|
|
349
351
|
"data-slot": "select-item",
|
|
350
|
-
className:
|
|
352
|
+
className: cn(
|
|
351
353
|
"focus:bg-accent focus:text-accent-foreground [&_svg:not([class*='text-'])]:text-muted-foreground relative flex w-full cursor-default items-center gap-2 rounded-sm py-1.5 pr-8 pl-2 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2",
|
|
352
|
-
|
|
354
|
+
className
|
|
353
355
|
),
|
|
354
|
-
...
|
|
356
|
+
...props,
|
|
355
357
|
children: [
|
|
356
|
-
/* @__PURE__ */
|
|
358
|
+
/* @__PURE__ */ jsx(
|
|
357
359
|
"span",
|
|
358
360
|
{
|
|
359
361
|
"data-slot": "select-item-indicator",
|
|
360
362
|
className: "absolute right-2 flex size-3.5 items-center justify-center",
|
|
361
|
-
children: /* @__PURE__ */
|
|
363
|
+
children: /* @__PURE__ */ jsx(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx(CheckIcon, { className: "size-4" }) })
|
|
362
364
|
}
|
|
363
365
|
),
|
|
364
|
-
/* @__PURE__ */
|
|
366
|
+
/* @__PURE__ */ jsx(SelectPrimitive.ItemText, { children })
|
|
365
367
|
]
|
|
366
368
|
}
|
|
367
369
|
);
|
|
368
370
|
}
|
|
369
|
-
function
|
|
370
|
-
className
|
|
371
|
-
...
|
|
371
|
+
function SelectSeparator({
|
|
372
|
+
className,
|
|
373
|
+
...props
|
|
372
374
|
}) {
|
|
373
|
-
return /* @__PURE__ */
|
|
374
|
-
|
|
375
|
+
return /* @__PURE__ */ jsx(
|
|
376
|
+
SelectPrimitive.Separator,
|
|
375
377
|
{
|
|
376
378
|
"data-slot": "select-separator",
|
|
377
|
-
className:
|
|
378
|
-
...
|
|
379
|
+
className: cn("bg-border pointer-events-none -mx-1 my-1 h-px", className),
|
|
380
|
+
...props
|
|
379
381
|
}
|
|
380
382
|
);
|
|
381
383
|
}
|
|
382
|
-
function
|
|
383
|
-
className
|
|
384
|
-
...
|
|
384
|
+
function SelectScrollUpButton({
|
|
385
|
+
className,
|
|
386
|
+
...props
|
|
385
387
|
}) {
|
|
386
|
-
return /* @__PURE__ */
|
|
387
|
-
|
|
388
|
+
return /* @__PURE__ */ jsx(
|
|
389
|
+
SelectPrimitive.ScrollUpButton,
|
|
388
390
|
{
|
|
389
391
|
"data-slot": "select-scroll-up-button",
|
|
390
|
-
className:
|
|
392
|
+
className: cn(
|
|
391
393
|
"flex cursor-default items-center justify-center py-1",
|
|
392
|
-
|
|
394
|
+
className
|
|
393
395
|
),
|
|
394
|
-
...
|
|
395
|
-
children: /* @__PURE__ */
|
|
396
|
+
...props,
|
|
397
|
+
children: /* @__PURE__ */ jsx(ChevronUpIcon, { className: "size-4" })
|
|
396
398
|
}
|
|
397
399
|
);
|
|
398
400
|
}
|
|
399
|
-
function
|
|
400
|
-
className
|
|
401
|
-
...
|
|
401
|
+
function SelectScrollDownButton({
|
|
402
|
+
className,
|
|
403
|
+
...props
|
|
402
404
|
}) {
|
|
403
|
-
return /* @__PURE__ */
|
|
404
|
-
|
|
405
|
+
return /* @__PURE__ */ jsx(
|
|
406
|
+
SelectPrimitive.ScrollDownButton,
|
|
405
407
|
{
|
|
406
408
|
"data-slot": "select-scroll-down-button",
|
|
407
|
-
className:
|
|
409
|
+
className: cn(
|
|
408
410
|
"flex cursor-default items-center justify-center py-1",
|
|
409
|
-
|
|
411
|
+
className
|
|
410
412
|
),
|
|
411
|
-
...
|
|
412
|
-
children: /* @__PURE__ */
|
|
413
|
+
...props,
|
|
414
|
+
children: /* @__PURE__ */ jsx(ChevronDownIcon, { className: "size-4" })
|
|
413
415
|
}
|
|
414
416
|
);
|
|
415
417
|
}
|
|
416
418
|
export {
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
419
|
+
Button,
|
|
420
|
+
ButtonGroup,
|
|
421
|
+
ButtonGroupSeparator,
|
|
422
|
+
ButtonGroupText,
|
|
423
|
+
Card,
|
|
424
|
+
CardAction,
|
|
425
|
+
CardContent,
|
|
426
|
+
CardDescription,
|
|
427
|
+
CardFooter,
|
|
428
|
+
CardHeader,
|
|
429
|
+
CardTitle,
|
|
430
|
+
Input,
|
|
431
|
+
Label,
|
|
432
|
+
Select,
|
|
433
|
+
SelectContent,
|
|
434
|
+
SelectGroup,
|
|
435
|
+
SelectItem,
|
|
436
|
+
SelectLabel,
|
|
437
|
+
SelectScrollDownButton,
|
|
438
|
+
SelectScrollUpButton,
|
|
439
|
+
SelectSeparator,
|
|
440
|
+
SelectTrigger,
|
|
441
|
+
SelectValue,
|
|
442
|
+
Separator,
|
|
443
|
+
buttonGroupVariants,
|
|
444
|
+
buttonVariants
|
|
443
445
|
};
|
|
446
|
+
//# sourceMappingURL=index.js.map
|