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