@ship-ui/core 0.16.19 → 0.17.2
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/assets/mcp/components.json +3484 -0
- package/bin/mcp/index.js +13757 -0
- package/fesm2022/ship-ui-core.mjs +311 -102
- package/fesm2022/ship-ui-core.mjs.map +1 -1
- package/package.json +6 -3
- package/snippets/ship-ui.code-snippets +472 -0
- package/types/ship-ui-core.d.ts +116 -27
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ship-ui/core",
|
|
3
3
|
"license": "MIT",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.17.2",
|
|
5
5
|
"peerDependencies": {
|
|
6
6
|
"@angular/common": ">=20",
|
|
7
|
-
"@angular/core": ">=20"
|
|
7
|
+
"@angular/core": ">=20",
|
|
8
|
+
"@modelcontextprotocol/sdk": ">=1.25"
|
|
8
9
|
},
|
|
9
10
|
"homepage": "https://shipui.com",
|
|
10
11
|
"repository": {
|
|
@@ -28,7 +29,8 @@
|
|
|
28
29
|
"tslib": "^2.3.0"
|
|
29
30
|
},
|
|
30
31
|
"bin": {
|
|
31
|
-
"ship-fg": "./bin/ship-fg-node"
|
|
32
|
+
"ship-fg": "./bin/ship-fg-node",
|
|
33
|
+
"ship-mcp": "./bin/mcp/index.js"
|
|
32
34
|
},
|
|
33
35
|
"libraryIcons": [
|
|
34
36
|
"upload-simple",
|
|
@@ -59,6 +61,7 @@
|
|
|
59
61
|
"assets": [
|
|
60
62
|
"./assets/**/*"
|
|
61
63
|
],
|
|
64
|
+
"snippets": "./snippets/ship-ui.code-snippets",
|
|
62
65
|
"types": "./types/ship-ui-core.d.ts",
|
|
63
66
|
"default": "./fesm2022/ship-ui-core.mjs"
|
|
64
67
|
},
|
|
@@ -0,0 +1,472 @@
|
|
|
1
|
+
{
|
|
2
|
+
"ShipTooltipWrapper: Basic": {
|
|
3
|
+
"prefix": "ship-tooltip-wrapper",
|
|
4
|
+
"body": [
|
|
5
|
+
"<ship-tooltip-wrapper>$0</ship-tooltip-wrapper>"
|
|
6
|
+
],
|
|
7
|
+
"description": "Basic usage of ShipTooltipWrapper"
|
|
8
|
+
},
|
|
9
|
+
"ShipFileDragDrop: Basic": {
|
|
10
|
+
"prefix": "shDragDrop",
|
|
11
|
+
"body": [
|
|
12
|
+
"<div shDragDrop>$0</div>"
|
|
13
|
+
],
|
|
14
|
+
"description": "Basic usage of ShipFileDragDrop"
|
|
15
|
+
},
|
|
16
|
+
"ShipInputMask: Basic": {
|
|
17
|
+
"prefix": "shInputMask",
|
|
18
|
+
"body": [
|
|
19
|
+
"<div shInputMask>$0</div>"
|
|
20
|
+
],
|
|
21
|
+
"description": "Basic usage of ShipInputMask"
|
|
22
|
+
},
|
|
23
|
+
"ShipPreventWheel: Basic": {
|
|
24
|
+
"prefix": "shPreventWheel",
|
|
25
|
+
"body": [
|
|
26
|
+
"<div shPreventWheel>$0</div>"
|
|
27
|
+
],
|
|
28
|
+
"description": "Basic usage of ShipPreventWheel"
|
|
29
|
+
},
|
|
30
|
+
"ShipSidenav: Basic": {
|
|
31
|
+
"prefix": "sh-sidenav",
|
|
32
|
+
"body": [
|
|
33
|
+
"<sh-sidenav>$0</sh-sidenav>"
|
|
34
|
+
],
|
|
35
|
+
"description": "Basic usage of ShipSidenav"
|
|
36
|
+
},
|
|
37
|
+
"ShipCard: Basic": {
|
|
38
|
+
"prefix": "sh-card",
|
|
39
|
+
"body": [
|
|
40
|
+
"<sh-card>$0</sh-card>"
|
|
41
|
+
],
|
|
42
|
+
"description": "Basic usage of ShipCard"
|
|
43
|
+
},
|
|
44
|
+
"ShipCard: With Options": {
|
|
45
|
+
"prefix": "sh-card-full",
|
|
46
|
+
"body": [
|
|
47
|
+
"<sh-card [color]=\"${1|primary,accent,warn,error,success|}\" [variant]=\"${2|type-a,type-b,type-c|}\">",
|
|
48
|
+
" $0",
|
|
49
|
+
"</sh-card>"
|
|
50
|
+
],
|
|
51
|
+
"description": "Full usage of ShipCard with common options"
|
|
52
|
+
},
|
|
53
|
+
"ShipFormFieldExperimental: Basic": {
|
|
54
|
+
"prefix": "sh-form-field-experimental",
|
|
55
|
+
"body": [
|
|
56
|
+
"<sh-form-field-experimental>$0</sh-form-field-experimental>"
|
|
57
|
+
],
|
|
58
|
+
"description": "Basic usage of ShipFormFieldExperimental"
|
|
59
|
+
},
|
|
60
|
+
"ShipEventCard: Basic": {
|
|
61
|
+
"prefix": "sh-event-card",
|
|
62
|
+
"body": [
|
|
63
|
+
"<sh-event-card>$0</sh-event-card>"
|
|
64
|
+
],
|
|
65
|
+
"description": "Basic usage of ShipEventCard"
|
|
66
|
+
},
|
|
67
|
+
"ShipEventCard: With Options": {
|
|
68
|
+
"prefix": "sh-event-card-full",
|
|
69
|
+
"body": [
|
|
70
|
+
"<sh-event-card [color]=\"${1|primary,accent,warn,error,success|}\" [variant]=\"${2|simple,outlined,flat,raised|}\">",
|
|
71
|
+
" $0",
|
|
72
|
+
"</sh-event-card>"
|
|
73
|
+
],
|
|
74
|
+
"description": "Full usage of ShipEventCard with common options"
|
|
75
|
+
},
|
|
76
|
+
"ShipFileUpload: Basic": {
|
|
77
|
+
"prefix": "sh-file-upload",
|
|
78
|
+
"body": [
|
|
79
|
+
"<sh-file-upload>$0</sh-file-upload>"
|
|
80
|
+
],
|
|
81
|
+
"description": "Basic usage of ShipFileUpload"
|
|
82
|
+
},
|
|
83
|
+
"ShipTabs: Basic": {
|
|
84
|
+
"prefix": "sh-tabs",
|
|
85
|
+
"body": [
|
|
86
|
+
"<sh-tabs>$0</sh-tabs>"
|
|
87
|
+
],
|
|
88
|
+
"description": "Basic usage of ShipTabs"
|
|
89
|
+
},
|
|
90
|
+
"ShipTabs: With Options": {
|
|
91
|
+
"prefix": "sh-tabs-full",
|
|
92
|
+
"body": [
|
|
93
|
+
"<sh-tabs [color]=\"${1|primary,accent,warn,error,success|}\" [variant]=\"${2|simple,outlined,flat,raised|}\">",
|
|
94
|
+
" $0",
|
|
95
|
+
"</sh-tabs>"
|
|
96
|
+
],
|
|
97
|
+
"description": "Full usage of ShipTabs with common options"
|
|
98
|
+
},
|
|
99
|
+
"ShipVirtualScroll: Basic": {
|
|
100
|
+
"prefix": "sh-virtual-scroll",
|
|
101
|
+
"body": [
|
|
102
|
+
"<sh-virtual-scroll>$0</sh-virtual-scroll>"
|
|
103
|
+
],
|
|
104
|
+
"description": "Basic usage of ShipVirtualScroll"
|
|
105
|
+
},
|
|
106
|
+
"ShipProgressBar: Basic": {
|
|
107
|
+
"prefix": "sh-progress-bar",
|
|
108
|
+
"body": [
|
|
109
|
+
"<sh-progress-bar>$0</sh-progress-bar>"
|
|
110
|
+
],
|
|
111
|
+
"description": "Basic usage of ShipProgressBar"
|
|
112
|
+
},
|
|
113
|
+
"ShipProgressBar: With Options": {
|
|
114
|
+
"prefix": "sh-progress-bar-full",
|
|
115
|
+
"body": [
|
|
116
|
+
"<sh-progress-bar [color]=\"${1|primary,accent,warn,error,success|}\" [variant]=\"${2|simple,outlined,flat,raised|}\">",
|
|
117
|
+
" $0",
|
|
118
|
+
"</sh-progress-bar>"
|
|
119
|
+
],
|
|
120
|
+
"description": "Full usage of ShipProgressBar with common options"
|
|
121
|
+
},
|
|
122
|
+
"ShipSortable: Basic": {
|
|
123
|
+
"prefix": "shSortable",
|
|
124
|
+
"body": [
|
|
125
|
+
"<div shSortable>$0</div>"
|
|
126
|
+
],
|
|
127
|
+
"description": "Basic usage of ShipSortable"
|
|
128
|
+
},
|
|
129
|
+
"GridSortable: Basic": {
|
|
130
|
+
"prefix": "shGridSortable",
|
|
131
|
+
"body": [
|
|
132
|
+
"<div shGridSortable>$0</div>"
|
|
133
|
+
],
|
|
134
|
+
"description": "Basic usage of GridSortable"
|
|
135
|
+
},
|
|
136
|
+
"ShipFormField: Basic": {
|
|
137
|
+
"prefix": "sh-form-field",
|
|
138
|
+
"body": [
|
|
139
|
+
"<sh-form-field>$0</sh-form-field>"
|
|
140
|
+
],
|
|
141
|
+
"description": "Basic usage of ShipFormField"
|
|
142
|
+
},
|
|
143
|
+
"ShipFormField: With Options": {
|
|
144
|
+
"prefix": "sh-form-field-full",
|
|
145
|
+
"body": [
|
|
146
|
+
"<sh-form-field [color]=\"${1|primary,accent,warn,error,success|}\" [variant]=\"${2|simple,outlined,flat,raised|}\" [size]=\"${3|small|}\" [readonly]=\"${4:false}\">",
|
|
147
|
+
" $0",
|
|
148
|
+
"</sh-form-field>"
|
|
149
|
+
],
|
|
150
|
+
"description": "Full usage of ShipFormField with common options"
|
|
151
|
+
},
|
|
152
|
+
"ShipFormFieldPopover: Basic": {
|
|
153
|
+
"prefix": "sh-form-field-popover",
|
|
154
|
+
"body": [
|
|
155
|
+
"<sh-form-field-popover>$0</sh-form-field-popover>"
|
|
156
|
+
],
|
|
157
|
+
"description": "Basic usage of ShipFormFieldPopover"
|
|
158
|
+
},
|
|
159
|
+
"ShipRangeSlider: Basic": {
|
|
160
|
+
"prefix": "sh-range-slider",
|
|
161
|
+
"body": [
|
|
162
|
+
"<sh-range-slider>$0</sh-range-slider>"
|
|
163
|
+
],
|
|
164
|
+
"description": "Basic usage of ShipRangeSlider"
|
|
165
|
+
},
|
|
166
|
+
"ShipResize: Basic": {
|
|
167
|
+
"prefix": "shResize",
|
|
168
|
+
"body": [
|
|
169
|
+
"<div shResize>$0</div>"
|
|
170
|
+
],
|
|
171
|
+
"description": "Basic usage of ShipResize"
|
|
172
|
+
},
|
|
173
|
+
"ShipResize: With Options": {
|
|
174
|
+
"prefix": "shResize-full",
|
|
175
|
+
"body": [
|
|
176
|
+
"<div shResize [color]=\"${1|primary,accent,warn,error,success|}\" [variant]=\"${2|type-a,type-b|}\">",
|
|
177
|
+
" $0",
|
|
178
|
+
"</div>"
|
|
179
|
+
],
|
|
180
|
+
"description": "Full usage of ShipResize with common options"
|
|
181
|
+
},
|
|
182
|
+
"ShipTableFilterBar: Basic": {
|
|
183
|
+
"prefix": "sh-table-filter-bar",
|
|
184
|
+
"body": [
|
|
185
|
+
"<sh-table-filter-bar>$0</sh-table-filter-bar>"
|
|
186
|
+
],
|
|
187
|
+
"description": "Basic usage of ShipTableFilterBar"
|
|
188
|
+
},
|
|
189
|
+
"ShipSpinner: Basic": {
|
|
190
|
+
"prefix": "sh-spinner",
|
|
191
|
+
"body": [
|
|
192
|
+
"<sh-spinner>$0</sh-spinner>"
|
|
193
|
+
],
|
|
194
|
+
"description": "Basic usage of ShipSpinner"
|
|
195
|
+
},
|
|
196
|
+
"ShipSpinner: With Options": {
|
|
197
|
+
"prefix": "sh-spinner-full",
|
|
198
|
+
"body": [
|
|
199
|
+
"<sh-spinner [color]=\"${1|primary,accent,warn,error,success|}\">",
|
|
200
|
+
" $0",
|
|
201
|
+
"</sh-spinner>"
|
|
202
|
+
],
|
|
203
|
+
"description": "Full usage of ShipSpinner with common options"
|
|
204
|
+
},
|
|
205
|
+
"ShipStepper: Basic": {
|
|
206
|
+
"prefix": "sh-stepper",
|
|
207
|
+
"body": [
|
|
208
|
+
"<sh-stepper>$0</sh-stepper>"
|
|
209
|
+
],
|
|
210
|
+
"description": "Basic usage of ShipStepper"
|
|
211
|
+
},
|
|
212
|
+
"ShipStepper: With Options": {
|
|
213
|
+
"prefix": "sh-stepper-full",
|
|
214
|
+
"body": [
|
|
215
|
+
"<sh-stepper [color]=\"${1|primary,accent,warn,error,success|}\">",
|
|
216
|
+
" $0",
|
|
217
|
+
"</sh-stepper>"
|
|
218
|
+
],
|
|
219
|
+
"description": "Full usage of ShipStepper with common options"
|
|
220
|
+
},
|
|
221
|
+
"ShipChip: Basic": {
|
|
222
|
+
"prefix": "sh-chip",
|
|
223
|
+
"body": [
|
|
224
|
+
"<sh-chip>$0</sh-chip>"
|
|
225
|
+
],
|
|
226
|
+
"description": "Basic usage of ShipChip"
|
|
227
|
+
},
|
|
228
|
+
"ShipChip: With Options": {
|
|
229
|
+
"prefix": "sh-chip-full",
|
|
230
|
+
"body": [
|
|
231
|
+
"<sh-chip [color]=\"${1|primary,accent,warn,error,success|}\" [variant]=\"${2|simple,outlined,flat,raised|}\" [size]=\"${3|small|}\" [readonly]=\"${4:false}\">",
|
|
232
|
+
" $0",
|
|
233
|
+
"</sh-chip>"
|
|
234
|
+
],
|
|
235
|
+
"description": "Full usage of ShipChip with common options"
|
|
236
|
+
},
|
|
237
|
+
"ShipThemeToggle: Basic": {
|
|
238
|
+
"prefix": "ship-theme-toggle",
|
|
239
|
+
"body": [
|
|
240
|
+
"<ship-theme-toggle>$0</ship-theme-toggle>"
|
|
241
|
+
],
|
|
242
|
+
"description": "Basic usage of ShipThemeToggle"
|
|
243
|
+
},
|
|
244
|
+
"ChildComponent: Basic": {
|
|
245
|
+
"prefix": "app-child",
|
|
246
|
+
"body": [
|
|
247
|
+
"<app-child>$0</app-child>"
|
|
248
|
+
],
|
|
249
|
+
"description": "Basic usage of ChildComponent"
|
|
250
|
+
},
|
|
251
|
+
"ShipList: Basic": {
|
|
252
|
+
"prefix": "sh-list",
|
|
253
|
+
"body": [
|
|
254
|
+
"<sh-list>$0</sh-list>"
|
|
255
|
+
],
|
|
256
|
+
"description": "Basic usage of ShipList"
|
|
257
|
+
},
|
|
258
|
+
"ShipMenu: Basic": {
|
|
259
|
+
"prefix": "sh-menu",
|
|
260
|
+
"body": [
|
|
261
|
+
"<sh-menu>$0</sh-menu>"
|
|
262
|
+
],
|
|
263
|
+
"description": "Basic usage of ShipMenu"
|
|
264
|
+
},
|
|
265
|
+
"ShipAlert: Basic": {
|
|
266
|
+
"prefix": "sh-alert",
|
|
267
|
+
"body": [
|
|
268
|
+
"<sh-alert>$0</sh-alert>"
|
|
269
|
+
],
|
|
270
|
+
"description": "Basic usage of ShipAlert"
|
|
271
|
+
},
|
|
272
|
+
"ShipAlert: With Options": {
|
|
273
|
+
"prefix": "sh-alert-full",
|
|
274
|
+
"body": [
|
|
275
|
+
"<sh-alert [color]=\"${1|primary,accent,warn,error,success|}\" [variant]=\"${2|simple,outlined,flat,raised|}\">",
|
|
276
|
+
" $0",
|
|
277
|
+
"</sh-alert>"
|
|
278
|
+
],
|
|
279
|
+
"description": "Full usage of ShipAlert with common options"
|
|
280
|
+
},
|
|
281
|
+
"ShipAlertContainer: Basic": {
|
|
282
|
+
"prefix": "ship-alert-container",
|
|
283
|
+
"body": [
|
|
284
|
+
"<ship-alert-container>$0</ship-alert-container>"
|
|
285
|
+
],
|
|
286
|
+
"description": "Basic usage of ShipAlertContainer"
|
|
287
|
+
},
|
|
288
|
+
"ShipDatepickerInput: Basic": {
|
|
289
|
+
"prefix": "sh-datepicker-input",
|
|
290
|
+
"body": [
|
|
291
|
+
"<sh-datepicker-input>$0</sh-datepicker-input>"
|
|
292
|
+
],
|
|
293
|
+
"description": "Basic usage of ShipDatepickerInput"
|
|
294
|
+
},
|
|
295
|
+
"ShipDatepicker: Basic": {
|
|
296
|
+
"prefix": "sh-datepicker",
|
|
297
|
+
"body": [
|
|
298
|
+
"<sh-datepicker>$0</sh-datepicker>"
|
|
299
|
+
],
|
|
300
|
+
"description": "Basic usage of ShipDatepicker"
|
|
301
|
+
},
|
|
302
|
+
"ShipDaterangeInput: Basic": {
|
|
303
|
+
"prefix": "sh-daterange-input",
|
|
304
|
+
"body": [
|
|
305
|
+
"<sh-daterange-input>$0</sh-daterange-input>"
|
|
306
|
+
],
|
|
307
|
+
"description": "Basic usage of ShipDaterangeInput"
|
|
308
|
+
},
|
|
309
|
+
"ShipButtonGroup: Basic": {
|
|
310
|
+
"prefix": "sh-button-group",
|
|
311
|
+
"body": [
|
|
312
|
+
"<sh-button-group>$0</sh-button-group>"
|
|
313
|
+
],
|
|
314
|
+
"description": "Basic usage of ShipButtonGroup"
|
|
315
|
+
},
|
|
316
|
+
"ShipButtonGroup: With Options": {
|
|
317
|
+
"prefix": "sh-button-group-full",
|
|
318
|
+
"body": [
|
|
319
|
+
"<sh-button-group [color]=\"${1|primary,accent,warn,error,success|}\" [variant]=\"${2|type-a,type-b|}\" [size]=\"${3|small|}\">",
|
|
320
|
+
" $0",
|
|
321
|
+
"</sh-button-group>"
|
|
322
|
+
],
|
|
323
|
+
"description": "Full usage of ShipButtonGroup with common options"
|
|
324
|
+
},
|
|
325
|
+
"ShipPopover: Basic": {
|
|
326
|
+
"prefix": "sh-popover",
|
|
327
|
+
"body": [
|
|
328
|
+
"<sh-popover>$0</sh-popover>"
|
|
329
|
+
],
|
|
330
|
+
"description": "Basic usage of ShipPopover"
|
|
331
|
+
},
|
|
332
|
+
"ShipButton: Basic": {
|
|
333
|
+
"prefix": "shButton",
|
|
334
|
+
"body": [
|
|
335
|
+
"<button shButton>$0</button>"
|
|
336
|
+
],
|
|
337
|
+
"description": "Basic usage of ShipButton"
|
|
338
|
+
},
|
|
339
|
+
"ShipButton: With Options": {
|
|
340
|
+
"prefix": "shButton-full",
|
|
341
|
+
"body": [
|
|
342
|
+
"<button shButton [color]=\"${1|primary,accent,warn,error,success|}\" [variant]=\"${2|simple,outlined,flat,raised|}\" [size]=\"${3|small,xsmall|}\" [readonly]=\"${4:false}\">",
|
|
343
|
+
" $0",
|
|
344
|
+
"</button>"
|
|
345
|
+
],
|
|
346
|
+
"description": "Full usage of ShipButton with common options"
|
|
347
|
+
},
|
|
348
|
+
"ShipDivider: Basic": {
|
|
349
|
+
"prefix": "sh-divider",
|
|
350
|
+
"body": [
|
|
351
|
+
"<sh-divider>$0</sh-divider>"
|
|
352
|
+
],
|
|
353
|
+
"description": "Basic usage of ShipDivider"
|
|
354
|
+
},
|
|
355
|
+
"ShipColorPicker: Basic": {
|
|
356
|
+
"prefix": "sh-color-picker",
|
|
357
|
+
"body": [
|
|
358
|
+
"<sh-color-picker>$0</sh-color-picker>"
|
|
359
|
+
],
|
|
360
|
+
"description": "Basic usage of ShipColorPicker"
|
|
361
|
+
},
|
|
362
|
+
"ShipDialog: Basic": {
|
|
363
|
+
"prefix": "sh-dialog",
|
|
364
|
+
"body": [
|
|
365
|
+
"<sh-dialog>$0</sh-dialog>"
|
|
366
|
+
],
|
|
367
|
+
"description": "Basic usage of ShipDialog"
|
|
368
|
+
},
|
|
369
|
+
"ShipToggle: Basic": {
|
|
370
|
+
"prefix": "sh-toggle",
|
|
371
|
+
"body": [
|
|
372
|
+
"<sh-toggle>$0</sh-toggle>"
|
|
373
|
+
],
|
|
374
|
+
"description": "Basic usage of ShipToggle"
|
|
375
|
+
},
|
|
376
|
+
"ShipToggle: With Options": {
|
|
377
|
+
"prefix": "sh-toggle-full",
|
|
378
|
+
"body": [
|
|
379
|
+
"<sh-toggle [color]=\"${1|primary,accent,warn,error,success|}\" [variant]=\"${2|simple,outlined,flat,raised|}\" [readonly]=\"${3:false}\">",
|
|
380
|
+
" $0",
|
|
381
|
+
"</sh-toggle>"
|
|
382
|
+
],
|
|
383
|
+
"description": "Full usage of ShipToggle with common options"
|
|
384
|
+
},
|
|
385
|
+
"ShipToggleCard: Basic": {
|
|
386
|
+
"prefix": "sh-toggle-card",
|
|
387
|
+
"body": [
|
|
388
|
+
"<sh-toggle-card>$0</sh-toggle-card>"
|
|
389
|
+
],
|
|
390
|
+
"description": "Basic usage of ShipToggleCard"
|
|
391
|
+
},
|
|
392
|
+
"ShipToggleCard: With Options": {
|
|
393
|
+
"prefix": "sh-toggle-card-full",
|
|
394
|
+
"body": [
|
|
395
|
+
"<sh-toggle-card [color]=\"${1|primary,accent,warn,error,success|}\" [variant]=\"${2|type-a,type-b,type-c|}\">",
|
|
396
|
+
" $0",
|
|
397
|
+
"</sh-toggle-card>"
|
|
398
|
+
],
|
|
399
|
+
"description": "Full usage of ShipToggleCard with common options"
|
|
400
|
+
},
|
|
401
|
+
"ShipCheckbox: Basic": {
|
|
402
|
+
"prefix": "sh-checkbox",
|
|
403
|
+
"body": [
|
|
404
|
+
"<sh-checkbox>$0</sh-checkbox>"
|
|
405
|
+
],
|
|
406
|
+
"description": "Basic usage of ShipCheckbox"
|
|
407
|
+
},
|
|
408
|
+
"ShipCheckbox: With Options": {
|
|
409
|
+
"prefix": "sh-checkbox-full",
|
|
410
|
+
"body": [
|
|
411
|
+
"<sh-checkbox [color]=\"${1|primary,accent,warn,error,success|}\" [variant]=\"${2|simple,outlined,flat,raised|}\" [readonly]=\"${3:false}\">",
|
|
412
|
+
" $0",
|
|
413
|
+
"</sh-checkbox>"
|
|
414
|
+
],
|
|
415
|
+
"description": "Full usage of ShipCheckbox with common options"
|
|
416
|
+
},
|
|
417
|
+
"ShipRadio: Basic": {
|
|
418
|
+
"prefix": "sh-radio",
|
|
419
|
+
"body": [
|
|
420
|
+
"<sh-radio>$0</sh-radio>"
|
|
421
|
+
],
|
|
422
|
+
"description": "Basic usage of ShipRadio"
|
|
423
|
+
},
|
|
424
|
+
"ShipRadio: With Options": {
|
|
425
|
+
"prefix": "sh-radio-full",
|
|
426
|
+
"body": [
|
|
427
|
+
"<sh-radio [color]=\"${1|primary,accent,warn,error,success|}\" [variant]=\"${2|simple,outlined,flat,raised|}\" [readonly]=\"${3:false}\">",
|
|
428
|
+
" $0",
|
|
429
|
+
"</sh-radio>"
|
|
430
|
+
],
|
|
431
|
+
"description": "Full usage of ShipRadio with common options"
|
|
432
|
+
},
|
|
433
|
+
"ShipIcon: Basic": {
|
|
434
|
+
"prefix": "sh-icon",
|
|
435
|
+
"body": [
|
|
436
|
+
"<sh-icon>$0</sh-icon>"
|
|
437
|
+
],
|
|
438
|
+
"description": "Basic usage of ShipIcon"
|
|
439
|
+
},
|
|
440
|
+
"ShipIcon: With Options": {
|
|
441
|
+
"prefix": "sh-icon-full",
|
|
442
|
+
"body": [
|
|
443
|
+
"<sh-icon [color]=\"${1|primary,accent,warn,error,success|}\" [variant]=\"${2|simple,outlined,flat,raised|}\" [size]=\"${3|small,large|}\">",
|
|
444
|
+
" $0",
|
|
445
|
+
"</sh-icon>"
|
|
446
|
+
],
|
|
447
|
+
"description": "Full usage of ShipIcon with common options"
|
|
448
|
+
},
|
|
449
|
+
"ShipBlueprint: Basic": {
|
|
450
|
+
"prefix": "sh-blueprint",
|
|
451
|
+
"body": [
|
|
452
|
+
"<sh-blueprint>$0</sh-blueprint>"
|
|
453
|
+
],
|
|
454
|
+
"description": "Basic usage of ShipBlueprint"
|
|
455
|
+
},
|
|
456
|
+
"ShipSelect: Basic": {
|
|
457
|
+
"prefix": "sh-select",
|
|
458
|
+
"body": [
|
|
459
|
+
"<sh-select>$0</sh-select>"
|
|
460
|
+
],
|
|
461
|
+
"description": "Basic usage of ShipSelect"
|
|
462
|
+
},
|
|
463
|
+
"ShipSelect: With Options": {
|
|
464
|
+
"prefix": "sh-select-full",
|
|
465
|
+
"body": [
|
|
466
|
+
"<sh-select [readonly]=\"${1:false}\">",
|
|
467
|
+
" $0",
|
|
468
|
+
"</sh-select>"
|
|
469
|
+
],
|
|
470
|
+
"description": "Full usage of ShipSelect with common options"
|
|
471
|
+
}
|
|
472
|
+
}
|