@deepnoid/ui 0.1.81 → 0.1.83

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 (184) hide show
  1. package/.turbo/turbo-build.log +237 -207
  2. package/dist/{chunk-B6XJNGQL.mjs → chunk-3IILPVRA.mjs} +3 -3
  3. package/dist/{chunk-KCAGZUYM.mjs → chunk-3M6VYLOU.mjs} +1 -1
  4. package/dist/chunk-3V4HT2K5.mjs +36 -0
  5. package/dist/{chunk-TKGIYUSB.mjs → chunk-4BJPJ54Q.mjs} +4 -4
  6. package/dist/{chunk-FRKIXGG5.mjs → chunk-4LP3QDAE.mjs} +3 -3
  7. package/dist/{chunk-OKO3XRJS.mjs → chunk-4ORPRDPL.mjs} +5 -5
  8. package/dist/{chunk-FZNRCPWF.mjs → chunk-54342D4Z.mjs} +4 -4
  9. package/dist/chunk-5FFTHFBX.mjs +129 -0
  10. package/dist/{chunk-L65ETSUY.mjs → chunk-5IKVOP4M.mjs} +7 -7
  11. package/dist/{chunk-JPFA7PPB.mjs → chunk-6KH2UQRM.mjs} +3 -3
  12. package/dist/{chunk-TUXYVNTY.mjs → chunk-6SWMJLOD.mjs} +3 -3
  13. package/dist/{chunk-7Q2WQJ6U.mjs → chunk-7GFYCPP3.mjs} +3 -3
  14. package/dist/chunk-7VOQKIIK.mjs +1 -0
  15. package/dist/{chunk-ORXMPU2C.mjs → chunk-7VS6YXNB.mjs} +3 -3
  16. package/dist/{chunk-FZJ5PLRU.mjs → chunk-AF4I7ZQS.mjs} +1 -1
  17. package/dist/{chunk-LNVDBHVI.mjs → chunk-AI4YKKH4.mjs} +7 -7
  18. package/dist/{chunk-RN76ARTS.mjs → chunk-B6YYZVT6.mjs} +6 -6
  19. package/dist/{chunk-XOPCRI7Z.mjs → chunk-CDXBML6O.mjs} +17 -2
  20. package/dist/{chunk-B7THOWOI.mjs → chunk-D3HZG3CH.mjs} +1 -1
  21. package/dist/chunk-EKLA6ZR4.mjs +77 -0
  22. package/dist/{chunk-ZYS4NSXT.mjs → chunk-FB6LBMGN.mjs} +4 -4
  23. package/dist/chunk-FKHKYVZH.mjs +212 -0
  24. package/dist/{chunk-I6MFQAQE.mjs → chunk-GAZ472ZU.mjs} +3 -3
  25. package/dist/{chunk-5IESFXPF.mjs → chunk-GH4EPD35.mjs} +4 -4
  26. package/dist/{chunk-QFIS6N5R.mjs → chunk-I3ORSDFO.mjs} +6 -6
  27. package/dist/{chunk-EKWUOA5B.mjs → chunk-ITWKPTSD.mjs} +1 -1
  28. package/dist/{chunk-TVTIX7MO.mjs → chunk-JBSV7GCL.mjs} +4 -4
  29. package/dist/{chunk-CC2F5HQX.mjs → chunk-LMHSWLH2.mjs} +5 -5
  30. package/dist/{chunk-5M7UDEMG.mjs → chunk-MVL7HJSH.mjs} +4 -4
  31. package/dist/chunk-NMSDSEBD.mjs +1 -0
  32. package/dist/{chunk-FUPY7MXT.mjs → chunk-NTNIGQGI.mjs} +1 -1
  33. package/dist/{chunk-7JVTWM4U.mjs → chunk-RE2WH26E.mjs} +4 -4
  34. package/dist/{chunk-3WBUF37A.mjs → chunk-S7Y7XUBL.mjs} +4 -4
  35. package/dist/{chunk-PWWPGVPS.mjs → chunk-TZHEZEJ5.mjs} +3 -3
  36. package/dist/{chunk-STAE4IPE.mjs → chunk-WIZDHK4O.mjs} +3 -3
  37. package/dist/{chunk-SKOCUCE5.mjs → chunk-XZ5DXOJQ.mjs} +4 -4
  38. package/dist/{chunk-R7VCFJGU.mjs → chunk-Y5QV7T6D.mjs} +1 -1
  39. package/dist/{chunk-PDY7UYKZ.mjs → chunk-Z6IOS3S6.mjs} +6 -6
  40. package/dist/components/accordion/accordion.d.mts +98 -0
  41. package/dist/components/accordion/accordion.d.ts +98 -0
  42. package/dist/components/accordion/accordion.js +433 -0
  43. package/dist/components/accordion/accordion.mjs +10 -0
  44. package/dist/components/accordion/accordionItem.d.mts +207 -0
  45. package/dist/components/accordion/accordionItem.d.ts +207 -0
  46. package/dist/components/accordion/accordionItem.js +5201 -0
  47. package/dist/components/accordion/accordionItem.mjs +13 -0
  48. package/dist/components/accordion/index.d.mts +8 -0
  49. package/dist/components/accordion/index.d.ts +8 -0
  50. package/dist/components/accordion/index.js +5277 -0
  51. package/dist/components/accordion/index.mjs +18 -0
  52. package/dist/components/avatar/avatar.js +17 -2
  53. package/dist/components/avatar/avatar.mjs +2 -2
  54. package/dist/components/avatar/index.js +17 -2
  55. package/dist/components/avatar/index.mjs +2 -2
  56. package/dist/components/backdrop/backdrop.js +17 -2
  57. package/dist/components/backdrop/backdrop.mjs +2 -2
  58. package/dist/components/backdrop/index.js +17 -2
  59. package/dist/components/backdrop/index.mjs +2 -2
  60. package/dist/components/breadcrumb/breadcrumb.js +17 -2
  61. package/dist/components/breadcrumb/breadcrumb.mjs +8 -8
  62. package/dist/components/breadcrumb/index.js +17 -2
  63. package/dist/components/breadcrumb/index.mjs +8 -8
  64. package/dist/components/button/button-group.js +17 -2
  65. package/dist/components/button/button-group.mjs +2 -2
  66. package/dist/components/button/button.js +17 -2
  67. package/dist/components/button/button.mjs +4 -4
  68. package/dist/components/button/icon-button.js +17 -2
  69. package/dist/components/button/icon-button.mjs +4 -4
  70. package/dist/components/button/index.js +17 -2
  71. package/dist/components/button/index.mjs +9 -9
  72. package/dist/components/button/text-button.js +17 -2
  73. package/dist/components/button/text-button.mjs +3 -3
  74. package/dist/components/charts/areaChart.js +17 -2
  75. package/dist/components/charts/areaChart.mjs +2 -2
  76. package/dist/components/charts/barChart.js +17 -2
  77. package/dist/components/charts/barChart.mjs +2 -2
  78. package/dist/components/charts/circularProgress.js +17 -2
  79. package/dist/components/charts/circularProgress.mjs +2 -2
  80. package/dist/components/charts/index.js +17 -2
  81. package/dist/components/charts/index.mjs +4 -4
  82. package/dist/components/checkbox/checkbox.js +17 -2
  83. package/dist/components/checkbox/checkbox.mjs +3 -3
  84. package/dist/components/checkbox/index.js +17 -2
  85. package/dist/components/checkbox/index.mjs +3 -3
  86. package/dist/components/chip/chip.js +17 -2
  87. package/dist/components/chip/chip.mjs +3 -3
  88. package/dist/components/chip/index.js +17 -2
  89. package/dist/components/chip/index.mjs +3 -3
  90. package/dist/components/dateTimePicker/calendar.js +17 -2
  91. package/dist/components/dateTimePicker/calendar.mjs +3 -3
  92. package/dist/components/dateTimePicker/dateTimePicker.js +17 -2
  93. package/dist/components/dateTimePicker/dateTimePicker.mjs +8 -8
  94. package/dist/components/dateTimePicker/index.js +17 -2
  95. package/dist/components/dateTimePicker/index.mjs +8 -8
  96. package/dist/components/dateTimePicker/timePicker.js +17 -2
  97. package/dist/components/dateTimePicker/timePicker.mjs +6 -6
  98. package/dist/components/drawer/drawer.js +17 -2
  99. package/dist/components/drawer/drawer.mjs +3 -3
  100. package/dist/components/drawer/index.js +17 -2
  101. package/dist/components/drawer/index.mjs +3 -3
  102. package/dist/components/fileUpload/fileUpload.js +17 -2
  103. package/dist/components/fileUpload/fileUpload.mjs +9 -9
  104. package/dist/components/fileUpload/index.js +17 -2
  105. package/dist/components/fileUpload/index.mjs +9 -9
  106. package/dist/components/input/index.js +17 -2
  107. package/dist/components/input/index.mjs +3 -3
  108. package/dist/components/input/input.js +17 -2
  109. package/dist/components/input/input.mjs +3 -3
  110. package/dist/components/list/index.js +17 -2
  111. package/dist/components/list/index.mjs +7 -7
  112. package/dist/components/list/list.js +17 -2
  113. package/dist/components/list/list.mjs +2 -2
  114. package/dist/components/list/listItem.js +17 -2
  115. package/dist/components/list/listItem.mjs +4 -4
  116. package/dist/components/modal/index.js +17 -2
  117. package/dist/components/modal/index.mjs +9 -9
  118. package/dist/components/modal/modal.js +17 -2
  119. package/dist/components/modal/modal.mjs +9 -9
  120. package/dist/components/pagination/index.js +17 -2
  121. package/dist/components/pagination/index.mjs +4 -4
  122. package/dist/components/pagination/pagination.js +17 -2
  123. package/dist/components/pagination/pagination.mjs +4 -4
  124. package/dist/components/progress/index.d.mts +4 -0
  125. package/dist/components/progress/index.d.ts +4 -0
  126. package/dist/components/progress/index.js +519 -0
  127. package/dist/components/progress/index.mjs +12 -0
  128. package/dist/components/progress/progress.d.mts +208 -0
  129. package/dist/components/progress/progress.d.ts +208 -0
  130. package/dist/components/progress/progress.js +513 -0
  131. package/dist/components/progress/progress.mjs +11 -0
  132. package/dist/components/radio/index.js +17 -2
  133. package/dist/components/radio/index.mjs +3 -3
  134. package/dist/components/radio/radio.js +17 -2
  135. package/dist/components/radio/radio.mjs +3 -3
  136. package/dist/components/ripple/index.mjs +3 -3
  137. package/dist/components/select/index.js +17 -2
  138. package/dist/components/select/index.mjs +3 -3
  139. package/dist/components/select/select.js +17 -2
  140. package/dist/components/select/select.mjs +3 -3
  141. package/dist/components/table/definition-table.js +17 -2
  142. package/dist/components/table/definition-table.mjs +2 -2
  143. package/dist/components/table/form-table.js +17 -2
  144. package/dist/components/table/form-table.mjs +1 -1
  145. package/dist/components/table/index.js +17 -2
  146. package/dist/components/table/index.mjs +9 -9
  147. package/dist/components/table/table-body.js +17 -2
  148. package/dist/components/table/table-body.mjs +8 -8
  149. package/dist/components/table/table-head.js +17 -2
  150. package/dist/components/table/table-head.mjs +8 -8
  151. package/dist/components/table/table.js +17 -2
  152. package/dist/components/table/table.mjs +8 -8
  153. package/dist/components/tabs/index.js +17 -2
  154. package/dist/components/tabs/index.mjs +2 -2
  155. package/dist/components/tabs/tabs.js +17 -2
  156. package/dist/components/tabs/tabs.mjs +2 -2
  157. package/dist/components/textarea/index.mjs +2 -2
  158. package/dist/components/textarea/textarea.mjs +2 -2
  159. package/dist/components/toast/index.js +17 -2
  160. package/dist/components/toast/index.mjs +4 -4
  161. package/dist/components/toast/toast.js +17 -2
  162. package/dist/components/toast/toast.mjs +3 -3
  163. package/dist/components/toast/use-toast.js +17 -2
  164. package/dist/components/toast/use-toast.mjs +4 -4
  165. package/dist/components/tooltip/index.js +17 -2
  166. package/dist/components/tooltip/index.mjs +2 -2
  167. package/dist/components/tooltip/tooltip.js +17 -2
  168. package/dist/components/tooltip/tooltip.mjs +2 -2
  169. package/dist/components/tree/index.js +17 -2
  170. package/dist/components/tree/index.mjs +2 -2
  171. package/dist/components/tree/tree.js +17 -2
  172. package/dist/components/tree/tree.mjs +2 -2
  173. package/dist/hooks/useIsMounted.d.mts +8 -0
  174. package/dist/hooks/useIsMounted.d.ts +8 -0
  175. package/dist/hooks/useIsMounted.js +59 -0
  176. package/dist/hooks/useIsMounted.mjs +8 -0
  177. package/dist/index.d.mts +3 -0
  178. package/dist/index.d.ts +3 -0
  179. package/dist/index.js +2459 -2024
  180. package/dist/index.mjs +79 -64
  181. package/dist/utils/tailwind-variants.js +17 -2
  182. package/dist/utils/tailwind-variants.mjs +1 -1
  183. package/package.json +1 -1
  184. package/dist/{chunk-4EIGHKUO.mjs → chunk-6Q2BXHJL.mjs} +3 -3
