@maz-ui/mcp 5.1.0 → 5.1.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/cli.mjs +1 -1
- package/dist/index.mjs +1 -1
- package/dist/shared/{mcp.BFjMMLqy.mjs → mcp.cBFLVChV.mjs} +34 -5
- package/docs/components/maz-card.md +1 -1
- package/docs/components/maz-dialog-confirm.md +2 -2
- package/docs/components/maz-link.md +1 -1
- package/docs/components/maz-select-country.md +1 -1
- package/docs/composables/use-dialog.md +2 -1
- package/docs/ecosystem/icons/index.md +22 -22
- package/docs/guide/ai-agents.md +1 -1
- package/docs/manifest.json +1 -1
- package/docs/plugins/dialog.md +9 -5
- package/package.json +1 -1
package/docs/plugins/dialog.md
CHANGED
|
@@ -53,7 +53,8 @@ You can display a simple dialog with a title and a message. The dialog will have
|
|
|
53
53
|
|
|
54
54
|
```vue
|
|
55
55
|
<script lang="ts" setup>
|
|
56
|
-
import { useDialog
|
|
56
|
+
import { useDialog } from 'maz-ui/composables/useDialog'
|
|
57
|
+
import { useToast } from 'maz-ui/composables/useToast'
|
|
57
58
|
|
|
58
59
|
const dialog = useDialog()
|
|
59
60
|
const toast = useToast()
|
|
@@ -91,7 +92,8 @@ The buttons property allows you to display custom buttons in the dialog and repl
|
|
|
91
92
|
|
|
92
93
|
```vue
|
|
93
94
|
<script lang="ts" setup>
|
|
94
|
-
import { useDialog
|
|
95
|
+
import { useDialog } from 'maz-ui/composables/useDialog'
|
|
96
|
+
import { useToast } from 'maz-ui/composables/useToast'
|
|
95
97
|
|
|
96
98
|
const dialog = useDialog()
|
|
97
99
|
const toast = useToast()
|
|
@@ -143,7 +145,8 @@ The buttons property allows you to display custom buttons in the dialog and repl
|
|
|
143
145
|
|
|
144
146
|
```vue
|
|
145
147
|
<script lang="ts" setup>
|
|
146
|
-
import { useDialog
|
|
148
|
+
import { useDialog } from 'maz-ui/composables/useDialog'
|
|
149
|
+
import { useToast } from 'maz-ui/composables/useToast'
|
|
147
150
|
|
|
148
151
|
const dialog = useDialog()
|
|
149
152
|
const toast = useToast()
|
|
@@ -161,7 +164,7 @@ async function openDialogResponse() {
|
|
|
161
164
|
},
|
|
162
165
|
{
|
|
163
166
|
text: 'Accept',
|
|
164
|
-
type: '
|
|
167
|
+
type: 'accept',
|
|
165
168
|
response: 'Accepted Response',
|
|
166
169
|
color: 'secondary',
|
|
167
170
|
}
|
|
@@ -193,7 +196,8 @@ You can close the dialog programmatically by calling the close method returned b
|
|
|
193
196
|
|
|
194
197
|
```vue
|
|
195
198
|
<script lang="ts" setup>
|
|
196
|
-
import { useDialog
|
|
199
|
+
import { useDialog } from 'maz-ui/composables/useDialog'
|
|
200
|
+
import { useToast } from 'maz-ui/composables/useToast'
|
|
197
201
|
|
|
198
202
|
const dialog = useDialog()
|
|
199
203
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maz-ui/mcp",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.1.
|
|
4
|
+
"version": "5.1.1",
|
|
5
5
|
"description": "MCP server and CLI that give AI coding agents the version-matched knowledge of maz-ui and its ecosystem: search, component APIs, icons, Tailwind theme tokens, setup guides and code review",
|
|
6
6
|
"author": "Louis Mazel <me@loicmazuel.com>",
|
|
7
7
|
"license": "MIT",
|