@neumorphism-ui/elements 0.0.0-stage → 1.0.0-next.1

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.
Files changed (125) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +63 -2
  3. package/cdn/neu.min.js +205 -0
  4. package/custom-elements.json +1892 -0
  5. package/dist/all.d.ts +12 -0
  6. package/dist/all.js +12 -0
  7. package/dist/avatar.d.ts +3 -0
  8. package/dist/avatar.js +4 -0
  9. package/dist/badge.d.ts +3 -0
  10. package/dist/badge.js +4 -0
  11. package/dist/button-group.d.ts +3 -0
  12. package/dist/button-group.js +4 -0
  13. package/dist/button.d.ts +3 -0
  14. package/dist/button.js +4 -0
  15. package/dist/components/avatar/avatar.d.ts +38 -0
  16. package/dist/components/avatar/avatar.def.d.ts +24 -0
  17. package/dist/components/avatar/avatar.def.js +33 -0
  18. package/dist/components/avatar/avatar.js +58 -0
  19. package/dist/components/avatar/avatar.styles.d.ts +1 -0
  20. package/dist/components/avatar/avatar.styles.js +13 -0
  21. package/dist/components/badge/badge.d.ts +17 -0
  22. package/dist/components/badge/badge.def.d.ts +12 -0
  23. package/dist/components/badge/badge.def.js +29 -0
  24. package/dist/components/badge/badge.js +5 -0
  25. package/dist/components/badge/badge.styles.d.ts +1 -0
  26. package/dist/components/badge/badge.styles.js +10 -0
  27. package/dist/components/button/button.d.ts +25 -0
  28. package/dist/components/button/button.def.d.ts +28 -0
  29. package/dist/components/button/button.def.js +45 -0
  30. package/dist/components/button/button.js +87 -0
  31. package/dist/components/button/button.styles.d.ts +2 -0
  32. package/dist/components/button/button.styles.js +43 -0
  33. package/dist/components/button-group/button-group.d.ts +19 -0
  34. package/dist/components/button-group/button-group.def.d.ts +12 -0
  35. package/dist/components/button-group/button-group.def.js +25 -0
  36. package/dist/components/button-group/button-group.js +13 -0
  37. package/dist/components/button-group/button-group.styles.d.ts +7 -0
  38. package/dist/components/button-group/button-group.styles.js +19 -0
  39. package/dist/components/divider/divider.d.ts +14 -0
  40. package/dist/components/divider/divider.def.d.ts +8 -0
  41. package/dist/components/divider/divider.def.js +24 -0
  42. package/dist/components/divider/divider.js +13 -0
  43. package/dist/components/divider/divider.styles.d.ts +1 -0
  44. package/dist/components/divider/divider.styles.js +7 -0
  45. package/dist/components/icon/icon-drawer.d.ts +12 -0
  46. package/dist/components/icon/icon-drawer.js +38 -0
  47. package/dist/components/icon/icon-loader.d.ts +5 -0
  48. package/dist/components/icon/icon-loader.js +102 -0
  49. package/dist/components/icon/icon-registry.d.ts +11 -0
  50. package/dist/components/icon/icon-registry.js +26 -0
  51. package/dist/components/icon/icon.d.ts +25 -0
  52. package/dist/components/icon/icon.def.d.ts +15 -0
  53. package/dist/components/icon/icon.def.js +24 -0
  54. package/dist/components/icon/icon.js +23 -0
  55. package/dist/components/icon/icon.styles.d.ts +1 -0
  56. package/dist/components/icon/icon.styles.js +7 -0
  57. package/dist/components/icon/system-icons.d.ts +2 -0
  58. package/dist/components/icon/system-icons.js +17 -0
  59. package/dist/components/icon-button/icon-button.d.ts +51 -0
  60. package/dist/components/icon-button/icon-button.def.d.ts +40 -0
  61. package/dist/components/icon-button/icon-button.def.js +44 -0
  62. package/dist/components/icon-button/icon-button.js +21 -0
  63. package/dist/components/icon-button/icon-button.styles.d.ts +1 -0
  64. package/dist/components/icon-button/icon-button.styles.js +12 -0
  65. package/dist/components/spinner/spinner.d.ts +19 -0
  66. package/dist/components/spinner/spinner.def.d.ts +12 -0
  67. package/dist/components/spinner/spinner.def.js +25 -0
  68. package/dist/components/spinner/spinner.js +17 -0
  69. package/dist/components/spinner/spinner.styles.d.ts +1 -0
  70. package/dist/components/spinner/spinner.styles.js +13 -0
  71. package/dist/components/surface/surface.d.ts +33 -0
  72. package/dist/components/surface/surface.def.d.ts +26 -0
  73. package/dist/components/surface/surface.def.js +27 -0
  74. package/dist/components/surface/surface.js +5 -0
  75. package/dist/components/surface/surface.styles.d.ts +1 -0
  76. package/dist/components/surface/surface.styles.js +17 -0
  77. package/dist/components/switch/switch.d.ts +60 -0
  78. package/dist/components/switch/switch.def.d.ts +28 -0
  79. package/dist/components/switch/switch.def.js +33 -0
  80. package/dist/components/switch/switch.js +125 -0
  81. package/dist/components/switch/switch.styles.d.ts +1 -0
  82. package/dist/components/switch/switch.styles.js +29 -0
  83. package/dist/components/text-field/implicit-submit.d.ts +8 -0
  84. package/dist/components/text-field/implicit-submit.js +42 -0
  85. package/dist/components/text-field/text-field.d.ts +116 -0
  86. package/dist/components/text-field/text-field.def.d.ts +143 -0
  87. package/dist/components/text-field/text-field.def.js +63 -0
  88. package/dist/components/text-field/text-field.js +207 -0
  89. package/dist/components/text-field/text-field.styles.d.ts +1 -0
  90. package/dist/components/text-field/text-field.styles.js +39 -0
  91. package/dist/core/define.d.ts +33 -0
  92. package/dist/core/define.js +15 -0
  93. package/dist/core/dom.d.ts +21 -0
  94. package/dist/core/dom.js +51 -0
  95. package/dist/core/form-control.d.ts +35 -0
  96. package/dist/core/form-control.js +128 -0
  97. package/dist/core/html.d.ts +13 -0
  98. package/dist/core/html.js +35 -0
  99. package/dist/core/neu-element.d.ts +87 -0
  100. package/dist/core/neu-element.js +285 -0
  101. package/dist/core/props.d.ts +44 -0
  102. package/dist/core/props.js +52 -0
  103. package/dist/core/styles.d.ts +8 -0
  104. package/dist/core/styles.js +40 -0
  105. package/dist/core/validation.d.ts +4 -0
  106. package/dist/core/validation.js +26 -0
  107. package/dist/divider.d.ts +3 -0
  108. package/dist/divider.js +4 -0
  109. package/dist/icon-button.d.ts +3 -0
  110. package/dist/icon-button.js +4 -0
  111. package/dist/icon.d.ts +3 -0
  112. package/dist/icon.js +4 -0
  113. package/dist/icons.d.ts +2 -0
  114. package/dist/icons.js +1 -0
  115. package/dist/spinner.d.ts +3 -0
  116. package/dist/spinner.js +4 -0
  117. package/dist/ssr.d.ts +11 -0
  118. package/dist/ssr.js +41 -0
  119. package/dist/surface.d.ts +3 -0
  120. package/dist/surface.js +4 -0
  121. package/dist/switch.d.ts +3 -0
  122. package/dist/switch.js +4 -0
  123. package/dist/text-field.d.ts +3 -0
  124. package/dist/text-field.js +4 -0
  125. package/package.json +104 -3