@@ -0,0 +1,513 @@
1
+ "use client";
2
+ "use strict";
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __commonJS = (cb, mod) => function __require() {
10
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
11
+ };
12
+ var __export = (target, all) => {
13
+ for (var name in all)
14
+ __defProp(target, name, { get: all[name], enumerable: true });
15
+ };
16
+ var __copyProps = (to, from, except, desc) => {
17
+ if (from && typeof from === "object" || typeof from === "function") {
18
+ for (let key of __getOwnPropNames(from))
19
+ if (!__hasOwnProp.call(to, key) && key !== except)
20
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
21
+ }
22
+ return to;
23
+ };
24
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
25
+ // If the importer is in node compatibility mode or this is not an ESM
26
+ // file that has been converted to a CommonJS file using a Babel-
27
+ // compatible transform (i.e. "__esModule" has not been set), then set
28
+ // "default" to the CommonJS "module.exports" for node compatibility.
29
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
30
+ mod
31
+ ));
32
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
33
+
34
+ // ../../node_modules/tailwindcss/lib/util/createPlugin.js
35
+ var require_createPlugin = __commonJS({
36
+ "../../node_modules/tailwindcss/lib/util/createPlugin.js"(exports2) {
37
+ "use strict";
38
+ Object.defineProperty(exports2, "__esModule", {
39
+ value: true
40
+ });
41
+ Object.defineProperty(exports2, "default", {
42
+ enumerable: true,
43
+ get: function() {
44
+ return _default;
45
+ }
46
+ });
47
+ function createPlugin(plugin2, config) {
48
+ return {
49
+ handler: plugin2,
50
+ config
51
+ };
52
+ }
53
+ createPlugin.withOptions = function(pluginFunction, configFunction = () => ({})) {
54
+ const optionsFunction = function(options) {
55
+ return {
56
+ __options: options,
57
+ handler: pluginFunction(options),
58
+ config: configFunction(options)
59
+ };
60
+ };
61
+ optionsFunction.__isOptionsFunction = true;
62
+ optionsFunction.__pluginFunction = pluginFunction;
63
+ optionsFunction.__configFunction = configFunction;
64
+ return optionsFunction;
65
+ };
66
+ var _default = createPlugin;
67
+ }
68
+ });
69
+
70
+ // ../../node_modules/tailwindcss/lib/public/create-plugin.js
71
+ var require_create_plugin = __commonJS({
72
+ "../../node_modules/tailwindcss/lib/public/create-plugin.js"(exports2) {
73
+ "use strict";
74
+ Object.defineProperty(exports2, "__esModule", {
75
+ value: true
76
+ });
77
+ Object.defineProperty(exports2, "default", {
78
+ enumerable: true,
79
+ get: function() {
80
+ return _default;
81
+ }
82
+ });
83
+ var _createPlugin = /* @__PURE__ */ _interop_require_default(require_createPlugin());
84
+ function _interop_require_default(obj) {
85
+ return obj && obj.__esModule ? obj : {
86
+ default: obj
87
+ };
88
+ }
89
+ var _default = _createPlugin.default;
90
+ }
91
+ });
92
+
93
+ // ../../node_modules/tailwindcss/plugin.js
94
+ var require_plugin = __commonJS({
95
+ "../../node_modules/tailwindcss/plugin.js"(exports2, module2) {
96
+ "use strict";
97
+ var createPlugin = require_create_plugin();
98
+ module2.exports = (createPlugin.__esModule ? createPlugin : { default: createPlugin }).default;
99
+ }
100
+ });
101
+
102
+ // src/components/progress/progress.tsx
103
+ var progress_exports = {};
104
+ __export(progress_exports, {
105
+ default: () => progress_default
106
+ });
107
+ module.exports = __toCommonJS(progress_exports);
108
+ var import_react2 = require("react");
109
+
110
+ // src/utils/tailwind-variants.ts
111
+ var import_tailwind_variants = require("tailwind-variants");
112
+
113
+ // ../tailwind-config/src/plugin.ts
114
+ var import_plugin = __toESM(require_plugin());
115
+
116
+ // ../tailwind-config/src/typography/font.ts
117
+ var fontSize = {
118
+ h1: [
119
+ "40px",
120
+ {
121
+ fontWeight: "700"
122
+ }
123
+ ],
124
+ h2: [
125
+ "34px",
126
+ {
127
+ fontWeight: "700"
128
+ }
129
+ ],
130
+ h3: [
131
+ "28px",
132
+ {
133
+ fontWeight: "700"
134
+ }
135
+ ],
136
+ h4: [
137
+ "24px",
138
+ {
139
+ fontWeight: "700"
140
+ }
141
+ ],
142
+ h5: [
143
+ "20px",
144
+ {
145
+ fontWeight: "600"
146
+ }
147
+ ],
148
+ sm: [
149
+ "12px",
150
+ {
151
+ lineHeight: "18px",
152
+ fontWeight: "400"
153
+ }
154
+ ],
155
+ md: [
156
+ "14px",
157
+ {
158
+ lineHeight: "21px",
159
+ fontWeight: "400"
160
+ }
161
+ ],
162
+ lg: [
163
+ "16px",
164
+ {
165
+ lineHeight: "24px",
166
+ fontWeight: "400"
167
+ }
168
+ ],
169
+ xl: [
170
+ "18px",
171
+ {
172
+ lineHeight: "27px",
173
+ fontWeight: "400"
174
+ }
175
+ ]
176
+ };
177
+
178
+ // ../tailwind-config/src/animation/bar.ts
179
+ var barAnimation = {
180
+ "indeterminate-bar": "indeterminate-bar 1.5s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite normal none running"
181
+ };
182
+ var barKeyframe = {
183
+ "indeterminate-bar": {
184
+ "0%": {
185
+ transform: "translateX(-50%) scaleX(0.2)"
186
+ },
187
+ "100%": {
188
+ transform: "translateX(100%) scaleX(1)"
189
+ }
190
+ }
191
+ };
192
+
193
+ // ../tailwind-config/src/animation/slide.ts
194
+ var sliceAnimation = {
195
+ slideInFromTop: "slideInFromTop 0.5s ease-out",
196
+ slideInFromBottom: "slideInFromBottom 0.5s ease-out",
197
+ slideInFromLeft: "slideInFromLeft 0.5s ease-out",
198
+ slideInFromRight: "slideInFromRight 0.5s ease-out",
199
+ slideOutToTop: "slideOutToTop 0.5s ease-in",
200
+ slideOutToBottom: "slideOutToBottom 0.5s ease-in",
201
+ slideOutToLeft: "slideOutToLeft 0.5s ease-in",
202
+ slideOutToRight: "slideOutToRight 0.5s ease-in"
203
+ };
204
+ var sliceKeyframe = {
205
+ slideInFromTop: {
206
+ "0%": {
207
+ transform: "translateY(-10px)",
208
+ opacity: "0"
209
+ },
210
+ "100%": {
211
+ transform: "translateY(0)",
212
+ opacity: "1"
213
+ }
214
+ },
215
+ slideInFromBottom: {
216
+ "0%": {
217
+ transform: "translateY(10px)",
218
+ opacity: "0"
219
+ },
220
+ "100%": {
221
+ transform: "translateY(0)",
222
+ opacity: "1"
223
+ }
224
+ },
225
+ slideInFromLeft: {
226
+ "0%": {
227
+ transform: "translateX(-10px)",
228
+ opacity: "0"
229
+ },
230
+ "100%": {
231
+ transform: "translateX(0)",
232
+ opacity: "1"
233
+ }
234
+ },
235
+ slideInFromRight: {
236
+ "0%": {
237
+ transform: "translateX(10px)",
238
+ opacity: "0"
239
+ },
240
+ "100%": {
241
+ transform: "translateX(0)",
242
+ opacity: "1"
243
+ }
244
+ },
245
+ slideOutToTop: {
246
+ "0%": {
247
+ transform: "translateY(0)",
248
+ opacity: "1"
249
+ },
250
+ "100%": {
251
+ transform: "translateY(-10px)",
252
+ opacity: "0"
253
+ }
254
+ },
255
+ slideOutToBottom: {
256
+ "0%": {
257
+ transform: "translateY(0)",
258
+ opacity: "1"
259
+ },
260
+ "100%": {
261
+ transform: "translateY(10px)",
262
+ opacity: "0"
263
+ }
264
+ },
265
+ slideOutToLeft: {
266
+ "0%": {
267
+ transform: "translateX(0)",
268
+ opacity: "1"
269
+ },
270
+ "100%": {
271
+ transform: "translateX(-10px)",
272
+ opacity: "0"
273
+ }
274
+ },
275
+ slideOutToRight: {
276
+ "0%": {
277
+ transform: "translateX(0)",
278
+ opacity: "1"
279
+ },
280
+ "100%": {
281
+ transform: "translateX(10px)",
282
+ opacity: "0"
283
+ }
284
+ }
285
+ };
286
+
287
+ // ../tailwind-config/src/animation/index.ts
288
+ var animation = { ...sliceAnimation, ...barAnimation };
289
+ var keyframes = { ...sliceKeyframe, ...barKeyframe };
290
+
291
+ // ../tailwind-config/src/shadow/index.ts
292
+ var boxShadow = {
293
+ "border-1": "inner 0 0 0 1px inset",
294
+ "border-2": "inner 0 0 0 2px inset",
295
+ "border-3": "inner 0 0 0 3px inset",
296
+ "border-4": "inner 0 0 0 4px inset",
297
+ "border-5": "inner 0 0 0 5px inset",
298
+ "border-6": "inner 0 0 0 6px inset",
299
+ "border-7": "inner 0 0 0 7px inset",
300
+ "border-8": "inner 0 0 0 8px inset",
301
+ "border-9": "inner 0 0 0 9px inset",
302
+ "border-10": "inner 0 0 0 10px inset",
303
+ inner: "inset 0 4px 8px 0 rgba(36, 39, 44, 0.2)",
304
+ "inner-sm": "inset 0 4px 8px 0 rgba(0, 0, 0, 0.2)",
305
+ "inner-md": "inset 0 6px 12px 0 rgba(0, 0, 0, 0.2)",
306
+ "inner-lg": "inset 0 8px 16px 0 rgba(0, 0, 0, 0.2)",
307
+ "inner-xl": "inset 0 10px 20px 0 rgba(0, 0, 0, 0.2)",
308
+ drop: "0 20px 40px 0 rgba(36, 39, 44, 0.2)",
309
+ "drop-sm": "0 4px 12px 0 rgba(0, 0, 0, 0.1)",
310
+ "drop-md": "0 6px 18px 0 rgba(0, 0, 0, 0.1)",
311
+ "drop-lg": "0 8px 24px 0 rgba(0, 0, 0, 0.1)",
312
+ "drop-xl": "0 10px 30px 0 rgba(0, 0, 0, 0.1)"
313
+ };
314
+
315
+ // ../tailwind-config/src/border/radius.ts
316
+ var borderRadius = {
317
+ sm: "4px",
318
+ md: "6px",
319
+ lg: "8px",
320
+ xl: "10px",
321
+ none: "0",
322
+ full: "9999px"
323
+ };
324
+
325
+ // ../tailwind-config/src/space/gap.ts
326
+ var gap = {
327
+ sm: "4px",
328
+ md: "6px",
329
+ lg: "8px",
330
+ xl: "10px"
331
+ };
332
+
333
+ // src/utils/tailwind-variants.ts
334
+ function typedKeys(obj) {
335
+ return Object.keys(obj);
336
+ }
337
+ var COMMON_SIZE = ["sm", "md", "lg", "xl"];
338
+ var tv = (0, import_tailwind_variants.createTV)({
339
+ twMergeConfig: {
340
+ classGroups: {
341
+ fontSize: [{ text: [...typedKeys(fontSize)] }],
342
+ borderRadius: [{ rounded: [...typedKeys(borderRadius)] }],
343
+ boxShadow: [{ shadow: [...typedKeys(boxShadow)] }],
344
+ padding: [{ p: [...COMMON_SIZE] }],
345
+ gap: [{ gap: [...typedKeys(gap)] }]
346
+ }
347
+ }
348
+ });
349
+
350
+ // src/utils/props.ts
351
+ var mapPropsVariants = (props, variantKeys, removeVariantProps = true) => {
352
+ if (!variantKeys) {
353
+ return [props, {}];
354
+ }
355
+ const picked = variantKeys.reduce((acc, key) => {
356
+ if (key in props) {
357
+ return { ...acc, [key]: props[key] };
358
+ } else {
359
+ return acc;
360
+ }
361
+ }, {});
362
+ if (removeVariantProps) {
363
+ const omitted = Object.keys(props).filter((key) => !variantKeys.includes(key)).reduce((acc, key) => ({ ...acc, [key]: props[key] }), {});
364
+ return [omitted, picked];
365
+ } else {
366
+ return [props, picked];
367
+ }
368
+ };
369
+
370
+ // src/hooks/useIsMounted.ts
371
+ var import_react = require("react");
372
+ function useIsMounted(props = {}) {
373
+ const { rerender = false, delay = 0 } = props;
374
+ const isMountedRef = (0, import_react.useRef)(false);
375
+ const [isMounted, setIsMounted] = (0, import_react.useState)(false);
376
+ (0, import_react.useEffect)(() => {
377
+ isMountedRef.current = true;
378
+ let timer = null;
379
+ if (rerender) {
380
+ if (delay > 0) {
381
+ timer = setTimeout(() => {
382
+ setIsMounted(true);
383
+ }, delay);
384
+ } else {
385
+ setIsMounted(true);
386
+ }
387
+ }
388
+ return () => {
389
+ isMountedRef.current = false;
390
+ if (rerender) {
391
+ setIsMounted(false);
392
+ }
393
+ if (timer) {
394
+ clearTimeout(timer);
395
+ }
396
+ };
397
+ }, [rerender]);
398
+ return [(0, import_react.useCallback)(() => isMountedRef.current, []), isMounted];
399
+ }
400
+
401
+ // src/components/progress/progress.tsx
402
+ var import_jsx_runtime = require("react/jsx-runtime");
403
+ var Progress = (originalProps) => {
404
+ const [props, variantProps] = mapPropsVariants(originalProps, progressStyle.variantKeys);
405
+ const { children, classNames, value = 0, minValue = 0, maxValue = 100, ...progressProps } = props;
406
+ const isIndeterminate = originalProps.isIndeterminate;
407
+ const [, isMounted] = useIsMounted({
408
+ rerender: true,
409
+ delay: 100
410
+ });
411
+ const selfMounted = variantProps.disableAnimation ? true : isMounted;
412
+ const percentage = (0, import_react2.useMemo)(
413
+ () => isIndeterminate || !selfMounted ? void 0 : clampPercentage((value - minValue) / (maxValue - minValue) * 100),
414
+ [selfMounted, isIndeterminate, value, minValue, maxValue]
415
+ );
416
+ const slots = (0, import_react2.useMemo)(() => progressStyle({ ...variantProps }), [variantProps]);
417
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: slots.base({ class: classNames == null ? void 0 : classNames.base }), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: slots.track({ class: classNames == null ? void 0 : classNames.track }), children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
418
+ "div",
419
+ {
420
+ className: slots.indicator({ class: classNames == null ? void 0 : classNames.indicator }),
421
+ style: {
422
+ transform: `translateX(-${100 - (percentage || 0)}%)`
423
+ }
424
+ }
425
+ ) }) });
426
+ };
427
+ var progress_default = Progress;
428
+ var progressStyle = tv({
429
+ slots: {
430
+ base: ["flex flex-col gap-2 w-full"],
431
+ track: ["z-0", "relative", "bg-neutral-soft", "overflow-hidden", "rtl:rotate-180"],
432
+ indicator: ["h-full"],
433
+ value: ""
434
+ },
435
+ variants: {
436
+ color: {
437
+ primary: {
438
+ indicator: ["bg-gradient-to-r from-primary-light via-primary-light to-primary-main"]
439
+ },
440
+ secondary: {
441
+ indicator: ["bg-gradient-to-r from-secondary-light via-secondary-light to-secondary-main"]
442
+ },
443
+ neutral: {
444
+ indicator: ["bg-gradient-to-r from-neutral-light via-neutral-light to-neutral-main"]
445
+ },
446
+ info: {
447
+ indicator: ["bg-gradient-to-r from-info-light via-info-light to-info-main"]
448
+ },
449
+ success: {
450
+ indicator: ["bg-gradient-to-r from-success-light via-success-light to-success-main"]
451
+ },
452
+ warning: {
453
+ indicator: ["bg-gradient-to-r from-warning-light via-warning-light to-warning-main"]
454
+ },
455
+ danger: {
456
+ indicator: ["bg-gradient-to-r from-danger-light via-danger-light to-danger-main"]
457
+ }
458
+ },
459
+ size: {
460
+ sm: {
461
+ track: ["h-[4px]", "rounded-sm"],
462
+ indicator: "rounded-sm"
463
+ },
464
+ md: {
465
+ track: ["h-[6px]", "rounded-md"],
466
+ indicator: "rounded-md"
467
+ },
468
+ lg: {
469
+ track: ["h-[8px]", "rounded-lg"],
470
+ indicator: "rounded-lg"
471
+ },
472
+ xl: {
473
+ track: ["h-[10px]", "rounded-xl"],
474
+ indicator: "rounded-xl"
475
+ }
476
+ },
477
+ isDisabled: {
478
+ true: {
479
+ base: "opacity-disabled cursor-not-allowed"
480
+ }
481
+ },
482
+ disableAnimation: {
483
+ true: {},
484
+ false: {
485
+ indicator: "transition-transform !duration-500"
486
+ }
487
+ },
488
+ isIndeterminate: {
489
+ true: {
490
+ indicator: ["absolute", "w-full", "origin-left", "animate-indeterminate-bar"]
491
+ }
492
+ }
493
+ },
494
+ defaultVariants: {
495
+ color: "primary",
496
+ size: "md",
497
+ isDisabled: false,
498
+ disableAnimation: false,
499
+ isIndeterminate: false
500
+ },
501
+ compoundVariants: [
502
+ {
503
+ isIndeterminate: true,
504
+ disableAnimation: false,
505
+ className: {
506
+ indicator: "!transition-none motion-reduce:transition-none"
507
+ }
508
+ }
509
+ ]
510
+ });
511
+ var clampPercentage = (value) => {
512
+ return Math.min(100, Math.max(0, value));
513
+ };
@@ -0,0 +1,11 @@
1
+ "use client";
2
+ import {
3
+ progress_default
4
+ } from "../../chunk-5FFTHFBX.mjs";
5
+ import "../../chunk-E3G5QXSH.mjs";
6
+ import "../../chunk-CDXBML6O.mjs";
7
+ import "../../chunk-3V4HT2K5.mjs";
8
+ import "../../chunk-AC6TWLRT.mjs";
9
+ export {
10
+ progress_default as default
11
+ };
@@ -177,6 +177,21 @@ var fontSize = {
177
177
  ]
