@maz-ui/mcp 4.0.0-beta.31 → 4.0.0-beta.33
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, dirname, join } from 'node:path';
|
|
8
8
|
import { fileURLToPath } from 'node:url';
|
|
9
9
|
|
|
10
|
-
const version = "4.0.0-beta.
|
|
10
|
+
const version = "4.0.0-beta.32";
|
|
11
11
|
|
|
12
12
|
const _dirname = dirname(fileURLToPath(import.meta.url));
|
|
13
13
|
class DocumentationService {
|
|
@@ -33,12 +33,13 @@
|
|
|
33
33
|
|
|
34
34
|
## Events
|
|
35
35
|
|
|
36
|
-
| Event name
|
|
37
|
-
|
|
|
38
|
-
| update:model-value
|
|
39
|
-
| open
|
|
40
|
-
| close
|
|
41
|
-
|
|
|
36
|
+
| Event name | Properties | Description |
|
|
37
|
+
| --------------------- | ---------------------------------------- | ---------------------------------- |
|
|
38
|
+
| update:model-value | **value** `boolean` - The new open state | Emitted when popover state changes |
|
|
39
|
+
| open | | Emitted when popover opens |
|
|
40
|
+
| close | | Emitted when popover closes |
|
|
41
|
+
| after-close-animation | | Emitted after the close animation |
|
|
42
|
+
| toggle | **value** `boolean` - The new open state | Emitted when popover toggles |
|
|
42
43
|
|
|
43
44
|
## Slots
|
|
44
45
|
|
|
@@ -30,7 +30,7 @@ head:
|
|
|
30
30
|
:key="i"
|
|
31
31
|
:gallery="{
|
|
32
32
|
images: [
|
|
33
|
-
|
|
33
|
+
`https://placedog.net/250/300?random`
|
|
34
34
|
]
|
|
35
35
|
}"
|
|
36
36
|
style="min-width: 250px;"
|
|
@@ -63,7 +63,7 @@ import MazCard from 'maz-ui/components/MazCard'
|
|
|
63
63
|
:key="i"
|
|
64
64
|
:gallery="{
|
|
65
65
|
images: [
|
|
66
|
-
'https://placedog.net/250/300',
|
|
66
|
+
'https://placedog.net/250/300?random',
|
|
67
67
|
],
|
|
68
68
|
}"
|
|
69
69
|
style="min-width: 250px;"
|
|
@@ -102,7 +102,7 @@ This options will display the component without scrollbar only when the componen
|
|
|
102
102
|
:key="i"
|
|
103
103
|
:gallery="{
|
|
104
104
|
images: [
|
|
105
|
-
'https://placedog.net/400/200'
|
|
105
|
+
'https://placedog.net/400/200?random'
|
|
106
106
|
]
|
|
107
107
|
}"
|
|
108
108
|
style="min-width: 250px;"
|
|
@@ -138,7 +138,7 @@ import MazCard from 'maz-ui/components/MazCard'
|
|
|
138
138
|
:key="i"
|
|
139
139
|
:gallery="{
|
|
140
140
|
images: [
|
|
141
|
-
'https://placedog.net/400/200'
|
|
141
|
+
'https://placedog.net/400/200?random'
|
|
142
142
|
]
|
|
143
143
|
}"
|
|
144
144
|
style="min-width: 250px;"
|
|
@@ -87,7 +87,7 @@ Understanding date formats is crucial for using MazDatePicker effectively. The c
|
|
|
87
87
|
|
|
88
88
|
This controls how dates are stored and transmitted in your `v-model`. Default is `'YYYY-MM-DD'`.
|
|
89
89
|
|
|
90
|
-
### 2. Display Format (`
|
|
90
|
+
### 2. Display Format (`input-date-format` prop)
|
|
91
91
|
|
|
92
92
|
This controls how dates appear in the input field using `Intl.DateTimeFormatOptions`.
|
|
93
93
|
|
|
@@ -97,19 +97,19 @@ This controls how dates appear in the input field using `Intl.DateTimeFormatOpti
|
|
|
97
97
|
v-model="formatExample1"
|
|
98
98
|
label="ISO Format (YYYY-MM-DD)"
|
|
99
99
|
format="YYYY-MM-DD"
|
|
100
|
-
:input-format="{ dateStyle: 'medium' }"
|
|
100
|
+
:input-date-format="{ dateStyle: 'medium' }"
|
|
101
101
|
/>
|
|
102
102
|
<MazDatePicker
|
|
103
103
|
v-model="formatExample2"
|
|
104
104
|
label="US Format (MM/DD/YYYY)"
|
|
105
105
|
format="MM/DD/YYYY"
|
|
106
|
-
:input-format="{ dateStyle: 'short' }"
|
|
106
|
+
:input-date-format="{ dateStyle: 'short' }"
|
|
107
107
|
/>
|
|
108
108
|
<MazDatePicker
|
|
109
109
|
v-model="formatExample3"
|
|
110
110
|
label="European Format (DD-MM-YYYY)"
|
|
111
111
|
format="DD-MM-YYYY"
|
|
112
|
-
:input-format="{ dateStyle: 'medium' }"
|
|
112
|
+
:input-date-format="{ dateStyle: 'medium' }"
|
|
113
113
|
/>
|
|
114
114
|
</div>
|
|
115
115
|
|
|
@@ -122,7 +122,7 @@ This controls how dates appear in the input field using `Intl.DateTimeFormatOpti
|
|
|
122
122
|
v-model="date1"
|
|
123
123
|
label="ISO Format (YYYY-MM-DD)"
|
|
124
124
|
format="YYYY-MM-DD"
|
|
125
|
-
:input-format="{ dateStyle: 'medium' }"
|
|
125
|
+
:input-date-format="{ dateStyle: 'medium' }"
|
|
126
126
|
/>
|
|
127
127
|
|
|
128
128
|
<!-- US Format -->
|
|
@@ -130,7 +130,7 @@ This controls how dates appear in the input field using `Intl.DateTimeFormatOpti
|
|
|
130
130
|
v-model="date2"
|
|
131
131
|
label="US Format (MM/DD/YYYY)"
|
|
132
132
|
format="MM/DD/YYYY"
|
|
133
|
-
:input-format="{ dateStyle: 'short' }"
|
|
133
|
+
:input-date-format="{ dateStyle: 'short' }"
|
|
134
134
|
/>
|
|
135
135
|
|
|
136
136
|
<!-- European Format -->
|
|
@@ -138,7 +138,7 @@ This controls how dates appear in the input field using `Intl.DateTimeFormatOpti
|
|
|
138
138
|
v-model="date3"
|
|
139
139
|
label="European Format (DD-MM-YYYY)"
|
|
140
140
|
format="DD-MM-YYYY"
|
|
141
|
-
:input-format="{ dateStyle: 'medium' }"
|
|
141
|
+
:input-date-format="{ dateStyle: 'medium' }"
|
|
142
142
|
/>
|
|
143
143
|
</template>
|
|
144
144
|
|
|
@@ -369,7 +369,7 @@ The `offset` (in px) option allows you to adjust the position of the tooltip rel
|
|
|
369
369
|
|
|
370
370
|
<ComponentDemo>
|
|
371
371
|
<div class="maz-flex maz-gap-3 maz-flex-wrap">
|
|
372
|
-
<MazBtn v-tooltip.top="{ text: 'Tooltip text', open: open
|
|
372
|
+
<MazBtn v-tooltip.top="{ text: 'Tooltip text', open: open }">
|
|
373
373
|
Primary
|
|
374
374
|
</MazBtn>
|
|
375
375
|
<MazBtn @click="open = !open" color="secondary">
|
|
@@ -388,7 +388,7 @@ The `offset` (in px) option allows you to adjust the position of the tooltip rel
|
|
|
388
388
|
</script>
|
|
389
389
|
|
|
390
390
|
<template>
|
|
391
|
-
<MazBtn v-tooltip.top="{ text: 'Tooltip text', open }">
|
|
391
|
+
<MazBtn v-tooltip.top="{ text: 'Tooltip text', open: open }">
|
|
392
392
|
Primary
|
|
393
393
|
</MazBtn>
|
|
394
394
|
<MazBtn color="secondary" @click="open = !open">
|
|
@@ -66,6 +66,7 @@ v4.0.0 separates functionality into specialized packages for better modularity:
|
|
|
66
66
|
| **@maz-ui/icons** | SVG icons (336+ icons) | 🆕 New |
|
|
67
67
|
| **@maz-ui/cli** | CLI for theme generation | 🆕 New |
|
|
68
68
|
| **@maz-ui/nuxt** | Nuxt 3 module | 🆕 New |
|
|
69
|
+
| **@maz-ui/mcp** | MCP server for IA agent | 🆕 New |
|
|
69
70
|
|
|
70
71
|
## 📋 Migration Checklist
|
|
71
72
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maz-ui/mcp",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "4.0.0-beta.
|
|
4
|
+
"version": "4.0.0-beta.33",
|
|
5
5
|
"description": "Maz-UI ModelContextProtocol Client",
|
|
6
6
|
"author": "Louis Mazel <me@loicmazuel.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
"@swc/core": "1.13.3",
|
|
69
69
|
"@types/node": "^24.2.0",
|
|
70
70
|
"@vitest/coverage-v8": "^3.2.4",
|
|
71
|
-
"docs": "4.0.0-beta.
|
|
71
|
+
"docs": "4.0.0-beta.33",
|
|
72
72
|
"eslint": "^9.26.0",
|
|
73
73
|
"lint-staged": "^16.1.4",
|
|
74
74
|
"prettier": "^3.5.3",
|
|
@@ -81,5 +81,5 @@
|
|
|
81
81
|
"lint-staged": {
|
|
82
82
|
"*.{js,ts,mjs,mts,cjs,md,yml,json}": "cross-env NODE_ENV=production eslint --fix"
|
|
83
83
|
},
|
|
84
|
-
"gitHead": "
|
|
84
|
+
"gitHead": "9642333b9fdbd396ba03b613b74b209174ba1b7b"
|
|
85
85
|
}
|