ivt 0.6.3 → 0.6.5

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 (238) hide show
  1. package/dist/accordion/index.mjs +15 -15
  2. package/dist/accordion-table/index.mjs +27 -27
  3. package/dist/alert/index.mjs +2 -2
  4. package/dist/alert-dialog/index.mjs +17 -17
  5. package/dist/aspect-ratio/index.mjs +1 -1
  6. package/dist/avatar/index.mjs +7 -7
  7. package/dist/badge/index.d.ts +1 -1
  8. package/dist/badge/index.mjs +3 -3
  9. package/dist/base/index.d.ts +91 -3
  10. package/dist/base/index.mjs +190 -46
  11. package/dist/base/index.mjs.map +1 -1
  12. package/dist/breadcrumb/index.mjs +5 -5
  13. package/dist/button/index.d.ts +1 -1
  14. package/dist/button/index.mjs +3 -3
  15. package/dist/button-group/index.mjs +4 -4
  16. package/dist/calendar/index.mjs +9 -9
  17. package/dist/card/index.mjs +3 -3
  18. package/dist/carousel/index.mjs +4 -4
  19. package/dist/chart/index.mjs +4 -4
  20. package/dist/checkbox/index.mjs +14 -14
  21. package/dist/chunks/{CalendarRange-C6vOFlmf.mjs → CalendarRange-B7j-2C1Q.mjs} +8 -8
  22. package/dist/chunks/{CalendarRange-C6vOFlmf.mjs.map → CalendarRange-B7j-2C1Q.mjs.map} +1 -1
  23. package/dist/chunks/{ComboboxField-Doi9J8PJ.mjs → ComboboxField-BaHuYU8I.mjs} +9 -9
  24. package/dist/chunks/{ComboboxField-Doi9J8PJ.mjs.map → ComboboxField-BaHuYU8I.mjs.map} +1 -1
  25. package/dist/chunks/{Container-z6R2DfdZ.mjs → Container-DWFwYxaX.mjs} +2 -2
  26. package/dist/chunks/{Container-z6R2DfdZ.mjs.map → Container-DWFwYxaX.mjs.map} +1 -1
  27. package/dist/chunks/{DeleteConfirmationModal-DJqM51Kc.mjs → DeleteConfirmationModal-Dw04jWSD.mjs} +4 -4
  28. package/dist/chunks/{DeleteConfirmationModal-DJqM51Kc.mjs.map → DeleteConfirmationModal-Dw04jWSD.mjs.map} +1 -1
  29. package/dist/chunks/ListItem-DEJ26vxF.mjs +27 -0
  30. package/dist/chunks/ListItem-DEJ26vxF.mjs.map +1 -0
  31. package/dist/chunks/{TooltipIndicator-DXdQXW6m.mjs → TooltipIndicator-CqZs6TtL.mjs} +4 -4
  32. package/dist/chunks/{TooltipIndicator-DXdQXW6m.mjs.map → TooltipIndicator-CqZs6TtL.mjs.map} +1 -1
  33. package/dist/chunks/{_commonjsHelpers-CVPOz0BZ.mjs → _commonjsHelpers-C6pjWxHF.mjs} +1 -1
  34. package/dist/chunks/_commonjsHelpers-C6pjWxHF.mjs.map +1 -0
  35. package/dist/chunks/{accordion-B3vf0fhd.mjs → accordion-BS_aVwKt.mjs} +11 -11
  36. package/dist/chunks/{accordion-B3vf0fhd.mjs.map → accordion-BS_aVwKt.mjs.map} +1 -1
  37. package/dist/chunks/{badge-C6F5MW8F.mjs → badge-B2rXiLfW.mjs} +2 -2
  38. package/dist/chunks/{badge-C6F5MW8F.mjs.map → badge-B2rXiLfW.mjs.map} +1 -1
  39. package/dist/chunks/{bundle-mjs-C2x5Ccl3.mjs → bundle-mjs-CnEPwCUI.mjs} +1 -1
  40. package/dist/chunks/{bundle-mjs-C2x5Ccl3.mjs.map → bundle-mjs-CnEPwCUI.mjs.map} +1 -1
  41. package/dist/chunks/{button-BxzkfInK.mjs → button-C2cF9q0B.mjs} +2 -2
  42. package/dist/chunks/{button-BxzkfInK.mjs.map → button-C2cF9q0B.mjs.map} +1 -1
  43. package/dist/chunks/{calendar-B4ub8F9N.mjs → calendar-C5e4x7Fx.mjs} +7 -7
  44. package/dist/chunks/{calendar-B4ub8F9N.mjs.map → calendar-C5e4x7Fx.mjs.map} +1 -1
  45. package/dist/chunks/{calendar-days-ejdYbUqz.mjs → calendar-days-0DTxMQoj.mjs} +2 -2
  46. package/dist/chunks/{calendar-days-ejdYbUqz.mjs.map → calendar-days-0DTxMQoj.mjs.map} +1 -1
  47. package/dist/chunks/{card-p-17uB9d.mjs → card-C14Yof1H.mjs} +2 -2
  48. package/dist/chunks/{card-p-17uB9d.mjs.map → card-C14Yof1H.mjs.map} +1 -1
  49. package/dist/chunks/{check-DhrPUDwT.mjs → check-DklJUe6m.mjs} +2 -2
  50. package/dist/chunks/{check-DhrPUDwT.mjs.map → check-DklJUe6m.mjs.map} +1 -1
  51. package/dist/chunks/{checkbox-DwTI3rrn.mjs → checkbox-B4yEQLur.mjs} +11 -11
  52. package/dist/chunks/{checkbox-DwTI3rrn.mjs.map → checkbox-B4yEQLur.mjs.map} +1 -1
  53. package/dist/chunks/{chevron-down-C7AXdCbM.mjs → chevron-down-Bm4mci3t.mjs} +2 -2
  54. package/dist/chunks/{chevron-down-C7AXdCbM.mjs.map → chevron-down-Bm4mci3t.mjs.map} +1 -1
  55. package/dist/chunks/{chevron-left-J7eijyjl.mjs → chevron-left-4PoCe6GV.mjs} +2 -2
  56. package/dist/chunks/{chevron-left-J7eijyjl.mjs.map → chevron-left-4PoCe6GV.mjs.map} +1 -1
  57. package/dist/chunks/{chevron-right-Cw3uJl_J.mjs → chevron-right-MqoBrbb8.mjs} +2 -2
  58. package/dist/chunks/{chevron-right-Cw3uJl_J.mjs.map → chevron-right-MqoBrbb8.mjs.map} +1 -1
  59. package/dist/chunks/{chevrons-up-down-qiBJw_CE.mjs → chevrons-up-down-BNBqgx4v.mjs} +2 -2
  60. package/dist/chunks/{chevrons-up-down-qiBJw_CE.mjs.map → chevrons-up-down-BNBqgx4v.mjs.map} +1 -1
  61. package/dist/chunks/{command-BK2qhT4A.mjs → command-CcRK7OVl.mjs} +8 -8
  62. package/dist/chunks/{command-BK2qhT4A.mjs.map → command-CcRK7OVl.mjs.map} +1 -1
  63. package/dist/chunks/{createLucideIcon-CNxzvTyx.mjs → createLucideIcon-DLJWRsm8.mjs} +1 -1
  64. package/dist/chunks/{createLucideIcon-CNxzvTyx.mjs.map → createLucideIcon-DLJWRsm8.mjs.map} +1 -1
  65. package/dist/chunks/{date-bsoTh0X8.mjs → date-omytq0tf.mjs} +2 -2
  66. package/dist/chunks/{date-bsoTh0X8.mjs.map → date-omytq0tf.mjs.map} +1 -1
  67. package/dist/chunks/{dialog-C8BqAoDa.mjs → dialog-mp2PjFLV.mjs} +4 -4
  68. package/dist/chunks/{dialog-C8BqAoDa.mjs.map → dialog-mp2PjFLV.mjs.map} +1 -1
  69. package/dist/chunks/{ellipsis-gf-7Pb5Z.mjs → ellipsis-Bkc2c9rA.mjs} +2 -2
  70. package/dist/chunks/{ellipsis-gf-7Pb5Z.mjs.map → ellipsis-Bkc2c9rA.mjs.map} +1 -1
  71. package/dist/chunks/{form-BBdrSGwB.mjs → form-DskAxusJ.mjs} +3 -3
  72. package/dist/chunks/{form-BBdrSGwB.mjs.map → form-DskAxusJ.mjs.map} +1 -1
  73. package/dist/chunks/{format-vafQCa1-.mjs → format-gOn6as88.mjs} +1 -1
  74. package/dist/chunks/{format-vafQCa1-.mjs.map → format-gOn6as88.mjs.map} +1 -1
  75. package/dist/chunks/{format-numbers-CHSMhEsY.mjs → format-numbers-DvmVnbU-.mjs} +1 -1
  76. package/dist/chunks/{format-numbers-CHSMhEsY.mjs.map → format-numbers-DvmVnbU-.mjs.map} +1 -1
  77. package/dist/chunks/{hover-card-DRiY9P32.mjs → hover-card-DdQIBfGE.mjs} +11 -11
  78. package/dist/chunks/{hover-card-DRiY9P32.mjs.map → hover-card-DdQIBfGE.mjs.map} +1 -1
  79. package/dist/chunks/{index-B_SGt3iD.mjs → index-B85h7aQI.mjs} +1 -1
  80. package/dist/chunks/{index-B_SGt3iD.mjs.map → index-B85h7aQI.mjs.map} +1 -1
  81. package/dist/chunks/{index-D3ZXHiOc.mjs → index-BO6p56eU.mjs} +15 -15
  82. package/dist/chunks/{index-D3ZXHiOc.mjs.map → index-BO6p56eU.mjs.map} +1 -1
  83. package/dist/chunks/{index-BddawZ7u.mjs → index-Bm4f6eQi.mjs} +1 -1
  84. package/dist/chunks/{index-BddawZ7u.mjs.map → index-Bm4f6eQi.mjs.map} +1 -1
  85. package/dist/chunks/{index-CccKokvh.mjs → index-C91RVyqZ.mjs} +1 -1
  86. package/dist/chunks/{index-CccKokvh.mjs.map → index-C91RVyqZ.mjs.map} +1 -1
  87. package/dist/chunks/{index-DynSCSYY.mjs → index-CB8Ec_Em.mjs} +1 -1
  88. package/dist/chunks/{index-DynSCSYY.mjs.map → index-CB8Ec_Em.mjs.map} +1 -1
  89. package/dist/chunks/{index-eryW7n4F.mjs → index-CDIOewXS.mjs} +11 -11
  90. package/dist/chunks/{index-eryW7n4F.mjs.map → index-CDIOewXS.mjs.map} +1 -1
  91. package/dist/chunks/{index-8mMbXCbb.mjs → index-CNFTjAqd.mjs} +1 -1
  92. package/dist/chunks/{index-8mMbXCbb.mjs.map → index-CNFTjAqd.mjs.map} +1 -1
  93. package/dist/chunks/{index-BXaCSCS6.mjs → index-CNQ8weHe.mjs} +1 -1
  94. package/dist/chunks/{index-BXaCSCS6.mjs.map → index-CNQ8weHe.mjs.map} +1 -1
  95. package/dist/chunks/{index-DmrnxEAX.mjs → index-CQltol_K.mjs} +3 -3
  96. package/dist/chunks/{index-DmrnxEAX.mjs.map → index-CQltol_K.mjs.map} +1 -1
  97. package/dist/chunks/{index-8IGka0hg.mjs → index-CoCxs68M.mjs} +1 -1
  98. package/dist/chunks/{index-8IGka0hg.mjs.map → index-CoCxs68M.mjs.map} +1 -1
  99. package/dist/chunks/{index-X0kJNTxp.mjs → index-CxQ1sNAo.mjs} +2 -2
  100. package/dist/chunks/{index-X0kJNTxp.mjs.map → index-CxQ1sNAo.mjs.map} +1 -1
  101. package/dist/chunks/{index-DJVlJsZA.mjs → index-CxyCY0ln.mjs} +3 -3
  102. package/dist/chunks/{index-DJVlJsZA.mjs.map → index-CxyCY0ln.mjs.map} +1 -1
  103. package/dist/chunks/{index-BHMUk6SI.mjs → index-D2idZs3c.mjs} +5 -5
  104. package/dist/chunks/{index-BHMUk6SI.mjs.map → index-D2idZs3c.mjs.map} +1 -1
  105. package/dist/chunks/{index-6jSM1EM8.mjs → index-DAVeJpo0.mjs} +7 -7
  106. package/dist/chunks/{index-6jSM1EM8.mjs.map → index-DAVeJpo0.mjs.map} +1 -1
  107. package/dist/chunks/{index--q4ID74U.mjs → index-DG3O8ViX.mjs} +9 -9
  108. package/dist/chunks/{index--q4ID74U.mjs.map → index-DG3O8ViX.mjs.map} +1 -1
  109. package/dist/chunks/{index-C57rrjbu.mjs → index-DNdfQOMY.mjs} +2 -2
  110. package/dist/chunks/{index-C57rrjbu.mjs.map → index-DNdfQOMY.mjs.map} +1 -1
  111. package/dist/chunks/{index-Dem9i7oG.mjs → index-DPUWaCtp.mjs} +2 -2
  112. package/dist/chunks/{index-Dem9i7oG.mjs.map → index-DPUWaCtp.mjs.map} +1 -1
  113. package/dist/chunks/{index-CPpwqFj8.mjs → index-DmMR0Hr3.mjs} +9 -9
  114. package/dist/chunks/{index-CPpwqFj8.mjs.map → index-DmMR0Hr3.mjs.map} +1 -1
  115. package/dist/chunks/{index-BkXjIXXx.mjs → index-N_pCMOKu.mjs} +1 -1
  116. package/dist/chunks/{index-BkXjIXXx.mjs.map → index-N_pCMOKu.mjs.map} +1 -1
  117. package/dist/chunks/{index-D-oXVZAI.mjs → index-OVqqrdOB.mjs} +5 -5
  118. package/dist/chunks/{index-D-oXVZAI.mjs.map → index-OVqqrdOB.mjs.map} +1 -1
  119. package/dist/chunks/{index-DLlcteii.mjs → index-RZ_ObvIZ.mjs} +1 -1
  120. package/dist/chunks/{index-DLlcteii.mjs.map → index-RZ_ObvIZ.mjs.map} +1 -1
  121. package/dist/chunks/{index-2n7_3Cjk.mjs → index-w0UYZ7hJ.mjs} +1 -1
  122. package/dist/chunks/{index-2n7_3Cjk.mjs.map → index-w0UYZ7hJ.mjs.map} +1 -1
  123. package/dist/chunks/{index-CXqAujOo.mjs → index-yIOZEA2j.mjs} +2 -2
  124. package/dist/chunks/{index-CXqAujOo.mjs.map → index-yIOZEA2j.mjs.map} +1 -1
  125. package/dist/chunks/{input-BmaMdUig.mjs → input-OFiqLCyW.mjs} +2 -2
  126. package/dist/chunks/{input-BmaMdUig.mjs.map → input-OFiqLCyW.mjs.map} +1 -1
  127. package/dist/chunks/{label-EVALGS31.mjs → label-9FDN2h43.mjs} +3 -3
  128. package/dist/chunks/{label-EVALGS31.mjs.map → label-9FDN2h43.mjs.map} +1 -1
  129. package/dist/chunks/{loader-circle-DWX4e7sf.mjs → loader-circle-BcUMbXIj.mjs} +2 -2
  130. package/dist/chunks/{loader-circle-DWX4e7sf.mjs.map → loader-circle-BcUMbXIj.mjs.map} +1 -1
  131. package/dist/chunks/menubar-C9Mr05VR.mjs +571 -0
  132. package/dist/chunks/menubar-C9Mr05VR.mjs.map +1 -0
  133. package/dist/chunks/{multi-select-0MSZ11CM.mjs → multi-select-B2NYqlcn.mjs} +50 -21
  134. package/dist/chunks/multi-select-B2NYqlcn.mjs.map +1 -0
  135. package/dist/chunks/{pagination-B1pMeR37.mjs → pagination-BWzIRRx7.mjs} +6 -6
  136. package/dist/chunks/{pagination-B1pMeR37.mjs.map → pagination-BWzIRRx7.mjs.map} +1 -1
  137. package/dist/chunks/{popover-CTt4bYVl.mjs → popover-eOnR0Hkd.mjs} +13 -13
  138. package/dist/chunks/{popover-CTt4bYVl.mjs.map → popover-eOnR0Hkd.mjs.map} +1 -1
  139. package/dist/chunks/{progress-DB31Fcrp.mjs → progress-uAO8UgR3.mjs} +4 -4
  140. package/dist/chunks/{progress-DB31Fcrp.mjs.map → progress-uAO8UgR3.mjs.map} +1 -1
  141. package/dist/chunks/{react-number-format.es-B74qXV9v.mjs → react-number-format.es-CZ8h6Y-n.mjs} +1 -1
  142. package/dist/chunks/{react-number-format.es-B74qXV9v.mjs.map → react-number-format.es-CZ8h6Y-n.mjs.map} +1 -1
  143. package/dist/chunks/{scroll-area-l4LJuq0i.mjs → scroll-area-D-EBfwsS.mjs} +11 -11
  144. package/dist/chunks/{scroll-area-l4LJuq0i.mjs.map → scroll-area-D-EBfwsS.mjs.map} +1 -1
  145. package/dist/chunks/{select-CAVb-nGs.mjs → select-CsuBuMPt.mjs} +5 -5
  146. package/dist/chunks/{select-CAVb-nGs.mjs.map → select-CsuBuMPt.mjs.map} +1 -1
  147. package/dist/chunks/{separator-D0VFW5Lo.mjs → separator-B0CvaMHE.mjs} +3 -3
  148. package/dist/chunks/{separator-D0VFW5Lo.mjs.map → separator-B0CvaMHE.mjs.map} +1 -1
  149. package/dist/chunks/{sheet-y3xiV9Ny.mjs → sheet-BrO4y5m8.mjs} +4 -4
  150. package/dist/chunks/{sheet-y3xiV9Ny.mjs.map → sheet-BrO4y5m8.mjs.map} +1 -1
  151. package/dist/chunks/{skeleton-CJl47J7g.mjs → skeleton-BcOyTWG3.mjs} +2 -2
  152. package/dist/chunks/{skeleton-CJl47J7g.mjs.map → skeleton-BcOyTWG3.mjs.map} +1 -1
  153. package/dist/chunks/{sortable-CZxlBWrl.mjs → sortable-CrW6OrB_.mjs} +3 -3
  154. package/dist/chunks/{sortable-CZxlBWrl.mjs.map → sortable-CrW6OrB_.mjs.map} +1 -1
  155. package/dist/chunks/{table-C63bCCPl.mjs → table-DZAApCSW.mjs} +2 -2
  156. package/dist/chunks/{table-C63bCCPl.mjs.map → table-DZAApCSW.mjs.map} +1 -1
  157. package/dist/chunks/{textarea-BM5xOATd.mjs → textarea-CbQh8jEZ.mjs} +2 -2
  158. package/dist/chunks/{textarea-BM5xOATd.mjs.map → textarea-CbQh8jEZ.mjs.map} +1 -1
  159. package/dist/chunks/{toggle-EMAWE62-.mjs → toggle-BiepH6mm.mjs} +5 -5
  160. package/dist/chunks/{toggle-EMAWE62-.mjs.map → toggle-BiepH6mm.mjs.map} +1 -1
  161. package/dist/chunks/{tooltip-d4mEsgiQ.mjs → tooltip-B4ZCkfcX.mjs} +13 -13
  162. package/dist/chunks/{tooltip-d4mEsgiQ.mjs.map → tooltip-B4ZCkfcX.mjs.map} +1 -1
  163. package/dist/chunks/{trash-2-uP7mRxLY.mjs → trash-2-C7BfzHRz.mjs} +2 -2
  164. package/dist/chunks/{trash-2-uP7mRxLY.mjs.map → trash-2-C7BfzHRz.mjs.map} +1 -1
  165. package/dist/chunks/{triangle-alert-XroV-rg0.mjs → triangle-alert-C-txdoWy.mjs} +2 -2
  166. package/dist/chunks/{triangle-alert-XroV-rg0.mjs.map → triangle-alert-C-txdoWy.mjs.map} +1 -1
  167. package/dist/chunks/{tslib.es6-Cd4zKtiY.mjs → tslib.es6-C7Zd2S7n.mjs} +1 -1
  168. package/dist/chunks/{tslib.es6-Cd4zKtiY.mjs.map → tslib.es6-C7Zd2S7n.mjs.map} +1 -1
  169. package/dist/chunks/{utils-Cf4V6qcv.mjs → utils-0YrH_ad8.mjs} +2 -2
  170. package/dist/chunks/{utils-Cf4V6qcv.mjs.map → utils-0YrH_ad8.mjs.map} +1 -1
  171. package/dist/chunks/{x-Dfbhgap6.mjs → x-D1W84xzS.mjs} +2 -2
  172. package/dist/chunks/{x-Dfbhgap6.mjs.map → x-D1W84xzS.mjs.map} +1 -1
  173. package/dist/collapsible/index.mjs +9 -9
  174. package/dist/combobox/index.mjs +26 -26
  175. package/dist/command/index.mjs +20 -20
  176. package/dist/context-menu/index.mjs +23 -23
  177. package/dist/dash/index.mjs +25 -25
  178. package/dist/data-table/index.mjs +35 -35
  179. package/dist/date-picker/index.mjs +27 -27
  180. package/dist/dialog/index.mjs +19 -19
  181. package/dist/drawer/index.mjs +16 -16
  182. package/dist/dropdown-menu/index.mjs +23 -23
  183. package/dist/dropzone/index.mjs +18 -18
  184. package/dist/editable-table/index.mjs +10 -10
  185. package/dist/empty/index.mjs +2 -2
  186. package/dist/field/index.mjs +5 -5
  187. package/dist/form/index.mjs +5 -5
  188. package/dist/form-fields/index.mjs +28 -28
  189. package/dist/hover-card/index.mjs +15 -15
  190. package/dist/icon/index.mjs +1 -1
  191. package/dist/index.css +1 -1
  192. package/dist/input/index.mjs +3 -3
  193. package/dist/input-group/index.mjs +5 -5
  194. package/dist/input-otp/index.mjs +3 -3
  195. package/dist/item/index.mjs +4 -4
  196. package/dist/ivt.css +1 -1
  197. package/dist/kbd/index.mjs +2 -2
  198. package/dist/label/index.mjs +4 -4
  199. package/dist/layout/index.d.ts +3 -0
  200. package/dist/layout/index.mjs +28 -25
  201. package/dist/layout/index.mjs.map +1 -1
  202. package/dist/menubar/index.mjs +27 -581
  203. package/dist/menubar/index.mjs.map +1 -1
  204. package/dist/multi-input-list/index.d.ts +27 -0
  205. package/dist/multi-input-list/index.mjs +264 -0
  206. package/dist/multi-input-list/index.mjs.map +1 -0
  207. package/dist/multi-select/index.d.ts +4 -1
  208. package/dist/multi-select/index.mjs +32 -31
  209. package/dist/multi-select/index.mjs.map +1 -1
  210. package/dist/navigation-menu/index.mjs +17 -17
  211. package/dist/pagination/index.mjs +8 -8
  212. package/dist/popover/index.mjs +18 -18
  213. package/dist/progress/index.mjs +5 -5
  214. package/dist/radio-group/index.mjs +17 -17
  215. package/dist/resizable/index.mjs +3 -3
  216. package/dist/scroll-area/index.mjs +12 -12
  217. package/dist/select/index.mjs +6 -6
  218. package/dist/separator/index.mjs +4 -4
  219. package/dist/shared/index.mjs +5 -5
  220. package/dist/sheet/index.mjs +19 -19
  221. package/dist/sidebar/index.mjs +27 -27
  222. package/dist/skeleton/index.mjs +3 -3
  223. package/dist/skeleton-component/index.mjs +4 -4
  224. package/dist/slider/index.mjs +12 -12
  225. package/dist/sortable/index.mjs +4 -4
  226. package/dist/spinner/index.mjs +4 -4
  227. package/dist/switch/index.mjs +10 -10
  228. package/dist/table/index.mjs +3 -3
  229. package/dist/table-filter/index.mjs +52 -52
  230. package/dist/tabs/index.mjs +13 -13
  231. package/dist/textarea/index.mjs +3 -3
  232. package/dist/toast/index.mjs +15 -15
  233. package/dist/toggle/index.mjs +7 -7
  234. package/dist/toggle-group/index.mjs +13 -13
  235. package/dist/tooltip/index.mjs +17 -17
  236. package/package.json +466 -462
  237. package/dist/chunks/_commonjsHelpers-CVPOz0BZ.mjs.map +0 -1
  238. package/dist/chunks/multi-select-0MSZ11CM.mjs.map +0 -1
