@nordhealth/components 1.0.0-alpha.30 → 1.0.0-alpha.34

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 (87) hide show
  1. package/custom-elements.json +1934 -57
  2. package/lib/Badge.js +1 -1
  3. package/lib/Badge.js.map +1 -1
  4. package/lib/Button.js +1 -1
  5. package/lib/Button.js.map +1 -1
  6. package/lib/Card.js +1 -1
  7. package/lib/Card.js.map +1 -1
  8. package/lib/CommandMenu.js +7 -0
  9. package/lib/CommandMenu.js.map +1 -0
  10. package/lib/CommandMenuAction-97598b47.js +7 -0
  11. package/lib/CommandMenuAction-97598b47.js.map +1 -0
  12. package/lib/CommandMenuAction.js +2 -0
  13. package/lib/CommandMenuAction.js.map +1 -0
  14. package/lib/DraftComponentMixin-4bb26f5d.js +44 -0
  15. package/lib/DraftComponentMixin-4bb26f5d.js.map +1 -0
  16. package/lib/FormAssociatedMixin-c9674b41.js +2 -0
  17. package/lib/FormAssociatedMixin-c9674b41.js.map +1 -0
  18. package/lib/ICommandMenuAction.js +2 -0
  19. package/lib/ICommandMenuAction.js.map +1 -0
  20. package/lib/Icon.js +2 -0
  21. package/lib/Icon.js.map +1 -0
  22. package/lib/Input.js +2 -0
  23. package/lib/Input.js.map +1 -0
  24. package/lib/InputMixin-6c108de4.js +2 -0
  25. package/lib/InputMixin-6c108de4.js.map +1 -0
  26. package/lib/KeyboardController-9a1b558b.js +2 -0
  27. package/lib/KeyboardController-9a1b558b.js.map +1 -0
  28. package/lib/KeyboardController.js +2 -0
  29. package/lib/KeyboardController.js.map +1 -0
  30. package/lib/Select.js +1 -1
  31. package/lib/Select.js.map +1 -1
  32. package/lib/Stack.js +1 -1
  33. package/lib/Stack.js.map +1 -1
  34. package/lib/Table.js +1 -1
  35. package/lib/Table.js.map +1 -1
  36. package/lib/VisuallyHidden.js +1 -1
  37. package/lib/VisuallyHidden.js.map +1 -1
  38. package/lib/collection.js +2 -0
  39. package/lib/collection.js.map +1 -0
  40. package/lib/directive-e9ce14b4.js +7 -0
  41. package/lib/directive-e9ce14b4.js.map +1 -0
  42. package/lib/events2.js +2 -0
  43. package/lib/events2.js.map +1 -0
  44. package/lib/focus.js +2 -0
  45. package/lib/focus.js.map +1 -0
  46. package/lib/if-defined-617ae549.js +7 -0
  47. package/lib/if-defined-617ae549.js.map +1 -0
  48. package/lib/index.js +1 -1
  49. package/lib/number.js +2 -0
  50. package/lib/number.js.map +1 -0
  51. package/lib/ref-65ef7607.js +17 -0
  52. package/lib/ref-65ef7607.js.map +1 -0
  53. package/lib/src/badge/Badge.d.ts +4 -1
  54. package/lib/src/button/Button.d.ts +14 -1
  55. package/lib/src/card/Card.d.ts +7 -2
  56. package/lib/src/card/Card.test.d.ts +1 -0
  57. package/lib/src/command-menu/CommandMenu.d.ts +77 -0
  58. package/lib/src/command-menu/CommandMenu.test.d.ts +1 -0
  59. package/lib/src/command-menu/CommandMenuAction.d.ts +25 -0
  60. package/lib/src/command-menu/ICommandMenuAction.d.ts +11 -0
  61. package/lib/src/command-menu/KeyboardController.d.ts +19 -0
  62. package/lib/src/command-menu/events.d.ts +6 -0
  63. package/lib/src/common/collection.d.ts +7 -0
  64. package/lib/src/common/controllers/LightDismissController.d.ts +10 -0
  65. package/lib/src/common/controllers/ShortcutController.d.ts +15 -0
  66. package/lib/src/common/directives/cond.d.ts +7 -0
  67. package/lib/src/common/focus.d.ts +4 -0
  68. package/lib/src/common/mixins/DraftComponentMixin.d.ts +4 -0
  69. package/lib/src/common/number.d.ts +5 -0
  70. package/lib/src/icon/Icon.d.ts +64 -0
  71. package/lib/src/icon/Icon.test.d.ts +1 -0
  72. package/lib/src/index.d.ts +8 -4
  73. package/lib/src/input/Input.d.ts +53 -0
  74. package/lib/src/input/Input.test.d.ts +1 -0
  75. package/lib/src/select/Select.d.ts +16 -1
  76. package/lib/src/stack/Stack.d.ts +10 -2
  77. package/lib/src/table/Table.d.ts +7 -2
  78. package/lib/src/visually-hidden/VisuallyHidden.d.ts +12 -2
  79. package/lib/state-70f38ceb.js +7 -0
  80. package/lib/state-70f38ceb.js.map +1 -0
  81. package/lib/unsafe-html-21f62902.js +7 -0
  82. package/lib/unsafe-html-21f62902.js.map +1 -0
  83. package/package.json +35 -10
  84. package/lib/Button-4d1768e3.js +0 -28
  85. package/lib/Button-4d1768e3.js.map +0 -1
  86. package/lib/custom-element-cf3681d2.js +0 -44
  87. package/lib/custom-element-cf3681d2.js.map +0 -1
@@ -9,10 +9,10 @@
9
9
  "exports": [
10
10
  {
11
11
  "kind": "js",
12
- "name": "VisuallyHidden",
12
+ "name": "Badge",
13
13
  "declaration": {
14
14
  "name": "default",
15
- "module": "\"./visually-hidden/VisuallyHidden.js\""
15
+ "module": "\"./badge/Badge.js\""
16
16
  }
17
17
  },
18
18
  {
@@ -25,10 +25,42 @@
25
25
  },
26
26
  {
27
27
  "kind": "js",
28
- "name": "Stack",
28
+ "name": "Card",
29
29
  "declaration": {
30
30
  "name": "default",
31
- "module": "\"./stack/Stack.js\""
31
+ "module": "\"./card/Card.js\""
32
+ }
33
+ },
34
+ {
35
+ "kind": "js",
36
+ "name": "Input",
37
+ "declaration": {
38
+ "name": "default",
39
+ "module": "\"./input/Input.js\""
40
+ }
41
+ },
42
+ {
43
+ "kind": "js",
44
+ "name": "Icon",
45
+ "declaration": {
46
+ "name": "default",
47
+ "module": "\"./icon/Icon.js\""
48
+ }
49
+ },
50
+ {
51
+ "kind": "js",
52
+ "name": "CommandMenu",
53
+ "declaration": {
54
+ "name": "default",
55
+ "module": "\"./command-menu/CommandMenu.js\""
56
+ }
57
+ },
58
+ {
59
+ "kind": "js",
60
+ "name": "CommandMenuAction",
61
+ "declaration": {
62
+ "name": "default",
63
+ "module": "\"./command-menu/CommandMenuAction.js\""
32
64
  }
33
65
  },
34
66
  {
@@ -41,26 +73,26 @@
41
73
  },
42
74
  {
43
75
  "kind": "js",
44
- "name": "Table",
76
+ "name": "Stack",
45
77
  "declaration": {
46
78
  "name": "default",
47
- "module": "\"./table/Table.js\""
79
+ "module": "\"./stack/Stack.js\""
48
80
  }
49
81
  },
50
82
  {
51
83
  "kind": "js",
52
- "name": "Badge",
84
+ "name": "Table",
53
85
  "declaration": {
54
86
  "name": "default",
55
- "module": "\"./badge/Badge.js\""
87
+ "module": "\"./table/Table.js\""
56
88
  }
57
89
  },
58
90
  {
59
91
  "kind": "js",
60
- "name": "Card",
92
+ "name": "VisuallyHidden",
61
93
  "declaration": {
62
94
  "name": "default",
63
- "module": "\"./card/Card.js\""
95
+ "module": "\"./visually-hidden/VisuallyHidden.js\""
64
96
  }
65
97
  }
66
98
  ]
@@ -90,6 +122,20 @@
90
122
  "description": "The type of badge.\nDetermines the colour of the chip shown on the badge.",
91
123
  "attribute": "type",
92
124
  "reflects": true
125
+ },
126
+ {
127
+ "kind": "field",
128
+ "name": "_warningLogged",
129
+ "type": {
130
+ "text": "boolean"
131
+ },
132
+ "privacy": "private",
133
+ "static": true,
134
+ "default": "false",
135
+ "inheritedFrom": {
136
+ "name": "DraftComponentMixin",
137
+ "module": "src/common/mixins/DraftComponentMixin.ts"
138
+ }
93
139
  }
94
140
  ],
95
141
  "attributes": [
@@ -103,11 +149,18 @@
103
149
  "fieldName": "type"
104
150
  }
105
151
  ],
152
+ "mixins": [
153
+ {
154
+ "name": "DraftComponentMixin",
155
+ "module": "/src/common/mixins/DraftComponentMixin.js"
156
+ }
157
+ ],
106
158
  "superclass": {
107
159
  "name": "LitElement",
108
160
  "package": "lit"
109
161
  },
110
162
  "status": "draft",
163
+ "category": "text",
111
164
  "tagName": "nord-badge",
112
165
  "customElement": true
113
166
  }
