@deepnoid/ui 0.1.210 → 0.1.212

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.
Files changed (136) hide show
  1. package/.turbo/turbo-build.log +189 -189
  2. package/dist/{chunk-4F7SIDZB.mjs → chunk-2PSFAF4D.mjs} +4 -4
  3. package/dist/{chunk-JQ5C2U5I.mjs → chunk-54OYH6WC.mjs} +1 -1
  4. package/dist/{chunk-FFUZAOFL.mjs → chunk-5J2ODTGJ.mjs} +1 -1
  5. package/dist/{chunk-5JRZQLXQ.mjs → chunk-5N63KKLV.mjs} +3 -3
  6. package/dist/{chunk-F6BQCZ54.mjs → chunk-7VR2457B.mjs} +4 -4
  7. package/dist/{chunk-5BT37SLM.mjs → chunk-AVFQY5QP.mjs} +64 -22
  8. package/dist/{chunk-W3V4SZV5.mjs → chunk-BC2NAXUH.mjs} +5 -5
  9. package/dist/{chunk-OX4T7OBC.mjs → chunk-BK6DOY4X.mjs} +1 -1
  10. package/dist/{chunk-JPNMYMDN.mjs → chunk-C3XY6N6I.mjs} +5 -5
  11. package/dist/{chunk-K2RW5KLO.mjs → chunk-CK24WXGB.mjs} +5 -5
  12. package/dist/{chunk-GNT7VXXE.mjs → chunk-FZYZSMSS.mjs} +2 -2
  13. package/dist/{chunk-XPFBM2RK.mjs → chunk-LJYSV7DZ.mjs} +1 -1
  14. package/dist/{chunk-3RTVVQA3.mjs → chunk-LYJFK5OA.mjs} +4 -4
  15. package/dist/{chunk-EMQML6YB.mjs → chunk-O7WU5EXD.mjs} +2 -2
  16. package/dist/{chunk-D6BMDE2K.mjs → chunk-RKHH3CUS.mjs} +16 -34
  17. package/dist/{chunk-YEYUS6DW.mjs → chunk-RQUD4MZO.mjs} +1 -1
  18. package/dist/{chunk-K3M3QEEV.mjs → chunk-T7EN4EC3.mjs} +4 -4
  19. package/dist/{chunk-CELXDJP2.mjs → chunk-VLKV37OZ.mjs} +3 -3
  20. package/dist/{chunk-TB2DOWSM.mjs → chunk-VUQETREE.mjs} +1 -1
  21. package/dist/{chunk-D72ILS4A.mjs → chunk-WFJSBGK3.mjs} +3 -3
  22. package/dist/{chunk-VVCSY7DG.mjs → chunk-X2PWUNRX.mjs} +5 -5
  23. package/dist/{chunk-SSGCTWWW.mjs → chunk-ZDEKC4W6.mjs} +1 -1
  24. package/dist/components/avatar/avatar.js +64 -22
  25. package/dist/components/avatar/avatar.mjs +2 -2
  26. package/dist/components/avatar/index.js +64 -22
  27. package/dist/components/avatar/index.mjs +2 -2
  28. package/dist/components/backdrop/backdrop.mjs +2 -2
  29. package/dist/components/backdrop/index.mjs +2 -2
  30. package/dist/components/breadcrumb/breadcrumb.js +64 -22
  31. package/dist/components/breadcrumb/breadcrumb.mjs +7 -7
  32. package/dist/components/breadcrumb/index.js +64 -22
  33. package/dist/components/breadcrumb/index.mjs +7 -7
  34. package/dist/components/button/button.js +64 -22
  35. package/dist/components/button/button.mjs +3 -3
  36. package/dist/components/button/icon-button.js +64 -22
  37. package/dist/components/button/icon-button.mjs +3 -3
  38. package/dist/components/button/index.js +64 -22
  39. package/dist/components/button/index.mjs +6 -6
  40. package/dist/components/button/text-button.mjs +2 -2
  41. package/dist/components/charts/areaChart.mjs +1 -1
  42. package/dist/components/charts/index.mjs +1 -1
  43. package/dist/components/checkbox/checkbox.mjs +2 -2
  44. package/dist/components/checkbox/index.mjs +2 -2
  45. package/dist/components/chip/chip.js +64 -22
  46. package/dist/components/chip/chip.mjs +3 -3
  47. package/dist/components/chip/index.js +64 -22
  48. package/dist/components/chip/index.mjs +3 -3
  49. package/dist/components/drawer/drawer.mjs +2 -2
  50. package/dist/components/drawer/index.mjs +2 -2
  51. package/dist/components/fileUpload/fileUpload.js +64 -22
  52. package/dist/components/fileUpload/fileUpload.mjs +10 -10
  53. package/dist/components/fileUpload/index.js +64 -22
  54. package/dist/components/fileUpload/index.mjs +10 -10
  55. package/dist/components/icon/Icon.d.mts +8 -4
  56. package/dist/components/icon/Icon.d.ts +8 -4
  57. package/dist/components/icon/Icon.js +64 -22
  58. package/dist/components/icon/Icon.mjs +2 -2
  59. package/dist/components/icon/index.js +64 -22
  60. package/dist/components/icon/index.mjs +2 -2
  61. package/dist/components/icon/template.d.mts +2 -1
  62. package/dist/components/icon/template.d.ts +2 -1
  63. package/dist/components/icon/template.js +64 -22
  64. package/dist/components/icon/template.mjs +1 -1
  65. package/dist/components/input/index.js +64 -22
  66. package/dist/components/input/index.mjs +4 -4
  67. package/dist/components/input/input.js +64 -22
  68. package/dist/components/input/input.mjs +4 -4
  69. package/dist/components/list/index.js +64 -22
  70. package/dist/components/list/index.mjs +4 -4
  71. package/dist/components/list/listItem.js +64 -22
  72. package/dist/components/list/listItem.mjs +4 -4
  73. package/dist/components/modal/index.js +64 -22
  74. package/dist/components/modal/index.mjs +8 -8
  75. package/dist/components/modal/modal.js +64 -22
  76. package/dist/components/modal/modal.mjs +8 -8
  77. package/dist/components/pagination/index.js +64 -22
  78. package/dist/components/pagination/index.mjs +5 -5
  79. package/dist/components/pagination/pagination.js +64 -22
  80. package/dist/components/pagination/pagination.mjs +5 -5
  81. package/dist/components/picker/datePicker.js +64 -22
  82. package/dist/components/picker/datePicker.mjs +8 -8
  83. package/dist/components/picker/index.js +79 -55
  84. package/dist/components/picker/index.mjs +11 -11
  85. package/dist/components/picker/timePicker/Panel.js +15 -33
  86. package/dist/components/picker/timePicker/Panel.mjs +8 -8
  87. package/dist/components/picker/timePicker/WheelColumn.js +15 -33
  88. package/dist/components/picker/timePicker/WheelColumn.mjs +1 -1
  89. package/dist/components/picker/timePicker/index.js +79 -55
  90. package/dist/components/picker/timePicker/index.mjs +10 -10
  91. package/dist/components/progress/index.mjs +2 -2
  92. package/dist/components/progress/progress.mjs +2 -2
  93. package/dist/components/radio/index.mjs +2 -2
  94. package/dist/components/radio/radio.mjs +2 -2
  95. package/dist/components/select/index.js +64 -22
  96. package/dist/components/select/index.mjs +7 -7
  97. package/dist/components/select/select.js +64 -22
  98. package/dist/components/select/select.mjs +7 -7
  99. package/dist/components/starRating/index.js +64 -22
  100. package/dist/components/starRating/index.mjs +3 -3
  101. package/dist/components/starRating/starRating.js +64 -22
  102. package/dist/components/starRating/starRating.mjs +3 -3
  103. package/dist/components/table/definition-table.mjs +2 -2
  104. package/dist/components/table/index.js +64 -22
  105. package/dist/components/table/index.mjs +10 -10
  106. package/dist/components/table/table-body.js +64 -22
  107. package/dist/components/table/table-body.mjs +7 -7
  108. package/dist/components/table/table-head.js +64 -22
  109. package/dist/components/table/table-head.mjs +7 -7
  110. package/dist/components/table/table.js +64 -22
  111. package/dist/components/table/table.mjs +7 -7
  112. package/dist/components/textarea/index.mjs +2 -2
  113. package/dist/components/textarea/textarea.mjs +2 -2
  114. package/dist/components/timePicker/calendar.js +64 -22
  115. package/dist/components/timePicker/calendar.mjs +2 -2
  116. package/dist/components/toast/index.js +64 -22
  117. package/dist/components/toast/index.mjs +5 -5
  118. package/dist/components/toast/toast.js +64 -22
  119. package/dist/components/toast/toast.mjs +4 -4
  120. package/dist/components/toast/use-toast.js +64 -22
  121. package/dist/components/toast/use-toast.mjs +5 -5
  122. package/dist/components/tree/index.js +64 -22
  123. package/dist/components/tree/index.mjs +4 -4
  124. package/dist/components/tree/tree.js +64 -22
  125. package/dist/components/tree/tree.mjs +4 -4
  126. package/dist/index.js +79 -55
  127. package/dist/index.mjs +41 -41
  128. package/package.json +1 -1
  129. package/dist/{chunk-OEIEALIP.mjs → chunk-3DCUMRYP.mjs} +3 -3
  130. package/dist/{chunk-IH3BJRTV.mjs → chunk-4X35QQTI.mjs} +3 -3
  131. package/dist/{chunk-KH63CD55.mjs → chunk-ACZ3DQVT.mjs} +3 -3
  132. package/dist/{chunk-DS5CGU2X.mjs → chunk-BH3I4LIZ.mjs} +3 -3
  133. package/dist/{chunk-RNMD44IQ.mjs → chunk-H6ZQDMYU.mjs} +3 -3
  134. package/dist/{chunk-4LUASWAN.mjs → chunk-NDNIAALB.mjs} +3 -3
  135. package/dist/{chunk-Q22PRT24.mjs → chunk-XXEOR6JD.mjs} +3 -3
  136. package/dist/{chunk-45Y7ANPK.mjs → chunk-ZFC5O2V3.mjs} +3 -3
