@maltjoy/mcp-server 0.4.0 → 0.5.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.
Files changed (66) hide show
  1. package/README.md +49 -20
  2. package/dist/doc/VJoyAvatar/metadata.json +1 -1
  3. package/dist/doc/VJoyButton/metadata.json +1 -17
  4. package/dist/doc/VJoyCollapseItem/metadata.json +1 -1
  5. package/dist/doc/VJoyDropdownList/metadata.json +1 -1
  6. package/dist/doc/VJoyDropzone/metadata.json +36 -1
  7. package/dist/doc/VJoyFormError/metadata.json +0 -14
  8. package/dist/doc/VJoyHighlight/metadata.json +1 -1
  9. package/dist/doc/VJoyIcon/JoyIcon.types.ts +1 -1
  10. package/dist/doc/VJoyIcon/metadata.json +1 -2
  11. package/dist/doc/VJoyIconButton/metadata.json +2 -2
  12. package/dist/doc/VJoyInput/JoyInput.types.ts +1 -6
  13. package/dist/doc/VJoyInput/metadata.json +6 -15
  14. package/dist/doc/VJoyInputNumber/metadata.json +23 -18
  15. package/dist/doc/VJoyInputPassword/metadata.json +1 -15
  16. package/dist/doc/VJoyLink/metadata.json +1 -1
  17. package/dist/doc/VJoyListItem/metadata.json +1 -1
  18. package/dist/doc/VJoyMenu/metadata.json +33 -0
  19. package/dist/doc/VJoyMenuItem/metadata.json +2 -2
  20. package/dist/doc/VJoyPasswordRequirement/metadata.json +1 -1
  21. package/dist/doc/VJoyProductTour/JoyProductTour.types.ts +0 -1
  22. package/dist/doc/VJoyProductTour/metadata.json +2 -2
  23. package/dist/doc/VJoySelectableItem/metadata.json +1 -1
  24. package/dist/doc/VJoyText/metadata.json +1 -1
  25. package/dist/doc/VJoyUserCard/metadata.json +3 -17
  26. package/dist/doc/VJoyWalkthrough/metadata.json +1 -1
  27. package/dist/doc/VJoyWalkthroughTrigger/metadata.json +1 -1
  28. package/dist/doc/css-classes.json +1 -19
  29. package/dist/doc/design-tokens.json +2242 -150
  30. package/dist/doc/index.json +19 -29
  31. package/dist/index.js +71 -3
  32. package/dist/index.js.map +1 -1
  33. package/dist/tokens/build-catalog.d.ts +6 -0
  34. package/dist/tokens/build-catalog.d.ts.map +1 -0
  35. package/dist/tokens/build-catalog.js +141 -0
  36. package/dist/tokens/build-catalog.js.map +1 -0
  37. package/dist/tokens/query.d.ts +49 -0
  38. package/dist/tokens/query.d.ts.map +1 -0
  39. package/dist/tokens/query.js +290 -0
  40. package/dist/tokens/query.js.map +1 -0
  41. package/dist/tokens/types.d.ts +44 -0
  42. package/dist/tokens/types.d.ts.map +1 -0
  43. package/dist/tokens/types.js +23 -0
  44. package/dist/tokens/types.js.map +1 -0
  45. package/dist/tools/get-token-group.d.ts +26 -0
  46. package/dist/tools/get-token-group.d.ts.map +1 -0
  47. package/dist/tools/get-token-group.js +24 -0
  48. package/dist/tools/get-token-group.js.map +1 -0
  49. package/dist/tools/get-token-usage.d.ts +24 -0
  50. package/dist/tools/get-token-usage.d.ts.map +1 -0
  51. package/dist/tools/get-token-usage.js +22 -0
  52. package/dist/tools/get-token-usage.js.map +1 -0
  53. package/dist/tools/get-token.d.ts +18 -0
  54. package/dist/tools/get-token.d.ts.map +1 -0
  55. package/dist/tools/get-token.js +20 -0
  56. package/dist/tools/get-token.js.map +1 -0
  57. package/dist/tools/list-design-tokens.d.ts +21 -12
  58. package/dist/tools/list-design-tokens.d.ts.map +1 -1
  59. package/dist/tools/list-design-tokens.js +26 -12
  60. package/dist/tools/list-design-tokens.js.map +1 -1
  61. package/dist/tools/search-tokens.d.ts +38 -0
  62. package/dist/tools/search-tokens.d.ts.map +1 -0
  63. package/dist/tools/search-tokens.js +44 -0
  64. package/dist/tools/search-tokens.js.map +1 -0
  65. package/package.json +4 -3
  66. package/dist/doc/VJoyMultiCheckbox/metadata.json +0 -332
