@scouterna/ui-webc 0.2.10 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. package/dist/cjs/{index-M8pbc2b8.js → index-D42maJcS.js} +455 -9
  2. package/dist/cjs/index-D42maJcS.js.map +1 -0
  3. package/dist/cjs/loader.cjs.js +2 -2
  4. package/dist/cjs/scout-bottom-bar-item.cjs.entry.js +3 -2
  5. package/dist/cjs/scout-bottom-bar-item.entry.cjs.js.map +1 -1
  6. package/dist/cjs/scout-bottom-bar.cjs.entry.js +3 -2
  7. package/dist/cjs/scout-bottom-bar.entry.cjs.js.map +1 -1
  8. package/dist/cjs/scout-button.cjs.entry.js +3 -2
  9. package/dist/cjs/scout-button.entry.cjs.js.map +1 -1
  10. package/dist/cjs/scout-card.cjs.entry.js +19 -0
  11. package/dist/cjs/scout-card.entry.cjs.js.map +1 -0
  12. package/dist/cjs/scout-checkbox.cjs.entry.js +53 -0
  13. package/dist/cjs/scout-checkbox.entry.cjs.js.map +1 -0
  14. package/dist/cjs/scout-field.cjs.entry.js +47 -0
  15. package/dist/cjs/scout-field.entry.cjs.js.map +1 -0
  16. package/dist/cjs/scout-input.cjs.entry.js +72 -0
  17. package/dist/cjs/scout-input.entry.cjs.js.map +1 -0
  18. package/dist/cjs/scout-switch.cjs.entry.js +49 -0
  19. package/dist/cjs/scout-switch.entry.cjs.js.map +1 -0
  20. package/dist/cjs/ui-webc.cjs.js +2 -2
  21. package/dist/collection/collection-manifest.json +6 -1
  22. package/dist/collection/components/bottom-bar/bottom-bar.js +2 -1
  23. package/dist/collection/components/bottom-bar/bottom-bar.js.map +1 -1
  24. package/dist/collection/components/bottom-bar-item/bottom-bar-item.js +2 -1
  25. package/dist/collection/components/bottom-bar-item/bottom-bar-item.js.map +1 -1
  26. package/dist/collection/components/button/button.js +2 -1
  27. package/dist/collection/components/button/button.js.map +1 -1
  28. package/dist/collection/components/card/card.css +8 -0
  29. package/dist/collection/components/card/card.js +23 -0
  30. package/dist/collection/components/card/card.js.map +1 -0
  31. package/dist/collection/components/checkbox/checkbox.css +81 -0
  32. package/dist/collection/components/checkbox/checkbox.js +176 -0
  33. package/dist/collection/components/checkbox/checkbox.js.map +1 -0
  34. package/dist/collection/components/field/field.css +26 -0
  35. package/dist/collection/components/field/field.js +119 -0
  36. package/dist/collection/components/field/field.js.map +1 -0
  37. package/dist/collection/components/input/input.css +15 -0
  38. package/dist/collection/components/input/input.js +259 -0
  39. package/dist/collection/components/input/input.js.map +1 -0
  40. package/dist/collection/components/switch/switch.css +79 -0
  41. package/dist/collection/components/switch/switch.js +173 -0
  42. package/dist/collection/components/switch/switch.js.map +1 -0
  43. package/dist/components/index.js +1 -1
  44. package/dist/components/{p-CMd0pUms.js → p-MfRr-Vl1.js} +448 -10
  45. package/dist/components/p-MfRr-Vl1.js.map +1 -0
  46. package/dist/components/scout-bottom-bar-item.js +4 -3
  47. package/dist/components/scout-bottom-bar-item.js.map +1 -1
  48. package/dist/components/scout-bottom-bar.js +4 -3
  49. package/dist/components/scout-bottom-bar.js.map +1 -1
  50. package/dist/components/scout-button.js +4 -3
  51. package/dist/components/scout-button.js.map +1 -1
  52. package/dist/components/scout-card.d.ts +11 -0
  53. package/dist/components/scout-card.js +39 -0
  54. package/dist/components/scout-card.js.map +1 -0
  55. package/dist/components/scout-checkbox.d.ts +11 -0
  56. package/dist/components/scout-checkbox.js +78 -0
  57. package/dist/components/scout-checkbox.js.map +1 -0
  58. package/dist/components/scout-field.d.ts +11 -0
  59. package/dist/components/scout-field.js +72 -0
  60. package/dist/components/scout-field.js.map +1 -0
  61. package/dist/components/scout-input.d.ts +11 -0
  62. package/dist/components/scout-input.js +99 -0
  63. package/dist/components/scout-input.js.map +1 -0
  64. package/dist/components/scout-switch.d.ts +11 -0
  65. package/dist/components/scout-switch.js +75 -0
  66. package/dist/components/scout-switch.js.map +1 -0
  67. package/dist/custom-elements.json +732 -14
  68. package/dist/esm/{index-BKWL7m90.js → index-DByXnE9g.js} +455 -10
  69. package/dist/esm/index-DByXnE9g.js.map +1 -0
  70. package/dist/esm/loader.js +3 -3
  71. package/dist/esm/scout-bottom-bar-item.entry.js +3 -2
  72. package/dist/esm/scout-bottom-bar-item.entry.js.map +1 -1
  73. package/dist/esm/scout-bottom-bar.entry.js +3 -2
  74. package/dist/esm/scout-bottom-bar.entry.js.map +1 -1
  75. package/dist/esm/scout-button.entry.js +3 -2
  76. package/dist/esm/scout-button.entry.js.map +1 -1
  77. package/dist/esm/scout-card.entry.js +17 -0
  78. package/dist/esm/scout-card.entry.js.map +1 -0
  79. package/dist/esm/scout-checkbox.entry.js +51 -0
  80. package/dist/esm/scout-checkbox.entry.js.map +1 -0
  81. package/dist/esm/scout-field.entry.js +45 -0
  82. package/dist/esm/scout-field.entry.js.map +1 -0
  83. package/dist/esm/scout-input.entry.js +70 -0
  84. package/dist/esm/scout-input.entry.js.map +1 -0
  85. package/dist/esm/scout-switch.entry.js +47 -0
  86. package/dist/esm/scout-switch.entry.js.map +1 -0
  87. package/dist/esm/ui-webc.js +3 -3
  88. package/dist/types/components/card/card.d.ts +6 -0
  89. package/dist/types/components/checkbox/checkbox.d.ts +22 -0
  90. package/dist/types/components/field/field.d.ts +23 -0
  91. package/dist/types/components/input/input.d.ts +47 -0
  92. package/dist/types/components/switch/switch.d.ts +25 -0
  93. package/dist/types/components.d.ts +286 -0
  94. package/dist/ui-webc/p-24632b65.entry.js +2 -0
  95. package/dist/ui-webc/p-24632b65.entry.js.map +1 -0
  96. package/dist/ui-webc/p-2b434594.entry.js +2 -0
  97. package/dist/ui-webc/p-2b434594.entry.js.map +1 -0
  98. package/dist/ui-webc/p-383736c1.entry.js +2 -0
  99. package/dist/ui-webc/p-383736c1.entry.js.map +1 -0
  100. package/dist/ui-webc/p-7245a55a.entry.js +2 -0
  101. package/dist/ui-webc/p-7245a55a.entry.js.map +1 -0
  102. package/dist/ui-webc/{p-5a234307.entry.js → p-99329c64.entry.js} +2 -2
  103. package/dist/ui-webc/p-99329c64.entry.js.map +1 -0
  104. package/dist/ui-webc/p-9b7c270d.entry.js +2 -0
  105. package/dist/ui-webc/p-9b7c270d.entry.js.map +1 -0
  106. package/dist/ui-webc/p-DByXnE9g.js +3 -0
  107. package/dist/ui-webc/p-DByXnE9g.js.map +1 -0
  108. package/dist/ui-webc/p-c0c3a4af.entry.js +2 -0
  109. package/dist/ui-webc/p-c0c3a4af.entry.js.map +1 -0
  110. package/dist/ui-webc/p-e7602729.entry.js +2 -0
  111. package/dist/ui-webc/p-e7602729.entry.js.map +1 -0
  112. package/dist/ui-webc/scout-bottom-bar-item.entry.esm.js.map +1 -1
  113. package/dist/ui-webc/scout-bottom-bar.entry.esm.js.map +1 -1
  114. package/dist/ui-webc/scout-button.entry.esm.js.map +1 -1
  115. package/dist/ui-webc/scout-card.entry.esm.js.map +1 -0
  116. package/dist/ui-webc/scout-checkbox.entry.esm.js.map +1 -0
  117. package/dist/ui-webc/scout-field.entry.esm.js.map +1 -0
  118. package/dist/ui-webc/scout-input.entry.esm.js.map +1 -0
  119. package/dist/ui-webc/scout-switch.entry.esm.js.map +1 -0
  120. package/dist/ui-webc/ui-webc.css +13 -1
  121. package/dist/ui-webc/ui-webc.esm.js +1 -1
  122. package/package.json +3 -5
  123. package/dist/cjs/index-M8pbc2b8.js.map +0 -1
  124. package/dist/components/p-CMd0pUms.js.map +0 -1
  125. package/dist/esm/index-BKWL7m90.js.map +0 -1
  126. package/dist/ui-webc/p-2b13b5cd.entry.js +0 -2
  127. package/dist/ui-webc/p-2b13b5cd.entry.js.map +0 -1
  128. package/dist/ui-webc/p-5a234307.entry.js.map +0 -1
  129. package/dist/ui-webc/p-BKWL7m90.js +0 -3
  130. package/dist/ui-webc/p-BKWL7m90.js.map +0 -1
  131. package/dist/ui-webc/p-d1aadf34.entry.js +0 -2
  132. package/dist/ui-webc/p-d1aadf34.entry.js.map +0 -1
