maz-ui 3.43.4 → 3.44.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 (358) hide show
  1. package/components/MazAccordion.d.ts +2 -2
  2. package/components/MazAccordion.mjs +84 -84
  3. package/components/MazAnimatedCounter.mjs +9 -10
  4. package/components/MazAvatar.d.ts +3 -3
  5. package/components/MazAvatar.mjs +1 -1
  6. package/components/MazBackdrop.d.ts +2 -2
  7. package/components/MazBackdrop.mjs +12 -10
  8. package/components/MazBadge.d.ts +2 -2
  9. package/components/MazBadge.mjs +3 -4
  10. package/components/MazBottomSheet.mjs +1 -1
  11. package/components/MazBtn.d.ts +7 -5
  12. package/components/MazBtn.mjs +1 -1
  13. package/components/MazCard.d.ts +3 -3
  14. package/components/MazCard.mjs +1 -1
  15. package/components/MazCardSpotlight.d.ts +2 -2
  16. package/components/MazCardSpotlight.mjs +4 -5
  17. package/components/MazCarousel.d.ts +2 -2
  18. package/components/MazCarousel.mjs +1 -1
  19. package/components/MazChart.d.ts +1 -1
  20. package/components/MazCheckbox.d.ts +2 -2
  21. package/components/MazCheckbox.mjs +10 -11
  22. package/components/MazCircularProgressBar.d.ts +1 -1
  23. package/components/MazCircularProgressBar.mjs +21 -23
  24. package/components/MazDialog.d.ts +2 -2
  25. package/components/MazDialog.mjs +1 -1
  26. package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +17 -14
  27. package/components/MazDialogPromise.mjs +1 -1
  28. package/components/MazDrawer.d.ts +2 -2
  29. package/components/MazDrawer.mjs +71 -69
  30. package/components/MazDropdown.d.ts +7 -6
  31. package/components/MazDropdown.mjs +130 -128
  32. package/components/MazDropzone.d.ts +1 -1
  33. package/components/MazDropzone.mjs +1 -1
  34. package/components/MazExpandAnimation.d.ts +2 -2
  35. package/components/MazExpandAnimation.mjs +26 -26
  36. package/components/MazFullscreenLoader.d.ts +2 -2
  37. package/components/MazFullscreenLoader.mjs +11 -10
  38. package/components/MazGallery.d.ts +2 -2
  39. package/components/MazGallery.mjs +1 -1
  40. package/components/MazIcon.mjs +45 -34
  41. package/components/MazInput.d.ts +4 -4
  42. package/components/MazInput.mjs +1 -1
  43. package/components/MazInputCode.d.ts +2 -2
  44. package/components/MazInputCode.mjs +4 -5
  45. package/components/MazInputNumber.d.ts +2 -2
  46. package/components/MazInputNumber.mjs +1 -1
  47. package/components/MazInputPrice.d.ts +2 -2
  48. package/components/MazInputPrice.mjs +1 -1
  49. package/components/MazInputTags.d.ts +7 -2
  50. package/components/MazInputTags.mjs +1 -1
  51. package/components/MazLazyImg.d.ts +2 -2
  52. package/components/MazLazyImg.mjs +1 -1
  53. package/components/MazLink.d.ts +6 -6
  54. package/components/MazLink.mjs +3 -4
  55. package/components/MazLoadingBar.d.ts +2 -2
  56. package/components/MazLoadingBar.mjs +17 -18
  57. package/components/MazPagination.d.ts +3 -3
  58. package/components/MazPagination.mjs +1 -1
  59. package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +1 -1
  60. package/components/MazPhoneNumberInput/types.d.ts +5 -5
  61. package/components/MazPhoneNumberInput/use-libphonenumber.d.ts +1 -1
  62. package/components/MazPhoneNumberInput/use-maz-phone-number-input.d.ts +1 -1
  63. package/components/MazPhoneNumberInput.d.ts +8 -8
  64. package/components/MazPhoneNumberInput.mjs +1 -1
  65. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
  66. package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +2 -2
  67. package/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
  68. package/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
  69. package/components/MazPicker/types.d.ts +4 -4
  70. package/components/MazPicker/utils.d.ts +4 -4
  71. package/components/MazPicker.d.ts +3 -3
  72. package/components/MazPicker.mjs +1 -1
  73. package/components/MazPullToRefresh.d.ts +2 -2
  74. package/components/MazPullToRefresh.mjs +1 -1
  75. package/components/MazRadio.mjs +8 -9
  76. package/components/MazRadioButtons.d.ts +2 -2
  77. package/components/MazRadioButtons.mjs +44 -42
  78. package/components/MazReadingProgressBar.d.ts +2 -2
  79. package/components/MazReadingProgressBar.mjs +12 -13
  80. package/components/MazSelect.d.ts +4 -4
  81. package/components/MazSelect.mjs +1 -1
  82. package/components/MazSlider/utils.d.ts +4 -4
  83. package/components/MazSlider.mjs +100 -87
  84. package/components/MazSpinner.mjs +6 -7
  85. package/components/MazStepper.d.ts +3 -3
  86. package/components/MazStepper.mjs +1 -1
  87. package/components/MazSwitch.d.ts +2 -2
  88. package/components/MazSwitch.mjs +6 -6
  89. package/components/MazTable.d.ts +13 -10
  90. package/components/MazTable.mjs +1 -1
  91. package/components/MazTableCell.mjs +4 -5
  92. package/components/MazTableRow.d.ts +2 -2
  93. package/components/MazTableRow.mjs +4 -5
  94. package/components/MazTableTitle.mjs +2 -3
  95. package/components/MazTabs.d.ts +4 -4
  96. package/components/MazTabsBar.d.ts +7 -5
  97. package/components/MazTabsBar.mjs +1 -1
  98. package/components/MazTabsContent.mjs +5 -4
  99. package/components/MazTabsContentItem.mjs +16 -17
  100. package/components/MazTextarea.d.ts +2 -2
  101. package/components/MazTextarea.mjs +19 -17
  102. package/components/MazTransitionExpand.d.ts +2 -2
  103. package/components/MazTransitionExpand.mjs +19 -18
  104. package/components/assets/MazAccordion.css +1 -1
  105. package/components/assets/MazAnimatedCounter.css +1 -1
  106. package/components/assets/MazAvatar.css +1 -1
  107. package/components/assets/MazBadge.css +1 -1
  108. package/components/assets/MazBottomSheet.css +1 -1
  109. package/components/assets/MazBtn.css +1 -1
  110. package/components/assets/MazCard.css +1 -1
  111. package/components/assets/MazCardSpotlight.css +1 -1
  112. package/components/assets/MazCarousel.css +1 -1
  113. package/components/assets/MazCheckbox.css +1 -1
  114. package/components/assets/MazCircularProgressBar.css +1 -1
  115. package/components/assets/MazDialog.css +1 -1
  116. package/components/assets/MazDialogPromise.css +1 -1
  117. package/components/assets/MazExpandAnimation.css +1 -1
  118. package/components/assets/MazGallery.css +1 -1
  119. package/components/assets/MazInput.css +1 -1
  120. package/components/assets/MazInputCode.css +1 -1
  121. package/components/assets/MazInputNumber.css +1 -1
  122. package/components/assets/MazInputPrice.css +1 -1
  123. package/components/assets/MazInputTags.css +1 -1
  124. package/components/assets/MazLazyImg.css +1 -1
  125. package/components/assets/MazLink.css +1 -1
  126. package/components/assets/MazLoadingBar.css +1 -1
  127. package/components/assets/MazPagination.css +1 -1
  128. package/components/assets/MazPhoneNumberInput.css +1 -1
  129. package/components/assets/MazPicker.css +1 -1
  130. package/components/assets/MazPickerMonthSwitcher.css +1 -1
  131. package/components/assets/MazPickerShortcuts.css +1 -1
  132. package/components/assets/MazPickerYearSwitcher.css +1 -1
  133. package/components/assets/MazPullToRefresh.css +1 -1
  134. package/components/assets/MazRadio.css +1 -1
  135. package/components/assets/MazRadioButtons.css +1 -1
  136. package/components/assets/MazReadingProgressBar.css +1 -1
  137. package/components/assets/MazSelect.css +1 -1
  138. package/components/assets/MazSlider.css +1 -1
  139. package/components/assets/MazSpinner.css +1 -1
  140. package/components/assets/MazStepper.css +1 -1
  141. package/components/assets/MazSwitch.css +1 -1
  142. package/components/assets/MazTable.css +1 -1
  143. package/components/assets/MazTableCell.css +1 -1
  144. package/components/assets/MazTableRow.css +1 -1
  145. package/components/assets/MazTableTitle.css +1 -1
  146. package/components/assets/MazTabsBar.css +1 -1
  147. package/components/assets/MazTabsContentItem.css +1 -1
  148. package/components/assets/MazTextarea.css +1 -1
  149. package/components/assets/MazTransitionExpand.css +1 -1
  150. package/components/chunks/{MazAvatar-DsJvzyS9.mjs → MazAvatar-BU1nJFcV.mjs} +8 -9
  151. package/components/chunks/{MazBadge-CYJlqITD.mjs → MazBadge-CwA0md19.mjs} +4 -5
  152. package/components/chunks/{MazBottomSheet-CIlIdn-2.mjs → MazBottomSheet-DUOIusEi.mjs} +54 -52
  153. package/components/chunks/{MazBtn-CCNGs6oo.mjs → MazBtn-5BSKOcqG.mjs} +35 -36
  154. package/components/chunks/{MazBtn-Ccvl1ZWv.mjs → MazBtn-B1-sTc7F.mjs} +31 -32
  155. package/components/chunks/{MazBtn-BC5OegPu.mjs → MazBtn-BY8WCtM7.mjs} +35 -36
  156. package/components/chunks/{MazBtn-CX4OgPzp.mjs → MazBtn-C5G78zLg.mjs} +35 -36
  157. package/components/chunks/MazBtn-CeVwyYR5.mjs +150 -0
  158. package/components/chunks/{MazBtn-BqgdERYQ.mjs → MazBtn-ColLVUca.mjs} +35 -36
  159. package/components/chunks/{MazBtn-beTASOLt.mjs → MazBtn-DJhQqzja.mjs} +35 -36
  160. package/components/chunks/MazBtn-DuY28-0U.mjs +150 -0
  161. package/components/chunks/{MazBtn-BydIwD1J.mjs → MazBtn-f1mBXJeU.mjs} +31 -32
  162. package/components/chunks/MazBtn-h3WmmaEO.mjs +150 -0
  163. package/components/chunks/MazBtn-zyRLUViT.mjs +150 -0
  164. package/components/chunks/{MazCard-bmiVPg8p.mjs → MazCard-BWxV_Z-i.mjs} +25 -26
  165. package/components/chunks/{MazCarousel-CL0bMygd.mjs → MazCarousel-D5EmW7Sa.mjs} +43 -35
  166. package/components/chunks/{MazCheckbox-DsFbvpp4.mjs → MazCheckbox-BWiMbecz.mjs} +11 -12
  167. package/components/chunks/{MazCheckbox-CCa7grGF.mjs → MazCheckbox-D3PXkt75.mjs} +11 -12
  168. package/components/chunks/{MazDialog-BckFta4N.mjs → MazDialog-CLWKCphI.mjs} +56 -54
  169. package/components/chunks/{MazDialogPromise-Bb6h4hFz.mjs → MazDialogPromise-DVOJwdVp.mjs} +139 -126
  170. package/components/chunks/{MazDropzone-C_8mRUbK.mjs → MazDropzone-Dm2IirHm.mjs} +33 -54
  171. package/components/chunks/MazExpandAnimation-ChSSdQAq.mjs +58 -0
  172. package/components/chunks/{MazGallery-CcpeM_zk.mjs → MazGallery-BlfPe8WG.mjs} +103 -101
  173. package/components/chunks/{MazGallery-6UK5sH9P.mjs → MazGallery-Bn9p1gNb.mjs} +102 -100
  174. package/{modules/chunks/MazIcon-CiNswMKM.mjs → components/chunks/MazIcon-B8A0hQAH.mjs} +45 -34
  175. package/components/chunks/{MazIcon-Cxrv3_OK.mjs → MazIcon-BDGxCy9M.mjs} +45 -34
  176. package/components/chunks/{MazIcon-BKuhvwwq.mjs → MazIcon-D3umgnku.mjs} +45 -34
  177. package/components/chunks/{MazInput-DNwBL54e.mjs → MazInput-BpsE-mdg.mjs} +69 -69
  178. package/components/chunks/{MazInputNumber-BSdVF8-q.mjs → MazInputNumber-DGBYbDSX.mjs} +186 -182
  179. package/components/chunks/{MazInputPrice-osrAz4xd.mjs → MazInputPrice-j2BNMeFp.mjs} +134 -129
  180. package/components/chunks/{MazInputTags-XUWwx6p8.mjs → MazInputTags-CJofVaj5.mjs} +234 -252
  181. package/components/chunks/{MazLazyImg-6qrfqWKr.mjs → MazLazyImg-BFG6FIJZ.mjs} +6 -7
  182. package/components/chunks/{MazLazyImg-BelScAEF.mjs → MazLazyImg-Dboc6Xfz.mjs} +5 -6
  183. package/components/chunks/{MazPagination-DUiHgLAp.mjs → MazPagination-C6ZehQSZ.mjs} +118 -119
  184. package/components/chunks/{MazPhoneNumberInput-HeEEyDu0.mjs → MazPhoneNumberInput-DpWoNQfx.mjs} +707 -695
  185. package/components/chunks/MazPicker-ia2BEmm5.mjs +2531 -0
  186. package/components/chunks/{MazPickerMonthSwitcher-CoV-84J1.mjs → MazPickerMonthSwitcher-CKtfZ_m-.mjs} +19 -19
  187. package/components/chunks/{MazPickerShortcuts-5IfUIwpz.mjs → MazPickerShortcuts-Cc9VoqBw.mjs} +10 -10
  188. package/components/chunks/{MazPickerYearSwitcher-MeptqtZk.mjs → MazPickerYearSwitcher-0b5Wrem9.mjs} +10 -8
  189. package/components/chunks/{MazPullToRefresh-DWbmwlzV.mjs → MazPullToRefresh-CUazP4y2.mjs} +21 -22
  190. package/components/chunks/MazSelect-COJoKXbV.mjs +847 -0
  191. package/components/chunks/MazSpinner-9Jue6cel.mjs +37 -0
  192. package/components/chunks/{MazSpinner-BKjRRWtc.mjs → MazSpinner-BGPOws6a.mjs} +6 -7
  193. package/components/chunks/{MazSpinner-BXxULdoD.mjs → MazSpinner-BWYdqSMP.mjs} +6 -7
  194. package/components/chunks/{MazSpinner-BRgzRI07.mjs → MazSpinner-BZOjTZBN.mjs} +6 -7
  195. package/components/chunks/{MazSpinner-B-svzg-R.mjs → MazSpinner-BaAMq7LI.mjs} +6 -7
  196. package/components/chunks/MazSpinner-Bad2n-0k.mjs +37 -0
  197. package/components/chunks/MazSpinner-BxnVFqUu.mjs +37 -0
  198. package/components/chunks/{MazSpinner-Mvsi6uCt.mjs → MazSpinner-C41VyUup.mjs} +6 -7
  199. package/components/chunks/MazSpinner-C6StE-Mb.mjs +37 -0
  200. package/components/chunks/{MazSpinner-BFXwybUv.mjs → MazSpinner-CNIlbDfg.mjs} +6 -7
  201. package/components/chunks/MazSpinner-Cz2DHV6g.mjs +37 -0
  202. package/components/chunks/MazSpinner-D4CdHpP2.mjs +37 -0
  203. package/{modules/chunks/MazSpinner--jWWogVn.mjs → components/chunks/MazSpinner-DHQH6Bhz.mjs} +6 -7
  204. package/components/chunks/MazSpinner-DRj2VpGA.mjs +37 -0
  205. package/components/chunks/{MazSpinner-C1lg-Klx.mjs → MazSpinner-DkXequnp.mjs} +6 -7
  206. package/components/chunks/MazSpinner-EA5ejB8F.mjs +37 -0
  207. package/components/chunks/{MazSpinner-BtpIL60X.mjs → MazSpinner-RvDGcBng.mjs} +6 -7
  208. package/components/chunks/{MazSpinner-B_WP-2kr.mjs → MazSpinner-V-bFi71W.mjs} +6 -7
  209. package/components/chunks/MazSpinner-aPFlrc5E.mjs +37 -0
  210. package/components/chunks/{MazSpinner-CfA_KEZT.mjs → MazSpinner-nH44Htog.mjs} +6 -7
  211. package/components/chunks/MazSpinner-nOD-7_sU.mjs +37 -0
  212. package/components/chunks/MazSpinner-yZGK-AQe.mjs +37 -0
  213. package/components/chunks/{MazStepper-DDofJsdg.mjs → MazStepper-DxrzKz06.mjs} +94 -83
  214. package/components/chunks/MazTable-DRUj_PZp.mjs +1960 -0
  215. package/components/chunks/{MazTabsBar-BXDEQkZM.mjs → MazTabsBar-xcIIXHx5.mjs} +67 -68
  216. package/components/chunks/{MazTransitionExpand-BwuAIzII.mjs → MazTransitionExpand-B08cSrmL.mjs} +20 -19
  217. package/components/chunks/{examples.mobile.json-um0ibyv5.mjs → examples.mobile.json-JpNGylGv.mjs} +1 -1
  218. package/css/main.css +1 -1
  219. package/modules/assets/MazBtn.css +1 -1
  220. package/modules/assets/MazSpinner.css +1 -1
  221. package/modules/assets/index.css +1 -1
  222. package/modules/chunks/{MazBtn-Czcbhr3Z.cjs → MazBtn-BbCGGxkK.cjs} +2 -2
  223. package/modules/chunks/{MazBtn-CXcW31TK.mjs → MazBtn-UBHTKqaN.mjs} +35 -36
  224. package/modules/chunks/MazIcon-BDSXZYZ8.cjs +1 -0
  225. package/{components/chunks/MazIcon-DtG5ii8R.mjs → modules/chunks/MazIcon-C2ch3jUS.mjs} +45 -34
  226. package/modules/chunks/{MazSpinner-Cw1KnqLM.cjs → MazSpinner-BiyFRA4w.cjs} +1 -1
  227. package/modules/chunks/MazSpinner-C9_xSbZZ.mjs +37 -0
  228. package/modules/chunks/{index-CThtJOu5.mjs → index-Cwbjspv3.mjs} +621 -588
  229. package/modules/chunks/index-tnjajVkX.cjs +124 -0
  230. package/modules/index.cjs +1 -1
  231. package/modules/index.mjs +34 -35
  232. package/nuxt/index.json +2 -2
  233. package/nuxt/index.mjs +3 -4
  234. package/nuxt/types.d.mts +24 -0
  235. package/nuxt/types.d.ts +24 -0
  236. package/package.json +77 -83
  237. package/resolvers/unplugin-directives-resolver.d.ts +1 -1
  238. package/resolvers/unplugin-vue-components-resolver.d.ts +1 -1
  239. package/tailwindcss/tailwind.config.ts +9 -2
  240. package/tailwindcss/utils/colors.ts +3 -3
  241. package/tailwindcss/variables/colors.ts +12 -12
  242. package/tailwindcss/variables/utilities.ts +2 -2
  243. package/tailwindcss/variables/z-indexes.ts +12 -11
  244. package/types/components/MazAccordion.vue.d.ts +2 -2
  245. package/types/components/MazAvatar.vue.d.ts +3 -3
  246. package/types/components/MazBackdrop.vue.d.ts +2 -2
  247. package/types/components/MazBadge.vue.d.ts +2 -2
  248. package/types/components/MazBtn.vue.d.ts +7 -5
  249. package/types/components/MazCard.vue.d.ts +3 -3
  250. package/types/components/MazCardSpotlight.vue.d.ts +2 -2
  251. package/types/components/MazCarousel.vue.d.ts +2 -2
  252. package/types/components/MazChart.vue.d.ts +1 -1
  253. package/types/components/MazCheckbox.vue.d.ts +2 -2
  254. package/types/components/MazCircularProgressBar.vue.d.ts +1 -1
  255. package/types/components/MazDialog.vue.d.ts +2 -2
  256. package/types/components/MazDialogPromise/use-maz-dialog-promise.d.ts +17 -14
  257. package/types/components/MazDrawer.vue.d.ts +2 -2
  258. package/types/components/MazDropdown.vue.d.ts +7 -6
  259. package/types/components/MazDropzone.vue.d.ts +1 -1
  260. package/types/components/MazExpandAnimation.vue.d.ts +2 -2
  261. package/types/components/MazFullscreenLoader.vue.d.ts +2 -2
  262. package/types/components/MazGallery.vue.d.ts +2 -2
  263. package/types/components/MazInput.vue.d.ts +4 -4
  264. package/types/components/MazInputCode.vue.d.ts +2 -2
  265. package/types/components/MazInputNumber.vue.d.ts +2 -2
  266. package/types/components/MazInputPrice.vue.d.ts +2 -2
  267. package/types/components/MazInputTags.vue.d.ts +7 -2
  268. package/types/components/MazLazyImg.vue.d.ts +2 -2
  269. package/types/components/MazLink.vue.d.ts +6 -6
  270. package/types/components/MazLoadingBar.vue.d.ts +2 -2
  271. package/types/components/MazPagination.vue.d.ts +3 -3
  272. package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +1 -1
  273. package/types/components/MazPhoneNumberInput/types.d.ts +5 -5
  274. package/types/components/MazPhoneNumberInput/use-libphonenumber.d.ts +1 -1
  275. package/types/components/MazPhoneNumberInput/use-maz-phone-number-input.d.ts +1 -1
  276. package/types/components/MazPhoneNumberInput.vue.d.ts +8 -8
  277. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
  278. package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +2 -2
  279. package/types/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
  280. package/types/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
  281. package/types/components/MazPicker/types.d.ts +4 -4
  282. package/types/components/MazPicker/utils.d.ts +4 -4
  283. package/types/components/MazPicker.vue.d.ts +3 -3
  284. package/types/components/MazPullToRefresh.vue.d.ts +2 -2
  285. package/types/components/MazRadioButtons.vue.d.ts +2 -2
  286. package/types/components/MazReadingProgressBar.vue.d.ts +2 -2
  287. package/types/components/MazSelect.vue.d.ts +4 -4
  288. package/types/components/MazSlider/utils.d.ts +4 -4
  289. package/types/components/MazStepper.vue.d.ts +3 -3
  290. package/types/components/MazSwitch.vue.d.ts +2 -2
  291. package/types/components/MazTable.vue.d.ts +13 -10
  292. package/types/components/MazTableRow.vue.d.ts +2 -2
  293. package/types/components/MazTabs.vue.d.ts +4 -4
  294. package/types/components/MazTabsBar.vue.d.ts +7 -5
  295. package/types/components/MazTextarea.vue.d.ts +2 -2
  296. package/types/components/MazTransitionExpand.vue.d.ts +2 -2
  297. package/types/modules/composables/use-reading-time.d.ts +5 -5
  298. package/types/modules/composables/use-theme-handler.d.ts +2 -2
  299. package/types/modules/directives/closable.d.ts +2 -2
  300. package/types/modules/directives/tooltip/index.d.ts +4 -4
  301. package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +2 -2
  302. package/types/modules/directives/v-lazy-img/index.d.ts +1 -1
  303. package/types/modules/filters/capitalize.d.ts +1 -1
  304. package/types/modules/filters/currency.d.ts +1 -1
  305. package/types/modules/filters/date.d.ts +1 -1
  306. package/types/modules/filters/index.d.ts +8 -4
  307. package/types/modules/filters/number.d.ts +1 -1
  308. package/types/modules/filters/telephone.d.ts +1 -1
  309. package/types/modules/helpers/idle-timeout/idle-timeout-handler.d.ts +1 -1
  310. package/types/modules/helpers/mount-component.d.ts +2 -2
  311. package/types/modules/helpers/normalize-string.d.ts +2 -2
  312. package/types/modules/helpers/swipe-handler.d.ts +2 -2
  313. package/types/modules/helpers/user-visibility/types.d.ts +2 -2
  314. package/types/modules/plugins/aos/index.d.ts +3 -3
  315. package/types/modules/plugins/index.d.ts +2 -2
  316. package/types/modules/plugins/toaster/MazToast.vue.d.ts +3 -3
  317. package/types/modules/plugins/toaster/index.d.ts +1 -2
  318. package/types/modules/plugins/toaster/types.d.ts +6 -6
  319. package/types/modules/plugins/wait/utils.d.ts +4 -4
  320. package/types/resolvers/unplugin-directives-resolver.d.ts +1 -1
  321. package/types/resolvers/unplugin-vue-components-resolver.d.ts +1 -1
  322. package/types/tailwindcss/tailwind.config.d.ts +71 -9
  323. package/types/tailwindcss/variables/z-indexes.d.ts +11 -11
  324. package/components/chunks/MazBtn-BOb7Fg_d.mjs +0 -151
  325. package/components/chunks/MazBtn-DpkJQ_3W.mjs +0 -151
  326. package/components/chunks/MazBtn-Dw_CR_0X.mjs +0 -151
  327. package/components/chunks/MazBtn-_NGDIlQK.mjs +0 -151
  328. package/components/chunks/MazExpandAnimation-Cin7sZ3I.mjs +0 -58
  329. package/components/chunks/MazPicker-CltoTa2Z.mjs +0 -2477
  330. package/components/chunks/MazSelect-DDKbowf3.mjs +0 -835
  331. package/components/chunks/MazSpinner-2ti3NQjo.mjs +0 -38
  332. package/components/chunks/MazSpinner-BZUmasIf.mjs +0 -38
  333. package/components/chunks/MazSpinner-C-lFmcUR.mjs +0 -38
  334. package/components/chunks/MazSpinner-C75WMoEA.mjs +0 -38
  335. package/components/chunks/MazSpinner-CA38Ikqe.mjs +0 -38
  336. package/components/chunks/MazSpinner-CAHOYqvB.mjs +0 -38
  337. package/components/chunks/MazSpinner-COOp2WX8.mjs +0 -38
  338. package/components/chunks/MazSpinner-D-ONjGGv.mjs +0 -38
  339. package/components/chunks/MazSpinner-DJkziC4O.mjs +0 -38
  340. package/components/chunks/MazSpinner-Di0F6oZz.mjs +0 -38
  341. package/components/chunks/MazSpinner-EcA0uOQv.mjs +0 -38
  342. package/components/chunks/MazSpinner-s_0BLDqW.mjs +0 -38
  343. package/components/chunks/MazTable-B9JiJ2B2.mjs +0 -1950
  344. package/modules/chunks/MazIcon-DdFYd3W8.cjs +0 -1
  345. package/modules/chunks/index-RvIMpzcQ.cjs +0 -124
  346. package/nuxt/runtime/composables/{use-aos.mjs → use-aos.js} +0 -0
  347. package/nuxt/runtime/composables/{use-theme-handler.mjs → use-theme-handler.js} +1 -1
  348. package/nuxt/runtime/composables/{use-toast.mjs → use-toast.js} +0 -0
  349. package/nuxt/runtime/composables/{use-wait.mjs → use-wait.js} +0 -0
  350. package/nuxt/runtime/plugins/{aos.mjs → aos.js} +1 -1
  351. package/nuxt/runtime/plugins/{maz-icon-path.mjs → maz-icon-path.js} +0 -0
  352. package/nuxt/runtime/plugins/{toaster.mjs → toaster.js} +1 -1
  353. package/nuxt/runtime/plugins/{v-click-outside.mjs → v-click-outside.js} +1 -1
  354. package/nuxt/runtime/plugins/{v-fullscreen-img.mjs → v-fullscreen-img.js} +1 -1
  355. package/nuxt/runtime/plugins/{v-lazy-img.mjs → v-lazy-img.js} +1 -1
  356. package/nuxt/runtime/plugins/{v-tooltip.mjs → v-tooltip.js} +1 -1
  357. package/nuxt/runtime/plugins/{v-zoom-img.mjs → v-zoom-img.js} +1 -1
  358. package/nuxt/runtime/plugins/{wait.mjs → wait.js} +1 -1