@@ -0,0 +1,1892 @@
1
+ {
2
+ "schemaVersion": "2.1.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "dist/avatar.js",
8
+ "declarations": [
9
+ {
10
+ "kind": "class",
11
+ "name": "NeuAvatar",
12
+ "tagName": "neu-avatar",
13
+ "customElement": true,
14
+ "description": "A user picture that falls back to initials, then to a generic user icon. With `label` it is an image named by it; without, it is decorative and hidden from assistive technology.",
15
+ "attributes": [
16
+ {
17
+ "name": "src",
18
+ "fieldName": "src",
19
+ "type": {
20
+ "text": "string"
21
+ },
22
+ "default": "''"
23
+ },
24
+ {
25
+ "name": "label",
26
+ "fieldName": "label",
27
+ "type": {
28
+ "text": "string"
29
+ },
30
+ "default": "''"
31
+ },
32
+ {
33
+ "name": "initials",
34
+ "fieldName": "initials",
35
+ "type": {
36
+ "text": "string"
37
+ },
38
+ "default": "''"
39
+ },
40
+ {
41
+ "name": "size",
42
+ "fieldName": "size",
43
+ "type": {
44
+ "text": "'sm' | 'md' | 'lg'"
45
+ },
46
+ "default": "'md'"
47
+ },
48
+ {
49
+ "name": "shape",
50
+ "fieldName": "shape",
51
+ "type": {
52
+ "text": "'circle' | 'rounded'"
53
+ },
54
+ "default": "'circle'"
55
+ }
56
+ ],
57
+ "members": [
58
+ {
59
+ "kind": "field",
60
+ "name": "src",
61
+ "type": {
62
+ "text": "string"
63
+ },
64
+ "default": "''",
65
+ "attribute": "src",
66
+ "reflects": true
67
+ },
68
+ {
69
+ "kind": "field",
70
+ "name": "label",
71
+ "type": {
72
+ "text": "string"
73
+ },
74
+ "default": "''",
75
+ "attribute": "label",
76
+ "reflects": false
77
+ },
78
+ {
79
+ "kind": "field",
80
+ "name": "initials",
81
+ "type": {
82
+ "text": "string"
83
+ },
84
+ "default": "''",
85
+ "attribute": "initials",
86
+ "reflects": false
87
+ },
88
+ {
89
+ "kind": "field",
90
+ "name": "size",
91
+ "type": {
92
+ "text": "'sm' | 'md' | 'lg'"
93
+ },
94
+ "default": "'md'",
95
+ "attribute": "size",
96
+ "reflects": true
97
+ },
98
+ {
99
+ "kind": "field",
100
+ "name": "shape",
101
+ "type": {
102
+ "text": "'circle' | 'rounded'"
103
+ },
104
+ "default": "'circle'",
105
+ "attribute": "shape",
106
+ "reflects": true
107
+ }
108
+ ],
109
+ "events": [],
110
+ "slots": [],
111
+ "cssParts": [
112
+ {
113
+ "name": "base",
114
+ "description": "The sized, raised wrapper."
115
+ },
116
+ {
117
+ "name": "image",
118
+ "description": "The picture."
119
+ },
120
+ {
121
+ "name": "initials",
122
+ "description": "The initials shown when there is no picture."
123
+ },
124
+ {
125
+ "name": "icon",
126
+ "description": "Wrapper around the fallback user icon."
127
+ },
128
+ {
129
+ "name": "svg",
130
+ "description": "The rendered fallback SVG element."
131
+ }
132
+ ],
133
+ "cssProperties": [
134
+ {
135
+ "name": "--neu-bg",
136
+ "description": "Surface colour; shadows and text are derived from it."
137
+ },
138
+ {
139
+ "name": "--neu-accent",
140
+ "description": "Accent colour."
141
+ },
142
+ {
143
+ "name": "--neu-distance",
144
+ "description": "Shadow distance for the md size."
145
+ },
146
+ {
147
+ "name": "--neu-intensity",
148
+ "description": "Shadow strength multiplier."
149
+ },
150
+ {
151
+ "name": "--neu-radius",
152
+ "description": "Corner radius for the md size."
153
+ }
154
+ ]
155
+ }
156
+ ],
157
+ "exports": [
158
+ {
159
+ "kind": "js",
160
+ "name": "NeuAvatar",
161
+ "declaration": {
162
+ "name": "NeuAvatar",
163
+ "module": "dist/avatar.js"
164
+ }
165
+ },
166
+ {
167
+ "kind": "custom-element-definition",
168
+ "name": "neu-avatar",
169
+ "declaration": {
170
+ "name": "NeuAvatar",
171
+ "module": "dist/avatar.js"
172
+ }
173
+ }
174
+ ]
175
+ },
176
+ {
177
+ "kind": "javascript-module",
178
+ "path": "dist/badge.js",
179
+ "declarations": [
180
+ {
181
+ "kind": "class",
182
+ "name": "NeuBadge",
183
+ "tagName": "neu-badge",
184
+ "customElement": true,
185
+ "description": "A small raised label for status or counts.",
186
+ "attributes": [
187
+ {
188
+ "name": "variant",
189
+ "fieldName": "variant",
190
+ "type": {
191
+ "text": "'neutral' | 'accent' | 'success' | 'warning' | 'danger'"
192
+ },
193
+ "default": "'neutral'"
194
+ },
195
+ {
196
+ "name": "pill",
197
+ "fieldName": "pill",
198
+ "type": {
199
+ "text": "boolean"
200
+ },
201
+ "default": "false"
202
+ }
203
+ ],
204
+ "members": [
205
+ {
206
+ "kind": "field",
207
+ "name": "variant",
208
+ "type": {
209
+ "text": "'neutral' | 'accent' | 'success' | 'warning' | 'danger'"
210
+ },
211
+ "default": "'neutral'",
212
+ "attribute": "variant",
213
+ "reflects": true
214
+ },
215
+ {
216
+ "kind": "field",
217
+ "name": "pill",
218
+ "type": {
219
+ "text": "boolean"
220
+ },
221
+ "default": "false",
222
+ "attribute": "pill",
223
+ "reflects": true
224
+ }
225
+ ],
226
+ "events": [],
227
+ "slots": [
228
+ {
229
+ "name": "",
230
+ "description": "The badge text."
231
+ }
232
+ ],
233
+ "cssParts": [
234
+ {
235
+ "name": "base",
236
+ "description": "The badge itself."
237
+ }
238
+ ],
239
+ "cssProperties": [
240
+ {
241
+ "name": "--neu-bg",
242
+ "description": "Surface colour; shadows and text are derived from it."
243
+ },
244
+ {
245
+ "name": "--neu-accent",
246
+ "description": "Accent colour."
247
+ },
248
+ {
249
+ "name": "--neu-distance",
250
+ "description": "Shadow distance for the md size."
251
+ },
252
+ {
253
+ "name": "--neu-intensity",
254
+ "description": "Shadow strength multiplier."
255
+ },
256
+ {
257
+ "name": "--neu-radius",
258
+ "description": "Corner radius for the md size."
259
+ },
260
+ {
261
+ "name": "--neu-success",
262
+ "description": "Colour of the success variant."
263
+ },
264
+ {
265
+ "name": "--neu-warning",
266
+ "description": "Colour of the warning variant."
267
+ }
268
+ ]
269
+ }
270
+ ],
271
+ "exports": [
272
+ {
273
+ "kind": "js",
274
+ "name": "NeuBadge",
275
+ "declaration": {
276
+ "name": "NeuBadge",
277
+ "module": "dist/badge.js"
278
+ }
279
+ },
280
+ {
281
+ "kind": "custom-element-definition",
282
+ "name": "neu-badge",
283
+ "declaration": {
284
+ "name": "NeuBadge",
285
+ "module": "dist/badge.js"
286
+ }
287
+ }
288
+ ]
289
+ },
290
+ {
291
+ "kind": "javascript-module",
292
+ "path": "dist/button.js",
293
+ "declarations": [
294
+ {
295
+ "kind": "class",
296
+ "name": "NeuButton",
297
+ "tagName": "neu-button",
298
+ "customElement": true,
299
+ "description": "A raised button. Use variant=\"primary\" for the main action of a view.",
300
+ "attributes": [
301
+ {
302
+ "name": "variant",
303
+ "fieldName": "variant",
304
+ "type": {
305
+ "text": "'default' | 'primary' | 'flat'"
306
+ },
307
+ "default": "'default'"
308
+ },
309
+ {
310
+ "name": "size",
311
+ "fieldName": "size",
312
+ "type": {
313
+ "text": "'sm' | 'md' | 'lg'"
314
+ },
315
+ "default": "'md'"
316
+ },
317
+ {
318
+ "name": "disabled",
319
+ "fieldName": "disabled",
320
+ "type": {
321
+ "text": "boolean"
322
+ },
323
+ "default": "false"
324
+ },
325
+ {
326
+ "name": "loading",
327
+ "fieldName": "loading",
328
+ "type": {
329
+ "text": "boolean"
330
+ },
331
+ "default": "false"
332
+ },
333
+ {
334
+ "name": "type",
335
+ "fieldName": "type",
336
+ "type": {
337
+ "text": "'button' | 'submit' | 'reset'"
338
+ },
339
+ "default": "'button'"
340
+ }
341
+ ],
342
+ "members": [
343
+ {
344
+ "kind": "field",
345
+ "name": "variant",
346
+ "type": {
347
+ "text": "'default' | 'primary' | 'flat'"
348
+ },
349
+ "default": "'default'",
350
+ "attribute": "variant",
351
+ "reflects": true
352
+ },
353
+ {
354
+ "kind": "field",
355
+ "name": "size",
356
+ "type": {
357
+ "text": "'sm' | 'md' | 'lg'"
358
+ },
359
+ "default": "'md'",
360
+ "attribute": "size",
361
+ "reflects": true
362
+ },
363
+ {
364
+ "kind": "field",
365
+ "name": "disabled",
366
+ "type": {
367
+ "text": "boolean"
368
+ },
369
+ "default": "false",
370
+ "attribute": "disabled",
371
+ "reflects": true
372
+ },
373
+ {
374
+ "kind": "field",
375
+ "name": "loading",
376
+ "type": {
377
+ "text": "boolean"
378
+ },
379
+ "default": "false",
380
+ "attribute": "loading",
381
+ "reflects": true
382
+ },
383
+ {
384
+ "kind": "field",
385
+ "name": "type",
386
+ "type": {
387
+ "text": "'button' | 'submit' | 'reset'"
388
+ },
389
+ "default": "'button'",
390
+ "attribute": "type",
391
+ "reflects": true
392
+ }
393
+ ],
394
+ "events": [
395
+ {
396
+ "name": "click",
397
+ "type": {
398
+ "text": "Event"
399
+ },
400
+ "description": "Fired on activation; never while disabled or loading."
401
+ }
402
+ ],
403
+ "slots": [
404
+ {
405
+ "name": "",
406
+ "description": "Button label."
407
+ },
408
+ {
409
+ "name": "prefix",
410
+ "description": "Content before the label, such as an icon."
411
+ },
412
+ {
413
+ "name": "suffix",
414
+ "description": "Content after the label."
415
+ }
416
+ ],
417
+ "cssParts": [
418
+ {
419
+ "name": "base",
420
+ "description": "The raised surface."
421
+ },
422
+ {
423
+ "name": "label",
424
+ "description": "Wrapper around the default slot."
425
+ },
426
+ {
427
+ "name": "prefix",
428
+ "description": "Wrapper around the prefix slot."
429
+ },
430
+ {
431
+ "name": "suffix",
432
+ "description": "Wrapper around the suffix slot."
433
+ },
434
+ {
435
+ "name": "spinner",
436
+ "description": "Spinner shown while loading."
437
+ }
438
+ ],
439
+ "cssProperties": [
440
+ {
441
+ "name": "--neu-bg",
442
+ "description": "Surface colour; shadows and text are derived from it."
443
+ },
444
+ {
445
+ "name": "--neu-accent",
446
+ "description": "Accent colour."
447
+ },
448
+ {
449
+ "name": "--neu-distance",
450
+ "description": "Shadow distance for the md size."
451
+ },
452
+ {
453
+ "name": "--neu-intensity",
454
+ "description": "Shadow strength multiplier."
455
+ },
456
+ {
457
+ "name": "--neu-radius",
458
+ "description": "Corner radius for the md size."
459
+ }
460
+ ]
461
+ }
462
+ ],
463
+ "exports": [
464
+ {
465
+ "kind": "js",
466
+ "name": "NeuButton",
467
+ "declaration": {
468
+ "name": "NeuButton",
469
+ "module": "dist/button.js"
470
+ }
471
+ },
472
+ {
473
+ "kind": "custom-element-definition",
474
+ "name": "neu-button",
475
+ "declaration": {
476
+ "name": "NeuButton",
477
+ "module": "dist/button.js"
478
+ }
479
+ }
480
+ ]
481
+ },
482
+ {
483
+ "kind": "javascript-module",
484
+ "path": "dist/button-group.js",
485
+ "declarations": [
486
+ {
487
+ "kind": "class",
488
+ "name": "NeuButtonGroup",
489
+ "tagName": "neu-button-group",
490
+ "customElement": true,
491
+ "description": "Merges adjacent buttons into one raised block.",
492
+ "attributes": [
493
+ {
494
+ "name": "label",
495
+ "fieldName": "label",
496
+ "type": {
497
+ "text": "string"
498
+ },
499
+ "default": "''"
500
+ },
501
+ {
502
+ "name": "orientation",
503
+ "fieldName": "orientation",
504
+ "type": {
505
+ "text": "'horizontal' | 'vertical'"
506
+ },
507
+ "default": "'horizontal'"
508
+ }
509
+ ],
510
+ "members": [
511
+ {
512
+ "kind": "field",
513
+ "name": "label",
514
+ "type": {
515
+ "text": "string"
516
+ },
517
+ "default": "''",
518
+ "attribute": "label",
519
+ "reflects": true
520
+ },
521
+ {
522
+ "kind": "field",
523
+ "name": "orientation",
524
+ "type": {
525
+ "text": "'horizontal' | 'vertical'"
526
+ },
527
+ "default": "'horizontal'",
528
+ "attribute": "orientation",
529
+ "reflects": true
530
+ }
531
+ ],
532
+ "events": [],
533
+ "slots": [
534
+ {
535
+ "name": "",
536
+ "description": "neu-button and neu-icon-button elements."
537
+ }
538
+ ],
539
+ "cssParts": [
540
+ {
541
+ "name": "base",
542
+ "description": "The raised wrapper around the buttons."
543
+ }
544
+ ],
545
+ "cssProperties": [
546
+ {
547
+ "name": "--neu-bg",
548
+ "description": "Surface colour; shadows and text are derived from it."
549
+ },
550
+ {
551
+ "name": "--neu-accent",
552
+ "description": "Accent colour."
553
+ },
554
+ {
555
+ "name": "--neu-distance",
556
+ "description": "Shadow distance for the md size."
557
+ },
558
+ {
559
+ "name": "--neu-intensity",
560
+ "description": "Shadow strength multiplier."
561
+ },
562
+ {
563
+ "name": "--neu-radius",
564
+ "description": "Corner radius for the md size."
565
+ }
566
+ ]
567
+ }
568
+ ],
569
+ "exports": [
570
+ {
571
+ "kind": "js",
572
+ "name": "NeuButtonGroup",
573
+ "declaration": {
574
+ "name": "NeuButtonGroup",
575
+ "module": "dist/button-group.js"
576
+ }
577
+ },
578
+ {
579
+ "kind": "custom-element-definition",
580
+ "name": "neu-button-group",
581
+ "declaration": {
582
+ "name": "NeuButtonGroup",
583
+ "module": "dist/button-group.js"
584
+ }
585
+ }
586
+ ]
587
+ },
588
+ {
589
+ "kind": "javascript-module",
590
+ "path": "dist/divider.js",
591
+ "declarations": [
592
+ {
593
+ "kind": "class",
594
+ "name": "NeuDivider",
595
+ "tagName": "neu-divider",
596
+ "customElement": true,
597
+ "description": "A thin engraved line that separates content.",
598
+ "attributes": [
599
+ {
600
+ "name": "orientation",
601
+ "fieldName": "orientation",
602
+ "type": {
603
+ "text": "'horizontal' | 'vertical'"
604
+ },
605
+ "default": "'horizontal'"
606
+ }
607
+ ],
608
+ "members": [
609
+ {
610
+ "kind": "field",
611
+ "name": "orientation",
612
+ "type": {
613
+ "text": "'horizontal' | 'vertical'"
614
+ },
615
+ "default": "'horizontal'",
616
+ "attribute": "orientation",
617
+ "reflects": true
618
+ }
619
+ ],
620
+ "events": [],
621
+ "slots": [],
622
+ "cssParts": [
623
+ {
624
+ "name": "base",
625
+ "description": "The engraved line."
626
+ }
627
+ ],
628
+ "cssProperties": [
629
+ {
630
+ "name": "--neu-bg",
631
+ "description": "Surface colour; shadows and text are derived from it."
632
+ },
633
+ {
634
+ "name": "--neu-accent",
635
+ "description": "Accent colour."
636
+ },
637
+ {
638
+ "name": "--neu-distance",
639
+ "description": "Shadow distance for the md size."
640
+ },
641
+ {
642
+ "name": "--neu-intensity",
643
+ "description": "Shadow strength multiplier."
644
+ },
645
+ {
646
+ "name": "--neu-radius",
647
+ "description": "Corner radius for the md size."
648
+ }
649
+ ]
650
+ }
651
+ ],
652
+ "exports": [
653
+ {
654
+ "kind": "js",
655
+ "name": "NeuDivider",
656
+ "declaration": {
657
+ "name": "NeuDivider",
658
+ "module": "dist/divider.js"
659
+ }
660
+ },
661
+ {
662
+ "kind": "custom-element-definition",
663
+ "name": "neu-divider",
664
+ "declaration": {
665
+ "name": "NeuDivider",
666
+ "module": "dist/divider.js"
667
+ }
668
+ }
669
+ ]
670
+ },
671
+ {
672
+ "kind": "javascript-module",
673
+ "path": "dist/icon.js",
674
+ "declarations": [
675
+ {
676
+ "kind": "class",
677
+ "name": "NeuIcon",
678
+ "tagName": "neu-icon",
679
+ "customElement": true,
680
+ "description": "A vector icon from the built-in set or a registered icon library.",
681
+ "attributes": [
682
+ {
683
+ "name": "name",
684
+ "fieldName": "name",
685
+ "type": {
686
+ "text": "string"
687
+ },
688
+ "default": "''"
689
+ },
690
+ {
691
+ "name": "library",
692
+ "fieldName": "library",
693
+ "type": {
694
+ "text": "string"
695
+ },
696
+ "default": "'system'"
697
+ },
698
+ {
699
+ "name": "label",
700
+ "fieldName": "label",
701
+ "type": {
702
+ "text": "string"
703
+ },
704
+ "default": "''"
705
+ }
706
+ ],
707
+ "members": [
708
+ {
709
+ "kind": "field",
710
+ "name": "name",
711
+ "type": {
712
+ "text": "string"
713
+ },
714
+ "default": "''",
715
+ "attribute": "name",
716
+ "reflects": true
717
+ },
718
+ {
719
+ "kind": "field",
720
+ "name": "library",
721
+ "type": {
722
+ "text": "string"
723
+ },
724
+ "default": "'system'",
725
+ "attribute": "library",
726
+ "reflects": true
727
+ },
728
+ {
729
+ "kind": "field",
730
+ "name": "label",
731
+ "type": {
732
+ "text": "string"
733
+ },
734
+ "default": "''",
735
+ "attribute": "label",
736
+ "reflects": true
737
+ }
738
+ ],
739
+ "events": [],
740
+ "slots": [],
741
+ "cssParts": [
742
+ {
743
+ "name": "svg",
744
+ "description": "The rendered SVG element."
745
+ }
746
+ ],
747
+ "cssProperties": []
748
+ }
749
+ ],
750
+ "exports": [
751
+ {
752
+ "kind": "js",
753
+ "name": "NeuIcon",
754
+ "declaration": {
755
+ "name": "NeuIcon",
756
+ "module": "dist/icon.js"
757
+ }
758
+ },
759
+ {
760
+ "kind": "custom-element-definition",
761
+ "name": "neu-icon",
762
+ "declaration": {
763
+ "name": "NeuIcon",
764
+ "module": "dist/icon.js"
765
+ }
766
+ }
767
+ ]
768
+ },
769
+ {
770
+ "kind": "javascript-module",
771
+ "path": "dist/icon-button.js",
772
+ "declarations": [
773
+ {
774
+ "kind": "class",
775
+ "name": "NeuIconButton",
776
+ "tagName": "neu-icon-button",
777
+ "customElement": true,
778
+ "description": "A raised button that shows an icon instead of a label. Name it with label.",
779
+ "attributes": [
780
+ {
781
+ "name": "icon",
782
+ "fieldName": "icon",
783
+ "type": {
784
+ "text": "string"
785
+ },
786
+ "default": "''"
787
+ },
788
+ {
789
+ "name": "library",
790
+ "fieldName": "library",
791
+ "type": {
792
+ "text": "string"
793
+ },
794
+ "default": "'system'"
795
+ },
796
+ {
797
+ "name": "label",
798
+ "fieldName": "label",
799
+ "type": {
800
+ "text": "string"
801
+ },
802
+ "default": "''"
803
+ },
804
+ {
805
+ "name": "shape",
806
+ "fieldName": "shape",
807
+ "type": {
808
+ "text": "'circle' | 'square'"
809
+ },
810
+ "default": "'circle'"
811
+ },
812
+ {
813
+ "name": "variant",
814
+ "fieldName": "variant",
815
+ "type": {
816
+ "text": "'default' | 'primary' | 'flat'"
817
+ },
818
+ "default": "'default'"
819
+ },
820
+ {
821
+ "name": "size",
822
+ "fieldName": "size",
823
+ "type": {
824
+ "text": "'sm' | 'md' | 'lg'"
825
+ },
826
+ "default": "'md'"
827
+ },
828
+ {
829
+ "name": "disabled",
830
+ "fieldName": "disabled",
831
+ "type": {
832
+ "text": "boolean"
833
+ },
834
+ "default": "false"
835
+ },
836
+ {
837
+ "name": "type",
838
+ "fieldName": "type",
839
+ "type": {
840
+ "text": "'button' | 'submit' | 'reset'"
841
+ },
842
+ "default": "'button'"
843
+ }
844
+ ],
845
+ "members": [
846
+ {
847
+ "kind": "field",
848
+ "name": "icon",
849
+ "type": {
850
+ "text": "string"
851
+ },
852
+ "default": "''",
853
+ "attribute": "icon",
854
+ "reflects": false
855
+ },
856
+ {
857
+ "kind": "field",
858
+ "name": "library",
859
+ "type": {
860
+ "text": "string"
861
+ },
862
+ "default": "'system'",
863
+ "attribute": "library",
864
+ "reflects": false
865
+ },
866
+ {
867
+ "kind": "field",
868
+ "name": "label",
869
+ "type": {
870
+ "text": "string"
871
+ },
872
+ "default": "''",
873
+ "attribute": "label",
874
+ "reflects": false
875
+ },
876
+ {
877
+ "kind": "field",
878
+ "name": "shape",
879
+ "type": {
880
+ "text": "'circle' | 'square'"
881
+ },
882
+ "default": "'circle'",
883
+ "attribute": "shape",
884
+ "reflects": true
885
+ },
886
+ {
887
+ "kind": "field",
888
+ "name": "variant",
889
+ "type": {
890
+ "text": "'default' | 'primary' | 'flat'"
891
+ },
892
+ "default": "'default'",
893
+ "attribute": "variant",
894
+ "reflects": true
895
+ },
896
+ {
897
+ "kind": "field",
898
+ "name": "size",
899
+ "type": {
900
+ "text": "'sm' | 'md' | 'lg'"
901
+ },
902
+ "default": "'md'",
903
+ "attribute": "size",
904
+ "reflects": true
905
+ },
906
+ {
907
+ "kind": "field",
908
+ "name": "disabled",
909
+ "type": {
910
+ "text": "boolean"
911
+ },
912
+ "default": "false",
913
+ "attribute": "disabled",
914
+ "reflects": true
915
+ },
916
+ {
917
+ "kind": "field",
918
+ "name": "type",
919
+ "type": {
920
+ "text": "'button' | 'submit' | 'reset'"
921
+ },
922
+ "default": "'button'",
923
+ "attribute": "type",
924
+ "reflects": true
925
+ }
926
+ ],
927
+ "events": [
928
+ {
929
+ "name": "click",
930
+ "type": {
931
+ "text": "Event"
932
+ },
933
+ "description": "Fired on activation; never while disabled."
934
+ }
935
+ ],
936
+ "slots": [],
937
+ "cssParts": [
938
+ {
939
+ "name": "base",
940
+ "description": "The raised surface."
941
+ },
942
+ {
943
+ "name": "icon",
944
+ "description": "Wrapper around the icon."
945
+ },
946
+ {
947
+ "name": "svg",
948
+ "description": "The rendered SVG element."
949
+ }
950
+ ],
951
+ "cssProperties": [
952
+ {
953
+ "name": "--neu-bg",
954
+ "description": "Surface colour; shadows and text are derived from it."
955
+ },
956
+ {
957
+ "name": "--neu-accent",
958
+ "description": "Accent colour."
959
+ },
960
+ {
961
+ "name": "--neu-distance",
962
+ "description": "Shadow distance for the md size."
963
+ },
964
+ {
965
+ "name": "--neu-intensity",
966
+ "description": "Shadow strength multiplier."
967
+ },
968
+ {
969
+ "name": "--neu-radius",
970
+ "description": "Corner radius for the md size."
971
+ }
972
+ ]
973
+ }
974
+ ],
975
+ "exports": [
976
+ {
977
+ "kind": "js",
978
+ "name": "NeuIconButton",
979
+ "declaration": {
980
+ "name": "NeuIconButton",
981
+ "module": "dist/icon-button.js"
982
+ }
983
+ },
984
+ {
985
+ "kind": "custom-element-definition",
986
+ "name": "neu-icon-button",
987
+ "declaration": {
988
+ "name": "NeuIconButton",
989
+ "module": "dist/icon-button.js"
990
+ }
991
+ }
992
+ ]
993
+ },
994
+ {
995
+ "kind": "javascript-module",
996
+ "path": "dist/spinner.js",
997
+ "declarations": [
998
+ {
999
+ "kind": "class",
1000
+ "name": "NeuSpinner",
1001
+ "tagName": "neu-spinner",
1002
+ "customElement": true,
1003
+ "description": "A rotating indicator for work in progress.",
1004
+ "attributes": [
1005
+ {
1006
+ "name": "label",
1007
+ "fieldName": "label",
1008
+ "type": {
1009
+ "text": "string"
1010
+ },
1011
+ "default": "'Loading'"
1012
+ },
1013
+ {
1014
+ "name": "size",
1015
+ "fieldName": "size",
1016
+ "type": {
1017
+ "text": "'sm' | 'md' | 'lg'"
1018
+ },
1019
+ "default": "'md'"
1020
+ }
1021
+ ],
1022
+ "members": [
1023
+ {
1024
+ "kind": "field",
1025
+ "name": "label",
1026
+ "type": {
1027
+ "text": "string"
1028
+ },
1029
+ "default": "'Loading'",
1030
+ "attribute": "label",
1031
+ "reflects": false
1032
+ },
1033
+ {
1034
+ "kind": "field",
1035
+ "name": "size",
1036
+ "type": {
1037
+ "text": "'sm' | 'md' | 'lg'"
1038
+ },
1039
+ "default": "'md'",
1040
+ "attribute": "size",
1041
+ "reflects": true
1042
+ }
1043
+ ],
1044
+ "events": [],
1045
+ "slots": [],
1046
+ "cssParts": [
1047
+ {
1048
+ "name": "base",
1049
+ "description": "The sized wrapper."
1050
+ },
1051
+ {
1052
+ "name": "track",
1053
+ "description": "The inset ring behind the indicator."
1054
+ },
1055
+ {
1056
+ "name": "indicator",
1057
+ "description": "The rotating arc."
1058
+ }
1059
+ ],
1060
+ "cssProperties": [
1061
+ {
1062
+ "name": "--neu-bg",
1063
+ "description": "Surface colour; shadows and text are derived from it."
1064
+ },
1065
+ {
1066
+ "name": "--neu-accent",
1067
+ "description": "Accent colour."
1068
+ },
1069
+ {
1070
+ "name": "--neu-distance",
1071
+ "description": "Shadow distance for the md size."
1072
+ },
1073
+ {
1074
+ "name": "--neu-intensity",
1075
+ "description": "Shadow strength multiplier."
1076
+ },
1077
+ {
1078
+ "name": "--neu-radius",
1079
+ "description": "Corner radius for the md size."
1080
+ }
1081
+ ]
1082
+ }
1083
+ ],
1084
+ "exports": [
1085
+ {
1086
+ "kind": "js",
1087
+ "name": "NeuSpinner",
1088
+ "declaration": {
1089
+ "name": "NeuSpinner",
1090
+ "module": "dist/spinner.js"
1091
+ }
1092
+ },
1093
+ {
1094
+ "kind": "custom-element-definition",
1095
+ "name": "neu-spinner",
1096
+ "declaration": {
1097
+ "name": "NeuSpinner",
1098
+ "module": "dist/spinner.js"
1099
+ }
1100
+ }
1101
+ ]
1102
+ },
1103
+ {
1104
+ "kind": "javascript-module",
1105
+ "path": "dist/surface.js",
1106
+ "declarations": [
1107
+ {
1108
+ "kind": "class",
1109
+ "name": "NeuSurface",
1110
+ "tagName": "neu-surface",
1111
+ "customElement": true,
1112
+ "description": "A neumorphic container with its own shape, elevation, radius and padding.",
1113
+ "attributes": [
1114
+ {
1115
+ "name": "shape",
1116
+ "fieldName": "shape",
1117
+ "type": {
1118
+ "text": "'raised' | 'inset' | 'flat' | 'convex' | 'concave'"
1119
+ },
1120
+ "default": "'raised'"
1121
+ },
1122
+ {
1123
+ "name": "elevation",
1124
+ "fieldName": "elevation",
1125
+ "type": {
1126
+ "text": "'sm' | 'md' | 'lg'"
1127
+ },
1128
+ "default": "'md'"
1129
+ },
1130
+ {
1131
+ "name": "radius",
1132
+ "fieldName": "radius",
1133
+ "type": {
1134
+ "text": "'sm' | 'md' | 'lg' | 'full'"
1135
+ },
1136
+ "default": "'md'"
1137
+ },
1138
+ {
1139
+ "name": "padding",
1140
+ "fieldName": "padding",
1141
+ "type": {
1142
+ "text": "'none' | 'sm' | 'md' | 'lg'"
1143
+ },
1144
+ "default": "'md'"
1145
+ }
1146
+ ],
1147
+ "members": [
1148
+ {
1149
+ "kind": "field",
1150
+ "name": "shape",
1151
+ "type": {
1152
+ "text": "'raised' | 'inset' | 'flat' | 'convex' | 'concave'"
1153
+ },
1154
+ "default": "'raised'",
1155
+ "attribute": "shape",
1156
+ "reflects": true
1157
+ },
1158
+ {
1159
+ "kind": "field",
1160
+ "name": "elevation",
1161
+ "type": {
1162
+ "text": "'sm' | 'md' | 'lg'"
1163
+ },
1164
+ "default": "'md'",
1165
+ "attribute": "elevation",
1166
+ "reflects": true
1167
+ },
1168
+ {
1169
+ "kind": "field",
1170
+ "name": "radius",
1171
+ "type": {
1172
+ "text": "'sm' | 'md' | 'lg' | 'full'"
1173
+ },
1174
+ "default": "'md'",
1175
+ "attribute": "radius",
1176
+ "reflects": true
1177
+ },
1178
+ {
1179
+ "kind": "field",
1180
+ "name": "padding",
1181
+ "type": {
1182
+ "text": "'none' | 'sm' | 'md' | 'lg'"
1183
+ },
1184
+ "default": "'md'",
1185
+ "attribute": "padding",
1186
+ "reflects": true
1187
+ }
1188
+ ],
1189
+ "events": [],
1190
+ "slots": [
1191
+ {
1192
+ "name": "",
1193
+ "description": "The content of the surface."
1194
+ }
1195
+ ],
1196
+ "cssParts": [
1197
+ {
1198
+ "name": "base",
1199
+ "description": "The surface itself."
1200
+ }
1201
+ ],
1202
+ "cssProperties": [
1203
+ {
1204
+ "name": "--neu-bg",
1205
+ "description": "Surface colour; shadows and text are derived from it."
1206
+ },
1207
+ {
1208
+ "name": "--neu-accent",
1209
+ "description": "Accent colour."
1210
+ },
1211
+ {
1212
+ "name": "--neu-distance",
1213
+ "description": "Shadow distance for the md size."
1214
+ },
1215
+ {
1216
+ "name": "--neu-intensity",
1217
+ "description": "Shadow strength multiplier."
1218
+ },
1219
+ {
1220
+ "name": "--neu-radius",
1221
+ "description": "Corner radius for the md size."
1222
+ }
1223
+ ]
1224
+ }
1225
+ ],
1226
+ "exports": [
1227
+ {
1228
+ "kind": "js",
1229
+ "name": "NeuSurface",
1230
+ "declaration": {
1231
+ "name": "NeuSurface",
1232
+ "module": "dist/surface.js"
1233
+ }
1234
+ },
1235
+ {
1236
+ "kind": "custom-element-definition",
1237
+ "name": "neu-surface",
1238
+ "declaration": {
1239
+ "name": "NeuSurface",
1240
+ "module": "dist/surface.js"
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": [
1256
+ {
1257
+ "name": "checked",
1258
+ "fieldName": "defaultChecked",
1259
+ "type": {
1260
+ "text": "boolean"
1261
+ },
1262
+ "default": "false"
1263
+ },
1264
+ {
1265
+ "name": "name",
1266
+ "fieldName": "name",
1267
+ "type": {
1268
+ "text": "string"
1269
+ },
1270
+ "default": "''"
1271
+ },
1272
+ {
1273
+ "name": "value",
1274
+ "fieldName": "value",
1275
+ "type": {
1276
+ "text": "string"
1277
+ },
1278
+ "default": "'on'"
1279
+ },
1280
+ {
1281
+ "name": "disabled",
1282
+ "fieldName": "disabled",
1283
+ "type": {
1284
+ "text": "boolean"
1285
+ },
1286
+ "default": "false"
1287
+ },
1288
+ {
1289
+ "name": "required",
1290
+ "fieldName": "required",
1291
+ "type": {
1292
+ "text": "boolean"
1293
+ },
1294
+ "default": "false"
1295
+ },
1296
+ {
1297
+ "name": "size",
1298
+ "fieldName": "size",
1299
+ "type": {
1300
+ "text": "'sm' | 'md' | 'lg'"
1301
+ },
1302
+ "default": "'md'"
1303
+ }
1304
+ ],
1305
+ "members": [
1306
+ {
1307
+ "kind": "field",
1308
+ "name": "checked",
1309
+ "type": {
1310
+ "text": "boolean"
1311
+ },
1312
+ "description": "Current checked. The checked attribute holds the default."
1313
+ },
1314
+ {
1315
+ "kind": "field",
1316
+ "name": "name",
1317
+ "type": {
1318
+ "text": "string"
1319
+ },
1320
+ "default": "''",
1321
+ "attribute": "name",
1322
+ "reflects": true
1323
+ },
1324
+ {
1325
+ "kind": "field",
1326
+ "name": "value",
1327
+ "type": {
1328
+ "text": "string"
1329
+ },
1330
+ "default": "'on'",
1331
+ "attribute": "value",
1332
+ "reflects": true
1333
+ },
1334
+ {
1335
+ "kind": "field",
1336
+ "name": "disabled",
1337
+ "type": {
1338
+ "text": "boolean"
1339
+ },
1340
+ "default": "false",
1341
+ "attribute": "disabled",
1342
+ "reflects": true
1343
+ },
1344
+ {
1345
+ "kind": "field",
1346
+ "name": "required",
1347
+ "type": {
1348
+ "text": "boolean"
1349
+ },
1350
+ "default": "false",
1351
+ "attribute": "required",
1352
+ "reflects": true
1353
+ },
1354
+ {
1355
+ "kind": "field",
1356
+ "name": "size",
1357
+ "type": {
1358
+ "text": "'sm' | 'md' | 'lg'"
1359
+ },
1360
+ "default": "'md'",
1361
+ "attribute": "size",
1362
+ "reflects": true
1363
+ },
1364
+ {
1365
+ "kind": "field",
1366
+ "name": "defaultChecked",
1367
+ "type": {
1368
+ "text": "boolean"
1369
+ },
1370
+ "attribute": "checked",
1371
+ "reflects": true
1372
+ }
1373
+ ],
1374
+ "events": [
1375
+ {
1376
+ "name": "input",
1377
+ "type": {
1378
+ "text": "Event"
1379
+ },
1380
+ "description": "Fired when the user toggles the switch."
1381
+ },
1382
+ {
1383
+ "name": "change",
1384
+ "type": {
1385
+ "text": "Event"
1386
+ },
1387
+ "description": "Fired after input when the user toggles the switch."
1388
+ }
1389
+ ],
1390
+ "slots": [
1391
+ {
1392
+ "name": "",
1393
+ "description": "Label; also the accessible name."
1394
+ }
1395
+ ],
1396
+ "cssParts": [
1397
+ {
1398
+ "name": "base",
1399
+ "description": "Wrapper around track and label."
1400
+ },
1401
+ {
1402
+ "name": "track",
1403
+ "description": "The inset track."
1404
+ },
1405
+ {
1406
+ "name": "thumb",
1407
+ "description": "The raised thumb."
1408
+ },
1409
+ {
1410
+ "name": "label",
1411
+ "description": "Wrapper around the default slot."
1412
+ }
1413
+ ],
1414
+ "cssProperties": [
1415
+ {
1416
+ "name": "--neu-bg",
1417
+ "description": "Surface colour; shadows and text are derived from it."
1418
+ },
1419
+ {
1420
+ "name": "--neu-accent",
1421
+ "description": "Accent colour."
1422
+ },
1423
+ {
1424
+ "name": "--neu-distance",
1425
+ "description": "Shadow distance for the md size."
1426
+ },
1427
+ {
1428
+ "name": "--neu-intensity",
1429
+ "description": "Shadow strength multiplier."
1430
+ },
1431
+ {
1432
+ "name": "--neu-radius",
1433
+ "description": "Corner radius for the md size."
1434
+ }
1435
+ ]
1436
+ }
1437
+ ],
1438
+ "exports": [
1439
+ {
1440
+ "kind": "js",
1441
+ "name": "NeuSwitch",
1442
+ "declaration": {
1443
+ "name": "NeuSwitch",
1444
+ "module": "dist/switch.js"
1445
+ }
1446
+ },
1447
+ {
1448
+ "kind": "custom-element-definition",
1449
+ "name": "neu-switch",
1450
+ "declaration": {
1451
+ "name": "NeuSwitch",
1452
+ "module": "dist/switch.js"
1453
+ }
1454
+ }
1455
+ ]
1456
+ },
1457
+ {
1458
+ "kind": "javascript-module",
1459
+ "path": "dist/text-field.js",
1460
+ "declarations": [
1461
+ {
1462
+ "kind": "class",
1463
+ "name": "NeuTextField",
1464
+ "tagName": "neu-text-field",
1465
+ "customElement": true,
1466
+ "description": "A single-line text input with an inset field. The value attribute is the default value.",
1467
+ "attributes": [
1468
+ {
1469
+ "name": "type",
1470
+ "fieldName": "type",
1471
+ "type": {
1472
+ "text": "'text' | 'email' | 'password' | 'search' | 'tel' | 'url'"
1473
+ },
1474
+ "default": "'text'"
1475
+ },
1476
+ {
1477
+ "name": "value",
1478
+ "fieldName": "defaultValue",
1479
+ "type": {
1480
+ "text": "string"
1481
+ },
1482
+ "default": "''"
1483
+ },
1484
+ {
1485
+ "name": "name",
1486
+ "fieldName": "name",
1487
+ "type": {
1488
+ "text": "string"
1489
+ },
1490
+ "default": "''"
1491
+ },
1492
+ {
1493
+ "name": "label",
1494
+ "fieldName": "label",
1495
+ "type": {
1496
+ "text": "string"
1497
+ },
1498
+ "default": "''"
1499
+ },
1500
+ {
1501
+ "name": "placeholder",
1502
+ "fieldName": "placeholder",
1503
+ "type": {
1504
+ "text": "string"
1505
+ },
1506
+ "default": "''"
1507
+ },
1508
+ {
1509
+ "name": "help-text",
1510
+ "fieldName": "helpText",
1511
+ "type": {
1512
+ "text": "string"
1513
+ },
1514
+ "default": "''"
1515
+ },
1516
+ {
1517
+ "name": "error-text",
1518
+ "fieldName": "errorText",
1519
+ "type": {
1520
+ "text": "string"
1521
+ },
1522
+ "default": "''"
1523
+ },
1524
+ {
1525
+ "name": "required",
1526
+ "fieldName": "required",
1527
+ "type": {
1528
+ "text": "boolean"
1529
+ },
1530
+ "default": "false"
1531
+ },
1532
+ {
1533
+ "name": "disabled",
1534
+ "fieldName": "disabled",
1535
+ "type": {
1536
+ "text": "boolean"
1537
+ },
1538
+ "default": "false"
1539
+ },
1540
+ {
1541
+ "name": "readonly",
1542
+ "fieldName": "readOnly",
1543
+ "type": {
1544
+ "text": "boolean"
1545
+ },
1546
+ "default": "false"
1547
+ },
1548
+ {
1549
+ "name": "minlength",
1550
+ "fieldName": "minLength",
1551
+ "type": {
1552
+ "text": "number"
1553
+ },
1554
+ "default": "-1"
1555
+ },
1556
+ {
1557
+ "name": "maxlength",
1558
+ "fieldName": "maxLength",
1559
+ "type": {
1560
+ "text": "number"
1561
+ },
1562
+ "default": "-1"
1563
+ },
1564
+ {
1565
+ "name": "pattern",
1566
+ "fieldName": "pattern",
1567
+ "type": {
1568
+ "text": "string"
1569
+ },
1570
+ "default": "''"
1571
+ },
1572
+ {
1573
+ "name": "autocomplete",
1574
+ "fieldName": "autocomplete",
1575
+ "type": {
1576
+ "text": "string"
1577
+ },
1578
+ "default": "''"
1579
+ },
1580
+ {
1581
+ "name": "inputmode",
1582
+ "fieldName": "inputMode",
1583
+ "type": {
1584
+ "text": "string"
1585
+ },
1586
+ "default": "''"
1587
+ },
1588
+ {
1589
+ "name": "enterkeyhint",
1590
+ "fieldName": "enterKeyHint",
1591
+ "type": {
1592
+ "text": "string"
1593
+ },
1594
+ "default": "''"
1595
+ },
1596
+ {
1597
+ "name": "size",
1598
+ "fieldName": "size",
1599
+ "type": {
1600
+ "text": "'sm' | 'md' | 'lg'"
1601
+ },
1602
+ "default": "'md'"
1603
+ }
1604
+ ],
1605
+ "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
+ {
1617
+ "kind": "field",
1618
+ "name": "value",
1619
+ "type": {
1620
+ "text": "string"
1621
+ },
1622
+ "description": "Current value. The value attribute holds the default."
1623
+ },
1624
+ {
1625
+ "kind": "field",
1626
+ "name": "name",
1627
+ "type": {
1628
+ "text": "string"
1629
+ },
1630
+ "default": "''",
1631
+ "attribute": "name",
1632
+ "reflects": true
1633
+ },
1634
+ {
1635
+ "kind": "field",
1636
+ "name": "label",
1637
+ "type": {
1638
+ "text": "string"
1639
+ },
1640
+ "default": "''",
1641
+ "attribute": "label",
1642
+ "reflects": false
1643
+ },
1644
+ {
1645
+ "kind": "field",
1646
+ "name": "placeholder",
1647
+ "type": {
1648
+ "text": "string"
1649
+ },
1650
+ "default": "''",
1651
+ "attribute": "placeholder",
1652
+ "reflects": false
1653
+ },
1654
+ {
1655
+ "kind": "field",
1656
+ "name": "helpText",
1657
+ "type": {
1658
+ "text": "string"
1659
+ },
1660
+ "default": "''",
1661
+ "attribute": "help-text",
1662
+ "reflects": false
1663
+ },
1664
+ {
1665
+ "kind": "field",
1666
+ "name": "errorText",
1667
+ "type": {
1668
+ "text": "string"
1669
+ },
1670
+ "default": "''",
1671
+ "attribute": "error-text",
1672
+ "reflects": false
1673
+ },
1674
+ {
1675
+ "kind": "field",
1676
+ "name": "required",
1677
+ "type": {
1678
+ "text": "boolean"
1679
+ },
1680
+ "default": "false",
1681
+ "attribute": "required",
1682
+ "reflects": true
1683
+ },
1684
+ {
1685
+ "kind": "field",
1686
+ "name": "disabled",
1687
+ "type": {
1688
+ "text": "boolean"
1689
+ },
1690
+ "default": "false",
1691
+ "attribute": "disabled",
1692
+ "reflects": true
1693
+ },
1694
+ {
1695
+ "kind": "field",
1696
+ "name": "readOnly",
1697
+ "type": {
1698
+ "text": "boolean"
1699
+ },
1700
+ "default": "false",
1701
+ "attribute": "readonly",
1702
+ "reflects": true
1703
+ },
1704
+ {
1705
+ "kind": "field",
1706
+ "name": "minLength",
1707
+ "type": {
1708
+ "text": "number"
1709
+ },
1710
+ "default": "-1",
1711
+ "attribute": "minlength",
1712
+ "reflects": false
1713
+ },
1714
+ {
1715
+ "kind": "field",
1716
+ "name": "maxLength",
1717
+ "type": {
1718
+ "text": "number"
1719
+ },
1720
+ "default": "-1",
1721
+ "attribute": "maxlength",
1722
+ "reflects": false
1723
+ },
1724
+ {
1725
+ "kind": "field",
1726
+ "name": "pattern",
1727
+ "type": {
1728
+ "text": "string"
1729
+ },
1730
+ "default": "''",
1731
+ "attribute": "pattern",
1732
+ "reflects": false
1733
+ },
1734
+ {
1735
+ "kind": "field",
1736
+ "name": "autocomplete",
1737
+ "type": {
1738
+ "text": "string"
1739
+ },
1740
+ "default": "''",
1741
+ "attribute": "autocomplete",
1742
+ "reflects": false
1743
+ },
1744
+ {
1745
+ "kind": "field",
1746
+ "name": "inputMode",
1747
+ "type": {
1748
+ "text": "string"
1749
+ },
1750
+ "default": "''",
1751
+ "attribute": "inputmode",
1752
+ "reflects": false
1753
+ },
1754
+ {
1755
+ "kind": "field",
1756
+ "name": "enterKeyHint",
1757
+ "type": {
1758
+ "text": "string"
1759
+ },
1760
+ "default": "''",
1761
+ "attribute": "enterkeyhint",
1762
+ "reflects": false
1763
+ },
1764
+ {
1765
+ "kind": "field",
1766
+ "name": "size",
1767
+ "type": {
1768
+ "text": "'sm' | 'md' | 'lg'"
1769
+ },
1770
+ "default": "'md'",
1771
+ "attribute": "size",
1772
+ "reflects": true
1773
+ },
1774
+ {
1775
+ "kind": "field",
1776
+ "name": "defaultValue",
1777
+ "type": {
1778
+ "text": "string"
1779
+ },
1780
+ "attribute": "value",
1781
+ "reflects": true
1782
+ }
1783
+ ],
1784
+ "events": [
1785
+ {
1786
+ "name": "input",
1787
+ "type": {
1788
+ "text": "Event"
1789
+ },
1790
+ "description": "Fired on every edit (the native input event, composed)."
1791
+ },
1792
+ {
1793
+ "name": "change",
1794
+ "type": {
1795
+ "text": "Event"
1796
+ },
1797
+ "description": "Fired when an edit is committed, usually on blur."
1798
+ }
1799
+ ],
1800
+ "slots": [
1801
+ {
1802
+ "name": "label",
1803
+ "description": "Rich label; replaces the label attribute."
1804
+ },
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
+ {
1814
+ "name": "help-text",
1815
+ "description": "Rich help text; replaces the help-text attribute."
1816
+ }
1817
+ ],
1818
+ "cssParts": [
1819
+ {
1820
+ "name": "base",
1821
+ "description": "Outer wrapper."
1822
+ },
1823
+ {
1824
+ "name": "label",
1825
+ "description": "The <label> element."
1826
+ },
1827
+ {
1828
+ "name": "control",
1829
+ "description": "The inset field around the input."
1830
+ },
1831
+ {
1832
+ "name": "input",
1833
+ "description": "The native <input>."
1834
+ },
1835
+ {
1836
+ "name": "prefix",
1837
+ "description": "Wrapper around the prefix slot."
1838
+ },
1839
+ {
1840
+ "name": "suffix",
1841
+ "description": "Wrapper around the suffix slot."
1842
+ },
1843
+ {
1844
+ "name": "help-text",
1845
+ "description": "Help or error text area."
1846
+ }
1847
+ ],
1848
+ "cssProperties": [
1849
+ {
1850
+ "name": "--neu-bg",
1851
+ "description": "Surface colour; shadows and text are derived from it."
1852
+ },
1853
+ {
1854
+ "name": "--neu-accent",
1855
+ "description": "Accent colour."
1856
+ },
1857
+ {
1858
+ "name": "--neu-distance",
1859
+ "description": "Shadow distance for the md size."
1860
+ },
1861
+ {
1862
+ "name": "--neu-intensity",
1863
+ "description": "Shadow strength multiplier."
1864
+ },
1865
+ {
1866
+ "name": "--neu-radius",
1867
+ "description": "Corner radius for the md size."
1868
+ }
1869
+ ]
1870
+ }
1871
+ ],
1872
+ "exports": [
1873
+ {
1874
+ "kind": "js",
1875
+ "name": "NeuTextField",
1876
+ "declaration": {
1877
+ "name": "NeuTextField",
1878
+ "module": "dist/text-field.js"
1879
+ }
1880
+ },
1881
+ {
1882
+ "kind": "custom-element-definition",
1883
+ "name": "neu-text-field",
1884
+ "declaration": {
1885
+ "name": "NeuTextField",
1886
+ "module": "dist/text-field.js"
1887
+ }
1888
+ }
1889
+ ]
1890
+ }
1891
+ ]
1892
+ }