@maz-ui/mcp 4.9.3 → 5.0.0-beta.1

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 (116) hide show
  1. package/dist/mcp.mjs +1 -1
  2. package/docs/generated-docs/maz-alert.doc.md +1 -1
  3. package/docs/generated-docs/maz-avatar.doc.md +1 -1
  4. package/docs/generated-docs/maz-badge.doc.md +8 -8
  5. package/docs/generated-docs/maz-btn.doc.md +26 -26
  6. package/docs/generated-docs/maz-card.doc.md +19 -19
  7. package/docs/generated-docs/maz-chart.doc.md +8 -8
  8. package/docs/generated-docs/maz-container.doc.md +20 -20
  9. package/docs/generated-docs/maz-drawer.doc.md +8 -8
  10. package/docs/generated-docs/maz-dropdown.doc.md +1 -1
  11. package/docs/generated-docs/maz-dropzone.doc.md +2 -2
  12. package/docs/generated-docs/maz-gallery.doc.md +15 -15
  13. package/docs/generated-docs/maz-icon.doc.md +11 -14
  14. package/docs/generated-docs/maz-input.doc.md +38 -38
  15. package/docs/generated-docs/maz-lazy-img.doc.md +18 -0
  16. package/docs/generated-docs/maz-link.doc.md +9 -9
  17. package/docs/generated-docs/maz-pagination.doc.md +9 -9
  18. package/docs/generated-docs/maz-popover.doc.md +5 -1
  19. package/docs/generated-docs/maz-radio-buttons.doc.md +17 -17
  20. package/docs/generated-docs/maz-select.doc.md +2 -2
  21. package/docs/generated-docs/maz-skeleton.doc.md +10 -10
  22. package/docs/generated-docs/maz-table.doc.md +37 -37
  23. package/docs/generated-docs/maz-textarea.doc.md +1 -1
  24. package/docs/generated-docs/maz-timeline.doc.md +1 -1
  25. package/docs/src/blog/v4.md +7 -7
  26. package/docs/src/blog/v5.md +186 -0
  27. package/docs/src/components/maz-accordion.md +1 -1
  28. package/docs/src/components/maz-alert.md +15 -15
  29. package/docs/src/components/maz-animated-counter.md +4 -4
  30. package/docs/src/components/maz-avatar.md +2 -2
  31. package/docs/src/components/maz-backdrop.md +7 -7
  32. package/docs/src/components/maz-badge.md +16 -34
  33. package/docs/src/components/maz-bottom-sheet.md +74 -74
  34. package/docs/src/components/maz-btn-group.md +17 -17
  35. package/docs/src/components/maz-btn.md +129 -96
  36. package/docs/src/components/maz-card-spotlight.md +5 -5
  37. package/docs/src/components/maz-card.md +20 -20
  38. package/docs/src/components/maz-carousel.md +14 -14
  39. package/docs/src/components/maz-chart.md +23 -4
  40. package/docs/src/components/maz-checkbox.md +3 -3
  41. package/docs/src/components/maz-checklist.md +19 -19
  42. package/docs/src/components/maz-circular-progress-bar.md +4 -4
  43. package/docs/src/components/maz-container.md +52 -37
  44. package/docs/src/components/maz-date-picker.md +7 -7
  45. package/docs/src/components/maz-dialog-confirm.md +2 -2
  46. package/docs/src/components/maz-drawer.md +14 -14
  47. package/docs/src/components/maz-dropdown.md +27 -12
  48. package/docs/src/components/maz-dropzone.md +6 -6
  49. package/docs/src/components/maz-expand-animation.md +2 -2
  50. package/docs/src/components/maz-fullscreen-loader.md +2 -2
  51. package/docs/src/components/maz-gallery.md +1 -1
  52. package/docs/src/components/maz-icon.md +113 -60
  53. package/docs/src/components/maz-input-code.md +1 -1
  54. package/docs/src/components/maz-input-phone-number.md +89 -88
  55. package/docs/src/components/maz-input-tags.md +2 -2
  56. package/docs/src/components/maz-input.md +42 -12
  57. package/docs/src/components/maz-link.md +28 -12
  58. package/docs/src/components/maz-pagination.md +2 -2
  59. package/docs/src/components/maz-popover.md +236 -236
  60. package/docs/src/components/maz-pull-to-refresh.md +2 -2
  61. package/docs/src/components/maz-radio-buttons.md +11 -11
  62. package/docs/src/components/maz-radio.md +3 -3
  63. package/docs/src/components/maz-read-more.md +7 -7
  64. package/docs/src/components/maz-select-country.md +26 -26
  65. package/docs/src/components/maz-select.md +1 -1
  66. package/docs/src/components/maz-skeleton.md +25 -25
  67. package/docs/src/components/maz-spinner.md +2 -2
  68. package/docs/src/components/maz-stepper.md +5 -5
  69. package/docs/src/components/maz-switch.md +1 -1
  70. package/docs/src/components/maz-table.md +10 -10
  71. package/docs/src/components/maz-tabs.md +17 -17
  72. package/docs/src/components/maz-textarea.md +8 -8
  73. package/docs/src/components/maz-ticker.md +37 -37
  74. package/docs/src/components/maz-timeline.md +9 -9
  75. package/docs/src/composables/use-dialog.md +1 -1
  76. package/docs/src/composables/use-display-names.md +2 -2
  77. package/docs/src/composables/use-form-validator.md +35 -35
  78. package/docs/src/composables/use-idle-timeout.md +3 -3
  79. package/docs/src/composables/use-reading-time.md +5 -5
  80. package/docs/src/composables/use-string-matching.md +4 -4
  81. package/docs/src/composables/use-swipe.md +3 -3
  82. package/docs/src/composables/use-timer.md +3 -3
  83. package/docs/src/composables/use-toast.md +1 -1
  84. package/docs/src/composables/use-user-visibility.md +1 -1
  85. package/docs/src/composables/use-wait.md +2 -2
  86. package/docs/src/directives/click-outside.md +17 -17
  87. package/docs/src/directives/lazy-img.md +5 -5
  88. package/docs/src/directives/tooltip.md +15 -15
  89. package/docs/src/directives/zoom-img.md +1 -1
  90. package/docs/src/ecosystem/eslint-config.md +187 -0
  91. package/docs/src/ecosystem/stylelint-config.md +302 -0
  92. package/docs/src/guide/browser-support.md +81 -0
  93. package/docs/src/guide/getting-started.md +23 -16
  94. package/docs/src/guide/icon-set.md +11 -11
  95. package/docs/src/guide/icons.md +32 -5
  96. package/docs/src/guide/maz-ui-provider.md +6 -6
  97. package/docs/src/guide/migration-v4.md +3 -3
  98. package/docs/src/guide/migration-v5.md +662 -0
  99. package/docs/src/guide/nuxt.md +27 -44
  100. package/docs/src/guide/resolvers.md +2 -2
  101. package/docs/src/guide/tailwind.md +154 -0
  102. package/docs/src/guide/themes.md +258 -485
  103. package/docs/src/guide/vue.md +8 -5
  104. package/docs/src/helpers/capitalize.md +4 -4
  105. package/docs/src/helpers/country-code-to-unicode-flag.md +37 -37
  106. package/docs/src/helpers/currency.md +4 -4
  107. package/docs/src/helpers/date.md +4 -4
  108. package/docs/src/helpers/get-country-flag-url.md +9 -9
  109. package/docs/src/helpers/number.md +5 -5
  110. package/docs/src/index.md +296 -266
  111. package/docs/src/made-with-maz-ui.md +5 -5
  112. package/docs/src/plugins/aos.md +6 -6
  113. package/docs/src/plugins/dialog.md +4 -4
  114. package/docs/src/plugins/toast.md +3 -3
  115. package/docs/src/plugins/wait.md +1 -1
  116. package/package.json +5 -5
