@egose/shadcn-theme 0.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (338) hide show
  1. package/README.md +30 -0
  2. package/chunk-2NMEKWO5.js +38 -0
  3. package/chunk-2NMEKWO5.js.map +1 -0
  4. package/chunk-3ONILUYO.mjs +11 -0
  5. package/chunk-3ONILUYO.mjs.map +1 -0
  6. package/chunk-4CBX7RQR.mjs +37 -0
  7. package/chunk-4CBX7RQR.mjs.map +1 -0
  8. package/chunk-5HXFUN6E.mjs +132 -0
  9. package/chunk-5HXFUN6E.mjs.map +1 -0
  10. package/chunk-A6SPGGUA.mjs +31 -0
  11. package/chunk-A6SPGGUA.mjs.map +1 -0
  12. package/chunk-B2G2EZ4P.js +11 -0
  13. package/chunk-B2G2EZ4P.js.map +1 -0
  14. package/chunk-B5KVOXLO.js +119 -0
  15. package/chunk-B5KVOXLO.js.map +1 -0
  16. package/chunk-BBMYITL4.mjs +35 -0
  17. package/chunk-BBMYITL4.mjs.map +1 -0
  18. package/chunk-BIIFJJWL.mjs +119 -0
  19. package/chunk-BIIFJJWL.mjs.map +1 -0
  20. package/chunk-DDR4LO2B.mjs +27 -0
  21. package/chunk-DDR4LO2B.mjs.map +1 -0
  22. package/chunk-DG6G5KP2.js +35 -0
  23. package/chunk-DG6G5KP2.js.map +1 -0
  24. package/chunk-HPKA6MRM.js +132 -0
  25. package/chunk-HPKA6MRM.js.map +1 -0
  26. package/chunk-JB72ECC3.js +57 -0
  27. package/chunk-JB72ECC3.js.map +1 -0
  28. package/chunk-K5LCVJVQ.js +31 -0
  29. package/chunk-K5LCVJVQ.js.map +1 -0
  30. package/chunk-PEJ7BU4C.js +27 -0
  31. package/chunk-PEJ7BU4C.js.map +1 -0
  32. package/chunk-PICOAWKQ.js +49 -0
  33. package/chunk-PICOAWKQ.js.map +1 -0
  34. package/chunk-PZ6OC36F.js +32 -0
  35. package/chunk-PZ6OC36F.js.map +1 -0
  36. package/chunk-SIGC6GCN.mjs +32 -0
  37. package/chunk-SIGC6GCN.mjs.map +1 -0
  38. package/chunk-TVGM4RRO.mjs +21 -0
  39. package/chunk-TVGM4RRO.mjs.map +1 -0
  40. package/chunk-WTKKFZZ4.mjs +57 -0
  41. package/chunk-WTKKFZZ4.mjs.map +1 -0
  42. package/chunk-WTTHT7F4.js +21 -0
  43. package/chunk-WTTHT7F4.js.map +1 -0
  44. package/chunk-XHNXPJDJ.mjs +49 -0
  45. package/chunk-XHNXPJDJ.mjs.map +1 -0
  46. package/chunk-YOSPWY5K.mjs +38 -0
  47. package/chunk-YOSPWY5K.mjs.map +1 -0
  48. package/chunk-ZR3EVQAK.js +37 -0
  49. package/chunk-ZR3EVQAK.js.map +1 -0
  50. package/components/ui/accordion.d.mts +9 -0
  51. package/components/ui/accordion.d.ts +9 -0
  52. package/components/ui/accordion.js +59 -0
  53. package/components/ui/accordion.js.map +1 -0
  54. package/components/ui/accordion.mjs +59 -0
  55. package/components/ui/accordion.mjs.map +1 -0
  56. package/components/ui/alert-dialog.d.mts +22 -0
  57. package/components/ui/alert-dialog.d.ts +22 -0
  58. package/components/ui/alert-dialog.js +143 -0
  59. package/components/ui/alert-dialog.js.map +1 -0
  60. package/components/ui/alert-dialog.mjs +143 -0
  61. package/components/ui/alert-dialog.mjs.map +1 -0
  62. package/components/ui/alert.d.mts +11 -0
  63. package/components/ui/alert.d.ts +11 -0
  64. package/components/ui/alert.js +65 -0
  65. package/components/ui/alert.js.map +1 -0
  66. package/components/ui/alert.mjs +65 -0
  67. package/components/ui/alert.mjs.map +1 -0
  68. package/components/ui/aspect-ratio.d.mts +6 -0
  69. package/components/ui/aspect-ratio.d.ts +6 -0
  70. package/components/ui/aspect-ratio.js +9 -0
  71. package/components/ui/aspect-ratio.js.map +1 -0
  72. package/components/ui/aspect-ratio.mjs +9 -0
  73. package/components/ui/aspect-ratio.mjs.map +1 -0
  74. package/components/ui/avatar.d.mts +8 -0
  75. package/components/ui/avatar.d.ts +8 -0
  76. package/components/ui/avatar.js +57 -0
  77. package/components/ui/avatar.js.map +1 -0
  78. package/components/ui/avatar.mjs +57 -0
  79. package/components/ui/avatar.mjs.map +1 -0
  80. package/components/ui/badge.d.mts +12 -0
  81. package/components/ui/badge.d.ts +12 -0
  82. package/components/ui/badge.js +36 -0
  83. package/components/ui/badge.js.map +1 -0
  84. package/components/ui/badge.mjs +36 -0
  85. package/components/ui/badge.mjs.map +1 -0
  86. package/components/ui/breadcrumb.d.mts +21 -0
  87. package/components/ui/breadcrumb.d.ts +21 -0
  88. package/components/ui/breadcrumb.js +115 -0
  89. package/components/ui/breadcrumb.js.map +1 -0
  90. package/components/ui/breadcrumb.mjs +115 -0
  91. package/components/ui/breadcrumb.mjs.map +1 -0
  92. package/components/ui/button.d.mts +14 -0
  93. package/components/ui/button.d.ts +14 -0
  94. package/components/ui/button.js +11 -0
  95. package/components/ui/button.js.map +1 -0
  96. package/components/ui/button.mjs +11 -0
  97. package/components/ui/button.mjs.map +1 -0
  98. package/components/ui/calendar.d.mts +10 -0
  99. package/components/ui/calendar.d.ts +10 -0
  100. package/components/ui/calendar.js +81 -0
  101. package/components/ui/calendar.js.map +1 -0
  102. package/components/ui/calendar.mjs +81 -0
  103. package/components/ui/calendar.mjs.map +1 -0
  104. package/components/ui/card.d.mts +10 -0
  105. package/components/ui/card.d.ts +10 -0
  106. package/components/ui/card.js +82 -0
  107. package/components/ui/card.js.map +1 -0
  108. package/components/ui/card.mjs +82 -0
  109. package/components/ui/card.mjs.map +1 -0
  110. package/components/ui/carousel.d.mts +23 -0
  111. package/components/ui/carousel.d.ts +23 -0
  112. package/components/ui/carousel.js +206 -0
  113. package/components/ui/carousel.js.map +1 -0
  114. package/components/ui/carousel.mjs +206 -0
  115. package/components/ui/carousel.mjs.map +1 -0
  116. package/components/ui/chart.d.mts +68 -0
  117. package/components/ui/chart.d.ts +68 -0
  118. package/components/ui/chart.js +236 -0
  119. package/components/ui/chart.js.map +1 -0
  120. package/components/ui/chart.mjs +236 -0
  121. package/components/ui/chart.mjs.map +1 -0
  122. package/components/ui/checkbox.d.mts +6 -0
  123. package/components/ui/checkbox.d.ts +6 -0
  124. package/components/ui/checkbox.js +37 -0
  125. package/components/ui/checkbox.js.map +1 -0
  126. package/components/ui/checkbox.mjs +37 -0
  127. package/components/ui/checkbox.mjs.map +1 -0
  128. package/components/ui/collapsible.d.mts +8 -0
  129. package/components/ui/collapsible.d.ts +8 -0
  130. package/components/ui/collapsible.js +14 -0
  131. package/components/ui/collapsible.js.map +1 -0
  132. package/components/ui/collapsible.mjs +14 -0
  133. package/components/ui/collapsible.mjs.map +1 -0
  134. package/components/ui/command.d.mts +82 -0
  135. package/components/ui/command.d.ts +82 -0
  136. package/components/ui/command.js +135 -0
  137. package/components/ui/command.js.map +1 -0
  138. package/components/ui/command.mjs +135 -0
  139. package/components/ui/command.mjs.map +1 -0
  140. package/components/ui/context-menu.d.mts +29 -0
  141. package/components/ui/context-menu.d.ts +29 -0
  142. package/components/ui/context-menu.js +172 -0
  143. package/components/ui/context-menu.js.map +1 -0
  144. package/components/ui/context-menu.mjs +172 -0
  145. package/components/ui/context-menu.mjs.map +1 -0
  146. package/components/ui/dialog.d.mts +21 -0
  147. package/components/ui/dialog.d.ts +21 -0
  148. package/components/ui/dialog.js +28 -0
  149. package/components/ui/dialog.js.map +1 -0
  150. package/components/ui/dialog.mjs +28 -0
  151. package/components/ui/dialog.mjs.map +1 -0
  152. package/components/ui/drawer.d.mts +26 -0
  153. package/components/ui/drawer.d.ts +26 -0
  154. package/components/ui/drawer.js +122 -0
  155. package/components/ui/drawer.js.map +1 -0
  156. package/components/ui/drawer.mjs +122 -0
  157. package/components/ui/drawer.mjs.map +1 -0
  158. package/components/ui/dropdown-menu.d.mts +29 -0
  159. package/components/ui/dropdown-menu.d.ts +29 -0
  160. package/components/ui/dropdown-menu.js +171 -0
  161. package/components/ui/dropdown-menu.js.map +1 -0
  162. package/components/ui/dropdown-menu.mjs +171 -0
  163. package/components/ui/dropdown-menu.mjs.map +1 -0
  164. package/components/ui/form.d.mts +27 -0
  165. package/components/ui/form.d.ts +27 -0
  166. package/components/ui/form.js +123 -0
  167. package/components/ui/form.js.map +1 -0
  168. package/components/ui/form.mjs +123 -0
  169. package/components/ui/form.mjs.map +1 -0
  170. package/components/ui/hover-card.d.mts +8 -0
  171. package/components/ui/hover-card.d.ts +8 -0
  172. package/components/ui/hover-card.js +36 -0
  173. package/components/ui/hover-card.js.map +1 -0
  174. package/components/ui/hover-card.mjs +36 -0
  175. package/components/ui/hover-card.mjs.map +1 -0
  176. package/components/ui/input-otp.d.mts +37 -0
  177. package/components/ui/input-otp.d.ts +37 -0
  178. package/components/ui/input-otp.js +63 -0
  179. package/components/ui/input-otp.js.map +1 -0
  180. package/components/ui/input-otp.mjs +63 -0
  181. package/components/ui/input-otp.mjs.map +1 -0
  182. package/components/ui/input.d.mts +5 -0
  183. package/components/ui/input.d.ts +5 -0
  184. package/components/ui/input.js +9 -0
  185. package/components/ui/input.js.map +1 -0
  186. package/components/ui/input.mjs +9 -0
  187. package/components/ui/input.mjs.map +1 -0
  188. package/components/ui/label.d.mts +8 -0
  189. package/components/ui/label.d.ts +8 -0
  190. package/components/ui/label.js +9 -0
  191. package/components/ui/label.js.map +1 -0
  192. package/components/ui/label.mjs +9 -0
  193. package/components/ui/label.mjs.map +1 -0
  194. package/components/ui/menubar.d.mts +30 -0
  195. package/components/ui/menubar.d.ts +30 -0
  196. package/components/ui/menubar.js +221 -0
  197. package/components/ui/menubar.js.map +1 -0
  198. package/components/ui/menubar.mjs +221 -0
  199. package/components/ui/menubar.mjs.map +1 -0
  200. package/components/ui/navigation-menu.d.mts +15 -0
  201. package/components/ui/navigation-menu.d.ts +15 -0
  202. package/components/ui/navigation-menu.js +123 -0
  203. package/components/ui/navigation-menu.js.map +1 -0
  204. package/components/ui/navigation-menu.mjs +123 -0
  205. package/components/ui/navigation-menu.mjs.map +1 -0
  206. package/components/ui/pagination.d.mts +32 -0
  207. package/components/ui/pagination.d.ts +32 -0
  208. package/components/ui/pagination.js +130 -0
  209. package/components/ui/pagination.js.map +1 -0
  210. package/components/ui/pagination.mjs +130 -0
  211. package/components/ui/pagination.mjs.map +1 -0
  212. package/components/ui/popover.d.mts +9 -0
  213. package/components/ui/popover.d.ts +9 -0
  214. package/components/ui/popover.js +37 -0
  215. package/components/ui/popover.js.map +1 -0
  216. package/components/ui/popover.mjs +37 -0
  217. package/components/ui/popover.mjs.map +1 -0
  218. package/components/ui/progress.d.mts +6 -0
  219. package/components/ui/progress.d.ts +6 -0
  220. package/components/ui/progress.js +37 -0
  221. package/components/ui/progress.js.map +1 -0
  222. package/components/ui/progress.mjs +37 -0
  223. package/components/ui/progress.mjs.map +1 -0
  224. package/components/ui/radio-group.d.mts +7 -0
  225. package/components/ui/radio-group.d.ts +7 -0
  226. package/components/ui/radio-group.js +45 -0
  227. package/components/ui/radio-group.js.map +1 -0
  228. package/components/ui/radio-group.mjs +45 -0
  229. package/components/ui/radio-group.mjs.map +1 -0
  230. package/components/ui/resizable.d.mts +26 -0
  231. package/components/ui/resizable.d.ts +26 -0
  232. package/components/ui/resizable.js +54 -0
  233. package/components/ui/resizable.js.map +1 -0
  234. package/components/ui/resizable.mjs +54 -0
  235. package/components/ui/resizable.mjs.map +1 -0
  236. package/components/ui/scroll-area.d.mts +7 -0
  237. package/components/ui/scroll-area.d.ts +7 -0
  238. package/components/ui/scroll-area.js +48 -0
  239. package/components/ui/scroll-area.js.map +1 -0
  240. package/components/ui/scroll-area.mjs +48 -0
  241. package/components/ui/scroll-area.mjs.map +1 -0
  242. package/components/ui/select.d.mts +15 -0
  243. package/components/ui/select.d.ts +15 -0
  244. package/components/ui/select.js +141 -0
  245. package/components/ui/select.js.map +1 -0
  246. package/components/ui/select.mjs +141 -0
  247. package/components/ui/select.mjs.map +1 -0
  248. package/components/ui/separator.d.mts +6 -0
  249. package/components/ui/separator.d.ts +6 -0
  250. package/components/ui/separator.js +9 -0
  251. package/components/ui/separator.js.map +1 -0
  252. package/components/ui/separator.mjs +9 -0
  253. package/components/ui/separator.mjs.map +1 -0
  254. package/components/ui/sheet.d.mts +28 -0
  255. package/components/ui/sheet.d.ts +28 -0
  256. package/components/ui/sheet.js +28 -0
  257. package/components/ui/sheet.js.map +1 -0
  258. package/components/ui/sheet.mjs +28 -0
  259. package/components/ui/sheet.mjs.map +1 -0
  260. package/components/ui/sidebar.d.mts +72 -0
  261. package/components/ui/sidebar.d.ts +72 -0
  262. package/components/ui/sidebar.js +642 -0
  263. package/components/ui/sidebar.js.map +1 -0
  264. package/components/ui/sidebar.mjs +642 -0
  265. package/components/ui/sidebar.mjs.map +1 -0
  266. package/components/ui/skeleton.d.mts +5 -0
  267. package/components/ui/skeleton.d.ts +5 -0
  268. package/components/ui/skeleton.js +9 -0
  269. package/components/ui/skeleton.js.map +1 -0
  270. package/components/ui/skeleton.mjs +9 -0
  271. package/components/ui/skeleton.mjs.map +1 -0
  272. package/components/ui/slider.d.mts +6 -0
  273. package/components/ui/slider.d.ts +6 -0
  274. package/components/ui/slider.js +31 -0
  275. package/components/ui/slider.js.map +1 -0
  276. package/components/ui/slider.mjs +31 -0
  277. package/components/ui/slider.mjs.map +1 -0
  278. package/components/ui/sonner.d.mts +7 -0
  279. package/components/ui/sonner.d.ts +7 -0
  280. package/components/ui/sonner.js +32 -0
  281. package/components/ui/sonner.js.map +1 -0
  282. package/components/ui/sonner.mjs +32 -0
  283. package/components/ui/sonner.mjs.map +1 -0
  284. package/components/ui/switch.d.mts +6 -0
  285. package/components/ui/switch.d.ts +6 -0
  286. package/components/ui/switch.js +39 -0
  287. package/components/ui/switch.js.map +1 -0
  288. package/components/ui/switch.mjs +39 -0
  289. package/components/ui/switch.mjs.map +1 -0
  290. package/components/ui/table.d.mts +12 -0
  291. package/components/ui/table.d.ts +12 -0
  292. package/components/ui/table.js +115 -0
  293. package/components/ui/table.js.map +1 -0
  294. package/components/ui/table.mjs +115 -0
  295. package/components/ui/table.mjs.map +1 -0
  296. package/components/ui/tabs.d.mts +9 -0
  297. package/components/ui/tabs.d.ts +9 -0
  298. package/components/ui/tabs.js +61 -0
  299. package/components/ui/tabs.js.map +1 -0
  300. package/components/ui/tabs.mjs +61 -0
  301. package/components/ui/tabs.mjs.map +1 -0
  302. package/components/ui/textarea.d.mts +5 -0
  303. package/components/ui/textarea.d.ts +5 -0
  304. package/components/ui/textarea.js +28 -0
  305. package/components/ui/textarea.js.map +1 -0
  306. package/components/ui/textarea.mjs +28 -0
  307. package/components/ui/textarea.mjs.map +1 -0
  308. package/components/ui/toggle-group.d.mts +15 -0
  309. package/components/ui/toggle-group.d.ts +15 -0
  310. package/components/ui/toggle-group.js +55 -0
  311. package/components/ui/toggle-group.js.map +1 -0
  312. package/components/ui/toggle-group.mjs +55 -0
  313. package/components/ui/toggle-group.mjs.map +1 -0
  314. package/components/ui/toggle.d.mts +15 -0
  315. package/components/ui/toggle.d.ts +15 -0
  316. package/components/ui/toggle.js +11 -0
  317. package/components/ui/toggle.js.map +1 -0
  318. package/components/ui/toggle.mjs +11 -0
  319. package/components/ui/toggle.mjs.map +1 -0
  320. package/components/ui/tooltip.d.mts +9 -0
  321. package/components/ui/tooltip.d.ts +9 -0
  322. package/components/ui/tooltip.js +16 -0
  323. package/components/ui/tooltip.js.map +1 -0
  324. package/components/ui/tooltip.mjs +16 -0
  325. package/components/ui/tooltip.mjs.map +1 -0
  326. package/hooks/use-mobile.d.mts +3 -0
  327. package/hooks/use-mobile.d.ts +3 -0
  328. package/hooks/use-mobile.js +8 -0
  329. package/hooks/use-mobile.js.map +1 -0
  330. package/hooks/use-mobile.mjs +8 -0
  331. package/hooks/use-mobile.mjs.map +1 -0
  332. package/lib/utils.d.mts +5 -0
  333. package/lib/utils.d.ts +5 -0
  334. package/lib/utils.js +8 -0
  335. package/lib/utils.js.map +1 -0
  336. package/lib/utils.mjs +8 -0
  337. package/lib/utils.mjs.map +1 -0
  338. package/package.json +64 -0
