maz-ui 5.2.0 → 5.3.0

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 (381) hide show
  1. package/dist/assets/{MazAnimatedElement.DyTIN9i0.css → MazAnimatedElement.DhtEP3ik.css} +1 -1
  2. package/dist/assets/MazAnimatedText.Dv-MKKM6.css +1 -0
  3. package/dist/assets/{MazAvatar.C2LhFTX7.css → MazAvatar.Dtwci1qm.css} +1 -1
  4. package/dist/assets/MazBackdrop.b2ekNT99.css +1 -0
  5. package/dist/assets/{MazBadge.CB9OaOel.css → MazBadge.CGqy_EbP.css} +1 -1
  6. package/dist/assets/MazBottomSheet.CaEtkMXh.css +2 -0
  7. package/dist/assets/{MazBtn.CQZ0x6EA.css → MazBtn.C2EQzJZU.css} +2 -2
  8. package/dist/assets/MazBtnGroup.DRNPFetC.css +2 -0
  9. package/dist/assets/MazCard.BSWUiD79.css +2 -0
  10. package/dist/assets/{MazCardSpotlight.dY2F2qf_.css → MazCardSpotlight.PhQLeyP5.css} +1 -1
  11. package/dist/assets/MazCarousel.Cb-a2uQr.css +2 -0
  12. package/dist/assets/MazCheckbox.DZHtX6Jp.css +2 -0
  13. package/dist/assets/{MazChecklist.BqeT4vSK.css → MazChecklist.DQQa_zrR.css} +1 -1
  14. package/dist/assets/MazCircularProgressBar.D0OlZMYt.css +2 -0
  15. package/dist/assets/{MazCodeHighlight.DujV4E52.css → MazCodeHighlight.CQ9m-74a.css} +1 -1
  16. package/dist/assets/MazDatePicker.C2wDftZw.css +2 -0
  17. package/dist/assets/{MazDialog.CTMzs84K.css → MazDialog.BR64Z74t.css} +1 -1
  18. package/dist/assets/MazDropdown.SZuT6thH.css +2 -0
  19. package/dist/assets/MazDropzone.wEEboQDu.css +2 -0
  20. package/dist/assets/MazGallery.BX7r-wtb.css +2 -0
  21. package/dist/assets/MazIcon.BV_LxS-Z.css +2 -0
  22. package/dist/assets/MazInput.DJaGiW55.css +2 -0
  23. package/dist/assets/{MazInputCode.D0HncmUz.css → MazInputCode.t_PJGXD2.css} +2 -2
  24. package/dist/assets/MazInputNumber.CgTcSAtv.css +2 -0
  25. package/dist/assets/{MazInputPhoneNumber.BohhyjVT.css → MazInputPhoneNumber.EB_uKe08.css} +2 -2
  26. package/dist/assets/MazInputTags.bquXpcqD.css +2 -0
  27. package/dist/assets/{MazLazyImg.ClQWbxom.css → MazLazyImg.CWCbp72P.css} +2 -2
  28. package/dist/assets/{MazLoadingBar.Dpx5jfXP.css → MazLoadingBar.mtemourP.css} +1 -1
  29. package/dist/assets/MazMarkdownEditor.CnoRN9V1.css +2 -0
  30. package/dist/assets/MazPickerCalendar.D-zRGkl0.css +2 -0
  31. package/dist/assets/MazPickerCalendarGrid.CFa5kIWg.css +2 -0
  32. package/dist/assets/{MazPickerContainer.fYXW7UgT.css → MazPickerContainer.BZxcCk3a.css} +2 -2
  33. package/dist/assets/MazPickerHeader.DUGX8aiv.css +2 -0
  34. package/dist/assets/{MazPickerMonthSwitcher.DefguTDO.css → MazPickerMonthSwitcher.CfamAcBq.css} +1 -1
  35. package/dist/assets/MazPickerShortcuts.BBD-YKbA.css +2 -0
  36. package/dist/assets/MazPickerTime.BhcHB6bd.css +2 -0
  37. package/dist/assets/MazPopover.C0elLpud.css +2 -0
  38. package/dist/assets/MazRadio.BGvn9Umy.css +2 -0
  39. package/dist/assets/{MazRadioButtons.CWC_M3J5.css → MazRadioButtons.C4myk_ZK.css} +2 -2
  40. package/dist/assets/MazReadMore.DQXRNbbG.css +1 -0
  41. package/dist/assets/MazSelect.OXU9kQvL.css +2 -0
  42. package/dist/assets/{MazSelectCountry.grQk55xc.css → MazSelectCountry.CFzAkNio.css} +2 -2
  43. package/dist/assets/{MazSlider.Cn29GnTJ.css → MazSlider.j2_gT-oT.css} +1 -1
  44. package/dist/assets/MazStepper.B1e3dFtd.css +2 -0
  45. package/dist/assets/MazSwitch.DJixarqu.css +2 -0
  46. package/dist/assets/MazTable.BH812zSn.css +2 -0
  47. package/dist/assets/MazTabsBar.UwSzz9Wt.css +2 -0
  48. package/dist/assets/MazTabsContentItem.pXGfvJko.css +1 -0
  49. package/dist/assets/{MazTextarea.DVXYwhiy.css → MazTextarea.BYrWfJBd.css} +1 -1
  50. package/dist/assets/MazTimeline.CbasVucv.css +2 -0
  51. package/dist/assets/{PhoneInput.CgAHuGbX.css → PhoneInput.DRsIV1rR.css} +2 -2
  52. package/dist/assets/toast.B1V6kZPr.css +1 -0
  53. package/dist/assets/vFullscreenImg.BXwlm-9Q.css +2 -0
  54. package/dist/chunks/{MazAccordion.BsRNCLwJ.js → MazAccordion.Btij5mhm.js} +6 -8
  55. package/dist/chunks/{MazAlert.ChAIFKaq.js → MazAlert.DNMhSqNq.js} +3 -5
  56. package/dist/chunks/{MazAnimatedCounter.DQo6b-b4.js → MazAnimatedCounter.Bs3peIyP.js} +2 -4
  57. package/dist/chunks/{MazAnimatedElement.Dpr9S8oQ.js → MazAnimatedElement.DKxWyqWP.js} +2 -4
  58. package/dist/chunks/{MazAnimatedText.Cb-Sc4bP.js → MazAnimatedText.BiW7slGZ.js} +4 -6
  59. package/dist/chunks/{MazAvatar.D-tmxJC9.js → MazAvatar._WDL1SUQ.js} +4 -6
  60. package/dist/chunks/{MazBackdrop.q3njgeNN.js → MazBackdrop.BmAl714p.js} +5 -8
  61. package/dist/chunks/{MazBadge.DQPg3Di0.js → MazBadge.B14ogPRS.js} +3 -5
  62. package/dist/chunks/{MazBottomSheet.CzbFAuvi.js → MazBottomSheet.B2IJaD5b.js} +8 -10
  63. package/dist/chunks/{MazBtn.D-Tj7I_e.js → MazBtn.BUKtmScZ.js} +8 -10
  64. package/dist/chunks/{MazBtnGroup.CFXB2pFv.js → MazBtnGroup.B8VyKw-E.js} +2 -4
  65. package/dist/chunks/{MazCard.Bbzzzi1r.js → MazCard.DPntR1vE.js} +7 -9
  66. package/dist/chunks/{MazCardSpotlight.DaMlphuU.js → MazCardSpotlight.B5E1MUqt.js} +3 -5
  67. package/dist/chunks/{MazCarousel.B3KM6B2F.js → MazCarousel.B4lwyoIi.js} +4 -6
  68. package/dist/chunks/{MazChart.BYHGiMts.js → MazChart.Otg375mA.js} +2 -4
  69. package/dist/chunks/{MazCheckbox.CrX2lVRX.js → MazCheckbox.DzPn44AD.js} +6 -8
  70. package/dist/chunks/{MazChecklist.DnHp--sW.js → MazChecklist.DUnZlajk.js} +6 -8
  71. package/dist/chunks/{MazCircularProgressBar.DdfOj9bH.js → MazCircularProgressBar.jT5gdAy6.js} +5 -7
  72. package/dist/chunks/{MazCodeHighlight.3EUuol1S.js → MazCodeHighlight.Csq_sqnF.js} +3 -5
  73. package/dist/chunks/{MazContainer.CII2qDCA.js → MazContainer.ChTZkut1.js} +3 -5
  74. package/dist/chunks/{MazDatePicker.BskcqfkP.js → MazDatePicker.Bb7lO0re.js} +7 -9
  75. package/dist/chunks/{MazDialog.C12rD3uC.js → MazDialog.BYpmJT9P.js} +5 -7
  76. package/dist/chunks/{MazDialogConfirm.BL59GDsx.js → MazDialogConfirm.BNvSE0q7.js} +4 -7
  77. package/dist/chunks/{MazDrawer.CC8zomfx.js → MazDrawer.BOu4rlwF.js} +4 -6
  78. package/dist/chunks/{MazDropdown.BFaKN-Sq.js → MazDropdown.CVDcrpaI.js} +7 -9
  79. package/dist/chunks/{MazDropzone.D180OqDW.js → MazDropzone.BlCko310.js} +7 -9
  80. package/dist/chunks/{MazExpandAnimation.Etwl_dOy.js → MazExpandAnimation.Cspxko0G.js} +3 -5
  81. package/dist/chunks/{MazFullscreenLoader.CJ83xq4d.js → MazFullscreenLoader.U7KKCuDa.js} +4 -6
  82. package/dist/chunks/{MazGallery.CKRCfgEa.js → MazGallery.98U7yGw-.js} +10 -12
  83. package/dist/chunks/{MazIcon.DBLUM6Ze.js → MazIcon.CTTyOxFF.js} +5 -8
  84. package/dist/chunks/{MazInput.BQfzcw_q.js → MazInput.D5XaAXSX.js} +8 -10
  85. package/dist/chunks/{MazInputCode.u6HfKh59.js → MazInputCode.HmxMcD7H.js} +5 -7
  86. package/dist/chunks/{MazInputNumber.TWhoHOl1.js → MazInputNumber.BdtkPqTU.js} +7 -9
  87. package/dist/chunks/{MazInputPhoneNumber.BXFEI-eS.js → MazInputPhoneNumber.C_hKMPXQ.js} +8 -10
  88. package/dist/chunks/{MazInputPrice.NyXazUwp.js → MazInputPrice.CjNY5aY5.js} +2 -4
  89. package/dist/chunks/{MazInputTags.B8Qp88Pt.js → MazInputTags.CrpFx2pW.js} +5 -7
  90. package/dist/chunks/{MazLazyImg.hu7v_r8B.js → MazLazyImg.BILq221u.js} +5 -7
  91. package/dist/chunks/{MazLink.DhJZNmks.js → MazLink.DH4sPDZT.js} +2 -4
  92. package/dist/chunks/{MazLoadingBar.D3ML3lHn.js → MazLoadingBar.DNQ__Kf2.js} +2 -4
  93. package/dist/chunks/{MazMarkdownEditor.ENw_RcQf.js → MazMarkdownEditor.DHZ6w2s-.js} +8 -10
  94. package/dist/chunks/{MazPagination.C9xcws2r.js → MazPagination.DVAB9bah.js} +4 -6
  95. package/dist/chunks/{MazPickerCalendarDays.CY2N-8yW.js → MazPickerCalendarDays.Nr5SsV7U.js} +3 -5
  96. package/dist/chunks/{MazPickerCalendarGrid.5VBnk7xS.js → MazPickerCalendarGrid.BP1ORxgh.js} +8 -10
  97. package/dist/chunks/{MazPickerContainer.DX-I2_wa.js → MazPickerContainer.Dgy04qGk.js} +4 -6
  98. package/dist/chunks/{MazPopover.DAwL8had.js → MazPopover.kHBeQL1V.js} +7 -9
  99. package/dist/chunks/{MazPullToRefresh.CkEm7Jkc.js → MazPullToRefresh.DGzxXgoy.js} +3 -5
  100. package/dist/chunks/{MazRadio.CVxRnTEz.js → MazRadio.CMJwK0HX.js} +4 -6
  101. package/dist/chunks/{MazRadioButtons.C8vKqNk9.js → MazRadioButtons.DA0yutbu.js} +6 -8
  102. package/dist/chunks/{MazReadMore.DzcNsBeO.js → MazReadMore.BhkyNQCX.js} +5 -7
  103. package/dist/chunks/{MazReadingProgressBar.BXHLxb3v.js → MazReadingProgressBar.CJKrISmN.js} +1 -3
  104. package/dist/chunks/{MazSelect.DC-7menA.js → MazSelect.6tfu6r1B.js} +10 -12
  105. package/dist/chunks/{MazSelectCountry.5G-rdIHV.js → MazSelectCountry.BPAazifN.js} +6 -8
  106. package/dist/chunks/{MazSidebar.DkBUnkGq.js → MazSidebar.BEviPyxk.js} +3 -5
  107. package/dist/chunks/{MazSidebarContent.DOJEyefq.js → MazSidebarContent.RRgO-dyC.js} +3 -5
  108. package/dist/chunks/{MazSidebarFooter.DbS0RtEi.js → MazSidebarFooter.D1085Gjx.js} +3 -5
  109. package/dist/chunks/{MazSidebarGroup.C1ixIGr9.js → MazSidebarGroup.BHwSbWxu.js} +3 -5
  110. package/dist/chunks/{MazSidebarHeader.Di8oo_XA.js → MazSidebarHeader.DNyEm8OF.js} +3 -5
  111. package/dist/chunks/{MazSidebarMenu.SWC4kq9_.js → MazSidebarMenu.D0OCKyc_.js} +3 -5
  112. package/dist/chunks/{MazSidebarMenuButton.DCdnlNFf.js → MazSidebarMenuButton.DkMkBOeB.js} +6 -8
  113. package/dist/chunks/{MazSidebarMenuItem.k4zPeqGh.js → MazSidebarMenuItem.CrjZg-Qm.js} +3 -5
  114. package/dist/chunks/{MazSidebarMenuSub.DEe1TGGk.js → MazSidebarMenuSub.B4DxUQCr.js} +3 -5
  115. package/dist/chunks/{MazSidebarSeparator.BVS6wzJY.js → MazSidebarSeparator.C_uu1J2Q.js} +3 -5
  116. package/dist/chunks/{MazSidebarTrigger.VxskTpDJ.js → MazSidebarTrigger.DpRDS1v7.js} +3 -5
  117. package/dist/chunks/{MazSkeleton.Dk1ShoT0.js → MazSkeleton.CQ3_Xc9W.js} +3 -5
  118. package/dist/chunks/{MazSlider.BhyTD25K.js → MazSlider.DieB7yDi.js} +5 -8
  119. package/dist/chunks/{MazSpinner.D0eNHEya.js → MazSpinner.B-HRk57j.js} +2 -4
  120. package/dist/chunks/{MazStepper.CL201lqy.js → MazStepper.DjTMis2d.js} +4 -6
  121. package/dist/chunks/{MazSwitch.Bj75VysV.js → MazSwitch.DpxhGU0L.js} +3 -5
  122. package/dist/chunks/{MazTable.jkeRyoeh.js → MazTable.BpaRJods.js} +8 -10
  123. package/dist/chunks/{MazTableCell.OwOUKRab.js → MazTableCell.9Os_NELg.js} +2 -4
  124. package/dist/chunks/{MazTableRow.CQ1U-LsR.js → MazTableRow.B1e7q54U.js} +2 -4
  125. package/dist/chunks/{MazTableTitle.BcvXDl2q.js → MazTableTitle.kyyOVsOE.js} +2 -4
  126. package/dist/chunks/{MazTabs.DfaqkFDt.js → MazTabs.BAj_dmfs.js} +2 -4
  127. package/dist/chunks/{MazTabsBar.B9f5DxPw.js → MazTabsBar.D0sCLbzU.js} +6 -8
  128. package/dist/chunks/{MazTabsContent.BzXUvzvg.js → MazTabsContent.BFdrQvrB.js} +1 -3
  129. package/dist/chunks/{MazTabsContentItem.mjdYWx_T.js → MazTabsContentItem.dSgIVXgC.js} +4 -6
  130. package/dist/chunks/{MazTextarea.DSGBjXKb.js → MazTextarea.BgjCLbiY.js} +6 -8
  131. package/dist/chunks/{MazTicker.BwCeA6Gd.js → MazTicker.SRUv6Ftm.js} +4 -6
  132. package/dist/chunks/{MazTimeline.gGHTkmlu.js → MazTimeline.BOrLg3-X.js} +4 -6
  133. package/dist/chunks/{MazUiProvider.Dd-E4ZJ3.js → MazUiProvider.D_Iygouk.js} +1 -3
  134. package/dist/chunks/{MazWindowMockup.CjrnZsaI.js → MazWindowMockup.BdzvmMhe.js} +2 -4
  135. package/dist/chunks/{PhoneInput.ANohH9a_.js → PhoneInput.D8vlMg1S.js} +7 -10
  136. package/dist/chunks/{_plugin-vue_export-helper.B-B36dWQ.js → _plugin-vue_export-helper.Cof3rBHz.js} +1 -2
  137. package/dist/chunks/{autofillSync.DK1d8Uk5.js → autofillSync.Le796vly.js} +1 -2
  138. package/dist/chunks/{constants.DmWr5JHV.js → constants.8LeVHtRE.js} +1 -2
  139. package/dist/chunks/{dialog.bL4e40zE.js → dialog.D6ygnAxv.js} +3 -5
  140. package/dist/chunks/{dom-events.Sq75viWa.js → dom-events.C1S0SGWM.js} +5 -33
  141. package/dist/chunks/{hasSlotContent.BXp2zdg6.js → hasSlotContent.CYvxBWwk.js} +1 -2
  142. package/dist/chunks/{resolveLinkComponent.CITQH9BT.js → resolveLinkComponent.CbhnzzE7.js} +1 -2
  143. package/dist/chunks/{toast.D2_q9UDS.js → toast.BlRcQFI-.js} +7 -11
  144. package/dist/chunks/{types.x3QVtiJb.js → types.CP7Qmpu-.js} +1 -2
  145. package/dist/chunks/{utils.DZI3H2yF.js → utils.CMJkhrM6.js} +1 -2
  146. package/dist/chunks/{vFullscreenImg.Bvu5UVHF.js → vFullscreenImg.BO1UVbm1.js} +9 -14
  147. package/dist/chunks/{vLazyImg.BkWWrK0F.js → vLazyImg.B_md5iRq.js} +3 -6
  148. package/dist/chunks/{vZoomImg.DkcVmA0t.js → vZoomImg.BJ9xUH-7.js} +4 -9
  149. package/dist/components/MazAccordion.js +1 -1
  150. package/dist/components/MazAccordion.vue.d.ts +15 -13
  151. package/dist/components/MazAlert.js +1 -1
  152. package/dist/components/MazAlert.vue.d.ts +7 -5
  153. package/dist/components/MazAnimatedCounter.js +1 -1
  154. package/dist/components/MazAnimatedCounter.vue.d.ts +11 -9
  155. package/dist/components/MazAnimatedElement.js +1 -1
  156. package/dist/components/MazAnimatedElement.vue.d.ts +5 -3
  157. package/dist/components/MazAnimatedText.js +1 -1
  158. package/dist/components/MazAvatar.js +1 -1
  159. package/dist/components/MazAvatar.vue.d.ts +9 -7
  160. package/dist/components/MazBackdrop.js +1 -1
  161. package/dist/components/MazBackdrop.vue.d.ts +7 -5
  162. package/dist/components/MazBadge.js +1 -1
  163. package/dist/components/MazBadge.vue.d.ts +5 -3
  164. package/dist/components/MazBottomSheet.js +1 -1
  165. package/dist/components/MazBottomSheet.vue.d.ts +21 -19
  166. package/dist/components/MazBtn.js +1 -1
  167. package/dist/components/MazBtn.vue.d.ts +13 -11
  168. package/dist/components/MazBtnGroup.js +1 -1
  169. package/dist/components/MazBtnGroup.vue.d.ts +10 -8
  170. package/dist/components/MazCard.js +1 -1
  171. package/dist/components/MazCard.vue.d.ts +21 -19
  172. package/dist/components/MazCardSpotlight.js +1 -1
  173. package/dist/components/MazCardSpotlight.vue.d.ts +5 -3
  174. package/dist/components/MazCarousel.js +1 -1
  175. package/dist/components/MazCarousel.vue.d.ts +11 -9
  176. package/dist/components/MazChart.js +1 -1
  177. package/dist/components/MazCheckbox.js +1 -1
  178. package/dist/components/MazChecklist.js +1 -1
  179. package/dist/components/MazCircularProgressBar.js +1 -1
  180. package/dist/components/MazCircularProgressBar.vue.d.ts +9 -7
  181. package/dist/components/MazCodeHighlight.js +1 -1
  182. package/dist/components/MazContainer.js +1 -1
  183. package/dist/components/MazContainer.vue.d.ts +13 -11
  184. package/dist/components/MazDatePicker/MazPickerCalendar.js +4 -6
  185. package/dist/components/MazDatePicker/MazPickerCalendarMonth/MazPickerCalendarDays.js +1 -1
  186. package/dist/components/MazDatePicker/MazPickerCalendarMonth/MazPickerCalendarGrid.js +1 -1
  187. package/dist/components/MazDatePicker/MazPickerCalendarMonth/MazPickerCalendarMonth.js +4 -6
  188. package/dist/components/MazDatePicker/MazPickerCalendarSwitcher.js +4 -6
  189. package/dist/components/MazDatePicker/MazPickerContainer.js +1 -1
  190. package/dist/components/MazDatePicker/MazPickerHeader.js +4 -6
  191. package/dist/components/MazDatePicker/MazPickerMonthSwitcher.js +6 -8
  192. package/dist/components/MazDatePicker/MazPickerShortcuts.js +4 -6
  193. package/dist/components/MazDatePicker/MazPickerTime.js +6 -8
  194. package/dist/components/MazDatePicker/MazPickerYearSwitcher.js +5 -7
  195. package/dist/components/MazDatePicker.js +1 -1
  196. package/dist/components/MazDatePicker.vue.d.ts +142 -8
  197. package/dist/components/MazDialog.js +1 -1
  198. package/dist/components/MazDialog.vue.d.ts +17 -15
  199. package/dist/components/MazDialogConfirm.js +1 -1
  200. package/dist/components/MazDrawer.js +1 -1
  201. package/dist/components/MazDrawer.vue.d.ts +11 -9
  202. package/dist/components/MazDropdown.js +1 -1
  203. package/dist/components/MazDropdown.vue.d.ts +191 -57
  204. package/dist/components/MazDropzone.js +1 -1
  205. package/dist/components/MazDropzone.vue.d.ts +17 -15
  206. package/dist/components/MazExpandAnimation.js +1 -1
  207. package/dist/components/MazExpandAnimation.vue.d.ts +5 -3
  208. package/dist/components/MazFullscreenLoader.js +1 -1
  209. package/dist/components/MazFullscreenLoader.vue.d.ts +5 -3
  210. package/dist/components/MazGallery.js +1 -1
  211. package/dist/components/MazIcon.js +1 -1
  212. package/dist/components/MazInput.js +1 -1
  213. package/dist/components/MazInputCode.js +1 -1
  214. package/dist/components/MazInputNumber.js +1 -1
  215. package/dist/components/MazInputPhoneNumber/PhoneInput.js +1 -1
  216. package/dist/components/MazInputPhoneNumber.js +1 -1
  217. package/dist/components/MazInputPhoneNumber.vue.d.ts +15 -13
  218. package/dist/components/MazInputPrice.js +1 -1
  219. package/dist/components/MazInputTags.js +1 -1
  220. package/dist/components/MazLazyImg.js +1 -1
  221. package/dist/components/MazLazyImg.vue.d.ts +5 -3
  222. package/dist/components/MazLink.js +1 -1
  223. package/dist/components/MazLink.vue.d.ts +11 -9
  224. package/dist/components/MazLoadingBar.js +1 -1
  225. package/dist/components/MazMarkdownEditor.js +1 -1
  226. package/dist/components/MazPagination.js +1 -1
  227. package/dist/components/MazPagination.vue.d.ts +23 -21
  228. package/dist/components/MazPopover.js +1 -1
  229. package/dist/components/MazPopover.vue.d.ts +18 -16
  230. package/dist/components/MazPullToRefresh.js +1 -1
  231. package/dist/components/MazRadio.js +1 -1
  232. package/dist/components/MazRadioButtons.js +1 -1
  233. package/dist/components/MazReadMore.js +1 -1
  234. package/dist/components/MazReadMore.vue.d.ts +7 -5
  235. package/dist/components/MazReadingProgressBar.js +1 -1
  236. package/dist/components/MazSelect.js +1 -1
  237. package/dist/components/MazSelectCountry.js +1 -1
  238. package/dist/components/MazSidebar.js +1 -1
  239. package/dist/components/MazSidebarContent.js +1 -1
  240. package/dist/components/MazSidebarContent.vue.d.ts +5 -3
  241. package/dist/components/MazSidebarFooter.js +1 -1
  242. package/dist/components/MazSidebarFooter.vue.d.ts +5 -3
  243. package/dist/components/MazSidebarGroup.js +1 -1
  244. package/dist/components/MazSidebarGroup.vue.d.ts +5 -3
  245. package/dist/components/MazSidebarHeader.js +1 -1
  246. package/dist/components/MazSidebarHeader.vue.d.ts +5 -3
  247. package/dist/components/MazSidebarMenu.js +1 -1
  248. package/dist/components/MazSidebarMenu.vue.d.ts +5 -3
  249. package/dist/components/MazSidebarMenuButton.js +1 -1
  250. package/dist/components/MazSidebarMenuItem.js +1 -1
  251. package/dist/components/MazSidebarMenuItem.vue.d.ts +5 -3
  252. package/dist/components/MazSidebarMenuSub.js +1 -1
  253. package/dist/components/MazSidebarSeparator.js +1 -1
  254. package/dist/components/MazSidebarTrigger.js +1 -1
  255. package/dist/components/MazSidebarTrigger.vue.d.ts +5 -3
  256. package/dist/components/MazSkeleton.js +1 -1
  257. package/dist/components/MazSlider.js +1 -1
  258. package/dist/components/MazSpinner.js +1 -1
  259. package/dist/components/MazStepper.js +1 -1
  260. package/dist/components/MazStepper.vue.d.ts +23 -21
  261. package/dist/components/MazSwitch.js +1 -1
  262. package/dist/components/MazSwitch.vue.d.ts +7 -5
  263. package/dist/components/MazTable.js +1 -1
  264. package/dist/components/MazTableCell.js +1 -1
  265. package/dist/components/MazTableCell.vue.d.ts +5 -3
  266. package/dist/components/MazTableRow.js +1 -1
  267. package/dist/components/MazTableRow.vue.d.ts +5 -3
  268. package/dist/components/MazTableTitle.js +1 -1
  269. package/dist/components/MazTableTitle.vue.d.ts +5 -3
  270. package/dist/components/MazTableVirtualizer.js +1 -3
  271. package/dist/components/MazTabs.js +1 -1
  272. package/dist/components/MazTabs.vue.d.ts +5 -3
  273. package/dist/components/MazTabsBar.js +1 -1
  274. package/dist/components/MazTabsContent.js +1 -1
  275. package/dist/components/MazTabsContent.vue.d.ts +5 -3
  276. package/dist/components/MazTabsContentItem.js +1 -1
  277. package/dist/components/MazTabsContentItem.vue.d.ts +5 -3
  278. package/dist/components/MazTextarea.js +1 -1
  279. package/dist/components/MazTicker.js +1 -1
  280. package/dist/components/MazTicker.vue.d.ts +13 -11
  281. package/dist/components/MazTimeline.js +1 -1
  282. package/dist/components/MazTimeline.vue.d.ts +37 -35
  283. package/dist/components/MazUiProvider.js +1 -1
  284. package/dist/components/MazWindowMockup.js +1 -1
  285. package/dist/components/MazWindowMockup.vue.d.ts +5 -3
  286. package/dist/components/index.js +78 -78
  287. package/dist/composables/index.js +5 -5
  288. package/dist/composables/useAos.js +1 -2
  289. package/dist/composables/useBreakpoints.js +1 -2
  290. package/dist/composables/useDialog.js +1 -2
  291. package/dist/composables/useDisplayNames.d.ts +1 -1
  292. package/dist/composables/useDisplayNames.js +1 -2
  293. package/dist/composables/useDrag.js +1 -2
  294. package/dist/composables/useDropzone.js +1 -2
  295. package/dist/composables/useFormField.js +2 -3
  296. package/dist/composables/useFormValidator.js +2 -3
  297. package/dist/composables/useFreezeValue.js +1 -2
  298. package/dist/composables/useGlobalConfig.js +1 -2
  299. package/dist/composables/useIdleTimeout.js +1 -2
  300. package/dist/composables/useInjectStrict.js +1 -2
  301. package/dist/composables/useInstanceUniqId.js +1 -2
  302. package/dist/composables/useMazIconProps.js +1 -2
  303. package/dist/composables/useMountComponent.js +1 -2
  304. package/dist/composables/useMutationObserver.js +1 -2
  305. package/dist/composables/usePullToRefresh.js +1 -2
  306. package/dist/composables/useReadingTime.js +1 -2
  307. package/dist/composables/useSidebar.js +2 -3
  308. package/dist/composables/useStringMatching.js +1 -2
  309. package/dist/composables/useSwipe.js +1 -2
  310. package/dist/composables/useTimer.js +1 -2
  311. package/dist/composables/useToast.js +1 -2
  312. package/dist/composables/useUserVisibility.js +1 -2
  313. package/dist/composables/useWait.js +1 -2
  314. package/dist/composables/useWindowSize.js +1 -2
  315. package/dist/country-flags.js +1 -2
  316. package/dist/css/main.css +2 -2
  317. package/dist/directives/index.js +4 -4
  318. package/dist/directives/vClickOutside.js +1 -2
  319. package/dist/directives/vFullscreenImg.js +1 -1
  320. package/dist/directives/vLazyImg.js +1 -1
  321. package/dist/directives/vTooltip.js +2 -3
  322. package/dist/directives/vZoomImg.js +1 -1
  323. package/dist/plugins/aos.js +1 -2
  324. package/dist/plugins/dialog.js +1 -1
  325. package/dist/plugins/index.js +4 -4
  326. package/dist/plugins/maz-ui.js +1 -2
  327. package/dist/plugins/toast.js +1 -1
  328. package/dist/plugins/wait.js +1 -2
  329. package/dist/resolvers/MazComponentsResolver.js +1 -2
  330. package/dist/resolvers/MazDirectivesResolver.js +1 -2
  331. package/dist/resolvers/MazModulesResolver.js +1 -2
  332. package/dist/resolvers/index.js +2 -2
  333. package/dist/tailwindcss/variables/breakpoints.js +1 -2
  334. package/docs/agents/claude-rule.md +13 -46
  335. package/docs/components/maz-card.md +1 -1
  336. package/docs/components/maz-dropdown.md +1 -1
  337. package/docs/components/maz-input-number.md +1 -1
  338. package/docs/components/maz-input-phone-number.md +1 -1
  339. package/docs/components/maz-input.md +1 -1
  340. package/docs/components/maz-select-country.md +2 -2
  341. package/docs/ecosystem/node/index.md +1 -1
  342. package/docs/ecosystem/node/setup-agents.md +38 -1
  343. package/docs/ecosystem/nuxt.md +3 -3
  344. package/docs/guide/ai-agents.md +5 -4
  345. package/docs/guide/migration-v5.md +2 -2
  346. package/docs/manifest.json +1 -1
  347. package/package.json +29 -29
  348. package/dist/assets/MazAnimatedText.CDGIpEgK.css +0 -1
  349. package/dist/assets/MazBackdrop.oOonokrN.css +0 -1
  350. package/dist/assets/MazBottomSheet.DNqkRSpP.css +0 -2
  351. package/dist/assets/MazBtnGroup.Du89-F-d.css +0 -2
  352. package/dist/assets/MazCard.C9aNYhTc.css +0 -2
  353. package/dist/assets/MazCarousel.DhuUGS3H.css +0 -2
  354. package/dist/assets/MazCheckbox.DbnOKpmV.css +0 -2
  355. package/dist/assets/MazCircularProgressBar.jHiE1mI-.css +0 -2
  356. package/dist/assets/MazDatePicker.CRBlmrtj.css +0 -2
  357. package/dist/assets/MazDropdown.Cl7GGW0-.css +0 -2
  358. package/dist/assets/MazDropzone.BW2grpTi.css +0 -2
  359. package/dist/assets/MazGallery.CpUdMJvX.css +0 -2
  360. package/dist/assets/MazIcon.DxwzTFK5.css +0 -2
  361. package/dist/assets/MazInput.CodSrGyP.css +0 -2
  362. package/dist/assets/MazInputNumber.DhL19kA5.css +0 -2
  363. package/dist/assets/MazInputTags.Db_HfOFP.css +0 -2
  364. package/dist/assets/MazMarkdownEditor.Uu6biPbT.css +0 -2
  365. package/dist/assets/MazPickerCalendar.vMQkiGK8.css +0 -2
  366. package/dist/assets/MazPickerCalendarGrid.ICUeY6Fp.css +0 -2
  367. package/dist/assets/MazPickerHeader.C5VJp1f3.css +0 -2
  368. package/dist/assets/MazPickerShortcuts.Bul-ou6z.css +0 -2
  369. package/dist/assets/MazPickerTime.D_PAN71o.css +0 -2
  370. package/dist/assets/MazPopover.3eB0nA3R.css +0 -2
  371. package/dist/assets/MazRadio.kMJv1SlW.css +0 -2
  372. package/dist/assets/MazReadMore.CEE-TnkG.css +0 -1
  373. package/dist/assets/MazSelect.JjmE1lGO.css +0 -2
  374. package/dist/assets/MazStepper.CR4wV67O.css +0 -2
  375. package/dist/assets/MazSwitch.DVZPifAy.css +0 -2
  376. package/dist/assets/MazTable.L3pCMD_f.css +0 -2
  377. package/dist/assets/MazTabsBar.C66z7VI0.css +0 -2
  378. package/dist/assets/MazTabsContentItem.DrmxE5oM.css +0 -1
  379. package/dist/assets/MazTimeline.C4tNvs8B.css +0 -2
  380. package/dist/assets/toast.9XdXzQV5.css +0 -1
  381. package/dist/assets/vFullscreenImg.YIh2Y0O_.css +0 -2
