@neumorphism-ui/elements 1.0.0-next.1 → 1.0.0-next.3
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 +12 -1
- package/cdn/neu.min.js +176 -51
- package/custom-elements.json +2555 -358
- package/dist/all.d.ts +8 -0
- package/dist/all.js +8 -0
- package/dist/checkbox.d.ts +3 -0
- package/dist/checkbox.js +4 -0
- package/dist/components/avatar/avatar.d.ts +0 -3
- package/dist/components/avatar/avatar.def.d.ts +0 -3
- package/dist/components/avatar/avatar.def.js +4 -18
- package/dist/components/avatar/avatar.docs.d.ts +2 -0
- package/dist/components/avatar/avatar.docs.js +22 -0
- package/dist/components/avatar/avatar.js +7 -1
- package/dist/components/badge/badge.d.ts +0 -2
- package/dist/components/badge/badge.def.d.ts +0 -2
- package/dist/components/badge/badge.def.js +1 -14
- package/dist/components/badge/badge.docs.d.ts +2 -0
- package/dist/components/badge/badge.docs.js +17 -0
- package/dist/components/button/button.d.ts +0 -2
- package/dist/components/button/button.def.d.ts +0 -5
- package/dist/components/button/button.def.js +3 -25
- package/dist/components/button/button.docs.d.ts +2 -0
- package/dist/components/button/button.docs.js +29 -0
- package/dist/components/button/button.js +3 -36
- package/dist/components/button-group/button-group.d.ts +0 -2
- package/dist/components/button-group/button-group.def.d.ts +0 -2
- package/dist/components/button-group/button-group.def.js +1 -10
- package/dist/components/button-group/button-group.docs.d.ts +2 -0
- package/dist/components/button-group/button-group.docs.js +13 -0
- package/dist/components/checkbox/checkbox.d.ts +40 -0
- package/dist/components/checkbox/checkbox.def.d.ts +27 -0
- package/dist/components/checkbox/checkbox.def.js +21 -0
- package/dist/components/checkbox/checkbox.docs.d.ts +2 -0
- package/dist/components/checkbox/checkbox.docs.js +27 -0
- package/dist/components/checkbox/checkbox.js +40 -0
- package/dist/components/checkbox/checkbox.styles.d.ts +1 -0
- package/dist/components/checkbox/checkbox.styles.js +28 -0
- package/dist/components/divider/divider.d.ts +0 -1
- package/dist/components/divider/divider.def.d.ts +0 -1
- package/dist/components/divider/divider.def.js +0 -9
- package/dist/components/divider/divider.docs.d.ts +2 -0
- package/dist/components/divider/divider.docs.js +12 -0
- package/dist/components/icon/icon.d.ts +0 -3
- package/dist/components/icon/icon.def.d.ts +0 -3
- package/dist/components/icon/icon.def.js +3 -10
- package/dist/components/icon/icon.docs.d.ts +2 -0
- package/dist/components/icon/icon.docs.js +13 -0
- package/dist/components/icon/system-icons.d.ts +10 -0
- package/dist/components/icon/system-icons.js +22 -11
- package/dist/components/icon-button/icon-button.d.ts +0 -5
- package/dist/components/icon-button/icon-button.def.d.ts +0 -5
- package/dist/components/icon-button/icon-button.def.js +3 -17
- package/dist/components/icon-button/icon-button.docs.d.ts +2 -0
- package/dist/components/icon-button/icon-button.docs.js +26 -0
- package/dist/components/number-field/number-field.d.ts +79 -0
- package/dist/components/number-field/number-field.def.d.ts +115 -0
- package/dist/components/number-field/number-field.def.js +40 -0
- package/dist/components/number-field/number-field.docs.d.ts +2 -0
- package/dist/components/number-field/number-field.docs.js +45 -0
- package/dist/components/number-field/number-field.js +121 -0
- package/dist/components/number-field/number-field.styles.d.ts +1 -0
- package/dist/components/number-field/number-field.styles.js +15 -0
- package/dist/components/option/option-data.d.ts +8 -0
- package/dist/components/option/option-data.js +12 -0
- package/dist/components/option/option.d.ts +17 -0
- package/dist/components/option/option.def.d.ts +8 -0
- package/dist/components/option/option.def.js +12 -0
- package/dist/components/option/option.docs.d.ts +2 -0
- package/dist/components/option/option.docs.js +12 -0
- package/dist/components/option/option.js +17 -0
- package/dist/components/option/option.styles.d.ts +2 -0
- package/dist/components/option/option.styles.js +5 -0
- package/dist/components/radio/radio-link.d.ts +11 -0
- package/dist/components/radio/radio-link.js +5 -0
- package/dist/components/radio/radio.d.ts +27 -0
- package/dist/components/radio/radio.def.d.ts +9 -0
- package/dist/components/radio/radio.def.js +12 -0
- package/dist/components/radio/radio.docs.d.ts +2 -0
- package/dist/components/radio/radio.docs.js +18 -0
- package/dist/components/radio/radio.js +43 -0
- package/dist/components/radio/radio.styles.d.ts +1 -0
- package/dist/components/radio/radio.styles.js +21 -0
- package/dist/components/radio-group/radio-group.d.ts +76 -0
- package/dist/components/radio-group/radio-group.def.d.ts +36 -0
- package/dist/components/radio-group/radio-group.def.js +40 -0
- package/dist/components/radio-group/radio-group.docs.d.ts +2 -0
- package/dist/components/radio-group/radio-group.docs.js +37 -0
- package/dist/components/radio-group/radio-group.js +208 -0
- package/dist/components/radio-group/radio-group.styles.d.ts +1 -0
- package/dist/components/radio-group/radio-group.styles.js +13 -0
- package/dist/components/select/select.d.ts +115 -0
- package/dist/components/select/select.def.d.ts +34 -0
- package/dist/components/select/select.def.js +35 -0
- package/dist/components/select/select.docs.d.ts +2 -0
- package/dist/components/select/select.docs.js +65 -0
- package/dist/components/select/select.js +391 -0
- package/dist/components/select/select.styles.d.ts +1 -0
- package/dist/components/select/select.styles.js +35 -0
- package/dist/components/shared/checkable.d.ts +45 -0
- package/dist/components/shared/checkable.js +108 -0
- package/dist/components/shared/field.styles.d.ts +1 -0
- package/dist/components/shared/field.styles.js +34 -0
- package/dist/components/shared/press.d.ts +7 -0
- package/dist/components/shared/press.js +42 -0
- package/dist/components/shared/step.d.ts +2 -0
- package/dist/components/shared/step.js +2 -0
- package/dist/components/shared/text-control.d.ts +72 -0
- package/dist/components/shared/text-control.js +191 -0
- package/dist/components/slider/slider.d.ts +67 -0
- package/dist/components/slider/slider.def.d.ts +37 -0
- package/dist/components/slider/slider.def.js +54 -0
- package/dist/components/slider/slider.docs.d.ts +2 -0
- package/dist/components/slider/slider.docs.js +45 -0
- package/dist/components/slider/slider.js +170 -0
- package/dist/components/slider/slider.styles.d.ts +1 -0
- package/dist/components/slider/slider.styles.js +16 -0
- package/dist/components/spinner/spinner.d.ts +0 -1
- package/dist/components/spinner/spinner.def.d.ts +0 -1
- package/dist/components/spinner/spinner.def.js +1 -13
- package/dist/components/spinner/spinner.docs.d.ts +2 -0
- package/dist/components/spinner/spinner.docs.js +17 -0
- package/dist/components/surface/surface.d.ts +0 -4
- package/dist/components/surface/surface.def.d.ts +0 -4
- package/dist/components/surface/surface.def.js +3 -12
- package/dist/components/surface/surface.docs.d.ts +2 -0
- package/dist/components/surface/surface.docs.js +15 -0
- package/dist/components/switch/switch.d.ts +4 -35
- package/dist/components/switch/switch.def.d.ts +0 -5
- package/dist/components/switch/switch.def.js +5 -21
- package/dist/components/switch/switch.docs.d.ts +2 -0
- package/dist/components/switch/switch.docs.js +26 -0
- package/dist/components/switch/switch.js +5 -117
- package/dist/components/text-field/implicit-submit.d.ts +5 -0
- package/dist/components/text-field/implicit-submit.js +8 -3
- package/dist/components/text-field/text-field.d.ts +9 -42
- package/dist/components/text-field/text-field.def.d.ts +0 -12
- package/dist/components/text-field/text-field.def.js +5 -30
- package/dist/components/text-field/text-field.docs.d.ts +2 -0
- package/dist/components/text-field/text-field.docs.js +45 -0
- package/dist/components/text-field/text-field.js +21 -178
- package/dist/components/text-field/text-field.styles.d.ts +1 -1
- package/dist/components/text-field/text-field.styles.js +2 -35
- package/dist/components/textarea/textarea.d.ts +92 -0
- package/dist/components/textarea/textarea.def.d.ts +127 -0
- package/dist/components/textarea/textarea.def.js +44 -0
- package/dist/components/textarea/textarea.docs.d.ts +2 -0
- package/dist/components/textarea/textarea.docs.js +40 -0
- package/dist/components/textarea/textarea.js +101 -0
- package/dist/components/textarea/textarea.styles.d.ts +1 -0
- package/dist/components/textarea/textarea.styles.js +9 -0
- package/dist/components/theme-docs.d.ts +3 -0
- package/dist/components/theme-docs.js +8 -0
- package/dist/core/define.d.ts +20 -2
- package/dist/core/dom.d.ts +4 -0
- package/dist/core/dom.js +7 -0
- package/dist/core/form-control.js +6 -1
- package/dist/core/neu-element.d.ts +2 -2
- package/dist/core/neu-element.js +10 -7
- package/dist/core/props.d.ts +13 -1
- package/dist/core/props.js +13 -3
- package/dist/core/styles.d.ts +0 -2
- package/dist/core/styles.js +0 -7
- package/dist/core/validation.d.ts +6 -2
- package/dist/core/validation.js +15 -8
- package/dist/docs.d.ts +3 -0
- package/dist/docs.js +41 -0
- package/dist/number-field.d.ts +3 -0
- package/dist/number-field.js +4 -0
- package/dist/option.d.ts +3 -0
- package/dist/option.js +4 -0
- package/dist/radio-group.d.ts +4 -0
- package/dist/radio-group.js +6 -0
- package/dist/radio.d.ts +3 -0
- package/dist/radio.js +4 -0
- package/dist/select.d.ts +3 -0
- package/dist/select.js +4 -0
- package/dist/slider.d.ts +3 -0
- package/dist/slider.js +4 -0
- package/dist/ssr.d.ts +10 -6
- package/dist/ssr.js +26 -6
- package/dist/textarea.d.ts +3 -0
- package/dist/textarea.js +4 -0
- package/package.json +45 -1
package/custom-elements.json
CHANGED
|
@@ -19,7 +19,8 @@
|
|
|
19
19
|
"type": {
|
|
20
20
|
"text": "string"
|
|
21
21
|
},
|
|
22
|
-
"default": "''"
|
|
22
|
+
"default": "''",
|
|
23
|
+
"description": "URL of the picture; when it is missing, empty or fails to load, the initials or the icon show instead."
|
|
23
24
|
},
|
|
24
25
|
{
|
|
25
26
|
"name": "label",
|
|
@@ -27,7 +28,8 @@
|
|
|
27
28
|
"type": {
|
|
28
29
|
"text": "string"
|
|
29
30
|
},
|
|
30
|
-
"default": "''"
|
|
31
|
+
"default": "''",
|
|
32
|
+
"description": "Accessible name that turns the avatar into an image; without it the avatar is decorative."
|
|
31
33
|
},
|
|
32
34
|
{
|
|
33
35
|
"name": "initials",
|
|
@@ -35,7 +37,8 @@
|
|
|
35
37
|
"type": {
|
|
36
38
|
"text": "string"
|
|
37
39
|
},
|
|
38
|
-
"default": "''"
|
|
40
|
+
"default": "''",
|
|
41
|
+
"description": "Text shown when there is no picture, such as a person's initials."
|
|
39
42
|
},
|
|
40
43
|
{
|
|
41
44
|
"name": "size",
|
|
@@ -43,7 +46,8 @@
|
|
|
43
46
|
"type": {
|
|
44
47
|
"text": "'sm' | 'md' | 'lg'"
|
|
45
48
|
},
|
|
46
|
-
"default": "'md'"
|
|
49
|
+
"default": "'md'",
|
|
50
|
+
"description": "The avatar size."
|
|
47
51
|
},
|
|
48
52
|
{
|
|
49
53
|
"name": "shape",
|
|
@@ -51,7 +55,8 @@
|
|
|
51
55
|
"type": {
|
|
52
56
|
"text": "'circle' | 'rounded'"
|
|
53
57
|
},
|
|
54
|
-
"default": "'circle'"
|
|
58
|
+
"default": "'circle'",
|
|
59
|
+
"description": "The outline of the avatar."
|
|
55
60
|
}
|
|
56
61
|
],
|
|
57
62
|
"members": [
|
|
@@ -63,7 +68,8 @@
|
|
|
63
68
|
},
|
|
64
69
|
"default": "''",
|
|
65
70
|
"attribute": "src",
|
|
66
|
-
"reflects": true
|
|
71
|
+
"reflects": true,
|
|
72
|
+
"description": "URL of the picture; when it is missing, empty or fails to load, the initials or the icon show instead."
|
|
67
73
|
},
|
|
68
74
|
{
|
|
69
75
|
"kind": "field",
|
|
@@ -73,7 +79,8 @@
|
|
|
73
79
|
},
|
|
74
80
|
"default": "''",
|
|
75
81
|
"attribute": "label",
|
|
76
|
-
"reflects":
|
|
82
|
+
"reflects": true,
|
|
83
|
+
"description": "Accessible name that turns the avatar into an image; without it the avatar is decorative."
|
|
77
84
|
},
|
|
78
85
|
{
|
|
79
86
|
"kind": "field",
|
|
@@ -83,7 +90,8 @@
|
|
|
83
90
|
},
|
|
84
91
|
"default": "''",
|
|
85
92
|
"attribute": "initials",
|
|
86
|
-
"reflects":
|
|
93
|
+
"reflects": true,
|
|
94
|
+
"description": "Text shown when there is no picture, such as a person's initials."
|
|
87
95
|
},
|
|
88
96
|
{
|
|
89
97
|
"kind": "field",
|
|
@@ -93,7 +101,8 @@
|
|
|
93
101
|
},
|
|
94
102
|
"default": "'md'",
|
|
95
103
|
"attribute": "size",
|
|
96
|
-
"reflects": true
|
|
104
|
+
"reflects": true,
|
|
105
|
+
"description": "The avatar size."
|
|
97
106
|
},
|
|
98
107
|
{
|
|
99
108
|
"kind": "field",
|
|
@@ -103,7 +112,8 @@
|
|
|
103
112
|
},
|
|
104
113
|
"default": "'circle'",
|
|
105
114
|
"attribute": "shape",
|
|
106
|
-
"reflects": true
|
|
115
|
+
"reflects": true,
|
|
116
|
+
"description": "The outline of the avatar."
|
|
107
117
|
}
|
|
108
118
|
],
|
|
109
119
|
"events": [],
|
|
@@ -190,7 +200,8 @@
|
|
|
190
200
|
"type": {
|
|
191
201
|
"text": "'neutral' | 'accent' | 'success' | 'warning' | 'danger'"
|
|
192
202
|
},
|
|
193
|
-
"default": "'neutral'"
|
|
203
|
+
"default": "'neutral'",
|
|
204
|
+
"description": "The colour that conveys the badge's meaning."
|
|
194
205
|
},
|
|
195
206
|
{
|
|
196
207
|
"name": "pill",
|
|
@@ -198,7 +209,8 @@
|
|
|
198
209
|
"type": {
|
|
199
210
|
"text": "boolean"
|
|
200
211
|
},
|
|
201
|
-
"default": "false"
|
|
212
|
+
"default": "false",
|
|
213
|
+
"description": "Rounds the badge into a capsule shape."
|
|
202
214
|
}
|
|
203
215
|
],
|
|
204
216
|
"members": [
|
|
@@ -210,7 +222,8 @@
|
|
|
210
222
|
},
|
|
211
223
|
"default": "'neutral'",
|
|
212
224
|
"attribute": "variant",
|
|
213
|
-
"reflects": true
|
|
225
|
+
"reflects": true,
|
|
226
|
+
"description": "The colour that conveys the badge's meaning."
|
|
214
227
|
},
|
|
215
228
|
{
|
|
216
229
|
"kind": "field",
|
|
@@ -220,7 +233,8 @@
|
|
|
220
233
|
},
|
|
221
234
|
"default": "false",
|
|
222
235
|
"attribute": "pill",
|
|
223
|
-
"reflects": true
|
|
236
|
+
"reflects": true,
|
|
237
|
+
"description": "Rounds the badge into a capsule shape."
|
|
224
238
|
}
|
|
225
239
|
],
|
|
226
240
|
"events": [],
|
|
@@ -304,7 +318,8 @@
|
|
|
304
318
|
"type": {
|
|
305
319
|
"text": "'default' | 'primary' | 'flat'"
|
|
306
320
|
},
|
|
307
|
-
"default": "'default'"
|
|
321
|
+
"default": "'default'",
|
|
322
|
+
"description": "The visual emphasis of the button."
|
|
308
323
|
},
|
|
309
324
|
{
|
|
310
325
|
"name": "size",
|
|
@@ -312,7 +327,8 @@
|
|
|
312
327
|
"type": {
|
|
313
328
|
"text": "'sm' | 'md' | 'lg'"
|
|
314
329
|
},
|
|
315
|
-
"default": "'md'"
|
|
330
|
+
"default": "'md'",
|
|
331
|
+
"description": "The button size."
|
|
316
332
|
},
|
|
317
333
|
{
|
|
318
334
|
"name": "disabled",
|
|
@@ -320,7 +336,8 @@
|
|
|
320
336
|
"type": {
|
|
321
337
|
"text": "boolean"
|
|
322
338
|
},
|
|
323
|
-
"default": "false"
|
|
339
|
+
"default": "false",
|
|
340
|
+
"description": "Prevents interaction and dims the button."
|
|
324
341
|
},
|
|
325
342
|
{
|
|
326
343
|
"name": "loading",
|
|
@@ -328,7 +345,8 @@
|
|
|
328
345
|
"type": {
|
|
329
346
|
"text": "boolean"
|
|
330
347
|
},
|
|
331
|
-
"default": "false"
|
|
348
|
+
"default": "false",
|
|
349
|
+
"description": "Shows a spinner and blocks activation while work is in progress."
|
|
332
350
|
},
|
|
333
351
|
{
|
|
334
352
|
"name": "type",
|
|
@@ -336,7 +354,8 @@
|
|
|
336
354
|
"type": {
|
|
337
355
|
"text": "'button' | 'submit' | 'reset'"
|
|
338
356
|
},
|
|
339
|
-
"default": "'button'"
|
|
357
|
+
"default": "'button'",
|
|
358
|
+
"description": "What the button does inside a form; defaults to \"button\", which does nothing."
|
|
340
359
|
}
|
|
341
360
|
],
|
|
342
361
|
"members": [
|
|
@@ -348,7 +367,8 @@
|
|
|
348
367
|
},
|
|
349
368
|
"default": "'default'",
|
|
350
369
|
"attribute": "variant",
|
|
351
|
-
"reflects": true
|
|
370
|
+
"reflects": true,
|
|
371
|
+
"description": "The visual emphasis of the button."
|
|
352
372
|
},
|
|
353
373
|
{
|
|
354
374
|
"kind": "field",
|
|
@@ -358,7 +378,8 @@
|
|
|
358
378
|
},
|
|
359
379
|
"default": "'md'",
|
|
360
380
|
"attribute": "size",
|
|
361
|
-
"reflects": true
|
|
381
|
+
"reflects": true,
|
|
382
|
+
"description": "The button size."
|
|
362
383
|
},
|
|
363
384
|
{
|
|
364
385
|
"kind": "field",
|
|
@@ -368,7 +389,8 @@
|
|
|
368
389
|
},
|
|
369
390
|
"default": "false",
|
|
370
391
|
"attribute": "disabled",
|
|
371
|
-
"reflects": true
|
|
392
|
+
"reflects": true,
|
|
393
|
+
"description": "Prevents interaction and dims the button."
|
|
372
394
|
},
|
|
373
395
|
{
|
|
374
396
|
"kind": "field",
|
|
@@ -378,7 +400,8 @@
|
|
|
378
400
|
},
|
|
379
401
|
"default": "false",
|
|
380
402
|
"attribute": "loading",
|
|
381
|
-
"reflects": true
|
|
403
|
+
"reflects": true,
|
|
404
|
+
"description": "Shows a spinner and blocks activation while work is in progress."
|
|
382
405
|
},
|
|
383
406
|
{
|
|
384
407
|
"kind": "field",
|
|
@@ -388,7 +411,8 @@
|
|
|
388
411
|
},
|
|
389
412
|
"default": "'button'",
|
|
390
413
|
"attribute": "type",
|
|
391
|
-
"reflects": true
|
|
414
|
+
"reflects": true,
|
|
415
|
+
"description": "What the button does inside a form; defaults to \"button\", which does nothing."
|
|
392
416
|
}
|
|
393
417
|
],
|
|
394
418
|
"events": [
|
|
@@ -496,7 +520,8 @@
|
|
|
496
520
|
"type": {
|
|
497
521
|
"text": "string"
|
|
498
522
|
},
|
|
499
|
-
"default": "''"
|
|
523
|
+
"default": "''",
|
|
524
|
+
"description": "Accessible name of the group, announced by assistive technology."
|
|
500
525
|
},
|
|
501
526
|
{
|
|
502
527
|
"name": "orientation",
|
|
@@ -504,7 +529,8 @@
|
|
|
504
529
|
"type": {
|
|
505
530
|
"text": "'horizontal' | 'vertical'"
|
|
506
531
|
},
|
|
507
|
-
"default": "'horizontal'"
|
|
532
|
+
"default": "'horizontal'",
|
|
533
|
+
"description": "The direction the buttons are laid out in."
|
|
508
534
|
}
|
|
509
535
|
],
|
|
510
536
|
"members": [
|
|
@@ -516,7 +542,8 @@
|
|
|
516
542
|
},
|
|
517
543
|
"default": "''",
|
|
518
544
|
"attribute": "label",
|
|
519
|
-
"reflects": true
|
|
545
|
+
"reflects": true,
|
|
546
|
+
"description": "Accessible name of the group, announced by assistive technology."
|
|
520
547
|
},
|
|
521
548
|
{
|
|
522
549
|
"kind": "field",
|
|
@@ -526,7 +553,8 @@
|
|
|
526
553
|
},
|
|
527
554
|
"default": "'horizontal'",
|
|
528
555
|
"attribute": "orientation",
|
|
529
|
-
"reflects": true
|
|
556
|
+
"reflects": true,
|
|
557
|
+
"description": "The direction the buttons are laid out in."
|
|
530
558
|
}
|
|
531
559
|
],
|
|
532
560
|
"events": [],
|
|
@@ -585,6 +613,250 @@
|
|
|
585
613
|
}
|
|
586
614
|
]
|
|
587
615
|
},
|
|
616
|
+
{
|
|
617
|
+
"kind": "javascript-module",
|
|
618
|
+
"path": "dist/checkbox.js",
|
|
619
|
+
"declarations": [
|
|
620
|
+
{
|
|
621
|
+
"kind": "class",
|
|
622
|
+
"name": "NeuCheckbox",
|
|
623
|
+
"tagName": "neu-checkbox",
|
|
624
|
+
"customElement": true,
|
|
625
|
+
"description": "A checkbox. The checked attribute is the default state; indeterminate is a property that the attribute also sets.",
|
|
626
|
+
"attributes": [
|
|
627
|
+
{
|
|
628
|
+
"name": "checked",
|
|
629
|
+
"fieldName": "defaultChecked",
|
|
630
|
+
"type": {
|
|
631
|
+
"text": "boolean"
|
|
632
|
+
},
|
|
633
|
+
"default": "false",
|
|
634
|
+
"description": "Whether the checkbox starts checked, which a form reset restores; set by the checked attribute."
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"name": "indeterminate",
|
|
638
|
+
"fieldName": "indeterminate",
|
|
639
|
+
"type": {
|
|
640
|
+
"text": "boolean"
|
|
641
|
+
},
|
|
642
|
+
"default": "false",
|
|
643
|
+
"description": "Shows the mixed state; the attribute is observed, so changing it later also sets the property."
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"name": "name",
|
|
647
|
+
"fieldName": "name",
|
|
648
|
+
"type": {
|
|
649
|
+
"text": "string"
|
|
650
|
+
},
|
|
651
|
+
"default": "''",
|
|
652
|
+
"description": "The name under which the value is submitted with a form."
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"name": "value",
|
|
656
|
+
"fieldName": "value",
|
|
657
|
+
"type": {
|
|
658
|
+
"text": "string"
|
|
659
|
+
},
|
|
660
|
+
"default": "'on'",
|
|
661
|
+
"description": "The value submitted with the form while the checkbox is checked; defaults to \"on\"."
|
|
662
|
+
},
|
|
663
|
+
{
|
|
664
|
+
"name": "disabled",
|
|
665
|
+
"fieldName": "disabled",
|
|
666
|
+
"type": {
|
|
667
|
+
"text": "boolean"
|
|
668
|
+
},
|
|
669
|
+
"default": "false",
|
|
670
|
+
"description": "Prevents interaction and leaves the checkbox out of form submission."
|
|
671
|
+
},
|
|
672
|
+
{
|
|
673
|
+
"name": "required",
|
|
674
|
+
"fieldName": "required",
|
|
675
|
+
"type": {
|
|
676
|
+
"text": "boolean"
|
|
677
|
+
},
|
|
678
|
+
"default": "false",
|
|
679
|
+
"description": "Makes the form invalid until the checkbox is checked."
|
|
680
|
+
},
|
|
681
|
+
{
|
|
682
|
+
"name": "size",
|
|
683
|
+
"fieldName": "size",
|
|
684
|
+
"type": {
|
|
685
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
686
|
+
},
|
|
687
|
+
"default": "'md'",
|
|
688
|
+
"description": "The checkbox size."
|
|
689
|
+
}
|
|
690
|
+
],
|
|
691
|
+
"members": [
|
|
692
|
+
{
|
|
693
|
+
"kind": "field",
|
|
694
|
+
"name": "checked",
|
|
695
|
+
"type": {
|
|
696
|
+
"text": "boolean"
|
|
697
|
+
},
|
|
698
|
+
"description": "Whether the checkbox is currently checked."
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
"kind": "field",
|
|
702
|
+
"name": "indeterminate",
|
|
703
|
+
"type": {
|
|
704
|
+
"text": "boolean"
|
|
705
|
+
},
|
|
706
|
+
"default": "false",
|
|
707
|
+
"attribute": "indeterminate",
|
|
708
|
+
"reflects": false,
|
|
709
|
+
"description": "Shows the mixed state; the attribute is observed, so changing it later also sets the property."
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"kind": "field",
|
|
713
|
+
"name": "name",
|
|
714
|
+
"type": {
|
|
715
|
+
"text": "string"
|
|
716
|
+
},
|
|
717
|
+
"default": "''",
|
|
718
|
+
"attribute": "name",
|
|
719
|
+
"reflects": true,
|
|
720
|
+
"description": "The name under which the value is submitted with a form."
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"kind": "field",
|
|
724
|
+
"name": "value",
|
|
725
|
+
"type": {
|
|
726
|
+
"text": "string"
|
|
727
|
+
},
|
|
728
|
+
"default": "'on'",
|
|
729
|
+
"attribute": "value",
|
|
730
|
+
"reflects": true,
|
|
731
|
+
"description": "The value submitted with the form while the checkbox is checked; defaults to \"on\"."
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
"kind": "field",
|
|
735
|
+
"name": "disabled",
|
|
736
|
+
"type": {
|
|
737
|
+
"text": "boolean"
|
|
738
|
+
},
|
|
739
|
+
"default": "false",
|
|
740
|
+
"attribute": "disabled",
|
|
741
|
+
"reflects": true,
|
|
742
|
+
"description": "Prevents interaction and leaves the checkbox out of form submission."
|
|
743
|
+
},
|
|
744
|
+
{
|
|
745
|
+
"kind": "field",
|
|
746
|
+
"name": "required",
|
|
747
|
+
"type": {
|
|
748
|
+
"text": "boolean"
|
|
749
|
+
},
|
|
750
|
+
"default": "false",
|
|
751
|
+
"attribute": "required",
|
|
752
|
+
"reflects": true,
|
|
753
|
+
"description": "Makes the form invalid until the checkbox is checked."
|
|
754
|
+
},
|
|
755
|
+
{
|
|
756
|
+
"kind": "field",
|
|
757
|
+
"name": "size",
|
|
758
|
+
"type": {
|
|
759
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
760
|
+
},
|
|
761
|
+
"default": "'md'",
|
|
762
|
+
"attribute": "size",
|
|
763
|
+
"reflects": true,
|
|
764
|
+
"description": "The checkbox size."
|
|
765
|
+
},
|
|
766
|
+
{
|
|
767
|
+
"kind": "field",
|
|
768
|
+
"name": "defaultChecked",
|
|
769
|
+
"type": {
|
|
770
|
+
"text": "boolean"
|
|
771
|
+
},
|
|
772
|
+
"attribute": "checked",
|
|
773
|
+
"reflects": true,
|
|
774
|
+
"description": "Whether the checkbox starts checked, which a form reset restores; set by the checked attribute."
|
|
775
|
+
}
|
|
776
|
+
],
|
|
777
|
+
"events": [
|
|
778
|
+
{
|
|
779
|
+
"name": "input",
|
|
780
|
+
"type": {
|
|
781
|
+
"text": "Event"
|
|
782
|
+
},
|
|
783
|
+
"description": "Fired when the user toggles the checkbox."
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"name": "change",
|
|
787
|
+
"type": {
|
|
788
|
+
"text": "Event"
|
|
789
|
+
},
|
|
790
|
+
"description": "Fired after input when the user toggles the checkbox."
|
|
791
|
+
}
|
|
792
|
+
],
|
|
793
|
+
"slots": [
|
|
794
|
+
{
|
|
795
|
+
"name": "",
|
|
796
|
+
"description": "Label; also the accessible name."
|
|
797
|
+
}
|
|
798
|
+
],
|
|
799
|
+
"cssParts": [
|
|
800
|
+
{
|
|
801
|
+
"name": "base",
|
|
802
|
+
"description": "Wrapper around control and label."
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
"name": "control",
|
|
806
|
+
"description": "The inset box."
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"name": "indicator",
|
|
810
|
+
"description": "The check or minus mark."
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
"name": "label",
|
|
814
|
+
"description": "Wrapper around the default slot."
|
|
815
|
+
}
|
|
816
|
+
],
|
|
817
|
+
"cssProperties": [
|
|
818
|
+
{
|
|
819
|
+
"name": "--neu-bg",
|
|
820
|
+
"description": "Surface colour; shadows and text are derived from it."
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"name": "--neu-accent",
|
|
824
|
+
"description": "Accent colour."
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"name": "--neu-distance",
|
|
828
|
+
"description": "Shadow distance for the md size."
|
|
829
|
+
},
|
|
830
|
+
{
|
|
831
|
+
"name": "--neu-intensity",
|
|
832
|
+
"description": "Shadow strength multiplier."
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
"name": "--neu-radius",
|
|
836
|
+
"description": "Corner radius for the md size."
|
|
837
|
+
}
|
|
838
|
+
]
|
|
839
|
+
}
|
|
840
|
+
],
|
|
841
|
+
"exports": [
|
|
842
|
+
{
|
|
843
|
+
"kind": "js",
|
|
844
|
+
"name": "NeuCheckbox",
|
|
845
|
+
"declaration": {
|
|
846
|
+
"name": "NeuCheckbox",
|
|
847
|
+
"module": "dist/checkbox.js"
|
|
848
|
+
}
|
|
849
|
+
},
|
|
850
|
+
{
|
|
851
|
+
"kind": "custom-element-definition",
|
|
852
|
+
"name": "neu-checkbox",
|
|
853
|
+
"declaration": {
|
|
854
|
+
"name": "NeuCheckbox",
|
|
855
|
+
"module": "dist/checkbox.js"
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
]
|
|
859
|
+
},
|
|
588
860
|
{
|
|
589
861
|
"kind": "javascript-module",
|
|
590
862
|
"path": "dist/divider.js",
|
|
@@ -602,7 +874,8 @@
|
|
|
602
874
|
"type": {
|
|
603
875
|
"text": "'horizontal' | 'vertical'"
|
|
604
876
|
},
|
|
605
|
-
"default": "'horizontal'"
|
|
877
|
+
"default": "'horizontal'",
|
|
878
|
+
"description": "The direction the line runs in."
|
|
606
879
|
}
|
|
607
880
|
],
|
|
608
881
|
"members": [
|
|
@@ -614,7 +887,8 @@
|
|
|
614
887
|
},
|
|
615
888
|
"default": "'horizontal'",
|
|
616
889
|
"attribute": "orientation",
|
|
617
|
-
"reflects": true
|
|
890
|
+
"reflects": true,
|
|
891
|
+
"description": "The direction the line runs in."
|
|
618
892
|
}
|
|
619
893
|
],
|
|
620
894
|
"events": [],
|
|
@@ -685,7 +959,8 @@
|
|
|
685
959
|
"type": {
|
|
686
960
|
"text": "string"
|
|
687
961
|
},
|
|
688
|
-
"default": "''"
|
|
962
|
+
"default": "''",
|
|
963
|
+
"description": "The name of the icon to show."
|
|
689
964
|
},
|
|
690
965
|
{
|
|
691
966
|
"name": "library",
|
|
@@ -693,7 +968,8 @@
|
|
|
693
968
|
"type": {
|
|
694
969
|
"text": "string"
|
|
695
970
|
},
|
|
696
|
-
"default": "'system'"
|
|
971
|
+
"default": "'system'",
|
|
972
|
+
"description": "The icon library to take the icon from; defaults to the built-in system set."
|
|
697
973
|
},
|
|
698
974
|
{
|
|
699
975
|
"name": "label",
|
|
@@ -701,7 +977,8 @@
|
|
|
701
977
|
"type": {
|
|
702
978
|
"text": "string"
|
|
703
979
|
},
|
|
704
|
-
"default": "''"
|
|
980
|
+
"default": "''",
|
|
981
|
+
"description": "Accessible name that turns the icon into an image; without it the icon is decorative."
|
|
705
982
|
}
|
|
706
983
|
],
|
|
707
984
|
"members": [
|
|
@@ -713,7 +990,8 @@
|
|
|
713
990
|
},
|
|
714
991
|
"default": "''",
|
|
715
992
|
"attribute": "name",
|
|
716
|
-
"reflects": true
|
|
993
|
+
"reflects": true,
|
|
994
|
+
"description": "The name of the icon to show."
|
|
717
995
|
},
|
|
718
996
|
{
|
|
719
997
|
"kind": "field",
|
|
@@ -723,7 +1001,8 @@
|
|
|
723
1001
|
},
|
|
724
1002
|
"default": "'system'",
|
|
725
1003
|
"attribute": "library",
|
|
726
|
-
"reflects": true
|
|
1004
|
+
"reflects": true,
|
|
1005
|
+
"description": "The icon library to take the icon from; defaults to the built-in system set."
|
|
727
1006
|
},
|
|
728
1007
|
{
|
|
729
1008
|
"kind": "field",
|
|
@@ -733,7 +1012,8 @@
|
|
|
733
1012
|
},
|
|
734
1013
|
"default": "''",
|
|
735
1014
|
"attribute": "label",
|
|
736
|
-
"reflects": true
|
|
1015
|
+
"reflects": true,
|
|
1016
|
+
"description": "Accessible name that turns the icon into an image; without it the icon is decorative."
|
|
737
1017
|
}
|
|
738
1018
|
],
|
|
739
1019
|
"events": [],
|
|
@@ -783,7 +1063,8 @@
|
|
|
783
1063
|
"type": {
|
|
784
1064
|
"text": "string"
|
|
785
1065
|
},
|
|
786
|
-
"default": "''"
|
|
1066
|
+
"default": "''",
|
|
1067
|
+
"description": "The name of the icon to show."
|
|
787
1068
|
},
|
|
788
1069
|
{
|
|
789
1070
|
"name": "library",
|
|
@@ -791,7 +1072,8 @@
|
|
|
791
1072
|
"type": {
|
|
792
1073
|
"text": "string"
|
|
793
1074
|
},
|
|
794
|
-
"default": "'system'"
|
|
1075
|
+
"default": "'system'",
|
|
1076
|
+
"description": "The icon library to take the icon from; defaults to the built-in system set."
|
|
795
1077
|
},
|
|
796
1078
|
{
|
|
797
1079
|
"name": "label",
|
|
@@ -799,7 +1081,8 @@
|
|
|
799
1081
|
"type": {
|
|
800
1082
|
"text": "string"
|
|
801
1083
|
},
|
|
802
|
-
"default": "''"
|
|
1084
|
+
"default": "''",
|
|
1085
|
+
"description": "Accessible name of the button, since it has no visible text."
|
|
803
1086
|
},
|
|
804
1087
|
{
|
|
805
1088
|
"name": "shape",
|
|
@@ -807,7 +1090,8 @@
|
|
|
807
1090
|
"type": {
|
|
808
1091
|
"text": "'circle' | 'square'"
|
|
809
1092
|
},
|
|
810
|
-
"default": "'circle'"
|
|
1093
|
+
"default": "'circle'",
|
|
1094
|
+
"description": "The outline of the button."
|
|
811
1095
|
},
|
|
812
1096
|
{
|
|
813
1097
|
"name": "variant",
|
|
@@ -815,7 +1099,8 @@
|
|
|
815
1099
|
"type": {
|
|
816
1100
|
"text": "'default' | 'primary' | 'flat'"
|
|
817
1101
|
},
|
|
818
|
-
"default": "'default'"
|
|
1102
|
+
"default": "'default'",
|
|
1103
|
+
"description": "The visual emphasis of the button."
|
|
819
1104
|
},
|
|
820
1105
|
{
|
|
821
1106
|
"name": "size",
|
|
@@ -823,7 +1108,8 @@
|
|
|
823
1108
|
"type": {
|
|
824
1109
|
"text": "'sm' | 'md' | 'lg'"
|
|
825
1110
|
},
|
|
826
|
-
"default": "'md'"
|
|
1111
|
+
"default": "'md'",
|
|
1112
|
+
"description": "The button size."
|
|
827
1113
|
},
|
|
828
1114
|
{
|
|
829
1115
|
"name": "disabled",
|
|
@@ -831,7 +1117,8 @@
|
|
|
831
1117
|
"type": {
|
|
832
1118
|
"text": "boolean"
|
|
833
1119
|
},
|
|
834
|
-
"default": "false"
|
|
1120
|
+
"default": "false",
|
|
1121
|
+
"description": "Prevents interaction and dims the button."
|
|
835
1122
|
},
|
|
836
1123
|
{
|
|
837
1124
|
"name": "type",
|
|
@@ -839,7 +1126,8 @@
|
|
|
839
1126
|
"type": {
|
|
840
1127
|
"text": "'button' | 'submit' | 'reset'"
|
|
841
1128
|
},
|
|
842
|
-
"default": "'button'"
|
|
1129
|
+
"default": "'button'",
|
|
1130
|
+
"description": "What the button does inside a form; defaults to \"button\", which does nothing."
|
|
843
1131
|
}
|
|
844
1132
|
],
|
|
845
1133
|
"members": [
|
|
@@ -851,7 +1139,8 @@
|
|
|
851
1139
|
},
|
|
852
1140
|
"default": "''",
|
|
853
1141
|
"attribute": "icon",
|
|
854
|
-
"reflects":
|
|
1142
|
+
"reflects": true,
|
|
1143
|
+
"description": "The name of the icon to show."
|
|
855
1144
|
},
|
|
856
1145
|
{
|
|
857
1146
|
"kind": "field",
|
|
@@ -861,7 +1150,8 @@
|
|
|
861
1150
|
},
|
|
862
1151
|
"default": "'system'",
|
|
863
1152
|
"attribute": "library",
|
|
864
|
-
"reflects":
|
|
1153
|
+
"reflects": true,
|
|
1154
|
+
"description": "The icon library to take the icon from; defaults to the built-in system set."
|
|
865
1155
|
},
|
|
866
1156
|
{
|
|
867
1157
|
"kind": "field",
|
|
@@ -871,7 +1161,8 @@
|
|
|
871
1161
|
},
|
|
872
1162
|
"default": "''",
|
|
873
1163
|
"attribute": "label",
|
|
874
|
-
"reflects":
|
|
1164
|
+
"reflects": true,
|
|
1165
|
+
"description": "Accessible name of the button, since it has no visible text."
|
|
875
1166
|
},
|
|
876
1167
|
{
|
|
877
1168
|
"kind": "field",
|
|
@@ -881,7 +1172,8 @@
|
|
|
881
1172
|
},
|
|
882
1173
|
"default": "'circle'",
|
|
883
1174
|
"attribute": "shape",
|
|
884
|
-
"reflects": true
|
|
1175
|
+
"reflects": true,
|
|
1176
|
+
"description": "The outline of the button."
|
|
885
1177
|
},
|
|
886
1178
|
{
|
|
887
1179
|
"kind": "field",
|
|
@@ -891,7 +1183,8 @@
|
|
|
891
1183
|
},
|
|
892
1184
|
"default": "'default'",
|
|
893
1185
|
"attribute": "variant",
|
|
894
|
-
"reflects": true
|
|
1186
|
+
"reflects": true,
|
|
1187
|
+
"description": "The visual emphasis of the button."
|
|
895
1188
|
},
|
|
896
1189
|
{
|
|
897
1190
|
"kind": "field",
|
|
@@ -901,7 +1194,8 @@
|
|
|
901
1194
|
},
|
|
902
1195
|
"default": "'md'",
|
|
903
1196
|
"attribute": "size",
|
|
904
|
-
"reflects": true
|
|
1197
|
+
"reflects": true,
|
|
1198
|
+
"description": "The button size."
|
|
905
1199
|
},
|
|
906
1200
|
{
|
|
907
1201
|
"kind": "field",
|
|
@@ -911,7 +1205,8 @@
|
|
|
911
1205
|
},
|
|
912
1206
|
"default": "false",
|
|
913
1207
|
"attribute": "disabled",
|
|
914
|
-
"reflects": true
|
|
1208
|
+
"reflects": true,
|
|
1209
|
+
"description": "Prevents interaction and dims the button."
|
|
915
1210
|
},
|
|
916
1211
|
{
|
|
917
1212
|
"kind": "field",
|
|
@@ -921,7 +1216,8 @@
|
|
|
921
1216
|
},
|
|
922
1217
|
"default": "'button'",
|
|
923
1218
|
"attribute": "type",
|
|
924
|
-
"reflects": true
|
|
1219
|
+
"reflects": true,
|
|
1220
|
+
"description": "What the button does inside a form; defaults to \"button\", which does nothing."
|
|
925
1221
|
}
|
|
926
1222
|
],
|
|
927
1223
|
"events": [
|
|
@@ -993,68 +1289,1857 @@
|
|
|
993
1289
|
},
|
|
994
1290
|
{
|
|
995
1291
|
"kind": "javascript-module",
|
|
996
|
-
"path": "dist/
|
|
1292
|
+
"path": "dist/number-field.js",
|
|
997
1293
|
"declarations": [
|
|
998
1294
|
{
|
|
999
1295
|
"kind": "class",
|
|
1000
|
-
"name": "
|
|
1001
|
-
"tagName": "neu-
|
|
1296
|
+
"name": "NeuNumberField",
|
|
1297
|
+
"tagName": "neu-number-field",
|
|
1002
1298
|
"customElement": true,
|
|
1003
|
-
"description": "A
|
|
1299
|
+
"description": "A numeric input with an inset field and stepper buttons. The value attribute is the default value.",
|
|
1004
1300
|
"attributes": [
|
|
1005
1301
|
{
|
|
1006
|
-
"name": "
|
|
1007
|
-
"fieldName": "
|
|
1302
|
+
"name": "value",
|
|
1303
|
+
"fieldName": "defaultValue",
|
|
1008
1304
|
"type": {
|
|
1009
1305
|
"text": "string"
|
|
1010
1306
|
},
|
|
1011
|
-
"default": "'
|
|
1307
|
+
"default": "''",
|
|
1308
|
+
"description": "The value the field starts with, which a form reset restores; set by the value attribute."
|
|
1012
1309
|
},
|
|
1013
1310
|
{
|
|
1014
|
-
"name": "
|
|
1015
|
-
"fieldName": "
|
|
1311
|
+
"name": "min",
|
|
1312
|
+
"fieldName": "min",
|
|
1016
1313
|
"type": {
|
|
1017
|
-
"text": "
|
|
1314
|
+
"text": "number"
|
|
1018
1315
|
},
|
|
1019
|
-
"default": "
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
"members": [
|
|
1316
|
+
"default": "NaN",
|
|
1317
|
+
"description": "The lowest accepted value, also the target of the Home key."
|
|
1318
|
+
},
|
|
1023
1319
|
{
|
|
1024
|
-
"
|
|
1025
|
-
"
|
|
1320
|
+
"name": "max",
|
|
1321
|
+
"fieldName": "max",
|
|
1026
1322
|
"type": {
|
|
1027
|
-
"text": "
|
|
1323
|
+
"text": "number"
|
|
1028
1324
|
},
|
|
1029
|
-
"default": "
|
|
1030
|
-
"
|
|
1031
|
-
"reflects": false
|
|
1325
|
+
"default": "NaN",
|
|
1326
|
+
"description": "The highest accepted value, also the target of the End key."
|
|
1032
1327
|
},
|
|
1033
1328
|
{
|
|
1034
|
-
"
|
|
1035
|
-
"
|
|
1329
|
+
"name": "step",
|
|
1330
|
+
"fieldName": "step",
|
|
1036
1331
|
"type": {
|
|
1037
|
-
"text": "
|
|
1332
|
+
"text": "number"
|
|
1333
|
+
},
|
|
1334
|
+
"default": "1",
|
|
1335
|
+
"description": "The amount one step changes the value by, and the granularity values must match."
|
|
1336
|
+
},
|
|
1337
|
+
{
|
|
1338
|
+
"name": "name",
|
|
1339
|
+
"fieldName": "name",
|
|
1340
|
+
"type": {
|
|
1341
|
+
"text": "string"
|
|
1342
|
+
},
|
|
1343
|
+
"default": "''",
|
|
1344
|
+
"description": "The name under which the value is submitted with a form."
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
"name": "label",
|
|
1348
|
+
"fieldName": "label",
|
|
1349
|
+
"type": {
|
|
1350
|
+
"text": "string"
|
|
1351
|
+
},
|
|
1352
|
+
"default": "''",
|
|
1353
|
+
"description": "Visible label text; the label slot replaces it."
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
"name": "placeholder",
|
|
1357
|
+
"fieldName": "placeholder",
|
|
1358
|
+
"type": {
|
|
1359
|
+
"text": "string"
|
|
1360
|
+
},
|
|
1361
|
+
"default": "''",
|
|
1362
|
+
"description": "Hint shown while the field is empty."
|
|
1363
|
+
},
|
|
1364
|
+
{
|
|
1365
|
+
"name": "help-text",
|
|
1366
|
+
"fieldName": "helpText",
|
|
1367
|
+
"type": {
|
|
1368
|
+
"text": "string"
|
|
1369
|
+
},
|
|
1370
|
+
"default": "''",
|
|
1371
|
+
"description": "Guidance shown below the field; the help-text slot replaces it."
|
|
1372
|
+
},
|
|
1373
|
+
{
|
|
1374
|
+
"name": "error-text",
|
|
1375
|
+
"fieldName": "errorText",
|
|
1376
|
+
"type": {
|
|
1377
|
+
"text": "string"
|
|
1378
|
+
},
|
|
1379
|
+
"default": "''",
|
|
1380
|
+
"description": "Shown in place of the browser's validation message once the field is invalid after user interaction; does not itself make the field invalid."
|
|
1381
|
+
},
|
|
1382
|
+
{
|
|
1383
|
+
"name": "required",
|
|
1384
|
+
"fieldName": "required",
|
|
1385
|
+
"type": {
|
|
1386
|
+
"text": "boolean"
|
|
1387
|
+
},
|
|
1388
|
+
"default": "false",
|
|
1389
|
+
"description": "Makes the form invalid while the field is empty."
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
"name": "disabled",
|
|
1393
|
+
"fieldName": "disabled",
|
|
1394
|
+
"type": {
|
|
1395
|
+
"text": "boolean"
|
|
1396
|
+
},
|
|
1397
|
+
"default": "false",
|
|
1398
|
+
"description": "Prevents interaction and leaves the field out of form submission."
|
|
1399
|
+
},
|
|
1400
|
+
{
|
|
1401
|
+
"name": "readonly",
|
|
1402
|
+
"fieldName": "readOnly",
|
|
1403
|
+
"type": {
|
|
1404
|
+
"text": "boolean"
|
|
1405
|
+
},
|
|
1406
|
+
"default": "false",
|
|
1407
|
+
"description": "Keeps the value visible and submitted but not editable."
|
|
1408
|
+
},
|
|
1409
|
+
{
|
|
1410
|
+
"name": "size",
|
|
1411
|
+
"fieldName": "size",
|
|
1412
|
+
"type": {
|
|
1413
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
1414
|
+
},
|
|
1415
|
+
"default": "'md'",
|
|
1416
|
+
"description": "The field size."
|
|
1417
|
+
},
|
|
1418
|
+
{
|
|
1419
|
+
"name": "increment-label",
|
|
1420
|
+
"fieldName": "incrementLabel",
|
|
1421
|
+
"type": {
|
|
1422
|
+
"text": "string"
|
|
1423
|
+
},
|
|
1424
|
+
"default": "'Increase'",
|
|
1425
|
+
"description": "Accessible name of the button that raises the value; defaults to \"Increase\"."
|
|
1426
|
+
},
|
|
1427
|
+
{
|
|
1428
|
+
"name": "decrement-label",
|
|
1429
|
+
"fieldName": "decrementLabel",
|
|
1430
|
+
"type": {
|
|
1431
|
+
"text": "string"
|
|
1432
|
+
},
|
|
1433
|
+
"default": "'Decrease'",
|
|
1434
|
+
"description": "Accessible name of the button that lowers the value; defaults to \"Decrease\"."
|
|
1435
|
+
}
|
|
1436
|
+
],
|
|
1437
|
+
"members": [
|
|
1438
|
+
{
|
|
1439
|
+
"kind": "field",
|
|
1440
|
+
"name": "value",
|
|
1441
|
+
"type": {
|
|
1442
|
+
"text": "string"
|
|
1443
|
+
},
|
|
1444
|
+
"description": "The current number as typed or set by script, as a string."
|
|
1445
|
+
},
|
|
1446
|
+
{
|
|
1447
|
+
"kind": "field",
|
|
1448
|
+
"name": "min",
|
|
1449
|
+
"type": {
|
|
1450
|
+
"text": "number"
|
|
1451
|
+
},
|
|
1452
|
+
"default": "NaN",
|
|
1453
|
+
"attribute": "min",
|
|
1454
|
+
"reflects": true,
|
|
1455
|
+
"description": "The lowest accepted value, also the target of the Home key."
|
|
1456
|
+
},
|
|
1457
|
+
{
|
|
1458
|
+
"kind": "field",
|
|
1459
|
+
"name": "max",
|
|
1460
|
+
"type": {
|
|
1461
|
+
"text": "number"
|
|
1462
|
+
},
|
|
1463
|
+
"default": "NaN",
|
|
1464
|
+
"attribute": "max",
|
|
1465
|
+
"reflects": true,
|
|
1466
|
+
"description": "The highest accepted value, also the target of the End key."
|
|
1467
|
+
},
|
|
1468
|
+
{
|
|
1469
|
+
"kind": "field",
|
|
1470
|
+
"name": "step",
|
|
1471
|
+
"type": {
|
|
1472
|
+
"text": "number"
|
|
1473
|
+
},
|
|
1474
|
+
"default": "1",
|
|
1475
|
+
"attribute": "step",
|
|
1476
|
+
"reflects": true,
|
|
1477
|
+
"description": "The amount one step changes the value by, and the granularity values must match."
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"kind": "field",
|
|
1481
|
+
"name": "name",
|
|
1482
|
+
"type": {
|
|
1483
|
+
"text": "string"
|
|
1484
|
+
},
|
|
1485
|
+
"default": "''",
|
|
1486
|
+
"attribute": "name",
|
|
1487
|
+
"reflects": true,
|
|
1488
|
+
"description": "The name under which the value is submitted with a form."
|
|
1489
|
+
},
|
|
1490
|
+
{
|
|
1491
|
+
"kind": "field",
|
|
1492
|
+
"name": "label",
|
|
1493
|
+
"type": {
|
|
1494
|
+
"text": "string"
|
|
1495
|
+
},
|
|
1496
|
+
"default": "''",
|
|
1497
|
+
"attribute": "label",
|
|
1498
|
+
"reflects": true,
|
|
1499
|
+
"description": "Visible label text; the label slot replaces it."
|
|
1500
|
+
},
|
|
1501
|
+
{
|
|
1502
|
+
"kind": "field",
|
|
1503
|
+
"name": "placeholder",
|
|
1504
|
+
"type": {
|
|
1505
|
+
"text": "string"
|
|
1506
|
+
},
|
|
1507
|
+
"default": "''",
|
|
1508
|
+
"attribute": "placeholder",
|
|
1509
|
+
"reflects": true,
|
|
1510
|
+
"description": "Hint shown while the field is empty."
|
|
1511
|
+
},
|
|
1512
|
+
{
|
|
1513
|
+
"kind": "field",
|
|
1514
|
+
"name": "helpText",
|
|
1515
|
+
"type": {
|
|
1516
|
+
"text": "string"
|
|
1517
|
+
},
|
|
1518
|
+
"default": "''",
|
|
1519
|
+
"attribute": "help-text",
|
|
1520
|
+
"reflects": true,
|
|
1521
|
+
"description": "Guidance shown below the field; the help-text slot replaces it."
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1524
|
+
"kind": "field",
|
|
1525
|
+
"name": "errorText",
|
|
1526
|
+
"type": {
|
|
1527
|
+
"text": "string"
|
|
1528
|
+
},
|
|
1529
|
+
"default": "''",
|
|
1530
|
+
"attribute": "error-text",
|
|
1531
|
+
"reflects": true,
|
|
1532
|
+
"description": "Shown in place of the browser's validation message once the field is invalid after user interaction; does not itself make the field invalid."
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
"kind": "field",
|
|
1536
|
+
"name": "required",
|
|
1537
|
+
"type": {
|
|
1538
|
+
"text": "boolean"
|
|
1539
|
+
},
|
|
1540
|
+
"default": "false",
|
|
1541
|
+
"attribute": "required",
|
|
1542
|
+
"reflects": true,
|
|
1543
|
+
"description": "Makes the form invalid while the field is empty."
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
"kind": "field",
|
|
1547
|
+
"name": "disabled",
|
|
1548
|
+
"type": {
|
|
1549
|
+
"text": "boolean"
|
|
1550
|
+
},
|
|
1551
|
+
"default": "false",
|
|
1552
|
+
"attribute": "disabled",
|
|
1553
|
+
"reflects": true,
|
|
1554
|
+
"description": "Prevents interaction and leaves the field out of form submission."
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"kind": "field",
|
|
1558
|
+
"name": "readOnly",
|
|
1559
|
+
"type": {
|
|
1560
|
+
"text": "boolean"
|
|
1561
|
+
},
|
|
1562
|
+
"default": "false",
|
|
1563
|
+
"attribute": "readonly",
|
|
1564
|
+
"reflects": true,
|
|
1565
|
+
"description": "Keeps the value visible and submitted but not editable."
|
|
1566
|
+
},
|
|
1567
|
+
{
|
|
1568
|
+
"kind": "field",
|
|
1569
|
+
"name": "size",
|
|
1570
|
+
"type": {
|
|
1571
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
1572
|
+
},
|
|
1573
|
+
"default": "'md'",
|
|
1574
|
+
"attribute": "size",
|
|
1575
|
+
"reflects": true,
|
|
1576
|
+
"description": "The field size."
|
|
1577
|
+
},
|
|
1578
|
+
{
|
|
1579
|
+
"kind": "field",
|
|
1580
|
+
"name": "incrementLabel",
|
|
1581
|
+
"type": {
|
|
1582
|
+
"text": "string"
|
|
1583
|
+
},
|
|
1584
|
+
"default": "'Increase'",
|
|
1585
|
+
"attribute": "increment-label",
|
|
1586
|
+
"reflects": true,
|
|
1587
|
+
"description": "Accessible name of the button that raises the value; defaults to \"Increase\"."
|
|
1588
|
+
},
|
|
1589
|
+
{
|
|
1590
|
+
"kind": "field",
|
|
1591
|
+
"name": "decrementLabel",
|
|
1592
|
+
"type": {
|
|
1593
|
+
"text": "string"
|
|
1594
|
+
},
|
|
1595
|
+
"default": "'Decrease'",
|
|
1596
|
+
"attribute": "decrement-label",
|
|
1597
|
+
"reflects": true,
|
|
1598
|
+
"description": "Accessible name of the button that lowers the value; defaults to \"Decrease\"."
|
|
1599
|
+
},
|
|
1600
|
+
{
|
|
1601
|
+
"kind": "field",
|
|
1602
|
+
"name": "defaultValue",
|
|
1603
|
+
"type": {
|
|
1604
|
+
"text": "string"
|
|
1605
|
+
},
|
|
1606
|
+
"attribute": "value",
|
|
1607
|
+
"reflects": true,
|
|
1608
|
+
"description": "The value the field starts with, which a form reset restores; set by the value attribute."
|
|
1609
|
+
}
|
|
1610
|
+
],
|
|
1611
|
+
"events": [
|
|
1612
|
+
{
|
|
1613
|
+
"name": "input",
|
|
1614
|
+
"type": {
|
|
1615
|
+
"text": "Event"
|
|
1616
|
+
},
|
|
1617
|
+
"description": "Fired on every edit and every step (composed)."
|
|
1618
|
+
},
|
|
1619
|
+
{
|
|
1620
|
+
"name": "change",
|
|
1621
|
+
"type": {
|
|
1622
|
+
"text": "Event"
|
|
1623
|
+
},
|
|
1624
|
+
"description": "Fired when an edit is committed, or after each step."
|
|
1625
|
+
}
|
|
1626
|
+
],
|
|
1627
|
+
"slots": [
|
|
1628
|
+
{
|
|
1629
|
+
"name": "label",
|
|
1630
|
+
"description": "Rich label; replaces the label attribute."
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
"name": "help-text",
|
|
1634
|
+
"description": "Rich help text; replaces the help-text attribute."
|
|
1635
|
+
}
|
|
1636
|
+
],
|
|
1637
|
+
"cssParts": [
|
|
1638
|
+
{
|
|
1639
|
+
"name": "base",
|
|
1640
|
+
"description": "Outer wrapper."
|
|
1641
|
+
},
|
|
1642
|
+
{
|
|
1643
|
+
"name": "label",
|
|
1644
|
+
"description": "The <label> element."
|
|
1645
|
+
},
|
|
1646
|
+
{
|
|
1647
|
+
"name": "control",
|
|
1648
|
+
"description": "The inset field around the input and buttons."
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
"name": "input",
|
|
1652
|
+
"description": "The native <input type=\"number\">."
|
|
1653
|
+
},
|
|
1654
|
+
{
|
|
1655
|
+
"name": "decrement",
|
|
1656
|
+
"description": "The button that lowers the value."
|
|
1657
|
+
},
|
|
1658
|
+
{
|
|
1659
|
+
"name": "increment",
|
|
1660
|
+
"description": "The button that raises the value."
|
|
1661
|
+
},
|
|
1662
|
+
{
|
|
1663
|
+
"name": "help-text",
|
|
1664
|
+
"description": "Help or error text area."
|
|
1665
|
+
}
|
|
1666
|
+
],
|
|
1667
|
+
"cssProperties": [
|
|
1668
|
+
{
|
|
1669
|
+
"name": "--neu-bg",
|
|
1670
|
+
"description": "Surface colour; shadows and text are derived from it."
|
|
1671
|
+
},
|
|
1672
|
+
{
|
|
1673
|
+
"name": "--neu-accent",
|
|
1674
|
+
"description": "Accent colour."
|
|
1675
|
+
},
|
|
1676
|
+
{
|
|
1677
|
+
"name": "--neu-distance",
|
|
1678
|
+
"description": "Shadow distance for the md size."
|
|
1679
|
+
},
|
|
1680
|
+
{
|
|
1681
|
+
"name": "--neu-intensity",
|
|
1682
|
+
"description": "Shadow strength multiplier."
|
|
1683
|
+
},
|
|
1684
|
+
{
|
|
1685
|
+
"name": "--neu-radius",
|
|
1686
|
+
"description": "Corner radius for the md size."
|
|
1687
|
+
}
|
|
1688
|
+
]
|
|
1689
|
+
}
|
|
1690
|
+
],
|
|
1691
|
+
"exports": [
|
|
1692
|
+
{
|
|
1693
|
+
"kind": "js",
|
|
1694
|
+
"name": "NeuNumberField",
|
|
1695
|
+
"declaration": {
|
|
1696
|
+
"name": "NeuNumberField",
|
|
1697
|
+
"module": "dist/number-field.js"
|
|
1698
|
+
}
|
|
1699
|
+
},
|
|
1700
|
+
{
|
|
1701
|
+
"kind": "custom-element-definition",
|
|
1702
|
+
"name": "neu-number-field",
|
|
1703
|
+
"declaration": {
|
|
1704
|
+
"name": "NeuNumberField",
|
|
1705
|
+
"module": "dist/number-field.js"
|
|
1706
|
+
}
|
|
1707
|
+
}
|
|
1708
|
+
]
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
"kind": "javascript-module",
|
|
1712
|
+
"path": "dist/option.js",
|
|
1713
|
+
"declarations": [
|
|
1714
|
+
{
|
|
1715
|
+
"kind": "class",
|
|
1716
|
+
"name": "NeuOption",
|
|
1717
|
+
"tagName": "neu-option",
|
|
1718
|
+
"customElement": true,
|
|
1719
|
+
"description": "One choice of a neu-select. It is data only and never rendered: the select reads its value (the value attribute, or the label when there is none), its text as the label, and disabled.",
|
|
1720
|
+
"attributes": [
|
|
1721
|
+
{
|
|
1722
|
+
"name": "value",
|
|
1723
|
+
"fieldName": "value",
|
|
1724
|
+
"type": {
|
|
1725
|
+
"text": "string"
|
|
1726
|
+
},
|
|
1727
|
+
"default": "''",
|
|
1728
|
+
"description": "The value the select takes when this option is chosen; the label is used when it is missing."
|
|
1729
|
+
},
|
|
1730
|
+
{
|
|
1731
|
+
"name": "disabled",
|
|
1732
|
+
"fieldName": "disabled",
|
|
1733
|
+
"type": {
|
|
1734
|
+
"text": "boolean"
|
|
1735
|
+
},
|
|
1736
|
+
"default": "false",
|
|
1737
|
+
"description": "Keeps the option visible but not selectable."
|
|
1738
|
+
}
|
|
1739
|
+
],
|
|
1740
|
+
"members": [
|
|
1741
|
+
{
|
|
1742
|
+
"kind": "field",
|
|
1743
|
+
"name": "value",
|
|
1744
|
+
"type": {
|
|
1745
|
+
"text": "string"
|
|
1746
|
+
},
|
|
1747
|
+
"default": "''",
|
|
1748
|
+
"attribute": "value",
|
|
1749
|
+
"reflects": true,
|
|
1750
|
+
"description": "The value the select takes when this option is chosen; the label is used when it is missing."
|
|
1751
|
+
},
|
|
1752
|
+
{
|
|
1753
|
+
"kind": "field",
|
|
1754
|
+
"name": "disabled",
|
|
1755
|
+
"type": {
|
|
1756
|
+
"text": "boolean"
|
|
1757
|
+
},
|
|
1758
|
+
"default": "false",
|
|
1759
|
+
"attribute": "disabled",
|
|
1760
|
+
"reflects": true,
|
|
1761
|
+
"description": "Keeps the option visible but not selectable."
|
|
1762
|
+
}
|
|
1763
|
+
],
|
|
1764
|
+
"events": [],
|
|
1765
|
+
"slots": [
|
|
1766
|
+
{
|
|
1767
|
+
"name": "",
|
|
1768
|
+
"description": "The label, as plain text."
|
|
1769
|
+
}
|
|
1770
|
+
],
|
|
1771
|
+
"cssParts": [],
|
|
1772
|
+
"cssProperties": []
|
|
1773
|
+
}
|
|
1774
|
+
],
|
|
1775
|
+
"exports": [
|
|
1776
|
+
{
|
|
1777
|
+
"kind": "js",
|
|
1778
|
+
"name": "NeuOption",
|
|
1779
|
+
"declaration": {
|
|
1780
|
+
"name": "NeuOption",
|
|
1781
|
+
"module": "dist/option.js"
|
|
1782
|
+
}
|
|
1783
|
+
},
|
|
1784
|
+
{
|
|
1785
|
+
"kind": "custom-element-definition",
|
|
1786
|
+
"name": "neu-option",
|
|
1787
|
+
"declaration": {
|
|
1788
|
+
"name": "NeuOption",
|
|
1789
|
+
"module": "dist/option.js"
|
|
1790
|
+
}
|
|
1791
|
+
}
|
|
1792
|
+
]
|
|
1793
|
+
},
|
|
1794
|
+
{
|
|
1795
|
+
"kind": "javascript-module",
|
|
1796
|
+
"path": "dist/radio.js",
|
|
1797
|
+
"declarations": [
|
|
1798
|
+
{
|
|
1799
|
+
"kind": "class",
|
|
1800
|
+
"name": "NeuRadio",
|
|
1801
|
+
"tagName": "neu-radio",
|
|
1802
|
+
"customElement": true,
|
|
1803
|
+
"description": "One choice inside a neu-radio-group, which owns the value, the keyboard and the form. On its own it does nothing.",
|
|
1804
|
+
"attributes": [
|
|
1805
|
+
{
|
|
1806
|
+
"name": "value",
|
|
1807
|
+
"fieldName": "value",
|
|
1808
|
+
"type": {
|
|
1809
|
+
"text": "string"
|
|
1810
|
+
},
|
|
1811
|
+
"default": "'on'",
|
|
1812
|
+
"description": "The value the group takes when this radio is selected; defaults to \"on\"."
|
|
1813
|
+
},
|
|
1814
|
+
{
|
|
1815
|
+
"name": "disabled",
|
|
1816
|
+
"fieldName": "disabled",
|
|
1817
|
+
"type": {
|
|
1818
|
+
"text": "boolean"
|
|
1819
|
+
},
|
|
1820
|
+
"default": "false",
|
|
1821
|
+
"description": "Prevents this radio from being selected or focused by arrow keys."
|
|
1822
|
+
}
|
|
1823
|
+
],
|
|
1824
|
+
"members": [
|
|
1825
|
+
{
|
|
1826
|
+
"kind": "field",
|
|
1827
|
+
"name": "value",
|
|
1828
|
+
"type": {
|
|
1829
|
+
"text": "string"
|
|
1830
|
+
},
|
|
1831
|
+
"default": "'on'",
|
|
1832
|
+
"attribute": "value",
|
|
1833
|
+
"reflects": true,
|
|
1834
|
+
"description": "The value the group takes when this radio is selected; defaults to \"on\"."
|
|
1835
|
+
},
|
|
1836
|
+
{
|
|
1837
|
+
"kind": "field",
|
|
1838
|
+
"name": "disabled",
|
|
1839
|
+
"type": {
|
|
1840
|
+
"text": "boolean"
|
|
1841
|
+
},
|
|
1842
|
+
"default": "false",
|
|
1843
|
+
"attribute": "disabled",
|
|
1844
|
+
"reflects": true,
|
|
1845
|
+
"description": "Prevents this radio from being selected or focused by arrow keys."
|
|
1846
|
+
}
|
|
1847
|
+
],
|
|
1848
|
+
"events": [],
|
|
1849
|
+
"slots": [
|
|
1850
|
+
{
|
|
1851
|
+
"name": "",
|
|
1852
|
+
"description": "Label; also the accessible name."
|
|
1853
|
+
}
|
|
1854
|
+
],
|
|
1855
|
+
"cssParts": [
|
|
1856
|
+
{
|
|
1857
|
+
"name": "base",
|
|
1858
|
+
"description": "Wrapper around control and label."
|
|
1859
|
+
},
|
|
1860
|
+
{
|
|
1861
|
+
"name": "control",
|
|
1862
|
+
"description": "The inset ring."
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
"name": "indicator",
|
|
1866
|
+
"description": "The dot shown when selected."
|
|
1867
|
+
},
|
|
1868
|
+
{
|
|
1869
|
+
"name": "label",
|
|
1870
|
+
"description": "Wrapper around the default slot."
|
|
1871
|
+
}
|
|
1872
|
+
],
|
|
1873
|
+
"cssProperties": [
|
|
1874
|
+
{
|
|
1875
|
+
"name": "--neu-bg",
|
|
1876
|
+
"description": "Surface colour; shadows and text are derived from it."
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
"name": "--neu-accent",
|
|
1880
|
+
"description": "Accent colour."
|
|
1881
|
+
},
|
|
1882
|
+
{
|
|
1883
|
+
"name": "--neu-distance",
|
|
1884
|
+
"description": "Shadow distance for the md size."
|
|
1885
|
+
},
|
|
1886
|
+
{
|
|
1887
|
+
"name": "--neu-intensity",
|
|
1888
|
+
"description": "Shadow strength multiplier."
|
|
1889
|
+
},
|
|
1890
|
+
{
|
|
1891
|
+
"name": "--neu-radius",
|
|
1892
|
+
"description": "Corner radius for the md size."
|
|
1893
|
+
}
|
|
1894
|
+
]
|
|
1895
|
+
}
|
|
1896
|
+
],
|
|
1897
|
+
"exports": [
|
|
1898
|
+
{
|
|
1899
|
+
"kind": "js",
|
|
1900
|
+
"name": "NeuRadio",
|
|
1901
|
+
"declaration": {
|
|
1902
|
+
"name": "NeuRadio",
|
|
1903
|
+
"module": "dist/radio.js"
|
|
1904
|
+
}
|
|
1905
|
+
},
|
|
1906
|
+
{
|
|
1907
|
+
"kind": "custom-element-definition",
|
|
1908
|
+
"name": "neu-radio",
|
|
1909
|
+
"declaration": {
|
|
1910
|
+
"name": "NeuRadio",
|
|
1911
|
+
"module": "dist/radio.js"
|
|
1912
|
+
}
|
|
1913
|
+
}
|
|
1914
|
+
]
|
|
1915
|
+
},
|
|
1916
|
+
{
|
|
1917
|
+
"kind": "javascript-module",
|
|
1918
|
+
"path": "dist/radio-group.js",
|
|
1919
|
+
"declarations": [
|
|
1920
|
+
{
|
|
1921
|
+
"kind": "class",
|
|
1922
|
+
"name": "NeuRadioGroup",
|
|
1923
|
+
"tagName": "neu-radio-group",
|
|
1924
|
+
"customElement": true,
|
|
1925
|
+
"description": "A group of neu-radio elements with one selected value, arrow-key navigation and form support. The value attribute is the default value.",
|
|
1926
|
+
"attributes": [
|
|
1927
|
+
{
|
|
1928
|
+
"name": "label",
|
|
1929
|
+
"fieldName": "label",
|
|
1930
|
+
"type": {
|
|
1931
|
+
"text": "string"
|
|
1932
|
+
},
|
|
1933
|
+
"default": "''",
|
|
1934
|
+
"description": "Visible label that names the group."
|
|
1935
|
+
},
|
|
1936
|
+
{
|
|
1937
|
+
"name": "name",
|
|
1938
|
+
"fieldName": "name",
|
|
1939
|
+
"type": {
|
|
1940
|
+
"text": "string"
|
|
1941
|
+
},
|
|
1942
|
+
"default": "''",
|
|
1943
|
+
"description": "The name under which the selected value is submitted with a form."
|
|
1944
|
+
},
|
|
1945
|
+
{
|
|
1946
|
+
"name": "value",
|
|
1947
|
+
"fieldName": "defaultValue",
|
|
1948
|
+
"type": {
|
|
1949
|
+
"text": "string"
|
|
1950
|
+
},
|
|
1951
|
+
"default": "''",
|
|
1952
|
+
"description": "The value selected at the start, which a form reset restores; set by the value attribute."
|
|
1953
|
+
},
|
|
1954
|
+
{
|
|
1955
|
+
"name": "required",
|
|
1956
|
+
"fieldName": "required",
|
|
1957
|
+
"type": {
|
|
1958
|
+
"text": "boolean"
|
|
1959
|
+
},
|
|
1960
|
+
"default": "false",
|
|
1961
|
+
"description": "Makes the form invalid until a radio is selected."
|
|
1962
|
+
},
|
|
1963
|
+
{
|
|
1964
|
+
"name": "disabled",
|
|
1965
|
+
"fieldName": "disabled",
|
|
1966
|
+
"type": {
|
|
1967
|
+
"text": "boolean"
|
|
1968
|
+
},
|
|
1969
|
+
"default": "false",
|
|
1970
|
+
"description": "Prevents interaction with every radio in the group."
|
|
1971
|
+
},
|
|
1972
|
+
{
|
|
1973
|
+
"name": "orientation",
|
|
1974
|
+
"fieldName": "orientation",
|
|
1975
|
+
"type": {
|
|
1976
|
+
"text": "'vertical' | 'horizontal'"
|
|
1977
|
+
},
|
|
1978
|
+
"default": "'vertical'",
|
|
1979
|
+
"description": "The direction the radios are laid out in."
|
|
1980
|
+
}
|
|
1981
|
+
],
|
|
1982
|
+
"members": [
|
|
1983
|
+
{
|
|
1984
|
+
"kind": "field",
|
|
1985
|
+
"name": "label",
|
|
1986
|
+
"type": {
|
|
1987
|
+
"text": "string"
|
|
1988
|
+
},
|
|
1989
|
+
"default": "''",
|
|
1990
|
+
"attribute": "label",
|
|
1991
|
+
"reflects": true,
|
|
1992
|
+
"description": "Visible label that names the group."
|
|
1993
|
+
},
|
|
1994
|
+
{
|
|
1995
|
+
"kind": "field",
|
|
1996
|
+
"name": "name",
|
|
1997
|
+
"type": {
|
|
1998
|
+
"text": "string"
|
|
1999
|
+
},
|
|
2000
|
+
"default": "''",
|
|
2001
|
+
"attribute": "name",
|
|
2002
|
+
"reflects": true,
|
|
2003
|
+
"description": "The name under which the selected value is submitted with a form."
|
|
2004
|
+
},
|
|
2005
|
+
{
|
|
2006
|
+
"kind": "field",
|
|
2007
|
+
"name": "value",
|
|
2008
|
+
"type": {
|
|
2009
|
+
"text": "string"
|
|
2010
|
+
},
|
|
2011
|
+
"description": "The value of the currently selected radio."
|
|
2012
|
+
},
|
|
2013
|
+
{
|
|
2014
|
+
"kind": "field",
|
|
2015
|
+
"name": "required",
|
|
2016
|
+
"type": {
|
|
2017
|
+
"text": "boolean"
|
|
2018
|
+
},
|
|
2019
|
+
"default": "false",
|
|
2020
|
+
"attribute": "required",
|
|
2021
|
+
"reflects": true,
|
|
2022
|
+
"description": "Makes the form invalid until a radio is selected."
|
|
2023
|
+
},
|
|
2024
|
+
{
|
|
2025
|
+
"kind": "field",
|
|
2026
|
+
"name": "disabled",
|
|
2027
|
+
"type": {
|
|
2028
|
+
"text": "boolean"
|
|
2029
|
+
},
|
|
2030
|
+
"default": "false",
|
|
2031
|
+
"attribute": "disabled",
|
|
2032
|
+
"reflects": true,
|
|
2033
|
+
"description": "Prevents interaction with every radio in the group."
|
|
2034
|
+
},
|
|
2035
|
+
{
|
|
2036
|
+
"kind": "field",
|
|
2037
|
+
"name": "orientation",
|
|
2038
|
+
"type": {
|
|
2039
|
+
"text": "'vertical' | 'horizontal'"
|
|
2040
|
+
},
|
|
2041
|
+
"default": "'vertical'",
|
|
2042
|
+
"attribute": "orientation",
|
|
2043
|
+
"reflects": true,
|
|
2044
|
+
"description": "The direction the radios are laid out in."
|
|
2045
|
+
},
|
|
2046
|
+
{
|
|
2047
|
+
"kind": "field",
|
|
2048
|
+
"name": "defaultValue",
|
|
2049
|
+
"type": {
|
|
2050
|
+
"text": "string"
|
|
2051
|
+
},
|
|
2052
|
+
"attribute": "value",
|
|
2053
|
+
"reflects": true,
|
|
2054
|
+
"description": "The value selected at the start, which a form reset restores; set by the value attribute."
|
|
2055
|
+
}
|
|
2056
|
+
],
|
|
2057
|
+
"events": [
|
|
2058
|
+
{
|
|
2059
|
+
"name": "input",
|
|
2060
|
+
"type": {
|
|
2061
|
+
"text": "Event"
|
|
2062
|
+
},
|
|
2063
|
+
"description": "Fired when the user selects a radio."
|
|
2064
|
+
},
|
|
2065
|
+
{
|
|
2066
|
+
"name": "change",
|
|
2067
|
+
"type": {
|
|
2068
|
+
"text": "Event"
|
|
2069
|
+
},
|
|
2070
|
+
"description": "Fired after input when the user selects a radio."
|
|
2071
|
+
}
|
|
2072
|
+
],
|
|
2073
|
+
"slots": [
|
|
2074
|
+
{
|
|
2075
|
+
"name": "",
|
|
2076
|
+
"description": "neu-radio elements."
|
|
2077
|
+
},
|
|
2078
|
+
{
|
|
2079
|
+
"name": "label",
|
|
2080
|
+
"description": "Rich label; replaces the label attribute."
|
|
2081
|
+
}
|
|
2082
|
+
],
|
|
2083
|
+
"cssParts": [
|
|
2084
|
+
{
|
|
2085
|
+
"name": "base",
|
|
2086
|
+
"description": "Outer wrapper."
|
|
2087
|
+
},
|
|
2088
|
+
{
|
|
2089
|
+
"name": "label",
|
|
2090
|
+
"description": "The group label."
|
|
2091
|
+
}
|
|
2092
|
+
],
|
|
2093
|
+
"cssProperties": [
|
|
2094
|
+
{
|
|
2095
|
+
"name": "--neu-bg",
|
|
2096
|
+
"description": "Surface colour; shadows and text are derived from it."
|
|
2097
|
+
},
|
|
2098
|
+
{
|
|
2099
|
+
"name": "--neu-accent",
|
|
2100
|
+
"description": "Accent colour."
|
|
2101
|
+
},
|
|
2102
|
+
{
|
|
2103
|
+
"name": "--neu-distance",
|
|
2104
|
+
"description": "Shadow distance for the md size."
|
|
2105
|
+
},
|
|
2106
|
+
{
|
|
2107
|
+
"name": "--neu-intensity",
|
|
2108
|
+
"description": "Shadow strength multiplier."
|
|
2109
|
+
},
|
|
2110
|
+
{
|
|
2111
|
+
"name": "--neu-radius",
|
|
2112
|
+
"description": "Corner radius for the md size."
|
|
2113
|
+
}
|
|
2114
|
+
]
|
|
2115
|
+
}
|
|
2116
|
+
],
|
|
2117
|
+
"exports": [
|
|
2118
|
+
{
|
|
2119
|
+
"kind": "js",
|
|
2120
|
+
"name": "NeuRadioGroup",
|
|
2121
|
+
"declaration": {
|
|
2122
|
+
"name": "NeuRadioGroup",
|
|
2123
|
+
"module": "dist/radio-group.js"
|
|
2124
|
+
}
|
|
2125
|
+
},
|
|
2126
|
+
{
|
|
2127
|
+
"kind": "custom-element-definition",
|
|
2128
|
+
"name": "neu-radio-group",
|
|
2129
|
+
"declaration": {
|
|
2130
|
+
"name": "NeuRadioGroup",
|
|
2131
|
+
"module": "dist/radio-group.js"
|
|
2132
|
+
}
|
|
2133
|
+
}
|
|
2134
|
+
]
|
|
2135
|
+
},
|
|
2136
|
+
{
|
|
2137
|
+
"kind": "javascript-module",
|
|
2138
|
+
"path": "dist/select.js",
|
|
2139
|
+
"declarations": [
|
|
2140
|
+
{
|
|
2141
|
+
"kind": "class",
|
|
2142
|
+
"name": "NeuSelect",
|
|
2143
|
+
"tagName": "neu-select",
|
|
2144
|
+
"customElement": true,
|
|
2145
|
+
"description": "A single-value select (the APG select-only combobox): a raised trigger and a popover listbox built from the neu-option children, which are data only. The value attribute is the default value.",
|
|
2146
|
+
"attributes": [
|
|
2147
|
+
{
|
|
2148
|
+
"name": "value",
|
|
2149
|
+
"fieldName": "defaultValue",
|
|
2150
|
+
"type": {
|
|
2151
|
+
"text": "string"
|
|
2152
|
+
},
|
|
2153
|
+
"default": "''",
|
|
2154
|
+
"description": "The value chosen at the start, which a form reset restores; set by the value attribute."
|
|
2155
|
+
},
|
|
2156
|
+
{
|
|
2157
|
+
"name": "name",
|
|
2158
|
+
"fieldName": "name",
|
|
2159
|
+
"type": {
|
|
2160
|
+
"text": "string"
|
|
2161
|
+
},
|
|
2162
|
+
"default": "''",
|
|
2163
|
+
"description": "The name under which the value is submitted with a form."
|
|
2164
|
+
},
|
|
2165
|
+
{
|
|
2166
|
+
"name": "label",
|
|
2167
|
+
"fieldName": "label",
|
|
2168
|
+
"type": {
|
|
2169
|
+
"text": "string"
|
|
2170
|
+
},
|
|
2171
|
+
"default": "''",
|
|
2172
|
+
"description": "Visible label text that names the select."
|
|
2173
|
+
},
|
|
2174
|
+
{
|
|
2175
|
+
"name": "placeholder",
|
|
2176
|
+
"fieldName": "placeholder",
|
|
2177
|
+
"type": {
|
|
2178
|
+
"text": "string"
|
|
2179
|
+
},
|
|
2180
|
+
"default": "''",
|
|
2181
|
+
"description": "Text shown while no option is chosen."
|
|
2182
|
+
},
|
|
2183
|
+
{
|
|
2184
|
+
"name": "help-text",
|
|
2185
|
+
"fieldName": "helpText",
|
|
2186
|
+
"type": {
|
|
2187
|
+
"text": "string"
|
|
2188
|
+
},
|
|
2189
|
+
"default": "''",
|
|
2190
|
+
"description": "Guidance shown below the select; the help-text slot replaces it."
|
|
2191
|
+
},
|
|
2192
|
+
{
|
|
2193
|
+
"name": "error-text",
|
|
2194
|
+
"fieldName": "errorText",
|
|
2195
|
+
"type": {
|
|
2196
|
+
"text": "string"
|
|
2197
|
+
},
|
|
2198
|
+
"default": "''",
|
|
2199
|
+
"description": "Shown in place of the browser's validation message once the select is invalid after user interaction; does not itself make the select invalid."
|
|
2200
|
+
},
|
|
2201
|
+
{
|
|
2202
|
+
"name": "required",
|
|
2203
|
+
"fieldName": "required",
|
|
2204
|
+
"type": {
|
|
2205
|
+
"text": "boolean"
|
|
2206
|
+
},
|
|
2207
|
+
"default": "false",
|
|
2208
|
+
"description": "Makes the form invalid until an option is chosen."
|
|
2209
|
+
},
|
|
2210
|
+
{
|
|
2211
|
+
"name": "disabled",
|
|
2212
|
+
"fieldName": "disabled",
|
|
2213
|
+
"type": {
|
|
2214
|
+
"text": "boolean"
|
|
2215
|
+
},
|
|
2216
|
+
"default": "false",
|
|
2217
|
+
"description": "Prevents interaction and leaves the select out of form submission."
|
|
2218
|
+
},
|
|
2219
|
+
{
|
|
2220
|
+
"name": "size",
|
|
2221
|
+
"fieldName": "size",
|
|
2222
|
+
"type": {
|
|
2223
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
2224
|
+
},
|
|
2225
|
+
"default": "'md'",
|
|
2226
|
+
"description": "The select size."
|
|
2227
|
+
}
|
|
2228
|
+
],
|
|
2229
|
+
"members": [
|
|
2230
|
+
{
|
|
2231
|
+
"kind": "field",
|
|
2232
|
+
"name": "value",
|
|
2233
|
+
"type": {
|
|
2234
|
+
"text": "string"
|
|
2235
|
+
},
|
|
2236
|
+
"description": "The value of the currently chosen option."
|
|
2237
|
+
},
|
|
2238
|
+
{
|
|
2239
|
+
"kind": "field",
|
|
2240
|
+
"name": "name",
|
|
2241
|
+
"type": {
|
|
2242
|
+
"text": "string"
|
|
2243
|
+
},
|
|
2244
|
+
"default": "''",
|
|
2245
|
+
"attribute": "name",
|
|
2246
|
+
"reflects": true,
|
|
2247
|
+
"description": "The name under which the value is submitted with a form."
|
|
2248
|
+
},
|
|
2249
|
+
{
|
|
2250
|
+
"kind": "field",
|
|
2251
|
+
"name": "label",
|
|
2252
|
+
"type": {
|
|
2253
|
+
"text": "string"
|
|
2254
|
+
},
|
|
2255
|
+
"default": "''",
|
|
2256
|
+
"attribute": "label",
|
|
2257
|
+
"reflects": true,
|
|
2258
|
+
"description": "Visible label text that names the select."
|
|
2259
|
+
},
|
|
2260
|
+
{
|
|
2261
|
+
"kind": "field",
|
|
2262
|
+
"name": "placeholder",
|
|
2263
|
+
"type": {
|
|
2264
|
+
"text": "string"
|
|
2265
|
+
},
|
|
2266
|
+
"default": "''",
|
|
2267
|
+
"attribute": "placeholder",
|
|
2268
|
+
"reflects": true,
|
|
2269
|
+
"description": "Text shown while no option is chosen."
|
|
2270
|
+
},
|
|
2271
|
+
{
|
|
2272
|
+
"kind": "field",
|
|
2273
|
+
"name": "helpText",
|
|
2274
|
+
"type": {
|
|
2275
|
+
"text": "string"
|
|
2276
|
+
},
|
|
2277
|
+
"default": "''",
|
|
2278
|
+
"attribute": "help-text",
|
|
2279
|
+
"reflects": true,
|
|
2280
|
+
"description": "Guidance shown below the select; the help-text slot replaces it."
|
|
2281
|
+
},
|
|
2282
|
+
{
|
|
2283
|
+
"kind": "field",
|
|
2284
|
+
"name": "errorText",
|
|
2285
|
+
"type": {
|
|
2286
|
+
"text": "string"
|
|
2287
|
+
},
|
|
2288
|
+
"default": "''",
|
|
2289
|
+
"attribute": "error-text",
|
|
2290
|
+
"reflects": true,
|
|
2291
|
+
"description": "Shown in place of the browser's validation message once the select is invalid after user interaction; does not itself make the select invalid."
|
|
2292
|
+
},
|
|
2293
|
+
{
|
|
2294
|
+
"kind": "field",
|
|
2295
|
+
"name": "required",
|
|
2296
|
+
"type": {
|
|
2297
|
+
"text": "boolean"
|
|
2298
|
+
},
|
|
2299
|
+
"default": "false",
|
|
2300
|
+
"attribute": "required",
|
|
2301
|
+
"reflects": true,
|
|
2302
|
+
"description": "Makes the form invalid until an option is chosen."
|
|
2303
|
+
},
|
|
2304
|
+
{
|
|
2305
|
+
"kind": "field",
|
|
2306
|
+
"name": "disabled",
|
|
2307
|
+
"type": {
|
|
2308
|
+
"text": "boolean"
|
|
2309
|
+
},
|
|
2310
|
+
"default": "false",
|
|
2311
|
+
"attribute": "disabled",
|
|
2312
|
+
"reflects": true,
|
|
2313
|
+
"description": "Prevents interaction and leaves the select out of form submission."
|
|
2314
|
+
},
|
|
2315
|
+
{
|
|
2316
|
+
"kind": "field",
|
|
2317
|
+
"name": "size",
|
|
2318
|
+
"type": {
|
|
2319
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
2320
|
+
},
|
|
2321
|
+
"default": "'md'",
|
|
2322
|
+
"attribute": "size",
|
|
2323
|
+
"reflects": true,
|
|
2324
|
+
"description": "The select size."
|
|
2325
|
+
},
|
|
2326
|
+
{
|
|
2327
|
+
"kind": "field",
|
|
2328
|
+
"name": "defaultValue",
|
|
2329
|
+
"type": {
|
|
2330
|
+
"text": "string"
|
|
2331
|
+
},
|
|
2332
|
+
"attribute": "value",
|
|
2333
|
+
"reflects": true,
|
|
2334
|
+
"description": "The value chosen at the start, which a form reset restores; set by the value attribute."
|
|
2335
|
+
}
|
|
2336
|
+
],
|
|
2337
|
+
"events": [
|
|
2338
|
+
{
|
|
2339
|
+
"name": "input",
|
|
2340
|
+
"type": {
|
|
2341
|
+
"text": "Event"
|
|
2342
|
+
},
|
|
2343
|
+
"description": "Fired when the user chooses an option with a new value."
|
|
2344
|
+
},
|
|
2345
|
+
{
|
|
2346
|
+
"name": "change",
|
|
2347
|
+
"type": {
|
|
2348
|
+
"text": "Event"
|
|
2349
|
+
},
|
|
2350
|
+
"description": "Fired after input when the user chooses a new value."
|
|
2351
|
+
},
|
|
2352
|
+
{
|
|
2353
|
+
"name": "neu-open",
|
|
2354
|
+
"type": {
|
|
2355
|
+
"text": "Event"
|
|
2356
|
+
},
|
|
2357
|
+
"description": "Fired when the listbox opens."
|
|
2358
|
+
},
|
|
2359
|
+
{
|
|
2360
|
+
"name": "neu-close",
|
|
2361
|
+
"type": {
|
|
2362
|
+
"text": "Event"
|
|
2363
|
+
},
|
|
2364
|
+
"description": "Fired when the listbox closes."
|
|
2365
|
+
}
|
|
2366
|
+
],
|
|
2367
|
+
"slots": [
|
|
2368
|
+
{
|
|
2369
|
+
"name": "label",
|
|
2370
|
+
"description": "Rich label; replaces the label attribute."
|
|
2371
|
+
},
|
|
2372
|
+
{
|
|
2373
|
+
"name": "help-text",
|
|
2374
|
+
"description": "Rich help text; replaces the help-text attribute."
|
|
2375
|
+
}
|
|
2376
|
+
],
|
|
2377
|
+
"cssParts": [
|
|
2378
|
+
{
|
|
2379
|
+
"name": "base",
|
|
2380
|
+
"description": "Outer wrapper."
|
|
2381
|
+
},
|
|
2382
|
+
{
|
|
2383
|
+
"name": "label",
|
|
2384
|
+
"description": "The label text."
|
|
2385
|
+
},
|
|
2386
|
+
{
|
|
2387
|
+
"name": "combobox",
|
|
2388
|
+
"description": "The raised trigger that holds focus."
|
|
2389
|
+
},
|
|
2390
|
+
{
|
|
2391
|
+
"name": "display",
|
|
2392
|
+
"description": "The selected label, or the placeholder."
|
|
2393
|
+
},
|
|
2394
|
+
{
|
|
2395
|
+
"name": "chevron",
|
|
2396
|
+
"description": "The chevron icon."
|
|
2397
|
+
},
|
|
2398
|
+
{
|
|
2399
|
+
"name": "listbox",
|
|
2400
|
+
"description": "The popover list of options."
|
|
2401
|
+
},
|
|
2402
|
+
{
|
|
2403
|
+
"name": "option",
|
|
2404
|
+
"description": "One option in the listbox."
|
|
2405
|
+
},
|
|
2406
|
+
{
|
|
2407
|
+
"name": "help-text",
|
|
2408
|
+
"description": "Help or error text area."
|
|
2409
|
+
}
|
|
2410
|
+
],
|
|
2411
|
+
"cssProperties": [
|
|
2412
|
+
{
|
|
2413
|
+
"name": "--neu-bg",
|
|
2414
|
+
"description": "Surface colour; shadows and text are derived from it."
|
|
2415
|
+
},
|
|
2416
|
+
{
|
|
2417
|
+
"name": "--neu-accent",
|
|
2418
|
+
"description": "Accent colour."
|
|
2419
|
+
},
|
|
2420
|
+
{
|
|
2421
|
+
"name": "--neu-distance",
|
|
2422
|
+
"description": "Shadow distance for the md size."
|
|
2423
|
+
},
|
|
2424
|
+
{
|
|
2425
|
+
"name": "--neu-intensity",
|
|
2426
|
+
"description": "Shadow strength multiplier."
|
|
2427
|
+
},
|
|
2428
|
+
{
|
|
2429
|
+
"name": "--neu-radius",
|
|
2430
|
+
"description": "Corner radius for the md size."
|
|
2431
|
+
}
|
|
2432
|
+
]
|
|
2433
|
+
}
|
|
2434
|
+
],
|
|
2435
|
+
"exports": [
|
|
2436
|
+
{
|
|
2437
|
+
"kind": "js",
|
|
2438
|
+
"name": "NeuSelect",
|
|
2439
|
+
"declaration": {
|
|
2440
|
+
"name": "NeuSelect",
|
|
2441
|
+
"module": "dist/select.js"
|
|
2442
|
+
}
|
|
2443
|
+
},
|
|
2444
|
+
{
|
|
2445
|
+
"kind": "custom-element-definition",
|
|
2446
|
+
"name": "neu-select",
|
|
2447
|
+
"declaration": {
|
|
2448
|
+
"name": "NeuSelect",
|
|
2449
|
+
"module": "dist/select.js"
|
|
2450
|
+
}
|
|
2451
|
+
}
|
|
2452
|
+
]
|
|
2453
|
+
},
|
|
2454
|
+
{
|
|
2455
|
+
"kind": "javascript-module",
|
|
2456
|
+
"path": "dist/slider.js",
|
|
2457
|
+
"declarations": [
|
|
2458
|
+
{
|
|
2459
|
+
"kind": "class",
|
|
2460
|
+
"name": "NeuSlider",
|
|
2461
|
+
"tagName": "neu-slider",
|
|
2462
|
+
"customElement": true,
|
|
2463
|
+
"description": "A horizontal slider for a number. The value attribute is the default; the value property is the current value. The valueFormatter property turns the value into the text a screen reader announces.",
|
|
2464
|
+
"attributes": [
|
|
2465
|
+
{
|
|
2466
|
+
"name": "value",
|
|
2467
|
+
"fieldName": "defaultValue",
|
|
2468
|
+
"type": {
|
|
2469
|
+
"text": "number"
|
|
2470
|
+
},
|
|
2471
|
+
"default": "NaN",
|
|
2472
|
+
"description": "The value the slider starts with, which a form reset restores; set by the value attribute."
|
|
2473
|
+
},
|
|
2474
|
+
{
|
|
2475
|
+
"name": "min",
|
|
2476
|
+
"fieldName": "min",
|
|
2477
|
+
"type": {
|
|
2478
|
+
"text": "number"
|
|
2479
|
+
},
|
|
2480
|
+
"default": "0",
|
|
2481
|
+
"description": "The lowest value of the range."
|
|
2482
|
+
},
|
|
2483
|
+
{
|
|
2484
|
+
"name": "max",
|
|
2485
|
+
"fieldName": "max",
|
|
2486
|
+
"type": {
|
|
2487
|
+
"text": "number"
|
|
2488
|
+
},
|
|
2489
|
+
"default": "100",
|
|
2490
|
+
"description": "The highest value of the range."
|
|
2491
|
+
},
|
|
2492
|
+
{
|
|
2493
|
+
"name": "step",
|
|
2494
|
+
"fieldName": "step",
|
|
2495
|
+
"type": {
|
|
2496
|
+
"text": "number"
|
|
2497
|
+
},
|
|
2498
|
+
"default": "1",
|
|
2499
|
+
"description": "The distance between allowed values."
|
|
2500
|
+
},
|
|
2501
|
+
{
|
|
2502
|
+
"name": "name",
|
|
2503
|
+
"fieldName": "name",
|
|
2504
|
+
"type": {
|
|
2505
|
+
"text": "string"
|
|
2506
|
+
},
|
|
2507
|
+
"default": "''",
|
|
2508
|
+
"description": "The name under which the value is submitted with a form."
|
|
2509
|
+
},
|
|
2510
|
+
{
|
|
2511
|
+
"name": "label",
|
|
2512
|
+
"fieldName": "label",
|
|
2513
|
+
"type": {
|
|
2514
|
+
"text": "string"
|
|
2515
|
+
},
|
|
2516
|
+
"default": "''",
|
|
2517
|
+
"description": "Accessible name of the slider."
|
|
2518
|
+
},
|
|
2519
|
+
{
|
|
2520
|
+
"name": "disabled",
|
|
2521
|
+
"fieldName": "disabled",
|
|
2522
|
+
"type": {
|
|
2523
|
+
"text": "boolean"
|
|
2524
|
+
},
|
|
2525
|
+
"default": "false",
|
|
2526
|
+
"description": "Prevents interaction and leaves the slider out of form submission."
|
|
2527
|
+
}
|
|
2528
|
+
],
|
|
2529
|
+
"members": [
|
|
2530
|
+
{
|
|
2531
|
+
"kind": "field",
|
|
2532
|
+
"name": "value",
|
|
2533
|
+
"type": {
|
|
2534
|
+
"text": "number"
|
|
2535
|
+
},
|
|
2536
|
+
"description": "The current number, snapped to the nearest step within the range."
|
|
2537
|
+
},
|
|
2538
|
+
{
|
|
2539
|
+
"kind": "field",
|
|
2540
|
+
"name": "min",
|
|
2541
|
+
"type": {
|
|
2542
|
+
"text": "number"
|
|
2543
|
+
},
|
|
2544
|
+
"default": "0",
|
|
2545
|
+
"attribute": "min",
|
|
2546
|
+
"reflects": true,
|
|
2547
|
+
"description": "The lowest value of the range."
|
|
2548
|
+
},
|
|
2549
|
+
{
|
|
2550
|
+
"kind": "field",
|
|
2551
|
+
"name": "max",
|
|
2552
|
+
"type": {
|
|
2553
|
+
"text": "number"
|
|
2554
|
+
},
|
|
2555
|
+
"default": "100",
|
|
2556
|
+
"attribute": "max",
|
|
2557
|
+
"reflects": true,
|
|
2558
|
+
"description": "The highest value of the range."
|
|
2559
|
+
},
|
|
2560
|
+
{
|
|
2561
|
+
"kind": "field",
|
|
2562
|
+
"name": "step",
|
|
2563
|
+
"type": {
|
|
2564
|
+
"text": "number"
|
|
2565
|
+
},
|
|
2566
|
+
"default": "1",
|
|
2567
|
+
"attribute": "step",
|
|
2568
|
+
"reflects": true,
|
|
2569
|
+
"description": "The distance between allowed values."
|
|
2570
|
+
},
|
|
2571
|
+
{
|
|
2572
|
+
"kind": "field",
|
|
2573
|
+
"name": "name",
|
|
2574
|
+
"type": {
|
|
2575
|
+
"text": "string"
|
|
2576
|
+
},
|
|
2577
|
+
"default": "''",
|
|
2578
|
+
"attribute": "name",
|
|
2579
|
+
"reflects": true,
|
|
2580
|
+
"description": "The name under which the value is submitted with a form."
|
|
2581
|
+
},
|
|
2582
|
+
{
|
|
2583
|
+
"kind": "field",
|
|
2584
|
+
"name": "label",
|
|
2585
|
+
"type": {
|
|
2586
|
+
"text": "string"
|
|
2587
|
+
},
|
|
2588
|
+
"default": "''",
|
|
2589
|
+
"attribute": "label",
|
|
2590
|
+
"reflects": true,
|
|
2591
|
+
"description": "Accessible name of the slider."
|
|
2592
|
+
},
|
|
2593
|
+
{
|
|
2594
|
+
"kind": "field",
|
|
2595
|
+
"name": "disabled",
|
|
2596
|
+
"type": {
|
|
2597
|
+
"text": "boolean"
|
|
2598
|
+
},
|
|
2599
|
+
"default": "false",
|
|
2600
|
+
"attribute": "disabled",
|
|
2601
|
+
"reflects": true,
|
|
2602
|
+
"description": "Prevents interaction and leaves the slider out of form submission."
|
|
2603
|
+
},
|
|
2604
|
+
{
|
|
2605
|
+
"kind": "field",
|
|
2606
|
+
"name": "defaultValue",
|
|
2607
|
+
"type": {
|
|
2608
|
+
"text": "number"
|
|
2609
|
+
},
|
|
2610
|
+
"attribute": "value",
|
|
2611
|
+
"reflects": true,
|
|
2612
|
+
"description": "The value the slider starts with, which a form reset restores; set by the value attribute."
|
|
2613
|
+
},
|
|
2614
|
+
{
|
|
2615
|
+
"kind": "field",
|
|
2616
|
+
"name": "valueFormatter",
|
|
2617
|
+
"type": {
|
|
2618
|
+
"text": "(value: number) => string"
|
|
2619
|
+
},
|
|
2620
|
+
"description": "Function that turns the value into the text a screen reader announces."
|
|
2621
|
+
}
|
|
2622
|
+
],
|
|
2623
|
+
"events": [
|
|
2624
|
+
{
|
|
2625
|
+
"name": "input",
|
|
2626
|
+
"type": {
|
|
2627
|
+
"text": "Event"
|
|
2628
|
+
},
|
|
2629
|
+
"description": "Fired on every change while the user drags or presses a key."
|
|
2630
|
+
},
|
|
2631
|
+
{
|
|
2632
|
+
"name": "change",
|
|
2633
|
+
"type": {
|
|
2634
|
+
"text": "Event"
|
|
2635
|
+
},
|
|
2636
|
+
"description": "Fired after the user commits a change: on release, or per key."
|
|
2637
|
+
}
|
|
2638
|
+
],
|
|
2639
|
+
"slots": [],
|
|
2640
|
+
"cssParts": [
|
|
2641
|
+
{
|
|
2642
|
+
"name": "base",
|
|
2643
|
+
"description": "Wrapper around the track."
|
|
2644
|
+
},
|
|
2645
|
+
{
|
|
2646
|
+
"name": "track",
|
|
2647
|
+
"description": "The inset groove."
|
|
2648
|
+
},
|
|
2649
|
+
{
|
|
2650
|
+
"name": "fill",
|
|
2651
|
+
"description": "The part of the track up to the thumb."
|
|
2652
|
+
},
|
|
2653
|
+
{
|
|
2654
|
+
"name": "thumb",
|
|
2655
|
+
"description": "The raised handle."
|
|
2656
|
+
}
|
|
2657
|
+
],
|
|
2658
|
+
"cssProperties": [
|
|
2659
|
+
{
|
|
2660
|
+
"name": "--neu-bg",
|
|
2661
|
+
"description": "Surface colour; shadows and text are derived from it."
|
|
2662
|
+
},
|
|
2663
|
+
{
|
|
2664
|
+
"name": "--neu-accent",
|
|
2665
|
+
"description": "Accent colour."
|
|
2666
|
+
},
|
|
2667
|
+
{
|
|
2668
|
+
"name": "--neu-distance",
|
|
2669
|
+
"description": "Shadow distance for the md size."
|
|
2670
|
+
},
|
|
2671
|
+
{
|
|
2672
|
+
"name": "--neu-intensity",
|
|
2673
|
+
"description": "Shadow strength multiplier."
|
|
2674
|
+
},
|
|
2675
|
+
{
|
|
2676
|
+
"name": "--neu-radius",
|
|
2677
|
+
"description": "Corner radius for the md size."
|
|
2678
|
+
}
|
|
2679
|
+
]
|
|
2680
|
+
}
|
|
2681
|
+
],
|
|
2682
|
+
"exports": [
|
|
2683
|
+
{
|
|
2684
|
+
"kind": "js",
|
|
2685
|
+
"name": "NeuSlider",
|
|
2686
|
+
"declaration": {
|
|
2687
|
+
"name": "NeuSlider",
|
|
2688
|
+
"module": "dist/slider.js"
|
|
2689
|
+
}
|
|
2690
|
+
},
|
|
2691
|
+
{
|
|
2692
|
+
"kind": "custom-element-definition",
|
|
2693
|
+
"name": "neu-slider",
|
|
2694
|
+
"declaration": {
|
|
2695
|
+
"name": "NeuSlider",
|
|
2696
|
+
"module": "dist/slider.js"
|
|
2697
|
+
}
|
|
2698
|
+
}
|
|
2699
|
+
]
|
|
2700
|
+
},
|
|
2701
|
+
{
|
|
2702
|
+
"kind": "javascript-module",
|
|
2703
|
+
"path": "dist/spinner.js",
|
|
2704
|
+
"declarations": [
|
|
2705
|
+
{
|
|
2706
|
+
"kind": "class",
|
|
2707
|
+
"name": "NeuSpinner",
|
|
2708
|
+
"tagName": "neu-spinner",
|
|
2709
|
+
"customElement": true,
|
|
2710
|
+
"description": "A rotating indicator for work in progress.",
|
|
2711
|
+
"attributes": [
|
|
2712
|
+
{
|
|
2713
|
+
"name": "label",
|
|
2714
|
+
"fieldName": "label",
|
|
2715
|
+
"type": {
|
|
2716
|
+
"text": "string"
|
|
2717
|
+
},
|
|
2718
|
+
"default": "'Loading'",
|
|
2719
|
+
"description": "Accessible name announced for the spinner; defaults to \"Loading\"."
|
|
2720
|
+
},
|
|
2721
|
+
{
|
|
2722
|
+
"name": "size",
|
|
2723
|
+
"fieldName": "size",
|
|
2724
|
+
"type": {
|
|
2725
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
2726
|
+
},
|
|
2727
|
+
"default": "'md'",
|
|
2728
|
+
"description": "The spinner size."
|
|
2729
|
+
}
|
|
2730
|
+
],
|
|
2731
|
+
"members": [
|
|
2732
|
+
{
|
|
2733
|
+
"kind": "field",
|
|
2734
|
+
"name": "label",
|
|
2735
|
+
"type": {
|
|
2736
|
+
"text": "string"
|
|
2737
|
+
},
|
|
2738
|
+
"default": "'Loading'",
|
|
2739
|
+
"attribute": "label",
|
|
2740
|
+
"reflects": true,
|
|
2741
|
+
"description": "Accessible name announced for the spinner; defaults to \"Loading\"."
|
|
2742
|
+
},
|
|
2743
|
+
{
|
|
2744
|
+
"kind": "field",
|
|
2745
|
+
"name": "size",
|
|
2746
|
+
"type": {
|
|
2747
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
2748
|
+
},
|
|
2749
|
+
"default": "'md'",
|
|
2750
|
+
"attribute": "size",
|
|
2751
|
+
"reflects": true,
|
|
2752
|
+
"description": "The spinner size."
|
|
2753
|
+
}
|
|
2754
|
+
],
|
|
2755
|
+
"events": [],
|
|
2756
|
+
"slots": [],
|
|
2757
|
+
"cssParts": [
|
|
2758
|
+
{
|
|
2759
|
+
"name": "base",
|
|
2760
|
+
"description": "The sized wrapper."
|
|
2761
|
+
},
|
|
2762
|
+
{
|
|
2763
|
+
"name": "track",
|
|
2764
|
+
"description": "The inset ring behind the indicator."
|
|
2765
|
+
},
|
|
2766
|
+
{
|
|
2767
|
+
"name": "indicator",
|
|
2768
|
+
"description": "The rotating arc."
|
|
2769
|
+
}
|
|
2770
|
+
],
|
|
2771
|
+
"cssProperties": [
|
|
2772
|
+
{
|
|
2773
|
+
"name": "--neu-bg",
|
|
2774
|
+
"description": "Surface colour; shadows and text are derived from it."
|
|
2775
|
+
},
|
|
2776
|
+
{
|
|
2777
|
+
"name": "--neu-accent",
|
|
2778
|
+
"description": "Accent colour."
|
|
2779
|
+
},
|
|
2780
|
+
{
|
|
2781
|
+
"name": "--neu-distance",
|
|
2782
|
+
"description": "Shadow distance for the md size."
|
|
2783
|
+
},
|
|
2784
|
+
{
|
|
2785
|
+
"name": "--neu-intensity",
|
|
2786
|
+
"description": "Shadow strength multiplier."
|
|
2787
|
+
},
|
|
2788
|
+
{
|
|
2789
|
+
"name": "--neu-radius",
|
|
2790
|
+
"description": "Corner radius for the md size."
|
|
2791
|
+
}
|
|
2792
|
+
]
|
|
2793
|
+
}
|
|
2794
|
+
],
|
|
2795
|
+
"exports": [
|
|
2796
|
+
{
|
|
2797
|
+
"kind": "js",
|
|
2798
|
+
"name": "NeuSpinner",
|
|
2799
|
+
"declaration": {
|
|
2800
|
+
"name": "NeuSpinner",
|
|
2801
|
+
"module": "dist/spinner.js"
|
|
2802
|
+
}
|
|
2803
|
+
},
|
|
2804
|
+
{
|
|
2805
|
+
"kind": "custom-element-definition",
|
|
2806
|
+
"name": "neu-spinner",
|
|
2807
|
+
"declaration": {
|
|
2808
|
+
"name": "NeuSpinner",
|
|
2809
|
+
"module": "dist/spinner.js"
|
|
2810
|
+
}
|
|
2811
|
+
}
|
|
2812
|
+
]
|
|
2813
|
+
},
|
|
2814
|
+
{
|
|
2815
|
+
"kind": "javascript-module",
|
|
2816
|
+
"path": "dist/surface.js",
|
|
2817
|
+
"declarations": [
|
|
2818
|
+
{
|
|
2819
|
+
"kind": "class",
|
|
2820
|
+
"name": "NeuSurface",
|
|
2821
|
+
"tagName": "neu-surface",
|
|
2822
|
+
"customElement": true,
|
|
2823
|
+
"description": "A neumorphic container with its own shape, elevation, radius and padding.",
|
|
2824
|
+
"attributes": [
|
|
2825
|
+
{
|
|
2826
|
+
"name": "shape",
|
|
2827
|
+
"fieldName": "shape",
|
|
2828
|
+
"type": {
|
|
2829
|
+
"text": "'raised' | 'inset' | 'flat' | 'convex' | 'concave'"
|
|
2830
|
+
},
|
|
2831
|
+
"default": "'raised'",
|
|
2832
|
+
"description": "How the surface is lit and curved."
|
|
2833
|
+
},
|
|
2834
|
+
{
|
|
2835
|
+
"name": "elevation",
|
|
2836
|
+
"fieldName": "elevation",
|
|
2837
|
+
"type": {
|
|
2838
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
2839
|
+
},
|
|
2840
|
+
"default": "'md'",
|
|
2841
|
+
"description": "How far the surface appears to lift off its background."
|
|
2842
|
+
},
|
|
2843
|
+
{
|
|
2844
|
+
"name": "radius",
|
|
2845
|
+
"fieldName": "radius",
|
|
2846
|
+
"type": {
|
|
2847
|
+
"text": "'sm' | 'md' | 'lg' | 'full'"
|
|
2848
|
+
},
|
|
2849
|
+
"default": "'md'",
|
|
2850
|
+
"description": "How rounded the corners are."
|
|
2851
|
+
},
|
|
2852
|
+
{
|
|
2853
|
+
"name": "padding",
|
|
2854
|
+
"fieldName": "padding",
|
|
2855
|
+
"type": {
|
|
2856
|
+
"text": "'none' | 'sm' | 'md' | 'lg'"
|
|
2857
|
+
},
|
|
2858
|
+
"default": "'md'",
|
|
2859
|
+
"description": "The space between the edge and the content."
|
|
2860
|
+
}
|
|
2861
|
+
],
|
|
2862
|
+
"members": [
|
|
2863
|
+
{
|
|
2864
|
+
"kind": "field",
|
|
2865
|
+
"name": "shape",
|
|
2866
|
+
"type": {
|
|
2867
|
+
"text": "'raised' | 'inset' | 'flat' | 'convex' | 'concave'"
|
|
2868
|
+
},
|
|
2869
|
+
"default": "'raised'",
|
|
2870
|
+
"attribute": "shape",
|
|
2871
|
+
"reflects": true,
|
|
2872
|
+
"description": "How the surface is lit and curved."
|
|
2873
|
+
},
|
|
2874
|
+
{
|
|
2875
|
+
"kind": "field",
|
|
2876
|
+
"name": "elevation",
|
|
2877
|
+
"type": {
|
|
2878
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
2879
|
+
},
|
|
2880
|
+
"default": "'md'",
|
|
2881
|
+
"attribute": "elevation",
|
|
2882
|
+
"reflects": true,
|
|
2883
|
+
"description": "How far the surface appears to lift off its background."
|
|
2884
|
+
},
|
|
2885
|
+
{
|
|
2886
|
+
"kind": "field",
|
|
2887
|
+
"name": "radius",
|
|
2888
|
+
"type": {
|
|
2889
|
+
"text": "'sm' | 'md' | 'lg' | 'full'"
|
|
2890
|
+
},
|
|
2891
|
+
"default": "'md'",
|
|
2892
|
+
"attribute": "radius",
|
|
2893
|
+
"reflects": true,
|
|
2894
|
+
"description": "How rounded the corners are."
|
|
2895
|
+
},
|
|
2896
|
+
{
|
|
2897
|
+
"kind": "field",
|
|
2898
|
+
"name": "padding",
|
|
2899
|
+
"type": {
|
|
2900
|
+
"text": "'none' | 'sm' | 'md' | 'lg'"
|
|
2901
|
+
},
|
|
2902
|
+
"default": "'md'",
|
|
2903
|
+
"attribute": "padding",
|
|
2904
|
+
"reflects": true,
|
|
2905
|
+
"description": "The space between the edge and the content."
|
|
2906
|
+
}
|
|
2907
|
+
],
|
|
2908
|
+
"events": [],
|
|
2909
|
+
"slots": [
|
|
2910
|
+
{
|
|
2911
|
+
"name": "",
|
|
2912
|
+
"description": "The content of the surface."
|
|
2913
|
+
}
|
|
2914
|
+
],
|
|
2915
|
+
"cssParts": [
|
|
2916
|
+
{
|
|
2917
|
+
"name": "base",
|
|
2918
|
+
"description": "The surface itself."
|
|
2919
|
+
}
|
|
2920
|
+
],
|
|
2921
|
+
"cssProperties": [
|
|
2922
|
+
{
|
|
2923
|
+
"name": "--neu-bg",
|
|
2924
|
+
"description": "Surface colour; shadows and text are derived from it."
|
|
2925
|
+
},
|
|
2926
|
+
{
|
|
2927
|
+
"name": "--neu-accent",
|
|
2928
|
+
"description": "Accent colour."
|
|
2929
|
+
},
|
|
2930
|
+
{
|
|
2931
|
+
"name": "--neu-distance",
|
|
2932
|
+
"description": "Shadow distance for the md size."
|
|
2933
|
+
},
|
|
2934
|
+
{
|
|
2935
|
+
"name": "--neu-intensity",
|
|
2936
|
+
"description": "Shadow strength multiplier."
|
|
2937
|
+
},
|
|
2938
|
+
{
|
|
2939
|
+
"name": "--neu-radius",
|
|
2940
|
+
"description": "Corner radius for the md size."
|
|
2941
|
+
}
|
|
2942
|
+
]
|
|
2943
|
+
}
|
|
2944
|
+
],
|
|
2945
|
+
"exports": [
|
|
2946
|
+
{
|
|
2947
|
+
"kind": "js",
|
|
2948
|
+
"name": "NeuSurface",
|
|
2949
|
+
"declaration": {
|
|
2950
|
+
"name": "NeuSurface",
|
|
2951
|
+
"module": "dist/surface.js"
|
|
2952
|
+
}
|
|
2953
|
+
},
|
|
2954
|
+
{
|
|
2955
|
+
"kind": "custom-element-definition",
|
|
2956
|
+
"name": "neu-surface",
|
|
2957
|
+
"declaration": {
|
|
2958
|
+
"name": "NeuSurface",
|
|
2959
|
+
"module": "dist/surface.js"
|
|
2960
|
+
}
|
|
2961
|
+
}
|
|
2962
|
+
]
|
|
2963
|
+
},
|
|
2964
|
+
{
|
|
2965
|
+
"kind": "javascript-module",
|
|
2966
|
+
"path": "dist/switch.js",
|
|
2967
|
+
"declarations": [
|
|
2968
|
+
{
|
|
2969
|
+
"kind": "class",
|
|
2970
|
+
"name": "NeuSwitch",
|
|
2971
|
+
"tagName": "neu-switch",
|
|
2972
|
+
"customElement": true,
|
|
2973
|
+
"description": "An on/off switch. The checked attribute is the default state.",
|
|
2974
|
+
"attributes": [
|
|
2975
|
+
{
|
|
2976
|
+
"name": "checked",
|
|
2977
|
+
"fieldName": "defaultChecked",
|
|
2978
|
+
"type": {
|
|
2979
|
+
"text": "boolean"
|
|
2980
|
+
},
|
|
2981
|
+
"default": "false",
|
|
2982
|
+
"description": "Whether the switch starts on, which a form reset restores; set by the checked attribute."
|
|
2983
|
+
},
|
|
2984
|
+
{
|
|
2985
|
+
"name": "name",
|
|
2986
|
+
"fieldName": "name",
|
|
2987
|
+
"type": {
|
|
2988
|
+
"text": "string"
|
|
2989
|
+
},
|
|
2990
|
+
"default": "''",
|
|
2991
|
+
"description": "The name under which the value is submitted with a form."
|
|
2992
|
+
},
|
|
2993
|
+
{
|
|
2994
|
+
"name": "value",
|
|
2995
|
+
"fieldName": "value",
|
|
2996
|
+
"type": {
|
|
2997
|
+
"text": "string"
|
|
2998
|
+
},
|
|
2999
|
+
"default": "'on'",
|
|
3000
|
+
"description": "The value submitted with the form while the switch is on; defaults to \"on\"."
|
|
3001
|
+
},
|
|
3002
|
+
{
|
|
3003
|
+
"name": "disabled",
|
|
3004
|
+
"fieldName": "disabled",
|
|
3005
|
+
"type": {
|
|
3006
|
+
"text": "boolean"
|
|
3007
|
+
},
|
|
3008
|
+
"default": "false",
|
|
3009
|
+
"description": "Prevents interaction and leaves the switch out of form submission."
|
|
3010
|
+
},
|
|
3011
|
+
{
|
|
3012
|
+
"name": "required",
|
|
3013
|
+
"fieldName": "required",
|
|
3014
|
+
"type": {
|
|
3015
|
+
"text": "boolean"
|
|
3016
|
+
},
|
|
3017
|
+
"default": "false",
|
|
3018
|
+
"description": "Makes the form invalid until the switch is on."
|
|
3019
|
+
},
|
|
3020
|
+
{
|
|
3021
|
+
"name": "size",
|
|
3022
|
+
"fieldName": "size",
|
|
3023
|
+
"type": {
|
|
3024
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
3025
|
+
},
|
|
3026
|
+
"default": "'md'",
|
|
3027
|
+
"description": "The switch size."
|
|
3028
|
+
}
|
|
3029
|
+
],
|
|
3030
|
+
"members": [
|
|
3031
|
+
{
|
|
3032
|
+
"kind": "field",
|
|
3033
|
+
"name": "checked",
|
|
3034
|
+
"type": {
|
|
3035
|
+
"text": "boolean"
|
|
3036
|
+
},
|
|
3037
|
+
"description": "Whether the switch is currently on."
|
|
3038
|
+
},
|
|
3039
|
+
{
|
|
3040
|
+
"kind": "field",
|
|
3041
|
+
"name": "name",
|
|
3042
|
+
"type": {
|
|
3043
|
+
"text": "string"
|
|
3044
|
+
},
|
|
3045
|
+
"default": "''",
|
|
3046
|
+
"attribute": "name",
|
|
3047
|
+
"reflects": true,
|
|
3048
|
+
"description": "The name under which the value is submitted with a form."
|
|
3049
|
+
},
|
|
3050
|
+
{
|
|
3051
|
+
"kind": "field",
|
|
3052
|
+
"name": "value",
|
|
3053
|
+
"type": {
|
|
3054
|
+
"text": "string"
|
|
3055
|
+
},
|
|
3056
|
+
"default": "'on'",
|
|
3057
|
+
"attribute": "value",
|
|
3058
|
+
"reflects": true,
|
|
3059
|
+
"description": "The value submitted with the form while the switch is on; defaults to \"on\"."
|
|
3060
|
+
},
|
|
3061
|
+
{
|
|
3062
|
+
"kind": "field",
|
|
3063
|
+
"name": "disabled",
|
|
3064
|
+
"type": {
|
|
3065
|
+
"text": "boolean"
|
|
3066
|
+
},
|
|
3067
|
+
"default": "false",
|
|
3068
|
+
"attribute": "disabled",
|
|
3069
|
+
"reflects": true,
|
|
3070
|
+
"description": "Prevents interaction and leaves the switch out of form submission."
|
|
3071
|
+
},
|
|
3072
|
+
{
|
|
3073
|
+
"kind": "field",
|
|
3074
|
+
"name": "required",
|
|
3075
|
+
"type": {
|
|
3076
|
+
"text": "boolean"
|
|
3077
|
+
},
|
|
3078
|
+
"default": "false",
|
|
3079
|
+
"attribute": "required",
|
|
3080
|
+
"reflects": true,
|
|
3081
|
+
"description": "Makes the form invalid until the switch is on."
|
|
3082
|
+
},
|
|
3083
|
+
{
|
|
3084
|
+
"kind": "field",
|
|
3085
|
+
"name": "size",
|
|
3086
|
+
"type": {
|
|
3087
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
1038
3088
|
},
|
|
1039
3089
|
"default": "'md'",
|
|
1040
3090
|
"attribute": "size",
|
|
1041
|
-
"reflects": true
|
|
3091
|
+
"reflects": true,
|
|
3092
|
+
"description": "The switch size."
|
|
3093
|
+
},
|
|
3094
|
+
{
|
|
3095
|
+
"kind": "field",
|
|
3096
|
+
"name": "defaultChecked",
|
|
3097
|
+
"type": {
|
|
3098
|
+
"text": "boolean"
|
|
3099
|
+
},
|
|
3100
|
+
"attribute": "checked",
|
|
3101
|
+
"reflects": true,
|
|
3102
|
+
"description": "Whether the switch starts on, which a form reset restores; set by the checked attribute."
|
|
3103
|
+
}
|
|
3104
|
+
],
|
|
3105
|
+
"events": [
|
|
3106
|
+
{
|
|
3107
|
+
"name": "input",
|
|
3108
|
+
"type": {
|
|
3109
|
+
"text": "Event"
|
|
3110
|
+
},
|
|
3111
|
+
"description": "Fired when the user toggles the switch."
|
|
3112
|
+
},
|
|
3113
|
+
{
|
|
3114
|
+
"name": "change",
|
|
3115
|
+
"type": {
|
|
3116
|
+
"text": "Event"
|
|
3117
|
+
},
|
|
3118
|
+
"description": "Fired after input when the user toggles the switch."
|
|
3119
|
+
}
|
|
3120
|
+
],
|
|
3121
|
+
"slots": [
|
|
3122
|
+
{
|
|
3123
|
+
"name": "",
|
|
3124
|
+
"description": "Label; also the accessible name."
|
|
1042
3125
|
}
|
|
1043
3126
|
],
|
|
1044
|
-
"events": [],
|
|
1045
|
-
"slots": [],
|
|
1046
3127
|
"cssParts": [
|
|
1047
3128
|
{
|
|
1048
3129
|
"name": "base",
|
|
1049
|
-
"description": "
|
|
3130
|
+
"description": "Wrapper around track and label."
|
|
1050
3131
|
},
|
|
1051
3132
|
{
|
|
1052
3133
|
"name": "track",
|
|
1053
|
-
"description": "The inset
|
|
3134
|
+
"description": "The inset track."
|
|
1054
3135
|
},
|
|
1055
3136
|
{
|
|
1056
|
-
"name": "
|
|
1057
|
-
"description": "The
|
|
3137
|
+
"name": "thumb",
|
|
3138
|
+
"description": "The raised thumb."
|
|
3139
|
+
},
|
|
3140
|
+
{
|
|
3141
|
+
"name": "label",
|
|
3142
|
+
"description": "Wrapper around the default slot."
|
|
1058
3143
|
}
|
|
1059
3144
|
],
|
|
1060
3145
|
"cssProperties": [
|
|
@@ -1084,272 +3169,360 @@
|
|
|
1084
3169
|
"exports": [
|
|
1085
3170
|
{
|
|
1086
3171
|
"kind": "js",
|
|
1087
|
-
"name": "
|
|
3172
|
+
"name": "NeuSwitch",
|
|
1088
3173
|
"declaration": {
|
|
1089
|
-
"name": "
|
|
1090
|
-
"module": "dist/
|
|
3174
|
+
"name": "NeuSwitch",
|
|
3175
|
+
"module": "dist/switch.js"
|
|
1091
3176
|
}
|
|
1092
3177
|
},
|
|
1093
3178
|
{
|
|
1094
3179
|
"kind": "custom-element-definition",
|
|
1095
|
-
"name": "neu-
|
|
3180
|
+
"name": "neu-switch",
|
|
1096
3181
|
"declaration": {
|
|
1097
|
-
"name": "
|
|
1098
|
-
"module": "dist/
|
|
3182
|
+
"name": "NeuSwitch",
|
|
3183
|
+
"module": "dist/switch.js"
|
|
1099
3184
|
}
|
|
1100
3185
|
}
|
|
1101
3186
|
]
|
|
1102
3187
|
},
|
|
1103
3188
|
{
|
|
1104
3189
|
"kind": "javascript-module",
|
|
1105
|
-
"path": "dist/
|
|
3190
|
+
"path": "dist/text-field.js",
|
|
1106
3191
|
"declarations": [
|
|
1107
3192
|
{
|
|
1108
3193
|
"kind": "class",
|
|
1109
|
-
"name": "
|
|
1110
|
-
"tagName": "neu-
|
|
3194
|
+
"name": "NeuTextField",
|
|
3195
|
+
"tagName": "neu-text-field",
|
|
1111
3196
|
"customElement": true,
|
|
1112
|
-
"description": "A
|
|
3197
|
+
"description": "A single-line text input with an inset field. The value attribute is the default value.",
|
|
1113
3198
|
"attributes": [
|
|
1114
3199
|
{
|
|
1115
|
-
"name": "
|
|
1116
|
-
"fieldName": "
|
|
3200
|
+
"name": "type",
|
|
3201
|
+
"fieldName": "type",
|
|
1117
3202
|
"type": {
|
|
1118
|
-
"text": "'
|
|
3203
|
+
"text": "'text' | 'email' | 'password' | 'search' | 'tel' | 'url'"
|
|
1119
3204
|
},
|
|
1120
|
-
"default": "'
|
|
3205
|
+
"default": "'text'",
|
|
3206
|
+
"description": "The kind of text the field accepts, which sets its keyboard and masking and drives email, url and tel validation."
|
|
1121
3207
|
},
|
|
1122
3208
|
{
|
|
1123
|
-
"name": "
|
|
1124
|
-
"fieldName": "
|
|
3209
|
+
"name": "value",
|
|
3210
|
+
"fieldName": "defaultValue",
|
|
1125
3211
|
"type": {
|
|
1126
|
-
"text": "
|
|
3212
|
+
"text": "string"
|
|
1127
3213
|
},
|
|
1128
|
-
"default": "'
|
|
3214
|
+
"default": "''",
|
|
3215
|
+
"description": "The text the field starts with, which a form reset restores; set by the value attribute."
|
|
1129
3216
|
},
|
|
1130
3217
|
{
|
|
1131
|
-
"name": "
|
|
1132
|
-
"fieldName": "
|
|
3218
|
+
"name": "name",
|
|
3219
|
+
"fieldName": "name",
|
|
1133
3220
|
"type": {
|
|
1134
|
-
"text": "
|
|
3221
|
+
"text": "string"
|
|
1135
3222
|
},
|
|
1136
|
-
"default": "'
|
|
3223
|
+
"default": "''",
|
|
3224
|
+
"description": "The name under which the text is submitted with a form."
|
|
1137
3225
|
},
|
|
1138
3226
|
{
|
|
1139
|
-
"name": "
|
|
1140
|
-
"fieldName": "
|
|
3227
|
+
"name": "label",
|
|
3228
|
+
"fieldName": "label",
|
|
1141
3229
|
"type": {
|
|
1142
|
-
"text": "
|
|
3230
|
+
"text": "string"
|
|
1143
3231
|
},
|
|
1144
|
-
"default": "'
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
"members": [
|
|
3232
|
+
"default": "''",
|
|
3233
|
+
"description": "Visible label text; the label slot replaces it."
|
|
3234
|
+
},
|
|
1148
3235
|
{
|
|
1149
|
-
"
|
|
1150
|
-
"
|
|
3236
|
+
"name": "placeholder",
|
|
3237
|
+
"fieldName": "placeholder",
|
|
1151
3238
|
"type": {
|
|
1152
|
-
"text": "
|
|
3239
|
+
"text": "string"
|
|
1153
3240
|
},
|
|
1154
|
-
"default": "'
|
|
1155
|
-
"
|
|
1156
|
-
"reflects": true
|
|
3241
|
+
"default": "''",
|
|
3242
|
+
"description": "Hint shown while the field is empty."
|
|
1157
3243
|
},
|
|
1158
3244
|
{
|
|
1159
|
-
"
|
|
1160
|
-
"
|
|
3245
|
+
"name": "help-text",
|
|
3246
|
+
"fieldName": "helpText",
|
|
1161
3247
|
"type": {
|
|
1162
|
-
"text": "
|
|
3248
|
+
"text": "string"
|
|
1163
3249
|
},
|
|
1164
|
-
"default": "'
|
|
1165
|
-
"
|
|
1166
|
-
"reflects": true
|
|
3250
|
+
"default": "''",
|
|
3251
|
+
"description": "Guidance shown below the field; the help-text slot replaces it."
|
|
1167
3252
|
},
|
|
1168
3253
|
{
|
|
1169
|
-
"
|
|
1170
|
-
"
|
|
3254
|
+
"name": "error-text",
|
|
3255
|
+
"fieldName": "errorText",
|
|
1171
3256
|
"type": {
|
|
1172
|
-
"text": "
|
|
3257
|
+
"text": "string"
|
|
1173
3258
|
},
|
|
1174
|
-
"default": "'
|
|
1175
|
-
"
|
|
1176
|
-
"reflects": true
|
|
3259
|
+
"default": "''",
|
|
3260
|
+
"description": "Shown in place of the browser's validation message once the field is invalid after user interaction; does not itself make the field invalid."
|
|
1177
3261
|
},
|
|
1178
3262
|
{
|
|
1179
|
-
"
|
|
1180
|
-
"
|
|
3263
|
+
"name": "required",
|
|
3264
|
+
"fieldName": "required",
|
|
1181
3265
|
"type": {
|
|
1182
|
-
"text": "
|
|
3266
|
+
"text": "boolean"
|
|
1183
3267
|
},
|
|
1184
|
-
"default": "
|
|
1185
|
-
"
|
|
1186
|
-
|
|
1187
|
-
}
|
|
1188
|
-
],
|
|
1189
|
-
"events": [],
|
|
1190
|
-
"slots": [
|
|
3268
|
+
"default": "false",
|
|
3269
|
+
"description": "Makes the form invalid while the field is empty."
|
|
3270
|
+
},
|
|
1191
3271
|
{
|
|
1192
|
-
"name": "",
|
|
1193
|
-
"
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
|
|
3272
|
+
"name": "disabled",
|
|
3273
|
+
"fieldName": "disabled",
|
|
3274
|
+
"type": {
|
|
3275
|
+
"text": "boolean"
|
|
3276
|
+
},
|
|
3277
|
+
"default": "false",
|
|
3278
|
+
"description": "Prevents interaction and leaves the field out of form submission."
|
|
3279
|
+
},
|
|
1197
3280
|
{
|
|
1198
|
-
"name": "
|
|
1199
|
-
"
|
|
1200
|
-
|
|
1201
|
-
|
|
1202
|
-
|
|
3281
|
+
"name": "readonly",
|
|
3282
|
+
"fieldName": "readOnly",
|
|
3283
|
+
"type": {
|
|
3284
|
+
"text": "boolean"
|
|
3285
|
+
},
|
|
3286
|
+
"default": "false",
|
|
3287
|
+
"description": "Keeps the text visible and submitted but not editable."
|
|
3288
|
+
},
|
|
1203
3289
|
{
|
|
1204
|
-
"name": "
|
|
1205
|
-
"
|
|
3290
|
+
"name": "minlength",
|
|
3291
|
+
"fieldName": "minLength",
|
|
3292
|
+
"type": {
|
|
3293
|
+
"text": "number"
|
|
3294
|
+
},
|
|
3295
|
+
"default": "-1",
|
|
3296
|
+
"description": "The fewest characters the text must have; checked after user edits, like native, not on script-set values."
|
|
1206
3297
|
},
|
|
1207
3298
|
{
|
|
1208
|
-
"name": "
|
|
1209
|
-
"
|
|
3299
|
+
"name": "maxlength",
|
|
3300
|
+
"fieldName": "maxLength",
|
|
3301
|
+
"type": {
|
|
3302
|
+
"text": "number"
|
|
3303
|
+
},
|
|
3304
|
+
"default": "-1",
|
|
3305
|
+
"description": "The most characters the text may have; checked after user edits, like native, not a hard limit on script-set values."
|
|
1210
3306
|
},
|
|
1211
3307
|
{
|
|
1212
|
-
"name": "
|
|
1213
|
-
"
|
|
3308
|
+
"name": "pattern",
|
|
3309
|
+
"fieldName": "pattern",
|
|
3310
|
+
"type": {
|
|
3311
|
+
"text": "string"
|
|
3312
|
+
},
|
|
3313
|
+
"default": "''",
|
|
3314
|
+
"description": "A regular expression the whole text must match."
|
|
1214
3315
|
},
|
|
1215
3316
|
{
|
|
1216
|
-
"name": "
|
|
1217
|
-
"
|
|
3317
|
+
"name": "autocomplete",
|
|
3318
|
+
"fieldName": "autocomplete",
|
|
3319
|
+
"type": {
|
|
3320
|
+
"text": "string"
|
|
3321
|
+
},
|
|
3322
|
+
"default": "''",
|
|
3323
|
+
"description": "Hint for the browser's autofill, as for the native attribute."
|
|
1218
3324
|
},
|
|
1219
3325
|
{
|
|
1220
|
-
"name": "
|
|
1221
|
-
"
|
|
3326
|
+
"name": "inputmode",
|
|
3327
|
+
"fieldName": "inputMode",
|
|
3328
|
+
"type": {
|
|
3329
|
+
"text": "string"
|
|
3330
|
+
},
|
|
3331
|
+
"default": "''",
|
|
3332
|
+
"description": "Hint for which virtual keyboard to show."
|
|
3333
|
+
},
|
|
3334
|
+
{
|
|
3335
|
+
"name": "enterkeyhint",
|
|
3336
|
+
"fieldName": "enterKeyHint",
|
|
3337
|
+
"type": {
|
|
3338
|
+
"text": "string"
|
|
3339
|
+
},
|
|
3340
|
+
"default": "''",
|
|
3341
|
+
"description": "Hint for the label of the virtual keyboard's Enter key."
|
|
3342
|
+
},
|
|
3343
|
+
{
|
|
3344
|
+
"name": "size",
|
|
3345
|
+
"fieldName": "size",
|
|
3346
|
+
"type": {
|
|
3347
|
+
"text": "'sm' | 'md' | 'lg'"
|
|
3348
|
+
},
|
|
3349
|
+
"default": "'md'",
|
|
3350
|
+
"description": "The field size."
|
|
1222
3351
|
}
|
|
1223
|
-
]
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
},
|
|
1245
|
-
{
|
|
1246
|
-
"kind": "javascript-module",
|
|
1247
|
-
"path": "dist/switch.js",
|
|
1248
|
-
"declarations": [
|
|
1249
|
-
{
|
|
1250
|
-
"kind": "class",
|
|
1251
|
-
"name": "NeuSwitch",
|
|
1252
|
-
"tagName": "neu-switch",
|
|
1253
|
-
"customElement": true,
|
|
1254
|
-
"description": "An on/off switch. The checked attribute is the default state.",
|
|
1255
|
-
"attributes": [
|
|
3352
|
+
],
|
|
3353
|
+
"members": [
|
|
3354
|
+
{
|
|
3355
|
+
"kind": "field",
|
|
3356
|
+
"name": "type",
|
|
3357
|
+
"type": {
|
|
3358
|
+
"text": "'text' | 'email' | 'password' | 'search' | 'tel' | 'url'"
|
|
3359
|
+
},
|
|
3360
|
+
"default": "'text'",
|
|
3361
|
+
"attribute": "type",
|
|
3362
|
+
"reflects": true,
|
|
3363
|
+
"description": "The kind of text the field accepts, which sets its keyboard and masking and drives email, url and tel validation."
|
|
3364
|
+
},
|
|
3365
|
+
{
|
|
3366
|
+
"kind": "field",
|
|
3367
|
+
"name": "value",
|
|
3368
|
+
"type": {
|
|
3369
|
+
"text": "string"
|
|
3370
|
+
},
|
|
3371
|
+
"description": "The current text as typed or set by script."
|
|
3372
|
+
},
|
|
1256
3373
|
{
|
|
1257
|
-
"
|
|
1258
|
-
"
|
|
3374
|
+
"kind": "field",
|
|
3375
|
+
"name": "name",
|
|
1259
3376
|
"type": {
|
|
1260
|
-
"text": "
|
|
3377
|
+
"text": "string"
|
|
1261
3378
|
},
|
|
1262
|
-
"default": "
|
|
3379
|
+
"default": "''",
|
|
3380
|
+
"attribute": "name",
|
|
3381
|
+
"reflects": true,
|
|
3382
|
+
"description": "The name under which the text is submitted with a form."
|
|
1263
3383
|
},
|
|
1264
3384
|
{
|
|
1265
|
-
"
|
|
1266
|
-
"
|
|
3385
|
+
"kind": "field",
|
|
3386
|
+
"name": "label",
|
|
1267
3387
|
"type": {
|
|
1268
3388
|
"text": "string"
|
|
1269
3389
|
},
|
|
1270
|
-
"default": "''"
|
|
3390
|
+
"default": "''",
|
|
3391
|
+
"attribute": "label",
|
|
3392
|
+
"reflects": true,
|
|
3393
|
+
"description": "Visible label text; the label slot replaces it."
|
|
1271
3394
|
},
|
|
1272
3395
|
{
|
|
1273
|
-
"
|
|
1274
|
-
"
|
|
3396
|
+
"kind": "field",
|
|
3397
|
+
"name": "placeholder",
|
|
1275
3398
|
"type": {
|
|
1276
3399
|
"text": "string"
|
|
1277
3400
|
},
|
|
1278
|
-
"default": "'
|
|
3401
|
+
"default": "''",
|
|
3402
|
+
"attribute": "placeholder",
|
|
3403
|
+
"reflects": true,
|
|
3404
|
+
"description": "Hint shown while the field is empty."
|
|
1279
3405
|
},
|
|
1280
3406
|
{
|
|
1281
|
-
"
|
|
1282
|
-
"
|
|
3407
|
+
"kind": "field",
|
|
3408
|
+
"name": "helpText",
|
|
1283
3409
|
"type": {
|
|
1284
|
-
"text": "
|
|
3410
|
+
"text": "string"
|
|
3411
|
+
},
|
|
3412
|
+
"default": "''",
|
|
3413
|
+
"attribute": "help-text",
|
|
3414
|
+
"reflects": true,
|
|
3415
|
+
"description": "Guidance shown below the field; the help-text slot replaces it."
|
|
3416
|
+
},
|
|
3417
|
+
{
|
|
3418
|
+
"kind": "field",
|
|
3419
|
+
"name": "errorText",
|
|
3420
|
+
"type": {
|
|
3421
|
+
"text": "string"
|
|
1285
3422
|
},
|
|
1286
|
-
"default": "
|
|
3423
|
+
"default": "''",
|
|
3424
|
+
"attribute": "error-text",
|
|
3425
|
+
"reflects": true,
|
|
3426
|
+
"description": "Shown in place of the browser's validation message once the field is invalid after user interaction; does not itself make the field invalid."
|
|
1287
3427
|
},
|
|
1288
3428
|
{
|
|
3429
|
+
"kind": "field",
|
|
1289
3430
|
"name": "required",
|
|
1290
|
-
"fieldName": "required",
|
|
1291
3431
|
"type": {
|
|
1292
3432
|
"text": "boolean"
|
|
1293
3433
|
},
|
|
1294
|
-
"default": "false"
|
|
3434
|
+
"default": "false",
|
|
3435
|
+
"attribute": "required",
|
|
3436
|
+
"reflects": true,
|
|
3437
|
+
"description": "Makes the form invalid while the field is empty."
|
|
1295
3438
|
},
|
|
1296
3439
|
{
|
|
1297
|
-
"
|
|
1298
|
-
"
|
|
3440
|
+
"kind": "field",
|
|
3441
|
+
"name": "disabled",
|
|
1299
3442
|
"type": {
|
|
1300
|
-
"text": "
|
|
3443
|
+
"text": "boolean"
|
|
1301
3444
|
},
|
|
1302
|
-
"default": "
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
3445
|
+
"default": "false",
|
|
3446
|
+
"attribute": "disabled",
|
|
3447
|
+
"reflects": true,
|
|
3448
|
+
"description": "Prevents interaction and leaves the field out of form submission."
|
|
3449
|
+
},
|
|
1306
3450
|
{
|
|
1307
3451
|
"kind": "field",
|
|
1308
|
-
"name": "
|
|
3452
|
+
"name": "readOnly",
|
|
1309
3453
|
"type": {
|
|
1310
3454
|
"text": "boolean"
|
|
1311
3455
|
},
|
|
1312
|
-
"
|
|
3456
|
+
"default": "false",
|
|
3457
|
+
"attribute": "readonly",
|
|
3458
|
+
"reflects": true,
|
|
3459
|
+
"description": "Keeps the text visible and submitted but not editable."
|
|
1313
3460
|
},
|
|
1314
3461
|
{
|
|
1315
3462
|
"kind": "field",
|
|
1316
|
-
"name": "
|
|
3463
|
+
"name": "minLength",
|
|
3464
|
+
"type": {
|
|
3465
|
+
"text": "number"
|
|
3466
|
+
},
|
|
3467
|
+
"default": "-1",
|
|
3468
|
+
"attribute": "minlength",
|
|
3469
|
+
"reflects": true,
|
|
3470
|
+
"description": "The fewest characters the text must have; checked after user edits, like native, not on script-set values."
|
|
3471
|
+
},
|
|
3472
|
+
{
|
|
3473
|
+
"kind": "field",
|
|
3474
|
+
"name": "maxLength",
|
|
3475
|
+
"type": {
|
|
3476
|
+
"text": "number"
|
|
3477
|
+
},
|
|
3478
|
+
"default": "-1",
|
|
3479
|
+
"attribute": "maxlength",
|
|
3480
|
+
"reflects": true,
|
|
3481
|
+
"description": "The most characters the text may have; checked after user edits, like native, not a hard limit on script-set values."
|
|
3482
|
+
},
|
|
3483
|
+
{
|
|
3484
|
+
"kind": "field",
|
|
3485
|
+
"name": "pattern",
|
|
1317
3486
|
"type": {
|
|
1318
3487
|
"text": "string"
|
|
1319
3488
|
},
|
|
1320
3489
|
"default": "''",
|
|
1321
|
-
"attribute": "
|
|
1322
|
-
"reflects": true
|
|
3490
|
+
"attribute": "pattern",
|
|
3491
|
+
"reflects": true,
|
|
3492
|
+
"description": "A regular expression the whole text must match."
|
|
1323
3493
|
},
|
|
1324
3494
|
{
|
|
1325
3495
|
"kind": "field",
|
|
1326
|
-
"name": "
|
|
3496
|
+
"name": "autocomplete",
|
|
1327
3497
|
"type": {
|
|
1328
3498
|
"text": "string"
|
|
1329
3499
|
},
|
|
1330
|
-
"default": "'
|
|
1331
|
-
"attribute": "
|
|
1332
|
-
"reflects": true
|
|
3500
|
+
"default": "''",
|
|
3501
|
+
"attribute": "autocomplete",
|
|
3502
|
+
"reflects": true,
|
|
3503
|
+
"description": "Hint for the browser's autofill, as for the native attribute."
|
|
1333
3504
|
},
|
|
1334
3505
|
{
|
|
1335
3506
|
"kind": "field",
|
|
1336
|
-
"name": "
|
|
3507
|
+
"name": "inputMode",
|
|
1337
3508
|
"type": {
|
|
1338
|
-
"text": "
|
|
3509
|
+
"text": "string"
|
|
1339
3510
|
},
|
|
1340
|
-
"default": "
|
|
1341
|
-
"attribute": "
|
|
1342
|
-
"reflects": true
|
|
3511
|
+
"default": "''",
|
|
3512
|
+
"attribute": "inputmode",
|
|
3513
|
+
"reflects": true,
|
|
3514
|
+
"description": "Hint for which virtual keyboard to show."
|
|
1343
3515
|
},
|
|
1344
3516
|
{
|
|
1345
3517
|
"kind": "field",
|
|
1346
|
-
"name": "
|
|
3518
|
+
"name": "enterKeyHint",
|
|
1347
3519
|
"type": {
|
|
1348
|
-
"text": "
|
|
3520
|
+
"text": "string"
|
|
1349
3521
|
},
|
|
1350
|
-
"default": "
|
|
1351
|
-
"attribute": "
|
|
1352
|
-
"reflects": true
|
|
3522
|
+
"default": "''",
|
|
3523
|
+
"attribute": "enterkeyhint",
|
|
3524
|
+
"reflects": true,
|
|
3525
|
+
"description": "Hint for the label of the virtual keyboard's Enter key."
|
|
1353
3526
|
},
|
|
1354
3527
|
{
|
|
1355
3528
|
"kind": "field",
|
|
@@ -1359,16 +3532,18 @@
|
|
|
1359
3532
|
},
|
|
1360
3533
|
"default": "'md'",
|
|
1361
3534
|
"attribute": "size",
|
|
1362
|
-
"reflects": true
|
|
3535
|
+
"reflects": true,
|
|
3536
|
+
"description": "The field size."
|
|
1363
3537
|
},
|
|
1364
3538
|
{
|
|
1365
3539
|
"kind": "field",
|
|
1366
|
-
"name": "
|
|
3540
|
+
"name": "defaultValue",
|
|
1367
3541
|
"type": {
|
|
1368
|
-
"text": "
|
|
3542
|
+
"text": "string"
|
|
1369
3543
|
},
|
|
1370
|
-
"attribute": "
|
|
1371
|
-
"reflects": true
|
|
3544
|
+
"attribute": "value",
|
|
3545
|
+
"reflects": true,
|
|
3546
|
+
"description": "The text the field starts with, which a form reset restores; set by the value attribute."
|
|
1372
3547
|
}
|
|
1373
3548
|
],
|
|
1374
3549
|
"events": [
|
|
@@ -1377,38 +3552,62 @@
|
|
|
1377
3552
|
"type": {
|
|
1378
3553
|
"text": "Event"
|
|
1379
3554
|
},
|
|
1380
|
-
"description": "Fired
|
|
3555
|
+
"description": "Fired on every edit (the native input event, composed)."
|
|
1381
3556
|
},
|
|
1382
3557
|
{
|
|
1383
3558
|
"name": "change",
|
|
1384
3559
|
"type": {
|
|
1385
3560
|
"text": "Event"
|
|
1386
3561
|
},
|
|
1387
|
-
"description": "Fired
|
|
3562
|
+
"description": "Fired when an edit is committed, usually on blur."
|
|
1388
3563
|
}
|
|
1389
3564
|
],
|
|
1390
3565
|
"slots": [
|
|
1391
3566
|
{
|
|
1392
|
-
"name": "",
|
|
1393
|
-
"description": "
|
|
3567
|
+
"name": "label",
|
|
3568
|
+
"description": "Rich label; replaces the label attribute."
|
|
3569
|
+
},
|
|
3570
|
+
{
|
|
3571
|
+
"name": "prefix",
|
|
3572
|
+
"description": "Content before the input, such as an icon."
|
|
3573
|
+
},
|
|
3574
|
+
{
|
|
3575
|
+
"name": "suffix",
|
|
3576
|
+
"description": "Content after the input."
|
|
3577
|
+
},
|
|
3578
|
+
{
|
|
3579
|
+
"name": "help-text",
|
|
3580
|
+
"description": "Rich help text; replaces the help-text attribute."
|
|
1394
3581
|
}
|
|
1395
3582
|
],
|
|
1396
3583
|
"cssParts": [
|
|
1397
3584
|
{
|
|
1398
3585
|
"name": "base",
|
|
1399
|
-
"description": "
|
|
3586
|
+
"description": "Outer wrapper."
|
|
1400
3587
|
},
|
|
1401
3588
|
{
|
|
1402
|
-
"name": "
|
|
1403
|
-
"description": "The
|
|
3589
|
+
"name": "label",
|
|
3590
|
+
"description": "The <label> element."
|
|
1404
3591
|
},
|
|
1405
3592
|
{
|
|
1406
|
-
"name": "
|
|
1407
|
-
"description": "The
|
|
3593
|
+
"name": "control",
|
|
3594
|
+
"description": "The inset field around the input."
|
|
1408
3595
|
},
|
|
1409
3596
|
{
|
|
1410
|
-
"name": "
|
|
1411
|
-
"description": "
|
|
3597
|
+
"name": "input",
|
|
3598
|
+
"description": "The native <input>."
|
|
3599
|
+
},
|
|
3600
|
+
{
|
|
3601
|
+
"name": "prefix",
|
|
3602
|
+
"description": "Wrapper around the prefix slot."
|
|
3603
|
+
},
|
|
3604
|
+
{
|
|
3605
|
+
"name": "suffix",
|
|
3606
|
+
"description": "Wrapper around the suffix slot."
|
|
3607
|
+
},
|
|
3608
|
+
{
|
|
3609
|
+
"name": "help-text",
|
|
3610
|
+
"description": "Help or error text area."
|
|
1412
3611
|
}
|
|
1413
3612
|
],
|
|
1414
3613
|
"cssProperties": [
|
|
@@ -1438,48 +3637,41 @@
|
|
|
1438
3637
|
"exports": [
|
|
1439
3638
|
{
|
|
1440
3639
|
"kind": "js",
|
|
1441
|
-
"name": "
|
|
3640
|
+
"name": "NeuTextField",
|
|
1442
3641
|
"declaration": {
|
|
1443
|
-
"name": "
|
|
1444
|
-
"module": "dist/
|
|
3642
|
+
"name": "NeuTextField",
|
|
3643
|
+
"module": "dist/text-field.js"
|
|
1445
3644
|
}
|
|
1446
3645
|
},
|
|
1447
3646
|
{
|
|
1448
3647
|
"kind": "custom-element-definition",
|
|
1449
|
-
"name": "neu-
|
|
3648
|
+
"name": "neu-text-field",
|
|
1450
3649
|
"declaration": {
|
|
1451
|
-
"name": "
|
|
1452
|
-
"module": "dist/
|
|
3650
|
+
"name": "NeuTextField",
|
|
3651
|
+
"module": "dist/text-field.js"
|
|
1453
3652
|
}
|
|
1454
3653
|
}
|
|
1455
3654
|
]
|
|
1456
3655
|
},
|
|
1457
3656
|
{
|
|
1458
3657
|
"kind": "javascript-module",
|
|
1459
|
-
"path": "dist/
|
|
3658
|
+
"path": "dist/textarea.js",
|
|
1460
3659
|
"declarations": [
|
|
1461
3660
|
{
|
|
1462
3661
|
"kind": "class",
|
|
1463
|
-
"name": "
|
|
1464
|
-
"tagName": "neu-
|
|
3662
|
+
"name": "NeuTextarea",
|
|
3663
|
+
"tagName": "neu-textarea",
|
|
1465
3664
|
"customElement": true,
|
|
1466
|
-
"description": "A
|
|
3665
|
+
"description": "A multi-line text input with an inset field. The value attribute is the default value; resize=\"auto\" grows the field with its content.",
|
|
1467
3666
|
"attributes": [
|
|
1468
|
-
{
|
|
1469
|
-
"name": "type",
|
|
1470
|
-
"fieldName": "type",
|
|
1471
|
-
"type": {
|
|
1472
|
-
"text": "'text' | 'email' | 'password' | 'search' | 'tel' | 'url'"
|
|
1473
|
-
},
|
|
1474
|
-
"default": "'text'"
|
|
1475
|
-
},
|
|
1476
3667
|
{
|
|
1477
3668
|
"name": "value",
|
|
1478
3669
|
"fieldName": "defaultValue",
|
|
1479
3670
|
"type": {
|
|
1480
3671
|
"text": "string"
|
|
1481
3672
|
},
|
|
1482
|
-
"default": "''"
|
|
3673
|
+
"default": "''",
|
|
3674
|
+
"description": "The text the field starts with, which a form reset restores; set by the value attribute."
|
|
1483
3675
|
},
|
|
1484
3676
|
{
|
|
1485
3677
|
"name": "name",
|
|
@@ -1487,7 +3679,8 @@
|
|
|
1487
3679
|
"type": {
|
|
1488
3680
|
"text": "string"
|
|
1489
3681
|
},
|
|
1490
|
-
"default": "''"
|
|
3682
|
+
"default": "''",
|
|
3683
|
+
"description": "The name under which the text is submitted with a form."
|
|
1491
3684
|
},
|
|
1492
3685
|
{
|
|
1493
3686
|
"name": "label",
|
|
@@ -1495,7 +3688,8 @@
|
|
|
1495
3688
|
"type": {
|
|
1496
3689
|
"text": "string"
|
|
1497
3690
|
},
|
|
1498
|
-
"default": "''"
|
|
3691
|
+
"default": "''",
|
|
3692
|
+
"description": "Visible label text; the label slot replaces it."
|
|
1499
3693
|
},
|
|
1500
3694
|
{
|
|
1501
3695
|
"name": "placeholder",
|
|
@@ -1503,7 +3697,8 @@
|
|
|
1503
3697
|
"type": {
|
|
1504
3698
|
"text": "string"
|
|
1505
3699
|
},
|
|
1506
|
-
"default": "''"
|
|
3700
|
+
"default": "''",
|
|
3701
|
+
"description": "Hint shown while the field is empty."
|
|
1507
3702
|
},
|
|
1508
3703
|
{
|
|
1509
3704
|
"name": "help-text",
|
|
@@ -1511,7 +3706,8 @@
|
|
|
1511
3706
|
"type": {
|
|
1512
3707
|
"text": "string"
|
|
1513
3708
|
},
|
|
1514
|
-
"default": "''"
|
|
3709
|
+
"default": "''",
|
|
3710
|
+
"description": "Guidance shown below the field; the help-text slot replaces it."
|
|
1515
3711
|
},
|
|
1516
3712
|
{
|
|
1517
3713
|
"name": "error-text",
|
|
@@ -1519,7 +3715,8 @@
|
|
|
1519
3715
|
"type": {
|
|
1520
3716
|
"text": "string"
|
|
1521
3717
|
},
|
|
1522
|
-
"default": "''"
|
|
3718
|
+
"default": "''",
|
|
3719
|
+
"description": "Shown in place of the browser's validation message once the field is invalid after user interaction; does not itself make the field invalid."
|
|
1523
3720
|
},
|
|
1524
3721
|
{
|
|
1525
3722
|
"name": "required",
|
|
@@ -1527,7 +3724,8 @@
|
|
|
1527
3724
|
"type": {
|
|
1528
3725
|
"text": "boolean"
|
|
1529
3726
|
},
|
|
1530
|
-
"default": "false"
|
|
3727
|
+
"default": "false",
|
|
3728
|
+
"description": "Makes the form invalid while the field is empty."
|
|
1531
3729
|
},
|
|
1532
3730
|
{
|
|
1533
3731
|
"name": "disabled",
|
|
@@ -1535,7 +3733,8 @@
|
|
|
1535
3733
|
"type": {
|
|
1536
3734
|
"text": "boolean"
|
|
1537
3735
|
},
|
|
1538
|
-
"default": "false"
|
|
3736
|
+
"default": "false",
|
|
3737
|
+
"description": "Prevents interaction and leaves the field out of form submission."
|
|
1539
3738
|
},
|
|
1540
3739
|
{
|
|
1541
3740
|
"name": "readonly",
|
|
@@ -1543,7 +3742,8 @@
|
|
|
1543
3742
|
"type": {
|
|
1544
3743
|
"text": "boolean"
|
|
1545
3744
|
},
|
|
1546
|
-
"default": "false"
|
|
3745
|
+
"default": "false",
|
|
3746
|
+
"description": "Keeps the text visible and submitted but not editable."
|
|
1547
3747
|
},
|
|
1548
3748
|
{
|
|
1549
3749
|
"name": "minlength",
|
|
@@ -1551,7 +3751,8 @@
|
|
|
1551
3751
|
"type": {
|
|
1552
3752
|
"text": "number"
|
|
1553
3753
|
},
|
|
1554
|
-
"default": "-1"
|
|
3754
|
+
"default": "-1",
|
|
3755
|
+
"description": "The fewest characters the text must have; checked after user edits, like native, not on script-set values."
|
|
1555
3756
|
},
|
|
1556
3757
|
{
|
|
1557
3758
|
"name": "maxlength",
|
|
@@ -1559,39 +3760,44 @@
|
|
|
1559
3760
|
"type": {
|
|
1560
3761
|
"text": "number"
|
|
1561
3762
|
},
|
|
1562
|
-
"default": "-1"
|
|
3763
|
+
"default": "-1",
|
|
3764
|
+
"description": "The most characters the text may have; checked after user edits, like native, not a hard limit on script-set values."
|
|
1563
3765
|
},
|
|
1564
3766
|
{
|
|
1565
|
-
"name": "
|
|
1566
|
-
"fieldName": "
|
|
3767
|
+
"name": "autocomplete",
|
|
3768
|
+
"fieldName": "autocomplete",
|
|
1567
3769
|
"type": {
|
|
1568
3770
|
"text": "string"
|
|
1569
3771
|
},
|
|
1570
|
-
"default": "''"
|
|
3772
|
+
"default": "''",
|
|
3773
|
+
"description": "Hint for the browser's autofill, as for the native attribute."
|
|
1571
3774
|
},
|
|
1572
3775
|
{
|
|
1573
|
-
"name": "
|
|
1574
|
-
"fieldName": "
|
|
3776
|
+
"name": "enterkeyhint",
|
|
3777
|
+
"fieldName": "enterKeyHint",
|
|
1575
3778
|
"type": {
|
|
1576
3779
|
"text": "string"
|
|
1577
3780
|
},
|
|
1578
|
-
"default": "''"
|
|
3781
|
+
"default": "''",
|
|
3782
|
+
"description": "Hint for the label of the virtual keyboard's Enter key."
|
|
1579
3783
|
},
|
|
1580
3784
|
{
|
|
1581
|
-
"name": "
|
|
1582
|
-
"fieldName": "
|
|
3785
|
+
"name": "rows",
|
|
3786
|
+
"fieldName": "rows",
|
|
1583
3787
|
"type": {
|
|
1584
|
-
"text": "
|
|
3788
|
+
"text": "number"
|
|
1585
3789
|
},
|
|
1586
|
-
"default": "
|
|
3790
|
+
"default": "3",
|
|
3791
|
+
"description": "The number of visible text lines; falls back to 3 for anything but a positive integer."
|
|
1587
3792
|
},
|
|
1588
3793
|
{
|
|
1589
|
-
"name": "
|
|
1590
|
-
"fieldName": "
|
|
3794
|
+
"name": "resize",
|
|
3795
|
+
"fieldName": "resize",
|
|
1591
3796
|
"type": {
|
|
1592
|
-
"text": "
|
|
3797
|
+
"text": "'none' | 'vertical' | 'auto'"
|
|
1593
3798
|
},
|
|
1594
|
-
"default": "''"
|
|
3799
|
+
"default": "'vertical'",
|
|
3800
|
+
"description": "How the user or the content can change the field's height."
|
|
1595
3801
|
},
|
|
1596
3802
|
{
|
|
1597
3803
|
"name": "size",
|
|
@@ -1599,27 +3805,18 @@
|
|
|
1599
3805
|
"type": {
|
|
1600
3806
|
"text": "'sm' | 'md' | 'lg'"
|
|
1601
3807
|
},
|
|
1602
|
-
"default": "'md'"
|
|
3808
|
+
"default": "'md'",
|
|
3809
|
+
"description": "The field size."
|
|
1603
3810
|
}
|
|
1604
3811
|
],
|
|
1605
3812
|
"members": [
|
|
1606
|
-
{
|
|
1607
|
-
"kind": "field",
|
|
1608
|
-
"name": "type",
|
|
1609
|
-
"type": {
|
|
1610
|
-
"text": "'text' | 'email' | 'password' | 'search' | 'tel' | 'url'"
|
|
1611
|
-
},
|
|
1612
|
-
"default": "'text'",
|
|
1613
|
-
"attribute": "type",
|
|
1614
|
-
"reflects": true
|
|
1615
|
-
},
|
|
1616
3813
|
{
|
|
1617
3814
|
"kind": "field",
|
|
1618
3815
|
"name": "value",
|
|
1619
3816
|
"type": {
|
|
1620
3817
|
"text": "string"
|
|
1621
3818
|
},
|
|
1622
|
-
"description": "
|
|
3819
|
+
"description": "The current text as typed or set by script."
|
|
1623
3820
|
},
|
|
1624
3821
|
{
|
|
1625
3822
|
"kind": "field",
|
|
@@ -1629,7 +3826,8 @@
|
|
|
1629
3826
|
},
|
|
1630
3827
|
"default": "''",
|
|
1631
3828
|
"attribute": "name",
|
|
1632
|
-
"reflects": true
|
|
3829
|
+
"reflects": true,
|
|
3830
|
+
"description": "The name under which the text is submitted with a form."
|
|
1633
3831
|
},
|
|
1634
3832
|
{
|
|
1635
3833
|
"kind": "field",
|
|
@@ -1639,7 +3837,8 @@
|
|
|
1639
3837
|
},
|
|
1640
3838
|
"default": "''",
|
|
1641
3839
|
"attribute": "label",
|
|
1642
|
-
"reflects":
|
|
3840
|
+
"reflects": true,
|
|
3841
|
+
"description": "Visible label text; the label slot replaces it."
|
|
1643
3842
|
},
|
|
1644
3843
|
{
|
|
1645
3844
|
"kind": "field",
|
|
@@ -1649,7 +3848,8 @@
|
|
|
1649
3848
|
},
|
|
1650
3849
|
"default": "''",
|
|
1651
3850
|
"attribute": "placeholder",
|
|
1652
|
-
"reflects":
|
|
3851
|
+
"reflects": true,
|
|
3852
|
+
"description": "Hint shown while the field is empty."
|
|
1653
3853
|
},
|
|
1654
3854
|
{
|
|
1655
3855
|
"kind": "field",
|
|
@@ -1659,7 +3859,8 @@
|
|
|
1659
3859
|
},
|
|
1660
3860
|
"default": "''",
|
|
1661
3861
|
"attribute": "help-text",
|
|
1662
|
-
"reflects":
|
|
3862
|
+
"reflects": true,
|
|
3863
|
+
"description": "Guidance shown below the field; the help-text slot replaces it."
|
|
1663
3864
|
},
|
|
1664
3865
|
{
|
|
1665
3866
|
"kind": "field",
|
|
@@ -1669,7 +3870,8 @@
|
|
|
1669
3870
|
},
|
|
1670
3871
|
"default": "''",
|
|
1671
3872
|
"attribute": "error-text",
|
|
1672
|
-
"reflects":
|
|
3873
|
+
"reflects": true,
|
|
3874
|
+
"description": "Shown in place of the browser's validation message once the field is invalid after user interaction; does not itself make the field invalid."
|
|
1673
3875
|
},
|
|
1674
3876
|
{
|
|
1675
3877
|
"kind": "field",
|
|
@@ -1679,7 +3881,8 @@
|
|
|
1679
3881
|
},
|
|
1680
3882
|
"default": "false",
|
|
1681
3883
|
"attribute": "required",
|
|
1682
|
-
"reflects": true
|
|
3884
|
+
"reflects": true,
|
|
3885
|
+
"description": "Makes the form invalid while the field is empty."
|
|
1683
3886
|
},
|
|
1684
3887
|
{
|
|
1685
3888
|
"kind": "field",
|
|
@@ -1689,7 +3892,8 @@
|
|
|
1689
3892
|
},
|
|
1690
3893
|
"default": "false",
|
|
1691
3894
|
"attribute": "disabled",
|
|
1692
|
-
"reflects": true
|
|
3895
|
+
"reflects": true,
|
|
3896
|
+
"description": "Prevents interaction and leaves the field out of form submission."
|
|
1693
3897
|
},
|
|
1694
3898
|
{
|
|
1695
3899
|
"kind": "field",
|
|
@@ -1699,7 +3903,8 @@
|
|
|
1699
3903
|
},
|
|
1700
3904
|
"default": "false",
|
|
1701
3905
|
"attribute": "readonly",
|
|
1702
|
-
"reflects": true
|
|
3906
|
+
"reflects": true,
|
|
3907
|
+
"description": "Keeps the text visible and submitted but not editable."
|
|
1703
3908
|
},
|
|
1704
3909
|
{
|
|
1705
3910
|
"kind": "field",
|
|
@@ -1709,7 +3914,8 @@
|
|
|
1709
3914
|
},
|
|
1710
3915
|
"default": "-1",
|
|
1711
3916
|
"attribute": "minlength",
|
|
1712
|
-
"reflects":
|
|
3917
|
+
"reflects": true,
|
|
3918
|
+
"description": "The fewest characters the text must have; checked after user edits, like native, not on script-set values."
|
|
1713
3919
|
},
|
|
1714
3920
|
{
|
|
1715
3921
|
"kind": "field",
|
|
@@ -1719,47 +3925,52 @@
|
|
|
1719
3925
|
},
|
|
1720
3926
|
"default": "-1",
|
|
1721
3927
|
"attribute": "maxlength",
|
|
1722
|
-
"reflects":
|
|
3928
|
+
"reflects": true,
|
|
3929
|
+
"description": "The most characters the text may have; checked after user edits, like native, not a hard limit on script-set values."
|
|
1723
3930
|
},
|
|
1724
3931
|
{
|
|
1725
3932
|
"kind": "field",
|
|
1726
|
-
"name": "
|
|
3933
|
+
"name": "autocomplete",
|
|
1727
3934
|
"type": {
|
|
1728
3935
|
"text": "string"
|
|
1729
3936
|
},
|
|
1730
3937
|
"default": "''",
|
|
1731
|
-
"attribute": "
|
|
1732
|
-
"reflects":
|
|
3938
|
+
"attribute": "autocomplete",
|
|
3939
|
+
"reflects": true,
|
|
3940
|
+
"description": "Hint for the browser's autofill, as for the native attribute."
|
|
1733
3941
|
},
|
|
1734
3942
|
{
|
|
1735
3943
|
"kind": "field",
|
|
1736
|
-
"name": "
|
|
3944
|
+
"name": "enterKeyHint",
|
|
1737
3945
|
"type": {
|
|
1738
3946
|
"text": "string"
|
|
1739
3947
|
},
|
|
1740
3948
|
"default": "''",
|
|
1741
|
-
"attribute": "
|
|
1742
|
-
"reflects":
|
|
3949
|
+
"attribute": "enterkeyhint",
|
|
3950
|
+
"reflects": true,
|
|
3951
|
+
"description": "Hint for the label of the virtual keyboard's Enter key."
|
|
1743
3952
|
},
|
|
1744
3953
|
{
|
|
1745
3954
|
"kind": "field",
|
|
1746
|
-
"name": "
|
|
3955
|
+
"name": "rows",
|
|
1747
3956
|
"type": {
|
|
1748
|
-
"text": "
|
|
3957
|
+
"text": "number"
|
|
1749
3958
|
},
|
|
1750
|
-
"default": "
|
|
1751
|
-
"attribute": "
|
|
1752
|
-
"reflects":
|
|
3959
|
+
"default": "3",
|
|
3960
|
+
"attribute": "rows",
|
|
3961
|
+
"reflects": true,
|
|
3962
|
+
"description": "The number of visible text lines; falls back to 3 for anything but a positive integer."
|
|
1753
3963
|
},
|
|
1754
3964
|
{
|
|
1755
3965
|
"kind": "field",
|
|
1756
|
-
"name": "
|
|
3966
|
+
"name": "resize",
|
|
1757
3967
|
"type": {
|
|
1758
|
-
"text": "
|
|
3968
|
+
"text": "'none' | 'vertical' | 'auto'"
|
|
1759
3969
|
},
|
|
1760
|
-
"default": "''",
|
|
1761
|
-
"attribute": "
|
|
1762
|
-
"reflects":
|
|
3970
|
+
"default": "'vertical'",
|
|
3971
|
+
"attribute": "resize",
|
|
3972
|
+
"reflects": true,
|
|
3973
|
+
"description": "How the user or the content can change the field's height."
|
|
1763
3974
|
},
|
|
1764
3975
|
{
|
|
1765
3976
|
"kind": "field",
|
|
@@ -1769,7 +3980,8 @@
|
|
|
1769
3980
|
},
|
|
1770
3981
|
"default": "'md'",
|
|
1771
3982
|
"attribute": "size",
|
|
1772
|
-
"reflects": true
|
|
3983
|
+
"reflects": true,
|
|
3984
|
+
"description": "The field size."
|
|
1773
3985
|
},
|
|
1774
3986
|
{
|
|
1775
3987
|
"kind": "field",
|
|
@@ -1778,7 +3990,8 @@
|
|
|
1778
3990
|
"text": "string"
|
|
1779
3991
|
},
|
|
1780
3992
|
"attribute": "value",
|
|
1781
|
-
"reflects": true
|
|
3993
|
+
"reflects": true,
|
|
3994
|
+
"description": "The text the field starts with, which a form reset restores; set by the value attribute."
|
|
1782
3995
|
}
|
|
1783
3996
|
],
|
|
1784
3997
|
"events": [
|
|
@@ -1802,14 +4015,6 @@
|
|
|
1802
4015
|
"name": "label",
|
|
1803
4016
|
"description": "Rich label; replaces the label attribute."
|
|
1804
4017
|
},
|
|
1805
|
-
{
|
|
1806
|
-
"name": "prefix",
|
|
1807
|
-
"description": "Content before the input, such as an icon."
|
|
1808
|
-
},
|
|
1809
|
-
{
|
|
1810
|
-
"name": "suffix",
|
|
1811
|
-
"description": "Content after the input."
|
|
1812
|
-
},
|
|
1813
4018
|
{
|
|
1814
4019
|
"name": "help-text",
|
|
1815
4020
|
"description": "Rich help text; replaces the help-text attribute."
|
|
@@ -1826,19 +4031,11 @@
|
|
|
1826
4031
|
},
|
|
1827
4032
|
{
|
|
1828
4033
|
"name": "control",
|
|
1829
|
-
"description": "The inset field around the
|
|
4034
|
+
"description": "The inset field around the textarea."
|
|
1830
4035
|
},
|
|
1831
4036
|
{
|
|
1832
|
-
"name": "
|
|
1833
|
-
"description": "The native <
|
|
1834
|
-
},
|
|
1835
|
-
{
|
|
1836
|
-
"name": "prefix",
|
|
1837
|
-
"description": "Wrapper around the prefix slot."
|
|
1838
|
-
},
|
|
1839
|
-
{
|
|
1840
|
-
"name": "suffix",
|
|
1841
|
-
"description": "Wrapper around the suffix slot."
|
|
4037
|
+
"name": "textarea",
|
|
4038
|
+
"description": "The native <textarea>."
|
|
1842
4039
|
},
|
|
1843
4040
|
{
|
|
1844
4041
|
"name": "help-text",
|
|
@@ -1872,18 +4069,18 @@
|
|
|
1872
4069
|
"exports": [
|
|
1873
4070
|
{
|
|
1874
4071
|
"kind": "js",
|
|
1875
|
-
"name": "
|
|
4072
|
+
"name": "NeuTextarea",
|
|
1876
4073
|
"declaration": {
|
|
1877
|
-
"name": "
|
|
1878
|
-
"module": "dist/
|
|
4074
|
+
"name": "NeuTextarea",
|
|
4075
|
+
"module": "dist/textarea.js"
|
|
1879
4076
|
}
|
|
1880
4077
|
},
|
|
1881
4078
|
{
|
|
1882
4079
|
"kind": "custom-element-definition",
|
|
1883
|
-
"name": "neu-
|
|
4080
|
+
"name": "neu-textarea",
|
|
1884
4081
|
"declaration": {
|
|
1885
|
-
"name": "
|
|
1886
|
-
"module": "dist/
|
|
4082
|
+
"name": "NeuTextarea",
|
|
4083
|
+
"module": "dist/textarea.js"
|
|
1887
4084
|
}
|
|
1888
4085
|
}
|
|
1889
4086
|
]
|