@maz-ui/mcp 5.1.0-beta.2 → 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.
@@ -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, useToast } from 'maz-ui/composables'
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, useToast } from 'maz-ui/composables'
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, useToast } from 'maz-ui/composables'
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: 'resolve',
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, useToast } from 'maz-ui/composables'
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.0-beta.2",
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",
@@ -52,7 +52,7 @@
52
52
  },
53
53
  "dependencies": {
54
54
  "@babel/parser": "^8.0.8",
55
- "@maz-ui/node": "5.1.0-beta.1",
55
+ "@maz-ui/node": "5.1.0",
56
56
  "@maz-ui/utils": "5.0.0",
57
57
  "@modelcontextprotocol/sdk": "^1.32.1",
58
58
  "@vue/compiler-dom": "^3.5.44",