@maltjoy/mcp-server 0.1.2 → 0.3.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/README.md +34 -3
- package/dist/doc/VJoyAvailability/JoyAvailability.types.ts +1 -0
- package/dist/doc/VJoyAvatar/JoyAvatar.types.ts +6 -0
- package/dist/doc/VJoyAvatar/metadata.json +1 -1
- package/dist/doc/VJoyBadge/JoyBadge.types.ts +3 -0
- package/dist/doc/VJoyBadge/metadata.json +0 -14
- package/dist/doc/VJoyBadgeLevel/JoyBadgeLevel.types.ts +15 -0
- package/dist/doc/VJoyButton/JoyButton.types.ts +10 -0
- package/dist/doc/VJoyButton/metadata.json +1 -1
- package/dist/doc/VJoyCollapseItem/JoyCollapseItem.types.ts +8 -0
- package/dist/doc/VJoyCollapseItem/metadata.json +1 -1
- package/dist/doc/VJoyCompanyAvatar/JoyCompanyAvatar.types.ts +3 -0
- package/dist/doc/VJoyDialog/JoyDialog.types.ts +3 -0
- package/dist/doc/VJoyDot/VJoyDot.types.ts +1 -0
- package/dist/doc/VJoyDot/metadata.json +13 -14
- package/dist/doc/VJoyDrawer/JoyDrawer.types.ts +1 -0
- package/dist/doc/VJoyDropdown/JoyDropdown.types.ts +21 -0
- package/dist/doc/VJoyDropdownList/JoyDropdownList.types.ts +3 -0
- package/dist/doc/VJoyDropzone/metadata.json +11 -0
- package/dist/doc/VJoyFormError/metadata.json +16 -0
- package/dist/doc/VJoyFunnel/JoyFunnel.types.ts +5 -0
- package/dist/doc/VJoyHighlight/JoyHighlight.types.ts +4 -0
- package/dist/doc/VJoyHighlight/metadata.json +1 -1
- package/dist/doc/VJoyIcon/JoyIcon.types.ts +8 -0
- package/dist/doc/VJoyIcon/metadata.json +1 -1
- package/dist/doc/VJoyIndicators/JoyIndicators.types.ts +1 -0
- package/dist/doc/VJoyInput/JoyInput.types.ts +36 -0
- package/dist/doc/VJoyInput/metadata.json +7 -5
- package/dist/doc/VJoyLabel/JoyLabel.types.ts +3 -0
- package/dist/doc/VJoyLink/JoyLink.types.ts +2 -0
- package/dist/doc/VJoyLink/metadata.json +1 -1
- package/dist/doc/VJoyListItem/metadata.json +1 -1
- package/dist/doc/VJoyMenu/JoyMenu.types.ts +14 -0
- package/dist/doc/VJoyMenu/metadata.json +14 -4
- package/dist/doc/VJoyMenuItem/metadata.json +2 -2
- package/dist/doc/VJoyPanel/JoyPanel.types.ts +6 -0
- package/dist/doc/VJoyProductTour/JoyProductTour.types.ts +45 -0
- package/dist/doc/VJoyProductTour/metadata.json +1 -1
- package/dist/doc/VJoyProgressBar/JoyProgressBar.types.ts +3 -0
- package/dist/doc/VJoyRadio/JoyRadio.types.ts +1 -0
- package/dist/doc/VJoyRadio/metadata.json +16 -0
- package/dist/doc/VJoyRadioGroup/JoyRadioGroup.types.ts +1 -0
- package/dist/doc/VJoyRadioGroup/metadata.json +16 -0
- package/dist/doc/VJoyRatingStars/JoyRatingStars.types.ts +3 -0
- package/dist/doc/VJoyScreenLoader/VJoyScreenLoader.types.ts +1 -0
- package/dist/doc/VJoySelect/JoySelect.types.ts +3 -0
- package/dist/doc/VJoySelectableItem/VJoySelectableItem.types.ts +10 -0
- package/dist/doc/VJoySelectableItem/metadata.json +1 -1
- package/dist/doc/VJoySeparator/JoySeparator.types.ts +4 -0
- package/dist/doc/VJoySnackbar/JoySnackbar.types.ts +23 -0
- package/dist/doc/VJoySpinner/JoySpinner.types.ts +1 -0
- package/dist/doc/VJoyStep/TJoyStep.types.ts +1 -0
- package/dist/doc/VJoyTag/JoyTag.types.ts +19 -0
- package/dist/doc/VJoyTag/metadata.json +10 -9
- package/dist/doc/VJoyTagsInput/JoyTagsInput.types.ts +4 -0
- package/dist/doc/VJoyTagsInput/metadata.json +1 -0
- package/dist/doc/VJoyTagsList/JoyTagsList.types.ts +5 -0
- package/dist/doc/VJoyTagsList/metadata.json +112 -110
- package/dist/doc/VJoyTemplate/JoyTemplate.types.ts +1 -0
- package/dist/doc/VJoyText/JoyText.types.ts +14 -0
- package/dist/doc/VJoyWalkthrough/metadata.json +1 -1
- package/dist/doc/VJoyWalkthroughTrigger/metadata.json +1 -1
- package/dist/doc/VJoyWrapper/JoyWrapper.types.ts +9 -0
- package/dist/doc/css-classes.json +12 -0
- package/dist/doc/design-tokens.json +150 -148
- package/dist/doc/index.json +8 -8
- package/dist/index.js +15 -2
- package/dist/index.js.map +1 -1
- package/dist/tools/get-component-types.d.ts +31 -0
- package/dist/tools/get-component-types.d.ts.map +1 -0
- package/dist/tools/get-component-types.js +60 -0
- package/dist/tools/get-component-types.js.map +1 -0
- package/dist/tools/list-design-tokens.d.ts +8 -8
- package/dist/tools/list-design-tokens.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1,150 +1,152 @@
|
|
|
1
1
|
{
|
|
2
|
-
"colors":
|
|
3
|
-
"--joy-color-primary-10",
|
|
4
|
-
"--joy-color-primary-30",
|
|
5
|
-
"--joy-color-primary-50",
|
|
6
|
-
"--joy-color-primary-70",
|
|
7
|
-
"--joy-color-primary-90",
|
|
8
|
-
"--joy-color-secondary-10",
|
|
9
|
-
"--joy-color-secondary-30",
|
|
10
|
-
"--joy-color-secondary-50",
|
|
11
|
-
"--joy-color-secondary-90",
|
|
12
|
-
"--joy-color-tertiary-10",
|
|
13
|
-
"--joy-color-tertiary-30",
|
|
14
|
-
"--joy-color-tertiary-50",
|
|
15
|
-
"--joy-color-tertiary-70",
|
|
16
|
-
"--joy-color-quaternary-10",
|
|
17
|
-
"--joy-color-quaternary-30",
|
|
18
|
-
"--joy-color-quaternary-50",
|
|
19
|
-
"--joy-color-quaternary-70",
|
|
20
|
-
"--joy-color-quaternary-100",
|
|
21
|
-
"--joy-color-brand-primary-10",
|
|
22
|
-
"--joy-color-brand-primary-30",
|
|
23
|
-
"--joy-color-brand-primary-50",
|
|
24
|
-
"--joy-color-brand-primary-70",
|
|
25
|
-
"--joy-color-brand-secondary-10",
|
|
26
|
-
"--joy-color-brand-secondary-30",
|
|
27
|
-
"--joy-color-brand-secondary-50",
|
|
28
|
-
"--joy-color-brand-secondary-70",
|
|
29
|
-
"--joy-color-neutral-
|
|
30
|
-
"--joy-color-neutral-
|
|
31
|
-
"--joy-color-neutral-
|
|
32
|
-
"--joy-color-neutral-
|
|
33
|
-
"--joy-color-neutral-
|
|
34
|
-
"--joy-color-neutral-
|
|
35
|
-
"--joy-color-neutral-
|
|
36
|
-
"--joy-color-
|
|
37
|
-
"--joy-color-success-
|
|
38
|
-
"--joy-color-success-
|
|
39
|
-
"--joy-color-
|
|
40
|
-
"--joy-color-information-
|
|
41
|
-
"--joy-color-information-
|
|
42
|
-
"--joy-color-
|
|
43
|
-
"--joy-color-warning-
|
|
44
|
-
"--joy-color-warning-
|
|
45
|
-
"--joy-color-
|
|
46
|
-
"--joy-color-error-
|
|
47
|
-
"--joy-color-error-
|
|
48
|
-
"--joy-color-
|
|
49
|
-
"--joy-color-ai-primary-
|
|
50
|
-
"--joy-color-ai-primary-
|
|
51
|
-
"--joy-color-ai-primary-
|
|
52
|
-
"--joy-color-ai-
|
|
53
|
-
"--joy-color-ai-gradient-
|
|
54
|
-
"--joy-color-ai-gradient-
|
|
55
|
-
"--joy-color-ai-gradient-100",
|
|
56
|
-
"--joy-color-
|
|
57
|
-
"--joy-color-text-
|
|
58
|
-
"--joy-color-text-
|
|
59
|
-
"--joy-color-
|
|
60
|
-
"--joy-color-state-disabled-
|
|
61
|
-
"--joy-color-state-
|
|
62
|
-
"--joy-color-state-
|
|
63
|
-
"--joy-color-state-
|
|
64
|
-
"--joy-color-state-
|
|
65
|
-
"--joy-color-
|
|
66
|
-
"--joy-color-
|
|
67
|
-
"--joy-color-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
"--joy-core-spacing-2",
|
|
72
|
-
"--joy-core-spacing-
|
|
73
|
-
"--joy-core-spacing-
|
|
74
|
-
"--joy-core-spacing-
|
|
75
|
-
"--joy-core-spacing-
|
|
76
|
-
"--joy-core-spacing-
|
|
77
|
-
"--joy-core-spacing-
|
|
78
|
-
"--joy-core-spacing-
|
|
79
|
-
"--joy-core-spacing-
|
|
80
|
-
"--joy-core-spacing-
|
|
81
|
-
"--joy-core-spacing-12",
|
|
82
|
-
"--joy-core-spacing-base"
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
"--joy-
|
|
88
|
-
"--joy-
|
|
89
|
-
"--joy-font-
|
|
90
|
-
"--joy-font-
|
|
91
|
-
"--joy-font-
|
|
92
|
-
"--joy-font-
|
|
93
|
-
"--joy-font-size-primary-
|
|
94
|
-
"--joy-font-size-primary-
|
|
95
|
-
"--joy-font-size-primary-
|
|
96
|
-
"--joy-font-size-primary-
|
|
97
|
-
"--joy-font-size-
|
|
98
|
-
"--joy-font-size-
|
|
99
|
-
"--joy-font-size-secondary-
|
|
100
|
-
"--joy-font-size-secondary-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
"--joy-core-radius-
|
|
106
|
-
"--joy-core-radius-
|
|
107
|
-
"--joy-core-radius-
|
|
108
|
-
"--joy-core-radius-
|
|
109
|
-
"--joy-core-radius-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
"--joy-core-elevation-
|
|
115
|
-
"--joy-core-elevation-
|
|
116
|
-
"--joy-core-elevation-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
"--joy-core-z-index-
|
|
122
|
-
"--joy-core-z-index-
|
|
123
|
-
"--joy-core-z-index-
|
|
124
|
-
"--joy-core-z-index-
|
|
125
|
-
"--joy-core-z-index-
|
|
126
|
-
"--joy-core-z-index-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
"--joy-transition-duration-
|
|
132
|
-
"--joy-transition-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
"--joy-form-
|
|
138
|
-
"--joy-form-field-height-
|
|
139
|
-
"--joy-form-field-height-
|
|
140
|
-
"--joy-form-field-height-
|
|
141
|
-
"--joy-form-field-
|
|
142
|
-
"--joy-form-field-
|
|
143
|
-
"--joy-form-field-radius-
|
|
144
|
-
"--joy-form-field-radius-
|
|
145
|
-
"--joy-form-field-radius-
|
|
146
|
-
"--joy-form-field-
|
|
147
|
-
"--joy-form-field-
|
|
148
|
-
"--joy-form-field-focus-
|
|
149
|
-
|
|
2
|
+
"colors": {
|
|
3
|
+
"--joy-color-primary-10": "#fff3f3",
|
|
4
|
+
"--joy-color-primary-30": "#ff7370",
|
|
5
|
+
"--joy-color-primary-50": "#fc5757",
|
|
6
|
+
"--joy-color-primary-70": "#d4524f",
|
|
7
|
+
"--joy-color-primary-90": "#a63633",
|
|
8
|
+
"--joy-color-secondary-10": "#ecf3f4",
|
|
9
|
+
"--joy-color-secondary-30": "#0f6378",
|
|
10
|
+
"--joy-color-secondary-50": "#035266",
|
|
11
|
+
"--joy-color-secondary-90": "#014554",
|
|
12
|
+
"--joy-color-tertiary-10": "#e3f8fb",
|
|
13
|
+
"--joy-color-tertiary-30": "#a8eaf3",
|
|
14
|
+
"--joy-color-tertiary-50": "#00c0db",
|
|
15
|
+
"--joy-color-tertiary-70": "#00aac1",
|
|
16
|
+
"--joy-color-quaternary-10": "#fffbed",
|
|
17
|
+
"--joy-color-quaternary-30": "#fccf5e",
|
|
18
|
+
"--joy-color-quaternary-50": "#ffc200",
|
|
19
|
+
"--joy-color-quaternary-70": "#f0b021",
|
|
20
|
+
"--joy-color-quaternary-100": "#d29614",
|
|
21
|
+
"--joy-color-brand-primary-10": "#ffe5fc",
|
|
22
|
+
"--joy-color-brand-primary-30": "#ffb0f7",
|
|
23
|
+
"--joy-color-brand-primary-50": "#ff91f0",
|
|
24
|
+
"--joy-color-brand-primary-70": "#eb73de",
|
|
25
|
+
"--joy-color-brand-secondary-10": "#e4eaff",
|
|
26
|
+
"--joy-color-brand-secondary-30": "#264ffa",
|
|
27
|
+
"--joy-color-brand-secondary-50": "#0529fc",
|
|
28
|
+
"--joy-color-brand-secondary-70": "#0833bd",
|
|
29
|
+
"--joy-color-neutral-0": "#ffffff",
|
|
30
|
+
"--joy-color-neutral-10": "#fcfcfc",
|
|
31
|
+
"--joy-color-neutral-20": "#f7f7f5",
|
|
32
|
+
"--joy-color-neutral-30": "#e0ded9",
|
|
33
|
+
"--joy-color-neutral-40": "#737370",
|
|
34
|
+
"--joy-color-neutral-50": "#4b4b4b",
|
|
35
|
+
"--joy-color-neutral-60": "#333330",
|
|
36
|
+
"--joy-color-neutral-70": "#181818",
|
|
37
|
+
"--joy-color-success-10": "#f2f8e9",
|
|
38
|
+
"--joy-color-success-50": "#81b928",
|
|
39
|
+
"--joy-color-success-90": "#659b1c",
|
|
40
|
+
"--joy-color-information-10": "#eaf5ff",
|
|
41
|
+
"--joy-color-information-50": "#2fa0fc",
|
|
42
|
+
"--joy-color-information-90": "#175db5",
|
|
43
|
+
"--joy-color-warning-10": "#fef6e7",
|
|
44
|
+
"--joy-color-warning-50": "#f2a10c",
|
|
45
|
+
"--joy-color-warning-90": "#ae6606",
|
|
46
|
+
"--joy-color-error-10": "#fceaea",
|
|
47
|
+
"--joy-color-error-50": "#e02d2d",
|
|
48
|
+
"--joy-color-error-90": "#a1162e",
|
|
49
|
+
"--joy-color-ai-primary-10": "#f2e0f5",
|
|
50
|
+
"--joy-color-ai-primary-30": "#9035a2",
|
|
51
|
+
"--joy-color-ai-primary-70": "#5f246a",
|
|
52
|
+
"--joy-color-ai-primary-100": "#3d1744",
|
|
53
|
+
"--joy-color-ai-gradient-10": "linear-gradient(90deg, rgba(144,53,162,0.3) 0%, rgba(252,87,87,0.3) 100%)",
|
|
54
|
+
"--joy-color-ai-gradient-30": "linear-gradient(90deg, rgba(144,53,162,1) 0%, rgba(252,87,87,0.85) 100%)",
|
|
55
|
+
"--joy-color-ai-gradient-70": "linear-gradient(90deg, rgba(109,40,123,1) 0%, rgba(251,35,35,0.85) 100%)",
|
|
56
|
+
"--joy-color-ai-gradient-100": "linear-gradient(90deg, rgba(75,28,85,1) 0%, rgba(230,4,4,0.85) 100%)",
|
|
57
|
+
"--joy-color-text-body": "var(--joy-color-neutral-50)",
|
|
58
|
+
"--joy-color-text-title": "var(--joy-color-neutral-60)",
|
|
59
|
+
"--joy-color-text-disabled": "var(--joy-color-neutral-30)",
|
|
60
|
+
"--joy-color-state-disabled-border": "var(--joy-color-neutral-30)",
|
|
61
|
+
"--joy-color-state-disabled-background": "var(--joy-color-neutral-30)",
|
|
62
|
+
"--joy-color-state-focus": "var(--joy-color-secondary-50)",
|
|
63
|
+
"--joy-color-state-hover": "var(--joy-color-secondary-50)",
|
|
64
|
+
"--joy-color-state-error": "var(--joy-color-error-50)",
|
|
65
|
+
"--joy-color-state-hover-error": "var(--joy-color-error-90)",
|
|
66
|
+
"--joy-color-overlay": "rgba(51, 51, 48, 0.4)",
|
|
67
|
+
"--joy-color-background-skeleton": "linear-gradient(110deg, var(--joy-color-neutral-20) 8%, var(--joy-color-neutral-10) 18%, var(--joy-color-neutral-20) 33%)",
|
|
68
|
+
"--joy-color-shadow-base": "rgba(24, 24, 24, 0.16)"
|
|
69
|
+
},
|
|
70
|
+
"spacing": {
|
|
71
|
+
"--joy-core-spacing-0": "calc(var(--joy-core-spacing-base) / 2)",
|
|
72
|
+
"--joy-core-spacing-1": "calc(var(--joy-core-spacing-base) * 1)",
|
|
73
|
+
"--joy-core-spacing-2": "calc(var(--joy-core-spacing-base) * 2)",
|
|
74
|
+
"--joy-core-spacing-3": "calc(var(--joy-core-spacing-base) * 3)",
|
|
75
|
+
"--joy-core-spacing-4": "calc(var(--joy-core-spacing-base) * 4)",
|
|
76
|
+
"--joy-core-spacing-5": "calc(var(--joy-core-spacing-base) * 5)",
|
|
77
|
+
"--joy-core-spacing-6": "calc(var(--joy-core-spacing-base) * 6)",
|
|
78
|
+
"--joy-core-spacing-7": "calc(var(--joy-core-spacing-base) * 7)",
|
|
79
|
+
"--joy-core-spacing-8": "calc(var(--joy-core-spacing-base) * 8)",
|
|
80
|
+
"--joy-core-spacing-9": "calc(var(--joy-core-spacing-base) * 10)",
|
|
81
|
+
"--joy-core-spacing-10": "calc(var(--joy-core-spacing-base) * 12)",
|
|
82
|
+
"--joy-core-spacing-11": "calc(var(--joy-core-spacing-base) * 14)",
|
|
83
|
+
"--joy-core-spacing-12": "calc(var(--joy-core-spacing-base) * 16)",
|
|
84
|
+
"--joy-core-spacing-base": "4px"
|
|
85
|
+
},
|
|
86
|
+
"typography": {
|
|
87
|
+
"--joy-line-height-small": "1.05",
|
|
88
|
+
"--joy-line-height-large": "1.25",
|
|
89
|
+
"--joy-font-weight-normal": "500",
|
|
90
|
+
"--joy-font-weight-bold": "700",
|
|
91
|
+
"--joy-font-family-base": "'Moderat', Arial, Helvetica, sans-serif",
|
|
92
|
+
"--joy-font-family-title": "'Agrandir Tight', Arial, Helvetica, sans-serif",
|
|
93
|
+
"--joy-font-size-primary-100": "11px",
|
|
94
|
+
"--joy-font-size-primary-200": "12px",
|
|
95
|
+
"--joy-font-size-primary-300": "14px",
|
|
96
|
+
"--joy-font-size-primary-400": "16px",
|
|
97
|
+
"--joy-font-size-primary-600": "20px",
|
|
98
|
+
"--joy-font-size-primary-800": "24px",
|
|
99
|
+
"--joy-font-size-secondary-200": "28px",
|
|
100
|
+
"--joy-font-size-secondary-400": "36px",
|
|
101
|
+
"--joy-font-size-secondary-600": "46px",
|
|
102
|
+
"--joy-font-size-secondary-800": "52px"
|
|
103
|
+
},
|
|
104
|
+
"radius": {
|
|
105
|
+
"--joy-core-radius-0": "0",
|
|
106
|
+
"--joy-core-radius-1": "2px",
|
|
107
|
+
"--joy-core-radius-2": "4px",
|
|
108
|
+
"--joy-core-radius-3": "8px",
|
|
109
|
+
"--joy-core-radius-4": "16px",
|
|
110
|
+
"--joy-core-radius-5": "32px",
|
|
111
|
+
"--joy-core-radius-6": "50%"
|
|
112
|
+
},
|
|
113
|
+
"elevation": {
|
|
114
|
+
"--joy-core-elevation-0": "0 0 0 0 rgba(24, 24, 24, 0.16)",
|
|
115
|
+
"--joy-core-elevation-1": "0 2px 4px 0 rgba(24, 24, 24, 0.16)",
|
|
116
|
+
"--joy-core-elevation-2": "0 4px 12px 0 rgba(24, 24, 24, 0.16)",
|
|
117
|
+
"--joy-core-elevation-3": "0 6px 24px 0 rgba(24, 24, 24, 0.16)",
|
|
118
|
+
"--joy-core-elevation-4": "0 8px 32px 0 rgba(24, 24, 24, 0.16)"
|
|
119
|
+
},
|
|
120
|
+
"zIndex": {
|
|
121
|
+
"--joy-core-z-index-fixed-content": "20",
|
|
122
|
+
"--joy-core-z-index-dropdown": "23",
|
|
123
|
+
"--joy-core-z-index-backdrop": "1050",
|
|
124
|
+
"--joy-core-z-index-product-tour": "1060",
|
|
125
|
+
"--joy-core-z-index-walkthrough": "1070",
|
|
126
|
+
"--joy-core-z-index-dialog": "1080",
|
|
127
|
+
"--joy-core-z-index-tooltip": "1090",
|
|
128
|
+
"--joy-core-z-index-snackbar": "1100"
|
|
129
|
+
},
|
|
130
|
+
"transitions": {
|
|
131
|
+
"--joy-transition-duration-short": "100ms",
|
|
132
|
+
"--joy-transition-duration-default": "200ms",
|
|
133
|
+
"--joy-transition-duration-long": "400ms",
|
|
134
|
+
"--joy-transition-timing-function": "ease-in-out"
|
|
135
|
+
},
|
|
136
|
+
"forms": {
|
|
137
|
+
"--joy-form-border-width": "2px",
|
|
138
|
+
"--joy-form-field-height-xxsmall": "var(--joy-core-spacing-6)",
|
|
139
|
+
"--joy-form-field-height-xsmall": "var(--joy-core-spacing-8)",
|
|
140
|
+
"--joy-form-field-height-small": "var(--joy-core-spacing-9)",
|
|
141
|
+
"--joy-form-field-height-medium": "var(--joy-core-spacing-10)",
|
|
142
|
+
"--joy-form-field-height-large": "var(--joy-core-spacing-12)",
|
|
143
|
+
"--joy-form-field-radius-xxsmall": "calc(var(--joy-form-field-height-xxsmall) / 2)",
|
|
144
|
+
"--joy-form-field-radius-xsmall": "calc(var(--joy-form-field-height-xsmall) / 2)",
|
|
145
|
+
"--joy-form-field-radius-small": "calc(var(--joy-form-field-height-small) / 2)",
|
|
146
|
+
"--joy-form-field-radius-medium": "calc(var(--joy-form-field-height-medium) / 2)",
|
|
147
|
+
"--joy-form-field-radius-large": "calc(var(--joy-form-field-height-large) / 2)",
|
|
148
|
+
"--joy-form-field-focus-color": "var(--joy-color-information-50)",
|
|
149
|
+
"--joy-form-field-focus-width": "2px",
|
|
150
|
+
"--joy-form-field-focus-shadow": "0 0 0 var(--joy-form-field-focus-width) var(--joy-form-field-focus-color)"
|
|
151
|
+
}
|
|
150
152
|
}
|
package/dist/doc/index.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
|
-
"generated": "
|
|
3
|
-
"version": "0.
|
|
2
|
+
"generated": "2026-02-20T10:05:20.068Z",
|
|
3
|
+
"version": "1.0.0",
|
|
4
4
|
"statistics": {
|
|
5
5
|
"totalComponents": 74,
|
|
6
|
-
"totalProps":
|
|
6
|
+
"totalProps": 410,
|
|
7
7
|
"totalEvents": 57,
|
|
8
8
|
"totalSlots": 136,
|
|
9
9
|
"componentsWithVModel": 18,
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
{
|
|
47
47
|
"name": "VJoyBadge",
|
|
48
48
|
"path": "VJoyBadge/metadata.json",
|
|
49
|
-
"propsCount":
|
|
49
|
+
"propsCount": 3,
|
|
50
50
|
"eventsCount": 0,
|
|
51
51
|
"slotsCount": 1,
|
|
52
52
|
"hasError": false
|
|
@@ -182,7 +182,7 @@
|
|
|
182
182
|
{
|
|
183
183
|
"name": "VJoyDropzone",
|
|
184
184
|
"path": "VJoyDropzone/metadata.json",
|
|
185
|
-
"propsCount":
|
|
185
|
+
"propsCount": 11,
|
|
186
186
|
"eventsCount": 0,
|
|
187
187
|
"slotsCount": 4,
|
|
188
188
|
"hasError": false
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
{
|
|
207
207
|
"name": "VJoyFormError",
|
|
208
208
|
"path": "VJoyFormError/metadata.json",
|
|
209
|
-
"propsCount":
|
|
209
|
+
"propsCount": 4,
|
|
210
210
|
"eventsCount": 0,
|
|
211
211
|
"slotsCount": 1,
|
|
212
212
|
"hasError": false
|
|
@@ -382,7 +382,7 @@
|
|
|
382
382
|
{
|
|
383
383
|
"name": "VJoyRadio",
|
|
384
384
|
"path": "VJoyRadio/metadata.json",
|
|
385
|
-
"propsCount":
|
|
385
|
+
"propsCount": 8,
|
|
386
386
|
"eventsCount": 1,
|
|
387
387
|
"slotsCount": 5,
|
|
388
388
|
"hasError": false
|
|
@@ -390,7 +390,7 @@
|
|
|
390
390
|
{
|
|
391
391
|
"name": "VJoyRadioGroup",
|
|
392
392
|
"path": "VJoyRadioGroup/metadata.json",
|
|
393
|
-
"propsCount":
|
|
393
|
+
"propsCount": 4,
|
|
394
394
|
"eventsCount": 0,
|
|
395
395
|
"slotsCount": 2,
|
|
396
396
|
"hasError": false
|
package/dist/index.js
CHANGED
|
@@ -9,6 +9,7 @@ import { listComponentsTool, handleListComponents } from './tools/list-component
|
|
|
9
9
|
import { getComponentInfoTool, handleGetComponentInfo } from './tools/get-component-info.js';
|
|
10
10
|
import { listDesignTokensTool, handleListDesignTokens } from './tools/list-design-tokens.js';
|
|
11
11
|
import { listCssClassesTool, handleListCssClasses } from './tools/list-css-classes.js';
|
|
12
|
+
import { getComponentTypesTool, handleGetComponentTypes } from './tools/get-component-types.js';
|
|
12
13
|
const __filename = fileURLToPath(import.meta.url);
|
|
13
14
|
const __dirname = dirname(__filename);
|
|
14
15
|
/**
|
|
@@ -20,7 +21,7 @@ class JoyMcpServer {
|
|
|
20
21
|
constructor() {
|
|
21
22
|
this.server = new Server({
|
|
22
23
|
name: 'joy-design-system',
|
|
23
|
-
version: '0.
|
|
24
|
+
version: '0.3.0',
|
|
24
25
|
}, {
|
|
25
26
|
capabilities: {
|
|
26
27
|
tools: {},
|
|
@@ -33,7 +34,7 @@ class JoyMcpServer {
|
|
|
33
34
|
// List available tools
|
|
34
35
|
this.server.setRequestHandler(ListToolsRequestSchema, async () => {
|
|
35
36
|
return {
|
|
36
|
-
tools: [listComponentsTool, getComponentInfoTool, listDesignTokensTool, listCssClassesTool],
|
|
37
|
+
tools: [listComponentsTool, getComponentInfoTool, getComponentTypesTool, listDesignTokensTool, listCssClassesTool],
|
|
37
38
|
};
|
|
38
39
|
});
|
|
39
40
|
// Handle tool calls
|
|
@@ -64,6 +65,18 @@ class JoyMcpServer {
|
|
|
64
65
|
],
|
|
65
66
|
};
|
|
66
67
|
}
|
|
68
|
+
case 'joy_get_component_types': {
|
|
69
|
+
const componentName = args?.componentName;
|
|
70
|
+
const result = await handleGetComponentTypes(componentName);
|
|
71
|
+
return {
|
|
72
|
+
content: [
|
|
73
|
+
{
|
|
74
|
+
type: 'text',
|
|
75
|
+
text: JSON.stringify(result, null, 2),
|
|
76
|
+
},
|
|
77
|
+
],
|
|
78
|
+
};
|
|
79
|
+
}
|
|
67
80
|
case 'joy_list_design_tokens': {
|
|
68
81
|
const result = handleListDesignTokens();
|
|
69
82
|
return {
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAEA,OAAO,EAAE,MAAM,EAAE,MAAM,2CAA2C,CAAC;AACnE,OAAO,EAAE,oBAAoB,EAAE,MAAM,2CAA2C,CAAC;AACjF,OAAO,EACL,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAChC,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAErC,OAAO,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAC;AACtF,OAAO,EAAE,oB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AC,EAAE,CAAC;QACxD,OAAO,CAAC,KAAK,CAAC,mDAAmD,CAAC,CAAC;IACrE,CAAC;IAED,OAAO,CAAC,KAAK,CAAC,gCAAgC,CAAC,CAAC;IAChD,OAAO,IAAI,CAAC;AACd,CAAC;AAED,uCAAuC;AACvC,IAAI,CAAC,mBAAmB,EAAE,EAAE,CAAC;IAC3B,OAAO,CAAC,KAAK,CAAC,0CAA0C,CAAC,CAAC;IAC1D,OAAO,CAAC,KAAK,CAAC,0EAA0E,CAAC,CAAC;IAC1F,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC;AAED,mBAAmB;AACnB,MAAM,MAAM,GAAG,IAAI,YAAY,EAAE,CAAC;AAClC,MAAM,CAAC,GAAG,EAAE,CAAC,KAAK,CAAC,CAAC,KAAK,EAAE,EAAE;IAC3B,OAAO,CAAC,KAAK,CAAC,yBAAyB,EAAE,KAAK,CAAC,CAAC;IAChD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tool definition for getting TypeScript types associated with a Joy Vue component
|
|
3
|
+
*/
|
|
4
|
+
export declare const getComponentTypesTool: {
|
|
5
|
+
name: string;
|
|
6
|
+
description: string;
|
|
7
|
+
inputSchema: {
|
|
8
|
+
type: string;
|
|
9
|
+
properties: {
|
|
10
|
+
componentName: {
|
|
11
|
+
type: string;
|
|
12
|
+
description: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
required: string[];
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
export interface ComponentTypesResult {
|
|
19
|
+
componentName: string;
|
|
20
|
+
files: {
|
|
21
|
+
filename: string;
|
|
22
|
+
content: string;
|
|
23
|
+
}[];
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Handler for the get component types tool
|
|
27
|
+
*/
|
|
28
|
+
export declare function handleGetComponentTypes(componentName: string): Promise<ComponentTypesResult | {
|
|
29
|
+
error: string;
|
|
30
|
+
}>;
|
|
31
|
+
//# sourceMappingURL=get-component-types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-component-types.d.ts","sourceRoot":"","sources":["../../src/tools/get-component-types.ts"],"names":[],"mappings":"AAOA;;GAEG;AACH,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;CAgBjC,CAAC;AAcF,MAAM,WAAW,oBAAoB;IACnC,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,EAAE;QAAE,QAAQ,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE,EAAE,CAAC;CAChD;AAED;;GAEG;AACH,wBAAsB,uBAAuB,CAC3C,aAAa,EAAE,MAAM,GACpB,OAAO,CAAC,oBAAoB,GAAG;IAAE,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAwBnD"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { readFileSync, readdirSync } from 'fs';
|
|
2
|
+
import { fileURLToPath } from 'url';
|
|
3
|
+
import { dirname, join } from 'path';
|
|
4
|
+
const __filename = fileURLToPath(import.meta.url);
|
|
5
|
+
const __dirname = dirname(__filename);
|
|
6
|
+
/**
|
|
7
|
+
* Tool definition for getting TypeScript types associated with a Joy Vue component
|
|
8
|
+
*/
|
|
9
|
+
export const getComponentTypesTool = {
|
|
10
|
+
name: 'joy_get_component_types',
|
|
11
|
+
description: 'Retrieves the TypeScript types definition file associated with a specific Joy Vue3 component. ' +
|
|
12
|
+
'These types define the allowed values for props (variants, sizes, etc.). ' +
|
|
13
|
+
'Provide the exact component name (e.g., VJoyButton).',
|
|
14
|
+
inputSchema: {
|
|
15
|
+
type: 'object',
|
|
16
|
+
properties: {
|
|
17
|
+
componentName: {
|
|
18
|
+
type: 'string',
|
|
19
|
+
description: 'The exact name of the component (e.g., VJoyButton, VJoyAvatar)',
|
|
20
|
+
},
|
|
21
|
+
},
|
|
22
|
+
required: ['componentName'],
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Find all *.types.ts files in a component doc directory.
|
|
27
|
+
*/
|
|
28
|
+
function findTypesFiles(componentDir) {
|
|
29
|
+
try {
|
|
30
|
+
const entries = readdirSync(componentDir);
|
|
31
|
+
return entries.filter((f) => f.endsWith('.types.ts'));
|
|
32
|
+
}
|
|
33
|
+
catch {
|
|
34
|
+
return [];
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Handler for the get component types tool
|
|
39
|
+
*/
|
|
40
|
+
export async function handleGetComponentTypes(componentName) {
|
|
41
|
+
if (!componentName || typeof componentName !== 'string') {
|
|
42
|
+
return {
|
|
43
|
+
error: 'Invalid component name. Please provide a valid component name (e.g., VJoyButton).',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
const componentDir = join(__dirname, '..', 'doc', componentName);
|
|
47
|
+
const typesFiles = findTypesFiles(componentDir);
|
|
48
|
+
if (typesFiles.length === 0) {
|
|
49
|
+
return {
|
|
50
|
+
error: `No types file found for component "${componentName}". ` +
|
|
51
|
+
'Use joy_list_components to get a list of available components.',
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
const files = typesFiles.map((filename) => ({
|
|
55
|
+
filename,
|
|
56
|
+
content: readFileSync(join(componentDir, filename), 'utf-8'),
|
|
57
|
+
}));
|
|
58
|
+
return { componentName, files };
|
|
59
|
+
}
|
|
60
|
+
//# sourceMappingURL=get-component-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-component-types.js","sourceRoot":"","sources":["../../src/tools/get-component-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,WAAW,EAAE,MAAM,IAAI,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,KAAK,CAAC;AACpC,OAAO,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,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EAAgE;SACnE,CAAC;IACJ,CAAC;IAED,MAAM,KAAK,GAAG,UAAU,CAAC,GAAG,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC;QAC1C,QAAQ;QACR,OAAO,EAAE,YAAY,CAAC,IAAI,CAAC,YAAY,EAAE,QAAQ,CAAC,EAAE,OAAO,CAAC;KAC7D,CAAC,CAAC,CAAC;IAEJ,OAAO,EAAE,aAAa,EAAE,KAAK,EAAE,CAAC;AAClC,CAAC"}
|
|
@@ -8,14 +8,14 @@ export declare const listDesignTokensTool: {
|
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
10
|
export interface DesignTokensByDomain {
|
|
11
|
-
colors: string
|
|
12
|
-
spacing: string
|
|
13
|
-
typography: string
|
|
14
|
-
radius: string
|
|
15
|
-
elevation: string
|
|
16
|
-
zIndex: string
|
|
17
|
-
transitions: string
|
|
18
|
-
forms: string
|
|
11
|
+
colors: Record<string, string>;
|
|
12
|
+
spacing: Record<string, string>;
|
|
13
|
+
typography: Record<string, string>;
|
|
14
|
+
radius: Record<string, string>;
|
|
15
|
+
elevation: Record<string, string>;
|
|
16
|
+
zIndex: Record<string, string>;
|
|
17
|
+
transitions: Record<string, string>;
|
|
18
|
+
forms: Record<string, string>;
|
|
19
19
|
}
|
|
20
20
|
export declare function handleListDesignTokens(): DesignTokensByDomain;
|
|
21
21
|
//# sourceMappingURL=list-design-tokens.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"list-design-tokens.d.ts","sourceRoot":"","sources":["../../src/tools/list-design-tokens.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,oBAAoB;;;;;;;;CAQhC,CAAC;AAEF,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,EAAE,CAAC;
|
|
1
|
+
{"version":3,"file":"list-design-tokens.d.ts","sourceRoot":"","sources":["../../src/tools/list-design-tokens.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,oBAAoB;;;;;;;;CAQhC,CAAC;AAEF,MAAM,WAAW,oBAAoB;IACnC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACnC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAClC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC/B,WAAW,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACpC,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC/B;AAED,wBAAgB,sBAAsB,IAAI,oBAAoB,CAI7D"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@maltjoy/mcp-server",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"description": "MCP server for Joy Design System - exposes Vue3 components information",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"author": "Maltjoy",
|
|
28
28
|
"license": "MIT",
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@modelcontextprotocol/sdk": "
|
|
30
|
+
"@modelcontextprotocol/sdk": "1.25.2"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@types/node": "20.14.2",
|