@trading-game/design-intelligence-layer 0.10.1 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -1
- package/dist/index.cjs +394 -324
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +39 -9
- package/dist/index.d.ts +39 -9
- package/dist/index.js +318 -251
- package/dist/index.js.map +1 -1
- package/guides/design-system-guide/trading-game-ds-guide.md +9 -3
- package/guides/rules/design-system-consuming-project.mdc +2 -1
- package/package.json +1 -1
- package/src/styles.css +15 -0
package/dist/index.js
CHANGED
|
@@ -4141,11 +4141,56 @@ function NativeSelectOptGroup(_a) {
|
|
|
4141
4141
|
);
|
|
4142
4142
|
}
|
|
4143
4143
|
|
|
4144
|
-
// components/ui/navigation-
|
|
4144
|
+
// components/ui/navigation-button.tsx
|
|
4145
4145
|
import { cva as cva10 } from "class-variance-authority";
|
|
4146
|
+
import { Slot as Slot7 } from "radix-ui";
|
|
4147
|
+
import { jsx as jsx38 } from "react/jsx-runtime";
|
|
4148
|
+
var navigationButtonVariants = cva10(
|
|
4149
|
+
"inline-flex shrink-0 items-center justify-center bg-transparent text-on-prominent hover:bg-secondary-hover transition-all duration-fast ease-standard outline-none focus-visible:ring-[3px] focus-visible:ring-ring/50 active:opacity-60 disabled:pointer-events-none disabled:opacity-24 [&_svg]:pointer-events-none [&_svg]:shrink-0",
|
|
4150
|
+
{
|
|
4151
|
+
variants: {
|
|
4152
|
+
size: {
|
|
4153
|
+
lg: "size-12 rounded-xs [&_svg:not([class*='size-'])]:size-6",
|
|
4154
|
+
md: "size-10 rounded-xs [&_svg:not([class*='size-'])]:size-5",
|
|
4155
|
+
sm: "size-8 rounded-xs [&_svg:not([class*='size-'])]:size-5",
|
|
4156
|
+
xs: "size-6 rounded-xs [&_svg:not([class*='size-'])]:size-4"
|
|
4157
|
+
}
|
|
4158
|
+
},
|
|
4159
|
+
defaultVariants: {
|
|
4160
|
+
size: "lg"
|
|
4161
|
+
}
|
|
4162
|
+
}
|
|
4163
|
+
);
|
|
4164
|
+
function NavigationButton(_a) {
|
|
4165
|
+
var _b = _a, {
|
|
4166
|
+
className,
|
|
4167
|
+
size = "lg",
|
|
4168
|
+
asChild = false,
|
|
4169
|
+
children
|
|
4170
|
+
} = _b, props = __objRest(_b, [
|
|
4171
|
+
"className",
|
|
4172
|
+
"size",
|
|
4173
|
+
"asChild",
|
|
4174
|
+
"children"
|
|
4175
|
+
]);
|
|
4176
|
+
const Comp = asChild ? Slot7.Root : "button";
|
|
4177
|
+
return /* @__PURE__ */ jsx38(
|
|
4178
|
+
Comp,
|
|
4179
|
+
__spreadProps(__spreadValues({
|
|
4180
|
+
"data-slot": "navigation-button",
|
|
4181
|
+
"data-size": size,
|
|
4182
|
+
className: cn(navigationButtonVariants({ size, className }))
|
|
4183
|
+
}, props), {
|
|
4184
|
+
children
|
|
4185
|
+
})
|
|
4186
|
+
);
|
|
4187
|
+
}
|
|
4188
|
+
|
|
4189
|
+
// components/ui/navigation-menu.tsx
|
|
4190
|
+
import { cva as cva11 } from "class-variance-authority";
|
|
4146
4191
|
import { ChevronDownIcon as ChevronDownIcon5 } from "lucide-react";
|
|
4147
4192
|
import { NavigationMenu as NavigationMenuPrimitive } from "radix-ui";
|
|
4148
|
-
import { jsx as
|
|
4193
|
+
import { jsx as jsx39, jsxs as jsxs18 } from "react/jsx-runtime";
|
|
4149
4194
|
function NavigationMenu(_a) {
|
|
4150
4195
|
var _b = _a, {
|
|
4151
4196
|
className,
|
|
@@ -4168,7 +4213,7 @@ function NavigationMenu(_a) {
|
|
|
4168
4213
|
}, props), {
|
|
4169
4214
|
children: [
|
|
4170
4215
|
children,
|
|
4171
|
-
viewport && /* @__PURE__ */
|
|
4216
|
+
viewport && /* @__PURE__ */ jsx39(NavigationMenuViewport, {})
|
|
4172
4217
|
]
|
|
4173
4218
|
})
|
|
4174
4219
|
);
|
|
@@ -4179,7 +4224,7 @@ function NavigationMenuList(_a) {
|
|
|
4179
4224
|
} = _b, props = __objRest(_b, [
|
|
4180
4225
|
"className"
|
|
4181
4226
|
]);
|
|
4182
|
-
return /* @__PURE__ */
|
|
4227
|
+
return /* @__PURE__ */ jsx39(
|
|
4183
4228
|
NavigationMenuPrimitive.List,
|
|
4184
4229
|
__spreadValues({
|
|
4185
4230
|
"data-slot": "navigation-menu-list",
|
|
@@ -4196,7 +4241,7 @@ function NavigationMenuItem(_a) {
|
|
|
4196
4241
|
} = _b, props = __objRest(_b, [
|
|
4197
4242
|
"className"
|
|
4198
4243
|
]);
|
|
4199
|
-
return /* @__PURE__ */
|
|
4244
|
+
return /* @__PURE__ */ jsx39(
|
|
4200
4245
|
NavigationMenuPrimitive.Item,
|
|
4201
4246
|
__spreadValues({
|
|
4202
4247
|
"data-slot": "navigation-menu-item",
|
|
@@ -4204,7 +4249,7 @@ function NavigationMenuItem(_a) {
|
|
|
4204
4249
|
}, props)
|
|
4205
4250
|
);
|
|
4206
4251
|
}
|
|
4207
|
-
var navigationMenuTriggerStyle =
|
|
4252
|
+
var navigationMenuTriggerStyle = cva11(
|
|
4208
4253
|
"group inline-flex h-9 w-max items-center justify-center rounded-md bg-prominent px-4 py-2 text-sm font-medium transition-[color,box-shadow] outline-none hover:bg-secondary-hover hover:text-on-prominent focus:bg-secondary-hover focus:text-on-prominent focus-visible:ring-[3px] focus-visible:ring-ring/50 focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 data-[state=open]:bg-secondary-hover data-[state=open]:text-on-prominent data-[state=open]:hover:bg-secondary-hover data-[state=open]:focus:bg-secondary-hover"
|
|
4209
4254
|
);
|
|
4210
4255
|
function NavigationMenuTrigger(_a) {
|
|
@@ -4224,7 +4269,7 @@ function NavigationMenuTrigger(_a) {
|
|
|
4224
4269
|
children: [
|
|
4225
4270
|
children,
|
|
4226
4271
|
" ",
|
|
4227
|
-
/* @__PURE__ */
|
|
4272
|
+
/* @__PURE__ */ jsx39(
|
|
4228
4273
|
ChevronDownIcon5,
|
|
4229
4274
|
{
|
|
4230
4275
|
className: "relative top-[1px] ml-1 size-3 transition duration-slow group-data-[state=open]:rotate-180",
|
|
@@ -4241,7 +4286,7 @@ function NavigationMenuContent(_a) {
|
|
|
4241
4286
|
} = _b, props = __objRest(_b, [
|
|
4242
4287
|
"className"
|
|
4243
4288
|
]);
|
|
4244
|
-
return /* @__PURE__ */
|
|
4289
|
+
return /* @__PURE__ */ jsx39(
|
|
4245
4290
|
NavigationMenuPrimitive.Content,
|
|
4246
4291
|
__spreadValues({
|
|
4247
4292
|
"data-slot": "navigation-menu-content",
|
|
@@ -4259,13 +4304,13 @@ function NavigationMenuViewport(_a) {
|
|
|
4259
4304
|
} = _b, props = __objRest(_b, [
|
|
4260
4305
|
"className"
|
|
4261
4306
|
]);
|
|
4262
|
-
return /* @__PURE__ */
|
|
4307
|
+
return /* @__PURE__ */ jsx39(
|
|
4263
4308
|
"div",
|
|
4264
4309
|
{
|
|
4265
4310
|
className: cn(
|
|
4266
4311
|
"absolute top-full left-0 isolate z-50 flex justify-center"
|
|
4267
4312
|
),
|
|
4268
|
-
children: /* @__PURE__ */
|
|
4313
|
+
children: /* @__PURE__ */ jsx39(
|
|
4269
4314
|
NavigationMenuPrimitive.Viewport,
|
|
4270
4315
|
__spreadValues({
|
|
4271
4316
|
"data-slot": "navigation-menu-viewport",
|
|
@@ -4284,7 +4329,7 @@ function NavigationMenuLink(_a) {
|
|
|
4284
4329
|
} = _b, props = __objRest(_b, [
|
|
4285
4330
|
"className"
|
|
4286
4331
|
]);
|
|
4287
|
-
return /* @__PURE__ */
|
|
4332
|
+
return /* @__PURE__ */ jsx39(
|
|
4288
4333
|
NavigationMenuPrimitive.Link,
|
|
4289
4334
|
__spreadValues({
|
|
4290
4335
|
"data-slot": "navigation-menu-link",
|
|
@@ -4301,7 +4346,7 @@ function NavigationMenuIndicator(_a) {
|
|
|
4301
4346
|
} = _b, props = __objRest(_b, [
|
|
4302
4347
|
"className"
|
|
4303
4348
|
]);
|
|
4304
|
-
return /* @__PURE__ */
|
|
4349
|
+
return /* @__PURE__ */ jsx39(
|
|
4305
4350
|
NavigationMenuPrimitive.Indicator,
|
|
4306
4351
|
__spreadProps(__spreadValues({
|
|
4307
4352
|
"data-slot": "navigation-menu-indicator",
|
|
@@ -4310,7 +4355,7 @@ function NavigationMenuIndicator(_a) {
|
|
|
4310
4355
|
className
|
|
4311
4356
|
)
|
|
4312
4357
|
}, props), {
|
|
4313
|
-
children: /* @__PURE__ */
|
|
4358
|
+
children: /* @__PURE__ */ jsx39("div", { className: "relative top-[60%] h-2 w-2 rotate-45 rounded-tl-sm bg-border shadow-md" })
|
|
4314
4359
|
})
|
|
4315
4360
|
);
|
|
4316
4361
|
}
|
|
@@ -4321,10 +4366,10 @@ import {
|
|
|
4321
4366
|
ChevronRightIcon as ChevronRightIcon5,
|
|
4322
4367
|
MoreHorizontalIcon
|
|
4323
4368
|
} from "lucide-react";
|
|
4324
|
-
import { jsx as
|
|
4369
|
+
import { jsx as jsx40, jsxs as jsxs19 } from "react/jsx-runtime";
|
|
4325
4370
|
function Pagination(_a) {
|
|
4326
4371
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4327
|
-
return /* @__PURE__ */
|
|
4372
|
+
return /* @__PURE__ */ jsx40(
|
|
4328
4373
|
"nav",
|
|
4329
4374
|
__spreadValues({
|
|
4330
4375
|
role: "navigation",
|
|
@@ -4340,7 +4385,7 @@ function PaginationContent(_a) {
|
|
|
4340
4385
|
} = _b, props = __objRest(_b, [
|
|
4341
4386
|
"className"
|
|
4342
4387
|
]);
|
|
4343
|
-
return /* @__PURE__ */
|
|
4388
|
+
return /* @__PURE__ */ jsx40(
|
|
4344
4389
|
"ul",
|
|
4345
4390
|
__spreadValues({
|
|
4346
4391
|
"data-slot": "pagination-content",
|
|
@@ -4350,7 +4395,7 @@ function PaginationContent(_a) {
|
|
|
4350
4395
|
}
|
|
4351
4396
|
function PaginationItem(_a) {
|
|
4352
4397
|
var props = __objRest(_a, []);
|
|
4353
|
-
return /* @__PURE__ */
|
|
4398
|
+
return /* @__PURE__ */ jsx40("li", __spreadValues({ "data-slot": "pagination-item" }, props));
|
|
4354
4399
|
}
|
|
4355
4400
|
function PaginationLink(_a) {
|
|
4356
4401
|
var _b = _a, {
|
|
@@ -4362,7 +4407,7 @@ function PaginationLink(_a) {
|
|
|
4362
4407
|
"isActive",
|
|
4363
4408
|
"size"
|
|
4364
4409
|
]);
|
|
4365
|
-
return /* @__PURE__ */
|
|
4410
|
+
return /* @__PURE__ */ jsx40(
|
|
4366
4411
|
"a",
|
|
4367
4412
|
__spreadValues({
|
|
4368
4413
|
"aria-current": isActive ? "page" : void 0,
|
|
@@ -4382,7 +4427,7 @@ function PaginationPrevious(_a) {
|
|
|
4382
4427
|
} = _b, props = __objRest(_b, [
|
|
4383
4428
|
"className"
|
|
4384
4429
|
]);
|
|
4385
|
-
return /* @__PURE__ */
|
|
4430
|
+
return /* @__PURE__ */ jsx40(Button, { asChild: true, variant: "tertiary", size: "icon-md", className: cn(className), children: /* @__PURE__ */ jsx40("a", __spreadProps(__spreadValues({ "aria-label": "Go to previous page", "data-slot": "pagination-link" }, props), { children: /* @__PURE__ */ jsx40(ChevronLeftIcon2, { className: "size-5" }) })) });
|
|
4386
4431
|
}
|
|
4387
4432
|
function PaginationNext(_a) {
|
|
4388
4433
|
var _b = _a, {
|
|
@@ -4390,7 +4435,7 @@ function PaginationNext(_a) {
|
|
|
4390
4435
|
} = _b, props = __objRest(_b, [
|
|
4391
4436
|
"className"
|
|
4392
4437
|
]);
|
|
4393
|
-
return /* @__PURE__ */
|
|
4438
|
+
return /* @__PURE__ */ jsx40(Button, { asChild: true, variant: "tertiary", size: "icon-md", className: cn(className), children: /* @__PURE__ */ jsx40("a", __spreadProps(__spreadValues({ "aria-label": "Go to next page", "data-slot": "pagination-link" }, props), { children: /* @__PURE__ */ jsx40(ChevronRightIcon5, { className: "size-5" }) })) });
|
|
4394
4439
|
}
|
|
4395
4440
|
function PaginationEllipsis(_a) {
|
|
4396
4441
|
var _b = _a, {
|
|
@@ -4406,8 +4451,8 @@ function PaginationEllipsis(_a) {
|
|
|
4406
4451
|
className: cn("flex size-10 items-center justify-center", className)
|
|
4407
4452
|
}, props), {
|
|
4408
4453
|
children: [
|
|
4409
|
-
/* @__PURE__ */
|
|
4410
|
-
/* @__PURE__ */
|
|
4454
|
+
/* @__PURE__ */ jsx40(MoreHorizontalIcon, { className: "size-4" }),
|
|
4455
|
+
/* @__PURE__ */ jsx40("span", { className: "sr-only", children: "More pages" })
|
|
4411
4456
|
]
|
|
4412
4457
|
})
|
|
4413
4458
|
);
|
|
@@ -4415,14 +4460,14 @@ function PaginationEllipsis(_a) {
|
|
|
4415
4460
|
|
|
4416
4461
|
// components/ui/popover.tsx
|
|
4417
4462
|
import { Popover as PopoverPrimitive } from "radix-ui";
|
|
4418
|
-
import { jsx as
|
|
4463
|
+
import { jsx as jsx41 } from "react/jsx-runtime";
|
|
4419
4464
|
function Popover(_a) {
|
|
4420
4465
|
var props = __objRest(_a, []);
|
|
4421
|
-
return /* @__PURE__ */
|
|
4466
|
+
return /* @__PURE__ */ jsx41(PopoverPrimitive.Root, __spreadValues({ "data-slot": "popover" }, props));
|
|
4422
4467
|
}
|
|
4423
4468
|
function PopoverTrigger(_a) {
|
|
4424
4469
|
var props = __objRest(_a, []);
|
|
4425
|
-
return /* @__PURE__ */
|
|
4470
|
+
return /* @__PURE__ */ jsx41(PopoverPrimitive.Trigger, __spreadValues({ "data-slot": "popover-trigger" }, props));
|
|
4426
4471
|
}
|
|
4427
4472
|
function PopoverContent(_a) {
|
|
4428
4473
|
var _b = _a, {
|
|
@@ -4434,7 +4479,7 @@ function PopoverContent(_a) {
|
|
|
4434
4479
|
"align",
|
|
4435
4480
|
"sideOffset"
|
|
4436
4481
|
]);
|
|
4437
|
-
return /* @__PURE__ */
|
|
4482
|
+
return /* @__PURE__ */ jsx41(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx41(
|
|
4438
4483
|
PopoverPrimitive.Content,
|
|
4439
4484
|
__spreadValues({
|
|
4440
4485
|
"data-slot": "popover-content",
|
|
@@ -4449,11 +4494,11 @@ function PopoverContent(_a) {
|
|
|
4449
4494
|
}
|
|
4450
4495
|
function PopoverAnchor(_a) {
|
|
4451
4496
|
var props = __objRest(_a, []);
|
|
4452
|
-
return /* @__PURE__ */
|
|
4497
|
+
return /* @__PURE__ */ jsx41(PopoverPrimitive.Anchor, __spreadValues({ "data-slot": "popover-anchor" }, props));
|
|
4453
4498
|
}
|
|
4454
4499
|
function PopoverHeader(_a) {
|
|
4455
4500
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4456
|
-
return /* @__PURE__ */
|
|
4501
|
+
return /* @__PURE__ */ jsx41(
|
|
4457
4502
|
"div",
|
|
4458
4503
|
__spreadValues({
|
|
4459
4504
|
"data-slot": "popover-header",
|
|
@@ -4463,7 +4508,7 @@ function PopoverHeader(_a) {
|
|
|
4463
4508
|
}
|
|
4464
4509
|
function PopoverTitle(_a) {
|
|
4465
4510
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4466
|
-
return /* @__PURE__ */
|
|
4511
|
+
return /* @__PURE__ */ jsx41(
|
|
4467
4512
|
"div",
|
|
4468
4513
|
__spreadValues({
|
|
4469
4514
|
"data-slot": "popover-title",
|
|
@@ -4477,7 +4522,7 @@ function PopoverDescription(_a) {
|
|
|
4477
4522
|
} = _b, props = __objRest(_b, [
|
|
4478
4523
|
"className"
|
|
4479
4524
|
]);
|
|
4480
|
-
return /* @__PURE__ */
|
|
4525
|
+
return /* @__PURE__ */ jsx41(
|
|
4481
4526
|
"p",
|
|
4482
4527
|
__spreadValues({
|
|
4483
4528
|
"data-slot": "popover-description",
|
|
@@ -4488,7 +4533,7 @@ function PopoverDescription(_a) {
|
|
|
4488
4533
|
|
|
4489
4534
|
// components/ui/progress.tsx
|
|
4490
4535
|
import { Progress as ProgressPrimitive } from "radix-ui";
|
|
4491
|
-
import { jsx as
|
|
4536
|
+
import { jsx as jsx42 } from "react/jsx-runtime";
|
|
4492
4537
|
function Progress(_a) {
|
|
4493
4538
|
var _b = _a, {
|
|
4494
4539
|
className,
|
|
@@ -4497,7 +4542,7 @@ function Progress(_a) {
|
|
|
4497
4542
|
"className",
|
|
4498
4543
|
"value"
|
|
4499
4544
|
]);
|
|
4500
|
-
return /* @__PURE__ */
|
|
4545
|
+
return /* @__PURE__ */ jsx42(
|
|
4501
4546
|
ProgressPrimitive.Root,
|
|
4502
4547
|
__spreadProps(__spreadValues({
|
|
4503
4548
|
"data-slot": "progress",
|
|
@@ -4506,7 +4551,7 @@ function Progress(_a) {
|
|
|
4506
4551
|
className
|
|
4507
4552
|
)
|
|
4508
4553
|
}, props), {
|
|
4509
|
-
children: /* @__PURE__ */
|
|
4554
|
+
children: /* @__PURE__ */ jsx42(
|
|
4510
4555
|
ProgressPrimitive.Indicator,
|
|
4511
4556
|
{
|
|
4512
4557
|
"data-slot": "progress-indicator",
|
|
@@ -4521,14 +4566,14 @@ function Progress(_a) {
|
|
|
4521
4566
|
// components/ui/radio-group.tsx
|
|
4522
4567
|
import { CircleIcon as CircleIcon4 } from "lucide-react";
|
|
4523
4568
|
import { RadioGroup as RadioGroupPrimitive } from "radix-ui";
|
|
4524
|
-
import { jsx as
|
|
4569
|
+
import { jsx as jsx43 } from "react/jsx-runtime";
|
|
4525
4570
|
function RadioGroup(_a) {
|
|
4526
4571
|
var _b = _a, {
|
|
4527
4572
|
className
|
|
4528
4573
|
} = _b, props = __objRest(_b, [
|
|
4529
4574
|
"className"
|
|
4530
4575
|
]);
|
|
4531
|
-
return /* @__PURE__ */
|
|
4576
|
+
return /* @__PURE__ */ jsx43(
|
|
4532
4577
|
RadioGroupPrimitive.Root,
|
|
4533
4578
|
__spreadValues({
|
|
4534
4579
|
"data-slot": "radio-group",
|
|
@@ -4542,7 +4587,7 @@ function RadioGroupItem(_a) {
|
|
|
4542
4587
|
} = _b, props = __objRest(_b, [
|
|
4543
4588
|
"className"
|
|
4544
4589
|
]);
|
|
4545
|
-
return /* @__PURE__ */
|
|
4590
|
+
return /* @__PURE__ */ jsx43(
|
|
4546
4591
|
RadioGroupPrimitive.Item,
|
|
4547
4592
|
__spreadProps(__spreadValues({
|
|
4548
4593
|
"data-slot": "radio-group-item",
|
|
@@ -4551,12 +4596,12 @@ function RadioGroupItem(_a) {
|
|
|
4551
4596
|
className
|
|
4552
4597
|
)
|
|
4553
4598
|
}, props), {
|
|
4554
|
-
children: /* @__PURE__ */
|
|
4599
|
+
children: /* @__PURE__ */ jsx43(
|
|
4555
4600
|
RadioGroupPrimitive.Indicator,
|
|
4556
4601
|
{
|
|
4557
4602
|
"data-slot": "radio-group-indicator",
|
|
4558
4603
|
className: "relative flex items-center justify-center",
|
|
4559
|
-
children: /* @__PURE__ */
|
|
4604
|
+
children: /* @__PURE__ */ jsx43(CircleIcon4, { className: "absolute top-1/2 left-1/2 size-2 -translate-x-1/2 -translate-y-1/2 fill-primary" })
|
|
4560
4605
|
}
|
|
4561
4606
|
)
|
|
4562
4607
|
})
|
|
@@ -4566,14 +4611,14 @@ function RadioGroupItem(_a) {
|
|
|
4566
4611
|
// components/ui/resizable.tsx
|
|
4567
4612
|
import { GripVerticalIcon } from "lucide-react";
|
|
4568
4613
|
import * as ResizablePrimitive from "react-resizable-panels";
|
|
4569
|
-
import { jsx as
|
|
4614
|
+
import { jsx as jsx44 } from "react/jsx-runtime";
|
|
4570
4615
|
function ResizablePanelGroup(_a) {
|
|
4571
4616
|
var _b = _a, {
|
|
4572
4617
|
className
|
|
4573
4618
|
} = _b, props = __objRest(_b, [
|
|
4574
4619
|
"className"
|
|
4575
4620
|
]);
|
|
4576
|
-
return /* @__PURE__ */
|
|
4621
|
+
return /* @__PURE__ */ jsx44(
|
|
4577
4622
|
ResizablePrimitive.Group,
|
|
4578
4623
|
__spreadValues({
|
|
4579
4624
|
"data-slot": "resizable-panel-group",
|
|
@@ -4586,7 +4631,7 @@ function ResizablePanelGroup(_a) {
|
|
|
4586
4631
|
}
|
|
4587
4632
|
function ResizablePanel(_a) {
|
|
4588
4633
|
var props = __objRest(_a, []);
|
|
4589
|
-
return /* @__PURE__ */
|
|
4634
|
+
return /* @__PURE__ */ jsx44(ResizablePrimitive.Panel, __spreadValues({ "data-slot": "resizable-panel" }, props));
|
|
4590
4635
|
}
|
|
4591
4636
|
function ResizableHandle(_a) {
|
|
4592
4637
|
var _b = _a, {
|
|
@@ -4596,7 +4641,7 @@ function ResizableHandle(_a) {
|
|
|
4596
4641
|
"withHandle",
|
|
4597
4642
|
"className"
|
|
4598
4643
|
]);
|
|
4599
|
-
return /* @__PURE__ */
|
|
4644
|
+
return /* @__PURE__ */ jsx44(
|
|
4600
4645
|
ResizablePrimitive.Separator,
|
|
4601
4646
|
__spreadProps(__spreadValues({
|
|
4602
4647
|
"data-slot": "resizable-handle",
|
|
@@ -4605,14 +4650,14 @@ function ResizableHandle(_a) {
|
|
|
4605
4650
|
className
|
|
4606
4651
|
)
|
|
4607
4652
|
}, props), {
|
|
4608
|
-
children: withHandle && /* @__PURE__ */
|
|
4653
|
+
children: withHandle && /* @__PURE__ */ jsx44("div", { className: "z-10 flex h-4 w-3 items-center justify-center rounded-xs border bg-border", children: /* @__PURE__ */ jsx44(GripVerticalIcon, { className: "size-2.5" }) })
|
|
4609
4654
|
})
|
|
4610
4655
|
);
|
|
4611
4656
|
}
|
|
4612
4657
|
|
|
4613
4658
|
// components/ui/scroll-area.tsx
|
|
4614
4659
|
import { ScrollArea as ScrollAreaPrimitive } from "radix-ui";
|
|
4615
|
-
import { jsx as
|
|
4660
|
+
import { jsx as jsx45, jsxs as jsxs20 } from "react/jsx-runtime";
|
|
4616
4661
|
function ScrollArea(_a) {
|
|
4617
4662
|
var _b = _a, {
|
|
4618
4663
|
className,
|
|
@@ -4628,7 +4673,7 @@ function ScrollArea(_a) {
|
|
|
4628
4673
|
className: cn("relative", className)
|
|
4629
4674
|
}, props), {
|
|
4630
4675
|
children: [
|
|
4631
|
-
/* @__PURE__ */
|
|
4676
|
+
/* @__PURE__ */ jsx45(
|
|
4632
4677
|
ScrollAreaPrimitive.Viewport,
|
|
4633
4678
|
{
|
|
4634
4679
|
"data-slot": "scroll-area-viewport",
|
|
@@ -4636,8 +4681,8 @@ function ScrollArea(_a) {
|
|
|
4636
4681
|
children
|
|
4637
4682
|
}
|
|
4638
4683
|
),
|
|
4639
|
-
/* @__PURE__ */
|
|
4640
|
-
/* @__PURE__ */
|
|
4684
|
+
/* @__PURE__ */ jsx45(ScrollBar, {}),
|
|
4685
|
+
/* @__PURE__ */ jsx45(ScrollAreaPrimitive.Corner, {})
|
|
4641
4686
|
]
|
|
4642
4687
|
})
|
|
4643
4688
|
);
|
|
@@ -4650,7 +4695,7 @@ function ScrollBar(_a) {
|
|
|
4650
4695
|
"className",
|
|
4651
4696
|
"orientation"
|
|
4652
4697
|
]);
|
|
4653
|
-
return /* @__PURE__ */
|
|
4698
|
+
return /* @__PURE__ */ jsx45(
|
|
4654
4699
|
ScrollAreaPrimitive.ScrollAreaScrollbar,
|
|
4655
4700
|
__spreadProps(__spreadValues({
|
|
4656
4701
|
"data-slot": "scroll-area-scrollbar",
|
|
@@ -4662,7 +4707,7 @@ function ScrollBar(_a) {
|
|
|
4662
4707
|
className
|
|
4663
4708
|
)
|
|
4664
4709
|
}, props), {
|
|
4665
|
-
children: /* @__PURE__ */
|
|
4710
|
+
children: /* @__PURE__ */ jsx45(
|
|
4666
4711
|
ScrollAreaPrimitive.ScrollAreaThumb,
|
|
4667
4712
|
{
|
|
4668
4713
|
"data-slot": "scroll-area-thumb",
|
|
@@ -4676,18 +4721,18 @@ function ScrollBar(_a) {
|
|
|
4676
4721
|
// components/ui/select.tsx
|
|
4677
4722
|
import { CheckIcon as CheckIcon6, ChevronDownIcon as ChevronDownIcon6, ChevronUpIcon } from "lucide-react";
|
|
4678
4723
|
import { Select as SelectPrimitive } from "radix-ui";
|
|
4679
|
-
import { jsx as
|
|
4724
|
+
import { jsx as jsx46, jsxs as jsxs21 } from "react/jsx-runtime";
|
|
4680
4725
|
function Select(_a) {
|
|
4681
4726
|
var props = __objRest(_a, []);
|
|
4682
|
-
return /* @__PURE__ */
|
|
4727
|
+
return /* @__PURE__ */ jsx46(SelectPrimitive.Root, __spreadValues({ "data-slot": "select" }, props));
|
|
4683
4728
|
}
|
|
4684
4729
|
function SelectGroup(_a) {
|
|
4685
4730
|
var props = __objRest(_a, []);
|
|
4686
|
-
return /* @__PURE__ */
|
|
4731
|
+
return /* @__PURE__ */ jsx46(SelectPrimitive.Group, __spreadValues({ "data-slot": "select-group" }, props));
|
|
4687
4732
|
}
|
|
4688
4733
|
function SelectValue(_a) {
|
|
4689
4734
|
var props = __objRest(_a, []);
|
|
4690
|
-
return /* @__PURE__ */
|
|
4735
|
+
return /* @__PURE__ */ jsx46(SelectPrimitive.Value, __spreadValues({ "data-slot": "select-value" }, props));
|
|
4691
4736
|
}
|
|
4692
4737
|
function SelectTrigger(_a) {
|
|
4693
4738
|
var _b = _a, {
|
|
@@ -4715,7 +4760,7 @@ function SelectTrigger(_a) {
|
|
|
4715
4760
|
}, props), {
|
|
4716
4761
|
children: [
|
|
4717
4762
|
children,
|
|
4718
|
-
/* @__PURE__ */
|
|
4763
|
+
/* @__PURE__ */ jsx46(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ jsx46(ChevronDownIcon6, { className: cn("size-4", readOnly ? "opacity-30" : "opacity-50") }) })
|
|
4719
4764
|
]
|
|
4720
4765
|
})
|
|
4721
4766
|
);
|
|
@@ -4732,7 +4777,7 @@ function SelectContent(_a) {
|
|
|
4732
4777
|
"position",
|
|
4733
4778
|
"align"
|
|
4734
4779
|
]);
|
|
4735
|
-
return /* @__PURE__ */
|
|
4780
|
+
return /* @__PURE__ */ jsx46(SelectPrimitive.Portal, { children: /* @__PURE__ */ jsxs21(
|
|
4736
4781
|
SelectPrimitive.Content,
|
|
4737
4782
|
__spreadProps(__spreadValues({
|
|
4738
4783
|
"data-slot": "select-content",
|
|
@@ -4745,8 +4790,8 @@ function SelectContent(_a) {
|
|
|
4745
4790
|
align
|
|
4746
4791
|
}, props), {
|
|
4747
4792
|
children: [
|
|
4748
|
-
/* @__PURE__ */
|
|
4749
|
-
/* @__PURE__ */
|
|
4793
|
+
/* @__PURE__ */ jsx46(SelectScrollUpButton, {}),
|
|
4794
|
+
/* @__PURE__ */ jsx46(
|
|
4750
4795
|
SelectPrimitive.Viewport,
|
|
4751
4796
|
{
|
|
4752
4797
|
className: cn(
|
|
@@ -4756,7 +4801,7 @@ function SelectContent(_a) {
|
|
|
4756
4801
|
children
|
|
4757
4802
|
}
|
|
4758
4803
|
),
|
|
4759
|
-
/* @__PURE__ */
|
|
4804
|
+
/* @__PURE__ */ jsx46(SelectScrollDownButton, {})
|
|
4760
4805
|
]
|
|
4761
4806
|
})
|
|
4762
4807
|
) });
|
|
@@ -4767,7 +4812,7 @@ function SelectLabel(_a) {
|
|
|
4767
4812
|
} = _b, props = __objRest(_b, [
|
|
4768
4813
|
"className"
|
|
4769
4814
|
]);
|
|
4770
|
-
return /* @__PURE__ */
|
|
4815
|
+
return /* @__PURE__ */ jsx46(
|
|
4771
4816
|
SelectPrimitive.Label,
|
|
4772
4817
|
__spreadValues({
|
|
4773
4818
|
"data-slot": "select-label",
|
|
@@ -4793,15 +4838,15 @@ function SelectItem(_a) {
|
|
|
4793
4838
|
)
|
|
4794
4839
|
}, props), {
|
|
4795
4840
|
children: [
|
|
4796
|
-
/* @__PURE__ */
|
|
4841
|
+
/* @__PURE__ */ jsx46(
|
|
4797
4842
|
"span",
|
|
4798
4843
|
{
|
|
4799
4844
|
"data-slot": "select-item-indicator",
|
|
4800
4845
|
className: "absolute right-2 flex size-3.5 items-center justify-center",
|
|
4801
|
-
children: /* @__PURE__ */
|
|
4846
|
+
children: /* @__PURE__ */ jsx46(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ jsx46(CheckIcon6, { className: "size-4 text-primary" }) })
|
|
4802
4847
|
}
|
|
4803
4848
|
),
|
|
4804
|
-
/* @__PURE__ */
|
|
4849
|
+
/* @__PURE__ */ jsx46(SelectPrimitive.ItemText, { children })
|
|
4805
4850
|
]
|
|
4806
4851
|
})
|
|
4807
4852
|
);
|
|
@@ -4812,7 +4857,7 @@ function SelectSeparator(_a) {
|
|
|
4812
4857
|
} = _b, props = __objRest(_b, [
|
|
4813
4858
|
"className"
|
|
4814
4859
|
]);
|
|
4815
|
-
return /* @__PURE__ */
|
|
4860
|
+
return /* @__PURE__ */ jsx46(
|
|
4816
4861
|
SelectPrimitive.Separator,
|
|
4817
4862
|
__spreadValues({
|
|
4818
4863
|
"data-slot": "select-separator",
|
|
@@ -4826,7 +4871,7 @@ function SelectScrollUpButton(_a) {
|
|
|
4826
4871
|
} = _b, props = __objRest(_b, [
|
|
4827
4872
|
"className"
|
|
4828
4873
|
]);
|
|
4829
|
-
return /* @__PURE__ */
|
|
4874
|
+
return /* @__PURE__ */ jsx46(
|
|
4830
4875
|
SelectPrimitive.ScrollUpButton,
|
|
4831
4876
|
__spreadProps(__spreadValues({
|
|
4832
4877
|
"data-slot": "select-scroll-up-button",
|
|
@@ -4835,7 +4880,7 @@ function SelectScrollUpButton(_a) {
|
|
|
4835
4880
|
className
|
|
4836
4881
|
)
|
|
4837
4882
|
}, props), {
|
|
4838
|
-
children: /* @__PURE__ */
|
|
4883
|
+
children: /* @__PURE__ */ jsx46(ChevronUpIcon, { className: "size-4" })
|
|
4839
4884
|
})
|
|
4840
4885
|
);
|
|
4841
4886
|
}
|
|
@@ -4845,7 +4890,7 @@ function SelectScrollDownButton(_a) {
|
|
|
4845
4890
|
} = _b, props = __objRest(_b, [
|
|
4846
4891
|
"className"
|
|
4847
4892
|
]);
|
|
4848
|
-
return /* @__PURE__ */
|
|
4893
|
+
return /* @__PURE__ */ jsx46(
|
|
4849
4894
|
SelectPrimitive.ScrollDownButton,
|
|
4850
4895
|
__spreadProps(__spreadValues({
|
|
4851
4896
|
"data-slot": "select-scroll-down-button",
|
|
@@ -4854,7 +4899,7 @@ function SelectScrollDownButton(_a) {
|
|
|
4854
4899
|
className
|
|
4855
4900
|
)
|
|
4856
4901
|
}, props), {
|
|
4857
|
-
children: /* @__PURE__ */
|
|
4902
|
+
children: /* @__PURE__ */ jsx46(ChevronDownIcon6, { className: "size-4" })
|
|
4858
4903
|
})
|
|
4859
4904
|
);
|
|
4860
4905
|
}
|
|
@@ -4862,22 +4907,22 @@ function SelectScrollDownButton(_a) {
|
|
|
4862
4907
|
// components/ui/sheet.tsx
|
|
4863
4908
|
import { XIcon as XIcon3 } from "lucide-react";
|
|
4864
4909
|
import { Dialog as SheetPrimitive } from "radix-ui";
|
|
4865
|
-
import { jsx as
|
|
4910
|
+
import { jsx as jsx47, jsxs as jsxs22 } from "react/jsx-runtime";
|
|
4866
4911
|
function Sheet(_a) {
|
|
4867
4912
|
var props = __objRest(_a, []);
|
|
4868
|
-
return /* @__PURE__ */
|
|
4913
|
+
return /* @__PURE__ */ jsx47(SheetPrimitive.Root, __spreadValues({ "data-slot": "sheet" }, props));
|
|
4869
4914
|
}
|
|
4870
4915
|
function SheetTrigger(_a) {
|
|
4871
4916
|
var props = __objRest(_a, []);
|
|
4872
|
-
return /* @__PURE__ */
|
|
4917
|
+
return /* @__PURE__ */ jsx47(SheetPrimitive.Trigger, __spreadValues({ "data-slot": "sheet-trigger" }, props));
|
|
4873
4918
|
}
|
|
4874
4919
|
function SheetClose(_a) {
|
|
4875
4920
|
var props = __objRest(_a, []);
|
|
4876
|
-
return /* @__PURE__ */
|
|
4921
|
+
return /* @__PURE__ */ jsx47(SheetPrimitive.Close, __spreadValues({ "data-slot": "sheet-close" }, props));
|
|
4877
4922
|
}
|
|
4878
4923
|
function SheetPortal(_a) {
|
|
4879
4924
|
var props = __objRest(_a, []);
|
|
4880
|
-
return /* @__PURE__ */
|
|
4925
|
+
return /* @__PURE__ */ jsx47(SheetPrimitive.Portal, __spreadValues({ "data-slot": "sheet-portal" }, props));
|
|
4881
4926
|
}
|
|
4882
4927
|
function SheetOverlay(_a) {
|
|
4883
4928
|
var _b = _a, {
|
|
@@ -4885,7 +4930,7 @@ function SheetOverlay(_a) {
|
|
|
4885
4930
|
} = _b, props = __objRest(_b, [
|
|
4886
4931
|
"className"
|
|
4887
4932
|
]);
|
|
4888
|
-
return /* @__PURE__ */
|
|
4933
|
+
return /* @__PURE__ */ jsx47(
|
|
4889
4934
|
SheetPrimitive.Overlay,
|
|
4890
4935
|
__spreadValues({
|
|
4891
4936
|
"data-slot": "sheet-overlay",
|
|
@@ -4909,7 +4954,7 @@ function SheetContent(_a) {
|
|
|
4909
4954
|
"showCloseButton"
|
|
4910
4955
|
]);
|
|
4911
4956
|
return /* @__PURE__ */ jsxs22(SheetPortal, { children: [
|
|
4912
|
-
/* @__PURE__ */
|
|
4957
|
+
/* @__PURE__ */ jsx47(SheetOverlay, {}),
|
|
4913
4958
|
/* @__PURE__ */ jsxs22(
|
|
4914
4959
|
SheetPrimitive.Content,
|
|
4915
4960
|
__spreadProps(__spreadValues({
|
|
@@ -4926,8 +4971,8 @@ function SheetContent(_a) {
|
|
|
4926
4971
|
children: [
|
|
4927
4972
|
children,
|
|
4928
4973
|
showCloseButton && /* @__PURE__ */ jsxs22(SheetPrimitive.Close, { className: "absolute top-4 right-4 rounded-xs opacity-70 ring-offset-prominent transition-opacity hover:opacity-100 focus:ring-2 focus:ring-ring focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
|
|
4929
|
-
/* @__PURE__ */
|
|
4930
|
-
/* @__PURE__ */
|
|
4974
|
+
/* @__PURE__ */ jsx47(XIcon3, { className: "size-4" }),
|
|
4975
|
+
/* @__PURE__ */ jsx47("span", { className: "sr-only", children: "Close" })
|
|
4931
4976
|
] })
|
|
4932
4977
|
]
|
|
4933
4978
|
})
|
|
@@ -4936,7 +4981,7 @@ function SheetContent(_a) {
|
|
|
4936
4981
|
}
|
|
4937
4982
|
function SheetHeader(_a) {
|
|
4938
4983
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4939
|
-
return /* @__PURE__ */
|
|
4984
|
+
return /* @__PURE__ */ jsx47(
|
|
4940
4985
|
"div",
|
|
4941
4986
|
__spreadValues({
|
|
4942
4987
|
"data-slot": "sheet-header",
|
|
@@ -4946,7 +4991,7 @@ function SheetHeader(_a) {
|
|
|
4946
4991
|
}
|
|
4947
4992
|
function SheetFooter(_a) {
|
|
4948
4993
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
4949
|
-
return /* @__PURE__ */
|
|
4994
|
+
return /* @__PURE__ */ jsx47(
|
|
4950
4995
|
"div",
|
|
4951
4996
|
__spreadValues({
|
|
4952
4997
|
"data-slot": "sheet-footer",
|
|
@@ -4960,7 +5005,7 @@ function SheetTitle(_a) {
|
|
|
4960
5005
|
} = _b, props = __objRest(_b, [
|
|
4961
5006
|
"className"
|
|
4962
5007
|
]);
|
|
4963
|
-
return /* @__PURE__ */
|
|
5008
|
+
return /* @__PURE__ */ jsx47(
|
|
4964
5009
|
SheetPrimitive.Title,
|
|
4965
5010
|
__spreadValues({
|
|
4966
5011
|
"data-slot": "sheet-title",
|
|
@@ -4974,7 +5019,7 @@ function SheetDescription(_a) {
|
|
|
4974
5019
|
} = _b, props = __objRest(_b, [
|
|
4975
5020
|
"className"
|
|
4976
5021
|
]);
|
|
4977
|
-
return /* @__PURE__ */
|
|
5022
|
+
return /* @__PURE__ */ jsx47(
|
|
4978
5023
|
SheetPrimitive.Description,
|
|
4979
5024
|
__spreadValues({
|
|
4980
5025
|
"data-slot": "sheet-description",
|
|
@@ -4985,9 +5030,9 @@ function SheetDescription(_a) {
|
|
|
4985
5030
|
|
|
4986
5031
|
// components/ui/sidebar.tsx
|
|
4987
5032
|
import * as React9 from "react";
|
|
4988
|
-
import { cva as
|
|
5033
|
+
import { cva as cva12 } from "class-variance-authority";
|
|
4989
5034
|
import { PanelLeftIcon } from "lucide-react";
|
|
4990
|
-
import { Slot as
|
|
5035
|
+
import { Slot as Slot8 } from "radix-ui";
|
|
4991
5036
|
|
|
4992
5037
|
// hooks/use-mobile.ts
|
|
4993
5038
|
import * as React8 from "react";
|
|
@@ -5007,10 +5052,10 @@ function useIsMobile() {
|
|
|
5007
5052
|
}
|
|
5008
5053
|
|
|
5009
5054
|
// components/ui/skeleton.tsx
|
|
5010
|
-
import { jsx as
|
|
5055
|
+
import { jsx as jsx48 } from "react/jsx-runtime";
|
|
5011
5056
|
function Skeleton(_a) {
|
|
5012
5057
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5013
|
-
return /* @__PURE__ */
|
|
5058
|
+
return /* @__PURE__ */ jsx48(
|
|
5014
5059
|
"div",
|
|
5015
5060
|
__spreadValues({
|
|
5016
5061
|
"data-slot": "skeleton",
|
|
@@ -5021,14 +5066,14 @@ function Skeleton(_a) {
|
|
|
5021
5066
|
|
|
5022
5067
|
// components/ui/tooltip.tsx
|
|
5023
5068
|
import { Tooltip as TooltipPrimitive } from "radix-ui";
|
|
5024
|
-
import { jsx as
|
|
5069
|
+
import { jsx as jsx49, jsxs as jsxs23 } from "react/jsx-runtime";
|
|
5025
5070
|
function TooltipProvider(_a) {
|
|
5026
5071
|
var _b = _a, {
|
|
5027
5072
|
delayDuration = 0
|
|
5028
5073
|
} = _b, props = __objRest(_b, [
|
|
5029
5074
|
"delayDuration"
|
|
5030
5075
|
]);
|
|
5031
|
-
return /* @__PURE__ */
|
|
5076
|
+
return /* @__PURE__ */ jsx49(
|
|
5032
5077
|
TooltipPrimitive.Provider,
|
|
5033
5078
|
__spreadValues({
|
|
5034
5079
|
"data-slot": "tooltip-provider",
|
|
@@ -5038,11 +5083,11 @@ function TooltipProvider(_a) {
|
|
|
5038
5083
|
}
|
|
5039
5084
|
function Tooltip2(_a) {
|
|
5040
5085
|
var props = __objRest(_a, []);
|
|
5041
|
-
return /* @__PURE__ */
|
|
5086
|
+
return /* @__PURE__ */ jsx49(TooltipPrimitive.Root, __spreadValues({ "data-slot": "tooltip" }, props));
|
|
5042
5087
|
}
|
|
5043
5088
|
function TooltipTrigger(_a) {
|
|
5044
5089
|
var props = __objRest(_a, []);
|
|
5045
|
-
return /* @__PURE__ */
|
|
5090
|
+
return /* @__PURE__ */ jsx49(TooltipPrimitive.Trigger, __spreadValues({ "data-slot": "tooltip-trigger" }, props));
|
|
5046
5091
|
}
|
|
5047
5092
|
function TooltipContent(_a) {
|
|
5048
5093
|
var _b = _a, {
|
|
@@ -5054,7 +5099,7 @@ function TooltipContent(_a) {
|
|
|
5054
5099
|
"sideOffset",
|
|
5055
5100
|
"children"
|
|
5056
5101
|
]);
|
|
5057
|
-
return /* @__PURE__ */
|
|
5102
|
+
return /* @__PURE__ */ jsx49(TooltipPrimitive.Portal, { children: /* @__PURE__ */ jsxs23(
|
|
5058
5103
|
TooltipPrimitive.Content,
|
|
5059
5104
|
__spreadProps(__spreadValues({
|
|
5060
5105
|
"data-slot": "tooltip-content",
|
|
@@ -5066,14 +5111,14 @@ function TooltipContent(_a) {
|
|
|
5066
5111
|
}, props), {
|
|
5067
5112
|
children: [
|
|
5068
5113
|
children,
|
|
5069
|
-
/* @__PURE__ */
|
|
5114
|
+
/* @__PURE__ */ jsx49(TooltipPrimitive.Arrow, { className: "fill-primary" })
|
|
5070
5115
|
]
|
|
5071
5116
|
})
|
|
5072
5117
|
) });
|
|
5073
5118
|
}
|
|
5074
5119
|
|
|
5075
5120
|
// components/ui/sidebar.tsx
|
|
5076
|
-
import { jsx as
|
|
5121
|
+
import { jsx as jsx50, jsxs as jsxs24 } from "react/jsx-runtime";
|
|
5077
5122
|
var SIDEBAR_COOKIE_NAME = "sidebar_state";
|
|
5078
5123
|
var SIDEBAR_COOKIE_MAX_AGE = 60 * 60 * 24 * 7;
|
|
5079
5124
|
var SIDEBAR_WIDTH = "16rem";
|
|
@@ -5146,7 +5191,7 @@ function SidebarProvider(_a) {
|
|
|
5146
5191
|
}),
|
|
5147
5192
|
[state, open, setOpen, isMobile, openMobile, setOpenMobile, toggleSidebar]
|
|
5148
5193
|
);
|
|
5149
|
-
return /* @__PURE__ */
|
|
5194
|
+
return /* @__PURE__ */ jsx50(SidebarContext.Provider, { value: contextValue, children: /* @__PURE__ */ jsx50(TooltipProvider, { delayDuration: 0, children: /* @__PURE__ */ jsx50(
|
|
5150
5195
|
"div",
|
|
5151
5196
|
__spreadProps(__spreadValues({
|
|
5152
5197
|
"data-slot": "sidebar-wrapper",
|
|
@@ -5179,7 +5224,7 @@ function Sidebar(_a) {
|
|
|
5179
5224
|
]);
|
|
5180
5225
|
const { isMobile, state, openMobile, setOpenMobile } = useSidebar();
|
|
5181
5226
|
if (collapsible === "none") {
|
|
5182
|
-
return /* @__PURE__ */
|
|
5227
|
+
return /* @__PURE__ */ jsx50(
|
|
5183
5228
|
"div",
|
|
5184
5229
|
__spreadProps(__spreadValues({
|
|
5185
5230
|
"data-slot": "sidebar",
|
|
@@ -5193,7 +5238,7 @@ function Sidebar(_a) {
|
|
|
5193
5238
|
);
|
|
5194
5239
|
}
|
|
5195
5240
|
if (isMobile) {
|
|
5196
|
-
return /* @__PURE__ */
|
|
5241
|
+
return /* @__PURE__ */ jsx50(Sheet, __spreadProps(__spreadValues({ open: openMobile, onOpenChange: setOpenMobile }, props), { children: /* @__PURE__ */ jsxs24(
|
|
5197
5242
|
SheetContent,
|
|
5198
5243
|
{
|
|
5199
5244
|
"data-sidebar": "sidebar",
|
|
@@ -5206,10 +5251,10 @@ function Sidebar(_a) {
|
|
|
5206
5251
|
side,
|
|
5207
5252
|
children: [
|
|
5208
5253
|
/* @__PURE__ */ jsxs24(SheetHeader, { className: "sr-only", children: [
|
|
5209
|
-
/* @__PURE__ */
|
|
5210
|
-
/* @__PURE__ */
|
|
5254
|
+
/* @__PURE__ */ jsx50(SheetTitle, { children: "Sidebar" }),
|
|
5255
|
+
/* @__PURE__ */ jsx50(SheetDescription, { children: "Displays the mobile sidebar." })
|
|
5211
5256
|
] }),
|
|
5212
|
-
/* @__PURE__ */
|
|
5257
|
+
/* @__PURE__ */ jsx50("div", { className: "flex h-full w-full flex-col", children })
|
|
5213
5258
|
]
|
|
5214
5259
|
}
|
|
5215
5260
|
) }));
|
|
@@ -5224,7 +5269,7 @@ function Sidebar(_a) {
|
|
|
5224
5269
|
"data-side": side,
|
|
5225
5270
|
"data-slot": "sidebar",
|
|
5226
5271
|
children: [
|
|
5227
|
-
/* @__PURE__ */
|
|
5272
|
+
/* @__PURE__ */ jsx50(
|
|
5228
5273
|
"div",
|
|
5229
5274
|
{
|
|
5230
5275
|
"data-slot": "sidebar-gap",
|
|
@@ -5236,7 +5281,7 @@ function Sidebar(_a) {
|
|
|
5236
5281
|
)
|
|
5237
5282
|
}
|
|
5238
5283
|
),
|
|
5239
|
-
/* @__PURE__ */
|
|
5284
|
+
/* @__PURE__ */ jsx50(
|
|
5240
5285
|
"div",
|
|
5241
5286
|
__spreadProps(__spreadValues({
|
|
5242
5287
|
"data-slot": "sidebar-container",
|
|
@@ -5248,7 +5293,7 @@ function Sidebar(_a) {
|
|
|
5248
5293
|
className
|
|
5249
5294
|
)
|
|
5250
5295
|
}, props), {
|
|
5251
|
-
children: /* @__PURE__ */
|
|
5296
|
+
children: /* @__PURE__ */ jsx50(
|
|
5252
5297
|
"div",
|
|
5253
5298
|
{
|
|
5254
5299
|
"data-sidebar": "sidebar",
|
|
@@ -5286,8 +5331,8 @@ function SidebarTrigger(_a) {
|
|
|
5286
5331
|
}
|
|
5287
5332
|
}, props), {
|
|
5288
5333
|
children: [
|
|
5289
|
-
/* @__PURE__ */
|
|
5290
|
-
/* @__PURE__ */
|
|
5334
|
+
/* @__PURE__ */ jsx50(PanelLeftIcon, {}),
|
|
5335
|
+
/* @__PURE__ */ jsx50("span", { className: "sr-only", children: "Toggle Sidebar" })
|
|
5291
5336
|
]
|
|
5292
5337
|
})
|
|
5293
5338
|
);
|
|
@@ -5295,7 +5340,7 @@ function SidebarTrigger(_a) {
|
|
|
5295
5340
|
function SidebarRail(_a) {
|
|
5296
5341
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5297
5342
|
const { toggleSidebar } = useSidebar();
|
|
5298
|
-
return /* @__PURE__ */
|
|
5343
|
+
return /* @__PURE__ */ jsx50(
|
|
5299
5344
|
"button",
|
|
5300
5345
|
__spreadValues({
|
|
5301
5346
|
"data-sidebar": "rail",
|
|
@@ -5318,7 +5363,7 @@ function SidebarRail(_a) {
|
|
|
5318
5363
|
}
|
|
5319
5364
|
function SidebarInset(_a) {
|
|
5320
5365
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5321
|
-
return /* @__PURE__ */
|
|
5366
|
+
return /* @__PURE__ */ jsx50(
|
|
5322
5367
|
"main",
|
|
5323
5368
|
__spreadValues({
|
|
5324
5369
|
"data-slot": "sidebar-inset",
|
|
@@ -5336,7 +5381,7 @@ function SidebarInput(_a) {
|
|
|
5336
5381
|
} = _b, props = __objRest(_b, [
|
|
5337
5382
|
"className"
|
|
5338
5383
|
]);
|
|
5339
|
-
return /* @__PURE__ */
|
|
5384
|
+
return /* @__PURE__ */ jsx50(
|
|
5340
5385
|
Input,
|
|
5341
5386
|
__spreadValues({
|
|
5342
5387
|
"data-slot": "sidebar-input",
|
|
@@ -5347,7 +5392,7 @@ function SidebarInput(_a) {
|
|
|
5347
5392
|
}
|
|
5348
5393
|
function SidebarHeader(_a) {
|
|
5349
5394
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5350
|
-
return /* @__PURE__ */
|
|
5395
|
+
return /* @__PURE__ */ jsx50(
|
|
5351
5396
|
"div",
|
|
5352
5397
|
__spreadValues({
|
|
5353
5398
|
"data-slot": "sidebar-header",
|
|
@@ -5358,7 +5403,7 @@ function SidebarHeader(_a) {
|
|
|
5358
5403
|
}
|
|
5359
5404
|
function SidebarFooter(_a) {
|
|
5360
5405
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5361
|
-
return /* @__PURE__ */
|
|
5406
|
+
return /* @__PURE__ */ jsx50(
|
|
5362
5407
|
"div",
|
|
5363
5408
|
__spreadValues({
|
|
5364
5409
|
"data-slot": "sidebar-footer",
|
|
@@ -5373,7 +5418,7 @@ function SidebarSeparator(_a) {
|
|
|
5373
5418
|
} = _b, props = __objRest(_b, [
|
|
5374
5419
|
"className"
|
|
5375
5420
|
]);
|
|
5376
|
-
return /* @__PURE__ */
|
|
5421
|
+
return /* @__PURE__ */ jsx50(
|
|
5377
5422
|
Separator,
|
|
5378
5423
|
__spreadValues({
|
|
5379
5424
|
"data-slot": "sidebar-separator",
|
|
@@ -5384,7 +5429,7 @@ function SidebarSeparator(_a) {
|
|
|
5384
5429
|
}
|
|
5385
5430
|
function SidebarContent(_a) {
|
|
5386
5431
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5387
|
-
return /* @__PURE__ */
|
|
5432
|
+
return /* @__PURE__ */ jsx50(
|
|
5388
5433
|
"div",
|
|
5389
5434
|
__spreadValues({
|
|
5390
5435
|
"data-slot": "sidebar-content",
|
|
@@ -5398,7 +5443,7 @@ function SidebarContent(_a) {
|
|
|
5398
5443
|
}
|
|
5399
5444
|
function SidebarGroup(_a) {
|
|
5400
5445
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5401
|
-
return /* @__PURE__ */
|
|
5446
|
+
return /* @__PURE__ */ jsx50(
|
|
5402
5447
|
"div",
|
|
5403
5448
|
__spreadValues({
|
|
5404
5449
|
"data-slot": "sidebar-group",
|
|
@@ -5415,8 +5460,8 @@ function SidebarGroupLabel(_a) {
|
|
|
5415
5460
|
"className",
|
|
5416
5461
|
"asChild"
|
|
5417
5462
|
]);
|
|
5418
|
-
const Comp = asChild ?
|
|
5419
|
-
return /* @__PURE__ */
|
|
5463
|
+
const Comp = asChild ? Slot8.Root : "div";
|
|
5464
|
+
return /* @__PURE__ */ jsx50(
|
|
5420
5465
|
Comp,
|
|
5421
5466
|
__spreadValues({
|
|
5422
5467
|
"data-slot": "sidebar-group-label",
|
|
@@ -5437,8 +5482,8 @@ function SidebarGroupAction(_a) {
|
|
|
5437
5482
|
"className",
|
|
5438
5483
|
"asChild"
|
|
5439
5484
|
]);
|
|
5440
|
-
const Comp = asChild ?
|
|
5441
|
-
return /* @__PURE__ */
|
|
5485
|
+
const Comp = asChild ? Slot8.Root : "button";
|
|
5486
|
+
return /* @__PURE__ */ jsx50(
|
|
5442
5487
|
Comp,
|
|
5443
5488
|
__spreadValues({
|
|
5444
5489
|
"data-slot": "sidebar-group-action",
|
|
@@ -5459,7 +5504,7 @@ function SidebarGroupContent(_a) {
|
|
|
5459
5504
|
} = _b, props = __objRest(_b, [
|
|
5460
5505
|
"className"
|
|
5461
5506
|
]);
|
|
5462
|
-
return /* @__PURE__ */
|
|
5507
|
+
return /* @__PURE__ */ jsx50(
|
|
5463
5508
|
"div",
|
|
5464
5509
|
__spreadValues({
|
|
5465
5510
|
"data-slot": "sidebar-group-content",
|
|
@@ -5470,7 +5515,7 @@ function SidebarGroupContent(_a) {
|
|
|
5470
5515
|
}
|
|
5471
5516
|
function SidebarMenu(_a) {
|
|
5472
5517
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5473
|
-
return /* @__PURE__ */
|
|
5518
|
+
return /* @__PURE__ */ jsx50(
|
|
5474
5519
|
"ul",
|
|
5475
5520
|
__spreadValues({
|
|
5476
5521
|
"data-slot": "sidebar-menu",
|
|
@@ -5481,7 +5526,7 @@ function SidebarMenu(_a) {
|
|
|
5481
5526
|
}
|
|
5482
5527
|
function SidebarMenuItem(_a) {
|
|
5483
5528
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5484
|
-
return /* @__PURE__ */
|
|
5529
|
+
return /* @__PURE__ */ jsx50(
|
|
5485
5530
|
"li",
|
|
5486
5531
|
__spreadValues({
|
|
5487
5532
|
"data-slot": "sidebar-menu-item",
|
|
@@ -5490,7 +5535,7 @@ function SidebarMenuItem(_a) {
|
|
|
5490
5535
|
}, props)
|
|
5491
5536
|
);
|
|
5492
5537
|
}
|
|
5493
|
-
var sidebarMenuButtonVariants =
|
|
5538
|
+
var sidebarMenuButtonVariants = cva12(
|
|
5494
5539
|
"peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-sm p-2 text-left text-sidebar-foreground text-sm ring-sidebar-ring outline-hidden transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! hover:bg-secondary-hover hover:text-primary focus-visible:ring-2 active:bg-secondary-hover active:text-primary disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-secondary-hover data-[active=true]:font-semibold data-[active=true]:text-primary data-[active=true]:hover:bg-secondary-hover data-[active=true]:hover:text-primary data-[state=open]:hover:bg-secondary-hover data-[state=open]:hover:text-primary [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0 data-[active=true]:[&>svg]:text-primary",
|
|
5495
5540
|
{
|
|
5496
5541
|
variants: {
|
|
@@ -5526,9 +5571,9 @@ function SidebarMenuButton(_a) {
|
|
|
5526
5571
|
"tooltip",
|
|
5527
5572
|
"className"
|
|
5528
5573
|
]);
|
|
5529
|
-
const Comp = asChild ?
|
|
5574
|
+
const Comp = asChild ? Slot8.Root : "button";
|
|
5530
5575
|
const { isMobile, state } = useSidebar();
|
|
5531
|
-
const button = /* @__PURE__ */
|
|
5576
|
+
const button = /* @__PURE__ */ jsx50(
|
|
5532
5577
|
Comp,
|
|
5533
5578
|
__spreadValues({
|
|
5534
5579
|
"data-slot": "sidebar-menu-button",
|
|
@@ -5547,8 +5592,8 @@ function SidebarMenuButton(_a) {
|
|
|
5547
5592
|
};
|
|
5548
5593
|
}
|
|
5549
5594
|
return /* @__PURE__ */ jsxs24(Tooltip2, { children: [
|
|
5550
|
-
/* @__PURE__ */
|
|
5551
|
-
/* @__PURE__ */
|
|
5595
|
+
/* @__PURE__ */ jsx50(TooltipTrigger, { asChild: true, children: button }),
|
|
5596
|
+
/* @__PURE__ */ jsx50(
|
|
5552
5597
|
TooltipContent,
|
|
5553
5598
|
__spreadValues({
|
|
5554
5599
|
side: "right",
|
|
@@ -5568,8 +5613,8 @@ function SidebarMenuAction(_a) {
|
|
|
5568
5613
|
"asChild",
|
|
5569
5614
|
"showOnHover"
|
|
5570
5615
|
]);
|
|
5571
|
-
const Comp = asChild ?
|
|
5572
|
-
return /* @__PURE__ */
|
|
5616
|
+
const Comp = asChild ? Slot8.Root : "button";
|
|
5617
|
+
return /* @__PURE__ */ jsx50(
|
|
5573
5618
|
Comp,
|
|
5574
5619
|
__spreadValues({
|
|
5575
5620
|
"data-slot": "sidebar-menu-action",
|
|
@@ -5594,7 +5639,7 @@ function SidebarMenuBadge(_a) {
|
|
|
5594
5639
|
} = _b, props = __objRest(_b, [
|
|
5595
5640
|
"className"
|
|
5596
5641
|
]);
|
|
5597
|
-
return /* @__PURE__ */
|
|
5642
|
+
return /* @__PURE__ */ jsx50(
|
|
5598
5643
|
"div",
|
|
5599
5644
|
__spreadValues({
|
|
5600
5645
|
"data-slot": "sidebar-menu-badge",
|
|
@@ -5628,14 +5673,14 @@ function SidebarMenuSkeleton(_a) {
|
|
|
5628
5673
|
className: cn("flex h-8 items-center gap-2 rounded-md px-2", className)
|
|
5629
5674
|
}, props), {
|
|
5630
5675
|
children: [
|
|
5631
|
-
showIcon && /* @__PURE__ */
|
|
5676
|
+
showIcon && /* @__PURE__ */ jsx50(
|
|
5632
5677
|
Skeleton,
|
|
5633
5678
|
{
|
|
5634
5679
|
className: "size-4 rounded-md",
|
|
5635
5680
|
"data-sidebar": "menu-skeleton-icon"
|
|
5636
5681
|
}
|
|
5637
5682
|
),
|
|
5638
|
-
/* @__PURE__ */
|
|
5683
|
+
/* @__PURE__ */ jsx50(
|
|
5639
5684
|
Skeleton,
|
|
5640
5685
|
{
|
|
5641
5686
|
className: "h-4 max-w-(--skeleton-width) flex-1",
|
|
@@ -5651,7 +5696,7 @@ function SidebarMenuSkeleton(_a) {
|
|
|
5651
5696
|
}
|
|
5652
5697
|
function SidebarMenuSub(_a) {
|
|
5653
5698
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
5654
|
-
return /* @__PURE__ */
|
|
5699
|
+
return /* @__PURE__ */ jsx50(
|
|
5655
5700
|
"ul",
|
|
5656
5701
|
__spreadValues({
|
|
5657
5702
|
"data-slot": "sidebar-menu-sub",
|
|
@@ -5670,7 +5715,7 @@ function SidebarMenuSubItem(_a) {
|
|
|
5670
5715
|
} = _b, props = __objRest(_b, [
|
|
5671
5716
|
"className"
|
|
5672
5717
|
]);
|
|
5673
|
-
return /* @__PURE__ */
|
|
5718
|
+
return /* @__PURE__ */ jsx50(
|
|
5674
5719
|
"li",
|
|
5675
5720
|
__spreadValues({
|
|
5676
5721
|
"data-slot": "sidebar-menu-sub-item",
|
|
@@ -5691,8 +5736,8 @@ function SidebarMenuSubButton(_a) {
|
|
|
5691
5736
|
"isActive",
|
|
5692
5737
|
"className"
|
|
5693
5738
|
]);
|
|
5694
|
-
const Comp = asChild ?
|
|
5695
|
-
return /* @__PURE__ */
|
|
5739
|
+
const Comp = asChild ? Slot8.Root : "a";
|
|
5740
|
+
return /* @__PURE__ */ jsx50(
|
|
5696
5741
|
Comp,
|
|
5697
5742
|
__spreadValues({
|
|
5698
5743
|
"data-slot": "sidebar-menu-sub-button",
|
|
@@ -5714,7 +5759,7 @@ function SidebarMenuSubButton(_a) {
|
|
|
5714
5759
|
// components/ui/slider.tsx
|
|
5715
5760
|
import * as React10 from "react";
|
|
5716
5761
|
import { Slider as SliderPrimitive } from "radix-ui";
|
|
5717
|
-
import { jsx as
|
|
5762
|
+
import { jsx as jsx51, jsxs as jsxs25 } from "react/jsx-runtime";
|
|
5718
5763
|
function Slider(_a) {
|
|
5719
5764
|
var _b = _a, {
|
|
5720
5765
|
className,
|
|
@@ -5747,14 +5792,14 @@ function Slider(_a) {
|
|
|
5747
5792
|
)
|
|
5748
5793
|
}, props), {
|
|
5749
5794
|
children: [
|
|
5750
|
-
/* @__PURE__ */
|
|
5795
|
+
/* @__PURE__ */ jsx51(
|
|
5751
5796
|
SliderPrimitive.Track,
|
|
5752
5797
|
{
|
|
5753
5798
|
"data-slot": "slider-track",
|
|
5754
5799
|
className: cn(
|
|
5755
5800
|
"relative grow overflow-hidden rounded-full bg-subtle data-[orientation=horizontal]:h-1.5 data-[orientation=horizontal]:w-full data-[orientation=vertical]:h-full data-[orientation=vertical]:w-1.5"
|
|
5756
5801
|
),
|
|
5757
|
-
children: /* @__PURE__ */
|
|
5802
|
+
children: /* @__PURE__ */ jsx51(
|
|
5758
5803
|
SliderPrimitive.Range,
|
|
5759
5804
|
{
|
|
5760
5805
|
"data-slot": "slider-range",
|
|
@@ -5765,7 +5810,7 @@ function Slider(_a) {
|
|
|
5765
5810
|
)
|
|
5766
5811
|
}
|
|
5767
5812
|
),
|
|
5768
|
-
Array.from({ length: _values.length }, (_, index) => /* @__PURE__ */
|
|
5813
|
+
Array.from({ length: _values.length }, (_, index) => /* @__PURE__ */ jsx51(
|
|
5769
5814
|
SliderPrimitive.Thumb,
|
|
5770
5815
|
{
|
|
5771
5816
|
"data-slot": "slider-thumb",
|
|
@@ -5788,12 +5833,12 @@ import {
|
|
|
5788
5833
|
} from "lucide-react";
|
|
5789
5834
|
import { useTheme } from "next-themes";
|
|
5790
5835
|
import { Toaster as Sonner } from "sonner";
|
|
5791
|
-
import { jsx as
|
|
5836
|
+
import { jsx as jsx52 } from "react/jsx-runtime";
|
|
5792
5837
|
var Toaster = (_a) => {
|
|
5793
5838
|
var props = __objRest(_a, []);
|
|
5794
5839
|
const { theme = "system" } = useTheme();
|
|
5795
5840
|
const isMobile = useIsMobile();
|
|
5796
|
-
return /* @__PURE__ */
|
|
5841
|
+
return /* @__PURE__ */ jsx52(
|
|
5797
5842
|
Sonner,
|
|
5798
5843
|
__spreadValues({
|
|
5799
5844
|
theme,
|
|
@@ -5802,11 +5847,11 @@ var Toaster = (_a) => {
|
|
|
5802
5847
|
visibleToasts: isMobile ? 1 : 3,
|
|
5803
5848
|
duration: 4e3,
|
|
5804
5849
|
icons: {
|
|
5805
|
-
success: /* @__PURE__ */
|
|
5806
|
-
info: /* @__PURE__ */
|
|
5807
|
-
warning: /* @__PURE__ */
|
|
5808
|
-
error: /* @__PURE__ */
|
|
5809
|
-
loading: /* @__PURE__ */
|
|
5850
|
+
success: /* @__PURE__ */ jsx52(CircleCheckIcon, { className: "size-4" }),
|
|
5851
|
+
info: /* @__PURE__ */ jsx52(InfoIcon, { className: "size-4" }),
|
|
5852
|
+
warning: /* @__PURE__ */ jsx52(TriangleAlertIcon, { className: "size-4" }),
|
|
5853
|
+
error: /* @__PURE__ */ jsx52(OctagonXIcon, { className: "size-4" }),
|
|
5854
|
+
loading: /* @__PURE__ */ jsx52(Loader2Icon, { className: "size-4 animate-spin" })
|
|
5810
5855
|
},
|
|
5811
5856
|
toastOptions: {
|
|
5812
5857
|
classNames: {
|
|
@@ -5829,7 +5874,7 @@ var Toaster = (_a) => {
|
|
|
5829
5874
|
// components/ui/stepper.tsx
|
|
5830
5875
|
import * as React11 from "react";
|
|
5831
5876
|
import { Minus, Plus } from "lucide-react";
|
|
5832
|
-
import { jsx as
|
|
5877
|
+
import { jsx as jsx53, jsxs as jsxs26 } from "react/jsx-runtime";
|
|
5833
5878
|
function clamp(value, min, max) {
|
|
5834
5879
|
return Math.min(Math.max(value, min), max);
|
|
5835
5880
|
}
|
|
@@ -5929,7 +5974,7 @@ function Stepper({
|
|
|
5929
5974
|
"data-disabled": disabled || void 0,
|
|
5930
5975
|
className: cn("w-32", container, className),
|
|
5931
5976
|
children: [
|
|
5932
|
-
/* @__PURE__ */
|
|
5977
|
+
/* @__PURE__ */ jsx53(InputGroupAddon, { align: "inline-start", children: /* @__PURE__ */ jsx53(
|
|
5933
5978
|
InputGroupButton,
|
|
5934
5979
|
{
|
|
5935
5980
|
size: buttonSize,
|
|
@@ -5937,10 +5982,10 @@ function Stepper({
|
|
|
5937
5982
|
onClick: handleDecrement,
|
|
5938
5983
|
disabled: disabled || currentValue <= min,
|
|
5939
5984
|
"aria-label": "Decrease value",
|
|
5940
|
-
children: /* @__PURE__ */
|
|
5985
|
+
children: /* @__PURE__ */ jsx53(Minus, { className: iconClass })
|
|
5941
5986
|
}
|
|
5942
5987
|
) }),
|
|
5943
|
-
/* @__PURE__ */
|
|
5988
|
+
/* @__PURE__ */ jsx53(
|
|
5944
5989
|
InputGroupInput,
|
|
5945
5990
|
{
|
|
5946
5991
|
type: "text",
|
|
@@ -5963,8 +6008,8 @@ function Stepper({
|
|
|
5963
6008
|
}
|
|
5964
6009
|
),
|
|
5965
6010
|
/* @__PURE__ */ jsxs26(InputGroupAddon, { align: "inline-end", children: [
|
|
5966
|
-
/* @__PURE__ */
|
|
5967
|
-
/* @__PURE__ */
|
|
6011
|
+
/* @__PURE__ */ jsx53(InputGroupText, { className: "font-normal text-on-subtle", children: "USDT" }),
|
|
6012
|
+
/* @__PURE__ */ jsx53(
|
|
5968
6013
|
InputGroupButton,
|
|
5969
6014
|
{
|
|
5970
6015
|
size: buttonSize,
|
|
@@ -5972,7 +6017,7 @@ function Stepper({
|
|
|
5972
6017
|
onClick: handleIncrement,
|
|
5973
6018
|
disabled: disabled || currentValue >= max,
|
|
5974
6019
|
"aria-label": "Increase value",
|
|
5975
|
-
children: /* @__PURE__ */
|
|
6020
|
+
children: /* @__PURE__ */ jsx53(Plus, { className: iconClass })
|
|
5976
6021
|
}
|
|
5977
6022
|
)
|
|
5978
6023
|
] })
|
|
@@ -5983,7 +6028,7 @@ function Stepper({
|
|
|
5983
6028
|
|
|
5984
6029
|
// components/ui/switch.tsx
|
|
5985
6030
|
import { Switch as SwitchPrimitive } from "radix-ui";
|
|
5986
|
-
import { jsx as
|
|
6031
|
+
import { jsx as jsx54 } from "react/jsx-runtime";
|
|
5987
6032
|
function Switch(_a) {
|
|
5988
6033
|
var _b = _a, {
|
|
5989
6034
|
className,
|
|
@@ -5992,7 +6037,7 @@ function Switch(_a) {
|
|
|
5992
6037
|
"className",
|
|
5993
6038
|
"size"
|
|
5994
6039
|
]);
|
|
5995
|
-
return /* @__PURE__ */
|
|
6040
|
+
return /* @__PURE__ */ jsx54(
|
|
5996
6041
|
SwitchPrimitive.Root,
|
|
5997
6042
|
__spreadProps(__spreadValues({
|
|
5998
6043
|
"data-slot": "switch",
|
|
@@ -6002,7 +6047,7 @@ function Switch(_a) {
|
|
|
6002
6047
|
className
|
|
6003
6048
|
)
|
|
6004
6049
|
}, props), {
|
|
6005
|
-
children: /* @__PURE__ */
|
|
6050
|
+
children: /* @__PURE__ */ jsx54(
|
|
6006
6051
|
SwitchPrimitive.Thumb,
|
|
6007
6052
|
{
|
|
6008
6053
|
"data-slot": "switch-thumb",
|
|
@@ -6016,15 +6061,15 @@ function Switch(_a) {
|
|
|
6016
6061
|
}
|
|
6017
6062
|
|
|
6018
6063
|
// components/ui/table.tsx
|
|
6019
|
-
import { jsx as
|
|
6064
|
+
import { jsx as jsx55 } from "react/jsx-runtime";
|
|
6020
6065
|
function Table(_a) {
|
|
6021
6066
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6022
|
-
return /* @__PURE__ */
|
|
6067
|
+
return /* @__PURE__ */ jsx55(
|
|
6023
6068
|
"div",
|
|
6024
6069
|
{
|
|
6025
6070
|
"data-slot": "table-container",
|
|
6026
6071
|
className: "relative w-full overflow-x-auto",
|
|
6027
|
-
children: /* @__PURE__ */
|
|
6072
|
+
children: /* @__PURE__ */ jsx55(
|
|
6028
6073
|
"table",
|
|
6029
6074
|
__spreadValues({
|
|
6030
6075
|
"data-slot": "table",
|
|
@@ -6036,7 +6081,7 @@ function Table(_a) {
|
|
|
6036
6081
|
}
|
|
6037
6082
|
function TableHeader(_a) {
|
|
6038
6083
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6039
|
-
return /* @__PURE__ */
|
|
6084
|
+
return /* @__PURE__ */ jsx55(
|
|
6040
6085
|
"thead",
|
|
6041
6086
|
__spreadValues({
|
|
6042
6087
|
"data-slot": "table-header",
|
|
@@ -6046,7 +6091,7 @@ function TableHeader(_a) {
|
|
|
6046
6091
|
}
|
|
6047
6092
|
function TableBody(_a) {
|
|
6048
6093
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6049
|
-
return /* @__PURE__ */
|
|
6094
|
+
return /* @__PURE__ */ jsx55(
|
|
6050
6095
|
"tbody",
|
|
6051
6096
|
__spreadValues({
|
|
6052
6097
|
"data-slot": "table-body",
|
|
@@ -6056,7 +6101,7 @@ function TableBody(_a) {
|
|
|
6056
6101
|
}
|
|
6057
6102
|
function TableFooter(_a) {
|
|
6058
6103
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6059
|
-
return /* @__PURE__ */
|
|
6104
|
+
return /* @__PURE__ */ jsx55(
|
|
6060
6105
|
"tfoot",
|
|
6061
6106
|
__spreadValues({
|
|
6062
6107
|
"data-slot": "table-footer",
|
|
@@ -6069,7 +6114,7 @@ function TableFooter(_a) {
|
|
|
6069
6114
|
}
|
|
6070
6115
|
function TableRow(_a) {
|
|
6071
6116
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6072
|
-
return /* @__PURE__ */
|
|
6117
|
+
return /* @__PURE__ */ jsx55(
|
|
6073
6118
|
"tr",
|
|
6074
6119
|
__spreadValues({
|
|
6075
6120
|
"data-slot": "table-row",
|
|
@@ -6082,7 +6127,7 @@ function TableRow(_a) {
|
|
|
6082
6127
|
}
|
|
6083
6128
|
function TableHead(_a) {
|
|
6084
6129
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6085
|
-
return /* @__PURE__ */
|
|
6130
|
+
return /* @__PURE__ */ jsx55(
|
|
6086
6131
|
"th",
|
|
6087
6132
|
__spreadValues({
|
|
6088
6133
|
"data-slot": "table-head",
|
|
@@ -6095,7 +6140,7 @@ function TableHead(_a) {
|
|
|
6095
6140
|
}
|
|
6096
6141
|
function TableCell(_a) {
|
|
6097
6142
|
var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
|
|
6098
|
-
return /* @__PURE__ */
|
|
6143
|
+
return /* @__PURE__ */ jsx55(
|
|
6099
6144
|
"td",
|
|
6100
6145
|
__spreadValues({
|
|
6101
6146
|
"data-slot": "table-cell",
|
|
@@ -6112,7 +6157,7 @@ function TableCaption(_a) {
|
|
|
6112
6157
|
} = _b, props = __objRest(_b, [
|
|
6113
6158
|
"className"
|
|
6114
6159
|
]);
|
|
6115
|
-
return /* @__PURE__ */
|
|
6160
|
+
return /* @__PURE__ */ jsx55(
|
|
6116
6161
|
"caption",
|
|
6117
6162
|
__spreadValues({
|
|
6118
6163
|
"data-slot": "table-caption",
|
|
@@ -6122,9 +6167,9 @@ function TableCaption(_a) {
|
|
|
6122
6167
|
}
|
|
6123
6168
|
|
|
6124
6169
|
// components/ui/tabs.tsx
|
|
6125
|
-
import { cva as
|
|
6170
|
+
import { cva as cva13 } from "class-variance-authority";
|
|
6126
6171
|
import { Tabs as TabsPrimitive } from "radix-ui";
|
|
6127
|
-
import { jsx as
|
|
6172
|
+
import { jsx as jsx56 } from "react/jsx-runtime";
|
|
6128
6173
|
function Tabs(_a) {
|
|
6129
6174
|
var _b = _a, {
|
|
6130
6175
|
className,
|
|
@@ -6133,7 +6178,7 @@ function Tabs(_a) {
|
|
|
6133
6178
|
"className",
|
|
6134
6179
|
"orientation"
|
|
6135
6180
|
]);
|
|
6136
|
-
return /* @__PURE__ */
|
|
6181
|
+
return /* @__PURE__ */ jsx56(
|
|
6137
6182
|
TabsPrimitive.Root,
|
|
6138
6183
|
__spreadValues({
|
|
6139
6184
|
"data-slot": "tabs",
|
|
@@ -6146,7 +6191,7 @@ function Tabs(_a) {
|
|
|
6146
6191
|
}, props)
|
|
6147
6192
|
);
|
|
6148
6193
|
}
|
|
6149
|
-
var tabsListVariants =
|
|
6194
|
+
var tabsListVariants = cva13(
|
|
6150
6195
|
"group/tabs-list inline-flex w-fit items-center justify-center text-on-subtle group-data-[orientation=vertical]/tabs:h-fit group-data-[orientation=vertical]/tabs:flex-col data-[variant=line]:rounded-none has-[[data-icon-position=top]]:h-auto",
|
|
6151
6196
|
{
|
|
6152
6197
|
variants: {
|
|
@@ -6176,7 +6221,7 @@ function TabsList(_a) {
|
|
|
6176
6221
|
"variant",
|
|
6177
6222
|
"size"
|
|
6178
6223
|
]);
|
|
6179
|
-
return /* @__PURE__ */
|
|
6224
|
+
return /* @__PURE__ */ jsx56(
|
|
6180
6225
|
TabsPrimitive.List,
|
|
6181
6226
|
__spreadValues({
|
|
6182
6227
|
"data-slot": "tabs-list",
|
|
@@ -6194,7 +6239,7 @@ function TabsTrigger(_a) {
|
|
|
6194
6239
|
"className",
|
|
6195
6240
|
"iconPosition"
|
|
6196
6241
|
]);
|
|
6197
|
-
return /* @__PURE__ */
|
|
6242
|
+
return /* @__PURE__ */ jsx56(
|
|
6198
6243
|
TabsPrimitive.Trigger,
|
|
6199
6244
|
__spreadValues({
|
|
6200
6245
|
"data-slot": "tabs-trigger",
|
|
@@ -6220,7 +6265,7 @@ function TabsContent(_a) {
|
|
|
6220
6265
|
} = _b, props = __objRest(_b, [
|
|
6221
6266
|
"className"
|
|
6222
6267
|
]);
|
|
6223
|
-
return /* @__PURE__ */
|
|
6268
|
+
return /* @__PURE__ */ jsx56(
|
|
6224
6269
|
TabsPrimitive.Content,
|
|
6225
6270
|
__spreadValues({
|
|
6226
6271
|
"data-slot": "tabs-content",
|
|
@@ -6230,101 +6275,120 @@ function TabsContent(_a) {
|
|
|
6230
6275
|
}
|
|
6231
6276
|
|
|
6232
6277
|
// components/ui/ticket-card.tsx
|
|
6233
|
-
import { ArrowRight as ArrowRight2 } from "lucide-react";
|
|
6234
|
-
import { jsx as
|
|
6278
|
+
import { ArrowRight as ArrowRight2, TicketPlus } from "lucide-react";
|
|
6279
|
+
import { Fragment as Fragment3, jsx as jsx57, jsxs as jsxs27 } from "react/jsx-runtime";
|
|
6235
6280
|
function TicketCard({
|
|
6281
|
+
className,
|
|
6236
6282
|
icon,
|
|
6237
6283
|
label,
|
|
6238
6284
|
value,
|
|
6239
|
-
|
|
6285
|
+
currency,
|
|
6240
6286
|
stubLabel,
|
|
6241
6287
|
onStubClick,
|
|
6242
6288
|
stubDisabled = false,
|
|
6243
|
-
|
|
6289
|
+
welcomeCredit,
|
|
6290
|
+
freeCredit,
|
|
6291
|
+
creditUsed = "10.00",
|
|
6292
|
+
creditTotal = "10.00",
|
|
6293
|
+
creditCurrency = "USDT",
|
|
6294
|
+
creditLabel = "Welcome credit",
|
|
6295
|
+
creditFullWidth = false
|
|
6244
6296
|
}) {
|
|
6245
|
-
|
|
6246
|
-
|
|
6247
|
-
|
|
6248
|
-
|
|
6249
|
-
|
|
6250
|
-
|
|
6251
|
-
|
|
6252
|
-
|
|
6297
|
+
var _a;
|
|
6298
|
+
const showCredit = (_a = welcomeCredit != null ? welcomeCredit : freeCredit) != null ? _a : false;
|
|
6299
|
+
const creditPct = Math.min(
|
|
6300
|
+
100,
|
|
6301
|
+
Math.max(0, parseFloat(creditUsed) / parseFloat(creditTotal) * 100)
|
|
6302
|
+
);
|
|
6303
|
+
return /* @__PURE__ */ jsxs27("div", { className: cn("flex w-full flex-col gap-2", className), children: [
|
|
6304
|
+
/* @__PURE__ */ jsxs27("div", { className: "relative flex h-20 w-full items-stretch justify-between rounded-sm bg-subtle", children: [
|
|
6305
|
+
/* @__PURE__ */ jsxs27("div", { className: "flex flex-1 items-center gap-4 overflow-hidden px-4", children: [
|
|
6306
|
+
icon && /* @__PURE__ */ jsx57("div", { className: "flex size-10 shrink-0 items-center justify-center rounded-full border-2 border-primary text-primary", children: icon }),
|
|
6307
|
+
/* @__PURE__ */ jsxs27("div", { className: "flex h-11 flex-col justify-center gap-1 whitespace-nowrap", children: [
|
|
6308
|
+
/* @__PURE__ */ jsx57("p", { className: "text-xs text-on-subtle", children: label }),
|
|
6309
|
+
/* @__PURE__ */ jsxs27("p", { className: "leading-none", children: [
|
|
6310
|
+
/* @__PURE__ */ jsx57("span", { className: "text-[20px] font-bold text-on-prominent", children: value }),
|
|
6311
|
+
currency && /* @__PURE__ */ jsxs27(Fragment3, { children: [
|
|
6312
|
+
" ",
|
|
6313
|
+
/* @__PURE__ */ jsx57("span", { className: "text-sm text-on-subtle", children: currency })
|
|
6314
|
+
] })
|
|
6315
|
+
] })
|
|
6316
|
+
] })
|
|
6317
|
+
] }),
|
|
6318
|
+
/* @__PURE__ */ jsx57("div", { "aria-hidden": true, className: "pointer-events-none absolute right-[88px] top-[-12px] z-10 size-6 rounded-full bg-prominent" }),
|
|
6319
|
+
/* @__PURE__ */ jsx57("div", { "aria-hidden": true, className: "pointer-events-none absolute right-[88px] top-[68px] z-10 size-6 rounded-full bg-prominent" }),
|
|
6320
|
+
/* @__PURE__ */ jsx57(
|
|
6321
|
+
"div",
|
|
6322
|
+
{
|
|
6323
|
+
"aria-hidden": true,
|
|
6324
|
+
className: "pointer-events-none absolute bottom-[12px] top-[12px] z-10 w-1 -translate-x-1/2",
|
|
6325
|
+
style: {
|
|
6326
|
+
right: 96,
|
|
6327
|
+
backgroundImage: "repeating-linear-gradient(to bottom, color-mix(in oklch, var(--border-subtle) 80%, black) 0px, color-mix(in oklch, var(--border-subtle) 80%, black) 3px, transparent 3px, transparent 6px)"
|
|
6328
|
+
}
|
|
6329
|
+
}
|
|
6253
6330
|
),
|
|
6254
|
-
|
|
6255
|
-
|
|
6256
|
-
|
|
6257
|
-
|
|
6258
|
-
|
|
6259
|
-
|
|
6260
|
-
|
|
6261
|
-
|
|
6262
|
-
"
|
|
6263
|
-
|
|
6264
|
-
|
|
6265
|
-
|
|
6266
|
-
}
|
|
6267
|
-
),
|
|
6268
|
-
/* @__PURE__ */ jsx56(
|
|
6269
|
-
"div",
|
|
6270
|
-
{
|
|
6271
|
-
"aria-hidden": true,
|
|
6272
|
-
className: "pointer-events-none absolute bottom-0 right-0 z-10 size-5 translate-x-1/2 translate-y-1/2 rounded-full bg-prominent"
|
|
6273
|
-
}
|
|
6331
|
+
/* @__PURE__ */ jsxs27(
|
|
6332
|
+
"button",
|
|
6333
|
+
{
|
|
6334
|
+
type: "button",
|
|
6335
|
+
onClick: onStubClick,
|
|
6336
|
+
disabled: stubDisabled,
|
|
6337
|
+
"aria-label": stubLabel,
|
|
6338
|
+
className: cn(
|
|
6339
|
+
"relative flex h-20 w-[100px] shrink-0 flex-col items-center justify-center gap-1 overflow-hidden rounded-r-sm bg-primary",
|
|
6340
|
+
"transition-colors duration-fast ease-standard",
|
|
6341
|
+
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
|
|
6342
|
+
stubDisabled ? "cursor-not-allowed opacity-50" : "hover:bg-primary-hover"
|
|
6274
6343
|
),
|
|
6275
|
-
|
|
6276
|
-
|
|
6277
|
-
|
|
6278
|
-
"aria-hidden": true,
|
|
6279
|
-
className: "pointer-events-none absolute bottom-4 right-0 top-4 -translate-x-1/2 border-l-2 border-dashed border-primary/30"
|
|
6280
|
-
}
|
|
6281
|
-
)
|
|
6282
|
-
] }),
|
|
6283
|
-
/* @__PURE__ */ jsx56(
|
|
6284
|
-
"div",
|
|
6285
|
-
{
|
|
6286
|
-
className: cn(
|
|
6287
|
-
"relative z-[1] inline-flex max-w-[72%] shrink-0 self-stretch sm:max-w-[44%]"
|
|
6288
|
-
),
|
|
6289
|
-
children: /* @__PURE__ */ jsxs27(
|
|
6290
|
-
"button",
|
|
6344
|
+
children: [
|
|
6345
|
+
!stubDisabled && /* @__PURE__ */ jsx57(
|
|
6346
|
+
"span",
|
|
6291
6347
|
{
|
|
6292
|
-
|
|
6293
|
-
|
|
6294
|
-
|
|
6295
|
-
|
|
6296
|
-
|
|
6297
|
-
"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",
|
|
6298
|
-
stubDisabled ? "bg-primary/30 cursor-not-allowed opacity-50 pointer-events-none" : "bg-primary cursor-pointer hover:bg-primary-hover"
|
|
6299
|
-
),
|
|
6300
|
-
children: [
|
|
6301
|
-
!stubDisabled && /* @__PURE__ */ jsx56(
|
|
6302
|
-
"span",
|
|
6303
|
-
{
|
|
6304
|
-
"aria-hidden": true,
|
|
6305
|
-
className: "absolute inset-0 pointer-events-none [animation:stub-shimmer_1.5s_linear_infinite]",
|
|
6306
|
-
style: {
|
|
6307
|
-
background: "linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.30) 50%, transparent 100%)"
|
|
6308
|
-
}
|
|
6309
|
-
}
|
|
6310
|
-
),
|
|
6311
|
-
stubIcon != null ? stubIcon : /* @__PURE__ */ jsx56(ArrowRight2, { className: "relative size-5 shrink-0 text-on-prominent-static-inverse" }),
|
|
6312
|
-
stubLabel && /* @__PURE__ */ jsx56("span", { className: "max-w-full text-balance text-center text-xs font-bold leading-tight tracking-wide text-on-prominent-static-inverse sm:tracking-widest", children: stubLabel })
|
|
6313
|
-
]
|
|
6348
|
+
"aria-hidden": true,
|
|
6349
|
+
className: "pointer-events-none absolute inset-0 [animation:stub-shimmer_1.5s_linear_infinite]",
|
|
6350
|
+
style: {
|
|
6351
|
+
background: "linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.30) 50%, transparent 100%)"
|
|
6352
|
+
}
|
|
6314
6353
|
}
|
|
6315
|
-
)
|
|
6354
|
+
),
|
|
6355
|
+
/* @__PURE__ */ jsx57(ArrowRight2, { className: "size-4 text-on-prominent-static-inverse" }),
|
|
6356
|
+
/* @__PURE__ */ jsx57("span", { className: "text-sm font-semibold text-on-prominent-static-inverse", children: stubLabel })
|
|
6357
|
+
]
|
|
6358
|
+
}
|
|
6359
|
+
)
|
|
6360
|
+
] }),
|
|
6361
|
+
showCredit && /* @__PURE__ */ jsxs27("div", { className: cn(
|
|
6362
|
+
"flex items-center gap-2 rounded-sm bg-subtle p-2",
|
|
6363
|
+
creditFullWidth ? "w-full" : "w-[calc(100%-112px)]"
|
|
6364
|
+
), children: [
|
|
6365
|
+
/* @__PURE__ */ jsx57(TicketPlus, { className: "size-6 shrink-0", style: { color: "#713813" } }),
|
|
6366
|
+
/* @__PURE__ */ jsxs27("div", { className: "flex min-w-0 flex-1 flex-col gap-1", children: [
|
|
6367
|
+
/* @__PURE__ */ jsxs27("div", { className: "flex items-center justify-between whitespace-nowrap text-[10px] font-semibold", style: { color: "#713813" }, children: [
|
|
6368
|
+
/* @__PURE__ */ jsx57("span", { children: creditLabel }),
|
|
6369
|
+
/* @__PURE__ */ jsxs27("span", { children: [
|
|
6370
|
+
/* @__PURE__ */ jsx57("span", { className: "text-on-prominent", children: creditUsed }),
|
|
6371
|
+
` / ${creditTotal} ${creditCurrency}`
|
|
6372
|
+
] })
|
|
6373
|
+
] }),
|
|
6374
|
+
/* @__PURE__ */ jsx57(
|
|
6375
|
+
Progress,
|
|
6376
|
+
{
|
|
6377
|
+
value: creditPct,
|
|
6378
|
+
className: "h-1 bg-black/8 [&>[data-slot=progress-indicator]]:bg-[#ef9f00]"
|
|
6316
6379
|
}
|
|
6317
6380
|
)
|
|
6318
|
-
]
|
|
6319
|
-
}
|
|
6320
|
-
);
|
|
6381
|
+
] })
|
|
6382
|
+
] })
|
|
6383
|
+
] });
|
|
6321
6384
|
}
|
|
6385
|
+
var TicketCardDesktop = TicketCard;
|
|
6322
6386
|
|
|
6323
6387
|
// components/ui/toggle.tsx
|
|
6324
|
-
import { cva as
|
|
6388
|
+
import { cva as cva14 } from "class-variance-authority";
|
|
6325
6389
|
import { Toggle as TogglePrimitive } from "radix-ui";
|
|
6326
|
-
import { jsx as
|
|
6327
|
-
var toggleVariants =
|
|
6390
|
+
import { jsx as jsx58 } from "react/jsx-runtime";
|
|
6391
|
+
var toggleVariants = cva14(
|
|
6328
6392
|
"inline-flex items-center justify-center gap-2 rounded-md text-sm font-medium whitespace-nowrap transition-[color,box-shadow] outline-none hover:bg-secondary-hover hover:text-on-prominent focus-visible:border-ring focus-visible:ring-[3px] focus-visible:ring-ring/50 disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-destructive/20 data-[state=on]:bg-secondary-hover data-[state=on]:border-transparent data-[state=on]:text-primary [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
|
|
6329
6393
|
{
|
|
6330
6394
|
variants: {
|
|
@@ -6354,7 +6418,7 @@ function Toggle(_a) {
|
|
|
6354
6418
|
"variant",
|
|
6355
6419
|
"size"
|
|
6356
6420
|
]);
|
|
6357
|
-
return /* @__PURE__ */
|
|
6421
|
+
return /* @__PURE__ */ jsx58(
|
|
6358
6422
|
TogglePrimitive.Root,
|
|
6359
6423
|
__spreadValues({
|
|
6360
6424
|
"data-slot": "toggle",
|
|
@@ -6366,7 +6430,7 @@ function Toggle(_a) {
|
|
|
6366
6430
|
// components/ui/toggle-group.tsx
|
|
6367
6431
|
import * as React12 from "react";
|
|
6368
6432
|
import { ToggleGroup as ToggleGroupPrimitive } from "radix-ui";
|
|
6369
|
-
import { jsx as
|
|
6433
|
+
import { jsx as jsx59 } from "react/jsx-runtime";
|
|
6370
6434
|
var ToggleGroupContext = React12.createContext({
|
|
6371
6435
|
size: "default",
|
|
6372
6436
|
variant: "default",
|
|
@@ -6386,7 +6450,7 @@ function ToggleGroup(_a) {
|
|
|
6386
6450
|
"spacing",
|
|
6387
6451
|
"children"
|
|
6388
6452
|
]);
|
|
6389
|
-
return /* @__PURE__ */
|
|
6453
|
+
return /* @__PURE__ */ jsx59(
|
|
6390
6454
|
ToggleGroupPrimitive.Root,
|
|
6391
6455
|
__spreadProps(__spreadValues({
|
|
6392
6456
|
"data-slot": "toggle-group",
|
|
@@ -6399,7 +6463,7 @@ function ToggleGroup(_a) {
|
|
|
6399
6463
|
className
|
|
6400
6464
|
)
|
|
6401
6465
|
}, props), {
|
|
6402
|
-
children: /* @__PURE__ */
|
|
6466
|
+
children: /* @__PURE__ */ jsx59(ToggleGroupContext.Provider, { value: { variant, size, spacing }, children })
|
|
6403
6467
|
})
|
|
6404
6468
|
);
|
|
6405
6469
|
}
|
|
@@ -6416,7 +6480,7 @@ function ToggleGroupItem(_a) {
|
|
|
6416
6480
|
"size"
|
|
6417
6481
|
]);
|
|
6418
6482
|
const context = React12.useContext(ToggleGroupContext);
|
|
6419
|
-
return /* @__PURE__ */
|
|
6483
|
+
return /* @__PURE__ */ jsx59(
|
|
6420
6484
|
ToggleGroupPrimitive.Item,
|
|
6421
6485
|
__spreadProps(__spreadValues({
|
|
6422
6486
|
"data-slot": "toggle-group-item",
|
|
@@ -6642,6 +6706,7 @@ export {
|
|
|
6642
6706
|
NativeSelect,
|
|
6643
6707
|
NativeSelectOptGroup,
|
|
6644
6708
|
NativeSelectOption,
|
|
6709
|
+
NavigationButton,
|
|
6645
6710
|
NavigationMenu,
|
|
6646
6711
|
NavigationMenuContent,
|
|
6647
6712
|
NavigationMenuIndicator,
|
|
@@ -6733,6 +6798,7 @@ export {
|
|
|
6733
6798
|
TabsTrigger,
|
|
6734
6799
|
Textarea,
|
|
6735
6800
|
TicketCard,
|
|
6801
|
+
TicketCardDesktop,
|
|
6736
6802
|
Toaster,
|
|
6737
6803
|
Toggle,
|
|
6738
6804
|
ToggleGroup,
|
|
@@ -6746,6 +6812,7 @@ export {
|
|
|
6746
6812
|
cn,
|
|
6747
6813
|
inputVariants,
|
|
6748
6814
|
linkVariants,
|
|
6815
|
+
navigationButtonVariants,
|
|
6749
6816
|
navigationMenuTriggerStyle,
|
|
6750
6817
|
tabsListVariants,
|
|
6751
6818
|
toggleVariants,
|