@@ -137,7 +190,7 @@
137
190
  "declarations": [
138
191
  {
139
192
  "kind": "class",
140
- "description": "Buttons are used for interface actions. Primary style should be used only once per view for main call-to-action.",
193
+ "description": "Buttons are used for interface actions. Primary style should be\nused only once per section for main call-to-action, while other\nstyles can appear more frequently.",
141
194
  "name": "Button",
142
195
  "slots": [
143
196
  {
@@ -212,6 +265,17 @@
212
265
  "description": "When provided together with a href property, the button will\ntrigger a file download instead of a page visit.",
213
266
  "attribute": "download"
214
267
  },
268
+ {
269
+ "kind": "field",
270
+ "name": "target",
271
+ "type": {
272
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
273
+ },
274
+ "default": "\"_self\"",
275
+ "description": "When provided together with a href property, determines where\nto open the linked URL. The keywords have special meanings for\nwhere to load the URL: “_self” means the current browsing context,\n“_blank” usually a new tab but users can configure browsers this to\nopen a new window instead, “_parent” means the parent browsing\ncontext of the current one, but if no parent exists, behaves as\n_self, and finally “top” means the topmost browsing context.",
276
+ "attribute": "target",
277
+ "reflects": true
278
+ },
215
279
  {
216
280
  "kind": "field",
217
281
  "name": "expand",
@@ -337,6 +401,20 @@
337
401
  "name": "FocusableMixin",
338
402
  "module": "src/common/mixins/FocusableMixin.ts"
339
403
  }
404
+ },
405
+ {
406
+ "kind": "field",
407
+ "name": "_warningLogged",
408
+ "type": {
409
+ "text": "boolean"
410
+ },
411
+ "privacy": "private",
412
+ "static": true,
413
+ "default": "false",
414
+ "inheritedFrom": {
415
+ "name": "DraftComponentMixin",
416
+ "module": "src/common/mixins/DraftComponentMixin.ts"
417
+ }
340
418
  }
341
419
  ],
342
420
  "attributes": [
@@ -384,6 +462,15 @@
384
462
  "description": "When provided together with a href property, the button will\ntrigger a file download instead of a page visit.",
385
463
  "fieldName": "download"
386
464
  },
465
+ {
466
+ "name": "target",
467
+ "type": {
468
+ "text": "\"_self\" | \"_blank\" | \"_parent\" | \"_top\""
469
+ },
470
+ "default": "\"_self\"",
471
+ "description": "When provided together with a href property, determines where\nto open the linked URL. The keywords have special meanings for\nwhere to load the URL: “_self” means the current browsing context,\n“_blank” usually a new tab but users can configure browsers this to\nopen a new window instead, “_parent” means the parent browsing\ncontext of the current one, but if no parent exists, behaves as\n_self, and finally “top” means the topmost browsing context.",
472
+ "fieldName": "target"
473
+ },
387
474
  {
388
475
  "name": "expand",
389
476
  "type": {
@@ -439,6 +526,10 @@
439
526
  {
440
527
  "name": "FocusableMixin",
441
528
  "module": "/src/common/mixins/FocusableMixin.js"
529
+ },
530
+ {
531
+ "name": "DraftComponentMixin",
532
+ "module": "/src/common/mixins/DraftComponentMixin.js"
442
533
  }
443
534
  ],
444
535
  "superclass": {
@@ -446,6 +537,7 @@
446
537
  "package": "lit"
447
538
  },
448
539
  "status": "draft",
540
+ "category": "action",
449
541
  "tagName": "nord-button",
450
542
  "customElement": true
451
543
  }
@@ -475,7 +567,7 @@
475
567
  "declarations": [
476
568
  {
477
569
  "kind": "class",
478
- "description": "Cards are shadowed surfaces that display content and actions on a single topic. They should be easy to scan for relevant and actionable information.",
570
+ "description": "Cards are shadowed surfaces that display content and actions on a\nsingle topic. They should be easy to scan for relevant and\nactionable information.",
479
571
  "name": "Card",
480
572
  "slots": [
481
573
  {
@@ -520,6 +612,20 @@
520
612
  }
521
613
  }
522
614
  ]
615
+ },
616
+ {
617
+ "kind": "field",
618
+ "name": "_warningLogged",
619
+ "type": {
620
+ "text": "boolean"
621
+ },
622
+ "privacy": "private",
623
+ "static": true,
624
+ "default": "false",
625
+ "inheritedFrom": {
626
+ "name": "DraftComponentMixin",
627
+ "module": "src/common/mixins/DraftComponentMixin.ts"
628
+ }
523
629
  }
524
630
  ],
525
631
  "attributes": [
@@ -533,11 +639,18 @@
533
639
  "fieldName": "padding"
534
640
  }
535
641
  ],
642
+ "mixins": [
643
+ {
644
+ "name": "DraftComponentMixin",
645
+ "module": "/src/common/mixins/DraftComponentMixin.js"
646
+ }
647
+ ],
536
648
  "superclass": {
537
649
  "name": "LitElement",
538
650
  "package": "lit"
539
651
  },
540
652
  "status": "draft",
653
+ "category": "structure",
541
654
  "tagName": "nord-card",
542
655
  "customElement": true
543
656
  }
@@ -561,6 +674,48 @@
561
674
  }
562
675
  ]
563
676
  },
677
+ {
678
+ "kind": "javascript-module",
679
+ "path": "src/common/collection.ts",
680
+ "declarations": [
681
+ {
682
+ "kind": "function",
683
+ "name": "groupBy",
684
+ "parameters": [
685
+ {
686
+ "name": "array",
687
+ "type": {
688
+ "text": "Array<TObject>"
689
+ },
690
+ "description": "the collection of objects to group"
691
+ },
692
+ {
693
+ "name": "key",
694
+ "type": {
695
+ "text": "TKey"
696
+ },
697
+ "description": "the property to group by"
698
+ }
699
+ ],
700
+ "description": "Groups an array objects by property value",
701
+ "return": {
702
+ "type": {
703
+ "text": ""
704
+ }
705
+ }
706
+ }
707
+ ],
708
+ "exports": [
709
+ {
710
+ "kind": "js",
711
+ "name": "groupBy",
712
+ "declaration": {
713
+ "name": "groupBy",
714
+ "module": "src/common/collection.ts"
715
+ }
716
+ }
717
+ ]
718
+ },
564
719
  {
565
720
  "kind": "javascript-module",
566
721
  "path": "src/common/events.ts",
@@ -573,7 +728,8 @@
573
728
  "name": "Event",
574
729
  "module": "src/common/events.ts"
575
730
  },
576
- "status": null
731
+ "status": null,
732
+ "category": null
577
733
  }
578
734
  ],
579
735
  "exports": [
@@ -587,6 +743,81 @@
587
743
  }
588
744
  ]
589
745
  },
746
+ {
747
+ "kind": "javascript-module",
748
+ "path": "src/common/focus.ts",
749
+ "declarations": [
750
+ {
751
+ "kind": "function",
752
+ "name": "getFocusedElement",
753
+ "return": {
754
+ "type": {
755
+ "text": "Element | undefined"
756
+ }
757
+ },
758
+ "parameters": [
759
+ {
760
+ "name": "root",
761
+ "type": {
762
+ "text": "Document | ShadowRoot"
763
+ }
764
+ }
765
+ ],
766
+ "description": "Gets the currently focused element, taking shadow roots into account."
767
+ }
768
+ ],
769
+ "exports": [
770
+ {
771
+ "kind": "js",
772
+ "name": "getFocusedElement",
773
+ "declaration": {
774
+ "name": "getFocusedElement",
775
+ "module": "src/common/focus.ts"
776
+ }
777
+ }
778
+ ]
779
+ },
780
+ {
781
+ "kind": "javascript-module",
782
+ "path": "src/common/number.ts",
783
+ "declarations": [
784
+ {
785
+ "kind": "function",
786
+ "name": "wrap",
787
+ "parameters": [
788
+ {
789
+ "name": "val",
790
+ "type": {
791
+ "text": "number"
792
+ }
793
+ },
794
+ {
795
+ "name": "min",
796
+ "type": {
797
+ "text": "number"
798
+ }
799
+ },
800
+ {
801
+ "name": "max",
802
+ "type": {
803
+ "text": "number"
804
+ }
805
+ }
806
+ ],
807
+ "description": "Wraps a value so that it always falls within min/max,\nwhere a value greater than max gets set to min, and vice versa"
808
+ }
809
+ ],
810
+ "exports": [
811
+ {
812
+ "kind": "js",
813
+ "name": "wrap",
814
+ "declaration": {
815
+ "name": "wrap",
816
+ "module": "src/common/number.ts"
817
+ }
818
+ }
819
+ ]
820
+ },
590
821
  {
591
822
  "kind": "javascript-module",
592
823
  "path": "src/common/ref.ts",
@@ -623,84 +854,1396 @@
623
854
  },