@@ -2071,6 +2071,70 @@ var template = {
2071
2071
  }
2072
2072
  );
2073
2073
  },
2074
+ tag: ({ className }) => {
2075
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
2076
+ "svg",
2077
+ {
2078
+ xmlns: "http://www.w3.org/2000/svg",
2079
+ width: "18",
2080
+ height: "18",
2081
+ viewBox: "0 0 18 18",
2082
+ fill: "none",
2083
+ className,
2084
+ children: [
2085
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2086
+ "path",
2087
+ {
2088
+ d: "M3.30357 11.6448L6.70107 15.0423C8.09607 16.4373 10.3611 16.4373 11.7636 15.0423L15.0561 11.7498C16.4511 10.3548 16.4511 8.08978 15.0561 6.68728L11.6511 3.29728C10.9386 2.58478 9.95607 2.20228 8.95107 2.25478L5.20107 2.43478C3.70107 2.50228 2.50857 3.69478 2.43357 5.18728L2.25357 8.93727C2.20857 9.94977 2.59107 10.9323 3.30357 11.6448Z",
2089
+ stroke: "currentColor",
2090
+ strokeLinecap: "round",
2091
+ strokeLinejoin: "round"
2092
+ }
2093
+ ),
2094
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2095
+ "path",
2096
+ {
2097
+ d: "M7.30107 9.1698C8.33661 9.1698 9.17607 8.33033 9.17607 7.2948C9.17607 6.25927 8.33661 5.4198 7.30107 5.4198C6.26554 5.4198 5.42607 6.25927 5.42607 7.2948C5.42607 8.33033 6.26554 9.1698 7.30107 9.1698Z",
2098
+ stroke: "currentColor",
2099
+ strokeLinecap: "round"
2100
+ }
2101
+ ),
2102
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2103
+ "path",
2104
+ {
2105
+ d: "M9.92607 12.9198L12.9261 9.9198",
2106
+ stroke: "currentColor",
2107
+ strokeMiterlimit: "10",
2108
+ strokeLinecap: "round",
2109
+ strokeLinejoin: "round"
2110
+ }
2111
+ )
2112
+ ]
2113
+ }
2114
+ );
2115
+ },
2116
+ "check-page": ({ className }) => {
2117
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2118
+ "svg",
2119
+ {
2120
+ xmlns: "http://www.w3.org/2000/svg",
2121
+ width: "13",
2122
+ height: "16",
2123
+ viewBox: "0 0 13 16",
2124
+ fill: "none",
2125
+ className,
2126
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2127
+ "path",
2128
+ {
2129
+ d: "M4.71875 0.5H1.34375C0.878 0.5 0.5 0.878 0.5 1.34375V14.2812C0.5 14.747 0.878 15.125 1.34375 15.125H10.9062C11.372 15.125 11.75 14.747 11.75 14.2812V7.53125M4.71875 0.5H5C6.79021 0.5 8.5071 1.21116 9.77297 2.47703C11.0388 3.7429 11.75 5.45979 11.75 7.25V7.53125M4.71875 0.5C5.39008 0.5 6.03391 0.766685 6.50861 1.24139C6.98332 1.71609 7.25 2.35992 7.25 3.03125V4.15625C7.25 4.622 7.628 5 8.09375 5H9.21875C9.89008 5 10.5339 5.26668 11.0086 5.74139C11.4833 6.21609 11.75 6.85992 11.75 7.53125M3.875 10.0625L5.5625 11.75L8.375 7.8125",
2130
+ stroke: "currentColor",
2131
+ strokeLinecap: "round",
2132
+ strokeLinejoin: "round"
2133
+ }
2134
+ )
2135
+ }
2136
+ );
2137
+ },
2074
2138
  // ----------------------------------- old ---------------------------------
