@momentum-design/components 0.111.3 → 0.112.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +2 -1
- package/dist/browser/index.js.map +2 -2
- package/dist/components/option/option.styles.js +2 -1
- package/dist/custom-elements.json +722 -722
- package/dist/react/brandvisual/index.d.ts +1 -1
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +3 -3
- 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",
|
@@ -15933,248 +16146,35 @@
|
|
15933
16146
|
"description": "Color of the inverted link’s child content in the active state.",
|
15934
16147
|
"name": "--mdc-link-inverted-color-active",
|
15935
16148
|
"inheritedFrom": {
|
15936
|
-
"name": "Linksimple",
|
15937
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
15938
|
-
}
|
15939
|
-
},
|
15940
|
-
{
|
15941
|
-
"description": "Color of the inverted link’s child content in the disabled state.",
|
15942
|
-
"name": "--mdc-link-inverted-color-disabled",
|
15943
|
-
"inheritedFrom": {
|
15944
|
-
"name": "Linksimple",
|
15945
|
-
"module": "src/components/linksimple/linksimple.component.ts"
|
15946
|
-
}
|
15947
|
-
},
|
15948
|
-
{
|
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",
|
16142
|
-
"inheritedFrom": {
|
16143
|
-
"name": "IconNameMixin",
|
16144
|
-
"module": "src/utils/mixins/IconNameMixin.ts"
|
16149
|
+
"name": "Linksimple",
|
16150
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
16145
16151
|
}
|
16146
16152
|
},
|
16147
16153
|
{
|
16148
|
-
"
|
16149
|
-
"
|
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",
|
16154
|
+
"description": "Color of the inverted link’s child content in the disabled state.",
|
16155
|
+
"name": "--mdc-link-inverted-color-disabled",
|
16155
16156
|
"inheritedFrom": {
|
16156
|
-
"name": "
|
16157
|
-
"module": "src/
|
16157
|
+
"name": "Linksimple",
|
16158
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
16158
16159
|
}
|
16159
|
-
}
|
16160
|
-
],
|
16161
|
-
"mixins": [
|
16160
|
+
},
|
16162
16161
|
{
|
16163
|
-
"
|
16164
|
-
"
|
16162
|
+
"description": "Color of the inverted link’s child content in the hover state.",
|
16163
|
+
"name": "--mdc-link-inverted-color-hover",
|
16164
|
+
"inheritedFrom": {
|
16165
|
+
"name": "Linksimple",
|
16166
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
16167
|
+
}
|
16165
16168
|
},
|
16166
16169
|
{
|
16167
|
-
"
|
16168
|
-
"
|
16170
|
+
"description": "Color of the inverted link’s child content in the normal state.",
|
16171
|
+
"name": "--mdc-link-inverted-color-normal",
|
16172
|
+
"inheritedFrom": {
|
16173
|
+
"name": "Linksimple",
|
16174
|
+
"module": "src/components/linksimple/linksimple.component.ts"
|
16175
|
+
}
|
16169
16176
|
}
|
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
|
16177
|
+
]
|
16178
16178
|
}
|
16179
16179
|
],
|
16180
16180
|
"exports": [
|
@@ -16182,8 +16182,8 @@
|
|
16182
16182
|
"kind": "js",
|
16183
16183
|
"name": "default",
|
16184
16184
|
"declaration": {
|
16185
|
-
"name": "
|
16186
|
-
"module": "components/
|
16185
|
+
"name": "Link",
|
16186
|
+
"module": "components/link/link.component.js"
|
16187
16187
|
}
|
16188
16188
|
}
|
16189
16189
|
]
|
@@ -30893,274 +30893,95 @@
|
|
30893
30893
|
{
|
30894
30894
|
"name": "required",
|
30895
30895
|
"type": {
|
30896
|
-
"text": "boolean"
|
30897
|
-
},
|
30898
|
-
"default": "false",
|
30899
|
-
"description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
|
30900
|
-
"fieldName": "required",
|
30901
|
-
"inheritedFrom": {
|
30902
|
-
"name": "FormfieldWrapper",
|
30903
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
30904
|
-
}
|
30905
|
-
},
|
30906
|
-
{
|
30907
|
-
"name": "help-text-type",
|
30908
|
-
"type": {
|
30909
|
-
"text": "ValidationType"
|
30910
|
-
},
|
30911
|
-
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
30912
|
-
"fieldName": "helpTextType",
|
30913
|
-
"inheritedFrom": {
|
30914
|
-
"name": "FormfieldWrapper",
|
30915
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
30916
|
-
}
|
30917
|
-
},
|
30918
|
-
{
|
30919
|
-
"name": "help-text",
|
30920
|
-
"type": {
|
30921
|
-
"text": "string | undefined"
|
30922
|
-
},
|
30923
|
-
"description": "The help text that is displayed below the input field.",
|
30924
|
-
"fieldName": "helpText",
|
30925
|
-
"inheritedFrom": {
|
30926
|
-
"name": "FormfieldWrapper",
|
30927
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
30928
|
-
}
|
30929
|
-
},
|
30930
|
-
{
|
30931
|
-
"name": "toggletip-text",
|
30932
|
-
"type": {
|
30933
|
-
"text": "string | undefined"
|
30934
|
-
},
|
30935
|
-
"description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
|
30936
|
-
"fieldName": "toggletipText",
|
30937
|
-
"inheritedFrom": {
|
30938
|
-
"name": "FormfieldWrapper",
|
30939
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
30940
|
-
}
|
30941
|
-
},
|
30942
|
-
{
|
30943
|
-
"name": "toggletip-placement",
|
30944
|
-
"type": {
|
30945
|
-
"text": "PopoverPlacement"
|
30946
|
-
},
|
30947
|
-
"description": "The placement of the toggletip that is displayed when the info icon is hovered.",
|
30948
|
-
"default": "'top'",
|
30949
|
-
"fieldName": "toggletipPlacement",
|
30950
|
-
"inheritedFrom": {
|
30951
|
-
"name": "FormfieldWrapper",
|
30952
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
30953
|
-
}
|
30954
|
-
},
|
30955
|
-
{
|
30956
|
-
"name": "info-icon-aria-label",
|
30957
|
-
"type": {
|
30958
|
-
"text": "string | undefined"
|
30959
|
-
},
|
30960
|
-
"description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
|
30961
|
-
"fieldName": "infoIconAriaLabel",
|
30962
|
-
"inheritedFrom": {
|
30963
|
-
"name": "FormfieldWrapper",
|
30964
|
-
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
30965
|
-
}
|
30966
|
-
}
|
30967
|
-
],
|
30968
|
-
"superclass": {
|
30969
|
-
"name": "FormfieldGroup",
|
30970
|
-
"module": "/src/components/formfieldgroup"
|
30971
|
-
},
|
30972
|
-
"tagName": "mdc-radiogroup",
|
30973
|
-
"jsDoc": "/**\n * `mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\n * It can have a header text and a description. It enables users to select a single option from a set of options.\n * It is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.\n *\n * @tagname mdc-radiogroup\n *\n * @cssproperty --mdc-radiogroup-description-text-normal - color of the description text\n *\n */",
|
30974
|
-
"customElement": true,
|
30975
|
-
"slots": [
|
30976
|
-
{
|
30977
|
-
"description": "This is a default slot for checkbox or toggle components.",
|
30978
|
-
"name": "default",
|
30979
|
-
"inheritedFrom": {
|
30980
|
-
"name": "FormfieldGroup",
|
30981
|
-
"module": "src/components/formfieldgroup/formfieldgroup.component.ts"
|
30982
|
-
}
|
30983
|
-
}
|
30984
|
-
]
|
30985
|
-
}
|
30986
|
-
],
|
30987
|
-
"exports": [
|
30988
|
-
{
|
30989
|
-
"kind": "js",
|
30990
|
-
"name": "default",
|
30991
|
-
"declaration": {
|
30992
|
-
"name": "RadioGroup",
|
30993
|
-
"module": "components/radiogroup/radiogroup.component.js"
|
30994
|
-
}
|
30995
|
-
}
|
30996
|
-
]
|
30997
|
-
},
|
30998
|
-
{
|
30999
|
-
"kind": "javascript-module",
|
31000
|
-
"path": "components/screenreaderannouncer/screenreaderannouncer.component.js",
|
31001
|
-
"declarations": [
|
31002
|
-
{
|
31003
|
-
"kind": "class",
|
31004
|
-
"description": "`mdc-screenreaderannouncer` can be used to announce messages with the screen reader.\n\nTo make an announcement set `announcement` attribute on the `mdc-screenreaderannouncer` element.\n\n**Internal logic**\n\nWhen the screenreader announcer is connected to the DOM, if the `identity` attribute is not\nprovided, it is set to `mdc-screenreaderannouncer-identity` and a `<div>` element with this id is created\nin the DOM. If the `identity` attribute is provided, the identity element is used and no new element\nis created in the DOM.\n\nWhen the `announcement` attribute is set, the screenreader announcer will create a `<div>` element with\n`aria-live` attribute set to the value of `data-aria-live` attribute and append it to the `identity` element.\nAfter delay of `delay` milliseconds, a <p> element with the announcement text is appended to the `<div>` element.\n\nThe announcement `<div>` element is removed from the DOM after `timeout` milliseconds.\n\nWhen the screen announcer component is disconnected from the DOM, all the timeouts are cleared and\nall the announcement elements added are removed from the DOM and timeouts cleared.\n\n**Note**\n1. The default delay of 150 miliseconds is used as we dynamically generate the\naria-live region in the DOM and add the announcement text to it.\n3. If no `identity` is provided, all the screen reader components will create and use only one\n`<div>` element with id `mdc-screenreaderannouncer-identity` in the DOM.\n\nReference: https://patrickhlauke.github.io/aria/tests/live-regions/",
|
31005
|
-
"name": "ScreenreaderAnnouncer",
|
31006
|
-
"members": [
|
31007
|
-
{
|
31008
|
-
"kind": "field",
|
31009
|
-
"name": "announcement",
|
31010
|
-
"type": {
|
31011
|
-
"text": "string"
|
31012
|
-
},
|
31013
|
-
"default": "''",
|
31014
|
-
"description": "The announcement attribute is a string that is used to announce messages to the screen reader.\nThe announcement is made when the announcement attribute is set to a non-empty string.",
|
31015
|
-
"attribute": "announcement",
|
31016
|
-
"reflects": true
|
31017
|
-
},
|
31018
|
-
{
|
31019
|
-
"kind": "field",
|
31020
|
-
"name": "identity",
|
31021
|
-
"type": {
|
31022
|
-
"text": "string"
|
31023
|
-
},
|
31024
|
-
"default": "''",
|
31025
|
-
"description": "The id of the element in the light dom, to which announcement elements will be appended.\n\nIf id is not provided, it will be set to `mdc-screenreaderannouncer-identity` and\na div element with this id will be created in the light dom.",
|
31026
|
-
"attribute": "identity",
|
31027
|
-
"reflects": true
|
31028
|
-
},
|
31029
|
-
{
|
31030
|
-
"kind": "field",
|
31031
|
-
"name": "dataAriaLive",
|
31032
|
-
"type": {
|
31033
|
-
"text": "AriaLive"
|
31034
|
-
},
|
31035
|
-
"description": "Aria live value for announcement.",
|
31036
|
-
"default": "'polite'",
|
31037
|
-
"attribute": "data-aria-live",
|
31038
|
-
"reflects": true
|
31039
|
-
},
|
31040
|
-
{
|
31041
|
-
"kind": "field",
|
31042
|
-
"name": "delay",
|
31043
|
-
"type": {
|
31044
|
-
"text": "number"
|
31045
|
-
},
|
31046
|
-
"description": "Milliseconds to wait before adding the announcement to the identiy region in\nDOM, which will announce the message to the screen reader.",
|
31047
|
-
"default": "150",
|
31048
|
-
"attribute": "delay",
|
31049
|
-
"reflects": true
|
31050
|
-
},
|
31051
|
-
{
|
31052
|
-
"kind": "field",
|
31053
|
-
"name": "timeout",
|
31054
|
-
"type": {
|
31055
|
-
"text": "number"
|
31056
|
-
},
|
31057
|
-
"description": "Milliseconds to wait after which the announcement element will be removed from\nidentity region in DOM, causing the screen reader to not announcing the message.",
|
31058
|
-
"default": "20_000",
|
31059
|
-
"attribute": "timeout",
|
31060
|
-
"reflects": true
|
31061
|
-
},
|
31062
|
-
{
|
31063
|
-
"kind": "method",
|
31064
|
-
"name": "announce",
|
31065
|
-
"parameters": [
|
31066
|
-
{
|
31067
|
-
"name": "announcement",
|
31068
|
-
"type": {
|
31069
|
-
"text": "string"
|
31070
|
-
},
|
31071
|
-
"description": "The announcement to be made."
|
31072
|
-
},
|
31073
|
-
{
|
31074
|
-
"name": "delay",
|
31075
|
-
"type": {
|
31076
|
-
"text": "number"
|
31077
|
-
},
|
31078
|
-
"description": "The delay in milliseconds before announcing the message."
|
31079
|
-
},
|
31080
|
-
{
|
31081
|
-
"name": "timeout",
|
31082
|
-
"type": {
|
31083
|
-
"text": "number"
|
31084
|
-
},
|
31085
|
-
"description": "The timeout in milliseconds before removing the announcement."
|
31086
|
-
},
|
31087
|
-
{
|
31088
|
-
"name": "ariaLive",
|
31089
|
-
"type": {
|
31090
|
-
"text": "AriaLive"
|
31091
|
-
},
|
31092
|
-
"description": "The aria live value for the announcement."
|
31093
|
-
}
|
31094
|
-
],
|
31095
|
-
"description": "Announces the given announcement to the screen reader.\n\nA div element with aria-live attribute set to the given ariaLive value is created\nand a p element with the announcement text is appended to it.\n\nThe div element is appended to the element in the DOM identified with id as\nidentity attribute."
|
31096
|
-
},
|
31097
|
-
{
|
31098
|
-
"kind": "method",
|
31099
|
-
"name": "clearTimeOutsAndAnnouncements",
|
31100
|
-
"privacy": "private",
|
31101
|
-
"description": "Clears all timeouts and removes all announcements from the screen reader."
|
30896
|
+
"text": "boolean"
|
30897
|
+
},
|
30898
|
+
"default": "false",
|
30899
|
+
"description": "The required attribute to indicate that the input field is required.\nIt is used to append a required indicator (*) to the label.",
|
30900
|
+
"fieldName": "required",
|
30901
|
+
"inheritedFrom": {
|
30902
|
+
"name": "FormfieldWrapper",
|
30903
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
30904
|
+
}
|
31102
30905
|
},
|
31103
30906
|
{
|
31104
|
-
"
|
31105
|
-
"name": "createAnnouncementAriaLiveRegion",
|
31106
|
-
"privacy": "private",
|
31107
|
-
"description": "Creates a div element with id as identity attribute in the DOM.\n\nIf the identity attribute is not provided, it is set internally to\n`mdc-screenreaderannouncer-identity`."
|
31108
|
-
}
|
31109
|
-
],
|
31110
|
-
"attributes": [
|
31111
|
-
{
|
31112
|
-
"name": "announcement",
|
30907
|
+
"name": "help-text-type",
|
31113
30908
|
"type": {
|
31114
|
-
"text": "
|
30909
|
+
"text": "ValidationType"
|
31115
30910
|
},
|
31116
|
-
"
|
31117
|
-
"
|
31118
|
-
"
|
30911
|
+
"description": "The type of help text. It can be 'default', 'error', 'warning', 'success', 'priority'.",
|
30912
|
+
"fieldName": "helpTextType",
|
30913
|
+
"inheritedFrom": {
|
30914
|
+
"name": "FormfieldWrapper",
|
30915
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
30916
|
+
}
|
31119
30917
|
},
|
31120
30918
|
{
|
31121
|
-
"name": "
|
30919
|
+
"name": "help-text",
|
31122
30920
|
"type": {
|
31123
|
-
"text": "string"
|
30921
|
+
"text": "string | undefined"
|
31124
30922
|
},
|
31125
|
-
"
|
31126
|
-
"
|
31127
|
-
"
|
30923
|
+
"description": "The help text that is displayed below the input field.",
|
30924
|
+
"fieldName": "helpText",
|
30925
|
+
"inheritedFrom": {
|
30926
|
+
"name": "FormfieldWrapper",
|
30927
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
30928
|
+
}
|
31128
30929
|
},
|
31129
30930
|
{
|
31130
|
-
"name": "
|
30931
|
+
"name": "toggletip-text",
|
31131
30932
|
"type": {
|
31132
|
-
"text": "
|
30933
|
+
"text": "string | undefined"
|
31133
30934
|
},
|
31134
|
-
"description": "
|
31135
|
-
"
|
31136
|
-
"
|
30935
|
+
"description": "The toggletip text that is displayed when the label is hovered.\nIt is used to provide additional information about the label.",
|
30936
|
+
"fieldName": "toggletipText",
|
30937
|
+
"inheritedFrom": {
|
30938
|
+
"name": "FormfieldWrapper",
|
30939
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
30940
|
+
}
|
31137
30941
|
},
|
31138
30942
|
{
|
31139
|
-
"name": "
|
30943
|
+
"name": "toggletip-placement",
|
31140
30944
|
"type": {
|
31141
|
-
"text": "
|
30945
|
+
"text": "PopoverPlacement"
|
31142
30946
|
},
|
31143
|
-
"description": "
|
31144
|
-
"default": "
|
31145
|
-
"fieldName": "
|
30947
|
+
"description": "The placement of the toggletip that is displayed when the info icon is hovered.",
|
30948
|
+
"default": "'top'",
|
30949
|
+
"fieldName": "toggletipPlacement",
|
30950
|
+
"inheritedFrom": {
|
30951
|
+
"name": "FormfieldWrapper",
|
30952
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
30953
|
+
}
|
31146
30954
|
},
|
31147
30955
|
{
|
31148
|
-
"name": "
|
30956
|
+
"name": "info-icon-aria-label",
|
31149
30957
|
"type": {
|
31150
|
-
"text": "
|
30958
|
+
"text": "string | undefined"
|
31151
30959
|
},
|
31152
|
-
"description": "
|
31153
|
-
"
|
31154
|
-
"
|
30960
|
+
"description": "Aria label for the info icon that is displayed next to the label when `toggletipText` is set.\nThis is used for accessibility purposes to provide a description of the icon.",
|
30961
|
+
"fieldName": "infoIconAriaLabel",
|
30962
|
+
"inheritedFrom": {
|
30963
|
+
"name": "FormfieldWrapper",
|
30964
|
+
"module": "src/components/formfieldwrapper/formfieldwrapper.component.ts"
|
30965
|
+
}
|
31155
30966
|
}
|
31156
30967
|
],
|
31157
30968
|
"superclass": {
|
31158
|
-
"name": "
|
31159
|
-
"module": "/src/
|
30969
|
+
"name": "FormfieldGroup",
|
30970
|
+
"module": "/src/components/formfieldgroup"
|
31160
30971
|
},
|
31161
|
-
"tagName": "mdc-
|
31162
|
-
"jsDoc": "/**\n * `mdc-
|
31163
|
-
"customElement": true
|
30972
|
+
"tagName": "mdc-radiogroup",
|
30973
|
+
"jsDoc": "/**\n * `mdc-radiogroup` - This is the wrapper component for radio buttons which are grouped together.\n * It can have a header text and a description. It enables users to select a single option from a set of options.\n * It is often used in forms, settings, and selection in lists. It automatically group the radio buttons inside it.\n *\n * @tagname mdc-radiogroup\n *\n * @cssproperty --mdc-radiogroup-description-text-normal - color of the description text\n *\n */",
|
30974
|
+
"customElement": true,
|
30975
|
+
"slots": [
|
30976
|
+
{
|
30977
|
+
"description": "This is a default slot for checkbox or toggle components.",
|
30978
|
+
"name": "default",
|
30979
|
+
"inheritedFrom": {
|
30980
|
+
"name": "FormfieldGroup",
|
30981
|
+
"module": "src/components/formfieldgroup/formfieldgroup.component.ts"
|
30982
|
+
}
|
30983
|
+
}
|
30984
|
+
]
|
31164
30985
|
}
|
31165
30986
|
],
|
31166
30987
|
"exports": [
|
@@ -31168,8 +30989,8 @@
|
|
31168
30989
|
"kind": "js",
|
31169
30990
|
"name": "default",
|
31170
30991
|
"declaration": {
|
31171
|
-
"name": "
|
31172
|
-
"module": "components/
|
30992
|
+
"name": "RadioGroup",
|
30993
|
+
"module": "components/radiogroup/radiogroup.component.js"
|
31173
30994
|
}
|
31174
30995
|
}
|
31175
30996
|
]
|
@@ -32346,62 +32167,241 @@
|
|
32346
32167
|
}
|
32347
32168
|
},
|
32348
32169
|
{
|
32349
|
-
"description": "Background color for the input field when hovered",
|
32350
|
-
"name": "--mdc-input-hover-background-color",
|
32351
|
-
"inheritedFrom": {
|
32352
|
-
"name": "Input",
|
32353
|
-
"module": "src/components/input/input.component.ts"
|
32354
|
-
}
|
32170
|
+
"description": "Background color for the input field when hovered",
|
32171
|
+
"name": "--mdc-input-hover-background-color",
|
32172
|
+
"inheritedFrom": {
|
32173
|
+
"name": "Input",
|
32174
|
+
"module": "src/components/input/input.component.ts"
|
32175
|
+
}
|
32176
|
+
},
|
32177
|
+
{
|
32178
|
+
"description": "Background color for the input field when focused",
|
32179
|
+
"name": "--mdc-input-focused-background-color",
|
32180
|
+
"inheritedFrom": {
|
32181
|
+
"name": "Input",
|
32182
|
+
"module": "src/components/input/input.component.ts"
|
32183
|
+
}
|
32184
|
+
},
|
32185
|
+
{
|
32186
|
+
"description": "Border color for the input container when focused",
|
32187
|
+
"name": "--mdc-input-focused-border-color",
|
32188
|
+
"inheritedFrom": {
|
32189
|
+
"name": "Input",
|
32190
|
+
"module": "src/components/input/input.component.ts"
|
32191
|
+
}
|
32192
|
+
},
|
32193
|
+
{
|
32194
|
+
"description": "Border color for the input container when error",
|
32195
|
+
"name": "--mdc-input-error-border-color",
|
32196
|
+
"inheritedFrom": {
|
32197
|
+
"name": "Input",
|
32198
|
+
"module": "src/components/input/input.component.ts"
|
32199
|
+
}
|
32200
|
+
},
|
32201
|
+
{
|
32202
|
+
"description": "Border color for the input container when warning",
|
32203
|
+
"name": "--mdc-input-warning-border-color",
|
32204
|
+
"inheritedFrom": {
|
32205
|
+
"name": "Input",
|
32206
|
+
"module": "src/components/input/input.component.ts"
|
32207
|
+
}
|
32208
|
+
},
|
32209
|
+
{
|
32210
|
+
"description": "Border color for the input container when success",
|
32211
|
+
"name": "--mdc-input-success-border-color",
|
32212
|
+
"inheritedFrom": {
|
32213
|
+
"name": "Input",
|
32214
|
+
"module": "src/components/input/input.component.ts"
|
32215
|
+
}
|
32216
|
+
},
|
32217
|
+
{
|
32218
|
+
"description": "Border color for the input container when primary",
|
32219
|
+
"name": "--mdc-input-primary-border-color",
|
32220
|
+
"inheritedFrom": {
|
32221
|
+
"name": "Input",
|
32222
|
+
"module": "src/components/input/input.component.ts"
|
32223
|
+
}
|
32224
|
+
}
|
32225
|
+
]
|
32226
|
+
}
|
32227
|
+
],
|
32228
|
+
"exports": [
|
32229
|
+
{
|
32230
|
+
"kind": "js",
|
32231
|
+
"name": "default",
|
32232
|
+
"declaration": {
|
32233
|
+
"name": "Searchfield",
|
32234
|
+
"module": "components/searchfield/searchfield.component.js"
|
32235
|
+
}
|
32236
|
+
}
|
32237
|
+
]
|
32238
|
+
},
|
32239
|
+
{
|
32240
|
+
"kind": "javascript-module",
|
32241
|
+
"path": "components/screenreaderannouncer/screenreaderannouncer.component.js",
|
32242
|
+
"declarations": [
|
32243
|
+
{
|
32244
|
+
"kind": "class",
|
32245
|
+
"description": "`mdc-screenreaderannouncer` can be used to announce messages with the screen reader.\n\nTo make an announcement set `announcement` attribute on the `mdc-screenreaderannouncer` element.\n\n**Internal logic**\n\nWhen the screenreader announcer is connected to the DOM, if the `identity` attribute is not\nprovided, it is set to `mdc-screenreaderannouncer-identity` and a `<div>` element with this id is created\nin the DOM. If the `identity` attribute is provided, the identity element is used and no new element\nis created in the DOM.\n\nWhen the `announcement` attribute is set, the screenreader announcer will create a `<div>` element with\n`aria-live` attribute set to the value of `data-aria-live` attribute and append it to the `identity` element.\nAfter delay of `delay` milliseconds, a <p> element with the announcement text is appended to the `<div>` element.\n\nThe announcement `<div>` element is removed from the DOM after `timeout` milliseconds.\n\nWhen the screen announcer component is disconnected from the DOM, all the timeouts are cleared and\nall the announcement elements added are removed from the DOM and timeouts cleared.\n\n**Note**\n1. The default delay of 150 miliseconds is used as we dynamically generate the\naria-live region in the DOM and add the announcement text to it.\n3. If no `identity` is provided, all the screen reader components will create and use only one\n`<div>` element with id `mdc-screenreaderannouncer-identity` in the DOM.\n\nReference: https://patrickhlauke.github.io/aria/tests/live-regions/",
|
32246
|
+
"name": "ScreenreaderAnnouncer",
|
32247
|
+
"members": [
|
32248
|
+
{
|
32249
|
+
"kind": "field",
|
32250
|
+
"name": "announcement",
|
32251
|
+
"type": {
|
32252
|
+
"text": "string"
|
32253
|
+
},
|
32254
|
+
"default": "''",
|
32255
|
+
"description": "The announcement attribute is a string that is used to announce messages to the screen reader.\nThe announcement is made when the announcement attribute is set to a non-empty string.",
|
32256
|
+
"attribute": "announcement",
|
32257
|
+
"reflects": true
|
32258
|
+
},
|
32259
|
+
{
|
32260
|
+
"kind": "field",
|
32261
|
+
"name": "identity",
|
32262
|
+
"type": {
|
32263
|
+
"text": "string"
|
32264
|
+
},
|
32265
|
+
"default": "''",
|
32266
|
+
"description": "The id of the element in the light dom, to which announcement elements will be appended.\n\nIf id is not provided, it will be set to `mdc-screenreaderannouncer-identity` and\na div element with this id will be created in the light dom.",
|
32267
|
+
"attribute": "identity",
|
32268
|
+
"reflects": true
|
32269
|
+
},
|
32270
|
+
{
|
32271
|
+
"kind": "field",
|
32272
|
+
"name": "dataAriaLive",
|
32273
|
+
"type": {
|
32274
|
+
"text": "AriaLive"
|
32275
|
+
},
|
32276
|
+
"description": "Aria live value for announcement.",
|
32277
|
+
"default": "'polite'",
|
32278
|
+
"attribute": "data-aria-live",
|
32279
|
+
"reflects": true
|
32280
|
+
},
|
32281
|
+
{
|
32282
|
+
"kind": "field",
|
32283
|
+
"name": "delay",
|
32284
|
+
"type": {
|
32285
|
+
"text": "number"
|
32286
|
+
},
|
32287
|
+
"description": "Milliseconds to wait before adding the announcement to the identiy region in\nDOM, which will announce the message to the screen reader.",
|
32288
|
+
"default": "150",
|
32289
|
+
"attribute": "delay",
|
32290
|
+
"reflects": true
|
32291
|
+
},
|
32292
|
+
{
|
32293
|
+
"kind": "field",
|
32294
|
+
"name": "timeout",
|
32295
|
+
"type": {
|
32296
|
+
"text": "number"
|
32297
|
+
},
|
32298
|
+
"description": "Milliseconds to wait after which the announcement element will be removed from\nidentity region in DOM, causing the screen reader to not announcing the message.",
|
32299
|
+
"default": "20_000",
|
32300
|
+
"attribute": "timeout",
|
32301
|
+
"reflects": true
|
32302
|
+
},
|
32303
|
+
{
|
32304
|
+
"kind": "method",
|
32305
|
+
"name": "announce",
|
32306
|
+
"parameters": [
|
32307
|
+
{
|
32308
|
+
"name": "announcement",
|
32309
|
+
"type": {
|
32310
|
+
"text": "string"
|
32311
|
+
},
|
32312
|
+
"description": "The announcement to be made."
|
32313
|
+
},
|
32314
|
+
{
|
32315
|
+
"name": "delay",
|
32316
|
+
"type": {
|
32317
|
+
"text": "number"
|
32318
|
+
},
|
32319
|
+
"description": "The delay in milliseconds before announcing the message."
|
32320
|
+
},
|
32321
|
+
{
|
32322
|
+
"name": "timeout",
|
32323
|
+
"type": {
|
32324
|
+
"text": "number"
|
32325
|
+
},
|
32326
|
+
"description": "The timeout in milliseconds before removing the announcement."
|
32327
|
+
},
|
32328
|
+
{
|
32329
|
+
"name": "ariaLive",
|
32330
|
+
"type": {
|
32331
|
+
"text": "AriaLive"
|
32332
|
+
},
|
32333
|
+
"description": "The aria live value for the announcement."
|
32334
|
+
}
|
32335
|
+
],
|
32336
|
+
"description": "Announces the given announcement to the screen reader.\n\nA div element with aria-live attribute set to the given ariaLive value is created\nand a p element with the announcement text is appended to it.\n\nThe div element is appended to the element in the DOM identified with id as\nidentity attribute."
|
32337
|
+
},
|
32338
|
+
{
|
32339
|
+
"kind": "method",
|
32340
|
+
"name": "clearTimeOutsAndAnnouncements",
|
32341
|
+
"privacy": "private",
|
32342
|
+
"description": "Clears all timeouts and removes all announcements from the screen reader."
|
32355
32343
|
},
|
32356
32344
|
{
|
32357
|
-
"
|
32358
|
-
"name": "
|
32359
|
-
"
|
32360
|
-
|
32361
|
-
|
32362
|
-
|
32363
|
-
|
32345
|
+
"kind": "method",
|
32346
|
+
"name": "createAnnouncementAriaLiveRegion",
|
32347
|
+
"privacy": "private",
|
32348
|
+
"description": "Creates a div element with id as identity attribute in the DOM.\n\nIf the identity attribute is not provided, it is set internally to\n`mdc-screenreaderannouncer-identity`."
|
32349
|
+
}
|
32350
|
+
],
|
32351
|
+
"attributes": [
|
32364
32352
|
{
|
32365
|
-
"
|
32366
|
-
"
|
32367
|
-
|
32368
|
-
|
32369
|
-
|
32370
|
-
|
32353
|
+
"name": "announcement",
|
32354
|
+
"type": {
|
32355
|
+
"text": "string"
|
32356
|
+
},
|
32357
|
+
"default": "''",
|
32358
|
+
"description": "The announcement attribute is a string that is used to announce messages to the screen reader.\nThe announcement is made when the announcement attribute is set to a non-empty string.",
|
32359
|
+
"fieldName": "announcement"
|
32371
32360
|
},
|
32372
32361
|
{
|
32373
|
-
"
|
32374
|
-
"
|
32375
|
-
|
32376
|
-
|
32377
|
-
|
32378
|
-
|
32362
|
+
"name": "identity",
|
32363
|
+
"type": {
|
32364
|
+
"text": "string"
|
32365
|
+
},
|
32366
|
+
"default": "''",
|
32367
|
+
"description": "The id of the element in the light dom, to which announcement elements will be appended.\n\nIf id is not provided, it will be set to `mdc-screenreaderannouncer-identity` and\na div element with this id will be created in the light dom.",
|
32368
|
+
"fieldName": "identity"
|
32379
32369
|
},
|
32380
32370
|
{
|
32381
|
-
"
|
32382
|
-
"
|
32383
|
-
|
32384
|
-
|
32385
|
-
|
32386
|
-
|
32371
|
+
"name": "data-aria-live",
|
32372
|
+
"type": {
|
32373
|
+
"text": "AriaLive"
|
32374
|
+
},
|
32375
|
+
"description": "Aria live value for announcement.",
|
32376
|
+
"default": "'polite'",
|
32377
|
+
"fieldName": "dataAriaLive"
|
32387
32378
|
},
|
32388
32379
|
{
|
32389
|
-
"
|
32390
|
-
"
|
32391
|
-
|
32392
|
-
|
32393
|
-
|
32394
|
-
|
32380
|
+
"name": "delay",
|
32381
|
+
"type": {
|
32382
|
+
"text": "number"
|
32383
|
+
},
|
32384
|
+
"description": "Milliseconds to wait before adding the announcement to the identiy region in\nDOM, which will announce the message to the screen reader.",
|
32385
|
+
"default": "150",
|
32386
|
+
"fieldName": "delay"
|
32395
32387
|
},
|
32396
32388
|
{
|
32397
|
-
"
|
32398
|
-
"
|
32399
|
-
|
32400
|
-
|
32401
|
-
|
32402
|
-
|
32389
|
+
"name": "timeout",
|
32390
|
+
"type": {
|
32391
|
+
"text": "number"
|
32392
|
+
},
|
32393
|
+
"description": "Milliseconds to wait after which the announcement element will be removed from\nidentity region in DOM, causing the screen reader to not announcing the message.",
|
32394
|
+
"default": "20_000",
|
32395
|
+
"fieldName": "timeout"
|
32403
32396
|
}
|
32404
|
-
]
|
32397
|
+
],
|
32398
|
+
"superclass": {
|
32399
|
+
"name": "Component",
|
32400
|
+
"module": "/src/models"
|
32401
|
+
},
|
32402
|
+
"tagName": "mdc-screenreaderannouncer",
|
32403
|
+
"jsDoc": "/**\n * `mdc-screenreaderannouncer` can be used to announce messages with the screen reader.\n *\n * To make an announcement set `announcement` attribute on the `mdc-screenreaderannouncer` element.\n *\n * **Internal logic**\n *\n * When the screenreader announcer is connected to the DOM, if the `identity` attribute is not\n * provided, it is set to `mdc-screenreaderannouncer-identity` and a `<div>` element with this id is created\n * in the DOM. If the `identity` attribute is provided, the identity element is used and no new element\n * is created in the DOM.\n *\n * When the `announcement` attribute is set, the screenreader announcer will create a `<div>` element with\n * `aria-live` attribute set to the value of `data-aria-live` attribute and append it to the `identity` element.\n * After delay of `delay` milliseconds, a <p> element with the announcement text is appended to the `<div>` element.\n *\n * The announcement `<div>` element is removed from the DOM after `timeout` milliseconds.\n *\n * When the screen announcer component is disconnected from the DOM, all the timeouts are cleared and\n * all the announcement elements added are removed from the DOM and timeouts cleared.\n *\n * **Note**\n * 1. The default delay of 150 miliseconds is used as we dynamically generate the\n * aria-live region in the DOM and add the announcement text to it.\n * 3. If no `identity` is provided, all the screen reader components will create and use only one\n * `<div>` element with id `mdc-screenreaderannouncer-identity` in the DOM.\n *\n * Reference: https://patrickhlauke.github.io/aria/tests/live-regions/\n *\n * @tagname mdc-screenreaderannouncer\n */",
|
32404
|
+
"customElement": true
|
32405
32405
|
}
|
32406
32406
|
],
|
32407
32407
|
"exports": [
|
@@ -32409,8 +32409,8 @@
|
|
32409
32409
|
"kind": "js",
|
32410
32410
|
"name": "default",
|
32411
32411
|
"declaration": {
|
32412
|
-
"name": "
|
32413
|
-
"module": "components/
|
32412
|
+
"name": "ScreenreaderAnnouncer",
|
32413
|
+
"module": "components/screenreaderannouncer/screenreaderannouncer.component.js"
|
32414
32414
|
}
|
32415
32415
|
}
|
32416
32416
|
]
|
@@ -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,18 +39052,17 @@
|
|
39056
39052
|
}
|
39057
39053
|
}
|
39058
39054
|
],
|
39059
|
-
"
|
39055
|
+
"slots": [
|
39060
39056
|
{
|
39061
|
-
"
|
39062
|
-
"name": "
|
39063
|
-
"
|
39064
|
-
"
|
39065
|
-
|
39066
|
-
|
39067
|
-
|
39068
|
-
|
39069
|
-
|
39070
|
-
},
|
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
|
+
],
|
39065
|
+
"members": [
|
39071
39066
|
{
|
39072
39067
|
"kind": "field",
|
39073
39068
|
"name": "defaultSlotNodes",
|
@@ -39077,76 +39072,50 @@
|
|
39077
39072
|
"privacy": "private"
|
39078
39073
|
},
|
39079
39074
|
{
|
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
|
-
}
|
39075
|
+
"kind": "field",
|
39076
|
+
"name": "screenreaderAnnouncerIdentity",
|
39077
|
+
"type": {
|
39078
|
+
"text": "string | undefined"
|
39097
39079
|
},
|
39098
|
-
"
|
39099
|
-
|
39100
|
-
|
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."
|
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
|
39108
39083
|
},
|
39109
39084
|
{
|
39110
|
-
"kind": "
|
39111
|
-
"name": "
|
39112
|
-
"
|
39113
|
-
|
39114
|
-
"type": {
|
39115
|
-
"text": "Promise<void>"
|
39116
|
-
}
|
39085
|
+
"kind": "field",
|
39086
|
+
"name": "placement",
|
39087
|
+
"type": {
|
39088
|
+
"text": "PopoverPlacement"
|
39117
39089
|
},
|
39118
|
-
"description": "
|
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
|
+
}
|
39119
39098
|
},
|
39120
39099
|
{
|
39121
39100
|
"kind": "method",
|
39122
|
-
"name": "
|
39101
|
+
"name": "getToggleTipText",
|
39123
39102
|
"privacy": "private",
|
39124
39103
|
"return": {
|
39125
39104
|
"type": {
|
39126
|
-
"text": "
|
39105
|
+
"text": ""
|
39127
39106
|
}
|
39128
|
-
}
|
39129
|
-
"description": "Updates the placement attribute if it is not a valid placement.\nOverriding the default from Popover"
|
39107
|
+
}
|
39130
39108
|
},
|
39131
39109
|
{
|
39132
39110
|
"kind": "method",
|
39133
|
-
"name": "
|
39111
|
+
"name": "onPlacementUpdated",
|
39134
39112
|
"privacy": "private",
|
39135
39113
|
"return": {
|
39136
39114
|
"type": {
|
39137
39115
|
"text": "void"
|
39138
39116
|
}
|
39139
39117
|
},
|
39140
|
-
"
|
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,32 +40954,36 @@
|
|
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/tooltip/tooltip.component.js",
|
41023
40966
|
"declarations": [
|
41024
40967
|
{
|
41025
40968
|
"kind": "class",
|
41026
|
-
"description": "A
|
41027
|
-
"name": "
|
40969
|
+
"description": "A tooltip is triggered by mouse hover or by keyboard focus\nand will disappear upon mouse exit or focus change.\n\nNote: Tooltips cannot contain content that can be focused or interacted with.",
|
40970
|
+
"name": "Tooltip",
|
41028
40971
|
"cssProperties": [
|
41029
40972
|
{
|
41030
|
-
"description": "The maximum width of the
|
41031
|
-
"name": "--mdc-
|
40973
|
+
"description": "The maximum width of the tooltip.",
|
40974
|
+
"name": "--mdc-tooltip-max-width"
|
41032
40975
|
},
|
41033
40976
|
{
|
41034
|
-
"description": "The
|
41035
|
-
"name": "--mdc-
|
40977
|
+
"description": "The padding of the tooltip.",
|
40978
|
+
"name": "--mdc-tooltip-padding"
|
41036
40979
|
},
|
41037
40980
|
{
|
41038
|
-
"description": "The text color of the
|
41039
|
-
"name": "--mdc-
|
40981
|
+
"description": "The text color of the tooltip.",
|
40982
|
+
"name": "--mdc-tooltip-text-color"
|
40983
|
+
},
|
40984
|
+
{
|
40985
|
+
"description": "The text color of the tooltip when the color is contrast.",
|
40986
|
+
"name": "--mdc-tooltip-text-color-contrast"
|
41040
40987
|
},
|
41041
40988
|
{
|
41042
40989
|
"description": "radius of the arrow border",
|
@@ -41127,53 +41074,29 @@
|
|
41127
41074
|
}
|
41128
41075
|
}
|
41129
41076
|
],
|
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
41077
|
"members": [
|
41141
41078
|
{
|
41142
41079
|
"kind": "field",
|
41143
|
-
"name": "
|
41144
|
-
"type": {
|
41145
|
-
"text": "Array<Node>"
|
41146
|
-
},
|
41147
|
-
"privacy": "private"
|
41148
|
-
},
|
41149
|
-
{
|
41150
|
-
"kind": "field",
|
41151
|
-
"name": "screenreaderAnnouncerIdentity",
|
41080
|
+
"name": "tooltipType",
|
41152
41081
|
"type": {
|
41153
|
-
"text": "
|
41082
|
+
"text": "TooltipType"
|
41154
41083
|
},
|
41155
|
-
"description": "
|
41156
|
-
"
|
41084
|
+
"description": "The type of tooltip.\n- **description** sets aria-describedby on the trigger component which refers to the tooltip id.\n- **label** sets aria-labelledby on the trigger component which refers to the tooltip id.\n- **none** no aria props set on trigger component referring to the tooltip id.",
|
41085
|
+
"default": "'description'",
|
41086
|
+
"attribute": "tooltip-type",
|
41157
41087
|
"reflects": true
|
41158
41088
|
},
|
41159
41089
|
{
|
41160
41090
|
"kind": "field",
|
41161
|
-
"name": "
|
41091
|
+
"name": "defaultSlotNodes",
|
41162
41092
|
"type": {
|
41163
|
-
"text": "
|
41093
|
+
"text": "Array<Node>"
|
41164
41094
|
},
|
41165
|
-
"
|
41166
|
-
"default": "bottom",
|
41167
|
-
"attribute": "placement",
|
41168
|
-
"reflects": true,
|
41169
|
-
"inheritedFrom": {
|
41170
|
-
"name": "Popover",
|
41171
|
-
"module": "components/popover/popover.component.js"
|
41172
|
-
}
|
41095
|
+
"privacy": "private"
|
41173
41096
|
},
|
41174
41097
|
{
|
41175
41098
|
"kind": "method",
|
41176
|
-
"name": "
|
41099
|
+
"name": "getTooltipText",
|
41177
41100
|
"privacy": "private",
|
41178
41101
|
"return": {
|
41179
41102
|
"type": {
|
@@ -41181,6 +41104,37 @@
|
|
41181
41104
|
}
|
41182
41105
|
}
|
41183
41106
|
},
|
41107
|
+
{
|
41108
|
+
"kind": "method",
|
41109
|
+
"name": "setTooltipType",
|
41110
|
+
"privacy": "private",
|
41111
|
+
"return": {
|
41112
|
+
"type": {
|
41113
|
+
"text": "void"
|
41114
|
+
}
|
41115
|
+
},
|
41116
|
+
"parameters": [
|
41117
|
+
{
|
41118
|
+
"name": "type",
|
41119
|
+
"type": {
|
41120
|
+
"text": "TooltipType"
|
41121
|
+
},
|
41122
|
+
"description": "The type to set."
|
41123
|
+
}
|
41124
|
+
],
|
41125
|
+
"description": "Sets the type attribute for the tooltip component.\nIf the provided type is not included in the TOOLTIP_TYPES,\nit defaults to the value specified in DEFAULTS.TOOLTIP_TYPE."
|
41126
|
+
},
|
41127
|
+
{
|
41128
|
+
"kind": "method",
|
41129
|
+
"name": "onIdUpdated",
|
41130
|
+
"privacy": "private",
|
41131
|
+
"return": {
|
41132
|
+
"type": {
|
41133
|
+
"text": "Promise<void>"
|
41134
|
+
}
|
41135
|
+
},
|
41136
|
+
"description": "Updates the tooltip id if it is empty."
|
41137
|
+
},
|
41184
41138
|
{
|
41185
41139
|
"kind": "method",
|
41186
41140
|
"name": "onPlacementUpdated",
|
@@ -41190,7 +41144,27 @@
|
|
41190
41144
|
"text": "void"
|
41191
41145
|
}
|
41192
41146
|
},
|
41193
|
-
"description": "Updates the placement attribute if it is not a valid placement.\
|
41147
|
+
"description": "Updates the placement attribute if it is not a valid placement.\nOverriding the default from Popover"
|
41148
|
+
},
|
41149
|
+
{
|
41150
|
+
"kind": "method",
|
41151
|
+
"name": "onTooltipTypeUpdated",
|
41152
|
+
"privacy": "private",
|
41153
|
+
"return": {
|
41154
|
+
"type": {
|
41155
|
+
"text": "void"
|
41156
|
+
}
|
41157
|
+
},
|
41158
|
+
"parameters": [
|
41159
|
+
{
|
41160
|
+
"name": "changedProperties",
|
41161
|
+
"type": {
|
41162
|
+
"text": "PropertyValues"
|
41163
|
+
},
|
41164
|
+
"description": "The changed properties."
|
41165
|
+
}
|
41166
|
+
],
|
41167
|
+
"description": "Updates the tooltip type attribute and sets the appropriate aria props on the trigger component."
|
41194
41168
|
},
|
41195
41169
|
{
|
41196
41170
|
"kind": "field",
|
@@ -41798,6 +41772,21 @@
|
|
41798
41772
|
"module": "components/popover/popover.component.js"
|
41799
41773
|
}
|
41800
41774
|
},
|
41775
|
+
{
|
41776
|
+
"kind": "field",
|
41777
|
+
"name": "placement",
|
41778
|
+
"type": {
|
41779
|
+
"text": "PopoverPlacement"
|
41780
|
+
},
|
41781
|
+
"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**",
|
41782
|
+
"default": "bottom",
|
41783
|
+
"attribute": "placement",
|
41784
|
+
"reflects": true,
|
41785
|
+
"inheritedFrom": {
|
41786
|
+
"name": "Popover",
|
41787
|
+
"module": "components/popover/popover.component.js"
|
41788
|
+
}
|
41789
|
+
},
|
41801
41790
|
{
|
41802
41791
|
"kind": "field",
|
41803
41792
|
"name": "color",
|
@@ -42502,7 +42491,7 @@
|
|
42502
42491
|
],
|
42503
42492
|
"events": [
|
42504
42493
|
{
|
42505
|
-
"description": "(React: onShown) This event is dispatched when the
|
42494
|
+
"description": "(React: onShown) This event is dispatched when the tooltip is shown",
|
42506
42495
|
"name": "shown",
|
42507
42496
|
"reactName": "onShown",
|
42508
42497
|
"inheritedFrom": {
|
@@ -42511,7 +42500,7 @@
|
|
42511
42500
|
}
|
42512
42501
|
},
|
42513
42502
|
{
|
42514
|
-
"description": "(React: onHidden) This event is dispatched when the
|
42503
|
+
"description": "(React: onHidden) This event is dispatched when the tooltip is hidden",
|
42515
42504
|
"name": "hidden",
|
42516
42505
|
"reactName": "onHidden",
|
42517
42506
|
"inheritedFrom": {
|
@@ -42520,7 +42509,7 @@
|
|
42520
42509
|
}
|
42521
42510
|
},
|
42522
42511
|
{
|
42523
|
-
"description": "(React: onCreated) This event is dispatched when the
|
42512
|
+
"description": "(React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)",
|
42524
42513
|
"name": "created",
|
42525
42514
|
"reactName": "onCreated",
|
42526
42515
|
"inheritedFrom": {
|
@@ -42529,7 +42518,7 @@
|
|
42529
42518
|
}
|
42530
42519
|
},
|
42531
42520
|
{
|
42532
|
-
"description": "(React: onDestroyed) This event is dispatched when the
|
42521
|
+
"description": "(React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)",
|
42533
42522
|
"name": "destroyed",
|
42534
42523
|
"reactName": "onDestroyed",
|
42535
42524
|
"inheritedFrom": {
|
@@ -42540,25 +42529,13 @@
|
|
42540
42529
|
],
|
42541
42530
|
"attributes": [
|
42542
42531
|
{
|
42543
|
-
"name": "
|
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",
|
42532
|
+
"name": "tooltip-type",
|
42552
42533
|
"type": {
|
42553
|
-
"text": "
|
42534
|
+
"text": "TooltipType"
|
42554
42535
|
},
|
42555
|
-
"description": "The
|
42556
|
-
"default": "
|
42557
|
-
"fieldName": "
|
42558
|
-
"inheritedFrom": {
|
42559
|
-
"name": "Popover",
|
42560
|
-
"module": "src/components/popover/popover.component.ts"
|
42561
|
-
}
|
42536
|
+
"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.",
|
42537
|
+
"default": "'description'",
|
42538
|
+
"fieldName": "tooltipType"
|
42562
42539
|
},
|
42563
42540
|
{
|
42564
42541
|
"name": "should-focus-trap-wrap",
|
@@ -42612,6 +42589,19 @@
|
|
42612
42589
|
"module": "src/components/popover/popover.component.ts"
|
42613
42590
|
}
|
42614
42591
|
},
|
42592
|
+
{
|
42593
|
+
"name": "placement",
|
42594
|
+
"type": {
|
42595
|
+
"text": "PopoverPlacement"
|
42596
|
+
},
|
42597
|
+
"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**",
|
42598
|
+
"default": "bottom",
|
42599
|
+
"fieldName": "placement",
|
42600
|
+
"inheritedFrom": {
|
42601
|
+
"name": "Popover",
|
42602
|
+
"module": "src/components/popover/popover.component.ts"
|
42603
|
+
}
|
42604
|
+
},
|
42615
42605
|
{
|
42616
42606
|
"name": "color",
|
42617
42607
|
"type": {
|
@@ -43019,9 +43009,19 @@
|
|
43019
43009
|
"name": "Popover",
|
43020
43010
|
"module": "/src/components/popover/popover.component"
|
43021
43011
|
},
|
43022
|
-
"tagName": "mdc-
|
43023
|
-
"jsDoc": "/**\n * A
|
43024
|
-
"customElement": true
|
43012
|
+
"tagName": "mdc-tooltip",
|
43013
|
+
"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 */",
|
43014
|
+
"customElement": true,
|
43015
|
+
"slots": [
|
43016
|
+
{
|
43017
|
+
"description": "Default slot for the popover content",
|
43018
|
+
"name": "",
|
43019
|
+
"inheritedFrom": {
|
43020
|
+
"name": "Popover",
|
43021
|
+
"module": "src/components/popover/popover.component.ts"
|
43022
|
+
}
|
43023
|
+
}
|
43024
|
+
]
|
43025
43025
|
}
|
43026
43026
|
],
|
43027
43027
|
"exports": [
|
@@ -43029,8 +43029,8 @@
|
|
43029
43029
|
"kind": "js",
|
43030
43030
|
"name": "default",
|
43031
43031
|
"declaration": {
|
43032
|
-
"name": "
|
43033
|
-
"module": "components/
|
43032
|
+
"name": "Tooltip",
|
43033
|
+
"module": "components/tooltip/tooltip.component.js"
|
43034
43034
|
}
|
43035
43035
|
}
|
43036
43036
|
]
|