@momentum-design/components 0.111.2 → 0.111.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -15534,219 +15534,6 @@
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
- },
15750
15537
  {
15751
15538
  "kind": "javascript-module",
15752
15539
  "path": "components/link/link.component.js",
@@ -16159,22 +15946,235 @@
16159
15946
  }
16160
15947
  },
16161
15948
  {
16162
- "description": "Color of the inverted link’s child content in the hover state.",
16163
- "name": "--mdc-link-inverted-color-hover",
15949
+ "description": "Color of the inverted link’s child content in the hover state.",
15950
+ "name": "--mdc-link-inverted-color-hover",
15951
+ "inheritedFrom": {
15952
+ "name": "Linksimple",
15953
+ "module": "src/components/linksimple/linksimple.component.ts"
15954
+ }
15955
+ },
15956
+ {
15957
+ "description": "Color of the inverted link’s child content in the normal state.",
15958
+ "name": "--mdc-link-inverted-color-normal",
15959
+ "inheritedFrom": {
15960
+ "name": "Linksimple",
15961
+ "module": "src/components/linksimple/linksimple.component.ts"
15962
+ }
15963
+ }
15964
+ ]
15965
+ }
15966
+ ],
15967
+ "exports": [
15968
+ {
15969
+ "kind": "js",
15970
+ "name": "default",
15971
+ "declaration": {
15972
+ "name": "Link",
15973
+ "module": "components/link/link.component.js"
15974
+ }
15975
+ }
15976
+ ]
15977
+ },
15978
+ {
15979
+ "kind": "javascript-module",
15980
+ "path": "components/inputchip/inputchip.component.js",
15981
+ "declarations": [
15982
+ {
15983
+ "kind": "class",
15984
+ "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.",
15985
+ "name": "InputChip",
15986
+ "cssProperties": [
15987
+ {
15988
+ "description": "The color of the chip.",
15989
+ "name": "--mdc-chip-color"
15990
+ },
15991
+ {
15992
+ "description": "The border color of the chip.",
15993
+ "name": "--mdc-chip-border-color"
15994
+ },
15995
+ {
15996
+ "description": "The background color of the chip.",
15997
+ "name": "--mdc-chip-background-color"
15998
+ }
15999
+ ],
16000
+ "cssParts": [
16001
+ {
16002
+ "description": "The label part of the chip.",
16003
+ "name": "label"
16004
+ },
16005
+ {
16006
+ "description": "The icon part of the chip.",
16007
+ "name": "icon"
16008
+ },
16009
+ {
16010
+ "description": "The close icon part of the chip.",
16011
+ "name": "close-icon"
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",
16164
16142
  "inheritedFrom": {
16165
- "name": "Linksimple",
16166
- "module": "src/components/linksimple/linksimple.component.ts"
16143
+ "name": "IconNameMixin",
16144
+ "module": "src/utils/mixins/IconNameMixin.ts"
16167
16145
  }
16168
16146
  },
16169
16147
  {
16170
- "description": "Color of the inverted link’s child content in the normal state.",
16171
- "name": "--mdc-link-inverted-color-normal",
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",
16172
16155
  "inheritedFrom": {
16173
- "name": "Linksimple",
16174
- "module": "src/components/linksimple/linksimple.component.ts"
16156
+ "name": "DisabledMixin",
16157
+ "module": "src/utils/mixins/DisabledMixin.ts"
16175
16158
  }
16176
16159
  }
16177
- ]
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
16178
  }
16179
16179
  ],
16180
16180
  "exports": [
@@ -16182,8 +16182,8 @@
16182
16182
  "kind": "js",
16183
16183
  "name": "default",
16184
16184
  "declaration": {
16185
- "name": "Link",
16186
- "module": "components/link/link.component.js"
16185
+ "name": "InputChip",
16186
+ "module": "components/inputchip/inputchip.component.js"
16187
16187
  }
16188
16188
  }
16189
16189
  ]
@@ -19580,7 +19580,7 @@
19580
19580
  "kind": "method",
19581
19581
  "name": "handleMouseClick",
19582
19582
  "privacy": "private",