624
855
  {
625
856
  "kind": "javascript-module",
626
- "path": "src/select/Select.ts",
857
+ "path": "src/command-menu/CommandMenu.ts",
627
858
  "declarations": [
628
859
  {
629
860
  "kind": "class",
630
- "description": "Select lets user choose one option from an options menu. Consider using select when you have 6 or more options.",
631
- "name": "Select",
861
+ "description": "Command Menu allows users to navigate and use an app without touching the mouse and helps them transform into “power users” who can harness more advanced features far faster.",
862
+ "name": "CommandMenu",
632
863
  "slots": [
633
864
  {
634
- "description": "Default slot for holding <option> elements.",
635
- "name": ""
636
- },
637
- {
638
- "description": "Use when a label requires more than plain text.",
639
- "name": "label"
865
+ "description": "Used to replace the default footer contents.",
866
+ "name": "footer"
640
867
  }
641
868
  ],
642
869
  "members": [
643
870
  {
644
871
  "kind": "field",
645
- "name": "hideLabel",
872
+ "name": "inputRef",
873
+ "privacy": "private"
874
+ },
875
+ {
876
+ "kind": "field",
877
+ "name": "listRef",
878
+ "privacy": "private"
879
+ },
880
+ {
881
+ "kind": "field",
882
+ "name": "previousFocus",
883
+ "type": {
884
+ "text": "HTMLElement | undefined"
885
+ },
886
+ "privacy": "private"
887
+ },
888
+ {
889
+ "kind": "field",
890
+ "name": "dismissController",
891
+ "privacy": "private",
892
+ "default": "new LightDismissController(this, () => this.close())"
893
+ },
894
+ {
895
+ "kind": "field",
896
+ "name": "keyboardController",
897
+ "privacy": "private",
898
+ "default": "new KeyboardController(this, {\n trigger: () => this.select(),\n goBack: () => this.goBack(),\n end: () => this.end(),\n start: () => this.start(),\n next: () => this.next(),\n previous: () => this.previous(),\n toggleOpen: () => this.toggleOpen(),\n })"
899
+ },
900
+ {
901
+ "kind": "field",
902
+ "name": "open",
646
903
  "type": {
647
904
  "text": "boolean"
648
905
  },
649
906
  "default": "false",
650
- "description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
651
- "attribute": "hide-label"
907
+ "description": "Show or hide element.",
908
+ "attribute": "open"
652
909
  },
653
910
  {
654
911
  "kind": "field",
655
912
  "name": "placeholder",
656
913
  "type": {
657
- "text": "string | undefined"
914
+ "text": "string"
658
915
  },
659
- "description": "Hint text to display as the first option of the select element.",
916
+ "default": "\"Type a command or search...\"",
917
+ "description": "Hint text to display in the search field.",
660
918
  "attribute": "placeholder"
661
919
  },
662
920
  {
663
921
  "kind": "field",
664
- "name": "expand",
922
+ "name": "commands",
665
923
  "type": {
666
- "text": "boolean"
924
+ "text": "Array<ICommandMenuAction>"
667
925
  },
668
- "default": "false",
669
- "description": "Controls whether the select expands to fill the width of its container.",
670
- "attribute": "expand",
671
- "reflects": true
926
+ "default": "[]",
927
+ "description": "Array of commands to be included in the menu.",
928
+ "attribute": "commands"
672
929
  },
673
930
  {
674
- "kind": "method",
675
- "name": "handleSlotChange",
676
- "privacy": "private"
931
+ "kind": "field",
932
+ "name": "parent",
933
+ "type": {
934
+ "text": "string | undefined"
935
+ }
677
936
  },
678
937
  {
679
938
  "kind": "field",
680
- "name": "options",
681
- "privacy": "private"
939
+ "name": "search",
940
+ "type": {
941
+ "text": "string"
942
+ },
943
+ "default": "\"\""
682
944
  },
683
945
  {
684
- "kind": "method",
685
- "name": "getButtonText",
946
+ "kind": "field",
947
+ "name": "bump",
948
+ "type": {
949
+ "text": "boolean"
950
+ },
686
951
  "privacy": "private",
687
- "return": {
688
- "type": {
689
- "text": "string"
690
- }
952
+ "default": "true"
953
+ },
954
+ {
955
+ "kind": "field",
956
+ "name": "selectedIndex",
957
+ "type": {
958
+ "text": "number"
691
959
  },
692
- "parameters": [
693
- {
694
- "name": "options",
695
- "type": {
696
- "text": "HTMLOptionElement[]"
697
- }
698
- }
699
- ]
960
+ "privacy": "private",
961
+ "default": "0"
700
962
  },
701
963
  {
702
- "kind": "method",
964
+ "kind": "field",
965
+ "name": "filteredCommands",
966
+ "type": {
967
+ "text": "Array<ICommandMenuAction>"
968
+ },
969
+ "privacy": "private",
970
+ "default": "[]"
971
+ },
972
+ {
973
+ "kind": "field",
974
+ "name": "selected",
975
+ "type": {
976
+ "text": "ICommandMenuAction"
977
+ },
978
+ "privacy": "private"
979
+ },
980
+ {
981
+ "kind": "method",
982
+ "name": "show",
983
+ "parameters": [
984
+ {
985
+ "name": "options",
986
+ "default": "{}",
987
+ "type": {
988
+ "text": "{ parent?: string }"
989
+ }
990
+ }
991
+ ],
992
+ "description": "Show the command menu programmatically."
993
+ },
994
+ {
995
+ "kind": "method",
996
+ "name": "close",
997
+ "description": "Close the command menu programmatically."
998
+ },
999
+ {
1000
+ "kind": "method",
1001
+ "name": "toggleOpen",
1002
+ "description": "Toggle the open state programmatically."
1003
+ },
1004
+ {
1005
+ "kind": "method",
1006
+ "name": "focus",
1007
+ "description": "Focus the command menu's input."
1008
+ },
1009
+ {
1010
+ "kind": "method",
1011
+ "name": "renderSection",
1012
+ "privacy": "private",
1013
+ "parameters": [
1014
+ {
1015
+ "name": "section",
1016
+ "type": {
1017
+ "text": "string | undefined"
1018
+ }
1019
+ },
1020
+ {
1021
+ "name": "commands",
1022
+ "type": {
1023
+ "text": "ICommandMenuAction[]"
1024
+ }
1025
+ }
1026
+ ]
1027
+ },
1028
+ {
1029
+ "kind": "method",
1030
+ "name": "handleAnimationEnd",
1031
+ "privacy": "private"
1032
+ },
1033
+ {
1034
+ "kind": "method",
1035
+ "name": "handleInput",
1036
+ "privacy": "private",
1037
+ "parameters": [
1038
+ {
1039
+ "name": "event",
1040
+ "type": {
1041
+ "text": "KeyboardEvent"
1042
+ }
1043
+ }
1044
+ ]
1045
+ },
1046
+ {
1047
+ "kind": "method",
1048
+ "name": "select",
1049
+ "privacy": "private",
1050
+ "parameters": [
1051
+ {
1052
+ "name": "command",
1053
+ "default": "this.selected",
1054
+ "type": {
1055
+ "text": "ICommandMenuAction"
1056
+ }
1057
+ }
1058
+ ]
1059
+ },
1060
+ {
1061
+ "kind": "method",
1062
+ "name": "start",
1063
+ "privacy": "private"
1064
+ },
1065
+ {
1066
+ "kind": "method",
1067
+ "name": "end",
1068
+ "privacy": "private"
1069
+ },
1070
+ {
1071
+ "kind": "method",
1072
+ "name": "next",
1073
+ "privacy": "private"
1074
+ },
1075
+ {
1076
+ "kind": "method",
1077
+ "name": "previous",
1078
+ "privacy": "private"
1079
+ },
1080
+ {
1081
+ "kind": "method",
1082
+ "name": "goBack",
1083
+ "privacy": "private"
1084
+ },
1085
+ {
1086
+ "kind": "method",
1087
+ "name": "setParent",
1088
+ "privacy": "private",
1089
+ "parameters": [
1090
+ {
1091
+ "name": "parent",
1092
+ "optional": true,
1093
+ "type": {
1094
+ "text": "string"
1095
+ }
1096
+ }
1097
+ ]
1098
+ },
1099
+ {
1100
+ "kind": "method",
1101
+ "name": "setSearch",
1102
+ "privacy": "private",
1103
+ "parameters": [
1104
+ {
1105
+ "name": "str",
1106
+ "type": {
1107
+ "text": "string"
1108
+ }
1109
+ }
1110
+ ]
1111
+ },
1112
+ {
1113
+ "kind": "method",
1114
+ "name": "filterCommands",
1115
+ "privacy": "private"
1116
+ },
1117
+ {
1118
+ "kind": "field",
1119
+ "name": "_warningLogged",
1120
+ "type": {
1121
+ "text": "boolean"
1122
+ },
1123
+ "privacy": "private",
1124
+ "static": true,
1125
+ "default": "false",
1126
+ "inheritedFrom": {
1127
+ "name": "DraftComponentMixin",
1128
+ "module": "src/common/mixins/DraftComponentMixin.ts"
1129
+ }
1130
+ }
1131
+ ],
1132
+ "events": [
1133
+ {
1134
+ "name": "open",
1135
+ "type": {
1136
+ "text": "NordEvent"
1137
+ },
1138
+ "description": "The command menu was opened."
1139
+ },
1140
+ {
1141
+ "name": "close",
1142
+ "type": {
1143
+ "text": "NordEvent"
1144
+ },
1145
+ "description": "The command menu was closed."
1146
+ },
1147
+ {
1148
+ "name": "command",
1149
+ "type": {
1150
+ "text": "SelectEvent"
1151
+ },
1152
+ "description": "User selected a command from the menu."
1153
+ }
1154
+ ],
1155
+ "attributes": [
1156
+ {
1157
+ "name": "open",
1158
+ "type": {
1159
+ "text": "boolean"
1160
+ },
1161
+ "default": "false",
1162
+ "description": "Show or hide element.",
1163
+ "fieldName": "open"
1164
+ },
1165
+ {
1166
+ "name": "placeholder",
1167
+ "type": {
1168
+ "text": "string"
1169
+ },
1170
+ "default": "\"Type a command or search...\"",
1171
+ "description": "Hint text to display in the search field.",
1172
+ "fieldName": "placeholder"
1173
+ },
1174
+ {
1175
+ "name": "commands",
1176
+ "type": {
1177
+ "text": "Array<ICommandMenuAction>"
1178
+ },
1179
+ "default": "[]",
1180
+ "description": "Array of commands to be included in the menu.",
1181
+ "fieldName": "commands"
1182
+ }
1183
+ ],
1184
+ "mixins": [
1185
+ {
1186
+ "name": "DraftComponentMixin",
1187
+ "module": "/src/common/mixins/DraftComponentMixin.js"
1188
+ }
1189
+ ],
1190
+ "superclass": {
1191
+ "name": "LitElement",
1192
+ "package": "lit"
1193
+ },
1194
+ "status": "draft",
1195
+ "category": "action",
1196
+ "tagName": "nord-command-menu",
1197
+ "customElement": true
1198
+ }
1199
+ ],
1200
+ "exports": [
1201
+ {
1202
+ "kind": "js",
1203
+ "name": "default",
1204
+ "declaration": {
1205
+ "name": "CommandMenu",
1206
+ "module": "src/command-menu/CommandMenu.ts"
1207
+ }
1208
+ },
1209
+ {
1210
+ "kind": "custom-element-definition",
1211
+ "name": "nord-command-menu",
1212
+ "declaration": {
1213
+ "name": "CommandMenu",
1214
+ "module": "src/command-menu/CommandMenu.ts"
1215
+ }
1216
+ }
1217
+ ]
1218
+ },
1219
+ {
1220
+ "kind": "javascript-module",
1221
+ "path": "src/command-menu/CommandMenuAction.ts",
1222
+ "declarations": [
1223
+ {
1224
+ "kind": "class",
1225
+ "description": "Command Menu Action displays a single action that can be executed by the user. For usage examples, please see Command Menu component.",
1226
+ "name": "CommandMenuAction",
1227
+ "members": [
1228
+ {
1229
+ "kind": "field",
1230
+ "name": "command",
1231
+ "type": {
1232
+ "text": "ICommandMenuAction"
1233
+ },
1234
+ "attribute": "command"
1235
+ },
1236
+ {
1237
+ "kind": "field",
1238
+ "name": "selected",
1239
+ "type": {
1240
+ "text": "boolean"
1241
+ },
1242
+ "default": "false",
1243
+ "attribute": "selected"
1244
+ },
1245
+ {
1246
+ "kind": "method",
1247
+ "name": "ensureInView",
1248
+ "privacy": "private",
1249
+ "description": "Scroll to show element"
1250
+ },
1251
+ {
1252
+ "kind": "method",
1253
+ "name": "renderShortcut",
1254
+ "privacy": "private"
1255
+ }
1256
+ ],
1257
+ "attributes": [
1258
+ {
1259
+ "name": "command",
1260
+ "type": {
1261
+ "text": "ICommandMenuAction"
1262
+ },
1263
+ "fieldName": "command"
1264
+ },
1265
+ {
1266
+ "name": "selected",
1267
+ "type": {
1268
+ "text": "boolean"
1269
+ },
1270
+ "default": "false",
1271
+ "fieldName": "selected"
1272
+ }
1273
+ ],
1274
+ "superclass": {
1275
+ "name": "LitElement",
1276
+ "package": "lit"
1277
+ },
1278
+ "status": "internal",
1279
+ "category": null,
1280
+ "tagName": "nord-command-menu-action",
1281
+ "customElement": true
1282
+ }
1283
+ ],
1284
+ "exports": [
1285
+ {
1286
+ "kind": "js",
1287
+ "name": "default",
1288
+ "declaration": {
1289
+ "name": "CommandMenuAction",
1290
+ "module": "src/command-menu/CommandMenuAction.ts"
1291
+ }
1292
+ },
1293
+ {
1294
+ "kind": "custom-element-definition",
1295
+ "name": "nord-command-menu-action",
1296
+ "declaration": {
1297
+ "name": "CommandMenuAction",
1298
+ "module": "src/command-menu/CommandMenuAction.ts"
1299
+ }
1300
+ }
1301
+ ]
1302
+ },
1303
+ {
1304
+ "kind": "javascript-module",
1305
+ "path": "src/command-menu/ICommandMenuAction.ts",
1306
+ "declarations": [],
1307
+ "exports": []
1308
+ },
1309
+ {
1310
+ "kind": "javascript-module",
1311
+ "path": "src/command-menu/KeyboardController.ts",
1312
+ "declarations": [
1313
+ {
1314
+ "kind": "class",
1315
+ "description": "",
1316
+ "name": "KeyboardController",
1317
+ "members": [
1318
+ {
1319
+ "kind": "field",
1320
+ "name": "host",
1321
+ "type": {
1322
+ "text": "CommandMenu"
1323
+ },
1324
+ "privacy": "private",
1325
+ "default": "host"
1326
+ },
1327
+ {
1328
+ "kind": "field",
1329
+ "name": "globalShortcuts",
1330
+ "type": {
1331
+ "text": "ShortcutController"
1332
+ },
1333
+ "privacy": "private",
1334
+ "default": "new ShortcutController(host, { \"$mod+k\": actions.toggleOpen })"
1335
+ },
1336
+ {
1337
+ "kind": "field",
1338
+ "name": "navigationShortcuts",
1339
+ "type": {
1340
+ "text": "ShortcutController"
1341
+ },
1342
+ "privacy": "private",
1343
+ "default": "new ShortcutController(\n host,\n {\n Enter: preventDefault(actions.trigger),\n Backspace: actions.goBack, // we don't want to prevent default, since that would stop backspace deleting chars\n End: preventDefault(actions.end),\n Home: preventDefault(actions.start),\n ArrowDown: preventDefault(actions.next),\n ArrowUp: preventDefault(actions.previous),\n },\n host\n )"
1344
+ },
1345
+ {
1346
+ "kind": "field",
1347
+ "name": "commandShortcuts",
1348
+ "type": {
1349
+ "text": "ShortcutController"
1350
+ },
1351
+ "privacy": "private",
1352
+ "default": "new ShortcutController(host)"
1353
+ },
1354
+ {
1355
+ "kind": "method",
1356
+ "name": "registerCommandShortcuts"
1357
+ }
1358
+ ]
1359
+ }
1360
+ ],
1361
+ "exports": [
1362
+ {
1363
+ "kind": "js",
1364
+ "name": "KeyboardController",
1365
+ "declaration": {
1366
+ "name": "KeyboardController",
1367
+ "module": "src/command-menu/KeyboardController.ts"
1368
+ }
1369
+ }
1370
+ ]
1371
+ },
1372
+ {
1373
+ "kind": "javascript-module",
1374
+ "path": "src/command-menu/events.ts",
1375
+ "declarations": [
1376
+ {
1377
+ "kind": "class",
1378
+ "description": "",
1379
+ "name": "SelectEvent",
1380
+ "members": [
1381
+ {
1382
+ "kind": "field",
1383
+ "name": "command",
1384
+ "type": {
1385
+ "text": "ICommandMenuAction"
1386
+ },
1387
+ "default": "command"
1388
+ }
1389
+ ],
1390
+ "superclass": {
1391
+ "name": "NordEvent",
1392
+ "module": "/src/common/events.js"
1393
+ }
1394
+ }
1395
+ ],
1396
+ "exports": [
1397
+ {
1398
+ "kind": "js",
1399
+ "name": "SelectEvent",
1400
+ "declaration": {
1401
+ "name": "SelectEvent",
1402
+ "module": "src/command-menu/events.ts"
1403
+ }
1404
+ }
1405
+ ]
1406
+ },
1407
+ {
1408
+ "kind": "javascript-module",
1409
+ "path": "src/icon/Icon.ts",
1410
+ "declarations": [
1411
+ {
1412
+ "kind": "class",
1413
+ "description": "Icons are used to provide additional meaning or in places where text label doesn’t fit.\nIcon component allows you to display an icon from the Nordicons library.",
1414
+ "name": "Icon",
1415
+ "members": [
1416
+ {
1417
+ "kind": "field",
1418
+ "name": "resolver",
1419
+ "type": {
1420
+ "text": "IconResolver"
1421
+ },
1422
+ "privacy": "private",
1423
+ "static": true
1424
+ },
1425
+ {
1426
+ "kind": "field",
1427
+ "name": "registeredIcons",
1428
+ "privacy": "private",
1429
+ "static": true,
1430
+ "default": "new Map<string, string>()"
1431
+ },
1432
+ {
1433
+ "kind": "method",
1434
+ "name": "registerResolver",
1435
+ "static": true,
1436
+ "parameters": [
1437
+ {
1438
+ "name": "resolver",
1439
+ "type": {
1440
+ "text": "IconResolver"
1441
+ },
1442
+ "description": "The resolver function to register."
1443
+ }
1444
+ ],
1445
+ "description": "Register a custom icon resolver, which accepts the icon name as an parameter, and returns an SVG string.\nCan return a string synchronously, or a promise of a string.\nBy default, will load icons from the Nord CDN."
1446
+ },
1447
+ {
1448
+ "kind": "method",
1449
+ "name": "registerIcon",
1450
+ "static": true,
1451
+ "return": {
1452
+ "type": {
1453
+ "text": "void"
1454
+ }
1455
+ },
1456
+ "parameters": [
1457
+ {
1458
+ "name": "icon",
1459
+ "type": {
1460
+ "text": "{ title: string; default: string }"
1461
+ }
1462
+ }
1463
+ ],
1464
+ "description": "Register an individual icon so it can be rendered synchronously, to avoid loading over the network."
1465
+ },
1466
+ {
1467
+ "kind": "method",
1468
+ "name": "registerIcon",
1469
+ "static": true,
1470
+ "return": {
1471
+ "type": {
1472
+ "text": "void"
1473
+ }
1474
+ },
1475
+ "parameters": [
1476
+ {
1477
+ "name": "name",
1478
+ "type": {
1479
+ "text": "string"
1480
+ }
1481
+ },
1482
+ {
1483
+ "name": "icon",
1484
+ "type": {
1485
+ "text": "string"
1486
+ }
1487
+ }
1488
+ ],
1489
+ "description": "Register an individual icon so it can be rendered synchronously, to avoid loading over the network."
1490
+ },
1491
+ {
1492
+ "kind": "method",
1493
+ "name": "registerIcon",
1494
+ "static": true,
1495
+ "parameters": [
1496
+ {
1497
+ "name": "iconOrName",
1498
+ "type": {
1499
+ "text": "string | { title: string; default: string }"
1500
+ }
1501
+ },
1502
+ {
1503
+ "name": "icon",
1504
+ "optional": true,
1505
+ "type": {
1506
+ "text": "string"
1507
+ }
1508
+ }
1509
+ ]
1510
+ },
1511
+ {
1512
+ "kind": "field",
1513
+ "name": "name",
1514
+ "type": {
1515
+ "text": "string"
1516
+ },
1517
+ "default": "\"\"",
1518
+ "description": "The name of the icon to display, as defined by nordicons.",
1519
+ "attribute": "name",
1520
+ "reflects": true
1521
+ },
1522
+ {
1523
+ "kind": "field",
1524
+ "name": "size",
1525
+ "type": {
1526
+ "text": "\"xs\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
1527
+ },
1528
+ "default": "\"m\"",
1529
+ "description": "The size of the icon.",
1530
+ "attribute": "size",
1531
+ "reflects": true
1532
+ },
1533
+ {
1534
+ "kind": "field",
1535
+ "name": "color",
1536
+ "type": {
1537
+ "text": "string | undefined"
1538
+ },
1539
+ "description": "The color of the icon.\nCan accept any valid CSS color value, including custom properties.",
1540
+ "attribute": "color",
1541
+ "reflects": true
1542
+ },
1543
+ {
1544
+ "kind": "field",
1545
+ "name": "label",
1546
+ "type": {
1547
+ "text": "string | undefined"
1548
+ },
1549
+ "description": "An accessible label for the icon.\nIf no label is supplied, the icon is hidden from assistive technology.",
1550
+ "attribute": "label",
1551
+ "reflects": true
1552
+ },
1553
+ {
1554
+ "kind": "field",
1555
+ "name": "svg",
1556
+ "type": {
1557
+ "text": "string"
1558
+ },
1559
+ "default": "\"\""
1560
+ },
1561
+ {
1562
+ "kind": "method",
1563
+ "name": "resolve",
1564
+ "privacy": "private",
1565
+ "return": {
1566
+ "type": {
1567
+ "text": "string | Promise<string>"
1568
+ }
1569
+ }
1570
+ },
1571
+ {
1572
+ "kind": "field",
1573
+ "name": "_warningLogged",
1574
+ "type": {
1575
+ "text": "boolean"
1576
+ },
1577
+ "privacy": "private",
1578
+ "static": true,
1579
+ "default": "false",
1580
+ "inheritedFrom": {
1581
+ "name": "DraftComponentMixin",
1582
+ "module": "src/common/mixins/DraftComponentMixin.ts"
1583
+ }
1584
+ }
1585
+ ],
1586
+ "attributes": [
1587
+ {
1588
+ "name": "name",
1589
+ "type": {
1590
+ "text": "string"
1591
+ },
1592
+ "default": "\"\"",
1593
+ "description": "The name of the icon to display, as defined by nordicons.",
1594
+ "fieldName": "name"
1595
+ },
1596
+ {
1597
+ "name": "size",
1598
+ "type": {
1599
+ "text": "\"xs\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
1600
+ },
1601
+ "default": "\"m\"",
1602
+ "description": "The size of the icon.",
1603
+ "fieldName": "size"
1604
+ },
1605
+ {
1606
+ "name": "color",
1607
+ "type": {
1608
+ "text": "string | undefined"
1609
+ },
1610
+ "description": "The color of the icon.\nCan accept any valid CSS color value, including custom properties.",
1611
+ "fieldName": "color"
1612
+ },
1613
+ {
1614
+ "name": "label",
1615
+ "type": {
1616
+ "text": "string | undefined"
1617
+ },
1618
+ "description": "An accessible label for the icon.\nIf no label is supplied, the icon is hidden from assistive technology.",
1619
+ "fieldName": "label"
1620
+ }
1621
+ ],
1622
+ "mixins": [
1623
+ {
1624
+ "name": "DraftComponentMixin",
1625
+ "module": "/src/common/mixins/DraftComponentMixin.js"
1626
+ }
1627
+ ],
1628
+ "superclass": {
1629
+ "name": "LitElement",
1630
+ "package": "lit"
1631
+ },
1632
+ "status": "draft",
1633
+ "category": "image",
1634
+ "tagName": "nord-icon",
1635
+ "customElement": true
1636
+ }
1637
+ ],
1638
+ "exports": [
1639
+ {
1640
+ "kind": "js",
1641
+ "name": "default",
1642
+ "declaration": {
1643
+ "name": "Icon",
1644
+ "module": "src/icon/Icon.ts"
1645
+ }
1646
+ },
1647
+ {
1648
+ "kind": "custom-element-definition",
1649
+ "name": "nord-icon",
1650
+ "declaration": {
1651
+ "name": "Icon",
1652
+ "module": "src/icon/Icon.ts"
1653
+ }
1654
+ }
1655
+ ]
1656
+ },
1657
+ {
1658
+ "kind": "javascript-module",
1659
+ "path": "src/input/Input.ts",
1660
+ "declarations": [
1661
+ {
1662
+ "kind": "class",
1663
+ "description": "Inputs are used to allow users to provide text input when the expected input is short.\nAs well as plain text, Input supports various types of text, including passwords and numbers.",
1664
+ "name": "Input",
1665
+ "slots": [
1666
+ {
1667
+ "description": "Use when a label requires more than plain text.",
1668
+ "name": "label"
1669
+ },
1670
+ {
1671
+ "description": "Optional slot that holds hint text for the input.",
1672
+ "name": "hint"
1673
+ },
1674
+ {
1675
+ "description": "Optional slot that holds error text for the input.",
1676
+ "name": "error"
1677
+ },
1678
+ {
1679
+ "description": "Optional slot that holds an icon for the input.",
1680
+ "name": "before"
1681
+ }
1682
+ ],
1683
+ "members": [
1684
+ {
1685
+ "kind": "field",
1686
+ "name": "type",
1687
+ "type": {
1688
+ "text": "\"text\" | \"email\" | \"password\" | \"tel\" | \"url\" | \"search\" | \"number\""
1689
+ },
1690
+ "default": "\"text\"",
1691
+ "description": "The type of the input.",
1692
+ "attribute": "type"
1693
+ },
1694
+ {
1695
+ "kind": "field",
1696
+ "name": "hint",
1697
+ "type": {
1698
+ "text": "string | undefined"
1699
+ },
1700
+ "description": "Optional hint text to be displayed with input. Alternatively use the hint slot.",
1701
+ "attribute": "hint"
1702
+ },
1703
+ {
1704
+ "kind": "field",
1705
+ "name": "hideLabel",
1706
+ "type": {
1707
+ "text": "boolean"
1708
+ },
1709
+ "default": "false",
1710
+ "description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
1711
+ "attribute": "hide-label"
1712
+ },
1713
+ {
1714
+ "kind": "field",
1715
+ "name": "placeholder",
1716
+ "type": {
1717
+ "text": "string | undefined"
1718
+ },
1719
+ "description": "Placeholder of the input.",
1720
+ "attribute": "placeholder"
1721
+ },
1722
+ {
1723
+ "kind": "field",
1724
+ "name": "error",
1725
+ "type": {
1726
+ "text": "string | undefined"
1727
+ },
1728
+ "description": "Optional error to be shown with input. Alternatively use the error slot.",
1729
+ "attribute": "error"
1730
+ },
1731
+ {
1732
+ "kind": "field",
1733
+ "name": "expand",
1734
+ "type": {
1735
+ "text": "boolean"
1736
+ },
1737
+ "default": "false",
1738
+ "description": "Controls whether the input expands to fill the width of its container.",
1739
+ "attribute": "expand",
1740
+ "reflects": true
1741
+ },
1742
+ {
1743
+ "kind": "method",
1744
+ "name": "renderLabel",
1745
+ "privacy": "private",
1746
+ "parameters": [
1747
+ {
1748
+ "name": "hasHint",
1749
+ "type": {
1750
+ "text": "boolean"
1751
+ }
1752
+ }
1753
+ ]
1754
+ },
1755
+ {
1756
+ "kind": "method",
1757
+ "name": "renderHint",
1758
+ "privacy": "private"
1759
+ },
1760
+ {
1761
+ "kind": "method",
1762
+ "name": "renderError",
1763
+ "privacy": "private"
1764
+ },
1765
+ {
1766
+ "kind": "method",
1767
+ "name": "handleSlotChange",
1768
+ "privacy": "private"
1769
+ },
1770
+ {
1771
+ "kind": "method",
1772
+ "name": "hasSlottedContent",
1773
+ "privacy": "private",
1774
+ "parameters": [
1775
+ {
1776
+ "name": "slotName",
1777
+ "type": {
1778
+ "text": "string"
1779
+ }
1780
+ }
1781
+ ]
1782
+ },
1783
+ {
1784
+ "kind": "field",
1785
+ "name": "label",
1786
+ "type": {
1787
+ "text": "string"
1788
+ },
1789
+ "default": "\"\"",
1790
+ "description": "Label for the input.",
1791
+ "attribute": "label",
1792
+ "inheritedFrom": {
1793
+ "name": "FormAssociatedMixin",
1794
+ "module": "src/common/mixins/FormAssociatedMixin.ts"
1795
+ }
1796
+ },
1797
+ {
1798
+ "kind": "field",
1799
+ "name": "required",
1800
+ "type": {
1801
+ "text": "boolean"
1802
+ },
1803
+ "default": "false",
1804
+ "description": "Determines whether the input is required or not.\nAn input marked as required will be announced as such to users of assistive technology.\nWhen using this property you need to also set “novalidate” attribute on a form element to prevent browser from displaying its own validation errors.",
1805
+ "attribute": "required",
1806
+ "inheritedFrom": {
1807
+ "name": "FormAssociatedMixin",
1808
+ "module": "src/common/mixins/FormAssociatedMixin.ts"
1809
+ }
1810
+ },
1811
+ {
1812
+ "kind": "field",
1813
+ "name": "handleFormData",
1814
+ "privacy": "private",
1815
+ "inheritedFrom": {
1816
+ "name": "FormAssociatedMixin",
1817
+ "module": "src/common/mixins/FormAssociatedMixin.ts"
1818
+ }
1819
+ },
1820
+ {
1821
+ "kind": "method",
1822
+ "name": "handleChange",
1823
+ "privacy": "protected",
1824
+ "parameters": [
1825
+ {
1826
+ "name": "e",
1827
+ "type": {
1828
+ "text": "Event"
1829
+ }
1830
+ }
1831
+ ],
1832
+ "inheritedFrom": {
1833
+ "name": "FormAssociatedMixin",
1834
+ "module": "src/common/mixins/FormAssociatedMixin.ts"
1835
+ }
1836
+ },
1837
+ {
1838
+ "kind": "field",
1839
+ "name": "disabled",
1840
+ "type": {
1841
+ "text": "boolean"
1842
+ },
1843
+ "default": "false",
1844
+ "description": "Makes the input component disabled.\nThis prevents users from being able to interact with the component, and conveys its inactive state to assistive technologies.",
1845
+ "attribute": "disabled",
1846
+ "inheritedFrom": {
1847
+ "name": "InputMixin",
1848
+ "module": "src/common/mixins/InputMixin.ts"
1849
+ }
1850
+ },
1851
+ {
1852
+ "kind": "field",
1853
+ "name": "name",
1854
+ "type": {
1855
+ "text": "string | undefined"
1856
+ },
1857
+ "description": "The name of the input component.",
1858
+ "attribute": "name",
1859
+ "inheritedFrom": {
1860
+ "name": "InputMixin",
1861
+ "module": "src/common/mixins/InputMixin.ts"
1862
+ }
1863
+ },
1864
+ {
1865
+ "kind": "field",
1866
+ "name": "value",
1867
+ "type": {
1868
+ "text": "string | undefined"
1869
+ },
1870
+ "description": "The value of the input component.",
1871
+ "attribute": "value",
1872
+ "inheritedFrom": {
1873
+ "name": "InputMixin",
1874
+ "module": "src/common/mixins/InputMixin.ts"
1875
+ }
1876
+ },
1877
+ {
1878
+ "kind": "field",
1879
+ "name": "form",
1880
+ "description": "Gets the form, if any, associated with the input element.",
1881
+ "inheritedFrom": {
1882
+ "name": "InputMixin",
1883
+ "module": "src/common/mixins/InputMixin.ts"
1884
+ }
1885
+ },
1886
+ {
1887
+ "kind": "field",
1888
+ "name": "focusableRef",
1889
+ "privacy": "protected",
1890
+ "inheritedFrom": {
1891
+ "name": "FocusableMixin",
1892
+ "module": "src/common/mixins/FocusableMixin.ts"
1893
+ }
1894
+ },
1895
+ {
1896
+ "kind": "method",
1897
+ "name": "focus",
1898
+ "parameters": [
1899
+ {
1900
+ "name": "options",
1901
+ "optional": true,
1902
+ "type": {
1903
+ "text": "FocusOptions"
1904
+ },
1905
+ "description": "An object which controls aspects of the focusing process."
1906
+ }
1907
+ ],
1908
+ "description": "Programmatically move focus to the component",
1909
+ "inheritedFrom": {
1910
+ "name": "FocusableMixin",
1911
+ "module": "src/common/mixins/FocusableMixin.ts"
1912
+ }
1913
+ },
1914
+ {
1915
+ "kind": "method",
1916
+ "name": "blur",
1917
+ "description": "Programmatically remove focus from the component.",
1918
+ "inheritedFrom": {
1919
+ "name": "FocusableMixin",
1920
+ "module": "src/common/mixins/FocusableMixin.ts"
1921
+ }
1922
+ },
1923
+ {
1924
+ "kind": "method",
1925
+ "name": "click",
1926
+ "description": "Programmatically simulates a click on the component.",
1927
+ "inheritedFrom": {
1928
+ "name": "FocusableMixin",
1929
+ "module": "src/common/mixins/FocusableMixin.ts"
1930
+ }
1931
+ },
1932
+ {
1933
+ "kind": "field",
1934
+ "name": "_warningLogged",
1935
+ "type": {
1936
+ "text": "boolean"
1937
+ },
1938
+ "privacy": "private",
1939
+ "static": true,
1940
+ "default": "false",
1941
+ "inheritedFrom": {
1942
+ "name": "DraftComponentMixin",
1943
+ "module": "src/common/mixins/DraftComponentMixin.ts"
1944
+ }
1945
+ }
1946
+ ],
1947
+ "attributes": [
1948
+ {
1949
+ "name": "type",
1950
+ "type": {
1951
+ "text": "\"text\" | \"email\" | \"password\" | \"tel\" | \"url\" | \"search\" | \"number\""
1952
+ },
1953
+ "default": "\"text\"",
1954
+ "description": "The type of the input.",
1955
+ "fieldName": "type"
1956
+ },
1957
+ {
1958
+ "name": "hint",
1959
+ "type": {
1960
+ "text": "string | undefined"
1961
+ },
1962
+ "description": "Optional hint text to be displayed with input. Alternatively use the hint slot.",
1963
+ "fieldName": "hint"
1964
+ },
1965
+ {
1966
+ "name": "hide-label",
1967
+ "type": {
1968
+ "text": "boolean"
1969
+ },
1970
+ "default": "false",
1971
+ "description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
1972
+ "fieldName": "hideLabel"
1973
+ },
1974
+ {
1975
+ "name": "placeholder",
1976
+ "type": {
1977
+ "text": "string | undefined"
1978
+ },
1979
+ "description": "Placeholder of the input.",
1980
+ "fieldName": "placeholder"
1981
+ },
1982
+ {
1983
+ "name": "error",
1984
+ "type": {
1985
+ "text": "string | undefined"
1986
+ },
1987
+ "description": "Optional error to be shown with input. Alternatively use the error slot.",
1988
+ "fieldName": "error"
1989
+ },
1990
+ {
1991
+ "name": "expand",
1992
+ "type": {
1993
+ "text": "boolean"
1994
+ },
1995
+ "default": "false",
1996
+ "description": "Controls whether the input expands to fill the width of its container.",
1997
+ "fieldName": "expand"
1998
+ },
1999
+ {
2000
+ "name": "label",
2001
+ "type": {
2002
+ "text": "string"
2003
+ },
2004
+ "default": "\"\"",
2005
+ "description": "Label for the input.",
2006
+ "fieldName": "label",
2007
+ "inheritedFrom": {
2008
+ "name": "FormAssociatedMixin",
2009
+ "module": "src/common/mixins/FormAssociatedMixin.ts"
2010
+ }
2011
+ },
2012
+ {
2013
+ "name": "required",
2014
+ "type": {
2015
+ "text": "boolean"
2016
+ },
2017
+ "default": "false",
2018
+ "description": "Determines whether the input is required or not.\nAn input marked as required will be announced as such to users of assistive technology.\nWhen using this property you need to also set “novalidate” attribute on a form element to prevent browser from displaying its own validation errors.",
2019
+ "fieldName": "required",
2020
+ "inheritedFrom": {
2021
+ "name": "FormAssociatedMixin",
2022
+ "module": "src/common/mixins/FormAssociatedMixin.ts"
2023
+ }
2024
+ },
2025
+ {
2026
+ "name": "disabled",
2027
+ "type": {
2028
+ "text": "boolean"
2029
+ },
2030
+ "default": "false",
2031
+ "description": "Makes the input component disabled.\nThis prevents users from being able to interact with the component, and conveys its inactive state to assistive technologies.",
2032
+ "fieldName": "disabled",
2033
+ "inheritedFrom": {
2034
+ "name": "InputMixin",
2035
+ "module": "src/common/mixins/InputMixin.ts"
2036
+ }
2037
+ },
2038
+ {
2039
+ "name": "name",
2040
+ "type": {
2041
+ "text": "string | undefined"
2042
+ },
2043
+ "description": "The name of the input component.",
2044
+ "fieldName": "name",
2045
+ "inheritedFrom": {
2046
+ "name": "InputMixin",
2047
+ "module": "src/common/mixins/InputMixin.ts"
2048
+ }
2049
+ },
2050
+ {
2051
+ "name": "value",
2052
+ "type": {
2053
+ "text": "string | undefined"
2054
+ },
2055
+ "description": "The value of the input component.",
2056
+ "fieldName": "value",
2057
+ "inheritedFrom": {
2058
+ "name": "InputMixin",
2059
+ "module": "src/common/mixins/InputMixin.ts"
2060
+ }
2061
+ }
2062
+ ],
2063
+ "mixins": [
2064
+ {
2065
+ "name": "FormAssociatedMixin",
2066
+ "module": "/src/common/mixins/FormAssociatedMixin.js"
2067
+ },
2068
+ {
2069
+ "name": "InputMixin",
2070
+ "module": "/src/common/mixins/InputMixin.js"
2071
+ },
2072
+ {
2073
+ "name": "FocusableMixin",
2074
+ "module": "/src/common/mixins/FocusableMixin.js"
2075
+ },
2076
+ {
2077
+ "name": "DraftComponentMixin",
2078
+ "module": "/src/common/mixins/DraftComponentMixin.js"
2079
+ }
2080
+ ],
2081
+ "superclass": {
2082
+ "name": "LitElement",
2083
+ "package": "lit"
2084
+ },
2085
+ "status": "draft",
2086
+ "category": "form",
2087
+ "tagName": "nord-input",
2088
+ "customElement": true,
2089
+ "events": [
2090
+ {
2091
+ "name": "change",
2092
+ "type": {
2093
+ "text": "NordEvent"
2094
+ },
2095
+ "description": "Fired whenever the input's value is changed via user interaction.",
2096
+ "inheritedFrom": {
2097
+ "name": "FormAssociatedMixin",
2098
+ "module": "src/common/mixins/FormAssociatedMixin.ts"
2099
+ }
2100
+ }
2101
+ ]
2102
+ }
2103
+ ],
2104
+ "exports": [
2105
+ {
2106
+ "kind": "js",
2107
+ "name": "default",
2108
+ "declaration": {
2109
+ "name": "Input",
2110
+ "module": "src/input/Input.ts"
2111
+ }
2112
+ },
2113
+ {
2114
+ "kind": "custom-element-definition",
2115
+ "name": "nord-input",
2116
+ "declaration": {
2117
+ "name": "Input",
2118
+ "module": "src/input/Input.ts"
2119
+ }
2120
+ }
2121
+ ]
2122
+ },
2123
+ {
2124
+ "kind": "javascript-module",
2125
+ "path": "src/select/Select.ts",
2126
+ "declarations": [
2127
+ {
2128
+ "kind": "class",
2129
+ "description": "Select lets users choose one option from an options menu.\nConsider using select when you have 5 or more options to choose from.",
2130
+ "name": "Select",
2131
+ "slots": [
2132
+ {
2133
+ "description": "Default slot for holding <option> elements.",
2134
+ "name": ""
2135
+ },
2136
+ {
2137
+ "description": "Use when a label requires more than plain text.",
2138
+ "name": "label"
2139
+ },
2140
+ {
2141
+ "description": "Use when a hint requires more than plain text.",
2142
+ "name": "hint"
2143
+ },
2144
+ {
2145
+ "description": "Optional slot that holds error text for the input.",
2146
+ "name": "error"
2147
+ }
2148
+ ],
2149
+ "members": [
2150
+ {
2151
+ "kind": "field",
2152
+ "name": "hint",
2153
+ "type": {
2154
+ "text": "string | undefined"
2155
+ },
2156
+ "description": "Optional hint text to be displayed with select. Alternatively use the hint slot.",
2157
+ "attribute": "hint"
2158
+ },
2159
+ {
2160
+ "kind": "field",
2161
+ "name": "hideLabel",
2162
+ "type": {
2163
+ "text": "boolean"
2164
+ },
2165
+ "default": "false",
2166
+ "description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
2167
+ "attribute": "hide-label"
2168
+ },
2169
+ {
2170
+ "kind": "field",
2171
+ "name": "placeholder",
2172
+ "type": {
2173
+ "text": "string | undefined"
2174
+ },
2175
+ "description": "Hint text to display as the first option of the select element.",
2176
+ "attribute": "placeholder"
2177
+ },
2178
+ {
2179
+ "kind": "field",
2180
+ "name": "error",
2181
+ "type": {
2182
+ "text": "string | undefined"
2183
+ },
2184
+ "description": "Optional error to be shown with the select. Alternatively use the error slot.",
2185
+ "attribute": "error"
2186
+ },
2187
+ {
2188
+ "kind": "field",
2189
+ "name": "expand",
2190
+ "type": {
2191
+ "text": "boolean"
2192
+ },
2193
+ "default": "false",
2194
+ "description": "Controls whether the select expands to fill the width of its container.",
2195
+ "attribute": "expand",
2196
+ "reflects": true
2197
+ },
2198
+ {
2199
+ "kind": "method",
2200
+ "name": "handleSlotChange",
2201
+ "privacy": "private"
2202
+ },
2203
+ {
2204
+ "kind": "field",
2205
+ "name": "options",
2206
+ "privacy": "private"
2207
+ },
2208
+ {
2209
+ "kind": "method",
2210
+ "name": "getButtonText",
2211
+ "privacy": "private",
2212
+ "return": {
2213
+ "type": {
2214
+ "text": "string"
2215
+ }
2216
+ },
2217
+ "parameters": [
2218
+ {
2219
+ "name": "options",
2220
+ "type": {
2221
+ "text": "HTMLOptionElement[]"
2222
+ }
2223
+ }
2224
+ ]
2225
+ },
2226
+ {
2227
+ "kind": "method",
703
2228
  "name": "renderLabel",
2229
+ "privacy": "private",
2230
+ "parameters": [
2231
+ {
2232
+ "name": "hasHint",
2233
+ "type": {
2234
+ "text": "boolean"
2235
+ }
2236
+ }
2237
+ ]
2238
+ },
2239
+ {
2240
+ "kind": "method",
2241
+ "name": "renderHint",
2242
+ "privacy": "private"
2243
+ },
2244
+ {
2245
+ "kind": "method",
2246
+ "name": "renderError",
704
2247
  "privacy": "private"
705
2248
  },
706
2249
  {
@@ -716,6 +2259,19 @@
716
2259
  }
717
2260
  ]
718
2261
  },
2262
+ {
2263
+ "kind": "method",
2264
+ "name": "hasSlottedContent",
2265
+ "privacy": "private",
2266
+ "parameters": [
2267
+ {
2268
+ "name": "slotName",
2269
+ "type": {
2270
+ "text": "string"
2271
+ }
2272
+ }
2273
+ ]
2274
+ },
719
2275
  {
720
2276
  "kind": "field",
721
2277
  "name": "label",
@@ -864,9 +2420,31 @@
864
2420
  "name": "FocusableMixin",
865
2421
  "module": "src/common/mixins/FocusableMixin.ts"
866
2422
  }
2423
+ },
2424
+ {
2425
+ "kind": "field",
2426
+ "name": "_warningLogged",
2427
+ "type": {
2428
+ "text": "boolean"
2429
+ },
2430
+ "privacy": "private",
2431
+ "static": true,
2432
+ "default": "false",
2433
+ "inheritedFrom": {
2434
+ "name": "DraftComponentMixin",
2435
+ "module": "src/common/mixins/DraftComponentMixin.ts"
2436
+ }
867
2437
  }
868
2438
  ],
869
2439
  "attributes": [
2440
+ {
2441
+ "name": "hint",
2442
+ "type": {
2443
+ "text": "string | undefined"
2444
+ },
2445
+ "description": "Optional hint text to be displayed with select. Alternatively use the hint slot.",
2446
+ "fieldName": "hint"
2447
+ },
870
2448
  {
871
2449
  "name": "hide-label",
872
2450
  "type": {
@@ -884,6 +2462,14 @@
884
2462
  "description": "Hint text to display as the first option of the select element.",
885
2463
  "fieldName": "placeholder"
886
2464
  },
2465
+ {
2466
+ "name": "error",
2467
+ "type": {
2468
+ "text": "string | undefined"
2469
+ },
2470
+ "description": "Optional error to be shown with the select. Alternatively use the error slot.",
2471
+ "fieldName": "error"
2472
+ },
887
2473
  {
888
2474
  "name": "expand",
889
2475
  "type": {
@@ -969,6 +2555,10 @@
969
2555
  {
970
2556
  "name": "FocusableMixin",
971
2557
  "module": "/src/common/mixins/FocusableMixin.js"
2558
+ },
2559
+ {
2560
+ "name": "DraftComponentMixin",
2561
+ "module": "/src/common/mixins/DraftComponentMixin.js"
972
2562
  }
973
2563
  ],
974
2564
  "superclass": {
@@ -976,6 +2566,7 @@
976
2566
  "package": "lit"
977
2567
  },
978
2568
  "status": "draft",
2569
+ "category": "form",
979
2570
  "tagName": "nord-select",
980
2571
  "customElement": true,
981
2572
  "events": [
@@ -1018,7 +2609,7 @@
1018
2609
  "declarations": [
1019
2610
  {
1020
2611
  "kind": "class",
1021
- "description": "Stack component injects space between other components in the system. Use stack to create vertical or horizontal stack layouts.",
2612
+ "description": "Stack component manages layout of immediate children along the\nvertical or horizontal axis with optional spacing between each child.",
1022
2613
  "name": "Stack",
1023
2614
  "slots": [
1024
2615
  {
@@ -1048,6 +2639,30 @@
1048
2639
  "description": "The direction of the stack.",
1049
2640
  "attribute": "direction",
1050
2641
  "reflects": true
2642
+ },
2643
+ {
2644
+ "kind": "field",
2645
+ "name": "alignItems",
2646
+ "type": {
2647
+ "text": "\"center\" | \"start\" | \"end\" | undefined"
2648
+ },
2649
+ "description": "How to align the child items inside the stack.",
2650
+ "attribute": "align-items",
2651
+ "reflects": true
2652
+ },
2653
+ {
2654
+ "kind": "field",
2655
+ "name": "_warningLogged",
2656
+ "type": {
2657
+ "text": "boolean"
2658
+ },
2659
+ "privacy": "private",
2660
+ "static": true,
2661
+ "default": "false",
2662
+ "inheritedFrom": {
2663
+ "name": "DraftComponentMixin",
2664
+ "module": "src/common/mixins/DraftComponentMixin.ts"
2665
+ }
1051
2666
  }
1052
2667
  ],
1053
2668
  "attributes": [
@@ -1068,6 +2683,20 @@
1068
2683
  "default": "\"vertical\"",
1069
2684
  "description": "The direction of the stack.",
1070
2685
  "fieldName": "direction"
2686
+ },
2687
+ {
2688
+ "name": "align-items",
2689
+ "type": {
2690
+ "text": "\"center\" | \"start\" | \"end\" | undefined"
2691
+ },
2692
+ "description": "How to align the child items inside the stack.",
2693
+ "fieldName": "alignItems"
2694
+ }
2695
+ ],
2696
+ "mixins": [
2697
+ {
2698
+ "name": "DraftComponentMixin",
2699
+ "module": "/src/common/mixins/DraftComponentMixin.js"
1071
2700
  }
1072
2701
  ],
1073
2702
  "superclass": {
@@ -1075,6 +2704,7 @@
1075
2704
  "package": "lit"
1076
2705
  },
1077
2706
  "status": "draft",
2707
+ "category": "structure",
1078
2708
  "tagName": "nord-stack",
1079
2709
  "customElement": true
1080
2710
  }
@@ -1104,7 +2734,7 @@
1104
2734
  "declarations": [
1105
2735
  {
1106
2736
  "kind": "class",
1107
- "description": "Table is a lightweight and un-opinionated component for enhancing tabular data. It provides table styles in addition to features like sticky headers and support for narrow viewports.",
2737
+ "description": "Table is used to organize and display information from a data set.\nProvides table styles in addition to features like sticky\nheaders and support for narrow viewports.",
1108
2738
  "name": "Table",
1109
2739
  "slots": [
1110
2740
  {
@@ -1135,6 +2765,20 @@
1135
2765
  "name": "createRenderRoot",
1136
2766
  "privacy": "protected",
1137
2767
  "description": "opt out of shadow dom"
2768
+ },
2769
+ {
2770
+ "kind": "field",
2771
+ "name": "_warningLogged",
2772
+ "type": {
2773
+ "text": "boolean"
2774
+ },
2775
+ "privacy": "private",
2776
+ "static": true,
2777
+ "default": "false",
2778
+ "inheritedFrom": {
2779
+ "name": "DraftComponentMixin",
2780
+ "module": "src/common/mixins/DraftComponentMixin.ts"
2781
+ }
1138
2782
  }
1139
2783
  ],
1140
2784
  "attributes": [
@@ -1148,11 +2792,18 @@
1148
2792
  "fieldName": "density"
1149
2793
  }
1150
2794
  ],
2795
+ "mixins": [
2796
+ {
2797
+ "name": "DraftComponentMixin",
2798
+ "module": "/src/common/mixins/DraftComponentMixin.js"
2799
+ }
2800
+ ],
1151
2801
  "superclass": {
1152
2802
  "name": "LitElement",
1153
2803
  "package": "lit"
1154
2804
  },
1155
2805
  "status": "draft",
2806
+ "category": "list",
1156
2807
  "tagName": "nord-table",
1157
2808
  "customElement": true
1158
2809
  }
@@ -1182,7 +2833,7 @@
1182
2833
  "declarations": [
1183
2834
  {
1184
2835
  "kind": "class",
1185
- "description": "Visually Hidden is used when an element needs to be available to assistive technology, but be otherwise hidden.",
2836
+ "description": "Visually hidden is used when an element needs to be available\nto assistive technologies like screen readers, but be otherwise\nhidden.",
1186
2837
  "name": "VisuallyHidden",
1187
2838
  "slots": [
1188
2839
  {
@@ -1190,12 +2841,34 @@
1190
2841
  "name": ""
1191
2842
  }
1192
2843
  ],
1193
- "members": [],
2844
+ "members": [
2845
+ {
2846
+ "kind": "field",
2847
+ "name": "_warningLogged",
2848
+ "type": {
2849
+ "text": "boolean"
2850
+ },
2851
+ "privacy": "private",
2852
+ "static": true,
2853
+ "default": "false",
2854
+ "inheritedFrom": {
2855
+ "name": "DraftComponentMixin",
2856
+ "module": "src/common/mixins/DraftComponentMixin.ts"
2857
+ }
2858
+ }
2859
+ ],
2860
+ "mixins": [
2861
+ {
2862
+ "name": "DraftComponentMixin",
2863
+ "module": "/src/common/mixins/DraftComponentMixin.js"
2864
+ }
2865
+ ],
1194
2866
  "superclass": {
1195
2867
  "name": "LitElement",
1196
2868
  "package": "lit"
1197
2869
  },
1198
2870
  "status": "draft",
2871
+ "category": "text",
1199
2872
  "tagName": "nord-visually-hidden",
1200
2873
  "customElement": true
1201
2874
  }
@@ -1219,6 +2892,210 @@
1219
2892
  }
1220
2893
  ]
1221
2894
  },
2895
+ {
2896
+ "kind": "javascript-module",
2897
+ "path": "src/common/controllers/LightDismissController.ts",
2898
+ "declarations": [
2899
+ {
2900
+ "kind": "class",
2901
+ "description": "",
2902
+ "name": "LightDismissController",
2903
+ "members": [
2904
+ {
2905
+ "kind": "field",
2906
+ "name": "host",
2907
+ "type": {
2908
+ "text": "LitElement"
2909
+ },
2910
+ "privacy": "private",
2911
+ "default": "host"
2912
+ },
2913
+ {
2914
+ "kind": "field",
2915
+ "name": "shortcut",
2916
+ "type": {
2917
+ "text": "ShortcutController"
2918
+ },
2919
+ "privacy": "private",
2920
+ "default": "new ShortcutController(this.host, { Escape: onDismiss })"
2921
+ },
2922
+ {
2923
+ "kind": "field",
2924
+ "name": "onDismiss",
2925
+ "type": {
2926
+ "text": "EventListener"
2927
+ },
2928
+ "default": "onDismiss"
2929
+ },
2930
+ {
2931
+ "kind": "method",
2932
+ "name": "hostConnected"
2933
+ },
2934
+ {
2935
+ "kind": "method",
2936
+ "name": "hostDisconnected"
2937
+ },
2938
+ {
2939
+ "kind": "field",
2940
+ "name": "handleClickOut",
2941
+ "privacy": "private"
2942
+ }
2943
+ ]
2944
+ }
2945
+ ],
2946
+ "exports": [
2947
+ {
2948
+ "kind": "js",
2949
+ "name": "LightDismissController",
2950
+ "declaration": {
2951
+ "name": "LightDismissController",
2952
+ "module": "src/common/controllers/LightDismissController.ts"
2953
+ }
2954
+ }
2955
+ ]
2956
+ },
2957
+ {
2958
+ "kind": "javascript-module",
2959
+ "path": "src/common/controllers/ShortcutController.ts",
2960
+ "declarations": [
2961
+ {
2962
+ "kind": "class",
2963
+ "description": "",
2964
+ "name": "ShortcutController",
2965
+ "members": [
2966
+ {
2967
+ "kind": "field",
2968
+ "name": "target",
2969
+ "type": {
2970
+ "text": "ShortcutTarget"
2971
+ },
2972
+ "privacy": "private",
2973
+ "default": "target"
2974
+ },
2975
+ {
2976
+ "kind": "field",
2977
+ "name": "shortcuts",
2978
+ "type": {
2979
+ "text": "KeyBindingMap | undefined"
2980
+ },
2981
+ "privacy": "private",
2982
+ "default": "shortcuts"
2983
+ },
2984
+ {
2985
+ "kind": "field",
2986
+ "name": "unregister",
2987
+ "type": {
2988
+ "text": "ReturnType<typeof tinykeys> | undefined"
2989
+ },
2990
+ "privacy": "private"
2991
+ },
2992
+ {
2993
+ "kind": "method",
2994
+ "name": "hostConnected"
2995
+ },
2996
+ {
2997
+ "kind": "method",
2998
+ "name": "hostDisconnected"
2999
+ },
3000
+ {
3001
+ "kind": "method",
3002
+ "name": "unbind"
3003
+ },
3004
+ {
3005
+ "kind": "method",
3006
+ "name": "bind",
3007
+ "parameters": [
3008
+ {
3009
+ "name": "shortcuts",
3010
+ "type": {
3011
+ "text": "KeyBindingMap"
3012
+ }
3013
+ }
3014
+ ]
3015
+ }
3016
+ ]
3017
+ }
3018
+ ],
3019
+ "exports": [
3020
+ {
3021
+ "kind": "js",
3022
+ "name": "ShortcutController",
3023
+ "declaration": {
3024
+ "name": "ShortcutController",
3025
+ "module": "src/common/controllers/ShortcutController.ts"
3026
+ }
3027
+ },
3028
+ {
3029
+ "kind": "js",
3030
+ "name": "ShortcutMap",
3031
+ "declaration": {
3032
+ "name": "KeyBindingMap",
3033
+ "module": "src/common/controllers/ShortcutController.ts"
3034
+ }
3035
+ }
3036
+ ]
3037
+ },
3038
+ {
3039
+ "kind": "javascript-module",
3040
+ "path": "src/common/directives/cond.ts",
3041
+ "declarations": [
3042
+ {
3043
+ "kind": "variable",
3044
+ "name": "cond"
3045
+ }
3046
+ ],
3047
+ "exports": [
3048
+ {
3049
+ "kind": "js",
3050
+ "name": "cond",
3051
+ "declaration": {
3052
+ "name": "cond",
3053
+ "module": "src/common/directives/cond.ts"
3054
+ }
3055
+ }
3056
+ ]
3057
+ },
3058
+ {
3059
+ "kind": "javascript-module",
3060
+ "path": "src/common/mixins/DraftComponentMixin.ts",
3061
+ "declarations": [
3062
+ {
3063
+ "kind": "mixin",
3064
+ "description": "",
3065
+ "name": "DraftComponentMixin",
3066
+ "members": [
3067
+ {
3068
+ "kind": "field",
3069
+ "name": "_warningLogged",
3070
+ "type": {
3071
+ "text": "boolean"
3072
+ },
3073
+ "privacy": "private",
3074
+ "static": true,
3075
+ "default": "false"
3076
+ }
3077
+ ],
3078
+ "parameters": [
3079
+ {
3080
+ "name": "superClass",
3081
+ "type": {
3082
+ "text": "T"
3083
+ }
3084
+ }
3085
+ ]
3086
+ }
3087
+ ],
3088
+ "exports": [
3089
+ {
3090
+ "kind": "js",
3091
+ "name": "DraftComponentMixin",
3092
+ "declaration": {
3093
+ "name": "DraftComponentMixin",
3094
+ "module": "src/common/mixins/DraftComponentMixin.ts"
3095
+ }
3096
+ }
3097
+ ]
3098
+ },
1222
3099
  {
1223
3100
  "kind": "javascript-module",
1224
3101
  "path": "src/common/mixins/FocusableMixin.ts",