@momentum-design/components 0.112.0 → 0.112.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.
@@ -30995,185 +30995,6 @@
|
|
30995
30995
|
}
|
30996
30996
|
]
|
30997
30997
|
},
|
30998
|
-
{
|
30999
|
-
"kind": "javascript-module",
|
31000
|
-
"path": "components/screenreaderannouncer/screenreaderannouncer.component.js",
|
31001
|
-
"declarations": [
|
31002
|
-
{
|
31003
|
-
"kind": "class",
|
31004
|
-
"description": "`mdc-screenreaderannouncer` can be used to announce messages with the screen reader.\n\nTo make an announcement set `announcement` attribute on the `mdc-screenreaderannouncer` element.\n\n**Internal logic**\n\nWhen the screenreader announcer is connected to the DOM, if the `identity` attribute is not\nprovided, it is set to `mdc-screenreaderannouncer-identity` and a `<div>` element with this id is created\nin the DOM. If the `identity` attribute is provided, the identity element is used and no new element\nis created in the DOM.\n\nWhen the `announcement` attribute is set, the screenreader announcer will create a `<div>` element with\n`aria-live` attribute set to the value of `data-aria-live` attribute and append it to the `identity` element.\nAfter delay of `delay` milliseconds, a <p> element with the announcement text is appended to the `<div>` element.\n\nThe announcement `<div>` element is removed from the DOM after `timeout` milliseconds.\n\nWhen the screen announcer component is disconnected from the DOM, all the timeouts are cleared and\nall the announcement elements added are removed from the DOM and timeouts cleared.\n\n**Note**\n1. The default delay of 150 miliseconds is used as we dynamically generate the\naria-live region in the DOM and add the announcement text to it.\n3. If no `identity` is provided, all the screen reader components will create and use only one\n`<div>` element with id `mdc-screenreaderannouncer-identity` in the DOM.\n\nReference: https://patrickhlauke.github.io/aria/tests/live-regions/",
|
31005
|
-
"name": "ScreenreaderAnnouncer",
|
31006
|
-
"members": [
|
31007
|
-
{
|
31008
|
-
"kind": "field",
|
31009
|
-
"name": "announcement",
|
31010
|
-
"type": {
|
31011
|
-
"text": "string"
|
31012
|
-
},
|
31013
|
-
"default": "''",
|
31014
|
-
"description": "The announcement attribute is a string that is used to announce messages to the screen reader.\nThe announcement is made when the announcement attribute is set to a non-empty string.",
|
31015
|
-
"attribute": "announcement",
|
31016
|
-
"reflects": true
|
31017
|
-
},
|
31018
|
-
{
|
31019
|
-
"kind": "field",
|
31020
|
-
"name": "identity",
|
31021
|
-
"type": {
|
31022
|
-
"text": "string"
|
31023
|
-
},
|
31024
|
-
"default": "''",
|
31025
|
-
"description": "The id of the element in the light dom, to which announcement elements will be appended.\n\nIf id is not provided, it will be set to `mdc-screenreaderannouncer-identity` and\na div element with this id will be created in the light dom.",
|
31026
|
-
"attribute": "identity",
|
31027
|
-
"reflects": true
|
31028
|
-
},
|
31029
|
-
{
|
31030
|
-
"kind": "field",
|
31031
|
-
"name": "dataAriaLive",
|
31032
|
-
"type": {
|
31033
|
-
"text": "AriaLive"
|
31034
|
-
},
|
31035
|
-
"description": "Aria live value for announcement.",
|
31036
|
-
"default": "'polite'",
|
31037
|
-
"attribute": "data-aria-live",
|
31038
|
-
"reflects": true
|
31039
|
-
},
|
31040
|
-
{
|
31041
|
-
"kind": "field",
|
31042
|
-
"name": "delay",
|
31043
|
-
"type": {
|
31044
|
-
"text": "number"
|
31045
|
-
},
|
31046
|
-
"description": "Milliseconds to wait before adding the announcement to the identiy region in\nDOM, which will announce the message to the screen reader.",
|
31047
|
-
"default": "150",
|
31048
|
-
"attribute": "delay",
|
31049
|
-
"reflects": true
|
31050
|
-
},
|
31051
|
-
{
|
31052
|
-
"kind": "field",
|
31053
|
-
"name": "timeout",
|
31054
|
-
"type": {
|
31055
|
-
"text": "number"
|
31056
|
-
},
|
31057
|
-
"description": "Milliseconds to wait after which the announcement element will be removed from\nidentity region in DOM, causing the screen reader to not announcing the message.",
|
31058
|
-
"default": "20_000",
|
31059
|
-
"attribute": "timeout",
|
31060
|
-
"reflects": true
|
31061
|
-
},
|
31062
|
-
{
|
31063
|
-
"kind": "method",
|
31064
|
-
"name": "announce",
|
31065
|
-
"parameters": [
|
31066
|
-
{
|
31067
|
-
"name": "announcement",
|
31068
|
-
"type": {
|
31069
|
-
"text": "string"
|
31070
|
-
},
|
31071
|
-
"description": "The announcement to be made."
|
31072
|
-
},
|
31073
|
-
{
|
31074
|
-
"name": "delay",
|
31075
|
-
"type": {
|
31076
|
-
"text": "number"
|
31077
|
-
},
|
31078
|
-
"description": "The delay in milliseconds before announcing the message."
|
31079
|
-
},
|
31080
|
-
{
|
31081
|
-
"name": "timeout",
|
31082
|
-
"type": {
|
31083
|
-
"text": "number"
|
31084
|
-
},
|
31085
|
-
"description": "The timeout in milliseconds before removing the announcement."
|
31086
|
-
},
|
31087
|
-
{
|
31088
|
-
"name": "ariaLive",
|
31089
|
-
"type": {
|
31090
|
-
"text": "AriaLive"
|
31091
|
-
},
|
31092
|
-
"description": "The aria live value for the announcement."
|
31093
|
-
}
|
31094
|
-
],
|
31095
|
-
"description": "Announces the given announcement to the screen reader.\n\nA div element with aria-live attribute set to the given ariaLive value is created\nand a p element with the announcement text is appended to it.\n\nThe div element is appended to the element in the DOM identified with id as\nidentity attribute."
|
31096
|
-
},
|
31097
|
-
{
|
31098
|
-
"kind": "method",
|
31099
|
-
"name": "clearTimeOutsAndAnnouncements",
|
31100
|
-
"privacy": "private",
|
31101
|
-
"description": "Clears all timeouts and removes all announcements from the screen reader."
|
31102
|
-
},
|
31103
|
-
{
|
31104
|
-
"kind": "method",
|
31105
|
-
"name": "createAnnouncementAriaLiveRegion",
|
31106
|
-
"privacy": "private",
|
31107
|
-
"description": "Creates a div element with id as identity attribute in the DOM.\n\nIf the identity attribute is not provided, it is set internally to\n`mdc-screenreaderannouncer-identity`."
|
31108
|
-
}
|
31109
|
-
],
|
31110
|
-
"attributes": [
|
31111
|
-
{
|
31112
|
-
"name": "announcement",
|
31113
|
-
"type": {
|
31114
|
-
"text": "string"
|
31115
|
-
},
|
31116
|
-
"default": "''",
|
31117
|
-
"description": "The announcement attribute is a string that is used to announce messages to the screen reader.\nThe announcement is made when the announcement attribute is set to a non-empty string.",
|
31118
|
-
"fieldName": "announcement"
|
31119
|
-
},
|
31120
|
-
{
|
31121
|
-
"name": "identity",
|
31122
|
-
"type": {
|
31123
|
-
"text": "string"
|
31124
|
-
},
|
31125
|
-
"default": "''",
|
31126
|
-
"description": "The id of the element in the light dom, to which announcement elements will be appended.\n\nIf id is not provided, it will be set to `mdc-screenreaderannouncer-identity` and\na div element with this id will be created in the light dom.",
|
31127
|
-
"fieldName": "identity"
|
31128
|
-
},
|
31129
|
-
{
|
31130
|
-
"name": "data-aria-live",
|
31131
|
-
"type": {
|
31132
|
-
"text": "AriaLive"
|
31133
|
-
},
|
31134
|
-
"description": "Aria live value for announcement.",
|
31135
|
-
"default": "'polite'",
|
31136
|
-
"fieldName": "dataAriaLive"
|
31137
|
-
},
|
31138
|
-
{
|
31139
|
-
"name": "delay",
|
31140
|
-
"type": {
|
31141
|
-
"text": "number"
|
31142
|
-
},
|
31143
|
-
"description": "Milliseconds to wait before adding the announcement to the identiy region in\nDOM, which will announce the message to the screen reader.",
|
31144
|
-
"default": "150",
|
31145
|
-
"fieldName": "delay"
|
31146
|
-
},
|
31147
|
-
{
|
31148
|
-
"name": "timeout",
|
31149
|
-
"type": {
|
31150
|
-
"text": "number"
|
31151
|
-
},
|
31152
|
-
"description": "Milliseconds to wait after which the announcement element will be removed from\nidentity region in DOM, causing the screen reader to not announcing the message.",
|
31153
|
-
"default": "20_000",
|
31154
|
-
"fieldName": "timeout"
|
31155
|
-
}
|
31156
|
-
],
|
31157
|
-
"superclass": {
|
31158
|
-
"name": "Component",
|
31159
|
-
"module": "/src/models"
|
31160
|
-
},
|
31161
|
-
"tagName": "mdc-screenreaderannouncer",
|
31162
|
-
"jsDoc": "/**\n * `mdc-screenreaderannouncer` can be used to announce messages with the screen reader.\n *\n * To make an announcement set `announcement` attribute on the `mdc-screenreaderannouncer` element.\n *\n * **Internal logic**\n *\n * When the screenreader announcer is connected to the DOM, if the `identity` attribute is not\n * provided, it is set to `mdc-screenreaderannouncer-identity` and a `<div>` element with this id is created\n * in the DOM. If the `identity` attribute is provided, the identity element is used and no new element\n * is created in the DOM.\n *\n * When the `announcement` attribute is set, the screenreader announcer will create a `<div>` element with\n * `aria-live` attribute set to the value of `data-aria-live` attribute and append it to the `identity` element.\n * After delay of `delay` milliseconds, a <p> element with the announcement text is appended to the `<div>` element.\n *\n * The announcement `<div>` element is removed from the DOM after `timeout` milliseconds.\n *\n * When the screen announcer component is disconnected from the DOM, all the timeouts are cleared and\n * all the announcement elements added are removed from the DOM and timeouts cleared.\n *\n * **Note**\n * 1. The default delay of 150 miliseconds is used as we dynamically generate the\n * aria-live region in the DOM and add the announcement text to it.\n * 3. If no `identity` is provided, all the screen reader components will create and use only one\n * `<div>` element with id `mdc-screenreaderannouncer-identity` in the DOM.\n *\n * Reference: https://patrickhlauke.github.io/aria/tests/live-regions/\n *\n * @tagname mdc-screenreaderannouncer\n */",
|
31163
|
-
"customElement": true
|
31164
|
-
}
|
31165
|
-
],
|
31166
|
-
"exports": [
|
31167
|
-
{
|
31168
|
-
"kind": "js",
|
31169
|
-
"name": "default",
|
31170
|
-
"declaration": {
|
31171
|
-
"name": "ScreenreaderAnnouncer",
|
31172
|
-
"module": "components/screenreaderannouncer/screenreaderannouncer.component.js"
|
31173
|
-
}
|
31174
|
-
}
|
31175
|
-
]
|
31176
|
-
},
|
31177
30998
|
{
|
31178
30999
|
"kind": "javascript-module",
|
31179
31000
|
"path": "components/searchfield/searchfield.component.js",
|
@@ -32417,48 +32238,227 @@
|
|
32417
32238
|
},
|
32418
32239
|
{
|
32419
32240
|
"kind": "javascript-module",
|
32420
|
-
"path": "components/
|
32241
|
+
"path": "components/screenreaderannouncer/screenreaderannouncer.component.js",
|
32421
32242
|
"declarations": [
|
32422
32243
|
{
|
32423
32244
|
"kind": "class",
|
32424
|
-
"description": "
|
32425
|
-
"name": "
|
32426
|
-
"
|
32427
|
-
{
|
32428
|
-
"description": "The background color of the combobox of select.",
|
32429
|
-
"name": "--mdc-select-background-color"
|
32430
|
-
},
|
32431
|
-
{
|
32432
|
-
"description": "The background color of the combobox of select when hovered.",
|
32433
|
-
"name": "--mdc-select-background-color-hover"
|
32434
|
-
},
|
32435
|
-
{
|
32436
|
-
"description": "The background color of the combobox of select when active.",
|
32437
|
-
"name": "--mdc-select-background-color-active"
|
32438
|
-
},
|
32245
|
+
"description": "`mdc-screenreaderannouncer` can be used to announce messages with the screen reader.\n\nTo make an announcement set `announcement` attribute on the `mdc-screenreaderannouncer` element.\n\n**Internal logic**\n\nWhen the screenreader announcer is connected to the DOM, if the `identity` attribute is not\nprovided, it is set to `mdc-screenreaderannouncer-identity` and a `<div>` element with this id is created\nin the DOM. If the `identity` attribute is provided, the identity element is used and no new element\nis created in the DOM.\n\nWhen the `announcement` attribute is set, the screenreader announcer will create a `<div>` element with\n`aria-live` attribute set to the value of `data-aria-live` attribute and append it to the `identity` element.\nAfter delay of `delay` milliseconds, a <p> element with the announcement text is appended to the `<div>` element.\n\nThe announcement `<div>` element is removed from the DOM after `timeout` milliseconds.\n\nWhen the screen announcer component is disconnected from the DOM, all the timeouts are cleared and\nall the announcement elements added are removed from the DOM and timeouts cleared.\n\n**Note**\n1. The default delay of 150 miliseconds is used as we dynamically generate the\naria-live region in the DOM and add the announcement text to it.\n3. If no `identity` is provided, all the screen reader components will create and use only one\n`<div>` element with id `mdc-screenreaderannouncer-identity` in the DOM.\n\nReference: https://patrickhlauke.github.io/aria/tests/live-regions/",
|
32246
|
+
"name": "ScreenreaderAnnouncer",
|
32247
|
+
"members": [
|
32439
32248
|
{
|
32440
|
-
"
|
32441
|
-
"name": "
|
32249
|
+
"kind": "field",
|
32250
|
+
"name": "announcement",
|
32251
|
+
"type": {
|
32252
|
+
"text": "string"
|
32253
|
+
},
|
32254
|
+
"default": "''",
|
32255
|
+
"description": "The announcement attribute is a string that is used to announce messages to the screen reader.\nThe announcement is made when the announcement attribute is set to a non-empty string.",
|
32256
|
+
"attribute": "announcement",
|
32257
|
+
"reflects": true
|
32442
32258
|
},
|
32443
32259
|
{
|
32444
|
-
"
|
32445
|
-
"name": "
|
32260
|
+
"kind": "field",
|
32261
|
+
"name": "identity",
|
32262
|
+
"type": {
|
32263
|
+
"text": "string"
|
32264
|
+
},
|
32265
|
+
"default": "''",
|
32266
|
+
"description": "The id of the element in the light dom, to which announcement elements will be appended.\n\nIf id is not provided, it will be set to `mdc-screenreaderannouncer-identity` and\na div element with this id will be created in the light dom.",
|
32267
|
+
"attribute": "identity",
|
32268
|
+
"reflects": true
|
32446
32269
|
},
|
32447
32270
|
{
|
32448
|
-
"
|
32449
|
-
"name": "
|
32271
|
+
"kind": "field",
|
32272
|
+
"name": "dataAriaLive",
|
32273
|
+
"type": {
|
32274
|
+
"text": "AriaLive"
|
32275
|
+
},
|
32276
|
+
"description": "Aria live value for announcement.",
|
32277
|
+
"default": "'polite'",
|
32278
|
+
"attribute": "data-aria-live",
|
32279
|
+
"reflects": true
|
32450
32280
|
},
|
32451
32281
|
{
|
32452
|
-
"
|
32453
|
-
"name": "
|
32282
|
+
"kind": "field",
|
32283
|
+
"name": "delay",
|
32284
|
+
"type": {
|
32285
|
+
"text": "number"
|
32286
|
+
},
|
32287
|
+
"description": "Milliseconds to wait before adding the announcement to the identiy region in\nDOM, which will announce the message to the screen reader.",
|
32288
|
+
"default": "150",
|
32289
|
+
"attribute": "delay",
|
32290
|
+
"reflects": true
|
32454
32291
|
},
|
32455
32292
|
{
|
32456
|
-
"
|
32457
|
-
"name": "
|
32293
|
+
"kind": "field",
|
32294
|
+
"name": "timeout",
|
32295
|
+
"type": {
|
32296
|
+
"text": "number"
|
32297
|
+
},
|
32298
|
+
"description": "Milliseconds to wait after which the announcement element will be removed from\nidentity region in DOM, causing the screen reader to not announcing the message.",
|
32299
|
+
"default": "20_000",
|
32300
|
+
"attribute": "timeout",
|
32301
|
+
"reflects": true
|
32458
32302
|
},
|
32459
32303
|
{
|
32460
|
-
"
|
32461
|
-
"name": "
|
32304
|
+
"kind": "method",
|
32305
|
+
"name": "announce",
|
32306
|
+
"parameters": [
|
32307
|
+
{
|
32308
|
+
"name": "announcement",
|
32309
|
+
"type": {
|
32310
|
+
"text": "string"
|
32311
|
+
},
|
32312
|
+
"description": "The announcement to be made."
|
32313
|
+
},
|
32314
|
+
{
|
32315
|
+
"name": "delay",
|
32316
|
+
"type": {
|
32317
|
+
"text": "number"
|
32318
|
+
},
|
32319
|
+
"description": "The delay in milliseconds before announcing the message."
|
32320
|
+
},
|
32321
|
+
{
|
32322
|
+
"name": "timeout",
|
32323
|
+
"type": {
|
32324
|
+
"text": "number"
|
32325
|
+
},
|
32326
|
+
"description": "The timeout in milliseconds before removing the announcement."
|
32327
|
+
},
|
32328
|
+
{
|
32329
|
+
"name": "ariaLive",
|
32330
|
+
"type": {
|
32331
|
+
"text": "AriaLive"
|
32332
|
+
},
|
32333
|
+
"description": "The aria live value for the announcement."
|
32334
|
+
}
|
32335
|
+
],
|
32336
|
+
"description": "Announces the given announcement to the screen reader.\n\nA div element with aria-live attribute set to the given ariaLive value is created\nand a p element with the announcement text is appended to it.\n\nThe div element is appended to the element in the DOM identified with id as\nidentity attribute."
|
32337
|
+
},
|
32338
|
+
{
|
32339
|
+
"kind": "method",
|
32340
|
+
"name": "clearTimeOutsAndAnnouncements",
|
32341
|
+
"privacy": "private",
|
32342
|
+
"description": "Clears all timeouts and removes all announcements from the screen reader."
|
32343
|
+
},
|
32344
|
+
{
|
32345
|
+
"kind": "method",
|
32346
|
+
"name": "createAnnouncementAriaLiveRegion",
|
32347
|
+
"privacy": "private",
|
32348
|
+
"description": "Creates a div element with id as identity attribute in the DOM.\n\nIf the identity attribute is not provided, it is set internally to\n`mdc-screenreaderannouncer-identity`."
|
32349
|
+
}
|
32350
|
+
],
|
32351
|
+
"attributes": [
|
32352
|
+
{
|
32353
|
+
"name": "announcement",
|
32354
|
+
"type": {
|
32355
|
+
"text": "string"
|
32356
|
+
},
|
32357
|
+
"default": "''",
|
32358
|
+
"description": "The announcement attribute is a string that is used to announce messages to the screen reader.\nThe announcement is made when the announcement attribute is set to a non-empty string.",
|
32359
|
+
"fieldName": "announcement"
|
32360
|
+
},
|
32361
|
+
{
|
32362
|
+
"name": "identity",
|
32363
|
+
"type": {
|
32364
|
+
"text": "string"
|
32365
|
+
},
|
32366
|
+
"default": "''",
|
32367
|
+
"description": "The id of the element in the light dom, to which announcement elements will be appended.\n\nIf id is not provided, it will be set to `mdc-screenreaderannouncer-identity` and\na div element with this id will be created in the light dom.",
|
32368
|
+
"fieldName": "identity"
|
32369
|
+
},
|
32370
|
+
{
|
32371
|
+
"name": "data-aria-live",
|
32372
|
+
"type": {
|
32373
|
+
"text": "AriaLive"
|
32374
|
+
},
|
32375
|
+
"description": "Aria live value for announcement.",
|
32376
|
+
"default": "'polite'",
|
32377
|
+
"fieldName": "dataAriaLive"
|
32378
|
+
},
|
32379
|
+
{
|
32380
|
+
"name": "delay",
|
32381
|
+
"type": {
|
32382
|
+
"text": "number"
|
32383
|
+
},
|
32384
|
+
"description": "Milliseconds to wait before adding the announcement to the identiy region in\nDOM, which will announce the message to the screen reader.",
|
32385
|
+
"default": "150",
|
32386
|
+
"fieldName": "delay"
|
32387
|
+
},
|
32388
|
+
{
|
32389
|
+
"name": "timeout",
|
32390
|
+
"type": {
|
32391
|
+
"text": "number"
|
32392
|
+
},
|
32393
|
+
"description": "Milliseconds to wait after which the announcement element will be removed from\nidentity region in DOM, causing the screen reader to not announcing the message.",
|
32394
|
+
"default": "20_000",
|
32395
|
+
"fieldName": "timeout"
|
32396
|
+
}
|
32397
|
+
],
|
32398
|
+
"superclass": {
|
32399
|
+
"name": "Component",
|
32400
|
+
"module": "/src/models"
|
32401
|
+
},
|
32402
|
+
"tagName": "mdc-screenreaderannouncer",
|
32403
|
+
"jsDoc": "/**\n * `mdc-screenreaderannouncer` can be used to announce messages with the screen reader.\n *\n * To make an announcement set `announcement` attribute on the `mdc-screenreaderannouncer` element.\n *\n * **Internal logic**\n *\n * When the screenreader announcer is connected to the DOM, if the `identity` attribute is not\n * provided, it is set to `mdc-screenreaderannouncer-identity` and a `<div>` element with this id is created\n * in the DOM. If the `identity` attribute is provided, the identity element is used and no new element\n * is created in the DOM.\n *\n * When the `announcement` attribute is set, the screenreader announcer will create a `<div>` element with\n * `aria-live` attribute set to the value of `data-aria-live` attribute and append it to the `identity` element.\n * After delay of `delay` milliseconds, a <p> element with the announcement text is appended to the `<div>` element.\n *\n * The announcement `<div>` element is removed from the DOM after `timeout` milliseconds.\n *\n * When the screen announcer component is disconnected from the DOM, all the timeouts are cleared and\n * all the announcement elements added are removed from the DOM and timeouts cleared.\n *\n * **Note**\n * 1. The default delay of 150 miliseconds is used as we dynamically generate the\n * aria-live region in the DOM and add the announcement text to it.\n * 3. If no `identity` is provided, all the screen reader components will create and use only one\n * `<div>` element with id `mdc-screenreaderannouncer-identity` in the DOM.\n *\n * Reference: https://patrickhlauke.github.io/aria/tests/live-regions/\n *\n * @tagname mdc-screenreaderannouncer\n */",
|
32404
|
+
"customElement": true
|
32405
|
+
}
|
32406
|
+
],
|
32407
|
+
"exports": [
|
32408
|
+
{
|
32409
|
+
"kind": "js",
|
32410
|
+
"name": "default",
|
32411
|
+
"declaration": {
|
32412
|
+
"name": "ScreenreaderAnnouncer",
|
32413
|
+
"module": "components/screenreaderannouncer/screenreaderannouncer.component.js"
|
32414
|
+
}
|
32415
|
+
}
|
32416
|
+
]
|
32417
|
+
},
|
32418
|
+
{
|
32419
|
+
"kind": "javascript-module",
|
32420
|
+
"path": "components/select/select.component.js",
|
32421
|
+
"declarations": [
|
32422
|
+
{
|
32423
|
+
"kind": "class",
|
32424
|
+
"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.",
|
32425
|
+
"name": "Select",
|
32426
|
+
"cssProperties": [
|
32427
|
+
{
|
32428
|
+
"description": "The background color of the combobox of select.",
|
32429
|
+
"name": "--mdc-select-background-color"
|
32430
|
+
},
|
32431
|
+
{
|
32432
|
+
"description": "The background color of the combobox of select when hovered.",
|
32433
|
+
"name": "--mdc-select-background-color-hover"
|
32434
|
+
},
|
32435
|
+
{
|
32436
|
+
"description": "The background color of the combobox of select when active.",
|
32437
|
+
"name": "--mdc-select-background-color-active"
|
32438
|
+
},
|
32439
|
+
{
|
32440
|
+
"description": "The background color of the combobox of select when disabled.",
|
32441
|
+
"name": "--mdc-select-background-color-disabled"
|
32442
|
+
},
|
32443
|
+
{
|
32444
|
+
"description": "The text color of the select.",
|
32445
|
+
"name": "--mdc-select-text-color"
|
32446
|
+
},
|
32447
|
+
{
|
32448
|
+
"description": "The text color of the selected option in the select.",
|
32449
|
+
"name": "--mdc-select-text-color-selected"
|
32450
|
+
},
|
32451
|
+
{
|
32452
|
+
"description": "The text color of the select when disabled.",
|
32453
|
+
"name": "--mdc-select-text-color-disabled"
|
32454
|
+
},
|
32455
|
+
{
|
32456
|
+
"description": "The border color of the select.",
|
32457
|
+
"name": "--mdc-select-border-color"
|
32458
|
+
},
|
32459
|
+
{
|
32460
|
+
"description": "The border color of the select when disabled.",
|
32461
|
+
"name": "--mdc-select-border-color-disabled"
|
32462
32462
|
},
|
32463
32463
|
{
|
32464
32464
|
"description": "The border color of the select when in success state.",
|
@@ -40962,226 +40962,193 @@
|
|
40962
40962
|
},
|
40963
40963
|
{
|
40964
40964
|
"kind": "javascript-module",
|
40965
|
-
"path": "components/
|
40965
|
+
"path": "components/tooltip/tooltip.component.js",
|
40966
40966
|
"declarations": [
|
40967
40967
|
{
|
40968
40968
|
"kind": "class",
|
40969
|
-
"description": "
|
40970
|
-
"name": "
|
40971
|
-
"
|
40969
|
+
"description": "A tooltip is triggered by mouse hover or by keyboard focus\nand will disappear upon mouse exit or focus change.\n\nNote: Tooltips cannot contain content that can be focused or interacted with.",
|
40970
|
+
"name": "Tooltip",
|
40971
|
+
"cssProperties": [
|
40972
40972
|
{
|
40973
|
-
"description": "
|
40974
|
-
"name": "
|
40973
|
+
"description": "The maximum width of the tooltip.",
|
40974
|
+
"name": "--mdc-tooltip-max-width"
|
40975
40975
|
},
|
40976
40976
|
{
|
40977
|
-
"description": "The
|
40978
|
-
"name": "
|
40979
|
-
}
|
40980
|
-
],
|
40981
|
-
"slots": [
|
40977
|
+
"description": "The padding of the tooltip.",
|
40978
|
+
"name": "--mdc-tooltip-padding"
|
40979
|
+
},
|
40982
40980
|
{
|
40983
|
-
"description": "
|
40984
|
-
"name": ""
|
40985
|
-
}
|
40986
|
-
],
|
40987
|
-
"members": [
|
40981
|
+
"description": "The text color of the tooltip.",
|
40982
|
+
"name": "--mdc-tooltip-text-color"
|
40983
|
+
},
|
40988
40984
|
{
|
40989
|
-
"
|
40990
|
-
"name": "
|
40991
|
-
"type": {
|
40992
|
-
"text": "TextType"
|
40993
|
-
},
|
40994
|
-
"privacy": "public",
|
40995
|
-
"description": "Specifies the text style to be applied to the internal text component.\nUses the same types as the Text component.",
|
40996
|
-
"default": "body-large-regular",
|
40997
|
-
"attribute": "type",
|
40998
|
-
"reflects": true
|
40985
|
+
"description": "The text color of the tooltip when the color is contrast.",
|
40986
|
+
"name": "--mdc-tooltip-text-color-contrast"
|
40999
40987
|
},
|
41000
40988
|
{
|
41001
|
-
"
|
41002
|
-
"name": "
|
41003
|
-
"
|
41004
|
-
"
|
41005
|
-
|
41006
|
-
|
41007
|
-
"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 internal text element.\n\nAcceptable values include all valid tag names from the Text component.",
|
41008
|
-
"attribute": "tagname",
|
41009
|
-
"reflects": true
|
40989
|
+
"description": "radius of the arrow border",
|
40990
|
+
"name": "--mdc-popover-arrow-border-radius",
|
40991
|
+
"inheritedFrom": {
|
40992
|
+
"name": "Popover",
|
40993
|
+
"module": "src/components/popover/popover.component.ts"
|
40994
|
+
}
|
41010
40995
|
},
|
41011
40996
|
{
|
41012
|
-
"
|
41013
|
-
"name": "
|
41014
|
-
"
|
41015
|
-
"
|
41016
|
-
|
41017
|
-
|
41018
|
-
"description": "Speed of the typewriter effect in milliseconds per character.\nCan be a string preset or a numeric string in milliseconds.\n- 'very-slow' = 240ms per character\n- 'slow' = 120ms per character\n- 'normal' = 60ms per character (default)\n- 'fast' = 20ms per character\n- 'very-fast' = 1ms per character\n- Or any numeric string representing milliseconds (e.g., '100')",
|
41019
|
-
"default": "'normal' (60ms per character)",
|
41020
|
-
"attribute": "speed",
|
41021
|
-
"reflects": true
|
40997
|
+
"description": "border of the arrow",
|
40998
|
+
"name": "--mdc-popover-arrow-border",
|
40999
|
+
"inheritedFrom": {
|
41000
|
+
"name": "Popover",
|
41001
|
+
"module": "src/components/popover/popover.component.ts"
|
41002
|
+
}
|
41022
41003
|
},
|
41023
41004
|
{
|
41024
|
-
"
|
41025
|
-
"name": "
|
41026
|
-
"
|
41027
|
-
"
|
41028
|
-
|
41029
|
-
|
41030
|
-
"description": "Maximum number of text chunks that can be queued before oldest chunks are dropped.\nSet to prevent memory accumulation from excessive queuing.",
|
41031
|
-
"default": "Number.MAX_SAFE_INTEGER (effectively unlimited)",
|
41032
|
-
"attribute": "max-queue-size",
|
41033
|
-
"reflects": true
|
41005
|
+
"description": "primary background color of the popover",
|
41006
|
+
"name": "--mdc-popover-primary-background-color",
|
41007
|
+
"inheritedFrom": {
|
41008
|
+
"name": "Popover",
|
41009
|
+
"module": "src/components/popover/popover.component.ts"
|
41010
|
+
}
|
41034
41011
|
},
|
41035
41012
|
{
|
41036
|
-
"
|
41037
|
-
"name": "
|
41038
|
-
"
|
41039
|
-
|
41040
|
-
"
|
41041
|
-
|
41042
|
-
}
|
41043
|
-
},
|
41044
|
-
"parameters": [
|
41045
|
-
{
|
41046
|
-
"name": "callback",
|
41047
|
-
"type": {
|
41048
|
-
"text": "() => void"
|
41049
|
-
}
|
41050
|
-
},
|
41051
|
-
{
|
41052
|
-
"name": "delay",
|
41053
|
-
"type": {
|
41054
|
-
"text": "number"
|
41055
|
-
}
|
41056
|
-
}
|
41057
|
-
],
|
41058
|
-
"description": "Helper to create tracked setTimeout that will be cleaned up on disconnect"
|
41013
|
+
"description": "border color of the popover",
|
41014
|
+
"name": "--mdc-popover-border-color",
|
41015
|
+
"inheritedFrom": {
|
41016
|
+
"name": "Popover",
|
41017
|
+
"module": "src/components/popover/popover.component.ts"
|
41018
|
+
}
|
41059
41019
|
},
|
41060
41020
|
{
|
41061
|
-
"
|
41062
|
-
"name": "
|
41063
|
-
"
|
41064
|
-
|
41065
|
-
"
|
41066
|
-
|
41067
|
-
}
|
41068
|
-
},
|
41069
|
-
"description": "Clear all pending timeouts"
|
41021
|
+
"description": "inverted background color of the popover",
|
41022
|
+
"name": "--mdc-popover-inverted-background-color",
|
41023
|
+
"inheritedFrom": {
|
41024
|
+
"name": "Popover",
|
41025
|
+
"module": "src/components/popover/popover.component.ts"
|
41026
|
+
}
|
41070
41027
|
},
|
41071
41028
|
{
|
41072
|
-
"
|
41073
|
-
"name": "
|
41074
|
-
"
|
41075
|
-
|
41076
|
-
"
|
41077
|
-
|
41078
|
-
}
|
41079
|
-
},
|
41080
|
-
"description": "Clears the text chunk queue and stops processing\nUseful for resetting the component state"
|
41029
|
+
"description": "inverted border color of the popover",
|
41030
|
+
"name": "--mdc-popover-inverted-border-color",
|
41031
|
+
"inheritedFrom": {
|
41032
|
+
"name": "Popover",
|
41033
|
+
"module": "src/components/popover/popover.component.ts"
|
41034
|
+
}
|
41081
41035
|
},
|
41082
41036
|
{
|
41083
|
-
"
|
41084
|
-
"name": "
|
41085
|
-
"
|
41086
|
-
|
41087
|
-
"
|
41088
|
-
|
41089
|
-
|
41037
|
+
"description": "inverted text color of the popover",
|
41038
|
+
"name": "--mdc-popover-inverted-text-color",
|
41039
|
+
"inheritedFrom": {
|
41040
|
+
"name": "Popover",
|
41041
|
+
"module": "src/components/popover/popover.component.ts"
|
41042
|
+
}
|
41043
|
+
},
|
41044
|
+
{
|
41045
|
+
"description": "elevation of the popover",
|
41046
|
+
"name": "--mdc-popover-elevation-3",
|
41047
|
+
"inheritedFrom": {
|
41048
|
+
"name": "Popover",
|
41049
|
+
"module": "src/components/popover/popover.component.ts"
|
41050
|
+
}
|
41051
|
+
},
|
41052
|
+
{
|
41053
|
+
"description": "max width of the popover",
|
41054
|
+
"name": "--mdc-popover-max-width",
|
41055
|
+
"inheritedFrom": {
|
41056
|
+
"name": "Popover",
|
41057
|
+
"module": "src/components/popover/popover.component.ts"
|
41058
|
+
}
|
41059
|
+
},
|
41060
|
+
{
|
41061
|
+
"description": "max height of the popover",
|
41062
|
+
"name": "--mdc-popover-max-height",
|
41063
|
+
"inheritedFrom": {
|
41064
|
+
"name": "Popover",
|
41065
|
+
"module": "src/components/popover/popover.component.ts"
|
41066
|
+
}
|
41067
|
+
},
|
41068
|
+
{
|
41069
|
+
"description": "width of the popover",
|
41070
|
+
"name": "--mdc-popover-width",
|
41071
|
+
"inheritedFrom": {
|
41072
|
+
"name": "Popover",
|
41073
|
+
"module": "src/components/popover/popover.component.ts"
|
41074
|
+
}
|
41075
|
+
}
|
41076
|
+
],
|
41077
|
+
"members": [
|
41078
|
+
{
|
41079
|
+
"kind": "field",
|
41080
|
+
"name": "tooltipType",
|
41081
|
+
"type": {
|
41082
|
+
"text": "TooltipType"
|
41090
41083
|
},
|
41091
|
-
"
|
41092
|
-
|
41093
|
-
|
41094
|
-
|
41095
|
-
"text": "string"
|
41096
|
-
},
|
41097
|
-
"description": "The text to add"
|
41098
|
-
},
|
41099
|
-
{
|
41100
|
-
"name": "speed",
|
41101
|
-
"optional": true,
|
41102
|
-
"type": {
|
41103
|
-
"text": "TypewriterSpeed"
|
41104
|
-
},
|
41105
|
-
"description": "Optional speed override for this chunk"
|
41106
|
-
},
|
41107
|
-
{
|
41108
|
-
"name": "instant",
|
41109
|
-
"optional": true,
|
41110
|
-
"type": {
|
41111
|
-
"text": "boolean"
|
41112
|
-
},
|
41113
|
-
"description": "If true, text appears instantly without animation"
|
41114
|
-
}
|
41115
|
-
],
|
41116
|
-
"description": "Adds a chunk of text to be typed out, optionally with a different speed"
|
41084
|
+
"description": "The type of tooltip.\n- **description** sets aria-describedby on the trigger component which refers to the tooltip id.\n- **label** sets aria-labelledby on the trigger component which refers to the tooltip id.\n- **none** no aria props set on trigger component referring to the tooltip id.",
|
41085
|
+
"default": "'description'",
|
41086
|
+
"attribute": "tooltip-type",
|
41087
|
+
"reflects": true
|
41117
41088
|
},
|
41118
41089
|
{
|
41119
|
-
"kind": "
|
41120
|
-
"name": "
|
41121
|
-
"
|
41122
|
-
|
41123
|
-
"type": {
|
41124
|
-
"text": "void"
|
41125
|
-
}
|
41090
|
+
"kind": "field",
|
41091
|
+
"name": "defaultSlotNodes",
|
41092
|
+
"type": {
|
41093
|
+
"text": "Array<Node>"
|
41126
41094
|
},
|
41127
|
-
"
|
41128
|
-
{
|
41129
|
-
"name": "text",
|
41130
|
-
"type": {
|
41131
|
-
"text": "string"
|
41132
|
-
},
|
41133
|
-
"description": "The text to add instantly"
|
41134
|
-
}
|
41135
|
-
],
|
41136
|
-
"description": "Adds a chunk of text instantly without typing animation"
|
41095
|
+
"privacy": "private"
|
41137
41096
|
},
|
41138
41097
|
{
|
41139
41098
|
"kind": "method",
|
41140
|
-
"name": "
|
41099
|
+
"name": "getTooltipText",
|
41141
41100
|
"privacy": "private",
|
41142
41101
|
"return": {
|
41143
41102
|
"type": {
|
41144
|
-
"text": "
|
41103
|
+
"text": ""
|
41145
41104
|
}
|
41146
|
-
}
|
41147
|
-
"description": "Processes all chunks in the queue"
|
41105
|
+
}
|
41148
41106
|
},
|
41149
41107
|
{
|
41150
41108
|
"kind": "method",
|
41151
|
-
"name": "
|
41109
|
+
"name": "setTooltipType",
|
41152
41110
|
"privacy": "private",
|
41153
41111
|
"return": {
|
41154
41112
|
"type": {
|
41155
41113
|
"text": "void"
|
41156
41114
|
}
|
41157
41115
|
},
|
41158
|
-
"
|
41116
|
+
"parameters": [
|
41117
|
+
{
|
41118
|
+
"name": "type",
|
41119
|
+
"type": {
|
41120
|
+
"text": "TooltipType"
|
41121
|
+
},
|
41122
|
+
"description": "The type to set."
|
41123
|
+
}
|
41124
|
+
],
|
41125
|
+
"description": "Sets the type attribute for the tooltip component.\nIf the provided type is not included in the TOOLTIP_TYPES,\nit defaults to the value specified in DEFAULTS.TOOLTIP_TYPE."
|
41159
41126
|
},
|
41160
41127
|
{
|
41161
41128
|
"kind": "method",
|
41162
|
-
"name": "
|
41129
|
+
"name": "onIdUpdated",
|
41163
41130
|
"privacy": "private",
|
41164
41131
|
"return": {
|
41165
41132
|
"type": {
|
41166
|
-
"text": "
|
41133
|
+
"text": "Promise<void>"
|
41167
41134
|
}
|
41168
41135
|
},
|
41169
|
-
"description": "
|
41136
|
+
"description": "Updates the tooltip id if it is empty."
|
41170
41137
|
},
|
41171
41138
|
{
|
41172
41139
|
"kind": "method",
|
41173
|
-
"name": "
|
41140
|
+
"name": "onPlacementUpdated",
|
41174
41141
|
"privacy": "private",
|
41175
41142
|
"return": {
|
41176
41143
|
"type": {
|
41177
41144
|
"text": "void"
|
41178
41145
|
}
|
41179
41146
|
},
|
41180
|
-
"description": "
|
41147
|
+
"description": "Updates the placement attribute if it is not a valid placement.\nOverriding the default from Popover"
|
41181
41148
|
},
|
41182
41149
|
{
|
41183
41150
|
"kind": "method",
|
41184
|
-
"name": "
|
41151
|
+
"name": "onTooltipTypeUpdated",
|
41185
41152
|
"privacy": "private",
|
41186
41153
|
"return": {
|
41187
41154
|
"type": {
|
@@ -41190,486 +41157,183 @@
|
|
41190
41157
|
},
|
41191
41158
|
"parameters": [
|
41192
41159
|
{
|
41193
|
-
"name": "
|
41194
|
-
"optional": true,
|
41160
|
+
"name": "changedProperties",
|
41195
41161
|
"type": {
|
41196
|
-
"text": "
|
41197
|
-
}
|
41162
|
+
"text": "PropertyValues"
|
41163
|
+
},
|
41164
|
+
"description": "The changed properties."
|
41198
41165
|
}
|
41199
41166
|
],
|
41200
|
-
"description": "
|
41167
|
+
"description": "Updates the tooltip type attribute and sets the appropriate aria props on the trigger component."
|
41201
41168
|
},
|
41202
41169
|
{
|
41203
|
-
"kind": "
|
41204
|
-
"name": "
|
41205
|
-
"
|
41206
|
-
|
41207
|
-
"type": {
|
41208
|
-
"text": "void"
|
41209
|
-
}
|
41170
|
+
"kind": "field",
|
41171
|
+
"name": "zIndex",
|
41172
|
+
"type": {
|
41173
|
+
"text": "number"
|
41210
41174
|
},
|
41211
|
-
"description": "
|
41175
|
+
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\nThe backdrop itself will have a z-index of `zIndex - 1`.",
|
41176
|
+
"default": "1000",
|
41177
|
+
"attribute": "z-index",
|
41178
|
+
"reflects": true,
|
41179
|
+
"inheritedFrom": {
|
41180
|
+
"name": "Popover",
|
41181
|
+
"module": "components/popover/popover.component.js"
|
41182
|
+
}
|
41212
41183
|
},
|
41213
41184
|
{
|
41214
|
-
"kind": "
|
41215
|
-
"name": "
|
41216
|
-
"privacy": "private",
|
41217
|
-
"return": {
|
41218
|
-
"type": {
|
41219
|
-
"text": "void"
|
41220
|
-
}
|
41221
|
-
},
|
41222
|
-
"description": "Handler for slotchange event"
|
41223
|
-
}
|
41224
|
-
],
|
41225
|
-
"events": [
|
41226
|
-
{
|
41185
|
+
"kind": "field",
|
41186
|
+
"name": "preventScroll",
|
41227
41187
|
"type": {
|
41228
|
-
"text": "
|
41188
|
+
"text": "boolean"
|
41189
|
+
},
|
41190
|
+
"privacy": "protected",
|
41191
|
+
"description": "Prevent outside scrolling when element is shown.\n\nIMPLEMENT THIS IN YOUR COMPONENT.",
|
41192
|
+
"default": "false",
|
41193
|
+
"attribute": "prevent-scroll",
|
41194
|
+
"reflects": true,
|
41195
|
+
"inheritedFrom": {
|
41196
|
+
"name": "Popover",
|
41197
|
+
"module": "components/popover/popover.component.js"
|
41229
41198
|
}
|
41230
41199
|
},
|
41231
41200
|
{
|
41232
|
-
"
|
41233
|
-
"name": "
|
41234
|
-
"
|
41201
|
+
"kind": "method",
|
41202
|
+
"name": "activatePreventScroll",
|
41203
|
+
"privacy": "protected",
|
41204
|
+
"inheritedFrom": {
|
41205
|
+
"name": "Popover",
|
41206
|
+
"module": "components/popover/popover.component.js"
|
41207
|
+
}
|
41235
41208
|
},
|
41236
41209
|
{
|
41237
|
-
"
|
41238
|
-
"name": "
|
41239
|
-
"
|
41240
|
-
}
|
41241
|
-
],
|
41242
|
-
"attributes": [
|
41243
|
-
{
|
41244
|
-
"name": "type",
|
41245
|
-
"type": {
|
41246
|
-
"text": "TextType"
|
41247
|
-
},
|
41248
|
-
"description": "Specifies the text style to be applied to the internal text component.\nUses the same types as the Text component.",
|
41249
|
-
"default": "body-large-regular",
|
41250
|
-
"fieldName": "type"
|
41251
|
-
},
|
41252
|
-
{
|
41253
|
-
"name": "tagname",
|
41254
|
-
"type": {
|
41255
|
-
"text": "TagName | undefined"
|
41256
|
-
},
|
41257
|
-
"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 internal text element.\n\nAcceptable values include all valid tag names from the Text component.",
|
41258
|
-
"fieldName": "tagname"
|
41259
|
-
},
|
41260
|
-
{
|
41261
|
-
"name": "speed",
|
41262
|
-
"type": {
|
41263
|
-
"text": "TypewriterSpeed"
|
41264
|
-
},
|
41265
|
-
"description": "Speed of the typewriter effect in milliseconds per character.\nCan be a string preset or a numeric string in milliseconds.\n- 'very-slow' = 240ms per character\n- 'slow' = 120ms per character\n- 'normal' = 60ms per character (default)\n- 'fast' = 20ms per character\n- 'very-fast' = 1ms per character\n- Or any numeric string representing milliseconds (e.g., '100')",
|
41266
|
-
"default": "'normal' (60ms per character)",
|
41267
|
-
"fieldName": "speed"
|
41268
|
-
},
|
41269
|
-
{
|
41270
|
-
"name": "max-queue-size",
|
41271
|
-
"type": {
|
41272
|
-
"text": "number"
|
41273
|
-
},
|
41274
|
-
"description": "Maximum number of text chunks that can be queued before oldest chunks are dropped.\nSet to prevent memory accumulation from excessive queuing.",
|
41275
|
-
"default": "Number.MAX_SAFE_INTEGER (effectively unlimited)",
|
41276
|
-
"fieldName": "maxQueueSize"
|
41277
|
-
}
|
41278
|
-
],
|
41279
|
-
"superclass": {
|
41280
|
-
"name": "Component",
|
41281
|
-
"module": "/src/models"
|
41282
|
-
},
|
41283
|
-
"tagName": "mdc-typewriter",
|
41284
|
-
"jsDoc": "/**\n * Typewriter component that creates a typewriter effect on text content.\n * It uses the Text component internally, adding a progressive typing effect.\n *\n * The `type` attribute allows changing the text style (passed to the internal Text component).\n * The `tagname` attribute allows changing the tag name of the text element (passed to the internal Text component).\n * The default tag name is `p`.\n *\n * The `speed` attribute controls typing speed in milliseconds per character:\n * - 'very-slow' = 240ms per character\n * - 'slow' = 120ms per character\n * - 'normal' = 60ms per character (default)\n * - 'fast' = 20ms per character\n * - 'very-fast' = 1ms per character\n * - Or any numeric string representing milliseconds\n *\n * Advanced features:\n * - Dynamic speed adjustment during typing\n * - Chunked text addition via addTextChunk() method\n * - Instant text addition via addInstantTextChunk() method or instant parameter\n * - Mixed instant and animated chunks in queue\n * - Continues typing in background tabs\n * - Performance optimized for large text\n * - maxQueueSize to limit memory usage from excessive queuing\n * - event handling for typing completion and content changes\n *\n * The component includes accessibility features:\n * - Screen readers announce the complete text, not character by character\n * - Uses aria-live=\"polite\" for dynamic content updates\n * - Sets aria-busy during typing animation\n *\n * @dependency mdc-text\n *\n * @tagname mdc-typewriter\n * @slot - Default slot for text content\n *\n * @csspart container - Container for the text element\n * @csspart text - The text element (forwarded to mdc-text)\n *\n * @event typing-complete - (React: onTypingComplete) Fired when the typewriter finishes typing all content.\n * Detail: \\{ finalContent: string \\}\n * @event change - (React: onChange) Fired when the content of the typewriter changes.\n * Detail: \\{ content: string, isTyping: boolean \\}\n */",
|
41285
|
-
"customElement": true
|
41286
|
-
}
|
41287
|
-
],
|
41288
|
-
"exports": [
|
41289
|
-
{
|
41290
|
-
"kind": "js",
|
41291
|
-
"name": "default",
|
41292
|
-
"declaration": {
|
41293
|
-
"name": "Typewriter",
|
41294
|
-
"module": "components/typewriter/typewriter.component.js"
|
41295
|
-
}
|
41296
|
-
}
|
41297
|
-
]
|
41298
|
-
},
|
41299
|
-
{
|
41300
|
-
"kind": "javascript-module",
|
41301
|
-
"path": "components/tooltip/tooltip.component.js",
|
41302
|
-
"declarations": [
|
41303
|
-
{
|
41304
|
-
"kind": "class",
|
41305
|
-
"description": "A tooltip is triggered by mouse hover or by keyboard focus\nand will disappear upon mouse exit or focus change.\n\nNote: Tooltips cannot contain content that can be focused or interacted with.",
|
41306
|
-
"name": "Tooltip",
|
41307
|
-
"cssProperties": [
|
41308
|
-
{
|
41309
|
-
"description": "The maximum width of the tooltip.",
|
41310
|
-
"name": "--mdc-tooltip-max-width"
|
41311
|
-
},
|
41312
|
-
{
|
41313
|
-
"description": "The padding of the tooltip.",
|
41314
|
-
"name": "--mdc-tooltip-padding"
|
41315
|
-
},
|
41316
|
-
{
|
41317
|
-
"description": "The text color of the tooltip.",
|
41318
|
-
"name": "--mdc-tooltip-text-color"
|
41319
|
-
},
|
41320
|
-
{
|
41321
|
-
"description": "The text color of the tooltip when the color is contrast.",
|
41322
|
-
"name": "--mdc-tooltip-text-color-contrast"
|
41323
|
-
},
|
41324
|
-
{
|
41325
|
-
"description": "radius of the arrow border",
|
41326
|
-
"name": "--mdc-popover-arrow-border-radius",
|
41327
|
-
"inheritedFrom": {
|
41328
|
-
"name": "Popover",
|
41329
|
-
"module": "src/components/popover/popover.component.ts"
|
41330
|
-
}
|
41331
|
-
},
|
41332
|
-
{
|
41333
|
-
"description": "border of the arrow",
|
41334
|
-
"name": "--mdc-popover-arrow-border",
|
41335
|
-
"inheritedFrom": {
|
41336
|
-
"name": "Popover",
|
41337
|
-
"module": "src/components/popover/popover.component.ts"
|
41338
|
-
}
|
41339
|
-
},
|
41340
|
-
{
|
41341
|
-
"description": "primary background color of the popover",
|
41342
|
-
"name": "--mdc-popover-primary-background-color",
|
41343
|
-
"inheritedFrom": {
|
41344
|
-
"name": "Popover",
|
41345
|
-
"module": "src/components/popover/popover.component.ts"
|
41346
|
-
}
|
41347
|
-
},
|
41348
|
-
{
|
41349
|
-
"description": "border color of the popover",
|
41350
|
-
"name": "--mdc-popover-border-color",
|
41351
|
-
"inheritedFrom": {
|
41352
|
-
"name": "Popover",
|
41353
|
-
"module": "src/components/popover/popover.component.ts"
|
41354
|
-
}
|
41355
|
-
},
|
41356
|
-
{
|
41357
|
-
"description": "inverted background color of the popover",
|
41358
|
-
"name": "--mdc-popover-inverted-background-color",
|
41359
|
-
"inheritedFrom": {
|
41360
|
-
"name": "Popover",
|
41361
|
-
"module": "src/components/popover/popover.component.ts"
|
41362
|
-
}
|
41363
|
-
},
|
41364
|
-
{
|
41365
|
-
"description": "inverted border color of the popover",
|
41366
|
-
"name": "--mdc-popover-inverted-border-color",
|
41210
|
+
"kind": "method",
|
41211
|
+
"name": "deactivatePreventScroll",
|
41212
|
+
"privacy": "protected",
|
41367
41213
|
"inheritedFrom": {
|
41368
41214
|
"name": "Popover",
|
41369
|
-
"module": "
|
41215
|
+
"module": "components/popover/popover.component.js"
|
41370
41216
|
}
|
41371
41217
|
},
|
41372
41218
|
{
|
41373
|
-
"
|
41374
|
-
"name": "
|
41219
|
+
"kind": "field",
|
41220
|
+
"name": "focusTrap",
|
41221
|
+
"type": {
|
41222
|
+
"text": "boolean"
|
41223
|
+
},
|
41224
|
+
"privacy": "protected",
|
41225
|
+
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.\n\nIMPLEMENT THIS IN YOUR COMPONENT.",
|
41226
|
+
"default": "false",
|
41227
|
+
"attribute": "focus-trap",
|
41228
|
+
"reflects": true,
|
41375
41229
|
"inheritedFrom": {
|
41376
41230
|
"name": "Popover",
|
41377
|
-
"module": "
|
41231
|
+
"module": "components/popover/popover.component.js"
|
41378
41232
|
}
|
41379
41233
|
},
|
41380
41234
|
{
|
41381
|
-
"
|
41382
|
-
"name": "
|
41235
|
+
"kind": "field",
|
41236
|
+
"name": "shouldFocusTrapWrap",
|
41237
|
+
"type": {
|
41238
|
+
"text": "boolean"
|
41239
|
+
},
|
41240
|
+
"default": "true",
|
41241
|
+
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
|
41242
|
+
"attribute": "should-focus-trap-wrap",
|
41243
|
+
"reflects": true,
|
41383
41244
|
"inheritedFrom": {
|
41384
41245
|
"name": "Popover",
|
41385
|
-
"module": "
|
41246
|
+
"module": "components/popover/popover.component.js"
|
41386
41247
|
}
|
41387
41248
|
},
|
41388
41249
|
{
|
41389
|
-
"
|
41390
|
-
"name": "
|
41250
|
+
"kind": "method",
|
41251
|
+
"name": "setIsFocusTrapActivated",
|
41252
|
+
"privacy": "private",
|
41253
|
+
"parameters": [
|
41254
|
+
{
|
41255
|
+
"name": "isActivated",
|
41256
|
+
"type": {
|
41257
|
+
"text": "boolean"
|
41258
|
+
}
|
41259
|
+
}
|
41260
|
+
],
|
41391
41261
|
"inheritedFrom": {
|
41392
41262
|
"name": "Popover",
|
41393
|
-
"module": "
|
41263
|
+
"module": "components/popover/popover.component.js"
|
41394
41264
|
}
|
41395
41265
|
},
|
41396
41266
|
{
|
41397
|
-
"
|
41398
|
-
"name": "
|
41267
|
+
"kind": "method",
|
41268
|
+
"name": "activateFocusTrap",
|
41269
|
+
"privacy": "public",
|
41270
|
+
"description": "Activate the focus trap",
|
41399
41271
|
"inheritedFrom": {
|
41400
41272
|
"name": "Popover",
|
41401
|
-
"module": "
|
41273
|
+
"module": "components/popover/popover.component.js"
|
41402
41274
|
}
|
41403
41275
|
},
|
41404
41276
|
{
|
41405
|
-
"
|
41406
|
-
"name": "
|
41277
|
+
"kind": "method",
|
41278
|
+
"name": "deactivateFocusTrap",
|
41279
|
+
"privacy": "public",
|
41280
|
+
"description": "Deactivate the focus trap.",
|
41407
41281
|
"inheritedFrom": {
|
41408
41282
|
"name": "Popover",
|
41409
|
-
"module": "
|
41283
|
+
"module": "components/popover/popover.component.js"
|
41410
41284
|
}
|
41411
|
-
}
|
41412
|
-
],
|
41413
|
-
"members": [
|
41414
|
-
{
|
41415
|
-
"kind": "field",
|
41416
|
-
"name": "tooltipType",
|
41417
|
-
"type": {
|
41418
|
-
"text": "TooltipType"
|
41419
|
-
},
|
41420
|
-
"description": "The type of tooltip.\n- **description** sets aria-describedby on the trigger component which refers to the tooltip id.\n- **label** sets aria-labelledby on the trigger component which refers to the tooltip id.\n- **none** no aria props set on trigger component referring to the tooltip id.",
|
41421
|
-
"default": "'description'",
|
41422
|
-
"attribute": "tooltip-type",
|
41423
|
-
"reflects": true
|
41424
|
-
},
|
41425
|
-
{
|
41426
|
-
"kind": "field",
|
41427
|
-
"name": "defaultSlotNodes",
|
41428
|
-
"type": {
|
41429
|
-
"text": "Array<Node>"
|
41430
|
-
},
|
41431
|
-
"privacy": "private"
|
41432
41285
|
},
|
41433
41286
|
{
|
41434
41287
|
"kind": "method",
|
41435
|
-
"name": "
|
41288
|
+
"name": "hasNoClientRects",
|
41436
41289
|
"privacy": "private",
|
41290
|
+
"parameters": [
|
41291
|
+
{
|
41292
|
+
"name": "element",
|
41293
|
+
"type": {
|
41294
|
+
"text": "HTMLElement"
|
41295
|
+
},
|
41296
|
+
"description": "The element to check."
|
41297
|
+
}
|
41298
|
+
],
|
41299
|
+
"description": "Checks if the element has no client rectangles (not visible in the viewport).",
|
41437
41300
|
"return": {
|
41438
41301
|
"type": {
|
41439
41302
|
"text": ""
|
41440
41303
|
}
|
41304
|
+
},
|
41305
|
+
"inheritedFrom": {
|
41306
|
+
"name": "Popover",
|
41307
|
+
"module": "components/popover/popover.component.js"
|
41441
41308
|
}
|
41442
41309
|
},
|
41443
41310
|
{
|
41444
41311
|
"kind": "method",
|
41445
|
-
"name": "
|
41312
|
+
"name": "hasZeroDimensions",
|
41446
41313
|
"privacy": "private",
|
41447
|
-
"return": {
|
41448
|
-
"type": {
|
41449
|
-
"text": "void"
|
41450
|
-
}
|
41451
|
-
},
|
41452
41314
|
"parameters": [
|
41453
41315
|
{
|
41454
|
-
"name": "
|
41316
|
+
"name": "element",
|
41455
41317
|
"type": {
|
41456
|
-
"text": "
|
41318
|
+
"text": "HTMLElement"
|
41457
41319
|
},
|
41458
|
-
"description": "The
|
41320
|
+
"description": "The element to check."
|
41459
41321
|
}
|
41460
41322
|
],
|
41461
|
-
"description": "
|
41462
|
-
},
|
41463
|
-
{
|
41464
|
-
"kind": "method",
|
41465
|
-
"name": "onIdUpdated",
|
41466
|
-
"privacy": "private",
|
41323
|
+
"description": "Checks if the element has zero dimensions (width and height are both 0).",
|
41467
41324
|
"return": {
|
41468
41325
|
"type": {
|
41469
|
-
"text": "
|
41326
|
+
"text": ""
|
41470
41327
|
}
|
41471
41328
|
},
|
41472
|
-
"
|
41329
|
+
"inheritedFrom": {
|
41330
|
+
"name": "Popover",
|
41331
|
+
"module": "components/popover/popover.component.js"
|
41332
|
+
}
|
41473
41333
|
},
|
41474
41334
|
{
|
41475
41335
|
"kind": "method",
|
41476
|
-
"name": "
|
41477
|
-
"privacy": "private",
|
41478
|
-
"return": {
|
41479
|
-
"type": {
|
41480
|
-
"text": "void"
|
41481
|
-
}
|
41482
|
-
},
|
41483
|
-
"description": "Updates the placement attribute if it is not a valid placement.\nOverriding the default from Popover"
|
41484
|
-
},
|
41485
|
-
{
|
41486
|
-
"kind": "method",
|
41487
|
-
"name": "onTooltipTypeUpdated",
|
41488
|
-
"privacy": "private",
|
41489
|
-
"return": {
|
41490
|
-
"type": {
|
41491
|
-
"text": "void"
|
41492
|
-
}
|
41493
|
-
},
|
41494
|
-
"parameters": [
|
41495
|
-
{
|
41496
|
-
"name": "changedProperties",
|
41497
|
-
"type": {
|
41498
|
-
"text": "PropertyValues"
|
41499
|
-
},
|
41500
|
-
"description": "The changed properties."
|
41501
|
-
}
|
41502
|
-
],
|
41503
|
-
"description": "Updates the tooltip type attribute and sets the appropriate aria props on the trigger component."
|
41504
|
-
},
|
41505
|
-
{
|
41506
|
-
"kind": "field",
|
41507
|
-
"name": "zIndex",
|
41508
|
-
"type": {
|
41509
|
-
"text": "number"
|
41510
|
-
},
|
41511
|
-
"description": "IMPLEMENT THIS IN YOUR COMPONENT.\n\nThe z-index of the component where the backdrop will be attached to.\nThe backdrop itself will have a z-index of `zIndex - 1`.",
|
41512
|
-
"default": "1000",
|
41513
|
-
"attribute": "z-index",
|
41514
|
-
"reflects": true,
|
41515
|
-
"inheritedFrom": {
|
41516
|
-
"name": "Popover",
|
41517
|
-
"module": "components/popover/popover.component.js"
|
41518
|
-
}
|
41519
|
-
},
|
41520
|
-
{
|
41521
|
-
"kind": "field",
|
41522
|
-
"name": "preventScroll",
|
41523
|
-
"type": {
|
41524
|
-
"text": "boolean"
|
41525
|
-
},
|
41526
|
-
"privacy": "protected",
|
41527
|
-
"description": "Prevent outside scrolling when element is shown.\n\nIMPLEMENT THIS IN YOUR COMPONENT.",
|
41528
|
-
"default": "false",
|
41529
|
-
"attribute": "prevent-scroll",
|
41530
|
-
"reflects": true,
|
41531
|
-
"inheritedFrom": {
|
41532
|
-
"name": "Popover",
|
41533
|
-
"module": "components/popover/popover.component.js"
|
41534
|
-
}
|
41535
|
-
},
|
41536
|
-
{
|
41537
|
-
"kind": "method",
|
41538
|
-
"name": "activatePreventScroll",
|
41539
|
-
"privacy": "protected",
|
41540
|
-
"inheritedFrom": {
|
41541
|
-
"name": "Popover",
|
41542
|
-
"module": "components/popover/popover.component.js"
|
41543
|
-
}
|
41544
|
-
},
|
41545
|
-
{
|
41546
|
-
"kind": "method",
|
41547
|
-
"name": "deactivatePreventScroll",
|
41548
|
-
"privacy": "protected",
|
41549
|
-
"inheritedFrom": {
|
41550
|
-
"name": "Popover",
|
41551
|
-
"module": "components/popover/popover.component.js"
|
41552
|
-
}
|
41553
|
-
},
|
41554
|
-
{
|
41555
|
-
"kind": "field",
|
41556
|
-
"name": "focusTrap",
|
41557
|
-
"type": {
|
41558
|
-
"text": "boolean"
|
41559
|
-
},
|
41560
|
-
"privacy": "protected",
|
41561
|
-
"description": "Determines whether the focus trap is enabled.\nIf true, focus will be restricted to the content within this component.\n\nIMPLEMENT THIS IN YOUR COMPONENT.",
|
41562
|
-
"default": "false",
|
41563
|
-
"attribute": "focus-trap",
|
41564
|
-
"reflects": true,
|
41565
|
-
"inheritedFrom": {
|
41566
|
-
"name": "Popover",
|
41567
|
-
"module": "components/popover/popover.component.js"
|
41568
|
-
}
|
41569
|
-
},
|
41570
|
-
{
|
41571
|
-
"kind": "field",
|
41572
|
-
"name": "shouldFocusTrapWrap",
|
41573
|
-
"type": {
|
41574
|
-
"text": "boolean"
|
41575
|
-
},
|
41576
|
-
"default": "true",
|
41577
|
-
"description": "Determines whether focus should wrap around when reaching the first or last focusable element.\nIf true, focus will cycle from end to start and vice versa.\n\nThis only applies when `focusTrap` is true.",
|
41578
|
-
"attribute": "should-focus-trap-wrap",
|
41579
|
-
"reflects": true,
|
41580
|
-
"inheritedFrom": {
|
41581
|
-
"name": "Popover",
|
41582
|
-
"module": "components/popover/popover.component.js"
|
41583
|
-
}
|
41584
|
-
},
|
41585
|
-
{
|
41586
|
-
"kind": "method",
|
41587
|
-
"name": "setIsFocusTrapActivated",
|
41588
|
-
"privacy": "private",
|
41589
|
-
"parameters": [
|
41590
|
-
{
|
41591
|
-
"name": "isActivated",
|
41592
|
-
"type": {
|
41593
|
-
"text": "boolean"
|
41594
|
-
}
|
41595
|
-
}
|
41596
|
-
],
|
41597
|
-
"inheritedFrom": {
|
41598
|
-
"name": "Popover",
|
41599
|
-
"module": "components/popover/popover.component.js"
|
41600
|
-
}
|
41601
|
-
},
|
41602
|
-
{
|
41603
|
-
"kind": "method",
|
41604
|
-
"name": "activateFocusTrap",
|
41605
|
-
"privacy": "public",
|
41606
|
-
"description": "Activate the focus trap",
|
41607
|
-
"inheritedFrom": {
|
41608
|
-
"name": "Popover",
|
41609
|
-
"module": "components/popover/popover.component.js"
|
41610
|
-
}
|
41611
|
-
},
|
41612
|
-
{
|
41613
|
-
"kind": "method",
|
41614
|
-
"name": "deactivateFocusTrap",
|
41615
|
-
"privacy": "public",
|
41616
|
-
"description": "Deactivate the focus trap.",
|
41617
|
-
"inheritedFrom": {
|
41618
|
-
"name": "Popover",
|
41619
|
-
"module": "components/popover/popover.component.js"
|
41620
|
-
}
|
41621
|
-
},
|
41622
|
-
{
|
41623
|
-
"kind": "method",
|
41624
|
-
"name": "hasNoClientRects",
|
41625
|
-
"privacy": "private",
|
41626
|
-
"parameters": [
|
41627
|
-
{
|
41628
|
-
"name": "element",
|
41629
|
-
"type": {
|
41630
|
-
"text": "HTMLElement"
|
41631
|
-
},
|
41632
|
-
"description": "The element to check."
|
41633
|
-
}
|
41634
|
-
],
|
41635
|
-
"description": "Checks if the element has no client rectangles (not visible in the viewport).",
|
41636
|
-
"return": {
|
41637
|
-
"type": {
|
41638
|
-
"text": ""
|
41639
|
-
}
|
41640
|
-
},
|
41641
|
-
"inheritedFrom": {
|
41642
|
-
"name": "Popover",
|
41643
|
-
"module": "components/popover/popover.component.js"
|
41644
|
-
}
|
41645
|
-
},
|
41646
|
-
{
|
41647
|
-
"kind": "method",
|
41648
|
-
"name": "hasZeroDimensions",
|
41649
|
-
"privacy": "private",
|
41650
|
-
"parameters": [
|
41651
|
-
{
|
41652
|
-
"name": "element",
|
41653
|
-
"type": {
|
41654
|
-
"text": "HTMLElement"
|
41655
|
-
},
|
41656
|
-
"description": "The element to check."
|
41657
|
-
}
|
41658
|
-
],
|
41659
|
-
"description": "Checks if the element has zero dimensions (width and height are both 0).",
|
41660
|
-
"return": {
|
41661
|
-
"type": {
|
41662
|
-
"text": ""
|
41663
|
-
}
|
41664
|
-
},
|
41665
|
-
"inheritedFrom": {
|
41666
|
-
"name": "Popover",
|
41667
|
-
"module": "components/popover/popover.component.js"
|
41668
|
-
}
|
41669
|
-
},
|
41670
|
-
{
|
41671
|
-
"kind": "method",
|
41672
|
-
"name": "isNotVisible",
|
41336
|
+
"name": "isNotVisible",
|
41673
41337
|
"privacy": "private",
|
41674
41338
|
"parameters": [
|
41675
41339
|
{
|
@@ -43371,6 +43035,342 @@
|
|
43371
43035
|
}
|
43372
43036
|
]
|
43373
43037
|
},
|
43038
|
+
{
|
43039
|
+
"kind": "javascript-module",
|
43040
|
+
"path": "components/typewriter/typewriter.component.js",
|
43041
|
+
"declarations": [
|
43042
|
+
{
|
43043
|
+
"kind": "class",
|
43044
|
+
"description": "Typewriter component that creates a typewriter effect on text content.\nIt uses the Text component internally, adding a progressive typing effect.\n\nThe `type` attribute allows changing the text style (passed to the internal Text component).\nThe `tagname` attribute allows changing the tag name of the text element (passed to the internal Text component).\nThe default tag name is `p`.\n\nThe `speed` attribute controls typing speed in milliseconds per character:\n- 'very-slow' = 240ms per character\n- 'slow' = 120ms per character\n- 'normal' = 60ms per character (default)\n- 'fast' = 20ms per character\n- 'very-fast' = 1ms per character\n- Or any numeric string representing milliseconds\n\nAdvanced features:\n- Dynamic speed adjustment during typing\n- Chunked text addition via addTextChunk() method\n- Instant text addition via addInstantTextChunk() method or instant parameter\n- Mixed instant and animated chunks in queue\n- Continues typing in background tabs\n- Performance optimized for large text\n- maxQueueSize to limit memory usage from excessive queuing\n- event handling for typing completion and content changes\n\nThe component includes accessibility features:\n- Screen readers announce the complete text, not character by character\n- Uses aria-live=\"polite\" for dynamic content updates\n- Sets aria-busy during typing animation",
|
43045
|
+
"name": "Typewriter",
|
43046
|
+
"cssParts": [
|
43047
|
+
{
|
43048
|
+
"description": "Container for the text element",
|
43049
|
+
"name": "container"
|
43050
|
+
},
|
43051
|
+
{
|
43052
|
+
"description": "The text element (forwarded to mdc-text)",
|
43053
|
+
"name": "text"
|
43054
|
+
}
|
43055
|
+
],
|
43056
|
+
"slots": [
|
43057
|
+
{
|
43058
|
+
"description": "Default slot for text content",
|
43059
|
+
"name": ""
|
43060
|
+
}
|
43061
|
+
],
|
43062
|
+
"members": [
|
43063
|
+
{
|
43064
|
+
"kind": "field",
|
43065
|
+
"name": "type",
|
43066
|
+
"type": {
|
43067
|
+
"text": "TextType"
|
43068
|
+
},
|
43069
|
+
"privacy": "public",
|
43070
|
+
"description": "Specifies the text style to be applied to the internal text component.\nUses the same types as the Text component.",
|
43071
|
+
"default": "body-large-regular",
|
43072
|
+
"attribute": "type",
|
43073
|
+
"reflects": true
|
43074
|
+
},
|
43075
|
+
{
|
43076
|
+
"kind": "field",
|
43077
|
+
"name": "tagname",
|
43078
|
+
"type": {
|
43079
|
+
"text": "TagName | undefined"
|
43080
|
+
},
|
43081
|
+
"privacy": "public",
|
43082
|
+
"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 internal text element.\n\nAcceptable values include all valid tag names from the Text component.",
|
43083
|
+
"attribute": "tagname",
|
43084
|
+
"reflects": true
|
43085
|
+
},
|
43086
|
+
{
|
43087
|
+
"kind": "field",
|
43088
|
+
"name": "speed",
|
43089
|
+
"type": {
|
43090
|
+
"text": "TypewriterSpeed"
|
43091
|
+
},
|
43092
|
+
"privacy": "public",
|
43093
|
+
"description": "Speed of the typewriter effect in milliseconds per character.\nCan be a string preset or a numeric string in milliseconds.\n- 'very-slow' = 240ms per character\n- 'slow' = 120ms per character\n- 'normal' = 60ms per character (default)\n- 'fast' = 20ms per character\n- 'very-fast' = 1ms per character\n- Or any numeric string representing milliseconds (e.g., '100')",
|
43094
|
+
"default": "'normal' (60ms per character)",
|
43095
|
+
"attribute": "speed",
|
43096
|
+
"reflects": true
|
43097
|
+
},
|
43098
|
+
{
|
43099
|
+
"kind": "field",
|
43100
|
+
"name": "maxQueueSize",
|
43101
|
+
"type": {
|
43102
|
+
"text": "number"
|
43103
|
+
},
|
43104
|
+
"privacy": "public",
|
43105
|
+
"description": "Maximum number of text chunks that can be queued before oldest chunks are dropped.\nSet to prevent memory accumulation from excessive queuing.",
|
43106
|
+
"default": "Number.MAX_SAFE_INTEGER (effectively unlimited)",
|
43107
|
+
"attribute": "max-queue-size",
|
43108
|
+
"reflects": true
|
43109
|
+
},
|
43110
|
+
{
|
43111
|
+
"kind": "method",
|
43112
|
+
"name": "createTimeout",
|
43113
|
+
"privacy": "private",
|
43114
|
+
"return": {
|
43115
|
+
"type": {
|
43116
|
+
"text": "number"
|
43117
|
+
}
|
43118
|
+
},
|
43119
|
+
"parameters": [
|
43120
|
+
{
|
43121
|
+
"name": "callback",
|
43122
|
+
"type": {
|
43123
|
+
"text": "() => void"
|
43124
|
+
}
|
43125
|
+
},
|
43126
|
+
{
|
43127
|
+
"name": "delay",
|
43128
|
+
"type": {
|
43129
|
+
"text": "number"
|
43130
|
+
}
|
43131
|
+
}
|
43132
|
+
],
|
43133
|
+
"description": "Helper to create tracked setTimeout that will be cleaned up on disconnect"
|
43134
|
+
},
|
43135
|
+
{
|
43136
|
+
"kind": "method",
|
43137
|
+
"name": "clearAllTimeouts",
|
43138
|
+
"privacy": "private",
|
43139
|
+
"return": {
|
43140
|
+
"type": {
|
43141
|
+
"text": "void"
|
43142
|
+
}
|
43143
|
+
},
|
43144
|
+
"description": "Clear all pending timeouts"
|
43145
|
+
},
|
43146
|
+
{
|
43147
|
+
"kind": "method",
|
43148
|
+
"name": "clearQueue",
|
43149
|
+
"privacy": "public",
|
43150
|
+
"return": {
|
43151
|
+
"type": {
|
43152
|
+
"text": "void"
|
43153
|
+
}
|
43154
|
+
},
|
43155
|
+
"description": "Clears the text chunk queue and stops processing\nUseful for resetting the component state"
|
43156
|
+
},
|
43157
|
+
{
|
43158
|
+
"kind": "method",
|
43159
|
+
"name": "addTextChunk",
|
43160
|
+
"privacy": "public",
|
43161
|
+
"return": {
|
43162
|
+
"type": {
|
43163
|
+
"text": "void"
|
43164
|
+
}
|
43165
|
+
},
|
43166
|
+
"parameters": [
|
43167
|
+
{
|
43168
|
+
"name": "text",
|
43169
|
+
"type": {
|
43170
|
+
"text": "string"
|
43171
|
+
},
|
43172
|
+
"description": "The text to add"
|
43173
|
+
},
|
43174
|
+
{
|
43175
|
+
"name": "speed",
|
43176
|
+
"optional": true,
|
43177
|
+
"type": {
|
43178
|
+
"text": "TypewriterSpeed"
|
43179
|
+
},
|
43180
|
+
"description": "Optional speed override for this chunk"
|
43181
|
+
},
|
43182
|
+
{
|
43183
|
+
"name": "instant",
|
43184
|
+
"optional": true,
|
43185
|
+
"type": {
|
43186
|
+
"text": "boolean"
|
43187
|
+
},
|
43188
|
+
"description": "If true, text appears instantly without animation"
|
43189
|
+
}
|
43190
|
+
],
|
43191
|
+
"description": "Adds a chunk of text to be typed out, optionally with a different speed"
|
43192
|
+
},
|
43193
|
+
{
|
43194
|
+
"kind": "method",
|
43195
|
+
"name": "addInstantTextChunk",
|
43196
|
+
"privacy": "public",
|
43197
|
+
"return": {
|
43198
|
+
"type": {
|
43199
|
+
"text": "void"
|
43200
|
+
}
|
43201
|
+
},
|
43202
|
+
"parameters": [
|
43203
|
+
{
|
43204
|
+
"name": "text",
|
43205
|
+
"type": {
|
43206
|
+
"text": "string"
|
43207
|
+
},
|
43208
|
+
"description": "The text to add instantly"
|
43209
|
+
}
|
43210
|
+
],
|
43211
|
+
"description": "Adds a chunk of text instantly without typing animation"
|
43212
|
+
},
|
43213
|
+
{
|
43214
|
+
"kind": "method",
|
43215
|
+
"name": "processChunkQueue",
|
43216
|
+
"privacy": "private",
|
43217
|
+
"return": {
|
43218
|
+
"type": {
|
43219
|
+
"text": "void"
|
43220
|
+
}
|
43221
|
+
},
|
43222
|
+
"description": "Processes all chunks in the queue"
|
43223
|
+
},
|
43224
|
+
{
|
43225
|
+
"kind": "method",
|
43226
|
+
"name": "processNextChunk",
|
43227
|
+
"privacy": "private",
|
43228
|
+
"return": {
|
43229
|
+
"type": {
|
43230
|
+
"text": "void"
|
43231
|
+
}
|
43232
|
+
},
|
43233
|
+
"description": "Processes the next chunk in the queue"
|
43234
|
+
},
|
43235
|
+
{
|
43236
|
+
"kind": "method",
|
43237
|
+
"name": "getTypingDelayMs",
|
43238
|
+
"privacy": "private",
|
43239
|
+
"return": {
|
43240
|
+
"type": {
|
43241
|
+
"text": "number"
|
43242
|
+
}
|
43243
|
+
},
|
43244
|
+
"description": "Gets the typing delay in milliseconds per character"
|
43245
|
+
},
|
43246
|
+
{
|
43247
|
+
"kind": "method",
|
43248
|
+
"name": "captureAndProcessContent",
|
43249
|
+
"privacy": "private",
|
43250
|
+
"return": {
|
43251
|
+
"type": {
|
43252
|
+
"text": "void"
|
43253
|
+
}
|
43254
|
+
},
|
43255
|
+
"description": "Captures slot content and starts typewriter animation"
|
43256
|
+
},
|
43257
|
+
{
|
43258
|
+
"kind": "method",
|
43259
|
+
"name": "startTypingAnimation",
|
43260
|
+
"privacy": "private",
|
43261
|
+
"return": {
|
43262
|
+
"type": {
|
43263
|
+
"text": "void"
|
43264
|
+
}
|
43265
|
+
},
|
43266
|
+
"parameters": [
|
43267
|
+
{
|
43268
|
+
"name": "onComplete",
|
43269
|
+
"optional": true,
|
43270
|
+
"type": {
|
43271
|
+
"text": "() => void"
|
43272
|
+
}
|
43273
|
+
}
|
43274
|
+
],
|
43275
|
+
"description": "Starts the typewriter animation"
|
43276
|
+
},
|
43277
|
+
{
|
43278
|
+
"kind": "method",
|
43279
|
+
"name": "clearTypingAnimation",
|
43280
|
+
"privacy": "private",
|
43281
|
+
"return": {
|
43282
|
+
"type": {
|
43283
|
+
"text": "void"
|
43284
|
+
}
|
43285
|
+
},
|
43286
|
+
"description": "Clears the typing animation timeout"
|
43287
|
+
},
|
43288
|
+
{
|
43289
|
+
"kind": "method",
|
43290
|
+
"name": "handleSlotChange",
|
43291
|
+
"privacy": "private",
|
43292
|
+
"return": {
|
43293
|
+
"type": {
|
43294
|
+
"text": "void"
|
43295
|
+
}
|
43296
|
+
},
|
43297
|
+
"description": "Handler for slotchange event"
|
43298
|
+
}
|
43299
|
+
],
|
43300
|
+
"events": [
|
43301
|
+
{
|
43302
|
+
"type": {
|
43303
|
+
"text": "CustomEvent"
|
43304
|
+
}
|
43305
|
+
},
|
43306
|
+
{
|
43307
|
+
"description": "(React: onTypingComplete) Fired when the typewriter finishes typing all content. Detail: \\{ finalContent: string \\}",
|
43308
|
+
"name": "typing-complete",
|
43309
|
+
"reactName": "onTypingComplete"
|
43310
|
+
},
|
43311
|
+
{
|
43312
|
+
"description": "(React: onChange) Fired when the content of the typewriter changes. Detail: \\{ content: string, isTyping: boolean \\}",
|
43313
|
+
"name": "change",
|
43314
|
+
"reactName": "onChange"
|
43315
|
+
}
|
43316
|
+
],
|
43317
|
+
"attributes": [
|
43318
|
+
{
|
43319
|
+
"name": "type",
|
43320
|
+
"type": {
|
43321
|
+
"text": "TextType"
|
43322
|
+
},
|
43323
|
+
"description": "Specifies the text style to be applied to the internal text component.\nUses the same types as the Text component.",
|
43324
|
+
"default": "body-large-regular",
|
43325
|
+
"fieldName": "type"
|
43326
|
+
},
|
43327
|
+
{
|
43328
|
+
"name": "tagname",
|
43329
|
+
"type": {
|
43330
|
+
"text": "TagName | undefined"
|
43331
|
+
},
|
43332
|
+
"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 internal text element.\n\nAcceptable values include all valid tag names from the Text component.",
|
43333
|
+
"fieldName": "tagname"
|
43334
|
+
},
|
43335
|
+
{
|
43336
|
+
"name": "speed",
|
43337
|
+
"type": {
|
43338
|
+
"text": "TypewriterSpeed"
|
43339
|
+
},
|
43340
|
+
"description": "Speed of the typewriter effect in milliseconds per character.\nCan be a string preset or a numeric string in milliseconds.\n- 'very-slow' = 240ms per character\n- 'slow' = 120ms per character\n- 'normal' = 60ms per character (default)\n- 'fast' = 20ms per character\n- 'very-fast' = 1ms per character\n- Or any numeric string representing milliseconds (e.g., '100')",
|
43341
|
+
"default": "'normal' (60ms per character)",
|
43342
|
+
"fieldName": "speed"
|
43343
|
+
},
|
43344
|
+
{
|
43345
|
+
"name": "max-queue-size",
|
43346
|
+
"type": {
|
43347
|
+
"text": "number"
|
43348
|
+
},
|
43349
|
+
"description": "Maximum number of text chunks that can be queued before oldest chunks are dropped.\nSet to prevent memory accumulation from excessive queuing.",
|
43350
|
+
"default": "Number.MAX_SAFE_INTEGER (effectively unlimited)",
|
43351
|
+
"fieldName": "maxQueueSize"
|
43352
|
+
}
|
43353
|
+
],
|
43354
|
+
"superclass": {
|
43355
|
+
"name": "Component",
|
43356
|
+
"module": "/src/models"
|
43357
|
+
},
|
43358
|
+
"tagName": "mdc-typewriter",
|
43359
|
+
"jsDoc": "/**\n * Typewriter component that creates a typewriter effect on text content.\n * It uses the Text component internally, adding a progressive typing effect.\n *\n * The `type` attribute allows changing the text style (passed to the internal Text component).\n * The `tagname` attribute allows changing the tag name of the text element (passed to the internal Text component).\n * The default tag name is `p`.\n *\n * The `speed` attribute controls typing speed in milliseconds per character:\n * - 'very-slow' = 240ms per character\n * - 'slow' = 120ms per character\n * - 'normal' = 60ms per character (default)\n * - 'fast' = 20ms per character\n * - 'very-fast' = 1ms per character\n * - Or any numeric string representing milliseconds\n *\n * Advanced features:\n * - Dynamic speed adjustment during typing\n * - Chunked text addition via addTextChunk() method\n * - Instant text addition via addInstantTextChunk() method or instant parameter\n * - Mixed instant and animated chunks in queue\n * - Continues typing in background tabs\n * - Performance optimized for large text\n * - maxQueueSize to limit memory usage from excessive queuing\n * - event handling for typing completion and content changes\n *\n * The component includes accessibility features:\n * - Screen readers announce the complete text, not character by character\n * - Uses aria-live=\"polite\" for dynamic content updates\n * - Sets aria-busy during typing animation\n *\n * @dependency mdc-text\n *\n * @tagname mdc-typewriter\n * @slot - Default slot for text content\n *\n * @csspart container - Container for the text element\n * @csspart text - The text element (forwarded to mdc-text)\n *\n * @event typing-complete - (React: onTypingComplete) Fired when the typewriter finishes typing all content.\n * Detail: \\{ finalContent: string \\}\n * @event change - (React: onChange) Fired when the content of the typewriter changes.\n * Detail: \\{ content: string, isTyping: boolean \\}\n */",
|
43360
|
+
"customElement": true
|
43361
|
+
}
|
43362
|
+
],
|
43363
|
+
"exports": [
|
43364
|
+
{
|
43365
|
+
"kind": "js",
|
43366
|
+
"name": "default",
|
43367
|
+
"declaration": {
|
43368
|
+
"name": "Typewriter",
|
43369
|
+
"module": "components/typewriter/typewriter.component.js"
|
43370
|
+
}
|
43371
|
+
}
|
43372
|
+
]
|
43373
|
+
},
|
43374
43374
|
{
|
43375
43375
|
"kind": "javascript-module",
|
43376
43376
|
"path": "components/virtualizedlist/virtualizedlist.component.js",
|