19583
- "description": "Handles click events to toggle checked state\nIf the menuitemcheckbox is disabled, it does nothing.\nIf the menuitemcheckbox is not disabled, it toggles the `checked` state between `true` and `false`."
19583
+ "description": "Handles click events to toggle checked state\nIf the menuitemcheckbox is disabled, it does nothing.\nIf the menuitemcheckbox is not disabled, it toggles checked if uncontrolled, and dispatches the 'change' event."
19584
19584
  },
19585
19585
  {
19586
19586
  "kind": "method",
@@ -19615,6 +19615,21 @@
19615
19615
  },
19616
19616
  "description": "Returns a checkmark icon if the indicator is set to checkmark and the checked state is true.\nIf the indicator is not set to checkmark or the checked state is false, it returns nothing.\n\nThe checkmark icon will always be positioned on the trailing side of the menuitem label."
19617
19617
  },
19618
+ {
19619
+ "kind": "field",
19620
+ "name": "controlled",
19621
+ "type": {
19622
+ "text": "boolean | undefined"
19623
+ },
19624
+ "description": "Indicates whether the component is controlled.\nWhen the component is controlled, it will not handle any interaction itself, e.g. toggling a checkbox.",
19625
+ "default": "undefined",
19626
+ "attribute": "controlled",
19627
+ "reflects": true,
19628
+ "inheritedFrom": {
19629
+ "name": "ControlledMixin",
19630
+ "module": "utils/mixins/ControlledMixin.js"
19631
+ }
19632
+ },
19618
19633
  {
19619
19634
  "kind": "field",
19620
19635
  "name": "arrowPosition",
@@ -20103,6 +20118,19 @@
20103
20118
  "default": "'checkbox'",
20104
20119
  "fieldName": "indicator"
20105
20120
  },
20121
+ {
20122
+ "name": "controlled",
20123
+ "type": {
20124
+ "text": "boolean | undefined"
20125
+ },
20126
+ "description": "Indicates whether the component is controlled.\nWhen the component is controlled, it will not handle any interaction itself, e.g. toggling a checkbox.",
20127
+ "default": "undefined",
20128
+ "fieldName": "controlled",
20129
+ "inheritedFrom": {
20130
+ "name": "ControlledMixin",
20131
+ "module": "src/utils/mixins/ControlledMixin.ts"
20132
+ }
20133
+ },
20106
20134
  {
20107
20135
  "name": "arrow-position",
20108
20136
  "type": {
@@ -20264,6 +20292,12 @@
20264
20292
  }
20265
20293
  }
20266
20294
  ],
20295
+ "mixins": [
20296
+ {
20297
+ "name": "ControlledMixin",
20298
+ "module": "/src/utils/mixins/ControlledMixin"
20299
+ }
20300
+ ],
20267
20301
  "superclass": {
20268
20302
  "name": "MenuItem",
20269
20303
  "module": "/src/components/menuitem/menuitem.component"
@@ -38910,24 +38944,28 @@
38910
38944
  },