@@ -28,8 +28,8 @@ async function pullToRefreshAction() {
28
28
 
29
29
  <template>
30
30
  <MazPullToRefresh
31
- header-class="maz-bg-bg-dark maz-text-foreground-light"
32
- class="maz-flex maz-min-h-screen maz-w-full maz-flex-col"
31
+ header-class="maz:bg-bg-dark maz:text-foreground-light"
32
+ class="maz:flex maz:min-h-screen maz:w-full maz:flex-col"
33
33
  :action="pullToRefreshAction"
34
34
  spinner-color="contrast"
35
35
  standalone-mode
@@ -12,7 +12,7 @@ description: MazRadioButtons is a standalone component to select a value in a li
12
12
  ## Basic usage
13
13
 
14
14
  <ComponentDemo>
15
- <p class="maz-mb-4">
15
+ <p class="maz:mb-4">
16
16
  Select a competition
17
17
  </p>
18
18
 
@@ -97,7 +97,7 @@ description: MazRadioButtons is a standalone component to select a value in a li
97
97
  ## Custom slot template
98
98
 
99
99
  <ComponentDemo>
100
- <p class="maz-mb-4">
100
+ <p class="maz:mb-4">
101
101
  Select a competition
102
102
  </p>
103
103
 
@@ -118,7 +118,7 @@ description: MazRadioButtons is a standalone component to select a value in a li
118
118
  <span>
119
119
  {{ option.label }}
120
120
  </span>
121
- <span :class="{ 'maz-text-muted': !selected }">
121
+ <span :class="{ 'maz:text-muted': !selected }">
122
122
  {{ option.areaName }}
123
123
  </span>
124
124
  </div>
@@ -145,7 +145,7 @@ description: MazRadioButtons is a standalone component to select a value in a li
145
145
  <span>
146
146
  {{ option.label }}
147
147
  </span>
148
- <span :class="{ 'maz-text-muted': !selected }">
148
+ <span :class="{ 'maz:text-muted': !selected }">
149
149
  {{ option.areaName }}
150
150
  </span>
151
151
  </div>
@@ -161,7 +161,7 @@ description: MazRadioButtons is a standalone component to select a value in a li
161
161
  ## Orientation - Column
162
162
 
163
163
  <ComponentDemo>
164
- <p class="maz-mb-4">
164
+ <p class="maz:mb-4">
165
165
  Select a competition
166
166
  </p>
167
167
 
@@ -182,7 +182,7 @@ description: MazRadioButtons is a standalone component to select a value in a li
182
182
  <span>
183
183
  {{ option.label }}
184
184
  </span>
185
- <span :class="{ 'maz-text-muted': !selected }">
185
+ <span :class="{ 'maz:text-muted': !selected }">
186
186
  {{ option.areaName }}
187
187
  </span>
188
188
  </div>
@@ -210,7 +210,7 @@ description: MazRadioButtons is a standalone component to select a value in a li
210
210
  <span>
211
211
  {{ option.label }}
212
212
  </span>
213
- <span :class="{ 'maz-text-muted': !selected }">
213
+ <span :class="{ 'maz:text-muted': !selected }">
214
214
  {{ option.areaName }}
215
215
  </span>
216
216
  </div>
@@ -296,11 +296,11 @@ This option will display a select icon on the left of the label
296
296
  block
297
297
  class="vp-raw"
298
298
  >
299
- <div class="maz-flex maz-flex-col maz-items-start maz-p-2">
300
- <h3 class="maz-mb-2 maz-text-xl maz-font-semibold">
299
+ <div class="maz:flex maz:flex-col maz:items-start maz:p-2">
300
+ <h3 class="maz:mb-2 maz:text-xl maz:font-semibold">
301
301
  {{ option.label }}
302
302
  </h3>
303
- <span :class="{ 'maz-text-muted': !selected }">
303
+ <span :class="{ 'maz:text-muted': !selected }">
304
304
  {{ option.description }}
305
305
  </span>
306
306
  </div>
@@ -380,7 +380,7 @@ export type ButtonsRadioOption = {
380
380
 
381
381
  <script lang="ts" setup>
382
382
  import { ref } from 'vue'
383
- import MazRadioButtons from 'maz-ui/src/components/MazRadioButtons.vue'
383
+ import MazRadioButtons from 'maz-ui/components/MazRadioButtons'
384
384
 
385
385
  const selectedCompetition = ref<string>()
386
386
 
@@ -13,7 +13,7 @@ description: MazRadio is a standalone component
13
13
 
14
14
  `v-model="{{chosenColor ?? 'undefined'}}"`
15
15
 
16
- <div class="maz-flex maz-flex-col maz-gap-2">
16
+ <div class="maz:flex maz:flex-col maz:gap-2">
17
17
  <MazRadio
18
18
  v-for="color in colors"
19
19
  v-model="chosenColor"
@@ -68,7 +68,7 @@ const colors: Color[] = [
68
68
 
69
69
  `v-model="{{chosenSize ?? 'undefined'}}"`
70
70
 
71
- <div class="maz-flex maz-flex-col maz-gap-2">
71
+ <div class="maz:flex maz:flex-col maz:gap-2">
72
72
  <MazRadio
73
73
  v-for="size in sizes"
74
74
  v-model="chosenSize"
@@ -110,7 +110,7 @@ const sizes: Size[] = ['mini', 'xs', 'sm', 'md', 'lg', 'xl']
110
110
 
111
111
  ## Disabled
112
112
 
113
- <div class="maz-flex maz-flex-col maz-gap-2">
113
+ <div class="maz:flex maz:flex-col maz:gap-2">
114
114
  <MazRadio disabled name="disabled" value="disabled2">
115
115
  disabled
116
116
  </MazRadio>
@@ -76,13 +76,13 @@ import MazReadMore from 'maz-ui/components/MazReadMore'
76
76
  Control the number of visible lines using the `max-lines` prop.
77
77
 
78
78
  <ComponentDemo>
79
- <div class="maz-flex maz-flex-col maz-gap-4">
79
+ <div class="maz:flex maz:flex-col maz:gap-4">
80
80
  <div>
81
- <p class="maz-text-sm maz-text-muted maz-mb-2">2 lines</p>
81
+ <p class="maz:text-sm maz:text-muted maz:mb-2">2 lines</p>
82
82
  <MazReadMore :text="longText" :max-lines="2" />
83
83
  </div>
84
84
  <div>
85
- <p class="maz-text-sm maz-text-muted maz-mb-2">6 lines</p>
85
+ <p class="maz:text-sm maz:text-muted maz:mb-2">6 lines</p>
86
86
  <MazReadMore :text="longText" :max-lines="6" />
87
87
  </div>
88
88
  </div>
@@ -116,13 +116,13 @@ Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.`
116
116
  Use the `max-chars` prop to truncate based on character count instead of lines.
117
117
 
118
118
  <ComponentDemo>
119
- <div class="maz-flex maz-flex-col maz-gap-4">
119
+ <div class="maz:flex maz:flex-col maz:gap-4">
120
120
  <div>
121
- <p class="maz-text-sm maz-text-muted maz-mb-2">50 characters</p>
121
+ <p class="maz:text-sm maz:text-muted maz:mb-2">50 characters</p>
122
122
  <MazReadMore :text="longText" :max-chars="50" />
123
123
  </div>
124
124
  <div>
125
- <p class="maz-text-sm maz-text-muted maz-mb-2">150 characters</p>
125
+ <p class="maz:text-sm maz:text-muted maz:mb-2">150 characters</p>
126
126
  <MazReadMore :max-chars="150">
127
127
  {{ longText }}
128
128
  </MazReadMore>
@@ -196,7 +196,7 @@ import MazReadMore from 'maz-ui/components/MazReadMore'
196
196
  Customize the color of the toggle link using the `color` prop.
197
197
 
198
198
  <ComponentDemo>
199
- <div class="maz-flex maz-flex-col maz-gap-4">
199
+ <div class="maz:flex maz:flex-col maz:gap-4">
200
200
  <MazReadMore :text="longText" color="primary" :max-lines="2" />
201
201
  <MazReadMore :text="longText" color="secondary" :max-lines="2" />
202
202
  <MazReadMore :text="longText" color="info" :max-lines="2" />
@@ -14,13 +14,13 @@ description: MazSelectCountry is a versatile Vue component for selecting countri
14
14
  The most common use case is selecting a country. The component automatically displays country names in the user's locale with their respective flags.
15
15
 
16
16
  <ComponentDemo>
17
- <div class="maz-flex maz-gap-4 maz-flex-wrap">
17
+ <div class="maz:flex maz:gap-4 maz:flex-wrap">
18
18
  <MazSelectCountry
19
19
  v-model="selectedCountry"
20
20
  :codes="['FR', 'DE', 'IT', 'ES', 'GB', 'NL', 'BE', 'AT', 'CH', 'PT']"
21
21
  label="Select a country"
22
22
  />
23
- <div class="maz-text-sm maz-text-muted">
23
+ <div class="maz:text-sm maz:text-muted">
24
24
  Selected: {{ selectedCountry || 'None' }}
25
25
  </div>
26
26
  </div>
@@ -50,13 +50,13 @@ const selectedCountry = ref('FR')
50
50
  Configure the component to display languages instead of countries by setting the appropriate `displayNamesOptions`.
51
51
 
52
52
  <ComponentDemo>
53
- <div class="maz-flex maz-gap-4 maz-flex-wrap">
53
+ <div class="maz:flex maz:gap-4 maz:flex-wrap">
54
54
  <MazSelectCountry
55
55
  v-model="selectedLanguage"
56
56
  label="Select a language"
57
57
  :display-names-options="{ type: 'language' }"
58
58
  />
59
- <div class="maz-text-sm maz-text-muted">
59
+ <div class="maz:text-sm maz:text-muted">
60
60
  Selected: {{ selectedLanguage || 'None' }}
61
61
  </div>
62
62
  </div>
@@ -85,9 +85,9 @@ const selectedLanguage = ref('en')
85
85
  ## Sizes and colors
86
86
 
87
87
  <ComponentDemo>
88
- <div class="maz-grid maz-grid-cols-1 md:maz-grid-cols-2 maz-gap-4">
89
- <div class="maz-space-y-4">
90
- <h4 class="maz-font-semibold">Sizes</h4>
88
+ <div class="maz:grid maz:grid-cols-1 maz:md:grid-cols-2 maz:gap-4">
89
+ <div class="maz:space-y-4">
90
+ <h4 class="maz:font-semibold">Sizes</h4>
91
91
  <MazSelectCountry
92
92
  v-model="sizeExample1"
93
93
  size="sm"
@@ -104,8 +104,8 @@ const selectedLanguage = ref('en')
104
104
  label="Large"
105
105
  />
106
106
  </div>
107
- <div class="maz-space-y-4">
108
- <h4 class="maz-font-semibold">Colors</h4>
107
+ <div class="maz:space-y-4">
108
+ <h4 class="maz:font-semibold">Colors</h4>
109
109
  <MazSelectCountry
110
110
  v-model="colorExample1"
111
111
  color="primary"
@@ -172,7 +172,7 @@ const selectedLanguage = ref('en')
172
172
  You can prioritize certain countries to appear at the top of the list using the `preferredCodes` prop.
173
173
 
174
174
  <ComponentDemo>
175
- <div class="maz-flex maz-gap-4 maz-flex-wrap">
175
+ <div class="maz:flex maz:gap-4 maz:flex-wrap">
176
176
  <MazSelectCountry
177
177
  v-model="preferredExample"
178
178
  label="European countries first"
@@ -200,9 +200,9 @@ You can prioritize certain countries to appear at the top of the list using the
200
200
  Control which countries are displayed using `onlyCodes` to show only specific countries, or `ignoredCodes` to exclude certain ones.
201
201
 
202
202
  <ComponentDemo>
203
- <div class="maz-grid maz-grid-cols-1 md:maz-grid-cols-2 maz-gap-4">
203
+ <div class="maz:grid maz:grid-cols-1 maz:md:grid-cols-2 maz:gap-4">
204
204
  <div>
205
- <h4 class="maz-font-semibold maz-mb-2">Only European countries</h4>
205
+ <h4 class="maz:font-semibold maz:mb-2">Only European countries</h4>
206
206
  <MazSelectCountry
207
207
  v-model="europeExample"
208
208
  label="European countries only"
@@ -210,7 +210,7 @@ Control which countries are displayed using `onlyCodes` to show only specific co
210
210
  />
211
211
  </div>
212
212
  <div>
213
- <h4 class="maz-font-semibold maz-mb-2">Exclude specific countries</h4>
213
+ <h4 class="maz:font-semibold maz:mb-2">Exclude specific countries</h4>
214
214
  <MazSelectCountry
215
215
  v-model="excludeExample"
216
216
  label="All except some countries"
@@ -247,9 +247,9 @@ Control which countries are displayed using `onlyCodes` to show only specific co
247
247
  Configure how country/language names are displayed using the `displayNamesOptions` prop, which leverages the browser's `Intl.DisplayNames` API.
248
248
 
249
249
  <ComponentDemo>
250
- <div class="maz-grid maz-grid-cols-1 md:maz-grid-cols-2 maz-gap-4">
250
+ <div class="maz:grid maz:grid-cols-1 maz:md:grid-cols-2 maz:gap-4">
251
251
  <div>
252
- <h4 class="maz-font-semibold maz-mb-2">Short country names</h4>
252
+ <h4 class="maz:font-semibold maz:mb-2">Short country names</h4>
253
253
  <MazSelectCountry
254
254
  v-model="shortExample"
255
255
  label="Short names"
@@ -257,7 +257,7 @@ Configure how country/language names are displayed using the `displayNamesOption
257
257
  />
258
258
  </div>
259
259
  <div>
260
- <h4 class="maz-font-semibold maz-mb-2">Languages with narrow style</h4>
260
+ <h4 class="maz:font-semibold maz:mb-2">Languages with narrow style</h4>
261
261
  <MazSelectCountry
262
262
  v-model="languageNarrowExample"
263
263
  label="Language names (narrow)"
@@ -296,7 +296,7 @@ Configure how country/language names are displayed using the `displayNamesOption
296
296
  Hide country flags using the `hideFlags` prop for a cleaner text-only interface.
297
297
 
298
298
  <ComponentDemo>
299
- <div class="maz-flex maz-gap-4 maz-flex-wrap">
299
+ <div class="maz:flex maz:gap-4 maz:flex-wrap">
300
300
  <MazSelectCountry
301
301
  v-model="noFlagsExample"
302
302
  label="Countries without flags"
@@ -326,9 +326,9 @@ Hide country flags using the `hideFlags` prop for a cleaner text-only interface.
326
326
  Override the default locale to display country/language names in a specific language.
327
327
 
328
328
  <ComponentDemo>
329
- <div class="maz-grid maz-grid-cols-1 md:maz-grid-cols-2 maz-gap-4">
329
+ <div class="maz:grid maz:grid-cols-1 maz:md:grid-cols-2 maz:gap-4">
330
330
  <div>
331
- <h4 class="maz-font-semibold maz-mb-2">Countries in French</h4>
331
+ <h4 class="maz:font-semibold maz:mb-2">Countries in French</h4>
332
332
  <MazSelectCountry
333
333
  v-model="frenchExample"
334
334
  label="Pays (French)"
@@ -336,7 +336,7 @@ Override the default locale to display country/language names in a specific lang
336
336
  />
337
337
  </div>
338
338
  <div>
339
- <h4 class="maz-font-semibold maz-mb-2">Countries in Spanish</h4>
339
+ <h4 class="maz:font-semibold maz:mb-2">Countries in Spanish</h4>
340
340
  <MazSelectCountry
341
341
  v-model="spanishExample"
342
342
  label="País (Spanish)"
@@ -373,8 +373,8 @@ Override the default locale to display country/language names in a specific lang
373
373
  The component supports all the standard form states for better user experience.
374
374
 
375
375
  <ComponentDemo>
376
- <div class="maz-grid maz-grid-cols-1 md:maz-grid-cols-2 maz-gap-4">
377
- <div class="maz-space-y-4">
376
+ <div class="maz:grid maz:grid-cols-1 maz:md:grid-cols-2 maz:gap-4">
377
+ <div class="maz:space-y-4">
378
378
  <MazSelectCountry
379
379
  v-model="successExample"
380
380
  label="Success state"
@@ -388,7 +388,7 @@ The component supports all the standard form states for better user experience.
388
388
  hint="Please verify your selection"
389
389
  />
390
390
  </div>
391
- <div class="maz-space-y-4">
391
+ <div class="maz:space-y-4">
392
392
  <MazSelectCountry
393
393
  v-model="errorExample"
394
394
  label="Error state"
@@ -446,7 +446,7 @@ The component supports all the standard form states for better user experience.
446
446
  Provide your own list of options instead of using the built-in country/language codes.
447
447
 
448
448
  <ComponentDemo>
449
- <div class="maz-flex maz-gap-4 maz-flex-wrap">
449
+ <div class="maz:flex maz:gap-4 maz:flex-wrap">
450
450
  <MazSelectCountry
451
451
  v-model="customExample"
452
452
  label="Custom regions"
@@ -489,7 +489,7 @@ const customRegions = [
489
489
  Show country/language codes in the input field instead of names using the `displayCode` prop.
490
490
 
491
491
  <ComponentDemo>
492
- <div class="maz-flex maz-gap-4 maz-flex-wrap">
492
+ <div class="maz:flex maz:gap-4 maz:flex-wrap">
493
493
  <MazSelectCountry
494
494
  v-model="codeDisplayExample"
495
495
  label="Display country codes"
@@ -519,7 +519,7 @@ Show country/language codes in the input field instead of names using the `displ
519
519
  Combine multiple features for complex use cases, such as business applications requiring specific country lists with custom styling.
520
520
 
521
521
  <ComponentDemo>
522
- <div class="maz-max-w-md">
522
+ <div class="maz:max-w-md">
523
523
  <MazSelectCountry
524
524
  v-model="advancedExample"
525
525
  label="Business countries"
@@ -221,7 +221,7 @@ const optGroup = [
221
221
  ## Size
222
222
 
223
223
  <ComponentDemo>
224
- <div class="maz-flex maz-flex-col maz-gap-2">
224
+ <div class="maz:flex maz:flex-col maz:gap-2">
225
225
  <MazSelect
226
226
  v-for="size in sizes"
227
227
  :key="size"
@@ -38,18 +38,18 @@ import MazSkeleton from 'maz-ui/components/MazSkeleton'
38
38
  Use the `shape` prop to change the skeleton shape: `rectangle` (default), `circle`, or `square`.
39
39
 
40
40
  <ComponentDemo>
41
- <div class="maz-flex maz-gap-4 maz-items-center">
42
- <div class="maz-flex maz-flex-col maz-items-center maz-gap-2">
41
+ <div class="maz:flex maz:gap-4 maz:items-center">
42
+ <div class="maz:flex maz:flex-col maz:items-center maz:gap-2">
43
43
  <MazSkeleton shape="rectangle" width="100px" height="1rem" />
44
- <span class="maz-text-sm maz-text-muted">rectangle</span>
44
+ <span class="maz:text-sm maz:text-muted">rectangle</span>
45
45
  </div>
46
- <div class="maz-flex maz-flex-col maz-items-center maz-gap-2">
46
+ <div class="maz:flex maz:flex-col maz:items-center maz:gap-2">
47
47
  <MazSkeleton shape="circle" size="3rem" />
48
- <span class="maz-text-sm maz-text-muted">circle</span>
48
+ <span class="maz:text-sm maz:text-muted">circle</span>
49
49
  </div>
50
- <div class="maz-flex maz-flex-col maz-items-center maz-gap-2">
50
+ <div class="maz:flex maz:flex-col maz:items-center maz:gap-2">
51
51
  <MazSkeleton shape="square" size="3rem" />
52
- <span class="maz-text-sm maz-text-muted">square</span>
52
+ <span class="maz:text-sm maz:text-muted">square</span>
53
53
  </div>
54
54
  </div>
55
55
 
@@ -75,7 +75,7 @@ import MazSkeleton from 'maz-ui/components/MazSkeleton'
75
75
  Use the `size` prop to set both width and height (for circle and square shapes), or use `width` and `height` props for more control.
76
76
 
77
77
  <ComponentDemo>
78
- <div class="maz-flex maz-gap-4 maz-items-end">
78
+ <div class="maz:flex maz:gap-4 maz:items-end">
79
79
  <MazSkeleton shape="circle" size="2rem" />
80
80
  <MazSkeleton shape="circle" size="3rem" />
81
81
  <MazSkeleton shape="circle" size="4rem" />
@@ -105,7 +105,7 @@ import MazSkeleton from 'maz-ui/components/MazSkeleton'
105
105
  For rectangles, use `width` and `height` props for precise control.
106
106
 
107
107
  <ComponentDemo>
108
- <div class="maz-flex maz-flex-col maz-gap-4">
108
+ <div class="maz:flex maz:flex-col maz:gap-4">
109
109
  <MazSkeleton width="100%" height="0.75rem" />
110
110
  <MazSkeleton width="80%" height="0.75rem" />
111
111
  <MazSkeleton width="60%" height="0.75rem" />
@@ -133,10 +133,10 @@ import MazSkeleton from 'maz-ui/components/MazSkeleton'
133
133
  Control the border radius using the `rounded-size` prop.
134
134
 
135
135
  <ComponentDemo>
136
- <div class="maz-flex maz-gap-4 maz-flex-wrap">
137
- <div v-for="size in roundedSizes" :key="size" class="maz-flex maz-flex-col maz-items-center maz-gap-2">
136
+ <div class="maz:flex maz:gap-4 maz:flex-wrap">
137
+ <div v-for="size in roundedSizes" :key="size" class="maz:flex maz:flex-col maz:items-center maz:gap-2">
138
138
  <MazSkeleton :rounded-size="size" width="80px" height="2rem" />
139
- <span class="maz-text-sm maz-text-muted">{{ size }}</span>
139
+ <span class="maz:text-sm maz:text-muted">{{ size }}</span>
140
140
  </div>
141
141
  </div>
142
142
 
@@ -165,14 +165,14 @@ import MazSkeleton from 'maz-ui/components/MazSkeleton'
165
165
  Use the `animated` prop set to `false` to disable the shimmer animation.
166
166
 
167
167
  <ComponentDemo>
168
- <div class="maz-flex maz-gap-4">
169
- <div class="maz-flex maz-flex-col maz-items-center maz-gap-2">
168
+ <div class="maz:flex maz:gap-4">
169
+ <div class="maz:flex maz:flex-col maz:items-center maz:gap-2">
170
170
  <MazSkeleton shape="circle" size="3rem" :animated="true" />
171
- <span class="maz-text-sm maz-text-muted">animated</span>
171
+ <span class="maz:text-sm maz:text-muted">animated</span>
172
172
  </div>
173
- <div class="maz-flex maz-flex-col maz-items-center maz-gap-2">
173
+ <div class="maz:flex maz:flex-col maz:items-center maz:gap-2">
174
174
  <MazSkeleton shape="circle" size="3rem" :animated="false" />
175
- <span class="maz-text-sm maz-text-muted">static</span>
175
+ <span class="maz:text-sm maz:text-muted">static</span>
176
176
  </div>
177
177
  </div>
178
178
 
@@ -197,9 +197,9 @@ import MazSkeleton from 'maz-ui/components/MazSkeleton'
197
197
  Combine multiple skeletons to create loading placeholders for complex layouts.
198
198
 
199
199
  <ComponentDemo>
200
- <div class="maz-flex maz-gap-4 maz-p-4 maz-w-full maz-max-w-sm">
200
+ <div class="maz:flex maz:gap-4 maz:p-4 maz:w-full maz:max-w-sm">
201
201
  <MazSkeleton shape="circle" size="3rem" />
202
- <div class="maz-flex maz-flex-col maz-gap-2 maz-flex-1">
202
+ <div class="maz:flex maz:flex-col maz:gap-2 maz:flex-1">
203
203
  <MazSkeleton width="60%" height="0.875rem" />
204
204
  <MazSkeleton width="40%" height="0.75rem" />
205
205
  </div>
@@ -231,15 +231,15 @@ import MazSkeleton from 'maz-ui/components/MazSkeleton'
231
231
  Create an article loading placeholder with various skeleton elements.
232
232
 
233
233
  <ComponentDemo>
234
- <div class="maz-flex maz-flex-col maz-gap-4 maz-w-full maz-max-w-md">
234
+ <div class="maz:flex maz:flex-col maz:gap-4 maz:w-full maz:max-w-md">
235
235
  <MazSkeleton width="100%" height="200px" rounded-size="lg" />
236
- <div class="maz-flex maz-flex-col maz-gap-2">
236
+ <div class="maz:flex maz:flex-col maz:gap-2">
237
237
  <MazSkeleton width="80%" height="1.5rem" />
238
238
  <MazSkeleton width="100%" height="0.75rem" />
239
239
  <MazSkeleton width="100%" height="0.75rem" />
240
240
  <MazSkeleton width="60%" height="0.75rem" />
241
241
  </div>
242
- <div class="maz-flex maz-gap-2 maz-items-center">
242
+ <div class="maz:flex maz:gap-2 maz:items-center">
243
243
  <MazSkeleton shape="circle" size="2rem" />
244
244
  <MazSkeleton width="100px" height="0.75rem" />
245
245
  </div>
@@ -280,10 +280,10 @@ import MazSkeleton from 'maz-ui/components/MazSkeleton'
280
280
  Create a list loading placeholder.
281
281
 
282
282
  <ComponentDemo>
283
- <div class="maz-flex maz-flex-col maz-gap-3 maz-w-full maz-max-w-sm">
284
- <div v-for="i in 4" :key="i" class="maz-flex maz-gap-3 maz-items-center maz-p-2 maz-bg-surface-50 dark:maz-bg-surface-800 maz-rounded">
283
+ <div class="maz:flex maz:flex-col maz:gap-3 maz:w-full maz:max-w-sm">
284
+ <div v-for="i in 4" :key="i" class="maz:flex maz:gap-3 maz:items-center maz:p-2 maz:bg-surface-50 maz:dark:bg-surface-800 maz:rounded-md">
285
285
  <MazSkeleton shape="square" size="2.5rem" rounded-size="md" />
286
- <div class="maz-flex maz-flex-col maz-gap-1 maz-flex-1">
286
+ <div class="maz:flex maz:flex-col maz:gap-1 maz:flex-1">
287
287
  <MazSkeleton width="70%" height="0.75rem" />
288
288
  <MazSkeleton width="50%" height="0.625rem" />
289
289
  </div>
@@ -29,7 +29,7 @@ Choose the color of the spinner
29
29
 
30
30
  By default the color is `theme`
31
31
 
32
- <div class="maz-flex maz-gap-2 maz-flex-wrap">
32
+ <div class="maz:flex maz:gap-2 maz:flex-wrap">
33
33
  <MazSpinner color="primary" />
34
34
  <MazSpinner color="secondary" />
35
35
  <MazSpinner color="destructive" />
@@ -64,7 +64,7 @@ Choose the size of the spinner
64
64
 
65
65
  The default size is `2em`
66
66
 
67
- <div class="maz-flex maz-gap-2 maz-flex-wrap maz-items-center">
67
+ <div class="maz:flex maz:gap-2 maz:flex-wrap maz:items-center">
68
68
  <MazSpinner size="1em" />
69
69
  <MazSpinner />
70
70
  <MazSpinner size="3em" />
@@ -48,7 +48,7 @@ description: MazStepper is a standalone UI component customizable, reactive for
48
48
  <MazInput v-model="address" label="Delivery address" />
49
49
  <br />
50
50
  <br />
51
- <div class="maz-flex maz-gap-4">
51
+ <div class="maz:flex maz:gap-4">
52
52
  <MazBtn @click="previousStep" color="secondary">
53
53
  Previous
54
54
  </MazBtn>
@@ -68,7 +68,7 @@ description: MazStepper is a standalone UI component customizable, reactive for
68
68
  <MazInput label="Credit card number" type="number" />
69
69
  <br />
70
70
  <br />
71
- <div class="maz-flex maz-gap-4">
71
+ <div class="maz:flex maz:gap-4">
72
72
  <MazBtn @click="previousStep" color="secondary">
73
73
  Previous
74
74
  </MazBtn>
@@ -168,7 +168,7 @@ You can use html in all properties
168
168
  <MazStepper
169
169
  :steps="[
170
170
  { title: 'Title 1', subtitle: 'Subtitle 1', titleInfo: 'Info 1', content: 'Content 1' },
171
- { title: 'Title 2', subtitle: `<span class='maz-text-primary'>Subtitle 2</span>`, titleInfo: 'Info 2', content: 'Content 2' },
171
+ { title: 'Title 2', subtitle: `<span class='maz:text-primary'>Subtitle 2</span>`, titleInfo: 'Info 2', content: 'Content 2' },
172
172
  { title: 'Title 3', subtitle: 'Subtitle 3', titleInfo: 'Info 3', content: 'Content 3' },
173
173
  { title: 'Title 4', subtitle: 'Subtitle 4', titleInfo: 'Info 4', content: 'Content 4' },
174
174
  ]"
@@ -181,7 +181,7 @@ You can use html in all properties
181
181
  <MazStepper
182
182
  :steps="[
183
183
  { title: 'Title 1', subtitle: 'Subtitle 1', titleInfo: 'Info 1', content: 'Content 1' },
184
- { title: 'Title 2', subtitle: '<span class="maz-text-primary">Subtitle 2</span>', titleInfo: 'Info 2', content: 'Content 2' },
184
+ { title: 'Title 2', subtitle: '<span class="maz:text-primary">Subtitle 2</span>', titleInfo: 'Info 2', content: 'Content 2' },
185
185
  { title: 'Title 3', subtitle: 'Subtitle 3', titleInfo: 'Info 3', content: 'Content 3' },
186
186
  { title: 'Title 4', subtitle: 'Subtitle 4', titleInfo: 'Info 4', content: 'Content 4' },
187
187
  ]"
@@ -197,7 +197,7 @@ You can use html in all properties
197
197
  { title: 'Title 2', subtitle: 'Subtitle 2', titleInfo: 'Info 2', content: 'Content 2' },
198
198
  ]">
199
199
  <template #point="{ step }">
200
- <div class="maz-bg-red-500 maz-p-1 maz-size-8 maz-rounded maz-flex maz-flex-center">{{ step }}</div>
200
+ <div class="maz:bg-red-500 maz:p-1 maz:size-8 maz:rounded-md maz:flex maz:flex-center">{{ step }}</div>
201
201
  </template>
202
202
  </MazStepper>
203
203
 
@@ -9,7 +9,7 @@ description: MazSwitch is a standalone component that replaces the standard html
9
9
 
10
10
  <!--@include: ./../../.vitepress/mixins/getting-started.md-->
11
11
 
12
- <div class="maz-flex maz-flex-col maz-gap-3">
12
+ <div class="maz:flex maz:flex-col maz:gap-3">
13
13
  <MazSwitch
14
14
  v-for="color in colors"
15
15
  v-model="switchValue"
@@ -114,7 +114,7 @@ You can also provide all your data, the table is auto-generated and you can use
114
114
  ---
115
115
 
116
116
  <ComponentDemo>
117
- <div class="maz-bg-surface-600/50 dark:maz-bg-surface-400 maz-rounded maz-p-2">
117
+ <div class="maz:bg-surface-600/50 maz:dark:bg-surface-400 maz:rounded-md maz:p-2">
118
118
 
119
119
  v-model="{{selectedIds ?? 'undefined'}}"
120
120
 
@@ -146,15 +146,15 @@ v-model:page-size="{{pageSize ?? 'undefined'}}"
146
146
  { label:'Name', key: 'name' },
147
147
  { label: 'Code', key: 'code', align: 'center' },
148
148
  { label: 'Type', key: 'type' },
149
- { label: 'Area', key: 'areaName', align: 'center', classes: 'maz-font-bold' },
149
+ { label: 'Area', key: 'areaName', align: 'center', classes: 'maz:font-bold' },
150
150
  ]"
