@momentum-design/components 0.106.2 → 0.106.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 +49 -49
- package/dist/browser/index.js.map +2 -2
- package/dist/components/text/text.component.d.ts +1 -1
- package/dist/components/text/text.component.js +1 -1
- package/dist/components/text/text.constants.d.ts +1 -1
- package/dist/components/text/text.constants.js +1 -1
- package/dist/components/typewriter/typewriter.constants.d.ts +1 -1
- package/dist/custom-elements.json +1133 -1133
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.js +4 -4
- package/package.json +1 -1
@@ -1554,6 +1554,67 @@
|
|
1554
1554
|
}
|
1555
1555
|
]
|
1556
1556
|
},
|
1557
|
+
{
|
1558
|
+
"kind": "javascript-module",
|
1559
|
+
"path": "components/appheader/appheader.component.js",
|
1560
|
+
"declarations": [
|
1561
|
+
{
|
1562
|
+
"kind": "class",
|
1563
|
+
"description": "The `mdc-appheader` component provides a structured and accessible app header layout.\nIt consists of three primary sections: leading, center, and trailing.\n\n- The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n- The **center section** can contain a **search bar**, **icons** or action controls.\n- The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.",
|
1564
|
+
"name": "Appheader",
|
1565
|
+
"cssParts": [
|
1566
|
+
{
|
1567
|
+
"description": "The main container for styling the header.",
|
1568
|
+
"name": "container"
|
1569
|
+
},
|
1570
|
+
{
|
1571
|
+
"description": "The leading section of the header.",
|
1572
|
+
"name": "leading-section"
|
1573
|
+
},
|
1574
|
+
{
|
1575
|
+
"description": "The center section of the header.",
|
1576
|
+
"name": "center-section"
|
1577
|
+
},
|
1578
|
+
{
|
1579
|
+
"description": "The trailing section of the header.",
|
1580
|
+
"name": "trailing-section"
|
1581
|
+
}
|
1582
|
+
],
|
1583
|
+
"slots": [
|
1584
|
+
{
|
1585
|
+
"description": "Slot for the leading section (e.g., brand logo, brand name).",
|
1586
|
+
"name": "leading"
|
1587
|
+
},
|
1588
|
+
{
|
1589
|
+
"description": "Slot for the center section (e.g., search bar, icons).",
|
1590
|
+
"name": "center"
|
1591
|
+
},
|
1592
|
+
{
|
1593
|
+
"description": "Slot for the trailing section (e.g., profile avatar, icons).",
|
1594
|
+
"name": "trailing"
|
1595
|
+
}
|
1596
|
+
],
|
1597
|
+
"members": [],
|
1598
|
+
"superclass": {
|
1599
|
+
"name": "Component",
|
1600
|
+
"module": "/src/models"
|
1601
|
+
},
|
1602
|
+
"tagName": "mdc-appheader",
|
1603
|
+
"jsDoc": "/**\n * The `mdc-appheader` component provides a structured and accessible app header layout.\n * It consists of three primary sections: leading, center, and trailing.\n *\n * - The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n * - The **center section** can contain a **search bar**, **icons** or action controls.\n * - The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.\n *\n * @tagname mdc-appheader\n *\n * @slot leading - Slot for the leading section (e.g., brand logo, brand name).\n * @slot center - Slot for the center section (e.g., search bar, icons).\n * @slot trailing - Slot for the trailing section (e.g., profile avatar, icons).\n *\n * @csspart container - The main container for styling the header.\n * @csspart leading-section - The leading section of the header.\n * @csspart center-section - The center section of the header.\n * @csspart trailing-section - The trailing section of the header.\n */",
|
1604
|
+
"customElement": true
|
1605
|
+
}
|
1606
|
+
],
|
1607
|
+
"exports": [
|
1608
|
+
{
|
1609
|
+
"kind": "js",
|
1610
|
+
"name": "default",
|
1611
|
+
"declaration": {
|
1612
|
+
"name": "Appheader",
|
1613
|
+
"module": "components/appheader/appheader.component.js"
|
1614
|
+
}
|
1615
|
+
}
|
1616
|
+
]
|
1617
|
+
},
|
1557
1618
|
{
|
1558
1619
|
"kind": "javascript-module",
|
1559
1620
|
"path": "components/animation/animation.component.js",
|
@@ -1766,67 +1827,6 @@
|
|
1766
1827
|
}
|
1767
1828
|
]
|
1768
1829
|
},
|
1769
|
-
{
|
1770
|
-
"kind": "javascript-module",
|
1771
|
-
"path": "components/appheader/appheader.component.js",
|
1772
|
-
"declarations": [
|
1773
|
-
{
|
1774
|
-
"kind": "class",
|
1775
|
-
"description": "The `mdc-appheader` component provides a structured and accessible app header layout.\nIt consists of three primary sections: leading, center, and trailing.\n\n- The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n- The **center section** can contain a **search bar**, **icons** or action controls.\n- The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.",
|
1776
|
-
"name": "Appheader",
|
1777
|
-
"cssParts": [
|
1778
|
-
{
|
1779
|
-
"description": "The main container for styling the header.",
|
1780
|
-
"name": "container"
|
1781
|
-
},
|
1782
|
-
{
|
1783
|
-
"description": "The leading section of the header.",
|
1784
|
-
"name": "leading-section"
|
1785
|
-
},
|
1786
|
-
{
|
1787
|
-
"description": "The center section of the header.",
|
1788
|
-
"name": "center-section"
|
1789
|
-
},
|
1790
|
-
{
|
1791
|
-
"description": "The trailing section of the header.",
|
1792
|
-
"name": "trailing-section"
|
1793
|
-
}
|
1794
|
-
],
|
1795
|
-
"slots": [
|
1796
|
-
{
|
1797
|
-
"description": "Slot for the leading section (e.g., brand logo, brand name).",
|
1798
|
-
"name": "leading"
|
1799
|
-
},
|
1800
|
-
{
|
1801
|
-
"description": "Slot for the center section (e.g., search bar, icons).",
|
1802
|
-
"name": "center"
|
1803
|
-
},
|
1804
|
-
{
|
1805
|
-
"description": "Slot for the trailing section (e.g., profile avatar, icons).",
|
1806
|
-
"name": "trailing"
|
1807
|
-
}
|
1808
|
-
],
|
1809
|
-
"members": [],
|
1810
|
-
"superclass": {
|
1811
|
-
"name": "Component",
|
1812
|
-
"module": "/src/models"
|
1813
|
-
},
|
1814
|
-
"tagName": "mdc-appheader",
|
1815
|
-
"jsDoc": "/**\n * The `mdc-appheader` component provides a structured and accessible app header layout.\n * It consists of three primary sections: leading, center, and trailing.\n *\n * - The **leading section** typically holds a **brand logo**, **brand name** or **menu icon**.\n * - The **center section** can contain a **search bar**, **icons** or action controls.\n * - The **trailing section** generally includes a **profile avatar**, **additional icons** or **action controls**.\n *\n * @tagname mdc-appheader\n *\n * @slot leading - Slot for the leading section (e.g., brand logo, brand name).\n * @slot center - Slot for the center section (e.g., search bar, icons).\n * @slot trailing - Slot for the trailing section (e.g., profile avatar, icons).\n *\n * @csspart container - The main container for styling the header.\n * @csspart leading-section - The leading section of the header.\n * @csspart center-section - The center section of the header.\n * @csspart trailing-section - The trailing section of the header.\n */",
|
1816
|
-
"customElement": true
|
1817
|
-
}
|
1818
|
-
],
|
1819
|
-
"exports": [
|
1820
|
-
{
|
1821
|
-
"kind": "js",
|
1822
|
-
"name": "default",
|
1823
|
-
"declaration": {
|
1824
|
-
"name": "Appheader",
|
1825
|
-
"module": "components/appheader/appheader.component.js"
|
1826
|
-
}
|
1827
|
-
}
|
1828
|
-
]
|
1829
|
-
},
|
1830
1830
|
{
|
1831
1831
|
"kind": "javascript-module",
|
1832
1832
|
"path": "components/avatar/avatar.component.js",
|
@@ -30170,19 +30170,191 @@
|
|
30170
30170
|
},
|
30171
30171
|
{
|
30172
30172
|
"kind": "javascript-module",
|
30173
|
-
"path": "components/
|
30173
|
+
"path": "components/radio/radio.component.js",
|
30174
30174
|
"declarations": [
|
30175
30175
|
{
|
30176
30176
|
"kind": "class",
|
30177
|
-
"description": "
|
30178
|
-
"name": "
|
30177
|
+
"description": "Radio allow users to select single options from a list or turn an item/feature on or off.\nThese are often used in forms, settings, and selection in lists.\n\nA radio component contains an optional label, optional info icon and an optional helper text.",
|
30178
|
+
"name": "Radio",
|
30179
30179
|
"cssProperties": [
|
30180
30180
|
{
|
30181
|
-
"description": "color of the
|
30182
|
-
"name": "--mdc-
|
30181
|
+
"description": "color of the label when disabled",
|
30182
|
+
"name": "--mdc-radio-text-disabled-color"
|
30183
|
+
},
|
30184
|
+
{
|
30185
|
+
"description": "color of the radio button when inactive and hovered",
|
30186
|
+
"name": "--mdc-radio-control-inactive-hover"
|
30187
|
+
},
|
30188
|
+
{
|
30189
|
+
"description": "color of the radio button when inactive and pressed",
|
30190
|
+
"name": "--mdc-radio-control-inactive-pressed-color"
|
30191
|
+
},
|
30192
|
+
{
|
30193
|
+
"description": "color of the radio button when active and hovered",
|
30194
|
+
"name": "--mdc-radio-control-active-hover-color"
|
30195
|
+
},
|
30196
|
+
{
|
30197
|
+
"description": "color of the radio button when active and pressed",
|
30198
|
+
"name": "--mdc-radio-control-active-pressed-color"
|
30199
|
+
},
|
30200
|
+
{
|
30201
|
+
"description": "color of the radio button when disabled",
|
30202
|
+
"name": "--mdc-radio-disabled-border-color"
|
30203
|
+
},
|
30204
|
+
{
|
30205
|
+
"description": "color of the radio button when active and disabled",
|
30206
|
+
"name": "--mdc-radio-control-active-disabled-background"
|
30207
|
+
},
|
30208
|
+
{
|
30209
|
+
"description": "color of the radio button when inactive and disabled",
|
30210
|
+
"name": "--mdc-radio-control-inactive-disabled-background"
|
30183
30211
|
}
|
30184
30212
|
],
|
30185
30213
|
"members": [
|
30214
|
+
{
|
30215
|
+
"kind": "field",
|
30216
|
+
"name": "checked",
|
30217
|
+
"type": {
|
30218
|
+
"text": "boolean"
|
30219
|
+
},
|
30220
|
+
"default": "false",
|
30221
|
+
"description": "Determines whether the radio is selected or unselected.",
|
30222
|
+
"attribute": "checked",
|
30223
|
+
"reflects": true
|
30224
|
+
},
|
30225
|
+
{
|
30226
|
+
"kind": "field",
|
30227
|
+
"name": "readonly",
|
30228
|
+
"type": {
|
30229
|
+
"text": "boolean"
|
30230
|
+
},
|
30231
|
+
"default": "false",
|
30232
|
+
"description": "Determines whether the radio is read-only.",
|
30233
|
+
"attribute": "readonly",
|
30234
|
+
"reflects": true
|
30235
|
+
},
|
30236
|
+
{
|
30237
|
+
"kind": "method",
|
30238
|
+
"name": "getAllRadiosWithinSameGroup",
|
30239
|
+
"privacy": "private",
|
30240
|
+
"return": {
|
30241
|
+
"type": {
|
30242
|
+
"text": "Radio[]"
|
30243
|
+
}
|
30244
|
+
},
|
30245
|
+
"description": "Returns all radios within the same group (name)."
|
30246
|
+
},
|
30247
|
+
{
|
30248
|
+
"kind": "method",
|
30249
|
+
"name": "setGroupValidity",
|
30250
|
+
"privacy": "private",
|
30251
|
+
"parameters": [
|
30252
|
+
{
|
30253
|
+
"name": "radios",
|
30254
|
+
"type": {
|
30255
|
+
"text": "Radio[]"
|
30256
|
+
},
|
30257
|
+
"description": "Array of radios of the same group"
|
30258
|
+
},
|
30259
|
+
{
|
30260
|
+
"name": "isValid",
|
30261
|
+
"type": {
|
30262
|
+
"text": "boolean"
|
30263
|
+
},
|
30264
|
+
"description": "Boolean value to set the validity of the group"
|
30265
|
+
}
|
30266
|
+
],
|
30267
|
+
"description": "Sets the validity of the group of radios."
|
30268
|
+
},
|
30269
|
+
{
|
30270
|
+
"kind": "method",
|
30271
|
+
"name": "setActualFormValue",
|
30272
|
+
"privacy": "private",
|
30273
|
+
"description": "Updates the form value to reflect the current state of the radio.\nIf checked, the value is set to the user-provided value.\nIf unchecked, the value is set to null."
|
30274
|
+
},
|
30275
|
+
{
|
30276
|
+
"kind": "method",
|
30277
|
+
"name": "handleChange",
|
30278
|
+
"privacy": "private",
|
30279
|
+
"return": {
|
30280
|
+
"type": {
|
30281
|
+
"text": "void"
|
30282
|
+
}
|
30283
|
+
},
|
30284
|
+
"description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
|
30285
|
+
},
|
30286
|
+
{
|
30287
|
+
"kind": "method",
|
30288
|
+
"name": "updateRadio",
|
30289
|
+
"privacy": "private",
|
30290
|
+
"parameters": [
|
30291
|
+
{
|
30292
|
+
"name": "enabledRadios",
|
30293
|
+
"type": {
|
30294
|
+
"text": "Radio[]"
|
30295
|
+
},
|
30296
|
+
"description": "An array of enabled radio buttons within the same group."
|
30297
|
+
},
|
30298
|
+
{
|
30299
|
+
"name": "index",
|
30300
|
+
"type": {
|
30301
|
+
"text": "number"
|
30302
|
+
},
|
30303
|
+
"description": "The index of the radio button to be updated within the enabled radios array."
|
30304
|
+
}
|
30305
|
+
],
|
30306
|
+
"description": "Updates the state of the radio button at the specified index within the enabled radios.\nFocuses the radio button and triggers the change event if the radio button is not read-only."
|
30307
|
+
},
|
30308
|
+
{
|
30309
|
+
"kind": "method",
|
30310
|
+
"name": "handleKeyDown",
|
30311
|
+
"privacy": "private",
|
30312
|
+
"return": {
|
30313
|
+
"type": {
|
30314
|
+
"text": "void"
|
30315
|
+
}
|
30316
|
+
},
|
30317
|
+
"parameters": [
|
30318
|
+
{
|
30319
|
+
"name": "event",
|
30320
|
+
"type": {
|
30321
|
+
"text": "KeyboardEvent"
|
30322
|
+
}
|
30323
|
+
}
|
30324
|
+
],
|
30325
|
+
"description": "Handles the keydown event (Arrow Up/Down/Left/Right) on the radio element."
|
30326
|
+
},
|
30327
|
+
{
|
30328
|
+
"kind": "method",
|
30329
|
+
"name": "updateTabIndex",
|
30330
|
+
"privacy": "private",
|
30331
|
+
"return": {
|
30332
|
+
"type": {
|
30333
|
+
"text": "void"
|
30334
|
+
}
|
30335
|
+
},
|
30336
|
+
"description": "Update tab index for all radios in the same group (name)\nIf any radio group is checked, it will have a tab index of 0\nIf no radio group is checked, the first enabled radio will have a tab index of 0"
|
30337
|
+
},
|
30338
|
+
{
|
30339
|
+
"kind": "field",
|
30340
|
+
"name": "renderLabelAndHelperText",
|
30341
|
+
"privacy": "private"
|
30342
|
+
},
|
30343
|
+
{
|
30344
|
+
"kind": "field",
|
30345
|
+
"name": "autoFocusOnMount",
|
30346
|
+
"type": {
|
30347
|
+
"text": "boolean"
|
30348
|
+
},
|
30349
|
+
"default": "false",
|
30350
|
+
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
30351
|
+
"attribute": "auto-focus-on-mount",
|
30352
|
+
"reflects": true,
|
30353
|
+
"inheritedFrom": {
|
30354
|
+
"name": "AutoFocusOnMountMixin",
|
30355
|
+
"module": "utils/mixins/AutoFocusOnMountMixin.js"
|
30356
|
+
}
|
30357
|
+
},
|
30186
30358
|
{
|
30187
30359
|
"kind": "field",
|
30188
30360
|
"name": "name",
|
@@ -30190,8 +30362,98 @@
|
|
30190
30362
|
"text": "string"
|
30191
30363
|
},
|
30192
30364
|
"default": "''",
|
30193
|
-
"description": "
|
30194
|
-
"attribute": "name"
|
30365
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
30366
|
+
"attribute": "name",
|
30367
|
+
"reflects": true,
|
30368
|
+
"inheritedFrom": {
|
30369
|
+
"name": "FormInternalsMixin",
|
30370
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
30371
|
+
}
|
30372
|
+
},
|
30373
|
+
{
|
30374
|
+
"kind": "field",
|
30375
|
+
"name": "value",
|
30376
|
+
"type": {
|
30377
|
+
"text": "string"
|
30378
|
+
},
|
30379
|
+
"default": "''",
|
30380
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
30381
|
+
"attribute": "value",
|
30382
|
+
"reflects": true,
|
30383
|
+
"inheritedFrom": {
|
30384
|
+
"name": "FormInternalsMixin",
|
30385
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
30386
|
+
}
|
30387
|
+
},
|
30388
|
+
{
|
30389
|
+
"kind": "field",
|
30390
|
+
"name": "validationMessage",
|
30391
|
+
"type": {
|
30392
|
+
"text": "string | undefined"
|
30393
|
+
},
|
30394
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
|
30395
|
+
"attribute": "validation-message",
|
30396
|
+
"reflects": true,
|
30397
|
+
"inheritedFrom": {
|
30398
|
+
"name": "FormInternalsMixin",
|
30399
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
30400
|
+
}
|
30401
|
+
},
|
30402
|
+
{
|
30403
|
+
"kind": "field",
|
30404
|
+
"name": "validity",
|
30405
|
+
"type": {
|
30406
|
+
"text": "ValidityState"
|
30407
|
+
},
|
30408
|
+
"readonly": true,
|
30409
|
+
"inheritedFrom": {
|
30410
|
+
"name": "FormInternalsMixin",
|
30411
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
30412
|
+
}
|
30413
|
+
},
|
30414
|
+
{
|
30415
|
+
"kind": "field",
|
30416
|
+
"name": "willValidate",
|
30417
|
+
"readonly": true,
|
30418
|
+
"inheritedFrom": {
|
30419
|
+
"name": "FormInternalsMixin",
|
30420
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
30421
|
+
}
|
30422
|
+
},
|
30423
|
+
{
|
30424
|
+
"kind": "method",
|
30425
|
+
"name": "setValidity",
|
30426
|
+
"description": "Sets the validity of the input field based on the input field's validity.",
|
30427
|
+
"return": {
|
30428
|
+
"type": {
|
30429
|
+
"text": ""
|
30430
|
+
}
|
30431
|
+
},
|
30432
|
+
"inheritedFrom": {
|
30433
|
+
"name": "FormInternalsMixin",
|
30434
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
30435
|
+
}
|
30436
|
+
},
|
30437
|
+
{
|
30438
|
+
"kind": "method",
|
30439
|
+
"name": "checkValidity",
|
30440
|
+
"return": {
|
30441
|
+
"type": {
|
30442
|
+
"text": "boolean"
|
30443
|
+
}
|
30444
|
+
},
|
30445
|
+
"inheritedFrom": {
|
30446
|
+
"name": "FormInternalsMixin",
|
30447
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
30448
|
+
}
|
30449
|
+
},
|
30450
|
+
{
|
30451
|
+
"kind": "method",
|
30452
|
+
"name": "reportValidity",
|
30453
|
+
"inheritedFrom": {
|
30454
|
+
"name": "FormInternalsMixin",
|
30455
|
+
"module": "utils/mixins/FormInternalsMixin.js"
|
30456
|
+
}
|
30195
30457
|
},
|
30196
30458
|
{
|
30197
30459
|
"kind": "field",
|
@@ -30399,15 +30661,90 @@
|
|
30399
30661
|
}
|
30400
30662
|
}
|
30401
30663
|
],
|
30664
|
+
"events": [
|
30665
|
+
{
|
30666
|
+
"name": "change",
|
30667
|
+
"type": {
|
30668
|
+
"text": "Event"
|
30669
|
+
},
|
30670
|
+
"description": "(React: onChange) Event that gets dispatched when the radio state changes.",
|
30671
|
+
"reactName": "onChange"
|
30672
|
+
},
|
30673
|
+
{
|
30674
|
+
"description": "(React: onFocus) Event that gets dispatched when the radio receives focus.",
|
30675
|
+
"name": "focus",
|
30676
|
+
"reactName": "onFocus"
|
30677
|
+
}
|
30678
|
+
],
|
30402
30679
|
"attributes": [
|
30680
|
+
{
|
30681
|
+
"name": "checked",
|
30682
|
+
"type": {
|
30683
|
+
"text": "boolean"
|
30684
|
+
},
|
30685
|
+
"default": "false",
|
30686
|
+
"description": "Determines whether the radio is selected or unselected.",
|
30687
|
+
"fieldName": "checked"
|
30688
|
+
},
|
30689
|
+
{
|
30690
|
+
"name": "readonly",
|
30691
|
+
"type": {
|
30692
|
+
"text": "boolean"
|
30693
|
+
},
|
30694
|
+
"default": "false",
|
30695
|
+
"description": "Determines whether the radio is read-only.",
|
30696
|
+
"fieldName": "readonly"
|
30697
|
+
},
|
30698
|
+
{
|
30699
|
+
"name": "auto-focus-on-mount",
|
30700
|
+
"type": {
|
30701
|
+
"text": "boolean"
|
30702
|
+
},
|
30703
|
+
"default": "false",
|
30704
|
+
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
30705
|
+
"fieldName": "autoFocusOnMount",
|
30706
|
+
"inheritedFrom": {
|
30707
|
+
"name": "AutoFocusOnMountMixin",
|
30708
|
+
"module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
|
30709
|
+
}
|
30710
|
+
},
|
30403
30711
|
{
|
30404
30712
|
"name": "name",
|
30405
30713
|
"type": {
|
30406
30714
|
"text": "string"
|
30407
30715
|
},
|
30408
30716
|
"default": "''",
|
30409
|
-
"description": "
|
30410
|
-
"fieldName": "name"
|
30717
|
+
"description": "Indicates the name of the component group.\nThey are used to group elements in a form together.",
|
30718
|
+
"fieldName": "name",
|
30719
|
+
"inheritedFrom": {
|
30720
|
+
"name": "FormInternalsMixin",
|
30721
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
30722
|
+
}
|
30723
|
+
},
|
30724
|
+
{
|
30725
|
+
"name": "value",
|
30726
|
+
"type": {
|
30727
|
+
"text": "string"
|
30728
|
+
},
|
30729
|
+
"default": "''",
|
30730
|
+
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
30731
|
+
"fieldName": "value",
|
30732
|
+
"inheritedFrom": {
|
30733
|
+
"name": "FormInternalsMixin",
|
30734
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
30735
|
+
}
|
30736
|
+
},
|
30737
|
+
{
|
30738
|
+
"name": "validation-message",
|
30739
|
+
"type": {
|
30740
|
+
"text": "string | undefined"
|
30741
|
+
},
|
30742
|
+
"description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
|
30743
|
+
"fieldName": "validationMessage",
|
30744
|
+
"inheritedFrom": {
|
30745
|
+
"name": "FormInternalsMixin",
|
30746
|
+
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
30747
|
+
}
|
30411
30748
|
},
|
30412
30749
|
{
|
30413
30750
|
"name": "data-aria-label",
|
@@ -30522,23 +30859,27 @@
|
|
30522
30859
|
}
|
30523
30860
|
}
|
30524
30861
|
],
|
30525
|
-
"
|
30526
|
-
"name": "FormfieldGroup",
|
30527
|
-
"module": "/src/components/formfieldgroup"
|
30528
|
-
},
|
30529
|
-
"tagName": "mdc-radiogroup",
|
30530
|
-
"jsDoc": "/**\n * `mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\n * It can have a header text and a description. It enables users to select a single option from a set of options.\n * It is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.\n *\n * @tagname mdc-radiogroup\n *\n * @cssproperty --mdc-radiogroup-description-text-normal - color of the description text\n *\n */",
|
30531
|
-
"customElement": true,
|
30532
|
-
"slots": [
|
30862
|
+
"mixins": [
|
30533
30863
|
{
|
30534
|
-
"
|
30535
|
-
"
|
30536
|
-
|
30537
|
-
|
30538
|
-
|
30539
|
-
|
30864
|
+
"name": "AutoFocusOnMountMixin",
|
30865
|
+
"module": "/src/utils/mixins/AutoFocusOnMountMixin"
|
30866
|
+
},
|
30867
|
+
{
|
30868
|
+
"name": "FormInternalsMixin",
|
30869
|
+
"module": "/src/utils/mixins/FormInternalsMixin"
|
30870
|
+
},
|
30871
|
+
{
|
30872
|
+
"name": "DataAriaLabelMixin",
|
30873
|
+
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
30540
30874
|
}
|
30541
|
-
]
|
30875
|
+
],
|
30876
|
+
"superclass": {
|
30877
|
+
"name": "FormfieldWrapper",
|
30878
|
+
"module": "/src/components/formfieldwrapper/formfieldwrapper.component"
|
30879
|
+
},
|
30880
|
+
"tagName": "mdc-radio",
|
30881
|
+
"jsDoc": "/**\n * Radio allow users to select single options from a list or turn an item/feature on or off.\n * These are often used in forms, settings, and selection in lists.\n *\n * A radio component contains an optional label, optional info icon and an optional helper text.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n * @dependency mdc-staticradio\n * @dependency mdc-toggletip\n *\n * @tagname mdc-radio\n *\n * @event change - (React: onChange) Event that gets dispatched when the radio state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the radio receives focus.\n *\n * @cssproperty --mdc-radio-text-disabled-color - color of the label when disabled\n * @cssproperty --mdc-radio-control-inactive-hover - color of the radio button when inactive and hovered\n * @cssproperty --mdc-radio-control-inactive-pressed-color - color of the radio button when inactive and pressed\n * @cssproperty --mdc-radio-control-active-hover-color - color of the radio button when active and hovered\n * @cssproperty --mdc-radio-control-active-pressed-color - color of the radio button when active and pressed\n * @cssproperty --mdc-radio-disabled-border-color - color of the radio button when disabled\n * @cssproperty --mdc-radio-control-active-disabled-background - color of the radio button when active and disabled\n * @cssproperty --mdc-radio-control-inactive-disabled-background - color of the radio button when inactive and disabled\n *\n */",
|
30882
|
+
"customElement": true
|
30542
30883
|
}
|
30543
30884
|
],
|
30544
30885
|
"exports": [
|
@@ -30546,199 +30887,27 @@
|
|
30546
30887
|
"kind": "js",
|
30547
30888
|
"name": "default",
|
30548
30889
|
"declaration": {
|
30549
|
-
"name": "
|
30550
|
-
"module": "components/
|
30890
|
+
"name": "Radio",
|
30891
|
+
"module": "components/radio/radio.component.js"
|
30551
30892
|
}
|
30552
30893
|
}
|
30553
30894
|
]
|
30554
30895
|
},
|
30555
30896
|
{
|
30556
30897
|
"kind": "javascript-module",
|
30557
|
-
"path": "components/
|
30898
|
+
"path": "components/radiogroup/radiogroup.component.js",
|
30558
30899
|
"declarations": [
|
30559
30900
|
{
|
30560
30901
|
"kind": "class",
|
30561
|
-
"description": "
|
30562
|
-
"name": "
|
30902
|
+
"description": "`mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\nIt can have a header text and a description. It enables users to select a single option from a set of options.\nIt is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.",
|
30903
|
+
"name": "RadioGroup",
|
30563
30904
|
"cssProperties": [
|
30564
30905
|
{
|
30565
|
-
"description": "color of the
|
30566
|
-
"name": "--mdc-
|
30567
|
-
},
|
30568
|
-
{
|
30569
|
-
"description": "color of the radio button when inactive and hovered",
|
30570
|
-
"name": "--mdc-radio-control-inactive-hover"
|
30571
|
-
},
|
30572
|
-
{
|
30573
|
-
"description": "color of the radio button when inactive and pressed",
|
30574
|
-
"name": "--mdc-radio-control-inactive-pressed-color"
|
30575
|
-
},
|
30576
|
-
{
|
30577
|
-
"description": "color of the radio button when active and hovered",
|
30578
|
-
"name": "--mdc-radio-control-active-hover-color"
|
30579
|
-
},
|
30580
|
-
{
|
30581
|
-
"description": "color of the radio button when active and pressed",
|
30582
|
-
"name": "--mdc-radio-control-active-pressed-color"
|
30583
|
-
},
|
30584
|
-
{
|
30585
|
-
"description": "color of the radio button when disabled",
|
30586
|
-
"name": "--mdc-radio-disabled-border-color"
|
30587
|
-
},
|
30588
|
-
{
|
30589
|
-
"description": "color of the radio button when active and disabled",
|
30590
|
-
"name": "--mdc-radio-control-active-disabled-background"
|
30591
|
-
},
|
30592
|
-
{
|
30593
|
-
"description": "color of the radio button when inactive and disabled",
|
30594
|
-
"name": "--mdc-radio-control-inactive-disabled-background"
|
30906
|
+
"description": "color of the description text",
|
30907
|
+
"name": "--mdc-radiogroup-description-text-normal"
|
30595
30908
|
}
|
30596
30909
|
],
|
30597
30910
|
"members": [
|
30598
|
-
{
|
30599
|
-
"kind": "field",
|
30600
|
-
"name": "checked",
|
30601
|
-
"type": {
|
30602
|
-
"text": "boolean"
|
30603
|
-
},
|
30604
|
-
"default": "false",
|
30605
|
-
"description": "Determines whether the radio is selected or unselected.",
|
30606
|
-
"attribute": "checked",
|
30607
|
-
"reflects": true
|
30608
|
-
},
|
30609
|
-
{
|
30610
|
-
"kind": "field",
|
30611
|
-
"name": "readonly",
|
30612
|
-
"type": {
|
30613
|
-
"text": "boolean"
|
30614
|
-
},
|
30615
|
-
"default": "false",
|
30616
|
-
"description": "Determines whether the radio is read-only.",
|
30617
|
-
"attribute": "readonly",
|
30618
|
-
"reflects": true
|
30619
|
-
},
|
30620
|
-
{
|
30621
|
-
"kind": "method",
|
30622
|
-
"name": "getAllRadiosWithinSameGroup",
|
30623
|
-
"privacy": "private",
|
30624
|
-
"return": {
|
30625
|
-
"type": {
|
30626
|
-
"text": "Radio[]"
|
30627
|
-
}
|
30628
|
-
},
|
30629
|
-
"description": "Returns all radios within the same group (name)."
|
30630
|
-
},
|
30631
|
-
{
|
30632
|
-
"kind": "method",
|
30633
|
-
"name": "setGroupValidity",
|
30634
|
-
"privacy": "private",
|
30635
|
-
"parameters": [
|
30636
|
-
{
|
30637
|
-
"name": "radios",
|
30638
|
-
"type": {
|
30639
|
-
"text": "Radio[]"
|
30640
|
-
},
|
30641
|
-
"description": "Array of radios of the same group"
|
30642
|
-
},
|
30643
|
-
{
|
30644
|
-
"name": "isValid",
|
30645
|
-
"type": {
|
30646
|
-
"text": "boolean"
|
30647
|
-
},
|
30648
|
-
"description": "Boolean value to set the validity of the group"
|
30649
|
-
}
|
30650
|
-
],
|
30651
|
-
"description": "Sets the validity of the group of radios."
|
30652
|
-
},
|
30653
|
-
{
|
30654
|
-
"kind": "method",
|
30655
|
-
"name": "setActualFormValue",
|
30656
|
-
"privacy": "private",
|
30657
|
-
"description": "Updates the form value to reflect the current state of the radio.\nIf checked, the value is set to the user-provided value.\nIf unchecked, the value is set to null."
|
30658
|
-
},
|
30659
|
-
{
|
30660
|
-
"kind": "method",
|
30661
|
-
"name": "handleChange",
|
30662
|
-
"privacy": "private",
|
30663
|
-
"return": {
|
30664
|
-
"type": {
|
30665
|
-
"text": "void"
|
30666
|
-
}
|
30667
|
-
},
|
30668
|
-
"description": "Handles the change event on the radio element.\nThis will toggle the state of the radio element.\nDispatches the change event."
|
30669
|
-
},
|
30670
|
-
{
|
30671
|
-
"kind": "method",
|
30672
|
-
"name": "updateRadio",
|
30673
|
-
"privacy": "private",
|
30674
|
-
"parameters": [
|
30675
|
-
{
|
30676
|
-
"name": "enabledRadios",
|
30677
|
-
"type": {
|
30678
|
-
"text": "Radio[]"
|
30679
|
-
},
|
30680
|
-
"description": "An array of enabled radio buttons within the same group."
|
30681
|
-
},
|
30682
|
-
{
|
30683
|
-
"name": "index",
|
30684
|
-
"type": {
|
30685
|
-
"text": "number"
|
30686
|
-
},
|
30687
|
-
"description": "The index of the radio button to be updated within the enabled radios array."
|
30688
|
-
}
|
30689
|
-
],
|
30690
|
-
"description": "Updates the state of the radio button at the specified index within the enabled radios.\nFocuses the radio button and triggers the change event if the radio button is not read-only."
|
30691
|
-
},
|
30692
|
-
{
|
30693
|
-
"kind": "method",
|
30694
|
-
"name": "handleKeyDown",
|
30695
|
-
"privacy": "private",
|
30696
|
-
"return": {
|
30697
|
-
"type": {
|
30698
|
-
"text": "void"
|
30699
|
-
}
|
30700
|
-
},
|
30701
|
-
"parameters": [
|
30702
|
-
{
|
30703
|
-
"name": "event",
|
30704
|
-
"type": {
|
30705
|
-
"text": "KeyboardEvent"
|
30706
|
-
}
|
30707
|
-
}
|
30708
|
-
],
|
30709
|
-
"description": "Handles the keydown event (Arrow Up/Down/Left/Right) on the radio element."
|
30710
|
-
},
|
30711
|
-
{
|
30712
|
-
"kind": "method",
|
30713
|
-
"name": "updateTabIndex",
|
30714
|
-
"privacy": "private",
|
30715
|
-
"return": {
|
30716
|
-
"type": {
|
30717
|
-
"text": "void"
|
30718
|
-
}
|
30719
|
-
},
|
30720
|
-
"description": "Update tab index for all radios in the same group (name)\nIf any radio group is checked, it will have a tab index of 0\nIf no radio group is checked, the first enabled radio will have a tab index of 0"
|
30721
|
-
},
|
30722
|
-
{
|
30723
|
-
"kind": "field",
|
30724
|
-
"name": "renderLabelAndHelperText",
|
30725
|
-
"privacy": "private"
|
30726
|
-
},
|
30727
|
-
{
|
30728
|
-
"kind": "field",
|
30729
|
-
"name": "autoFocusOnMount",
|
30730
|
-
"type": {
|
30731
|
-
"text": "boolean"
|
30732
|
-
},
|
30733
|
-
"default": "false",
|
30734
|
-
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
30735
|
-
"attribute": "auto-focus-on-mount",
|
30736
|
-
"reflects": true,
|
30737
|
-
"inheritedFrom": {
|
30738
|
-
"name": "AutoFocusOnMountMixin",
|
30739
|
-
"module": "utils/mixins/AutoFocusOnMountMixin.js"
|
30740
|
-
}
|
30741
|
-
},
|
30742
30911
|
{
|
30743
30912
|
"kind": "field",
|
30744
30913
|
"name": "name",
|
@@ -30746,98 +30915,8 @@
|
|
30746
30915
|
"text": "string"
|
30747
30916
|
},
|
30748
30917
|
"default": "''",
|
30749
|
-
"description": "
|
30750
|
-
"attribute": "name"
|
30751
|
-
"reflects": true,
|
30752
|
-
"inheritedFrom": {
|
30753
|
-
"name": "FormInternalsMixin",
|
30754
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
30755
|
-
}
|
30756
|
-
},
|
30757
|
-
{
|
30758
|
-
"kind": "field",
|
30759
|
-
"name": "value",
|
30760
|
-
"type": {
|
30761
|
-
"text": "string"
|
30762
|
-
},
|
30763
|
-
"default": "''",
|
30764
|
-
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
30765
|
-
"attribute": "value",
|
30766
|
-
"reflects": true,
|
30767
|
-
"inheritedFrom": {
|
30768
|
-
"name": "FormInternalsMixin",
|
30769
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
30770
|
-
}
|
30771
|
-
},
|
30772
|
-
{
|
30773
|
-
"kind": "field",
|
30774
|
-
"name": "validationMessage",
|
30775
|
-
"type": {
|
30776
|
-
"text": "string | undefined"
|
30777
|
-
},
|
30778
|
-
"description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
|
30779
|
-
"attribute": "validation-message",
|
30780
|
-
"reflects": true,
|
30781
|
-
"inheritedFrom": {
|
30782
|
-
"name": "FormInternalsMixin",
|
30783
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
30784
|
-
}
|
30785
|
-
},
|
30786
|
-
{
|
30787
|
-
"kind": "field",
|
30788
|
-
"name": "validity",
|
30789
|
-
"type": {
|
30790
|
-
"text": "ValidityState"
|
30791
|
-
},
|
30792
|
-
"readonly": true,
|
30793
|
-
"inheritedFrom": {
|
30794
|
-
"name": "FormInternalsMixin",
|
30795
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
30796
|
-
}
|
30797
|
-
},
|
30798
|
-
{
|
30799
|
-
"kind": "field",
|
30800
|
-
"name": "willValidate",
|
30801
|
-
"readonly": true,
|
30802
|
-
"inheritedFrom": {
|
30803
|
-
"name": "FormInternalsMixin",
|
30804
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
30805
|
-
}
|
30806
|
-
},
|
30807
|
-
{
|
30808
|
-
"kind": "method",
|
30809
|
-
"name": "setValidity",
|
30810
|
-
"description": "Sets the validity of the input field based on the input field's validity.",
|
30811
|
-
"return": {
|
30812
|
-
"type": {
|
30813
|
-
"text": ""
|
30814
|
-
}
|
30815
|
-
},
|
30816
|
-
"inheritedFrom": {
|
30817
|
-
"name": "FormInternalsMixin",
|
30818
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
30819
|
-
}
|
30820
|
-
},
|
30821
|
-
{
|
30822
|
-
"kind": "method",
|
30823
|
-
"name": "checkValidity",
|
30824
|
-
"return": {
|
30825
|
-
"type": {
|
30826
|
-
"text": "boolean"
|
30827
|
-
}
|
30828
|
-
},
|
30829
|
-
"inheritedFrom": {
|
30830
|
-
"name": "FormInternalsMixin",
|
30831
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
30832
|
-
}
|
30833
|
-
},
|
30834
|
-
{
|
30835
|
-
"kind": "method",
|
30836
|
-
"name": "reportValidity",
|
30837
|
-
"inheritedFrom": {
|
30838
|
-
"name": "FormInternalsMixin",
|
30839
|
-
"module": "utils/mixins/FormInternalsMixin.js"
|
30840
|
-
}
|
30918
|
+
"description": "Name of the radio group.\nThey are used to group elements in a form together.",
|
30919
|
+
"attribute": "name"
|
30841
30920
|
},
|
30842
30921
|
{
|
30843
30922
|
"kind": "field",
|
@@ -31045,90 +31124,15 @@
|
|
31045
31124
|
}
|
31046
31125
|
}
|
31047
31126
|
],
|
31048
|
-
"events": [
|
31049
|
-
{
|
31050
|
-
"name": "change",
|
31051
|
-
"type": {
|
31052
|
-
"text": "Event"
|
31053
|
-
},
|
31054
|
-
"description": "(React: onChange) Event that gets dispatched when the radio state changes.",
|
31055
|
-
"reactName": "onChange"
|
31056
|
-
},
|
31057
|
-
{
|
31058
|
-
"description": "(React: onFocus) Event that gets dispatched when the radio receives focus.",
|
31059
|
-
"name": "focus",
|
31060
|
-
"reactName": "onFocus"
|
31061
|
-
}
|
31062
|
-
],
|
31063
31127
|
"attributes": [
|
31064
|
-
{
|
31065
|
-
"name": "checked",
|
31066
|
-
"type": {
|
31067
|
-
"text": "boolean"
|
31068
|
-
},
|
31069
|
-
"default": "false",
|
31070
|
-
"description": "Determines whether the radio is selected or unselected.",
|
31071
|
-
"fieldName": "checked"
|
31072
|
-
},
|
31073
|
-
{
|
31074
|
-
"name": "readonly",
|
31075
|
-
"type": {
|
31076
|
-
"text": "boolean"
|
31077
|
-
},
|
31078
|
-
"default": "false",
|
31079
|
-
"description": "Determines whether the radio is read-only.",
|
31080
|
-
"fieldName": "readonly"
|
31081
|
-
},
|
31082
|
-
{
|
31083
|
-
"name": "auto-focus-on-mount",
|
31084
|
-
"type": {
|
31085
|
-
"text": "boolean"
|
31086
|
-
},
|
31087
|
-
"default": "false",
|
31088
|
-
"description": "This property indicates whether the element should receive focus automatically when it is mounted.\n\nIt will not focus if the element is re-attached to the DOM after being removed.",
|
31089
|
-
"fieldName": "autoFocusOnMount",
|
31090
|
-
"inheritedFrom": {
|
31091
|
-
"name": "AutoFocusOnMountMixin",
|
31092
|
-
"module": "src/utils/mixins/AutoFocusOnMountMixin.ts"
|
31093
|
-
}
|
31094
|
-
},
|
31095
31128
|
{
|
31096
31129
|
"name": "name",
|
31097
31130
|
"type": {
|
31098
31131
|
"text": "string"
|
31099
31132
|
},
|
31100
31133
|
"default": "''",
|
31101
|
-
"description": "
|
31102
|
-
"fieldName": "name"
|
31103
|
-
"inheritedFrom": {
|
31104
|
-
"name": "FormInternalsMixin",
|
31105
|
-
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
31106
|
-
}
|
31107
|
-
},
|
31108
|
-
{
|
31109
|
-
"name": "value",
|
31110
|
-
"type": {
|
31111
|
-
"text": "string"
|
31112
|
-
},
|
31113
|
-
"default": "''",
|
31114
|
-
"description": "Indicates the value of the component group (ex: input, checkbox, radio, select etc...)",
|
31115
|
-
"fieldName": "value",
|
31116
|
-
"inheritedFrom": {
|
31117
|
-
"name": "FormInternalsMixin",
|
31118
|
-
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
31119
|
-
}
|
31120
|
-
},
|
31121
|
-
{
|
31122
|
-
"name": "validation-message",
|
31123
|
-
"type": {
|
31124
|
-
"text": "string | undefined"
|
31125
|
-
},
|
31126
|
-
"description": "Custom validation message that will override the default message and displayed when the input is invalid.\n\nTo display custom validation messages, you must listen for input events (or other relevant events)\non your component and update the `validationMessage` property with the desired message string.\nUpdating this property will ensure that new validation messages are shown to the user.\n- The `validationMessage` property overrides the default browser validation message when set.\n- Consumers are responsible for updating `validationMessage` in response to input or validation state changes.",
|
31127
|
-
"fieldName": "validationMessage",
|
31128
|
-
"inheritedFrom": {
|
31129
|
-
"name": "FormInternalsMixin",
|
31130
|
-
"module": "src/utils/mixins/FormInternalsMixin.ts"
|
31131
|
-
}
|
31134
|
+
"description": "Name of the radio group.\nThey are used to group elements in a form together.",
|
31135
|
+
"fieldName": "name"
|
31132
31136
|
},
|
31133
31137
|
{
|
31134
31138
|
"name": "data-aria-label",
|
@@ -31243,27 +31247,23 @@
|
|
31243
31247
|
}
|
31244
31248
|
}
|
31245
31249
|
],
|
31246
|
-
"mixins": [
|
31247
|
-
{
|
31248
|
-
"name": "AutoFocusOnMountMixin",
|
31249
|
-
"module": "/src/utils/mixins/AutoFocusOnMountMixin"
|
31250
|
-
},
|
31251
|
-
{
|
31252
|
-
"name": "FormInternalsMixin",
|
31253
|
-
"module": "/src/utils/mixins/FormInternalsMixin"
|
31254
|
-
},
|
31255
|
-
{
|
31256
|
-
"name": "DataAriaLabelMixin",
|
31257
|
-
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
31258
|
-
}
|
31259
|
-
],
|
31260
31250
|
"superclass": {
|
31261
|
-
"name": "
|
31262
|
-
"module": "/src/components/
|
31251
|
+
"name": "FormfieldGroup",
|
31252
|
+
"module": "/src/components/formfieldgroup"
|
31263
31253
|
},
|
31264
|
-
"tagName": "mdc-
|
31265
|
-
"jsDoc": "/**\n *
|
31266
|
-
"customElement": true
|
31254
|
+
"tagName": "mdc-radiogroup",
|
31255
|
+
"jsDoc": "/**\n * `mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\n * It can have a header text and a description. It enables users to select a single option from a set of options.\n * It is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.\n *\n * @tagname mdc-radiogroup\n *\n * @cssproperty --mdc-radiogroup-description-text-normal - color of the description text\n *\n */",
|
31256
|
+
"customElement": true,
|
31257
|
+
"slots": [
|
31258
|
+
{
|
31259
|
+
"description": "This is a default slot for checkbox or toggle components.",
|
31260
|
+
"name": "default",
|
31261
|
+
"inheritedFrom": {
|
31262
|
+
"name": "FormfieldGroup",
|
31263
|
+
"module": "src/components/formfieldgroup/formfieldgroup.component.ts"
|
31264
|
+
}
|
31265
|
+
}
|
31266
|
+
]
|
31267
31267
|
}
|
31268
31268
|
],
|
31269
31269
|
"exports": [
|
@@ -31271,8 +31271,8 @@
|
|
31271
31271
|
"kind": "js",
|
31272
31272
|
"name": "default",
|
31273
31273
|
"declaration": {
|
31274
|
-
"name": "
|
31275
|
-
"module": "components/
|
31274
|
+
"name": "RadioGroup",
|
31275
|
+
"module": "components/radiogroup/radiogroup.component.js"
|
31276
31276
|
}
|
31277
31277
|
}
|
31278
31278
|
]
|
@@ -36653,7 +36653,7 @@
|
|
36653
36653
|
},
|
36654
36654
|
"privacy": "public",
|
36655
36655
|
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
36656
|
-
"default": "body-
|
36656
|
+
"default": "body-midsize-medium",
|
36657
36657
|
"attribute": "type",
|
36658
36658
|
"reflects": true
|
36659
36659
|
},
|
@@ -36676,7 +36676,7 @@
|
|
36676
36676
|
"text": "TextType"
|
36677
36677
|
},
|
36678
36678
|
"description": "Specifies the text style to be applied.\n\nAcceptable values include:\n\n- 'body-small-regular'\n- 'body-small-medium'\n- 'body-small-bold'\n- 'body-midsize-regular'\n- 'body-midsize-medium'\n- 'body-midsize-bold'\n- 'body-large-regular'\n- 'body-large-medium'\n- 'body-large-bold'\n- 'body-small-regular-underline'\n- 'body-small-medium-underline'\n- 'body-midsize-regular-underline'\n- 'body-midsize-medium-underline'\n- 'body-large-regular-underline'\n- 'body-large-medium-underline'\n- 'heading-small-regular'\n- 'heading-small-medium'\n- 'heading-small-bold'\n- 'heading-midsize-regular'\n- 'heading-midsize-medium'\n- 'heading-midsize-bold'\n- 'heading-large-regular'\n- 'heading-large-medium'\n- 'heading-large-bold'\n- 'heading-xlarge-regular'\n- 'heading-xlarge-medium'\n- 'heading-xlarge-bold'\n- 'headline-small-light'\n- 'headline-small-regular'",
|
36679
|
-
"default": "body-
|
36679
|
+
"default": "body-midsize-medium",
|
36680
36680
|
"fieldName": "type"
|
36681
36681
|
},
|
36682
36682
|
{
|
@@ -38830,511 +38830,24 @@
|
|
38830
38830
|
},
|
38831
38831
|
{
|
38832
38832
|
"kind": "javascript-module",
|
38833
|
-
"path": "components/
|
38834
|
-
"declarations": [
|
38835
|
-
{
|
38836
|
-
"kind": "class",
|
38837
|
-
"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",
|
38838
|
-
"name": "Typewriter",
|
38839
|
-
"cssParts": [
|
38840
|
-
{
|
38841
|
-
"description": "Container for the text element",
|
38842
|
-
"name": "container"
|
38843
|
-
},
|
38844
|
-
{
|
38845
|
-
"description": "The text element (forwarded to mdc-text)",
|
38846
|
-
"name": "text"
|
38847
|
-
}
|
38848
|
-
],
|
38849
|
-
"slots": [
|
38850
|
-
{
|
38851
|
-
"description": "Default slot for text content",
|
38852
|
-
"name": ""
|
38853
|
-
}
|
38854
|
-
],
|
38855
|
-
"members": [
|
38856
|
-
{
|
38857
|
-
"kind": "field",
|
38858
|
-
"name": "type",
|
38859
|
-
"type": {
|
38860
|
-
"text": "TextType"
|
38861
|
-
},
|
38862
|
-
"privacy": "public",
|
38863
|
-
"description": "Specifies the text style to be applied to the internal text component.\nUses the same types as the Text component.",
|
38864
|
-
"default": "body-large-regular",
|
38865
|
-
"attribute": "type",
|
38866
|
-
"reflects": true
|
38867
|
-
},
|
38868
|
-
{
|
38869
|
-
"kind": "field",
|
38870
|
-
"name": "tagname",
|
38871
|
-
"type": {
|
38872
|
-
"text": "TagName | undefined"
|
38873
|
-
},
|
38874
|
-
"privacy": "public",
|
38875
|
-
"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.",
|
38876
|
-
"attribute": "tagname",
|
38877
|
-
"reflects": true
|
38878
|
-
},
|
38879
|
-
{
|
38880
|
-
"kind": "field",
|
38881
|
-
"name": "speed",
|
38882
|
-
"type": {
|
38883
|
-
"text": "TypewriterSpeed"
|
38884
|
-
},
|
38885
|
-
"privacy": "public",
|
38886
|
-
"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')",
|
38887
|
-
"default": "'normal' (60ms per character)",
|
38888
|
-
"attribute": "speed",
|
38889
|
-
"reflects": true
|
38890
|
-
},
|
38891
|
-
{
|
38892
|
-
"kind": "field",
|
38893
|
-
"name": "maxQueueSize",
|
38894
|
-
"type": {
|
38895
|
-
"text": "number"
|
38896
|
-
},
|
38897
|
-
"privacy": "public",
|
38898
|
-
"description": "Maximum number of text chunks that can be queued before oldest chunks are dropped.\nSet to prevent memory accumulation from excessive queuing.",
|
38899
|
-
"default": "Number.MAX_SAFE_INTEGER (effectively unlimited)",
|
38900
|
-
"attribute": "max-queue-size",
|
38901
|
-
"reflects": true
|
38902
|
-
},
|
38903
|
-
{
|
38904
|
-
"kind": "method",
|
38905
|
-
"name": "createTimeout",
|
38906
|
-
"privacy": "private",
|
38907
|
-
"return": {
|
38908
|
-
"type": {
|
38909
|
-
"text": "number"
|
38910
|
-
}
|
38911
|
-
},
|
38912
|
-
"parameters": [
|
38913
|
-
{
|
38914
|
-
"name": "callback",
|
38915
|
-
"type": {
|
38916
|
-
"text": "() => void"
|
38917
|
-
}
|
38918
|
-
},
|
38919
|
-
{
|
38920
|
-
"name": "delay",
|
38921
|
-
"type": {
|
38922
|
-
"text": "number"
|
38923
|
-
}
|
38924
|
-
}
|
38925
|
-
],
|
38926
|
-
"description": "Helper to create tracked setTimeout that will be cleaned up on disconnect"
|
38927
|
-
},
|
38928
|
-
{
|
38929
|
-
"kind": "method",
|
38930
|
-
"name": "clearAllTimeouts",
|
38931
|
-
"privacy": "private",
|
38932
|
-
"return": {
|
38933
|
-
"type": {
|
38934
|
-
"text": "void"
|
38935
|
-
}
|
38936
|
-
},
|
38937
|
-
"description": "Clear all pending timeouts"
|
38938
|
-
},
|
38939
|
-
{
|
38940
|
-
"kind": "method",
|
38941
|
-
"name": "clearQueue",
|
38942
|
-
"privacy": "public",
|
38943
|
-
"return": {
|
38944
|
-
"type": {
|
38945
|
-
"text": "void"
|
38946
|
-
}
|
38947
|
-
},
|
38948
|
-
"description": "Clears the text chunk queue and stops processing\nUseful for resetting the component state"
|
38949
|
-
},
|
38950
|
-
{
|
38951
|
-
"kind": "method",
|
38952
|
-
"name": "addTextChunk",
|
38953
|
-
"privacy": "public",
|
38954
|
-
"return": {
|
38955
|
-
"type": {
|
38956
|
-
"text": "void"
|
38957
|
-
}
|
38958
|
-
},
|
38959
|
-
"parameters": [
|
38960
|
-
{
|
38961
|
-
"name": "text",
|
38962
|
-
"type": {
|
38963
|
-
"text": "string"
|
38964
|
-
},
|
38965
|
-
"description": "The text to add"
|
38966
|
-
},
|
38967
|
-
{
|
38968
|
-
"name": "speed",
|
38969
|
-
"optional": true,
|
38970
|
-
"type": {
|
38971
|
-
"text": "TypewriterSpeed"
|
38972
|
-
},
|
38973
|
-
"description": "Optional speed override for this chunk"
|
38974
|
-
},
|
38975
|
-
{
|
38976
|
-
"name": "instant",
|
38977
|
-
"optional": true,
|
38978
|
-
"type": {
|
38979
|
-
"text": "boolean"
|
38980
|
-
},
|
38981
|
-
"description": "If true, text appears instantly without animation"
|
38982
|
-
}
|
38983
|
-
],
|
38984
|
-
"description": "Adds a chunk of text to be typed out, optionally with a different speed"
|
38985
|
-
},
|
38986
|
-
{
|
38987
|
-
"kind": "method",
|
38988
|
-
"name": "addInstantTextChunk",
|
38989
|
-
"privacy": "public",
|
38990
|
-
"return": {
|
38991
|
-
"type": {
|
38992
|
-
"text": "void"
|
38993
|
-
}
|
38994
|
-
},
|
38995
|
-
"parameters": [
|
38996
|
-
{
|
38997
|
-
"name": "text",
|
38998
|
-
"type": {
|
38999
|
-
"text": "string"
|
39000
|
-
},
|
39001
|
-
"description": "The text to add instantly"
|
39002
|
-
}
|
39003
|
-
],
|
39004
|
-
"description": "Adds a chunk of text instantly without typing animation"
|
39005
|
-
},
|
39006
|
-
{
|
39007
|
-
"kind": "method",
|
39008
|
-
"name": "processChunkQueue",
|
39009
|
-
"privacy": "private",
|
39010
|
-
"return": {
|
39011
|
-
"type": {
|
39012
|
-
"text": "void"
|
39013
|
-
}
|
39014
|
-
},
|
39015
|
-
"description": "Processes all chunks in the queue"
|
39016
|
-
},
|
39017
|
-
{
|
39018
|
-
"kind": "method",
|
39019
|
-
"name": "processNextChunk",
|
39020
|
-
"privacy": "private",
|
39021
|
-
"return": {
|
39022
|
-
"type": {
|
39023
|
-
"text": "void"
|
39024
|
-
}
|
39025
|
-
},
|
39026
|
-
"description": "Processes the next chunk in the queue"
|
39027
|
-
},
|
39028
|
-
{
|
39029
|
-
"kind": "method",
|
39030
|
-
"name": "getTypingDelayMs",
|
39031
|
-
"privacy": "private",
|
39032
|
-
"return": {
|
39033
|
-
"type": {
|
39034
|
-
"text": "number"
|
39035
|
-
}
|
39036
|
-
},
|
39037
|
-
"description": "Gets the typing delay in milliseconds per character"
|
39038
|
-
},
|
39039
|
-
{
|
39040
|
-
"kind": "method",
|
39041
|
-
"name": "captureAndProcessContent",
|
39042
|
-
"privacy": "private",
|
39043
|
-
"return": {
|
39044
|
-
"type": {
|
39045
|
-
"text": "void"
|
39046
|
-
}
|
39047
|
-
},
|
39048
|
-
"description": "Captures slot content and starts typewriter animation"
|
39049
|
-
},
|
39050
|
-
{
|
39051
|
-
"kind": "method",
|
39052
|
-
"name": "startTypingAnimation",
|
39053
|
-
"privacy": "private",
|
39054
|
-
"return": {
|
39055
|
-
"type": {
|
39056
|
-
"text": "void"
|
39057
|
-
}
|
39058
|
-
},
|
39059
|
-
"parameters": [
|
39060
|
-
{
|
39061
|
-
"name": "onComplete",
|
39062
|
-
"optional": true,
|
39063
|
-
"type": {
|
39064
|
-
"text": "() => void"
|
39065
|
-
}
|
39066
|
-
}
|
39067
|
-
],
|
39068
|
-
"description": "Starts the typewriter animation"
|
39069
|
-
},
|
39070
|
-
{
|
39071
|
-
"kind": "method",
|
39072
|
-
"name": "clearTypingAnimation",
|
39073
|
-
"privacy": "private",
|
39074
|
-
"return": {
|
39075
|
-
"type": {
|
39076
|
-
"text": "void"
|
39077
|
-
}
|
39078
|
-
},
|
39079
|
-
"description": "Clears the typing animation timeout"
|
39080
|
-
},
|
39081
|
-
{
|
39082
|
-
"kind": "method",
|
39083
|
-
"name": "handleSlotChange",
|
39084
|
-
"privacy": "private",
|
39085
|
-
"return": {
|
39086
|
-
"type": {
|
39087
|
-
"text": "void"
|
39088
|
-
}
|
39089
|
-
},
|
39090
|
-
"description": "Handler for slotchange event"
|
39091
|
-
}
|
39092
|
-
],
|
39093
|
-
"events": [
|
39094
|
-
{
|
39095
|
-
"type": {
|
39096
|
-
"text": "CustomEvent"
|
39097
|
-
}
|
39098
|
-
},
|
39099
|
-
{
|
39100
|
-
"description": "(React: onTypingComplete) Fired when the typewriter finishes typing all content. Detail: \\{ finalContent: string \\}",
|
39101
|
-
"name": "typing-complete",
|
39102
|
-
"reactName": "onTypingComplete"
|
39103
|
-
},
|
39104
|
-
{
|
39105
|
-
"description": "(React: onChange) Fired when the content of the typewriter changes. Detail: \\{ content: string, isTyping: boolean \\}",
|
39106
|
-
"name": "change",
|
39107
|
-
"reactName": "onChange"
|
39108
|
-
}
|
39109
|
-
],
|
39110
|
-
"attributes": [
|
39111
|
-
{
|
39112
|
-
"name": "type",
|
39113
|
-
"type": {
|
39114
|
-
"text": "TextType"
|
39115
|
-
},
|
39116
|
-
"description": "Specifies the text style to be applied to the internal text component.\nUses the same types as the Text component.",
|
39117
|
-
"default": "body-large-regular",
|
39118
|
-
"fieldName": "type"
|
39119
|
-
},
|
39120
|
-
{
|
39121
|
-
"name": "tagname",
|
39122
|
-
"type": {
|
39123
|
-
"text": "TagName | undefined"
|
39124
|
-
},
|
39125
|
-
"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.",
|
39126
|
-
"fieldName": "tagname"
|
39127
|
-
},
|
39128
|
-
{
|
39129
|
-
"name": "speed",
|
39130
|
-
"type": {
|
39131
|
-
"text": "TypewriterSpeed"
|
39132
|
-
},
|
39133
|
-
"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')",
|
39134
|
-
"default": "'normal' (60ms per character)",
|
39135
|
-
"fieldName": "speed"
|
39136
|
-
},
|
39137
|
-
{
|
39138
|
-
"name": "max-queue-size",
|
39139
|
-
"type": {
|
39140
|
-
"text": "number"
|
39141
|
-
},
|
39142
|
-
"description": "Maximum number of text chunks that can be queued before oldest chunks are dropped.\nSet to prevent memory accumulation from excessive queuing.",
|
39143
|
-
"default": "Number.MAX_SAFE_INTEGER (effectively unlimited)",
|
39144
|
-
"fieldName": "maxQueueSize"
|
39145
|
-
}
|
39146
|
-
],
|
39147
|
-
"superclass": {
|
39148
|
-
"name": "Component",
|
39149
|
-
"module": "/src/models"
|
39150
|
-
},
|
39151
|
-
"tagName": "mdc-typewriter",
|
39152
|
-
"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 */",
|
39153
|
-
"customElement": true
|
39154
|
-
}
|
39155
|
-
],
|
39156
|
-
"exports": [
|
39157
|
-
{
|
39158
|
-
"kind": "js",
|
39159
|
-
"name": "default",
|
39160
|
-
"declaration": {
|
39161
|
-
"name": "Typewriter",
|
39162
|
-
"module": "components/typewriter/typewriter.component.js"
|
39163
|
-
}
|
39164
|
-
}
|
39165
|
-
]
|
39166
|
-
},
|
39167
|
-
{
|
39168
|
-
"kind": "javascript-module",
|
39169
|
-
"path": "components/virtualizedlist/virtualizedlist.component.js",
|
39170
|
-
"declarations": [
|
39171
|
-
{
|
39172
|
-
"kind": "class",
|
39173
|
-
"description": "`mdc-virtualizedlist` component for creating custom virtualized lists.\nIMPORTANT: This component does not create it's own list/list items.\nUse the setlistdata callback prop to update client state in order to\nPass list/listitems as a child of this component, which this will virtuailze\nThis implementation handles dynamic lists as well as fixed sized lists.\nPlease refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.",
|
39174
|
-
"name": "VirtualizedList",
|
39175
|
-
"slots": [
|
39176
|
-
{
|
39177
|
-
"description": "Client side List with nested list items.",
|
39178
|
-
"name": ""
|
39179
|
-
}
|
39180
|
-
],
|
39181
|
-
"members": [
|
39182
|
-
{
|
39183
|
-
"kind": "field",
|
39184
|
-
"name": "virtualizerProps",
|
39185
|
-
"type": {
|
39186
|
-
"text": "VirtualizerProps"
|
39187
|
-
},
|
39188
|
-
"description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
|
39189
|
-
"attribute": "virtualizerprops"
|
39190
|
-
},
|
39191
|
-
{
|
39192
|
-
"kind": "field",
|
39193
|
-
"name": "setlistdata",
|
39194
|
-
"type": {
|
39195
|
-
"text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
|
39196
|
-
},
|
39197
|
-
"description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
|
39198
|
-
"default": "null",
|
39199
|
-
"attribute": "setlistdata"
|
39200
|
-
},
|
39201
|
-
{
|
39202
|
-
"kind": "field",
|
39203
|
-
"name": "scrollElementRef",
|
39204
|
-
"type": {
|
39205
|
-
"text": "Ref<HTMLDivElement>"
|
39206
|
-
},
|
39207
|
-
"privacy": "public"
|
39208
|
-
},
|
39209
|
-
{
|
39210
|
-
"kind": "field",
|
39211
|
-
"name": "virtualizer",
|
39212
|
-
"type": {
|
39213
|
-
"text": "Virtualizer<Element, Element> | null"
|
39214
|
-
},
|
39215
|
-
"privacy": "public",
|
39216
|
-
"default": "null"
|
39217
|
-
},
|
39218
|
-
{
|
39219
|
-
"kind": "field",
|
39220
|
-
"name": "virtualItems",
|
39221
|
-
"type": {
|
39222
|
-
"text": "Array<VirtualItem>"
|
39223
|
-
},
|
39224
|
-
"privacy": "public",
|
39225
|
-
"default": "[]"
|
39226
|
-
},
|
39227
|
-
{
|
39228
|
-
"kind": "method",
|
39229
|
-
"name": "handleScroll",
|
39230
|
-
"privacy": "private",
|
39231
|
-
"return": {
|
39232
|
-
"type": {
|
39233
|
-
"text": "void"
|
39234
|
-
}
|
39235
|
-
},
|
39236
|
-
"parameters": [
|
39237
|
-
{
|
39238
|
-
"name": "event",
|
39239
|
-
"type": {
|
39240
|
-
"text": "Event"
|
39241
|
-
}
|
39242
|
-
}
|
39243
|
-
],
|
39244
|
-
"description": "Refires the scroll event from the internal scroll container to the host element"
|
39245
|
-
},
|
39246
|
-
{
|
39247
|
-
"kind": "field",
|
39248
|
-
"name": "virtualizerController",
|
39249
|
-
"type": {
|
39250
|
-
"text": "null"
|
39251
|
-
},
|
39252
|
-
"default": "null"
|
39253
|
-
},
|
39254
|
-
{
|
39255
|
-
"kind": "field",
|
39256
|
-
"name": "onscroll",
|
39257
|
-
"type": {
|
39258
|
-
"text": "null"
|
39259
|
-
},
|
39260
|
-
"default": "null"
|
39261
|
-
}
|
39262
|
-
],
|
39263
|
-
"events": [
|
39264
|
-
{
|
39265
|
-
"type": {
|
39266
|
-
"text": "EventConstructor"
|
39267
|
-
}
|
39268
|
-
},
|
39269
|
-
{
|
39270
|
-
"description": "(React: onScroll) Event that gets called when user scrolls inside of list.",
|
39271
|
-
"name": "scroll",
|
39272
|
-
"reactName": "onScroll"
|
39273
|
-
}
|
39274
|
-
],
|
39275
|
-
"attributes": [
|
39276
|
-
{
|
39277
|
-
"name": "virtualizerprops",
|
39278
|
-
"type": {
|
39279
|
-
"text": "VirtualizerProps"
|
39280
|
-
},
|
39281
|
-
"description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
|
39282
|
-
"fieldName": "virtualizerProps"
|
39283
|
-
},
|
39284
|
-
{
|
39285
|
-
"name": "setlistdata",
|
39286
|
-
"type": {
|
39287
|
-
"text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
|
39288
|
-
},
|
39289
|
-
"description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
|
39290
|
-
"default": "null",
|
39291
|
-
"fieldName": "setlistdata"
|
39292
|
-
}
|
39293
|
-
],
|
39294
|
-
"superclass": {
|
39295
|
-
"name": "Component",
|
39296
|
-
"module": "/src/models"
|
39297
|
-
},
|
39298
|
-
"tagName": "mdc-virtualizedlist",
|
39299
|
-
"jsDoc": "/**\n * `mdc-virtualizedlist` component for creating custom virtualized lists.\n * IMPORTANT: This component does not create it's own list/list items.\n * Use the setlistdata callback prop to update client state in order to\n * Pass list/listitems as a child of this component, which this will virtuailze\n * This implementation handles dynamic lists as well as fixed sized lists.\n * Please refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.\n *\n * @tagname mdc-virtualizedlist\n *\n * @event scroll - (React: onScroll) Event that gets called when user scrolls inside of list.\n *\n * @slot - Client side List with nested list items.\n */",
|
39300
|
-
"customElement": true
|
39301
|
-
}
|
39302
|
-
],
|
39303
|
-
"exports": [
|
39304
|
-
{
|
39305
|
-
"kind": "js",
|
39306
|
-
"name": "default",
|
39307
|
-
"declaration": {
|
39308
|
-
"name": "VirtualizedList",
|
39309
|
-
"module": "components/virtualizedlist/virtualizedlist.component.js"
|
39310
|
-
}
|
39311
|
-
}
|
39312
|
-
]
|
39313
|
-
},
|
39314
|
-
{
|
39315
|
-
"kind": "javascript-module",
|
39316
|
-
"path": "components/tooltip/tooltip.component.js",
|
38833
|
+
"path": "components/toggletip/toggletip.component.js",
|
39317
38834
|
"declarations": [
|
39318
38835
|
{
|
39319
38836
|
"kind": "class",
|
39320
|
-
"description": "A
|
39321
|
-
"name": "
|
38837
|
+
"description": "A toggletip is triggered by clicking a trigger element.\n\nIt can contain interactive content and can be closed by\nclicking outside the toggletip or pressing the escape key.\n\nIt can have optional close button to close the toggletip.\n\nToggletip component uses `mdc-screenreaderannouncer` internally to\nannounce the toggletip text content with screen readers when the toggletip is shown.\n\n`screenreader-announcer-identity` attribute can be used to provide ID of an element\nin DOM to which announcement elements are added. If not set, a visually hidden\ndiv element is created in DOM to which announcement elements are added.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
|
38838
|
+
"name": "ToggleTip",
|
39322
38839
|
"cssProperties": [
|
39323
38840
|
{
|
39324
|
-
"description": "The maximum width of the
|
39325
|
-
"name": "--mdc-
|
39326
|
-
},
|
39327
|
-
{
|
39328
|
-
"description": "The padding of the tooltip.",
|
39329
|
-
"name": "--mdc-tooltip-padding"
|
38841
|
+
"description": "The maximum width of the toggletip.",
|
38842
|
+
"name": "--mdc-toggletip-max-width"
|
39330
38843
|
},
|
39331
38844
|
{
|
39332
|
-
"description": "The text color of the
|
39333
|
-
"name": "--mdc-
|
38845
|
+
"description": "The text color of the toggletip.",
|
38846
|
+
"name": "--mdc-toggletip-text-color"
|
39334
38847
|
},
|
39335
38848
|
{
|
39336
|
-
"description": "The text color of the
|
39337
|
-
"name": "--mdc-
|
38849
|
+
"description": "The text color of the toggletip when the color is contrast.",
|
38850
|
+
"name": "--mdc-toggletip-text-color-contrast"
|
39338
38851
|
},
|
39339
38852
|
{
|
39340
38853
|
"description": "radius of the arrow border",
|
@@ -39417,18 +38930,17 @@
|
|
39417
38930
|
}
|
39418
38931
|
}
|
39419
38932
|
],
|
39420
|
-
"
|
38933
|
+
"slots": [
|
39421
38934
|
{
|
39422
|
-
"
|
39423
|
-
"name": "
|
39424
|
-
"
|
39425
|
-
"
|
39426
|
-
|
39427
|
-
|
39428
|
-
|
39429
|
-
|
39430
|
-
|
39431
|
-
},
|
38935
|
+
"description": "Default slot for the toggletip content",
|
38936
|
+
"name": "",
|
38937
|
+
"inheritedFrom": {
|
38938
|
+
"name": "Popover",
|
38939
|
+
"module": "src/components/popover/popover.component.ts"
|
38940
|
+
}
|
38941
|
+
}
|
38942
|
+
],
|
38943
|
+
"members": [
|
39432
38944
|
{
|
39433
38945
|
"kind": "field",
|
39434
38946
|
"name": "defaultSlotNodes",
|
@@ -39438,76 +38950,50 @@
|
|
39438
38950
|
"privacy": "private"
|
39439
38951
|
},
|
39440
38952
|
{
|
39441
|
-
"kind": "
|
39442
|
-
"name": "
|
39443
|
-
"
|
39444
|
-
|
39445
|
-
"type": {
|
39446
|
-
"text": ""
|
39447
|
-
}
|
39448
|
-
}
|
39449
|
-
},
|
39450
|
-
{
|
39451
|
-
"kind": "method",
|
39452
|
-
"name": "setTooltipType",
|
39453
|
-
"privacy": "private",
|
39454
|
-
"return": {
|
39455
|
-
"type": {
|
39456
|
-
"text": "void"
|
39457
|
-
}
|
38953
|
+
"kind": "field",
|
38954
|
+
"name": "screenreaderAnnouncerIdentity",
|
38955
|
+
"type": {
|
38956
|
+
"text": "string | undefined"
|
39458
38957
|
},
|
39459
|
-
"
|
39460
|
-
|
39461
|
-
|
39462
|
-
"type": {
|
39463
|
-
"text": "TooltipType"
|
39464
|
-
},
|
39465
|
-
"description": "The type to set."
|
39466
|
-
}
|
39467
|
-
],
|
39468
|
-
"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."
|
38958
|
+
"description": "Set this attribute with the id of the element in the DOM, to which announcement\nelements will be appended.\nIf an id is provided, the announcement elements will be appended to this element.\nIf id is not provided, a visually hidden div element will be created in the DOM.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
|
38959
|
+
"attribute": "screenreader-announcer-identity",
|
38960
|
+
"reflects": true
|
39469
38961
|
},
|
39470
38962
|
{
|
39471
|
-
"kind": "
|
39472
|
-
"name": "
|
39473
|
-
"
|
39474
|
-
|
39475
|
-
"type": {
|
39476
|
-
"text": "Promise<void>"
|
39477
|
-
}
|
38963
|
+
"kind": "field",
|
38964
|
+
"name": "placement",
|
38965
|
+
"type": {
|
38966
|
+
"text": "PopoverPlacement"
|
39478
38967
|
},
|
39479
|
-
"description": "
|
38968
|
+
"description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
|
38969
|
+
"default": "bottom",
|
38970
|
+
"attribute": "placement",
|
38971
|
+
"reflects": true,
|
38972
|
+
"inheritedFrom": {
|
38973
|
+
"name": "Popover",
|
38974
|
+
"module": "components/popover/popover.component.js"
|
38975
|
+
}
|
39480
38976
|
},
|
39481
38977
|
{
|
39482
38978
|
"kind": "method",
|
39483
|
-
"name": "
|
38979
|
+
"name": "getToggleTipText",
|
39484
38980
|
"privacy": "private",
|
39485
38981
|
"return": {
|
39486
38982
|
"type": {
|
39487
|
-
"text": "
|
38983
|
+
"text": ""
|
39488
38984
|
}
|
39489
|
-
}
|
39490
|
-
"description": "Updates the placement attribute if it is not a valid placement.\nOverriding the default from Popover"
|
38985
|
+
}
|
39491
38986
|
},
|
39492
38987
|
{
|
39493
38988
|
"kind": "method",
|
39494
|
-
"name": "
|
38989
|
+
"name": "onPlacementUpdated",
|
39495
38990
|
"privacy": "private",
|
39496
38991
|
"return": {
|
39497
38992
|
"type": {
|
39498
38993
|
"text": "void"
|
39499
38994
|
}
|
39500
38995
|
},
|
39501
|
-
"
|
39502
|
-
{
|
39503
|
-
"name": "changedProperties",
|
39504
|
-
"type": {
|
39505
|
-
"text": "PropertyValues"
|
39506
|
-
},
|
39507
|
-
"description": "The changed properties."
|
39508
|
-
}
|
39509
|
-
],
|
39510
|
-
"description": "Updates the tooltip type attribute and sets the appropriate aria props on the trigger component."
|
38996
|
+
"description": "Updates the placement attribute if it is not a valid placement.\nDefault placement for toggle tip is top."
|
39511
38997
|
},
|
39512
38998
|
{
|
39513
38999
|
"kind": "field",
|
@@ -40115,21 +39601,6 @@
|
|
40115
39601
|
"module": "components/popover/popover.component.js"
|
40116
39602
|
}
|
40117
39603
|
},
|
40118
|
-
{
|
40119
|
-
"kind": "field",
|
40120
|
-
"name": "placement",
|
40121
|
-
"type": {
|
40122
|
-
"text": "PopoverPlacement"
|
40123
|
-
},
|
40124
|
-
"description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
|
40125
|
-
"default": "bottom",
|
40126
|
-
"attribute": "placement",
|
40127
|
-
"reflects": true,
|
40128
|
-
"inheritedFrom": {
|
40129
|
-
"name": "Popover",
|
40130
|
-
"module": "components/popover/popover.component.js"
|
40131
|
-
}
|
40132
|
-
},
|
40133
39604
|
{
|
40134
39605
|
"kind": "field",
|
40135
39606
|
"name": "color",
|
@@ -40849,7 +40320,7 @@
|
|
40849
40320
|
],
|
40850
40321
|
"events": [
|
40851
40322
|
{
|
40852
|
-
"description": "(React: onShown) This event is dispatched when the
|
40323
|
+
"description": "(React: onShown) This event is dispatched when the toggletip is shown",
|
40853
40324
|
"name": "shown",
|
40854
40325
|
"reactName": "onShown",
|
40855
40326
|
"inheritedFrom": {
|
@@ -40858,7 +40329,7 @@
|
|
40858
40329
|
}
|
40859
40330
|
},
|
40860
40331
|
{
|
40861
|
-
"description": "(React: onHidden) This event is dispatched when the
|
40332
|
+
"description": "(React: onHidden) This event is dispatched when the toggletip is hidden",
|
40862
40333
|
"name": "hidden",
|
40863
40334
|
"reactName": "onHidden",
|
40864
40335
|
"inheritedFrom": {
|
@@ -40867,7 +40338,7 @@
|
|
40867
40338
|
}
|
40868
40339
|
},
|
40869
40340
|
{
|
40870
|
-
"description": "(React: onCreated) This event is dispatched when the
|
40341
|
+
"description": "(React: onCreated) This event is dispatched when the toggletip is created (added to the DOM)",
|
40871
40342
|
"name": "created",
|
40872
40343
|
"reactName": "onCreated",
|
40873
40344
|
"inheritedFrom": {
|
@@ -40876,7 +40347,7 @@
|
|
40876
40347
|
}
|
40877
40348
|
},
|
40878
40349
|
{
|
40879
|
-
"description": "(React: onDestroyed) This event is dispatched when the
|
40350
|
+
"description": "(React: onDestroyed) This event is dispatched when the toggletip is destroyed (removed from the DOM)",
|
40880
40351
|
"name": "destroyed",
|
40881
40352
|
"reactName": "onDestroyed",
|
40882
40353
|
"inheritedFrom": {
|
@@ -40887,13 +40358,25 @@
|
|
40887
40358
|
],
|
40888
40359
|
"attributes": [
|
40889
40360
|
{
|
40890
|
-
"name": "
|
40361
|
+
"name": "screenreader-announcer-identity",
|
40891
40362
|
"type": {
|
40892
|
-
"text": "
|
40363
|
+
"text": "string | undefined"
|
40893
40364
|
},
|
40894
|
-
"description": "
|
40895
|
-
"
|
40896
|
-
|
40365
|
+
"description": "Set this attribute with the id of the element in the DOM, to which announcement\nelements will be appended.\nIf an id is provided, the announcement elements will be appended to this element.\nIf id is not provided, a visually hidden div element will be created in the DOM.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
|
40366
|
+
"fieldName": "screenreaderAnnouncerIdentity"
|
40367
|
+
},
|
40368
|
+
{
|
40369
|
+
"name": "placement",
|
40370
|
+
"type": {
|
40371
|
+
"text": "PopoverPlacement"
|
40372
|
+
},
|
40373
|
+
"description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
|
40374
|
+
"default": "bottom",
|
40375
|
+
"fieldName": "placement",
|
40376
|
+
"inheritedFrom": {
|
40377
|
+
"name": "Popover",
|
40378
|
+
"module": "src/components/popover/popover.component.ts"
|
40379
|
+
}
|
40897
40380
|
},
|
40898
40381
|
{
|
40899
40382
|
"name": "should-focus-trap-wrap",
|
@@ -40947,19 +40430,6 @@
|
|
40947
40430
|
"module": "src/components/popover/popover.component.ts"
|
40948
40431
|
}
|
40949
40432
|
},
|
40950
|
-
{
|
40951
|
-
"name": "placement",
|
40952
|
-
"type": {
|
40953
|
-
"text": "PopoverPlacement"
|
40954
|
-
},
|
40955
|
-
"description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
|
40956
|
-
"default": "bottom",
|
40957
|
-
"fieldName": "placement",
|
40958
|
-
"inheritedFrom": {
|
40959
|
-
"name": "Popover",
|
40960
|
-
"module": "src/components/popover/popover.component.ts"
|
40961
|
-
}
|
40962
|
-
},
|
40963
40433
|
{
|
40964
40434
|
"name": "color",
|
40965
40435
|
"type": {
|
@@ -41380,19 +40850,9 @@
|
|
41380
40850
|
"name": "Popover",
|
41381
40851
|
"module": "/src/components/popover/popover.component"
|
41382
40852
|
},
|
41383
|
-
"tagName": "mdc-
|
41384
|
-
"jsDoc": "/**\n * A
|
41385
|
-
"customElement": true
|
41386
|
-
"slots": [
|
41387
|
-
{
|
41388
|
-
"description": "Default slot for the popover content",
|
41389
|
-
"name": "",
|
41390
|
-
"inheritedFrom": {
|
41391
|
-
"name": "Popover",
|
41392
|
-
"module": "src/components/popover/popover.component.ts"
|
41393
|
-
}
|
41394
|
-
}
|
41395
|
-
]
|
40853
|
+
"tagName": "mdc-toggletip",
|
40854
|
+
"jsDoc": "/**\n * A toggletip is triggered by clicking a trigger element.\n *\n * It can contain interactive content and can be closed by\n * clicking outside the toggletip or pressing the escape key.\n *\n * It can have optional close button to close the toggletip.\n *\n * Toggletip component uses `mdc-screenreaderannouncer` internally to\n * announce the toggletip text content with screen readers when the toggletip is shown.\n *\n * `screenreader-announcer-identity` attribute can be used to provide ID of an element\n * in DOM to which announcement elements are added. If not set, a visually hidden\n * div element is created in DOM to which announcement elements are added.\n *\n * Please refer to the `mdc-screenreaderannouncer` component for more details.\n *\n * @dependency mdc-screenreaderannouncer\n * @dependency mdc-button\n *\n * @tagname mdc-toggletip\n *\n * @event shown - (React: onShown) This event is dispatched when the toggletip is shown\n * @event hidden - (React: onHidden) This event is dispatched when the toggletip is hidden\n * @event created - (React: onCreated) This event is dispatched when the toggletip is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the toggletip\n * is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-toggletip-max-width - The maximum width of the toggletip.\n * @cssproperty --mdc-toggletip-text-color - The text color of the toggletip.\n * @cssproperty --mdc-toggletip-text-color-contrast - The text color of the toggletip\n * when the color is contrast.\n *\n * @slot - Default slot for the toggletip content\n */",
|
40855
|
+
"customElement": true
|
41396
40856
|
}
|
41397
40857
|
],
|
41398
40858
|
"exports": [
|
@@ -41400,32 +40860,36 @@
|
|
41400
40860
|
"kind": "js",
|
41401
40861
|
"name": "default",
|
41402
40862
|
"declaration": {
|
41403
|
-
"name": "
|
41404
|
-
"module": "components/
|
40863
|
+
"name": "ToggleTip",
|
40864
|
+
"module": "components/toggletip/toggletip.component.js"
|
41405
40865
|
}
|
41406
40866
|
}
|
41407
40867
|
]
|
41408
40868
|
},
|
41409
40869
|
{
|
41410
40870
|
"kind": "javascript-module",
|
41411
|
-
"path": "components/
|
40871
|
+
"path": "components/tooltip/tooltip.component.js",
|
41412
40872
|
"declarations": [
|
41413
40873
|
{
|
41414
40874
|
"kind": "class",
|
41415
|
-
"description": "A
|
41416
|
-
"name": "
|
40875
|
+
"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.",
|
40876
|
+
"name": "Tooltip",
|
41417
40877
|
"cssProperties": [
|
41418
40878
|
{
|
41419
|
-
"description": "The maximum width of the
|
41420
|
-
"name": "--mdc-
|
40879
|
+
"description": "The maximum width of the tooltip.",
|
40880
|
+
"name": "--mdc-tooltip-max-width"
|
41421
40881
|
},
|
41422
40882
|
{
|
41423
|
-
"description": "The
|
41424
|
-
"name": "--mdc-
|
40883
|
+
"description": "The padding of the tooltip.",
|
40884
|
+
"name": "--mdc-tooltip-padding"
|
41425
40885
|
},
|
41426
40886
|
{
|
41427
|
-
"description": "The text color of the
|
41428
|
-
"name": "--mdc-
|
40887
|
+
"description": "The text color of the tooltip.",
|
40888
|
+
"name": "--mdc-tooltip-text-color"
|
40889
|
+
},
|
40890
|
+
{
|
40891
|
+
"description": "The text color of the tooltip when the color is contrast.",
|
40892
|
+
"name": "--mdc-tooltip-text-color-contrast"
|
41429
40893
|
},
|
41430
40894
|
{
|
41431
40895
|
"description": "radius of the arrow border",
|
@@ -41508,53 +40972,29 @@
|
|
41508
40972
|
}
|
41509
40973
|
}
|
41510
40974
|
],
|
41511
|
-
"slots": [
|
41512
|
-
{
|
41513
|
-
"description": "Default slot for the toggletip content",
|
41514
|
-
"name": "",
|
41515
|
-
"inheritedFrom": {
|
41516
|
-
"name": "Popover",
|
41517
|
-
"module": "src/components/popover/popover.component.ts"
|
41518
|
-
}
|
41519
|
-
}
|
41520
|
-
],
|
41521
40975
|
"members": [
|
41522
40976
|
{
|
41523
40977
|
"kind": "field",
|
41524
|
-
"name": "
|
41525
|
-
"type": {
|
41526
|
-
"text": "Array<Node>"
|
41527
|
-
},
|
41528
|
-
"privacy": "private"
|
41529
|
-
},
|
41530
|
-
{
|
41531
|
-
"kind": "field",
|
41532
|
-
"name": "screenreaderAnnouncerIdentity",
|
40978
|
+
"name": "tooltipType",
|
41533
40979
|
"type": {
|
41534
|
-
"text": "
|
40980
|
+
"text": "TooltipType"
|
41535
40981
|
},
|
41536
|
-
"description": "
|
41537
|
-
"
|
40982
|
+
"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.",
|
40983
|
+
"default": "'description'",
|
40984
|
+
"attribute": "tooltip-type",
|
41538
40985
|
"reflects": true
|
41539
40986
|
},
|
41540
40987
|
{
|
41541
40988
|
"kind": "field",
|
41542
|
-
"name": "
|
40989
|
+
"name": "defaultSlotNodes",
|
41543
40990
|
"type": {
|
41544
|
-
"text": "
|
40991
|
+
"text": "Array<Node>"
|
41545
40992
|
},
|
41546
|
-
"
|
41547
|
-
"default": "bottom",
|
41548
|
-
"attribute": "placement",
|
41549
|
-
"reflects": true,
|
41550
|
-
"inheritedFrom": {
|
41551
|
-
"name": "Popover",
|
41552
|
-
"module": "components/popover/popover.component.js"
|
41553
|
-
}
|
40993
|
+
"privacy": "private"
|
41554
40994
|
},
|
41555
40995
|
{
|
41556
40996
|
"kind": "method",
|
41557
|
-
"name": "
|
40997
|
+
"name": "getTooltipText",
|
41558
40998
|
"privacy": "private",
|
41559
40999
|
"return": {
|
41560
41000
|
"type": {
|
@@ -41562,6 +41002,37 @@
|
|
41562
41002
|
}
|
41563
41003
|
}
|
41564
41004
|
},
|
41005
|
+
{
|
41006
|
+
"kind": "method",
|
41007
|
+
"name": "setTooltipType",
|
41008
|
+
"privacy": "private",
|
41009
|
+
"return": {
|
41010
|
+
"type": {
|
41011
|
+
"text": "void"
|
41012
|
+
}
|
41013
|
+
},
|
41014
|
+
"parameters": [
|
41015
|
+
{
|
41016
|
+
"name": "type",
|
41017
|
+
"type": {
|
41018
|
+
"text": "TooltipType"
|
41019
|
+
},
|
41020
|
+
"description": "The type to set."
|
41021
|
+
}
|
41022
|
+
],
|
41023
|
+
"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."
|
41024
|
+
},
|
41025
|
+
{
|
41026
|
+
"kind": "method",
|
41027
|
+
"name": "onIdUpdated",
|
41028
|
+
"privacy": "private",
|
41029
|
+
"return": {
|
41030
|
+
"type": {
|
41031
|
+
"text": "Promise<void>"
|
41032
|
+
}
|
41033
|
+
},
|
41034
|
+
"description": "Updates the tooltip id if it is empty."
|
41035
|
+
},
|
41565
41036
|
{
|
41566
41037
|
"kind": "method",
|
41567
41038
|
"name": "onPlacementUpdated",
|
@@ -41571,7 +41042,27 @@
|
|
41571
41042
|
"text": "void"
|
41572
41043
|
}
|
41573
41044
|
},
|
41574
|
-
"description": "Updates the placement attribute if it is not a valid placement.\
|
41045
|
+
"description": "Updates the placement attribute if it is not a valid placement.\nOverriding the default from Popover"
|
41046
|
+
},
|
41047
|
+
{
|
41048
|
+
"kind": "method",
|
41049
|
+
"name": "onTooltipTypeUpdated",
|
41050
|
+
"privacy": "private",
|
41051
|
+
"return": {
|
41052
|
+
"type": {
|
41053
|
+
"text": "void"
|
41054
|
+
}
|
41055
|
+
},
|
41056
|
+
"parameters": [
|
41057
|
+
{
|
41058
|
+
"name": "changedProperties",
|
41059
|
+
"type": {
|
41060
|
+
"text": "PropertyValues"
|
41061
|
+
},
|
41062
|
+
"description": "The changed properties."
|
41063
|
+
}
|
41064
|
+
],
|
41065
|
+
"description": "Updates the tooltip type attribute and sets the appropriate aria props on the trigger component."
|
41575
41066
|
},
|
41576
41067
|
{
|
41577
41068
|
"kind": "field",
|
@@ -42179,6 +41670,21 @@
|
|
42179
41670
|
"module": "components/popover/popover.component.js"
|
42180
41671
|
}
|
42181
41672
|
},
|
41673
|
+
{
|
41674
|
+
"kind": "field",
|
41675
|
+
"name": "placement",
|
41676
|
+
"type": {
|
41677
|
+
"text": "PopoverPlacement"
|
41678
|
+
},
|
41679
|
+
"description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
|
41680
|
+
"default": "bottom",
|
41681
|
+
"attribute": "placement",
|
41682
|
+
"reflects": true,
|
41683
|
+
"inheritedFrom": {
|
41684
|
+
"name": "Popover",
|
41685
|
+
"module": "components/popover/popover.component.js"
|
41686
|
+
}
|
41687
|
+
},
|
42182
41688
|
{
|
42183
41689
|
"kind": "field",
|
42184
41690
|
"name": "color",
|
@@ -42898,7 +42404,7 @@
|
|
42898
42404
|
],
|
42899
42405
|
"events": [
|
42900
42406
|
{
|
42901
|
-
"description": "(React: onShown) This event is dispatched when the
|
42407
|
+
"description": "(React: onShown) This event is dispatched when the tooltip is shown",
|
42902
42408
|
"name": "shown",
|
42903
42409
|
"reactName": "onShown",
|
42904
42410
|
"inheritedFrom": {
|
@@ -42907,7 +42413,7 @@
|
|
42907
42413
|
}
|
42908
42414
|
},
|
42909
42415
|
{
|
42910
|
-
"description": "(React: onHidden) This event is dispatched when the
|
42416
|
+
"description": "(React: onHidden) This event is dispatched when the tooltip is hidden",
|
42911
42417
|
"name": "hidden",
|
42912
42418
|
"reactName": "onHidden",
|
42913
42419
|
"inheritedFrom": {
|
@@ -42916,7 +42422,7 @@
|
|
42916
42422
|
}
|
42917
42423
|
},
|
42918
42424
|
{
|
42919
|
-
"description": "(React: onCreated) This event is dispatched when the
|
42425
|
+
"description": "(React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)",
|
42920
42426
|
"name": "created",
|
42921
42427
|
"reactName": "onCreated",
|
42922
42428
|
"inheritedFrom": {
|
@@ -42925,7 +42431,7 @@
|
|
42925
42431
|
}
|
42926
42432
|
},
|
42927
42433
|
{
|
42928
|
-
"description": "(React: onDestroyed) This event is dispatched when the
|
42434
|
+
"description": "(React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)",
|
42929
42435
|
"name": "destroyed",
|
42930
42436
|
"reactName": "onDestroyed",
|
42931
42437
|
"inheritedFrom": {
|
@@ -42936,25 +42442,13 @@
|
|
42936
42442
|
],
|
42937
42443
|
"attributes": [
|
42938
42444
|
{
|
42939
|
-
"name": "
|
42940
|
-
"type": {
|
42941
|
-
"text": "string | undefined"
|
42942
|
-
},
|
42943
|
-
"description": "Set this attribute with the id of the element in the DOM, to which announcement\nelements will be appended.\nIf an id is provided, the announcement elements will be appended to this element.\nIf id is not provided, a visually hidden div element will be created in the DOM.\n\nPlease refer to the `mdc-screenreaderannouncer` component for more details.",
|
42944
|
-
"fieldName": "screenreaderAnnouncerIdentity"
|
42945
|
-
},
|
42946
|
-
{
|
42947
|
-
"name": "placement",
|
42445
|
+
"name": "tooltip-type",
|
42948
42446
|
"type": {
|
42949
|
-
"text": "
|
42447
|
+
"text": "TooltipType"
|
42950
42448
|
},
|
42951
|
-
"description": "The
|
42952
|
-
"default": "
|
42953
|
-
"fieldName": "
|
42954
|
-
"inheritedFrom": {
|
42955
|
-
"name": "Popover",
|
42956
|
-
"module": "src/components/popover/popover.component.ts"
|
42957
|
-
}
|
42449
|
+
"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.",
|
42450
|
+
"default": "'description'",
|
42451
|
+
"fieldName": "tooltipType"
|
42958
42452
|
},
|
42959
42453
|
{
|
42960
42454
|
"name": "should-focus-trap-wrap",
|
@@ -43008,6 +42502,19 @@
|
|
43008
42502
|
"module": "src/components/popover/popover.component.ts"
|
43009
42503
|
}
|
43010
42504
|
},
|
42505
|
+
{
|
42506
|
+
"name": "placement",
|
42507
|
+
"type": {
|
42508
|
+
"text": "PopoverPlacement"
|
42509
|
+
},
|
42510
|
+
"description": "The placement of the popover.\n- **top**\n- **top-start**\n- **top-end**\n- **bottom**\n- **bottom-start**\n- **bottom-end**\n- **left**\n- **left-start**\n- **left-end**\n- **right**\n- **right-start**\n- **right-end**",
|
42511
|
+
"default": "bottom",
|
42512
|
+
"fieldName": "placement",
|
42513
|
+
"inheritedFrom": {
|
42514
|
+
"name": "Popover",
|
42515
|
+
"module": "src/components/popover/popover.component.ts"
|
42516
|
+
}
|
42517
|
+
},
|
43011
42518
|
{
|
43012
42519
|
"name": "color",
|
43013
42520
|
"type": {
|
@@ -43428,8 +42935,354 @@
|
|
43428
42935
|
"name": "Popover",
|
43429
42936
|
"module": "/src/components/popover/popover.component"
|
43430
42937
|
},
|
43431
|
-
"tagName": "mdc-
|
43432
|
-
"jsDoc": "/**\n * A
|
42938
|
+
"tagName": "mdc-tooltip",
|
42939
|
+
"jsDoc": "/**\n * A tooltip is triggered by mouse hover or by keyboard focus\n * and will disappear upon mouse exit or focus change.\n *\n * Note: Tooltips cannot contain content that can be focused or interacted with.\n *\n * @tagname mdc-tooltip\n *\n * @event shown - (React: onShown) This event is dispatched when the tooltip is shown\n * @event hidden - (React: onHidden) This event is dispatched when the tooltip is hidden\n * @event created - (React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-tooltip-max-width - The maximum width of the tooltip.\n * @cssproperty --mdc-tooltip-padding - The padding of the tooltip.\n * @cssproperty --mdc-tooltip-text-color - The text color of the tooltip.\n * @cssproperty --mdc-tooltip-text-color-contrast - The text color of the tooltip when the color is contrast.\n *\n */",
|
42940
|
+
"customElement": true,
|
42941
|
+
"slots": [
|
42942
|
+
{
|
42943
|
+
"description": "Default slot for the popover content",
|
42944
|
+
"name": "",
|
42945
|
+
"inheritedFrom": {
|
42946
|
+
"name": "Popover",
|
42947
|
+
"module": "src/components/popover/popover.component.ts"
|
42948
|
+
}
|
42949
|
+
}
|
42950
|
+
]
|
42951
|
+
}
|
42952
|
+
],
|
42953
|
+
"exports": [
|
42954
|
+
{
|
42955
|
+
"kind": "js",
|
42956
|
+
"name": "default",
|
42957
|
+
"declaration": {
|
42958
|
+
"name": "Tooltip",
|
42959
|
+
"module": "components/tooltip/tooltip.component.js"
|
42960
|
+
}
|
42961
|
+
}
|
42962
|
+
]
|
42963
|
+
},
|
42964
|
+
{
|
42965
|
+
"kind": "javascript-module",
|
42966
|
+
"path": "components/typewriter/typewriter.component.js",
|
42967
|
+
"declarations": [
|
42968
|
+
{
|
42969
|
+
"kind": "class",
|
42970
|
+
"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",
|
42971
|
+
"name": "Typewriter",
|
42972
|
+
"cssParts": [
|
42973
|
+
{
|
42974
|
+
"description": "Container for the text element",
|
42975
|
+
"name": "container"
|
42976
|
+
},
|
42977
|
+
{
|
42978
|
+
"description": "The text element (forwarded to mdc-text)",
|
42979
|
+
"name": "text"
|
42980
|
+
}
|
42981
|
+
],
|
42982
|
+
"slots": [
|
42983
|
+
{
|
42984
|
+
"description": "Default slot for text content",
|
42985
|
+
"name": ""
|
42986
|
+
}
|
42987
|
+
],
|
42988
|
+
"members": [
|
42989
|
+
{
|
42990
|
+
"kind": "field",
|
42991
|
+
"name": "type",
|
42992
|
+
"type": {
|
42993
|
+
"text": "TextType"
|
42994
|
+
},
|
42995
|
+
"privacy": "public",
|
42996
|
+
"description": "Specifies the text style to be applied to the internal text component.\nUses the same types as the Text component.",
|
42997
|
+
"default": "body-large-regular",
|
42998
|
+
"attribute": "type",
|
42999
|
+
"reflects": true
|
43000
|
+
},
|
43001
|
+
{
|
43002
|
+
"kind": "field",
|
43003
|
+
"name": "tagname",
|
43004
|
+
"type": {
|
43005
|
+
"text": "TagName | undefined"
|
43006
|
+
},
|
43007
|
+
"privacy": "public",
|
43008
|
+
"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.",
|
43009
|
+
"attribute": "tagname",
|
43010
|
+
"reflects": true
|
43011
|
+
},
|
43012
|
+
{
|
43013
|
+
"kind": "field",
|
43014
|
+
"name": "speed",
|
43015
|
+
"type": {
|
43016
|
+
"text": "TypewriterSpeed"
|
43017
|
+
},
|
43018
|
+
"privacy": "public",
|
43019
|
+
"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')",
|
43020
|
+
"default": "'normal' (60ms per character)",
|
43021
|
+
"attribute": "speed",
|
43022
|
+
"reflects": true
|
43023
|
+
},
|
43024
|
+
{
|
43025
|
+
"kind": "field",
|
43026
|
+
"name": "maxQueueSize",
|
43027
|
+
"type": {
|
43028
|
+
"text": "number"
|
43029
|
+
},
|
43030
|
+
"privacy": "public",
|
43031
|
+
"description": "Maximum number of text chunks that can be queued before oldest chunks are dropped.\nSet to prevent memory accumulation from excessive queuing.",
|
43032
|
+
"default": "Number.MAX_SAFE_INTEGER (effectively unlimited)",
|
43033
|
+
"attribute": "max-queue-size",
|
43034
|
+
"reflects": true
|
43035
|
+
},
|
43036
|
+
{
|
43037
|
+
"kind": "method",
|
43038
|
+
"name": "createTimeout",
|
43039
|
+
"privacy": "private",
|
43040
|
+
"return": {
|
43041
|
+
"type": {
|
43042
|
+
"text": "number"
|
43043
|
+
}
|
43044
|
+
},
|
43045
|
+
"parameters": [
|
43046
|
+
{
|
43047
|
+
"name": "callback",
|
43048
|
+
"type": {
|
43049
|
+
"text": "() => void"
|
43050
|
+
}
|
43051
|
+
},
|
43052
|
+
{
|
43053
|
+
"name": "delay",
|
43054
|
+
"type": {
|
43055
|
+
"text": "number"
|
43056
|
+
}
|
43057
|
+
}
|
43058
|
+
],
|
43059
|
+
"description": "Helper to create tracked setTimeout that will be cleaned up on disconnect"
|
43060
|
+
},
|
43061
|
+
{
|
43062
|
+
"kind": "method",
|
43063
|
+
"name": "clearAllTimeouts",
|
43064
|
+
"privacy": "private",
|
43065
|
+
"return": {
|
43066
|
+
"type": {
|
43067
|
+
"text": "void"
|
43068
|
+
}
|
43069
|
+
},
|
43070
|
+
"description": "Clear all pending timeouts"
|
43071
|
+
},
|
43072
|
+
{
|
43073
|
+
"kind": "method",
|
43074
|
+
"name": "clearQueue",
|
43075
|
+
"privacy": "public",
|
43076
|
+
"return": {
|
43077
|
+
"type": {
|
43078
|
+
"text": "void"
|
43079
|
+
}
|
43080
|
+
},
|
43081
|
+
"description": "Clears the text chunk queue and stops processing\nUseful for resetting the component state"
|
43082
|
+
},
|
43083
|
+
{
|
43084
|
+
"kind": "method",
|
43085
|
+
"name": "addTextChunk",
|
43086
|
+
"privacy": "public",
|
43087
|
+
"return": {
|
43088
|
+
"type": {
|
43089
|
+
"text": "void"
|
43090
|
+
}
|
43091
|
+
},
|
43092
|
+
"parameters": [
|
43093
|
+
{
|
43094
|
+
"name": "text",
|
43095
|
+
"type": {
|
43096
|
+
"text": "string"
|
43097
|
+
},
|
43098
|
+
"description": "The text to add"
|
43099
|
+
},
|
43100
|
+
{
|
43101
|
+
"name": "speed",
|
43102
|
+
"optional": true,
|
43103
|
+
"type": {
|
43104
|
+
"text": "TypewriterSpeed"
|
43105
|
+
},
|
43106
|
+
"description": "Optional speed override for this chunk"
|
43107
|
+
},
|
43108
|
+
{
|
43109
|
+
"name": "instant",
|
43110
|
+
"optional": true,
|
43111
|
+
"type": {
|
43112
|
+
"text": "boolean"
|
43113
|
+
},
|
43114
|
+
"description": "If true, text appears instantly without animation"
|
43115
|
+
}
|
43116
|
+
],
|
43117
|
+
"description": "Adds a chunk of text to be typed out, optionally with a different speed"
|
43118
|
+
},
|
43119
|
+
{
|
43120
|
+
"kind": "method",
|
43121
|
+
"name": "addInstantTextChunk",
|
43122
|
+
"privacy": "public",
|
43123
|
+
"return": {
|
43124
|
+
"type": {
|
43125
|
+
"text": "void"
|
43126
|
+
}
|
43127
|
+
},
|
43128
|
+
"parameters": [
|
43129
|
+
{
|
43130
|
+
"name": "text",
|
43131
|
+
"type": {
|
43132
|
+
"text": "string"
|
43133
|
+
},
|
43134
|
+
"description": "The text to add instantly"
|
43135
|
+
}
|
43136
|
+
],
|
43137
|
+
"description": "Adds a chunk of text instantly without typing animation"
|
43138
|
+
},
|
43139
|
+
{
|
43140
|
+
"kind": "method",
|
43141
|
+
"name": "processChunkQueue",
|
43142
|
+
"privacy": "private",
|
43143
|
+
"return": {
|
43144
|
+
"type": {
|
43145
|
+
"text": "void"
|
43146
|
+
}
|
43147
|
+
},
|
43148
|
+
"description": "Processes all chunks in the queue"
|
43149
|
+
},
|
43150
|
+
{
|
43151
|
+
"kind": "method",
|
43152
|
+
"name": "processNextChunk",
|
43153
|
+
"privacy": "private",
|
43154
|
+
"return": {
|
43155
|
+
"type": {
|
43156
|
+
"text": "void"
|
43157
|
+
}
|
43158
|
+
},
|
43159
|
+
"description": "Processes the next chunk in the queue"
|
43160
|
+
},
|
43161
|
+
{
|
43162
|
+
"kind": "method",
|
43163
|
+
"name": "getTypingDelayMs",
|
43164
|
+
"privacy": "private",
|
43165
|
+
"return": {
|
43166
|
+
"type": {
|
43167
|
+
"text": "number"
|
43168
|
+
}
|
43169
|
+
},
|
43170
|
+
"description": "Gets the typing delay in milliseconds per character"
|
43171
|
+
},
|
43172
|
+
{
|
43173
|
+
"kind": "method",
|
43174
|
+
"name": "captureAndProcessContent",
|
43175
|
+
"privacy": "private",
|
43176
|
+
"return": {
|
43177
|
+
"type": {
|
43178
|
+
"text": "void"
|
43179
|
+
}
|
43180
|
+
},
|
43181
|
+
"description": "Captures slot content and starts typewriter animation"
|
43182
|
+
},
|
43183
|
+
{
|
43184
|
+
"kind": "method",
|
43185
|
+
"name": "startTypingAnimation",
|
43186
|
+
"privacy": "private",
|
43187
|
+
"return": {
|
43188
|
+
"type": {
|
43189
|
+
"text": "void"
|
43190
|
+
}
|
43191
|
+
},
|
43192
|
+
"parameters": [
|
43193
|
+
{
|
43194
|
+
"name": "onComplete",
|
43195
|
+
"optional": true,
|
43196
|
+
"type": {
|
43197
|
+
"text": "() => void"
|
43198
|
+
}
|
43199
|
+
}
|
43200
|
+
],
|
43201
|
+
"description": "Starts the typewriter animation"
|
43202
|
+
},
|
43203
|
+
{
|
43204
|
+
"kind": "method",
|
43205
|
+
"name": "clearTypingAnimation",
|
43206
|
+
"privacy": "private",
|
43207
|
+
"return": {
|
43208
|
+
"type": {
|
43209
|
+
"text": "void"
|
43210
|
+
}
|
43211
|
+
},
|
43212
|
+
"description": "Clears the typing animation timeout"
|
43213
|
+
},
|
43214
|
+
{
|
43215
|
+
"kind": "method",
|
43216
|
+
"name": "handleSlotChange",
|
43217
|
+
"privacy": "private",
|
43218
|
+
"return": {
|
43219
|
+
"type": {
|
43220
|
+
"text": "void"
|
43221
|
+
}
|
43222
|
+
},
|
43223
|
+
"description": "Handler for slotchange event"
|
43224
|
+
}
|
43225
|
+
],
|
43226
|
+
"events": [
|
43227
|
+
{
|
43228
|
+
"type": {
|
43229
|
+
"text": "CustomEvent"
|
43230
|
+
}
|
43231
|
+
},
|
43232
|
+
{
|
43233
|
+
"description": "(React: onTypingComplete) Fired when the typewriter finishes typing all content. Detail: \\{ finalContent: string \\}",
|
43234
|
+
"name": "typing-complete",
|
43235
|
+
"reactName": "onTypingComplete"
|
43236
|
+
},
|
43237
|
+
{
|
43238
|
+
"description": "(React: onChange) Fired when the content of the typewriter changes. Detail: \\{ content: string, isTyping: boolean \\}",
|
43239
|
+
"name": "change",
|
43240
|
+
"reactName": "onChange"
|
43241
|
+
}
|
43242
|
+
],
|
43243
|
+
"attributes": [
|
43244
|
+
{
|
43245
|
+
"name": "type",
|
43246
|
+
"type": {
|
43247
|
+
"text": "TextType"
|
43248
|
+
},
|
43249
|
+
"description": "Specifies the text style to be applied to the internal text component.\nUses the same types as the Text component.",
|
43250
|
+
"default": "body-large-regular",
|
43251
|
+
"fieldName": "type"
|
43252
|
+
},
|
43253
|
+
{
|
43254
|
+
"name": "tagname",
|
43255
|
+
"type": {
|
43256
|
+
"text": "TagName | undefined"
|
43257
|
+
},
|
43258
|
+
"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.",
|
43259
|
+
"fieldName": "tagname"
|
43260
|
+
},
|
43261
|
+
{
|
43262
|
+
"name": "speed",
|
43263
|
+
"type": {
|
43264
|
+
"text": "TypewriterSpeed"
|
43265
|
+
},
|
43266
|
+
"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')",
|
43267
|
+
"default": "'normal' (60ms per character)",
|
43268
|
+
"fieldName": "speed"
|
43269
|
+
},
|
43270
|
+
{
|
43271
|
+
"name": "max-queue-size",
|
43272
|
+
"type": {
|
43273
|
+
"text": "number"
|
43274
|
+
},
|
43275
|
+
"description": "Maximum number of text chunks that can be queued before oldest chunks are dropped.\nSet to prevent memory accumulation from excessive queuing.",
|
43276
|
+
"default": "Number.MAX_SAFE_INTEGER (effectively unlimited)",
|
43277
|
+
"fieldName": "maxQueueSize"
|
43278
|
+
}
|
43279
|
+
],
|
43280
|
+
"superclass": {
|
43281
|
+
"name": "Component",
|
43282
|
+
"module": "/src/models"
|
43283
|
+
},
|
43284
|
+
"tagName": "mdc-typewriter",
|
43285
|
+
"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 */",
|
43433
43286
|
"customElement": true
|
43434
43287
|
}
|
43435
43288
|
],
|
@@ -43438,8 +43291,155 @@
|
|
43438
43291
|
"kind": "js",
|
43439
43292
|
"name": "default",
|
43440
43293
|
"declaration": {
|
43441
|
-
"name": "
|
43442
|
-
"module": "components/
|
43294
|
+
"name": "Typewriter",
|
43295
|
+
"module": "components/typewriter/typewriter.component.js"
|
43296
|
+
}
|
43297
|
+
}
|
43298
|
+
]
|
43299
|
+
},
|
43300
|
+
{
|
43301
|
+
"kind": "javascript-module",
|
43302
|
+
"path": "components/virtualizedlist/virtualizedlist.component.js",
|
43303
|
+
"declarations": [
|
43304
|
+
{
|
43305
|
+
"kind": "class",
|
43306
|
+
"description": "`mdc-virtualizedlist` component for creating custom virtualized lists.\nIMPORTANT: This component does not create it's own list/list items.\nUse the setlistdata callback prop to update client state in order to\nPass list/listitems as a child of this component, which this will virtuailze\nThis implementation handles dynamic lists as well as fixed sized lists.\nPlease refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.",
|
43307
|
+
"name": "VirtualizedList",
|
43308
|
+
"slots": [
|
43309
|
+
{
|
43310
|
+
"description": "Client side List with nested list items.",
|
43311
|
+
"name": ""
|
43312
|
+
}
|
43313
|
+
],
|
43314
|
+
"members": [
|
43315
|
+
{
|
43316
|
+
"kind": "field",
|
43317
|
+
"name": "virtualizerProps",
|
43318
|
+
"type": {
|
43319
|
+
"text": "VirtualizerProps"
|
43320
|
+
},
|
43321
|
+
"description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
|
43322
|
+
"attribute": "virtualizerprops"
|
43323
|
+
},
|
43324
|
+
{
|
43325
|
+
"kind": "field",
|
43326
|
+
"name": "setlistdata",
|
43327
|
+
"type": {
|
43328
|
+
"text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
|
43329
|
+
},
|
43330
|
+
"description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
|
43331
|
+
"default": "null",
|
43332
|
+
"attribute": "setlistdata"
|
43333
|
+
},
|
43334
|
+
{
|
43335
|
+
"kind": "field",
|
43336
|
+
"name": "scrollElementRef",
|
43337
|
+
"type": {
|
43338
|
+
"text": "Ref<HTMLDivElement>"
|
43339
|
+
},
|
43340
|
+
"privacy": "public"
|
43341
|
+
},
|
43342
|
+
{
|
43343
|
+
"kind": "field",
|
43344
|
+
"name": "virtualizer",
|
43345
|
+
"type": {
|
43346
|
+
"text": "Virtualizer<Element, Element> | null"
|
43347
|
+
},
|
43348
|
+
"privacy": "public",
|
43349
|
+
"default": "null"
|
43350
|
+
},
|
43351
|
+
{
|
43352
|
+
"kind": "field",
|
43353
|
+
"name": "virtualItems",
|
43354
|
+
"type": {
|
43355
|
+
"text": "Array<VirtualItem>"
|
43356
|
+
},
|
43357
|
+
"privacy": "public",
|
43358
|
+
"default": "[]"
|
43359
|
+
},
|
43360
|
+
{
|
43361
|
+
"kind": "method",
|
43362
|
+
"name": "handleScroll",
|
43363
|
+
"privacy": "private",
|
43364
|
+
"return": {
|
43365
|
+
"type": {
|
43366
|
+
"text": "void"
|
43367
|
+
}
|
43368
|
+
},
|
43369
|
+
"parameters": [
|
43370
|
+
{
|
43371
|
+
"name": "event",
|
43372
|
+
"type": {
|
43373
|
+
"text": "Event"
|
43374
|
+
}
|
43375
|
+
}
|
43376
|
+
],
|
43377
|
+
"description": "Refires the scroll event from the internal scroll container to the host element"
|
43378
|
+
},
|
43379
|
+
{
|
43380
|
+
"kind": "field",
|
43381
|
+
"name": "virtualizerController",
|
43382
|
+
"type": {
|
43383
|
+
"text": "null"
|
43384
|
+
},
|
43385
|
+
"default": "null"
|
43386
|
+
},
|
43387
|
+
{
|
43388
|
+
"kind": "field",
|
43389
|
+
"name": "onscroll",
|
43390
|
+
"type": {
|
43391
|
+
"text": "null"
|
43392
|
+
},
|
43393
|
+
"default": "null"
|
43394
|
+
}
|
43395
|
+
],
|
43396
|
+
"events": [
|
43397
|
+
{
|
43398
|
+
"type": {
|
43399
|
+
"text": "EventConstructor"
|
43400
|
+
}
|
43401
|
+
},
|
43402
|
+
{
|
43403
|
+
"description": "(React: onScroll) Event that gets called when user scrolls inside of list.",
|
43404
|
+
"name": "scroll",
|
43405
|
+
"reactName": "onScroll"
|
43406
|
+
}
|
43407
|
+
],
|
43408
|
+
"attributes": [
|
43409
|
+
{
|
43410
|
+
"name": "virtualizerprops",
|
43411
|
+
"type": {
|
43412
|
+
"text": "VirtualizerProps"
|
43413
|
+
},
|
43414
|
+
"description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
|
43415
|
+
"fieldName": "virtualizerProps"
|
43416
|
+
},
|
43417
|
+
{
|
43418
|
+
"name": "setlistdata",
|
43419
|
+
"type": {
|
43420
|
+
"text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
|
43421
|
+
},
|
43422
|
+
"description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
|
43423
|
+
"default": "null",
|
43424
|
+
"fieldName": "setlistdata"
|
43425
|
+
}
|
43426
|
+
],
|
43427
|
+
"superclass": {
|
43428
|
+
"name": "Component",
|
43429
|
+
"module": "/src/models"
|
43430
|
+
},
|
43431
|
+
"tagName": "mdc-virtualizedlist",
|
43432
|
+
"jsDoc": "/**\n * `mdc-virtualizedlist` component for creating custom virtualized lists.\n * IMPORTANT: This component does not create it's own list/list items.\n * Use the setlistdata callback prop to update client state in order to\n * Pass list/listitems as a child of this component, which this will virtuailze\n * This implementation handles dynamic lists as well as fixed sized lists.\n * Please refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.\n *\n * @tagname mdc-virtualizedlist\n *\n * @event scroll - (React: onScroll) Event that gets called when user scrolls inside of list.\n *\n * @slot - Client side List with nested list items.\n */",
|
43433
|
+
"customElement": true
|
43434
|
+
}
|
43435
|
+
],
|
43436
|
+
"exports": [
|
43437
|
+
{
|
43438
|
+
"kind": "js",
|
43439
|
+
"name": "default",
|
43440
|
+
"declaration": {
|
43441
|
+
"name": "VirtualizedList",
|
43442
|
+
"module": "components/virtualizedlist/virtualizedlist.component.js"
|
43443
43443
|
}
|
43444
43444
|
}
|
43445
43445
|
]
|