@@ -25,7 +25,7 @@
25
25
  "type": "string",
26
26
  "required": false,
27
27
  "description": "",
28
- "possibleValues": "TJoyIconsNames (220 values)"
28
+ "possibleValues": "TJoyIconsNames (253 values)"
29
29
  },
30
30
  {
31
31
  "name": "current",
@@ -52,7 +52,7 @@
52
52
  "type": "string",
53
53
  "required": false,
54
54
  "description": "",
55
- "possibleValues": "TJoyIconsNames (220 values)"
55
+ "possibleValues": "TJoyIconsNames (253 values)"
56
56
  },
57
57
  {
58
58
  "name": "statusColor",
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "JoyPasswordRequirement",
3
3
  "displayName": "VJoyPasswordRequirement",
4
- "description": "A component to display a password requirement status.\nThis is meant to be displayed under a VJoyInput of type password.",
4
+ "description": "A component to display a password requirement status.\nThis is meant to be displayed under VJoyInputPassword.",
5
5
  "category": "Forms",
6
6
  "props": [
7
7
  {
@@ -1,5 +1,4 @@
1
1
  import {TJoyIconsNames} from '../JoyIcon/JoyIcon.types';
2
- import VJoyProductTourInner from './VJoyProductTourInner.vue';
3
2
 
4
3
  export const PRODUCT_TOUR_POSITIONS = ['left', 'right', 'top', 'bottom'] as const;
5
4
  export type TJoyProductTourPositions = (typeof PRODUCT_TOUR_POSITIONS)[number];
@@ -9,7 +9,7 @@
9
9
  "type": "string",
10
10
  "required": false,
11
11
  "description": "",
12
- "possibleValues": "TJoyIconsNames (220 values)"
12
+ "possibleValues": "TJoyIconsNames (253 values)"
13
13
  },
14
14
  {
15
15
  "name": "steps",
@@ -194,7 +194,7 @@
194
194
  },
195
195
  {
196
196
  "name": "hide",
197
- "type": "(options?: { fireHideEvent: boolean; }) => void",
197
+ "type": "(options?: { fireHideEvent?: boolean | undefined; } | undefined) => void",
198
198
  "isMethod": true
199
199
  }
200
200
  ],
@@ -106,7 +106,7 @@
106
106
  "type": "string",
107
107
  "required": false,
108
108
  "description": "",
109
- "possibleValues": "TJoyIconsNames (220 values)"
109
+ "possibleValues": "TJoyIconsNames (253 values)"
110
110
  }
111
111
  ],
