@maz-ui/mcp 5.0.0 → 5.1.0-beta.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 (343) hide show
  1. package/README.md +61 -228
  2. package/bin/maz-ui-mcp.mjs +2 -5
  3. package/dist/cli.d.mts +7 -0
  4. package/dist/cli.d.ts +7 -0
  5. package/dist/cli.mjs +14 -0
  6. package/dist/index.d.mts +340 -0
  7. package/dist/index.d.ts +340 -0
  8. package/dist/index.mjs +14 -0
  9. package/dist/shared/mcp.DzqVbCaL.mjs +2346 -0
  10. package/docs/README.md +207 -0
  11. package/docs/agents/agents-md.md +52 -0
  12. package/docs/agents/claude-rule.md +52 -0
  13. package/docs/components/maz-accordion.md +76 -0
  14. package/docs/{src/components → components}/maz-alert.md +31 -164
  15. package/docs/components/maz-animated-counter.md +87 -0
  16. package/docs/components/maz-animated-element.md +46 -0
  17. package/docs/components/maz-animated-text.md +53 -0
  18. package/docs/components/maz-avatar.md +193 -0
  19. package/docs/components/maz-backdrop.md +178 -0
  20. package/docs/{src/components → components}/maz-badge.md +26 -67
  21. package/docs/components/maz-bottom-sheet.md +257 -0
  22. package/docs/{src/components → components}/maz-btn-group.md +26 -189
  23. package/docs/{src/components → components}/maz-btn.md +60 -245
  24. package/docs/components/maz-card-spotlight.md +84 -0
  25. package/docs/{src/components → components}/maz-card.md +67 -192
  26. package/docs/components/maz-carousel.md +153 -0
  27. package/docs/{src/components → components}/maz-chart.md +17 -161
  28. package/docs/components/maz-checkbox.md +138 -0
  29. package/docs/components/maz-checklist.md +251 -0
  30. package/docs/components/maz-circular-progress-bar.md +109 -0
  31. package/docs/{src/components → components}/maz-code-highlight.md +15 -93
  32. package/docs/components/maz-container.md +241 -0
  33. package/docs/{src/components → components}/maz-date-picker.md +85 -454
  34. package/docs/components/maz-dialog-confirm.md +215 -0
  35. package/docs/components/maz-dialog.md +143 -0
  36. package/docs/components/maz-drawer.md +106 -0
  37. package/docs/components/maz-dropdown.md +419 -0
  38. package/docs/{src/components → components}/maz-dropzone.md +80 -221
  39. package/docs/components/maz-expand-animation.md +82 -0
  40. package/docs/components/maz-fullscreen-loader.md +58 -0
  41. package/docs/components/maz-gallery.md +79 -0
  42. package/docs/{src/components → components}/maz-icon.md +32 -83
  43. package/docs/components/maz-input-code.md +73 -0
  44. package/docs/components/maz-input-number.md +79 -0
  45. package/docs/components/maz-input-phone-number.md +536 -0
  46. package/docs/components/maz-input-price.md +68 -0
  47. package/docs/components/maz-input-tags.md +112 -0
  48. package/docs/{src/components → components}/maz-input.md +74 -221
  49. package/docs/components/maz-lazy-img.md +113 -0
  50. package/docs/components/maz-link.md +146 -0
  51. package/docs/components/maz-loading-bar.md +38 -0
  52. package/docs/{src/components → components}/maz-markdown-editor.md +72 -125
  53. package/docs/components/maz-pagination.md +82 -0
  54. package/docs/components/maz-popover.md +794 -0
  55. package/docs/{src/components → components}/maz-pull-to-refresh.md +59 -45
  56. package/docs/components/maz-radio-buttons.md +313 -0
  57. package/docs/components/maz-radio.md +119 -0
  58. package/docs/{src/components → components}/maz-read-more.md +31 -122
  59. package/docs/components/maz-reading-progress-bar.md +96 -0
  60. package/docs/{src/components → components}/maz-select-country.md +80 -340
  61. package/docs/{src/components → components}/maz-select.md +76 -206
  62. package/docs/components/maz-sidebar-content.md +25 -0
  63. package/docs/components/maz-sidebar-footer.md +25 -0
  64. package/docs/components/maz-sidebar-group.md +27 -0
  65. package/docs/components/maz-sidebar-header.md +25 -0
  66. package/docs/components/maz-sidebar-menu-button.md +41 -0
  67. package/docs/components/maz-sidebar-menu-item.md +25 -0
  68. package/docs/components/maz-sidebar-menu-sub.md +32 -0
  69. package/docs/components/maz-sidebar-menu.md +25 -0
  70. package/docs/components/maz-sidebar-separator.md +21 -0
  71. package/docs/components/maz-sidebar-trigger.md +25 -0
  72. package/docs/{src/components → components}/maz-sidebar.md +117 -329
  73. package/docs/{src/components → components}/maz-skeleton.md +27 -156
  74. package/docs/{src/components → components}/maz-slider.md +33 -66
  75. package/docs/components/maz-spinner.md +84 -0
  76. package/docs/{src/components → components}/maz-stepper.md +43 -185
  77. package/docs/components/maz-switch.md +86 -0
  78. package/docs/components/maz-table-cell.md +27 -0
  79. package/docs/components/maz-table-row.md +28 -0
  80. package/docs/components/maz-table-title.md +27 -0
  81. package/docs/components/maz-table-virtualizer.md +31 -0
  82. package/docs/components/maz-table.md +426 -0
  83. package/docs/components/maz-tabs-bar.md +43 -0
  84. package/docs/components/maz-tabs-content-item.md +27 -0
  85. package/docs/components/maz-tabs-content.md +27 -0
  86. package/docs/{src/components → components}/maz-tabs.md +89 -126
  87. package/docs/components/maz-textarea.md +255 -0
  88. package/docs/components/maz-ticker.md +427 -0
  89. package/docs/components/maz-timeline.md +304 -0
  90. package/docs/components/maz-ui-provider.md +26 -0
  91. package/docs/{src/components → components}/maz-window-mockup.md +38 -105
  92. package/docs/composables/use-aos.md +41 -0
  93. package/docs/composables/use-breakpoints.md +42 -0
  94. package/docs/composables/use-dialog.md +58 -0
  95. package/docs/{src/composables → composables}/use-display-names.md +12 -59
  96. package/docs/{src/composables → composables}/use-drag.md +14 -68
  97. package/docs/{src/composables → composables}/use-form-validator.md +22 -696
  98. package/docs/{src/composables → composables}/use-idle-timeout.md +13 -97
  99. package/docs/{src/composables → composables}/use-pull-to-refresh.md +14 -7
  100. package/docs/{src/composables → composables}/use-reading-time.md +20 -56
  101. package/docs/composables/use-string-matching.md +41 -0
  102. package/docs/{src/composables → composables}/use-swipe.md +14 -81
  103. package/docs/{src/composables → composables}/use-timer.md +12 -38
  104. package/docs/composables/use-toast.md +50 -0
  105. package/docs/{src/composables → composables}/use-user-visibility.md +14 -56
  106. package/docs/composables/use-wait.md +50 -0
  107. package/docs/composables/use-window-size.md +25 -0
  108. package/docs/{src/directives → directives}/click-outside.md +13 -99
  109. package/docs/{src/directives → directives}/fullscreen-img.md +10 -28
  110. package/docs/{src/directives → directives}/lazy-img.md +14 -49
  111. package/docs/{src/directives → directives}/tooltip.md +12 -217
  112. package/docs/{src/directives → directives}/zoom-img.md +11 -38
  113. package/docs/{src/ecosystem → ecosystem}/eslint-config.md +37 -29
  114. package/docs/ecosystem/icons/icon-set.md +25 -0
  115. package/docs/{src/ecosystem → ecosystem}/icons/index.md +22 -16
  116. package/docs/ecosystem/mcp.md +165 -0
  117. package/docs/{src/ecosystem → ecosystem}/node/exec-promise.md +12 -6
  118. package/docs/ecosystem/node/index.md +53 -0
  119. package/docs/{src/ecosystem → ecosystem}/node/logger.md +12 -6
  120. package/docs/{src/ecosystem → ecosystem}/node/print-banner.md +12 -4
  121. package/docs/ecosystem/node/setup-agents.md +102 -0
  122. package/docs/{src/ecosystem → ecosystem}/nuxt.md +46 -19
  123. package/docs/{src/ecosystem → ecosystem}/stylelint-config.md +33 -25
  124. package/docs/{src/ecosystem → ecosystem}/themes.md +72 -235
  125. package/docs/{src/ecosystem → ecosystem}/translations.md +25 -23
  126. package/docs/ecosystem/utils/camel-case.md +37 -0
  127. package/docs/ecosystem/utils/capitalize.md +37 -0
  128. package/docs/{src/ecosystem → ecosystem}/utils/check-availability.md +14 -8
  129. package/docs/{src/ecosystem → ecosystem}/utils/cookie.md +18 -12
  130. package/docs/ecosystem/utils/country-code-to-unicode-flag.md +128 -0
  131. package/docs/{src/ecosystem → ecosystem}/utils/currency.md +12 -26
  132. package/docs/{src/ecosystem → ecosystem}/utils/date.md +10 -24
  133. package/docs/ecosystem/utils/debounce-callback.md +44 -0
  134. package/docs/{src/ecosystem → ecosystem}/utils/debounce-id.md +14 -8
  135. package/docs/{src/ecosystem → ecosystem}/utils/debounce.md +14 -8
  136. package/docs/ecosystem/utils/fetch-locale-ip.md +39 -0
  137. package/docs/{src/ecosystem → ecosystem}/utils/format-json.md +11 -5
  138. package/docs/{src/ecosystem → ecosystem}/utils/format-phone-number.md +12 -6
  139. package/docs/ecosystem/utils/get-browser-locale.md +35 -0
  140. package/docs/ecosystem/utils/get-country-flag-url.md +67 -0
  141. package/docs/{src/ecosystem → ecosystem}/utils/get-error-message.md +10 -4
  142. package/docs/{src/ecosystem → ecosystem}/utils/idle-timeout.md +15 -9
  143. package/docs/{src/ecosystem → ecosystem}/utils/index.md +10 -13
  144. package/docs/{src/ecosystem → ecosystem}/utils/is-client.md +11 -5
  145. package/docs/{src/ecosystem → ecosystem}/utils/is-equal.md +14 -8
  146. package/docs/{src/ecosystem → ecosystem}/utils/is-ios.md +12 -6
  147. package/docs/ecosystem/utils/is-server.md +37 -0
  148. package/docs/ecosystem/utils/is-standalone-mode.md +49 -0
  149. package/docs/{src/ecosystem → ecosystem}/utils/kebab-case.md +10 -4
  150. package/docs/{src/ecosystem → ecosystem}/utils/normalize-string.md +10 -4
  151. package/docs/{src/ecosystem → ecosystem}/utils/number.md +10 -24
  152. package/docs/{src/ecosystem → ecosystem}/utils/pascal-case.md +11 -5
  153. package/docs/{src/ecosystem → ecosystem}/utils/prevent-ios-input-zoom.md +14 -8
  154. package/docs/{src/ecosystem → ecosystem}/utils/script-loader.md +16 -8
  155. package/docs/{src/ecosystem → ecosystem}/utils/sleep.md +10 -4
  156. package/docs/{src/ecosystem → ecosystem}/utils/snake-case.md +10 -4
  157. package/docs/{src/ecosystem → ecosystem}/utils/swipe-handler.md +14 -8
  158. package/docs/{src/ecosystem → ecosystem}/utils/textarea-autogrow.md +12 -6
  159. package/docs/{src/ecosystem → ecosystem}/utils/throttle-id.md +13 -7
  160. package/docs/{src/ecosystem → ecosystem}/utils/throttle.md +14 -8
  161. package/docs/ecosystem/utils/truthy-filter.md +37 -0
  162. package/docs/{src/ecosystem → ecosystem}/utils/types/deep-key-of.md +11 -5
  163. package/docs/{src/ecosystem → ecosystem}/utils/types/deep-partial.md +10 -4
  164. package/docs/ecosystem/utils/types/deep-required.md +45 -0
  165. package/docs/ecosystem/utils/types/flatten-object-keys.md +50 -0
  166. package/docs/{src/ecosystem → ecosystem}/utils/types/generic-instance-type.md +10 -4
  167. package/docs/{src/ecosystem → ecosystem}/utils/types/infer-maybe-ref.md +10 -4
  168. package/docs/ecosystem/utils/upper-first.md +38 -0
  169. package/docs/{src/ecosystem → ecosystem}/utils/user-visibility.md +12 -6
  170. package/docs/guide/ai-agents.md +237 -0
  171. package/docs/{src/guide → guide}/browser-support.md +22 -15
  172. package/docs/{src/guide → guide}/getting-started.md +34 -139
  173. package/docs/{src/guide → guide}/global-defaults.md +12 -11
  174. package/docs/{src/guide → guide}/maz-ui-provider.md +17 -16
  175. package/docs/{src/guide → guide}/migration-v5.md +95 -88
  176. package/docs/{src/guide → guide}/resolvers.md +33 -100
  177. package/docs/guide/tailwind.md +483 -0
  178. package/docs/{src/guide → guide}/vue.md +33 -39
  179. package/docs/manifest.json +1 -0
  180. package/docs/{src/plugins → plugins}/aos.md +20 -55
  181. package/docs/{src/plugins → plugins}/dialog.md +14 -161
  182. package/docs/plugins/toast.md +221 -0
  183. package/docs/plugins/wait.md +78 -0
  184. package/docs/reference/icons.md +46 -0
  185. package/docs/reference/tailwind-tokens.md +191 -0
  186. package/docs/rules.md +57 -0
  187. package/package.json +84 -22
  188. package/dist/mcp.d.mts +0 -153
  189. package/dist/mcp.d.ts +0 -153
  190. package/dist/mcp.mjs +0 -1511
  191. package/docs/generated-docs/maz-accordion.doc.md +0 -21
  192. package/docs/generated-docs/maz-alert.doc.md +0 -20
  193. package/docs/generated-docs/maz-animated-counter.doc.md +0 -17
  194. package/docs/generated-docs/maz-animated-element.doc.md +0 -14
  195. package/docs/generated-docs/maz-animated-text.doc.md +0 -17
  196. package/docs/generated-docs/maz-avatar.doc.md +0 -45
  197. package/docs/generated-docs/maz-backdrop.doc.md +0 -55
  198. package/docs/generated-docs/maz-badge.doc.md +0 -16
  199. package/docs/generated-docs/maz-bottom-sheet.doc.md +0 -24
  200. package/docs/generated-docs/maz-btn-group.doc.md +0 -20
  201. package/docs/generated-docs/maz-btn.doc.md +0 -33
  202. package/docs/generated-docs/maz-card-spotlight.doc.md +0 -16
  203. package/docs/generated-docs/maz-card.doc.md +0 -39
  204. package/docs/generated-docs/maz-carousel.doc.md +0 -17
  205. package/docs/generated-docs/maz-chart.doc.md +0 -10
  206. package/docs/generated-docs/maz-checkbox.doc.md +0 -33
  207. package/docs/generated-docs/maz-checklist.doc.md +0 -30
  208. package/docs/generated-docs/maz-circular-progress-bar.doc.md +0 -27
  209. package/docs/generated-docs/maz-code-highlight.doc.md +0 -11
  210. package/docs/generated-docs/maz-container.doc.md +0 -26
  211. package/docs/generated-docs/maz-date-picker.doc.md +0 -56
  212. package/docs/generated-docs/maz-dialog-confirm.doc.md +0 -24
  213. package/docs/generated-docs/maz-dialog.doc.md +0 -22
  214. package/docs/generated-docs/maz-drawer.doc.md +0 -25
  215. package/docs/generated-docs/maz-dropdown.doc.md +0 -45
  216. package/docs/generated-docs/maz-dropzone.doc.md +0 -82
  217. package/docs/generated-docs/maz-expand-animation.doc.md +0 -12
  218. package/docs/generated-docs/maz-fullscreen-loader.doc.md +0 -13
  219. package/docs/generated-docs/maz-gallery.doc.md +0 -17
  220. package/docs/generated-docs/maz-icon.doc.md +0 -16
  221. package/docs/generated-docs/maz-input-code.doc.md +0 -25
  222. package/docs/generated-docs/maz-input-number.doc.md +0 -33
  223. package/docs/generated-docs/maz-input-phone-number.doc.md +0 -62
  224. package/docs/generated-docs/maz-input-price.doc.md +0 -26
  225. package/docs/generated-docs/maz-input-tags.doc.md +0 -24
  226. package/docs/generated-docs/maz-input.doc.md +0 -54
  227. package/docs/generated-docs/maz-lazy-img.doc.md +0 -49
  228. package/docs/generated-docs/maz-link.doc.md +0 -31
  229. package/docs/generated-docs/maz-loading-bar.doc.md +0 -6
  230. package/docs/generated-docs/maz-markdown-editor.doc.md +0 -65
  231. package/docs/generated-docs/maz-pagination.doc.md +0 -21
  232. package/docs/generated-docs/maz-popover.doc.md +0 -79
  233. package/docs/generated-docs/maz-pull-to-refresh.doc.md +0 -50
  234. package/docs/generated-docs/maz-radio-buttons.doc.md +0 -34
  235. package/docs/generated-docs/maz-radio.doc.md +0 -33
  236. package/docs/generated-docs/maz-read-more.doc.md +0 -18
  237. package/docs/generated-docs/maz-reading-progress-bar.doc.md +0 -18
  238. package/docs/generated-docs/maz-select-country.doc.md +0 -45
  239. package/docs/generated-docs/maz-select.doc.md +0 -32
  240. package/docs/generated-docs/maz-sidebar-content.doc.md +0 -5
  241. package/docs/generated-docs/maz-sidebar-footer.doc.md +0 -5
  242. package/docs/generated-docs/maz-sidebar-group.doc.md +0 -11
  243. package/docs/generated-docs/maz-sidebar-header.doc.md +0 -5
  244. package/docs/generated-docs/maz-sidebar-menu-button.doc.md +0 -27
  245. package/docs/generated-docs/maz-sidebar-menu-item.doc.md +0 -5
  246. package/docs/generated-docs/maz-sidebar-menu-sub.doc.md +0 -16
  247. package/docs/generated-docs/maz-sidebar-menu.doc.md +0 -5
  248. package/docs/generated-docs/maz-sidebar-separator.doc.md +0 -0
  249. package/docs/generated-docs/maz-sidebar-trigger.doc.md +0 -5
  250. package/docs/generated-docs/maz-sidebar.doc.md +0 -36
  251. package/docs/generated-docs/maz-skeleton.doc.md +0 -12
  252. package/docs/generated-docs/maz-slider.doc.md +0 -20
  253. package/docs/generated-docs/maz-spinner.doc.md +0 -6
  254. package/docs/generated-docs/maz-stepper.doc.md +0 -30
  255. package/docs/generated-docs/maz-switch.doc.md +0 -31
  256. package/docs/generated-docs/maz-table-cell.doc.md +0 -5
  257. package/docs/generated-docs/maz-table-row.doc.md +0 -12
  258. package/docs/generated-docs/maz-table-title.doc.md +0 -5
  259. package/docs/generated-docs/maz-table-virtualizer.doc.md +0 -20
  260. package/docs/generated-docs/maz-table.doc.md +0 -72
  261. package/docs/generated-docs/maz-tabs-bar.doc.md +0 -29
  262. package/docs/generated-docs/maz-tabs-content-item.doc.md +0 -11
  263. package/docs/generated-docs/maz-tabs-content.doc.md +0 -5
  264. package/docs/generated-docs/maz-tabs.doc.md +0 -20
  265. package/docs/generated-docs/maz-textarea.doc.md +0 -46
  266. package/docs/generated-docs/maz-ticker.doc.md +0 -25
  267. package/docs/generated-docs/maz-timeline.doc.md +0 -32
  268. package/docs/generated-docs/maz-ui-provider.doc.md +0 -12
  269. package/docs/generated-docs/maz-window-mockup.doc.md +0 -23
  270. package/docs/src/blog/v4.md +0 -276
  271. package/docs/src/blog/v5.md +0 -184
  272. package/docs/src/changelog.md +0 -7
  273. package/docs/src/components/index.md +0 -8
  274. package/docs/src/components/maz-accordion.md +0 -80
  275. package/docs/src/components/maz-animated-counter.md +0 -124
  276. package/docs/src/components/maz-animated-element.md +0 -36
  277. package/docs/src/components/maz-animated-text.md +0 -36
  278. package/docs/src/components/maz-avatar.md +0 -227
  279. package/docs/src/components/maz-backdrop.md +0 -250
  280. package/docs/src/components/maz-bottom-sheet.md +0 -533
  281. package/docs/src/components/maz-card-spotlight.md +0 -163
  282. package/docs/src/components/maz-carousel.md +0 -231
  283. package/docs/src/components/maz-checkbox.md +0 -168
  284. package/docs/src/components/maz-checklist.md +0 -414
  285. package/docs/src/components/maz-circular-progress-bar.md +0 -145
  286. package/docs/src/components/maz-container.md +0 -363
  287. package/docs/src/components/maz-dialog-confirm.md +0 -240
  288. package/docs/src/components/maz-dialog.md +0 -164
  289. package/docs/src/components/maz-drawer.md +0 -181
  290. package/docs/src/components/maz-dropdown.md +0 -691
  291. package/docs/src/components/maz-expand-animation.md +0 -99
  292. package/docs/src/components/maz-fullscreen-loader.md +0 -58
  293. package/docs/src/components/maz-gallery.md +0 -85
  294. package/docs/src/components/maz-input-code.md +0 -61
  295. package/docs/src/components/maz-input-number.md +0 -81
  296. package/docs/src/components/maz-input-phone-number.md +0 -942
  297. package/docs/src/components/maz-input-price.md +0 -67
  298. package/docs/src/components/maz-input-tags.md +0 -114
  299. package/docs/src/components/maz-lazy-img.md +0 -88
  300. package/docs/src/components/maz-link.md +0 -178
  301. package/docs/src/components/maz-loading-bar.md +0 -26
  302. package/docs/src/components/maz-pagination.md +0 -79
  303. package/docs/src/components/maz-popover.md +0 -1416
  304. package/docs/src/components/maz-radio-buttons.md +0 -462
  305. package/docs/src/components/maz-radio.md +0 -142
  306. package/docs/src/components/maz-reading-progress-bar.md +0 -74
  307. package/docs/src/components/maz-spinner.md +0 -93
  308. package/docs/src/components/maz-switch.md +0 -92
  309. package/docs/src/components/maz-table.md +0 -732
  310. package/docs/src/components/maz-textarea.md +0 -400
  311. package/docs/src/components/maz-ticker.md +0 -692
  312. package/docs/src/components/maz-timeline.md +0 -478
  313. package/docs/src/composables/use-aos.md +0 -34
  314. package/docs/src/composables/use-breakpoints.md +0 -35
  315. package/docs/src/composables/use-dialog.md +0 -88
  316. package/docs/src/composables/use-string-matching.md +0 -63
  317. package/docs/src/composables/use-toast.md +0 -71
  318. package/docs/src/composables/use-wait.md +0 -62
  319. package/docs/src/composables/use-window-size.md +0 -18
  320. package/docs/src/ecosystem/icons/icon-set.md +0 -123
  321. package/docs/src/ecosystem/mcp.md +0 -210
  322. package/docs/src/ecosystem/node/index.md +0 -53
  323. package/docs/src/ecosystem/utils/camel-case.md +0 -31
  324. package/docs/src/ecosystem/utils/capitalize.md +0 -50
  325. package/docs/src/ecosystem/utils/country-code-to-unicode-flag.md +0 -213
  326. package/docs/src/ecosystem/utils/debounce-callback.md +0 -38
  327. package/docs/src/ecosystem/utils/fetch-locale-ip.md +0 -33
  328. package/docs/src/ecosystem/utils/get-browser-locale.md +0 -29
  329. package/docs/src/ecosystem/utils/get-country-flag-url.md +0 -156
  330. package/docs/src/ecosystem/utils/is-server.md +0 -31
  331. package/docs/src/ecosystem/utils/is-standalone-mode.md +0 -43
  332. package/docs/src/ecosystem/utils/truthy-filter.md +0 -31
  333. package/docs/src/ecosystem/utils/types/deep-required.md +0 -39
  334. package/docs/src/ecosystem/utils/types/flatten-object-keys.md +0 -44
  335. package/docs/src/ecosystem/utils/upper-first.md +0 -32
  336. package/docs/src/guide/cli.md +0 -144
  337. package/docs/src/guide/migration-v4.md +0 -925
  338. package/docs/src/guide/tailwind.md +0 -158
  339. package/docs/src/index.md +0 -603
  340. package/docs/src/made-with-maz-ui.md +0 -58
  341. package/docs/src/plugins/toast.md +0 -349
  342. package/docs/src/plugins/wait.md +0 -109
  343. package/docs/src/theme-editor.md +0 -21