151
151
  :rows="competitions"
152
152
  >
153
153
  <template #cell-index="{ value }">
154
- <span class="maz-text-base">{{value}}</span>
154
+ <span class="maz:text-base">{{value}}</span>
155
155
  </template>
156
156
  <template #cell-name="{ row, value }">
157
- <div class="maz-flex maz-items-center maz-gap-2">
157
+ <div class="maz:flex maz:items-center maz:gap-2">
158
158
  <MazAvatar :src="row.logoUrl" size="0.5rem"></MazAvatar>
159
159
  <span>{{value}}</span>
160
160
  </div>
@@ -164,7 +164,7 @@ v-model:page-size="{{pageSize ?? 'undefined'}}"
164
164
  </template>
165
165
 
166
166
  <template #actions>
167
- <MazBtn v-tooltip="{ text: 'Delete', color: 'destructive' }" fab size="xs" color="destructive" icon="trash" />
167
+ <MazBtn v-tooltip="{ text: 'Delete', color: 'destructive' }" fab size="xs" color="destructive" icon="/trash.svg" />
168
168
  </template>
169
169
  </MazTable>
170
170
 
@@ -191,15 +191,15 @@ v-model:page-size="{{pageSize ?? 'undefined'}}"
191
191
  { label:'Name', key: 'name' },
