@maz-ui/mcp 5.0.0-beta.37 → 5.0.0-beta.38
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-btn.doc.md +21 -20
- package/package.json +4 -4
package/dist/mcp.mjs
CHANGED
|
@@ -7,7 +7,7 @@ import { existsSync, readFileSync, readdirSync, statSync } from 'node:fs';
|
|
|
7
7
|
import { resolve, join, dirname } from 'node:path';
|
|
8
8
|
import { fileURLToPath } from 'node:url';
|
|
9
9
|
|
|
10
|
-
const version = "5.0.0-beta.
|
|
10
|
+
const version = "5.0.0-beta.38";
|
|
11
11
|
|
|
12
12
|
class MetadataExtractor {
|
|
13
13
|
extract(name, type, content, manualTags = []) {
|
|
@@ -1,25 +1,26 @@
|
|
|
1
1
|
## Props
|
|
2
2
|
|
|
3
|
-
| Name
|
|
4
|
-
|
|
|
5
|
-
| **text**
|
|
6
|
-
| **size**
|
|
7
|
-
| **color**
|
|
8
|
-
| **text-color**
|
|
9
|
-
| **type**
|
|
10
|
-
| **rounded-size**
|
|
11
|
-
| **outlined**
|
|
12
|
-
| **pastel**
|
|
13
|
-
| **block**
|
|
14
|
-
| **loading**
|
|
15
|
-
| **disabled**
|
|
16
|
-
| **fab**
|
|
17
|
-
| **icon**
|
|
18
|
-
| **start-icon**
|
|
19
|
-
| **end-icon**
|
|
20
|
-
| **padding**
|
|
21
|
-
| **justify**
|
|
22
|
-
| **active**
|
|
3
|
+
| Name | Description | Type | Required | Default | Possible values |
|
|
4
|
+
| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------- | -------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------- |
|
|
5
|
+
| **text** | The text of the button, if not provided, the slot will be used | `string` | No | `undefined` | - |
|
|
6
|
+
| **size** | Predifined sizes of the button | `MazSize` | No | `undefined` | `'xl' \| 'lg' \| 'md' \| 'sm' \| 'xs' \| 'mini'` |
|
|
7
|
+
| **color** | The color of the button | `MazColor \| "surface"` | No | `undefined` | `'primary' \| 'secondary' \| 'accent' \| 'info' \| 'success' \| 'warning' \| 'destructive' \| 'contrast' \| 'transparent' \| 'surface'` |
|
|
8
|
+
| **text-color** | The text color of the button | `MazColor \| "muted"` | No | `undefined` | `primary' \| 'secondary' \| 'accent' \| 'info' \| 'success' \| 'warning' \| 'destructive' \| 'contrast' \| 'transparent' \| 'muted'` |
|
|
9
|
+
| **type** | The type of the button | `"submit" \| "reset" \| "button"` | No | `undefined` | `'submit' \| 'reset' \| 'button'` |
|
|
10
|
+
| **rounded-size** | Size of the rounded | `MazRoundedSize` | No | `md` | `'none' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'` |
|
|
11
|
+
| **outlined** | If true, the button have the "border" style | `boolean` | No | `false` | - |
|
|
12
|
+
| **pastel** | If true, the button will have a pastel color | `boolean` | No | `false` | - |
|
|
13
|
+
| **block** | If true, the button will have a full width | `boolean` | No | `false` | - |
|
|
14
|
+
| **loading** | Enable the button loader | `boolean` | No | `false` | - |
|
|
15
|
+
| **disabled** | Disable the button | `boolean` | No | `false` | - |
|
|
16
|
+
| **fab** | If true, the button will have a fab style | `boolean` | No | `false` | - |
|
|
17
|
+
| **icon** | The icon to display in the fab variant. Accepts a bare value (Vue component, raw SVG string, URL or `data:` URI) for the common case, or a full `MazIconProps` object for fine-grained control (size, title, svgAttributes, fallback, flipIconForRtl, …). | `MazIconLike` | No | `undefined` | - |
|
|
18
|
+
| **start-icon** | The icon to display on the inline-start edge (left in LTR, right in RTL). Accepts a bare value or a full `MazIconProps` object. | `MazIconLike` | No | `undefined` | - |
|
|
19
|
+
| **end-icon** | The icon to display on the inline-end edge (right in LTR, left in RTL). Accepts a bare value or a full `MazIconProps` object. | `MazIconLike` | No | `undefined` | - |
|
|
20
|
+
| **padding** | If true, the button will have no padding | `boolean` | No | `true` | - |
|
|
21
|
+
| **justify** | Choose how the elements are aligned in the button | `"start" \| "end" \| "center" \| "space-between" \| "space-around" \| "space-evenly"` | No | `undefined` | - |
|
|
22
|
+
| **active** | If true, the button will have an active state | `boolean` | No | `false` | - |
|
|
23
|
+
| **overflow-hidden** | If true, the button will have an overflow-hidden style | `boolean` | No | `false` | - |
|
|
23
24
|
|
|
24
25
|
## Slots
|
|
25
26
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maz-ui/mcp",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "5.0.0-beta.
|
|
4
|
+
"version": "5.0.0-beta.38",
|
|
5
5
|
"description": "Maz-UI ModelContextProtocol Client",
|
|
6
6
|
"author": "Louis Mazel <me@loicmazuel.com>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
45
45
|
"@maz-ui/utils": "5.0.0-beta.28",
|
|
46
|
-
"maz-ui": "5.0.0-beta.
|
|
46
|
+
"maz-ui": "5.0.0-beta.38"
|
|
47
47
|
},
|
|
48
48
|
"devDependencies": {
|
|
49
49
|
"@modelcontextprotocol/inspector": "^0.21.2",
|
|
@@ -52,8 +52,8 @@
|
|
|
52
52
|
"ts-node-maintained": "^10.9.5",
|
|
53
53
|
"tsx": "^4.22.3",
|
|
54
54
|
"unbuild": "^3.6.1",
|
|
55
|
-
"@maz-ui/
|
|
56
|
-
"@maz-ui/
|
|
55
|
+
"@maz-ui/eslint-config": "5.0.0-beta.28",
|
|
56
|
+
"@maz-ui/node": "5.0.0-beta.26"
|
|
57
57
|
},
|
|
58
58
|
"lint-staged": {
|
|
59
59
|
"*.{js,ts,mjs,mts,cjs,md,yml,json}": "cross-env NODE_ENV=production eslint --fix"
|