@@ -1,5 +1,5 @@
1
1
  import { capitalize } from "@maz-ui/utils/helpers/capitalize";
2
- //#region src/resolvers/MazDirectivesResolver.ts
2
+ // src/resolvers/MazDirectivesResolver.ts
3
3
  var vRegex = /^v/;
4
4
  function MazDirectivesResolver(options) {
5
5
  return {
@@ -14,5 +14,4 @@ function MazDirectivesResolver(options) {
14
14
  }
15
15
  };
16
16
  }
17
- //#endregion
18
17
  export { MazDirectivesResolver };
@@ -1,5 +1,5 @@
1
1
  import { capitalize } from "@maz-ui/utils/helpers/capitalize";
2
- //#region src/resolvers/MazModulesResolver.ts
2
+ // src/resolvers/MazModulesResolver.ts
3
3
  var composablesMap = {
4
4
  useInjectStrict: !0,
5
5
  useAos: !0,
@@ -85,5 +85,4 @@ function MazModulesResolver(options) {
85
85
  };
86
86
  };
87
87
  }
88
- //#endregion
89
88
  export { MazModulesResolver };
@@ -1,4 +1,4 @@
1
- import { MazModulesResolver } from "./MazModulesResolver.js";
2
- import { MazDirectivesResolver } from "./MazDirectivesResolver.js";
3
1
  import { MazComponentsResolver } from "./MazComponentsResolver.js";
