@momentum-design/components 0.115.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 +386 -275
- package/dist/browser/index.js.map +4 -4
- package/dist/components/banner/banner.component.d.ts +79 -0
- package/dist/components/banner/banner.component.js +142 -0
- package/dist/components/banner/banner.constants.d.ts +28 -0
- package/dist/components/banner/banner.constants.js +29 -0
- package/dist/components/banner/banner.styles.d.ts +2 -0
- package/dist/components/banner/banner.styles.js +86 -0
- package/dist/components/banner/banner.types.d.ts +4 -0
- package/dist/components/banner/banner.types.js +1 -0
- package/dist/components/banner/banner.utils.d.ts +3 -0
- package/dist/components/banner/banner.utils.js +16 -0
- package/dist/components/banner/index.d.ts +9 -0
- package/dist/components/banner/index.js +6 -0
- package/dist/custom-elements.json +1444 -1284
- package/dist/index.d.ts +2 -1
- package/dist/index.js +2 -1
- package/dist/react/banner/index.d.ts +40 -0
- package/dist/react/banner/index.js +49 -0
- package/dist/react/index.d.ts +3 -2
- package/dist/react/index.js +3 -2
- package/dist/utils/controllers/ElementStore.d.ts +21 -10
- package/dist/utils/controllers/ElementStore.js +9 -0
- package/package.json +1 -1
@@ -3168,6 +3168,166 @@
|
|
3168
3168
|
}
|
3169
3169
|
]
|
3170
3170
|
},
|
3171
|
+
{
|
3172
|
+
"kind": "javascript-module",
|
3173
|
+
"path": "components/banner/banner.component.js",
|
3174
|
+
"declarations": [
|
3175
|
+
{
|
3176
|
+
"kind": "class",
|
3177
|
+
"description": "`mdc-banner` is a component that allows applications to communicate important messages to users \nand requires user action to dismiss them. It supports different message types with appropriate styling \nand icons, and provides flexibility for customization through label, secondary label, icons, and actions.\n\nThey are designed to be noticeable yet non-intrusive, helping users stay informed without interrupting their workflow.\n\nThis component supports both structured content via properties and flexible customization via slots:\n- Use the properties (`label`, `secondaryLabel`, `variant`) for standard banner layouts with automatic icon selection.\n- Use slots for custom content and complete layout control.\n- Combine both approaches for maximum flexibility.\n- Create custom orientations and actions using CSS parts and slots.",
|
3178
|
+
"name": "Banner",
|
3179
|
+
"cssProperties": [
|
3180
|
+
{
|
3181
|
+
"description": "Background color of the banner.",
|
3182
|
+
"name": "--mdc-banner-background-color"
|
3183
|
+
},
|
3184
|
+
{
|
3185
|
+
"description": "Border color of the banner.",
|
3186
|
+
"name": "--mdc-banner-border-color"
|
3187
|
+
},
|
3188
|
+
{
|
3189
|
+
"description": "Color of the icon in the banner.",
|
3190
|
+
"name": "--mdc-banner-icon-color"
|
3191
|
+
},
|
3192
|
+
{
|
3193
|
+
"description": "Elevation/shadow of the banner.",
|
3194
|
+
"name": "--mdc-banner-elevation"
|
3195
|
+
},
|
3196
|
+
{
|
3197
|
+
"description": "Padding inside the banner.",
|
3198
|
+
"name": "--mdc-banner-padding"
|
3199
|
+
},
|
3200
|
+
{
|
3201
|
+
"description": "Gap between banner elements.",
|
3202
|
+
"name": "--mdc-banner-gap"
|
3203
|
+
}
|
3204
|
+
],
|
3205
|
+
"cssParts": [
|
3206
|
+
{
|
3207
|
+
"description": "The leading section containing the icon and text.",
|
3208
|
+
"name": "leading"
|
3209
|
+
},
|
3210
|
+
{
|
3211
|
+
"description": "The icon displayed for variants or custom icon slot.",
|
3212
|
+
"name": "leading-icon"
|
3213
|
+
},
|
3214
|
+
{
|
3215
|
+
"description": "The leading section containing label and secondary label text.",
|
3216
|
+
"name": "leading-text"
|
3217
|
+
},
|
3218
|
+
{
|
3219
|
+
"description": "The trailing section containing action buttons and controls.",
|
3220
|
+
"name": "trailing"
|
3221
|
+
},
|
3222
|
+
{
|
3223
|
+
"description": "The label text of the banner.",
|
3224
|
+
"name": "leading-label"
|
3225
|
+
},
|
3226
|
+
{
|
3227
|
+
"description": "The secondary label text of the banner.",
|
3228
|
+
"name": "leading-secondary-label"
|
3229
|
+
}
|
3230
|
+
],
|
3231
|
+
"slots": [
|
3232
|
+
{
|
3233
|
+
"description": "Complete content override. When used, it replaces all default banner content including icon, label, secondary label, and actions.",
|
3234
|
+
"name": "content"
|
3235
|
+
},
|
3236
|
+
{
|
3237
|
+
"description": "Custom icon content. Overrides the default variant-based icon.",
|
3238
|
+
"name": "leading-icon"
|
3239
|
+
},
|
3240
|
+
{
|
3241
|
+
"description": "Custom text content. Overrides the label and secondaryLabel properties.",
|
3242
|
+
"name": "leading-text"
|
3243
|
+
},
|
3244
|
+
{
|
3245
|
+
"description": "Custom action buttons and controls. Use this for dismiss buttons, reset buttons, or any other actions.",
|
3246
|
+
"name": "trailing-actions"
|
3247
|
+
}
|
3248
|
+
],
|
3249
|
+
"members": [
|
3250
|
+
{
|
3251
|
+
"kind": "field",
|
3252
|
+
"name": "variant",
|
3253
|
+
"type": {
|
3254
|
+
"text": "BannerVariant"
|
3255
|
+
},
|
3256
|
+
"description": "The type of banner variant.\n- Can be `custom`, `informational`, `warning`, `error`, or `success`.\n\nNote: When using the `custom` variant, provide your own icon via the `leading-icon` slot; otherwise, no icon will be shown.",
|
3257
|
+
"default": "'custom'",
|
3258
|
+
"attribute": "variant",
|
3259
|
+
"reflects": true
|
3260
|
+
},
|
3261
|
+
{
|
3262
|
+
"kind": "field",
|
3263
|
+
"name": "label",
|
3264
|
+
"type": {
|
3265
|
+
"text": "string"
|
3266
|
+
},
|
3267
|
+
"default": "''",
|
3268
|
+
"description": "Banner label text",
|
3269
|
+
"attribute": "label",
|
3270
|
+
"reflects": true
|
3271
|
+
},
|
3272
|
+
{
|
3273
|
+
"kind": "field",
|
3274
|
+
"name": "secondaryLabel",
|
3275
|
+
"type": {
|
3276
|
+
"text": "string | undefined"
|
3277
|
+
},
|
3278
|
+
"description": "Banner secondary label text\n\nNote: Optional supporting text that appears below the label. Only rendered when label is also provided.",
|
3279
|
+
"attribute": "secondary-label",
|
3280
|
+
"reflects": true
|
3281
|
+
}
|
3282
|
+
],
|
3283
|
+
"attributes": [
|
3284
|
+
{
|
3285
|
+
"name": "variant",
|
3286
|
+
"type": {
|
3287
|
+
"text": "BannerVariant"
|
3288
|
+
},
|
3289
|
+
"description": "The type of banner variant.\n- Can be `custom`, `informational`, `warning`, `error`, or `success`.\n\nNote: When using the `custom` variant, provide your own icon via the `leading-icon` slot; otherwise, no icon will be shown.",
|
3290
|
+
"default": "'custom'",
|
3291
|
+
"fieldName": "variant"
|
3292
|
+
},
|
3293
|
+
{
|
3294
|
+
"name": "label",
|
3295
|
+
"type": {
|
3296
|
+
"text": "string"
|
3297
|
+
},
|
3298
|
+
"default": "''",
|
3299
|
+
"description": "Banner label text",
|
3300
|
+
"fieldName": "label"
|
3301
|
+
},
|
3302
|
+
{
|
3303
|
+
"name": "secondary-label",
|
3304
|
+
"type": {
|
3305
|
+
"text": "string | undefined"
|
3306
|
+
},
|
3307
|
+
"description": "Banner secondary label text\n\nNote: Optional supporting text that appears below the label. Only rendered when label is also provided.",
|
3308
|
+
"fieldName": "secondaryLabel"
|
3309
|
+
}
|
3310
|
+
],
|
3311
|
+
"superclass": {
|
3312
|
+
"name": "Component",
|
3313
|
+
"module": "/src/models"
|
3314
|
+
},
|
3315
|
+
"tagName": "mdc-banner",
|
3316
|
+
"jsDoc": "/**\n * `mdc-banner` is a component that allows applications to communicate important messages to users \n * and requires user action to dismiss them. It supports different message types with appropriate styling \n * and icons, and provides flexibility for customization through label, secondary label, icons, and actions.\n * \n * They are designed to be noticeable yet non-intrusive, helping users stay informed without interrupting their workflow.\n *\n * This component supports both structured content via properties and flexible customization via slots:\n * - Use the properties (`label`, `secondaryLabel`, `variant`) for standard banner layouts with automatic icon selection.\n * - Use slots for custom content and complete layout control.\n * - Combine both approaches for maximum flexibility.\n * - Create custom orientations and actions using CSS parts and slots.\n * \n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @slot content - Complete content override. When used, it replaces all default banner content including icon, label, secondary label, and actions.\n * @slot leading-icon - Custom icon content. Overrides the default variant-based icon.\n * @slot leading-text - Custom text content. Overrides the label and secondaryLabel properties.\n * @slot trailing-actions - Custom action buttons and controls. Use this for dismiss buttons, reset buttons, or any other actions.\n *\n * @tagname mdc-banner\n *\n * @csspart leading - The leading section containing the icon and text.\n * @csspart leading-icon - The icon displayed for variants or custom icon slot.\n * @csspart leading-text - The leading section containing label and secondary label text.\n * @csspart trailing - The trailing section containing action buttons and controls.\n * @csspart leading-label - The label text of the banner.\n * @csspart leading-secondary-label - The secondary label text of the banner.\n *\n * @cssproperty --mdc-banner-background-color - Background color of the banner.\n * @cssproperty --mdc-banner-border-color - Border color of the banner.\n * @cssproperty --mdc-banner-icon-color - Color of the icon in the banner.\n * @cssproperty --mdc-banner-elevation - Elevation/shadow of the banner.\n * @cssproperty --mdc-banner-padding - Padding inside the banner.\n * @cssproperty --mdc-banner-gap - Gap between banner elements.\n */",
|
3317
|
+
"customElement": true
|
3318
|
+
}
|
3319
|
+
],
|
3320
|
+
"exports": [
|
3321
|
+
{
|
3322
|
+
"kind": "js",
|
3323
|
+
"name": "default",
|
3324
|
+
"declaration": {
|
3325
|
+
"name": "Banner",
|
3326
|
+
"module": "components/banner/banner.component.js"
|
3327
|
+
}
|
3328
|
+
}
|
3329
|
+
]
|
3330
|
+
},
|
3171
3331
|
{
|
3172
3332
|
"kind": "javascript-module",
|
3173
3333
|
"path": "components/brandvisual/brandvisual.component.js",
|
@@ -32677,60 +32837,408 @@
|
|
32677
32837
|
},
|
32678
32838
|
{
|
32679
32839
|
"kind": "javascript-module",
|
32680
|
-
"path": "components/
|
32840
|
+
"path": "components/select/select.component.js",
|
32681
32841
|
"declarations": [
|
32682
32842
|
{
|
32683
32843
|
"kind": "class",
|
32684
|
-
"description": "
|
32685
|
-
"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
|
+
],
|
32686
32908
|
"slots": [
|
32687
32909
|
{
|
32688
|
-
"description": "
|
32689
|
-
"name": "
|
32910
|
+
"description": "This is a default/unnamed slot for Selectlistbox including options and/or option group.",
|
32911
|
+
"name": "default"
|
32690
32912
|
}
|
32691
32913
|
],
|
32692
32914
|
"members": [
|
32693
32915
|
{
|
32694
32916
|
"kind": "field",
|
32695
|
-
"name": "
|
32917
|
+
"name": "placeholder",
|
32696
32918
|
"type": {
|
32697
|
-
"text": "
|
32919
|
+
"text": "string | undefined"
|
32920
|
+
},
|
32921
|
+
"description": "The placeholder text which will be shown on the text if provided.",
|
32922
|
+
"attribute": "placeholder"
|
32923
|
+
},
|
32924
|
+
{
|
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"
|
32933
|
+
},
|
32934
|
+
{
|
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
|
32943
|
+
},
|
32944
|
+
{
|
32945
|
+
"kind": "field",
|
32946
|
+
"name": "softDisabled",
|
32947
|
+
"type": {
|
32948
|
+
"text": "boolean | undefined"
|
32949
|
+
},
|
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
|
32954
|
+
},
|
32955
|
+
{
|
32956
|
+
"kind": "field",
|
32957
|
+
"name": "boundary",
|
32958
|
+
"type": {
|
32959
|
+
"text": "'clippingAncestors' | string"
|
32960
|
+
},
|
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
|
32965
|
+
},
|
32966
|
+
{
|
32967
|
+
"kind": "field",
|
32968
|
+
"name": "strategy",
|
32969
|
+
"type": {
|
32970
|
+
"text": "'absolute' | 'fixed'"
|
32971
|
+
},
|
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
|
32976
|
+
},
|
32977
|
+
{
|
32978
|
+
"kind": "field",
|
32979
|
+
"name": "popoverZIndex",
|
32980
|
+
"type": {
|
32981
|
+
"text": "number"
|
32982
|
+
},
|
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
|
32987
|
+
},
|
32988
|
+
{
|
32989
|
+
"kind": "field",
|
32990
|
+
"name": "backdropAppendTo",
|
32991
|
+
"type": {
|
32992
|
+
"text": "string | undefined"
|
32993
|
+
},
|
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
|
32997
|
+
},
|
32998
|
+
{
|
32999
|
+
"kind": "method",
|
33000
|
+
"name": "getAllValidOptions",
|
33001
|
+
"privacy": "private",
|
33002
|
+
"return": {
|
33003
|
+
"type": {
|
33004
|
+
"text": "Array<Option>"
|
33005
|
+
}
|
32698
33006
|
}
|
32699
33007
|
},
|
32700
33008
|
{
|
32701
33009
|
"kind": "method",
|
32702
|
-
"name": "
|
32703
|
-
"privacy": "
|
33010
|
+
"name": "getFirstValidOption",
|
33011
|
+
"privacy": "private",
|
33012
|
+
"return": {
|
33013
|
+
"type": {
|
33014
|
+
"text": "Option | null"
|
33015
|
+
}
|
33016
|
+
}
|
33017
|
+
},
|
33018
|
+
{
|
33019
|
+
"kind": "method",
|
33020
|
+
"name": "getLastValidOption",
|
33021
|
+
"privacy": "private",
|
33022
|
+
"return": {
|
33023
|
+
"type": {
|
33024
|
+
"text": "Option | null"
|
33025
|
+
}
|
33026
|
+
}
|
33027
|
+
},
|
33028
|
+
{
|
33029
|
+
"kind": "method",
|
33030
|
+
"name": "getFirstSelectedOption",
|
33031
|
+
"privacy": "private",
|
33032
|
+
"return": {
|
33033
|
+
"type": {
|
33034
|
+
"text": "Option | null"
|
33035
|
+
}
|
33036
|
+
}
|
33037
|
+
},
|
33038
|
+
{
|
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."
|
33043
|
+
},
|
33044
|
+
{
|
33045
|
+
"kind": "method",
|
33046
|
+
"name": "handleOptionsClick",
|
33047
|
+
"privacy": "private",
|
33048
|
+
"return": {
|
33049
|
+
"type": {
|
33050
|
+
"text": "void"
|
33051
|
+
}
|
33052
|
+
},
|
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."
|
33063
|
+
},
|
33064
|
+
{
|
33065
|
+
"kind": "method",
|
33066
|
+
"name": "setSelectedOption",
|
33067
|
+
"privacy": "private",
|
33068
|
+
"return": {
|
33069
|
+
"type": {
|
33070
|
+
"text": "void"
|
33071
|
+
}
|
33072
|
+
},
|
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."
|
33083
|
+
},
|
33084
|
+
{
|
33085
|
+
"kind": "method",
|
33086
|
+
"name": "updateTabIndexForAllOptions",
|
33087
|
+
"privacy": "private",
|
33088
|
+
"return": {
|
33089
|
+
"type": {
|
33090
|
+
"text": "void"
|
33091
|
+
}
|
33092
|
+
},
|
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'."
|
33104
|
+
},
|
33105
|
+
{
|
33106
|
+
"kind": "method",
|
33107
|
+
"name": "updateSelectedInChildOptions",
|
33108
|
+
"privacy": "private",
|
33109
|
+
"return": {
|
33110
|
+
"type": {
|
33111
|
+
"text": "void"
|
33112
|
+
}
|
33113
|
+
},
|
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"
|
33124
|
+
},
|
33125
|
+
{
|
33126
|
+
"kind": "method",
|
33127
|
+
"name": "fireEvents",
|
33128
|
+
"privacy": "private",
|
33129
|
+
"return": {
|
33130
|
+
"type": {
|
33131
|
+
"text": "void"
|
33132
|
+
}
|
33133
|
+
},
|
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."
|
33135
|
+
},
|
33136
|
+
{
|
33137
|
+
"kind": "method",
|
33138
|
+
"name": "dispatchChange",
|
33139
|
+
"privacy": "private",
|
33140
|
+
"return": {
|
33141
|
+
"type": {
|
33142
|
+
"text": "void"
|
33143
|
+
}
|
33144
|
+
},
|
33145
|
+
"parameters": [
|
33146
|
+
{
|
33147
|
+
"name": "option",
|
33148
|
+
"type": {
|
33149
|
+
"text": "Option"
|
33150
|
+
}
|
33151
|
+
}
|
33152
|
+
]
|
33153
|
+
},
|
33154
|
+
{
|
33155
|
+
"kind": "method",
|
33156
|
+
"name": "dispatchInput",
|
33157
|
+
"privacy": "private",
|
33158
|
+
"return": {
|
33159
|
+
"type": {
|
33160
|
+
"text": "void"
|
33161
|
+
}
|
33162
|
+
},
|
33163
|
+
"parameters": [
|
33164
|
+
{
|
33165
|
+
"name": "option",
|
33166
|
+
"type": {
|
33167
|
+
"text": "Option"
|
33168
|
+
}
|
33169
|
+
}
|
33170
|
+
]
|
33171
|
+
},
|
33172
|
+
{
|
33173
|
+
"kind": "method",
|
33174
|
+
"name": "handleClickCombobox",
|
33175
|
+
"privacy": "private",
|
33176
|
+
"return": {
|
33177
|
+
"type": {
|
33178
|
+
"text": "void"
|
33179
|
+
}
|
33180
|
+
},
|
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."
|
33191
|
+
},
|
33192
|
+
{
|
33193
|
+
"kind": "method",
|
33194
|
+
"name": "handleKeydownCombobox",
|
33195
|
+
"privacy": "private",
|
33196
|
+
"return": {
|
33197
|
+
"type": {
|
33198
|
+
"text": "void"
|
33199
|
+
}
|
33200
|
+
},
|
32704
33201
|
"parameters": [
|
32705
33202
|
{
|
32706
33203
|
"name": "event",
|
32707
33204
|
"type": {
|
32708
33205
|
"text": "KeyboardEvent"
|
32709
33206
|
},
|
32710
|
-
"description": "
|
33207
|
+
"description": "The keyboard event."
|
32711
33208
|
}
|
32712
33209
|
],
|
32713
|
-
"description": "Handles the keydown event
|
32714
|
-
"inheritedFrom": {
|
32715
|
-
"name": "Input",
|
32716
|
-
"module": "components/input/input.component.js"
|
32717
|
-
}
|
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."
|
32718
33211
|
},
|
32719
33212
|
{
|
32720
33213
|
"kind": "method",
|
32721
|
-
"name": "
|
33214
|
+
"name": "handlePopoverKeydown",
|
32722
33215
|
"privacy": "private",
|
32723
|
-
"
|
33216
|
+
"return": {
|
33217
|
+
"type": {
|
33218
|
+
"text": "void"
|
33219
|
+
}
|
33220
|
+
},
|
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."
|
32724
33231
|
},
|
32725
33232
|
{
|
32726
33233
|
"kind": "method",
|
32727
|
-
"name": "
|
32728
|
-
"privacy": "
|
32729
|
-
"
|
32730
|
-
|
32731
|
-
|
32732
|
-
|
32733
|
-
}
|
33234
|
+
"name": "updateState",
|
33235
|
+
"privacy": "public",
|
33236
|
+
"return": {
|
33237
|
+
"type": {
|
33238
|
+
"text": "void"
|
33239
|
+
}
|
33240
|
+
},
|
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."
|
32734
33242
|
},
|
32735
33243
|
{
|
32736
33244
|
"kind": "field",
|
@@ -32862,320 +33370,6 @@
|
|
32862
33370
|
"module": "utils/mixins/DataAriaLabelMixin.js"
|
32863
33371
|
}
|
32864
33372
|
},
|
32865
|
-
{
|
32866
|
-
"kind": "field",
|
32867
|
-
"name": "placeholder",
|
32868
|
-
"type": {
|
32869
|
-
"text": "string"
|
32870
|
-
},
|
32871
|
-
"default": "''",
|
32872
|
-
"description": "The placeholder text that is displayed when the input field is empty.",
|
32873
|
-
"attribute": "placeholder",
|
32874
|
-
"inheritedFrom": {
|
32875
|
-
"name": "Input",
|
32876
|
-
"module": "components/input/input.component.js"
|
32877
|
-
}
|
32878
|
-
},
|
32879
|
-
{
|
32880
|
-
"kind": "field",
|
32881
|
-
"name": "readonly",
|
32882
|
-
"type": {
|
32883
|
-
"text": "boolean"
|
32884
|
-
},
|
32885
|
-
"default": "false",
|
32886
|
-
"description": "readonly attribute of the input field. If true, the input field is read-only.",
|
32887
|
-
"attribute": "readonly",
|
32888
|
-
"inheritedFrom": {
|
32889
|
-
"name": "Input",
|
32890
|
-
"module": "components/input/input.component.js"
|
32891
|
-
}
|
32892
|
-
},
|
32893
|
-
{
|
32894
|
-
"kind": "field",
|
32895
|
-
"name": "prefixText",
|
32896
|
-
"type": {
|
32897
|
-
"text": "string | undefined"
|
32898
|
-
},
|
32899
|
-
"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.",
|
32900
|
-
"attribute": "prefix-text",
|
32901
|
-
"inheritedFrom": {
|
32902
|
-
"name": "Input",
|
32903
|
-
"module": "components/input/input.component.js"
|
32904
|
-
}
|
32905
|
-
},
|
32906
|
-
{
|
32907
|
-
"kind": "field",
|
32908
|
-
"name": "leadingIcon",
|
32909
|
-
"type": {
|
32910
|
-
"text": "IconNames | undefined"
|
32911
|
-
},
|
32912
|
-
"description": "The leading icon that is displayed before the input field.",
|
32913
|
-
"attribute": "leading-icon",
|
32914
|
-
"inheritedFrom": {
|
32915
|
-
"name": "Input",
|
32916
|
-
"module": "components/input/input.component.js"
|
32917
|
-
}
|
32918
|
-
},
|
32919
|
-
{
|
32920
|
-
"kind": "field",
|
32921
|
-
"name": "trailingButton",
|
32922
|
-
"type": {
|
32923
|
-
"text": "boolean"
|
32924
|
-
},
|
32925
|
-
"default": "false",
|
32926
|
-
"description": "The trailing button when set to true, shows a clear button that clears the input field.",
|
32927
|
-
"attribute": "trailing-button",
|
32928
|
-
"inheritedFrom": {
|
32929
|
-
"name": "Input",
|
32930
|
-
"module": "components/input/input.component.js"
|
32931
|
-
}
|
32932
|
-
},
|
32933
|
-
{
|
32934
|
-
"kind": "field",
|
32935
|
-
"name": "maxlength",
|
32936
|
-
"type": {
|
32937
|
-
"text": "number | undefined"
|
32938
|
-
},
|
32939
|
-
"description": "The maximum number of characters that the input field can accept.",
|
32940
|
-
"attribute": "maxlength",
|
32941
|
-
"inheritedFrom": {
|
32942
|
-
"name": "Input",
|
32943
|
-
"module": "components/input/input.component.js"
|
32944
|
-
}
|
32945
|
-
},
|
32946
|
-
{
|
32947
|
-
"kind": "field",
|
32948
|
-
"name": "minlength",
|
32949
|
-
"type": {
|
32950
|
-
"text": "number | undefined"
|
32951
|
-
},
|
32952
|
-
"description": "The minimum number of characters that the input field can accept.",
|
32953
|
-
"attribute": "minlength",
|
32954
|
-
"inheritedFrom": {
|
32955
|
-
"name": "Input",
|
32956
|
-
"module": "components/input/input.component.js"
|
32957
|
-
}
|
32958
|
-
},
|
32959
|
-
{
|
32960
|
-
"kind": "field",
|
32961
|
-
"name": "autocapitalize",
|
32962
|
-
"type": {
|
32963
|
-
"text": "AutoCapitalizeType"
|
32964
|
-
},
|
32965
|
-
"description": "The autocapitalize attribute of the input field.",
|
32966
|
-
"default": "'off'",
|
32967
|
-
"attribute": "autocapitalize",
|
32968
|
-
"inheritedFrom": {
|
32969
|
-
"name": "Input",
|
32970
|
-
"module": "components/input/input.component.js"
|
32971
|
-
}
|
32972
|
-
},
|
32973
|
-
{
|
32974
|
-
"kind": "field",
|
32975
|
-
"name": "autocomplete",
|
32976
|
-
"type": {
|
32977
|
-
"text": "AutoCompleteType"
|
32978
|
-
},
|
32979
|
-
"description": "The autocomplete attribute of the input field.",
|
32980
|
-
"default": "'off'",
|
32981
|
-
"attribute": "autocomplete",
|
32982
|
-
"inheritedFrom": {
|
32983
|
-
"name": "Input",
|
32984
|
-
"module": "components/input/input.component.js"
|
32985
|
-
}
|
32986
|
-
},
|
32987
|
-
{
|
32988
|
-
"kind": "field",
|
32989
|
-
"name": "dirname",
|
32990
|
-
"type": {
|
32991
|
-
"text": "string | undefined"
|
32992
|
-
},
|
32993
|
-
"description": "Specifies the name of the directionality of text for submission purposes (e.g., \"rtl\" for right-to-left).",
|
32994
|
-
"attribute": "dirname",
|
32995
|
-
"inheritedFrom": {
|
32996
|
-
"name": "Input",
|
32997
|
-
"module": "components/input/input.component.js"
|
32998
|
-
}
|
32999
|
-
},
|
33000
|
-
{
|
33001
|
-
"kind": "field",
|
33002
|
-
"name": "pattern",
|
33003
|
-
"type": {
|
33004
|
-
"text": "string | undefined"
|
33005
|
-
},
|
33006
|
-
"description": "The pattern attribute of the input field.\nSpecifies a regular expression that the input value must match for validation purposes.",
|
33007
|
-
"attribute": "pattern",
|
33008
|
-
"inheritedFrom": {
|
33009
|
-
"name": "Input",
|
33010
|
-
"module": "components/input/input.component.js"
|
33011
|
-
}
|
33012
|
-
},
|
33013
|
-
{
|
33014
|
-
"kind": "field",
|
33015
|
-
"name": "list",
|
33016
|
-
"type": {
|
33017
|
-
"text": "string | undefined"
|
33018
|
-
},
|
33019
|
-
"description": "The list attribute of the input field.\nIdentifies a list of pre-defined options to suggest to the user.",
|
33020
|
-
"attribute": "list",
|
33021
|
-
"inheritedFrom": {
|
33022
|
-
"name": "Input",
|
33023
|
-
"module": "components/input/input.component.js"
|
33024
|
-
}
|
33025
|
-
},
|
33026
|
-
{
|
33027
|
-
"kind": "field",
|
33028
|
-
"name": "size",
|
33029
|
-
"type": {
|
33030
|
-
"text": "number | undefined | undefined"
|
33031
|
-
},
|
33032
|
-
"description": "The size attribute of the input field.\nSpecifies the width of the input field.",
|
33033
|
-
"default": "undefined",
|
33034
|
-
"attribute": "size",
|
33035
|
-
"inheritedFrom": {
|
33036
|
-
"name": "Input",
|
33037
|
-
"module": "components/input/input.component.js"
|
33038
|
-
}
|
33039
|
-
},
|
33040
|
-
{
|
33041
|
-
"kind": "field",
|
33042
|
-
"name": "clearAriaLabel",
|
33043
|
-
"type": {
|
33044
|
-
"text": "string"
|
33045
|
-
},
|
33046
|
-
"default": "''",
|
33047
|
-
"description": "Aria label for the trailing button. If trailing button is set to true, this label is used for the clear button.",
|
33048
|
-
"attribute": "clear-aria-label",
|
33049
|
-
"inheritedFrom": {
|
33050
|
-
"name": "Input",
|
33051
|
-
"module": "components/input/input.component.js"
|
33052
|
-
}
|
33053
|
-
},
|
33054
|
-
{
|
33055
|
-
"kind": "method",
|
33056
|
-
"name": "setInputValidity",
|
33057
|
-
"privacy": "private",
|
33058
|
-
"inheritedFrom": {
|
33059
|
-
"name": "Input",
|
33060
|
-
"module": "components/input/input.component.js"
|
33061
|
-
}
|
33062
|
-
},
|
33063
|
-
{
|
33064
|
-
"kind": "method",
|
33065
|
-
"name": "updateValue",
|
33066
|
-
"privacy": "private",
|
33067
|
-
"description": "Updates the value of the input field.\nSets the form value.",
|
33068
|
-
"return": {
|
33069
|
-
"type": {
|
33070
|
-
"text": ""
|
33071
|
-
}
|
33072
|
-
},
|
33073
|
-
"inheritedFrom": {
|
33074
|
-
"name": "Input",
|
33075
|
-
"module": "components/input/input.component.js"
|
33076
|
-
}
|
33077
|
-
},
|
33078
|
-
{
|
33079
|
-
"kind": "method",
|
33080
|
-
"name": "onInput",
|
33081
|
-
"privacy": "private",
|
33082
|
-
"description": "Handles the input event of the input field.\nUpdates the value and sets the validity of the input field.",
|
33083
|
-
"inheritedFrom": {
|
33084
|
-
"name": "Input",
|
33085
|
-
"module": "components/input/input.component.js"
|
33086
|
-
}
|
33087
|
-
},
|
33088
|
-
{
|
33089
|
-
"kind": "method",
|
33090
|
-
"name": "onChange",
|
33091
|
-
"privacy": "private",
|
33092
|
-
"parameters": [
|
33093
|
-
{
|
33094
|
-
"name": "event",
|
33095
|
-
"type": {
|
33096
|
-
"text": "Event"
|
33097
|
-
},
|
33098
|
-
"description": "Event which contains information about the value change."
|
33099
|
-
}
|
33100
|
-
],
|
33101
|
-
"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",
|
33102
|
-
"inheritedFrom": {
|
33103
|
-
"name": "Input",
|
33104
|
-
"module": "components/input/input.component.js"
|
33105
|
-
}
|
33106
|
-
},
|
33107
|
-
{
|
33108
|
-
"kind": "method",
|
33109
|
-
"name": "renderLeadingIcon",
|
33110
|
-
"privacy": "protected",
|
33111
|
-
"description": "Renders the leading icon before the input field.\nIf the leading icon is not set, it will not be displayed.",
|
33112
|
-
"return": {
|
33113
|
-
"type": {
|
33114
|
-
"text": ""
|
33115
|
-
}
|
33116
|
-
},
|
33117
|
-
"inheritedFrom": {
|
33118
|
-
"name": "Input",
|
33119
|
-
"module": "components/input/input.component.js"
|
33120
|
-
}
|
33121
|
-
},
|
33122
|
-
{
|
33123
|
-
"kind": "method",
|
33124
|
-
"name": "renderPrefixText",
|
33125
|
-
"privacy": "protected",
|
33126
|
-
"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.",
|
33127
|
-
"return": {
|
33128
|
-
"type": {
|
33129
|
-
"text": ""
|
33130
|
-
}
|
33131
|
-
},
|
33132
|
-
"inheritedFrom": {
|
33133
|
-
"name": "Input",
|
33134
|
-
"module": "components/input/input.component.js"
|
33135
|
-
}
|
33136
|
-
},
|
33137
|
-
{
|
33138
|
-
"kind": "method",
|
33139
|
-
"name": "renderTrailingButton",
|
33140
|
-
"privacy": "protected",
|
33141
|
-
"parameters": [
|
33142
|
-
{
|
33143
|
-
"name": "show",
|
33144
|
-
"default": "false"
|
33145
|
-
}
|
33146
|
-
],
|
33147
|
-
"description": "Renders the trailing button to clear the input field if the trailingButton is set to true.",
|
33148
|
-
"return": {
|
33149
|
-
"type": {
|
33150
|
-
"text": ""
|
33151
|
-
}
|
33152
|
-
},
|
33153
|
-
"inheritedFrom": {
|
33154
|
-
"name": "Input",
|
33155
|
-
"module": "components/input/input.component.js"
|
33156
|
-
}
|
33157
|
-
},
|
33158
|
-
{
|
33159
|
-
"kind": "method",
|
33160
|
-
"name": "renderInputElement",
|
33161
|
-
"privacy": "protected",
|
33162
|
-
"parameters": [
|
33163
|
-
{
|
33164
|
-
"name": "type",
|
33165
|
-
"type": {
|
33166
|
-
"text": "InputType"
|
33167
|
-
}
|
33168
|
-
},
|
33169
|
-
{
|
33170
|
-
"name": "hidePlaceholder",
|
33171
|
-
"default": "false"
|
33172
|
-
}
|
33173
|
-
],
|
33174
|
-
"inheritedFrom": {
|
33175
|
-
"name": "Input",
|
33176
|
-
"module": "components/input/input.component.js"
|
33177
|
-
}
|
33178
|
-
},
|
33179
33373
|
{
|
33180
33374
|
"kind": "field",
|
33181
33375
|
"name": "disabled",
|
@@ -33369,71 +33563,107 @@
|
|
33369
33563
|
],
|
33370
33564
|
"events": [
|
33371
33565
|
{
|
33372
|
-
"
|
33566
|
+
"name": "change",
|
33567
|
+
"type": {
|
33568
|
+
"text": "CustomEvent"
|
33569
|
+
},
|
33570
|
+
"description": "(React: onChange) This event is dispatched when the select is changed.",
|
33571
|
+
"reactName": "onChange"
|
33572
|
+
},
|
33573
|
+
{
|
33373
33574
|
"name": "input",
|
33374
|
-
"
|
33375
|
-
|
33376
|
-
|
33377
|
-
|
33378
|
-
|
33575
|
+
"type": {
|
33576
|
+
"text": "CustomEvent"
|
33577
|
+
},
|
33578
|
+
"description": "(React: onInput) This event is dispatched when the select is changed.",
|
33579
|
+
"reactName": "onInput"
|
33379
33580
|
},
|
33380
33581
|
{
|
33381
|
-
"description": "(React:
|
33382
|
-
"name": "
|
33383
|
-
"reactName": "
|
33384
|
-
"inheritedFrom": {
|
33385
|
-
"name": "Input",
|
33386
|
-
"module": "src/components/input/input.component.ts"
|
33387
|
-
}
|
33582
|
+
"description": "(React: onClick) This event is dispatched when the select is clicked.",
|
33583
|
+
"name": "click",
|
33584
|
+
"reactName": "onClick"
|
33388
33585
|
},
|
33389
33586
|
{
|
33390
|
-
"description": "(React:
|
33587
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the select.",
|
33588
|
+
"name": "keydown",
|
33589
|
+
"reactName": "onKeyDown"
|
33590
|
+
},
|
33591
|
+
{
|
33592
|
+
"description": "(React: onFocus) This event is dispatched when the select receives focus.",
|
33391
33593
|
"name": "focus",
|
33392
|
-
"reactName": "onFocus"
|
33393
|
-
|
33394
|
-
|
33395
|
-
|
33396
|
-
|
33594
|
+
"reactName": "onFocus"
|
33595
|
+
}
|
33596
|
+
],
|
33597
|
+
"attributes": [
|
33598
|
+
{
|
33599
|
+
"name": "placeholder",
|
33600
|
+
"type": {
|
33601
|
+
"text": "string | undefined"
|
33602
|
+
},
|
33603
|
+
"description": "The placeholder text which will be shown on the text if provided.",
|
33604
|
+
"fieldName": "placeholder"
|
33397
33605
|
},
|
33398
33606
|
{
|
33399
|
-
"
|
33400
|
-
"
|
33401
|
-
|
33402
|
-
|
33403
|
-
|
33404
|
-
|
33405
|
-
|
33607
|
+
"name": "readonly",
|
33608
|
+
"type": {
|
33609
|
+
"text": "boolean"
|
33610
|
+
},
|
33611
|
+
"default": "false",
|
33612
|
+
"description": "readonly attribute of the select field. If true, the select is read-only.",
|
33613
|
+
"fieldName": "readonly"
|
33406
33614
|
},
|
33407
33615
|
{
|
33408
|
-
"name": "
|
33616
|
+
"name": "placement",
|
33409
33617
|
"type": {
|
33410
|
-
"text": "
|
33618
|
+
"text": "Placement"
|
33411
33619
|
},
|
33412
|
-
"description": "
|
33413
|
-
"
|
33414
|
-
"inheritedFrom": {
|
33415
|
-
"name": "Input",
|
33416
|
-
"module": "src/components/input/input.component.ts"
|
33417
|
-
}
|
33620
|
+
"description": "The placeholder text which will be shown on the text if provided.",
|
33621
|
+
"fieldName": "placement"
|
33418
33622
|
},
|
33419
33623
|
{
|
33624
|
+
"name": "soft-disabled",
|
33420
33625
|
"type": {
|
33421
|
-
"text": "
|
33626
|
+
"text": "boolean | undefined"
|
33422
33627
|
},
|
33423
|
-
"
|
33424
|
-
|
33425
|
-
|
33426
|
-
|
33427
|
-
|
33428
|
-
|
33429
|
-
|
33430
|
-
|
33431
|
-
|
33432
|
-
|
33433
|
-
|
33434
|
-
|
33435
|
-
|
33436
|
-
|
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"
|
33631
|
+
},
|
33632
|
+
{
|
33633
|
+
"name": "boundary",
|
33634
|
+
"type": {
|
33635
|
+
"text": "'clippingAncestors' | string"
|
33636
|
+
},
|
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"
|
33640
|
+
},
|
33641
|
+
{
|
33642
|
+
"name": "strategy",
|
33643
|
+
"type": {
|
33644
|
+
"text": "'absolute' | 'fixed'"
|
33645
|
+
},
|
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"
|
33649
|
+
},
|
33650
|
+
{
|
33651
|
+
"name": "popover-z-index",
|
33652
|
+
"type": {
|
33653
|
+
"text": "number"
|
33654
|
+
},
|
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"
|
33658
|
+
},
|
33659
|
+
{
|
33660
|
+
"name": "backdrop-append-to",
|
33661
|
+
"type": {
|
33662
|
+
"text": "string | undefined"
|
33663
|
+
},
|
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"
|
33666
|
+
},
|
33437
33667
|
{
|
33438
33668
|
"name": "auto-focus-on-mount",
|
33439
33669
|
"type": {
|
@@ -33499,246 +33729,71 @@
|
|
33499
33729
|
}
|
33500
33730
|
},
|
33501
33731
|
{
|
33502
|
-
"name": "
|
33732
|
+
"name": "disabled",
|
33503
33733
|
"type": {
|
33504
|
-
"text": "
|
33734
|
+
"text": "boolean | undefined"
|
33505
33735
|
},
|
33506
|
-
"
|
33507
|
-
"
|
33508
|
-
"fieldName": "
|
33736
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
33737
|
+
"default": "undefined",
|
33738
|
+
"fieldName": "disabled",
|
33509
33739
|
"inheritedFrom": {
|
33510
|
-
"name": "
|
33511
|
-
"module": "src/components/
|
33740
|
+
"name": "FormfieldWrapper",
|
33741
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
33512
33742
|
}
|
33513
33743
|
},
|
33514
33744
|
{
|
33515
|
-
"name": "
|
33745
|
+
"name": "label",
|
33746
|
+
"type": {
|
33747
|
+
"text": "string | undefined"
|
33748
|
+
},
|
33749
|
+
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
33750
|
+
"fieldName": "label",
|
33751
|
+
"inheritedFrom": {
|
33752
|
+
"name": "FormfieldWrapper",
|
33753
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
33754
|
+
}
|
33755
|
+
},
|
33756
|
+
{
|
33757
|
+
"name": "required",
|
33516
33758
|
"type": {
|
33517
33759
|
"text": "boolean"
|
33518
33760
|
},
|
33519
33761
|
"default": "false",
|
33520
|
-
"description": "
|
33521
|
-
"fieldName": "
|
33762
|
+
"description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
|
33763
|
+
"fieldName": "required",
|
33522
33764
|
"inheritedFrom": {
|
33523
|
-
"name": "
|
33524
|
-
"module": "src/components/
|
33765
|
+
"name": "FormfieldWrapper",
|
33766
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
33525
33767
|
}
|
33526
33768
|
},
|
33527
33769
|
{
|
33528
|
-
"name": "
|
33770
|
+
"name": "help-text-type",
|
33529
33771
|
"type": {
|
33530
|
-
"text": "
|
33772
|
+
"text": "ValidationType"
|
33531
33773
|
},
|
33532
|
-
"description": "The
|
33533
|
-
"fieldName": "
|
33774
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
33775
|
+
"fieldName": "helpTextType",
|
33534
33776
|
"inheritedFrom": {
|
33535
|
-
"name": "
|
33536
|
-
"module": "src/components/
|
33777
|
+
"name": "FormfieldWrapper",
|
33778
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
33537
33779
|
}
|
33538
33780
|
},
|
33539
33781
|
{
|
33540
|
-
"name": "
|
33782
|
+
"name": "help-text",
|
33541
33783
|
"type": {
|
33542
|
-
"text": "
|
33784
|
+
"text": "string | undefined"
|
33543
33785
|
},
|
33544
|
-
"description": "The
|
33545
|
-
"fieldName": "
|
33786
|
+
"description": "The help text that is displayed below the input field.",
|
33787
|
+
"fieldName": "helpText",
|
33546
33788
|
"inheritedFrom": {
|
33547
|
-
"name": "
|
33548
|
-
"module": "src/components/
|
33789
|
+
"name": "FormfieldWrapper",
|
33790
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
33549
33791
|
}
|
33550
33792
|
},
|
33551
33793
|
{
|
33552
|
-
"name": "
|
33794
|
+
"name": "toggletip-text",
|
33553
33795
|
"type": {
|
33554
|
-
"text": "
|
33555
|
-
},
|
33556
|
-
"default": "false",
|
33557
|
-
"description": "The trailing button when set to true, shows a clear button that clears the input field.",
|
33558
|
-
"fieldName": "trailingButton",
|
33559
|
-
"inheritedFrom": {
|
33560
|
-
"name": "Input",
|
33561
|
-
"module": "src/components/input/input.component.ts"
|
33562
|
-
}
|
33563
|
-
},
|
33564
|
-
{
|
33565
|
-
"name": "maxlength",
|
33566
|
-
"type": {
|
33567
|
-
"text": "number | undefined"
|
33568
|
-
},
|
33569
|
-
"description": "The maximum number of characters that the input field can accept.",
|
33570
|
-
"fieldName": "maxlength",
|
33571
|
-
"inheritedFrom": {
|
33572
|
-
"name": "Input",
|
33573
|
-
"module": "src/components/input/input.component.ts"
|
33574
|
-
}
|
33575
|
-
},
|
33576
|
-
{
|
33577
|
-
"name": "minlength",
|
33578
|
-
"type": {
|
33579
|
-
"text": "number | undefined"
|
33580
|
-
},
|
33581
|
-
"description": "The minimum number of characters that the input field can accept.",
|
33582
|
-
"fieldName": "minlength",
|
33583
|
-
"inheritedFrom": {
|
33584
|
-
"name": "Input",
|
33585
|
-
"module": "src/components/input/input.component.ts"
|
33586
|
-
}
|
33587
|
-
},
|
33588
|
-
{
|
33589
|
-
"name": "autocapitalize",
|
33590
|
-
"type": {
|
33591
|
-
"text": "AutoCapitalizeType"
|
33592
|
-
},
|
33593
|
-
"description": "The autocapitalize attribute of the input field.",
|
33594
|
-
"default": "'off'",
|
33595
|
-
"fieldName": "autocapitalize",
|
33596
|
-
"inheritedFrom": {
|
33597
|
-
"name": "Input",
|
33598
|
-
"module": "src/components/input/input.component.ts"
|
33599
|
-
}
|
33600
|
-
},
|
33601
|
-
{
|
33602
|
-
"name": "autocomplete",
|
33603
|
-
"type": {
|
33604
|
-
"text": "AutoCompleteType"
|
33605
|
-
},
|
33606
|
-
"description": "The autocomplete attribute of the input field.",
|
33607
|
-
"default": "'off'",
|
33608
|
-
"fieldName": "autocomplete",
|
33609
|
-
"inheritedFrom": {
|
33610
|
-
"name": "Input",
|
33611
|
-
"module": "src/components/input/input.component.ts"
|
33612
|
-
}
|
33613
|
-
},
|
33614
|
-
{
|
33615
|
-
"name": "dirname",
|
33616
|
-
"type": {
|
33617
|
-
"text": "string | undefined"
|
33618
|
-
},
|
33619
|
-
"description": "Specifies the name of the directionality of text for submission purposes (e.g., \"rtl\" for right-to-left).",
|
33620
|
-
"fieldName": "dirname",
|
33621
|
-
"inheritedFrom": {
|
33622
|
-
"name": "Input",
|
33623
|
-
"module": "src/components/input/input.component.ts"
|
33624
|
-
}
|
33625
|
-
},
|
33626
|
-
{
|
33627
|
-
"name": "pattern",
|
33628
|
-
"type": {
|
33629
|
-
"text": "string | undefined"
|
33630
|
-
},
|
33631
|
-
"description": "The pattern attribute of the input field.\nSpecifies a regular expression that the input value must match for validation purposes.",
|
33632
|
-
"fieldName": "pattern",
|
33633
|
-
"inheritedFrom": {
|
33634
|
-
"name": "Input",
|
33635
|
-
"module": "src/components/input/input.component.ts"
|
33636
|
-
}
|
33637
|
-
},
|
33638
|
-
{
|
33639
|
-
"name": "list",
|
33640
|
-
"type": {
|
33641
|
-
"text": "string | undefined"
|
33642
|
-
},
|
33643
|
-
"description": "The list attribute of the input field.\nIdentifies a list of pre-defined options to suggest to the user.",
|
33644
|
-
"fieldName": "list",
|
33645
|
-
"inheritedFrom": {
|
33646
|
-
"name": "Input",
|
33647
|
-
"module": "src/components/input/input.component.ts"
|
33648
|
-
}
|
33649
|
-
},
|
33650
|
-
{
|
33651
|
-
"name": "size",
|
33652
|
-
"type": {
|
33653
|
-
"text": "number | undefined | undefined"
|
33654
|
-
},
|
33655
|
-
"description": "The size attribute of the input field.\nSpecifies the width of the input field.",
|
33656
|
-
"default": "undefined",
|
33657
|
-
"fieldName": "size",
|
33658
|
-
"inheritedFrom": {
|
33659
|
-
"name": "Input",
|
33660
|
-
"module": "src/components/input/input.component.ts"
|
33661
|
-
}
|
33662
|
-
},
|
33663
|
-
{
|
33664
|
-
"name": "clear-aria-label",
|
33665
|
-
"type": {
|
33666
|
-
"text": "string"
|
33667
|
-
},
|
33668
|
-
"default": "''",
|
33669
|
-
"description": "Aria label for the trailing button. If trailing button is set to true, this label is used for the clear button.",
|
33670
|
-
"fieldName": "clearAriaLabel",
|
33671
|
-
"inheritedFrom": {
|
33672
|
-
"name": "Input",
|
33673
|
-
"module": "src/components/input/input.component.ts"
|
33674
|
-
}
|
33675
|
-
},
|
33676
|
-
{
|
33677
|
-
"name": "disabled",
|
33678
|
-
"type": {
|
33679
|
-
"text": "boolean | undefined"
|
33680
|
-
},
|
33681
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
33682
|
-
"default": "undefined",
|
33683
|
-
"fieldName": "disabled",
|
33684
|
-
"inheritedFrom": {
|
33685
|
-
"name": "FormfieldWrapper",
|
33686
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
33687
|
-
}
|
33688
|
-
},
|
33689
|
-
{
|
33690
|
-
"name": "label",
|
33691
|
-
"type": {
|
33692
|
-
"text": "string | undefined"
|
33693
|
-
},
|
33694
|
-
"description": "The label of the input field. It is linked to the input field using the `for` attribute.",
|
33695
|
-
"fieldName": "label",
|
33696
|
-
"inheritedFrom": {
|
33697
|
-
"name": "FormfieldWrapper",
|
33698
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
33699
|
-
}
|
33700
|
-
},
|
33701
|
-
{
|
33702
|
-
"name": "required",
|
33703
|
-
"type": {
|
33704
|
-
"text": "boolean"
|
33705
|
-
},
|
33706
|
-
"default": "false",
|
33707
|
-
"description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
|
33708
|
-
"fieldName": "required",
|
33709
|
-
"inheritedFrom": {
|
33710
|
-
"name": "FormfieldWrapper",
|
33711
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
33712
|
-
}
|
33713
|
-
},
|
33714
|
-
{
|
33715
|
-
"name": "help-text-type",
|
33716
|
-
"type": {
|
33717
|
-
"text": "ValidationType"
|
33718
|
-
},
|
33719
|
-
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
33720
|
-
"fieldName": "helpTextType",
|
33721
|
-
"inheritedFrom": {
|
33722
|
-
"name": "FormfieldWrapper",
|
33723
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
33724
|
-
}
|
33725
|
-
},
|
33726
|
-
{
|
33727
|
-
"name": "help-text",
|
33728
|
-
"type": {
|
33729
|
-
"text": "string | undefined"
|
33730
|
-
},
|
33731
|
-
"description": "The help text that is displayed below the input field.",
|
33732
|
-
"fieldName": "helpText",
|
33733
|
-
"inheritedFrom": {
|
33734
|
-
"name": "FormfieldWrapper",
|
33735
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
33736
|
-
}
|
33737
|
-
},
|
33738
|
-
{
|
33739
|
-
"name": "toggletip-text",
|
33740
|
-
"type": {
|
33741
|
-
"text": "string | undefined"
|
33796
|
+
"text": "string | undefined"
|
33742
33797
|
},
|
33743
33798
|
"description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
|
33744
33799
|
"fieldName": "toggletipText",
|
@@ -33773,136 +33828,27 @@
|
|
33773
33828
|
}
|
33774
33829
|
}
|
33775
33830
|
],
|
33776
|
-
"
|
33777
|
-
{
|
33778
|
-
"description": "Border color for the input container when disabled",
|
33779
|
-
"name": "--mdc-input-disabled-border-color",
|
33780
|
-
"inheritedFrom": {
|
33781
|
-
"name": "Input",
|
33782
|
-
"module": "src/components/input/input.component.ts"
|
33783
|
-
}
|
33784
|
-
},
|
33785
|
-
{
|
33786
|
-
"description": "Text color for the input field when disabled",
|
33787
|
-
"name": "--mdc-input-disabled-text-color",
|
33788
|
-
"inheritedFrom": {
|
33789
|
-
"name": "Input",
|
33790
|
-
"module": "src/components/input/input.component.ts"
|
33791
|
-
}
|
33792
|
-
},
|
33793
|
-
{
|
33794
|
-
"description": "Background color for the input field when disabled",
|
33795
|
-
"name": "--mdc-input-disabled-background-color",
|
33796
|
-
"inheritedFrom": {
|
33797
|
-
"name": "Input",
|
33798
|
-
"module": "src/components/input/input.component.ts"
|
33799
|
-
}
|
33800
|
-
},
|
33801
|
-
{
|
33802
|
-
"description": "Border color for the input container",
|
33803
|
-
"name": "--mdc-input-border-color",
|
33804
|
-
"inheritedFrom": {
|
33805
|
-
"name": "Input",
|
33806
|
-
"module": "src/components/input/input.component.ts"
|
33807
|
-
}
|
33808
|
-
},
|
33809
|
-
{
|
33810
|
-
"description": "Text color for the input field",
|
33811
|
-
"name": "--mdc-input-text-color",
|
33812
|
-
"inheritedFrom": {
|
33813
|
-
"name": "Input",
|
33814
|
-
"module": "src/components/input/input.component.ts"
|
33815
|
-
}
|
33816
|
-
},
|
33817
|
-
{
|
33818
|
-
"description": "Background color for the input field",
|
33819
|
-
"name": "--mdc-input-background-color",
|
33820
|
-
"inheritedFrom": {
|
33821
|
-
"name": "Input",
|
33822
|
-
"module": "src/components/input/input.component.ts"
|
33823
|
-
}
|
33824
|
-
},
|
33825
|
-
{
|
33826
|
-
"description": "Background color for the selected text",
|
33827
|
-
"name": "--mdc-input-selection-background-color",
|
33828
|
-
"inheritedFrom": {
|
33829
|
-
"name": "Input",
|
33830
|
-
"module": "src/components/input/input.component.ts"
|
33831
|
-
}
|
33832
|
-
},
|
33833
|
-
{
|
33834
|
-
"description": "Text color for the selected text",
|
33835
|
-
"name": "--mdc-input-selection-text-color",
|
33836
|
-
"inheritedFrom": {
|
33837
|
-
"name": "Input",
|
33838
|
-
"module": "src/components/input/input.component.ts"
|
33839
|
-
}
|
33840
|
-
},
|
33841
|
-
{
|
33842
|
-
"description": "Text color for the help text",
|
33843
|
-
"name": "--mdc-input-support-text-color",
|
33844
|
-
"inheritedFrom": {
|
33845
|
-
"name": "Input",
|
33846
|
-
"module": "src/components/input/input.component.ts"
|
33847
|
-
}
|
33848
|
-
},
|
33849
|
-
{
|
33850
|
-
"description": "Background color for the input field when hovered",
|
33851
|
-
"name": "--mdc-input-hover-background-color",
|
33852
|
-
"inheritedFrom": {
|
33853
|
-
"name": "Input",
|
33854
|
-
"module": "src/components/input/input.component.ts"
|
33855
|
-
}
|
33856
|
-
},
|
33857
|
-
{
|
33858
|
-
"description": "Background color for the input field when focused",
|
33859
|
-
"name": "--mdc-input-focused-background-color",
|
33860
|
-
"inheritedFrom": {
|
33861
|
-
"name": "Input",
|
33862
|
-
"module": "src/components/input/input.component.ts"
|
33863
|
-
}
|
33864
|
-
},
|
33865
|
-
{
|
33866
|
-
"description": "Border color for the input container when focused",
|
33867
|
-
"name": "--mdc-input-focused-border-color",
|
33868
|
-
"inheritedFrom": {
|
33869
|
-
"name": "Input",
|
33870
|
-
"module": "src/components/input/input.component.ts"
|
33871
|
-
}
|
33872
|
-
},
|
33873
|
-
{
|
33874
|
-
"description": "Border color for the input container when error",
|
33875
|
-
"name": "--mdc-input-error-border-color",
|
33876
|
-
"inheritedFrom": {
|
33877
|
-
"name": "Input",
|
33878
|
-
"module": "src/components/input/input.component.ts"
|
33879
|
-
}
|
33880
|
-
},
|
33831
|
+
"mixins": [
|
33881
33832
|
{
|
33882
|
-
"
|
33883
|
-
"
|
33884
|
-
"inheritedFrom": {
|
33885
|
-
"name": "Input",
|
33886
|
-
"module": "src/components/input/input.component.ts"
|
33887
|
-
}
|
33833
|
+
"name": "AutoFocusOnMountMixin",
|
33834
|
+
"module": "/src/utils/mixins/AutoFocusOnMountMixin"
|
33888
33835
|
},
|
33889
33836
|
{
|
33890
|
-
"
|
33891
|
-
"
|
33892
|
-
"inheritedFrom": {
|
33893
|
-
"name": "Input",
|
33894
|
-
"module": "src/components/input/input.component.ts"
|
33895
|
-
}
|
33837
|
+
"name": "FormInternalsMixin",
|
33838
|
+
"module": "/src/utils/mixins/FormInternalsMixin"
|
33896
33839
|
},
|
33897
33840
|
{
|
33898
|
-
"
|
33899
|
-
"
|
33900
|
-
"inheritedFrom": {
|
33901
|
-
"name": "Input",
|
33902
|
-
"module": "src/components/input/input.component.ts"
|
33903
|
-
}
|
33841
|
+
"name": "DataAriaLabelMixin",
|
33842
|
+
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
33904
33843
|
}
|
33905
|
-
]
|
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
|
33906
33852
|
}
|
33907
33853
|
],
|
33908
33854
|
"exports": [
|
@@ -33910,545 +33856,511 @@
|
|
33910
33856
|
"kind": "js",
|
33911
33857
|
"name": "default",
|
33912
33858
|
"declaration": {
|
33913
|
-
"name": "
|
33914
|
-
"module": "components/
|
33859
|
+
"name": "Select",
|
33860
|
+
"module": "components/select/select.component.js"
|
33915
33861
|
}
|
33916
33862
|
}
|
33917
33863
|
]
|
33918
33864
|
},
|
33919
33865
|
{
|
33920
33866
|
"kind": "javascript-module",
|
33921
|
-
"path": "components/
|
33867
|
+
"path": "components/searchfield/searchfield.component.js",
|
33922
33868
|
"declarations": [
|
33923
33869
|
{
|
33924
33870
|
"kind": "class",
|
33925
|
-
"description": "
|
33926
|
-
"name": "
|
33927
|
-
"cssProperties": [
|
33928
|
-
{
|
33929
|
-
"description": "The background color of the combobox of select.",
|
33930
|
-
"name": "--mdc-select-background-color"
|
33931
|
-
},
|
33932
|
-
{
|
33933
|
-
"description": "The background color of the combobox of select when hovered.",
|
33934
|
-
"name": "--mdc-select-background-color-hover"
|
33935
|
-
},
|
33936
|
-
{
|
33937
|
-
"description": "The background color of the combobox of select when active.",
|
33938
|
-
"name": "--mdc-select-background-color-active"
|
33939
|
-
},
|
33940
|
-
{
|
33941
|
-
"description": "The background color of the combobox of select when disabled.",
|
33942
|
-
"name": "--mdc-select-background-color-disabled"
|
33943
|
-
},
|
33944
|
-
{
|
33945
|
-
"description": "The text color of the select.",
|
33946
|
-
"name": "--mdc-select-text-color"
|
33947
|
-
},
|
33948
|
-
{
|
33949
|
-
"description": "The text color of the selected option in the select.",
|
33950
|
-
"name": "--mdc-select-text-color-selected"
|
33951
|
-
},
|
33952
|
-
{
|
33953
|
-
"description": "The text color of the select when disabled.",
|
33954
|
-
"name": "--mdc-select-text-color-disabled"
|
33955
|
-
},
|
33956
|
-
{
|
33957
|
-
"description": "The border color of the select.",
|
33958
|
-
"name": "--mdc-select-border-color"
|
33959
|
-
},
|
33960
|
-
{
|
33961
|
-
"description": "The border color of the select when disabled.",
|
33962
|
-
"name": "--mdc-select-border-color-disabled"
|
33963
|
-
},
|
33964
|
-
{
|
33965
|
-
"description": "The border color of the select when in success state.",
|
33966
|
-
"name": "--mdc-select-border-color-success"
|
33967
|
-
},
|
33968
|
-
{
|
33969
|
-
"description": "The border color of the select when in warning state.",
|
33970
|
-
"name": "--mdc-select-border-color-warning"
|
33971
|
-
},
|
33972
|
-
{
|
33973
|
-
"description": "The border color of the select when in error state.",
|
33974
|
-
"name": "--mdc-select-border-color-error"
|
33975
|
-
},
|
33976
|
-
{
|
33977
|
-
"description": "The width of the select.",
|
33978
|
-
"name": "--mdc-select-width"
|
33979
|
-
},
|
33980
|
-
{
|
33981
|
-
"description": "The height of the listbox inside the select.",
|
33982
|
-
"name": "--mdc-select-listbox-height"
|
33983
|
-
},
|
33984
|
-
{
|
33985
|
-
"description": "The width of the listbox inside the select (default: `--mdc-select-width`).",
|
33986
|
-
"name": "--mdc-select-listbox-width"
|
33987
|
-
}
|
33988
|
-
],
|
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",
|
33989
33873
|
"slots": [
|
33990
33874
|
{
|
33991
|
-
"description": "
|
33992
|
-
"name": "
|
33875
|
+
"description": "Slot for input chips",
|
33876
|
+
"name": "filters"
|
33993
33877
|
}
|
33994
33878
|
],
|
33995
33879
|
"members": [
|
33996
33880
|
{
|
33997
33881
|
"kind": "field",
|
33998
|
-
"name": "
|
33882
|
+
"name": "inputChips",
|
33999
33883
|
"type": {
|
34000
|
-
"text": "
|
34001
|
-
}
|
34002
|
-
"description": "The placeholder text which will be shown on the text if provided.",
|
34003
|
-
"attribute": "placeholder"
|
33884
|
+
"text": "Array<HTMLElement> | undefined"
|
33885
|
+
}
|
34004
33886
|
},
|
34005
33887
|
{
|
34006
|
-
"kind": "
|
34007
|
-
"name": "
|
34008
|
-
"
|
34009
|
-
|
34010
|
-
|
34011
|
-
|
34012
|
-
|
34013
|
-
|
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
|
+
}
|
34014
33905
|
},
|
34015
33906
|
{
|
34016
|
-
"kind": "
|
34017
|
-
"name": "
|
34018
|
-
"
|
34019
|
-
|
34020
|
-
},
|
34021
|
-
"description": "The placeholder text which will be shown on the text if provided.",
|
34022
|
-
"attribute": "placement",
|
34023
|
-
"reflects": true
|
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."
|
34024
33911
|
},
|
34025
33912
|
{
|
34026
|
-
"kind": "
|
34027
|
-
"name": "
|
34028
|
-
"
|
34029
|
-
|
34030
|
-
|
34031
|
-
|
34032
|
-
|
34033
|
-
|
34034
|
-
"reflects": true
|
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
|
+
}
|
34035
33921
|
},
|
34036
33922
|
{
|
34037
33923
|
"kind": "field",
|
34038
|
-
"name": "
|
33924
|
+
"name": "autoFocusOnMount",
|
34039
33925
|
"type": {
|
34040
|
-
"text": "
|
33926
|
+
"text": "boolean"
|
34041
33927
|
},
|
34042
|
-
"
|
34043
|
-
"
|
34044
|
-
"attribute": "
|
34045
|
-
"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
|
+
}
|
34046
33936
|
},
|
34047
33937
|
{
|
34048
33938
|
"kind": "field",
|
34049
|
-
"name": "
|
33939
|
+
"name": "name",
|
34050
33940
|
"type": {
|
34051
|
-
"text": "
|
33941
|
+
"text": "string"
|
34052
33942
|
},
|
34053
|
-
"
|
34054
|
-
"
|
34055
|
-
"attribute": "
|
34056
|
-
"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
|
+
}
|
34057
33951
|
},
|
34058
33952
|
{
|
34059
33953
|
"kind": "field",
|
34060
|
-
"name": "
|
33954
|
+
"name": "value",
|
34061
33955
|
"type": {
|
34062
|
-
"text": "
|
33956
|
+
"text": "string"
|
34063
33957
|
},
|
34064
|
-
"
|
34065
|
-
"
|
34066
|
-
"attribute": "
|
34067
|
-
"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
|
+
}
|
34068
33966
|
},
|
34069
33967
|
{
|
34070
33968
|
"kind": "field",
|
34071
|
-
"name": "
|
33969
|
+
"name": "validationMessage",
|
34072
33970
|
"type": {
|
34073
33971
|
"text": "string | undefined"
|
34074
33972
|
},
|
34075
|
-
"description": "
|
34076
|
-
"attribute": "
|
34077
|
-
"reflects": true
|
34078
|
-
|
34079
|
-
|
34080
|
-
|
34081
|
-
"name": "getAllValidOptions",
|
34082
|
-
"privacy": "private",
|
34083
|
-
"return": {
|
34084
|
-
"type": {
|
34085
|
-
"text": "Array<Option>"
|
34086
|
-
}
|
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"
|
34087
33979
|
}
|
34088
33980
|
},
|
34089
33981
|
{
|
34090
|
-
"kind": "
|
34091
|
-
"name": "
|
34092
|
-
"
|
34093
|
-
|
34094
|
-
|
34095
|
-
|
34096
|
-
|
33982
|
+
"kind": "field",
|
33983
|
+
"name": "validity",
|
33984
|
+
"type": {
|
33985
|
+
"text": "ValidityState"
|
33986
|
+
},
|
33987
|
+
"readonly": true,
|
33988
|
+
"inheritedFrom": {
|
33989
|
+
"name": "FormInternalsMixin",
|
33990
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
34097
33991
|
}
|
34098
33992
|
},
|
34099
33993
|
{
|
34100
|
-
"kind": "
|
34101
|
-
"name": "
|
34102
|
-
"
|
34103
|
-
"
|
34104
|
-
"
|
34105
|
-
|
34106
|
-
}
|
33994
|
+
"kind": "field",
|
33995
|
+
"name": "willValidate",
|
33996
|
+
"readonly": true,
|
33997
|
+
"inheritedFrom": {
|
33998
|
+
"name": "FormInternalsMixin",
|
33999
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
34107
34000
|
}
|
34108
34001
|
},
|
34109
34002
|
{
|
34110
34003
|
"kind": "method",
|
34111
|
-
"name": "
|
34112
|
-
"
|
34004
|
+
"name": "setValidity",
|
34005
|
+
"description": "Sets the validity of the input field based on the input field's validity.",
|
34113
34006
|
"return": {
|
34114
34007
|
"type": {
|
34115
|
-
"text": "
|
34008
|
+
"text": ""
|
34116
34009
|
}
|
34010
|
+
},
|
34011
|
+
"inheritedFrom": {
|
34012
|
+
"name": "FormInternalsMixin",
|
34013
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
34117
34014
|
}
|
34118
34015
|
},
|
34119
34016
|
{
|
34120
34017
|
"kind": "method",
|
34121
|
-
"name": "
|
34122
|
-
"privacy": "private",
|
34123
|
-
"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."
|
34124
|
-
},
|
34125
|
-
{
|
34126
|
-
"kind": "method",
|
34127
|
-
"name": "handleOptionsClick",
|
34128
|
-
"privacy": "private",
|
34018
|
+
"name": "checkValidity",
|
34129
34019
|
"return": {
|
34130
34020
|
"type": {
|
34131
|
-
"text": "
|
34021
|
+
"text": "boolean"
|
34132
34022
|
}
|
34133
34023
|
},
|
34134
|
-
"
|
34135
|
-
|
34136
|
-
|
34137
|
-
|
34138
|
-
"text": "MouseEvent"
|
34139
|
-
},
|
34140
|
-
"description": "The event which triggered this function."
|
34141
|
-
}
|
34142
|
-
],
|
34143
|
-
"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
|
+
}
|
34144
34028
|
},
|
34145
34029
|
{
|
34146
34030
|
"kind": "method",
|
34147
|
-
"name": "
|
34148
|
-
"
|
34149
|
-
|
34150
|
-
"
|
34151
|
-
|
34152
|
-
}
|
34153
|
-
},
|
34154
|
-
"parameters": [
|
34155
|
-
{
|
34156
|
-
"name": "option",
|
34157
|
-
"type": {
|
34158
|
-
"text": "Option | null"
|
34159
|
-
},
|
34160
|
-
"description": "The option element in DOM which gets selected."
|
34161
|
-
}
|
34162
|
-
],
|
34163
|
-
"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
|
+
}
|
34164
34036
|
},
|
34165
34037
|
{
|
34166
|
-
"kind": "
|
34167
|
-
"name": "
|
34168
|
-
"
|
34169
|
-
|
34170
|
-
"type": {
|
34171
|
-
"text": "void"
|
34172
|
-
}
|
34038
|
+
"kind": "field",
|
34039
|
+
"name": "dataAriaLabel",
|
34040
|
+
"type": {
|
34041
|
+
"text": "string | null"
|
34173
34042
|
},
|
34174
|
-
"
|
34175
|
-
|
34176
|
-
|
34177
|
-
|
34178
|
-
|
34179
|
-
|
34180
|
-
|
34181
|
-
|
34182
|
-
}
|
34183
|
-
],
|
34184
|
-
"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
|
+
}
|
34185
34051
|
},
|
34186
34052
|
{
|
34187
|
-
"kind": "
|
34188
|
-
"name": "
|
34189
|
-
"
|
34190
|
-
|
34191
|
-
"type": {
|
34192
|
-
"text": "void"
|
34193
|
-
}
|
34053
|
+
"kind": "field",
|
34054
|
+
"name": "placeholder",
|
34055
|
+
"type": {
|
34056
|
+
"text": "string"
|
34194
34057
|
},
|
34195
|
-
"
|
34196
|
-
|
34197
|
-
|
34198
|
-
|
34199
|
-
|
34200
|
-
|
34201
|
-
|
34202
|
-
}
|
34203
|
-
],
|
34204
|
-
"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
|
+
}
|
34205
34065
|
},
|
34206
34066
|
{
|
34207
|
-
"kind": "
|
34208
|
-
"name": "
|
34209
|
-
"
|
34210
|
-
|
34211
|
-
"type": {
|
34212
|
-
"text": "void"
|
34213
|
-
}
|
34067
|
+
"kind": "field",
|
34068
|
+
"name": "readonly",
|
34069
|
+
"type": {
|
34070
|
+
"text": "boolean"
|
34214
34071
|
},
|
34215
|
-
"
|
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
|
+
}
|
34216
34079
|
},
|
34217
34080
|
{
|
34218
|
-
"kind": "
|
34219
|
-
"name": "
|
34220
|
-
"
|
34221
|
-
|
34222
|
-
"type": {
|
34223
|
-
"text": "void"
|
34224
|
-
}
|
34081
|
+
"kind": "field",
|
34082
|
+
"name": "prefixText",
|
34083
|
+
"type": {
|
34084
|
+
"text": "string | undefined"
|
34225
34085
|
},
|
34226
|
-
"
|
34227
|
-
|
34228
|
-
|
34229
|
-
|
34230
|
-
|
34231
|
-
|
34232
|
-
}
|
34233
|
-
]
|
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
|
+
}
|
34234
34092
|
},
|
34235
34093
|
{
|
34236
|
-
"kind": "
|
34237
|
-
"name": "
|
34238
|
-
"
|
34239
|
-
|
34240
|
-
"type": {
|
34241
|
-
"text": "void"
|
34242
|
-
}
|
34094
|
+
"kind": "field",
|
34095
|
+
"name": "leadingIcon",
|
34096
|
+
"type": {
|
34097
|
+
"text": "IconNames | undefined"
|
34243
34098
|
},
|
34244
|
-
"
|
34245
|
-
|
34246
|
-
|
34247
|
-
|
34248
|
-
|
34249
|
-
|
34250
|
-
}
|
34251
|
-
]
|
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
|
+
}
|
34252
34105
|
},
|
34253
34106
|
{
|
34254
|
-
"kind": "
|
34255
|
-
"name": "
|
34256
|
-
"
|
34257
|
-
|
34258
|
-
"type": {
|
34259
|
-
"text": "void"
|
34260
|
-
}
|
34107
|
+
"kind": "field",
|
34108
|
+
"name": "trailingButton",
|
34109
|
+
"type": {
|
34110
|
+
"text": "boolean"
|
34261
34111
|
},
|
34262
|
-
"
|
34263
|
-
|
34264
|
-
|
34265
|
-
|
34266
|
-
|
34267
|
-
|
34268
|
-
|
34269
|
-
}
|
34270
|
-
],
|
34271
|
-
"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
|
+
}
|
34272
34119
|
},
|
34273
34120
|
{
|
34274
|
-
"kind": "
|
34275
|
-
"name": "
|
34276
|
-
"
|
34277
|
-
|
34278
|
-
"type": {
|
34279
|
-
"text": "void"
|
34280
|
-
}
|
34121
|
+
"kind": "field",
|
34122
|
+
"name": "maxlength",
|
34123
|
+
"type": {
|
34124
|
+
"text": "number | undefined"
|
34281
34125
|
},
|
34282
|
-
"
|
34283
|
-
|
34284
|
-
|
34285
|
-
|
34286
|
-
|
34287
|
-
|
34288
|
-
"description": "The keyboard event."
|
34289
|
-
}
|
34290
|
-
],
|
34291
|
-
"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
|
+
}
|
34292
34132
|
},
|
34293
34133
|
{
|
34294
|
-
"kind": "
|
34295
|
-
"name": "
|
34296
|
-
"
|
34297
|
-
|
34298
|
-
"type": {
|
34299
|
-
"text": "void"
|
34300
|
-
}
|
34134
|
+
"kind": "field",
|
34135
|
+
"name": "minlength",
|
34136
|
+
"type": {
|
34137
|
+
"text": "number | undefined"
|
34301
34138
|
},
|
34302
|
-
"
|
34303
|
-
|
34304
|
-
|
34305
|
-
|
34306
|
-
|
34307
|
-
|
34308
|
-
"description": "The keyboard event."
|
34309
|
-
}
|
34310
|
-
],
|
34311
|
-
"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
|
+
}
|
34312
34145
|
},
|
34313
34146
|
{
|
34314
|
-
"kind": "
|
34315
|
-
"name": "
|
34316
|
-
"
|
34317
|
-
|
34318
|
-
"type": {
|
34319
|
-
"text": "void"
|
34320
|
-
}
|
34147
|
+
"kind": "field",
|
34148
|
+
"name": "autocapitalize",
|
34149
|
+
"type": {
|
34150
|
+
"text": "AutoCapitalizeType"
|
34321
34151
|
},
|
34322
|
-
"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
|
+
}
|
34323
34159
|
},
|
34324
34160
|
{
|
34325
34161
|
"kind": "field",
|
34326
|
-
"name": "
|
34162
|
+
"name": "autocomplete",
|
34327
34163
|
"type": {
|
34328
|
-
"text": "
|
34164
|
+
"text": "AutoCompleteType"
|
34329
34165
|
},
|
34330
|
-
"
|
34331
|
-
"
|
34332
|
-
"attribute": "
|
34333
|
-
"reflects": true,
|
34166
|
+
"description": "The autocomplete attribute of the input field.",
|
34167
|
+
"default": "'off'",
|
34168
|
+
"attribute": "autocomplete",
|
34334
34169
|
"inheritedFrom": {
|
34335
|
-
"name": "
|
34336
|
-
"module": "
|
34170
|
+
"name": "Input",
|
34171
|
+
"module": "components/input/input.component.js"
|
34337
34172
|
}
|
34338
34173
|
},
|
34339
34174
|
{
|
34340
34175
|
"kind": "field",
|
34341
|
-
"name": "
|
34176
|
+
"name": "dirname",
|
34342
34177
|
"type": {
|
34343
|
-
"text": "string"
|
34178
|
+
"text": "string | undefined"
|
34344
34179
|
},
|
34345
|
-
"
|
34346
|
-
"
|
34347
|
-
"attribute": "name",
|
34348
|
-
"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",
|
34349
34182
|
"inheritedFrom": {
|
34350
|
-
"name": "
|
34351
|
-
"module": "
|
34183
|
+
"name": "Input",
|
34184
|
+
"module": "components/input/input.component.js"
|
34352
34185
|
}
|
34353
34186
|
},
|
34354
34187
|
{
|
34355
34188
|
"kind": "field",
|
34356
|
-
"name": "
|
34189
|
+
"name": "pattern",
|
34357
34190
|
"type": {
|
34358
|
-
"text": "string"
|
34191
|
+
"text": "string | undefined"
|
34359
34192
|
},
|
34360
|
-
"
|
34361
|
-
"
|
34362
|
-
"attribute": "value",
|
34363
|
-
"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",
|
34364
34195
|
"inheritedFrom": {
|
34365
|
-
"name": "
|
34366
|
-
"module": "
|
34196
|
+
"name": "Input",
|
34197
|
+
"module": "components/input/input.component.js"
|
34367
34198
|
}
|
34368
34199
|
},
|
34369
34200
|
{
|
34370
34201
|
"kind": "field",
|
34371
|
-
"name": "
|
34202
|
+
"name": "list",
|
34372
34203
|
"type": {
|
34373
34204
|
"text": "string | undefined"
|
34374
34205
|
},
|
34375
|
-
"description": "
|
34376
|
-
"attribute": "
|
34377
|
-
"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",
|
34378
34208
|
"inheritedFrom": {
|
34379
|
-
"name": "
|
34380
|
-
"module": "
|
34209
|
+
"name": "Input",
|
34210
|
+
"module": "components/input/input.component.js"
|
34381
34211
|
}
|
34382
34212
|
},
|
34383
34213
|
{
|
34384
34214
|
"kind": "field",
|
34385
|
-
"name": "
|
34215
|
+
"name": "size",
|
34386
34216
|
"type": {
|
34387
|
-
"text": "
|
34217
|
+
"text": "number | undefined | undefined"
|
34388
34218
|
},
|
34389
|
-
"
|
34219
|
+
"description": "The size attribute of the input field.\nSpecifies the width of the input field.",
|
34220
|
+
"default": "undefined",
|
34221
|
+
"attribute": "size",
|
34390
34222
|
"inheritedFrom": {
|
34391
|
-
"name": "
|
34392
|
-
"module": "
|
34223
|
+
"name": "Input",
|
34224
|
+
"module": "components/input/input.component.js"
|
34393
34225
|
}
|
34394
34226
|
},
|
34395
34227
|
{
|
34396
34228
|
"kind": "field",
|
34397
|
-
"name": "
|
34398
|
-
"
|
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",
|
34399
34236
|
"inheritedFrom": {
|
34400
|
-
"name": "
|
34401
|
-
"module": "
|
34237
|
+
"name": "Input",
|
34238
|
+
"module": "components/input/input.component.js"
|
34402
34239
|
}
|
34403
34240
|
},
|
34404
34241
|
{
|
34405
34242
|
"kind": "method",
|
34406
|
-
"name": "
|
34407
|
-
"
|
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.",
|
34408
34255
|
"return": {
|
34409
34256
|
"type": {
|
34410
34257
|
"text": ""
|
34411
34258
|
}
|
34412
34259
|
},
|
34413
34260
|
"inheritedFrom": {
|
34414
|
-
"name": "
|
34415
|
-
"module": "
|
34261
|
+
"name": "Input",
|
34262
|
+
"module": "components/input/input.component.js"
|
34416
34263
|
}
|
34417
34264
|
},
|
34418
34265
|
{
|
34419
34266
|
"kind": "method",
|
34420
|
-
"name": "
|
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.",
|
34421
34299
|
"return": {
|
34422
34300
|
"type": {
|
34423
|
-
"text": "
|
34301
|
+
"text": ""
|
34424
34302
|
}
|
34425
34303
|
},
|
34426
34304
|
"inheritedFrom": {
|
34427
|
-
"name": "
|
34428
|
-
"module": "
|
34305
|
+
"name": "Input",
|
34306
|
+
"module": "components/input/input.component.js"
|
34429
34307
|
}
|
34430
34308
|
},
|
34431
34309
|
{
|
34432
34310
|
"kind": "method",
|
34433
|
-
"name": "
|
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.",
|
34314
|
+
"return": {
|
34315
|
+
"type": {
|
34316
|
+
"text": ""
|
34317
|
+
}
|
34318
|
+
},
|
34434
34319
|
"inheritedFrom": {
|
34435
|
-
"name": "
|
34436
|
-
"module": "
|
34320
|
+
"name": "Input",
|
34321
|
+
"module": "components/input/input.component.js"
|
34437
34322
|
}
|
34438
34323
|
},
|
34439
34324
|
{
|
34440
|
-
"kind": "
|
34441
|
-
"name": "
|
34442
|
-
"
|
34443
|
-
|
34325
|
+
"kind": "method",
|
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.",
|
34335
|
+
"return": {
|
34336
|
+
"type": {
|
34337
|
+
"text": ""
|
34338
|
+
}
|
34444
34339
|
},
|
34445
|
-
"default": "null",
|
34446
|
-
"description": "Defines a string value that labels the current element.\nThe Aria-Label attribute to be set for accessibility.",
|
34447
|
-
"attribute": "data-aria-label",
|
34448
|
-
"reflects": true,
|
34449
34340
|
"inheritedFrom": {
|
34450
|
-
"name": "
|
34451
|
-
"module": "
|
34341
|
+
"name": "Input",
|
34342
|
+
"module": "components/input/input.component.js"
|
34343
|
+
}
|
34344
|
+
},
|
34345
|
+
{
|
34346
|
+
"kind": "method",
|
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
|
+
],
|
34361
|
+
"inheritedFrom": {
|
34362
|
+
"name": "Input",
|
34363
|
+
"module": "components/input/input.component.js"
|
34452
34364
|
}
|
34453
34365
|
},
|
34454
34366
|
{
|
@@ -34644,45 +34556,147 @@
|
|
34644
34556
|
],
|
34645
34557
|
"events": [
|
34646
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).",
|
34647
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",
|
34648
34596
|
"type": {
|
34649
34597
|
"text": "CustomEvent"
|
34650
34598
|
},
|
34651
|
-
"description": "(React:
|
34652
|
-
"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
|
+
}
|
34653
34605
|
},
|
34654
34606
|
{
|
34655
|
-
"name": "input",
|
34656
34607
|
"type": {
|
34657
|
-
"text": "
|
34608
|
+
"text": "EventConstructor"
|
34658
34609
|
},
|
34659
|
-
"
|
34660
|
-
|
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
|
+
}
|
34661
34636
|
},
|
34662
34637
|
{
|
34663
|
-
"
|
34664
|
-
"
|
34665
|
-
|
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
|
+
}
|
34666
34649
|
},
|
34667
34650
|
{
|
34668
|
-
"
|
34669
|
-
"
|
34670
|
-
|
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
|
+
}
|
34671
34662
|
},
|
34672
34663
|
{
|
34673
|
-
"
|
34674
|
-
"
|
34675
|
-
|
34676
|
-
|
34677
|
-
|
34678
|
-
|
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
|
+
},
|
34679
34688
|
{
|
34680
34689
|
"name": "placeholder",
|
34681
34690
|
"type": {
|
34682
|
-
"text": "string
|
34691
|
+
"text": "string"
|
34683
34692
|
},
|
34684
|
-
"
|
34685
|
-
"
|
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
|
+
}
|
34686
34700
|
},
|
34687
34701
|
{
|
34688
34702
|
"name": "readonly",
|
@@ -34690,123 +34704,160 @@
|
|
34690
34704
|
"text": "boolean"
|
34691
34705
|
},
|
34692
34706
|
"default": "false",
|
34693
|
-
"description": "readonly attribute of the
|
34694
|
-
"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
|
+
}
|
34695
34713
|
},
|
34696
34714
|
{
|
34697
|
-
"name": "
|
34715
|
+
"name": "prefix-text",
|
34698
34716
|
"type": {
|
34699
|
-
"text": "
|
34717
|
+
"text": "string | undefined"
|
34700
34718
|
},
|
34701
|
-
"description": "The
|
34702
|
-
"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
|
+
}
|
34703
34725
|
},
|
34704
34726
|
{
|
34705
|
-
"name": "
|
34727
|
+
"name": "leading-icon",
|
34706
34728
|
"type": {
|
34707
|
-
"text": "
|
34729
|
+
"text": "IconNames | undefined"
|
34708
34730
|
},
|
34709
|
-
"description": "
|
34710
|
-
"
|
34711
|
-
"
|
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
|
+
}
|
34712
34737
|
},
|
34713
34738
|
{
|
34714
|
-
"name": "
|
34739
|
+
"name": "trailing-button",
|
34715
34740
|
"type": {
|
34716
|
-
"text": "
|
34741
|
+
"text": "boolean"
|
34717
34742
|
},
|
34718
|
-
"
|
34719
|
-
"
|
34720
|
-
"fieldName": "
|
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
|
+
}
|
34721
34750
|
},
|
34722
34751
|
{
|
34723
|
-
"name": "
|
34752
|
+
"name": "maxlength",
|
34724
34753
|
"type": {
|
34725
|
-
"text": "
|
34754
|
+
"text": "number | undefined"
|
34726
34755
|
},
|
34727
|
-
"description": "The
|
34728
|
-
"
|
34729
|
-
"
|
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
|
+
}
|
34730
34762
|
},
|
34731
34763
|
{
|
34732
|
-
"name": "
|
34764
|
+
"name": "minlength",
|
34733
34765
|
"type": {
|
34734
|
-
"text": "number"
|
34766
|
+
"text": "number | undefined"
|
34735
34767
|
},
|
34736
|
-
"description": "The
|
34737
|
-
"
|
34738
|
-
"
|
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
|
+
}
|
34739
34774
|
},
|
34740
34775
|
{
|
34741
|
-
"name": "
|
34776
|
+
"name": "autocapitalize",
|
34742
34777
|
"type": {
|
34743
|
-
"text": "
|
34778
|
+
"text": "AutoCapitalizeType"
|
34744
34779
|
},
|
34745
|
-
"description": "
|
34746
|
-
"
|
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
|
+
}
|
34747
34787
|
},
|
34748
34788
|
{
|
34749
|
-
"name": "
|
34789
|
+
"name": "autocomplete",
|
34750
34790
|
"type": {
|
34751
|
-
"text": "
|
34791
|
+
"text": "AutoCompleteType"
|
34752
34792
|
},
|
34753
|
-
"
|
34754
|
-
"
|
34755
|
-
"fieldName": "
|
34793
|
+
"description": "The autocomplete attribute of the input field.",
|
34794
|
+
"default": "'off'",
|
34795
|
+
"fieldName": "autocomplete",
|
34756
34796
|
"inheritedFrom": {
|
34757
|
-
"name": "
|
34758
|
-
"module": "src/
|
34797
|
+
"name": "Input",
|
34798
|
+
"module": "src/components/input/input.component.ts"
|
34759
34799
|
}
|
34760
34800
|
},
|
34761
34801
|
{
|
34762
|
-
"name": "
|
34802
|
+
"name": "dirname",
|
34763
34803
|
"type": {
|
34764
|
-
"text": "string"
|
34804
|
+
"text": "string | undefined"
|
34765
34805
|
},
|
34766
|
-
"
|
34767
|
-
"
|
34768
|
-
"fieldName": "name",
|
34806
|
+
"description": "Specifies the name of the directionality of text for submission purposes (e.g., \"rtl\" for right-to-left).",
|
34807
|
+
"fieldName": "dirname",
|
34769
34808
|
"inheritedFrom": {
|
34770
|
-
"name": "
|
34771
|
-
"module": "src/
|
34809
|
+
"name": "Input",
|
34810
|
+
"module": "src/components/input/input.component.ts"
|
34772
34811
|
}
|
34773
34812
|
},
|
34774
34813
|
{
|
34775
|
-
"name": "
|
34814
|
+
"name": "pattern",
|
34776
34815
|
"type": {
|
34777
|
-
"text": "string"
|
34816
|
+
"text": "string | undefined"
|
34778
34817
|
},
|
34779
|
-
"
|
34780
|
-
"
|
34781
|
-
"fieldName": "value",
|
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",
|
34782
34820
|
"inheritedFrom": {
|
34783
|
-
"name": "
|
34784
|
-
"module": "src/
|
34821
|
+
"name": "Input",
|
34822
|
+
"module": "src/components/input/input.component.ts"
|
34785
34823
|
}
|
34786
34824
|
},
|
34787
34825
|
{
|
34788
|
-
"name": "
|
34826
|
+
"name": "list",
|
34789
34827
|
"type": {
|
34790
34828
|
"text": "string | undefined"
|
34791
34829
|
},
|
34792
|
-
"description": "
|
34793
|
-
"fieldName": "
|
34830
|
+
"description": "The list attribute of the input field.\nIdentifies a list of pre-defined options to suggest to the user.",
|
34831
|
+
"fieldName": "list",
|
34794
34832
|
"inheritedFrom": {
|
34795
|
-
"name": "
|
34796
|
-
"module": "src/
|
34833
|
+
"name": "Input",
|
34834
|
+
"module": "src/components/input/input.component.ts"
|
34797
34835
|
}
|
34798
34836
|
},
|
34799
34837
|
{
|
34800
|
-
"name": "
|
34838
|
+
"name": "size",
|
34801
34839
|
"type": {
|
34802
|
-
"text": "
|
34840
|
+
"text": "number | undefined | undefined"
|
34803
34841
|
},
|
34804
|
-
"
|
34805
|
-
"
|
34806
|
-
"fieldName": "
|
34842
|
+
"description": "The size attribute of the input field.\nSpecifies the width of the input field.",
|
34843
|
+
"default": "undefined",
|
34844
|
+
"fieldName": "size",
|
34807
34845
|
"inheritedFrom": {
|
34808
|
-
"name": "
|
34809
|
-
"module": "src/
|
34846
|
+
"name": "Input",
|
34847
|
+
"module": "src/components/input/input.component.ts"
|
34848
|
+
}
|
34849
|
+
},
|
34850
|
+
{
|
34851
|
+
"name": "clear-aria-label",
|
34852
|
+
"type": {
|
34853
|
+
"text": "string"
|
34854
|
+
},
|
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",
|
34858
|
+
"inheritedFrom": {
|
34859
|
+
"name": "Input",
|
34860
|
+
"module": "src/components/input/input.component.ts"
|
34810
34861
|
}
|
34811
34862
|
},
|
34812
34863
|
{
|
@@ -34909,27 +34960,136 @@
|
|
34909
34960
|
}
|
34910
34961
|
}
|
34911
34962
|
],
|
34912
|
-
"
|
34963
|
+
"cssProperties": [
|
34913
34964
|
{
|
34914
|
-
"
|
34915
|
-
"
|
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
|
+
}
|
34916
34971
|
},
|
34917
34972
|
{
|
34918
|
-
"
|
34919
|
-
"
|
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
|
+
}
|
34920
34979
|
},
|
34921
34980
|
{
|
34922
|
-
"
|
34923
|
-
"
|
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
|
+
}
|
34924
35091
|
}
|
34925
|
-
]
|
34926
|
-
"superclass": {
|
34927
|
-
"name": "FormfieldWrapper",
|
34928
|
-
"module": "/src/components/formfieldwrapper/formfieldwrapper.component"
|
34929
|
-
},
|
34930
|
-
"tagName": "mdc-select",
|
34931
|
-
"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 */",
|
34932
|
-
"customElement": true
|
35092
|
+
]
|
34933
35093
|
}
|
34934
35094
|
],
|
34935
35095
|
"exports": [
|
@@ -34937,8 +35097,8 @@
|
|
34937
35097
|
"kind": "js",
|
34938
35098
|
"name": "default",
|
34939
35099
|
"declaration": {
|
34940
|
-
"name": "
|
34941
|
-
"module": "components/
|
35100
|
+
"name": "Searchfield",
|
35101
|
+
"module": "components/searchfield/searchfield.component.js"
|
34942
35102
|
}
|
34943
35103
|
}
|
34944
35104
|
]
|
@@ -38239,6 +38399,90 @@
|
|
38239
38399
|
}
|
38240
38400
|
]
|
38241
38401
|
},
|
38402
|
+
{
|
38403
|
+
"kind": "javascript-module",
|
38404
|
+
"path": "components/text/text.component.js",
|
38405
|
+
"declarations": [
|
38406
|
+
{
|
38407
|
+
"kind": "class",
|
38408
|
+
"description": "Text component for creating styled text elements.\nIt has to be mounted within the ThemeProvider to access color and font tokens.\n\nThe `type` attribute allows changing the text style.\nThe `tagname` attribute allows changing the tag name of the text element.\nThe default tag name is `p`.\n\nThe `tagname` attribute should be a valid HTML tag name.\nIf the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n\nThe styling is applied based on the `type` attribute.",
|
38409
|
+
"name": "Text",
|
38410
|
+
"cssParts": [
|
38411
|
+
{
|
38412
|
+
"description": "The text element",
|
38413
|
+
"name": "text"
|
38414
|
+
}
|
38415
|
+
],
|
38416
|
+
"slots": [
|
38417
|
+
{
|
38418
|
+
"description": "Default slot for text content",
|
38419
|
+
"name": ""
|
38420
|
+
}
|
38421
|
+
],
|
38422
|
+
"members": [
|
38423
|
+
{
|
38424
|
+
"kind": "field",
|
38425
|
+
"name": "type",
|
38426
|
+
"type": {
|
38427
|
+
"text": "TextType"
|
38428
|
+
},
|
38429
|
+
"privacy": "public",
|
38430
|
+
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
38431
|
+
"default": "body-midsize-medium",
|
38432
|
+
"attribute": "type",
|
38433
|
+
"reflects": true
|
38434
|
+
},
|
38435
|
+
{
|
38436
|
+
"kind": "field",
|
38437
|
+
"name": "tagname",
|
38438
|
+
"type": {
|
38439
|
+
"text": "TagName | undefined"
|
38440
|
+
},
|
38441
|
+
"privacy": "public",
|
38442
|
+
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
|
38443
|
+
"attribute": "tagname",
|
38444
|
+
"reflects": true
|
38445
|
+
}
|
38446
|
+
],
|
38447
|
+
"attributes": [
|
38448
|
+
{
|
38449
|
+
"name": "type",
|
38450
|
+
"type": {
|
38451
|
+
"text": "TextType"
|
38452
|
+
},
|
38453
|
+
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
38454
|
+
"default": "body-midsize-medium",
|
38455
|
+
"fieldName": "type"
|
38456
|
+
},
|
38457
|
+
{
|
38458
|
+
"name": "tagname",
|
38459
|
+
"type": {
|
38460
|
+
"text": "TagName | undefined"
|
38461
|
+
},
|
38462
|
+
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
|
38463
|
+
"fieldName": "tagname"
|
38464
|
+
}
|
38465
|
+
],
|
38466
|
+
"superclass": {
|
38467
|
+
"name": "Component",
|
38468
|
+
"module": "/src/models"
|
38469
|
+
},
|
38470
|
+
"tagName": "mdc-text",
|
38471
|
+
"jsDoc": "/**\n * Text component for creating styled text elements.\n * It has to be mounted within the ThemeProvider to access color and font tokens.\n *\n * The `type` attribute allows changing the text style.\n * The `tagname` attribute allows changing the tag name of the text element.\n * The default tag name is `p`.\n *\n * The `tagname` attribute should be a valid HTML tag name.\n * If the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n *\n * The styling is applied based on the `type` attribute.\n *\n * @tagname mdc-text\n * @slot - Default slot for text content\n *\n * @csspart text - The text element\n */",
|
38472
|
+
"customElement": true
|
38473
|
+
}
|
38474
|
+
],
|
38475
|
+
"exports": [
|
38476
|
+
{
|
38477
|
+
"kind": "js",
|
38478
|
+
"name": "default",
|
38479
|
+
"declaration": {
|
38480
|
+
"name": "Text",
|
38481
|
+
"module": "components/text/text.component.js"
|
38482
|
+
}
|
38483
|
+
}
|
38484
|
+
]
|
38485
|
+
},
|
38242
38486
|
{
|
38243
38487
|
"kind": "javascript-module",
|
38244
38488
|
"path": "components/textarea/textarea.component.js",
|
@@ -40359,90 +40603,6 @@
|
|
40359
40603
|
}
|
40360
40604
|
]
|
40361
40605
|
},
|
40362
|
-
{
|
40363
|
-
"kind": "javascript-module",
|
40364
|
-
"path": "components/text/text.component.js",
|
40365
|
-
"declarations": [
|
40366
|
-
{
|
40367
|
-
"kind": "class",
|
40368
|
-
"description": "Text component for creating styled text elements.\nIt has to be mounted within the ThemeProvider to access color and font tokens.\n\nThe `type` attribute allows changing the text style.\nThe `tagname` attribute allows changing the tag name of the text element.\nThe default tag name is `p`.\n\nThe `tagname` attribute should be a valid HTML tag name.\nIf the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n\nThe styling is applied based on the `type` attribute.",
|
40369
|
-
"name": "Text",
|
40370
|
-
"cssParts": [
|
40371
|
-
{
|
40372
|
-
"description": "The text element",
|
40373
|
-
"name": "text"
|
40374
|
-
}
|
40375
|
-
],
|
40376
|
-
"slots": [
|
40377
|
-
{
|
40378
|
-
"description": "Default slot for text content",
|
40379
|
-
"name": ""
|
40380
|
-
}
|
40381
|
-
],
|
40382
|
-
"members": [
|
40383
|
-
{
|
40384
|
-
"kind": "field",
|
40385
|
-
"name": "type",
|
40386
|
-
"type": {
|
40387
|
-
"text": "TextType"
|
40388
|
-
},
|
40389
|
-
"privacy": "public",
|
40390
|
-
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
40391
|
-
"default": "body-midsize-medium",
|
40392
|
-
"attribute": "type",
|
40393
|
-
"reflects": true
|
40394
|
-
},
|
40395
|
-
{
|
40396
|
-
"kind": "field",
|
40397
|
-
"name": "tagname",
|
40398
|
-
"type": {
|
40399
|
-
"text": "TagName | undefined"
|
40400
|
-
},
|
40401
|
-
"privacy": "public",
|
40402
|
-
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
|
40403
|
-
"attribute": "tagname",
|
40404
|
-
"reflects": true
|
40405
|
-
}
|
40406
|
-
],
|
40407
|
-
"attributes": [
|
40408
|
-
{
|
40409
|
-
"name": "type",
|
40410
|
-
"type": {
|
40411
|
-
"text": "TextType"
|
40412
|
-
},
|
40413
|
-
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
40414
|
-
"default": "body-midsize-medium",
|
40415
|
-
"fieldName": "type"
|
40416
|
-
},
|
40417
|
-
{
|
40418
|
-
"name": "tagname",
|
40419
|
-
"type": {
|
40420
|
-
"text": "TagName | undefined"
|
40421
|
-
},
|
40422
|
-
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the text element.\n\nAcceptable values include:\n\n- 'h1'\n- 'h2'\n- 'h3'\n- 'h4'\n- 'h5'\n- 'h6'\n- 'p'\n- 'small'\n- 'span'\n- 'div'\n\nFor instance, setting this attribute to `h2` will render the text element as an `h2` element.\nNote that the styling is determined by the `type` attribute.",
|
40423
|
-
"fieldName": "tagname"
|
40424
|
-
}
|
40425
|
-
],
|
40426
|
-
"superclass": {
|
40427
|
-
"name": "Component",
|
40428
|
-
"module": "/src/models"
|
40429
|
-
},
|
40430
|
-
"tagName": "mdc-text",
|
40431
|
-
"jsDoc": "/**\n * Text component for creating styled text elements.\n * It has to be mounted within the ThemeProvider to access color and font tokens.\n *\n * The `type` attribute allows changing the text style.\n * The `tagname` attribute allows changing the tag name of the text element.\n * The default tag name is `p`.\n *\n * The `tagname` attribute should be a valid HTML tag name.\n * If the `tagname` attribute is not a valid HTML tag name, the default tag name will be used.\n *\n * The styling is applied based on the `type` attribute.\n *\n * @tagname mdc-text\n * @slot - Default slot for text content\n *\n * @csspart text - The text element\n */",
|
40432
|
-
"customElement": true
|
40433
|
-
}
|
40434
|
-
],
|
40435
|
-
"exports": [
|
40436
|
-
{
|
40437
|
-
"kind": "js",
|
40438
|
-
"name": "default",
|
40439
|
-
"declaration": {
|
40440
|
-
"name": "Text",
|
40441
|
-
"module": "components/text/text.component.js"
|
40442
|
-
}
|
40443
|
-
}
|
40444
|
-
]
|
40445
|
-
},
|
40446
40606
|
{
|
40447
40607
|
"kind": "javascript-module",
|
40448
40608
|
"path": "components/toggletip/toggletip.component.js",
|