@tipp/ui 2.1.20 → 2.1.21

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 (367) hide show
  1. package/dist/app/index.cjs +34 -29
  2. package/dist/app/index.cjs.map +1 -1
  3. package/dist/app/index.js +28 -28
  4. package/dist/app/platform/coach-question-list.cjs +4 -2
  5. package/dist/app/platform/coach-question-list.cjs.map +1 -1
  6. package/dist/app/platform/coach-question-list.js +4 -4
  7. package/dist/app/platform/contents-card.cjs +4 -2
  8. package/dist/app/platform/contents-card.cjs.map +1 -1
  9. package/dist/app/platform/contents-card.js +5 -5
  10. package/dist/app/platform/curriculum-card.cjs.map +1 -1
  11. package/dist/app/platform/curriculum-card.js +2 -2
  12. package/dist/app/platform/edit-coaching-time.cjs +32 -27
  13. package/dist/app/platform/edit-coaching-time.cjs.map +1 -1
  14. package/dist/app/platform/edit-coaching-time.js +20 -20
  15. package/dist/app/platform/edit-service-type.cjs +31 -26
  16. package/dist/app/platform/edit-service-type.cjs.map +1 -1
  17. package/dist/app/platform/edit-service-type.js +20 -20
  18. package/dist/app/platform/goal-manage-card-edit.cjs +4 -2
  19. package/dist/app/platform/goal-manage-card-edit.cjs.map +1 -1
  20. package/dist/app/platform/goal-manage-card-edit.js +20 -20
  21. package/dist/app/platform/goal-manage-card-read.cjs +4 -2
  22. package/dist/app/platform/goal-manage-card-read.cjs.map +1 -1
  23. package/dist/app/platform/goal-manage-card-read.js +5 -5
  24. package/dist/app/platform/on-offline-radio-card.cjs +4 -2
  25. package/dist/app/platform/on-offline-radio-card.cjs.map +1 -1
  26. package/dist/app/platform/on-offline-radio-card.js +19 -19
  27. package/dist/app/platform/report-card.cjs +4 -2
  28. package/dist/app/platform/report-card.cjs.map +1 -1
  29. package/dist/app/platform/report-card.js +5 -5
  30. package/dist/app/platform/reservation-card.cjs +6 -4
  31. package/dist/app/platform/reservation-card.cjs.map +1 -1
  32. package/dist/app/platform/reservation-card.js +20 -20
  33. package/dist/app/platform/session-card.cjs +32 -27
  34. package/dist/app/platform/session-card.cjs.map +1 -1
  35. package/dist/app/platform/session-card.js +22 -22
  36. package/dist/app/platform/session-review-simple-read.cjs +4 -2
  37. package/dist/app/platform/session-review-simple-read.cjs.map +1 -1
  38. package/dist/app/platform/session-review-simple-read.js +4 -4
  39. package/dist/app/platform/userInfos/coaching-customer-info/index.cjs +4 -2
  40. package/dist/app/platform/userInfos/coaching-customer-info/index.cjs.map +1 -1
  41. package/dist/app/platform/userInfos/coaching-customer-info/index.js +4 -4
  42. package/dist/app/platform/userInfos/coaching-customer-info/large.cjs +4 -2
  43. package/dist/app/platform/userInfos/coaching-customer-info/large.cjs.map +1 -1
  44. package/dist/app/platform/userInfos/coaching-customer-info/large.js +4 -4
  45. package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs +4 -2
  46. package/dist/app/platform/userInfos/coaching-customer-info/medium.cjs.map +1 -1
  47. package/dist/app/platform/userInfos/coaching-customer-info/medium.js +4 -4
  48. package/dist/app/platform/userInfos/coaching-customer-info/small.cjs +4 -2
  49. package/dist/app/platform/userInfos/coaching-customer-info/small.cjs.map +1 -1
  50. package/dist/app/platform/userInfos/coaching-customer-info/small.js +4 -4
  51. package/dist/app/platform/userInfos/session-user-info-detail.cjs +4 -2
  52. package/dist/app/platform/userInfos/session-user-info-detail.cjs.map +1 -1
  53. package/dist/app/platform/userInfos/session-user-info-detail.js +4 -4
  54. package/dist/app/platform/userInfos/utils.cjs +4 -2
  55. package/dist/app/platform/userInfos/utils.cjs.map +1 -1
  56. package/dist/app/platform/userInfos/utils.js +4 -4
  57. package/dist/atoms/dialog.cjs +28 -24
  58. package/dist/atoms/dialog.cjs.map +1 -1
  59. package/dist/atoms/dialog.js +1 -1
  60. package/dist/atoms/drawer.cjs +13 -7
  61. package/dist/atoms/drawer.cjs.map +1 -1
  62. package/dist/atoms/drawer.d.cts +1 -0
  63. package/dist/atoms/drawer.d.ts +1 -0
  64. package/dist/atoms/drawer.js +1 -1
  65. package/dist/atoms/index.cjs +47 -37
  66. package/dist/atoms/index.cjs.map +1 -1
  67. package/dist/atoms/index.js +4 -4
  68. package/dist/atoms/pagination.cjs.map +1 -1
  69. package/dist/atoms/pagination.js +2 -2
  70. package/dist/chunk-22TW5W4F.js +101 -0
  71. package/dist/chunk-22TW5W4F.js.map +1 -0
  72. package/dist/chunk-24IP7ASC.js +109 -0
  73. package/dist/chunk-24IP7ASC.js.map +1 -0
  74. package/dist/chunk-2NIEBPWK.js +64 -0
  75. package/dist/chunk-2NIEBPWK.js.map +1 -0
  76. package/dist/chunk-3ERGPQRB.js +99 -0
  77. package/dist/chunk-3ERGPQRB.js.map +1 -0
  78. package/dist/chunk-3IMXPTXY.js +174 -0
  79. package/dist/chunk-3IMXPTXY.js.map +1 -0
  80. package/dist/chunk-3Q6WL7LZ.js +144 -0
  81. package/dist/chunk-3Q6WL7LZ.js.map +1 -0
  82. package/dist/chunk-4EAODULF.js +144 -0
  83. package/dist/chunk-4EAODULF.js.map +1 -0
  84. package/dist/chunk-4KNKZ6PB.js +64 -0
  85. package/dist/chunk-4KNKZ6PB.js.map +1 -0
  86. package/dist/chunk-4WBCLMYM.js +89 -0
  87. package/dist/chunk-4WBCLMYM.js.map +1 -0
  88. package/dist/chunk-5BOUZF3E.js +101 -0
  89. package/dist/chunk-5BOUZF3E.js.map +1 -0
  90. package/dist/chunk-5JEQMUWH.js +165 -0
  91. package/dist/chunk-5JEQMUWH.js.map +1 -0
  92. package/dist/chunk-5KPZFDLV.js +64 -0
  93. package/dist/chunk-5KPZFDLV.js.map +1 -0
  94. package/dist/chunk-5LUMKK6A.js +70 -0
  95. package/dist/chunk-5LUMKK6A.js.map +1 -0
  96. package/dist/chunk-5Q7TC3KP.js +63 -0
  97. package/dist/chunk-5Q7TC3KP.js.map +1 -0
  98. package/dist/chunk-62E4IZIT.js +69 -0
  99. package/dist/chunk-62E4IZIT.js.map +1 -0
  100. package/dist/chunk-6KCGMBAR.js +174 -0
  101. package/dist/chunk-6KCGMBAR.js.map +1 -0
  102. package/dist/chunk-6NYSPRUV.js +69 -0
  103. package/dist/chunk-6NYSPRUV.js.map +1 -0
  104. package/dist/chunk-7BG7JJCU.js +169 -0
  105. package/dist/chunk-7BG7JJCU.js.map +1 -0
  106. package/dist/chunk-7IFQM5G5.js +102 -0
  107. package/dist/chunk-7IFQM5G5.js.map +1 -0
  108. package/dist/chunk-7J2UZ5O6.js +145 -0
  109. package/dist/chunk-7J2UZ5O6.js.map +1 -0
  110. package/dist/chunk-7US67CQE.js +354 -0
  111. package/dist/chunk-7US67CQE.js.map +1 -0
  112. package/dist/chunk-7V2QO3UE.js +89 -0
  113. package/dist/chunk-7V2QO3UE.js.map +1 -0
  114. package/dist/chunk-AM3RIWZO.js +87 -0
  115. package/dist/chunk-AM3RIWZO.js.map +1 -0
  116. package/dist/chunk-ARAAFWPU.js +165 -0
  117. package/dist/chunk-ARAAFWPU.js.map +1 -0
  118. package/dist/chunk-ATQXB4ZG.js +87 -0
  119. package/dist/chunk-ATQXB4ZG.js.map +1 -0
  120. package/dist/chunk-AYFLRNLA.js +54 -0
  121. package/dist/chunk-AYFLRNLA.js.map +1 -0
  122. package/dist/chunk-BCSOQOF7.js +64 -0
  123. package/dist/chunk-BCSOQOF7.js.map +1 -0
  124. package/dist/chunk-CD2GGL3R.js +174 -0
  125. package/dist/chunk-CD2GGL3R.js.map +1 -0
  126. package/dist/chunk-CG37INUT.js +144 -0
  127. package/dist/chunk-CG37INUT.js.map +1 -0
  128. package/dist/chunk-CHM7NCWU.js +79 -0
  129. package/dist/chunk-CHM7NCWU.js.map +1 -0
  130. package/dist/chunk-D36YBKWY.js +87 -0
  131. package/dist/chunk-D36YBKWY.js.map +1 -0
  132. package/dist/chunk-E2QY62U6.js +196 -0
  133. package/dist/chunk-E2QY62U6.js.map +1 -0
  134. package/dist/chunk-EAJO6WJV.js +151 -0
  135. package/dist/chunk-EAJO6WJV.js.map +1 -0
  136. package/dist/chunk-EBEIYK7H.js +144 -0
  137. package/dist/chunk-EBEIYK7H.js.map +1 -0
  138. package/dist/chunk-F7YMZN3Q.js +145 -0
  139. package/dist/chunk-F7YMZN3Q.js.map +1 -0
  140. package/dist/chunk-GHOY3ERY.js +54 -0
  141. package/dist/chunk-GHOY3ERY.js.map +1 -0
  142. package/dist/chunk-GMRXEZIY.js +63 -0
  143. package/dist/chunk-GMRXEZIY.js.map +1 -0
  144. package/dist/chunk-GSGHHRTJ.js +174 -0
  145. package/dist/chunk-GSGHHRTJ.js.map +1 -0
  146. package/dist/chunk-H2J3L3MA.js +192 -0
  147. package/dist/chunk-H2J3L3MA.js.map +1 -0
  148. package/dist/chunk-H7LMDRBI.js +68 -0
  149. package/dist/chunk-H7LMDRBI.js.map +1 -0
  150. package/dist/chunk-HL7AR2W7.js +117 -0
  151. package/dist/chunk-HL7AR2W7.js.map +1 -0
  152. package/dist/chunk-HWSNR2KC.js +30 -0
  153. package/dist/chunk-HWSNR2KC.js.map +1 -0
  154. package/dist/chunk-I56XCGAN.js +64 -0
  155. package/dist/chunk-I56XCGAN.js.map +1 -0
  156. package/dist/chunk-IQCHAGGB.js +169 -0
  157. package/dist/chunk-IQCHAGGB.js.map +1 -0
  158. package/dist/chunk-IVL37RNM.js +68 -0
  159. package/dist/chunk-IVL37RNM.js.map +1 -0
  160. package/dist/chunk-J3SONWFK.js +90 -0
  161. package/dist/chunk-J3SONWFK.js.map +1 -0
  162. package/dist/chunk-KKGRIWEO.js +196 -0
  163. package/dist/chunk-KKGRIWEO.js.map +1 -0
  164. package/dist/chunk-KMYQXDYK.js +63 -0
  165. package/dist/chunk-KMYQXDYK.js.map +1 -0
  166. package/dist/chunk-KX2GNLIX.js +54 -0
  167. package/dist/chunk-KX2GNLIX.js.map +1 -0
  168. package/dist/chunk-LJIUC5Z3.js +99 -0
  169. package/dist/chunk-LJIUC5Z3.js.map +1 -0
  170. package/dist/chunk-LQXSCIDK.js +89 -0
  171. package/dist/chunk-LQXSCIDK.js.map +1 -0
  172. package/dist/chunk-M53RUBK5.js +110 -0
  173. package/dist/chunk-M53RUBK5.js.map +1 -0
  174. package/dist/chunk-M5MW5FK4.js +106 -0
  175. package/dist/chunk-M5MW5FK4.js.map +1 -0
  176. package/dist/chunk-M5QXRLYJ.js +169 -0
  177. package/dist/chunk-M5QXRLYJ.js.map +1 -0
  178. package/dist/chunk-MDXXAPEQ.js +64 -0
  179. package/dist/chunk-MDXXAPEQ.js.map +1 -0
  180. package/dist/chunk-MF4IOWID.js +68 -0
  181. package/dist/chunk-MF4IOWID.js.map +1 -0
  182. package/dist/chunk-N2XWQ25J.js +281 -0
  183. package/dist/chunk-N2XWQ25J.js.map +1 -0
  184. package/dist/chunk-NHUHSNVK.js +196 -0
  185. package/dist/chunk-NHUHSNVK.js.map +1 -0
  186. package/dist/chunk-NKKRKQ2P.js +354 -0
  187. package/dist/chunk-NKKRKQ2P.js.map +1 -0
  188. package/dist/chunk-O2NDI6KD.js +99 -0
  189. package/dist/chunk-O2NDI6KD.js.map +1 -0
  190. package/dist/chunk-OAQZ5XEP.js +39 -0
  191. package/dist/chunk-OAQZ5XEP.js.map +1 -0
  192. package/dist/chunk-OUU4LOOY.js +64 -0
  193. package/dist/chunk-OUU4LOOY.js.map +1 -0
  194. package/dist/chunk-P6PG6IXO.js +63 -0
  195. package/dist/chunk-P6PG6IXO.js.map +1 -0
  196. package/dist/chunk-PBZH4ZDA.js +145 -0
  197. package/dist/chunk-PBZH4ZDA.js.map +1 -0
  198. package/dist/chunk-PDJIAYVX.js +69 -0
  199. package/dist/chunk-PDJIAYVX.js.map +1 -0
  200. package/dist/chunk-PEPH3MRE.js +74 -0
  201. package/dist/chunk-PEPH3MRE.js.map +1 -0
  202. package/dist/chunk-PPTNXLXT.js +196 -0
  203. package/dist/chunk-PPTNXLXT.js.map +1 -0
  204. package/dist/chunk-PQFQL6DD.js +354 -0
  205. package/dist/chunk-PQFQL6DD.js.map +1 -0
  206. package/dist/chunk-PXOQBTYR.js +103 -0
  207. package/dist/chunk-PXOQBTYR.js.map +1 -0
  208. package/dist/chunk-QD5QQCAW.js +127 -0
  209. package/dist/chunk-QD5QQCAW.js.map +1 -0
  210. package/dist/chunk-QDNBNIS3.js +117 -0
  211. package/dist/chunk-QDNBNIS3.js.map +1 -0
  212. package/dist/chunk-QDVMCLPO.js +196 -0
  213. package/dist/chunk-QDVMCLPO.js.map +1 -0
  214. package/dist/chunk-S2V2JSVB.js +196 -0
  215. package/dist/chunk-S2V2JSVB.js.map +1 -0
  216. package/dist/chunk-SELRRPUY.js +37 -0
  217. package/dist/chunk-SELRRPUY.js.map +1 -0
  218. package/dist/chunk-SGXBOAP4.js +54 -0
  219. package/dist/chunk-SGXBOAP4.js.map +1 -0
  220. package/dist/chunk-SP6ALGLZ.js +281 -0
  221. package/dist/chunk-SP6ALGLZ.js.map +1 -0
  222. package/dist/chunk-SSZ3Y3FB.js +174 -0
  223. package/dist/chunk-SSZ3Y3FB.js.map +1 -0
  224. package/dist/chunk-U72O52GE.js +117 -0
  225. package/dist/chunk-U72O52GE.js.map +1 -0
  226. package/dist/chunk-UA6ETAVQ.js +99 -0
  227. package/dist/chunk-UA6ETAVQ.js.map +1 -0
  228. package/dist/chunk-V3PWVU2B.js +165 -0
  229. package/dist/chunk-V3PWVU2B.js.map +1 -0
  230. package/dist/chunk-VOUGO25C.js +163 -0
  231. package/dist/chunk-VOUGO25C.js.map +1 -0
  232. package/dist/chunk-VYNB55FS.js +63 -0
  233. package/dist/chunk-VYNB55FS.js.map +1 -0
  234. package/dist/chunk-W72KGRX5.js +144 -0
  235. package/dist/chunk-W72KGRX5.js.map +1 -0
  236. package/dist/chunk-Y2GJIIJY.js +125 -0
  237. package/dist/chunk-Y2GJIIJY.js.map +1 -0
  238. package/dist/chunk-Y3J374ON.js +54 -0
  239. package/dist/chunk-Y3J374ON.js.map +1 -0
  240. package/dist/chunk-ZKNBQ2GH.js +144 -0
  241. package/dist/chunk-ZKNBQ2GH.js.map +1 -0
  242. package/dist/chunk-ZUS6Y7YO.js +281 -0
  243. package/dist/chunk-ZUS6Y7YO.js.map +1 -0
  244. package/dist/chunk-ZVR535IX.js +110 -0
  245. package/dist/chunk-ZVR535IX.js.map +1 -0
  246. package/dist/icon.cjs +2 -0
  247. package/dist/icon.cjs.map +1 -1
  248. package/dist/icon.d.cts +1 -1
  249. package/dist/icon.d.ts +1 -1
  250. package/dist/icon.js +3 -1
  251. package/dist/index.cjs +52 -40
  252. package/dist/index.cjs.map +1 -1
  253. package/dist/index.d.cts +1 -1
  254. package/dist/index.d.ts +1 -1
  255. package/dist/index.js +34 -32
  256. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.cjs +4 -2
  257. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.cjs.map +1 -1
  258. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/index.js +8 -8
  259. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.cjs +4 -2
  260. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.cjs.map +1 -1
  261. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-comp.js +4 -4
  262. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.cjs +4 -2
  263. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.cjs.map +1 -1
  264. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-body.js +6 -6
  265. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.cjs +4 -2
  266. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.cjs.map +1 -1
  267. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-footer.js +5 -5
  268. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.cjs +4 -2
  269. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.cjs.map +1 -1
  270. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-header.js +4 -4
  271. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-layout.cjs +4 -2
  272. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-layout.cjs.map +1 -1
  273. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-layout.js +4 -4
  274. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.cjs +4 -2
  275. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.cjs.map +1 -1
  276. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-radio.js +4 -4
  277. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.cjs +4 -2
  278. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.cjs.map +1 -1
  279. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-option.js +4 -4
  280. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.cjs +4 -2
  281. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.cjs.map +1 -1
  282. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-satisfaction-text.js +4 -4
  283. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.cjs +4 -2
  284. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.cjs.map +1 -1
  285. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/ReviewQuestion/review-question-text.js +5 -5
  286. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.cjs +4 -2
  287. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.cjs.map +1 -1
  288. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/complete-review.js +5 -5
  289. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.cjs +4 -2
  290. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.cjs.map +1 -1
  291. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/index.js +10 -10
  292. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.cjs +4 -2
  293. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.cjs.map +1 -1
  294. package/dist/molecules/curriculumV2/CurriculumContents/CurriculumReviewSteps/start-review.js +4 -4
  295. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.cjs +4 -2
  296. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.cjs.map +1 -1
  297. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-ai-traning.js +5 -5
  298. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.cjs +31 -26
  299. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.cjs.map +1 -1
  300. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-review.js +11 -11
  301. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-video.cjs +4 -2
  302. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-video.cjs.map +1 -1
  303. package/dist/molecules/curriculumV2/CurriculumContents/curriculum-video.js +4 -4
  304. package/dist/molecules/curriculumV2/CurriculumContents/index.cjs +31 -26
  305. package/dist/molecules/curriculumV2/CurriculumContents/index.cjs.map +1 -1
  306. package/dist/molecules/curriculumV2/CurriculumContents/index.js +13 -13
  307. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.cjs +4 -2
  308. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.cjs.map +1 -1
  309. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-item-title.js +4 -4
  310. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-sidebar-item-wrapper.cjs +4 -2
  311. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-sidebar-item-wrapper.cjs.map +1 -1
  312. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/curriculum-sidebar-item-wrapper.js +4 -4
  313. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.cjs +4 -2
  314. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.cjs.map +1 -1
  315. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-item.js +4 -4
  316. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-title.cjs +4 -2
  317. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-title.cjs.map +1 -1
  318. package/dist/molecules/curriculumV2/CurriculumSidebar/Items/section-title.js +4 -4
  319. package/dist/molecules/curriculumV2/CurriculumSidebar/index.cjs +4 -2
  320. package/dist/molecules/curriculumV2/CurriculumSidebar/index.cjs.map +1 -1
  321. package/dist/molecules/curriculumV2/CurriculumSidebar/index.js +4 -4
  322. package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.cjs +4 -2
  323. package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.cjs.map +1 -1
  324. package/dist/molecules/curriculumV2/CurriculumSidebar/sidebar-item.js +4 -4
  325. package/dist/molecules/curriculumV2/curriculum-sub-nav.cjs +4 -2
  326. package/dist/molecules/curriculumV2/curriculum-sub-nav.cjs.map +1 -1
  327. package/dist/molecules/curriculumV2/curriculum-sub-nav.js +5 -5
  328. package/dist/molecules/curriculumV2/curriculum-v2-layout.cjs +4 -2
  329. package/dist/molecules/curriculumV2/curriculum-v2-layout.cjs.map +1 -1
  330. package/dist/molecules/curriculumV2/curriculum-v2-layout.js +4 -4
  331. package/dist/molecules/curriculumV2/index.cjs +31 -26
  332. package/dist/molecules/curriculumV2/index.cjs.map +1 -1
  333. package/dist/molecules/curriculumV2/index.js +14 -14
  334. package/dist/molecules/date-picker/date-picker-button.cjs +4 -2
  335. package/dist/molecules/date-picker/date-picker-button.cjs.map +1 -1
  336. package/dist/molecules/date-picker/date-picker-button.js +6 -6
  337. package/dist/molecules/date-picker/index.cjs.map +1 -1
  338. package/dist/molecules/date-picker/index.js +2 -2
  339. package/dist/molecules/expand-table/index.cjs +4 -2
  340. package/dist/molecules/expand-table/index.cjs.map +1 -1
  341. package/dist/molecules/expand-table/index.js +5 -5
  342. package/dist/molecules/expand-table/row.cjs +4 -2
  343. package/dist/molecules/expand-table/row.cjs.map +1 -1
  344. package/dist/molecules/expand-table/row.js +4 -4
  345. package/dist/molecules/index.cjs +31 -26
  346. package/dist/molecules/index.cjs.map +1 -1
  347. package/dist/molecules/index.js +23 -23
  348. package/dist/molecules/navigation.cjs +4 -2
  349. package/dist/molecules/navigation.cjs.map +1 -1
  350. package/dist/molecules/navigation.js +4 -4
  351. package/dist/molecules/radio-button-card.cjs +4 -2
  352. package/dist/molecules/radio-button-card.cjs.map +1 -1
  353. package/dist/molecules/radio-button-card.js +4 -4
  354. package/dist/molecules/stepper.cjs.map +1 -1
  355. package/dist/molecules/stepper.js +2 -2
  356. package/dist/molecules/tag-selector.cjs +4 -2
  357. package/dist/molecules/tag-selector.cjs.map +1 -1
  358. package/dist/molecules/tag-selector.js +5 -5
  359. package/dist/molecules/time-select.cjs +4 -2
  360. package/dist/molecules/time-select.cjs.map +1 -1
  361. package/dist/molecules/time-select.js +4 -4
  362. package/dist/utils/curriculum.utils.cjs.map +1 -1
  363. package/dist/utils/curriculum.utils.js +1 -1
  364. package/package.json +1 -1
  365. package/src/atoms/dialog.tsx +3 -1
  366. package/src/atoms/drawer.tsx +17 -9
  367. package/src/icon.ts +1 -0