2075
2139
  // ** Status **
2076
2140
  "plus-circle": ({ className, fill }) => {
@@ -2842,28 +2906,6 @@ var template = {
2842
2906
  }
2843
2907
  );
2844
2908
  },
2845
- tag: ({ className }) => {
2846
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2847
- "svg",
2848
- {
2849
- width: "24",
2850
- height: "24",
2851
- viewBox: "0 0 24 24",
2852
- fill: "none",
2853
- xmlns: "http://www.w3.org/2000/svg",
2854
- className,
2855
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2856
- "path",
2857
- {
2858
- d: "M5.25 8.25H20.25M3.75 15.75H18.75M16.95 2.25L13.05 21.75M10.95 2.25L7.05 21.75",
2859
- stroke: "currentColor",
2860
- strokeLinecap: "round",
2861
- strokeLinejoin: "round"
2862
- }
2863
- )
2864
- }
2865
- );
2866
- },
2867
2909
  clip: ({ className }) => {
2868
2910
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2869
2911
  "svg",
@@ -2,15 +2,15 @@
2
2
  import {
3
3
  ToastProvider,
4
4
  useToast
5
- } from "../../chunk-SSGCTWWW.mjs";
5
+ } from "../../chunk-ZDEKC4W6.mjs";
6
6
  import "../../chunk-ZOTHPHXA.mjs";
