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.
- package/components/MazAccordion.d.ts +2 -2
- package/components/MazAccordion.mjs +84 -84
- package/components/MazAnimatedCounter.mjs +9 -10
- package/components/MazAvatar.d.ts +3 -3
- package/components/MazAvatar.mjs +1 -1
- package/components/MazBackdrop.d.ts +2 -2
- package/components/MazBackdrop.mjs +12 -10
- package/components/MazBadge.d.ts +2 -2
- package/components/MazBadge.mjs +3 -4
- package/components/MazBottomSheet.mjs +1 -1
- package/components/MazBtn.d.ts +7 -5
- package/components/MazBtn.mjs +1 -1
- package/components/MazCard.d.ts +3 -3
- package/components/MazCard.mjs +1 -1
- package/components/MazCardSpotlight.d.ts +2 -2
- package/components/MazCardSpotlight.mjs +4 -5
- package/components/MazCarousel.d.ts +2 -2
- package/components/MazCarousel.mjs +1 -1
- package/components/MazChart.d.ts +1 -1
- package/components/MazCheckbox.d.ts +2 -2
- package/components/MazCheckbox.mjs +10 -11
- package/components/MazCircularProgressBar.d.ts +1 -1
- package/components/MazCircularProgressBar.mjs +21 -23
- package/components/MazDialog.d.ts +2 -2
- package/components/MazDialog.mjs +1 -1
- package/components/MazDialogPromise/use-maz-dialog-promise.d.ts +17 -14
- package/components/MazDialogPromise.mjs +1 -1
- package/components/MazDrawer.d.ts +2 -2
- package/components/MazDrawer.mjs +71 -69
- package/components/MazDropdown.d.ts +7 -6
- package/components/MazDropdown.mjs +130 -128
- package/components/MazDropzone.d.ts +1 -1
- package/components/MazDropzone.mjs +1 -1
- package/components/MazExpandAnimation.d.ts +2 -2
- package/components/MazExpandAnimation.mjs +26 -26
- package/components/MazFullscreenLoader.d.ts +2 -2
- package/components/MazFullscreenLoader.mjs +11 -10
- package/components/MazGallery.d.ts +2 -2
- package/components/MazGallery.mjs +1 -1
- package/components/MazIcon.mjs +45 -34
- package/components/MazInput.d.ts +4 -4
- package/components/MazInput.mjs +1 -1
- package/components/MazInputCode.d.ts +2 -2
- package/components/MazInputCode.mjs +4 -5
- package/components/MazInputNumber.d.ts +2 -2
- package/components/MazInputNumber.mjs +1 -1
- package/components/MazInputPrice.d.ts +2 -2
- package/components/MazInputPrice.mjs +1 -1
- package/components/MazInputTags.d.ts +7 -2
- package/components/MazInputTags.mjs +1 -1
- package/components/MazLazyImg.d.ts +2 -2
- package/components/MazLazyImg.mjs +1 -1
- package/components/MazLink.d.ts +6 -6
- package/components/MazLink.mjs +3 -4
- package/components/MazLoadingBar.d.ts +2 -2
- package/components/MazLoadingBar.mjs +17 -18
- package/components/MazPagination.d.ts +3 -3
- package/components/MazPagination.mjs +1 -1
- package/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +1 -1
- package/components/MazPhoneNumberInput/types.d.ts +5 -5
- package/components/MazPhoneNumberInput/use-libphonenumber.d.ts +1 -1
- package/components/MazPhoneNumberInput/use-maz-phone-number-input.d.ts +1 -1
- package/components/MazPhoneNumberInput.d.ts +8 -8
- package/components/MazPhoneNumberInput.mjs +1 -1
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +2 -2
- package/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
- package/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
- package/components/MazPicker/types.d.ts +4 -4
- package/components/MazPicker/utils.d.ts +4 -4
- package/components/MazPicker.d.ts +3 -3
- package/components/MazPicker.mjs +1 -1
- package/components/MazPullToRefresh.d.ts +2 -2
- package/components/MazPullToRefresh.mjs +1 -1
- package/components/MazRadio.mjs +8 -9
- package/components/MazRadioButtons.d.ts +2 -2
- package/components/MazRadioButtons.mjs +44 -42
- package/components/MazReadingProgressBar.d.ts +2 -2
- package/components/MazReadingProgressBar.mjs +12 -13
- package/components/MazSelect.d.ts +4 -4
- package/components/MazSelect.mjs +1 -1
- package/components/MazSlider/utils.d.ts +4 -4
- package/components/MazSlider.mjs +100 -87
- package/components/MazSpinner.mjs +6 -7
- package/components/MazStepper.d.ts +3 -3
- package/components/MazStepper.mjs +1 -1
- package/components/MazSwitch.d.ts +2 -2
- package/components/MazSwitch.mjs +6 -6
- package/components/MazTable.d.ts +13 -10
- package/components/MazTable.mjs +1 -1
- package/components/MazTableCell.mjs +4 -5
- package/components/MazTableRow.d.ts +2 -2
- package/components/MazTableRow.mjs +4 -5
- package/components/MazTableTitle.mjs +2 -3
- package/components/MazTabs.d.ts +4 -4
- package/components/MazTabsBar.d.ts +7 -5
- package/components/MazTabsBar.mjs +1 -1
- package/components/MazTabsContent.mjs +5 -4
- package/components/MazTabsContentItem.mjs +16 -17
- package/components/MazTextarea.d.ts +2 -2
- package/components/MazTextarea.mjs +19 -17
- package/components/MazTransitionExpand.d.ts +2 -2
- package/components/MazTransitionExpand.mjs +19 -18
- package/components/assets/MazAccordion.css +1 -1
- package/components/assets/MazAnimatedCounter.css +1 -1
- package/components/assets/MazAvatar.css +1 -1
- package/components/assets/MazBadge.css +1 -1
- package/components/assets/MazBottomSheet.css +1 -1
- package/components/assets/MazBtn.css +1 -1
- package/components/assets/MazCard.css +1 -1
- package/components/assets/MazCardSpotlight.css +1 -1
- package/components/assets/MazCarousel.css +1 -1
- package/components/assets/MazCheckbox.css +1 -1
- package/components/assets/MazCircularProgressBar.css +1 -1
- package/components/assets/MazDialog.css +1 -1
- package/components/assets/MazDialogPromise.css +1 -1
- package/components/assets/MazExpandAnimation.css +1 -1
- package/components/assets/MazGallery.css +1 -1
- package/components/assets/MazInput.css +1 -1
- package/components/assets/MazInputCode.css +1 -1
- package/components/assets/MazInputNumber.css +1 -1
- package/components/assets/MazInputPrice.css +1 -1
- package/components/assets/MazInputTags.css +1 -1
- package/components/assets/MazLazyImg.css +1 -1
- package/components/assets/MazLink.css +1 -1
- package/components/assets/MazLoadingBar.css +1 -1
- package/components/assets/MazPagination.css +1 -1
- package/components/assets/MazPhoneNumberInput.css +1 -1
- package/components/assets/MazPicker.css +1 -1
- package/components/assets/MazPickerMonthSwitcher.css +1 -1
- package/components/assets/MazPickerShortcuts.css +1 -1
- package/components/assets/MazPickerYearSwitcher.css +1 -1
- package/components/assets/MazPullToRefresh.css +1 -1
- package/components/assets/MazRadio.css +1 -1
- package/components/assets/MazRadioButtons.css +1 -1
- package/components/assets/MazReadingProgressBar.css +1 -1
- package/components/assets/MazSelect.css +1 -1
- package/components/assets/MazSlider.css +1 -1
- package/components/assets/MazSpinner.css +1 -1
- package/components/assets/MazStepper.css +1 -1
- package/components/assets/MazSwitch.css +1 -1
- package/components/assets/MazTable.css +1 -1
- package/components/assets/MazTableCell.css +1 -1
- package/components/assets/MazTableRow.css +1 -1
- package/components/assets/MazTableTitle.css +1 -1
- package/components/assets/MazTabsBar.css +1 -1
- package/components/assets/MazTabsContentItem.css +1 -1
- package/components/assets/MazTextarea.css +1 -1
- package/components/assets/MazTransitionExpand.css +1 -1
- package/components/chunks/{MazAvatar-DsJvzyS9.mjs → MazAvatar-BU1nJFcV.mjs} +8 -9
- package/components/chunks/{MazBadge-CYJlqITD.mjs → MazBadge-CwA0md19.mjs} +4 -5
- package/components/chunks/{MazBottomSheet-CIlIdn-2.mjs → MazBottomSheet-DUOIusEi.mjs} +54 -52
- package/components/chunks/{MazBtn-CCNGs6oo.mjs → MazBtn-5BSKOcqG.mjs} +35 -36
- package/components/chunks/{MazBtn-Ccvl1ZWv.mjs → MazBtn-B1-sTc7F.mjs} +31 -32
- package/components/chunks/{MazBtn-BC5OegPu.mjs → MazBtn-BY8WCtM7.mjs} +35 -36
- package/components/chunks/{MazBtn-CX4OgPzp.mjs → MazBtn-C5G78zLg.mjs} +35 -36
- package/components/chunks/MazBtn-CeVwyYR5.mjs +150 -0
- package/components/chunks/{MazBtn-BqgdERYQ.mjs → MazBtn-ColLVUca.mjs} +35 -36
- package/components/chunks/{MazBtn-beTASOLt.mjs → MazBtn-DJhQqzja.mjs} +35 -36
- package/components/chunks/MazBtn-DuY28-0U.mjs +150 -0
- package/components/chunks/{MazBtn-BydIwD1J.mjs → MazBtn-f1mBXJeU.mjs} +31 -32
- package/components/chunks/MazBtn-h3WmmaEO.mjs +150 -0
- package/components/chunks/MazBtn-zyRLUViT.mjs +150 -0
- package/components/chunks/{MazCard-bmiVPg8p.mjs → MazCard-BWxV_Z-i.mjs} +25 -26
- package/components/chunks/{MazCarousel-CL0bMygd.mjs → MazCarousel-D5EmW7Sa.mjs} +43 -35
- package/components/chunks/{MazCheckbox-DsFbvpp4.mjs → MazCheckbox-BWiMbecz.mjs} +11 -12
- package/components/chunks/{MazCheckbox-CCa7grGF.mjs → MazCheckbox-D3PXkt75.mjs} +11 -12
- package/components/chunks/{MazDialog-BckFta4N.mjs → MazDialog-CLWKCphI.mjs} +56 -54
- package/components/chunks/{MazDialogPromise-Bb6h4hFz.mjs → MazDialogPromise-DVOJwdVp.mjs} +139 -126
- package/components/chunks/{MazDropzone-C_8mRUbK.mjs → MazDropzone-Dm2IirHm.mjs} +33 -54
- package/components/chunks/MazExpandAnimation-ChSSdQAq.mjs +58 -0
- package/components/chunks/{MazGallery-CcpeM_zk.mjs → MazGallery-BlfPe8WG.mjs} +103 -101
- package/components/chunks/{MazGallery-6UK5sH9P.mjs → MazGallery-Bn9p1gNb.mjs} +102 -100
- package/{modules/chunks/MazIcon-CiNswMKM.mjs → components/chunks/MazIcon-B8A0hQAH.mjs} +45 -34
- package/components/chunks/{MazIcon-Cxrv3_OK.mjs → MazIcon-BDGxCy9M.mjs} +45 -34
- package/components/chunks/{MazIcon-BKuhvwwq.mjs → MazIcon-D3umgnku.mjs} +45 -34
- package/components/chunks/{MazInput-DNwBL54e.mjs → MazInput-BpsE-mdg.mjs} +69 -69
- package/components/chunks/{MazInputNumber-BSdVF8-q.mjs → MazInputNumber-DGBYbDSX.mjs} +186 -182
- package/components/chunks/{MazInputPrice-osrAz4xd.mjs → MazInputPrice-j2BNMeFp.mjs} +134 -129
- package/components/chunks/{MazInputTags-XUWwx6p8.mjs → MazInputTags-CJofVaj5.mjs} +234 -252
- package/components/chunks/{MazLazyImg-6qrfqWKr.mjs → MazLazyImg-BFG6FIJZ.mjs} +6 -7
- package/components/chunks/{MazLazyImg-BelScAEF.mjs → MazLazyImg-Dboc6Xfz.mjs} +5 -6
- package/components/chunks/{MazPagination-DUiHgLAp.mjs → MazPagination-C6ZehQSZ.mjs} +118 -119
- package/components/chunks/{MazPhoneNumberInput-HeEEyDu0.mjs → MazPhoneNumberInput-DpWoNQfx.mjs} +707 -695
- package/components/chunks/MazPicker-ia2BEmm5.mjs +2531 -0
- package/components/chunks/{MazPickerMonthSwitcher-CoV-84J1.mjs → MazPickerMonthSwitcher-CKtfZ_m-.mjs} +19 -19
- package/components/chunks/{MazPickerShortcuts-5IfUIwpz.mjs → MazPickerShortcuts-Cc9VoqBw.mjs} +10 -10
- package/components/chunks/{MazPickerYearSwitcher-MeptqtZk.mjs → MazPickerYearSwitcher-0b5Wrem9.mjs} +10 -8
- package/components/chunks/{MazPullToRefresh-DWbmwlzV.mjs → MazPullToRefresh-CUazP4y2.mjs} +21 -22
- package/components/chunks/MazSelect-COJoKXbV.mjs +847 -0
- package/components/chunks/MazSpinner-9Jue6cel.mjs +37 -0
- package/components/chunks/{MazSpinner-BKjRRWtc.mjs → MazSpinner-BGPOws6a.mjs} +6 -7
- package/components/chunks/{MazSpinner-BXxULdoD.mjs → MazSpinner-BWYdqSMP.mjs} +6 -7
- package/components/chunks/{MazSpinner-BRgzRI07.mjs → MazSpinner-BZOjTZBN.mjs} +6 -7
- package/components/chunks/{MazSpinner-B-svzg-R.mjs → MazSpinner-BaAMq7LI.mjs} +6 -7
- package/components/chunks/MazSpinner-Bad2n-0k.mjs +37 -0
- package/components/chunks/MazSpinner-BxnVFqUu.mjs +37 -0
- package/components/chunks/{MazSpinner-Mvsi6uCt.mjs → MazSpinner-C41VyUup.mjs} +6 -7
- package/components/chunks/MazSpinner-C6StE-Mb.mjs +37 -0
- package/components/chunks/{MazSpinner-BFXwybUv.mjs → MazSpinner-CNIlbDfg.mjs} +6 -7
- package/components/chunks/MazSpinner-Cz2DHV6g.mjs +37 -0
- package/components/chunks/MazSpinner-D4CdHpP2.mjs +37 -0
- package/{modules/chunks/MazSpinner--jWWogVn.mjs → components/chunks/MazSpinner-DHQH6Bhz.mjs} +6 -7
- package/components/chunks/MazSpinner-DRj2VpGA.mjs +37 -0
- package/components/chunks/{MazSpinner-C1lg-Klx.mjs → MazSpinner-DkXequnp.mjs} +6 -7
- package/components/chunks/MazSpinner-EA5ejB8F.mjs +37 -0
- package/components/chunks/{MazSpinner-BtpIL60X.mjs → MazSpinner-RvDGcBng.mjs} +6 -7
- package/components/chunks/{MazSpinner-B_WP-2kr.mjs → MazSpinner-V-bFi71W.mjs} +6 -7
- package/components/chunks/MazSpinner-aPFlrc5E.mjs +37 -0
- package/components/chunks/{MazSpinner-CfA_KEZT.mjs → MazSpinner-nH44Htog.mjs} +6 -7
- package/components/chunks/MazSpinner-nOD-7_sU.mjs +37 -0
- package/components/chunks/MazSpinner-yZGK-AQe.mjs +37 -0
- package/components/chunks/{MazStepper-DDofJsdg.mjs → MazStepper-DxrzKz06.mjs} +94 -83
- package/components/chunks/MazTable-DRUj_PZp.mjs +1960 -0
- package/components/chunks/{MazTabsBar-BXDEQkZM.mjs → MazTabsBar-xcIIXHx5.mjs} +67 -68
- package/components/chunks/{MazTransitionExpand-BwuAIzII.mjs → MazTransitionExpand-B08cSrmL.mjs} +20 -19
- package/components/chunks/{examples.mobile.json-um0ibyv5.mjs → examples.mobile.json-JpNGylGv.mjs} +1 -1
- package/css/main.css +1 -1
- package/modules/assets/MazBtn.css +1 -1
- package/modules/assets/MazSpinner.css +1 -1
- package/modules/assets/index.css +1 -1
- package/modules/chunks/{MazBtn-Czcbhr3Z.cjs → MazBtn-BbCGGxkK.cjs} +2 -2
- package/modules/chunks/{MazBtn-CXcW31TK.mjs → MazBtn-UBHTKqaN.mjs} +35 -36
- package/modules/chunks/MazIcon-BDSXZYZ8.cjs +1 -0
- package/{components/chunks/MazIcon-DtG5ii8R.mjs → modules/chunks/MazIcon-C2ch3jUS.mjs} +45 -34
- package/modules/chunks/{MazSpinner-Cw1KnqLM.cjs → MazSpinner-BiyFRA4w.cjs} +1 -1
- package/modules/chunks/MazSpinner-C9_xSbZZ.mjs +37 -0
- package/modules/chunks/{index-CThtJOu5.mjs → index-Cwbjspv3.mjs} +621 -588
- package/modules/chunks/index-tnjajVkX.cjs +124 -0
- package/modules/index.cjs +1 -1
- package/modules/index.mjs +34 -35
- package/nuxt/index.json +2 -2
- package/nuxt/index.mjs +3 -4
- package/nuxt/types.d.mts +24 -0
- package/nuxt/types.d.ts +24 -0
- package/package.json +77 -83
- package/resolvers/unplugin-directives-resolver.d.ts +1 -1
- package/resolvers/unplugin-vue-components-resolver.d.ts +1 -1
- package/tailwindcss/tailwind.config.ts +9 -2
- package/tailwindcss/utils/colors.ts +3 -3
- package/tailwindcss/variables/colors.ts +12 -12
- package/tailwindcss/variables/utilities.ts +2 -2
- package/tailwindcss/variables/z-indexes.ts +12 -11
- package/types/components/MazAccordion.vue.d.ts +2 -2
- package/types/components/MazAvatar.vue.d.ts +3 -3
- package/types/components/MazBackdrop.vue.d.ts +2 -2
- package/types/components/MazBadge.vue.d.ts +2 -2
- package/types/components/MazBtn.vue.d.ts +7 -5
- package/types/components/MazCard.vue.d.ts +3 -3
- package/types/components/MazCardSpotlight.vue.d.ts +2 -2
- package/types/components/MazCarousel.vue.d.ts +2 -2
- package/types/components/MazChart.vue.d.ts +1 -1
- package/types/components/MazCheckbox.vue.d.ts +2 -2
- package/types/components/MazCircularProgressBar.vue.d.ts +1 -1
- package/types/components/MazDialog.vue.d.ts +2 -2
- package/types/components/MazDialogPromise/use-maz-dialog-promise.d.ts +17 -14
- package/types/components/MazDrawer.vue.d.ts +2 -2
- package/types/components/MazDropdown.vue.d.ts +7 -6
- package/types/components/MazDropzone.vue.d.ts +1 -1
- package/types/components/MazExpandAnimation.vue.d.ts +2 -2
- package/types/components/MazFullscreenLoader.vue.d.ts +2 -2
- package/types/components/MazGallery.vue.d.ts +2 -2
- package/types/components/MazInput.vue.d.ts +4 -4
- package/types/components/MazInputCode.vue.d.ts +2 -2
- package/types/components/MazInputNumber.vue.d.ts +2 -2
- package/types/components/MazInputPrice.vue.d.ts +2 -2
- package/types/components/MazInputTags.vue.d.ts +7 -2
- package/types/components/MazLazyImg.vue.d.ts +2 -2
- package/types/components/MazLink.vue.d.ts +6 -6
- package/types/components/MazLoadingBar.vue.d.ts +2 -2
- package/types/components/MazPagination.vue.d.ts +3 -3
- package/types/components/MazPhoneNumberInput/CountrySelector.vue.d.ts +1 -1
- package/types/components/MazPhoneNumberInput/types.d.ts +5 -5
- package/types/components/MazPhoneNumberInput/use-libphonenumber.d.ts +1 -1
- package/types/components/MazPhoneNumberInput/use-maz-phone-number-input.d.ts +1 -1
- package/types/components/MazPhoneNumberInput.vue.d.ts +8 -8
- package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarGrid.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerCalendarMonth/MazPickerCalendarMonth.vue.d.ts +2 -2
- package/types/components/MazPicker/MazPickerFooter.vue.d.ts +1 -1
- package/types/components/MazPicker/MazPickerTime.vue.d.ts +1 -1
- package/types/components/MazPicker/types.d.ts +4 -4
- package/types/components/MazPicker/utils.d.ts +4 -4
- package/types/components/MazPicker.vue.d.ts +3 -3
- package/types/components/MazPullToRefresh.vue.d.ts +2 -2
- package/types/components/MazRadioButtons.vue.d.ts +2 -2
- package/types/components/MazReadingProgressBar.vue.d.ts +2 -2
- package/types/components/MazSelect.vue.d.ts +4 -4
- package/types/components/MazSlider/utils.d.ts +4 -4
- package/types/components/MazStepper.vue.d.ts +3 -3
- package/types/components/MazSwitch.vue.d.ts +2 -2
- package/types/components/MazTable.vue.d.ts +13 -10
- package/types/components/MazTableRow.vue.d.ts +2 -2
- package/types/components/MazTabs.vue.d.ts +4 -4
- package/types/components/MazTabsBar.vue.d.ts +7 -5
- package/types/components/MazTextarea.vue.d.ts +2 -2
- package/types/components/MazTransitionExpand.vue.d.ts +2 -2
- package/types/modules/composables/use-reading-time.d.ts +5 -5
- package/types/modules/composables/use-theme-handler.d.ts +2 -2
- package/types/modules/directives/closable.d.ts +2 -2
- package/types/modules/directives/tooltip/index.d.ts +4 -4
- package/types/modules/directives/v-fullscreen-img/MazFullscreenImg.vue.d.ts +2 -2
- package/types/modules/directives/v-lazy-img/index.d.ts +1 -1
- package/types/modules/filters/capitalize.d.ts +1 -1
- package/types/modules/filters/currency.d.ts +1 -1
- package/types/modules/filters/date.d.ts +1 -1
- package/types/modules/filters/index.d.ts +8 -4
- package/types/modules/filters/number.d.ts +1 -1
- package/types/modules/filters/telephone.d.ts +1 -1
- package/types/modules/helpers/idle-timeout/idle-timeout-handler.d.ts +1 -1
- package/types/modules/helpers/mount-component.d.ts +2 -2
- package/types/modules/helpers/normalize-string.d.ts +2 -2
- package/types/modules/helpers/swipe-handler.d.ts +2 -2
- package/types/modules/helpers/user-visibility/types.d.ts +2 -2
- package/types/modules/plugins/aos/index.d.ts +3 -3
- package/types/modules/plugins/index.d.ts +2 -2
- package/types/modules/plugins/toaster/MazToast.vue.d.ts +3 -3
- package/types/modules/plugins/toaster/index.d.ts +1 -2
- package/types/modules/plugins/toaster/types.d.ts +6 -6
- package/types/modules/plugins/wait/utils.d.ts +4 -4
- package/types/resolvers/unplugin-directives-resolver.d.ts +1 -1
- package/types/resolvers/unplugin-vue-components-resolver.d.ts +1 -1
- package/types/tailwindcss/tailwind.config.d.ts +71 -9
- package/types/tailwindcss/variables/z-indexes.d.ts +11 -11
- package/components/chunks/MazBtn-BOb7Fg_d.mjs +0 -151
- package/components/chunks/MazBtn-DpkJQ_3W.mjs +0 -151
- package/components/chunks/MazBtn-Dw_CR_0X.mjs +0 -151
- package/components/chunks/MazBtn-_NGDIlQK.mjs +0 -151
- package/components/chunks/MazExpandAnimation-Cin7sZ3I.mjs +0 -58
- package/components/chunks/MazPicker-CltoTa2Z.mjs +0 -2477
- package/components/chunks/MazSelect-DDKbowf3.mjs +0 -835
- package/components/chunks/MazSpinner-2ti3NQjo.mjs +0 -38
- package/components/chunks/MazSpinner-BZUmasIf.mjs +0 -38
- package/components/chunks/MazSpinner-C-lFmcUR.mjs +0 -38
- package/components/chunks/MazSpinner-C75WMoEA.mjs +0 -38
- package/components/chunks/MazSpinner-CA38Ikqe.mjs +0 -38
- package/components/chunks/MazSpinner-CAHOYqvB.mjs +0 -38
- package/components/chunks/MazSpinner-COOp2WX8.mjs +0 -38
- package/components/chunks/MazSpinner-D-ONjGGv.mjs +0 -38
- package/components/chunks/MazSpinner-DJkziC4O.mjs +0 -38
- package/components/chunks/MazSpinner-Di0F6oZz.mjs +0 -38
- package/components/chunks/MazSpinner-EcA0uOQv.mjs +0 -38
- package/components/chunks/MazSpinner-s_0BLDqW.mjs +0 -38
- package/components/chunks/MazTable-B9JiJ2B2.mjs +0 -1950
- package/modules/chunks/MazIcon-DdFYd3W8.cjs +0 -1
- package/modules/chunks/index-RvIMpzcQ.cjs +0 -124
- package/nuxt/runtime/composables/{use-aos.mjs → use-aos.js} +0 -0
- package/nuxt/runtime/composables/{use-theme-handler.mjs → use-theme-handler.js} +1 -1
- package/nuxt/runtime/composables/{use-toast.mjs → use-toast.js} +0 -0
- package/nuxt/runtime/composables/{use-wait.mjs → use-wait.js} +0 -0
- package/nuxt/runtime/plugins/{aos.mjs → aos.js} +1 -1
- package/nuxt/runtime/plugins/{maz-icon-path.mjs → maz-icon-path.js} +0 -0
- package/nuxt/runtime/plugins/{toaster.mjs → toaster.js} +1 -1
- package/nuxt/runtime/plugins/{v-click-outside.mjs → v-click-outside.js} +1 -1
- package/nuxt/runtime/plugins/{v-fullscreen-img.mjs → v-fullscreen-img.js} +1 -1
- package/nuxt/runtime/plugins/{v-lazy-img.mjs → v-lazy-img.js} +1 -1
- package/nuxt/runtime/plugins/{v-tooltip.mjs → v-tooltip.js} +1 -1
- package/nuxt/runtime/plugins/{v-zoom-img.mjs → v-zoom-img.js} +1 -1
- 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
|
-
"
|
|
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
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
-
"
|
|
73
|
+
"tailwindcss",
|
|
74
|
+
"types"
|
|
53
75
|
],
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
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
|
-
"
|
|
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
|
-
"
|
|
99
|
+
"dayjs": {
|
|
82
100
|
"optional": true
|
|
83
101
|
},
|
|
84
|
-
"
|
|
102
|
+
"defu": {
|
|
85
103
|
"optional": true
|
|
86
104
|
},
|
|
87
|
-
"
|
|
105
|
+
"dropzone": {
|
|
88
106
|
"optional": true
|
|
89
107
|
},
|
|
90
|
-
"
|
|
108
|
+
"libphonenumber-js": {
|
|
91
109
|
"optional": true
|
|
92
110
|
},
|
|
93
|
-
"
|
|
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.
|
|
105
|
-
"@babel/preset-env": "^7.24.
|
|
106
|
-
"@babel/preset-typescript": "^7.24.
|
|
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.
|
|
111
|
-
"@vitejs/plugin-vue": "^5.0.
|
|
112
|
-
"@vitest/coverage-v8": "^1.
|
|
113
|
-
"@vue/compiler-sfc": "^3.4.
|
|
114
|
-
"@vue/
|
|
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.
|
|
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.
|
|
146
|
+
"jsdom": "^24.1.0",
|
|
129
147
|
"json-templater": "^1.2.0",
|
|
130
|
-
"libphonenumber-js": "^1.
|
|
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.
|
|
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
|
-
"
|
|
142
|
-
"
|
|
143
|
-
"
|
|
144
|
-
"
|
|
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.
|
|
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.
|
|
169
|
+
"tailwindcss": "^3.4.4",
|
|
153
170
|
"unplugin-vue-components": "^0.27.0",
|
|
154
|
-
"vite": "^5.2.
|
|
171
|
+
"vite": "^5.2.13",
|
|
155
172
|
"vite-plugin-css-injected-by-js": "^3.5.1",
|
|
156
|
-
"vite-plugin-lib-inject-css": "^2.
|
|
157
|
-
"vite-plugin-static-copy": "^1.0.
|
|
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.
|
|
176
|
+
"vitest": "^1.6.0",
|
|
160
177
|
"vitest-canvas-mock": "^0.3.3",
|
|
161
|
-
"vue": "^3.4.
|
|
178
|
+
"vue": "^3.4.27",
|
|
162
179
|
"vue-chartjs": "^5.3.1",
|
|
163
180
|
"vue-loader": "^17.4.2",
|
|
164
|
-
"vue-router": "^4.3.
|
|
165
|
-
"vue-tsc": "^2.0.
|
|
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
|
-
"
|
|
172
|
-
"
|
|
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
|
|
197
|
-
"lint:js": "
|
|
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",
|
|
@@ -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 {
|
|
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
|
|
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,
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
6
|
-
/**
|
|
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
|
-
/**
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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,5 +1,5 @@
|
|
|
1
1
|
import { type Props as MazBackdropProps } from './MazBackdrop.vue';
|
|
2
|
-
export
|
|
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;
|