@momentum-design/components 0.84.1 → 0.84.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser/index.js +24 -24
- package/dist/browser/index.js.map +3 -3
- package/dist/components/popover/popover.component.d.ts +19 -0
- package/dist/components/popover/popover.component.js +35 -6
- package/dist/custom-elements.json +410 -251
- package/dist/react/index.d.ts +3 -3
- package/dist/react/index.js +3 -3
- package/dist/utils/mixins/FocusTrapMixin.js +14 -4
- package/package.json +1 -1
@@ -1707,6 +1707,110 @@
|
|
1707
1707
|
}
|
1708
1708
|
]
|
1709
1709
|
},
|
1710
|
+
{
|
1711
|
+
"kind": "javascript-module",
|
1712
|
+
"path": "components/brandvisual/brandvisual.component.js",
|
1713
|
+
"declarations": [
|
1714
|
+
{
|
1715
|
+
"kind": "class",
|
1716
|
+
"description": "The `mdc-brandvisual` component is responsible for rendering logos dynamically & ensures they are\ndisplayed correctly within applications.\n\nFeatures:\n- Dynamically loads brandvisuals based on the `name` attribute.\n- Emits a `load` event when the brandvisual is successfully fetched.\n- Emits an `error` event when the brandvisual import fails.\n- Supports accessibility best practices.\n- Used for brand representation within the design system.",
|
1717
|
+
"name": "Brandvisual",
|
1718
|
+
"members": [
|
1719
|
+
{
|
1720
|
+
"kind": "field",
|
1721
|
+
"name": "brandVisualData",
|
1722
|
+
"type": {
|
1723
|
+
"text": "HTMLElement | undefined"
|
1724
|
+
},
|
1725
|
+
"privacy": "private"
|
1726
|
+
},
|
1727
|
+
{
|
1728
|
+
"kind": "field",
|
1729
|
+
"name": "name",
|
1730
|
+
"type": {
|
1731
|
+
"text": "BrandVisualNames | undefined"
|
1732
|
+
},
|
1733
|
+
"description": "Name of the brandVisual (= filename)",
|
1734
|
+
"attribute": "name",
|
1735
|
+
"reflects": true
|
1736
|
+
},
|
1737
|
+
{
|
1738
|
+
"kind": "method",
|
1739
|
+
"name": "getBrandVisualData",
|
1740
|
+
"privacy": "private"
|
1741
|
+
},
|
1742
|
+
{
|
1743
|
+
"kind": "method",
|
1744
|
+
"name": "handleBrandVisualLoadedSuccess",
|
1745
|
+
"privacy": "private",
|
1746
|
+
"parameters": [
|
1747
|
+
{
|
1748
|
+
"name": "brandVisualHtml",
|
1749
|
+
"type": {
|
1750
|
+
"text": "HTMLElement"
|
1751
|
+
},
|
1752
|
+
"description": "The brandvisual html element which has been fetched from the brandvisual provider."
|
1753
|
+
}
|
1754
|
+
],
|
1755
|
+
"description": "Sets the brandVisualData state to the fetched brandvisual.\nDispatches a 'load' event on the component once the brandvisual has been successfully loaded."
|
1756
|
+
},
|
1757
|
+
{
|
1758
|
+
"kind": "method",
|
1759
|
+
"name": "handleBrandVisualLoadedFailure",
|
1760
|
+
"privacy": "private",
|
1761
|
+
"parameters": [
|
1762
|
+
{
|
1763
|
+
"name": "error",
|
1764
|
+
"type": {
|
1765
|
+
"text": "unknown"
|
1766
|
+
}
|
1767
|
+
}
|
1768
|
+
],
|
1769
|
+
"description": "Dispatches an 'error' event on the component when the brandvisual import has failed.\nThis event bubbles and is cancelable.\nThe error detail is set to the error object."
|
1770
|
+
}
|
1771
|
+
],
|
1772
|
+
"events": [
|
1773
|
+
{
|
1774
|
+
"description": "(React: onLoad) This event is dispatched when the brandvisual has been successfully loaded.",
|
1775
|
+
"name": "load",
|
1776
|
+
"reactName": "onLoad"
|
1777
|
+
},
|
1778
|
+
{
|
1779
|
+
"description": "(React: onError) This event is dispatched when the brandvisual fetching has failed.",
|
1780
|
+
"name": "error",
|
1781
|
+
"reactName": "onError"
|
1782
|
+
}
|
1783
|
+
],
|
1784
|
+
"attributes": [
|
1785
|
+
{
|
1786
|
+
"name": "name",
|
1787
|
+
"type": {
|
1788
|
+
"text": "BrandVisualNames | undefined"
|
1789
|
+
},
|
1790
|
+
"description": "Name of the brandVisual (= filename)",
|
1791
|
+
"fieldName": "name"
|
1792
|
+
}
|
1793
|
+
],
|
1794
|
+
"superclass": {
|
1795
|
+
"name": "Component",
|
1796
|
+
"module": "/src/models"
|
1797
|
+
},
|
1798
|
+
"tagName": "mdc-brandvisual",
|
1799
|
+
"jsDoc": "/**\n * The `mdc-brandvisual` component is responsible for rendering logos dynamically & ensures they are\n * displayed correctly within applications.\n *\n * Features:\n * - Dynamically loads brandvisuals based on the `name` attribute.\n * - Emits a `load` event when the brandvisual is successfully fetched.\n * - Emits an `error` event when the brandvisual import fails.\n * - Supports accessibility best practices.\n * - Used for brand representation within the design system.\n *\n * @tagname mdc-brandvisual\n *\n * @event load - (React: onLoad) This event is dispatched when the brandvisual has been successfully loaded.\n * @event error - (React: onError) This event is dispatched when the brandvisual fetching has failed.\n *\n */",
|
1800
|
+
"customElement": true
|
1801
|
+
}
|
1802
|
+
],
|
1803
|
+
"exports": [
|
1804
|
+
{
|
1805
|
+
"kind": "js",
|
1806
|
+
"name": "default",
|
1807
|
+
"declaration": {
|
1808
|
+
"name": "Brandvisual",
|
1809
|
+
"module": "components/brandvisual/brandvisual.component.js"
|
1810
|
+
}
|
1811
|
+
}
|
1812
|
+
]
|
1813
|
+
},
|
1710
1814
|
{
|
1711
1815
|
"kind": "javascript-module",
|
1712
1816
|
"path": "components/badge/badge.component.js",
|
@@ -2028,110 +2132,6 @@
|
|
2028
2132
|
}
|
2029
2133
|
]
|
2030
2134
|
},
|
2031
|
-
{
|
2032
|
-
"kind": "javascript-module",
|
2033
|
-
"path": "components/brandvisual/brandvisual.component.js",
|
2034
|
-
"declarations": [
|
2035
|
-
{
|
2036
|
-
"kind": "class",
|
2037
|
-
"description": "The `mdc-brandvisual` component is responsible for rendering logos dynamically & ensures they are\ndisplayed correctly within applications.\n\nFeatures:\n- Dynamically loads brandvisuals based on the `name` attribute.\n- Emits a `load` event when the brandvisual is successfully fetched.\n- Emits an `error` event when the brandvisual import fails.\n- Supports accessibility best practices.\n- Used for brand representation within the design system.",
|
2038
|
-
"name": "Brandvisual",
|
2039
|
-
"members": [
|
2040
|
-
{
|
2041
|
-
"kind": "field",
|
2042
|
-
"name": "brandVisualData",
|
2043
|
-
"type": {
|
2044
|
-
"text": "HTMLElement | undefined"
|
2045
|
-
},
|
2046
|
-
"privacy": "private"
|
2047
|
-
},
|
2048
|
-
{
|
2049
|
-
"kind": "field",
|
2050
|
-
"name": "name",
|
2051
|
-
"type": {
|
2052
|
-
"text": "BrandVisualNames | undefined"
|
2053
|
-
},
|
2054
|
-
"description": "Name of the brandVisual (= filename)",
|
2055
|
-
"attribute": "name",
|
2056
|
-
"reflects": true
|
2057
|
-
},
|
2058
|
-
{
|
2059
|
-
"kind": "method",
|
2060
|
-
"name": "getBrandVisualData",
|
2061
|
-
"privacy": "private"
|
2062
|
-
},
|
2063
|
-
{
|
2064
|
-
"kind": "method",
|
2065
|
-
"name": "handleBrandVisualLoadedSuccess",
|
2066
|
-
"privacy": "private",
|
2067
|
-
"parameters": [
|
2068
|
-
{
|
2069
|
-
"name": "brandVisualHtml",
|
2070
|
-
"type": {
|
2071
|
-
"text": "HTMLElement"
|
2072
|
-
},
|
2073
|
-
"description": "The brandvisual html element which has been fetched from the brandvisual provider."
|
2074
|
-
}
|
2075
|
-
],
|
2076
|
-
"description": "Sets the brandVisualData state to the fetched brandvisual.\nDispatches a 'load' event on the component once the brandvisual has been successfully loaded."
|
2077
|
-
},
|
2078
|
-
{
|
2079
|
-
"kind": "method",
|
2080
|
-
"name": "handleBrandVisualLoadedFailure",
|
2081
|
-
"privacy": "private",
|
2082
|
-
"parameters": [
|
2083
|
-
{
|
2084
|
-
"name": "error",
|
2085
|
-
"type": {
|
2086
|
-
"text": "unknown"
|
2087
|
-
}
|
2088
|
-
}
|
2089
|
-
],
|
2090
|
-
"description": "Dispatches an 'error' event on the component when the brandvisual import has failed.\nThis event bubbles and is cancelable.\nThe error detail is set to the error object."
|
2091
|
-
}
|
2092
|
-
],
|
2093
|
-
"events": [
|
2094
|
-
{
|
2095
|
-
"description": "(React: onLoad) This event is dispatched when the brandvisual has been successfully loaded.",
|
2096
|
-
"name": "load",
|
2097
|
-
"reactName": "onLoad"
|
2098
|
-
},
|
2099
|
-
{
|
2100
|
-
"description": "(React: onError) This event is dispatched when the brandvisual fetching has failed.",
|
2101
|
-
"name": "error",
|
2102
|
-
"reactName": "onError"
|
2103
|
-
}
|
2104
|
-
],
|
2105
|
-
"attributes": [
|
2106
|
-
{
|
2107
|
-
"name": "name",
|
2108
|
-
"type": {
|
2109
|
-
"text": "BrandVisualNames | undefined"
|
2110
|
-
},
|
2111
|
-
"description": "Name of the brandVisual (= filename)",
|
2112
|
-
"fieldName": "name"
|
2113
|
-
}
|
2114
|
-
],
|
2115
|
-
"superclass": {
|
2116
|
-
"name": "Component",
|
2117
|
-
"module": "/src/models"
|
2118
|
-
},
|
2119
|
-
"tagName": "mdc-brandvisual",
|
2120
|
-
"jsDoc": "/**\n * The `mdc-brandvisual` component is responsible for rendering logos dynamically & ensures they are\n * displayed correctly within applications.\n *\n * Features:\n * - Dynamically loads brandvisuals based on the `name` attribute.\n * - Emits a `load` event when the brandvisual is successfully fetched.\n * - Emits an `error` event when the brandvisual import fails.\n * - Supports accessibility best practices.\n * - Used for brand representation within the design system.\n *\n * @tagname mdc-brandvisual\n *\n * @event load - (React: onLoad) This event is dispatched when the brandvisual has been successfully loaded.\n * @event error - (React: onError) This event is dispatched when the brandvisual fetching has failed.\n *\n */",
|
2121
|
-
"customElement": true
|
2122
|
-
}
|
2123
|
-
],
|
2124
|
-
"exports": [
|
2125
|
-
{
|
2126
|
-
"kind": "js",
|
2127
|
-
"name": "default",
|
2128
|
-
"declaration": {
|
2129
|
-
"name": "Brandvisual",
|
2130
|
-
"module": "components/brandvisual/brandvisual.component.js"
|
2131
|
-
}
|
2132
|
-
}
|
2133
|
-
]
|
2134
|
-
},
|
2135
2135
|
{
|
2136
2136
|
"kind": "javascript-module",
|
2137
2137
|
"path": "components/bullet/bullet.component.js",
|
@@ -8371,11 +8371,14 @@
|
|
8371
8371
|
"privacy": "private",
|
8372
8372
|
"parameters": [
|
8373
8373
|
{
|
8374
|
-
"name": "
|
8374
|
+
"name": "event",
|
8375
8375
|
"type": {
|
8376
|
-
"text": "
|
8377
|
-
}
|
8378
|
-
|
8376
|
+
"text": "KeyboardEvent"
|
8377
|
+
}
|
8378
|
+
},
|
8379
|
+
{
|
8380
|
+
"description": "The direction of the focus trap.\nIf true, the focus will be trapped in the previous element.",
|
8381
|
+
"name": "direction"
|
8379
8382
|
}
|
8380
8383
|
],
|
8381
8384
|
"description": "Traps focus within the container.",
|
@@ -8868,6 +8871,36 @@
|
|
8868
8871
|
"module": "components/popover/popover.component.js"
|
8869
8872
|
}
|
8870
8873
|
},
|
8874
|
+
{
|
8875
|
+
"kind": "field",
|
8876
|
+
"name": "handleMouseEnter",
|
8877
|
+
"privacy": "private",
|
8878
|
+
"description": "Handles mouse enter event on the trigger element.\nThis method sets the `isHovered` flag to true and shows the popover",
|
8879
|
+
"inheritedFrom": {
|
8880
|
+
"name": "Popover",
|
8881
|
+
"module": "components/popover/popover.component.js"
|
8882
|
+
}
|
8883
|
+
},
|
8884
|
+
{
|
8885
|
+
"kind": "field",
|
8886
|
+
"name": "handleMouseLeave",
|
8887
|
+
"privacy": "private",
|
8888
|
+
"description": "Handles mouse leave event on the trigger element.\nThis method sets the `isHovered` flag to false and starts the close delay\ntimer to hide the popover.",
|
8889
|
+
"inheritedFrom": {
|
8890
|
+
"name": "Popover",
|
8891
|
+
"module": "components/popover/popover.component.js"
|
8892
|
+
}
|
8893
|
+
},
|
8894
|
+
{
|
8895
|
+
"kind": "field",
|
8896
|
+
"name": "handleFocusOut",
|
8897
|
+
"privacy": "private",
|
8898
|
+
"description": "Handles focus out event on the trigger element.\nThis method checks if the popover is not hovered and hides the popover.\nIf the popover is hovered, it will not hide the popover.",
|
8899
|
+
"inheritedFrom": {
|
8900
|
+
"name": "Popover",
|
8901
|
+
"module": "components/popover/popover.component.js"
|
8902
|
+
}
|
8903
|
+
},
|
8871
8904
|
{
|
8872
8905
|
"kind": "field",
|
8873
8906
|
"name": "startCloseDelay",
|
@@ -10165,11 +10198,14 @@
|
|
10165
10198
|
"privacy": "private",
|
10166
10199
|
"parameters": [
|
10167
10200
|
{
|
10168
|
-
"name": "
|
10201
|
+
"name": "event",
|
10169
10202
|
"type": {
|
10170
|
-
"text": "
|
10171
|
-
}
|
10172
|
-
|
10203
|
+
"text": "KeyboardEvent"
|
10204
|
+
}
|
10205
|
+
},
|
10206
|
+
{
|
10207
|
+
"description": "The direction of the focus trap.\nIf true, the focus will be trapped in the previous element.",
|
10208
|
+
"name": "direction"
|
10173
10209
|
}
|
10174
10210
|
],
|
10175
10211
|
"description": "Traps focus within the container.",
|
@@ -15752,13 +15788,41 @@
|
|
15752
15788
|
},
|
15753
15789
|
{
|
15754
15790
|
"kind": "javascript-module",
|
15755
|
-
"path": "components/
|
15791
|
+
"path": "components/menuitemradio/menuitemradio.component.js",
|
15756
15792
|
"declarations": [
|
15757
15793
|
{
|
15758
15794
|
"kind": "class",
|
15759
|
-
"description": "
|
15760
|
-
"name": "
|
15795
|
+
"description": "A menuitemradio component is a checkable menuitem that is used in a menu.\nA menuitemradio should be checked only one at a time. <br/>\nThere should be no focusable descendants inside this menuitemradio component.\n\nThe `aria-checked` menuitemradio attribute is used to indicate that the menuitemradio is checked or not.\n\nIf you want more than one item in a group to be checked, consider using menuitemcheckbox component.\n\nIf a menuitemradio is disabled, then the `aria-disabled` attribute is set to `true`.",
|
15796
|
+
"name": "MenuItemRadio",
|
15761
15797
|
"members": [
|
15798
|
+
{
|
15799
|
+
"kind": "field",
|
15800
|
+
"name": "ariaChecked",
|
15801
|
+
"type": {
|
15802
|
+
"text": "AriaCheckedStates"
|
15803
|
+
},
|
15804
|
+
"description": "The aria-checked attribute is used to indicate that the menuitemradio is checked or not.",
|
15805
|
+
"default": "'false'",
|
15806
|
+
"attribute": "aria-checked",
|
15807
|
+
"reflects": true
|
15808
|
+
},
|
15809
|
+
{
|
15810
|
+
"kind": "field",
|
15811
|
+
"name": "name",
|
15812
|
+
"type": {
|
15813
|
+
"text": "string"
|
15814
|
+
},
|
15815
|
+
"default": "''",
|
15816
|
+
"description": "The name attribute is used to group radio items within the same menu container.",
|
15817
|
+
"attribute": "name",
|
15818
|
+
"reflects": true
|
15819
|
+
},
|
15820
|
+
{
|
15821
|
+
"kind": "field",
|
15822
|
+
"name": "menuitemradioHandleClick",
|
15823
|
+
"privacy": "private",
|
15824
|
+
"description": "Handles click events to set checked state and uncheck siblings in the same group and container.\nIf the menuitemradio is not checked, it sets its aria-checked state to `true`\nand sets all other menuitemradio elements of the same group with aria-checked state to `false`."
|
15825
|
+
},
|
15762
15826
|
{
|
15763
15827
|
"kind": "field",
|
15764
15828
|
"name": "arrowPosition",
|
@@ -15767,7 +15831,11 @@
|
|
15767
15831
|
},
|
15768
15832
|
"description": "Defines where the arrow icon will appear.\n- `'leading'`: Icon appears on the leading edge (start).\n- `'trailing'`: Icon appears on the trailing edge (end).\n\nIf not set, no arrow is displayed.",
|
15769
15833
|
"attribute": "arrow-position",
|
15770
|
-
"reflects": true
|
15834
|
+
"reflects": true,
|
15835
|
+
"inheritedFrom": {
|
15836
|
+
"name": "MenuItem",
|
15837
|
+
"module": "components/menuitem/menuitem.component.js"
|
15838
|
+
}
|
15771
15839
|
},
|
15772
15840
|
{
|
15773
15841
|
"kind": "field",
|
@@ -15777,7 +15845,11 @@
|
|
15777
15845
|
},
|
15778
15846
|
"description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
|
15779
15847
|
"attribute": "arrow-direction",
|
15780
|
-
"reflects": true
|
15848
|
+
"reflects": true,
|
15849
|
+
"inheritedFrom": {
|
15850
|
+
"name": "MenuItem",
|
15851
|
+
"module": "components/menuitem/menuitem.component.js"
|
15852
|
+
}
|
15781
15853
|
},
|
15782
15854
|
{
|
15783
15855
|
"kind": "method",
|
@@ -15821,7 +15893,11 @@
|
|
15821
15893
|
"description": "The keyboard event that triggered the action."
|
15822
15894
|
}
|
15823
15895
|
],
|
15824
|
-
"description": "Handles the keyup event for the menu item.\nIf the Space key is released, it triggers a click event on the menu item.\nThis allows keyboard users to activate the menu item using the Space key.\nIt also prevents the default action of the Space key to avoid scrolling the page."
|
15896
|
+
"description": "Handles the keyup event for the menu item.\nIf the Space key is released, it triggers a click event on the menu item.\nThis allows keyboard users to activate the menu item using the Space key.\nIt also prevents the default action of the Space key to avoid scrolling the page.",
|
15897
|
+
"inheritedFrom": {
|
15898
|
+
"name": "MenuItem",
|
15899
|
+
"module": "components/menuitem/menuitem.component.js"
|
15900
|
+
}
|
15825
15901
|
},
|
15826
15902
|
{
|
15827
15903
|
"kind": "method",
|
@@ -16142,7 +16218,12 @@
|
|
16142
16218
|
],
|
16143
16219
|
"events": [
|
16144
16220
|
{
|
16145
|
-
"description": "(React:
|
16221
|
+
"description": "(React: onChange) This event is dispatched when the menuitemradio changes.",
|
16222
|
+
"name": "change",
|
16223
|
+
"reactName": "onChange"
|
16224
|
+
},
|
16225
|
+
{
|
16226
|
+
"description": "(React: onClick) This event is dispatched when the menuitemradio is clicked.",
|
16146
16227
|
"name": "click",
|
16147
16228
|
"reactName": "onClick",
|
16148
16229
|
"inheritedFrom": {
|
@@ -16151,27 +16232,27 @@
|
|
16151
16232
|
}
|
16152
16233
|
},
|
16153
16234
|
{
|
16154
|
-
"description": "(React:
|
16155
|
-
"name": "
|
16156
|
-
"reactName": "
|
16235
|
+
"description": "(React: onFocus) This event is dispatched when the menuitemradio receives focus.",
|
16236
|
+
"name": "focus",
|
16237
|
+
"reactName": "onFocus",
|
16157
16238
|
"inheritedFrom": {
|
16158
16239
|
"name": "ListItem",
|
16159
16240
|
"module": "src/components/listitem/listitem.component.ts"
|
16160
16241
|
}
|
16161
16242
|
},
|
16162
16243
|
{
|
16163
|
-
"description": "(React:
|
16164
|
-
"name": "
|
16165
|
-
"reactName": "
|
16244
|
+
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.",
|
16245
|
+
"name": "keydown",
|
16246
|
+
"reactName": "onKeyDown",
|
16166
16247
|
"inheritedFrom": {
|
16167
16248
|
"name": "ListItem",
|
16168
16249
|
"module": "src/components/listitem/listitem.component.ts"
|
16169
16250
|
}
|
16170
16251
|
},
|
16171
16252
|
{
|
16172
|
-
"description": "(React:
|
16173
|
-
"name": "
|
16174
|
-
"reactName": "
|
16253
|
+
"description": "(React: onKeyUp) This event is dispatched when a key is released on the menuitem.",
|
16254
|
+
"name": "keyup",
|
16255
|
+
"reactName": "onKeyUp",
|
16175
16256
|
"inheritedFrom": {
|
16176
16257
|
"name": "ListItem",
|
16177
16258
|
"module": "src/components/listitem/listitem.component.ts"
|
@@ -16179,13 +16260,35 @@
|
|
16179
16260
|
}
|
16180
16261
|
],
|
16181
16262
|
"attributes": [
|
16263
|
+
{
|
16264
|
+
"name": "aria-checked",
|
16265
|
+
"type": {
|
16266
|
+
"text": "AriaCheckedStates"
|
16267
|
+
},
|
16268
|
+
"description": "The aria-checked attribute is used to indicate that the menuitemradio is checked or not.",
|
16269
|
+
"default": "'false'",
|
16270
|
+
"fieldName": "ariaChecked"
|
16271
|
+
},
|
16272
|
+
{
|
16273
|
+
"name": "name",
|
16274
|
+
"type": {
|
16275
|
+
"text": "string"
|
16276
|
+
},
|
16277
|
+
"default": "''",
|
16278
|
+
"description": "The name attribute is used to group radio items within the same menu container.",
|
16279
|
+
"fieldName": "name"
|
16280
|
+
},
|
16182
16281
|
{
|
16183
16282
|
"name": "arrow-position",
|
16184
16283
|
"type": {
|
16185
16284
|
"text": "ArrowPositions | undefined"
|
16186
16285
|
},
|
16187
16286
|
"description": "Defines where the arrow icon will appear.\n- `'leading'`: Icon appears on the leading edge (start).\n- `'trailing'`: Icon appears on the trailing edge (end).\n\nIf not set, no arrow is displayed.",
|
16188
|
-
"fieldName": "arrowPosition"
|
16287
|
+
"fieldName": "arrowPosition",
|
16288
|
+
"inheritedFrom": {
|
16289
|
+
"name": "MenuItem",
|
16290
|
+
"module": "src/components/menuitem/menuitem.component.ts"
|
16291
|
+
}
|
16189
16292
|
},
|
16190
16293
|
{
|
16191
16294
|
"name": "arrow-direction",
|
@@ -16193,7 +16296,11 @@
|
|
16193
16296
|
"text": "ArrowDirections | undefined"
|
16194
16297
|
},
|
16195
16298
|
"description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
|
16196
|
-
"fieldName": "arrowDirection"
|
16299
|
+
"fieldName": "arrowDirection",
|
16300
|
+
"inheritedFrom": {
|
16301
|
+
"name": "MenuItem",
|
16302
|
+
"module": "src/components/menuitem/menuitem.component.ts"
|
16303
|
+
}
|
16197
16304
|
},
|
16198
16305
|
{
|
16199
16306
|
"name": "disabled",
|
@@ -16321,11 +16428,11 @@
|
|
16321
16428
|
}
|
16322
16429
|
],
|
16323
16430
|
"superclass": {
|
16324
|
-
"name": "
|
16325
|
-
"module": "/src/components/
|
16431
|
+
"name": "MenuItem",
|
16432
|
+
"module": "/src/components/menuitem/menuitem.component"
|
16326
16433
|
},
|
16327
|
-
"tagName": "mdc-
|
16328
|
-
"jsDoc": "/**\n *
|
16434
|
+
"tagName": "mdc-menuitemradio",
|
16435
|
+
"jsDoc": "/**\n * A menuitemradio component is a checkable menuitem that is used in a menu.\n * A menuitemradio should be checked only one at a time. <br/>\n * There should be no focusable descendants inside this menuitemradio component.\n *\n * The `aria-checked` menuitemradio attribute is used to indicate that the menuitemradio is checked or not.\n *\n * If you want more than one item in a group to be checked, consider using menuitemcheckbox component.\n *\n * If a menuitemradio is disabled, then the `aria-disabled` attribute is set to `true`.\n *\n * @dependency mdc-staticradio\n * @dependency mdc-text\n *\n * @tagname mdc-menuitemradio\n *\n * @event change - (React: onChange) This event is dispatched when the menuitemradio changes.\n * @event click - (React: onClick) This event is dispatched when the menuitemradio is clicked.\n * @event focus - (React: onFocus) This event is dispatched when the menuitemradio receives focus.\n */",
|
16329
16436
|
"customElement": true,
|
16330
16437
|
"slots": [
|
16331
16438
|
{
|
@@ -16458,8 +16565,8 @@
|
|
16458
16565
|
"kind": "js",
|
16459
16566
|
"name": "default",
|
16460
16567
|
"declaration": {
|
16461
|
-
"name": "
|
16462
|
-
"module": "components/
|
16568
|
+
"name": "MenuItemRadio",
|
16569
|
+
"module": "components/menuitemradio/menuitemradio.component.js"
|
16463
16570
|
}
|
16464
16571
|
}
|
16465
16572
|
]
|
@@ -17288,41 +17395,13 @@
|
|
17288
17395
|
},
|
17289
17396
|
{
|
17290
17397
|
"kind": "javascript-module",
|
17291
|
-
"path": "components/
|
17398
|
+
"path": "components/menuitem/menuitem.component.js",
|
17292
17399
|
"declarations": [
|
17293
17400
|
{
|
17294
17401
|
"kind": "class",
|
17295
|
-
"description": "
|
17296
|
-
"name": "
|
17402
|
+
"description": "menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\nA menu item can contain an icon on the leading or trailing side.\n\nThe leading and trailing slots can be used to display controls and text.<br/>\nBased on the leading/trailing slot, the position of the controls and text can be adjusted.\n\nPlease use mdc-menu as a parent element even when there is only menuitem for a11y purpose.",
|
17403
|
+
"name": "MenuItem",
|
17297
17404
|
"members": [
|
17298
|
-
{
|
17299
|
-
"kind": "field",
|
17300
|
-
"name": "ariaChecked",
|
17301
|
-
"type": {
|
17302
|
-
"text": "AriaCheckedStates"
|
17303
|
-
},
|
17304
|
-
"description": "The aria-checked attribute is used to indicate that the menuitemradio is checked or not.",
|
17305
|
-
"default": "'false'",
|
17306
|
-
"attribute": "aria-checked",
|
17307
|
-
"reflects": true
|
17308
|
-
},
|
17309
|
-
{
|
17310
|
-
"kind": "field",
|
17311
|
-
"name": "name",
|
17312
|
-
"type": {
|
17313
|
-
"text": "string"
|
17314
|
-
},
|
17315
|
-
"default": "''",
|
17316
|
-
"description": "The name attribute is used to group radio items within the same menu container.",
|
17317
|
-
"attribute": "name",
|
17318
|
-
"reflects": true
|
17319
|
-
},
|
17320
|
-
{
|
17321
|
-
"kind": "field",
|
17322
|
-
"name": "menuitemradioHandleClick",
|
17323
|
-
"privacy": "private",
|
17324
|
-
"description": "Handles click events to set checked state and uncheck siblings in the same group and container.\nIf the menuitemradio is not checked, it sets its aria-checked state to `true`\nand sets all other menuitemradio elements of the same group with aria-checked state to `false`."
|
17325
|
-
},
|
17326
17405
|
{
|
17327
17406
|
"kind": "field",
|
17328
17407
|
"name": "arrowPosition",
|
@@ -17331,11 +17410,7 @@
|
|
17331
17410
|
},
|
17332
17411
|
"description": "Defines where the arrow icon will appear.\n- `'leading'`: Icon appears on the leading edge (start).\n- `'trailing'`: Icon appears on the trailing edge (end).\n\nIf not set, no arrow is displayed.",
|
17333
17412
|
"attribute": "arrow-position",
|
17334
|
-
"reflects": true
|
17335
|
-
"inheritedFrom": {
|
17336
|
-
"name": "MenuItem",
|
17337
|
-
"module": "components/menuitem/menuitem.component.js"
|
17338
|
-
}
|
17413
|
+
"reflects": true
|
17339
17414
|
},
|
17340
17415
|
{
|
17341
17416
|
"kind": "field",
|
@@ -17345,11 +17420,7 @@
|
|
17345
17420
|
},
|
17346
17421
|
"description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
|
17347
17422
|
"attribute": "arrow-direction",
|
17348
|
-
"reflects": true
|
17349
|
-
"inheritedFrom": {
|
17350
|
-
"name": "MenuItem",
|
17351
|
-
"module": "components/menuitem/menuitem.component.js"
|
17352
|
-
}
|
17423
|
+
"reflects": true
|
17353
17424
|
},
|
17354
17425
|
{
|
17355
17426
|
"kind": "method",
|
@@ -17393,11 +17464,7 @@
|
|
17393
17464
|
"description": "The keyboard event that triggered the action."
|
17394
17465
|
}
|
17395
17466
|
],
|
17396
|
-
"description": "Handles the keyup event for the menu item.\nIf the Space key is released, it triggers a click event on the menu item.\nThis allows keyboard users to activate the menu item using the Space key.\nIt also prevents the default action of the Space key to avoid scrolling the page."
|
17397
|
-
"inheritedFrom": {
|
17398
|
-
"name": "MenuItem",
|
17399
|
-
"module": "components/menuitem/menuitem.component.js"
|
17400
|
-
}
|
17467
|
+
"description": "Handles the keyup event for the menu item.\nIf the Space key is released, it triggers a click event on the menu item.\nThis allows keyboard users to activate the menu item using the Space key.\nIt also prevents the default action of the Space key to avoid scrolling the page."
|
17401
17468
|
},
|
17402
17469
|
{
|
17403
17470
|
"kind": "method",
|
@@ -17718,12 +17785,7 @@
|
|
17718
17785
|
],
|
17719
17786
|
"events": [
|
17720
17787
|
{
|
17721
|
-
"description": "(React:
|
17722
|
-
"name": "change",
|
17723
|
-
"reactName": "onChange"
|
17724
|
-
},
|
17725
|
-
{
|
17726
|
-
"description": "(React: onClick) This event is dispatched when the menuitemradio is clicked.",
|
17788
|
+
"description": "(React: onClick) This event is dispatched when the menuitem is clicked.",
|
17727
17789
|
"name": "click",
|
17728
17790
|
"reactName": "onClick",
|
17729
17791
|
"inheritedFrom": {
|
@@ -17731,15 +17793,6 @@
|
|
17731
17793
|
"module": "src/components/listitem/listitem.component.ts"
|
17732
17794
|
}
|
17733
17795
|
},
|
17734
|
-
{
|
17735
|
-
"description": "(React: onFocus) This event is dispatched when the menuitemradio receives focus.",
|
17736
|
-
"name": "focus",
|
17737
|
-
"reactName": "onFocus",
|
17738
|
-
"inheritedFrom": {
|
17739
|
-
"name": "ListItem",
|
17740
|
-
"module": "src/components/listitem/listitem.component.ts"
|
17741
|
-
}
|
17742
|
-
},
|
17743
17796
|
{
|
17744
17797
|
"description": "(React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.",
|
17745
17798
|
"name": "keydown",
|
@@ -17757,38 +17810,25 @@
|
|
17757
17810
|
"name": "ListItem",
|
17758
17811
|
"module": "src/components/listitem/listitem.component.ts"
|
17759
17812
|
}
|
17813
|
+
},
|
17814
|
+
{
|
17815
|
+
"description": "(React: onFocus) This event is dispatched when the menuitem receives focus.",
|
17816
|
+
"name": "focus",
|
17817
|
+
"reactName": "onFocus",
|
17818
|
+
"inheritedFrom": {
|
17819
|
+
"name": "ListItem",
|
17820
|
+
"module": "src/components/listitem/listitem.component.ts"
|
17821
|
+
}
|
17760
17822
|
}
|
17761
17823
|
],
|
17762
17824
|
"attributes": [
|
17763
|
-
{
|
17764
|
-
"name": "aria-checked",
|
17765
|
-
"type": {
|
17766
|
-
"text": "AriaCheckedStates"
|
17767
|
-
},
|
17768
|
-
"description": "The aria-checked attribute is used to indicate that the menuitemradio is checked or not.",
|
17769
|
-
"default": "'false'",
|
17770
|
-
"fieldName": "ariaChecked"
|
17771
|
-
},
|
17772
|
-
{
|
17773
|
-
"name": "name",
|
17774
|
-
"type": {
|
17775
|
-
"text": "string"
|
17776
|
-
},
|
17777
|
-
"default": "''",
|
17778
|
-
"description": "The name attribute is used to group radio items within the same menu container.",
|
17779
|
-
"fieldName": "name"
|
17780
|
-
},
|
17781
17825
|
{
|
17782
17826
|
"name": "arrow-position",
|
17783
17827
|
"type": {
|
17784
17828
|
"text": "ArrowPositions | undefined"
|
17785
17829
|
},
|
17786
17830
|
"description": "Defines where the arrow icon will appear.\n- `'leading'`: Icon appears on the leading edge (start).\n- `'trailing'`: Icon appears on the trailing edge (end).\n\nIf not set, no arrow is displayed.",
|
17787
|
-
"fieldName": "arrowPosition"
|
17788
|
-
"inheritedFrom": {
|
17789
|
-
"name": "MenuItem",
|
17790
|
-
"module": "src/components/menuitem/menuitem.component.ts"
|
17791
|
-
}
|
17831
|
+
"fieldName": "arrowPosition"
|
17792
17832
|
},
|
17793
17833
|
{
|
17794
17834
|
"name": "arrow-direction",
|
@@ -17796,11 +17836,7 @@
|
|
17796
17836
|
"text": "ArrowDirections | undefined"
|
17797
17837
|
},
|
17798
17838
|
"description": "Defines the direction the arrow icon points.\n- `'positive'`: Arrow points toward the trailing side.\n- `'negative'`: Arrow points toward the leading side.",
|
17799
|
-
"fieldName": "arrowDirection"
|
17800
|
-
"inheritedFrom": {
|
17801
|
-
"name": "MenuItem",
|
17802
|
-
"module": "src/components/menuitem/menuitem.component.ts"
|
17803
|
-
}
|
17839
|
+
"fieldName": "arrowDirection"
|
17804
17840
|
},
|
17805
17841
|
{
|
17806
17842
|
"name": "disabled",
|
@@ -17928,11 +17964,11 @@
|
|
17928
17964
|
}
|
17929
17965
|
],
|
17930
17966
|
"superclass": {
|
17931
|
-
"name": "
|
17932
|
-
"module": "/src/components/
|
17967
|
+
"name": "ListItem",
|
17968
|
+
"module": "/src/components/listitem/listitem.component"
|
17933
17969
|
},
|
17934
|
-
"tagName": "mdc-
|
17935
|
-
"jsDoc": "/**\n *
|
17970
|
+
"tagName": "mdc-menuitem",
|
17971
|
+
"jsDoc": "/**\n * menuitem component is inherited by listitem component with the role set `menuitem`.<br/>\n * A menu item can contain an icon on the leading or trailing side.\n *\n * The leading and trailing slots can be used to display controls and text.<br/>\n * Based on the leading/trailing slot, the position of the controls and text can be adjusted.\n *\n * Please use mdc-menu as a parent element even when there is only menuitem for a11y purpose.\n *\n * @dependency mdc-text\n * @dependency mdc-icon\n * @dependency mdc-tooltip\n *\n * @tagname mdc-menuitem\n *\n * @event click - (React: onClick) This event is dispatched when the menuitem is clicked.\n * @event keydown - (React: onKeyDown) This event is dispatched when a key is pressed down on the menuitem.\n * @event keyup - (React: onKeyUp) This event is dispatched when a key is released on the menuitem.\n * @event focus - (React: onFocus) This event is dispatched when the menuitem receives focus.\n */",
|
17936
17972
|
"customElement": true,
|
17937
17973
|
"slots": [
|
17938
17974
|
{
|
@@ -18065,8 +18101,8 @@
|
|
18065
18101
|
"kind": "js",
|
18066
18102
|
"name": "default",
|
18067
18103
|
"declaration": {
|
18068
|
-
"name": "
|
18069
|
-
"module": "components/
|
18104
|
+
"name": "MenuItem",
|
18105
|
+
"module": "components/menuitem/menuitem.component.js"
|
18070
18106
|
}
|
18071
18107
|
}
|
18072
18108
|
]
|
@@ -18776,11 +18812,14 @@
|
|
18776
18812
|
"privacy": "private",
|
18777
18813
|
"parameters": [
|
18778
18814
|
{
|
18779
|
-
"name": "
|
18815
|
+
"name": "event",
|
18780
18816
|
"type": {
|
18781
|
-
"text": "
|
18782
|
-
}
|
18783
|
-
|
18817
|
+
"text": "KeyboardEvent"
|
18818
|
+
}
|
18819
|
+
},
|
18820
|
+
{
|
18821
|
+
"description": "The direction of the focus trap.\nIf true, the focus will be trapped in the previous element.",
|
18822
|
+
"name": "direction"
|
18784
18823
|
}
|
18785
18824
|
],
|
18786
18825
|
"description": "Traps focus within the container.",
|
@@ -19302,6 +19341,36 @@
|
|
19302
19341
|
"module": "components/popover/popover.component.js"
|
19303
19342
|
}
|
19304
19343
|
},
|
19344
|
+
{
|
19345
|
+
"kind": "field",
|
19346
|
+
"name": "handleMouseEnter",
|
19347
|
+
"privacy": "private",
|
19348
|
+
"description": "Handles mouse enter event on the trigger element.\nThis method sets the `isHovered` flag to true and shows the popover",
|
19349
|
+
"inheritedFrom": {
|
19350
|
+
"name": "Popover",
|
19351
|
+
"module": "components/popover/popover.component.js"
|
19352
|
+
}
|
19353
|
+
},
|
19354
|
+
{
|
19355
|
+
"kind": "field",
|
19356
|
+
"name": "handleMouseLeave",
|
19357
|
+
"privacy": "private",
|
19358
|
+
"description": "Handles mouse leave event on the trigger element.\nThis method sets the `isHovered` flag to false and starts the close delay\ntimer to hide the popover.",
|
19359
|
+
"inheritedFrom": {
|
19360
|
+
"name": "Popover",
|
19361
|
+
"module": "components/popover/popover.component.js"
|
19362
|
+
}
|
19363
|
+
},
|
19364
|
+
{
|
19365
|
+
"kind": "field",
|
19366
|
+
"name": "handleFocusOut",
|
19367
|
+
"privacy": "private",
|
19368
|
+
"description": "Handles focus out event on the trigger element.\nThis method checks if the popover is not hovered and hides the popover.\nIf the popover is hovered, it will not hide the popover.",
|
19369
|
+
"inheritedFrom": {
|
19370
|
+
"name": "Popover",
|
19371
|
+
"module": "components/popover/popover.component.js"
|
19372
|
+
}
|
19373
|
+
},
|
19305
19374
|
{
|
19306
19375
|
"kind": "field",
|
19307
19376
|
"name": "startCloseDelay",
|
@@ -23135,6 +23204,24 @@
|
|
23135
23204
|
],
|
23136
23205
|
"description": "Handles the popover visibility change and position the popover.\nHandles the exit event to close the popover."
|
23137
23206
|
},
|
23207
|
+
{
|
23208
|
+
"kind": "field",
|
23209
|
+
"name": "handleMouseEnter",
|
23210
|
+
"privacy": "private",
|
23211
|
+
"description": "Handles mouse enter event on the trigger element.\nThis method sets the `isHovered` flag to true and shows the popover"
|
23212
|
+
},
|
23213
|
+
{
|
23214
|
+
"kind": "field",
|
23215
|
+
"name": "handleMouseLeave",
|
23216
|
+
"privacy": "private",
|
23217
|
+
"description": "Handles mouse leave event on the trigger element.\nThis method sets the `isHovered` flag to false and starts the close delay\ntimer to hide the popover."
|
23218
|
+
},
|
23219
|
+
{
|
23220
|
+
"kind": "field",
|
23221
|
+
"name": "handleFocusOut",
|
23222
|
+
"privacy": "private",
|
23223
|
+
"description": "Handles focus out event on the trigger element.\nThis method checks if the popover is not hovered and hides the popover.\nIf the popover is hovered, it will not hide the popover."
|
23224
|
+
},
|
23138
23225
|
{
|
23139
23226
|
"kind": "field",
|
23140
23227
|
"name": "startCloseDelay",
|
@@ -23655,11 +23742,14 @@
|
|
23655
23742
|
"privacy": "private",
|
23656
23743
|
"parameters": [
|
23657
23744
|
{
|
23658
|
-
"name": "
|
23745
|
+
"name": "event",
|
23659
23746
|
"type": {
|
23660
|
-
"text": "
|
23661
|
-
}
|
23662
|
-
|
23747
|
+
"text": "KeyboardEvent"
|
23748
|
+
}
|
23749
|
+
},
|
23750
|
+
{
|
23751
|
+
"description": "The direction of the focus trap.\nIf true, the focus will be trapped in the previous element.",
|
23752
|
+
"name": "direction"
|
23663
23753
|
}
|
23664
23754
|
],
|
23665
23755
|
"description": "Traps focus within the container.",
|
@@ -33103,11 +33193,14 @@
|
|
33103
33193
|
"privacy": "private",
|
33104
33194
|
"parameters": [
|
33105
33195
|
{
|
33106
|
-
"name": "
|
33196
|
+
"name": "event",
|
33107
33197
|
"type": {
|
33108
|
-
"text": "
|
33109
|
-
}
|
33110
|
-
|
33198
|
+
"text": "KeyboardEvent"
|
33199
|
+
}
|
33200
|
+
},
|
33201
|
+
{
|
33202
|
+
"description": "The direction of the focus trap.\nIf true, the focus will be trapped in the previous element.",
|
33203
|
+
"name": "direction"
|
33111
33204
|
}
|
33112
33205
|
],
|
33113
33206
|
"description": "Traps focus within the container.",
|
@@ -33645,6 +33738,36 @@
|
|
33645
33738
|
"module": "components/popover/popover.component.js"
|
33646
33739
|
}
|
33647
33740
|
},
|
33741
|
+
{
|
33742
|
+
"kind": "field",
|
33743
|
+
"name": "handleMouseEnter",
|
33744
|
+
"privacy": "private",
|
33745
|
+
"description": "Handles mouse enter event on the trigger element.\nThis method sets the `isHovered` flag to true and shows the popover",
|
33746
|
+
"inheritedFrom": {
|
33747
|
+
"name": "Popover",
|
33748
|
+
"module": "components/popover/popover.component.js"
|
33749
|
+
}
|
33750
|
+
},
|
33751
|
+
{
|
33752
|
+
"kind": "field",
|
33753
|
+
"name": "handleMouseLeave",
|
33754
|
+
"privacy": "private",
|
33755
|
+
"description": "Handles mouse leave event on the trigger element.\nThis method sets the `isHovered` flag to false and starts the close delay\ntimer to hide the popover.",
|
33756
|
+
"inheritedFrom": {
|
33757
|
+
"name": "Popover",
|
33758
|
+
"module": "components/popover/popover.component.js"
|
33759
|
+
}
|
33760
|
+
},
|
33761
|
+
{
|
33762
|
+
"kind": "field",
|
33763
|
+
"name": "handleFocusOut",
|
33764
|
+
"privacy": "private",
|
33765
|
+
"description": "Handles focus out event on the trigger element.\nThis method checks if the popover is not hovered and hides the popover.\nIf the popover is hovered, it will not hide the popover.",
|
33766
|
+
"inheritedFrom": {
|
33767
|
+
"name": "Popover",
|
33768
|
+
"module": "components/popover/popover.component.js"
|
33769
|
+
}
|
33770
|
+
},
|
33648
33771
|
{
|
33649
33772
|
"kind": "field",
|
33650
33773
|
"name": "startCloseDelay",
|
@@ -34882,11 +35005,14 @@
|
|
34882
35005
|
"privacy": "private",
|
34883
35006
|
"parameters": [
|
34884
35007
|
{
|
34885
|
-
"name": "
|
35008
|
+
"name": "event",
|
34886
35009
|
"type": {
|
34887
|
-
"text": "
|
34888
|
-
}
|
34889
|
-
|
35010
|
+
"text": "KeyboardEvent"
|
35011
|
+
}
|
35012
|
+
},
|
35013
|
+
{
|
35014
|
+
"description": "The direction of the focus trap.\nIf true, the focus will be trapped in the previous element.",
|
35015
|
+
"name": "direction"
|
34890
35016
|
}
|
34891
35017
|
],
|
34892
35018
|
"description": "Traps focus within the container.",
|
@@ -35439,6 +35565,36 @@
|
|
35439
35565
|
"module": "components/popover/popover.component.js"
|
35440
35566
|
}
|
35441
35567
|
},
|
35568
|
+
{
|
35569
|
+
"kind": "field",
|
35570
|
+
"name": "handleMouseEnter",
|
35571
|
+
"privacy": "private",
|
35572
|
+
"description": "Handles mouse enter event on the trigger element.\nThis method sets the `isHovered` flag to true and shows the popover",
|
35573
|
+
"inheritedFrom": {
|
35574
|
+
"name": "Popover",
|
35575
|
+
"module": "components/popover/popover.component.js"
|
35576
|
+
}
|
35577
|
+
},
|
35578
|
+
{
|
35579
|
+
"kind": "field",
|
35580
|
+
"name": "handleMouseLeave",
|
35581
|
+
"privacy": "private",
|
35582
|
+
"description": "Handles mouse leave event on the trigger element.\nThis method sets the `isHovered` flag to false and starts the close delay\ntimer to hide the popover.",
|
35583
|
+
"inheritedFrom": {
|
35584
|
+
"name": "Popover",
|
35585
|
+
"module": "components/popover/popover.component.js"
|
35586
|
+
}
|
35587
|
+
},
|
35588
|
+
{
|
35589
|
+
"kind": "field",
|
35590
|
+
"name": "handleFocusOut",
|
35591
|
+
"privacy": "private",
|
35592
|
+
"description": "Handles focus out event on the trigger element.\nThis method checks if the popover is not hovered and hides the popover.\nIf the popover is hovered, it will not hide the popover.",
|
35593
|
+
"inheritedFrom": {
|
35594
|
+
"name": "Popover",
|
35595
|
+
"module": "components/popover/popover.component.js"
|
35596
|
+
}
|
35597
|
+
},
|
35442
35598
|
{
|
35443
35599
|
"kind": "field",
|
35444
35600
|
"name": "startCloseDelay",
|
@@ -37634,11 +37790,14 @@
|
|
37634
37790
|
"privacy": "private",
|
37635
37791
|
"parameters": [
|
37636
37792
|
{
|
37637
|
-
"name": "
|
37793
|
+
"name": "event",
|
37638
37794
|
"type": {
|
37639
|
-
"text": "
|
37640
|
-
}
|
37641
|
-
|
37795
|
+
"text": "KeyboardEvent"
|
37796
|
+
}
|
37797
|
+
},
|
37798
|
+
{
|
37799
|
+
"description": "The direction of the focus trap.\nIf true, the focus will be trapped in the previous element.",
|
37800
|
+
"name": "direction"
|
37642
37801
|
}
|
37643
37802
|
],
|
37644
37803
|
"description": "Traps focus within the container."
|