7
- import "../../chunk-4F7SIDZB.mjs";
7
+ import "../../chunk-2PSFAF4D.mjs";
8
8
  import "../../chunk-ZYIIXWVY.mjs";
9
- import "../../chunk-YEYUS6DW.mjs";
9
+ import "../../chunk-RQUD4MZO.mjs";
10
+ import "../../chunk-AVFQY5QP.mjs";
11
+ import "../../chunk-27Y6K5NK.mjs";
10
12
  import "../../chunk-E3G5QXSH.mjs";
11
- import "../../chunk-5BT37SLM.mjs";
12
13
  import "../../chunk-U4DJHAM5.mjs";
13
- import "../../chunk-27Y6K5NK.mjs";
14
14
  import "../../chunk-AC6TWLRT.mjs";
15
15
  export {
16
16
  ToastProvider,
@@ -2013,6 +2013,70 @@ var template = {
2013
2013
  }
2014
2014
  );
2015
2015
  },
2016
+ tag: ({ className }) => {
2017
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
2018
+ "svg",
2019
+ {
2020
+ xmlns: "http://www.w3.org/2000/svg",
2021
+ width: "18",
2022
+ height: "18",
2023
+ viewBox: "0 0 18 18",
2024
+ fill: "none",
2025
+ className,
2026
+ children: [
2027
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2028
+ "path",
2029
+ {
2030
+ d: "M3.30357 11.6448L6.70107 15.0423C8.09607 16.4373 10.3611 16.4373 11.7636 15.0423L15.0561 11.7498C16.4511 10.3548 16.4511 8.08978 15.0561 6.68728L11.6511 3.29728C10.9386 2.58478 9.95607 2.20228 8.95107 2.25478L5.20107 2.43478C3.70107 2.50228 2.50857 3.69478 2.43357 5.18728L2.25357 8.93727C2.20857 9.94977 2.59107 10.9323 3.30357 11.6448Z",
2031
+ stroke: "currentColor",
2032
+ strokeLinecap: "round",
2033
+ strokeLinejoin: "round"
2034
+ }
2035
+ ),
2036
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2037
+ "path",
2038
+ {
2039
+ d: "M7.30107 9.1698C8.33661 9.1698 9.17607 8.33033 9.17607 7.2948C9.17607 6.25927 8.33661 5.4198 7.30107 5.4198C6.26554 5.4198 5.42607 6.25927 5.42607 7.2948C5.42607 8.33033 6.26554 9.1698 7.30107 9.1698Z",
2040
+ stroke: "currentColor",
2041
+ strokeLinecap: "round"
2042
+ }
2043
+ ),
2044
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2045
+ "path",
2046
+ {
2047
+ d: "M9.92607 12.9198L12.9261 9.9198",
2048
+ stroke: "currentColor",
2049
+ strokeMiterlimit: "10",
2050
+ strokeLinecap: "round",
2051
+ strokeLinejoin: "round"
2052
+ }
2053
+ )
2054
+ ]
2055
+ }
2056
+ );
2057
+ },
2058
+ "check-page": ({ className }) => {
2059
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2060
+ "svg",
2061
+ {
2062
+ xmlns: "http://www.w3.org/2000/svg",
2063
+ width: "13",
2064
+ height: "16",
2065
+ viewBox: "0 0 13 16",
2066
+ fill: "none",
2067
+ className,
2068
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2069
+ "path",
2070
+ {
2071
+ d: "M4.71875 0.5H1.34375C0.878 0.5 0.5 0.878 0.5 1.34375V14.2812C0.5 14.747 0.878 15.125 1.34375 15.125H10.9062C11.372 15.125 11.75 14.747 11.75 14.2812V7.53125M4.71875 0.5H5C6.79021 0.5 8.5071 1.21116 9.77297 2.47703C11.0388 3.7429 11.75 5.45979 11.75 7.25V7.53125M4.71875 0.5C5.39008 0.5 6.03391 0.766685 6.50861 1.24139C6.98332 1.71609 7.25 2.35992 7.25 3.03125V4.15625C7.25 4.622 7.628 5 8.09375 5H9.21875C9.89008 5 10.5339 5.26668 11.0086 5.74139C11.4833 6.21609 11.75 6.85992 11.75 7.53125M3.875 10.0625L5.5625 11.75L8.375 7.8125",
2072
+ stroke: "currentColor",
2073
+ strokeLinecap: "round",
2074
+ strokeLinejoin: "round"
2075
+ }
2076
+ )
2077
+ }
2078
+ );
2079
+ },
2016
2080
  // ----------------------------------- old ---------------------------------