@@ -137,6 +137,7 @@ function Heading2(props) {
137
137
  var import_themes3 = require("@radix-ui/themes");
138
138
 
139
139
  // src/atoms/dialog.tsx
140
+ var import_react_toastify = require("react-toastify");
140
141
  var import_jsx_runtime3 = require("react/jsx-runtime");
141
142
  var preventDefault = (e) => {
142
143
  e.preventDefault();
@@ -170,30 +171,33 @@ function Content2(props) {
170
171
  "className"
171
172
  ]);
172
173
  const { dialogContainerRef } = usePortalContainer();
173
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(RadixDialog.Portal, { container: dialogContainerRef.current, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_themes4.Theme, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(RadixDialog.Overlay, { className: "DialogOverlay", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
174
- RadixDialog.Content,
175
- __spreadProps(__spreadValues({
176
- className: `DialogContent ${className || ""}`,
177
- onPointerDownOutside: preventDefault,
178
- style: __spreadValues({
179
- width,
180
- maxWidth,
181
- minWidth,
182
- maxHeight,
183
- height,
184
- minHeight
185
- }, style)
186
- }, rest), {
187
- children: [
188
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_themes4.Flex, { gap: "2", justify: "between", width: "100%", children: [
189
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(RadixDialog.Title, { asChild: true, children: typeof title === "string" ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Heading2, { mb: "2", variant: "heading3", children: title }) : title }),
190
- !hideCloseButton && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(RadixDialog.Close, { asChild: true, className: "DialogClose", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_themes3.IconButton, { color: "gray", variant: "ghost", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react_icons.Cross1Icon, {}) }) })
191
- ] }),
192
- children,
193
- buttons ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_themes4.Flex, { gap: "3", justify: "end", mt: "3", width: "100%", children: buttons }) : null
194
- ]
195
- })
196
- ) }) }) });
174
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(RadixDialog.Portal, { container: dialogContainerRef.current, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_themes4.Theme, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(RadixDialog.Overlay, { className: "DialogOverlay", children: [
175
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(
176
+ RadixDialog.Content,
177
+ __spreadProps(__spreadValues({
178
+ className: `DialogContent ${className || ""}`,
179
+ onPointerDownOutside: preventDefault,
180
+ style: __spreadValues({
181
+ width,
182
+ maxWidth,
183
+ minWidth,
184
+ maxHeight,
185
+ height,
186
+ minHeight
187
+ }, style)
188
+ }, rest), {
189
+ children: [
190
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_themes4.Flex, { gap: "2", justify: "between", width: "100%", children: [
191
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(RadixDialog.Title, { asChild: true, children: typeof title === "string" && title !== "" ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Heading2, { mb: "2", variant: "heading3", children: title }) : title }),
192
+ !hideCloseButton && /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(RadixDialog.Close, { asChild: true, className: "DialogClose", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_themes3.IconButton, { color: "gray", variant: "ghost", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react_icons.Cross1Icon, {}) }) })
193
+ ] }),
194
+ children,
195
+ buttons ? /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_themes4.Flex, { gap: "3", justify: "end", mt: "3", width: "100%", children: buttons }) : null
196
+ ]
197
+ })
198
+ ),
199
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react_toastify.ToastContainer, {})
200
+ ] }) }) });
197
201
  }