2
+ import { MazDirectivesResolver } from "./MazDirectivesResolver.js";
3
+ import { MazModulesResolver } from "./MazModulesResolver.js";
4
4
  export { MazComponentsResolver, MazDirectivesResolver, MazModulesResolver };
@@ -1,4 +1,4 @@
1
- //#region src/tailwindcss/variables/breakpoints.ts
1
+ // src/tailwindcss/variables/breakpoints.ts
2
2
  var screens = {
3
3
  "mob-s": "320px",
4
4
  "mob-m": "425px",
@@ -18,5 +18,4 @@ function getNumericScreensFromTailwind(inputScreens) {
18
18
  for (let [key, value] of Object.entries(inputScreens)) breakpoints[key] = Number.parseInt(value, 10);
19
19
  return breakpoints;
20
20
  }
21
- //#endregion
22
21
  export { getNumericScreensFromTailwind, screens };
@@ -1,66 +1,33 @@
1
1
  # maz-ui
2
2
 
3
- This project is built with **maz-ui** and its ecosystem. Reuse what it provides instead of re-implementing it: most UI elements, helpers, icons and styles you need already exist.
3
+ This project is built with **maz-ui** and its ecosystem. Reuse what it provides instead of re-implementing it: UI elements, helpers, icons and styles you need usually already exist.
4
4
 
5
5
  ### Look it up before you write it
6
6
 
7
- - **MCP server `maz-ui`** (when available): `search_docs` (describe the need: "confirm before delete"), `get_component_api`, `find_icons`, `get_theme_tokens`, `get_doc`, `review_code`.
8
- - **Version-matched docs** in `node_modules/maz-ui/docs/` (start with `README.md`; in a monorepo, the `maz-ui` of the app).
7
+ - **MCP server `maz-ui`** (when available): `search_docs` (describe the need: "confirm before delete"), `get_component_api`, `find_icons`, `get_theme_tokens`, `get_doc` (icons, helpers, themes, translations, plugins, forms), `review_code`.
8
+ - Otherwise the version-matched docs in `node_modules/maz-ui/docs/` (start with `README.md`; in a monorepo, the `maz-ui` of the app).
9
9
 
10
10
  Never guess an API: only use documented props, events, slots and imports.
11
11
 
12
- ### Which package for what
12
+ ### Rules
13
13
 
14
- `maz-ui` (components, composables, directives, plugins), `@maz-ui/themes` (brand colors, fonts, dark mode), `@maz-ui/icons` (icons, logos, flags), `@maz-ui/utils` (helpers), `@maz-ui/translations` (texts of the components), `@maz-ui/nuxt` (Nuxt module).
15
-
16
- ### Components
17
-
18
- - Use `Maz*` components instead of native elements or hand-made widgets: `MazBtn` (not `<button>`), `MazLink`, `MazInput`, `MazSelect`, `MazCheckbox`, `MazDialog`, `MazDrawer`, `MazPopover`, `MazDropdown`, `MazTabs`, `MazTable`, `MazCard`, `MazAvatar`, `MazBadge`, `MazAlert`, `MazDatePicker`, `MazInputPhoneNumber`, `MazDropzone`, `MazPagination`...
19
- - Prop values are typed: colors are `primary | secondary | accent | info | success | warning | destructive | contrast | transparent` (plus `surface` on some components), sizes `mini | xs | sm | md | lg | xl`.
20
- - A button with only an icon needs an `aria-label`.
21
-
22
- ### Feedback, overlays and forms
23
-
24
- - `useToast()` for notifications, `useDialog()` or `MazDialogConfirm` for confirmations, `useWait()` for loading states, `MazSkeleton` / `MazSpinner` while data loads.
25
- - These composables need their plugin. Vue: `app.use(ToastPlugin)` from `maz-ui/plugins/toast` (`DialogPlugin`, `WaitPlugin`, `AosPlugin` likewise). Nuxt: `mazUi: { plugins: { toast: true } }`, off by default like the directives (`mazUi.directives.vTooltip`, or import the directive).
26
- - Forms: `useFormValidator` / `useFormField` with your Standard Schema library (Zod, Valibot, ArkType).
27
-
28
- ### Icons
29
-
30
- Use `@maz-ui/icons`, never inline SVG nor another icon library. Pick the format by usage:
31
-
32
- - **Icon props** (`<MazBtn :start-icon>`, `<MazIcon :icon>`...): the raw SVG string, the lightest, `@maz-ui/icons/raw/MazTrash`.
33
- - **Directly in a template**: the component, `@maz-ui/icons/static/MazTrash`, then `<MazTrash class="size-5 text-muted" />` (size and color from the text: `1em`, `currentColor`).
34
- - **Not visible at first render** (`v-if`, menus, dialogs, tabs): the lazy component, `@maz-ui/icons/lazy/MazTrash`. Never for icons visible on load: each one is an extra request.
35
- - `<img>` or CSS only for multicolor icons (flags, logos): `@maz-ui/icons/svg/<name>.svg`, the text color does not apply there.
36
-
37
- ### Helpers
38
-
39
- Use `@maz-ui/utils/helpers/<name>` and the maz-ui composables instead of lodash, VueUse or hand-written code: `debounce`, `throttle`, `sleep`, `isEqual`, `formatCurrency`, `formatDate`, `formatNumber`, `formatPhoneNumber`, `capitalize`, `normalizeString`, `getCookie` / `setCookie`, `useBreakpoints`, `useWindowSize`, `useTimer`, `useIdleTimeout`, `useSwipe`, `vClickOutside`, `vTooltip`, `vLazyImg`...
40
-
41
- ### Texts and languages
42
-
43
- The texts built in the components come from `@maz-ui/translations`: change the language with `useTranslations().setLocale('fr')` and customize the texts in its options, not in every component.
14
+ - `Maz*` components instead of native elements or hand-made widgets (`MazBtn` not `<button>`, `MazInput`, `MazSelect`, `MazDialog`, `MazCard`...). A button with only an icon needs an `aria-label`.
15
+ - Icons from `@maz-ui/icons` (`find_icons`), never inline SVG nor another icon library.
16
+ - `@maz-ui/utils` and the maz-ui composables instead of lodash, VueUse or hand-written helpers. `useToast()` for notifications, `useDialog()` for confirmations (they need their plugin).
17
+ - Theme (brand colors, dark mode) through a `@maz-ui/themes` preset and `useTheme()`, never by hand.
44
18
 
45
19
  ### Styling with Tailwind
46
20
 
47
- The maz-ui theme is exposed to Tailwind (`@import 'maz-ui/tailwindcss/theme.css'`) and the project usually extends it. Only use theme tokens:
21
+ Only use theme tokens (`bg-surface text-foreground border-divider`, `bg-primary text-primary-foreground`, `text-muted`...). `get_theme_tokens` lists the maz-ui tokens and the ones of the project; when a value is missing, add a token to the project `@theme`.
48
22
 
49
- - **Project tokens first**: the Tailwind entry of the project adds its own `@theme` tokens, variants and utilities, and the `definePreset` file sets the brand values. `get_theme_tokens` lists both (or read these files). When a value is missing, add a token to the project `@theme` instead of an arbitrary value.
50
- - Colors: `primary`, `secondary`, `accent`, `info`, `success`, `warning`, `destructive`, `contrast` (each with `-foreground` and `-50` to `-950`), `surface`, `foreground`, `muted`, `divider`, `overlay`, `bg-container`, `bg-input`. Example: `bg-surface text-foreground border-divider`.
51
23
  - Never the default Tailwind palette (`bg-blue-500`, `text-gray-600`, `bg-white`, `text-black`) nor hard-coded colors (`#fff`, `rgb()`, `bg-[#...]`). Theme colors already adapt to dark mode: no `dark:` color overrides.
52
- - Radius `rounded-*`, shadows `shadow-sm` to `shadow-xl` and `shadow-elevation`, spacing scale (`p-4`, `gap-2`), breakpoints `mob-*`, `tab-*`, `lap-*` (plus `sm` to `2xl`), utilities `flex-center`, `padded-container`.
53
- - **No `maz:` prefix** in this project: it is internal to the maz-ui library.
54
- - In custom CSS, use the variables: `var(--maz-primary)`, `var(--maz-rounded-md)`, `calc(var(--maz-space) * 4)`.
55
-
56
- ### Theme
57
-
58
- Brand colors, fonts, radius and spacing come from a `@maz-ui/themes` preset (`definePreset`), not from overrides scattered in CSS. Use `useTheme()` for dark mode and presets (`toggleDarkMode`, `setColorMode`, `updateTheme`), never toggle the `dark` class or store the mode yourself.
24
+ - **No `maz:` prefix**: it is internal to the maz-ui library.
25
+ - In custom CSS, use the variables: `var(--maz-primary)`, `var(--maz-rounded-md)`.
59
26
 
60
27
  ### Imports
61
28
 
62
- - Deep imports: `maz-ui/components/MazBtn`, `maz-ui/composables/useToast`, `maz-ui/directives/vTooltip`, `maz-ui/plugins/toast`, `@maz-ui/utils/helpers/debounce`, `@maz-ui/icons/raw/MazTrash`. The `maz-ui` root entry only exports types. Never import from `maz-ui/src` or `maz-ui/dist`.
63
- - With `@maz-ui/nuxt`, components and composables are auto-imported: do not import them. Icons are not: import them. The theme and the translations are set in the `mazUi` options of `nuxt.config`, not with the `MazUi` Vue plugin.
29
+ - Deep imports: `maz-ui/components/MazBtn`, `maz-ui/composables/useToast`, `@maz-ui/utils/helpers/debounce`, `@maz-ui/icons/raw/MazTrash`. The `maz-ui` root entry only exports types. Never import from `maz-ui/src` or `maz-ui/dist`.
30
+ - With `@maz-ui/nuxt`, components and composables are auto-imported (icons are not).
64
31
 
65
32
  ### Before you finish
66
33
 
@@ -288,7 +288,7 @@ type MazGalleryImage =
288
288
 
289
289
  ### Props
290
290
 
291
- - `orientation` (`"row" | "column" | "column-reverse" | "row-reverse"`, default: `"column"`): Card variant: Must be `column | row | row-reverse | column-reverse`.
291
+ - `orientation` (`"row" | "column" | "row-reverse" | "column-reverse"`, default: `"column"`): Card variant: Must be `column | row | row-reverse | column-reverse`.
292
292
  - `href` (`string`): Make card a link (footer area excluded).
293
293
  - `to` (`string | et | X`): Make card a link with a router-link or nuxt-link (footer area excluded).
294
294
  - `href-target` (`string`, default: `"_self"`): Target option of link: Muse be one of `_blank | _self | _parent | _top | framename`.
@@ -385,8 +385,8 @@ The trigger button exposes the menu state (`aria-haspopup="menu"`, `aria-expande
385
385
  - `close-on-escape` (`boolean`, default: `true`): Close popover when pressing Escape key.
386
386
  - `aria-labelledby` (`string`): ARIA labelledby attribute for accessibility.
387
387
  - `aria-describedby` (`string`): ARIA describedby attribute for accessibility.
388
- - `offset` (`number`, default: `8`): Distance between trigger and popover in pixels.
389
388
  - `aria-label` (`string`): ARIA label for the popover.
389
+ - `offset` (`number`, default: `8`): Distance between trigger and popover in pixels.
390
390
  - `prefer-position` (`MazPopoverPreferPosition`, default: `"bottom-start"`): Preferred position of the popover relative to trigger when auto position is used - Preferred position of the popover relative to trigger. Values: `'auto'`, `'top'`, `'bottom'`, `'left'`, `'right'`, `'top-start'`, `'top-end'`, `'bottom-start'`, `'bottom-end'`, `'left-start'`, `'left-end'`, `'right-start'`, `'right-end'` (non exhaustive).
391
391
  - `fallback-position` (`MazPopoverFallbackPosition`, default: `auto`): Fallback position of the popover relative to trigger when prefer position is not visible - Fallback position of the popover relative to trigger. Values: `'auto'`, `'top'`, `'bottom'`, `'left'`, `'right'`, `'top-start'`, `'top-end'`, `'bottom-start'`, `'bottom-end'`, `'left-start'`, `'left-end'`, `'right-start'`, `'right-end'` (non exhaustive).
392
392
  - `announce-changes` (`boolean`, default: `false`): Announce content changes to screen readers.
@@ -61,7 +61,7 @@ You can remove the buttons with the props `hide-buttons`
61
61
  - `size` (`"xs" | "sm" | "md" | "lg" | "xl" | "mini"`, default: `'md'`): The size of the input number component.
62
62
  - `hide-buttons` (`boolean`, default: `false`): Whether to hide the increment and decrement buttons or not.
63
63
  - `text-center` (`boolean`, default: `true`): Whether to center the text inside the input or not.
64
- - `inputmode` (`"text" | "none" | "search" | "url" | "email" | "tel" | "numeric" | "decimal"`, default: `"numeric"`): The inputmode attribute for the input.
64
+ - `inputmode` (`"none" | "text" | "search" | "url" | "email" | "tel" | "numeric" | "decimal"`, default: `"numeric"`): The inputmode attribute for the input.
65
65
  - `block` (`boolean`): The input will be displayed in full width.
66
66
  - `error` (`boolean`, default: `false`): Will display the input in error state.
67
67
  - `hint` (`string`): The hint text to display below the input.
@@ -518,7 +518,7 @@ interface MazInputPhoneNumberData {
518
518
  - `block` (`boolean`, default: `false`): The input will be displayed in full width.
519
519
  - `orientation` (`"row" | "col" | "responsive"`, default: `"responsive"`): Orientation of the inputs in the component.
520
520
  - `country-select-attributes` (`Record<string, unknown>`, default: `{ name: "country", autocomplete: "off", style: { width: "14rem", }, }`): Meta attributes of the country input.
521
- - `phone-input-attributes` (`(Record<string, unknown> & { name: string; inputmode: "text" | "none" | "search" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined; autocomplete: string; })`, default: `{ name: "phone", autocomplete: "tel", inputmode: "tel", }`): Meta attributes of the phone number input.
521
+ - `phone-input-attributes` (`(Record<string, unknown> & { name: string; inputmode: "none" | "text" | "search" | "url" | "email" | "tel" | "numeric" | "decimal" | undefined; autocomplete: string; })`, default: `{ name: "phone", autocomplete: "tel", inputmode: "tel", }`): Meta attributes of the phone number input.
522
522
  - `assistive-text` (`string`): Helper text displayed below the input to provide additional context or validation feedback.
523
523
  - `hint` (`string`): Alternative text that replaces the label when provided. Useful for contextual hints.
524
524
 
@@ -305,7 +305,7 @@ Use the attribute `rounded-size` with a value in `'none' | 'sm' | 'md' | 'lg' |
305
305
  - `hint` (`string`): Alternative text that replaces the label when provided. Useful for contextual hints.
306
306
  - `input-classes` (`string`): Additional CSS classes to apply specifically to the input wrapper element.
307
307
  - `border` (`boolean`, default: `true`): Controls whether the input has a visible border. Set to false for borderless inputs.
308
- - `inputmode` (`"text" | "none" | "search" | "url" | "email" | "tel" | "numeric" | "decimal"`, default: `"text"`): HTML inputmode attribute that provides hints for virtual keyboards on mobile devices.
308
+ - `inputmode` (`"none" | "text" | "search" | "url" | "email" | "tel" | "numeric" | "decimal"`, default: `"text"`): HTML inputmode attribute that provides hints for virtual keyboards on mobile devices.
309
309
  - `size` (`"xs" | "sm" | "md" | "lg" | "xl" | "mini"`): Controls the height and text size of the input component.
310
310
  - `debounce` (`number | boolean`, default: `false`): Enables input debouncing to limit the frequency of value updates. When true, uses 500ms delay. When a number, uses that value as delay in milliseconds.
311
311
  - `auto-focus` (`boolean`, default: `false`): Automatically focuses the input when the component mounts.
@@ -475,15 +475,15 @@ This ensures consistent internationalization across your application while provi
475
475
  - `translations` (`Partial<{ searchPlaceholder: string; }>`, default: `MazUiTranslationsNestedSchema['selectCountry']`): Translations.
476
476
  - `hint` (`string`): Hint message displayed.
477
477
  - `options` (`Option[]`): Options.
478
- - `display-names-options` (`DisplayNamesOptions`, default: `{ type: "region", languageDisplay: "standard", fallback: "code", style: "long" }`): Display name type.
478
+ - `display-names-options` (`DisplayNamesOptions`, default: `{ type: "region", languageDisplay: "standard", fallback: "code", style: "long", }`): Display name type.
479
479
  - `codes-type` (`CodesType`, default: `defined by displayNamesOptions.type (if 'region', 'country' is used, otherwise 'iso')`): Codes type. Values: `'iso'`, `'bcp'`, `'country'`, `'all'` (non exhaustive).
480
480
  - `open` (`boolean`, default: `false`): Open the select.
481
481
  - `model-value` (`Option["code"]`, `v-model`): The value of the select.
482
482
  - `block` (`boolean`): The input will be displayed in full width.
483
483
  - `disabled` (`boolean`): Disable the component.
484
484
  - `required` (`boolean`): Make the input required in the form.
485
- - `label` (`string`): The label of the select.
486
485
  - `placeholder` (`string`): The placeholder of the select.
486
+ - `label` (`string`): The label of the select.
487
487
  - `search-function` (`((query: string, options: Option[]) => Option[] | undefined)`): Replace the default search function to provide a custom search function.
488
488
  - `transition` (`string`, default: `'scale-fade'`): The transition name of the panel list options.
489
489
  - `prefer-position` (`MazPopoverPreferPosition`, default: `'bottom-start'`): The prefer position of the list.
@@ -49,5 +49,5 @@ logger.success('Done')
49
49
 
50
50
  ## Requirements
51
51
 
52
- - Node.js >= 22.12.0
52
+ - Node.js 22.23.4+, 24.22.1+ or 26.12.1+ (the releases with the October 2026 security fixes)
53
53
  - ESM only - published as `"type": "module"`.
@@ -41,11 +41,12 @@ The content comes from the `docs/agents` folder of the `maz-ui` package installe
41
41
  Guarantees:
42
42
 
43
43
  - A file it did not generate is never overwritten (it is reported as `skip`).
44
- - Generated rules edited by hand are kept and no longer updated (`skip`): their header records a checksum of the content. A formatter that only changes the whitespace does not count as an edit. Delete the file (or the `AGENTS.md` section) to get the rules of a new version.
44
+ - Generated rules edited by hand are kept and no longer updated (`skip`): their header records a checksum of the content, `paths:` frontmatter included. A formatter that only changes the whitespace does not count as an edit. Delete the file (or the `AGENTS.md` section) to get the rules of a new version.
45
45
  - In `AGENTS.md`, only the delimited section is managed: your content stays as is.
46
46
  - MCP config files are edited in place, keeping their formatting and comments. When a server already runs `@maz-ui/mcp` under another name, nothing is added.
47
47
  - An existing entry of the maz-ui MCP server only gets a better command (the installed `@maz-ui/mcp`, a newer pinned version) and keeps its other fields (`env`...). A command written by hand (with `--docs`, for example) is never changed.
48
48
  - In a monorepo, rules written by a newer maz-ui and a newer pinned `@maz-ui/mcp` are never downgraded by an app with an older version. Files are written atomically: apps started together never read a half-written file.
49
+ - The Claude rule is scoped with a `paths:` frontmatter, so that Claude Code only loads it when it reads or edits a file of the workspaces that depend on maz-ui (see Scope of the Claude rule), instead of at every session.
49
50
  - Without `CLAUDE.md` in the project, Claude Code reads `AGENTS.md`: the Claude rule is then skipped to avoid loading the rules twice.
50
51
  - Running it again is idempotent: unchanged files are reported as `unchanged`.
51
52
 
@@ -72,6 +73,8 @@ setupAgents({
72
73
  mcpVersion: '5.1.0',
73
74
  // Command of the MCP server, default: mcpServerCommand(rootDir, mcpVersion, tool)
74
75
  mcpServer: undefined,
76
+ // Scope of the Claude rule: 'auto' (default), 'all' (always loaded) or globs relative to rootDir
77
+ paths: 'auto',
75
78
  // Tool whose agents are configured, default: MAZ_UI_AGENTS_TOOL
76
79
  tool: undefined,
77
80
  // Rules of the tool, required with another tool than maz-ui, default: the agent docs of docsDir
@@ -79,6 +82,22 @@ setupAgents({
79
82
  })
80
83
  ```
81
84
 
85
+ ## Scope of the Claude rule
86
+
87
+ Without a `paths:` frontmatter, Claude Code loads a rule at every session, in every folder. `setupAgents` writes the frontmatter before the managed header (it must be the first thing of the file) and lists the globs in `result.claudeRulePaths`:
88
+
89
+ - `paths: 'auto'` (default): the workspaces of the monorepo (`pnpm-workspace.yaml`, or `workspaces` of `package.json`) whose `package.json` depends on one of the `packages` of the tool (`dependencies`, `devDependencies`, `peerDependencies`, `optionalDependencies`), with the `ruleGlobs` of the tool inside each: `apps/pwa/**/*.{vue,ts,tsx,css,scss}`. A single package project, or a project where no dependency is found, gets the `ruleGlobs` of the tool for the whole project. A tool without `packages` is never scoped.
90
+ - `paths: 'all'`: no frontmatter, the rule is always loaded.
91
+ - `paths: ['apps/web/**', 'packages/ui/**']`: your globs, used as is.
92
+
93
+ The frontmatter is rewritten at every run from the project and the options, as long as the file was not edited: the checksum of the header covers the frontmatter and the rules, so an edit of either (your own `paths:`, an added rule) is detected and the file is kept. A rule written before the frontmatter existed, or with a checksum of the rules alone, is updated.
94
+
95
+ In `'auto'` mode:
96
+
97
+ - Workspaces excluded by a negated pattern (`!apps/legacy` in `pnpm-workspace.yaml` or `workspaces`) are left out, with the folders below them.
98
+ - The characters `[ ] { } ( ) * ? !` of a folder name are escaped in the globs.
99
+ - When the globs would expand to more than 1000 patterns (the budget of Claude Code for braces), the rule falls back to the `ruleGlobs` of the tool for the whole project.
100
+
82
101
  ## Use it for another tool
83
102
 
84
103
  `setupAgents` configures maz-ui by default, but any package that ships an MCP server and rules for AI agents can reuse it with the `tool` option, and get the same guarantees. Its rules are passed with `agentDocs`, since they do not come from the maz-ui docs. For example, [relizy](https://relizy.dev) runs it in `relizy mcp init`:
@@ -96,8 +115,16 @@ const tool: AgentsTool = {
96
115
  mcpArgs: ['mcp'],
97
116
  // Written in the header of the generated rules
98
117
  generatedBy: '`relizy mcp init`',
118
+ // Marker written in the header of the generated content, default: `Managed by relizy` (`Managed by <name>`)
119
+ marker: 'Managed by relizy',
99
120
  // Line under the title of the rules, default: `> relizy <version> is installed: these rules match this version.`
121
+ // Use `false` to write no note
100
122
  versionNote: version => `> relizy ${version} is installed: these rules match this version.`,
123
+ // Packages (or bins) of former MCP servers: an entry that references one of them is replaced by the entry of the tool, default: none
124
+ legacyMcpPackages: ['relizy-legacy-mcp'],
125
+ // Scope of the Claude rule: the workspaces that depend on these packages, and the files of the rule inside them
126
+ packages: ['relizy'],
127
+ ruleGlobs: ['relizy.config.*', '**/CHANGELOG.md'],
101
128
  }
102
129
 
103
130
  setupAgents({
@@ -123,6 +150,16 @@ setupAgents({
123
150
 
124
151
  Each tool only manages its own files, section and server entry: maz-ui and relizy can be set up in the same project, and removing one (`remove: true` with its `tool`) keeps the other. `mcpServerCommand`, `installsMcpPackage`, `readManagedVersion` and `isEditedManagedContent` also take the tool as last argument.
125
152
 
153
+ Set `marker` to keep recognizing files generated under a different marker than the name of the tool (e.g. `'Managed by @acme/mcp'` for a tool named `acme`): the header, the owned files and the version are all read from it. With `legacyMcpPackages`, an entry of the MCP config files (`.mcp.json`, `.cursor/mcp.json`, `.vscode/mcp.json`) that references a former package is replaced in place by the entry of the tool, only when the tool has no entry yet. `remove` never touches it.
154
+
155
+ ## Lightweight entry
156
+
157
+ `@maz-ui/node/agents` exports `setupAgents` and its helpers without the rest of the package: it does not load `consola` nor `figlet` (logger and banner), and its types do not reference them. Use it in tools that only configure agents.
158
+
159
+ ```ts
160
+ import { setupAgents } from '@maz-ui/node/agents'
161
+ ```
162
+
126
163
  ## Command of the MCP server
127
164
 
128
165
  ```ts
@@ -16,7 +16,7 @@ url: "https://maz-ui.com/ecosystem/nuxt"
16
16
 
17
17
  **Tip: Model Context Protocol (MCP)**
18
18
 
19
- In development, the module connects the AI coding agents detected in the project (Claude Code, Cursor, Copilot...) to the maz-ui [MCP server](./mcp.md), which gives them the docs and rules of the installed maz-ui. See AI Agents.
19
+ In development, the module can connect the AI coding agents detected in the project (Claude Code, Cursor, Copilot...) to the maz-ui [MCP server](./mcp.md), which gives them the docs and rules of the installed maz-ui (opt-in with `agents: { mcp: true }`). See AI Agents.
20
20
 
21
21
  Check out the documentation of [@maz-ui/mcp](./mcp.md)
22
22
 
@@ -190,7 +190,7 @@ export default defineNuxtConfig({
190
190
  vZoomImg: true,
191
191
  },
192
192
 
193
- // AI coding agents (default: { rules: false, mcp: true }, false to disable)
193
+ // AI coding agents (default: { rules: false, mcp: false }, true to enable everything)
194
194
  agents: { rules: true, mcp: true },
195
195
  }
196
196
  })
@@ -440,7 +440,7 @@ Connect your AI coding agents (Claude Code, Cursor, GitHub Copilot, Codex, Winds
440
440
 
441
441
  ```ts
442
442
  const agents = {
443
- // Register the maz-ui MCP server in .mcp.json, .cursor/mcp.json, .vscode/mcp.json (default: true)
443
+ // Register the maz-ui MCP server in .mcp.json, .cursor/mcp.json, .vscode/mcp.json (default: false)
444
444
  // Its instructions give the maz-ui rules to the agents
445
445
  mcp: true,
446
446
  // Also write the rules in .claude/rules/maz-ui.md and in AGENTS.md, for agents without MCP (default: false)
@@ -68,20 +68,21 @@ npx @maz-ui/mcp init --remove # remove everythi
68
68
 
69
69
  Run it again after upgrading maz-ui: the rules follow the installed version.
70
70
 
71
- ### Nuxt: connected by default
71
+ ### Nuxt: opt-in
72
72
 
73
- With [`@maz-ui/nuxt`](../ecosystem/nuxt.md), the agents detected in the project are connected to the maz-ui MCP server when you start the dev server: the module only adds the `maz-ui` entry to their MCP config (`.mcp.json`, `.cursor/mcp.json`, `.vscode/mcp.json`). The instructions of the MCP server already give the maz-ui rules to the agents, so no rule file is written by default.
73
+ With [`@maz-ui/nuxt`](../ecosystem/nuxt.md), set `agents.mcp: true` to connect the agents detected in the project to the maz-ui MCP server when you start the dev server: the module adds the `maz-ui` entry to their MCP config (`.mcp.json`, `.cursor/mcp.json`, `.vscode/mcp.json`). The instructions of the MCP server already give the maz-ui rules to the agents. Nothing is written by default.
74
74
 
75
75
  ```ts
76
76
  export default defineNuxtConfig({
77
77
  modules: ['@maz-ui/nuxt'],
78
78
  mazUi: {
79
- // default: { rules: false, mcp: true }
79
+ // default: { rules: false, mcp: false }
80
80
  agents: {
81
+ mcp: true, // register the maz-ui MCP server
81
82
  rules: true, // also write .claude/rules/maz-ui.md and the AGENTS.md section
82
83
  targets: ['claude', 'agents-md'], // default: the detected agents
83
84
  },
84
- // or disable it: agents: false
85
+ // or enable everything: agents: true
85
86
  },
86
87
  })
87
88
  ```
@@ -82,7 +82,7 @@ The MCP server is read-only - it ships docs, not code edits - so the assistant s
82
82
 
83
83
  ## Migration checklist
84
84
 
85
- 1. Bump **Node to ≥ 22.12** and confirm your audience has modern browsers (see below).
85
+ 1. Bump **Node to 22.23.4+, 24.22.1+ or 26.12.1+** and confirm your audience has modern browsers (see below).
86
86
  2. If your **custom CSS** uses `hsl(var(--maz-<color>))`, simplify to `var(--maz-<color>)`.
87
87
  3. Rename `import 'maz-ui/styles'` to `import 'maz-ui/style.css'` (and `maz-ui/aos-styles` → `maz-ui/aos.css`).
88
88
  4. Replace any `rounded-size="base"` with `rounded-size="md"` (or drop the prop - the new default is visually identical).
@@ -101,7 +101,7 @@ The MCP server is read-only - it ships docs, not code edits - so the assistant s
101
101
  ### Node
102
102
 
103
103
  ```bash
104
- node -v # must be >= 22.12
104
+ node -v # must be ^22.23.4, ^24.22.1 or >=26.12.1
105
105
  ```
106
106
 
107
107
  ### Browser support