@momentum-design/components 0.111.3 → 0.112.0
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/custom-elements.json +1013 -1013
- package/dist/react/brandvisual/index.d.ts +1 -1
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +2 -2
- package/package.json +1 -1
@@ -15534,6 +15534,219 @@
|
|
15534
15534
|
}
|
15535
15535
|
]
|
15536
15536
|
},
|
15537
|
+
{
|
15538
|
+
"kind": "javascript-module",
|
15539
|
+
"path": "components/inputchip/inputchip.component.js",
|
15540
|
+
"declarations": [
|
15541
|
+
{
|
15542
|
+
"kind": "class",
|
15543
|
+
"description": "mdc-inputchip component is an interactive chip that consumers can use to represent an input.\n\n- It supports a leading icon along with label.\n- It supports an error state for validation.\n- It supports a close button to remove the chip.",
|
15544
|
+
"name": "InputChip",
|
15545
|
+
"cssProperties": [
|
15546
|
+
{
|
15547
|
+
"description": "The color of the chip.",
|
15548
|
+
"name": "--mdc-chip-color"
|
15549
|
+
},
|
15550
|
+
{
|
15551
|
+
"description": "The border color of the chip.",
|
15552
|
+
"name": "--mdc-chip-border-color"
|
15553
|
+
},
|
15554
|
+
{
|
15555
|
+
"description": "The background color of the chip.",
|
15556
|
+
"name": "--mdc-chip-background-color"
|
15557
|
+
}
|
15558
|
+
],
|
15559
|
+
"cssParts": [
|
15560
|
+
{
|
15561
|
+
"description": "The label part of the chip.",
|
15562
|
+
"name": "label"
|
15563
|
+
},
|
15564
|
+
{
|
15565
|
+
"description": "The icon part of the chip.",
|
15566
|
+
"name": "icon"
|
15567
|
+
},
|
15568
|
+
{
|
15569
|
+
"description": "The close icon part of the chip.",
|
15570
|
+
"name": "close-icon"
|
15571
|
+
}
|
15572
|
+
],
|
15573
|
+
"members": [
|
15574
|
+
{
|
15575
|
+
"kind": "field",
|
15576
|
+
"name": "label",
|
15577
|
+
"type": {
|
15578
|
+
"text": "string"
|
15579
|
+
},
|
15580
|
+
"default": "''",
|
15581
|
+
"description": "The label of the inputchip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
|
15582
|
+
"attribute": "label"
|
15583
|
+
},
|
15584
|
+
{
|
15585
|
+
"kind": "field",
|
15586
|
+
"name": "error",
|
15587
|
+
"type": {
|
15588
|
+
"text": "boolean"
|
15589
|
+
},
|
15590
|
+
"default": "false",
|
15591
|
+
"description": "The error state of the inputchip.",
|
15592
|
+
"attribute": "error"
|
15593
|
+
},
|
15594
|
+
{
|
15595
|
+
"kind": "field",
|
15596
|
+
"name": "clearAriaLabel",
|
15597
|
+
"type": {
|
15598
|
+
"text": "string"
|
15599
|
+
},
|
15600
|
+
"default": "''",
|
15601
|
+
"description": "The aria-label of the close button.",
|
15602
|
+
"attribute": "clear-aria-label"
|
15603
|
+
},
|
15604
|
+
{
|
15605
|
+
"kind": "method",
|
15606
|
+
"name": "renderIcon",
|
15607
|
+
"privacy": "private",
|
15608
|
+
"description": "Renders the icon element if available.",
|
15609
|
+
"return": {
|
15610
|
+
"type": {
|
15611
|
+
"text": ""
|
15612
|
+
}
|
15613
|
+
}
|
15614
|
+
},
|
15615
|
+
{
|
15616
|
+
"kind": "method",
|
15617
|
+
"name": "handleClose",
|
15618
|
+
"privacy": "private",
|
15619
|
+
"description": "Handles the behavior of the close button on click event.",
|
15620
|
+
"parameters": [
|
15621
|
+
{
|
15622
|
+
"description": "The event object.",
|
15623
|
+
"name": "event"
|
15624
|
+
}
|
15625
|
+
]
|
15626
|
+
},
|
15627
|
+
{
|
15628
|
+
"kind": "field",
|
15629
|
+
"name": "iconName",
|
15630
|
+
"type": {
|
15631
|
+
"text": "IconNames | undefined"
|
15632
|
+
},
|
15633
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
15634
|
+
"attribute": "icon-name",
|
15635
|
+
"inheritedFrom": {
|
15636
|
+
"name": "IconNameMixin",
|
15637
|
+
"module": "utils/mixins/IconNameMixin.js"
|
15638
|
+
}
|
15639
|
+
},
|
15640
|
+
{
|
15641
|
+
"kind": "field",
|
15642
|
+
"name": "disabled",
|
15643
|
+
"type": {
|
15644
|
+
"text": "boolean | undefined"
|
15645
|
+
},
|
15646
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
15647
|
+
"default": "undefined",
|
15648
|
+
"attribute": "disabled",
|
15649
|
+
"reflects": true,
|
15650
|
+
"inheritedFrom": {
|
15651
|
+
"name": "DisabledMixin",
|
15652
|
+
"module": "utils/mixins/DisabledMixin.js"
|
15653
|
+
}
|
15654
|
+
}
|
15655
|
+
],
|
15656
|
+
"events": [
|
15657
|
+
{
|
15658
|
+
"name": "remove",
|
15659
|
+
"type": {
|
15660
|
+
"text": "CustomEvent"
|
15661
|
+
},
|
15662
|
+
"description": "This event is dispatched when the close button is activated. It bubbles and is composed.",
|
15663
|
+
"reactName": "onRemove"
|
15664
|
+
}
|
15665
|
+
],
|
15666
|
+
"attributes": [
|
15667
|
+
{
|
15668
|
+
"name": "label",
|
15669
|
+
"type": {
|
15670
|
+
"text": "string"
|
15671
|
+
},
|
15672
|
+
"default": "''",
|
15673
|
+
"description": "The label of the inputchip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
|
15674
|
+
"fieldName": "label"
|
15675
|
+
},
|
15676
|
+
{
|
15677
|
+
"name": "error",
|
15678
|
+
"type": {
|
15679
|
+
"text": "boolean"
|
15680
|
+
},
|
15681
|
+
"default": "false",
|
15682
|
+
"description": "The error state of the inputchip.",
|
15683
|
+
"fieldName": "error"
|
15684
|
+
},
|
15685
|
+
{
|
15686
|
+
"name": "clear-aria-label",
|
15687
|
+
"type": {
|
15688
|
+
"text": "string"
|
15689
|
+
},
|
15690
|
+
"default": "''",
|
15691
|
+
"description": "The aria-label of the close button.",
|
15692
|
+
"fieldName": "clearAriaLabel"
|
15693
|
+
},
|
15694
|
+
{
|
15695
|
+
"name": "icon-name",
|
15696
|
+
"type": {
|
15697
|
+
"text": "IconNames | undefined"
|
15698
|
+
},
|
15699
|
+
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
15700
|
+
"fieldName": "iconName",
|
15701
|
+
"inheritedFrom": {
|
15702
|
+
"name": "IconNameMixin",
|
15703
|
+
"module": "src/utils/mixins/IconNameMixin.ts"
|
15704
|
+
}
|
15705
|
+
},
|
15706
|
+
{
|
15707
|
+
"name": "disabled",
|
15708
|
+
"type": {
|
15709
|
+
"text": "boolean | undefined"
|
15710
|
+
},
|
15711
|
+
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
15712
|
+
"default": "undefined",
|
15713
|
+
"fieldName": "disabled",
|
15714
|
+
"inheritedFrom": {
|
15715
|
+
"name": "DisabledMixin",
|
15716
|
+
"module": "src/utils/mixins/DisabledMixin.ts"
|
15717
|
+
}
|
15718
|
+
}
|
15719
|
+
],
|
15720
|
+
"mixins": [
|
15721
|
+
{
|
15722
|
+
"name": "IconNameMixin",
|
15723
|
+
"module": "/src/utils/mixins/IconNameMixin"
|
15724
|
+
},
|
15725
|
+
{
|
15726
|
+
"name": "DisabledMixin",
|
15727
|
+
"module": "/src/utils/mixins/DisabledMixin"
|
15728
|
+
}
|
15729
|
+
],
|
15730
|
+
"superclass": {
|
15731
|
+
"name": "Component",
|
15732
|
+
"module": "/src/models"
|
15733
|
+
},
|
15734
|
+
"tagName": "mdc-inputchip",
|
15735
|
+
"jsDoc": "/**\n * mdc-inputchip component is an interactive chip that consumers can use to represent an input.\n *\n * - It supports a leading icon along with label.\n * - It supports an error state for validation.\n * - It supports a close button to remove the chip.\n *\n * @tagname mdc-inputchip\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event remove - This event is dispatched when the close button is activated. It bubbles and is composed.\n *\n * @csspart label - The label part of the chip.\n * @csspart icon - The icon part of the chip.\n * @csspart close-icon - The close icon part of the chip.\n *\n * @cssproperty --mdc-chip-color - The color of the chip.\n * @cssproperty --mdc-chip-border-color - The border color of the chip.\n * @cssproperty --mdc-chip-background-color - The background color of the chip.\n *\n */",
|
15736
|
+
"customElement": true
|
15737
|
+
}
|
15738
|
+
],
|
15739
|
+
"exports": [
|
15740
|
+
{
|
15741
|
+
"kind": "js",
|
15742
|
+
"name": "default",
|
15743
|
+
"declaration": {
|
15744
|
+
"name": "InputChip",
|
15745
|
+
"module": "components/inputchip/inputchip.component.js"
|
15746
|
+
}
|
15747
|
+
}
|
15748
|
+
]
|
15749
|
+
},
|
15537
15750
|
{
|
15538
15751
|
"kind": "javascript-module",
|
15539
15752
|
"path": "components/link/link.component.js",
|
@@ -15977,250 +16190,37 @@
|
|
15977
16190
|
},
|
15978
16191
|
{
|
15979
16192
|
"kind": "javascript-module",
|
15980
|
-
"path": "components/
|
16193
|
+
"path": "components/linkbutton/linkbutton.component.js",
|
15981
16194
|
"declarations": [
|
15982
16195
|
{
|
15983
16196
|
"kind": "class",
|
15984
|
-
"description": "mdc-
|
15985
|
-
"name": "
|
16197
|
+
"description": "`mdc-linkbutton` visually mimics a hyperlink while functioning as a button. It blends the appearance of `mdc-link` with the accessibility and interaction capabilities of `mdc-button`.\n\n### Features:\n- Looks like a link, behaves like a button.\n- Supports slots for a text label and an optional trailing icon.\n- Inherits accessibility and keyboard interaction behavior from `mdc-buttonsimple`.",
|
16198
|
+
"name": "LinkButton",
|
15986
16199
|
"cssProperties": [
|
15987
16200
|
{
|
15988
|
-
"description": "
|
15989
|
-
"name": "--mdc-
|
16201
|
+
"description": "Border radius of the linkbutton.",
|
16202
|
+
"name": "--mdc-link-border-radius"
|
15990
16203
|
},
|
15991
16204
|
{
|
15992
|
-
"description": "
|
15993
|
-
"name": "--mdc-
|
16205
|
+
"description": "Color of the linkbutton’s child content in the active state.",
|
16206
|
+
"name": "--mdc-link-color-active"
|
15994
16207
|
},
|
15995
16208
|
{
|
15996
|
-
"description": "
|
15997
|
-
"name": "--mdc-
|
15998
|
-
}
|
15999
|
-
],
|
16000
|
-
"cssParts": [
|
16209
|
+
"description": "Color of the linkbutton’s child content in the disabled state.",
|
16210
|
+
"name": "--mdc-link-color-disabled"
|
16211
|
+
},
|
16001
16212
|
{
|
16002
|
-
"description": "
|
16003
|
-
"name": "
|
16213
|
+
"description": "Color of the linkbutton’s child content in the hover state.",
|
16214
|
+
"name": "--mdc-link-color-hover"
|
16004
16215
|
},
|
16005
16216
|
{
|
16006
|
-
"description": "
|
16007
|
-
"name": "
|
16217
|
+
"description": "Color of the linkbutton’s child content in the normal state.",
|
16218
|
+
"name": "--mdc-link-color-normal"
|
16008
16219
|
},
|
16009
16220
|
{
|
16010
|
-
"description": "
|
16011
|
-
"name": "
|
16012
|
-
}
|
16013
|
-
],
|
16014
|
-
"members": [
|
16015
|
-
{
|
16016
|
-
"kind": "field",
|
16017
|
-
"name": "label",
|
16018
|
-
"type": {
|
16019
|
-
"text": "string"
|
16020
|
-
},
|
16021
|
-
"default": "''",
|
16022
|
-
"description": "The label of the inputchip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
|
16023
|
-
"attribute": "label"
|
16024
|
-
},
|
16025
|
-
{
|
16026
|
-
"kind": "field",
|
16027
|
-
"name": "error",
|
16028
|
-
"type": {
|
16029
|
-
"text": "boolean"
|
16030
|
-
},
|
16031
|
-
"default": "false",
|
16032
|
-
"description": "The error state of the inputchip.",
|
16033
|
-
"attribute": "error"
|
16034
|
-
},
|
16035
|
-
{
|
16036
|
-
"kind": "field",
|
16037
|
-
"name": "clearAriaLabel",
|
16038
|
-
"type": {
|
16039
|
-
"text": "string"
|
16040
|
-
},
|
16041
|
-
"default": "''",
|
16042
|
-
"description": "The aria-label of the close button.",
|
16043
|
-
"attribute": "clear-aria-label"
|
16044
|
-
},
|
16045
|
-
{
|
16046
|
-
"kind": "method",
|
16047
|
-
"name": "renderIcon",
|
16048
|
-
"privacy": "private",
|
16049
|
-
"description": "Renders the icon element if available.",
|
16050
|
-
"return": {
|
16051
|
-
"type": {
|
16052
|
-
"text": ""
|
16053
|
-
}
|
16054
|
-
}
|
16055
|
-
},
|
16056
|
-
{
|
16057
|
-
"kind": "method",
|
16058
|
-
"name": "handleClose",
|
16059
|
-
"privacy": "private",
|
16060
|
-
"description": "Handles the behavior of the close button on click event.",
|
16061
|
-
"parameters": [
|
16062
|
-
{
|
16063
|
-
"description": "The event object.",
|
16064
|
-
"name": "event"
|
16065
|
-
}
|
16066
|
-
]
|
16067
|
-
},
|
16068
|
-
{
|
16069
|
-
"kind": "field",
|
16070
|
-
"name": "iconName",
|
16071
|
-
"type": {
|
16072
|
-
"text": "IconNames | undefined"
|
16073
|
-
},
|
16074
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
16075
|
-
"attribute": "icon-name",
|
16076
|
-
"inheritedFrom": {
|
16077
|
-
"name": "IconNameMixin",
|
16078
|
-
"module": "utils/mixins/IconNameMixin.js"
|
16079
|
-
}
|
16080
|
-
},
|
16081
|
-
{
|
16082
|
-
"kind": "field",
|
16083
|
-
"name": "disabled",
|
16084
|
-
"type": {
|
16085
|
-
"text": "boolean | undefined"
|
16086
|
-
},
|
16087
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
16088
|
-
"default": "undefined",
|
16089
|
-
"attribute": "disabled",
|
16090
|
-
"reflects": true,
|
16091
|
-
"inheritedFrom": {
|
16092
|
-
"name": "DisabledMixin",
|
16093
|
-
"module": "utils/mixins/DisabledMixin.js"
|
16094
|
-
}
|
16095
|
-
}
|
16096
|
-
],
|
16097
|
-
"events": [
|
16098
|
-
{
|
16099
|
-
"name": "remove",
|
16100
|
-
"type": {
|
16101
|
-
"text": "CustomEvent"
|
16102
|
-
},
|
16103
|
-
"description": "This event is dispatched when the close button is activated. It bubbles and is composed.",
|
16104
|
-
"reactName": "onRemove"
|
16105
|
-
}
|
16106
|
-
],
|
16107
|
-
"attributes": [
|
16108
|
-
{
|
16109
|
-
"name": "label",
|
16110
|
-
"type": {
|
16111
|
-
"text": "string"
|
16112
|
-
},
|
16113
|
-
"default": "''",
|
16114
|
-
"description": "The label of the inputchip.\n\nWe recommend limiting the <b>maximum length of the label text to 20 characters</b>,\nincluding empty spaces to split words.",
|
16115
|
-
"fieldName": "label"
|
16116
|
-
},
|
16117
|
-
{
|
16118
|
-
"name": "error",
|
16119
|
-
"type": {
|
16120
|
-
"text": "boolean"
|
16121
|
-
},
|
16122
|
-
"default": "false",
|
16123
|
-
"description": "The error state of the inputchip.",
|
16124
|
-
"fieldName": "error"
|
16125
|
-
},
|
16126
|
-
{
|
16127
|
-
"name": "clear-aria-label",
|
16128
|
-
"type": {
|
16129
|
-
"text": "string"
|
16130
|
-
},
|
16131
|
-
"default": "''",
|
16132
|
-
"description": "The aria-label of the close button.",
|
16133
|
-
"fieldName": "clearAriaLabel"
|
16134
|
-
},
|
16135
|
-
{
|
16136
|
-
"name": "icon-name",
|
16137
|
-
"type": {
|
16138
|
-
"text": "IconNames | undefined"
|
16139
|
-
},
|
16140
|
-
"description": "Name of the icon (= filename).\n\nIf no `icon-name` is provided, no icon will be rendered.",
|
16141
|
-
"fieldName": "iconName",
|
16142
|
-
"inheritedFrom": {
|
16143
|
-
"name": "IconNameMixin",
|
16144
|
-
"module": "src/utils/mixins/IconNameMixin.ts"
|
16145
|
-
}
|
16146
|
-
},
|
16147
|
-
{
|
16148
|
-
"name": "disabled",
|
16149
|
-
"type": {
|
16150
|
-
"text": "boolean | undefined"
|
16151
|
-
},
|
16152
|
-
"description": "Indicates whether the component is disabled.\nWhen the component is disabled for user interaction; it is not focusable or clickable.",
|
16153
|
-
"default": "undefined",
|
16154
|
-
"fieldName": "disabled",
|
16155
|
-
"inheritedFrom": {
|
16156
|
-
"name": "DisabledMixin",
|
16157
|
-
"module": "src/utils/mixins/DisabledMixin.ts"
|
16158
|
-
}
|
16159
|
-
}
|
16160
|
-
],
|
16161
|
-
"mixins": [
|
16162
|
-
{
|
16163
|
-
"name": "IconNameMixin",
|
16164
|
-
"module": "/src/utils/mixins/IconNameMixin"
|
16165
|
-
},
|
16166
|
-
{
|
16167
|
-
"name": "DisabledMixin",
|
16168
|
-
"module": "/src/utils/mixins/DisabledMixin"
|
16169
|
-
}
|
16170
|
-
],
|
16171
|
-
"superclass": {
|
16172
|
-
"name": "Component",
|
16173
|
-
"module": "/src/models"
|
16174
|
-
},
|
16175
|
-
"tagName": "mdc-inputchip",
|
16176
|
-
"jsDoc": "/**\n * mdc-inputchip component is an interactive chip that consumers can use to represent an input.\n *\n * - It supports a leading icon along with label.\n * - It supports an error state for validation.\n * - It supports a close button to remove the chip.\n *\n * @tagname mdc-inputchip\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-text\n *\n * @event remove - This event is dispatched when the close button is activated. It bubbles and is composed.\n *\n * @csspart label - The label part of the chip.\n * @csspart icon - The icon part of the chip.\n * @csspart close-icon - The close icon part of the chip.\n *\n * @cssproperty --mdc-chip-color - The color of the chip.\n * @cssproperty --mdc-chip-border-color - The border color of the chip.\n * @cssproperty --mdc-chip-background-color - The background color of the chip.\n *\n */",
|
16177
|
-
"customElement": true
|
16178
|
-
}
|
16179
|
-
],
|
16180
|
-
"exports": [
|
16181
|
-
{
|
16182
|
-
"kind": "js",
|
16183
|
-
"name": "default",
|
16184
|
-
"declaration": {
|
16185
|
-
"name": "InputChip",
|
16186
|
-
"module": "components/inputchip/inputchip.component.js"
|
16187
|
-
}
|
16188
|
-
}
|
16189
|
-
]
|
16190
|
-
},
|
16191
|
-
{
|
16192
|
-
"kind": "javascript-module",
|
16193
|
-
"path": "components/linkbutton/linkbutton.component.js",
|
16194
|
-
"declarations": [
|
16195
|
-
{
|
16196
|
-
"kind": "class",
|
16197
|
-
"description": "`mdc-linkbutton` visually mimics a hyperlink while functioning as a button. It blends the appearance of `mdc-link` with the accessibility and interaction capabilities of `mdc-button`.\n\n### Features:\n- Looks like a link, behaves like a button.\n- Supports slots for a text label and an optional trailing icon.\n- Inherits accessibility and keyboard interaction behavior from `mdc-buttonsimple`.",
|
16198
|
-
"name": "LinkButton",
|
16199
|
-
"cssProperties": [
|
16200
|
-
{
|
16201
|
-
"description": "Border radius of the linkbutton.",
|
16202
|
-
"name": "--mdc-link-border-radius"
|
16203
|
-
},
|
16204
|
-
{
|
16205
|
-
"description": "Color of the linkbutton’s child content in the active state.",
|
16206
|
-
"name": "--mdc-link-color-active"
|
16207
|
-
},
|
16208
|
-
{
|
16209
|
-
"description": "Color of the linkbutton’s child content in the disabled state.",
|
16210
|
-
"name": "--mdc-link-color-disabled"
|
16211
|
-
},
|
16212
|
-
{
|
16213
|
-
"description": "Color of the linkbutton’s child content in the hover state.",
|
16214
|
-
"name": "--mdc-link-color-hover"
|
16215
|
-
},
|
16216
|
-
{
|
16217
|
-
"description": "Color of the linkbutton’s child content in the normal state.",
|
16218
|
-
"name": "--mdc-link-color-normal"
|
16219
|
-
},
|
16220
|
-
{
|
16221
|
-
"description": "Color of the inverted linkbutton’s child content in the active state.",
|
16222
|
-
"name": "--mdc-link-inverted-color-active"
|
16223
|
-
},
|
16221
|
+
"description": "Color of the inverted linkbutton’s child content in the active state.",
|
16222
|
+
"name": "--mdc-link-inverted-color-active"
|
16223
|
+
},
|
16224
16224
|
{
|
16225
16225
|
"description": "Color of the inverted linkbutton’s child content in the disabled state.",
|
16226
16226
|
"name": "--mdc-link-inverted-color-disabled"
|
@@ -38944,28 +38944,24 @@
|
|
38944
38944
|
},
|
38945
38945
|
{
|
38946
38946
|
"kind": "javascript-module",
|
38947
|
-
"path": "components/
|
38947
|
+
"path": "components/toggletip/toggletip.component.js",
|
38948
38948
|
"declarations": [
|
38949
38949
|
{
|
38950
38950
|
"kind": "class",
|
38951
|
-
"description": "A
|
38952
|
-
"name": "
|
38951
|
+
"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.",
|
38952
|
+
"name": "ToggleTip",
|
38953
38953
|
"cssProperties": [
|
38954
38954
|
{
|
38955
|
-
"description": "The maximum width of the
|
38956
|
-
"name": "--mdc-
|
38957
|
-
},
|
38958
|
-
{
|
38959
|
-
"description": "The padding of the tooltip.",
|
38960
|
-
"name": "--mdc-tooltip-padding"
|
38955
|
+
"description": "The maximum width of the toggletip.",
|
38956
|
+
"name": "--mdc-toggletip-max-width"
|
38961
38957
|
},
|
38962
38958
|
{
|
38963
|
-
"description": "The text color of the
|
38964
|
-
"name": "--mdc-
|
38959
|
+
"description": "The text color of the toggletip.",
|
38960
|
+
"name": "--mdc-toggletip-text-color"
|
38965
38961
|
},
|
38966
38962
|
{
|
38967
|
-
"description": "The text color of the
|
38968
|
-
"name": "--mdc-
|
38963
|
+
"description": "The text color of the toggletip when the color is contrast.",
|
38964
|
+
"name": "--mdc-toggletip-text-color-contrast"
|
38969
38965
|
},
|
38970
38966
|
{
|
38971
38967
|
"description": "radius of the arrow border",
|
@@ -39056,66 +39052,59 @@
|
|
39056
39052
|
}
|
39057
39053
|
}
|
39058
39054
|
],
|
39055
|
+
"slots": [
|
39056
|
+
{
|
39057
|
+
"description": "Default slot for the toggletip content",
|
39058
|
+
"name": "",
|
39059
|
+
"inheritedFrom": {
|
39060
|
+
"name": "Popover",
|
39061
|
+
"module": "src/components/popover/popover.component.ts"
|
39062
|
+
}
|
39063
|
+
}
|
39064
|
+
],
|
39059
39065
|
"members": [
|
39060
39066
|
{
|
39061
39067
|
"kind": "field",
|
39062
|
-
"name": "
|
39068
|
+
"name": "defaultSlotNodes",
|
39063
39069
|
"type": {
|
39064
|
-
"text": "
|
39070
|
+
"text": "Array<Node>"
|
39065
39071
|
},
|
39066
|
-
"
|
39067
|
-
"default": "'description'",
|
39068
|
-
"attribute": "tooltip-type",
|
39069
|
-
"reflects": true
|
39072
|
+
"privacy": "private"
|
39070
39073
|
},
|
39071
39074
|
{
|
39072
39075
|
"kind": "field",
|
39073
|
-
"name": "
|
39076
|
+
"name": "screenreaderAnnouncerIdentity",
|
39074
39077
|
"type": {
|
39075
|
-
"text": "
|
39078
|
+
"text": "string | undefined"
|
39076
39079
|
},
|
39077
|
-
"
|
39080
|
+
"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.",
|
39081
|
+
"attribute": "screenreader-announcer-identity",
|
39082
|
+
"reflects": true
|
39078
39083
|
},
|
39079
39084
|
{
|
39080
|
-
"kind": "
|
39081
|
-
"name": "
|
39082
|
-
"
|
39083
|
-
|
39084
|
-
"type": {
|
39085
|
-
"text": ""
|
39086
|
-
}
|
39087
|
-
}
|
39088
|
-
},
|
39089
|
-
{
|
39090
|
-
"kind": "method",
|
39091
|
-
"name": "setTooltipType",
|
39092
|
-
"privacy": "private",
|
39093
|
-
"return": {
|
39094
|
-
"type": {
|
39095
|
-
"text": "void"
|
39096
|
-
}
|
39085
|
+
"kind": "field",
|
39086
|
+
"name": "placement",
|
39087
|
+
"type": {
|
39088
|
+
"text": "PopoverPlacement"
|
39097
39089
|
},
|
39098
|
-
"
|
39099
|
-
|
39100
|
-
|
39101
|
-
|
39102
|
-
|
39103
|
-
|
39104
|
-
|
39105
|
-
|
39106
|
-
],
|
39107
|
-
"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."
|
39090
|
+
"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**",
|
39091
|
+
"default": "bottom",
|
39092
|
+
"attribute": "placement",
|
39093
|
+
"reflects": true,
|
39094
|
+
"inheritedFrom": {
|
39095
|
+
"name": "Popover",
|
39096
|
+
"module": "components/popover/popover.component.js"
|
39097
|
+
}
|
39108
39098
|
},
|
39109
39099
|
{
|
39110
39100
|
"kind": "method",
|
39111
|
-
"name": "
|
39101
|
+
"name": "getToggleTipText",
|
39112
39102
|
"privacy": "private",
|
39113
39103
|
"return": {
|
39114
39104
|
"type": {
|
39115
|
-
"text": "
|
39105
|
+
"text": ""
|
39116
39106
|
}
|
39117
|
-
}
|
39118
|
-
"description": "Updates the tooltip id if it is empty."
|
39107
|
+
}
|
39119
39108
|
},
|
39120
39109
|
{
|
39121
39110
|
"kind": "method",
|
@@ -39126,27 +39115,7 @@
|
|
39126
39115
|
"text": "void"
|
39127
39116
|
}
|
39128
39117
|
},
|
39129
|
-
"description": "Updates the placement attribute if it is not a valid placement.\
|
39130
|
-
},
|
39131
|
-
{
|
39132
|
-
"kind": "method",
|
39133
|
-
"name": "onTooltipTypeUpdated",
|
39134
|
-
"privacy": "private",
|
39135
|
-
"return": {
|
39136
|
-
"type": {
|
39137
|
-
"text": "void"
|
39138
|
-
}
|
39139
|
-
},
|
39140
|
-
"parameters": [
|
39141
|
-
{
|
39142
|
-
"name": "changedProperties",
|
39143
|
-
"type": {
|
39144
|
-
"text": "PropertyValues"
|
39145
|
-
},
|
39146
|
-
"description": "The changed properties."
|
39147
|
-
}
|
39148
|
-
],
|
39149
|
-
"description": "Updates the tooltip type attribute and sets the appropriate aria props on the trigger component."
|
39118
|
+
"description": "Updates the placement attribute if it is not a valid placement.\nDefault placement for toggle tip is top."
|
39150
39119
|
},
|
39151
39120
|
{
|
39152
39121
|
"kind": "field",
|
@@ -39754,21 +39723,6 @@
|
|
39754
39723
|
"module": "components/popover/popover.component.js"
|
39755
39724
|
}
|
39756
39725
|
},
|
39757
|
-
{
|
39758
|
-
"kind": "field",
|
39759
|
-
"name": "placement",
|
39760
|
-
"type": {
|
39761
|
-
"text": "PopoverPlacement"
|
39762
|
-
},
|
39763
|
-
"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**",
|
39764
|
-
"default": "bottom",
|
39765
|
-
"attribute": "placement",
|
39766
|
-
"reflects": true,
|
39767
|
-
"inheritedFrom": {
|
39768
|
-
"name": "Popover",
|
39769
|
-
"module": "components/popover/popover.component.js"
|
39770
|
-
}
|
39771
|
-
},
|
39772
39726
|
{
|
39773
39727
|
"kind": "field",
|
39774
39728
|
"name": "color",
|
@@ -40473,7 +40427,7 @@
|
|
40473
40427
|
],
|
40474
40428
|
"events": [
|
40475
40429
|
{
|
40476
|
-
"description": "(React: onShown) This event is dispatched when the
|
40430
|
+
"description": "(React: onShown) This event is dispatched when the toggletip is shown",
|
40477
40431
|
"name": "shown",
|
40478
40432
|
"reactName": "onShown",
|
40479
40433
|
"inheritedFrom": {
|
@@ -40482,7 +40436,7 @@
|
|
40482
40436
|
}
|
40483
40437
|
},
|
40484
40438
|
{
|
40485
|
-
"description": "(React: onHidden) This event is dispatched when the
|
40439
|
+
"description": "(React: onHidden) This event is dispatched when the toggletip is hidden",
|
40486
40440
|
"name": "hidden",
|
40487
40441
|
"reactName": "onHidden",
|
40488
40442
|
"inheritedFrom": {
|
@@ -40491,7 +40445,7 @@
|
|
40491
40445
|
}
|
40492
40446
|
},
|
40493
40447
|
{
|
40494
|
-
"description": "(React: onCreated) This event is dispatched when the
|
40448
|
+
"description": "(React: onCreated) This event is dispatched when the toggletip is created (added to the DOM)",
|
40495
40449
|
"name": "created",
|
40496
40450
|
"reactName": "onCreated",
|
40497
40451
|
"inheritedFrom": {
|
@@ -40500,7 +40454,7 @@
|
|
40500
40454
|
}
|
40501
40455
|
},
|
40502
40456
|
{
|
40503
|
-
"description": "(React: onDestroyed) This event is dispatched when the
|
40457
|
+
"description": "(React: onDestroyed) This event is dispatched when the toggletip is destroyed (removed from the DOM)",
|
40504
40458
|
"name": "destroyed",
|
40505
40459
|
"reactName": "onDestroyed",
|
40506
40460
|
"inheritedFrom": {
|
@@ -40511,13 +40465,25 @@
|
|
40511
40465
|
],
|
40512
40466
|
"attributes": [
|
40513
40467
|
{
|
40514
|
-
"name": "
|
40468
|
+
"name": "screenreader-announcer-identity",
|
40515
40469
|
"type": {
|
40516
|
-
"text": "
|
40470
|
+
"text": "string | undefined"
|
40517
40471
|
},
|
40518
|
-
"description": "
|
40519
|
-
"
|
40520
|
-
|
40472
|
+
"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.",
|
40473
|
+
"fieldName": "screenreaderAnnouncerIdentity"
|
40474
|
+
},
|
40475
|
+
{
|
40476
|
+
"name": "placement",
|
40477
|
+
"type": {
|
40478
|
+
"text": "PopoverPlacement"
|
40479
|
+
},
|
40480
|
+
"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**",
|
40481
|
+
"default": "bottom",
|
40482
|
+
"fieldName": "placement",
|
40483
|
+
"inheritedFrom": {
|
40484
|
+
"name": "Popover",
|
40485
|
+
"module": "src/components/popover/popover.component.ts"
|
40486
|
+
}
|
40521
40487
|
},
|
40522
40488
|
{
|
40523
40489
|
"name": "should-focus-trap-wrap",
|
@@ -40571,19 +40537,6 @@
|
|
40571
40537
|
"module": "src/components/popover/popover.component.ts"
|
40572
40538
|
}
|
40573
40539
|
},
|
40574
|
-
{
|
40575
|
-
"name": "placement",
|
40576
|
-
"type": {
|
40577
|
-
"text": "PopoverPlacement"
|
40578
|
-
},
|
40579
|
-
"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**",
|
40580
|
-
"default": "bottom",
|
40581
|
-
"fieldName": "placement",
|
40582
|
-
"inheritedFrom": {
|
40583
|
-
"name": "Popover",
|
40584
|
-
"module": "src/components/popover/popover.component.ts"
|
40585
|
-
}
|
40586
|
-
},
|
40587
40540
|
{
|
40588
40541
|
"name": "color",
|
40589
40542
|
"type": {
|
@@ -40991,19 +40944,9 @@
|
|
40991
40944
|
"name": "Popover",
|
40992
40945
|
"module": "/src/components/popover/popover.component"
|
40993
40946
|
},
|
40994
|
-
"tagName": "mdc-
|
40995
|
-
"jsDoc": "/**\n * A
|
40996
|
-
"customElement": true
|
40997
|
-
"slots": [
|
40998
|
-
{
|
40999
|
-
"description": "Default slot for the popover content",
|
41000
|
-
"name": "",
|
41001
|
-
"inheritedFrom": {
|
41002
|
-
"name": "Popover",
|
41003
|
-
"module": "src/components/popover/popover.component.ts"
|
41004
|
-
}
|
41005
|
-
}
|
41006
|
-
]
|
40947
|
+
"tagName": "mdc-toggletip",
|
40948
|
+
"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 */",
|
40949
|
+
"customElement": true
|
41007
40950
|
}
|
41008
40951
|
],
|
41009
40952
|
"exports": [
|
@@ -41011,88 +40954,428 @@
|
|
41011
40954
|
"kind": "js",
|
41012
40955
|
"name": "default",
|
41013
40956
|
"declaration": {
|
41014
|
-
"name": "
|
41015
|
-
"module": "components/
|
40957
|
+
"name": "ToggleTip",
|
40958
|
+
"module": "components/toggletip/toggletip.component.js"
|
41016
40959
|
}
|
41017
40960
|
}
|
41018
40961
|
]
|
41019
40962
|
},
|
41020
40963
|
{
|
41021
40964
|
"kind": "javascript-module",
|
41022
|
-
"path": "components/
|
40965
|
+
"path": "components/typewriter/typewriter.component.js",
|
41023
40966
|
"declarations": [
|
41024
40967
|
{
|
41025
40968
|
"kind": "class",
|
41026
|
-
"description": "
|
41027
|
-
"name": "
|
41028
|
-
"
|
41029
|
-
{
|
41030
|
-
"description": "The maximum width of the toggletip.",
|
41031
|
-
"name": "--mdc-toggletip-max-width"
|
41032
|
-
},
|
41033
|
-
{
|
41034
|
-
"description": "The text color of the toggletip.",
|
41035
|
-
"name": "--mdc-toggletip-text-color"
|
41036
|
-
},
|
40969
|
+
"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",
|
40970
|
+
"name": "Typewriter",
|
40971
|
+
"cssParts": [
|
41037
40972
|
{
|
41038
|
-
"description": "
|
41039
|
-
"name": "
|
40973
|
+
"description": "Container for the text element",
|
40974
|
+
"name": "container"
|
41040
40975
|
},
|
41041
40976
|
{
|
41042
|
-
"description": "
|
41043
|
-
"name": "
|
41044
|
-
|
41045
|
-
|
41046
|
-
|
41047
|
-
}
|
41048
|
-
},
|
40977
|
+
"description": "The text element (forwarded to mdc-text)",
|
40978
|
+
"name": "text"
|
40979
|
+
}
|
40980
|
+
],
|
40981
|
+
"slots": [
|
41049
40982
|
{
|
41050
|
-
"description": "
|
41051
|
-
"name": "
|
41052
|
-
|
41053
|
-
|
41054
|
-
|
41055
|
-
}
|
41056
|
-
},
|
40983
|
+
"description": "Default slot for text content",
|
40984
|
+
"name": ""
|
40985
|
+
}
|
40986
|
+
],
|
40987
|
+
"members": [
|
41057
40988
|
{
|
41058
|
-
"
|
41059
|
-
"name": "
|
41060
|
-
"
|
41061
|
-
"
|
41062
|
-
|
41063
|
-
|
40989
|
+
"kind": "field",
|
40990
|
+
"name": "type",
|
40991
|
+
"type": {
|
40992
|
+
"text": "TextType"
|
40993
|
+
},
|
40994
|
+
"privacy": "public",
|
40995
|
+
"description": "Specifies the text style to be applied to the internal text component.\nUses the same types as the Text component.",
|
40996
|
+
"default": "body-large-regular",
|
40997
|
+
"attribute": "type",
|
40998
|
+
"reflects": true
|
41064
40999
|
},
|
41065
41000
|
{
|
41066
|
-
"
|
41067
|
-
"name": "
|
41068
|
-
"
|
41069
|
-
"
|
41070
|
-
|
41071
|
-
|
41001
|
+
"kind": "field",
|
41002
|
+
"name": "tagname",
|
41003
|
+
"type": {
|
41004
|
+
"text": "TagName | undefined"
|
41005
|
+
},
|
41006
|
+
"privacy": "public",
|
41007
|
+
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the internal text element.\n\nAcceptable values include all valid tag names from the Text component.",
|
41008
|
+
"attribute": "tagname",
|
41009
|
+
"reflects": true
|
41072
41010
|
},
|
41073
41011
|
{
|
41074
|
-
"
|
41075
|
-
"name": "
|
41076
|
-
"
|
41077
|
-
"
|
41078
|
-
|
41079
|
-
|
41012
|
+
"kind": "field",
|
41013
|
+
"name": "speed",
|
41014
|
+
"type": {
|
41015
|
+
"text": "TypewriterSpeed"
|
41016
|
+
},
|
41017
|
+
"privacy": "public",
|
41018
|
+
"description": "Speed of the typewriter effect in milliseconds per character.\nCan be a string preset or a numeric string in milliseconds.\n- 'very-slow' = 240ms per character\n- 'slow' = 120ms per character\n- 'normal' = 60ms per character (default)\n- 'fast' = 20ms per character\n- 'very-fast' = 1ms per character\n- Or any numeric string representing milliseconds (e.g., '100')",
|
41019
|
+
"default": "'normal' (60ms per character)",
|
41020
|
+
"attribute": "speed",
|
41021
|
+
"reflects": true
|
41080
41022
|
},
|
41081
41023
|
{
|
41082
|
-
"
|
41083
|
-
"name": "
|
41084
|
-
"
|
41085
|
-
"
|
41086
|
-
|
41087
|
-
|
41024
|
+
"kind": "field",
|
41025
|
+
"name": "maxQueueSize",
|
41026
|
+
"type": {
|
41027
|
+
"text": "number"
|
41028
|
+
},
|
41029
|
+
"privacy": "public",
|
41030
|
+
"description": "Maximum number of text chunks that can be queued before oldest chunks are dropped.\nSet to prevent memory accumulation from excessive queuing.",
|
41031
|
+
"default": "Number.MAX_SAFE_INTEGER (effectively unlimited)",
|
41032
|
+
"attribute": "max-queue-size",
|
41033
|
+
"reflects": true
|
41088
41034
|
},
|
41089
41035
|
{
|
41090
|
-
"
|
41091
|
-
"name": "
|
41092
|
-
"
|
41093
|
-
|
41094
|
-
"
|
41095
|
-
|
41036
|
+
"kind": "method",
|
41037
|
+
"name": "createTimeout",
|
41038
|
+
"privacy": "private",
|
41039
|
+
"return": {
|
41040
|
+
"type": {
|
41041
|
+
"text": "number"
|
41042
|
+
}
|
41043
|
+
},
|
41044
|
+
"parameters": [
|
41045
|
+
{
|
41046
|
+
"name": "callback",
|
41047
|
+
"type": {
|
41048
|
+
"text": "() => void"
|
41049
|
+
}
|
41050
|
+
},
|
41051
|
+
{
|
41052
|
+
"name": "delay",
|
41053
|
+
"type": {
|
41054
|
+
"text": "number"
|
41055
|
+
}
|
41056
|
+
}
|
41057
|
+
],
|
41058
|
+
"description": "Helper to create tracked setTimeout that will be cleaned up on disconnect"
|
41059
|
+
},
|
41060
|
+
{
|
41061
|
+
"kind": "method",
|
41062
|
+
"name": "clearAllTimeouts",
|
41063
|
+
"privacy": "private",
|
41064
|
+
"return": {
|
41065
|
+
"type": {
|
41066
|
+
"text": "void"
|
41067
|
+
}
|
41068
|
+
},
|
41069
|
+
"description": "Clear all pending timeouts"
|
41070
|
+
},
|
41071
|
+
{
|
41072
|
+
"kind": "method",
|
41073
|
+
"name": "clearQueue",
|
41074
|
+
"privacy": "public",
|
41075
|
+
"return": {
|
41076
|
+
"type": {
|
41077
|
+
"text": "void"
|
41078
|
+
}
|
41079
|
+
},
|
41080
|
+
"description": "Clears the text chunk queue and stops processing\nUseful for resetting the component state"
|
41081
|
+
},
|
41082
|
+
{
|
41083
|
+
"kind": "method",
|
41084
|
+
"name": "addTextChunk",
|
41085
|
+
"privacy": "public",
|
41086
|
+
"return": {
|
41087
|
+
"type": {
|
41088
|
+
"text": "void"
|
41089
|
+
}
|
41090
|
+
},
|
41091
|
+
"parameters": [
|
41092
|
+
{
|
41093
|
+
"name": "text",
|
41094
|
+
"type": {
|
41095
|
+
"text": "string"
|
41096
|
+
},
|
41097
|
+
"description": "The text to add"
|
41098
|
+
},
|
41099
|
+
{
|
41100
|
+
"name": "speed",
|
41101
|
+
"optional": true,
|
41102
|
+
"type": {
|
41103
|
+
"text": "TypewriterSpeed"
|
41104
|
+
},
|
41105
|
+
"description": "Optional speed override for this chunk"
|
41106
|
+
},
|
41107
|
+
{
|
41108
|
+
"name": "instant",
|
41109
|
+
"optional": true,
|
41110
|
+
"type": {
|
41111
|
+
"text": "boolean"
|
41112
|
+
},
|
41113
|
+
"description": "If true, text appears instantly without animation"
|
41114
|
+
}
|
41115
|
+
],
|
41116
|
+
"description": "Adds a chunk of text to be typed out, optionally with a different speed"
|
41117
|
+
},
|
41118
|
+
{
|
41119
|
+
"kind": "method",
|
41120
|
+
"name": "addInstantTextChunk",
|
41121
|
+
"privacy": "public",
|
41122
|
+
"return": {
|
41123
|
+
"type": {
|
41124
|
+
"text": "void"
|
41125
|
+
}
|
41126
|
+
},
|
41127
|
+
"parameters": [
|
41128
|
+
{
|
41129
|
+
"name": "text",
|
41130
|
+
"type": {
|
41131
|
+
"text": "string"
|
41132
|
+
},
|
41133
|
+
"description": "The text to add instantly"
|
41134
|
+
}
|
41135
|
+
],
|
41136
|
+
"description": "Adds a chunk of text instantly without typing animation"
|
41137
|
+
},
|
41138
|
+
{
|
41139
|
+
"kind": "method",
|
41140
|
+
"name": "processChunkQueue",
|
41141
|
+
"privacy": "private",
|
41142
|
+
"return": {
|
41143
|
+
"type": {
|
41144
|
+
"text": "void"
|
41145
|
+
}
|
41146
|
+
},
|
41147
|
+
"description": "Processes all chunks in the queue"
|
41148
|
+
},
|
41149
|
+
{
|
41150
|
+
"kind": "method",
|
41151
|
+
"name": "processNextChunk",
|
41152
|
+
"privacy": "private",
|
41153
|
+
"return": {
|
41154
|
+
"type": {
|
41155
|
+
"text": "void"
|
41156
|
+
}
|
41157
|
+
},
|
41158
|
+
"description": "Processes the next chunk in the queue"
|
41159
|
+
},
|
41160
|
+
{
|
41161
|
+
"kind": "method",
|
41162
|
+
"name": "getTypingDelayMs",
|
41163
|
+
"privacy": "private",
|
41164
|
+
"return": {
|
41165
|
+
"type": {
|
41166
|
+
"text": "number"
|
41167
|
+
}
|
41168
|
+
},
|
41169
|
+
"description": "Gets the typing delay in milliseconds per character"
|
41170
|
+
},
|
41171
|
+
{
|
41172
|
+
"kind": "method",
|
41173
|
+
"name": "captureAndProcessContent",
|
41174
|
+
"privacy": "private",
|
41175
|
+
"return": {
|
41176
|
+
"type": {
|
41177
|
+
"text": "void"
|
41178
|
+
}
|
41179
|
+
},
|
41180
|
+
"description": "Captures slot content and starts typewriter animation"
|
41181
|
+
},
|
41182
|
+
{
|
41183
|
+
"kind": "method",
|
41184
|
+
"name": "startTypingAnimation",
|
41185
|
+
"privacy": "private",
|
41186
|
+
"return": {
|
41187
|
+
"type": {
|
41188
|
+
"text": "void"
|
41189
|
+
}
|
41190
|
+
},
|
41191
|
+
"parameters": [
|
41192
|
+
{
|
41193
|
+
"name": "onComplete",
|
41194
|
+
"optional": true,
|
41195
|
+
"type": {
|
41196
|
+
"text": "() => void"
|
41197
|
+
}
|
41198
|
+
}
|
41199
|
+
],
|
41200
|
+
"description": "Starts the typewriter animation"
|
41201
|
+
},
|
41202
|
+
{
|
41203
|
+
"kind": "method",
|
41204
|
+
"name": "clearTypingAnimation",
|
41205
|
+
"privacy": "private",
|
41206
|
+
"return": {
|
41207
|
+
"type": {
|
41208
|
+
"text": "void"
|
41209
|
+
}
|
41210
|
+
},
|
41211
|
+
"description": "Clears the typing animation timeout"
|
41212
|
+
},
|
41213
|
+
{
|
41214
|
+
"kind": "method",
|
41215
|
+
"name": "handleSlotChange",
|
41216
|
+
"privacy": "private",
|
41217
|
+
"return": {
|
41218
|
+
"type": {
|
41219
|
+
"text": "void"
|
41220
|
+
}
|
41221
|
+
},
|
41222
|
+
"description": "Handler for slotchange event"
|
41223
|
+
}
|
41224
|
+
],
|
41225
|
+
"events": [
|
41226
|
+
{
|
41227
|
+
"type": {
|
41228
|
+
"text": "CustomEvent"
|
41229
|
+
}
|
41230
|
+
},
|
41231
|
+
{
|
41232
|
+
"description": "(React: onTypingComplete) Fired when the typewriter finishes typing all content. Detail: \\{ finalContent: string \\}",
|
41233
|
+
"name": "typing-complete",
|
41234
|
+
"reactName": "onTypingComplete"
|
41235
|
+
},
|
41236
|
+
{
|
41237
|
+
"description": "(React: onChange) Fired when the content of the typewriter changes. Detail: \\{ content: string, isTyping: boolean \\}",
|
41238
|
+
"name": "change",
|
41239
|
+
"reactName": "onChange"
|
41240
|
+
}
|
41241
|
+
],
|
41242
|
+
"attributes": [
|
41243
|
+
{
|
41244
|
+
"name": "type",
|
41245
|
+
"type": {
|
41246
|
+
"text": "TextType"
|
41247
|
+
},
|
41248
|
+
"description": "Specifies the text style to be applied to the internal text component.\nUses the same types as the Text component.",
|
41249
|
+
"default": "body-large-regular",
|
41250
|
+
"fieldName": "type"
|
41251
|
+
},
|
41252
|
+
{
|
41253
|
+
"name": "tagname",
|
41254
|
+
"type": {
|
41255
|
+
"text": "TagName | undefined"
|
41256
|
+
},
|
41257
|
+
"description": "Specifies the HTML tag name for the text element. The default tag name is `p`.\nThis attribute is optional. When set, it changes the tag name of the internal text element.\n\nAcceptable values include all valid tag names from the Text component.",
|
41258
|
+
"fieldName": "tagname"
|
41259
|
+
},
|
41260
|
+
{
|
41261
|
+
"name": "speed",
|
41262
|
+
"type": {
|
41263
|
+
"text": "TypewriterSpeed"
|
41264
|
+
},
|
41265
|
+
"description": "Speed of the typewriter effect in milliseconds per character.\nCan be a string preset or a numeric string in milliseconds.\n- 'very-slow' = 240ms per character\n- 'slow' = 120ms per character\n- 'normal' = 60ms per character (default)\n- 'fast' = 20ms per character\n- 'very-fast' = 1ms per character\n- Or any numeric string representing milliseconds (e.g., '100')",
|
41266
|
+
"default": "'normal' (60ms per character)",
|
41267
|
+
"fieldName": "speed"
|
41268
|
+
},
|
41269
|
+
{
|
41270
|
+
"name": "max-queue-size",
|
41271
|
+
"type": {
|
41272
|
+
"text": "number"
|
41273
|
+
},
|
41274
|
+
"description": "Maximum number of text chunks that can be queued before oldest chunks are dropped.\nSet to prevent memory accumulation from excessive queuing.",
|
41275
|
+
"default": "Number.MAX_SAFE_INTEGER (effectively unlimited)",
|
41276
|
+
"fieldName": "maxQueueSize"
|
41277
|
+
}
|
41278
|
+
],
|
41279
|
+
"superclass": {
|
41280
|
+
"name": "Component",
|
41281
|
+
"module": "/src/models"
|
41282
|
+
},
|
41283
|
+
"tagName": "mdc-typewriter",
|
41284
|
+
"jsDoc": "/**\n * Typewriter component that creates a typewriter effect on text content.\n * It uses the Text component internally, adding a progressive typing effect.\n *\n * The `type` attribute allows changing the text style (passed to the internal Text component).\n * The `tagname` attribute allows changing the tag name of the text element (passed to the internal Text component).\n * The default tag name is `p`.\n *\n * The `speed` attribute controls typing speed in milliseconds per character:\n * - 'very-slow' = 240ms per character\n * - 'slow' = 120ms per character\n * - 'normal' = 60ms per character (default)\n * - 'fast' = 20ms per character\n * - 'very-fast' = 1ms per character\n * - Or any numeric string representing milliseconds\n *\n * Advanced features:\n * - Dynamic speed adjustment during typing\n * - Chunked text addition via addTextChunk() method\n * - Instant text addition via addInstantTextChunk() method or instant parameter\n * - Mixed instant and animated chunks in queue\n * - Continues typing in background tabs\n * - Performance optimized for large text\n * - maxQueueSize to limit memory usage from excessive queuing\n * - event handling for typing completion and content changes\n *\n * The component includes accessibility features:\n * - Screen readers announce the complete text, not character by character\n * - Uses aria-live=\"polite\" for dynamic content updates\n * - Sets aria-busy during typing animation\n *\n * @dependency mdc-text\n *\n * @tagname mdc-typewriter\n * @slot - Default slot for text content\n *\n * @csspart container - Container for the text element\n * @csspart text - The text element (forwarded to mdc-text)\n *\n * @event typing-complete - (React: onTypingComplete) Fired when the typewriter finishes typing all content.\n * Detail: \\{ finalContent: string \\}\n * @event change - (React: onChange) Fired when the content of the typewriter changes.\n * Detail: \\{ content: string, isTyping: boolean \\}\n */",
|
41285
|
+
"customElement": true
|
41286
|
+
}
|
41287
|
+
],
|
41288
|
+
"exports": [
|
41289
|
+
{
|
41290
|
+
"kind": "js",
|
41291
|
+
"name": "default",
|
41292
|
+
"declaration": {
|
41293
|
+
"name": "Typewriter",
|
41294
|
+
"module": "components/typewriter/typewriter.component.js"
|
41295
|
+
}
|
41296
|
+
}
|
41297
|
+
]
|
41298
|
+
},
|
41299
|
+
{
|
41300
|
+
"kind": "javascript-module",
|
41301
|
+
"path": "components/tooltip/tooltip.component.js",
|
41302
|
+
"declarations": [
|
41303
|
+
{
|
41304
|
+
"kind": "class",
|
41305
|
+
"description": "A tooltip is triggered by mouse hover or by keyboard focus\nand will disappear upon mouse exit or focus change.\n\nNote: Tooltips cannot contain content that can be focused or interacted with.",
|
41306
|
+
"name": "Tooltip",
|
41307
|
+
"cssProperties": [
|
41308
|
+
{
|
41309
|
+
"description": "The maximum width of the tooltip.",
|
41310
|
+
"name": "--mdc-tooltip-max-width"
|
41311
|
+
},
|
41312
|
+
{
|
41313
|
+
"description": "The padding of the tooltip.",
|
41314
|
+
"name": "--mdc-tooltip-padding"
|
41315
|
+
},
|
41316
|
+
{
|
41317
|
+
"description": "The text color of the tooltip.",
|
41318
|
+
"name": "--mdc-tooltip-text-color"
|
41319
|
+
},
|
41320
|
+
{
|
41321
|
+
"description": "The text color of the tooltip when the color is contrast.",
|
41322
|
+
"name": "--mdc-tooltip-text-color-contrast"
|
41323
|
+
},
|
41324
|
+
{
|
41325
|
+
"description": "radius of the arrow border",
|
41326
|
+
"name": "--mdc-popover-arrow-border-radius",
|
41327
|
+
"inheritedFrom": {
|
41328
|
+
"name": "Popover",
|
41329
|
+
"module": "src/components/popover/popover.component.ts"
|
41330
|
+
}
|
41331
|
+
},
|
41332
|
+
{
|
41333
|
+
"description": "border of the arrow",
|
41334
|
+
"name": "--mdc-popover-arrow-border",
|
41335
|
+
"inheritedFrom": {
|
41336
|
+
"name": "Popover",
|
41337
|
+
"module": "src/components/popover/popover.component.ts"
|
41338
|
+
}
|
41339
|
+
},
|
41340
|
+
{
|
41341
|
+
"description": "primary background color of the popover",
|
41342
|
+
"name": "--mdc-popover-primary-background-color",
|
41343
|
+
"inheritedFrom": {
|
41344
|
+
"name": "Popover",
|
41345
|
+
"module": "src/components/popover/popover.component.ts"
|
41346
|
+
}
|
41347
|
+
},
|
41348
|
+
{
|
41349
|
+
"description": "border color of the popover",
|
41350
|
+
"name": "--mdc-popover-border-color",
|
41351
|
+
"inheritedFrom": {
|
41352
|
+
"name": "Popover",
|
41353
|
+
"module": "src/components/popover/popover.component.ts"
|
41354
|
+
}
|
41355
|
+
},
|
41356
|
+
{
|
41357
|
+
"description": "inverted background color of the popover",
|
41358
|
+
"name": "--mdc-popover-inverted-background-color",
|
41359
|
+
"inheritedFrom": {
|
41360
|
+
"name": "Popover",
|
41361
|
+
"module": "src/components/popover/popover.component.ts"
|
41362
|
+
}
|
41363
|
+
},
|
41364
|
+
{
|
41365
|
+
"description": "inverted border color of the popover",
|
41366
|
+
"name": "--mdc-popover-inverted-border-color",
|
41367
|
+
"inheritedFrom": {
|
41368
|
+
"name": "Popover",
|
41369
|
+
"module": "src/components/popover/popover.component.ts"
|
41370
|
+
}
|
41371
|
+
},
|
41372
|
+
{
|
41373
|
+
"description": "inverted text color of the popover",
|
41374
|
+
"name": "--mdc-popover-inverted-text-color",
|
41375
|
+
"inheritedFrom": {
|
41376
|
+
"name": "Popover",
|
41377
|
+
"module": "src/components/popover/popover.component.ts"
|
41378
|
+
}
|
41096
41379
|
},
|
41097
41380
|
{
|
41098
41381
|
"description": "elevation of the popover",
|
@@ -41127,53 +41410,29 @@
|
|
41127
41410
|
}
|
41128
41411
|
}
|
41129
41412
|
],
|
41130
|
-
"slots": [
|
41131
|
-
{
|
41132
|
-
"description": "Default slot for the toggletip content",
|
41133
|
-
"name": "",
|
41134
|
-
"inheritedFrom": {
|
41135
|
-
"name": "Popover",
|
41136
|
-
"module": "src/components/popover/popover.component.ts"
|
41137
|
-
}
|
41138
|
-
}
|
41139
|
-
],
|
41140
41413
|
"members": [
|
41141
41414
|
{
|
41142
41415
|
"kind": "field",
|
41143
|
-
"name": "
|
41144
|
-
"type": {
|
41145
|
-
"text": "Array<Node>"
|
41146
|
-
},
|
41147
|
-
"privacy": "private"
|
41148
|
-
},
|
41149
|
-
{
|
41150
|
-
"kind": "field",
|
41151
|
-
"name": "screenreaderAnnouncerIdentity",
|
41416
|
+
"name": "tooltipType",
|
41152
41417
|
"type": {
|
41153
|
-
"text": "
|
41418
|
+
"text": "TooltipType"
|
41154
41419
|
},
|
41155
|
-
"description": "
|
41156
|
-
"
|
41420
|
+
"description": "The type of tooltip.\n- **description** sets aria-describedby on the trigger component which refers to the tooltip id.\n- **label** sets aria-labelledby on the trigger component which refers to the tooltip id.\n- **none** no aria props set on trigger component referring to the tooltip id.",
|
41421
|
+
"default": "'description'",
|
41422
|
+
"attribute": "tooltip-type",
|
41157
41423
|
"reflects": true
|
41158
41424
|
},
|
41159
41425
|
{
|
41160
41426
|
"kind": "field",
|
41161
|
-
"name": "
|
41427
|
+
"name": "defaultSlotNodes",
|
41162
41428
|
"type": {
|
41163
|
-
"text": "
|
41429
|
+
"text": "Array<Node>"
|
41164
41430
|
},
|
41165
|
-
"
|
41166
|
-
"default": "bottom",
|
41167
|
-
"attribute": "placement",
|
41168
|
-
"reflects": true,
|
41169
|
-
"inheritedFrom": {
|
41170
|
-
"name": "Popover",
|
41171
|
-
"module": "components/popover/popover.component.js"
|
41172
|
-
}
|
41431
|
+
"privacy": "private"
|
41173
41432
|
},
|
41174
41433
|
{
|
41175
41434
|
"kind": "method",
|
41176
|
-
"name": "
|
41435
|
+
"name": "getTooltipText",
|
41177
41436
|
"privacy": "private",
|
41178
41437
|
"return": {
|
41179
41438
|
"type": {
|
@@ -41181,6 +41440,37 @@
|
|
41181
41440
|
}
|
41182
41441
|
}
|
41183
41442
|
},
|
41443
|
+
{
|
41444
|
+
"kind": "method",
|
41445
|
+
"name": "setTooltipType",
|
41446
|
+
"privacy": "private",
|
41447
|
+
"return": {
|
41448
|
+
"type": {
|
41449
|
+
"text": "void"
|
41450
|
+
}
|
41451
|
+
},
|
41452
|
+
"parameters": [
|
41453
|
+
{
|
41454
|
+
"name": "type",
|
41455
|
+
"type": {
|
41456
|
+
"text": "TooltipType"
|
41457
|
+
},
|
41458
|
+
"description": "The type to set."
|
41459
|
+
}
|
41460
|
+
],
|
41461
|
+
"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."
|
41462
|
+
},
|
41463
|
+
{
|
41464
|
+
"kind": "method",
|
41465
|
+
"name": "onIdUpdated",
|
41466
|
+
"privacy": "private",
|
41467
|
+
"return": {
|
41468
|
+
"type": {
|
41469
|
+
"text": "Promise<void>"
|
41470
|
+
}
|
41471
|
+
},
|
41472
|
+
"description": "Updates the tooltip id if it is empty."
|
41473
|
+
},
|
41184
41474
|
{
|
41185
41475
|
"kind": "method",
|
41186
41476
|
"name": "onPlacementUpdated",
|
@@ -41190,7 +41480,27 @@
|
|
41190
41480
|
"text": "void"
|
41191
41481
|
}
|
41192
41482
|
},
|
41193
|
-
"description": "Updates the placement attribute if it is not a valid placement.\
|
41483
|
+
"description": "Updates the placement attribute if it is not a valid placement.\nOverriding the default from Popover"
|
41484
|
+
},
|
41485
|
+
{
|
41486
|
+
"kind": "method",
|
41487
|
+
"name": "onTooltipTypeUpdated",
|
41488
|
+
"privacy": "private",
|
41489
|
+
"return": {
|
41490
|
+
"type": {
|
41491
|
+
"text": "void"
|
41492
|
+
}
|
41493
|
+
},
|
41494
|
+
"parameters": [
|
41495
|
+
{
|
41496
|
+
"name": "changedProperties",
|
41497
|
+
"type": {
|
41498
|
+
"text": "PropertyValues"
|
41499
|
+
},
|
41500
|
+
"description": "The changed properties."
|
41501
|
+
}
|
41502
|
+
],
|
41503
|
+
"description": "Updates the tooltip type attribute and sets the appropriate aria props on the trigger component."
|
41194
41504
|
},
|
41195
41505
|
{
|
41196
41506
|
"kind": "field",
|
@@ -41798,6 +42108,21 @@
|
|
41798
42108
|
"module": "components/popover/popover.component.js"
|
41799
42109
|
}
|
41800
42110
|
},
|
42111
|
+
{
|
42112
|
+
"kind": "field",
|
42113
|
+
"name": "placement",
|
42114
|
+
"type": {
|
42115
|
+
"text": "PopoverPlacement"
|
42116
|
+
},
|
42117
|
+
"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**",
|
42118
|
+
"default": "bottom",
|
42119
|
+
"attribute": "placement",
|
42120
|
+
"reflects": true,
|
42121
|
+
"inheritedFrom": {
|
42122
|
+
"name": "Popover",
|
42123
|
+
"module": "components/popover/popover.component.js"
|
42124
|
+
}
|
42125
|
+
},
|
41801
42126
|
{
|
41802
42127
|
"kind": "field",
|
41803
42128
|
"name": "color",
|
@@ -42502,7 +42827,7 @@
|
|
42502
42827
|
],
|
42503
42828
|
"events": [
|
42504
42829
|
{
|
42505
|
-
"description": "(React: onShown) This event is dispatched when the
|
42830
|
+
"description": "(React: onShown) This event is dispatched when the tooltip is shown",
|
42506
42831
|
"name": "shown",
|
42507
42832
|
"reactName": "onShown",
|
42508
42833
|
"inheritedFrom": {
|
@@ -42511,7 +42836,7 @@
|
|
42511
42836
|
}
|
42512
42837
|
},
|
42513
42838
|
{
|
42514
|
-
"description": "(React: onHidden) This event is dispatched when the
|
42839
|
+
"description": "(React: onHidden) This event is dispatched when the tooltip is hidden",
|
42515
42840
|
"name": "hidden",
|
42516
42841
|
"reactName": "onHidden",
|
42517
42842
|
"inheritedFrom": {
|
@@ -42520,45 +42845,33 @@
|
|
42520
42845
|
}
|
42521
42846
|
},
|
42522
42847
|
{
|
42523
|
-
"description": "(React: onCreated) This event is dispatched when the
|
42848
|
+
"description": "(React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)",
|
42524
42849
|
"name": "created",
|
42525
42850
|
"reactName": "onCreated",
|
42526
42851
|
"inheritedFrom": {
|
42527
|
-
"name": "Popover",
|
42528
|
-
"module": "src/components/popover/popover.component.ts"
|
42529
|
-
}
|
42530
|
-
},
|
42531
|
-
{
|
42532
|
-
"description": "(React: onDestroyed) This event is dispatched when the
|
42533
|
-
"name": "destroyed",
|
42534
|
-
"reactName": "onDestroyed",
|
42535
|
-
"inheritedFrom": {
|
42536
|
-
"name": "Popover",
|
42537
|
-
"module": "src/components/popover/popover.component.ts"
|
42538
|
-
}
|
42539
|
-
}
|
42540
|
-
],
|
42541
|
-
"attributes": [
|
42542
|
-
{
|
42543
|
-
"name": "screenreader-announcer-identity",
|
42544
|
-
"type": {
|
42545
|
-
"text": "string | undefined"
|
42546
|
-
},
|
42547
|
-
"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.",
|
42548
|
-
"fieldName": "screenreaderAnnouncerIdentity"
|
42549
|
-
},
|
42550
|
-
{
|
42551
|
-
"name": "placement",
|
42552
|
-
"type": {
|
42553
|
-
"text": "PopoverPlacement"
|
42554
|
-
},
|
42555
|
-
"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**",
|
42556
|
-
"default": "bottom",
|
42557
|
-
"fieldName": "placement",
|
42852
|
+
"name": "Popover",
|
42853
|
+
"module": "src/components/popover/popover.component.ts"
|
42854
|
+
}
|
42855
|
+
},
|
42856
|
+
{
|
42857
|
+
"description": "(React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)",
|
42858
|
+
"name": "destroyed",
|
42859
|
+
"reactName": "onDestroyed",
|
42558
42860
|
"inheritedFrom": {
|
42559
42861
|
"name": "Popover",
|
42560
42862
|
"module": "src/components/popover/popover.component.ts"
|
42561
42863
|
}
|
42864
|
+
}
|
42865
|
+
],
|
42866
|
+
"attributes": [
|
42867
|
+
{
|
42868
|
+
"name": "tooltip-type",
|
42869
|
+
"type": {
|
42870
|
+
"text": "TooltipType"
|
42871
|
+
},
|
42872
|
+
"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.",
|
42873
|
+
"default": "'description'",
|
42874
|
+
"fieldName": "tooltipType"
|
42562
42875
|
},
|
42563
42876
|
{
|
42564
42877
|
"name": "should-focus-trap-wrap",
|
@@ -42612,6 +42925,19 @@
|
|
42612
42925
|
"module": "src/components/popover/popover.component.ts"
|
42613
42926
|
}
|
42614
42927
|
},
|
42928
|
+
{
|
42929
|
+
"name": "placement",
|
42930
|
+
"type": {
|
42931
|
+
"text": "PopoverPlacement"
|
42932
|
+
},
|
42933
|
+
"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**",
|
42934
|
+
"default": "bottom",
|
42935
|
+
"fieldName": "placement",
|
42936
|
+
"inheritedFrom": {
|
42937
|
+
"name": "Popover",
|
42938
|
+
"module": "src/components/popover/popover.component.ts"
|
42939
|
+
}
|
42940
|
+
},
|
42615
42941
|
{
|
42616
42942
|
"name": "color",
|
42617
42943
|
"type": {
|
@@ -42721,643 +43047,317 @@
|
|
42721
43047
|
"type": {
|
42722
43048
|
"text": "boolean"
|
42723
43049
|
},
|
42724
|
-
"description": "The arrow visibility of the popover.",
|
42725
|
-
"default": "false",
|
42726
|
-
"fieldName": "showArrow",
|
42727
|
-
"inheritedFrom": {
|
42728
|
-
"name": "Popover",
|
42729
|
-
"module": "src/components/popover/popover.component.ts"
|
42730
|
-
}
|
42731
|
-
},
|
42732
|
-
{
|
42733
|
-
"name": "close-button",
|
42734
|
-
"type": {
|
42735
|
-
"text": "boolean"
|
42736
|
-
},
|
42737
|
-
"description": "The close button visibility of the popover.",
|
42738
|
-
"default": "false",
|
42739
|
-
"fieldName": "closeButton",
|
42740
|
-
"inheritedFrom": {
|
42741
|
-
"name": "Popover",
|
42742
|
-
"module": "src/components/popover/popover.component.ts"
|
42743
|
-
}
|
42744
|
-
},
|
42745
|
-
{
|
42746
|
-
"name": "interactive",
|
42747
|
-
"type": {
|
42748
|
-
"text": "boolean"
|
42749
|
-
},
|
42750
|
-
"description": "Determines whether the popover is interactive.\nMake sure to set focusTrap to true to keep the focus inside the popover in case necessary.\nSetting interactive to true will not automatically set focusTrap!",
|
42751
|
-
"default": "false",
|
42752
|
-
"fieldName": "interactive",
|
42753
|
-
"inheritedFrom": {
|
42754
|
-
"name": "Popover",
|
42755
|
-
"module": "src/components/popover/popover.component.ts"
|
42756
|
-
}
|
42757
|
-
},
|
42758
|
-
{
|
42759
|
-
"name": "delay",
|
42760
|
-
"type": {
|
42761
|
-
"text": "string"
|
42762
|
-
},
|
42763
|
-
"description": "The delay of the show/hide popover.",
|
42764
|
-
"default": "0,0",
|
42765
|
-
"fieldName": "delay",
|
42766
|
-
"inheritedFrom": {
|
42767
|
-
"name": "Popover",
|
42768
|
-
"module": "src/components/popover/popover.component.ts"
|
42769
|
-
}
|
42770
|
-
},
|
42771
|
-
{
|
42772
|
-
"name": "hide-on-escape",
|
42773
|
-
"type": {
|
42774
|
-
"text": "boolean"
|
42775
|
-
},
|
42776
|
-
"description": "Hide popover on escape key press.",
|
42777
|
-
"default": "false",
|
42778
|
-
"fieldName": "hideOnEscape",
|
42779
|
-
"inheritedFrom": {
|
42780
|
-
"name": "Popover",
|
42781
|
-
"module": "src/components/popover/popover.component.ts"
|
42782
|
-
}
|
42783
|
-
},
|
42784
|
-
{
|
42785
|
-
"name": "propagate-event-on-escape",
|
42786
|
-
"type": {
|
42787
|
-
"text": "boolean"
|
42788
|
-
},
|
42789
|
-
"description": "Propagates the event, when the escape key is pressed (only when pressed inside the popover)\nIf true, the escape key press close the popover and will propagate the keydown event.\nIf false, the escape key press will close the popover but will not propagate the keydown event.\n(set to false to prevent the event from bubbling up to the document).\n\nThis only works when `hideOnEscape` is true.",
|
42790
|
-
"default": "false",
|
42791
|
-
"fieldName": "propagateEventOnEscape",
|
42792
|
-
"inheritedFrom": {
|
42793
|
-
"name": "Popover",
|
42794
|
-
"module": "src/components/popover/popover.component.ts"
|
42795
|
-
}
|
42796
|
-
},
|
42797
|
-
{
|
42798
|
-
"name": "hide-on-blur",
|
42799
|
-
"type": {
|
42800
|
-
"text": "boolean"
|
42801
|
-
},
|
42802
|
-
"description": "Hide popover on blur.",
|
42803
|
-
"default": "false",
|
42804
|
-
"fieldName": "hideOnBlur",
|
42805
|
-
"inheritedFrom": {
|
42806
|
-
"name": "Popover",
|
42807
|
-
"module": "src/components/popover/popover.component.ts"
|
42808
|
-
}
|
42809
|
-
},
|
42810
|
-
{
|
42811
|
-
"name": "hide-on-outside-click",
|
42812
|
-
"type": {
|
42813
|
-
"text": "boolean"
|
42814
|
-
},
|
42815
|
-
"description": "Hide on outside click of the popover.",
|
42816
|
-
"default": "false",
|
42817
|
-
"fieldName": "hideOnOutsideClick",
|
42818
|
-
"inheritedFrom": {
|
42819
|
-
"name": "Popover",
|
42820
|
-
"module": "src/components/popover/popover.component.ts"
|
42821
|
-
}
|
42822
|
-
},
|
42823
|
-
{
|
42824
|
-
"name": "focus-back-to-trigger",
|
42825
|
-
"type": {
|
42826
|
-
"text": "boolean"
|
42827
|
-
},
|
42828
|
-
"description": "The focus back to trigger after the popover hide.",
|
42829
|
-
"default": "false",
|
42830
|
-
"fieldName": "focusBackToTrigger",
|
42831
|
-
"inheritedFrom": {
|
42832
|
-
"name": "Popover",
|
42833
|
-
"module": "src/components/popover/popover.component.ts"
|
42834
|
-
}
|
42835
|
-
},
|
42836
|
-
{
|
42837
|
-
"name": "backdrop",
|
42838
|
-
"type": {
|
42839
|
-
"text": "boolean"
|
42840
|
-
},
|
42841
|
-
"description": "Determines whether the popover with backdrop.\nOther than popover and trigger element, the rest of the screen will be covered with a backdrop.",
|
42842
|
-
"default": "false",
|
42843
|
-
"fieldName": "backdrop",
|
42844
|
-
"inheritedFrom": {
|
42845
|
-
"name": "Popover",
|
42846
|
-
"module": "src/components/popover/popover.component.ts"
|
42847
|
-
}
|
42848
|
-
},
|
42849
|
-
{
|
42850
|
-
"name": "backdrop-append-to",
|
42851
|
-
"type": {
|
42852
|
-
"text": "string | undefined"
|
42853
|
-
},
|
42854
|
-
"description": "Element ID the backdrop will be a append to (if `backdrop` is true).",
|
42855
|
-
"default": "''",
|
42856
|
-
"fieldName": "backdropAppendTo",
|
42857
|
-
"inheritedFrom": {
|
42858
|
-
"name": "Popover",
|
42859
|
-
"module": "src/components/popover/popover.component.ts"
|
42860
|
-
}
|
42861
|
-
},
|
42862
|
-
{
|
42863
|
-
"name": "is-backdrop-invisible",
|
42864
|
-
"type": {
|
42865
|
-
"text": "boolean | undefined"
|
42866
|
-
},
|
42867
|
-
"description": "Set this property to false to make the backdrop a dimmed visible backdrop (if `backdrop` is true).\nThis is useful for cases where the popovers backdrop should get dimmed.",
|
42868
|
-
"default": "true - default is to have a invisible backdrop",
|
42869
|
-
"fieldName": "isBackdropInvisible",
|
42870
|
-
"inheritedFrom": {
|
42871
|
-
"name": "Popover",
|
42872
|
-
"module": "src/components/popover/popover.component.ts"
|
42873
|
-
}
|
42874
|
-
},
|
42875
|
-
{
|
42876
|
-
"name": "flip",
|
42877
|
-
"type": {
|
42878
|
-
"text": "boolean"
|
42879
|
-
},
|
42880
|
-
"description": "Changes the placement of popover to keep it in view when scrolling.",
|
42881
|
-
"default": "true",
|
42882
|
-
"fieldName": "flip",
|
42883
|
-
"inheritedFrom": {
|
42884
|
-
"name": "Popover",
|
42885
|
-
"module": "src/components/popover/popover.component.ts"
|
42886
|
-
}
|
42887
|
-
},
|
42888
|
-
{
|
42889
|
-
"name": "size",
|
42890
|
-
"type": {
|
42891
|
-
"text": "boolean"
|
42892
|
-
},
|
42893
|
-
"description": "Changes the size of popover to keep it in view when scrolling.",
|
42894
|
-
"default": "false",
|
42895
|
-
"fieldName": "size",
|
42896
|
-
"inheritedFrom": {
|
42897
|
-
"name": "Popover",
|
42898
|
-
"module": "src/components/popover/popover.component.ts"
|
42899
|
-
}
|
42900
|
-
},
|
42901
|
-
{
|
42902
|
-
"name": "z-index",
|
42903
|
-
"type": {
|
42904
|
-
"text": "number"
|
42905
|
-
},
|
42906
|
-
"description": "The z-index of the popover.",
|
42907
|
-
"default": "1000",
|
42908
|
-
"fieldName": "zIndex",
|
42909
|
-
"inheritedFrom": {
|
42910
|
-
"name": "Popover",
|
42911
|
-
"module": "src/components/popover/popover.component.ts"
|
42912
|
-
}
|
42913
|
-
},
|
42914
|
-
{
|
42915
|
-
"name": "append-to",
|
42916
|
-
"type": {
|
42917
|
-
"text": "string | undefined"
|
42918
|
-
},
|
42919
|
-
"description": "Element ID that the popover append to.",
|
42920
|
-
"default": "''",
|
42921
|
-
"fieldName": "appendTo",
|
42922
|
-
"inheritedFrom": {
|
42923
|
-
"name": "Popover",
|
42924
|
-
"module": "src/components/popover/popover.component.ts"
|
42925
|
-
}
|
42926
|
-
},
|
42927
|
-
{
|
42928
|
-
"name": "close-button-aria-label",
|
42929
|
-
"type": {
|
42930
|
-
"text": "string | null"
|
42931
|
-
},
|
42932
|
-
"default": "null",
|
42933
|
-
"description": "aria-label attribute to be set for close button accessibility.",
|
42934
|
-
"fieldName": "closeButtonAriaLabel",
|
42935
|
-
"inheritedFrom": {
|
42936
|
-
"name": "Popover",
|
42937
|
-
"module": "src/components/popover/popover.component.ts"
|
42938
|
-
}
|
42939
|
-
},
|
42940
|
-
{
|
42941
|
-
"name": "strategy",
|
42942
|
-
"type": {
|
42943
|
-
"text": "'absolute' | 'fixed'"
|
42944
|
-
},
|
42945
|
-
"description": "The strategy of the popover.\nThis determines how the popover is positioned in the DOM.\n- **absolute**: The popover is positioned absolutely relative to the nearest positioned ancestor.\n- **fixed**: The popover is positioned fixed relative to the viewport.\n\nDefault as `absolute` is recommended for most cases.\nIn cases where the popover gets clipped by a scrollable container,\nyou can set this to `fixed` to avoid clipping.",
|
42946
|
-
"default": "absolute",
|
42947
|
-
"fieldName": "strategy",
|
43050
|
+
"description": "The arrow visibility of the popover.",
|
43051
|
+
"default": "false",
|
43052
|
+
"fieldName": "showArrow",
|
42948
43053
|
"inheritedFrom": {
|
42949
43054
|
"name": "Popover",
|
42950
43055
|
"module": "src/components/popover/popover.component.ts"
|
42951
43056
|
}
|
42952
43057
|
},
|
42953
43058
|
{
|
42954
|
-
"name": "
|
43059
|
+
"name": "close-button",
|
42955
43060
|
"type": {
|
42956
|
-
"text": "
|
43061
|
+
"text": "boolean"
|
42957
43062
|
},
|
42958
|
-
"description": "
|
42959
|
-
"default": "
|
42960
|
-
"fieldName": "
|
43063
|
+
"description": "The close button visibility of the popover.",
|
43064
|
+
"default": "false",
|
43065
|
+
"fieldName": "closeButton",
|
42961
43066
|
"inheritedFrom": {
|
42962
43067
|
"name": "Popover",
|
42963
43068
|
"module": "src/components/popover/popover.component.ts"
|
42964
43069
|
}
|
42965
43070
|
},
|
42966
43071
|
{
|
42967
|
-
"name": "
|
43072
|
+
"name": "interactive",
|
42968
43073
|
"type": {
|
42969
|
-
"text": "
|
43074
|
+
"text": "boolean"
|
42970
43075
|
},
|
42971
|
-
"
|
42972
|
-
"
|
42973
|
-
"fieldName": "
|
43076
|
+
"description": "Determines whether the popover is interactive.\nMake sure to set focusTrap to true to keep the focus inside the popover in case necessary.\nSetting interactive to true will not automatically set focusTrap!",
|
43077
|
+
"default": "false",
|
43078
|
+
"fieldName": "interactive",
|
42974
43079
|
"inheritedFrom": {
|
42975
43080
|
"name": "Popover",
|
42976
43081
|
"module": "src/components/popover/popover.component.ts"
|
42977
43082
|
}
|
42978
43083
|
},
|
42979
43084
|
{
|
42980
|
-
"name": "
|
43085
|
+
"name": "delay",
|
42981
43086
|
"type": {
|
42982
|
-
"text": "string
|
43087
|
+
"text": "string"
|
42983
43088
|
},
|
42984
|
-
"
|
42985
|
-
"
|
42986
|
-
"fieldName": "
|
43089
|
+
"description": "The delay of the show/hide popover.",
|
43090
|
+
"default": "0,0",
|
43091
|
+
"fieldName": "delay",
|
42987
43092
|
"inheritedFrom": {
|
42988
43093
|
"name": "Popover",
|
42989
43094
|
"module": "src/components/popover/popover.component.ts"
|
42990
43095
|
}
|
42991
43096
|
},
|
42992
43097
|
{
|
42993
|
-
"name": "
|
43098
|
+
"name": "hide-on-escape",
|
42994
43099
|
"type": {
|
42995
43100
|
"text": "boolean"
|
42996
43101
|
},
|
42997
|
-
"description": "
|
43102
|
+
"description": "Hide popover on escape key press.",
|
42998
43103
|
"default": "false",
|
42999
|
-
"fieldName": "
|
43104
|
+
"fieldName": "hideOnEscape",
|
43000
43105
|
"inheritedFrom": {
|
43001
43106
|
"name": "Popover",
|
43002
43107
|
"module": "src/components/popover/popover.component.ts"
|
43003
43108
|
}
|
43004
43109
|
},
|
43005
43110
|
{
|
43006
|
-
"name": "
|
43111
|
+
"name": "propagate-event-on-escape",
|
43007
43112
|
"type": {
|
43008
43113
|
"text": "boolean"
|
43009
43114
|
},
|
43010
|
-
"description": "
|
43011
|
-
"
|
43115
|
+
"description": "Propagates the event, when the escape key is pressed (only when pressed inside the popover)\nIf true, the escape key press close the popover and will propagate the keydown event.\nIf false, the escape key press will close the popover but will not propagate the keydown event.\n(set to false to prevent the event from bubbling up to the document).\n\nThis only works when `hideOnEscape` is true.",
|
43116
|
+
"default": "false",
|
43117
|
+
"fieldName": "propagateEventOnEscape",
|
43012
43118
|
"inheritedFrom": {
|
43013
43119
|
"name": "Popover",
|
43014
43120
|
"module": "src/components/popover/popover.component.ts"
|
43015
43121
|
}
|
43016
|
-
}
|
43017
|
-
],
|
43018
|
-
"superclass": {
|
43019
|
-
"name": "Popover",
|
43020
|
-
"module": "/src/components/popover/popover.component"
|
43021
|
-
},
|
43022
|
-
"tagName": "mdc-toggletip",
|
43023
|
-
"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 */",
|
43024
|
-
"customElement": true
|
43025
|
-
}
|
43026
|
-
],
|
43027
|
-
"exports": [
|
43028
|
-
{
|
43029
|
-
"kind": "js",
|
43030
|
-
"name": "default",
|
43031
|
-
"declaration": {
|
43032
|
-
"name": "ToggleTip",
|
43033
|
-
"module": "components/toggletip/toggletip.component.js"
|
43034
|
-
}
|
43035
|
-
}
|
43036
|
-
]
|
43037
|
-
},
|
43038
|
-
{
|
43039
|
-
"kind": "javascript-module",
|
43040
|
-
"path": "components/typewriter/typewriter.component.js",
|
43041
|
-
"declarations": [
|
43042
|
-
{
|
43043
|
-
"kind": "class",
|
43044
|
-
"description": "Typewriter component that creates a typewriter effect on text content.\nIt uses the Text component internally, adding a progressive typing effect.\n\nThe `type` attribute allows changing the text style (passed to the internal Text component).\nThe `tagname` attribute allows changing the tag name of the text element (passed to the internal Text component).\nThe default tag name is `p`.\n\nThe `speed` attribute controls typing speed in milliseconds per character:\n- 'very-slow' = 240ms per character\n- 'slow' = 120ms per character\n- 'normal' = 60ms per character (default)\n- 'fast' = 20ms per character\n- 'very-fast' = 1ms per character\n- Or any numeric string representing milliseconds\n\nAdvanced features:\n- Dynamic speed adjustment during typing\n- Chunked text addition via addTextChunk() method\n- Instant text addition via addInstantTextChunk() method or instant parameter\n- Mixed instant and animated chunks in queue\n- Continues typing in background tabs\n- Performance optimized for large text\n- maxQueueSize to limit memory usage from excessive queuing\n- event handling for typing completion and content changes\n\nThe component includes accessibility features:\n- Screen readers announce the complete text, not character by character\n- Uses aria-live=\"polite\" for dynamic content updates\n- Sets aria-busy during typing animation",
|
43045
|
-
"name": "Typewriter",
|
43046
|
-
"cssParts": [
|
43047
|
-
{
|
43048
|
-
"description": "Container for the text element",
|
43049
|
-
"name": "container"
|
43050
43122
|
},
|
43051
43123
|
{
|
43052
|
-
"
|
43053
|
-
"name": "text"
|
43054
|
-
}
|
43055
|
-
],
|
43056
|
-
"slots": [
|
43057
|
-
{
|
43058
|
-
"description": "Default slot for text content",
|
43059
|
-
"name": ""
|
43060
|
-
}
|
43061
|
-
],
|
43062
|
-
"members": [
|
43063
|
-
{
|
43064
|
-
"kind": "field",
|
43065
|
-
"name": "type",
|
43124
|
+
"name": "hide-on-blur",
|
43066
43125
|
"type": {
|
43067
|
-
"text": "
|
43126
|
+
"text": "boolean"
|
43068
43127
|
},
|
43069
|
-
"
|
43070
|
-
"
|
43071
|
-
"
|
43072
|
-
"
|
43073
|
-
|
43128
|
+
"description": "Hide popover on blur.",
|
43129
|
+
"default": "false",
|
43130
|
+
"fieldName": "hideOnBlur",
|
43131
|
+
"inheritedFrom": {
|
43132
|
+
"name": "Popover",
|
43133
|
+
"module": "src/components/popover/popover.component.ts"
|
43134
|
+
}
|
43074
43135
|
},
|
43075
43136
|
{
|
43076
|
-
"
|
43077
|
-
"name": "tagname",
|
43137
|
+
"name": "hide-on-outside-click",
|
43078
43138
|
"type": {
|
43079
|
-
"text": "
|
43139
|
+
"text": "boolean"
|
43080
43140
|
},
|
43081
|
-
"
|
43082
|
-
"
|
43083
|
-
"
|
43084
|
-
"
|
43141
|
+
"description": "Hide on outside click of the popover.",
|
43142
|
+
"default": "false",
|
43143
|
+
"fieldName": "hideOnOutsideClick",
|
43144
|
+
"inheritedFrom": {
|
43145
|
+
"name": "Popover",
|
43146
|
+
"module": "src/components/popover/popover.component.ts"
|
43147
|
+
}
|
43085
43148
|
},
|
43086
43149
|
{
|
43087
|
-
"
|
43088
|
-
"name": "speed",
|
43150
|
+
"name": "focus-back-to-trigger",
|
43089
43151
|
"type": {
|
43090
|
-
"text": "
|
43152
|
+
"text": "boolean"
|
43091
43153
|
},
|
43092
|
-
"
|
43093
|
-
"
|
43094
|
-
"
|
43095
|
-
"
|
43096
|
-
|
43154
|
+
"description": "The focus back to trigger after the popover hide.",
|
43155
|
+
"default": "false",
|
43156
|
+
"fieldName": "focusBackToTrigger",
|
43157
|
+
"inheritedFrom": {
|
43158
|
+
"name": "Popover",
|
43159
|
+
"module": "src/components/popover/popover.component.ts"
|
43160
|
+
}
|
43097
43161
|
},
|
43098
43162
|
{
|
43099
|
-
"
|
43100
|
-
"name": "maxQueueSize",
|
43163
|
+
"name": "backdrop",
|
43101
43164
|
"type": {
|
43102
|
-
"text": "
|
43103
|
-
},
|
43104
|
-
"
|
43105
|
-
"
|
43106
|
-
"
|
43107
|
-
"
|
43108
|
-
|
43109
|
-
|
43110
|
-
|
43111
|
-
"kind": "method",
|
43112
|
-
"name": "createTimeout",
|
43113
|
-
"privacy": "private",
|
43114
|
-
"return": {
|
43115
|
-
"type": {
|
43116
|
-
"text": "number"
|
43117
|
-
}
|
43118
|
-
},
|
43119
|
-
"parameters": [
|
43120
|
-
{
|
43121
|
-
"name": "callback",
|
43122
|
-
"type": {
|
43123
|
-
"text": "() => void"
|
43124
|
-
}
|
43125
|
-
},
|
43126
|
-
{
|
43127
|
-
"name": "delay",
|
43128
|
-
"type": {
|
43129
|
-
"text": "number"
|
43130
|
-
}
|
43131
|
-
}
|
43132
|
-
],
|
43133
|
-
"description": "Helper to create tracked setTimeout that will be cleaned up on disconnect"
|
43134
|
-
},
|
43135
|
-
{
|
43136
|
-
"kind": "method",
|
43137
|
-
"name": "clearAllTimeouts",
|
43138
|
-
"privacy": "private",
|
43139
|
-
"return": {
|
43140
|
-
"type": {
|
43141
|
-
"text": "void"
|
43142
|
-
}
|
43143
|
-
},
|
43144
|
-
"description": "Clear all pending timeouts"
|
43145
|
-
},
|
43146
|
-
{
|
43147
|
-
"kind": "method",
|
43148
|
-
"name": "clearQueue",
|
43149
|
-
"privacy": "public",
|
43150
|
-
"return": {
|
43151
|
-
"type": {
|
43152
|
-
"text": "void"
|
43153
|
-
}
|
43154
|
-
},
|
43155
|
-
"description": "Clears the text chunk queue and stops processing\nUseful for resetting the component state"
|
43156
|
-
},
|
43157
|
-
{
|
43158
|
-
"kind": "method",
|
43159
|
-
"name": "addTextChunk",
|
43160
|
-
"privacy": "public",
|
43161
|
-
"return": {
|
43162
|
-
"type": {
|
43163
|
-
"text": "void"
|
43164
|
-
}
|
43165
|
-
},
|
43166
|
-
"parameters": [
|
43167
|
-
{
|
43168
|
-
"name": "text",
|
43169
|
-
"type": {
|
43170
|
-
"text": "string"
|
43171
|
-
},
|
43172
|
-
"description": "The text to add"
|
43173
|
-
},
|
43174
|
-
{
|
43175
|
-
"name": "speed",
|
43176
|
-
"optional": true,
|
43177
|
-
"type": {
|
43178
|
-
"text": "TypewriterSpeed"
|
43179
|
-
},
|
43180
|
-
"description": "Optional speed override for this chunk"
|
43181
|
-
},
|
43182
|
-
{
|
43183
|
-
"name": "instant",
|
43184
|
-
"optional": true,
|
43185
|
-
"type": {
|
43186
|
-
"text": "boolean"
|
43187
|
-
},
|
43188
|
-
"description": "If true, text appears instantly without animation"
|
43189
|
-
}
|
43190
|
-
],
|
43191
|
-
"description": "Adds a chunk of text to be typed out, optionally with a different speed"
|
43192
|
-
},
|
43193
|
-
{
|
43194
|
-
"kind": "method",
|
43195
|
-
"name": "addInstantTextChunk",
|
43196
|
-
"privacy": "public",
|
43197
|
-
"return": {
|
43198
|
-
"type": {
|
43199
|
-
"text": "void"
|
43200
|
-
}
|
43201
|
-
},
|
43202
|
-
"parameters": [
|
43203
|
-
{
|
43204
|
-
"name": "text",
|
43205
|
-
"type": {
|
43206
|
-
"text": "string"
|
43207
|
-
},
|
43208
|
-
"description": "The text to add instantly"
|
43209
|
-
}
|
43210
|
-
],
|
43211
|
-
"description": "Adds a chunk of text instantly without typing animation"
|
43165
|
+
"text": "boolean"
|
43166
|
+
},
|
43167
|
+
"description": "Determines whether the popover with backdrop.\nOther than popover and trigger element, the rest of the screen will be covered with a backdrop.",
|
43168
|
+
"default": "false",
|
43169
|
+
"fieldName": "backdrop",
|
43170
|
+
"inheritedFrom": {
|
43171
|
+
"name": "Popover",
|
43172
|
+
"module": "src/components/popover/popover.component.ts"
|
43173
|
+
}
|
43212
43174
|
},
|
43213
43175
|
{
|
43214
|
-
"
|
43215
|
-
"
|
43216
|
-
|
43217
|
-
"return": {
|
43218
|
-
"type": {
|
43219
|
-
"text": "void"
|
43220
|
-
}
|
43176
|
+
"name": "backdrop-append-to",
|
43177
|
+
"type": {
|
43178
|
+
"text": "string | undefined"
|
43221
43179
|
},
|
43222
|
-
"description": "
|
43180
|
+
"description": "Element ID the backdrop will be a append to (if `backdrop` is true).",
|
43181
|
+
"default": "''",
|
43182
|
+
"fieldName": "backdropAppendTo",
|
43183
|
+
"inheritedFrom": {
|
43184
|
+
"name": "Popover",
|
43185
|
+
"module": "src/components/popover/popover.component.ts"
|
43186
|
+
}
|
43223
43187
|
},
|
43224
43188
|
{
|
43225
|
-
"
|
43226
|
-
"
|
43227
|
-
|
43228
|
-
"return": {
|
43229
|
-
"type": {
|
43230
|
-
"text": "void"
|
43231
|
-
}
|
43189
|
+
"name": "is-backdrop-invisible",
|
43190
|
+
"type": {
|
43191
|
+
"text": "boolean | undefined"
|
43232
43192
|
},
|
43233
|
-
"description": "
|
43193
|
+
"description": "Set this property to false to make the backdrop a dimmed visible backdrop (if `backdrop` is true).\nThis is useful for cases where the popovers backdrop should get dimmed.",
|
43194
|
+
"default": "true - default is to have a invisible backdrop",
|
43195
|
+
"fieldName": "isBackdropInvisible",
|
43196
|
+
"inheritedFrom": {
|
43197
|
+
"name": "Popover",
|
43198
|
+
"module": "src/components/popover/popover.component.ts"
|
43199
|
+
}
|
43234
43200
|
},
|
43235
43201
|
{
|
43236
|
-
"
|
43237
|
-
"
|
43238
|
-
|
43239
|
-
"return": {
|
43240
|
-
"type": {
|
43241
|
-
"text": "number"
|
43242
|
-
}
|
43202
|
+
"name": "flip",
|
43203
|
+
"type": {
|
43204
|
+
"text": "boolean"
|
43243
43205
|
},
|
43244
|
-
"description": "
|
43206
|
+
"description": "Changes the placement of popover to keep it in view when scrolling.",
|
43207
|
+
"default": "true",
|
43208
|
+
"fieldName": "flip",
|
43209
|
+
"inheritedFrom": {
|
43210
|
+
"name": "Popover",
|
43211
|
+
"module": "src/components/popover/popover.component.ts"
|
43212
|
+
}
|
43245
43213
|
},
|
43246
43214
|
{
|
43247
|
-
"
|
43248
|
-
"
|
43249
|
-
|
43250
|
-
"return": {
|
43251
|
-
"type": {
|
43252
|
-
"text": "void"
|
43253
|
-
}
|
43215
|
+
"name": "size",
|
43216
|
+
"type": {
|
43217
|
+
"text": "boolean"
|
43254
43218
|
},
|
43255
|
-
"description": "
|
43219
|
+
"description": "Changes the size of popover to keep it in view when scrolling.",
|
43220
|
+
"default": "false",
|
43221
|
+
"fieldName": "size",
|
43222
|
+
"inheritedFrom": {
|
43223
|
+
"name": "Popover",
|
43224
|
+
"module": "src/components/popover/popover.component.ts"
|
43225
|
+
}
|
43256
43226
|
},
|
43257
43227
|
{
|
43258
|
-
"
|
43259
|
-
"
|
43260
|
-
|
43261
|
-
"return": {
|
43262
|
-
"type": {
|
43263
|
-
"text": "void"
|
43264
|
-
}
|
43228
|
+
"name": "z-index",
|
43229
|
+
"type": {
|
43230
|
+
"text": "number"
|
43265
43231
|
},
|
43266
|
-
"
|
43267
|
-
|
43268
|
-
|
43269
|
-
|
43270
|
-
|
43271
|
-
|
43272
|
-
|
43273
|
-
}
|
43274
|
-
],
|
43275
|
-
"description": "Starts the typewriter animation"
|
43232
|
+
"description": "The z-index of the popover.",
|
43233
|
+
"default": "1000",
|
43234
|
+
"fieldName": "zIndex",
|
43235
|
+
"inheritedFrom": {
|
43236
|
+
"name": "Popover",
|
43237
|
+
"module": "src/components/popover/popover.component.ts"
|
43238
|
+
}
|
43276
43239
|
},
|
43277
43240
|
{
|
43278
|
-
"
|
43279
|
-
"
|
43280
|
-
|
43281
|
-
"return": {
|
43282
|
-
"type": {
|
43283
|
-
"text": "void"
|
43284
|
-
}
|
43241
|
+
"name": "append-to",
|
43242
|
+
"type": {
|
43243
|
+
"text": "string | undefined"
|
43285
43244
|
},
|
43286
|
-
"description": "
|
43245
|
+
"description": "Element ID that the popover append to.",
|
43246
|
+
"default": "''",
|
43247
|
+
"fieldName": "appendTo",
|
43248
|
+
"inheritedFrom": {
|
43249
|
+
"name": "Popover",
|
43250
|
+
"module": "src/components/popover/popover.component.ts"
|
43251
|
+
}
|
43287
43252
|
},
|
43288
43253
|
{
|
43289
|
-
"
|
43290
|
-
"
|
43291
|
-
|
43292
|
-
"return": {
|
43293
|
-
"type": {
|
43294
|
-
"text": "void"
|
43295
|
-
}
|
43254
|
+
"name": "close-button-aria-label",
|
43255
|
+
"type": {
|
43256
|
+
"text": "string | null"
|
43296
43257
|
},
|
43297
|
-
"
|
43298
|
-
|
43299
|
-
|
43300
|
-
|
43258
|
+
"default": "null",
|
43259
|
+
"description": "aria-label attribute to be set for close button accessibility.",
|
43260
|
+
"fieldName": "closeButtonAriaLabel",
|
43261
|
+
"inheritedFrom": {
|
43262
|
+
"name": "Popover",
|
43263
|
+
"module": "src/components/popover/popover.component.ts"
|
43264
|
+
}
|
43265
|
+
},
|
43301
43266
|
{
|
43267
|
+
"name": "strategy",
|
43302
43268
|
"type": {
|
43303
|
-
"text": "
|
43269
|
+
"text": "'absolute' | 'fixed'"
|
43270
|
+
},
|
43271
|
+
"description": "The strategy of the popover.\nThis determines how the popover is positioned in the DOM.\n- **absolute**: The popover is positioned absolutely relative to the nearest positioned ancestor.\n- **fixed**: The popover is positioned fixed relative to the viewport.\n\nDefault as `absolute` is recommended for most cases.\nIn cases where the popover gets clipped by a scrollable container,\nyou can set this to `fixed` to avoid clipping.",
|
43272
|
+
"default": "absolute",
|
43273
|
+
"fieldName": "strategy",
|
43274
|
+
"inheritedFrom": {
|
43275
|
+
"name": "Popover",
|
43276
|
+
"module": "src/components/popover/popover.component.ts"
|
43304
43277
|
}
|
43305
43278
|
},
|
43306
43279
|
{
|
43307
|
-
"
|
43308
|
-
"
|
43309
|
-
|
43280
|
+
"name": "role",
|
43281
|
+
"type": {
|
43282
|
+
"text": "HTMLElement['role']"
|
43283
|
+
},
|
43284
|
+
"description": "Role of the popover",
|
43285
|
+
"default": "dialog",
|
43286
|
+
"fieldName": "role",
|
43287
|
+
"inheritedFrom": {
|
43288
|
+
"name": "Popover",
|
43289
|
+
"module": "src/components/popover/popover.component.ts"
|
43290
|
+
}
|
43310
43291
|
},
|
43311
43292
|
{
|
43312
|
-
"
|
43313
|
-
"name": "change",
|
43314
|
-
"reactName": "onChange"
|
43315
|
-
}
|
43316
|
-
],
|
43317
|
-
"attributes": [
|
43318
|
-
{
|
43319
|
-
"name": "type",
|
43293
|
+
"name": "aria-labelledby",
|
43320
43294
|
"type": {
|
43321
|
-
"text": "
|
43295
|
+
"text": "string | null"
|
43322
43296
|
},
|
43323
|
-
"
|
43324
|
-
"
|
43325
|
-
"fieldName": "
|
43297
|
+
"default": "null",
|
43298
|
+
"description": "aria-labelledby for an interactive popover only, defaults to the trigger component id.\nUsed in nested cases where the triggerComponent isn't the actual button.",
|
43299
|
+
"fieldName": "ariaLabelledby",
|
43300
|
+
"inheritedFrom": {
|
43301
|
+
"name": "Popover",
|
43302
|
+
"module": "src/components/popover/popover.component.ts"
|
43303
|
+
}
|
43326
43304
|
},
|
43327
43305
|
{
|
43328
|
-
"name": "
|
43306
|
+
"name": "aria-describedby",
|
43329
43307
|
"type": {
|
43330
|
-
"text": "
|
43308
|
+
"text": "string | null"
|
43331
43309
|
},
|
43332
|
-
"
|
43333
|
-
"
|
43310
|
+
"default": "null",
|
43311
|
+
"description": "aria-describedby of the popover.",
|
43312
|
+
"fieldName": "ariaDescribedby",
|
43313
|
+
"inheritedFrom": {
|
43314
|
+
"name": "Popover",
|
43315
|
+
"module": "src/components/popover/popover.component.ts"
|
43316
|
+
}
|
43334
43317
|
},
|
43335
43318
|
{
|
43336
|
-
"name": "
|
43319
|
+
"name": "disable-aria-expanded",
|
43337
43320
|
"type": {
|
43338
|
-
"text": "
|
43321
|
+
"text": "boolean"
|
43339
43322
|
},
|
43340
|
-
"description": "
|
43341
|
-
"default": "
|
43342
|
-
"fieldName": "
|
43323
|
+
"description": "Disable setting the `aria-expanded` attribute on trigger element.\n\nNote, when `disable-aria-expanded` is true\n - when its value change after first update to\n - `true`: popover will not remove the `aria-expanded` to avoid conflicts when there are more than one popover\n registered to the same trigger\n - `false`: check `aria-expanded` value and update it if necessary.\n - aria-haspopup will be disabled as well",
|
43324
|
+
"default": "false",
|
43325
|
+
"fieldName": "disableAriaExpanded",
|
43326
|
+
"inheritedFrom": {
|
43327
|
+
"name": "Popover",
|
43328
|
+
"module": "src/components/popover/popover.component.ts"
|
43329
|
+
}
|
43343
43330
|
},
|
43344
43331
|
{
|
43345
|
-
"name": "
|
43332
|
+
"name": "keep-connected-tooltip-closed",
|
43346
43333
|
"type": {
|
43347
|
-
"text": "
|
43334
|
+
"text": "boolean"
|
43348
43335
|
},
|
43349
|
-
"description": "
|
43350
|
-
"
|
43351
|
-
"
|
43336
|
+
"description": "If a tooltip is connected to the same trigger element,\nthis property will keep the connected tooltip closed if this popover is open.\nThis is useful when you want to show a popover with a tooltip\nbut you don't want the tooltip to be shown at the same time.",
|
43337
|
+
"fieldName": "keepConnectedTooltipClosed",
|
43338
|
+
"inheritedFrom": {
|
43339
|
+
"name": "Popover",
|
43340
|
+
"module": "src/components/popover/popover.component.ts"
|
43341
|
+
}
|
43352
43342
|
}
|
43353
43343
|
],
|
43354
43344
|
"superclass": {
|
43355
|
-
"name": "
|
43356
|
-
"module": "/src/
|
43345
|
+
"name": "Popover",
|
43346
|
+
"module": "/src/components/popover/popover.component"
|
43357
43347
|
},
|
43358
|
-
"tagName": "mdc-
|
43359
|
-
"jsDoc": "/**\n *
|
43360
|
-
"customElement": true
|
43348
|
+
"tagName": "mdc-tooltip",
|
43349
|
+
"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 */",
|
43350
|
+
"customElement": true,
|
43351
|
+
"slots": [
|
43352
|
+
{
|
43353
|
+
"description": "Default slot for the popover content",
|
43354
|
+
"name": "",
|
43355
|
+
"inheritedFrom": {
|
43356
|
+
"name": "Popover",
|
43357
|
+
"module": "src/components/popover/popover.component.ts"
|
43358
|
+
}
|
43359
|
+
}
|
43360
|
+
]
|
43361
43361
|
}
|
43362
43362
|
],
|
43363
43363
|
"exports": [
|
@@ -43365,8 +43365,8 @@
|
|
43365
43365
|
"kind": "js",
|
43366
43366
|
"name": "default",
|
43367
43367
|
"declaration": {
|
43368
|
-
"name": "
|
43369
|
-
"module": "components/
|
43368
|
+
"name": "Tooltip",
|
43369
|
+
"module": "components/tooltip/tooltip.component.js"
|
43370
43370
|
}
|
43371
43371
|
}
|
43372
43372
|
]
|