@m3e/switch 1.0.0-rc.1 → 1.0.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +1 -2
  2. package/dist/custom-elements.json +3213 -152
  3. package/dist/html-custom-data.json +1 -1
  4. package/dist/index.js +1 -1
  5. package/dist/index.js.map +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/package.json +4 -4
  8. package/cem.config.mjs +0 -16
  9. package/demo/index.html +0 -65
  10. package/dist/src/SwitchElement.d.ts +0 -147
  11. package/dist/src/SwitchElement.d.ts.map +0 -1
  12. package/dist/src/SwitchIcons.d.ts +0 -3
  13. package/dist/src/SwitchIcons.d.ts.map +0 -1
  14. package/dist/src/index.d.ts +0 -3
  15. package/dist/src/index.d.ts.map +0 -1
  16. package/dist/src/styles/SwitchHandleStyle.d.ts +0 -6
  17. package/dist/src/styles/SwitchHandleStyle.d.ts.map +0 -1
  18. package/dist/src/styles/SwitchIconStyle.d.ts +0 -6
  19. package/dist/src/styles/SwitchIconStyle.d.ts.map +0 -1
  20. package/dist/src/styles/SwitchStateLayerStyle.d.ts +0 -6
  21. package/dist/src/styles/SwitchStateLayerStyle.d.ts.map +0 -1
  22. package/dist/src/styles/SwitchStyle.d.ts +0 -6
  23. package/dist/src/styles/SwitchStyle.d.ts.map +0 -1
  24. package/dist/src/styles/SwitchToken.d.ts +0 -76
  25. package/dist/src/styles/SwitchToken.d.ts.map +0 -1
  26. package/dist/src/styles/SwitchTrackStyle.d.ts +0 -6
  27. package/dist/src/styles/SwitchTrackStyle.d.ts.map +0 -1
  28. package/dist/src/styles/index.d.ts +0 -6
  29. package/dist/src/styles/index.d.ts.map +0 -1
  30. package/eslint.config.mjs +0 -13
  31. package/rollup.config.js +0 -32
  32. package/src/SwitchElement.ts +0 -268
  33. package/src/SwitchIcons.ts +0 -2
  34. package/src/index.ts +0 -2
  35. package/src/styles/SwitchHandleStyle.ts +0 -140
  36. package/src/styles/SwitchIconStyle.ts +0 -89
  37. package/src/styles/SwitchStateLayerStyle.ts +0 -43
  38. package/src/styles/SwitchStyle.ts +0 -30
  39. package/src/styles/SwitchToken.ts +0 -145
  40. package/src/styles/SwitchTrackStyle.ts +0 -104
  41. package/src/styles/index.ts +0 -5
  42. package/tsconfig.json +0 -9
