@nordhealth/components 1.0.0-alpha.35 → 1.0.0-alpha.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/custom-elements.json +348 -332
- package/lib/Button.js +1 -1
- package/lib/Button.js.map +1 -1
- package/lib/CommandMenu.js +2 -2
- package/lib/CommandMenu.js.map +1 -1
- package/lib/CommandMenuAction-f4f42d6b.js +7 -0
- package/lib/CommandMenuAction-f4f42d6b.js.map +1 -0
- package/lib/CommandMenuAction.js +1 -1
- package/lib/Icon-6e1f3f35.js +7 -0
- package/lib/Icon-6e1f3f35.js.map +1 -0
- package/lib/Icon.js +1 -1
- package/lib/Icon.js.map +1 -1
- package/lib/Input.js +1 -1
- package/lib/Input.js.map +1 -1
- package/lib/{InputMixin-6c108de4.js → InputMixin-3e737480.js} +2 -2
- package/lib/{InputMixin-6c108de4.js.map → InputMixin-3e737480.js.map} +1 -1
- package/lib/{KeyboardController-9a1b558b.js → KeyboardController-28c7135b.js} +2 -2
- package/lib/KeyboardController-28c7135b.js.map +1 -0
- package/lib/KeyboardController.js +1 -1
- package/lib/Select.js +1 -1
- package/lib/Select.js.map +1 -1
- package/lib/directive-40a31ee2.js +12 -0
- package/lib/directive-40a31ee2.js.map +1 -0
- package/lib/index.js +1 -1
- package/lib/{ref-65ef7607.js → ref-857246ae.js} +3 -3
- package/lib/{ref-65ef7607.js.map → ref-857246ae.js.map} +1 -1
- package/lib/src/command-menu/CommandMenu.d.ts +9 -3
- package/lib/src/common/controllers/LightDismissController.d.ts +8 -2
- package/lib/src/icon/Icon.d.ts +5 -4
- package/lib/{unsafe-html-21f62902.js → unsafe-html-7028f0a1.js} +2 -2
- package/lib/{unsafe-html-21f62902.js.map → unsafe-html-7028f0a1.js.map} +1 -1
- package/package.json +2 -2
- package/lib/CommandMenuAction-97598b47.js +0 -7
- package/lib/CommandMenuAction-97598b47.js.map +0 -1
- package/lib/KeyboardController-9a1b558b.js.map +0 -1
- package/lib/directive-e9ce14b4.js +0 -7
- package/lib/directive-e9ce14b4.js.map +0 -1
- package/lib/if-defined-617ae549.js +0 -7
- package/lib/if-defined-617ae549.js.map +0 -1
- package/lib/state-70f38ceb.js +0 -7
- package/lib/state-70f38ceb.js.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -350,6 +350,7 @@
|
|
|
350
350
|
{
|
|
351
351
|
"kind": "field",
|
|
352
352
|
"name": "form",
|
|
353
|
+
"privacy": "protected",
|
|
353
354
|
"description": "Gets the form, if any, associated with the input element.",
|
|
354
355
|
"inheritedFrom": {
|
|
355
356
|
"name": "InputMixin",
|
|
@@ -674,184 +675,6 @@
|
|
|
674
675
|
}
|
|
675
676
|
]
|
|
676
677
|
},
|
|
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
|
-
},
|
|
719
|
-
{
|
|
720
|
-
"kind": "javascript-module",
|
|
721
|
-
"path": "src/common/events.ts",
|
|
722
|
-
"declarations": [
|
|
723
|
-
{
|
|
724
|
-
"kind": "class",
|
|
725
|
-
"description": "A base class for events which defaults to bubbling and composed",
|
|
726
|
-
"name": "NordEvent",
|
|
727
|
-
"superclass": {
|
|
728
|
-
"name": "Event",
|
|
729
|
-
"module": "src/common/events.ts"
|
|
730
|
-
},
|
|
731
|
-
"status": null,
|
|
732
|
-
"category": null
|
|
733
|
-
}
|
|
734
|
-
],
|
|
735
|
-
"exports": [
|
|
736
|
-
{
|
|
737
|
-
"kind": "js",
|
|
738
|
-
"name": "NordEvent",
|
|
739
|
-
"declaration": {
|
|
740
|
-
"name": "NordEvent",
|
|
741
|
-
"module": "src/common/events.ts"
|
|
742
|
-
}
|
|
743
|
-
}
|
|
744
|
-
]
|
|
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
|
-
},
|
|
821
|
-
{
|
|
822
|
-
"kind": "javascript-module",
|
|
823
|
-
"path": "src/common/ref.ts",
|
|
824
|
-
"declarations": [
|
|
825
|
-
{
|
|
826
|
-
"kind": "function",
|
|
827
|
-
"name": "mergeRefs",
|
|
828
|
-
"return": {
|
|
829
|
-
"type": {
|
|
830
|
-
"text": "RefCallback"
|
|
831
|
-
}
|
|
832
|
-
},
|
|
833
|
-
"parameters": [
|
|
834
|
-
{
|
|
835
|
-
"name": "refs",
|
|
836
|
-
"type": {
|
|
837
|
-
"text": "Ref[]"
|
|
838
|
-
}
|
|
839
|
-
}
|
|
840
|
-
],
|
|
841
|
-
"description": "Creates a ref callback which will assign the element to every given ref"
|
|
842
|
-
}
|
|
843
|
-
],
|
|
844
|
-
"exports": [
|
|
845
|
-
{
|
|
846
|
-
"kind": "js",
|
|
847
|
-
"name": "mergeRefs",
|
|
848
|
-
"declaration": {
|
|
849
|
-
"name": "mergeRefs",
|
|
850
|
-
"module": "src/common/ref.ts"
|
|
851
|
-
}
|
|
852
|
-
}
|
|
853
|
-
]
|
|
854
|
-
},
|
|
855
678
|
{
|
|
856
679
|
"kind": "javascript-module",
|
|
857
680
|
"path": "src/command-menu/CommandMenu.ts",
|
|
@@ -889,7 +712,7 @@
|
|
|
889
712
|
"kind": "field",
|
|
890
713
|
"name": "dismissController",
|
|
891
714
|
"privacy": "private",
|
|
892
|
-
"default": "new LightDismissController(this, () => this.close())"
|
|
715
|
+
"default": "new LightDismissController(this, {\n isOpen: () => this.open,\n onDismiss: () => this.close(),\n })"
|
|
893
716
|
},
|
|
894
717
|
{
|
|
895
718
|
"kind": "field",
|
|
@@ -904,7 +727,7 @@
|
|
|
904
727
|
"text": "boolean"
|
|
905
728
|
},
|
|
906
729
|
"default": "false",
|
|
907
|
-
"description": "Show or hide
|
|
730
|
+
"description": "Show or hide the command menu.",
|
|
908
731
|
"attribute": "open"
|
|
909
732
|
},
|
|
910
733
|
{
|
|
@@ -924,15 +747,15 @@
|
|
|
924
747
|
"text": "Array<ICommandMenuAction>"
|
|
925
748
|
},
|
|
926
749
|
"default": "[]",
|
|
927
|
-
"description": "Array of commands to be included in the menu."
|
|
928
|
-
"attribute": "commands"
|
|
750
|
+
"description": "Array of commands to be included in the menu."
|
|
929
751
|
},
|
|
930
752
|
{
|
|
931
753
|
"kind": "field",
|
|
932
754
|
"name": "parent",
|
|
933
755
|
"type": {
|
|
934
756
|
"text": "string | undefined"
|
|
935
|
-
}
|
|
757
|
+
},
|
|
758
|
+
"privacy": "private"
|
|
936
759
|
},
|
|
937
760
|
{
|
|
938
761
|
"kind": "field",
|
|
@@ -940,6 +763,7 @@
|
|
|
940
763
|
"type": {
|
|
941
764
|
"text": "string"
|
|
942
765
|
},
|
|
766
|
+
"privacy": "private",
|
|
943
767
|
"default": "\"\""
|
|
944
768
|
},
|
|
945
769
|
{
|
|
@@ -986,7 +810,8 @@
|
|
|
986
810
|
"default": "{}",
|
|
987
811
|
"type": {
|
|
988
812
|
"text": "{ parent?: string }"
|
|
989
|
-
}
|
|
813
|
+
},
|
|
814
|
+
"description": "allows you to open the menu filtered to a specific parent command."
|
|
990
815
|
}
|
|
991
816
|
],
|
|
992
817
|
"description": "Show the command menu programmatically."
|
|
@@ -1006,6 +831,11 @@
|
|
|
1006
831
|
"name": "focus",
|
|
1007
832
|
"description": "Focus the command menu's input."
|
|
1008
833
|
},
|
|
834
|
+
{
|
|
835
|
+
"kind": "method",
|
|
836
|
+
"name": "renderNoResults",
|
|
837
|
+
"privacy": "private"
|
|
838
|
+
},
|
|
1009
839
|
{
|
|
1010
840
|
"kind": "method",
|
|
1011
841
|
"name": "renderSection",
|
|
@@ -1030,6 +860,11 @@
|
|
|
1030
860
|
"name": "handleAnimationEnd",
|
|
1031
861
|
"privacy": "private"
|
|
1032
862
|
},
|
|
863
|
+
{
|
|
864
|
+
"kind": "method",
|
|
865
|
+
"name": "handleBlur",
|
|
866
|
+
"privacy": "private"
|
|
867
|
+
},
|
|
1033
868
|
{
|
|
1034
869
|
"kind": "method",
|
|
1035
870
|
"name": "handleInput",
|
|
@@ -1135,21 +970,21 @@
|
|
|
1135
970
|
"type": {
|
|
1136
971
|
"text": "NordEvent"
|
|
1137
972
|
},
|
|
1138
|
-
"description": "The command menu was opened."
|
|
973
|
+
"description": "The command menu was opened foo."
|
|
1139
974
|
},
|
|
1140
975
|
{
|
|
1141
976
|
"name": "close",
|
|
1142
977
|
"type": {
|
|
1143
978
|
"text": "NordEvent"
|
|
1144
979
|
},
|
|
1145
|
-
"description": "The command menu was closed."
|
|
980
|
+
"description": "The command menu was closed bar."
|
|
1146
981
|
},
|
|
1147
982
|
{
|
|
1148
|
-
"name": "command",
|
|
1149
983
|
"type": {
|
|
1150
984
|
"text": "SelectEvent"
|
|
1151
985
|
},
|
|
1152
|
-
"description": "User selected a command from the menu."
|
|
986
|
+
"description": "User selected a command from the menu.",
|
|
987
|
+
"name": "n-select"
|
|
1153
988
|
}
|
|
1154
989
|
],
|
|
1155
990
|
"attributes": [
|
|
@@ -1159,7 +994,7 @@
|
|
|
1159
994
|
"text": "boolean"
|
|
1160
995
|
},
|
|
1161
996
|
"default": "false",
|
|
1162
|
-
"description": "Show or hide
|
|
997
|
+
"description": "Show or hide the command menu.",
|
|
1163
998
|
"fieldName": "open"
|
|
1164
999
|
},
|
|
1165
1000
|
{
|
|
@@ -1170,15 +1005,6 @@
|
|
|
1170
1005
|
"default": "\"Type a command or search...\"",
|
|
1171
1006
|
"description": "Hint text to display in the search field.",
|
|
1172
1007
|
"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
1008
|
}
|
|
1183
1009
|
],
|
|
1184
1010
|
"mixins": [
|
|
@@ -1331,7 +1157,7 @@
|
|
|
1331
1157
|
"text": "ShortcutController"
|
|
1332
1158
|
},
|
|
1333
1159
|
"privacy": "private",
|
|
1334
|
-
"default": "new ShortcutController(host, { \"$mod+k\": actions.toggleOpen })"
|
|
1160
|
+
"default": "new ShortcutController(host, { \"$mod+k\": preventDefault(actions.toggleOpen) })"
|
|
1335
1161
|
},
|
|
1336
1162
|
{
|
|
1337
1163
|
"kind": "field",
|
|
@@ -1458,7 +1284,8 @@
|
|
|
1458
1284
|
"name": "icon",
|
|
1459
1285
|
"type": {
|
|
1460
1286
|
"text": "{ title: string; default: string }"
|
|
1461
|
-
}
|
|
1287
|
+
},
|
|
1288
|
+
"description": "An object representing the icon to be registered, where \"title\" is the icon's name, and \"default\" is the SVG string.\nThis is intended to be used in cases where you import an icon's entire ES module and register it directly."
|
|
1462
1289
|
}
|
|
1463
1290
|
],
|
|
1464
1291
|
"description": "Register an individual icon so it can be rendered synchronously, to avoid loading over the network."
|
|
@@ -1477,13 +1304,15 @@
|
|
|
1477
1304
|
"name": "name",
|
|
1478
1305
|
"type": {
|
|
1479
1306
|
"text": "string"
|
|
1480
|
-
}
|
|
1307
|
+
},
|
|
1308
|
+
"description": "The name of the icon to be registered."
|
|
1481
1309
|
},
|
|
1482
1310
|
{
|
|
1483
1311
|
"name": "icon",
|
|
1484
1312
|
"type": {
|
|
1485
1313
|
"text": "string"
|
|
1486
|
-
}
|
|
1314
|
+
},
|
|
1315
|
+
"description": "The SVG string for the icon."
|
|
1487
1316
|
}
|
|
1488
1317
|
],
|
|
1489
1318
|
"description": "Register an individual icon so it can be rendered synchronously, to avoid loading over the network."
|
|
@@ -1556,6 +1385,7 @@
|
|
|
1556
1385
|
"type": {
|
|
1557
1386
|
"text": "string"
|
|
1558
1387
|
},
|
|
1388
|
+
"privacy": "private",
|
|
1559
1389
|
"default": "\"\""
|
|
1560
1390
|
},
|
|
1561
1391
|
{
|
|
@@ -1618,86 +1448,254 @@
|
|
|
1618
1448
|
"description": "An accessible label for the icon.\nIf no label is supplied, the icon is hidden from assistive technology.",
|
|
1619
1449
|
"fieldName": "label"
|
|
1620
1450
|
}
|
|
1621
|
-
],
|
|
1622
|
-
"mixins": [
|
|
1451
|
+
],
|
|
1452
|
+
"mixins": [
|
|
1453
|
+
{
|
|
1454
|
+
"name": "DraftComponentMixin",
|
|
1455
|
+
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
1456
|
+
}
|
|
1457
|
+
],
|
|
1458
|
+
"superclass": {
|
|
1459
|
+
"name": "LitElement",
|
|
1460
|
+
"package": "lit"
|
|
1461
|
+
},
|
|
1462
|
+
"status": "draft",
|
|
1463
|
+
"category": "image",
|
|
1464
|
+
"tagName": "nord-icon",
|
|
1465
|
+
"customElement": true
|
|
1466
|
+
}
|
|
1467
|
+
],
|
|
1468
|
+
"exports": [
|
|
1469
|
+
{
|
|
1470
|
+
"kind": "js",
|
|
1471
|
+
"name": "default",
|
|
1472
|
+
"declaration": {
|
|
1473
|
+
"name": "Icon",
|
|
1474
|
+
"module": "src/icon/Icon.ts"
|
|
1475
|
+
}
|
|
1476
|
+
},
|
|
1477
|
+
{
|
|
1478
|
+
"kind": "custom-element-definition",
|
|
1479
|
+
"name": "nord-icon",
|
|
1480
|
+
"declaration": {
|
|
1481
|
+
"name": "Icon",
|
|
1482
|
+
"module": "src/icon/Icon.ts"
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1485
|
+
]
|
|
1486
|
+
},
|
|
1487
|
+
{
|
|
1488
|
+
"kind": "javascript-module",
|
|
1489
|
+
"path": "src/common/collection.ts",
|
|
1490
|
+
"declarations": [
|
|
1491
|
+
{
|
|
1492
|
+
"kind": "function",
|
|
1493
|
+
"name": "groupBy",
|
|
1494
|
+
"parameters": [
|
|
1495
|
+
{
|
|
1496
|
+
"name": "array",
|
|
1497
|
+
"type": {
|
|
1498
|
+
"text": "Array<TObject>"
|
|
1499
|
+
},
|
|
1500
|
+
"description": "the collection of objects to group"
|
|
1501
|
+
},
|
|
1502
|
+
{
|
|
1503
|
+
"name": "key",
|
|
1504
|
+
"type": {
|
|
1505
|
+
"text": "TKey"
|
|
1506
|
+
},
|
|
1507
|
+
"description": "the property to group by"
|
|
1508
|
+
}
|
|
1509
|
+
],
|
|
1510
|
+
"description": "Groups an array objects by property value",
|
|
1511
|
+
"return": {
|
|
1512
|
+
"type": {
|
|
1513
|
+
"text": ""
|
|
1514
|
+
}
|
|
1515
|
+
}
|
|
1516
|
+
}
|
|
1517
|
+
],
|
|
1518
|
+
"exports": [
|
|
1519
|
+
{
|
|
1520
|
+
"kind": "js",
|
|
1521
|
+
"name": "groupBy",
|
|
1522
|
+
"declaration": {
|
|
1523
|
+
"name": "groupBy",
|
|
1524
|
+
"module": "src/common/collection.ts"
|
|
1525
|
+
}
|
|
1526
|
+
}
|
|
1527
|
+
]
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
"kind": "javascript-module",
|
|
1531
|
+
"path": "src/common/events.ts",
|
|
1532
|
+
"declarations": [
|
|
1533
|
+
{
|
|
1534
|
+
"kind": "class",
|
|
1535
|
+
"description": "A base class for events which defaults to bubbling and composed",
|
|
1536
|
+
"name": "NordEvent",
|
|
1537
|
+
"superclass": {
|
|
1538
|
+
"name": "Event",
|
|
1539
|
+
"module": "src/common/events.ts"
|
|
1540
|
+
},
|
|
1541
|
+
"status": null,
|
|
1542
|
+
"category": null
|
|
1543
|
+
}
|
|
1544
|
+
],
|
|
1545
|
+
"exports": [
|
|
1546
|
+
{
|
|
1547
|
+
"kind": "js",
|
|
1548
|
+
"name": "NordEvent",
|
|
1549
|
+
"declaration": {
|
|
1550
|
+
"name": "NordEvent",
|
|
1551
|
+
"module": "src/common/events.ts"
|
|
1552
|
+
}
|
|
1553
|
+
}
|
|
1554
|
+
]
|
|
1555
|
+
},
|
|
1556
|
+
{
|
|
1557
|
+
"kind": "javascript-module",
|
|
1558
|
+
"path": "src/common/focus.ts",
|
|
1559
|
+
"declarations": [
|
|
1560
|
+
{
|
|
1561
|
+
"kind": "function",
|
|
1562
|
+
"name": "getFocusedElement",
|
|
1563
|
+
"return": {
|
|
1564
|
+
"type": {
|
|
1565
|
+
"text": "Element | undefined"
|
|
1566
|
+
}
|
|
1567
|
+
},
|
|
1568
|
+
"parameters": [
|
|
1569
|
+
{
|
|
1570
|
+
"name": "root",
|
|
1571
|
+
"type": {
|
|
1572
|
+
"text": "Document | ShadowRoot"
|
|
1573
|
+
}
|
|
1574
|
+
}
|
|
1575
|
+
],
|
|
1576
|
+
"description": "Gets the currently focused element, taking shadow roots into account."
|
|
1577
|
+
}
|
|
1578
|
+
],
|
|
1579
|
+
"exports": [
|
|
1580
|
+
{
|
|
1581
|
+
"kind": "js",
|
|
1582
|
+
"name": "getFocusedElement",
|
|
1583
|
+
"declaration": {
|
|
1584
|
+
"name": "getFocusedElement",
|
|
1585
|
+
"module": "src/common/focus.ts"
|
|
1586
|
+
}
|
|
1587
|
+
}
|
|
1588
|
+
]
|
|
1589
|
+
},
|
|
1590
|
+
{
|
|
1591
|
+
"kind": "javascript-module",
|
|
1592
|
+
"path": "src/common/number.ts",
|
|
1593
|
+
"declarations": [
|
|
1594
|
+
{
|
|
1595
|
+
"kind": "function",
|
|
1596
|
+
"name": "wrap",
|
|
1597
|
+
"parameters": [
|
|
1598
|
+
{
|
|
1599
|
+
"name": "val",
|
|
1600
|
+
"type": {
|
|
1601
|
+
"text": "number"
|
|
1602
|
+
}
|
|
1603
|
+
},
|
|
1604
|
+
{
|
|
1605
|
+
"name": "min",
|
|
1606
|
+
"type": {
|
|
1607
|
+
"text": "number"
|
|
1608
|
+
}
|
|
1609
|
+
},
|
|
1610
|
+
{
|
|
1611
|
+
"name": "max",
|
|
1612
|
+
"type": {
|
|
1613
|
+
"text": "number"
|
|
1614
|
+
}
|
|
1615
|
+
}
|
|
1616
|
+
],
|
|
1617
|
+
"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"
|
|
1618
|
+
}
|
|
1619
|
+
],
|
|
1620
|
+
"exports": [
|
|
1621
|
+
{
|
|
1622
|
+
"kind": "js",
|
|
1623
|
+
"name": "wrap",
|
|
1624
|
+
"declaration": {
|
|
1625
|
+
"name": "wrap",
|
|
1626
|
+
"module": "src/common/number.ts"
|
|
1627
|
+
}
|
|
1628
|
+
}
|
|
1629
|
+
]
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
"kind": "javascript-module",
|
|
1633
|
+
"path": "src/common/ref.ts",
|
|
1634
|
+
"declarations": [
|
|
1635
|
+
{
|
|
1636
|
+
"kind": "function",
|
|
1637
|
+
"name": "mergeRefs",
|
|
1638
|
+
"return": {
|
|
1639
|
+
"type": {
|
|
1640
|
+
"text": "RefCallback"
|
|
1641
|
+
}
|
|
1642
|
+
},
|
|
1643
|
+
"parameters": [
|
|
1623
1644
|
{
|
|
1624
|
-
"name": "
|
|
1625
|
-
"
|
|
1645
|
+
"name": "refs",
|
|
1646
|
+
"type": {
|
|
1647
|
+
"text": "Ref[]"
|
|
1648
|
+
}
|
|
1626
1649
|
}
|
|
1627
1650
|
],
|
|
1628
|
-
"
|
|
1629
|
-
"name": "LitElement",
|
|
1630
|
-
"package": "lit"
|
|
1631
|
-
},
|
|
1632
|
-
"status": "draft",
|
|
1633
|
-
"category": "image",
|
|
1634
|
-
"tagName": "nord-icon",
|
|
1635
|
-
"customElement": true
|
|
1651
|
+
"description": "Creates a ref callback which will assign the element to every given ref"
|
|
1636
1652
|
}
|
|
1637
1653
|
],
|
|
1638
1654
|
"exports": [
|
|
1639
1655
|
{
|
|
1640
1656
|
"kind": "js",
|
|
1641
|
-
"name": "
|
|
1642
|
-
"declaration": {
|
|
1643
|
-
"name": "Icon",
|
|
1644
|
-
"module": "src/icon/Icon.ts"
|
|
1645
|
-
}
|
|
1646
|
-
},
|
|
1647
|
-
{
|
|
1648
|
-
"kind": "custom-element-definition",
|
|
1649
|
-
"name": "nord-icon",
|
|
1657
|
+
"name": "mergeRefs",
|
|
1650
1658
|
"declaration": {
|
|
1651
|
-
"name": "
|
|
1652
|
-
"module": "src/
|
|
1659
|
+
"name": "mergeRefs",
|
|
1660
|
+
"module": "src/common/ref.ts"
|
|
1653
1661
|
}
|
|
1654
1662
|
}
|
|
1655
1663
|
]
|
|
1656
1664
|
},
|
|
1657
1665
|
{
|
|
1658
1666
|
"kind": "javascript-module",
|
|
1659
|
-
"path": "src/
|
|
1667
|
+
"path": "src/select/Select.ts",
|
|
1660
1668
|
"declarations": [
|
|
1661
1669
|
{
|
|
1662
1670
|
"kind": "class",
|
|
1663
|
-
"description": "
|
|
1664
|
-
"name": "
|
|
1671
|
+
"description": "Select lets users choose one option from an options menu.\nConsider using select when you have 5 or more options to choose from.",
|
|
1672
|
+
"name": "Select",
|
|
1665
1673
|
"slots": [
|
|
1674
|
+
{
|
|
1675
|
+
"description": "Default slot for holding <option> elements.",
|
|
1676
|
+
"name": ""
|
|
1677
|
+
},
|
|
1666
1678
|
{
|
|
1667
1679
|
"description": "Use when a label requires more than plain text.",
|
|
1668
1680
|
"name": "label"
|
|
1669
1681
|
},
|
|
1670
1682
|
{
|
|
1671
|
-
"description": "
|
|
1683
|
+
"description": "Use when a hint requires more than plain text.",
|
|
1672
1684
|
"name": "hint"
|
|
1673
1685
|
},
|
|
1674
1686
|
{
|
|
1675
1687
|
"description": "Optional slot that holds error text for the input.",
|
|
1676
1688
|
"name": "error"
|
|
1677
|
-
},
|
|
1678
|
-
{
|
|
1679
|
-
"description": "Optional slot that holds an icon for the input.",
|
|
1680
|
-
"name": "before"
|
|
1681
1689
|
}
|
|
1682
1690
|
],
|
|
1683
1691
|
"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
1692
|
{
|
|
1695
1693
|
"kind": "field",
|
|
1696
1694
|
"name": "hint",
|
|
1697
1695
|
"type": {
|
|
1698
1696
|
"text": "string | undefined"
|
|
1699
1697
|
},
|
|
1700
|
-
"description": "Optional hint text to be displayed with
|
|
1698
|
+
"description": "Optional hint text to be displayed with select. Alternatively use the hint slot.",
|
|
1701
1699
|
"attribute": "hint"
|
|
1702
1700
|
},
|
|
1703
1701
|
{
|
|
@@ -1716,7 +1714,7 @@
|
|
|
1716
1714
|
"type": {
|
|
1717
1715
|
"text": "string | undefined"
|
|
1718
1716
|
},
|
|
1719
|
-
"description": "
|
|
1717
|
+
"description": "Hint text to display as the first option of the select element.",
|
|
1720
1718
|
"attribute": "placeholder"
|
|
1721
1719
|
},
|
|
1722
1720
|
{
|
|
@@ -1725,7 +1723,7 @@
|
|
|
1725
1723
|
"type": {
|
|
1726
1724
|
"text": "string | undefined"
|
|
1727
1725
|
},
|
|
1728
|
-
"description": "Optional error to be shown with
|
|
1726
|
+
"description": "Optional error to be shown with the select. Alternatively use the error slot.",
|
|
1729
1727
|
"attribute": "error"
|
|
1730
1728
|
},
|
|
1731
1729
|
{
|
|
@@ -1735,10 +1733,38 @@
|
|
|
1735
1733
|
"text": "boolean"
|
|
1736
1734
|
},
|
|
1737
1735
|
"default": "false",
|
|
1738
|
-
"description": "Controls whether the
|
|
1736
|
+
"description": "Controls whether the select expands to fill the width of its container.",
|
|
1739
1737
|
"attribute": "expand",
|
|
1740
1738
|
"reflects": true
|
|
1741
1739
|
},
|
|
1740
|
+
{
|
|
1741
|
+
"kind": "method",
|
|
1742
|
+
"name": "handleSlotChange",
|
|
1743
|
+
"privacy": "private"
|
|
1744
|
+
},
|
|
1745
|
+
{
|
|
1746
|
+
"kind": "field",
|
|
1747
|
+
"name": "options",
|
|
1748
|
+
"privacy": "private"
|
|
1749
|
+
},
|
|
1750
|
+
{
|
|
1751
|
+
"kind": "method",
|
|
1752
|
+
"name": "getButtonText",
|
|
1753
|
+
"privacy": "private",
|
|
1754
|
+
"return": {
|
|
1755
|
+
"type": {
|
|
1756
|
+
"text": "string"
|
|
1757
|
+
}
|
|
1758
|
+
},
|
|
1759
|
+
"parameters": [
|
|
1760
|
+
{
|
|
1761
|
+
"name": "options",
|
|
1762
|
+
"type": {
|
|
1763
|
+
"text": "HTMLOptionElement[]"
|
|
1764
|
+
}
|
|
1765
|
+
}
|
|
1766
|
+
]
|
|
1767
|
+
},
|
|
1742
1768
|
{
|
|
1743
1769
|
"kind": "method",
|
|
1744
1770
|
"name": "renderLabel",
|
|
@@ -1764,8 +1790,16 @@
|
|
|
1764
1790
|
},
|
|
1765
1791
|
{
|
|
1766
1792
|
"kind": "method",
|
|
1767
|
-
"name": "
|
|
1768
|
-
"privacy": "private"
|
|
1793
|
+
"name": "renderOption",
|
|
1794
|
+
"privacy": "private",
|
|
1795
|
+
"parameters": [
|
|
1796
|
+
{
|
|
1797
|
+
"name": "option",
|
|
1798
|
+
"type": {
|
|
1799
|
+
"text": "HTMLOptionElement"
|
|
1800
|
+
}
|
|
1801
|
+
}
|
|
1802
|
+
]
|
|
1769
1803
|
},
|
|
1770
1804
|
{
|
|
1771
1805
|
"kind": "method",
|
|
@@ -1877,6 +1911,7 @@
|
|
|
1877
1911
|
{
|
|
1878
1912
|
"kind": "field",
|
|
1879
1913
|
"name": "form",
|
|
1914
|
+
"privacy": "protected",
|
|
1880
1915
|
"description": "Gets the form, if any, associated with the input element.",
|
|
1881
1916
|
"inheritedFrom": {
|
|
1882
1917
|
"name": "InputMixin",
|
|
@@ -1945,21 +1980,12 @@
|
|
|
1945
1980
|
}
|
|
1946
1981
|
],
|
|
1947
1982
|
"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
1983
|
{
|
|
1958
1984
|
"name": "hint",
|
|
1959
1985
|
"type": {
|
|
1960
1986
|
"text": "string | undefined"
|
|
1961
1987
|
},
|
|
1962
|
-
"description": "Optional hint text to be displayed with
|
|
1988
|
+
"description": "Optional hint text to be displayed with select. Alternatively use the hint slot.",
|
|
1963
1989
|
"fieldName": "hint"
|
|
1964
1990
|
},
|
|
1965
1991
|
{
|
|
@@ -1976,7 +2002,7 @@
|
|
|
1976
2002
|
"type": {
|
|
1977
2003
|
"text": "string | undefined"
|
|
1978
2004
|
},
|
|
1979
|
-
"description": "
|
|
2005
|
+
"description": "Hint text to display as the first option of the select element.",
|
|
1980
2006
|
"fieldName": "placeholder"
|
|
1981
2007
|
},
|
|
1982
2008
|
{
|
|
@@ -1984,7 +2010,7 @@
|
|
|
1984
2010
|
"type": {
|
|
1985
2011
|
"text": "string | undefined"
|
|
1986
2012
|
},
|
|
1987
|
-
"description": "Optional error to be shown with
|
|
2013
|
+
"description": "Optional error to be shown with the select. Alternatively use the error slot.",
|
|
1988
2014
|
"fieldName": "error"
|
|
1989
2015
|
},
|
|
1990
2016
|
{
|
|
@@ -1993,7 +2019,7 @@
|
|
|
1993
2019
|
"text": "boolean"
|
|
1994
2020
|
},
|
|
1995
2021
|
"default": "false",
|
|
1996
|
-
"description": "Controls whether the
|
|
2022
|
+
"description": "Controls whether the select expands to fill the width of its container.",
|
|
1997
2023
|
"fieldName": "expand"
|
|
1998
2024
|
},
|
|
1999
2025
|
{
|
|
@@ -2084,7 +2110,7 @@
|
|
|
2084
2110
|
},
|
|
2085
2111
|
"status": "draft",
|
|
2086
2112
|
"category": "form",
|
|
2087
|
-
"tagName": "nord-
|
|
2113
|
+
"tagName": "nord-select",
|
|
2088
2114
|
"customElement": true,
|
|
2089
2115
|
"events": [
|
|
2090
2116
|
{
|
|
@@ -2106,54 +2132,64 @@
|
|
|
2106
2132
|
"kind": "js",
|
|
2107
2133
|
"name": "default",
|
|
2108
2134
|
"declaration": {
|
|
2109
|
-
"name": "
|
|
2110
|
-
"module": "src/
|
|
2135
|
+
"name": "Select",
|
|
2136
|
+
"module": "src/select/Select.ts"
|
|
2111
2137
|
}
|
|
2112
2138
|
},
|
|
2113
2139
|
{
|
|
2114
2140
|
"kind": "custom-element-definition",
|
|
2115
|
-
"name": "nord-
|
|
2141
|
+
"name": "nord-select",
|
|
2116
2142
|
"declaration": {
|
|
2117
|
-
"name": "
|
|
2118
|
-
"module": "src/
|
|
2143
|
+
"name": "Select",
|
|
2144
|
+
"module": "src/select/Select.ts"
|
|
2119
2145
|
}
|
|
2120
2146
|
}
|
|
2121
2147
|
]
|
|
2122
2148
|
},
|
|
2123
2149
|
{
|
|
2124
2150
|
"kind": "javascript-module",
|
|
2125
|
-
"path": "src/
|
|
2151
|
+
"path": "src/input/Input.ts",
|
|
2126
2152
|
"declarations": [
|
|
2127
2153
|
{
|
|
2128
2154
|
"kind": "class",
|
|
2129
|
-
"description": "
|
|
2130
|
-
"name": "
|
|
2155
|
+
"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.",
|
|
2156
|
+
"name": "Input",
|
|
2131
2157
|
"slots": [
|
|
2132
|
-
{
|
|
2133
|
-
"description": "Default slot for holding <option> elements.",
|
|
2134
|
-
"name": ""
|
|
2135
|
-
},
|
|
2136
2158
|
{
|
|
2137
2159
|
"description": "Use when a label requires more than plain text.",
|
|
2138
2160
|
"name": "label"
|
|
2139
2161
|
},
|
|
2140
2162
|
{
|
|
2141
|
-
"description": "
|
|
2163
|
+
"description": "Optional slot that holds hint text for the input.",
|
|
2142
2164
|
"name": "hint"
|
|
2143
2165
|
},
|
|
2144
2166
|
{
|
|
2145
2167
|
"description": "Optional slot that holds error text for the input.",
|
|
2146
2168
|
"name": "error"
|
|
2169
|
+
},
|
|
2170
|
+
{
|
|
2171
|
+
"description": "Optional slot that holds an icon for the input.",
|
|
2172
|
+
"name": "before"
|
|
2147
2173
|
}
|
|
2148
2174
|
],
|
|
2149
2175
|
"members": [
|
|
2176
|
+
{
|
|
2177
|
+
"kind": "field",
|
|
2178
|
+
"name": "type",
|
|
2179
|
+
"type": {
|
|
2180
|
+
"text": "\"text\" | \"email\" | \"password\" | \"tel\" | \"url\" | \"search\" | \"number\""
|
|
2181
|
+
},
|
|
2182
|
+
"default": "\"text\"",
|
|
2183
|
+
"description": "The type of the input.",
|
|
2184
|
+
"attribute": "type"
|
|
2185
|
+
},
|
|
2150
2186
|
{
|
|
2151
2187
|
"kind": "field",
|
|
2152
2188
|
"name": "hint",
|
|
2153
2189
|
"type": {
|
|
2154
2190
|
"text": "string | undefined"
|
|
2155
2191
|
},
|
|
2156
|
-
"description": "Optional hint text to be displayed with
|
|
2192
|
+
"description": "Optional hint text to be displayed with input. Alternatively use the hint slot.",
|
|
2157
2193
|
"attribute": "hint"
|
|
2158
2194
|
},
|
|
2159
2195
|
{
|
|
@@ -2172,7 +2208,7 @@
|
|
|
2172
2208
|
"type": {
|
|
2173
2209
|
"text": "string | undefined"
|
|
2174
2210
|
},
|
|
2175
|
-
"description": "
|
|
2211
|
+
"description": "Placeholder of the input.",
|
|
2176
2212
|
"attribute": "placeholder"
|
|
2177
2213
|
},
|
|
2178
2214
|
{
|
|
@@ -2181,7 +2217,7 @@
|
|
|
2181
2217
|
"type": {
|
|
2182
2218
|
"text": "string | undefined"
|
|
2183
2219
|
},
|
|
2184
|
-
"description": "Optional error to be shown with
|
|
2220
|
+
"description": "Optional error to be shown with input. Alternatively use the error slot.",
|
|
2185
2221
|
"attribute": "error"
|
|
2186
2222
|
},
|
|
2187
2223
|
{
|
|
@@ -2191,38 +2227,10 @@
|
|
|
2191
2227
|
"text": "boolean"
|
|
2192
2228
|
},
|
|
2193
2229
|
"default": "false",
|
|
2194
|
-
"description": "Controls whether the
|
|
2230
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
2195
2231
|
"attribute": "expand",
|
|
2196
2232
|
"reflects": true
|
|
2197
2233
|
},
|
|
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
2234
|
{
|
|
2227
2235
|
"kind": "method",
|
|
2228
2236
|
"name": "renderLabel",
|
|
@@ -2248,16 +2256,8 @@
|
|
|
2248
2256
|
},
|
|
2249
2257
|
{
|
|
2250
2258
|
"kind": "method",
|
|
2251
|
-
"name": "
|
|
2252
|
-
"privacy": "private"
|
|
2253
|
-
"parameters": [
|
|
2254
|
-
{
|
|
2255
|
-
"name": "option",
|
|
2256
|
-
"type": {
|
|
2257
|
-
"text": "HTMLOptionElement"
|
|
2258
|
-
}
|
|
2259
|
-
}
|
|
2260
|
-
]
|
|
2259
|
+
"name": "handleSlotChange",
|
|
2260
|
+
"privacy": "private"
|
|
2261
2261
|
},
|
|
2262
2262
|
{
|
|
2263
2263
|
"kind": "method",
|
|
@@ -2369,6 +2369,7 @@
|
|
|
2369
2369
|
{
|
|
2370
2370
|
"kind": "field",
|
|
2371
2371
|
"name": "form",
|
|
2372
|
+
"privacy": "protected",
|
|
2372
2373
|
"description": "Gets the form, if any, associated with the input element.",
|
|
2373
2374
|
"inheritedFrom": {
|
|
2374
2375
|
"name": "InputMixin",
|
|
@@ -2437,12 +2438,21 @@
|
|
|
2437
2438
|
}
|
|
2438
2439
|
],
|
|
2439
2440
|
"attributes": [
|
|
2441
|
+
{
|
|
2442
|
+
"name": "type",
|
|
2443
|
+
"type": {
|
|
2444
|
+
"text": "\"text\" | \"email\" | \"password\" | \"tel\" | \"url\" | \"search\" | \"number\""
|
|
2445
|
+
},
|
|
2446
|
+
"default": "\"text\"",
|
|
2447
|
+
"description": "The type of the input.",
|
|
2448
|
+
"fieldName": "type"
|
|
2449
|
+
},
|
|
2440
2450
|
{
|
|
2441
2451
|
"name": "hint",
|
|
2442
2452
|
"type": {
|
|
2443
2453
|
"text": "string | undefined"
|
|
2444
2454
|
},
|
|
2445
|
-
"description": "Optional hint text to be displayed with
|
|
2455
|
+
"description": "Optional hint text to be displayed with input. Alternatively use the hint slot.",
|
|
2446
2456
|
"fieldName": "hint"
|
|
2447
2457
|
},
|
|
2448
2458
|
{
|
|
@@ -2459,7 +2469,7 @@
|
|
|
2459
2469
|
"type": {
|
|
2460
2470
|
"text": "string | undefined"
|
|
2461
2471
|
},
|
|
2462
|
-
"description": "
|
|
2472
|
+
"description": "Placeholder of the input.",
|
|
2463
2473
|
"fieldName": "placeholder"
|
|
2464
2474
|
},
|
|
2465
2475
|
{
|
|
@@ -2467,7 +2477,7 @@
|
|
|
2467
2477
|
"type": {
|
|
2468
2478
|
"text": "string | undefined"
|
|
2469
2479
|
},
|
|
2470
|
-
"description": "Optional error to be shown with
|
|
2480
|
+
"description": "Optional error to be shown with input. Alternatively use the error slot.",
|
|
2471
2481
|
"fieldName": "error"
|
|
2472
2482
|
},
|
|
2473
2483
|
{
|
|
@@ -2476,7 +2486,7 @@
|
|
|
2476
2486
|
"text": "boolean"
|
|
2477
2487
|
},
|
|
2478
2488
|
"default": "false",
|
|
2479
|
-
"description": "Controls whether the
|
|
2489
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
2480
2490
|
"fieldName": "expand"
|
|
2481
2491
|
},
|
|
2482
2492
|
{
|
|
@@ -2567,7 +2577,7 @@
|
|
|
2567
2577
|
},
|
|
2568
2578
|
"status": "draft",
|
|
2569
2579
|
"category": "form",
|
|
2570
|
-
"tagName": "nord-
|
|
2580
|
+
"tagName": "nord-input",
|
|
2571
2581
|
"customElement": true,
|
|
2572
2582
|
"events": [
|
|
2573
2583
|
{
|
|
@@ -2589,16 +2599,16 @@
|
|
|
2589
2599
|
"kind": "js",
|
|
2590
2600
|
"name": "default",
|
|
2591
2601
|
"declaration": {
|
|
2592
|
-
"name": "
|
|
2593
|
-
"module": "src/
|
|
2602
|
+
"name": "Input",
|
|
2603
|
+
"module": "src/input/Input.ts"
|
|
2594
2604
|
}
|
|
2595
2605
|
},
|
|
2596
2606
|
{
|
|
2597
2607
|
"kind": "custom-element-definition",
|
|
2598
|
-
"name": "nord-
|
|
2608
|
+
"name": "nord-input",
|
|
2599
2609
|
"declaration": {
|
|
2600
|
-
"name": "
|
|
2601
|
-
"module": "src/
|
|
2610
|
+
"name": "Input",
|
|
2611
|
+
"module": "src/input/Input.ts"
|
|
2602
2612
|
}
|
|
2603
2613
|
}
|
|
2604
2614
|
]
|
|
@@ -2917,15 +2927,15 @@
|
|
|
2917
2927
|
"text": "ShortcutController"
|
|
2918
2928
|
},
|
|
2919
2929
|
"privacy": "private",
|
|
2920
|
-
"default": "new ShortcutController(this.host, { Escape:
|
|
2930
|
+
"default": "new ShortcutController(this.host, { Escape: this.handleEsc })"
|
|
2921
2931
|
},
|
|
2922
2932
|
{
|
|
2923
2933
|
"kind": "field",
|
|
2924
|
-
"name": "
|
|
2934
|
+
"name": "options",
|
|
2925
2935
|
"type": {
|
|
2926
|
-
"text": "
|
|
2936
|
+
"text": "LightDismissOptions"
|
|
2927
2937
|
},
|
|
2928
|
-
"default": "
|
|
2938
|
+
"default": "options"
|
|
2929
2939
|
},
|
|
2930
2940
|
{
|
|
2931
2941
|
"kind": "method",
|
|
@@ -2935,6 +2945,11 @@
|
|
|
2935
2945
|
"kind": "method",
|
|
2936
2946
|
"name": "hostDisconnected"
|
|
2937
2947
|
},
|
|
2948
|
+
{
|
|
2949
|
+
"kind": "field",
|
|
2950
|
+
"name": "handleEsc",
|
|
2951
|
+
"privacy": "private"
|
|
2952
|
+
},
|
|
2938
2953
|
{
|
|
2939
2954
|
"kind": "field",
|
|
2940
2955
|
"name": "handleClickOut",
|
|
@@ -3436,6 +3451,7 @@
|
|
|
3436
3451
|
{
|
|
3437
3452
|
"kind": "field",
|
|
3438
3453
|
"name": "form",
|
|
3454
|
+
"privacy": "protected",
|
|
3439
3455
|
"description": "Gets the form, if any, associated with the input element."
|
|
3440
3456
|
}
|
|
3441
3457
|
],
|