@momentum-design/components 0.85.2 → 0.85.4

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.
Files changed (32) hide show
  1. package/dist/browser/index.js +238 -230
  2. package/dist/browser/index.js.map +4 -4
  3. package/dist/components/formfieldwrapper/formfieldwrapper.component.d.ts +1 -1
  4. package/dist/components/formfieldwrapper/formfieldwrapper.component.js +1 -1
  5. package/dist/components/listitem/listitem.component.d.ts +11 -0
  6. package/dist/components/listitem/listitem.component.js +11 -3
  7. package/dist/components/listitem/listitem.constants.d.ts +2 -2
  8. package/dist/components/listitem/listitem.constants.js +3 -2
  9. package/dist/components/listitem/listitem.styles.js +9 -1
  10. package/dist/components/menubar/menubar.component.d.ts +31 -5
  11. package/dist/components/menubar/menubar.component.js +198 -9
  12. package/dist/components/menubar/menubar.constants.d.ts +3 -4
  13. package/dist/components/menubar/menubar.constants.js +3 -4
  14. package/dist/components/menupopover/menupopover.component.d.ts +3 -0
  15. package/dist/components/menupopover/menupopover.component.js +26 -4
  16. package/dist/components/menupopover/menupopover.constants.d.ts +1 -0
  17. package/dist/components/menupopover/menupopover.constants.js +1 -0
  18. package/dist/components/navitemlist/navitemlist.component.d.ts +1 -2
  19. package/dist/components/navitemlist/navitemlist.component.js +1 -4
  20. package/dist/components/popover/popover.component.js +8 -2
  21. package/dist/components/popover/popover.stack.d.ts +7 -0
  22. package/dist/components/popover/popover.stack.js +9 -0
  23. package/dist/custom-elements.json +832 -1941
  24. package/dist/react/index.d.ts +2 -2
  25. package/dist/react/index.js +2 -2
  26. package/dist/react/menubar/index.d.ts +6 -3
  27. package/dist/react/menubar/index.js +6 -3
  28. package/package.json +1 -1
  29. package/dist/components/menubar/menubar.types.d.ts +0 -4
  30. package/dist/components/menubar/menubar.types.js +0 -1
  31. package/dist/utils/mixins/MenuMixin.d.ts +0 -10
  32. package/dist/utils/mixins/MenuMixin.js +0 -479
@@ -2203,138 +2203,6 @@
2203
2203
  }
2204
2204
  ]
2205
2205
  },
2206
- {
2207
- "kind": "javascript-module",
2208
- "path": "components/buttongroup/buttongroup.component.js",
2209
- "declarations": [
2210
- {
2211
- "kind": "class",
2212
- "description": "buttongroup component, is a styled wrapper for multiple buttons.\nIt can support icon buttons, combination of icon and pill buttons, and text buttons.\nThey are available in horizontal and vertical orientation.",
2213
- "name": "ButtonGroup",
2214
- "cssProperties": [
2215
- {
2216
- "description": "The border radius of the buttongroup",
2217
- "name": "--mdc-buttongroup-border-radius"
2218
- },
2219
- {
2220
- "description": "The border color of the buttongroup",
2221
- "name": "--mdc-buttongroup-border-color"
2222
- },
2223
- {
2224
- "description": "The color of the divider between buttons within the buttongroup",
2225
- "name": "--mdc-buttongroup-divider-color"
2226
- }
2227
- ],
2228
- "slots": [
2229
- {
2230
- "description": "This is a default/unnamed slot, which contains the buttons",
2231
- "name": "default"
2232
- }
2233
- ],
2234
- "members": [
2235
- {
2236
- "kind": "field",
2237
- "name": "orientation",
2238
- "type": {
2239
- "text": "ButtonGroupOrientation"
2240
- },
2241
- "description": "Orientation of the buttongroup.",
2242
- "default": "'horizontal'",
2243
- "attribute": "orientation",
2244
- "reflects": true
2245
- },
2246
- {
2247
- "kind": "field",
2248
- "name": "variant",
2249
- "type": {
2250
- "text": "ButtonGroupVariant"
2251
- },
2252
- "description": "Variant of the buttons within the buttongroup.",
2253
- "default": "'primary'",
2254
- "attribute": "variant",
2255
- "reflects": true
2256
- },
2257
- {
2258
- "kind": "field",
2259
- "name": "size",
2260
- "type": {
2261
- "text": "ButtonGroupSize"
2262
- },
2263
- "description": "Size of the buttons within the buttongroup.",
2264
- "default": "'28'",
2265
- "attribute": "size",
2266
- "reflects": true
2267
- },
2268
- {
2269
- "kind": "field",
2270
- "name": "compact",
2271
- "type": {
2272
- "text": "boolean"
2273
- },
2274
- "default": "false",
2275
- "description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
2276
- "attribute": "compact",
2277
- "reflects": true
2278
- }
2279
- ],
2280
- "attributes": [
2281
- {
2282
- "name": "orientation",
2283
- "type": {
2284
- "text": "ButtonGroupOrientation"
2285
- },
2286
- "description": "Orientation of the buttongroup.",
2287
- "default": "'horizontal'",
2288
- "fieldName": "orientation"
2289
- },
2290
- {
2291
- "name": "variant",
2292
- "type": {
2293
- "text": "ButtonGroupVariant"
2294
- },
2295
- "description": "Variant of the buttons within the buttongroup.",
2296
- "default": "'primary'",
2297
- "fieldName": "variant"
2298
- },
2299
- {
2300
- "name": "size",
2301
- "type": {
2302
- "text": "ButtonGroupSize"
2303
- },
2304
- "description": "Size of the buttons within the buttongroup.",
2305
- "default": "'28'",
2306
- "fieldName": "size"
2307
- },
2308
- {
2309
- "name": "compact",
2310
- "type": {
2311
- "text": "boolean"
2312
- },
2313
- "default": "false",
2314
- "description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
2315
- "fieldName": "compact"
2316
- }
2317
- ],
2318
- "superclass": {
2319
- "name": "Component",
2320
- "module": "/src/models"
2321
- },
2322
- "tagName": "mdc-buttongroup",
2323
- "jsDoc": "/**\n * buttongroup component, is a styled wrapper for multiple buttons.\n * It can support icon buttons, combination of icon and pill buttons, and text buttons.\n * They are available in horizontal and vertical orientation.\n *\n * @tagname mdc-buttongroup\n *\n * @slot default - This is a default/unnamed slot, which contains the buttons\n *\n * @cssproperty --mdc-buttongroup-border-radius - The border radius of the buttongroup\n * @cssproperty --mdc-buttongroup-border-color - The border color of the buttongroup\n * @cssproperty --mdc-buttongroup-divider-color - The color of the divider between buttons within the buttongroup\n */",
2324
- "customElement": true
2325
- }
2326
- ],
2327
- "exports": [
2328
- {
2329
- "kind": "js",
2330
- "name": "default",
2331
- "declaration": {
2332
- "name": "ButtonGroup",
2333
- "module": "components/buttongroup/buttongroup.component.js"
2334
- }
2335
- }
2336
- ]
2337
- },
2338
2206
  {
2339
2207
  "kind": "javascript-module",
2340
2208
  "path": "components/button/button.component.js",
@@ -3030,6 +2898,138 @@
3030
2898
  }
3031
2899
  ]
3032
2900
  },
2901
+ {
2902
+ "kind": "javascript-module",
2903
+ "path": "components/buttongroup/buttongroup.component.js",
2904
+ "declarations": [
2905
+ {
2906
+ "kind": "class",
2907
+ "description": "buttongroup component, is a styled wrapper for multiple buttons.\nIt can support icon buttons, combination of icon and pill buttons, and text buttons.\nThey are available in horizontal and vertical orientation.",
2908
+ "name": "ButtonGroup",
2909
+ "cssProperties": [
2910
+ {
2911
+ "description": "The border radius of the buttongroup",
2912
+ "name": "--mdc-buttongroup-border-radius"
2913
+ },
2914
+ {
2915
+ "description": "The border color of the buttongroup",
2916
+ "name": "--mdc-buttongroup-border-color"
2917
+ },
2918
+ {
2919
+ "description": "The color of the divider between buttons within the buttongroup",
2920
+ "name": "--mdc-buttongroup-divider-color"
2921
+ }
2922
+ ],
2923
+ "slots": [
2924
+ {
2925
+ "description": "This is a default/unnamed slot, which contains the buttons",
2926
+ "name": "default"
2927
+ }
2928
+ ],
2929
+ "members": [
2930
+ {
2931
+ "kind": "field",
2932
+ "name": "orientation",
2933
+ "type": {
2934
+ "text": "ButtonGroupOrientation"
2935
+ },
2936
+ "description": "Orientation of the buttongroup.",
2937
+ "default": "'horizontal'",
2938
+ "attribute": "orientation",
2939
+ "reflects": true
2940
+ },
2941
+ {
2942
+ "kind": "field",
2943
+ "name": "variant",
2944
+ "type": {
2945
+ "text": "ButtonGroupVariant"
2946
+ },
2947
+ "description": "Variant of the buttons within the buttongroup.",
2948
+ "default": "'primary'",
2949
+ "attribute": "variant",
2950
+ "reflects": true
2951
+ },
2952
+ {
2953
+ "kind": "field",
2954
+ "name": "size",
2955
+ "type": {
2956
+ "text": "ButtonGroupSize"
2957
+ },
2958
+ "description": "Size of the buttons within the buttongroup.",
2959
+ "default": "'28'",
2960
+ "attribute": "size",
2961
+ "reflects": true
2962
+ },
2963
+ {
2964
+ "kind": "field",
2965
+ "name": "compact",
2966
+ "type": {
2967
+ "text": "boolean"
2968
+ },
2969
+ "default": "false",
2970
+ "description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
2971
+ "attribute": "compact",
2972
+ "reflects": true
2973
+ }
2974
+ ],
2975
+ "attributes": [
2976
+ {
2977
+ "name": "orientation",
2978
+ "type": {
2979
+ "text": "ButtonGroupOrientation"
2980
+ },
2981
+ "description": "Orientation of the buttongroup.",
2982
+ "default": "'horizontal'",
2983
+ "fieldName": "orientation"
2984
+ },
2985
+ {
2986
+ "name": "variant",
2987
+ "type": {
2988
+ "text": "ButtonGroupVariant"
2989
+ },
2990
+ "description": "Variant of the buttons within the buttongroup.",
2991
+ "default": "'primary'",
2992
+ "fieldName": "variant"
2993
+ },
2994
+ {
2995
+ "name": "size",
2996
+ "type": {
2997
+ "text": "ButtonGroupSize"
2998
+ },
2999
+ "description": "Size of the buttons within the buttongroup.",
3000
+ "default": "'28'",
3001
+ "fieldName": "size"
3002
+ },
3003
+ {
3004
+ "name": "compact",
3005
+ "type": {
3006
+ "text": "boolean"
3007
+ },
3008
+ "default": "false",
3009
+ "description": "When this is true, the buttons within the buttongroup will be compact.\ni.e. Irrespective of the size of the buttons, they will have a height of 24px.",
3010
+ "fieldName": "compact"
3011
+ }
3012
+ ],
3013
+ "superclass": {
3014
+ "name": "Component",
3015
+ "module": "/src/models"
3016
+ },
3017
+ "tagName": "mdc-buttongroup",
3018
+ "jsDoc": "/**\n * buttongroup component, is a styled wrapper for multiple buttons.\n * It can support icon buttons, combination of icon and pill buttons, and text buttons.\n * They are available in horizontal and vertical orientation.\n *\n * @tagname mdc-buttongroup\n *\n * @slot default - This is a default/unnamed slot, which contains the buttons\n *\n * @cssproperty --mdc-buttongroup-border-radius - The border radius of the buttongroup\n * @cssproperty --mdc-buttongroup-border-color - The border color of the buttongroup\n * @cssproperty --mdc-buttongroup-divider-color - The color of the divider between buttons within the buttongroup\n */",
3019
+ "customElement": true
3020
+ }
3021
+ ],
3022
+ "exports": [
3023
+ {
3024
+ "kind": "js",
3025
+ "name": "default",
3026
+ "declaration": {
3027
+ "name": "ButtonGroup",
3028
+ "module": "components/buttongroup/buttongroup.component.js"
3029
+ }
3030
+ }
3031
+ ]
3032
+ },
3033
3033
  {
3034
3034
  "kind": "javascript-module",
3035
3035
  "path": "components/buttonlink/buttonlink.component.js",
@@ -14698,6 +14698,17 @@
14698
14698
  "attribute": "subline-text",
14699
14699
  "reflects": true
14700
14700
  },
