@maz-ui/mcp 4.9.1 → 4.9.3

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.9.0";
10
+ const version = "4.9.1";
11
11
 
12
12
  class MetadataExtractor {
13
13
  extract(name, type, content, manualTags = []) {
@@ -1,13 +1,13 @@
1
1
  ## Props
2
2
 
3
- | Name | Description | Type | Required | Default | Possible values |
4
- | ---------------- | ------------------------------------- | --------------------- | -------- | ----------- | ------------------------------------------------------------------------------------------------------------------------- |
5
- | **color** | Color of the badge | `MazBadgeColor` | No | `'primary'` | `'primary' \| 'secondary' \| 'accent' \| 'info' \| 'success' \| 'warning' \| 'destructive' \| 'contrast' \| 'background'` |
6
- | **size** | Size of the badge | `string` | No | `'0.8em'` | - |
7
- | **nowrap** | Will not wrap the text | `boolean` | No | `false` | - |
8
- | **outlined** | Will add a border to the badge | `boolean` | No | `false` | - |
9
- | **pastel** | Will add a pastel style to the badge | `boolean` | No | `false` | - |
10
- | **rounded-size** | Size radius of the component's border | `MazBadgeRoundedSize` | No | `'md'` | `'none' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'` |
3
+ | Name | Description | Type | Required | Default | Possible values |
4
+ | ---------------- | ------------------------------------- | --------------------- | -------- | --------- | ------------------------------------------------------------------------------------------------------------------------- |
5
+ | **color** | Color of the badge | `MazBadgeColor` | No | `primary` | `'primary' \| 'secondary' \| 'accent' \| 'info' \| 'success' \| 'warning' \| 'destructive' \| 'contrast' \| 'background'` |
6
+ | **size** | Size of the badge | `string` | No | `0.8em` | - |
7
+ | **nowrap** | Will not wrap the text | `boolean` | No | `false` | - |
8
+ | **outlined** | Will add a border to the badge | `boolean` | No | `false` | - |
9
+ | **pastel** | Will add a pastel style to the badge | `boolean` | No | `false` | - |
10
+ | **rounded-size** | Size radius of the component's border | `MazBadgeRoundedSize` | No | `md` | `'none' \| 'sm' \| 'md' \| 'lg' \| 'xl' \| 'full'` |
11
11
 
12
12
  ## Slots
13
13
 
@@ -22,10 +22,10 @@
22
22
 
23
23
  ## Slots
24
24
 
25
- | Name | Description | Bindings |
26
- | --------- | --------------------------------------------- | -------- |
27
- | left-icon | The icon to display on the left of the button | |
28
- | icon | The icon to display on the fab button | |
29
- | default | The content of the button | |
30
- | left-icon | The icon to display on the left of the button | |
31
- | loader | The loader to display in the button | |
25
+ | Name | Description | Bindings |
26
+ | ---------- | ---------------------------------------------- | -------- |
27
+ | left-icon | The icon to display on the left of the button | |
28
+ | icon | The icon to display on the fab button | |
29
+ | default | The content of the button | |
30
+ | right-icon | The icon to display on the right of the button | |
31
+ | loader | The loader to display in the button | |
@@ -55,6 +55,7 @@ description: MazBadge is a standalone component to show short text in colored co
55
55
  'contrast',
56
56
  'accent',
57
57
  'background',
58
+ 'transparent',
58
59
  ]
59
60
  </script>
60
61
 
@@ -89,6 +90,7 @@ const colors = [
89
90
  'contrast',
90
91
  'accent',
91
92
  'background',
93
+ 'transparent',
92
94
  ]
93
95
  </script>
94
96
 
@@ -123,6 +125,7 @@ const colors = [
123
125
  'contrast',
124
126
  'accent',
125
127
  'background',
128
+ 'transparent',
126
129
  ]
127
130
  </script>
128
131
 
@@ -214,6 +217,7 @@ const roundedSize = ['none', 'sm', 'md', 'lg', 'xl', 'full']
214
217
  'contrast',
215
218
  'accent',
216
219
  'background',
220
+ 'transparent',
217
221
  ]
218
222
 
219
223
  const roundedSize = ['none', 'sm', 'md', 'lg', 'xl', 'full']
@@ -297,7 +297,8 @@ Use the `leftIcon` or `rightIcon` properties to add icons to buttons.
297
297
  <script lang="ts" setup>
298
298
  import MazBtnGroup from 'maz-ui/components/MazBtnGroup'
299
299
  import type { MazButtonGroupOption } from 'maz-ui/components/MazBtnGroup'
300
- import { MazArrowLeft, MazArrowRight } from '@maz-ui/icons'
300
+ import { MazArrowLeft } from '@maz-ui/icons/MazArrowLeft'
301
+ import { MazArrowRight } from '@maz-ui/icons/MazArrowRight'
301
302
 
302
303
  const items: MazButtonGroupOption[] = [
303
304
  { text: 'Previous', leftIcon: MazArrowLeft, active: true },
@@ -424,7 +425,10 @@ interface MazButtonGroupProps {
424
425
 
425
426
  <script lang="ts" setup>
426
427
  import type { MazButtonGroupOption } from 'maz-ui/components/MazBtnGroup'
427
- import { MazArrowLeft, MazArrowRight, MazBars3, MazSquares2x2 } from '@maz-ui/icons'
428
+ import { MazArrowLeft } from '@maz-ui/icons/MazArrowLeft'
429
+ import { MazArrowRight } from '@maz-ui/icons/MazArrowRight'
430
+ import { MazBars3 } from '@maz-ui/icons/MazBars3'
431
+ import { MazSquares2x2 } from '@maz-ui/icons/MazSquares2x2'
428
432
 
429
433
  const sizes = ['mini', 'xs', 'sm', 'md', 'lg', 'xl'] as const
430
434
  const colors = ['primary', 'secondary', 'info', 'success', 'warning', 'destructive'] as const
@@ -462,7 +462,9 @@ Check out how [MazIcon](./maz-icon.md) works, see all available icons and downlo
462
462
  <script lang="ts" setup>
463
463
  import MazBtn from 'maz-ui/components/MazBtn'
464
464
 
465
- import { MazCheck, MazHome, MazCommandLine } from '@maz-ui/icons'
465
+ import { MazCheck } from '@maz-ui/icons/MazCheck'
466
+ import { MazHome } from '@maz-ui/icons/MazHome'
467
+ import { MazCommandLine } from '@maz-ui/icons/MazCommandLine'
466
468
  </script>
467
469
 
468
470
  <template>
@@ -548,7 +550,9 @@ When `to` attribute is provided, the component automatically becomes a `<RouterL
548
550
 
549
551
  <script setup lang="ts">
550
552
  import { computed } from 'vue'
551
- import { MazCheck, MazHome, MazCommandLine } from '@maz-ui/icons'
553
+ import { MazCheck } from '@maz-ui/icons/MazCheck'
554
+ import { MazHome } from '@maz-ui/icons/MazHome'
555
+ import { MazCommandLine } from '@maz-ui/icons/MazCommandLine'
552
556
  import MazSpinner from 'maz-ui/src/components/MazSpinner.vue'
553
557
 
554
558
  const colors = [
@@ -638,7 +638,7 @@ type MazDropdownMenuItem = {
638
638
  <script lang="ts" setup>
639
639
  import { ref, onMounted } from 'vue'
640
640
  import { useToast } from 'maz-ui/src/composables/useToast'
641
- import { MazChevronUpDown } from '@maz-ui/icons'
641
+ import { MazChevronUpDown } from '@maz-ui/icons/MazChevronUpDown'
642
642
 
643
643
  const toast = useToast()
644
644
 
@@ -26,7 +26,7 @@ description: MazIcon is a standalone component to load your svg files
26
26
 
27
27
  ## Icon Component
28
28
 
29
- `icon` is the icon component to render - e.g: `import { MazStar } from '@maz-ui/icons'`
29
+ `icon` is the icon component to render - e.g: `import { MazStar } from '@maz-ui/icons/MazStar'`
30
30
 
31
31
  Can be custom component from your stack - e.g: `import ComponentIcon from './path_to_your/ComponentIcon.vue'`
32
32
 
@@ -38,7 +38,7 @@ Can be custom component from your stack - e.g: `import ComponentIcon from './pat
38
38
 
39
39
  ```vue
40
40
  <script lang="ts" setup>
41
- import { MazStar } from '@maz-ui/icons'
41
+ import { MazStar } from '@maz-ui/icons/MazStar'
42
42
  </script>
43
43
 
44
44
  <template>
@@ -99,7 +99,7 @@ Can be `xs`, `sm`, `md`, `lg`, `xl`
99
99
 
100
100
  ```vue
101
101
  <script lang="ts" setup>
102
- import { MazStar } from '@maz-ui/icons'
102
+ import { MazStar } from '@maz-ui/icons/MazStar'
103
103
  </script>
104
104
 
105
105
  <template>
@@ -129,7 +129,7 @@ Allowed units: `px`, `em`, `rem`, `%`, `vw`, `vh`, `cm`, `mm`, `in`, `pt`, `pc`,
129
129
 
130
130
  ```vue
131
131
  <script lang="ts" setup>
132
- import { MazStar } from '@maz-ui/icons'
132
+ import { MazStar } from '@maz-ui/icons/MazStar'
133
133
  </script>
134
134
 
135
135
  <template>
@@ -94,7 +94,8 @@ For more information about the icons, please check the [MazBtn](./maz-btn.md#ico
94
94
 
95
95
  ```vue
96
96
  <script lang="ts" setup>
97
- import { MazCheck, MazHome } from '@maz-ui/icons'
97
+ import { MazCheck } from '@maz-ui/icons/MazCheck'
98
+ import { MazHome } from '@maz-ui/icons/MazHome'
98
99
  </script>
99
100
 
100
101
  <template>
@@ -154,7 +155,8 @@ If no `to` or `href` is provided, the component will be a `button` by default. Y
154
155
  </ComponentDemo>
155
156
 
156
157
  <script setup lang="ts">
157
- import { MazCheck, MazHome } from '@maz-ui/icons'
158
+ import { MazCheck } from '@maz-ui/icons/MazCheck'
159
+ import { MazHome } from '@maz-ui/icons/MazHome'
158
160
  </script>
159
161
 
160
162
  <!--@include: ./../../.vitepress/generated-docs/maz-link.doc.md-->
@@ -1356,7 +1356,8 @@ MazPopover follows WAI-ARIA guidelines:
1356
1356
  <script setup>
1357
1357
  import { ref, reactive } from 'vue'
1358
1358
  import MazPopover from 'maz-ui/src/components/MazPopover.vue'
1359
- import { MazInformationCircle, MazEllipsisVertical } from '@maz-ui/icons'
1359
+ import { MazInformationCircle } from '@maz-ui/icons/MazInformationCircle'
1360
+ import { MazEllipsisVertical } from '@maz-ui/icons/MazEllipsisVertical'
1360
1361
 
1361
1362
  const isOpen = ref(false)
1362
1363
  const events = ref([])
@@ -112,12 +112,12 @@ const copyIcon = (icon) => {
112
112
  }
113
113
 
114
114
  const copyStaticImport = (icon) => {
115
- navigator.clipboard.writeText(`import { ${icon} } from '@maz-ui/icons'`)
115
+ navigator.clipboard.writeText(`import { ${icon} } from '@maz-ui/icons/${icon}'`)
116
116
  success('Static import copied to clipboard')
117
117
  }
118
118
 
119
119
  const copyLazyImport = (icon) => {
120
- navigator.clipboard.writeText(`import { Lazy${icon} } from '@maz-ui/icons'`)
120
+ navigator.clipboard.writeText(`import { ${icon} } from '@maz-ui/icons/lazy/${icon}'`)
121
121
  success('Lazy import copied to clipboard')
122
122
  }
123
123
  </script>
@@ -83,9 +83,9 @@ Lazy icons are prefixed with `Lazy` and use `defineAsyncComponent` under the hoo
83
83
 
84
84
  ```vue
85
85
  <script setup lang="ts">
86
- import { LazyMazCheck, LazyMazHeart, LazyMazUser } from '@maz-ui/icons'
87
- // Or import from the lazy sub-path (without Lazy prefix):
88
- // import { MazCheck } from '@maz-ui/icons/lazy'
86
+ import { MazCheck } from '@maz-ui/icons/lazy/MazCheck'
87
+ import { MazHeart } from '@maz-ui/icons/lazy/MazHeart'
88
+ import { MazUser } from '@maz-ui/icons/lazy/MazUser'
89
89
  </script>
90
90
 
91
91
  <template>
package/docs/src/index.md CHANGED
@@ -11,7 +11,29 @@ description: Build amazing interfaces with Maz-UI - standalone components & tool
11
11
  # alt: Logo of Maz-UI
12
12
  ---
13
13
 
14
- <section id="hero" class="maz-py-12 tab-m:maz-py-24 vp-raw">
14
+ <section class="vp-raw maz-pt-8">
15
+ <MazAnimatedElement :delay="0" class="maz-w-full">
16
+ <a href="https://relizy.dev" target="_blank" rel="noopener" class="maz-block maz-no-underline">
17
+ <MazCardSpotlight color="secondary" content-class="maz-flex maz-flex-col tab-m:maz-flex-row maz-gap-4 maz-items-start tab-m:maz-items-center maz-w-full" class="maz-w-full" :inner-opacity="0.70">
18
+ <img src="https://raw.githubusercontent.com/LouisMazel/relizy/refs/heads/main/resources/logo.svg" alt="Relizy logo" class="maz-h-14 maz-w-14 maz-shrink-0" />
19
+ <div class="maz-flex-1 maz-flex maz-flex-col maz-gap-1 maz-items-start">
20
+ <MazBadge color="primary" class="maz-text-xs" size="0.7rem">
21
+ <MazSparkles class="maz-mr-1" /> New
22
+ </MazBadge>
23
+ <h3 class="maz-text-lg maz-font-semibold maz-m-0">Relizy.dev — Ship releases in one command</h3>
24
+ <p class="dark:maz-text-gray-300 maz-text-muted maz-text-sm maz-m-0">
25
+ Automate versioning, changelogs, Git tagging & publishing to npm, GitHub & GitLab — built for monorepos and single packages.
26
+ </p>
27
+ </div>
28
+ <MazBtn href="https://relizy.dev" color="secondary" size="sm" class="maz-w-full tab-m:maz-w-auto maz-shrink-0" target="_blank" :right-icon="MazArrowTopRightOnSquare">
29
+ Discover Relizy
30
+ </MazBtn>
31
+ </MazCardSpotlight>
32
+ </a>
33
+ </MazAnimatedElement>
34
+ </section>
35
+
36
+ <section id="hero" class="maz-pt-8 maz-pb-12 tab-m:maz-py-12 vp-raw">
15
37
  <div class="maz-mx-auto maz-max-w-3xl">
16
38
  <MazAnimatedText
17
39
  text="Collection of standalone components, plugins, directives, composables and more"
@@ -88,7 +110,7 @@ description: Build amazing interfaces with Maz-UI - standalone components & tool
88
110
  class="maz-relative maz-w-full"
89
111
  content-class="maz-flex maz-flex-col maz-gap-2 maz-items-start"
90
112
  >
91
- <DemoDashboardPage :delay="2000" class="maz-hidden tab-m:maz-block" />
113
+ <!-- <DemoDashboardPage :delay="2000" class="maz-hidden tab-m:maz-block" /> -->
92
114
  <div class="dark:maz-hidden">
93
115
  <MazLazyImg class="maz-block tab-m:!maz-hidden maz-w-full maz-min-h-40" src="/img/demo/dashboard-light.png" alt="Maz-UI" />
94
116
  </div>
@@ -105,7 +127,7 @@ description: Build amazing interfaces with Maz-UI - standalone components & tool
105
127
  class="maz-relative maz-w-full"
106
128
  content-class="maz-flex maz-flex-col maz-gap-2 maz-items-start"
107
129
  >
108
- <DemoProductPage class="maz-hidden tab-m:maz-block" />
130
+ <!-- <DemoProductPage class="maz-hidden tab-m:maz-block" /> -->
109
131
  <div class="dark:maz-hidden">
110
132
  <MazLazyImg class="maz-block tab-m:!maz-hidden maz-w-full maz-min-h-40" src="/img/demo/product-page-light.png" alt="Maz-UI" />
111
133
  </div>
@@ -122,7 +144,7 @@ description: Build amazing interfaces with Maz-UI - standalone components & tool
122
144
  class="maz-relative maz-w-full"
123
145
  content-class="maz-flex maz-flex-col maz-gap-2 maz-items-start"
124
146
  >
125
- <DemoAuthPage class="maz-hidden tab-m:maz-flex" />
147
+ <!-- <DemoAuthPage class="maz-hidden tab-m:maz-flex" /> -->
126
148
  <div class="dark:maz-hidden">
127
149
  <MazLazyImg class="maz-block tab-m:!maz-hidden maz-w-full maz-min-h-40" src="/img/demo/auth-page-light.png" alt="Maz-UI" />
128
150
  </div>
@@ -504,9 +526,15 @@ description: Build amazing interfaces with Maz-UI - standalone components & tool
504
526
  import DemoDashboardPage from '../components/DemoDashboardPage.vue'
505
527
  import DemoProductPage from '../components/DemoProductPage.vue'
506
528
  import Contributors from './../.vitepress/theme/components/Contributors.vue'
529
+ import { MazArrowTopRightOnSquare } from '@maz-ui/icons/MazArrowTopRightOnSquare'
530
+ import { MazStar } from '@maz-ui/icons/MazStar'
531
+ import { MazPlay } from '@maz-ui/icons/MazPlay'
532
+ import { MazGithub } from '@maz-ui/icons/MazGithub'
533
+ import { MazSun } from '@maz-ui/icons/MazSun'
534
+ import { MazMoon } from '@maz-ui/icons/MazMoon'
535
+ import { MazSparkles } from '@maz-ui/icons/MazSparkles'
507
536
 
508
537
  import { ref, computed } from 'vue'
509
- import { MazStar, MazPlay, MazGithub, MazSun, MazMoon } from '@maz-ui/icons'
510
538
  import { useTheme } from '@maz-ui/themes/composables/useTheme'
511
539
 
512
540
  const {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@maz-ui/mcp",
3
3
  "type": "module",
4
- "version": "4.9.1",
4
+ "version": "4.9.3",
5
5
  "description": "Maz-UI ModelContextProtocol Client",
6
6
  "author": "Louis Mazel <me@loicmazuel.com>",
7
7
  "license": "MIT",
@@ -47,7 +47,7 @@
47
47
  },
48
48
  "devDependencies": {
49
49
  "@modelcontextprotocol/inspector": "^0.21.2",
50
- "@swc/core": "1.15.26",
50
+ "@swc/core": "1.15.30",
51
51
  "prettier": "^3.8.3",
52
52
  "ts-node-maintained": "^10.9.5",
53
53
  "tsx": "^4.21.0",