192
192
  { label: 'Code', key: 'code', align: 'center' },
193
193
  { label: 'Type', key: 'type' },
194
- { label: 'Area', key: 'areaName', align: 'center', classes: 'maz-font-bold' },
194
+ { label: 'Area', key: 'areaName', align: 'center', classes: 'maz:font-bold' },
195
195
  ]"
196
196
  :rows="competitions"
197
197
  >
198
198
  <template #cell-index="{ value }">
199
- <span class="maz-text-base">{{value}}</span>
199
+ <span class="maz:text-base">{{value}}</span>
200
200
  </template>
201
201
  <template #cell-name="{ row, value }">
202
- <div class="maz-flex maz-items-center maz-gap-2">
202
+ <div class="maz:flex maz:items-center maz:gap-2">
203
203
  <MazAvatar :src="row.logoUrl" size="0.5rem"></MazAvatar>
204
204
  <span>{{value}}</span>
205
205
  </div>
@@ -209,7 +209,7 @@ v-model:page-size="{{pageSize ?? 'undefined'}}"
209
209
  </template>
210
210
 
211
211
  <template #actions>
212
- <MazBtn fab size="xs" color="destructive" icon="trash" />
212
+ <MazBtn fab size="xs" color="destructive" icon="/trash.svg" />
213
213
  </template>
214
214
  </MazTable>
215
215
  </template>
@@ -510,7 +510,7 @@ Available sizes: `'mini' | 'xs' | 'sm' | 'md' | 'lg' | 'xl'`
510
510
  <script lang="ts" setup>
511
511
  import { ref } from 'vue'
512
512
  import {competitions} from './competitions.ts'
513
- import { vTooltip } from 'maz-ui/src/directives/vTooltip.ts'
513
+ import { vTooltip } from 'maz-ui/directives/vTooltip'
514
514
 
515
515
  const selectedIds = ref<string[]>(['0262672d-7c7a-4d30-866e-edb88b5a5336'])
516
516
  const searchQuery = ref<string>()