@momentum-design/components 0.53.1 → 0.53.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +179 -145
- package/dist/browser/index.js.map +3 -3
- package/dist/components/button/button.component.d.ts +0 -2
- package/dist/components/button/button.component.js +1 -10
- package/dist/components/button/button.styles.js +27 -0
- package/dist/components/button/button.utils.d.ts +1 -9
- package/dist/components/button/button.utils.js +1 -16
- package/dist/components/filterchip/index.d.ts +2 -0
- package/dist/components/filterchip/index.js +2 -0
- package/dist/components/formfieldwrapper/formfieldwrapper.styles.js +6 -2
- package/dist/components/input/input.component.d.ts +4 -4
- package/dist/components/input/input.component.js +8 -6
- package/dist/components/input/input.styles.js +5 -1
- package/dist/components/progressbar/progressbar.styles.js +1 -0
- package/dist/components/searchfield/searchfield.component.d.ts +12 -0
- package/dist/components/searchfield/searchfield.component.js +34 -4
- package/dist/components/searchfield/searchfield.constants.d.ts +1 -0
- package/dist/components/searchfield/searchfield.constants.js +2 -0
- package/dist/components/searchfield/searchfield.styles.js +2 -2
- package/dist/components/textarea/textarea.styles.js +1 -1
- package/dist/custom-elements.json +250 -230
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +1 -1
- package/package.json +1 -1
@@ -7585,7 +7585,7 @@
|
|
7585
7585
|
{
|
7586
7586
|
"kind": "method",
|
7587
7587
|
"name": "handleKeyDown",
|
7588
|
-
"privacy": "
|
7588
|
+
"privacy": "protected",
|
7589
7589
|
"parameters": [
|
7590
7590
|
{
|
7591
7591
|
"name": "event",
|
@@ -7622,13 +7622,19 @@
|
|
7622
7622
|
{
|
7623
7623
|
"kind": "method",
|
7624
7624
|
"name": "clearInputText",
|
7625
|
-
"privacy": "
|
7625
|
+
"privacy": "protected",
|
7626
7626
|
"description": "Clears the input field."
|
7627
7627
|
},
|
7628
7628
|
{
|
7629
7629
|
"kind": "method",
|
7630
7630
|
"name": "renderTrailingButton",
|
7631
7631
|
"privacy": "protected",
|
7632
|
+
"parameters": [
|
7633
|
+
{
|
7634
|
+
"name": "show",
|
7635
|
+
"default": "false"
|
7636
|
+
}
|
7637
|
+
],
|
7632
7638
|
"description": "Renders the trailing button to clear the input field if the trailingButton is set to true.",
|
7633
7639
|
"return": {
|
7634
7640
|
"type": {
|
@@ -7646,6 +7652,10 @@
|
|
7646
7652
|
"type": {
|
7647
7653
|
"text": "InputType"
|
7648
7654
|
}
|
7655
|
+
},
|
7656
|
+
{
|
7657
|
+
"name": "hidePlaceholder",
|
7658
|
+
"default": "false"
|
7649
7659
|
}
|
7650
7660
|
]
|
7651
7661
|
},
|
@@ -8256,6 +8266,205 @@
|
|
8256
8266
|
}
|
8257
8267
|
]
|
8258
8268
|
},
|
8269
|
+
{
|
8270
|
+
"kind": "javascript-module",
|
8271
|
+
"path": "components/inputchip/inputchip.component.js",
|
8272
|
+
"declarations": [
|
8273
|
+
{
|
8274
|
+
"kind": "class",
|
8275
|
+
"description": "mdc-inputchip component is an interactive chip that consumers can use to represent an input.\n\n- It supports a leading icon along with label.\n- It supports an error state for validation.\n- It supports a close button to remove the chip.",
|
8276
|
+
"name": "InputChip",
|
8277
|
+
"cssProperties": [
|
8278
|
+
{
|
8279
|
+
"description": "The color of the chip.",
|
8280
|
+
"name": "--mdc-chip-color"
|
8281
|
+
},
|
8282
|
+
{
|
8283
|
+
"description": "The border color of the chip.",
|
8284
|
+
"name": "--mdc-chip-border-color"
|
8285
|
+
},
|
8286
|
+
{
|
8287
|
+
"description": "The background color of the chip.",
|
8288
|
+
"name": "--mdc-chip-background-color"
|
8289
|
+
}
|
8290
|
+
],
|
8291
|
+
"members": [
|
8292
|
+
{
|
8293
|
+
"kind": "field",
|
8294
|
+
"name": "label",
|
8295
|
+
"type": {
|
8296
|
+
"text": "string"
|
8297
|
+
},
|
8298
|
+
"default": "''",
|
8299
|
+
"description": "The label of the inputchip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
|
8300
|
+
"attribute": "label"
|
8301
|
+
},
|
8302
|
+
{
|
8303
|
+
"kind": "field",
|
8304
|
+
"name": "error",
|
8305
|
+
"type": {
|
8306
|
+
"text": "boolean"
|
8307
|
+
},
|
8308
|
+
"default": "false",
|
8309
|
+
"description": "The error state of the inputchip.",
|
8310
|
+
"attribute": "error"
|
8311
|
+
},
|
8312
|
+
{
|
8313
|
+
"kind": "field",
|
8314
|
+
"name": "clearAriaLabel",
|
8315
|
+
"type": {
|
8316
|
+
"text": "string"
|
8317
|
+
},
|
8318
|
+
"default": "''",
|
8319
|
+
"description": "The aria-label of the close button.",
|
8320
|
+
"attribute": "clear-aria-label"
|
8321
|
+
},
|
8322
|
+
{
|
8323
|
+
"kind": "method",
|
8324
|
+
"name": "renderIcon",
|
8325
|
+
"privacy": "private",
|
8326
|
+
"description": "Renders the icon element if available.",
|
8327
|
+
"return": {
|
8328
|
+
"type": {
|
8329
|
+
"text": ""
|
8330
|
+
}
|
8331
|
+
}
|
8332
|
+
},
|
8333
|
+
{
|
8334
|
+
"kind": "method",
|
8335
|
+
"name": "handleClose",
|
8336
|
+
"privacy": "private",
|
8337
|
+
"description": "Handles the behavior of the close button on click event.",
|
8338
|
+
"parameters": [
|
8339
|
+
{
|
8340
|
+
"description": "The event object.",
|
8341
|
+
"name": "event"
|
8342
|
+
}
|
8343
|
+
]
|
8344
|
+
},
|
8345
|
+
{
|
8346
|
+
"kind": "field",
|
8347
|
+
"name": "iconName",
|
8348
|
+
"type": {
|
8349
|
+
"text": "IconNames | undefined"
|
8350
|
+
},
|
8351
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
8352
|
+
"attribute": "icon-name",
|
8353
|
+
"inheritedFrom": {
|
8354
|
+
"name": "IconNameMixin",
|
8355
|
+
"module": "utils/mixins/IconNameMixin.js"
|
8356
|
+
}
|
8357
|
+
},
|
8358
|
+
{
|
8359
|
+
"kind": "field",
|
8360
|
+
"name": "disabled",
|
8361
|
+
"type": {
|
8362
|
+
"text": "boolean | undefined"
|
8363
|
+
},
|
8364
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
8365
|
+
"default": "undefined",
|
8366
|
+
"attribute": "disabled",
|
8367
|
+
"reflects": true,
|
8368
|
+
"inheritedFrom": {
|
8369
|
+
"name": "DisabledMixin",
|
8370
|
+
"module": "utils/mixins/DisabledMixin.js"
|
8371
|
+
}
|
8372
|
+
}
|
8373
|
+
],
|
8374
|
+
"events": [
|
8375
|
+
{
|
8376
|
+
"name": "remove",
|
8377
|
+
"type": {
|
8378
|
+
"text": "CustomEvent"
|
8379
|
+
},
|
8380
|
+
"description": "This event is dispatched when the close button is activated. It bubbles and is composed.",
|
8381
|
+
"reactName": "onRemove"
|
8382
|
+
}
|
8383
|
+
],
|
8384
|
+
"attributes": [
|
8385
|
+
{
|
8386
|
+
"name": "label",
|
8387
|
+
"type": {
|
8388
|
+
"text": "string"
|
8389
|
+
},
|
8390
|
+
"default": "''",
|
8391
|
+
"description": "The label of the inputchip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
|
8392
|
+
"fieldName": "label"
|
8393
|
+
},
|
8394
|
+
{
|
8395
|
+
"name": "error",
|
8396
|
+
"type": {
|
8397
|
+
"text": "boolean"
|
8398
|
+
},
|
8399
|
+
"default": "false",
|
8400
|
+
"description": "The error state of the inputchip.",
|
8401
|
+
"fieldName": "error"
|
8402
|
+
},
|
8403
|
+
{
|
8404
|
+
"name": "clear-aria-label",
|
8405
|
+
"type": {
|
8406
|
+
"text": "string"
|
8407
|
+
},
|
8408
|
+
"default": "''",
|
8409
|
+
"description": "The aria-label of the close button.",
|
8410
|
+
"fieldName": "clearAriaLabel"
|
8411
|
+
},
|
8412
|
+
{
|
8413
|
+
"name": "icon-name",
|
8414
|
+
"type": {
|
8415
|
+
"text": "IconNames | undefined"
|
8416
|
+
},
|
8417
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
8418
|
+
"fieldName": "iconName",
|
8419
|
+
"inheritedFrom": {
|
8420
|
+
"name": "IconNameMixin",
|
8421
|
+
"module": "src/utils/mixins/IconNameMixin.ts"
|
8422
|
+
}
|
8423
|
+
},
|
8424
|
+
{
|
8425
|
+
"name": "disabled",
|
8426
|
+
"type": {
|
8427
|
+
"text": "boolean | undefined"
|
8428
|
+
},
|
8429
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
8430
|
+
"default": "undefined",
|
8431
|
+
"fieldName": "disabled",
|
8432
|
+
"inheritedFrom": {
|
8433
|
+
"name": "DisabledMixin",
|
8434
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
8435
|
+
}
|
8436
|
+
}
|
8437
|
+
],
|
8438
|
+
"mixins": [
|
8439
|
+
{
|
8440
|
+
"name": "IconNameMixin",
|
8441
|
+
"module": "/src/utils/mixins/IconNameMixin"
|
8442
|
+
},
|
8443
|
+
{
|
8444
|
+
"name": "DisabledMixin",
|
8445
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
8446
|
+
}
|
8447
|
+
],
|
8448
|
+
"superclass": {
|
8449
|
+
"name": "Component",
|
8450
|
+
"module": "/src/models"
|
8451
|
+
},
|
8452
|
+
"tagName": "mdc-inputchip",
|
8453
|
+
"jsDoc": "/**\n * mdc-inputchip component is an interactive chip that consumers can use to represent an input.\n *\n * - It supports a leading icon along with label.\n * - It supports an error state for validation.\n * - It supports a close button to remove the chip.\n *\n * @tagname mdc-inputchip\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event remove - This event is dispatched when the close button is activated. It bubbles and is composed.\n *\n * @cssproperty --mdc-chip-color - The color of the chip.\n * @cssproperty --mdc-chip-border-color - The border color of the chip.\n * @cssproperty --mdc-chip-background-color - The background color of the chip.\n *\n */",
|
8454
|
+
"customElement": true
|
8455
|
+
}
|
8456
|
+
],
|
8457
|
+
"exports": [
|
8458
|
+
{
|
8459
|
+
"kind": "js",
|
8460
|
+
"name": "default",
|
8461
|
+
"declaration": {
|
8462
|
+
"name": "InputChip",
|
8463
|
+
"module": "components/inputchip/inputchip.component.js"
|
8464
|
+
}
|
8465
|
+
}
|
8466
|
+
]
|
8467
|
+
},
|
8259
8468
|
{
|
8260
8469
|
"kind": "javascript-module",
|
8261
8470
|
"path": "components/link/link.component.js",
|
@@ -9072,205 +9281,6 @@
|
|
9072
9281
|
}
|
9073
9282
|
]
|
9074
9283
|
},
|
9075
|
-
{
|
9076
|
-
"kind": "javascript-module",
|
9077
|
-
"path": "components/inputchip/inputchip.component.js",
|
9078
|
-
"declarations": [
|
9079
|
-
{
|
9080
|
-
"kind": "class",
|
9081
|
-
"description": "mdc-inputchip component is an interactive chip that consumers can use to represent an input.\n\n- It supports a leading icon along with label.\n- It supports an error state for validation.\n- It supports a close button to remove the chip.",
|
9082
|
-
"name": "InputChip",
|
9083
|
-
"cssProperties": [
|
9084
|
-
{
|
9085
|
-
"description": "The color of the chip.",
|
9086
|
-
"name": "--mdc-chip-color"
|
9087
|
-
},
|
9088
|
-
{
|
9089
|
-
"description": "The border color of the chip.",
|
9090
|
-
"name": "--mdc-chip-border-color"
|
9091
|
-
},
|
9092
|
-
{
|
9093
|
-
"description": "The background color of the chip.",
|
9094
|
-
"name": "--mdc-chip-background-color"
|
9095
|
-
}
|
9096
|
-
],
|
9097
|
-
"members": [
|
9098
|
-
{
|
9099
|
-
"kind": "field",
|
9100
|
-
"name": "label",
|
9101
|
-
"type": {
|
9102
|
-
"text": "string"
|
9103
|
-
},
|
9104
|
-
"default": "''",
|
9105
|
-
"description": "The label of the inputchip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
|
9106
|
-
"attribute": "label"
|
9107
|
-
},
|
9108
|
-
{
|
9109
|
-
"kind": "field",
|
9110
|
-
"name": "error",
|
9111
|
-
"type": {
|
9112
|
-
"text": "boolean"
|
9113
|
-
},
|
9114
|
-
"default": "false",
|
9115
|
-
"description": "The error state of the inputchip.",
|
9116
|
-
"attribute": "error"
|
9117
|
-
},
|
9118
|
-
{
|
9119
|
-
"kind": "field",
|
9120
|
-
"name": "clearAriaLabel",
|
9121
|
-
"type": {
|
9122
|
-
"text": "string"
|
9123
|
-
},
|
9124
|
-
"default": "''",
|
9125
|
-
"description": "The aria-label of the close button.",
|
9126
|
-
"attribute": "clear-aria-label"
|
9127
|
-
},
|
9128
|
-
{
|
9129
|
-
"kind": "method",
|
9130
|
-
"name": "renderIcon",
|
9131
|
-
"privacy": "private",
|
9132
|
-
"description": "Renders the icon element if available.",
|
9133
|
-
"return": {
|
9134
|
-
"type": {
|
9135
|
-
"text": ""
|
9136
|
-
}
|
9137
|
-
}
|
9138
|
-
},
|
9139
|
-
{
|
9140
|
-
"kind": "method",
|
9141
|
-
"name": "handleClose",
|
9142
|
-
"privacy": "private",
|
9143
|
-
"description": "Handles the behavior of the close button on click event.",
|
9144
|
-
"parameters": [
|
9145
|
-
{
|
9146
|
-
"description": "The event object.",
|
9147
|
-
"name": "event"
|
9148
|
-
}
|
9149
|
-
]
|
9150
|
-
},
|
9151
|
-
{
|
9152
|
-
"kind": "field",
|
9153
|
-
"name": "iconName",
|
9154
|
-
"type": {
|
9155
|
-
"text": "IconNames | undefined"
|
9156
|
-
},
|
9157
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
9158
|
-
"attribute": "icon-name",
|
9159
|
-
"inheritedFrom": {
|
9160
|
-
"name": "IconNameMixin",
|
9161
|
-
"module": "utils/mixins/IconNameMixin.js"
|
9162
|
-
}
|
9163
|
-
},
|
9164
|
-
{
|
9165
|
-
"kind": "field",
|
9166
|
-
"name": "disabled",
|
9167
|
-
"type": {
|
9168
|
-
"text": "boolean | undefined"
|
9169
|
-
},
|
9170
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
9171
|
-
"default": "undefined",
|
9172
|
-
"attribute": "disabled",
|
9173
|
-
"reflects": true,
|
9174
|
-
"inheritedFrom": {
|
9175
|
-
"name": "DisabledMixin",
|
9176
|
-
"module": "utils/mixins/DisabledMixin.js"
|
9177
|
-
}
|
9178
|
-
}
|
9179
|
-
],
|
9180
|
-
"events": [
|
9181
|
-
{
|
9182
|
-
"name": "remove",
|
9183
|
-
"type": {
|
9184
|
-
"text": "CustomEvent"
|
9185
|
-
},
|
9186
|
-
"description": "This event is dispatched when the close button is activated. It bubbles and is composed.",
|
9187
|
-
"reactName": "onRemove"
|
9188
|
-
}
|
9189
|
-
],
|
9190
|
-
"attributes": [
|
9191
|
-
{
|
9192
|
-
"name": "label",
|
9193
|
-
"type": {
|
9194
|
-
"text": "string"
|
9195
|
-
},
|
9196
|
-
"default": "''",
|
9197
|
-
"description": "The label of the inputchip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
|
9198
|
-
"fieldName": "label"
|
9199
|
-
},
|
9200
|
-
{
|
9201
|
-
"name": "error",
|
9202
|
-
"type": {
|
9203
|
-
"text": "boolean"
|
9204
|
-
},
|
9205
|
-
"default": "false",
|
9206
|
-
"description": "The error state of the inputchip.",
|
9207
|
-
"fieldName": "error"
|
9208
|
-
},
|
9209
|
-
{
|
9210
|
-
"name": "clear-aria-label",
|
9211
|
-
"type": {
|
9212
|
-
"text": "string"
|
9213
|
-
},
|
9214
|
-
"default": "''",
|
9215
|
-
"description": "The aria-label of the close button.",
|
9216
|
-
"fieldName": "clearAriaLabel"
|
9217
|
-
},
|
9218
|
-
{
|
9219
|
-
"name": "icon-name",
|
9220
|
-
"type": {
|
9221
|
-
"text": "IconNames | undefined"
|
9222
|
-
},
|
9223
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
9224
|
-
"fieldName": "iconName",
|
9225
|
-
"inheritedFrom": {
|
9226
|
-
"name": "IconNameMixin",
|
9227
|
-
"module": "src/utils/mixins/IconNameMixin.ts"
|
9228
|
-
}
|
9229
|
-
},
|
9230
|
-
{
|
9231
|
-
"name": "disabled",
|
9232
|
-
"type": {
|
9233
|
-
"text": "boolean | undefined"
|
9234
|
-
},
|
9235
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
9236
|
-
"default": "undefined",
|
9237
|
-
"fieldName": "disabled",
|
9238
|
-
"inheritedFrom": {
|
9239
|
-
"name": "DisabledMixin",
|
9240
|
-
"module": "src/utils/mixins/DisabledMixin.ts"
|
9241
|
-
}
|
9242
|
-
}
|
9243
|
-
],
|
9244
|
-
"mixins": [
|
9245
|
-
{
|
9246
|
-
"name": "IconNameMixin",
|
9247
|
-
"module": "/src/utils/mixins/IconNameMixin"
|
9248
|
-
},
|
9249
|
-
{
|
9250
|
-
"name": "DisabledMixin",
|
9251
|
-
"module": "/src/utils/mixins/DisabledMixin"
|
9252
|
-
}
|
9253
|
-
],
|
9254
|
-
"superclass": {
|
9255
|
-
"name": "Component",
|
9256
|
-
"module": "/src/models"
|
9257
|
-
},
|
9258
|
-
"tagName": "mdc-inputchip",
|
9259
|
-
"jsDoc": "/**\n * mdc-inputchip component is an interactive chip that consumers can use to represent an input.\n *\n * - It supports a leading icon along with label.\n * - It supports an error state for validation.\n * - It supports a close button to remove the chip.\n *\n * @tagname mdc-inputchip\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event remove - This event is dispatched when the close button is activated. It bubbles and is composed.\n *\n * @cssproperty --mdc-chip-color - The color of the chip.\n * @cssproperty --mdc-chip-border-color - The border color of the chip.\n * @cssproperty --mdc-chip-background-color - The background color of the chip.\n *\n */",
|
9260
|
-
"customElement": true
|
9261
|
-
}
|
9262
|
-
],
|
9263
|
-
"exports": [
|
9264
|
-
{
|
9265
|
-
"kind": "js",
|
9266
|
-
"name": "default",
|
9267
|
-
"declaration": {
|
9268
|
-
"name": "InputChip",
|
9269
|
-
"module": "components/inputchip/inputchip.component.js"
|
9270
|
-
}
|
9271
|
-
}
|
9272
|
-
]
|
9273
|
-
},
|
9274
9284
|
{
|
9275
9285
|
"kind": "javascript-module",
|
9276
9286
|
"path": "components/marker/marker.component.js",
|
@@ -13967,12 +13977,41 @@
|
|
13967
13977
|
"text": "Array<HTMLElement> | undefined"
|
13968
13978
|
}
|
13969
13979
|
},
|
13980
|
+
{
|
13981
|
+
"kind": "method",
|
13982
|
+
"name": "handleKeyDown",
|
13983
|
+
"privacy": "protected",
|
13984
|
+
"parameters": [
|
13985
|
+
{
|
13986
|
+
"name": "event",
|
13987
|
+
"type": {
|
13988
|
+
"text": "KeyboardEvent"
|
13989
|
+
},
|
13990
|
+
"description": "Keyboard event"
|
13991
|
+
}
|
13992
|
+
],
|
13993
|
+
"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.",
|
13994
|
+
"inheritedFrom": {
|
13995
|
+
"name": "Input",
|
13996
|
+
"module": "components/input/input.component.js"
|
13997
|
+
}
|
13998
|
+
},
|
13970
13999
|
{
|
13971
14000
|
"kind": "method",
|
13972
14001
|
"name": "renderInputChips",
|
13973
14002
|
"privacy": "private",
|
13974
14003
|
"description": "This method is used to render the input chips inside filters slot.\nIt will remove any elements that are not input chips."
|
13975
14004
|
},
|
14005
|
+
{
|
14006
|
+
"kind": "method",
|
14007
|
+
"name": "clearInputText",
|
14008
|
+
"privacy": "protected",
|
14009
|
+
"description": "Clears the input field.",
|
14010
|
+
"inheritedFrom": {
|
14011
|
+
"name": "Input",
|
14012
|
+
"module": "components/input/input.component.js"
|
14013
|
+
}
|
14014
|
+
},
|
13976
14015
|
{
|
13977
14016
|
"kind": "field",
|
13978
14017
|
"name": "name",
|
@@ -14358,25 +14397,6 @@
|
|
14358
14397
|
"module": "components/input/input.component.js"
|
14359
14398
|
}
|
14360
14399
|
},
|
14361
|
-
{
|
14362
|
-
"kind": "method",
|
14363
|
-
"name": "handleKeyDown",
|
14364
|
-
"privacy": "private",
|
14365
|
-
"parameters": [
|
14366
|
-
{
|
14367
|
-
"name": "event",
|
14368
|
-
"type": {
|
14369
|
-
"text": "KeyboardEvent"
|
14370
|
-
},
|
14371
|
-
"description": "Keyboard event"
|
14372
|
-
}
|
14373
|
-
],
|
14374
|
-
"description": "Handles the keydown event of the input field.\nIf the key pressed is 'Enter', it submits the form.",
|
14375
|
-
"inheritedFrom": {
|
14376
|
-
"name": "Input",
|
14377
|
-
"module": "components/input/input.component.js"
|
14378
|
-
}
|
14379
|
-
},
|
14380
14400
|
{
|
14381
14401
|
"kind": "method",
|
14382
14402
|
"name": "renderLeadingIcon",
|
@@ -14407,20 +14427,16 @@
|
|
14407
14427
|
"module": "components/input/input.component.js"
|
14408
14428
|
}
|
14409
14429
|
},
|
14410
|
-
{
|
14411
|
-
"kind": "method",
|
14412
|
-
"name": "clearInputText",
|
14413
|
-
"privacy": "private",
|
14414
|
-
"description": "Clears the input field.",
|
14415
|
-
"inheritedFrom": {
|
14416
|
-
"name": "Input",
|
14417
|
-
"module": "components/input/input.component.js"
|
14418
|
-
}
|
14419
|
-
},
|
14420
14430
|
{
|
14421
14431
|
"kind": "method",
|
14422
14432
|
"name": "renderTrailingButton",
|
14423
14433
|
"privacy": "protected",
|
14434
|
+
"parameters": [
|
14435
|
+
{
|
14436
|
+
"name": "show",
|
14437
|
+
"default": "false"
|
14438
|
+
}
|
14439
|
+
],
|
14424
14440
|
"description": "Renders the trailing button to clear the input field if the trailingButton is set to true.",
|
14425
14441
|
"return": {
|
14426
14442
|
"type": {
|
@@ -14442,6 +14458,10 @@
|
|
14442
14458
|
"type": {
|
14443
14459
|
"text": "InputType"
|
14444
14460
|
}
|
14461
|
+
},
|
14462
|
+
{
|
14463
|
+
"name": "hidePlaceholder",
|
14464
|
+
"default": "false"
|
14445
14465
|
}
|
14446
14466
|
],
|
14447
14467
|
"inheritedFrom": {
|
package/dist/react/index.d.ts
CHANGED
@@ -17,10 +17,10 @@ export { default as FormfieldWrapper } from './formfieldwrapper';
|
|
17
17
|
export { default as Icon } from './icon';
|
18
18
|
export { default as IconProvider } from './iconprovider';
|
19
19
|
export { default as Input } from './input';
|
20
|
+
export { default as InputChip } from './inputchip';
|
20
21
|
export { default as Link } from './link';
|
21
22
|
export { default as List } from './list';
|
22
23
|
export { default as ListItem } from './listitem';
|
23
|
-
export { default as InputChip } from './inputchip';
|
24
24
|
export { default as Marker } from './marker';
|
25
25
|
export { default as OptGroup } from './optgroup';
|
26
26
|
export { default as Option } from './option';
|
package/dist/react/index.js
CHANGED
@@ -17,10 +17,10 @@ export { default as FormfieldWrapper } from './formfieldwrapper';
|
|
17
17
|
export { default as Icon } from './icon';
|
18
18
|
export { default as IconProvider } from './iconprovider';
|
19
19
|
export { default as Input } from './input';
|
20
|
+
export { default as InputChip } from './inputchip';
|
20
21
|
export { default as Link } from './link';
|
21
22
|
export { default as List } from './list';
|
22
23
|
export { default as ListItem } from './listitem';
|
23
|
-
export { default as InputChip } from './inputchip';
|
24
24
|
export { default as Marker } from './marker';
|
25
25
|
export { default as OptGroup } from './optgroup';
|
26
26
|
export { default as Option } from './option';
|
package/package.json
CHANGED