198
202
  function Close2(_a) {
199
203
  var _b = _a, {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/atoms/dialog.tsx","../../src/theme/portal-provider.tsx","../../src/atoms/heading.tsx","../../src/utils/map-with-responsive.ts","../../src/atoms/icon-button.tsx"],"sourcesContent":["import * as RadixDialog from '@radix-ui/react-dialog';\nimport { Cross1Icon } from '@radix-ui/react-icons';\nimport { Flex, Theme } from '@radix-ui/themes';\nimport { usePortalContainer } from '@/theme/portal-provider';\nimport { Heading } from './heading';\nimport { IconButton } from './icon-button';\n\ntype ContentProps = RadixDialog.DialogContentProps & {\n width?: string;\n maxWidth?: string;\n minWidth?: string;\n height?: string;\n maxHeight?: string;\n minHeight?: string;\n title?: string;\n hideCloseButton?: boolean;\n buttons?: React.ReactNode;\n};\n\nconst preventDefault: RadixDialog.DialogContentProps['onPointerDownOutside'] = (\n e\n) => {\n e.preventDefault();\n};\n\nfunction Content(props: ContentProps): React.ReactNode {\n const {\n children,\n style = {},\n width,\n maxWidth,\n minWidth,\n maxHeight,\n height,\n minHeight,\n title,\n buttons,\n hideCloseButton,\n className,\n ...rest\n } = props;\n const { dialogContainerRef } = usePortalContainer();\n\n return (\n <RadixDialog.Portal container={dialogContainerRef.current}>\n <Theme asChild>\n <RadixDialog.Overlay className=\"DialogOverlay\">\n <RadixDialog.Content\n className={`DialogContent ${className || ''}`}\n onPointerDownOutside={preventDefault}\n style={{\n width,\n maxWidth,\n minWidth,\n maxHeight,\n height,\n minHeight,\n ...style,\n }}\n {...rest}\n >\n <Flex gap=\"2\" justify=\"between\" width=\"100%\">\n <RadixDialog.Title asChild>\n {typeof title === 'string' ? (\n <Heading mb=\"2\" variant=\"heading3\">\n {title}\n </Heading>\n ) : (\n title\n )}\n </RadixDialog.Title>\n {!hideCloseButton && (\n <RadixDialog.Close asChild className=\"DialogClose\">\n <IconButton color=\"gray\" variant=\"ghost\">\n <Cross1Icon />\n </IconButton>\n </RadixDialog.Close>\n )}\n </Flex>\n {children}\n {buttons ? (\n <Flex gap=\"3\" justify=\"end\" mt=\"3\" width=\"100%\">\n {buttons}\n </Flex>\n ) : null}\n </RadixDialog.Content>\n </RadixDialog.Overlay>\n </Theme>\n </RadixDialog.Portal>\n );\n}\n\nfunction Close({\n children,\n ...rest\n}: RadixDialog.DialogCloseProps): React.ReactNode {\n return (\n <RadixDialog.Close asChild {...rest}>\n {children}\n </RadixDialog.Close>\n );\n}\n\nfunction Trigger({\n children,\n ...rest\n}: RadixDialog.DialogTriggerProps): React.ReactNode {\n return (\n <RadixDialog.Trigger asChild {...rest}>\n {children}\n </RadixDialog.Trigger>\n );\n}\n\nexport const Dialog = {\n Root: RadixDialog.Root,\n Trigger,\n Content,\n Close,\n Description: RadixDialog.Description,\n Title: RadixDialog.Title,\n};\n","import React, { createContext, useContext, useRef } from 'react';\n\ninterface PortalProviderProps {\n children: React.ReactNode;\n}\n\ninterface PortalState {\n dialogContainerRef: React.RefObject<HTMLDivElement | null>;\n drawerContainerRef: React.RefObject<HTMLDivElement | null>;\n}\n\nconst PortalContext = createContext<PortalState>(\n null as unknown as PortalState\n);\n\nexport function PortalProvider({\n children,\n}: PortalProviderProps): React.ReactNode {\n const dialogContainerRef = useRef<HTMLDivElement | null>(null);\n const drawerContainerRef = useRef<HTMLDivElement | null>(null);\n\n return (\n <PortalContext.Provider value={{ dialogContainerRef, drawerContainerRef }}>\n {children}\n <div className=\"drawer-portal-container\" ref={drawerContainerRef} />\n <div className=\"dialog-portal-container\" ref={dialogContainerRef} />\n </PortalContext.Provider>\n );\n}\n\nexport const usePortalContainer = (): PortalState => {\n try {\n const state = useContext(PortalContext);\n return state;\n } catch (error) {\n throw new Error('PortalProvider not found');\n }\n};\n\nexport default PortalProvider;\n","import {\n Heading as RadixHeading,\n type HeadingProps as RadixHeadingProps,\n} from '@radix-ui/themes';\nimport type { Responsive } from '@radix-ui/themes/props';\nimport { useMemo } from 'react';\nimport { mapWithResponsive } from '@/utils/map-with-responsive';\n\nexport { Heading as RadixHeading } from '@radix-ui/themes';\ntype HeadingVariant =\n | 'heading1'\n | 'heading2'\n | 'heading3'\n | 'heading4'\n | 'heading5';\nexport type HeadingProps = RadixHeadingProps & {\n variant?: Responsive<HeadingVariant>;\n};\n\ntype HeadingSize = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';\n\nconst mapVariant = (variant?: HeadingVariant): HeadingSize | undefined => {\n switch (variant) {\n case 'heading1':\n return '7';\n case 'heading2':\n return '6';\n case 'heading3':\n return '5';\n case 'heading4':\n return '4';\n case 'heading5':\n return '3';\n default:\n return undefined;\n }\n};\n\nexport function Heading(props: HeadingProps): React.ReactNode {\n const { size, children, variant, ...rest } = props;\n const radixSize = useMemo<RadixHeadingProps['size']>(() => {\n return variant\n ? mapWithResponsive({\n value: variant,\n mapFn: mapVariant,\n })\n : size;\n \n }, [size, variant]);\n\n return (\n <RadixHeading {...rest} size={radixSize}>\n {children}\n </RadixHeading>\n );\n}\n","import type { Breakpoint, Responsive } from \"@radix-ui/themes/props\";\n\nexport const mapWithResponsive = <T extends string,K extends string>(\n args: {value: Responsive<T>, mapFn: (value?:T)=>K |undefined}\n): Responsive<K> | undefined => {\n const {value, mapFn} = args;\n if(typeof value === 'string'){\n return mapFn(value);\n };\n \n if(typeof value === 'object'){\n const newObj: Partial<Record<Breakpoint, K>> = {};\n let key: Breakpoint;\n for(key in value){\n newObj[key] = mapFn(value[key]);\n }\n return newObj;\n }\n return value;\n};\n","export { IconButton, type IconButtonProps } from '@radix-ui/themes';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAA6B;AAC7B,yBAA2B;AAC3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OAAM,IAAG,KAAI,OAAM,QACtC,mBACH,IACE;AAAA;AAAA;AAAA,EACN,GACF,GACF,GACF;AAEJ;AAEA,SAASC,OAAM,IAGmC;AAHnC,eACb;AAAA;AAAA,EA7FF,IA4Fe,IAEV,iBAFU,IAEV;AAAA,IADH;AAAA;AAGA,SACE,6CAAa,mBAAZ,+BAAkB,SAAO,QAAK,OAA9B,EACE,WACH;AAEJ;AAEA,SAASC,SAAQ,IAGmC;AAHnC,eACf;AAAA;AAAA,EAxGF,IAuGiB,IAEZ,iBAFY,IAEZ;AAAA,IADH;AAAA;AAGA,SACE,6CAAa,qBAAZ,+BAAoB,SAAO,QAAK,OAAhC,EACE,WACH;AAEJ;AAEO,IAAM,SAAS;AAAA,EACpB,MAAkB;AAAA,EAClB,SAAAA;AAAA,EACA,SAAAH;AAAA,EACA,OAAAE;AAAA,EACA,aAAyB;AAAA,EACzB,OAAmB;AACrB;","names":["import_themes","import_react","import_themes","import_jsx_runtime","Heading","RadixHeading","import_themes","import_jsx_runtime","Content","Heading","Close","Trigger"]}
1
+ {"version":3,"sources":["../../src/atoms/dialog.tsx","../../src/theme/portal-provider.tsx","../../src/atoms/heading.tsx","../../src/utils/map-with-responsive.ts","../../src/atoms/icon-button.tsx"],"sourcesContent":["import * as RadixDialog from '@radix-ui/react-dialog';\nimport { Cross1Icon } from '@radix-ui/react-icons';\nimport { Flex, Theme } from '@radix-ui/themes';\nimport { usePortalContainer } from '@/theme/portal-provider';\nimport { Heading } from './heading';\nimport { IconButton } from './icon-button';\nimport { ToastContainer } from 'react-toastify';\n\ntype ContentProps = RadixDialog.DialogContentProps & {\n width?: string;\n maxWidth?: string;\n minWidth?: string;\n height?: string;\n maxHeight?: string;\n minHeight?: string;\n title?: string;\n hideCloseButton?: boolean;\n buttons?: React.ReactNode;\n};\n\nconst preventDefault: RadixDialog.DialogContentProps['onPointerDownOutside'] = (\n e\n) => {\n e.preventDefault();\n};\n\nfunction Content(props: ContentProps): React.ReactNode {\n const {\n children,\n style = {},\n width,\n maxWidth,\n minWidth,\n maxHeight,\n height,\n minHeight,\n title,\n buttons,\n hideCloseButton,\n className,\n ...rest\n } = props;\n const { dialogContainerRef } = usePortalContainer();\n\n return (\n <RadixDialog.Portal container={dialogContainerRef.current}>\n <Theme asChild>\n <RadixDialog.Overlay className=\"DialogOverlay\">\n <RadixDialog.Content\n className={`DialogContent ${className || ''}`}\n onPointerDownOutside={preventDefault}\n style={{\n width,\n maxWidth,\n minWidth,\n maxHeight,\n height,\n minHeight,\n ...style,\n }}\n {...rest}\n >\n <Flex gap=\"2\" justify=\"between\" width=\"100%\">\n <RadixDialog.Title asChild>\n {typeof title === 'string' && title !== '' ? (\n <Heading mb=\"2\" variant=\"heading3\">\n {title}\n </Heading>\n ) : (\n title\n )}\n </RadixDialog.Title>\n {!hideCloseButton && (\n <RadixDialog.Close asChild className=\"DialogClose\">\n <IconButton color=\"gray\" variant=\"ghost\">\n <Cross1Icon />\n </IconButton>\n </RadixDialog.Close>\n )}\n </Flex>\n {children}\n {buttons ? (\n <Flex gap=\"3\" justify=\"end\" mt=\"3\" width=\"100%\">\n {buttons}\n </Flex>\n ) : null}\n </RadixDialog.Content>\n <ToastContainer/>\n </RadixDialog.Overlay>\n </Theme>\n </RadixDialog.Portal>\n );\n}\n\nfunction Close({\n children,\n ...rest\n}: RadixDialog.DialogCloseProps): React.ReactNode {\n return (\n <RadixDialog.Close asChild {...rest}>\n {children}\n </RadixDialog.Close>\n );\n}\n\nfunction Trigger({\n children,\n ...rest\n}: RadixDialog.DialogTriggerProps): React.ReactNode {\n return (\n <RadixDialog.Trigger asChild {...rest}>\n {children}\n </RadixDialog.Trigger>\n );\n}\n\nexport const Dialog = {\n Root: RadixDialog.Root,\n Trigger,\n Content,\n Close,\n Description: RadixDialog.Description,\n Title: RadixDialog.Title,\n};\n","import React, { createContext, useContext, useRef } from 'react';\n\ninterface PortalProviderProps {\n children: React.ReactNode;\n}\n\ninterface PortalState {\n dialogContainerRef: React.RefObject<HTMLDivElement | null>;\n drawerContainerRef: React.RefObject<HTMLDivElement | null>;\n}\n\nconst PortalContext = createContext<PortalState>(\n null as unknown as PortalState\n);\n\nexport function PortalProvider({\n children,\n}: PortalProviderProps): React.ReactNode {\n const dialogContainerRef = useRef<HTMLDivElement | null>(null);\n const drawerContainerRef = useRef<HTMLDivElement | null>(null);\n\n return (\n <PortalContext.Provider value={{ dialogContainerRef, drawerContainerRef }}>\n {children}\n <div className=\"drawer-portal-container\" ref={drawerContainerRef} />\n <div className=\"dialog-portal-container\" ref={dialogContainerRef} />\n </PortalContext.Provider>\n );\n}\n\nexport const usePortalContainer = (): PortalState => {\n try {\n const state = useContext(PortalContext);\n return state;\n } catch (error) {\n throw new Error('PortalProvider not found');\n }\n};\n\nexport default PortalProvider;\n","import {\n Heading as RadixHeading,\n type HeadingProps as RadixHeadingProps,\n} from '@radix-ui/themes';\nimport type { Responsive } from '@radix-ui/themes/props';\nimport { useMemo } from 'react';\nimport { mapWithResponsive } from '@/utils/map-with-responsive';\n\nexport { Heading as RadixHeading } from '@radix-ui/themes';\ntype HeadingVariant =\n | 'heading1'\n | 'heading2'\n | 'heading3'\n | 'heading4'\n | 'heading5';\nexport type HeadingProps = RadixHeadingProps & {\n variant?: Responsive<HeadingVariant>;\n};\n\ntype HeadingSize = '1' | '2' | '3' | '4' | '5' | '6' | '7' | '8' | '9';\n\nconst mapVariant = (variant?: HeadingVariant): HeadingSize | undefined => {\n switch (variant) {\n case 'heading1':\n return '7';\n case 'heading2':\n return '6';\n case 'heading3':\n return '5';\n case 'heading4':\n return '4';\n case 'heading5':\n return '3';\n default:\n return undefined;\n }\n};\n\nexport function Heading(props: HeadingProps): React.ReactNode {\n const { size, children, variant, ...rest } = props;\n const radixSize = useMemo<RadixHeadingProps['size']>(() => {\n return variant\n ? mapWithResponsive({\n value: variant,\n mapFn: mapVariant,\n })\n : size;\n \n }, [size, variant]);\n\n return (\n <RadixHeading {...rest} size={radixSize}>\n {children}\n </RadixHeading>\n );\n}\n","import type { Breakpoint, Responsive } from \"@radix-ui/themes/props\";\n\nexport const mapWithResponsive = <T extends string,K extends string>(\n args: {value: Responsive<T>, mapFn: (value?:T)=>K |undefined}\n): Responsive<K> | undefined => {\n const {value, mapFn} = args;\n if(typeof value === 'string'){\n return mapFn(value);\n };\n \n if(typeof value === 'object'){\n const newObj: Partial<Record<Breakpoint, K>> = {};\n let key: Breakpoint;\n for(key in value){\n newObj[key] = mapFn(value[key]);\n }\n return newObj;\n }\n return value;\n};\n","export { IconButton, type IconButtonProps } from '@radix-ui/themes';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAA6B;AAC7B,yBAA2B;AAC3B,IAAAA,iBAA4B;;;ACF5B,mBAAyD;AAsBrD;AAXJ,IAAM,oBAAgB;AAAA,EACpB;AACF;AAiBO,IAAM,qBAAqB,MAAmB;AACnD,MAAI;AACF,UAAM,YAAQ,yBAAW,aAAa;AACtC,WAAO;AAAA,EACT,SAAS,OAAO;AACd,UAAM,IAAI,MAAM,0BAA0B;AAAA,EAC5C;AACF;;;ACrCA,oBAGO;AAEP,IAAAC,gBAAwB;;;ACHjB,IAAM,oBAAoB,CAChC,SAC+B;AAC9B,QAAM,EAAC,OAAO,MAAK,IAAI;AACvB,MAAG,OAAO,UAAU,UAAS;AAC3B,WAAO,MAAM,KAAK;AAAA,EACpB;AAAC;AAED,MAAG,OAAO,UAAU,UAAS;AAC3B,UAAM,SAAyC,CAAC;AAChD,QAAI;AACJ,SAAI,OAAO,OAAM;AACf,aAAO,GAAG,IAAI,MAAM,MAAM,GAAG,CAAC;AAAA,IAChC;AACA,WAAO;AAAA,EACT;AACA,SAAO;AACT;;;ADXA,IAAAC,iBAAwC;AA2CpC,IAAAC,sBAAA;AA9BJ,IAAM,aAAa,CAAC,YAAsD;AACxE,UAAQ,SAAS;AAAA,IACf,KAAK;AACH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AsB;AAAA,QACtB,OAAO;AAAA,UACL;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,UACA;AAAA,WACG;AAAA,SAED,OAZL;AAAA,QAcC;AAAA,wDAAC,uBAAK,KAAI,KAAI,SAAQ,WAAU,OAAM,QACpC;AAAA,yDAAa,mBAAZ,EAAkB,SAAO,MACvB,iBAAO,UAAU,YAAY,UAAU,KACtC,6CAACC,UAAA,EAAQ,IAAG,KAAI,SAAQ,YACrB,iBACH,IAEA,OAEJ;AAAA,YACC,CAAC,mBACA,6CAAa,mBAAZ,EAAkB,SAAO,MAAC,WAAU,eACnC,uDAAC,6BAAW,OAAM,QAAO,SAAQ,SAC/B,uDAAC,iCAAW,GACd,GACF;AAAA,aAEJ;AAAA,UACC;AAAA,UACA,UACC,6CAAC,uBAAK,KAAI,KAAI,SAAQ,OAAM,IAAG,KAAI,OAAM,QACtC,mBACH,IACE;AAAA;AAAA;AAAA,IACN;AAAA,IACA,6CAAC,wCAAc;AAAA,KACjB,GACF,GACF;AAEJ;AAEA,SAASC,OAAM,IAGmC;AAHnC,eACb;AAAA;AAAA,EA/FF,IA8Fe,IAEV,iBAFU,IAEV;AAAA,IADH;AAAA;AAGA,SACE,6CAAa,mBAAZ,+BAAkB,SAAO,QAAK,OAA9B,EACE,WACH;AAEJ;AAEA,SAASC,SAAQ,IAGmC;AAHnC,eACf;AAAA;AAAA,EA1GF,IAyGiB,IAEZ,iBAFY,IAEZ;AAAA,IADH;AAAA;AAGA,SACE,6CAAa,qBAAZ,+BAAoB,SAAO,QAAK,OAAhC,EACE,WACH;AAEJ;AAEO,IAAM,SAAS;AAAA,EACpB,MAAkB;AAAA,EAClB,SAAAA;AAAA,EACA,SAAAH;AAAA,EACA,OAAAE;AAAA,EACA,aAAyB;AAAA,EACzB,OAAmB;AACrB;","names":["import_themes","import_react","import_themes","import_jsx_runtime","Heading","RadixHeading","import_themes","import_jsx_runtime","Content","Heading","Close","Trigger"]}
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Dialog
3
- } from "../chunk-IKQOD3UU.js";
3
+ } from "../chunk-M53RUBK5.js";
4
4
  import "../chunk-34OQDUQR.js";
5
5
  import "../chunk-U7N2PWMO.js";
6
6
  import "../chunk-O3DNDMV3.js";
@@ -135,6 +135,7 @@ var import_themes2 = require("@radix-ui/themes");
135
135
  var import_themes3 = require("@radix-ui/themes");
136
136
 
137
137
  // src/atoms/drawer.tsx
138
+ var import_react_toastify = require("react-toastify");
138
139
  var import_jsx_runtime3 = require("react/jsx-runtime");
139
140
  function Root2(props) {
140
141
  return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Dialog.Root, __spreadValues({}, props));
@@ -147,12 +148,14 @@ function Content2(props) {
147
148
  position = "right",
148
149
  className,
149
150
  children,
150
- HeaderContent
151
+ HeaderContent,
152
+ hideHeader
151
153
  } = _a, rest = __objRest(_a, [
152
154
  "position",
153
155
  "className",
154
156
  "children",
155
- "HeaderContent"
157
+ "HeaderContent",
158
+ "hideHeader"
156
159
  ]);
157
160
  const mobileHeaderSize = 48;
158
161
  const desktopHeaderSize = 64;
@@ -176,17 +179,20 @@ function Content2(props) {
176
179
  sm: `${desktopHeaderSize}px ${separatorSize}px calc(100% - ${desktopHeaderSize + separatorSize}px)`
177
180
  },
178
181
  children: [
179
- /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_themes.Flex, { align: "center", gap: "3", px: { initial: "4", md: "6" }, children: [
180
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Dialog.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_themes3.IconButton, { color: "gray", variant: "outline", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ClosePanelArrowIcon, {}) }) }),
181
- HeaderContent
182
+ !hideHeader && /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_jsx_runtime3.Fragment, { children: [
183
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsxs)(import_themes.Flex, { align: "center", gap: "3", px: { initial: "4", md: "6" }, children: [
184
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(Dialog.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_themes3.IconButton, { color: "gray", variant: "outline", children: /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(ClosePanelArrowIcon, {}) }) }),
185
+ HeaderContent
186
+ ] }),
187
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_themes2.Separator, { orientation: "horizontal", size: "4" })
182
188
  ] }),