14701
+ {
14702
+ "kind": "field",
14703
+ "name": "softDisabled",
14704
+ "type": {
14705
+ "text": "boolean | undefined"
14706
+ },
14707
+ "description": "Indicates whether the element is soft disabled.\nWhen set to `true`, the element appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe element behaves like a disabled element, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
14708
+ "default": "undefined",
14709
+ "attribute": "soft-disabled",
14710
+ "reflects": true
14711
+ },
14701
14712
  {
14702
14713
  "kind": "field",
14703
14714
  "name": "tooltipText",
@@ -14825,6 +14836,7 @@
14825
14836
  "parameters": [
14826
14837
  {
14827
14838
  "name": "disabled",
14839
+ "default": "false",
14828
14840
  "type": {
14829
14841
  "text": "boolean"
14830
14842
  },
@@ -14978,6 +14990,15 @@
14978
14990
  "description": "The subline text of the list item.\nThis appears on the trailing side of the list item.",
14979
14991
  "fieldName": "sublineText"
14980
14992
  },
14993
+ {
14994
+ "name": "soft-disabled",
14995
+ "type": {
14996
+ "text": "boolean | undefined"
14997
+ },
14998
+ "description": "Indicates whether the element is soft disabled.\nWhen set to `true`, the element appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe element behaves like a disabled element, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
14999
+ "default": "undefined",
15000
+ "fieldName": "softDisabled"
15001
+ },
14981
15002
  {
14982
15003
  "name": "tooltip-text",
14983
15004
  "type": {
@@ -15129,7 +15150,7 @@
15129
15150
  "declarations": [
15130
15151
  {
15131
15152
  "kind": "class",
15132
- "description": "Menubar is a navigational menu component that provides a horizontal (default) or vertical fixed list of menu items,\nwith support for nested submenus and keyboard navigation. It serves as a container\nfor menu items and manages their interaction patterns, including:\n- Keyboard navigation (arrow keys, Home, End)\n- Menu item activation (Enter/Space)\n- Submenu toggling (Right/Left arrow keys)\n- Focus management\n- Support for both horizontal and vertical orientations\n- Integration with MenuPopover for nested menus\n\nA menubar will contain a set of menu items and their associated popovers.\nEach menu item can have a popover for nested menus.\n\nThe component automatically handles ARIA attributes and follows WAI-ARIA menu design patterns.\nIt works in conjunction with `mdc-menuitem` and `mdc-menupopover` to create accessible menu structures.",
15153
+ "description": "Menubar is a navigational menu component that provides a vertical fixed list of menu items,\nwith support for nested submenus and keyboard navigation. It serves as a container\nfor menu items and manages their interaction patterns, including:\n- Keyboard navigation (Arrow keys, Home, End)\n- Menu item activation (Enter/Space)\n- Submenu toggling (Right/Left arrow keys)\n- Focus management\n- Integration with MenuPopover for nested menus\n\nA menubar will contain a set of menu items and their associated popovers.\nEach menu item can have a popover for nested menus.\n\nThe component automatically handles ARIA attributes and follows WAI-ARIA menu design patterns.\nIt works in conjunction with `mdc-menuitem` and `mdc-menupopover` to create accessible menu structures.\n\n**Note:** A menubar contains three types of menu items, including menuitem, menuitemradio and menuitemcheckbox. These menu items may optionally be nested in one or more group containers. Groups or items may optionally by separated with separator elements.\n\n`mdc-menubar` contains a group that wraps all its chilren passed within the default slot. This has been added to ensure the right accessibility behavior while using screen readers.",
15133
15154
  "name": "MenuBar",
15134
15155
  "slots": [
15135
15156
  {
@@ -15140,227 +15161,60 @@
15140
15161
  "members": [
15141
15162
  {
15142
15163
  "kind": "field",
15143
- "name": "ariaOrientation",
15164
+ "name": "menuItems",
15144
15165
  "type": {
15145
- "text": "Orientation"
15146
- },
15147
- "description": "Defines the orientation of the menu. This value is reflected to\nthe `aria-orientation` attribute and can be either `'horizontal'` or `'vertical'`.",
15148
- "default": "'horizontal'",
15149
- "attribute": "aria-orientation",
15150
- "reflects": true,
15151
- "inheritedFrom": {
15152
- "name": "MenuMixin",
15153
- "module": "utils/mixins/MenuMixin.js"
15154
- }
15155
- },
15156
- {
15157
- "kind": "method",
15158
- "name": "setMenuBarPopoverValue",
15159
- "privacy": "private",
15160
- "parameters": [
15161
- {
15162
- "name": "value",
15163
- "type": {
15164
- "text": "boolean"
15165
- },
15166
- "description": "The value to set."
15167
- }
15168
- ],
15169
- "description": "Sets the value of the data-menu-popover-open attribute on the menu element.",
15170
- "inheritedFrom": {
15171
- "name": "MenuMixin",
15172
- "module": "utils/mixins/MenuMixin.js"
15173
- }
15174
- },
15175
- {
15176
- "kind": "method",
15177
- "name": "isMenuPopoverOpen",
15178
- "privacy": "private",
15179
- "return": {
15180
- "type": {
15181
- "text": "boolean"
15182
- }
15183
- },
15184
- "description": "Returns true if the data-menu-popover-open attribute on the menu element is set to 'true', false otherwise.",
15185
- "inheritedFrom": {
15186
- "name": "MenuMixin",
15187
- "module": "utils/mixins/MenuMixin.js"
15166
+ "text": "Array<HTMLElement>"
15188
15167
  }
15189
15168
  },
15190
15169
  {
15191
15170
  "kind": "method",
15192
- "name": "getCurrentIndex",
15193
- "privacy": "private",
15194
- "return": {
15195
- "type": {
15196
- "text": ""
15197
- }
15198
- },
15199
- "parameters": [
15200
- {
15201
- "name": "target",
15202
- "type": {
15203
- "text": "EventTarget | null"
15204
- },
15205
- "description": "The target element to find the index of."
15206
- }
15207
- ],
15208
- "description": "Returns the index of the given target in the menuItems array.\nIf the target is not a menu item, but a child element of a menu item,\nit returns the index of the parent menu item.",
15209
- "inheritedFrom": {
15210
- "name": "MenuMixin",
15211
- "module": "utils/mixins/MenuMixin.js"
15212
- }
15213
- },
15214
- {
15215
- "kind": "method",
15216
- "name": "updatePopoverPlacementBasedOnOrientation",
15217
- "privacy": "protected",
15218
- "return": {
15219
- "type": {
15220
- "text": "void"
15221
- }
15222
- },
15223
- "description": "Updates the placement of the popover based on the aria-orientation property.",
15224
- "inheritedFrom": {
15225
- "name": "MenuMixin",
15226
- "module": "utils/mixins/MenuMixin.js"
15227
- }
15228
- },
15229
- {
15230
- "kind": "method",
15231
- "name": "updateTabIndexAndFocusNewIndex",
15171
+ "name": "resetTabIndexAndSetActiveTabIndex",
15232
15172
  "privacy": "private",
15233
15173
  "parameters": [
15234
15174
  {
15235
15175
  "name": "menuItems",
15236
15176
  "type": {
15237
15177
  "text": "Array<HTMLElement>"
15238
- },
15239
- "description": "The list of menu items."
15240
- },
15241
- {
15242
- "name": "currentIndex",
15243
- "type": {
15244
- "text": "number"
15245
- },
15246
- "description": "The current index of the focused menu item."
15178
+ }
15247
15179
  },
15248
15180
  {
15249
- "name": "newIndex",
15250
- "type": {
15251
- "text": "number"
15252
- },
15253
- "description": "The index of the new active element in the list."
15254
- }
15255
- ],
15256
- "description": "Updates the tabindex of the current index to -1 and the tabindex of the new index to 0,\neffectively setting the active element. This is used when navigating the menu via keyboard.",
15257
- "inheritedFrom": {
15258
- "name": "MenuMixin",
15259
- "module": "utils/mixins/MenuMixin.js"
15260
- }
15261
- },
15262
- {
15263
- "kind": "method",
15264
- "name": "isValidMenu",
15265
- "privacy": "private",
15266
- "return": {
15267
- "type": {
15268
- "text": ""
15269
- }
15270
- },
15271
- "parameters": [
15272
- {
15273
- "name": "tagName",
15274
- "optional": true,
15275
- "type": {
15276
- "text": "string"
15277
- },
15278
- "description": "The tag name to check."
15279
- }
15280
- ],
15281
- "description": "Checks if the given tag name is a valid menu tag name.",
15282
- "inheritedFrom": {
15283
- "name": "MenuMixin",
15284
- "module": "utils/mixins/MenuMixin.js"
15285
- }
15286
- },
15287
- {
15288
- "kind": "method",
15289
- "name": "isValidNavItemList",
15290
- "privacy": "private",
15291
- "return": {
15292
- "type": {
15293
- "text": ""
15294
- }
15295
- },
15296
- "parameters": [
15297
- {
15298
- "name": "tagName",
15299
- "optional": true,
15300
- "type": {
15301
- "text": "string"
15302
- },
15303
- "description": "The tag name to check."
15181
+ "description": "The index of the new active element in the list.",
15182
+ "name": "newIndex"
15304
15183
  }
15305
15184
  ],
15306
- "description": "Checks if the given tag name is a valid navitemlist tag name.",
15307
- "inheritedFrom": {
15308
- "name": "MenuMixin",
15309
- "module": "utils/mixins/MenuMixin.js"
15310
- }
15185
+ "description": "Resets all list items tabindex to -1 and sets the tabindex of the\nelement at the given index to 0, effectively setting the active\nelement. This is used when navigating the list via keyboard."
15311
15186
  },
15312
15187
  {
15313
15188
  "kind": "method",
15314
- "name": "isValidPopover",
15189
+ "name": "getCurrentIndex",
15315
15190
  "privacy": "private",
15316
15191
  "return": {
15317
15192
  "type": {
15318
- "text": ""
15193
+ "text": "number"
15319
15194
  }
15320
15195
  },
15321
15196
  "parameters": [
15322
15197
  {
15323
- "name": "tagName",
15324
- "optional": true,
15198
+ "name": "target",
15325
15199
  "type": {
15326
- "text": "string"
15327
- },
15328
- "description": "The tag name to check."
15200
+ "text": "EventTarget | null"
15201
+ }
15329
15202
  }
15330
- ],
15331
- "description": "Checks if the given tag name is a valid menu popover tag name.",
15332
- "inheritedFrom": {
15333
- "name": "MenuMixin",
15334
- "module": "utils/mixins/MenuMixin.js"
15335
- }
15203
+ ]
15336
15204
  },
15337
15205
  {
15338
15206
  "kind": "method",
15339
- "name": "openPopover",
15207
+ "name": "updatePopoverPlacement",
15340
15208
  "privacy": "private",
15341
15209
  "return": {
15342
15210
  "type": {
15343
- "text": ""
15344
- }
15345
- },
15346
- "parameters": [
15347
- {
15348
- "name": "index",
15349
- "type": {
15350
- "text": "number"
15351
- },
15352
- "description": "The index of the menu item to open the popover for."
15211
+ "text": "void"
15353
15212
  }
15354
- ],
15355
- "description": "Opens the popover at the given index if it exists.",
15356
- "inheritedFrom": {
15357
- "name": "MenuMixin",
15358
- "module": "utils/mixins/MenuMixin.js"
15359
15213
  }
15360
15214
  },
15361
15215
  {
15362
15216
  "kind": "method",
15363
- "name": "navigateToPrevMenuItem",
15217
+ "name": "updateTabIndexAndFocus",
15364
15218
  "privacy": "private",
15365
15219
  "return": {
15366
15220
  "type": {
@@ -15369,43 +15223,28 @@
15369
15223
  },
15370
15224
  "parameters": [
15371
15225
  {
15372
- "name": "currentIndex",
15226
+ "name": "menuItems",
15373
15227
  "type": {
15374
- "text": "number"
15375
- },
15376
- "description": "The current index of the focused menu item."
15228
+ "text": "HTMLElement[]"
15229
+ }
15377
15230
  },
15378
15231
  {
15379
- "name": "firstMenuIndex",
15232
+ "name": "currentIndex",
15380
15233
  "type": {
15381
15234
  "text": "number"
15382
- },
15383
- "description": "The index of the first menu item."
15235
+ }
15384
15236
  },
15385
15237
  {
15386
- "name": "lastMenuIndex",
15238
+ "name": "newIndex",
15387
15239
  "type": {
15388
15240
  "text": "number"
15389
- },
15390
- "description": "The index of the last menu item."
15391
- },
15392
- {
15393
- "name": "ariaOrientation",
15394
- "type": {
15395
- "text": "Orientation"
15396
- },
15397
- "description": "The orientation of the menu."
15241
+ }
15398
15242
  }
15399
- ],
15400
- "description": "Navigates to the previous menu item and updates the tabindex of the current index\nto -1 and the tabindex of the new index to 0.",
15401
- "inheritedFrom": {
15402
- "name": "MenuMixin",
15403
- "module": "utils/mixins/MenuMixin.js"
15404
- }
15243
+ ]
15405
15244
  },
15406
15245
  {
15407
15246
  "kind": "method",
15408
- "name": "navigateToNextMenuItem",
15247
+ "name": "navigateToMenuItem",
15409
15248
  "privacy": "private",
15410
15249
  "return": {
15411
15250
  "type": {
@@ -15417,72 +15256,23 @@
15417
15256
  "name": "currentIndex",
15418
15257
  "type": {
15419
15258
  "text": "number"
15420
- },
15421
- "description": "The current index of the focused menu item."
15422
- },
15423
- {
15424
- "name": "firstMenuIndex",
15425
- "type": {
15426
- "text": "number"
15427
- },
15428
- "description": "The index of the first menu item."
15429
- },
15430
- {
15431
- "name": "lastMenuIndex",
15432
- "type": {
15433
- "text": "number"
15434
- },
15435
- "description": "The index of the last menu item."
15259
+ }
15436
15260
  },
15437
15261
  {
15438
- "name": "ariaOrientation",
15439
- "type": {
15440
- "text": "Orientation"
15441
- },
15442
- "description": "The orientation of the menu."
15443
- }
15444
- ],
15445
- "description": "Navigates to the next menu item and updates the tabindex of the current index\nto -1 and the tabindex of the new index to 0.",
15446
- "inheritedFrom": {
15447
- "name": "MenuMixin",
15448
- "module": "utils/mixins/MenuMixin.js"
15449
- }
15450
- },
15451
- {
15452
- "kind": "method",
15453
- "name": "getParentMenuItemDetails",
15454
- "privacy": "private",
15455
- "return": {
15456
- "type": {
15457
- "text": ""
15458
- }
15459
- },
15460
- "parameters": [
15461
- {
15462
- "name": "menuChildId",
15262
+ "name": "direction",
15463
15263
  "type": {
15464
- "text": "string"
15465
- },
15466
- "description": "The id of the menu child element."
15264
+ "text": "'prev' | 'next'"
15265
+ }
15467
15266
  },
15468
15267
  {
15469
- "name": "menu",
15470
- "optional": true,
15471
- "type": {
15472
- "text": "HTMLElement | null"
15473
- },
15474
- "description": "The current menu element to start traversing from."
15268
+ "name": "shouldOpenSubmenu",
15269
+ "default": "false"
15475
15270
  }
15476
- ],
15477
- "description": "Returns the parent menu item details for the given menu child id.\nIt recursively traverses up the DOM tree until it finds a menu or menubar element.",
15478
- "inheritedFrom": {
15479
- "name": "MenuMixin",
15480
- "module": "utils/mixins/MenuMixin.js"
15481
- }
15271
+ ]
15482
15272
  },
15483
15273
  {
15484
15274
  "kind": "method",
15485
- "name": "hideAllPopovers",
15275
+ "name": "showSubmenu",
15486
15276
  "privacy": "private",
15487
15277
  "return": {
15488
15278
  "type": {
@@ -15491,275 +15281,161 @@
15491
15281
  },
15492
15282
  "parameters": [
15493
15283
  {
15494
- "name": "menu",
15495
- "optional": true,
15284
+ "name": "triggerId",
15496
15285
  "type": {
15497
- "text": "HTMLElement | null"
15498
- },
15499
- "description": "The current menu element to start traversing from."
15286
+ "text": "string | null"
15287
+ }
15500
15288
  }
15501
- ],
15502
- "description": "Recursively hides all the popovers up the DOM tree until it finds a menu or menubar element.",
15503
- "inheritedFrom": {
15504
- "name": "MenuMixin",
15505
- "module": "utils/mixins/MenuMixin.js"
15506
- }
15289
+ ]
15507
15290
  },
15508
15291
  {
15509
15292
  "kind": "method",
15510
- "name": "navigateToPrevParentMenuItem",
15293
+ "name": "getKeyWithDirectionFix",
15511
15294
  "privacy": "private",
15512
15295
  "return": {
15513
15296
  "type": {
15514
- "text": "void"
15297
+ "text": "string"
15515
15298
  }
15516
15299
  },
15517
15300
  "parameters": [
15518
15301
  {
15519
- "name": "currentIndex",
15520
- "type": {
15521
- "text": "number"
15522
- },
15523
- "description": "The current index of the focused menu item."
15524
- },
15525
- {
15526
- "name": "key",
15302
+ "name": "originalKey",
15527
15303
  "type": {
15528
15304
  "text": "string"
15529
15305
  }
15530
15306
  }
15531
- ],
15532
- "description": "Recursively navigates up the DOM tree until it finds the previous menu item\nand updates the tabindex of the current index to -1 and the tabindex of the new index to 0.\nAlso opens the popover of the previous menu item.",
15533
- "inheritedFrom": {
15534
- "name": "MenuMixin",
15535
- "module": "utils/mixins/MenuMixin.js"
15536
- }
15307
+ ]
15537
15308
  },
15538
15309
  {
15539
15310
  "kind": "method",
15540
- "name": "closePopoverAndNavigateToPrevParentMenuItem",
15311
+ "name": "isTopLevelMenuItem",
15541
15312
  "privacy": "private",
15542
15313
  "return": {
15543
15314
  "type": {
15544
- "text": "void"
15315
+ "text": "boolean"
15545
15316
  }
15546
15317
  },
15547
15318
  "parameters": [
15548
15319
  {
15549
- "name": "currentIndex",
15550
- "type": {
15551
- "text": "number"
15552
- },
15553
- "description": "The current index of the focused menu item."
15554
- },
15555
- {
15556
- "name": "key",
15320
+ "name": "element",
15557
15321
  "type": {
15558
- "text": "string"
15322
+ "text": "HTMLElement"
15559
15323
  }
15560
15324
  }
15561
- ],
15562
- "description": "Closes the current menu popover and navigates to the previous parent menu item.",
15563
- "inheritedFrom": {
15564
- "name": "MenuMixin",
15565
- "module": "utils/mixins/MenuMixin.js"
15566
- }
15325
+ ]
15567
15326
  },
15568
15327
  {
15569
15328
  "kind": "method",
15570
- "name": "getParentMenuContents",
15329
+ "name": "isNestedMenuItem",
15571
15330
  "privacy": "private",
15572
15331
  "return": {
15573
15332
  "type": {
15574
- "text": ""
15333
+ "text": "boolean"
15575
15334
  }
15576
15335
  },
15577
15336
  "parameters": [
15578
15337
  {
15579
- "name": "currentMenuItem",
15338
+ "name": "element",
15580
15339
  "type": {
15581
- "text": "HTMLElement | null"
15582
- },
15583
- "description": "The current menu item to start traversing from."
15340
+ "text": "HTMLElement"
15341
+ }
15584
15342
  }
15585
- ],
15586
- "description": "Gets the parent menu contents of the given current menu item.\nIt recursively traverses up the DOM tree until it finds the parent menu element\nand gets the parent menu item details and the children of the parent menu item.",
15587
- "inheritedFrom": {
15588
- "name": "MenuMixin",
15589
- "module": "utils/mixins/MenuMixin.js"
15590
- }
15343
+ ]
15591
15344
  },
15592
15345
  {
15593
15346
  "kind": "method",
15594
- "name": "openPopoverAndNavigateToNextChildrenMenuItem",
15595
- "privacy": "private",
15596
- "return": {
15597
- "type": {
15598
- "text": "void"
15599
- }
15600
- },
15601
- "parameters": [
15602
- {
15603
- "name": "currentIndex",
15604
- "type": {
15605
- "text": "number"
15606
- },
15607
- "description": "The current index of the focused menu item."
15608
- }
15609
- ],
15610
- "description": "Opens the popover of the next children menu item if there are children.\nIf there are no children, then it closes all popovers recursively and\nnavigates to the next menu item from the menu bar.\nIf the parent menu item does not have any children, then we will go to the next menu item.",
15611
- "inheritedFrom": {
15612
- "name": "MenuMixin",
15613
- "module": "utils/mixins/MenuMixin.js"
15614
- }
15347
+ "name": "closeAllMenuPopovers",
15348
+ "privacy": "private"
15615
15349
  },