178
178
  };
179
179
 
180
+ // ../tailwind-config/src/animation/bar.ts
181
+ var barAnimation = {
182
+ "indeterminate-bar": "indeterminate-bar 1.5s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite normal none running"
183
+ };
184
+ var barKeyframe = {
185
+ "indeterminate-bar": {
186
+ "0%": {
187
+ transform: "translateX(-50%) scaleX(0.2)"
188
+ },
189
+ "100%": {
190
+ transform: "translateX(100%) scaleX(1)"
191
+ }
192
+ }
193
+ };
194
+
180
195
  // ../tailwind-config/src/animation/slide.ts
181
196
  var sliceAnimation = {
182
197
  slideInFromTop: "slideInFromTop 0.5s ease-out",
@@ -272,8 +287,8 @@ var sliceKeyframe = {
272
287
  };
273
288
 
274
289
  // ../tailwind-config/src/animation/index.ts
275
- var animation = { ...sliceAnimation };
276
- var keyframes = { ...sliceKeyframe };
290
+ var animation = { ...sliceAnimation, ...barAnimation };
291
+ var keyframes = { ...sliceKeyframe, ...barKeyframe };
277
292
 
278
293
  // ../tailwind-config/src/shadow/index.ts
279
294
  var boxShadow = {
@@ -2,10 +2,10 @@
2
2
  import "../../chunk-TPFN22HR.mjs";
3
3
  import {
4
4
  radio_default
5
- } from "../../chunk-5IESFXPF.mjs";
6
- import "../../chunk-XOPCRI7Z.mjs";
7
- import "../../chunk-27Y6K5NK.mjs";
5
+ } from "../../chunk-GH4EPD35.mjs";
8
6
  import "../../chunk-E3G5QXSH.mjs";
7
+ import "../../chunk-CDXBML6O.mjs";
8
+ import "../../chunk-27Y6K5NK.mjs";
9
9
  import "../../chunk-AC6TWLRT.mjs";
10
10
  export {
11
11
  radio_default as Radio
@@ -175,6 +175,21 @@ var fontSize = {
175
175
  ]
176
176
  };
177
177
 
178
+ // ../tailwind-config/src/animation/bar.ts
179
+ var barAnimation = {
180
+ "indeterminate-bar": "indeterminate-bar 1.5s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite normal none running"
181
+ };
182
+ var barKeyframe = {
183
+ "indeterminate-bar": {
184
+ "0%": {
185
+ transform: "translateX(-50%) scaleX(0.2)"
186
+ },
187
+ "100%": {
188
+ transform: "translateX(100%) scaleX(1)"
189
+ }
190
+ }
191
+ };
192
+
178
193
  // ../tailwind-config/src/animation/slide.ts
179
194
  var sliceAnimation = {
180
195
  slideInFromTop: "slideInFromTop 0.5s ease-out",
@@ -270,8 +285,8 @@ var sliceKeyframe = {
270
285
  };
271
286
 
272
287
  // ../tailwind-config/src/animation/index.ts
273
- var animation = { ...sliceAnimation };
274
- var keyframes = { ...sliceKeyframe };
288
+ var animation = { ...sliceAnimation, ...barAnimation };
289
+ var keyframes = { ...sliceKeyframe, ...barKeyframe };
275
290
 
276
291
  // ../tailwind-config/src/shadow/index.ts
277
292
  var boxShadow = {
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  radio_default
4
- } from "../../chunk-5IESFXPF.mjs";
5
- import "../../chunk-XOPCRI7Z.mjs";
6
- import "../../chunk-27Y6K5NK.mjs";
4
+ } from "../../chunk-GH4EPD35.mjs";
7
5
  import "../../chunk-E3G5QXSH.mjs";
6
+ import "../../chunk-CDXBML6O.mjs";
7
+ import "../../chunk-27Y6K5NK.mjs";
8
8
  import "../../chunk-AC6TWLRT.mjs";
9
9
  export {
10
10
  radio_default as default
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import "../../chunk-6WSACUIB.mjs";
3
- import {
4
- ripple_default
5
- } from "../../chunk-LXHUO6VM.mjs";
6
3
  import {
7
4
  useRipple
8
5
  } from "../../chunk-6PNKRBUT.mjs";
6
+ import {
7
+ ripple_default
8
+ } from "../../chunk-LXHUO6VM.mjs";
9
9
  import "../../chunk-AC6TWLRT.mjs";
10
10
  export {
11
11
  ripple_default as Ripple,
@@ -178,6 +178,21 @@ var fontSize = {
178
178
  ]
179
179
  };
180
180
 
181
+ // ../tailwind-config/src/animation/bar.ts
182
+ var barAnimation = {
183
+ "indeterminate-bar": "indeterminate-bar 1.5s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite normal none running"
184
+ };
185
+ var barKeyframe = {
186
+ "indeterminate-bar": {
187
+ "0%": {
188
+ transform: "translateX(-50%) scaleX(0.2)"
189
+ },
190
+ "100%": {
191
+ transform: "translateX(100%) scaleX(1)"
192
+ }
193
+ }
194
+ };
195
+
181
196
  // ../tailwind-config/src/animation/slide.ts
182
197
  var sliceAnimation = {
183
198
  slideInFromTop: "slideInFromTop 0.5s ease-out",
@@ -273,8 +288,8 @@ var sliceKeyframe = {
273
288
  };
274
289
 
275
290
  // ../tailwind-config/src/animation/index.ts
276
- var animation = { ...sliceAnimation };
277
- var keyframes = { ...sliceKeyframe };
291
+ var animation = { ...sliceAnimation, ...barAnimation };
292
+ var keyframes = { ...sliceKeyframe, ...barKeyframe };
278
293
 
279
294
  // ../tailwind-config/src/shadow/index.ts
280
295
  var boxShadow = {
@@ -2,13 +2,13 @@
2
2
  import "../../chunk-QCEKPS7U.mjs";
3
3
  import {
4
4
  select_default
5
- } from "../../chunk-FZNRCPWF.mjs";
5
+ } from "../../chunk-54342D4Z.mjs";
6
6
  import "../../chunk-ZYIIXWVY.mjs";
7
7
  import "../../chunk-JP4TEWP7.mjs";
8
+ import "../../chunk-E3G5QXSH.mjs";
8
9
  import "../../chunk-RRONV7YA.mjs";
9
- import "../../chunk-XOPCRI7Z.mjs";
10
+ import "../../chunk-CDXBML6O.mjs";
10
11
  import "../../chunk-27Y6K5NK.mjs";
11
- import "../../chunk-E3G5QXSH.mjs";
12
12
  import "../../chunk-AC6TWLRT.mjs";
13
13
  export {
14
14
  select_default as Select