183
- /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_themes2.Separator, { orientation: "horizontal", size: "4" }),
184
189
  children
185
190
  ]
186
191
  }
187
192
  )
188
193
  })
189
- )
194
+ ),
195
+ /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_react_toastify.ToastContainer, {})
190
196
  ] }) });
191
197
  }
192
198
  function Trigger2(props) {
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/atoms/drawer.tsx","../../src/theme/portal-provider.tsx","../../src/icons/close-panel-arrow.tsx","../../src/atoms/flex.tsx","../../src/atoms/separator.tsx","../../src/atoms/icon-button.tsx"],"sourcesContent":["import React from 'react';\nimport * as Dialog from '@radix-ui/react-dialog';\nimport { Grid, Theme } from '@radix-ui/themes';\nimport { usePortalContainer } from '@/theme/portal-provider';\nimport { ClosePanelArrowIcon } from '../icons/close-panel-arrow';\nimport { Flex } from './flex';\nimport { Separator } from './separator';\nimport { IconButton } from './icon-button';\n\nexport function Root(props: Dialog.DialogProps): React.ReactNode {\n return <Dialog.Root {...props} />;\n}\n\ntype ContentProps = Dialog.DialogContentProps & {\n /** Drawer가 붙는 위치, 기본값 right */\n position?: 'left' | 'right' | 'bottom' | 'top';\n HeaderContent?: React.ReactNode;\n};\n\nconst preventDefault: Dialog.DialogContentProps['onPointerDownOutside'] = (\n e\n) => {\n e.preventDefault();\n};\n\nexport function Content(props: ContentProps): React.ReactNode {\n const {\n position = 'right',\n className,\n children,\n HeaderContent,\n ...rest\n } = props;\n\n const mobileHeaderSize = 48;\n const desktopHeaderSize = 64;\n const separatorSize = 1;\n const { drawerContainerRef } = usePortalContainer();\n\n return (\n <Dialog.Portal container={drawerContainerRef.current}>\n <Theme>\n <Dialog.Overlay className=\"DrawerOverlay\" />\n <Dialog.Content\n className={`DrawerContent ${position} ${className || ''}`}\n onPointerDownOutside={preventDefault}\n {...rest}\n >\n <Grid\n height=\"100%\"\n overflow=\"hidden\"\n rows={{\n initial: `${mobileHeaderSize}px ${separatorSize}px calc(100% - ${mobileHeaderSize + separatorSize}px)`,\n sm: `${desktopHeaderSize}px ${separatorSize}px calc(100% - ${desktopHeaderSize + separatorSize}px)`,\n }}\n >\n <Flex align=\"center\" gap=\"3\" px={{ initial: '4', md: '6' }}>\n <Dialog.Close asChild>\n <IconButton color=\"gray\" variant=\"outline\">\n <ClosePanelArrowIcon />\n </IconButton>\n </Dialog.Close>\n {HeaderContent}\n </Flex>\n <Separator orientation=\"horizontal\" size=\"4\" />\n {children}\n </Grid>\n </Dialog.Content>\n </Theme>\n </Dialog.Portal>\n );\n}\n\nexport function Trigger(props: Dialog.DialogTriggerProps): React.ReactNode {\n return <Dialog.Trigger asChild {...props} />;\n}\n\nexport const Drawer = {\n Root: Dialog.Root,\n Trigger,\n Content,\n Close: Dialog.Close,\n Title: Dialog.Title,\n Description: Dialog.Description,\n};\n","import React, { createContext, useContext, useRef } from 'react';\n\ninterface PortalProviderProps {\n children: React.ReactNode;\n}\n\ninterface PortalState {\n dialogContainerRef: React.RefObject<HTMLDivElement | null>;\n drawerContainerRef: React.RefObject<HTMLDivElement | null>;\n}\n\nconst PortalContext = createContext<PortalState>(\n null as unknown as PortalState\n);\n\nexport function PortalProvider({\n children,\n}: PortalProviderProps): React.ReactNode {\n const dialogContainerRef = useRef<HTMLDivElement | null>(null);\n const drawerContainerRef = useRef<HTMLDivElement | null>(null);\n\n return (\n <PortalContext.Provider value={{ dialogContainerRef, drawerContainerRef }}>\n {children}\n <div className=\"drawer-portal-container\" ref={drawerContainerRef} />\n <div className=\"dialog-portal-container\" ref={dialogContainerRef} />\n </PortalContext.Provider>\n );\n}\n\nexport const usePortalContainer = (): PortalState => {\n try {\n const state = useContext(PortalContext);\n return state;\n } catch (error) {\n throw new Error('PortalProvider not found');\n }\n};\n\nexport default PortalProvider;\n","import * as React from 'react';\nimport type { IconProps } from './types';\n\nexport const ClosePanelArrowIcon = React.forwardRef<SVGSVGElement, IconProps>(\n ({ color = 'currentColor', ...props }, forwardedRef) => {\n return (\n <svg\n fill=\"none\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n width=\"16\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n ref={forwardedRef}\n >\n <path\n clipRule=\"evenodd\"\n d=\"M3.19315 2.16529C3.43937 1.93445 3.82611 1.94693 4.05695 2.19315L9.87499 7.15624C9.87499 7.15624 10.4479 7.72916 9.87499 8.30207L4.05695 12.8068C3.82611 13.0531 3.43937 13.0656 3.19315 12.8347C2.94693 12.6038 2.93445 12.2171 3.16529 11.9709L8.72916 7.72916L3.16529 3.02908C2.93445 2.78285 2.94693 2.39612 3.19315 2.16529Z\"\n fill={color}\n fillRule=\"evenodd\"\n />\n <path\n clipRule=\"evenodd\"\n d=\"M12.1733 2.58667C12.1733 2.26266 11.9107 2 11.5867 2C11.2627 2 11 2.26266 11 2.58667V12.7201C11 13.044 11.2627 13.3067 11.5867 13.3067C11.9107 13.3067 12.1733 13.044 12.1733 12.7201V2.58667Z\"\n fill={color}\n fillRule=\"evenodd\"\n />\n </svg>\n );\n }\n);\n\nClosePanelArrowIcon.displayName = 'ArrowDownIcon';\n","export { Flex, type FlexProps } from '@radix-ui/themes';\n","export { Separator, type SeparatorProps } from '@radix-ui/themes';\n","export { IconButton, type IconButtonProps } from '@radix-ui/themes';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,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Root","Trigger","import_themes","React","import_jsx_runtime","import_themes","import_themes","import_jsx_runtime","Root","Content","Trigger"]}
1
+ {"version":3,"sources":["../../src/atoms/drawer.tsx","../../src/theme/portal-provider.tsx","../../src/icons/close-panel-arrow.tsx","../../src/atoms/flex.tsx","../../src/atoms/separator.tsx","../../src/atoms/icon-button.tsx"],"sourcesContent":["import React from 'react';\nimport * as Dialog from '@radix-ui/react-dialog';\nimport { Grid, Theme } from '@radix-ui/themes';\nimport { usePortalContainer } from '@/theme/portal-provider';\nimport { ClosePanelArrowIcon } from '../icons/close-panel-arrow';\nimport { Flex } from './flex';\nimport { Separator } from './separator';\nimport { IconButton } from './icon-button';\nimport { ToastContainer } from 'react-toastify';\n\nexport function Root(props: Dialog.DialogProps): React.ReactNode {\n return <Dialog.Root {...props} />;\n}\n\ntype ContentProps = Dialog.DialogContentProps & {\n /** Drawer가 붙는 위치, 기본값 right */\n position?: 'left' | 'right' | 'bottom' | 'top';\n HeaderContent?: React.ReactNode;\n hideHeader?: boolean;\n};\n\nconst preventDefault: Dialog.DialogContentProps['onPointerDownOutside'] = (\n e\n) => {\n e.preventDefault();\n};\n\nexport function Content(props: ContentProps): React.ReactNode {\n const {\n position = 'right',\n className,\n children,\n HeaderContent,\n hideHeader,\n ...rest\n } = props;\n\n const mobileHeaderSize = 48;\n const desktopHeaderSize = 64;\n const separatorSize = 1;\n const { drawerContainerRef } = usePortalContainer();\n\n return (\n <Dialog.Portal container={drawerContainerRef.current}>\n <Theme>\n <Dialog.Overlay className=\"DrawerOverlay\" />\n <Dialog.Content\n className={`DrawerContent ${position} ${className || ''}`}\n onPointerDownOutside={preventDefault}\n {...rest}\n >\n <Grid\n height=\"100%\"\n overflow=\"hidden\"\n rows={{\n initial: `${mobileHeaderSize}px ${separatorSize}px calc(100% - ${mobileHeaderSize + separatorSize}px)`,\n sm: `${desktopHeaderSize}px ${separatorSize}px calc(100% - ${desktopHeaderSize + separatorSize}px)`,\n }}\n >\n {!hideHeader && (\n <>\n <Flex align=\"center\" gap=\"3\" px={{ initial: '4', md: '6' }}>\n <Dialog.Close asChild>\n <IconButton color=\"gray\" variant=\"outline\">\n <ClosePanelArrowIcon />\n </IconButton>\n </Dialog.Close>\n {HeaderContent}\n </Flex>\n <Separator orientation=\"horizontal\" size=\"4\" />\n </>\n )}\n {children}\n </Grid>\n </Dialog.Content>\n <ToastContainer/>\n </Theme>\n </Dialog.Portal>\n );\n}\n\nexport function Trigger(props: Dialog.DialogTriggerProps): React.ReactNode {\n return <Dialog.Trigger asChild {...props} />;\n}\n\nexport const Drawer = {\n Root: Dialog.Root,\n Trigger,\n Content,\n Close: Dialog.Close,\n Title: Dialog.Title,\n Description: Dialog.Description,\n};\n","import React, { createContext, useContext, useRef } from 'react';\n\ninterface PortalProviderProps {\n children: React.ReactNode;\n}\n\ninterface PortalState {\n dialogContainerRef: React.RefObject<HTMLDivElement | null>;\n drawerContainerRef: React.RefObject<HTMLDivElement | null>;\n}\n\nconst PortalContext = createContext<PortalState>(\n null as unknown as PortalState\n);\n\nexport function PortalProvider({\n children,\n}: PortalProviderProps): React.ReactNode {\n const dialogContainerRef = useRef<HTMLDivElement | null>(null);\n const drawerContainerRef = useRef<HTMLDivElement | null>(null);\n\n return (\n <PortalContext.Provider value={{ dialogContainerRef, drawerContainerRef }}>\n {children}\n <div className=\"drawer-portal-container\" ref={drawerContainerRef} />\n <div className=\"dialog-portal-container\" ref={dialogContainerRef} />\n </PortalContext.Provider>\n );\n}\n\nexport const usePortalContainer = (): PortalState => {\n try {\n const state = useContext(PortalContext);\n return state;\n } catch (error) {\n throw new Error('PortalProvider not found');\n }\n};\n\nexport default PortalProvider;\n","import * as React from 'react';\nimport type { IconProps } from './types';\n\nexport const ClosePanelArrowIcon = React.forwardRef<SVGSVGElement, IconProps>(\n ({ color = 'currentColor', ...props }, forwardedRef) => {\n return (\n <svg\n fill=\"none\"\n height=\"16\"\n viewBox=\"0 0 16 16\"\n width=\"16\"\n xmlns=\"http://www.w3.org/2000/svg\"\n {...props}\n ref={forwardedRef}\n >\n <path\n clipRule=\"evenodd\"\n d=\"M3.19315 2.16529C3.43937 1.93445 3.82611 1.94693 4.05695 2.19315L9.87499 7.15624C9.87499 7.15624 10.4479 7.72916 9.87499 8.30207L4.05695 12.8068C3.82611 13.0531 3.43937 13.0656 3.19315 12.8347C2.94693 12.6038 2.93445 12.2171 3.16529 11.9709L8.72916 7.72916L3.16529 3.02908C2.93445 2.78285 2.94693 2.39612 3.19315 2.16529Z\"\n fill={color}\n fillRule=\"evenodd\"\n />\n <path\n clipRule=\"evenodd\"\n d=\"M12.1733 2.58667C12.1733 2.26266 11.9107 2 11.5867 2C11.2627 2 11 2.26266 11 2.58667V12.7201C11 13.044 11.2627 13.3067 11.5867 13.3067C11.9107 13.3067 12.1733 13.044 12.1733 12.7201V2.58667Z\"\n fill={color}\n fillRule=\"evenodd\"\n />\n </svg>\n );\n }\n);\n\nClosePanelArrowIcon.displayName = 'ArrowDownIcon';\n","export { Flex, type FlexProps } from '@radix-ui/themes';\n","export { Separator, type SeparatorProps } from '@radix-ui/themes';\n","export { IconButton, type IconButtonProps } from '@radix-ui/themes';\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA,iBAAAA;AAAA,EAAA;AAAA,cAAAC;AAAA,EAAA,eAAAC;AAAA;AAAA;AACA,aAAwB;AACxB,IAAAC,iBAA4B;;;ACF5B,mBAAyD;AAsBrD;AAXJ,IAAM,oBAAgB;AAAA,EACpB;AACF;AAiBO,IAAM,qBAAqB,MAAmB;AACnD,MAAI;AACF,UAAM,YAAQ,yBAAW,aAAa;AACtC,WAAO;AAAA,EACT,SAAS,OAAO;AACd,UAAM,IAAI,MAAM,0BAA0B;AAAA,EAC5C;AACF;;;ACrCA,IAAAC,SAAuB;AAMjB,IAAAC,sBAAA;AAHC,IAAM,sBAA4B;AAAA,EACvC,CAAC,IAAsC,iBAAiB;AAA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AAA,QACvD,sBAAsB;AAAA,SAClB,OAHL;AAAA,QAKC;AAAA,UAAC;AAAA;AAAA,YACC,QAAO;AAAA,YACP,UAAS;AAAA,YACT,MAAM;AAAA,cACJ,SAAS,GAAG,gBAAgB,MAAM,aAAa,kBAAkB,mBAAmB,aAAa;AAAA,cACjG,IAAI,GAAG,iBAAiB,MAAM,aAAa,kBAAkB,oBAAoB,aAAa;AAAA,YAChG;AAAA,YAEC;AAAA,eAAC,cACA,8EACE;AAAA,8DAAC,sBAAK,OAAM,UAAS,KAAI,KAAI,IAAI,EAAE,SAAS,KAAK,IAAI,IAAI,GACvD;AAAA,+DAAQ,cAAP,EAAa,SAAO,MACnB,uDAAC,6BAAW,OAAM,QAAO,SAAQ,WAC/B,uDAAC,uBAAoB,GACvB,GACF;AAAA,kBACC;AAAA,mBACH;AAAA,gBACA,6CAAC,4BAAU,aAAY,cAAa,MAAK,KAAI;AAAA,iBAC/C;AAAA,cAED;AAAA;AAAA;AAAA,QACH;AAAA;AAAA,IACF;AAAA,IACA,6CAAC,wCAAc;AAAA,KACjB,GACF;AAEJ;AAEO,SAASC,SAAQ,OAAmD;AACzE,SAAO,6CAAQ,gBAAP,iBAAe,SAAO,QAAK,MAAO;AAC5C;AAEO,IAAM,SAAS;AAAA,EACpB,MAAa;AAAA,EACb,SAAAA;AAAA,EACA,SAAAD;AAAA,EACA,OAAc;AAAA,EACd,OAAc;AAAA,EACd,aAAoB;AACtB;","names":["Content","Root","Trigger","import_themes","React","import_jsx_runtime","import_themes","import_themes","import_jsx_runtime","Root","Content","Trigger"]}
@@ -6,6 +6,7 @@ type ContentProps = Dialog.DialogContentProps & {
6
6
  /** Drawer가 붙는 위치, 기본값 right */
7
7
  position?: 'left' | 'right' | 'bottom' | 'top';
8
8
  HeaderContent?: React__default.ReactNode;
9
+ hideHeader?: boolean;
9
10
  };
10
11
  declare function Content(props: ContentProps): React__default.ReactNode;
11
12
  declare function Trigger(props: Dialog.DialogTriggerProps): React__default.ReactNode;
@@ -6,6 +6,7 @@ type ContentProps = Dialog.DialogContentProps & {
6
6
  /** Drawer가 붙는 위치, 기본값 right */
7
7
  position?: 'left' | 'right' | 'bottom' | 'top';
8
8
  HeaderContent?: React__default.ReactNode;
9
+ hideHeader?: boolean;
9
10
  };
10
11
  declare function Content(props: ContentProps): React__default.ReactNode;
11
12
  declare function Trigger(props: Dialog.DialogTriggerProps): React__default.ReactNode;
@@ -3,7 +3,7 @@ import {
3
3
  Drawer,
4
4
  Root,
5
5
  Trigger
6
- } from "../chunk-UOYF3DBN.js";
6
+ } from "../chunk-PXOQBTYR.js";
7
7
  import "../chunk-DDUKEE5E.js";
8
8
  import "../chunk-HYITAA4J.js";
9
9
  import "../chunk-U7N2PWMO.js";
@@ -115,11 +115,11 @@ __export(atoms_exports, {
115
115
  Tabs: () => import_themes44.Tabs,
116
116
  TextArea: () => TextArea,
117
117
  TextField: () => TextField,
118
- ToastContainer: () => ToastContainer,
118
+ ToastContainer: () => ToastContainer3,
119
119
  Tooltip: () => import_themes48.Tooltip,
120
120
  Trigger: () => Trigger5,
121
121
  Typo: () => Typo,
122
- toast: () => import_react_toastify2.toast
122
+ toast: () => import_react_toastify4.toast
123
123
  });
124
124
  module.exports = __toCommonJS(atoms_exports);
125
125
 
@@ -449,6 +449,7 @@ function Heading2(props) {
449
449
  var import_themes18 = require("@radix-ui/themes");
450
450
 
451
451
  // src/atoms/dialog.tsx
452
+ var import_react_toastify = require("react-toastify");
452
453
  var import_jsx_runtime9 = require("react/jsx-runtime");
453
454
  var preventDefault = (e) => {
454
455
  e.preventDefault();
@@ -482,30 +483,33 @@ function Content2(props) {
482
483
  "className"
483
484
  ]);
484
485
  const { dialogContainerRef } = usePortalContainer();
485
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(RadixDialog.Portal, { container: dialogContainerRef.current, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes19.Theme, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(RadixDialog.Overlay, { className: "DialogOverlay", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
486
- RadixDialog.Content,
487
- __spreadProps(__spreadValues({
488
- className: `DialogContent ${className || ""}`,
489
- onPointerDownOutside: preventDefault,
490
- style: __spreadValues({
491
- width,
492
- maxWidth,
493
- minWidth,
494
- maxHeight,
495
- height,
496
- minHeight
497
- }, style)
498
- }, rest), {
499
- children: [
500
- /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_themes19.Flex, { gap: "2", justify: "between", width: "100%", children: [
501
- /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(RadixDialog.Title, { asChild: true, children: typeof title === "string" ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Heading2, { mb: "2", variant: "heading3", children: title }) : title }),
502
- !hideCloseButton && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(RadixDialog.Close, { asChild: true, className: "DialogClose", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes18.IconButton, { color: "gray", variant: "ghost", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_icons.Cross1Icon, {}) }) })
503
- ] }),
504
- children,
505
- buttons ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes19.Flex, { gap: "3", justify: "end", mt: "3", width: "100%", children: buttons }) : null
506
- ]
507
- })
508
- ) }) }) });
486
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(RadixDialog.Portal, { container: dialogContainerRef.current, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes19.Theme, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(RadixDialog.Overlay, { className: "DialogOverlay", children: [
487
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
488
+ RadixDialog.Content,
489
+ __spreadProps(__spreadValues({
490
+ className: `DialogContent ${className || ""}`,
491
+ onPointerDownOutside: preventDefault,
492
+ style: __spreadValues({
493
+ width,
494
+ maxWidth,
495
+ minWidth,
496
+ maxHeight,
497
+ height,
498
+ minHeight
499
+ }, style)
500
+ }, rest), {
501
+ children: [
502
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_themes19.Flex, { gap: "2", justify: "between", width: "100%", children: [
503
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(RadixDialog.Title, { asChild: true, children: typeof title === "string" && title !== "" ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Heading2, { mb: "2", variant: "heading3", children: title }) : title }),
504
+ !hideCloseButton && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(RadixDialog.Close, { asChild: true, className: "DialogClose", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes18.IconButton, { color: "gray", variant: "ghost", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_icons.Cross1Icon, {}) }) })
505
+ ] }),
506
+ children,
507
+ buttons ? /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_themes19.Flex, { gap: "3", justify: "end", mt: "3", width: "100%", children: buttons }) : null
508
+ ]
509
+ })
510
+ ),
511
+ /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(import_react_toastify.ToastContainer, {})
512
+ ] }) }) });
509
513
  }