2017
2081
  // ** Status **
2018
2082
  "plus-circle": ({ className, fill }) => {
@@ -2784,28 +2848,6 @@ var template = {
2784
2848
  }
2785
2849
  );
2786
2850
  },
2787
- tag: ({ className }) => {
2788
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2789
- "svg",
2790
- {
2791
- width: "24",
2792
- height: "24",
2793
- viewBox: "0 0 24 24",
2794
- fill: "none",
2795
- xmlns: "http://www.w3.org/2000/svg",
2796
- className,
2797
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2798
- "path",
2799
- {
2800
- d: "M5.25 8.25H20.25M3.75 15.75H18.75M16.95 2.25L13.05 21.75M10.95 2.25L7.05 21.75",
2801
- stroke: "currentColor",
2802
- strokeLinecap: "round",
2803
- strokeLinejoin: "round"
2804
- }
2805
- )
2806
- }
2807
- );
2808
- },
2809
2851
  clip: ({ className }) => {
2810
2852
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2811
2853
  "svg",
@@ -2,12 +2,12 @@
2
2
  import "../../chunk-MBLZYQCN.mjs";
3
3
  import {
4
4
  tree_default
5
- } from "../../chunk-F6BQCZ54.mjs";
5
+ } from "../../chunk-7VR2457B.mjs";
6
6
  import "../../chunk-ZYIIXWVY.mjs";
7
- import "../../chunk-YEYUS6DW.mjs";
8
- import "../../chunk-5BT37SLM.mjs";
9
- import "../../chunk-U4DJHAM5.mjs";
7
+ import "../../chunk-RQUD4MZO.mjs";
8
+ import "../../chunk-AVFQY5QP.mjs";
10
9
  import "../../chunk-27Y6K5NK.mjs";
10
+ import "../../chunk-U4DJHAM5.mjs";
11
11
  import "../../chunk-AC6TWLRT.mjs";
12
12
  export {
13
13
  tree_default as Tree
@@ -2013,6 +2013,70 @@ var template = {
2013
2013
  }
2014
2014
  );
2015
2015
  },