38911
38945
  {
38912
38946
  "kind": "javascript-module",
38913
- "path": "components/toggletip/toggletip.component.js",
38947
+ "path": "components/tooltip/tooltip.component.js",
38914
38948
  "declarations": [
38915
38949
  {
38916
38950
  "kind": "class",
38917
- "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.",
38918
- "name": "ToggleTip",
38951
+ "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.",
38952
+ "name": "Tooltip",
38919
38953
  "cssProperties": [
38920
38954
  {
38921
- "description": "The maximum width of the toggletip.",
38922
- "name": "--mdc-toggletip-max-width"
38955
+ "description": "The maximum width of the tooltip.",
38956
+ "name": "--mdc-tooltip-max-width"
38923
38957
  },
38924
38958
  {
38925
- "description": "The text color of the toggletip.",
38926
- "name": "--mdc-toggletip-text-color"
38959
+ "description": "The padding of the tooltip.",
38960
+ "name": "--mdc-tooltip-padding"
38927
38961
  },
38928
38962
  {
38929
- "description": "The text color of the toggletip when the color is contrast.",
38930
- "name": "--mdc-toggletip-text-color-contrast"
38963
+ "description": "The text color of the tooltip.",
38964
+ "name": "--mdc-tooltip-text-color"
38965
+ },
38966
+ {
38967
+ "description": "The text color of the tooltip when the color is contrast.",
38968
+ "name": "--mdc-tooltip-text-color-contrast"
38931
38969
  },
38932
38970
  {
38933
38971
  "description": "radius of the arrow border",
@@ -39018,53 +39056,29 @@
39018
39056
  }
39019
39057
  }
39020
39058
  ],
39021
- "slots": [
39022
- {
39023
- "description": "Default slot for the toggletip content",
39024
- "name": "",
39025
- "inheritedFrom": {
39026
- "name": "Popover",
39027
- "module": "src/components/popover/popover.component.ts"
39028
- }
39029
- }
39030
- ],
39031
39059
  "members": [
39032
39060
  {
39033
39061
  "kind": "field",
39034
- "name": "defaultSlotNodes",
39035
- "type": {
39036
- "text": "Array<Node>"
39037
- },
39038
- "privacy": "private"
39039
- },
39040
- {
39041
- "kind": "field",
39042
- "name": "screenreaderAnnouncerIdentity",
39062
+ "name": "tooltipType",
39043
39063
  "type": {
39044
- "text": "string | undefined"
39064
+ "text": "TooltipType"
39045
39065
  },
39046
- "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.",
39047
- "attribute": "screenreader-announcer-identity",
39066
+ "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.",
39067
+ "default": "'description'",
39068
+ "attribute": "tooltip-type",
39048
39069
  "reflects": true
39049
39070
  },
39050
39071
  {
39051
39072
  "kind": "field",
39052
- "name": "placement",
39073
+ "name": "defaultSlotNodes",
39053
39074
  "type": {
39054
- "text": "PopoverPlacement"
39075
+ "text": "Array<Node>"
39055
39076
  },
39056
- "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**",
39057
- "default": "bottom",
39058
- "attribute": "placement",
39059
- "reflects": true,
39060
- "inheritedFrom": {
39061
- "name": "Popover",
39062
- "module": "components/popover/popover.component.js"
39063
- }
39077
+ "privacy": "private"
39064
39078
  },
39065
39079
  {
39066
39080
  "kind": "method",
39067
- "name": "getToggleTipText",
39081
+ "name": "getTooltipText",
39068
39082
  "privacy": "private",
39069
39083
  "return": {
39070
39084
  "type": {
@@ -39072,6 +39086,37 @@
39072
39086
  }
39073
39087
  }
39074
39088
  },
39089
+ {
39090
+ "kind": "method",
39091
+ "name": "setTooltipType",
39092
+ "privacy": "private",
39093
+ "return": {
39094
+ "type": {
39095
+ "text": "void"
39096
+ }
39097
+ },
39098
+ "parameters": [
39099
+ {
39100
+ "name": "type",
39101
+ "type": {
39102
+ "text": "TooltipType"
39103
+ },
39104
+ "description": "The type to set."
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."
39108
+ },
39109
+ {
39110
+ "kind": "method",
39111
+ "name": "onIdUpdated",
39112
+ "privacy": "private",
39113
+ "return": {
39114
+ "type": {
39115
+ "text": "Promise<void>"
39116
+ }
39117
+ },
39118
+ "description": "Updates the tooltip id if it is empty."
39119
+ },
39075
39120
  {
39076
39121
  "kind": "method",
39077
39122
  "name": "onPlacementUpdated",
@@ -39081,7 +39126,27 @@
39081
39126
  "text": "void"
39082
39127
  }
39083
39128
  },
39084
- "description": "Updates the placement attribute if it is not a valid placement.\nDefault placement for toggle tip is top."
39129
+ "description": "Updates the placement attribute if it is not a valid placement.\nOverriding the default from Popover"
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."
39085
39150
  },
39086
39151
  {
39087
39152
  "kind": "field",
@@ -39689,6 +39754,21 @@
39689
39754
  "module": "components/popover/popover.component.js"
39690
39755
  }
39691
39756
  },
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
+ },
39692
39772
  {
39693
39773
  "kind": "field",
39694
39774
  "name": "color",
@@ -40393,7 +40473,7 @@
40393
40473
  ],
40394
40474
  "events": [
40395
40475
  {
40396
- "description": "(React: onShown) This event is dispatched when the toggletip is shown",
40476
+ "description": "(React: onShown) This event is dispatched when the tooltip is shown",
40397
40477
  "name": "shown",
40398
40478
  "reactName": "onShown",
40399
40479
  "inheritedFrom": {
@@ -40402,7 +40482,7 @@
40402
40482
  }
40403
40483
  },
40404
40484
  {
40405
- "description": "(React: onHidden) This event is dispatched when the toggletip is hidden",
40485
+ "description": "(React: onHidden) This event is dispatched when the tooltip is hidden",
40406
40486
  "name": "hidden",
40407
40487
  "reactName": "onHidden",
40408
40488
  "inheritedFrom": {
@@ -40411,7 +40491,7 @@
40411
40491
  }
40412
40492
  },
40413
40493
  {
40414
- "description": "(React: onCreated) This event is dispatched when the toggletip is created (added to the DOM)",
40494
+ "description": "(React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)",
40415
40495
  "name": "created",
40416
40496
  "reactName": "onCreated",
40417
40497
  "inheritedFrom": {
@@ -40420,7 +40500,7 @@
40420
40500
  }
40421
40501
  },
40422
40502
  {
40423
- "description": "(React: onDestroyed) This event is dispatched when the toggletip is destroyed (removed from the DOM)",
40503
+ "description": "(React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)",
40424
40504
  "name": "destroyed",
40425
40505
  "reactName": "onDestroyed",
40426
40506
  "inheritedFrom": {
@@ -40431,25 +40511,13 @@
40431
40511
  ],
40432
40512
  "attributes": [
40433
40513
  {
40434
- "name": "screenreader-announcer-identity",
40435
- "type": {
40436
- "text": "string | undefined"
40437
- },
40438
- "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.",
40439
- "fieldName": "screenreaderAnnouncerIdentity"
40440
- },
40441
- {
40442
- "name": "placement",
40514
+ "name": "tooltip-type",
40443
40515
  "type": {
40444
- "text": "PopoverPlacement"
40516
+ "text": "TooltipType"
40445
40517
  },
40446
- "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**",
40447
- "default": "bottom",
40448
- "fieldName": "placement",
40449
- "inheritedFrom": {
40450
- "name": "Popover",
40451
- "module": "src/components/popover/popover.component.ts"
40452
- }
40518
+ "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.",
40519
+ "default": "'description'",
40520
+ "fieldName": "tooltipType"
40453
40521
  },
40454
40522
  {
40455
40523
  "name": "should-focus-trap-wrap",
@@ -40503,6 +40571,19 @@
40503
40571
  "module": "src/components/popover/popover.component.ts"
40504
40572
  }
40505
40573
  },
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
+ },
40506
40587
  {
40507
40588
  "name": "color",
40508
40589
  "type": {
@@ -40905,14 +40986,24 @@
40905
40986
  "module": "src/components/popover/popover.component.ts"
40906
40987
  }
40907
40988
  }
40908
- ],
40909
- "superclass": {
40910
- "name": "Popover",
40911
- "module": "/src/components/popover/popover.component"
40912
- },
40913
- "tagName": "mdc-toggletip",
40914
- "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 */",
40915
- "customElement": true
40989
+ ],
40990
+ "superclass": {
40991
+ "name": "Popover",
40992
+ "module": "/src/components/popover/popover.component"
40993
+ },
40994
+ "tagName": "mdc-tooltip",
40995
+ "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 */",
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
+ ]
40916
41007
  }
