@deepnoid/ui 1.0.11 → 1.0.13
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 +290 -290
- package/README.md +46 -17
- package/dist/{chunk-2HYBU7NH.mjs → chunk-37BZALDV.mjs} +1 -1
- package/dist/{chunk-P4GNXDMO.mjs → chunk-5RJYESLP.mjs} +1 -1
- package/dist/{chunk-NJWXYTBQ.mjs → chunk-62M6VPFS.mjs} +1 -1
- package/dist/{chunk-47FA6TWG.mjs → chunk-6F6HERZF.mjs} +1 -1
- package/dist/{chunk-5K5HG64H.mjs → chunk-6ZVFACPA.mjs} +3 -3
- package/dist/{chunk-HKF5BNPX.mjs → chunk-7CTICAGW.mjs} +1 -1
- package/dist/{chunk-MTEVJZPH.mjs → chunk-7MMUS5ER.mjs} +1 -1
- package/dist/{chunk-KXR5SJQT.mjs → chunk-7U7FM6I6.mjs} +2 -2
- package/dist/{chunk-FFKXQUER.mjs → chunk-AO6LNH3D.mjs} +1 -1
- package/dist/{chunk-XNDDHEW6.mjs → chunk-AYTOWECM.mjs} +2 -2
- package/dist/{chunk-2KKZXS5A.mjs → chunk-AZT7MLD2.mjs} +2 -2
- package/dist/{chunk-3JKORA4G.mjs → chunk-CXVDES22.mjs} +1 -1
- package/dist/{chunk-3N442F6I.mjs → chunk-D3DKXTTY.mjs} +1 -1
- package/dist/{chunk-EIVSXVP5.mjs → chunk-D7DDV4UN.mjs} +3 -3
- package/dist/{chunk-ZRYYG7T6.mjs → chunk-FNES52QP.mjs} +3 -3
- package/dist/{chunk-3WTJDGIC.mjs → chunk-G45IQ6PX.mjs} +3 -3
- package/dist/{chunk-DI7QXTYZ.mjs → chunk-G6SZN3EK.mjs} +2 -2
- package/dist/{chunk-JXCOQOOE.mjs → chunk-H7D5EBLL.mjs} +3 -3
- package/dist/{chunk-4V5D237Z.mjs → chunk-HXBZB7CW.mjs} +1 -1
- package/dist/{chunk-VUO5J2OK.mjs → chunk-KE26ONWZ.mjs} +1 -1
- package/dist/{chunk-OK34FKBQ.mjs → chunk-LCEFG5IY.mjs} +3 -3
- package/dist/{chunk-67DEFPS6.mjs → chunk-LHWHM4LQ.mjs} +1 -1
- package/dist/{chunk-LJSGQO4B.mjs → chunk-MC7SI5Q7.mjs} +1 -1
- package/dist/{chunk-GSOTTSR4.mjs → chunk-MT7AFUKT.mjs} +1 -1
- package/dist/{chunk-M7V5YMM2.mjs → chunk-O2KC4CDE.mjs} +2 -2
- package/dist/{chunk-3QZPVRM5.mjs → chunk-PIUOU6LS.mjs} +1 -1
- package/dist/{chunk-44Z6L7FL.mjs → chunk-PRLKKUBY.mjs} +2 -2
- package/dist/{chunk-MYFMT2ZT.mjs → chunk-Q5T3XRA3.mjs} +8 -8
- package/dist/{chunk-ZXKXTIPE.mjs → chunk-QUWWLVCI.mjs} +1 -1
- package/dist/{chunk-6CNPC722.mjs → chunk-R32BQ3NV.mjs} +1 -1
- package/dist/{chunk-NKYNCXOU.mjs → chunk-SLKXMIWY.mjs} +3 -2
- package/dist/{chunk-W3AO4G35.mjs → chunk-SNNSEK5T.mjs} +10 -10
- package/dist/{chunk-RMWLYCNN.mjs → chunk-TGXYSXEN.mjs} +5 -5
- package/dist/chunk-UP6RPQDX.mjs +46 -0
- package/dist/{chunk-KPOXK7NN.mjs → chunk-USZSQXHS.mjs} +1 -1
- package/dist/{chunk-VO2ZIGIK.mjs → chunk-WTBRXQFT.mjs} +1 -1
- package/dist/{chunk-UJCQCSQ5.mjs → chunk-X7SYBDST.mjs} +8 -8
- package/dist/{chunk-EWS3FESG.mjs → chunk-XS32UZI3.mjs} +12 -14
- package/dist/{chunk-DJZHJNYH.mjs → chunk-XTMOAGLY.mjs} +4 -4
- package/dist/{chunk-BBCJTXGU.mjs → chunk-Y3A7PN4Q.mjs} +1 -1
- package/dist/{chunk-HJ2RUGGG.mjs → chunk-Y6EIO72X.mjs} +1 -1
- package/dist/{chunk-JUKILR6X.mjs → chunk-ZCJPPLYH.mjs} +1 -1
- package/dist/{chunk-O3E6E4QS.mjs → chunk-ZDZKGGK3.mjs} +2 -2
- package/dist/{chunk-XOR6NQTS.mjs → chunk-ZPMS2CYP.mjs} +2 -2
- package/dist/{chunk-RKHH3CUS.mjs → chunk-ZUNOPH7C.mjs} +2 -2
- package/dist/components/accordion/accordion.js +31 -680
- package/dist/components/accordion/accordion.mjs +2 -3
- package/dist/components/accordion/accordionItem.js +33 -681
- package/dist/components/accordion/accordionItem.mjs +2 -3
- package/dist/components/accordion/index.js +33 -681
- package/dist/components/accordion/index.mjs +3 -4
- package/dist/components/avatar/avatar.js +31 -680
- package/dist/components/avatar/avatar.mjs +2 -3
- package/dist/components/avatar/index.js +31 -680
- package/dist/components/avatar/index.mjs +2 -3
- package/dist/components/backdrop/backdrop.js +31 -680
- package/dist/components/backdrop/backdrop.mjs +2 -3
- package/dist/components/backdrop/index.js +31 -680
- package/dist/components/backdrop/index.mjs +2 -3
- package/dist/components/breadcrumb/breadcrumb.js +38 -687
- package/dist/components/breadcrumb/breadcrumb.mjs +7 -8
- package/dist/components/breadcrumb/index.js +38 -687
- package/dist/components/breadcrumb/index.mjs +7 -8
- package/dist/components/button/button-group.js +31 -670
- package/dist/components/button/button-group.mjs +2 -3
- package/dist/components/button/button.js +38 -687
- package/dist/components/button/button.mjs +3 -4
- package/dist/components/button/button.style.js +38 -687
- package/dist/components/button/button.style.mjs +2 -3
- package/dist/components/button/icon-button.js +38 -687
- package/dist/components/button/icon-button.mjs +3 -4
- package/dist/components/button/index.js +38 -677
- package/dist/components/button/index.mjs +8 -9
- package/dist/components/button/text-button.js +38 -687
- package/dist/components/button/text-button.mjs +3 -4
- package/dist/components/charts/areaChart.js +43 -694
- package/dist/components/charts/areaChart.mjs +3 -4
- package/dist/components/charts/barChart.js +36 -685
- package/dist/components/charts/barChart.mjs +2 -3
- package/dist/components/charts/circularProgress.js +31 -680
- package/dist/components/charts/circularProgress.mjs +2 -3
- package/dist/components/charts/index.js +53 -704
- package/dist/components/charts/index.mjs +9 -10
- package/dist/components/charts/radarChart.js +31 -680
- package/dist/components/charts/radarChart.mjs +2 -3
- package/dist/components/charts/simpleBarChart.js +36 -685
- package/dist/components/charts/simpleBarChart.mjs +2 -3
- package/dist/components/checkbox/checkbox.js +31 -680
- package/dist/components/checkbox/checkbox.mjs +2 -3
- package/dist/components/checkbox/index.js +31 -680
- package/dist/components/checkbox/index.mjs +2 -3
- package/dist/components/chip/chip.js +31 -680
- package/dist/components/chip/chip.mjs +2 -3
- package/dist/components/chip/index.js +31 -680
- package/dist/components/chip/index.mjs +2 -3
- package/dist/components/drawer/drawer.js +31 -680
- package/dist/components/drawer/drawer.mjs +2 -3
- package/dist/components/drawer/index.js +31 -680
- package/dist/components/drawer/index.mjs +2 -3
- package/dist/components/fileUpload/fileUpload.d.mts +3 -3
- package/dist/components/fileUpload/fileUpload.d.ts +3 -3
- package/dist/components/fileUpload/fileUpload.js +38 -687
- package/dist/components/fileUpload/fileUpload.mjs +9 -10
- package/dist/components/fileUpload/index.js +38 -687
- package/dist/components/fileUpload/index.mjs +9 -10
- package/dist/components/icon/Icon.mjs +0 -1
- package/dist/components/icon/index.mjs +0 -1
- package/dist/components/icon/template.mjs +0 -1
- package/dist/components/input/index.js +31 -680
- package/dist/components/input/index.mjs +2 -3
- package/dist/components/input/input.js +31 -680
- package/dist/components/input/input.mjs +2 -3
- package/dist/components/list/index.js +31 -680
- package/dist/components/list/index.mjs +4 -5
- package/dist/components/list/list.js +31 -680
- package/dist/components/list/list.mjs +2 -3
- package/dist/components/list/listItem.js +31 -680
- package/dist/components/list/listItem.mjs +3 -4
- package/dist/components/modal/GlobalModalProvider.js +38 -687
- package/dist/components/modal/GlobalModalProvider.mjs +10 -11
- package/dist/components/modal/index.js +38 -687
- package/dist/components/modal/index.mjs +11 -12
- package/dist/components/modal/modal.js +38 -687
- package/dist/components/modal/modal.mjs +9 -10
- package/dist/components/modal/useGlobalModal.mjs +11 -12
- package/dist/components/pagination/index.js +31 -680
- package/dist/components/pagination/index.mjs +3 -4
- package/dist/components/pagination/pagination.js +31 -680
- package/dist/components/pagination/pagination.mjs +3 -4
- package/dist/components/pagination/usePagination.mjs +0 -1
- package/dist/components/picker/datePicker.js +39 -688
- package/dist/components/picker/datePicker.mjs +9 -10
- package/dist/components/picker/day.js +32 -681
- package/dist/components/picker/day.mjs +2 -3
- package/dist/components/picker/index.js +41 -690
- package/dist/components/picker/index.mjs +12 -13
- package/dist/components/picker/timePicker/Panel.js +40 -689
- package/dist/components/picker/timePicker/Panel.mjs +8 -9
- package/dist/components/picker/timePicker/WheelColumn.js +2 -2
- package/dist/components/picker/timePicker/WheelColumn.mjs +1 -2
- package/dist/components/picker/timePicker/index.js +40 -689
- package/dist/components/picker/timePicker/index.mjs +10 -11
- package/dist/components/picker/utils.mjs +0 -1
- package/dist/components/progress/index.js +31 -680
- package/dist/components/progress/index.mjs +2 -3
- package/dist/components/progress/progress.js +31 -680
- package/dist/components/progress/progress.mjs +2 -3
- package/dist/components/radio/index.js +31 -680
- package/dist/components/radio/index.mjs +2 -3
- package/dist/components/radio/radio.js +31 -680
- package/dist/components/radio/radio.mjs +2 -3
- package/dist/components/ripple/index.mjs +0 -1
- package/dist/components/ripple/ripple.mjs +0 -1
- package/dist/components/ripple/useRipple.mjs +0 -1
- package/dist/components/scroll/index.js +12 -14
- package/dist/components/scroll/index.mjs +1 -2
- package/dist/components/scroll/scrollArea.d.mts +2 -1
- package/dist/components/scroll/scrollArea.d.ts +2 -1
- package/dist/components/scroll/scrollArea.js +12 -14
- package/dist/components/scroll/scrollArea.mjs +1 -2
- package/dist/components/select/index.js +46 -695
- package/dist/components/select/index.mjs +7 -8
- package/dist/components/select/select.js +46 -695
- package/dist/components/select/select.mjs +7 -8
- package/dist/components/skeleton/index.mjs +0 -1
- package/dist/components/skeleton/skeleton.mjs +0 -1
- package/dist/components/slider/index.js +33 -682
- package/dist/components/slider/index.mjs +2 -3
- package/dist/components/slider/slider.js +33 -682
- package/dist/components/slider/slider.mjs +2 -3
- package/dist/components/starRating/index.js +33 -682
- package/dist/components/starRating/index.mjs +2 -3
- package/dist/components/starRating/starRating.js +33 -682
- package/dist/components/starRating/starRating.mjs +2 -3
- package/dist/components/switch/index.mjs +0 -1
- package/dist/components/switch/switch.mjs +0 -1
- package/dist/components/table/definition-table.js +31 -680
- package/dist/components/table/definition-table.mjs +2 -3
- package/dist/components/table/form-table.js +31 -680
- package/dist/components/table/form-table.mjs +1 -2
- package/dist/components/table/index.js +43 -694
- package/dist/components/table/index.mjs +10 -11
- package/dist/components/table/table-body.js +43 -694
- package/dist/components/table/table-body.mjs +7 -8
- package/dist/components/table/table-head.js +43 -694
- package/dist/components/table/table-head.mjs +7 -8
- package/dist/components/table/table.js +43 -694
- package/dist/components/table/table.mjs +7 -8
- package/dist/components/tabs/index.js +31 -680
- package/dist/components/tabs/index.mjs +2 -3
- package/dist/components/tabs/tabs.js +31 -680
- package/dist/components/tabs/tabs.mjs +2 -3
- package/dist/components/textarea/index.mjs +0 -1
- package/dist/components/textarea/textarea.mjs +0 -1
- package/dist/components/timePicker/calendar.js +31 -670
- package/dist/components/timePicker/calendar.mjs +1 -2
- package/dist/components/timePicker/useDateTimePicker.mjs +0 -1
- package/dist/components/toast/index.js +31 -680
- package/dist/components/toast/index.mjs +4 -5
- package/dist/components/toast/toast-utils.mjs +0 -1
- package/dist/components/toast/toast.js +31 -680
- package/dist/components/toast/toast.mjs +2 -3
- package/dist/components/toast/use-toast.js +31 -680
- package/dist/components/toast/use-toast.mjs +3 -4
- package/dist/components/tooltip/index.js +31 -680
- package/dist/components/tooltip/index.mjs +2 -3
- package/dist/components/tooltip/tooltip-utils.mjs +0 -1
- package/dist/components/tooltip/tooltip.js +31 -680
- package/dist/components/tooltip/tooltip.mjs +2 -3
- package/dist/components/tooltip/useTooltip.mjs +0 -1
- package/dist/components/tree/index.js +31 -680
- package/dist/components/tree/index.mjs +2 -3
- package/dist/components/tree/tree.d.mts +3 -3
- package/dist/components/tree/tree.d.ts +3 -3
- package/dist/components/tree/tree.js +31 -680
- package/dist/components/tree/tree.mjs +2 -3
- package/dist/fonts/NanumSquare_acB.mjs +0 -1
- package/dist/fonts/NanumSquare_acEB.mjs +0 -1
- package/dist/fonts/NanumSquare_acL.mjs +0 -1
- package/dist/fonts/NanumSquare_acR.mjs +0 -1
- package/dist/hooks/useIsMounted.mjs +0 -1
- package/dist/index.d.mts +0 -1
- package/dist/index.d.ts +0 -1
- package/dist/index.js +77 -964
- package/dist/index.mjs +86 -89
- package/dist/style.css +372 -0
- package/dist/style.d.mts +2 -0
- package/dist/style.d.ts +2 -0
- package/dist/utils/clsx.mjs +0 -1
- package/dist/utils/props.mjs +0 -1
- package/dist/utils/tailwind-variants.js +31 -680
- package/dist/utils/tailwind-variants.mjs +1 -2
- package/package.json +3 -3
- package/dist/chunk-AC6TWLRT.mjs +0 -31
- package/dist/chunk-DPWUIAVC.mjs +0 -932
- package/postcss.config.js +0 -6
- package/tailwind.config.ts +0 -4
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
icon_button_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PRLKKUBY.mjs";
|
|
5
5
|
import {
|
|
6
6
|
Icon_default
|
|
7
7
|
} from "./chunk-A6UUVHC6.mjs";
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-E3G5QXSH.mjs";
|
|
14
14
|
import {
|
|
15
15
|
tv
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UP6RPQDX.mjs";
|
|
17
17
|
|
|
18
18
|
// src/components/select/select.tsx
|
|
19
19
|
import { forwardRef, useMemo, useState, useRef, useEffect } from "react";
|
|
@@ -428,28 +428,28 @@ var select = tv({
|
|
|
428
428
|
variant: "outline",
|
|
429
429
|
size: "sm",
|
|
430
430
|
class: {
|
|
431
|
-
option: ["hover:shadow-[inset_0_0_0_1px_var(--
|
|
431
|
+
option: ["hover:shadow-[inset_0_0_0_1px_var(--color-neutral-light)]"]
|
|
432
432
|
}
|
|
433
433
|
},
|
|
434
434
|
{
|
|
435
435
|
variant: "outline",
|
|
436
436
|
size: "md",
|
|
437
437
|
class: {
|
|
438
|
-
option: ["hover:shadow-[inset_0_0_0_1.25px_var(--
|
|
438
|
+
option: ["hover:shadow-[inset_0_0_0_1.25px_var(--color-neutral-light)]"]
|
|
439
439
|
}
|
|
440
440
|
},
|
|
441
441
|
{
|
|
442
442
|
variant: "outline",
|
|
443
443
|
size: "lg",
|
|
444
444
|
class: {
|
|
445
|
-
option: ["hover:shadow-[inset_0_0_0_1.5px_var(--
|
|
445
|
+
option: ["hover:shadow-[inset_0_0_0_1.5px_var(--color-neutral-light)]"]
|
|
446
446
|
}
|
|
447
447
|
},
|
|
448
448
|
{
|
|
449
449
|
variant: "outline",
|
|
450
450
|
size: "xl",
|
|
451
451
|
class: {
|
|
452
|
-
option: ["hover:shadow-[inset_0_0_0_1.75px_var(--
|
|
452
|
+
option: ["hover:shadow-[inset_0_0_0_1.75px_var(--color-neutral-light)]"]
|
|
453
453
|
}
|
|
454
454
|
},
|
|
455
455
|
{
|
|
@@ -457,7 +457,7 @@ var select = tv({
|
|
|
457
457
|
size: "sm",
|
|
458
458
|
class: {
|
|
459
459
|
selectWrapper: ["border-b-sm"],
|
|
460
|
-
option: ["hover:shadow-[inset_0_-1px_0_0_var(--
|
|
460
|
+
option: ["hover:shadow-[inset_0_-1px_0_0_var(--color-neutral-light)]"]
|
|
461
461
|
}
|
|
462
462
|
},
|
|
463
463
|
{
|
|
@@ -465,7 +465,7 @@ var select = tv({
|
|
|
465
465
|
size: "md",
|
|
466
466
|
class: {
|
|
467
467
|
selectWrapper: ["border-b-md"],
|
|
468
|
-
option: ["hover:shadow-[inset_0_-1.25px_0_0_var(--
|
|
468
|
+
option: ["hover:shadow-[inset_0_-1.25px_0_0_var(--color-neutral-light)]"]
|
|
469
469
|
}
|
|
470
470
|
},
|
|
471
471
|
{
|
|
@@ -473,7 +473,7 @@ var select = tv({
|
|
|
473
473
|
size: "lg",
|
|
474
474
|
class: {
|
|
475
475
|
selectWrapper: ["border-b-lg"],
|
|
476
|
-
option: ["hover:shadow-[inset_0_-1.5px_0_0_var(--
|
|
476
|
+
option: ["hover:shadow-[inset_0_-1.5px_0_0_var(--color-neutral-light)]"]
|
|
477
477
|
}
|
|
478
478
|
},
|
|
479
479
|
{
|
|
@@ -481,7 +481,7 @@ var select = tv({
|
|
|
481
481
|
size: "xl",
|
|
482
482
|
class: {
|
|
483
483
|
selectWrapper: ["border-b-xl"],
|
|
484
|
-
option: ["hover:shadow-[inset_0_-1.75px_0_0_var(--
|
|
484
|
+
option: ["hover:shadow-[inset_0_-1.75px_0_0_var(--color-neutral-light)]"]
|
|
485
485
|
}
|
|
486
486
|
},
|
|
487
487
|
{
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
backdrop_default
|
|
4
|
+
} from "./chunk-5RJYESLP.mjs";
|
|
2
5
|
import {
|
|
3
6
|
button_default
|
|
4
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7U7FM6I6.mjs";
|
|
5
8
|
import {
|
|
6
9
|
Icon_default
|
|
7
10
|
} from "./chunk-A6UUVHC6.mjs";
|
|
8
|
-
import {
|
|
9
|
-
backdrop_default
|
|
10
|
-
} from "./chunk-P4GNXDMO.mjs";
|
|
11
11
|
import {
|
|
12
12
|
mapPropsVariants
|
|
13
13
|
} from "./chunk-E3G5QXSH.mjs";
|
|
14
14
|
import {
|
|
15
15
|
tv
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UP6RPQDX.mjs";
|
|
17
17
|
|
|
18
18
|
// src/components/modal/modal.tsx
|
|
19
19
|
import { forwardRef, useMemo, useEffect } from "react";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
|
|
3
|
+
// src/utils/tailwind-variants.ts
|
|
4
|
+
import { createTV } from "tailwind-variants";
|
|
5
|
+
var COMMON_SIZE = ["sm", "md", "lg", "xl"];
|
|
6
|
+
var tv = createTV({
|
|
7
|
+
twMergeConfig: {
|
|
8
|
+
classGroups: {
|
|
9
|
+
fontSize: [{ text: ["h1", "h2", "h3", "h4", "h5", "sm", "md", "lg", "xl", "2xl"] }],
|
|
10
|
+
borderRadius: [{ rounded: ["2", "5", "sm", "md", "lg", "xl", "2xl", "none", "full"] }],
|
|
11
|
+
boxShadow: [
|
|
12
|
+
{
|
|
13
|
+
shadow: [
|
|
14
|
+
"border-1",
|
|
15
|
+
"border-2",
|
|
16
|
+
"border-3",
|
|
17
|
+
"border-4",
|
|
18
|
+
"border-5",
|
|
19
|
+
"border-6",
|
|
20
|
+
"border-7",
|
|
21
|
+
"border-8",
|
|
22
|
+
"border-9",
|
|
23
|
+
"border-10",
|
|
24
|
+
"inner",
|
|
25
|
+
"inner-sm",
|
|
26
|
+
"inner-md",
|
|
27
|
+
"inner-lg",
|
|
28
|
+
"inner-xl",
|
|
29
|
+
"drop",
|
|
30
|
+
"drop-sm",
|
|
31
|
+
"drop-md",
|
|
32
|
+
"drop-lg",
|
|
33
|
+
"drop-xl"
|
|
34
|
+
]
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
padding: [{ p: COMMON_SIZE }],
|
|
38
|
+
gap: [{ gap: ["5", "10", "20", "30", "sm", "md", "lg", "xl"] }],
|
|
39
|
+
borderWidth: [{ border: COMMON_SIZE }]
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
|
|
44
|
+
export {
|
|
45
|
+
tv
|
|
46
|
+
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
day_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-G6SZN3EK.mjs";
|
|
5
5
|
import {
|
|
6
6
|
formatDateToString,
|
|
7
7
|
formatStringToDate
|
|
8
8
|
} from "./chunk-3IBJXQTJ.mjs";
|
|
9
9
|
import {
|
|
10
10
|
input_default
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Y6EIO72X.mjs";
|
|
12
|
+
import {
|
|
13
|
+
icon_button_default
|
|
14
|
+
} from "./chunk-PRLKKUBY.mjs";
|
|
12
15
|
import {
|
|
13
16
|
text_button_default
|
|
14
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-ZDZKGGK3.mjs";
|
|
15
18
|
import {
|
|
16
19
|
button_default
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import {
|
|
19
|
-
icon_button_default
|
|
20
|
-
} from "./chunk-44Z6L7FL.mjs";
|
|
20
|
+
} from "./chunk-7U7FM6I6.mjs";
|
|
21
21
|
import {
|
|
22
22
|
Icon_default
|
|
23
23
|
} from "./chunk-A6UUVHC6.mjs";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-E3G5QXSH.mjs";
|
|
27
27
|
import {
|
|
28
28
|
tv
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-UP6RPQDX.mjs";
|
|
30
30
|
|
|
31
31
|
// src/components/picker/datePicker.tsx
|
|
32
32
|
import {
|
|
@@ -6,19 +6,13 @@ import {
|
|
|
6
6
|
// src/components/scroll/scrollArea.tsx
|
|
7
7
|
import { tv } from "tailwind-variants";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
|
-
var ScrollArea = ({ children, className, direction, size }) => {
|
|
10
|
-
return /* @__PURE__ */ jsx("div", { className: clsx(scrollAreaStyle({ direction, size }), className), children });
|
|
9
|
+
var ScrollArea = ({ children, className, direction, size, variant }) => {
|
|
10
|
+
return /* @__PURE__ */ jsx("div", { className: clsx(scrollAreaStyle({ direction, size, variant }), className), children });
|
|
11
11
|
};
|
|
12
12
|
ScrollArea.displayName = "ScrollArea";
|
|
13
13
|
var scrollArea_default = ScrollArea;
|
|
14
14
|
var scrollAreaStyle = tv({
|
|
15
|
-
base: [
|
|
16
|
-
"w-full",
|
|
17
|
-
"scrollbar-thumb-trans-soft",
|
|
18
|
-
"hover:scrollbar-thumb-neutral-light",
|
|
19
|
-
"scrollbar-track-neutral-soft",
|
|
20
|
-
"scrollbar-button-neutral-main"
|
|
21
|
-
],
|
|
15
|
+
base: ["w-full", "h-full", "tw-scrollbar-base"],
|
|
22
16
|
variants: {
|
|
23
17
|
direction: {
|
|
24
18
|
x: ["overflow-x-auto", "overflow-y-visible"],
|
|
@@ -26,15 +20,19 @@ var scrollAreaStyle = tv({
|
|
|
26
20
|
both: ["overflow-auto"]
|
|
27
21
|
},
|
|
28
22
|
size: {
|
|
29
|
-
sm: ["scrollbar-sm"],
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
23
|
+
sm: ["tw-scrollbar-sm"],
|
|
24
|
+
md: ["tw-scrollbar-md"],
|
|
25
|
+
lg: ["tw-scrollbar-lg"]
|
|
26
|
+
},
|
|
27
|
+
variant: {
|
|
28
|
+
plain: ["tw-scrollbar-plain"],
|
|
29
|
+
adorn: ["tw-scrollbar-adorn"]
|
|
33
30
|
}
|
|
34
31
|
},
|
|
35
32
|
defaultVariants: {
|
|
36
33
|
direction: "both",
|
|
37
|
-
size: "md"
|
|
34
|
+
size: "md",
|
|
35
|
+
variant: "plain"
|
|
38
36
|
}
|
|
39
37
|
});
|
|
40
38
|
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
avatar_default
|
|
4
|
-
} from "./chunk-3N442F6I.mjs";
|
|
5
2
|
import {
|
|
6
3
|
Icon_default
|
|
7
4
|
} from "./chunk-A6UUVHC6.mjs";
|
|
5
|
+
import {
|
|
6
|
+
avatar_default
|
|
7
|
+
} from "./chunk-D3DKXTTY.mjs";
|
|
8
8
|
import {
|
|
9
9
|
mapPropsVariants
|
|
10
10
|
} from "./chunk-E3G5QXSH.mjs";
|
|
11
11
|
import {
|
|
12
12
|
tv
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UP6RPQDX.mjs";
|
|
14
14
|
|
|
15
15
|
// src/components/list/listItem.tsx
|
|
16
16
|
import { forwardRef, useMemo } from "react";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
buttonBaseStyle
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-Q5T3XRA3.mjs";
|
|
5
5
|
import {
|
|
6
6
|
clsx
|
|
7
7
|
} from "./chunk-27Y6K5NK.mjs";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-E3G5QXSH.mjs";
|
|
11
11
|
import {
|
|
12
12
|
tv
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UP6RPQDX.mjs";
|
|
14
14
|
|
|
15
15
|
// src/components/button/text-button.tsx
|
|
16
16
|
import {
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
WheelColumn
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZUNOPH7C.mjs";
|
|
5
5
|
import {
|
|
6
6
|
convert24To12,
|
|
7
7
|
getCurrent12Hour
|
|
8
8
|
} from "./chunk-3IBJXQTJ.mjs";
|
|
9
9
|
import {
|
|
10
10
|
text_button_default
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-ZDZKGGK3.mjs";
|
|
12
12
|
|
|
13
13
|
// src/components/picker/timePicker/Panel.tsx
|
|
14
14
|
import { forwardRef, useEffect, useState } from "react";
|
|
@@ -35,8 +35,8 @@ function WheelColumn({ list, value, onChange }) {
|
|
|
35
35
|
el.scrollTo({ top: idx * ITEM_HEIGHT });
|
|
36
36
|
}, [idx]);
|
|
37
37
|
return /* @__PURE__ */ jsxs("div", { className: "relative h-[94px] w-[40px]", children: [
|
|
38
|
-
/* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute left-1/2
|
|
39
|
-
/* @__PURE__ */ jsxs("div", { ref, className: "scrollbar-none relative h-full
|
|
38
|
+
/* @__PURE__ */ jsx("div", { className: "pointer-events-none absolute top-[30px] left-1/2 h-[34px] w-[40px] -translate-x-1/2 rounded-[10px] shadow-[inset_0_0_0_1.5px_var(--color-primary-light)]" }),
|
|
39
|
+
/* @__PURE__ */ jsxs("div", { ref, className: "scrollbar-none relative h-full overflow-y-scroll py-[0] select-none", children: [
|
|
40
40
|
/* @__PURE__ */ jsx("div", { style: { height: ITEM_HEIGHT } }),
|
|
41
41
|
list.map((v, i) => {
|
|
42
42
|
const highlight = i === idx;
|