@momentum-design/components 0.116.0 → 0.116.1
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 +1 -1
- package/dist/browser/index.js.map +3 -3
- package/dist/custom-elements.json +1218 -1218
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +1 -1
- package/dist/utils/controllers/ElementStore.d.ts +21 -10
- package/dist/utils/controllers/ElementStore.js +9 -0
- package/package.json +1 -1
@@ -32837,503 +32837,537 @@
|
|
32837
32837
|
},
|
32838
32838
|
{
|
32839
32839
|
"kind": "javascript-module",
|
32840
|
-
"path": "components/
|
32840
|
+
"path": "components/select/select.component.js",
|
32841
32841
|
"declarations": [
|
32842
32842
|
{
|
32843
32843
|
"kind": "class",
|
32844
|
-
"description": "
|
32845
|
-
"name": "
|
32844
|
+
"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.\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.\n\nIf you need to use `mdc-tooltip` with any options, make sure to place the tooltip component outside the `mdc-select` element.",
|
32845
|
+
"name": "Select",
|
32846
|
+
"cssProperties": [
|
32847
|
+
{
|
32848
|
+
"description": "The background color of the combobox of select.",
|
32849
|
+
"name": "--mdc-select-background-color"
|
32850
|
+
},
|
32851
|
+
{
|
32852
|
+
"description": "The background color of the combobox of select when hovered.",
|
32853
|
+
"name": "--mdc-select-background-color-hover"
|
32854
|
+
},
|
32855
|
+
{
|
32856
|
+
"description": "The background color of the combobox of select when active.",
|
32857
|
+
"name": "--mdc-select-background-color-active"
|
32858
|
+
},
|
32859
|
+
{
|
32860
|
+
"description": "The background color of the combobox of select when disabled.",
|
32861
|
+
"name": "--mdc-select-background-color-disabled"
|
32862
|
+
},
|
32863
|
+
{
|
32864
|
+
"description": "The text color of the select.",
|
32865
|
+
"name": "--mdc-select-text-color"
|
32866
|
+
},
|
32867
|
+
{
|
32868
|
+
"description": "The text color of the selected option in the select.",
|
32869
|
+
"name": "--mdc-select-text-color-selected"
|
32870
|
+
},
|
32871
|
+
{
|
32872
|
+
"description": "The text color of the select when disabled.",
|
32873
|
+
"name": "--mdc-select-text-color-disabled"
|
32874
|
+
},
|
32875
|
+
{
|
32876
|
+
"description": "The border color of the select.",
|
32877
|
+
"name": "--mdc-select-border-color"
|
32878
|
+
},
|
32879
|
+
{
|
32880
|
+
"description": "The border color of the select when disabled.",
|
32881
|
+
"name": "--mdc-select-border-color-disabled"
|
32882
|
+
},
|
32883
|
+
{
|
32884
|
+
"description": "The border color of the select when in success state.",
|
32885
|
+
"name": "--mdc-select-border-color-success"
|
32886
|
+
},
|
32887
|
+
{
|
32888
|
+
"description": "The border color of the select when in warning state.",
|
32889
|
+
"name": "--mdc-select-border-color-warning"
|
32890
|
+
},
|
32891
|
+
{
|
32892
|
+
"description": "The border color of the select when in error state.",
|
32893
|
+
"name": "--mdc-select-border-color-error"
|
32894
|
+
},
|
32895
|
+
{
|
32896
|
+
"description": "The width of the select.",
|
32897
|
+
"name": "--mdc-select-width"
|
32898
|
+
},
|
32899
|
+
{
|
32900
|
+
"description": "The height of the listbox inside the select.",
|
32901
|
+
"name": "--mdc-select-listbox-height"
|
32902
|
+
},
|
32903
|
+
{
|
32904
|
+
"description": "The width of the listbox inside the select (default: `--mdc-select-width`).",
|
32905
|
+
"name": "--mdc-select-listbox-width"
|
32906
|
+
}
|
32907
|
+
],
|
32846
32908
|
"slots": [
|
32847
32909
|
{
|
32848
|
-
"description": "
|
32849
|
-
"name": "
|
32910
|
+
"description": "This is a default/unnamed slot for Selectlistbox including options and/or option group.",
|
32911
|
+
"name": "default"
|
32850
32912
|
}
|
32851
32913
|
],
|
32852
32914
|
"members": [
|
32853
32915
|
{
|
32854
32916
|
"kind": "field",
|
32855
|
-
"name": "
|
32917
|
+
"name": "placeholder",
|
32856
32918
|
"type": {
|
32857
|
-
"text": "
|
32858
|
-
}
|
32859
|
-
|
32860
|
-
|
32861
|
-
"kind": "method",
|
32862
|
-
"name": "handleKeyDown",
|
32863
|
-
"privacy": "protected",
|
32864
|
-
"parameters": [
|
32865
|
-
{
|
32866
|
-
"name": "event",
|
32867
|
-
"type": {
|
32868
|
-
"text": "KeyboardEvent"
|
32869
|
-
},
|
32870
|
-
"description": "Keyboard event"
|
32871
|
-
}
|
32872
|
-
],
|
32873
|
-
"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.",
|
32874
|
-
"inheritedFrom": {
|
32875
|
-
"name": "Input",
|
32876
|
-
"module": "components/input/input.component.js"
|
32877
|
-
}
|
32919
|
+
"text": "string | undefined"
|
32920
|
+
},
|
32921
|
+
"description": "The placeholder text which will be shown on the text if provided.",
|
32922
|
+
"attribute": "placeholder"
|
32878
32923
|
},
|
32879
32924
|
{
|
32880
|
-
"kind": "
|
32881
|
-
"name": "
|
32882
|
-
"
|
32883
|
-
|
32925
|
+
"kind": "field",
|
32926
|
+
"name": "readonly",
|
32927
|
+
"type": {
|
32928
|
+
"text": "boolean"
|
32929
|
+
},
|
32930
|
+
"default": "false",
|
32931
|
+
"description": "readonly attribute of the select field. If true, the select is read-only.",
|
32932
|
+
"attribute": "readonly"
|
32884
32933
|
},
|
32885
32934
|
{
|
32886
|
-
"kind": "
|
32887
|
-
"name": "
|
32888
|
-
"
|
32889
|
-
|
32890
|
-
|
32891
|
-
|
32892
|
-
|
32893
|
-
|
32935
|
+
"kind": "field",
|
32936
|
+
"name": "placement",
|
32937
|
+
"type": {
|
32938
|
+
"text": "Placement"
|
32939
|
+
},
|
32940
|
+
"description": "The placeholder text which will be shown on the text if provided.",
|
32941
|
+
"attribute": "placement",
|
32942
|
+
"reflects": true
|
32894
32943
|
},
|
32895
32944
|
{
|
32896
32945
|
"kind": "field",
|
32897
|
-
"name": "
|
32946
|
+
"name": "softDisabled",
|
32898
32947
|
"type": {
|
32899
|
-
"text": "boolean"
|
32948
|
+
"text": "boolean | undefined"
|
32900
32949
|
},
|
32901
|
-
"
|
32902
|
-
"
|
32903
|
-
"attribute": "
|
32904
|
-
"reflects": true
|
32905
|
-
"inheritedFrom": {
|
32906
|
-
"name": "AutoFocusOnMountMixin",
|
32907
|
-
"module": "utils/mixins/AutoFocusOnMountMixin.js"
|
32908
|
-
}
|
32950
|
+
"description": "Indicates whether the select is soft disabled.\nWhen set to `true`, the select appears visually disabled but still allows\nfocus.",
|
32951
|
+
"default": "undefined",
|
32952
|
+
"attribute": "soft-disabled",
|
32953
|
+
"reflects": true
|
32909
32954
|
},
|
32910
32955
|
{
|
32911
32956
|
"kind": "field",
|
32912
|
-
"name": "
|
32957
|
+
"name": "boundary",
|
32913
32958
|
"type": {
|
32914
|
-
"text": "string"
|
32959
|
+
"text": "'clippingAncestors' | string"
|
32915
32960
|
},
|
32916
|
-
"
|
32917
|
-
"
|
32918
|
-
"attribute": "
|
32919
|
-
"reflects": true
|
32920
|
-
"inheritedFrom": {
|
32921
|
-
"name": "FormInternalsMixin",
|
32922
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
32923
|
-
}
|
32961
|
+
"description": "This describes the clipping element(s) or area that overflow of the used popover will be checked relative to.\nThe default is 'clippingAncestors', which are the overflow ancestors which will cause the\nelement to be clipped.\n\nPossible values:\n - 'clippingAncestors'\n - any css selector",
|
32962
|
+
"default": "'clippingAncestors'",
|
32963
|
+
"attribute": "boundary",
|
32964
|
+
"reflects": true
|
32924
32965
|
},
|
32925
32966
|
{
|
32926
32967
|
"kind": "field",
|
32927
|
-
"name": "
|
32968
|
+
"name": "strategy",
|
32928
32969
|
"type": {
|
32929
|
-
"text": "
|
32970
|
+
"text": "'absolute' | 'fixed'"
|
32930
32971
|
},
|
32931
|
-
"
|
32932
|
-
"
|
32933
|
-
"attribute": "
|
32934
|
-
"reflects": true
|
32935
|
-
"inheritedFrom": {
|
32936
|
-
"name": "FormInternalsMixin",
|
32937
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
32938
|
-
}
|
32972
|
+
"description": "The strategy of the popover within Select.\nThis determines how the popover is positioned in the DOM.\n\nIn case `boundary` is set to something other than 'clippingAncestors',\nit might be necessary to set the `strategy` to 'fixed' to ensure that the popover\nis not getting clipped by scrollable containers enclosing the select.",
|
32973
|
+
"default": "absolute",
|
32974
|
+
"attribute": "strategy",
|
32975
|
+
"reflects": true
|
32939
32976
|
},
|
32940
32977
|
{
|
32941
32978
|
"kind": "field",
|
32942
|
-
"name": "
|
32979
|
+
"name": "popoverZIndex",
|
32943
32980
|
"type": {
|
32944
|
-
"text": "
|
32981
|
+
"text": "number"
|
32945
32982
|
},
|
32946
|
-
"description": "
|
32947
|
-
"
|
32948
|
-
"
|
32949
|
-
"
|
32950
|
-
"name": "FormInternalsMixin",
|
32951
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
32952
|
-
}
|
32983
|
+
"description": "The z-index of the popover within Select.\n\nOverride this to make sure this stays on top of other components.",
|
32984
|
+
"default": "1000",
|
32985
|
+
"attribute": "popover-z-index",
|
32986
|
+
"reflects": true
|
32953
32987
|
},
|
32954
32988
|
{
|
32955
32989
|
"kind": "field",
|
32956
|
-
"name": "
|
32990
|
+
"name": "backdropAppendTo",
|
32957
32991
|
"type": {
|
32958
|
-
"text": "
|
32992
|
+
"text": "string | undefined"
|
32959
32993
|
},
|
32960
|
-
"
|
32961
|
-
"
|
32962
|
-
|
32963
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
32964
|
-
}
|
32994
|
+
"description": "ID of the element where the backdrop will be appended to.\nThis is useful to ensure that the backdrop is appended to the correct element in the DOM.\nIf not set, the backdrop will be appended to the parent element of the select.",
|
32995
|
+
"attribute": "backdrop-append-to",
|
32996
|
+
"reflects": true
|
32965
32997
|
},
|
32966
32998
|
{
|
32967
|
-
"kind": "
|
32968
|
-
"name": "
|
32969
|
-
"
|
32970
|
-
"
|
32971
|
-
"
|
32972
|
-
|
32999
|
+
"kind": "method",
|
33000
|
+
"name": "getAllValidOptions",
|
33001
|
+
"privacy": "private",
|
33002
|
+
"return": {
|
33003
|
+
"type": {
|
33004
|
+
"text": "Array<Option>"
|
33005
|
+
}
|
32973
33006
|
}
|
32974
33007
|
},
|
32975
33008
|
{
|
32976
33009
|
"kind": "method",
|
32977
|
-
"name": "
|
32978
|
-
"
|
33010
|
+
"name": "getFirstValidOption",
|
33011
|
+
"privacy": "private",
|
32979
33012
|
"return": {
|
32980
33013
|
"type": {
|
32981
|
-
"text": ""
|
33014
|
+
"text": "Option | null"
|
32982
33015
|
}
|
32983
|
-
},
|
32984
|
-
"inheritedFrom": {
|
32985
|
-
"name": "FormInternalsMixin",
|
32986
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
32987
33016
|
}
|
32988
33017
|
},
|
32989
33018
|
{
|
32990
33019
|
"kind": "method",
|
32991
|
-
"name": "
|
33020
|
+
"name": "getLastValidOption",
|
33021
|
+
"privacy": "private",
|
32992
33022
|
"return": {
|
32993
33023
|
"type": {
|
32994
|
-
"text": "
|
33024
|
+
"text": "Option | null"
|
32995
33025
|
}
|
32996
|
-
},
|
32997
|
-
"inheritedFrom": {
|
32998
|
-
"name": "FormInternalsMixin",
|
32999
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
33000
33026
|
}
|
33001
33027
|
},
|
33002
33028
|
{
|
33003
33029
|
"kind": "method",
|
33004
|
-
"name": "
|
33005
|
-
"
|
33006
|
-
|
33007
|
-
"
|
33030
|
+
"name": "getFirstSelectedOption",
|
33031
|
+
"privacy": "private",
|
33032
|
+
"return": {
|
33033
|
+
"type": {
|
33034
|
+
"text": "Option | null"
|
33035
|
+
}
|
33008
33036
|
}
|
33009
33037
|
},
|
33010
33038
|
{
|
33011
|
-
"kind": "
|
33012
|
-
"name": "
|
33013
|
-
"
|
33014
|
-
|
33015
|
-
},
|
33016
|
-
"default": "null",
|
33017
|
-
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
33018
|
-
"attribute": "data-aria-label",
|
33019
|
-
"reflects": true,
|
33020
|
-
"inheritedFrom": {
|
33021
|
-
"name": "DataAriaLabelMixin",
|
33022
|
-
"module": "utils/mixins/DataAriaLabelMixin.js"
|
33023
|
-
}
|
33039
|
+
"kind": "method",
|
33040
|
+
"name": "modifyListBoxWrapper",
|
33041
|
+
"privacy": "private",
|
33042
|
+
"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."
|
33024
33043
|
},
|
33025
33044
|
{
|
33026
|
-
"kind": "
|
33027
|
-
"name": "
|
33028
|
-
"
|
33029
|
-
|
33045
|
+
"kind": "method",
|
33046
|
+
"name": "handleOptionsClick",
|
33047
|
+
"privacy": "private",
|
33048
|
+
"return": {
|
33049
|
+
"type": {
|
33050
|
+
"text": "void"
|
33051
|
+
}
|
33030
33052
|
},
|
33031
|
-
"
|
33032
|
-
|
33033
|
-
|
33034
|
-
|
33035
|
-
|
33036
|
-
|
33037
|
-
|
33053
|
+
"parameters": [
|
33054
|
+
{
|
33055
|
+
"name": "event",
|
33056
|
+
"type": {
|
33057
|
+
"text": "MouseEvent"
|
33058
|
+
},
|
33059
|
+
"description": "The event which triggered this function."
|
33060
|
+
}
|
33061
|
+
],
|
33062
|
+
"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."
|
33038
33063
|
},
|
33039
33064
|
{
|
33040
|
-
"kind": "
|
33041
|
-
"name": "
|
33042
|
-
"
|
33043
|
-
|
33065
|
+
"kind": "method",
|
33066
|
+
"name": "setSelectedOption",
|
33067
|
+
"privacy": "private",
|
33068
|
+
"return": {
|
33069
|
+
"type": {
|
33070
|
+
"text": "void"
|
33071
|
+
}
|
33044
33072
|
},
|
33045
|
-
"
|
33046
|
-
|
33047
|
-
|
33048
|
-
|
33049
|
-
|
33050
|
-
|
33051
|
-
|
33073
|
+
"parameters": [
|
33074
|
+
{
|
33075
|
+
"name": "option",
|
33076
|
+
"type": {
|
33077
|
+
"text": "Option | null"
|
33078
|
+
},
|
33079
|
+
"description": "The option element in DOM which gets selected."
|
33080
|
+
}
|
33081
|
+
],
|
33082
|
+
"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."
|
33052
33083
|
},
|
33053
33084
|
{
|
33054
|
-
"kind": "
|
33055
|
-
"name": "
|
33056
|
-
"
|
33057
|
-
|
33085
|
+
"kind": "method",
|
33086
|
+
"name": "updateTabIndexForAllOptions",
|
33087
|
+
"privacy": "private",
|
33088
|
+
"return": {
|
33089
|
+
"type": {
|
33090
|
+
"text": "void"
|
33091
|
+
}
|
33058
33092
|
},
|
33059
|
-
"
|
33060
|
-
|
33061
|
-
|
33062
|
-
|
33063
|
-
|
33064
|
-
|
33093
|
+
"parameters": [
|
33094
|
+
{
|
33095
|
+
"name": "option",
|
33096
|
+
"optional": true,
|
33097
|
+
"type": {
|
33098
|
+
"text": "Option | null"
|
33099
|
+
},
|
33100
|
+
"description": "The option which tabIndex should be set to 0."
|
33101
|
+
}
|
33102
|
+
],
|
33103
|
+
"description": "Updates the tabindex of all options.\nSets the tabindex of the selected option to '0' and others to '-1'."
|
33065
33104
|
},
|
33066
33105
|
{
|
33067
|
-
"kind": "
|
33068
|
-
"name": "
|
33069
|
-
"
|
33070
|
-
|
33106
|
+
"kind": "method",
|
33107
|
+
"name": "updateSelectedInChildOptions",
|
33108
|
+
"privacy": "private",
|
33109
|
+
"return": {
|
33110
|
+
"type": {
|
33111
|
+
"text": "void"
|
33112
|
+
}
|
33071
33113
|
},
|
33072
|
-
"
|
33073
|
-
|
33074
|
-
|
33075
|
-
|
33076
|
-
|
33077
|
-
|
33114
|
+
"parameters": [
|
33115
|
+
{
|
33116
|
+
"name": "selectedOption",
|
33117
|
+
"type": {
|
33118
|
+
"text": "Option | null"
|
33119
|
+
},
|
33120
|
+
"description": "The option which gets selected"
|
33121
|
+
}
|
33122
|
+
],
|
33123
|
+
"description": "Sets selected attribute on the selected option and removes it from all options"
|
33078
33124
|
},
|
33079
33125
|
{
|
33080
|
-
"kind": "
|
33081
|
-
"name": "
|
33082
|
-
"
|
33083
|
-
|
33126
|
+
"kind": "method",
|
33127
|
+
"name": "fireEvents",
|
33128
|
+
"privacy": "private",
|
33129
|
+
"return": {
|
33130
|
+
"type": {
|
33131
|
+
"text": "void"
|
33132
|
+
}
|
33084
33133
|
},
|
33085
|
-
"
|
33086
|
-
"description": "The trailing button when set to true, shows a clear button that clears the input field.",
|
33087
|
-
"attribute": "trailing-button",
|
33088
|
-
"inheritedFrom": {
|
33089
|
-
"name": "Input",
|
33090
|
-
"module": "components/input/input.component.js"
|
33091
|
-
}
|
33134
|
+
"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."
|
33092
33135
|
},
|
33093
33136
|
{
|
33094
|
-
"kind": "
|
33095
|
-
"name": "
|
33096
|
-
"
|
33097
|
-
|
33137
|
+
"kind": "method",
|
33138
|
+
"name": "dispatchChange",
|
33139
|
+
"privacy": "private",
|
33140
|
+
"return": {
|
33141
|
+
"type": {
|
33142
|
+
"text": "void"
|
33143
|
+
}
|
33098
33144
|
},
|
33099
|
-
"
|
33100
|
-
|
33101
|
-
|
33102
|
-
|
33103
|
-
|
33104
|
-
|
33145
|
+
"parameters": [
|
33146
|
+
{
|
33147
|
+
"name": "option",
|
33148
|
+
"type": {
|
33149
|
+
"text": "Option"
|
33150
|
+
}
|
33151
|
+
}
|
33152
|
+
]
|
33105
33153
|
},
|
33106
33154
|
{
|
33107
|
-
"kind": "
|
33108
|
-
"name": "
|
33109
|
-
"
|
33110
|
-
|
33155
|
+
"kind": "method",
|
33156
|
+
"name": "dispatchInput",
|
33157
|
+
"privacy": "private",
|
33158
|
+
"return": {
|
33159
|
+
"type": {
|
33160
|
+
"text": "void"
|
33161
|
+
}
|
33111
33162
|
},
|
33112
|
-
"
|
33113
|
-
|
33114
|
-
|
33115
|
-
|
33116
|
-
|
33117
|
-
|
33163
|
+
"parameters": [
|
33164
|
+
{
|
33165
|
+
"name": "option",
|
33166
|
+
"type": {
|
33167
|
+
"text": "Option"
|
33168
|
+
}
|
33169
|
+
}
|
33170
|
+
]
|
33118
33171
|
},
|
33119
33172
|
{
|
33120
|
-
"kind": "
|
33121
|
-
"name": "
|
33122
|
-
"
|
33123
|
-
|
33173
|
+
"kind": "method",
|
33174
|
+
"name": "handleClickCombobox",
|
33175
|
+
"privacy": "private",
|
33176
|
+
"return": {
|
33177
|
+
"type": {
|
33178
|
+
"text": "void"
|
33179
|
+
}
|
33124
33180
|
},
|
33125
|
-
"
|
33126
|
-
|
33127
|
-
|
33128
|
-
|
33129
|
-
|
33130
|
-
|
33131
|
-
|
33181
|
+
"parameters": [
|
33182
|
+
{
|
33183
|
+
"name": "event",
|
33184
|
+
"type": {
|
33185
|
+
"text": "MouseEvent"
|
33186
|
+
},
|
33187
|
+
"description": "The mouse event which triggered this function."
|
33188
|
+
}
|
33189
|
+
],
|
33190
|
+
"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."
|
33132
33191
|
},
|
33133
33192
|
{
|
33134
|
-
"kind": "
|
33135
|
-
"name": "
|
33136
|
-
"
|
33137
|
-
|
33193
|
+
"kind": "method",
|
33194
|
+
"name": "handleKeydownCombobox",
|
33195
|
+
"privacy": "private",
|
33196
|
+
"return": {
|
33197
|
+
"type": {
|
33198
|
+
"text": "void"
|
33199
|
+
}
|
33138
33200
|
},
|
33139
|
-
"
|
33140
|
-
|
33141
|
-
|
33142
|
-
|
33143
|
-
|
33144
|
-
|
33145
|
-
|
33201
|
+
"parameters": [
|
33202
|
+
{
|
33203
|
+
"name": "event",
|
33204
|
+
"type": {
|
33205
|
+
"text": "KeyboardEvent"
|
33206
|
+
},
|
33207
|
+
"description": "The keyboard event."
|
33208
|
+
}
|
33209
|
+
],
|
33210
|
+
"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."
|
33146
33211
|
},
|
33147
33212
|
{
|
33148
|
-
"kind": "
|
33149
|
-
"name": "
|
33150
|
-
"
|
33151
|
-
|
33213
|
+
"kind": "method",
|
33214
|
+
"name": "handlePopoverKeydown",
|
33215
|
+
"privacy": "private",
|
33216
|
+
"return": {
|
33217
|
+
"type": {
|
33218
|
+
"text": "void"
|
33219
|
+
}
|
33152
33220
|
},
|
33153
|
-
"
|
33154
|
-
|
33155
|
-
|
33156
|
-
|
33157
|
-
|
33158
|
-
|
33221
|
+
"parameters": [
|
33222
|
+
{
|
33223
|
+
"name": "event",
|
33224
|
+
"type": {
|
33225
|
+
"text": "KeyboardEvent"
|
33226
|
+
},
|
33227
|
+
"description": "The keyboard event."
|
33228
|
+
}
|
33229
|
+
],
|
33230
|
+
"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."
|
33159
33231
|
},
|
33160
33232
|
{
|
33161
|
-
"kind": "
|
33162
|
-
"name": "
|
33163
|
-
"
|
33164
|
-
|
33233
|
+
"kind": "method",
|
33234
|
+
"name": "updateState",
|
33235
|
+
"privacy": "public",
|
33236
|
+
"return": {
|
33237
|
+
"type": {
|
33238
|
+
"text": "void"
|
33239
|
+
}
|
33165
33240
|
},
|
33166
|
-
"description": "
|
33167
|
-
"attribute": "pattern",
|
33168
|
-
"inheritedFrom": {
|
33169
|
-
"name": "Input",
|
33170
|
-
"module": "components/input/input.component.js"
|
33171
|
-
}
|
33241
|
+
"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."
|
33172
33242
|
},
|
33173
33243
|
{
|
33174
33244
|
"kind": "field",
|
33175
|
-
"name": "
|
33245
|
+
"name": "autoFocusOnMount",
|
33176
33246
|
"type": {
|
33177
|
-
"text": "
|
33247
|
+
"text": "boolean"
|
33178
33248
|
},
|
33179
|
-
"
|
33180
|
-
"
|
33249
|
+
"default": "false",
|
33250
|
+
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
33251
|
+
"attribute": "auto-focus-on-mount",
|
33252
|
+
"reflects": true,
|
33181
33253
|
"inheritedFrom": {
|
33182
|
-
"name": "
|
33183
|
-
"module": "
|
33254
|
+
"name": "AutoFocusOnMountMixin",
|
33255
|
+
"module": "utils/mixins/AutoFocusOnMountMixin.js"
|
33184
33256
|
}
|
33185
33257
|
},
|
33186
33258
|
{
|
33187
33259
|
"kind": "field",
|
33188
|
-
"name": "
|
33260
|
+
"name": "name",
|
33189
33261
|
"type": {
|
33190
|
-
"text": "
|
33262
|
+
"text": "string"
|
33191
33263
|
},
|
33192
|
-
"
|
33193
|
-
"
|
33194
|
-
"attribute": "
|
33264
|
+
"default": "''",
|
33265
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
33266
|
+
"attribute": "name",
|
33267
|
+
"reflects": true,
|
33195
33268
|
"inheritedFrom": {
|
33196
|
-
"name": "
|
33197
|
-
"module": "
|
33269
|
+
"name": "FormInternalsMixin",
|
33270
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
33198
33271
|
}
|
33199
33272
|
},
|
33200
33273
|
{
|
33201
33274
|
"kind": "field",
|
33202
|
-
"name": "
|
33275
|
+
"name": "value",
|
33203
33276
|
"type": {
|
33204
33277
|
"text": "string"
|
33205
33278
|
},
|
33206
33279
|
"default": "''",
|
33207
|
-
"description": "
|
33208
|
-
"attribute": "
|
33209
|
-
"
|
33210
|
-
"name": "Input",
|
33211
|
-
"module": "components/input/input.component.js"
|
33212
|
-
}
|
33213
|
-
},
|
33214
|
-
{
|
33215
|
-
"kind": "method",
|
33216
|
-
"name": "setInputValidity",
|
33217
|
-
"privacy": "private",
|
33280
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
33281
|
+
"attribute": "value",
|
33282
|
+
"reflects": true,
|
33218
33283
|
"inheritedFrom": {
|
33219
|
-
"name": "
|
33220
|
-
"module": "
|
33284
|
+
"name": "FormInternalsMixin",
|
33285
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
33221
33286
|
}
|
33222
33287
|
},
|
33223
33288
|
{
|
33224
|
-
"kind": "
|
33225
|
-
"name": "
|
33226
|
-
"
|
33227
|
-
|
33228
|
-
"return": {
|
33229
|
-
"type": {
|
33230
|
-
"text": ""
|
33231
|
-
}
|
33289
|
+
"kind": "field",
|
33290
|
+
"name": "validationMessage",
|
33291
|
+
"type": {
|
33292
|
+
"text": "string | undefined"
|
33232
33293
|
},
|
33294
|
+
"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.",
|
33295
|
+
"attribute": "validation-message",
|
33296
|
+
"reflects": true,
|
33233
33297
|
"inheritedFrom": {
|
33234
|
-
"name": "
|
33235
|
-
"module": "
|
33298
|
+
"name": "FormInternalsMixin",
|
33299
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
33236
33300
|
}
|
33237
33301
|
},
|
33238
33302
|
{
|
33239
|
-
"kind": "
|
33240
|
-
"name": "
|
33241
|
-
"
|
33242
|
-
|
33303
|
+
"kind": "field",
|
33304
|
+
"name": "validity",
|
33305
|
+
"type": {
|
33306
|
+
"text": "ValidityState"
|
33307
|
+
},
|
33308
|
+
"readonly": true,
|
33243
33309
|
"inheritedFrom": {
|
33244
|
-
"name": "
|
33245
|
-
"module": "
|
33310
|
+
"name": "FormInternalsMixin",
|
33311
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
33246
33312
|
}
|
33247
33313
|
},
|
33248
33314
|
{
|
33249
|
-
"kind": "
|
33250
|
-
"name": "
|
33251
|
-
"
|
33252
|
-
"parameters": [
|
33253
|
-
{
|
33254
|
-
"name": "event",
|
33255
|
-
"type": {
|
33256
|
-
"text": "Event"
|
33257
|
-
},
|
33258
|
-
"description": "Event which contains information about the value change."
|
33259
|
-
}
|
33260
|
-
],
|
33261
|
-
"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",
|
33315
|
+
"kind": "field",
|
33316
|
+
"name": "willValidate",
|
33317
|
+
"readonly": true,
|
33262
33318
|
"inheritedFrom": {
|
33263
|
-
"name": "
|
33264
|
-
"module": "
|
33319
|
+
"name": "FormInternalsMixin",
|
33320
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
33265
33321
|
}
|
33266
33322
|
},
|
33267
33323
|
{
|
33268
33324
|
"kind": "method",
|
33269
|
-
"name": "
|
33270
|
-
"
|
33271
|
-
"description": "Renders the leading icon before the input field.\nIf the leading icon is not set, it will not be displayed.",
|
33325
|
+
"name": "setValidity",
|
33326
|
+
"description": "Sets the validity of the input field based on the input field's validity.",
|
33272
33327
|
"return": {
|
33273
33328
|
"type": {
|
33274
33329
|
"text": ""
|
33275
33330
|
}
|
33276
33331
|
},
|
33277
33332
|
"inheritedFrom": {
|
33278
|
-
"name": "
|
33279
|
-
"module": "
|
33333
|
+
"name": "FormInternalsMixin",
|
33334
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
33280
33335
|
}
|
33281
33336
|
},
|
33282
33337
|
{
|
33283
33338
|
"kind": "method",
|
33284
|
-
"name": "
|
33285
|
-
"privacy": "protected",
|
33286
|
-
"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.",
|
33339
|
+
"name": "checkValidity",
|
33287
33340
|
"return": {
|
33288
33341
|
"type": {
|
33289
|
-
"text": ""
|
33342
|
+
"text": "boolean"
|
33290
33343
|
}
|
33291
33344
|
},
|
33292
33345
|
"inheritedFrom": {
|
33293
|
-
"name": "
|
33294
|
-
"module": "
|
33346
|
+
"name": "FormInternalsMixin",
|
33347
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
33295
33348
|
}
|
33296
33349
|
},
|
33297
33350
|
{
|
33298
33351
|
"kind": "method",
|
33299
|
-
"name": "
|
33300
|
-
"privacy": "protected",
|
33301
|
-
"parameters": [
|
33302
|
-
{
|
33303
|
-
"name": "show",
|
33304
|
-
"default": "false"
|
33305
|
-
}
|
33306
|
-
],
|
33307
|
-
"description": "Renders the trailing button to clear the input field if the trailingButton is set to true.",
|
33308
|
-
"return": {
|
33309
|
-
"type": {
|
33310
|
-
"text": ""
|
33311
|
-
}
|
33312
|
-
},
|
33352
|
+
"name": "reportValidity",
|
33313
33353
|
"inheritedFrom": {
|
33314
|
-
"name": "
|
33315
|
-
"module": "
|
33354
|
+
"name": "FormInternalsMixin",
|
33355
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
33316
33356
|
}
|
33317
33357
|
},
|
33318
33358
|
{
|
33319
|
-
"kind": "
|
33320
|
-
"name": "
|
33321
|
-
"
|
33322
|
-
|
33323
|
-
|
33324
|
-
|
33325
|
-
|
33326
|
-
|
33327
|
-
|
33328
|
-
},
|
33329
|
-
{
|
33330
|
-
"name": "hidePlaceholder",
|
33331
|
-
"default": "false"
|
33332
|
-
}
|
33333
|
-
],
|
33359
|
+
"kind": "field",
|
33360
|
+
"name": "dataAriaLabel",
|
33361
|
+
"type": {
|
33362
|
+
"text": "string | null"
|
33363
|
+
},
|
33364
|
+
"default": "null",
|
33365
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
33366
|
+
"attribute": "data-aria-label",
|
33367
|
+
"reflects": true,
|
33334
33368
|
"inheritedFrom": {
|
33335
|
-
"name": "
|
33336
|
-
"module": "
|
33369
|
+
"name": "DataAriaLabelMixin",
|
33370
|
+
"module": "utils/mixins/DataAriaLabelMixin.js"
|
33337
33371
|
}
|
33338
33372
|
},
|
33339
33373
|
{
|
@@ -33529,147 +33563,45 @@
|
|
33529
33563
|
],
|
33530
33564
|
"events": [
|
33531
33565
|
{
|
33532
|
-
"description": "(React: onInput) This event is dispatched when the value of the input field changes (every press).",
|
33533
|
-
"name": "input",
|
33534
|
-
"reactName": "onInput",
|
33535
|
-
"inheritedFrom": {
|
33536
|
-
"name": "Input",
|
33537
|
-
"module": "src/components/input/input.component.ts"
|
33538
|
-
}
|
33539
|
-
},
|
33540
|
-
{
|
33541
|
-
"description": "(React: onChange) This event is dispatched when the value of the input field changes (on blur).",
|
33542
33566
|
"name": "change",
|
33543
|
-
"reactName": "onChange",
|
33544
|
-
"inheritedFrom": {
|
33545
|
-
"name": "Input",
|
33546
|
-
"module": "src/components/input/input.component.ts"
|
33547
|
-
}
|
33548
|
-
},
|
33549
|
-
{
|
33550
|
-
"description": "(React: onFocus) This event is dispatched when the input receives focus.",
|
33551
|
-
"name": "focus",
|
33552
|
-
"reactName": "onFocus",
|
33553
|
-
"inheritedFrom": {
|
33554
|
-
"name": "Input",
|
33555
|
-
"module": "src/components/input/input.component.ts"
|
33556
|
-
}
|
33557
|
-
},
|
33558
|
-
{
|
33559
|
-
"description": "(React: onBlur) This event is dispatched when the input loses focus.",
|
33560
|
-
"name": "blur",
|
33561
|
-
"reactName": "onBlur",
|
33562
|
-
"inheritedFrom": {
|
33563
|
-
"name": "Input",
|
33564
|
-
"module": "src/components/input/input.component.ts"
|
33565
|
-
}
|
33566
|
-
},
|
33567
|
-
{
|
33568
|
-
"name": "clear",
|
33569
33567
|
"type": {
|
33570
33568
|
"text": "CustomEvent"
|
33571
33569
|
},
|
33572
|
-
"description": "(React:
|
33573
|
-
"reactName": "
|
33574
|
-
"inheritedFrom": {
|
33575
|
-
"name": "Input",
|
33576
|
-
"module": "src/components/input/input.component.ts"
|
33577
|
-
}
|
33578
|
-
},
|
33579
|
-
{
|
33580
|
-
"type": {
|
33581
|
-
"text": "EventConstructor"
|
33582
|
-
},
|
33583
|
-
"inheritedFrom": {
|
33584
|
-
"name": "Input",
|
33585
|
-
"module": "src/components/input/input.component.ts"
|
33586
|
-
}
|
33587
|
-
}
|
33588
|
-
],
|
33589
|
-
"superclass": {
|
33590
|
-
"name": "Input",
|
33591
|
-
"module": "/src/components/input/input.component"
|
33592
|
-
},
|
33593
|
-
"tagName": "mdc-searchfield",
|
33594
|
-
"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 */",
|
33595
|
-
"customElement": true,
|
33596
|
-
"attributes": [
|
33597
|
-
{
|
33598
|
-
"name": "auto-focus-on-mount",
|
33599
|
-
"type": {
|
33600
|
-
"text": "boolean"
|
33601
|
-
},
|
33602
|
-
"default": "false",
|
33603
|
-
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
33604
|
-
"fieldName": "autoFocusOnMount",
|
33605
|
-
"inheritedFrom": {
|
33606
|
-
"name": "AutoFocusOnMountMixin",
|
33607
|
-
"module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
|
33608
|
-
}
|
33570
|
+
"description": "(React: onChange) This event is dispatched when the select is changed.",
|
33571
|
+
"reactName": "onChange"
|
33609
33572
|
},
|
33610
33573
|
{
|
33611
|
-
"name": "
|
33574
|
+
"name": "input",
|
33612
33575
|
"type": {
|
33613
|
-
"text": "
|
33576
|
+
"text": "CustomEvent"
|
33614
33577
|
},
|
33615
|
-
"
|
33616
|
-
"
|
33617
|
-
"fieldName": "name",
|
33618
|
-
"inheritedFrom": {
|
33619
|
-
"name": "FormInternalsMixin",
|
33620
|
-
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
33621
|
-
}
|
33578
|
+
"description": "(React: onInput) This event is dispatched when the select is changed.",
|
33579
|
+
"reactName": "onInput"
|
33622
33580
|
},
|
33623
33581
|
{
|
33624
|
-
"
|
33625
|
-
"
|
33626
|
-
|
33627
|
-
},
|
33628
|
-
"default": "''",
|
33629
|
-
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
33630
|
-
"fieldName": "value",
|
33631
|
-
"inheritedFrom": {
|
33632
|
-
"name": "FormInternalsMixin",
|
33633
|
-
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
33634
|
-
}
|
33582
|
+
"description": "(React: onClick) This event is dispatched when the select is clicked.",
|
33583
|
+
"name": "click",
|
33584
|
+
"reactName": "onClick"
|
33635
33585
|
},
|
33636
33586
|
{
|
33637
|
-
"
|
33638
|
-
"
|
33639
|
-
|
33640
|
-
},
|
33641
|
-
"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.",
|
33642
|
-
"fieldName": "validationMessage",
|
33643
|
-
"inheritedFrom": {
|
33644
|
-
"name": "FormInternalsMixin",
|
33645
|
-
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
33646
|
-
}
|
33587
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the select.",
|
33588
|
+
"name": "keydown",
|
33589
|
+
"reactName": "onKeyDown"
|
33647
33590
|
},
|
33648
33591
|
{
|
33649
|
-
"
|
33650
|
-
"
|
33651
|
-
|
33652
|
-
|
33653
|
-
|
33654
|
-
|
33655
|
-
"fieldName": "dataAriaLabel",
|
33656
|
-
"inheritedFrom": {
|
33657
|
-
"name": "DataAriaLabelMixin",
|
33658
|
-
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
33659
|
-
}
|
33660
|
-
},
|
33592
|
+
"description": "(React: onFocus) This event is dispatched when the select receives focus.",
|
33593
|
+
"name": "focus",
|
33594
|
+
"reactName": "onFocus"
|
33595
|
+
}
|
33596
|
+
],
|
33597
|
+
"attributes": [
|
33661
33598
|
{
|
33662
33599
|
"name": "placeholder",
|
33663
33600
|
"type": {
|
33664
|
-
"text": "string"
|
33601
|
+
"text": "string | undefined"
|
33665
33602
|
},
|
33666
|
-
"
|
33667
|
-
"
|
33668
|
-
"fieldName": "placeholder",
|
33669
|
-
"inheritedFrom": {
|
33670
|
-
"name": "Input",
|
33671
|
-
"module": "src/components/input/input.component.ts"
|
33672
|
-
}
|
33603
|
+
"description": "The placeholder text which will be shown on the text if provided.",
|
33604
|
+
"fieldName": "placeholder"
|
33673
33605
|
},
|
33674
33606
|
{
|
33675
33607
|
"name": "readonly",
|
@@ -33677,160 +33609,123 @@
|
|
33677
33609
|
"text": "boolean"
|
33678
33610
|
},
|
33679
33611
|
"default": "false",
|
33680
|
-
"description": "readonly attribute of the
|
33681
|
-
"fieldName": "readonly"
|
33682
|
-
"inheritedFrom": {
|
33683
|
-
"name": "Input",
|
33684
|
-
"module": "src/components/input/input.component.ts"
|
33685
|
-
}
|
33686
|
-
},
|
33687
|
-
{
|
33688
|
-
"name": "prefix-text",
|
33689
|
-
"type": {
|
33690
|
-
"text": "string | undefined"
|
33691
|
-
},
|
33692
|
-
"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.",
|
33693
|
-
"fieldName": "prefixText",
|
33694
|
-
"inheritedFrom": {
|
33695
|
-
"name": "Input",
|
33696
|
-
"module": "src/components/input/input.component.ts"
|
33697
|
-
}
|
33612
|
+
"description": "readonly attribute of the select field. If true, the select is read-only.",
|
33613
|
+
"fieldName": "readonly"
|
33698
33614
|
},
|
33699
33615
|
{
|
33700
|
-
"name": "
|
33616
|
+
"name": "placement",
|
33701
33617
|
"type": {
|
33702
|
-
"text": "
|
33618
|
+
"text": "Placement"
|
33703
33619
|
},
|
33704
|
-
"description": "The
|
33705
|
-
"fieldName": "
|
33706
|
-
"inheritedFrom": {
|
33707
|
-
"name": "Input",
|
33708
|
-
"module": "src/components/input/input.component.ts"
|
33709
|
-
}
|
33620
|
+
"description": "The placeholder text which will be shown on the text if provided.",
|
33621
|
+
"fieldName": "placement"
|
33710
33622
|
},
|
33711
33623
|
{
|
33712
|
-
"name": "
|
33624
|
+
"name": "soft-disabled",
|
33713
33625
|
"type": {
|
33714
|
-
"text": "boolean"
|
33626
|
+
"text": "boolean | undefined"
|
33715
33627
|
},
|
33716
|
-
"
|
33717
|
-
"
|
33718
|
-
"fieldName": "
|
33719
|
-
"inheritedFrom": {
|
33720
|
-
"name": "Input",
|
33721
|
-
"module": "src/components/input/input.component.ts"
|
33722
|
-
}
|
33628
|
+
"description": "Indicates whether the select is soft disabled.\nWhen set to `true`, the select appears visually disabled but still allows\nfocus.",
|
33629
|
+
"default": "undefined",
|
33630
|
+
"fieldName": "softDisabled"
|
33723
33631
|
},
|
33724
33632
|
{
|
33725
|
-
"name": "
|
33633
|
+
"name": "boundary",
|
33726
33634
|
"type": {
|
33727
|
-
"text": "
|
33635
|
+
"text": "'clippingAncestors' | string"
|
33728
33636
|
},
|
33729
|
-
"description": "
|
33730
|
-
"
|
33731
|
-
"
|
33732
|
-
"name": "Input",
|
33733
|
-
"module": "src/components/input/input.component.ts"
|
33734
|
-
}
|
33637
|
+
"description": "This describes the clipping element(s) or area that overflow of the used popover will be checked relative to.\nThe default is 'clippingAncestors', which are the overflow ancestors which will cause the\nelement to be clipped.\n\nPossible values:\n - 'clippingAncestors'\n - any css selector",
|
33638
|
+
"default": "'clippingAncestors'",
|
33639
|
+
"fieldName": "boundary"
|
33735
33640
|
},
|
33736
33641
|
{
|
33737
|
-
"name": "
|
33642
|
+
"name": "strategy",
|
33738
33643
|
"type": {
|
33739
|
-
"text": "
|
33644
|
+
"text": "'absolute' | 'fixed'"
|
33740
33645
|
},
|
33741
|
-
"description": "The
|
33742
|
-
"
|
33743
|
-
"
|
33744
|
-
"name": "Input",
|
33745
|
-
"module": "src/components/input/input.component.ts"
|
33746
|
-
}
|
33646
|
+
"description": "The strategy of the popover within Select.\nThis determines how the popover is positioned in the DOM.\n\nIn case `boundary` is set to something other than 'clippingAncestors',\nit might be necessary to set the `strategy` to 'fixed' to ensure that the popover\nis not getting clipped by scrollable containers enclosing the select.",
|
33647
|
+
"default": "absolute",
|
33648
|
+
"fieldName": "strategy"
|
33747
33649
|
},
|
33748
33650
|
{
|
33749
|
-
"name": "
|
33651
|
+
"name": "popover-z-index",
|
33750
33652
|
"type": {
|
33751
|
-
"text": "
|
33653
|
+
"text": "number"
|
33752
33654
|
},
|
33753
|
-
"description": "The
|
33754
|
-
"default": "
|
33755
|
-
"fieldName": "
|
33756
|
-
"inheritedFrom": {
|
33757
|
-
"name": "Input",
|
33758
|
-
"module": "src/components/input/input.component.ts"
|
33759
|
-
}
|
33655
|
+
"description": "The z-index of the popover within Select.\n\nOverride this to make sure this stays on top of other components.",
|
33656
|
+
"default": "1000",
|
33657
|
+
"fieldName": "popoverZIndex"
|
33760
33658
|
},
|
33761
33659
|
{
|
33762
|
-
"name": "
|
33660
|
+
"name": "backdrop-append-to",
|
33763
33661
|
"type": {
|
33764
|
-
"text": "
|
33662
|
+
"text": "string | undefined"
|
33765
33663
|
},
|
33766
|
-
"description": "
|
33767
|
-
"
|
33768
|
-
"fieldName": "autocomplete",
|
33769
|
-
"inheritedFrom": {
|
33770
|
-
"name": "Input",
|
33771
|
-
"module": "src/components/input/input.component.ts"
|
33772
|
-
}
|
33664
|
+
"description": "ID of the element where the backdrop will be appended to.\nThis is useful to ensure that the backdrop is appended to the correct element in the DOM.\nIf not set, the backdrop will be appended to the parent element of the select.",
|
33665
|
+
"fieldName": "backdropAppendTo"
|
33773
33666
|
},
|
33774
33667
|
{
|
33775
|
-
"name": "
|
33668
|
+
"name": "auto-focus-on-mount",
|
33776
33669
|
"type": {
|
33777
|
-
"text": "
|
33670
|
+
"text": "boolean"
|
33778
33671
|
},
|
33779
|
-
"
|
33780
|
-
"
|
33672
|
+
"default": "false",
|
33673
|
+
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
33674
|
+
"fieldName": "autoFocusOnMount",
|
33781
33675
|
"inheritedFrom": {
|
33782
|
-
"name": "
|
33783
|
-
"module": "src/
|
33676
|
+
"name": "AutoFocusOnMountMixin",
|
33677
|
+
"module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
|
33784
33678
|
}
|
33785
33679
|
},
|
33786
33680
|
{
|
33787
|
-
"name": "
|
33681
|
+
"name": "name",
|
33788
33682
|
"type": {
|
33789
|
-
"text": "string
|
33683
|
+
"text": "string"
|
33790
33684
|
},
|
33791
|
-
"
|
33792
|
-
"
|
33685
|
+
"default": "''",
|
33686
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
33687
|
+
"fieldName": "name",
|
33793
33688
|
"inheritedFrom": {
|
33794
|
-
"name": "
|
33795
|
-
"module": "src/
|
33689
|
+
"name": "FormInternalsMixin",
|
33690
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
33796
33691
|
}
|
33797
33692
|
},
|
33798
33693
|
{
|
33799
|
-
"name": "
|
33694
|
+
"name": "value",
|
33800
33695
|
"type": {
|
33801
|
-
"text": "string
|
33696
|
+
"text": "string"
|
33802
33697
|
},
|
33803
|
-
"
|
33804
|
-
"
|
33698
|
+
"default": "''",
|
33699
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
33700
|
+
"fieldName": "value",
|
33805
33701
|
"inheritedFrom": {
|
33806
|
-
"name": "
|
33807
|
-
"module": "src/
|
33702
|
+
"name": "FormInternalsMixin",
|
33703
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
33808
33704
|
}
|
33809
33705
|
},
|
33810
33706
|
{
|
33811
|
-
"name": "
|
33707
|
+
"name": "validation-message",
|
33812
33708
|
"type": {
|
33813
|
-
"text": "
|
33709
|
+
"text": "string | undefined"
|
33814
33710
|
},
|
33815
|
-
"description": "
|
33816
|
-
"
|
33817
|
-
"fieldName": "size",
|
33711
|
+
"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.",
|
33712
|
+
"fieldName": "validationMessage",
|
33818
33713
|
"inheritedFrom": {
|
33819
|
-
"name": "
|
33820
|
-
"module": "src/
|
33714
|
+
"name": "FormInternalsMixin",
|
33715
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
33821
33716
|
}
|
33822
33717
|
},
|
33823
33718
|
{
|
33824
|
-
"name": "
|
33719
|
+
"name": "data-aria-label",
|
33825
33720
|
"type": {
|
33826
|
-
"text": "string"
|
33721
|
+
"text": "string | null"
|
33827
33722
|
},
|
33828
|
-
"default": "
|
33829
|
-
"description": "
|
33830
|
-
"fieldName": "
|
33723
|
+
"default": "null",
|
33724
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
33725
|
+
"fieldName": "dataAriaLabel",
|
33831
33726
|
"inheritedFrom": {
|
33832
|
-
"name": "
|
33833
|
-
"module": "src/
|
33727
|
+
"name": "DataAriaLabelMixin",
|
33728
|
+
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
33834
33729
|
}
|
33835
33730
|
},
|
33836
33731
|
{
|
@@ -33867,202 +33762,93 @@
|
|
33867
33762
|
"description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
|
33868
33763
|
"fieldName": "required",
|
33869
33764
|
"inheritedFrom": {
|
33870
|
-
"name": "FormfieldWrapper",
|
33871
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
33872
|
-
}
|
33873
|
-
},
|
33874
|
-
{
|
33875
|
-
"name": "help-text-type",
|
33876
|
-
"type": {
|
33877
|
-
"text": "ValidationType"
|
33878
|
-
},
|
33879
|
-
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
33880
|
-
"fieldName": "helpTextType",
|
33881
|
-
"inheritedFrom": {
|
33882
|
-
"name": "FormfieldWrapper",
|
33883
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
33884
|
-
}
|
33885
|
-
},
|
33886
|
-
{
|
33887
|
-
"name": "help-text",
|
33888
|
-
"type": {
|
33889
|
-
"text": "string | undefined"
|
33890
|
-
},
|
33891
|
-
"description": "The help text that is displayed below the input field.",
|
33892
|
-
"fieldName": "helpText",
|
33893
|
-
"inheritedFrom": {
|
33894
|
-
"name": "FormfieldWrapper",
|
33895
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
33896
|
-
}
|
33897
|
-
},
|
33898
|
-
{
|
33899
|
-
"name": "toggletip-text",
|
33900
|
-
"type": {
|
33901
|
-
"text": "string | undefined"
|
33902
|
-
},
|
33903
|
-
"description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
|
33904
|
-
"fieldName": "toggletipText",
|
33905
|
-
"inheritedFrom": {
|
33906
|
-
"name": "FormfieldWrapper",
|
33907
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
33908
|
-
}
|
33909
|
-
},
|
33910
|
-
{
|
33911
|
-
"name": "toggletip-placement",
|
33912
|
-
"type": {
|
33913
|
-
"text": "PopoverPlacement"
|
33914
|
-
},
|
33915
|
-
"description": "The placement of the toggletip that is displayed when the info icon is hovered.",
|
33916
|
-
"default": "'top'",
|
33917
|
-
"fieldName": "toggletipPlacement",
|
33918
|
-
"inheritedFrom": {
|
33919
|
-
"name": "FormfieldWrapper",
|
33920
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
33921
|
-
}
|
33922
|
-
},
|
33923
|
-
{
|
33924
|
-
"name": "info-icon-aria-label",
|
33925
|
-
"type": {
|
33926
|
-
"text": "string | undefined"
|
33927
|
-
},
|
33928
|
-
"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.",
|
33929
|
-
"fieldName": "infoIconAriaLabel",
|
33930
|
-
"inheritedFrom": {
|
33931
|
-
"name": "FormfieldWrapper",
|
33932
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
33933
|
-
}
|
33934
|
-
}
|
33935
|
-
],
|
33936
|
-
"cssProperties": [
|
33937
|
-
{
|
33938
|
-
"description": "Border color for the input container when disabled",
|
33939
|
-
"name": "--mdc-input-disabled-border-color",
|
33940
|
-
"inheritedFrom": {
|
33941
|
-
"name": "Input",
|
33942
|
-
"module": "src/components/input/input.component.ts"
|
33943
|
-
}
|
33944
|
-
},
|
33945
|
-
{
|
33946
|
-
"description": "Text color for the input field when disabled",
|
33947
|
-
"name": "--mdc-input-disabled-text-color",
|
33948
|
-
"inheritedFrom": {
|
33949
|
-
"name": "Input",
|
33950
|
-
"module": "src/components/input/input.component.ts"
|
33951
|
-
}
|
33952
|
-
},
|
33953
|
-
{
|
33954
|
-
"description": "Background color for the input field when disabled",
|
33955
|
-
"name": "--mdc-input-disabled-background-color",
|
33956
|
-
"inheritedFrom": {
|
33957
|
-
"name": "Input",
|
33958
|
-
"module": "src/components/input/input.component.ts"
|
33959
|
-
}
|
33960
|
-
},
|
33961
|
-
{
|
33962
|
-
"description": "Border color for the input container",
|
33963
|
-
"name": "--mdc-input-border-color",
|
33964
|
-
"inheritedFrom": {
|
33965
|
-
"name": "Input",
|
33966
|
-
"module": "src/components/input/input.component.ts"
|
33967
|
-
}
|
33968
|
-
},
|
33969
|
-
{
|
33970
|
-
"description": "Text color for the input field",
|
33971
|
-
"name": "--mdc-input-text-color",
|
33972
|
-
"inheritedFrom": {
|
33973
|
-
"name": "Input",
|
33974
|
-
"module": "src/components/input/input.component.ts"
|
33975
|
-
}
|
33976
|
-
},
|
33977
|
-
{
|
33978
|
-
"description": "Background color for the input field",
|
33979
|
-
"name": "--mdc-input-background-color",
|
33980
|
-
"inheritedFrom": {
|
33981
|
-
"name": "Input",
|
33982
|
-
"module": "src/components/input/input.component.ts"
|
33983
|
-
}
|
33984
|
-
},
|
33985
|
-
{
|
33986
|
-
"description": "Background color for the selected text",
|
33987
|
-
"name": "--mdc-input-selection-background-color",
|
33988
|
-
"inheritedFrom": {
|
33989
|
-
"name": "Input",
|
33990
|
-
"module": "src/components/input/input.component.ts"
|
33991
|
-
}
|
33992
|
-
},
|
33993
|
-
{
|
33994
|
-
"description": "Text color for the selected text",
|
33995
|
-
"name": "--mdc-input-selection-text-color",
|
33996
|
-
"inheritedFrom": {
|
33997
|
-
"name": "Input",
|
33998
|
-
"module": "src/components/input/input.component.ts"
|
33999
|
-
}
|
34000
|
-
},
|
34001
|
-
{
|
34002
|
-
"description": "Text color for the help text",
|
34003
|
-
"name": "--mdc-input-support-text-color",
|
34004
|
-
"inheritedFrom": {
|
34005
|
-
"name": "Input",
|
34006
|
-
"module": "src/components/input/input.component.ts"
|
33765
|
+
"name": "FormfieldWrapper",
|
33766
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
34007
33767
|
}
|
34008
33768
|
},
|
34009
33769
|
{
|
34010
|
-
"
|
34011
|
-
"
|
33770
|
+
"name": "help-text-type",
|
33771
|
+
"type": {
|
33772
|
+
"text": "ValidationType"
|
33773
|
+
},
|
33774
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
33775
|
+
"fieldName": "helpTextType",
|
34012
33776
|
"inheritedFrom": {
|
34013
|
-
"name": "
|
34014
|
-
"module": "src/components/
|
33777
|
+
"name": "FormfieldWrapper",
|
33778
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
34015
33779
|
}
|
34016
33780
|
},
|
34017
33781
|
{
|
34018
|
-
"
|
34019
|
-
"
|
33782
|
+
"name": "help-text",
|
33783
|
+
"type": {
|
33784
|
+
"text": "string | undefined"
|
33785
|
+
},
|
33786
|
+
"description": "The help text that is displayed below the input field.",
|
33787
|
+
"fieldName": "helpText",
|
34020
33788
|
"inheritedFrom": {
|
34021
|
-
"name": "
|
34022
|
-
"module": "src/components/
|
33789
|
+
"name": "FormfieldWrapper",
|
33790
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
34023
33791
|
}
|
34024
33792
|
},
|
34025
33793
|
{
|
34026
|
-
"
|
34027
|
-
"
|
33794
|
+
"name": "toggletip-text",
|
33795
|
+
"type": {
|
33796
|
+
"text": "string | undefined"
|
33797
|
+
},
|
33798
|
+
"description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
|
33799
|
+
"fieldName": "toggletipText",
|
34028
33800
|
"inheritedFrom": {
|
34029
|
-
"name": "
|
34030
|
-
"module": "src/components/
|
33801
|
+
"name": "FormfieldWrapper",
|
33802
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
34031
33803
|
}
|
34032
33804
|
},
|
34033
33805
|
{
|
34034
|
-
"
|
34035
|
-
"
|
33806
|
+
"name": "toggletip-placement",
|
33807
|
+
"type": {
|
33808
|
+
"text": "PopoverPlacement"
|
33809
|
+
},
|
33810
|
+
"description": "The placement of the toggletip that is displayed when the info icon is hovered.",
|
33811
|
+
"default": "'top'",
|
33812
|
+
"fieldName": "toggletipPlacement",
|
34036
33813
|
"inheritedFrom": {
|
34037
|
-
"name": "
|
34038
|
-
"module": "src/components/
|
33814
|
+
"name": "FormfieldWrapper",
|
33815
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
34039
33816
|
}
|
34040
33817
|
},
|
34041
33818
|
{
|
34042
|
-
"
|
34043
|
-
"
|
33819
|
+
"name": "info-icon-aria-label",
|
33820
|
+
"type": {
|
33821
|
+
"text": "string | undefined"
|
33822
|
+
},
|
33823
|
+
"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.",
|
33824
|
+
"fieldName": "infoIconAriaLabel",
|
34044
33825
|
"inheritedFrom": {
|
34045
|
-
"name": "
|
34046
|
-
"module": "src/components/
|
33826
|
+
"name": "FormfieldWrapper",
|
33827
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
34047
33828
|
}
|
33829
|
+
}
|
33830
|
+
],
|
33831
|
+
"mixins": [
|
33832
|
+
{
|
33833
|
+
"name": "AutoFocusOnMountMixin",
|
33834
|
+
"module": "/src/utils/mixins/AutoFocusOnMountMixin"
|
34048
33835
|
},
|
34049
33836
|
{
|
34050
|
-
"
|
34051
|
-
"
|
34052
|
-
"inheritedFrom": {
|
34053
|
-
"name": "Input",
|
34054
|
-
"module": "src/components/input/input.component.ts"
|
34055
|
-
}
|
33837
|
+
"name": "FormInternalsMixin",
|
33838
|
+
"module": "/src/utils/mixins/FormInternalsMixin"
|
34056
33839
|
},
|
34057
33840
|
{
|
34058
|
-
"
|
34059
|
-
"
|
34060
|
-
"inheritedFrom": {
|
34061
|
-
"name": "Input",
|
34062
|
-
"module": "src/components/input/input.component.ts"
|
34063
|
-
}
|
33841
|
+
"name": "DataAriaLabelMixin",
|
33842
|
+
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
34064
33843
|
}
|
34065
|
-
]
|
33844
|
+
],
|
33845
|
+
"superclass": {
|
33846
|
+
"name": "FormfieldWrapper",
|
33847
|
+
"module": "/src/components/formfieldwrapper/formfieldwrapper.component"
|
33848
|
+
},
|
33849
|
+
"tagName": "mdc-select",
|
33850
|
+
"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 *\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 * If you need to use `mdc-tooltip` with any options, make sure to place the tooltip component outside the `mdc-select` element.\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 *\n * @cssproperty --mdc-select-background-color - The background color of the combobox of select.\n * @cssproperty --mdc-select-background-color-hover - The background color of the combobox of select when hovered.\n * @cssproperty --mdc-select-background-color-active - The background color of the combobox of select when active.\n * @cssproperty --mdc-select-background-color-disabled - The background color of the combobox of select when disabled.\n * @cssproperty --mdc-select-text-color - The text color of the select.\n * @cssproperty --mdc-select-text-color-selected - The text color of the selected option in the select.\n * @cssproperty --mdc-select-text-color-disabled - The text color of the select when disabled.\n * @cssproperty --mdc-select-border-color - The border color of the select.\n * @cssproperty --mdc-select-border-color-disabled - The border color of the select when disabled.\n * @cssproperty --mdc-select-border-color-success - The border color of the select when in success state.\n * @cssproperty --mdc-select-border-color-warning - The border color of the select when in warning state.\n * @cssproperty --mdc-select-border-color-error - The border color of the select when in error state.\n * @cssproperty --mdc-select-width - The width of the select.\n * @cssproperty --mdc-select-listbox-height - The height of the listbox inside the select.\n * @cssproperty --mdc-select-listbox-width - The width of the listbox inside the select (default: `--mdc-select-width`).\n */",
|
33851
|
+
"customElement": true
|
34066
33852
|
}
|
34067
33853
|
],
|
34068
33854
|
"exports": [
|
@@ -34070,545 +33856,511 @@
|
|
34070
33856
|
"kind": "js",
|
34071
33857
|
"name": "default",
|
34072
33858
|
"declaration": {
|
34073
|
-
"name": "
|
34074
|
-
"module": "components/
|
33859
|
+
"name": "Select",
|
33860
|
+
"module": "components/select/select.component.js"
|
34075
33861
|
}
|
34076
33862
|
}
|
34077
33863
|
]
|
34078
33864
|
},
|
34079
33865
|
{
|
34080
33866
|
"kind": "javascript-module",
|
34081
|
-
"path": "components/
|
33867
|
+
"path": "components/searchfield/searchfield.component.js",
|
34082
33868
|
"declarations": [
|
34083
33869
|
{
|
34084
33870
|
"kind": "class",
|
34085
|
-
"description": "
|
34086
|
-
"name": "
|
34087
|
-
"cssProperties": [
|
34088
|
-
{
|
34089
|
-
"description": "The background color of the combobox of select.",
|
34090
|
-
"name": "--mdc-select-background-color"
|
34091
|
-
},
|
34092
|
-
{
|
34093
|
-
"description": "The background color of the combobox of select when hovered.",
|
34094
|
-
"name": "--mdc-select-background-color-hover"
|
34095
|
-
},
|
34096
|
-
{
|
34097
|
-
"description": "The background color of the combobox of select when active.",
|
34098
|
-
"name": "--mdc-select-background-color-active"
|
34099
|
-
},
|
34100
|
-
{
|
34101
|
-
"description": "The background color of the combobox of select when disabled.",
|
34102
|
-
"name": "--mdc-select-background-color-disabled"
|
34103
|
-
},
|
34104
|
-
{
|
34105
|
-
"description": "The text color of the select.",
|
34106
|
-
"name": "--mdc-select-text-color"
|
34107
|
-
},
|
34108
|
-
{
|
34109
|
-
"description": "The text color of the selected option in the select.",
|
34110
|
-
"name": "--mdc-select-text-color-selected"
|
34111
|
-
},
|
34112
|
-
{
|
34113
|
-
"description": "The text color of the select when disabled.",
|
34114
|
-
"name": "--mdc-select-text-color-disabled"
|
34115
|
-
},
|
34116
|
-
{
|
34117
|
-
"description": "The border color of the select.",
|
34118
|
-
"name": "--mdc-select-border-color"
|
34119
|
-
},
|
34120
|
-
{
|
34121
|
-
"description": "The border color of the select when disabled.",
|
34122
|
-
"name": "--mdc-select-border-color-disabled"
|
34123
|
-
},
|
34124
|
-
{
|
34125
|
-
"description": "The border color of the select when in success state.",
|
34126
|
-
"name": "--mdc-select-border-color-success"
|
34127
|
-
},
|
34128
|
-
{
|
34129
|
-
"description": "The border color of the select when in warning state.",
|
34130
|
-
"name": "--mdc-select-border-color-warning"
|
34131
|
-
},
|
34132
|
-
{
|
34133
|
-
"description": "The border color of the select when in error state.",
|
34134
|
-
"name": "--mdc-select-border-color-error"
|
34135
|
-
},
|
34136
|
-
{
|
34137
|
-
"description": "The width of the select.",
|
34138
|
-
"name": "--mdc-select-width"
|
34139
|
-
},
|
34140
|
-
{
|
34141
|
-
"description": "The height of the listbox inside the select.",
|
34142
|
-
"name": "--mdc-select-listbox-height"
|
34143
|
-
},
|
34144
|
-
{
|
34145
|
-
"description": "The width of the listbox inside the select (default: `--mdc-select-width`).",
|
34146
|
-
"name": "--mdc-select-listbox-width"
|
34147
|
-
}
|
34148
|
-
],
|
33871
|
+
"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.",
|
33872
|
+
"name": "Searchfield",
|
34149
33873
|
"slots": [
|
34150
33874
|
{
|
34151
|
-
"description": "
|
34152
|
-
"name": "
|
33875
|
+
"description": "Slot for input chips",
|
33876
|
+
"name": "filters"
|
34153
33877
|
}
|
34154
33878
|
],
|
34155
33879
|
"members": [
|
34156
33880
|
{
|
34157
33881
|
"kind": "field",
|
34158
|
-
"name": "
|
33882
|
+
"name": "inputChips",
|
34159
33883
|
"type": {
|
34160
|
-
"text": "
|
34161
|
-
}
|
34162
|
-
"description": "The placeholder text which will be shown on the text if provided.",
|
34163
|
-
"attribute": "placeholder"
|
33884
|
+
"text": "Array<HTMLElement> | undefined"
|
33885
|
+
}
|
34164
33886
|
},
|
34165
33887
|
{
|
34166
|
-
"kind": "
|
34167
|
-
"name": "
|
34168
|
-
"
|
34169
|
-
|
34170
|
-
|
34171
|
-
|
34172
|
-
|
34173
|
-
|
33888
|
+
"kind": "method",
|
33889
|
+
"name": "handleKeyDown",
|
33890
|
+
"privacy": "protected",
|
33891
|
+
"parameters": [
|
33892
|
+
{
|
33893
|
+
"name": "event",
|
33894
|
+
"type": {
|
33895
|
+
"text": "KeyboardEvent"
|
33896
|
+
},
|
33897
|
+
"description": "Keyboard event"
|
33898
|
+
}
|
33899
|
+
],
|
33900
|
+
"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.",
|
33901
|
+
"inheritedFrom": {
|
33902
|
+
"name": "Input",
|
33903
|
+
"module": "components/input/input.component.js"
|
33904
|
+
}
|
34174
33905
|
},
|
34175
33906
|
{
|
34176
|
-
"kind": "
|
34177
|
-
"name": "
|
34178
|
-
"
|
34179
|
-
|
34180
|
-
|
34181
|
-
|
34182
|
-
"
|
34183
|
-
"
|
33907
|
+
"kind": "method",
|
33908
|
+
"name": "renderInputChips",
|
33909
|
+
"privacy": "private",
|
33910
|
+
"description": "This method is used to render the input chips inside filters slot.\nIt will remove any elements that are not input chips."
|
33911
|
+
},
|
33912
|
+
{
|
33913
|
+
"kind": "method",
|
33914
|
+
"name": "clearInputText",
|
33915
|
+
"privacy": "protected",
|
33916
|
+
"description": "Clears the input field.",
|
33917
|
+
"inheritedFrom": {
|
33918
|
+
"name": "Input",
|
33919
|
+
"module": "components/input/input.component.js"
|
33920
|
+
}
|
34184
33921
|
},
|
34185
33922
|
{
|
34186
33923
|
"kind": "field",
|
34187
|
-
"name": "
|
33924
|
+
"name": "autoFocusOnMount",
|
34188
33925
|
"type": {
|
34189
|
-
"text": "boolean
|
33926
|
+
"text": "boolean"
|
34190
33927
|
},
|
34191
|
-
"
|
34192
|
-
"
|
34193
|
-
"attribute": "
|
34194
|
-
"reflects": true
|
33928
|
+
"default": "false",
|
33929
|
+
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
33930
|
+
"attribute": "auto-focus-on-mount",
|
33931
|
+
"reflects": true,
|
33932
|
+
"inheritedFrom": {
|
33933
|
+
"name": "AutoFocusOnMountMixin",
|
33934
|
+
"module": "utils/mixins/AutoFocusOnMountMixin.js"
|
33935
|
+
}
|
34195
33936
|
},
|
34196
33937
|
{
|
34197
33938
|
"kind": "field",
|
34198
|
-
"name": "
|
33939
|
+
"name": "name",
|
34199
33940
|
"type": {
|
34200
|
-
"text": "
|
33941
|
+
"text": "string"
|
34201
33942
|
},
|
34202
|
-
"
|
34203
|
-
"
|
34204
|
-
"attribute": "
|
34205
|
-
"reflects": true
|
33943
|
+
"default": "''",
|
33944
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
33945
|
+
"attribute": "name",
|
33946
|
+
"reflects": true,
|
33947
|
+
"inheritedFrom": {
|
33948
|
+
"name": "FormInternalsMixin",
|
33949
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
33950
|
+
}
|
34206
33951
|
},
|
34207
33952
|
{
|
34208
33953
|
"kind": "field",
|
34209
|
-
"name": "
|
33954
|
+
"name": "value",
|
34210
33955
|
"type": {
|
34211
|
-
"text": "
|
33956
|
+
"text": "string"
|
34212
33957
|
},
|
34213
|
-
"
|
34214
|
-
"
|
34215
|
-
"attribute": "
|
34216
|
-
"reflects": true
|
33958
|
+
"default": "''",
|
33959
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
33960
|
+
"attribute": "value",
|
33961
|
+
"reflects": true,
|
33962
|
+
"inheritedFrom": {
|
33963
|
+
"name": "FormInternalsMixin",
|
33964
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
33965
|
+
}
|
34217
33966
|
},
|
34218
33967
|
{
|
34219
33968
|
"kind": "field",
|
34220
|
-
"name": "
|
33969
|
+
"name": "validationMessage",
|
34221
33970
|
"type": {
|
34222
|
-
"text": "
|
33971
|
+
"text": "string | undefined"
|
34223
33972
|
},
|
34224
|
-
"description": "
|
34225
|
-
"
|
34226
|
-
"
|
34227
|
-
"
|
33973
|
+
"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.",
|
33974
|
+
"attribute": "validation-message",
|
33975
|
+
"reflects": true,
|
33976
|
+
"inheritedFrom": {
|
33977
|
+
"name": "FormInternalsMixin",
|
33978
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
33979
|
+
}
|
34228
33980
|
},
|
34229
33981
|
{
|
34230
33982
|
"kind": "field",
|
34231
|
-
"name": "
|
33983
|
+
"name": "validity",
|
34232
33984
|
"type": {
|
34233
|
-
"text": "
|
33985
|
+
"text": "ValidityState"
|
34234
33986
|
},
|
34235
|
-
"
|
34236
|
-
"
|
34237
|
-
|
34238
|
-
|
34239
|
-
{
|
34240
|
-
"kind": "method",
|
34241
|
-
"name": "getAllValidOptions",
|
34242
|
-
"privacy": "private",
|
34243
|
-
"return": {
|
34244
|
-
"type": {
|
34245
|
-
"text": "Array<Option>"
|
34246
|
-
}
|
34247
|
-
}
|
34248
|
-
},
|
34249
|
-
{
|
34250
|
-
"kind": "method",
|
34251
|
-
"name": "getFirstValidOption",
|
34252
|
-
"privacy": "private",
|
34253
|
-
"return": {
|
34254
|
-
"type": {
|
34255
|
-
"text": "Option | null"
|
34256
|
-
}
|
33987
|
+
"readonly": true,
|
33988
|
+
"inheritedFrom": {
|
33989
|
+
"name": "FormInternalsMixin",
|
33990
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
34257
33991
|
}
|
34258
33992
|
},
|
34259
33993
|
{
|
34260
|
-
"kind": "
|
34261
|
-
"name": "
|
34262
|
-
"
|
34263
|
-
"
|
34264
|
-
"
|
34265
|
-
|
34266
|
-
}
|
33994
|
+
"kind": "field",
|
33995
|
+
"name": "willValidate",
|
33996
|
+
"readonly": true,
|
33997
|
+
"inheritedFrom": {
|
33998
|
+
"name": "FormInternalsMixin",
|
33999
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
34267
34000
|
}
|
34268
34001
|
},
|
34269
34002
|
{
|
34270
34003
|
"kind": "method",
|
34271
|
-
"name": "
|
34272
|
-
"
|
34004
|
+
"name": "setValidity",
|
34005
|
+
"description": "Sets the validity of the input field based on the input field's validity.",
|
34273
34006
|
"return": {
|
34274
34007
|
"type": {
|
34275
|
-
"text": "
|
34008
|
+
"text": ""
|
34276
34009
|
}
|
34010
|
+
},
|
34011
|
+
"inheritedFrom": {
|
34012
|
+
"name": "FormInternalsMixin",
|
34013
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
34277
34014
|
}
|
34278
34015
|
},
|
34279
34016
|
{
|
34280
34017
|
"kind": "method",
|
34281
|
-
"name": "
|
34282
|
-
"privacy": "private",
|
34283
|
-
"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."
|
34284
|
-
},
|
34285
|
-
{
|
34286
|
-
"kind": "method",
|
34287
|
-
"name": "handleOptionsClick",
|
34288
|
-
"privacy": "private",
|
34018
|
+
"name": "checkValidity",
|
34289
34019
|
"return": {
|
34290
34020
|
"type": {
|
34291
|
-
"text": "
|
34021
|
+
"text": "boolean"
|
34292
34022
|
}
|
34293
34023
|
},
|
34294
|
-
"
|
34295
|
-
|
34296
|
-
|
34297
|
-
|
34298
|
-
"text": "MouseEvent"
|
34299
|
-
},
|
34300
|
-
"description": "The event which triggered this function."
|
34301
|
-
}
|
34302
|
-
],
|
34303
|
-
"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."
|
34024
|
+
"inheritedFrom": {
|
34025
|
+
"name": "FormInternalsMixin",
|
34026
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
34027
|
+
}
|
34304
34028
|
},
|
34305
34029
|
{
|
34306
34030
|
"kind": "method",
|
34307
|
-
"name": "
|
34308
|
-
"
|
34309
|
-
|
34310
|
-
"
|
34311
|
-
|
34312
|
-
}
|
34313
|
-
},
|
34314
|
-
"parameters": [
|
34315
|
-
{
|
34316
|
-
"name": "option",
|
34317
|
-
"type": {
|
34318
|
-
"text": "Option | null"
|
34319
|
-
},
|
34320
|
-
"description": "The option element in DOM which gets selected."
|
34321
|
-
}
|
34322
|
-
],
|
34323
|
-
"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."
|
34031
|
+
"name": "reportValidity",
|
34032
|
+
"inheritedFrom": {
|
34033
|
+
"name": "FormInternalsMixin",
|
34034
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
34035
|
+
}
|
34324
34036
|
},
|
34325
34037
|
{
|
34326
|
-
"kind": "
|
34327
|
-
"name": "
|
34328
|
-
"
|
34329
|
-
|
34330
|
-
"type": {
|
34331
|
-
"text": "void"
|
34332
|
-
}
|
34038
|
+
"kind": "field",
|
34039
|
+
"name": "dataAriaLabel",
|
34040
|
+
"type": {
|
34041
|
+
"text": "string | null"
|
34333
34042
|
},
|
34334
|
-
"
|
34335
|
-
|
34336
|
-
|
34337
|
-
|
34338
|
-
|
34339
|
-
|
34340
|
-
|
34341
|
-
|
34342
|
-
}
|
34343
|
-
],
|
34344
|
-
"description": "Updates the tabindex of all options.\nSets the tabindex of the selected option to '0' and others to '-1'."
|
34043
|
+
"default": "null",
|
34044
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
34045
|
+
"attribute": "data-aria-label",
|
34046
|
+
"reflects": true,
|
34047
|
+
"inheritedFrom": {
|
34048
|
+
"name": "DataAriaLabelMixin",
|
34049
|
+
"module": "utils/mixins/DataAriaLabelMixin.js"
|
34050
|
+
}
|
34345
34051
|
},
|
34346
34052
|
{
|
34347
|
-
"kind": "
|
34348
|
-
"name": "
|
34349
|
-
"
|
34350
|
-
|
34351
|
-
"type": {
|
34352
|
-
"text": "void"
|
34353
|
-
}
|
34053
|
+
"kind": "field",
|
34054
|
+
"name": "placeholder",
|
34055
|
+
"type": {
|
34056
|
+
"text": "string"
|
34354
34057
|
},
|
34355
|
-
"
|
34356
|
-
|
34357
|
-
|
34358
|
-
|
34359
|
-
|
34360
|
-
|
34361
|
-
|
34362
|
-
}
|
34363
|
-
],
|
34364
|
-
"description": "Sets selected attribute on the selected option and removes it from all options"
|
34058
|
+
"default": "''",
|
34059
|
+
"description": "The placeholder text that is displayed when the input field is empty.",
|
34060
|
+
"attribute": "placeholder",
|
34061
|
+
"inheritedFrom": {
|
34062
|
+
"name": "Input",
|
34063
|
+
"module": "components/input/input.component.js"
|
34064
|
+
}
|
34365
34065
|
},
|
34366
34066
|
{
|
34367
|
-
"kind": "
|
34368
|
-
"name": "
|
34369
|
-
"
|
34370
|
-
|
34371
|
-
"type": {
|
34372
|
-
"text": "void"
|
34373
|
-
}
|
34067
|
+
"kind": "field",
|
34068
|
+
"name": "readonly",
|
34069
|
+
"type": {
|
34070
|
+
"text": "boolean"
|
34374
34071
|
},
|
34375
|
-
"
|
34072
|
+
"default": "false",
|
34073
|
+
"description": "readonly attribute of the input field. If true, the input field is read-only.",
|
34074
|
+
"attribute": "readonly",
|
34075
|
+
"inheritedFrom": {
|
34076
|
+
"name": "Input",
|
34077
|
+
"module": "components/input/input.component.js"
|
34078
|
+
}
|
34376
34079
|
},
|
34377
34080
|
{
|
34378
|
-
"kind": "
|
34379
|
-
"name": "
|
34380
|
-
"
|
34381
|
-
|
34382
|
-
"type": {
|
34383
|
-
"text": "void"
|
34384
|
-
}
|
34081
|
+
"kind": "field",
|
34082
|
+
"name": "prefixText",
|
34083
|
+
"type": {
|
34084
|
+
"text": "string | undefined"
|
34385
34085
|
},
|
34386
|
-
"
|
34387
|
-
|
34388
|
-
|
34389
|
-
|
34390
|
-
|
34391
|
-
|
34392
|
-
}
|
34393
|
-
]
|
34086
|
+
"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.",
|
34087
|
+
"attribute": "prefix-text",
|
34088
|
+
"inheritedFrom": {
|
34089
|
+
"name": "Input",
|
34090
|
+
"module": "components/input/input.component.js"
|
34091
|
+
}
|
34394
34092
|
},
|
34395
34093
|
{
|
34396
|
-
"kind": "
|
34397
|
-
"name": "
|
34398
|
-
"
|
34399
|
-
|
34400
|
-
"type": {
|
34401
|
-
"text": "void"
|
34402
|
-
}
|
34094
|
+
"kind": "field",
|
34095
|
+
"name": "leadingIcon",
|
34096
|
+
"type": {
|
34097
|
+
"text": "IconNames | undefined"
|
34403
34098
|
},
|
34404
|
-
"
|
34405
|
-
|
34406
|
-
|
34407
|
-
|
34408
|
-
|
34409
|
-
|
34410
|
-
}
|
34411
|
-
]
|
34099
|
+
"description": "The leading icon that is displayed before the input field.",
|
34100
|
+
"attribute": "leading-icon",
|
34101
|
+
"inheritedFrom": {
|
34102
|
+
"name": "Input",
|
34103
|
+
"module": "components/input/input.component.js"
|
34104
|
+
}
|
34412
34105
|
},
|
34413
34106
|
{
|
34414
|
-
"kind": "
|
34415
|
-
"name": "
|
34416
|
-
"
|
34417
|
-
|
34418
|
-
"type": {
|
34419
|
-
"text": "void"
|
34420
|
-
}
|
34107
|
+
"kind": "field",
|
34108
|
+
"name": "trailingButton",
|
34109
|
+
"type": {
|
34110
|
+
"text": "boolean"
|
34421
34111
|
},
|
34422
|
-
"
|
34423
|
-
|
34424
|
-
|
34425
|
-
|
34426
|
-
|
34427
|
-
|
34428
|
-
|
34429
|
-
}
|
34430
|
-
],
|
34431
|
-
"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."
|
34112
|
+
"default": "false",
|
34113
|
+
"description": "The trailing button when set to true, shows a clear button that clears the input field.",
|
34114
|
+
"attribute": "trailing-button",
|
34115
|
+
"inheritedFrom": {
|
34116
|
+
"name": "Input",
|
34117
|
+
"module": "components/input/input.component.js"
|
34118
|
+
}
|
34432
34119
|
},
|
34433
34120
|
{
|
34434
|
-
"kind": "
|
34435
|
-
"name": "
|
34436
|
-
"
|
34437
|
-
|
34438
|
-
"type": {
|
34439
|
-
"text": "void"
|
34440
|
-
}
|
34121
|
+
"kind": "field",
|
34122
|
+
"name": "maxlength",
|
34123
|
+
"type": {
|
34124
|
+
"text": "number | undefined"
|
34441
34125
|
},
|
34442
|
-
"
|
34443
|
-
|
34444
|
-
|
34445
|
-
|
34446
|
-
|
34447
|
-
|
34448
|
-
"description": "The keyboard event."
|
34449
|
-
}
|
34450
|
-
],
|
34451
|
-
"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."
|
34126
|
+
"description": "The maximum number of characters that the input field can accept.",
|
34127
|
+
"attribute": "maxlength",
|
34128
|
+
"inheritedFrom": {
|
34129
|
+
"name": "Input",
|
34130
|
+
"module": "components/input/input.component.js"
|
34131
|
+
}
|
34452
34132
|
},
|
34453
34133
|
{
|
34454
|
-
"kind": "
|
34455
|
-
"name": "
|
34456
|
-
"
|
34457
|
-
|
34458
|
-
"type": {
|
34459
|
-
"text": "void"
|
34460
|
-
}
|
34134
|
+
"kind": "field",
|
34135
|
+
"name": "minlength",
|
34136
|
+
"type": {
|
34137
|
+
"text": "number | undefined"
|
34461
34138
|
},
|
34462
|
-
"
|
34463
|
-
|
34464
|
-
|
34465
|
-
|
34466
|
-
|
34467
|
-
|
34468
|
-
"description": "The keyboard event."
|
34469
|
-
}
|
34470
|
-
],
|
34471
|
-
"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."
|
34139
|
+
"description": "The minimum number of characters that the input field can accept.",
|
34140
|
+
"attribute": "minlength",
|
34141
|
+
"inheritedFrom": {
|
34142
|
+
"name": "Input",
|
34143
|
+
"module": "components/input/input.component.js"
|
34144
|
+
}
|
34472
34145
|
},
|
34473
34146
|
{
|
34474
|
-
"kind": "
|
34475
|
-
"name": "
|
34476
|
-
"
|
34477
|
-
|
34478
|
-
"type": {
|
34479
|
-
"text": "void"
|
34480
|
-
}
|
34147
|
+
"kind": "field",
|
34148
|
+
"name": "autocapitalize",
|
34149
|
+
"type": {
|
34150
|
+
"text": "AutoCapitalizeType"
|
34481
34151
|
},
|
34482
|
-
"description": "
|
34152
|
+
"description": "The autocapitalize attribute of the input field.",
|
34153
|
+
"default": "'off'",
|
34154
|
+
"attribute": "autocapitalize",
|
34155
|
+
"inheritedFrom": {
|
34156
|
+
"name": "Input",
|
34157
|
+
"module": "components/input/input.component.js"
|
34158
|
+
}
|
34483
34159
|
},
|
34484
34160
|
{
|
34485
34161
|
"kind": "field",
|
34486
|
-
"name": "
|
34162
|
+
"name": "autocomplete",
|
34487
34163
|
"type": {
|
34488
|
-
"text": "
|
34164
|
+
"text": "AutoCompleteType"
|
34489
34165
|
},
|
34490
|
-
"
|
34491
|
-
"
|
34492
|
-
"attribute": "
|
34493
|
-
"reflects": true,
|
34166
|
+
"description": "The autocomplete attribute of the input field.",
|
34167
|
+
"default": "'off'",
|
34168
|
+
"attribute": "autocomplete",
|
34494
34169
|
"inheritedFrom": {
|
34495
|
-
"name": "
|
34496
|
-
"module": "
|
34170
|
+
"name": "Input",
|
34171
|
+
"module": "components/input/input.component.js"
|
34497
34172
|
}
|
34498
34173
|
},
|
34499
34174
|
{
|
34500
34175
|
"kind": "field",
|
34501
|
-
"name": "
|
34176
|
+
"name": "dirname",
|
34502
34177
|
"type": {
|
34503
|
-
"text": "string"
|
34178
|
+
"text": "string | undefined"
|
34504
34179
|
},
|
34505
|
-
"
|
34506
|
-
"
|
34507
|
-
"attribute": "name",
|
34508
|
-
"reflects": true,
|
34180
|
+
"description": "Specifies the name of the directionality of text for submission purposes (e.g., \"rtl\" for right-to-left).",
|
34181
|
+
"attribute": "dirname",
|
34509
34182
|
"inheritedFrom": {
|
34510
|
-
"name": "
|
34511
|
-
"module": "
|
34183
|
+
"name": "Input",
|
34184
|
+
"module": "components/input/input.component.js"
|
34512
34185
|
}
|
34513
34186
|
},
|
34514
34187
|
{
|
34515
34188
|
"kind": "field",
|
34516
|
-
"name": "
|
34189
|
+
"name": "pattern",
|
34517
34190
|
"type": {
|
34518
|
-
"text": "string"
|
34191
|
+
"text": "string | undefined"
|
34519
34192
|
},
|
34520
|
-
"
|
34521
|
-
"
|
34522
|
-
"attribute": "value",
|
34523
|
-
"reflects": true,
|
34193
|
+
"description": "The pattern attribute of the input field.\nSpecifies a regular expression that the input value must match for validation purposes.",
|
34194
|
+
"attribute": "pattern",
|
34524
34195
|
"inheritedFrom": {
|
34525
|
-
"name": "
|
34526
|
-
"module": "
|
34196
|
+
"name": "Input",
|
34197
|
+
"module": "components/input/input.component.js"
|
34527
34198
|
}
|
34528
34199
|
},
|
34529
34200
|
{
|
34530
34201
|
"kind": "field",
|
34531
|
-
"name": "
|
34202
|
+
"name": "list",
|
34532
34203
|
"type": {
|
34533
34204
|
"text": "string | undefined"
|
34534
34205
|
},
|
34535
|
-
"description": "
|
34536
|
-
"attribute": "
|
34537
|
-
"reflects": true,
|
34206
|
+
"description": "The list attribute of the input field.\nIdentifies a list of pre-defined options to suggest to the user.",
|
34207
|
+
"attribute": "list",
|
34538
34208
|
"inheritedFrom": {
|
34539
|
-
"name": "
|
34540
|
-
"module": "
|
34209
|
+
"name": "Input",
|
34210
|
+
"module": "components/input/input.component.js"
|
34541
34211
|
}
|
34542
34212
|
},
|
34543
34213
|
{
|
34544
34214
|
"kind": "field",
|
34545
|
-
"name": "
|
34215
|
+
"name": "size",
|
34546
34216
|
"type": {
|
34547
|
-
"text": "
|
34217
|
+
"text": "number | undefined | undefined"
|
34548
34218
|
},
|
34549
|
-
"
|
34219
|
+
"description": "The size attribute of the input field.\nSpecifies the width of the input field.",
|
34220
|
+
"default": "undefined",
|
34221
|
+
"attribute": "size",
|
34550
34222
|
"inheritedFrom": {
|
34551
|
-
"name": "
|
34552
|
-
"module": "
|
34223
|
+
"name": "Input",
|
34224
|
+
"module": "components/input/input.component.js"
|
34553
34225
|
}
|
34554
34226
|
},
|
34555
34227
|
{
|
34556
34228
|
"kind": "field",
|
34557
|
-
"name": "
|
34558
|
-
"
|
34229
|
+
"name": "clearAriaLabel",
|
34230
|
+
"type": {
|
34231
|
+
"text": "string"
|
34232
|
+
},
|
34233
|
+
"default": "''",
|
34234
|
+
"description": "Aria label for the trailing button. If trailing button is set to true, this label is used for the clear button.",
|
34235
|
+
"attribute": "clear-aria-label",
|
34559
34236
|
"inheritedFrom": {
|
34560
|
-
"name": "
|
34561
|
-
"module": "
|
34237
|
+
"name": "Input",
|
34238
|
+
"module": "components/input/input.component.js"
|
34562
34239
|
}
|
34563
34240
|
},
|
34564
34241
|
{
|
34565
34242
|
"kind": "method",
|
34566
|
-
"name": "
|
34567
|
-
"
|
34243
|
+
"name": "setInputValidity",
|
34244
|
+
"privacy": "private",
|
34245
|
+
"inheritedFrom": {
|
34246
|
+
"name": "Input",
|
34247
|
+
"module": "components/input/input.component.js"
|
34248
|
+
}
|
34249
|
+
},
|
34250
|
+
{
|
34251
|
+
"kind": "method",
|
34252
|
+
"name": "updateValue",
|
34253
|
+
"privacy": "private",
|
34254
|
+
"description": "Updates the value of the input field.\nSets the form value.",
|
34255
|
+
"return": {
|
34256
|
+
"type": {
|
34257
|
+
"text": ""
|
34258
|
+
}
|
34259
|
+
},
|
34260
|
+
"inheritedFrom": {
|
34261
|
+
"name": "Input",
|
34262
|
+
"module": "components/input/input.component.js"
|
34263
|
+
}
|
34264
|
+
},
|
34265
|
+
{
|
34266
|
+
"kind": "method",
|
34267
|
+
"name": "onInput",
|
34268
|
+
"privacy": "private",
|
34269
|
+
"description": "Handles the input event of the input field.\nUpdates the value and sets the validity of the input field.",
|
34270
|
+
"inheritedFrom": {
|
34271
|
+
"name": "Input",
|
34272
|
+
"module": "components/input/input.component.js"
|
34273
|
+
}
|
34274
|
+
},
|
34275
|
+
{
|
34276
|
+
"kind": "method",
|
34277
|
+
"name": "onChange",
|
34278
|
+
"privacy": "private",
|
34279
|
+
"parameters": [
|
34280
|
+
{
|
34281
|
+
"name": "event",
|
34282
|
+
"type": {
|
34283
|
+
"text": "Event"
|
34284
|
+
},
|
34285
|
+
"description": "Event which contains information about the value change."
|
34286
|
+
}
|
34287
|
+
],
|
34288
|
+
"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",
|
34289
|
+
"inheritedFrom": {
|
34290
|
+
"name": "Input",
|
34291
|
+
"module": "components/input/input.component.js"
|
34292
|
+
}
|
34293
|
+
},
|
34294
|
+
{
|
34295
|
+
"kind": "method",
|
34296
|
+
"name": "renderLeadingIcon",
|
34297
|
+
"privacy": "protected",
|
34298
|
+
"description": "Renders the leading icon before the input field.\nIf the leading icon is not set, it will not be displayed.",
|
34299
|
+
"return": {
|
34300
|
+
"type": {
|
34301
|
+
"text": ""
|
34302
|
+
}
|
34303
|
+
},
|
34304
|
+
"inheritedFrom": {
|
34305
|
+
"name": "Input",
|
34306
|
+
"module": "components/input/input.component.js"
|
34307
|
+
}
|
34308
|
+
},
|
34309
|
+
{
|
34310
|
+
"kind": "method",
|
34311
|
+
"name": "renderPrefixText",
|
34312
|
+
"privacy": "protected",
|
34313
|
+
"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.",
|
34568
34314
|
"return": {
|
34569
34315
|
"type": {
|
34570
34316
|
"text": ""
|
34571
34317
|
}
|
34572
34318
|
},
|
34573
34319
|
"inheritedFrom": {
|
34574
|
-
"name": "
|
34575
|
-
"module": "
|
34320
|
+
"name": "Input",
|
34321
|
+
"module": "components/input/input.component.js"
|
34576
34322
|
}
|
34577
34323
|
},
|
34578
34324
|
{
|
34579
34325
|
"kind": "method",
|
34580
|
-
"name": "
|
34326
|
+
"name": "renderTrailingButton",
|
34327
|
+
"privacy": "protected",
|
34328
|
+
"parameters": [
|
34329
|
+
{
|
34330
|
+
"name": "show",
|
34331
|
+
"default": "false"
|
34332
|
+
}
|
34333
|
+
],
|
34334
|
+
"description": "Renders the trailing button to clear the input field if the trailingButton is set to true.",
|
34581
34335
|
"return": {
|
34582
34336
|
"type": {
|
34583
|
-
"text": "
|
34337
|
+
"text": ""
|
34584
34338
|
}
|
34585
34339
|
},
|
34586
34340
|
"inheritedFrom": {
|
34587
|
-
"name": "
|
34588
|
-
"module": "
|
34341
|
+
"name": "Input",
|
34342
|
+
"module": "components/input/input.component.js"
|
34589
34343
|
}
|
34590
34344
|
},
|
34591
34345
|
{
|
34592
34346
|
"kind": "method",
|
34593
|
-
"name": "
|
34594
|
-
"
|
34595
|
-
|
34596
|
-
|
34597
|
-
|
34598
|
-
|
34599
|
-
|
34600
|
-
|
34601
|
-
|
34602
|
-
|
34603
|
-
|
34604
|
-
|
34605
|
-
|
34606
|
-
|
34607
|
-
"attribute": "data-aria-label",
|
34608
|
-
"reflects": true,
|
34347
|
+
"name": "renderInputElement",
|
34348
|
+
"privacy": "protected",
|
34349
|
+
"parameters": [
|
34350
|
+
{
|
34351
|
+
"name": "type",
|
34352
|
+
"type": {
|
34353
|
+
"text": "InputType"
|
34354
|
+
}
|
34355
|
+
},
|
34356
|
+
{
|
34357
|
+
"name": "hidePlaceholder",
|
34358
|
+
"default": "false"
|
34359
|
+
}
|
34360
|
+
],
|
34609
34361
|
"inheritedFrom": {
|
34610
|
-
"name": "
|
34611
|
-
"module": "
|
34362
|
+
"name": "Input",
|
34363
|
+
"module": "components/input/input.component.js"
|
34612
34364
|
}
|
34613
34365
|
},
|
34614
34366
|
{
|
@@ -34804,45 +34556,147 @@
|
|
34804
34556
|
],
|
34805
34557
|
"events": [
|
34806
34558
|
{
|
34559
|
+
"description": "(React: onInput) This event is dispatched when the value of the input field changes (every press).",
|
34560
|
+
"name": "input",
|
34561
|
+
"reactName": "onInput",
|
34562
|
+
"inheritedFrom": {
|
34563
|
+
"name": "Input",
|
34564
|
+
"module": "src/components/input/input.component.ts"
|
34565
|
+
}
|
34566
|
+
},
|
34567
|
+
{
|
34568
|
+
"description": "(React: onChange) This event is dispatched when the value of the input field changes (on blur).",
|
34807
34569
|
"name": "change",
|
34570
|
+
"reactName": "onChange",
|
34571
|
+
"inheritedFrom": {
|
34572
|
+
"name": "Input",
|
34573
|
+
"module": "src/components/input/input.component.ts"
|
34574
|
+
}
|
34575
|
+
},
|
34576
|
+
{
|
34577
|
+
"description": "(React: onFocus) This event is dispatched when the input receives focus.",
|
34578
|
+
"name": "focus",
|
34579
|
+
"reactName": "onFocus",
|
34580
|
+
"inheritedFrom": {
|
34581
|
+
"name": "Input",
|
34582
|
+
"module": "src/components/input/input.component.ts"
|
34583
|
+
}
|
34584
|
+
},
|
34585
|
+
{
|
34586
|
+
"description": "(React: onBlur) This event is dispatched when the input loses focus.",
|
34587
|
+
"name": "blur",
|
34588
|
+
"reactName": "onBlur",
|
34589
|
+
"inheritedFrom": {
|
34590
|
+
"name": "Input",
|
34591
|
+
"module": "src/components/input/input.component.ts"
|
34592
|
+
}
|
34593
|
+
},
|
34594
|
+
{
|
34595
|
+
"name": "clear",
|
34808
34596
|
"type": {
|
34809
34597
|
"text": "CustomEvent"
|
34810
34598
|
},
|
34811
|
-
"description": "(React:
|
34812
|
-
"reactName": "
|
34599
|
+
"description": "(React: onClear) This event is dispatched when the input text is cleared.",
|
34600
|
+
"reactName": "onClear",
|
34601
|
+
"inheritedFrom": {
|
34602
|
+
"name": "Input",
|
34603
|
+
"module": "src/components/input/input.component.ts"
|
34604
|
+
}
|
34813
34605
|
},
|
34814
34606
|
{
|
34815
|
-
"name": "input",
|
34816
34607
|
"type": {
|
34817
|
-
"text": "
|
34608
|
+
"text": "EventConstructor"
|
34818
34609
|
},
|
34819
|
-
"
|
34820
|
-
|
34610
|
+
"inheritedFrom": {
|
34611
|
+
"name": "Input",
|
34612
|
+
"module": "src/components/input/input.component.ts"
|
34613
|
+
}
|
34614
|
+
}
|
34615
|
+
],
|
34616
|
+
"superclass": {
|
34617
|
+
"name": "Input",
|
34618
|
+
"module": "/src/components/input/input.component"
|
34619
|
+
},
|
34620
|
+
"tagName": "mdc-searchfield",
|
34621
|
+
"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 */",
|
34622
|
+
"customElement": true,
|
34623
|
+
"attributes": [
|
34624
|
+
{
|
34625
|
+
"name": "auto-focus-on-mount",
|
34626
|
+
"type": {
|
34627
|
+
"text": "boolean"
|
34628
|
+
},
|
34629
|
+
"default": "false",
|
34630
|
+
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
34631
|
+
"fieldName": "autoFocusOnMount",
|
34632
|
+
"inheritedFrom": {
|
34633
|
+
"name": "AutoFocusOnMountMixin",
|
34634
|
+
"module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
|
34635
|
+
}
|
34821
34636
|
},
|
34822
34637
|
{
|
34823
|
-
"
|
34824
|
-
"
|
34825
|
-
|
34638
|
+
"name": "name",
|
34639
|
+
"type": {
|
34640
|
+
"text": "string"
|
34641
|
+
},
|
34642
|
+
"default": "''",
|
34643
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
34644
|
+
"fieldName": "name",
|
34645
|
+
"inheritedFrom": {
|
34646
|
+
"name": "FormInternalsMixin",
|
34647
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
34648
|
+
}
|
34826
34649
|
},
|
34827
34650
|
{
|
34828
|
-
"
|
34829
|
-
"
|
34830
|
-
|
34651
|
+
"name": "value",
|
34652
|
+
"type": {
|
34653
|
+
"text": "string"
|
34654
|
+
},
|
34655
|
+
"default": "''",
|
34656
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
34657
|
+
"fieldName": "value",
|
34658
|
+
"inheritedFrom": {
|
34659
|
+
"name": "FormInternalsMixin",
|
34660
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
34661
|
+
}
|
34831
34662
|
},
|
34832
34663
|
{
|
34833
|
-
"
|
34834
|
-
"
|
34835
|
-
|
34836
|
-
|
34837
|
-
|
34838
|
-
|
34664
|
+
"name": "validation-message",
|
34665
|
+
"type": {
|
34666
|
+
"text": "string | undefined"
|
34667
|
+
},
|
34668
|
+
"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.",
|
34669
|
+
"fieldName": "validationMessage",
|
34670
|
+
"inheritedFrom": {
|
34671
|
+
"name": "FormInternalsMixin",
|
34672
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
34673
|
+
}
|
34674
|
+
},
|
34675
|
+
{
|
34676
|
+
"name": "data-aria-label",
|
34677
|
+
"type": {
|
34678
|
+
"text": "string | null"
|
34679
|
+
},
|
34680
|
+
"default": "null",
|
34681
|
+
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
34682
|
+
"fieldName": "dataAriaLabel",
|
34683
|
+
"inheritedFrom": {
|
34684
|
+
"name": "DataAriaLabelMixin",
|
34685
|
+
"module": "src/utils/mixins/DataAriaLabelMixin.ts"
|
34686
|
+
}
|
34687
|
+
},
|
34839
34688
|
{
|
34840
34689
|
"name": "placeholder",
|
34841
34690
|
"type": {
|
34842
|
-
"text": "string
|
34691
|
+
"text": "string"
|
34843
34692
|
},
|
34844
|
-
"
|
34845
|
-
"
|
34693
|
+
"default": "''",
|
34694
|
+
"description": "The placeholder text that is displayed when the input field is empty.",
|
34695
|
+
"fieldName": "placeholder",
|
34696
|
+
"inheritedFrom": {
|
34697
|
+
"name": "Input",
|
34698
|
+
"module": "src/components/input/input.component.ts"
|
34699
|
+
}
|
34846
34700
|
},
|
34847
34701
|
{
|
34848
34702
|
"name": "readonly",
|
@@ -34850,123 +34704,160 @@
|
|
34850
34704
|
"text": "boolean"
|
34851
34705
|
},
|
34852
34706
|
"default": "false",
|
34853
|
-
"description": "readonly attribute of the
|
34854
|
-
"fieldName": "readonly"
|
34707
|
+
"description": "readonly attribute of the input field. If true, the input field is read-only.",
|
34708
|
+
"fieldName": "readonly",
|
34709
|
+
"inheritedFrom": {
|
34710
|
+
"name": "Input",
|
34711
|
+
"module": "src/components/input/input.component.ts"
|
34712
|
+
}
|
34855
34713
|
},
|
34856
34714
|
{
|
34857
|
-
"name": "
|
34715
|
+
"name": "prefix-text",
|
34858
34716
|
"type": {
|
34859
|
-
"text": "
|
34717
|
+
"text": "string | undefined"
|
34860
34718
|
},
|
34861
|
-
"description": "The
|
34862
|
-
"fieldName": "
|
34719
|
+
"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.",
|
34720
|
+
"fieldName": "prefixText",
|
34721
|
+
"inheritedFrom": {
|
34722
|
+
"name": "Input",
|
34723
|
+
"module": "src/components/input/input.component.ts"
|
34724
|
+
}
|
34863
34725
|
},
|
34864
34726
|
{
|
34865
|
-
"name": "
|
34727
|
+
"name": "leading-icon",
|
34866
34728
|
"type": {
|
34867
|
-
"text": "
|
34729
|
+
"text": "IconNames | undefined"
|
34868
34730
|
},
|
34869
|
-
"description": "
|
34870
|
-
"
|
34871
|
-
"
|
34731
|
+
"description": "The leading icon that is displayed before the input field.",
|
34732
|
+
"fieldName": "leadingIcon",
|
34733
|
+
"inheritedFrom": {
|
34734
|
+
"name": "Input",
|
34735
|
+
"module": "src/components/input/input.component.ts"
|
34736
|
+
}
|
34737
|
+
},
|
34738
|
+
{
|
34739
|
+
"name": "trailing-button",
|
34740
|
+
"type": {
|
34741
|
+
"text": "boolean"
|
34742
|
+
},
|
34743
|
+
"default": "false",
|
34744
|
+
"description": "The trailing button when set to true, shows a clear button that clears the input field.",
|
34745
|
+
"fieldName": "trailingButton",
|
34746
|
+
"inheritedFrom": {
|
34747
|
+
"name": "Input",
|
34748
|
+
"module": "src/components/input/input.component.ts"
|
34749
|
+
}
|
34750
|
+
},
|
34751
|
+
{
|
34752
|
+
"name": "maxlength",
|
34753
|
+
"type": {
|
34754
|
+
"text": "number | undefined"
|
34755
|
+
},
|
34756
|
+
"description": "The maximum number of characters that the input field can accept.",
|
34757
|
+
"fieldName": "maxlength",
|
34758
|
+
"inheritedFrom": {
|
34759
|
+
"name": "Input",
|
34760
|
+
"module": "src/components/input/input.component.ts"
|
34761
|
+
}
|
34872
34762
|
},
|
34873
34763
|
{
|
34874
|
-
"name": "
|
34764
|
+
"name": "minlength",
|
34875
34765
|
"type": {
|
34876
|
-
"text": "
|
34766
|
+
"text": "number | undefined"
|
34877
34767
|
},
|
34878
|
-
"description": "
|
34879
|
-
"
|
34880
|
-
"
|
34768
|
+
"description": "The minimum number of characters that the input field can accept.",
|
34769
|
+
"fieldName": "minlength",
|
34770
|
+
"inheritedFrom": {
|
34771
|
+
"name": "Input",
|
34772
|
+
"module": "src/components/input/input.component.ts"
|
34773
|
+
}
|
34881
34774
|
},
|
34882
34775
|
{
|
34883
|
-
"name": "
|
34776
|
+
"name": "autocapitalize",
|
34884
34777
|
"type": {
|
34885
|
-
"text": "
|
34778
|
+
"text": "AutoCapitalizeType"
|
34886
34779
|
},
|
34887
|
-
"description": "The
|
34888
|
-
"default": "
|
34889
|
-
"fieldName": "
|
34780
|
+
"description": "The autocapitalize attribute of the input field.",
|
34781
|
+
"default": "'off'",
|
34782
|
+
"fieldName": "autocapitalize",
|
34783
|
+
"inheritedFrom": {
|
34784
|
+
"name": "Input",
|
34785
|
+
"module": "src/components/input/input.component.ts"
|
34786
|
+
}
|
34890
34787
|
},
|
34891
34788
|
{
|
34892
|
-
"name": "
|
34789
|
+
"name": "autocomplete",
|
34893
34790
|
"type": {
|
34894
|
-
"text": "
|
34791
|
+
"text": "AutoCompleteType"
|
34895
34792
|
},
|
34896
|
-
"description": "The
|
34897
|
-
"default": "
|
34898
|
-
"fieldName": "
|
34793
|
+
"description": "The autocomplete attribute of the input field.",
|
34794
|
+
"default": "'off'",
|
34795
|
+
"fieldName": "autocomplete",
|
34796
|
+
"inheritedFrom": {
|
34797
|
+
"name": "Input",
|
34798
|
+
"module": "src/components/input/input.component.ts"
|
34799
|
+
}
|
34899
34800
|
},
|
34900
34801
|
{
|
34901
|
-
"name": "
|
34802
|
+
"name": "dirname",
|
34902
34803
|
"type": {
|
34903
34804
|
"text": "string | undefined"
|
34904
34805
|
},
|
34905
|
-
"description": "
|
34906
|
-
"fieldName": "
|
34907
|
-
},
|
34908
|
-
{
|
34909
|
-
"name": "auto-focus-on-mount",
|
34910
|
-
"type": {
|
34911
|
-
"text": "boolean"
|
34912
|
-
},
|
34913
|
-
"default": "false",
|
34914
|
-
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
34915
|
-
"fieldName": "autoFocusOnMount",
|
34806
|
+
"description": "Specifies the name of the directionality of text for submission purposes (e.g., \"rtl\" for right-to-left).",
|
34807
|
+
"fieldName": "dirname",
|
34916
34808
|
"inheritedFrom": {
|
34917
|
-
"name": "
|
34918
|
-
"module": "src/
|
34809
|
+
"name": "Input",
|
34810
|
+
"module": "src/components/input/input.component.ts"
|
34919
34811
|
}
|
34920
34812
|
},
|
34921
34813
|
{
|
34922
|
-
"name": "
|
34814
|
+
"name": "pattern",
|
34923
34815
|
"type": {
|
34924
|
-
"text": "string"
|
34816
|
+
"text": "string | undefined"
|
34925
34817
|
},
|
34926
|
-
"
|
34927
|
-
"
|
34928
|
-
"fieldName": "name",
|
34818
|
+
"description": "The pattern attribute of the input field.\nSpecifies a regular expression that the input value must match for validation purposes.",
|
34819
|
+
"fieldName": "pattern",
|
34929
34820
|
"inheritedFrom": {
|
34930
|
-
"name": "
|
34931
|
-
"module": "src/
|
34821
|
+
"name": "Input",
|
34822
|
+
"module": "src/components/input/input.component.ts"
|
34932
34823
|
}
|
34933
34824
|
},
|
34934
34825
|
{
|
34935
|
-
"name": "
|
34826
|
+
"name": "list",
|
34936
34827
|
"type": {
|
34937
|
-
"text": "string"
|
34828
|
+
"text": "string | undefined"
|
34938
34829
|
},
|
34939
|
-
"
|
34940
|
-
"
|
34941
|
-
"fieldName": "value",
|
34830
|
+
"description": "The list attribute of the input field.\nIdentifies a list of pre-defined options to suggest to the user.",
|
34831
|
+
"fieldName": "list",
|
34942
34832
|
"inheritedFrom": {
|
34943
|
-
"name": "
|
34944
|
-
"module": "src/
|
34833
|
+
"name": "Input",
|
34834
|
+
"module": "src/components/input/input.component.ts"
|
34945
34835
|
}
|
34946
34836
|
},
|
34947
34837
|
{
|
34948
|
-
"name": "
|
34838
|
+
"name": "size",
|
34949
34839
|
"type": {
|
34950
|
-
"text": "
|
34840
|
+
"text": "number | undefined | undefined"
|
34951
34841
|
},
|
34952
|
-
"description": "
|
34953
|
-
"
|
34842
|
+
"description": "The size attribute of the input field.\nSpecifies the width of the input field.",
|
34843
|
+
"default": "undefined",
|
34844
|
+
"fieldName": "size",
|
34954
34845
|
"inheritedFrom": {
|
34955
|
-
"name": "
|
34956
|
-
"module": "src/
|
34846
|
+
"name": "Input",
|
34847
|
+
"module": "src/components/input/input.component.ts"
|
34957
34848
|
}
|
34958
34849
|
},
|
34959
34850
|
{
|
34960
|
-
"name": "
|
34851
|
+
"name": "clear-aria-label",
|
34961
34852
|
"type": {
|
34962
|
-
"text": "string
|
34853
|
+
"text": "string"
|
34963
34854
|
},
|
34964
|
-
"default": "
|
34965
|
-
"description": "
|
34966
|
-
"fieldName": "
|
34855
|
+
"default": "''",
|
34856
|
+
"description": "Aria label for the trailing button. If trailing button is set to true, this label is used for the clear button.",
|
34857
|
+
"fieldName": "clearAriaLabel",
|
34967
34858
|
"inheritedFrom": {
|
34968
|
-
"name": "
|
34969
|
-
"module": "src/
|
34859
|
+
"name": "Input",
|
34860
|
+
"module": "src/components/input/input.component.ts"
|
34970
34861
|
}
|
34971
34862
|
},
|
34972
34863
|
{
|
@@ -35069,27 +34960,136 @@
|
|
35069
34960
|
}
|
35070
34961
|
}
|
35071
34962
|
],
|
35072
|
-
"
|
34963
|
+
"cssProperties": [
|
35073
34964
|
{
|
35074
|
-
"
|
35075
|
-
"
|
34965
|
+
"description": "Border color for the input container when disabled",
|
34966
|
+
"name": "--mdc-input-disabled-border-color",
|
34967
|
+
"inheritedFrom": {
|
34968
|
+
"name": "Input",
|
34969
|
+
"module": "src/components/input/input.component.ts"
|
34970
|
+
}
|
35076
34971
|
},
|
35077
34972
|
{
|
35078
|
-
"
|
35079
|
-
"
|
34973
|
+
"description": "Text color for the input field when disabled",
|
34974
|
+
"name": "--mdc-input-disabled-text-color",
|
34975
|
+
"inheritedFrom": {
|
34976
|
+
"name": "Input",
|
34977
|
+
"module": "src/components/input/input.component.ts"
|
34978
|
+
}
|
35080
34979
|
},
|
35081
34980
|
{
|
35082
|
-
"
|
35083
|
-
"
|
34981
|
+
"description": "Background color for the input field when disabled",
|
34982
|
+
"name": "--mdc-input-disabled-background-color",
|
34983
|
+
"inheritedFrom": {
|
34984
|
+
"name": "Input",
|
34985
|
+
"module": "src/components/input/input.component.ts"
|
34986
|
+
}
|
34987
|
+
},
|
34988
|
+
{
|
34989
|
+
"description": "Border color for the input container",
|
34990
|
+
"name": "--mdc-input-border-color",
|
34991
|
+
"inheritedFrom": {
|
34992
|
+
"name": "Input",
|
34993
|
+
"module": "src/components/input/input.component.ts"
|
34994
|
+
}
|
34995
|
+
},
|
34996
|
+
{
|
34997
|
+
"description": "Text color for the input field",
|
34998
|
+
"name": "--mdc-input-text-color",
|
34999
|
+
"inheritedFrom": {
|
35000
|
+
"name": "Input",
|
35001
|
+
"module": "src/components/input/input.component.ts"
|
35002
|
+
}
|
35003
|
+
},
|
35004
|
+
{
|
35005
|
+
"description": "Background color for the input field",
|
35006
|
+
"name": "--mdc-input-background-color",
|
35007
|
+
"inheritedFrom": {
|
35008
|
+
"name": "Input",
|
35009
|
+
"module": "src/components/input/input.component.ts"
|
35010
|
+
}
|
35011
|
+
},
|
35012
|
+
{
|
35013
|
+
"description": "Background color for the selected text",
|
35014
|
+
"name": "--mdc-input-selection-background-color",
|
35015
|
+
"inheritedFrom": {
|
35016
|
+
"name": "Input",
|
35017
|
+
"module": "src/components/input/input.component.ts"
|
35018
|
+
}
|
35019
|
+
},
|
35020
|
+
{
|
35021
|
+
"description": "Text color for the selected text",
|
35022
|
+
"name": "--mdc-input-selection-text-color",
|
35023
|
+
"inheritedFrom": {
|
35024
|
+
"name": "Input",
|
35025
|
+
"module": "src/components/input/input.component.ts"
|
35026
|
+
}
|
35027
|
+
},
|
35028
|
+
{
|
35029
|
+
"description": "Text color for the help text",
|
35030
|
+
"name": "--mdc-input-support-text-color",
|
35031
|
+
"inheritedFrom": {
|
35032
|
+
"name": "Input",
|
35033
|
+
"module": "src/components/input/input.component.ts"
|
35034
|
+
}
|
35035
|
+
},
|
35036
|
+
{
|
35037
|
+
"description": "Background color for the input field when hovered",
|
35038
|
+
"name": "--mdc-input-hover-background-color",
|
35039
|
+
"inheritedFrom": {
|
35040
|
+
"name": "Input",
|
35041
|
+
"module": "src/components/input/input.component.ts"
|
35042
|
+
}
|
35043
|
+
},
|
35044
|
+
{
|
35045
|
+
"description": "Background color for the input field when focused",
|
35046
|
+
"name": "--mdc-input-focused-background-color",
|
35047
|
+
"inheritedFrom": {
|
35048
|
+
"name": "Input",
|
35049
|
+
"module": "src/components/input/input.component.ts"
|
35050
|
+
}
|
35051
|
+
},
|
35052
|
+
{
|
35053
|
+
"description": "Border color for the input container when focused",
|
35054
|
+
"name": "--mdc-input-focused-border-color",
|
35055
|
+
"inheritedFrom": {
|
35056
|
+
"name": "Input",
|
35057
|
+
"module": "src/components/input/input.component.ts"
|
35058
|
+
}
|
35059
|
+
},
|
35060
|
+
{
|
35061
|
+
"description": "Border color for the input container when error",
|
35062
|
+
"name": "--mdc-input-error-border-color",
|
35063
|
+
"inheritedFrom": {
|
35064
|
+
"name": "Input",
|
35065
|
+
"module": "src/components/input/input.component.ts"
|
35066
|
+
}
|
35067
|
+
},
|
35068
|
+
{
|
35069
|
+
"description": "Border color for the input container when warning",
|
35070
|
+
"name": "--mdc-input-warning-border-color",
|
35071
|
+
"inheritedFrom": {
|
35072
|
+
"name": "Input",
|
35073
|
+
"module": "src/components/input/input.component.ts"
|
35074
|
+
}
|
35075
|
+
},
|
35076
|
+
{
|
35077
|
+
"description": "Border color for the input container when success",
|
35078
|
+
"name": "--mdc-input-success-border-color",
|
35079
|
+
"inheritedFrom": {
|
35080
|
+
"name": "Input",
|
35081
|
+
"module": "src/components/input/input.component.ts"
|
35082
|
+
}
|
35083
|
+
},
|
35084
|
+
{
|
35085
|
+
"description": "Border color for the input container when primary",
|
35086
|
+
"name": "--mdc-input-primary-border-color",
|
35087
|
+
"inheritedFrom": {
|
35088
|
+
"name": "Input",
|
35089
|
+
"module": "src/components/input/input.component.ts"
|
35090
|
+
}
|
35084
35091
|
}
|
35085
|
-
]
|
35086
|
-
"superclass": {
|
35087
|
-
"name": "FormfieldWrapper",
|
35088
|
-
"module": "/src/components/formfieldwrapper/formfieldwrapper.component"
|
35089
|
-
},
|
35090
|
-
"tagName": "mdc-select",
|
35091
|
-
"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 *\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 * If you need to use `mdc-tooltip` with any options, make sure to place the tooltip component outside the `mdc-select` element.\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 *\n * @cssproperty --mdc-select-background-color - The background color of the combobox of select.\n * @cssproperty --mdc-select-background-color-hover - The background color of the combobox of select when hovered.\n * @cssproperty --mdc-select-background-color-active - The background color of the combobox of select when active.\n * @cssproperty --mdc-select-background-color-disabled - The background color of the combobox of select when disabled.\n * @cssproperty --mdc-select-text-color - The text color of the select.\n * @cssproperty --mdc-select-text-color-selected - The text color of the selected option in the select.\n * @cssproperty --mdc-select-text-color-disabled - The text color of the select when disabled.\n * @cssproperty --mdc-select-border-color - The border color of the select.\n * @cssproperty --mdc-select-border-color-disabled - The border color of the select when disabled.\n * @cssproperty --mdc-select-border-color-success - The border color of the select when in success state.\n * @cssproperty --mdc-select-border-color-warning - The border color of the select when in warning state.\n * @cssproperty --mdc-select-border-color-error - The border color of the select when in error state.\n * @cssproperty --mdc-select-width - The width of the select.\n * @cssproperty --mdc-select-listbox-height - The height of the listbox inside the select.\n * @cssproperty --mdc-select-listbox-width - The width of the listbox inside the select (default: `--mdc-select-width`).\n */",
|
35092
|
-
"customElement": true
|
35092
|
+
]
|
35093
35093
|
}
|
35094
35094
|
],
|
35095
35095
|
"exports": [
|
@@ -35097,8 +35097,8 @@
|
|
35097
35097
|
"kind": "js",
|
35098
35098
|
"name": "default",
|
35099
35099
|
"declaration": {
|
35100
|
-
"name": "
|
35101
|
-
"module": "components/
|
35100
|
+
"name": "Searchfield",
|
35101
|
+
"module": "components/searchfield/searchfield.component.js"
|
35102
35102
|
}
|
35103
35103
|
}
|
35104
35104
|
]
|