package/docs/src/index.md DELETED
@@ -1,603 +0,0 @@
1
- ---
2
- layout: home
3
- title: Maz UI - Standalone Components and Tools Library for Vue & Nuxt
4
- description: Build amazing interfaces with Maz-UI - standalone components & tools library for Vue.JS & Nuxt.JS
5
- # hero:
6
- # name: Maz-UI
7
- # text: Lightweight and efficient library
8
- # tagline: Standalone components and tools for Vue & Nuxt
9
- # image:
10
- # src: /img/maz-ui-illu.png
11
- # alt: Logo of Maz-UI
12
- ---
13
-
14
- <section class="vp-raw maz:pt-8">
15
- <MazAnimatedElement :delay="0" class="maz:w-full">
16
- <MazCardSpotlight color="primary" content-class="maz:flex maz:flex-col maz:tab-m:flex-row maz:gap-4 maz:items-start maz:tab-m:items-center maz:w-full" class="maz:w-full" :inner-opacity="0.70">
17
- <MazIcon icon="/logo.svg" size="4rem" />
18
- <div class="maz:flex-1 maz:flex maz:flex-col maz:gap-1 maz:items-start">
19
- <MazBadge color="primary" class="maz:text-xs" size="xs">
20
- <MazSparkles class="maz:mr-1" /> v5 released
21
- </MazBadge>
22
- <h3 class="maz:text-lg maz:font-semibold maz:m-0">Maz-UI v5 — Theming, perfected</h3>
23
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm maz:m-0">
24
- OKLCh color system, RTL-correct components, lighter chart, simpler icon API — and a one-shot CLI to handle the migration.
25
- </p>
26
- </div>
27
- <div class="maz:flex maz:flex-col maz:mob-l:flex-row maz:gap-2 maz:w-full maz:tab-m:w-auto maz:shrink-0">
28
- <MazBtn href="/guide/migration-v5" color="primary" size="sm" class="maz:w-full maz:mob-l:w-auto">
29
- Migrate to v5
30
- </MazBtn>
31
- <MazBtn href="/blog/v5" color="secondary" size="sm" class="maz:w-full maz:mob-l:w-auto">
32
- Read announcement
33
- </MazBtn>
34
- </div>
35
- </MazCardSpotlight>
36
- </MazAnimatedElement>
37
- </section>
38
-
39
- <section id="hero" class="maz:pt-8 maz:pb-12 maz:tab-m:py-12 vp-raw">
40
- <div class="maz:mx-auto maz:max-w-3xl">
41
- <MazAnimatedText
42
- text="Collection of standalone components, plugins, directives, composables and more"
43
- direction="down"
44
- :delay="0"
45
- tag="h2"
46
- class="maz:text-xl maz:tracking-tight maz:text-muted maz:tab-m:flex-center maz:tab-m:w-full"
47
- :duration="2000"
48
- :column-gap="0.2"
49
- />
50
- <MazAnimatedText
51
- text="Lightweight and efficient library for"
52
- last-word="Vue & Nuxt"
53
- direction="down"
54
- :delay="500"
55
- tag="h1"
56
- class="maz:mt-6 maz:text-4xl maz:tracking-tighter maz:font-bold maz:tab-m:flex-center maz:tab-m:text-5xl maz:lg:text-6xl"
57
- />
58
- </div>
59
- <MazAnimatedElement :delay="1000">
60
- <div class="maz:mt-12 maz:flex maz:flex-col maz:gap-4 maz:flex-center maz:mob-l:flex-row">
61
- <MazBtn
62
- size="lg"
63
- href="/guide/getting-started"
64
- class="maz:w-full maz:mob-l:w-auto maz:font-semibold"
65
- :start-icon="MazPlay"
66
- >
67
- Get Started
68
- </MazBtn>
69
- <MazBtn v-if="typeof starCount === 'number'" href="https://github.com/LouisMazel/maz-ui" target="blank" outlined color="surface" size="lg" class="maz:w-full maz:mob-l:w-auto">
70
- <template #start-icon>
71
- <MazGithub class="maz:text-3xl" />
72
- </template>
73
- <MazAnimatedCounter :delay="1250" :count="starCount" class="maz:text-xl maz:ps-2" />
74
- <template #end-icon>
75
- <MazStar class="maz:text-2xl" />
76
- </template>
77
- </MazBtn>
78
- </div>
79
- </MazAnimatedElement>
80
-
81
- <MazAnimatedElement :delay="1250" class="maz:mt-12 maz:tab-l:mt-20">
82
- <MazTabs>
83
- <div class="maz:flex maz:justify-between maz:items-start maz:tab-l:items-center maz:gap-4 maz:mb-4 maz:flex-col-reverse maz:tab-l:flex-row">
84
- <MazTabsBar :items="['Dashboard', 'Product Page', 'Auth Page']" />
85
- <div class="maz:flex maz:gap-2 maz:items-center maz:flex-row-reverse maz:tab-l:flex-row">
86
- <MazBtn size="sm" fab color="surface" :icon="isDark ? MazMoon : MazSun" outlined @click="toggleDarkMode" />
87
- <MazRadioButtons
88
- :model-value="presetName"
89
- size="sm"
90
- :options="[
91
- {
92
- label: 'Pristine',
93
- value: 'pristine'
94
- }, {
95
- label: 'Ocean',
96
- value: 'ocean'
97
- }, {
98
- label: 'Obsidian',
99
- value: 'obsidian'
100
- }, {
101
- label: 'Nova',
102
- value: 'nova'
103
- }, {
104
- label: 'Maz-UI',
105
- value: 'maz-ui'
106
- }
107
- ]"
108
- @update:model-value="changePreset"
109
- />
110
- </div>
111
- </div>
112
- <MazTabsContent>
113
- <MazTabsContentItem :tab="1">
114
- <MazCard
115
- bordered
116
- :padding="false"
117
- overflow-hidden
118
- class="maz:relative maz:w-full"
119
- content-class="maz:flex maz:flex-col maz:gap-2 maz:items-start"
120
- >
121
- <DemoDashboardPage :delay="2000" class="maz:hidden maz:tab-m:block" />
122
- <div class="maz:dark:hidden">
123
- <MazLazyImg class="maz:block maz:tab-m:hidden! maz:w-full maz:min-h-40" src="/img/demo/dashboard-light.png" alt="Maz-UI" />
124
- </div>
125
- <div class="maz:hidden maz:dark:block">
126
- <MazLazyImg src="/img/demo/dashboard-dark.png" class="maz:block maz:tab-m:hidden! maz:w-full maz:min-h-40" alt="Maz-UI" />
127
- </div>
128
- </MazCard>
129
- </MazTabsContentItem>
130
- <MazTabsContentItem :tab="2">
131
- <MazCard
132
- bordered
133
- :padding="false"
134
- overflow-hidden
135
- class="maz:relative maz:w-full"
136
- content-class="maz:flex maz:flex-col maz:gap-2 maz:items-start"
137
- >
138
- <DemoProductPage class="maz:hidden maz:tab-m:block" />
139
- <div class="maz:dark:hidden">
140
- <MazLazyImg class="maz:block maz:tab-m:hidden! maz:w-full maz:min-h-40" src="/img/demo/product-page-light.png" alt="Maz-UI" />
141
- </div>
142
- <div class="maz:hidden maz:dark:block">
143
- <MazLazyImg src="/img/demo/product-page-dark.png" class="maz:block maz:tab-m:hidden! maz:w-full maz:min-h-40" alt="Maz-UI" />
144
- </div>
145
- </MazCard>
146
- </MazTabsContentItem>
147
- <MazTabsContentItem :tab="3">
148
- <MazCard
149
- bordered
150
- :padding="false"
151
- overflow-hidden
152
- class="maz:relative maz:w-full"
153
- content-class="maz:flex maz:flex-col maz:gap-2 maz:items-start"
154
- >
155
- <DemoAuthPage class="maz:hidden maz:tab-m:flex" />
156
- <div class="maz:dark:hidden">
157
- <MazLazyImg class="maz:block maz:tab-m:hidden! maz:w-full maz:min-h-40" src="/img/demo/auth-page-light.png" alt="Maz-UI" />
158
- </div>
159
- <div class="maz:hidden maz:dark:block">
160
- <MazLazyImg src="/img/demo/auth-page-dark.png" class="maz:block maz:tab-m:hidden! maz:w-full maz:min-h-40" alt="Maz-UI" />
161
- </div>
162
- </MazCard>
163
- </MazTabsContentItem>
164
- </MazTabsContent>
165
- </MazTabs>
166
- </MazAnimatedElement>
167
- </section>
168
-
169
- <section class="vp-raw maz:mb-12">
170
- <MazAnimatedElement :delay="0" class="maz:w-full">
171
- <a href="https://relizy.dev" target="_blank" rel="noopener" class="maz:block maz:no-underline">
172
- <MazCardSpotlight color="secondary" content-class="maz:flex maz:flex-col maz:tab-m:flex-row maz:gap-4 maz:items-start maz:tab-m:items-center maz:w-full" class="maz:w-full" :inner-opacity="0.70">
173
- <img src="https://raw.githubusercontent.com/LouisMazel/relizy/refs/heads/main/resources/logo.svg" alt="Relizy logo" class="maz:h-14 maz:w-14 maz:shrink-0" />
174
- <div class="maz:flex-1 maz:flex maz:flex-col maz:gap-1 maz:items-start">
175
- <MazBadge color="primary" class="maz:text-xs" size="xs">
176
- <MazSparkles class="maz:mr-1" /> New
177
- </MazBadge>
178
- <h3 class="maz:text-lg maz:font-semibold maz:m-0">Relizy.dev — Ship releases in one command</h3>
179
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm maz:m-0">
180
- Automate versioning, changelogs, Git tagging & publishing to npm, GitHub & GitLab — built for monorepos and single packages.
181
- </p>
182
- </div>
183
- <MazBtn href="https://relizy.dev" color="secondary" size="sm" class="maz:w-full maz:tab-m:w-auto maz:shrink-0" target="_blank" :right-icon="MazArrowTopRightOnSquare">
184
- Discover Relizy
185
- </MazBtn>
186
- </MazCardSpotlight>
187
- </a>
188
- </MazAnimatedElement>
189
- </section>
190
-
191
- <section class="vp-raw">
192
- <h2 class="maz:text-2xl maz:font-bold maz:mb-8">Why choose Maz-UI ?</h2>
193
- <div class="maz:grid maz:mob-l:grid-cols-2 maz:tab-m:grid-cols-3 maz:gap-4 maz:flex-wrap vp-raw">
194
- <MazCardSpotlight content-class="maz:flex maz:flex-col maz:gap-2 maz:items-start">
195
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
196
- ⚡️
197
- </span>
198
- <h2 class="maz:text-base maz:font-semibold">Standalone</h2>
199
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
200
- All components or tools are standalone; if you want, you can use only one module from this library.
201
- You don't need to install the whole library.
202
- </p>
203
- </MazCardSpotlight>
204
- <MazCardSpotlight content-class="maz:flex maz:flex-col maz:gap-2 maz:items-start">
205
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
206
- 👨‍❤️‍👨
207
- </span>
208
- <h2 class="maz:text-base maz:font-semibold">SSR Friendly</h2>
209
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
210
- All components work with Nuxt, no need to install components on the client side.
211
- </p>
212
- </MazCardSpotlight>
213
- <MazCardSpotlight content-class="maz:flex maz:flex-col maz:gap-2 maz:items-start">
214
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
215
- 🔐
216
- </span>
217
- <h2 class="maz:text-base maz:font-semibold">Typescript</h2>
218
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
219
- This library is written in Typescript, so all types and declarations are directly available.
220
- </p>
221
- </MazCardSpotlight>
222
- <a href="/ecosystem/themes" class="maz:flex">
223
- <MazCardSpotlight class="maz:w-full" content-class="maz:flex maz:flex-col maz:gap-2 maz:items-start">
224
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
225
- 💄
226
- </span>
227
- <h2 class="maz:text-base maz:font-semibold">Theming</h2>
228
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
229
- Created with TailwindCSS | Optimized CSS file sizes | Complies with all CSS best practices | Use your theme easily.
230
- </p>
231
- <div class="maz:flex-1"></div>
232
- <MazBtn color="surface" outlined size="sm" block href="/ecosystem/themes">Discover</MazBtn>
233
- </MazCardSpotlight>
234
- </a>
235
- <a href="/guide/dark-mode" class="maz:flex">
236
- <MazCardSpotlight class="maz:w-full" content-class="maz:flex maz:flex-col maz:gap-2 maz:items-start">
237
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
238
- 🌗
239
- </span>
240
- <h2 class="maz:text-base maz:font-semibold">Dark and Light Theme</h2>
241
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
242
- All components support the Dark and Light themes.
243
- </p>
244
- <div class="maz:flex-1"></div>
245
- <MazBtn color="surface" outlined size="sm" block href="/guide/dark-mode">Discover</MazBtn>
246
- </MazCardSpotlight>
247
- </a>
248
- <a href="/plugins/toast" class="maz:flex">
249
- <MazCardSpotlight class="maz:w-full" content-class="maz:flex maz:flex-col maz:gap-2 maz:items-start">
250
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
251
- 🛠
252
- </span>
253
- <h2 class="maz:text-base maz:font-semibold">Tools</h2>
254
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
255
- Maz-ui provides many modules, plugins, directives, formatters and composables
256
- </p>
257
- <div class="maz:flex-1"></div>
258
- <MazBtn color="surface" outlined size="sm" block href="/plugins/toast">Discover</MazBtn>
259
- </MazCardSpotlight>
260
- </a>
261
- </div>
262
- </section>
263
-
264
- <section class="maz:my-12 vp-raw">
265
- <h2 class="maz:text-2xl maz:font-bold maz:mb-8">Ecosystem</h2>
266
-
267
- <div class="maz:grid maz:grid-cols-1 maz:tab-m:grid-cols-2 maz:gap-4">
268
- <a href="/ecosystem/nuxt" class="maz:flex">
269
- <MazCardSpotlight class="maz:w-full" color="accent" content-class="maz:flex maz:flex-col maz:gap-2 maz:items-start">
270
- <div class="maz:flex maz:items-start maz:gap-2 maz:justify-between maz:w-full">
271
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
272
- 🚀
273
- </span>
274
- <MazBadge color="accent" class="maz:text-base">Package</MazBadge>
275
- </div>
276
- <h3 class="maz:text-base maz:font-semibold">@maz-ui/nuxt</h3>
277
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
278
- Official Nuxt module with auto-imports, optimized builds, and seamless SSR support. Zero configuration required.
279
- </p>
280
- <div class="maz:flex-1"></div>
281
- <MazBtn color="surface" outlined size="sm" block href="/ecosystem/nuxt">Discover</MazBtn>
282
- </MazCardSpotlight>
283
- </a>
284
- <a href="/ecosystem/icons/" class="maz:flex">
285
- <MazCardSpotlight class="maz:w-full" color="accent" content-class="maz:flex maz:flex-col maz:gap-2 maz:items-start">
286
- <div class="maz:flex maz:items-start maz:gap-2 maz:justify-between maz:w-full">
287
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
288
- 🎨
289
- </span>
290
- <MazBadge color="accent" class="maz:text-base">Package</MazBadge>
291
- </div>
292
- <h3 class="maz:text-base maz:font-semibold">@maz-ui/icons</h3>
293
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
294
- 860+ beautiful SVG icons ready for Vue. Multiple usage patterns: components, direct SVG files, raw SVG strings or auto-import.
295
- </p>
296
- <div class="maz:flex-1"></div>
297
- <MazBtn color="surface" outlined size="sm" block href="/ecosystem/icons/">Discover</MazBtn>
298
- </MazCardSpotlight>
299
- </a>
300
- <a href="/ecosystem/translations" class="maz:flex">
301
- <MazCardSpotlight class="maz:w-full" color="accent" content-class="maz:flex maz:flex-col maz:gap-2 maz:items-start">
302
- <div class="maz:flex maz:items-start maz:gap-2 maz:justify-between maz:w-full">
303
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
304
- 🌍
305
- </span>
306
- <MazBadge color="accent" class="maz:text-base">Package</MazBadge>
307
- </div>
308
- <h3 class="maz:text-base maz:font-semibold">@maz-ui/translations</h3>
309
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
310
- Simple internationalization system for Maz-UI components. Translate your interface into any language with ease.
311
- </p>
312
- <div class="maz:flex-1"></div>
313
- <MazBtn color="surface" outlined size="sm" block href="/ecosystem/translations">Discover</MazBtn>
314
- </MazCardSpotlight>
315
- </a>
316
- <a href="/ecosystem/themes" class="maz:flex">
317
- <MazCardSpotlight class="maz:w-full" color="accent" content-class="maz:flex maz:flex-col maz:gap-2 maz:items-start">
318
- <div class="maz:flex maz:items-start maz:gap-2 maz:justify-between maz:w-full">
319
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
320
- 🎭
321
- </span>
322
- <MazBadge color="accent" class="maz:text-base">Package</MazBadge>
323
- </div>
324
- <h3 class="maz:text-base maz:font-semibold">@maz-ui/themes</h3>
325
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
326
- Pre-built theme collections and design tokens for rapid UI development. Ready-to-use color schemes and styles.
327
- </p>
328
- <div class="maz:flex-1"></div>
329
- <MazBtn color="surface" outlined size="sm" block href="/ecosystem/themes">Discover</MazBtn>
330
- </MazCardSpotlight>
331
- </a>
332
- <a href="/ecosystem/mcp" class="maz:flex">
333
- <MazCardSpotlight class="maz:w-full" color="accent" content-class="maz:flex maz:flex-col maz:gap-2 maz:items-start">
334
- <div class="maz:flex maz:items-start maz:gap-2 maz:justify-between maz:w-full">
335
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
336
- 🚀
337
- </span>
338
- <MazBadge color="accent" class="maz:text-base">Package</MazBadge>
339
- </div>
340
- <h3 class="maz:text-base maz:font-semibold">@maz-ui/mcp</h3>
341
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
342
- Provides a Model Context Protocol (MCP) server that exposes Maz-UI documentation to AI agents. This server enables AI agents to generate code and assist developers in using Maz-UI.
343
- </p>
344
- <div class="maz:flex-1"></div>
345
- <MazBtn color="surface" outlined size="sm" block href="/ecosystem/mcp">Discover</MazBtn>
346
- </MazCardSpotlight>
347
- </a>
348
- </div>
349
- </section>
350
-
351
- <section class="maz:mt-12 vp-raw">
352
- <h2 class="maz:text-2xl maz:font-bold maz:mb-8">Popular Components & Modules</h2>
353
-
354
- <div class="maz:grid maz:grid-cols-1 maz:tab-m:grid-cols-2 maz:tab-l:grid-cols-3 maz:gap-4">
355
- <MazCardSpotlight color="info" content-class="maz:flex maz:flex-col maz:gap-2">
356
- <div class="maz:flex maz:items-start maz:gap-2 maz:justify-between w-full">
357
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
358
- 📞
359
- </span>
360
- <MazBadge color="primary" class="maz:text-base">Component</MazBadge>
361
- </div>
362
- <h3 class="maz:text-base maz:font-semibold">MazInputPhoneNumber</h3>
363
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
364
- A powerful phone number input component with international number formatting and validation.
365
- </p>
366
- <div class="maz:flex-1"></div>
367
- <MazBtn color="surface" outlined size="sm" block href="/components/maz-input-phone-number">Discover</MazBtn>
368
- </MazCardSpotlight>
369
- <MazCardSpotlight color="info" content-class="maz:flex maz:flex-col maz:gap-2">
370
- <div class="maz:flex maz:items-start maz:gap-2 maz:justify-between w-full">
371
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
372
- 🪟
373
- </span>
374
- <MazBadge color="primary" class="maz:text-base">Component</MazBadge>
375
- </div>
376
- <h3 class="maz:text-base maz:font-semibold">MazPopover</h3>
377
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
378
- A powerful popover component with various customization options and smooth animations.
379
- </p>
380
- <div class="maz:flex-1"></div>
381
- <MazBtn color="surface" outlined size="sm" block href="/components/maz-popover">Discover</MazBtn>
382
- </MazCardSpotlight>
383
- <MazCardSpotlight color="info" content-class="maz:flex maz:flex-col maz:gap-2">
384
- <div class="maz:flex maz:items-start maz:gap-2 maz:justify-between w-full">
385
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
386
- ✏️
387
- </span>
388
- <MazBadge color="primary" class="maz:text-base">Component</MazBadge>
389
- </div>
390
- <h3 class="maz:text-base maz:font-semibold">MazInput</h3>
391
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
392
- A versatile input component with various customization options and validation support.
393
- </p>
394
- <div class="maz:flex-1"></div>
395
- <MazBtn color="surface" outlined size="sm" block href="/components/maz-input">Discover</MazBtn>
396
- </MazCardSpotlight>
397
- <MazCardSpotlight color="info" content-class="maz:flex maz:flex-col maz:gap-2">
398
- <div class="maz:flex maz:items-start maz:gap-2 maz:justify-between w-full">
399
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
400
- 🔔
401
- </span>
402
- <MazBadge color="info" class="maz:text-base">Plugin</MazBadge>
403
- </div>
404
- <h3 class="maz:text-base maz:font-semibold">Toast</h3>
405
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
406
- A simple and customizable toast notification module to display messages to users.
407
- </p>
408
- <div class="maz:flex-1"></div>
409
- <MazBtn color="surface" outlined size="sm" block href="/plugins/toast">Discover</MazBtn>
410
- </MazCardSpotlight>
411
- </div>
412
- </section>
413
-
414
- <section class="maz:mt-12 vp-raw">
415
- <h2 class="maz:text-2xl maz:font-bold maz:mb-8">Latest Components & Modules</h2>
416
- <div class="maz:grid maz:grid-cols-1 maz:tab-m:grid-cols-2 maz:tab-l:grid-cols-3 maz:gap-4">
417
- <MazCardSpotlight color="secondary" content-class="maz:flex maz:flex-col maz:gap-2">
418
- <div class="maz:flex maz:items-start maz:gap-2 maz:justify-between w-full">
419
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
420
- ✨
421
- </span>
422
- <MazBadge color="primary" class="maz:text-base">Component</MazBadge>
423
- </div>
424
- <h3 class="maz:text-base maz:font-semibold">MazAnimatedText</h3>
425
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
426
- A text animation component that brings your content to life with smooth sliding blur effects and gradient highlights. Perfect for creating engaging headings and text transitions.
427
- </p>
428
- <div class="maz:flex-1"></div>
429
- <MazBtn color="surface" outlined size="sm" block href="/components/maz-animated-text">Discover</MazBtn>
430
- </MazCardSpotlight>
431
- <MazCardSpotlight color="secondary" content-class="maz:flex maz:flex-col maz:gap-2">
432
- <div class="maz:flex maz:items-start maz:gap-2 maz:justify-between w-full">
433
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
434
- 🎭
435
- </span>
436
- <MazBadge color="primary" class="maz:text-base">Component</MazBadge>
437
- </div>
438
- <h3 class="maz:text-base maz:font-semibold">MazAnimatedElement</h3>
439
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
440
- A versatile animation component that adds smooth entrance animations to any element. Features multiple animation directions and customizable timing for creating engaging UI interactions.
441
- </p>
442
- <div class="maz:flex-1"></div>
443
- <MazBtn color="surface" outlined size="sm" block href="/components/maz-animated-element">Discover</MazBtn>
444
- </MazCardSpotlight>
445
- <MazCardSpotlight color="secondary" content-class="maz:flex maz:flex-col maz:gap-2">
446
- <div class="maz:flex maz:items-start maz:gap-2 maz:justify-between w-full">
447
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
448
- 🔦
449
- </span>
450
- <MazBadge color="primary" class="maz:text-base">Component</MazBadge>
451
- </div>
452
- <h3 class="maz:text-base maz:font-semibold">MazCardSpotlight</h3>
453
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
454
- A beautiful card component with a spotlight effect that follows your cursor movement. Perfect for highlighting important content or creating engaging UI elements.
455
- </p>
456
- <div class="maz:flex-1"></div>
457
- <MazBtn color="surface" outlined size="sm" block href="/components/maz-card-spotlight">Discover</MazBtn>
458
- </MazCardSpotlight>
459
- <MazCardSpotlight color="secondary" content-class="maz:flex maz:flex-col maz:gap-2">
460
- <div class="maz:flex maz:items-start maz:gap-2 maz:justify-between w-full">
461
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
462
- 📝
463
- </span>
464
- <MazBadge color="success" class="maz:text-base">Composable</MazBadge>
465
- </div>
466
- <h3 class="maz:text-base maz:font-semibold">useFormValidator</h3>
467
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
468
- A Vue composable designed to simplify form validation with any Standard Schema library (Valibot, Zod, ArkType...). Offers a flexible and typed approach to handle form validation.
469
- </p>
470
- <div class="maz:flex-1"></div>
471
- <MazBtn color="surface" outlined size="sm" block href="/composables/use-form-validator">Discover</MazBtn>
472
- </MazCardSpotlight>
473
- <MazCardSpotlight color="secondary" content-class="maz:flex maz:flex-col maz:gap-2">
474
- <div class="maz:flex maz:items-start maz:gap-2 maz:justify-between w-full">
475
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
476
- 📋
477
- </span>
478
- <MazBadge color="primary" class="maz:text-base">Component</MazBadge>
479
- </div>
480
- <h3 class="maz:text-base maz:font-semibold">MazChecklist</h3>
481
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
482
- A versatile checklist component with integrated search functionality, perfect for managing multiple selections with an intuitive user interface.
483
- </p>
484
- <div class="maz:flex-1"></div>
485
- <MazBtn color="surface" outlined size="sm" block href="/components/maz-checklist">Discover</MazBtn>
486
- </MazCardSpotlight>
487
- <MazCardSpotlight color="secondary" content-class="maz:flex maz:flex-col maz:gap-2">
488
- <div class="maz:flex maz:items-start maz:gap-2 maz:justify-between w-full">
489
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
490
- 💬
491
- </span>
492
- <MazBadge color="info" class="maz:text-base">Plugin</MazBadge>
493
- </div>
494
- <h3 class="maz:text-base maz:font-semibold">Dialog</h3>
495
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
496
- A zero-template dialog solution - no component needed in your templates. Just use the composable function to display promised dialogs with full TypeScript support and customization options.
497
- </p>
498
- <div class="maz:flex-1"></div>
499
- <MazBtn color="surface" outlined size="sm" block href="/plugins/dialog">Discover</MazBtn>
500
- </MazCardSpotlight>
501
- <MazCardSpotlight color="secondary" content-class="maz:flex maz:flex-col maz:gap-2">
502
- <div class="maz:flex maz:items-start maz:gap-2 maz:justify-between w-full">
503
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
504
- 🖼️
505
- </span>
506
- <MazBadge color="warning" class="maz:text-base">Directive</MazBadge>
507
- </div>
508
- <h3 class="maz:text-base maz:font-semibold">v-fullscreen-img</h3>
509
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
510
- A powerful directive to display images in fullscreen with zoom capabilities, hover effects and smooth animations. Perfect for galleries and image previews.
511
- </p>
512
- <div class="maz:flex-1"></div>
513
- <MazBtn color="surface" outlined size="sm" block href="/directives/fullscreen-img">Discover</MazBtn>
514
- </MazCardSpotlight>
515
- <MazCardSpotlight color="secondary" content-class="maz:flex maz:flex-col maz:gap-2">
516
- <div class="maz:flex maz:items-start maz:gap-2 maz:justify-between w-full">
517
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
518
- 🌍
519
- </span>
520
- <MazBadge color="success" class="maz:text-base">Composable</MazBadge>
521
- </div>
522
- <h3 class="maz:text-base maz:font-semibold">useDisplayNames</h3>
523
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
524
- A Vue composable that provides functions to work with localized display names based on ISO codes, leveraging the Intl.DisplayNames API.
525
- </p>
526
- <div class="maz:flex-1"></div>
527
- <MazBtn color="surface" outlined size="sm" block href="/composables/use-display-names">Discover</MazBtn>
528
- </MazCardSpotlight>
529
- <MazCardSpotlight color="secondary" content-class="maz:flex maz:flex-col maz:gap-2">
530
- <div class="maz:flex maz:items-start maz:gap-2 maz:justify-between w-full">
531
- <span class="maz:py-1 maz:px-2 maz:bg-surface-600 maz:dark:bg-surface-400 maz:rounded-md maz:text-2xl">
532
- 📊
533
- </span>
534
- <MazBadge color="primary" class="maz:text-base">Component</MazBadge>
535
- </div>
536
- <h3 class="maz:text-base maz:font-semibold">MazTable</h3>
537
- <p class="maz:dark:text-gray-300 maz:text-muted maz:text-sm">
538
- A powerful table component with sorting, search, pagination and selection features. Perfect for displaying and managing tabular data in an interactive manner.
539
- </p>
540
- <div class="maz:flex-1"></div>
541
- <MazBtn color="surface" outlined size="sm" block href="/components/maz-table">Discover</MazBtn>
542
- </MazCardSpotlight>
543
- </div>
544
- </section>
545
-
546
- <Contributors
547
- repo="louismazel/maz-ui"
548
- :creators="['LouisMazel']"
549
- :links="[
550
- { username: 'LouisMazel', link: 'https://twitter.com/mazeel', type: 'twitter' },
551
- ]"
552
- />
553
-
554
- <script lang="ts" setup>
555
- import DemoAuthPage from '../components/DemoAuthPage.vue'
556
- import DemoDashboardPage from '../components/DemoDashboardPage.vue'
557
- import DemoProductPage from '../components/DemoProductPage.vue'
558
- import Contributors from './../.vitepress/theme/components/Contributors.vue'
559
- import { MazArrowTopRightOnSquare } from '@maz-ui/icons/MazArrowTopRightOnSquare'
560
- import { MazStar } from '@maz-ui/icons/MazStar'
561
- import { MazPlay } from '@maz-ui/icons/raw/MazPlay'
562
- import { MazGithub } from '@maz-ui/icons/MazGithub'
563
- import { MazSun } from '@maz-ui/icons/raw/MazSun'
564
- import { MazMoon } from '@maz-ui/icons/raw/MazMoon'
565
- import { MazSparkles } from '@maz-ui/icons/MazSparkles'
566
-
567
- import { ref, computed } from 'vue'
568
- import { useTheme } from '@maz-ui/themes/composables/useTheme'
569
-
570
- const {
571
- isDark,
572
- colorMode,
573
- presetName,
574
- setColorMode,
575
- updateTheme,
576
- toggleDarkMode
577
- } = useTheme()
578
-
579
- async function changePreset(presetName) {
580
- updateTheme(presetName)
581
- }
582
-
583
- async function getStarCount() {
584
- try {
585
- const response = await fetch(`https://ungh.cc/repos/LouisMazel/maz-ui`);
586
-
587
- if (!response.ok) {
588
- throw new Error(`HTTP error status: ${response.status}`);
589
- }
590
-
591
- const data = await response.json();
592
- return data.repo.stars;
593
- } catch (error) {
594
- console.error('Erreur lors de la récupération des données:', error);
595
- }
596
- }
597
-
598
- const starCount = ref(0)
599
-
600
- getStarCount().then((count) => {
601
- starCount.value = count
602
- })
603
- </script>
@@ -1,58 +0,0 @@
1
- ---
2
- title: Made with Maz-UI
3
- description: List of websites using maz-ui library
4
- layout: doc
5
- sidebar: false
6
- aside: false
7
- ---
8
-
9
- # {{ $frontmatter.title }}
10
-
11
- {{ $frontmatter.description }}
12
-
13
- ::: info
14
- Propose your website by opening an [issue](https://github.com/LouisMazel/maz-ui/issues/new?assignees=LouisMazel&labels=enhancement&projects=&template=feature_request.md&title=%5BFEATURE%5D) or a [pull request](https://github.com/LouisMazel/maz-ui/edit/master/apps/docs/src/made-with-maz-ui.md) and editing this page.
15
- :::
16
-
17
- <div class="flex flex-col" style="display: flex; flex-direction: column; gap: 2rem">
18
- <MazCard zoom v-for="({images, description, link, title, github }, i) in projects" :key="i" class="maz:w-full" elevation :gallery="{ images, height: 350 }">
19
- <h1 class="maz:m-0" style="margin-bottom: 16px;">
20
- {{ title }}
21
- </h1>
22
- <h5 class="maz:m-0">
23
- {{ description }}
24
- </h5>
25
- <template #footer>
26
- <MazBtn v-if="github" color="black" :href="github" target="_blank" left-icon="/github.svg" class="maz:me-4">
27
- Github
28
- </MazBtn>
29
- <MazBtn :href="link" target="_blank" left-icon="/arrow-top-right-on-square.svg">
30
- Show
31
- </MazBtn>
32
- </template>
33
- </MazCard>
34
- </div>
35
-
36
- <script lang="ts" setup>
37
- const projects = [
38
- {
39
- title: 'harderbetter.io',
40
- images: ['https://www.harderbetter.io/images/harderbetter-screenshot.png'],
41
- description: 'Football predictions between friends',
42
- link: 'https://www.harderbetter.io'
43
- },
44
- {
45
- title: 'loicmazuel.com',
46
- images: ['/loicmazuel.png'],
47
- description: 'Personal Freelance Website',
48
- link: 'https://www.loicmazuel.com'
49
- },
50
- {
51
- title: 'Vue Smart List UI',
52
- images: ['/vue-smart-list-ui.png'],
53
- description: 'An intelligent interface for displaying a list of data and performing filters, sorting and searching on it. Also to display the details of the data.',
54
- link: 'https://louismazel.github.io/vue-smart-list-ui/',
55
- github: 'https://github.com/LouisMazel/vue-smart-list-ui'
56
- },
57
- ]
58
- </script>