@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
@@ -13,13 +13,13 @@ description: MazTabs is a standalone component to display content in tabs with a
13
13
  <MazTabsBar :items="tabs" />
14
14
 
15
15
  <MazTabsContent>
16
- <MazTabsContentItem :tab="1" class="maz-py-4">
16
+ <MazTabsContentItem :tab="1" class="maz:py-4">
17
17
  Tab 1
18
18
  </MazTabsContentItem>
19
- <MazTabsContentItem :tab="2" class="maz-py-4">
19
+ <MazTabsContentItem :tab="2" class="maz:py-4">
20
20
  Tab 2
21
21
  </MazTabsContentItem>
22
- <MazTabsContentItem :tab="3" class="maz-py-4">
22
+ <MazTabsContentItem :tab="3" class="maz:py-4">
23
23
  Tab 3
24
24
  </MazTabsContentItem>
25
25
  </MazTabsContent>
@@ -41,13 +41,13 @@ const tabs: MazTabsBarItem[] = [
41
41
  <MazTabsBar :items="tabs" />
42
42
 
43
43
  <MazTabsContent>
44
- <MazTabsContentItem :tab="1" class="maz-py-4">
44
+ <MazTabsContentItem :tab="1" class="maz:py-4">
45
45
  Tab 1
46
46
  </MazTabsContentItem>
47
- <MazTabsContentItem :tab="2" class="maz-py-4">
47
+ <MazTabsContentItem :tab="2" class="maz:py-4">
48
48
  Tab 2
49
49
  </MazTabsContentItem>
50
- <MazTabsContentItem :tab="3" class="maz-py-4">
50
+ <MazTabsContentItem :tab="3" class="maz:py-4">
51
51
  Tab 3
52
52
  </MazTabsContentItem>
53
53
  </MazTabsContent>
@@ -61,13 +61,13 @@ const tabs: MazTabsBarItem[] = [
61
61
  <MazTabsBar :items="tabs" />
62
62
 
63
63
  <MazTabsContent>
64
- <MazTabsContentItem :tab="1" class="maz-py-4">
64
+ <MazTabsContentItem :tab="1" class="maz:py-4">
65
65
  Tab 1
66
66
  </MazTabsContentItem>
67
- <MazTabsContentItem :tab="2" class="maz-py-4">
67
+ <MazTabsContentItem :tab="2" class="maz:py-4">
68
68
  Tab 2
69
69
  </MazTabsContentItem>
70
- <MazTabsContentItem :tab="3" class="maz-py-4">
70
+ <MazTabsContentItem :tab="3" class="maz:py-4">
71
71
  Tab 3
72
72
  </MazTabsContentItem>
73
73
  </MazTabsContent>
@@ -95,13 +95,13 @@ const tabs: MazTabsBarItem[] = ['First Tab', 'Second Tab', 'Third Tab']
95
95
  <MazTabsBar :items="tabs" />
96
96
 
97
97
  <MazTabsContent>
98
- <MazTabsContentItem :tab="1" class="maz-py-4">
98
+ <MazTabsContentItem :tab="1" class="maz:py-4">
99
99
  Tab 1
100
100
  </MazTabsContentItem>
101
- <MazTabsContentItem :tab="2" class="maz-py-4">
101
+ <MazTabsContentItem :tab="2" class="maz:py-4">
102
102
  Tab 2
103
103
  </MazTabsContentItem>
104
- <MazTabsContentItem :tab="3" class="maz-py-4">
104
+ <MazTabsContentItem :tab="3" class="maz:py-4">
105
105
  Tab 3
106
106
  </MazTabsContentItem>
107
107
  </MazTabsContent>
@@ -129,13 +129,13 @@ You can choose the name of this query parameter with the props `query-param` `@d
129
129
  <MazTabsBar :items="tabs2" persistent />
130
130
 
131
131
  <MazTabsContent>
132
- <MazTabsContentItem :tab="1" class="maz-py-4">
132
+ <MazTabsContentItem :tab="1" class="maz:py-4">
133
133
  Tab 1
134
134
  </MazTabsContentItem>
135
- <MazTabsContentItem :tab="2" class="maz-py-4">
135
+ <MazTabsContentItem :tab="2" class="maz:py-4">
136
136
  Tab 2
137
137
  </MazTabsContentItem>
138
- <MazTabsContentItem :tab="3" class="maz-py-4">
138
+ <MazTabsContentItem :tab="3" class="maz:py-4">
139
139
  Tab 3
140
140
  </MazTabsContentItem>
141
141
  </MazTabsContent>
@@ -148,7 +148,7 @@ You can choose the name of this query parameter with the props `query-param` `@d
148
148
  <template #item="{ item, index, active }">
149
149
  {{ item.label }}
150
150
  <MazBadge
151
- size="0.6rem"
151
+ size="mini"
152
152
  rounded-size="full"
153
153
  :color="active ? 'primary' : 'transparent'"
154
154
  >
@@ -164,7 +164,7 @@ You can choose the name of this query parameter with the props `query-param` `@d
164
164
  <template #item="{ item, index, active }">
165
165
  {{ item.label }}
166
166
 
167
- <MazBadge size="0.6rem" rounded-size="full" :color="active ? 'primary' : 'transparent'"> {{ index }} </MazBadge>
167
+ <MazBadge size="mini" rounded-size="full" :color="active ? 'primary' : 'transparent'"> {{ index }} </MazBadge>
168
168
  </template>
169
169
  </MazTabsBar>
170
170
  </MazTabs>
@@ -78,8 +78,8 @@ You can use the `label` and `append` slots to customize the label and the append
78
78
  name="comment"
79
79
  >
80
80
  <template #label>
81
- <MazIcon name="envelope" class="maz-text-xl" />
82
- <span class="maz-ms-2">
81
+ <MazIcon icon="/envelope.svg" class="maz:text-xl" />
82
+ <span class="maz:ms-2">
83
83
  The custom label
84
84
  </span>
85
85
  </template>
@@ -113,8 +113,8 @@ function sendMessage() {
113
113
  name="comment"
114
114
  >
115
115
  <template #label>
116
- <MazIcon name="envelope" class="maz-text-xl" />
117
- <span class="maz-ms-2">
116
+ <MazIcon icon="/envelope.svg" class="maz:text-xl" />
117
+ <span class="maz:ms-2">
118
118
  The custom label
119
119
  </span>
120
120
  </template>
@@ -133,7 +133,7 @@ function sendMessage() {
133
133
  You can use the `hint` attribute to display a hint message. This will replace the label.
134
134
 
135
135
  <ComponentDemo>
136
- <div class="maz-flex maz-flex-col maz-gap-4">
136
+ <div class="maz:flex maz:flex-col maz:gap-4">
137
137
  <MazTextarea
138
138
  v-model="value"
139
139
  name="comment"
@@ -161,7 +161,7 @@ You can use the `hint` attribute to display a hint message. This will replace th
161
161
  hint="This is a hint message"
162
162
  warning
163
163
  />
164
- <hr class="maz-my-4">
164
+ <hr class="maz:my-4">
165
165
  <MazTextarea
166
166
  v-model="value"
167
167
  name="comment"
@@ -222,7 +222,7 @@ You can use the `hint` attribute to display a hint message. This will replace th
222
222
  hint="This is a hint message"
223
223
  warning
224
224
  />
225
- <hr class="maz-my-4">
225
+ <hr class="maz:my-4">
226
226
  <MazTextarea
227
227
  v-model="value"
228
228
  name="comment"
@@ -300,7 +300,7 @@ By default, the textarea automatically expands as the user types. You can disabl
300
300
 
301
301
  <script lang="ts" setup>
302
302
  import { ref } from 'vue'
303
- import { useToast } from 'maz-ui/src/composables/useToast'
303
+ import { useToast } from 'maz-ui/composables/useToast'
304
304
 
305
305
  const mainValue = ref()
306
306
  const value = ref()
@@ -46,25 +46,25 @@ description: MazTicker is a scrolling ticker component that continuously animate
46
46
  A vertical ticker with images, similar to a screenshot showcase. Uses `orientation="vertical"` with `pause-on-hover` for user-friendly browsing.
47
47
 
48
48
  <ComponentDemo>
49
- <div class="maz-flex maz-gap-4 maz-overflow-hidden" style="height: 300px">
49
+ <div class="maz:flex maz:gap-4 maz:overflow-hidden" style="height: 300px">
50
50
  <MazTicker orientation="vertical" :overlay="false" :duration="30" pause-on-hover>
51
51
  <img
52
52
  v-for="i in 4" :key="i" :src="`https://picsum.photos/seed/maz-ticker-${i}/400/225`"
53
- :alt="`Screenshot ${i}`" class="maz-rounded-lg maz-border maz-border-gray-200 maz-object-cover dark:maz-border-gray-700"
53
+ :alt="`Screenshot ${i}`" class="maz:rounded-lg maz:border maz:border-gray-200 maz:object-cover maz:dark:border-gray-700"
54
54
  style="width: 400px; height: 225px"
55
55
  />
56
56
  </MazTicker>
57
57
  <MazTicker orientation="vertical" :overlay="false" :duration="30" reverse pause-on-hover>
58
58
  <img
59
59
  v-for="i in 4" :key="i" :src="`https://picsum.photos/seed/maz-ticker-${i + 4}/400/225`"
60
- :alt="`Screenshot ${i + 4}`" class="maz-rounded-lg maz-border maz-border-gray-200 maz-object-cover dark:maz-border-gray-700"
60
+ :alt="`Screenshot ${i + 4}`" class="maz:rounded-lg maz:border maz:border-gray-200 maz:object-cover maz:dark:border-gray-700"
61
61
  style="width: 400px; height: 225px"
62
62
  />
63
63
  </MazTicker>
64
- <MazTicker class="maz-hidden md:maz-flex" orientation="vertical" :overlay="false" :duration="30" pause-on-hover>
64
+ <MazTicker class="maz:hidden maz:md:flex" orientation="vertical" :overlay="false" :duration="30" pause-on-hover>
65
65
  <img
66
66
  v-for="i in 4" :key="i" :src="`https://picsum.photos/seed/maz-ticker-${i + 8}/400/225`"
67
- :alt="`Screenshot ${i + 8}`" class="maz-rounded-lg maz-border maz-border-gray-200 maz-object-cover dark:maz-border-gray-700"
67
+ :alt="`Screenshot ${i + 8}`" class="maz:rounded-lg maz:border maz:border-gray-200 maz:object-cover maz:dark:border-gray-700"
68
68
  style="width: 400px; height: 225px"
69
69
  />
70
70
  </MazTicker>
@@ -74,7 +74,7 @@ A vertical ticker with images, similar to a screenshot showcase. Uses `orientati
74
74
 
75
75
  ```vue
76
76
  <template>
77
- <div class="maz-flex maz-gap-4 maz-overflow-hidden" style="height: 300px">
77
+ <div class="maz:flex maz:gap-4 maz:overflow-hidden" style="height: 300px">
78
78
  <MazTicker
79
79
  orientation="vertical"
80
80
  :overlay="false"
@@ -86,7 +86,7 @@ A vertical ticker with images, similar to a screenshot showcase. Uses `orientati
86
86
  :key="i"
87
87
  :src="`https://picsum.photos/seed/maz-ticker-${i}/400/225`"
88
88
  :alt="`Screenshot ${i}`"
89
- class="maz-rounded-lg maz-border maz-border-gray-200 maz-object-cover dark:maz-border-gray-700"
89
+ class="maz:rounded-lg maz:border maz:border-gray-200 maz:object-cover maz:dark:border-gray-700"
90
90
  style="width: 400px; height: 225px"
91
91
  />
92
92
  </MazTicker>
@@ -102,12 +102,12 @@ A vertical ticker with images, similar to a screenshot showcase. Uses `orientati
102
102
  :key="i"
103
103
  :src="`https://picsum.photos/seed/maz-ticker-${i + 4}/400/225`"
104
104
  :alt="`Screenshot ${i + 4}`"
105
- class="maz-rounded-lg maz-border maz-border-gray-200 maz-object-cover dark:maz-border-gray-700"
105
+ class="maz:rounded-lg maz:border maz:border-gray-200 maz:object-cover maz:dark:border-gray-700"
106
106
  style="width: 400px; height: 225px"
107
107
  />
108
108
  </MazTicker>
109
109
  <MazTicker
110
- class="maz-hidden md:maz-flex"
110
+ class="maz:hidden maz:md:flex"
111
111
  orientation="vertical"
112
112
  :overlay="false"
113
113
  :duration="30"
@@ -118,7 +118,7 @@ A vertical ticker with images, similar to a screenshot showcase. Uses `orientati
118
118
  :key="i"
119
119
  :src="`https://picsum.photos/seed/maz-ticker-${i + 8}/400/225`"
120
120
  :alt="`Screenshot ${i + 8}`"
121
- class="maz-rounded-lg maz-border maz-border-gray-200 maz-object-cover dark:maz-border-gray-700"
121
+ class="maz:rounded-lg maz:border maz:border-gray-200 maz:object-cover maz:dark:border-gray-700"
122
122
  style="width: 400px; height: 225px"
123
123
  />
124
124
  </MazTicker>
@@ -138,8 +138,8 @@ A vertical ticker with images, similar to a screenshot showcase. Uses `orientati
138
138
  Create an eye-catching 3D perspective effect with tilted vertical tickers, inspired by the Nuxt UI Marquee screenshots demo.
139
139
 
140
140
  <ComponentDemo>
141
- <div class="maz-overflow-hidden maz-rounded-lg maz-bg-gray-100 dark:maz-bg-gray-800" style="height: 400px; perspective: 1500px">
142
- <div class="maz-flex maz-gap-4" style="height: 900px; margin-top: -300px; margin-left: -150px; transform: rotateX(55deg) rotateZ(30deg); transform-origin: center center">
141
+ <div class="maz:overflow-hidden maz:rounded-lg maz:bg-gray-100 maz:dark:bg-gray-800" style="height: 400px; perspective: 1500px">
142
+ <div class="maz:flex maz:gap-4" style="height: 900px; margin-top: -300px; margin-left: -150px; transform: rotateX(55deg) rotateZ(30deg); transform-origin: center center">
143
143
  <MazTicker reverse orientation="vertical" :overlay="false" :duration="40" style="width: 300px; flex-shrink: 0">
144
144
  <img
145
145
  v-for="i in 4"
@@ -149,7 +149,7 @@ Create an eye-catching 3D perspective effect with tilted vertical tickers, inspi
149
149
  width="460"
150
150
  height="258"
151
151
  loading="lazy"
152
- class="maz-rounded-lg maz-border maz-border-gray-200 maz-bg-white maz-object-cover dark:maz-border-gray-700"
152
+ class="maz:rounded-lg maz:border maz:border-gray-200 maz:bg-white maz:object-cover maz:dark:border-gray-700"
153
153
  style="width: 300px; height: 168px"
154
154
  />
155
155
  </MazTicker>
@@ -162,7 +162,7 @@ Create an eye-catching 3D perspective effect with tilted vertical tickers, inspi
162
162
  width="460"
163
163
  height="258"
164
164
  loading="lazy"
165
- class="maz-rounded-lg maz-border maz-border-gray-200 maz-bg-white maz-object-cover dark:maz-border-gray-700"
165
+ class="maz:rounded-lg maz:border maz:border-gray-200 maz:bg-white maz:object-cover maz:dark:border-gray-700"
166
166
  style="width: 300px; height: 168px"
167
167
  />
168
168
  </MazTicker>
@@ -175,7 +175,7 @@ Create an eye-catching 3D perspective effect with tilted vertical tickers, inspi
175
175
  width="460"
176
176
  height="258"
177
177
  loading="lazy"
178
- class="maz-rounded-lg maz-border maz-border-gray-200 maz-bg-white maz-object-cover dark:maz-border-gray-700"
178
+ class="maz:rounded-lg maz:border maz:border-gray-200 maz:bg-white maz:object-cover maz:dark:border-gray-700"
179
179
  style="width: 300px; height: 168px"
180
180
  />
181
181
  </MazTicker>
@@ -187,11 +187,11 @@ Create an eye-catching 3D perspective effect with tilted vertical tickers, inspi
187
187
  ```vue
188
188
  <template>
189
189
  <div
190
- class="maz-overflow-hidden maz-rounded-lg maz-bg-gray-100 dark:maz-bg-gray-800"
190
+ class="maz:overflow-hidden maz:rounded-lg maz:bg-gray-100 maz:dark:bg-gray-800"
191
191
  style="height: 400px; perspective: 1500px"
192
192
  >
193
193
  <div
194
- class="maz-flex maz-gap-4"
194
+ class="maz:flex maz:gap-4"
195
195
  style="height: 900px; margin-top: -300px; margin-left: -150px; transform: rotateX(55deg) rotateZ(30deg); transform-origin: center center"
196
196
  >
197
197
  <MazTicker
@@ -209,7 +209,7 @@ Create an eye-catching 3D perspective effect with tilted vertical tickers, inspi
209
209
  width="460"
210
210
  height="258"
211
211
  loading="lazy"
212
- class="maz-rounded-lg maz-border maz-border-gray-200 maz-bg-white maz-object-cover dark:maz-border-gray-700"
212
+ class="maz:rounded-lg maz:border maz:border-gray-200 maz:bg-white maz:object-cover maz:dark:border-gray-700"
213
213
  style="width: 300px; height: 168px"
214
214
  />
215
215
  </MazTicker>
@@ -227,7 +227,7 @@ Create an eye-catching 3D perspective effect with tilted vertical tickers, inspi
227
227
  width="460"
228
228
  height="258"
229
229
  loading="lazy"
230
- class="maz-rounded-lg maz-border maz-border-gray-200 maz-bg-white maz-object-cover dark:maz-border-gray-700"
230
+ class="maz:rounded-lg maz:border maz:border-gray-200 maz:bg-white maz:object-cover maz:dark:border-gray-700"
231
231
  style="width: 300px; height: 168px"
232
232
  />
233
233
  </MazTicker>
@@ -246,7 +246,7 @@ Create an eye-catching 3D perspective effect with tilted vertical tickers, inspi
246
246
  width="460"
247
247
  height="258"
248
248
  loading="lazy"
249
- class="maz-rounded-lg maz-border maz-border-gray-200 maz-bg-white maz-object-cover dark:maz-border-gray-700"
249
+ class="maz:rounded-lg maz:border maz:border-gray-200 maz:bg-white maz:object-cover maz:dark:border-gray-700"
250
250
  style="width: 300px; height: 168px"
251
251
  />
252
252
  </MazTicker>
@@ -297,9 +297,9 @@ Otherwise, the ticker will scroll vertically.
297
297
  <ComponentDemo>
298
298
  <div style="height: 100px">
299
299
  <MazTicker orientation="vertical">
300
- <div class="maz-py-2">Item 1</div>
301
- <div class="maz-py-2">Item 2</div>
302
- <div class="maz-py-2">Item 3</div>
300
+ <div class="maz:py-2">Item 1</div>
301
+ <div class="maz:py-2">Item 2</div>
302
+ <div class="maz:py-2">Item 3</div>
303
303
  </MazTicker>
304
304
  </div>
305
305
 
@@ -309,9 +309,9 @@ Otherwise, the ticker will scroll vertically.
309
309
  <template>
310
310
  <div style="height: 100px">
311
311
  <MazTicker orientation="vertical">
312
- <div class="maz-py-2">Item 1</div>
313
- <div class="maz-py-2">Item 2</div>
314
- <div class="maz-py-2">Item 3</div>
312
+ <div class="maz:py-2">Item 1</div>
313
+ <div class="maz:py-2">Item 2</div>
314
+ <div class="maz:py-2">Item 3</div>
315
315
  </MazTicker>
316
316
  </div>
317
317
  </template>
@@ -323,7 +323,7 @@ Otherwise, the ticker will scroll vertically.
323
323
  ## Reverse direction
324
324
 
325
325
  <ComponentDemo>
326
- <div class="maz-flex maz-flex-col maz-gap-4">
326
+ <div class="maz:flex maz:flex-col maz:gap-4">
327
327
  <MazTicker>
328
328
  <span>Normal direction</span>
329
329
  </MazTicker>
@@ -353,7 +353,7 @@ Otherwise, the ticker will scroll vertically.
353
353
  Control the animation speed with the `duration` prop (in seconds). Lower values = faster.
354
354
 
355
355
  <ComponentDemo>
356
- <div class="maz-flex maz-flex-col maz-gap-4">
356
+ <div class="maz:flex maz:flex-col maz:gap-4">
357
357
  <MazTicker :duration="5" :repeat="20">
358
358
  <span>Fast (5s)</span>
359
359
  </MazTicker>
@@ -389,7 +389,7 @@ Control the animation speed with the `duration` prop (in seconds). Lower values
389
389
  The `repeat` prop controls how many times the content is duplicated to create a seamless loop. The default value is `4`. Increase it when your content is short to avoid visible gaps during the animation.
390
390
 
391
391
  <ComponentDemo>
392
- <div class="maz-flex maz-flex-col maz-gap-4">
392
+ <div class="maz:flex maz:flex-col maz:gap-4">
393
393
  <MazTicker :repeat="2">
394
394
  <span>Repeat 2</span>
395
395
  </MazTicker>
@@ -417,7 +417,7 @@ The `repeat` prop controls how many times the content is duplicated to create a
417
417
  ## Custom gap
418
418
 
419
419
  <ComponentDemo>
420
- <div class="maz-flex maz-flex-col maz-gap-4">
420
+ <div class="maz:flex maz:flex-col maz:gap-4">
421
421
  <MazTicker gap="0.5rem" :repeat="20">
422
422
  <span>Small gap</span>
423
423
  </MazTicker>
@@ -471,7 +471,7 @@ You can disable the overlay by setting the `overlay` prop to `false`.
471
471
  You can change the size of the overlay by setting the `overlay-size` prop to a CSS value.
472
472
 
473
473
  <ComponentDemo>
474
- <div class="maz-flex maz-flex-col maz-gap-4">
474
+ <div class="maz:flex maz:flex-col maz:gap-4">
475
475
  <MazTicker overlay-size="10%" :repeat="10">
476
476
  <span>Small overlay (10%)</span>
477
477
  </MazTicker>
@@ -551,7 +551,7 @@ When a child element is focused, the animation will pause.
551
551
  You can control the animation programmatically with the `paused` prop.
552
552
 
553
553
  <ComponentDemo>
554
- <div class="maz-flex maz-flex-col maz-gap-4">
554
+ <div class="maz:flex maz:flex-col maz:gap-4">
555
555
  <MazBtn size="sm" @click="isPaused = !isPaused">
556
556
  {{ isPaused ? 'Resume' : 'Pause' }}
557
557
  </MazBtn>
@@ -628,11 +628,11 @@ Replace the default before and after slots with custom content.
628
628
  <ComponentDemo>
629
629
  <MazTicker>
630
630
  <template #before>
631
- <div class="maz-flex maz-items-center maz-px-4 maz-font-semibold">Latest:</div>
631
+ <div class="maz:flex maz:items-center maz:px-4 maz:font-semibold">Latest:</div>
632
632
  </template>
633
633
  <span>Breaking news item</span>
634
634
  <template #after>
635
- <div class="maz-flex maz-items-center maz-px-4 maz-font-semibold">End</div>
635
+ <div class="maz:flex maz:items-center maz:px-4 maz:font-semibold">End</div>
636
636
  </template>
637
637
  </MazTicker>
638
638
 
@@ -642,11 +642,11 @@ Replace the default before and after slots with custom content.
642
642
  <template>
643
643
  <MazTicker>
644
644
  <template #before>
645
- <div class="maz-flex maz-items-center maz-px-4 maz-font-semibold">Latest:</div>
645
+ <div class="maz:flex maz:items-center maz:px-4 maz:font-semibold">Latest:</div>
646
646
  </template>
647
647
  <span>Breaking news item</span>
648
648
  <template #after>
649
- <div class="maz-flex maz-items-center maz-px-4 maz-font-semibold">End</div>
649
+ <div class="maz:flex maz:items-center maz:px-4 maz:font-semibold">End</div>
650
650
  </template>
651
651
  </MazTicker>
652
652
  </template>
@@ -658,7 +658,7 @@ Replace the default before and after slots with custom content.
658
658
  ## Timing function
659
659
 
660
660
  <ComponentDemo>
661
- <div class="maz-flex maz-flex-col maz-gap-4">
661
+ <div class="maz:flex maz:flex-col maz:gap-4">
662
662
  <MazTicker animation-timing-function="linear" :repeat="10">
663
663
  <span>Linear (default)</span>
664
664
  </MazTicker>
@@ -100,7 +100,7 @@ The default direction is `'auto'`, which switches from horizontal to vertical ba
100
100
  Use the `color` prop to change the theme color.
101
101
 
102
102
  <ComponentDemo>
103
- <div class="maz-flex maz-flex-col maz-gap-6">
103
+ <div class="maz:flex maz:flex-col maz:gap-6">
104
104
  <MazTimeline v-for="color in colors" :key="color" :model-value="1" :steps="colorSteps" :color="color" direction="horizontal" />
105
105
  </div>
106
106
 
@@ -125,7 +125,7 @@ Use the `color` prop to change the theme color.
125
125
  Use the `size` prop to change the indicator size.
126
126
 
127
127
  <ComponentDemo>
128
- <div class="maz-flex maz-flex-col maz-gap-6">
128
+ <div class="maz:flex maz:flex-col maz:gap-6">
129
129
  <MazTimeline v-for="size in sizes" :key="size" :model-value="1" :steps="colorSteps" :size="size" direction="horizontal" />
130
130
  </div>
131
131
 
@@ -273,7 +273,7 @@ By default, completed steps show a checkmark. Disable this with `:auto-validate-
273
273
  Customize the indicator border radius with the `rounded-size` prop.
274
274
 
275
275
  <ComponentDemo>
276
- <div class="maz-flex maz-flex-col maz-gap-6">
276
+ <div class="maz:flex maz:flex-col maz:gap-6">
277
277
  <MazTimeline v-for="rounded in roundedSizes" :key="rounded" :model-value="1" :steps="colorSteps" :rounded-size="rounded" direction="horizontal" />
278
278
  </div>
279
279
 
@@ -325,9 +325,9 @@ MazTimeline provides scoped slots for full customization.
325
325
  <ComponentDemo>
326
326
  <MazTimeline v-model="currentStep" :steps="steps" direction="horizontal">
327
327
  <template #content="{ step, index, state }">
328
- <div class="maz-text-center">
328
+ <div class="maz:text-center">
329
329
  <strong>{{ step.title }}</strong>
330
- <p class="maz-text-muted maz-text-sm maz-m-0">Step {{ index + 1 }} - {{ state }}</p>
330
+ <p class="maz:text-muted maz:text-sm maz:m-0">Step {{ index + 1 }} - {{ state }}</p>
331
331
  </div>
332
332
  </template>
333
333
  </MazTimeline>
@@ -338,9 +338,9 @@ MazTimeline provides scoped slots for full customization.
338
338
  <template>
339
339
  <MazTimeline v-model="currentStep" :steps="steps">
340
340
  <template #content="{ step, index, state }">
341
- <div class="maz-text-center">
341
+ <div class="maz:text-center">
342
342
  <strong>{{ step.title }}</strong>
343
- <p class="maz-text-muted maz-text-sm maz-m-0">
343
+ <p class="maz:text-muted maz:text-sm maz:m-0">
344
344
  Step {{ index + 1 }} - {{ state }}
345
345
  </p>
346
346
  </div>
@@ -357,7 +357,7 @@ MazTimeline provides scoped slots for full customization.
357
357
  <ComponentDemo>
358
358
  <MazTimeline v-model="currentStep" :steps="steps" direction="horizontal">
359
359
  <template #connector="{ index, state }">
360
- <div class="maz-text-center maz-text-xs maz-text-muted">---</div>
360
+ <div class="maz:text-center maz:text-xs maz:text-muted">---</div>
361
361
  </template>
362
362
  </MazTimeline>
363
363
 
@@ -367,7 +367,7 @@ MazTimeline provides scoped slots for full customization.
367
367
  <template>
368
368
  <MazTimeline v-model="currentStep" :steps="steps">
369
369
  <template #connector="{ index, state }">
370
- <div class="maz-text-center maz-text-xs maz-text-muted">---</div>
370
+ <div class="maz:text-center maz:text-xs maz:text-muted">---</div>
371
371
  </template>
372
372
  </MazTimeline>
373
373
  </template>
@@ -64,7 +64,7 @@ function openDialog() {
64
64
  </ComponentDemo>
65
65
 
66
66
  <script lang="ts" setup>
67
- import { useDialog, useToast } from 'maz-ui/src/composables/index'
67
+ import { useDialog, useToast } from 'maz-ui/composables'
68
68
 
69
69
  const dialog = useDialog()
70
70
  const toast = useToast()
@@ -31,7 +31,7 @@ Depending on your environment (client or node server) and the browser you are us
31
31
  To see `useDisplayNames` in action, you can try out the following demo. This demo showcases how to use the composable to fetch and display localized language names dynamically based on user input.
32
32
 
33
33
  <ComponentDemo>
34
- <div class="maz-flex maz-flex-col maz-gap-4 maz-items-start">
34
+ <div class="maz:flex maz:flex-col maz:gap-4 maz:items-start">
35
35
  <MazSelect
36
36
  v-model="selectedLocale"
37
37
  label="Select a locale"
@@ -164,7 +164,7 @@ function getAllDisplayNames(options: {
164
164
 
165
165
  <script lang="ts" setup>
166
166
  import { ref, computed } from 'vue'
167
- import { useDisplayNames } from 'maz-ui/src/composables/useDisplayNames.js'
167
+ import { useDisplayNames } from 'maz-ui/composables/useDisplayNames'
168
168
 
169
169
  const selectedLocale = ref('en-US')
170
170
  const code = ref('fr-FR')