@momentum-design/components 0.80.2 → 0.80.4
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/dist/browser/index.js +18 -18
- package/dist/browser/index.js.map +2 -2
- package/dist/components/button/button.styles.js +1 -1
- package/dist/components/menupopover/menupopover.component.js +1 -0
- package/dist/custom-elements.json +1206 -1274
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +2 -2
- package/dist/utils/mixins/MenuMixin.js +6 -19
- package/package.json +1 -1
@@ -520,6 +520,67 @@
|
|
520
520
|
}
|
521
521
|
]
|
522
522
|
},
|
523
|
+
{
|
524
|
+
"kind": "javascript-module",
|
525
|
+
"path": "components/appheader/appheader.component.js",
|
526
|
+
"declarations": [
|
527
|
+
{
|
528
|
+
"kind": "class",
|
529
|
+
"description": "The `mdc-appheader` component provides a structured and accessible app header layout.\nIt consists of three primary sections: leading, center, and trailing.\n\n- The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n- The **center section** can contain a **search bar**, **icons** or action controls.\n- The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.",
|
530
|
+
"name": "Appheader",
|
531
|
+
"cssParts": [
|
532
|
+
{
|
533
|
+
"description": "The main container for styling the header.",
|
534
|
+
"name": "container"
|
535
|
+
},
|
536
|
+
{
|
537
|
+
"description": "The leading section of the header.",
|
538
|
+
"name": "leading-section"
|
539
|
+
},
|
540
|
+
{
|
541
|
+
"description": "The center section of the header.",
|
542
|
+
"name": "center-section"
|
543
|
+
},
|
544
|
+
{
|
545
|
+
"description": "The trailing section of the header.",
|
546
|
+
"name": "trailing-section"
|
547
|
+
}
|
548
|
+
],
|
549
|
+
"slots": [
|
550
|
+
{
|
551
|
+
"description": "Slot for the leading section (e.g., brand logo, brand name).",
|
552
|
+
"name": "leading"
|
553
|
+
},
|
554
|
+
{
|
555
|
+
"description": "Slot for the center section (e.g., search bar, icons).",
|
556
|
+
"name": "center"
|
557
|
+
},
|
558
|
+
{
|
559
|
+
"description": "Slot for the trailing section (e.g., profile avatar, icons).",
|
560
|
+
"name": "trailing"
|
561
|
+
}
|
562
|
+
],
|
563
|
+
"members": [],
|
564
|
+
"superclass": {
|
565
|
+
"name": "Component",
|
566
|
+
"module": "/src/models"
|
567
|
+
},
|
568
|
+
"tagName": "mdc-appheader",
|
569
|
+
"jsDoc": "/**\n * The `mdc-appheader` component provides a structured and accessible app header layout.\n * It consists of three primary sections: leading, center, and trailing.\n *\n * - The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n * - The **center section** can contain a **search bar**, **icons** or action controls.\n * - The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.\n *\n * @tagname mdc-appheader\n *\n * @slot leading - Slot for the leading section (e.g., brand logo, brand name).\n * @slot center - Slot for the center section (e.g., search bar, icons).\n * @slot trailing - Slot for the trailing section (e.g., profile avatar, icons).\n *\n * @csspart container - The main container for styling the header.\n * @csspart leading-section - The leading section of the header.\n * @csspart center-section - The center section of the header.\n * @csspart trailing-section - The trailing section of the header.\n */",
|
570
|
+
"customElement": true
|
571
|
+
}
|
572
|
+
],
|
573
|
+
"exports": [
|
574
|
+
{
|
575
|
+
"kind": "js",
|
576
|
+
"name": "default",
|
577
|
+
"declaration": {
|
578
|
+
"name": "Appheader",
|
579
|
+
"module": "components/appheader/appheader.component.js"
|
580
|
+
}
|
581
|
+
}
|
582
|
+
]
|
583
|
+
},
|
523
584
|
{
|
524
585
|
"kind": "javascript-module",
|
525
586
|
"path": "components/animation/animation.component.js",
|
@@ -732,67 +793,6 @@
|
|
732
793
|
}
|
733
794
|
]
|
734
795
|
},
|
735
|
-
{
|
736
|
-
"kind": "javascript-module",
|
737
|
-
"path": "components/appheader/appheader.component.js",
|
738
|
-
"declarations": [
|
739
|
-
{
|
740
|
-
"kind": "class",
|
741
|
-
"description": "The `mdc-appheader` component provides a structured and accessible app header layout.\nIt consists of three primary sections: leading, center, and trailing.\n\n- The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n- The **center section** can contain a **search bar**, **icons** or action controls.\n- The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.",
|
742
|
-
"name": "Appheader",
|
743
|
-
"cssParts": [
|
744
|
-
{
|
745
|
-
"description": "The main container for styling the header.",
|
746
|
-
"name": "container"
|
747
|
-
},
|
748
|
-
{
|
749
|
-
"description": "The leading section of the header.",
|
750
|
-
"name": "leading-section"
|
751
|
-
},
|
752
|
-
{
|
753
|
-
"description": "The center section of the header.",
|
754
|
-
"name": "center-section"
|
755
|
-
},
|
756
|
-
{
|
757
|
-
"description": "The trailing section of the header.",
|
758
|
-
"name": "trailing-section"
|
759
|
-
}
|
760
|
-
],
|
761
|
-
"slots": [
|
762
|
-
{
|
763
|
-
"description": "Slot for the leading section (e.g., brand logo, brand name).",
|
764
|
-
"name": "leading"
|
765
|
-
},
|
766
|
-
{
|
767
|
-
"description": "Slot for the center section (e.g., search bar, icons).",
|
768
|
-
"name": "center"
|
769
|
-
},
|
770
|
-
{
|
771
|
-
"description": "Slot for the trailing section (e.g., profile avatar, icons).",
|
772
|
-
"name": "trailing"
|
773
|
-
}
|
774
|
-
],
|
775
|
-
"members": [],
|
776
|
-
"superclass": {
|
777
|
-
"name": "Component",
|
778
|
-
"module": "/src/models"
|
779
|
-
},
|
780
|
-
"tagName": "mdc-appheader",
|
781
|
-
"jsDoc": "/**\n * The `mdc-appheader` component provides a structured and accessible app header layout.\n * It consists of three primary sections: leading, center, and trailing.\n *\n * - The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n * - The **center section** can contain a **search bar**, **icons** or action controls.\n * - The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.\n *\n * @tagname mdc-appheader\n *\n * @slot leading - Slot for the leading section (e.g., brand logo, brand name).\n * @slot center - Slot for the center section (e.g., search bar, icons).\n * @slot trailing - Slot for the trailing section (e.g., profile avatar, icons).\n *\n * @csspart container - The main container for styling the header.\n * @csspart leading-section - The leading section of the header.\n * @csspart center-section - The center section of the header.\n * @csspart trailing-section - The trailing section of the header.\n */",
|
782
|
-
"customElement": true
|
783
|
-
}
|
784
|
-
],
|
785
|
-
"exports": [
|
786
|
-
{
|
787
|
-
"kind": "js",
|
788
|
-
"name": "default",
|
789
|
-
"declaration": {
|
790
|
-
"name": "Appheader",
|
791
|
-
"module": "components/appheader/appheader.component.js"
|
792
|
-
}
|
793
|
-
}
|
794
|
-
]
|
795
|
-
},
|
796
796
|
{
|
797
797
|
"kind": "javascript-module",
|
798
798
|
"path": "components/avatar/avatar.component.js",
|
@@ -15522,30 +15522,6 @@
|
|
15522
15522
|
"module": "utils/mixins/MenuMixin.js"
|
15523
15523
|
}
|
15524
15524
|
},
|
15525
|
-
{
|
15526
|
-
"kind": "method",
|
15527
|
-
"name": "setFocusToParentMenuItem",
|
15528
|
-
"privacy": "private",
|
15529
|
-
"return": {
|
15530
|
-
"type": {
|
15531
|
-
"text": "void"
|
15532
|
-
}
|
15533
|
-
},
|
15534
|
-
"parameters": [
|
15535
|
-
{
|
15536
|
-
"name": "currentMenuItem",
|
15537
|
-
"type": {
|
15538
|
-
"text": "HTMLElement | null"
|
15539
|
-
},
|
15540
|
-
"description": "The current menu item from which to find and focus the parent menu item."
|
15541
|
-
}
|
15542
|
-
],
|
15543
|
-
"description": "Sets focus to the parent menu item of the given current menu item.\nIt retrieves the parent menu item details and its children, then focuses\non the menu item that matches the parent menu child ID.",
|
15544
|
-
"inheritedFrom": {
|
15545
|
-
"name": "MenuMixin",
|
15546
|
-
"module": "utils/mixins/MenuMixin.js"
|
15547
|
-
}
|
15548
|
-
},
|
15549
15525
|
{
|
15550
15526
|
"kind": "method",
|
15551
15527
|
"name": "openPopoverAndNavigateToNextChildrenMenuItem",
|
@@ -18397,30 +18373,6 @@
|
|
18397
18373
|
"module": "utils/mixins/MenuMixin.js"
|
18398
18374
|
}
|
18399
18375
|
},
|
18400
|
-
{
|
18401
|
-
"kind": "method",
|
18402
|
-
"name": "setFocusToParentMenuItem",
|
18403
|
-
"privacy": "private",
|
18404
|
-
"return": {
|
18405
|
-
"type": {
|
18406
|
-
"text": "void"
|
18407
|
-
}
|
18408
|
-
},
|
18409
|
-
"parameters": [
|
18410
|
-
{
|
18411
|
-
"name": "currentMenuItem",
|
18412
|
-
"type": {
|
18413
|
-
"text": "HTMLElement | null"
|
18414
|
-
},
|
18415
|
-
"description": "The current menu item from which to find and focus the parent menu item."
|
18416
|
-
}
|
18417
|
-
],
|
18418
|
-
"description": "Sets focus to the parent menu item of the given current menu item.\nIt retrieves the parent menu item details and its children, then focuses\non the menu item that matches the parent menu child ID.",
|
18419
|
-
"inheritedFrom": {
|
18420
|
-
"name": "MenuMixin",
|
18421
|
-
"module": "utils/mixins/MenuMixin.js"
|
18422
|
-
}
|
18423
|
-
},
|
18424
18376
|
{
|
18425
18377
|
"kind": "method",
|
18426
18378
|
"name": "openPopoverAndNavigateToNextChildrenMenuItem",
|
@@ -23796,19 +23748,221 @@
|
|
23796
23748
|
},
|
23797
23749
|
{
|
23798
23750
|
"kind": "javascript-module",
|
23799
|
-
"path": "components/
|
23751
|
+
"path": "components/radio/radio.component.js",
|
23800
23752
|
"declarations": [
|
23801
23753
|
{
|
23802
23754
|
"kind": "class",
|
23803
|
-
"description": "
|
23804
|
-
"name": "
|
23755
|
+
"description": "Radio allow users to select single options from a list or turn an item/feature on or off.\nThese are often used in forms, settings, and selection in lists.\n\nA radio component contains an optional label, optional info icon and an optional helper text.",
|
23756
|
+
"name": "Radio",
|
23805
23757
|
"cssProperties": [
|
23806
23758
|
{
|
23807
|
-
"description": "color of the
|
23808
|
-
"name": "--mdc-
|
23759
|
+
"description": "color of the label when disabled",
|
23760
|
+
"name": "--mdc-radio-text-disabled-color"
|
23761
|
+
},
|
23762
|
+
{
|
23763
|
+
"description": "color of the radio button when inactive and hovered",
|
23764
|
+
"name": "--mdc-radio-control-inactive-hover"
|
23765
|
+
},
|
23766
|
+
{
|
23767
|
+
"description": "color of the radio button when inactive and pressed",
|
23768
|
+
"name": "--mdc-radio-control-inactive-pressed-color"
|
23769
|
+
},
|
23770
|
+
{
|
23771
|
+
"description": "color of the radio button when active and hovered",
|
23772
|
+
"name": "--mdc-radio-control-active-hover-color"
|
23773
|
+
},
|
23774
|
+
{
|
23775
|
+
"description": "color of the radio button when active and pressed",
|
23776
|
+
"name": "--mdc-radio-control-active-pressed-color"
|
23777
|
+
},
|
23778
|
+
{
|
23779
|
+
"description": "color of the radio button when disabled",
|
23780
|
+
"name": "--mdc-radio-disabled-border-color"
|
23781
|
+
},
|
23782
|
+
{
|
23783
|
+
"description": "color of the radio button when active and disabled",
|
23784
|
+
"name": "--mdc-radio-control-active-disabled-background"
|
23785
|
+
},
|
23786
|
+
{
|
23787
|
+
"description": "color of the radio button when inactive and disabled",
|
23788
|
+
"name": "--mdc-radio-control-inactive-disabled-background"
|
23809
23789
|
}
|
23810
23790
|
],
|
23811
23791
|
"members": [
|
23792
|
+
{
|
23793
|
+
"kind": "field",
|
23794
|
+
"name": "checked",
|
23795
|
+
"type": {
|
23796
|
+
"text": "boolean"
|
23797
|
+
},
|
23798
|
+
"default": "false",
|
23799
|
+
"description": "Determines whether the radio is selected or unselected.",
|
23800
|
+
"attribute": "checked",
|
23801
|
+
"reflects": true
|
23802
|
+
},
|
23803
|
+
{
|
23804
|
+
"kind": "field",
|
23805
|
+
"name": "readonly",
|
23806
|
+
"type": {
|
23807
|
+
"text": "boolean"
|
23808
|
+
},
|
23809
|
+
"default": "false",
|
23810
|
+
"description": "Determines whether the radio is read-only.",
|
23811
|
+
"attribute": "readonly",
|
23812
|
+
"reflects": true
|
23813
|
+
},
|
23814
|
+
{
|
23815
|
+
"kind": "field",
|
23816
|
+
"name": "autofocus",
|
23817
|
+
"type": {
|
23818
|
+
"text": "boolean"
|
23819
|
+
},
|
23820
|
+
"default": "false",
|
23821
|
+
"description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
|
23822
|
+
"attribute": "autofocus",
|
23823
|
+
"reflects": true
|
23824
|
+
},
|
23825
|
+
{
|
23826
|
+
"kind": "method",
|
23827
|
+
"name": "getAllRadiosWithinSameGroup",
|
23828
|
+
"privacy": "private",
|
23829
|
+
"return": {
|
23830
|
+
"type": {
|
23831
|
+
"text": "Radio[]"
|
23832
|
+
}
|
23833
|
+
},
|
23834
|
+
"description": "Returns all radios within the same group (name)."
|
23835
|
+
},
|
23836
|
+
{
|
23837
|
+
"kind": "method",
|
23838
|
+
"name": "dispatchChangeEvent",
|
23839
|
+
"privacy": "private",
|
23840
|
+
"return": {
|
23841
|
+
"type": {
|
23842
|
+
"text": "void"
|
23843
|
+
}
|
23844
|
+
},
|
23845
|
+
"parameters": [
|
23846
|
+
{
|
23847
|
+
"name": "event",
|
23848
|
+
"type": {
|
23849
|
+
"text": "Event"
|
23850
|
+
}
|
23851
|
+
}
|
23852
|
+
],
|
23853
|
+
"description": "The 'change' event does not bubble up through the shadow DOM as it was not composed.\nTherefore, we need to re-dispatch the same event to ensure it is propagated correctly.\nRead more: https://developer.mozilla.org/en-US/docs/Web/API/Event/composed"
|
23854
|
+
},
|
23855
|
+
{
|
23856
|
+
"kind": "method",
|
23857
|
+
"name": "setGroupValidity",
|
23858
|
+
"privacy": "private",
|
23859
|
+
"parameters": [
|
23860
|
+
{
|
23861
|
+
"name": "radios",
|
23862
|
+
"type": {
|
23863
|
+
"text": "Radio[]"
|
23864
|
+
},
|
23865
|
+
"description": "Array of radios of the same group"
|
23866
|
+
},
|
23867
|
+
{
|
23868
|
+
"name": "isValid",
|
23869
|
+
"type": {
|
23870
|
+
"text": "boolean"
|
23871
|
+
},
|
23872
|
+
"description": "Boolean value to set the validity of the group"
|
23873
|
+
}
|
23874
|
+
],
|
23875
|
+
"description": "Sets the validity of the group of radios."
|
23876
|
+
},
|
23877
|
+
{
|
23878
|
+
"kind": "method",
|
23879
|
+
"name": "setActualFormValue",
|
23880
|
+
"privacy": "private",
|
23881
|
+
"description": "Updates the form value to reflect the current state of the radio.\nIf checked, the value is set to the user-provided value.\nIf unchecked, the value is set to null."
|
23882
|
+
},
|
23883
|
+
{
|
23884
|
+
"kind": "method",
|
23885
|
+
"name": "handleChange",
|
23886
|
+
"privacy": "private",
|
23887
|
+
"return": {
|
23888
|
+
"type": {
|
23889
|
+
"text": "void"
|
23890
|
+
}
|
23891
|
+
},
|
23892
|
+
"parameters": [
|
23893
|
+
{
|
23894
|
+
"name": "event",
|
23895
|
+
"type": {
|
23896
|
+
"text": "Event"
|
23897
|
+
}
|
23898
|
+
}
|
23899
|
+
],
|
23900
|
+
"description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
|
23901
|
+
},
|
23902
|
+
{
|
23903
|
+
"kind": "method",
|
23904
|
+
"name": "updateRadio",
|
23905
|
+
"privacy": "private",
|
23906
|
+
"parameters": [
|
23907
|
+
{
|
23908
|
+
"name": "enabledRadios",
|
23909
|
+
"type": {
|
23910
|
+
"text": "Radio[]"
|
23911
|
+
},
|
23912
|
+
"description": "An array of enabled radio buttons within the same group."
|
23913
|
+
},
|
23914
|
+
{
|
23915
|
+
"name": "index",
|
23916
|
+
"type": {
|
23917
|
+
"text": "number"
|
23918
|
+
},
|
23919
|
+
"description": "The index of the radio button to be updated within the enabled radios array."
|
23920
|
+
},
|
23921
|
+
{
|
23922
|
+
"name": "event",
|
23923
|
+
"type": {
|
23924
|
+
"text": "Event"
|
23925
|
+
},
|
23926
|
+
"description": "The event that triggered the update."
|
23927
|
+
}
|
23928
|
+
],
|
23929
|
+
"description": "Updates the state of the radio button at the specified index within the enabled radios.\nFocuses the radio button and triggers the change event if the radio button is not read-only."
|
23930
|
+
},
|
23931
|
+
{
|
23932
|
+
"kind": "method",
|
23933
|
+
"name": "handleKeyDown",
|
23934
|
+
"privacy": "private",
|
23935
|
+
"return": {
|
23936
|
+
"type": {
|
23937
|
+
"text": "void"
|
23938
|
+
}
|
23939
|
+
},
|
23940
|
+
"parameters": [
|
23941
|
+
{
|
23942
|
+
"name": "event",
|
23943
|
+
"type": {
|
23944
|
+
"text": "KeyboardEvent"
|
23945
|
+
}
|
23946
|
+
}
|
23947
|
+
],
|
23948
|
+
"description": "Handles the keydown event (Arrow Up/Down/Left/Right) on the radio element."
|
23949
|
+
},
|
23950
|
+
{
|
23951
|
+
"kind": "method",
|
23952
|
+
"name": "updateTabIndex",
|
23953
|
+
"privacy": "private",
|
23954
|
+
"return": {
|
23955
|
+
"type": {
|
23956
|
+
"text": "void"
|
23957
|
+
}
|
23958
|
+
},
|
23959
|
+
"description": "Update tab index for all radios in the same group (name)\nIf any radio group is checked, it will have a tab index of 0\nIf no radio group is checked, the first enabled radio will have a tab index of 0"
|
23960
|
+
},
|
23961
|
+
{
|
23962
|
+
"kind": "field",
|
23963
|
+
"name": "renderLabelAndHelperText",
|
23964
|
+
"privacy": "private"
|
23965
|
+
},
|
23812
23966
|
{
|
23813
23967
|
"kind": "field",
|
23814
23968
|
"name": "name",
|
@@ -23816,8 +23970,582 @@
|
|
23816
23970
|
"text": "string"
|
23817
23971
|
},
|
23818
23972
|
"default": "''",
|
23819
|
-
"description": "
|
23820
|
-
"attribute": "name"
|
23973
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
23974
|
+
"attribute": "name",
|
23975
|
+
"reflects": true,
|
23976
|
+
"inheritedFrom": {
|
23977
|
+
"name": "FormInternalsMixin",
|
23978
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
23979
|
+
}
|
23980
|
+
},
|
23981
|
+
{
|
23982
|
+
"kind": "field",
|
23983
|
+
"name": "value",
|
23984
|
+
"type": {
|
23985
|
+
"text": "string"
|
23986
|
+
},
|
23987
|
+
"default": "''",
|
23988
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
23989
|
+
"attribute": "value",
|
23990
|
+
"reflects": true,
|
23991
|
+
"inheritedFrom": {
|
23992
|
+
"name": "FormInternalsMixin",
|
23993
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
23994
|
+
}
|
23995
|
+
},
|
23996
|
+
{
|
23997
|
+
"kind": "field",
|
23998
|
+
"name": "validationMessage",
|
23999
|
+
"type": {
|
24000
|
+
"text": "string | undefined"
|
24001
|
+
},
|
24002
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
24003
|
+
"attribute": "validation-message",
|
24004
|
+
"reflects": true,
|
24005
|
+
"inheritedFrom": {
|
24006
|
+
"name": "FormInternalsMixin",
|
24007
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
24008
|
+
}
|
24009
|
+
},
|
24010
|
+
{
|
24011
|
+
"kind": "field",
|
24012
|
+
"name": "validity",
|
24013
|
+
"type": {
|
24014
|
+
"text": "ValidityState"
|
24015
|
+
},
|
24016
|
+
"readonly": true,
|
24017
|
+
"inheritedFrom": {
|
24018
|
+
"name": "FormInternalsMixin",
|
24019
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
24020
|
+
}
|
24021
|
+
},
|
24022
|
+
{
|
24023
|
+
"kind": "field",
|
24024
|
+
"name": "willValidate",
|
24025
|
+
"readonly": true,
|
24026
|
+
"inheritedFrom": {
|
24027
|
+
"name": "FormInternalsMixin",
|
24028
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
24029
|
+
}
|
24030
|
+
},
|
24031
|
+
{
|
24032
|
+
"kind": "method",
|
24033
|
+
"name": "setValidity",
|
24034
|
+
"description": "Sets the validity of the input field based on the input field's validity.",
|
24035
|
+
"return": {
|
24036
|
+
"type": {
|
24037
|
+
"text": ""
|
24038
|
+
}
|
24039
|
+
},
|
24040
|
+
"inheritedFrom": {
|
24041
|
+
"name": "FormInternalsMixin",
|
24042
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
24043
|
+
}
|
24044
|
+
},
|
24045
|
+
{
|
24046
|
+
"kind": "method",
|
24047
|
+
"name": "checkValidity",
|
24048
|
+
"return": {
|
24049
|
+
"type": {
|
24050
|
+
"text": "boolean"
|
24051
|
+
}
|
24052
|
+
},
|
24053
|
+
"inheritedFrom": {
|
24054
|
+
"name": "FormInternalsMixin",
|
24055
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
24056
|
+
}
|
24057
|
+
},
|
24058
|
+
{
|
24059
|
+
"kind": "method",
|
24060
|
+
"name": "reportValidity",
|
24061
|
+
"inheritedFrom": {
|
24062
|
+
"name": "FormInternalsMixin",
|
24063
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
24064
|
+
}
|
24065
|
+
},
|
24066
|
+
{
|
24067
|
+
"kind": "field",
|
24068
|
+
"name": "dataAriaLabel",
|
24069
|
+
"type": {
|
24070
|
+
"text": "string | null"
|
24071
|
+
},
|
24072
|
+
"default": "null",
|
24073
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
24074
|
+
"attribute": "data-aria-label",
|
24075
|
+
"reflects": true,
|
24076
|
+
"inheritedFrom": {
|
24077
|
+
"name": "DataAriaLabelMixin",
|
24078
|
+
"module": "utils/mixins/DataAriaLabelMixin.js"
|
24079
|
+
}
|
24080
|
+
},
|
24081
|
+
{
|
24082
|
+
"kind": "field",
|
24083
|
+
"name": "disabled",
|
24084
|
+
"type": {
|
24085
|
+
"text": "boolean | undefined"
|
24086
|
+
},
|
24087
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
24088
|
+
"default": "undefined",
|
24089
|
+
"attribute": "disabled",
|
24090
|
+
"reflects": true,
|
24091
|
+
"inheritedFrom": {
|
24092
|
+
"name": "FormfieldWrapper",
|
24093
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
24094
|
+
}
|
24095
|
+
},
|
24096
|
+
{
|
24097
|
+
"kind": "field",
|
24098
|
+
"name": "label",
|
24099
|
+
"type": {
|
24100
|
+
"text": "string | undefined"
|
24101
|
+
},
|
24102
|
+
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
24103
|
+
"attribute": "label",
|
24104
|
+
"reflects": true,
|
24105
|
+
"inheritedFrom": {
|
24106
|
+
"name": "FormfieldWrapper",
|
24107
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
24108
|
+
}
|
24109
|
+
},
|
24110
|
+
{
|
24111
|
+
"kind": "field",
|
24112
|
+
"name": "required",
|
24113
|
+
"type": {
|
24114
|
+
"text": "boolean"
|
24115
|
+
},
|
24116
|
+
"default": "false",
|
24117
|
+
"description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
|
24118
|
+
"attribute": "required",
|
24119
|
+
"reflects": true,
|
24120
|
+
"inheritedFrom": {
|
24121
|
+
"name": "FormfieldWrapper",
|
24122
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
24123
|
+
}
|
24124
|
+
},
|
24125
|
+
{
|
24126
|
+
"kind": "field",
|
24127
|
+
"name": "id",
|
24128
|
+
"type": {
|
24129
|
+
"text": "string"
|
24130
|
+
},
|
24131
|
+
"default": "''",
|
24132
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
24133
|
+
"attribute": "id",
|
24134
|
+
"inheritedFrom": {
|
24135
|
+
"name": "FormfieldWrapper",
|
24136
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
24137
|
+
}
|
24138
|
+
},
|
24139
|
+
{
|
24140
|
+
"kind": "field",
|
24141
|
+
"name": "helpTextType",
|
24142
|
+
"type": {
|
24143
|
+
"text": "ValidationType"
|
24144
|
+
},
|
24145
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
24146
|
+
"attribute": "help-text-type",
|
24147
|
+
"reflects": true,
|
24148
|
+
"inheritedFrom": {
|
24149
|
+
"name": "FormfieldWrapper",
|
24150
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
24151
|
+
}
|
24152
|
+
},
|
24153
|
+
{
|
24154
|
+
"kind": "field",
|
24155
|
+
"name": "helpText",
|
24156
|
+
"type": {
|
24157
|
+
"text": "string | undefined"
|
24158
|
+
},
|
24159
|
+
"description": "The help text that is displayed below the input field.",
|
24160
|
+
"attribute": "help-text",
|
24161
|
+
"reflects": true,
|
24162
|
+
"inheritedFrom": {
|
24163
|
+
"name": "FormfieldWrapper",
|
24164
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
24165
|
+
}
|
24166
|
+
},
|
24167
|
+
{
|
24168
|
+
"kind": "field",
|
24169
|
+
"name": "toggletipText",
|
24170
|
+
"type": {
|
24171
|
+
"text": "string | undefined"
|
24172
|
+
},
|
24173
|
+
"description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
|
24174
|
+
"attribute": "toggletip-text",
|
24175
|
+
"reflects": true,
|
24176
|
+
"inheritedFrom": {
|
24177
|
+
"name": "FormfieldWrapper",
|
24178
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
24179
|
+
}
|
24180
|
+
},
|
24181
|
+
{
|
24182
|
+
"kind": "field",
|
24183
|
+
"name": "toggletipPlacement",
|
24184
|
+
"type": {
|
24185
|
+
"text": "PopoverPlacement"
|
24186
|
+
},
|
24187
|
+
"description": "The placement of the toggletip that is displayed when the info icon is hovered.",
|
24188
|
+
"default": "'top'",
|
24189
|
+
"attribute": "toggletip-placement",
|
24190
|
+
"reflects": true,
|
24191
|
+
"inheritedFrom": {
|
24192
|
+
"name": "FormfieldWrapper",
|
24193
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
24194
|
+
}
|
24195
|
+
},
|
24196
|
+
{
|
24197
|
+
"kind": "field",
|
24198
|
+
"name": "infoIconAriaLabel",
|
24199
|
+
"type": {
|
24200
|
+
"text": "string | undefined"
|
24201
|
+
},
|
24202
|
+
"description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
|
24203
|
+
"attribute": "info-icon-aria-label",
|
24204
|
+
"reflects": true,
|
24205
|
+
"inheritedFrom": {
|
24206
|
+
"name": "FormfieldWrapper",
|
24207
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
24208
|
+
}
|
24209
|
+
},
|
24210
|
+
{
|
24211
|
+
"kind": "method",
|
24212
|
+
"name": "renderLabelElement",
|
24213
|
+
"privacy": "protected",
|
24214
|
+
"description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
|
24215
|
+
"return": {
|
24216
|
+
"type": {
|
24217
|
+
"text": ""
|
24218
|
+
}
|
24219
|
+
},
|
24220
|
+
"inheritedFrom": {
|
24221
|
+
"name": "FormfieldWrapper",
|
24222
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
24223
|
+
}
|
24224
|
+
},
|
24225
|
+
{
|
24226
|
+
"kind": "method",
|
24227
|
+
"name": "renderHelpTextIcon",
|
24228
|
+
"privacy": "protected",
|
24229
|
+
"description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
|
24230
|
+
"return": {
|
24231
|
+
"type": {
|
24232
|
+
"text": ""
|
24233
|
+
}
|
24234
|
+
},
|
24235
|
+
"inheritedFrom": {
|
24236
|
+
"name": "FormfieldWrapper",
|
24237
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
24238
|
+
}
|
24239
|
+
},
|
24240
|
+
{
|
24241
|
+
"kind": "method",
|
24242
|
+
"name": "renderHelpText",
|
24243
|
+
"privacy": "protected",
|
24244
|
+
"description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
|
24245
|
+
"return": {
|
24246
|
+
"type": {
|
24247
|
+
"text": ""
|
24248
|
+
}
|
24249
|
+
},
|
24250
|
+
"inheritedFrom": {
|
24251
|
+
"name": "FormfieldWrapper",
|
24252
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
24253
|
+
}
|
24254
|
+
},
|
24255
|
+
{
|
24256
|
+
"kind": "method",
|
24257
|
+
"name": "renderLabel",
|
24258
|
+
"privacy": "protected",
|
24259
|
+
"description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
|
24260
|
+
"return": {
|
24261
|
+
"type": {
|
24262
|
+
"text": ""
|
24263
|
+
}
|
24264
|
+
},
|
24265
|
+
"inheritedFrom": {
|
24266
|
+
"name": "FormfieldWrapper",
|
24267
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
24268
|
+
}
|
24269
|
+
},
|
24270
|
+
{
|
24271
|
+
"kind": "method",
|
24272
|
+
"name": "renderHelperText",
|
24273
|
+
"privacy": "protected",
|
24274
|
+
"description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
|
24275
|
+
"return": {
|
24276
|
+
"type": {
|
24277
|
+
"text": ""
|
24278
|
+
}
|
24279
|
+
},
|
24280
|
+
"inheritedFrom": {
|
24281
|
+
"name": "FormfieldWrapper",
|
24282
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
24283
|
+
}
|
24284
|
+
}
|
24285
|
+
],
|
24286
|
+
"events": [
|
24287
|
+
{
|
24288
|
+
"type": {
|
24289
|
+
"text": "EventConstructor"
|
24290
|
+
}
|
24291
|
+
},
|
24292
|
+
{
|
24293
|
+
"description": "(React: onChange) Event that gets dispatched when the radio state changes.",
|
24294
|
+
"name": "change",
|
24295
|
+
"reactName": "onChange"
|
24296
|
+
},
|
24297
|
+
{
|
24298
|
+
"description": "(React: onFocus) Event that gets dispatched when the radio receives focus.",
|
24299
|
+
"name": "focus",
|
24300
|
+
"reactName": "onFocus"
|
24301
|
+
}
|
24302
|
+
],
|
24303
|
+
"attributes": [
|
24304
|
+
{
|
24305
|
+
"name": "checked",
|
24306
|
+
"type": {
|
24307
|
+
"text": "boolean"
|
24308
|
+
},
|
24309
|
+
"default": "false",
|
24310
|
+
"description": "Determines whether the radio is selected or unselected.",
|
24311
|
+
"fieldName": "checked"
|
24312
|
+
},
|
24313
|
+
{
|
24314
|
+
"name": "readonly",
|
24315
|
+
"type": {
|
24316
|
+
"text": "boolean"
|
24317
|
+
},
|
24318
|
+
"default": "false",
|
24319
|
+
"description": "Determines whether the radio is read-only.",
|
24320
|
+
"fieldName": "readonly"
|
24321
|
+
},
|
24322
|
+
{
|
24323
|
+
"name": "autofocus",
|
24324
|
+
"type": {
|
24325
|
+
"text": "boolean"
|
24326
|
+
},
|
24327
|
+
"default": "false",
|
24328
|
+
"description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
|
24329
|
+
"fieldName": "autofocus"
|
24330
|
+
},
|
24331
|
+
{
|
24332
|
+
"name": "name",
|
24333
|
+
"type": {
|
24334
|
+
"text": "string"
|
24335
|
+
},
|
24336
|
+
"default": "''",
|
24337
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
24338
|
+
"fieldName": "name",
|
24339
|
+
"inheritedFrom": {
|
24340
|
+
"name": "FormInternalsMixin",
|
24341
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
24342
|
+
}
|
24343
|
+
},
|
24344
|
+
{
|
24345
|
+
"name": "value",
|
24346
|
+
"type": {
|
24347
|
+
"text": "string"
|
24348
|
+
},
|
24349
|
+
"default": "''",
|
24350
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
24351
|
+
"fieldName": "value",
|
24352
|
+
"inheritedFrom": {
|
24353
|
+
"name": "FormInternalsMixin",
|
24354
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
24355
|
+
}
|
24356
|
+
},
|
24357
|
+
{
|
24358
|
+
"name": "validation-message",
|
24359
|
+
"type": {
|
24360
|
+
"text": "string | undefined"
|
24361
|
+
},
|
24362
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
24363
|
+
"fieldName": "validationMessage",
|
24364
|
+
"inheritedFrom": {
|
24365
|
+
"name": "FormInternalsMixin",
|
24366
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
24367
|
+
}
|
24368
|
+
},
|
24369
|
+
{
|
24370
|
+
"name": "data-aria-label",
|
24371
|
+
"type": {
|
24372
|
+
"text": "string | null"
|
24373
|
+
},
|
24374
|
+
"default": "null",
|
24375
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
24376
|
+
"fieldName": "dataAriaLabel",
|
24377
|
+
"inheritedFrom": {
|
24378
|
+
"name": "DataAriaLabelMixin",
|
24379
|
+
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
24380
|
+
}
|
24381
|
+
},
|
24382
|
+
{
|
24383
|
+
"name": "disabled",
|
24384
|
+
"type": {
|
24385
|
+
"text": "boolean | undefined"
|
24386
|
+
},
|
24387
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
24388
|
+
"default": "undefined",
|
24389
|
+
"fieldName": "disabled",
|
24390
|
+
"inheritedFrom": {
|
24391
|
+
"name": "FormfieldWrapper",
|
24392
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
24393
|
+
}
|
24394
|
+
},
|
24395
|
+
{
|
24396
|
+
"name": "label",
|
24397
|
+
"type": {
|
24398
|
+
"text": "string | undefined"
|
24399
|
+
},
|
24400
|
+
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
24401
|
+
"fieldName": "label",
|
24402
|
+
"inheritedFrom": {
|
24403
|
+
"name": "FormfieldWrapper",
|
24404
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
24405
|
+
}
|
24406
|
+
},
|
24407
|
+
{
|
24408
|
+
"name": "required",
|
24409
|
+
"type": {
|
24410
|
+
"text": "boolean"
|
24411
|
+
},
|
24412
|
+
"default": "false",
|
24413
|
+
"description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
|
24414
|
+
"fieldName": "required",
|
24415
|
+
"inheritedFrom": {
|
24416
|
+
"name": "FormfieldWrapper",
|
24417
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
24418
|
+
}
|
24419
|
+
},
|
24420
|
+
{
|
24421
|
+
"name": "id",
|
24422
|
+
"type": {
|
24423
|
+
"text": "string"
|
24424
|
+
},
|
24425
|
+
"default": "''",
|
24426
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
24427
|
+
"fieldName": "id",
|
24428
|
+
"inheritedFrom": {
|
24429
|
+
"name": "FormfieldWrapper",
|
24430
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
24431
|
+
}
|
24432
|
+
},
|
24433
|
+
{
|
24434
|
+
"name": "help-text-type",
|
24435
|
+
"type": {
|
24436
|
+
"text": "ValidationType"
|
24437
|
+
},
|
24438
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
24439
|
+
"fieldName": "helpTextType",
|
24440
|
+
"inheritedFrom": {
|
24441
|
+
"name": "FormfieldWrapper",
|
24442
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
24443
|
+
}
|
24444
|
+
},
|
24445
|
+
{
|
24446
|
+
"name": "help-text",
|
24447
|
+
"type": {
|
24448
|
+
"text": "string | undefined"
|
24449
|
+
},
|
24450
|
+
"description": "The help text that is displayed below the input field.",
|
24451
|
+
"fieldName": "helpText",
|
24452
|
+
"inheritedFrom": {
|
24453
|
+
"name": "FormfieldWrapper",
|
24454
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
24455
|
+
}
|
24456
|
+
},
|
24457
|
+
{
|
24458
|
+
"name": "toggletip-text",
|
24459
|
+
"type": {
|
24460
|
+
"text": "string | undefined"
|
24461
|
+
},
|
24462
|
+
"description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
|
24463
|
+
"fieldName": "toggletipText",
|
24464
|
+
"inheritedFrom": {
|
24465
|
+
"name": "FormfieldWrapper",
|
24466
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
24467
|
+
}
|
24468
|
+
},
|
24469
|
+
{
|
24470
|
+
"name": "toggletip-placement",
|
24471
|
+
"type": {
|
24472
|
+
"text": "PopoverPlacement"
|
24473
|
+
},
|
24474
|
+
"description": "The placement of the toggletip that is displayed when the info icon is hovered.",
|
24475
|
+
"default": "'top'",
|
24476
|
+
"fieldName": "toggletipPlacement",
|
24477
|
+
"inheritedFrom": {
|
24478
|
+
"name": "FormfieldWrapper",
|
24479
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
24480
|
+
}
|
24481
|
+
},
|
24482
|
+
{
|
24483
|
+
"name": "info-icon-aria-label",
|
24484
|
+
"type": {
|
24485
|
+
"text": "string | undefined"
|
24486
|
+
},
|
24487
|
+
"description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
|
24488
|
+
"fieldName": "infoIconAriaLabel",
|
24489
|
+
"inheritedFrom": {
|
24490
|
+
"name": "FormfieldWrapper",
|
24491
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
24492
|
+
}
|
24493
|
+
}
|
24494
|
+
],
|
24495
|
+
"mixins": [
|
24496
|
+
{
|
24497
|
+
"name": "FormInternalsMixin",
|
24498
|
+
"module": "/src/utils/mixins/FormInternalsMixin"
|
24499
|
+
},
|
24500
|
+
{
|
24501
|
+
"name": "DataAriaLabelMixin",
|
24502
|
+
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
24503
|
+
}
|
24504
|
+
],
|
24505
|
+
"superclass": {
|
24506
|
+
"name": "FormfieldWrapper",
|
24507
|
+
"module": "/src/components/formfieldwrapper/formfieldwrapper.component"
|
24508
|
+
},
|
24509
|
+
"tagName": "mdc-radio",
|
24510
|
+
"jsDoc": "/**\n * Radio allow users to select single options from a list or turn an item/feature on or off.\n * These are often used in forms, settings, and selection in lists.\n *\n * A radio component contains an optional label, optional info icon and an optional helper text.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-staticradio\n * @dependency mdc-toggletip\n *\n * @tagname mdc-radio\n *\n * @event change - (React: onChange) Event that gets dispatched when the radio state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the radio receives focus.\n *\n * @cssproperty --mdc-radio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-radio-control-inactive-hover - color of the radio button when inactive and hovered\n * @cssproperty --mdc-radio-control-inactive-pressed-color - color of the radio button when inactive and pressed\n * @cssproperty --mdc-radio-control-active-hover-color - color of the radio button when active and hovered\n * @cssproperty --mdc-radio-control-active-pressed-color - color of the radio button when active and pressed\n * @cssproperty --mdc-radio-disabled-border-color - color of the radio button when disabled\n * @cssproperty --mdc-radio-control-active-disabled-background - color of the radio button when active and disabled\n * @cssproperty --mdc-radio-control-inactive-disabled-background - color of the radio button when inactive and disabled\n *\n */",
|
24511
|
+
"customElement": true
|
24512
|
+
}
|
24513
|
+
],
|
24514
|
+
"exports": [
|
24515
|
+
{
|
24516
|
+
"kind": "js",
|
24517
|
+
"name": "default",
|
24518
|
+
"declaration": {
|
24519
|
+
"name": "Radio",
|
24520
|
+
"module": "components/radio/radio.component.js"
|
24521
|
+
}
|
24522
|
+
}
|
24523
|
+
]
|
24524
|
+
},
|
24525
|
+
{
|
24526
|
+
"kind": "javascript-module",
|
24527
|
+
"path": "components/radiogroup/radiogroup.component.js",
|
24528
|
+
"declarations": [
|
24529
|
+
{
|
24530
|
+
"kind": "class",
|
24531
|
+
"description": "`mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\nIt can have a header text and a description. It enables users to select a single option from a set of options.\nIt is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.",
|
24532
|
+
"name": "RadioGroup",
|
24533
|
+
"cssProperties": [
|
24534
|
+
{
|
24535
|
+
"description": "color of the description text",
|
24536
|
+
"name": "--mdc-radiogroup-description-text-normal"
|
24537
|
+
}
|
24538
|
+
],
|
24539
|
+
"members": [
|
24540
|
+
{
|
24541
|
+
"kind": "field",
|
24542
|
+
"name": "name",
|
24543
|
+
"type": {
|
24544
|
+
"text": "string"
|
24545
|
+
},
|
24546
|
+
"default": "''",
|
24547
|
+
"description": "Name of the radio group.\nThey are used to group elements in a form together.",
|
24548
|
+
"attribute": "name"
|
23821
24549
|
},
|
23822
24550
|
{
|
23823
24551
|
"kind": "field",
|
@@ -25163,1130 +25891,194 @@
|
|
25163
25891
|
}
|
25164
25892
|
},
|
25165
25893
|
{
|
25166
|
-
"name": "placeholder",
|
25167
|
-
"type": {
|
25168
|
-
"text": "string"
|
25169
|
-
},
|
25170
|
-
"default": "''",
|
25171
|
-
"description": "The placeholder text that is displayed when the input field is empty.",
|
25172
|
-
"fieldName": "placeholder",
|
25173
|
-
"inheritedFrom": {
|
25174
|
-
"name": "Input",
|
25175
|
-
"module": "src/components/input/input.component.ts"
|
25176
|
-
}
|
25177
|
-
},
|
25178
|
-
{
|
25179
|
-
"name": "readonly",
|
25180
|
-
"type": {
|
25181
|
-
"text": "boolean"
|
25182
|
-
},
|
25183
|
-
"default": "false",
|
25184
|
-
"description": "readonly attribute of the input field. If true, the input field is read-only.",
|
25185
|
-
"fieldName": "readonly",
|
25186
|
-
"inheritedFrom": {
|
25187
|
-
"name": "Input",
|
25188
|
-
"module": "src/components/input/input.component.ts"
|
25189
|
-
}
|
25190
|
-
},
|
25191
|
-
{
|
25192
|
-
"name": "prefix-text",
|
25193
|
-
"type": {
|
25194
|
-
"text": "string | undefined"
|
25195
|
-
},
|
25196
|
-
"description": "The prefix text that is displayed before the input field. It has a max length of 10 characters.\nWhen the prefix text is set, make sure to set the 'data-aria-label'\nattribute with the appropriate value for accessibility.",
|
25197
|
-
"fieldName": "prefixText",
|
25198
|
-
"inheritedFrom": {
|
25199
|
-
"name": "Input",
|
25200
|
-
"module": "src/components/input/input.component.ts"
|
25201
|
-
}
|
25202
|
-
},
|
25203
|
-
{
|
25204
|
-
"name": "leading-icon",
|
25205
|
-
"type": {
|
25206
|
-
"text": "IconNames | undefined"
|
25207
|
-
},
|
25208
|
-
"description": "The leading icon that is displayed before the input field.",
|
25209
|
-
"fieldName": "leadingIcon",
|
25210
|
-
"inheritedFrom": {
|
25211
|
-
"name": "Input",
|
25212
|
-
"module": "src/components/input/input.component.ts"
|
25213
|
-
}
|
25214
|
-
},
|
25215
|
-
{
|
25216
|
-
"name": "trailing-button",
|
25217
|
-
"type": {
|
25218
|
-
"text": "boolean"
|
25219
|
-
},
|
25220
|
-
"default": "false",
|
25221
|
-
"description": "The trailing button when set to true, shows a clear button that clears the input field.",
|
25222
|
-
"fieldName": "trailingButton",
|
25223
|
-
"inheritedFrom": {
|
25224
|
-
"name": "Input",
|
25225
|
-
"module": "src/components/input/input.component.ts"
|
25226
|
-
}
|
25227
|
-
},
|
25228
|
-
{
|
25229
|
-
"name": "maxlength",
|
25230
|
-
"type": {
|
25231
|
-
"text": "number | undefined"
|
25232
|
-
},
|
25233
|
-
"description": "The maximum number of characters that the input field can accept.",
|
25234
|
-
"fieldName": "maxlength",
|
25235
|
-
"inheritedFrom": {
|
25236
|
-
"name": "Input",
|
25237
|
-
"module": "src/components/input/input.component.ts"
|
25238
|
-
}
|
25239
|
-
},
|
25240
|
-
{
|
25241
|
-
"name": "minlength",
|
25242
|
-
"type": {
|
25243
|
-
"text": "number | undefined"
|
25244
|
-
},
|
25245
|
-
"description": "The minimum number of characters that the input field can accept.",
|
25246
|
-
"fieldName": "minlength",
|
25247
|
-
"inheritedFrom": {
|
25248
|
-
"name": "Input",
|
25249
|
-
"module": "src/components/input/input.component.ts"
|
25250
|
-
}
|
25251
|
-
},
|
25252
|
-
{
|
25253
|
-
"name": "autocapitalize",
|
25254
|
-
"type": {
|
25255
|
-
"text": "AutoCapitalizeType"
|
25256
|
-
},
|
25257
|
-
"description": "The autocapitalize attribute of the input field.",
|
25258
|
-
"default": "'off'",
|
25259
|
-
"fieldName": "autocapitalize",
|
25260
|
-
"inheritedFrom": {
|
25261
|
-
"name": "Input",
|
25262
|
-
"module": "src/components/input/input.component.ts"
|
25263
|
-
}
|
25264
|
-
},
|
25265
|
-
{
|
25266
|
-
"name": "autocomplete",
|
25267
|
-
"type": {
|
25268
|
-
"text": "AutoCompleteType"
|
25269
|
-
},
|
25270
|
-
"description": "The autocomplete attribute of the input field.",
|
25271
|
-
"default": "'off'",
|
25272
|
-
"fieldName": "autocomplete",
|
25273
|
-
"inheritedFrom": {
|
25274
|
-
"name": "Input",
|
25275
|
-
"module": "src/components/input/input.component.ts"
|
25276
|
-
}
|
25277
|
-
},
|
25278
|
-
{
|
25279
|
-
"name": "autofocus",
|
25280
|
-
"type": {
|
25281
|
-
"text": "boolean"
|
25282
|
-
},
|
25283
|
-
"default": "false",
|
25284
|
-
"description": "If true, the input field is focused when the component is rendered.",
|
25285
|
-
"fieldName": "autofocus",
|
25286
|
-
"inheritedFrom": {
|
25287
|
-
"name": "Input",
|
25288
|
-
"module": "src/components/input/input.component.ts"
|
25289
|
-
}
|
25290
|
-
},
|
25291
|
-
{
|
25292
|
-
"name": "dirname",
|
25293
|
-
"type": {
|
25294
|
-
"text": "string | undefined"
|
25295
|
-
},
|
25296
|
-
"description": "Specifies the name of the directionality of text for submission purposes (e.g., \"rtl\" for right-to-left).",
|
25297
|
-
"fieldName": "dirname",
|
25298
|
-
"inheritedFrom": {
|
25299
|
-
"name": "Input",
|
25300
|
-
"module": "src/components/input/input.component.ts"
|
25301
|
-
}
|
25302
|
-
},
|
25303
|
-
{
|
25304
|
-
"name": "pattern",
|
25305
|
-
"type": {
|
25306
|
-
"text": "string | undefined"
|
25307
|
-
},
|
25308
|
-
"description": "The pattern attribute of the input field.\nSpecifies a regular expression that the input value must match for validation purposes.",
|
25309
|
-
"fieldName": "pattern",
|
25310
|
-
"inheritedFrom": {
|
25311
|
-
"name": "Input",
|
25312
|
-
"module": "src/components/input/input.component.ts"
|
25313
|
-
}
|
25314
|
-
},
|
25315
|
-
{
|
25316
|
-
"name": "list",
|
25317
|
-
"type": {
|
25318
|
-
"text": "string | undefined"
|
25319
|
-
},
|
25320
|
-
"description": "The list attribute of the input field.\nIdentifies a list of pre-defined options to suggest to the user.",
|
25321
|
-
"fieldName": "list",
|
25322
|
-
"inheritedFrom": {
|
25323
|
-
"name": "Input",
|
25324
|
-
"module": "src/components/input/input.component.ts"
|
25325
|
-
}
|
25326
|
-
},
|
25327
|
-
{
|
25328
|
-
"name": "size",
|
25329
|
-
"type": {
|
25330
|
-
"text": "number | undefined | undefined"
|
25331
|
-
},
|
25332
|
-
"description": "The size attribute of the input field.\nSpecifies the width of the input field.",
|
25333
|
-
"default": "undefined",
|
25334
|
-
"fieldName": "size",
|
25335
|
-
"inheritedFrom": {
|
25336
|
-
"name": "Input",
|
25337
|
-
"module": "src/components/input/input.component.ts"
|
25338
|
-
}
|
25339
|
-
},
|
25340
|
-
{
|
25341
|
-
"name": "clear-aria-label",
|
25342
|
-
"type": {
|
25343
|
-
"text": "string"
|
25344
|
-
},
|
25345
|
-
"default": "''",
|
25346
|
-
"description": "Aria label for the trailing button. If trailing button is set to true, this label is used for the clear button.",
|
25347
|
-
"fieldName": "clearAriaLabel",
|
25348
|
-
"inheritedFrom": {
|
25349
|
-
"name": "Input",
|
25350
|
-
"module": "src/components/input/input.component.ts"
|
25351
|
-
}
|
25352
|
-
},
|
25353
|
-
{
|
25354
|
-
"name": "disabled",
|
25355
|
-
"type": {
|
25356
|
-
"text": "boolean | undefined"
|
25357
|
-
},
|
25358
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
25359
|
-
"default": "undefined",
|
25360
|
-
"fieldName": "disabled",
|
25361
|
-
"inheritedFrom": {
|
25362
|
-
"name": "FormfieldWrapper",
|
25363
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
25364
|
-
}
|
25365
|
-
},
|
25366
|
-
{
|
25367
|
-
"name": "label",
|
25368
|
-
"type": {
|
25369
|
-
"text": "string | undefined"
|
25370
|
-
},
|
25371
|
-
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
25372
|
-
"fieldName": "label",
|
25373
|
-
"inheritedFrom": {
|
25374
|
-
"name": "FormfieldWrapper",
|
25375
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
25376
|
-
}
|
25377
|
-
},
|
25378
|
-
{
|
25379
|
-
"name": "required",
|
25380
|
-
"type": {
|
25381
|
-
"text": "boolean"
|
25382
|
-
},
|
25383
|
-
"default": "false",
|
25384
|
-
"description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
|
25385
|
-
"fieldName": "required",
|
25386
|
-
"inheritedFrom": {
|
25387
|
-
"name": "FormfieldWrapper",
|
25388
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
25389
|
-
}
|
25390
|
-
},
|
25391
|
-
{
|
25392
|
-
"name": "id",
|
25393
|
-
"type": {
|
25394
|
-
"text": "string"
|
25395
|
-
},
|
25396
|
-
"default": "''",
|
25397
|
-
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
25398
|
-
"fieldName": "id",
|
25399
|
-
"inheritedFrom": {
|
25400
|
-
"name": "FormfieldWrapper",
|
25401
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
25402
|
-
}
|
25403
|
-
},
|
25404
|
-
{
|
25405
|
-
"name": "help-text-type",
|
25406
|
-
"type": {
|
25407
|
-
"text": "ValidationType"
|
25408
|
-
},
|
25409
|
-
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
25410
|
-
"fieldName": "helpTextType",
|
25411
|
-
"inheritedFrom": {
|
25412
|
-
"name": "FormfieldWrapper",
|
25413
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
25414
|
-
}
|
25415
|
-
},
|
25416
|
-
{
|
25417
|
-
"name": "help-text",
|
25418
|
-
"type": {
|
25419
|
-
"text": "string | undefined"
|
25420
|
-
},
|
25421
|
-
"description": "The help text that is displayed below the input field.",
|
25422
|
-
"fieldName": "helpText",
|
25423
|
-
"inheritedFrom": {
|
25424
|
-
"name": "FormfieldWrapper",
|
25425
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
25426
|
-
}
|
25427
|
-
},
|
25428
|
-
{
|
25429
|
-
"name": "toggletip-text",
|
25430
|
-
"type": {
|
25431
|
-
"text": "string | undefined"
|
25432
|
-
},
|
25433
|
-
"description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
|
25434
|
-
"fieldName": "toggletipText",
|
25435
|
-
"inheritedFrom": {
|
25436
|
-
"name": "FormfieldWrapper",
|
25437
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
25438
|
-
}
|
25439
|
-
},
|
25440
|
-
{
|
25441
|
-
"name": "toggletip-placement",
|
25442
|
-
"type": {
|
25443
|
-
"text": "PopoverPlacement"
|
25444
|
-
},
|
25445
|
-
"description": "The placement of the toggletip that is displayed when the info icon is hovered.",
|
25446
|
-
"default": "'top'",
|
25447
|
-
"fieldName": "toggletipPlacement",
|
25448
|
-
"inheritedFrom": {
|
25449
|
-
"name": "FormfieldWrapper",
|
25450
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
25451
|
-
}
|
25452
|
-
},
|
25453
|
-
{
|
25454
|
-
"name": "info-icon-aria-label",
|
25455
|
-
"type": {
|
25456
|
-
"text": "string | undefined"
|
25457
|
-
},
|
25458
|
-
"description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
|
25459
|
-
"fieldName": "infoIconAriaLabel",
|
25460
|
-
"inheritedFrom": {
|
25461
|
-
"name": "FormfieldWrapper",
|
25462
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
25463
|
-
}
|
25464
|
-
}
|
25465
|
-
],
|
25466
|
-
"cssProperties": [
|
25467
|
-
{
|
25468
|
-
"description": "Border color for the input container when disabled",
|
25469
|
-
"name": "--mdc-input-disabled-border-color",
|
25470
|
-
"inheritedFrom": {
|
25471
|
-
"name": "Input",
|
25472
|
-
"module": "src/components/input/input.component.ts"
|
25473
|
-
}
|
25474
|
-
},
|
25475
|
-
{
|
25476
|
-
"description": "Text color for the input field when disabled",
|
25477
|
-
"name": "--mdc-input-disabled-text-color",
|
25478
|
-
"inheritedFrom": {
|
25479
|
-
"name": "Input",
|
25480
|
-
"module": "src/components/input/input.component.ts"
|
25481
|
-
}
|
25482
|
-
},
|
25483
|
-
{
|
25484
|
-
"description": "Background color for the input field when disabled",
|
25485
|
-
"name": "--mdc-input-disabled-background-color",
|
25486
|
-
"inheritedFrom": {
|
25487
|
-
"name": "Input",
|
25488
|
-
"module": "src/components/input/input.component.ts"
|
25489
|
-
}
|
25490
|
-
},
|
25491
|
-
{
|
25492
|
-
"description": "Border color for the input container",
|
25493
|
-
"name": "--mdc-input-border-color",
|
25494
|
-
"inheritedFrom": {
|
25495
|
-
"name": "Input",
|
25496
|
-
"module": "src/components/input/input.component.ts"
|
25497
|
-
}
|
25498
|
-
},
|
25499
|
-
{
|
25500
|
-
"description": "Text color for the input field",
|
25501
|
-
"name": "--mdc-input-text-color",
|
25502
|
-
"inheritedFrom": {
|
25503
|
-
"name": "Input",
|
25504
|
-
"module": "src/components/input/input.component.ts"
|
25505
|
-
}
|
25506
|
-
},
|
25507
|
-
{
|
25508
|
-
"description": "Background color for the input field",
|
25509
|
-
"name": "--mdc-input-background-color",
|
25510
|
-
"inheritedFrom": {
|
25511
|
-
"name": "Input",
|
25512
|
-
"module": "src/components/input/input.component.ts"
|
25513
|
-
}
|
25514
|
-
},
|
25515
|
-
{
|
25516
|
-
"description": "Background color for the selected text",
|
25517
|
-
"name": "--mdc-input-selection-background-color",
|
25518
|
-
"inheritedFrom": {
|
25519
|
-
"name": "Input",
|
25520
|
-
"module": "src/components/input/input.component.ts"
|
25521
|
-
}
|
25522
|
-
},
|
25523
|
-
{
|
25524
|
-
"description": "Text color for the selected text",
|
25525
|
-
"name": "--mdc-input-selection-text-color",
|
25526
|
-
"inheritedFrom": {
|
25527
|
-
"name": "Input",
|
25528
|
-
"module": "src/components/input/input.component.ts"
|
25529
|
-
}
|
25530
|
-
},
|
25531
|
-
{
|
25532
|
-
"description": "Text color for the help text",
|
25533
|
-
"name": "--mdc-input-support-text-color",
|
25534
|
-
"inheritedFrom": {
|
25535
|
-
"name": "Input",
|
25536
|
-
"module": "src/components/input/input.component.ts"
|
25537
|
-
}
|
25538
|
-
},
|
25539
|
-
{
|
25540
|
-
"description": "Background color for the input field when hovered",
|
25541
|
-
"name": "--mdc-input-hover-background-color",
|
25542
|
-
"inheritedFrom": {
|
25543
|
-
"name": "Input",
|
25544
|
-
"module": "src/components/input/input.component.ts"
|
25545
|
-
}
|
25546
|
-
},
|
25547
|
-
{
|
25548
|
-
"description": "Background color for the input field when focused",
|
25549
|
-
"name": "--mdc-input-focused-background-color",
|
25550
|
-
"inheritedFrom": {
|
25551
|
-
"name": "Input",
|
25552
|
-
"module": "src/components/input/input.component.ts"
|
25553
|
-
}
|
25554
|
-
},
|
25555
|
-
{
|
25556
|
-
"description": "Border color for the input container when focused",
|
25557
|
-
"name": "--mdc-input-focused-border-color",
|
25558
|
-
"inheritedFrom": {
|
25559
|
-
"name": "Input",
|
25560
|
-
"module": "src/components/input/input.component.ts"
|
25561
|
-
}
|
25562
|
-
},
|
25563
|
-
{
|
25564
|
-
"description": "Border color for the input container when error",
|
25565
|
-
"name": "--mdc-input-error-border-color",
|
25566
|
-
"inheritedFrom": {
|
25567
|
-
"name": "Input",
|
25568
|
-
"module": "src/components/input/input.component.ts"
|
25569
|
-
}
|
25570
|
-
},
|
25571
|
-
{
|
25572
|
-
"description": "Border color for the input container when warning",
|
25573
|
-
"name": "--mdc-input-warning-border-color",
|
25574
|
-
"inheritedFrom": {
|
25575
|
-
"name": "Input",
|
25576
|
-
"module": "src/components/input/input.component.ts"
|
25577
|
-
}
|
25578
|
-
},
|
25579
|
-
{
|
25580
|
-
"description": "Border color for the input container when success",
|
25581
|
-
"name": "--mdc-input-success-border-color",
|
25582
|
-
"inheritedFrom": {
|
25583
|
-
"name": "Input",
|
25584
|
-
"module": "src/components/input/input.component.ts"
|
25585
|
-
}
|
25586
|
-
},
|
25587
|
-
{
|
25588
|
-
"description": "Border color for the input container when primary",
|
25589
|
-
"name": "--mdc-input-primary-border-color",
|
25590
|
-
"inheritedFrom": {
|
25591
|
-
"name": "Input",
|
25592
|
-
"module": "src/components/input/input.component.ts"
|
25593
|
-
}
|
25594
|
-
}
|
25595
|
-
],
|
25596
|
-
"events": [
|
25597
|
-
{
|
25598
|
-
"type": {
|
25599
|
-
"text": "EventConstructor"
|
25600
|
-
},
|
25601
|
-
"inheritedFrom": {
|
25602
|
-
"name": "Input",
|
25603
|
-
"module": "src/components/input/input.component.ts"
|
25604
|
-
}
|
25605
|
-
},
|
25606
|
-
{
|
25607
|
-
"description": "(React: onInput) This event is dispatched when the value of the input field changes (every press).",
|
25608
|
-
"name": "input",
|
25609
|
-
"reactName": "onInput",
|
25610
|
-
"inheritedFrom": {
|
25611
|
-
"name": "Input",
|
25612
|
-
"module": "src/components/input/input.component.ts"
|
25613
|
-
}
|
25614
|
-
},
|
25615
|
-
{
|
25616
|
-
"description": "(React: onChange) This event is dispatched when the value of the input field changes (on blur).",
|
25617
|
-
"name": "change",
|
25618
|
-
"reactName": "onChange",
|
25619
|
-
"inheritedFrom": {
|
25620
|
-
"name": "Input",
|
25621
|
-
"module": "src/components/input/input.component.ts"
|
25622
|
-
}
|
25623
|
-
},
|
25624
|
-
{
|
25625
|
-
"description": "(React: onFocus) This event is dispatched when the input receives focus.",
|
25626
|
-
"name": "focus",
|
25627
|
-
"reactName": "onFocus",
|
25628
|
-
"inheritedFrom": {
|
25629
|
-
"name": "Input",
|
25630
|
-
"module": "src/components/input/input.component.ts"
|
25631
|
-
}
|
25632
|
-
},
|
25633
|
-
{
|
25634
|
-
"description": "(React: onBlur) This event is dispatched when the input loses focus.",
|
25635
|
-
"name": "blur",
|
25636
|
-
"reactName": "onBlur",
|
25637
|
-
"inheritedFrom": {
|
25638
|
-
"name": "Input",
|
25639
|
-
"module": "src/components/input/input.component.ts"
|
25640
|
-
}
|
25641
|
-
}
|
25642
|
-
]
|
25643
|
-
}
|
25644
|
-
],
|
25645
|
-
"exports": [
|
25646
|
-
{
|
25647
|
-
"kind": "js",
|
25648
|
-
"name": "default",
|
25649
|
-
"declaration": {
|
25650
|
-
"name": "Searchfield",
|
25651
|
-
"module": "components/searchfield/searchfield.component.js"
|
25652
|
-
}
|
25653
|
-
}
|
25654
|
-
]
|
25655
|
-
},
|
25656
|
-
{
|
25657
|
-
"kind": "javascript-module",
|
25658
|
-
"path": "components/radio/radio.component.js",
|
25659
|
-
"declarations": [
|
25660
|
-
{
|
25661
|
-
"kind": "class",
|
25662
|
-
"description": "Radio allow users to select single options from a list or turn an item/feature on or off.\nThese are often used in forms, settings, and selection in lists.\n\nA radio component contains an optional label, optional info icon and an optional helper text.",
|
25663
|
-
"name": "Radio",
|
25664
|
-
"cssProperties": [
|
25665
|
-
{
|
25666
|
-
"description": "color of the label when disabled",
|
25667
|
-
"name": "--mdc-radio-text-disabled-color"
|
25668
|
-
},
|
25669
|
-
{
|
25670
|
-
"description": "color of the radio button when inactive and hovered",
|
25671
|
-
"name": "--mdc-radio-control-inactive-hover"
|
25672
|
-
},
|
25673
|
-
{
|
25674
|
-
"description": "color of the radio button when inactive and pressed",
|
25675
|
-
"name": "--mdc-radio-control-inactive-pressed-color"
|
25676
|
-
},
|
25677
|
-
{
|
25678
|
-
"description": "color of the radio button when active and hovered",
|
25679
|
-
"name": "--mdc-radio-control-active-hover-color"
|
25680
|
-
},
|
25681
|
-
{
|
25682
|
-
"description": "color of the radio button when active and pressed",
|
25683
|
-
"name": "--mdc-radio-control-active-pressed-color"
|
25684
|
-
},
|
25685
|
-
{
|
25686
|
-
"description": "color of the radio button when disabled",
|
25687
|
-
"name": "--mdc-radio-disabled-border-color"
|
25688
|
-
},
|
25689
|
-
{
|
25690
|
-
"description": "color of the radio button when active and disabled",
|
25691
|
-
"name": "--mdc-radio-control-active-disabled-background"
|
25692
|
-
},
|
25693
|
-
{
|
25694
|
-
"description": "color of the radio button when inactive and disabled",
|
25695
|
-
"name": "--mdc-radio-control-inactive-disabled-background"
|
25696
|
-
}
|
25697
|
-
],
|
25698
|
-
"members": [
|
25699
|
-
{
|
25700
|
-
"kind": "field",
|
25701
|
-
"name": "checked",
|
25702
|
-
"type": {
|
25703
|
-
"text": "boolean"
|
25704
|
-
},
|
25705
|
-
"default": "false",
|
25706
|
-
"description": "Determines whether the radio is selected or unselected.",
|
25707
|
-
"attribute": "checked",
|
25708
|
-
"reflects": true
|
25709
|
-
},
|
25710
|
-
{
|
25711
|
-
"kind": "field",
|
25712
|
-
"name": "readonly",
|
25713
|
-
"type": {
|
25714
|
-
"text": "boolean"
|
25715
|
-
},
|
25716
|
-
"default": "false",
|
25717
|
-
"description": "Determines whether the radio is read-only.",
|
25718
|
-
"attribute": "readonly",
|
25719
|
-
"reflects": true
|
25720
|
-
},
|
25721
|
-
{
|
25722
|
-
"kind": "field",
|
25723
|
-
"name": "autofocus",
|
25724
|
-
"type": {
|
25725
|
-
"text": "boolean"
|
25726
|
-
},
|
25727
|
-
"default": "false",
|
25728
|
-
"description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
|
25729
|
-
"attribute": "autofocus",
|
25730
|
-
"reflects": true
|
25731
|
-
},
|
25732
|
-
{
|
25733
|
-
"kind": "method",
|
25734
|
-
"name": "getAllRadiosWithinSameGroup",
|
25735
|
-
"privacy": "private",
|
25736
|
-
"return": {
|
25737
|
-
"type": {
|
25738
|
-
"text": "Radio[]"
|
25739
|
-
}
|
25740
|
-
},
|
25741
|
-
"description": "Returns all radios within the same group (name)."
|
25742
|
-
},
|
25743
|
-
{
|
25744
|
-
"kind": "method",
|
25745
|
-
"name": "dispatchChangeEvent",
|
25746
|
-
"privacy": "private",
|
25747
|
-
"return": {
|
25748
|
-
"type": {
|
25749
|
-
"text": "void"
|
25750
|
-
}
|
25751
|
-
},
|
25752
|
-
"parameters": [
|
25753
|
-
{
|
25754
|
-
"name": "event",
|
25755
|
-
"type": {
|
25756
|
-
"text": "Event"
|
25757
|
-
}
|
25758
|
-
}
|
25759
|
-
],
|
25760
|
-
"description": "The 'change' event does not bubble up through the shadow DOM as it was not composed.\nTherefore, we need to re-dispatch the same event to ensure it is propagated correctly.\nRead more: https://developer.mozilla.org/en-US/docs/Web/API/Event/composed"
|
25761
|
-
},
|
25762
|
-
{
|
25763
|
-
"kind": "method",
|
25764
|
-
"name": "setGroupValidity",
|
25765
|
-
"privacy": "private",
|
25766
|
-
"parameters": [
|
25767
|
-
{
|
25768
|
-
"name": "radios",
|
25769
|
-
"type": {
|
25770
|
-
"text": "Radio[]"
|
25771
|
-
},
|
25772
|
-
"description": "Array of radios of the same group"
|
25773
|
-
},
|
25774
|
-
{
|
25775
|
-
"name": "isValid",
|
25776
|
-
"type": {
|
25777
|
-
"text": "boolean"
|
25778
|
-
},
|
25779
|
-
"description": "Boolean value to set the validity of the group"
|
25780
|
-
}
|
25781
|
-
],
|
25782
|
-
"description": "Sets the validity of the group of radios."
|
25783
|
-
},
|
25784
|
-
{
|
25785
|
-
"kind": "method",
|
25786
|
-
"name": "setActualFormValue",
|
25787
|
-
"privacy": "private",
|
25788
|
-
"description": "Updates the form value to reflect the current state of the radio.\nIf checked, the value is set to the user-provided value.\nIf unchecked, the value is set to null."
|
25789
|
-
},
|
25790
|
-
{
|
25791
|
-
"kind": "method",
|
25792
|
-
"name": "handleChange",
|
25793
|
-
"privacy": "private",
|
25794
|
-
"return": {
|
25795
|
-
"type": {
|
25796
|
-
"text": "void"
|
25797
|
-
}
|
25798
|
-
},
|
25799
|
-
"parameters": [
|
25800
|
-
{
|
25801
|
-
"name": "event",
|
25802
|
-
"type": {
|
25803
|
-
"text": "Event"
|
25804
|
-
}
|
25805
|
-
}
|
25806
|
-
],
|
25807
|
-
"description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
|
25808
|
-
},
|
25809
|
-
{
|
25810
|
-
"kind": "method",
|
25811
|
-
"name": "updateRadio",
|
25812
|
-
"privacy": "private",
|
25813
|
-
"parameters": [
|
25814
|
-
{
|
25815
|
-
"name": "enabledRadios",
|
25816
|
-
"type": {
|
25817
|
-
"text": "Radio[]"
|
25818
|
-
},
|
25819
|
-
"description": "An array of enabled radio buttons within the same group."
|
25820
|
-
},
|
25821
|
-
{
|
25822
|
-
"name": "index",
|
25823
|
-
"type": {
|
25824
|
-
"text": "number"
|
25825
|
-
},
|
25826
|
-
"description": "The index of the radio button to be updated within the enabled radios array."
|
25827
|
-
},
|
25828
|
-
{
|
25829
|
-
"name": "event",
|
25830
|
-
"type": {
|
25831
|
-
"text": "Event"
|
25832
|
-
},
|
25833
|
-
"description": "The event that triggered the update."
|
25834
|
-
}
|
25835
|
-
],
|
25836
|
-
"description": "Updates the state of the radio button at the specified index within the enabled radios.\nFocuses the radio button and triggers the change event if the radio button is not read-only."
|
25837
|
-
},
|
25838
|
-
{
|
25839
|
-
"kind": "method",
|
25840
|
-
"name": "handleKeyDown",
|
25841
|
-
"privacy": "private",
|
25842
|
-
"return": {
|
25843
|
-
"type": {
|
25844
|
-
"text": "void"
|
25845
|
-
}
|
25846
|
-
},
|
25847
|
-
"parameters": [
|
25848
|
-
{
|
25849
|
-
"name": "event",
|
25850
|
-
"type": {
|
25851
|
-
"text": "KeyboardEvent"
|
25852
|
-
}
|
25853
|
-
}
|
25854
|
-
],
|
25855
|
-
"description": "Handles the keydown event (Arrow Up/Down/Left/Right) on the radio element."
|
25856
|
-
},
|
25857
|
-
{
|
25858
|
-
"kind": "method",
|
25859
|
-
"name": "updateTabIndex",
|
25860
|
-
"privacy": "private",
|
25861
|
-
"return": {
|
25862
|
-
"type": {
|
25863
|
-
"text": "void"
|
25864
|
-
}
|
25865
|
-
},
|
25866
|
-
"description": "Update tab index for all radios in the same group (name)\nIf any radio group is checked, it will have a tab index of 0\nIf no radio group is checked, the first enabled radio will have a tab index of 0"
|
25867
|
-
},
|
25868
|
-
{
|
25869
|
-
"kind": "field",
|
25870
|
-
"name": "renderLabelAndHelperText",
|
25871
|
-
"privacy": "private"
|
25872
|
-
},
|
25873
|
-
{
|
25874
|
-
"kind": "field",
|
25875
|
-
"name": "name",
|
25876
|
-
"type": {
|
25877
|
-
"text": "string"
|
25878
|
-
},
|
25879
|
-
"default": "''",
|
25880
|
-
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
25881
|
-
"attribute": "name",
|
25882
|
-
"reflects": true,
|
25883
|
-
"inheritedFrom": {
|
25884
|
-
"name": "FormInternalsMixin",
|
25885
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
25886
|
-
}
|
25887
|
-
},
|
25888
|
-
{
|
25889
|
-
"kind": "field",
|
25890
|
-
"name": "value",
|
25891
|
-
"type": {
|
25892
|
-
"text": "string"
|
25893
|
-
},
|
25894
|
-
"default": "''",
|
25895
|
-
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
25896
|
-
"attribute": "value",
|
25897
|
-
"reflects": true,
|
25898
|
-
"inheritedFrom": {
|
25899
|
-
"name": "FormInternalsMixin",
|
25900
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
25901
|
-
}
|
25902
|
-
},
|
25903
|
-
{
|
25904
|
-
"kind": "field",
|
25905
|
-
"name": "validationMessage",
|
25906
|
-
"type": {
|
25907
|
-
"text": "string | undefined"
|
25908
|
-
},
|
25909
|
-
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
25910
|
-
"attribute": "validation-message",
|
25911
|
-
"reflects": true,
|
25912
|
-
"inheritedFrom": {
|
25913
|
-
"name": "FormInternalsMixin",
|
25914
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
25915
|
-
}
|
25916
|
-
},
|
25917
|
-
{
|
25918
|
-
"kind": "field",
|
25919
|
-
"name": "validity",
|
25920
|
-
"type": {
|
25921
|
-
"text": "ValidityState"
|
25922
|
-
},
|
25923
|
-
"readonly": true,
|
25924
|
-
"inheritedFrom": {
|
25925
|
-
"name": "FormInternalsMixin",
|
25926
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
25927
|
-
}
|
25928
|
-
},
|
25929
|
-
{
|
25930
|
-
"kind": "field",
|
25931
|
-
"name": "willValidate",
|
25932
|
-
"readonly": true,
|
25933
|
-
"inheritedFrom": {
|
25934
|
-
"name": "FormInternalsMixin",
|
25935
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
25936
|
-
}
|
25937
|
-
},
|
25938
|
-
{
|
25939
|
-
"kind": "method",
|
25940
|
-
"name": "setValidity",
|
25941
|
-
"description": "Sets the validity of the input field based on the input field's validity.",
|
25942
|
-
"return": {
|
25943
|
-
"type": {
|
25944
|
-
"text": ""
|
25945
|
-
}
|
25946
|
-
},
|
25947
|
-
"inheritedFrom": {
|
25948
|
-
"name": "FormInternalsMixin",
|
25949
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
25950
|
-
}
|
25951
|
-
},
|
25952
|
-
{
|
25953
|
-
"kind": "method",
|
25954
|
-
"name": "checkValidity",
|
25955
|
-
"return": {
|
25956
|
-
"type": {
|
25957
|
-
"text": "boolean"
|
25958
|
-
}
|
25959
|
-
},
|
25960
|
-
"inheritedFrom": {
|
25961
|
-
"name": "FormInternalsMixin",
|
25962
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
25963
|
-
}
|
25964
|
-
},
|
25965
|
-
{
|
25966
|
-
"kind": "method",
|
25967
|
-
"name": "reportValidity",
|
25968
|
-
"inheritedFrom": {
|
25969
|
-
"name": "FormInternalsMixin",
|
25970
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
25971
|
-
}
|
25972
|
-
},
|
25973
|
-
{
|
25974
|
-
"kind": "field",
|
25975
|
-
"name": "dataAriaLabel",
|
25976
|
-
"type": {
|
25977
|
-
"text": "string | null"
|
25978
|
-
},
|
25979
|
-
"default": "null",
|
25980
|
-
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
25981
|
-
"attribute": "data-aria-label",
|
25982
|
-
"reflects": true,
|
25983
|
-
"inheritedFrom": {
|
25984
|
-
"name": "DataAriaLabelMixin",
|
25985
|
-
"module": "utils/mixins/DataAriaLabelMixin.js"
|
25986
|
-
}
|
25987
|
-
},
|
25988
|
-
{
|
25989
|
-
"kind": "field",
|
25990
|
-
"name": "disabled",
|
25991
|
-
"type": {
|
25992
|
-
"text": "boolean | undefined"
|
25993
|
-
},
|
25994
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
25995
|
-
"default": "undefined",
|
25996
|
-
"attribute": "disabled",
|
25997
|
-
"reflects": true,
|
25998
|
-
"inheritedFrom": {
|
25999
|
-
"name": "FormfieldWrapper",
|
26000
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
26001
|
-
}
|
26002
|
-
},
|
26003
|
-
{
|
26004
|
-
"kind": "field",
|
26005
|
-
"name": "label",
|
26006
|
-
"type": {
|
26007
|
-
"text": "string | undefined"
|
26008
|
-
},
|
26009
|
-
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
26010
|
-
"attribute": "label",
|
26011
|
-
"reflects": true,
|
26012
|
-
"inheritedFrom": {
|
26013
|
-
"name": "FormfieldWrapper",
|
26014
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
26015
|
-
}
|
26016
|
-
},
|
26017
|
-
{
|
26018
|
-
"kind": "field",
|
26019
|
-
"name": "required",
|
26020
|
-
"type": {
|
26021
|
-
"text": "boolean"
|
26022
|
-
},
|
26023
|
-
"default": "false",
|
26024
|
-
"description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
|
26025
|
-
"attribute": "required",
|
26026
|
-
"reflects": true,
|
26027
|
-
"inheritedFrom": {
|
26028
|
-
"name": "FormfieldWrapper",
|
26029
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
26030
|
-
}
|
26031
|
-
},
|
26032
|
-
{
|
26033
|
-
"kind": "field",
|
26034
|
-
"name": "id",
|
26035
|
-
"type": {
|
26036
|
-
"text": "string"
|
26037
|
-
},
|
26038
|
-
"default": "''",
|
26039
|
-
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
26040
|
-
"attribute": "id",
|
26041
|
-
"inheritedFrom": {
|
26042
|
-
"name": "FormfieldWrapper",
|
26043
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
26044
|
-
}
|
26045
|
-
},
|
26046
|
-
{
|
26047
|
-
"kind": "field",
|
26048
|
-
"name": "helpTextType",
|
26049
|
-
"type": {
|
26050
|
-
"text": "ValidationType"
|
26051
|
-
},
|
26052
|
-
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
26053
|
-
"attribute": "help-text-type",
|
26054
|
-
"reflects": true,
|
26055
|
-
"inheritedFrom": {
|
26056
|
-
"name": "FormfieldWrapper",
|
26057
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
26058
|
-
}
|
26059
|
-
},
|
26060
|
-
{
|
26061
|
-
"kind": "field",
|
26062
|
-
"name": "helpText",
|
26063
|
-
"type": {
|
26064
|
-
"text": "string | undefined"
|
26065
|
-
},
|
26066
|
-
"description": "The help text that is displayed below the input field.",
|
26067
|
-
"attribute": "help-text",
|
26068
|
-
"reflects": true,
|
26069
|
-
"inheritedFrom": {
|
26070
|
-
"name": "FormfieldWrapper",
|
26071
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
26072
|
-
}
|
26073
|
-
},
|
26074
|
-
{
|
26075
|
-
"kind": "field",
|
26076
|
-
"name": "toggletipText",
|
26077
|
-
"type": {
|
26078
|
-
"text": "string | undefined"
|
26079
|
-
},
|
26080
|
-
"description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
|
26081
|
-
"attribute": "toggletip-text",
|
26082
|
-
"reflects": true,
|
26083
|
-
"inheritedFrom": {
|
26084
|
-
"name": "FormfieldWrapper",
|
26085
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
26086
|
-
}
|
26087
|
-
},
|
26088
|
-
{
|
26089
|
-
"kind": "field",
|
26090
|
-
"name": "toggletipPlacement",
|
26091
|
-
"type": {
|
26092
|
-
"text": "PopoverPlacement"
|
26093
|
-
},
|
26094
|
-
"description": "The placement of the toggletip that is displayed when the info icon is hovered.",
|
26095
|
-
"default": "'top'",
|
26096
|
-
"attribute": "toggletip-placement",
|
26097
|
-
"reflects": true,
|
26098
|
-
"inheritedFrom": {
|
26099
|
-
"name": "FormfieldWrapper",
|
26100
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
26101
|
-
}
|
26102
|
-
},
|
26103
|
-
{
|
26104
|
-
"kind": "field",
|
26105
|
-
"name": "infoIconAriaLabel",
|
26106
|
-
"type": {
|
26107
|
-
"text": "string | undefined"
|
26108
|
-
},
|
26109
|
-
"description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
|
26110
|
-
"attribute": "info-icon-aria-label",
|
26111
|
-
"reflects": true,
|
26112
|
-
"inheritedFrom": {
|
26113
|
-
"name": "FormfieldWrapper",
|
26114
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
26115
|
-
}
|
26116
|
-
},
|
26117
|
-
{
|
26118
|
-
"kind": "method",
|
26119
|
-
"name": "renderLabelElement",
|
26120
|
-
"privacy": "protected",
|
26121
|
-
"description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
|
26122
|
-
"return": {
|
26123
|
-
"type": {
|
26124
|
-
"text": ""
|
26125
|
-
}
|
26126
|
-
},
|
26127
|
-
"inheritedFrom": {
|
26128
|
-
"name": "FormfieldWrapper",
|
26129
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
26130
|
-
}
|
26131
|
-
},
|
26132
|
-
{
|
26133
|
-
"kind": "method",
|
26134
|
-
"name": "renderHelpTextIcon",
|
26135
|
-
"privacy": "protected",
|
26136
|
-
"description": "creates the helpertext icon based on the helpTextType for validation.\nIf the helpTextType is not set, it defaults to 'default' and it doesn't display any icon.",
|
26137
|
-
"return": {
|
26138
|
-
"type": {
|
26139
|
-
"text": ""
|
26140
|
-
}
|
26141
|
-
},
|
26142
|
-
"inheritedFrom": {
|
26143
|
-
"name": "FormfieldWrapper",
|
26144
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
26145
|
-
}
|
26146
|
-
},
|
26147
|
-
{
|
26148
|
-
"kind": "method",
|
26149
|
-
"name": "renderHelpText",
|
26150
|
-
"privacy": "protected",
|
26151
|
-
"description": "creates the helper text component when the helpertext value is set.\nIt is also used to display the validation message based on the helpTextType.",
|
26152
|
-
"return": {
|
26153
|
-
"type": {
|
26154
|
-
"text": ""
|
26155
|
-
}
|
26156
|
-
},
|
26157
|
-
"inheritedFrom": {
|
26158
|
-
"name": "FormfieldWrapper",
|
26159
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
26160
|
-
}
|
26161
|
-
},
|
26162
|
-
{
|
26163
|
-
"kind": "method",
|
26164
|
-
"name": "renderLabel",
|
26165
|
-
"privacy": "protected",
|
26166
|
-
"description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
|
26167
|
-
"return": {
|
26168
|
-
"type": {
|
26169
|
-
"text": ""
|
26170
|
-
}
|
26171
|
-
},
|
26172
|
-
"inheritedFrom": {
|
26173
|
-
"name": "FormfieldWrapper",
|
26174
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
26175
|
-
}
|
26176
|
-
},
|
26177
|
-
{
|
26178
|
-
"kind": "method",
|
26179
|
-
"name": "renderHelperText",
|
26180
|
-
"privacy": "protected",
|
26181
|
-
"description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
|
26182
|
-
"return": {
|
26183
|
-
"type": {
|
26184
|
-
"text": ""
|
26185
|
-
}
|
26186
|
-
},
|
26187
|
-
"inheritedFrom": {
|
26188
|
-
"name": "FormfieldWrapper",
|
26189
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
26190
|
-
}
|
26191
|
-
}
|
26192
|
-
],
|
26193
|
-
"events": [
|
26194
|
-
{
|
26195
|
-
"type": {
|
26196
|
-
"text": "EventConstructor"
|
26197
|
-
}
|
26198
|
-
},
|
26199
|
-
{
|
26200
|
-
"description": "(React: onChange) Event that gets dispatched when the radio state changes.",
|
26201
|
-
"name": "change",
|
26202
|
-
"reactName": "onChange"
|
26203
|
-
},
|
26204
|
-
{
|
26205
|
-
"description": "(React: onFocus) Event that gets dispatched when the radio receives focus.",
|
26206
|
-
"name": "focus",
|
26207
|
-
"reactName": "onFocus"
|
26208
|
-
}
|
26209
|
-
],
|
26210
|
-
"attributes": [
|
26211
|
-
{
|
26212
|
-
"name": "checked",
|
26213
|
-
"type": {
|
26214
|
-
"text": "boolean"
|
26215
|
-
},
|
26216
|
-
"default": "false",
|
26217
|
-
"description": "Determines whether the radio is selected or unselected.",
|
26218
|
-
"fieldName": "checked"
|
26219
|
-
},
|
26220
|
-
{
|
26221
|
-
"name": "readonly",
|
26222
|
-
"type": {
|
26223
|
-
"text": "boolean"
|
26224
|
-
},
|
26225
|
-
"default": "false",
|
26226
|
-
"description": "Determines whether the radio is read-only.",
|
26227
|
-
"fieldName": "readonly"
|
26228
|
-
},
|
26229
|
-
{
|
26230
|
-
"name": "autofocus",
|
26231
|
-
"type": {
|
26232
|
-
"text": "boolean"
|
26233
|
-
},
|
26234
|
-
"default": "false",
|
26235
|
-
"description": "Automatically focus on the element when the page loads.\n[MDN Reference](https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/autofocus)",
|
26236
|
-
"fieldName": "autofocus"
|
26237
|
-
},
|
26238
|
-
{
|
26239
|
-
"name": "name",
|
26240
|
-
"type": {
|
26241
|
-
"text": "string"
|
26242
|
-
},
|
26243
|
-
"default": "''",
|
26244
|
-
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
26245
|
-
"fieldName": "name",
|
26246
|
-
"inheritedFrom": {
|
26247
|
-
"name": "FormInternalsMixin",
|
26248
|
-
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
26249
|
-
}
|
26250
|
-
},
|
26251
|
-
{
|
26252
|
-
"name": "value",
|
26253
|
-
"type": {
|
26254
|
-
"text": "string"
|
26255
|
-
},
|
26256
|
-
"default": "''",
|
26257
|
-
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
26258
|
-
"fieldName": "value",
|
26259
|
-
"inheritedFrom": {
|
26260
|
-
"name": "FormInternalsMixin",
|
26261
|
-
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
26262
|
-
}
|
26263
|
-
},
|
26264
|
-
{
|
26265
|
-
"name": "validation-message",
|
26266
|
-
"type": {
|
26267
|
-
"text": "string | undefined"
|
26268
|
-
},
|
26269
|
-
"description": "Custom validation message that will override the default message and displayed when the input is invalid.",
|
26270
|
-
"fieldName": "validationMessage",
|
26271
|
-
"inheritedFrom": {
|
26272
|
-
"name": "FormInternalsMixin",
|
26273
|
-
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
26274
|
-
}
|
26275
|
-
},
|
26276
|
-
{
|
26277
|
-
"name": "data-aria-label",
|
26278
|
-
"type": {
|
26279
|
-
"text": "string | null"
|
26280
|
-
},
|
26281
|
-
"default": "null",
|
26282
|
-
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
26283
|
-
"fieldName": "dataAriaLabel",
|
26284
|
-
"inheritedFrom": {
|
26285
|
-
"name": "DataAriaLabelMixin",
|
26286
|
-
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
26287
|
-
}
|
26288
|
-
},
|
26289
|
-
{
|
25894
|
+
"name": "placeholder",
|
25895
|
+
"type": {
|
25896
|
+
"text": "string"
|
25897
|
+
},
|
25898
|
+
"default": "''",
|
25899
|
+
"description": "The placeholder text that is displayed when the input field is empty.",
|
25900
|
+
"fieldName": "placeholder",
|
25901
|
+
"inheritedFrom": {
|
25902
|
+
"name": "Input",
|
25903
|
+
"module": "src/components/input/input.component.ts"
|
25904
|
+
}
|
25905
|
+
},
|
25906
|
+
{
|
25907
|
+
"name": "readonly",
|
25908
|
+
"type": {
|
25909
|
+
"text": "boolean"
|
25910
|
+
},
|
25911
|
+
"default": "false",
|
25912
|
+
"description": "readonly attribute of the input field. If true, the input field is read-only.",
|
25913
|
+
"fieldName": "readonly",
|
25914
|
+
"inheritedFrom": {
|
25915
|
+
"name": "Input",
|
25916
|
+
"module": "src/components/input/input.component.ts"
|
25917
|
+
}
|
25918
|
+
},
|
25919
|
+
{
|
25920
|
+
"name": "prefix-text",
|
25921
|
+
"type": {
|
25922
|
+
"text": "string | undefined"
|
25923
|
+
},
|
25924
|
+
"description": "The prefix text that is displayed before the input field. It has a max length of 10 characters.\nWhen the prefix text is set, make sure to set the 'data-aria-label'\nattribute with the appropriate value for accessibility.",
|
25925
|
+
"fieldName": "prefixText",
|
25926
|
+
"inheritedFrom": {
|
25927
|
+
"name": "Input",
|
25928
|
+
"module": "src/components/input/input.component.ts"
|
25929
|
+
}
|
25930
|
+
},
|
25931
|
+
{
|
25932
|
+
"name": "leading-icon",
|
25933
|
+
"type": {
|
25934
|
+
"text": "IconNames | undefined"
|
25935
|
+
},
|
25936
|
+
"description": "The leading icon that is displayed before the input field.",
|
25937
|
+
"fieldName": "leadingIcon",
|
25938
|
+
"inheritedFrom": {
|
25939
|
+
"name": "Input",
|
25940
|
+
"module": "src/components/input/input.component.ts"
|
25941
|
+
}
|
25942
|
+
},
|
25943
|
+
{
|
25944
|
+
"name": "trailing-button",
|
25945
|
+
"type": {
|
25946
|
+
"text": "boolean"
|
25947
|
+
},
|
25948
|
+
"default": "false",
|
25949
|
+
"description": "The trailing button when set to true, shows a clear button that clears the input field.",
|
25950
|
+
"fieldName": "trailingButton",
|
25951
|
+
"inheritedFrom": {
|
25952
|
+
"name": "Input",
|
25953
|
+
"module": "src/components/input/input.component.ts"
|
25954
|
+
}
|
25955
|
+
},
|
25956
|
+
{
|
25957
|
+
"name": "maxlength",
|
25958
|
+
"type": {
|
25959
|
+
"text": "number | undefined"
|
25960
|
+
},
|
25961
|
+
"description": "The maximum number of characters that the input field can accept.",
|
25962
|
+
"fieldName": "maxlength",
|
25963
|
+
"inheritedFrom": {
|
25964
|
+
"name": "Input",
|
25965
|
+
"module": "src/components/input/input.component.ts"
|
25966
|
+
}
|
25967
|
+
},
|
25968
|
+
{
|
25969
|
+
"name": "minlength",
|
25970
|
+
"type": {
|
25971
|
+
"text": "number | undefined"
|
25972
|
+
},
|
25973
|
+
"description": "The minimum number of characters that the input field can accept.",
|
25974
|
+
"fieldName": "minlength",
|
25975
|
+
"inheritedFrom": {
|
25976
|
+
"name": "Input",
|
25977
|
+
"module": "src/components/input/input.component.ts"
|
25978
|
+
}
|
25979
|
+
},
|
25980
|
+
{
|
25981
|
+
"name": "autocapitalize",
|
25982
|
+
"type": {
|
25983
|
+
"text": "AutoCapitalizeType"
|
25984
|
+
},
|
25985
|
+
"description": "The autocapitalize attribute of the input field.",
|
25986
|
+
"default": "'off'",
|
25987
|
+
"fieldName": "autocapitalize",
|
25988
|
+
"inheritedFrom": {
|
25989
|
+
"name": "Input",
|
25990
|
+
"module": "src/components/input/input.component.ts"
|
25991
|
+
}
|
25992
|
+
},
|
25993
|
+
{
|
25994
|
+
"name": "autocomplete",
|
25995
|
+
"type": {
|
25996
|
+
"text": "AutoCompleteType"
|
25997
|
+
},
|
25998
|
+
"description": "The autocomplete attribute of the input field.",
|
25999
|
+
"default": "'off'",
|
26000
|
+
"fieldName": "autocomplete",
|
26001
|
+
"inheritedFrom": {
|
26002
|
+
"name": "Input",
|
26003
|
+
"module": "src/components/input/input.component.ts"
|
26004
|
+
}
|
26005
|
+
},
|
26006
|
+
{
|
26007
|
+
"name": "autofocus",
|
26008
|
+
"type": {
|
26009
|
+
"text": "boolean"
|
26010
|
+
},
|
26011
|
+
"default": "false",
|
26012
|
+
"description": "If true, the input field is focused when the component is rendered.",
|
26013
|
+
"fieldName": "autofocus",
|
26014
|
+
"inheritedFrom": {
|
26015
|
+
"name": "Input",
|
26016
|
+
"module": "src/components/input/input.component.ts"
|
26017
|
+
}
|
26018
|
+
},
|
26019
|
+
{
|
26020
|
+
"name": "dirname",
|
26021
|
+
"type": {
|
26022
|
+
"text": "string | undefined"
|
26023
|
+
},
|
26024
|
+
"description": "Specifies the name of the directionality of text for submission purposes (e.g., \"rtl\" for right-to-left).",
|
26025
|
+
"fieldName": "dirname",
|
26026
|
+
"inheritedFrom": {
|
26027
|
+
"name": "Input",
|
26028
|
+
"module": "src/components/input/input.component.ts"
|
26029
|
+
}
|
26030
|
+
},
|
26031
|
+
{
|
26032
|
+
"name": "pattern",
|
26033
|
+
"type": {
|
26034
|
+
"text": "string | undefined"
|
26035
|
+
},
|
26036
|
+
"description": "The pattern attribute of the input field.\nSpecifies a regular expression that the input value must match for validation purposes.",
|
26037
|
+
"fieldName": "pattern",
|
26038
|
+
"inheritedFrom": {
|
26039
|
+
"name": "Input",
|
26040
|
+
"module": "src/components/input/input.component.ts"
|
26041
|
+
}
|
26042
|
+
},
|
26043
|
+
{
|
26044
|
+
"name": "list",
|
26045
|
+
"type": {
|
26046
|
+
"text": "string | undefined"
|
26047
|
+
},
|
26048
|
+
"description": "The list attribute of the input field.\nIdentifies a list of pre-defined options to suggest to the user.",
|
26049
|
+
"fieldName": "list",
|
26050
|
+
"inheritedFrom": {
|
26051
|
+
"name": "Input",
|
26052
|
+
"module": "src/components/input/input.component.ts"
|
26053
|
+
}
|
26054
|
+
},
|
26055
|
+
{
|
26056
|
+
"name": "size",
|
26057
|
+
"type": {
|
26058
|
+
"text": "number | undefined | undefined"
|
26059
|
+
},
|
26060
|
+
"description": "The size attribute of the input field.\nSpecifies the width of the input field.",
|
26061
|
+
"default": "undefined",
|
26062
|
+
"fieldName": "size",
|
26063
|
+
"inheritedFrom": {
|
26064
|
+
"name": "Input",
|
26065
|
+
"module": "src/components/input/input.component.ts"
|
26066
|
+
}
|
26067
|
+
},
|
26068
|
+
{
|
26069
|
+
"name": "clear-aria-label",
|
26070
|
+
"type": {
|
26071
|
+
"text": "string"
|
26072
|
+
},
|
26073
|
+
"default": "''",
|
26074
|
+
"description": "Aria label for the trailing button. If trailing button is set to true, this label is used for the clear button.",
|
26075
|
+
"fieldName": "clearAriaLabel",
|
26076
|
+
"inheritedFrom": {
|
26077
|
+
"name": "Input",
|
26078
|
+
"module": "src/components/input/input.component.ts"
|
26079
|
+
}
|
26080
|
+
},
|
26081
|
+
{
|
26290
26082
|
"name": "disabled",
|
26291
26083
|
"type": {
|
26292
26084
|
"text": "boolean | undefined"
|
@@ -26399,23 +26191,183 @@
|
|
26399
26191
|
}
|
26400
26192
|
}
|
26401
26193
|
],
|
26402
|
-
"
|
26194
|
+
"cssProperties": [
|
26403
26195
|
{
|
26404
|
-
"
|
26405
|
-
"
|
26196
|
+
"description": "Border color for the input container when disabled",
|
26197
|
+
"name": "--mdc-input-disabled-border-color",
|
26198
|
+
"inheritedFrom": {
|
26199
|
+
"name": "Input",
|
26200
|
+
"module": "src/components/input/input.component.ts"
|
26201
|
+
}
|
26406
26202
|
},
|
26407
26203
|
{
|
26408
|
-
"
|
26409
|
-
"
|
26204
|
+
"description": "Text color for the input field when disabled",
|
26205
|
+
"name": "--mdc-input-disabled-text-color",
|
26206
|
+
"inheritedFrom": {
|
26207
|
+
"name": "Input",
|
26208
|
+
"module": "src/components/input/input.component.ts"
|
26209
|
+
}
|
26210
|
+
},
|
26211
|
+
{
|
26212
|
+
"description": "Background color for the input field when disabled",
|
26213
|
+
"name": "--mdc-input-disabled-background-color",
|
26214
|
+
"inheritedFrom": {
|
26215
|
+
"name": "Input",
|
26216
|
+
"module": "src/components/input/input.component.ts"
|
26217
|
+
}
|
26218
|
+
},
|
26219
|
+
{
|
26220
|
+
"description": "Border color for the input container",
|
26221
|
+
"name": "--mdc-input-border-color",
|
26222
|
+
"inheritedFrom": {
|
26223
|
+
"name": "Input",
|
26224
|
+
"module": "src/components/input/input.component.ts"
|
26225
|
+
}
|
26226
|
+
},
|
26227
|
+
{
|
26228
|
+
"description": "Text color for the input field",
|
26229
|
+
"name": "--mdc-input-text-color",
|
26230
|
+
"inheritedFrom": {
|
26231
|
+
"name": "Input",
|
26232
|
+
"module": "src/components/input/input.component.ts"
|
26233
|
+
}
|
26234
|
+
},
|
26235
|
+
{
|
26236
|
+
"description": "Background color for the input field",
|
26237
|
+
"name": "--mdc-input-background-color",
|
26238
|
+
"inheritedFrom": {
|
26239
|
+
"name": "Input",
|
26240
|
+
"module": "src/components/input/input.component.ts"
|
26241
|
+
}
|
26242
|
+
},
|
26243
|
+
{
|
26244
|
+
"description": "Background color for the selected text",
|
26245
|
+
"name": "--mdc-input-selection-background-color",
|
26246
|
+
"inheritedFrom": {
|
26247
|
+
"name": "Input",
|
26248
|
+
"module": "src/components/input/input.component.ts"
|
26249
|
+
}
|
26250
|
+
},
|
26251
|
+
{
|
26252
|
+
"description": "Text color for the selected text",
|
26253
|
+
"name": "--mdc-input-selection-text-color",
|
26254
|
+
"inheritedFrom": {
|
26255
|
+
"name": "Input",
|
26256
|
+
"module": "src/components/input/input.component.ts"
|
26257
|
+
}
|
26258
|
+
},
|
26259
|
+
{
|
26260
|
+
"description": "Text color for the help text",
|
26261
|
+
"name": "--mdc-input-support-text-color",
|
26262
|
+
"inheritedFrom": {
|
26263
|
+
"name": "Input",
|
26264
|
+
"module": "src/components/input/input.component.ts"
|
26265
|
+
}
|
26266
|
+
},
|
26267
|
+
{
|
26268
|
+
"description": "Background color for the input field when hovered",
|
26269
|
+
"name": "--mdc-input-hover-background-color",
|
26270
|
+
"inheritedFrom": {
|
26271
|
+
"name": "Input",
|
26272
|
+
"module": "src/components/input/input.component.ts"
|
26273
|
+
}
|
26274
|
+
},
|
26275
|
+
{
|
26276
|
+
"description": "Background color for the input field when focused",
|
26277
|
+
"name": "--mdc-input-focused-background-color",
|
26278
|
+
"inheritedFrom": {
|
26279
|
+
"name": "Input",
|
26280
|
+
"module": "src/components/input/input.component.ts"
|
26281
|
+
}
|
26282
|
+
},
|
26283
|
+
{
|
26284
|
+
"description": "Border color for the input container when focused",
|
26285
|
+
"name": "--mdc-input-focused-border-color",
|
26286
|
+
"inheritedFrom": {
|
26287
|
+
"name": "Input",
|
26288
|
+
"module": "src/components/input/input.component.ts"
|
26289
|
+
}
|
26290
|
+
},
|
26291
|
+
{
|
26292
|
+
"description": "Border color for the input container when error",
|
26293
|
+
"name": "--mdc-input-error-border-color",
|
26294
|
+
"inheritedFrom": {
|
26295
|
+
"name": "Input",
|
26296
|
+
"module": "src/components/input/input.component.ts"
|
26297
|
+
}
|
26298
|
+
},
|
26299
|
+
{
|
26300
|
+
"description": "Border color for the input container when warning",
|
26301
|
+
"name": "--mdc-input-warning-border-color",
|
26302
|
+
"inheritedFrom": {
|
26303
|
+
"name": "Input",
|
26304
|
+
"module": "src/components/input/input.component.ts"
|
26305
|
+
}
|
26306
|
+
},
|
26307
|
+
{
|
26308
|
+
"description": "Border color for the input container when success",
|
26309
|
+
"name": "--mdc-input-success-border-color",
|
26310
|
+
"inheritedFrom": {
|
26311
|
+
"name": "Input",
|
26312
|
+
"module": "src/components/input/input.component.ts"
|
26313
|
+
}
|
26314
|
+
},
|
26315
|
+
{
|
26316
|
+
"description": "Border color for the input container when primary",
|
26317
|
+
"name": "--mdc-input-primary-border-color",
|
26318
|
+
"inheritedFrom": {
|
26319
|
+
"name": "Input",
|
26320
|
+
"module": "src/components/input/input.component.ts"
|
26321
|
+
}
|
26410
26322
|
}
|
26411
26323
|
],
|
26412
|
-
"
|
26413
|
-
|
26414
|
-
|
26415
|
-
|
26416
|
-
|
26417
|
-
|
26418
|
-
|
26324
|
+
"events": [
|
26325
|
+
{
|
26326
|
+
"type": {
|
26327
|
+
"text": "EventConstructor"
|
26328
|
+
},
|
26329
|
+
"inheritedFrom": {
|
26330
|
+
"name": "Input",
|
26331
|
+
"module": "src/components/input/input.component.ts"
|
26332
|
+
}
|
26333
|
+
},
|
26334
|
+
{
|
26335
|
+
"description": "(React: onInput) This event is dispatched when the value of the input field changes (every press).",
|
26336
|
+
"name": "input",
|
26337
|
+
"reactName": "onInput",
|
26338
|
+
"inheritedFrom": {
|
26339
|
+
"name": "Input",
|
26340
|
+
"module": "src/components/input/input.component.ts"
|
26341
|
+
}
|
26342
|
+
},
|
26343
|
+
{
|
26344
|
+
"description": "(React: onChange) This event is dispatched when the value of the input field changes (on blur).",
|
26345
|
+
"name": "change",
|
26346
|
+
"reactName": "onChange",
|
26347
|
+
"inheritedFrom": {
|
26348
|
+
"name": "Input",
|
26349
|
+
"module": "src/components/input/input.component.ts"
|
26350
|
+
}
|
26351
|
+
},
|
26352
|
+
{
|
26353
|
+
"description": "(React: onFocus) This event is dispatched when the input receives focus.",
|
26354
|
+
"name": "focus",
|
26355
|
+
"reactName": "onFocus",
|
26356
|
+
"inheritedFrom": {
|
26357
|
+
"name": "Input",
|
26358
|
+
"module": "src/components/input/input.component.ts"
|
26359
|
+
}
|
26360
|
+
},
|
26361
|
+
{
|
26362
|
+
"description": "(React: onBlur) This event is dispatched when the input loses focus.",
|
26363
|
+
"name": "blur",
|
26364
|
+
"reactName": "onBlur",
|
26365
|
+
"inheritedFrom": {
|
26366
|
+
"name": "Input",
|
26367
|
+
"module": "src/components/input/input.component.ts"
|
26368
|
+
}
|
26369
|
+
}
|
26370
|
+
]
|
26419
26371
|
}
|
26420
26372
|
],
|
26421
26373
|
"exports": [
|
@@ -26423,8 +26375,8 @@
|
|
26423
26375
|
"kind": "js",
|
26424
26376
|
"name": "default",
|
26425
26377
|
"declaration": {
|
26426
|
-
"name": "
|
26427
|
-
"module": "components/
|
26378
|
+
"name": "Searchfield",
|
26379
|
+
"module": "components/searchfield/searchfield.component.js"
|
26428
26380
|
}
|
26429
26381
|
}
|
26430
26382
|
]
|
@@ -36490,26 +36442,6 @@
|
|
36490
36442
|
],
|
36491
36443
|
"description": "Gets the parent menu contents of the given current menu item.\nIt recursively traverses up the DOM tree until it finds the parent menu element\nand gets the parent menu item details and the children of the parent menu item."
|
36492
36444
|
},
|
36493
|
-
{
|
36494
|
-
"kind": "method",
|
36495
|
-
"name": "setFocusToParentMenuItem",
|
36496
|
-
"privacy": "private",
|
36497
|
-
"return": {
|
36498
|
-
"type": {
|
36499
|
-
"text": "void"
|
36500
|
-
}
|
36501
|
-
},
|
36502
|
-
"parameters": [
|
36503
|
-
{
|
36504
|
-
"name": "currentMenuItem",
|
36505
|
-
"type": {
|
36506
|
-
"text": "HTMLElement | null"
|
36507
|
-
},
|
36508
|
-
"description": "The current menu item from which to find and focus the parent menu item."
|
36509
|
-
}
|
36510
|
-
],
|
36511
|
-
"description": "Sets focus to the parent menu item of the given current menu item.\nIt retrieves the parent menu item details and its children, then focuses\non the menu item that matches the parent menu child ID."
|
36512
|
-
},
|
36513
36445
|
{
|
36514
36446
|
"kind": "method",
|
36515
36447
|
"name": "openPopoverAndNavigateToNextChildrenMenuItem",
|