package/package.json CHANGED
@@ -1,16 +1,31 @@
1
1
  {
2
2
  "name": "maz-ui",
3
- "version": "3.43.4",
3
+ "type": "module",
4
+ "version": "3.44.0",
4
5
  "description": "A standalone components library for Vue.Js 3 & Nuxt.Js 3",
5
6
  "author": "Louis Mazel <me@loicmazuel.com>",
6
- "main": "./modules/index.cjs",
7
- "module": "./modules/index.mjs",
8
- "types": "./types/modules/index.d.ts",
9
- "type": "module",
10
- "bin": {
11
- "maz": "./bin/maz.mjs",
12
- "maz-ui": "./bin/maz.mjs"
7
+ "license": "MIT",
8
+ "homepage": "https://maz-ui.com/",
9
+ "repository": {
10
+ "type": "git",
11
+ "url": "git+https://github.com/LouisMazel/maz-ui.git"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/LouisMazel/maz-ui/issues"
13
15
  },
16
+ "keywords": [
17
+ "vue",
18
+ "nuxt",
19
+ "components",
20
+ "vue-component",
21
+ "framework",
22
+ "library",
23
+ "ui",
24
+ "nuxt",
25
+ "nuxt3",
26
+ "module",
27
+ "nuxt-module"
28
+ ],
14
29
  "exports": {
15
30
  ".": {
16
31
  "types": "./types/modules/index.d.ts",
@@ -40,21 +55,27 @@
40
55
  "./package.json": "./package.json",
41
56
  "./*": "./*"
42
57
  },
58
+ "main": "./modules/index.cjs",
59
+ "module": "./modules/index.mjs",
60
+ "types": "./types/modules/index.d.ts",
61
+ "bin": {
62
+ "maz": "./bin/maz.mjs",
63
+ "maz-ui": "./bin/maz.mjs"
64
+ },
43
65
  "files": [
66
+ "bin",
44
67
  "components",
45
- "modules",
46
68
  "css",
47
- "tailwindcss",
48
- "nuxt",
49
- "types",
50
69
  "icons",
70
+ "modules",
71
+ "nuxt",
51
72
  "resolvers",
52
- "bin"
73
+ "tailwindcss",
74
+ "types"
53
75
  ],
54
- "lint-staged": {
55
- "*": "prettier -w -u",
56
- "*.{js,ts,vue,mjs,mts,cjs}": "cross-env NODE_ENV=production eslint --fix",
57
- "*.{vue,css,scss,postcss,pcss}": "stylelint --fix --allow-empty-input"
76
+ "engines": {
77
+ "node": ">= 6.0.0",
78
+ "npm": ">= 3.0.0"
58
79
  },
59
80
  "peerDependencies": {
60
81
  "@nuxt/kit": "^3.4.0",
@@ -69,134 +90,107 @@
69
90
  "vue-router": "^4.0.0"
70
91
  },
71
92
  "peerDependenciesMeta": {
72
- "dropzone": {
73
- "optional": true
74
- },
75
- "libphonenumber-js": {
93
+ "@nuxt/kit": {
76
94
  "optional": true
77
95
  },
78
96
  "chart.js": {
79
97
  "optional": true
80
98
  },
81
- "vue-router": {
99
+ "dayjs": {
82
100
  "optional": true
83
101
  },
84
- "dayjs": {
102
+ "defu": {
85
103
  "optional": true
86
104
  },
87
- "nuxt": {
105
+ "dropzone": {
88
106
  "optional": true
89
107
  },
90
- "@nuxt/kit": {
108
+ "libphonenumber-js": {
91
109
  "optional": true
92
110
  },
93
- "defu": {
111
+ "nuxt": {
94
112
  "optional": true
95
113
  },
96
114
  "unplugin-vue-components": {
97
115
  "optional": true
116
+ },
117
+ "vue-router": {
118
+ "optional": true
98
119
  }
99
120
  },
100
121
  "dependencies": {
101
122
  "@mazui/cli": "latest"
102
123
  },
103
124
  "devDependencies": {
104
- "@babel/core": "^7.24.5",
105
- "@babel/preset-env": "^7.24.5",
106
- "@babel/preset-typescript": "^7.24.1",
125
+ "@babel/core": "^7.24.7",
126
+ "@babel/preset-env": "^7.24.7",
127
+ "@babel/preset-typescript": "^7.24.7",
107
128
  "@nuxt/kit": "^3.11.2",
108
129
  "@nuxt/schema": "^3.11.2",
109
130
  "@types/dropzone": "^5.7.8",
110
- "@types/google.maps": "^3.55.8",
111
- "@vitejs/plugin-vue": "^5.0.4",
112
- "@vitest/coverage-v8": "^1.5.3",
113
- "@vue/compiler-sfc": "^3.4.26",
114
- "@vue/eslint-config-prettier": "^9.0.0",
115
- "@vue/eslint-config-typescript": "^13.0.0",
116
- "@vue/test-utils": "^2.4.5",
131
+ "@types/google.maps": "^3.55.9",
132
+ "@vitejs/plugin-vue": "^5.0.5",
133
+ "@vitest/coverage-v8": "^1.6.0",
134
+ "@vue/compiler-sfc": "^3.4.27",
135
+ "@vue/test-utils": "^2.4.6",
117
136
  "@vue/tsconfig": "^0.5.1",
118
137
  "autoprefixer": "^10.4.19",
119
138
  "c8": "^9.1.0",
120
139
  "chalk": "5.3.0",
121
- "chart.js": "^4.4.2",
140
+ "chart.js": "^4.4.3",
122
141
  "dayjs": "^1.11.11",
123
142
  "defu": "^6.1.4",
124
143
  "dropzone": "^5.9.3",
125
- "eslint-plugin-vue": "^9.25.0",
126
144
  "eslint-plugin-vuejs-accessibility": "^2.3.0",
127
145
  "fs": "0.0.2",
128
- "jsdom": "^24.0.0",
146
+ "jsdom": "^24.1.0",
129
147
  "json-templater": "^1.2.0",
130
- "libphonenumber-js": "^1.10.61",
148
+ "libphonenumber-js": "^1.11.3",
131
149
  "minimist": "^1.2.8",
132
150
  "nuxt": "^3.11.2",
133
151
  "onchange": "^7.1.0",
134
152
  "path": "^0.12.7",
135
153
  "postcss": "^8.4.38",
136
- "postcss-html": "^1.6.0",
154
+ "postcss-html": "^1.7.0",
137
155
  "postcss-import": "^16.1.0",
138
156
  "postcss-nested": "^6.0.0",
139
157
  "postcss-simple-vars": "^7.0.1",
140
158
  "postcss-url": "^10.1.3",
141
- "prettier-plugin-tailwindcss": "^0.5.14",
142
- "replace-in-file": "^7.1.0",
143
- "rimraf": "^5.0.5",
144
- "sass": "^1.76.0",
145
- "semver": "^7.6.0",
159
+ "replace-in-file": "^7.2.0",
160
+ "rimraf": "^5.0.7",
161
+ "sass": "^1.77.4",
162
+ "semver": "^7.6.2",
146
163
  "sirv": "^2.0.4",
147
- "stylelint": "^16.5.0",
164
+ "stylelint": "^16.6.1",
148
165
  "stylelint-config-recommended-vue": "^1.5.0",
149
166
  "stylelint-config-standard": "^36.0.0",
150
167
  "stylelint-config-standard-scss": "^13.1.0",
151
168
  "stylelint-config-tailwindcss": "^0.0.7",
152
- "tailwindcss": "^3.4.3",
169
+ "tailwindcss": "^3.4.4",
153
170
  "unplugin-vue-components": "^0.27.0",
154
- "vite": "^5.2.11",
171
+ "vite": "^5.2.13",
155
172
  "vite-plugin-css-injected-by-js": "^3.5.1",
156
- "vite-plugin-lib-inject-css": "^2.0.1",
157
- "vite-plugin-static-copy": "^1.0.4",
173
+ "vite-plugin-lib-inject-css": "^2.1.1",
174
+ "vite-plugin-static-copy": "^1.0.5",
158
175
  "vite-svg-loader": "^5.1.0",
159
- "vitest": "^1.5.3",
176
+ "vitest": "^1.6.0",
160
177
  "vitest-canvas-mock": "^0.3.3",
161
- "vue": "^3.4.26",
178
+ "vue": "^3.4.27",
162
179
  "vue-chartjs": "^5.3.1",
163
180
  "vue-loader": "^17.4.2",
164
- "vue-router": "^4.3.2",
165
- "vue-tsc": "^2.0.16"
166
- },
167
- "engines": {
168
- "node": ">= 6.0.0",
169
- "npm": ">= 3.0.0"
181
+ "vue-router": "^4.3.3",
182
+ "vue-tsc": "^2.0.21"
170
183
  },
171
- "bugs": {
172
- "url": "https://github.com/LouisMazel/maz-ui/issues"
173
- },
174
- "homepage": "https://maz-ui.com/",
175
- "keywords": [
176
- "vue",
177
- "nuxt",
178
- "components",
179
- "vue-component",
180
- "framework",
181
- "library",
182
- "ui",
183
- "nuxt",
184
- "nuxt3",
185
- "module",
186
- "nuxt-module"
187
- ],
188
- "repository": {
189
- "type": "git",
190
- "url": "git+https://github.com/LouisMazel/maz-ui.git"
184
+ "lint-staged": {
185
+ "*.{js,ts,vue,mjs,mts,cjs}": "cross-env NODE_ENV=production eslint --fix",
186
+ "*.{vue,css,scss,postcss,pcss}": "stylelint --fix --allow-empty-input"
191
187
  },
192
- "license": "MIT",
193
188
  "scripts": {
194
189
  "maz": "maz",
195
190
  "lint": "pnpm lint:js && pnpm lint:style",
196
- "lint:nofix": "cross-env NODE_ENV=production eslint --ext .ts,.js,.mjs,.mts,.cjs,.vue .",
197
- "lint:js": "cross-env NODE_ENV=production eslint --fix .",
191
+ "lint:nofix": "cross-env NODE_ENV=production eslint",
192
+ "lint:js": "pnpm lint:nofix --fix",
198
193
  "lint:style": "stylelint --fix \"./**/*.{vue,css,scss,postcss,pcss}\"",
199
- "format": "prettier . --write",
200
194
  "build": "pnpm typecheck && pnpm build:lib",
201
195
  "build:lib": "node --loader ts-node/esm build/vite.config.ts",
202
196
  "get-icon-list": "node --loader ts-node/esm build/get-icon-list.ts",
@@ -1,4 +1,4 @@
1
- import { type ComponentResolver } from 'unplugin-vue-components';
1
+ import type { ComponentResolver } from 'unplugin-vue-components';
2
2
  /**
3
3
  * Resolver for Maz-UI (directives)
4
4
  *
@@ -1,4 +1,4 @@
1
- import { type ComponentResolver } from 'unplugin-vue-components';
1
+ import type { ComponentResolver } from 'unplugin-vue-components';
2
2
  /**
3
3
  * Resolver for Maz-UI (components)
4
4
  *
@@ -5,15 +5,18 @@ import plugin from 'tailwindcss/plugin'
5
5
  import type { Config } from 'tailwindcss'
6
6
 
7
7
  import { utilities } from './variables/utilities'
8
- import { screens, getNumericScreensFromTailwind } from './variables/breakpoints'
8
+ import { getNumericScreensFromTailwind, screens } from './variables/breakpoints'
9
9
  import { zIndex } from './variables/z-indexes'
10
10
  import { getColors } from './utils/colors'
11
11
 
12
12
  export { getNumericScreensFromTailwind }
13
13
 
14
- export default {
14
+ export const baseConfig = {
15
15
  darkMode: ['class', '[class~="dark"]'],
16
16
  content: [],
17
+ corePlugins: {
18
+ preflight: false,
19
+ },
17
20
  theme: {
18
21
  extend: {
19
22
  fontFamily: {
@@ -42,3 +45,7 @@ export default {
42
45
  }),
43
46
  ],
44
47
  } satisfies Config
48
+
49
+ export const tailwindConfig = { ...baseConfig, corePlugins: { preflight: true } } satisfies Config
50
+
51
+ export default baseConfig
@@ -1,5 +1,5 @@
1
1
  import type { ThemeConfig } from 'tailwindcss/types/config'
2
- import { baseColors, variations, variatingColors } from '../variables/colors'
2
+ import { baseColors, variatingColors, variations } from '../variables/colors'
3
3
 
4
4
  export function getColors() {
5
5
  const colors: Record<keyof typeof variatingColors & keyof typeof baseColors, string> = {
@@ -9,8 +9,8 @@ export function getColors() {
9
9
  for (const color of Object.keys(variatingColors)) {
10
10
  colors[color] = variations.reduce(
11
11
  (colorVariations, variation) => {
12
- colorVariations[variation] =
13
- variation === 'DEFAULT'
12
+ colorVariations[variation]
13
+ = variation === 'DEFAULT'
14
14
  ? `var(--maz-color-${color})`
15
15
  : `var(--maz-color-${color}-${variation})`
16
16
  return colorVariations
@@ -1,23 +1,23 @@
1
1
  export const baseColors = {
2
- transparent: 'transparent',
3
- black: 'var(--maz-color-black)',
2
+ 'transparent': 'transparent',
3
+ 'black': 'var(--maz-color-black)',
4
4
  'black-contrast': 'var(--maz-color-black-contrast)',
5
- white: 'var(--maz-color-white)',
5
+ 'white': 'var(--maz-color-white)',
6
6
  'white-contrast': 'var(--maz-color-white-contrast)',
7
- current: 'currentColor',
8
- normal: 'var(--maz-color-text)',
9
- color: 'var(--maz-color-bg)',
10
- border: 'var(--maz-border-color)',
7
+ 'current': 'currentColor',
8
+ 'normal': 'var(--maz-color-text)',
9
+ 'color': 'var(--maz-color-bg)',
10
+ 'border': 'var(--maz-border-color)',
11
11
  'color-light': 'var(--maz-color-bg-light)',
12
12
  'color-lighter': 'var(--maz-color-bg-lighter)',
13
- theme: 'var(--maz-color-bg-theme)',
13
+ 'theme': 'var(--maz-color-bg-theme)',
14
14
  'theme-hover': 'var(--maz-color-bg-theme-hover)',
15
15
  'bg-dark': 'var(--maz-bg-color-dark)',
16
16
  'bg-light': 'var(--maz-bg-color-light)',
17
- light: 'var(--maz-color-text-light)',
18
- dark: 'var(--maz-color-text-dark)',
19
- muted: 'var(--maz-color-muted)',
20
- overlay: 'var(--maz-bg-overlay)',
17
+ 'light': 'var(--maz-color-text-light)',
18
+ 'dark': 'var(--maz-color-text-dark)',
19
+ 'muted': 'var(--maz-color-muted)',
20
+ 'overlay': 'var(--maz-bg-overlay)',
21
21
  }
22
22
 
23
23
  export const variations = [
@@ -2,12 +2,12 @@ import type { CSSRuleObject } from 'tailwindcss/types/config'
2
2
 
3
3
  export const utilities = {
4
4
  '.padded-container': {
5
- width: '100%',
5
+ 'width': '100%',
6
6
  'padding-left': 'var(--maz-container-padding)',
7
7
  'padding-right': 'var(--maz-container-padding)',
8
8
  },
9
9
  '.padded-container-no-p': {
10
- width: '100%',
10
+ 'width': '100%',
11
11
  'padding-left': 'calc(50% - var(--maz-container-max-width) / 2)',
12
12
  'padding-right': 'calc(50% - var(--maz-container-max-width) / 2)',
13
13
  },
@@ -1,15 +1,16 @@
1
1
  import type { ThemeConfig } from 'tailwindcss/types/config'
2
+
2
3
  export const zIndex = {
3
- 1: '1',
4
- 2: '2',
5
- 3: '3',
6
- 4: '4',
7
- 5: '5',
8
- 15: '15',
9
- 25: '25',
10
- 35: '35',
11
- 45: '45',
12
- 75: '75',
13
- 100: '100',
4
+ '1': '1',
5
+ '2': '2',
6
+ '3': '3',
7
+ '4': '4',
8
+ '5': '5',
9
+ '15': '15',
10
+ '25': '25',
11
+ '35': '35',
12
+ '45': '45',
13
+ '75': '75',
14
+ '100': '100',
14
15
  'default-backdrop': '1050',
15
16
  } satisfies ThemeConfig['zIndex']
@@ -1,8 +1,8 @@
1
- export type Props = {
1
+ export interface Props {
2
2
  id?: string;
3
3
  modelValue?: number;
4
4
  contentClass?: unknown;
5
- };
5
+ }
6
6
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
7
7
  id: undefined;
8
8
  modelValue: number;
@@ -1,6 +1,6 @@
1
1
  import type { Color } from './types';
2
2
  export type { Color };
3
- export type Props = {
3
+ export interface Props {
4
4
  /** The source of the image */
5
5
  src?: string | null;
6
6
  /** The caption of the avatar */
@@ -44,7 +44,7 @@ export type Props = {
44
44
  fallbackSrc?: string;
45
45
  /** Load the fallback image by default */
46
46
  noPhoto?: boolean;
47
- };
47
+ }
48
48
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
49
49
  src: undefined;
50
50
  caption: undefined;
@@ -89,8 +89,8 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
89
89
  href: string;
90
90
  fallbackSrc: string;
91
91
  target: string;
92
- to: string | Record<string, unknown>;
93
92
  roundedSize: "sm" | "md" | "lg" | "xl" | "none" | "full";
93
+ to: string | Record<string, unknown>;
94
94
  buttonColor: Color;
95
95
  letterCount: number;
96
96
  }, {}>, {
@@ -1,5 +1,5 @@
1
1
  import { type HTMLAttributes } from 'vue';
2
- export type Props = {
2
+ export interface Props {
3
3
  modelValue?: boolean;
4
4
  teleportSelector?: string;
5
5
  beforeClose?: () => Promise<void> | void;
@@ -8,7 +8,7 @@ export type Props = {
8
8
  transitionName?: string;
9
9
  backdropClass?: HTMLAttributes['class'];
10
10
  backdropContentClass?: HTMLAttributes['class'];
11
- };
11
+ }
12
12
  declare function close(): void;
13
13
  declare function toggleModal(value: any): Promise<void>;
14
14
  declare function onBackdropAnimationEnter(): void;
@@ -1,14 +1,14 @@
1
1
  import type { Color } from './types';
2
2
  export type BadgeColor = Color | 'gray';
3
3
  export type BadgeRoundedSize = 'none' | 'sm' | 'md' | 'lg' | 'xl' | 'full';
4
- export type Props = {
4
+ export interface Props {
5
5
  color?: BadgeColor;
6
6
  size?: string;
7
7
  nowrap?: boolean;
8
8
  outline?: boolean;
9
9
  pastel?: boolean;
10
10
  roundedSize?: BadgeRoundedSize;
11
- };
11
+ }
12
12
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
13
13
  color: string;
14
14
  size: string;
@@ -1,9 +1,10 @@
1
- import { type FunctionalComponent, type SVGAttributes, type ComponentPublicInstance, type Component, type HTMLAttributes } from 'vue';
1
+ import { type Component, type ComponentPublicInstance, type FunctionalComponent, type HTMLAttributes, type SVGAttributes } from 'vue';
2
2
  import type { Color, Size } from './types';
3
3
  export type { Color, Size };
4
4
  export type Icon = FunctionalComponent<SVGAttributes> | ComponentPublicInstance | Component;
5
- export type Props = {
6
- /** The variant of the button - Change UI of component (link or button style)
5
+ export interface Props {
6
+ /**
7
+ * The variant of the button - Change UI of component (link or button style)
7
8
  * @values `'button' | 'link'`
8
9
  * @deprecated Use the component <MazLink /> instead
9
10
  */
@@ -53,7 +54,8 @@ export type Props = {
53
54
  * @default false
54
55
  */
55
56
  block?: boolean;
56
- /** If true, the button will have no underline on hover (useful with `variant="link"`)
57
+ /**
58
+ * If true, the button will have no underline on hover (useful with `variant="link"`)
57
59
  * @default false
58
60
  */
59
61
  noUnderline?: boolean;
@@ -99,7 +101,7 @@ export type Props = {
99
101
  noElevation?: boolean;
100
102
  /** The class applied to the content wrapper (<span />) of the button */
101
103
  contentClass?: HTMLAttributes['class'];
102
- };
104
+ }
103
105
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
104
106
  variant: string;
105
107
  size: string;
@@ -1,8 +1,8 @@
1
1
  import { type HTMLAttributes } from 'vue';
2
+ import type { RouterLinkProps } from 'vue-router';
2
3
  import type { MazGalleryImage } from './types';
3
- import { type RouterLinkProps } from 'vue-router';
4
4
  export type { MazGalleryImage } from './types';
5
- export type Props = {
5
+ export interface Props {
6
6
  /** Images displayed */
7
7
  images?: MazGalleryImage[];
8
8
  /** Card variant: Must be `column | row | row-reverse | column-reverse` */
@@ -53,7 +53,7 @@ export type Props = {
53
53
  header?: string;
54
54
  /** The card will be displayed in full width */
55
55
  block?: boolean;
56
- };
56
+ }
57
57
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
58
58
  images: undefined;
59
59
  orientation: string;
@@ -1,7 +1,7 @@
1
1
  import { type HTMLAttributes, type StyleValue } from 'vue';
2
2
  import type { Color } from './types';
3
3
  export type { Color };
4
- export type Props = {
4
+ export interface Props {
5
5
  /**
6
6
  * The color of the component.
7
7
  * @default primary
@@ -32,7 +32,7 @@ export type Props = {
32
32
  * @default 0.95
33
33
  */
34
34
  innerOpacity?: number;
35
- };
35
+ }
36
36
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
37
37
  noElevation: boolean;
38
38
  color: string;
@@ -1,4 +1,4 @@
1
- export type Props = {
1
+ export interface Props {
2
2
  /** Do not display the scroll buttons */
3
3
  noScrollBtn?: boolean;
4
4
  /** Aria label for the previous button */
@@ -7,7 +7,7 @@ export type Props = {
7
7
  ariaLabelNextButton?: string;
8
8
  /** Hide the scrollbar when not active */
9
9
  hideScrollbar?: boolean;
10
- };
10
+ }
11
11
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
12
12
  ariaLabelPreviousButton: string;
13
13
  ariaLabelNextButton: string;
@@ -1,5 +1,5 @@
1
1
  import { type PropType } from 'vue';
2
- import { type ChartType, type ChartData, type UpdateMode } from 'chart.js';
2
+ import { type ChartData, type ChartType, type UpdateMode } from 'chart.js';
3
3
  export type { ChartType, ChartData, UpdateMode };
4
4
  declare const _default: import("vue").DefineComponent<{
5
5
  /**
@@ -1,7 +1,7 @@
1
1
  import { type HTMLAttributes } from 'vue';
2
2
  import type { Color, Size } from './types';
3
3
  export type { Color, Size };
4
- export type Props = {
4
+ export interface Props {
5
5
  style?: HTMLAttributes['style'];
6
6
  class?: HTMLAttributes['class'];
7
7
  modelValue?: boolean | (string | number)[];
@@ -12,7 +12,7 @@ export type Props = {
12
12
  size?: Size;
13
13
  label?: string;
14
14
  disabled?: boolean;
15
- };
15
+ }
16
16
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props>, {
17
17
  style: undefined;
18
18
  class: undefined;
@@ -1,4 +1,4 @@
1
- import { type Color } from './types';
1
+ import type { Color } from './types';
2
2
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<{
3
3
  /**
4
4
  * The percentage value of the progress bar
@@ -1,5 +1,5 @@
1
1
  import { type Props as MazBackdropProps } from './MazBackdrop.vue';
2
- export type Props = {
2
+ export interface Props {
3
3
  /** @model Modal's model value */
4
4
  modelValue?: boolean;
5
5
  /** Title of the modal in header */
@@ -16,7 +16,7 @@ export type Props = {
16
16
  scrollable?: boolean;
17
17
  /** Persistent dialog (not closable by clicking outside and remove close button) */
18
18
  persistent?: boolean;
19
- };
19
+ }
20
20
  declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToOption<Props & MazBackdropProps>, {
21
21
  title: undefined;
22
22
  noClose: boolean;