@nordhealth/components 1.0.0-alpha.34 → 1.0.0-alpha.38
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 +1536 -512
- package/lib/Button.js +1 -1
- package/lib/Button.js.map +1 -1
- package/lib/Card.js +1 -1
- package/lib/Card.js.map +1 -1
- package/lib/CommandMenu.js +2 -2
- package/lib/CommandMenu.js.map +1 -1
- package/lib/CommandMenuAction-879382c7.js +7 -0
- package/lib/CommandMenuAction-879382c7.js.map +1 -0
- package/lib/CommandMenuAction.js +1 -1
- package/lib/FormField-02dd3b4f.js +2 -0
- package/lib/FormField-02dd3b4f.js.map +1 -0
- package/lib/Icon-f6f1c764.js +7 -0
- package/lib/Icon-f6f1c764.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/SlotController-fda28afb.js +2 -0
- package/lib/SlotController-fda28afb.js.map +1 -0
- package/lib/TextField-afe4d64f.js +2 -0
- package/lib/TextField-afe4d64f.js.map +1 -0
- package/lib/Textarea.js +2 -0
- package/lib/Textarea.js.map +1 -0
- package/lib/directive-40a31ee2.js +12 -0
- package/lib/directive-40a31ee2.js.map +1 -0
- package/lib/events-731d0007.js +2 -0
- package/lib/events-731d0007.js.map +1 -0
- package/lib/events.js +1 -1
- package/lib/events.js.map +1 -1
- 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/button/Button.d.ts +2 -2
- package/lib/src/button/Button.test.d.ts +1 -0
- package/lib/src/card/Card.d.ts +1 -2
- package/lib/src/command-menu/CommandMenu.d.ts +9 -3
- package/lib/src/common/controllers/LightDismissController.d.ts +8 -2
- package/lib/src/common/controllers/SlotController.d.ts +9 -0
- package/lib/src/common/mixins/FormAssociatedMixin.d.ts +13 -1
- package/lib/src/icon/Icon.d.ts +5 -4
- package/lib/src/index.d.ts +1 -0
- package/lib/src/input/Input.d.ts +1 -26
- package/lib/src/input/Input.test.d.ts +1 -0
- package/lib/src/select/Select.d.ts +1 -25
- package/lib/src/table/Table.test.d.ts +2 -0
- package/lib/src/textarea/Textarea.d.ts +33 -0
- package/lib/src/textarea/Textarea.test.d.ts +1 -0
- 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 +4 -4
- package/lib/CommandMenuAction-97598b47.js +0 -7
- package/lib/CommandMenuAction-97598b47.js.map +0 -1
- package/lib/FormAssociatedMixin-c9674b41.js +0 -2
- package/lib/FormAssociatedMixin-c9674b41.js.map +0 -1
- package/lib/KeyboardController-9a1b558b.js.map +0 -1
- package/lib/collection.js +0 -2
- package/lib/collection.js.map +0 -1
- package/lib/directive-e9ce14b4.js +0 -7
- package/lib/directive-e9ce14b4.js.map +0 -1
- package/lib/events2.js +0 -2
- package/lib/events2.js.map +0 -1
- package/lib/focus.js +0 -2
- package/lib/focus.js.map +0 -1
- package/lib/if-defined-617ae549.js +0 -7
- package/lib/if-defined-617ae549.js.map +0 -1
- package/lib/number.js +0 -2
- package/lib/number.js.map +0 -1
- package/lib/ref.js +0 -2
- package/lib/ref.js.map +0 -1
- package/lib/state-70f38ceb.js +0 -7
- package/lib/state-70f38ceb.js.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -94,6 +94,14 @@
|
|
|
94
94
|
"name": "default",
|
|
95
95
|
"module": "\"./visually-hidden/VisuallyHidden.js\""
|
|
96
96
|
}
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"kind": "js",
|
|
100
|
+
"name": "Textarea",
|
|
101
|
+
"declaration": {
|
|
102
|
+
"name": "default",
|
|
103
|
+
"module": "\"./textarea/Textarea.js\""
|
|
104
|
+
}
|
|
97
105
|
}
|
|
98
106
|
]
|
|
99
107
|
},
|
|
@@ -216,7 +224,7 @@
|
|
|
216
224
|
"kind": "field",
|
|
217
225
|
"name": "variant",
|
|
218
226
|
"type": {
|
|
219
|
-
"text": "\"default\" | \"primary\" | \"dashed\" | \"plain\""
|
|
227
|
+
"text": "\"default\" | \"primary\" | \"dashed\" | \"plain\" | \"danger\""
|
|
220
228
|
},
|
|
221
229
|
"default": "\"default\"",
|
|
222
230
|
"description": "The style variant of the button.",
|
|
@@ -238,7 +246,7 @@
|
|
|
238
246
|
"kind": "field",
|
|
239
247
|
"name": "size",
|
|
240
248
|
"type": {
|
|
241
|
-
"text": "\"s\" | \"m\""
|
|
249
|
+
"text": "\"s\" | \"m\" | \"l\""
|
|
242
250
|
},
|
|
243
251
|
"default": "\"m\"",
|
|
244
252
|
"description": "The size of the button.\nThis affects font-size and padding.",
|
|
@@ -350,6 +358,7 @@
|
|
|
350
358
|
{
|
|
351
359
|
"kind": "field",
|
|
352
360
|
"name": "form",
|
|
361
|
+
"privacy": "protected",
|
|
353
362
|
"description": "Gets the form, if any, associated with the input element.",
|
|
354
363
|
"inheritedFrom": {
|
|
355
364
|
"name": "InputMixin",
|
|
@@ -421,7 +430,7 @@
|
|
|
421
430
|
{
|
|
422
431
|
"name": "variant",
|
|
423
432
|
"type": {
|
|
424
|
-
"text": "\"default\" | \"primary\" | \"dashed\" | \"plain\""
|
|
433
|
+
"text": "\"default\" | \"primary\" | \"dashed\" | \"plain\" | \"danger\""
|
|
425
434
|
},
|
|
426
435
|
"default": "\"default\"",
|
|
427
436
|
"description": "The style variant of the button.",
|
|
@@ -439,7 +448,7 @@
|
|
|
439
448
|
{
|
|
440
449
|
"name": "size",
|
|
441
450
|
"type": {
|
|
442
|
-
"text": "\"s\" | \"m\""
|
|
451
|
+
"text": "\"s\" | \"m\" | \"l\""
|
|
443
452
|
},
|
|
444
453
|
"default": "\"m\"",
|
|
445
454
|
"description": "The size of the button.\nThis affects font-size and padding.",
|
|
@@ -584,6 +593,12 @@
|
|
|
584
593
|
}
|
|
585
594
|
],
|
|
586
595
|
"members": [
|
|
596
|
+
{
|
|
597
|
+
"kind": "field",
|
|
598
|
+
"name": "slots",
|
|
599
|
+
"privacy": "private",
|
|
600
|
+
"default": "new SlotController(this)"
|
|
601
|
+
},
|
|
587
602
|
{
|
|
588
603
|
"kind": "field",
|
|
589
604
|
"name": "padding",
|
|
@@ -595,24 +610,6 @@
|
|
|
595
610
|
"attribute": "padding",
|
|
596
611
|
"reflects": true
|
|
597
612
|
},
|
|
598
|
-
{
|
|
599
|
-
"kind": "method",
|
|
600
|
-
"name": "handleSlotChange",
|
|
601
|
-
"privacy": "private"
|
|
602
|
-
},
|
|
603
|
-
{
|
|
604
|
-
"kind": "method",
|
|
605
|
-
"name": "hasSlottedContent",
|
|
606
|
-
"privacy": "private",
|
|
607
|
-
"parameters": [
|
|
608
|
-
{
|
|
609
|
-
"name": "slotName",
|
|
610
|
-
"type": {
|
|
611
|
-
"text": "string"
|
|
612
|
-
}
|
|
613
|
-
}
|
|
614
|
-
]
|
|
615
|
-
},
|
|
616
613
|
{
|
|
617
614
|
"kind": "field",
|
|
618
615
|
"name": "_warningLogged",
|
|
@@ -674,184 +671,6 @@
|
|
|
674
671
|
}
|
|
675
672
|
]
|
|
676
673
|
},
|
|
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
674
|
{
|
|
856
675
|
"kind": "javascript-module",
|
|
857
676
|
"path": "src/command-menu/CommandMenu.ts",
|
|
@@ -889,7 +708,7 @@
|
|
|
889
708
|
"kind": "field",
|
|
890
709
|
"name": "dismissController",
|
|
891
710
|
"privacy": "private",
|
|
892
|
-
"default": "new LightDismissController(this, () => this.close())"
|
|
711
|
+
"default": "new LightDismissController(this, {\n isOpen: () => this.open,\n onDismiss: () => this.close(),\n })"
|
|
893
712
|
},
|
|
894
713
|
{
|
|
895
714
|
"kind": "field",
|
|
@@ -904,7 +723,7 @@
|
|
|
904
723
|
"text": "boolean"
|
|
905
724
|
},
|
|
906
725
|
"default": "false",
|
|
907
|
-
"description": "Show or hide
|
|
726
|
+
"description": "Show or hide the command menu.",
|
|
908
727
|
"attribute": "open"
|
|
909
728
|
},
|
|
910
729
|
{
|
|
@@ -924,15 +743,15 @@
|
|
|
924
743
|
"text": "Array<ICommandMenuAction>"
|
|
925
744
|
},
|
|
926
745
|
"default": "[]",
|
|
927
|
-
"description": "Array of commands to be included in the menu."
|
|
928
|
-
"attribute": "commands"
|
|
746
|
+
"description": "Array of commands to be included in the menu."
|
|
929
747
|
},
|
|
930
748
|
{
|
|
931
749
|
"kind": "field",
|
|
932
750
|
"name": "parent",
|
|
933
751
|
"type": {
|
|
934
752
|
"text": "string | undefined"
|
|
935
|
-
}
|
|
753
|
+
},
|
|
754
|
+
"privacy": "private"
|
|
936
755
|
},
|
|
937
756
|
{
|
|
938
757
|
"kind": "field",
|
|
@@ -940,6 +759,7 @@
|
|
|
940
759
|
"type": {
|
|
941
760
|
"text": "string"
|
|
942
761
|
},
|
|
762
|
+
"privacy": "private",
|
|
943
763
|
"default": "\"\""
|
|
944
764
|
},
|
|
945
765
|
{
|
|
@@ -986,7 +806,8 @@
|
|
|
986
806
|
"default": "{}",
|
|
987
807
|
"type": {
|
|
988
808
|
"text": "{ parent?: string }"
|
|
989
|
-
}
|
|
809
|
+
},
|
|
810
|
+
"description": "allows you to open the menu filtered to a specific parent command."
|
|
990
811
|
}
|
|
991
812
|
],
|
|
992
813
|
"description": "Show the command menu programmatically."
|
|
@@ -1006,6 +827,11 @@
|
|
|
1006
827
|
"name": "focus",
|
|
1007
828
|
"description": "Focus the command menu's input."
|
|
1008
829
|
},
|
|
830
|
+
{
|
|
831
|
+
"kind": "method",
|
|
832
|
+
"name": "renderNoResults",
|
|
833
|
+
"privacy": "private"
|
|
834
|
+
},
|
|
1009
835
|
{
|
|
1010
836
|
"kind": "method",
|
|
1011
837
|
"name": "renderSection",
|
|
@@ -1030,6 +856,11 @@
|
|
|
1030
856
|
"name": "handleAnimationEnd",
|
|
1031
857
|
"privacy": "private"
|
|
1032
858
|
},
|
|
859
|
+
{
|
|
860
|
+
"kind": "method",
|
|
861
|
+
"name": "handleBlur",
|
|
862
|
+
"privacy": "private"
|
|
863
|
+
},
|
|
1033
864
|
{
|
|
1034
865
|
"kind": "method",
|
|
1035
866
|
"name": "handleInput",
|
|
@@ -1135,21 +966,21 @@
|
|
|
1135
966
|
"type": {
|
|
1136
967
|
"text": "NordEvent"
|
|
1137
968
|
},
|
|
1138
|
-
"description": "The command menu was opened."
|
|
969
|
+
"description": "The command menu was opened foo."
|
|
1139
970
|
},
|
|
1140
971
|
{
|
|
1141
972
|
"name": "close",
|
|
1142
973
|
"type": {
|
|
1143
974
|
"text": "NordEvent"
|
|
1144
975
|
},
|
|
1145
|
-
"description": "The command menu was closed."
|
|
976
|
+
"description": "The command menu was closed bar."
|
|
1146
977
|
},
|
|
1147
978
|
{
|
|
1148
|
-
"name": "command",
|
|
1149
979
|
"type": {
|
|
1150
980
|
"text": "SelectEvent"
|
|
1151
981
|
},
|
|
1152
|
-
"description": "User selected a command from the menu."
|
|
982
|
+
"description": "User selected a command from the menu.",
|
|
983
|
+
"name": "n-select"
|
|
1153
984
|
}
|
|
1154
985
|
],
|
|
1155
986
|
"attributes": [
|
|
@@ -1159,7 +990,7 @@
|
|
|
1159
990
|
"text": "boolean"
|
|
1160
991
|
},
|
|
1161
992
|
"default": "false",
|
|
1162
|
-
"description": "Show or hide
|
|
993
|
+
"description": "Show or hide the command menu.",
|
|
1163
994
|
"fieldName": "open"
|
|
1164
995
|
},
|
|
1165
996
|
{
|
|
@@ -1170,15 +1001,6 @@
|
|
|
1170
1001
|
"default": "\"Type a command or search...\"",
|
|
1171
1002
|
"description": "Hint text to display in the search field.",
|
|
1172
1003
|
"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
1004
|
}
|
|
1183
1005
|
],
|
|
1184
1006
|
"mixins": [
|
|
@@ -1331,7 +1153,7 @@
|
|
|
1331
1153
|
"text": "ShortcutController"
|
|
1332
1154
|
},
|
|
1333
1155
|
"privacy": "private",
|
|
1334
|
-
"default": "new ShortcutController(host, { \"$mod+k\": actions.toggleOpen })"
|
|
1156
|
+
"default": "new ShortcutController(host, { \"$mod+k\": preventDefault(actions.toggleOpen) })"
|
|
1335
1157
|
},
|
|
1336
1158
|
{
|
|
1337
1159
|
"kind": "field",
|
|
@@ -1406,33 +1228,211 @@
|
|
|
1406
1228
|
},
|
|
1407
1229
|
{
|
|
1408
1230
|
"kind": "javascript-module",
|
|
1409
|
-
"path": "src/
|
|
1231
|
+
"path": "src/common/collection.ts",
|
|
1410
1232
|
"declarations": [
|
|
1411
1233
|
{
|
|
1412
|
-
"kind": "
|
|
1413
|
-
"
|
|
1414
|
-
"
|
|
1415
|
-
"members": [
|
|
1234
|
+
"kind": "function",
|
|
1235
|
+
"name": "groupBy",
|
|
1236
|
+
"parameters": [
|
|
1416
1237
|
{
|
|
1417
|
-
"
|
|
1418
|
-
"name": "resolver",
|
|
1238
|
+
"name": "array",
|
|
1419
1239
|
"type": {
|
|
1420
|
-
"text": "
|
|
1240
|
+
"text": "Array<TObject>"
|
|
1421
1241
|
},
|
|
1422
|
-
"
|
|
1423
|
-
"static": true
|
|
1424
|
-
},
|
|
1425
|
-
{
|
|
1426
|
-
"kind": "field",
|
|
1427
|
-
"name": "registeredIcons",
|
|
1428
|
-
"privacy": "private",
|
|
1429
|
-
"static": true,
|
|
1430
|
-
"default": "new Map<string, string>()"
|
|
1242
|
+
"description": "the collection of objects to group"
|
|
1431
1243
|
},
|
|
1432
1244
|
{
|
|
1433
|
-
"
|
|
1434
|
-
"
|
|
1435
|
-
|
|
1245
|
+
"name": "key",
|
|
1246
|
+
"type": {
|
|
1247
|
+
"text": "TKey"
|
|
1248
|
+
},
|
|
1249
|
+
"description": "the property to group by"
|
|
1250
|
+
}
|
|
1251
|
+
],
|
|
1252
|
+
"description": "Groups an array objects by property value",
|
|
1253
|
+
"return": {
|
|
1254
|
+
"type": {
|
|
1255
|
+
"text": ""
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
],
|
|
1260
|
+
"exports": [
|
|
1261
|
+
{
|
|
1262
|
+
"kind": "js",
|
|
1263
|
+
"name": "groupBy",
|
|
1264
|
+
"declaration": {
|
|
1265
|
+
"name": "groupBy",
|
|
1266
|
+
"module": "src/common/collection.ts"
|
|
1267
|
+
}
|
|
1268
|
+
}
|
|
1269
|
+
]
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
"kind": "javascript-module",
|
|
1273
|
+
"path": "src/common/events.ts",
|
|
1274
|
+
"declarations": [
|
|
1275
|
+
{
|
|
1276
|
+
"kind": "class",
|
|
1277
|
+
"description": "A base class for events which defaults to bubbling and composed",
|
|
1278
|
+
"name": "NordEvent",
|
|
1279
|
+
"superclass": {
|
|
1280
|
+
"name": "Event",
|
|
1281
|
+
"module": "src/common/events.ts"
|
|
1282
|
+
},
|
|
1283
|
+
"status": null,
|
|
1284
|
+
"category": null
|
|
1285
|
+
}
|
|
1286
|
+
],
|
|
1287
|
+
"exports": [
|
|
1288
|
+
{
|
|
1289
|
+
"kind": "js",
|
|
1290
|
+
"name": "NordEvent",
|
|
1291
|
+
"declaration": {
|
|
1292
|
+
"name": "NordEvent",
|
|
1293
|
+
"module": "src/common/events.ts"
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
]
|
|
1297
|
+
},
|
|
1298
|
+
{
|
|
1299
|
+
"kind": "javascript-module",
|
|
1300
|
+
"path": "src/common/focus.ts",
|
|
1301
|
+
"declarations": [
|
|
1302
|
+
{
|
|
1303
|
+
"kind": "function",
|
|
1304
|
+
"name": "getFocusedElement",
|
|
1305
|
+
"return": {
|
|
1306
|
+
"type": {
|
|
1307
|
+
"text": "Element | undefined"
|
|
1308
|
+
}
|
|
1309
|
+
},
|
|
1310
|
+
"parameters": [
|
|
1311
|
+
{
|
|
1312
|
+
"name": "root",
|
|
1313
|
+
"type": {
|
|
1314
|
+
"text": "Document | ShadowRoot"
|
|
1315
|
+
}
|
|
1316
|
+
}
|
|
1317
|
+
],
|
|
1318
|
+
"description": "Gets the currently focused element, taking shadow roots into account."
|
|
1319
|
+
}
|
|
1320
|
+
],
|
|
1321
|
+
"exports": [
|
|
1322
|
+
{
|
|
1323
|
+
"kind": "js",
|
|
1324
|
+
"name": "getFocusedElement",
|
|
1325
|
+
"declaration": {
|
|
1326
|
+
"name": "getFocusedElement",
|
|
1327
|
+
"module": "src/common/focus.ts"
|
|
1328
|
+
}
|
|
1329
|
+
}
|
|
1330
|
+
]
|
|
1331
|
+
},
|
|
1332
|
+
{
|
|
1333
|
+
"kind": "javascript-module",
|
|
1334
|
+
"path": "src/common/number.ts",
|
|
1335
|
+
"declarations": [
|
|
1336
|
+
{
|
|
1337
|
+
"kind": "function",
|
|
1338
|
+
"name": "wrap",
|
|
1339
|
+
"parameters": [
|
|
1340
|
+
{
|
|
1341
|
+
"name": "val",
|
|
1342
|
+
"type": {
|
|
1343
|
+
"text": "number"
|
|
1344
|
+
}
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
"name": "min",
|
|
1348
|
+
"type": {
|
|
1349
|
+
"text": "number"
|
|
1350
|
+
}
|
|
1351
|
+
},
|
|
1352
|
+
{
|
|
1353
|
+
"name": "max",
|
|
1354
|
+
"type": {
|
|
1355
|
+
"text": "number"
|
|
1356
|
+
}
|
|
1357
|
+
}
|
|
1358
|
+
],
|
|
1359
|
+
"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"
|
|
1360
|
+
}
|
|
1361
|
+
],
|
|
1362
|
+
"exports": [
|
|
1363
|
+
{
|
|
1364
|
+
"kind": "js",
|
|
1365
|
+
"name": "wrap",
|
|
1366
|
+
"declaration": {
|
|
1367
|
+
"name": "wrap",
|
|
1368
|
+
"module": "src/common/number.ts"
|
|
1369
|
+
}
|
|
1370
|
+
}
|
|
1371
|
+
]
|
|
1372
|
+
},
|
|
1373
|
+
{
|
|
1374
|
+
"kind": "javascript-module",
|
|
1375
|
+
"path": "src/common/ref.ts",
|
|
1376
|
+
"declarations": [
|
|
1377
|
+
{
|
|
1378
|
+
"kind": "function",
|
|
1379
|
+
"name": "mergeRefs",
|
|
1380
|
+
"return": {
|
|
1381
|
+
"type": {
|
|
1382
|
+
"text": "RefCallback"
|
|
1383
|
+
}
|
|
1384
|
+
},
|
|
1385
|
+
"parameters": [
|
|
1386
|
+
{
|
|
1387
|
+
"name": "refs",
|
|
1388
|
+
"type": {
|
|
1389
|
+
"text": "Ref[]"
|
|
1390
|
+
}
|
|
1391
|
+
}
|
|
1392
|
+
],
|
|
1393
|
+
"description": "Creates a ref callback which will assign the element to every given ref"
|
|
1394
|
+
}
|
|
1395
|
+
],
|
|
1396
|
+
"exports": [
|
|
1397
|
+
{
|
|
1398
|
+
"kind": "js",
|
|
1399
|
+
"name": "mergeRefs",
|
|
1400
|
+
"declaration": {
|
|
1401
|
+
"name": "mergeRefs",
|
|
1402
|
+
"module": "src/common/ref.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
1436
|
"parameters": [
|
|
1437
1437
|
{
|
|
1438
1438
|
"name": "resolver",
|
|
@@ -1458,7 +1458,8 @@
|
|
|
1458
1458
|
"name": "icon",
|
|
1459
1459
|
"type": {
|
|
1460
1460
|
"text": "{ title: string; default: string }"
|
|
1461
|
-
}
|
|
1461
|
+
},
|
|
1462
|
+
"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
1463
|
}
|
|
1463
1464
|
],
|
|
1464
1465
|
"description": "Register an individual icon so it can be rendered synchronously, to avoid loading over the network."
|
|
@@ -1477,13 +1478,15 @@
|
|
|
1477
1478
|
"name": "name",
|
|
1478
1479
|
"type": {
|
|
1479
1480
|
"text": "string"
|
|
1480
|
-
}
|
|
1481
|
+
},
|
|
1482
|
+
"description": "The name of the icon to be registered."
|
|
1481
1483
|
},
|
|
1482
1484
|
{
|
|
1483
1485
|
"name": "icon",
|
|
1484
1486
|
"type": {
|
|
1485
1487
|
"text": "string"
|
|
1486
|
-
}
|
|
1488
|
+
},
|
|
1489
|
+
"description": "The SVG string for the icon."
|
|
1487
1490
|
}
|
|
1488
1491
|
],
|
|
1489
1492
|
"description": "Register an individual icon so it can be rendered synchronously, to avoid loading over the network."
|
|
@@ -1556,6 +1559,7 @@
|
|
|
1556
1559
|
"type": {
|
|
1557
1560
|
"text": "string"
|
|
1558
1561
|
},
|
|
1562
|
+
"privacy": "private",
|
|
1559
1563
|
"default": "\"\""
|
|
1560
1564
|
},
|
|
1561
1565
|
{
|
|
@@ -1691,14 +1695,55 @@
|
|
|
1691
1695
|
"description": "The type of the input.",
|
|
1692
1696
|
"attribute": "type"
|
|
1693
1697
|
},
|
|
1698
|
+
{
|
|
1699
|
+
"kind": "field",
|
|
1700
|
+
"name": "slots",
|
|
1701
|
+
"privacy": "protected",
|
|
1702
|
+
"default": "new SlotController(this)",
|
|
1703
|
+
"inheritedFrom": {
|
|
1704
|
+
"name": "FormAssociatedMixin",
|
|
1705
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1706
|
+
}
|
|
1707
|
+
},
|
|
1708
|
+
{
|
|
1709
|
+
"kind": "field",
|
|
1710
|
+
"name": "inputId",
|
|
1711
|
+
"type": {
|
|
1712
|
+
"text": "string"
|
|
1713
|
+
},
|
|
1714
|
+
"privacy": "protected",
|
|
1715
|
+
"default": "\"input\"",
|
|
1716
|
+
"inheritedFrom": {
|
|
1717
|
+
"name": "FormAssociatedMixin",
|
|
1718
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1719
|
+
}
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
"kind": "field",
|
|
1723
|
+
"name": "label",
|
|
1724
|
+
"type": {
|
|
1725
|
+
"text": "string"
|
|
1726
|
+
},
|
|
1727
|
+
"default": "\"\"",
|
|
1728
|
+
"description": "Label for the input.",
|
|
1729
|
+
"attribute": "label",
|
|
1730
|
+
"inheritedFrom": {
|
|
1731
|
+
"name": "FormAssociatedMixin",
|
|
1732
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1733
|
+
}
|
|
1734
|
+
},
|
|
1694
1735
|
{
|
|
1695
1736
|
"kind": "field",
|
|
1696
1737
|
"name": "hint",
|
|
1697
1738
|
"type": {
|
|
1698
1739
|
"text": "string | undefined"
|
|
1699
1740
|
},
|
|
1700
|
-
"description": "Optional hint text to be displayed with input. Alternatively use the hint slot.",
|
|
1701
|
-
"attribute": "hint"
|
|
1741
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
1742
|
+
"attribute": "hint",
|
|
1743
|
+
"inheritedFrom": {
|
|
1744
|
+
"name": "FormAssociatedMixin",
|
|
1745
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1746
|
+
}
|
|
1702
1747
|
},
|
|
1703
1748
|
{
|
|
1704
1749
|
"kind": "field",
|
|
@@ -1708,7 +1753,11 @@
|
|
|
1708
1753
|
},
|
|
1709
1754
|
"default": "false",
|
|
1710
1755
|
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
1711
|
-
"attribute": "hide-label"
|
|
1756
|
+
"attribute": "hide-label",
|
|
1757
|
+
"inheritedFrom": {
|
|
1758
|
+
"name": "FormAssociatedMixin",
|
|
1759
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1760
|
+
}
|
|
1712
1761
|
},
|
|
1713
1762
|
{
|
|
1714
1763
|
"kind": "field",
|
|
@@ -1716,8 +1765,12 @@
|
|
|
1716
1765
|
"type": {
|
|
1717
1766
|
"text": "string | undefined"
|
|
1718
1767
|
},
|
|
1719
|
-
"description": "Placeholder
|
|
1720
|
-
"attribute": "placeholder"
|
|
1768
|
+
"description": "Placeholder text to display within the input.",
|
|
1769
|
+
"attribute": "placeholder",
|
|
1770
|
+
"inheritedFrom": {
|
|
1771
|
+
"name": "FormAssociatedMixin",
|
|
1772
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1773
|
+
}
|
|
1721
1774
|
},
|
|
1722
1775
|
{
|
|
1723
1776
|
"kind": "field",
|
|
@@ -1725,84 +1778,108 @@
|
|
|
1725
1778
|
"type": {
|
|
1726
1779
|
"text": "string | undefined"
|
|
1727
1780
|
},
|
|
1728
|
-
"description": "Optional error to be shown with input. Alternatively use the error slot.",
|
|
1729
|
-
"attribute": "error"
|
|
1781
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
1782
|
+
"attribute": "error",
|
|
1783
|
+
"inheritedFrom": {
|
|
1784
|
+
"name": "FormAssociatedMixin",
|
|
1785
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1786
|
+
}
|
|
1730
1787
|
},
|
|
1731
1788
|
{
|
|
1732
1789
|
"kind": "field",
|
|
1733
|
-
"name": "
|
|
1790
|
+
"name": "required",
|
|
1734
1791
|
"type": {
|
|
1735
1792
|
"text": "boolean"
|
|
1736
1793
|
},
|
|
1737
1794
|
"default": "false",
|
|
1738
|
-
"description": "
|
|
1739
|
-
"attribute": "
|
|
1740
|
-
"
|
|
1795
|
+
"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.",
|
|
1796
|
+
"attribute": "required",
|
|
1797
|
+
"inheritedFrom": {
|
|
1798
|
+
"name": "FormAssociatedMixin",
|
|
1799
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1800
|
+
}
|
|
1741
1801
|
},
|
|
1742
1802
|
{
|
|
1743
|
-
"kind": "
|
|
1744
|
-
"name": "
|
|
1803
|
+
"kind": "field",
|
|
1804
|
+
"name": "expand",
|
|
1805
|
+
"type": {
|
|
1806
|
+
"text": "boolean"
|
|
1807
|
+
},
|
|
1808
|
+
"default": "false",
|
|
1809
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
1810
|
+
"attribute": "expand",
|
|
1811
|
+
"reflects": true,
|
|
1812
|
+
"inheritedFrom": {
|
|
1813
|
+
"name": "FormAssociatedMixin",
|
|
1814
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1815
|
+
}
|
|
1816
|
+
},
|
|
1817
|
+
{
|
|
1818
|
+
"kind": "field",
|
|
1819
|
+
"name": "handleFormData",
|
|
1745
1820
|
"privacy": "private",
|
|
1821
|
+
"inheritedFrom": {
|
|
1822
|
+
"name": "FormAssociatedMixin",
|
|
1823
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1824
|
+
}
|
|
1825
|
+
},
|
|
1826
|
+
{
|
|
1827
|
+
"kind": "method",
|
|
1828
|
+
"name": "handleChange",
|
|
1829
|
+
"privacy": "protected",
|
|
1746
1830
|
"parameters": [
|
|
1747
1831
|
{
|
|
1748
|
-
"name": "
|
|
1832
|
+
"name": "e",
|
|
1749
1833
|
"type": {
|
|
1750
|
-
"text": "
|
|
1834
|
+
"text": "Event"
|
|
1751
1835
|
}
|
|
1752
1836
|
}
|
|
1753
|
-
]
|
|
1837
|
+
],
|
|
1838
|
+
"inheritedFrom": {
|
|
1839
|
+
"name": "FormAssociatedMixin",
|
|
1840
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1841
|
+
}
|
|
1754
1842
|
},
|
|
1755
1843
|
{
|
|
1756
1844
|
"kind": "method",
|
|
1757
|
-
"name": "
|
|
1758
|
-
"privacy": "
|
|
1845
|
+
"name": "renderLabel",
|
|
1846
|
+
"privacy": "protected",
|
|
1847
|
+
"inheritedFrom": {
|
|
1848
|
+
"name": "FormAssociatedMixin",
|
|
1849
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1850
|
+
}
|
|
1759
1851
|
},
|
|
1760
1852
|
{
|
|
1761
1853
|
"kind": "method",
|
|
1762
|
-
"name": "
|
|
1763
|
-
"privacy": "private"
|
|
1854
|
+
"name": "renderHint",
|
|
1855
|
+
"privacy": "private",
|
|
1856
|
+
"inheritedFrom": {
|
|
1857
|
+
"name": "FormAssociatedMixin",
|
|
1858
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1859
|
+
}
|
|
1764
1860
|
},
|
|
1765
1861
|
{
|
|
1766
1862
|
"kind": "method",
|
|
1767
|
-
"name": "
|
|
1768
|
-
"privacy": "
|
|
1863
|
+
"name": "renderError",
|
|
1864
|
+
"privacy": "protected",
|
|
1865
|
+
"inheritedFrom": {
|
|
1866
|
+
"name": "FormAssociatedMixin",
|
|
1867
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1868
|
+
}
|
|
1769
1869
|
},
|
|
1770
1870
|
{
|
|
1771
1871
|
"kind": "method",
|
|
1772
|
-
"name": "
|
|
1773
|
-
"privacy": "
|
|
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",
|
|
1872
|
+
"name": "getDescribedBy",
|
|
1873
|
+
"privacy": "protected",
|
|
1792
1874
|
"inheritedFrom": {
|
|
1793
1875
|
"name": "FormAssociatedMixin",
|
|
1794
1876
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1795
1877
|
}
|
|
1796
1878
|
},
|
|
1797
1879
|
{
|
|
1798
|
-
"kind": "
|
|
1799
|
-
"name": "
|
|
1800
|
-
"
|
|
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",
|
|
1880
|
+
"kind": "method",
|
|
1881
|
+
"name": "getInvalid",
|
|
1882
|
+
"privacy": "protected",
|
|
1806
1883
|
"inheritedFrom": {
|
|
1807
1884
|
"name": "FormAssociatedMixin",
|
|
1808
1885
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
@@ -1810,25 +1887,17 @@
|
|
|
1810
1887
|
},
|
|
1811
1888
|
{
|
|
1812
1889
|
"kind": "field",
|
|
1813
|
-
"name": "
|
|
1814
|
-
"privacy": "
|
|
1890
|
+
"name": "hasHint",
|
|
1891
|
+
"privacy": "protected",
|
|
1815
1892
|
"inheritedFrom": {
|
|
1816
1893
|
"name": "FormAssociatedMixin",
|
|
1817
1894
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1818
1895
|
}
|
|
1819
1896
|
},
|
|
1820
1897
|
{
|
|
1821
|
-
"kind": "
|
|
1822
|
-
"name": "
|
|
1898
|
+
"kind": "field",
|
|
1899
|
+
"name": "hasError",
|
|
1823
1900
|
"privacy": "protected",
|
|
1824
|
-
"parameters": [
|
|
1825
|
-
{
|
|
1826
|
-
"name": "e",
|
|
1827
|
-
"type": {
|
|
1828
|
-
"text": "Event"
|
|
1829
|
-
}
|
|
1830
|
-
}
|
|
1831
|
-
],
|
|
1832
1901
|
"inheritedFrom": {
|
|
1833
1902
|
"name": "FormAssociatedMixin",
|
|
1834
1903
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
@@ -1877,6 +1946,7 @@
|
|
|
1877
1946
|
{
|
|
1878
1947
|
"kind": "field",
|
|
1879
1948
|
"name": "form",
|
|
1949
|
+
"privacy": "protected",
|
|
1880
1950
|
"description": "Gets the form, if any, associated with the input element.",
|
|
1881
1951
|
"inheritedFrom": {
|
|
1882
1952
|
"name": "InputMixin",
|
|
@@ -1954,13 +2024,30 @@
|
|
|
1954
2024
|
"description": "The type of the input.",
|
|
1955
2025
|
"fieldName": "type"
|
|
1956
2026
|
},
|
|
2027
|
+
{
|
|
2028
|
+
"name": "label",
|
|
2029
|
+
"type": {
|
|
2030
|
+
"text": "string"
|
|
2031
|
+
},
|
|
2032
|
+
"default": "\"\"",
|
|
2033
|
+
"description": "Label for the input.",
|
|
2034
|
+
"fieldName": "label",
|
|
2035
|
+
"inheritedFrom": {
|
|
2036
|
+
"name": "FormAssociatedMixin",
|
|
2037
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2038
|
+
}
|
|
2039
|
+
},
|
|
1957
2040
|
{
|
|
1958
2041
|
"name": "hint",
|
|
1959
2042
|
"type": {
|
|
1960
2043
|
"text": "string | undefined"
|
|
1961
2044
|
},
|
|
1962
|
-
"description": "Optional hint text to be displayed with input. Alternatively use the hint slot.",
|
|
1963
|
-
"fieldName": "hint"
|
|
2045
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
2046
|
+
"fieldName": "hint",
|
|
2047
|
+
"inheritedFrom": {
|
|
2048
|
+
"name": "FormAssociatedMixin",
|
|
2049
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2050
|
+
}
|
|
1964
2051
|
},
|
|
1965
2052
|
{
|
|
1966
2053
|
"name": "hide-label",
|
|
@@ -1969,54 +2056,57 @@
|
|
|
1969
2056
|
},
|
|
1970
2057
|
"default": "false",
|
|
1971
2058
|
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
1972
|
-
"fieldName": "hideLabel"
|
|
2059
|
+
"fieldName": "hideLabel",
|
|
2060
|
+
"inheritedFrom": {
|
|
2061
|
+
"name": "FormAssociatedMixin",
|
|
2062
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2063
|
+
}
|
|
1973
2064
|
},
|
|
1974
2065
|
{
|
|
1975
2066
|
"name": "placeholder",
|
|
1976
2067
|
"type": {
|
|
1977
2068
|
"text": "string | undefined"
|
|
1978
2069
|
},
|
|
1979
|
-
"description": "Placeholder
|
|
1980
|
-
"fieldName": "placeholder"
|
|
2070
|
+
"description": "Placeholder text to display within the input.",
|
|
2071
|
+
"fieldName": "placeholder",
|
|
2072
|
+
"inheritedFrom": {
|
|
2073
|
+
"name": "FormAssociatedMixin",
|
|
2074
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2075
|
+
}
|
|
1981
2076
|
},
|
|
1982
2077
|
{
|
|
1983
2078
|
"name": "error",
|
|
1984
2079
|
"type": {
|
|
1985
2080
|
"text": "string | undefined"
|
|
1986
2081
|
},
|
|
1987
|
-
"description": "Optional error to be shown with input. Alternatively use the error slot.",
|
|
1988
|
-
"fieldName": "error"
|
|
2082
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
2083
|
+
"fieldName": "error",
|
|
2084
|
+
"inheritedFrom": {
|
|
2085
|
+
"name": "FormAssociatedMixin",
|
|
2086
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2087
|
+
}
|
|
1989
2088
|
},
|
|
1990
2089
|
{
|
|
1991
|
-
"name": "
|
|
2090
|
+
"name": "required",
|
|
1992
2091
|
"type": {
|
|
1993
2092
|
"text": "boolean"
|
|
1994
2093
|
},
|
|
1995
2094
|
"default": "false",
|
|
1996
|
-
"description": "
|
|
1997
|
-
"fieldName": "
|
|
1998
|
-
},
|
|
1999
|
-
{
|
|
2000
|
-
"name": "label",
|
|
2001
|
-
"type": {
|
|
2002
|
-
"text": "string"
|
|
2003
|
-
},
|
|
2004
|
-
"default": "\"\"",
|
|
2005
|
-
"description": "Label for the input.",
|
|
2006
|
-
"fieldName": "label",
|
|
2095
|
+
"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.",
|
|
2096
|
+
"fieldName": "required",
|
|
2007
2097
|
"inheritedFrom": {
|
|
2008
2098
|
"name": "FormAssociatedMixin",
|
|
2009
2099
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2010
2100
|
}
|
|
2011
2101
|
},
|
|
2012
2102
|
{
|
|
2013
|
-
"name": "
|
|
2103
|
+
"name": "expand",
|
|
2014
2104
|
"type": {
|
|
2015
2105
|
"text": "boolean"
|
|
2016
2106
|
},
|
|
2017
2107
|
"default": "false",
|
|
2018
|
-
"description": "
|
|
2019
|
-
"fieldName": "
|
|
2108
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
2109
|
+
"fieldName": "expand",
|
|
2020
2110
|
"inheritedFrom": {
|
|
2021
2111
|
"name": "FormAssociatedMixin",
|
|
2022
2112
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
@@ -2149,56 +2239,16 @@
|
|
|
2149
2239
|
"members": [
|
|
2150
2240
|
{
|
|
2151
2241
|
"kind": "field",
|
|
2152
|
-
"name": "
|
|
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",
|
|
2242
|
+
"name": "inputId",
|
|
2190
2243
|
"type": {
|
|
2191
|
-
"text": "
|
|
2244
|
+
"text": "string"
|
|
2192
2245
|
},
|
|
2193
|
-
"
|
|
2194
|
-
"
|
|
2195
|
-
"
|
|
2196
|
-
|
|
2197
|
-
|
|
2198
|
-
|
|
2199
|
-
"kind": "method",
|
|
2200
|
-
"name": "handleSlotChange",
|
|
2201
|
-
"privacy": "private"
|
|
2246
|
+
"privacy": "protected",
|
|
2247
|
+
"default": "\"select\"",
|
|
2248
|
+
"inheritedFrom": {
|
|
2249
|
+
"name": "FormAssociatedMixin",
|
|
2250
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2251
|
+
}
|
|
2202
2252
|
},
|
|
2203
2253
|
{
|
|
2204
2254
|
"kind": "field",
|
|
@@ -2223,29 +2273,6 @@
|
|
|
2223
2273
|
}
|
|
2224
2274
|
]
|
|
2225
2275
|
},
|
|
2226
|
-
{
|
|
2227
|
-
"kind": "method",
|
|
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",
|
|
2247
|
-
"privacy": "private"
|
|
2248
|
-
},
|
|
2249
2276
|
{
|
|
2250
2277
|
"kind": "method",
|
|
2251
2278
|
"name": "renderOption",
|
|
@@ -2260,17 +2287,14 @@
|
|
|
2260
2287
|
]
|
|
2261
2288
|
},
|
|
2262
2289
|
{
|
|
2263
|
-
"kind": "
|
|
2264
|
-
"name": "
|
|
2265
|
-
"privacy": "
|
|
2266
|
-
"
|
|
2267
|
-
|
|
2268
|
-
|
|
2269
|
-
|
|
2270
|
-
|
|
2271
|
-
}
|
|
2272
|
-
}
|
|
2273
|
-
]
|
|
2290
|
+
"kind": "field",
|
|
2291
|
+
"name": "slots",
|
|
2292
|
+
"privacy": "protected",
|
|
2293
|
+
"default": "new SlotController(this)",
|
|
2294
|
+
"inheritedFrom": {
|
|
2295
|
+
"name": "FormAssociatedMixin",
|
|
2296
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2297
|
+
}
|
|
2274
2298
|
},
|
|
2275
2299
|
{
|
|
2276
2300
|
"kind": "field",
|
|
@@ -2288,9 +2312,62 @@
|
|
|
2288
2312
|
},
|
|
2289
2313
|
{
|
|
2290
2314
|
"kind": "field",
|
|
2291
|
-
"name": "
|
|
2315
|
+
"name": "hint",
|
|
2292
2316
|
"type": {
|
|
2293
|
-
"text": "
|
|
2317
|
+
"text": "string | undefined"
|
|
2318
|
+
},
|
|
2319
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
2320
|
+
"attribute": "hint",
|
|
2321
|
+
"inheritedFrom": {
|
|
2322
|
+
"name": "FormAssociatedMixin",
|
|
2323
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2324
|
+
}
|
|
2325
|
+
},
|
|
2326
|
+
{
|
|
2327
|
+
"kind": "field",
|
|
2328
|
+
"name": "hideLabel",
|
|
2329
|
+
"type": {
|
|
2330
|
+
"text": "boolean"
|
|
2331
|
+
},
|
|
2332
|
+
"default": "false",
|
|
2333
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
2334
|
+
"attribute": "hide-label",
|
|
2335
|
+
"inheritedFrom": {
|
|
2336
|
+
"name": "FormAssociatedMixin",
|
|
2337
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2338
|
+
}
|
|
2339
|
+
},
|
|
2340
|
+
{
|
|
2341
|
+
"kind": "field",
|
|
2342
|
+
"name": "placeholder",
|
|
2343
|
+
"type": {
|
|
2344
|
+
"text": "string | undefined"
|
|
2345
|
+
},
|
|
2346
|
+
"description": "Placeholder text to display within the input.",
|
|
2347
|
+
"attribute": "placeholder",
|
|
2348
|
+
"inheritedFrom": {
|
|
2349
|
+
"name": "FormAssociatedMixin",
|
|
2350
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2351
|
+
}
|
|
2352
|
+
},
|
|
2353
|
+
{
|
|
2354
|
+
"kind": "field",
|
|
2355
|
+
"name": "error",
|
|
2356
|
+
"type": {
|
|
2357
|
+
"text": "string | undefined"
|
|
2358
|
+
},
|
|
2359
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
2360
|
+
"attribute": "error",
|
|
2361
|
+
"inheritedFrom": {
|
|
2362
|
+
"name": "FormAssociatedMixin",
|
|
2363
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2364
|
+
}
|
|
2365
|
+
},
|
|
2366
|
+
{
|
|
2367
|
+
"kind": "field",
|
|
2368
|
+
"name": "required",
|
|
2369
|
+
"type": {
|
|
2370
|
+
"text": "boolean"
|
|
2294
2371
|
},
|
|
2295
2372
|
"default": "false",
|
|
2296
2373
|
"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.",
|
|
@@ -2300,6 +2377,21 @@
|
|
|
2300
2377
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2301
2378
|
}
|
|
2302
2379
|
},
|
|
2380
|
+
{
|
|
2381
|
+
"kind": "field",
|
|
2382
|
+
"name": "expand",
|
|
2383
|
+
"type": {
|
|
2384
|
+
"text": "boolean"
|
|
2385
|
+
},
|
|
2386
|
+
"default": "false",
|
|
2387
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
2388
|
+
"attribute": "expand",
|
|
2389
|
+
"reflects": true,
|
|
2390
|
+
"inheritedFrom": {
|
|
2391
|
+
"name": "FormAssociatedMixin",
|
|
2392
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2393
|
+
}
|
|
2394
|
+
},
|
|
2303
2395
|
{
|
|
2304
2396
|
"kind": "field",
|
|
2305
2397
|
"name": "handleFormData",
|
|
@@ -2326,6 +2418,69 @@
|
|
|
2326
2418
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2327
2419
|
}
|
|
2328
2420
|
},
|
|
2421
|
+
{
|
|
2422
|
+
"kind": "method",
|
|
2423
|
+
"name": "renderLabel",
|
|
2424
|
+
"privacy": "protected",
|
|
2425
|
+
"inheritedFrom": {
|
|
2426
|
+
"name": "FormAssociatedMixin",
|
|
2427
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2428
|
+
}
|
|
2429
|
+
},
|
|
2430
|
+
{
|
|
2431
|
+
"kind": "method",
|
|
2432
|
+
"name": "renderHint",
|
|
2433
|
+
"privacy": "private",
|
|
2434
|
+
"inheritedFrom": {
|
|
2435
|
+
"name": "FormAssociatedMixin",
|
|
2436
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2437
|
+
}
|
|
2438
|
+
},
|
|
2439
|
+
{
|
|
2440
|
+
"kind": "method",
|
|
2441
|
+
"name": "renderError",
|
|
2442
|
+
"privacy": "protected",
|
|
2443
|
+
"inheritedFrom": {
|
|
2444
|
+
"name": "FormAssociatedMixin",
|
|
2445
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2446
|
+
}
|
|
2447
|
+
},
|
|
2448
|
+
{
|
|
2449
|
+
"kind": "method",
|
|
2450
|
+
"name": "getDescribedBy",
|
|
2451
|
+
"privacy": "protected",
|
|
2452
|
+
"inheritedFrom": {
|
|
2453
|
+
"name": "FormAssociatedMixin",
|
|
2454
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2455
|
+
}
|
|
2456
|
+
},
|
|
2457
|
+
{
|
|
2458
|
+
"kind": "method",
|
|
2459
|
+
"name": "getInvalid",
|
|
2460
|
+
"privacy": "protected",
|
|
2461
|
+
"inheritedFrom": {
|
|
2462
|
+
"name": "FormAssociatedMixin",
|
|
2463
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2464
|
+
}
|
|
2465
|
+
},
|
|
2466
|
+
{
|
|
2467
|
+
"kind": "field",
|
|
2468
|
+
"name": "hasHint",
|
|
2469
|
+
"privacy": "protected",
|
|
2470
|
+
"inheritedFrom": {
|
|
2471
|
+
"name": "FormAssociatedMixin",
|
|
2472
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2473
|
+
}
|
|
2474
|
+
},
|
|
2475
|
+
{
|
|
2476
|
+
"kind": "field",
|
|
2477
|
+
"name": "hasError",
|
|
2478
|
+
"privacy": "protected",
|
|
2479
|
+
"inheritedFrom": {
|
|
2480
|
+
"name": "FormAssociatedMixin",
|
|
2481
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2482
|
+
}
|
|
2483
|
+
},
|
|
2329
2484
|
{
|
|
2330
2485
|
"kind": "field",
|
|
2331
2486
|
"name": "disabled",
|
|
@@ -2369,6 +2524,7 @@
|
|
|
2369
2524
|
{
|
|
2370
2525
|
"kind": "field",
|
|
2371
2526
|
"name": "form",
|
|
2527
|
+
"privacy": "protected",
|
|
2372
2528
|
"description": "Gets the form, if any, associated with the input element.",
|
|
2373
2529
|
"inheritedFrom": {
|
|
2374
2530
|
"name": "InputMixin",
|
|
@@ -2436,14 +2592,57 @@
|
|
|
2436
2592
|
}
|
|
2437
2593
|
}
|
|
2438
2594
|
],
|
|
2595
|
+
"mixins": [
|
|
2596
|
+
{
|
|
2597
|
+
"name": "FormAssociatedMixin",
|
|
2598
|
+
"module": "/src/common/mixins/FormAssociatedMixin.js"
|
|
2599
|
+
},
|
|
2600
|
+
{
|
|
2601
|
+
"name": "InputMixin",
|
|
2602
|
+
"module": "/src/common/mixins/InputMixin.js"
|
|
2603
|
+
},
|
|
2604
|
+
{
|
|
2605
|
+
"name": "FocusableMixin",
|
|
2606
|
+
"module": "/src/common/mixins/FocusableMixin.js"
|
|
2607
|
+
},
|
|
2608
|
+
{
|
|
2609
|
+
"name": "DraftComponentMixin",
|
|
2610
|
+
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
2611
|
+
}
|
|
2612
|
+
],
|
|
2613
|
+
"superclass": {
|
|
2614
|
+
"name": "LitElement",
|
|
2615
|
+
"package": "lit"
|
|
2616
|
+
},
|
|
2617
|
+
"status": "draft",
|
|
2618
|
+
"category": "form",
|
|
2619
|
+
"tagName": "nord-select",
|
|
2620
|
+
"customElement": true,
|
|
2439
2621
|
"attributes": [
|
|
2622
|
+
{
|
|
2623
|
+
"name": "label",
|
|
2624
|
+
"type": {
|
|
2625
|
+
"text": "string"
|
|
2626
|
+
},
|
|
2627
|
+
"default": "\"\"",
|
|
2628
|
+
"description": "Label for the input.",
|
|
2629
|
+
"fieldName": "label",
|
|
2630
|
+
"inheritedFrom": {
|
|
2631
|
+
"name": "FormAssociatedMixin",
|
|
2632
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2633
|
+
}
|
|
2634
|
+
},
|
|
2440
2635
|
{
|
|
2441
2636
|
"name": "hint",
|
|
2442
2637
|
"type": {
|
|
2443
2638
|
"text": "string | undefined"
|
|
2444
2639
|
},
|
|
2445
|
-
"description": "Optional hint text to be displayed with
|
|
2446
|
-
"fieldName": "hint"
|
|
2640
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
2641
|
+
"fieldName": "hint",
|
|
2642
|
+
"inheritedFrom": {
|
|
2643
|
+
"name": "FormAssociatedMixin",
|
|
2644
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2645
|
+
}
|
|
2447
2646
|
},
|
|
2448
2647
|
{
|
|
2449
2648
|
"name": "hide-label",
|
|
@@ -2452,54 +2651,57 @@
|
|
|
2452
2651
|
},
|
|
2453
2652
|
"default": "false",
|
|
2454
2653
|
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
2455
|
-
"fieldName": "hideLabel"
|
|
2654
|
+
"fieldName": "hideLabel",
|
|
2655
|
+
"inheritedFrom": {
|
|
2656
|
+
"name": "FormAssociatedMixin",
|
|
2657
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2658
|
+
}
|
|
2456
2659
|
},
|
|
2457
2660
|
{
|
|
2458
2661
|
"name": "placeholder",
|
|
2459
2662
|
"type": {
|
|
2460
2663
|
"text": "string | undefined"
|
|
2461
2664
|
},
|
|
2462
|
-
"description": "
|
|
2463
|
-
"fieldName": "placeholder"
|
|
2665
|
+
"description": "Placeholder text to display within the input.",
|
|
2666
|
+
"fieldName": "placeholder",
|
|
2667
|
+
"inheritedFrom": {
|
|
2668
|
+
"name": "FormAssociatedMixin",
|
|
2669
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2670
|
+
}
|
|
2464
2671
|
},
|
|
2465
2672
|
{
|
|
2466
2673
|
"name": "error",
|
|
2467
2674
|
"type": {
|
|
2468
2675
|
"text": "string | undefined"
|
|
2469
2676
|
},
|
|
2470
|
-
"description": "Optional error to be shown with the
|
|
2471
|
-
"fieldName": "error"
|
|
2677
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
2678
|
+
"fieldName": "error",
|
|
2679
|
+
"inheritedFrom": {
|
|
2680
|
+
"name": "FormAssociatedMixin",
|
|
2681
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2682
|
+
}
|
|
2472
2683
|
},
|
|
2473
2684
|
{
|
|
2474
|
-
"name": "
|
|
2685
|
+
"name": "required",
|
|
2475
2686
|
"type": {
|
|
2476
2687
|
"text": "boolean"
|
|
2477
2688
|
},
|
|
2478
2689
|
"default": "false",
|
|
2479
|
-
"description": "
|
|
2480
|
-
"fieldName": "
|
|
2481
|
-
},
|
|
2482
|
-
{
|
|
2483
|
-
"name": "label",
|
|
2484
|
-
"type": {
|
|
2485
|
-
"text": "string"
|
|
2486
|
-
},
|
|
2487
|
-
"default": "\"\"",
|
|
2488
|
-
"description": "Label for the input.",
|
|
2489
|
-
"fieldName": "label",
|
|
2690
|
+
"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.",
|
|
2691
|
+
"fieldName": "required",
|
|
2490
2692
|
"inheritedFrom": {
|
|
2491
2693
|
"name": "FormAssociatedMixin",
|
|
2492
2694
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2493
2695
|
}
|
|
2494
2696
|
},
|
|
2495
2697
|
{
|
|
2496
|
-
"name": "
|
|
2698
|
+
"name": "expand",
|
|
2497
2699
|
"type": {
|
|
2498
2700
|
"text": "boolean"
|
|
2499
2701
|
},
|
|
2500
2702
|
"default": "false",
|
|
2501
|
-
"description": "
|
|
2502
|
-
"fieldName": "
|
|
2703
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
2704
|
+
"fieldName": "expand",
|
|
2503
2705
|
"inheritedFrom": {
|
|
2504
2706
|
"name": "FormAssociatedMixin",
|
|
2505
2707
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
@@ -2543,32 +2745,6 @@
|
|
|
2543
2745
|
}
|
|
2544
2746
|
}
|
|
2545
2747
|
],
|
|
2546
|
-
"mixins": [
|
|
2547
|
-
{
|
|
2548
|
-
"name": "FormAssociatedMixin",
|
|
2549
|
-
"module": "/src/common/mixins/FormAssociatedMixin.js"
|
|
2550
|
-
},
|
|
2551
|
-
{
|
|
2552
|
-
"name": "InputMixin",
|
|
2553
|
-
"module": "/src/common/mixins/InputMixin.js"
|
|
2554
|
-
},
|
|
2555
|
-
{
|
|
2556
|
-
"name": "FocusableMixin",
|
|
2557
|
-
"module": "/src/common/mixins/FocusableMixin.js"
|
|
2558
|
-
},
|
|
2559
|
-
{
|
|
2560
|
-
"name": "DraftComponentMixin",
|
|
2561
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
2562
|
-
}
|
|
2563
|
-
],
|
|
2564
|
-
"superclass": {
|
|
2565
|
-
"name": "LitElement",
|
|
2566
|
-
"package": "lit"
|
|
2567
|
-
},
|
|
2568
|
-
"status": "draft",
|
|
2569
|
-
"category": "form",
|
|
2570
|
-
"tagName": "nord-select",
|
|
2571
|
-
"customElement": true,
|
|
2572
2748
|
"events": [
|
|
2573
2749
|
{
|
|
2574
2750
|
"name": "change",
|
|
@@ -2829,40 +3005,594 @@
|
|
|
2829
3005
|
},
|
|
2830
3006
|
{
|
|
2831
3007
|
"kind": "javascript-module",
|
|
2832
|
-
"path": "src/
|
|
3008
|
+
"path": "src/textarea/Textarea.ts",
|
|
2833
3009
|
"declarations": [
|
|
2834
3010
|
{
|
|
2835
3011
|
"kind": "class",
|
|
2836
|
-
"description": "
|
|
2837
|
-
"name": "
|
|
3012
|
+
"description": "Textarea is a component that allows user to write text over\nmultiple rows. Used when the expected user input is long.\nFor shorter input, use the Input component.",
|
|
3013
|
+
"name": "Textarea",
|
|
2838
3014
|
"slots": [
|
|
2839
3015
|
{
|
|
2840
|
-
"description": "
|
|
2841
|
-
"name": ""
|
|
3016
|
+
"description": "Use when a label requires more than plain text.",
|
|
3017
|
+
"name": "label"
|
|
3018
|
+
},
|
|
3019
|
+
{
|
|
3020
|
+
"description": "Optional slot that holds hint text for the textarea.",
|
|
3021
|
+
"name": "hint"
|
|
3022
|
+
},
|
|
3023
|
+
{
|
|
3024
|
+
"description": "Optional slot that holds error text for the textarea.",
|
|
3025
|
+
"name": "error"
|
|
2842
3026
|
}
|
|
2843
3027
|
],
|
|
2844
3028
|
"members": [
|
|
2845
3029
|
{
|
|
2846
3030
|
"kind": "field",
|
|
2847
|
-
"name": "
|
|
3031
|
+
"name": "inputId",
|
|
2848
3032
|
"type": {
|
|
2849
|
-
"text": "
|
|
3033
|
+
"text": "string"
|
|
2850
3034
|
},
|
|
2851
|
-
"privacy": "
|
|
2852
|
-
"
|
|
2853
|
-
"default": "false",
|
|
3035
|
+
"privacy": "protected",
|
|
3036
|
+
"default": "\"textarea\"",
|
|
2854
3037
|
"inheritedFrom": {
|
|
2855
|
-
"name": "
|
|
2856
|
-
"module": "src/common/mixins/
|
|
3038
|
+
"name": "FormAssociatedMixin",
|
|
3039
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2857
3040
|
}
|
|
2858
|
-
}
|
|
2859
|
-
],
|
|
2860
|
-
"mixins": [
|
|
3041
|
+
},
|
|
2861
3042
|
{
|
|
2862
|
-
"
|
|
2863
|
-
"
|
|
2864
|
-
|
|
2865
|
-
|
|
3043
|
+
"kind": "field",
|
|
3044
|
+
"name": "resize",
|
|
3045
|
+
"type": {
|
|
3046
|
+
"text": "\"vertical\" | \"auto\""
|
|
3047
|
+
},
|
|
3048
|
+
"default": "\"vertical\"",
|
|
3049
|
+
"description": "Controls whether the textarea is resizable.\nBy default is manually resizable vertically.\nSet to \"auto\" to enable auto-resizing as content grows.",
|
|
3050
|
+
"attribute": "resize",
|
|
3051
|
+
"reflects": true
|
|
3052
|
+
},
|
|
3053
|
+
{
|
|
3054
|
+
"kind": "method",
|
|
3055
|
+
"name": "resizeToFitContent",
|
|
3056
|
+
"privacy": "private"
|
|
3057
|
+
},
|
|
3058
|
+
{
|
|
3059
|
+
"kind": "field",
|
|
3060
|
+
"name": "slots",
|
|
3061
|
+
"privacy": "protected",
|
|
3062
|
+
"default": "new SlotController(this)",
|
|
3063
|
+
"inheritedFrom": {
|
|
3064
|
+
"name": "FormAssociatedMixin",
|
|
3065
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3066
|
+
}
|
|
3067
|
+
},
|
|
3068
|
+
{
|
|
3069
|
+
"kind": "field",
|
|
3070
|
+
"name": "label",
|
|
3071
|
+
"type": {
|
|
3072
|
+
"text": "string"
|
|
3073
|
+
},
|
|
3074
|
+
"default": "\"\"",
|
|
3075
|
+
"description": "Label for the input.",
|
|
3076
|
+
"attribute": "label",
|
|
3077
|
+
"inheritedFrom": {
|
|
3078
|
+
"name": "FormAssociatedMixin",
|
|
3079
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3080
|
+
}
|
|
3081
|
+
},
|
|
3082
|
+
{
|
|
3083
|
+
"kind": "field",
|
|
3084
|
+
"name": "hint",
|
|
3085
|
+
"type": {
|
|
3086
|
+
"text": "string | undefined"
|
|
3087
|
+
},
|
|
3088
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
3089
|
+
"attribute": "hint",
|
|
3090
|
+
"inheritedFrom": {
|
|
3091
|
+
"name": "FormAssociatedMixin",
|
|
3092
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3093
|
+
}
|
|
3094
|
+
},
|
|
3095
|
+
{
|
|
3096
|
+
"kind": "field",
|
|
3097
|
+
"name": "hideLabel",
|
|
3098
|
+
"type": {
|
|
3099
|
+
"text": "boolean"
|
|
3100
|
+
},
|
|
3101
|
+
"default": "false",
|
|
3102
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
3103
|
+
"attribute": "hide-label",
|
|
3104
|
+
"inheritedFrom": {
|
|
3105
|
+
"name": "FormAssociatedMixin",
|
|
3106
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3107
|
+
}
|
|
3108
|
+
},
|
|
3109
|
+
{
|
|
3110
|
+
"kind": "field",
|
|
3111
|
+
"name": "placeholder",
|
|
3112
|
+
"type": {
|
|
3113
|
+
"text": "string | undefined"
|
|
3114
|
+
},
|
|
3115
|
+
"description": "Placeholder text to display within the input.",
|
|
3116
|
+
"attribute": "placeholder",
|
|
3117
|
+
"inheritedFrom": {
|
|
3118
|
+
"name": "FormAssociatedMixin",
|
|
3119
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3120
|
+
}
|
|
3121
|
+
},
|
|
3122
|
+
{
|
|
3123
|
+
"kind": "field",
|
|
3124
|
+
"name": "error",
|
|
3125
|
+
"type": {
|
|
3126
|
+
"text": "string | undefined"
|
|
3127
|
+
},
|
|
3128
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
3129
|
+
"attribute": "error",
|
|
3130
|
+
"inheritedFrom": {
|
|
3131
|
+
"name": "FormAssociatedMixin",
|
|
3132
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3133
|
+
}
|
|
3134
|
+
},
|
|
3135
|
+
{
|
|
3136
|
+
"kind": "field",
|
|
3137
|
+
"name": "required",
|
|
3138
|
+
"type": {
|
|
3139
|
+
"text": "boolean"
|
|
3140
|
+
},
|
|
3141
|
+
"default": "false",
|
|
3142
|
+
"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.",
|
|
3143
|
+
"attribute": "required",
|
|
3144
|
+
"inheritedFrom": {
|
|
3145
|
+
"name": "FormAssociatedMixin",
|
|
3146
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3147
|
+
}
|
|
3148
|
+
},
|
|
3149
|
+
{
|
|
3150
|
+
"kind": "field",
|
|
3151
|
+
"name": "expand",
|
|
3152
|
+
"type": {
|
|
3153
|
+
"text": "boolean"
|
|
3154
|
+
},
|
|
3155
|
+
"default": "false",
|
|
3156
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
3157
|
+
"attribute": "expand",
|
|
3158
|
+
"reflects": true,
|
|
3159
|
+
"inheritedFrom": {
|
|
3160
|
+
"name": "FormAssociatedMixin",
|
|
3161
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3162
|
+
}
|
|
3163
|
+
},
|
|
3164
|
+
{
|
|
3165
|
+
"kind": "field",
|
|
3166
|
+
"name": "handleFormData",
|
|
3167
|
+
"privacy": "private",
|
|
3168
|
+
"inheritedFrom": {
|
|
3169
|
+
"name": "FormAssociatedMixin",
|
|
3170
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3171
|
+
}
|
|
3172
|
+
},
|
|
3173
|
+
{
|
|
3174
|
+
"kind": "method",
|
|
3175
|
+
"name": "handleChange",
|
|
3176
|
+
"privacy": "protected",
|
|
3177
|
+
"parameters": [
|
|
3178
|
+
{
|
|
3179
|
+
"name": "e",
|
|
3180
|
+
"type": {
|
|
3181
|
+
"text": "Event"
|
|
3182
|
+
}
|
|
3183
|
+
}
|
|
3184
|
+
],
|
|
3185
|
+
"inheritedFrom": {
|
|
3186
|
+
"name": "FormAssociatedMixin",
|
|
3187
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3188
|
+
}
|
|
3189
|
+
},
|
|
3190
|
+
{
|
|
3191
|
+
"kind": "method",
|
|
3192
|
+
"name": "renderLabel",
|
|
3193
|
+
"privacy": "protected",
|
|
3194
|
+
"inheritedFrom": {
|
|
3195
|
+
"name": "FormAssociatedMixin",
|
|
3196
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3197
|
+
}
|
|
3198
|
+
},
|
|
3199
|
+
{
|
|
3200
|
+
"kind": "method",
|
|
3201
|
+
"name": "renderHint",
|
|
3202
|
+
"privacy": "private",
|
|
3203
|
+
"inheritedFrom": {
|
|
3204
|
+
"name": "FormAssociatedMixin",
|
|
3205
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3206
|
+
}
|
|
3207
|
+
},
|
|
3208
|
+
{
|
|
3209
|
+
"kind": "method",
|
|
3210
|
+
"name": "renderError",
|
|
3211
|
+
"privacy": "protected",
|
|
3212
|
+
"inheritedFrom": {
|
|
3213
|
+
"name": "FormAssociatedMixin",
|
|
3214
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3215
|
+
}
|
|
3216
|
+
},
|
|
3217
|
+
{
|
|
3218
|
+
"kind": "method",
|
|
3219
|
+
"name": "getDescribedBy",
|
|
3220
|
+
"privacy": "protected",
|
|
3221
|
+
"inheritedFrom": {
|
|
3222
|
+
"name": "FormAssociatedMixin",
|
|
3223
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3224
|
+
}
|
|
3225
|
+
},
|
|
3226
|
+
{
|
|
3227
|
+
"kind": "method",
|
|
3228
|
+
"name": "getInvalid",
|
|
3229
|
+
"privacy": "protected",
|
|
3230
|
+
"inheritedFrom": {
|
|
3231
|
+
"name": "FormAssociatedMixin",
|
|
3232
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3233
|
+
}
|
|
3234
|
+
},
|
|
3235
|
+
{
|
|
3236
|
+
"kind": "field",
|
|
3237
|
+
"name": "hasHint",
|
|
3238
|
+
"privacy": "protected",
|
|
3239
|
+
"inheritedFrom": {
|
|
3240
|
+
"name": "FormAssociatedMixin",
|
|
3241
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3242
|
+
}
|
|
3243
|
+
},
|
|
3244
|
+
{
|
|
3245
|
+
"kind": "field",
|
|
3246
|
+
"name": "hasError",
|
|
3247
|
+
"privacy": "protected",
|
|
3248
|
+
"inheritedFrom": {
|
|
3249
|
+
"name": "FormAssociatedMixin",
|
|
3250
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3251
|
+
}
|
|
3252
|
+
},
|
|
3253
|
+
{
|
|
3254
|
+
"kind": "field",
|
|
3255
|
+
"name": "disabled",
|
|
3256
|
+
"type": {
|
|
3257
|
+
"text": "boolean"
|
|
3258
|
+
},
|
|
3259
|
+
"default": "false",
|
|
3260
|
+
"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.",
|
|
3261
|
+
"attribute": "disabled",
|
|
3262
|
+
"inheritedFrom": {
|
|
3263
|
+
"name": "InputMixin",
|
|
3264
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
3265
|
+
}
|
|
3266
|
+
},
|
|
3267
|
+
{
|
|
3268
|
+
"kind": "field",
|
|
3269
|
+
"name": "name",
|
|
3270
|
+
"type": {
|
|
3271
|
+
"text": "string | undefined"
|
|
3272
|
+
},
|
|
3273
|
+
"description": "The name of the input component.",
|
|
3274
|
+
"attribute": "name",
|
|
3275
|
+
"inheritedFrom": {
|
|
3276
|
+
"name": "InputMixin",
|
|
3277
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
3278
|
+
}
|
|
3279
|
+
},
|
|
3280
|
+
{
|
|
3281
|
+
"kind": "field",
|
|
3282
|
+
"name": "value",
|
|
3283
|
+
"type": {
|
|
3284
|
+
"text": "string | undefined"
|
|
3285
|
+
},
|
|
3286
|
+
"description": "The value of the input component.",
|
|
3287
|
+
"attribute": "value",
|
|
3288
|
+
"inheritedFrom": {
|
|
3289
|
+
"name": "InputMixin",
|
|
3290
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
3291
|
+
}
|
|
3292
|
+
},
|
|
3293
|
+
{
|
|
3294
|
+
"kind": "field",
|
|
3295
|
+
"name": "form",
|
|
3296
|
+
"privacy": "protected",
|
|
3297
|
+
"description": "Gets the form, if any, associated with the input element.",
|
|
3298
|
+
"inheritedFrom": {
|
|
3299
|
+
"name": "InputMixin",
|
|
3300
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
3301
|
+
}
|
|
3302
|
+
},
|
|
3303
|
+
{
|
|
3304
|
+
"kind": "field",
|
|
3305
|
+
"name": "focusableRef",
|
|
3306
|
+
"privacy": "protected",
|
|
3307
|
+
"inheritedFrom": {
|
|
3308
|
+
"name": "FocusableMixin",
|
|
3309
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
3310
|
+
}
|
|
3311
|
+
},
|
|
3312
|
+
{
|
|
3313
|
+
"kind": "method",
|
|
3314
|
+
"name": "focus",
|
|
3315
|
+
"parameters": [
|
|
3316
|
+
{
|
|
3317
|
+
"name": "options",
|
|
3318
|
+
"optional": true,
|
|
3319
|
+
"type": {
|
|
3320
|
+
"text": "FocusOptions"
|
|
3321
|
+
},
|
|
3322
|
+
"description": "An object which controls aspects of the focusing process."
|
|
3323
|
+
}
|
|
3324
|
+
],
|
|
3325
|
+
"description": "Programmatically move focus to the component",
|
|
3326
|
+
"inheritedFrom": {
|
|
3327
|
+
"name": "FocusableMixin",
|
|
3328
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
3329
|
+
}
|
|
3330
|
+
},
|
|
3331
|
+
{
|
|
3332
|
+
"kind": "method",
|
|
3333
|
+
"name": "blur",
|
|
3334
|
+
"description": "Programmatically remove focus from the component.",
|
|
3335
|
+
"inheritedFrom": {
|
|
3336
|
+
"name": "FocusableMixin",
|
|
3337
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
3338
|
+
}
|
|
3339
|
+
},
|
|
3340
|
+
{
|
|
3341
|
+
"kind": "method",
|
|
3342
|
+
"name": "click",
|
|
3343
|
+
"description": "Programmatically simulates a click on the component.",
|
|
3344
|
+
"inheritedFrom": {
|
|
3345
|
+
"name": "FocusableMixin",
|
|
3346
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
3347
|
+
}
|
|
3348
|
+
},
|
|
3349
|
+
{
|
|
3350
|
+
"kind": "field",
|
|
3351
|
+
"name": "_warningLogged",
|
|
3352
|
+
"type": {
|
|
3353
|
+
"text": "boolean"
|
|
3354
|
+
},
|
|
3355
|
+
"privacy": "private",
|
|
3356
|
+
"static": true,
|
|
3357
|
+
"default": "false",
|
|
3358
|
+
"inheritedFrom": {
|
|
3359
|
+
"name": "DraftComponentMixin",
|
|
3360
|
+
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
3361
|
+
}
|
|
3362
|
+
}
|
|
3363
|
+
],
|
|
3364
|
+
"attributes": [
|
|
3365
|
+
{
|
|
3366
|
+
"name": "resize",
|
|
3367
|
+
"type": {
|
|
3368
|
+
"text": "\"vertical\" | \"auto\""
|
|
3369
|
+
},
|
|
3370
|
+
"default": "\"vertical\"",
|
|
3371
|
+
"description": "Controls whether the textarea is resizable.\nBy default is manually resizable vertically.\nSet to \"auto\" to enable auto-resizing as content grows.",
|
|
3372
|
+
"fieldName": "resize"
|
|
3373
|
+
},
|
|
3374
|
+
{
|
|
3375
|
+
"name": "label",
|
|
3376
|
+
"type": {
|
|
3377
|
+
"text": "string"
|
|
3378
|
+
},
|
|
3379
|
+
"default": "\"\"",
|
|
3380
|
+
"description": "Label for the input.",
|
|
3381
|
+
"fieldName": "label",
|
|
3382
|
+
"inheritedFrom": {
|
|
3383
|
+
"name": "FormAssociatedMixin",
|
|
3384
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3385
|
+
}
|
|
3386
|
+
},
|
|
3387
|
+
{
|
|
3388
|
+
"name": "hint",
|
|
3389
|
+
"type": {
|
|
3390
|
+
"text": "string | undefined"
|
|
3391
|
+
},
|
|
3392
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
3393
|
+
"fieldName": "hint",
|
|
3394
|
+
"inheritedFrom": {
|
|
3395
|
+
"name": "FormAssociatedMixin",
|
|
3396
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3397
|
+
}
|
|
3398
|
+
},
|
|
3399
|
+
{
|
|
3400
|
+
"name": "hide-label",
|
|
3401
|
+
"type": {
|
|
3402
|
+
"text": "boolean"
|
|
3403
|
+
},
|
|
3404
|
+
"default": "false",
|
|
3405
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
3406
|
+
"fieldName": "hideLabel",
|
|
3407
|
+
"inheritedFrom": {
|
|
3408
|
+
"name": "FormAssociatedMixin",
|
|
3409
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3410
|
+
}
|
|
3411
|
+
},
|
|
3412
|
+
{
|
|
3413
|
+
"name": "placeholder",
|
|
3414
|
+
"type": {
|
|
3415
|
+
"text": "string | undefined"
|
|
3416
|
+
},
|
|
3417
|
+
"description": "Placeholder text to display within the input.",
|
|
3418
|
+
"fieldName": "placeholder",
|
|
3419
|
+
"inheritedFrom": {
|
|
3420
|
+
"name": "FormAssociatedMixin",
|
|
3421
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3422
|
+
}
|
|
3423
|
+
},
|
|
3424
|
+
{
|
|
3425
|
+
"name": "error",
|
|
3426
|
+
"type": {
|
|
3427
|
+
"text": "string | undefined"
|
|
3428
|
+
},
|
|
3429
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
3430
|
+
"fieldName": "error",
|
|
3431
|
+
"inheritedFrom": {
|
|
3432
|
+
"name": "FormAssociatedMixin",
|
|
3433
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3434
|
+
}
|
|
3435
|
+
},
|
|
3436
|
+
{
|
|
3437
|
+
"name": "required",
|
|
3438
|
+
"type": {
|
|
3439
|
+
"text": "boolean"
|
|
3440
|
+
},
|
|
3441
|
+
"default": "false",
|
|
3442
|
+
"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.",
|
|
3443
|
+
"fieldName": "required",
|
|
3444
|
+
"inheritedFrom": {
|
|
3445
|
+
"name": "FormAssociatedMixin",
|
|
3446
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3447
|
+
}
|
|
3448
|
+
},
|
|
3449
|
+
{
|
|
3450
|
+
"name": "expand",
|
|
3451
|
+
"type": {
|
|
3452
|
+
"text": "boolean"
|
|
3453
|
+
},
|
|
3454
|
+
"default": "false",
|
|
3455
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
3456
|
+
"fieldName": "expand",
|
|
3457
|
+
"inheritedFrom": {
|
|
3458
|
+
"name": "FormAssociatedMixin",
|
|
3459
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3460
|
+
}
|
|
3461
|
+
},
|
|
3462
|
+
{
|
|
3463
|
+
"name": "disabled",
|
|
3464
|
+
"type": {
|
|
3465
|
+
"text": "boolean"
|
|
3466
|
+
},
|
|
3467
|
+
"default": "false",
|
|
3468
|
+
"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.",
|
|
3469
|
+
"fieldName": "disabled",
|
|
3470
|
+
"inheritedFrom": {
|
|
3471
|
+
"name": "InputMixin",
|
|
3472
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
3473
|
+
}
|
|
3474
|
+
},
|
|
3475
|
+
{
|
|
3476
|
+
"name": "name",
|
|
3477
|
+
"type": {
|
|
3478
|
+
"text": "string | undefined"
|
|
3479
|
+
},
|
|
3480
|
+
"description": "The name of the input component.",
|
|
3481
|
+
"fieldName": "name",
|
|
3482
|
+
"inheritedFrom": {
|
|
3483
|
+
"name": "InputMixin",
|
|
3484
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
3485
|
+
}
|
|
3486
|
+
},
|
|
3487
|
+
{
|
|
3488
|
+
"name": "value",
|
|
3489
|
+
"type": {
|
|
3490
|
+
"text": "string | undefined"
|
|
3491
|
+
},
|
|
3492
|
+
"description": "The value of the input component.",
|
|
3493
|
+
"fieldName": "value",
|
|
3494
|
+
"inheritedFrom": {
|
|
3495
|
+
"name": "InputMixin",
|
|
3496
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
3497
|
+
}
|
|
3498
|
+
}
|
|
3499
|
+
],
|
|
3500
|
+
"mixins": [
|
|
3501
|
+
{
|
|
3502
|
+
"name": "FormAssociatedMixin",
|
|
3503
|
+
"module": "/src/common/mixins/FormAssociatedMixin.js"
|
|
3504
|
+
},
|
|
3505
|
+
{
|
|
3506
|
+
"name": "InputMixin",
|
|
3507
|
+
"module": "/src/common/mixins/InputMixin.js"
|
|
3508
|
+
},
|
|
3509
|
+
{
|
|
3510
|
+
"name": "FocusableMixin",
|
|
3511
|
+
"module": "/src/common/mixins/FocusableMixin.js"
|
|
3512
|
+
},
|
|
3513
|
+
{
|
|
3514
|
+
"name": "DraftComponentMixin",
|
|
3515
|
+
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
3516
|
+
}
|
|
3517
|
+
],
|
|
3518
|
+
"superclass": {
|
|
3519
|
+
"name": "LitElement",
|
|
3520
|
+
"package": "lit"
|
|
3521
|
+
},
|
|
3522
|
+
"status": "draft",
|
|
3523
|
+
"category": "form",
|
|
3524
|
+
"tagName": "nord-textarea",
|
|
3525
|
+
"customElement": true,
|
|
3526
|
+
"events": [
|
|
3527
|
+
{
|
|
3528
|
+
"name": "change",
|
|
3529
|
+
"type": {
|
|
3530
|
+
"text": "NordEvent"
|
|
3531
|
+
},
|
|
3532
|
+
"description": "Fired whenever the input's value is changed via user interaction.",
|
|
3533
|
+
"inheritedFrom": {
|
|
3534
|
+
"name": "FormAssociatedMixin",
|
|
3535
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3536
|
+
}
|
|
3537
|
+
}
|
|
3538
|
+
]
|
|
3539
|
+
}
|
|
3540
|
+
],
|
|
3541
|
+
"exports": [
|
|
3542
|
+
{
|
|
3543
|
+
"kind": "js",
|
|
3544
|
+
"name": "default",
|
|
3545
|
+
"declaration": {
|
|
3546
|
+
"name": "Textarea",
|
|
3547
|
+
"module": "src/textarea/Textarea.ts"
|
|
3548
|
+
}
|
|
3549
|
+
},
|
|
3550
|
+
{
|
|
3551
|
+
"kind": "custom-element-definition",
|
|
3552
|
+
"name": "nord-textarea",
|
|
3553
|
+
"declaration": {
|
|
3554
|
+
"name": "Textarea",
|
|
3555
|
+
"module": "src/textarea/Textarea.ts"
|
|
3556
|
+
}
|
|
3557
|
+
}
|
|
3558
|
+
]
|
|
3559
|
+
},
|
|
3560
|
+
{
|
|
3561
|
+
"kind": "javascript-module",
|
|
3562
|
+
"path": "src/visually-hidden/VisuallyHidden.ts",
|
|
3563
|
+
"declarations": [
|
|
3564
|
+
{
|
|
3565
|
+
"kind": "class",
|
|
3566
|
+
"description": "Visually hidden is used when an element needs to be available\nto assistive technologies like screen readers, but be otherwise\nhidden.",
|
|
3567
|
+
"name": "VisuallyHidden",
|
|
3568
|
+
"slots": [
|
|
3569
|
+
{
|
|
3570
|
+
"description": "The visually hidden content.",
|
|
3571
|
+
"name": ""
|
|
3572
|
+
}
|
|
3573
|
+
],
|
|
3574
|
+
"members": [
|
|
3575
|
+
{
|
|
3576
|
+
"kind": "field",
|
|
3577
|
+
"name": "_warningLogged",
|
|
3578
|
+
"type": {
|
|
3579
|
+
"text": "boolean"
|
|
3580
|
+
},
|
|
3581
|
+
"privacy": "private",
|
|
3582
|
+
"static": true,
|
|
3583
|
+
"default": "false",
|
|
3584
|
+
"inheritedFrom": {
|
|
3585
|
+
"name": "DraftComponentMixin",
|
|
3586
|
+
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
3587
|
+
}
|
|
3588
|
+
}
|
|
3589
|
+
],
|
|
3590
|
+
"mixins": [
|
|
3591
|
+
{
|
|
3592
|
+
"name": "DraftComponentMixin",
|
|
3593
|
+
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
3594
|
+
}
|
|
3595
|
+
],
|
|
2866
3596
|
"superclass": {
|
|
2867
3597
|
"name": "LitElement",
|
|
2868
3598
|
"package": "lit"
|
|
@@ -2917,15 +3647,15 @@
|
|
|
2917
3647
|
"text": "ShortcutController"
|
|
2918
3648
|
},
|
|
2919
3649
|
"privacy": "private",
|
|
2920
|
-
"default": "new ShortcutController(this.host, { Escape:
|
|
3650
|
+
"default": "new ShortcutController(this.host, { Escape: this.handleEsc })"
|
|
2921
3651
|
},
|
|
2922
3652
|
{
|
|
2923
3653
|
"kind": "field",
|
|
2924
|
-
"name": "
|
|
3654
|
+
"name": "options",
|
|
2925
3655
|
"type": {
|
|
2926
|
-
"text": "
|
|
3656
|
+
"text": "LightDismissOptions"
|
|
2927
3657
|
},
|
|
2928
|
-
"default": "
|
|
3658
|
+
"default": "options"
|
|
2929
3659
|
},
|
|
2930
3660
|
{
|
|
2931
3661
|
"kind": "method",
|
|
@@ -2935,6 +3665,11 @@
|
|
|
2935
3665
|
"kind": "method",
|
|
2936
3666
|
"name": "hostDisconnected"
|
|
2937
3667
|
},
|
|
3668
|
+
{
|
|
3669
|
+
"kind": "field",
|
|
3670
|
+
"name": "handleEsc",
|
|
3671
|
+
"privacy": "private"
|
|
3672
|
+
},
|
|
2938
3673
|
{
|
|
2939
3674
|
"kind": "field",
|
|
2940
3675
|
"name": "handleClickOut",
|
|
@@ -2974,20 +3709,84 @@
|
|
|
2974
3709
|
},
|
|
2975
3710
|
{
|
|
2976
3711
|
"kind": "field",
|
|
2977
|
-
"name": "shortcuts",
|
|
3712
|
+
"name": "shortcuts",
|
|
3713
|
+
"type": {
|
|
3714
|
+
"text": "KeyBindingMap | undefined"
|
|
3715
|
+
},
|
|
3716
|
+
"privacy": "private",
|
|
3717
|
+
"default": "shortcuts"
|
|
3718
|
+
},
|
|
3719
|
+
{
|
|
3720
|
+
"kind": "field",
|
|
3721
|
+
"name": "unregister",
|
|
3722
|
+
"type": {
|
|
3723
|
+
"text": "ReturnType<typeof tinykeys> | undefined"
|
|
3724
|
+
},
|
|
3725
|
+
"privacy": "private"
|
|
3726
|
+
},
|
|
3727
|
+
{
|
|
3728
|
+
"kind": "method",
|
|
3729
|
+
"name": "hostConnected"
|
|
3730
|
+
},
|
|
3731
|
+
{
|
|
3732
|
+
"kind": "method",
|
|
3733
|
+
"name": "hostDisconnected"
|
|
3734
|
+
},
|
|
3735
|
+
{
|
|
3736
|
+
"kind": "method",
|
|
3737
|
+
"name": "unbind"
|
|
3738
|
+
},
|
|
3739
|
+
{
|
|
3740
|
+
"kind": "method",
|
|
3741
|
+
"name": "bind",
|
|
3742
|
+
"parameters": [
|
|
3743
|
+
{
|
|
3744
|
+
"name": "shortcuts",
|
|
3745
|
+
"type": {
|
|
3746
|
+
"text": "KeyBindingMap"
|
|
3747
|
+
}
|
|
3748
|
+
}
|
|
3749
|
+
]
|
|
3750
|
+
}
|
|
3751
|
+
]
|
|
3752
|
+
}
|
|
3753
|
+
],
|
|
3754
|
+
"exports": [
|
|
3755
|
+
{
|
|
3756
|
+
"kind": "js",
|
|
3757
|
+
"name": "ShortcutController",
|
|
3758
|
+
"declaration": {
|
|
3759
|
+
"name": "ShortcutController",
|
|
3760
|
+
"module": "src/common/controllers/ShortcutController.ts"
|
|
3761
|
+
}
|
|
3762
|
+
},
|
|
3763
|
+
{
|
|
3764
|
+
"kind": "js",
|
|
3765
|
+
"name": "ShortcutMap",
|
|
3766
|
+
"declaration": {
|
|
3767
|
+
"name": "KeyBindingMap",
|
|
3768
|
+
"module": "src/common/controllers/ShortcutController.ts"
|
|
3769
|
+
}
|
|
3770
|
+
}
|
|
3771
|
+
]
|
|
3772
|
+
},
|
|
3773
|
+
{
|
|
3774
|
+
"kind": "javascript-module",
|
|
3775
|
+
"path": "src/common/controllers/SlotController.ts",
|
|
3776
|
+
"declarations": [
|
|
3777
|
+
{
|
|
3778
|
+
"kind": "class",
|
|
3779
|
+
"description": "",
|
|
3780
|
+
"name": "SlotController",
|
|
3781
|
+
"members": [
|
|
3782
|
+
{
|
|
3783
|
+
"kind": "field",
|
|
3784
|
+
"name": "host",
|
|
2978
3785
|
"type": {
|
|
2979
|
-
"text": "
|
|
3786
|
+
"text": "ReactiveElement"
|
|
2980
3787
|
},
|
|
2981
3788
|
"privacy": "private",
|
|
2982
|
-
"default": "
|
|
2983
|
-
},
|
|
2984
|
-
{
|
|
2985
|
-
"kind": "field",
|
|
2986
|
-
"name": "unregister",
|
|
2987
|
-
"type": {
|
|
2988
|
-
"text": "ReturnType<typeof tinykeys> | undefined"
|
|
2989
|
-
},
|
|
2990
|
-
"privacy": "private"
|
|
3789
|
+
"default": "host"
|
|
2991
3790
|
},
|
|
2992
3791
|
{
|
|
2993
3792
|
"kind": "method",
|
|
@@ -2999,19 +3798,20 @@
|
|
|
2999
3798
|
},
|
|
3000
3799
|
{
|
|
3001
3800
|
"kind": "method",
|
|
3002
|
-
"name": "
|
|
3003
|
-
},
|
|
3004
|
-
{
|
|
3005
|
-
"kind": "method",
|
|
3006
|
-
"name": "bind",
|
|
3801
|
+
"name": "hasSlottedContent",
|
|
3007
3802
|
"parameters": [
|
|
3008
3803
|
{
|
|
3009
|
-
"name": "
|
|
3804
|
+
"name": "slotName",
|
|
3010
3805
|
"type": {
|
|
3011
|
-
"text": "
|
|
3806
|
+
"text": "string"
|
|
3012
3807
|
}
|
|
3013
3808
|
}
|
|
3014
3809
|
]
|
|
3810
|
+
},
|
|
3811
|
+
{
|
|
3812
|
+
"kind": "field",
|
|
3813
|
+
"name": "handleSlotChange",
|
|
3814
|
+
"privacy": "private"
|
|
3015
3815
|
}
|
|
3016
3816
|
]
|
|
3017
3817
|
}
|
|
@@ -3019,18 +3819,10 @@
|
|
|
3019
3819
|
"exports": [
|
|
3020
3820
|
{
|
|
3021
3821
|
"kind": "js",
|
|
3022
|
-
"name": "
|
|
3023
|
-
"declaration": {
|
|
3024
|
-
"name": "ShortcutController",
|
|
3025
|
-
"module": "src/common/controllers/ShortcutController.ts"
|
|
3026
|
-
}
|
|
3027
|
-
},
|
|
3028
|
-
{
|
|
3029
|
-
"kind": "js",
|
|
3030
|
-
"name": "ShortcutMap",
|
|
3822
|
+
"name": "SlotController",
|
|
3031
3823
|
"declaration": {
|
|
3032
|
-
"name": "
|
|
3033
|
-
"module": "src/common/controllers/
|
|
3824
|
+
"name": "SlotController",
|
|
3825
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
3034
3826
|
}
|
|
3035
3827
|
}
|
|
3036
3828
|
]
|
|
@@ -3239,6 +4031,57 @@
|
|
|
3239
4031
|
"text": "boolean"
|
|
3240
4032
|
}
|
|
3241
4033
|
},
|
|
4034
|
+
{
|
|
4035
|
+
"kind": "field",
|
|
4036
|
+
"name": "hint",
|
|
4037
|
+
"type": {
|
|
4038
|
+
"text": "string | undefined"
|
|
4039
|
+
}
|
|
4040
|
+
},
|
|
4041
|
+
{
|
|
4042
|
+
"kind": "field",
|
|
4043
|
+
"name": "hideLabel",
|
|
4044
|
+
"type": {
|
|
4045
|
+
"text": "boolean"
|
|
4046
|
+
}
|
|
4047
|
+
},
|
|
4048
|
+
{
|
|
4049
|
+
"kind": "field",
|
|
4050
|
+
"name": "placeholder",
|
|
4051
|
+
"type": {
|
|
4052
|
+
"text": "string | undefined"
|
|
4053
|
+
}
|
|
4054
|
+
},
|
|
4055
|
+
{
|
|
4056
|
+
"kind": "field",
|
|
4057
|
+
"name": "error",
|
|
4058
|
+
"type": {
|
|
4059
|
+
"text": "string | undefined"
|
|
4060
|
+
}
|
|
4061
|
+
},
|
|
4062
|
+
{
|
|
4063
|
+
"kind": "field",
|
|
4064
|
+
"name": "expand",
|
|
4065
|
+
"type": {
|
|
4066
|
+
"text": "boolean"
|
|
4067
|
+
}
|
|
4068
|
+
},
|
|
4069
|
+
{
|
|
4070
|
+
"kind": "field",
|
|
4071
|
+
"name": "inputId",
|
|
4072
|
+
"type": {
|
|
4073
|
+
"text": "string"
|
|
4074
|
+
},
|
|
4075
|
+
"privacy": "protected"
|
|
4076
|
+
},
|
|
4077
|
+
{
|
|
4078
|
+
"kind": "field",
|
|
4079
|
+
"name": "slots",
|
|
4080
|
+
"type": {
|
|
4081
|
+
"text": "SlotController"
|
|
4082
|
+
},
|
|
4083
|
+
"privacy": "protected"
|
|
4084
|
+
},
|
|
3242
4085
|
{
|
|
3243
4086
|
"kind": "method",
|
|
3244
4087
|
"name": "handleChange",
|
|
@@ -3256,6 +4099,46 @@
|
|
|
3256
4099
|
}
|
|
3257
4100
|
}
|
|
3258
4101
|
]
|
|
4102
|
+
},
|
|
4103
|
+
{
|
|
4104
|
+
"kind": "method",
|
|
4105
|
+
"name": "renderLabel",
|
|
4106
|
+
"privacy": "protected",
|
|
4107
|
+
"return": {
|
|
4108
|
+
"type": {
|
|
4109
|
+
"text": "TemplateResult"
|
|
4110
|
+
}
|
|
4111
|
+
}
|
|
4112
|
+
},
|
|
4113
|
+
{
|
|
4114
|
+
"kind": "method",
|
|
4115
|
+
"name": "renderError",
|
|
4116
|
+
"privacy": "protected",
|
|
4117
|
+
"return": {
|
|
4118
|
+
"type": {
|
|
4119
|
+
"text": "TemplateResult"
|
|
4120
|
+
}
|
|
4121
|
+
}
|
|
4122
|
+
},
|
|
4123
|
+
{
|
|
4124
|
+
"kind": "method",
|
|
4125
|
+
"name": "getDescribedBy",
|
|
4126
|
+
"privacy": "protected",
|
|
4127
|
+
"return": {
|
|
4128
|
+
"type": {
|
|
4129
|
+
"text": "string | undefined"
|
|
4130
|
+
}
|
|
4131
|
+
}
|
|
4132
|
+
},
|
|
4133
|
+
{
|
|
4134
|
+
"kind": "method",
|
|
4135
|
+
"name": "getInvalid",
|
|
4136
|
+
"privacy": "protected",
|
|
4137
|
+
"return": {
|
|
4138
|
+
"type": {
|
|
4139
|
+
"text": "\"true\" | undefined"
|
|
4140
|
+
}
|
|
4141
|
+
}
|
|
3259
4142
|
}
|
|
3260
4143
|
]
|
|
3261
4144
|
},
|
|
@@ -3264,6 +4147,21 @@
|
|
|
3264
4147
|
"description": "",
|
|
3265
4148
|
"name": "FormAssociatedMixin",
|
|
3266
4149
|
"members": [
|
|
4150
|
+
{
|
|
4151
|
+
"kind": "field",
|
|
4152
|
+
"name": "slots",
|
|
4153
|
+
"privacy": "protected",
|
|
4154
|
+
"default": "new SlotController(this)"
|
|
4155
|
+
},
|
|
4156
|
+
{
|
|
4157
|
+
"kind": "field",
|
|
4158
|
+
"name": "inputId",
|
|
4159
|
+
"type": {
|
|
4160
|
+
"text": "string"
|
|
4161
|
+
},
|
|
4162
|
+
"privacy": "protected",
|
|
4163
|
+
"default": "\"input\""
|
|
4164
|
+
},
|
|
3267
4165
|
{
|
|
3268
4166
|
"kind": "field",
|
|
3269
4167
|
"name": "label",
|
|
@@ -3274,6 +4172,43 @@
|
|
|
3274
4172
|
"description": "Label for the input.",
|
|
3275
4173
|
"attribute": "label"
|
|
3276
4174
|
},
|
|
4175
|
+
{
|
|
4176
|
+
"kind": "field",
|
|
4177
|
+
"name": "hint",
|
|
4178
|
+
"type": {
|
|
4179
|
+
"text": "string | undefined"
|
|
4180
|
+
},
|
|
4181
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
4182
|
+
"attribute": "hint"
|
|
4183
|
+
},
|
|
4184
|
+
{
|
|
4185
|
+
"kind": "field",
|
|
4186
|
+
"name": "hideLabel",
|
|
4187
|
+
"type": {
|
|
4188
|
+
"text": "boolean"
|
|
4189
|
+
},
|
|
4190
|
+
"default": "false",
|
|
4191
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
4192
|
+
"attribute": "hide-label"
|
|
4193
|
+
},
|
|
4194
|
+
{
|
|
4195
|
+
"kind": "field",
|
|
4196
|
+
"name": "placeholder",
|
|
4197
|
+
"type": {
|
|
4198
|
+
"text": "string | undefined"
|
|
4199
|
+
},
|
|
4200
|
+
"description": "Placeholder text to display within the input.",
|
|
4201
|
+
"attribute": "placeholder"
|
|
4202
|
+
},
|
|
4203
|
+
{
|
|
4204
|
+
"kind": "field",
|
|
4205
|
+
"name": "error",
|
|
4206
|
+
"type": {
|
|
4207
|
+
"text": "string | undefined"
|
|
4208
|
+
},
|
|
4209
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
4210
|
+
"attribute": "error"
|
|
4211
|
+
},
|
|
3277
4212
|
{
|
|
3278
4213
|
"kind": "field",
|
|
3279
4214
|
"name": "required",
|
|
@@ -3284,6 +4219,17 @@
|
|
|
3284
4219
|
"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.",
|
|
3285
4220
|
"attribute": "required"
|
|
3286
4221
|
},
|
|
4222
|
+
{
|
|
4223
|
+
"kind": "field",
|
|
4224
|
+
"name": "expand",
|
|
4225
|
+
"type": {
|
|
4226
|
+
"text": "boolean"
|
|
4227
|
+
},
|
|
4228
|
+
"default": "false",
|
|
4229
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
4230
|
+
"attribute": "expand",
|
|
4231
|
+
"reflects": true
|
|
4232
|
+
},
|
|
3287
4233
|
{
|
|
3288
4234
|
"kind": "field",
|
|
3289
4235
|
"name": "handleFormData",
|
|
@@ -3301,6 +4247,41 @@
|
|
|
3301
4247
|
}
|
|
3302
4248
|
}
|
|
3303
4249
|
]
|
|
4250
|
+
},
|
|
4251
|
+
{
|
|
4252
|
+
"kind": "method",
|
|
4253
|
+
"name": "renderLabel",
|
|
4254
|
+
"privacy": "protected"
|
|
4255
|
+
},
|
|
4256
|
+
{
|
|
4257
|
+
"kind": "method",
|
|
4258
|
+
"name": "renderHint",
|
|
4259
|
+
"privacy": "private"
|
|
4260
|
+
},
|
|
4261
|
+
{
|
|
4262
|
+
"kind": "method",
|
|
4263
|
+
"name": "renderError",
|
|
4264
|
+
"privacy": "protected"
|
|
4265
|
+
},
|
|
4266
|
+
{
|
|
4267
|
+
"kind": "method",
|
|
4268
|
+
"name": "getDescribedBy",
|
|
4269
|
+
"privacy": "protected"
|
|
4270
|
+
},
|
|
4271
|
+
{
|
|
4272
|
+
"kind": "method",
|
|
4273
|
+
"name": "getInvalid",
|
|
4274
|
+
"privacy": "protected"
|
|
4275
|
+
},
|
|
4276
|
+
{
|
|
4277
|
+
"kind": "field",
|
|
4278
|
+
"name": "hasHint",
|
|
4279
|
+
"privacy": "protected"
|
|
4280
|
+
},
|
|
4281
|
+
{
|
|
4282
|
+
"kind": "field",
|
|
4283
|
+
"name": "hasError",
|
|
4284
|
+
"privacy": "protected"
|
|
3304
4285
|
}
|
|
3305
4286
|
],
|
|
3306
4287
|
"events": [
|
|
@@ -3322,6 +4303,39 @@
|
|
|
3322
4303
|
"description": "Label for the input.",
|
|
3323
4304
|
"fieldName": "label"
|
|
3324
4305
|
},
|
|
4306
|
+
{
|
|
4307
|
+
"name": "hint",
|
|
4308
|
+
"type": {
|
|
4309
|
+
"text": "string | undefined"
|
|
4310
|
+
},
|
|
4311
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
4312
|
+
"fieldName": "hint"
|
|
4313
|
+
},
|
|
4314
|
+
{
|
|
4315
|
+
"name": "hide-label",
|
|
4316
|
+
"type": {
|
|
4317
|
+
"text": "boolean"
|
|
4318
|
+
},
|
|
4319
|
+
"default": "false",
|
|
4320
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
4321
|
+
"fieldName": "hideLabel"
|
|
4322
|
+
},
|
|
4323
|
+
{
|
|
4324
|
+
"name": "placeholder",
|
|
4325
|
+
"type": {
|
|
4326
|
+
"text": "string | undefined"
|
|
4327
|
+
},
|
|
4328
|
+
"description": "Placeholder text to display within the input.",
|
|
4329
|
+
"fieldName": "placeholder"
|
|
4330
|
+
},
|
|
4331
|
+
{
|
|
4332
|
+
"name": "error",
|
|
4333
|
+
"type": {
|
|
4334
|
+
"text": "string | undefined"
|
|
4335
|
+
},
|
|
4336
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
4337
|
+
"fieldName": "error"
|
|
4338
|
+
},
|
|
3325
4339
|
{
|
|
3326
4340
|
"name": "required",
|
|
3327
4341
|
"type": {
|
|
@@ -3330,6 +4344,15 @@
|
|
|
3330
4344
|
"default": "false",
|
|
3331
4345
|
"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.",
|
|
3332
4346
|
"fieldName": "required"
|
|
4347
|
+
},
|
|
4348
|
+
{
|
|
4349
|
+
"name": "expand",
|
|
4350
|
+
"type": {
|
|
4351
|
+
"text": "boolean"
|
|
4352
|
+
},
|
|
4353
|
+
"default": "false",
|
|
4354
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
4355
|
+
"fieldName": "expand"
|
|
3333
4356
|
}
|
|
3334
4357
|
],
|
|
3335
4358
|
"parameters": [
|
|
@@ -3436,6 +4459,7 @@
|
|
|
3436
4459
|
{
|
|
3437
4460
|
"kind": "field",
|
|
3438
4461
|
"name": "form",
|
|
4462
|
+
"privacy": "protected",
|
|
3439
4463
|
"description": "Gets the form, if any, associated with the input element."
|
|
3440
4464
|
}
|
|
3441
4465
|
],
|