15616
15350
  {
15617
15351
  "kind": "method",
15618
- "name": "isValidMenuItem",
15352
+ "name": "crossMenubarNavigationOnLeft",
15619
15353
  "privacy": "private",
15620
15354
  "return": {
15621
15355
  "type": {
15622
- "text": ""
15356
+ "text": "Promise<void>"
15623
15357
  }
15624
15358
  },
15625
15359
  "parameters": [
15626
15360
  {
15627
- "name": "menuItem",
15361
+ "name": "element",
15628
15362
  "type": {
15629
15363
  "text": "HTMLElement"
15630
- },
15631
- "description": "The menu item to check."
15632
- }
15633
- ],
15634
- "description": "Checks if the given menu item is a valid menu item.",
15635
- "inheritedFrom": {
15636
- "name": "MenuMixin",
15637
- "module": "utils/mixins/MenuMixin.js"
15638
- }
15639
- },
15640
- {
15641
- "kind": "method",
15642
- "name": "resetTabIndexAndSetActiveTabIndex",
15643
- "privacy": "private",
15644
- "parameters": [
15645
- {
15646
- "name": "menuItems",
15647
- "type": {
15648
- "text": "Array<HTMLElement>"
15649
15364
  }
15650
- },
15651
- {
15652
- "description": "The index of the new active element in the list.",
15653
- "name": "newIndex"
15654
15365
  }
15655
- ],
15656
- "description": "Resets all list items tabindex to -1 and sets the tabindex of the\nelement at the given index to 0, effectively setting the active\nelement. This is used when navigating the list via keyboard.",
15657
- "inheritedFrom": {
15658
- "name": "MenuMixin",
15659
- "module": "utils/mixins/MenuMixin.js"
15660
- }
15366
+ ]
15661
15367
  },
15662
15368
  {
15663
15369
  "kind": "method",
15664
- "name": "getKeyBasedOnDirection",
15370
+ "name": "crossMenubarNavigationOnRight",
15665
15371
  "privacy": "private",
15666
15372
  "return": {
15667
15373
  "type": {
15668
- "text": ""
15374
+ "text": "Promise<void>"
15669
15375
  }
15670
15376
  },
15671
15377
  "parameters": [
15672
15378
  {
15673
- "name": "originalKey",
15379
+ "name": "element",
15674
15380
  "type": {
15675
- "text": "string"
15676
- },
15677
- "description": "The original key pressed."
15381
+ "text": "HTMLElement"
15382
+ }
15678
15383
  }
15679
- ],
15680
- "description": "Returns the key based on the direction of the document.\nIf the document is in RTL mode and the key is ARROW_LEFT or ARROW_RIGHT,\nit will swap them to maintain the correct navigation direction.",
15681
- "inheritedFrom": {
15682
- "name": "MenuMixin",
15683
- "module": "utils/mixins/MenuMixin.js"
15684
- }
15384
+ ]
15685
15385
  },
15686
15386
  {
15687
15387
  "kind": "method",
15688
- "name": "handleKeyDown",
15689
- "privacy": "protected",
15388
+ "name": "hasSubmenu",
15389
+ "privacy": "private",
15690
15390
  "return": {
15691
15391
  "type": {
15692
- "text": "void"
15392
+ "text": "boolean"
15693
15393
  }
15694
15394
  },
15695
15395
  "parameters": [
15696
15396
  {
15697
- "name": "event",
15397
+ "name": "triggerId",
15698
15398
  "type": {
15699
- "text": "KeyboardEvent"
15700
- },
15701
- "description": "The keyboard event."
15399
+ "text": "string | null"
15400
+ }
15702
15401
  }
15703
- ],
15704
- "description": "Handles the keydown event on the menu bar.\nThe keys are as follows:\n- HOME: Sets focus to the first menu item.\n- END: Sets focus to the last menu item.\n- ARROW_LEFT:\n - If orientation is horizontal, then it navigates to the previous menu item.\n - If orientation is vertical, then it closes the popover of the current menu item and\n navigates to the previous parent menu item.\n- ARROW_RIGHT:\n - If orientation is horizontal, then it navigates to the next menu item.\n - If orientation is vertical, then it opens the popover of the current menu item and\n navigates to the next children menu item.\n- ARROW_UP:\n - If orientation is horizontal, then it opens the popover of the current menu item.\n - If orientation is vertical, then it navigates to the previous menu item.\n- ARROW_DOWN:\n - If orientation is horizontal, then it opens the popover of the current menu item.\n - If orientation is vertical, then it navigates to the next menu item.\n- SPACE:\n- ENTER:\n - If the next element sibling is a menu popover, then it opens the popover of the current\n menu item and navigates to the next children menu item.\n - If the target element is a menu item, then it closes all popovers recursively and\n navigates to the previous parent menu item.\n- ESCAPE:\n - If a popover is already open then we close it and navigate to the parent menu item.\n - If the current menuitem is a child of menubar, then we will set the value of isMenuPopoverOpen to false.,",
15705
- "inheritedFrom": {
15706
- "name": "MenuMixin",
15707
- "module": "utils/mixins/MenuMixin.js"
15708
- }
15402
+ ]
15709
15403
  },
15710
15404
  {
15711
15405
  "kind": "method",
15712
- "name": "closeAllPopoversExceptCurrent",
15406
+ "name": "getParentMenuItemIndex",
15713
15407
  "privacy": "private",
15714
15408
  "return": {
15715
15409
  "type": {
15716
- "text": "void"
15410
+ "text": "number"
15717
15411
  }
15718
15412
  },
15719
15413
  "parameters": [
15720
15414
  {
15721
- "name": "currentIndex",
15415
+ "name": "element",
15722
15416
  "type": {
15723
- "text": "number"
15724
- },
15725
- "description": "The index of the current menu item."
15417
+ "text": "HTMLElement"
15418
+ }
15726
15419
  }
15727
- ],
15728
- "description": "Closes all popovers except the current one.",
15729
- "inheritedFrom": {
15730
- "name": "MenuMixin",
15731
- "module": "utils/mixins/MenuMixin.js"
15732
- }
15420
+ ]
15733
15421
  },
15734
15422
  {
15735
15423
  "kind": "method",
15736
- "name": "handleMouseClick",
15737
- "privacy": "protected",
15424
+ "name": "handleKeyDown",
15425
+ "privacy": "private",
15738
15426
  "return": {
15739
15427
  "type": {
15740
- "text": "void"
15428
+ "text": "Promise<void>"
15741
15429
  }
15742
15430
  },
15743
15431
  "parameters": [
15744
15432
  {
15745
15433
  "name": "event",
15746
15434
  "type": {
15747
- "text": "MouseEvent"
15748
- },
15749
- "description": "The mouse click event."
15435
+ "text": "KeyboardEvent"
15436
+ }
15750
15437
  }
15751
- ],
15752
- "description": "Handles the mouse click event on the menu items.\n- If the menuitem has children, then it opens the popover of the next children menu item.\n- If the menuitem does not have children, then it closes all popovers recursively.",
15753
- "inheritedFrom": {
15754
- "name": "MenuMixin",
15755
- "module": "utils/mixins/MenuMixin.js"
15756
- }
15757
- }
15758
- ],
15759
- "mixins": [
15760
- {
15761
- "name": "MenuMixin",
15762
- "module": "/src/utils/mixins/MenuMixin"
15438
+ ]
15763
15439
  }
15764
15440
  ],
15765
15441
  "superclass": {
@@ -15767,23 +15443,8 @@
15767
15443
  "module": "/src/models"
15768
15444
  },
15769
15445
  "tagName": "mdc-menubar",
15770
- "jsDoc": "/**\n * Menubar is a navigational menu component that provides a horizontal (default) or vertical fixed list of menu items,\n * with support for nested submenus and keyboard navigation. It serves as a container\n * for menu items and manages their interaction patterns, including:\n * - Keyboard navigation (arrow keys, Home, End)\n * - Menu item activation (Enter/Space)\n * - Submenu toggling (Right/Left arrow keys)\n * - Focus management\n * - Support for both horizontal and vertical orientations\n * - Integration with MenuPopover for nested menus\n *\n * A menubar will contain a set of menu items and their associated popovers.\n * Each menu item can have a popover for nested menus.\n *\n * The component automatically handles ARIA attributes and follows WAI-ARIA menu design patterns.\n * It works in conjunction with `mdc-menuitem` and `mdc-menupopover` to create accessible menu structures.\n *\n * @tagname mdc-menubar\n * @slot default - Contains the menu items and their associated popovers\n */",
15771
- "customElement": true,
15772
- "attributes": [
15773
- {
15774
- "name": "aria-orientation",
15775
- "type": {
15776
- "text": "Orientation"
15777
- },
15778
- "description": "Defines the orientation of the menu. This value is reflected to\nthe `aria-orientation` attribute and can be either `'horizontal'` or `'vertical'`.",
15779
- "default": "'horizontal'",
15780
- "fieldName": "ariaOrientation",
15781
- "inheritedFrom": {
15782
- "name": "MenuMixin",
15783
- "module": "src/utils/mixins/MenuMixin.ts"
15784
- }
15785
- }
15786
- ]
15446
+ "jsDoc": "/**\n * Menubar is a navigational menu component that provides a vertical fixed list of menu items,\n * with support for nested submenus and keyboard navigation. It serves as a container\n * for menu items and manages their interaction patterns, including:\n * - Keyboard navigation (Arrow keys, Home, End)\n * - Menu item activation (Enter/Space)\n * - Submenu toggling (Right/Left arrow keys)\n * - Focus management\n * - Integration with MenuPopover for nested menus\n *\n * A menubar will contain a set of menu items and their associated popovers.\n * Each menu item can have a popover for nested menus.\n *\n * The component automatically handles ARIA attributes and follows WAI-ARIA menu design patterns.\n * It works in conjunction with `mdc-menuitem` and `mdc-menupopover` to create accessible menu structures.\n *\n * **Note:** A menubar contains three types of menu items, including menuitem, menuitemradio and menuitemcheckbox. These menu items may optionally be nested in one or more group containers. Groups or items may optionally by separated with separator elements.\n *\n * `mdc-menubar` contains a group that wraps all its chilren passed within the default slot. This has been added to ensure the right accessibility behavior while using screen readers.\n *\n * @tagname mdc-menubar\n * @slot default - Contains the menu items and their associated popovers\n */",
15447
+ "customElement": true
15787
15448
  }
15788
15449
  ],
15789
15450
  "exports": [
@@ -16015,6 +15676,21 @@
16015
15676
  "module": "components/listitem/listitem.component.js"
16016
15677
  }
16017
15678
  },
