@maz-ui/mcp 4.0.0-beta.26

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 (175) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +264 -0
  3. package/bin/maz-ui-mcp.mjs +7 -0
  4. package/dist/mcp.d.mts +13 -0
  5. package/dist/mcp.d.ts +13 -0
  6. package/dist/mcp.mjs +586 -0
  7. package/docs/generated-docs/maz-accordion.doc.md +21 -0
  8. package/docs/generated-docs/maz-animated-counter.doc.md +17 -0
  9. package/docs/generated-docs/maz-animated-element.doc.md +14 -0
  10. package/docs/generated-docs/maz-animated-text.doc.md +14 -0
  11. package/docs/generated-docs/maz-avatar.doc.md +44 -0
  12. package/docs/generated-docs/maz-backdrop.doc.md +61 -0
  13. package/docs/generated-docs/maz-badge.doc.md +16 -0
  14. package/docs/generated-docs/maz-bottom-sheet.doc.md +21 -0
  15. package/docs/generated-docs/maz-btn.doc.md +30 -0
  16. package/docs/generated-docs/maz-card-spotlight.doc.md +16 -0
  17. package/docs/generated-docs/maz-card.doc.md +39 -0
  18. package/docs/generated-docs/maz-carousel.doc.md +16 -0
  19. package/docs/generated-docs/maz-chart.doc.md +10 -0
  20. package/docs/generated-docs/maz-checkbox.doc.md +34 -0
  21. package/docs/generated-docs/maz-checklist.doc.md +30 -0
  22. package/docs/generated-docs/maz-circular-progress-bar.doc.md +27 -0
  23. package/docs/generated-docs/maz-date-picker.doc.md +52 -0
  24. package/docs/generated-docs/maz-dialog-confirm.doc.md +24 -0
  25. package/docs/generated-docs/maz-dialog.doc.md +22 -0
  26. package/docs/generated-docs/maz-drawer.doc.md +26 -0
  27. package/docs/generated-docs/maz-dropdown.doc.md +42 -0
  28. package/docs/generated-docs/maz-dropzone.doc.md +82 -0
  29. package/docs/generated-docs/maz-expand-animation.doc.md +12 -0
  30. package/docs/generated-docs/maz-fullscreen-loader.doc.md +13 -0
  31. package/docs/generated-docs/maz-gallery.doc.md +17 -0
  32. package/docs/generated-docs/maz-icon.doc.md +18 -0
  33. package/docs/generated-docs/maz-input-code.doc.md +25 -0
  34. package/docs/generated-docs/maz-input-number.doc.md +31 -0
  35. package/docs/generated-docs/maz-input-phone-number.doc.md +56 -0
  36. package/docs/generated-docs/maz-input-price.doc.md +26 -0
  37. package/docs/generated-docs/maz-input-tags.doc.md +24 -0
  38. package/docs/generated-docs/maz-input.doc.md +54 -0
  39. package/docs/generated-docs/maz-lazy-img.doc.md +31 -0
  40. package/docs/generated-docs/maz-link.doc.md +31 -0
  41. package/docs/generated-docs/maz-loading-bar.doc.md +6 -0
  42. package/docs/generated-docs/maz-pagination.doc.md +22 -0
  43. package/docs/generated-docs/maz-popover.doc.md +70 -0
  44. package/docs/generated-docs/maz-pull-to-refresh.doc.md +31 -0
  45. package/docs/generated-docs/maz-radio-buttons.doc.md +33 -0
  46. package/docs/generated-docs/maz-radio.doc.md +33 -0
  47. package/docs/generated-docs/maz-reading-progress-bar.doc.md +18 -0
  48. package/docs/generated-docs/maz-select-country.doc.md +44 -0
  49. package/docs/generated-docs/maz-select.doc.md +65 -0
  50. package/docs/generated-docs/maz-slider.doc.md +20 -0
  51. package/docs/generated-docs/maz-spinner.doc.md +6 -0
  52. package/docs/generated-docs/maz-stepper.doc.md +29 -0
  53. package/docs/generated-docs/maz-switch.doc.md +31 -0
  54. package/docs/generated-docs/maz-table-cell.doc.md +5 -0
  55. package/docs/generated-docs/maz-table-row.doc.md +11 -0
  56. package/docs/generated-docs/maz-table-title.doc.md +5 -0
  57. package/docs/generated-docs/maz-table.doc.md +66 -0
  58. package/docs/generated-docs/maz-tabs-bar.doc.md +18 -0
  59. package/docs/generated-docs/maz-tabs-content-item.doc.md +11 -0
  60. package/docs/generated-docs/maz-tabs-content.doc.md +5 -0
  61. package/docs/generated-docs/maz-tabs.doc.md +17 -0
  62. package/docs/generated-docs/maz-textarea.doc.md +41 -0
  63. package/docs/src/components/index.md +8 -0
  64. package/docs/src/components/maz-accordion.md +80 -0
  65. package/docs/src/components/maz-animated-counter.md +124 -0
  66. package/docs/src/components/maz-animated-element.md +36 -0
  67. package/docs/src/components/maz-animated-text.md +36 -0
  68. package/docs/src/components/maz-avatar.md +179 -0
  69. package/docs/src/components/maz-backdrop.md +16 -0
  70. package/docs/src/components/maz-badge.md +222 -0
  71. package/docs/src/components/maz-bottom-sheet.md +398 -0
  72. package/docs/src/components/maz-btn.md +526 -0
  73. package/docs/src/components/maz-card-spotlight.md +163 -0
  74. package/docs/src/components/maz-card.md +447 -0
  75. package/docs/src/components/maz-carousel.md +127 -0
  76. package/docs/src/components/maz-chart.md +346 -0
  77. package/docs/src/components/maz-checkbox.md +168 -0
  78. package/docs/src/components/maz-checklist.md +414 -0
  79. package/docs/src/components/maz-circular-progress-bar.md +147 -0
  80. package/docs/src/components/maz-date-picker.md +1078 -0
  81. package/docs/src/components/maz-dialog-confirm.md +240 -0
  82. package/docs/src/components/maz-dialog.md +208 -0
  83. package/docs/src/components/maz-drawer.md +177 -0
  84. package/docs/src/components/maz-dropdown.md +650 -0
  85. package/docs/src/components/maz-dropzone.md +442 -0
  86. package/docs/src/components/maz-expand-animation.md +99 -0
  87. package/docs/src/components/maz-fullscreen-loader.md +58 -0
  88. package/docs/src/components/maz-gallery.md +85 -0
  89. package/docs/src/components/maz-icon.md +85 -0
  90. package/docs/src/components/maz-input-code.md +61 -0
  91. package/docs/src/components/maz-input-number.md +81 -0
  92. package/docs/src/components/maz-input-phone-number.md +867 -0
  93. package/docs/src/components/maz-input-price.md +58 -0
  94. package/docs/src/components/maz-input-tags.md +114 -0
  95. package/docs/src/components/maz-input.md +453 -0
  96. package/docs/src/components/maz-lazy-img.md +24 -0
  97. package/docs/src/components/maz-link.md +156 -0
  98. package/docs/src/components/maz-loading-bar.md +26 -0
  99. package/docs/src/components/maz-pagination.md +81 -0
  100. package/docs/src/components/maz-popover.md +1414 -0
  101. package/docs/src/components/maz-pull-to-refresh.md +49 -0
  102. package/docs/src/components/maz-radio-buttons.md +456 -0
  103. package/docs/src/components/maz-radio.md +141 -0
  104. package/docs/src/components/maz-reading-progress-bar.md +74 -0
  105. package/docs/src/components/maz-select-country.md +636 -0
  106. package/docs/src/components/maz-select.md +439 -0
  107. package/docs/src/components/maz-slider.md +191 -0
  108. package/docs/src/components/maz-spinner.md +93 -0
  109. package/docs/src/components/maz-stepper.md +418 -0
  110. package/docs/src/components/maz-switch.md +92 -0
  111. package/docs/src/components/maz-table.md +571 -0
  112. package/docs/src/components/maz-tabs.md +231 -0
  113. package/docs/src/components/maz-textarea.md +218 -0
  114. package/docs/src/composables/use-aos.md +34 -0
  115. package/docs/src/composables/use-breakpoints.md +35 -0
  116. package/docs/src/composables/use-dialog.md +88 -0
  117. package/docs/src/composables/use-display-names.md +174 -0
  118. package/docs/src/composables/use-form-validator.md +1149 -0
  119. package/docs/src/composables/use-idle-timeout.md +256 -0
  120. package/docs/src/composables/use-reading-time.md +168 -0
  121. package/docs/src/composables/use-string-matching.md +63 -0
  122. package/docs/src/composables/use-swipe.md +223 -0
  123. package/docs/src/composables/use-timer.md +130 -0
  124. package/docs/src/composables/use-toast.md +71 -0
  125. package/docs/src/composables/use-user-visibility.md +169 -0
  126. package/docs/src/composables/use-wait.md +62 -0
  127. package/docs/src/composables/use-window-size.md +18 -0
  128. package/docs/src/demo/DemoAuthPage.vue +178 -0
  129. package/docs/src/demo/DemoDashboardPage.vue +298 -0
  130. package/docs/src/demo/DemoProductPage.vue +135 -0
  131. package/docs/src/directives/click-outside.md +275 -0
  132. package/docs/src/directives/fullscreen-img.md +101 -0
  133. package/docs/src/directives/lazy-img.md +184 -0
  134. package/docs/src/directives/tooltip.md +458 -0
  135. package/docs/src/directives/zoom-img.md +127 -0
  136. package/docs/src/guide/cli.md +144 -0
  137. package/docs/src/guide/getting-started.md +284 -0
  138. package/docs/src/guide/icon-set.md +60 -0
  139. package/docs/src/guide/icons.md +481 -0
  140. package/docs/src/guide/mcp.md +210 -0
  141. package/docs/src/guide/migration-v4.md +898 -0
  142. package/docs/src/guide/nuxt.md +411 -0
  143. package/docs/src/guide/resolvers.md +697 -0
  144. package/docs/src/guide/themes.md +789 -0
  145. package/docs/src/guide/translations.md +1173 -0
  146. package/docs/src/guide/vue.md +243 -0
  147. package/docs/src/helpers/camel-case.md +14 -0
  148. package/docs/src/helpers/capitalize.md +51 -0
  149. package/docs/src/helpers/check-availability.md +14 -0
  150. package/docs/src/helpers/country-code-to-unicode-flag.md +213 -0
  151. package/docs/src/helpers/currency.md +67 -0
  152. package/docs/src/helpers/date.md +67 -0
  153. package/docs/src/helpers/debounce-callback.md +14 -0
  154. package/docs/src/helpers/debounce-id.md +14 -0
  155. package/docs/src/helpers/debounce.md +14 -0
  156. package/docs/src/helpers/get-country-flag-url.md +156 -0
  157. package/docs/src/helpers/is-client.md +14 -0
  158. package/docs/src/helpers/is-equal.md +14 -0
  159. package/docs/src/helpers/is-standalone-mode.md +14 -0
  160. package/docs/src/helpers/kebab-case.md +14 -0
  161. package/docs/src/helpers/normalize-string.md +14 -0
  162. package/docs/src/helpers/number.md +65 -0
  163. package/docs/src/helpers/pascal-case.md +14 -0
  164. package/docs/src/helpers/script-loader.md +14 -0
  165. package/docs/src/helpers/sleep.md +14 -0
  166. package/docs/src/helpers/snake-case.md +14 -0
  167. package/docs/src/helpers/throttle-id.md +14 -0
  168. package/docs/src/helpers/throttle.md +14 -0
  169. package/docs/src/index.md +555 -0
  170. package/docs/src/made-with-maz-ui.md +58 -0
  171. package/docs/src/plugins/aos.md +347 -0
  172. package/docs/src/plugins/dialog.md +411 -0
  173. package/docs/src/plugins/toast.md +349 -0
  174. package/docs/src/plugins/wait.md +109 -0
  175. package/package.json +84 -0