2016
+ tag: ({ className }) => {
2017
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
2018
+ "svg",
2019
+ {
2020
+ xmlns: "http://www.w3.org/2000/svg",
2021
+ width: "18",
2022
+ height: "18",
2023
+ viewBox: "0 0 18 18",
2024
+ fill: "none",
2025
+ className,
2026
+ children: [
2027
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2028
+ "path",
2029
+ {
2030
+ d: "M3.30357 11.6448L6.70107 15.0423C8.09607 16.4373 10.3611 16.4373 11.7636 15.0423L15.0561 11.7498C16.4511 10.3548 16.4511 8.08978 15.0561 6.68728L11.6511 3.29728C10.9386 2.58478 9.95607 2.20228 8.95107 2.25478L5.20107 2.43478C3.70107 2.50228 2.50857 3.69478 2.43357 5.18728L2.25357 8.93727C2.20857 9.94977 2.59107 10.9323 3.30357 11.6448Z",
2031
+ stroke: "currentColor",
2032
+ strokeLinecap: "round",
2033
+ strokeLinejoin: "round"
2034
+ }
2035
+ ),
2036
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2037
+ "path",
2038
+ {
2039
+ d: "M7.30107 9.1698C8.33661 9.1698 9.17607 8.33033 9.17607 7.2948C9.17607 6.25927 8.33661 5.4198 7.30107 5.4198C6.26554 5.4198 5.42607 6.25927 5.42607 7.2948C5.42607 8.33033 6.26554 9.1698 7.30107 9.1698Z",
2040
+ stroke: "currentColor",
2041
+ strokeLinecap: "round"
2042
+ }
2043
+ ),
2044
+ /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2045
+ "path",
2046
+ {
2047
+ d: "M9.92607 12.9198L12.9261 9.9198",
2048
+ stroke: "currentColor",
2049
+ strokeMiterlimit: "10",
2050
+ strokeLinecap: "round",
2051
+ strokeLinejoin: "round"
2052
+ }
2053
+ )
2054
+ ]
2055
+ }
2056
+ );
2057
+ },
2058
+ "check-page": ({ className }) => {
2059
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2060
+ "svg",
2061
+ {
2062
+ xmlns: "http://www.w3.org/2000/svg",
2063
+ width: "13",
2064
+ height: "16",
2065
+ viewBox: "0 0 13 16",
2066
+ fill: "none",
2067
+ className,
2068
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2069
+ "path",
2070
+ {
2071
+ d: "M4.71875 0.5H1.34375C0.878 0.5 0.5 0.878 0.5 1.34375V14.2812C0.5 14.747 0.878 15.125 1.34375 15.125H10.9062C11.372 15.125 11.75 14.747 11.75 14.2812V7.53125M4.71875 0.5H5C6.79021 0.5 8.5071 1.21116 9.77297 2.47703C11.0388 3.7429 11.75 5.45979 11.75 7.25V7.53125M4.71875 0.5C5.39008 0.5 6.03391 0.766685 6.50861 1.24139C6.98332 1.71609 7.25 2.35992 7.25 3.03125V4.15625C7.25 4.622 7.628 5 8.09375 5H9.21875C9.89008 5 10.5339 5.26668 11.0086 5.74139C11.4833 6.21609 11.75 6.85992 11.75 7.53125M3.875 10.0625L5.5625 11.75L8.375 7.8125",
2072
+ stroke: "currentColor",
2073
+ strokeLinecap: "round",
2074
+ strokeLinejoin: "round"
2075
+ }
2076
+ )
2077
+ }
2078
+ );
2079
+ },
2016
2080
  // ----------------------------------- old ---------------------------------
2017
2081
  // ** Status **
2018
2082
  "plus-circle": ({ className, fill }) => {
@@ -2784,28 +2848,6 @@ var template = {
2784
2848
  }
2785
2849
  );
2786
2850
  },
2787
- tag: ({ className }) => {
2788
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2789
- "svg",
2790
- {
2791
- width: "24",
2792
- height: "24",
2793
- viewBox: "0 0 24 24",
2794
- fill: "none",
2795
- xmlns: "http://www.w3.org/2000/svg",
2796
- className,
2797
- children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2798
- "path",
2799
- {
2800
- d: "M5.25 8.25H20.25M3.75 15.75H18.75M16.95 2.25L13.05 21.75M10.95 2.25L7.05 21.75",
2801
- stroke: "currentColor",
2802
- strokeLinecap: "round",
2803
- strokeLinejoin: "round"
2804
- }
2805
- )
2806
- }
2807
- );
2808
- },
2809
2851
  clip: ({ className }) => {
2810
2852
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
2811
2853
  "svg",
@@ -3,12 +3,12 @@ import {
3
3
  Tree,
4
4
  TreeNodeItem,
5
5
  tree_default
6
- } from "../../chunk-F6BQCZ54.mjs";
6
+ } from "../../chunk-7VR2457B.mjs";
7
7
  import "../../chunk-ZYIIXWVY.mjs";
8
- import "../../chunk-YEYUS6DW.mjs";
9
- import "../../chunk-5BT37SLM.mjs";
10
- import "../../chunk-U4DJHAM5.mjs";
8
+ import "../../chunk-RQUD4MZO.mjs";
9
+ import "../../chunk-AVFQY5QP.mjs";
11
10
  import "../../chunk-27Y6K5NK.mjs";
11
+ import "../../chunk-U4DJHAM5.mjs";
12
12
  import "../../chunk-AC6TWLRT.mjs";
13
13
  export {
14
14
  Tree,
package/dist/index.js CHANGED
@@ -2714,6 +2714,70 @@ var template = {
2714
2714
  }
2715
2715
  );
2716
2716
  },
