@mieweb/ui 0.2.2 → 0.3.0-dev.60

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 (326) hide show
  1. package/dist/ag-grid.cjs +6 -5
  2. package/dist/ag-grid.cjs.map +1 -1
  3. package/dist/ag-grid.js +2 -1
  4. package/dist/ag-grid.js.map +1 -1
  5. package/dist/brands/index.cjs +20 -20
  6. package/dist/brands/index.js +3 -3
  7. package/dist/brands/types.cjs +4 -4
  8. package/dist/brands/types.d.cts +14 -8
  9. package/dist/brands/types.d.ts +14 -8
  10. package/dist/brands/types.js +1 -1
  11. package/dist/{chunk-B7YGVKTE.cjs → chunk-2YFJ6A5V.cjs} +51 -24
  12. package/dist/chunk-2YFJ6A5V.cjs.map +1 -0
  13. package/dist/{chunk-2J2V4TMJ.cjs → chunk-35J4B3ZK.cjs} +41 -31
  14. package/dist/chunk-35J4B3ZK.cjs.map +1 -0
  15. package/dist/{chunk-B5364UWR.cjs → chunk-3DBRHYTN.cjs} +2 -2
  16. package/dist/{chunk-B5364UWR.cjs.map → chunk-3DBRHYTN.cjs.map} +1 -1
  17. package/dist/{chunk-JFAXLE2J.js → chunk-3DM6LMZG.js} +7 -4
  18. package/dist/chunk-3DM6LMZG.js.map +1 -0
  19. package/dist/{chunk-N3QTYHRZ.cjs → chunk-3GGET5LK.cjs} +40 -22
  20. package/dist/chunk-3GGET5LK.cjs.map +1 -0
  21. package/dist/{chunk-VV4N4WY6.cjs → chunk-3XK5GENF.cjs} +61 -35
  22. package/dist/chunk-3XK5GENF.cjs.map +1 -0
  23. package/dist/{chunk-OW2BWGST.js → chunk-4ASPCSWT.js} +48 -31
  24. package/dist/chunk-4ASPCSWT.js.map +1 -0
  25. package/dist/{chunk-EKIQE524.cjs → chunk-4FALCEJI.cjs} +3 -2
  26. package/dist/chunk-4FALCEJI.cjs.map +1 -0
  27. package/dist/{chunk-6OCIIIAI.js → chunk-4Z6ZZKIY.js} +40 -22
  28. package/dist/chunk-4Z6ZZKIY.js.map +1 -0
  29. package/dist/{chunk-QUA7WVHK.cjs → chunk-4ZU53GNR.cjs} +6 -14
  30. package/dist/{chunk-QUA7WVHK.cjs.map → chunk-4ZU53GNR.cjs.map} +1 -1
  31. package/dist/{chunk-6Q4SU72T.js → chunk-5NSURWMM.js} +49 -10
  32. package/dist/chunk-5NSURWMM.js.map +1 -0
  33. package/dist/{chunk-4MHTSFPX.js → chunk-6EN6ZIW3.js} +43 -18
  34. package/dist/chunk-6EN6ZIW3.js.map +1 -0
  35. package/dist/chunk-7CLHYU4Q.cjs +270 -0
  36. package/dist/chunk-7CLHYU4Q.cjs.map +1 -0
  37. package/dist/{chunk-RYQ5NEKH.js → chunk-7MX7MGSA.js} +2 -2
  38. package/dist/{chunk-RYQ5NEKH.js.map → chunk-7MX7MGSA.js.map} +1 -1
  39. package/dist/chunk-7XWPUWSL.js +328 -0
  40. package/dist/chunk-7XWPUWSL.js.map +1 -0
  41. package/dist/{chunk-PEH4ZOEM.cjs → chunk-A2QVQF54.cjs} +12 -6
  42. package/dist/chunk-A2QVQF54.cjs.map +1 -0
  43. package/dist/{chunk-4AWW5WPF.js → chunk-ATALZYST.js} +51 -24
  44. package/dist/chunk-ATALZYST.js.map +1 -0
  45. package/dist/{chunk-HRA4FUO6.cjs → chunk-AUXHRAID.cjs} +71 -44
  46. package/dist/chunk-AUXHRAID.cjs.map +1 -0
  47. package/dist/{chunk-I7L6CQXR.cjs → chunk-AWUADXYI.cjs} +58 -31
  48. package/dist/chunk-AWUADXYI.cjs.map +1 -0
  49. package/dist/chunk-B43FRU5R.js +247 -0
  50. package/dist/chunk-B43FRU5R.js.map +1 -0
  51. package/dist/{chunk-XXOBTAKA.js → chunk-BBQZNIB4.js} +71 -44
  52. package/dist/chunk-BBQZNIB4.js.map +1 -0
  53. package/dist/{chunk-PEFJAWNR.cjs → chunk-BWYYA3LQ.cjs} +26 -10
  54. package/dist/chunk-BWYYA3LQ.cjs.map +1 -0
  55. package/dist/{chunk-WH6I7CMP.cjs → chunk-CW75IKA6.cjs} +27 -2
  56. package/dist/chunk-CW75IKA6.cjs.map +1 -0
  57. package/dist/{chunk-QSMMFATL.js → chunk-DCDXOT3A.js} +178 -127
  58. package/dist/chunk-DCDXOT3A.js.map +1 -0
  59. package/dist/{chunk-3NJ72QU6.js → chunk-DCER2QQB.js} +3 -2
  60. package/dist/chunk-DCER2QQB.js.map +1 -0
  61. package/dist/{chunk-AWIULTJW.js → chunk-DNPRRYPQ.js} +18 -3
  62. package/dist/chunk-DNPRRYPQ.js.map +1 -0
  63. package/dist/{chunk-NAATBUHR.cjs → chunk-EMMQPDOY.cjs} +43 -18
  64. package/dist/chunk-EMMQPDOY.cjs.map +1 -0
  65. package/dist/{chunk-GHRQ3ZJH.js → chunk-EUHPVNWD.js} +51 -12
  66. package/dist/chunk-EUHPVNWD.js.map +1 -0
  67. package/dist/{chunk-UZUBLXVC.js → chunk-FZJBFJJR.js} +3 -2
  68. package/dist/chunk-FZJBFJJR.js.map +1 -0
  69. package/dist/{chunk-SSKI6VTW.cjs → chunk-G7ZHQA4O.cjs} +2 -2
  70. package/dist/chunk-G7ZHQA4O.cjs.map +1 -0
  71. package/dist/{chunk-B3L43JGH.js → chunk-HEH3QXOQ.js} +26 -10
  72. package/dist/chunk-HEH3QXOQ.js.map +1 -0
  73. package/dist/{chunk-TA6FVVCM.js → chunk-I56VBDSC.js} +3 -3
  74. package/dist/{chunk-TA6FVVCM.js.map → chunk-I56VBDSC.js.map} +1 -1
  75. package/dist/{chunk-SWMRCGL4.cjs → chunk-IKMR2ADM.cjs} +5 -4
  76. package/dist/chunk-IKMR2ADM.cjs.map +1 -0
  77. package/dist/{chunk-53K3KWXQ.cjs → chunk-IMNLYVXJ.cjs} +166 -136
  78. package/dist/chunk-IMNLYVXJ.cjs.map +1 -0
  79. package/dist/{chunk-FFJVCQ5R.cjs → chunk-J644FU54.cjs} +49 -19
  80. package/dist/chunk-J644FU54.cjs.map +1 -0
  81. package/dist/{chunk-KWDTTGH2.js → chunk-JDI45GEY.js} +4 -4
  82. package/dist/{chunk-KWDTTGH2.js.map → chunk-JDI45GEY.js.map} +1 -1
  83. package/dist/{chunk-EF46XW4Z.cjs → chunk-JE4AH2TZ.cjs} +160 -66
  84. package/dist/chunk-JE4AH2TZ.cjs.map +1 -0
  85. package/dist/{chunk-VDMQCSXT.cjs → chunk-JHPFOG2N.cjs} +4 -4
  86. package/dist/{chunk-VDMQCSXT.cjs.map → chunk-JHPFOG2N.cjs.map} +1 -1
  87. package/dist/{chunk-5T3AWNHG.cjs → chunk-K7IGBNZA.cjs} +70 -39
  88. package/dist/chunk-K7IGBNZA.cjs.map +1 -0
  89. package/dist/chunk-LEMY57MI.js +3 -0
  90. package/dist/{chunk-Y22SOAJM.js.map → chunk-LEMY57MI.js.map} +1 -1
  91. package/dist/{chunk-EYH7OUX5.js → chunk-LUVSO5LK.js} +2 -2
  92. package/dist/chunk-LUVSO5LK.js.map +1 -0
  93. package/dist/chunk-LXHPW2ZF.cjs +353 -0
  94. package/dist/chunk-LXHPW2ZF.cjs.map +1 -0
  95. package/dist/chunk-MOULJE34.js +334 -0
  96. package/dist/chunk-MOULJE34.js.map +1 -0
  97. package/dist/{chunk-B26RIQ5R.js → chunk-MV3MTHWQ.js} +6 -2
  98. package/dist/chunk-MV3MTHWQ.js.map +1 -0
  99. package/dist/{chunk-AU5ADTYD.cjs → chunk-ND75VHB7.cjs} +49 -10
  100. package/dist/chunk-ND75VHB7.cjs.map +1 -0
  101. package/dist/{chunk-GV5JQBPX.js → chunk-NDHW3ZRF.js} +8 -4
  102. package/dist/chunk-NDHW3ZRF.js.map +1 -0
  103. package/dist/{chunk-QL2YTVTR.js → chunk-O43QBXRX.js} +7 -2
  104. package/dist/chunk-O43QBXRX.js.map +1 -0
  105. package/dist/{chunk-4T2ZNPTC.js → chunk-OJ64Q3A5.js} +104 -62
  106. package/dist/chunk-OJ64Q3A5.js.map +1 -0
  107. package/dist/{chunk-OT36EMM5.js → chunk-OKBR6PX4.js} +5 -4
  108. package/dist/chunk-OKBR6PX4.js.map +1 -0
  109. package/dist/{chunk-LZEY55QZ.cjs → chunk-OYKS2JBB.cjs} +18 -3
  110. package/dist/chunk-OYKS2JBB.cjs.map +1 -0
  111. package/dist/{chunk-ORUPC5TV.cjs → chunk-PLIK3DN6.cjs} +7 -4
  112. package/dist/chunk-PLIK3DN6.cjs.map +1 -0
  113. package/dist/{chunk-PF3XWKE5.cjs → chunk-QEAIFTUL.cjs} +26 -9
  114. package/dist/chunk-QEAIFTUL.cjs.map +1 -0
  115. package/dist/chunk-QMQE4PDD.cjs +615 -0
  116. package/dist/chunk-QMQE4PDD.cjs.map +1 -0
  117. package/dist/{chunk-XVZ4SLQB.js → chunk-QVJBUWJQ.js} +70 -39
  118. package/dist/chunk-QVJBUWJQ.js.map +1 -0
  119. package/dist/{chunk-XHJGYBYG.cjs → chunk-QXJMKJJV.cjs} +48 -31
  120. package/dist/chunk-QXJMKJJV.cjs.map +1 -0
  121. package/dist/{chunk-TPGT236K.js → chunk-RC2YMOMS.js} +26 -3
  122. package/dist/chunk-RC2YMOMS.js.map +1 -0
  123. package/dist/{chunk-BXK5TNJE.cjs → chunk-RH43XBNV.cjs} +3 -2
  124. package/dist/chunk-RH43XBNV.cjs.map +1 -0
  125. package/dist/{chunk-NIHESA7O.js → chunk-T4AO7KYK.js} +41 -31
  126. package/dist/chunk-T4AO7KYK.js.map +1 -0
  127. package/dist/chunk-TF5OZDFU.js +588 -0
  128. package/dist/chunk-TF5OZDFU.js.map +1 -0
  129. package/dist/{chunk-BV75DAKO.cjs → chunk-TSZRR2ZK.cjs} +104 -62
  130. package/dist/chunk-TSZRR2ZK.cjs.map +1 -0
  131. package/dist/{chunk-ONWOB76P.js → chunk-V2O636JO.js} +26 -9
  132. package/dist/chunk-V2O636JO.js.map +1 -0
  133. package/dist/{chunk-G2DOD34H.js → chunk-VKTQQOUH.js} +82 -36
  134. package/dist/chunk-VKTQQOUH.js.map +1 -0
  135. package/dist/{chunk-RRQGH7C5.cjs → chunk-VQW36LLX.cjs} +7 -2
  136. package/dist/chunk-VQW36LLX.cjs.map +1 -0
  137. package/dist/{chunk-IY7UQPDO.cjs → chunk-WGPMTW36.cjs} +6 -2
  138. package/dist/chunk-WGPMTW36.cjs.map +1 -0
  139. package/dist/{chunk-SOFX4T7M.js → chunk-WOYUQ4AT.js} +49 -19
  140. package/dist/chunk-WOYUQ4AT.js.map +1 -0
  141. package/dist/{chunk-SD44QJIP.js → chunk-WTDCNXZO.js} +58 -31
  142. package/dist/chunk-WTDCNXZO.js.map +1 -0
  143. package/dist/chunk-XHESCAUE.js +124 -0
  144. package/dist/chunk-XHESCAUE.js.map +1 -0
  145. package/dist/{chunk-QZLRB3UG.js → chunk-YN3ZIUYC.js} +166 -136
  146. package/dist/chunk-YN3ZIUYC.js.map +1 -0
  147. package/dist/{chunk-VZUVYJFU.cjs → chunk-YR365F2H.cjs} +16 -16
  148. package/dist/{chunk-VZUVYJFU.cjs.map → chunk-YR365F2H.cjs.map} +1 -1
  149. package/dist/{chunk-5UUL5EEO.cjs → chunk-Z2ABQA5Z.cjs} +178 -127
  150. package/dist/chunk-Z2ABQA5Z.cjs.map +1 -0
  151. package/dist/{chunk-JYMQJ32S.cjs → chunk-Z4HZ35KX.cjs} +8 -4
  152. package/dist/chunk-Z4HZ35KX.cjs.map +1 -0
  153. package/dist/{chunk-INFSKLXE.cjs → chunk-ZAHQU7PQ.cjs} +51 -12
  154. package/dist/chunk-ZAHQU7PQ.cjs.map +1 -0
  155. package/dist/{chunk-QYJ7RQJ2.cjs → chunk-ZGSPFVGL.cjs} +82 -36
  156. package/dist/chunk-ZGSPFVGL.cjs.map +1 -0
  157. package/dist/{chunk-VBHPXSCV.js → chunk-ZVSW2KS6.js} +12 -6
  158. package/dist/chunk-ZVSW2KS6.js.map +1 -0
  159. package/dist/components/Alert/index.cjs +5 -5
  160. package/dist/components/Alert/index.js +1 -1
  161. package/dist/components/AudioPlayer/index.cjs +6 -6
  162. package/dist/components/AudioPlayer/index.js +1 -1
  163. package/dist/components/AudioRecorder/index.cjs +6 -6
  164. package/dist/components/AudioRecorder/index.js +1 -1
  165. package/dist/components/Avatar/index.cjs +5 -5
  166. package/dist/components/Avatar/index.js +1 -1
  167. package/dist/components/Badge/index.cjs +3 -3
  168. package/dist/components/Badge/index.js +1 -1
  169. package/dist/components/Breadcrumb/index.cjs +3 -3
  170. package/dist/components/Breadcrumb/index.js +1 -1
  171. package/dist/components/Button/index.cjs +3 -3
  172. package/dist/components/Button/index.js +1 -1
  173. package/dist/components/Card/index.cjs +15 -15
  174. package/dist/components/Card/index.js +1 -1
  175. package/dist/components/Checkbox/index.cjs +4 -4
  176. package/dist/components/Checkbox/index.js +1 -1
  177. package/dist/components/CountryCodeDropdown/index.cjs +23 -0
  178. package/dist/components/CountryCodeDropdown/index.cjs.map +1 -0
  179. package/dist/components/CountryCodeDropdown/index.d.cts +69 -0
  180. package/dist/components/CountryCodeDropdown/index.d.ts +69 -0
  181. package/dist/components/CountryCodeDropdown/index.js +6 -0
  182. package/dist/components/CountryCodeDropdown/index.js.map +1 -0
  183. package/dist/components/DateInput/index.cjs +4 -4
  184. package/dist/components/DateInput/index.js +3 -3
  185. package/dist/components/Dropdown/index.cjs +9 -8
  186. package/dist/components/Dropdown/index.d.cts +29 -1
  187. package/dist/components/Dropdown/index.d.ts +29 -1
  188. package/dist/components/Dropdown/index.js +3 -2
  189. package/dist/components/Input/index.cjs +3 -3
  190. package/dist/components/Input/index.js +1 -1
  191. package/dist/components/Modal/index.cjs +9 -9
  192. package/dist/components/Modal/index.js +1 -1
  193. package/dist/components/Pagination/index.cjs +4 -4
  194. package/dist/components/Pagination/index.js +1 -1
  195. package/dist/components/PhoneInput/index.cjs +4 -4
  196. package/dist/components/PhoneInput/index.js +2 -2
  197. package/dist/components/Progress/index.cjs +6 -6
  198. package/dist/components/Progress/index.js +1 -1
  199. package/dist/components/QuickAction/index.cjs +6 -6
  200. package/dist/components/QuickAction/index.js +1 -1
  201. package/dist/components/Radio/index.cjs +4 -4
  202. package/dist/components/Radio/index.js +1 -1
  203. package/dist/components/RecordButton/index.cjs +4 -4
  204. package/dist/components/RecordButton/index.js +1 -1
  205. package/dist/components/SchedulePicker/index.cjs +10 -10
  206. package/dist/components/SchedulePicker/index.js +1 -1
  207. package/dist/components/Select/index.cjs +3 -3
  208. package/dist/components/Select/index.js +1 -1
  209. package/dist/components/Skeleton/index.cjs +6 -6
  210. package/dist/components/Skeleton/index.d.cts +1 -1
  211. package/dist/components/Skeleton/index.d.ts +1 -1
  212. package/dist/components/Skeleton/index.js +1 -1
  213. package/dist/components/Slider/index.cjs +5 -5
  214. package/dist/components/Slider/index.js +1 -1
  215. package/dist/components/Spinner/index.cjs +5 -5
  216. package/dist/components/Spinner/index.js +1 -1
  217. package/dist/components/Switch/index.cjs +4 -4
  218. package/dist/components/Switch/index.js +1 -1
  219. package/dist/components/Table/index.cjs +9 -9
  220. package/dist/components/Table/index.js +1 -1
  221. package/dist/components/Tabs/index.cjs +7 -7
  222. package/dist/components/Tabs/index.js +1 -1
  223. package/dist/components/Textarea/index.cjs +3 -3
  224. package/dist/components/Textarea/index.js +1 -1
  225. package/dist/components/ThemeProvider/index.cjs +8 -8
  226. package/dist/components/ThemeProvider/index.js +2 -2
  227. package/dist/components/Tooltip/index.cjs +2 -2
  228. package/dist/components/Tooltip/index.js +1 -1
  229. package/dist/datavis.cjs +251 -0
  230. package/dist/datavis.cjs.map +1 -0
  231. package/dist/datavis.d.cts +47 -0
  232. package/dist/datavis.d.ts +47 -0
  233. package/dist/datavis.js +247 -0
  234. package/dist/datavis.js.map +1 -0
  235. package/dist/hooks/index.cjs +2 -2
  236. package/dist/hooks/index.d.cts +2 -2
  237. package/dist/hooks/index.d.ts +2 -2
  238. package/dist/hooks/index.js +1 -1
  239. package/dist/index.cjs +12815 -8821
  240. package/dist/index.cjs.map +1 -1
  241. package/dist/index.d.cts +43 -49
  242. package/dist/index.d.ts +43 -49
  243. package/dist/index.js +12183 -8208
  244. package/dist/index.js.map +1 -1
  245. package/dist/styles/init.css +326 -0
  246. package/dist/styles.css +1 -1
  247. package/dist/tailwind-preset.cjs +4 -4
  248. package/dist/tailwind-preset.d.cts +13 -2
  249. package/dist/tailwind-preset.d.ts +13 -2
  250. package/dist/tailwind-preset.js +1 -1
  251. package/dist/utils/index.cjs +30 -22
  252. package/dist/utils/index.d.cts +12 -1
  253. package/dist/utils/index.d.ts +12 -1
  254. package/dist/utils/index.js +1 -1
  255. package/package.json +24 -3
  256. package/dist/chunk-265CFCCX.js +0 -173
  257. package/dist/chunk-265CFCCX.js.map +0 -1
  258. package/dist/chunk-2J2V4TMJ.cjs.map +0 -1
  259. package/dist/chunk-3NJ72QU6.js.map +0 -1
  260. package/dist/chunk-4AWW5WPF.js.map +0 -1
  261. package/dist/chunk-4MHTSFPX.js.map +0 -1
  262. package/dist/chunk-4T2ZNPTC.js.map +0 -1
  263. package/dist/chunk-4YRAEFYW.js +0 -233
  264. package/dist/chunk-4YRAEFYW.js.map +0 -1
  265. package/dist/chunk-53K3KWXQ.cjs.map +0 -1
  266. package/dist/chunk-5T3AWNHG.cjs.map +0 -1
  267. package/dist/chunk-5UUL5EEO.cjs.map +0 -1
  268. package/dist/chunk-6OCIIIAI.js.map +0 -1
  269. package/dist/chunk-6Q4SU72T.js.map +0 -1
  270. package/dist/chunk-AU5ADTYD.cjs.map +0 -1
  271. package/dist/chunk-AWIULTJW.js.map +0 -1
  272. package/dist/chunk-B26RIQ5R.js.map +0 -1
  273. package/dist/chunk-B3L43JGH.js.map +0 -1
  274. package/dist/chunk-B7YGVKTE.cjs.map +0 -1
  275. package/dist/chunk-BV75DAKO.cjs.map +0 -1
  276. package/dist/chunk-BXK5TNJE.cjs.map +0 -1
  277. package/dist/chunk-CQCYXHCU.cjs +0 -256
  278. package/dist/chunk-CQCYXHCU.cjs.map +0 -1
  279. package/dist/chunk-DMA74PZ7.js +0 -240
  280. package/dist/chunk-DMA74PZ7.js.map +0 -1
  281. package/dist/chunk-EF46XW4Z.cjs.map +0 -1
  282. package/dist/chunk-EKIQE524.cjs.map +0 -1
  283. package/dist/chunk-EYH7OUX5.js.map +0 -1
  284. package/dist/chunk-FFJVCQ5R.cjs.map +0 -1
  285. package/dist/chunk-FIXAVBUA.cjs +0 -200
  286. package/dist/chunk-FIXAVBUA.cjs.map +0 -1
  287. package/dist/chunk-G2DOD34H.js.map +0 -1
  288. package/dist/chunk-GHRQ3ZJH.js.map +0 -1
  289. package/dist/chunk-GV5JQBPX.js.map +0 -1
  290. package/dist/chunk-HRA4FUO6.cjs.map +0 -1
  291. package/dist/chunk-I7L6CQXR.cjs.map +0 -1
  292. package/dist/chunk-INFSKLXE.cjs.map +0 -1
  293. package/dist/chunk-IY7UQPDO.cjs.map +0 -1
  294. package/dist/chunk-JFAXLE2J.js.map +0 -1
  295. package/dist/chunk-JYMQJ32S.cjs.map +0 -1
  296. package/dist/chunk-LZEY55QZ.cjs.map +0 -1
  297. package/dist/chunk-N3QTYHRZ.cjs.map +0 -1
  298. package/dist/chunk-NAATBUHR.cjs.map +0 -1
  299. package/dist/chunk-NIHESA7O.js.map +0 -1
  300. package/dist/chunk-NXRLGHEC.js +0 -98
  301. package/dist/chunk-NXRLGHEC.js.map +0 -1
  302. package/dist/chunk-ONWOB76P.js.map +0 -1
  303. package/dist/chunk-ORUPC5TV.cjs.map +0 -1
  304. package/dist/chunk-OT36EMM5.js.map +0 -1
  305. package/dist/chunk-OW2BWGST.js.map +0 -1
  306. package/dist/chunk-PEFJAWNR.cjs.map +0 -1
  307. package/dist/chunk-PEH4ZOEM.cjs.map +0 -1
  308. package/dist/chunk-PF3XWKE5.cjs.map +0 -1
  309. package/dist/chunk-QL2YTVTR.js.map +0 -1
  310. package/dist/chunk-QSMMFATL.js.map +0 -1
  311. package/dist/chunk-QYJ7RQJ2.cjs.map +0 -1
  312. package/dist/chunk-QZLRB3UG.js.map +0 -1
  313. package/dist/chunk-RRQGH7C5.cjs.map +0 -1
  314. package/dist/chunk-SD44QJIP.js.map +0 -1
  315. package/dist/chunk-SOFX4T7M.js.map +0 -1
  316. package/dist/chunk-SSKI6VTW.cjs.map +0 -1
  317. package/dist/chunk-SWMRCGL4.cjs.map +0 -1
  318. package/dist/chunk-TPGT236K.js.map +0 -1
  319. package/dist/chunk-UZUBLXVC.js.map +0 -1
  320. package/dist/chunk-VBHPXSCV.js.map +0 -1
  321. package/dist/chunk-VV4N4WY6.cjs.map +0 -1
  322. package/dist/chunk-WH6I7CMP.cjs.map +0 -1
  323. package/dist/chunk-XHJGYBYG.cjs.map +0 -1
  324. package/dist/chunk-XVZ4SLQB.js.map +0 -1
  325. package/dist/chunk-XXOBTAKA.js.map +0 -1
  326. package/dist/chunk-Y22SOAJM.js +0 -3
