@maz-ui/mcp 4.9.1 → 5.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mcp.mjs +1 -1
- package/docs/generated-docs/maz-alert.doc.md +1 -1
- package/docs/generated-docs/maz-avatar.doc.md +1 -1
- package/docs/generated-docs/maz-badge.doc.md +8 -8
- package/docs/generated-docs/maz-btn.doc.md +26 -26
- package/docs/generated-docs/maz-card.doc.md +19 -19
- package/docs/generated-docs/maz-chart.doc.md +8 -8
- package/docs/generated-docs/maz-container.doc.md +20 -20
- package/docs/generated-docs/maz-drawer.doc.md +8 -8
- package/docs/generated-docs/maz-dropdown.doc.md +1 -1
- package/docs/generated-docs/maz-dropzone.doc.md +2 -2
- package/docs/generated-docs/maz-gallery.doc.md +15 -15
- package/docs/generated-docs/maz-icon.doc.md +11 -14
- package/docs/generated-docs/maz-input.doc.md +38 -38
- package/docs/generated-docs/maz-lazy-img.doc.md +18 -0
- package/docs/generated-docs/maz-link.doc.md +9 -9
- package/docs/generated-docs/maz-pagination.doc.md +9 -9
- package/docs/generated-docs/maz-popover.doc.md +5 -1
- package/docs/generated-docs/maz-radio-buttons.doc.md +17 -17
- package/docs/generated-docs/maz-select.doc.md +2 -2
- package/docs/generated-docs/maz-skeleton.doc.md +10 -10
- package/docs/generated-docs/maz-table.doc.md +37 -37
- package/docs/generated-docs/maz-textarea.doc.md +1 -1
- package/docs/generated-docs/maz-timeline.doc.md +1 -1
- package/docs/src/blog/v4.md +7 -7
- package/docs/src/blog/v5.md +186 -0
- package/docs/src/components/maz-accordion.md +1 -1
- package/docs/src/components/maz-alert.md +15 -15
- package/docs/src/components/maz-animated-counter.md +4 -4
- package/docs/src/components/maz-avatar.md +2 -2
- package/docs/src/components/maz-backdrop.md +7 -7
- package/docs/src/components/maz-badge.md +16 -30
- package/docs/src/components/maz-bottom-sheet.md +74 -74
- package/docs/src/components/maz-btn-group.md +17 -13
- package/docs/src/components/maz-btn.md +127 -90
- package/docs/src/components/maz-card-spotlight.md +5 -5
- package/docs/src/components/maz-card.md +20 -20
- package/docs/src/components/maz-carousel.md +14 -14
- package/docs/src/components/maz-chart.md +23 -4
- package/docs/src/components/maz-checkbox.md +3 -3
- package/docs/src/components/maz-checklist.md +19 -19
- package/docs/src/components/maz-circular-progress-bar.md +4 -4
- package/docs/src/components/maz-container.md +52 -37
- package/docs/src/components/maz-date-picker.md +7 -7
- package/docs/src/components/maz-dialog-confirm.md +2 -2
- package/docs/src/components/maz-drawer.md +14 -14
- package/docs/src/components/maz-dropdown.md +27 -12
- package/docs/src/components/maz-dropzone.md +6 -6
- package/docs/src/components/maz-expand-animation.md +2 -2
- package/docs/src/components/maz-fullscreen-loader.md +2 -2
- package/docs/src/components/maz-gallery.md +1 -1
- package/docs/src/components/maz-icon.md +113 -60
- package/docs/src/components/maz-input-code.md +1 -1
- package/docs/src/components/maz-input-phone-number.md +89 -88
- package/docs/src/components/maz-input-tags.md +2 -2
- package/docs/src/components/maz-input.md +42 -12
- package/docs/src/components/maz-link.md +28 -10
- package/docs/src/components/maz-pagination.md +2 -2
- package/docs/src/components/maz-popover.md +236 -235
- package/docs/src/components/maz-pull-to-refresh.md +2 -2
- package/docs/src/components/maz-radio-buttons.md +11 -11
- package/docs/src/components/maz-radio.md +3 -3
- package/docs/src/components/maz-read-more.md +7 -7
- package/docs/src/components/maz-select-country.md +26 -26
- package/docs/src/components/maz-select.md +1 -1
- package/docs/src/components/maz-skeleton.md +25 -25
- package/docs/src/components/maz-spinner.md +2 -2
- package/docs/src/components/maz-stepper.md +5 -5
- package/docs/src/components/maz-switch.md +1 -1
- package/docs/src/components/maz-table.md +10 -10
- package/docs/src/components/maz-tabs.md +17 -17
- package/docs/src/components/maz-textarea.md +8 -8
- package/docs/src/components/maz-ticker.md +37 -37
- package/docs/src/components/maz-timeline.md +9 -9
- package/docs/src/composables/use-dialog.md +1 -1
- package/docs/src/composables/use-display-names.md +2 -2
- package/docs/src/composables/use-form-validator.md +35 -35
- package/docs/src/composables/use-idle-timeout.md +3 -3
- package/docs/src/composables/use-reading-time.md +5 -5
- package/docs/src/composables/use-string-matching.md +4 -4
- package/docs/src/composables/use-swipe.md +3 -3
- package/docs/src/composables/use-timer.md +3 -3
- package/docs/src/composables/use-toast.md +1 -1
- package/docs/src/composables/use-user-visibility.md +1 -1
- package/docs/src/composables/use-wait.md +2 -2
- package/docs/src/directives/click-outside.md +17 -17
- package/docs/src/directives/lazy-img.md +5 -5
- package/docs/src/directives/tooltip.md +15 -15
- package/docs/src/directives/zoom-img.md +1 -1
- package/docs/src/ecosystem/eslint-config.md +100 -0
- package/docs/src/ecosystem/stylelint-config.md +190 -0
- package/docs/src/guide/browser-support.md +81 -0
- package/docs/src/guide/getting-started.md +23 -16
- package/docs/src/guide/icon-set.md +13 -13
- package/docs/src/guide/icons.md +35 -8
- package/docs/src/guide/maz-ui-provider.md +6 -6
- package/docs/src/guide/migration-v4.md +3 -3
- package/docs/src/guide/migration-v5.md +662 -0
- package/docs/src/guide/nuxt.md +27 -44
- package/docs/src/guide/resolvers.md +2 -2
- package/docs/src/guide/tailwind.md +154 -0
- package/docs/src/guide/themes.md +258 -485
- package/docs/src/guide/vue.md +8 -5
- package/docs/src/helpers/capitalize.md +4 -4
- package/docs/src/helpers/country-code-to-unicode-flag.md +37 -37
- package/docs/src/helpers/currency.md +4 -4
- package/docs/src/helpers/date.md +4 -4
- package/docs/src/helpers/get-country-flag-url.md +9 -9
- package/docs/src/helpers/number.md +5 -5
- package/docs/src/index.md +304 -246
- package/docs/src/made-with-maz-ui.md +5 -5
- package/docs/src/plugins/aos.md +6 -6
- package/docs/src/plugins/dialog.md +4 -4
- package/docs/src/plugins/toast.md +3 -3
- package/docs/src/plugins/wait.md +1 -1
- package/package.json +5 -5
|
@@ -10,16 +10,16 @@ description: MazPopover is a versatile Vue component for displaying content in o
|
|
|
10
10
|
## Basic usage
|
|
11
11
|
|
|
12
12
|
<ComponentDemo>
|
|
13
|
-
<div class="maz
|
|
13
|
+
<div class="maz:flex maz:gap-4 maz:flex-wrap">
|
|
14
14
|
<MazPopover trigger="click">
|
|
15
15
|
<template #trigger>
|
|
16
16
|
<MazBtn>
|
|
17
17
|
Click me
|
|
18
18
|
</MazBtn>
|
|
19
19
|
</template>
|
|
20
|
-
<div class="maz
|
|
21
|
-
<h3 class="maz
|
|
22
|
-
<p class="maz
|
|
20
|
+
<div class="maz:p-4">
|
|
21
|
+
<h3 class="maz:text-lg maz:font-semibold maz:mb-2">Popover Content</h3>
|
|
22
|
+
<p class="maz:text-sm">This is the content inside the popover.</p>
|
|
23
23
|
</div>
|
|
24
24
|
</MazPopover>
|
|
25
25
|
<MazPopover trigger="hover">
|
|
@@ -28,8 +28,8 @@ description: MazPopover is a versatile Vue component for displaying content in o
|
|
|
28
28
|
Hover me
|
|
29
29
|
</MazBtn>
|
|
30
30
|
</template>
|
|
31
|
-
<div class="maz
|
|
32
|
-
<p class="maz
|
|
31
|
+
<div class="maz:p-4">
|
|
32
|
+
<p class="maz:text-sm">This popover appears on hover!</p>
|
|
33
33
|
</div>
|
|
34
34
|
</MazPopover>
|
|
35
35
|
<MazPopover trigger="manual">
|
|
@@ -38,8 +38,8 @@ description: MazPopover is a versatile Vue component for displaying content in o
|
|
|
38
38
|
Manual trigger
|
|
39
39
|
</MazBtn>
|
|
40
40
|
</template>
|
|
41
|
-
<div class="maz
|
|
42
|
-
<p class="maz
|
|
41
|
+
<div class="maz:p-4">
|
|
42
|
+
<p class="maz:text-sm">This popover appears manually!</p>
|
|
43
43
|
</div>
|
|
44
44
|
</MazPopover>
|
|
45
45
|
</div>
|
|
@@ -54,11 +54,11 @@ description: MazPopover is a versatile Vue component for displaying content in o
|
|
|
54
54
|
Click me
|
|
55
55
|
</MazBtn>
|
|
56
56
|
</template>
|
|
57
|
-
<div class="maz
|
|
58
|
-
<h3 class="maz
|
|
57
|
+
<div class="maz:p-4">
|
|
58
|
+
<h3 class="maz:mb-2 maz:text-lg maz:font-semibold">
|
|
59
59
|
Popover Content
|
|
60
60
|
</h3>
|
|
61
|
-
<p class="maz
|
|
61
|
+
<p class="maz:text-sm">
|
|
62
62
|
This is the content inside the popover.
|
|
63
63
|
</p>
|
|
64
64
|
</div>
|
|
@@ -70,8 +70,8 @@ description: MazPopover is a versatile Vue component for displaying content in o
|
|
|
70
70
|
Hover me
|
|
71
71
|
</MazBtn>
|
|
72
72
|
</template>
|
|
73
|
-
<div class="maz
|
|
74
|
-
<p class="maz
|
|
73
|
+
<div class="maz:p-4">
|
|
74
|
+
<p class="maz:text-sm">
|
|
75
75
|
This popover appears on hover!
|
|
76
76
|
</p>
|
|
77
77
|
</div>
|
|
@@ -91,19 +91,19 @@ The `adaptive` trigger mode automatically adapts to the user's device:
|
|
|
91
91
|
This provides the best user experience across all devices without requiring manual configuration.
|
|
92
92
|
|
|
93
93
|
<ComponentDemo>
|
|
94
|
-
<div class="maz
|
|
94
|
+
<div class="maz:flex maz:gap-4 maz:flex-wrap">
|
|
95
95
|
<MazPopover trigger="adaptive">
|
|
96
96
|
<template #trigger>
|
|
97
97
|
<MazBtn color="primary">
|
|
98
98
|
Adaptive Trigger
|
|
99
99
|
</MazBtn>
|
|
100
100
|
</template>
|
|
101
|
-
<div class="maz
|
|
102
|
-
<h3 class="maz
|
|
103
|
-
<p class="maz
|
|
101
|
+
<div class="maz:p-4">
|
|
102
|
+
<h3 class="maz:text-lg maz:font-semibold maz:mb-2">Smart Behavior</h3>
|
|
103
|
+
<p class="maz:text-sm maz:mb-2">
|
|
104
104
|
On desktop: Hover to open, move away to close
|
|
105
105
|
</p>
|
|
106
|
-
<p class="maz
|
|
106
|
+
<p class="maz:text-sm">
|
|
107
107
|
On mobile: Tap to open, tap outside to close
|
|
108
108
|
</p>
|
|
109
109
|
</div>
|
|
@@ -114,14 +114,14 @@ This provides the best user experience across all devices without requiring manu
|
|
|
114
114
|
Adaptive + Keep Open
|
|
115
115
|
</MazBtn>
|
|
116
116
|
</template>
|
|
117
|
-
<div class="maz
|
|
118
|
-
<p class="maz
|
|
117
|
+
<div class="maz:p-4">
|
|
118
|
+
<p class="maz:text-sm maz:mb-2">
|
|
119
119
|
This combines adaptive behavior with keep-open-on-hover for menus.
|
|
120
120
|
</p>
|
|
121
|
-
<button class="maz
|
|
121
|
+
<button class="maz:block maz:w-full maz:px-3 maz:py-2 maz:text-start maz:text-sm maz:hover:bg-surface-600 maz:dark:hover:bg-surface-400 maz:rounded-md">
|
|
122
122
|
Menu Item 1
|
|
123
123
|
</button>
|
|
124
|
-
<button class="maz
|
|
124
|
+
<button class="maz:block maz:w-full maz:px-3 maz:py-2 maz:text-start maz:text-sm maz:hover:bg-surface-600 maz:dark:hover:bg-surface-400 maz:rounded-md">
|
|
125
125
|
Menu Item 2
|
|
126
126
|
</button>
|
|
127
127
|
</div>
|
|
@@ -139,12 +139,12 @@ This provides the best user experience across all devices without requiring manu
|
|
|
139
139
|
Adaptive Trigger
|
|
140
140
|
</MazBtn>
|
|
141
141
|
</template>
|
|
142
|
-
<div class="maz
|
|
143
|
-
<h3 class="maz
|
|
144
|
-
<p class="maz
|
|
142
|
+
<div class="maz:p-4">
|
|
143
|
+
<h3 class="maz:text-lg maz:font-semibold maz:mb-2">Smart Behavior</h3>
|
|
144
|
+
<p class="maz:text-sm maz:mb-2">
|
|
145
145
|
On desktop: Hover to open, move away to close
|
|
146
146
|
</p>
|
|
147
|
-
<p class="maz
|
|
147
|
+
<p class="maz:text-sm">
|
|
148
148
|
On mobile: Tap to open, tap outside to close
|
|
149
149
|
</p>
|
|
150
150
|
</div>
|
|
@@ -157,14 +157,14 @@ This provides the best user experience across all devices without requiring manu
|
|
|
157
157
|
Adaptive Menu
|
|
158
158
|
</MazBtn>
|
|
159
159
|
</template>
|
|
160
|
-
<div class="maz
|
|
161
|
-
<p class="maz
|
|
160
|
+
<div class="maz:p-4">
|
|
161
|
+
<p class="maz:text-sm maz:mb-2">
|
|
162
162
|
Perfect for dropdown menus that work on all devices
|
|
163
163
|
</p>
|
|
164
|
-
<button class="maz
|
|
164
|
+
<button class="maz:block maz:w-full maz:px-3 maz:py-2 maz:text-start maz:text-sm maz:hover:bg-surface-600 maz:dark:hover:bg-surface-400 maz:rounded-md">
|
|
165
165
|
Menu Item 1
|
|
166
166
|
</button>
|
|
167
|
-
<button class="maz
|
|
167
|
+
<button class="maz:block maz:w-full maz:px-3 maz:py-2 maz:text-start maz:text-sm maz:hover:bg-surface-600 maz:dark:hover:bg-surface-400 maz:rounded-md">
|
|
168
168
|
Menu Item 2
|
|
169
169
|
</button>
|
|
170
170
|
</div>
|
|
@@ -184,15 +184,15 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
184
184
|
:::
|
|
185
185
|
|
|
186
186
|
<ComponentDemo>
|
|
187
|
-
<div class="maz
|
|
187
|
+
<div class="maz:grid maz:grid-cols-2 maz:gap-4 maz:md:grid-cols-4">
|
|
188
188
|
<MazPopover trigger="hover" position="top">
|
|
189
189
|
<template #trigger>
|
|
190
190
|
<MazBtn block>
|
|
191
191
|
Top
|
|
192
192
|
</MazBtn>
|
|
193
193
|
</template>
|
|
194
|
-
<div class="maz
|
|
195
|
-
<p class="maz
|
|
194
|
+
<div class="maz:p-3">
|
|
195
|
+
<p class="maz:text-sm">Top positioned popover</p>
|
|
196
196
|
</div>
|
|
197
197
|
</MazPopover>
|
|
198
198
|
<MazPopover trigger="hover" position="bottom">
|
|
@@ -201,8 +201,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
201
201
|
Bottom
|
|
202
202
|
</MazBtn>
|
|
203
203
|
</template>
|
|
204
|
-
<div class="maz
|
|
205
|
-
<p class="maz
|
|
204
|
+
<div class="maz:p-3">
|
|
205
|
+
<p class="maz:text-sm">Bottom positioned popover</p>
|
|
206
206
|
</div>
|
|
207
207
|
</MazPopover>
|
|
208
208
|
<MazPopover trigger="hover" position="left">
|
|
@@ -211,8 +211,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
211
211
|
Left
|
|
212
212
|
</MazBtn>
|
|
213
213
|
</template>
|
|
214
|
-
<div class="maz
|
|
215
|
-
<p class="maz
|
|
214
|
+
<div class="maz:p-3">
|
|
215
|
+
<p class="maz:text-sm">Left positioned popover</p>
|
|
216
216
|
</div>
|
|
217
217
|
</MazPopover>
|
|
218
218
|
<MazPopover trigger="hover" position="right">
|
|
@@ -221,8 +221,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
221
221
|
Right
|
|
222
222
|
</MazBtn>
|
|
223
223
|
</template>
|
|
224
|
-
<div class="maz
|
|
225
|
-
<p class="maz
|
|
224
|
+
<div class="maz:p-3">
|
|
225
|
+
<p class="maz:text-sm">Right positioned popover</p>
|
|
226
226
|
</div>
|
|
227
227
|
</MazPopover>
|
|
228
228
|
</div>
|
|
@@ -235,8 +235,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
235
235
|
<template #trigger>
|
|
236
236
|
<MazBtn>Top</MazBtn>
|
|
237
237
|
</template>
|
|
238
|
-
<div class="maz
|
|
239
|
-
<p class="maz
|
|
238
|
+
<div class="maz:p-3">
|
|
239
|
+
<p class="maz:text-sm">
|
|
240
240
|
Top positioned popover
|
|
241
241
|
</p>
|
|
242
242
|
</div>
|
|
@@ -246,8 +246,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
246
246
|
<template #trigger>
|
|
247
247
|
<MazBtn>Bottom</MazBtn>
|
|
248
248
|
</template>
|
|
249
|
-
<div class="maz
|
|
250
|
-
<p class="maz
|
|
249
|
+
<div class="maz:p-3">
|
|
250
|
+
<p class="maz:text-sm">
|
|
251
251
|
Bottom positioned popover
|
|
252
252
|
</p>
|
|
253
253
|
</div>
|
|
@@ -257,8 +257,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
257
257
|
<template #trigger>
|
|
258
258
|
<MazBtn>Left</MazBtn>
|
|
259
259
|
</template>
|
|
260
|
-
<div class="maz
|
|
261
|
-
<p class="maz
|
|
260
|
+
<div class="maz:p-3">
|
|
261
|
+
<p class="maz:text-sm">
|
|
262
262
|
Left positioned popover
|
|
263
263
|
</p>
|
|
264
264
|
</div>
|
|
@@ -268,8 +268,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
268
268
|
<template #trigger>
|
|
269
269
|
<MazBtn>Right</MazBtn>
|
|
270
270
|
</template>
|
|
271
|
-
<div class="maz
|
|
272
|
-
<p class="maz
|
|
271
|
+
<div class="maz:p-3">
|
|
272
|
+
<p class="maz:text-sm">
|
|
273
273
|
Right positioned popover
|
|
274
274
|
</p>
|
|
275
275
|
</div>
|
|
@@ -283,15 +283,15 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
283
283
|
## Advanced positions
|
|
284
284
|
|
|
285
285
|
<ComponentDemo>
|
|
286
|
-
<div class="maz
|
|
286
|
+
<div class="maz:grid maz:grid-cols-2 maz:gap-4 maz:md:grid-cols-3">
|
|
287
287
|
<MazPopover position="top-start">
|
|
288
288
|
<template #trigger>
|
|
289
289
|
<MazBtn block size="sm">
|
|
290
290
|
Top Start
|
|
291
291
|
</MazBtn>
|
|
292
292
|
</template>
|
|
293
|
-
<div class="maz
|
|
294
|
-
<p class="maz
|
|
293
|
+
<div class="maz:p-3">
|
|
294
|
+
<p class="maz:text-sm">Top start aligned</p>
|
|
295
295
|
</div>
|
|
296
296
|
</MazPopover>
|
|
297
297
|
<MazPopover position="top-end">
|
|
@@ -300,8 +300,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
300
300
|
Top End
|
|
301
301
|
</MazBtn>
|
|
302
302
|
</template>
|
|
303
|
-
<div class="maz
|
|
304
|
-
<p class="maz
|
|
303
|
+
<div class="maz:p-3">
|
|
304
|
+
<p class="maz:text-sm">Top end aligned</p>
|
|
305
305
|
</div>
|
|
306
306
|
</MazPopover>
|
|
307
307
|
<MazPopover position="bottom-start">
|
|
@@ -310,8 +310,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
310
310
|
Bottom Start
|
|
311
311
|
</MazBtn>
|
|
312
312
|
</template>
|
|
313
|
-
<div class="maz
|
|
314
|
-
<p class="maz
|
|
313
|
+
<div class="maz:p-3">
|
|
314
|
+
<p class="maz:text-sm">Bottom start aligned</p>
|
|
315
315
|
</div>
|
|
316
316
|
</MazPopover>
|
|
317
317
|
<MazPopover position="bottom-end">
|
|
@@ -320,8 +320,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
320
320
|
Bottom End
|
|
321
321
|
</MazBtn>
|
|
322
322
|
</template>
|
|
323
|
-
<div class="maz
|
|
324
|
-
<p class="maz
|
|
323
|
+
<div class="maz:p-3">
|
|
324
|
+
<p class="maz:text-sm">Bottom end aligned</p>
|
|
325
325
|
</div>
|
|
326
326
|
</MazPopover>
|
|
327
327
|
<MazPopover position="left-start">
|
|
@@ -330,8 +330,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
330
330
|
Left Start
|
|
331
331
|
</MazBtn>
|
|
332
332
|
</template>
|
|
333
|
-
<div class="maz
|
|
334
|
-
<p class="maz
|
|
333
|
+
<div class="maz:p-3">
|
|
334
|
+
<p class="maz:text-sm">Left start aligned</p>
|
|
335
335
|
</div>
|
|
336
336
|
</MazPopover>
|
|
337
337
|
<MazPopover position="left-end">
|
|
@@ -340,8 +340,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
340
340
|
Left End
|
|
341
341
|
</MazBtn>
|
|
342
342
|
</template>
|
|
343
|
-
<div class="maz
|
|
344
|
-
<p class="maz
|
|
343
|
+
<div class="maz:p-3">
|
|
344
|
+
<p class="maz:text-sm">Left end aligned</p>
|
|
345
345
|
</div>
|
|
346
346
|
</MazPopover>
|
|
347
347
|
<MazPopover position="right-start">
|
|
@@ -350,8 +350,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
350
350
|
Right Start
|
|
351
351
|
</MazBtn>
|
|
352
352
|
</template>
|
|
353
|
-
<div class="maz
|
|
354
|
-
<p class="maz
|
|
353
|
+
<div class="maz:p-3">
|
|
354
|
+
<p class="maz:text-sm">Right start aligned</p>
|
|
355
355
|
</div>
|
|
356
356
|
</MazPopover>
|
|
357
357
|
<MazPopover position="right-end">
|
|
@@ -360,8 +360,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
360
360
|
Right End
|
|
361
361
|
</MazBtn>
|
|
362
362
|
</template>
|
|
363
|
-
<div class="maz
|
|
364
|
-
<p class="maz
|
|
363
|
+
<div class="maz:p-3">
|
|
364
|
+
<p class="maz:text-sm">Right end aligned</p>
|
|
365
365
|
</div>
|
|
366
366
|
</MazPopover>
|
|
367
367
|
<MazPopover position="auto">
|
|
@@ -370,8 +370,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
370
370
|
Auto Position
|
|
371
371
|
</MazBtn>
|
|
372
372
|
</template>
|
|
373
|
-
<div class="maz
|
|
374
|
-
<p class="maz
|
|
373
|
+
<div class="maz:p-3">
|
|
374
|
+
<p class="maz:text-sm">Automatically positioned based on available space</p>
|
|
375
375
|
</div>
|
|
376
376
|
</MazPopover>
|
|
377
377
|
</div>
|
|
@@ -386,8 +386,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
386
386
|
Top Start
|
|
387
387
|
</MazBtn>
|
|
388
388
|
</template>
|
|
389
|
-
<div class="maz
|
|
390
|
-
<p class="maz
|
|
389
|
+
<div class="maz:p-3">
|
|
390
|
+
<p class="maz:text-sm">Top start aligned</p>
|
|
391
391
|
</div>
|
|
392
392
|
</MazPopover>
|
|
393
393
|
<MazPopover position="top-end">
|
|
@@ -396,8 +396,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
396
396
|
Top End
|
|
397
397
|
</MazBtn>
|
|
398
398
|
</template>
|
|
399
|
-
<div class="maz
|
|
400
|
-
<p class="maz
|
|
399
|
+
<div class="maz:p-3">
|
|
400
|
+
<p class="maz:text-sm">Top end aligned</p>
|
|
401
401
|
</div>
|
|
402
402
|
</MazPopover>
|
|
403
403
|
<MazPopover position="bottom-start">
|
|
@@ -406,8 +406,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
406
406
|
Bottom Start
|
|
407
407
|
</MazBtn>
|
|
408
408
|
</template>
|
|
409
|
-
<div class="maz
|
|
410
|
-
<p class="maz
|
|
409
|
+
<div class="maz:p-3">
|
|
410
|
+
<p class="maz:text-sm">Bottom start aligned</p>
|
|
411
411
|
</div>
|
|
412
412
|
</MazPopover>
|
|
413
413
|
<MazPopover position="bottom-end">
|
|
@@ -416,8 +416,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
416
416
|
Bottom End
|
|
417
417
|
</MazBtn>
|
|
418
418
|
</template>
|
|
419
|
-
<div class="maz
|
|
420
|
-
<p class="maz
|
|
419
|
+
<div class="maz:p-3">
|
|
420
|
+
<p class="maz:text-sm">Bottom end aligned</p>
|
|
421
421
|
</div>
|
|
422
422
|
</MazPopover>
|
|
423
423
|
|
|
@@ -427,8 +427,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
427
427
|
Left Start
|
|
428
428
|
</MazBtn>
|
|
429
429
|
</template>
|
|
430
|
-
<div class="maz
|
|
431
|
-
<p class="maz
|
|
430
|
+
<div class="maz:p-3">
|
|
431
|
+
<p class="maz:text-sm">Left start aligned</p>
|
|
432
432
|
</div>
|
|
433
433
|
</MazPopover>
|
|
434
434
|
<MazPopover position="left-end">
|
|
@@ -437,8 +437,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
437
437
|
Left End
|
|
438
438
|
</MazBtn>
|
|
439
439
|
</template>
|
|
440
|
-
<div class="maz
|
|
441
|
-
<p class="maz
|
|
440
|
+
<div class="maz:p-3">
|
|
441
|
+
<p class="maz:text-sm">Left end aligned</p>
|
|
442
442
|
</div>
|
|
443
443
|
</MazPopover>
|
|
444
444
|
|
|
@@ -448,8 +448,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
448
448
|
Right Start
|
|
449
449
|
</MazBtn>
|
|
450
450
|
</template>
|
|
451
|
-
<div class="maz
|
|
452
|
-
<p class="maz
|
|
451
|
+
<div class="maz:p-3">
|
|
452
|
+
<p class="maz:text-sm">Right start aligned</p>
|
|
453
453
|
</div>
|
|
454
454
|
</MazPopover>
|
|
455
455
|
<MazPopover position="right-end">
|
|
@@ -458,8 +458,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
458
458
|
Right End
|
|
459
459
|
</MazBtn>
|
|
460
460
|
</template>
|
|
461
|
-
<div class="maz
|
|
462
|
-
<p class="maz
|
|
461
|
+
<div class="maz:p-3">
|
|
462
|
+
<p class="maz:text-sm">Right end aligned</p>
|
|
463
463
|
</div>
|
|
464
464
|
</MazPopover>
|
|
465
465
|
|
|
@@ -469,8 +469,8 @@ The position prop is used to position the popover relative to the trigger. The c
|
|
|
469
469
|
Auto Position
|
|
470
470
|
</MazBtn>
|
|
471
471
|
</template>
|
|
472
|
-
<div class="maz
|
|
473
|
-
<p class="maz
|
|
472
|
+
<div class="maz:p-3">
|
|
473
|
+
<p class="maz:text-sm">
|
|
474
474
|
Automatically positioned based on available space
|
|
475
475
|
</p>
|
|
476
476
|
</div>
|
|
@@ -492,15 +492,15 @@ When you not specify a fallback position, the popover will fallback on the best
|
|
|
492
492
|
:::
|
|
493
493
|
|
|
494
494
|
<ComponentDemo>
|
|
495
|
-
<div class="maz
|
|
495
|
+
<div class="maz:flex maz:gap-4">
|
|
496
496
|
<MazPopover prefer-position="top-start" fallback-position="bottom-start">
|
|
497
497
|
<template #trigger>
|
|
498
498
|
<MazBtn>
|
|
499
499
|
Prefer position and fallback position
|
|
500
500
|
</MazBtn>
|
|
501
501
|
</template>
|
|
502
|
-
<div class="maz
|
|
503
|
-
<p class="maz
|
|
502
|
+
<div class="maz:p-4">
|
|
503
|
+
<p class="maz:text-sm">This popover will prefer the top position, but if it's not available, it will fallback to the bottom position.</p>
|
|
504
504
|
</div>
|
|
505
505
|
</MazPopover>
|
|
506
506
|
</div>
|
|
@@ -514,8 +514,8 @@ When you not specify a fallback position, the popover will fallback on the best
|
|
|
514
514
|
Prefer position and fallback position
|
|
515
515
|
</MazBtn>
|
|
516
516
|
</template>
|
|
517
|
-
<div class="maz
|
|
518
|
-
<p class="maz
|
|
517
|
+
<div class="maz:p-4">
|
|
518
|
+
<p class="maz:text-sm">This popover will prefer the top position, but if it's not available, it will fallback to the bottom position.</p>
|
|
519
519
|
</div>
|
|
520
520
|
</MazPopover>
|
|
521
521
|
```
|
|
@@ -527,77 +527,77 @@ When you not specify a fallback position, the popover will fallback on the best
|
|
|
527
527
|
## Colors
|
|
528
528
|
|
|
529
529
|
<ComponentDemo>
|
|
530
|
-
<div class="maz
|
|
531
|
-
<MazPopover color="
|
|
530
|
+
<div class="maz:flex maz:gap-4 maz:flex-wrap">
|
|
531
|
+
<MazPopover color="surface" trigger="hover">
|
|
532
532
|
<template #trigger>
|
|
533
533
|
<MazBtn color="contrast">Background</MazBtn>
|
|
534
534
|
</template>
|
|
535
|
-
<div class="maz
|
|
536
|
-
<p class="maz
|
|
535
|
+
<div class="maz:p-4">
|
|
536
|
+
<p class="maz:text-sm">This popover has a default color!</p>
|
|
537
537
|
</div>
|
|
538
538
|
</MazPopover>
|
|
539
539
|
<MazPopover color="primary" trigger="hover">
|
|
540
540
|
<template #trigger>
|
|
541
541
|
<MazBtn color="primary">Primary</MazBtn>
|
|
542
542
|
</template>
|
|
543
|
-
<div class="maz
|
|
544
|
-
<p class="maz
|
|
543
|
+
<div class="maz:p-4">
|
|
544
|
+
<p class="maz:text-sm">This popover has a primary color!</p>
|
|
545
545
|
</div>
|
|
546
546
|
</MazPopover>
|
|
547
547
|
<MazPopover color="secondary" trigger="hover">
|
|
548
548
|
<template #trigger>
|
|
549
549
|
<MazBtn color="secondary">Secondary</MazBtn>
|
|
550
550
|
</template>
|
|
551
|
-
<div class="maz
|
|
552
|
-
<p class="maz
|
|
551
|
+
<div class="maz:p-4">
|
|
552
|
+
<p class="maz:text-sm">This popover has a secondary color!</p>
|
|
553
553
|
</div>
|
|
554
554
|
</MazPopover>
|
|
555
555
|
<MazPopover color="accent" trigger="hover">
|
|
556
556
|
<template #trigger>
|
|
557
557
|
<MazBtn color="accent">Accent</MazBtn>
|
|
558
558
|
</template>
|
|
559
|
-
<div class="maz
|
|
560
|
-
<p class="maz
|
|
559
|
+
<div class="maz:p-4">
|
|
560
|
+
<p class="maz:text-sm">This popover has a accent color!</p>
|
|
561
561
|
</div>
|
|
562
562
|
</MazPopover>
|
|
563
563
|
<MazPopover color="contrast" trigger="hover">
|
|
564
564
|
<template #trigger>
|
|
565
565
|
<MazBtn color="contrast">Contrast</MazBtn>
|
|
566
566
|
</template>
|
|
567
|
-
<div class="maz
|
|
568
|
-
<p class="maz
|
|
567
|
+
<div class="maz:p-4">
|
|
568
|
+
<p class="maz:text-sm">This popover has a contrast color!</p>
|
|
569
569
|
</div>
|
|
570
570
|
</MazPopover>
|
|
571
571
|
<MazPopover color="success" trigger="hover">
|
|
572
572
|
<template #trigger>
|
|
573
573
|
<MazBtn color="success">Success</MazBtn>
|
|
574
574
|
</template>
|
|
575
|
-
<div class="maz
|
|
576
|
-
<p class="maz
|
|
575
|
+
<div class="maz:p-4">
|
|
576
|
+
<p class="maz:text-sm">This popover has a success color!</p>
|
|
577
577
|
</div>
|
|
578
578
|
</MazPopover>
|
|
579
579
|
<MazPopover color="info" trigger="hover">
|
|
580
580
|
<template #trigger>
|
|
581
581
|
<MazBtn color="info">Info</MazBtn>
|
|
582
582
|
</template>
|
|
583
|
-
<div class="maz
|
|
584
|
-
<p class="maz
|
|
583
|
+
<div class="maz:p-4">
|
|
584
|
+
<p class="maz:text-sm">This popover has a info color!</p>
|
|
585
585
|
</div>
|
|
586
586
|
</MazPopover>
|
|
587
587
|
<MazPopover color="destructive" trigger="hover">
|
|
588
588
|
<template #trigger>
|
|
589
589
|
<MazBtn color="destructive">Destructive</MazBtn>
|
|
590
590
|
</template>
|
|
591
|
-
<div class="maz
|
|
592
|
-
<p class="maz
|
|
591
|
+
<div class="maz:p-4">
|
|
592
|
+
<p class="maz:text-sm">This popover has a destructive color!</p>
|
|
593
593
|
</div>
|
|
594
594
|
</MazPopover>
|
|
595
595
|
<MazPopover color="warning" trigger="hover">
|
|
596
596
|
<template #trigger>
|
|
597
597
|
<MazBtn color="warning">Warning</MazBtn>
|
|
598
598
|
</template>
|
|
599
|
-
<div class="maz
|
|
600
|
-
<p class="maz
|
|
599
|
+
<div class="maz:p-4">
|
|
600
|
+
<p class="maz:text-sm">This popover has a warning color!</p>
|
|
601
601
|
</div>
|
|
602
602
|
</MazPopover>
|
|
603
603
|
</div>
|
|
@@ -606,76 +606,76 @@ When you not specify a fallback position, the popover will fallback on the best
|
|
|
606
606
|
|
|
607
607
|
```vue
|
|
608
608
|
<template>
|
|
609
|
-
<MazPopover color="
|
|
609
|
+
<MazPopover color="surface" trigger="hover">
|
|
610
610
|
<template #trigger>
|
|
611
611
|
<MazBtn color="contrast">Background</MazBtn>
|
|
612
612
|
</template>
|
|
613
|
-
<div class="maz
|
|
614
|
-
<p class="maz
|
|
613
|
+
<div class="maz:p-4">
|
|
614
|
+
<p class="maz:text-sm">This popover has a default color!</p>
|
|
615
615
|
</div>
|
|
616
616
|
</MazPopover>
|
|
617
617
|
<MazPopover color="primary" trigger="hover">
|
|
618
618
|
<template #trigger>
|
|
619
619
|
<MazBtn color="primary">Primary</MazBtn>
|
|
620
620
|
</template>
|
|
621
|
-
<div class="maz
|
|
622
|
-
<p class="maz
|
|
621
|
+
<div class="maz:p-4">
|
|
622
|
+
<p class="maz:text-sm">This popover has a primary color!</p>
|
|
623
623
|
</div>
|
|
624
624
|
</MazPopover>
|
|
625
625
|
<MazPopover color="secondary" trigger="hover">
|
|
626
626
|
<template #trigger>
|
|
627
627
|
<MazBtn color="secondary">Secondary</MazBtn>
|
|
628
628
|
</template>
|
|
629
|
-
<div class="maz
|
|
630
|
-
<p class="maz
|
|
629
|
+
<div class="maz:p-4">
|
|
630
|
+
<p class="maz:text-sm">This popover has a secondary color!</p>
|
|
631
631
|
</div>
|
|
632
632
|
</MazPopover>
|
|
633
633
|
<MazPopover color="accent" trigger="hover">
|
|
634
634
|
<template #trigger>
|
|
635
635
|
<MazBtn color="accent">Accent</MazBtn>
|
|
636
636
|
</template>
|
|
637
|
-
<div class="maz
|
|
638
|
-
<p class="maz
|
|
637
|
+
<div class="maz:p-4">
|
|
638
|
+
<p class="maz:text-sm">This popover has a accent color!</p>
|
|
639
639
|
</div>
|
|
640
640
|
</MazPopover>
|
|
641
641
|
<MazPopover color="contrast" trigger="hover">
|
|
642
642
|
<template #trigger>
|
|
643
643
|
<MazBtn color="contrast">Contrast</MazBtn>
|
|
644
644
|
</template>
|
|
645
|
-
<div class="maz
|
|
646
|
-
<p class="maz
|
|
645
|
+
<div class="maz:p-4">
|
|
646
|
+
<p class="maz:text-sm">This popover has a contrast color!</p>
|
|
647
647
|
</div>
|
|
648
648
|
</MazPopover>
|
|
649
649
|
<MazPopover color="success" trigger="hover">
|
|
650
650
|
<template #trigger>
|
|
651
651
|
<MazBtn color="success">Success</MazBtn>
|
|
652
652
|
</template>
|
|
653
|
-
<div class="maz
|
|
654
|
-
<p class="maz
|
|
653
|
+
<div class="maz:p-4">
|
|
654
|
+
<p class="maz:text-sm">This popover has a success color!</p>
|
|
655
655
|
</div>
|
|
656
656
|
</MazPopover>
|
|
657
657
|
<MazPopover color="info" trigger="hover">
|
|
658
658
|
<template #trigger>
|
|
659
659
|
<MazBtn color="info">Info</MazBtn>
|
|
660
660
|
</template>
|
|
661
|
-
<div class="maz
|
|
662
|
-
<p class="maz
|
|
661
|
+
<div class="maz:p-4">
|
|
662
|
+
<p class="maz:text-sm">This popover has a info color!</p>
|
|
663
663
|
</div>
|
|
664
664
|
</MazPopover>
|
|
665
665
|
<MazPopover color="destructive" trigger="hover">
|
|
666
666
|
<template #trigger>
|
|
667
667
|
<MazBtn color="destructive">Destructive</MazBtn>
|
|
668
668
|
</template>
|
|
669
|
-
<div class="maz
|
|
670
|
-
<p class="maz
|
|
669
|
+
<div class="maz:p-4">
|
|
670
|
+
<p class="maz:text-sm">This popover has a destructive color!</p>
|
|
671
671
|
</div>
|
|
672
672
|
</MazPopover>
|
|
673
673
|
<MazPopover color="warning" trigger="hover">
|
|
674
674
|
<template #trigger>
|
|
675
675
|
<MazBtn color="warning">Warning</MazBtn>
|
|
676
676
|
</template>
|
|
677
|
-
<div class="maz
|
|
678
|
-
<p class="maz
|
|
677
|
+
<div class="maz:p-4">
|
|
678
|
+
<p class="maz:text-sm">This popover has a warning color!</p>
|
|
679
679
|
</div>
|
|
680
680
|
</MazPopover>
|
|
681
681
|
</template>
|
|
@@ -690,30 +690,30 @@ When you not specify a fallback position, the popover will fallback on the best
|
|
|
690
690
|
A directive is available to more easily add a tooltip to an element, see [vTooltip](./../directives/tooltip.md) for more information.
|
|
691
691
|
|
|
692
692
|
<ComponentDemo>
|
|
693
|
-
<div class="maz
|
|
693
|
+
<div class="maz:flex maz:gap-4 maz:flex-wrap maz:items-center">
|
|
694
694
|
<MazPopover role="tooltip" trigger="hover" position="top">
|
|
695
695
|
<template #trigger>
|
|
696
696
|
<MazBtn color="info">
|
|
697
697
|
Hover for tooltip
|
|
698
698
|
</MazBtn>
|
|
699
699
|
</template>
|
|
700
|
-
<div class="maz
|
|
701
|
-
<p class="maz
|
|
700
|
+
<div class="maz:p-2">
|
|
701
|
+
<p class="maz:text-xs">This is a tooltip with proper ARIA attributes</p>
|
|
702
702
|
</div>
|
|
703
703
|
</MazPopover>
|
|
704
704
|
<MazPopover
|
|
705
705
|
role="tooltip"
|
|
706
706
|
trigger="hover"
|
|
707
707
|
position="bottom"
|
|
708
|
-
panel-class="
|
|
708
|
+
panel-class="maz:bg-gray-800! maz:text-white! maz:border-gray-700!"
|
|
709
709
|
>
|
|
710
710
|
<template #trigger>
|
|
711
|
-
<span class="maz
|
|
711
|
+
<span class="maz:underline maz:cursor-help">
|
|
712
712
|
Hover this text
|
|
713
713
|
</span>
|
|
714
714
|
</template>
|
|
715
|
-
<div class="maz
|
|
716
|
-
<p class="maz
|
|
715
|
+
<div class="maz:p-2">
|
|
716
|
+
<p class="maz:text-xs">Custom styled tooltip</p>
|
|
717
717
|
</div>
|
|
718
718
|
</MazPopover>
|
|
719
719
|
<MazPopover
|
|
@@ -723,10 +723,10 @@ A directive is available to more easily add a tooltip to an element, see [vToolt
|
|
|
723
723
|
position="right"
|
|
724
724
|
>
|
|
725
725
|
<template #trigger>
|
|
726
|
-
<MazInformationCircle class="maz
|
|
726
|
+
<MazInformationCircle class="maz:cursor-help maz:text-info maz:text-xl" />
|
|
727
727
|
</template>
|
|
728
|
-
<div class="maz
|
|
729
|
-
<p class="maz
|
|
728
|
+
<div class="maz:p-2 maz:max-w-48">
|
|
729
|
+
<p class="maz:text-xs">This tooltip has a 1000ms delay before showing</p>
|
|
730
730
|
</div>
|
|
731
731
|
</MazPopover>
|
|
732
732
|
</div>
|
|
@@ -741,23 +741,23 @@ A directive is available to more easily add a tooltip to an element, see [vToolt
|
|
|
741
741
|
Hover for tooltip
|
|
742
742
|
</MazBtn>
|
|
743
743
|
</template>
|
|
744
|
-
<div class="maz
|
|
745
|
-
<p class="maz
|
|
744
|
+
<div class="maz:p-2">
|
|
745
|
+
<p class="maz:text-xs">This is a tooltip with proper ARIA attributes</p>
|
|
746
746
|
</div>
|
|
747
747
|
</MazPopover>
|
|
748
748
|
<MazPopover
|
|
749
749
|
role="tooltip"
|
|
750
750
|
trigger="hover"
|
|
751
751
|
position="bottom"
|
|
752
|
-
panel-class="
|
|
752
|
+
panel-class="maz:bg-gray-800! maz:text-white! maz:border-gray-700!"
|
|
753
753
|
>
|
|
754
754
|
<template #trigger>
|
|
755
|
-
<span class="maz
|
|
755
|
+
<span class="maz:underline maz:cursor-help">
|
|
756
756
|
Hover this text
|
|
757
757
|
</span>
|
|
758
758
|
</template>
|
|
759
|
-
<div class="maz
|
|
760
|
-
<p class="maz
|
|
759
|
+
<div class="maz:p-2">
|
|
760
|
+
<p class="maz:text-xs">Custom styled tooltip</p>
|
|
761
761
|
</div>
|
|
762
762
|
</MazPopover>
|
|
763
763
|
<MazPopover
|
|
@@ -767,10 +767,10 @@ A directive is available to more easily add a tooltip to an element, see [vToolt
|
|
|
767
767
|
position="right"
|
|
768
768
|
>
|
|
769
769
|
<template #trigger>
|
|
770
|
-
<MazInformationCircle class="maz
|
|
770
|
+
<MazInformationCircle class="maz:cursor-help maz:text-info maz:text-xl" />
|
|
771
771
|
</template>
|
|
772
|
-
<div class="maz
|
|
773
|
-
<p class="maz
|
|
772
|
+
<div class="maz:p-2 maz:max-w-48">
|
|
773
|
+
<p class="maz:text-xs">This tooltip has a 1000ms delay before showing</p>
|
|
774
774
|
</div>
|
|
775
775
|
</MazPopover>
|
|
776
776
|
</template>
|
|
@@ -782,16 +782,16 @@ A directive is available to more easily add a tooltip to an element, see [vToolt
|
|
|
782
782
|
## Controlled popover
|
|
783
783
|
|
|
784
784
|
<ComponentDemo>
|
|
785
|
-
<div class="maz
|
|
785
|
+
<div class="maz:flex maz:gap-4 maz:flex-wrap maz:items-center">
|
|
786
786
|
<MazPopover v-model="isOpen" trigger="manual">
|
|
787
787
|
<template #trigger="{ toggle }">
|
|
788
788
|
<MazBtn @click="toggle">
|
|
789
789
|
Controlled Trigger
|
|
790
790
|
</MazBtn>
|
|
791
791
|
</template>
|
|
792
|
-
<div class="maz
|
|
793
|
-
<h4 class="maz
|
|
794
|
-
<p class="maz
|
|
792
|
+
<div class="maz:p-4">
|
|
793
|
+
<h4 class="maz:font-semibold maz:mb-2">Controlled Popover</h4>
|
|
794
|
+
<p class="maz:text-sm maz:mb-3">This popover is controlled externally.</p>
|
|
795
795
|
<MazBtn @click="isOpen = false" size="sm" color="destructive">
|
|
796
796
|
Close
|
|
797
797
|
</MazBtn>
|
|
@@ -800,7 +800,7 @@ A directive is available to more easily add a tooltip to an element, see [vToolt
|
|
|
800
800
|
<MazBtn @click="isOpen = !isOpen" color="secondary">
|
|
801
801
|
{{ isOpen ? 'Close' : 'Open' }} Popover
|
|
802
802
|
</MazBtn>
|
|
803
|
-
<span class="maz
|
|
803
|
+
<span class="maz:text-sm maz:text-muted">
|
|
804
804
|
Popover is {{ isOpen ? 'open' : 'closed' }}
|
|
805
805
|
</span>
|
|
806
806
|
</div>
|
|
@@ -821,9 +821,9 @@ const isOpen = ref(false)
|
|
|
821
821
|
Controlled Trigger
|
|
822
822
|
</MazBtn>
|
|
823
823
|
</template>
|
|
824
|
-
<div class="maz
|
|
825
|
-
<h4 class="maz
|
|
826
|
-
<p class="maz
|
|
824
|
+
<div class="maz:p-4">
|
|
825
|
+
<h4 class="maz:font-semibold maz:mb-2">Controlled Popover</h4>
|
|
826
|
+
<p class="maz:text-sm maz:mb-3">This popover is controlled externally.</p>
|
|
827
827
|
<MazBtn @click="isOpen = false" size="sm" color="destructive">
|
|
828
828
|
Close
|
|
829
829
|
</MazBtn>
|
|
@@ -832,7 +832,7 @@ const isOpen = ref(false)
|
|
|
832
832
|
<MazBtn @click="isOpen = !isOpen" color="secondary">
|
|
833
833
|
{{ isOpen ? 'Close' : 'Open' }} Popover
|
|
834
834
|
</MazBtn>
|
|
835
|
-
<span class="maz
|
|
835
|
+
<span class="maz:text-sm maz:text-muted">
|
|
836
836
|
Popover is {{ isOpen ? 'open' : 'closed' }}
|
|
837
837
|
</span>
|
|
838
838
|
|
|
@@ -848,23 +848,23 @@ const isOpen = ref(false)
|
|
|
848
848
|
## Menu example
|
|
849
849
|
|
|
850
850
|
<ComponentDemo>
|
|
851
|
-
<div class="maz
|
|
851
|
+
<div class="maz:flex maz:gap-4">
|
|
852
852
|
<MazPopover position="bottom-start">
|
|
853
853
|
<template #trigger>
|
|
854
854
|
<MazBtn>
|
|
855
|
-
<MazIcon
|
|
855
|
+
<MazIcon icon="/cog-6-tooth.svg" class="maz:me-2" />
|
|
856
856
|
Settings
|
|
857
|
-
<MazIcon
|
|
857
|
+
<MazIcon icon="/chevron-down.svg" class="maz:ms-2" />
|
|
858
858
|
</MazBtn>
|
|
859
859
|
</template>
|
|
860
|
-
<div class="maz
|
|
860
|
+
<div class="maz:py-1 maz:min-w-48">
|
|
861
861
|
<button
|
|
862
862
|
v-for="item in menuItems"
|
|
863
863
|
:key="item.label"
|
|
864
|
-
class="maz
|
|
864
|
+
class="maz:w-full maz:px-4 maz:py-2 maz:text-start maz:text-sm maz:hover:bg-surface-600 maz:dark:hover:bg-surface-400 maz:flex maz:items-center maz:gap-2"
|
|
865
865
|
@click="handleMenuClick(item.action)"
|
|
866
866
|
>
|
|
867
|
-
<MazIcon :
|
|
867
|
+
<MazIcon :icon="item.icon" class="maz:w-4 maz:h-4" />
|
|
868
868
|
{{ item.label }}
|
|
869
869
|
</button>
|
|
870
870
|
</div>
|
|
@@ -873,15 +873,15 @@ const isOpen = ref(false)
|
|
|
873
873
|
<template #trigger>
|
|
874
874
|
<MazBtn color="transparent" fab :icon="MazEllipsisVertical" />
|
|
875
875
|
</template>
|
|
876
|
-
<div class="maz
|
|
877
|
-
<button class="maz
|
|
876
|
+
<div class="maz:py-1 maz:min-w-32">
|
|
877
|
+
<button class="maz:w-full maz:px-3 maz:py-2 maz:text-start maz:text-sm maz:hover:bg-surface-600 maz:dark:hover:bg-surface-400">
|
|
878
878
|
Edit
|
|
879
879
|
</button>
|
|
880
|
-
<button class="maz
|
|
880
|
+
<button class="maz:w-full maz:px-3 maz:py-2 maz:text-start maz:text-sm maz:hover:bg-surface-600 maz:dark:hover:bg-surface-400">
|
|
881
881
|
Share
|
|
882
882
|
</button>
|
|
883
|
-
<hr class="maz
|
|
884
|
-
<button class="maz
|
|
883
|
+
<hr class="maz:my-1 maz:border-divider">
|
|
884
|
+
<button class="maz:w-full maz:px-3 maz:py-2 maz:text-start maz:text-sm maz:hover:bg-surface-600 maz:dark:hover:bg-surface-400 maz:text-destructive">
|
|
885
885
|
Delete
|
|
886
886
|
</button>
|
|
887
887
|
</div>
|
|
@@ -907,19 +907,19 @@ function handleMenuClick(action) {
|
|
|
907
907
|
<MazPopover position="bottom-start">
|
|
908
908
|
<template #trigger>
|
|
909
909
|
<MazBtn>
|
|
910
|
-
<MazIcon
|
|
910
|
+
<MazIcon icon="/cog-6-tooth.svg" class="maz:me-2" />
|
|
911
911
|
Settings
|
|
912
|
-
<MazIcon
|
|
912
|
+
<MazIcon icon="/chevron-down.svg" class="maz:ms-2" />
|
|
913
913
|
</MazBtn>
|
|
914
914
|
</template>
|
|
915
|
-
<div class="maz
|
|
915
|
+
<div class="maz:py-1 maz:min-w-48">
|
|
916
916
|
<button
|
|
917
917
|
v-for="item in menuItems"
|
|
918
918
|
:key="item.label"
|
|
919
|
-
class="maz
|
|
919
|
+
class="maz:w-full maz:px-4 maz:py-2 maz:text-start maz:text-sm maz:hover:bg-surface-600 maz:dark:hover:bg-surface-400 maz:flex maz:items-center maz:gap-2"
|
|
920
920
|
@click="handleMenuClick(item.action)"
|
|
921
921
|
>
|
|
922
|
-
<MazIcon :
|
|
922
|
+
<MazIcon :icon="item.icon" class="maz:w-4 maz:h-4" />
|
|
923
923
|
{{ item.label }}
|
|
924
924
|
</button>
|
|
925
925
|
</div>
|
|
@@ -928,18 +928,18 @@ function handleMenuClick(action) {
|
|
|
928
928
|
<MazPopover position="bottom-end">
|
|
929
929
|
<template #trigger>
|
|
930
930
|
<MazBtn color="transparent" size="sm">
|
|
931
|
-
<MazIcon
|
|
931
|
+
<MazIcon icon="/ellipsis-vertical.svg" />
|
|
932
932
|
</MazBtn>
|
|
933
933
|
</template>
|
|
934
|
-
<div class="maz
|
|
935
|
-
<button class="maz
|
|
934
|
+
<div class="maz:py-1 maz:min-w-32">
|
|
935
|
+
<button class="maz:w-full maz:px-3 maz:py-2 maz:text-start maz:text-sm maz:hover:bg-surface-600 maz:dark:hover:bg-surface-400">
|
|
936
936
|
Edit
|
|
937
937
|
</button>
|
|
938
|
-
<button class="maz
|
|
938
|
+
<button class="maz:w-full maz:px-3 maz:py-2 maz:text-start maz:text-sm maz:hover:bg-surface-600 maz:dark:hover:bg-surface-400">
|
|
939
939
|
Share
|
|
940
940
|
</button>
|
|
941
|
-
<hr class="maz
|
|
942
|
-
<button class="maz
|
|
941
|
+
<hr class="maz:my-1 maz:border-divider">
|
|
942
|
+
<button class="maz:w-full maz:px-3 maz:py-2 maz:text-start maz:text-sm maz:hover:bg-surface-600 maz:dark:hover:bg-surface-400 maz:text-destructive">
|
|
943
943
|
Delete
|
|
944
944
|
</button>
|
|
945
945
|
</div>
|
|
@@ -961,15 +961,15 @@ function handleMenuClick(action) {
|
|
|
961
961
|
Keep open on hover
|
|
962
962
|
</MazBtn>
|
|
963
963
|
</template>
|
|
964
|
-
<div class="maz
|
|
965
|
-
<button class="maz
|
|
964
|
+
<div class="maz:py-1 maz:min-w-32">
|
|
965
|
+
<button class="maz:w-full maz:px-3 maz:py-2 maz:text-start maz:text-sm maz:hover:bg-surface-600 maz:dark:hover:bg-surface-400">
|
|
966
966
|
Edit
|
|
967
967
|
</button>
|
|
968
|
-
<button class="maz
|
|
968
|
+
<button class="maz:w-full maz:px-3 maz:py-2 maz:text-start maz:text-sm maz:hover:bg-surface-600 maz:dark:hover:bg-surface-400">
|
|
969
969
|
Share
|
|
970
970
|
</button>
|
|
971
|
-
<hr class="maz
|
|
972
|
-
<button class="maz
|
|
971
|
+
<hr class="maz:my-1 maz:border-divider">
|
|
972
|
+
<button class="maz:w-full maz:px-3 maz:py-2 maz:text-start maz:text-sm maz:hover:bg-surface-600 maz:dark:hover:bg-surface-400 maz:text-destructive">
|
|
973
973
|
Delete
|
|
974
974
|
</button>
|
|
975
975
|
</div>
|
|
@@ -985,15 +985,15 @@ function handleMenuClick(action) {
|
|
|
985
985
|
Keep open on hover
|
|
986
986
|
</MazBtn>
|
|
987
987
|
</template>
|
|
988
|
-
<div class="maz
|
|
989
|
-
<button class="maz
|
|
988
|
+
<div class="maz:py-1 maz:min-w-32">
|
|
989
|
+
<button class="maz:w-full maz:px-3 maz:py-2 maz:text-start maz:text-sm maz:hover:bg-surface-600 maz:dark:hover:bg-surface-400">
|
|
990
990
|
Edit
|
|
991
991
|
</button>
|
|
992
|
-
<button class="maz
|
|
992
|
+
<button class="maz:w-full maz:px-3 maz:py-2 maz:text-start maz:text-sm maz:hover:bg-surface-600 maz:dark:hover:bg-surface-400">
|
|
993
993
|
Share
|
|
994
994
|
</button>
|
|
995
|
-
<hr class="maz
|
|
996
|
-
<button class="maz
|
|
995
|
+
<hr class="maz:my-1 maz:border-divider">
|
|
996
|
+
<button class="maz:w-full maz:px-3 maz:py-2 maz:text-start maz:text-sm maz:hover:bg-surface-600 maz:dark:hover:bg-surface-400 maz:text-destructive">
|
|
997
997
|
Delete
|
|
998
998
|
</button>
|
|
999
999
|
</div>
|
|
@@ -1007,17 +1007,17 @@ function handleMenuClick(action) {
|
|
|
1007
1007
|
## Form example
|
|
1008
1008
|
|
|
1009
1009
|
<ComponentDemo>
|
|
1010
|
-
<div class="maz
|
|
1010
|
+
<div class="maz:max-w-md">
|
|
1011
1011
|
<MazPopover position="bottom-start" :close-on-click-outside="false" :close-on-escape="false">
|
|
1012
1012
|
<template #trigger>
|
|
1013
1013
|
<MazBtn block>
|
|
1014
|
-
<MazIcon
|
|
1014
|
+
<MazIcon icon="/plus.svg" class="maz:me-2" />
|
|
1015
1015
|
Add Item
|
|
1016
1016
|
</MazBtn>
|
|
1017
1017
|
</template>
|
|
1018
|
-
<div class="maz
|
|
1019
|
-
<h3 class="maz
|
|
1020
|
-
<form @submit.prevent="handleSubmit" class="maz
|
|
1018
|
+
<div class="maz:p-4 maz:w-80">
|
|
1019
|
+
<h3 class="maz:text-lg maz:font-semibold maz:mb-4">Add New Item</h3>
|
|
1020
|
+
<form @submit.prevent="handleSubmit" class="maz:space-y-4">
|
|
1021
1021
|
<MazInput
|
|
1022
1022
|
v-model="formData.name"
|
|
1023
1023
|
label="Name"
|
|
@@ -1028,7 +1028,7 @@ function handleMenuClick(action) {
|
|
|
1028
1028
|
label="Description"
|
|
1029
1029
|
rows="3"
|
|
1030
1030
|
/>
|
|
1031
|
-
<div class="maz
|
|
1031
|
+
<div class="maz:flex maz:gap-2">
|
|
1032
1032
|
<MazBtn type="submit" color="success" size="sm">
|
|
1033
1033
|
Save
|
|
1034
1034
|
</MazBtn>
|
|
@@ -1067,15 +1067,15 @@ function resetForm() {
|
|
|
1067
1067
|
<MazPopover position="bottom-start" :close-on-click-outside="false">
|
|
1068
1068
|
<template #trigger>
|
|
1069
1069
|
<MazBtn block>
|
|
1070
|
-
<MazIcon
|
|
1070
|
+
<MazIcon icon="/plus.svg" class="maz:me-2" />
|
|
1071
1071
|
Add Item
|
|
1072
1072
|
</MazBtn>
|
|
1073
1073
|
</template>
|
|
1074
|
-
<div class="maz
|
|
1075
|
-
<h3 class="maz
|
|
1074
|
+
<div class="maz:w-80 maz:p-4">
|
|
1075
|
+
<h3 class="maz:mb-4 maz:text-lg maz:font-semibold">
|
|
1076
1076
|
Add New Item
|
|
1077
1077
|
</h3>
|
|
1078
|
-
<form class="maz
|
|
1078
|
+
<form class="maz:space-y-4" @submit.prevent="handleSubmit">
|
|
1079
1079
|
<MazInput
|
|
1080
1080
|
v-model="formData.name"
|
|
1081
1081
|
label="Name"
|
|
@@ -1088,7 +1088,7 @@ function resetForm() {
|
|
|
1088
1088
|
placeholder="Enter description"
|
|
1089
1089
|
rows="3"
|
|
1090
1090
|
/>
|
|
1091
|
-
<div class="maz
|
|
1091
|
+
<div class="maz:flex maz:gap-2">
|
|
1092
1092
|
<MazBtn type="submit" color="success" size="sm">
|
|
1093
1093
|
Save
|
|
1094
1094
|
</MazBtn>
|
|
@@ -1108,9 +1108,9 @@ function resetForm() {
|
|
|
1108
1108
|
## Configuration options
|
|
1109
1109
|
|
|
1110
1110
|
<ComponentDemo>
|
|
1111
|
-
<div class="maz
|
|
1111
|
+
<div class="maz:grid maz:grid-cols-1 maz:md:grid-cols-2 maz:gap-4">
|
|
1112
1112
|
<div>
|
|
1113
|
-
<h4 class="maz
|
|
1113
|
+
<h4 class="maz:font-semibold maz:mb-3">Persistent (no auto-close)</h4>
|
|
1114
1114
|
<MazPopover persistent>
|
|
1115
1115
|
<template #trigger>
|
|
1116
1116
|
<MazBtn color="warning">
|
|
@@ -1118,8 +1118,8 @@ function resetForm() {
|
|
|
1118
1118
|
</MazBtn>
|
|
1119
1119
|
</template>
|
|
1120
1120
|
<template #default="{ close }">
|
|
1121
|
-
<div class="maz
|
|
1122
|
-
<p class="maz
|
|
1121
|
+
<div class="maz:p-4">
|
|
1122
|
+
<p class="maz:text-sm maz:mb-3">This popover won't close on click outside or ESC.</p>
|
|
1123
1123
|
<MazBtn @click="close" size="sm" color="destructive">
|
|
1124
1124
|
Close manually
|
|
1125
1125
|
</MazBtn>
|
|
@@ -1128,22 +1128,22 @@ function resetForm() {
|
|
|
1128
1128
|
</MazPopover>
|
|
1129
1129
|
</div>
|
|
1130
1130
|
<div>
|
|
1131
|
-
<h4 class="maz
|
|
1131
|
+
<h4 class="maz:font-semibold maz:mb-3">Custom offset</h4>
|
|
1132
1132
|
<MazPopover :offset="20" position="top">
|
|
1133
1133
|
<template #trigger>
|
|
1134
1134
|
<MazBtn color="accent">
|
|
1135
1135
|
Large Offset
|
|
1136
1136
|
</MazBtn>
|
|
1137
1137
|
</template>
|
|
1138
|
-
<div class="maz
|
|
1139
|
-
<p class="maz
|
|
1138
|
+
<div class="maz:p-3">
|
|
1139
|
+
<p class="maz:text-sm">20px offset from trigger</p>
|
|
1140
1140
|
</div>
|
|
1141
1141
|
</MazPopover>
|
|
1142
1142
|
</div>
|
|
1143
1143
|
<div>
|
|
1144
|
-
<h4 class="maz
|
|
1144
|
+
<h4 class="maz:font-semibold maz:mb-3">Custom styling</h4>
|
|
1145
1145
|
<MazPopover
|
|
1146
|
-
panel-class="maz
|
|
1146
|
+
panel-class="maz:bg-linear-to-r maz:from-purple-500 maz:to-pink-500 maz:text-white maz:border-none"
|
|
1147
1147
|
position="bottom"
|
|
1148
1148
|
>
|
|
1149
1149
|
<template #trigger>
|
|
@@ -1151,21 +1151,21 @@ function resetForm() {
|
|
|
1151
1151
|
Styled Popover
|
|
1152
1152
|
</MazBtn>
|
|
1153
1153
|
</template>
|
|
1154
|
-
<div class="maz
|
|
1155
|
-
<p class="maz
|
|
1154
|
+
<div class="maz:p-4">
|
|
1155
|
+
<p class="maz:text-sm maz:font-semibold">Beautiful gradient background!</p>
|
|
1156
1156
|
</div>
|
|
1157
1157
|
</MazPopover>
|
|
1158
1158
|
</div>
|
|
1159
1159
|
<div>
|
|
1160
|
-
<h4 class="maz
|
|
1160
|
+
<h4 class="maz:font-semibold maz:mb-3">Disabled state</h4>
|
|
1161
1161
|
<MazPopover disabled>
|
|
1162
1162
|
<template #trigger>
|
|
1163
1163
|
<MazBtn disabled>
|
|
1164
1164
|
Disabled Popover
|
|
1165
1165
|
</MazBtn>
|
|
1166
1166
|
</template>
|
|
1167
|
-
<div class="maz
|
|
1168
|
-
<p class="maz
|
|
1167
|
+
<div class="maz:p-3">
|
|
1168
|
+
<p class="maz:text-sm">This won't show</p>
|
|
1169
1169
|
</div>
|
|
1170
1170
|
</MazPopover>
|
|
1171
1171
|
</div>
|
|
@@ -1182,8 +1182,8 @@ function resetForm() {
|
|
|
1182
1182
|
Persistent Popover
|
|
1183
1183
|
</MazBtn>
|
|
1184
1184
|
</template>
|
|
1185
|
-
<div class="maz
|
|
1186
|
-
<p class="maz
|
|
1185
|
+
<div class="maz:p-4">
|
|
1186
|
+
<p class="maz:mb-3 maz:text-sm">
|
|
1187
1187
|
This popover won't close on click outside or ESC.
|
|
1188
1188
|
</p>
|
|
1189
1189
|
<MazBtn size="sm" color="destructive" @click="close">
|
|
@@ -1199,8 +1199,8 @@ function resetForm() {
|
|
|
1199
1199
|
Large Offset
|
|
1200
1200
|
</MazBtn>
|
|
1201
1201
|
</template>
|
|
1202
|
-
<div class="maz
|
|
1203
|
-
<p class="maz
|
|
1202
|
+
<div class="maz:p-3">
|
|
1203
|
+
<p class="maz:text-sm">
|
|
1204
1204
|
20px offset from trigger
|
|
1205
1205
|
</p>
|
|
1206
1206
|
</div>
|
|
@@ -1208,7 +1208,7 @@ function resetForm() {
|
|
|
1208
1208
|
|
|
1209
1209
|
<!-- Custom styling -->
|
|
1210
1210
|
<MazPopover
|
|
1211
|
-
panel-class="maz
|
|
1211
|
+
panel-class="maz:bg-linear-to-r maz:from-purple-500 maz:to-pink-500 maz:text-white maz:border-none"
|
|
1212
1212
|
position="bottom"
|
|
1213
1213
|
>
|
|
1214
1214
|
<template #trigger>
|
|
@@ -1216,8 +1216,8 @@ function resetForm() {
|
|
|
1216
1216
|
Styled Popover
|
|
1217
1217
|
</MazBtn>
|
|
1218
1218
|
</template>
|
|
1219
|
-
<div class="maz
|
|
1220
|
-
<p class="maz
|
|
1219
|
+
<div class="maz:p-4">
|
|
1220
|
+
<p class="maz:text-sm maz:font-semibold">
|
|
1221
1221
|
Beautiful gradient background!
|
|
1222
1222
|
</p>
|
|
1223
1223
|
</div>
|
|
@@ -1230,8 +1230,8 @@ function resetForm() {
|
|
|
1230
1230
|
Disabled Popover
|
|
1231
1231
|
</MazBtn>
|
|
1232
1232
|
</template>
|
|
1233
|
-
<div class="maz
|
|
1234
|
-
<p class="maz
|
|
1233
|
+
<div class="maz:p-3">
|
|
1234
|
+
<p class="maz:text-sm">
|
|
1235
1235
|
This won't show
|
|
1236
1236
|
</p>
|
|
1237
1237
|
</div>
|
|
@@ -1245,7 +1245,7 @@ function resetForm() {
|
|
|
1245
1245
|
## Events
|
|
1246
1246
|
|
|
1247
1247
|
<ComponentDemo>
|
|
1248
|
-
<div class="maz
|
|
1248
|
+
<div class="maz:flex maz:flex-col maz:gap-4">
|
|
1249
1249
|
<MazPopover
|
|
1250
1250
|
@open="onOpen"
|
|
1251
1251
|
@close="onClose"
|
|
@@ -1256,18 +1256,18 @@ function resetForm() {
|
|
|
1256
1256
|
Event Example
|
|
1257
1257
|
</MazBtn>
|
|
1258
1258
|
</template>
|
|
1259
|
-
<div class="maz
|
|
1260
|
-
<p class="maz
|
|
1259
|
+
<div class="maz:p-4">
|
|
1260
|
+
<p class="maz:text-sm">Check the console for events!</p>
|
|
1261
1261
|
</div>
|
|
1262
1262
|
</MazPopover>
|
|
1263
|
-
<div class="maz
|
|
1264
|
-
<h4 class="maz
|
|
1265
|
-
<div v-if="events.length === 0" class="maz
|
|
1263
|
+
<div class="maz:p-4 maz:border maz:dark:bg-surface-400 maz:rounded-md maz:text-sm">
|
|
1264
|
+
<h4 class="maz:font-semibold maz:mb-2">Event Log:</h4>
|
|
1265
|
+
<div v-if="events.length === 0" class="maz:text-muted">
|
|
1266
1266
|
No events yet. Try opening the popover above.
|
|
1267
1267
|
</div>
|
|
1268
|
-
<div v-for="(event, index) in events" :key="index" class="maz
|
|
1269
|
-
<span class="maz
|
|
1270
|
-
<span class="maz
|
|
1268
|
+
<div v-for="(event, index) in events" :key="index" class="maz:mb-1">
|
|
1269
|
+
<span class="maz:font-mono maz:text-primary">{{ event.type }}</span>
|
|
1270
|
+
<span class="maz:text-muted maz:ms-2">{{ event.time }}</span>
|
|
1271
1271
|
</div>
|
|
1272
1272
|
</div>
|
|
1273
1273
|
</div>
|
|
@@ -1316,8 +1316,8 @@ function onToggle(isOpen) {
|
|
|
1316
1316
|
Event Example
|
|
1317
1317
|
</MazBtn>
|
|
1318
1318
|
</template>
|
|
1319
|
-
<div class="maz
|
|
1320
|
-
<p class="maz
|
|
1319
|
+
<div class="maz:p-4">
|
|
1320
|
+
<p class="maz:text-sm">
|
|
1321
1321
|
Check the console for events!
|
|
1322
1322
|
</p>
|
|
1323
1323
|
</div>
|
|
@@ -1355,8 +1355,9 @@ MazPopover follows WAI-ARIA guidelines:
|
|
|
1355
1355
|
|
|
1356
1356
|
<script setup>
|
|
1357
1357
|
import { ref, reactive } from 'vue'
|
|
1358
|
-
import MazPopover from 'maz-ui/
|
|
1359
|
-
import { MazInformationCircle
|
|
1358
|
+
import MazPopover from 'maz-ui/components/MazPopover'
|
|
1359
|
+
import { MazInformationCircle } from '@maz-ui/icons/raw/MazInformationCircle'
|
|
1360
|
+
import { MazEllipsisVertical } from '@maz-ui/icons/raw/MazEllipsisVertical'
|
|
1360
1361
|
|
|
1361
1362
|
const isOpen = ref(false)
|
|
1362
1363
|
const events = ref([])
|