@maz-ui/mcp 4.4.0 → 4.6.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.
- package/dist/mcp.mjs +1 -1
- package/docs/generated-docs/maz-alert.doc.md +20 -0
- package/docs/generated-docs/maz-container.doc.md +25 -0
- package/docs/generated-docs/maz-input-number.doc.md +21 -19
- package/docs/generated-docs/maz-read-more.doc.md +18 -0
- package/docs/generated-docs/maz-skeleton.doc.md +12 -0
- package/docs/src/blog/v4.md +1 -1
- package/docs/src/components/maz-accordion.md +1 -1
- package/docs/src/components/maz-alert.md +374 -0
- package/docs/src/components/maz-animated-counter.md +1 -1
- package/docs/src/components/maz-animated-element.md +1 -1
- package/docs/src/components/maz-animated-text.md +1 -1
- package/docs/src/components/maz-avatar.md +1 -1
- package/docs/src/components/maz-backdrop.md +2 -2
- package/docs/src/components/maz-badge.md +1 -1
- package/docs/src/components/maz-bottom-sheet.md +1 -1
- package/docs/src/components/maz-btn-group.md +1 -1
- package/docs/src/components/maz-btn.md +1 -1
- package/docs/src/components/maz-card-spotlight.md +1 -1
- package/docs/src/components/maz-card.md +1 -1
- package/docs/src/components/maz-carousel.md +2 -2
- package/docs/src/components/maz-checkbox.md +1 -1
- package/docs/src/components/maz-checklist.md +2 -2
- package/docs/src/components/maz-circular-progress-bar.md +1 -1
- package/docs/src/components/maz-container.md +348 -0
- package/docs/src/components/maz-date-picker.md +3 -3
- package/docs/src/components/maz-dialog-confirm.md +1 -1
- package/docs/src/components/maz-dialog.md +1 -1
- package/docs/src/components/maz-drawer.md +1 -1
- package/docs/src/components/maz-dropdown.md +2 -2
- package/docs/src/components/maz-dropzone.md +4 -4
- package/docs/src/components/maz-expand-animation.md +1 -1
- package/docs/src/components/maz-fullscreen-loader.md +1 -1
- package/docs/src/components/maz-gallery.md +1 -1
- package/docs/src/components/maz-input-code.md +1 -1
- package/docs/src/components/maz-input-number.md +2 -2
- package/docs/src/components/maz-input-phone-number.md +3 -3
- package/docs/src/components/maz-input-price.md +2 -2
- package/docs/src/components/maz-input-tags.md +2 -2
- package/docs/src/components/maz-input.md +1 -1
- package/docs/src/components/maz-lazy-img.md +1 -1
- package/docs/src/components/maz-link.md +1 -1
- package/docs/src/components/maz-loading-bar.md +1 -1
- package/docs/src/components/maz-pagination.md +2 -2
- package/docs/src/components/maz-pull-to-refresh.md +1 -1
- package/docs/src/components/maz-radio-buttons.md +1 -1
- package/docs/src/components/maz-radio.md +1 -1
- package/docs/src/components/maz-read-more.md +300 -0
- package/docs/src/components/maz-reading-progress-bar.md +1 -1
- package/docs/src/components/maz-select-country.md +1 -1
- package/docs/src/components/maz-select.md +3 -3
- package/docs/src/components/maz-skeleton.md +355 -0
- package/docs/src/components/maz-slider.md +1 -1
- package/docs/src/components/maz-stepper.md +1 -1
- package/docs/src/components/maz-switch.md +1 -1
- package/docs/src/components/maz-table.md +1 -1
- package/docs/src/components/maz-textarea.md +1 -1
- package/docs/src/composables/use-aos.md +1 -1
- package/docs/src/composables/use-form-validator.md +1226 -996
- package/docs/src/composables/use-wait.md +1 -1
- package/docs/src/guide/getting-started.md +8 -9
- package/docs/src/guide/resolvers.md +20 -0
- package/docs/src/plugins/toast.md +1 -1
- package/package.json +8 -8
|
@@ -24,7 +24,7 @@ More info about the [wait plugin](./../plugins/wait.md) in its documentation
|
|
|
24
24
|
|
|
25
25
|
```vue
|
|
26
26
|
<script lang="ts" setup>
|
|
27
|
-
import { sleep } from 'maz-ui'
|
|
27
|
+
import { sleep } from '@maz-ui/utils'
|
|
28
28
|
import { useWait } from 'maz-ui/composables'
|
|
29
29
|
import { onMounted } from 'vue'
|
|
30
30
|
|
|
@@ -11,12 +11,11 @@ head:
|
|
|
11
11
|
|
|
12
12
|
{{ $frontmatter.description }}
|
|
13
13
|
|
|
14
|
-
::: tip
|
|
14
|
+
::: tip **Why Maz-UI?**
|
|
15
15
|
|
|
16
|
-
- 🌱 **Tree-shaking
|
|
16
|
+
- 🌱 **Tree-shaking** - Import only what you need
|
|
17
17
|
- 🛠️ **TypeScript-first** - Full type safety out of the box
|
|
18
|
-
- 🚀 **Performance
|
|
19
|
-
- 🆕 **New components** - MazPopover & MazSelectCountry
|
|
18
|
+
- 🚀 **Performance** - Tree-shaking benefits and maximum optimization
|
|
20
19
|
- 🎨 **Theming system** - Customizable themes and dark mode support (4 presets available) - [@maz-ui/themes](./themes.md)
|
|
21
20
|
- 🌐 **Internationalization** - Locale management and tree-shakable imports - [@maz-ui/translations](./translations.md)
|
|
22
21
|
- 🎨 **Icon library** - Comprehensive collection of SVG icons designed for performance and flexibility (400+ icons) - [@maz-ui/icons](./icons.md)
|
|
@@ -46,7 +45,7 @@ Start by choosing your framework:
|
|
|
46
45
|
</template>
|
|
47
46
|
<template #footer>
|
|
48
47
|
<MazBtn color="contrast" href="/guide/vue">
|
|
49
|
-
|
|
48
|
+
Vue guide
|
|
50
49
|
</MazBtn>
|
|
51
50
|
</template>
|
|
52
51
|
</MazCard>
|
|
@@ -55,7 +54,7 @@ Start by choosing your framework:
|
|
|
55
54
|
class="maz-flex-1"
|
|
56
55
|
content-title="Nuxt Users Guide"
|
|
57
56
|
:gallery="{
|
|
58
|
-
images: ['https://
|
|
57
|
+
images: ['https://media2.dev.to/dynamic/image/width=1000,height=420,fit=cover,gravity=auto,format=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F8mpeku6brwkfmrsumu3h.png'],
|
|
59
58
|
height: 200,
|
|
60
59
|
width: '100%',
|
|
61
60
|
}"
|
|
@@ -67,7 +66,7 @@ Start by choosing your framework:
|
|
|
67
66
|
</template>
|
|
68
67
|
<template #footer>
|
|
69
68
|
<MazBtn color="contrast" href="/guide/nuxt">
|
|
70
|
-
|
|
69
|
+
Nuxt guide
|
|
71
70
|
</MazBtn>
|
|
72
71
|
</template>
|
|
73
72
|
</MazCard>
|
|
@@ -163,9 +162,9 @@ Maz-UI v4 is built with tree-shaking in mind. Import only what you need for opti
|
|
|
163
162
|
*/
|
|
164
163
|
|
|
165
164
|
// ❌ Avoid importing everything
|
|
166
|
-
import * as MazUI from 'maz-ui'
|
|
167
|
-
// ✅ Import specific utilities
|
|
168
165
|
import { formatCurrency, debounce } from 'maz-ui'
|
|
166
|
+
// ✅ Import from @maz-ui/utils
|
|
167
|
+
import { formatCurrency, debounce } from '@maz-ui/utils'
|
|
169
168
|
|
|
170
169
|
/**
|
|
171
170
|
* Components
|
|
@@ -634,6 +634,16 @@ import { vTooltip } from 'maz-ui/directives'
|
|
|
634
634
|
const toast = useToast()
|
|
635
635
|
// ... rest of component
|
|
636
636
|
</script>
|
|
637
|
+
|
|
638
|
+
<template>
|
|
639
|
+
<MazBtn>Click me</MazBtn>
|
|
640
|
+
<MazInput v-model="name" />
|
|
641
|
+
<MazCard>
|
|
642
|
+
<p class="text-sm text-muted">
|
|
643
|
+
Hello World!
|
|
644
|
+
</p>
|
|
645
|
+
</MazCard>
|
|
646
|
+
</template>
|
|
637
647
|
```
|
|
638
648
|
|
|
639
649
|
### After (Auto-Import)
|
|
@@ -644,6 +654,16 @@ const toast = useToast()
|
|
|
644
654
|
const toast = useToast()
|
|
645
655
|
// ... rest of component
|
|
646
656
|
</script>
|
|
657
|
+
|
|
658
|
+
<template>
|
|
659
|
+
<MazBtn>Click me</MazBtn>
|
|
660
|
+
<MazInput v-model="name" />
|
|
661
|
+
<MazCard>
|
|
662
|
+
<p class="text-sm text-muted">
|
|
663
|
+
Hello World!
|
|
664
|
+
</p>
|
|
665
|
+
</MazCard>
|
|
666
|
+
</template>
|
|
647
667
|
```
|
|
648
668
|
|
|
649
669
|
## Related Resources
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maz-ui/mcp",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.
|
|
4
|
+
"version": "4.6.1",
|
|
5
5
|
"description": "Maz-UI ModelContextProtocol Client",
|
|
6
6
|
"author": "Louis Mazel <me@loicmazuel.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -41,20 +41,20 @@
|
|
|
41
41
|
"docs"
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@modelcontextprotocol/sdk": "^1.25.
|
|
45
|
-
"@maz-ui/node": "4.
|
|
46
|
-
"@maz-ui/utils": "4.
|
|
44
|
+
"@modelcontextprotocol/sdk": "^1.25.3",
|
|
45
|
+
"@maz-ui/node": "4.6.1",
|
|
46
|
+
"@maz-ui/utils": "4.6.1"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
|
-
"@modelcontextprotocol/inspector": "^0.
|
|
50
|
-
"@swc/core": "1.15.
|
|
49
|
+
"@modelcontextprotocol/inspector": "^0.19.0",
|
|
50
|
+
"@swc/core": "1.15.11",
|
|
51
51
|
"eslint": "^9.39.2",
|
|
52
52
|
"lint-staged": "^16.2.7",
|
|
53
|
-
"prettier": "^3.
|
|
53
|
+
"prettier": "^3.8.1",
|
|
54
54
|
"ts-node-maintained": "^10.9.5",
|
|
55
55
|
"tsx": "^4.21.0",
|
|
56
56
|
"unbuild": "^3.6.1",
|
|
57
|
-
"@maz-ui/eslint-config": "4.
|
|
57
|
+
"@maz-ui/eslint-config": "4.6.1"
|
|
58
58
|
},
|
|
59
59
|
"lint-staged": {
|
|
60
60
|
"*.{js,ts,mjs,mts,cjs,md,yml,json}": "cross-env NODE_ENV=production eslint --fix"
|