@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.
- package/README.md +49 -20
- package/dist/doc/VJoyAvatar/metadata.json +1 -1
- package/dist/doc/VJoyButton/metadata.json +1 -17
- package/dist/doc/VJoyCollapseItem/metadata.json +1 -1
- package/dist/doc/VJoyDropdownList/metadata.json +1 -1
- package/dist/doc/VJoyDropzone/metadata.json +36 -1
- package/dist/doc/VJoyFormError/metadata.json +0 -14
- package/dist/doc/VJoyHighlight/metadata.json +1 -1
- package/dist/doc/VJoyIcon/JoyIcon.types.ts +1 -1
- package/dist/doc/VJoyIcon/metadata.json +1 -2
- package/dist/doc/VJoyIconButton/metadata.json +2 -2
- package/dist/doc/VJoyInput/JoyInput.types.ts +1 -6
- package/dist/doc/VJoyInput/metadata.json +6 -15
- package/dist/doc/VJoyInputNumber/metadata.json +23 -18
- package/dist/doc/VJoyInputPassword/metadata.json +1 -15
- package/dist/doc/VJoyLink/metadata.json +1 -1
- package/dist/doc/VJoyListItem/metadata.json +1 -1
- package/dist/doc/VJoyMenu/metadata.json +33 -0
- package/dist/doc/VJoyMenuItem/metadata.json +2 -2
- package/dist/doc/VJoyPasswordRequirement/metadata.json +1 -1
- package/dist/doc/VJoyProductTour/JoyProductTour.types.ts +0 -1
- package/dist/doc/VJoyProductTour/metadata.json +2 -2
- package/dist/doc/VJoySelectableItem/metadata.json +1 -1
- package/dist/doc/VJoyText/metadata.json +1 -1
- package/dist/doc/VJoyUserCard/metadata.json +3 -17
- package/dist/doc/VJoyWalkthrough/metadata.json +1 -1
- package/dist/doc/VJoyWalkthroughTrigger/metadata.json +1 -1
- package/dist/doc/css-classes.json +1 -19
- package/dist/doc/design-tokens.json +2242 -150
- package/dist/doc/index.json +19 -29
- package/dist/index.js +71 -3
- package/dist/index.js.map +1 -1
- package/dist/tokens/build-catalog.d.ts +6 -0
- package/dist/tokens/build-catalog.d.ts.map +1 -0
- package/dist/tokens/build-catalog.js +141 -0
- package/dist/tokens/build-catalog.js.map +1 -0
- package/dist/tokens/query.d.ts +49 -0
- package/dist/tokens/query.d.ts.map +1 -0
- package/dist/tokens/query.js +290 -0
- package/dist/tokens/query.js.map +1 -0
- package/dist/tokens/types.d.ts +44 -0
- package/dist/tokens/types.d.ts.map +1 -0
- package/dist/tokens/types.js +23 -0
- package/dist/tokens/types.js.map +1 -0
- package/dist/tools/get-token-group.d.ts +26 -0
- package/dist/tools/get-token-group.d.ts.map +1 -0
- package/dist/tools/get-token-group.js +24 -0
- package/dist/tools/get-token-group.js.map +1 -0
- package/dist/tools/get-token-usage.d.ts +24 -0
- package/dist/tools/get-token-usage.d.ts.map +1 -0
- package/dist/tools/get-token-usage.js +22 -0
- package/dist/tools/get-token-usage.js.map +1 -0
- package/dist/tools/get-token.d.ts +18 -0
- package/dist/tools/get-token.d.ts.map +1 -0
- package/dist/tools/get-token.js +20 -0
- package/dist/tools/get-token.js.map +1 -0
- package/dist/tools/list-design-tokens.d.ts +21 -12
- package/dist/tools/list-design-tokens.d.ts.map +1 -1
- package/dist/tools/list-design-tokens.js +26 -12
- package/dist/tools/list-design-tokens.js.map +1 -1
- package/dist/tools/search-tokens.d.ts +38 -0
- package/dist/tools/search-tokens.d.ts.map +1 -0
- package/dist/tools/search-tokens.js +44 -0
- package/dist/tools/search-tokens.js.map +1 -0
- package/package.json +4 -3
- package/dist/doc/VJoyMultiCheckbox/metadata.json +0 -332
package/README.md
CHANGED
|
@@ -7,7 +7,8 @@ MCP (Model Context Protocol) server for the Joy Design System. This server expos
|
|
|
7
7
|
- 🔍 List all available Joy Vue3 components with descriptions
|
|
8
8
|
- 📚 Access component documentation (props, events, slots, exposed members)
|
|
9
9
|
- 🏷️ Retrieve TypeScript types definitions for component props (variants, sizes, etc.)
|
|
10
|
-
- 🎨
|
|
10
|
+
- 🎨 Search design tokens by intent (`joy_search_tokens`) with usage docs from `$extensions.com.maltjoy.docs`
|
|
11
|
+
- 🧭 Token groups and usage rules (`joy_get_token_group`, `joy_get_token_usage`)
|
|
11
12
|
- 💅 List 272 CSS utility classes
|
|
12
13
|
- 🤖 AI-friendly interface through MCP protocol
|
|
13
14
|
- ✅ Automatic documentation generation on build
|
|
@@ -138,28 +139,49 @@ Retrieves the TypeScript types definition files associated with a specific Joy V
|
|
|
138
139
|
}
|
|
139
140
|
```
|
|
140
141
|
|
|
141
|
-
### 4. `
|
|
142
|
+
### 4. `joy_search_tokens`
|
|
142
143
|
|
|
144
|
+
Find design tokens by intent or name. Prefer this over listing the full catalog.
|
|
143
145
|
|
|
144
|
-
|
|
146
|
+
**Parameters:**
|
|
147
|
+
- `query` (string, required): intent (`page title`), path (`color.text.heading`), or CSS name
|
|
148
|
+
- `layer` (string, optional): `semantic` (default), `primitive`, or `all`
|
|
149
|
+
- `domain` (string, optional): `color`, `spacing`, `radius`, `elevation`, `zIndex`, `typography`, `motion`, `forms`, `links`
|
|
150
|
+
- `includeDeprecated` (boolean, optional)
|
|
151
|
+
- `limit` (number, optional): default 8, max 25
|
|
145
152
|
|
|
146
|
-
**
|
|
153
|
+
**Returns:** compact hits (`name`, `css`, `layer`, `description`, `useFor`, `score`).
|
|
147
154
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
155
|
+
### 5. `joy_get_token`
|
|
156
|
+
|
|
157
|
+
Full record for one token, including `com.maltjoy.docs` (`useFor`, `doNotUseFor`, `pairWith`, `replaces`).
|
|
158
|
+
|
|
159
|
+
**Parameters:**
|
|
160
|
+
- `name` (string, required): `color.text.heading` or `--joy-color-text-heading`
|
|
161
|
+
|
|
162
|
+
### 6. `joy_get_token_group`
|
|
163
|
+
|
|
164
|
+
All tokens in a group. Aliases: `text`, `background`, `border`, `spacing`, `color`, `forms`, `typography`.
|
|
165
|
+
|
|
166
|
+
Semantic groups are returned first so sibling roles can be compared.
|
|
167
|
+
|
|
168
|
+
### 7. `joy_get_token_usage`
|
|
169
|
+
|
|
170
|
+
Decision tree plus the relevant semantic tokens.
|
|
171
|
+
|
|
172
|
+
**Parameters:**
|
|
173
|
+
- `topic` (string, required): `text` | `background` | `border` | `color` | `spacing`
|
|
174
|
+
|
|
175
|
+
### 8. `joy_list_design_tokens`
|
|
176
|
+
|
|
177
|
+
Compact list. Defaults to the **semantic** layer only. Prefer `joy_search_tokens` when you know the intent.
|
|
178
|
+
|
|
179
|
+
**Parameters:**
|
|
180
|
+
- `layer` (optional): `semantic` (default), `primitive`, `all`
|
|
181
|
+
- `domain` (optional)
|
|
182
|
+
- `includeDeprecated` (optional)
|
|
161
183
|
|
|
162
|
-
###
|
|
184
|
+
### 9. `joy_list_css_classes`
|
|
163
185
|
|
|
164
186
|
Lists all available Joy CSS utility classes organized by domain.
|
|
165
187
|
|
|
@@ -219,12 +241,19 @@ joy-mcp-server/
|
|
|
219
241
|
│ ├── index.ts # Main server entry point
|
|
220
242
|
│ ├── parser.ts # JSON documentation parser
|
|
221
243
|
│ ├── json-metadata-generator.mjs # Generates MCP metadata from component markdown
|
|
222
|
-
│
|
|
244
|
+
│ ├── tools/
|
|
223
245
|
│ ├── list-components.ts # Component listing tool
|
|
224
246
|
│ ├── get-component-info.ts # Component info retrieval tool
|
|
225
247
|
│ ├── get-component-types.ts # Component types retrieval tool
|
|
226
|
-
│ ├── list-design-tokens.ts #
|
|
248
|
+
│ ├── list-design-tokens.ts # Compact token listing (semantic by default)
|
|
249
|
+
│ ├── search-tokens.ts # Token search by intent
|
|
250
|
+
│ ├── get-token.ts # Single token + docs
|
|
251
|
+
│ ├── get-token-group.ts # Token group bundle
|
|
252
|
+
│ ├── get-token-usage.ts # Usage rules / decision tree
|
|
227
253
|
│ └── list-css-classes.ts # CSS classes tool
|
|
254
|
+
│ └── tokens/
|
|
255
|
+
│ ├── build-catalog.ts # Flatten DTCG JSON into design-tokens.json
|
|
256
|
+
│ └── query.ts # Search / get / group / usage
|
|
228
257
|
├── dist/
|
|
229
258
|
│ └── doc/
|
|
230
259
|
│ ├── index.json # Index of all components
|
|
@@ -29,17 +29,6 @@
|
|
|
29
29
|
"true"
|
|
30
30
|
]
|
|
31
31
|
},
|
|
32
|
-
{
|
|
33
|
-
"name": "circle",
|
|
34
|
-
"type": "boolean | undefined",
|
|
35
|
-
"required": false,
|
|
36
|
-
"default": "false",
|
|
37
|
-
"description": "If you only need a button with an icon. To keep your component accessible, you can give a text as slot, it will be used as title and aria-label.\nThis property takes effect only if icon property is set",
|
|
38
|
-
"possibleValues": [
|
|
39
|
-
"false",
|
|
40
|
-
"true"
|
|
41
|
-
]
|
|
42
|
-
},
|
|
43
32
|
{
|
|
44
33
|
"name": "variant",
|
|
45
34
|
"type": "TJoyButtonVariants | undefined",
|
|
@@ -94,7 +83,7 @@
|
|
|
94
83
|
"type": "string",
|
|
95
84
|
"required": false,
|
|
96
85
|
"description": "Name of the icon, placed before the text",
|
|
97
|
-
"possibleValues": "TJoyIconsNames (
|
|
86
|
+
"possibleValues": "TJoyIconsNames (253 values)"
|
|
98
87
|
},
|
|
99
88
|
{
|
|
100
89
|
"name": "id",
|
|
@@ -124,11 +113,6 @@
|
|
|
124
113
|
"type": "boolean",
|
|
125
114
|
"isMethod": false
|
|
126
115
|
},
|
|
127
|
-
{
|
|
128
|
-
"name": "circle",
|
|
129
|
-
"type": "boolean",
|
|
130
|
-
"isMethod": false
|
|
131
|
-
},
|
|
132
116
|
{
|
|
133
117
|
"name": "variant",
|
|
134
118
|
"type": "TJoyButtonVariants",
|
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
},
|
|
266
266
|
{
|
|
267
267
|
"name": "dropdown-list-items",
|
|
268
|
-
"description": "Free slot in order to render any kind of component. Can be handy to use it with
|
|
268
|
+
"description": "Free slot in order to render any kind of component. Can be handy to use it with VJoyCheckboxGroup for instance."
|
|
269
269
|
},
|
|
270
270
|
{
|
|
271
271
|
"name": "dropdown-list-item",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "JoyDropzone",
|
|
3
3
|
"displayName": "VJoyDropzone",
|
|
4
|
-
"description": "A file upload component with drag-and-drop functionality for handling file selection and management.\nSupports single or multiple file uploads, file validation and customizable file displays.\nFeatures visual feedback for drag states, error handling, and flexible content slots for file information and actions.\n\nThe dropzone
|
|
4
|
+
"description": "A file upload component with drag-and-drop functionality for handling file selection and management.\nSupports single or multiple file uploads, file validation and customizable file displays.\nFeatures visual feedback for disabled, invalid, and drag states, error handling, and flexible content slots for file information and actions.\n\nThe dropzone requires a `v-model` bound to an array containing objects with at least the `name` property (or `File` instances).\n\nUse `label` to display a label above the dropzone. Use `canDelete` (default `true`) to hide the delete button on file items while keeping update available. Set `disabled` to block uploads, drag-and-drop, and file actions. Set `invalid` for parent form feedback (e.g. required empty field); it adds invalid styling but does not replace format/size validation. The exposed `invalid` ref only reflects file validation (`accept`, `maxSize`); the `invalid` prop is for external form state—both can apply the invalid appearance.\n\nSlots: `dropzone-description` for the main instruction (default text with browse link), `dropzone-subtitle` for an optional hint line (empty by default), `dropzone-legend` for helper text below the zone, `file-information` and `file-actions` for per-file content (slot prop `file`). In single-file mode, `dropzone-legend` is hidden when a format or size error is shown (`VJoyFormError` instead); in multiple mode, errors appear on each file item and the legend stays visible.",
|
|
5
5
|
"category": "Forms",
|
|
6
6
|
"props": [
|
|
7
7
|
{
|
|
@@ -18,6 +18,15 @@
|
|
|
18
18
|
"description": "Dropzone input name. Must be unique on the page.",
|
|
19
19
|
"possibleValues": null
|
|
20
20
|
},
|
|
21
|
+
{
|
|
22
|
+
"name": "label",
|
|
23
|
+
"type": "string | undefined",
|
|
24
|
+
"required": false,
|
|
25
|
+
"description": "Display a label on top of the dropzone.",
|
|
26
|
+
"possibleValues": [
|
|
27
|
+
"string"
|
|
28
|
+
]
|
|
29
|
+
},
|
|
21
30
|
{
|
|
22
31
|
"name": "multiple",
|
|
23
32
|
"type": "boolean | undefined",
|
|
@@ -115,6 +124,28 @@
|
|
|
115
124
|
"false",
|
|
116
125
|
"true"
|
|
117
126
|
]
|
|
127
|
+
},
|
|
128
|
+
{
|
|
129
|
+
"name": "disabled",
|
|
130
|
+
"type": "boolean | undefined",
|
|
131
|
+
"required": false,
|
|
132
|
+
"default": "false",
|
|
133
|
+
"description": "Disable the dropzone.",
|
|
134
|
+
"possibleValues": [
|
|
135
|
+
"false",
|
|
136
|
+
"true"
|
|
137
|
+
]
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"name": "invalid",
|
|
141
|
+
"type": "boolean | undefined",
|
|
142
|
+
"required": false,
|
|
143
|
+
"default": "false",
|
|
144
|
+
"description": "When true, applies invalid styling (e.g. parent form required + dirty). Does not replace file format/size validation.",
|
|
145
|
+
"possibleValues": [
|
|
146
|
+
"false",
|
|
147
|
+
"true"
|
|
148
|
+
]
|
|
118
149
|
}
|
|
119
150
|
],
|
|
120
151
|
"events": [],
|
|
@@ -127,6 +158,10 @@
|
|
|
127
158
|
"name": "dropzone-description",
|
|
128
159
|
"description": "Block description of the dropzone"
|
|
129
160
|
},
|
|
161
|
+
{
|
|
162
|
+
"name": "dropzone-subtitle",
|
|
163
|
+
"description": "Block subtitle of the dropzone"
|
|
164
|
+
},
|
|
130
165
|
{
|
|
131
166
|
"name": "file-information",
|
|
132
167
|
"description": "Add information under the file name"
|
|
@@ -26,15 +26,6 @@
|
|
|
26
26
|
"true"
|
|
27
27
|
]
|
|
28
28
|
},
|
|
29
|
-
{
|
|
30
|
-
"name": "noHtmlErrorText",
|
|
31
|
-
"type": "string | undefined",
|
|
32
|
-
"required": false,
|
|
33
|
-
"description": "Error message to display. If you need a list of errors, use the slot instead",
|
|
34
|
-
"possibleValues": [
|
|
35
|
-
"string"
|
|
36
|
-
]
|
|
37
|
-
},
|
|
38
29
|
{
|
|
39
30
|
"name": "errors",
|
|
40
31
|
"type": "string[] | undefined",
|
|
@@ -69,11 +60,6 @@
|
|
|
69
60
|
"type": "boolean",
|
|
70
61
|
"isMethod": false
|
|
71
62
|
},
|
|
72
|
-
{
|
|
73
|
-
"name": "noHtmlErrorText",
|
|
74
|
-
"type": "string | undefined",
|
|
75
|
-
"isMethod": false
|
|
76
|
-
},
|
|
77
63
|
{
|
|
78
64
|
"name": "errors",
|
|
79
65
|
"type": "string[] | undefined",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"type": "string",
|
|
57
57
|
"required": false,
|
|
58
58
|
"description": "Based on maltjoy/icons availabilities. Works in pair with displayIcon boolean prop.",
|
|
59
|
-
"possibleValues": "TJoyIconsNames (
|
|
59
|
+
"possibleValues": "TJoyIconsNames (253 values)"
|
|
60
60
|
}
|
|
61
61
|
],
|
|
62
62
|
"events": [],
|
|
@@ -3,6 +3,6 @@ import {TSizes, TLevels} from '../../types';
|
|
|
3
3
|
|
|
4
4
|
export type TJoyIconsColors = TLevels | 'neutral-50' | 'primary' | 'secondary' | 'tertiary' | 'quaternary' | 'brand-primary' | 'brand-secondary' | 'white';
|
|
5
5
|
|
|
6
|
-
export type TJoyIconSizes = Extract<TSizes, 'xxsmall' | 'xsmall' | 'small' | 'medium' | 'large'
|
|
6
|
+
export type TJoyIconSizes = Extract<TSizes, 'xxsmall' | 'xsmall' | 'small' | 'medium' | 'large'>;
|
|
7
7
|
|
|
8
8
|
export type TJoyIconsNames = JoyIconsId;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "JoyIconButton",
|
|
3
3
|
"displayName": "VJoyIconButton",
|
|
4
|
-
"description": "A dedicated icon-button component built on top of `VJoyButton`.\
|
|
4
|
+
"description": "A dedicated icon-button component built on top of `VJoyButton`.\nIcon-only button with an accessible label.",
|
|
5
5
|
"category": "Buttons",
|
|
6
6
|
"props": [
|
|
7
7
|
{
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"type": "string",
|
|
62
62
|
"required": true,
|
|
63
63
|
"description": "Name of the icon displayed inside the button",
|
|
64
|
-
"possibleValues": "TJoyIconsNames (
|
|
64
|
+
"possibleValues": "TJoyIconsNames (253 values)"
|
|
65
65
|
},
|
|
66
66
|
{
|
|
67
67
|
"name": "id",
|
|
@@ -26,13 +26,8 @@ export interface VJoyInputProps {
|
|
|
26
26
|
/** Add a JoyIcon / joy-icon with given name on left-side. */
|
|
27
27
|
icon?: TJoyIconsNames;
|
|
28
28
|
size?: TJoyInputSizes;
|
|
29
|
-
/**
|
|
30
|
-
* @deprecated Password mode is deprecated on VJoyInput.
|
|
31
|
-
* Use VJoyInputPassword for password fields and toggle behavior.
|
|
32
|
-
*/
|
|
29
|
+
/** HTML input type. Use VJoyInputPassword for password fields. */
|
|
33
30
|
type?: string;
|
|
34
|
-
/** Adds a legend like symbol on the right of the component. Made for number based values */
|
|
35
|
-
unit?: string;
|
|
36
31
|
/** Activates the readonly mode for the input */
|
|
37
32
|
readonly?: boolean;
|
|
38
33
|
/** When using the clearable property, you have to specific an aria-label for accessibility. */
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "JoyInput",
|
|
3
3
|
"displayName": "VJoyInput",
|
|
4
|
-
"description": "A comprehensive form input component with extensive customization and validation features.\nSupports multiple input types, icon support, clearable functionality,
|
|
4
|
+
"description": "A comprehensive form input component with extensive customization and validation features.\nSupports multiple input types, icon support, clearable functionality, and comprehensive validation states.\nFeatures auto-focus capabilities, accessibility compliance, and seamless integration with form validation systems.",
|
|
5
5
|
"category": "Forms",
|
|
6
6
|
"props": [
|
|
7
7
|
{
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
"type": "string",
|
|
145
145
|
"required": false,
|
|
146
146
|
"description": "Add a JoyIcon / joy-icon with given name on left-side.",
|
|
147
|
-
"possibleValues": "TJoyIconsNames (
|
|
147
|
+
"possibleValues": "TJoyIconsNames (253 values)"
|
|
148
148
|
},
|
|
149
149
|
{
|
|
150
150
|
"name": "size",
|
|
@@ -163,18 +163,9 @@
|
|
|
163
163
|
"type": "string | undefined",
|
|
164
164
|
"required": false,
|
|
165
165
|
"default": "\"text\"",
|
|
166
|
-
"description": "",
|
|
166
|
+
"description": "HTML input type. Use VJoyInputPassword for password fields.",
|
|
167
167
|
"possibleValues": null
|
|
168
168
|
},
|
|
169
|
-
{
|
|
170
|
-
"name": "unit",
|
|
171
|
-
"type": "string | undefined",
|
|
172
|
-
"required": false,
|
|
173
|
-
"description": "Adds a legend like symbol on the right of the component. Made for number based values",
|
|
174
|
-
"possibleValues": [
|
|
175
|
-
"string"
|
|
176
|
-
]
|
|
177
|
-
},
|
|
178
169
|
{
|
|
179
170
|
"name": "readonly",
|
|
180
171
|
"type": "boolean | undefined",
|
|
@@ -311,9 +302,9 @@
|
|
|
311
302
|
"isMethod": true
|
|
312
303
|
},
|
|
313
304
|
{
|
|
314
|
-
"name": "
|
|
315
|
-
"type": "
|
|
316
|
-
"isMethod":
|
|
305
|
+
"name": "focus",
|
|
306
|
+
"type": "() => void",
|
|
307
|
+
"isMethod": true
|
|
317
308
|
}
|
|
318
309
|
],
|
|
319
310
|
"hasVModel": true
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"type": "string | undefined",
|
|
30
30
|
"required": false,
|
|
31
31
|
"default": "\"number\"",
|
|
32
|
-
"description": "",
|
|
32
|
+
"description": "HTML input type. Use VJoyInputPassword for password fields.",
|
|
33
33
|
"possibleValues": null
|
|
34
34
|
},
|
|
35
35
|
{
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"type": "string",
|
|
60
60
|
"required": false,
|
|
61
61
|
"description": "Add a JoyIcon / joy-icon with given name on left-side.",
|
|
62
|
-
"possibleValues": "TJoyIconsNames (
|
|
62
|
+
"possibleValues": "TJoyIconsNames (253 values)"
|
|
63
63
|
},
|
|
64
64
|
{
|
|
65
65
|
"name": "id",
|
|
@@ -85,7 +85,7 @@
|
|
|
85
85
|
"name": "name",
|
|
86
86
|
"type": "string | undefined",
|
|
87
87
|
"required": false,
|
|
88
|
-
"default": "\"joy-input-
|
|
88
|
+
"default": "\"joy-input-number\"",
|
|
89
89
|
"description": "",
|
|
90
90
|
"possibleValues": [
|
|
91
91
|
"string"
|
|
@@ -155,16 +155,6 @@
|
|
|
155
155
|
"Partial<Record<\"number\" | \"trim\" | \"lazy\", boolean>>"
|
|
156
156
|
]
|
|
157
157
|
},
|
|
158
|
-
{
|
|
159
|
-
"name": "unit",
|
|
160
|
-
"type": "string | undefined",
|
|
161
|
-
"required": false,
|
|
162
|
-
"default": "\"\\u20AC\"",
|
|
163
|
-
"description": "Adds a legend like symbol on the right of the component. Made for number based values",
|
|
164
|
-
"possibleValues": [
|
|
165
|
-
"string"
|
|
166
|
-
]
|
|
167
|
-
},
|
|
168
158
|
{
|
|
169
159
|
"name": "readonly",
|
|
170
160
|
"type": "boolean | undefined",
|
|
@@ -175,6 +165,16 @@
|
|
|
175
165
|
"false",
|
|
176
166
|
"true"
|
|
177
167
|
]
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "unit",
|
|
171
|
+
"type": "string | undefined",
|
|
172
|
+
"required": false,
|
|
173
|
+
"default": "\"\\u20AC\"",
|
|
174
|
+
"description": "Unit label displayed on the right side of the number input.",
|
|
175
|
+
"possibleValues": [
|
|
176
|
+
"string"
|
|
177
|
+
]
|
|
178
178
|
}
|
|
179
179
|
],
|
|
180
180
|
"events": [
|
|
@@ -184,7 +184,12 @@
|
|
|
184
184
|
"signature": "(event: \"update:modelValue\", value: string): void"
|
|
185
185
|
}
|
|
186
186
|
],
|
|
187
|
-
"slots": [
|
|
187
|
+
"slots": [
|
|
188
|
+
{
|
|
189
|
+
"name": "default",
|
|
190
|
+
"description": ""
|
|
191
|
+
}
|
|
192
|
+
],
|
|
188
193
|
"exposed": [
|
|
189
194
|
{
|
|
190
195
|
"name": "invalid",
|
|
@@ -232,13 +237,13 @@
|
|
|
232
237
|
"isMethod": false
|
|
233
238
|
},
|
|
234
239
|
{
|
|
235
|
-
"name": "
|
|
236
|
-
"type": "
|
|
240
|
+
"name": "readonly",
|
|
241
|
+
"type": "boolean",
|
|
237
242
|
"isMethod": false
|
|
238
243
|
},
|
|
239
244
|
{
|
|
240
|
-
"name": "
|
|
241
|
-
"type": "
|
|
245
|
+
"name": "unit",
|
|
246
|
+
"type": "string",
|
|
242
247
|
"isMethod": false
|
|
243
248
|
},
|
|
244
249
|
{
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"type": "string",
|
|
52
52
|
"required": false,
|
|
53
53
|
"description": "Add a JoyIcon / joy-icon with given name on left-side.",
|
|
54
|
-
"possibleValues": "TJoyIconsNames (
|
|
54
|
+
"possibleValues": "TJoyIconsNames (253 values)"
|
|
55
55
|
},
|
|
56
56
|
{
|
|
57
57
|
"name": "id",
|
|
@@ -146,15 +146,6 @@
|
|
|
146
146
|
"possibleValues": [
|
|
147
147
|
"Partial<Record<\"number\" | \"trim\" | \"lazy\", boolean>>"
|
|
148
148
|
]
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
"name": "unit",
|
|
152
|
-
"type": "string | undefined",
|
|
153
|
-
"required": false,
|
|
154
|
-
"description": "Adds a legend like symbol on the right of the component. Made for number based values",
|
|
155
|
-
"possibleValues": [
|
|
156
|
-
"string"
|
|
157
|
-
]
|
|
158
149
|
}
|
|
159
150
|
],
|
|
160
151
|
"events": [
|
|
@@ -246,11 +237,6 @@
|
|
|
246
237
|
"type": "((value: string) => any) | undefined",
|
|
247
238
|
"isMethod": true
|
|
248
239
|
},
|
|
249
|
-
{
|
|
250
|
-
"name": "unit",
|
|
251
|
-
"type": "string | undefined",
|
|
252
|
-
"isMethod": false
|
|
253
|
-
},
|
|
254
240
|
{
|
|
255
241
|
"name": "focus",
|
|
256
242
|
"type": "() => void",
|
|
@@ -115,6 +115,8 @@
|
|
|
115
115
|
"\"accomodation\"",
|
|
116
116
|
"\"add-circle\"",
|
|
117
117
|
"\"add\"",
|
|
118
|
+
"\"analytics-hover\"",
|
|
119
|
+
"\"analytics\"",
|
|
118
120
|
"\"android\"",
|
|
119
121
|
"\"apple\"",
|
|
120
122
|
"\"archive-explicit\"",
|
|
@@ -167,9 +169,12 @@
|
|
|
167
169
|
"\"cookie\"",
|
|
168
170
|
"\"cost-plus\"",
|
|
169
171
|
"\"creditcard\"",
|
|
172
|
+
"\"cross-circle\"",
|
|
170
173
|
"\"cross\"",
|
|
171
174
|
"\"crown\"",
|
|
172
175
|
"\"customer-support\"",
|
|
176
|
+
"\"dashboard-hover\"",
|
|
177
|
+
"\"dashboard\"",
|
|
173
178
|
"\"dataviz\"",
|
|
174
179
|
"\"dollar-circle\"",
|
|
175
180
|
"\"dots-vertical\"",
|
|
@@ -188,9 +193,13 @@
|
|
|
188
193
|
"\"file-check\"",
|
|
189
194
|
"\"file-pdf\"",
|
|
190
195
|
"\"file\"",
|
|
196
|
+
"\"find-free-hover\"",
|
|
197
|
+
"\"find-free\"",
|
|
191
198
|
"\"five-day\"",
|
|
192
199
|
"\"flag\"",
|
|
193
200
|
"\"freelancer-placeholder\"",
|
|
201
|
+
"\"freelancer-pool-hover\"",
|
|
202
|
+
"\"freelancer-pool\"",
|
|
194
203
|
"\"fullscren\"",
|
|
195
204
|
"\"gasoline\"",
|
|
196
205
|
"\"globe-hover\"",
|
|
@@ -208,15 +217,23 @@
|
|
|
208
217
|
"\"heart-people\"",
|
|
209
218
|
"\"heart\"",
|
|
210
219
|
"\"heartbroken\"",
|
|
220
|
+
"\"help-center-hover\"",
|
|
221
|
+
"\"help-center\"",
|
|
211
222
|
"\"home\"",
|
|
212
223
|
"\"ico-list\"",
|
|
213
224
|
"\"identity-switch\"",
|
|
214
225
|
"\"image\"",
|
|
226
|
+
"\"inbox-hover\"",
|
|
227
|
+
"\"inbox\"",
|
|
215
228
|
"\"info-circle\"",
|
|
216
229
|
"\"instagram\"",
|
|
217
230
|
"\"insurance\"",
|
|
231
|
+
"\"invite-freelancer-hover\"",
|
|
232
|
+
"\"invite-freelancer\"",
|
|
218
233
|
"\"invite\"",
|
|
234
|
+
"\"invoice-hover\"",
|
|
219
235
|
"\"invoice-sent\"",
|
|
236
|
+
"\"invoice\"",
|
|
220
237
|
"\"legal-check\"",
|
|
221
238
|
"\"legal\"",
|
|
222
239
|
"\"linkedin\"",
|
|
@@ -226,6 +243,8 @@
|
|
|
226
243
|
"\"lock\"",
|
|
227
244
|
"\"logo-brew\"",
|
|
228
245
|
"\"man-woman\"",
|
|
246
|
+
"\"manage-project-hover\"",
|
|
247
|
+
"\"manage-project\"",
|
|
229
248
|
"\"marketing\"",
|
|
230
249
|
"\"meal\"",
|
|
231
250
|
"\"medal-thumbsup\"",
|
|
@@ -237,6 +256,8 @@
|
|
|
237
256
|
"\"mood-bad\"",
|
|
238
257
|
"\"mood-good\"",
|
|
239
258
|
"\"newspaper\"",
|
|
259
|
+
"\"notification-center-hover\"",
|
|
260
|
+
"\"notification-center\"",
|
|
240
261
|
"\"open-conversation\"",
|
|
241
262
|
"\"paperclip\"",
|
|
242
263
|
"\"pen\"",
|
|
@@ -259,6 +280,8 @@
|
|
|
259
280
|
"\"receipt\"",
|
|
260
281
|
"\"refresh\"",
|
|
261
282
|
"\"remove-circle\"",
|
|
283
|
+
"\"resource-center-hover\"",
|
|
284
|
+
"\"resource-center\"",
|
|
262
285
|
"\"robot\"",
|
|
263
286
|
"\"rocket\"",
|
|
264
287
|
"\"school\"",
|
|
@@ -266,7 +289,10 @@
|
|
|
266
289
|
"\"search\"",
|
|
267
290
|
"\"security\"",
|
|
268
291
|
"\"sendit\"",
|
|
292
|
+
"\"settings-hover\"",
|
|
269
293
|
"\"settings-outline\"",
|
|
294
|
+
"\"settings\"",
|
|
295
|
+
"\"side-panel\"",
|
|
270
296
|
"\"single-report\"",
|
|
271
297
|
"\"social-share\"",
|
|
272
298
|
"\"social\"",
|
|
@@ -279,6 +305,8 @@
|
|
|
279
305
|
"\"star-message\"",
|
|
280
306
|
"\"star\"",
|
|
281
307
|
"\"super-malter\"",
|
|
308
|
+
"\"swap-company-hover\"",
|
|
309
|
+
"\"swap-company\"",
|
|
282
310
|
"\"swipe\"",
|
|
283
311
|
"\"switch\"",
|
|
284
312
|
"\"sync-reset\"",
|
|
@@ -286,7 +314,9 @@
|
|
|
286
314
|
"\"tab\"",
|
|
287
315
|
"\"taxi\"",
|
|
288
316
|
"\"three-dots\"",
|
|
317
|
+
"\"thumbdown-fill\"",
|
|
289
318
|
"\"thumbdown\"",
|
|
319
|
+
"\"thumbup-fill\"",
|
|
290
320
|
"\"thumbup\"",
|
|
291
321
|
"\"thunder\"",
|
|
292
322
|
"\"traffic-signs\"",
|
|
@@ -298,6 +328,9 @@
|
|
|
298
328
|
"\"user-add\"",
|
|
299
329
|
"\"user-check\"",
|
|
300
330
|
"\"user-edit\"",
|
|
331
|
+
"\"user-hover\"",
|
|
332
|
+
"\"user-lighter-deprecated-hover\"",
|
|
333
|
+
"\"user-lighter-deprecated\"",
|
|
301
334
|
"\"user-lighter\"",
|
|
302
335
|
"\"user-remove\"",
|
|
303
336
|
"\"user\"",
|