112
112
  "events": [
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "JoyText",
3
3
  "displayName": "VJoyText",
4
- "description": "This component is directly dependant from `@maltjoy/css` package, a CSS class utils package built on top of `@maltjoy/themes` that contains our design tokens.\n\n**Reminder**: values ending with 50 have same size but are bold.\n\nSee \"Fonts\" section here https://doc.malt.tech/joy-storybook/?path=/docs/css-framework--docs#advanced-fonts\n\n**Warning** If you use long text within a VJoyWrapper, you'll have to set a max-width to prevent the text from breaking the layout.",
4
+ "description": "This component uses CSS utility classes from `@maltjoy/themes` (`dist/default.css`).\n\n**Reminder**: values ending with 50 have same size but are bold.\n\nSee \"Fonts\" section here https://doc.malt.tech/joy-storybook/?path=/docs/css-framework--docs#advanced-fonts\n\n**Warning** If you use long text within a VJoyWrapper, you'll have to set a max-width to prevent the text from breaking the layout.",
5
5
  "category": "View",
6
6
  "props": [
7
7
  {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "JoyUserCard",
3
3
  "displayName": "VJoyUserCard",
4
- "description": "A comprehensive user profile card component for displaying user information in a structured layout.\nFeatures integrated avatar display, name/subtitle presentation, rating stars support, and optional\nlink functionality for navigation. Includes multiple customization slots for avatar, title, subtitle,\nand rating components, with full attribute inheritance for link behavior and accessibility.",
4
+ "description": "A comprehensive user profile card component for displaying user information in a structured layout.\nFeatures integrated avatar display, name/subtitle presentation, rating stars support, and optional\nlink functionality for navigation. Includes multiple customization slots for avatar, title, subtitle,\nand free content through the default slot, with full attribute inheritance for link behavior and\naccessibility. The user-card-rating-stars slot is deprecated; use the default slot for custom\nrating stars or other free content instead.",
5
5
  "category": "View",
6
6
  "props": [
7
7
  {
@@ -31,15 +31,6 @@
31
31
  "string"
32
32
  ]
33
33
  },
34
- {
35
- "name": "ratingValue",
36
- "type": "number | undefined",
37
- "required": false,
38
- "description": "Introduce a VJoyRatingStars component with given rating",
39
- "possibleValues": [
40
- "number"
41
- ]
42
- },
43
34
  {
44
35
  "name": "subTitle",
45
36
  "type": "string | undefined",
@@ -54,7 +45,7 @@
54
45
  "slots": [
55
46
  {
56
47
  "name": "default",
57
- "description": ""
48
+ "description": "Free content displayed below the user information. Use this slot for custom content like VJoyRatingStars."
58
49
  },
59
50
  {
60
51
  "name": "user-card-avatar",
@@ -70,7 +61,7 @@
70
61
  },
71
62
  {
72
63
  "name": "user-card-rating-stars",
73
- "description": "Use your own customized VJoyRatingStars here, if needed"
64
+ "description": ""
74
65
  }
75
66
  ],
76
67
  "exposed": [
@@ -89,11 +80,6 @@
89
80
  "type": "string | undefined",
90
81
  "isMethod": false
91
82
  },
92
- {
93
- "name": "ratingValue",
94
- "type": "number | undefined",
95
- "isMethod": false
96
- },
97
83
  {
98
84
  "name": "subTitle",
99
85
  "type": "string | undefined",
@@ -49,7 +49,7 @@
49
49
  "key",
50
50
  "user-photo",
51
51
  "link",
52
- "... (210 more)"
52
+ "... (243 more)"
53
53
  ]
54
54
  },
55
55
  {
@@ -9,7 +9,7 @@
9
9
  "type": "string",
10
10
  "required": false,
11
11
  "description": "",
12
- "possibleValues": "TJoyIconsNames (220 values)"
12
+ "possibleValues": "TJoyIconsNames (253 values)"
13
13
  },
14
14
  {
15
15
  "name": "title",
@@ -40,16 +40,12 @@
40
40
  ".joy-bgcolor-brand-primary-10",
41
41
  ".joy-color-brand-primary-30",
42
42
  ".joy-bgcolor-brand-primary-30",
43
- ".joy-color-brand-primary-50",
44
- ".joy-bgcolor-brand-primary-50",
45
43
  ".joy-color-brand-primary-70",
46
44
  ".joy-bgcolor-brand-primary-70",
47
45
  ".joy-color-brand-secondary-10",
48
46
  ".joy-bgcolor-brand-secondary-10",
49
47
  ".joy-color-brand-secondary-30",
50
48
  ".joy-bgcolor-brand-secondary-30",
51
- ".joy-color-brand-secondary-50",
52
- ".joy-bgcolor-brand-secondary-50",
53
49
  ".joy-color-brand-secondary-70",
54
50
  ".joy-bgcolor-brand-secondary-70",
55
51
  ".joy-color-neutral-0",
@@ -261,21 +257,7 @@
261
257
  ".joy-font-size-secondary-200",
262
258
  ".joy-font-size-secondary-400",
263
259
  ".joy-font-size-secondary-600",
264
- ".joy-font-size-secondary-800",
265
- ".joy-font-primary-150",
266
- ".joy-font-primary-200",
267
- ".joy-font-primary-250",
268
- ".joy-font-primary-300",
269
- ".joy-font-primary-350",
270
- ".joy-font-primary-400",
271
- ".joy-font-primary-450",
272
- ".joy-font-primary-600",
273
- ".joy-font-primary-650",
274
- ".joy-font-primary-800",
275
- ".joy-font-primary-850",
276
- ".joy-font-secondary-400",
277
- ".joy-font-secondary-600",
278
- ".joy-font-secondary-800"
260
+ ".joy-font-size-secondary-800"
279
261
  ],
280
262
  "elevation": [
281
263
  ".joy-core-elevation-0",