@nordhealth/components 3.1.1 → 3.1.3
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 +692 -271
- package/lib/{AutocompleteMixin-60503685.js → AutocompleteMixin-3cf61f49.js} +2 -2
- package/lib/{AutocompleteMixin-60503685.js.map → AutocompleteMixin-3cf61f49.js.map} +1 -1
- package/lib/Avatar.js +1 -1
- package/lib/Avatar.js.map +1 -1
- package/lib/Badge.js +1 -1
- package/lib/Badge.js.map +1 -1
- package/lib/Banner.js +1 -1
- package/lib/Banner.js.map +1 -1
- package/lib/Button.js +1 -1
- package/lib/Button.js.map +1 -1
- package/lib/ButtonGroup.js +1 -1
- package/lib/ButtonGroup.js.map +1 -1
- package/lib/{Calendar-3cb36c5e.js → Calendar-b170e2fc.js} +2 -2
- package/lib/{Calendar-3cb36c5e.js.map → Calendar-b170e2fc.js.map} +1 -1
- package/lib/Calendar.js +1 -1
- package/lib/Card.js +1 -1
- package/lib/Card.js.map +1 -1
- package/lib/Checkbox.js +1 -1
- package/lib/Checkbox.js.map +1 -1
- package/lib/CommandMenu.js +1 -1
- package/lib/CommandMenu.js.map +1 -1
- package/lib/CommandMenuAction.js +1 -1
- package/lib/CommandMenuAction.js.map +1 -1
- package/lib/{Component-253ecb24.js → Component-420bbc41.js} +2 -2
- package/lib/Component-420bbc41.js.map +1 -0
- package/lib/DatePicker.js +1 -1
- package/lib/DatePicker.js.map +1 -1
- package/lib/DirectionController-f35f5476.js.map +1 -1
- package/lib/Divider.js +1 -1
- package/lib/Divider.js.map +1 -1
- package/lib/Drawer.js +1 -1
- package/lib/Drawer.js.map +1 -1
- package/lib/Dropdown.js +1 -1
- package/lib/Dropdown.js.map +1 -1
- package/lib/DropdownGroup.js +1 -1
- package/lib/DropdownGroup.js.map +1 -1
- package/lib/{DropdownItem-75a2468a.js → DropdownItem-a9bf32f4.js} +2 -2
- package/lib/DropdownItem-a9bf32f4.js.map +1 -0
- package/lib/DropdownItem.js +1 -1
- package/lib/DropdownItem.js.map +1 -1
- package/lib/EmptyState.js +1 -1
- package/lib/EmptyState.js.map +1 -1
- package/lib/Fieldset.js +1 -1
- package/lib/Fieldset.js.map +1 -1
- package/lib/{FocusableMixin-003e1094.js → FocusableMixin-4300e44e.js} +2 -2
- package/lib/{FocusableMixin-003e1094.js.map → FocusableMixin-4300e44e.js.map} +1 -1
- package/lib/FormAssociatedMixin-88e4bf5e.js +2 -0
- package/lib/FormAssociatedMixin-88e4bf5e.js.map +1 -0
- package/lib/{FormField-0783cb5a.js → FormField-cbfebb3f.js} +2 -2
- package/lib/FormField-cbfebb3f.js.map +1 -0
- package/lib/Header.js +1 -1
- package/lib/Header.js.map +1 -1
- package/lib/Icon.js +1 -1
- package/lib/Icon.js.map +1 -1
- package/lib/IconManager.js +1 -1
- package/lib/Input.js +1 -1
- package/lib/Input.js.map +1 -1
- package/lib/InputMixin-f9fb4034.js +2 -0
- package/lib/InputMixin-f9fb4034.js.map +1 -0
- package/lib/Layout.js +1 -1
- package/lib/Layout.js.map +1 -1
- package/lib/{LightDomController-5c53b3f4.js → LightDomController-f78fb046.js} +2 -2
- package/lib/{LightDomController-5c53b3f4.js.map → LightDomController-f78fb046.js.map} +1 -1
- package/lib/LocalizeController.js.map +1 -1
- package/lib/Message.js +1 -1
- package/lib/Message.js.map +1 -1
- package/lib/Modal.js +1 -1
- package/lib/Modal.js.map +1 -1
- package/lib/ModalController.js.map +1 -1
- package/lib/NavGroup.js +1 -1
- package/lib/NavGroup.js.map +1 -1
- package/lib/NavItem.js +1 -1
- package/lib/NavItem.js.map +1 -1
- package/lib/{NavToggle-188fb220.js → NavToggle-11625962.js} +2 -2
- package/lib/{NavToggle-188fb220.js.map → NavToggle-11625962.js.map} +1 -1
- package/lib/NavToggle.js +1 -1
- package/lib/Navigation.js +1 -1
- package/lib/Navigation.js.map +1 -1
- package/lib/Notification.js +1 -1
- package/lib/Notification.js.map +1 -1
- package/lib/NotificationGroup.js +1 -1
- package/lib/NotificationGroup.js.map +1 -1
- package/lib/{NotificationMixin-cea138a7.js → NotificationMixin-c06bb631.js} +2 -2
- package/lib/{NotificationMixin-cea138a7.js.map → NotificationMixin-c06bb631.js.map} +1 -1
- package/lib/Popout-39425b6c.js +2 -0
- package/lib/Popout-39425b6c.js.map +1 -0
- package/lib/Popout.js +1 -1
- package/lib/ProgressBar.js +1 -1
- package/lib/ProgressBar.js.map +1 -1
- package/lib/Qrcode.js +1 -1
- package/lib/Qrcode.js.map +1 -1
- package/lib/Radio.js +1 -1
- package/lib/Radio.js.map +1 -1
- package/lib/Range.js +1 -1
- package/lib/Range.js.map +1 -1
- package/lib/ScrollbarController-773c79f4.js.map +1 -1
- package/lib/Select.js +1 -1
- package/lib/Select.js.map +1 -1
- package/lib/SelectEvent.js.map +1 -1
- package/lib/{SizeMixin-bc2098f4.js → SizeMixin-fb379434.js} +2 -2
- package/lib/{SizeMixin-bc2098f4.js.map → SizeMixin-fb379434.js.map} +1 -1
- package/lib/Skeleton.js +1 -1
- package/lib/Skeleton.js.map +1 -1
- package/lib/Spinner.js +1 -1
- package/lib/Spinner.js.map +1 -1
- package/lib/Stack.js +1 -1
- package/lib/Stack.js.map +1 -1
- package/lib/{Sticky-220280e0.js → Sticky-acc92284.js} +2 -2
- package/lib/Sticky-acc92284.js.map +1 -0
- package/lib/Tab.js +1 -1
- package/lib/Tab.js.map +1 -1
- package/lib/TabGroup.js +1 -1
- package/lib/TabGroup.js.map +1 -1
- package/lib/TabPanel.js +1 -1
- package/lib/TabPanel.js.map +1 -1
- package/lib/Table.js +1 -1
- package/lib/Table.js.map +1 -1
- package/lib/{TextField-b455a6dd.js → TextField-8b226327.js} +2 -2
- package/lib/{TextField-b455a6dd.js.map → TextField-8b226327.js.map} +1 -1
- package/lib/Textarea.js +1 -1
- package/lib/Textarea.js.map +1 -1
- package/lib/Toast.js +1 -1
- package/lib/Toast.js.map +1 -1
- package/lib/ToastGroup.js +1 -1
- package/lib/ToastGroup.js.map +1 -1
- package/lib/Toggle.js +1 -1
- package/lib/Toggle.js.map +1 -1
- package/lib/Tooltip.js +1 -1
- package/lib/Tooltip.js.map +1 -1
- package/lib/TopBar.js +1 -1
- package/lib/TopBar.js.map +1 -1
- package/lib/VisuallyHidden.js +1 -1
- package/lib/VisuallyHidden.js.map +1 -1
- package/lib/bundle.js +7 -7
- package/lib/bundle.js.map +1 -1
- package/lib/{class-map-4a0dec4a.js → class-map-cb77ead2.js} +2 -2
- package/lib/{class-map-4a0dec4a.js.map → class-map-cb77ead2.js.map} +1 -1
- package/lib/{collection-bba319d3.js → collection-2f8e38bd.js} +3 -3
- package/lib/{collection-bba319d3.js.map → collection-2f8e38bd.js.map} +1 -1
- package/lib/cond-44672025.js +2 -0
- package/lib/{cond-77258def.js.map → cond-44672025.js.map} +1 -1
- package/lib/{if-defined-10508457.js → if-defined-9b177db4.js} +2 -2
- package/lib/{if-defined-10508457.js.map → if-defined-9b177db4.js.map} +1 -1
- package/lib/index.js +1 -1
- package/lib/positioning-a572d126.js +1 -1
- package/lib/positioning-a572d126.js.map +1 -1
- package/lib/{query-assigned-elements-2f8275b7.js → query-assigned-elements-15485e3d.js} +3 -3
- package/lib/{query-assigned-elements-2f8275b7.js.map → query-assigned-elements-15485e3d.js.map} +1 -1
- package/lib/{ref-f75a30b7.js → ref-5526fb07.js} +4 -4
- package/lib/{ref-f75a30b7.js.map → ref-5526fb07.js.map} +1 -1
- package/lib/src/common/controllers/FormDataController.d.ts +5 -1
- package/lib/src/common/mixins/InputMixin.d.ts +2 -0
- package/lib/src/localization/LocalizeController.d.ts +1 -1
- package/lib/src/popout/Popout.d.ts +2 -2
- package/lib/style-map-ed7e6cc6.js +7 -0
- package/lib/style-map-ed7e6cc6.js.map +1 -0
- package/package.json +4 -4
- package/lib/Component-253ecb24.js.map +0 -1
- package/lib/DropdownItem-75a2468a.js.map +0 -1
- package/lib/FormAssociatedMixin-895cf600.js +0 -2
- package/lib/FormAssociatedMixin-895cf600.js.map +0 -1
- package/lib/FormField-0783cb5a.js.map +0 -1
- package/lib/InputMixin-e15dd8f7.js +0 -2
- package/lib/InputMixin-e15dd8f7.js.map +0 -1
- package/lib/Popout-16e2ca1f.js +0 -2
- package/lib/Popout-16e2ca1f.js.map +0 -1
- package/lib/Sticky-220280e0.js.map +0 -1
- package/lib/cond-77258def.js +0 -2
- package/lib/style-map-75ce20b3.js +0 -7
- package/lib/style-map-75ce20b3.js.map +0 -1
package/custom-elements.json
CHANGED
|
@@ -628,91 +628,6 @@
|
|
|
628
628
|
}
|
|
629
629
|
]
|
|
630
630
|
},
|
|
631
|
-
{
|
|
632
|
-
"kind": "javascript-module",
|
|
633
|
-
"path": "src/banner/Banner.ts",
|
|
634
|
-
"declarations": [
|
|
635
|
-
{
|
|
636
|
-
"kind": "class",
|
|
637
|
-
"description": "Banner informs users about important changes or conditions in the\ninterface. Use this component if you need to communicate to users\nin a prominent way.",
|
|
638
|
-
"name": "Banner",
|
|
639
|
-
"cssProperties": [
|
|
640
|
-
{
|
|
641
|
-
"description": "Controls how rounded the corners are, using [border radius tokens](/tokens/#border-radius).",
|
|
642
|
-
"name": "--n-banner-border-radius",
|
|
643
|
-
"default": "var(--n-border-radius)"
|
|
644
|
-
},
|
|
645
|
-
{
|
|
646
|
-
"description": "Controls the surrounding shadow, using [box shadow tokens](/tokens/#box-shadow).",
|
|
647
|
-
"name": "--n-banner-box-shadow",
|
|
648
|
-
"default": "var(--n-box-shadow-card)"
|
|
649
|
-
}
|
|
650
|
-
],
|
|
651
|
-
"slots": [
|
|
652
|
-
{
|
|
653
|
-
"description": "default slot",
|
|
654
|
-
"name": ""
|
|
655
|
-
}
|
|
656
|
-
],
|
|
657
|
-
"members": [
|
|
658
|
-
{
|
|
659
|
-
"kind": "field",
|
|
660
|
-
"name": "variant",
|
|
661
|
-
"type": {
|
|
662
|
-
"text": "\"info\" | \"danger\" | \"success\" | \"warning\""
|
|
663
|
-
},
|
|
664
|
-
"default": "\"info\"",
|
|
665
|
-
"description": "The style variant of the banner.",
|
|
666
|
-
"attribute": "variant",
|
|
667
|
-
"reflects": true
|
|
668
|
-
}
|
|
669
|
-
],
|
|
670
|
-
"attributes": [
|
|
671
|
-
{
|
|
672
|
-
"name": "variant",
|
|
673
|
-
"type": {
|
|
674
|
-
"text": "\"info\" | \"danger\" | \"success\" | \"warning\""
|
|
675
|
-
},
|
|
676
|
-
"default": "\"info\"",
|
|
677
|
-
"description": "The style variant of the banner.",
|
|
678
|
-
"fieldName": "variant"
|
|
679
|
-
}
|
|
680
|
-
],
|
|
681
|
-
"superclass": {
|
|
682
|
-
"name": "LitElement",
|
|
683
|
-
"package": "lit"
|
|
684
|
-
},
|
|
685
|
-
"localization": [],
|
|
686
|
-
"status": "ready",
|
|
687
|
-
"category": "feedback",
|
|
688
|
-
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use this component if you need to communicate in a prominent way.\n- Place banner at the top of the section it applies to.\n- Use for highlighting errors and success statuses.\n- Put banner close to the context it’s referring to.\n- Move focus to the banner if it’s relevant to the current workflow.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Move focus to banner if it appears on page load.\n- Use for highlighting general content or as a banner.\n- Use to replace an error page.\n\n</div>\n\n---\n\n## Content guidelines\n\nBanner content should be clear, accurate and easy to understand:\n\n<div class=\"n-usage n-usage-do\">We’re experiencing an incident. Please see our status page for more details.</div>\n<div class=\"n-usage n-usage-dont\">There was an error.</div>\n\nWhen writing banner content, always write it in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">We’re experiencing an incident.</div>\n<div class=\"n-usage n-usage-dont\">We’re Experiencing An Incident.</div>\n\nAlways end in punctuation:\n\n<div class=\"n-usage n-usage-do\">We’re experiencing an incident.</div>\n<div class=\"n-usage n-usage-dont\">We’re experiencing an incident</div>\n",
|
|
689
|
-
"examples": [],
|
|
690
|
-
"dependencies": [
|
|
691
|
-
"icon"
|
|
692
|
-
],
|
|
693
|
-
"tagName": "nord-banner",
|
|
694
|
-
"customElement": true
|
|
695
|
-
}
|
|
696
|
-
],
|
|
697
|
-
"exports": [
|
|
698
|
-
{
|
|
699
|
-
"kind": "js",
|
|
700
|
-
"name": "default",
|
|
701
|
-
"declaration": {
|
|
702
|
-
"name": "Banner",
|
|
703
|
-
"module": "src/banner/Banner.ts"
|
|
704
|
-
}
|
|
705
|
-
},
|
|
706
|
-
{
|
|
707
|
-
"kind": "custom-element-definition",
|
|
708
|
-
"name": "nord-banner",
|
|
709
|
-
"declaration": {
|
|
710
|
-
"name": "Banner",
|
|
711
|
-
"module": "src/banner/Banner.ts"
|
|
712
|
-
}
|
|
713
|
-
}
|
|
714
|
-
]
|
|
715
|
-
},
|
|
716
631
|
{
|
|
717
632
|
"kind": "javascript-module",
|
|
718
633
|
"path": "src/badge/Badge.ts",
|
|
@@ -828,72 +743,52 @@
|
|
|
828
743
|
},
|
|
829
744
|
{
|
|
830
745
|
"kind": "javascript-module",
|
|
831
|
-
"path": "src/
|
|
746
|
+
"path": "src/banner/Banner.ts",
|
|
832
747
|
"declarations": [
|
|
833
748
|
{
|
|
834
749
|
"kind": "class",
|
|
835
|
-
"description": "
|
|
836
|
-
"name": "
|
|
750
|
+
"description": "Banner informs users about important changes or conditions in the\ninterface. Use this component if you need to communicate to users\nin a prominent way.",
|
|
751
|
+
"name": "Banner",
|
|
837
752
|
"cssProperties": [
|
|
838
753
|
{
|
|
839
|
-
"description": "Controls
|
|
840
|
-
"name": "--n-
|
|
841
|
-
"default": "var(--n-border-radius
|
|
754
|
+
"description": "Controls how rounded the corners are, using [border radius tokens](/tokens/#border-radius).",
|
|
755
|
+
"name": "--n-banner-border-radius",
|
|
756
|
+
"default": "var(--n-border-radius)"
|
|
842
757
|
},
|
|
843
758
|
{
|
|
844
759
|
"description": "Controls the surrounding shadow, using [box shadow tokens](/tokens/#box-shadow).",
|
|
845
|
-
"name": "--n-
|
|
846
|
-
"default": "var(--n-box-shadow)"
|
|
760
|
+
"name": "--n-banner-box-shadow",
|
|
761
|
+
"default": "var(--n-box-shadow-card)"
|
|
847
762
|
}
|
|
848
763
|
],
|
|
849
764
|
"slots": [
|
|
850
765
|
{
|
|
851
|
-
"description": "
|
|
766
|
+
"description": "default slot",
|
|
852
767
|
"name": ""
|
|
853
768
|
}
|
|
854
769
|
],
|
|
855
770
|
"members": [
|
|
856
771
|
{
|
|
857
772
|
"kind": "field",
|
|
858
|
-
"name": "
|
|
859
|
-
"type": {
|
|
860
|
-
"text": "\"vertical\" | \"horizontal\""
|
|
861
|
-
},
|
|
862
|
-
"default": "\"horizontal\"",
|
|
863
|
-
"description": "The direction of the button group.",
|
|
864
|
-
"attribute": "direction",
|
|
865
|
-
"reflects": true
|
|
866
|
-
},
|
|
867
|
-
{
|
|
868
|
-
"kind": "field",
|
|
869
|
-
"name": "role",
|
|
773
|
+
"name": "variant",
|
|
870
774
|
"type": {
|
|
871
|
-
"text": "
|
|
775
|
+
"text": "\"info\" | \"danger\" | \"success\" | \"warning\""
|
|
872
776
|
},
|
|
873
|
-
"default": "\"
|
|
874
|
-
"description": "The
|
|
875
|
-
"attribute": "
|
|
777
|
+
"default": "\"info\"",
|
|
778
|
+
"description": "The style variant of the banner.",
|
|
779
|
+
"attribute": "variant",
|
|
876
780
|
"reflects": true
|
|
877
781
|
}
|
|
878
782
|
],
|
|
879
783
|
"attributes": [
|
|
880
784
|
{
|
|
881
|
-
"name": "
|
|
882
|
-
"type": {
|
|
883
|
-
"text": "\"vertical\" | \"horizontal\""
|
|
884
|
-
},
|
|
885
|
-
"default": "\"horizontal\"",
|
|
886
|
-
"description": "The direction of the button group.",
|
|
887
|
-
"fieldName": "direction"
|
|
888
|
-
},
|
|
889
|
-
{
|
|
890
|
-
"name": "role",
|
|
785
|
+
"name": "variant",
|
|
891
786
|
"type": {
|
|
892
|
-
"text": "
|
|
787
|
+
"text": "\"info\" | \"danger\" | \"success\" | \"warning\""
|
|
893
788
|
},
|
|
894
|
-
"default": "\"
|
|
895
|
-
"description": "The
|
|
896
|
-
"fieldName": "
|
|
789
|
+
"default": "\"info\"",
|
|
790
|
+
"description": "The style variant of the banner.",
|
|
791
|
+
"fieldName": "variant"
|
|
897
792
|
}
|
|
898
793
|
],
|
|
899
794
|
"superclass": {
|
|
@@ -901,12 +796,14 @@
|
|
|
901
796
|
"package": "lit"
|
|
902
797
|
},
|
|
903
798
|
"localization": [],
|
|
904
|
-
"status": "
|
|
905
|
-
"category": "
|
|
906
|
-
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use
|
|
799
|
+
"status": "ready",
|
|
800
|
+
"category": "feedback",
|
|
801
|
+
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use this component if you need to communicate in a prominent way.\n- Place banner at the top of the section it applies to.\n- Use for highlighting errors and success statuses.\n- Put banner close to the context it’s referring to.\n- Move focus to the banner if it’s relevant to the current workflow.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Move focus to banner if it appears on page load.\n- Use for highlighting general content or as a banner.\n- Use to replace an error page.\n\n</div>\n\n---\n\n## Content guidelines\n\nBanner content should be clear, accurate and easy to understand:\n\n<div class=\"n-usage n-usage-do\">We’re experiencing an incident. Please see our status page for more details.</div>\n<div class=\"n-usage n-usage-dont\">There was an error.</div>\n\nWhen writing banner content, always write it in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">We’re experiencing an incident.</div>\n<div class=\"n-usage n-usage-dont\">We’re Experiencing An Incident.</div>\n\nAlways end in punctuation:\n\n<div class=\"n-usage n-usage-do\">We’re experiencing an incident.</div>\n<div class=\"n-usage n-usage-dont\">We’re experiencing an incident</div>\n",
|
|
907
802
|
"examples": [],
|
|
908
|
-
"dependencies": [
|
|
909
|
-
|
|
803
|
+
"dependencies": [
|
|
804
|
+
"icon"
|
|
805
|
+
],
|
|
806
|
+
"tagName": "nord-banner",
|
|
910
807
|
"customElement": true
|
|
911
808
|
}
|
|
912
809
|
],
|
|
@@ -915,16 +812,16 @@
|
|
|
915
812
|
"kind": "js",
|
|
916
813
|
"name": "default",
|
|
917
814
|
"declaration": {
|
|
918
|
-
"name": "
|
|
919
|
-
"module": "src/
|
|
815
|
+
"name": "Banner",
|
|
816
|
+
"module": "src/banner/Banner.ts"
|
|
920
817
|
}
|
|
921
818
|
},
|
|
922
819
|
{
|
|
923
820
|
"kind": "custom-element-definition",
|
|
924
|
-
"name": "nord-
|
|
821
|
+
"name": "nord-banner",
|
|
925
822
|
"declaration": {
|
|
926
|
-
"name": "
|
|
927
|
-
"module": "src/
|
|
823
|
+
"name": "Banner",
|
|
824
|
+
"module": "src/banner/Banner.ts"
|
|
928
825
|
}
|
|
929
826
|
}
|
|
930
827
|
]
|
|
@@ -1251,11 +1148,39 @@
|
|
|
1251
1148
|
"module": "src/common/mixins/InputMixin.ts"
|
|
1252
1149
|
}
|
|
1253
1150
|
},
|
|
1151
|
+
{
|
|
1152
|
+
"kind": "field",
|
|
1153
|
+
"name": "formAncestor",
|
|
1154
|
+
"type": {
|
|
1155
|
+
"text": "HTMLFormElement | null"
|
|
1156
|
+
},
|
|
1157
|
+
"privacy": "private",
|
|
1158
|
+
"default": "null",
|
|
1159
|
+
"inheritedFrom": {
|
|
1160
|
+
"name": "InputMixin",
|
|
1161
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
1162
|
+
}
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
"kind": "field",
|
|
1166
|
+
"name": "_formId",
|
|
1167
|
+
"type": {
|
|
1168
|
+
"text": "string | undefined"
|
|
1169
|
+
},
|
|
1170
|
+
"privacy": "protected",
|
|
1171
|
+
"inheritedFrom": {
|
|
1172
|
+
"name": "InputMixin",
|
|
1173
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
1174
|
+
}
|
|
1175
|
+
},
|
|
1254
1176
|
{
|
|
1255
1177
|
"kind": "field",
|
|
1256
1178
|
"name": "form",
|
|
1257
|
-
"
|
|
1258
|
-
|
|
1179
|
+
"type": {
|
|
1180
|
+
"text": "HTMLFormElement | null"
|
|
1181
|
+
},
|
|
1182
|
+
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
1183
|
+
"attribute": "form",
|
|
1259
1184
|
"inheritedFrom": {
|
|
1260
1185
|
"name": "InputMixin",
|
|
1261
1186
|
"module": "src/common/mixins/InputMixin.ts"
|
|
@@ -1431,6 +1356,18 @@
|
|
|
1431
1356
|
"name": "InputMixin",
|
|
1432
1357
|
"module": "src/common/mixins/InputMixin.ts"
|
|
1433
1358
|
}
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
"name": "form",
|
|
1362
|
+
"type": {
|
|
1363
|
+
"text": "HTMLFormElement | null"
|
|
1364
|
+
},
|
|
1365
|
+
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
1366
|
+
"fieldName": "form",
|
|
1367
|
+
"inheritedFrom": {
|
|
1368
|
+
"name": "InputMixin",
|
|
1369
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
1370
|
+
}
|
|
1434
1371
|
}
|
|
1435
1372
|
],
|
|
1436
1373
|
"mixins": [
|
|
@@ -1478,6 +1415,109 @@
|
|
|
1478
1415
|
}
|
|
1479
1416
|
]
|
|
1480
1417
|
},
|
|
1418
|
+
{
|
|
1419
|
+
"kind": "javascript-module",
|
|
1420
|
+
"path": "src/button-group/ButtonGroup.ts",
|
|
1421
|
+
"declarations": [
|
|
1422
|
+
{
|
|
1423
|
+
"kind": "class",
|
|
1424
|
+
"description": "Button groups are designed to bring together button controls that are of a similar nature. For example text formatting controls.",
|
|
1425
|
+
"name": "ButtonGroup",
|
|
1426
|
+
"cssProperties": [
|
|
1427
|
+
{
|
|
1428
|
+
"description": "Controls the rounded corners of the button, using [border radius tokens](/tokens/#border-radius).",
|
|
1429
|
+
"name": "--n-button-group-border-radius",
|
|
1430
|
+
"default": "var(--n-border-radius-s)"
|
|
1431
|
+
},
|
|
1432
|
+
{
|
|
1433
|
+
"description": "Controls the surrounding shadow, using [box shadow tokens](/tokens/#box-shadow).",
|
|
1434
|
+
"name": "--n-button-group-box-shadow",
|
|
1435
|
+
"default": "var(--n-box-shadow)"
|
|
1436
|
+
}
|
|
1437
|
+
],
|
|
1438
|
+
"slots": [
|
|
1439
|
+
{
|
|
1440
|
+
"description": "The button group content",
|
|
1441
|
+
"name": ""
|
|
1442
|
+
}
|
|
1443
|
+
],
|
|
1444
|
+
"members": [
|
|
1445
|
+
{
|
|
1446
|
+
"kind": "field",
|
|
1447
|
+
"name": "direction",
|
|
1448
|
+
"type": {
|
|
1449
|
+
"text": "\"vertical\" | \"horizontal\""
|
|
1450
|
+
},
|
|
1451
|
+
"default": "\"horizontal\"",
|
|
1452
|
+
"description": "The direction of the button group.",
|
|
1453
|
+
"attribute": "direction",
|
|
1454
|
+
"reflects": true
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
"kind": "field",
|
|
1458
|
+
"name": "role",
|
|
1459
|
+
"type": {
|
|
1460
|
+
"text": "string"
|
|
1461
|
+
},
|
|
1462
|
+
"default": "\"group\"",
|
|
1463
|
+
"description": "The appropriate role for the containing element.",
|
|
1464
|
+
"attribute": "role",
|
|
1465
|
+
"reflects": true
|
|
1466
|
+
}
|
|
1467
|
+
],
|
|
1468
|
+
"attributes": [
|
|
1469
|
+
{
|
|
1470
|
+
"name": "direction",
|
|
1471
|
+
"type": {
|
|
1472
|
+
"text": "\"vertical\" | \"horizontal\""
|
|
1473
|
+
},
|
|
1474
|
+
"default": "\"horizontal\"",
|
|
1475
|
+
"description": "The direction of the button group.",
|
|
1476
|
+
"fieldName": "direction"
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
"name": "role",
|
|
1480
|
+
"type": {
|
|
1481
|
+
"text": "string"
|
|
1482
|
+
},
|
|
1483
|
+
"default": "\"group\"",
|
|
1484
|
+
"description": "The appropriate role for the containing element.",
|
|
1485
|
+
"fieldName": "role"
|
|
1486
|
+
}
|
|
1487
|
+
],
|
|
1488
|
+
"superclass": {
|
|
1489
|
+
"name": "LitElement",
|
|
1490
|
+
"package": "lit"
|
|
1491
|
+
},
|
|
1492
|
+
"localization": [],
|
|
1493
|
+
"status": "new",
|
|
1494
|
+
"category": "structure",
|
|
1495
|
+
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use to group together buttons, or dropdowns, of a similar nature or purpose.\n- Use the appropriate `role` attribute on the button group to provide additional semantics.\n- Use an `aria-labelledby` attribute referencing another element to best explain the contents of the button group.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t add components other than buttons, dropdowns and in some instances visually hidden components to the button group.\n- Don’t skip the addition of an appropriate label if the added `role` attribute value calls for it.\n- Don’t use for building grid based layouts.\n\n</div>\n\n---\n\n## Content guidelines\n\nButton labels should be clear, accurate and predictable. It should be possible for the user to understand what will happen when they click a button:\n\n<div class=\"n-usage n-usage-do\">View user settings</div>\n<div class=\"n-usage n-usage-dont\">Click here</div>\n\nWhen writing button labels, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">My tasks</div>\n<div class=\"n-usage n-usage-dont\">My Tasks</div>\n\nAvoid unnecessary words and articles in button labels, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Add item</div>\n<div class=\"n-usage n-usage-dont\">Add an item</div>\n",
|
|
1496
|
+
"examples": [],
|
|
1497
|
+
"dependencies": [],
|
|
1498
|
+
"tagName": "nord-button-group",
|
|
1499
|
+
"customElement": true
|
|
1500
|
+
}
|
|
1501
|
+
],
|
|
1502
|
+
"exports": [
|
|
1503
|
+
{
|
|
1504
|
+
"kind": "js",
|
|
1505
|
+
"name": "default",
|
|
1506
|
+
"declaration": {
|
|
1507
|
+
"name": "ButtonGroup",
|
|
1508
|
+
"module": "src/button-group/ButtonGroup.ts"
|
|
1509
|
+
}
|
|
1510
|
+
},
|
|
1511
|
+
{
|
|
1512
|
+
"kind": "custom-element-definition",
|
|
1513
|
+
"name": "nord-button-group",
|
|
1514
|
+
"declaration": {
|
|
1515
|
+
"name": "ButtonGroup",
|
|
1516
|
+
"module": "src/button-group/ButtonGroup.ts"
|
|
1517
|
+
}
|
|
1518
|
+
}
|
|
1519
|
+
]
|
|
1520
|
+
},
|
|
1481
1521
|
{
|
|
1482
1522
|
"kind": "javascript-module",
|
|
1483
1523
|
"path": "src/calendar/Calendar.ts",
|
|
@@ -2492,11 +2532,39 @@
|
|
|
2492
2532
|
"module": "src/common/mixins/InputMixin.ts"
|
|
2493
2533
|
}
|
|
2494
2534
|
},
|
|
2535
|
+
{
|
|
2536
|
+
"kind": "field",
|
|
2537
|
+
"name": "formAncestor",
|
|
2538
|
+
"type": {
|
|
2539
|
+
"text": "HTMLFormElement | null"
|
|
2540
|
+
},
|
|
2541
|
+
"privacy": "private",
|
|
2542
|
+
"default": "null",
|
|
2543
|
+
"inheritedFrom": {
|
|
2544
|
+
"name": "InputMixin",
|
|
2545
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
2546
|
+
}
|
|
2547
|
+
},
|
|
2548
|
+
{
|
|
2549
|
+
"kind": "field",
|
|
2550
|
+
"name": "_formId",
|
|
2551
|
+
"type": {
|
|
2552
|
+
"text": "string | undefined"
|
|
2553
|
+
},
|
|
2554
|
+
"privacy": "protected",
|
|
2555
|
+
"inheritedFrom": {
|
|
2556
|
+
"name": "InputMixin",
|
|
2557
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
2558
|
+
}
|
|
2559
|
+
},
|
|
2495
2560
|
{
|
|
2496
2561
|
"kind": "field",
|
|
2497
2562
|
"name": "form",
|
|
2498
|
-
"
|
|
2499
|
-
|
|
2563
|
+
"type": {
|
|
2564
|
+
"text": "HTMLFormElement | null"
|
|
2565
|
+
},
|
|
2566
|
+
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
2567
|
+
"attribute": "form",
|
|
2500
2568
|
"inheritedFrom": {
|
|
2501
2569
|
"name": "InputMixin",
|
|
2502
2570
|
"module": "src/common/mixins/InputMixin.ts"
|
|
@@ -2706,6 +2774,18 @@
|
|
|
2706
2774
|
"name": "InputMixin",
|
|
2707
2775
|
"module": "src/common/mixins/InputMixin.ts"
|
|
2708
2776
|
}
|
|
2777
|
+
},
|
|
2778
|
+
{
|
|
2779
|
+
"name": "form",
|
|
2780
|
+
"type": {
|
|
2781
|
+
"text": "HTMLFormElement | null"
|
|
2782
|
+
},
|
|
2783
|
+
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
2784
|
+
"fieldName": "form",
|
|
2785
|
+
"inheritedFrom": {
|
|
2786
|
+
"name": "InputMixin",
|
|
2787
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
2788
|
+
}
|
|
2709
2789
|
}
|
|
2710
2790
|
],
|
|
2711
2791
|
"mixins": [
|
|
@@ -5341,11 +5421,39 @@
|
|
|
5341
5421
|
"module": "src/common/mixins/InputMixin.ts"
|
|
5342
5422
|
}
|
|
5343
5423
|
},
|
|
5424
|
+
{
|
|
5425
|
+
"kind": "field",
|
|
5426
|
+
"name": "formAncestor",
|
|
5427
|
+
"type": {
|
|
5428
|
+
"text": "HTMLFormElement | null"
|
|
5429
|
+
},
|
|
5430
|
+
"privacy": "private",
|
|
5431
|
+
"default": "null",
|
|
5432
|
+
"inheritedFrom": {
|
|
5433
|
+
"name": "InputMixin",
|
|
5434
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
5435
|
+
}
|
|
5436
|
+
},
|
|
5437
|
+
{
|
|
5438
|
+
"kind": "field",
|
|
5439
|
+
"name": "_formId",
|
|
5440
|
+
"type": {
|
|
5441
|
+
"text": "string | undefined"
|
|
5442
|
+
},
|
|
5443
|
+
"privacy": "protected",
|
|
5444
|
+
"inheritedFrom": {
|
|
5445
|
+
"name": "InputMixin",
|
|
5446
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
5447
|
+
}
|
|
5448
|
+
},
|
|
5344
5449
|
{
|
|
5345
5450
|
"kind": "field",
|
|
5346
5451
|
"name": "form",
|
|
5347
|
-
"
|
|
5348
|
-
|
|
5452
|
+
"type": {
|
|
5453
|
+
"text": "HTMLFormElement | null"
|
|
5454
|
+
},
|
|
5455
|
+
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
5456
|
+
"attribute": "form",
|
|
5349
5457
|
"inheritedFrom": {
|
|
5350
5458
|
"name": "InputMixin",
|
|
5351
5459
|
"module": "src/common/mixins/InputMixin.ts"
|
|
@@ -5618,6 +5726,18 @@
|
|
|
5618
5726
|
"name": "InputMixin",
|
|
5619
5727
|
"module": "src/common/mixins/InputMixin.ts"
|
|
5620
5728
|
}
|
|
5729
|
+
},
|
|
5730
|
+
{
|
|
5731
|
+
"name": "form",
|
|
5732
|
+
"type": {
|
|
5733
|
+
"text": "HTMLFormElement | null"
|
|
5734
|
+
},
|
|
5735
|
+
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
5736
|
+
"fieldName": "form",
|
|
5737
|
+
"inheritedFrom": {
|
|
5738
|
+
"name": "InputMixin",
|
|
5739
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
5740
|
+
}
|
|
5621
5741
|
}
|
|
5622
5742
|
],
|
|
5623
5743
|
"mixins": [
|
|
@@ -7535,11 +7655,39 @@
|
|
|
7535
7655
|
"module": "src/common/mixins/InputMixin.ts"
|
|
7536
7656
|
}
|
|
7537
7657
|
},
|
|
7658
|
+
{
|
|
7659
|
+
"kind": "field",
|
|
7660
|
+
"name": "formAncestor",
|
|
7661
|
+
"type": {
|
|
7662
|
+
"text": "HTMLFormElement | null"
|
|
7663
|
+
},
|
|
7664
|
+
"privacy": "private",
|
|
7665
|
+
"default": "null",
|
|
7666
|
+
"inheritedFrom": {
|
|
7667
|
+
"name": "InputMixin",
|
|
7668
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
7669
|
+
}
|
|
7670
|
+
},
|
|
7671
|
+
{
|
|
7672
|
+
"kind": "field",
|
|
7673
|
+
"name": "_formId",
|
|
7674
|
+
"type": {
|
|
7675
|
+
"text": "string | undefined"
|
|
7676
|
+
},
|
|
7677
|
+
"privacy": "protected",
|
|
7678
|
+
"inheritedFrom": {
|
|
7679
|
+
"name": "InputMixin",
|
|
7680
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
7681
|
+
}
|
|
7682
|
+
},
|
|
7538
7683
|
{
|
|
7539
7684
|
"kind": "field",
|
|
7540
7685
|
"name": "form",
|
|
7541
|
-
"
|
|
7542
|
-
|
|
7686
|
+
"type": {
|
|
7687
|
+
"text": "HTMLFormElement | null"
|
|
7688
|
+
},
|
|
7689
|
+
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
7690
|
+
"attribute": "form",
|
|
7543
7691
|
"inheritedFrom": {
|
|
7544
7692
|
"name": "InputMixin",
|
|
7545
7693
|
"module": "src/common/mixins/InputMixin.ts"
|
|
@@ -7787,6 +7935,18 @@
|
|
|
7787
7935
|
"name": "InputMixin",
|
|
7788
7936
|
"module": "src/common/mixins/InputMixin.ts"
|
|
7789
7937
|
}
|
|
7938
|
+
},
|
|
7939
|
+
{
|
|
7940
|
+
"name": "form",
|
|
7941
|
+
"type": {
|
|
7942
|
+
"text": "HTMLFormElement | null"
|
|
7943
|
+
},
|
|
7944
|
+
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
7945
|
+
"fieldName": "form",
|
|
7946
|
+
"inheritedFrom": {
|
|
7947
|
+
"name": "InputMixin",
|
|
7948
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
7949
|
+
}
|
|
7790
7950
|
}
|
|
7791
7951
|
],
|
|
7792
7952
|
"mixins": [
|
|
@@ -10001,7 +10161,7 @@
|
|
|
10001
10161
|
"kind": "field",
|
|
10002
10162
|
"name": "targetElement",
|
|
10003
10163
|
"type": {
|
|
10004
|
-
"text": "HTMLElement"
|
|
10164
|
+
"text": "HTMLElement | undefined"
|
|
10005
10165
|
},
|
|
10006
10166
|
"privacy": "private"
|
|
10007
10167
|
},
|
|
@@ -10009,7 +10169,7 @@
|
|
|
10009
10169
|
"kind": "field",
|
|
10010
10170
|
"name": "anchorElement",
|
|
10011
10171
|
"type": {
|
|
10012
|
-
"text": "HTMLElement"
|
|
10172
|
+
"text": "HTMLElement | undefined"
|
|
10013
10173
|
},
|
|
10014
10174
|
"privacy": "private"
|
|
10015
10175
|
},
|
|
@@ -10781,7 +10941,7 @@
|
|
|
10781
10941
|
"kind": "field",
|
|
10782
10942
|
"name": "inputSlot",
|
|
10783
10943
|
"privacy": "protected",
|
|
10784
|
-
"default": "new LightDomController(this, {\n render: () =>\n html`\n <input\n slot=\"input\"\n @blur=${this.handleBlur}\n @focus=${this.handleFocus}\n ${ref(this.focusableRef)}\n class=\"n-input\"\n id=${this.inputId}\n type=\"radio\"\n name=${cond(this.name)}\n .value=${cond(this.value)}\n .checked=${this.checked}\n ?disabled=${this.disabled}\n ?required=${this.required}\n aria-describedby=${cond(this.getDescribedBy())}\n aria-invalid=${cond(this.getInvalid())}\n form=${cond(this.
|
|
10944
|
+
"default": "new LightDomController(this, {\n render: () =>\n html`\n <input\n slot=\"input\"\n @blur=${this.handleBlur}\n @focus=${this.handleFocus}\n ${ref(this.focusableRef)}\n class=\"n-input\"\n id=${this.inputId}\n type=\"radio\"\n name=${cond(this.name)}\n .value=${cond(this.value)}\n .checked=${this.checked}\n ?disabled=${this.disabled}\n ?required=${this.required}\n aria-describedby=${cond(this.getDescribedBy())}\n aria-invalid=${cond(this.getInvalid())}\n form=${cond(this._formId)}\n />\n `,\n })"
|
|
10785
10945
|
},
|
|
10786
10946
|
{
|
|
10787
10947
|
"kind": "field",
|
|
@@ -11083,11 +11243,39 @@
|
|
|
11083
11243
|
"module": "src/common/mixins/InputMixin.ts"
|
|
11084
11244
|
}
|
|
11085
11245
|
},
|
|
11246
|
+
{
|
|
11247
|
+
"kind": "field",
|
|
11248
|
+
"name": "formAncestor",
|
|
11249
|
+
"type": {
|
|
11250
|
+
"text": "HTMLFormElement | null"
|
|
11251
|
+
},
|
|
11252
|
+
"privacy": "private",
|
|
11253
|
+
"default": "null",
|
|
11254
|
+
"inheritedFrom": {
|
|
11255
|
+
"name": "InputMixin",
|
|
11256
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
11257
|
+
}
|
|
11258
|
+
},
|
|
11259
|
+
{
|
|
11260
|
+
"kind": "field",
|
|
11261
|
+
"name": "_formId",
|
|
11262
|
+
"type": {
|
|
11263
|
+
"text": "string | undefined"
|
|
11264
|
+
},
|
|
11265
|
+
"privacy": "protected",
|
|
11266
|
+
"inheritedFrom": {
|
|
11267
|
+
"name": "InputMixin",
|
|
11268
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
11269
|
+
}
|
|
11270
|
+
},
|
|
11086
11271
|
{
|
|
11087
11272
|
"kind": "field",
|
|
11088
11273
|
"name": "form",
|
|
11089
|
-
"
|
|
11090
|
-
|
|
11274
|
+
"type": {
|
|
11275
|
+
"text": "HTMLFormElement | null"
|
|
11276
|
+
},
|
|
11277
|
+
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
11278
|
+
"attribute": "form",
|
|
11091
11279
|
"inheritedFrom": {
|
|
11092
11280
|
"name": "InputMixin",
|
|
11093
11281
|
"module": "src/common/mixins/InputMixin.ts"
|
|
@@ -11275,6 +11463,18 @@
|
|
|
11275
11463
|
"name": "InputMixin",
|
|
11276
11464
|
"module": "src/common/mixins/InputMixin.ts"
|
|
11277
11465
|
}
|
|
11466
|
+
},
|
|
11467
|
+
{
|
|
11468
|
+
"name": "form",
|
|
11469
|
+
"type": {
|
|
11470
|
+
"text": "HTMLFormElement | null"
|
|
11471
|
+
},
|
|
11472
|
+
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
11473
|
+
"fieldName": "form",
|
|
11474
|
+
"inheritedFrom": {
|
|
11475
|
+
"name": "InputMixin",
|
|
11476
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
11477
|
+
}
|
|
11278
11478
|
}
|
|
11279
11479
|
],
|
|
11280
11480
|
"mixins": [
|
|
@@ -11794,11 +11994,39 @@
|
|
|
11794
11994
|
"module": "src/common/mixins/InputMixin.ts"
|
|
11795
11995
|
}
|
|
11796
11996
|
},
|
|
11997
|
+
{
|
|
11998
|
+
"kind": "field",
|
|
11999
|
+
"name": "formAncestor",
|
|
12000
|
+
"type": {
|
|
12001
|
+
"text": "HTMLFormElement | null"
|
|
12002
|
+
},
|
|
12003
|
+
"privacy": "private",
|
|
12004
|
+
"default": "null",
|
|
12005
|
+
"inheritedFrom": {
|
|
12006
|
+
"name": "InputMixin",
|
|
12007
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
12008
|
+
}
|
|
12009
|
+
},
|
|
12010
|
+
{
|
|
12011
|
+
"kind": "field",
|
|
12012
|
+
"name": "_formId",
|
|
12013
|
+
"type": {
|
|
12014
|
+
"text": "string | undefined"
|
|
12015
|
+
},
|
|
12016
|
+
"privacy": "protected",
|
|
12017
|
+
"inheritedFrom": {
|
|
12018
|
+
"name": "InputMixin",
|
|
12019
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
12020
|
+
}
|
|
12021
|
+
},
|
|
11797
12022
|
{
|
|
11798
12023
|
"kind": "field",
|
|
11799
12024
|
"name": "form",
|
|
11800
|
-
"
|
|
11801
|
-
|
|
12025
|
+
"type": {
|
|
12026
|
+
"text": "HTMLFormElement | null"
|
|
12027
|
+
},
|
|
12028
|
+
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
12029
|
+
"attribute": "form",
|
|
11802
12030
|
"inheritedFrom": {
|
|
11803
12031
|
"name": "InputMixin",
|
|
11804
12032
|
"module": "src/common/mixins/InputMixin.ts"
|
|
@@ -12063,6 +12291,18 @@
|
|
|
12063
12291
|
"name": "InputMixin",
|
|
12064
12292
|
"module": "src/common/mixins/InputMixin.ts"
|
|
12065
12293
|
}
|
|
12294
|
+
},
|
|
12295
|
+
{
|
|
12296
|
+
"name": "form",
|
|
12297
|
+
"type": {
|
|
12298
|
+
"text": "HTMLFormElement | null"
|
|
12299
|
+
},
|
|
12300
|
+
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
12301
|
+
"fieldName": "form",
|
|
12302
|
+
"inheritedFrom": {
|
|
12303
|
+
"name": "InputMixin",
|
|
12304
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
12305
|
+
}
|
|
12066
12306
|
}
|
|
12067
12307
|
],
|
|
12068
12308
|
"mixins": [
|
|
@@ -12566,11 +12806,39 @@
|
|
|
12566
12806
|
"module": "src/common/mixins/InputMixin.ts"
|
|
12567
12807
|
}
|
|
12568
12808
|
},
|
|
12809
|
+
{
|
|
12810
|
+
"kind": "field",
|
|
12811
|
+
"name": "formAncestor",
|
|
12812
|
+
"type": {
|
|
12813
|
+
"text": "HTMLFormElement | null"
|
|
12814
|
+
},
|
|
12815
|
+
"privacy": "private",
|
|
12816
|
+
"default": "null",
|
|
12817
|
+
"inheritedFrom": {
|
|
12818
|
+
"name": "InputMixin",
|
|
12819
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
12820
|
+
}
|
|
12821
|
+
},
|
|
12822
|
+
{
|
|
12823
|
+
"kind": "field",
|
|
12824
|
+
"name": "_formId",
|
|
12825
|
+
"type": {
|
|
12826
|
+
"text": "string | undefined"
|
|
12827
|
+
},
|
|
12828
|
+
"privacy": "protected",
|
|
12829
|
+
"inheritedFrom": {
|
|
12830
|
+
"name": "InputMixin",
|
|
12831
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
12832
|
+
}
|
|
12833
|
+
},
|
|
12569
12834
|
{
|
|
12570
12835
|
"kind": "field",
|
|
12571
12836
|
"name": "form",
|
|
12572
|
-
"
|
|
12573
|
-
|
|
12837
|
+
"type": {
|
|
12838
|
+
"text": "HTMLFormElement | null"
|
|
12839
|
+
},
|
|
12840
|
+
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
12841
|
+
"attribute": "form",
|
|
12574
12842
|
"inheritedFrom": {
|
|
12575
12843
|
"name": "InputMixin",
|
|
12576
12844
|
"module": "src/common/mixins/InputMixin.ts"
|
|
@@ -12784,6 +13052,18 @@
|
|
|
12784
13052
|
"name": "InputMixin",
|
|
12785
13053
|
"module": "src/common/mixins/InputMixin.ts"
|
|
12786
13054
|
}
|
|
13055
|
+
},
|
|
13056
|
+
{
|
|
13057
|
+
"name": "form",
|
|
13058
|
+
"type": {
|
|
13059
|
+
"text": "HTMLFormElement | null"
|
|
13060
|
+
},
|
|
13061
|
+
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
13062
|
+
"fieldName": "form",
|
|
13063
|
+
"inheritedFrom": {
|
|
13064
|
+
"name": "InputMixin",
|
|
13065
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
13066
|
+
}
|
|
12787
13067
|
}
|
|
12788
13068
|
],
|
|
12789
13069
|
"mixins": [
|
|
@@ -13043,8 +13323,103 @@
|
|
|
13043
13323
|
"kind": "custom-element-definition",
|
|
13044
13324
|
"name": "nord-spinner",
|
|
13045
13325
|
"declaration": {
|
|
13046
|
-
"name": "Spinner",
|
|
13047
|
-
"module": "src/spinner/Spinner.ts"
|
|
13326
|
+
"name": "Spinner",
|
|
13327
|
+
"module": "src/spinner/Spinner.ts"
|
|
13328
|
+
}
|
|
13329
|
+
}
|
|
13330
|
+
]
|
|
13331
|
+
},
|
|
13332
|
+
{
|
|
13333
|
+
"kind": "javascript-module",
|
|
13334
|
+
"path": "src/tab/Tab.ts",
|
|
13335
|
+
"declarations": [
|
|
13336
|
+
{
|
|
13337
|
+
"kind": "class",
|
|
13338
|
+
"description": "The interactive tab button for use within the tab group component.",
|
|
13339
|
+
"name": "Tab",
|
|
13340
|
+
"cssProperties": [
|
|
13341
|
+
{
|
|
13342
|
+
"description": "Controls the text color of the tab, using our [color tokens](/tokens/#color).",
|
|
13343
|
+
"name": "--n-tab-color",
|
|
13344
|
+
"default": "var(--n-color-text-weak)"
|
|
13345
|
+
},
|
|
13346
|
+
{
|
|
13347
|
+
"description": "Controls the font weight of the tab, using our [font tokens](/tokens/#font).",
|
|
13348
|
+
"name": "--n-tab-font-weight",
|
|
13349
|
+
"default": "var(--n-font-weight)"
|
|
13350
|
+
}
|
|
13351
|
+
],
|
|
13352
|
+
"slots": [
|
|
13353
|
+
{
|
|
13354
|
+
"description": "The tab button content.",
|
|
13355
|
+
"name": ""
|
|
13356
|
+
}
|
|
13357
|
+
],
|
|
13358
|
+
"members": [
|
|
13359
|
+
{
|
|
13360
|
+
"kind": "field",
|
|
13361
|
+
"name": "defaultSlot",
|
|
13362
|
+
"privacy": "private",
|
|
13363
|
+
"default": "new SlotController(this)"
|
|
13364
|
+
},
|
|
13365
|
+
{
|
|
13366
|
+
"kind": "field",
|
|
13367
|
+
"name": "selected",
|
|
13368
|
+
"type": {
|
|
13369
|
+
"text": "boolean"
|
|
13370
|
+
},
|
|
13371
|
+
"default": "false",
|
|
13372
|
+
"description": "Whether the tab item is selected",
|
|
13373
|
+
"attribute": "selected",
|
|
13374
|
+
"reflects": true
|
|
13375
|
+
},
|
|
13376
|
+
{
|
|
13377
|
+
"kind": "method",
|
|
13378
|
+
"name": "handleSelectionChange",
|
|
13379
|
+
"privacy": "protected",
|
|
13380
|
+
"description": "Apply accessible attributes and values to the tab button.\nObserve the selected property if it changes"
|
|
13381
|
+
}
|
|
13382
|
+
],
|
|
13383
|
+
"attributes": [
|
|
13384
|
+
{
|
|
13385
|
+
"name": "selected",
|
|
13386
|
+
"type": {
|
|
13387
|
+
"text": "boolean"
|
|
13388
|
+
},
|
|
13389
|
+
"default": "false",
|
|
13390
|
+
"description": "Whether the tab item is selected",
|
|
13391
|
+
"fieldName": "selected"
|
|
13392
|
+
}
|
|
13393
|
+
],
|
|
13394
|
+
"superclass": {
|
|
13395
|
+
"name": "LitElement",
|
|
13396
|
+
"package": "lit"
|
|
13397
|
+
},
|
|
13398
|
+
"localization": [],
|
|
13399
|
+
"status": "ready",
|
|
13400
|
+
"category": "navigation",
|
|
13401
|
+
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use the tab component within the tab group component.\n- Use the `selected` option to signify if the tab is selected.\n- Use text, icons and other non-interactive content within the tab.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don’t use tabs to navigate to other pages. Use navigation or links instead.\n- Don't use the tab component outside of the tab group component.\n- Don't add interactive elements, such as buttons and links, inside the tab component.\n\n</div>\n\n---\n\n## Content guidelines\n\nWhen writing tab labels, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">My tasks</div>\n<div class=\"n-usage n-usage-dont\">My Tasks</div>\n\nAvoid unnecessary words and articles in tab labels, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Dashboard</div>\n<div class=\"n-usage n-usage-dont\">The dashboard</div>\n\nAvoid ending tab labels in punctuation:\n\n<div class=\"n-usage n-usage-do\">Patients</div>\n<div class=\"n-usage n-usage-dont\">Patients.</div>\n\nUse as few words as possible to describe each tab label:\n\n<div class=\"n-usage n-usage-do\">Payments</div>\n<div class=\"n-usage n-usage-dont\">Payments in your clinic</div>\n\nAvoid all caps for tab labels:\n\n<div class=\"n-usage n-usage-do\">Dashboard</div>\n<div class=\"n-usage n-usage-dont\">DASHBOARD</div>\n\n---\n\n## Additional considerations\n\n- If the content contained within the tabs UI has significance or is important for the user to see, consider using a different form of presentation that doesn't obscure it.\n- If there is a particular section you wish to show out of order of the tabs UI itself consider using the `selected` option to select the tab but prevent the order of the tabs being affected.\n",
|
|
13402
|
+
"examples": [],
|
|
13403
|
+
"dependencies": [],
|
|
13404
|
+
"tagName": "nord-tab",
|
|
13405
|
+
"customElement": true
|
|
13406
|
+
}
|
|
13407
|
+
],
|
|
13408
|
+
"exports": [
|
|
13409
|
+
{
|
|
13410
|
+
"kind": "js",
|
|
13411
|
+
"name": "default",
|
|
13412
|
+
"declaration": {
|
|
13413
|
+
"name": "Tab",
|
|
13414
|
+
"module": "src/tab/Tab.ts"
|
|
13415
|
+
}
|
|
13416
|
+
},
|
|
13417
|
+
{
|
|
13418
|
+
"kind": "custom-element-definition",
|
|
13419
|
+
"name": "nord-tab",
|
|
13420
|
+
"declaration": {
|
|
13421
|
+
"name": "Tab",
|
|
13422
|
+
"module": "src/tab/Tab.ts"
|
|
13048
13423
|
}
|
|
13049
13424
|
}
|
|
13050
13425
|
]
|
|
@@ -13207,66 +13582,19 @@
|
|
|
13207
13582
|
},
|
|
13208
13583
|
{
|
|
13209
13584
|
"kind": "javascript-module",
|
|
13210
|
-
"path": "src/tab/
|
|
13585
|
+
"path": "src/tab-panel/TabPanel.ts",
|
|
13211
13586
|
"declarations": [
|
|
13212
13587
|
{
|
|
13213
13588
|
"kind": "class",
|
|
13214
|
-
"description": "The
|
|
13215
|
-
"name": "
|
|
13216
|
-
"cssProperties": [
|
|
13217
|
-
{
|
|
13218
|
-
"description": "Controls the text color of the tab, using our [color tokens](/tokens/#color).",
|
|
13219
|
-
"name": "--n-tab-color",
|
|
13220
|
-
"default": "var(--n-color-text-weak)"
|
|
13221
|
-
},
|
|
13222
|
-
{
|
|
13223
|
-
"description": "Controls the font weight of the tab, using our [font tokens](/tokens/#font).",
|
|
13224
|
-
"name": "--n-tab-font-weight",
|
|
13225
|
-
"default": "var(--n-font-weight)"
|
|
13226
|
-
}
|
|
13227
|
-
],
|
|
13589
|
+
"description": "The panel which contains content that can be revealed using a tab\nin the tab group component.",
|
|
13590
|
+
"name": "TabPanel",
|
|
13228
13591
|
"slots": [
|
|
13229
13592
|
{
|
|
13230
|
-
"description": "The tab
|
|
13593
|
+
"description": "The tab panel content.",
|
|
13231
13594
|
"name": ""
|
|
13232
13595
|
}
|
|
13233
13596
|
],
|
|
13234
|
-
"members": [
|
|
13235
|
-
{
|
|
13236
|
-
"kind": "field",
|
|
13237
|
-
"name": "defaultSlot",
|
|
13238
|
-
"privacy": "private",
|
|
13239
|
-
"default": "new SlotController(this)"
|
|
13240
|
-
},
|
|
13241
|
-
{
|
|
13242
|
-
"kind": "field",
|
|
13243
|
-
"name": "selected",
|
|
13244
|
-
"type": {
|
|
13245
|
-
"text": "boolean"
|
|
13246
|
-
},
|
|
13247
|
-
"default": "false",
|
|
13248
|
-
"description": "Whether the tab item is selected",
|
|
13249
|
-
"attribute": "selected",
|
|
13250
|
-
"reflects": true
|
|
13251
|
-
},
|
|
13252
|
-
{
|
|
13253
|
-
"kind": "method",
|
|
13254
|
-
"name": "handleSelectionChange",
|
|
13255
|
-
"privacy": "protected",
|
|
13256
|
-
"description": "Apply accessible attributes and values to the tab button.\nObserve the selected property if it changes"
|
|
13257
|
-
}
|
|
13258
|
-
],
|
|
13259
|
-
"attributes": [
|
|
13260
|
-
{
|
|
13261
|
-
"name": "selected",
|
|
13262
|
-
"type": {
|
|
13263
|
-
"text": "boolean"
|
|
13264
|
-
},
|
|
13265
|
-
"default": "false",
|
|
13266
|
-
"description": "Whether the tab item is selected",
|
|
13267
|
-
"fieldName": "selected"
|
|
13268
|
-
}
|
|
13269
|
-
],
|
|
13597
|
+
"members": [],
|
|
13270
13598
|
"superclass": {
|
|
13271
13599
|
"name": "LitElement",
|
|
13272
13600
|
"package": "lit"
|
|
@@ -13274,10 +13602,10 @@
|
|
|
13274
13602
|
"localization": [],
|
|
13275
13603
|
"status": "ready",
|
|
13276
13604
|
"category": "navigation",
|
|
13277
|
-
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use the tab component within the tab group component.\n- Use
|
|
13605
|
+
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use the tab panel component within the tab group component.\n- Use both non-interactive and interactive elements within the contents of the tab panel.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don't use the tab panel component outside of the tab group component.\n- Don't obscure important information within a tab panel that isn't revealed by default.\n\n</div>\n\n---\n\n## Content guidelines\n\nWhen writing tab labels, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">My tasks</div>\n<div class=\"n-usage n-usage-dont\">My Tasks</div>\n\nAvoid unnecessary words and articles in tab labels, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Dashboard</div>\n<div class=\"n-usage n-usage-dont\">The dashboard</div>\n\nAvoid ending tab labels in punctuation:\n\n<div class=\"n-usage n-usage-do\">Patients</div>\n<div class=\"n-usage n-usage-dont\">Patients.</div>\n\nUse as few words as possible to describe each tab label:\n\n<div class=\"n-usage n-usage-do\">Payments</div>\n<div class=\"n-usage n-usage-dont\">Payments in your clinic</div>\n\nAvoid all caps for tab labels:\n\n<div class=\"n-usage n-usage-do\">Dashboard</div>\n<div class=\"n-usage n-usage-dont\">DASHBOARD</div>\n\n---\n\n## Additional considerations\n\n- If the content contained within the tabs UI has significance or is important for the user to see, consider using a different form of presentation that doesn't obscure it.\n- If there is a particular tab panel you wish to show out of order of the tabs UI itself consider using the `selected` option on the related tab component to select the tab but prevent the order of the tabs being affected.\n",
|
|
13278
13606
|
"examples": [],
|
|
13279
13607
|
"dependencies": [],
|
|
13280
|
-
"tagName": "nord-tab",
|
|
13608
|
+
"tagName": "nord-tab-panel",
|
|
13281
13609
|
"customElement": true
|
|
13282
13610
|
}
|
|
13283
13611
|
],
|
|
@@ -13286,16 +13614,16 @@
|
|
|
13286
13614
|
"kind": "js",
|
|
13287
13615
|
"name": "default",
|
|
13288
13616
|
"declaration": {
|
|
13289
|
-
"name": "
|
|
13290
|
-
"module": "src/tab/
|
|
13617
|
+
"name": "TabPanel",
|
|
13618
|
+
"module": "src/tab-panel/TabPanel.ts"
|
|
13291
13619
|
}
|
|
13292
13620
|
},
|
|
13293
13621
|
{
|
|
13294
13622
|
"kind": "custom-element-definition",
|
|
13295
|
-
"name": "nord-tab",
|
|
13623
|
+
"name": "nord-tab-panel",
|
|
13296
13624
|
"declaration": {
|
|
13297
|
-
"name": "
|
|
13298
|
-
"module": "src/tab/
|
|
13625
|
+
"name": "TabPanel",
|
|
13626
|
+
"module": "src/tab-panel/TabPanel.ts"
|
|
13299
13627
|
}
|
|
13300
13628
|
}
|
|
13301
13629
|
]
|
|
@@ -13546,54 +13874,6 @@
|
|
|
13546
13874
|
}
|
|
13547
13875
|
]
|
|
13548
13876
|
},
|
|
13549
|
-
{
|
|
13550
|
-
"kind": "javascript-module",
|
|
13551
|
-
"path": "src/tab-panel/TabPanel.ts",
|
|
13552
|
-
"declarations": [
|
|
13553
|
-
{
|
|
13554
|
-
"kind": "class",
|
|
13555
|
-
"description": "The panel which contains content that can be revealed using a tab\nin the tab group component.",
|
|
13556
|
-
"name": "TabPanel",
|
|
13557
|
-
"slots": [
|
|
13558
|
-
{
|
|
13559
|
-
"description": "The tab panel content.",
|
|
13560
|
-
"name": ""
|
|
13561
|
-
}
|
|
13562
|
-
],
|
|
13563
|
-
"members": [],
|
|
13564
|
-
"superclass": {
|
|
13565
|
-
"name": "LitElement",
|
|
13566
|
-
"package": "lit"
|
|
13567
|
-
},
|
|
13568
|
-
"localization": [],
|
|
13569
|
-
"status": "ready",
|
|
13570
|
-
"category": "navigation",
|
|
13571
|
-
"readme": "## Usage\n\nThis section includes guidelines for designers and developers about the usage of this component in different contexts.\n\n<div class=\"n-usage n-usage-do\">\n\n### Do\n\n- Use the tab panel component within the tab group component.\n- Use both non-interactive and interactive elements within the contents of the tab panel.\n\n</div>\n<div class=\"n-usage n-usage-dont\">\n\n### Don’t\n\n- Don't use the tab panel component outside of the tab group component.\n- Don't obscure important information within a tab panel that isn't revealed by default.\n\n</div>\n\n---\n\n## Content guidelines\n\nWhen writing tab labels, always write them in sentence case, not title case. The first word should be capitalized and the rest lowercase (unless a proper noun):\n\n<div class=\"n-usage n-usage-do\">My tasks</div>\n<div class=\"n-usage n-usage-dont\">My Tasks</div>\n\nAvoid unnecessary words and articles in tab labels, such as “the”, “an” or “a”:\n\n<div class=\"n-usage n-usage-do\">Dashboard</div>\n<div class=\"n-usage n-usage-dont\">The dashboard</div>\n\nAvoid ending tab labels in punctuation:\n\n<div class=\"n-usage n-usage-do\">Patients</div>\n<div class=\"n-usage n-usage-dont\">Patients.</div>\n\nUse as few words as possible to describe each tab label:\n\n<div class=\"n-usage n-usage-do\">Payments</div>\n<div class=\"n-usage n-usage-dont\">Payments in your clinic</div>\n\nAvoid all caps for tab labels:\n\n<div class=\"n-usage n-usage-do\">Dashboard</div>\n<div class=\"n-usage n-usage-dont\">DASHBOARD</div>\n\n---\n\n## Additional considerations\n\n- If the content contained within the tabs UI has significance or is important for the user to see, consider using a different form of presentation that doesn't obscure it.\n- If there is a particular tab panel you wish to show out of order of the tabs UI itself consider using the `selected` option on the related tab component to select the tab but prevent the order of the tabs being affected.\n",
|
|
13572
|
-
"examples": [],
|
|
13573
|
-
"dependencies": [],
|
|
13574
|
-
"tagName": "nord-tab-panel",
|
|
13575
|
-
"customElement": true
|
|
13576
|
-
}
|
|
13577
|
-
],
|
|
13578
|
-
"exports": [
|
|
13579
|
-
{
|
|
13580
|
-
"kind": "js",
|
|
13581
|
-
"name": "default",
|
|
13582
|
-
"declaration": {
|
|
13583
|
-
"name": "TabPanel",
|
|
13584
|
-
"module": "src/tab-panel/TabPanel.ts"
|
|
13585
|
-
}
|
|
13586
|
-
},
|
|
13587
|
-
{
|
|
13588
|
-
"kind": "custom-element-definition",
|
|
13589
|
-
"name": "nord-tab-panel",
|
|
13590
|
-
"declaration": {
|
|
13591
|
-
"name": "TabPanel",
|
|
13592
|
-
"module": "src/tab-panel/TabPanel.ts"
|
|
13593
|
-
}
|
|
13594
|
-
}
|
|
13595
|
-
]
|
|
13596
|
-
},
|
|
13597
13877
|
{
|
|
13598
13878
|
"kind": "javascript-module",
|
|
13599
13879
|
"path": "src/table/Table.ts",
|
|
@@ -14240,11 +14520,39 @@
|
|
|
14240
14520
|
"module": "src/common/mixins/InputMixin.ts"
|
|
14241
14521
|
}
|
|
14242
14522
|
},
|
|
14523
|
+
{
|
|
14524
|
+
"kind": "field",
|
|
14525
|
+
"name": "formAncestor",
|
|
14526
|
+
"type": {
|
|
14527
|
+
"text": "HTMLFormElement | null"
|
|
14528
|
+
},
|
|
14529
|
+
"privacy": "private",
|
|
14530
|
+
"default": "null",
|
|
14531
|
+
"inheritedFrom": {
|
|
14532
|
+
"name": "InputMixin",
|
|
14533
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
14534
|
+
}
|
|
14535
|
+
},
|
|
14536
|
+
{
|
|
14537
|
+
"kind": "field",
|
|
14538
|
+
"name": "_formId",
|
|
14539
|
+
"type": {
|
|
14540
|
+
"text": "string | undefined"
|
|
14541
|
+
},
|
|
14542
|
+
"privacy": "protected",
|
|
14543
|
+
"inheritedFrom": {
|
|
14544
|
+
"name": "InputMixin",
|
|
14545
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
14546
|
+
}
|
|
14547
|
+
},
|
|
14243
14548
|
{
|
|
14244
14549
|
"kind": "field",
|
|
14245
14550
|
"name": "form",
|
|
14246
|
-
"
|
|
14247
|
-
|
|
14551
|
+
"type": {
|
|
14552
|
+
"text": "HTMLFormElement | null"
|
|
14553
|
+
},
|
|
14554
|
+
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
14555
|
+
"attribute": "form",
|
|
14248
14556
|
"inheritedFrom": {
|
|
14249
14557
|
"name": "InputMixin",
|
|
14250
14558
|
"module": "src/common/mixins/InputMixin.ts"
|
|
@@ -14497,6 +14805,18 @@
|
|
|
14497
14805
|
"name": "InputMixin",
|
|
14498
14806
|
"module": "src/common/mixins/InputMixin.ts"
|
|
14499
14807
|
}
|
|
14808
|
+
},
|
|
14809
|
+
{
|
|
14810
|
+
"name": "form",
|
|
14811
|
+
"type": {
|
|
14812
|
+
"text": "HTMLFormElement | null"
|
|
14813
|
+
},
|
|
14814
|
+
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
14815
|
+
"fieldName": "form",
|
|
14816
|
+
"inheritedFrom": {
|
|
14817
|
+
"name": "InputMixin",
|
|
14818
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
14819
|
+
}
|
|
14500
14820
|
}
|
|
14501
14821
|
],
|
|
14502
14822
|
"mixins": [
|
|
@@ -15228,11 +15548,39 @@
|
|
|
15228
15548
|
"module": "src/common/mixins/InputMixin.ts"
|
|
15229
15549
|
}
|
|
15230
15550
|
},
|
|
15551
|
+
{
|
|
15552
|
+
"kind": "field",
|
|
15553
|
+
"name": "formAncestor",
|
|
15554
|
+
"type": {
|
|
15555
|
+
"text": "HTMLFormElement | null"
|
|
15556
|
+
},
|
|
15557
|
+
"privacy": "private",
|
|
15558
|
+
"default": "null",
|
|
15559
|
+
"inheritedFrom": {
|
|
15560
|
+
"name": "InputMixin",
|
|
15561
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
15562
|
+
}
|
|
15563
|
+
},
|
|
15564
|
+
{
|
|
15565
|
+
"kind": "field",
|
|
15566
|
+
"name": "_formId",
|
|
15567
|
+
"type": {
|
|
15568
|
+
"text": "string | undefined"
|
|
15569
|
+
},
|
|
15570
|
+
"privacy": "protected",
|
|
15571
|
+
"inheritedFrom": {
|
|
15572
|
+
"name": "InputMixin",
|
|
15573
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
15574
|
+
}
|
|
15575
|
+
},
|
|
15231
15576
|
{
|
|
15232
15577
|
"kind": "field",
|
|
15233
15578
|
"name": "form",
|
|
15234
|
-
"
|
|
15235
|
-
|
|
15579
|
+
"type": {
|
|
15580
|
+
"text": "HTMLFormElement | null"
|
|
15581
|
+
},
|
|
15582
|
+
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
15583
|
+
"attribute": "form",
|
|
15236
15584
|
"inheritedFrom": {
|
|
15237
15585
|
"name": "InputMixin",
|
|
15238
15586
|
"module": "src/common/mixins/InputMixin.ts"
|
|
@@ -15438,6 +15786,18 @@
|
|
|
15438
15786
|
"name": "InputMixin",
|
|
15439
15787
|
"module": "src/common/mixins/InputMixin.ts"
|
|
15440
15788
|
}
|
|
15789
|
+
},
|
|
15790
|
+
{
|
|
15791
|
+
"name": "form",
|
|
15792
|
+
"type": {
|
|
15793
|
+
"text": "HTMLFormElement | null"
|
|
15794
|
+
},
|
|
15795
|
+
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
15796
|
+
"fieldName": "form",
|
|
15797
|
+
"inheritedFrom": {
|
|
15798
|
+
"name": "InputMixin",
|
|
15799
|
+
"module": "src/common/mixins/InputMixin.ts"
|
|
15800
|
+
}
|
|
15441
15801
|
}
|
|
15442
15802
|
],
|
|
15443
15803
|
"mixins": [
|
|
@@ -16332,17 +16692,43 @@
|
|
|
16332
16692
|
"members": [
|
|
16333
16693
|
{
|
|
16334
16694
|
"kind": "field",
|
|
16335
|
-
"name": "
|
|
16695
|
+
"name": "_form",
|
|
16336
16696
|
"type": {
|
|
16337
|
-
"text": "
|
|
16697
|
+
"text": "HTMLFormElement | null"
|
|
16338
16698
|
},
|
|
16339
16699
|
"privacy": "private",
|
|
16340
|
-
"default": "
|
|
16700
|
+
"default": "null"
|
|
16341
16701
|
},
|
|
16342
16702
|
{
|
|
16343
16703
|
"kind": "method",
|
|
16344
16704
|
"name": "hostConnected"
|
|
16345
16705
|
},
|
|
16706
|
+
{
|
|
16707
|
+
"kind": "method",
|
|
16708
|
+
"name": "hostUpdated"
|
|
16709
|
+
},
|
|
16710
|
+
{
|
|
16711
|
+
"kind": "method",
|
|
16712
|
+
"name": "hostDisconnected"
|
|
16713
|
+
},
|
|
16714
|
+
{
|
|
16715
|
+
"kind": "method",
|
|
16716
|
+
"name": "listen",
|
|
16717
|
+
"privacy": "private",
|
|
16718
|
+
"parameters": [
|
|
16719
|
+
{
|
|
16720
|
+
"name": "form",
|
|
16721
|
+
"type": {
|
|
16722
|
+
"text": "HTMLFormElement | null"
|
|
16723
|
+
}
|
|
16724
|
+
}
|
|
16725
|
+
]
|
|
16726
|
+
},
|
|
16727
|
+
{
|
|
16728
|
+
"kind": "method",
|
|
16729
|
+
"name": "cleanup",
|
|
16730
|
+
"privacy": "private"
|
|
16731
|
+
},
|
|
16346
16732
|
{
|
|
16347
16733
|
"kind": "field",
|
|
16348
16734
|
"name": "handleFormData",
|
|
@@ -18466,13 +18852,20 @@
|
|
|
18466
18852
|
"text": "boolean"
|
|
18467
18853
|
}
|
|
18468
18854
|
},
|
|
18855
|
+
{
|
|
18856
|
+
"kind": "field",
|
|
18857
|
+
"name": "_formId",
|
|
18858
|
+
"type": {
|
|
18859
|
+
"text": "string | undefined"
|
|
18860
|
+
},
|
|
18861
|
+
"privacy": "protected"
|
|
18862
|
+
},
|
|
18469
18863
|
{
|
|
18470
18864
|
"kind": "field",
|
|
18471
18865
|
"name": "form",
|
|
18472
18866
|
"type": {
|
|
18473
18867
|
"text": "HTMLFormElement | null"
|
|
18474
|
-
}
|
|
18475
|
-
"readonly": true
|
|
18868
|
+
}
|
|
18476
18869
|
}
|
|
18477
18870
|
]
|
|
18478
18871
|
},
|
|
@@ -18511,11 +18904,31 @@
|
|
|
18511
18904
|
"description": "The value of the form component.",
|
|
18512
18905
|
"attribute": "value"
|
|
18513
18906
|
},
|
|
18907
|
+
{
|
|
18908
|
+
"kind": "field",
|
|
18909
|
+
"name": "formAncestor",
|
|
18910
|
+
"type": {
|
|
18911
|
+
"text": "HTMLFormElement | null"
|
|
18912
|
+
},
|
|
18913
|
+
"privacy": "private",
|
|
18914
|
+
"default": "null"
|
|
18915
|
+
},
|
|
18916
|
+
{
|
|
18917
|
+
"kind": "field",
|
|
18918
|
+
"name": "_formId",
|
|
18919
|
+
"type": {
|
|
18920
|
+
"text": "string | undefined"
|
|
18921
|
+
},
|
|
18922
|
+
"privacy": "protected"
|
|
18923
|
+
},
|
|
18514
18924
|
{
|
|
18515
18925
|
"kind": "field",
|
|
18516
18926
|
"name": "form",
|
|
18517
|
-
"
|
|
18518
|
-
|
|
18927
|
+
"type": {
|
|
18928
|
+
"text": "HTMLFormElement | null"
|
|
18929
|
+
},
|
|
18930
|
+
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
18931
|
+
"attribute": "form"
|
|
18519
18932
|
}
|
|
18520
18933
|
],
|
|
18521
18934
|
"attributes": [
|
|
@@ -18544,6 +18957,14 @@
|
|
|
18544
18957
|
"default": "\"\"",
|
|
18545
18958
|
"description": "The value of the form component.",
|
|
18546
18959
|
"fieldName": "value"
|
|
18960
|
+
},
|
|
18961
|
+
{
|
|
18962
|
+
"name": "form",
|
|
18963
|
+
"type": {
|
|
18964
|
+
"text": "HTMLFormElement | null"
|
|
18965
|
+
},
|
|
18966
|
+
"description": "Gets the form, if any, associated with the form element.\nThe setter accepts a string, which is the id of the form.",
|
|
18967
|
+
"fieldName": "form"
|
|
18547
18968
|
}
|
|
18548
18969
|
],
|
|
18549
18970
|
"parameters": [
|