@@ -1,5 +1,5 @@
1
1
  {
2
- "timestamp": "2025-11-21T22:00:05",
2
+ "timestamp": "2025-12-04T09:42:21",
3
3
  "compiler": {
4
4
  "name": "@stencil/core",
5
5
  "version": "4.38.1",
@@ -10,7 +10,7 @@
10
10
  "filePath": "src/components/bottom-bar/bottom-bar.tsx",
11
11
  "encapsulation": "shadow",
12
12
  "tag": "scout-bottom-bar",
13
- "readme": "# scout-button\n\n\n",
13
+ "readme": "# scout-bottom-bar\n\n\n",
14
14
  "docs": "The bottom bar component is used in the Jamboree26 app to provide\nnavigation at the bottom of the screen.",
15
15
  "docsTags": [],
16
16
  "usage": {},
@@ -29,7 +29,7 @@
29
29
  "filePath": "src/components/bottom-bar-item/bottom-bar-item.tsx",
30
30
  "encapsulation": "shadow",
31
31
  "tag": "scout-bottom-bar-item",
32
- "readme": "# scout-button\n\n\n",
32
+ "readme": "# scout-bottom-bar-item\n\n\n",
33
33
  "docs": "A bottom bar item used within the bottom bar for navigation. Should not be\nused outside of a bottom bar.",
34
34
  "docsTags": [],
35
35
  "usage": {},
@@ -339,18 +339,736 @@
339
339
  "dependents": [],
340
340
  "dependencies": [],
341
341
  "dependencyGraph": {}
342
- }
343
- ],
344
- "typeLibrary": {
345
- "src/components/bottom-bar-item/bottom-bar-item.tsx::ItemType": {
346
- "declaration": "export type ItemType = \"button\" | \"link\";",
347
- "docstring": "",
348
- "path": "src/components/bottom-bar-item/bottom-bar-item.tsx"
349
342
  },
350
- "src/components/button/button.tsx::Variant": {
351
- "declaration": "export type Variant = \"primary\" | \"outlined\" | \"text\" | \"caution\" | \"danger\";",
352
- "docstring": "",
353
- "path": "src/components/button/button.tsx"
343
+ {
344
+ "filePath": "src/components/card/card.tsx",
345
+ "encapsulation": "shadow",
346
+ "tag": "scout-card",
347
+ "readme": "# scout-card\n\n\n",
348
+ "docs": "A general surface to hold various types of content.",
349
+ "docsTags": [],
350
+ "usage": {},
351
+ "props": [],
352
+ "methods": [],
353
+ "events": [],
354
+ "listeners": [],
355
+ "styles": [],
356
+ "slots": [],
357
+ "parts": [],
358
+ "dependents": [],
359
+ "dependencies": [],
360
+ "dependencyGraph": {}
361
+ },
362
+ {
363
+ "filePath": "src/components/checkbox/checkbox.tsx",
364
+ "encapsulation": "scoped",
365
+ "tag": "scout-checkbox",
366
+ "readme": "# scout-checkbox\n",
367
+ "docs": "",
368
+ "docsTags": [],
369
+ "usage": {},
370
+ "props": [
371
+ {
372
+ "name": "ariaLabelledby",
373
+ "type": "string",
374
+ "complexType": {
375
+ "original": "string",
376
+ "resolved": "string",
377
+ "references": {}
378
+ },
379
+ "mutable": false,
380
+ "attr": "aria-labelledby",
381
+ "reflectToAttr": false,
382
+ "docs": "Use this prop if you need to connect your checkbox with another element describing its use, other than the property label.",
383
+ "docsTags": [],
384
+ "values": [
385
+ {
386
+ "type": "string"
387
+ }
388
+ ],
389
+ "optional": false,
390
+ "required": false,
391
+ "getter": false,
392
+ "setter": false
393
+ },
394
+ {
395
+ "name": "checked",
396
+ "type": "boolean",
397
+ "complexType": {
398
+ "original": "boolean",
399
+ "resolved": "boolean",
400
+ "references": {}
401
+ },
402
+ "mutable": false,
403
+ "attr": "checked",
404
+ "reflectToAttr": false,
405
+ "docs": "",
406
+ "docsTags": [
407
+ {
408
+ "name": "default",
409
+ "text": "false"
410
+ }
411
+ ],
412
+ "default": "false",
413
+ "values": [
414
+ {
415
+ "type": "boolean"
416
+ }
417
+ ],
418
+ "optional": false,
419
+ "required": false,
420
+ "getter": false,
421
+ "setter": false
422
+ },
423
+ {
424
+ "name": "disabled",
425
+ "type": "boolean",
426
+ "complexType": {
427
+ "original": "boolean",
428
+ "resolved": "boolean",
429
+ "references": {}
430
+ },
431
+ "mutable": false,
432
+ "attr": "disabled",
433
+ "reflectToAttr": false,
434
+ "docs": "",
435
+ "docsTags": [
436
+ {
437
+ "name": "default",
438
+ "text": "false"
439
+ }
440
+ ],
441
+ "default": "false",
442
+ "values": [
443
+ {
444
+ "type": "boolean"
445
+ }
446
+ ],
447
+ "optional": false,
448
+ "required": false,
449
+ "getter": false,
450
+ "setter": false
451
+ },
452
+ {
453
+ "name": "label",
454
+ "type": "string",
455
+ "complexType": {
456
+ "original": "string",
457
+ "resolved": "string",
458
+ "references": {}
459
+ },
460
+ "mutable": false,
461
+ "attr": "label",
462
+ "reflectToAttr": false,
463
+ "docs": "",
464
+ "docsTags": [],
465
+ "values": [
466
+ {
467
+ "type": "string"
468
+ }
469
+ ],
470
+ "optional": false,
471
+ "required": false,
472
+ "getter": false,
473
+ "setter": false
474
+ }
475
+ ],
476
+ "methods": [],
477
+ "events": [
478
+ {
479
+ "event": "_fieldId",
480
+ "detail": "string",
481
+ "bubbles": true,
482
+ "complexType": {
483
+ "original": "string",
484
+ "resolved": "string",
485
+ "references": {}
486
+ },
487
+ "cancelable": true,
488
+ "composed": true,
489
+ "docs": "Internal event used for form field association.",
490
+ "docsTags": []
491
+ },
492
+ {
493
+ "event": "scoutCheckboxChecked",
494
+ "detail": "{ checked: boolean; element: HTMLInputElement; }",
495
+ "bubbles": true,
496
+ "complexType": {
497
+ "original": "{\n checked: boolean;\n element: HTMLInputElement;\n }",
498
+ "resolved": "{ checked: boolean; element: HTMLInputElement; }",
499
+ "references": {
500
+ "HTMLInputElement": {
501
+ "location": "global",
502
+ "id": "global::HTMLInputElement"
503
+ }
504
+ }
505
+ },
506
+ "cancelable": true,
507
+ "composed": true,
508
+ "docs": "",
509
+ "docsTags": []
510
+ }
511
+ ],
512
+ "listeners": [],
513
+ "styles": [],
514
+ "slots": [],
515
+ "parts": [],
516
+ "dependents": [],
517
+ "dependencies": [],
518
+ "dependencyGraph": {}
519
+ },
520
+ {
521
+ "filePath": "src/components/field/field.tsx",
522
+ "encapsulation": "scoped",
523
+ "tag": "scout-field",
524
+ "readme": "# scout-field\n",
525
+ "docs": "",
526
+ "docsTags": [],
527
+ "usage": {},
528
+ "props": [
529
+ {
530
+ "name": "helpText",
531
+ "type": "string",
532
+ "complexType": {
533
+ "original": "string",
534
+ "resolved": "string",
535
+ "references": {}
536
+ },
537
+ "mutable": false,
538
+ "attr": "help-text",
539
+ "reflectToAttr": false,
540
+ "docs": "Help text shown below the field.",
541
+ "docsTags": [],
542
+ "values": [
543
+ {
544
+ "type": "string"
545
+ }
546
+ ],
547
+ "optional": true,
548
+ "required": false,
549
+ "getter": false,
550
+ "setter": false
551
+ },
552
+ {
553
+ "name": "label",
554
+ "type": "string",
555
+ "complexType": {
556
+ "original": "string",
557
+ "resolved": "string",
558
+ "references": {}
559
+ },
560
+ "mutable": false,
561
+ "attr": "label",
562
+ "reflectToAttr": false,
563
+ "docs": "Label shown above the field.",
564
+ "docsTags": [],
565
+ "values": [
566
+ {
567
+ "type": "string"
568
+ }
569
+ ],
570
+ "optional": false,
571
+ "required": true,
572
+ "getter": false,
573
+ "setter": false
574
+ }
575
+ ],
576
+ "methods": [],
577
+ "events": [],
578
+ "listeners": [
579
+ {
580
+ "event": "_fieldId",
581
+ "capture": false,
582
+ "passive": false
583
+ },
584
+ {
585
+ "event": "scoutInputChange",
586
+ "capture": false,
587
+ "passive": false
588
+ },
589
+ {
590
+ "event": "scoutBlur",
591
+ "capture": false,
592
+ "passive": false
593
+ }
594
+ ],
595
+ "styles": [],
596
+ "slots": [],
597
+ "parts": [],
598
+ "dependents": [],
599
+ "dependencies": [],
600
+ "dependencyGraph": {}
601
+ },
602
+ {
603
+ "filePath": "src/components/input/input.tsx",
604
+ "encapsulation": "scoped",
605
+ "tag": "scout-input",
606
+ "readme": "# scout-input\n",
607
+ "docs": "",
608
+ "docsTags": [],
609
+ "usage": {},
610
+ "props": [
611
+ {
612
+ "name": "disabled",
613
+ "type": "boolean",
614
+ "complexType": {
615
+ "original": "boolean",
616
+ "resolved": "boolean",
617
+ "references": {}
618
+ },
619
+ "mutable": false,
620
+ "attr": "disabled",
621
+ "reflectToAttr": false,
622
+ "docs": "Whether the input is disabled. Disabled inputs are not editable, excluded\nfrom tab order and are not validated.",
623
+ "docsTags": [
624
+ {
625
+ "name": "default",
626
+ "text": "false"
627
+ }
628
+ ],
629
+ "default": "false",
630
+ "values": [
631
+ {
632
+ "type": "boolean"
633
+ }
634
+ ],
635
+ "optional": false,
636
+ "required": false,
637
+ "getter": false,
638
+ "setter": false
639
+ },
640
+ {
641
+ "name": "inputmode",
642
+ "type": "\"decimal\" | \"email\" | \"none\" | \"numeric\" | \"search\" | \"tel\" | \"text\" | \"url\" | string & {}",
643
+ "complexType": {
644
+ "original": "InputMode",
645
+ "resolved": "\"decimal\" | \"email\" | \"none\" | \"numeric\" | \"search\" | \"tel\" | \"text\" | \"url\" | string & {}",
646
+ "references": {
647
+ "InputMode": {
648
+ "location": "local",
649
+ "path": "/home/runner/work/j26-web-components/j26-web-components/packages/ui-webc/src/components/input/input.tsx",
650
+ "id": "src/components/input/input.tsx::InputMode"
651
+ }
652
+ }
653
+ },
654
+ "mutable": false,
655
+ "attr": "inputmode",
656
+ "reflectToAttr": false,
657
+ "docs": "Input mode hints for devices with dynamic keyboards.",
658
+ "docsTags": [],
659
+ "values": [
660
+ {
661
+ "value": "decimal",
662
+ "type": "string"
663
+ },
664
+ {
665
+ "value": "email",
666
+ "type": "string"
667
+ },
668
+ {
669
+ "value": "none",
670
+ "type": "string"
671
+ },
672
+ {
673
+ "value": "numeric",
674
+ "type": "string"
675
+ },
676
+ {
677
+ "value": "search",
678
+ "type": "string"
679
+ },
680
+ {
681
+ "value": "tel",
682
+ "type": "string"
683
+ },
684
+ {
685
+ "value": "text",
686
+ "type": "string"
687
+ },
688
+ {
689
+ "value": "url",
690
+ "type": "string"
691
+ },
692
+ {
693
+ "type": "string & {}"
694
+ }
695
+ ],
696
+ "optional": true,
697
+ "required": false,
698
+ "getter": false,
699
+ "setter": false
700
+ },
701
+ {
702
+ "name": "pattern",
703
+ "type": "string",
704
+ "complexType": {
705
+ "original": "string",
706
+ "resolved": "string",
707
+ "references": {}
708
+ },
709
+ "mutable": false,
710
+ "attr": "pattern",
711
+ "reflectToAttr": false,
712
+ "docs": "Regex pattern for input validation.",
713
+ "docsTags": [],
714
+ "values": [
715
+ {
716
+ "type": "string"
717
+ }
718
+ ],
719
+ "optional": true,
720
+ "required": false,
721
+ "getter": false,
722
+ "setter": false
723
+ },
724
+ {
725
+ "name": "type",
726
+ "type": "\"email\" | \"number\" | \"password\" | \"tel\" | \"text\" | \"url\" | string & {}",
727
+ "complexType": {
728
+ "original": "InputType",
729
+ "resolved": "\"email\" | \"number\" | \"password\" | \"tel\" | \"text\" | \"url\" | string & {}",
730
+ "references": {
731
+ "InputType": {
732
+ "location": "local",
733
+ "path": "/home/runner/work/j26-web-components/j26-web-components/packages/ui-webc/src/components/input/input.tsx",
734
+ "id": "src/components/input/input.tsx::InputType"
735
+ }
736
+ }
737
+ },
738
+ "mutable": false,
739
+ "attr": "type",
740
+ "reflectToAttr": false,
741
+ "docs": "Type of input element. If you need a number input, read the accessibility\nsection of this MDN article first:\nhttps://developer.mozilla.org/en-US/docs/Web/HTML/Reference/Elements/input/number#accessibility",
742
+ "docsTags": [
743
+ {
744
+ "name": "default",
745
+ "text": "\"text\""
746
+ }
747
+ ],
748
+ "default": "\"text\"",
749
+ "values": [
750
+ {
751
+ "value": "email",
752
+ "type": "string"
753
+ },
754
+ {
755
+ "value": "number",
756
+ "type": "string"
757
+ },
758
+ {
759
+ "value": "password",
760
+ "type": "string"
761
+ },
762
+ {
763
+ "value": "tel",
764
+ "type": "string"
765
+ },
766
+ {
767
+ "value": "text",
768
+ "type": "string"
769
+ },
770
+ {
771
+ "value": "url",
772
+ "type": "string"
773
+ },
774
+ {
775
+ "type": "string & {}"
776
+ }
777
+ ],
778
+ "optional": false,
779
+ "required": false,
780
+ "getter": false,
781
+ "setter": false
782
+ },
783
+ {
784
+ "name": "validate",
785
+ "type": "(value: string) => string",
786
+ "complexType": {
787
+ "original": "(value: string) => string | null",
788
+ "resolved": "(value: string) => string",
789
+ "references": {}
790
+ },
791
+ "mutable": false,
792
+ "reflectToAttr": false,
793
+ "docs": "Custom validation function run on top of the implicit validation performed\nby the browser. Return a string with the validation message to mark the\ninput as invalid, or null to mark it as valid.",
794
+ "docsTags": [],
795
+ "values": [
796
+ {
797
+ "type": "(value: string) => string"
798
+ }
799
+ ],
800
+ "optional": true,
801
+ "required": false,
802
+ "getter": false,
803
+ "setter": false
804
+ },
805
+ {
806
+ "name": "value",
807
+ "type": "string",
808
+ "complexType": {
809
+ "original": "string",
810
+ "resolved": "string",
811
+ "references": {}
812
+ },
813
+ "mutable": false,
814
+ "attr": "value",
815
+ "reflectToAttr": false,
816
+ "docs": "Value of the input element, in case you want to control it yourself.",
817
+ "docsTags": [
818
+ {
819
+ "name": "default",
820
+ "text": "\"\""
821
+ }
822
+ ],
823
+ "default": "\"\"",
824
+ "values": [
825
+ {
826
+ "type": "string"
827
+ }
828
+ ],
829
+ "optional": false,
830
+ "required": false,
831
+ "getter": false,
832
+ "setter": false
833
+ }
834
+ ],
835
+ "methods": [],
836
+ "events": [
837
+ {
838
+ "event": "_fieldId",
839
+ "detail": "string",
840
+ "bubbles": true,
841
+ "complexType": {
842
+ "original": "string",
843
+ "resolved": "string",
844
+ "references": {}
845
+ },
846
+ "cancelable": true,
847
+ "composed": true,
848
+ "docs": "Internal event used for form field association.",
849
+ "docsTags": []
850
+ },
851
+ {
852
+ "event": "scoutBlur",
853
+ "detail": "void",
854
+ "bubbles": true,
855
+ "complexType": {
856
+ "original": "void",
857
+ "resolved": "void",
858
+ "references": {}
859
+ },
860
+ "cancelable": true,
861
+ "composed": true,
862
+ "docs": "",
863
+ "docsTags": []
864
+ },
865
+ {
866
+ "event": "scoutInputChange",
867
+ "detail": "{ value: string; element: HTMLInputElement; }",
868
+ "bubbles": true,
869
+ "complexType": {
870
+ "original": "{\n value: string;\n element: HTMLInputElement;\n }",
871
+ "resolved": "{ value: string; element: HTMLInputElement; }",
872
+ "references": {
873
+ "HTMLInputElement": {
874
+ "location": "global",
875
+ "id": "global::HTMLInputElement"
876
+ }
877
+ }
878
+ },
879
+ "cancelable": true,
880
+ "composed": true,
881
+ "docs": "",
882
+ "docsTags": []
883
+ }
884
+ ],
885
+ "listeners": [],
886
+ "styles": [],
887
+ "slots": [],
888
+ "parts": [],
889
+ "dependents": [],
890
+ "dependencies": [],
891
+ "dependencyGraph": {}
892
+ },
893
+ {
894
+ "filePath": "src/components/switch/switch.tsx",
895
+ "encapsulation": "shadow",
896
+ "tag": "scout-switch",
897
+ "readme": "# scout-switch\n",
898
+ "docs": "",
899
+ "docsTags": [],
900
+ "usage": {},
901
+ "props": [
902
+ {
903
+ "name": "ariaLabelledby",
904
+ "type": "string",
905
+ "complexType": {
906
+ "original": "string",
907
+ "resolved": "string",
908
+ "references": {}
909
+ },
910
+ "mutable": false,
911
+ "attr": "aria-labelledby",
912
+ "reflectToAttr": false,
913
+ "docs": "Use this prop if you need to connect your switch with another element describing its use, other than the property label.",
914
+ "docsTags": [],
915
+ "values": [
916
+ {
917
+ "type": "string"
918
+ }
919
+ ],
920
+ "optional": false,
921
+ "required": false,
922
+ "getter": false,
923
+ "setter": false
924
+ },
925
+ {
926
+ "name": "disabled",
927
+ "type": "boolean",
928
+ "complexType": {
929
+ "original": "boolean",
930
+ "resolved": "boolean",
931
+ "references": {}
932
+ },
933
+ "mutable": false,
934
+ "attr": "disabled",
935
+ "reflectToAttr": false,
936
+ "docs": "",
937
+ "docsTags": [
938
+ {
939
+ "name": "default",
940
+ "text": "false"
941
+ }
942
+ ],
943
+ "default": "false",
944
+ "values": [
945
+ {
946
+ "type": "boolean"
947
+ }
948
+ ],
949
+ "optional": false,
950
+ "required": false,
951
+ "getter": false,
952
+ "setter": false
953
+ },
954
+ {
955
+ "name": "label",
956
+ "type": "string",
957
+ "complexType": {
958
+ "original": "string",
959
+ "resolved": "string",
960
+ "references": {}
961
+ },
962
+ "mutable": false,
963
+ "attr": "label",
964
+ "reflectToAttr": false,
965
+ "docs": "",
966
+ "docsTags": [],
967
+ "values": [
968
+ {
969
+ "type": "string"
970
+ }
971
+ ],
972
+ "optional": false,
973
+ "required": false,
974
+ "getter": false,
975
+ "setter": false
976
+ },
977
+ {
978
+ "name": "toggled",
979
+ "type": "boolean",
980
+ "complexType": {
981
+ "original": "boolean",
982
+ "resolved": "boolean",
983
+ "references": {}
984
+ },
985
+ "mutable": false,
986
+ "attr": "toggled",
987
+ "reflectToAttr": false,
988
+ "docs": "Indicates whether the switch is toggled on or off.",
989
+ "docsTags": [
990
+ {
991
+ "name": "default",
992
+ "text": "false"
993
+ }
994
+ ],
995
+ "default": "false",
996
+ "values": [
997
+ {
998
+ "type": "boolean"
999
+ }
1000
+ ],
1001
+ "optional": false,
1002
+ "required": false,
1003
+ "getter": false,
1004
+ "setter": false
1005
+ }
1006
+ ],
1007
+ "methods": [],
1008
+ "events": [
1009
+ {
1010
+ "event": "_fieldId",
1011
+ "detail": "string",
1012
+ "bubbles": true,
1013
+ "complexType": {
1014
+ "original": "string",
1015
+ "resolved": "string",
1016
+ "references": {}
1017
+ },
1018
+ "cancelable": true,
1019
+ "composed": true,
1020
+ "docs": "Internal event used for form field association.",
1021
+ "docsTags": []
1022
+ },
1023
+ {
1024
+ "event": "scoutSwitchToggled",
1025
+ "detail": "{ toggled: boolean; element: HTMLInputElement; }",
1026
+ "bubbles": true,
1027
+ "complexType": {
1028
+ "original": "{\n toggled: boolean;\n element: HTMLInputElement;\n }",
1029
+ "resolved": "{ toggled: boolean; element: HTMLInputElement; }",
1030
+ "references": {
1031
+ "HTMLInputElement": {
1032
+ "location": "global",
1033
+ "id": "global::HTMLInputElement"
1034
+ }
1035
+ }
1036
+ },
1037
+ "cancelable": true,
1038
+ "composed": true,
1039
+ "docs": "",
1040
+ "docsTags": []
1041
+ }
1042
+ ],
1043
+ "listeners": [],
1044
+ "styles": [],
1045
+ "slots": [],
1046
+ "parts": [],
1047
+ "dependents": [],
1048
+ "dependencies": [],
1049
+ "dependencyGraph": {}
1050
+ }
1051
+ ],
1052
+ "typeLibrary": {
1053
+ "src/components/bottom-bar-item/bottom-bar-item.tsx::ItemType": {
1054
+ "declaration": "export type ItemType = \"button\" | \"link\";",
1055
+ "docstring": "",
1056
+ "path": "src/components/bottom-bar-item/bottom-bar-item.tsx"
1057
+ },
1058
+ "src/components/button/button.tsx::Variant": {
1059
+ "declaration": "export type Variant = \"primary\" | \"outlined\" | \"text\" | \"caution\" | \"danger\";",
1060
+ "docstring": "",
1061
+ "path": "src/components/button/button.tsx"
1062
+ },
1063
+ "src/components/input/input.tsx::InputType": {
1064
+ "declaration": "export type InputType =\n | \"text\"\n | \"password\"\n | \"email\"\n | \"number\"\n | \"tel\"\n | \"url\"\n // Hack to suggest above value but still allow any other string value\n | (string & {});",
1065
+ "docstring": "",
1066
+ "path": "src/components/input/input.tsx"
1067
+ },
1068
+ "src/components/input/input.tsx::InputMode": {
1069
+ "declaration": "export type InputMode =\n | \"none\"\n | \"text\"\n | \"decimal\"\n | \"numeric\"\n | \"tel\"\n | \"search\"\n | \"email\"\n | \"url\"\n // Hack to suggest above value but still allow any other string value\n | (string & {});",
1070
+ "docstring": "",
1071
+ "path": "src/components/input/input.tsx"
354
1072
  }
355
1073
  }
356
1074
  }