@momentum-design/components 0.102.7 → 0.102.9
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 +6 -2
- package/dist/browser/index.js.map +3 -3
- package/dist/components/listitem/listitem.styles.js +5 -0
- package/dist/components/navmenuitem/navmenuitem.styles.js +0 -1
- package/dist/components/select/select.component.js +12 -14
- package/dist/custom-elements.json +1317 -1317
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +3 -3
- package/package.json +1 -1
@@ -30560,426 +30560,502 @@
|
|
30560
30560
|
},
|
30561
30561
|
{
|
30562
30562
|
"kind": "javascript-module",
|
30563
|
-
"path": "components/
|
30563
|
+
"path": "components/searchfield/searchfield.component.js",
|
30564
30564
|
"declarations": [
|
30565
30565
|
{
|
30566
30566
|
"kind": "class",
|
30567
|
-
"description": "
|
30568
|
-
"name": "
|
30567
|
+
"description": "`mdc-searchfield` component is used as an input field for search functionality.\n\nIt supports `mdc-inputchip` as filters.\n\nThis component is built by extending the `mdc-input` component.",
|
30568
|
+
"name": "Searchfield",
|
30569
30569
|
"slots": [
|
30570
30570
|
{
|
30571
|
-
"description": "
|
30572
|
-
"name": "
|
30571
|
+
"description": "Slot for input chips",
|
30572
|
+
"name": "filters"
|
30573
30573
|
}
|
30574
30574
|
],
|
30575
30575
|
"members": [
|
30576
30576
|
{
|
30577
30577
|
"kind": "field",
|
30578
|
-
"name": "
|
30578
|
+
"name": "inputChips",
|
30579
30579
|
"type": {
|
30580
|
-
"text": "
|
30581
|
-
}
|
30582
|
-
|
30583
|
-
|
30580
|
+
"text": "Array<HTMLElement> | undefined"
|
30581
|
+
}
|
30582
|
+
},
|
30583
|
+
{
|
30584
|
+
"kind": "method",
|
30585
|
+
"name": "handleKeyDown",
|
30586
|
+
"privacy": "protected",
|
30587
|
+
"parameters": [
|
30588
|
+
{
|
30589
|
+
"name": "event",
|
30590
|
+
"type": {
|
30591
|
+
"text": "KeyboardEvent"
|
30592
|
+
},
|
30593
|
+
"description": "Keyboard event"
|
30594
|
+
}
|
30595
|
+
],
|
30596
|
+
"description": "Handles the keydown event of the search field.\nIf the key pressed is 'Enter', it submits the form.\nIf the key pressed is 'Escape', it clears the input text.",
|
30597
|
+
"inheritedFrom": {
|
30598
|
+
"name": "Input",
|
30599
|
+
"module": "components/input/input.component.js"
|
30600
|
+
}
|
30601
|
+
},
|
30602
|
+
{
|
30603
|
+
"kind": "method",
|
30604
|
+
"name": "renderInputChips",
|
30605
|
+
"privacy": "private",
|
30606
|
+
"description": "This method is used to render the input chips inside filters slot.\nIt will remove any elements that are not input chips."
|
30607
|
+
},
|
30608
|
+
{
|
30609
|
+
"kind": "method",
|
30610
|
+
"name": "clearInputText",
|
30611
|
+
"privacy": "protected",
|
30612
|
+
"description": "Clears the input field.",
|
30613
|
+
"inheritedFrom": {
|
30614
|
+
"name": "Input",
|
30615
|
+
"module": "components/input/input.component.js"
|
30616
|
+
}
|
30584
30617
|
},
|
30585
30618
|
{
|
30586
30619
|
"kind": "field",
|
30587
|
-
"name": "
|
30620
|
+
"name": "name",
|
30588
30621
|
"type": {
|
30589
|
-
"text": "
|
30622
|
+
"text": "string"
|
30590
30623
|
},
|
30591
|
-
"default": "
|
30592
|
-
"description": "
|
30593
|
-
"attribute": "
|
30624
|
+
"default": "''",
|
30625
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
30626
|
+
"attribute": "name",
|
30627
|
+
"reflects": true,
|
30628
|
+
"inheritedFrom": {
|
30629
|
+
"name": "FormInternalsMixin",
|
30630
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
30631
|
+
}
|
30594
30632
|
},
|
30595
30633
|
{
|
30596
30634
|
"kind": "field",
|
30597
|
-
"name": "
|
30635
|
+
"name": "value",
|
30598
30636
|
"type": {
|
30599
30637
|
"text": "string"
|
30600
30638
|
},
|
30601
|
-
"default": "'
|
30602
|
-
"description": "
|
30603
|
-
"attribute": "
|
30639
|
+
"default": "''",
|
30640
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
30641
|
+
"attribute": "value",
|
30642
|
+
"reflects": true,
|
30643
|
+
"inheritedFrom": {
|
30644
|
+
"name": "FormInternalsMixin",
|
30645
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
30646
|
+
}
|
30604
30647
|
},
|
30605
30648
|
{
|
30606
30649
|
"kind": "field",
|
30607
|
-
"name": "
|
30650
|
+
"name": "validationMessage",
|
30608
30651
|
"type": {
|
30609
|
-
"text": "
|
30652
|
+
"text": "string | undefined"
|
30610
30653
|
},
|
30611
|
-
"description": "
|
30612
|
-
"attribute": "
|
30613
|
-
"reflects": true
|
30654
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
|
30655
|
+
"attribute": "validation-message",
|
30656
|
+
"reflects": true,
|
30657
|
+
"inheritedFrom": {
|
30658
|
+
"name": "FormInternalsMixin",
|
30659
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
30660
|
+
}
|
30614
30661
|
},
|
30615
30662
|
{
|
30616
30663
|
"kind": "field",
|
30617
|
-
"name": "
|
30664
|
+
"name": "validity",
|
30618
30665
|
"type": {
|
30619
|
-
"text": "
|
30666
|
+
"text": "ValidityState"
|
30620
30667
|
},
|
30621
|
-
"
|
30622
|
-
"
|
30623
|
-
|
30668
|
+
"readonly": true,
|
30669
|
+
"inheritedFrom": {
|
30670
|
+
"name": "FormInternalsMixin",
|
30671
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
30672
|
+
}
|
30624
30673
|
},
|
30625
30674
|
{
|
30626
|
-
"kind": "
|
30627
|
-
"name": "
|
30628
|
-
"
|
30629
|
-
"
|
30630
|
-
"
|
30631
|
-
|
30632
|
-
}
|
30675
|
+
"kind": "field",
|
30676
|
+
"name": "willValidate",
|
30677
|
+
"readonly": true,
|
30678
|
+
"inheritedFrom": {
|
30679
|
+
"name": "FormInternalsMixin",
|
30680
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
30633
30681
|
}
|
30634
30682
|
},
|
30635
30683
|
{
|
30636
30684
|
"kind": "method",
|
30637
|
-
"name": "
|
30638
|
-
"
|
30685
|
+
"name": "setValidity",
|
30686
|
+
"description": "Sets the validity of the input field based on the input field's validity.",
|
30639
30687
|
"return": {
|
30640
30688
|
"type": {
|
30641
|
-
"text": "
|
30689
|
+
"text": ""
|
30642
30690
|
}
|
30691
|
+
},
|
30692
|
+
"inheritedFrom": {
|
30693
|
+
"name": "FormInternalsMixin",
|
30694
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
30643
30695
|
}
|
30644
30696
|
},
|
30645
30697
|
{
|
30646
30698
|
"kind": "method",
|
30647
|
-
"name": "
|
30648
|
-
"privacy": "private",
|
30699
|
+
"name": "checkValidity",
|
30649
30700
|
"return": {
|
30650
30701
|
"type": {
|
30651
|
-
"text": "
|
30702
|
+
"text": "boolean"
|
30652
30703
|
}
|
30704
|
+
},
|
30705
|
+
"inheritedFrom": {
|
30706
|
+
"name": "FormInternalsMixin",
|
30707
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
30653
30708
|
}
|
30654
30709
|
},
|
30655
30710
|
{
|
30656
30711
|
"kind": "method",
|
30657
|
-
"name": "
|
30658
|
-
"
|
30659
|
-
|
30660
|
-
"
|
30661
|
-
"text": "Option | null"
|
30662
|
-
}
|
30712
|
+
"name": "reportValidity",
|
30713
|
+
"inheritedFrom": {
|
30714
|
+
"name": "FormInternalsMixin",
|
30715
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
30663
30716
|
}
|
30664
30717
|
},
|
30665
30718
|
{
|
30666
|
-
"kind": "
|
30667
|
-
"name": "
|
30668
|
-
"
|
30669
|
-
|
30719
|
+
"kind": "field",
|
30720
|
+
"name": "dataAriaLabel",
|
30721
|
+
"type": {
|
30722
|
+
"text": "string | null"
|
30723
|
+
},
|
30724
|
+
"default": "null",
|
30725
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
30726
|
+
"attribute": "data-aria-label",
|
30727
|
+
"reflects": true,
|
30728
|
+
"inheritedFrom": {
|
30729
|
+
"name": "DataAriaLabelMixin",
|
30730
|
+
"module": "utils/mixins/DataAriaLabelMixin.js"
|
30731
|
+
}
|
30670
30732
|
},
|
30671
30733
|
{
|
30672
|
-
"kind": "
|
30673
|
-
"name": "
|
30674
|
-
"
|
30675
|
-
|
30676
|
-
"type": {
|
30677
|
-
"text": "void"
|
30678
|
-
}
|
30734
|
+
"kind": "field",
|
30735
|
+
"name": "placeholder",
|
30736
|
+
"type": {
|
30737
|
+
"text": "string"
|
30679
30738
|
},
|
30680
|
-
"
|
30681
|
-
|
30682
|
-
|
30683
|
-
|
30684
|
-
|
30685
|
-
|
30686
|
-
|
30687
|
-
}
|
30688
|
-
],
|
30689
|
-
"description": "A private method which is called when an option is clicked.\nIt sets the selected option, removes selected from other options, updates the tabindex for all options,\ncloses the popover, and fires the change and input events."
|
30739
|
+
"default": "''",
|
30740
|
+
"description": "The placeholder text that is displayed when the input field is empty.",
|
30741
|
+
"attribute": "placeholder",
|
30742
|
+
"inheritedFrom": {
|
30743
|
+
"name": "Input",
|
30744
|
+
"module": "components/input/input.component.js"
|
30745
|
+
}
|
30690
30746
|
},
|
30691
30747
|
{
|
30692
|
-
"kind": "
|
30693
|
-
"name": "
|
30694
|
-
"
|
30695
|
-
|
30696
|
-
"type": {
|
30697
|
-
"text": "void"
|
30698
|
-
}
|
30748
|
+
"kind": "field",
|
30749
|
+
"name": "readonly",
|
30750
|
+
"type": {
|
30751
|
+
"text": "boolean"
|
30699
30752
|
},
|
30700
|
-
"
|
30701
|
-
|
30702
|
-
|
30703
|
-
|
30704
|
-
|
30705
|
-
|
30706
|
-
|
30707
|
-
}
|
30708
|
-
],
|
30709
|
-
"description": "Sets the selected option in the component state and updates the input element's value.\nThis method ensures that only the selected option is marked as selected in the DOM,\nand updates the tabindex for all options accordingly.\nIt also updates the validity of the input element based on the selected option.\nThis method is called when an option is selected."
|
30753
|
+
"default": "false",
|
30754
|
+
"description": "readonly attribute of the input field. If true, the input field is read-only.",
|
30755
|
+
"attribute": "readonly",
|
30756
|
+
"inheritedFrom": {
|
30757
|
+
"name": "Input",
|
30758
|
+
"module": "components/input/input.component.js"
|
30759
|
+
}
|
30710
30760
|
},
|
30711
30761
|
{
|
30712
|
-
"kind": "
|
30713
|
-
"name": "
|
30714
|
-
"
|
30715
|
-
|
30716
|
-
"type": {
|
30717
|
-
"text": "void"
|
30718
|
-
}
|
30762
|
+
"kind": "field",
|
30763
|
+
"name": "prefixText",
|
30764
|
+
"type": {
|
30765
|
+
"text": "string | undefined"
|
30719
30766
|
},
|
30720
|
-
"
|
30721
|
-
|
30722
|
-
|
30723
|
-
|
30724
|
-
|
30725
|
-
|
30726
|
-
},
|
30727
|
-
"description": "The option which tabIndex should be set to 0."
|
30728
|
-
}
|
30729
|
-
],
|
30730
|
-
"description": "Updates the tabindex of all options.\nSets the tabindex of the selected option to '0' and others to '-1'."
|
30767
|
+
"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.",
|
30768
|
+
"attribute": "prefix-text",
|
30769
|
+
"inheritedFrom": {
|
30770
|
+
"name": "Input",
|
30771
|
+
"module": "components/input/input.component.js"
|
30772
|
+
}
|
30731
30773
|
},
|
30732
30774
|
{
|
30733
|
-
"kind": "
|
30734
|
-
"name": "
|
30735
|
-
"
|
30736
|
-
|
30737
|
-
"type": {
|
30738
|
-
"text": "void"
|
30739
|
-
}
|
30775
|
+
"kind": "field",
|
30776
|
+
"name": "leadingIcon",
|
30777
|
+
"type": {
|
30778
|
+
"text": "IconNames | undefined"
|
30740
30779
|
},
|
30741
|
-
"
|
30742
|
-
|
30743
|
-
|
30744
|
-
|
30745
|
-
|
30746
|
-
|
30747
|
-
"description": "The option which gets selected"
|
30748
|
-
}
|
30749
|
-
],
|
30750
|
-
"description": "Sets selected attribute on the selected option and removes it from all options"
|
30780
|
+
"description": "The leading icon that is displayed before the input field.",
|
30781
|
+
"attribute": "leading-icon",
|
30782
|
+
"inheritedFrom": {
|
30783
|
+
"name": "Input",
|
30784
|
+
"module": "components/input/input.component.js"
|
30785
|
+
}
|
30751
30786
|
},
|
30752
30787
|
{
|
30753
|
-
"kind": "
|
30754
|
-
"name": "
|
30755
|
-
"
|
30756
|
-
|
30757
|
-
"type": {
|
30758
|
-
"text": "void"
|
30759
|
-
}
|
30788
|
+
"kind": "field",
|
30789
|
+
"name": "trailingButton",
|
30790
|
+
"type": {
|
30791
|
+
"text": "boolean"
|
30760
30792
|
},
|
30761
|
-
"
|
30793
|
+
"default": "false",
|
30794
|
+
"description": "The trailing button when set to true, shows a clear button that clears the input field.",
|
30795
|
+
"attribute": "trailing-button",
|
30796
|
+
"inheritedFrom": {
|
30797
|
+
"name": "Input",
|
30798
|
+
"module": "components/input/input.component.js"
|
30799
|
+
}
|
30762
30800
|
},
|
30763
30801
|
{
|
30764
|
-
"kind": "
|
30765
|
-
"name": "
|
30766
|
-
"
|
30767
|
-
|
30768
|
-
"type": {
|
30769
|
-
"text": "void"
|
30770
|
-
}
|
30802
|
+
"kind": "field",
|
30803
|
+
"name": "maxlength",
|
30804
|
+
"type": {
|
30805
|
+
"text": "number | undefined"
|
30771
30806
|
},
|
30772
|
-
"
|
30773
|
-
|
30774
|
-
|
30775
|
-
|
30776
|
-
|
30777
|
-
|
30778
|
-
}
|
30779
|
-
]
|
30807
|
+
"description": "The maximum number of characters that the input field can accept.",
|
30808
|
+
"attribute": "maxlength",
|
30809
|
+
"inheritedFrom": {
|
30810
|
+
"name": "Input",
|
30811
|
+
"module": "components/input/input.component.js"
|
30812
|
+
}
|
30780
30813
|
},
|
30781
30814
|
{
|
30782
|
-
"kind": "
|
30783
|
-
"name": "
|
30784
|
-
"
|
30785
|
-
|
30786
|
-
"type": {
|
30787
|
-
"text": "void"
|
30788
|
-
}
|
30815
|
+
"kind": "field",
|
30816
|
+
"name": "minlength",
|
30817
|
+
"type": {
|
30818
|
+
"text": "number | undefined"
|
30789
30819
|
},
|
30790
|
-
"
|
30791
|
-
|
30792
|
-
|
30793
|
-
|
30794
|
-
|
30795
|
-
|
30796
|
-
}
|
30797
|
-
]
|
30820
|
+
"description": "The minimum number of characters that the input field can accept.",
|
30821
|
+
"attribute": "minlength",
|
30822
|
+
"inheritedFrom": {
|
30823
|
+
"name": "Input",
|
30824
|
+
"module": "components/input/input.component.js"
|
30825
|
+
}
|
30798
30826
|
},
|
30799
30827
|
{
|
30800
|
-
"kind": "
|
30801
|
-
"name": "
|
30802
|
-
"
|
30803
|
-
|
30804
|
-
"type": {
|
30805
|
-
"text": "void"
|
30806
|
-
}
|
30828
|
+
"kind": "field",
|
30829
|
+
"name": "autocapitalize",
|
30830
|
+
"type": {
|
30831
|
+
"text": "AutoCapitalizeType"
|
30807
30832
|
},
|
30808
|
-
"
|
30809
|
-
|
30810
|
-
|
30811
|
-
|
30812
|
-
|
30813
|
-
|
30814
|
-
|
30815
|
-
}
|
30816
|
-
],
|
30817
|
-
"description": "Handles the click event on the visual combobox.\nIf the select is disabled, soft-disabled or readonly, it does nothing.\nIf the popover is already open, it closes it.\nIf it is closed, it opens it."
|
30833
|
+
"description": "The autocapitalize attribute of the input field.",
|
30834
|
+
"default": "'off'",
|
30835
|
+
"attribute": "autocapitalize",
|
30836
|
+
"inheritedFrom": {
|
30837
|
+
"name": "Input",
|
30838
|
+
"module": "components/input/input.component.js"
|
30839
|
+
}
|
30818
30840
|
},
|
30819
30841
|
{
|
30820
|
-
"kind": "
|
30821
|
-
"name": "
|
30822
|
-
"
|
30823
|
-
|
30824
|
-
"type": {
|
30825
|
-
"text": "void"
|
30826
|
-
}
|
30842
|
+
"kind": "field",
|
30843
|
+
"name": "autocomplete",
|
30844
|
+
"type": {
|
30845
|
+
"text": "AutoCompleteType"
|
30827
30846
|
},
|
30828
|
-
"
|
30829
|
-
|
30830
|
-
|
30831
|
-
|
30832
|
-
|
30833
|
-
|
30834
|
-
|
30835
|
-
}
|
30836
|
-
],
|
30837
|
-
"description": "Handles the keydown event on the select element when the popover is closed.\nThe options are as follows:\n- ARROW_DOWN, ARROW_UP, SPACE: Opens the popover and prevents the default scrolling behavior.\n- ENTER: Opens the popover, prevents default scrolling, and submits the form if the popover is closed.\n- HOME: Opens the popover and sets focus and tabindex on the first option.\n- END: Opens the popover and sets focus and tabindex on the last option."
|
30847
|
+
"description": "The autocomplete attribute of the input field.",
|
30848
|
+
"default": "'off'",
|
30849
|
+
"attribute": "autocomplete",
|
30850
|
+
"inheritedFrom": {
|
30851
|
+
"name": "Input",
|
30852
|
+
"module": "components/input/input.component.js"
|
30853
|
+
}
|
30838
30854
|
},
|
30839
30855
|
{
|
30840
|
-
"kind": "
|
30841
|
-
"name": "
|
30842
|
-
"
|
30843
|
-
|
30844
|
-
"type": {
|
30845
|
-
"text": "void"
|
30846
|
-
}
|
30856
|
+
"kind": "field",
|
30857
|
+
"name": "autofocus",
|
30858
|
+
"type": {
|
30859
|
+
"text": "boolean"
|
30847
30860
|
},
|
30848
|
-
"
|
30849
|
-
|
30850
|
-
|
30851
|
-
|
30852
|
-
|
30853
|
-
|
30854
|
-
|
30855
|
-
}
|
30856
|
-
],
|
30857
|
-
"description": "Handles the keydown event on the select element when the popover is open.\nThe options are as follows:\n- HOME: Sets focus and tabindex on the first option.\n- END: Sets focus and tabindex on the last option.\n- ARROW_DOWN, ARROW_UP, PAGE_DOWN, PAGE_UP: Handles navigation between options."
|
30861
|
+
"default": "false",
|
30862
|
+
"description": "If true, the input field is focused when the component is rendered.",
|
30863
|
+
"attribute": "autofocus",
|
30864
|
+
"inheritedFrom": {
|
30865
|
+
"name": "Input",
|
30866
|
+
"module": "components/input/input.component.js"
|
30867
|
+
}
|
30858
30868
|
},
|
30859
30869
|
{
|
30860
|
-
"kind": "
|
30861
|
-
"name": "
|
30862
|
-
"
|
30863
|
-
|
30864
|
-
"type": {
|
30865
|
-
"text": "void"
|
30866
|
-
}
|
30870
|
+
"kind": "field",
|
30871
|
+
"name": "dirname",
|
30872
|
+
"type": {
|
30873
|
+
"text": "string | undefined"
|
30867
30874
|
},
|
30868
|
-
"description": "
|
30875
|
+
"description": "Specifies the name of the directionality of text for submission purposes (e.g., \"rtl\" for right-to-left).",
|
30876
|
+
"attribute": "dirname",
|
30877
|
+
"inheritedFrom": {
|
30878
|
+
"name": "Input",
|
30879
|
+
"module": "components/input/input.component.js"
|
30880
|
+
}
|
30869
30881
|
},
|
30870
30882
|
{
|
30871
30883
|
"kind": "field",
|
30872
|
-
"name": "
|
30884
|
+
"name": "pattern",
|
30873
30885
|
"type": {
|
30874
|
-
"text": "string"
|
30886
|
+
"text": "string | undefined"
|
30875
30887
|
},
|
30876
|
-
"
|
30877
|
-
"
|
30878
|
-
"attribute": "name",
|
30879
|
-
"reflects": true,
|
30888
|
+
"description": "The pattern attribute of the input field.\nSpecifies a regular expression that the input value must match for validation purposes.",
|
30889
|
+
"attribute": "pattern",
|
30880
30890
|
"inheritedFrom": {
|
30881
|
-
"name": "
|
30882
|
-
"module": "
|
30891
|
+
"name": "Input",
|
30892
|
+
"module": "components/input/input.component.js"
|
30883
30893
|
}
|
30884
30894
|
},
|
30885
30895
|
{
|
30886
30896
|
"kind": "field",
|
30887
|
-
"name": "
|
30897
|
+
"name": "list",
|
30888
30898
|
"type": {
|
30889
|
-
"text": "string"
|
30899
|
+
"text": "string | undefined"
|
30890
30900
|
},
|
30891
|
-
"
|
30892
|
-
"
|
30893
|
-
"attribute": "value",
|
30894
|
-
"reflects": true,
|
30901
|
+
"description": "The list attribute of the input field.\nIdentifies a list of pre-defined options to suggest to the user.",
|
30902
|
+
"attribute": "list",
|
30895
30903
|
"inheritedFrom": {
|
30896
|
-
"name": "
|
30897
|
-
"module": "
|
30904
|
+
"name": "Input",
|
30905
|
+
"module": "components/input/input.component.js"
|
30898
30906
|
}
|
30899
30907
|
},
|
30900
30908
|
{
|
30901
30909
|
"kind": "field",
|
30902
|
-
"name": "
|
30910
|
+
"name": "size",
|
30903
30911
|
"type": {
|
30904
|
-
"text": "
|
30912
|
+
"text": "number | undefined | undefined"
|
30905
30913
|
},
|
30906
|
-
"description": "
|
30907
|
-
"
|
30908
|
-
"
|
30914
|
+
"description": "The size attribute of the input field.\nSpecifies the width of the input field.",
|
30915
|
+
"default": "undefined",
|
30916
|
+
"attribute": "size",
|
30909
30917
|
"inheritedFrom": {
|
30910
|
-
"name": "
|
30911
|
-
"module": "
|
30918
|
+
"name": "Input",
|
30919
|
+
"module": "components/input/input.component.js"
|
30912
30920
|
}
|
30913
30921
|
},
|
30914
30922
|
{
|
30915
30923
|
"kind": "field",
|
30916
|
-
"name": "
|
30924
|
+
"name": "clearAriaLabel",
|
30917
30925
|
"type": {
|
30918
|
-
"text": "
|
30926
|
+
"text": "string"
|
30919
30927
|
},
|
30920
|
-
"
|
30928
|
+
"default": "''",
|
30929
|
+
"description": "Aria label for the trailing button. If trailing button is set to true, this label is used for the clear button.",
|
30930
|
+
"attribute": "clear-aria-label",
|
30921
30931
|
"inheritedFrom": {
|
30922
|
-
"name": "
|
30923
|
-
"module": "
|
30932
|
+
"name": "Input",
|
30933
|
+
"module": "components/input/input.component.js"
|
30924
30934
|
}
|
30925
30935
|
},
|
30926
30936
|
{
|
30927
|
-
"kind": "
|
30928
|
-
"name": "
|
30929
|
-
"
|
30937
|
+
"kind": "method",
|
30938
|
+
"name": "setInputValidity",
|
30939
|
+
"privacy": "private",
|
30930
30940
|
"inheritedFrom": {
|
30931
|
-
"name": "
|
30932
|
-
"module": "
|
30941
|
+
"name": "Input",
|
30942
|
+
"module": "components/input/input.component.js"
|
30933
30943
|
}
|
30934
30944
|
},
|
30935
30945
|
{
|
30936
30946
|
"kind": "method",
|
30937
|
-
"name": "
|
30938
|
-
"
|
30947
|
+
"name": "updateValue",
|
30948
|
+
"privacy": "private",
|
30949
|
+
"description": "Updates the value of the input field.\nSets the form value.",
|
30939
30950
|
"return": {
|
30940
30951
|
"type": {
|
30941
30952
|
"text": ""
|
30942
30953
|
}
|
30943
30954
|
},
|
30944
30955
|
"inheritedFrom": {
|
30945
|
-
"name": "
|
30946
|
-
"module": "
|
30956
|
+
"name": "Input",
|
30957
|
+
"module": "components/input/input.component.js"
|
30947
30958
|
}
|
30948
30959
|
},
|
30949
30960
|
{
|
30950
30961
|
"kind": "method",
|
30951
|
-
"name": "
|
30962
|
+
"name": "onInput",
|
30963
|
+
"privacy": "private",
|
30964
|
+
"description": "Handles the input event of the input field.\nUpdates the value and sets the validity of the input field.",
|
30965
|
+
"inheritedFrom": {
|
30966
|
+
"name": "Input",
|
30967
|
+
"module": "components/input/input.component.js"
|
30968
|
+
}
|
30969
|
+
},
|
30970
|
+
{
|
30971
|
+
"kind": "method",
|
30972
|
+
"name": "onChange",
|
30973
|
+
"privacy": "private",
|
30974
|
+
"parameters": [
|
30975
|
+
{
|
30976
|
+
"name": "event",
|
30977
|
+
"type": {
|
30978
|
+
"text": "Event"
|
30979
|
+
},
|
30980
|
+
"description": "Event which contains information about the value change."
|
30981
|
+
}
|
30982
|
+
],
|
30983
|
+
"description": "Handles the change event of the input field.\nUpdates the value and sets the validity of the input field.\n\nThe '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",
|
30984
|
+
"inheritedFrom": {
|
30985
|
+
"name": "Input",
|
30986
|
+
"module": "components/input/input.component.js"
|
30987
|
+
}
|
30988
|
+
},
|
30989
|
+
{
|
30990
|
+
"kind": "method",
|
30991
|
+
"name": "renderLeadingIcon",
|
30992
|
+
"privacy": "protected",
|
30993
|
+
"description": "Renders the leading icon before the input field.\nIf the leading icon is not set, it will not be displayed.",
|
30994
|
+
"return": {
|
30995
|
+
"type": {
|
30996
|
+
"text": ""
|
30997
|
+
}
|
30998
|
+
},
|
30999
|
+
"inheritedFrom": {
|
31000
|
+
"name": "Input",
|
31001
|
+
"module": "components/input/input.component.js"
|
31002
|
+
}
|
31003
|
+
},
|
31004
|
+
{
|
31005
|
+
"kind": "method",
|
31006
|
+
"name": "renderPrefixText",
|
31007
|
+
"privacy": "protected",
|
31008
|
+
"description": "Renders the prefix text before the input field.\nIf the prefix text is more than 10 characters,\n- it will not be displayed.\n- the validation messsage will be displayed.\n\n Note: We are setting aria-hidden so that the screen reader does not read the prefix text.\n The consumers should set the appropriate aria-label for the input field using 'data-aria-label' attribute.",
|
31009
|
+
"return": {
|
31010
|
+
"type": {
|
31011
|
+
"text": ""
|
31012
|
+
}
|
31013
|
+
},
|
31014
|
+
"inheritedFrom": {
|
31015
|
+
"name": "Input",
|
31016
|
+
"module": "components/input/input.component.js"
|
31017
|
+
}
|
31018
|
+
},
|
31019
|
+
{
|
31020
|
+
"kind": "method",
|
31021
|
+
"name": "renderTrailingButton",
|
31022
|
+
"privacy": "protected",
|
31023
|
+
"parameters": [
|
31024
|
+
{
|
31025
|
+
"name": "show",
|
31026
|
+
"default": "false"
|
31027
|
+
}
|
31028
|
+
],
|
31029
|
+
"description": "Renders the trailing button to clear the input field if the trailingButton is set to true.",
|
30952
31030
|
"return": {
|
30953
31031
|
"type": {
|
30954
|
-
"text": "
|
31032
|
+
"text": ""
|
30955
31033
|
}
|
30956
31034
|
},
|
30957
31035
|
"inheritedFrom": {
|
30958
|
-
"name": "
|
30959
|
-
"module": "
|
31036
|
+
"name": "Input",
|
31037
|
+
"module": "components/input/input.component.js"
|
30960
31038
|
}
|
30961
31039
|
},
|
30962
31040
|
{
|
30963
31041
|
"kind": "method",
|
30964
|
-
"name": "
|
30965
|
-
"
|
30966
|
-
|
30967
|
-
|
30968
|
-
|
30969
|
-
|
30970
|
-
|
30971
|
-
|
30972
|
-
|
30973
|
-
|
30974
|
-
|
30975
|
-
|
30976
|
-
|
30977
|
-
|
30978
|
-
"attribute": "data-aria-label",
|
30979
|
-
"reflects": true,
|
31042
|
+
"name": "renderInputElement",
|
31043
|
+
"privacy": "protected",
|
31044
|
+
"parameters": [
|
31045
|
+
{
|
31046
|
+
"name": "type",
|
31047
|
+
"type": {
|
31048
|
+
"text": "InputType"
|
31049
|
+
}
|
31050
|
+
},
|
31051
|
+
{
|
31052
|
+
"name": "hidePlaceholder",
|
31053
|
+
"default": "false"
|
31054
|
+
}
|
31055
|
+
],
|
30980
31056
|
"inheritedFrom": {
|
30981
|
-
"name": "
|
30982
|
-
"module": "
|
31057
|
+
"name": "Input",
|
31058
|
+
"module": "components/input/input.component.js"
|
30983
31059
|
}
|
30984
31060
|
},
|
30985
31061
|
{
|
@@ -31189,45 +31265,134 @@
|
|
31189
31265
|
],
|
31190
31266
|
"events": [
|
31191
31267
|
{
|
31268
|
+
"description": "(React: onInput) This event is dispatched when the value of the input field changes (every press).",
|
31269
|
+
"name": "input",
|
31270
|
+
"reactName": "onInput",
|
31271
|
+
"inheritedFrom": {
|
31272
|
+
"name": "Input",
|
31273
|
+
"module": "src/components/input/input.component.ts"
|
31274
|
+
}
|
31275
|
+
},
|
31276
|
+
{
|
31277
|
+
"description": "(React: onChange) This event is dispatched when the value of the input field changes (on blur).",
|
31192
31278
|
"name": "change",
|
31279
|
+
"reactName": "onChange",
|
31280
|
+
"inheritedFrom": {
|
31281
|
+
"name": "Input",
|
31282
|
+
"module": "src/components/input/input.component.ts"
|
31283
|
+
}
|
31284
|
+
},
|
31285
|
+
{
|
31286
|
+
"description": "(React: onFocus) This event is dispatched when the input receives focus.",
|
31287
|
+
"name": "focus",
|
31288
|
+
"reactName": "onFocus",
|
31289
|
+
"inheritedFrom": {
|
31290
|
+
"name": "Input",
|
31291
|
+
"module": "src/components/input/input.component.ts"
|
31292
|
+
}
|
31293
|
+
},
|
31294
|
+
{
|
31295
|
+
"description": "(React: onBlur) This event is dispatched when the input loses focus.",
|
31296
|
+
"name": "blur",
|
31297
|
+
"reactName": "onBlur",
|
31298
|
+
"inheritedFrom": {
|
31299
|
+
"name": "Input",
|
31300
|
+
"module": "src/components/input/input.component.ts"
|
31301
|
+
}
|
31302
|
+
},
|
31303
|
+
{
|
31304
|
+
"name": "clear",
|
31193
31305
|
"type": {
|
31194
31306
|
"text": "CustomEvent"
|
31195
31307
|
},
|
31196
|
-
"description": "(React:
|
31197
|
-
"reactName": "
|
31308
|
+
"description": "(React: onClear) This event is dispatched when the input text is cleared.",
|
31309
|
+
"reactName": "onClear",
|
31310
|
+
"inheritedFrom": {
|
31311
|
+
"name": "Input",
|
31312
|
+
"module": "src/components/input/input.component.ts"
|
31313
|
+
}
|
31198
31314
|
},
|
31199
31315
|
{
|
31200
|
-
"name": "input",
|
31201
31316
|
"type": {
|
31202
|
-
"text": "
|
31317
|
+
"text": "EventConstructor"
|
31203
31318
|
},
|
31204
|
-
"
|
31205
|
-
|
31319
|
+
"inheritedFrom": {
|
31320
|
+
"name": "Input",
|
31321
|
+
"module": "src/components/input/input.component.ts"
|
31322
|
+
}
|
31323
|
+
}
|
31324
|
+
],
|
31325
|
+
"superclass": {
|
31326
|
+
"name": "Input",
|
31327
|
+
"module": "/src/components/input/input.component"
|
31328
|
+
},
|
31329
|
+
"tagName": "mdc-searchfield",
|
31330
|
+
"jsDoc": "/**\n * `mdc-searchfield` component is used as an input field for search functionality.\n *\n * It supports `mdc-inputchip` as filters.\n *\n * This component is built by extending the `mdc-input` component.\n *\n * @tagname mdc-searchfield\n * \n * @event input - (React: onInput) This event is dispatched when the value of the input field changes (every press).\n * @event change - (React: onChange) This event is dispatched when the value of the input field changes (on blur).\n * @event focus - (React: onFocus) This event is dispatched when the input receives focus.\n * @event blur - (React: onBlur) This event is dispatched when the input loses focus.\n * @event clear - (React: onClear) This event is dispatched when the input text is cleared.\n *\n * @slot filters - Slot for input chips\n */",
|
31331
|
+
"customElement": true,
|
31332
|
+
"attributes": [
|
31333
|
+
{
|
31334
|
+
"name": "name",
|
31335
|
+
"type": {
|
31336
|
+
"text": "string"
|
31337
|
+
},
|
31338
|
+
"default": "''",
|
31339
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
31340
|
+
"fieldName": "name",
|
31341
|
+
"inheritedFrom": {
|
31342
|
+
"name": "FormInternalsMixin",
|
31343
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
31344
|
+
}
|
31206
31345
|
},
|
31207
31346
|
{
|
31208
|
-
"
|
31209
|
-
"
|
31210
|
-
|
31347
|
+
"name": "value",
|
31348
|
+
"type": {
|
31349
|
+
"text": "string"
|
31350
|
+
},
|
31351
|
+
"default": "''",
|
31352
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
31353
|
+
"fieldName": "value",
|
31354
|
+
"inheritedFrom": {
|
31355
|
+
"name": "FormInternalsMixin",
|
31356
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
31357
|
+
}
|
31211
31358
|
},
|
31212
31359
|
{
|
31213
|
-
"
|
31214
|
-
"
|
31215
|
-
|
31360
|
+
"name": "validation-message",
|
31361
|
+
"type": {
|
31362
|
+
"text": "string | undefined"
|
31363
|
+
},
|
31364
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
|
31365
|
+
"fieldName": "validationMessage",
|
31366
|
+
"inheritedFrom": {
|
31367
|
+
"name": "FormInternalsMixin",
|
31368
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
31369
|
+
}
|
31216
31370
|
},
|
31217
31371
|
{
|
31218
|
-
"
|
31219
|
-
"
|
31220
|
-
|
31221
|
-
|
31222
|
-
|
31223
|
-
|
31372
|
+
"name": "data-aria-label",
|
31373
|
+
"type": {
|
31374
|
+
"text": "string | null"
|
31375
|
+
},
|
31376
|
+
"default": "null",
|
31377
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
31378
|
+
"fieldName": "dataAriaLabel",
|
31379
|
+
"inheritedFrom": {
|
31380
|
+
"name": "DataAriaLabelMixin",
|
31381
|
+
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
31382
|
+
}
|
31383
|
+
},
|
31224
31384
|
{
|
31225
31385
|
"name": "placeholder",
|
31226
31386
|
"type": {
|
31227
|
-
"text": "string
|
31387
|
+
"text": "string"
|
31228
31388
|
},
|
31229
|
-
"
|
31230
|
-
"
|
31389
|
+
"default": "''",
|
31390
|
+
"description": "The placeholder text that is displayed when the input field is empty.",
|
31391
|
+
"fieldName": "placeholder",
|
31392
|
+
"inheritedFrom": {
|
31393
|
+
"name": "Input",
|
31394
|
+
"module": "src/components/input/input.component.ts"
|
31395
|
+
}
|
31231
31396
|
},
|
31232
31397
|
{
|
31233
31398
|
"name": "readonly",
|
@@ -31235,84 +31400,173 @@
|
|
31235
31400
|
"text": "boolean"
|
31236
31401
|
},
|
31237
31402
|
"default": "false",
|
31238
|
-
"description": "readonly attribute of the
|
31239
|
-
"fieldName": "readonly"
|
31403
|
+
"description": "readonly attribute of the input field. If true, the input field is read-only.",
|
31404
|
+
"fieldName": "readonly",
|
31405
|
+
"inheritedFrom": {
|
31406
|
+
"name": "Input",
|
31407
|
+
"module": "src/components/input/input.component.ts"
|
31408
|
+
}
|
31409
|
+
},
|
31410
|
+
{
|
31411
|
+
"name": "prefix-text",
|
31412
|
+
"type": {
|
31413
|
+
"text": "string | undefined"
|
31414
|
+
},
|
31415
|
+
"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.",
|
31416
|
+
"fieldName": "prefixText",
|
31417
|
+
"inheritedFrom": {
|
31418
|
+
"name": "Input",
|
31419
|
+
"module": "src/components/input/input.component.ts"
|
31420
|
+
}
|
31421
|
+
},
|
31422
|
+
{
|
31423
|
+
"name": "leading-icon",
|
31424
|
+
"type": {
|
31425
|
+
"text": "IconNames | undefined"
|
31426
|
+
},
|
31427
|
+
"description": "The leading icon that is displayed before the input field.",
|
31428
|
+
"fieldName": "leadingIcon",
|
31429
|
+
"inheritedFrom": {
|
31430
|
+
"name": "Input",
|
31431
|
+
"module": "src/components/input/input.component.ts"
|
31432
|
+
}
|
31433
|
+
},
|
31434
|
+
{
|
31435
|
+
"name": "trailing-button",
|
31436
|
+
"type": {
|
31437
|
+
"text": "boolean"
|
31438
|
+
},
|
31439
|
+
"default": "false",
|
31440
|
+
"description": "The trailing button when set to true, shows a clear button that clears the input field.",
|
31441
|
+
"fieldName": "trailingButton",
|
31442
|
+
"inheritedFrom": {
|
31443
|
+
"name": "Input",
|
31444
|
+
"module": "src/components/input/input.component.ts"
|
31445
|
+
}
|
31446
|
+
},
|
31447
|
+
{
|
31448
|
+
"name": "maxlength",
|
31449
|
+
"type": {
|
31450
|
+
"text": "number | undefined"
|
31451
|
+
},
|
31452
|
+
"description": "The maximum number of characters that the input field can accept.",
|
31453
|
+
"fieldName": "maxlength",
|
31454
|
+
"inheritedFrom": {
|
31455
|
+
"name": "Input",
|
31456
|
+
"module": "src/components/input/input.component.ts"
|
31457
|
+
}
|
31458
|
+
},
|
31459
|
+
{
|
31460
|
+
"name": "minlength",
|
31461
|
+
"type": {
|
31462
|
+
"text": "number | undefined"
|
31463
|
+
},
|
31464
|
+
"description": "The minimum number of characters that the input field can accept.",
|
31465
|
+
"fieldName": "minlength",
|
31466
|
+
"inheritedFrom": {
|
31467
|
+
"name": "Input",
|
31468
|
+
"module": "src/components/input/input.component.ts"
|
31469
|
+
}
|
31470
|
+
},
|
31471
|
+
{
|
31472
|
+
"name": "autocapitalize",
|
31473
|
+
"type": {
|
31474
|
+
"text": "AutoCapitalizeType"
|
31475
|
+
},
|
31476
|
+
"description": "The autocapitalize attribute of the input field.",
|
31477
|
+
"default": "'off'",
|
31478
|
+
"fieldName": "autocapitalize",
|
31479
|
+
"inheritedFrom": {
|
31480
|
+
"name": "Input",
|
31481
|
+
"module": "src/components/input/input.component.ts"
|
31482
|
+
}
|
31240
31483
|
},
|
31241
31484
|
{
|
31242
|
-
"name": "
|
31485
|
+
"name": "autocomplete",
|
31243
31486
|
"type": {
|
31244
|
-
"text": "
|
31487
|
+
"text": "AutoCompleteType"
|
31245
31488
|
},
|
31246
|
-
"
|
31247
|
-
"
|
31248
|
-
"fieldName": "
|
31489
|
+
"description": "The autocomplete attribute of the input field.",
|
31490
|
+
"default": "'off'",
|
31491
|
+
"fieldName": "autocomplete",
|
31492
|
+
"inheritedFrom": {
|
31493
|
+
"name": "Input",
|
31494
|
+
"module": "src/components/input/input.component.ts"
|
31495
|
+
}
|
31249
31496
|
},
|
31250
31497
|
{
|
31251
|
-
"name": "
|
31498
|
+
"name": "autofocus",
|
31252
31499
|
"type": {
|
31253
|
-
"text": "
|
31500
|
+
"text": "boolean"
|
31254
31501
|
},
|
31255
|
-
"
|
31256
|
-
"
|
31502
|
+
"default": "false",
|
31503
|
+
"description": "If true, the input field is focused when the component is rendered.",
|
31504
|
+
"fieldName": "autofocus",
|
31505
|
+
"inheritedFrom": {
|
31506
|
+
"name": "Input",
|
31507
|
+
"module": "src/components/input/input.component.ts"
|
31508
|
+
}
|
31257
31509
|
},
|
31258
31510
|
{
|
31259
|
-
"name": "
|
31511
|
+
"name": "dirname",
|
31260
31512
|
"type": {
|
31261
|
-
"text": "
|
31513
|
+
"text": "string | undefined"
|
31262
31514
|
},
|
31263
|
-
"description": "
|
31264
|
-
"
|
31265
|
-
"
|
31515
|
+
"description": "Specifies the name of the directionality of text for submission purposes (e.g., \"rtl\" for right-to-left).",
|
31516
|
+
"fieldName": "dirname",
|
31517
|
+
"inheritedFrom": {
|
31518
|
+
"name": "Input",
|
31519
|
+
"module": "src/components/input/input.component.ts"
|
31520
|
+
}
|
31266
31521
|
},
|
31267
31522
|
{
|
31268
|
-
"name": "
|
31523
|
+
"name": "pattern",
|
31269
31524
|
"type": {
|
31270
|
-
"text": "string"
|
31525
|
+
"text": "string | undefined"
|
31271
31526
|
},
|
31272
|
-
"
|
31273
|
-
"
|
31274
|
-
"fieldName": "name",
|
31527
|
+
"description": "The pattern attribute of the input field.\nSpecifies a regular expression that the input value must match for validation purposes.",
|
31528
|
+
"fieldName": "pattern",
|
31275
31529
|
"inheritedFrom": {
|
31276
|
-
"name": "
|
31277
|
-
"module": "src/
|
31530
|
+
"name": "Input",
|
31531
|
+
"module": "src/components/input/input.component.ts"
|
31278
31532
|
}
|
31279
31533
|
},
|
31280
31534
|
{
|
31281
|
-
"name": "
|
31535
|
+
"name": "list",
|
31282
31536
|
"type": {
|
31283
|
-
"text": "string"
|
31537
|
+
"text": "string | undefined"
|
31284
31538
|
},
|
31285
|
-
"
|
31286
|
-
"
|
31287
|
-
"fieldName": "value",
|
31539
|
+
"description": "The list attribute of the input field.\nIdentifies a list of pre-defined options to suggest to the user.",
|
31540
|
+
"fieldName": "list",
|
31288
31541
|
"inheritedFrom": {
|
31289
|
-
"name": "
|
31290
|
-
"module": "src/
|
31542
|
+
"name": "Input",
|
31543
|
+
"module": "src/components/input/input.component.ts"
|
31291
31544
|
}
|
31292
31545
|
},
|
31293
31546
|
{
|
31294
|
-
"name": "
|
31547
|
+
"name": "size",
|
31295
31548
|
"type": {
|
31296
|
-
"text": "
|
31549
|
+
"text": "number | undefined | undefined"
|
31297
31550
|
},
|
31298
|
-
"description": "
|
31299
|
-
"
|
31551
|
+
"description": "The size attribute of the input field.\nSpecifies the width of the input field.",
|
31552
|
+
"default": "undefined",
|
31553
|
+
"fieldName": "size",
|
31300
31554
|
"inheritedFrom": {
|
31301
|
-
"name": "
|
31302
|
-
"module": "src/
|
31555
|
+
"name": "Input",
|
31556
|
+
"module": "src/components/input/input.component.ts"
|
31303
31557
|
}
|
31304
31558
|
},
|
31305
31559
|
{
|
31306
|
-
"name": "
|
31560
|
+
"name": "clear-aria-label",
|
31307
31561
|
"type": {
|
31308
|
-
"text": "string
|
31562
|
+
"text": "string"
|
31309
31563
|
},
|
31310
|
-
"default": "
|
31311
|
-
"description": "
|
31312
|
-
"fieldName": "
|
31564
|
+
"default": "''",
|
31565
|
+
"description": "Aria label for the trailing button. If trailing button is set to true, this label is used for the clear button.",
|
31566
|
+
"fieldName": "clearAriaLabel",
|
31313
31567
|
"inheritedFrom": {
|
31314
|
-
"name": "
|
31315
|
-
"module": "src/
|
31568
|
+
"name": "Input",
|
31569
|
+
"module": "src/components/input/input.component.ts"
|
31316
31570
|
}
|
31317
31571
|
},
|
31318
31572
|
{
|
@@ -31428,1045 +31682,904 @@
|
|
31428
31682
|
}
|
31429
31683
|
}
|
31430
31684
|
],
|
31431
|
-
"
|
31432
|
-
{
|
31433
|
-
"name": "FormInternalsMixin",
|
31434
|
-
"module": "/src/utils/mixins/FormInternalsMixin"
|
31435
|
-
},
|
31436
|
-
{
|
31437
|
-
"name": "DataAriaLabelMixin",
|
31438
|
-
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
31439
|
-
}
|
31440
|
-
],
|
31441
|
-
"superclass": {
|
31442
|
-
"name": "FormfieldWrapper",
|
31443
|
-
"module": "/src/components/formfieldwrapper/formfieldwrapper.component"
|
31444
|
-
},
|
31445
|
-
"tagName": "mdc-select",
|
31446
|
-
"jsDoc": "/**\n * The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\n * It is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\n * The component ensures accessibility and usability while handling various use cases,\n * including long text truncation with tooltip support.\n *\n * Every mdc-option should have a `value` attribute set to ensure proper form submission.\n *\n * To set a default option, use the `selected` attribute on the `mdc-option` element.\n *\n * **Note:** Make sure to add `mdc-selectlistbox` as a child of `mdc-select` and wrap options/optgroup in it to ensure proper accessibility functionality. Read more about it in SelectListBox documentation.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-popover\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-select\n *\n * @slot default - This is a default/unnamed slot for Selectlistbox including options and/or option group.\n *\n * @event click - (React: onClick) This event is dispatched when the select is clicked.\n * @event change - (React: onChange) This event is dispatched when the select is changed.\n * @event input - (React: onInput) This event is dispatched when the select is changed.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.\n * @event focus - (React: onFocus) This event is dispatched when the select receives focus.\n */",
|
31447
|
-
"customElement": true
|
31448
|
-
}
|
31449
|
-
],
|
31450
|
-
"exports": [
|
31451
|
-
{
|
31452
|
-
"kind": "js",
|
31453
|
-
"name": "default",
|
31454
|
-
"declaration": {
|
31455
|
-
"name": "Select",
|
31456
|
-
"module": "components/select/select.component.js"
|
31457
|
-
}
|
31458
|
-
}
|
31459
|
-
]
|
31460
|
-
},
|
31461
|
-
{
|
31462
|
-
"kind": "javascript-module",
|
31463
|
-
"path": "components/searchfield/searchfield.component.js",
|
31464
|
-
"declarations": [
|
31465
|
-
{
|
31466
|
-
"kind": "class",
|
31467
|
-
"description": "`mdc-searchfield` component is used as an input field for search functionality.\n\nIt supports `mdc-inputchip` as filters.\n\nThis component is built by extending the `mdc-input` component.",
|
31468
|
-
"name": "Searchfield",
|
31469
|
-
"slots": [
|
31470
|
-
{
|
31471
|
-
"description": "Slot for input chips",
|
31472
|
-
"name": "filters"
|
31473
|
-
}
|
31474
|
-
],
|
31475
|
-
"members": [
|
31476
|
-
{
|
31477
|
-
"kind": "field",
|
31478
|
-
"name": "inputChips",
|
31479
|
-
"type": {
|
31480
|
-
"text": "Array<HTMLElement> | undefined"
|
31481
|
-
}
|
31482
|
-
},
|
31685
|
+
"cssProperties": [
|
31483
31686
|
{
|
31484
|
-
"
|
31485
|
-
"name": "
|
31486
|
-
"privacy": "protected",
|
31487
|
-
"parameters": [
|
31488
|
-
{
|
31489
|
-
"name": "event",
|
31490
|
-
"type": {
|
31491
|
-
"text": "KeyboardEvent"
|
31492
|
-
},
|
31493
|
-
"description": "Keyboard event"
|
31494
|
-
}
|
31495
|
-
],
|
31496
|
-
"description": "Handles the keydown event of the search field.\nIf the key pressed is 'Enter', it submits the form.\nIf the key pressed is 'Escape', it clears the input text.",
|
31687
|
+
"description": "Border color for the input container when disabled",
|
31688
|
+
"name": "--mdc-input-disabled-border-color",
|
31497
31689
|
"inheritedFrom": {
|
31498
31690
|
"name": "Input",
|
31499
|
-
"module": "components/input/input.component.
|
31691
|
+
"module": "src/components/input/input.component.ts"
|
31500
31692
|
}
|
31501
31693
|
},
|
31502
31694
|
{
|
31503
|
-
"
|
31504
|
-
"name": "
|
31505
|
-
"privacy": "private",
|
31506
|
-
"description": "This method is used to render the input chips inside filters slot.\nIt will remove any elements that are not input chips."
|
31507
|
-
},
|
31508
|
-
{
|
31509
|
-
"kind": "method",
|
31510
|
-
"name": "clearInputText",
|
31511
|
-
"privacy": "protected",
|
31512
|
-
"description": "Clears the input field.",
|
31695
|
+
"description": "Text color for the input field when disabled",
|
31696
|
+
"name": "--mdc-input-disabled-text-color",
|
31513
31697
|
"inheritedFrom": {
|
31514
31698
|
"name": "Input",
|
31515
|
-
"module": "components/input/input.component.
|
31516
|
-
}
|
31517
|
-
},
|
31518
|
-
{
|
31519
|
-
"kind": "field",
|
31520
|
-
"name": "name",
|
31521
|
-
"type": {
|
31522
|
-
"text": "string"
|
31523
|
-
},
|
31524
|
-
"default": "''",
|
31525
|
-
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
31526
|
-
"attribute": "name",
|
31527
|
-
"reflects": true,
|
31528
|
-
"inheritedFrom": {
|
31529
|
-
"name": "FormInternalsMixin",
|
31530
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
31531
|
-
}
|
31532
|
-
},
|
31533
|
-
{
|
31534
|
-
"kind": "field",
|
31535
|
-
"name": "value",
|
31536
|
-
"type": {
|
31537
|
-
"text": "string"
|
31538
|
-
},
|
31539
|
-
"default": "''",
|
31540
|
-
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
31541
|
-
"attribute": "value",
|
31542
|
-
"reflects": true,
|
31543
|
-
"inheritedFrom": {
|
31544
|
-
"name": "FormInternalsMixin",
|
31545
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
31546
|
-
}
|
31547
|
-
},
|
31548
|
-
{
|
31549
|
-
"kind": "field",
|
31550
|
-
"name": "validationMessage",
|
31551
|
-
"type": {
|
31552
|
-
"text": "string | undefined"
|
31553
|
-
},
|
31554
|
-
"description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
|
31555
|
-
"attribute": "validation-message",
|
31556
|
-
"reflects": true,
|
31557
|
-
"inheritedFrom": {
|
31558
|
-
"name": "FormInternalsMixin",
|
31559
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
31560
|
-
}
|
31561
|
-
},
|
31562
|
-
{
|
31563
|
-
"kind": "field",
|
31564
|
-
"name": "validity",
|
31565
|
-
"type": {
|
31566
|
-
"text": "ValidityState"
|
31567
|
-
},
|
31568
|
-
"readonly": true,
|
31569
|
-
"inheritedFrom": {
|
31570
|
-
"name": "FormInternalsMixin",
|
31571
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
31572
|
-
}
|
31573
|
-
},
|
31574
|
-
{
|
31575
|
-
"kind": "field",
|
31576
|
-
"name": "willValidate",
|
31577
|
-
"readonly": true,
|
31578
|
-
"inheritedFrom": {
|
31579
|
-
"name": "FormInternalsMixin",
|
31580
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
31581
|
-
}
|
31582
|
-
},
|
31583
|
-
{
|
31584
|
-
"kind": "method",
|
31585
|
-
"name": "setValidity",
|
31586
|
-
"description": "Sets the validity of the input field based on the input field's validity.",
|
31587
|
-
"return": {
|
31588
|
-
"type": {
|
31589
|
-
"text": ""
|
31590
|
-
}
|
31591
|
-
},
|
31592
|
-
"inheritedFrom": {
|
31593
|
-
"name": "FormInternalsMixin",
|
31594
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
31699
|
+
"module": "src/components/input/input.component.ts"
|
31595
31700
|
}
|
31596
31701
|
},
|
31597
31702
|
{
|
31598
|
-
"
|
31599
|
-
"name": "
|
31600
|
-
"return": {
|
31601
|
-
"type": {
|
31602
|
-
"text": "boolean"
|
31603
|
-
}
|
31604
|
-
},
|
31703
|
+
"description": "Background color for the input field when disabled",
|
31704
|
+
"name": "--mdc-input-disabled-background-color",
|
31605
31705
|
"inheritedFrom": {
|
31606
|
-
"name": "
|
31607
|
-
"module": "
|
31706
|
+
"name": "Input",
|
31707
|
+
"module": "src/components/input/input.component.ts"
|
31608
31708
|
}
|
31609
31709
|
},
|
31610
31710
|
{
|
31611
|
-
"
|
31612
|
-
"name": "
|
31711
|
+
"description": "Border color for the input container",
|
31712
|
+
"name": "--mdc-input-border-color",
|
31613
31713
|
"inheritedFrom": {
|
31614
|
-
"name": "
|
31615
|
-
"module": "
|
31714
|
+
"name": "Input",
|
31715
|
+
"module": "src/components/input/input.component.ts"
|
31616
31716
|
}
|
31617
31717
|
},
|
31618
31718
|
{
|
31619
|
-
"
|
31620
|
-
"name": "
|
31621
|
-
"type": {
|
31622
|
-
"text": "string | null"
|
31623
|
-
},
|
31624
|
-
"default": "null",
|
31625
|
-
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
31626
|
-
"attribute": "data-aria-label",
|
31627
|
-
"reflects": true,
|
31719
|
+
"description": "Text color for the input field",
|
31720
|
+
"name": "--mdc-input-text-color",
|
31628
31721
|
"inheritedFrom": {
|
31629
|
-
"name": "
|
31630
|
-
"module": "
|
31722
|
+
"name": "Input",
|
31723
|
+
"module": "src/components/input/input.component.ts"
|
31631
31724
|
}
|
31632
31725
|
},
|
31633
31726
|
{
|
31634
|
-
"
|
31635
|
-
"name": "
|
31636
|
-
"type": {
|
31637
|
-
"text": "string"
|
31638
|
-
},
|
31639
|
-
"default": "''",
|
31640
|
-
"description": "The placeholder text that is displayed when the input field is empty.",
|
31641
|
-
"attribute": "placeholder",
|
31727
|
+
"description": "Background color for the input field",
|
31728
|
+
"name": "--mdc-input-background-color",
|
31642
31729
|
"inheritedFrom": {
|
31643
31730
|
"name": "Input",
|
31644
|
-
"module": "components/input/input.component.
|
31731
|
+
"module": "src/components/input/input.component.ts"
|
31645
31732
|
}
|
31646
31733
|
},
|
31647
31734
|
{
|
31648
|
-
"
|
31649
|
-
"name": "
|
31650
|
-
"type": {
|
31651
|
-
"text": "boolean"
|
31652
|
-
},
|
31653
|
-
"default": "false",
|
31654
|
-
"description": "readonly attribute of the input field. If true, the input field is read-only.",
|
31655
|
-
"attribute": "readonly",
|
31735
|
+
"description": "Background color for the selected text",
|
31736
|
+
"name": "--mdc-input-selection-background-color",
|
31656
31737
|
"inheritedFrom": {
|
31657
31738
|
"name": "Input",
|
31658
|
-
"module": "components/input/input.component.
|
31739
|
+
"module": "src/components/input/input.component.ts"
|
31659
31740
|
}
|
31660
31741
|
},
|
31661
31742
|
{
|
31662
|
-
"
|
31663
|
-
"name": "
|
31664
|
-
"type": {
|
31665
|
-
"text": "string | undefined"
|
31666
|
-
},
|
31667
|
-
"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.",
|
31668
|
-
"attribute": "prefix-text",
|
31743
|
+
"description": "Text color for the selected text",
|
31744
|
+
"name": "--mdc-input-selection-text-color",
|
31669
31745
|
"inheritedFrom": {
|
31670
31746
|
"name": "Input",
|
31671
|
-
"module": "components/input/input.component.
|
31747
|
+
"module": "src/components/input/input.component.ts"
|
31672
31748
|
}
|
31673
31749
|
},
|
31674
31750
|
{
|
31675
|
-
"
|
31676
|
-
"name": "
|
31677
|
-
"type": {
|
31678
|
-
"text": "IconNames | undefined"
|
31679
|
-
},
|
31680
|
-
"description": "The leading icon that is displayed before the input field.",
|
31681
|
-
"attribute": "leading-icon",
|
31751
|
+
"description": "Text color for the help text",
|
31752
|
+
"name": "--mdc-input-support-text-color",
|
31682
31753
|
"inheritedFrom": {
|
31683
31754
|
"name": "Input",
|
31684
|
-
"module": "components/input/input.component.
|
31755
|
+
"module": "src/components/input/input.component.ts"
|
31685
31756
|
}
|
31686
31757
|
},
|
31687
31758
|
{
|
31688
|
-
"
|
31689
|
-
"name": "
|
31690
|
-
"type": {
|
31691
|
-
"text": "boolean"
|
31692
|
-
},
|
31693
|
-
"default": "false",
|
31694
|
-
"description": "The trailing button when set to true, shows a clear button that clears the input field.",
|
31695
|
-
"attribute": "trailing-button",
|
31759
|
+
"description": "Background color for the input field when hovered",
|
31760
|
+
"name": "--mdc-input-hover-background-color",
|
31696
31761
|
"inheritedFrom": {
|
31697
31762
|
"name": "Input",
|
31698
|
-
"module": "components/input/input.component.
|
31763
|
+
"module": "src/components/input/input.component.ts"
|
31699
31764
|
}
|
31700
31765
|
},
|
31701
31766
|
{
|
31702
|
-
"
|
31703
|
-
"name": "
|
31704
|
-
"type": {
|
31705
|
-
"text": "number | undefined"
|
31706
|
-
},
|
31707
|
-
"description": "The maximum number of characters that the input field can accept.",
|
31708
|
-
"attribute": "maxlength",
|
31767
|
+
"description": "Background color for the input field when focused",
|
31768
|
+
"name": "--mdc-input-focused-background-color",
|
31709
31769
|
"inheritedFrom": {
|
31710
31770
|
"name": "Input",
|
31711
|
-
"module": "components/input/input.component.
|
31771
|
+
"module": "src/components/input/input.component.ts"
|
31712
31772
|
}
|
31713
31773
|
},
|
31714
31774
|
{
|
31715
|
-
"
|
31716
|
-
"name": "
|
31717
|
-
"type": {
|
31718
|
-
"text": "number | undefined"
|
31719
|
-
},
|
31720
|
-
"description": "The minimum number of characters that the input field can accept.",
|
31721
|
-
"attribute": "minlength",
|
31775
|
+
"description": "Border color for the input container when focused",
|
31776
|
+
"name": "--mdc-input-focused-border-color",
|
31722
31777
|
"inheritedFrom": {
|
31723
31778
|
"name": "Input",
|
31724
|
-
"module": "components/input/input.component.
|
31779
|
+
"module": "src/components/input/input.component.ts"
|
31725
31780
|
}
|
31726
31781
|
},
|
31727
31782
|
{
|
31728
|
-
"
|
31729
|
-
"name": "
|
31730
|
-
"type": {
|
31731
|
-
"text": "AutoCapitalizeType"
|
31732
|
-
},
|
31733
|
-
"description": "The autocapitalize attribute of the input field.",
|
31734
|
-
"default": "'off'",
|
31735
|
-
"attribute": "autocapitalize",
|
31783
|
+
"description": "Border color for the input container when error",
|
31784
|
+
"name": "--mdc-input-error-border-color",
|
31736
31785
|
"inheritedFrom": {
|
31737
31786
|
"name": "Input",
|
31738
|
-
"module": "components/input/input.component.
|
31787
|
+
"module": "src/components/input/input.component.ts"
|
31739
31788
|
}
|
31740
31789
|
},
|
31741
31790
|
{
|
31742
|
-
"
|
31743
|
-
"name": "
|
31744
|
-
"type": {
|
31745
|
-
"text": "AutoCompleteType"
|
31746
|
-
},
|
31747
|
-
"description": "The autocomplete attribute of the input field.",
|
31748
|
-
"default": "'off'",
|
31749
|
-
"attribute": "autocomplete",
|
31791
|
+
"description": "Border color for the input container when warning",
|
31792
|
+
"name": "--mdc-input-warning-border-color",
|
31750
31793
|
"inheritedFrom": {
|
31751
31794
|
"name": "Input",
|
31752
|
-
"module": "components/input/input.component.
|
31795
|
+
"module": "src/components/input/input.component.ts"
|
31753
31796
|
}
|
31754
31797
|
},
|
31755
31798
|
{
|
31756
|
-
"
|
31757
|
-
"name": "
|
31758
|
-
"type": {
|
31759
|
-
"text": "boolean"
|
31760
|
-
},
|
31761
|
-
"default": "false",
|
31762
|
-
"description": "If true, the input field is focused when the component is rendered.",
|
31763
|
-
"attribute": "autofocus",
|
31799
|
+
"description": "Border color for the input container when success",
|
31800
|
+
"name": "--mdc-input-success-border-color",
|
31764
31801
|
"inheritedFrom": {
|
31765
31802
|
"name": "Input",
|
31766
|
-
"module": "components/input/input.component.
|
31803
|
+
"module": "src/components/input/input.component.ts"
|
31767
31804
|
}
|
31768
31805
|
},
|
31806
|
+
{
|
31807
|
+
"description": "Border color for the input container when primary",
|
31808
|
+
"name": "--mdc-input-primary-border-color",
|
31809
|
+
"inheritedFrom": {
|
31810
|
+
"name": "Input",
|
31811
|
+
"module": "src/components/input/input.component.ts"
|
31812
|
+
}
|
31813
|
+
}
|
31814
|
+
]
|
31815
|
+
}
|
31816
|
+
],
|
31817
|
+
"exports": [
|
31818
|
+
{
|
31819
|
+
"kind": "js",
|
31820
|
+
"name": "default",
|
31821
|
+
"declaration": {
|
31822
|
+
"name": "Searchfield",
|
31823
|
+
"module": "components/searchfield/searchfield.component.js"
|
31824
|
+
}
|
31825
|
+
}
|
31826
|
+
]
|
31827
|
+
},
|
31828
|
+
{
|
31829
|
+
"kind": "javascript-module",
|
31830
|
+
"path": "components/select/select.component.js",
|
31831
|
+
"declarations": [
|
31832
|
+
{
|
31833
|
+
"kind": "class",
|
31834
|
+
"description": "The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\nIt is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\nThe component ensures accessibility and usability while handling various use cases,\nincluding long text truncation with tooltip support.\n\nEvery mdc-option should have a `value` attribute set to ensure proper form submission.\n\nTo set a default option, use the `selected` attribute on the `mdc-option` element.\n\n**Note:** Make sure to add `mdc-selectlistbox` as a child of `mdc-select` and wrap options/optgroup in it to ensure proper accessibility functionality. Read more about it in SelectListBox documentation.",
|
31835
|
+
"name": "Select",
|
31836
|
+
"slots": [
|
31837
|
+
{
|
31838
|
+
"description": "This is a default/unnamed slot for Selectlistbox including options and/or option group.",
|
31839
|
+
"name": "default"
|
31840
|
+
}
|
31841
|
+
],
|
31842
|
+
"members": [
|
31769
31843
|
{
|
31770
31844
|
"kind": "field",
|
31771
|
-
"name": "
|
31845
|
+
"name": "placeholder",
|
31772
31846
|
"type": {
|
31773
31847
|
"text": "string | undefined"
|
31774
31848
|
},
|
31775
|
-
"description": "
|
31776
|
-
"attribute": "
|
31777
|
-
"inheritedFrom": {
|
31778
|
-
"name": "Input",
|
31779
|
-
"module": "components/input/input.component.js"
|
31780
|
-
}
|
31849
|
+
"description": "The placeholder text which will be shown on the text if provided.",
|
31850
|
+
"attribute": "placeholder"
|
31781
31851
|
},
|
31782
31852
|
{
|
31783
31853
|
"kind": "field",
|
31784
|
-
"name": "
|
31854
|
+
"name": "readonly",
|
31785
31855
|
"type": {
|
31786
|
-
"text": "
|
31856
|
+
"text": "boolean"
|
31787
31857
|
},
|
31788
|
-
"
|
31789
|
-
"
|
31790
|
-
"
|
31791
|
-
"name": "Input",
|
31792
|
-
"module": "components/input/input.component.js"
|
31793
|
-
}
|
31858
|
+
"default": "false",
|
31859
|
+
"description": "readonly attribute of the select field. If true, the select is read-only.",
|
31860
|
+
"attribute": "readonly"
|
31794
31861
|
},
|
31795
31862
|
{
|
31796
31863
|
"kind": "field",
|
31797
|
-
"name": "
|
31864
|
+
"name": "height",
|
31798
31865
|
"type": {
|
31799
|
-
"text": "string
|
31866
|
+
"text": "string"
|
31800
31867
|
},
|
31801
|
-
"
|
31802
|
-
"
|
31803
|
-
"
|
31804
|
-
"name": "Input",
|
31805
|
-
"module": "components/input/input.component.js"
|
31806
|
-
}
|
31868
|
+
"default": "'auto'",
|
31869
|
+
"description": "height attribute of the select field. If set,\nthen a scroll bar will be visible when there more options than the adjusted height.",
|
31870
|
+
"attribute": "height"
|
31807
31871
|
},
|
31808
31872
|
{
|
31809
31873
|
"kind": "field",
|
31810
|
-
"name": "
|
31874
|
+
"name": "placement",
|
31811
31875
|
"type": {
|
31812
|
-
"text": "
|
31876
|
+
"text": "Placement"
|
31813
31877
|
},
|
31814
|
-
"description": "The
|
31878
|
+
"description": "The placeholder text which will be shown on the text if provided.",
|
31879
|
+
"attribute": "placement",
|
31880
|
+
"reflects": true
|
31881
|
+
},
|
31882
|
+
{
|
31883
|
+
"kind": "field",
|
31884
|
+
"name": "softDisabled",
|
31885
|
+
"type": {
|
31886
|
+
"text": "boolean | undefined"
|
31887
|
+
},
|
31888
|
+
"description": "Indicates whether the select is soft disabled.\nWhen set to `true`, the select appears visually disabled but still allows\nfocus.",
|
31815
31889
|
"default": "undefined",
|
31816
|
-
"attribute": "
|
31817
|
-
|
31818
|
-
|
31819
|
-
|
31890
|
+
"attribute": "soft-disabled"
|
31891
|
+
},
|
31892
|
+
{
|
31893
|
+
"kind": "method",
|
31894
|
+
"name": "getAllValidOptions",
|
31895
|
+
"privacy": "private",
|
31896
|
+
"return": {
|
31897
|
+
"type": {
|
31898
|
+
"text": "Array<Option>"
|
31899
|
+
}
|
31820
31900
|
}
|
31821
31901
|
},
|
31822
31902
|
{
|
31823
|
-
"kind": "
|
31824
|
-
"name": "
|
31825
|
-
"
|
31826
|
-
|
31827
|
-
|
31828
|
-
|
31829
|
-
|
31830
|
-
"attribute": "clear-aria-label",
|
31831
|
-
"inheritedFrom": {
|
31832
|
-
"name": "Input",
|
31833
|
-
"module": "components/input/input.component.js"
|
31903
|
+
"kind": "method",
|
31904
|
+
"name": "getFirstValidOption",
|
31905
|
+
"privacy": "private",
|
31906
|
+
"return": {
|
31907
|
+
"type": {
|
31908
|
+
"text": "Option | null"
|
31909
|
+
}
|
31834
31910
|
}
|
31835
31911
|
},
|
31836
31912
|
{
|
31837
31913
|
"kind": "method",
|
31838
|
-
"name": "
|
31914
|
+
"name": "getLastValidOption",
|
31839
31915
|
"privacy": "private",
|
31840
|
-
"
|
31841
|
-
"
|
31842
|
-
|
31916
|
+
"return": {
|
31917
|
+
"type": {
|
31918
|
+
"text": "Option | null"
|
31919
|
+
}
|
31843
31920
|
}
|
31844
31921
|
},
|
31845
31922
|
{
|
31846
31923
|
"kind": "method",
|
31847
|
-
"name": "
|
31924
|
+
"name": "getFirstSelectedOption",
|
31848
31925
|
"privacy": "private",
|
31849
|
-
"description": "Updates the value of the input field.\nSets the form value.",
|
31850
31926
|
"return": {
|
31851
31927
|
"type": {
|
31852
|
-
"text": ""
|
31928
|
+
"text": "Option | null"
|
31853
31929
|
}
|
31854
|
-
},
|
31855
|
-
"inheritedFrom": {
|
31856
|
-
"name": "Input",
|
31857
|
-
"module": "components/input/input.component.js"
|
31858
31930
|
}
|
31859
31931
|
},
|
31860
31932
|
{
|
31861
31933
|
"kind": "method",
|
31862
|
-
"name": "
|
31934
|
+
"name": "modifyListBoxWrapper",
|
31863
31935
|
"privacy": "private",
|
31864
|
-
"description": "
|
31865
|
-
"inheritedFrom": {
|
31866
|
-
"name": "Input",
|
31867
|
-
"module": "components/input/input.component.js"
|
31868
|
-
}
|
31936
|
+
"description": "Modifies the listbox wrapper to ensure it has the correct attributes\nand IDs for accessibility.\n\nOnce [ariaOwnsElements](https://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/ariaOwnsElements) is supported in browsers,\nthis an be removed and mdc-option can be used directly in the select component with a listbox in a different\nshadow root and aria-owns attribute to connect them."
|
31869
31937
|
},
|
31870
31938
|
{
|
31871
31939
|
"kind": "method",
|
31872
|
-
"name": "
|
31940
|
+
"name": "handleOptionsClick",
|
31873
31941
|
"privacy": "private",
|
31942
|
+
"return": {
|
31943
|
+
"type": {
|
31944
|
+
"text": "void"
|
31945
|
+
}
|
31946
|
+
},
|
31874
31947
|
"parameters": [
|
31875
31948
|
{
|
31876
31949
|
"name": "event",
|
31877
31950
|
"type": {
|
31878
|
-
"text": "
|
31951
|
+
"text": "MouseEvent"
|
31879
31952
|
},
|
31880
|
-
"description": "
|
31953
|
+
"description": "The event which triggered this function."
|
31881
31954
|
}
|
31882
31955
|
],
|
31883
|
-
"description": "
|
31884
|
-
"inheritedFrom": {
|
31885
|
-
"name": "Input",
|
31886
|
-
"module": "components/input/input.component.js"
|
31887
|
-
}
|
31956
|
+
"description": "A private method which is called when an option is clicked.\nIt sets the selected option, removes selected from other options, updates the tabindex for all options,\ncloses the popover, and fires the change and input events."
|
31888
31957
|
},
|
31889
31958
|
{
|
31890
31959
|
"kind": "method",
|
31891
|
-
"name": "
|
31892
|
-
"privacy": "
|
31893
|
-
"description": "Renders the leading icon before the input field.\nIf the leading icon is not set, it will not be displayed.",
|
31960
|
+
"name": "setSelectedOption",
|
31961
|
+
"privacy": "private",
|
31894
31962
|
"return": {
|
31895
31963
|
"type": {
|
31896
|
-
"text": ""
|
31964
|
+
"text": "void"
|
31897
31965
|
}
|
31898
31966
|
},
|
31899
|
-
"
|
31900
|
-
|
31901
|
-
|
31902
|
-
|
31967
|
+
"parameters": [
|
31968
|
+
{
|
31969
|
+
"name": "option",
|
31970
|
+
"type": {
|
31971
|
+
"text": "Option | null"
|
31972
|
+
},
|
31973
|
+
"description": "The option element in DOM which gets selected."
|
31974
|
+
}
|
31975
|
+
],
|
31976
|
+
"description": "Sets the selected option in the component state and updates the input element's value.\nThis method ensures that only the selected option is marked as selected in the DOM,\nand updates the tabindex for all options accordingly.\nIt also updates the validity of the input element based on the selected option.\nThis method is called when an option is selected."
|
31903
31977
|
},
|
31904
31978
|
{
|
31905
31979
|
"kind": "method",
|
31906
|
-
"name": "
|
31907
|
-
"privacy": "
|
31908
|
-
"description": "Renders the prefix text before the input field.\nIf the prefix text is more than 10 characters,\n- it will not be displayed.\n- the validation messsage will be displayed.\n\n Note: We are setting aria-hidden so that the screen reader does not read the prefix text.\n The consumers should set the appropriate aria-label for the input field using 'data-aria-label' attribute.",
|
31980
|
+
"name": "updateTabIndexForAllOptions",
|
31981
|
+
"privacy": "private",
|
31909
31982
|
"return": {
|
31910
31983
|
"type": {
|
31911
|
-
"text": ""
|
31984
|
+
"text": "void"
|
31912
31985
|
}
|
31913
31986
|
},
|
31914
|
-
"
|
31915
|
-
|
31916
|
-
|
31917
|
-
|
31987
|
+
"parameters": [
|
31988
|
+
{
|
31989
|
+
"name": "option",
|
31990
|
+
"optional": true,
|
31991
|
+
"type": {
|
31992
|
+
"text": "Option | null"
|
31993
|
+
},
|
31994
|
+
"description": "The option which tabIndex should be set to 0."
|
31995
|
+
}
|
31996
|
+
],
|
31997
|
+
"description": "Updates the tabindex of all options.\nSets the tabindex of the selected option to '0' and others to '-1'."
|
31918
31998
|
},
|
31919
31999
|
{
|
31920
32000
|
"kind": "method",
|
31921
|
-
"name": "
|
31922
|
-
"privacy": "
|
32001
|
+
"name": "updateSelectedInChildOptions",
|
32002
|
+
"privacy": "private",
|
32003
|
+
"return": {
|
32004
|
+
"type": {
|
32005
|
+
"text": "void"
|
32006
|
+
}
|
32007
|
+
},
|
31923
32008
|
"parameters": [
|
31924
32009
|
{
|
31925
|
-
"name": "
|
31926
|
-
"
|
32010
|
+
"name": "selectedOption",
|
32011
|
+
"type": {
|
32012
|
+
"text": "Option | null"
|
32013
|
+
},
|
32014
|
+
"description": "The option which gets selected"
|
31927
32015
|
}
|
31928
32016
|
],
|
31929
|
-
"description": "
|
32017
|
+
"description": "Sets selected attribute on the selected option and removes it from all options"
|
32018
|
+
},
|
32019
|
+
{
|
32020
|
+
"kind": "method",
|
32021
|
+
"name": "fireEvents",
|
32022
|
+
"privacy": "private",
|
31930
32023
|
"return": {
|
31931
32024
|
"type": {
|
31932
|
-
"text": ""
|
32025
|
+
"text": "void"
|
31933
32026
|
}
|
31934
32027
|
},
|
31935
|
-
"
|
31936
|
-
"name": "Input",
|
31937
|
-
"module": "components/input/input.component.js"
|
31938
|
-
}
|
32028
|
+
"description": "A private method which is called to fire the change and input events.\nIt dispatches the input and change events with the selected option's value and label."
|
31939
32029
|
},
|
31940
32030
|
{
|
31941
32031
|
"kind": "method",
|
31942
|
-
"name": "
|
31943
|
-
"privacy": "
|
32032
|
+
"name": "dispatchChange",
|
32033
|
+
"privacy": "private",
|
32034
|
+
"return": {
|
32035
|
+
"type": {
|
32036
|
+
"text": "void"
|
32037
|
+
}
|
32038
|
+
},
|
31944
32039
|
"parameters": [
|
31945
32040
|
{
|
31946
|
-
"name": "
|
32041
|
+
"name": "option",
|
31947
32042
|
"type": {
|
31948
|
-
"text": "
|
32043
|
+
"text": "Option"
|
31949
32044
|
}
|
31950
|
-
}
|
32045
|
+
}
|
32046
|
+
]
|
32047
|
+
},
|
32048
|
+
{
|
32049
|
+
"kind": "method",
|
32050
|
+
"name": "dispatchInput",
|
32051
|
+
"privacy": "private",
|
32052
|
+
"return": {
|
32053
|
+
"type": {
|
32054
|
+
"text": "void"
|
32055
|
+
}
|
32056
|
+
},
|
32057
|
+
"parameters": [
|
31951
32058
|
{
|
31952
|
-
"name": "
|
31953
|
-
"
|
32059
|
+
"name": "option",
|
32060
|
+
"type": {
|
32061
|
+
"text": "Option"
|
32062
|
+
}
|
31954
32063
|
}
|
31955
|
-
]
|
31956
|
-
"inheritedFrom": {
|
31957
|
-
"name": "Input",
|
31958
|
-
"module": "components/input/input.component.js"
|
31959
|
-
}
|
32064
|
+
]
|
31960
32065
|
},
|
31961
32066
|
{
|
31962
|
-
"kind": "
|
31963
|
-
"name": "
|
31964
|
-
"
|
31965
|
-
|
32067
|
+
"kind": "method",
|
32068
|
+
"name": "handleClickCombobox",
|
32069
|
+
"privacy": "private",
|
32070
|
+
"return": {
|
32071
|
+
"type": {
|
32072
|
+
"text": "void"
|
32073
|
+
}
|
31966
32074
|
},
|
31967
|
-
"
|
31968
|
-
|
31969
|
-
|
31970
|
-
|
31971
|
-
|
31972
|
-
|
31973
|
-
|
31974
|
-
|
32075
|
+
"parameters": [
|
32076
|
+
{
|
32077
|
+
"name": "event",
|
32078
|
+
"type": {
|
32079
|
+
"text": "MouseEvent"
|
32080
|
+
},
|
32081
|
+
"description": "The mouse event which triggered this function."
|
32082
|
+
}
|
32083
|
+
],
|
32084
|
+
"description": "Handles the click event on the visual combobox.\nIf the select is disabled, soft-disabled or readonly, it does nothing.\nIf the popover is already open, it closes it.\nIf it is closed, it opens it."
|
31975
32085
|
},
|
31976
32086
|
{
|
31977
|
-
"kind": "
|
31978
|
-
"name": "
|
31979
|
-
"
|
31980
|
-
|
32087
|
+
"kind": "method",
|
32088
|
+
"name": "handleKeydownCombobox",
|
32089
|
+
"privacy": "private",
|
32090
|
+
"return": {
|
32091
|
+
"type": {
|
32092
|
+
"text": "void"
|
32093
|
+
}
|
31981
32094
|
},
|
31982
|
-
"
|
31983
|
-
|
31984
|
-
|
31985
|
-
|
31986
|
-
|
31987
|
-
|
31988
|
-
|
32095
|
+
"parameters": [
|
32096
|
+
{
|
32097
|
+
"name": "event",
|
32098
|
+
"type": {
|
32099
|
+
"text": "KeyboardEvent"
|
32100
|
+
},
|
32101
|
+
"description": "The keyboard event."
|
32102
|
+
}
|
32103
|
+
],
|
32104
|
+
"description": "Handles the keydown event on the select element when the popover is closed.\nThe options are as follows:\n- ARROW_DOWN, ARROW_UP, SPACE: Opens the popover and prevents the default scrolling behavior.\n- ENTER: Opens the popover, prevents default scrolling, and submits the form if the popover is closed.\n- HOME: Opens the popover and sets focus and tabindex on the first option.\n- END: Opens the popover and sets focus and tabindex on the last option."
|
31989
32105
|
},
|
31990
32106
|
{
|
31991
|
-
"kind": "
|
31992
|
-
"name": "
|
31993
|
-
"
|
31994
|
-
|
32107
|
+
"kind": "method",
|
32108
|
+
"name": "handlePopoverKeydown",
|
32109
|
+
"privacy": "private",
|
32110
|
+
"return": {
|
32111
|
+
"type": {
|
32112
|
+
"text": "void"
|
32113
|
+
}
|
31995
32114
|
},
|
31996
|
-
"
|
31997
|
-
|
31998
|
-
|
31999
|
-
|
32000
|
-
|
32001
|
-
|
32002
|
-
|
32003
|
-
|
32115
|
+
"parameters": [
|
32116
|
+
{
|
32117
|
+
"name": "event",
|
32118
|
+
"type": {
|
32119
|
+
"text": "KeyboardEvent"
|
32120
|
+
},
|
32121
|
+
"description": "The keyboard event."
|
32122
|
+
}
|
32123
|
+
],
|
32124
|
+
"description": "Handles the keydown event on the select element when the popover is open.\nThe options are as follows:\n- HOME: Sets focus and tabindex on the first option.\n- END: Sets focus and tabindex on the last option.\n- ARROW_DOWN, ARROW_UP, PAGE_DOWN, PAGE_UP: Handles navigation between options."
|
32004
32125
|
},
|
32005
32126
|
{
|
32006
|
-
"kind": "
|
32007
|
-
"name": "
|
32008
|
-
"
|
32009
|
-
|
32127
|
+
"kind": "method",
|
32128
|
+
"name": "updateState",
|
32129
|
+
"privacy": "public",
|
32130
|
+
"return": {
|
32131
|
+
"type": {
|
32132
|
+
"text": "void"
|
32133
|
+
}
|
32010
32134
|
},
|
32011
|
-
"
|
32012
|
-
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
32013
|
-
"attribute": "id",
|
32014
|
-
"inheritedFrom": {
|
32015
|
-
"name": "FormfieldWrapper",
|
32016
|
-
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
32017
|
-
}
|
32135
|
+
"description": "Updates the state of the select component.\nThis public method should be fired when the selected on the option components is updated from the outside.\nIt ensures that the selected attribute is set correctly on the options\nand that the aria-selected attribute is updated accordingly."
|
32018
32136
|
},
|
32019
32137
|
{
|
32020
32138
|
"kind": "field",
|
32021
|
-
"name": "
|
32139
|
+
"name": "name",
|
32022
32140
|
"type": {
|
32023
|
-
"text": "
|
32141
|
+
"text": "string"
|
32024
32142
|
},
|
32025
|
-
"
|
32026
|
-
"
|
32143
|
+
"default": "''",
|
32144
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
32145
|
+
"attribute": "name",
|
32027
32146
|
"reflects": true,
|
32028
32147
|
"inheritedFrom": {
|
32029
|
-
"name": "
|
32030
|
-
"module": "
|
32148
|
+
"name": "FormInternalsMixin",
|
32149
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
32031
32150
|
}
|
32032
32151
|
},
|
32033
32152
|
{
|
32034
32153
|
"kind": "field",
|
32035
|
-
"name": "
|
32154
|
+
"name": "value",
|
32036
32155
|
"type": {
|
32037
|
-
"text": "string
|
32156
|
+
"text": "string"
|
32038
32157
|
},
|
32039
|
-
"
|
32040
|
-
"
|
32158
|
+
"default": "''",
|
32159
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
32160
|
+
"attribute": "value",
|
32041
32161
|
"reflects": true,
|
32042
32162
|
"inheritedFrom": {
|
32043
|
-
"name": "
|
32044
|
-
"module": "
|
32163
|
+
"name": "FormInternalsMixin",
|
32164
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
32045
32165
|
}
|
32046
32166
|
},
|
32047
32167
|
{
|
32048
32168
|
"kind": "field",
|
32049
|
-
"name": "
|
32169
|
+
"name": "validationMessage",
|
32050
32170
|
"type": {
|
32051
32171
|
"text": "string | undefined"
|
32052
32172
|
},
|
32053
|
-
"description": "
|
32054
|
-
"attribute": "
|
32173
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
|
32174
|
+
"attribute": "validation-message",
|
32055
32175
|
"reflects": true,
|
32056
32176
|
"inheritedFrom": {
|
32057
|
-
"name": "
|
32058
|
-
"module": "
|
32177
|
+
"name": "FormInternalsMixin",
|
32178
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
32059
32179
|
}
|
32060
32180
|
},
|
32061
32181
|
{
|
32062
32182
|
"kind": "field",
|
32063
|
-
"name": "
|
32183
|
+
"name": "validity",
|
32064
32184
|
"type": {
|
32065
|
-
"text": "
|
32185
|
+
"text": "ValidityState"
|
32066
32186
|
},
|
32067
|
-
"
|
32068
|
-
"default": "'top'",
|
32069
|
-
"attribute": "toggletip-placement",
|
32070
|
-
"reflects": true,
|
32187
|
+
"readonly": true,
|
32071
32188
|
"inheritedFrom": {
|
32072
|
-
"name": "
|
32073
|
-
"module": "
|
32189
|
+
"name": "FormInternalsMixin",
|
32190
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
32074
32191
|
}
|
32075
32192
|
},
|
32076
32193
|
{
|
32077
32194
|
"kind": "field",
|
32078
|
-
"name": "
|
32079
|
-
"
|
32080
|
-
"text": "string | undefined"
|
32081
|
-
},
|
32082
|
-
"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.",
|
32083
|
-
"attribute": "info-icon-aria-label",
|
32084
|
-
"reflects": true,
|
32195
|
+
"name": "willValidate",
|
32196
|
+
"readonly": true,
|
32085
32197
|
"inheritedFrom": {
|
32086
|
-
"name": "
|
32087
|
-
"module": "
|
32198
|
+
"name": "FormInternalsMixin",
|
32199
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
32088
32200
|
}
|
32089
32201
|
},
|
32090
32202
|
{
|
32091
32203
|
"kind": "method",
|
32092
|
-
"name": "
|
32093
|
-
"
|
32094
|
-
"description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
|
32204
|
+
"name": "setValidity",
|
32205
|
+
"description": "Sets the validity of the input field based on the input field's validity.",
|
32095
32206
|
"return": {
|
32096
32207
|
"type": {
|
32097
32208
|
"text": ""
|
32098
32209
|
}
|
32099
32210
|
},
|
32100
32211
|
"inheritedFrom": {
|
32101
|
-
"name": "
|
32102
|
-
"module": "
|
32212
|
+
"name": "FormInternalsMixin",
|
32213
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
32103
32214
|
}
|
32104
32215
|
},
|
32105
32216
|
{
|
32106
32217
|
"kind": "method",
|
32107
|
-
"name": "
|
32108
|
-
"privacy": "protected",
|
32109
|
-
"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.",
|
32218
|
+
"name": "checkValidity",
|
32110
32219
|
"return": {
|
32111
32220
|
"type": {
|
32112
|
-
"text": ""
|
32221
|
+
"text": "boolean"
|
32113
32222
|
}
|
32114
32223
|
},
|
32115
32224
|
"inheritedFrom": {
|
32116
|
-
"name": "
|
32117
|
-
"module": "
|
32225
|
+
"name": "FormInternalsMixin",
|
32226
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
32118
32227
|
}
|
32119
32228
|
},
|
32120
32229
|
{
|
32121
32230
|
"kind": "method",
|
32122
|
-
"name": "
|
32123
|
-
"privacy": "protected",
|
32124
|
-
"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.",
|
32125
|
-
"return": {
|
32126
|
-
"type": {
|
32127
|
-
"text": ""
|
32128
|
-
}
|
32129
|
-
},
|
32231
|
+
"name": "reportValidity",
|
32130
32232
|
"inheritedFrom": {
|
32131
|
-
"name": "
|
32132
|
-
"module": "
|
32233
|
+
"name": "FormInternalsMixin",
|
32234
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
32133
32235
|
}
|
32134
32236
|
},
|
32135
32237
|
{
|
32136
|
-
"kind": "
|
32137
|
-
"name": "
|
32138
|
-
"
|
32139
|
-
|
32140
|
-
"return": {
|
32141
|
-
"type": {
|
32142
|
-
"text": ""
|
32143
|
-
}
|
32238
|
+
"kind": "field",
|
32239
|
+
"name": "dataAriaLabel",
|
32240
|
+
"type": {
|
32241
|
+
"text": "string | null"
|
32144
32242
|
},
|
32243
|
+
"default": "null",
|
32244
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
32245
|
+
"attribute": "data-aria-label",
|
32246
|
+
"reflects": true,
|
32145
32247
|
"inheritedFrom": {
|
32146
|
-
"name": "
|
32147
|
-
"module": "
|
32248
|
+
"name": "DataAriaLabelMixin",
|
32249
|
+
"module": "utils/mixins/DataAriaLabelMixin.js"
|
32148
32250
|
}
|
32149
32251
|
},
|
32150
32252
|
{
|
32151
|
-
"kind": "
|
32152
|
-
"name": "
|
32153
|
-
"
|
32154
|
-
|
32155
|
-
"return": {
|
32156
|
-
"type": {
|
32157
|
-
"text": ""
|
32158
|
-
}
|
32253
|
+
"kind": "field",
|
32254
|
+
"name": "disabled",
|
32255
|
+
"type": {
|
32256
|
+
"text": "boolean | undefined"
|
32159
32257
|
},
|
32258
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
32259
|
+
"default": "undefined",
|
32260
|
+
"attribute": "disabled",
|
32261
|
+
"reflects": true,
|
32160
32262
|
"inheritedFrom": {
|
32161
32263
|
"name": "FormfieldWrapper",
|
32162
32264
|
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
32163
32265
|
}
|
32164
|
-
}
|
32165
|
-
],
|
32166
|
-
"events": [
|
32167
|
-
{
|
32168
|
-
"description": "(React: onInput) This event is dispatched when the value of the input field changes (every press).",
|
32169
|
-
"name": "input",
|
32170
|
-
"reactName": "onInput",
|
32171
|
-
"inheritedFrom": {
|
32172
|
-
"name": "Input",
|
32173
|
-
"module": "src/components/input/input.component.ts"
|
32174
|
-
}
|
32175
|
-
},
|
32176
|
-
{
|
32177
|
-
"description": "(React: onChange) This event is dispatched when the value of the input field changes (on blur).",
|
32178
|
-
"name": "change",
|
32179
|
-
"reactName": "onChange",
|
32180
|
-
"inheritedFrom": {
|
32181
|
-
"name": "Input",
|
32182
|
-
"module": "src/components/input/input.component.ts"
|
32183
|
-
}
|
32184
|
-
},
|
32185
|
-
{
|
32186
|
-
"description": "(React: onFocus) This event is dispatched when the input receives focus.",
|
32187
|
-
"name": "focus",
|
32188
|
-
"reactName": "onFocus",
|
32189
|
-
"inheritedFrom": {
|
32190
|
-
"name": "Input",
|
32191
|
-
"module": "src/components/input/input.component.ts"
|
32192
|
-
}
|
32193
32266
|
},
|
32194
32267
|
{
|
32195
|
-
"
|
32196
|
-
"name": "
|
32197
|
-
"
|
32268
|
+
"kind": "field",
|
32269
|
+
"name": "label",
|
32270
|
+
"type": {
|
32271
|
+
"text": "string | undefined"
|
32272
|
+
},
|
32273
|
+
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
32274
|
+
"attribute": "label",
|
32275
|
+
"reflects": true,
|
32198
32276
|
"inheritedFrom": {
|
32199
|
-
"name": "
|
32200
|
-
"module": "
|
32277
|
+
"name": "FormfieldWrapper",
|
32278
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
32201
32279
|
}
|
32202
32280
|
},
|
32203
32281
|
{
|
32204
|
-
"
|
32282
|
+
"kind": "field",
|
32283
|
+
"name": "required",
|
32205
32284
|
"type": {
|
32206
|
-
"text": "
|
32285
|
+
"text": "boolean"
|
32207
32286
|
},
|
32208
|
-
"
|
32209
|
-
"
|
32287
|
+
"default": "false",
|
32288
|
+
"description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
|
32289
|
+
"attribute": "required",
|
32290
|
+
"reflects": true,
|
32210
32291
|
"inheritedFrom": {
|
32211
|
-
"name": "
|
32212
|
-
"module": "
|
32292
|
+
"name": "FormfieldWrapper",
|
32293
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
32213
32294
|
}
|
32214
32295
|
},
|
32215
32296
|
{
|
32297
|
+
"kind": "field",
|
32298
|
+
"name": "id",
|
32216
32299
|
"type": {
|
32217
|
-
"text": "
|
32300
|
+
"text": "string"
|
32218
32301
|
},
|
32302
|
+
"default": "''",
|
32303
|
+
"description": "The unique id of the input field. It is used to link the input field with the label.",
|
32304
|
+
"attribute": "id",
|
32219
32305
|
"inheritedFrom": {
|
32220
|
-
"name": "
|
32221
|
-
"module": "
|
32306
|
+
"name": "FormfieldWrapper",
|
32307
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
32222
32308
|
}
|
32223
|
-
}
|
32224
|
-
],
|
32225
|
-
"superclass": {
|
32226
|
-
"name": "Input",
|
32227
|
-
"module": "/src/components/input/input.component"
|
32228
|
-
},
|
32229
|
-
"tagName": "mdc-searchfield",
|
32230
|
-
"jsDoc": "/**\n * `mdc-searchfield` component is used as an input field for search functionality.\n *\n * It supports `mdc-inputchip` as filters.\n *\n * This component is built by extending the `mdc-input` component.\n *\n * @tagname mdc-searchfield\n * \n * @event input - (React: onInput) This event is dispatched when the value of the input field changes (every press).\n * @event change - (React: onChange) This event is dispatched when the value of the input field changes (on blur).\n * @event focus - (React: onFocus) This event is dispatched when the input receives focus.\n * @event blur - (React: onBlur) This event is dispatched when the input loses focus.\n * @event clear - (React: onClear) This event is dispatched when the input text is cleared.\n *\n * @slot filters - Slot for input chips\n */",
|
32231
|
-
"customElement": true,
|
32232
|
-
"attributes": [
|
32309
|
+
},
|
32233
32310
|
{
|
32234
|
-
"
|
32311
|
+
"kind": "field",
|
32312
|
+
"name": "helpTextType",
|
32235
32313
|
"type": {
|
32236
|
-
"text": "
|
32314
|
+
"text": "ValidationType"
|
32237
32315
|
},
|
32238
|
-
"
|
32239
|
-
"
|
32240
|
-
"
|
32316
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
32317
|
+
"attribute": "help-text-type",
|
32318
|
+
"reflects": true,
|
32241
32319
|
"inheritedFrom": {
|
32242
|
-
"name": "
|
32243
|
-
"module": "
|
32320
|
+
"name": "FormfieldWrapper",
|
32321
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
32244
32322
|
}
|
32245
32323
|
},
|
32246
32324
|
{
|
32247
|
-
"
|
32325
|
+
"kind": "field",
|
32326
|
+
"name": "helpText",
|
32248
32327
|
"type": {
|
32249
|
-
"text": "string"
|
32328
|
+
"text": "string | undefined"
|
32250
32329
|
},
|
32251
|
-
"
|
32252
|
-
"
|
32253
|
-
"
|
32330
|
+
"description": "The help text that is displayed below the input field.",
|
32331
|
+
"attribute": "help-text",
|
32332
|
+
"reflects": true,
|
32254
32333
|
"inheritedFrom": {
|
32255
|
-
"name": "
|
32256
|
-
"module": "
|
32334
|
+
"name": "FormfieldWrapper",
|
32335
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
32257
32336
|
}
|
32258
32337
|
},
|
32259
32338
|
{
|
32260
|
-
"
|
32339
|
+
"kind": "field",
|
32340
|
+
"name": "toggletipText",
|
32261
32341
|
"type": {
|
32262
32342
|
"text": "string | undefined"
|
32263
32343
|
},
|
32264
|
-
"description": "
|
32265
|
-
"
|
32344
|
+
"description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
|
32345
|
+
"attribute": "toggletip-text",
|
32346
|
+
"reflects": true,
|
32266
32347
|
"inheritedFrom": {
|
32267
|
-
"name": "
|
32268
|
-
"module": "
|
32348
|
+
"name": "FormfieldWrapper",
|
32349
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
32269
32350
|
}
|
32270
32351
|
},
|
32271
32352
|
{
|
32272
|
-
"
|
32353
|
+
"kind": "field",
|
32354
|
+
"name": "toggletipPlacement",
|
32273
32355
|
"type": {
|
32274
|
-
"text": "
|
32356
|
+
"text": "PopoverPlacement"
|
32275
32357
|
},
|
32276
|
-
"
|
32277
|
-
"
|
32278
|
-
"
|
32358
|
+
"description": "The placement of the toggletip that is displayed when the info icon is hovered.",
|
32359
|
+
"default": "'top'",
|
32360
|
+
"attribute": "toggletip-placement",
|
32361
|
+
"reflects": true,
|
32279
32362
|
"inheritedFrom": {
|
32280
|
-
"name": "
|
32281
|
-
"module": "
|
32363
|
+
"name": "FormfieldWrapper",
|
32364
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
32282
32365
|
}
|
32283
32366
|
},
|
32284
32367
|
{
|
32285
|
-
"
|
32368
|
+
"kind": "field",
|
32369
|
+
"name": "infoIconAriaLabel",
|
32286
32370
|
"type": {
|
32287
|
-
"text": "string"
|
32371
|
+
"text": "string | undefined"
|
32288
32372
|
},
|
32289
|
-
"
|
32290
|
-
"
|
32291
|
-
"
|
32373
|
+
"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.",
|
32374
|
+
"attribute": "info-icon-aria-label",
|
32375
|
+
"reflects": true,
|
32292
32376
|
"inheritedFrom": {
|
32293
|
-
"name": "
|
32294
|
-
"module": "
|
32377
|
+
"name": "FormfieldWrapper",
|
32378
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
32295
32379
|
}
|
32296
32380
|
},
|
32297
32381
|
{
|
32298
|
-
"
|
32299
|
-
"
|
32300
|
-
|
32382
|
+
"kind": "method",
|
32383
|
+
"name": "renderLabelElement",
|
32384
|
+
"privacy": "protected",
|
32385
|
+
"description": "creates the label element when the label property is set.\nid is used to link the label with the input field.",
|
32386
|
+
"return": {
|
32387
|
+
"type": {
|
32388
|
+
"text": ""
|
32389
|
+
}
|
32301
32390
|
},
|
32302
|
-
"default": "false",
|
32303
|
-
"description": "readonly attribute of the input field. If true, the input field is read-only.",
|
32304
|
-
"fieldName": "readonly",
|
32305
32391
|
"inheritedFrom": {
|
32306
|
-
"name": "
|
32307
|
-
"module": "
|
32392
|
+
"name": "FormfieldWrapper",
|
32393
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
32308
32394
|
}
|
32309
32395
|
},
|
32310
32396
|
{
|
32311
|
-
"
|
32312
|
-
"
|
32313
|
-
|
32397
|
+
"kind": "method",
|
32398
|
+
"name": "renderHelpTextIcon",
|
32399
|
+
"privacy": "protected",
|
32400
|
+
"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.",
|
32401
|
+
"return": {
|
32402
|
+
"type": {
|
32403
|
+
"text": ""
|
32404
|
+
}
|
32314
32405
|
},
|
32315
|
-
"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.",
|
32316
|
-
"fieldName": "prefixText",
|
32317
32406
|
"inheritedFrom": {
|
32318
|
-
"name": "
|
32319
|
-
"module": "
|
32407
|
+
"name": "FormfieldWrapper",
|
32408
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
32320
32409
|
}
|
32321
32410
|
},
|
32322
32411
|
{
|
32323
|
-
"
|
32324
|
-
"
|
32325
|
-
|
32412
|
+
"kind": "method",
|
32413
|
+
"name": "renderHelpText",
|
32414
|
+
"privacy": "protected",
|
32415
|
+
"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.",
|
32416
|
+
"return": {
|
32417
|
+
"type": {
|
32418
|
+
"text": ""
|
32419
|
+
}
|
32326
32420
|
},
|
32327
|
-
"description": "The leading icon that is displayed before the input field.",
|
32328
|
-
"fieldName": "leadingIcon",
|
32329
32421
|
"inheritedFrom": {
|
32330
|
-
"name": "
|
32331
|
-
"module": "
|
32422
|
+
"name": "FormfieldWrapper",
|
32423
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
32332
32424
|
}
|
32333
32425
|
},
|
32334
32426
|
{
|
32335
|
-
"
|
32336
|
-
"
|
32337
|
-
|
32427
|
+
"kind": "method",
|
32428
|
+
"name": "renderLabel",
|
32429
|
+
"privacy": "protected",
|
32430
|
+
"description": "renders the mdc-label-text container that contains the label and labelInfoToggleTip.",
|
32431
|
+
"return": {
|
32432
|
+
"type": {
|
32433
|
+
"text": ""
|
32434
|
+
}
|
32338
32435
|
},
|
32339
|
-
"default": "false",
|
32340
|
-
"description": "The trailing button when set to true, shows a clear button that clears the input field.",
|
32341
|
-
"fieldName": "trailingButton",
|
32342
32436
|
"inheritedFrom": {
|
32343
|
-
"name": "
|
32344
|
-
"module": "
|
32437
|
+
"name": "FormfieldWrapper",
|
32438
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
32345
32439
|
}
|
32346
32440
|
},
|
32347
32441
|
{
|
32348
|
-
"
|
32349
|
-
"
|
32350
|
-
|
32442
|
+
"kind": "method",
|
32443
|
+
"name": "renderHelperText",
|
32444
|
+
"privacy": "protected",
|
32445
|
+
"description": "renders the mdc-help-text container that contains the helpertext icon and helpertext.",
|
32446
|
+
"return": {
|
32447
|
+
"type": {
|
32448
|
+
"text": ""
|
32449
|
+
}
|
32351
32450
|
},
|
32352
|
-
"description": "The maximum number of characters that the input field can accept.",
|
32353
|
-
"fieldName": "maxlength",
|
32354
32451
|
"inheritedFrom": {
|
32355
|
-
"name": "
|
32356
|
-
"module": "
|
32452
|
+
"name": "FormfieldWrapper",
|
32453
|
+
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
32357
32454
|
}
|
32358
|
-
}
|
32455
|
+
}
|
32456
|
+
],
|
32457
|
+
"events": [
|
32359
32458
|
{
|
32360
|
-
"name": "
|
32459
|
+
"name": "change",
|
32361
32460
|
"type": {
|
32362
|
-
"text": "
|
32461
|
+
"text": "CustomEvent"
|
32363
32462
|
},
|
32364
|
-
"description": "
|
32365
|
-
"
|
32366
|
-
"inheritedFrom": {
|
32367
|
-
"name": "Input",
|
32368
|
-
"module": "src/components/input/input.component.ts"
|
32369
|
-
}
|
32463
|
+
"description": "(React: onChange) This event is dispatched when the select is changed.",
|
32464
|
+
"reactName": "onChange"
|
32370
32465
|
},
|
32371
32466
|
{
|
32372
|
-
"name": "
|
32467
|
+
"name": "input",
|
32373
32468
|
"type": {
|
32374
|
-
"text": "
|
32469
|
+
"text": "CustomEvent"
|
32375
32470
|
},
|
32376
|
-
"description": "
|
32377
|
-
"
|
32378
|
-
"fieldName": "autocapitalize",
|
32379
|
-
"inheritedFrom": {
|
32380
|
-
"name": "Input",
|
32381
|
-
"module": "src/components/input/input.component.ts"
|
32382
|
-
}
|
32471
|
+
"description": "(React: onInput) This event is dispatched when the select is changed.",
|
32472
|
+
"reactName": "onInput"
|
32383
32473
|
},
|
32384
32474
|
{
|
32385
|
-
"
|
32475
|
+
"description": "(React: onClick) This event is dispatched when the select is clicked.",
|
32476
|
+
"name": "click",
|
32477
|
+
"reactName": "onClick"
|
32478
|
+
},
|
32479
|
+
{
|
32480
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the select.",
|
32481
|
+
"name": "keydown",
|
32482
|
+
"reactName": "onKeyDown"
|
32483
|
+
},
|
32484
|
+
{
|
32485
|
+
"description": "(React: onFocus) This event is dispatched when the select receives focus.",
|
32486
|
+
"name": "focus",
|
32487
|
+
"reactName": "onFocus"
|
32488
|
+
}
|
32489
|
+
],
|
32490
|
+
"attributes": [
|
32491
|
+
{
|
32492
|
+
"name": "placeholder",
|
32386
32493
|
"type": {
|
32387
|
-
"text": "
|
32494
|
+
"text": "string | undefined"
|
32388
32495
|
},
|
32389
|
-
"description": "The
|
32390
|
-
"
|
32391
|
-
"fieldName": "autocomplete",
|
32392
|
-
"inheritedFrom": {
|
32393
|
-
"name": "Input",
|
32394
|
-
"module": "src/components/input/input.component.ts"
|
32395
|
-
}
|
32496
|
+
"description": "The placeholder text which will be shown on the text if provided.",
|
32497
|
+
"fieldName": "placeholder"
|
32396
32498
|
},
|
32397
32499
|
{
|
32398
|
-
"name": "
|
32500
|
+
"name": "readonly",
|
32399
32501
|
"type": {
|
32400
32502
|
"text": "boolean"
|
32401
32503
|
},
|
32402
32504
|
"default": "false",
|
32403
|
-
"description": "
|
32404
|
-
"fieldName": "
|
32405
|
-
"inheritedFrom": {
|
32406
|
-
"name": "Input",
|
32407
|
-
"module": "src/components/input/input.component.ts"
|
32408
|
-
}
|
32505
|
+
"description": "readonly attribute of the select field. If true, the select is read-only.",
|
32506
|
+
"fieldName": "readonly"
|
32409
32507
|
},
|
32410
32508
|
{
|
32411
|
-
"name": "
|
32509
|
+
"name": "height",
|
32412
32510
|
"type": {
|
32413
|
-
"text": "string
|
32511
|
+
"text": "string"
|
32414
32512
|
},
|
32415
|
-
"
|
32416
|
-
"
|
32417
|
-
"
|
32418
|
-
"name": "Input",
|
32419
|
-
"module": "src/components/input/input.component.ts"
|
32420
|
-
}
|
32513
|
+
"default": "'auto'",
|
32514
|
+
"description": "height attribute of the select field. If set,\nthen a scroll bar will be visible when there more options than the adjusted height.",
|
32515
|
+
"fieldName": "height"
|
32421
32516
|
},
|
32422
32517
|
{
|
32423
|
-
"name": "
|
32518
|
+
"name": "placement",
|
32424
32519
|
"type": {
|
32425
|
-
"text": "
|
32520
|
+
"text": "Placement"
|
32426
32521
|
},
|
32427
|
-
"description": "The
|
32428
|
-
"fieldName": "
|
32522
|
+
"description": "The placeholder text which will be shown on the text if provided.",
|
32523
|
+
"fieldName": "placement"
|
32524
|
+
},
|
32525
|
+
{
|
32526
|
+
"name": "soft-disabled",
|
32527
|
+
"type": {
|
32528
|
+
"text": "boolean | undefined"
|
32529
|
+
},
|
32530
|
+
"description": "Indicates whether the select is soft disabled.\nWhen set to `true`, the select appears visually disabled but still allows\nfocus.",
|
32531
|
+
"default": "undefined",
|
32532
|
+
"fieldName": "softDisabled"
|
32533
|
+
},
|
32534
|
+
{
|
32535
|
+
"name": "name",
|
32536
|
+
"type": {
|
32537
|
+
"text": "string"
|
32538
|
+
},
|
32539
|
+
"default": "''",
|
32540
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
32541
|
+
"fieldName": "name",
|
32429
32542
|
"inheritedFrom": {
|
32430
|
-
"name": "
|
32431
|
-
"module": "src/
|
32543
|
+
"name": "FormInternalsMixin",
|
32544
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
32432
32545
|
}
|
32433
32546
|
},
|
32434
32547
|
{
|
32435
|
-
"name": "
|
32548
|
+
"name": "value",
|
32436
32549
|
"type": {
|
32437
|
-
"text": "string
|
32550
|
+
"text": "string"
|
32438
32551
|
},
|
32439
|
-
"
|
32440
|
-
"
|
32552
|
+
"default": "''",
|
32553
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
32554
|
+
"fieldName": "value",
|
32441
32555
|
"inheritedFrom": {
|
32442
|
-
"name": "
|
32443
|
-
"module": "src/
|
32556
|
+
"name": "FormInternalsMixin",
|
32557
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
32444
32558
|
}
|
32445
32559
|
},
|
32446
32560
|
{
|
32447
|
-
"name": "
|
32561
|
+
"name": "validation-message",
|
32448
32562
|
"type": {
|
32449
|
-
"text": "
|
32563
|
+
"text": "string | undefined"
|
32450
32564
|
},
|
32451
|
-
"description": "
|
32452
|
-
"
|
32453
|
-
"fieldName": "size",
|
32565
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
|
32566
|
+
"fieldName": "validationMessage",
|
32454
32567
|
"inheritedFrom": {
|
32455
|
-
"name": "
|
32456
|
-
"module": "src/
|
32568
|
+
"name": "FormInternalsMixin",
|
32569
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
32457
32570
|
}
|
32458
32571
|
},
|
32459
32572
|
{
|
32460
|
-
"name": "
|
32573
|
+
"name": "data-aria-label",
|
32461
32574
|
"type": {
|
32462
|
-
"text": "string"
|
32575
|
+
"text": "string | null"
|
32463
32576
|
},
|
32464
|
-
"default": "
|
32465
|
-
"description": "
|
32466
|
-
"fieldName": "
|
32577
|
+
"default": "null",
|
32578
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
32579
|
+
"fieldName": "dataAriaLabel",
|
32467
32580
|
"inheritedFrom": {
|
32468
|
-
"name": "
|
32469
|
-
"module": "src/
|
32581
|
+
"name": "DataAriaLabelMixin",
|
32582
|
+
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
32470
32583
|
}
|
32471
32584
|
},
|
32472
32585
|
{
|
@@ -32582,136 +32695,23 @@
|
|
32582
32695
|
}
|
32583
32696
|
}
|
32584
32697
|
],
|
32585
|
-
"
|
32586
|
-
{
|
32587
|
-
"description": "Border color for the input container when disabled",
|
32588
|
-
"name": "--mdc-input-disabled-border-color",
|
32589
|
-
"inheritedFrom": {
|
32590
|
-
"name": "Input",
|
32591
|
-
"module": "src/components/input/input.component.ts"
|
32592
|
-
}
|
32593
|
-
},
|
32594
|
-
{
|
32595
|
-
"description": "Text color for the input field when disabled",
|
32596
|
-
"name": "--mdc-input-disabled-text-color",
|
32597
|
-
"inheritedFrom": {
|
32598
|
-
"name": "Input",
|
32599
|
-
"module": "src/components/input/input.component.ts"
|
32600
|
-
}
|
32601
|
-
},
|
32602
|
-
{
|
32603
|
-
"description": "Background color for the input field when disabled",
|
32604
|
-
"name": "--mdc-input-disabled-background-color",
|
32605
|
-
"inheritedFrom": {
|
32606
|
-
"name": "Input",
|
32607
|
-
"module": "src/components/input/input.component.ts"
|
32608
|
-
}
|
32609
|
-
},
|
32610
|
-
{
|
32611
|
-
"description": "Border color for the input container",
|
32612
|
-
"name": "--mdc-input-border-color",
|
32613
|
-
"inheritedFrom": {
|
32614
|
-
"name": "Input",
|
32615
|
-
"module": "src/components/input/input.component.ts"
|
32616
|
-
}
|
32617
|
-
},
|
32618
|
-
{
|
32619
|
-
"description": "Text color for the input field",
|
32620
|
-
"name": "--mdc-input-text-color",
|
32621
|
-
"inheritedFrom": {
|
32622
|
-
"name": "Input",
|
32623
|
-
"module": "src/components/input/input.component.ts"
|
32624
|
-
}
|
32625
|
-
},
|
32626
|
-
{
|
32627
|
-
"description": "Background color for the input field",
|
32628
|
-
"name": "--mdc-input-background-color",
|
32629
|
-
"inheritedFrom": {
|
32630
|
-
"name": "Input",
|
32631
|
-
"module": "src/components/input/input.component.ts"
|
32632
|
-
}
|
32633
|
-
},
|
32634
|
-
{
|
32635
|
-
"description": "Background color for the selected text",
|
32636
|
-
"name": "--mdc-input-selection-background-color",
|
32637
|
-
"inheritedFrom": {
|
32638
|
-
"name": "Input",
|
32639
|
-
"module": "src/components/input/input.component.ts"
|
32640
|
-
}
|
32641
|
-
},
|
32642
|
-
{
|
32643
|
-
"description": "Text color for the selected text",
|
32644
|
-
"name": "--mdc-input-selection-text-color",
|
32645
|
-
"inheritedFrom": {
|
32646
|
-
"name": "Input",
|
32647
|
-
"module": "src/components/input/input.component.ts"
|
32648
|
-
}
|
32649
|
-
},
|
32650
|
-
{
|
32651
|
-
"description": "Text color for the help text",
|
32652
|
-
"name": "--mdc-input-support-text-color",
|
32653
|
-
"inheritedFrom": {
|
32654
|
-
"name": "Input",
|
32655
|
-
"module": "src/components/input/input.component.ts"
|
32656
|
-
}
|
32657
|
-
},
|
32658
|
-
{
|
32659
|
-
"description": "Background color for the input field when hovered",
|
32660
|
-
"name": "--mdc-input-hover-background-color",
|
32661
|
-
"inheritedFrom": {
|
32662
|
-
"name": "Input",
|
32663
|
-
"module": "src/components/input/input.component.ts"
|
32664
|
-
}
|
32665
|
-
},
|
32666
|
-
{
|
32667
|
-
"description": "Background color for the input field when focused",
|
32668
|
-
"name": "--mdc-input-focused-background-color",
|
32669
|
-
"inheritedFrom": {
|
32670
|
-
"name": "Input",
|
32671
|
-
"module": "src/components/input/input.component.ts"
|
32672
|
-
}
|
32673
|
-
},
|
32674
|
-
{
|
32675
|
-
"description": "Border color for the input container when focused",
|
32676
|
-
"name": "--mdc-input-focused-border-color",
|
32677
|
-
"inheritedFrom": {
|
32678
|
-
"name": "Input",
|
32679
|
-
"module": "src/components/input/input.component.ts"
|
32680
|
-
}
|
32681
|
-
},
|
32682
|
-
{
|
32683
|
-
"description": "Border color for the input container when error",
|
32684
|
-
"name": "--mdc-input-error-border-color",
|
32685
|
-
"inheritedFrom": {
|
32686
|
-
"name": "Input",
|
32687
|
-
"module": "src/components/input/input.component.ts"
|
32688
|
-
}
|
32689
|
-
},
|
32690
|
-
{
|
32691
|
-
"description": "Border color for the input container when warning",
|
32692
|
-
"name": "--mdc-input-warning-border-color",
|
32693
|
-
"inheritedFrom": {
|
32694
|
-
"name": "Input",
|
32695
|
-
"module": "src/components/input/input.component.ts"
|
32696
|
-
}
|
32697
|
-
},
|
32698
|
+
"mixins": [
|
32698
32699
|
{
|
32699
|
-
"
|
32700
|
-
"
|
32701
|
-
"inheritedFrom": {
|
32702
|
-
"name": "Input",
|
32703
|
-
"module": "src/components/input/input.component.ts"
|
32704
|
-
}
|
32700
|
+
"name": "FormInternalsMixin",
|
32701
|
+
"module": "/src/utils/mixins/FormInternalsMixin"
|
32705
32702
|
},
|
32706
32703
|
{
|
32707
|
-
"
|
32708
|
-
"
|
32709
|
-
"inheritedFrom": {
|
32710
|
-
"name": "Input",
|
32711
|
-
"module": "src/components/input/input.component.ts"
|
32712
|
-
}
|
32704
|
+
"name": "DataAriaLabelMixin",
|
32705
|
+
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
32713
32706
|
}
|
32714
|
-
]
|
32707
|
+
],
|
32708
|
+
"superclass": {
|
32709
|
+
"name": "FormfieldWrapper",
|
32710
|
+
"module": "/src/components/formfieldwrapper/formfieldwrapper.component"
|
32711
|
+
},
|
32712
|
+
"tagName": "mdc-select",
|
32713
|
+
"jsDoc": "/**\n * The mdc-select component is a dropdown selection control that allows users to pick an option from a predefined list.\n * It is designed to work with `mdc-option` for individual options and `mdc-optgroup` for grouping related options.\n * The component ensures accessibility and usability while handling various use cases,\n * including long text truncation with tooltip support.\n *\n * Every mdc-option should have a `value` attribute set to ensure proper form submission.\n *\n * To set a default option, use the `selected` attribute on the `mdc-option` element.\n *\n * **Note:** Make sure to add `mdc-selectlistbox` as a child of `mdc-select` and wrap options/optgroup in it to ensure proper accessibility functionality. Read more about it in SelectListBox documentation.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-popover\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-select\n *\n * @slot default - This is a default/unnamed slot for Selectlistbox including options and/or option group.\n *\n * @event click - (React: onClick) This event is dispatched when the select is clicked.\n * @event change - (React: onChange) This event is dispatched when the select is changed.\n * @event input - (React: onInput) This event is dispatched when the select is changed.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the select.\n * @event focus - (React: onFocus) This event is dispatched when the select receives focus.\n */",
|
32714
|
+
"customElement": true
|
32715
32715
|
}
|
32716
32716
|
],
|
32717
32717
|
"exports": [
|
@@ -32719,8 +32719,8 @@
|
|
32719
32719
|
"kind": "js",
|
32720
32720
|
"name": "default",
|
32721
32721
|
"declaration": {
|
32722
|
-
"name": "
|
32723
|
-
"module": "components/
|
32722
|
+
"name": "Select",
|
32723
|
+
"module": "components/select/select.component.js"
|
32724
32724
|
}
|
32725
32725
|
}
|
32726
32726
|
]
|
@@ -32759,8 +32759,90 @@
|
|
32759
32759
|
"kind": "js",
|
32760
32760
|
"name": "default",
|
32761
32761
|
"declaration": {
|
32762
|
-
"name": "Selectlistbox",
|
32763
|
-
"module": "components/selectlistbox/selectlistbox.component.js"
|
32762
|
+
"name": "Selectlistbox",
|
32763
|
+
"module": "components/selectlistbox/selectlistbox.component.js"
|
32764
|
+
}
|
32765
|
+
}
|
32766
|
+
]
|
32767
|
+
},
|
32768
|
+
{
|
32769
|
+
"kind": "javascript-module",
|
32770
|
+
"path": "components/skeleton/skeleton.component.js",
|
32771
|
+
"declarations": [
|
32772
|
+
{
|
32773
|
+
"kind": "class",
|
32774
|
+
"description": "`mdc-skeleton` is a component that shows a grey placeholder area.\nIt provides visual feedback to users that content is being loaded.\n\n**Skeleton Variants:**\n- **rectangular**: Default variant with 0.25rem border radius\n- **rounded**: Has 0.5rem border radius\n- **circular**: Has 50% border radius for circular shapes\n- **button**: Optimized for button placeholders with 1.25rem border radius\n\n**Sizing Behavior:**\n1. If wrapping content, takes dimensions of wrapped content\n2. Otherwise grows to fill parent container",
|
32775
|
+
"name": "Skeleton",
|
32776
|
+
"cssProperties": [
|
32777
|
+
{
|
32778
|
+
"description": "background color of the skeleton",
|
32779
|
+
"name": "--mdc-skeleton-background-color"
|
32780
|
+
},
|
32781
|
+
{
|
32782
|
+
"description": "height of the skeleton",
|
32783
|
+
"name": "--mdc-skeleton-height"
|
32784
|
+
},
|
32785
|
+
{
|
32786
|
+
"description": "width of the skeleton",
|
32787
|
+
"name": "--mdc-skeleton-width"
|
32788
|
+
}
|
32789
|
+
],
|
32790
|
+
"slots": [
|
32791
|
+
{
|
32792
|
+
"description": "Content to wrap (optional). When provided, skeleton takes dimensions of this content.",
|
32793
|
+
"name": ""
|
32794
|
+
}
|
32795
|
+
],
|
32796
|
+
"members": [
|
32797
|
+
{
|
32798
|
+
"kind": "field",
|
32799
|
+
"name": "variant",
|
32800
|
+
"type": {
|
32801
|
+
"text": "SkeletonVariant"
|
32802
|
+
},
|
32803
|
+
"description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
|
32804
|
+
"default": "rectangular",
|
32805
|
+
"attribute": "variant",
|
32806
|
+
"reflects": true
|
32807
|
+
},
|
32808
|
+
{
|
32809
|
+
"kind": "method",
|
32810
|
+
"name": "checkSlotContent",
|
32811
|
+
"privacy": "private",
|
32812
|
+
"return": {
|
32813
|
+
"type": {
|
32814
|
+
"text": "void"
|
32815
|
+
}
|
32816
|
+
}
|
32817
|
+
}
|
32818
|
+
],
|
32819
|
+
"attributes": [
|
32820
|
+
{
|
32821
|
+
"name": "variant",
|
32822
|
+
"type": {
|
32823
|
+
"text": "SkeletonVariant"
|
32824
|
+
},
|
32825
|
+
"description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
|
32826
|
+
"default": "rectangular",
|
32827
|
+
"fieldName": "variant"
|
32828
|
+
}
|
32829
|
+
],
|
32830
|
+
"superclass": {
|
32831
|
+
"name": "Component",
|
32832
|
+
"module": "/src/models"
|
32833
|
+
},
|
32834
|
+
"tagName": "mdc-skeleton",
|
32835
|
+
"jsDoc": "/**\n * `mdc-skeleton` is a component that shows a grey placeholder area.\n * It provides visual feedback to users that content is being loaded.\n *\n * **Skeleton Variants:**\n * - **rectangular**: Default variant with 0.25rem border radius\n * - **rounded**: Has 0.5rem border radius\n * - **circular**: Has 50% border radius for circular shapes\n * - **button**: Optimized for button placeholders with 1.25rem border radius\n *\n * **Sizing Behavior:**\n * 1. If wrapping content, takes dimensions of wrapped content\n * 2. Otherwise grows to fill parent container\n *\n * @tagname mdc-skeleton\n *\n * @slot - Content to wrap (optional). When provided, skeleton takes dimensions of this content.\n *\n * @cssproperty --mdc-skeleton-background-color - background color of the skeleton\n * @cssproperty --mdc-skeleton-height - height of the skeleton\n * @cssproperty --mdc-skeleton-width - width of the skeleton\n */",
|
32836
|
+
"customElement": true
|
32837
|
+
}
|
32838
|
+
],
|
32839
|
+
"exports": [
|
32840
|
+
{
|
32841
|
+
"kind": "js",
|
32842
|
+
"name": "default",
|
32843
|
+
"declaration": {
|
32844
|
+
"name": "Skeleton",
|
32845
|
+
"module": "components/skeleton/skeleton.component.js"
|
32764
32846
|
}
|
32765
32847
|
}
|
32766
32848
|
]
|
@@ -32952,88 +33034,6 @@
|
|
32952
33034
|
}
|
32953
33035
|
]
|
32954
33036
|
},
|
32955
|
-
{
|
32956
|
-
"kind": "javascript-module",
|
32957
|
-
"path": "components/skeleton/skeleton.component.js",
|
32958
|
-
"declarations": [
|
32959
|
-
{
|
32960
|
-
"kind": "class",
|
32961
|
-
"description": "`mdc-skeleton` is a component that shows a grey placeholder area.\nIt provides visual feedback to users that content is being loaded.\n\n**Skeleton Variants:**\n- **rectangular**: Default variant with 0.25rem border radius\n- **rounded**: Has 0.5rem border radius\n- **circular**: Has 50% border radius for circular shapes\n- **button**: Optimized for button placeholders with 1.25rem border radius\n\n**Sizing Behavior:**\n1. If wrapping content, takes dimensions of wrapped content\n2. Otherwise grows to fill parent container",
|
32962
|
-
"name": "Skeleton",
|
32963
|
-
"cssProperties": [
|
32964
|
-
{
|
32965
|
-
"description": "background color of the skeleton",
|
32966
|
-
"name": "--mdc-skeleton-background-color"
|
32967
|
-
},
|
32968
|
-
{
|
32969
|
-
"description": "height of the skeleton",
|
32970
|
-
"name": "--mdc-skeleton-height"
|
32971
|
-
},
|
32972
|
-
{
|
32973
|
-
"description": "width of the skeleton",
|
32974
|
-
"name": "--mdc-skeleton-width"
|
32975
|
-
}
|
32976
|
-
],
|
32977
|
-
"slots": [
|
32978
|
-
{
|
32979
|
-
"description": "Content to wrap (optional). When provided, skeleton takes dimensions of this content.",
|
32980
|
-
"name": ""
|
32981
|
-
}
|
32982
|
-
],
|
32983
|
-
"members": [
|
32984
|
-
{
|
32985
|
-
"kind": "field",
|
32986
|
-
"name": "variant",
|
32987
|
-
"type": {
|
32988
|
-
"text": "SkeletonVariant"
|
32989
|
-
},
|
32990
|
-
"description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
|
32991
|
-
"default": "rectangular",
|
32992
|
-
"attribute": "variant",
|
32993
|
-
"reflects": true
|
32994
|
-
},
|
32995
|
-
{
|
32996
|
-
"kind": "method",
|
32997
|
-
"name": "checkSlotContent",
|
32998
|
-
"privacy": "private",
|
32999
|
-
"return": {
|
33000
|
-
"type": {
|
33001
|
-
"text": "void"
|
33002
|
-
}
|
33003
|
-
}
|
33004
|
-
}
|
33005
|
-
],
|
33006
|
-
"attributes": [
|
33007
|
-
{
|
33008
|
-
"name": "variant",
|
33009
|
-
"type": {
|
33010
|
-
"text": "SkeletonVariant"
|
33011
|
-
},
|
33012
|
-
"description": "The variant of skeleton to display\n- **rectangular**: Default rectangular shape with 0.25rem border radius\n- **rounded**: Rounded rectangle with 0.5rem border radius\n- **circular**: Circular shape with 50% border radius\n- **button**: Button placeholder with 1.25rem border radius",
|
33013
|
-
"default": "rectangular",
|
33014
|
-
"fieldName": "variant"
|
33015
|
-
}
|
33016
|
-
],
|
33017
|
-
"superclass": {
|
33018
|
-
"name": "Component",
|
33019
|
-
"module": "/src/models"
|
33020
|
-
},
|
33021
|
-
"tagName": "mdc-skeleton",
|
33022
|
-
"jsDoc": "/**\n * `mdc-skeleton` is a component that shows a grey placeholder area.\n * It provides visual feedback to users that content is being loaded.\n *\n * **Skeleton Variants:**\n * - **rectangular**: Default variant with 0.25rem border radius\n * - **rounded**: Has 0.5rem border radius\n * - **circular**: Has 50% border radius for circular shapes\n * - **button**: Optimized for button placeholders with 1.25rem border radius\n *\n * **Sizing Behavior:**\n * 1. If wrapping content, takes dimensions of wrapped content\n * 2. Otherwise grows to fill parent container\n *\n * @tagname mdc-skeleton\n *\n * @slot - Content to wrap (optional). When provided, skeleton takes dimensions of this content.\n *\n * @cssproperty --mdc-skeleton-background-color - background color of the skeleton\n * @cssproperty --mdc-skeleton-height - height of the skeleton\n * @cssproperty --mdc-skeleton-width - width of the skeleton\n */",
|
33023
|
-
"customElement": true
|
33024
|
-
}
|
33025
|
-
],
|
33026
|
-
"exports": [
|
33027
|
-
{
|
33028
|
-
"kind": "js",
|
33029
|
-
"name": "default",
|
33030
|
-
"declaration": {
|
33031
|
-
"name": "Skeleton",
|
33032
|
-
"module": "components/skeleton/skeleton.component.js"
|
33033
|
-
}
|
33034
|
-
}
|
33035
|
-
]
|
33036
|
-
},
|
33037
33037
|
{
|
33038
33038
|
"kind": "javascript-module",
|
33039
33039
|
"path": "components/spinner/spinner.component.js",
|
@@ -35030,90 +35030,6 @@
|
|
35030
35030
|
}
|
35031
35031
|
]
|
35032
35032
|
},
|
35033
|
-
{
|
35034
|
-
"kind": "javascript-module",
|
35035
|
-
"path": "components/text/text.component.js",
|
35036
|
-
"declarations": [
|
35037
|
-
{
|
35038
|
-
"kind": "class",
|
35039
|
-
"description": "Text component for creating styled text elements.\nIt has to be mounted within the ThemeProvider to access color and font tokens.\n\nThe `type` attribute allows changing the text style.\nThe `tagname` attribute allows changing the tag name of the text element.\nThe default tag name is `p`.\n\nThe `tagname` attribute should be a valid HTML tag name.\nIf the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n\nThe styling is applied based on the `type` attribute.",
|
35040
|
-
"name": "Text",
|
35041
|
-
"cssParts": [
|
35042
|
-
{
|
35043
|
-
"description": "The text element",
|
35044
|
-
"name": "text"
|
35045
|
-
}
|
35046
|
-
],
|
35047
|
-
"slots": [
|
35048
|
-
{
|
35049
|
-
"description": "Default slot for text content",
|
35050
|
-
"name": ""
|
35051
|
-
}
|
35052
|
-
],
|
35053
|
-
"members": [
|
35054
|
-
{
|
35055
|
-
"kind": "field",
|
35056
|
-
"name": "type",
|
35057
|
-
"type": {
|
35058
|
-
"text": "TextType"
|
35059
|
-
},
|
35060
|
-
"privacy": "public",
|
35061
|
-
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
35062
|
-
"default": "body-large-regular",
|
35063
|
-
"attribute": "type",
|
35064
|
-
"reflects": true
|
35065
|
-
},
|
35066
|
-
{
|
35067
|
-
"kind": "field",
|
35068
|
-
"name": "tagname",
|
35069
|
-
"type": {
|
35070
|
-
"text": "TagName | undefined"
|
35071
|
-
},
|
35072
|
-
"privacy": "public",
|
35073
|
-
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
|
35074
|
-
"attribute": "tagname",
|
35075
|
-
"reflects": true
|
35076
|
-
}
|
35077
|
-
],
|
35078
|
-
"attributes": [
|
35079
|
-
{
|
35080
|
-
"name": "type",
|
35081
|
-
"type": {
|
35082
|
-
"text": "TextType"
|
35083
|
-
},
|
35084
|
-
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
35085
|
-
"default": "body-large-regular",
|
35086
|
-
"fieldName": "type"
|
35087
|
-
},
|
35088
|
-
{
|
35089
|
-
"name": "tagname",
|
35090
|
-
"type": {
|
35091
|
-
"text": "TagName | undefined"
|
35092
|
-
},
|
35093
|
-
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
|
35094
|
-
"fieldName": "tagname"
|
35095
|
-
}
|
35096
|
-
],
|
35097
|
-
"superclass": {
|
35098
|
-
"name": "Component",
|
35099
|
-
"module": "/src/models"
|
35100
|
-
},
|
35101
|
-
"tagName": "mdc-text",
|
35102
|
-
"jsDoc": "/**\n * Text component for creating styled text elements.\n * It has to be mounted within the ThemeProvider to access color and font tokens.\n *\n * The `type` attribute allows changing the text style.\n * The `tagname` attribute allows changing the tag name of the text element.\n * The default tag name is `p`.\n *\n * The `tagname` attribute should be a valid HTML tag name.\n * If the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n *\n * The styling is applied based on the `type` attribute.\n *\n * @tagname mdc-text\n * @slot - Default slot for text content\n *\n * @csspart text - The text element\n */",
|
35103
|
-
"customElement": true
|
35104
|
-
}
|
35105
|
-
],
|
35106
|
-
"exports": [
|
35107
|
-
{
|
35108
|
-
"kind": "js",
|
35109
|
-
"name": "default",
|
35110
|
-
"declaration": {
|
35111
|
-
"name": "Text",
|
35112
|
-
"module": "components/text/text.component.js"
|
35113
|
-
}
|
35114
|
-
}
|
35115
|
-
]
|
35116
|
-
},
|
35117
35033
|
{
|
35118
35034
|
"kind": "javascript-module",
|
35119
35035
|
"path": "components/textarea/textarea.component.js",
|
@@ -36150,6 +36066,90 @@
|
|
36150
36066
|
}
|
36151
36067
|
]
|
36152
36068
|
},
|
36069
|
+
{
|
36070
|
+
"kind": "javascript-module",
|
36071
|
+
"path": "components/text/text.component.js",
|
36072
|
+
"declarations": [
|
36073
|
+
{
|
36074
|
+
"kind": "class",
|
36075
|
+
"description": "Text component for creating styled text elements.\nIt has to be mounted within the ThemeProvider to access color and font tokens.\n\nThe `type` attribute allows changing the text style.\nThe `tagname` attribute allows changing the tag name of the text element.\nThe default tag name is `p`.\n\nThe `tagname` attribute should be a valid HTML tag name.\nIf the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n\nThe styling is applied based on the `type` attribute.",
|
36076
|
+
"name": "Text",
|
36077
|
+
"cssParts": [
|
36078
|
+
{
|
36079
|
+
"description": "The text element",
|
36080
|
+
"name": "text"
|
36081
|
+
}
|
36082
|
+
],
|
36083
|
+
"slots": [
|
36084
|
+
{
|
36085
|
+
"description": "Default slot for text content",
|
36086
|
+
"name": ""
|
36087
|
+
}
|
36088
|
+
],
|
36089
|
+
"members": [
|
36090
|
+
{
|
36091
|
+
"kind": "field",
|
36092
|
+
"name": "type",
|
36093
|
+
"type": {
|
36094
|
+
"text": "TextType"
|
36095
|
+
},
|
36096
|
+
"privacy": "public",
|
36097
|
+
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
36098
|
+
"default": "body-large-regular",
|
36099
|
+
"attribute": "type",
|
36100
|
+
"reflects": true
|
36101
|
+
},
|
36102
|
+
{
|
36103
|
+
"kind": "field",
|
36104
|
+
"name": "tagname",
|
36105
|
+
"type": {
|
36106
|
+
"text": "TagName | undefined"
|
36107
|
+
},
|
36108
|
+
"privacy": "public",
|
36109
|
+
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
|
36110
|
+
"attribute": "tagname",
|
36111
|
+
"reflects": true
|
36112
|
+
}
|
36113
|
+
],
|
36114
|
+
"attributes": [
|
36115
|
+
{
|
36116
|
+
"name": "type",
|
36117
|
+
"type": {
|
36118
|
+
"text": "TextType"
|
36119
|
+
},
|
36120
|
+
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
36121
|
+
"default": "body-large-regular",
|
36122
|
+
"fieldName": "type"
|
36123
|
+
},
|
36124
|
+
{
|
36125
|
+
"name": "tagname",
|
36126
|
+
"type": {
|
36127
|
+
"text": "TagName | undefined"
|
36128
|
+
},
|
36129
|
+
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
|
36130
|
+
"fieldName": "tagname"
|
36131
|
+
}
|
36132
|
+
],
|
36133
|
+
"superclass": {
|
36134
|
+
"name": "Component",
|
36135
|
+
"module": "/src/models"
|
36136
|
+
},
|
36137
|
+
"tagName": "mdc-text",
|
36138
|
+
"jsDoc": "/**\n * Text component for creating styled text elements.\n * It has to be mounted within the ThemeProvider to access color and font tokens.\n *\n * The `type` attribute allows changing the text style.\n * The `tagname` attribute allows changing the tag name of the text element.\n * The default tag name is `p`.\n *\n * The `tagname` attribute should be a valid HTML tag name.\n * If the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n *\n * The styling is applied based on the `type` attribute.\n *\n * @tagname mdc-text\n * @slot - Default slot for text content\n *\n * @csspart text - The text element\n */",
|
36139
|
+
"customElement": true
|
36140
|
+
}
|
36141
|
+
],
|
36142
|
+
"exports": [
|
36143
|
+
{
|
36144
|
+
"kind": "js",
|
36145
|
+
"name": "default",
|
36146
|
+
"declaration": {
|
36147
|
+
"name": "Text",
|
36148
|
+
"module": "components/text/text.component.js"
|
36149
|
+
}
|
36150
|
+
}
|
36151
|
+
]
|
36152
|
+
},
|
36153
36153
|
{
|
36154
36154
|
"kind": "javascript-module",
|
36155
36155
|
"path": "components/toast/toast.component.js",
|