@@ -31,7 +31,7 @@
31
31
  "declarations": [
32
32
  {
33
33
  "kind": "class",
34
- "description": "",
34
+ "description": "An on/off control that can be toggled by clicking.",
35
35
  "name": "M3eSwitchElement",
36
36
  "cssProperties": [
37
37
  {
@@ -416,218 +416,3279 @@
416
416
  }
417
417
  }
418
418
  ]
419
+ },
420
+ {
421
+ "kind": "field",
422
+ "name": "formAssociated",
423
+ "static": true,
424
+ "readonly": true,
425
+ "default": "true",
426
+ "description": "Indicates that this custom element participates in form submission, validation, and form state restoration.",
427
+ "type": {
428
+ "text": "boolean"
429
+ },
430
+ "inheritedFrom": {
431
+ "name": "AttachInternals",
432
+ "module": "../core/src/shared/mixins/AttachInternals.ts"
433
+ }
434
+ },
435
+ {
436
+ "kind": "field",
437
+ "name": "[_eventHandler]",
438
+ "privacy": "private",
439
+ "readonly": true,
440
+ "inheritedFrom": {
441
+ "name": "Touched",
442
+ "module": "../core/src/shared/mixins/Touched.ts"
443
+ }
444
+ },
445
+ {
446
+ "kind": "field",
447
+ "name": "labels",
448
+ "type": {
449
+ "text": "NodeListOf<HTMLLabelElement>"
450
+ },
451
+ "readonly": true,
452
+ "description": "The label elements that the element is associated with.",
453
+ "inheritedFrom": {
454
+ "name": "FormAssociated",
455
+ "module": "../core/src/shared/mixins/FormAssociated.ts"
456
+ }
457
+ },
458
+ {
459
+ "kind": "method",
460
+ "name": "[_updateLabels]",
461
+ "privacy": "private",
462
+ "return": {
463
+ "type": {
464
+ "text": "void"
465
+ }
466
+ },
467
+ "inheritedFrom": {
468
+ "name": "Labelled",
469
+ "module": "../core/src/shared/mixins/Labelled.ts"
470
+ }
471
+ },
472
+ {
473
+ "kind": "field",
474
+ "name": "dirty",
475
+ "type": {
476
+ "text": "boolean"
477
+ },
478
+ "description": "Whether the user has modified the value of the element.",
479
+ "readonly": true,
480
+ "inheritedFrom": {
481
+ "name": "Dirty",
482
+ "module": "../core/src/shared/mixins/Dirty.ts"
483
+ }
484
+ },
485
+ {
486
+ "kind": "field",
487
+ "name": "pristine",
488
+ "type": {
489
+ "text": "boolean"
490
+ },
491
+ "description": "Whether the user has not modified the value of the element.",
492
+ "readonly": true,
493
+ "inheritedFrom": {
494
+ "name": "Dirty",
495
+ "module": "../core/src/shared/mixins/Dirty.ts"
496
+ }
497
+ },
498
+ {
499
+ "kind": "method",
500
+ "name": "markAsPristine",
501
+ "return": {
502
+ "type": {
503
+ "text": "void"
504
+ }
505
+ },
506
+ "description": "Marks the element as pristine.",
507
+ "inheritedFrom": {
508
+ "name": "Dirty",
509
+ "module": "../core/src/shared/mixins/Dirty.ts"
510
+ }
511
+ },
512
+ {
513
+ "kind": "method",
514
+ "name": "markAsDirty",
515
+ "return": {
516
+ "type": {
517
+ "text": "void"
518
+ }
519
+ },
520
+ "description": "Marks the element as dirty.",
521
+ "inheritedFrom": {
522
+ "name": "Dirty",
523
+ "module": "../core/src/shared/mixins/Dirty.ts"
524
+ }
525
+ },
526
+ {
527
+ "kind": "field",
528
+ "name": "touched",
529
+ "type": {
530
+ "text": "boolean"
531
+ },
532
+ "description": "Whether the user has interacted when the element.",
533
+ "readonly": true,
534
+ "inheritedFrom": {
535
+ "name": "Touched",
536
+ "module": "../core/src/shared/mixins/Touched.ts"
537
+ }
538
+ },
539
+ {
540
+ "kind": "field",
541
+ "name": "untouched",
542
+ "type": {
543
+ "text": "boolean"
544
+ },
545
+ "description": "Whether the user has not interacted when the element.",
546
+ "readonly": true,
547
+ "inheritedFrom": {
548
+ "name": "Touched",
549
+ "module": "../core/src/shared/mixins/Touched.ts"
550
+ }
551
+ },
552
+ {
553
+ "kind": "method",
554
+ "name": "markAsTouched",
555
+ "return": {
556
+ "type": {
557
+ "text": "void"
558
+ }
559
+ },
560
+ "description": "Marks the element as touched.",
561
+ "inheritedFrom": {
562
+ "name": "Touched",
563
+ "module": "../core/src/shared/mixins/Touched.ts"
564
+ }
565
+ },
566
+ {
567
+ "kind": "method",
568
+ "name": "markAsUntouched",
569
+ "return": {
570
+ "type": {
571
+ "text": "void"
572
+ }
573
+ },
574
+ "description": "Marks the element as untouched.",
575
+ "inheritedFrom": {
576
+ "name": "Touched",
577
+ "module": "../core/src/shared/mixins/Touched.ts"
578
+ }
579
+ },
580
+ {
581
+ "kind": "field",
582
+ "name": "[_validityMessage]",
583
+ "type": {
584
+ "text": "string | undefined"
585
+ },
586
+ "privacy": "private",
587
+ "inheritedFrom": {
588
+ "name": "ConstraintValidation",
589
+ "module": "../core/src/shared/mixins/ConstraintValidation.ts"
590
+ }
591
+ },
592
+ {
593
+ "kind": "field",
594
+ "name": "willValidate",
595
+ "type": {
596
+ "text": "boolean"
597
+ },
598
+ "description": "Whether the element is a submittable element that is a candidate for constraint validation.",
599
+ "readonly": true,
600
+ "inheritedFrom": {
601
+ "name": "ConstraintValidation",
602
+ "module": "../core/src/shared/mixins/ConstraintValidation.ts"
603
+ }
604
+ },
605
+ {
606
+ "kind": "field",
607
+ "name": "validity",
608
+ "type": {
609
+ "text": "ValidityState"
610
+ },
611
+ "description": "The validity state of the element.",
612
+ "readonly": true,
613
+ "inheritedFrom": {
614
+ "name": "ConstraintValidation",
615
+ "module": "../core/src/shared/mixins/ConstraintValidation.ts"
616
+ }
617
+ },
618
+ {
619
+ "kind": "field",
620
+ "name": "validationMessage",
621
+ "type": {
622
+ "text": "string"
623
+ },
624
+ "description": "The error message that would be displayed if the user submits the form, or an empty string if no error message.",
625
+ "readonly": true,
626
+ "inheritedFrom": {
627
+ "name": "ConstraintValidation",
628
+ "module": "../core/src/shared/mixins/ConstraintValidation.ts"
629
+ }
630
+ },
631
+ {
632
+ "kind": "method",
633
+ "name": "reportValidity",
634
+ "return": {
635
+ "type": {
636
+ "text": "boolean"
637
+ }
638
+ },
639
+ "description": "Returns `true` if the element has no validity problems; otherwise, returns `false`, fires\r\nan invalid event, and (if the event isn't canceled) reports the problem to the user.",
640
+ "inheritedFrom": {
641
+ "name": "ConstraintValidation",
642
+ "module": "../core/src/shared/mixins/ConstraintValidation.ts"
643
+ }
644
+ },
645
+ {
646
+ "kind": "method",
647
+ "name": "checkValidity",
648
+ "return": {
649
+ "type": {
650
+ "text": "boolean"
651
+ }
652
+ },
653
+ "description": "Returns `true` if the element has no validity problems; otherwise,\r\nreturns `false`, fires an invalid event.",
654
+ "inheritedFrom": {
655
+ "name": "ConstraintValidation",
656
+ "module": "../core/src/shared/mixins/ConstraintValidation.ts"
657
+ }
658
+ },
659
+ {
660
+ "kind": "method",
661
+ "name": "setCustomValidity",
662
+ "return": {
663
+ "type": {
664
+ "text": "void"
665
+ }
666
+ },
667
+ "parameters": [
668
+ {
669
+ "name": "error",
670
+ "type": {
671
+ "text": "string"
672
+ },
673
+ "description": "The message to use for validity errors."
674
+ }
675
+ ],
676
+ "description": "Sets a custom validity message for the element.",
677
+ "inheritedFrom": {
678
+ "name": "ConstraintValidation",
679
+ "module": "../core/src/shared/mixins/ConstraintValidation.ts"
680
+ }
681
+ },
682
+ {
683
+ "kind": "method",
684
+ "name": "[_updateValidity]",
685
+ "privacy": "private",
686
+ "return": {
687
+ "type": {
688
+ "text": "void"
689
+ }
690
+ },
691
+ "inheritedFrom": {
692
+ "name": "ConstraintValidation",
693
+ "module": "../core/src/shared/mixins/ConstraintValidation.ts"
694
+ }
695
+ },
696
+ {
697
+ "kind": "method",
698
+ "name": "#getNativeMessage",
699
+ "privacy": "private",
700
+ "return": {
701
+ "type": {
702
+ "text": "string"
703
+ }
704
+ },
705
+ "parameters": [
706
+ {
707
+ "name": "flags",
708
+ "type": {
709
+ "text": "ValidityStateFlags"
710
+ }
711
+ }
712
+ ],
713
+ "inheritedFrom": {
714
+ "name": "ConstraintValidation",
715
+ "module": "../core/src/shared/mixins/ConstraintValidation.ts"
716
+ }
717
+ },
718
+ {
719
+ "kind": "field",
720
+ "name": "checked",
721
+ "type": {
722
+ "text": "boolean"
723
+ },
724
+ "default": "false",
725
+ "description": "Whether the element is checked.",
726
+ "attribute": "checked",
727
+ "reflects": true,
728
+ "inheritedFrom": {
729
+ "name": "Checked",
730
+ "module": "../core/src/shared/mixins/Checked.ts"
731
+ }
732
+ },
733
+ {
734
+ "kind": "field",
735
+ "name": "[_defaultValue]",
736
+ "type": {
737
+ "text": "unknown"
738
+ },
739
+ "privacy": "private",
740
+ "inheritedFrom": {
741
+ "name": "FormAssociated",
742
+ "module": "../core/src/shared/mixins/FormAssociated.ts"
743
+ }
744
+ },
745
+ {
746
+ "kind": "field",
747
+ "name": "[_defaultIndeterminate]",
748
+ "type": {
749
+ "text": "boolean"
750
+ },
751
+ "privacy": "private",
752
+ "default": "false",
753
+ "inheritedFrom": {
754
+ "name": "FormAssociated",
755
+ "module": "../core/src/shared/mixins/FormAssociated.ts"
756
+ }
757
+ },
758
+ {
759
+ "kind": "field",
760
+ "name": "[_formDisabled]",
761
+ "type": {
762
+ "text": "boolean"
763
+ },
764
+ "privacy": "private",
765
+ "default": "false",
766
+ "inheritedFrom": {
767
+ "name": "FormAssociated",
768
+ "module": "../core/src/shared/mixins/FormAssociated.ts"
769
+ }
770
+ },
771
+ {
772
+ "kind": "field",
773
+ "name": "form",
774
+ "type": {
775
+ "text": "HTMLFormElement | null"
776
+ },
777
+ "description": "The `HTMLFormElement` associated with this element.",
778
+ "readonly": true,
779
+ "inheritedFrom": {
780
+ "name": "FormAssociated",
781
+ "module": "../core/src/shared/mixins/FormAssociated.ts"
782
+ }
783
+ },
784
+ {
785
+ "kind": "field",
786
+ "name": "name",
787
+ "description": "The name that identifies the element when submitting the associated form.",
788
+ "attribute": "name",
789
+ "inheritedFrom": {
790
+ "name": "FormAssociated",
791
+ "module": "../core/src/shared/mixins/FormAssociated.ts"
792
+ }
793
+ },
794
+ {
795
+ "kind": "field",
796
+ "name": "disabled",
797
+ "type": {
798
+ "text": "boolean"
799
+ },
800
+ "default": "false",
801
+ "description": "Whether the element is disabled.",
802
+ "attribute": "disabled",
803
+ "inheritedFrom": {
804
+ "name": "Disabled",
805
+ "module": "../core/src/shared/mixins/Disabled.ts"
806
+ }
807
+ },
808
+ {
809
+ "kind": "method",
810
+ "name": "formDisabledCallback",
811
+ "return": {
812
+ "type": {
813
+ "text": "void"
814
+ }
815
+ },
816
+ "parameters": [
817
+ {
818
+ "name": "disabled",
819
+ "type": {
820
+ "text": "boolean"
821
+ }
822
+ }
823
+ ],
824
+ "description": "Called when the element is disabled or enabled via its form association.",
825
+ "inheritedFrom": {
826
+ "name": "FormAssociated",
827
+ "module": "../core/src/shared/mixins/FormAssociated.ts"
828
+ }
829
+ },
830
+ {
831
+ "kind": "method",
832
+ "name": "formResetCallback",
833
+ "return": {
834
+ "type": {
835
+ "text": "void"
836
+ }
837
+ },
838
+ "description": "Called when the associated form is reset.",
839
+ "inheritedFrom": {
840
+ "name": "FormAssociated",
841
+ "module": "../core/src/shared/mixins/FormAssociated.ts"
842
+ }
843
+ },
844
+ {
845
+ "kind": "field",
846
+ "name": "#keyUpHandler",
847
+ "privacy": "private",
848
+ "readonly": true,
849
+ "inheritedFrom": {
850
+ "name": "KeyboardClick",
851
+ "module": "../core/src/shared/mixins/KeyboardClick.ts"
852
+ }
853
+ },
854
+ {
855
+ "kind": "method",
856
+ "name": "#handleKeyUp",
857
+ "privacy": "private",
858
+ "return": {
859
+ "type": {
860
+ "text": "void"
861
+ }
862
+ },
863
+ "parameters": [
864
+ {
865
+ "name": "e",
866
+ "type": {
867
+ "text": "KeyboardEvent"
868
+ }
869
+ }
870
+ ],
871
+ "inheritedFrom": {
872
+ "name": "KeyboardClick",
873
+ "module": "../core/src/shared/mixins/KeyboardClick.ts"
874
+ }
875
+ },
876
+ {
877
+ "kind": "field",
878
+ "name": "[_tabindex]",
879
+ "type": {
880
+ "text": "number"
881
+ },
882
+ "privacy": "private",
883
+ "default": "0",
884
+ "inheritedFrom": {
885
+ "name": "Focusable",
886
+ "module": "../core/src/shared/mixins/Focusable.ts"
887
+ }
888
+ },
889
+ {
890
+ "kind": "field",
891
+ "name": "[_internals]",
892
+ "type": {
893
+ "text": "ElementInternals | undefined"
894
+ },
895
+ "privacy": "private",
896
+ "inheritedFrom": {
897
+ "name": "AttachInternals",
898
+ "module": "../core/src/shared/mixins/AttachInternals.ts"
899
+ }
900
+ }
901
+ ],
902
+ "events": [
903
+ {
904
+ "name": "input",
905
+ "type": {
906
+ "text": "Event"
907
+ },
908
+ "description": "Emitted when the checked state changes."
909
+ },
910
+ {
911
+ "name": "change",
912
+ "type": {
913
+ "text": "Event"
914
+ },
915
+ "description": "Emitted when the checked state changes."
916
+ },
917
+ {
918
+ "name": "click",
919
+ "type": {
920
+ "text": "MouseEvent"
921
+ },
922
+ "description": "Emitted when the element is clicked.",
923
+ "inheritedFrom": {
924
+ "name": "KeyboardClick",
925
+ "module": "../core/src/shared/mixins/KeyboardClick.ts"
926
+ }
927
+ }
928
+ ],
929
+ "attributes": [
930
+ {
931
+ "name": "checked",
932
+ "type": {
933
+ "text": "boolean"
934
+ },
935
+ "default": "false",
936
+ "description": "Whether the element is checked.",
937
+ "fieldName": "checked",
938
+ "inheritedFrom": {
939
+ "name": "Checked",
940
+ "module": "../core/src/shared/mixins/Checked.ts"
941
+ }
942
+ },
943
+ {
944
+ "name": "disabled",
945
+ "type": {
946
+ "text": "boolean"
947
+ },
948
+ "default": "false",
949
+ "description": "Whether the element is disabled.",
950
+ "fieldName": "disabled",
951
+ "inheritedFrom": {
952
+ "name": "Disabled",
953
+ "module": "../core/src/shared/mixins/Disabled.ts"
954
+ }
955
+ },
956
+ {
957
+ "description": "The icons to present.",
958
+ "name": "icons",
959
+ "type": {
960
+ "text": "SwitchIcons"
961
+ },
962
+ "default": "\"none\"",
963
+ "fieldName": "icons"
964
+ },
965
+ {
966
+ "name": "name",
967
+ "description": "The name that identifies the element when submitting the associated form.",
968
+ "fieldName": "name",
969
+ "inheritedFrom": {
970
+ "name": "FormAssociated",
971
+ "module": "../core/src/shared/mixins/FormAssociated.ts"
972
+ }
973
+ },
974
+ {
975
+ "description": "A string representing the value of the switch.",
976
+ "name": "value",
977
+ "type": {
978
+ "text": "string"
979
+ },
980
+ "default": "\"on\"",
981
+ "fieldName": "value"
982
+ }
983
+ ],
984
+ "mixins": [
985
+ {
986
+ "name": "Labelled",
987
+ "package": "@m3e/core"
988
+ },
989
+ {
990
+ "name": "Dirty",
991
+ "package": "@m3e/core"
992
+ },
993
+ {
994
+ "name": "Touched",
995
+ "package": "@m3e/core"
996
+ },
997
+ {
998
+ "name": "ConstraintValidation",
999
+ "package": "@m3e/core"
1000
+ },
1001
+ {
1002
+ "name": "Checked",
1003
+ "package": "@m3e/core"
1004
+ },
1005
+ {
1006
+ "name": "FormAssociated",
1007
+ "package": "@m3e/core"
1008
+ },
1009
+ {
1010
+ "name": "KeyboardClick",
1011
+ "package": "@m3e/core"
1012
+ },
1013
+ {
1014
+ "name": "Focusable",
1015
+ "package": "@m3e/core"
1016
+ },
1017
+ {
1018
+ "name": "Disabled",
1019
+ "package": "@m3e/core"
1020
+ },
1021
+ {
1022
+ "name": "AttachInternals",
1023
+ "package": "@m3e/core"
1024
+ },
1025
+ {
1026
+ "name": "Role",
1027
+ "package": "@m3e/core"
1028
+ }
1029
+ ],
1030
+ "superclass": {
1031
+ "name": "LitElement",
1032
+ "package": "lit"
1033
+ },
1034
+ "tagName": "m3e-switch",
1035
+ "customElement": true
1036
+ }
1037
+ ],
1038
+ "exports": [
1039
+ {
1040
+ "kind": "js",
1041
+ "name": "M3eSwitchElement",
1042
+ "declaration": {
1043
+ "name": "M3eSwitchElement",
1044
+ "module": "src/SwitchElement.ts"
1045
+ }
1046
+ },
1047
+ {
1048
+ "kind": "custom-element-definition",
1049
+ "name": "m3e-switch",
1050
+ "declaration": {
1051
+ "name": "M3eSwitchElement",
1052
+ "module": "src/SwitchElement.ts"
1053
+ }
1054
+ }
1055
+ ]
1056
+ },
1057
+ {
1058
+ "kind": "javascript-module",
1059
+ "path": "src/SwitchIcons.ts",
1060
+ "declarations": [],
1061
+ "exports": []
1062
+ },
1063
+ {
1064
+ "kind": "javascript-module",
1065
+ "path": "src/styles/index.ts",
1066
+ "declarations": [],
1067
+ "exports": [
1068
+ {
1069
+ "kind": "js",
1070
+ "name": "*",
1071
+ "declaration": {
1072
+ "name": "*",
1073
+ "package": "\"./SwitchHandleStyle\""
1074
+ }
1075
+ },
1076
+ {
1077
+ "kind": "js",
1078
+ "name": "*",
1079
+ "declaration": {
1080
+ "name": "*",
1081
+ "package": "\"./SwitchIconStyle\""
1082
+ }
1083
+ },
1084
+ {
1085
+ "kind": "js",
1086
+ "name": "*",
1087
+ "declaration": {
1088
+ "name": "*",
1089
+ "package": "\"./SwitchStateLayerStyle\""
1090
+ }
1091
+ },
1092
+ {
1093
+ "kind": "js",
1094
+ "name": "*",
1095
+ "declaration": {
1096
+ "name": "*",
1097
+ "package": "\"./SwitchStyle\""
1098
+ }
1099
+ },
1100
+ {
1101
+ "kind": "js",
1102
+ "name": "*",
1103
+ "declaration": {
1104
+ "name": "*",
1105
+ "package": "\"./SwitchTrackStyle\""
1106
+ }
1107
+ }
1108
+ ]
1109
+ },
1110
+ {
1111
+ "kind": "javascript-module",
1112
+ "path": "src/styles/SwitchHandleStyle.ts",
1113
+ "declarations": [],
1114
+ "exports": []
1115
+ },
1116
+ {
1117
+ "kind": "javascript-module",
1118
+ "path": "src/styles/SwitchIconStyle.ts",
1119
+ "declarations": [],
1120
+ "exports": []
1121
+ },
1122
+ {
1123
+ "kind": "javascript-module",
1124
+ "path": "src/styles/SwitchStateLayerStyle.ts",
1125
+ "declarations": [],
1126
+ "exports": []
1127
+ },
1128
+ {
1129
+ "kind": "javascript-module",
1130
+ "path": "src/styles/SwitchStyle.ts",
1131
+ "declarations": [],
1132
+ "exports": []
1133
+ },
1134
+ {
1135
+ "kind": "javascript-module",
1136
+ "path": "src/styles/SwitchToken.ts",
1137
+ "declarations": [],
1138
+ "exports": []
1139
+ },
1140
+ {
1141
+ "kind": "javascript-module",
1142
+ "path": "src/styles/SwitchTrackStyle.ts",
1143
+ "declarations": [],
1144
+ "exports": []
1145
+ },
1146
+ {
1147
+ "kind": "javascript-module",
1148
+ "path": "../core/src/shared/mixins/AttachInternals.ts",
1149
+ "declarations": [
1150
+ {
1151
+ "kind": "variable",
1152
+ "name": "internals",
1153
+ "description": "A symbol through which to access the `ElementInternals` attached to an element."
1154
+ },
1155
+ {
1156
+ "kind": "function",
1157
+ "name": "isAttachInternalsMixin",
1158
+ "return": {
1159
+ "type": {
1160
+ "text": ""
1161
+ }
1162
+ },
1163
+ "parameters": [
1164
+ {
1165
+ "name": "value",
1166
+ "type": {
1167
+ "text": "unknown"
1168
+ },
1169
+ "description": "The value to test."
1170
+ }
1171
+ ],
1172
+ "description": "Determines whether a value is an `AttachInternalsMixin`."
1173
+ },
1174
+ {
1175
+ "kind": "mixin",
1176
+ "description": "Mixin to augment an element with behavior that attaches to `ElementInternals`.",
1177
+ "name": "AttachInternals",
1178
+ "members": [
1179
+ {
1180
+ "kind": "field",
1181
+ "name": "formAssociated",
1182
+ "static": true,
1183
+ "readonly": true,
1184
+ "default": "formAssociated",
1185
+ "description": "Indicates that this custom element participates in form submission, validation, and form state restoration."
1186
+ },
1187
+ {
1188
+ "kind": "field",
1189
+ "name": "[_internals]",
1190
+ "type": {
1191
+ "text": "ElementInternals | undefined"
1192
+ },
1193
+ "privacy": "private"
1194
+ }
1195
+ ],
1196
+ "parameters": [
1197
+ {
1198
+ "name": "base",
1199
+ "type": {
1200
+ "text": "T"
1201
+ },
1202
+ "description": "The base class."
1203
+ },
1204
+ {
1205
+ "name": "formAssociated",
1206
+ "optional": true,
1207
+ "type": {
1208
+ "text": "boolean | undefined"
1209
+ },
1210
+ "description": "Whether the element is \"Form Associated\"."
1211
+ }
1212
+ ]
1213
+ }
1214
+ ],
1215
+ "exports": [
1216
+ {
1217
+ "kind": "js",
1218
+ "name": "internals",
1219
+ "declaration": {
1220
+ "name": "internals",
1221
+ "module": "../core/src/shared/mixins/AttachInternals.ts"
1222
+ }
1223
+ },
1224
+ {
1225
+ "kind": "js",
1226
+ "name": "isAttachInternalsMixin",
1227
+ "declaration": {
1228
+ "name": "isAttachInternalsMixin",
1229
+ "module": "../core/src/shared/mixins/AttachInternals.ts"
1230
+ }
1231
+ },
1232
+ {
1233
+ "kind": "js",
1234
+ "name": "AttachInternals",
1235
+ "declaration": {
1236
+ "name": "AttachInternals",
1237
+ "module": "../core/src/shared/mixins/AttachInternals.ts"
1238
+ }
1239
+ }
1240
+ ]
1241
+ },
1242
+ {
1243
+ "kind": "javascript-module",
1244
+ "path": "../core/src/shared/mixins/Checked.ts",
1245
+ "declarations": [
1246
+ {
1247
+ "kind": "function",
1248
+ "name": "isCheckedMixin",
1249
+ "return": {
1250
+ "type": {
1251
+ "text": ""
1252
+ }
1253
+ },
1254
+ "parameters": [
1255
+ {
1256
+ "name": "value",
1257
+ "type": {
1258
+ "text": "unknown"
1259
+ },
1260
+ "description": "The value to test."
1261
+ }
1262
+ ],
1263
+ "description": "Determines whether a value is a `CheckedMixin`."
1264
+ },
1265
+ {
1266
+ "kind": "mixin",
1267
+ "description": "Mixin to augment an element with behavior that supports a checked state.",
1268
+ "name": "Checked",
1269
+ "members": [
1270
+ {
1271
+ "kind": "field",
1272
+ "name": "checked",
1273
+ "type": {
1274
+ "text": "boolean"
1275
+ },
1276
+ "default": "false",
1277
+ "description": "Whether the element is checked.",
1278
+ "attribute": "checked",
1279
+ "reflects": true
1280
+ }
1281
+ ],
1282
+ "attributes": [
1283
+ {
1284
+ "name": "checked",
1285
+ "type": {
1286
+ "text": "boolean"
1287
+ },
1288
+ "default": "false",
1289
+ "description": "Whether the element is checked.",
1290
+ "fieldName": "checked"
1291
+ }
1292
+ ],
1293
+ "parameters": [
1294
+ {
1295
+ "name": "base",
1296
+ "type": {
1297
+ "text": "T"
1298
+ },
1299
+ "description": "The base class."
1300
+ }
1301
+ ]
1302
+ }
1303
+ ],
1304
+ "exports": [
1305
+ {
1306
+ "kind": "js",
1307
+ "name": "isCheckedMixin",
1308
+ "declaration": {
1309
+ "name": "isCheckedMixin",
1310
+ "module": "../core/src/shared/mixins/Checked.ts"
1311
+ }
1312
+ },
1313
+ {
1314
+ "kind": "js",
1315
+ "name": "Checked",
1316
+ "declaration": {
1317
+ "name": "Checked",
1318
+ "module": "../core/src/shared/mixins/Checked.ts"
1319
+ }
1320
+ }
1321
+ ]
1322
+ },
1323
+ {
1324
+ "kind": "javascript-module",
1325
+ "path": "../core/src/shared/mixins/CheckedIndeterminate.ts",
1326
+ "declarations": [
1327
+ {
1328
+ "kind": "function",
1329
+ "name": "isCheckedIndeterminateMixin",
1330
+ "return": {
1331
+ "type": {
1332
+ "text": ""
1333
+ }
1334
+ },
1335
+ "parameters": [
1336
+ {
1337
+ "name": "value",
1338
+ "type": {
1339
+ "text": "unknown"
1340
+ },
1341
+ "description": "The value to test."
1342
+ }
1343
+ ],
1344
+ "description": "Determines whether a value is a `CheckedIndeterminateMixin`."
1345
+ },
1346
+ {
1347
+ "kind": "mixin",
1348
+ "description": "Mixin to augment an element with behavior that supports a mixed checked state.",
1349
+ "name": "CheckedIndeterminate",
1350
+ "members": [
1351
+ {
1352
+ "kind": "field",
1353
+ "name": "indeterminate",
1354
+ "type": {
1355
+ "text": "boolean"
1356
+ },
1357
+ "default": "false",
1358
+ "description": "Whether the element's checked state is indeterminate.",
1359
+ "attribute": "indeterminate",
1360
+ "reflects": true
1361
+ },
1362
+ {
1363
+ "kind": "field",
1364
+ "name": "checked",
1365
+ "type": {
1366
+ "text": "boolean"
1367
+ },
1368
+ "default": "false",
1369
+ "description": "Whether the element is checked.",
1370
+ "attribute": "checked",
1371
+ "reflects": true,
1372
+ "inheritedFrom": {
1373
+ "name": "Checked",
1374
+ "module": "../core/src/shared/mixins/Checked.ts"
1375
+ }
1376
+ }
1377
+ ],
1378
+ "attributes": [
1379
+ {
1380
+ "name": "indeterminate",
1381
+ "type": {
1382
+ "text": "boolean"
1383
+ },
1384
+ "default": "false",
1385
+ "description": "Whether the element's checked state is indeterminate.",
1386
+ "fieldName": "indeterminate"
1387
+ },
1388
+ {
1389
+ "name": "checked",
1390
+ "type": {
1391
+ "text": "boolean"
1392
+ },
1393
+ "default": "false",
1394
+ "description": "Whether the element is checked.",
1395
+ "fieldName": "checked",
1396
+ "inheritedFrom": {
1397
+ "name": "Checked",
1398
+ "module": "../core/src/shared/mixins/Checked.ts"
1399
+ }
1400
+ }
1401
+ ],
1402
+ "mixins": [
1403
+ {
1404
+ "name": "Checked",
1405
+ "module": "/core/src/shared/mixins/Checked"
1406
+ }
1407
+ ],
1408
+ "parameters": [
1409
+ {
1410
+ "name": "base",
1411
+ "type": {
1412
+ "text": "T"
1413
+ },
1414
+ "description": "The base class."
1415
+ }
1416
+ ]
1417
+ }
1418
+ ],
1419
+ "exports": [
1420
+ {
1421
+ "kind": "js",
1422
+ "name": "isCheckedIndeterminateMixin",
1423
+ "declaration": {
1424
+ "name": "isCheckedIndeterminateMixin",
1425
+ "module": "../core/src/shared/mixins/CheckedIndeterminate.ts"
1426
+ }
1427
+ },
1428
+ {
1429
+ "kind": "js",
1430
+ "name": "CheckedIndeterminate",
1431
+ "declaration": {
1432
+ "name": "CheckedIndeterminate",
1433
+ "module": "../core/src/shared/mixins/CheckedIndeterminate.ts"
1434
+ }
1435
+ }
1436
+ ]
1437
+ },
1438
+ {
1439
+ "kind": "javascript-module",
1440
+ "path": "../core/src/shared/mixins/CheckedOrSelected.ts",
1441
+ "declarations": [
1442
+ {
1443
+ "kind": "function",
1444
+ "name": "isCheckedOrSelectedMixin",
1445
+ "return": {
1446
+ "type": {
1447
+ "text": ""
1448
+ }
1449
+ },
1450
+ "parameters": [
1451
+ {
1452
+ "name": "value",
1453
+ "type": {
1454
+ "text": "unknown"
1455
+ },
1456
+ "description": "The value to test."
1457
+ }
1458
+ ],
1459
+ "description": "Determines whether a value is a `CheckedOrSelectedMixin`."
1460
+ },
1461
+ {
1462
+ "kind": "function",
1463
+ "name": "isCheckedOrSelected",
1464
+ "return": {
1465
+ "type": {
1466
+ "text": "boolean"
1467
+ }
1468
+ },
1469
+ "parameters": [
1470
+ {
1471
+ "name": "element",
1472
+ "type": {
1473
+ "text": "CheckedOrSelectedMixin"
1474
+ },
1475
+ "description": "The element to test."
1476
+ }
1477
+ ],
1478
+ "description": "Determines whether the state of an element is checked or selected."
1479
+ },
1480
+ {
1481
+ "kind": "function",
1482
+ "name": "checkOrSelect",
1483
+ "return": {
1484
+ "type": {
1485
+ "text": "void"
1486
+ }
1487
+ },
1488
+ "parameters": [
1489
+ {
1490
+ "name": "element",
1491
+ "type": {
1492
+ "text": "CheckedOrSelectedMixin"
1493
+ },
1494
+ "description": "The element for which to set the checked or selected state."
1495
+ },
1496
+ {
1497
+ "name": "checkedOrSelected",
1498
+ "type": {
1499
+ "text": "boolean"
1500
+ },
1501
+ "description": "The checked or selected state."
1502
+ }
1503
+ ],
1504
+ "description": "Sets the checked or selected state of an element."
1505
+ }
1506
+ ],
1507
+ "exports": [
1508
+ {
1509
+ "kind": "js",
1510
+ "name": "isCheckedOrSelectedMixin",
1511
+ "declaration": {
1512
+ "name": "isCheckedOrSelectedMixin",
1513
+ "module": "../core/src/shared/mixins/CheckedOrSelected.ts"
1514
+ }
1515
+ },
1516
+ {
1517
+ "kind": "js",
1518
+ "name": "isCheckedOrSelected",
1519
+ "declaration": {
1520
+ "name": "isCheckedOrSelected",
1521
+ "module": "../core/src/shared/mixins/CheckedOrSelected.ts"
1522
+ }
1523
+ },
1524
+ {
1525
+ "kind": "js",
1526
+ "name": "checkOrSelect",
1527
+ "declaration": {
1528
+ "name": "checkOrSelect",
1529
+ "module": "../core/src/shared/mixins/CheckedOrSelected.ts"
1530
+ }
1531
+ }
1532
+ ]
1533
+ },
1534
+ {
1535
+ "kind": "javascript-module",
1536
+ "path": "../core/src/shared/mixins/ConstraintValidation.ts",
1537
+ "declarations": [
1538
+ {
1539
+ "kind": "variable",
1540
+ "name": "validate",
1541
+ "description": "A symbol through which a \"Form Associated\" custom element validates its current state."
1542
+ },
1543
+ {
1544
+ "kind": "function",
1545
+ "name": "isConstraintValidationMixin",
1546
+ "return": {
1547
+ "type": {
1548
+ "text": ""
1549
+ }
1550
+ },
1551
+ "parameters": [
1552
+ {
1553
+ "name": "value",
1554
+ "type": {
1555
+ "text": "unknown"
1556
+ },
1557
+ "description": "The value to test."
1558
+ }
1559
+ ],
1560
+ "description": "Determines whether a value is a `ConstraintValidationMixin`."
1561
+ },
1562
+ {
1563
+ "kind": "mixin",
1564
+ "description": "Mixin to augment an element with \"Form Associated\" behavior that supports constraint validation.",
1565
+ "name": "ConstraintValidation",
1566
+ "members": [
1567
+ {
1568
+ "kind": "field",
1569
+ "name": "[_validityMessage]",
1570
+ "type": {
1571
+ "text": "string | undefined"
1572
+ },
1573
+ "privacy": "private"
1574
+ },
1575
+ {
1576
+ "kind": "field",
1577
+ "name": "willValidate",
1578
+ "type": {
1579
+ "text": "boolean"
1580
+ },
1581
+ "description": "Whether the element is a submittable element that is a candidate for constraint validation.",
1582
+ "readonly": true
1583
+ },
1584
+ {
1585
+ "kind": "field",
1586
+ "name": "validity",
1587
+ "type": {
1588
+ "text": "ValidityState"
1589
+ },
1590
+ "description": "The validity state of the element.",
1591
+ "readonly": true
1592
+ },
1593
+ {
1594
+ "kind": "field",
1595
+ "name": "validationMessage",
1596
+ "type": {
1597
+ "text": "string"
1598
+ },
1599
+ "description": "The error message that would be displayed if the user submits the form, or an empty string if no error message.",
1600
+ "readonly": true
1601
+ },
1602
+ {
1603
+ "kind": "method",
1604
+ "name": "reportValidity",
1605
+ "return": {
1606
+ "type": {
1607
+ "text": "boolean"
1608
+ }
1609
+ },
1610
+ "description": "Returns `true` if the element has no validity problems; otherwise, returns `false`, fires\r\nan invalid event, and (if the event isn't canceled) reports the problem to the user."
1611
+ },
1612
+ {
1613
+ "kind": "method",
1614
+ "name": "checkValidity",
1615
+ "return": {
1616
+ "type": {
1617
+ "text": "boolean"
1618
+ }
1619
+ },
1620
+ "description": "Returns `true` if the element has no validity problems; otherwise,\r\nreturns `false`, fires an invalid event."
1621
+ },
1622
+ {
1623
+ "kind": "method",
1624
+ "name": "setCustomValidity",
1625
+ "return": {
1626
+ "type": {
1627
+ "text": "void"
1628
+ }
1629
+ },
1630
+ "parameters": [
1631
+ {
1632
+ "name": "error",
1633
+ "type": {
1634
+ "text": "string"
1635
+ },
1636
+ "description": "The message to use for validity errors."
1637
+ }
1638
+ ],
1639
+ "description": "Sets a custom validity message for the element."
1640
+ },
1641
+ {
1642
+ "kind": "method",
1643
+ "name": "[_updateValidity]",
1644
+ "privacy": "private",
1645
+ "return": {
1646
+ "type": {
1647
+ "text": "void"
1648
+ }
1649
+ }
1650
+ },
1651
+ {
1652
+ "kind": "method",
1653
+ "name": "#getNativeMessage",
1654
+ "privacy": "private",
1655
+ "return": {
1656
+ "type": {
1657
+ "text": "string"
1658
+ }
1659
+ },
1660
+ "parameters": [
1661
+ {
1662
+ "name": "flags",
1663
+ "type": {
1664
+ "text": "ValidityStateFlags"
1665
+ }
1666
+ }
1667
+ ]
1668
+ }
1669
+ ],
1670
+ "parameters": [
1671
+ {
1672
+ "name": "base",
1673
+ "type": {
1674
+ "text": "T"
1675
+ },
1676
+ "description": "The base class."
1677
+ }
1678
+ ]
1679
+ }
1680
+ ],
1681
+ "exports": [
1682
+ {
1683
+ "kind": "js",
1684
+ "name": "validate",
1685
+ "declaration": {
1686
+ "name": "validate",
1687
+ "module": "../core/src/shared/mixins/ConstraintValidation.ts"
1688
+ }
1689
+ },
1690
+ {
1691
+ "kind": "js",
1692
+ "name": "isConstraintValidationMixin",
1693
+ "declaration": {
1694
+ "name": "isConstraintValidationMixin",
1695
+ "module": "../core/src/shared/mixins/ConstraintValidation.ts"
1696
+ }
1697
+ },
1698
+ {
1699
+ "kind": "js",
1700
+ "name": "ConstraintValidation",
1701
+ "declaration": {
1702
+ "name": "ConstraintValidation",
1703
+ "module": "../core/src/shared/mixins/ConstraintValidation.ts"
1704
+ }
1705
+ }
1706
+ ]
1707
+ },
1708
+ {
1709
+ "kind": "javascript-module",
1710
+ "path": "../core/src/shared/mixins/Constructor.ts",
1711
+ "declarations": [],
1712
+ "exports": []
1713
+ },
1714
+ {
1715
+ "kind": "javascript-module",
1716
+ "path": "../core/src/shared/mixins/Dirty.ts",
1717
+ "declarations": [
1718
+ {
1719
+ "kind": "function",
1720
+ "name": "isDirtyMixin",
1721
+ "return": {
1722
+ "type": {
1723
+ "text": ""
1724
+ }
1725
+ },
1726
+ "parameters": [
1727
+ {
1728
+ "name": "value",
1729
+ "type": {
1730
+ "text": "unknown"
1731
+ },
1732
+ "description": "The value to test."
1733
+ }
1734
+ ],
1735
+ "description": "Determines whether a value is a `DirtyMixin`."
1736
+ },
1737
+ {
1738
+ "kind": "mixin",
1739
+ "description": "Mixin to augment an element with functionality used to mark it as dirty.",
1740
+ "name": "Dirty",
1741
+ "members": [
1742
+ {
1743
+ "kind": "field",
1744
+ "name": "[_eventHandler]",
1745
+ "privacy": "private"
1746
+ },
1747
+ {
1748
+ "kind": "field",
1749
+ "name": "dirty",
1750
+ "type": {
1751
+ "text": "boolean"
1752
+ },
1753
+ "description": "Whether the user has modified the value of the element.",
1754
+ "readonly": true
1755
+ },
1756
+ {
1757
+ "kind": "field",
1758
+ "name": "pristine",
1759
+ "type": {
1760
+ "text": "boolean"
1761
+ },
1762
+ "description": "Whether the user has not modified the value of the element.",
1763
+ "readonly": true
1764
+ },
1765
+ {
1766
+ "kind": "method",
1767
+ "name": "markAsPristine",
1768
+ "return": {
1769
+ "type": {
1770
+ "text": "void"
1771
+ }
1772
+ },
1773
+ "description": "Marks the element as pristine."
1774
+ },
1775
+ {
1776
+ "kind": "method",
1777
+ "name": "markAsDirty",
1778
+ "return": {
1779
+ "type": {
1780
+ "text": "void"
1781
+ }
1782
+ },
1783
+ "description": "Marks the element as dirty."
1784
+ }
1785
+ ],
1786
+ "parameters": [
1787
+ {
1788
+ "name": "base",
1789
+ "type": {
1790
+ "text": "T"
1791
+ },
1792
+ "description": "The base class."
1793
+ }
1794
+ ]
1795
+ }
1796
+ ],
1797
+ "exports": [
1798
+ {
1799
+ "kind": "js",
1800
+ "name": "isDirtyMixin",
1801
+ "declaration": {
1802
+ "name": "isDirtyMixin",
1803
+ "module": "../core/src/shared/mixins/Dirty.ts"
1804
+ }
1805
+ },
1806
+ {
1807
+ "kind": "js",
1808
+ "name": "Dirty",
1809
+ "declaration": {
1810
+ "name": "Dirty",
1811
+ "module": "../core/src/shared/mixins/Dirty.ts"
1812
+ }
1813
+ }
1814
+ ]
1815
+ },
1816
+ {
1817
+ "kind": "javascript-module",
1818
+ "path": "../core/src/shared/mixins/Disabled.ts",
1819
+ "declarations": [
1820
+ {
1821
+ "kind": "function",
1822
+ "name": "isDisabledMixin",
1823
+ "return": {
1824
+ "type": {
1825
+ "text": "value is DisabledMixin"
1826
+ }
1827
+ },
1828
+ "parameters": [
1829
+ {
1830
+ "name": "value",
1831
+ "type": {
1832
+ "text": "unknown"
1833
+ },
1834
+ "description": "The value to test."
1835
+ }
1836
+ ],
1837
+ "description": "Determines whether a value is a `DisabledMixin`."
1838
+ },
1839
+ {
1840
+ "kind": "mixin",
1841
+ "description": "Mixin to augment an element with behavior that supports a disabled state.",
1842
+ "name": "Disabled",
1843
+ "members": [
1844
+ {
1845
+ "kind": "field",
1846
+ "name": "disabled",
1847
+ "type": {
1848
+ "text": "boolean"
1849
+ },
1850
+ "default": "false",
1851
+ "description": "Whether the element is disabled.",
1852
+ "attribute": "disabled"
1853
+ }
1854
+ ],
1855
+ "attributes": [
1856
+ {
1857
+ "name": "disabled",
1858
+ "type": {
1859
+ "text": "boolean"
1860
+ },
1861
+ "default": "false",
1862
+ "description": "Whether the element is disabled.",
1863
+ "fieldName": "disabled"
1864
+ }
1865
+ ],
1866
+ "parameters": [
1867
+ {
1868
+ "name": "base",
1869
+ "type": {
1870
+ "text": "T"
1871
+ },
1872
+ "description": "The base class."
1873
+ },
1874
+ {
1875
+ "name": "reflect",
1876
+ "default": "true",
1877
+ "type": {
1878
+ "text": "boolean"
1879
+ },
1880
+ "description": "Whether the disabled property is reflected as an attribute.",
1881
+ "optional": true
1882
+ }
1883
+ ]
1884
+ }
1885
+ ],
1886
+ "exports": [
1887
+ {
1888
+ "kind": "js",
1889
+ "name": "isDisabledMixin",
1890
+ "declaration": {
1891
+ "name": "isDisabledMixin",
1892
+ "module": "../core/src/shared/mixins/Disabled.ts"
1893
+ }
1894
+ },
1895
+ {
1896
+ "kind": "js",
1897
+ "name": "Disabled",
1898
+ "declaration": {
1899
+ "name": "Disabled",
1900
+ "module": "../core/src/shared/mixins/Disabled.ts"
1901
+ }
1902
+ }
1903
+ ]
1904
+ },
1905
+ {
1906
+ "kind": "javascript-module",
1907
+ "path": "../core/src/shared/mixins/DisabledInteractive.ts",
1908
+ "declarations": [
1909
+ {
1910
+ "kind": "function",
1911
+ "name": "isDisabledInteractiveMixin",
1912
+ "return": {
1913
+ "type": {
1914
+ "text": "value is DisabledInteractiveMixin"
1915
+ }
1916
+ },
1917
+ "parameters": [
1918
+ {
1919
+ "name": "value",
1920
+ "type": {
1921
+ "text": "unknown"
1922
+ },
1923
+ "description": "The value to test."
1924
+ }
1925
+ ],
1926
+ "description": "Determines whether a value is a `DisabledInteractiveMixin`."
1927
+ },
1928
+ {
1929
+ "kind": "mixin",
1930
+ "description": "Mixin to augment an element with behavior that supports an interactive disabled state.",
1931
+ "name": "DisabledInteractive",
1932
+ "members": [
1933
+ {
1934
+ "kind": "field",
1935
+ "name": "[_suppressedEventHandler]",
1936
+ "privacy": "private",
1937
+ "readonly": true
1938
+ },
1939
+ {
1940
+ "kind": "field",
1941
+ "name": "disabledInteractive",
1942
+ "type": {
1943
+ "text": "boolean"
1944
+ },
1945
+ "default": "false",
1946
+ "description": "Whether the element is disabled and interactive.",
1947
+ "attribute": "disabled-interactive",
1948
+ "reflects": true
1949
+ }
1950
+ ],
1951
+ "attributes": [
1952
+ {
1953
+ "name": "disabled-interactive",
1954
+ "type": {
1955
+ "text": "boolean"
1956
+ },
1957
+ "default": "false",
1958
+ "description": "Whether the element is disabled and interactive.",
1959
+ "fieldName": "disabledInteractive"
1960
+ }
1961
+ ],
1962
+ "parameters": [
1963
+ {
1964
+ "name": "base",
1965
+ "type": {
1966
+ "text": "T"
1967
+ },
1968
+ "description": "The base class."
1969
+ }
1970
+ ]
1971
+ }
1972
+ ],
1973
+ "exports": [
1974
+ {
1975
+ "kind": "js",
1976
+ "name": "isDisabledInteractiveMixin",
1977
+ "declaration": {
1978
+ "name": "isDisabledInteractiveMixin",
1979
+ "module": "../core/src/shared/mixins/DisabledInteractive.ts"
1980
+ }
1981
+ },
1982
+ {
1983
+ "kind": "js",
1984
+ "name": "DisabledInteractive",
1985
+ "declaration": {
1986
+ "name": "DisabledInteractive",
1987
+ "module": "../core/src/shared/mixins/DisabledInteractive.ts"
1988
+ }
1989
+ }
1990
+ ]
1991
+ },
1992
+ {
1993
+ "kind": "javascript-module",
1994
+ "path": "../core/src/shared/mixins/EventAttribute.ts",
1995
+ "declarations": [
1996
+ {
1997
+ "kind": "mixin",
1998
+ "description": "Mixin that adds support for custom event attributes.",
1999
+ "name": "EventAttribute",
2000
+ "members": [
2001
+ {
2002
+ "kind": "method",
2003
+ "name": "dispatchEvent",
2004
+ "return": {
2005
+ "type": {
2006
+ "text": "boolean"
2007
+ }
2008
+ },
2009
+ "parameters": [
2010
+ {
2011
+ "name": "event",
2012
+ "type": {
2013
+ "text": "Event"
2014
+ }
2015
+ }
2016
+ ]
2017
+ }
2018
+ ],
2019
+ "parameters": [
2020
+ {
2021
+ "name": "base",
2022
+ "type": {
2023
+ "text": "T"
2024
+ },
2025
+ "description": "The base class from which to inherit."
2026
+ },
2027
+ {
2028
+ "name": "types",
2029
+ "type": {
2030
+ "text": "string[]"
2031
+ },
2032
+ "description": "The types of event attributes."
2033
+ }
2034
+ ]
2035
+ }
2036
+ ],
2037
+ "exports": [
2038
+ {
2039
+ "kind": "js",
2040
+ "name": "EventAttribute",
2041
+ "declaration": {
2042
+ "name": "EventAttribute",
2043
+ "module": "../core/src/shared/mixins/EventAttribute.ts"
2044
+ }
2045
+ }
2046
+ ]
2047
+ },
2048
+ {
2049
+ "kind": "javascript-module",
2050
+ "path": "../core/src/shared/mixins/Focusable.ts",
2051
+ "declarations": [
2052
+ {
2053
+ "kind": "mixin",
2054
+ "description": "Mixin to augment an element with behavior that supports a focused state.",
2055
+ "name": "Focusable",
2056
+ "members": [
2057
+ {
2058
+ "kind": "field",
2059
+ "name": "[_tabindex]",
2060
+ "type": {
2061
+ "text": "number"
2062
+ },
2063
+ "privacy": "private",
2064
+ "default": "0"
2065
+ }
2066
+ ],
2067
+ "parameters": [
2068
+ {
2069
+ "name": "base",
2070
+ "type": {
2071
+ "text": "T"
2072
+ },
2073
+ "description": "The base class."
2074
+ }
2075
+ ]
2076
+ }
2077
+ ],
2078
+ "exports": [
2079
+ {
2080
+ "kind": "js",
2081
+ "name": "Focusable",
2082
+ "declaration": {
2083
+ "name": "Focusable",
2084
+ "module": "../core/src/shared/mixins/Focusable.ts"
2085
+ }
2086
+ }
2087
+ ]
2088
+ },
2089
+ {
2090
+ "kind": "javascript-module",
2091
+ "path": "../core/src/shared/mixins/FormAssociated.ts",
2092
+ "declarations": [
2093
+ {
2094
+ "kind": "variable",
2095
+ "name": "formValue",
2096
+ "description": "A symbol through which a \"Form Associated\" custom element provides a value for a form."
2097
+ },
2098
+ {
2099
+ "kind": "variable",
2100
+ "name": "defaultValue",
2101
+ "description": "A symbol through which a \"Form Associated\" custom element provides a default value for resetting a form."
2102
+ },
2103
+ {
2104
+ "kind": "function",
2105
+ "name": "isFormAssociatedMixin",
2106
+ "return": {
2107
+ "type": {
2108
+ "text": ""
2109
+ }
2110
+ },
2111
+ "parameters": [
2112
+ {
2113
+ "name": "value",
2114
+ "type": {
2115
+ "text": "unknown"
2116
+ },
2117
+ "description": "The value to test."
2118
+ }
2119
+ ],
2120
+ "description": "Determines whether a value is a `FormAssociatedMixin`."
2121
+ },
2122
+ {
2123
+ "kind": "mixin",
2124
+ "description": "Mixin to augment an element with \"Form Associated\" behavior.",
2125
+ "name": "FormAssociated",
2126
+ "members": [
2127
+ {
2128
+ "kind": "field",
2129
+ "name": "formAssociated",
2130
+ "type": {
2131
+ "text": "boolean"
2132
+ },
2133
+ "static": true,
2134
+ "readonly": true,
2135
+ "default": "true",
2136
+ "description": "Indicates that this custom element participates in form submission, validation, and form state restoration."
2137
+ },
2138
+ {
2139
+ "kind": "field",
2140
+ "name": "[_defaultValue]",
2141
+ "type": {
2142
+ "text": "unknown"
2143
+ },
2144
+ "privacy": "private"
2145
+ },
2146
+ {
2147
+ "kind": "field",
2148
+ "name": "[_defaultIndeterminate]",
2149
+ "type": {
2150
+ "text": "boolean"
2151
+ },
2152
+ "privacy": "private",
2153
+ "default": "false"
2154
+ },
2155
+ {
2156
+ "kind": "field",
2157
+ "name": "[_formDisabled]",
2158
+ "type": {
2159
+ "text": "boolean"
2160
+ },
2161
+ "privacy": "private",
2162
+ "default": "false"
2163
+ },
2164
+ {
2165
+ "kind": "field",
2166
+ "name": "form",
2167
+ "type": {
2168
+ "text": "HTMLFormElement | null"
2169
+ },
2170
+ "description": "The `HTMLFormElement` associated with this element.",
2171
+ "readonly": true
2172
+ },
2173
+ {
2174
+ "kind": "field",
2175
+ "name": "labels",
2176
+ "type": {
2177
+ "text": "NodeListOf<HTMLLabelElement>"
2178
+ },
2179
+ "readonly": true
2180
+ },
2181
+ {
2182
+ "kind": "field",
2183
+ "name": "name",
2184
+ "description": "The name that identifies the element when submitting the associated form.",
2185
+ "attribute": "name"
2186
+ },
2187
+ {
2188
+ "kind": "field",
2189
+ "name": "disabled",
2190
+ "type": {
2191
+ "text": "boolean"
2192
+ },
2193
+ "description": "Whether the element is disabled.",
2194
+ "default": "false",
2195
+ "attribute": "disabled"
2196
+ },
2197
+ {
2198
+ "kind": "method",
2199
+ "name": "formDisabledCallback",
2200
+ "return": {
2201
+ "type": {
2202
+ "text": "void"
2203
+ }
2204
+ },
2205
+ "parameters": [
2206
+ {
2207
+ "name": "disabled",
2208
+ "type": {
2209
+ "text": "boolean"
2210
+ }
2211
+ }
2212
+ ],
2213
+ "description": "Called when the element is disabled or enabled via its form association."
2214
+ },
2215
+ {
2216
+ "kind": "method",
2217
+ "name": "formResetCallback",
2218
+ "return": {
2219
+ "type": {
2220
+ "text": "void"
2221
+ }
2222
+ },
2223
+ "description": "Called when the associated form is reset."
2224
+ }
2225
+ ],
2226
+ "attributes": [
2227
+ {
2228
+ "name": "name",
2229
+ "description": "The name that identifies the element when submitting the associated form.",
2230
+ "fieldName": "name"
2231
+ },
2232
+ {
2233
+ "name": "disabled",
2234
+ "type": {
2235
+ "text": "boolean"
2236
+ },
2237
+ "description": "Whether the element is disabled.",
2238
+ "default": "false",
2239
+ "fieldName": "disabled"
2240
+ }
2241
+ ],
2242
+ "parameters": [
2243
+ {
2244
+ "name": "base",
2245
+ "type": {
2246
+ "text": "T"
2247
+ },
2248
+ "description": "The base class."
2249
+ }
2250
+ ]
2251
+ }
2252
+ ],
2253
+ "exports": [
2254
+ {
2255
+ "kind": "js",
2256
+ "name": "formValue",
2257
+ "declaration": {
2258
+ "name": "formValue",
2259
+ "module": "../core/src/shared/mixins/FormAssociated.ts"
2260
+ }
2261
+ },
2262
+ {
2263
+ "kind": "js",
2264
+ "name": "defaultValue",
2265
+ "declaration": {
2266
+ "name": "defaultValue",
2267
+ "module": "../core/src/shared/mixins/FormAssociated.ts"
2268
+ }
2269
+ },
2270
+ {
2271
+ "kind": "js",
2272
+ "name": "isFormAssociatedMixin",
2273
+ "declaration": {
2274
+ "name": "isFormAssociatedMixin",
2275
+ "module": "../core/src/shared/mixins/FormAssociated.ts"
2276
+ }
2277
+ },
2278
+ {
2279
+ "kind": "js",
2280
+ "name": "FormAssociated",
2281
+ "declaration": {
2282
+ "name": "FormAssociated",
2283
+ "module": "../core/src/shared/mixins/FormAssociated.ts"
2284
+ }
2285
+ }
2286
+ ]
2287
+ },
2288
+ {
2289
+ "kind": "javascript-module",
2290
+ "path": "../core/src/shared/mixins/FormSubmitter.ts",
2291
+ "declarations": [
2292
+ {
2293
+ "kind": "function",
2294
+ "name": "isFormSubmitterMixin",
2295
+ "return": {
2296
+ "type": {
2297
+ "text": "value is FormSubmitterMixin"
2298
+ }
2299
+ },
2300
+ "parameters": [
2301
+ {
2302
+ "name": "value",
2303
+ "type": {
2304
+ "text": "unknown"
2305
+ },
2306
+ "description": "The value to test."
2307
+ }
2308
+ ],
2309
+ "description": "Determines whether a value is a `FormSubmitterMixin`."
2310
+ },
2311
+ {
2312
+ "kind": "mixin",
2313
+ "description": "Mixin to augment an element with behavior used to submit a form.",
2314
+ "name": "FormSubmitter",
2315
+ "members": [
2316
+ {
2317
+ "kind": "field",
2318
+ "name": "name",
2319
+ "description": "The name of the element, submitted as a pair with the element's `value`\r\nas part of form data, when the element is used to submit a form.",
2320
+ "attribute": "name"
2321
+ },
2322
+ {
2323
+ "kind": "field",
2324
+ "name": "value",
2325
+ "description": "The value associated with the element's name when it's submitted with form data.",
2326
+ "attribute": "value"
2327
+ },
2328
+ {
2329
+ "kind": "field",
2330
+ "name": "type",
2331
+ "type": {
2332
+ "text": "FormSubmitterType"
2333
+ },
2334
+ "default": "\"button\"",
2335
+ "description": "The type of the element.",
2336
+ "attribute": "type"
2337
+ },
2338
+ {
2339
+ "kind": "field",
2340
+ "name": "[_clickHandler]",
2341
+ "privacy": "private"
2342
+ }
2343
+ ],
2344
+ "attributes": [
2345
+ {
2346
+ "name": "name",
2347
+ "description": "The name of the element, submitted as a pair with the element's `value`\r\nas part of form data, when the element is used to submit a form.",
2348
+ "fieldName": "name"
2349
+ },
2350
+ {
2351
+ "name": "value",
2352
+ "description": "The value associated with the element's name when it's submitted with form data.",
2353
+ "fieldName": "value"
2354
+ },
2355
+ {
2356
+ "name": "type",
2357
+ "type": {
2358
+ "text": "FormSubmitterType"
2359
+ },
2360
+ "default": "\"button\"",
2361
+ "description": "The type of the element.",
2362
+ "fieldName": "type"
2363
+ }
2364
+ ],
2365
+ "parameters": [
2366
+ {
2367
+ "name": "base",
2368
+ "type": {
2369
+ "text": "T"
2370
+ },
2371
+ "description": "The base class."
2372
+ }
2373
+ ]
2374
+ }
2375
+ ],
2376
+ "exports": [
2377
+ {
2378
+ "kind": "js",
2379
+ "name": "isFormSubmitterMixin",
2380
+ "declaration": {
2381
+ "name": "isFormSubmitterMixin",
2382
+ "module": "../core/src/shared/mixins/FormSubmitter.ts"
2383
+ }
2384
+ },
2385
+ {
2386
+ "kind": "js",
2387
+ "name": "FormSubmitter",
2388
+ "declaration": {
2389
+ "name": "FormSubmitter",
2390
+ "module": "../core/src/shared/mixins/FormSubmitter.ts"
2391
+ }
2392
+ }
2393
+ ]
2394
+ },
2395
+ {
2396
+ "kind": "javascript-module",
2397
+ "path": "../core/src/shared/mixins/hasKeys.ts",
2398
+ "declarations": [
2399
+ {
2400
+ "kind": "function",
2401
+ "name": "hasKeys",
2402
+ "return": {
2403
+ "type": {
2404
+ "text": "boolean"
2405
+ }
2406
+ },
2407
+ "parameters": [
2408
+ {
2409
+ "name": "value",
2410
+ "type": {
2411
+ "text": "unknown"
2412
+ },
2413
+ "description": "The value to test."
2414
+ },
2415
+ {
2416
+ "name": "keys",
2417
+ "type": {
2418
+ "text": "Array<keyof T>"
2419
+ }
2420
+ },
2421
+ {
2422
+ "description": ": Array<keyof T>} keys The keys of `T` to test.",
2423
+ "name": "",
2424
+ "type": {
2425
+ "text": "...keys"
2426
+ }
2427
+ }
2428
+ ],
2429
+ "description": "Determines whether an object has keys for a given type."
2430
+ }
2431
+ ],
2432
+ "exports": [
2433
+ {
2434
+ "kind": "js",
2435
+ "name": "hasKeys",
2436
+ "declaration": {
2437
+ "name": "hasKeys",
2438
+ "module": "../core/src/shared/mixins/hasKeys.ts"
2439
+ }
2440
+ }
2441
+ ]
2442
+ },
2443
+ {
2444
+ "kind": "javascript-module",
2445
+ "path": "../core/src/shared/mixins/HtmlFor.ts",
2446
+ "declarations": [
2447
+ {
2448
+ "kind": "function",
2449
+ "name": "isHtmlForMixin",
2450
+ "return": {
2451
+ "type": {
2452
+ "text": "value is HtmlForMixin"
2453
+ }
2454
+ },
2455
+ "parameters": [
2456
+ {
2457
+ "name": "value",
2458
+ "type": {
2459
+ "text": "unknown"
2460
+ },
2461
+ "description": "The value to test."
2462
+ }
2463
+ ],
2464
+ "description": "Determines whether a value is a `HtmlForMixin`."
2465
+ },
2466
+ {
2467
+ "kind": "mixin",
2468
+ "description": "Mixin that creates an attached element associated with an interactive control.",
2469
+ "name": "HtmlFor",
2470
+ "members": [
2471
+ {
2472
+ "kind": "field",
2473
+ "name": "[_control]",
2474
+ "type": {
2475
+ "text": "HTMLElement | null"
2476
+ },
2477
+ "privacy": "private",
2478
+ "default": "null"
2479
+ },
2480
+ {
2481
+ "kind": "field",
2482
+ "name": "[_firstUpdated]",
2483
+ "type": {
2484
+ "text": "boolean"
2485
+ },
2486
+ "privacy": "private",
2487
+ "default": "false"
2488
+ },
2489
+ {
2490
+ "kind": "field",
2491
+ "name": "htmlFor",
2492
+ "type": {
2493
+ "text": "string | null"
2494
+ },
2495
+ "default": "null",
2496
+ "description": "The identifier of the interactive control to which this element is attached.",
2497
+ "attribute": "for"
2498
+ },
2499
+ {
2500
+ "kind": "field",
2501
+ "name": "control",
2502
+ "description": "The interactive element to which this element is attached.",
2503
+ "readonly": true
2504
+ },
2505
+ {
2506
+ "kind": "method",
2507
+ "name": "attach",
2508
+ "return": {
2509
+ "type": {
2510
+ "text": "void"
2511
+ }
2512
+ },
2513
+ "parameters": [
2514
+ {
2515
+ "name": "control",
2516
+ "type": {
2517
+ "text": "HTMLElement"
2518
+ },
2519
+ "description": "The element that controls the attachable element."
2520
+ }
2521
+ ],
2522
+ "description": "Attaches the element to an interactive control."
2523
+ },
2524
+ {
2525
+ "kind": "method",
2526
+ "name": "detach",
2527
+ "return": {
2528
+ "type": {
2529
+ "text": "void"
2530
+ }
2531
+ },
2532
+ "description": "Detaches the element from its current interactive control."
2533
+ }
2534
+ ],
2535
+ "attributes": [
2536
+ {
2537
+ "name": "for",
2538
+ "type": {
2539
+ "text": "string | null"
2540
+ },
2541
+ "default": "null",
2542
+ "description": "The identifier of the interactive control to which this element is attached.",
2543
+ "fieldName": "htmlFor"
2544
+ }
2545
+ ],
2546
+ "parameters": [
2547
+ {
2548
+ "name": "base",
2549
+ "type": {
2550
+ "text": "T"
2551
+ },
2552
+ "description": "The base class."
2553
+ }
2554
+ ]
2555
+ }
2556
+ ],
2557
+ "exports": [
2558
+ {
2559
+ "kind": "js",
2560
+ "name": "isHtmlForMixin",
2561
+ "declaration": {
2562
+ "name": "isHtmlForMixin",
2563
+ "module": "../core/src/shared/mixins/HtmlFor.ts"
2564
+ }
2565
+ },
2566
+ {
2567
+ "kind": "js",
2568
+ "name": "HtmlFor",
2569
+ "declaration": {
2570
+ "name": "HtmlFor",
2571
+ "module": "../core/src/shared/mixins/HtmlFor.ts"
2572
+ }
2573
+ }
2574
+ ]
2575
+ },
2576
+ {
2577
+ "kind": "javascript-module",
2578
+ "path": "../core/src/shared/mixins/index.ts",
2579
+ "declarations": [],
2580
+ "exports": [
2581
+ {
2582
+ "kind": "js",
2583
+ "name": "*",
2584
+ "declaration": {
2585
+ "name": "*",
2586
+ "package": "\"./AttachInternals\""
2587
+ }
2588
+ },
2589
+ {
2590
+ "kind": "js",
2591
+ "name": "*",
2592
+ "declaration": {
2593
+ "name": "*",
2594
+ "package": "\"./Checked\""
2595
+ }
2596
+ },
2597
+ {
2598
+ "kind": "js",
2599
+ "name": "*",
2600
+ "declaration": {
2601
+ "name": "*",
2602
+ "package": "\"./CheckedIndeterminate\""
2603
+ }
2604
+ },
2605
+ {
2606
+ "kind": "js",
2607
+ "name": "*",
2608
+ "declaration": {
2609
+ "name": "*",
2610
+ "package": "\"./CheckedOrSelected\""
2611
+ }
2612
+ },
2613
+ {
2614
+ "kind": "js",
2615
+ "name": "*",
2616
+ "declaration": {
2617
+ "name": "*",
2618
+ "package": "\"./ConstraintValidation\""
2619
+ }
2620
+ },
2621
+ {
2622
+ "kind": "js",
2623
+ "name": "*",
2624
+ "declaration": {
2625
+ "name": "*",
2626
+ "package": "\"./Dirty\""
2627
+ }
2628
+ },
2629
+ {
2630
+ "kind": "js",
2631
+ "name": "*",
2632
+ "declaration": {
2633
+ "name": "*",
2634
+ "package": "\"./Disabled\""
2635
+ }
2636
+ },
2637
+ {
2638
+ "kind": "js",
2639
+ "name": "*",
2640
+ "declaration": {
2641
+ "name": "*",
2642
+ "package": "\"./DisabledInteractive\""
2643
+ }
2644
+ },
2645
+ {
2646
+ "kind": "js",
2647
+ "name": "*",
2648
+ "declaration": {
2649
+ "name": "*",
2650
+ "package": "\"./EventAttribute\""
2651
+ }
2652
+ },
2653
+ {
2654
+ "kind": "js",
2655
+ "name": "*",
2656
+ "declaration": {
2657
+ "name": "*",
2658
+ "package": "\"./Focusable\""
2659
+ }
2660
+ },
2661
+ {
2662
+ "kind": "js",
2663
+ "name": "*",
2664
+ "declaration": {
2665
+ "name": "*",
2666
+ "package": "\"./FormAssociated\""
2667
+ }
2668
+ },
2669
+ {
2670
+ "kind": "js",
2671
+ "name": "*",
2672
+ "declaration": {
2673
+ "name": "*",
2674
+ "package": "\"./FormSubmitter\""
2675
+ }
2676
+ },
2677
+ {
2678
+ "kind": "js",
2679
+ "name": "*",
2680
+ "declaration": {
2681
+ "name": "*",
2682
+ "package": "\"./hasKeys\""
2683
+ }
2684
+ },
2685
+ {
2686
+ "kind": "js",
2687
+ "name": "*",
2688
+ "declaration": {
2689
+ "name": "*",
2690
+ "package": "\"./HtmlFor\""
2691
+ }
2692
+ },
2693
+ {
2694
+ "kind": "js",
2695
+ "name": "*",
2696
+ "declaration": {
2697
+ "name": "*",
2698
+ "package": "\"./KeyboardClick\""
2699
+ }
2700
+ },
2701
+ {
2702
+ "kind": "js",
2703
+ "name": "*",
2704
+ "declaration": {
2705
+ "name": "*",
2706
+ "package": "\"./Labelled\""
2707
+ }
2708
+ },
2709
+ {
2710
+ "kind": "js",
2711
+ "name": "*",
2712
+ "declaration": {
2713
+ "name": "*",
2714
+ "package": "\"./LinkButton\""
2715
+ }
2716
+ },
2717
+ {
2718
+ "kind": "js",
2719
+ "name": "*",
2720
+ "declaration": {
2721
+ "name": "*",
2722
+ "package": "\"./ReadOnly\""
2723
+ }
2724
+ },
2725
+ {
2726
+ "kind": "js",
2727
+ "name": "*",
2728
+ "declaration": {
2729
+ "name": "*",
2730
+ "package": "\"./Required\""
2731
+ }
2732
+ },
2733
+ {
2734
+ "kind": "js",
2735
+ "name": "*",
2736
+ "declaration": {
2737
+ "name": "*",
2738
+ "package": "\"./RequiredConstraintValidation\""
2739
+ }
2740
+ },
2741
+ {
2742
+ "kind": "js",
2743
+ "name": "*",
2744
+ "declaration": {
2745
+ "name": "*",
2746
+ "package": "\"./Role\""
2747
+ }
2748
+ },
2749
+ {
2750
+ "kind": "js",
2751
+ "name": "*",
2752
+ "declaration": {
2753
+ "name": "*",
2754
+ "package": "\"./Selected\""
2755
+ }
2756
+ },
2757
+ {
2758
+ "kind": "js",
2759
+ "name": "*",
2760
+ "declaration": {
2761
+ "name": "*",
2762
+ "package": "\"./Touched\""
2763
+ }
2764
+ },
2765
+ {
2766
+ "kind": "js",
2767
+ "name": "*",
2768
+ "declaration": {
2769
+ "name": "*",
2770
+ "package": "\"./Vertical\""
2771
+ }
2772
+ }
2773
+ ]
2774
+ },
2775
+ {
2776
+ "kind": "javascript-module",
2777
+ "path": "../core/src/shared/mixins/KeyboardClick.ts",
2778
+ "declarations": [
2779
+ {
2780
+ "kind": "mixin",
2781
+ "description": "Mixin to augment an element with behavior emits a click event on keyboard events.",
2782
+ "name": "KeyboardClick",
2783
+ "members": [
2784
+ {
2785
+ "kind": "field",
2786
+ "name": "#keyUpHandler",
2787
+ "privacy": "private",
2788
+ "readonly": true
2789
+ },
2790
+ {
2791
+ "kind": "method",
2792
+ "name": "#handleKeyUp",
2793
+ "privacy": "private",
2794
+ "return": {
2795
+ "type": {
2796
+ "text": "void"
2797
+ }
2798
+ },
2799
+ "parameters": [
2800
+ {
2801
+ "name": "e",
2802
+ "type": {
2803
+ "text": "KeyboardEvent"
2804
+ }
2805
+ }
2806
+ ]
2807
+ }
2808
+ ],
2809
+ "events": [
2810
+ {
2811
+ "name": "click",
2812
+ "type": {
2813
+ "text": "MouseEvent"
2814
+ }
2815
+ }
2816
+ ],
2817
+ "parameters": [
2818
+ {
2819
+ "name": "base",
2820
+ "type": {
2821
+ "text": "T"
2822
+ },
2823
+ "description": "The base class."
2824
+ },
2825
+ {
2826
+ "name": "allowEnter",
2827
+ "default": "true",
2828
+ "type": {
2829
+ "text": "boolean"
2830
+ },
2831
+ "description": "Whether the `ENTER` key emits a click event.",
2832
+ "optional": true
2833
+ }
2834
+ ]
2835
+ }
2836
+ ],
2837
+ "exports": [
2838
+ {
2839
+ "kind": "js",
2840
+ "name": "KeyboardClick",
2841
+ "declaration": {
2842
+ "name": "KeyboardClick",
2843
+ "module": "../core/src/shared/mixins/KeyboardClick.ts"
2844
+ }
2845
+ }
2846
+ ]
2847
+ },
2848
+ {
2849
+ "kind": "javascript-module",
2850
+ "path": "../core/src/shared/mixins/Labelled.ts",
2851
+ "declarations": [
2852
+ {
2853
+ "kind": "function",
2854
+ "name": "isLabelledMixin",
2855
+ "return": {
2856
+ "type": {
2857
+ "text": ""
2858
+ }
2859
+ },
2860
+ "parameters": [
2861
+ {
2862
+ "name": "value",
2863
+ "type": {
2864
+ "text": "unknown"
2865
+ },
2866
+ "description": "The value to test."
2867
+ }
2868
+ ],
2869
+ "description": "Determines whether a value is a `LabelledMixin`."
2870
+ },
2871
+ {
2872
+ "kind": "mixin",
2873
+ "description": "Mixin to augment an element with support for labelling.",
2874
+ "name": "Labelled",
2875
+ "members": [
2876
+ {
2877
+ "kind": "field",
2878
+ "name": "formAssociated",
2879
+ "type": {
2880
+ "text": "boolean"
2881
+ },
2882
+ "static": true,
2883
+ "readonly": true,
2884
+ "default": "true",
2885
+ "description": "Indicates that this custom element participates in form submission, validation, and form state restoration."
2886
+ },
2887
+ {
2888
+ "kind": "field",
2889
+ "name": "[_eventHandler]",
2890
+ "privacy": "private",
2891
+ "readonly": true
2892
+ },
2893
+ {
2894
+ "kind": "field",
2895
+ "name": "labels",
2896
+ "type": {
2897
+ "text": "NodeListOf<HTMLLabelElement>"
2898
+ },
2899
+ "description": "The label elements that the element is associated with.",
2900
+ "readonly": true
2901
+ },
2902
+ {
2903
+ "kind": "method",
2904
+ "name": "[_updateLabels]",
2905
+ "privacy": "private",
2906
+ "return": {
2907
+ "type": {
2908
+ "text": "void"
2909
+ }
2910
+ }
2911
+ }
2912
+ ],
2913
+ "parameters": [
2914
+ {
2915
+ "name": "base",
2916
+ "type": {
2917
+ "text": "T"
2918
+ },
2919
+ "description": "The base class."
2920
+ }
2921
+ ]
2922
+ }
2923
+ ],
2924
+ "exports": [
2925
+ {
2926
+ "kind": "js",
2927
+ "name": "isLabelledMixin",
2928
+ "declaration": {
2929
+ "name": "isLabelledMixin",
2930
+ "module": "../core/src/shared/mixins/Labelled.ts"
2931
+ }
2932
+ },
2933
+ {
2934
+ "kind": "js",
2935
+ "name": "Labelled",
2936
+ "declaration": {
2937
+ "name": "Labelled",
2938
+ "module": "../core/src/shared/mixins/Labelled.ts"
2939
+ }
2940
+ }
2941
+ ]
2942
+ },
2943
+ {
2944
+ "kind": "javascript-module",
2945
+ "path": "../core/src/shared/mixins/LinkButton.ts",
2946
+ "declarations": [
2947
+ {
2948
+ "kind": "variable",
2949
+ "name": "renderPseudoLink",
2950
+ "description": "A symbol through which to access a function used to render a pseudo link."
2951
+ },
2952
+ {
2953
+ "kind": "function",
2954
+ "name": "isLinkButtonMixin",
2955
+ "return": {
2956
+ "type": {
2957
+ "text": "value is LinkButtonMixin"
2958
+ }
2959
+ },
2960
+ "parameters": [
2961
+ {
2962
+ "name": "value",
2963
+ "type": {
2964
+ "text": "unknown"
2965
+ },
2966
+ "description": "The value to test."
2967
+ }
2968
+ ],
2969
+ "description": "Determines whether a value is a `LinkButtonMixin`."
2970
+ },
2971
+ {
2972
+ "kind": "mixin",
2973
+ "description": "Mixin to augment an element with behavior that supports functioning as a link.",
2974
+ "name": "LinkButton",
2975
+ "members": [
2976
+ {
2977
+ "kind": "field",
2978
+ "name": "[_clickHandler]",
2979
+ "privacy": "private"
2980
+ },
2981
+ {
2982
+ "kind": "field",
2983
+ "name": "href",
2984
+ "type": {
2985
+ "text": "string"
2986
+ },
2987
+ "default": "\"\"",
2988
+ "description": "The URL to which the link button points.",
2989
+ "attribute": "href"
2990
+ },
2991
+ {
2992
+ "kind": "field",
2993
+ "name": "target",
2994
+ "type": {
2995
+ "text": "LinkTarget"
2996
+ },
2997
+ "default": "\"\"",
2998
+ "description": "The target of the link button.",
2999
+ "attribute": "target"
3000
+ },
3001
+ {
3002
+ "kind": "field",
3003
+ "name": "rel",
3004
+ "type": {
3005
+ "text": "string"
3006
+ },
3007
+ "default": "\"\"",
3008
+ "description": "The relationship between the `target` of the link button and the document.",
3009
+ "attribute": "rel"
3010
+ },
3011
+ {
3012
+ "kind": "field",
3013
+ "name": "download",
3014
+ "type": {
3015
+ "text": "string | null"
3016
+ },
3017
+ "description": "A value indicating whether the `target` of the link button will be downloaded,\r\noptionally specifying the new name of the file.",
3018
+ "default": "null",
3019
+ "attribute": "download"
3020
+ },
3021
+ {
3022
+ "kind": "method",
3023
+ "name": "#handleLinkPointerDown",
3024
+ "privacy": "private",
3025
+ "return": {
3026
+ "type": {
3027
+ "text": "void"
3028
+ }
3029
+ },
3030
+ "parameters": [
3031
+ {
3032
+ "name": "e",
3033
+ "type": {
3034
+ "text": "PointerEvent"
3035
+ }
3036
+ }
3037
+ ]
3038
+ },
3039
+ {
3040
+ "kind": "method",
3041
+ "name": "#handleLinkFocus",
3042
+ "privacy": "private",
3043
+ "return": {
3044
+ "type": {
3045
+ "text": "void"
3046
+ }
3047
+ },
3048
+ "parameters": [
3049
+ {
3050
+ "name": "e",
3051
+ "type": {
3052
+ "text": "Event"
3053
+ }
3054
+ }
3055
+ ]
3056
+ },
3057
+ {
3058
+ "kind": "method",
3059
+ "name": "#handleLinkBlur",
3060
+ "privacy": "private",
3061
+ "return": {
3062
+ "type": {
3063
+ "text": "void"
3064
+ }
3065
+ },
3066
+ "parameters": [
3067
+ {
3068
+ "name": "e",
3069
+ "type": {
3070
+ "text": "Event"
3071
+ }
3072
+ }
3073
+ ]
3074
+ }
3075
+ ],
3076
+ "events": [
3077
+ {
3078
+ "name": "click",
3079
+ "type": {
3080
+ "text": "MouseEvent"
3081
+ }
3082
+ }
3083
+ ],
3084
+ "attributes": [
3085
+ {
3086
+ "name": "href",
3087
+ "type": {
3088
+ "text": "string"
3089
+ },
3090
+ "default": "\"\"",
3091
+ "description": "The URL to which the link button points.",
3092
+ "fieldName": "href"
3093
+ },
3094
+ {
3095
+ "name": "target",
3096
+ "type": {
3097
+ "text": "LinkTarget"
3098
+ },
3099
+ "default": "\"\"",
3100
+ "description": "The target of the link button.",
3101
+ "fieldName": "target"
3102
+ },
3103
+ {
3104
+ "name": "rel",
3105
+ "type": {
3106
+ "text": "string"
3107
+ },
3108
+ "default": "\"\"",
3109
+ "description": "The relationship between the `target` of the link button and the document.",
3110
+ "fieldName": "rel"
3111
+ },
3112
+ {
3113
+ "name": "download",
3114
+ "type": {
3115
+ "text": "string | null"
3116
+ },
3117
+ "description": "A value indicating whether the `target` of the link button will be downloaded,\r\noptionally specifying the new name of the file.",
3118
+ "default": "null",
3119
+ "fieldName": "download"
3120
+ }
3121
+ ],
3122
+ "parameters": [
3123
+ {
3124
+ "name": "base",
3125
+ "type": {
3126
+ "text": "T"
3127
+ },
3128
+ "description": "The base class."
3129
+ }
3130
+ ]
3131
+ }
3132
+ ],
3133
+ "exports": [
3134
+ {
3135
+ "kind": "js",
3136
+ "name": "renderPseudoLink",
3137
+ "declaration": {
3138
+ "name": "renderPseudoLink",
3139
+ "module": "../core/src/shared/mixins/LinkButton.ts"
3140
+ }
3141
+ },
3142
+ {
3143
+ "kind": "js",
3144
+ "name": "isLinkButtonMixin",
3145
+ "declaration": {
3146
+ "name": "isLinkButtonMixin",
3147
+ "module": "../core/src/shared/mixins/LinkButton.ts"
3148
+ }
3149
+ },
3150
+ {
3151
+ "kind": "js",
3152
+ "name": "LinkButton",
3153
+ "declaration": {
3154
+ "name": "LinkButton",
3155
+ "module": "../core/src/shared/mixins/LinkButton.ts"
3156
+ }
3157
+ }
3158
+ ]
3159
+ },
3160
+ {
3161
+ "kind": "javascript-module",
3162
+ "path": "../core/src/shared/mixins/ReadOnly.ts",
3163
+ "declarations": [
3164
+ {
3165
+ "kind": "function",
3166
+ "name": "isReadOnlyMixin",
3167
+ "return": {
3168
+ "type": {
3169
+ "text": ""
3170
+ }
3171
+ },
3172
+ "parameters": [
3173
+ {
3174
+ "name": "value",
3175
+ "type": {
3176
+ "text": "unknown"
3177
+ },
3178
+ "description": "The value to test."
3179
+ }
3180
+ ],
3181
+ "description": "Determines whether a value is a `ReadOnlyMixin`."
3182
+ },
3183
+ {
3184
+ "kind": "mixin",
3185
+ "description": "Mixin to augment an element with behavior that supports a read-only state.",
3186
+ "name": "ReadOnly",
3187
+ "members": [
3188
+ {
3189
+ "kind": "field",
3190
+ "name": "readOnly",
3191
+ "type": {
3192
+ "text": "boolean"
3193
+ },
3194
+ "default": "false",
3195
+ "description": "A value indicating whether the element is read-only.",
3196
+ "attribute": "readonly"
3197
+ }
3198
+ ],
3199
+ "attributes": [
3200
+ {
3201
+ "name": "readonly",
3202
+ "type": {
3203
+ "text": "boolean"
3204
+ },
3205
+ "default": "false",
3206
+ "description": "A value indicating whether the element is read-only.",
3207
+ "fieldName": "readOnly"
3208
+ }
3209
+ ],
3210
+ "parameters": [
3211
+ {
3212
+ "name": "base",
3213
+ "type": {
3214
+ "text": "T"
3215
+ },
3216
+ "description": "The base class."
3217
+ },
3218
+ {
3219
+ "name": "reflect",
3220
+ "default": "true",
3221
+ "type": {
3222
+ "text": "boolean"
3223
+ },
3224
+ "description": "A value indicating whether the read-only state is reflected as an attribute. The default value is `true`."
3225
+ }
3226
+ ]
3227
+ }
3228
+ ],
3229
+ "exports": [
3230
+ {
3231
+ "kind": "js",
3232
+ "name": "isReadOnlyMixin",
3233
+ "declaration": {
3234
+ "name": "isReadOnlyMixin",
3235
+ "module": "../core/src/shared/mixins/ReadOnly.ts"
3236
+ }
3237
+ },
3238
+ {
3239
+ "kind": "js",
3240
+ "name": "ReadOnly",
3241
+ "declaration": {
3242
+ "name": "ReadOnly",
3243
+ "module": "../core/src/shared/mixins/ReadOnly.ts"
3244
+ }
3245
+ }
3246
+ ]
3247
+ },
3248
+ {
3249
+ "kind": "javascript-module",
3250
+ "path": "../core/src/shared/mixins/Required.ts",
3251
+ "declarations": [
3252
+ {
3253
+ "kind": "function",
3254
+ "name": "isRequiredMixin",
3255
+ "return": {
3256
+ "type": {
3257
+ "text": ""
3258
+ }
3259
+ },
3260
+ "parameters": [
3261
+ {
3262
+ "name": "value",
3263
+ "type": {
3264
+ "text": "unknown"
3265
+ },
3266
+ "description": "The value to test."
3267
+ }
3268
+ ],
3269
+ "description": "Determines whether a value is a `RequiredMixin`."
3270
+ },
3271
+ {
3272
+ "kind": "mixin",
3273
+ "description": "Mixin to augment an element with behavior that supports a required state.",
3274
+ "name": "Required",
3275
+ "members": [
3276
+ {
3277
+ "kind": "field",
3278
+ "name": "required",
3279
+ "type": {
3280
+ "text": "boolean"
3281
+ },
3282
+ "default": "false",
3283
+ "description": "Whether a value is required for the element.",
3284
+ "attribute": "required",
3285
+ "reflects": true
3286
+ },
3287
+ {
3288
+ "kind": "field",
3289
+ "name": "optional",
3290
+ "description": "Whether a value is not required for the element.",
3291
+ "readonly": true
3292
+ }
3293
+ ],
3294
+ "attributes": [
3295
+ {
3296
+ "name": "required",
3297
+ "type": {
3298
+ "text": "boolean"
3299
+ },
3300
+ "default": "false",
3301
+ "description": "Whether a value is required for the element.",
3302
+ "fieldName": "required"
3303
+ }
3304
+ ],
3305
+ "parameters": [
3306
+ {
3307
+ "name": "base",
3308
+ "type": {
3309
+ "text": "T"
3310
+ },
3311
+ "description": "The base class."
3312
+ }
3313
+ ]
3314
+ }
3315
+ ],
3316
+ "exports": [
3317
+ {
3318
+ "kind": "js",
3319
+ "name": "isRequiredMixin",
3320
+ "declaration": {
3321
+ "name": "isRequiredMixin",
3322
+ "module": "../core/src/shared/mixins/Required.ts"
3323
+ }
3324
+ },
3325
+ {
3326
+ "kind": "js",
3327
+ "name": "Required",
3328
+ "declaration": {
3329
+ "name": "Required",
3330
+ "module": "../core/src/shared/mixins/Required.ts"
3331
+ }
3332
+ }
3333
+ ]
3334
+ },
3335
+ {
3336
+ "kind": "javascript-module",
3337
+ "path": "../core/src/shared/mixins/RequiredConstraintValidation.ts",
3338
+ "declarations": [
3339
+ {
3340
+ "kind": "function",
3341
+ "name": "isRequiredConstraintValidationMixin",
3342
+ "return": {
3343
+ "type": {
3344
+ "text": ""
3345
+ }
3346
+ },
3347
+ "parameters": [
3348
+ {
3349
+ "name": "value",
3350
+ "type": {
3351
+ "text": "unknown"
3352
+ },
3353
+ "description": "The value to test."
3354
+ }
3355
+ ],
3356
+ "description": "Determines whether a value is a `RequiredConstraintValidationMixin`."
3357
+ },
3358
+ {
3359
+ "kind": "mixin",
3360
+ "description": "Mixin to augment an element with behavior that supports a required state.",
3361
+ "name": "RequiredConstraintValidation",
3362
+ "parameters": [
3363
+ {
3364
+ "name": "base",
3365
+ "type": {
3366
+ "text": "T"
3367
+ },
3368
+ "description": "The base class."
3369
+ }
3370
+ ]
3371
+ }
3372
+ ],
3373
+ "exports": [
3374
+ {
3375
+ "kind": "js",
3376
+ "name": "isRequiredConstraintValidationMixin",
3377
+ "declaration": {
3378
+ "name": "isRequiredConstraintValidationMixin",
3379
+ "module": "../core/src/shared/mixins/RequiredConstraintValidation.ts"
3380
+ }
3381
+ },
3382
+ {
3383
+ "kind": "js",
3384
+ "name": "RequiredConstraintValidation",
3385
+ "declaration": {
3386
+ "name": "RequiredConstraintValidation",
3387
+ "module": "../core/src/shared/mixins/RequiredConstraintValidation.ts"
3388
+ }
3389
+ }
3390
+ ]
3391
+ },
3392
+ {
3393
+ "kind": "javascript-module",
3394
+ "path": "../core/src/shared/mixins/Role.ts",
3395
+ "declarations": [
3396
+ {
3397
+ "kind": "mixin",
3398
+ "description": "Mixin to augment an element with an ARIA role.",
3399
+ "name": "Role",
3400
+ "parameters": [
3401
+ {
3402
+ "name": "base",
3403
+ "type": {
3404
+ "text": "T"
3405
+ },
3406
+ "description": "The base class."
3407
+ },
3408
+ {
3409
+ "name": "role",
3410
+ "type": {
3411
+ "text": "ARIARole"
3412
+ },
3413
+ "description": "The ARIA role."
419
3414
  }
420
- ],
421
- "events": [
3415
+ ]
3416
+ }
3417
+ ],
3418
+ "exports": [
3419
+ {
3420
+ "kind": "js",
3421
+ "name": "Role",
3422
+ "declaration": {
3423
+ "name": "Role",
3424
+ "module": "../core/src/shared/mixins/Role.ts"
3425
+ }
3426
+ }
3427
+ ]
3428
+ },
3429
+ {
3430
+ "kind": "javascript-module",
3431
+ "path": "../core/src/shared/mixins/Selected.ts",
3432
+ "declarations": [
3433
+ {
3434
+ "kind": "function",
3435
+ "name": "isSelectedMixin",
3436
+ "return": {
3437
+ "type": {
3438
+ "text": ""
3439
+ }
3440
+ },
3441
+ "parameters": [
422
3442
  {
423
- "name": "input",
3443
+ "name": "value",
424
3444
  "type": {
425
- "text": "Event"
3445
+ "text": "unknown"
426
3446
  },
427
- "description": "Emitted when the checked state changes."
428
- },
3447
+ "description": "The value to test."
3448
+ }
3449
+ ],
3450
+ "description": "Determines whether a value is a `SelectedMixin`."
3451
+ },
3452
+ {
3453
+ "kind": "mixin",
3454
+ "description": "Mixin to augment an element with behavior that supports a selected state.",
3455
+ "name": "Selected",
3456
+ "members": [
429
3457
  {
430
- "name": "change",
3458
+ "kind": "field",
3459
+ "name": "selected",
431
3460
  "type": {
432
- "text": "Event"
3461
+ "text": "boolean"
433
3462
  },
434
- "description": "Emitted when the checked state changes."
3463
+ "default": "false",
3464
+ "description": "Whether the element is selected.",
3465
+ "attribute": "selected",
3466
+ "reflects": true
435
3467
  }
436
3468
  ],
437
3469
  "attributes": [
438
3470
  {
439
- "description": "Whether the element is checked.",
440
- "name": "checked"
441
- },
442
- {
443
- "description": "Whether the element is disabled.",
444
- "name": "disabled"
445
- },
446
- {
447
- "description": "The icons to present.",
448
- "name": "icons",
3471
+ "name": "selected",
449
3472
  "type": {
450
- "text": "SwitchIcons"
3473
+ "text": "boolean"
451
3474
  },
452
- "default": "\"none\"",
453
- "fieldName": "icons"
454
- },
3475
+ "default": "false",
3476
+ "description": "Whether the element is selected.",
3477
+ "fieldName": "selected"
3478
+ }
3479
+ ],
3480
+ "parameters": [
455
3481
  {
456
- "description": "The name that identifies the element when submitting the associated form.",
457
- "name": "name"
458
- },
3482
+ "name": "base",
3483
+ "type": {
3484
+ "text": "T"
3485
+ },
3486
+ "description": "The base class."
3487
+ }
3488
+ ]
3489
+ }
3490
+ ],
3491
+ "exports": [
3492
+ {
3493
+ "kind": "js",
3494
+ "name": "isSelectedMixin",
3495
+ "declaration": {
3496
+ "name": "isSelectedMixin",
3497
+ "module": "../core/src/shared/mixins/Selected.ts"
3498
+ }
3499
+ },
3500
+ {
3501
+ "kind": "js",
3502
+ "name": "Selected",
3503
+ "declaration": {
3504
+ "name": "Selected",
3505
+ "module": "../core/src/shared/mixins/Selected.ts"
3506
+ }
3507
+ }
3508
+ ]
3509
+ },
3510
+ {
3511
+ "kind": "javascript-module",
3512
+ "path": "../core/src/shared/mixins/Touched.ts",
3513
+ "declarations": [
3514
+ {
3515
+ "kind": "function",
3516
+ "name": "isTouchedMixin",
3517
+ "return": {
3518
+ "type": {
3519
+ "text": ""
3520
+ }
3521
+ },
3522
+ "parameters": [
459
3523
  {
460
- "description": "A string representing the value of the switch.",
461
3524
  "name": "value",
462
3525
  "type": {
463
- "text": "string"
3526
+ "text": "unknown"
464
3527
  },
465
- "default": "\"on\"",
466
- "fieldName": "value"
3528
+ "description": "The value to test."
467
3529
  }
468
3530
  ],
469
- "mixins": [
470
- {
471
- "name": "Labelled",
472
- "package": "@m3e/core"
473
- },
474
- {
475
- "name": "Dirty",
476
- "package": "@m3e/core"
477
- },
478
- {
479
- "name": "Touched",
480
- "package": "@m3e/core"
481
- },
482
- {
483
- "name": "ConstraintValidation",
484
- "package": "@m3e/core"
485
- },
486
- {
487
- "name": "Checked",
488
- "package": "@m3e/core"
489
- },
490
- {
491
- "name": "FormAssociated",
492
- "package": "@m3e/core"
493
- },
3531
+ "description": "Determines whether a value is a `TouchedMixin`."
3532
+ },
3533
+ {
3534
+ "kind": "mixin",
3535
+ "description": "Mixin to augment an element with functionality used to mark it as touched.",
3536
+ "name": "Touched",
3537
+ "members": [
494
3538
  {
495
- "name": "KeyboardClick",
496
- "package": "@m3e/core"
3539
+ "kind": "field",
3540
+ "name": "[_eventHandler]",
3541
+ "privacy": "private"
497
3542
  },
498
3543
  {
499
- "name": "Focusable",
500
- "package": "@m3e/core"
3544
+ "kind": "field",
3545
+ "name": "touched",
3546
+ "type": {
3547
+ "text": "boolean"
3548
+ },
3549
+ "description": "Whether the user has interacted when the element.",
3550
+ "readonly": true
501
3551
  },
502
3552
  {
503
- "name": "Disabled",
504
- "package": "@m3e/core"
3553
+ "kind": "field",
3554
+ "name": "untouched",
3555
+ "type": {
3556
+ "text": "boolean"
3557
+ },
3558
+ "description": "Whether the user has not interacted when the element.",
3559
+ "readonly": true
505
3560
  },
506
3561
  {
507
- "name": "AttachInternals",
508
- "package": "@m3e/core"
3562
+ "kind": "method",
3563
+ "name": "markAsTouched",
3564
+ "return": {
3565
+ "type": {
3566
+ "text": "void"
3567
+ }
3568
+ },
3569
+ "description": "Marks the element as touched."
509
3570
  },
510
3571
  {
511
- "name": "Role",
512
- "package": "@m3e/core"
3572
+ "kind": "method",
3573
+ "name": "markAsUntouched",
3574
+ "return": {
3575
+ "type": {
3576
+ "text": "void"
3577
+ }
3578
+ },
3579
+ "description": "Marks the element as untouched."
513
3580
  }
514
3581
  ],
515
- "superclass": {
516
- "name": "LitElement",
517
- "package": "lit"
518
- },
519
- "tagName": "m3e-switch",
520
- "customElement": true,
521
- "summary": "An on/off control that can be toggled by clicking."
3582
+ "parameters": [
3583
+ {
3584
+ "name": "base",
3585
+ "type": {
3586
+ "text": "T"
3587
+ },
3588
+ "description": "The base class."
3589
+ }
3590
+ ]
522
3591
  }
523
3592
  ],
524
3593
  "exports": [
525
3594
  {
526
3595
  "kind": "js",
527
- "name": "M3eSwitchElement",
3596
+ "name": "isTouchedMixin",
528
3597
  "declaration": {
529
- "name": "M3eSwitchElement",
530
- "module": "src/SwitchElement.ts"
3598
+ "name": "isTouchedMixin",
3599
+ "module": "../core/src/shared/mixins/Touched.ts"
531
3600
  }
532
3601
  },
533
3602
  {
534
- "kind": "custom-element-definition",
535
- "name": "m3e-switch",
3603
+ "kind": "js",
3604
+ "name": "Touched",
536
3605
  "declaration": {
537
- "name": "M3eSwitchElement",
538
- "module": "src/SwitchElement.ts"
3606
+ "name": "Touched",
3607
+ "module": "../core/src/shared/mixins/Touched.ts"
539
3608
  }
540
3609
  }
541
3610
  ]
542
3611
  },
543
3612
  {
544
3613
  "kind": "javascript-module",
545
- "path": "src/SwitchIcons.ts",
546
- "declarations": [],
547
- "exports": []
548
- },
549
- {
550
- "kind": "javascript-module",
551
- "path": "src/styles/index.ts",
552
- "declarations": [],
553
- "exports": [
554
- {
555
- "kind": "js",
556
- "name": "*",
557
- "declaration": {
558
- "name": "*",
559
- "package": "\"./SwitchHandleStyle\""
560
- }
561
- },
3614
+ "path": "../core/src/shared/mixins/Vertical.ts",
3615
+ "declarations": [
562
3616
  {
563
- "kind": "js",
564
- "name": "*",
565
- "declaration": {
566
- "name": "*",
567
- "package": "\"./SwitchIconStyle\""
568
- }
3617
+ "kind": "function",
3618
+ "name": "isVerticalMixin",
3619
+ "return": {
3620
+ "type": {
3621
+ "text": ""
3622
+ }
3623
+ },
3624
+ "parameters": [
3625
+ {
3626
+ "name": "value",
3627
+ "type": {
3628
+ "text": "unknown"
3629
+ },
3630
+ "description": "The value to test."
3631
+ }
3632
+ ],
3633
+ "description": "Determines whether a value is a `VerticalMixin`."
569
3634
  },
570
3635
  {
571
- "kind": "js",
572
- "name": "*",
573
- "declaration": {
574
- "name": "*",
575
- "package": "\"./SwitchStateLayerStyle\""
576
- }
577
- },
3636
+ "kind": "mixin",
3637
+ "description": "Mixin to augment an element with behavior that supports a vertical orientation.",
3638
+ "name": "Vertical",
3639
+ "members": [
3640
+ {
3641
+ "kind": "field",
3642
+ "name": "vertical",
3643
+ "type": {
3644
+ "text": "boolean"
3645
+ },
3646
+ "default": "false",
3647
+ "description": "Whether the element is oriented vertically.",
3648
+ "attribute": "vertical",
3649
+ "reflects": true
3650
+ }
3651
+ ],
3652
+ "attributes": [
3653
+ {
3654
+ "name": "vertical",
3655
+ "type": {
3656
+ "text": "boolean"
3657
+ },
3658
+ "default": "false",
3659
+ "description": "Whether the element is oriented vertically.",
3660
+ "fieldName": "vertical"
3661
+ }
3662
+ ],
3663
+ "parameters": [
3664
+ {
3665
+ "name": "base",
3666
+ "type": {
3667
+ "text": "T"
3668
+ },
3669
+ "description": "The base class."
3670
+ }
3671
+ ]
3672
+ }
3673
+ ],
3674
+ "exports": [
578
3675
  {
579
3676
  "kind": "js",
580
- "name": "*",
3677
+ "name": "isVerticalMixin",
581
3678
  "declaration": {
582
- "name": "*",
583
- "package": "\"./SwitchStyle\""
3679
+ "name": "isVerticalMixin",
3680
+ "module": "../core/src/shared/mixins/Vertical.ts"
584
3681
  }
585
3682
  },
586
3683
  {
587
3684
  "kind": "js",
588
- "name": "*",
3685
+ "name": "Vertical",
589
3686
  "declaration": {
590
- "name": "*",
591
- "package": "\"./SwitchTrackStyle\""
3687
+ "name": "Vertical",
3688
+ "module": "../core/src/shared/mixins/Vertical.ts"
592
3689
  }
593
3690
  }
594
3691
  ]
595
- },
596
- {
597
- "kind": "javascript-module",
598
- "path": "src/styles/SwitchHandleStyle.ts",
599
- "declarations": [],
600
- "exports": []
601
- },
602
- {
603
- "kind": "javascript-module",
604
- "path": "src/styles/SwitchIconStyle.ts",
605
- "declarations": [],
606
- "exports": []
607
- },
608
- {
609
- "kind": "javascript-module",
610
- "path": "src/styles/SwitchStateLayerStyle.ts",
611
- "declarations": [],
612
- "exports": []
613
- },
614
- {
615
- "kind": "javascript-module",
616
- "path": "src/styles/SwitchStyle.ts",
617
- "declarations": [],
618
- "exports": []
619
- },
620
- {
621
- "kind": "javascript-module",
622
- "path": "src/styles/SwitchToken.ts",
623
- "declarations": [],
624
- "exports": []
625
- },
626
- {
627
- "kind": "javascript-module",
628
- "path": "src/styles/SwitchTrackStyle.ts",
629
- "declarations": [],
630
- "exports": []
631
3692
  }
632
3693
  ]
633
3694
  }