@@ -1,584 +1,30 @@
1
- import * as React from 'react';
2
- import { createCollection } from '@radix-ui/react-collection';
3
- import { u as useDirection } from '../chunks/index-DynSCSYY.mjs';
4
- import { c as composeEventHandlers } from '../chunks/index-8IGka0hg.mjs';
5
- import { u as useComposedRefs } from '../chunks/index-B_SGt3iD.mjs';
6
- import { c as createContextScope } from '../chunks/index-DLlcteii.mjs';
7
- import { u as useId } from '../chunks/index-C57rrjbu.mjs';
8
- import { c as createMenuScope, P as Portal, R as Root3$1, A as Anchor2, C as Content2$1, G as Group, S as Separator, L as Label, I as Item2, a as CheckboxItem, b as ItemIndicator, h as RadioGroup, d as RadioItem, e as Sub, g as SubTrigger, f as SubContent, i as Arrow2, j as Circle } from '../chunks/index-D3ZXHiOc.mjs';
9
- import { c as createRovingFocusGroupScope, R as Root, I as Item } from '../chunks/index--q4ID74U.mjs';
10
- import { P as Primitive } from '../chunks/index-BkXjIXXx.mjs';
11
- import { u as useControllableState } from '../chunks/index-CXqAujOo.mjs';
12
- import { jsx } from 'react/jsx-runtime';
13
- import { c as cn } from '../chunks/utils-Cf4V6qcv.mjs';
14
- import { C as Check } from '../chunks/check-DhrPUDwT.mjs';
15
- import { C as ChevronRight } from '../chunks/chevron-right-Cw3uJl_J.mjs';
16
- import '../chunks/index-BddawZ7u.mjs';
17
- import '../chunks/createLucideIcon-CNxzvTyx.mjs';
18
- import '../chunks/index-D-oXVZAI.mjs';
19
- import '../chunks/index-CccKokvh.mjs';
20
- import '../chunks/index-BHMUk6SI.mjs';
21
- import '../chunks/tslib.es6-Cd4zKtiY.mjs';
22
- import '../chunks/index-6jSM1EM8.mjs';
1
+ export { M as Menubar, j as MenubarCheckboxItem, d as MenubarContent, e as MenubarGroup, h as MenubarItem, g as MenubarLabel, b as MenubarMenu, a as MenubarPortal, k as MenubarRadioGroup, l as MenubarRadioItem, f as MenubarSeparator, i as MenubarShortcut, m as MenubarSub, o as MenubarSubContent, n as MenubarSubTrigger, c as MenubarTrigger } from '../chunks/menubar-C9Mr05VR.mjs';
2
+ import 'react';
3
+ import '@radix-ui/react-collection';
4
+ import '../chunks/index-CB8Ec_Em.mjs';
5
+ import 'react/jsx-runtime';
6
+ import '../chunks/index-CoCxs68M.mjs';
7
+ import '../chunks/index-B85h7aQI.mjs';
8
+ import '../chunks/index-RZ_ObvIZ.mjs';
9
+ import '../chunks/index-DNdfQOMY.mjs';
10
+ import '../chunks/index-Bm4f6eQi.mjs';
11
+ import '../chunks/index-BO6p56eU.mjs';
12
+ import '../chunks/createLucideIcon-DLJWRsm8.mjs';
13
+ import '../chunks/index-OVqqrdOB.mjs';
14
+ import '../chunks/index-N_pCMOKu.mjs';
23
15
  import 'react-dom';
