@maz-ui/mcp 4.7.3 → 4.7.6-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
CHANGED
|
@@ -7,7 +7,7 @@ import { existsSync, readFileSync, readdirSync } from 'node:fs';
|
|
|
7
7
|
import { resolve, join, dirname } from 'node:path';
|
|
8
8
|
import { fileURLToPath } from 'node:url';
|
|
9
9
|
|
|
10
|
-
const version = "4.7.
|
|
10
|
+
const version = "4.7.4";
|
|
11
11
|
|
|
12
12
|
const _dirname = dirname(fileURLToPath(import.meta.url));
|
|
13
13
|
class DocumentationService {
|
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
| **color** | Component color applied | `MazColor` | No | `'primary'` | `primary, secondary, accent, info, success, warning, destructive, contrast` |
|
|
18
18
|
| **size** | Component size applied | `MazSize` | No | `'md'` | `xs, sm, md, lg, xl, mini` |
|
|
19
19
|
| **hide-flags** | Remove flags in country list | `boolean` | No | `false` | - |
|
|
20
|
-
| **disabled** |
|
|
20
|
+
| **disabled** | Make the input disabled | `boolean` | No | `false` | - |
|
|
21
|
+
| **required** | Make the input required | `boolean` | No | `false` | - |
|
|
21
22
|
| **example** | Show the phone number example | `boolean` | No | `true` | - |
|
|
22
23
|
| **search** | Disable search input in country list | `boolean` | No | `true` | - |
|
|
23
24
|
| **search-threshold** | Threshold of the search input in country list where 1 is a perfect match and 0 is a match with any character | `number` | No | `0.75` | - |
|
|
@@ -11,26 +11,25 @@ description: MazInputPrice is a standalone component that replaces the standard
|
|
|
11
11
|
|
|
12
12
|
## Basic usage
|
|
13
13
|
|
|
14
|
-
<
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
:
|
|
21
|
-
|
|
22
|
-
|
|
14
|
+
<ComponentDemo expanded>
|
|
15
|
+
<MazInputPrice
|
|
16
|
+
v-model="priceValue"
|
|
17
|
+
label="Enter your price"
|
|
18
|
+
currency="USD"
|
|
19
|
+
locale="en-US"
|
|
20
|
+
:min="5"
|
|
21
|
+
:max="1000"
|
|
22
|
+
@formatted="formattedPrice = $event"
|
|
23
|
+
/>
|
|
23
24
|
|
|
24
|
-
|
|
25
|
+
<br />
|
|
26
|
+
<br />
|
|
25
27
|
|
|
26
|
-
|
|
28
|
+
priceValue: {{ priceValue }}
|
|
27
29
|
|
|
28
|
-
|
|
29
|
-
import { ref } from 'vue'
|
|
30
|
+
formattedPrice: {{ formattedPrice }}
|
|
30
31
|
|
|
31
|
-
|
|
32
|
-
const formattedPrice = ref()
|
|
33
|
-
</script>
|
|
32
|
+
<template #code>
|
|
34
33
|
|
|
35
34
|
```vue
|
|
36
35
|
<script lang="ts" setup>
|
|
@@ -54,5 +53,15 @@ const formattedPrice = ref()
|
|
|
54
53
|
</template>
|
|
55
54
|
```
|
|
56
55
|
|
|
56
|
+
</template>
|
|
57
|
+
</ComponentDemo>
|
|
58
|
+
|
|
59
|
+
<script lang="ts" setup>
|
|
60
|
+
import { ref } from 'vue'
|
|
61
|
+
|
|
62
|
+
const priceValue = ref(2)
|
|
63
|
+
const formattedPrice = ref()
|
|
64
|
+
</script>
|
|
65
|
+
|
|
57
66
|
<!--@include: ./../../.vitepress/mixins/maz-input-props.md-->
|
|
58
67
|
<!--@include: ./../../.vitepress/generated-docs/maz-input-price.doc.md-->
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maz-ui/mcp",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.7.
|
|
4
|
+
"version": "4.7.6-beta.0",
|
|
5
5
|
"description": "Maz-UI ModelContextProtocol Client",
|
|
6
6
|
"author": "Louis Mazel <me@loicmazuel.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -42,13 +42,13 @@
|
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@modelcontextprotocol/sdk": "^1.27.1",
|
|
45
|
-
"@maz-ui/
|
|
46
|
-
"@maz-ui/
|
|
45
|
+
"@maz-ui/node": "4.6.1",
|
|
46
|
+
"@maz-ui/utils": "4.7.6-beta.0"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@modelcontextprotocol/inspector": "^0.21.1",
|
|
50
50
|
"@swc/core": "1.15.18",
|
|
51
|
-
"lint-staged": "^16.
|
|
51
|
+
"lint-staged": "^16.4.0",
|
|
52
52
|
"prettier": "^3.8.1",
|
|
53
53
|
"ts-node-maintained": "^10.9.5",
|
|
54
54
|
"tsx": "^4.21.0",
|