510
514
  function Close2(_a) {
511
515
  var _b = _a, {
@@ -1487,6 +1491,7 @@ var ClosePanelArrowIcon = React21.forwardRef(
1487
1491
  ClosePanelArrowIcon.displayName = "ArrowDownIcon";
1488
1492
 
1489
1493
  // src/atoms/drawer.tsx
1494
+ var import_react_toastify2 = require("react-toastify");
1490
1495
  var import_jsx_runtime34 = require("react/jsx-runtime");
1491
1496
  function Root6(props) {
1492
1497
  return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Dialog2.Root, __spreadValues({}, props));
@@ -1499,12 +1504,14 @@ function Content6(props) {
1499
1504
  position = "right",
1500
1505
  className,
1501
1506
  children,
1502
- HeaderContent
1507
+ HeaderContent,
1508
+ hideHeader
1503
1509
  } = _a, rest = __objRest(_a, [
1504
1510
  "position",
1505
1511
  "className",
1506
1512
  "children",
1507
- "HeaderContent"
1513
+ "HeaderContent",
1514
+ "hideHeader"
1508
1515
  ]);
1509
1516
  const mobileHeaderSize = 48;
1510
1517
  const desktopHeaderSize = 64;
@@ -1528,17 +1535,20 @@ function Content6(props) {
1528
1535
  sm: `${desktopHeaderSize}px ${separatorSize}px calc(100% - ${desktopHeaderSize + separatorSize}px)`
1529
1536
  },
1530
1537
  children: [
1531
- /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes22.Flex, { align: "center", gap: "3", px: { initial: "4", md: "6" }, children: [
1532
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Dialog2.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_themes18.IconButton, { color: "gray", variant: "outline", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ClosePanelArrowIcon, {}) }) }),
1533
- HeaderContent
1538
+ !hideHeader && /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_jsx_runtime34.Fragment, { children: [
1539
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsxs)(import_themes22.Flex, { align: "center", gap: "3", px: { initial: "4", md: "6" }, children: [
1540
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Dialog2.Close, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_themes18.IconButton, { color: "gray", variant: "outline", children: /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(ClosePanelArrowIcon, {}) }) }),
1541
+ HeaderContent
1542
+ ] }),
1543
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_themes39.Separator, { orientation: "horizontal", size: "4" })
1534
1544
  ] }),