2717
+ tag: ({ className }) => {
2718
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
2719
+ "svg",
2720
+ {
2721
+ xmlns: "http://www.w3.org/2000/svg",
2722
+ width: "18",
2723
+ height: "18",
2724
+ viewBox: "0 0 18 18",
2725
+ fill: "none",
2726
+ className,
2727
+ children: [
2728
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
2729
+ "path",
2730
+ {
2731
+ d: "M3.30357 11.6448L6.70107 15.0423C8.09607 16.4373 10.3611 16.4373 11.7636 15.0423L15.0561 11.7498C16.4511 10.3548 16.4511 8.08978 15.0561 6.68728L11.6511 3.29728C10.9386 2.58478 9.95607 2.20228 8.95107 2.25478L5.20107 2.43478C3.70107 2.50228 2.50857 3.69478 2.43357 5.18728L2.25357 8.93727C2.20857 9.94977 2.59107 10.9323 3.30357 11.6448Z",
2732
+ stroke: "currentColor",
2733
+ strokeLinecap: "round",
2734
+ strokeLinejoin: "round"
2735
+ }
2736
+ ),
2737
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
2738
+ "path",
2739
+ {
2740
+ d: "M7.30107 9.1698C8.33661 9.1698 9.17607 8.33033 9.17607 7.2948C9.17607 6.25927 8.33661 5.4198 7.30107 5.4198C6.26554 5.4198 5.42607 6.25927 5.42607 7.2948C5.42607 8.33033 6.26554 9.1698 7.30107 9.1698Z",
2741
+ stroke: "currentColor",
2742
+ strokeLinecap: "round"
2743
+ }
2744
+ ),
2745
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
2746
+ "path",
2747
+ {
2748
+ d: "M9.92607 12.9198L12.9261 9.9198",
2749
+ stroke: "currentColor",
2750
+ strokeMiterlimit: "10",
2751
+ strokeLinecap: "round",
2752
+ strokeLinejoin: "round"
2753
+ }
2754
+ )
2755
+ ]
2756
+ }
2757
+ );
2758
+ },
2759
+ "check-page": ({ className }) => {
2760
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
2761
+ "svg",
2762
+ {
2763
+ xmlns: "http://www.w3.org/2000/svg",
2764
+ width: "13",
2765
+ height: "16",
2766
+ viewBox: "0 0 13 16",
2767
+ fill: "none",
2768
+ className,
2769
+ children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
2770
+ "path",
2771
+ {
2772
+ d: "M4.71875 0.5H1.34375C0.878 0.5 0.5 0.878 0.5 1.34375V14.2812C0.5 14.747 0.878 15.125 1.34375 15.125H10.9062C11.372 15.125 11.75 14.747 11.75 14.2812V7.53125M4.71875 0.5H5C6.79021 0.5 8.5071 1.21116 9.77297 2.47703C11.0388 3.7429 11.75 5.45979 11.75 7.25V7.53125M4.71875 0.5C5.39008 0.5 6.03391 0.766685 6.50861 1.24139C6.98332 1.71609 7.25 2.35992 7.25 3.03125V4.15625C7.25 4.622 7.628 5 8.09375 5H9.21875C9.89008 5 10.5339 5.26668 11.0086 5.74139C11.4833 6.21609 11.75 6.85992 11.75 7.53125M3.875 10.0625L5.5625 11.75L8.375 7.8125",
2773
+ stroke: "currentColor",
2774
+ strokeLinecap: "round",
2775
+ strokeLinejoin: "round"
2776
+ }
2777
+ )
2778
+ }
2779
+ );
2780
+ },
2717
2781
  // ----------------------------------- old ---------------------------------
2718
2782
  // ** Status **
2719
2783
  "plus-circle": ({ className, fill }) => {
@@ -3485,28 +3549,6 @@ var template = {
3485
3549
  }
3486
3550
  );
3487
3551
  },