15679
+ {
15680
+ "kind": "field",
15681
+ "name": "softDisabled",
15682
+ "type": {
15683
+ "text": "boolean | undefined"
15684
+ },
15685
+ "description": "Indicates whether the element is soft disabled.\nWhen set to `true`, the element appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe element behaves like a disabled element, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
15686
+ "default": "undefined",
15687
+ "attribute": "soft-disabled",
15688
+ "reflects": true,
15689
+ "inheritedFrom": {
15690
+ "name": "ListItem",
15691
+ "module": "components/listitem/listitem.component.js"
15692
+ }
15693
+ },
16018
15694
  {
16019
15695
  "kind": "field",
16020
15696
  "name": "tooltipText",
@@ -16150,6 +15826,7 @@
16150
15826
  "parameters": [
16151
15827
  {
16152
15828
  "name": "disabled",
15829
+ "default": "false",
16153
15830
  "type": {
16154
15831
  "text": "boolean"
16155
15832
  },
@@ -16341,6 +16018,19 @@
16341
16018
  "module": "src/components/listitem/listitem.component.ts"
16342
16019
  }
16343
16020
  },
16021
+ {
16022
+ "name": "soft-disabled",
16023
+ "type": {
16024
+ "text": "boolean | undefined"
16025
+ },
16026
+ "description": "Indicates whether the element is soft disabled.\nWhen set to `true`, the element appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe element behaves like a disabled element, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
16027
+ "default": "undefined",
16028
+ "fieldName": "softDisabled",
16029
+ "inheritedFrom": {
16030
+ "name": "ListItem",
16031
+ "module": "src/components/listitem/listitem.component.ts"
16032
+ }
16033
+ },
16344
16034
  {
16345
16035
  "name": "tooltip-text",
16346
16036
  "type": {
@@ -16872,6 +16562,21 @@
16872
16562
  "module": "components/listitem/listitem.component.js"
16873
16563
  }
16874
16564
  },
16565
+ {
16566
+ "kind": "field",
16567
+ "name": "softDisabled",
16568
+ "type": {
16569
+ "text": "boolean | undefined"
16570
+ },
16571
+ "description": "Indicates whether the element is soft disabled.\nWhen set to `true`, the element appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe element behaves like a disabled element, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
16572
+ "default": "undefined",
16573
+ "attribute": "soft-disabled",
16574
+ "reflects": true,
16575
+ "inheritedFrom": {
16576
+ "name": "ListItem",
16577
+ "module": "components/listitem/listitem.component.js"
16578
+ }
16579
+ },
16875
16580
  {
16876
16581
  "kind": "field",
16877
16582
  "name": "tooltipText",
@@ -17007,6 +16712,7 @@
17007
16712
  "parameters": [
17008
16713
  {
17009
16714
  "name": "disabled",
16715
+ "default": "false",
17010
16716
  "type": {
17011
16717
  "text": "boolean"
17012
16718
  },
@@ -17229,6 +16935,19 @@
17229
16935
  "module": "src/components/listitem/listitem.component.ts"
17230
16936
  }
17231
16937
  },
16938
+ {
16939
+ "name": "soft-disabled",
16940
+ "type": {
16941
+ "text": "boolean | undefined"
16942
+ },
16943
+ "description": "Indicates whether the element is soft disabled.\nWhen set to `true`, the element appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe element behaves like a disabled element, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
16944
+ "default": "undefined",
16945
+ "fieldName": "softDisabled",
16946
+ "inheritedFrom": {
16947
+ "name": "ListItem",
16948
+ "module": "src/components/listitem/listitem.component.ts"
16949
+ }
16950
+ },
17232
16951
  {
17233
16952
  "name": "tooltip-text",
17234
16953
  "type": {
@@ -17591,6 +17310,21 @@
17591
17310
  "module": "components/listitem/listitem.component.js"
17592
17311
  }
17593
17312
  },
17313
+ {
17314
+ "kind": "field",
17315
+ "name": "softDisabled",
17316
+ "type": {
17317
+ "text": "boolean | undefined"
17318
+ },
17319
+ "description": "Indicates whether the element is soft disabled.\nWhen set to `true`, the element appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe element behaves like a disabled element, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
17320
+ "default": "undefined",
17321
+ "attribute": "soft-disabled",
17322
+ "reflects": true,
17323
+ "inheritedFrom": {
17324
+ "name": "ListItem",
17325
+ "module": "components/listitem/listitem.component.js"
17326
+ }
17327
+ },
17594
17328
  {
17595
17329
  "kind": "field",
17596
17330
  "name": "tooltipText",
@@ -17726,6 +17460,7 @@
17726
17460
  "parameters": [
17727
17461
  {
17728
17462
  "name": "disabled",
17463
+ "default": "false",
17729
17464
  "type": {
17730
17465
  "text": "boolean"
17731
17466
  },
@@ -17948,6 +17683,19 @@
17948
17683
  "module": "src/components/listitem/listitem.component.ts"
17949
17684
  }
17950
17685
  },
17686
+ {
17687
+ "name": "soft-disabled",
17688
+ "type": {
17689
+ "text": "boolean | undefined"
17690
+ },
17691
+ "description": "Indicates whether the element is soft disabled.\nWhen set to `true`, the element appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe element behaves like a disabled element, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
17692
+ "default": "undefined",
17693
+ "fieldName": "softDisabled",
17694
+ "inheritedFrom": {
17695
+ "name": "ListItem",
17696
+ "module": "src/components/listitem/listitem.component.ts"
17697
+ }
17698
+ },
17951
17699
  {
17952
17700
  "name": "tooltip-text",
17953
17701
  "type": {
@@ -18207,6 +17955,16 @@
18207
17955
  "kind": "method",
18208
17956
  "name": "closeAllMenuPopovers",
18209
17957
  "privacy": "private",
17958
+ "parameters": [
17959
+ {
17960
+ "name": "until",
17961
+ "optional": true,
17962
+ "type": {
17963
+ "text": "Element"
17964
+ },
17965
+ "description": "The popover to close until."
17966
+ }
17967
+ ],
18210
17968
  "description": "Closes all menu popovers in the stack.\nThis method is used to ensure that when a menu item is clicked,\nall other open popovers are closed, maintaining a clean user interface.\nIt iterates through the `popoverStack` and hides each popover until the stack is empty."
18211
17969
  },
18212
17970
  {
@@ -18245,6 +18003,16 @@
18245
18003
  ],
18246
18004
  "description": "Checks if the menu popover has a submenu with the specified trigger ID.\nThis method is used to determine if a menu item has a submenu associated with it,\nwhich is indicated by the presence of a `triggerid` attribute in the submenu popover.\nIt queries the parent element for any popover with the specified trigger ID."
18247
18005
  },
18006
+ {
18007
+ "kind": "field",
18008
+ "name": "togglePopoverVisible",
18009
+ "privacy": "public",
18010
+ "description": "Toggles the popover visibility.",
18011
+ "inheritedFrom": {
18012
+ "name": "Popover",
18013
+ "module": "components/popover/popover.component.js"
18014
+ }
18015
+ },
18248
18016
  {
18249
18017
  "kind": "method",
18250
18018
  "name": "handleMouseClick",
@@ -19422,16 +19190,6 @@
19422
19190
  "module": "components/popover/popover.component.js"
19423
19191
  }
19424
19192
  },
19425
- {
19426
- "kind": "field",
19427
- "name": "togglePopoverVisible",
19428
- "privacy": "public",
19429
- "description": "Toggles the popover visibility.",
19430
- "inheritedFrom": {
19431
- "name": "Popover",
19432
- "module": "components/popover/popover.component.js"
19433
- }
19434
- },
19435
19193
  {
19436
19194
  "kind": "method",
19437
19195
  "name": "positionPopover",
@@ -20505,6 +20263,21 @@
20505
20263
  "module": "components/listitem/listitem.component.js"
20506
20264
  }
20507
20265
  },
20266
+ {
20267
+ "kind": "field",
20268
+ "name": "softDisabled",
20269
+ "type": {
20270
+ "text": "boolean | undefined"
20271
+ },
20272
+ "description": "Indicates whether the element is soft disabled.\nWhen set to `true`, the element appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe element behaves like a disabled element, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
20273
+ "default": "undefined",
20274
+ "attribute": "soft-disabled",
20275
+ "reflects": true,
20276
+ "inheritedFrom": {
20277
+ "name": "ListItem",
20278
+ "module": "components/listitem/listitem.component.js"
20279
+ }
20280
+ },
20508
20281
  {
20509
20282
  "kind": "field",
20510
20283
  "name": "tooltipText",
@@ -20640,6 +20413,7 @@
20640
20413
  "parameters": [
20641
20414
  {
20642
20415
  "name": "disabled",
20416
+ "default": "false",
20643
20417
  "type": {
20644
20418
  "text": "boolean"
20645
20419
  },
@@ -20916,6 +20690,19 @@
20916
20690
  "module": "src/components/listitem/listitem.component.ts"
20917
20691
  }
20918
20692
  },
20693
+ {
20694
+ "name": "soft-disabled",
20695
+ "type": {
20696
+ "text": "boolean | undefined"
20697
+ },
20698
+ "description": "Indicates whether the element is soft disabled.\nWhen set to `true`, the element appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe element behaves like a disabled element, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
20699
+ "default": "undefined",
20700
+ "fieldName": "softDisabled",
20701
+ "inheritedFrom": {
20702
+ "name": "ListItem",
20703
+ "module": "src/components/listitem/listitem.component.ts"
20704
+ }
20705
+ },
20919
20706
  {
20920
20707
  "name": "tooltip-text",
20921
20708
  "type": {
@@ -21067,14 +20854,10 @@
21067
20854
  },
21068
20855
  {
21069
20856
  "kind": "field",
21070
- "name": "ariaOrientation",
20857
+ "name": "menuItems",
21071
20858
  "type": {
21072
- "text": "Orientation"
20859
+ "text": "Array<HTMLElement>"
21073
20860
  },
21074
- "description": "Defines the orientation of the menu. This value is reflected to\nthe `aria-orientation` attribute and can be either `'horizontal'` or `'vertical'`.",
21075
- "default": "'horizontal'",
21076
- "attribute": "aria-orientation",
21077
- "reflects": true,
21078
20861
  "inheritedFrom": {
21079
20862
  "name": "MenuBar",
21080
20863
  "module": "components/menubar/menubar.component.js"
@@ -21082,180 +20865,21 @@
21082
20865
  },
21083
20866
  {
21084
20867
  "kind": "method",
21085
- "name": "setMenuBarPopoverValue",
21086
- "privacy": "private",
21087
- "parameters": [
21088
- {
21089
- "name": "value",
21090
- "type": {
21091
- "text": "boolean"
21092
- },
21093
- "description": "The value to set."
21094
- }
21095
- ],
21096
- "description": "Sets the value of the data-menu-popover-open attribute on the menu element.",
21097
- "inheritedFrom": {
21098
- "name": "MenuBar",
21099
- "module": "components/menubar/menubar.component.js"
21100
- }
21101
- },
21102
- {
21103
- "kind": "method",
21104
- "name": "isMenuPopoverOpen",
21105
- "privacy": "private",
21106
- "return": {
21107
- "type": {
21108
- "text": "boolean"
21109
- }
21110
- },
21111
- "description": "Returns true if the data-menu-popover-open attribute on the menu element is set to 'true', false otherwise.",
21112
- "inheritedFrom": {
21113
- "name": "MenuBar",
21114
- "module": "components/menubar/menubar.component.js"
21115
- }
21116
- },
21117
- {
21118
- "kind": "method",
21119
- "name": "getCurrentIndex",
21120
- "privacy": "private",
21121
- "return": {
21122
- "type": {
21123
- "text": ""
21124
- }
21125
- },
21126
- "parameters": [
21127
- {
21128
- "name": "target",
21129
- "type": {
21130
- "text": "EventTarget | null"
21131
- },
21132
- "description": "The target element to find the index of."
21133
- }
21134
- ],
21135
- "description": "Returns the index of the given target in the menuItems array.\nIf the target is not a menu item, but a child element of a menu item,\nit returns the index of the parent menu item.",
21136
- "inheritedFrom": {
21137
- "name": "MenuBar",
21138
- "module": "components/menubar/menubar.component.js"
21139
- }
21140
- },
21141
- {
21142
- "kind": "method",
21143
- "name": "updatePopoverPlacementBasedOnOrientation",
21144
- "privacy": "protected",
21145
- "return": {
21146
- "type": {
21147
- "text": "void"
21148
- }
21149
- },
21150
- "description": "Updates the placement of the popover based on the aria-orientation property.",
21151
- "inheritedFrom": {
21152
- "name": "MenuBar",
21153
- "module": "components/menubar/menubar.component.js"
21154
- }
21155
- },
21156
- {
21157
- "kind": "method",
21158
- "name": "updateTabIndexAndFocusNewIndex",
20868
+ "name": "resetTabIndexAndSetActiveTabIndex",
21159
20869
  "privacy": "private",
21160
20870
  "parameters": [
21161
20871
  {
21162
20872
  "name": "menuItems",
21163
20873
  "type": {
21164
20874
  "text": "Array<HTMLElement>"
21165
- },
21166
- "description": "The list of menu items."
21167
- },
21168
- {
21169
- "name": "currentIndex",
21170
- "type": {
21171
- "text": "number"
21172
- },
21173
- "description": "The current index of the focused menu item."
20875
+ }
21174
20876
  },
21175
20877
  {
21176
- "name": "newIndex",
21177
- "type": {
21178
- "text": "number"
21179
- },
21180
- "description": "The index of the new active element in the list."
21181
- }
21182
- ],
21183
- "description": "Updates the tabindex of the current index to -1 and the tabindex of the new index to 0,\neffectively setting the active element. This is used when navigating the menu via keyboard.",
21184
- "inheritedFrom": {
21185
- "name": "MenuBar",
21186
- "module": "components/menubar/menubar.component.js"
21187
- }
21188
- },
21189
- {
21190
- "kind": "method",
21191
- "name": "isValidMenu",
21192
- "privacy": "private",
21193
- "return": {
21194
- "type": {
21195
- "text": ""
21196
- }
21197
- },
21198
- "parameters": [
21199
- {
21200
- "name": "tagName",
21201
- "optional": true,
21202
- "type": {
21203
- "text": "string"
21204
- },
21205
- "description": "The tag name to check."
21206
- }
21207
- ],
21208
- "description": "Checks if the given tag name is a valid menu tag name.",
21209
- "inheritedFrom": {
21210
- "name": "MenuBar",
21211
- "module": "components/menubar/menubar.component.js"
21212
- }
21213
- },
21214
- {
21215
- "kind": "method",
21216
- "name": "isValidNavItemList",
21217
- "privacy": "private",
21218
- "return": {
21219
- "type": {
21220
- "text": ""
21221
- }
21222
- },
21223
- "parameters": [
21224
- {
21225
- "name": "tagName",
21226
- "optional": true,
21227
- "type": {
21228
- "text": "string"
21229
- },
21230
- "description": "The tag name to check."
21231
- }
21232
- ],
21233
- "description": "Checks if the given tag name is a valid navitemlist tag name.",
21234
- "inheritedFrom": {
21235
- "name": "MenuBar",
21236
- "module": "components/menubar/menubar.component.js"
21237
- }
21238
- },
21239
- {
21240
- "kind": "method",
21241
- "name": "isValidPopover",
21242
- "privacy": "private",
21243
- "return": {
21244
- "type": {
21245
- "text": ""
21246
- }
21247
- },
21248
- "parameters": [
21249
- {
21250
- "name": "tagName",
21251
- "optional": true,
21252
- "type": {
21253
- "text": "string"
21254
- },
21255
- "description": "The tag name to check."
20878
+ "description": "The index of the new active element in the list.",
20879
+ "name": "newIndex"
21256
20880
  }
21257
20881
  ],
21258
- "description": "Checks if the given tag name is a valid menu popover tag name.",
20882
+ "description": "Resets all list items tabindex to -1 and sets the tabindex of the\nelement at the given index to 0, effectively setting the active\nelement. This is used when navigating the list via keyboard.",
21259
20883
  "inheritedFrom": {
21260
20884
  "name": "MenuBar",
21261
20885
  "module": "components/menubar/menubar.component.js"
@@ -21263,23 +20887,21 @@
21263
20887
  },
21264
20888
  {
21265
20889
  "kind": "method",
21266
- "name": "openPopover",
20890
+ "name": "getCurrentIndex",
21267
20891
  "privacy": "private",
21268
20892
  "return": {
21269
20893
  "type": {
21270
- "text": ""
20894
+ "text": "number"
21271
20895
  }
21272
20896
  },
21273
20897
  "parameters": [
21274
20898
  {
21275
- "name": "index",
20899
+ "name": "target",
21276
20900
  "type": {
21277
- "text": "number"
21278
- },
21279
- "description": "The index of the menu item to open the popover for."
20901
+ "text": "EventTarget | null"
20902
+ }
21280
20903
  }
21281
20904
  ],
21282
- "description": "Opens the popover at the given index if it exists.",
21283
20905
  "inheritedFrom": {
21284
20906
  "name": "MenuBar",
21285
20907
  "module": "components/menubar/menubar.component.js"
@@ -21287,44 +20909,13 @@
21287
20909
  },
21288
20910
  {
21289
20911
  "kind": "method",
21290
- "name": "navigateToPrevMenuItem",
20912
+ "name": "updatePopoverPlacement",
21291
20913
  "privacy": "private",
21292
20914
  "return": {
21293
20915
  "type": {
21294
20916
  "text": "void"
21295
20917
  }
21296
20918
  },
21297
- "parameters": [
21298
- {
21299
- "name": "currentIndex",
21300
- "type": {
21301
- "text": "number"
21302
- },
21303
- "description": "The current index of the focused menu item."
21304
- },
21305
- {
21306
- "name": "firstMenuIndex",
21307
- "type": {
21308
- "text": "number"
21309
- },
21310
- "description": "The index of the first menu item."
21311
- },
21312
- {
21313
- "name": "lastMenuIndex",
21314
- "type": {
21315
- "text": "number"
21316
- },
21317
- "description": "The index of the last menu item."
21318
- },
21319
- {
21320
- "name": "ariaOrientation",
21321
- "type": {
21322
- "text": "Orientation"
21323
- },
21324
- "description": "The orientation of the menu."
21325
- }
21326
- ],
21327
- "description": "Navigates to the previous menu item and updates the tabindex of the current index\nto -1 and the tabindex of the new index to 0.",
21328
20919
  "inheritedFrom": {
21329
20920
  "name": "MenuBar",
21330
20921
  "module": "components/menubar/menubar.component.js"
@@ -21332,7 +20923,7 @@
21332
20923
  },
21333
20924
  {
21334
20925
  "kind": "method",
21335
- "name": "navigateToNextMenuItem",
20926
+ "name": "updateTabIndexAndFocus",
21336
20927
  "privacy": "private",
21337
20928
  "return": {
21338
20929
  "type": {
@@ -21341,122 +20932,24 @@
21341
20932
  },
21342
20933
  "parameters": [
21343
20934
  {
21344
- "name": "currentIndex",
21345
- "type": {
21346
- "text": "number"
21347
- },
21348
- "description": "The current index of the focused menu item."
21349
- },
21350
- {
21351
- "name": "firstMenuIndex",
21352
- "type": {
21353
- "text": "number"
21354
- },
21355
- "description": "The index of the first menu item."
21356
- },
21357
- {
21358
- "name": "lastMenuIndex",
21359
- "type": {
21360
- "text": "number"
21361
- },
21362
- "description": "The index of the last menu item."
21363
- },
21364
- {
21365
- "name": "ariaOrientation",
21366
- "type": {
21367
- "text": "Orientation"
21368
- },
21369
- "description": "The orientation of the menu."
21370
- }
21371
- ],
21372
- "description": "Navigates to the next menu item and updates the tabindex of the current index\nto -1 and the tabindex of the new index to 0.",
21373
- "inheritedFrom": {
21374
- "name": "MenuBar",
21375
- "module": "components/menubar/menubar.component.js"
21376
- }
21377
- },
21378
- {
21379
- "kind": "method",
21380
- "name": "getParentMenuItemDetails",
21381
- "privacy": "private",
21382
- "return": {
21383
- "type": {
21384
- "text": ""
21385
- }
21386
- },
21387
- "parameters": [
21388
- {
21389
- "name": "menuChildId",
20935
+ "name": "menuItems",
21390
20936
  "type": {
21391
- "text": "string"
21392
- },
21393
- "description": "The id of the menu child element."
20937
+ "text": "HTMLElement[]"
20938
+ }
21394
20939
  },
21395
- {
21396
- "name": "menu",
21397
- "optional": true,
21398
- "type": {
21399
- "text": "HTMLElement | null"
21400
- },
21401
- "description": "The current menu element to start traversing from."
21402
- }
21403
- ],
21404
- "description": "Returns the parent menu item details for the given menu child id.\nIt recursively traverses up the DOM tree until it finds a menu or menubar element.",
21405
- "inheritedFrom": {
21406
- "name": "MenuBar",
21407
- "module": "components/menubar/menubar.component.js"
21408
- }
21409
- },
21410
- {
21411
- "kind": "method",
21412
- "name": "hideAllPopovers",
21413
- "privacy": "private",
21414
- "return": {
21415
- "type": {
21416
- "text": "void"
21417
- }
21418
- },
21419
- "parameters": [
21420
- {
21421
- "name": "menu",
21422
- "optional": true,
21423
- "type": {
21424
- "text": "HTMLElement | null"
21425
- },
21426
- "description": "The current menu element to start traversing from."
21427
- }
21428
- ],
21429
- "description": "Recursively hides all the popovers up the DOM tree until it finds a menu or menubar element.",
21430
- "inheritedFrom": {
21431
- "name": "MenuBar",
21432
- "module": "components/menubar/menubar.component.js"
21433
- }
21434
- },
21435
- {
21436
- "kind": "method",
21437
- "name": "navigateToPrevParentMenuItem",
21438
- "privacy": "private",
21439
- "return": {
21440
- "type": {
21441
- "text": "void"
21442
- }
21443
- },
21444
- "parameters": [
21445
20940
  {
21446
20941
  "name": "currentIndex",
21447
20942
  "type": {
21448
20943
  "text": "number"
21449
- },
21450
- "description": "The current index of the focused menu item."
20944
+ }
21451
20945
  },
21452
20946
  {
21453
- "name": "key",
20947
+ "name": "newIndex",
21454
20948
  "type": {
21455
- "text": "string"
20949
+ "text": "number"
21456
20950
  }
21457
20951
  }
21458
20952
  ],
21459
- "description": "Recursively navigates up the DOM tree until it finds the previous menu item\nand updates the tabindex of the current index to -1 and the tabindex of the new index to 0.\nAlso opens the popover of the previous menu item.",
21460
20953
  "inheritedFrom": {
21461
20954
  "name": "MenuBar",
21462
20955
  "module": "components/menubar/menubar.component.js"
@@ -21464,7 +20957,7 @@
21464
20957
  },
21465
20958
  {
21466
20959
  "kind": "method",
21467
- "name": "closePopoverAndNavigateToPrevParentMenuItem",
20960
+ "name": "navigateToMenuItem",
21468
20961
  "privacy": "private",
21469
20962
  "return": {
21470
20963
  "type": {
@@ -21476,17 +20969,19 @@
21476
20969
  "name": "currentIndex",
21477
20970
  "type": {
21478
20971
  "text": "number"
21479
- },
21480
- "description": "The current index of the focused menu item."
20972
+ }
21481
20973
  },
21482
20974
  {
21483
- "name": "key",
20975
+ "name": "direction",
21484
20976
  "type": {
21485
- "text": "string"
20977
+ "text": "'prev' | 'next'"
21486
20978
  }
20979
+ },
20980
+ {
20981
+ "name": "shouldOpenSubmenu",
20982
+ "default": "false"
21487
20983
  }
21488
20984
  ],
21489
- "description": "Closes the current menu popover and navigates to the previous parent menu item.",
21490
20985
  "inheritedFrom": {
21491
20986
  "name": "MenuBar",
21492
20987
  "module": "components/menubar/menubar.component.js"
@@ -21494,23 +20989,21 @@
21494
20989
  },
21495
20990
  {
21496
20991
  "kind": "method",
21497
- "name": "getParentMenuContents",
20992
+ "name": "showSubmenu",
21498
20993
  "privacy": "private",
21499
20994
  "return": {
21500
20995
  "type": {
21501
- "text": ""
20996
+ "text": "void"
21502
20997
  }
21503
20998
  },
21504
20999
  "parameters": [
21505
21000
  {
21506
- "name": "currentMenuItem",
21001
+ "name": "triggerId",
21507
21002
  "type": {
21508
- "text": "HTMLElement | null"
21509
- },
21510
- "description": "The current menu item to start traversing from."
21003
+ "text": "string | null"
21004
+ }
21511
21005
  }
21512
21006
  ],
21513
- "description": "Gets the parent menu contents of the given current menu item.\nIt recursively traverses up the DOM tree until it finds the parent menu element\nand gets the parent menu item details and the children of the parent menu item.",
21514
21007
  "inheritedFrom": {
21515
21008
  "name": "MenuBar",
21516
21009
  "module": "components/menubar/menubar.component.js"
@@ -21518,23 +21011,21 @@
21518
21011
  },
21519
21012
  {
21520
21013
  "kind": "method",
21521
- "name": "openPopoverAndNavigateToNextChildrenMenuItem",
21014
+ "name": "getKeyWithDirectionFix",
21522
21015
  "privacy": "private",
21523
21016
  "return": {
21524
21017
  "type": {
21525
- "text": "void"
21018
+ "text": "string"
21526
21019
  }
21527
21020
  },
21528
21021
  "parameters": [
21529
21022
  {
21530
- "name": "currentIndex",
21023
+ "name": "originalKey",
21531
21024
  "type": {
21532
- "text": "number"
21533
- },
21534
- "description": "The current index of the focused menu item."
21025
+ "text": "string"
21026
+ }
21535
21027
  }
21536
21028
  ],
21537
- "description": "Opens the popover of the next children menu item if there are children.\nIf there are no children, then it closes all popovers recursively and\nnavigates to the next menu item from the menu bar.\nIf the parent menu item does not have any children, then we will go to the next menu item.",
21538
21029
  "inheritedFrom": {
21539
21030
  "name": "MenuBar",
21540
21031
  "module": "components/menubar/menubar.component.js"
@@ -21542,23 +21033,21 @@
21542
21033
  },
21543
21034
  {
21544
21035
  "kind": "method",
21545
- "name": "isValidMenuItem",
21036
+ "name": "isTopLevelMenuItem",
21546
21037
  "privacy": "private",
21547
21038
  "return": {
21548
21039
  "type": {
21549
- "text": ""
21040
+ "text": "boolean"
21550
21041
  }
21551
21042
  },
21552
21043
  "parameters": [
21553
21044
  {
21554
- "name": "menuItem",
21045
+ "name": "element",
21555
21046
  "type": {
21556
21047
  "text": "HTMLElement"
21557
- },
21558
- "description": "The menu item to check."
21048
+ }
21559
21049
  }
21560
21050
  ],
21561
- "description": "Checks if the given menu item is a valid menu item.",
21562
21051
  "inheritedFrom": {
21563
21052
  "name": "MenuBar",
21564
21053
  "module": "components/menubar/menubar.component.js"
@@ -21566,21 +21055,52 @@
21566
21055
  },
21567
21056
  {
21568
21057
  "kind": "method",
21569
- "name": "resetTabIndexAndSetActiveTabIndex",
21058
+ "name": "isNestedMenuItem",
21570
21059
  "privacy": "private",
21060
+ "return": {
21061
+ "type": {
21062
+ "text": "boolean"
21063
+ }
21064
+ },
21571
21065
  "parameters": [
21572
21066
  {
21573
- "name": "menuItems",
21067
+ "name": "element",
21574
21068
  "type": {
21575
- "text": "Array<HTMLElement>"
21069
+ "text": "HTMLElement"
21576
21070
  }
21577
- },
21071
+ }
21072
+ ],
21073
+ "inheritedFrom": {
21074
+ "name": "MenuBar",
21075
+ "module": "components/menubar/menubar.component.js"
21076
+ }
21077
+ },
21078
+ {
21079
+ "kind": "method",
21080
+ "name": "closeAllMenuPopovers",
21081
+ "privacy": "private",
21082
+ "inheritedFrom": {
21083
+ "name": "MenuBar",
21084
+ "module": "components/menubar/menubar.component.js"
21085
+ }
21086
+ },
21087
+ {
21088
+ "kind": "method",
21089
+ "name": "crossMenubarNavigationOnLeft",
21090
+ "privacy": "private",
21091
+ "return": {
21092
+ "type": {
21093
+ "text": "Promise<void>"
21094
+ }
21095
+ },
21096
+ "parameters": [
21578
21097
  {
21579
- "description": "The index of the new active element in the list.",
21580
- "name": "newIndex"
21098
+ "name": "element",
21099
+ "type": {
21100
+ "text": "HTMLElement"
21101
+ }
21581
21102
  }
21582
21103
  ],
21583
- "description": "Resets all list items tabindex to -1 and sets the tabindex of the\nelement at the given index to 0, effectively setting the active\nelement. This is used when navigating the list via keyboard.",
21584
21104
  "inheritedFrom": {
21585
21105
  "name": "MenuBar",
21586
21106
  "module": "components/menubar/menubar.component.js"
@@ -21588,23 +21108,21 @@
21588
21108
  },
21589
21109
  {
21590
21110
  "kind": "method",
21591
- "name": "getKeyBasedOnDirection",
21111
+ "name": "crossMenubarNavigationOnRight",
21592
21112
  "privacy": "private",
21593
21113
  "return": {
21594
21114
  "type": {
21595
- "text": ""
21115
+ "text": "Promise<void>"
21596
21116
  }
21597
21117
  },
21598
21118
  "parameters": [
21599
21119
  {
21600
- "name": "originalKey",
21120
+ "name": "element",
21601
21121
  "type": {
21602
- "text": "string"
21603
- },
21604
- "description": "The original key pressed."
21122
+ "text": "HTMLElement"
21123
+ }
21605
21124
  }
21606
21125
  ],
21607
- "description": "Returns the key based on the direction of the document.\nIf the document is in RTL mode and the key is ARROW_LEFT or ARROW_RIGHT,\nit will swap them to maintain the correct navigation direction.",
21608
21126
  "inheritedFrom": {
21609
21127
  "name": "MenuBar",
21610
21128
  "module": "components/menubar/menubar.component.js"
@@ -21612,23 +21130,21 @@
21612
21130
  },
21613
21131
  {
21614
21132
  "kind": "method",
21615
- "name": "handleKeyDown",
21616
- "privacy": "protected",
21133
+ "name": "hasSubmenu",
21134
+ "privacy": "private",
21617
21135
  "return": {
21618
21136
  "type": {
21619
- "text": "void"
21137
+ "text": "boolean"
21620
21138
  }
21621
21139
  },
21622
21140
  "parameters": [
21623
21141
  {
21624
- "name": "event",
21142
+ "name": "triggerId",
21625
21143
  "type": {
21626
- "text": "KeyboardEvent"
21627
- },
21628
- "description": "The keyboard event."
21144
+ "text": "string | null"
21145
+ }
21629
21146
  }
21630
21147
  ],
21631
- "description": "Handles the keydown event on the menu bar.\nThe keys are as follows:\n- HOME: Sets focus to the first menu item.\n- END: Sets focus to the last menu item.\n- ARROW_LEFT:\n - If orientation is horizontal, then it navigates to the previous menu item.\n - If orientation is vertical, then it closes the popover of the current menu item and\n navigates to the previous parent menu item.\n- ARROW_RIGHT:\n - If orientation is horizontal, then it navigates to the next menu item.\n - If orientation is vertical, then it opens the popover of the current menu item and\n navigates to the next children menu item.\n- ARROW_UP:\n - If orientation is horizontal, then it opens the popover of the current menu item.\n - If orientation is vertical, then it navigates to the previous menu item.\n- ARROW_DOWN:\n - If orientation is horizontal, then it opens the popover of the current menu item.\n - If orientation is vertical, then it navigates to the next menu item.\n- SPACE:\n- ENTER:\n - If the next element sibling is a menu popover, then it opens the popover of the current\n menu item and navigates to the next children menu item.\n - If the target element is a menu item, then it closes all popovers recursively and\n navigates to the previous parent menu item.\n- ESCAPE:\n - If a popover is already open then we close it and navigate to the parent menu item.\n - If the current menuitem is a child of menubar, then we will set the value of isMenuPopoverOpen to false.,",
21632
21148
  "inheritedFrom": {
21633
21149
  "name": "MenuBar",
21634
21150
  "module": "components/menubar/menubar.component.js"
@@ -21636,23 +21152,21 @@
21636
21152
  },
21637
21153
  {
21638
21154
  "kind": "method",
21639
- "name": "closeAllPopoversExceptCurrent",
21155
+ "name": "getParentMenuItemIndex",
21640
21156
  "privacy": "private",
21641
21157
  "return": {
21642
21158
  "type": {
21643
- "text": "void"
21159
+ "text": "number"
21644
21160
  }
21645
21161
  },
21646
21162
  "parameters": [
21647
21163
  {
21648
- "name": "currentIndex",
21164
+ "name": "element",
21649
21165
  "type": {
21650
- "text": "number"
21651
- },
21652
- "description": "The index of the current menu item."
21166
+ "text": "HTMLElement"
21167
+ }
21653
21168
  }
21654
21169
  ],
21655
- "description": "Closes all popovers except the current one.",
21656
21170
  "inheritedFrom": {
21657
21171
  "name": "MenuBar",
21658
21172
  "module": "components/menubar/menubar.component.js"
@@ -21660,23 +21174,21 @@
21660
21174
  },
21661
21175
  {
21662
21176
  "kind": "method",
21663
- "name": "handleMouseClick",
21664
- "privacy": "protected",
21177
+ "name": "handleKeyDown",
21178
+ "privacy": "private",
21665
21179
  "return": {
21666
21180
  "type": {
21667
- "text": "void"
21181
+ "text": "Promise<void>"
21668
21182
  }
21669
21183
  },
21670
21184
  "parameters": [
21671
21185
  {
21672
21186
  "name": "event",
21673
21187
  "type": {
21674
- "text": "MouseEvent"
21675
- },
21676
- "description": "The mouse click event."
21188
+ "text": "KeyboardEvent"
21189
+ }
21677
21190
  }
21678
21191
  ],
21679
- "description": "Handles the mouse click event on the menu items.\n- If the menuitem has children, then it opens the popover of the next children menu item.\n- If the menuitem does not have children, then it closes all popovers recursively.",
21680
21192
  "inheritedFrom": {
21681
21193
  "name": "MenuBar",
21682
21194
  "module": "components/menubar/menubar.component.js"
@@ -21692,25 +21204,6 @@
21692
21204
  "default": "null",
21693
21205
  "description": "Aria-label attribute to be set for accessibility",
21694
21206
  "fieldName": "ariaLabel"
21695
- },
21696
- {
21697
- "name": "aria-orientation",
21698
- "type": {
21699
- "text": "Orientation"
21700
- },
21701
- "description": "Defines the orientation of the menu. This value is reflected to\nthe `aria-orientation` attribute and can be either `'horizontal'` or `'vertical'`.",
21702
- "default": "'horizontal'",
21703
- "fieldName": "ariaOrientation",
21704
- "inheritedFrom": {
21705
- "name": "MenuBar",
21706
- "module": "src/components/menubar/menubar.component.ts"
21707
- }
21708
- }
21709
- ],
21710
- "mixins": [
21711
- {
21712
- "name": "MenuMixin",
21713
- "module": "/src/utils/mixins/MenuMixin"
21714
21207
  }
21715
21208
  ],
21716
21209
  "superclass": {
@@ -22195,6 +21688,21 @@
22195
21688
  "module": "components/listitem/listitem.component.js"
22196
21689
  }
22197
21690
  },
21691
+ {
21692
+ "kind": "field",
21693
+ "name": "softDisabled",
21694
+ "type": {
21695
+ "text": "boolean | undefined"
21696
+ },
21697
+ "description": "Indicates whether the element is soft disabled.\nWhen set to `true`, the element appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe element behaves like a disabled element, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
21698
+ "default": "undefined",
21699
+ "attribute": "soft-disabled",
21700
+ "reflects": true,
21701
+ "inheritedFrom": {
21702
+ "name": "ListItem",
21703
+ "module": "components/listitem/listitem.component.js"
21704
+ }
21705
+ },
22198
21706
  {
22199
21707
  "kind": "field",
22200
21708
  "name": "tooltipText",
@@ -22354,6 +21862,7 @@
22354
21862
  "parameters": [
22355
21863
  {
22356
21864
  "name": "disabled",
21865
+ "default": "false",
22357
21866
  "type": {
22358
21867
  "text": "boolean"
22359
21868
  },
@@ -22623,6 +22132,19 @@
22623
22132
  "module": "src/components/listitem/listitem.component.ts"
22624
22133
  }
22625
22134
  },
22135
+ {
22136
+ "name": "soft-disabled",
22137
+ "type": {
22138
+ "text": "boolean | undefined"
22139
+ },
22140
+ "description": "Indicates whether the element is soft disabled.\nWhen set to `true`, the element appears visually disabled but still allows\nfocus, click, and keyboard actions to be passed through.\n\n**Important:** When using soft disabled, consumers must ensure that\nthe element behaves like a disabled element, allowing only focus and\npreventing any interactions (clicks or keyboard actions) from triggering unintended actions.",
22141
+ "default": "undefined",
22142
+ "fieldName": "softDisabled",
22143
+ "inheritedFrom": {
22144
+ "name": "ListItem",
22145
+ "module": "src/components/listitem/listitem.component.ts"
22146
+ }
22147
+ },
22626
22148
  {
22627
22149
  "name": "tooltip-text",
22628
22150
  "type": {
@@ -32528,28 +32050,24 @@
32528
32050
  },
32529
32051
  {
32530
32052
  "kind": "javascript-module",
32531
- "path": "components/tooltip/tooltip.component.js",
32053
+ "path": "components/toggletip/toggletip.component.js",
32532
32054
  "declarations": [
32533
32055
  {
32534
32056
  "kind": "class",
32535
- "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.",
32536
- "name": "Tooltip",
32057
+ "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.",
32058
+ "name": "ToggleTip",
32537
32059
  "cssProperties": [
32538
32060
  {
32539
- "description": "The maximum width of the tooltip.",
32540
- "name": "--mdc-tooltip-max-width"
32541
- },
32542
- {
32543
- "description": "The padding of the tooltip.",
32544
- "name": "--mdc-tooltip-padding"
32061
+ "description": "The maximum width of the toggletip.",
32062
+ "name": "--mdc-toggletip-max-width"
32545
32063
  },
32546
32064
  {
32547
- "description": "The text color of the tooltip.",
32548
- "name": "--mdc-tooltip-text-color"
32065
+ "description": "The text color of the toggletip.",
32066
+ "name": "--mdc-toggletip-text-color"
32549
32067
  },
32550
32068
  {
32551
- "description": "The text color of the tooltip when the color is contrast.",
32552
- "name": "--mdc-tooltip-text-color-contrast"
32069
+ "description": "The text color of the toggletip when the color is contrast.",
32070
+ "name": "--mdc-toggletip-text-color-contrast"
32553
32071
  },
32554
32072
  {
32555
32073
  "description": "radius of the arrow border",
@@ -32632,18 +32150,17 @@
32632
32150
  }
32633
32151
  }
32634
32152
  ],
32635
- "members": [
32153
+ "slots": [
32636
32154
  {
32637
- "kind": "field",
32638
- "name": "tooltipType",
32639
- "type": {
32640
- "text": "TooltipType"
32641
- },
32642
- "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.",
32643
- "default": "'description'",
32644
- "attribute": "tooltip-type",
32645
- "reflects": true
32646
- },
32155
+ "description": "Default slot for the toggletip content",
32156
+ "name": "",
32157
+ "inheritedFrom": {
32158
+ "name": "Popover",
32159
+ "module": "src/components/popover/popover.component.ts"
32160
+ }
32161
+ }
32162
+ ],
32163
+ "members": [
32647
32164
  {
32648
32165
  "kind": "field",
32649
32166
  "name": "defaultSlotNodes",
@@ -32653,76 +32170,50 @@
32653
32170
  "privacy": "private"
32654
32171
  },
32655
32172
  {
32656
- "kind": "method",
32657
- "name": "getTooltipText",
32658
- "privacy": "private",
32659
- "return": {
32660
- "type": {
32661
- "text": ""
32662
- }
32663
- }
32664
- },
32665
- {
32666
- "kind": "method",
32667
- "name": "setTooltipType",
32668
- "privacy": "private",
32669
- "return": {
32670
- "type": {
32671
- "text": "void"
32672
- }
32173
+ "kind": "field",
32174
+ "name": "screenreaderAnnouncerIdentity",
32175
+ "type": {
32176
+ "text": "string | undefined"
32673
32177
  },
32674
- "parameters": [
32675
- {
32676
- "name": "type",
32677
- "type": {
32678
- "text": "TooltipType"
32679
- },
32680
- "description": "The type to set."
32681
- }
32682
- ],
32683
- "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."
32178
+ "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.",
32179
+ "attribute": "screenreader-announcer-identity",
32180
+ "reflects": true
32684
32181
  },
32685
32182
  {
32686
- "kind": "method",
32687
- "name": "onIdUpdated",
32688
- "privacy": "private",
32689
- "return": {
32690
- "type": {
32691
- "text": "void"
32692
- }
32183
+ "kind": "field",
32184
+ "name": "placement",
32185
+ "type": {
32186
+ "text": "PopoverPlacement"
32693
32187
  },
32694
- "description": "Updates the tooltip id if it is empty."
32188
+ "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**",
32189
+ "default": "bottom",
32190
+ "attribute": "placement",
32191
+ "reflects": true,
32192
+ "inheritedFrom": {
32193
+ "name": "Popover",
32194
+ "module": "components/popover/popover.component.js"
32195
+ }
32695
32196
  },
32696
32197
  {
32697
32198
  "kind": "method",
32698
- "name": "onPlacementUpdated",
32199
+ "name": "getToggleTipText",
32699
32200
  "privacy": "private",
32700
32201
  "return": {
32701
32202
  "type": {
32702
- "text": "void"
32203
+ "text": ""
32703
32204
  }
32704
- },
32705
- "description": "Updates the placement attribute if it is not a valid placement.\nOverriding the default from Popover"
32205
+ }
32706
32206
  },
32707
32207
  {
32708
32208
  "kind": "method",
32709
- "name": "onTooltipTypeUpdated",
32209
+ "name": "onPlacementUpdated",
32710
32210
  "privacy": "private",
32711
32211
  "return": {
32712
32212
  "type": {
32713
32213
  "text": "void"
32714
32214
  }
32715
32215
  },
32716
- "parameters": [
32717
- {
32718
- "name": "changedProperties",
32719
- "type": {
32720
- "text": "PropertyValues"
32721
- },
32722
- "description": "The changed properties."
32723
- }
32724
- ],
32725
- "description": "Updates the tooltip type attribute and sets the appropriate aria props on the trigger component."
32216
+ "description": "Updates the placement attribute if it is not a valid placement.\nDefault placement for toggle tip is top."
32726
32217
  },
32727
32218
  {
32728
32219
  "kind": "field",
@@ -33315,21 +32806,6 @@
33315
32806
  "module": "components/popover/popover.component.js"
33316
32807
  }
33317
32808
  },
33318
- {
33319
- "kind": "field",
33320
- "name": "placement",
33321
- "type": {
33322
- "text": "PopoverPlacement"
33323
- },
33324
- "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**",
33325
- "default": "bottom",
33326
- "attribute": "placement",
33327
- "reflects": true,
33328
- "inheritedFrom": {
33329
- "name": "Popover",
33330
- "module": "components/popover/popover.component.js"
33331
- }
33332
- },
33333
32809
  {
33334
32810
  "kind": "field",
33335
32811
  "name": "color",
@@ -33897,7 +33373,7 @@
33897
33373
  ],
33898
33374
  "events": [
33899
33375
  {
33900
- "description": "(React: onShown) This event is dispatched when the tooltip is shown",
33376
+ "description": "(React: onShown) This event is dispatched when the toggletip is shown",
33901
33377
  "name": "shown",
33902
33378
  "reactName": "onShown",
33903
33379
  "inheritedFrom": {
@@ -33906,7 +33382,7 @@
33906
33382
  }
33907
33383
  },
33908
33384
  {
33909
- "description": "(React: onHidden) This event is dispatched when the tooltip is hidden",
33385
+ "description": "(React: onHidden) This event is dispatched when the toggletip is hidden",
33910
33386
  "name": "hidden",
33911
33387
  "reactName": "onHidden",
33912
33388
  "inheritedFrom": {
@@ -33915,7 +33391,7 @@
33915
33391
  }
33916
33392
  },
33917
33393
  {
33918
- "description": "(React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)",
33394
+ "description": "(React: onCreated) This event is dispatched when the toggletip is created (added to the DOM)",
33919
33395
  "name": "created",
33920
33396
  "reactName": "onCreated",
33921
33397
  "inheritedFrom": {
@@ -33924,7 +33400,7 @@
33924
33400
  }
33925
33401
  },
33926
33402
  {
33927
- "description": "(React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)",
33403
+ "description": "(React: onDestroyed) This event is dispatched when the toggletip is destroyed (removed from the DOM)",
33928
33404
  "name": "destroyed",
33929
33405
  "reactName": "onDestroyed",
33930
33406
  "inheritedFrom": {
@@ -33935,13 +33411,25 @@
33935
33411
  ],
33936
33412
  "attributes": [
33937
33413
  {
33938
- "name": "tooltip-type",
33414
+ "name": "screenreader-announcer-identity",
33939
33415
  "type": {
33940
- "text": "TooltipType"
33416
+ "text": "string | undefined"
33941
33417
  },
33942
- "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.",
33943
- "default": "'description'",
33944
- "fieldName": "tooltipType"
33418
+ "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.",
33419
+ "fieldName": "screenreaderAnnouncerIdentity"
33420
+ },
33421
+ {
33422
+ "name": "placement",
33423
+ "type": {
33424
+ "text": "PopoverPlacement"
33425
+ },
33426
+ "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**",
33427
+ "default": "bottom",
33428
+ "fieldName": "placement",
33429
+ "inheritedFrom": {
33430
+ "name": "Popover",
33431
+ "module": "src/components/popover/popover.component.ts"
33432
+ }
33945
33433
  },
33946
33434
  {
33947
33435
  "name": "should-focus-trap-wrap",
@@ -33995,19 +33483,6 @@
33995
33483
  "module": "src/components/popover/popover.component.ts"
33996
33484
  }
33997
33485
  },
33998
- {
33999
- "name": "placement",
34000
- "type": {
34001
- "text": "PopoverPlacement"
34002
- },
34003
- "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**",
34004
- "default": "bottom",
34005
- "fieldName": "placement",
34006
- "inheritedFrom": {
34007
- "name": "Popover",
34008
- "module": "src/components/popover/popover.component.ts"
34009
- }
34010
- },
34011
33486
  {
34012
33487
  "name": "color",
34013
33488
  "type": {
@@ -34338,152 +33813,8 @@
34338
33813
  "name": "Popover",
34339
33814
  "module": "/src/components/popover/popover.component"
34340
33815
  },
34341
- "tagName": "mdc-tooltip",
34342
- "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 */",
34343
- "customElement": true,
34344
- "slots": [
34345
- {
34346
- "description": "Default slot for the popover content",
34347
- "name": "",
34348
- "inheritedFrom": {
34349
- "name": "Popover",
34350
- "module": "src/components/popover/popover.component.ts"
34351
- }
34352
- }
34353
- ]
34354
- }
34355
- ],
34356
- "exports": [
34357
- {
34358
- "kind": "js",
34359
- "name": "default",
34360
- "declaration": {
34361
- "name": "Tooltip",
34362
- "module": "components/tooltip/tooltip.component.js"
34363
- }
34364
- }
34365
- ]
34366
- },
34367
- {
34368
- "kind": "javascript-module",
34369
- "path": "components/virtualizedlist/virtualizedlist.component.js",
34370
- "declarations": [
34371
- {
34372
- "kind": "class",
34373
- "description": "`mdc-virtualizedlist` component for creating custom virtualized lists.\nIMPORTANT: This component does not create it's own list/list items.\nUse the setlistdata callback prop to update client state in order to\nPass list/listitems as a child of this component, which this will virtuailze\nThis implementation handles dynamic lists as well as fixed sized lists.\nPlease refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.",
34374
- "name": "VirtualizedList",
34375
- "slots": [
34376
- {
34377
- "description": "Client side List with nested list items.",
34378
- "name": ""
34379
- }
34380
- ],
34381
- "members": [
34382
- {
34383
- "kind": "field",
34384
- "name": "onscroll",
34385
- "type": {
34386
- "text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
34387
- },
34388
- "description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
34389
- "default": "null",
34390
- "attribute": "onscroll"
34391
- },
34392
- {
34393
- "kind": "field",
34394
- "name": "virtualizerProps",
34395
- "type": {
34396
- "text": "VirtualizerProps"
34397
- },
34398
- "description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
34399
- "attribute": "virtualizerprops"
34400
- },
34401
- {
34402
- "kind": "field",
34403
- "name": "setlistdata",
34404
- "type": {
34405
- "text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
34406
- },
34407
- "description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
34408
- "default": "null",
34409
- "attribute": "setlistdata"
34410
- },
34411
- {
34412
- "kind": "field",
34413
- "name": "scrollElementRef",
34414
- "type": {
34415
- "text": "Ref<HTMLDivElement>"
34416
- },
34417
- "privacy": "public"
34418
- },
34419
- {
34420
- "kind": "field",
34421
- "name": "virtualizer",
34422
- "type": {
34423
- "text": "Virtualizer<Element, Element> | null"
34424
- },
34425
- "privacy": "public",
34426
- "default": "null"
34427
- },
34428
- {
34429
- "kind": "field",
34430
- "name": "virtualItems",
34431
- "type": {
34432
- "text": "Array<VirtualItem>"
34433
- },
34434
- "privacy": "public",
34435
- "default": "[]"
34436
- },
34437
- {
34438
- "kind": "field",
34439
- "name": "virtualizerController",
34440
- "type": {
34441
- "text": "null"
34442
- },
34443
- "default": "null"
34444
- }
34445
- ],
34446
- "events": [
34447
- {
34448
- "description": "(React: onScroll) Event that gets called when user scrolls inside of list.",
34449
- "name": "onscroll",
34450
- "reactName": "onScroll"
34451
- }
34452
- ],
34453
- "attributes": [
34454
- {
34455
- "name": "onscroll",
34456
- "type": {
34457
- "text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
34458
- },
34459
- "description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
34460
- "default": "null",
34461
- "fieldName": "onscroll"
34462
- },
34463
- {
34464
- "name": "virtualizerprops",
34465
- "type": {
34466
- "text": "VirtualizerProps"
34467
- },
34468
- "description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
34469
- "fieldName": "virtualizerProps"
34470
- },
34471
- {
34472
- "name": "setlistdata",
34473
- "type": {
34474
- "text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
34475
- },
34476
- "description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
34477
- "default": "null",
34478
- "fieldName": "setlistdata"
34479
- }
34480
- ],
34481
- "superclass": {
34482
- "name": "Component",
34483
- "module": "/src/models"
34484
- },
34485
- "tagName": "mdc-virtualizedlist",
34486
- "jsDoc": "/**\n * `mdc-virtualizedlist` component for creating custom virtualized lists.\n * IMPORTANT: This component does not create it's own list/list items.\n * Use the setlistdata callback prop to update client state in order to\n * Pass list/listitems as a child of this component, which this will virtuailze\n * This implementation handles dynamic lists as well as fixed sized lists.\n * Please refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.\n *\n * @tagname mdc-virtualizedlist\n *\n * @event onscroll - (React: onScroll) Event that gets called when user scrolls inside of list.\n *\n * @slot - Client side List with nested list items.\n */",
33816
+ "tagName": "mdc-toggletip",
33817
+ "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 */",
34487
33818
  "customElement": true
34488
33819
  }
34489
33820
  ],
@@ -34492,32 +33823,36 @@
34492
33823
  "kind": "js",
34493
33824
  "name": "default",
34494
33825
  "declaration": {
34495
- "name": "VirtualizedList",
34496
- "module": "components/virtualizedlist/virtualizedlist.component.js"
33826
+ "name": "ToggleTip",
33827
+ "module": "components/toggletip/toggletip.component.js"
34497
33828
  }
34498
33829
  }
34499
33830
  ]
34500
33831
  },
34501
33832
  {
34502
33833
  "kind": "javascript-module",
34503
- "path": "components/toggletip/toggletip.component.js",
33834
+ "path": "components/tooltip/tooltip.component.js",
34504
33835
  "declarations": [
34505
33836
  {
34506
33837
  "kind": "class",
34507
- "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.",
34508
- "name": "ToggleTip",
33838
+ "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.",
33839
+ "name": "Tooltip",
34509
33840
  "cssProperties": [
34510
33841
  {
34511
- "description": "The maximum width of the toggletip.",
34512
- "name": "--mdc-toggletip-max-width"
33842
+ "description": "The maximum width of the tooltip.",
33843
+ "name": "--mdc-tooltip-max-width"
34513
33844
  },
34514
33845
  {
34515
- "description": "The text color of the toggletip.",
34516
- "name": "--mdc-toggletip-text-color"
33846
+ "description": "The padding of the tooltip.",
33847
+ "name": "--mdc-tooltip-padding"
34517
33848
  },
34518
33849
  {
34519
- "description": "The text color of the toggletip when the color is contrast.",
34520
- "name": "--mdc-toggletip-text-color-contrast"
33850
+ "description": "The text color of the tooltip.",
33851
+ "name": "--mdc-tooltip-text-color"
33852
+ },
33853
+ {
33854
+ "description": "The text color of the tooltip when the color is contrast.",
33855
+ "name": "--mdc-tooltip-text-color-contrast"
34521
33856
  },
34522
33857
  {
34523
33858
  "description": "radius of the arrow border",
@@ -34600,53 +33935,29 @@
34600
33935
  }
34601
33936
  }
34602
33937
  ],
34603
- "slots": [
34604
- {
34605
- "description": "Default slot for the toggletip content",
34606
- "name": "",
34607
- "inheritedFrom": {
34608
- "name": "Popover",
34609
- "module": "src/components/popover/popover.component.ts"
34610
- }
34611
- }
34612
- ],
34613
33938
  "members": [
34614
33939
  {
34615
33940
  "kind": "field",
34616
- "name": "defaultSlotNodes",
34617
- "type": {
34618
- "text": "Array<Node>"
34619
- },
34620
- "privacy": "private"
34621
- },
34622
- {
34623
- "kind": "field",
34624
- "name": "screenreaderAnnouncerIdentity",
33941
+ "name": "tooltipType",
34625
33942
  "type": {
34626
- "text": "string | undefined"
33943
+ "text": "TooltipType"
34627
33944
  },
34628
- "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.",
34629
- "attribute": "screenreader-announcer-identity",
33945
+ "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.",
33946
+ "default": "'description'",
33947
+ "attribute": "tooltip-type",
34630
33948
  "reflects": true
34631
33949
  },
34632
33950
  {
34633
33951
  "kind": "field",
34634
- "name": "placement",
33952
+ "name": "defaultSlotNodes",
34635
33953
  "type": {
34636
- "text": "PopoverPlacement"
33954
+ "text": "Array<Node>"
34637
33955
  },
34638
- "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**",
34639
- "default": "bottom",
34640
- "attribute": "placement",
34641
- "reflects": true,
34642
- "inheritedFrom": {
34643
- "name": "Popover",
34644
- "module": "components/popover/popover.component.js"
34645
- }
33956
+ "privacy": "private"
34646
33957
  },
34647
33958
  {
34648
33959
  "kind": "method",
34649
- "name": "getToggleTipText",
33960
+ "name": "getTooltipText",
34650
33961
  "privacy": "private",
34651
33962
  "return": {
34652
33963
  "type": {
@@ -34654,6 +33965,37 @@
34654
33965
  }
34655
33966
  }
34656
33967
  },
33968
+ {
33969
+ "kind": "method",
33970
+ "name": "setTooltipType",
33971
+ "privacy": "private",
33972
+ "return": {
33973
+ "type": {
33974
+ "text": "void"
33975
+ }
33976
+ },
33977
+ "parameters": [
33978
+ {
33979
+ "name": "type",
33980
+ "type": {
33981
+ "text": "TooltipType"
33982
+ },
33983
+ "description": "The type to set."
33984
+ }
33985
+ ],
33986
+ "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."
33987
+ },
33988
+ {
33989
+ "kind": "method",
33990
+ "name": "onIdUpdated",
33991
+ "privacy": "private",
33992
+ "return": {
33993
+ "type": {
33994
+ "text": "void"
33995
+ }
33996
+ },
33997
+ "description": "Updates the tooltip id if it is empty."
33998
+ },
34657
33999
  {
34658
34000
  "kind": "method",
34659
34001
  "name": "onPlacementUpdated",
@@ -34663,7 +34005,27 @@
34663
34005
  "text": "void"
34664
34006
  }
34665
34007
  },
34666
- "description": "Updates the placement attribute if it is not a valid placement.\nDefault placement for toggle tip is top."
34008
+ "description": "Updates the placement attribute if it is not a valid placement.\nOverriding the default from Popover"
34009
+ },
34010
+ {
34011
+ "kind": "method",
34012
+ "name": "onTooltipTypeUpdated",
34013
+ "privacy": "private",
34014
+ "return": {
34015
+ "type": {
34016
+ "text": "void"
34017
+ }
34018
+ },
34019
+ "parameters": [
34020
+ {
34021
+ "name": "changedProperties",
34022
+ "type": {
34023
+ "text": "PropertyValues"
34024
+ },
34025
+ "description": "The changed properties."
34026
+ }
34027
+ ],
34028
+ "description": "Updates the tooltip type attribute and sets the appropriate aria props on the trigger component."
34667
34029
  },
34668
34030
  {
34669
34031
  "kind": "field",
@@ -35256,6 +34618,21 @@
35256
34618
  "module": "components/popover/popover.component.js"
35257
34619
  }
35258
34620
  },
34621
+ {
34622
+ "kind": "field",
34623
+ "name": "placement",
34624
+ "type": {
34625
+ "text": "PopoverPlacement"
34626
+ },
34627
+ "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**",
34628
+ "default": "bottom",
34629
+ "attribute": "placement",
34630
+ "reflects": true,
34631
+ "inheritedFrom": {
34632
+ "name": "Popover",
34633
+ "module": "components/popover/popover.component.js"
34634
+ }
34635
+ },
35259
34636
  {
35260
34637
  "kind": "field",
35261
34638
  "name": "color",
@@ -35823,7 +35200,7 @@
35823
35200
  ],
35824
35201
  "events": [
35825
35202
  {
35826
- "description": "(React: onShown) This event is dispatched when the toggletip is shown",
35203
+ "description": "(React: onShown) This event is dispatched when the tooltip is shown",
35827
35204
  "name": "shown",
35828
35205
  "reactName": "onShown",
35829
35206
  "inheritedFrom": {
@@ -35832,7 +35209,7 @@
35832
35209
  }
35833
35210
  },
35834
35211
  {
35835
- "description": "(React: onHidden) This event is dispatched when the toggletip is hidden",
35212
+ "description": "(React: onHidden) This event is dispatched when the tooltip is hidden",
35836
35213
  "name": "hidden",
35837
35214
  "reactName": "onHidden",
35838
35215
  "inheritedFrom": {
@@ -35841,7 +35218,7 @@
35841
35218
  }
35842
35219
  },
35843
35220
  {
35844
- "description": "(React: onCreated) This event is dispatched when the toggletip is created (added to the DOM)",
35221
+ "description": "(React: onCreated) This event is dispatched when the tooltip is created (added to the DOM)",
35845
35222
  "name": "created",
35846
35223
  "reactName": "onCreated",
35847
35224
  "inheritedFrom": {
@@ -35850,7 +35227,7 @@
35850
35227
  }
35851
35228
  },
35852
35229
  {
35853
- "description": "(React: onDestroyed) This event is dispatched when the toggletip is destroyed (removed from the DOM)",
35230
+ "description": "(React: onDestroyed) This event is dispatched when the tooltip is destroyed (removed from the DOM)",
35854
35231
  "name": "destroyed",
35855
35232
  "reactName": "onDestroyed",
35856
35233
  "inheritedFrom": {
@@ -35861,25 +35238,13 @@
35861
35238
  ],
35862
35239
  "attributes": [
35863
35240
  {
35864
- "name": "screenreader-announcer-identity",
35865
- "type": {
35866
- "text": "string | undefined"
35867
- },
35868
- "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.",
35869
- "fieldName": "screenreaderAnnouncerIdentity"
35870
- },
35871
- {
35872
- "name": "placement",
35241
+ "name": "tooltip-type",
35873
35242
  "type": {
35874
- "text": "PopoverPlacement"
35243
+ "text": "TooltipType"
35875
35244
  },
35876
- "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**",
35877
- "default": "bottom",
35878
- "fieldName": "placement",
35879
- "inheritedFrom": {
35880
- "name": "Popover",
35881
- "module": "src/components/popover/popover.component.ts"
35882
- }
35245
+ "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.",
35246
+ "default": "'description'",
35247
+ "fieldName": "tooltipType"
35883
35248
  },
35884
35249
  {
35885
35250
  "name": "should-focus-trap-wrap",
@@ -35933,6 +35298,19 @@
35933
35298
  "module": "src/components/popover/popover.component.ts"
35934
35299
  }
35935
35300
  },
35301
+ {
35302
+ "name": "placement",
35303
+ "type": {
35304
+ "text": "PopoverPlacement"
35305
+ },
35306
+ "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**",
35307
+ "default": "bottom",
35308
+ "fieldName": "placement",
35309
+ "inheritedFrom": {
35310
+ "name": "Popover",
35311
+ "module": "src/components/popover/popover.component.ts"
35312
+ }
35313
+ },
35936
35314
  {
35937
35315
  "name": "color",
35938
35316
  "type": {
@@ -36263,8 +35641,152 @@
36263
35641
  "name": "Popover",
36264
35642
  "module": "/src/components/popover/popover.component"
36265
35643
  },
36266
- "tagName": "mdc-toggletip",
36267
- "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 */",
35644
+ "tagName": "mdc-tooltip",
35645
+ "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 */",
35646
+ "customElement": true,
35647
+ "slots": [
35648
+ {
35649
+ "description": "Default slot for the popover content",
35650
+ "name": "",
35651
+ "inheritedFrom": {
35652
+ "name": "Popover",
35653
+ "module": "src/components/popover/popover.component.ts"
35654
+ }
35655
+ }
35656
+ ]
35657
+ }
35658
+ ],
35659
+ "exports": [
35660
+ {
35661
+ "kind": "js",
35662
+ "name": "default",
35663
+ "declaration": {
35664
+ "name": "Tooltip",
35665
+ "module": "components/tooltip/tooltip.component.js"
35666
+ }
35667
+ }
35668
+ ]
35669
+ },
35670
+ {
35671
+ "kind": "javascript-module",
35672
+ "path": "components/virtualizedlist/virtualizedlist.component.js",
35673
+ "declarations": [
35674
+ {
35675
+ "kind": "class",
35676
+ "description": "`mdc-virtualizedlist` component for creating custom virtualized lists.\nIMPORTANT: This component does not create it's own list/list items.\nUse the setlistdata callback prop to update client state in order to\nPass list/listitems as a child of this component, which this will virtuailze\nThis implementation handles dynamic lists as well as fixed sized lists.\nPlease refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.",
35677
+ "name": "VirtualizedList",
35678
+ "slots": [
35679
+ {
35680
+ "description": "Client side List with nested list items.",
35681
+ "name": ""
35682
+ }
35683
+ ],
35684
+ "members": [
35685
+ {
35686
+ "kind": "field",
35687
+ "name": "onscroll",
35688
+ "type": {
35689
+ "text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
35690
+ },
35691
+ "description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
35692
+ "default": "null",
35693
+ "attribute": "onscroll"
35694
+ },
35695
+ {
35696
+ "kind": "field",
35697
+ "name": "virtualizerProps",
35698
+ "type": {
35699
+ "text": "VirtualizerProps"
35700
+ },
35701
+ "description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
35702
+ "attribute": "virtualizerprops"
35703
+ },
35704
+ {
35705
+ "kind": "field",
35706
+ "name": "setlistdata",
35707
+ "type": {
35708
+ "text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
35709
+ },
35710
+ "description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
35711
+ "default": "null",
35712
+ "attribute": "setlistdata"
35713
+ },
35714
+ {
35715
+ "kind": "field",
35716
+ "name": "scrollElementRef",
35717
+ "type": {
35718
+ "text": "Ref<HTMLDivElement>"
35719
+ },
35720
+ "privacy": "public"
35721
+ },
35722
+ {
35723
+ "kind": "field",
35724
+ "name": "virtualizer",
35725
+ "type": {
35726
+ "text": "Virtualizer<Element, Element> | null"
35727
+ },
35728
+ "privacy": "public",
35729
+ "default": "null"
35730
+ },
35731
+ {
35732
+ "kind": "field",
35733
+ "name": "virtualItems",
35734
+ "type": {
35735
+ "text": "Array<VirtualItem>"
35736
+ },
35737
+ "privacy": "public",
35738
+ "default": "[]"
35739
+ },
35740
+ {
35741
+ "kind": "field",
35742
+ "name": "virtualizerController",
35743
+ "type": {
35744
+ "text": "null"
35745
+ },
35746
+ "default": "null"
35747
+ }
35748
+ ],
35749
+ "events": [
35750
+ {
35751
+ "description": "(React: onScroll) Event that gets called when user scrolls inside of list.",
35752
+ "name": "onscroll",
35753
+ "reactName": "onScroll"
35754
+ }
35755
+ ],
35756
+ "attributes": [
35757
+ {
35758
+ "name": "onscroll",
35759
+ "type": {
35760
+ "text": "((this: GlobalEventHandlers, ev: Event) => void) | null"
35761
+ },
35762
+ "description": "Callback that gets called when user scrolls inside of list. This gives access to the scroll container element\nas well via the event. Particularly useful for\nhandling logic related when the user scrolls to the top or bottom of a list.",
35763
+ "default": "null",
35764
+ "fieldName": "onscroll"
35765
+ },
35766
+ {
35767
+ "name": "virtualizerprops",
35768
+ "type": {
35769
+ "text": "VirtualizerProps"
35770
+ },
35771
+ "description": "Object that sets and updates the virtualizer with any relevant props.\nThere are two required object props in order to get virtualization to work properly.\ncount - The length of your list that you are virtualizing.\nAs your list grows/shrinks, this component must be updated with the appropriate value\n(Same with any other updated prop).\nestimateSize - A function that returns the estimated size of your items.\nIf your list is fixed, this will just be the size of your items.\nIf your list is dynamic, try to return approximate the size of each item.\n\nA full list of possible props can be in\n[Tanstack Virtualizer API Docs](https://tanstack.com/virtual/latest/docs/api/virtualizer)",
35772
+ "fieldName": "virtualizerProps"
35773
+ },
35774
+ {
35775
+ "name": "setlistdata",
35776
+ "type": {
35777
+ "text": "(({ virtualItems, measureElement, listStyle }: SetListDataProps) => void) | null"
35778
+ },
35779
+ "description": "Callback that gets envoked when updates to the virtualizer interally occur.\nThis must be implemented in such a way that this function will trigger update to parent.\n\nvirtualItems - Array that will be what the client displays on screen. Use this to render\na List of your choosing with these items nested inside as your ListItems.\nmeasureElement - Ref to pass to each ListItem rendered client side.\nEach ListItem should also be be passed key and a data-index (which can be found on the virtualItem).\nlistStyle - This should be passed as the style attribute to your List.",
35780
+ "default": "null",
35781
+ "fieldName": "setlistdata"
35782
+ }
35783
+ ],
35784
+ "superclass": {
35785
+ "name": "Component",
35786
+ "module": "/src/models"
35787
+ },
35788
+ "tagName": "mdc-virtualizedlist",
35789
+ "jsDoc": "/**\n * `mdc-virtualizedlist` component for creating custom virtualized lists.\n * IMPORTANT: This component does not create it's own list/list items.\n * Use the setlistdata callback prop to update client state in order to\n * Pass list/listitems as a child of this component, which this will virtuailze\n * This implementation handles dynamic lists as well as fixed sized lists.\n * Please refer to [Tanstack Virtual Docs](https://tanstack.com/virtual/latest) for more in depth documentation.\n *\n * @tagname mdc-virtualizedlist\n *\n * @event onscroll - (React: onScroll) Event that gets called when user scrolls inside of list.\n *\n * @slot - Client side List with nested list items.\n */",
36268
35790
  "customElement": true
36269
35791
  }
36270
35792
  ],
@@ -36273,8 +35795,8 @@
36273
35795
  "kind": "js",
36274
35796
  "name": "default",
36275
35797
  "declaration": {
36276
- "name": "ToggleTip",
36277
- "module": "components/toggletip/toggletip.component.js"
35798
+ "name": "VirtualizedList",
35799
+ "module": "components/virtualizedlist/virtualizedlist.component.js"
36278
35800
  }
36279
35801
  }
36280
35802
  ]
@@ -38146,637 +37668,6 @@
38146
37668
  }
38147
37669
  ]
38148
37670
  },
38149
- {
38150
- "kind": "javascript-module",
38151
- "path": "utils/mixins/MenuMixin.js",
38152
- "declarations": [
38153
- {
38154
- "kind": "class",
38155
- "description": "",
38156
- "name": "MenuMixinInterface",
38157
- "members": [
38158
- {
38159
- "kind": "field",
38160
- "name": "ariaOrientation",
38161
- "type": {
38162
- "text": "Orientation"
38163
- }
38164
- },
38165
- {
38166
- "kind": "method",
38167
- "name": "handleKeyDown",
38168
- "privacy": "protected",
38169
- "return": {
38170
- "type": {
38171
- "text": "void"
38172
- }
38173
- },
38174
- "parameters": [
38175
- {
38176
- "name": "event",
38177
- "type": {
38178
- "text": "KeyboardEvent"
38179
- }
38180
- }
38181
- ]
38182
- },
38183
- {
38184
- "kind": "method",
38185
- "name": "handleMouseClick",
38186
- "privacy": "protected",
38187
- "return": {
38188
- "type": {
38189
- "text": "void"
38190
- }
38191
- },
38192
- "parameters": [
38193
- {
38194
- "name": "event",
38195
- "type": {
38196
- "text": "MouseEvent"
38197
- }
38198
- }
38199
- ]
38200
- },
38201
- {
38202
- "kind": "method",
38203
- "name": "updatePopoverPlacementBasedOnOrientation",
38204
- "privacy": "protected",
38205
- "return": {
38206
- "type": {
38207
- "text": "void"
38208
- }
38209
- }
38210
- }
38211
- ]
38212
- },
38213
- {
38214
- "kind": "mixin",
38215
- "description": "",
38216
- "name": "MenuMixin",
38217
- "members": [
38218
- {
38219
- "kind": "field",
38220
- "name": "ariaOrientation",
38221
- "type": {
38222
- "text": "Orientation"
38223
- },
38224
- "description": "Defines the orientation of the menu. This value is reflected to\nthe `aria-orientation` attribute and can be either `'horizontal'` or `'vertical'`.",
38225
- "default": "'horizontal'",
38226
- "attribute": "aria-orientation",
38227
- "reflects": true
38228
- },
38229
- {
38230
- "kind": "method",
38231
- "name": "setMenuBarPopoverValue",
38232
- "privacy": "private",
38233
- "parameters": [
38234
- {
38235
- "name": "value",
38236
- "type": {
38237
- "text": "boolean"
38238
- },
38239
- "description": "The value to set."
38240
- }
38241
- ],
38242
- "description": "Sets the value of the data-menu-popover-open attribute on the menu element."
38243
- },
38244
- {
38245
- "kind": "method",
38246
- "name": "isMenuPopoverOpen",
38247
- "privacy": "private",
38248
- "return": {
38249
- "type": {
38250
- "text": "boolean"
38251
- }
38252
- },
38253
- "description": "Returns true if the data-menu-popover-open attribute on the menu element is set to 'true', false otherwise."
38254
- },
38255
- {
38256
- "kind": "method",
38257
- "name": "getCurrentIndex",
38258
- "privacy": "private",
38259
- "return": {
38260
- "type": {
38261
- "text": ""
38262
- }
38263
- },
38264
- "parameters": [
38265
- {
38266
- "name": "target",
38267
- "type": {
38268
- "text": "EventTarget | null"
38269
- },
38270
- "description": "The target element to find the index of."
38271
- }
38272
- ],
38273
- "description": "Returns the index of the given target in the menuItems array.\nIf the target is not a menu item, but a child element of a menu item,\nit returns the index of the parent menu item."
38274
- },
38275
- {
38276
- "kind": "method",
38277
- "name": "updatePopoverPlacementBasedOnOrientation",
38278
- "privacy": "protected",
38279
- "return": {
38280
- "type": {
38281
- "text": "void"
38282
- }
38283
- },
38284
- "description": "Updates the placement of the popover based on the aria-orientation property."
38285
- },
38286
- {
38287
- "kind": "method",
38288
- "name": "updateTabIndexAndFocusNewIndex",
38289
- "privacy": "private",
38290
- "parameters": [
38291
- {
38292
- "name": "menuItems",
38293
- "type": {
38294
- "text": "Array<HTMLElement>"
38295
- },
38296
- "description": "The list of menu items."
38297
- },
38298
- {
38299
- "name": "currentIndex",
38300
- "type": {
38301
- "text": "number"
38302
- },
38303
- "description": "The current index of the focused menu item."
38304
- },
38305
- {
38306
- "name": "newIndex",
38307
- "type": {
38308
- "text": "number"
38309
- },
38310
- "description": "The index of the new active element in the list."
38311
- }
38312
- ],
38313
- "description": "Updates the tabindex of the current index to -1 and the tabindex of the new index to 0,\neffectively setting the active element. This is used when navigating the menu via keyboard."
38314
- },
38315
- {
38316
- "kind": "method",
38317
- "name": "isValidMenu",
38318
- "privacy": "private",
38319
- "return": {
38320
- "type": {
38321
- "text": ""
38322
- }
38323
- },
38324
- "parameters": [
38325
- {
38326
- "name": "tagName",
38327
- "optional": true,
38328
- "type": {
38329
- "text": "string"
38330
- },
38331
- "description": "The tag name to check."
38332
- }
38333
- ],
38334
- "description": "Checks if the given tag name is a valid menu tag name."
38335
- },
38336
- {
38337
- "kind": "method",
38338
- "name": "isValidNavItemList",
38339
- "privacy": "private",
38340
- "return": {
38341
- "type": {
38342
- "text": ""
38343
- }
38344
- },
38345
- "parameters": [
38346
- {
38347
- "name": "tagName",
38348
- "optional": true,
38349
- "type": {
38350
- "text": "string"
38351
- },
38352
- "description": "The tag name to check."
38353
- }
38354
- ],
38355
- "description": "Checks if the given tag name is a valid navitemlist tag name."
38356
- },
38357
- {
38358
- "kind": "method",
38359
- "name": "isValidPopover",
38360
- "privacy": "private",
38361
- "return": {
38362
- "type": {
38363
- "text": ""
38364
- }
38365
- },
38366
- "parameters": [
38367
- {
38368
- "name": "tagName",
38369
- "optional": true,
38370
- "type": {
38371
- "text": "string"
38372
- },
38373
- "description": "The tag name to check."
38374
- }
38375
- ],
38376
- "description": "Checks if the given tag name is a valid menu popover tag name."
38377
- },
38378
- {
38379
- "kind": "method",
38380
- "name": "openPopover",
38381
- "privacy": "private",
38382
- "return": {
38383
- "type": {
38384
- "text": ""
38385
- }
38386
- },
38387
- "parameters": [
38388
- {
38389
- "name": "index",
38390
- "type": {
38391
- "text": "number"
38392
- },
38393
- "description": "The index of the menu item to open the popover for."
38394
- }
38395
- ],
38396
- "description": "Opens the popover at the given index if it exists."
38397
- },
38398
- {
38399
- "kind": "method",
38400
- "name": "navigateToPrevMenuItem",
38401
- "privacy": "private",
38402
- "return": {
38403
- "type": {
38404
- "text": "void"
38405
- }
38406
- },
38407
- "parameters": [
38408
- {
38409
- "name": "currentIndex",
38410
- "type": {
38411
- "text": "number"
38412
- },
38413
- "description": "The current index of the focused menu item."
38414
- },
38415
- {
38416
- "name": "firstMenuIndex",
38417
- "type": {
38418
- "text": "number"
38419
- },
38420
- "description": "The index of the first menu item."
38421
- },
38422
- {
38423
- "name": "lastMenuIndex",
38424
- "type": {
38425
- "text": "number"
38426
- },
38427
- "description": "The index of the last menu item."
38428
- },
38429
- {
38430
- "name": "ariaOrientation",
38431
- "type": {
38432
- "text": "Orientation"
38433
- },
38434
- "description": "The orientation of the menu."
38435
- }
38436
- ],
38437
- "description": "Navigates to the previous menu item and updates the tabindex of the current index\nto -1 and the tabindex of the new index to 0."
38438
- },
38439
- {
38440
- "kind": "method",
38441
- "name": "navigateToNextMenuItem",
38442
- "privacy": "private",
38443
- "return": {
38444
- "type": {
38445
- "text": "void"
38446
- }
38447
- },
38448
- "parameters": [
38449
- {
38450
- "name": "currentIndex",
38451
- "type": {
38452
- "text": "number"
38453
- },
38454
- "description": "The current index of the focused menu item."
38455
- },
38456
- {
38457
- "name": "firstMenuIndex",
38458
- "type": {
38459
- "text": "number"
38460
- },
38461
- "description": "The index of the first menu item."
38462
- },
38463
- {
38464
- "name": "lastMenuIndex",
38465
- "type": {
38466
- "text": "number"
38467
- },
38468
- "description": "The index of the last menu item."
38469
- },
38470
- {
38471
- "name": "ariaOrientation",
38472
- "type": {
38473
- "text": "Orientation"
38474
- },
38475
- "description": "The orientation of the menu."
38476
- }
38477
- ],
38478
- "description": "Navigates to the next menu item and updates the tabindex of the current index\nto -1 and the tabindex of the new index to 0."
38479
- },
38480
- {
38481
- "kind": "method",
38482
- "name": "getParentMenuItemDetails",
38483
- "privacy": "private",
38484
- "return": {
38485
- "type": {
38486
- "text": ""
38487
- }
38488
- },
38489
- "parameters": [
38490
- {
38491
- "name": "menuChildId",
38492
- "type": {
38493
- "text": "string"
38494
- },
38495
- "description": "The id of the menu child element."
38496
- },
38497
- {
38498
- "name": "menu",
38499
- "optional": true,
38500
- "type": {
38501
- "text": "HTMLElement | null"
38502
- },
38503
- "description": "The current menu element to start traversing from."
38504
- }
38505
- ],
38506
- "description": "Returns the parent menu item details for the given menu child id.\nIt recursively traverses up the DOM tree until it finds a menu or menubar element."
38507
- },
38508
- {
38509
- "kind": "method",
38510
- "name": "hideAllPopovers",
38511
- "privacy": "private",
38512
- "return": {
38513
- "type": {
38514
- "text": "void"
38515
- }
38516
- },
38517
- "parameters": [
38518
- {
38519
- "name": "menu",
38520
- "optional": true,
38521
- "type": {
38522
- "text": "HTMLElement | null"
38523
- },
38524
- "description": "The current menu element to start traversing from."
38525
- }
38526
- ],
38527
- "description": "Recursively hides all the popovers up the DOM tree until it finds a menu or menubar element."
38528
- },
38529
- {
38530
- "kind": "method",
38531
- "name": "navigateToPrevParentMenuItem",
38532
- "privacy": "private",
38533
- "return": {
38534
- "type": {
38535
- "text": "void"
38536
- }
38537
- },
38538
- "parameters": [
38539
- {
38540
- "name": "currentIndex",
38541
- "type": {
38542
- "text": "number"
38543
- },
38544
- "description": "The current index of the focused menu item."
38545
- },
38546
- {
38547
- "name": "key",
38548
- "type": {
38549
- "text": "string"
38550
- }
38551
- }
38552
- ],
38553
- "description": "Recursively navigates up the DOM tree until it finds the previous menu item\nand updates the tabindex of the current index to -1 and the tabindex of the new index to 0.\nAlso opens the popover of the previous menu item."
38554
- },
38555
- {
38556
- "kind": "method",
38557
- "name": "closePopoverAndNavigateToPrevParentMenuItem",
38558
- "privacy": "private",
38559
- "return": {
38560
- "type": {
38561
- "text": "void"
38562
- }
38563
- },
38564
- "parameters": [
38565
- {
38566
- "name": "currentIndex",
38567
- "type": {
38568
- "text": "number"
38569
- },
38570
- "description": "The current index of the focused menu item."
38571
- },
38572
- {
38573
- "name": "key",
38574
- "type": {
38575
- "text": "string"
38576
- }
38577
- }
38578
- ],
38579
- "description": "Closes the current menu popover and navigates to the previous parent menu item."
38580
- },
38581
- {
38582
- "kind": "method",
38583
- "name": "getParentMenuContents",
38584
- "privacy": "private",
38585
- "return": {
38586
- "type": {
38587
- "text": ""
38588
- }
38589
- },
38590
- "parameters": [
38591
- {
38592
- "name": "currentMenuItem",
38593
- "type": {
38594
- "text": "HTMLElement | null"
38595
- },
38596
- "description": "The current menu item to start traversing from."
38597
- }
38598
- ],
38599
- "description": "Gets the parent menu contents of the given current menu item.\nIt recursively traverses up the DOM tree until it finds the parent menu element\nand gets the parent menu item details and the children of the parent menu item."
38600
- },
38601
- {
38602
- "kind": "method",
38603
- "name": "openPopoverAndNavigateToNextChildrenMenuItem",
38604
- "privacy": "private",
38605
- "return": {
38606
- "type": {
38607
- "text": "void"
38608
- }
38609
- },
38610
- "parameters": [
38611
- {
38612
- "name": "currentIndex",
38613
- "type": {
38614
- "text": "number"
38615
- },
38616
- "description": "The current index of the focused menu item."
38617
- }
38618
- ],
38619
- "description": "Opens the popover of the next children menu item if there are children.\nIf there are no children, then it closes all popovers recursively and\nnavigates to the next menu item from the menu bar.\nIf the parent menu item does not have any children, then we will go to the next menu item."
38620
- },
38621
- {
38622
- "kind": "method",
38623
- "name": "isValidMenuItem",
38624
- "privacy": "private",
38625
- "return": {
38626
- "type": {
38627
- "text": ""
38628
- }
38629
- },
38630
- "parameters": [
38631
- {
38632
- "name": "menuItem",
38633
- "type": {
38634
- "text": "HTMLElement"
38635
- },
38636
- "description": "The menu item to check."
38637
- }
38638
- ],
38639
- "description": "Checks if the given menu item is a valid menu item."
38640
- },
38641
- {
38642
- "kind": "method",
38643
- "name": "resetTabIndexAndSetActiveTabIndex",
38644
- "privacy": "private",
38645
- "parameters": [
38646
- {
38647
- "name": "menuItems",
38648
- "type": {
38649
- "text": "Array<HTMLElement>"
38650
- }
38651
- },
38652
- {
38653
- "description": "The index of the new active element in the list.",
38654
- "name": "newIndex"
38655
- }
38656
- ],
38657
- "description": "Resets all list items tabindex to -1 and sets the tabindex of the\nelement at the given index to 0, effectively setting the active\nelement. This is used when navigating the list via keyboard."
38658
- },
38659
- {
38660
- "kind": "method",
38661
- "name": "getKeyBasedOnDirection",
38662
- "privacy": "private",
38663
- "return": {
38664
- "type": {
38665
- "text": ""
38666
- }
38667
- },
38668
- "parameters": [
38669
- {
38670
- "name": "originalKey",
38671
- "type": {
38672
- "text": "string"
38673
- },
38674
- "description": "The original key pressed."
38675
- }
38676
- ],
38677
- "description": "Returns the key based on the direction of the document.\nIf the document is in RTL mode and the key is ARROW_LEFT or ARROW_RIGHT,\nit will swap them to maintain the correct navigation direction."
38678
- },
38679
- {
38680
- "kind": "method",
38681
- "name": "handleKeyDown",
38682
- "privacy": "protected",
38683
- "return": {
38684
- "type": {
38685
- "text": "void"
38686
- }
38687
- },
38688
- "parameters": [
38689
- {
38690
- "name": "event",
38691
- "type": {
38692
- "text": "KeyboardEvent"
38693
- },
38694
- "description": "The keyboard event."
38695
- }
38696
- ],
38697
- "description": "Handles the keydown event on the menu bar.\nThe keys are as follows:\n- HOME: Sets focus to the first menu item.\n- END: Sets focus to the last menu item.\n- ARROW_LEFT:\n - If orientation is horizontal, then it navigates to the previous menu item.\n - If orientation is vertical, then it closes the popover of the current menu item and\n navigates to the previous parent menu item.\n- ARROW_RIGHT:\n - If orientation is horizontal, then it navigates to the next menu item.\n - If orientation is vertical, then it opens the popover of the current menu item and\n navigates to the next children menu item.\n- ARROW_UP:\n - If orientation is horizontal, then it opens the popover of the current menu item.\n - If orientation is vertical, then it navigates to the previous menu item.\n- ARROW_DOWN:\n - If orientation is horizontal, then it opens the popover of the current menu item.\n - If orientation is vertical, then it navigates to the next menu item.\n- SPACE:\n- ENTER:\n - If the next element sibling is a menu popover, then it opens the popover of the current\n menu item and navigates to the next children menu item.\n - If the target element is a menu item, then it closes all popovers recursively and\n navigates to the previous parent menu item.\n- ESCAPE:\n - If a popover is already open then we close it and navigate to the parent menu item.\n - If the current menuitem is a child of menubar, then we will set the value of isMenuPopoverOpen to false.,"
38698
- },
38699
- {
38700
- "kind": "method",
38701
- "name": "closeAllPopoversExceptCurrent",
38702
- "privacy": "private",
38703
- "return": {
38704
- "type": {
38705
- "text": "void"
38706
- }
38707
- },
38708
- "parameters": [
38709
- {
38710
- "name": "currentIndex",
38711
- "type": {
38712
- "text": "number"
38713
- },
38714
- "description": "The index of the current menu item."
38715
- }
38716
- ],
38717
- "description": "Closes all popovers except the current one."
38718
- },
38719
- {
38720
- "kind": "method",
38721
- "name": "handleMouseClick",
38722
- "privacy": "protected",
38723
- "return": {
38724
- "type": {
38725
- "text": "void"
38726
- }
38727
- },
38728
- "parameters": [
38729
- {
38730
- "name": "event",
38731
- "type": {
38732
- "text": "MouseEvent"
38733
- },
38734
- "description": "The mouse click event."
38735
- }
38736
- ],
38737
- "description": "Handles the mouse click event on the menu items.\n- If the menuitem has children, then it opens the popover of the next children menu item.\n- If the menuitem does not have children, then it closes all popovers recursively."
38738
- }
38739
- ],
38740
- "attributes": [
38741
- {
38742
- "name": "aria-orientation",
38743
- "type": {
38744
- "text": "Orientation"
38745
- },
38746
- "description": "Defines the orientation of the menu. This value is reflected to\nthe `aria-orientation` attribute and can be either `'horizontal'` or `'vertical'`.",
38747
- "default": "'horizontal'",
38748
- "fieldName": "ariaOrientation"
38749
- }
38750
- ],
38751
- "parameters": [
38752
- {
38753
- "name": "superClass",
38754
- "type": {
38755
- "text": "T"
38756
- }
38757
- }
38758
- ]
38759
- }
38760
- ],
38761
- "exports": [
38762
- {
38763
- "kind": "js",
38764
- "name": "MenuMixinInterface",
38765
- "declaration": {
38766
- "name": "MenuMixinInterface",
38767
- "module": "utils/mixins/MenuMixin.js"
38768
- }
38769
- },
38770
- {
38771
- "kind": "js",
38772
- "name": "MenuMixin",
38773
- "declaration": {
38774
- "name": "MenuMixin",
38775
- "module": "utils/mixins/MenuMixin.js"
38776
- }
38777
- }
38778
- ]
38779
- },
38780
37671
  {
38781
37672
  "kind": "javascript-module",
38782
37673
  "path": "utils/mixins/PreventScrollMixin.js",