24
- import '../chunks/index-Dem9i7oG.mjs';
25
- import '../chunks/index-DJVlJsZA.mjs';
26
- import '../chunks/index-DmrnxEAX.mjs';
27
16
  import '@radix-ui/react-slot';
28
- import '../chunks/bundle-mjs-C2x5Ccl3.mjs';
29
-
30
- var MENUBAR_NAME = "Menubar";
31
- var [Collection, useCollection, createCollectionScope] = createCollection(MENUBAR_NAME);
32
- var [createMenubarContext] = createContextScope(MENUBAR_NAME, [
33
- createCollectionScope,
34
- createRovingFocusGroupScope
35
- ]);
36
- var useMenuScope = createMenuScope();
37
- var useRovingFocusGroupScope = createRovingFocusGroupScope();
38
- var [MenubarContextProvider, useMenubarContext] = createMenubarContext(MENUBAR_NAME);
39
- var Menubar$1 = React.forwardRef((props, forwardedRef)=>{
40
- const { __scopeMenubar, value: valueProp, onValueChange, defaultValue, loop = true, dir, ...menubarProps } = props;
41
- const direction = useDirection(dir);
42
- const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeMenubar);
43
- const [value, setValue] = useControllableState({
44
- prop: valueProp,
45
- onChange: onValueChange,
46
- defaultProp: defaultValue ?? "",
47
- caller: MENUBAR_NAME
48
- });
49
- const [currentTabStopId, setCurrentTabStopId] = React.useState(null);
50
- return /* @__PURE__ */ jsx(MenubarContextProvider, {
51
- scope: __scopeMenubar,
52
- value,
53
- onMenuOpen: React.useCallback((value2)=>{
54
- setValue(value2);
55
- setCurrentTabStopId(value2);
56
- }, [
57
- setValue
58
- ]),
59
- onMenuClose: React.useCallback(()=>setValue(""), [
60
- setValue
61
- ]),
62
- onMenuToggle: React.useCallback((value2)=>{
63
- setValue((prevValue)=>prevValue ? "" : value2);
64
- setCurrentTabStopId(value2);
65
- }, [
66
- setValue
67
- ]),
68
- dir: direction,
69
- loop,
70
- children: /* @__PURE__ */ jsx(Collection.Provider, {
71
- scope: __scopeMenubar,
72
- children: /* @__PURE__ */ jsx(Collection.Slot, {
73
- scope: __scopeMenubar,
74
- children: /* @__PURE__ */ jsx(Root, {
75
- asChild: true,
76
- ...rovingFocusGroupScope,
77
- orientation: "horizontal",
78
- loop,
79
- dir: direction,
80
- currentTabStopId,
81
- onCurrentTabStopIdChange: setCurrentTabStopId,
82
- children: /* @__PURE__ */ jsx(Primitive.div, {
83
- role: "menubar",
84
- ...menubarProps,
85
- ref: forwardedRef
86
- })
87
- })
88
- })
89
- })
90
- });
91
- });
92
- Menubar$1.displayName = MENUBAR_NAME;
93
- var MENU_NAME = "MenubarMenu";
94
- var [MenubarMenuProvider, useMenubarMenuContext] = createMenubarContext(MENU_NAME);
95
- var MenubarMenu$1 = (props)=>{
96
- const { __scopeMenubar, value: valueProp, ...menuProps } = props;
97
- const autoValue = useId();
98
- const value = valueProp || autoValue || "LEGACY_REACT_AUTO_VALUE";
99
- const context = useMenubarContext(MENU_NAME, __scopeMenubar);
100
- const menuScope = useMenuScope(__scopeMenubar);
101
- const triggerRef = React.useRef(null);
102
- const wasKeyboardTriggerOpenRef = React.useRef(false);
103
- const open = context.value === value;
104
- React.useEffect(()=>{
105
- if (!open) wasKeyboardTriggerOpenRef.current = false;
106
- }, [
107
- open
108
- ]);
109
- return /* @__PURE__ */ jsx(MenubarMenuProvider, {
110
- scope: __scopeMenubar,
111
- value,
112
- triggerId: useId(),
113
- triggerRef,
114
- contentId: useId(),
115
- wasKeyboardTriggerOpenRef,
116
- children: /* @__PURE__ */ jsx(Root3$1, {
117
- ...menuScope,
118
- open,
119
- onOpenChange: (open2)=>{
120
- if (!open2) context.onMenuClose();
121
- },
122
- modal: false,
123
- dir: context.dir,
124
- ...menuProps
125
- })
126
- });
127
- };
128
- MenubarMenu$1.displayName = MENU_NAME;
129
- var TRIGGER_NAME = "MenubarTrigger";
130
- var MenubarTrigger$1 = React.forwardRef((props, forwardedRef)=>{
131
- const { __scopeMenubar, disabled = false, ...triggerProps } = props;
132
- const rovingFocusGroupScope = useRovingFocusGroupScope(__scopeMenubar);
133
- const menuScope = useMenuScope(__scopeMenubar);
134
- const context = useMenubarContext(TRIGGER_NAME, __scopeMenubar);
135
- const menuContext = useMenubarMenuContext(TRIGGER_NAME, __scopeMenubar);
136
- const ref = React.useRef(null);
137
- const composedRefs = useComposedRefs(forwardedRef, ref, menuContext.triggerRef);
138
- const [isFocused, setIsFocused] = React.useState(false);
139
- const open = context.value === menuContext.value;
140
- return /* @__PURE__ */ jsx(Collection.ItemSlot, {
141
- scope: __scopeMenubar,
142
- value: menuContext.value,
143
- disabled,
144
- children: /* @__PURE__ */ jsx(Item, {
145
- asChild: true,
146
- ...rovingFocusGroupScope,
147
- focusable: !disabled,
148
- tabStopId: menuContext.value,
149
- children: /* @__PURE__ */ jsx(Anchor2, {
150
- asChild: true,
151
- ...menuScope,
152
- children: /* @__PURE__ */ jsx(Primitive.button, {
153
- type: "button",
154
- role: "menuitem",
155
- id: menuContext.triggerId,
156
- "aria-haspopup": "menu",
157
- "aria-expanded": open,
158
- "aria-controls": open ? menuContext.contentId : void 0,
159
- "data-highlighted": isFocused ? "" : void 0,
160
- "data-state": open ? "open" : "closed",
161
- "data-disabled": disabled ? "" : void 0,
162
- disabled,
163
- ...triggerProps,
164
- ref: composedRefs,
165
- onPointerDown: composeEventHandlers(props.onPointerDown, (event)=>{
166
- if (!disabled && event.button === 0 && event.ctrlKey === false) {
167
- context.onMenuOpen(menuContext.value);
168
- if (!open) event.preventDefault();
169
- }
170
- }),
171
- onPointerEnter: composeEventHandlers(props.onPointerEnter, ()=>{
172
- const menubarOpen = Boolean(context.value);
173
- if (menubarOpen && !open) {
174
- context.onMenuOpen(menuContext.value);
175
- ref.current?.focus();
176
- }
177
- }),
178
- onKeyDown: composeEventHandlers(props.onKeyDown, (event)=>{
179
- if (disabled) return;
180
- if ([
181
- "Enter",
182
- " "
183
- ].includes(event.key)) context.onMenuToggle(menuContext.value);
184
- if (event.key === "ArrowDown") context.onMenuOpen(menuContext.value);
185
- if ([
186
- "Enter",
187
- " ",
188
- "ArrowDown"
189
- ].includes(event.key)) {
190
- menuContext.wasKeyboardTriggerOpenRef.current = true;
191
- event.preventDefault();
192
- }
193
- }),
194
- onFocus: composeEventHandlers(props.onFocus, ()=>setIsFocused(true)),
195
- onBlur: composeEventHandlers(props.onBlur, ()=>setIsFocused(false))
196
- })
197
- })
198
- })
199
- });
200
- });
201
- MenubarTrigger$1.displayName = TRIGGER_NAME;
202
- var PORTAL_NAME = "MenubarPortal";
203
- var MenubarPortal$1 = (props)=>{
204
- const { __scopeMenubar, ...portalProps } = props;
205
- const menuScope = useMenuScope(__scopeMenubar);
206
- return /* @__PURE__ */ jsx(Portal, {
207
- ...menuScope,
208
- ...portalProps
209
- });
210
- };
211
- MenubarPortal$1.displayName = PORTAL_NAME;
212
- var CONTENT_NAME = "MenubarContent";
213
- var MenubarContent$1 = React.forwardRef((props, forwardedRef)=>{
214
- const { __scopeMenubar, align = "start", ...contentProps } = props;
215
- const menuScope = useMenuScope(__scopeMenubar);
216
- const context = useMenubarContext(CONTENT_NAME, __scopeMenubar);
217
- const menuContext = useMenubarMenuContext(CONTENT_NAME, __scopeMenubar);
218
- const getItems = useCollection(__scopeMenubar);
219
- const hasInteractedOutsideRef = React.useRef(false);
220
- return /* @__PURE__ */ jsx(Content2$1, {
221
- id: menuContext.contentId,
222
- "aria-labelledby": menuContext.triggerId,
223
- "data-radix-menubar-content": "",
224
- ...menuScope,
225
- ...contentProps,
226
- ref: forwardedRef,
227
- align,
228
- onCloseAutoFocus: composeEventHandlers(props.onCloseAutoFocus, (event)=>{
229
- const menubarOpen = Boolean(context.value);
230
- if (!menubarOpen && !hasInteractedOutsideRef.current) {
231
- menuContext.triggerRef.current?.focus();
232
- }
233
- hasInteractedOutsideRef.current = false;
234
- event.preventDefault();
235
- }),
236
- onFocusOutside: composeEventHandlers(props.onFocusOutside, (event)=>{
237
- const target = event.target;
238
- const isMenubarTrigger = getItems().some((item)=>item.ref.current?.contains(target));
239
- if (isMenubarTrigger) event.preventDefault();
240
- }),
241
- onInteractOutside: composeEventHandlers(props.onInteractOutside, ()=>{
242
- hasInteractedOutsideRef.current = true;
243
- }),
244
- onEntryFocus: (event)=>{
245
- if (!menuContext.wasKeyboardTriggerOpenRef.current) event.preventDefault();
246
- },
247
- onKeyDown: composeEventHandlers(props.onKeyDown, (event)=>{
248
- if ([
249
- "ArrowRight",
250
- "ArrowLeft"
251
- ].includes(event.key)) {
252
- const target = event.target;
253
- const targetIsSubTrigger = target.hasAttribute("data-radix-menubar-subtrigger");
254
- const isKeyDownInsideSubMenu = target.closest("[data-radix-menubar-content]") !== event.currentTarget;
255
- const prevMenuKey = context.dir === "rtl" ? "ArrowRight" : "ArrowLeft";
256
- const isPrevKey = prevMenuKey === event.key;
257
- const isNextKey = !isPrevKey;
258
- if (isNextKey && targetIsSubTrigger) return;
259
- if (isKeyDownInsideSubMenu && isPrevKey) return;
260
- const items = getItems().filter((item)=>!item.disabled);
261
- let candidateValues = items.map((item)=>item.value);
262
- if (isPrevKey) candidateValues.reverse();
263
- const currentIndex = candidateValues.indexOf(menuContext.value);
264
- candidateValues = context.loop ? wrapArray(candidateValues, currentIndex + 1) : candidateValues.slice(currentIndex + 1);
265
- const [nextValue] = candidateValues;
266
- if (nextValue) context.onMenuOpen(nextValue);
267
- }
268
- }, {
269
- checkForDefaultPrevented: false
270
- }),
271
- style: {
272
- ...props.style,
273
- // re-namespace exposed content custom properties
274
- ...{
275
- "--radix-menubar-content-transform-origin": "var(--radix-popper-transform-origin)",
276
- "--radix-menubar-content-available-width": "var(--radix-popper-available-width)",
277
- "--radix-menubar-content-available-height": "var(--radix-popper-available-height)",
278
- "--radix-menubar-trigger-width": "var(--radix-popper-anchor-width)",
279
- "--radix-menubar-trigger-height": "var(--radix-popper-anchor-height)"
280
- }
281
- }
282
- });
283
- });
284
- MenubarContent$1.displayName = CONTENT_NAME;
285
- var GROUP_NAME = "MenubarGroup";
286
- var MenubarGroup$1 = React.forwardRef((props, forwardedRef)=>{
287
- const { __scopeMenubar, ...groupProps } = props;
288
- const menuScope = useMenuScope(__scopeMenubar);
289
- return /* @__PURE__ */ jsx(Group, {
290
- ...menuScope,
291
- ...groupProps,
292
- ref: forwardedRef
293
- });
294
- });
295
- MenubarGroup$1.displayName = GROUP_NAME;
296
- var LABEL_NAME = "MenubarLabel";
297
- var MenubarLabel$1 = React.forwardRef((props, forwardedRef)=>{
298
- const { __scopeMenubar, ...labelProps } = props;
299
- const menuScope = useMenuScope(__scopeMenubar);
300
- return /* @__PURE__ */ jsx(Label, {
301
- ...menuScope,
302
- ...labelProps,
303
- ref: forwardedRef
304
- });
305
- });
306
- MenubarLabel$1.displayName = LABEL_NAME;
307
- var ITEM_NAME = "MenubarItem";
308
- var MenubarItem$1 = React.forwardRef((props, forwardedRef)=>{
309
- const { __scopeMenubar, ...itemProps } = props;
310
- const menuScope = useMenuScope(__scopeMenubar);
311
- return /* @__PURE__ */ jsx(Item2, {
312
- ...menuScope,
313
- ...itemProps,
314
- ref: forwardedRef
315
- });
316
- });
317
- MenubarItem$1.displayName = ITEM_NAME;
318
- var CHECKBOX_ITEM_NAME = "MenubarCheckboxItem";
319
- var MenubarCheckboxItem$1 = React.forwardRef((props, forwardedRef)=>{
320
- const { __scopeMenubar, ...checkboxItemProps } = props;
321
- const menuScope = useMenuScope(__scopeMenubar);
322
- return /* @__PURE__ */ jsx(CheckboxItem, {
323
- ...menuScope,
324
- ...checkboxItemProps,
325
- ref: forwardedRef
326
- });
327
- });
328
- MenubarCheckboxItem$1.displayName = CHECKBOX_ITEM_NAME;
329
- var RADIO_GROUP_NAME = "MenubarRadioGroup";
330
- var MenubarRadioGroup$1 = React.forwardRef((props, forwardedRef)=>{
331
- const { __scopeMenubar, ...radioGroupProps } = props;
332
- const menuScope = useMenuScope(__scopeMenubar);
333
- return /* @__PURE__ */ jsx(RadioGroup, {
334
- ...menuScope,
335
- ...radioGroupProps,
336
- ref: forwardedRef
337
- });
338
- });
339
- MenubarRadioGroup$1.displayName = RADIO_GROUP_NAME;
340
- var RADIO_ITEM_NAME = "MenubarRadioItem";
341
- var MenubarRadioItem$1 = React.forwardRef((props, forwardedRef)=>{
342
- const { __scopeMenubar, ...radioItemProps } = props;
343
- const menuScope = useMenuScope(__scopeMenubar);
344
- return /* @__PURE__ */ jsx(RadioItem, {
345
- ...menuScope,
346
- ...radioItemProps,
347
- ref: forwardedRef
348
- });
349
- });
350
- MenubarRadioItem$1.displayName = RADIO_ITEM_NAME;
351
- var INDICATOR_NAME = "MenubarItemIndicator";
352
- var MenubarItemIndicator = React.forwardRef((props, forwardedRef)=>{
353
- const { __scopeMenubar, ...itemIndicatorProps } = props;
354
- const menuScope = useMenuScope(__scopeMenubar);
355
- return /* @__PURE__ */ jsx(ItemIndicator, {
356
- ...menuScope,
357
- ...itemIndicatorProps,
358
- ref: forwardedRef
359
- });
360
- });
361
- MenubarItemIndicator.displayName = INDICATOR_NAME;
362
- var SEPARATOR_NAME = "MenubarSeparator";
363
- var MenubarSeparator$1 = React.forwardRef((props, forwardedRef)=>{
364
- const { __scopeMenubar, ...separatorProps } = props;
365
- const menuScope = useMenuScope(__scopeMenubar);
366
- return /* @__PURE__ */ jsx(Separator, {
367
- ...menuScope,
368
- ...separatorProps,
369
- ref: forwardedRef
370
- });
371
- });
372
- MenubarSeparator$1.displayName = SEPARATOR_NAME;
373
- var ARROW_NAME = "MenubarArrow";
374
- var MenubarArrow = React.forwardRef((props, forwardedRef)=>{
375
- const { __scopeMenubar, ...arrowProps } = props;
376
- const menuScope = useMenuScope(__scopeMenubar);
377
- return /* @__PURE__ */ jsx(Arrow2, {
378
- ...menuScope,
379
- ...arrowProps,
380
- ref: forwardedRef
381
- });
382
- });
383
- MenubarArrow.displayName = ARROW_NAME;
384
- var SUB_NAME = "MenubarSub";
385
- var MenubarSub$1 = (props)=>{
386
- const { __scopeMenubar, children, open: openProp, onOpenChange, defaultOpen } = props;
387
- const menuScope = useMenuScope(__scopeMenubar);
388
- const [open, setOpen] = useControllableState({
389
- prop: openProp,
390
- defaultProp: defaultOpen ?? false,
391
- onChange: onOpenChange,
392
- caller: SUB_NAME
393
- });
394
- return /* @__PURE__ */ jsx(Sub, {
395
- ...menuScope,
396
- open,
397
- onOpenChange: setOpen,
398
- children
399
- });
400
- };
401
- MenubarSub$1.displayName = SUB_NAME;
402
- var SUB_TRIGGER_NAME = "MenubarSubTrigger";
403
- var MenubarSubTrigger$1 = React.forwardRef((props, forwardedRef)=>{
404
- const { __scopeMenubar, ...subTriggerProps } = props;
405
- const menuScope = useMenuScope(__scopeMenubar);
406
- return /* @__PURE__ */ jsx(SubTrigger, {
407
- "data-radix-menubar-subtrigger": "",
408
- ...menuScope,
409
- ...subTriggerProps,
410
- ref: forwardedRef
411
- });
412
- });
413
- MenubarSubTrigger$1.displayName = SUB_TRIGGER_NAME;
414
- var SUB_CONTENT_NAME = "MenubarSubContent";
415
- var MenubarSubContent$1 = React.forwardRef((props, forwardedRef)=>{
416
- const { __scopeMenubar, ...subContentProps } = props;
417
- const menuScope = useMenuScope(__scopeMenubar);
418
- return /* @__PURE__ */ jsx(SubContent, {
419
- ...menuScope,
420
- "data-radix-menubar-content": "",
421
- ...subContentProps,
422
- ref: forwardedRef,
423
- style: {
424
- ...props.style,
425
- // re-namespace exposed content custom properties
426
- ...{
427
- "--radix-menubar-content-transform-origin": "var(--radix-popper-transform-origin)",
428
- "--radix-menubar-content-available-width": "var(--radix-popper-available-width)",
429
- "--radix-menubar-content-available-height": "var(--radix-popper-available-height)",
430
- "--radix-menubar-trigger-width": "var(--radix-popper-anchor-width)",
431
- "--radix-menubar-trigger-height": "var(--radix-popper-anchor-height)"
432
- }
433
- }
434
- });
435
- });
436
- MenubarSubContent$1.displayName = SUB_CONTENT_NAME;
437
- function wrapArray(array, startIndex) {
438
- return array.map((_, index)=>array[(startIndex + index) % array.length]);
439
- }
440
- var Root3 = Menubar$1;
441
- var Menu = MenubarMenu$1;
442
- var Trigger = MenubarTrigger$1;
443
- var Portal2 = MenubarPortal$1;
444
- var Content2 = MenubarContent$1;
445
- var Group2 = MenubarGroup$1;
446
- var Label2 = MenubarLabel$1;
447
- var Item3 = MenubarItem$1;
448
- var CheckboxItem2 = MenubarCheckboxItem$1;
449
- var RadioGroup2 = MenubarRadioGroup$1;
450
- var RadioItem2 = MenubarRadioItem$1;
451
- var ItemIndicator2 = MenubarItemIndicator;
452
- var Separator2 = MenubarSeparator$1;
453
- var Sub2 = MenubarSub$1;
454
- var SubTrigger2 = MenubarSubTrigger$1;
455
- var SubContent2 = MenubarSubContent$1;
456
-
457
- function Menubar({ className, ...props }) {
458
- return /*#__PURE__*/ React.createElement(Root3, {
459
- "data-slot": "menubar",
460
- className: cn("bg-background *:font-lato flex h-9 w-fit items-center gap-1 rounded-md border p-1 shadow-xs", className),
461
- ...props
462
- });
463
- }
464
- function MenubarMenu({ ...props }) {
465
- return /*#__PURE__*/ React.createElement(Menu, {
466
- "data-slot": "menubar-menu",
467
- ...props
468
- });
469
- }
470
- function MenubarGroup({ ...props }) {
471
- return /*#__PURE__*/ React.createElement(Group2, {
472
- "data-slot": "menubar-group",
473
- ...props
474
- });
475
- }
476
- function MenubarPortal({ ...props }) {
477
- return /*#__PURE__*/ React.createElement(Portal2, {
478
- "data-slot": "menubar-portal",
479
- ...props
480
- });
481
- }
482
- function MenubarRadioGroup({ ...props }) {
483
- return /*#__PURE__*/ React.createElement(RadioGroup2, {
484
- "data-slot": "menubar-radio-group",
485
- ...props
486
- });
487
- }
488
- function MenubarTrigger({ className, ...props }) {
489
- return /*#__PURE__*/ React.createElement(Trigger, {
490
- "data-slot": "menubar-trigger",
491
- className: cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground *:font-lato flex items-center rounded-sm px-2 py-1 text-sm font-medium outline-hidden select-none", className),
492
- ...props
493
- });
494
- }
495
- function MenubarContent({ className, align = "start", alignOffset = -4, sideOffset = 8, ...props }) {
496
- return /*#__PURE__*/ React.createElement(MenubarPortal, null, /*#__PURE__*/ React.createElement(Content2, {
497
- "data-slot": "menubar-content",
498
- align: align,
499
- alignOffset: alignOffset,
500
- sideOffset: sideOffset,
501
- className: cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 *:font-lato z-50 min-w-[12rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-md", className),
502
- ...props
503
- }));
504
- }
505
- function MenubarItem({ className, inset, variant = "default", ...props }) {
506
- return /*#__PURE__*/ React.createElement(Item3, {
507
- "data-slot": "menubar-item",
508
- "data-inset": inset,
509
- "data-variant": variant,
510
- className: cn("focus:bg-accent focus:text-accent-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:focus:bg-destructive/10 dark:data-[variant=destructive]:focus:bg-destructive/20 data-[variant=destructive]:focus:text-destructive data-[variant=destructive]:*:[svg]:!text-destructive [&_svg:not([class*='text-'])]:text-muted-foreground *:font-lato relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 data-[inset]:pl-8 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
511
- ...props
512
- });
513
- }
514
- function MenubarCheckboxItem({ className, children, checked, ...props }) {
515
- return /*#__PURE__*/ React.createElement(CheckboxItem2, {
516
- "data-slot": "menubar-checkbox-item",
517
- className: cn("focus:bg-accent focus:text-accent-foreground *:font-lato relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
518
- checked: checked,
519
- ...props
520
- }, /*#__PURE__*/ React.createElement("span", {
521
- className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center"
522
- }, /*#__PURE__*/ React.createElement(ItemIndicator2, null, /*#__PURE__*/ React.createElement(Check, {
523
- className: "size-4"
524
- }))), children);
525
- }
526
- function MenubarRadioItem({ className, children, ...props }) {
527
- return /*#__PURE__*/ React.createElement(RadioItem2, {
528
- "data-slot": "menubar-radio-item",
529
- className: cn("focus:bg-accent focus:text-accent-foreground *:font-lato relative flex cursor-default items-center gap-2 rounded-xs py-1.5 pr-2 pl-8 text-sm outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", className),
530
- ...props
531
- }, /*#__PURE__*/ React.createElement("span", {
532
- className: "pointer-events-none absolute left-2 flex size-3.5 items-center justify-center"
533
- }, /*#__PURE__*/ React.createElement(ItemIndicator2, null, /*#__PURE__*/ React.createElement(Circle, {
534
- className: "size-2 fill-current"
535
- }))), children);
536
- }
537
- function MenubarLabel({ className, inset, ...props }) {
538
- return /*#__PURE__*/ React.createElement(Label2, {
539
- "data-slot": "menubar-label",
540
- "data-inset": inset,
541
- className: cn("*:font-lato px-2 py-1.5 text-sm font-medium data-[inset]:pl-8", className),
542
- ...props
543
- });
544
- }
545
- function MenubarSeparator({ className, ...props }) {
546
- return /*#__PURE__*/ React.createElement(Separator2, {
547
- "data-slot": "menubar-separator",
548
- className: cn("bg-border *:font-lato -mx-1 my-1 h-px", className),
549
- ...props
550
- });
551
- }
552
- function MenubarShortcut({ className, ...props }) {
553
- return /*#__PURE__*/ React.createElement("span", {
554
- "data-slot": "menubar-shortcut",
555
- className: cn("text-muted-foreground *:font-lato ml-auto text-xs tracking-widest", className),
556
- ...props
557
- });
558
- }
559
- function MenubarSub({ ...props }) {
560
- return /*#__PURE__*/ React.createElement(Sub2, {
561
- "data-slot": "menubar-sub",
562
- ...props
563
- });
564
- }
565
- function MenubarSubTrigger({ className, inset, children, ...props }) {
566
- return /*#__PURE__*/ React.createElement(SubTrigger2, {
567
- "data-slot": "menubar-sub-trigger",
568
- "data-inset": inset,
569
- className: cn("focus:bg-accent focus:text-accent-foreground data-[state=open]:bg-accent data-[state=open]:text-accent-foreground *:font-lato flex cursor-default items-center rounded-sm px-2 py-1.5 text-sm outline-none select-none data-[inset]:pl-8", className),
570
- ...props
571
- }, children, /*#__PURE__*/ React.createElement(ChevronRight, {
572
- className: "ml-auto h-4 w-4"
573
- }));
574
- }
575
- function MenubarSubContent({ className, ...props }) {
576
- return /*#__PURE__*/ React.createElement(SubContent2, {
577
- "data-slot": "menubar-sub-content",
578
- className: cn("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 *:font-lato z-50 min-w-[8rem] origin-(--radix-menubar-content-transform-origin) overflow-hidden rounded-md border p-1 shadow-lg", className),
579
- ...props
580
- });
581
- }
582
-
583
- export { Menubar, MenubarCheckboxItem, MenubarContent, MenubarGroup, MenubarItem, MenubarLabel, MenubarMenu, MenubarPortal, MenubarRadioGroup, MenubarRadioItem, MenubarSeparator, MenubarShortcut, MenubarSub, MenubarSubContent, MenubarSubTrigger, MenubarTrigger };
17
+ import '../chunks/index-C91RVyqZ.mjs';
18
+ import '../chunks/index-D2idZs3c.mjs';
19
+ import '../chunks/tslib.es6-C7Zd2S7n.mjs';
20
+ import '../chunks/index-DAVeJpo0.mjs';
21
+ import '../chunks/index-DPUWaCtp.mjs';
22
+ import '../chunks/index-CxyCY0ln.mjs';
23
+ import '../chunks/index-CQltol_K.mjs';
24
+ import '../chunks/index-DG3O8ViX.mjs';
25
+ import '../chunks/index-yIOZEA2j.mjs';
26
+ import '../chunks/utils-0YrH_ad8.mjs';
27
+ import '../chunks/bundle-mjs-CnEPwCUI.mjs';
28
+ import '../chunks/check-DklJUe6m.mjs';
29
+ import '../chunks/chevron-right-MqoBrbb8.mjs';
584
30
  //# sourceMappingURL=index.mjs.map