package/README.md ADDED
@@ -0,0 +1,30 @@
1
+ primary
2
+ secondary
3
+ success
4
+ warning
5
+ danger
6
+ info
7
+
8
+ light
9
+ dark
10
+ link
11
+
12
+ tertiary
13
+ accent
14
+ muted
15
+
16
+
17
+ 🎨 Color Palette (HEX Values)
18
+ Token HEX Value Color Preview
19
+ Primary #007bff 🔵 (Bright Blue - Default CTA)
20
+ Secondary #6c757d ⚫ (Grayish - Neutral Alternative)
21
+ Success #28a745 ✅ (Green - Positive/Success)
22
+ Warning #ffc107 ⚠️ (Yellow - Caution)
23
+ Danger #dc3545 ❌ (Red - Errors, Alerts)
24
+ Info #17a2b8 📘 (Cyan - Informational)
25
+ Light #f8f9fa ⚪ (Near White - Light Mode)
26
+ Dark #343a40 ⚫ (Dark Gray - Dark Mode)
27
+ Link #0056b3 🔵 (Darker Blue - Links)
28
+ Tertiary #6610f2 🟣 (Purple - Additional Accent)
29
+ Accent #e83e8c 🌸 (Pink - Decorative Highlight)
30
+ Muted #adb5bd 🎭 (Muted Gray - Subtle Text)
@@ -0,0 +1,38 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var __defProp = Object.defineProperty;
2
+ var __defProps = Object.defineProperties;
3
+ var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
4
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
7
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
8
+ var __spreadValues = (a, b) => {
9
+ for (var prop in b || (b = {}))
10
+ if (__hasOwnProp.call(b, prop))
11
+ __defNormalProp(a, prop, b[prop]);
12
+ if (__getOwnPropSymbols)
13
+ for (var prop of __getOwnPropSymbols(b)) {
14
+ if (__propIsEnum.call(b, prop))
15
+ __defNormalProp(a, prop, b[prop]);
16
+ }
17
+ return a;
18
+ };
19
+ var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
20
+ var __objRest = (source, exclude) => {
21
+ var target = {};
22
+ for (var prop in source)
23
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
24
+ target[prop] = source[prop];
25
+ if (source != null && __getOwnPropSymbols)
26
+ for (var prop of __getOwnPropSymbols(source)) {
27
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
28
+ target[prop] = source[prop];
29
+ }
30
+ return target;
31
+ };
32
+
33
+
34
+
35
+
36
+
37
+ exports.__spreadValues = __spreadValues; exports.__spreadProps = __spreadProps; exports.__objRest = __objRest;
38
+ //# sourceMappingURL=chunk-2NMEKWO5.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/ahnjun/projects/egose-shadcn/package/dist/chunk-2NMEKWO5.js"],"names":[],"mappings":"AAAA,6EAAI,UAAU,EAAE,MAAM,CAAC,cAAc;AACrC,IAAI,WAAW,EAAE,MAAM,CAAC,gBAAgB;AACxC,IAAI,kBAAkB,EAAE,MAAM,CAAC,yBAAyB;AACxD,IAAI,oBAAoB,EAAE,MAAM,CAAC,qBAAqB;AACtD,IAAI,aAAa,EAAE,MAAM,CAAC,SAAS,CAAC,cAAc;AAClD,IAAI,aAAa,EAAE,MAAM,CAAC,SAAS,CAAC,oBAAoB;AACxD,IAAI,gBAAgB,EAAE,CAAC,GAAG,EAAE,GAAG,EAAE,KAAK,EAAE,GAAG,IAAI,GAAG,IAAI,EAAE,SAAS,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,UAAU,EAAE,IAAI,EAAE,YAAY,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,CAAC,EAAE,EAAE,GAAG,CAAC,GAAG,EAAE,EAAE,KAAK;AAC/J,IAAI,eAAe,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,GAAG;AAC/B,EAAE,IAAI,CAAC,IAAI,KAAK,GAAG,EAAE,GAAG,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC;AAChC,I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C;AACnC,IAAI;AACJ,EAAE,OAAO,MAAM;AACf,CAAC;AACD;AACA;AACE;AACA;AACA;AACF,8GAAC","file":"/home/ahnjun/projects/egose-shadcn/package/dist/chunk-2NMEKWO5.js"}
@@ -0,0 +1,11 @@
1
+ // lib/utils.ts
2
+ import { clsx } from "clsx";
3
+ import { twMerge } from "tailwind-merge";
4
+ function cn(...inputs) {
5
+ return twMerge(clsx(inputs));
6
+ }
7
+
8
+ export {
9
+ cn
10
+ };
11
+ //# sourceMappingURL=chunk-3ONILUYO.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../lib/utils.ts"],"sourcesContent":["import { clsx, type ClassValue } from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n"],"mappings":";AAAA,SAAS,YAA6B;AACtC,SAAS,eAAe;AAEjB,SAAS,MAAM,QAAsB;AAC1C,SAAO,QAAQ,KAAK,MAAM,CAAC;AAC7B;","names":[]}
@@ -0,0 +1,37 @@
1
+ import {
2
+ cn
3
+ } from "./chunk-3ONILUYO.mjs";
4
+ import {
5
+ __objRest,
6
+ __spreadValues
7
+ } from "./chunk-YOSPWY5K.mjs";
8
+
9
+ // components/ui/tooltip.tsx
10
+ import * as React from "react";
11
+ import * as TooltipPrimitive from "@radix-ui/react-tooltip";
12
+ var TooltipProvider = TooltipPrimitive.Provider;
13
+ var Tooltip = TooltipPrimitive.Root;
14
+ var TooltipTrigger = TooltipPrimitive.Trigger;
15
+ var TooltipContent = React.forwardRef((_a, ref) => {
16
+ var _b = _a, { className, sideOffset = 4 } = _b, props = __objRest(_b, ["className", "sideOffset"]);
17
+ return /* @__PURE__ */ React.createElement(TooltipPrimitive.Portal, null, /* @__PURE__ */ React.createElement(
18
+ TooltipPrimitive.Content,
19
+ __spreadValues({
20
+ ref,
21
+ sideOffset,
22
+ className: cn(
23
+ "z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
24
+ className
25
+ )
26
+ }, props)
27
+ ));
28
+ });
29
+ TooltipContent.displayName = TooltipPrimitive.Content.displayName;
30
+
31
+ export {
32
+ TooltipProvider,
33
+ Tooltip,
34
+ TooltipTrigger,
35
+ TooltipContent
36
+ };
37
+ //# sourceMappingURL=chunk-4CBX7RQR.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../components/ui/tooltip.tsx"],"sourcesContent":["\"use client\"\n\nimport * as React from \"react\"\nimport * as TooltipPrimitive from \"@radix-ui/react-tooltip\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst TooltipProvider = TooltipPrimitive.Provider\n\nconst Tooltip = TooltipPrimitive.Root\n\nconst TooltipTrigger = TooltipPrimitive.Trigger\n\nconst TooltipContent = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <TooltipPrimitive.Portal>\n <TooltipPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(\n \"z-50 overflow-hidden rounded-md bg-primary px-3 py-1.5 text-xs text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2\",\n className\n )}\n {...props}\n />\n </TooltipPrimitive.Portal>\n))\nTooltipContent.displayName = TooltipPrimitive.Content.displayName\n\nexport { Tooltip, TooltipTrigger, TooltipContent, TooltipProvider }\n"],"mappings":";;;;;;;;;AAEA,YAAY,WAAW;AACvB,YAAY,sBAAsB;AAIlC,IAAM,kBAAmC;AAEzC,IAAM,UAA2B;AAEjC,IAAM,iBAAkC;AAExC,IAAM,iBAAuB,iBAG3B,CAAC,IAAyC,QAAK;AAA9C,eAAE,aAAW,aAAa,EAhB7B,IAgBG,IAAgC,kBAAhC,IAAgC,CAA9B,aAAW;AACd,6CAAkB,yBAAjB,MACC;AAAA,IAAkB;AAAA,IAAjB;AAAA,MACC;AAAA,MACA;AAAA,MACA,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,OACI;AAAA,EACN,CACF;AAAA,CACD;AACD,eAAe,cAA+B,yBAAQ;","names":[]}
@@ -0,0 +1,132 @@
1
+ import {
2
+ cn
3
+ } from "./chunk-3ONILUYO.mjs";
4
+ import {
5
+ __objRest,
6
+ __spreadProps,
7
+ __spreadValues
8
+ } from "./chunk-YOSPWY5K.mjs";
9
+
10
+ // components/ui/sheet.tsx
11
+ import * as React from "react";
12
+ import * as SheetPrimitive from "@radix-ui/react-dialog";
13
+ import { cva } from "class-variance-authority";
14
+ import { X } from "lucide-react";
15
+ var Sheet = SheetPrimitive.Root;
16
+ var SheetTrigger = SheetPrimitive.Trigger;
17
+ var SheetClose = SheetPrimitive.Close;
18
+ var SheetPortal = SheetPrimitive.Portal;
19
+ var SheetOverlay = React.forwardRef((_a, ref) => {
20
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
21
+ return /* @__PURE__ */ React.createElement(
22
+ SheetPrimitive.Overlay,
23
+ __spreadProps(__spreadValues({
24
+ className: cn(
25
+ "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
26
+ className
27
+ )
28
+ }, props), {
29
+ ref
30
+ })
31
+ );
32
+ });
33
+ SheetOverlay.displayName = SheetPrimitive.Overlay.displayName;
34
+ var sheetVariants = cva(
35
+ "fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",
36
+ {
37
+ variants: {
38
+ side: {
39
+ top: "inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",
40
+ bottom: "inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",
41
+ left: "inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",
42
+ right: "inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"
43
+ }
44
+ },
45
+ defaultVariants: {
46
+ side: "right"
47
+ }
48
+ }
49
+ );
50
+ var SheetContent = React.forwardRef((_a, ref) => {
51
+ var _b = _a, { side = "right", className, children } = _b, props = __objRest(_b, ["side", "className", "children"]);
52
+ return /* @__PURE__ */ React.createElement(SheetPortal, null, /* @__PURE__ */ React.createElement(SheetOverlay, null), /* @__PURE__ */ React.createElement(
53
+ SheetPrimitive.Content,
54
+ __spreadValues({
55
+ ref,
56
+ className: cn(sheetVariants({ side }), className)
57
+ }, props),
58
+ /* @__PURE__ */ React.createElement(SheetPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary" }, /* @__PURE__ */ React.createElement(X, { className: "h-4 w-4" }), /* @__PURE__ */ React.createElement("span", { className: "sr-only" }, "Close")),
59
+ children
60
+ ));
61
+ });
62
+ SheetContent.displayName = SheetPrimitive.Content.displayName;
63
+ var SheetHeader = (_a) => {
64
+ var _b = _a, {
65
+ className
66
+ } = _b, props = __objRest(_b, [
67
+ "className"
68
+ ]);
69
+ return /* @__PURE__ */ React.createElement(
70
+ "div",
71
+ __spreadValues({
72
+ className: cn(
73
+ "flex flex-col space-y-2 text-center sm:text-left",
74
+ className
75
+ )
76
+ }, props)
77
+ );
78
+ };
79
+ SheetHeader.displayName = "SheetHeader";
80
+ var SheetFooter = (_a) => {
81
+ var _b = _a, {
82
+ className
83
+ } = _b, props = __objRest(_b, [
84
+ "className"
85
+ ]);
86
+ return /* @__PURE__ */ React.createElement(
87
+ "div",
88
+ __spreadValues({
89
+ className: cn(
90
+ "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
91
+ className
92
+ )
93
+ }, props)
94
+ );
95
+ };
96
+ SheetFooter.displayName = "SheetFooter";
97
+ var SheetTitle = React.forwardRef((_a, ref) => {
98
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
99
+ return /* @__PURE__ */ React.createElement(
100
+ SheetPrimitive.Title,
101
+ __spreadValues({
102
+ ref,
103
+ className: cn("text-lg font-semibold text-foreground", className)
104
+ }, props)
105
+ );
106
+ });
107
+ SheetTitle.displayName = SheetPrimitive.Title.displayName;
108
+ var SheetDescription = React.forwardRef((_a, ref) => {
109
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
110
+ return /* @__PURE__ */ React.createElement(
111
+ SheetPrimitive.Description,
112
+ __spreadValues({
113
+ ref,
114
+ className: cn("text-sm text-muted-foreground", className)
115
+ }, props)
116
+ );
117
+ });
118
+ SheetDescription.displayName = SheetPrimitive.Description.displayName;
119
+
120
+ export {
121
+ Sheet,
122
+ SheetTrigger,
123
+ SheetClose,
124
+ SheetPortal,
125
+ SheetOverlay,
126
+ SheetContent,
127
+ SheetHeader,
128
+ SheetFooter,
129
+ SheetTitle,
130
+ SheetDescription
131
+ };
132
+ //# sourceMappingURL=chunk-5HXFUN6E.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../components/ui/sheet.tsx"],"sourcesContent":["\"use client\"\n\nimport * as React from \"react\"\nimport * as SheetPrimitive from \"@radix-ui/react-dialog\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\nimport { X } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Sheet = SheetPrimitive.Root\n\nconst SheetTrigger = SheetPrimitive.Trigger\n\nconst SheetClose = SheetPrimitive.Close\n\nconst SheetPortal = SheetPrimitive.Portal\n\nconst SheetOverlay = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof SheetPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <SheetPrimitive.Overlay\n className={cn(\n \"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\",\n className\n )}\n {...props}\n ref={ref}\n />\n))\nSheetOverlay.displayName = SheetPrimitive.Overlay.displayName\n\nconst sheetVariants = cva(\n \"fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out\",\n {\n variants: {\n side: {\n top: \"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top\",\n bottom:\n \"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom\",\n left: \"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm\",\n right:\n \"inset-y-0 right-0 h-full w-3/4 border-l data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm\",\n },\n },\n defaultVariants: {\n side: \"right\",\n },\n }\n)\n\ninterface SheetContentProps\n extends React.ComponentPropsWithoutRef<typeof SheetPrimitive.Content>,\n VariantProps<typeof sheetVariants> {}\n\nconst SheetContent = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Content>,\n SheetContentProps\n>(({ side = \"right\", className, children, ...props }, ref) => (\n <SheetPortal>\n <SheetOverlay />\n <SheetPrimitive.Content\n ref={ref}\n className={cn(sheetVariants({ side }), className)}\n {...props}\n >\n <SheetPrimitive.Close className=\"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary\">\n <X className=\"h-4 w-4\" />\n <span className=\"sr-only\">Close</span>\n </SheetPrimitive.Close>\n {children}\n </SheetPrimitive.Content>\n </SheetPortal>\n))\nSheetContent.displayName = SheetPrimitive.Content.displayName\n\nconst SheetHeader = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n \"flex flex-col space-y-2 text-center sm:text-left\",\n className\n )}\n {...props}\n />\n)\nSheetHeader.displayName = \"SheetHeader\"\n\nconst SheetFooter = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n \"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2\",\n className\n )}\n {...props}\n />\n)\nSheetFooter.displayName = \"SheetFooter\"\n\nconst SheetTitle = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof SheetPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <SheetPrimitive.Title\n ref={ref}\n className={cn(\"text-lg font-semibold text-foreground\", className)}\n {...props}\n />\n))\nSheetTitle.displayName = SheetPrimitive.Title.displayName\n\nconst SheetDescription = React.forwardRef<\n React.ElementRef<typeof SheetPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof SheetPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <SheetPrimitive.Description\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n))\nSheetDescription.displayName = SheetPrimitive.Description.displayName\n\nexport {\n Sheet,\n SheetPortal,\n SheetOverlay,\n SheetTrigger,\n SheetClose,\n SheetContent,\n SheetHeader,\n SheetFooter,\n SheetTitle,\n SheetDescription,\n}\n"],"mappings":";;;;;;;;;;AAEA,YAAY,WAAW;AACvB,YAAY,oBAA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AW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,OACI;AAAA,EACN;AAAA;AAEF,YAAY,cAAc;AAE1B,IAAM,cAAc,CAAC,OAGoB;AAHpB,eACnB;AAAA;AAAA,EA3FF,IA0FqB,IAEhB,kBAFgB,IAEhB;AAAA,IADH;AAAA;AAGA;AAAA,IAAC;AAAA;AAAA,MACC,WAAW;AAAA,QACT;AAAA,QACA;AAAA,MACF;AAAA,OACI;AAAA,EACN;AAAA;AAEF,YAAY,cAAc;AAE1B,IAAM,aAAmB,iBAGvB,CAAC,IAAyB,QAAK;AAA9B,eAAE,YA3GL,IA2GG,IAAgB,kBAAhB,IAAgB,CAAd;AACH;AAAA,IAAgB;AAAA,IAAf;AAAA,MACC;AAAA,MACA,WAAW,GAAG,yCAAyC,SAAS;AAAA,OAC5D;AAAA,EACN;AAAA,CACD;AACD,WAAW,cAA6B,qBAAM;AAE9C,IAAM,mBAAyB,iBAG7B,CAAC,IAAyB,QAAK;AAA9B,eAAE,YAvHL,IAuHG,IAAgB,kBAAhB,IAAgB,CAAd;AACH;AAAA,IAAgB;AAAA,IAAf;AAAA,MACC;AAAA,MACA,WAAW,GAAG,iCAAiC,SAAS;AAAA,OACpD;AAAA,EACN;AAAA,CACD;AACD,iBAAiB,cAA6B,2BAAY;","names":[]}
@@ -0,0 +1,31 @@
1
+ import {
2
+ cn
3
+ } from "./chunk-3ONILUYO.mjs";
4
+ import {
5
+ __objRest,
6
+ __spreadValues
7
+ } from "./chunk-YOSPWY5K.mjs";
8
+
9
+ // components/ui/label.tsx
10
+ import * as React from "react";
11
+ import * as LabelPrimitive from "@radix-ui/react-label";
12
+ import { cva } from "class-variance-authority";
13
+ var labelVariants = cva(
14
+ "text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
15
+ );
16
+ var Label = React.forwardRef((_a, ref) => {
17
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
18
+ return /* @__PURE__ */ React.createElement(
19
+ LabelPrimitive.Root,
20
+ __spreadValues({
21
+ ref,
22
+ className: cn(labelVariants(), className)
23
+ }, props)
24
+ );
25
+ });
26
+ Label.displayName = LabelPrimitive.Root.displayName;
27
+
28
+ export {
29
+ Label
30
+ };
31
+ //# sourceMappingURL=chunk-A6SPGGUA.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../components/ui/label.tsx"],"sourcesContent":["import * as React from \"react\"\nimport * as LabelPrimitive from \"@radix-ui/react-label\"\nimport { cva, type VariantProps } from \"class-variance-authority\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst labelVariants = cva(\n \"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70\"\n)\n\nconst Label = React.forwardRef<\n React.ElementRef<typeof LabelPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof LabelPrimitive.Root> &\n VariantProps<typeof labelVariants>\n>(({ className, ...props }, ref) => (\n <LabelPrimitive.Root\n ref={ref}\n className={cn(labelVariants(), className)}\n {...props}\n />\n))\nLabel.displayName = LabelPrimitive.Root.displayName\n\nexport { Label }\n"],"mappings":";;;;;;;;;AAAA,YAAY,WAAW;AACvB,YAAY,oBAAoB;AAChC,SAAS,WAA8B;AAIvC,IAAM,gBAAgB;AAAA,EACpB;AACF;AAEA,IAAM,QAAc,iBAIlB,CAAC,IAAyB,QAAK;AAA9B,eAAE,YAdL,IAcG,IAAgB,kBAAhB,IAAgB,CAAd;AACH;AAAA,IAAgB;AAAA,IAAf;AAAA,MACC;AAAA,MACA,WAAW,GAAG,cAAc,GAAG,SAAS;AAAA,OACpC;AAAA,EACN;AAAA,CACD;AACD,MAAM,cAA6B,oBAAK;","names":[]}
@@ -0,0 +1,11 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// lib/utils.ts
2
+ var _clsx = require('clsx');
3
+ var _tailwindmerge = require('tailwind-merge');
4
+ function cn(...inputs) {
5
+ return _tailwindmerge.twMerge.call(void 0, _clsx.clsx.call(void 0, inputs));
6
+ }
7
+
8
+
9
+
10
+ exports.cn = cn;
11
+ //# sourceMappingURL=chunk-B2G2EZ4P.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/ahnjun/projects/egose-shadcn/package/dist/chunk-B2G2EZ4P.js","../lib/utils.ts"],"names":[],"mappings":"AAAA;ACAA,4BAAsC;AACtC,+CAAwB;AAEjB,SAAS,EAAA,CAAA,GAAM,MAAA,EAAsB;AAC1C,EAAA,OAAO,oCAAA,wBAAQ,MAAW,CAAC,CAAA;AAC7B;ADCA;AACA;AACE;AACF,gBAAC","file":"/home/ahnjun/projects/egose-shadcn/package/dist/chunk-B2G2EZ4P.js","sourcesContent":[null,"import { clsx, type ClassValue } from 'clsx';\nimport { twMerge } from 'tailwind-merge';\n\nexport function cn(...inputs: ClassValue[]) {\n return twMerge(clsx(inputs));\n}\n"]}
@@ -0,0 +1,119 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
2
+
3
+ var _chunkB2G2EZ4Pjs = require('./chunk-B2G2EZ4P.js');
4
+
5
+
6
+
7
+ var _chunk2NMEKWO5js = require('./chunk-2NMEKWO5.js');
8
+
9
+ // components/ui/dialog.tsx
10
+ var _react = require('react'); var React = _interopRequireWildcard(_react);
11
+ var _reactdialog = require('@radix-ui/react-dialog'); var DialogPrimitive = _interopRequireWildcard(_reactdialog);
12
+ var _lucidereact = require('lucide-react');
13
+ var Dialog = DialogPrimitive.Root;
14
+ var DialogTrigger = DialogPrimitive.Trigger;
15
+ var DialogPortal = DialogPrimitive.Portal;
16
+ var DialogClose = DialogPrimitive.Close;
17
+ var DialogOverlay = React.forwardRef((_a, ref) => {
18
+ var _b = _a, { className } = _b, props = _chunk2NMEKWO5js.__objRest.call(void 0, _b, ["className"]);
19
+ return /* @__PURE__ */ React.createElement(
20
+ DialogPrimitive.Overlay,
21
+ _chunk2NMEKWO5js.__spreadValues.call(void 0, {
22
+ ref,
23
+ className: _chunkB2G2EZ4Pjs.cn.call(void 0,
24
+ "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
25
+ className
26
+ )
27
+ }, props)
28
+ );
29
+ });
30
+ DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
31
+ var DialogContent = React.forwardRef((_a, ref) => {
32
+ var _b = _a, { className, children } = _b, props = _chunk2NMEKWO5js.__objRest.call(void 0, _b, ["className", "children"]);
33
+ return /* @__PURE__ */ React.createElement(DialogPortal, null, /* @__PURE__ */ React.createElement(DialogOverlay, null), /* @__PURE__ */ React.createElement(
34
+ DialogPrimitive.Content,
35
+ _chunk2NMEKWO5js.__spreadValues.call(void 0, {
36
+ ref,
37
+ className: _chunkB2G2EZ4Pjs.cn.call(void 0,
38
+ "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
39
+ className
40
+ )
41
+ }, props),
42
+ children,
43
+ /* @__PURE__ */ React.createElement(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground" }, /* @__PURE__ */ React.createElement(_lucidereact.X, { className: "h-4 w-4" }), /* @__PURE__ */ React.createElement("span", { className: "sr-only" }, "Close"))
44
+ ));
45
+ });
46
+ DialogContent.displayName = DialogPrimitive.Content.displayName;
47
+ var DialogHeader = (_a) => {
48
+ var _b = _a, {
49
+ className
50
+ } = _b, props = _chunk2NMEKWO5js.__objRest.call(void 0, _b, [
51
+ "className"
52
+ ]);
53
+ return /* @__PURE__ */ React.createElement(
54
+ "div",
55
+ _chunk2NMEKWO5js.__spreadValues.call(void 0, {
56
+ className: _chunkB2G2EZ4Pjs.cn.call(void 0,
57
+ "flex flex-col space-y-1.5 text-center sm:text-left",
58
+ className
59
+ )
60
+ }, props)
61
+ );
62
+ };
63
+ DialogHeader.displayName = "DialogHeader";
64
+ var DialogFooter = (_a) => {
65
+ var _b = _a, {
66
+ className
67
+ } = _b, props = _chunk2NMEKWO5js.__objRest.call(void 0, _b, [
68
+ "className"
69
+ ]);
70
+ return /* @__PURE__ */ React.createElement(
71
+ "div",
72
+ _chunk2NMEKWO5js.__spreadValues.call(void 0, {
73
+ className: _chunkB2G2EZ4Pjs.cn.call(void 0,
74
+ "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
75
+ className
76
+ )
77
+ }, props)
78
+ );
79
+ };
80
+ DialogFooter.displayName = "DialogFooter";
81
+ var DialogTitle = React.forwardRef((_a, ref) => {
82
+ var _b = _a, { className } = _b, props = _chunk2NMEKWO5js.__objRest.call(void 0, _b, ["className"]);
83
+ return /* @__PURE__ */ React.createElement(
84
+ DialogPrimitive.Title,
85
+ _chunk2NMEKWO5js.__spreadValues.call(void 0, {
86
+ ref,
87
+ className: _chunkB2G2EZ4Pjs.cn.call(void 0,
88
+ "text-lg font-semibold leading-none tracking-tight",
89
+ className
90
+ )
91
+ }, props)
92
+ );
93
+ });
94
+ DialogTitle.displayName = DialogPrimitive.Title.displayName;
95
+ var DialogDescription = React.forwardRef((_a, ref) => {
96
+ var _b = _a, { className } = _b, props = _chunk2NMEKWO5js.__objRest.call(void 0, _b, ["className"]);
97
+ return /* @__PURE__ */ React.createElement(
98
+ DialogPrimitive.Description,
99
+ _chunk2NMEKWO5js.__spreadValues.call(void 0, {
100
+ ref,
101
+ className: _chunkB2G2EZ4Pjs.cn.call(void 0, "text-sm text-muted-foreground", className)
102
+ }, props)
103
+ );
104
+ });
105
+ DialogDescription.displayName = DialogPrimitive.Description.displayName;
106
+
107
+
108
+
109
+
110
+
111
+
112
+
113
+
114
+
115
+
116
+
117
+
118
+ exports.Dialog = Dialog; exports.DialogTrigger = DialogTrigger; exports.DialogPortal = DialogPortal; exports.DialogClose = DialogClose; exports.DialogOverlay = DialogOverlay; exports.DialogContent = DialogContent; exports.DialogHeader = DialogHeader; exports.DialogFooter = DialogFooter; exports.DialogTitle = DialogTitle; exports.DialogDescription = DialogDescription;
119
+ //# sourceMappingURL=chunk-B5KVOXLO.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["/home/ahnjun/projects/egose-shadcn/package/dist/chunk-B5KVOXLO.js","../components/ui/dialog.tsx"],"names":[],"mappings":"AAAA;AACE;AACF,sDAA4B;AAC5B;AACE;AACA;AACF,sDAA4B;AAC5B;AACA;ACNA,2EAAuB;AACvB,kHAAiC;AACjC,2CAAkB;AAIlB,IAAM,OAAA,EAAyB,eAAA,CAAA,IAAA;AAE/B,IAAM,cAAA,EAAgC,eAAA,CAAA,OAAA;AAEtC,IAAM,aAAA,EAA+B,eAAA,CAAA,MAAA;AAErC,IAAM,YAAA,EAA8B,eAAA,CAAA,KAAA;AAEpC,IAAM,cAAA,EAAsB,KAAA,CAAA,UAAA,CAG1B,CAAC,EAAA,EAAyB,GAAA,EAAA,GAAK;AAA9B,EAAA,IAAA,GAAA,EAAA,EAAA,EAAE,EAAA,UAnBL,EAAA,EAmBG,EAAA,EAAgB,MAAA,EAAA,wCAAA,EAAhB,EAAgB,CAAd,WAAA,CAAA,CAAA;AACH,EAAA,uBAAA,KAAA,CAAA,aAAA;AAAA,IAAiB,eAAA,CAAA,OAAA;AAAA,IAAhB,6CAAA;AAAA,MACC,G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AA,IAAA,CAAA,EACI,KAAA;AAAA,EACN,CAAA;AAAA,CACD,CAAA;AACD,WAAA,CAAY,YAAA,EAA8B,eAAA,CAAA,KAAA,CAAM,WAAA;AAEhD,IAAM,kBAAA,EAA0B,KAAA,CAAA,UAAA,CAG9B,CAAC,EAAA,EAAyB,GAAA,EAAA,GAAK;AAA9B,EAAA,IAAA,GAAA,EAAA,EAAA,EAAE,EAAA,UArGL,EAAA,EAqGG,EAAA,EAAgB,MAAA,EAAA,wCAAA,EAAhB,EAAgB,CAAd,WAAA,CAAA,CAAA;AACH,EAAA,uBAAA,KAAA,CAAA,aAAA;AAAA,IAAiB,eAAA,CAAA,WAAA;AAAA,IAAhB,6CAAA;AAAA,MACC,GAAA;AAAA,MACA,SAAA,EAAW,iCAAA,+BAAG,EAAiC,SAAS;AAAA,IAAA,CAAA,EACpD,KAAA;AAAA,EACN,CAAA;AAAA,CACD,CAAA;AACD,iBAAA,CAAkB,YAAA,EAA8B,eAAA,CAAA,WAAA,CAAY,WAAA;ADH5D;AACA;AACE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACF,iXAAC","file":"/home/ahnjun/projects/egose-shadcn/package/dist/chunk-B5KVOXLO.js","sourcesContent":[null,"\"use client\"\n\nimport * as React from \"react\"\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\"\nimport { X } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Dialog = DialogPrimitive.Root\n\nconst DialogTrigger = DialogPrimitive.Trigger\n\nconst DialogPortal = DialogPrimitive.Portal\n\nconst DialogClose = DialogPrimitive.Close\n\nconst DialogOverlay = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Overlay\n ref={ref}\n className={cn(\n \"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\",\n className\n )}\n {...props}\n />\n))\nDialogOverlay.displayName = DialogPrimitive.Overlay.displayName\n\nconst DialogContent = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>\n>(({ className, children, ...props }, ref) => (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Content\n ref={ref}\n className={cn(\n \"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg\",\n className\n )}\n {...props}\n >\n {children}\n <DialogPrimitive.Close className=\"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground\">\n <X className=\"h-4 w-4\" />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n </DialogPrimitive.Content>\n </DialogPortal>\n))\nDialogContent.displayName = DialogPrimitive.Content.displayName\n\nconst DialogHeader = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n \"flex flex-col space-y-1.5 text-center sm:text-left\",\n className\n )}\n {...props}\n />\n)\nDialogHeader.displayName = \"DialogHeader\"\n\nconst DialogFooter = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n \"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2\",\n className\n )}\n {...props}\n />\n)\nDialogFooter.displayName = \"DialogFooter\"\n\nconst DialogTitle = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Title\n ref={ref}\n className={cn(\n \"text-lg font-semibold leading-none tracking-tight\",\n className\n )}\n {...props}\n />\n))\nDialogTitle.displayName = DialogPrimitive.Title.displayName\n\nconst DialogDescription = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Description\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n))\nDialogDescription.displayName = DialogPrimitive.Description.displayName\n\nexport {\n Dialog,\n DialogPortal,\n DialogOverlay,\n DialogTrigger,\n DialogClose,\n DialogContent,\n DialogHeader,\n DialogFooter,\n DialogTitle,\n DialogDescription,\n}\n"]}
@@ -0,0 +1,35 @@
1
+ import {
2
+ cn
3
+ } from "./chunk-3ONILUYO.mjs";
4
+ import {
5
+ __objRest,
6
+ __spreadValues
7
+ } from "./chunk-YOSPWY5K.mjs";
8
+
9
+ // components/ui/separator.tsx
10
+ import * as React from "react";
11
+ import * as SeparatorPrimitive from "@radix-ui/react-separator";
12
+ var Separator = React.forwardRef(
13
+ (_a, ref) => {
14
+ var _b = _a, { className, orientation = "horizontal", decorative = true } = _b, props = __objRest(_b, ["className", "orientation", "decorative"]);
15
+ return /* @__PURE__ */ React.createElement(
16
+ SeparatorPrimitive.Root,
17
+ __spreadValues({
18
+ ref,
19
+ decorative,
20
+ orientation,
21
+ className: cn(
22
+ "shrink-0 bg-border",
23
+ orientation === "horizontal" ? "h-[1px] w-full" : "h-full w-[1px]",
24
+ className
25
+ )
26
+ }, props)
27
+ );
28
+ }
29
+ );
30
+ Separator.displayName = SeparatorPrimitive.Root.displayName;
31
+
32
+ export {
33
+ Separator
34
+ };
35
+ //# sourceMappingURL=chunk-BBMYITL4.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../components/ui/separator.tsx"],"sourcesContent":["import * as React from \"react\"\nimport * as SeparatorPrimitive from \"@radix-ui/react-separator\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Separator = React.forwardRef<\n React.ElementRef<typeof SeparatorPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof SeparatorPrimitive.Root>\n>(\n (\n { className, orientation = \"horizontal\", decorative = true, ...props },\n ref\n ) => (\n <SeparatorPrimitive.Root\n ref={ref}\n decorative={decorative}\n orientation={orientation}\n className={cn(\n \"shrink-0 bg-border\",\n orientation === \"horizontal\" ? \"h-[1px] w-full\" : \"h-full w-[1px]\",\n className\n )}\n {...props}\n />\n )\n)\nSeparator.displayName = SeparatorPrimitive.Root.displayName\n\nexport { Separator }\n"],"mappings":";;;;;;;;;AAAA,YAAY,WAAW;AACvB,YAAY,wBAAwB;AAIpC,IAAM,YAAkB;AAAA,EAItB,CACE,IACA,QACA;AAFA,iBAAE,aAAW,cAAc,cAAc,aAAa,KAV1D,IAUI,IAA+D,kBAA/D,IAA+D,CAA7D,aAAW,eAA4B;AAGzC;AAAA,MAAoB;AAAA,MAAnB;AAAA,QACC;AAAA,QACA;AAAA,QACA;AAAA,QACA,WAAW;AAAA,UACT;AAAA,UACA,gBAAgB,eAAe,mBAAmB;AAAA,UAClD;AAAA,QACF;AAAA,SACI;AAAA,IACN;AAAA;AAEJ;AACA,UAAU,cAAiC,wBAAK;","names":[]}
@@ -0,0 +1,119 @@
1
+ import {
2
+ cn
3
+ } from "./chunk-3ONILUYO.mjs";
4
+ import {
5
+ __objRest,
6
+ __spreadValues
7
+ } from "./chunk-YOSPWY5K.mjs";
8
+
9
+ // components/ui/dialog.tsx
10
+ import * as React from "react";
11
+ import * as DialogPrimitive from "@radix-ui/react-dialog";
12
+ import { X } from "lucide-react";
13
+ var Dialog = DialogPrimitive.Root;
14
+ var DialogTrigger = DialogPrimitive.Trigger;
15
+ var DialogPortal = DialogPrimitive.Portal;
16
+ var DialogClose = DialogPrimitive.Close;
17
+ var DialogOverlay = React.forwardRef((_a, ref) => {
18
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
19
+ return /* @__PURE__ */ React.createElement(
20
+ DialogPrimitive.Overlay,
21
+ __spreadValues({
22
+ ref,
23
+ className: cn(
24
+ "fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
25
+ className
26
+ )
27
+ }, props)
28
+ );
29
+ });
30
+ DialogOverlay.displayName = DialogPrimitive.Overlay.displayName;
31
+ var DialogContent = React.forwardRef((_a, ref) => {
32
+ var _b = _a, { className, children } = _b, props = __objRest(_b, ["className", "children"]);
33
+ return /* @__PURE__ */ React.createElement(DialogPortal, null, /* @__PURE__ */ React.createElement(DialogOverlay, null), /* @__PURE__ */ React.createElement(
34
+ DialogPrimitive.Content,
35
+ __spreadValues({
36
+ ref,
37
+ className: cn(
38
+ "fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",
39
+ className
40
+ )
41
+ }, props),
42
+ children,
43
+ /* @__PURE__ */ React.createElement(DialogPrimitive.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground" }, /* @__PURE__ */ React.createElement(X, { className: "h-4 w-4" }), /* @__PURE__ */ React.createElement("span", { className: "sr-only" }, "Close"))
44
+ ));
45
+ });
46
+ DialogContent.displayName = DialogPrimitive.Content.displayName;
47
+ var DialogHeader = (_a) => {
48
+ var _b = _a, {
49
+ className
50
+ } = _b, props = __objRest(_b, [
51
+ "className"
52
+ ]);
53
+ return /* @__PURE__ */ React.createElement(
54
+ "div",
55
+ __spreadValues({
56
+ className: cn(
57
+ "flex flex-col space-y-1.5 text-center sm:text-left",
58
+ className
59
+ )
60
+ }, props)
61
+ );
62
+ };
63
+ DialogHeader.displayName = "DialogHeader";
64
+ var DialogFooter = (_a) => {
65
+ var _b = _a, {
66
+ className
67
+ } = _b, props = __objRest(_b, [
68
+ "className"
69
+ ]);
70
+ return /* @__PURE__ */ React.createElement(
71
+ "div",
72
+ __spreadValues({
73
+ className: cn(
74
+ "flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",
75
+ className
76
+ )
77
+ }, props)
78
+ );
79
+ };
80
+ DialogFooter.displayName = "DialogFooter";
81
+ var DialogTitle = React.forwardRef((_a, ref) => {
82
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
83
+ return /* @__PURE__ */ React.createElement(
84
+ DialogPrimitive.Title,
85
+ __spreadValues({
86
+ ref,
87
+ className: cn(
88
+ "text-lg font-semibold leading-none tracking-tight",
89
+ className
90
+ )
91
+ }, props)
92
+ );
93
+ });
94
+ DialogTitle.displayName = DialogPrimitive.Title.displayName;
95
+ var DialogDescription = React.forwardRef((_a, ref) => {
96
+ var _b = _a, { className } = _b, props = __objRest(_b, ["className"]);
97
+ return /* @__PURE__ */ React.createElement(
98
+ DialogPrimitive.Description,
99
+ __spreadValues({
100
+ ref,
101
+ className: cn("text-sm text-muted-foreground", className)
102
+ }, props)
103
+ );
104
+ });
105
+ DialogDescription.displayName = DialogPrimitive.Description.displayName;
106
+
107
+ export {
108
+ Dialog,
109
+ DialogTrigger,
110
+ DialogPortal,
111
+ DialogClose,
112
+ DialogOverlay,
113
+ DialogContent,
114
+ DialogHeader,
115
+ DialogFooter,
116
+ DialogTitle,
117
+ DialogDescription
118
+ };
119
+ //# sourceMappingURL=chunk-BIIFJJWL.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../components/ui/dialog.tsx"],"sourcesContent":["\"use client\"\n\nimport * as React from \"react\"\nimport * as DialogPrimitive from \"@radix-ui/react-dialog\"\nimport { X } from \"lucide-react\"\n\nimport { cn } from \"@/lib/utils\"\n\nconst Dialog = DialogPrimitive.Root\n\nconst DialogTrigger = DialogPrimitive.Trigger\n\nconst DialogPortal = DialogPrimitive.Portal\n\nconst DialogClose = DialogPrimitive.Close\n\nconst DialogOverlay = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Overlay>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Overlay>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Overlay\n ref={ref}\n className={cn(\n \"fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0\",\n className\n )}\n {...props}\n />\n))\nDialogOverlay.displayName = DialogPrimitive.Overlay.displayName\n\nconst DialogContent = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>\n>(({ className, children, ...props }, ref) => (\n <DialogPortal>\n <DialogOverlay />\n <DialogPrimitive.Content\n ref={ref}\n className={cn(\n \"fixed left-[50%] top-[50%] z-50 grid w-full max-w-lg translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg\",\n className\n )}\n {...props}\n >\n {children}\n <DialogPrimitive.Close className=\"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground\">\n <X className=\"h-4 w-4\" />\n <span className=\"sr-only\">Close</span>\n </DialogPrimitive.Close>\n </DialogPrimitive.Content>\n </DialogPortal>\n))\nDialogContent.displayName = DialogPrimitive.Content.displayName\n\nconst DialogHeader = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n \"flex flex-col space-y-1.5 text-center sm:text-left\",\n className\n )}\n {...props}\n />\n)\nDialogHeader.displayName = \"DialogHeader\"\n\nconst DialogFooter = ({\n className,\n ...props\n}: React.HTMLAttributes<HTMLDivElement>) => (\n <div\n className={cn(\n \"flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2\",\n className\n )}\n {...props}\n />\n)\nDialogFooter.displayName = \"DialogFooter\"\n\nconst DialogTitle = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Title>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Title>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Title\n ref={ref}\n className={cn(\n \"text-lg font-semibold leading-none tracking-tight\",\n className\n )}\n {...props}\n />\n))\nDialogTitle.displayName = DialogPrimitive.Title.displayName\n\nconst DialogDescription = React.forwardRef<\n React.ElementRef<typeof DialogPrimitive.Description>,\n React.ComponentPropsWithoutRef<typeof DialogPrimitive.Description>\n>(({ className, ...props }, ref) => (\n <DialogPrimitive.Description\n ref={ref}\n className={cn(\"text-sm text-muted-foreground\", className)}\n {...props}\n />\n))\nDialogDescription.displayName = DialogPrimitive.Description.displayName\n\nexport {\n Dialog,\n DialogPortal,\n DialogOverlay,\n DialogTrigger,\n DialogClose,\n DialogContent,\n DialogHeader,\n DialogFooter,\n DialogTitle,\n DialogDescription,\n}\n"],"mappings":";;;;;;;;;AAEA,YAAY,WAAW;AACvB,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