3488
- tag: ({ className }) => {
3489
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
3490
- "svg",
3491
- {
3492
- width: "24",
3493
- height: "24",
3494
- viewBox: "0 0 24 24",
3495
- fill: "none",
3496
- xmlns: "http://www.w3.org/2000/svg",
3497
- className,
3498
- children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
3499
- "path",
3500
- {
3501
- d: "M5.25 8.25H20.25M3.75 15.75H18.75M16.95 2.25L13.05 21.75M10.95 2.25L7.05 21.75",
3502
- stroke: "currentColor",
3503
- strokeLinecap: "round",
3504
- strokeLinejoin: "round"
3505
- }
3506
- )
3507
- }
3508
- );
3509
- },
3510
3552
  clip: ({ className }) => {
3511
3553
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
3512
3554
  "svg",
@@ -11922,69 +11964,51 @@ var ITEM_HEIGHT = 30;
11922
11964
  var ACTIVE_HEIGHT = 34;
11923
11965
  function WheelColumn({ list, value, onChange }) {
11924
11966
  const ref = (0, import_react35.useRef)(null);
11925
- const internalChangeRef = (0, import_react35.useRef)(false);
11926
- const [currentIndex, setCurrentIndex] = (0, import_react35.useState)(0);
11927
- const scrollToIndex = (index, behavior = "smooth") => {
11928
- if (!ref.current) return;
11929
- const diff = ACTIVE_HEIGHT - ITEM_HEIGHT;
11930
- let centerOffset = index > 0 && behavior === "auto" ? diff : 0;
11931
- if (behavior === "auto" && (currentIndex !== 0 || index === 1)) centerOffset -= 4;
11932
- const top = index * ITEM_HEIGHT + centerOffset;
11933
- ref.current.scrollTo({ top, behavior });
11934
- };
11967
+ const idx = list.indexOf(value);
11935
11968
  const finalizeScroll = (index) => {
11936
- internalChangeRef.current = true;
11937
11969
  const v = list[index];
11938
- setCurrentIndex(index);
11939
- scrollToIndex(index, "smooth");
11940
11970
  if (v) onChange(v);
11941
11971
  };
11942
11972
  const handleClick = (index) => finalizeScroll(index);
11943
- (0, import_react35.useEffect)(() => {
11944
- if (!ref.current || !value) return;
11945
- const idx = list.indexOf(value);
11946
- if (idx < 0) return;
11947
- if (internalChangeRef.current) {
11948
- internalChangeRef.current = false;
11949
- return;
11950
- }
11951
- setCurrentIndex(idx);
11952
- scrollToIndex(idx, "auto");
11953
- }, [value]);
11954
11973
  (0, import_react35.useEffect)(() => {
11955
11974
  const el = ref.current;
11956
- if (!el) return;
11975
+ if (!el || idx < 0) return;
11957
11976
  const handleWheel = (e) => {
11958
11977
  e.preventDefault();
11959
- let newIndex = currentIndex;
11978
+ let newIndex = idx;
11960
11979
  if (e.deltaY > 0) {
11961
- newIndex = Math.min(currentIndex + 1, list.length - 1);
11980
+ newIndex = Math.min(idx + 1, list.length - 1);
11962
11981
  } else if (e.deltaY < 0) {
11963
- newIndex = Math.max(currentIndex - 1, 0);
11982
+ newIndex = Math.max(idx - 1, 0);
11964
11983
  }
11965
11984
  finalizeScroll(newIndex);
11966
11985
  };
11967
11986
  el.addEventListener("wheel", handleWheel, { passive: false });
11968
11987
  return () => el.removeEventListener("wheel", handleWheel);
11969
- }, [currentIndex, list, onChange]);
11988
+ }, [idx, list, onChange]);
11989
+ (0, import_react35.useEffect)(() => {
11990
+ const el = ref.current;
11991
+ if (!el || idx < 0) return;
11992
+ el.scrollTo({ top: idx * ITEM_HEIGHT });
11993
+ }, [idx]);
11970
11994
  return /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { className: "relative h-[94px] w-[40px]", children: [
11971
11995
  /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "pointer-events-none absolute left-1/2 top-[30px] h-[34px] w-[40px] -translate-x-1/2 rounded-[10px] shadow-[inset_0_0_0_1.5px_var(--dn-primary-light)]" }),
11972
11996
  /* @__PURE__ */ (0, import_jsx_runtime36.jsxs)("div", { ref, className: "scrollbar-none relative h-full select-none overflow-y-scroll py-[0]", children: [
11973
11997
  /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { style: { height: ITEM_HEIGHT } }),
11974
11998
  list.map((v, i) => {
11975
- const isActive = i === currentIndex;
11999
+ const highlight = i === idx;
11976
12000
  return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
11977
12001
  "div",
11978
12002
  {
11979
12003
  onClick: () => handleClick(i),
11980
- className: `flex items-center justify-center text-sm font-bold transition-all ${isActive ? "text-body-foreground" : "text-neutral-light"}`,
11981
- style: { height: isActive ? ACTIVE_HEIGHT : ITEM_HEIGHT },
12004
+ className: `flex items-center justify-center text-sm font-bold ${highlight ? "text-body-foreground" : "text-neutral-light"}`,
12005
+ style: { height: highlight ? ACTIVE_HEIGHT : ITEM_HEIGHT },
11982
12006
  children: v
11983
12007
  },
11984
12008
  i
11985
12009
  );
11986
12010
  }),
11987
- /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { style: { height: list.length >= 3 ? ITEM_HEIGHT + 4 : ITEM_HEIGHT } })
12011
+ /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { style: { height: ITEM_HEIGHT + 4 } })
11988
12012
  ] })
11989
12013
  ] });
11990
12014
  }