@deepnoid/ui 0.1.157 → 0.1.159
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/.turbo/turbo-build.log +168 -158
- package/dist/{chunk-DQ3ZRNX4.mjs → chunk-3QE57PU3.mjs} +1 -1
- package/dist/{chunk-5KOTQEFC.mjs → chunk-3X376ACN.mjs} +1 -1
- package/dist/{chunk-IN6M25YL.mjs → chunk-46EIW6MN.mjs} +2 -2
- package/dist/{chunk-MGGBCCZL.mjs → chunk-7QL54JRV.mjs} +2 -2
- package/dist/{chunk-ACFDUCPL.mjs → chunk-CSG6FDBX.mjs} +2 -2
- package/dist/{chunk-VUMESK5D.mjs → chunk-DDFJMHBC.mjs} +37 -2
- package/dist/{chunk-NB45YSED.mjs → chunk-ITFEV25U.mjs} +1 -1
- package/dist/{chunk-DSEF7GGB.mjs → chunk-JKYLYL3A.mjs} +1 -1
- package/dist/{chunk-QJUPHJN6.mjs → chunk-KLBA5J2H.mjs} +1 -1
- package/dist/chunk-L5FRTUM6.mjs +100 -0
- package/dist/{chunk-T7IJB3N4.mjs → chunk-OBOPDVVM.mjs} +4 -4
- package/dist/chunk-OLQOLLKG.mjs +1 -0
- package/dist/{chunk-JJAPJQUD.mjs → chunk-OY5W6JCO.mjs} +1 -1
- package/dist/{chunk-PO4H65C3.mjs → chunk-PXAJEOZS.mjs} +1 -1
- package/dist/{chunk-T6V6BJOT.mjs → chunk-QHETCLHO.mjs} +2 -2
- package/dist/{chunk-BFC4VP3B.mjs → chunk-QR5CKZLL.mjs} +57 -62
- package/dist/{chunk-LBJN5TAP.mjs → chunk-R7KUEH3N.mjs} +1 -1
- package/dist/{chunk-ZUAOUHWS.mjs → chunk-SFA2DEUD.mjs} +3 -3
- package/dist/{chunk-HLWNJLRZ.mjs → chunk-XHCPYYMC.mjs} +1 -1
- package/dist/{chunk-73NBUI4Y.mjs → chunk-YQYO5RLZ.mjs} +1 -1
- package/dist/{chunk-SHI7P4DQ.mjs → chunk-Z7CLJYRF.mjs} +1 -1
- package/dist/components/avatar/avatar.js +37 -2
- package/dist/components/avatar/avatar.mjs +2 -2
- package/dist/components/avatar/index.js +37 -2
- package/dist/components/avatar/index.mjs +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +37 -2
- package/dist/components/breadcrumb/breadcrumb.mjs +5 -5
- package/dist/components/breadcrumb/index.js +37 -2
- package/dist/components/breadcrumb/index.mjs +5 -5
- package/dist/components/button/button.js +37 -2
- package/dist/components/button/button.mjs +3 -3
- package/dist/components/button/icon-button.js +37 -2
- package/dist/components/button/icon-button.mjs +3 -3
- package/dist/components/button/index.js +37 -2
- package/dist/components/button/index.mjs +4 -4
- package/dist/components/chip/chip.js +37 -2
- package/dist/components/chip/chip.mjs +3 -3
- package/dist/components/chip/index.js +37 -2
- package/dist/components/chip/index.mjs +3 -3
- package/dist/components/fileUpload/fileUpload.js +93 -63
- package/dist/components/fileUpload/fileUpload.mjs +6 -6
- package/dist/components/fileUpload/index.js +93 -63
- package/dist/components/fileUpload/index.mjs +6 -6
- package/dist/components/icon/Icon.d.mts +4 -0
- package/dist/components/icon/Icon.d.ts +4 -0
- package/dist/components/icon/Icon.js +37 -2
- package/dist/components/icon/Icon.mjs +2 -2
- package/dist/components/icon/index.js +37 -2
- package/dist/components/icon/index.mjs +2 -2
- package/dist/components/icon/template.d.mts +1 -0
- package/dist/components/icon/template.d.ts +1 -0
- package/dist/components/icon/template.js +37 -2
- package/dist/components/icon/template.mjs +1 -1
- package/dist/components/input/index.js +93 -63
- package/dist/components/input/index.mjs +3 -3
- package/dist/components/input/input.d.mts +6 -3
- package/dist/components/input/input.d.ts +6 -3
- package/dist/components/input/input.js +93 -63
- package/dist/components/input/input.mjs +3 -3
- package/dist/components/list/index.js +37 -2
- package/dist/components/list/index.mjs +4 -4
- package/dist/components/list/listItem.js +37 -2
- package/dist/components/list/listItem.mjs +4 -4
- package/dist/components/modal/index.js +37 -2
- package/dist/components/modal/index.mjs +5 -5
- package/dist/components/modal/modal.js +37 -2
- package/dist/components/modal/modal.mjs +5 -5
- package/dist/components/pagination/index.js +93 -63
- package/dist/components/pagination/index.mjs +4 -4
- package/dist/components/pagination/pagination.js +93 -63
- package/dist/components/pagination/pagination.mjs +4 -4
- package/dist/components/picker/datePicker.js +93 -63
- package/dist/components/picker/datePicker.mjs +6 -6
- package/dist/components/picker/day.d.mts +2 -2
- package/dist/components/picker/day.d.ts +2 -2
- package/dist/components/picker/index.js +93 -63
- package/dist/components/picker/index.mjs +8 -8
- package/dist/components/picker/timePicker.js +37 -2
- package/dist/components/picker/timePicker.mjs +4 -4
- package/dist/components/select/index.js +37 -2
- package/dist/components/select/index.mjs +3 -3
- package/dist/components/select/select.js +37 -2
- package/dist/components/select/select.mjs +3 -3
- package/dist/components/starRating/index.d.mts +4 -0
- package/dist/components/starRating/index.d.ts +4 -0
- package/dist/components/starRating/index.js +5279 -0
- package/dist/components/starRating/index.mjs +14 -0
- package/dist/components/starRating/starRating.d.mts +60 -0
- package/dist/components/starRating/starRating.d.ts +60 -0
- package/dist/components/starRating/starRating.js +5278 -0
- package/dist/components/starRating/starRating.mjs +15 -0
- package/dist/components/table/index.js +93 -63
- package/dist/components/table/index.mjs +7 -7
- package/dist/components/table/table-body.js +93 -63
- package/dist/components/table/table-body.mjs +5 -5
- package/dist/components/table/table-head.js +93 -63
- package/dist/components/table/table-head.mjs +5 -5
- package/dist/components/table/table.js +93 -63
- package/dist/components/table/table.mjs +5 -5
- package/dist/components/timePicker/calendar.js +37 -2
- package/dist/components/timePicker/calendar.mjs +2 -2
- package/dist/components/toast/index.js +37 -2
- package/dist/components/toast/index.mjs +4 -4
- package/dist/components/toast/toast.js +37 -2
- package/dist/components/toast/toast.mjs +3 -3
- package/dist/components/toast/use-toast.js +37 -2
- package/dist/components/toast/use-toast.mjs +4 -4
- package/dist/components/tree/index.js +37 -2
- package/dist/components/tree/index.mjs +3 -3
- package/dist/components/tree/tree.js +37 -2
- package/dist/components/tree/tree.mjs +3 -3
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +180 -63
- package/dist/index.mjs +37 -32
- package/package.json +1 -1
|
@@ -487,8 +487,8 @@ var template = {
|
|
|
487
487
|
{
|
|
488
488
|
fillRule: "evenodd",
|
|
489
489
|
clipRule: "evenodd",
|
|
490
|
-
|
|
491
|
-
|
|
490
|
+
d: "M8.26603 3.51086C8.53733 2.82971 9.46267 2.82971 9.73397 3.51086L10.9948 6.67687L14.2674 6.95135C14.9723 7.01017 15.2582 7.92848 14.721 8.40913L12.2278 10.6398L12.989 13.9746C13.1531 14.6931 12.4052 15.2604 11.8021 14.8759L9 13.0886L6.19794 14.8759C5.59478 15.2604 4.84687 14.6925 5.01099 13.9746L5.77221 10.6398L3.27901 8.40913C2.74185 7.92848 3.02769 7.01017 3.73259 6.95135L7.00519 6.67687L8.26603 3.51086Z",
|
|
491
|
+
fill: "currentColor"
|
|
492
492
|
}
|
|
493
493
|
) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
494
494
|
"path",
|
|
@@ -502,6 +502,41 @@ var template = {
|
|
|
502
502
|
}
|
|
503
503
|
);
|
|
504
504
|
},
|
|
505
|
+
halfStar: ({ className }) => {
|
|
506
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
507
|
+
"svg",
|
|
508
|
+
{
|
|
509
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
510
|
+
width: "18",
|
|
511
|
+
height: "18",
|
|
512
|
+
viewBox: "0 0 18 18",
|
|
513
|
+
fill: "none",
|
|
514
|
+
className,
|
|
515
|
+
children: [
|
|
516
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("clipPath", { id: "half-clip", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { x: "0", y: "0", width: "9", height: "18" }) }) }),
|
|
517
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
518
|
+
"path",
|
|
519
|
+
{
|
|
520
|
+
fillRule: "evenodd",
|
|
521
|
+
clipRule: "evenodd",
|
|
522
|
+
fill: "currentColor",
|
|
523
|
+
d: "M8.26603 3.51086C8.53733 2.82971 9.46267 2.82971 9.73397 3.51086L10.9948 6.67687L14.2674 6.95135C14.9723 7.01017 15.2582 7.92848 14.721 8.40913L12.2278 10.6398L12.989 13.9746C13.1531 14.6931 12.4052 15.2604 11.8021 14.8759L9 13.0886L6.19794 14.8759C5.59478 15.2604 4.84687 14.6925 5.01099 13.9746L5.77221 10.6398L3.27901 8.40913C2.74185 7.92848 3.02769 7.01017 3.73259 6.95135L7.00519 6.67687L8.26603 3.51086Z",
|
|
524
|
+
clipPath: "url(#half-clip)"
|
|
525
|
+
}
|
|
526
|
+
),
|
|
527
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
528
|
+
"path",
|
|
529
|
+
{
|
|
530
|
+
d: "M8.65925 3.23957C8.68697 3.16871 8.73417 3.1081 8.79484 3.06544C8.85552 3.02278 8.92693 3 9 3C9.07306 3 9.14448 3.02278 9.20515 3.06544C9.26583 3.1081 9.31303 3.16871 9.34074 3.23957L10.7332 6.74977C10.7593 6.81546 10.8021 6.87233 10.857 6.91413C10.912 6.95594 10.9768 6.98105 11.0445 6.98672L14.6603 7.29028C14.9873 7.31775 15.1196 7.74563 14.8706 7.96883L12.1158 10.4427C12.0644 10.4888 12.026 10.5489 12.005 10.6164C11.984 10.6839 11.981 10.7561 11.9966 10.8252L12.8386 14.5236C12.8555 14.5978 12.8511 14.6756 12.8259 14.7471C12.8006 14.8187 12.7557 14.8808 12.6968 14.9257C12.6379 14.9705 12.5677 14.996 12.495 14.999C12.4222 15.002 12.3503 14.9824 12.2882 14.9425L9.19199 12.9611C9.13418 12.9241 9.06775 12.9045 9 12.9045C8.93225 12.9045 8.86581 12.9241 8.808 12.9611L5.71181 14.9432C5.64973 14.9831 5.57778 15.0027 5.50504 14.9997C5.43231 14.9967 5.36206 14.9712 5.30316 14.9263C5.24426 14.8815 5.19936 14.8194 5.17412 14.7478C5.14889 14.6763 5.14445 14.5985 5.16138 14.5243L6.00341 10.8252C6.01903 10.7561 6.01616 10.6838 5.99511 10.6164C5.97407 10.5489 5.93568 10.4888 5.88415 10.4427L3.12936 7.96883C3.07389 7.91927 3.03369 7.85357 3.01387 7.78005C2.99405 7.70652 2.9955 7.62849 3.01802 7.55583C3.04055 7.48317 3.08314 7.41915 3.1404 7.37188C3.19767 7.3246 3.26703 7.29621 3.33971 7.29028L6.95553 6.98672C7.02319 6.98105 7.08804 6.95594 7.14296 6.91413C7.19787 6.87233 7.24072 6.81546 7.26679 6.74977L8.65925 3.23957Z",
|
|
531
|
+
stroke: "currentColor",
|
|
532
|
+
strokeLinecap: "round",
|
|
533
|
+
strokeLinejoin: "round"
|
|
534
|
+
}
|
|
535
|
+
)
|
|
536
|
+
]
|
|
537
|
+
}
|
|
538
|
+
);
|
|
539
|
+
},
|
|
505
540
|
avatar: ({ className }) => {
|
|
506
541
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
507
542
|
"svg",
|
|
@@ -5238,7 +5273,7 @@ var Input = (0, import_react2.forwardRef)((originalProps, ref) => {
|
|
|
5238
5273
|
),
|
|
5239
5274
|
size: originalProps.size
|
|
5240
5275
|
}),
|
|
5241
|
-
[slots, classNames, originalProps.size]
|
|
5276
|
+
[slots, classNames, originalProps.size, inputProps.readOnly]
|
|
5242
5277
|
);
|
|
5243
5278
|
const renderStartContent = () => {
|
|
5244
5279
|
if ((0, import_react2.isValidElement)(startContent)) {
|
|
@@ -5361,31 +5396,22 @@ var inputStyle = tv(
|
|
|
5361
5396
|
"placeholder:text-neutral-main",
|
|
5362
5397
|
"outline-none",
|
|
5363
5398
|
"focus:ring-0",
|
|
5364
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
5365
|
-
"group-has-[:hover]/input:placeholder:text-neutral-dark",
|
|
5366
|
-
"group-has-[:focus]/input:text-neutral-dark",
|
|
5367
|
-
"group-has-[:focus]/input:placeholder:text-neutral-dark",
|
|
5368
|
-
"
|
|
5369
|
-
"
|
|
5370
|
-
"group-has-[p.error]/input:placeholder:hover:!text-danger-main"
|
|
5399
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
|
|
5400
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:placeholder:text-neutral-dark",
|
|
5401
|
+
"group-has-[:focus:not(:read-only)]/input:text-neutral-dark",
|
|
5402
|
+
"group-has-[:focus:not(:read-only)]/input:placeholder:text-neutral-dark",
|
|
5403
|
+
"read-only:!text-body-foreground",
|
|
5404
|
+
"read-only:placeholder:!text-body-foreground"
|
|
5371
5405
|
],
|
|
5372
5406
|
content: [
|
|
5373
5407
|
"flex",
|
|
5374
5408
|
"items-center",
|
|
5375
5409
|
"select-none",
|
|
5376
5410
|
"text-neutral-main",
|
|
5377
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
5378
|
-
"
|
|
5379
|
-
"group-has-[p.error]/input:hover:text-danger-main",
|
|
5380
|
-
"group-has-[p.error]/input:focus:text-danger-main"
|
|
5381
|
-
],
|
|
5382
|
-
helperMessage: [
|
|
5383
|
-
"text-neutral-main",
|
|
5384
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
5385
|
-
"group-has-[p.error]/input:text-danger-main",
|
|
5386
|
-
"group-has-[p.error]/input:hover:text-danger-main",
|
|
5387
|
-
"group-has-[p.error]/input:focus:text-danger-main"
|
|
5411
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
|
|
5412
|
+
"read-only:!text-body-foreground"
|
|
5388
5413
|
],
|
|
5414
|
+
helperMessage: ["text-neutral-main", "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark"],
|
|
5389
5415
|
errorMessage: ["text-danger-main"],
|
|
5390
5416
|
readonlyWrapper: [
|
|
5391
5417
|
"pointer-events-none",
|
|
@@ -5394,7 +5420,7 @@ var inputStyle = tv(
|
|
|
5394
5420
|
"[&>input]:text-body-foreground",
|
|
5395
5421
|
"[&>input]:placeholder:text-body-foreground"
|
|
5396
5422
|
],
|
|
5397
|
-
readonly: []
|
|
5423
|
+
readonly: ["text-body-foreground"]
|
|
5398
5424
|
},
|
|
5399
5425
|
variants: {
|
|
5400
5426
|
variant: {
|
|
@@ -5405,8 +5431,8 @@ var inputStyle = tv(
|
|
|
5405
5431
|
outline: {
|
|
5406
5432
|
inputWrapper: [
|
|
5407
5433
|
"border-neutral-light",
|
|
5408
|
-
"group-has-[:hover]/input:bg-trans-soft",
|
|
5409
|
-
"group-has-[:focus]/input:bg-body-background",
|
|
5434
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
|
|
5435
|
+
"group-has-[:focus:not(:read-only)]/input:bg-body-background",
|
|
5410
5436
|
"group-has-[p.error]/input:border-danger-main"
|
|
5411
5437
|
],
|
|
5412
5438
|
readonlyWrapper: ["!bg-trans-soft"]
|
|
@@ -5415,8 +5441,8 @@ var inputStyle = tv(
|
|
|
5415
5441
|
inputWrapper: [
|
|
5416
5442
|
"bg-transparent",
|
|
5417
5443
|
"rounded-none",
|
|
5418
|
-
"group-has-[:hover]/input:bg-trans-soft",
|
|
5419
|
-
"group-has-[:focus]/input:bg-body-background",
|
|
5444
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
|
|
5445
|
+
"group-has-[:focus:not(:read-only)]/input:bg-body-background",
|
|
5420
5446
|
"group-has-[p.error]/input:border-danger-main"
|
|
5421
5447
|
],
|
|
5422
5448
|
readonlyWrapper: ["!bg-trans-soft"]
|
|
@@ -5424,22 +5450,13 @@ var inputStyle = tv(
|
|
|
5424
5450
|
},
|
|
5425
5451
|
color: {
|
|
5426
5452
|
primary: {
|
|
5427
|
-
content: ["group-has-[:focus]/input:text-primary-main", "
|
|
5428
|
-
helperMessage: [
|
|
5429
|
-
"group-has-[:focus]/input:text-primary-main",
|
|
5430
|
-
"group-has-[:focus]/input:hover:text-primary-main"
|
|
5431
|
-
],
|
|
5453
|
+
content: ["group-has-[:focus:not(:read-only)]/input:text-primary-main", "read-only:!text-primary-main"],
|
|
5454
|
+
helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-primary-main"],
|
|
5432
5455
|
readonly: ["text-primary-main"]
|
|
5433
5456
|
},
|
|
5434
5457
|
secondary: {
|
|
5435
|
-
content: [
|
|
5436
|
-
|
|
5437
|
-
"group-has-[:focus]/input:hover:text-secondary-main"
|
|
5438
|
-
],
|
|
5439
|
-
helperMessage: [
|
|
5440
|
-
"group-has-[:focus]/input:text-secondary-main",
|
|
5441
|
-
"group-has-[:focus]/input:hover:text-secondary-main"
|
|
5442
|
-
],
|
|
5458
|
+
content: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main", "read-only:!text-secondary-main"],
|
|
5459
|
+
helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main"],
|
|
5443
5460
|
readonly: ["text-secondary-main"]
|
|
5444
5461
|
}
|
|
5445
5462
|
},
|
|
@@ -5490,14 +5507,9 @@ var inputStyle = tv(
|
|
|
5490
5507
|
},
|
|
5491
5508
|
disabled: {
|
|
5492
5509
|
true: {
|
|
5493
|
-
inputWrapper: ["!bg-neutral-soft", "pointer-events-none"
|
|
5494
|
-
input: [
|
|
5495
|
-
|
|
5496
|
-
"placeholder:!text-neutral-light",
|
|
5497
|
-
"group-has-[p.error]/input:!text-danger-light",
|
|
5498
|
-
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
5499
|
-
],
|
|
5500
|
-
content: ["!text-neutral-light", "group-has-[p.error]/input:!text-danger-light"],
|
|
5510
|
+
inputWrapper: ["!bg-neutral-soft", "pointer-events-none"],
|
|
5511
|
+
input: ["!text-neutral-light", "placeholder:!text-neutral-light"],
|
|
5512
|
+
content: ["!text-neutral-light"],
|
|
5501
5513
|
helperMessage: ["!text-neutral-light"],
|
|
5502
5514
|
errorMessage: ["!text-danger-light"]
|
|
5503
5515
|
}
|
|
@@ -5505,11 +5517,9 @@ var inputStyle = tv(
|
|
|
5505
5517
|
readonly: {
|
|
5506
5518
|
true: {
|
|
5507
5519
|
readonlyWrapper: ["pointer-events-none"],
|
|
5508
|
-
input: [
|
|
5509
|
-
|
|
5510
|
-
|
|
5511
|
-
],
|
|
5512
|
-
content: ["group-has-[p.error]/input:!text-danger-main"]
|
|
5520
|
+
input: ["!text-body-foreground", "placeholder:!text-body-foreground"],
|
|
5521
|
+
content: ["!text-body-foreground"],
|
|
5522
|
+
helperMessage: ["!text-body-foreground"]
|
|
5513
5523
|
}
|
|
5514
5524
|
}
|
|
5515
5525
|
},
|
|
@@ -5570,17 +5580,6 @@ var inputStyle = tv(
|
|
|
5570
5580
|
inputWrapper: ["border-b-xl"]
|
|
5571
5581
|
}
|
|
5572
5582
|
},
|
|
5573
|
-
{
|
|
5574
|
-
disabled: true,
|
|
5575
|
-
variant: ["outline", "underline"],
|
|
5576
|
-
class: {
|
|
5577
|
-
inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"],
|
|
5578
|
-
content: [
|
|
5579
|
-
"group-has-[p.error]/input:!text-danger-light",
|
|
5580
|
-
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
5581
|
-
]
|
|
5582
|
-
}
|
|
5583
|
-
},
|
|
5584
5583
|
{
|
|
5585
5584
|
readonly: true,
|
|
5586
5585
|
color: "primary",
|
|
@@ -5596,6 +5595,37 @@ var inputStyle = tv(
|
|
|
5596
5595
|
input: ["!text-secondary-main", "placeholder:!text-secondary-main"],
|
|
5597
5596
|
content: ["!text-secondary-main"]
|
|
5598
5597
|
}
|
|
5598
|
+
},
|
|
5599
|
+
{
|
|
5600
|
+
disabled: true,
|
|
5601
|
+
class: {
|
|
5602
|
+
input: [
|
|
5603
|
+
"group-has-[p.error]/input:!text-danger-light",
|
|
5604
|
+
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
5605
|
+
],
|
|
5606
|
+
content: ["group-has-[p.error]/input:!text-danger-light"],
|
|
5607
|
+
helperMessage: ["group-has-[p.error]/input:!text-danger-light"],
|
|
5608
|
+
errorMessage: ["!text-danger-light"]
|
|
5609
|
+
}
|
|
5610
|
+
},
|
|
5611
|
+
{
|
|
5612
|
+
disabled: true,
|
|
5613
|
+
variant: ["outline", "underline"],
|
|
5614
|
+
class: {
|
|
5615
|
+
inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"]
|
|
5616
|
+
}
|
|
5617
|
+
},
|
|
5618
|
+
{
|
|
5619
|
+
disabled: false,
|
|
5620
|
+
class: {
|
|
5621
|
+
input: [
|
|
5622
|
+
"group-has-[p.error]/input:!text-danger-main",
|
|
5623
|
+
"group-has-[p.error]/input:placeholder:!text-danger-main"
|
|
5624
|
+
],
|
|
5625
|
+
content: ["group-has-[p.error]/input:!text-danger-main"],
|
|
5626
|
+
helperMessage: ["group-has-[p.error]/input:!text-danger-main"],
|
|
5627
|
+
errorMessage: ["!text-danger-main"]
|
|
5628
|
+
}
|
|
5599
5629
|
}
|
|
5600
5630
|
],
|
|
5601
5631
|
defaultVariants: {
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import "../../chunk-7B7LRG5J.mjs";
|
|
3
3
|
import {
|
|
4
4
|
pagination_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-7QL54JRV.mjs";
|
|
6
6
|
import "../../chunk-F3HENRVM.mjs";
|
|
7
7
|
import "../../chunk-2GCSFWHD.mjs";
|
|
8
|
-
import "../../chunk-
|
|
8
|
+
import "../../chunk-QR5CKZLL.mjs";
|
|
9
9
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-R7KUEH3N.mjs";
|
|
11
11
|
import "../../chunk-E3G5QXSH.mjs";
|
|
12
|
-
import "../../chunk-
|
|
12
|
+
import "../../chunk-DDFJMHBC.mjs";
|
|
13
13
|
import "../../chunk-CDXBML6O.mjs";
|
|
14
14
|
import "../../chunk-27Y6K5NK.mjs";
|
|
15
15
|
import "../../chunk-AC6TWLRT.mjs";
|
|
@@ -485,8 +485,8 @@ var template = {
|
|
|
485
485
|
{
|
|
486
486
|
fillRule: "evenodd",
|
|
487
487
|
clipRule: "evenodd",
|
|
488
|
-
|
|
489
|
-
|
|
488
|
+
d: "M8.26603 3.51086C8.53733 2.82971 9.46267 2.82971 9.73397 3.51086L10.9948 6.67687L14.2674 6.95135C14.9723 7.01017 15.2582 7.92848 14.721 8.40913L12.2278 10.6398L12.989 13.9746C13.1531 14.6931 12.4052 15.2604 11.8021 14.8759L9 13.0886L6.19794 14.8759C5.59478 15.2604 4.84687 14.6925 5.01099 13.9746L5.77221 10.6398L3.27901 8.40913C2.74185 7.92848 3.02769 7.01017 3.73259 6.95135L7.00519 6.67687L8.26603 3.51086Z",
|
|
489
|
+
fill: "currentColor"
|
|
490
490
|
}
|
|
491
491
|
) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
492
492
|
"path",
|
|
@@ -500,6 +500,41 @@ var template = {
|
|
|
500
500
|
}
|
|
501
501
|
);
|
|
502
502
|
},
|
|
503
|
+
halfStar: ({ className }) => {
|
|
504
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
505
|
+
"svg",
|
|
506
|
+
{
|
|
507
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
508
|
+
width: "18",
|
|
509
|
+
height: "18",
|
|
510
|
+
viewBox: "0 0 18 18",
|
|
511
|
+
fill: "none",
|
|
512
|
+
className,
|
|
513
|
+
children: [
|
|
514
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("defs", { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("clipPath", { id: "half-clip", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", { x: "0", y: "0", width: "9", height: "18" }) }) }),
|
|
515
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
516
|
+
"path",
|
|
517
|
+
{
|
|
518
|
+
fillRule: "evenodd",
|
|
519
|
+
clipRule: "evenodd",
|
|
520
|
+
fill: "currentColor",
|
|
521
|
+
d: "M8.26603 3.51086C8.53733 2.82971 9.46267 2.82971 9.73397 3.51086L10.9948 6.67687L14.2674 6.95135C14.9723 7.01017 15.2582 7.92848 14.721 8.40913L12.2278 10.6398L12.989 13.9746C13.1531 14.6931 12.4052 15.2604 11.8021 14.8759L9 13.0886L6.19794 14.8759C5.59478 15.2604 4.84687 14.6925 5.01099 13.9746L5.77221 10.6398L3.27901 8.40913C2.74185 7.92848 3.02769 7.01017 3.73259 6.95135L7.00519 6.67687L8.26603 3.51086Z",
|
|
522
|
+
clipPath: "url(#half-clip)"
|
|
523
|
+
}
|
|
524
|
+
),
|
|
525
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
526
|
+
"path",
|
|
527
|
+
{
|
|
528
|
+
d: "M8.65925 3.23957C8.68697 3.16871 8.73417 3.1081 8.79484 3.06544C8.85552 3.02278 8.92693 3 9 3C9.07306 3 9.14448 3.02278 9.20515 3.06544C9.26583 3.1081 9.31303 3.16871 9.34074 3.23957L10.7332 6.74977C10.7593 6.81546 10.8021 6.87233 10.857 6.91413C10.912 6.95594 10.9768 6.98105 11.0445 6.98672L14.6603 7.29028C14.9873 7.31775 15.1196 7.74563 14.8706 7.96883L12.1158 10.4427C12.0644 10.4888 12.026 10.5489 12.005 10.6164C11.984 10.6839 11.981 10.7561 11.9966 10.8252L12.8386 14.5236C12.8555 14.5978 12.8511 14.6756 12.8259 14.7471C12.8006 14.8187 12.7557 14.8808 12.6968 14.9257C12.6379 14.9705 12.5677 14.996 12.495 14.999C12.4222 15.002 12.3503 14.9824 12.2882 14.9425L9.19199 12.9611C9.13418 12.9241 9.06775 12.9045 9 12.9045C8.93225 12.9045 8.86581 12.9241 8.808 12.9611L5.71181 14.9432C5.64973 14.9831 5.57778 15.0027 5.50504 14.9997C5.43231 14.9967 5.36206 14.9712 5.30316 14.9263C5.24426 14.8815 5.19936 14.8194 5.17412 14.7478C5.14889 14.6763 5.14445 14.5985 5.16138 14.5243L6.00341 10.8252C6.01903 10.7561 6.01616 10.6838 5.99511 10.6164C5.97407 10.5489 5.93568 10.4888 5.88415 10.4427L3.12936 7.96883C3.07389 7.91927 3.03369 7.85357 3.01387 7.78005C2.99405 7.70652 2.9955 7.62849 3.01802 7.55583C3.04055 7.48317 3.08314 7.41915 3.1404 7.37188C3.19767 7.3246 3.26703 7.29621 3.33971 7.29028L6.95553 6.98672C7.02319 6.98105 7.08804 6.95594 7.14296 6.91413C7.19787 6.87233 7.24072 6.81546 7.26679 6.74977L8.65925 3.23957Z",
|
|
529
|
+
stroke: "currentColor",
|
|
530
|
+
strokeLinecap: "round",
|
|
531
|
+
strokeLinejoin: "round"
|
|
532
|
+
}
|
|
533
|
+
)
|
|
534
|
+
]
|
|
535
|
+
}
|
|
536
|
+
);
|
|
537
|
+
},
|
|
503
538
|
avatar: ({ className }) => {
|
|
504
539
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
505
540
|
"svg",
|
|
@@ -5236,7 +5271,7 @@ var Input = (0, import_react2.forwardRef)((originalProps, ref) => {
|
|
|
5236
5271
|
),
|
|
5237
5272
|
size: originalProps.size
|
|
5238
5273
|
}),
|
|
5239
|
-
[slots, classNames, originalProps.size]
|
|
5274
|
+
[slots, classNames, originalProps.size, inputProps.readOnly]
|
|
5240
5275
|
);
|
|
5241
5276
|
const renderStartContent = () => {
|
|
5242
5277
|
if ((0, import_react2.isValidElement)(startContent)) {
|
|
@@ -5359,31 +5394,22 @@ var inputStyle = tv(
|
|
|
5359
5394
|
"placeholder:text-neutral-main",
|
|
5360
5395
|
"outline-none",
|
|
5361
5396
|
"focus:ring-0",
|
|
5362
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
5363
|
-
"group-has-[:hover]/input:placeholder:text-neutral-dark",
|
|
5364
|
-
"group-has-[:focus]/input:text-neutral-dark",
|
|
5365
|
-
"group-has-[:focus]/input:placeholder:text-neutral-dark",
|
|
5366
|
-
"
|
|
5367
|
-
"
|
|
5368
|
-
"group-has-[p.error]/input:placeholder:hover:!text-danger-main"
|
|
5397
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
|
|
5398
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:placeholder:text-neutral-dark",
|
|
5399
|
+
"group-has-[:focus:not(:read-only)]/input:text-neutral-dark",
|
|
5400
|
+
"group-has-[:focus:not(:read-only)]/input:placeholder:text-neutral-dark",
|
|
5401
|
+
"read-only:!text-body-foreground",
|
|
5402
|
+
"read-only:placeholder:!text-body-foreground"
|
|
5369
5403
|
],
|
|
5370
5404
|
content: [
|
|
5371
5405
|
"flex",
|
|
5372
5406
|
"items-center",
|
|
5373
5407
|
"select-none",
|
|
5374
5408
|
"text-neutral-main",
|
|
5375
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
5376
|
-
"
|
|
5377
|
-
"group-has-[p.error]/input:hover:text-danger-main",
|
|
5378
|
-
"group-has-[p.error]/input:focus:text-danger-main"
|
|
5379
|
-
],
|
|
5380
|
-
helperMessage: [
|
|
5381
|
-
"text-neutral-main",
|
|
5382
|
-
"group-has-[:hover]/input:text-neutral-dark",
|
|
5383
|
-
"group-has-[p.error]/input:text-danger-main",
|
|
5384
|
-
"group-has-[p.error]/input:hover:text-danger-main",
|
|
5385
|
-
"group-has-[p.error]/input:focus:text-danger-main"
|
|
5409
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark",
|
|
5410
|
+
"read-only:!text-body-foreground"
|
|
5386
5411
|
],
|
|
5412
|
+
helperMessage: ["text-neutral-main", "group-has-[:hover:not(:read-only):not(:focus)]/input:text-neutral-dark"],
|
|
5387
5413
|
errorMessage: ["text-danger-main"],
|
|
5388
5414
|
readonlyWrapper: [
|
|
5389
5415
|
"pointer-events-none",
|
|
@@ -5392,7 +5418,7 @@ var inputStyle = tv(
|
|
|
5392
5418
|
"[&>input]:text-body-foreground",
|
|
5393
5419
|
"[&>input]:placeholder:text-body-foreground"
|
|
5394
5420
|
],
|
|
5395
|
-
readonly: []
|
|
5421
|
+
readonly: ["text-body-foreground"]
|
|
5396
5422
|
},
|
|
5397
5423
|
variants: {
|
|
5398
5424
|
variant: {
|
|
@@ -5403,8 +5429,8 @@ var inputStyle = tv(
|
|
|
5403
5429
|
outline: {
|
|
5404
5430
|
inputWrapper: [
|
|
5405
5431
|
"border-neutral-light",
|
|
5406
|
-
"group-has-[:hover]/input:bg-trans-soft",
|
|
5407
|
-
"group-has-[:focus]/input:bg-body-background",
|
|
5432
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
|
|
5433
|
+
"group-has-[:focus:not(:read-only)]/input:bg-body-background",
|
|
5408
5434
|
"group-has-[p.error]/input:border-danger-main"
|
|
5409
5435
|
],
|
|
5410
5436
|
readonlyWrapper: ["!bg-trans-soft"]
|
|
@@ -5413,8 +5439,8 @@ var inputStyle = tv(
|
|
|
5413
5439
|
inputWrapper: [
|
|
5414
5440
|
"bg-transparent",
|
|
5415
5441
|
"rounded-none",
|
|
5416
|
-
"group-has-[:hover]/input:bg-trans-soft",
|
|
5417
|
-
"group-has-[:focus]/input:bg-body-background",
|
|
5442
|
+
"group-has-[:hover:not(:read-only):not(:focus)]/input:bg-trans-soft",
|
|
5443
|
+
"group-has-[:focus:not(:read-only)]/input:bg-body-background",
|
|
5418
5444
|
"group-has-[p.error]/input:border-danger-main"
|
|
5419
5445
|
],
|
|
5420
5446
|
readonlyWrapper: ["!bg-trans-soft"]
|
|
@@ -5422,22 +5448,13 @@ var inputStyle = tv(
|
|
|
5422
5448
|
},
|
|
5423
5449
|
color: {
|
|
5424
5450
|
primary: {
|
|
5425
|
-
content: ["group-has-[:focus]/input:text-primary-main", "
|
|
5426
|
-
helperMessage: [
|
|
5427
|
-
"group-has-[:focus]/input:text-primary-main",
|
|
5428
|
-
"group-has-[:focus]/input:hover:text-primary-main"
|
|
5429
|
-
],
|
|
5451
|
+
content: ["group-has-[:focus:not(:read-only)]/input:text-primary-main", "read-only:!text-primary-main"],
|
|
5452
|
+
helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-primary-main"],
|
|
5430
5453
|
readonly: ["text-primary-main"]
|
|
5431
5454
|
},
|
|
5432
5455
|
secondary: {
|
|
5433
|
-
content: [
|
|
5434
|
-
|
|
5435
|
-
"group-has-[:focus]/input:hover:text-secondary-main"
|
|
5436
|
-
],
|
|
5437
|
-
helperMessage: [
|
|
5438
|
-
"group-has-[:focus]/input:text-secondary-main",
|
|
5439
|
-
"group-has-[:focus]/input:hover:text-secondary-main"
|
|
5440
|
-
],
|
|
5456
|
+
content: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main", "read-only:!text-secondary-main"],
|
|
5457
|
+
helperMessage: ["group-has-[:focus:not(:read-only)]/input:text-secondary-main"],
|
|
5441
5458
|
readonly: ["text-secondary-main"]
|
|
5442
5459
|
}
|
|
5443
5460
|
},
|
|
@@ -5488,14 +5505,9 @@ var inputStyle = tv(
|
|
|
5488
5505
|
},
|
|
5489
5506
|
disabled: {
|
|
5490
5507
|
true: {
|
|
5491
|
-
inputWrapper: ["!bg-neutral-soft", "pointer-events-none"
|
|
5492
|
-
input: [
|
|
5493
|
-
|
|
5494
|
-
"placeholder:!text-neutral-light",
|
|
5495
|
-
"group-has-[p.error]/input:!text-danger-light",
|
|
5496
|
-
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
5497
|
-
],
|
|
5498
|
-
content: ["!text-neutral-light", "group-has-[p.error]/input:!text-danger-light"],
|
|
5508
|
+
inputWrapper: ["!bg-neutral-soft", "pointer-events-none"],
|
|
5509
|
+
input: ["!text-neutral-light", "placeholder:!text-neutral-light"],
|
|
5510
|
+
content: ["!text-neutral-light"],
|
|
5499
5511
|
helperMessage: ["!text-neutral-light"],
|
|
5500
5512
|
errorMessage: ["!text-danger-light"]
|
|
5501
5513
|
}
|
|
@@ -5503,11 +5515,9 @@ var inputStyle = tv(
|
|
|
5503
5515
|
readonly: {
|
|
5504
5516
|
true: {
|
|
5505
5517
|
readonlyWrapper: ["pointer-events-none"],
|
|
5506
|
-
input: [
|
|
5507
|
-
|
|
5508
|
-
|
|
5509
|
-
],
|
|
5510
|
-
content: ["group-has-[p.error]/input:!text-danger-main"]
|
|
5518
|
+
input: ["!text-body-foreground", "placeholder:!text-body-foreground"],
|
|
5519
|
+
content: ["!text-body-foreground"],
|
|
5520
|
+
helperMessage: ["!text-body-foreground"]
|
|
5511
5521
|
}
|
|
5512
5522
|
}
|
|
5513
5523
|
},
|
|
@@ -5568,17 +5578,6 @@ var inputStyle = tv(
|
|
|
5568
5578
|
inputWrapper: ["border-b-xl"]
|
|
5569
5579
|
}
|
|
5570
5580
|
},
|
|
5571
|
-
{
|
|
5572
|
-
disabled: true,
|
|
5573
|
-
variant: ["outline", "underline"],
|
|
5574
|
-
class: {
|
|
5575
|
-
inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"],
|
|
5576
|
-
content: [
|
|
5577
|
-
"group-has-[p.error]/input:!text-danger-light",
|
|
5578
|
-
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
5579
|
-
]
|
|
5580
|
-
}
|
|
5581
|
-
},
|
|
5582
5581
|
{
|
|
5583
5582
|
readonly: true,
|
|
5584
5583
|
color: "primary",
|
|
@@ -5594,6 +5593,37 @@ var inputStyle = tv(
|
|
|
5594
5593
|
input: ["!text-secondary-main", "placeholder:!text-secondary-main"],
|
|
5595
5594
|
content: ["!text-secondary-main"]
|
|
5596
5595
|
}
|
|
5596
|
+
},
|
|
5597
|
+
{
|
|
5598
|
+
disabled: true,
|
|
5599
|
+
class: {
|
|
5600
|
+
input: [
|
|
5601
|
+
"group-has-[p.error]/input:!text-danger-light",
|
|
5602
|
+
"group-has-[p.error]/input:placeholder:!text-danger-light"
|
|
5603
|
+
],
|
|
5604
|
+
content: ["group-has-[p.error]/input:!text-danger-light"],
|
|
5605
|
+
helperMessage: ["group-has-[p.error]/input:!text-danger-light"],
|
|
5606
|
+
errorMessage: ["!text-danger-light"]
|
|
5607
|
+
}
|
|
5608
|
+
},
|
|
5609
|
+
{
|
|
5610
|
+
disabled: true,
|
|
5611
|
+
variant: ["outline", "underline"],
|
|
5612
|
+
class: {
|
|
5613
|
+
inputWrapper: ["!bg-body-background", "group-has-[p.error]/input:!border-danger-light"]
|
|
5614
|
+
}
|
|
5615
|
+
},
|
|
5616
|
+
{
|
|
5617
|
+
disabled: false,
|
|
5618
|
+
class: {
|
|
5619
|
+
input: [
|
|
5620
|
+
"group-has-[p.error]/input:!text-danger-main",
|
|
5621
|
+
"group-has-[p.error]/input:placeholder:!text-danger-main"
|
|
5622
|
+
],
|
|
5623
|
+
content: ["group-has-[p.error]/input:!text-danger-main"],
|
|
5624
|
+
helperMessage: ["group-has-[p.error]/input:!text-danger-main"],
|
|
5625
|
+
errorMessage: ["!text-danger-main"]
|
|
5626
|
+
}
|
|
5597
5627
|
}
|
|
5598
5628
|
],
|
|
5599
5629
|
defaultVariants: {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
pagination_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-7QL54JRV.mjs";
|
|
5
5
|
import "../../chunk-F3HENRVM.mjs";
|
|
6
6
|
import "../../chunk-2GCSFWHD.mjs";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-QR5CKZLL.mjs";
|
|
8
8
|
import "../../chunk-ZYIIXWVY.mjs";
|
|
9
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-R7KUEH3N.mjs";
|
|
10
10
|
import "../../chunk-E3G5QXSH.mjs";
|
|
11
|
-
import "../../chunk-
|
|
11
|
+
import "../../chunk-DDFJMHBC.mjs";
|
|
12
12
|
import "../../chunk-CDXBML6O.mjs";
|
|
13
13
|
import "../../chunk-27Y6K5NK.mjs";
|
|
14
14
|
import "../../chunk-AC6TWLRT.mjs";
|