@@ -0,0 +1,615 @@
1
+ 'use strict';
2
+
3
+ var chunk3XK5GENF_cjs = require('./chunk-3XK5GENF.cjs');
4
+ var chunkIKMR2ADM_cjs = require('./chunk-IKMR2ADM.cjs');
5
+ var chunkFHY3K6PL_cjs = require('./chunk-FHY3K6PL.cjs');
6
+ var chunkOR5DRJCW_cjs = require('./chunk-OR5DRJCW.cjs');
7
+ var React = require('react');
8
+ var jsxRuntime = require('react/jsx-runtime');
9
+
10
+ function _interopNamespace(e) {
11
+ if (e && e.__esModule) return e;
12
+ var n = Object.create(null);
13
+ if (e) {
14
+ Object.keys(e).forEach(function (k) {
15
+ if (k !== 'default') {
16
+ var d = Object.getOwnPropertyDescriptor(e, k);
17
+ Object.defineProperty(n, k, d.get ? d : {
18
+ enumerable: true,
19
+ get: function () { return e[k]; }
20
+ });
21
+ }
22
+ });
23
+ }
24
+ n.default = e;
25
+ return Object.freeze(n);
26
+ }
27
+
28
+ var React__namespace = /*#__PURE__*/_interopNamespace(React);
29
+
30
+ var placementStyles = {
31
+ "bottom-start": "top-full left-0 mt-2",
32
+ "bottom-end": "top-full right-0 mt-2",
33
+ bottom: "top-full left-1/2 -translate-x-1/2 mt-2"
34
+ };
35
+ var DropdownContext = React__namespace.createContext(null);
36
+ function getNodeText(node) {
37
+ if (typeof node === "string" || typeof node === "number") {
38
+ return String(node);
39
+ }
40
+ if (Array.isArray(node)) {
41
+ return node.map(getNodeText).join(" ");
42
+ }
43
+ if (React__namespace.isValidElement(node)) {
44
+ return getNodeText(node.props.children);
45
+ }
46
+ return "";
47
+ }
48
+ function isDropdownElement(node, component) {
49
+ return React__namespace.isValidElement(node) && node.type === component;
50
+ }
51
+ function hasVisibleDropdownContent(node) {
52
+ if (node == null || typeof node === "boolean") {
53
+ return false;
54
+ }
55
+ if (Array.isArray(node)) {
56
+ return node.some(hasVisibleDropdownContent);
57
+ }
58
+ if (!React__namespace.isValidElement(node)) {
59
+ if (typeof node === "string") {
60
+ return node.trim().length > 0;
61
+ }
62
+ return true;
63
+ }
64
+ if (node.type === React__namespace.Fragment) {
65
+ return React__namespace.Children.toArray(node.props.children).some(
66
+ hasVisibleDropdownContent
67
+ );
68
+ }
69
+ if (node.type === DropdownSeparator || node.type === DropdownLabel || node.type === DropdownHeader) {
70
+ return false;
71
+ }
72
+ if (node.type === DropdownContent) {
73
+ return React__namespace.Children.toArray(node.props.children).some(
74
+ hasVisibleDropdownContent
75
+ );
76
+ }
77
+ return true;
78
+ }
79
+ function normalizeDropdownSiblings(children) {
80
+ const hasContentBefore = (index) => {
81
+ for (let current = index - 1; current >= 0; current -= 1) {
82
+ const child = children[current];
83
+ if (isDropdownElement(child, DropdownSeparator)) {
84
+ return false;
85
+ }
86
+ if (hasVisibleDropdownContent(child)) {
87
+ return true;
88
+ }
89
+ }
90
+ return false;
91
+ };
92
+ const hasContentAfter = (index) => {
93
+ for (let current = index + 1; current < children.length; current += 1) {
94
+ const child = children[current];
95
+ if (isDropdownElement(child, DropdownSeparator)) {
96
+ return false;
97
+ }
98
+ if (hasVisibleDropdownContent(child)) {
99
+ return true;
100
+ }
101
+ }
102
+ return false;
103
+ };
104
+ return children.filter((child, index) => {
105
+ if (isDropdownElement(child, DropdownSeparator)) {
106
+ return hasContentBefore(index) && hasContentAfter(index);
107
+ }
108
+ if (isDropdownElement(child, DropdownLabel)) {
109
+ return hasContentAfter(index);
110
+ }
111
+ return true;
112
+ });
113
+ }
114
+ function filterDropdownChildren(children, query) {
115
+ const normalizedQuery = query.trim().toLowerCase();
116
+ if (!normalizedQuery) {
117
+ return React__namespace.Children.toArray(children);
118
+ }
119
+ const filteredChildren = React__namespace.Children.toArray(children).map((child) => {
120
+ if (!React__namespace.isValidElement(child)) {
121
+ if (typeof child === "string" || typeof child === "number") {
122
+ return String(child).toLowerCase().includes(normalizedQuery) ? child : null;
123
+ }
124
+ return null;
125
+ }
126
+ if (child.type === React__namespace.Fragment) {
127
+ const fragmentChildren = filterDropdownChildren(
128
+ child.props.children,
129
+ normalizedQuery
130
+ );
131
+ return fragmentChildren.length > 0 ? React__namespace.cloneElement(child, void 0, fragmentChildren) : null;
132
+ }
133
+ if (isDropdownElement(child, DropdownHeader)) {
134
+ return child;
135
+ }
136
+ if (isDropdownElement(child, DropdownItem)) {
137
+ const searchText = [
138
+ getNodeText(child.props.children),
139
+ child.props.searchText
140
+ ].filter(Boolean).join(" ").toLowerCase();
141
+ return searchText.includes(normalizedQuery) ? child : null;
142
+ }
143
+ if (isDropdownElement(child, DropdownContent)) {
144
+ const contentChildren = filterDropdownChildren(
145
+ child.props.children,
146
+ normalizedQuery
147
+ );
148
+ return hasVisibleDropdownContent(contentChildren) ? React__namespace.cloneElement(child, void 0, contentChildren) : null;
149
+ }
150
+ if (isDropdownElement(child, DropdownSeparator)) {
151
+ return child;
152
+ }
153
+ if (isDropdownElement(child, DropdownLabel)) {
154
+ return child;
155
+ }
156
+ const nestedChildren = child.props.children;
157
+ if (nestedChildren === void 0) {
158
+ return child;
159
+ }
160
+ const filteredNestedChildren = filterDropdownChildren(
161
+ nestedChildren,
162
+ normalizedQuery
163
+ );
164
+ return filteredNestedChildren.length > 0 ? React__namespace.cloneElement(child, void 0, filteredNestedChildren) : null;
165
+ }).filter((child) => child !== null);
166
+ return normalizeDropdownSiblings(filteredChildren);
167
+ }
168
+ function getSelectableValues(children) {
169
+ return React__namespace.Children.toArray(children).flatMap((child) => {
170
+ if (!React__namespace.isValidElement(
171
+ child
172
+ )) {
173
+ return [];
174
+ }
175
+ if (child.type === React__namespace.Fragment || child.type === DropdownContent) {
176
+ return getSelectableValues(child.props.children);
177
+ }
178
+ if (isDropdownElement(child, DropdownItem)) {
179
+ return typeof child.props.value === "string" ? [child.props.value] : [];
180
+ }
181
+ return child.props.children !== void 0 ? getSelectableValues(child.props.children) : [];
182
+ });
183
+ }
184
+ function Dropdown({
185
+ trigger,
186
+ children,
187
+ open: controlledOpen,
188
+ onOpenChange,
189
+ placement = "bottom-start",
190
+ className,
191
+ width = "auto",
192
+ disabled = false,
193
+ searchable = false,
194
+ searchPlaceholder = "Search...",
195
+ searchAriaLabel = "Search dropdown items",
196
+ searchEmptyState = "No results found",
197
+ multiSelect = false,
198
+ selectedValues: controlledSelectedValues,
199
+ defaultSelectedValues = [],
200
+ onSelectedValuesChange,
201
+ showSelectAll = false,
202
+ selectAllLabel = "Select all"
203
+ }) {
204
+ const [uncontrolledOpen, setUncontrolledOpen] = React__namespace.useState(false);
205
+ const [uncontrolledSelectedValues, setUncontrolledSelectedValues] = React__namespace.useState(defaultSelectedValues);
206
+ const [searchQuery, setSearchQuery] = React__namespace.useState("");
207
+ const containerRef = React__namespace.useRef(null);
208
+ const searchInputRef = React__namespace.useRef(null);
209
+ const menuId = React__namespace.useId();
210
+ const isControlled = controlledOpen !== void 0;
211
+ const isSelectedValuesControlled = controlledSelectedValues !== void 0;
212
+ const isOpen = isControlled ? controlledOpen : uncontrolledOpen;
213
+ const selectedValues = isSelectedValuesControlled ? controlledSelectedValues : uncontrolledSelectedValues;
214
+ const setOpen = React__namespace.useCallback(
215
+ (value) => {
216
+ if (!isControlled) {
217
+ setUncontrolledOpen(value);
218
+ }
219
+ onOpenChange?.(value);
220
+ },
221
+ [isControlled, onOpenChange]
222
+ );
223
+ const handleToggle = React__namespace.useCallback(() => {
224
+ if (!disabled) {
225
+ setOpen(!isOpen);
226
+ }
227
+ }, [disabled, isOpen, setOpen]);
228
+ const handleClose = React__namespace.useCallback(() => {
229
+ setOpen(false);
230
+ }, [setOpen]);
231
+ const setSelectedValues = React__namespace.useCallback(
232
+ (values) => {
233
+ if (!isSelectedValuesControlled) {
234
+ setUncontrolledSelectedValues(values);
235
+ }
236
+ onSelectedValuesChange?.(values);
237
+ },
238
+ [isSelectedValuesControlled, onSelectedValuesChange]
239
+ );
240
+ const toggleSelectedValue = React__namespace.useCallback(
241
+ (value) => {
242
+ if (!multiSelect) {
243
+ return;
244
+ }
245
+ setSelectedValues(
246
+ selectedValues.includes(value) ? selectedValues.filter((selectedValue) => selectedValue !== value) : [...selectedValues, value]
247
+ );
248
+ },
249
+ [multiSelect, selectedValues, setSelectedValues]
250
+ );
251
+ const dropdownContext = React__namespace.useMemo(
252
+ () => ({
253
+ multiSelect,
254
+ selectedValues,
255
+ toggleSelectedValue
256
+ }),
257
+ [multiSelect, selectedValues, toggleSelectedValue]
258
+ );
259
+ chunkIKMR2ADM_cjs.useClickOutside(containerRef, handleClose, isOpen);
260
+ chunkFHY3K6PL_cjs.useEscapeKey(handleClose, isOpen);
261
+ React__namespace.useEffect(() => {
262
+ if (!isOpen) {
263
+ setSearchQuery("");
264
+ return;
265
+ }
266
+ if (searchable) {
267
+ requestAnimationFrame(() => searchInputRef.current?.focus());
268
+ }
269
+ }, [isOpen, searchable]);
270
+ const triggerElement = React__namespace.cloneElement(trigger, {
271
+ onClick: handleToggle,
272
+ "aria-haspopup": "menu",
273
+ "aria-expanded": isOpen,
274
+ "aria-controls": isOpen ? menuId : void 0,
275
+ disabled: disabled || trigger.props.disabled
276
+ });
277
+ const widthStyle = typeof width === "number" ? { width: `${width}px` } : width === "trigger" ? { minWidth: "100%" } : {};
278
+ const filteredChildren = React__namespace.useMemo(
279
+ () => filterDropdownChildren(children, searchQuery),
280
+ [children, searchQuery]
281
+ );
282
+ const visibleSelectableValues = React__namespace.useMemo(
283
+ () => getSelectableValues(searchable ? filteredChildren : children),
284
+ [children, filteredChildren, searchable]
285
+ );
286
+ const hasSearchResults = React__namespace.useMemo(
287
+ () => hasVisibleDropdownContent(filteredChildren),
288
+ [filteredChildren]
289
+ );
290
+ const allVisibleSelected = visibleSelectableValues.length > 0 && visibleSelectableValues.every((value) => selectedValues.includes(value));
291
+ const someVisibleSelected = visibleSelectableValues.some(
292
+ (value) => selectedValues.includes(value)
293
+ );
294
+ const handleSelectAll = React__namespace.useCallback(() => {
295
+ if (!multiSelect || visibleSelectableValues.length === 0) {
296
+ return;
297
+ }
298
+ const visibleValueSet = new Set(visibleSelectableValues);
299
+ setSelectedValues(
300
+ allVisibleSelected ? selectedValues.filter((value) => !visibleValueSet.has(value)) : Array.from(/* @__PURE__ */ new Set([...selectedValues, ...visibleSelectableValues]))
301
+ );
302
+ }, [
303
+ allVisibleSelected,
304
+ multiSelect,
305
+ selectedValues,
306
+ setSelectedValues,
307
+ visibleSelectableValues
308
+ ]);
309
+ return /* @__PURE__ */ jsxRuntime.jsx(DropdownContext.Provider, { value: dropdownContext, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: containerRef, className: "relative inline-flex", children: [
310
+ triggerElement,
311
+ isOpen && /* @__PURE__ */ jsxRuntime.jsxs(
312
+ "div",
313
+ {
314
+ style: widthStyle,
315
+ "data-slot": "dropdown-menu",
316
+ className: chunkOR5DRJCW_cjs.cn(
317
+ "absolute z-50 min-w-[12rem]",
318
+ "rounded-xl border border-neutral-200 bg-white shadow-lg",
319
+ "dark:border-neutral-700 dark:bg-neutral-800",
320
+ "animate-in fade-in zoom-in-95 duration-100",
321
+ placementStyles[placement],
322
+ className
323
+ ),
324
+ children: [
325
+ searchable && /* @__PURE__ */ jsxRuntime.jsx(
326
+ "div",
327
+ {
328
+ className: "border-b border-neutral-200 p-2 dark:border-neutral-700",
329
+ "data-slot": "dropdown-search",
330
+ children: /* @__PURE__ */ jsxRuntime.jsx(
331
+ "input",
332
+ {
333
+ ref: searchInputRef,
334
+ type: "search",
335
+ value: searchQuery,
336
+ onChange: (event) => setSearchQuery(event.target.value),
337
+ placeholder: searchPlaceholder,
338
+ "aria-label": searchAriaLabel,
339
+ "aria-controls": menuId,
340
+ "aria-autocomplete": "list",
341
+ "data-slot": "dropdown-search-input",
342
+ className: chunkOR5DRJCW_cjs.cn(
343
+ chunk3XK5GENF_cjs.inputVariants({ size: "sm" }),
344
+ "text-sm",
345
+ "dark:border-neutral-600 dark:bg-neutral-700 dark:text-neutral-100"
346
+ )
347
+ }
348
+ )
349
+ }
350
+ ),
351
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { id: menuId, role: "menu", children: [
352
+ multiSelect && showSelectAll && visibleSelectableValues.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs(jsxRuntime.Fragment, { children: [
353
+ /* @__PURE__ */ jsxRuntime.jsx("div", { className: "p-2", "data-slot": "dropdown-select-all", children: /* @__PURE__ */ jsxRuntime.jsx(
354
+ DropdownItem,
355
+ {
356
+ checked: allVisibleSelected,
357
+ indeterminate: !allVisibleSelected && someVisibleSelected,
358
+ onClick: handleSelectAll,
359
+ children: selectAllLabel
360
+ }
361
+ ) }),
362
+ /* @__PURE__ */ jsxRuntime.jsx(DropdownSeparator, {})
363
+ ] }),
364
+ searchable ? hasSearchResults ? filteredChildren : /* @__PURE__ */ jsxRuntime.jsx(
365
+ "div",
366
+ {
367
+ className: "px-3 py-4 text-center text-sm text-neutral-500 dark:text-neutral-400",
368
+ "data-slot": "dropdown-empty",
369
+ children: searchEmptyState
370
+ }
371
+ ) : children
372
+ ] })
373
+ ]
374
+ }
375
+ )
376
+ ] }) });
377
+ }
378
+ Dropdown.displayName = "Dropdown";
379
+ var DropdownHeader = React__namespace.forwardRef(
380
+ ({ className, avatar, title, subtitle, children, ...props }, ref) => {
381
+ return /* @__PURE__ */ jsxRuntime.jsxs(
382
+ "div",
383
+ {
384
+ ref,
385
+ "data-slot": "dropdown-header",
386
+ className: chunkOR5DRJCW_cjs.cn(
387
+ "border-b border-neutral-200 p-4 dark:border-neutral-700",
388
+ className
389
+ ),
390
+ ...props,
391
+ children: [
392
+ /* @__PURE__ */ jsxRuntime.jsxs(
393
+ "div",
394
+ {
395
+ className: "flex items-center gap-3",
396
+ "data-slot": "dropdown-header-row",
397
+ children: [
398
+ avatar,
399
+ /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
400
+ /* @__PURE__ */ jsxRuntime.jsx(
401
+ "p",
402
+ {
403
+ className: "truncate text-sm font-semibold text-neutral-900 dark:text-white",
404
+ "data-slot": "dropdown-header-title",
405
+ children: title
406
+ }
407
+ ),
408
+ subtitle && /* @__PURE__ */ jsxRuntime.jsx(
409
+ "p",
410
+ {
411
+ className: "truncate text-xs text-neutral-500 dark:text-neutral-400",
412
+ "data-slot": "dropdown-header-subtitle",
413
+ children: subtitle
414
+ }
415
+ )
416
+ ] })
417
+ ]
418
+ }
419
+ ),
420
+ children
421
+ ]
422
+ }
423
+ );
424
+ }
425
+ );
426
+ DropdownHeader.displayName = "DropdownHeader";
427
+ var DropdownContent = React__namespace.forwardRef(
428
+ ({ className, ...props }, ref) => {
429
+ return /* @__PURE__ */ jsxRuntime.jsx(
430
+ "div",
431
+ {
432
+ ref,
433
+ "data-slot": "dropdown-content",
434
+ className: chunkOR5DRJCW_cjs.cn("p-2", className),
435
+ ...props
436
+ }
437
+ );
438
+ }
439
+ );
440
+ DropdownContent.displayName = "DropdownContent";
441
+ function DropdownItemCheckbox({
442
+ checked,
443
+ indeterminate = false
444
+ }) {
445
+ return /* @__PURE__ */ jsxRuntime.jsx(
446
+ "span",
447
+ {
448
+ "aria-hidden": "true",
449
+ "data-slot": "dropdown-checkbox",
450
+ className: chunkOR5DRJCW_cjs.cn(
451
+ "flex h-4 w-4 shrink-0 items-center justify-center rounded border-2 transition-colors duration-150",
452
+ checked || indeterminate ? "border-primary-500 bg-primary-500 text-white" : "border-input bg-background text-transparent"
453
+ ),
454
+ children: indeterminate ? /* @__PURE__ */ jsxRuntime.jsx(
455
+ "svg",
456
+ {
457
+ className: "h-3 w-3",
458
+ xmlns: "http://www.w3.org/2000/svg",
459
+ viewBox: "0 0 16 16",
460
+ fill: "none",
461
+ children: /* @__PURE__ */ jsxRuntime.jsx(
462
+ "path",
463
+ {
464
+ d: "M4 8h8",
465
+ stroke: "currentColor",
466
+ strokeWidth: "2",
467
+ strokeLinecap: "round"
468
+ }
469
+ )
470
+ }
471
+ ) : /* @__PURE__ */ jsxRuntime.jsx(
472
+ "svg",
473
+ {
474
+ className: "h-3 w-3",
475
+ xmlns: "http://www.w3.org/2000/svg",
476
+ viewBox: "0 0 16 16",
477
+ fill: "none",
478
+ children: /* @__PURE__ */ jsxRuntime.jsx(
479
+ "path",
480
+ {
481
+ d: "M3.5 8.5 6.5 11.5 12.5 4.5",
482
+ stroke: "currentColor",
483
+ strokeWidth: "2",
484
+ strokeLinecap: "round",
485
+ strokeLinejoin: "round"
486
+ }
487
+ )
488
+ }
489
+ )
490
+ }
491
+ );
492
+ }
493
+ var DropdownItem = React__namespace.forwardRef(
494
+ ({
495
+ className,
496
+ icon,
497
+ variant = "default",
498
+ children,
499
+ searchText,
500
+ checked,
501
+ indeterminate = false,
502
+ onCheckedChange,
503
+ onClick,
504
+ value,
505
+ disabled,
506
+ ...props
507
+ }, ref) => {
508
+ const dropdownContext = React__namespace.useContext(DropdownContext);
509
+ const itemValue = typeof value === "string" ? value : void 0;
510
+ const contextSelectedValues = dropdownContext?.selectedValues ?? [];
511
+ const isMultiSelectItem = dropdownContext?.multiSelect === true && itemValue !== void 0 || checked !== void 0 || indeterminate;
512
+ const isChecked = checked ?? (isMultiSelectItem ? itemValue !== void 0 && contextSelectedValues.includes(itemValue) : false);
513
+ const handleClick = React__namespace.useCallback(
514
+ (event) => {
515
+ if (dropdownContext && isMultiSelectItem && itemValue !== void 0 && !disabled) {
516
+ dropdownContext.toggleSelectedValue(itemValue);
517
+ onCheckedChange?.(!isChecked);
518
+ }
519
+ onClick?.(event);
520
+ },
521
+ [
522
+ disabled,
523
+ dropdownContext,
524
+ isChecked,
525
+ isMultiSelectItem,
526
+ itemValue,
527
+ onCheckedChange,
528
+ onClick
529
+ ]
530
+ );
531
+ return /* @__PURE__ */ jsxRuntime.jsxs(
532
+ "button",
533
+ {
534
+ ref,
535
+ type: "button",
536
+ role: isMultiSelectItem ? "menuitemcheckbox" : "menuitem",
537
+ "aria-checked": isMultiSelectItem ? indeterminate ? "mixed" : isChecked : void 0,
538
+ disabled,
539
+ "data-slot": "dropdown-item",
540
+ className: chunkOR5DRJCW_cjs.cn(
541
+ "flex w-full items-center gap-3 rounded-lg px-3 py-2 text-left text-sm",
542
+ "transition-colors duration-150",
543
+ "focus:outline-none",
544
+ variant === "default" && [
545
+ "text-neutral-700 dark:text-neutral-300",
546
+ "hover:bg-neutral-100 dark:hover:bg-neutral-700",
547
+ "focus:bg-neutral-100 dark:focus:bg-neutral-700"
548
+ ],
549
+ variant === "danger" && [
550
+ "text-red-600 dark:text-red-400",
551
+ "hover:bg-red-50 dark:hover:bg-red-900/20",
552
+ "focus:bg-red-50 dark:focus:bg-red-900/20"
553
+ ],
554
+ className
555
+ ),
556
+ "data-search-text": searchText,
557
+ onClick: handleClick,
558
+ value,
559
+ ...props,
560
+ children: [
561
+ isMultiSelectItem && /* @__PURE__ */ jsxRuntime.jsx(
562
+ DropdownItemCheckbox,
563
+ {
564
+ checked: isChecked,
565
+ indeterminate
566
+ }
567
+ ),
568
+ icon && /* @__PURE__ */ jsxRuntime.jsx("span", { className: "h-4 w-4 shrink-0", "data-slot": "dropdown-item-icon", children: icon }),
569
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "font-medium", "data-slot": "dropdown-item-label", children })
570
+ ]
571
+ }
572
+ );
573
+ }
574
+ );
575
+ DropdownItem.displayName = "DropdownItem";
576
+ function DropdownSeparator({ className }) {
577
+ return /* @__PURE__ */ jsxRuntime.jsx(
578
+ "hr",
579
+ {
580
+ "data-slot": "dropdown-separator",
581
+ className: chunkOR5DRJCW_cjs.cn(
582
+ "border-t border-neutral-200 dark:border-neutral-700",
583
+ className
584
+ )
585
+ }
586
+ );
587
+ }
588
+ DropdownSeparator.displayName = "DropdownSeparator";
589
+ function DropdownLabel({
590
+ className,
591
+ children
592
+ }) {
593
+ return /* @__PURE__ */ jsxRuntime.jsx(
594
+ "div",
595
+ {
596
+ "data-slot": "dropdown-label",
597
+ className: chunkOR5DRJCW_cjs.cn(
598
+ "px-3 py-1.5 text-xs font-semibold tracking-wider uppercase",
599
+ "text-neutral-500 dark:text-neutral-400",
600
+ className
601
+ ),
602
+ children
603
+ }
604
+ );
605
+ }
606
+ DropdownLabel.displayName = "DropdownLabel";
607
+
608
+ exports.Dropdown = Dropdown;
609
+ exports.DropdownContent = DropdownContent;
610
+ exports.DropdownHeader = DropdownHeader;
611
+ exports.DropdownItem = DropdownItem;
612
+ exports.DropdownLabel = DropdownLabel;
613
+ exports.DropdownSeparator = DropdownSeparator;
614
+ //# sourceMappingURL=chunk-QMQE4PDD.cjs.map
615
+ //# sourceMappingURL=chunk-QMQE4PDD.cjs.map