@nordhealth/components 1.0.0-alpha.35 → 1.0.0-alpha.39
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 +1455 -431
- 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-bfdc253c.js +2 -0
- package/lib/TextField-bfdc253c.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",
|
|
@@ -889,7 +886,7 @@
|
|
|
889
886
|
"kind": "field",
|
|
890
887
|
"name": "dismissController",
|
|
891
888
|
"privacy": "private",
|
|
892
|
-
"default": "new LightDismissController(this, () => this.close())"
|
|
889
|
+
"default": "new LightDismissController(this, {\n isOpen: () => this.open,\n onDismiss: () => this.close(),\n })"
|
|
893
890
|
},
|
|
894
891
|
{
|
|
895
892
|
"kind": "field",
|
|
@@ -904,7 +901,7 @@
|
|
|
904
901
|
"text": "boolean"
|
|
905
902
|
},
|
|
906
903
|
"default": "false",
|
|
907
|
-
"description": "Show or hide
|
|
904
|
+
"description": "Show or hide the command menu.",
|
|
908
905
|
"attribute": "open"
|
|
909
906
|
},
|
|
910
907
|
{
|
|
@@ -924,15 +921,15 @@
|
|
|
924
921
|
"text": "Array<ICommandMenuAction>"
|
|
925
922
|
},
|
|
926
923
|
"default": "[]",
|
|
927
|
-
"description": "Array of commands to be included in the menu."
|
|
928
|
-
"attribute": "commands"
|
|
924
|
+
"description": "Array of commands to be included in the menu."
|
|
929
925
|
},
|
|
930
926
|
{
|
|
931
927
|
"kind": "field",
|
|
932
928
|
"name": "parent",
|
|
933
929
|
"type": {
|
|
934
930
|
"text": "string | undefined"
|
|
935
|
-
}
|
|
931
|
+
},
|
|
932
|
+
"privacy": "private"
|
|
936
933
|
},
|
|
937
934
|
{
|
|
938
935
|
"kind": "field",
|
|
@@ -940,6 +937,7 @@
|
|
|
940
937
|
"type": {
|
|
941
938
|
"text": "string"
|
|
942
939
|
},
|
|
940
|
+
"privacy": "private",
|
|
943
941
|
"default": "\"\""
|
|
944
942
|
},
|
|
945
943
|
{
|
|
@@ -986,7 +984,8 @@
|
|
|
986
984
|
"default": "{}",
|
|
987
985
|
"type": {
|
|
988
986
|
"text": "{ parent?: string }"
|
|
989
|
-
}
|
|
987
|
+
},
|
|
988
|
+
"description": "allows you to open the menu filtered to a specific parent command."
|
|
990
989
|
}
|
|
991
990
|
],
|
|
992
991
|
"description": "Show the command menu programmatically."
|
|
@@ -1006,6 +1005,11 @@
|
|
|
1006
1005
|
"name": "focus",
|
|
1007
1006
|
"description": "Focus the command menu's input."
|
|
1008
1007
|
},
|
|
1008
|
+
{
|
|
1009
|
+
"kind": "method",
|
|
1010
|
+
"name": "renderNoResults",
|
|
1011
|
+
"privacy": "private"
|
|
1012
|
+
},
|
|
1009
1013
|
{
|
|
1010
1014
|
"kind": "method",
|
|
1011
1015
|
"name": "renderSection",
|
|
@@ -1030,6 +1034,11 @@
|
|
|
1030
1034
|
"name": "handleAnimationEnd",
|
|
1031
1035
|
"privacy": "private"
|
|
1032
1036
|
},
|
|
1037
|
+
{
|
|
1038
|
+
"kind": "method",
|
|
1039
|
+
"name": "handleBlur",
|
|
1040
|
+
"privacy": "private"
|
|
1041
|
+
},
|
|
1033
1042
|
{
|
|
1034
1043
|
"kind": "method",
|
|
1035
1044
|
"name": "handleInput",
|
|
@@ -1135,21 +1144,21 @@
|
|
|
1135
1144
|
"type": {
|
|
1136
1145
|
"text": "NordEvent"
|
|
1137
1146
|
},
|
|
1138
|
-
"description": "The command menu was opened."
|
|
1147
|
+
"description": "The command menu was opened foo."
|
|
1139
1148
|
},
|
|
1140
1149
|
{
|
|
1141
1150
|
"name": "close",
|
|
1142
1151
|
"type": {
|
|
1143
1152
|
"text": "NordEvent"
|
|
1144
1153
|
},
|
|
1145
|
-
"description": "The command menu was closed."
|
|
1154
|
+
"description": "The command menu was closed bar."
|
|
1146
1155
|
},
|
|
1147
1156
|
{
|
|
1148
|
-
"name": "command",
|
|
1149
1157
|
"type": {
|
|
1150
1158
|
"text": "SelectEvent"
|
|
1151
1159
|
},
|
|
1152
|
-
"description": "User selected a command from the menu."
|
|
1160
|
+
"description": "User selected a command from the menu.",
|
|
1161
|
+
"name": "n-select"
|
|
1153
1162
|
}
|
|
1154
1163
|
],
|
|
1155
1164
|
"attributes": [
|
|
@@ -1159,7 +1168,7 @@
|
|
|
1159
1168
|
"text": "boolean"
|
|
1160
1169
|
},
|
|
1161
1170
|
"default": "false",
|
|
1162
|
-
"description": "Show or hide
|
|
1171
|
+
"description": "Show or hide the command menu.",
|
|
1163
1172
|
"fieldName": "open"
|
|
1164
1173
|
},
|
|
1165
1174
|
{
|
|
@@ -1170,15 +1179,6 @@
|
|
|
1170
1179
|
"default": "\"Type a command or search...\"",
|
|
1171
1180
|
"description": "Hint text to display in the search field.",
|
|
1172
1181
|
"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
1182
|
}
|
|
1183
1183
|
],
|
|
1184
1184
|
"mixins": [
|
|
@@ -1331,7 +1331,7 @@
|
|
|
1331
1331
|
"text": "ShortcutController"
|
|
1332
1332
|
},
|
|
1333
1333
|
"privacy": "private",
|
|
1334
|
-
"default": "new ShortcutController(host, { \"$mod+k\": actions.toggleOpen })"
|
|
1334
|
+
"default": "new ShortcutController(host, { \"$mod+k\": preventDefault(actions.toggleOpen) })"
|
|
1335
1335
|
},
|
|
1336
1336
|
{
|
|
1337
1337
|
"kind": "field",
|
|
@@ -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,8 +1778,26 @@
|
|
|
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
|
+
}
|
|
1787
|
+
},
|
|
1788
|
+
{
|
|
1789
|
+
"kind": "field",
|
|
1790
|
+
"name": "required",
|
|
1791
|
+
"type": {
|
|
1792
|
+
"text": "boolean"
|
|
1793
|
+
},
|
|
1794
|
+
"default": "false",
|
|
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
|
+
}
|
|
1730
1801
|
},
|
|
1731
1802
|
{
|
|
1732
1803
|
"kind": "field",
|
|
@@ -1737,72 +1808,78 @@
|
|
|
1737
1808
|
"default": "false",
|
|
1738
1809
|
"description": "Controls whether the input expands to fill the width of its container.",
|
|
1739
1810
|
"attribute": "expand",
|
|
1740
|
-
"reflects": true
|
|
1811
|
+
"reflects": true,
|
|
1812
|
+
"inheritedFrom": {
|
|
1813
|
+
"name": "FormAssociatedMixin",
|
|
1814
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1815
|
+
}
|
|
1741
1816
|
},
|
|
1742
1817
|
{
|
|
1743
|
-
"kind": "
|
|
1744
|
-
"name": "
|
|
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",
|
|
@@ -2286,6 +2310,59 @@
|
|
|
2286
2310
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2287
2311
|
}
|
|
2288
2312
|
},
|
|
2313
|
+
{
|
|
2314
|
+
"kind": "field",
|
|
2315
|
+
"name": "hint",
|
|
2316
|
+
"type": {
|
|
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
|
+
},
|
|
2289
2366
|
{
|
|
2290
2367
|
"kind": "field",
|
|
2291
2368
|
"name": "required",
|
|
@@ -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,48 +2592,685 @@
|
|
|
2436
2592
|
}
|
|
2437
2593
|
}
|
|
2438
2594
|
],
|
|
2439
|
-
"
|
|
2595
|
+
"mixins": [
|
|
2440
2596
|
{
|
|
2441
|
-
"name": "
|
|
2442
|
-
"
|
|
2443
|
-
"text": "string | undefined"
|
|
2444
|
-
},
|
|
2445
|
-
"description": "Optional hint text to be displayed with select. Alternatively use the hint slot.",
|
|
2446
|
-
"fieldName": "hint"
|
|
2597
|
+
"name": "FormAssociatedMixin",
|
|
2598
|
+
"module": "/src/common/mixins/FormAssociatedMixin.js"
|
|
2447
2599
|
},
|
|
2448
2600
|
{
|
|
2449
|
-
"name": "
|
|
2450
|
-
"
|
|
2451
|
-
"text": "boolean"
|
|
2452
|
-
},
|
|
2453
|
-
"default": "false",
|
|
2454
|
-
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
2455
|
-
"fieldName": "hideLabel"
|
|
2601
|
+
"name": "InputMixin",
|
|
2602
|
+
"module": "/src/common/mixins/InputMixin.js"
|
|
2456
2603
|
},
|
|
2457
2604
|
{
|
|
2458
|
-
"name": "
|
|
2459
|
-
"
|
|
2460
|
-
"text": "string | undefined"
|
|
2461
|
-
},
|
|
2462
|
-
"description": "Hint text to display as the first option of the select element.",
|
|
2463
|
-
"fieldName": "placeholder"
|
|
2605
|
+
"name": "FocusableMixin",
|
|
2606
|
+
"module": "/src/common/mixins/FocusableMixin.js"
|
|
2464
2607
|
},
|
|
2465
2608
|
{
|
|
2466
|
-
"name": "
|
|
2467
|
-
"
|
|
2468
|
-
|
|
2469
|
-
|
|
2470
|
-
|
|
2471
|
-
|
|
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,
|
|
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
|
+
},
|
|
2635
|
+
{
|
|
2636
|
+
"name": "hint",
|
|
2637
|
+
"type": {
|
|
2638
|
+
"text": "string | undefined"
|
|
2639
|
+
},
|
|
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
|
+
}
|
|
2646
|
+
},
|
|
2647
|
+
{
|
|
2648
|
+
"name": "hide-label",
|
|
2649
|
+
"type": {
|
|
2650
|
+
"text": "boolean"
|
|
2651
|
+
},
|
|
2652
|
+
"default": "false",
|
|
2653
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
2654
|
+
"fieldName": "hideLabel",
|
|
2655
|
+
"inheritedFrom": {
|
|
2656
|
+
"name": "FormAssociatedMixin",
|
|
2657
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2658
|
+
}
|
|
2659
|
+
},
|
|
2660
|
+
{
|
|
2661
|
+
"name": "placeholder",
|
|
2662
|
+
"type": {
|
|
2663
|
+
"text": "string | undefined"
|
|
2664
|
+
},
|
|
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
|
+
}
|
|
2671
|
+
},
|
|
2672
|
+
{
|
|
2673
|
+
"name": "error",
|
|
2674
|
+
"type": {
|
|
2675
|
+
"text": "string | undefined"
|
|
2676
|
+
},
|
|
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
|
+
}
|
|
2683
|
+
},
|
|
2684
|
+
{
|
|
2685
|
+
"name": "required",
|
|
2686
|
+
"type": {
|
|
2687
|
+
"text": "boolean"
|
|
2688
|
+
},
|
|
2689
|
+
"default": "false",
|
|
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",
|
|
2692
|
+
"inheritedFrom": {
|
|
2693
|
+
"name": "FormAssociatedMixin",
|
|
2694
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2695
|
+
}
|
|
2696
|
+
},
|
|
2697
|
+
{
|
|
2698
|
+
"name": "expand",
|
|
2699
|
+
"type": {
|
|
2700
|
+
"text": "boolean"
|
|
2701
|
+
},
|
|
2702
|
+
"default": "false",
|
|
2703
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
2704
|
+
"fieldName": "expand",
|
|
2705
|
+
"inheritedFrom": {
|
|
2706
|
+
"name": "FormAssociatedMixin",
|
|
2707
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2708
|
+
}
|
|
2709
|
+
},
|
|
2710
|
+
{
|
|
2711
|
+
"name": "disabled",
|
|
2712
|
+
"type": {
|
|
2713
|
+
"text": "boolean"
|
|
2714
|
+
},
|
|
2715
|
+
"default": "false",
|
|
2716
|
+
"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.",
|
|
2717
|
+
"fieldName": "disabled",
|
|
2718
|
+
"inheritedFrom": {
|
|
2719
|
+
"name": "InputMixin",
|
|
2720
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
2721
|
+
}
|
|
2722
|
+
},
|
|
2723
|
+
{
|
|
2724
|
+
"name": "name",
|
|
2725
|
+
"type": {
|
|
2726
|
+
"text": "string | undefined"
|
|
2727
|
+
},
|
|
2728
|
+
"description": "The name of the input component.",
|
|
2729
|
+
"fieldName": "name",
|
|
2730
|
+
"inheritedFrom": {
|
|
2731
|
+
"name": "InputMixin",
|
|
2732
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
2733
|
+
}
|
|
2734
|
+
},
|
|
2735
|
+
{
|
|
2736
|
+
"name": "value",
|
|
2737
|
+
"type": {
|
|
2738
|
+
"text": "string | undefined"
|
|
2739
|
+
},
|
|
2740
|
+
"description": "The value of the input component.",
|
|
2741
|
+
"fieldName": "value",
|
|
2742
|
+
"inheritedFrom": {
|
|
2743
|
+
"name": "InputMixin",
|
|
2744
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
2745
|
+
}
|
|
2746
|
+
}
|
|
2747
|
+
],
|
|
2748
|
+
"events": [
|
|
2749
|
+
{
|
|
2750
|
+
"name": "change",
|
|
2751
|
+
"type": {
|
|
2752
|
+
"text": "NordEvent"
|
|
2753
|
+
},
|
|
2754
|
+
"description": "Fired whenever the input's value is changed via user interaction.",
|
|
2755
|
+
"inheritedFrom": {
|
|
2756
|
+
"name": "FormAssociatedMixin",
|
|
2757
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2758
|
+
}
|
|
2759
|
+
}
|
|
2760
|
+
]
|
|
2761
|
+
}
|
|
2762
|
+
],
|
|
2763
|
+
"exports": [
|
|
2764
|
+
{
|
|
2765
|
+
"kind": "js",
|
|
2766
|
+
"name": "default",
|
|
2767
|
+
"declaration": {
|
|
2768
|
+
"name": "Select",
|
|
2769
|
+
"module": "src/select/Select.ts"
|
|
2770
|
+
}
|
|
2771
|
+
},
|
|
2772
|
+
{
|
|
2773
|
+
"kind": "custom-element-definition",
|
|
2774
|
+
"name": "nord-select",
|
|
2775
|
+
"declaration": {
|
|
2776
|
+
"name": "Select",
|
|
2777
|
+
"module": "src/select/Select.ts"
|
|
2778
|
+
}
|
|
2779
|
+
}
|
|
2780
|
+
]
|
|
2781
|
+
},
|
|
2782
|
+
{
|
|
2783
|
+
"kind": "javascript-module",
|
|
2784
|
+
"path": "src/stack/Stack.ts",
|
|
2785
|
+
"declarations": [
|
|
2786
|
+
{
|
|
2787
|
+
"kind": "class",
|
|
2788
|
+
"description": "Stack component manages layout of immediate children along the\nvertical or horizontal axis with optional spacing between each child.",
|
|
2789
|
+
"name": "Stack",
|
|
2790
|
+
"slots": [
|
|
2791
|
+
{
|
|
2792
|
+
"description": "The stack content.",
|
|
2793
|
+
"name": ""
|
|
2794
|
+
}
|
|
2795
|
+
],
|
|
2796
|
+
"members": [
|
|
2797
|
+
{
|
|
2798
|
+
"kind": "field",
|
|
2799
|
+
"name": "gap",
|
|
2800
|
+
"type": {
|
|
2801
|
+
"text": "\"none\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
|
|
2802
|
+
},
|
|
2803
|
+
"default": "\"m\"",
|
|
2804
|
+
"description": "The space injected between components.",
|
|
2805
|
+
"attribute": "gap",
|
|
2806
|
+
"reflects": true
|
|
2807
|
+
},
|
|
2808
|
+
{
|
|
2809
|
+
"kind": "field",
|
|
2810
|
+
"name": "direction",
|
|
2811
|
+
"type": {
|
|
2812
|
+
"text": "\"vertical\" | \"horizontal\""
|
|
2813
|
+
},
|
|
2814
|
+
"default": "\"vertical\"",
|
|
2815
|
+
"description": "The direction of the stack.",
|
|
2816
|
+
"attribute": "direction",
|
|
2817
|
+
"reflects": true
|
|
2818
|
+
},
|
|
2819
|
+
{
|
|
2820
|
+
"kind": "field",
|
|
2821
|
+
"name": "alignItems",
|
|
2822
|
+
"type": {
|
|
2823
|
+
"text": "\"center\" | \"start\" | \"end\" | undefined"
|
|
2824
|
+
},
|
|
2825
|
+
"description": "How to align the child items inside the stack.",
|
|
2826
|
+
"attribute": "align-items",
|
|
2827
|
+
"reflects": true
|
|
2828
|
+
},
|
|
2829
|
+
{
|
|
2830
|
+
"kind": "field",
|
|
2831
|
+
"name": "_warningLogged",
|
|
2832
|
+
"type": {
|
|
2833
|
+
"text": "boolean"
|
|
2834
|
+
},
|
|
2835
|
+
"privacy": "private",
|
|
2836
|
+
"static": true,
|
|
2837
|
+
"default": "false",
|
|
2838
|
+
"inheritedFrom": {
|
|
2839
|
+
"name": "DraftComponentMixin",
|
|
2840
|
+
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
2841
|
+
}
|
|
2842
|
+
}
|
|
2843
|
+
],
|
|
2844
|
+
"attributes": [
|
|
2845
|
+
{
|
|
2846
|
+
"name": "gap",
|
|
2847
|
+
"type": {
|
|
2848
|
+
"text": "\"none\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
|
|
2849
|
+
},
|
|
2850
|
+
"default": "\"m\"",
|
|
2851
|
+
"description": "The space injected between components.",
|
|
2852
|
+
"fieldName": "gap"
|
|
2853
|
+
},
|
|
2854
|
+
{
|
|
2855
|
+
"name": "direction",
|
|
2856
|
+
"type": {
|
|
2857
|
+
"text": "\"vertical\" | \"horizontal\""
|
|
2858
|
+
},
|
|
2859
|
+
"default": "\"vertical\"",
|
|
2860
|
+
"description": "The direction of the stack.",
|
|
2861
|
+
"fieldName": "direction"
|
|
2862
|
+
},
|
|
2863
|
+
{
|
|
2864
|
+
"name": "align-items",
|
|
2865
|
+
"type": {
|
|
2866
|
+
"text": "\"center\" | \"start\" | \"end\" | undefined"
|
|
2867
|
+
},
|
|
2868
|
+
"description": "How to align the child items inside the stack.",
|
|
2869
|
+
"fieldName": "alignItems"
|
|
2870
|
+
}
|
|
2871
|
+
],
|
|
2872
|
+
"mixins": [
|
|
2873
|
+
{
|
|
2874
|
+
"name": "DraftComponentMixin",
|
|
2875
|
+
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
2876
|
+
}
|
|
2877
|
+
],
|
|
2878
|
+
"superclass": {
|
|
2879
|
+
"name": "LitElement",
|
|
2880
|
+
"package": "lit"
|
|
2881
|
+
},
|
|
2882
|
+
"status": "draft",
|
|
2883
|
+
"category": "structure",
|
|
2884
|
+
"tagName": "nord-stack",
|
|
2885
|
+
"customElement": true
|
|
2886
|
+
}
|
|
2887
|
+
],
|
|
2888
|
+
"exports": [
|
|
2889
|
+
{
|
|
2890
|
+
"kind": "js",
|
|
2891
|
+
"name": "default",
|
|
2892
|
+
"declaration": {
|
|
2893
|
+
"name": "Stack",
|
|
2894
|
+
"module": "src/stack/Stack.ts"
|
|
2895
|
+
}
|
|
2896
|
+
},
|
|
2897
|
+
{
|
|
2898
|
+
"kind": "custom-element-definition",
|
|
2899
|
+
"name": "nord-stack",
|
|
2900
|
+
"declaration": {
|
|
2901
|
+
"name": "Stack",
|
|
2902
|
+
"module": "src/stack/Stack.ts"
|
|
2903
|
+
}
|
|
2904
|
+
}
|
|
2905
|
+
]
|
|
2906
|
+
},
|
|
2907
|
+
{
|
|
2908
|
+
"kind": "javascript-module",
|
|
2909
|
+
"path": "src/textarea/Textarea.ts",
|
|
2910
|
+
"declarations": [
|
|
2911
|
+
{
|
|
2912
|
+
"kind": "class",
|
|
2913
|
+
"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.",
|
|
2914
|
+
"name": "Textarea",
|
|
2915
|
+
"slots": [
|
|
2916
|
+
{
|
|
2917
|
+
"description": "Use when a label requires more than plain text.",
|
|
2918
|
+
"name": "label"
|
|
2919
|
+
},
|
|
2920
|
+
{
|
|
2921
|
+
"description": "Optional slot that holds hint text for the textarea.",
|
|
2922
|
+
"name": "hint"
|
|
2923
|
+
},
|
|
2924
|
+
{
|
|
2925
|
+
"description": "Optional slot that holds error text for the textarea.",
|
|
2926
|
+
"name": "error"
|
|
2927
|
+
}
|
|
2928
|
+
],
|
|
2929
|
+
"members": [
|
|
2930
|
+
{
|
|
2931
|
+
"kind": "field",
|
|
2932
|
+
"name": "inputId",
|
|
2933
|
+
"type": {
|
|
2934
|
+
"text": "string"
|
|
2935
|
+
},
|
|
2936
|
+
"privacy": "protected",
|
|
2937
|
+
"default": "\"textarea\"",
|
|
2938
|
+
"inheritedFrom": {
|
|
2939
|
+
"name": "FormAssociatedMixin",
|
|
2940
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2941
|
+
}
|
|
2942
|
+
},
|
|
2943
|
+
{
|
|
2944
|
+
"kind": "field",
|
|
2945
|
+
"name": "resize",
|
|
2946
|
+
"type": {
|
|
2947
|
+
"text": "\"vertical\" | \"auto\""
|
|
2948
|
+
},
|
|
2949
|
+
"default": "\"vertical\"",
|
|
2950
|
+
"description": "Controls whether the textarea is resizable.\nBy default is manually resizable vertically.\nSet to \"auto\" to enable auto-resizing as content grows.",
|
|
2951
|
+
"attribute": "resize",
|
|
2952
|
+
"reflects": true
|
|
2953
|
+
},
|
|
2954
|
+
{
|
|
2955
|
+
"kind": "method",
|
|
2956
|
+
"name": "resizeToFitContent",
|
|
2957
|
+
"privacy": "private"
|
|
2958
|
+
},
|
|
2959
|
+
{
|
|
2960
|
+
"kind": "field",
|
|
2961
|
+
"name": "slots",
|
|
2962
|
+
"privacy": "protected",
|
|
2963
|
+
"default": "new SlotController(this)",
|
|
2964
|
+
"inheritedFrom": {
|
|
2965
|
+
"name": "FormAssociatedMixin",
|
|
2966
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2967
|
+
}
|
|
2968
|
+
},
|
|
2969
|
+
{
|
|
2970
|
+
"kind": "field",
|
|
2971
|
+
"name": "label",
|
|
2972
|
+
"type": {
|
|
2973
|
+
"text": "string"
|
|
2974
|
+
},
|
|
2975
|
+
"default": "\"\"",
|
|
2976
|
+
"description": "Label for the input.",
|
|
2977
|
+
"attribute": "label",
|
|
2978
|
+
"inheritedFrom": {
|
|
2979
|
+
"name": "FormAssociatedMixin",
|
|
2980
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2981
|
+
}
|
|
2982
|
+
},
|
|
2983
|
+
{
|
|
2984
|
+
"kind": "field",
|
|
2985
|
+
"name": "hint",
|
|
2986
|
+
"type": {
|
|
2987
|
+
"text": "string | undefined"
|
|
2988
|
+
},
|
|
2989
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
2990
|
+
"attribute": "hint",
|
|
2991
|
+
"inheritedFrom": {
|
|
2992
|
+
"name": "FormAssociatedMixin",
|
|
2993
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2994
|
+
}
|
|
2995
|
+
},
|
|
2996
|
+
{
|
|
2997
|
+
"kind": "field",
|
|
2998
|
+
"name": "hideLabel",
|
|
2999
|
+
"type": {
|
|
3000
|
+
"text": "boolean"
|
|
3001
|
+
},
|
|
3002
|
+
"default": "false",
|
|
3003
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
3004
|
+
"attribute": "hide-label",
|
|
3005
|
+
"inheritedFrom": {
|
|
3006
|
+
"name": "FormAssociatedMixin",
|
|
3007
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3008
|
+
}
|
|
3009
|
+
},
|
|
3010
|
+
{
|
|
3011
|
+
"kind": "field",
|
|
3012
|
+
"name": "placeholder",
|
|
3013
|
+
"type": {
|
|
3014
|
+
"text": "string | undefined"
|
|
3015
|
+
},
|
|
3016
|
+
"description": "Placeholder text to display within the input.",
|
|
3017
|
+
"attribute": "placeholder",
|
|
3018
|
+
"inheritedFrom": {
|
|
3019
|
+
"name": "FormAssociatedMixin",
|
|
3020
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3021
|
+
}
|
|
3022
|
+
},
|
|
3023
|
+
{
|
|
3024
|
+
"kind": "field",
|
|
3025
|
+
"name": "error",
|
|
3026
|
+
"type": {
|
|
3027
|
+
"text": "string | undefined"
|
|
3028
|
+
},
|
|
3029
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
3030
|
+
"attribute": "error",
|
|
3031
|
+
"inheritedFrom": {
|
|
3032
|
+
"name": "FormAssociatedMixin",
|
|
3033
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3034
|
+
}
|
|
3035
|
+
},
|
|
3036
|
+
{
|
|
3037
|
+
"kind": "field",
|
|
3038
|
+
"name": "required",
|
|
3039
|
+
"type": {
|
|
3040
|
+
"text": "boolean"
|
|
3041
|
+
},
|
|
3042
|
+
"default": "false",
|
|
3043
|
+
"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.",
|
|
3044
|
+
"attribute": "required",
|
|
3045
|
+
"inheritedFrom": {
|
|
3046
|
+
"name": "FormAssociatedMixin",
|
|
3047
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3048
|
+
}
|
|
3049
|
+
},
|
|
3050
|
+
{
|
|
3051
|
+
"kind": "field",
|
|
3052
|
+
"name": "expand",
|
|
3053
|
+
"type": {
|
|
3054
|
+
"text": "boolean"
|
|
3055
|
+
},
|
|
3056
|
+
"default": "false",
|
|
3057
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
3058
|
+
"attribute": "expand",
|
|
3059
|
+
"reflects": true,
|
|
3060
|
+
"inheritedFrom": {
|
|
3061
|
+
"name": "FormAssociatedMixin",
|
|
3062
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3063
|
+
}
|
|
2472
3064
|
},
|
|
2473
3065
|
{
|
|
2474
|
-
"
|
|
3066
|
+
"kind": "field",
|
|
3067
|
+
"name": "handleFormData",
|
|
3068
|
+
"privacy": "private",
|
|
3069
|
+
"inheritedFrom": {
|
|
3070
|
+
"name": "FormAssociatedMixin",
|
|
3071
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3072
|
+
}
|
|
3073
|
+
},
|
|
3074
|
+
{
|
|
3075
|
+
"kind": "method",
|
|
3076
|
+
"name": "handleChange",
|
|
3077
|
+
"privacy": "protected",
|
|
3078
|
+
"parameters": [
|
|
3079
|
+
{
|
|
3080
|
+
"name": "e",
|
|
3081
|
+
"type": {
|
|
3082
|
+
"text": "Event"
|
|
3083
|
+
}
|
|
3084
|
+
}
|
|
3085
|
+
],
|
|
3086
|
+
"inheritedFrom": {
|
|
3087
|
+
"name": "FormAssociatedMixin",
|
|
3088
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3089
|
+
}
|
|
3090
|
+
},
|
|
3091
|
+
{
|
|
3092
|
+
"kind": "method",
|
|
3093
|
+
"name": "renderLabel",
|
|
3094
|
+
"privacy": "protected",
|
|
3095
|
+
"inheritedFrom": {
|
|
3096
|
+
"name": "FormAssociatedMixin",
|
|
3097
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3098
|
+
}
|
|
3099
|
+
},
|
|
3100
|
+
{
|
|
3101
|
+
"kind": "method",
|
|
3102
|
+
"name": "renderHint",
|
|
3103
|
+
"privacy": "private",
|
|
3104
|
+
"inheritedFrom": {
|
|
3105
|
+
"name": "FormAssociatedMixin",
|
|
3106
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3107
|
+
}
|
|
3108
|
+
},
|
|
3109
|
+
{
|
|
3110
|
+
"kind": "method",
|
|
3111
|
+
"name": "renderError",
|
|
3112
|
+
"privacy": "protected",
|
|
3113
|
+
"inheritedFrom": {
|
|
3114
|
+
"name": "FormAssociatedMixin",
|
|
3115
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3116
|
+
}
|
|
3117
|
+
},
|
|
3118
|
+
{
|
|
3119
|
+
"kind": "method",
|
|
3120
|
+
"name": "getDescribedBy",
|
|
3121
|
+
"privacy": "protected",
|
|
3122
|
+
"inheritedFrom": {
|
|
3123
|
+
"name": "FormAssociatedMixin",
|
|
3124
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3125
|
+
}
|
|
3126
|
+
},
|
|
3127
|
+
{
|
|
3128
|
+
"kind": "method",
|
|
3129
|
+
"name": "getInvalid",
|
|
3130
|
+
"privacy": "protected",
|
|
3131
|
+
"inheritedFrom": {
|
|
3132
|
+
"name": "FormAssociatedMixin",
|
|
3133
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3134
|
+
}
|
|
3135
|
+
},
|
|
3136
|
+
{
|
|
3137
|
+
"kind": "field",
|
|
3138
|
+
"name": "hasHint",
|
|
3139
|
+
"privacy": "protected",
|
|
3140
|
+
"inheritedFrom": {
|
|
3141
|
+
"name": "FormAssociatedMixin",
|
|
3142
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3143
|
+
}
|
|
3144
|
+
},
|
|
3145
|
+
{
|
|
3146
|
+
"kind": "field",
|
|
3147
|
+
"name": "hasError",
|
|
3148
|
+
"privacy": "protected",
|
|
3149
|
+
"inheritedFrom": {
|
|
3150
|
+
"name": "FormAssociatedMixin",
|
|
3151
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3152
|
+
}
|
|
3153
|
+
},
|
|
3154
|
+
{
|
|
3155
|
+
"kind": "field",
|
|
3156
|
+
"name": "disabled",
|
|
2475
3157
|
"type": {
|
|
2476
3158
|
"text": "boolean"
|
|
2477
3159
|
},
|
|
2478
3160
|
"default": "false",
|
|
2479
|
-
"description": "
|
|
2480
|
-
"
|
|
3161
|
+
"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.",
|
|
3162
|
+
"attribute": "disabled",
|
|
3163
|
+
"inheritedFrom": {
|
|
3164
|
+
"name": "InputMixin",
|
|
3165
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
3166
|
+
}
|
|
3167
|
+
},
|
|
3168
|
+
{
|
|
3169
|
+
"kind": "field",
|
|
3170
|
+
"name": "name",
|
|
3171
|
+
"type": {
|
|
3172
|
+
"text": "string | undefined"
|
|
3173
|
+
},
|
|
3174
|
+
"description": "The name of the input component.",
|
|
3175
|
+
"attribute": "name",
|
|
3176
|
+
"inheritedFrom": {
|
|
3177
|
+
"name": "InputMixin",
|
|
3178
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
3179
|
+
}
|
|
3180
|
+
},
|
|
3181
|
+
{
|
|
3182
|
+
"kind": "field",
|
|
3183
|
+
"name": "value",
|
|
3184
|
+
"type": {
|
|
3185
|
+
"text": "string | undefined"
|
|
3186
|
+
},
|
|
3187
|
+
"description": "The value of the input component.",
|
|
3188
|
+
"attribute": "value",
|
|
3189
|
+
"inheritedFrom": {
|
|
3190
|
+
"name": "InputMixin",
|
|
3191
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
3192
|
+
}
|
|
3193
|
+
},
|
|
3194
|
+
{
|
|
3195
|
+
"kind": "field",
|
|
3196
|
+
"name": "form",
|
|
3197
|
+
"privacy": "protected",
|
|
3198
|
+
"description": "Gets the form, if any, associated with the input element.",
|
|
3199
|
+
"inheritedFrom": {
|
|
3200
|
+
"name": "InputMixin",
|
|
3201
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
3202
|
+
}
|
|
3203
|
+
},
|
|
3204
|
+
{
|
|
3205
|
+
"kind": "field",
|
|
3206
|
+
"name": "focusableRef",
|
|
3207
|
+
"privacy": "protected",
|
|
3208
|
+
"inheritedFrom": {
|
|
3209
|
+
"name": "FocusableMixin",
|
|
3210
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
3211
|
+
}
|
|
3212
|
+
},
|
|
3213
|
+
{
|
|
3214
|
+
"kind": "method",
|
|
3215
|
+
"name": "focus",
|
|
3216
|
+
"parameters": [
|
|
3217
|
+
{
|
|
3218
|
+
"name": "options",
|
|
3219
|
+
"optional": true,
|
|
3220
|
+
"type": {
|
|
3221
|
+
"text": "FocusOptions"
|
|
3222
|
+
},
|
|
3223
|
+
"description": "An object which controls aspects of the focusing process."
|
|
3224
|
+
}
|
|
3225
|
+
],
|
|
3226
|
+
"description": "Programmatically move focus to the component",
|
|
3227
|
+
"inheritedFrom": {
|
|
3228
|
+
"name": "FocusableMixin",
|
|
3229
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
3230
|
+
}
|
|
3231
|
+
},
|
|
3232
|
+
{
|
|
3233
|
+
"kind": "method",
|
|
3234
|
+
"name": "blur",
|
|
3235
|
+
"description": "Programmatically remove focus from the component.",
|
|
3236
|
+
"inheritedFrom": {
|
|
3237
|
+
"name": "FocusableMixin",
|
|
3238
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
3239
|
+
}
|
|
3240
|
+
},
|
|
3241
|
+
{
|
|
3242
|
+
"kind": "method",
|
|
3243
|
+
"name": "click",
|
|
3244
|
+
"description": "Programmatically simulates a click on the component.",
|
|
3245
|
+
"inheritedFrom": {
|
|
3246
|
+
"name": "FocusableMixin",
|
|
3247
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
3248
|
+
}
|
|
3249
|
+
},
|
|
3250
|
+
{
|
|
3251
|
+
"kind": "field",
|
|
3252
|
+
"name": "_warningLogged",
|
|
3253
|
+
"type": {
|
|
3254
|
+
"text": "boolean"
|
|
3255
|
+
},
|
|
3256
|
+
"privacy": "private",
|
|
3257
|
+
"static": true,
|
|
3258
|
+
"default": "false",
|
|
3259
|
+
"inheritedFrom": {
|
|
3260
|
+
"name": "DraftComponentMixin",
|
|
3261
|
+
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
3262
|
+
}
|
|
3263
|
+
}
|
|
3264
|
+
],
|
|
3265
|
+
"attributes": [
|
|
3266
|
+
{
|
|
3267
|
+
"name": "resize",
|
|
3268
|
+
"type": {
|
|
3269
|
+
"text": "\"vertical\" | \"auto\""
|
|
3270
|
+
},
|
|
3271
|
+
"default": "\"vertical\"",
|
|
3272
|
+
"description": "Controls whether the textarea is resizable.\nBy default is manually resizable vertically.\nSet to \"auto\" to enable auto-resizing as content grows.",
|
|
3273
|
+
"fieldName": "resize"
|
|
2481
3274
|
},
|
|
2482
3275
|
{
|
|
2483
3276
|
"name": "label",
|
|
@@ -2492,6 +3285,55 @@
|
|
|
2492
3285
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2493
3286
|
}
|
|
2494
3287
|
},
|
|
3288
|
+
{
|
|
3289
|
+
"name": "hint",
|
|
3290
|
+
"type": {
|
|
3291
|
+
"text": "string | undefined"
|
|
3292
|
+
},
|
|
3293
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
3294
|
+
"fieldName": "hint",
|
|
3295
|
+
"inheritedFrom": {
|
|
3296
|
+
"name": "FormAssociatedMixin",
|
|
3297
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3298
|
+
}
|
|
3299
|
+
},
|
|
3300
|
+
{
|
|
3301
|
+
"name": "hide-label",
|
|
3302
|
+
"type": {
|
|
3303
|
+
"text": "boolean"
|
|
3304
|
+
},
|
|
3305
|
+
"default": "false",
|
|
3306
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
3307
|
+
"fieldName": "hideLabel",
|
|
3308
|
+
"inheritedFrom": {
|
|
3309
|
+
"name": "FormAssociatedMixin",
|
|
3310
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3311
|
+
}
|
|
3312
|
+
},
|
|
3313
|
+
{
|
|
3314
|
+
"name": "placeholder",
|
|
3315
|
+
"type": {
|
|
3316
|
+
"text": "string | undefined"
|
|
3317
|
+
},
|
|
3318
|
+
"description": "Placeholder text to display within the input.",
|
|
3319
|
+
"fieldName": "placeholder",
|
|
3320
|
+
"inheritedFrom": {
|
|
3321
|
+
"name": "FormAssociatedMixin",
|
|
3322
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3323
|
+
}
|
|
3324
|
+
},
|
|
3325
|
+
{
|
|
3326
|
+
"name": "error",
|
|
3327
|
+
"type": {
|
|
3328
|
+
"text": "string | undefined"
|
|
3329
|
+
},
|
|
3330
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
3331
|
+
"fieldName": "error",
|
|
3332
|
+
"inheritedFrom": {
|
|
3333
|
+
"name": "FormAssociatedMixin",
|
|
3334
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3335
|
+
}
|
|
3336
|
+
},
|
|
2495
3337
|
{
|
|
2496
3338
|
"name": "required",
|
|
2497
3339
|
"type": {
|
|
@@ -2505,6 +3347,19 @@
|
|
|
2505
3347
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2506
3348
|
}
|
|
2507
3349
|
},
|
|
3350
|
+
{
|
|
3351
|
+
"name": "expand",
|
|
3352
|
+
"type": {
|
|
3353
|
+
"text": "boolean"
|
|
3354
|
+
},
|
|
3355
|
+
"default": "false",
|
|
3356
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
3357
|
+
"fieldName": "expand",
|
|
3358
|
+
"inheritedFrom": {
|
|
3359
|
+
"name": "FormAssociatedMixin",
|
|
3360
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3361
|
+
}
|
|
3362
|
+
},
|
|
2508
3363
|
{
|
|
2509
3364
|
"name": "disabled",
|
|
2510
3365
|
"type": {
|
|
@@ -2567,7 +3422,7 @@
|
|
|
2567
3422
|
},
|
|
2568
3423
|
"status": "draft",
|
|
2569
3424
|
"category": "form",
|
|
2570
|
-
"tagName": "nord-
|
|
3425
|
+
"tagName": "nord-textarea",
|
|
2571
3426
|
"customElement": true,
|
|
2572
3427
|
"events": [
|
|
2573
3428
|
{
|
|
@@ -2589,66 +3444,57 @@
|
|
|
2589
3444
|
"kind": "js",
|
|
2590
3445
|
"name": "default",
|
|
2591
3446
|
"declaration": {
|
|
2592
|
-
"name": "
|
|
2593
|
-
"module": "src/
|
|
3447
|
+
"name": "Textarea",
|
|
3448
|
+
"module": "src/textarea/Textarea.ts"
|
|
2594
3449
|
}
|
|
2595
3450
|
},
|
|
2596
3451
|
{
|
|
2597
3452
|
"kind": "custom-element-definition",
|
|
2598
|
-
"name": "nord-
|
|
3453
|
+
"name": "nord-textarea",
|
|
2599
3454
|
"declaration": {
|
|
2600
|
-
"name": "
|
|
2601
|
-
"module": "src/
|
|
3455
|
+
"name": "Textarea",
|
|
3456
|
+
"module": "src/textarea/Textarea.ts"
|
|
2602
3457
|
}
|
|
2603
3458
|
}
|
|
2604
3459
|
]
|
|
2605
3460
|
},
|
|
2606
3461
|
{
|
|
2607
3462
|
"kind": "javascript-module",
|
|
2608
|
-
"path": "src/
|
|
3463
|
+
"path": "src/table/Table.ts",
|
|
2609
3464
|
"declarations": [
|
|
2610
3465
|
{
|
|
2611
3466
|
"kind": "class",
|
|
2612
|
-
"description": "
|
|
2613
|
-
"name": "
|
|
3467
|
+
"description": "Table is used to organize and display information from a data set.\nProvides table styles in addition to features like sticky\nheaders and support for narrow viewports.",
|
|
3468
|
+
"name": "Table",
|
|
2614
3469
|
"slots": [
|
|
2615
3470
|
{
|
|
2616
|
-
"description": "The
|
|
3471
|
+
"description": "The table.",
|
|
2617
3472
|
"name": ""
|
|
2618
3473
|
}
|
|
2619
3474
|
],
|
|
2620
3475
|
"members": [
|
|
2621
3476
|
{
|
|
2622
3477
|
"kind": "field",
|
|
2623
|
-
"name": "
|
|
3478
|
+
"name": "density",
|
|
2624
3479
|
"type": {
|
|
2625
|
-
"text": "\"
|
|
3480
|
+
"text": "\"condensed\" | \"default\" | \"relaxed\""
|
|
2626
3481
|
},
|
|
2627
|
-
"default": "\"
|
|
2628
|
-
"description": "
|
|
2629
|
-
"attribute": "
|
|
3482
|
+
"default": "\"default\"",
|
|
3483
|
+
"description": "Controls the density of the table's rows and headers.\nRelaxed increases space, condensed reduces space.",
|
|
3484
|
+
"attribute": "density",
|
|
2630
3485
|
"reflects": true
|
|
2631
3486
|
},
|
|
2632
3487
|
{
|
|
2633
|
-
"kind": "
|
|
2634
|
-
"name": "
|
|
2635
|
-
"
|
|
2636
|
-
|
|
2637
|
-
},
|
|
2638
|
-
"default": "\"vertical\"",
|
|
2639
|
-
"description": "The direction of the stack.",
|
|
2640
|
-
"attribute": "direction",
|
|
2641
|
-
"reflects": true
|
|
3488
|
+
"kind": "method",
|
|
3489
|
+
"name": "renderStyles",
|
|
3490
|
+
"privacy": "private",
|
|
3491
|
+
"description": "renders table styles into nearest root.\nthis is necessary since we do not use shadow dom."
|
|
2642
3492
|
},
|
|
2643
3493
|
{
|
|
2644
|
-
"kind": "
|
|
2645
|
-
"name": "
|
|
2646
|
-
"
|
|
2647
|
-
|
|
2648
|
-
},
|
|
2649
|
-
"description": "How to align the child items inside the stack.",
|
|
2650
|
-
"attribute": "align-items",
|
|
2651
|
-
"reflects": true
|
|
3494
|
+
"kind": "method",
|
|
3495
|
+
"name": "createRenderRoot",
|
|
3496
|
+
"privacy": "protected",
|
|
3497
|
+
"description": "opt out of shadow dom"
|
|
2652
3498
|
},
|
|
2653
3499
|
{
|
|
2654
3500
|
"kind": "field",
|
|
@@ -2667,30 +3513,13 @@
|
|
|
2667
3513
|
],
|
|
2668
3514
|
"attributes": [
|
|
2669
3515
|
{
|
|
2670
|
-
"name": "
|
|
2671
|
-
"type": {
|
|
2672
|
-
"text": "\"none\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
|
|
2673
|
-
},
|
|
2674
|
-
"default": "\"m\"",
|
|
2675
|
-
"description": "The space injected between components.",
|
|
2676
|
-
"fieldName": "gap"
|
|
2677
|
-
},
|
|
2678
|
-
{
|
|
2679
|
-
"name": "direction",
|
|
2680
|
-
"type": {
|
|
2681
|
-
"text": "\"vertical\" | \"horizontal\""
|
|
2682
|
-
},
|
|
2683
|
-
"default": "\"vertical\"",
|
|
2684
|
-
"description": "The direction of the stack.",
|
|
2685
|
-
"fieldName": "direction"
|
|
2686
|
-
},
|
|
2687
|
-
{
|
|
2688
|
-
"name": "align-items",
|
|
3516
|
+
"name": "density",
|
|
2689
3517
|
"type": {
|
|
2690
|
-
"text": "\"
|
|
3518
|
+
"text": "\"condensed\" | \"default\" | \"relaxed\""
|
|
2691
3519
|
},
|
|
2692
|
-
"
|
|
2693
|
-
"
|
|
3520
|
+
"default": "\"default\"",
|
|
3521
|
+
"description": "Controls the density of the table's rows and headers.\nRelaxed increases space, condensed reduces space.",
|
|
3522
|
+
"fieldName": "density"
|
|
2694
3523
|
}
|
|
2695
3524
|
],
|
|
2696
3525
|
"mixins": [
|
|
@@ -2704,8 +3533,8 @@
|
|
|
2704
3533
|
"package": "lit"
|
|
2705
3534
|
},
|
|
2706
3535
|
"status": "draft",
|
|
2707
|
-
"category": "
|
|
2708
|
-
"tagName": "nord-
|
|
3536
|
+
"category": "list",
|
|
3537
|
+
"tagName": "nord-table",
|
|
2709
3538
|
"customElement": true
|
|
2710
3539
|
}
|
|
2711
3540
|
],
|
|
@@ -2714,16 +3543,16 @@
|
|
|
2714
3543
|
"kind": "js",
|
|
2715
3544
|
"name": "default",
|
|
2716
3545
|
"declaration": {
|
|
2717
|
-
"name": "
|
|
2718
|
-
"module": "src/
|
|
3546
|
+
"name": "Table",
|
|
3547
|
+
"module": "src/table/Table.ts"
|
|
2719
3548
|
}
|
|
2720
3549
|
},
|
|
2721
3550
|
{
|
|
2722
3551
|
"kind": "custom-element-definition",
|
|
2723
|
-
"name": "nord-
|
|
3552
|
+
"name": "nord-table",
|
|
2724
3553
|
"declaration": {
|
|
2725
|
-
"name": "
|
|
2726
|
-
"module": "src/
|
|
3554
|
+
"name": "Table",
|
|
3555
|
+
"module": "src/table/Table.ts"
|
|
2727
3556
|
}
|
|
2728
3557
|
}
|
|
2729
3558
|
]
|
|
@@ -2793,105 +3622,6 @@
|
|
|
2793
3622
|
}
|
|
2794
3623
|
]
|
|
2795
3624
|
},
|
|
2796
|
-
{
|
|
2797
|
-
"kind": "javascript-module",
|
|
2798
|
-
"path": "src/table/Table.ts",
|
|
2799
|
-
"declarations": [
|
|
2800
|
-
{
|
|
2801
|
-
"kind": "class",
|
|
2802
|
-
"description": "Table is used to organize and display information from a data set.\nProvides table styles in addition to features like sticky\nheaders and support for narrow viewports.",
|
|
2803
|
-
"name": "Table",
|
|
2804
|
-
"slots": [
|
|
2805
|
-
{
|
|
2806
|
-
"description": "The table.",
|
|
2807
|
-
"name": ""
|
|
2808
|
-
}
|
|
2809
|
-
],
|
|
2810
|
-
"members": [
|
|
2811
|
-
{
|
|
2812
|
-
"kind": "field",
|
|
2813
|
-
"name": "density",
|
|
2814
|
-
"type": {
|
|
2815
|
-
"text": "\"condensed\" | \"default\" | \"relaxed\""
|
|
2816
|
-
},
|
|
2817
|
-
"default": "\"default\"",
|
|
2818
|
-
"description": "Controls the density of the table's rows and headers.\nRelaxed increases space, condensed reduces space.",
|
|
2819
|
-
"attribute": "density",
|
|
2820
|
-
"reflects": true
|
|
2821
|
-
},
|
|
2822
|
-
{
|
|
2823
|
-
"kind": "method",
|
|
2824
|
-
"name": "renderStyles",
|
|
2825
|
-
"privacy": "private",
|
|
2826
|
-
"description": "renders table styles into nearest root.\nthis is necessary since we do not use shadow dom."
|
|
2827
|
-
},
|
|
2828
|
-
{
|
|
2829
|
-
"kind": "method",
|
|
2830
|
-
"name": "createRenderRoot",
|
|
2831
|
-
"privacy": "protected",
|
|
2832
|
-
"description": "opt out of shadow dom"
|
|
2833
|
-
},
|
|
2834
|
-
{
|
|
2835
|
-
"kind": "field",
|
|
2836
|
-
"name": "_warningLogged",
|
|
2837
|
-
"type": {
|
|
2838
|
-
"text": "boolean"
|
|
2839
|
-
},
|
|
2840
|
-
"privacy": "private",
|
|
2841
|
-
"static": true,
|
|
2842
|
-
"default": "false",
|
|
2843
|
-
"inheritedFrom": {
|
|
2844
|
-
"name": "DraftComponentMixin",
|
|
2845
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
2846
|
-
}
|
|
2847
|
-
}
|
|
2848
|
-
],
|
|
2849
|
-
"attributes": [
|
|
2850
|
-
{
|
|
2851
|
-
"name": "density",
|
|
2852
|
-
"type": {
|
|
2853
|
-
"text": "\"condensed\" | \"default\" | \"relaxed\""
|
|
2854
|
-
},
|
|
2855
|
-
"default": "\"default\"",
|
|
2856
|
-
"description": "Controls the density of the table's rows and headers.\nRelaxed increases space, condensed reduces space.",
|
|
2857
|
-
"fieldName": "density"
|
|
2858
|
-
}
|
|
2859
|
-
],
|
|
2860
|
-
"mixins": [
|
|
2861
|
-
{
|
|
2862
|
-
"name": "DraftComponentMixin",
|
|
2863
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
2864
|
-
}
|
|
2865
|
-
],
|
|
2866
|
-
"superclass": {
|
|
2867
|
-
"name": "LitElement",
|
|
2868
|
-
"package": "lit"
|
|
2869
|
-
},
|
|
2870
|
-
"status": "draft",
|
|
2871
|
-
"category": "list",
|
|
2872
|
-
"tagName": "nord-table",
|
|
2873
|
-
"customElement": true
|
|
2874
|
-
}
|
|
2875
|
-
],
|
|
2876
|
-
"exports": [
|
|
2877
|
-
{
|
|
2878
|
-
"kind": "js",
|
|
2879
|
-
"name": "default",
|
|
2880
|
-
"declaration": {
|
|
2881
|
-
"name": "Table",
|
|
2882
|
-
"module": "src/table/Table.ts"
|
|
2883
|
-
}
|
|
2884
|
-
},
|
|
2885
|
-
{
|
|
2886
|
-
"kind": "custom-element-definition",
|
|
2887
|
-
"name": "nord-table",
|
|
2888
|
-
"declaration": {
|
|
2889
|
-
"name": "Table",
|
|
2890
|
-
"module": "src/table/Table.ts"
|
|
2891
|
-
}
|
|
2892
|
-
}
|
|
2893
|
-
]
|
|
2894
|
-
},
|
|
2895
3625
|
{
|
|
2896
3626
|
"kind": "javascript-module",
|
|
2897
3627
|
"path": "src/common/controllers/LightDismissController.ts",
|
|
@@ -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
|
],
|