@@ -0,0 +1,44 @@
1
+ ## Props
2
+
3
+ | Name | Description | Type | Required | Default | Possible values |
4
+ | ----------------------- | --------------------------------------------------------------- | -------------------------------------------------- | -------- | ---------------- | -------------------------------------------------- |
5
+ | **style** | The style of the component | `Native type` | No | `undefined` | - |
6
+ | **class** | The class of the component | `Native type` | No | `undefined` | - |
7
+ | **src** | The source of the image | `string \| null` | No | `undefined` | - |
8
+ | **caption** | The caption of the avatar | `string \| null` | No | `undefined` | - |
9
+ | **href** | The link of the avatar | `string` | No | `undefined` | - |
10
+ | **to** | The link (router-link) of the avatar | `string \| Record` | No | `undefined` | - |
11
+ | **alt** | The alt of the image | `string` | No | `'avatar image'` | - |
12
+ | **target** | The target of the link | `string` | No | `'_self'` | - |
13
+ | **size** | The size of the avatar | `string` | No | `undefined` | - |
14
+ | **bordered** | Add a border to the avatar | `boolean` | No | `undefined` | - |
15
+ | **clickable** | Make the avatar clickable | `boolean` | No | `undefined` | - |
16
+ | **square** | Make the avatar square | `boolean` | No | `undefined` | - |
17
+ | **no-elevation** | Remove the shadow | `boolean` | No | `undefined` | - |
18
+ | **show-caption** | Show the caption | `boolean` | No | `undefined` | - |
19
+ | **image-height-full** | Make the image height full | `boolean` | No | `undefined` | - |
20
+ | **hide-loader** | Remove the loader | `boolean` | No | `undefined` | - |
21
+ | **button-color** | The color of the clickable button | `MazColor` | No | `'info'` | - |
22
+ | **hide-clickable-icon** | Remove the icon on hover when component is clickable | `boolean` | No | `undefined` | - |
23
+ | **letter-count** | Number of letters to display in the round text | `number` | No | `undefined` | - |
24
+ | **rounded-size** | Size of the rounded | `"none" \| "sm" \| "md" \| "lg" \| "xl" \| "full"` | No | `'full'` | `'none' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'` |
25
+ | **fallback-src** | The fallback src to replace the src on loading error | `string` | No | `undefined` | - |
26
+ | **loading** | The loading strategy of the image - lazy, eager or intersecting | `"lazy" \| "eager" \| "intersecting"` | No | `'intersecting'` | `'lazy' \| 'eager' \| 'intersecting'` |
27
+
28
+ ## Events
29
+
30
+ | Event name | Properties | Description |
31
+ | ------------ | ---------- | -------------------------------------- |
32
+ | click | | Emitted when the avatar is clicked |
33
+ | error | | Emitted when the image is in error |
34
+ | loaded | | Emitted when the image is loaded |
35
+ | loading | | Emitted when the image is loading |
36
+ | intersecting | | Emitted when the image is intersecting |
37
+
38
+ ## Slots
39
+
40
+ | Name | Description | Bindings |
41
+ | ---------- | ----------- | -------- |
42
+ | round-text | | |
43
+ | icon | | |
44
+ | caption | | |
@@ -0,0 +1,61 @@
1
+ ## Props
2
+
3
+ | Name | Description | Type | Required |
4
+ | -------------------------- | ---------------------------------------------------------------------------- | ----------------------------------------------------------------------------- | -------- |
5
+ | **model-value** | `v-model` <br/> | `boolean` | No |
6
+ | **teleport-selector** | Teleport selector | `string` | No |
7
+ | **before-close** | Function called before modal is close | `TSFunctionType` | No |
8
+ | **persistent** | Persistent dialog (not closable by clicking outside and remove close button) | `boolean` | No |
9
+ | **close-on-escape** | Prevent close on escape key | `boolean` | No |
10
+ | **transition-name** | Transition name | `string` | No |
11
+ | **backdrop-class** | Backdrop class | `Native type` | No |
12
+ | **backdrop-content-class** | Backdrop content class | `Native type` | No |
13
+ | **content-padding** | Add padding to the content | `boolean` | No |
14
+ | **justify** | Justify content | `"center" \| "end" \| "start" \| "space-between" \| "space-around" \| "none"` | No |
15
+ | **align** | Align content | `"center" \| "end" \| "start" \| "none"` | No |
16
+ | **variant** | Variant | `"bottom-sheet" \| "dialog" \| "drawer"` | No |
17
+
18
+ ## Events
19
+
20
+ | Event name | Properties | Description |
21
+ | ------------------ | ---------- | ----------------------------------- |
22
+ | open | | emitted when modal is open |
23
+ | close | | emitted when modal is close |
24
+ | update:model-value | | emitted when modal is open or close |
25
+ | before-close | | emitted before modal is close |
26
+
27
+ ## Slots
28
+
29
+ | Name | Description | Bindings |
30
+ | ------- | ----------------------- | ------------------------------------------------------------------------------------------------------------------------------------ |
31
+ | default | Place your content here | **close** `Function` - close function<br/>**on-backdrop-clicked** `Function` - onBackdropClicked function (respects persistent prop) |
32
+
33
+ ## Expose
34
+
35
+ ### onBackdropAnimationEnter
36
+
37
+ >
38
+
39
+ ### onBackdropAnimationLeave
40
+
41
+ >
42
+
43
+ ### onBackdropClicked
44
+
45
+ >
46
+
47
+ ### close
48
+
49
+ >
50
+
51
+ ### present
52
+
53
+ >
54
+
55
+ ### toggleModal
56
+
57
+ >
58
+
59
+ ### onKeyPress
60
+
61
+ >
@@ -0,0 +1,16 @@
1
+ ## Props
2
+
3
+ | Name | Description | Type | Required | Default | Possible values |
4
+ | ---------------- | ------------------------------------- | --------------------- | -------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- |
5
+ | **color** | Color of the badge | `MazBadgeColor` | No | `'primary'` | `'primary' \| 'secondary' \| 'accent' \| 'info' \| 'success' \| 'warning' \| 'destructive' \| 'contrast' \| 'background'` |
6
+ | **size** | Size of the badge | `string` | No | `'0.8em'` | - |
7
+ | **nowrap** | Will not wrap the text | `boolean` | No | `false` | - |
8
+ | **outlined** | Will add a border to the badge | `boolean` | No | `false` | - |
9
+ | **pastel** | Will add a pastel style to the badge | `boolean` | No | `false` | - |
10
+ | **rounded-size** | Size radius of the component's border | `MazBadgeRoundedSize` | No | `'md'` | `'none' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'` |
11
+
12
+ ## Slots
13
+
14
+ | Name | Description | Bindings |
15
+ | ------- | ------------- | -------- |
16
+ | default | Badge content | |
@@ -0,0 +1,21 @@
1
+ ## Props
2
+
3
+ | Name | Description | Type | Required |
4
+ | --------------------- | ----------------------------------- | --------- | -------- |
5
+ | **model-value** | `v-model` <br/> | `boolean` | No |
6
+ | **hide-close-button** | Remove the close button | `boolean` | No |
7
+ | **padding** | Remove the padding on the container | `boolean` | No |
8
+
9
+ ## Events
10
+
11
+ | Event name | Properties | Description |
12
+ | ------------------ | ---------- | --------------------------------------- |
13
+ | close | | Emitted when the component is closed |
14
+ | open | | Emitted when the component is opened |
15
+ | update:model-value | | Emitted when the model value is updated |
16
+
17
+ ## Slots
18
+
19
+ | Name | Description | Bindings |
20
+ | ------- | ------------ | ------------------------------------- |
21
+ | default | Slot content | **close** `Function` - close function |
@@ -0,0 +1,30 @@
1
+ ## Props
2
+
3
+ | Name | Description | Type | Required | Default | Possible values |
4
+ | ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------- | -------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
5
+ | **text** | The text of the button, if not provided, the slot will be used | `string` | No | `undefined` | - |
6
+ | **size** | The size of the button | `MazSize` | No | `undefined` | `'xl' \| 'lg' \| 'md' \| 'sm' \| 'xs' \| 'mini'` |
7
+ | **color** | The color of the button | `MazColor \| "background"` | No | `undefined` | `'primary' \| 'secondary' \| 'info' \| 'success' \| 'warning' \| 'destructive' \| 'transparent' \| 'contrast' \| 'accent' \| 'background'` |
8
+ | **type** | The type of the button | `"submit" \| "reset" \| "button"` | No | `undefined` | `'submit' \| 'reset' \| 'button'` |
9
+ | **rounded-size** | Size of the rounded | `"none" \| "sm" \| "md" \| "lg" \| "xl" \| "full"` | No | `lg` | `'none' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'` |
10
+ | **outlined** | If true, the button have the "border" style | `boolean` | No | `false` | - |
11
+ | **pastel** | If true, the button will have a pastel color | `boolean` | No | `false` | - |
12
+ | **block** | If true, the button will have a full width | `boolean` | No | `false` | - |
13
+ | **loading** | Enable the button loader | `boolean` | No | `false` | - |
14
+ | **disabled** | Disable the button | `boolean` | No | `false` | - |
15
+ | **fab** | If true, the button will have a fab style | `boolean` | No | `false` | - |
16
+ | **icon** | The name of the icon to display or component, only with fab `@type` `{string \| FunctionalComponent<SVGAttributes> \| ComponentPublicInstance \| Component}` | `string \| IconComponent` | No | `undefined` | - |
17
+ | **left-icon** | The name of the icon or component to display on the left of the button `@type` `{string \| FunctionalComponent<SVGAttributes> \| ComponentPublicInstance \| Component}` | `string \| IconComponent` | No | `undefined` | - |
18
+ | **right-icon** | The name of the icon or component to display on the right of the button `@type` `{string \| FunctionalComponent<SVGAttributes> \| ComponentPublicInstance \| Component}` | `string \| IconComponent` | No | `undefined` | - |
19
+ | **padding** | If true, the button will have no padding | `boolean` | No | `true` | - |
20
+ | **justify** | Choose how the elements are aligned in the button | `"start" \| "end" \| "center" \| "space-between" \| "space-around" \| "space-evenly"` | No | `undefined` | - |
21
+
22
+ ## Slots
23
+
24
+ | Name | Description | Bindings |
25
+ | --------- | --------------------------------------------- | -------- |
26
+ | left-icon | The icon to display on the left of the button | |
27
+ | icon | The icon to display on the fab button | |
28
+ | default | The content of the button | |
29
+ | left-icon | The icon to display on the left of the button | |
30
+ | loader | The loader to display in the button | |
@@ -0,0 +1,16 @@
1
+ ## Props
2
+
3
+ | Name | Description | Type | Required | Default |
4
+ | ----------------- | --------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- | -------- | ----------- |
5
+ | **color** | The color of the component. | `MazColor` | No | `primary` |
6
+ | **elevation** | Add elevation to the component | `boolean` | No | `true` |
7
+ | **padding** | Add padding to the content | `boolean` | No | `true` |
8
+ | **content-class** | The classes to apply to the content div | `Native type` | No | `undefined` |
9
+ | **content-style** | Style apply to the content div | `StyleValue` | No | `undefined` |
10
+ | **inner-opacity** | The opacity of the inner div - should be between 0 and 1 When 0 the spotlight is completely visible When 1 the spotlight is only visible on borders | `number` | No | `0.95` |
11
+
12
+ ## Slots
13
+
14
+ | Name | Description | Bindings |
15
+ | ------- | ----------- | -------- |
16
+ | default | | |
@@ -0,0 +1,39 @@
1
+ ## Props
2
+
3
+ | Name | Description | Type | Required |
4
+ | ------------------- | --------------------------------------------------------------------------------------- | -------------------------------------------------------- | -------- |
5
+ | **orientation** | Card variant: Must be `column \| row \| row-reverse \| column-reverse` | `"column" \| "row" \| "row-reverse" \| "column-reverse"` | No |
6
+ | **href** | Make card a link (footer area excluded) | `string` | No |
7
+ | **to** | Make card a link with a router-link (footer area excluded) | `Native type` | No |
8
+ | **href-target** | Target option of link: Muse be one of `_blank \| _self \| _parent \| _top \| framename` | `"_blank" \| "_self" \| "_parent" \| "_top" \| string` | No |
9
+ | **footer-align** | Footer text alignment: `right \| left` | `"right" \| "left"` | No |
10
+ | **gallery** | Images gallery props options (see `MazGallery` component) | `MazGalleryProps` | No |
11
+ | **scale** | scale animation on hover (only linked cards) | `boolean` | No |
12
+ | **elevation** | Set elevation to card (box-shadow) | `boolean` | No |
13
+ | **radius** | Set radius to card | `boolean` | No |
14
+ | **bordered** | Set border to card (in dark mode, the card is always bordered) | `boolean` | No |
15
+ | **wrapper-class** | add classes to wrapper | `Native type` | No |
16
+ | **padding** | Remove padding from content wrapper | `boolean` | No |
17
+ | **overflow-hidden** | Hide overflow | `boolean` | No |
18
+ | **collapsible** | Make card collapsible | `boolean` | No |
19
+ | **collapse-open** | `v-model:collapse-open` <br/>Card is open by default if `true` | `boolean` | No |
20
+ | **title** | Title of the card in header | `string` | No |
21
+ | **block** | The card will be displayed in full width | `boolean` | No |
22
+
23
+ ## Events
24
+
25
+ | Event name | Properties | Description |
26
+ | ------------------- | ---------- | ----------------------------- |
27
+ | update:collapseOpen | | Update the collapseOpen model |
28
+
29
+ ## Slots
30
+
31
+ | Name | Description | Bindings |
32
+ | ---------------- | --------------------------------------------------------------- | --------------------------------------------------------------- |
33
+ | title | The title of the card | |
34
+ | content-title | The title of the card | **collapse-open** `mixed` - The collapse open state of the card |
35
+ | content-subtitle | The subtitle of the card | |
36
+ | content-body | The body of the card | |
37
+ | default | The content of the card | **collapse-open** `mixed` - The collapse open state of the card |
38
+ | footer | The footer of the card | |
39
+ | actions | The actions of the image gallery (only if gallery is displayed) | |
@@ -0,0 +1,16 @@
1
+ ## Props
2
+
3
+ | Name | Description | Type | Required | Default |
4
+ | ----------------------- | ---------------------------------- | ------------------------------------------------------ | -------- | ---------------------------------------- |
5
+ | **hide-scroll-buttons** | Hide display the scroll buttons | `boolean` | No | `false` |
6
+ | **translations** | Translations of the carousel | `DeepPartial<MazTranslationsNestedSchema['carousel']>` | No | `Translations from @maz-ui/translations` |
7
+ | **hide-scrollbar** | Hide the scrollbar when not active | `boolean` | No | `false` |
8
+
9
+ ## Slots
10
+
11
+ | Name | Description | Bindings |
12
+ | ------------- | ----------- | -------- |
13
+ | title | | |
14
+ | previous-icon | | |
15
+ | next-icon | | |
16
+ | default | | |
@@ -0,0 +1,10 @@
1
+ ## Props
2
+
3
+ | Name | Description | Type | Required | Default | Possible values |
4
+ | ------------------ | -------------------- | -------------- | -------- | ----------- | --------------------------------------------------------------------------- |
5
+ | **type** | Type of the chart | `T` | Yes | `undefined` | `bar', 'line', 'scatter', 'bubble', 'pie', 'doughnut', 'polarArea', 'radar` |
6
+ | **data** | Data of the chart | `ChartData` | Yes | `undefined` | - |
7
+ | **options** | Options of the chart | `ChartOptions` | No | `{}` | - |
8
+ | **plugins** | Plugins of the chart | `Plugin[]` | No | `undefined` | - |
9
+ | **dataset-id-key** | Dataset ID key | `string` | No | `undefined` | - |
10
+ | **update-mode** | Update mode | `UpdateMode` | No | `default` | `resize', 'reset', 'none', 'hide', 'show', 'default', 'active` |
@@ -0,0 +1,34 @@
1
+ ## Props
2
+
3
+ | Name | Description | Type | Required | Default |
4
+ | --------------- | -------------------------------------------- | ------------------ | -------- | -------------- |
5
+ | **style** | Style attribut of the component root element | `Native type` | No | `undefined` |
6
+ | **class** | Class attribut of the component root element | `Native type` | No | `undefined` |
7
+ | **model-value** | The model value of the checkbox | `T` | No | `undefined` |
8
+ | **id** | The id of the checkbox | `string` | No | `undefined` |
9
+ | **color** | The color of the checkbox | `MazColor` | No | `'primary'` |
10
+ | **value** | The value of the checkbox when selected | `MazCheckboxValue` | No | `undefined` |
11
+ | **name** | The name of the checkbox | `string` | No | `'m-checkbox'` |
12
+ | **size** | The size of the checkbox | `MazSize` | No | `'md'` |
13
+ | **label** | Text label | `string` | No | `undefined` |
14
+ | **disabled** | If the checkbox is disabled | `boolean` | No | `false` |
15
+ | **error** | Whether there is an error with the input. | `boolean` | No | `undefined` |
16
+ | **success** | Whether the input is successful. | `boolean` | No | `undefined` |
17
+ | **warning** | Whether there is a warning with the input. | `boolean` | No | `undefined` |
18
+ | **hint** | The hint text to display below the input. | `string` | No | `undefined` |
19
+ | **tabindex** | | `any` | No | `0` |
20
+
21
+ ## Events
22
+
23
+ | Event name | Properties | Description |
24
+ | ------------------ | ---------------------------------------- | ------------------------------------ |
25
+ | update:model-value | **value** `mixed` - The new value | Emitted when the model value change |
26
+ | change | **value** `mixed` - The new value | Emitted when the model value change |
27
+ | blur | **value** `FocusEvent` - The focus event | Emitted when the checkbox lost focus |
28
+ | focus | **value** `FocusEvent` - The focus event | Emitted when the checkbox is focused |
29
+
30
+ ## Slots
31
+
32
+ | Name | Description | Bindings |
33
+ | ------- | ----------- | -------- |
34
+ | default | | |
@@ -0,0 +1,30 @@
1
+ ## Props
2
+
3
+ | Name | Description | Type | Required | Default |
4
+ | ------------------- | ----------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------- | -------- | ----------------------------------------------------- |
5
+ | **model-value** | The model value of the checklist (selected items) | `(T extends unknown)[]` | No | `undefined` |
6
+ | **query** | The query to filter the items (model) | `string` | No | `undefined` |
7
+ | **items** | The list of items to display | `(O extends MazChecklistItemOption)[]` | No | `undefined` |
8
+ | **title** | The title of the checklist | `string` | No | `undefined` |
9
+ | **elevation** | Add elevation to the card | `boolean` | No | `false` |
10
+ | **search** | The search input options | `boolean \| MazInputProps` | No | `{ enabled: false, debounce: 300, autoFocus: false }` |
11
+ | **search-options** | The options to normalize the search query (used by the default search function) By default, the threshold is 0.75 | `intersection` | No | `undefined` |
12
+ | **search-function** | Replace the default search function to provide a custom search function | `TSFunctionType` | No | `undefined` |
13
+ | **color** | The color of the checklist (card, checkbox and search input) | `MazColor` | No | `primary` |
14
+ | **translations** | Translations of the checklist component | `DeepPartial<MazTranslationsNestedSchema['checklist']>` | No | `Translations from @maz-ui/translations` |
15
+
16
+ ## Events
17
+
18
+ | Event name | Properties | Description |
19
+ | ------------------ | --------------------------------- | ----------------------------------- |
20
+ | update:query | **value** `mixed` - The new query | Emitted when the query change |
21
+ | update:model-value | **value** `mixed` - The new value | Emitted when the model value change |
22
+
23
+ ## Slots
24
+
25
+ | Name | Description | Bindings |
26
+ | --------------- | ------------------------------------------------- | -------- |
27
+ | title | use this slot to customize the title | |
28
+ | no-results | use this slot to customize the no results area | |
29
+ | no-results-text | use this slot to customize the no results message | |
30
+ | item | use this slot to customize the item | <br/> |
@@ -0,0 +1,27 @@
1
+ ## Props
2
+
3
+ | Name | Description | Type | Required | Default | Possible values |
4
+ | ---------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------- | -------- | -------------------------------------------- | ------------------------------------ |
5
+ | **percentage** | The percentage value of the progress bar | `number` | Yes | `undefined` | - |
6
+ | **size** | The size of the progress bar | `string` | No | `10em' (equal 80px for a font-size of 16px)` | - |
7
+ | **duration** | Duration of the animation in milliseconds | `number` | No | `1000` | - |
8
+ | **delay** | Delay before the animation starts in milliseconds | `number` | No | `100` | - |
9
+ | **color** | The color of the progress bar | `MazColor` | No | `undefined` | - |
10
+ | **auto-color** | Auto color based on the count (destructive, warning, success) | `boolean` | No | `false` | - |
11
+ | **prefix** | Suffix to display next to the number | `string` | No | `undefined` | - |
12
+ | **suffix** | Suffix to display next to the number | `string` | No | `undefined` | - |
13
+ | **stroke-linecap** | The stroke-linecap style | `Native type` | No | `round` | `butt', 'round', 'square', 'inherit` |
14
+ | **stroke-width** | The stroke width | `Native type` | No | `6` | - |
15
+ | **stroke** | The stroke color Use this prop to override the gradient color You can use a color name or a color code | `Native type` | No | `undefined` | - |
16
+ | **success-percentage** | **The percentage value of the success level** <br/> <br/>The progress circle will be filled with the success color when the percentage is greater than or equal to this value<br/> | `number` | No | `100` | - |
17
+ | **warning-percentage** | **The percentage value of the warning level** <br/> <br/>The progress circle will be filled with the warning color when the percentage is greater than or equal to this value<br/> | `number` | No | `50` | - |
18
+ | **danger-percentage** | **The percentage value of the danger level** <br/> <br/>The progress circle will be filled with the danger color when the percentage is greater than or equal to this value<br/> | `number` | No | `25` | - |
19
+ | **once** | Play the animation only once | `boolean` | No | `true` | - |
20
+
21
+ ## Slots
22
+
23
+ | Name | Description | Bindings |
24
+ | ------- | -------------------------------------------------------- | -------- |
25
+ | default | Default slot - Replace the percaentage value | |
26
+ | prefix | Prefix slot - Add a prefix next to the number (e.g: "$") | |
27
+ | suffix | Suffix slot - Add a suffix next to the number (e.g: "%") | |
@@ -0,0 +1,52 @@
1
+ ## Props
2
+
3
+ | Name | Description | Type | Required | Default | Possible values |
4
+ | --------------------------- | ---------------------------------------------------------------------------------------------------------------------- | ---------------------------------- | -------- | ---------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------- |
5
+ | **id** | The unique identifier of the component | `string` | No | `undefined` | - |
6
+ | **style** | The inline style object for the component | `HTMLAttributes['style']` | No | `undefined` | - |
7
+ | **class** | The CSS class(es) to apply to the component | `HTMLAttributes['class']` | No | `undefined` | - |
8
+ | **input-props** | The props to apply to the input component | `MazInputProps` | No | `undefined` | - |
9
+ | **model-value** | The value of the date picker component If an object is provided, the picker will be a range picker | `MazDatePickerValue` | No | `undefined` | - |
10
+ | **format** | The format pattern for date display and parsing<br/>**Example:** `'YYYY-MM-DD', 'DD/MM/YYYY', 'YYYY-MM-DD HH:mm'` | `string` | No | `'YYYY-MM-DD'` | - |
11
+ | **open** | `v-model:open` <br/>Controls whether the picker window is open | `boolean` | No | `false` | - |
12
+ | **label** | The label text displayed above the input field | `string` | No | `undefined` | - |
13
+ | **placeholder** | The placeholder text shown when no value is selected | `string` | No | `undefined` | - |
14
+ | **input-format** | The Intl.DateTimeFormatOptions for styling the input date display | `Intl.DateTimeFormatOptions` | No | `() => ({ dateStyle: 'medium', timeStyle: 'full' })` | - |
15
+ | **input-date-transformer** | Custom function to transform the formatted date display | `Function` | No | `undefined` | - |
16
+ | **locale** | The locale string for date formatting and localization<br/>**Example:** `'en-US', 'fr-FR', 'de-DE'` | `string` | No | `undefined` | - |
17
+ | **hide-header** | Controls whether the calendar header is hidden | `boolean` | No | `false` | - |
18
+ | **disabled** | Controls whether the component is disabled | `boolean` | No | `false` | - |
19
+ | **first-day-of-week** | The first day of the week in the calendar<br/>**Example:** `0 (Sunday), 1 (Monday), 6 (Saturday)` | `number` | No | `0` | `0, 1, 2, 3, 4, 5, 6` |
20
+ | **auto-close** | Controls whether the picker closes automatically after date selection | `boolean` | No | `false` | - |
21
+ | **custom-element-selector** | CSS selector for a custom element that triggers the picker<br/>**Example:** `'#my-button', '.trigger-class'` | `string` | No | `undefined` | - |
22
+ | **double** | Controls whether the picker displays two months side by side | `boolean` | No | `false` | - |
23
+ | **inline** | Controls whether the picker is displayed inline without input field | `boolean` | No | `false` | - |
24
+ | **color** | The color theme of the component | `MazColor` | No | `'primary'` | `primary, secondary, success, destructive, warning, info, accent, contrast` |
25
+ | **picker-position** | The position where the picker popover should appear | `MazPopoverProps['position']` | No | `'bottom-start'` | `top, bottom, left, right, top-end, bottom-end, left-end, right-end, top-start, bottom-start, left-start, right-start` |
26
+ | **time** | Controls whether the picker includes a time selector | `boolean` | No | `false` | - |
27
+ | **only-time** | Controls whether the picker shows only time selection (no date) | `boolean` | No | `false` | - |
28
+ | **minute-interval** | The interval in minutes for the time picker minute selection | `number` | No | `5` | `1, 5, 10, 15, 30` |
29
+ | **use-browser-locale** | Controls whether to automatically detect and use the browser's locale | `boolean` | No | `true` | - |
30
+ | **fetch-local** | Controls whether to fetch locale data dynamically | `boolean` | No | `true` | - |
31
+ | **shortcuts** | Array of predefined date range shortcuts or false to disable | `MazDatePickerShortcut[] \| false` | No | `true` | - |
32
+ | **shortcut** | The identifier of the currently selected shortcut | `string` | No | `undefined` | - |
33
+ | **min-date** | The minimum selectable date in ISO format<br/>**Example:** `'2023-01-01'` | `string` | No | `undefined` | - |
34
+ | **max-date** | The maximum selectable date in ISO format<br/>**Example:** `'2024-12-31'` | `string` | No | `undefined` | - |
35
+ | **disabled-weekly** | Array of weekday numbers to disable (0 = Sunday, 6 = Saturday)<br/>**Example:** `[0, 6] to disable weekends` | `number[]` | No | `() => []` | - |
36
+ | **disabled-dates** | Array of specific dates to disable in ISO format<br/>**Example:** `['2023-12-25', '2024-01-01']` | `string[]` | No | `() => []` | - |
37
+ | **disabled-hours** | Array of hour numbers to disable in the time picker (0-23)<br/>**Example:** `[0, 1, 2, 22, 23] to disable night hours` | `number[]` | No | `() => []` | - |
38
+ | **block** | Controls whether the input displays in full width | `boolean` | No | `false` | - |
39
+ | **range** | Controls whether the picker operates in range selection mode | `boolean` | No | `false` | - |
40
+
41
+ ## Events
42
+
43
+ | Event name | Properties | Description |
44
+ | ------------------ | -------------------------------------------------------------------- | ------------------------------------- |
45
+ | update:model-value | **value** `MazDatePickerValue \| undefined` - The new selected value | Emitted when the picker value changes |
46
+ | close | | Emitted when the picker closes |
47
+
48
+ ## Slots
49
+
50
+ | Name | Description | Bindings |
51
+ | ------- | ----------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
52
+ | trigger | Replace the default input with your own element | **is-open** `boolean` - Current open state of the popover<br/>**close** `function` - Function to close the popover<br/>**open** `function` - Function to open the popover<br/>**toggle** `function` - Function to toggle the popover |
@@ -0,0 +1,24 @@
1
+ ## Events
2
+
3
+ | Event name | Properties | Description |
4
+ | ---------- | ----------------------- | --------------------------- |
5
+ | close | **value** `void` - void | Emitted when modal is close |
6
+ | open | **value** `void` - void | Emitted when modal is open |
7
+
8
+ ## Slots
9
+
10
+ | Name | Description | Bindings |
11
+ | ------------- | --------------------------------- | ----------------------------------------------------------------------------------- |
12
+ | title | title slot - Place your title | |
13
+ | default | Default slot - Place your content | **accept** `Function` - accept function<br/>**reject** `Function` - reject function |
14
+ | footer-button | Footer slot | **accept** `Function` - accept function<br/>**reject** `Function` - reject function |
15
+
16
+ ## Expose
17
+
18
+ ### close
19
+
20
+ > Close the dialog <br/>`@description` This is used to close the dialog
21
+
22
+ ### isActive
23
+
24
+ > Check if the dialog is active <br/>`@description` This is used to check if the dialog is active
@@ -0,0 +1,22 @@
1
+ ## Events
2
+
3
+ | Event name | Properties | Description |
4
+ | ------------------ | ---------- | ----------------------------------- |
5
+ | close | | emitted when modal is close |
6
+ | open | | emitted when modal is open |
7
+ | update:model-value | | emitted when modal is open or close |
8
+
9
+ ## Slots
10
+
11
+ | Name | Description | Bindings |
12
+ | ------- | ------------------------ | ------------------------------------------ |
13
+ | header | Header slot | **close** `Function` - close function<br/> |
14
+ | title | Title slot in the header | |
15
+ | default | Default content | **close** `Function` - close function<br/> |
16
+ | footer | Footer slot | **close** `Function` - close function<br/> |
17
+
18
+ ## Expose
19
+
20
+ ### close
21
+
22
+ > Close the dialog <br/>`@description` This is used to close the dialog
@@ -0,0 +1,26 @@
1
+ ## Props
2
+
3
+ | Name | Description | Type | Required | Default | Possible values |
4
+ | --------------------- | ------------------------- | ---------------------------------------- | -------- | ----------- | -------------------------------- |
5
+ | **title** | The title of the drawer | `string` | No | `undefined` | - |
6
+ | **variant** | The variant of the drawer | `"right" \| "top" \| "left" \| "bottom"` | No | `'right'` | `right', 'top', 'left', 'bottom` |
7
+ | **size** | The size of the drawer | `string` | No | `'30rem'` | - |
8
+ | **backdrop-class** | The class of the backdrop | `string` | No | `undefined` | - |
9
+ | **hide-close-button** | Disable the close button | `boolean` | No | `undefined` | - |
10
+ | **no-close** | | `any` | No | `false` | - |
11
+
12
+ ## Events
13
+
14
+ | Event name | Properties | Description |
15
+ | ------------------ | -------------------------------------------- | ---------------------------------------------- |
16
+ | close | | emitted when drawer is close (after animation) |
17
+ | open | | emitted when drawer is open |
18
+ | before-close | | emitted before drawer is close |
19
+ | update:model-value | **value** `boolean` - The value of the model | emitted when drawer is open or close |
20
+
21
+ ## Slots
22
+
23
+ | Name | Description | Bindings |
24
+ | ------- | ----------- | -------- |
25
+ | title | | |
26
+ | default | | |