1535
- /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_themes39.Separator, { orientation: "horizontal", size: "4" }),
1536
1545
  children
1537
1546
  ]
1538
1547
  }
1539
1548
  )
1540
1549
  })
1541
- )
1550
+ ),
1551
+ /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_react_toastify2.ToastContainer, {})
1542
1552
  ] }) });
1543
1553
  }
1544
1554
  function Trigger5(props) {
@@ -1555,15 +1565,15 @@ var Drawer = {
1555
1565
 
1556
1566
  // src/atoms/toast.tsx
1557
1567
  var import_react_icons3 = require("@radix-ui/react-icons");
1558
- var import_react_toastify = require("react-toastify");
1559
- var import_react_toastify2 = require("react-toastify");
1568
+ var import_react_toastify3 = require("react-toastify");
1569
+ var import_react_toastify4 = require("react-toastify");
1560
1570
  var import_jsx_runtime35 = require("react/jsx-runtime");
1561
1571
  function CloseButton() {
1562
1572
  return null;
1563
1573
  }
1564
- function ToastContainer(props) {
1574
+ function ToastContainer3(props) {
1565
1575
  return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
1566
- import_react_toastify.ToastContainer,
1576
+ import_react_toastify3.ToastContainer,
1567
1577
  __spreadValues({
1568
1578
  autoClose: 5e3,
1569
1579
  closeButton: CloseButton,