@nordhealth/components 1.0.0-alpha.37 → 1.0.0-alpha.40
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 +1808 -675
- 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 → CommandMenuAction-b286bcbb.js} +3 -3
- package/lib/{CommandMenuAction-879382c7.js.map → CommandMenuAction-b286bcbb.js.map} +1 -1
- 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 → Icon-559d954d.js} +3 -3
- package/lib/{Icon-f6f1c764.js.map → Icon-559d954d.js.map} +1 -1
- package/lib/Icon.js +1 -1
- package/lib/Input.js +1 -1
- package/lib/Input.js.map +1 -1
- package/lib/{InputMixin-3e737480.js → InputMixin-6c108de4.js} +2 -2
- package/lib/{InputMixin-3e737480.js.map → InputMixin-6c108de4.js.map} +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/Spinner.js +2 -0
- package/lib/Spinner.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-e9ce14b4.js +7 -0
- package/lib/directive-e9ce14b4.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/if-defined-617ae549.js +7 -0
- package/lib/if-defined-617ae549.js.map +1 -0
- package/lib/index.js +1 -1
- package/lib/{ref-857246ae.js → ref-65ef7607.js} +3 -3
- package/lib/{ref-857246ae.js.map → ref-65ef7607.js.map} +1 -1
- package/lib/src/card/Card.d.ts +1 -2
- package/lib/src/common/controllers/SlotController.d.ts +9 -0
- package/lib/src/common/mixins/FormAssociatedMixin.d.ts +13 -1
- package/lib/src/index.d.ts +2 -0
- package/lib/src/input/Input.d.ts +1 -26
- package/lib/src/select/Select.d.ts +1 -25
- package/lib/src/spinner/Spinner.d.ts +34 -0
- package/lib/src/spinner/Spinner.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-7028f0a1.js → unsafe-html-21f62902.js} +2 -2
- package/lib/{unsafe-html-7028f0a1.js.map → unsafe-html-21f62902.js.map} +1 -1
- package/package.json +2 -2
- package/lib/FormAssociatedMixin-c9674b41.js +0 -2
- package/lib/FormAssociatedMixin-c9674b41.js.map +0 -1
- package/lib/collection.js +0 -2
- package/lib/collection.js.map +0 -1
- package/lib/directive-40a31ee2.js +0 -12
- package/lib/directive-40a31ee2.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/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/custom-elements.json
CHANGED
|
@@ -79,6 +79,14 @@
|
|
|
79
79
|
"module": "\"./stack/Stack.js\""
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
|
+
{
|
|
83
|
+
"kind": "js",
|
|
84
|
+
"name": "Spinner",
|
|
85
|
+
"declaration": {
|
|
86
|
+
"name": "default",
|
|
87
|
+
"module": "\"./spinner/Spinner.js\""
|
|
88
|
+
}
|
|
89
|
+
},
|
|
82
90
|
{
|
|
83
91
|
"kind": "js",
|
|
84
92
|
"name": "Table",
|
|
@@ -94,6 +102,14 @@
|
|
|
94
102
|
"name": "default",
|
|
95
103
|
"module": "\"./visually-hidden/VisuallyHidden.js\""
|
|
96
104
|
}
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"kind": "js",
|
|
108
|
+
"name": "Textarea",
|
|
109
|
+
"declaration": {
|
|
110
|
+
"name": "default",
|
|
111
|
+
"module": "\"./textarea/Textarea.js\""
|
|
112
|
+
}
|
|
97
113
|
}
|
|
98
114
|
]
|
|
99
115
|
},
|
|
@@ -585,6 +601,12 @@
|
|
|
585
601
|
}
|
|
586
602
|
],
|
|
587
603
|
"members": [
|
|
604
|
+
{
|
|
605
|
+
"kind": "field",
|
|
606
|
+
"name": "slots",
|
|
607
|
+
"privacy": "private",
|
|
608
|
+
"default": "new SlotController(this)"
|
|
609
|
+
},
|
|
588
610
|
{
|
|
589
611
|
"kind": "field",
|
|
590
612
|
"name": "padding",
|
|
@@ -596,24 +618,6 @@
|
|
|
596
618
|
"attribute": "padding",
|
|
597
619
|
"reflects": true
|
|
598
620
|
},
|
|
599
|
-
{
|
|
600
|
-
"kind": "method",
|
|
601
|
-
"name": "handleSlotChange",
|
|
602
|
-
"privacy": "private"
|
|
603
|
-
},
|
|
604
|
-
{
|
|
605
|
-
"kind": "method",
|
|
606
|
-
"name": "hasSlottedContent",
|
|
607
|
-
"privacy": "private",
|
|
608
|
-
"parameters": [
|
|
609
|
-
{
|
|
610
|
-
"name": "slotName",
|
|
611
|
-
"type": {
|
|
612
|
-
"text": "string"
|
|
613
|
-
}
|
|
614
|
-
}
|
|
615
|
-
]
|
|
616
|
-
},
|
|
617
621
|
{
|
|
618
622
|
"kind": "field",
|
|
619
623
|
"name": "_warningLogged",
|
|
@@ -675,6 +679,184 @@
|
|
|
675
679
|
}
|
|
676
680
|
]
|
|
677
681
|
},
|
|
682
|
+
{
|
|
683
|
+
"kind": "javascript-module",
|
|
684
|
+
"path": "src/common/collection.ts",
|
|
685
|
+
"declarations": [
|
|
686
|
+
{
|
|
687
|
+
"kind": "function",
|
|
688
|
+
"name": "groupBy",
|
|
689
|
+
"parameters": [
|
|
690
|
+
{
|
|
691
|
+
"name": "array",
|
|
692
|
+
"type": {
|
|
693
|
+
"text": "Array<TObject>"
|
|
694
|
+
},
|
|
695
|
+
"description": "the collection of objects to group"
|
|
696
|
+
},
|
|
697
|
+
{
|
|
698
|
+
"name": "key",
|
|
699
|
+
"type": {
|
|
700
|
+
"text": "TKey"
|
|
701
|
+
},
|
|
702
|
+
"description": "the property to group by"
|
|
703
|
+
}
|
|
704
|
+
],
|
|
705
|
+
"description": "Groups an array objects by property value",
|
|
706
|
+
"return": {
|
|
707
|
+
"type": {
|
|
708
|
+
"text": ""
|
|
709
|
+
}
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
],
|
|
713
|
+
"exports": [
|
|
714
|
+
{
|
|
715
|
+
"kind": "js",
|
|
716
|
+
"name": "groupBy",
|
|
717
|
+
"declaration": {
|
|
718
|
+
"name": "groupBy",
|
|
719
|
+
"module": "src/common/collection.ts"
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
]
|
|
723
|
+
},
|
|
724
|
+
{
|
|
725
|
+
"kind": "javascript-module",
|
|
726
|
+
"path": "src/common/events.ts",
|
|
727
|
+
"declarations": [
|
|
728
|
+
{
|
|
729
|
+
"kind": "class",
|
|
730
|
+
"description": "A base class for events which defaults to bubbling and composed",
|
|
731
|
+
"name": "NordEvent",
|
|
732
|
+
"superclass": {
|
|
733
|
+
"name": "Event",
|
|
734
|
+
"module": "src/common/events.ts"
|
|
735
|
+
},
|
|
736
|
+
"status": null,
|
|
737
|
+
"category": null
|
|
738
|
+
}
|
|
739
|
+
],
|
|
740
|
+
"exports": [
|
|
741
|
+
{
|
|
742
|
+
"kind": "js",
|
|
743
|
+
"name": "NordEvent",
|
|
744
|
+
"declaration": {
|
|
745
|
+
"name": "NordEvent",
|
|
746
|
+
"module": "src/common/events.ts"
|
|
747
|
+
}
|
|
748
|
+
}
|
|
749
|
+
]
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"kind": "javascript-module",
|
|
753
|
+
"path": "src/common/focus.ts",
|
|
754
|
+
"declarations": [
|
|
755
|
+
{
|
|
756
|
+
"kind": "function",
|
|
757
|
+
"name": "getFocusedElement",
|
|
758
|
+
"return": {
|
|
759
|
+
"type": {
|
|
760
|
+
"text": "Element | undefined"
|
|
761
|
+
}
|
|
762
|
+
},
|
|
763
|
+
"parameters": [
|
|
764
|
+
{
|
|
765
|
+
"name": "root",
|
|
766
|
+
"type": {
|
|
767
|
+
"text": "Document | ShadowRoot"
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
],
|
|
771
|
+
"description": "Gets the currently focused element, taking shadow roots into account."
|
|
772
|
+
}
|
|
773
|
+
],
|
|
774
|
+
"exports": [
|
|
775
|
+
{
|
|
776
|
+
"kind": "js",
|
|
777
|
+
"name": "getFocusedElement",
|
|
778
|
+
"declaration": {
|
|
779
|
+
"name": "getFocusedElement",
|
|
780
|
+
"module": "src/common/focus.ts"
|
|
781
|
+
}
|
|
782
|
+
}
|
|
783
|
+
]
|
|
784
|
+
},
|
|
785
|
+
{
|
|
786
|
+
"kind": "javascript-module",
|
|
787
|
+
"path": "src/common/number.ts",
|
|
788
|
+
"declarations": [
|
|
789
|
+
{
|
|
790
|
+
"kind": "function",
|
|
791
|
+
"name": "wrap",
|
|
792
|
+
"parameters": [
|
|
793
|
+
{
|
|
794
|
+
"name": "val",
|
|
795
|
+
"type": {
|
|
796
|
+
"text": "number"
|
|
797
|
+
}
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"name": "min",
|
|
801
|
+
"type": {
|
|
802
|
+
"text": "number"
|
|
803
|
+
}
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
"name": "max",
|
|
807
|
+
"type": {
|
|
808
|
+
"text": "number"
|
|
809
|
+
}
|
|
810
|
+
}
|
|
811
|
+
],
|
|
812
|
+
"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"
|
|
813
|
+
}
|
|
814
|
+
],
|
|
815
|
+
"exports": [
|
|
816
|
+
{
|
|
817
|
+
"kind": "js",
|
|
818
|
+
"name": "wrap",
|
|
819
|
+
"declaration": {
|
|
820
|
+
"name": "wrap",
|
|
821
|
+
"module": "src/common/number.ts"
|
|
822
|
+
}
|
|
823
|
+
}
|
|
824
|
+
]
|
|
825
|
+
},
|
|
826
|
+
{
|
|
827
|
+
"kind": "javascript-module",
|
|
828
|
+
"path": "src/common/ref.ts",
|
|
829
|
+
"declarations": [
|
|
830
|
+
{
|
|
831
|
+
"kind": "function",
|
|
832
|
+
"name": "mergeRefs",
|
|
833
|
+
"return": {
|
|
834
|
+
"type": {
|
|
835
|
+
"text": "RefCallback"
|
|
836
|
+
}
|
|
837
|
+
},
|
|
838
|
+
"parameters": [
|
|
839
|
+
{
|
|
840
|
+
"name": "refs",
|
|
841
|
+
"type": {
|
|
842
|
+
"text": "Ref[]"
|
|
843
|
+
}
|
|
844
|
+
}
|
|
845
|
+
],
|
|
846
|
+
"description": "Creates a ref callback which will assign the element to every given ref"
|
|
847
|
+
}
|
|
848
|
+
],
|
|
849
|
+
"exports": [
|
|
850
|
+
{
|
|
851
|
+
"kind": "js",
|
|
852
|
+
"name": "mergeRefs",
|
|
853
|
+
"declaration": {
|
|
854
|
+
"name": "mergeRefs",
|
|
855
|
+
"module": "src/common/ref.ts"
|
|
856
|
+
}
|
|
857
|
+
}
|
|
858
|
+
]
|
|
859
|
+
},
|
|
678
860
|
{
|
|
679
861
|
"kind": "javascript-module",
|
|
680
862
|
"path": "src/command-menu/CommandMenu.ts",
|
|
@@ -1486,457 +1668,1164 @@
|
|
|
1486
1668
|
},
|
|
1487
1669
|
{
|
|
1488
1670
|
"kind": "javascript-module",
|
|
1489
|
-
"path": "src/
|
|
1671
|
+
"path": "src/input/Input.ts",
|
|
1490
1672
|
"declarations": [
|
|
1491
1673
|
{
|
|
1492
|
-
"kind": "
|
|
1493
|
-
"
|
|
1494
|
-
"
|
|
1674
|
+
"kind": "class",
|
|
1675
|
+
"description": "Inputs are used to allow users to provide text input when the expected input is short.\nAs well as plain text, Input supports various types of text, including passwords and numbers.",
|
|
1676
|
+
"name": "Input",
|
|
1677
|
+
"slots": [
|
|
1495
1678
|
{
|
|
1496
|
-
"
|
|
1497
|
-
"
|
|
1498
|
-
"text": "Array<TObject>"
|
|
1499
|
-
},
|
|
1500
|
-
"description": "the collection of objects to group"
|
|
1679
|
+
"description": "Use when a label requires more than plain text.",
|
|
1680
|
+
"name": "label"
|
|
1501
1681
|
},
|
|
1502
1682
|
{
|
|
1503
|
-
"
|
|
1504
|
-
"
|
|
1505
|
-
|
|
1506
|
-
|
|
1507
|
-
"description": "
|
|
1683
|
+
"description": "Optional slot that holds hint text for the input.",
|
|
1684
|
+
"name": "hint"
|
|
1685
|
+
},
|
|
1686
|
+
{
|
|
1687
|
+
"description": "Optional slot that holds error text for the input.",
|
|
1688
|
+
"name": "error"
|
|
1689
|
+
},
|
|
1690
|
+
{
|
|
1691
|
+
"description": "Optional slot that holds an icon for the input.",
|
|
1692
|
+
"name": "before"
|
|
1508
1693
|
}
|
|
1509
1694
|
],
|
|
1510
|
-
"
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
"
|
|
1514
|
-
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
|
|
1518
|
-
|
|
1519
|
-
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
|
|
1523
|
-
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
|
|
1529
|
-
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
|
-
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
|
|
1541
|
-
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1546
|
-
|
|
1547
|
-
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
|
-
|
|
1551
|
-
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
|
|
1563
|
-
|
|
1564
|
-
|
|
1565
|
-
"
|
|
1566
|
-
|
|
1567
|
-
|
|
1568
|
-
|
|
1695
|
+
"members": [
|
|
1696
|
+
{
|
|
1697
|
+
"kind": "field",
|
|
1698
|
+
"name": "type",
|
|
1699
|
+
"type": {
|
|
1700
|
+
"text": "\"text\" | \"email\" | \"password\" | \"tel\" | \"url\" | \"search\" | \"number\""
|
|
1701
|
+
},
|
|
1702
|
+
"default": "\"text\"",
|
|
1703
|
+
"description": "The type of the input.",
|
|
1704
|
+
"attribute": "type"
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
"kind": "field",
|
|
1708
|
+
"name": "slots",
|
|
1709
|
+
"privacy": "protected",
|
|
1710
|
+
"default": "new SlotController(this)",
|
|
1711
|
+
"inheritedFrom": {
|
|
1712
|
+
"name": "FormAssociatedMixin",
|
|
1713
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1714
|
+
}
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
"kind": "field",
|
|
1718
|
+
"name": "inputId",
|
|
1719
|
+
"type": {
|
|
1720
|
+
"text": "string"
|
|
1721
|
+
},
|
|
1722
|
+
"privacy": "protected",
|
|
1723
|
+
"default": "\"input\"",
|
|
1724
|
+
"inheritedFrom": {
|
|
1725
|
+
"name": "FormAssociatedMixin",
|
|
1726
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1727
|
+
}
|
|
1728
|
+
},
|
|
1729
|
+
{
|
|
1730
|
+
"kind": "field",
|
|
1731
|
+
"name": "label",
|
|
1732
|
+
"type": {
|
|
1733
|
+
"text": "string"
|
|
1734
|
+
},
|
|
1735
|
+
"default": "\"\"",
|
|
1736
|
+
"description": "Label for the input.",
|
|
1737
|
+
"attribute": "label",
|
|
1738
|
+
"inheritedFrom": {
|
|
1739
|
+
"name": "FormAssociatedMixin",
|
|
1740
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1741
|
+
}
|
|
1742
|
+
},
|
|
1743
|
+
{
|
|
1744
|
+
"kind": "field",
|
|
1745
|
+
"name": "hint",
|
|
1746
|
+
"type": {
|
|
1747
|
+
"text": "string | undefined"
|
|
1748
|
+
},
|
|
1749
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
1750
|
+
"attribute": "hint",
|
|
1751
|
+
"inheritedFrom": {
|
|
1752
|
+
"name": "FormAssociatedMixin",
|
|
1753
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1754
|
+
}
|
|
1755
|
+
},
|
|
1756
|
+
{
|
|
1757
|
+
"kind": "field",
|
|
1758
|
+
"name": "hideLabel",
|
|
1759
|
+
"type": {
|
|
1760
|
+
"text": "boolean"
|
|
1761
|
+
},
|
|
1762
|
+
"default": "false",
|
|
1763
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
1764
|
+
"attribute": "hide-label",
|
|
1765
|
+
"inheritedFrom": {
|
|
1766
|
+
"name": "FormAssociatedMixin",
|
|
1767
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1768
|
+
}
|
|
1769
|
+
},
|
|
1770
|
+
{
|
|
1771
|
+
"kind": "field",
|
|
1772
|
+
"name": "placeholder",
|
|
1773
|
+
"type": {
|
|
1774
|
+
"text": "string | undefined"
|
|
1775
|
+
},
|
|
1776
|
+
"description": "Placeholder text to display within the input.",
|
|
1777
|
+
"attribute": "placeholder",
|
|
1778
|
+
"inheritedFrom": {
|
|
1779
|
+
"name": "FormAssociatedMixin",
|
|
1780
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1781
|
+
}
|
|
1782
|
+
},
|
|
1783
|
+
{
|
|
1784
|
+
"kind": "field",
|
|
1785
|
+
"name": "error",
|
|
1786
|
+
"type": {
|
|
1787
|
+
"text": "string | undefined"
|
|
1788
|
+
},
|
|
1789
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
1790
|
+
"attribute": "error",
|
|
1791
|
+
"inheritedFrom": {
|
|
1792
|
+
"name": "FormAssociatedMixin",
|
|
1793
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1794
|
+
}
|
|
1795
|
+
},
|
|
1796
|
+
{
|
|
1797
|
+
"kind": "field",
|
|
1798
|
+
"name": "required",
|
|
1799
|
+
"type": {
|
|
1800
|
+
"text": "boolean"
|
|
1801
|
+
},
|
|
1802
|
+
"default": "false",
|
|
1803
|
+
"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.",
|
|
1804
|
+
"attribute": "required",
|
|
1805
|
+
"inheritedFrom": {
|
|
1806
|
+
"name": "FormAssociatedMixin",
|
|
1807
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1808
|
+
}
|
|
1809
|
+
},
|
|
1810
|
+
{
|
|
1811
|
+
"kind": "field",
|
|
1812
|
+
"name": "expand",
|
|
1813
|
+
"type": {
|
|
1814
|
+
"text": "boolean"
|
|
1815
|
+
},
|
|
1816
|
+
"default": "false",
|
|
1817
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
1818
|
+
"attribute": "expand",
|
|
1819
|
+
"reflects": true,
|
|
1820
|
+
"inheritedFrom": {
|
|
1821
|
+
"name": "FormAssociatedMixin",
|
|
1822
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1823
|
+
}
|
|
1824
|
+
},
|
|
1825
|
+
{
|
|
1826
|
+
"kind": "field",
|
|
1827
|
+
"name": "handleFormData",
|
|
1828
|
+
"privacy": "private",
|
|
1829
|
+
"inheritedFrom": {
|
|
1830
|
+
"name": "FormAssociatedMixin",
|
|
1831
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1832
|
+
}
|
|
1833
|
+
},
|
|
1834
|
+
{
|
|
1835
|
+
"kind": "method",
|
|
1836
|
+
"name": "handleChange",
|
|
1837
|
+
"privacy": "protected",
|
|
1838
|
+
"parameters": [
|
|
1839
|
+
{
|
|
1840
|
+
"name": "e",
|
|
1841
|
+
"type": {
|
|
1842
|
+
"text": "Event"
|
|
1843
|
+
}
|
|
1844
|
+
}
|
|
1845
|
+
],
|
|
1846
|
+
"inheritedFrom": {
|
|
1847
|
+
"name": "FormAssociatedMixin",
|
|
1848
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1849
|
+
}
|
|
1850
|
+
},
|
|
1851
|
+
{
|
|
1852
|
+
"kind": "method",
|
|
1853
|
+
"name": "renderLabel",
|
|
1854
|
+
"privacy": "protected",
|
|
1855
|
+
"inheritedFrom": {
|
|
1856
|
+
"name": "FormAssociatedMixin",
|
|
1857
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1858
|
+
}
|
|
1859
|
+
},
|
|
1860
|
+
{
|
|
1861
|
+
"kind": "method",
|
|
1862
|
+
"name": "renderHint",
|
|
1863
|
+
"privacy": "private",
|
|
1864
|
+
"inheritedFrom": {
|
|
1865
|
+
"name": "FormAssociatedMixin",
|
|
1866
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1867
|
+
}
|
|
1868
|
+
},
|
|
1869
|
+
{
|
|
1870
|
+
"kind": "method",
|
|
1871
|
+
"name": "renderError",
|
|
1872
|
+
"privacy": "protected",
|
|
1873
|
+
"inheritedFrom": {
|
|
1874
|
+
"name": "FormAssociatedMixin",
|
|
1875
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1876
|
+
}
|
|
1877
|
+
},
|
|
1878
|
+
{
|
|
1879
|
+
"kind": "method",
|
|
1880
|
+
"name": "getDescribedBy",
|
|
1881
|
+
"privacy": "protected",
|
|
1882
|
+
"inheritedFrom": {
|
|
1883
|
+
"name": "FormAssociatedMixin",
|
|
1884
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1885
|
+
}
|
|
1886
|
+
},
|
|
1887
|
+
{
|
|
1888
|
+
"kind": "method",
|
|
1889
|
+
"name": "getInvalid",
|
|
1890
|
+
"privacy": "protected",
|
|
1891
|
+
"inheritedFrom": {
|
|
1892
|
+
"name": "FormAssociatedMixin",
|
|
1893
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1894
|
+
}
|
|
1895
|
+
},
|
|
1896
|
+
{
|
|
1897
|
+
"kind": "field",
|
|
1898
|
+
"name": "hasHint",
|
|
1899
|
+
"privacy": "protected",
|
|
1900
|
+
"inheritedFrom": {
|
|
1901
|
+
"name": "FormAssociatedMixin",
|
|
1902
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1903
|
+
}
|
|
1904
|
+
},
|
|
1905
|
+
{
|
|
1906
|
+
"kind": "field",
|
|
1907
|
+
"name": "hasError",
|
|
1908
|
+
"privacy": "protected",
|
|
1909
|
+
"inheritedFrom": {
|
|
1910
|
+
"name": "FormAssociatedMixin",
|
|
1911
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1912
|
+
}
|
|
1913
|
+
},
|
|
1914
|
+
{
|
|
1915
|
+
"kind": "field",
|
|
1916
|
+
"name": "disabled",
|
|
1917
|
+
"type": {
|
|
1918
|
+
"text": "boolean"
|
|
1919
|
+
},
|
|
1920
|
+
"default": "false",
|
|
1921
|
+
"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.",
|
|
1922
|
+
"attribute": "disabled",
|
|
1923
|
+
"inheritedFrom": {
|
|
1924
|
+
"name": "InputMixin",
|
|
1925
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
1926
|
+
}
|
|
1927
|
+
},
|
|
1928
|
+
{
|
|
1929
|
+
"kind": "field",
|
|
1930
|
+
"name": "name",
|
|
1931
|
+
"type": {
|
|
1932
|
+
"text": "string | undefined"
|
|
1933
|
+
},
|
|
1934
|
+
"description": "The name of the input component.",
|
|
1935
|
+
"attribute": "name",
|
|
1936
|
+
"inheritedFrom": {
|
|
1937
|
+
"name": "InputMixin",
|
|
1938
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
1939
|
+
}
|
|
1940
|
+
},
|
|
1569
1941
|
{
|
|
1570
|
-
"
|
|
1942
|
+
"kind": "field",
|
|
1943
|
+
"name": "value",
|
|
1571
1944
|
"type": {
|
|
1572
|
-
"text": "
|
|
1945
|
+
"text": "string | undefined"
|
|
1946
|
+
},
|
|
1947
|
+
"description": "The value of the input component.",
|
|
1948
|
+
"attribute": "value",
|
|
1949
|
+
"inheritedFrom": {
|
|
1950
|
+
"name": "InputMixin",
|
|
1951
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
1952
|
+
}
|
|
1953
|
+
},
|
|
1954
|
+
{
|
|
1955
|
+
"kind": "field",
|
|
1956
|
+
"name": "form",
|
|
1957
|
+
"privacy": "protected",
|
|
1958
|
+
"description": "Gets the form, if any, associated with the input element.",
|
|
1959
|
+
"inheritedFrom": {
|
|
1960
|
+
"name": "InputMixin",
|
|
1961
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
1962
|
+
}
|
|
1963
|
+
},
|
|
1964
|
+
{
|
|
1965
|
+
"kind": "field",
|
|
1966
|
+
"name": "focusableRef",
|
|
1967
|
+
"privacy": "protected",
|
|
1968
|
+
"inheritedFrom": {
|
|
1969
|
+
"name": "FocusableMixin",
|
|
1970
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
1971
|
+
}
|
|
1972
|
+
},
|
|
1973
|
+
{
|
|
1974
|
+
"kind": "method",
|
|
1975
|
+
"name": "focus",
|
|
1976
|
+
"parameters": [
|
|
1977
|
+
{
|
|
1978
|
+
"name": "options",
|
|
1979
|
+
"optional": true,
|
|
1980
|
+
"type": {
|
|
1981
|
+
"text": "FocusOptions"
|
|
1982
|
+
},
|
|
1983
|
+
"description": "An object which controls aspects of the focusing process."
|
|
1984
|
+
}
|
|
1985
|
+
],
|
|
1986
|
+
"description": "Programmatically move focus to the component",
|
|
1987
|
+
"inheritedFrom": {
|
|
1988
|
+
"name": "FocusableMixin",
|
|
1989
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
1990
|
+
}
|
|
1991
|
+
},
|
|
1992
|
+
{
|
|
1993
|
+
"kind": "method",
|
|
1994
|
+
"name": "blur",
|
|
1995
|
+
"description": "Programmatically remove focus from the component.",
|
|
1996
|
+
"inheritedFrom": {
|
|
1997
|
+
"name": "FocusableMixin",
|
|
1998
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
1999
|
+
}
|
|
2000
|
+
},
|
|
2001
|
+
{
|
|
2002
|
+
"kind": "method",
|
|
2003
|
+
"name": "click",
|
|
2004
|
+
"description": "Programmatically simulates a click on the component.",
|
|
2005
|
+
"inheritedFrom": {
|
|
2006
|
+
"name": "FocusableMixin",
|
|
2007
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
2008
|
+
}
|
|
2009
|
+
},
|
|
2010
|
+
{
|
|
2011
|
+
"kind": "field",
|
|
2012
|
+
"name": "_warningLogged",
|
|
2013
|
+
"type": {
|
|
2014
|
+
"text": "boolean"
|
|
2015
|
+
},
|
|
2016
|
+
"privacy": "private",
|
|
2017
|
+
"static": true,
|
|
2018
|
+
"default": "false",
|
|
2019
|
+
"inheritedFrom": {
|
|
2020
|
+
"name": "DraftComponentMixin",
|
|
2021
|
+
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
1573
2022
|
}
|
|
1574
2023
|
}
|
|
1575
2024
|
],
|
|
1576
|
-
"
|
|
1577
|
-
}
|
|
1578
|
-
],
|
|
1579
|
-
"exports": [
|
|
1580
|
-
{
|
|
1581
|
-
"kind": "js",
|
|
1582
|
-
"name": "getFocusedElement",
|
|
1583
|
-
"declaration": {
|
|
1584
|
-
"name": "getFocusedElement",
|
|
1585
|
-
"module": "src/common/focus.ts"
|
|
1586
|
-
}
|
|
1587
|
-
}
|
|
1588
|
-
]
|
|
1589
|
-
},
|
|
1590
|
-
{
|
|
1591
|
-
"kind": "javascript-module",
|
|
1592
|
-
"path": "src/common/number.ts",
|
|
1593
|
-
"declarations": [
|
|
1594
|
-
{
|
|
1595
|
-
"kind": "function",
|
|
1596
|
-
"name": "wrap",
|
|
1597
|
-
"parameters": [
|
|
2025
|
+
"attributes": [
|
|
1598
2026
|
{
|
|
1599
|
-
"name": "
|
|
2027
|
+
"name": "type",
|
|
1600
2028
|
"type": {
|
|
1601
|
-
"text": "number"
|
|
2029
|
+
"text": "\"text\" | \"email\" | \"password\" | \"tel\" | \"url\" | \"search\" | \"number\""
|
|
2030
|
+
},
|
|
2031
|
+
"default": "\"text\"",
|
|
2032
|
+
"description": "The type of the input.",
|
|
2033
|
+
"fieldName": "type"
|
|
2034
|
+
},
|
|
2035
|
+
{
|
|
2036
|
+
"name": "label",
|
|
2037
|
+
"type": {
|
|
2038
|
+
"text": "string"
|
|
2039
|
+
},
|
|
2040
|
+
"default": "\"\"",
|
|
2041
|
+
"description": "Label for the input.",
|
|
2042
|
+
"fieldName": "label",
|
|
2043
|
+
"inheritedFrom": {
|
|
2044
|
+
"name": "FormAssociatedMixin",
|
|
2045
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1602
2046
|
}
|
|
1603
2047
|
},
|
|
1604
2048
|
{
|
|
1605
|
-
"name": "
|
|
2049
|
+
"name": "hint",
|
|
1606
2050
|
"type": {
|
|
1607
|
-
"text": "
|
|
2051
|
+
"text": "string | undefined"
|
|
2052
|
+
},
|
|
2053
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
2054
|
+
"fieldName": "hint",
|
|
2055
|
+
"inheritedFrom": {
|
|
2056
|
+
"name": "FormAssociatedMixin",
|
|
2057
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2058
|
+
}
|
|
2059
|
+
},
|
|
2060
|
+
{
|
|
2061
|
+
"name": "hide-label",
|
|
2062
|
+
"type": {
|
|
2063
|
+
"text": "boolean"
|
|
2064
|
+
},
|
|
2065
|
+
"default": "false",
|
|
2066
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
2067
|
+
"fieldName": "hideLabel",
|
|
2068
|
+
"inheritedFrom": {
|
|
2069
|
+
"name": "FormAssociatedMixin",
|
|
2070
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2071
|
+
}
|
|
2072
|
+
},
|
|
2073
|
+
{
|
|
2074
|
+
"name": "placeholder",
|
|
2075
|
+
"type": {
|
|
2076
|
+
"text": "string | undefined"
|
|
2077
|
+
},
|
|
2078
|
+
"description": "Placeholder text to display within the input.",
|
|
2079
|
+
"fieldName": "placeholder",
|
|
2080
|
+
"inheritedFrom": {
|
|
2081
|
+
"name": "FormAssociatedMixin",
|
|
2082
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2083
|
+
}
|
|
2084
|
+
},
|
|
2085
|
+
{
|
|
2086
|
+
"name": "error",
|
|
2087
|
+
"type": {
|
|
2088
|
+
"text": "string | undefined"
|
|
2089
|
+
},
|
|
2090
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
2091
|
+
"fieldName": "error",
|
|
2092
|
+
"inheritedFrom": {
|
|
2093
|
+
"name": "FormAssociatedMixin",
|
|
2094
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2095
|
+
}
|
|
2096
|
+
},
|
|
2097
|
+
{
|
|
2098
|
+
"name": "required",
|
|
2099
|
+
"type": {
|
|
2100
|
+
"text": "boolean"
|
|
2101
|
+
},
|
|
2102
|
+
"default": "false",
|
|
2103
|
+
"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.",
|
|
2104
|
+
"fieldName": "required",
|
|
2105
|
+
"inheritedFrom": {
|
|
2106
|
+
"name": "FormAssociatedMixin",
|
|
2107
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2108
|
+
}
|
|
2109
|
+
},
|
|
2110
|
+
{
|
|
2111
|
+
"name": "expand",
|
|
2112
|
+
"type": {
|
|
2113
|
+
"text": "boolean"
|
|
2114
|
+
},
|
|
2115
|
+
"default": "false",
|
|
2116
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
2117
|
+
"fieldName": "expand",
|
|
2118
|
+
"inheritedFrom": {
|
|
2119
|
+
"name": "FormAssociatedMixin",
|
|
2120
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2121
|
+
}
|
|
2122
|
+
},
|
|
2123
|
+
{
|
|
2124
|
+
"name": "disabled",
|
|
2125
|
+
"type": {
|
|
2126
|
+
"text": "boolean"
|
|
2127
|
+
},
|
|
2128
|
+
"default": "false",
|
|
2129
|
+
"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.",
|
|
2130
|
+
"fieldName": "disabled",
|
|
2131
|
+
"inheritedFrom": {
|
|
2132
|
+
"name": "InputMixin",
|
|
2133
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
2134
|
+
}
|
|
2135
|
+
},
|
|
2136
|
+
{
|
|
2137
|
+
"name": "name",
|
|
2138
|
+
"type": {
|
|
2139
|
+
"text": "string | undefined"
|
|
2140
|
+
},
|
|
2141
|
+
"description": "The name of the input component.",
|
|
2142
|
+
"fieldName": "name",
|
|
2143
|
+
"inheritedFrom": {
|
|
2144
|
+
"name": "InputMixin",
|
|
2145
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
2146
|
+
}
|
|
2147
|
+
},
|
|
2148
|
+
{
|
|
2149
|
+
"name": "value",
|
|
2150
|
+
"type": {
|
|
2151
|
+
"text": "string | undefined"
|
|
2152
|
+
},
|
|
2153
|
+
"description": "The value of the input component.",
|
|
2154
|
+
"fieldName": "value",
|
|
2155
|
+
"inheritedFrom": {
|
|
2156
|
+
"name": "InputMixin",
|
|
2157
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
1608
2158
|
}
|
|
2159
|
+
}
|
|
2160
|
+
],
|
|
2161
|
+
"mixins": [
|
|
2162
|
+
{
|
|
2163
|
+
"name": "FormAssociatedMixin",
|
|
2164
|
+
"module": "/src/common/mixins/FormAssociatedMixin.js"
|
|
2165
|
+
},
|
|
2166
|
+
{
|
|
2167
|
+
"name": "InputMixin",
|
|
2168
|
+
"module": "/src/common/mixins/InputMixin.js"
|
|
2169
|
+
},
|
|
2170
|
+
{
|
|
2171
|
+
"name": "FocusableMixin",
|
|
2172
|
+
"module": "/src/common/mixins/FocusableMixin.js"
|
|
1609
2173
|
},
|
|
1610
2174
|
{
|
|
1611
|
-
"name": "
|
|
2175
|
+
"name": "DraftComponentMixin",
|
|
2176
|
+
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
2177
|
+
}
|
|
2178
|
+
],
|
|
2179
|
+
"superclass": {
|
|
2180
|
+
"name": "LitElement",
|
|
2181
|
+
"package": "lit"
|
|
2182
|
+
},
|
|
2183
|
+
"status": "draft",
|
|
2184
|
+
"category": "form",
|
|
2185
|
+
"tagName": "nord-input",
|
|
2186
|
+
"customElement": true,
|
|
2187
|
+
"events": [
|
|
2188
|
+
{
|
|
2189
|
+
"name": "change",
|
|
1612
2190
|
"type": {
|
|
1613
|
-
"text": "
|
|
2191
|
+
"text": "NordEvent"
|
|
2192
|
+
},
|
|
2193
|
+
"description": "Fired whenever the input's value is changed via user interaction.",
|
|
2194
|
+
"inheritedFrom": {
|
|
2195
|
+
"name": "FormAssociatedMixin",
|
|
2196
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1614
2197
|
}
|
|
1615
2198
|
}
|
|
1616
|
-
]
|
|
1617
|
-
"description": "Wraps a value so that it always falls within min/max,\nwhere a value greater than max gets set to min, and vice versa"
|
|
2199
|
+
]
|
|
1618
2200
|
}
|
|
1619
2201
|
],
|
|
1620
2202
|
"exports": [
|
|
1621
2203
|
{
|
|
1622
2204
|
"kind": "js",
|
|
1623
|
-
"name": "
|
|
2205
|
+
"name": "default",
|
|
1624
2206
|
"declaration": {
|
|
1625
|
-
"name": "
|
|
1626
|
-
"module": "src/
|
|
2207
|
+
"name": "Input",
|
|
2208
|
+
"module": "src/input/Input.ts"
|
|
1627
2209
|
}
|
|
1628
|
-
}
|
|
1629
|
-
]
|
|
1630
|
-
},
|
|
1631
|
-
{
|
|
1632
|
-
"kind": "javascript-module",
|
|
1633
|
-
"path": "src/common/ref.ts",
|
|
1634
|
-
"declarations": [
|
|
1635
|
-
{
|
|
1636
|
-
"kind": "function",
|
|
1637
|
-
"name": "mergeRefs",
|
|
1638
|
-
"return": {
|
|
1639
|
-
"type": {
|
|
1640
|
-
"text": "RefCallback"
|
|
1641
|
-
}
|
|
1642
|
-
},
|
|
1643
|
-
"parameters": [
|
|
1644
|
-
{
|
|
1645
|
-
"name": "refs",
|
|
1646
|
-
"type": {
|
|
1647
|
-
"text": "Ref[]"
|
|
1648
|
-
}
|
|
1649
|
-
}
|
|
1650
|
-
],
|
|
1651
|
-
"description": "Creates a ref callback which will assign the element to every given ref"
|
|
1652
|
-
}
|
|
1653
|
-
],
|
|
1654
|
-
"exports": [
|
|
2210
|
+
},
|
|
1655
2211
|
{
|
|
1656
|
-
"kind": "
|
|
1657
|
-
"name": "
|
|
2212
|
+
"kind": "custom-element-definition",
|
|
2213
|
+
"name": "nord-input",
|
|
1658
2214
|
"declaration": {
|
|
1659
|
-
"name": "
|
|
1660
|
-
"module": "src/
|
|
2215
|
+
"name": "Input",
|
|
2216
|
+
"module": "src/input/Input.ts"
|
|
1661
2217
|
}
|
|
1662
2218
|
}
|
|
1663
2219
|
]
|
|
1664
2220
|
},
|
|
1665
2221
|
{
|
|
1666
2222
|
"kind": "javascript-module",
|
|
1667
|
-
"path": "src/
|
|
2223
|
+
"path": "src/select/Select.ts",
|
|
1668
2224
|
"declarations": [
|
|
1669
2225
|
{
|
|
1670
2226
|
"kind": "class",
|
|
1671
|
-
"description": "
|
|
1672
|
-
"name": "
|
|
2227
|
+
"description": "Select lets users choose one option from an options menu.\nConsider using select when you have 5 or more options to choose from.",
|
|
2228
|
+
"name": "Select",
|
|
1673
2229
|
"slots": [
|
|
2230
|
+
{
|
|
2231
|
+
"description": "Default slot for holding <option> elements.",
|
|
2232
|
+
"name": ""
|
|
2233
|
+
},
|
|
1674
2234
|
{
|
|
1675
2235
|
"description": "Use when a label requires more than plain text.",
|
|
1676
2236
|
"name": "label"
|
|
1677
2237
|
},
|
|
1678
2238
|
{
|
|
1679
|
-
"description": "
|
|
1680
|
-
"name": "hint"
|
|
2239
|
+
"description": "Use when a hint requires more than plain text.",
|
|
2240
|
+
"name": "hint"
|
|
2241
|
+
},
|
|
2242
|
+
{
|
|
2243
|
+
"description": "Optional slot that holds error text for the input.",
|
|
2244
|
+
"name": "error"
|
|
2245
|
+
}
|
|
2246
|
+
],
|
|
2247
|
+
"members": [
|
|
2248
|
+
{
|
|
2249
|
+
"kind": "field",
|
|
2250
|
+
"name": "inputId",
|
|
2251
|
+
"type": {
|
|
2252
|
+
"text": "string"
|
|
2253
|
+
},
|
|
2254
|
+
"privacy": "protected",
|
|
2255
|
+
"default": "\"select\"",
|
|
2256
|
+
"inheritedFrom": {
|
|
2257
|
+
"name": "FormAssociatedMixin",
|
|
2258
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2259
|
+
}
|
|
2260
|
+
},
|
|
2261
|
+
{
|
|
2262
|
+
"kind": "field",
|
|
2263
|
+
"name": "options",
|
|
2264
|
+
"privacy": "private"
|
|
2265
|
+
},
|
|
2266
|
+
{
|
|
2267
|
+
"kind": "method",
|
|
2268
|
+
"name": "getButtonText",
|
|
2269
|
+
"privacy": "private",
|
|
2270
|
+
"return": {
|
|
2271
|
+
"type": {
|
|
2272
|
+
"text": "string"
|
|
2273
|
+
}
|
|
2274
|
+
},
|
|
2275
|
+
"parameters": [
|
|
2276
|
+
{
|
|
2277
|
+
"name": "options",
|
|
2278
|
+
"type": {
|
|
2279
|
+
"text": "HTMLOptionElement[]"
|
|
2280
|
+
}
|
|
2281
|
+
}
|
|
2282
|
+
]
|
|
2283
|
+
},
|
|
2284
|
+
{
|
|
2285
|
+
"kind": "method",
|
|
2286
|
+
"name": "renderOption",
|
|
2287
|
+
"privacy": "private",
|
|
2288
|
+
"parameters": [
|
|
2289
|
+
{
|
|
2290
|
+
"name": "option",
|
|
2291
|
+
"type": {
|
|
2292
|
+
"text": "HTMLOptionElement"
|
|
2293
|
+
}
|
|
2294
|
+
}
|
|
2295
|
+
]
|
|
2296
|
+
},
|
|
2297
|
+
{
|
|
2298
|
+
"kind": "field",
|
|
2299
|
+
"name": "slots",
|
|
2300
|
+
"privacy": "protected",
|
|
2301
|
+
"default": "new SlotController(this)",
|
|
2302
|
+
"inheritedFrom": {
|
|
2303
|
+
"name": "FormAssociatedMixin",
|
|
2304
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2305
|
+
}
|
|
2306
|
+
},
|
|
2307
|
+
{
|
|
2308
|
+
"kind": "field",
|
|
2309
|
+
"name": "label",
|
|
2310
|
+
"type": {
|
|
2311
|
+
"text": "string"
|
|
2312
|
+
},
|
|
2313
|
+
"default": "\"\"",
|
|
2314
|
+
"description": "Label for the input.",
|
|
2315
|
+
"attribute": "label",
|
|
2316
|
+
"inheritedFrom": {
|
|
2317
|
+
"name": "FormAssociatedMixin",
|
|
2318
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2319
|
+
}
|
|
2320
|
+
},
|
|
2321
|
+
{
|
|
2322
|
+
"kind": "field",
|
|
2323
|
+
"name": "hint",
|
|
2324
|
+
"type": {
|
|
2325
|
+
"text": "string | undefined"
|
|
2326
|
+
},
|
|
2327
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
2328
|
+
"attribute": "hint",
|
|
2329
|
+
"inheritedFrom": {
|
|
2330
|
+
"name": "FormAssociatedMixin",
|
|
2331
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2332
|
+
}
|
|
2333
|
+
},
|
|
2334
|
+
{
|
|
2335
|
+
"kind": "field",
|
|
2336
|
+
"name": "hideLabel",
|
|
2337
|
+
"type": {
|
|
2338
|
+
"text": "boolean"
|
|
2339
|
+
},
|
|
2340
|
+
"default": "false",
|
|
2341
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
2342
|
+
"attribute": "hide-label",
|
|
2343
|
+
"inheritedFrom": {
|
|
2344
|
+
"name": "FormAssociatedMixin",
|
|
2345
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2346
|
+
}
|
|
2347
|
+
},
|
|
2348
|
+
{
|
|
2349
|
+
"kind": "field",
|
|
2350
|
+
"name": "placeholder",
|
|
2351
|
+
"type": {
|
|
2352
|
+
"text": "string | undefined"
|
|
2353
|
+
},
|
|
2354
|
+
"description": "Placeholder text to display within the input.",
|
|
2355
|
+
"attribute": "placeholder",
|
|
2356
|
+
"inheritedFrom": {
|
|
2357
|
+
"name": "FormAssociatedMixin",
|
|
2358
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2359
|
+
}
|
|
2360
|
+
},
|
|
2361
|
+
{
|
|
2362
|
+
"kind": "field",
|
|
2363
|
+
"name": "error",
|
|
2364
|
+
"type": {
|
|
2365
|
+
"text": "string | undefined"
|
|
2366
|
+
},
|
|
2367
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
2368
|
+
"attribute": "error",
|
|
2369
|
+
"inheritedFrom": {
|
|
2370
|
+
"name": "FormAssociatedMixin",
|
|
2371
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2372
|
+
}
|
|
2373
|
+
},
|
|
2374
|
+
{
|
|
2375
|
+
"kind": "field",
|
|
2376
|
+
"name": "required",
|
|
2377
|
+
"type": {
|
|
2378
|
+
"text": "boolean"
|
|
2379
|
+
},
|
|
2380
|
+
"default": "false",
|
|
2381
|
+
"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.",
|
|
2382
|
+
"attribute": "required",
|
|
2383
|
+
"inheritedFrom": {
|
|
2384
|
+
"name": "FormAssociatedMixin",
|
|
2385
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2386
|
+
}
|
|
2387
|
+
},
|
|
2388
|
+
{
|
|
2389
|
+
"kind": "field",
|
|
2390
|
+
"name": "expand",
|
|
2391
|
+
"type": {
|
|
2392
|
+
"text": "boolean"
|
|
2393
|
+
},
|
|
2394
|
+
"default": "false",
|
|
2395
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
2396
|
+
"attribute": "expand",
|
|
2397
|
+
"reflects": true,
|
|
2398
|
+
"inheritedFrom": {
|
|
2399
|
+
"name": "FormAssociatedMixin",
|
|
2400
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2401
|
+
}
|
|
2402
|
+
},
|
|
2403
|
+
{
|
|
2404
|
+
"kind": "field",
|
|
2405
|
+
"name": "handleFormData",
|
|
2406
|
+
"privacy": "private",
|
|
2407
|
+
"inheritedFrom": {
|
|
2408
|
+
"name": "FormAssociatedMixin",
|
|
2409
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2410
|
+
}
|
|
2411
|
+
},
|
|
2412
|
+
{
|
|
2413
|
+
"kind": "method",
|
|
2414
|
+
"name": "handleChange",
|
|
2415
|
+
"privacy": "protected",
|
|
2416
|
+
"parameters": [
|
|
2417
|
+
{
|
|
2418
|
+
"name": "e",
|
|
2419
|
+
"type": {
|
|
2420
|
+
"text": "Event"
|
|
2421
|
+
}
|
|
2422
|
+
}
|
|
2423
|
+
],
|
|
2424
|
+
"inheritedFrom": {
|
|
2425
|
+
"name": "FormAssociatedMixin",
|
|
2426
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2427
|
+
}
|
|
2428
|
+
},
|
|
2429
|
+
{
|
|
2430
|
+
"kind": "method",
|
|
2431
|
+
"name": "renderLabel",
|
|
2432
|
+
"privacy": "protected",
|
|
2433
|
+
"inheritedFrom": {
|
|
2434
|
+
"name": "FormAssociatedMixin",
|
|
2435
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2436
|
+
}
|
|
2437
|
+
},
|
|
2438
|
+
{
|
|
2439
|
+
"kind": "method",
|
|
2440
|
+
"name": "renderHint",
|
|
2441
|
+
"privacy": "private",
|
|
2442
|
+
"inheritedFrom": {
|
|
2443
|
+
"name": "FormAssociatedMixin",
|
|
2444
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2445
|
+
}
|
|
2446
|
+
},
|
|
2447
|
+
{
|
|
2448
|
+
"kind": "method",
|
|
2449
|
+
"name": "renderError",
|
|
2450
|
+
"privacy": "protected",
|
|
2451
|
+
"inheritedFrom": {
|
|
2452
|
+
"name": "FormAssociatedMixin",
|
|
2453
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2454
|
+
}
|
|
1681
2455
|
},
|
|
1682
2456
|
{
|
|
1683
|
-
"
|
|
1684
|
-
"name": "
|
|
2457
|
+
"kind": "method",
|
|
2458
|
+
"name": "getDescribedBy",
|
|
2459
|
+
"privacy": "protected",
|
|
2460
|
+
"inheritedFrom": {
|
|
2461
|
+
"name": "FormAssociatedMixin",
|
|
2462
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2463
|
+
}
|
|
1685
2464
|
},
|
|
1686
2465
|
{
|
|
1687
|
-
"
|
|
1688
|
-
"name": "
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
2466
|
+
"kind": "method",
|
|
2467
|
+
"name": "getInvalid",
|
|
2468
|
+
"privacy": "protected",
|
|
2469
|
+
"inheritedFrom": {
|
|
2470
|
+
"name": "FormAssociatedMixin",
|
|
2471
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2472
|
+
}
|
|
2473
|
+
},
|
|
1692
2474
|
{
|
|
1693
2475
|
"kind": "field",
|
|
1694
|
-
"name": "
|
|
1695
|
-
"
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1700
|
-
"attribute": "type"
|
|
2476
|
+
"name": "hasHint",
|
|
2477
|
+
"privacy": "protected",
|
|
2478
|
+
"inheritedFrom": {
|
|
2479
|
+
"name": "FormAssociatedMixin",
|
|
2480
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2481
|
+
}
|
|
1701
2482
|
},
|
|
1702
2483
|
{
|
|
1703
2484
|
"kind": "field",
|
|
1704
|
-
"name": "
|
|
1705
|
-
"
|
|
1706
|
-
|
|
1707
|
-
|
|
1708
|
-
|
|
1709
|
-
|
|
2485
|
+
"name": "hasError",
|
|
2486
|
+
"privacy": "protected",
|
|
2487
|
+
"inheritedFrom": {
|
|
2488
|
+
"name": "FormAssociatedMixin",
|
|
2489
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2490
|
+
}
|
|
1710
2491
|
},
|
|
1711
2492
|
{
|
|
1712
2493
|
"kind": "field",
|
|
1713
|
-
"name": "
|
|
2494
|
+
"name": "disabled",
|
|
1714
2495
|
"type": {
|
|
1715
2496
|
"text": "boolean"
|
|
1716
2497
|
},
|
|
1717
2498
|
"default": "false",
|
|
1718
|
-
"description": "
|
|
1719
|
-
"attribute": "
|
|
2499
|
+
"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.",
|
|
2500
|
+
"attribute": "disabled",
|
|
2501
|
+
"inheritedFrom": {
|
|
2502
|
+
"name": "InputMixin",
|
|
2503
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
2504
|
+
}
|
|
1720
2505
|
},
|
|
1721
2506
|
{
|
|
1722
2507
|
"kind": "field",
|
|
1723
|
-
"name": "
|
|
2508
|
+
"name": "name",
|
|
1724
2509
|
"type": {
|
|
1725
2510
|
"text": "string | undefined"
|
|
1726
2511
|
},
|
|
1727
|
-
"description": "
|
|
1728
|
-
"attribute": "
|
|
2512
|
+
"description": "The name of the input component.",
|
|
2513
|
+
"attribute": "name",
|
|
2514
|
+
"inheritedFrom": {
|
|
2515
|
+
"name": "InputMixin",
|
|
2516
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
2517
|
+
}
|
|
1729
2518
|
},
|
|
1730
2519
|
{
|
|
1731
2520
|
"kind": "field",
|
|
1732
|
-
"name": "
|
|
2521
|
+
"name": "value",
|
|
1733
2522
|
"type": {
|
|
1734
2523
|
"text": "string | undefined"
|
|
1735
2524
|
},
|
|
1736
|
-
"description": "
|
|
1737
|
-
"attribute": "
|
|
2525
|
+
"description": "The value of the input component.",
|
|
2526
|
+
"attribute": "value",
|
|
2527
|
+
"inheritedFrom": {
|
|
2528
|
+
"name": "InputMixin",
|
|
2529
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
2530
|
+
}
|
|
1738
2531
|
},
|
|
1739
2532
|
{
|
|
1740
2533
|
"kind": "field",
|
|
1741
|
-
"name": "
|
|
1742
|
-
"
|
|
1743
|
-
|
|
1744
|
-
|
|
1745
|
-
|
|
1746
|
-
|
|
1747
|
-
|
|
1748
|
-
|
|
2534
|
+
"name": "form",
|
|
2535
|
+
"privacy": "protected",
|
|
2536
|
+
"description": "Gets the form, if any, associated with the input element.",
|
|
2537
|
+
"inheritedFrom": {
|
|
2538
|
+
"name": "InputMixin",
|
|
2539
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
2540
|
+
}
|
|
2541
|
+
},
|
|
2542
|
+
{
|
|
2543
|
+
"kind": "field",
|
|
2544
|
+
"name": "focusableRef",
|
|
2545
|
+
"privacy": "protected",
|
|
2546
|
+
"inheritedFrom": {
|
|
2547
|
+
"name": "FocusableMixin",
|
|
2548
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
2549
|
+
}
|
|
1749
2550
|
},
|
|
1750
2551
|
{
|
|
1751
2552
|
"kind": "method",
|
|
1752
|
-
"name": "
|
|
1753
|
-
"privacy": "private",
|
|
2553
|
+
"name": "focus",
|
|
1754
2554
|
"parameters": [
|
|
1755
2555
|
{
|
|
1756
|
-
"name": "
|
|
2556
|
+
"name": "options",
|
|
2557
|
+
"optional": true,
|
|
1757
2558
|
"type": {
|
|
1758
|
-
"text": "
|
|
1759
|
-
}
|
|
2559
|
+
"text": "FocusOptions"
|
|
2560
|
+
},
|
|
2561
|
+
"description": "An object which controls aspects of the focusing process."
|
|
1760
2562
|
}
|
|
1761
|
-
]
|
|
2563
|
+
],
|
|
2564
|
+
"description": "Programmatically move focus to the component",
|
|
2565
|
+
"inheritedFrom": {
|
|
2566
|
+
"name": "FocusableMixin",
|
|
2567
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
2568
|
+
}
|
|
1762
2569
|
},
|
|
1763
2570
|
{
|
|
1764
2571
|
"kind": "method",
|
|
1765
|
-
"name": "
|
|
1766
|
-
"
|
|
2572
|
+
"name": "blur",
|
|
2573
|
+
"description": "Programmatically remove focus from the component.",
|
|
2574
|
+
"inheritedFrom": {
|
|
2575
|
+
"name": "FocusableMixin",
|
|
2576
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
2577
|
+
}
|
|
1767
2578
|
},
|
|
1768
2579
|
{
|
|
1769
2580
|
"kind": "method",
|
|
1770
|
-
"name": "
|
|
1771
|
-
"
|
|
2581
|
+
"name": "click",
|
|
2582
|
+
"description": "Programmatically simulates a click on the component.",
|
|
2583
|
+
"inheritedFrom": {
|
|
2584
|
+
"name": "FocusableMixin",
|
|
2585
|
+
"module": "src/common/mixins/FocusableMixin.ts"
|
|
2586
|
+
}
|
|
1772
2587
|
},
|
|
1773
2588
|
{
|
|
1774
|
-
"kind": "
|
|
1775
|
-
"name": "
|
|
1776
|
-
"
|
|
2589
|
+
"kind": "field",
|
|
2590
|
+
"name": "_warningLogged",
|
|
2591
|
+
"type": {
|
|
2592
|
+
"text": "boolean"
|
|
2593
|
+
},
|
|
2594
|
+
"privacy": "private",
|
|
2595
|
+
"static": true,
|
|
2596
|
+
"default": "false",
|
|
2597
|
+
"inheritedFrom": {
|
|
2598
|
+
"name": "DraftComponentMixin",
|
|
2599
|
+
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
2600
|
+
}
|
|
2601
|
+
}
|
|
2602
|
+
],
|
|
2603
|
+
"mixins": [
|
|
2604
|
+
{
|
|
2605
|
+
"name": "FormAssociatedMixin",
|
|
2606
|
+
"module": "/src/common/mixins/FormAssociatedMixin.js"
|
|
1777
2607
|
},
|
|
1778
2608
|
{
|
|
1779
|
-
"
|
|
1780
|
-
"
|
|
1781
|
-
"privacy": "private",
|
|
1782
|
-
"parameters": [
|
|
1783
|
-
{
|
|
1784
|
-
"name": "slotName",
|
|
1785
|
-
"type": {
|
|
1786
|
-
"text": "string"
|
|
1787
|
-
}
|
|
1788
|
-
}
|
|
1789
|
-
]
|
|
2609
|
+
"name": "InputMixin",
|
|
2610
|
+
"module": "/src/common/mixins/InputMixin.js"
|
|
1790
2611
|
},
|
|
1791
2612
|
{
|
|
1792
|
-
"
|
|
2613
|
+
"name": "FocusableMixin",
|
|
2614
|
+
"module": "/src/common/mixins/FocusableMixin.js"
|
|
2615
|
+
},
|
|
2616
|
+
{
|
|
2617
|
+
"name": "DraftComponentMixin",
|
|
2618
|
+
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
2619
|
+
}
|
|
2620
|
+
],
|
|
2621
|
+
"superclass": {
|
|
2622
|
+
"name": "LitElement",
|
|
2623
|
+
"package": "lit"
|
|
2624
|
+
},
|
|
2625
|
+
"status": "draft",
|
|
2626
|
+
"category": "form",
|
|
2627
|
+
"tagName": "nord-select",
|
|
2628
|
+
"customElement": true,
|
|
2629
|
+
"attributes": [
|
|
2630
|
+
{
|
|
1793
2631
|
"name": "label",
|
|
1794
2632
|
"type": {
|
|
1795
2633
|
"text": "string"
|
|
1796
2634
|
},
|
|
1797
2635
|
"default": "\"\"",
|
|
1798
2636
|
"description": "Label for the input.",
|
|
1799
|
-
"
|
|
2637
|
+
"fieldName": "label",
|
|
1800
2638
|
"inheritedFrom": {
|
|
1801
2639
|
"name": "FormAssociatedMixin",
|
|
1802
2640
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1803
2641
|
}
|
|
1804
2642
|
},
|
|
1805
2643
|
{
|
|
1806
|
-
"
|
|
1807
|
-
"
|
|
2644
|
+
"name": "hint",
|
|
2645
|
+
"type": {
|
|
2646
|
+
"text": "string | undefined"
|
|
2647
|
+
},
|
|
2648
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
2649
|
+
"fieldName": "hint",
|
|
2650
|
+
"inheritedFrom": {
|
|
2651
|
+
"name": "FormAssociatedMixin",
|
|
2652
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2653
|
+
}
|
|
2654
|
+
},
|
|
2655
|
+
{
|
|
2656
|
+
"name": "hide-label",
|
|
1808
2657
|
"type": {
|
|
1809
2658
|
"text": "boolean"
|
|
1810
2659
|
},
|
|
1811
2660
|
"default": "false",
|
|
1812
|
-
"description": "
|
|
1813
|
-
"
|
|
2661
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
2662
|
+
"fieldName": "hideLabel",
|
|
1814
2663
|
"inheritedFrom": {
|
|
1815
2664
|
"name": "FormAssociatedMixin",
|
|
1816
2665
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1817
2666
|
}
|
|
1818
2667
|
},
|
|
1819
2668
|
{
|
|
1820
|
-
"
|
|
1821
|
-
"
|
|
1822
|
-
|
|
2669
|
+
"name": "placeholder",
|
|
2670
|
+
"type": {
|
|
2671
|
+
"text": "string | undefined"
|
|
2672
|
+
},
|
|
2673
|
+
"description": "Placeholder text to display within the input.",
|
|
2674
|
+
"fieldName": "placeholder",
|
|
1823
2675
|
"inheritedFrom": {
|
|
1824
2676
|
"name": "FormAssociatedMixin",
|
|
1825
2677
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1826
2678
|
}
|
|
1827
2679
|
},
|
|
1828
2680
|
{
|
|
1829
|
-
"
|
|
1830
|
-
"
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
2681
|
+
"name": "error",
|
|
2682
|
+
"type": {
|
|
2683
|
+
"text": "string | undefined"
|
|
2684
|
+
},
|
|
2685
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
2686
|
+
"fieldName": "error",
|
|
2687
|
+
"inheritedFrom": {
|
|
2688
|
+
"name": "FormAssociatedMixin",
|
|
2689
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2690
|
+
}
|
|
2691
|
+
},
|
|
2692
|
+
{
|
|
2693
|
+
"name": "required",
|
|
2694
|
+
"type": {
|
|
2695
|
+
"text": "boolean"
|
|
2696
|
+
},
|
|
2697
|
+
"default": "false",
|
|
2698
|
+
"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.",
|
|
2699
|
+
"fieldName": "required",
|
|
2700
|
+
"inheritedFrom": {
|
|
2701
|
+
"name": "FormAssociatedMixin",
|
|
2702
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2703
|
+
}
|
|
2704
|
+
},
|
|
2705
|
+
{
|
|
2706
|
+
"name": "expand",
|
|
2707
|
+
"type": {
|
|
2708
|
+
"text": "boolean"
|
|
2709
|
+
},
|
|
2710
|
+
"default": "false",
|
|
2711
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
2712
|
+
"fieldName": "expand",
|
|
1840
2713
|
"inheritedFrom": {
|
|
1841
2714
|
"name": "FormAssociatedMixin",
|
|
1842
2715
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1843
2716
|
}
|
|
1844
2717
|
},
|
|
1845
2718
|
{
|
|
1846
|
-
"kind": "field",
|
|
1847
2719
|
"name": "disabled",
|
|
1848
2720
|
"type": {
|
|
1849
2721
|
"text": "boolean"
|
|
1850
2722
|
},
|
|
1851
2723
|
"default": "false",
|
|
1852
2724
|
"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.",
|
|
1853
|
-
"
|
|
2725
|
+
"fieldName": "disabled",
|
|
1854
2726
|
"inheritedFrom": {
|
|
1855
2727
|
"name": "InputMixin",
|
|
1856
2728
|
"module": "src/common/mixins/InputMixin.ts"
|
|
1857
2729
|
}
|
|
1858
2730
|
},
|
|
1859
2731
|
{
|
|
1860
|
-
"kind": "field",
|
|
1861
2732
|
"name": "name",
|
|
1862
2733
|
"type": {
|
|
1863
2734
|
"text": "string | undefined"
|
|
1864
2735
|
},
|
|
1865
2736
|
"description": "The name of the input component.",
|
|
1866
|
-
"
|
|
2737
|
+
"fieldName": "name",
|
|
1867
2738
|
"inheritedFrom": {
|
|
1868
2739
|
"name": "InputMixin",
|
|
1869
2740
|
"module": "src/common/mixins/InputMixin.ts"
|
|
1870
2741
|
}
|
|
1871
2742
|
},
|
|
1872
2743
|
{
|
|
1873
|
-
"kind": "field",
|
|
1874
2744
|
"name": "value",
|
|
1875
2745
|
"type": {
|
|
1876
2746
|
"text": "string | undefined"
|
|
1877
2747
|
},
|
|
1878
2748
|
"description": "The value of the input component.",
|
|
1879
|
-
"
|
|
2749
|
+
"fieldName": "value",
|
|
1880
2750
|
"inheritedFrom": {
|
|
1881
2751
|
"name": "InputMixin",
|
|
1882
2752
|
"module": "src/common/mixins/InputMixin.ts"
|
|
1883
2753
|
}
|
|
1884
|
-
}
|
|
2754
|
+
}
|
|
2755
|
+
],
|
|
2756
|
+
"events": [
|
|
1885
2757
|
{
|
|
1886
|
-
"
|
|
1887
|
-
"
|
|
1888
|
-
|
|
1889
|
-
|
|
2758
|
+
"name": "change",
|
|
2759
|
+
"type": {
|
|
2760
|
+
"text": "NordEvent"
|
|
2761
|
+
},
|
|
2762
|
+
"description": "Fired whenever the input's value is changed via user interaction.",
|
|
1890
2763
|
"inheritedFrom": {
|
|
1891
|
-
"name": "
|
|
1892
|
-
"module": "src/common/mixins/
|
|
2764
|
+
"name": "FormAssociatedMixin",
|
|
2765
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
1893
2766
|
}
|
|
1894
|
-
}
|
|
2767
|
+
}
|
|
2768
|
+
]
|
|
2769
|
+
}
|
|
2770
|
+
],
|
|
2771
|
+
"exports": [
|
|
2772
|
+
{
|
|
2773
|
+
"kind": "js",
|
|
2774
|
+
"name": "default",
|
|
2775
|
+
"declaration": {
|
|
2776
|
+
"name": "Select",
|
|
2777
|
+
"module": "src/select/Select.ts"
|
|
2778
|
+
}
|
|
2779
|
+
},
|
|
2780
|
+
{
|
|
2781
|
+
"kind": "custom-element-definition",
|
|
2782
|
+
"name": "nord-select",
|
|
2783
|
+
"declaration": {
|
|
2784
|
+
"name": "Select",
|
|
2785
|
+
"module": "src/select/Select.ts"
|
|
2786
|
+
}
|
|
2787
|
+
}
|
|
2788
|
+
]
|
|
2789
|
+
},
|
|
2790
|
+
{
|
|
2791
|
+
"kind": "javascript-module",
|
|
2792
|
+
"path": "src/spinner/Spinner.ts",
|
|
2793
|
+
"declarations": [
|
|
2794
|
+
{
|
|
2795
|
+
"kind": "class",
|
|
2796
|
+
"description": "Spinner component is used to indicate users that their action is being\nprocessed. You can customize the size and color of the spinner with the\nprovided properties.",
|
|
2797
|
+
"name": "Spinner",
|
|
2798
|
+
"members": [
|
|
1895
2799
|
{
|
|
1896
2800
|
"kind": "field",
|
|
1897
|
-
"name": "
|
|
1898
|
-
"
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
|
|
1905
|
-
"kind": "method",
|
|
1906
|
-
"name": "focus",
|
|
1907
|
-
"parameters": [
|
|
1908
|
-
{
|
|
1909
|
-
"name": "options",
|
|
1910
|
-
"optional": true,
|
|
1911
|
-
"type": {
|
|
1912
|
-
"text": "FocusOptions"
|
|
1913
|
-
},
|
|
1914
|
-
"description": "An object which controls aspects of the focusing process."
|
|
1915
|
-
}
|
|
1916
|
-
],
|
|
1917
|
-
"description": "Programmatically move focus to the component",
|
|
1918
|
-
"inheritedFrom": {
|
|
1919
|
-
"name": "FocusableMixin",
|
|
1920
|
-
"module": "src/common/mixins/FocusableMixin.ts"
|
|
1921
|
-
}
|
|
2801
|
+
"name": "size",
|
|
2802
|
+
"type": {
|
|
2803
|
+
"text": "\"xs\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
|
|
2804
|
+
},
|
|
2805
|
+
"default": "\"m\"",
|
|
2806
|
+
"description": "The size of the spinner.",
|
|
2807
|
+
"attribute": "size",
|
|
2808
|
+
"reflects": true
|
|
1922
2809
|
},
|
|
1923
2810
|
{
|
|
1924
|
-
"kind": "
|
|
1925
|
-
"name": "
|
|
1926
|
-
"
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
2811
|
+
"kind": "field",
|
|
2812
|
+
"name": "color",
|
|
2813
|
+
"type": {
|
|
2814
|
+
"text": "string | undefined"
|
|
2815
|
+
},
|
|
2816
|
+
"description": "The color of the spinner.\nCan accept any valid CSS color value, including custom properties.",
|
|
2817
|
+
"attribute": "color",
|
|
2818
|
+
"reflects": true
|
|
1931
2819
|
},
|
|
1932
2820
|
{
|
|
1933
|
-
"kind": "
|
|
1934
|
-
"name": "
|
|
1935
|
-
"
|
|
1936
|
-
|
|
1937
|
-
|
|
1938
|
-
|
|
1939
|
-
|
|
2821
|
+
"kind": "field",
|
|
2822
|
+
"name": "label",
|
|
2823
|
+
"type": {
|
|
2824
|
+
"text": "string | undefined"
|
|
2825
|
+
},
|
|
2826
|
+
"description": "An accessible label for the spinner.\nIf no label is supplied, the spinner is hidden from assistive technology.",
|
|
2827
|
+
"attribute": "label",
|
|
2828
|
+
"reflects": true
|
|
1940
2829
|
},
|
|
1941
2830
|
{
|
|
1942
2831
|
"kind": "field",
|
|
@@ -1955,133 +2844,131 @@
|
|
|
1955
2844
|
],
|
|
1956
2845
|
"attributes": [
|
|
1957
2846
|
{
|
|
1958
|
-
"name": "
|
|
2847
|
+
"name": "size",
|
|
1959
2848
|
"type": {
|
|
1960
|
-
"text": "\"
|
|
2849
|
+
"text": "\"xs\" | \"s\" | \"m\" | \"l\" | \"xl\" | \"xxl\""
|
|
1961
2850
|
},
|
|
1962
|
-
"default": "\"
|
|
1963
|
-
"description": "The
|
|
1964
|
-
"fieldName": "
|
|
2851
|
+
"default": "\"m\"",
|
|
2852
|
+
"description": "The size of the spinner.",
|
|
2853
|
+
"fieldName": "size"
|
|
1965
2854
|
},
|
|
1966
2855
|
{
|
|
1967
|
-
"name": "
|
|
2856
|
+
"name": "color",
|
|
1968
2857
|
"type": {
|
|
1969
2858
|
"text": "string | undefined"
|
|
1970
2859
|
},
|
|
1971
|
-
"description": "
|
|
1972
|
-
"fieldName": "
|
|
1973
|
-
},
|
|
1974
|
-
{
|
|
1975
|
-
"name": "hide-label",
|
|
1976
|
-
"type": {
|
|
1977
|
-
"text": "boolean"
|
|
1978
|
-
},
|
|
1979
|
-
"default": "false",
|
|
1980
|
-
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
1981
|
-
"fieldName": "hideLabel"
|
|
2860
|
+
"description": "The color of the spinner.\nCan accept any valid CSS color value, including custom properties.",
|
|
2861
|
+
"fieldName": "color"
|
|
1982
2862
|
},
|
|
1983
2863
|
{
|
|
1984
|
-
"name": "
|
|
2864
|
+
"name": "label",
|
|
1985
2865
|
"type": {
|
|
1986
2866
|
"text": "string | undefined"
|
|
1987
2867
|
},
|
|
1988
|
-
"description": "
|
|
1989
|
-
"fieldName": "
|
|
1990
|
-
}
|
|
2868
|
+
"description": "An accessible label for the spinner.\nIf no label is supplied, the spinner is hidden from assistive technology.",
|
|
2869
|
+
"fieldName": "label"
|
|
2870
|
+
}
|
|
2871
|
+
],
|
|
2872
|
+
"mixins": [
|
|
1991
2873
|
{
|
|
1992
|
-
"name": "
|
|
1993
|
-
"
|
|
1994
|
-
|
|
1995
|
-
|
|
1996
|
-
|
|
1997
|
-
|
|
1998
|
-
|
|
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": "feedback",
|
|
2884
|
+
"tagName": "nord-spinner",
|
|
2885
|
+
"customElement": true
|
|
2886
|
+
}
|
|
2887
|
+
],
|
|
2888
|
+
"exports": [
|
|
2889
|
+
{
|
|
2890
|
+
"kind": "js",
|
|
2891
|
+
"name": "default",
|
|
2892
|
+
"declaration": {
|
|
2893
|
+
"name": "Spinner",
|
|
2894
|
+
"module": "src/spinner/Spinner.ts"
|
|
2895
|
+
}
|
|
2896
|
+
},
|
|
2897
|
+
{
|
|
2898
|
+
"kind": "custom-element-definition",
|
|
2899
|
+
"name": "nord-spinner",
|
|
2900
|
+
"declaration": {
|
|
2901
|
+
"name": "Spinner",
|
|
2902
|
+
"module": "src/spinner/Spinner.ts"
|
|
2903
|
+
}
|
|
2904
|
+
}
|
|
2905
|
+
]
|
|
2906
|
+
},
|
|
2907
|
+
{
|
|
2908
|
+
"kind": "javascript-module",
|
|
2909
|
+
"path": "src/table/Table.ts",
|
|
2910
|
+
"declarations": [
|
|
2911
|
+
{
|
|
2912
|
+
"kind": "class",
|
|
2913
|
+
"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.",
|
|
2914
|
+
"name": "Table",
|
|
2915
|
+
"slots": [
|
|
1999
2916
|
{
|
|
2000
|
-
"
|
|
2001
|
-
"
|
|
2002
|
-
|
|
2003
|
-
|
|
2004
|
-
|
|
2005
|
-
"description": "Controls whether the input expands to fill the width of its container.",
|
|
2006
|
-
"fieldName": "expand"
|
|
2007
|
-
},
|
|
2917
|
+
"description": "The table.",
|
|
2918
|
+
"name": ""
|
|
2919
|
+
}
|
|
2920
|
+
],
|
|
2921
|
+
"members": [
|
|
2008
2922
|
{
|
|
2009
|
-
"
|
|
2923
|
+
"kind": "field",
|
|
2924
|
+
"name": "density",
|
|
2010
2925
|
"type": {
|
|
2011
|
-
"text": "
|
|
2926
|
+
"text": "\"condensed\" | \"default\" | \"relaxed\""
|
|
2012
2927
|
},
|
|
2013
|
-
"default": "\"\"",
|
|
2014
|
-
"description": "
|
|
2015
|
-
"
|
|
2016
|
-
"
|
|
2017
|
-
"name": "FormAssociatedMixin",
|
|
2018
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2019
|
-
}
|
|
2928
|
+
"default": "\"default\"",
|
|
2929
|
+
"description": "Controls the density of the table's rows and headers.\nRelaxed increases space, condensed reduces space.",
|
|
2930
|
+
"attribute": "density",
|
|
2931
|
+
"reflects": true
|
|
2020
2932
|
},
|
|
2021
2933
|
{
|
|
2022
|
-
"
|
|
2023
|
-
"
|
|
2024
|
-
|
|
2025
|
-
|
|
2026
|
-
"default": "false",
|
|
2027
|
-
"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.",
|
|
2028
|
-
"fieldName": "required",
|
|
2029
|
-
"inheritedFrom": {
|
|
2030
|
-
"name": "FormAssociatedMixin",
|
|
2031
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2032
|
-
}
|
|
2934
|
+
"kind": "method",
|
|
2935
|
+
"name": "renderStyles",
|
|
2936
|
+
"privacy": "private",
|
|
2937
|
+
"description": "renders table styles into nearest root.\nthis is necessary since we do not use shadow dom."
|
|
2033
2938
|
},
|
|
2034
2939
|
{
|
|
2035
|
-
"
|
|
2036
|
-
"
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
"default": "false",
|
|
2040
|
-
"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.",
|
|
2041
|
-
"fieldName": "disabled",
|
|
2042
|
-
"inheritedFrom": {
|
|
2043
|
-
"name": "InputMixin",
|
|
2044
|
-
"module": "src/common/mixins/InputMixin.ts"
|
|
2045
|
-
}
|
|
2940
|
+
"kind": "method",
|
|
2941
|
+
"name": "createRenderRoot",
|
|
2942
|
+
"privacy": "protected",
|
|
2943
|
+
"description": "opt out of shadow dom"
|
|
2046
2944
|
},
|
|
2047
2945
|
{
|
|
2048
|
-
"
|
|
2946
|
+
"kind": "field",
|
|
2947
|
+
"name": "_warningLogged",
|
|
2049
2948
|
"type": {
|
|
2050
|
-
"text": "
|
|
2949
|
+
"text": "boolean"
|
|
2051
2950
|
},
|
|
2052
|
-
"
|
|
2053
|
-
"
|
|
2951
|
+
"privacy": "private",
|
|
2952
|
+
"static": true,
|
|
2953
|
+
"default": "false",
|
|
2054
2954
|
"inheritedFrom": {
|
|
2055
|
-
"name": "
|
|
2056
|
-
"module": "src/common/mixins/
|
|
2955
|
+
"name": "DraftComponentMixin",
|
|
2956
|
+
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
2057
2957
|
}
|
|
2058
|
-
}
|
|
2958
|
+
}
|
|
2959
|
+
],
|
|
2960
|
+
"attributes": [
|
|
2059
2961
|
{
|
|
2060
|
-
"name": "
|
|
2962
|
+
"name": "density",
|
|
2061
2963
|
"type": {
|
|
2062
|
-
"text": "
|
|
2964
|
+
"text": "\"condensed\" | \"default\" | \"relaxed\""
|
|
2063
2965
|
},
|
|
2064
|
-
"
|
|
2065
|
-
"
|
|
2066
|
-
"
|
|
2067
|
-
"name": "InputMixin",
|
|
2068
|
-
"module": "src/common/mixins/InputMixin.ts"
|
|
2069
|
-
}
|
|
2966
|
+
"default": "\"default\"",
|
|
2967
|
+
"description": "Controls the density of the table's rows and headers.\nRelaxed increases space, condensed reduces space.",
|
|
2968
|
+
"fieldName": "density"
|
|
2070
2969
|
}
|
|
2071
2970
|
],
|
|
2072
2971
|
"mixins": [
|
|
2073
|
-
{
|
|
2074
|
-
"name": "FormAssociatedMixin",
|
|
2075
|
-
"module": "/src/common/mixins/FormAssociatedMixin.js"
|
|
2076
|
-
},
|
|
2077
|
-
{
|
|
2078
|
-
"name": "InputMixin",
|
|
2079
|
-
"module": "/src/common/mixins/InputMixin.js"
|
|
2080
|
-
},
|
|
2081
|
-
{
|
|
2082
|
-
"name": "FocusableMixin",
|
|
2083
|
-
"module": "/src/common/mixins/FocusableMixin.js"
|
|
2084
|
-
},
|
|
2085
2972
|
{
|
|
2086
2973
|
"name": "DraftComponentMixin",
|
|
2087
2974
|
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
@@ -2092,22 +2979,9 @@
|
|
|
2092
2979
|
"package": "lit"
|
|
2093
2980
|
},
|
|
2094
2981
|
"status": "draft",
|
|
2095
|
-
"category": "
|
|
2096
|
-
"tagName": "nord-
|
|
2097
|
-
"customElement": true
|
|
2098
|
-
"events": [
|
|
2099
|
-
{
|
|
2100
|
-
"name": "change",
|
|
2101
|
-
"type": {
|
|
2102
|
-
"text": "NordEvent"
|
|
2103
|
-
},
|
|
2104
|
-
"description": "Fired whenever the input's value is changed via user interaction.",
|
|
2105
|
-
"inheritedFrom": {
|
|
2106
|
-
"name": "FormAssociatedMixin",
|
|
2107
|
-
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2108
|
-
}
|
|
2109
|
-
}
|
|
2110
|
-
]
|
|
2982
|
+
"category": "list",
|
|
2983
|
+
"tagName": "nord-table",
|
|
2984
|
+
"customElement": true
|
|
2111
2985
|
}
|
|
2112
2986
|
],
|
|
2113
2987
|
"exports": [
|
|
@@ -2115,55 +2989,108 @@
|
|
|
2115
2989
|
"kind": "js",
|
|
2116
2990
|
"name": "default",
|
|
2117
2991
|
"declaration": {
|
|
2118
|
-
"name": "
|
|
2119
|
-
"module": "src/
|
|
2992
|
+
"name": "Table",
|
|
2993
|
+
"module": "src/table/Table.ts"
|
|
2120
2994
|
}
|
|
2121
2995
|
},
|
|
2122
2996
|
{
|
|
2123
2997
|
"kind": "custom-element-definition",
|
|
2124
|
-
"name": "nord-
|
|
2998
|
+
"name": "nord-table",
|
|
2125
2999
|
"declaration": {
|
|
2126
|
-
"name": "
|
|
2127
|
-
"module": "src/
|
|
3000
|
+
"name": "Table",
|
|
3001
|
+
"module": "src/table/Table.ts"
|
|
2128
3002
|
}
|
|
2129
3003
|
}
|
|
2130
3004
|
]
|
|
2131
3005
|
},
|
|
2132
3006
|
{
|
|
2133
3007
|
"kind": "javascript-module",
|
|
2134
|
-
"path": "src/
|
|
3008
|
+
"path": "src/textarea/Textarea.ts",
|
|
2135
3009
|
"declarations": [
|
|
2136
3010
|
{
|
|
2137
3011
|
"kind": "class",
|
|
2138
|
-
"description": "
|
|
2139
|
-
"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",
|
|
2140
3014
|
"slots": [
|
|
2141
|
-
{
|
|
2142
|
-
"description": "Default slot for holding <option> elements.",
|
|
2143
|
-
"name": ""
|
|
2144
|
-
},
|
|
2145
3015
|
{
|
|
2146
3016
|
"description": "Use when a label requires more than plain text.",
|
|
2147
3017
|
"name": "label"
|
|
2148
3018
|
},
|
|
2149
3019
|
{
|
|
2150
|
-
"description": "
|
|
3020
|
+
"description": "Optional slot that holds hint text for the textarea.",
|
|
2151
3021
|
"name": "hint"
|
|
2152
3022
|
},
|
|
2153
3023
|
{
|
|
2154
|
-
"description": "Optional slot that holds error text for the
|
|
3024
|
+
"description": "Optional slot that holds error text for the textarea.",
|
|
2155
3025
|
"name": "error"
|
|
2156
3026
|
}
|
|
2157
3027
|
],
|
|
2158
3028
|
"members": [
|
|
3029
|
+
{
|
|
3030
|
+
"kind": "field",
|
|
3031
|
+
"name": "inputId",
|
|
3032
|
+
"type": {
|
|
3033
|
+
"text": "string"
|
|
3034
|
+
},
|
|
3035
|
+
"privacy": "protected",
|
|
3036
|
+
"default": "\"textarea\"",
|
|
3037
|
+
"inheritedFrom": {
|
|
3038
|
+
"name": "FormAssociatedMixin",
|
|
3039
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3040
|
+
}
|
|
3041
|
+
},
|
|
3042
|
+
{
|
|
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
|
+
},
|
|
2159
3082
|
{
|
|
2160
3083
|
"kind": "field",
|
|
2161
3084
|
"name": "hint",
|
|
2162
3085
|
"type": {
|
|
2163
3086
|
"text": "string | undefined"
|
|
2164
3087
|
},
|
|
2165
|
-
"description": "Optional hint text to be displayed with
|
|
2166
|
-
"attribute": "hint"
|
|
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
|
+
}
|
|
2167
3094
|
},
|
|
2168
3095
|
{
|
|
2169
3096
|
"kind": "field",
|
|
@@ -2173,7 +3100,11 @@
|
|
|
2173
3100
|
},
|
|
2174
3101
|
"default": "false",
|
|
2175
3102
|
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
2176
|
-
"attribute": "hide-label"
|
|
3103
|
+
"attribute": "hide-label",
|
|
3104
|
+
"inheritedFrom": {
|
|
3105
|
+
"name": "FormAssociatedMixin",
|
|
3106
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3107
|
+
}
|
|
2177
3108
|
},
|
|
2178
3109
|
{
|
|
2179
3110
|
"kind": "field",
|
|
@@ -2181,8 +3112,12 @@
|
|
|
2181
3112
|
"type": {
|
|
2182
3113
|
"text": "string | undefined"
|
|
2183
3114
|
},
|
|
2184
|
-
"description": "
|
|
2185
|
-
"attribute": "placeholder"
|
|
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
|
+
}
|
|
2186
3121
|
},
|
|
2187
3122
|
{
|
|
2188
3123
|
"kind": "field",
|
|
@@ -2190,120 +3125,108 @@
|
|
|
2190
3125
|
"type": {
|
|
2191
3126
|
"text": "string | undefined"
|
|
2192
3127
|
},
|
|
2193
|
-
"description": "Optional error to be shown with the
|
|
2194
|
-
"attribute": "error"
|
|
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
|
+
}
|
|
2195
3134
|
},
|
|
2196
3135
|
{
|
|
2197
3136
|
"kind": "field",
|
|
2198
|
-
"name": "
|
|
3137
|
+
"name": "required",
|
|
2199
3138
|
"type": {
|
|
2200
3139
|
"text": "boolean"
|
|
2201
3140
|
},
|
|
2202
3141
|
"default": "false",
|
|
2203
|
-
"description": "
|
|
2204
|
-
"attribute": "
|
|
2205
|
-
"
|
|
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
|
+
}
|
|
2206
3148
|
},
|
|
2207
3149
|
{
|
|
2208
|
-
"kind": "
|
|
2209
|
-
"name": "
|
|
2210
|
-
"
|
|
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
|
+
}
|
|
2211
3163
|
},
|
|
2212
3164
|
{
|
|
2213
3165
|
"kind": "field",
|
|
2214
|
-
"name": "
|
|
2215
|
-
"privacy": "private"
|
|
3166
|
+
"name": "handleFormData",
|
|
3167
|
+
"privacy": "private",
|
|
3168
|
+
"inheritedFrom": {
|
|
3169
|
+
"name": "FormAssociatedMixin",
|
|
3170
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3171
|
+
}
|
|
2216
3172
|
},
|
|
2217
3173
|
{
|
|
2218
3174
|
"kind": "method",
|
|
2219
|
-
"name": "
|
|
2220
|
-
"privacy": "
|
|
2221
|
-
"return": {
|
|
2222
|
-
"type": {
|
|
2223
|
-
"text": "string"
|
|
2224
|
-
}
|
|
2225
|
-
},
|
|
3175
|
+
"name": "handleChange",
|
|
3176
|
+
"privacy": "protected",
|
|
2226
3177
|
"parameters": [
|
|
2227
3178
|
{
|
|
2228
|
-
"name": "
|
|
3179
|
+
"name": "e",
|
|
2229
3180
|
"type": {
|
|
2230
|
-
"text": "
|
|
3181
|
+
"text": "Event"
|
|
2231
3182
|
}
|
|
2232
3183
|
}
|
|
2233
|
-
]
|
|
3184
|
+
],
|
|
3185
|
+
"inheritedFrom": {
|
|
3186
|
+
"name": "FormAssociatedMixin",
|
|
3187
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3188
|
+
}
|
|
2234
3189
|
},
|
|
2235
3190
|
{
|
|
2236
3191
|
"kind": "method",
|
|
2237
3192
|
"name": "renderLabel",
|
|
2238
|
-
"privacy": "
|
|
2239
|
-
"
|
|
2240
|
-
|
|
2241
|
-
|
|
2242
|
-
|
|
2243
|
-
"text": "boolean"
|
|
2244
|
-
}
|
|
2245
|
-
}
|
|
2246
|
-
]
|
|
3193
|
+
"privacy": "protected",
|
|
3194
|
+
"inheritedFrom": {
|
|
3195
|
+
"name": "FormAssociatedMixin",
|
|
3196
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3197
|
+
}
|
|
2247
3198
|
},
|
|
2248
3199
|
{
|
|
2249
3200
|
"kind": "method",
|
|
2250
3201
|
"name": "renderHint",
|
|
2251
|
-
"privacy": "private"
|
|
3202
|
+
"privacy": "private",
|
|
3203
|
+
"inheritedFrom": {
|
|
3204
|
+
"name": "FormAssociatedMixin",
|
|
3205
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3206
|
+
}
|
|
2252
3207
|
},
|
|
2253
3208
|
{
|
|
2254
3209
|
"kind": "method",
|
|
2255
3210
|
"name": "renderError",
|
|
2256
|
-
"privacy": "
|
|
2257
|
-
|
|
2258
|
-
|
|
2259
|
-
|
|
2260
|
-
|
|
2261
|
-
"privacy": "private",
|
|
2262
|
-
"parameters": [
|
|
2263
|
-
{
|
|
2264
|
-
"name": "option",
|
|
2265
|
-
"type": {
|
|
2266
|
-
"text": "HTMLOptionElement"
|
|
2267
|
-
}
|
|
2268
|
-
}
|
|
2269
|
-
]
|
|
3211
|
+
"privacy": "protected",
|
|
3212
|
+
"inheritedFrom": {
|
|
3213
|
+
"name": "FormAssociatedMixin",
|
|
3214
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3215
|
+
}
|
|
2270
3216
|
},
|
|
2271
3217
|
{
|
|
2272
3218
|
"kind": "method",
|
|
2273
|
-
"name": "
|
|
2274
|
-
"privacy": "
|
|
2275
|
-
"parameters": [
|
|
2276
|
-
{
|
|
2277
|
-
"name": "slotName",
|
|
2278
|
-
"type": {
|
|
2279
|
-
"text": "string"
|
|
2280
|
-
}
|
|
2281
|
-
}
|
|
2282
|
-
]
|
|
2283
|
-
},
|
|
2284
|
-
{
|
|
2285
|
-
"kind": "field",
|
|
2286
|
-
"name": "label",
|
|
2287
|
-
"type": {
|
|
2288
|
-
"text": "string"
|
|
2289
|
-
},
|
|
2290
|
-
"default": "\"\"",
|
|
2291
|
-
"description": "Label for the input.",
|
|
2292
|
-
"attribute": "label",
|
|
3219
|
+
"name": "getDescribedBy",
|
|
3220
|
+
"privacy": "protected",
|
|
2293
3221
|
"inheritedFrom": {
|
|
2294
3222
|
"name": "FormAssociatedMixin",
|
|
2295
3223
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2296
3224
|
}
|
|
2297
3225
|
},
|
|
2298
3226
|
{
|
|
2299
|
-
"kind": "
|
|
2300
|
-
"name": "
|
|
2301
|
-
"
|
|
2302
|
-
"text": "boolean"
|
|
2303
|
-
},
|
|
2304
|
-
"default": "false",
|
|
2305
|
-
"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.",
|
|
2306
|
-
"attribute": "required",
|
|
3227
|
+
"kind": "method",
|
|
3228
|
+
"name": "getInvalid",
|
|
3229
|
+
"privacy": "protected",
|
|
2307
3230
|
"inheritedFrom": {
|
|
2308
3231
|
"name": "FormAssociatedMixin",
|
|
2309
3232
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
@@ -2311,25 +3234,17 @@
|
|
|
2311
3234
|
},
|
|
2312
3235
|
{
|
|
2313
3236
|
"kind": "field",
|
|
2314
|
-
"name": "
|
|
2315
|
-
"privacy": "
|
|
3237
|
+
"name": "hasHint",
|
|
3238
|
+
"privacy": "protected",
|
|
2316
3239
|
"inheritedFrom": {
|
|
2317
3240
|
"name": "FormAssociatedMixin",
|
|
2318
3241
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2319
3242
|
}
|
|
2320
3243
|
},
|
|
2321
3244
|
{
|
|
2322
|
-
"kind": "
|
|
2323
|
-
"name": "
|
|
3245
|
+
"kind": "field",
|
|
3246
|
+
"name": "hasError",
|
|
2324
3247
|
"privacy": "protected",
|
|
2325
|
-
"parameters": [
|
|
2326
|
-
{
|
|
2327
|
-
"name": "e",
|
|
2328
|
-
"type": {
|
|
2329
|
-
"text": "Event"
|
|
2330
|
-
}
|
|
2331
|
-
}
|
|
2332
|
-
],
|
|
2333
3248
|
"inheritedFrom": {
|
|
2334
3249
|
"name": "FormAssociatedMixin",
|
|
2335
3250
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
@@ -2447,13 +3362,39 @@
|
|
|
2447
3362
|
}
|
|
2448
3363
|
],
|
|
2449
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
|
+
},
|
|
2450
3387
|
{
|
|
2451
3388
|
"name": "hint",
|
|
2452
3389
|
"type": {
|
|
2453
3390
|
"text": "string | undefined"
|
|
2454
3391
|
},
|
|
2455
|
-
"description": "Optional hint text to be displayed with
|
|
2456
|
-
"fieldName": "hint"
|
|
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
|
+
}
|
|
2457
3398
|
},
|
|
2458
3399
|
{
|
|
2459
3400
|
"name": "hide-label",
|
|
@@ -2462,54 +3403,57 @@
|
|
|
2462
3403
|
},
|
|
2463
3404
|
"default": "false",
|
|
2464
3405
|
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
2465
|
-
"fieldName": "hideLabel"
|
|
3406
|
+
"fieldName": "hideLabel",
|
|
3407
|
+
"inheritedFrom": {
|
|
3408
|
+
"name": "FormAssociatedMixin",
|
|
3409
|
+
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
3410
|
+
}
|
|
2466
3411
|
},
|
|
2467
3412
|
{
|
|
2468
3413
|
"name": "placeholder",
|
|
2469
3414
|
"type": {
|
|
2470
3415
|
"text": "string | undefined"
|
|
2471
3416
|
},
|
|
2472
|
-
"description": "
|
|
2473
|
-
"fieldName": "placeholder"
|
|
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
|
+
}
|
|
2474
3423
|
},
|
|
2475
3424
|
{
|
|
2476
3425
|
"name": "error",
|
|
2477
3426
|
"type": {
|
|
2478
3427
|
"text": "string | undefined"
|
|
2479
3428
|
},
|
|
2480
|
-
"description": "Optional error to be shown with the
|
|
2481
|
-
"fieldName": "error"
|
|
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
|
+
}
|
|
2482
3435
|
},
|
|
2483
3436
|
{
|
|
2484
|
-
"name": "
|
|
3437
|
+
"name": "required",
|
|
2485
3438
|
"type": {
|
|
2486
3439
|
"text": "boolean"
|
|
2487
3440
|
},
|
|
2488
3441
|
"default": "false",
|
|
2489
|
-
"description": "
|
|
2490
|
-
"fieldName": "
|
|
2491
|
-
},
|
|
2492
|
-
{
|
|
2493
|
-
"name": "label",
|
|
2494
|
-
"type": {
|
|
2495
|
-
"text": "string"
|
|
2496
|
-
},
|
|
2497
|
-
"default": "\"\"",
|
|
2498
|
-
"description": "Label for the input.",
|
|
2499
|
-
"fieldName": "label",
|
|
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",
|
|
2500
3444
|
"inheritedFrom": {
|
|
2501
3445
|
"name": "FormAssociatedMixin",
|
|
2502
3446
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
2503
3447
|
}
|
|
2504
3448
|
},
|
|
2505
3449
|
{
|
|
2506
|
-
"name": "
|
|
3450
|
+
"name": "expand",
|
|
2507
3451
|
"type": {
|
|
2508
3452
|
"text": "boolean"
|
|
2509
3453
|
},
|
|
2510
3454
|
"default": "false",
|
|
2511
|
-
"description": "
|
|
2512
|
-
"fieldName": "
|
|
3455
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
3456
|
+
"fieldName": "expand",
|
|
2513
3457
|
"inheritedFrom": {
|
|
2514
3458
|
"name": "FormAssociatedMixin",
|
|
2515
3459
|
"module": "src/common/mixins/FormAssociatedMixin.ts"
|
|
@@ -2577,7 +3521,7 @@
|
|
|
2577
3521
|
},
|
|
2578
3522
|
"status": "draft",
|
|
2579
3523
|
"category": "form",
|
|
2580
|
-
"tagName": "nord-
|
|
3524
|
+
"tagName": "nord-textarea",
|
|
2581
3525
|
"customElement": true,
|
|
2582
3526
|
"events": [
|
|
2583
3527
|
{
|
|
@@ -2599,16 +3543,16 @@
|
|
|
2599
3543
|
"kind": "js",
|
|
2600
3544
|
"name": "default",
|
|
2601
3545
|
"declaration": {
|
|
2602
|
-
"name": "
|
|
2603
|
-
"module": "src/
|
|
3546
|
+
"name": "Textarea",
|
|
3547
|
+
"module": "src/textarea/Textarea.ts"
|
|
2604
3548
|
}
|
|
2605
3549
|
},
|
|
2606
3550
|
{
|
|
2607
3551
|
"kind": "custom-element-definition",
|
|
2608
|
-
"name": "nord-
|
|
3552
|
+
"name": "nord-textarea",
|
|
2609
3553
|
"declaration": {
|
|
2610
|
-
"name": "
|
|
2611
|
-
"module": "src/
|
|
3554
|
+
"name": "Textarea",
|
|
3555
|
+
"module": "src/textarea/Textarea.ts"
|
|
2612
3556
|
}
|
|
2613
3557
|
}
|
|
2614
3558
|
]
|
|
@@ -2738,105 +3682,6 @@
|
|
|
2738
3682
|
}
|
|
2739
3683
|
]
|
|
2740
3684
|
},
|
|
2741
|
-
{
|
|
2742
|
-
"kind": "javascript-module",
|
|
2743
|
-
"path": "src/table/Table.ts",
|
|
2744
|
-
"declarations": [
|
|
2745
|
-
{
|
|
2746
|
-
"kind": "class",
|
|
2747
|
-
"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.",
|
|
2748
|
-
"name": "Table",
|
|
2749
|
-
"slots": [
|
|
2750
|
-
{
|
|
2751
|
-
"description": "The table.",
|
|
2752
|
-
"name": ""
|
|
2753
|
-
}
|
|
2754
|
-
],
|
|
2755
|
-
"members": [
|
|
2756
|
-
{
|
|
2757
|
-
"kind": "field",
|
|
2758
|
-
"name": "density",
|
|
2759
|
-
"type": {
|
|
2760
|
-
"text": "\"condensed\" | \"default\" | \"relaxed\""
|
|
2761
|
-
},
|
|
2762
|
-
"default": "\"default\"",
|
|
2763
|
-
"description": "Controls the density of the table's rows and headers.\nRelaxed increases space, condensed reduces space.",
|
|
2764
|
-
"attribute": "density",
|
|
2765
|
-
"reflects": true
|
|
2766
|
-
},
|
|
2767
|
-
{
|
|
2768
|
-
"kind": "method",
|
|
2769
|
-
"name": "renderStyles",
|
|
2770
|
-
"privacy": "private",
|
|
2771
|
-
"description": "renders table styles into nearest root.\nthis is necessary since we do not use shadow dom."
|
|
2772
|
-
},
|
|
2773
|
-
{
|
|
2774
|
-
"kind": "method",
|
|
2775
|
-
"name": "createRenderRoot",
|
|
2776
|
-
"privacy": "protected",
|
|
2777
|
-
"description": "opt out of shadow dom"
|
|
2778
|
-
},
|
|
2779
|
-
{
|
|
2780
|
-
"kind": "field",
|
|
2781
|
-
"name": "_warningLogged",
|
|
2782
|
-
"type": {
|
|
2783
|
-
"text": "boolean"
|
|
2784
|
-
},
|
|
2785
|
-
"privacy": "private",
|
|
2786
|
-
"static": true,
|
|
2787
|
-
"default": "false",
|
|
2788
|
-
"inheritedFrom": {
|
|
2789
|
-
"name": "DraftComponentMixin",
|
|
2790
|
-
"module": "src/common/mixins/DraftComponentMixin.ts"
|
|
2791
|
-
}
|
|
2792
|
-
}
|
|
2793
|
-
],
|
|
2794
|
-
"attributes": [
|
|
2795
|
-
{
|
|
2796
|
-
"name": "density",
|
|
2797
|
-
"type": {
|
|
2798
|
-
"text": "\"condensed\" | \"default\" | \"relaxed\""
|
|
2799
|
-
},
|
|
2800
|
-
"default": "\"default\"",
|
|
2801
|
-
"description": "Controls the density of the table's rows and headers.\nRelaxed increases space, condensed reduces space.",
|
|
2802
|
-
"fieldName": "density"
|
|
2803
|
-
}
|
|
2804
|
-
],
|
|
2805
|
-
"mixins": [
|
|
2806
|
-
{
|
|
2807
|
-
"name": "DraftComponentMixin",
|
|
2808
|
-
"module": "/src/common/mixins/DraftComponentMixin.js"
|
|
2809
|
-
}
|
|
2810
|
-
],
|
|
2811
|
-
"superclass": {
|
|
2812
|
-
"name": "LitElement",
|
|
2813
|
-
"package": "lit"
|
|
2814
|
-
},
|
|
2815
|
-
"status": "draft",
|
|
2816
|
-
"category": "list",
|
|
2817
|
-
"tagName": "nord-table",
|
|
2818
|
-
"customElement": true
|
|
2819
|
-
}
|
|
2820
|
-
],
|
|
2821
|
-
"exports": [
|
|
2822
|
-
{
|
|
2823
|
-
"kind": "js",
|
|
2824
|
-
"name": "default",
|
|
2825
|
-
"declaration": {
|
|
2826
|
-
"name": "Table",
|
|
2827
|
-
"module": "src/table/Table.ts"
|
|
2828
|
-
}
|
|
2829
|
-
},
|
|
2830
|
-
{
|
|
2831
|
-
"kind": "custom-element-definition",
|
|
2832
|
-
"name": "nord-table",
|
|
2833
|
-
"declaration": {
|
|
2834
|
-
"name": "Table",
|
|
2835
|
-
"module": "src/table/Table.ts"
|
|
2836
|
-
}
|
|
2837
|
-
}
|
|
2838
|
-
]
|
|
2839
|
-
},
|
|
2840
3685
|
{
|
|
2841
3686
|
"kind": "javascript-module",
|
|
2842
3687
|
"path": "src/visually-hidden/VisuallyHidden.ts",
|
|
@@ -2980,29 +3825,93 @@
|
|
|
2980
3825
|
"members": [
|
|
2981
3826
|
{
|
|
2982
3827
|
"kind": "field",
|
|
2983
|
-
"name": "target",
|
|
2984
|
-
"type": {
|
|
2985
|
-
"text": "ShortcutTarget"
|
|
2986
|
-
},
|
|
2987
|
-
"privacy": "private",
|
|
2988
|
-
"default": "target"
|
|
2989
|
-
},
|
|
2990
|
-
{
|
|
2991
|
-
"kind": "field",
|
|
2992
|
-
"name": "shortcuts",
|
|
3828
|
+
"name": "target",
|
|
3829
|
+
"type": {
|
|
3830
|
+
"text": "ShortcutTarget"
|
|
3831
|
+
},
|
|
3832
|
+
"privacy": "private",
|
|
3833
|
+
"default": "target"
|
|
3834
|
+
},
|
|
3835
|
+
{
|
|
3836
|
+
"kind": "field",
|
|
3837
|
+
"name": "shortcuts",
|
|
3838
|
+
"type": {
|
|
3839
|
+
"text": "KeyBindingMap | undefined"
|
|
3840
|
+
},
|
|
3841
|
+
"privacy": "private",
|
|
3842
|
+
"default": "shortcuts"
|
|
3843
|
+
},
|
|
3844
|
+
{
|
|
3845
|
+
"kind": "field",
|
|
3846
|
+
"name": "unregister",
|
|
3847
|
+
"type": {
|
|
3848
|
+
"text": "ReturnType<typeof tinykeys> | undefined"
|
|
3849
|
+
},
|
|
3850
|
+
"privacy": "private"
|
|
3851
|
+
},
|
|
3852
|
+
{
|
|
3853
|
+
"kind": "method",
|
|
3854
|
+
"name": "hostConnected"
|
|
3855
|
+
},
|
|
3856
|
+
{
|
|
3857
|
+
"kind": "method",
|
|
3858
|
+
"name": "hostDisconnected"
|
|
3859
|
+
},
|
|
3860
|
+
{
|
|
3861
|
+
"kind": "method",
|
|
3862
|
+
"name": "unbind"
|
|
3863
|
+
},
|
|
3864
|
+
{
|
|
3865
|
+
"kind": "method",
|
|
3866
|
+
"name": "bind",
|
|
3867
|
+
"parameters": [
|
|
3868
|
+
{
|
|
3869
|
+
"name": "shortcuts",
|
|
3870
|
+
"type": {
|
|
3871
|
+
"text": "KeyBindingMap"
|
|
3872
|
+
}
|
|
3873
|
+
}
|
|
3874
|
+
]
|
|
3875
|
+
}
|
|
3876
|
+
]
|
|
3877
|
+
}
|
|
3878
|
+
],
|
|
3879
|
+
"exports": [
|
|
3880
|
+
{
|
|
3881
|
+
"kind": "js",
|
|
3882
|
+
"name": "ShortcutController",
|
|
3883
|
+
"declaration": {
|
|
3884
|
+
"name": "ShortcutController",
|
|
3885
|
+
"module": "src/common/controllers/ShortcutController.ts"
|
|
3886
|
+
}
|
|
3887
|
+
},
|
|
3888
|
+
{
|
|
3889
|
+
"kind": "js",
|
|
3890
|
+
"name": "ShortcutMap",
|
|
3891
|
+
"declaration": {
|
|
3892
|
+
"name": "KeyBindingMap",
|
|
3893
|
+
"module": "src/common/controllers/ShortcutController.ts"
|
|
3894
|
+
}
|
|
3895
|
+
}
|
|
3896
|
+
]
|
|
3897
|
+
},
|
|
3898
|
+
{
|
|
3899
|
+
"kind": "javascript-module",
|
|
3900
|
+
"path": "src/common/controllers/SlotController.ts",
|
|
3901
|
+
"declarations": [
|
|
3902
|
+
{
|
|
3903
|
+
"kind": "class",
|
|
3904
|
+
"description": "",
|
|
3905
|
+
"name": "SlotController",
|
|
3906
|
+
"members": [
|
|
3907
|
+
{
|
|
3908
|
+
"kind": "field",
|
|
3909
|
+
"name": "host",
|
|
2993
3910
|
"type": {
|
|
2994
|
-
"text": "
|
|
3911
|
+
"text": "ReactiveElement"
|
|
2995
3912
|
},
|
|
2996
3913
|
"privacy": "private",
|
|
2997
|
-
"default": "
|
|
2998
|
-
},
|
|
2999
|
-
{
|
|
3000
|
-
"kind": "field",
|
|
3001
|
-
"name": "unregister",
|
|
3002
|
-
"type": {
|
|
3003
|
-
"text": "ReturnType<typeof tinykeys> | undefined"
|
|
3004
|
-
},
|
|
3005
|
-
"privacy": "private"
|
|
3914
|
+
"default": "host"
|
|
3006
3915
|
},
|
|
3007
3916
|
{
|
|
3008
3917
|
"kind": "method",
|
|
@@ -3014,19 +3923,20 @@
|
|
|
3014
3923
|
},
|
|
3015
3924
|
{
|
|
3016
3925
|
"kind": "method",
|
|
3017
|
-
"name": "
|
|
3018
|
-
},
|
|
3019
|
-
{
|
|
3020
|
-
"kind": "method",
|
|
3021
|
-
"name": "bind",
|
|
3926
|
+
"name": "hasSlottedContent",
|
|
3022
3927
|
"parameters": [
|
|
3023
3928
|
{
|
|
3024
|
-
"name": "
|
|
3929
|
+
"name": "slotName",
|
|
3025
3930
|
"type": {
|
|
3026
|
-
"text": "
|
|
3931
|
+
"text": "string"
|
|
3027
3932
|
}
|
|
3028
3933
|
}
|
|
3029
3934
|
]
|
|
3935
|
+
},
|
|
3936
|
+
{
|
|
3937
|
+
"kind": "field",
|
|
3938
|
+
"name": "handleSlotChange",
|
|
3939
|
+
"privacy": "private"
|
|
3030
3940
|
}
|
|
3031
3941
|
]
|
|
3032
3942
|
}
|
|
@@ -3034,18 +3944,10 @@
|
|
|
3034
3944
|
"exports": [
|
|
3035
3945
|
{
|
|
3036
3946
|
"kind": "js",
|
|
3037
|
-
"name": "
|
|
3038
|
-
"declaration": {
|
|
3039
|
-
"name": "ShortcutController",
|
|
3040
|
-
"module": "src/common/controllers/ShortcutController.ts"
|
|
3041
|
-
}
|
|
3042
|
-
},
|
|
3043
|
-
{
|
|
3044
|
-
"kind": "js",
|
|
3045
|
-
"name": "ShortcutMap",
|
|
3947
|
+
"name": "SlotController",
|
|
3046
3948
|
"declaration": {
|
|
3047
|
-
"name": "
|
|
3048
|
-
"module": "src/common/controllers/
|
|
3949
|
+
"name": "SlotController",
|
|
3950
|
+
"module": "src/common/controllers/SlotController.ts"
|
|
3049
3951
|
}
|
|
3050
3952
|
}
|
|
3051
3953
|
]
|
|
@@ -3254,6 +4156,57 @@
|
|
|
3254
4156
|
"text": "boolean"
|
|
3255
4157
|
}
|
|
3256
4158
|
},
|
|
4159
|
+
{
|
|
4160
|
+
"kind": "field",
|
|
4161
|
+
"name": "hint",
|
|
4162
|
+
"type": {
|
|
4163
|
+
"text": "string | undefined"
|
|
4164
|
+
}
|
|
4165
|
+
},
|
|
4166
|
+
{
|
|
4167
|
+
"kind": "field",
|
|
4168
|
+
"name": "hideLabel",
|
|
4169
|
+
"type": {
|
|
4170
|
+
"text": "boolean"
|
|
4171
|
+
}
|
|
4172
|
+
},
|
|
4173
|
+
{
|
|
4174
|
+
"kind": "field",
|
|
4175
|
+
"name": "placeholder",
|
|
4176
|
+
"type": {
|
|
4177
|
+
"text": "string | undefined"
|
|
4178
|
+
}
|
|
4179
|
+
},
|
|
4180
|
+
{
|
|
4181
|
+
"kind": "field",
|
|
4182
|
+
"name": "error",
|
|
4183
|
+
"type": {
|
|
4184
|
+
"text": "string | undefined"
|
|
4185
|
+
}
|
|
4186
|
+
},
|
|
4187
|
+
{
|
|
4188
|
+
"kind": "field",
|
|
4189
|
+
"name": "expand",
|
|
4190
|
+
"type": {
|
|
4191
|
+
"text": "boolean"
|
|
4192
|
+
}
|
|
4193
|
+
},
|
|
4194
|
+
{
|
|
4195
|
+
"kind": "field",
|
|
4196
|
+
"name": "inputId",
|
|
4197
|
+
"type": {
|
|
4198
|
+
"text": "string"
|
|
4199
|
+
},
|
|
4200
|
+
"privacy": "protected"
|
|
4201
|
+
},
|
|
4202
|
+
{
|
|
4203
|
+
"kind": "field",
|
|
4204
|
+
"name": "slots",
|
|
4205
|
+
"type": {
|
|
4206
|
+
"text": "SlotController"
|
|
4207
|
+
},
|
|
4208
|
+
"privacy": "protected"
|
|
4209
|
+
},
|
|
3257
4210
|
{
|
|
3258
4211
|
"kind": "method",
|
|
3259
4212
|
"name": "handleChange",
|
|
@@ -3271,6 +4224,46 @@
|
|
|
3271
4224
|
}
|
|
3272
4225
|
}
|
|
3273
4226
|
]
|
|
4227
|
+
},
|
|
4228
|
+
{
|
|
4229
|
+
"kind": "method",
|
|
4230
|
+
"name": "renderLabel",
|
|
4231
|
+
"privacy": "protected",
|
|
4232
|
+
"return": {
|
|
4233
|
+
"type": {
|
|
4234
|
+
"text": "TemplateResult"
|
|
4235
|
+
}
|
|
4236
|
+
}
|
|
4237
|
+
},
|
|
4238
|
+
{
|
|
4239
|
+
"kind": "method",
|
|
4240
|
+
"name": "renderError",
|
|
4241
|
+
"privacy": "protected",
|
|
4242
|
+
"return": {
|
|
4243
|
+
"type": {
|
|
4244
|
+
"text": "TemplateResult"
|
|
4245
|
+
}
|
|
4246
|
+
}
|
|
4247
|
+
},
|
|
4248
|
+
{
|
|
4249
|
+
"kind": "method",
|
|
4250
|
+
"name": "getDescribedBy",
|
|
4251
|
+
"privacy": "protected",
|
|
4252
|
+
"return": {
|
|
4253
|
+
"type": {
|
|
4254
|
+
"text": "string | undefined"
|
|
4255
|
+
}
|
|
4256
|
+
}
|
|
4257
|
+
},
|
|
4258
|
+
{
|
|
4259
|
+
"kind": "method",
|
|
4260
|
+
"name": "getInvalid",
|
|
4261
|
+
"privacy": "protected",
|
|
4262
|
+
"return": {
|
|
4263
|
+
"type": {
|
|
4264
|
+
"text": "\"true\" | undefined"
|
|
4265
|
+
}
|
|
4266
|
+
}
|
|
3274
4267
|
}
|
|
3275
4268
|
]
|
|
3276
4269
|
},
|
|
@@ -3279,6 +4272,21 @@
|
|
|
3279
4272
|
"description": "",
|
|
3280
4273
|
"name": "FormAssociatedMixin",
|
|
3281
4274
|
"members": [
|
|
4275
|
+
{
|
|
4276
|
+
"kind": "field",
|
|
4277
|
+
"name": "slots",
|
|
4278
|
+
"privacy": "protected",
|
|
4279
|
+
"default": "new SlotController(this)"
|
|
4280
|
+
},
|
|
4281
|
+
{
|
|
4282
|
+
"kind": "field",
|
|
4283
|
+
"name": "inputId",
|
|
4284
|
+
"type": {
|
|
4285
|
+
"text": "string"
|
|
4286
|
+
},
|
|
4287
|
+
"privacy": "protected",
|
|
4288
|
+
"default": "\"input\""
|
|
4289
|
+
},
|
|
3282
4290
|
{
|
|
3283
4291
|
"kind": "field",
|
|
3284
4292
|
"name": "label",
|
|
@@ -3289,6 +4297,43 @@
|
|
|
3289
4297
|
"description": "Label for the input.",
|
|
3290
4298
|
"attribute": "label"
|
|
3291
4299
|
},
|
|
4300
|
+
{
|
|
4301
|
+
"kind": "field",
|
|
4302
|
+
"name": "hint",
|
|
4303
|
+
"type": {
|
|
4304
|
+
"text": "string | undefined"
|
|
4305
|
+
},
|
|
4306
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
4307
|
+
"attribute": "hint"
|
|
4308
|
+
},
|
|
4309
|
+
{
|
|
4310
|
+
"kind": "field",
|
|
4311
|
+
"name": "hideLabel",
|
|
4312
|
+
"type": {
|
|
4313
|
+
"text": "boolean"
|
|
4314
|
+
},
|
|
4315
|
+
"default": "false",
|
|
4316
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
4317
|
+
"attribute": "hide-label"
|
|
4318
|
+
},
|
|
4319
|
+
{
|
|
4320
|
+
"kind": "field",
|
|
4321
|
+
"name": "placeholder",
|
|
4322
|
+
"type": {
|
|
4323
|
+
"text": "string | undefined"
|
|
4324
|
+
},
|
|
4325
|
+
"description": "Placeholder text to display within the input.",
|
|
4326
|
+
"attribute": "placeholder"
|
|
4327
|
+
},
|
|
4328
|
+
{
|
|
4329
|
+
"kind": "field",
|
|
4330
|
+
"name": "error",
|
|
4331
|
+
"type": {
|
|
4332
|
+
"text": "string | undefined"
|
|
4333
|
+
},
|
|
4334
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
4335
|
+
"attribute": "error"
|
|
4336
|
+
},
|
|
3292
4337
|
{
|
|
3293
4338
|
"kind": "field",
|
|
3294
4339
|
"name": "required",
|
|
@@ -3299,6 +4344,17 @@
|
|
|
3299
4344
|
"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.",
|
|
3300
4345
|
"attribute": "required"
|
|
3301
4346
|
},
|
|
4347
|
+
{
|
|
4348
|
+
"kind": "field",
|
|
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
|
+
"attribute": "expand",
|
|
4356
|
+
"reflects": true
|
|
4357
|
+
},
|
|
3302
4358
|
{
|
|
3303
4359
|
"kind": "field",
|
|
3304
4360
|
"name": "handleFormData",
|
|
@@ -3316,6 +4372,41 @@
|
|
|
3316
4372
|
}
|
|
3317
4373
|
}
|
|
3318
4374
|
]
|
|
4375
|
+
},
|
|
4376
|
+
{
|
|
4377
|
+
"kind": "method",
|
|
4378
|
+
"name": "renderLabel",
|
|
4379
|
+
"privacy": "protected"
|
|
4380
|
+
},
|
|
4381
|
+
{
|
|
4382
|
+
"kind": "method",
|
|
4383
|
+
"name": "renderHint",
|
|
4384
|
+
"privacy": "private"
|
|
4385
|
+
},
|
|
4386
|
+
{
|
|
4387
|
+
"kind": "method",
|
|
4388
|
+
"name": "renderError",
|
|
4389
|
+
"privacy": "protected"
|
|
4390
|
+
},
|
|
4391
|
+
{
|
|
4392
|
+
"kind": "method",
|
|
4393
|
+
"name": "getDescribedBy",
|
|
4394
|
+
"privacy": "protected"
|
|
4395
|
+
},
|
|
4396
|
+
{
|
|
4397
|
+
"kind": "method",
|
|
4398
|
+
"name": "getInvalid",
|
|
4399
|
+
"privacy": "protected"
|
|
4400
|
+
},
|
|
4401
|
+
{
|
|
4402
|
+
"kind": "field",
|
|
4403
|
+
"name": "hasHint",
|
|
4404
|
+
"privacy": "protected"
|
|
4405
|
+
},
|
|
4406
|
+
{
|
|
4407
|
+
"kind": "field",
|
|
4408
|
+
"name": "hasError",
|
|
4409
|
+
"privacy": "protected"
|
|
3319
4410
|
}
|
|
3320
4411
|
],
|
|
3321
4412
|
"events": [
|
|
@@ -3337,6 +4428,39 @@
|
|
|
3337
4428
|
"description": "Label for the input.",
|
|
3338
4429
|
"fieldName": "label"
|
|
3339
4430
|
},
|
|
4431
|
+
{
|
|
4432
|
+
"name": "hint",
|
|
4433
|
+
"type": {
|
|
4434
|
+
"text": "string | undefined"
|
|
4435
|
+
},
|
|
4436
|
+
"description": "Optional hint text to be displayed with the input. Alternatively use the hint slot.",
|
|
4437
|
+
"fieldName": "hint"
|
|
4438
|
+
},
|
|
4439
|
+
{
|
|
4440
|
+
"name": "hide-label",
|
|
4441
|
+
"type": {
|
|
4442
|
+
"text": "boolean"
|
|
4443
|
+
},
|
|
4444
|
+
"default": "false",
|
|
4445
|
+
"description": "Visually hide the label, but still show it to assistive technologies like screen readers.",
|
|
4446
|
+
"fieldName": "hideLabel"
|
|
4447
|
+
},
|
|
4448
|
+
{
|
|
4449
|
+
"name": "placeholder",
|
|
4450
|
+
"type": {
|
|
4451
|
+
"text": "string | undefined"
|
|
4452
|
+
},
|
|
4453
|
+
"description": "Placeholder text to display within the input.",
|
|
4454
|
+
"fieldName": "placeholder"
|
|
4455
|
+
},
|
|
4456
|
+
{
|
|
4457
|
+
"name": "error",
|
|
4458
|
+
"type": {
|
|
4459
|
+
"text": "string | undefined"
|
|
4460
|
+
},
|
|
4461
|
+
"description": "Optional error to be shown with the input. Alternatively use the error slot.",
|
|
4462
|
+
"fieldName": "error"
|
|
4463
|
+
},
|
|
3340
4464
|
{
|
|
3341
4465
|
"name": "required",
|
|
3342
4466
|
"type": {
|
|
@@ -3345,6 +4469,15 @@
|
|
|
3345
4469
|
"default": "false",
|
|
3346
4470
|
"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.",
|
|
3347
4471
|
"fieldName": "required"
|
|
4472
|
+
},
|
|
4473
|
+
{
|
|
4474
|
+
"name": "expand",
|
|
4475
|
+
"type": {
|
|
4476
|
+
"text": "boolean"
|
|
4477
|
+
},
|
|
4478
|
+
"default": "false",
|
|
4479
|
+
"description": "Controls whether the input expands to fill the width of its container.",
|
|
4480
|
+
"fieldName": "expand"
|
|
3348
4481
|
}
|
|
3349
4482
|
],
|
|
3350
4483
|
"parameters": [
|