40917
41008
  ],
40918
41009
  "exports": [
@@ -40920,36 +41011,32 @@
40920
41011
  "kind": "js",
40921
41012
  "name": "default",
40922
41013
  "declaration": {
40923
- "name": "ToggleTip",
40924
- "module": "components/toggletip/toggletip.component.js"
41014
+ "name": "Tooltip",
41015
+ "module": "components/tooltip/tooltip.component.js"
40925
41016
  }
40926
41017
  }
40927
41018
  ]
40928
41019
  },
40929
41020
  {
40930
41021
  "kind": "javascript-module",
40931
- "path": "components/tooltip/tooltip.component.js",
41022
+ "path": "components/toggletip/toggletip.component.js",
40932
41023
  "declarations": [
40933
41024
  {
40934
41025
  "kind": "class",
40935
- "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.",
40936
- "name": "Tooltip",
41026
+ "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.",
41027
+ "name": "ToggleTip",
40937
41028
  "cssProperties": [
40938
41029
  {
40939
- "description": "The maximum width of the tooltip.",
40940
- "name": "--mdc-tooltip-max-width"
40941
- },
40942
- {
40943
- "description": "The padding of the tooltip.",
40944
- "name": "--mdc-tooltip-padding"
41030
+ "description": "The maximum width of the toggletip.",
41031
+ "name": "--mdc-toggletip-max-width"
40945
41032
  },
40946
41033
  {
40947
- "description": "The text color of the tooltip.",
40948
- "name": "--mdc-tooltip-text-color"
41034
+ "description": "The text color of the toggletip.",
41035
+ "name": "--mdc-toggletip-text-color"
40949
41036
  },
40950
41037
  {
40951
- "description": "The text color of the tooltip when the color is contrast.",
40952
- "name": "--mdc-tooltip-text-color-contrast"
41038
+ "description": "The text color of the toggletip when the color is contrast.",
41039
+ "name": "--mdc-toggletip-text-color-contrast"
40953
41040
  },
40954
41041
  {
40955
41042
  "description": "radius of the arrow border",
@@ -41040,18 +41127,17 @@
41040
41127
  }
41041
41128
  }
41042
41129
  ],
41043
- "members": [
41130
+ "slots": [
41044
41131
  {
41045
- "kind": "field",
41046
- "name": "tooltipType",
41047
- "type": {
41048
- "text": "TooltipType"
41049
- },
41050
- "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.",
41051
- "default": "'description'",
41052
- "attribute": "tooltip-type",
41053
- "reflects": true
41054
- },
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
+ "members": [
41055
41141
  {
41056
41142
  "kind": "field",
41057
41143
  "name": "defaultSlotNodes",
@@ -41061,76 +41147,50 @@
41061
41147
  "privacy": "private"
41062
41148
  },
41063
41149
  {
41064
- "kind": "method",
41065
- "name": "getTooltipText",
41066
- "privacy": "private",
41067
- "return": {
41068
- "type": {
41069
- "text": ""
41070
- }
41071
- }
41072
- },
41073
- {
41074
- "kind": "method",
41075
- "name": "setTooltipType",
41076
- "privacy": "private",
41077
- "return": {
41078
- "type": {
41079
- "text": "void"
41080
- }
41150
+ "kind": "field",
41151
+ "name": "screenreaderAnnouncerIdentity",
41152
+ "type": {
41153
+ "text": "string | undefined"
41081
41154
  },
41082
- "parameters": [
41083
- {
41084
- "name": "type",
41085
- "type": {
41086
- "text": "TooltipType"
41087
- },
41088
- "description": "The type to set."
41089
- }
41090
- ],
41091
- "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."
41155
+ "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.",
41156
+ "attribute": "screenreader-announcer-identity",
41157
+ "reflects": true
41092
41158
  },
41093
41159
  {
41094
- "kind": "method",
41095
- "name": "onIdUpdated",
41096
- "privacy": "private",
41097
- "return": {
41098
- "type": {
41099
- "text": "Promise<void>"
41100
- }
41160
+ "kind": "field",
41161
+ "name": "placement",
41162
+ "type": {
41163
+ "text": "PopoverPlacement"
41101
41164
  },
41102
- "description": "Updates the tooltip id if it is empty."
41165
+ "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**",
41166
+ "default": "bottom",
41167
+ "attribute": "placement",
41168
+ "reflects": true,
41169
+ "inheritedFrom": {
41170
+ "name": "Popover",
41171
+ "module": "components/popover/popover.component.js"
41172
+ }
41103
41173
  },
41104
41174
  {
41105
41175
  "kind": "method",
41106
- "name": "onPlacementUpdated",
41176
+ "name": "getToggleTipText",
41107
41177
  "privacy": "private",
41108
41178
  "return": {
41109
41179
  "type": {
41110
- "text": "void"
41180
+ "text": ""
41111
41181
  }
41112
- },
41113
- "description": "Updates the placement attribute if it is not a valid placement.\nOverriding the default from Popover"
41182
+ }
41114
41183
  },
41115
41184
  {
41116
41185
  "kind": "method",
41117
- "name": "onTooltipTypeUpdated",
41186
+ "name": "onPlacementUpdated",
41118
41187
  "privacy": "private",
41119
41188
  "return": {
41120
41189
  "type": {
41121
41190
  "text": "void"
41122
41191
  }
41123
41192
  },
41124
- "parameters": [
41125
- {
41126
- "name": "changedProperties",
41127
- "type": {
41128
- "text": "PropertyValues"
41129
- },
41130
- "description": "The changed properties."
41131
- }
41132
- ],
41133
- "description": "Updates the tooltip type attribute and sets the appropriate aria props on the trigger component."
41193
+ "description": "Updates the placement attribute if it is not a valid placement.\nDefault placement for toggle tip is top."
41134
41194
  },
41135
41195
  {
41136
41196
  "kind": "field",
@@ -41738,21 +41798,6 @@
41738
41798
  "module": "components/popover/popover.component.js"
41739
41799
  }
41740
41800
  },
41741
- {
41742
- "kind": "field",
41743
- "name": "placement",
41744
- "type": {
41745
- "text": "PopoverPlacement"
41746
- },
41747
- "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**",
41748
- "default": "bottom",
41749
- "attribute": "placement",
41750
- "reflects": true,
41751
- "inheritedFrom": {
41752
- "name": "Popover",
41753
- "module": "components/popover/popover.component.js"
41754
- }
41755
- },
41756
41801
  {
41757
41802
  "kind": "field",
41758
41803
  "name": "color",
@@ -42457,7 +42502,7 @@
42457
42502
  ],
42458
42503
  "events": [
42459
42504
  {
42460
- "description": "(React: onShown) This event is dispatched when the tooltip is shown",
42505
+ "description": "(React: onShown) This event is dispatched when the toggletip is shown",
42461
42506
  "name": "shown",
42462
42507
  "reactName": "onShown",
42463
42508
  "inheritedFrom": {
@@ -42466,7 +42511,7 @@
42466
42511
  }
42467
42512
  },
42468
42513
  {
42469
- "description": "(React: onHidden) This event is dispatched when the tooltip is hidden",
42514
+ "description": "(React: onHidden) This event is dispatched when the toggletip is hidden",
42470
42515
  "name": "hidden",
42471
42516
  "reactName": "onHidden",
42472
42517
  "inheritedFrom": {
@@ -42475,7 +42520,7 @@
42475
42520
  }
42476
42521
  },
42477
42522
  {
42478
- "description": "(React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)",
42523
+ "description": "(React: onCreated) This event is dispatched when the toggletip is created (added to the DOM)",
42479
42524
  "name": "created",
42480
42525
  "reactName": "onCreated",
42481
42526
  "inheritedFrom": {
@@ -42484,7 +42529,7 @@
42484
42529
  }
42485
42530
  },
42486
42531
  {
42487
- "description": "(React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)",
42532
+ "description": "(React: onDestroyed) This event is dispatched when the toggletip is destroyed (removed from the DOM)",
42488
42533
  "name": "destroyed",
42489
42534
  "reactName": "onDestroyed",
42490
42535
  "inheritedFrom": {
@@ -42495,13 +42540,25 @@
42495
42540
  ],
42496
42541
  "attributes": [
42497
42542
  {
42498
- "name": "tooltip-type",
42543
+ "name": "screenreader-announcer-identity",
42499
42544
  "type": {
42500
- "text": "TooltipType"
42545
+ "text": "string | undefined"
42501
42546
  },
42502
- "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.",
42503
- "default": "'description'",
42504
- "fieldName": "tooltipType"
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",
42558
+ "inheritedFrom": {
42559
+ "name": "Popover",
42560
+ "module": "src/components/popover/popover.component.ts"
42561
+ }
42505
42562
  },
42506
42563
  {
42507
42564
  "name": "should-focus-trap-wrap",
@@ -42555,19 +42612,6 @@
42555
42612
  "module": "src/components/popover/popover.component.ts"
42556
42613
  }
42557
42614
  },
42558
- {
42559
- "name": "placement",
42560
- "type": {
42561
- "text": "PopoverPlacement"
42562
- },
42563
- "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**",
42564
- "default": "bottom",
42565
- "fieldName": "placement",
42566
- "inheritedFrom": {
42567
- "name": "Popover",
42568
- "module": "src/components/popover/popover.component.ts"
42569
- }
42570
- },
42571
42615
  {
42572
42616
  "name": "color",
42573
42617
  "type": {
@@ -42975,19 +43019,9 @@
42975
43019
  "name": "Popover",
42976
43020
  "module": "/src/components/popover/popover.component"
42977
43021
  },
42978
- "tagName": "mdc-tooltip",
42979
- "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 */",
42980
- "customElement": true,
42981
- "slots": [
42982
- {
42983
- "description": "Default slot for the popover content",
42984
- "name": "",
42985
- "inheritedFrom": {
42986
- "name": "Popover",
42987
- "module": "src/components/popover/popover.component.ts"
42988
- }
42989
- }
42990
- ]
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
42991
43025
  }
42992
43026
  ],
42993
43027
  "exports": [
@@ -42995,8 +43029,8 @@
42995
43029
  "kind": "js",
42996
43030
  "name": "default",
42997
43031
  "declaration": {
42998
- "name": "Tooltip",
42999
- "module": "components/tooltip/tooltip.component.js"
43032
+ "name": "ToggleTip",
43033
+ "module": "components/toggletip/toggletip.component.js"
43000
43034
  }
43001
43035
  }
43002
43036
  ]
@@ -44483,6 +44517,59 @@
44483
44517
  }
44484
44518
  ]
44485
44519
  },
44520
+ {
44521
+ "kind": "javascript-module",
44522
+ "path": "utils/mixins/ControlledMixin.js",
44523
+ "declarations": [
44524
+ {
44525
+ "kind": "mixin",
44526
+ "description": "",
44527
+ "name": "ControlledMixin",
44528
+ "members": [
44529
+ {
44530
+ "kind": "field",
44531
+ "name": "controlled",
44532
+ "type": {
44533
+ "text": "boolean | undefined"
44534
+ },
44535
+ "description": "Indicates whether the component is controlled.\nWhen the component is controlled, it will not handle any interaction itself, e.g. toggling a checkbox.",
44536
+ "default": "undefined",
44537
+ "attribute": "controlled",
44538
+ "reflects": true
44539
+ }
44540
+ ],
44541
+ "attributes": [
44542
+ {
44543
+ "name": "controlled",
44544
+ "type": {
44545
+ "text": "boolean | undefined"
44546
+ },
44547
+ "description": "Indicates whether the component is controlled.\nWhen the component is controlled, it will not handle any interaction itself, e.g. toggling a checkbox.",
44548
+ "default": "undefined",
44549
+ "fieldName": "controlled"
44550
+ }
44551
+ ],
44552
+ "parameters": [
44553
+ {
44554
+ "name": "superClass",
44555
+ "type": {
44556
+ "text": "T"
44557
+ }
44558
+ }
44559
+ ]
44560
+ }
44561
+ ],
44562
+ "exports": [
44563
+ {
44564
+ "kind": "js",
44565
+ "name": "ControlledMixin",
44566
+ "declaration": {
44567
+ "name": "ControlledMixin",
44568
+ "module": "utils/mixins/ControlledMixin.js"
44569
+ }
44570
+ }
44571
+ ]
44572
+ },
44486
44573
  {
44487
44574
  "kind": "javascript-module",
44488
44575
  "path": "utils/mixins/DataAriaLabelMixin.js",