@momentum-design/components 0.129.43 → 0.129.44

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 (52) hide show
  1. package/dist/browser/index.js +386 -386
  2. package/dist/browser/index.js.map +4 -4
  3. package/dist/components/accordionbutton/accordionbutton.component.d.ts +1 -1
  4. package/dist/components/accordionbutton/accordionbutton.component.js +4 -3
  5. package/dist/components/buttonsimple/buttonsimple.component.d.ts +1 -1
  6. package/dist/components/buttonsimple/buttonsimple.component.js +8 -6
  7. package/dist/components/cardcheckbox/cardcheckbox.component.d.ts +1 -1
  8. package/dist/components/cardcheckbox/cardcheckbox.component.js +7 -5
  9. package/dist/components/cardradio/cardradio.component.d.ts +1 -1
  10. package/dist/components/cardradio/cardradio.component.js +8 -7
  11. package/dist/components/checkbox/checkbox.component.d.ts +2 -1
  12. package/dist/components/checkbox/checkbox.component.js +7 -4
  13. package/dist/components/combobox/combobox.component.d.ts +1 -1
  14. package/dist/components/combobox/combobox.component.js +11 -11
  15. package/dist/components/input/input.component.d.ts +1 -1
  16. package/dist/components/input/input.component.js +3 -3
  17. package/dist/components/list/list.component.d.ts +1 -1
  18. package/dist/components/listbox/listbox.component.d.ts +1 -1
  19. package/dist/components/listitem/listitem.component.d.ts +1 -1
  20. package/dist/components/listitem/listitem.component.js +11 -5
  21. package/dist/components/menubar/menubar.component.d.ts +2 -2
  22. package/dist/components/menubar/menubar.component.js +10 -20
  23. package/dist/components/menuitem/menuitem.component.js +3 -3
  24. package/dist/components/menupopover/menupopover.component.d.ts +0 -10
  25. package/dist/components/menupopover/menupopover.component.js +15 -36
  26. package/dist/components/popover/popover.component.d.ts +1 -1
  27. package/dist/components/popover/popover.component.js +3 -2
  28. package/dist/components/radio/radio.component.d.ts +1 -1
  29. package/dist/components/radio/radio.component.js +8 -7
  30. package/dist/components/searchfield/searchfield.component.d.ts +3 -0
  31. package/dist/components/searchfield/searchfield.component.js +18 -5
  32. package/dist/components/searchpopover/searchpopover.component.js +3 -4
  33. package/dist/components/select/select.component.d.ts +1 -1
  34. package/dist/components/select/select.component.js +9 -8
  35. package/dist/components/slider/slider.component.d.ts +2 -1
  36. package/dist/components/slider/slider.component.js +4 -3
  37. package/dist/components/stepperitem/stepperitem.component.d.ts +1 -1
  38. package/dist/components/stepperitem/stepperitem.component.js +8 -6
  39. package/dist/components/textarea/textarea.component.d.ts +1 -1
  40. package/dist/components/textarea/textarea.component.js +5 -4
  41. package/dist/components/toggle/toggle.component.d.ts +1 -1
  42. package/dist/components/toggle/toggle.component.js +5 -4
  43. package/dist/components/virtualizedlist/virtualizedlist.component.d.ts +1 -1
  44. package/dist/components/virtualizedlist/virtualizedlist.component.js +7 -6
  45. package/dist/custom-elements.json +1343 -202
  46. package/dist/react/checkbox/index.d.ts +1 -0
  47. package/dist/react/checkbox/index.js +1 -0
  48. package/dist/utils/mixins/KeyToActionMixin.d.ts +69 -0
  49. package/dist/utils/mixins/KeyToActionMixin.js +92 -0
  50. package/dist/utils/mixins/ListNavigationMixin.d.ts +2 -1
  51. package/dist/utils/mixins/ListNavigationMixin.js +10 -33
  52. package/package.json +1 -1
@@ -161,8 +161,8 @@
161
161
  "attribute": "disabled",
162
162
  "reflects": true,
163
163
  "inheritedFrom": {
164
- "name": "DisabledMixin",
165
- "module": "utils/mixins/DisabledMixin.js"
164
+ "name": "AccordionButton",
165
+ "module": "components/accordionbutton/accordionbutton.component.js"
166
166
  }
167
167
  },
168
168
  {
@@ -195,6 +195,34 @@
195
195
  "module": "components/accordionbutton/accordionbutton.component.js"
196
196
  }
197
197
  },
198
+ {
199
+ "kind": "method",
200
+ "name": "getActionForKeyEvent",
201
+ "return": {
202
+ "type": {
203
+ "text": "Actions | undefined"
204
+ }
205
+ },
206
+ "parameters": [
207
+ {
208
+ "name": "evt",
209
+ "type": {
210
+ "text": "KeyboardEvent"
211
+ }
212
+ },
213
+ {
214
+ "name": "applyWritingDirection",
215
+ "default": "false",
216
+ "type": {
217
+ "text": "boolean"
218
+ }
219
+ }
220
+ ],
221
+ "inheritedFrom": {
222
+ "name": "AccordionButton",
223
+ "module": "components/accordionbutton/accordionbutton.component.js"
224
+ }
225
+ },
198
226
  {
199
227
  "kind": "method",
200
228
  "name": "getArrowIconName",
@@ -420,8 +448,8 @@
420
448
  "default": "undefined",
421
449
  "fieldName": "disabled",
422
450
  "inheritedFrom": {
423
- "name": "DisabledMixin",
424
- "module": "src/utils/mixins/DisabledMixin.ts"
451
+ "name": "AccordionButton",
452
+ "module": "src/components/accordionbutton/accordionbutton.component.ts"
425
453
  }
426
454
  },
427
455
  {
@@ -632,6 +660,34 @@
632
660
  "attribute": "expanded",
633
661
  "reflects": true
634
662
  },
663
+ {
664
+ "kind": "method",
665
+ "name": "getActionForKeyEvent",
666
+ "return": {
667
+ "type": {
668
+ "text": "Actions | undefined"
669
+ }
670
+ },
671
+ "parameters": [
672
+ {
673
+ "name": "evt",
674
+ "type": {
675
+ "text": "KeyboardEvent"
676
+ }
677
+ },
678
+ {
679
+ "name": "applyWritingDirection",
680
+ "default": "false",
681
+ "type": {
682
+ "text": "boolean"
683
+ }
684
+ }
685
+ ],
686
+ "inheritedFrom": {
687
+ "name": "KeyToActionMixin",
688
+ "module": "utils/mixins/KeyToActionMixin.js"
689
+ }
690
+ },
635
691
  {
636
692
  "kind": "method",
637
693
  "name": "getArrowIconName",
@@ -840,6 +896,10 @@
840
896
  }
841
897
  ],
842
898
  "mixins": [
899
+ {
900
+ "name": "KeyToActionMixin",
901
+ "module": "/src/utils/mixins/KeyToActionMixin"
902
+ },
843
903
  {
844
904
  "name": "DisabledMixin",
845
905
  "module": "/src/utils/mixins/DisabledMixin"
@@ -1154,6 +1214,34 @@
1154
1214
  "module": "components/buttonsimple/buttonsimple.component.js"
1155
1215
  }
1156
1216
  },
1217
+ {
1218
+ "kind": "method",
1219
+ "name": "getActionForKeyEvent",
1220
+ "return": {
1221
+ "type": {
1222
+ "text": "Actions | undefined"
1223
+ }
1224
+ },
1225
+ "parameters": [
1226
+ {
1227
+ "name": "evt",
1228
+ "type": {
1229
+ "text": "KeyboardEvent"
1230
+ }
1231
+ },
1232
+ {
1233
+ "name": "applyWritingDirection",
1234
+ "default": "false",
1235
+ "type": {
1236
+ "text": "boolean"
1237
+ }
1238
+ }
1239
+ ],
1240
+ "inheritedFrom": {
1241
+ "name": "KeyToActionMixin",
1242
+ "module": "utils/mixins/KeyToActionMixin.js"
1243
+ }
1244
+ },
1157
1245
  {
1158
1246
  "kind": "method",
1159
1247
  "name": "handleBlur",
@@ -3784,6 +3872,34 @@
3784
3872
  "module": "components/buttonsimple/buttonsimple.component.js"
3785
3873
  }
3786
3874
  },
3875
+ {
3876
+ "kind": "method",
3877
+ "name": "getActionForKeyEvent",
3878
+ "return": {
3879
+ "type": {
3880
+ "text": "Actions | undefined"
3881
+ }
3882
+ },
3883
+ "parameters": [
3884
+ {
3885
+ "name": "evt",
3886
+ "type": {
3887
+ "text": "KeyboardEvent"
3888
+ }
3889
+ },
3890
+ {
3891
+ "name": "applyWritingDirection",
3892
+ "default": "false",
3893
+ "type": {
3894
+ "text": "boolean"
3895
+ }
3896
+ }
3897
+ ],
3898
+ "inheritedFrom": {
3899
+ "name": "KeyToActionMixin",
3900
+ "module": "utils/mixins/KeyToActionMixin.js"
3901
+ }
3902
+ },
3787
3903
  {
3788
3904
  "kind": "method",
3789
3905
  "name": "handleBlur",
@@ -5329,6 +5445,34 @@
5329
5445
  "module": "components/buttonsimple/buttonsimple.component.js"
5330
5446
  }
5331
5447
  },
5448
+ {
5449
+ "kind": "method",
5450
+ "name": "getActionForKeyEvent",
5451
+ "return": {
5452
+ "type": {
5453
+ "text": "Actions | undefined"
5454
+ }
5455
+ },
5456
+ "parameters": [
5457
+ {
5458
+ "name": "evt",
5459
+ "type": {
5460
+ "text": "KeyboardEvent"
5461
+ }
5462
+ },
5463
+ {
5464
+ "name": "applyWritingDirection",
5465
+ "default": "false",
5466
+ "type": {
5467
+ "text": "boolean"
5468
+ }
5469
+ }
5470
+ ],
5471
+ "inheritedFrom": {
5472
+ "name": "KeyToActionMixin",
5473
+ "module": "utils/mixins/KeyToActionMixin.js"
5474
+ }
5475
+ },
5332
5476
  {
5333
5477
  "kind": "method",
5334
5478
  "name": "handleBlur",
@@ -7035,6 +7179,34 @@
7035
7179
  "name": "executeAction",
7036
7180
  "privacy": "protected"
7037
7181
  },
7182
+ {
7183
+ "kind": "method",
7184
+ "name": "getActionForKeyEvent",
7185
+ "return": {
7186
+ "type": {
7187
+ "text": "Actions | undefined"
7188
+ }
7189
+ },
7190
+ "parameters": [
7191
+ {
7192
+ "name": "evt",
7193
+ "type": {
7194
+ "text": "KeyboardEvent"
7195
+ }
7196
+ },
7197
+ {
7198
+ "name": "applyWritingDirection",
7199
+ "default": "false",
7200
+ "type": {
7201
+ "text": "boolean"
7202
+ }
7203
+ }
7204
+ ],
7205
+ "inheritedFrom": {
7206
+ "name": "KeyToActionMixin",
7207
+ "module": "utils/mixins/KeyToActionMixin.js"
7208
+ }
7209
+ },
7038
7210
  {
7039
7211
  "kind": "method",
7040
7212
  "name": "handleBlur",
@@ -7358,6 +7530,10 @@
7358
7530
  }
7359
7531
  ],
7360
7532
  "mixins": [
7533
+ {
7534
+ "name": "KeyToActionMixin",
7535
+ "module": "/src/utils/mixins/KeyToActionMixin"
7536
+ },
7361
7537
  {
7362
7538
  "name": "AutoFocusOnMountMixin",
7363
7539
  "module": "/src/utils/mixins/AutoFocusOnMountMixin"
@@ -8047,6 +8223,34 @@
8047
8223
  "module": "components/buttonsimple/buttonsimple.component.js"
8048
8224
  }
8049
8225
  },
8226
+ {
8227
+ "kind": "method",
8228
+ "name": "getActionForKeyEvent",
8229
+ "return": {
8230
+ "type": {
8231
+ "text": "Actions | undefined"
8232
+ }
8233
+ },
8234
+ "parameters": [
8235
+ {
8236
+ "name": "evt",
8237
+ "type": {
8238
+ "text": "KeyboardEvent"
8239
+ }
8240
+ },
8241
+ {
8242
+ "name": "applyWritingDirection",
8243
+ "default": "false",
8244
+ "type": {
8245
+ "text": "boolean"
8246
+ }
8247
+ }
8248
+ ],
8249
+ "inheritedFrom": {
8250
+ "name": "Buttonsimple",
8251
+ "module": "components/buttonsimple/buttonsimple.component.js"
8252
+ }
8253
+ },
8050
8254
  {
8051
8255
  "kind": "method",
8052
8256
  "name": "handleBlur",
@@ -9014,6 +9218,34 @@
9014
9218
  "module": "utils/mixins/DisabledMixin.js"
9015
9219
  }
9016
9220
  },
9221
+ {
9222
+ "kind": "method",
9223
+ "name": "getActionForKeyEvent",
9224
+ "return": {
9225
+ "type": {
9226
+ "text": "Actions | undefined"
9227
+ }
9228
+ },
9229
+ "parameters": [
9230
+ {
9231
+ "name": "evt",
9232
+ "type": {
9233
+ "text": "KeyboardEvent"
9234
+ }
9235
+ },
9236
+ {
9237
+ "name": "applyWritingDirection",
9238
+ "default": "false",
9239
+ "type": {
9240
+ "text": "boolean"
9241
+ }
9242
+ }
9243
+ ],
9244
+ "inheritedFrom": {
9245
+ "name": "KeyToActionMixin",
9246
+ "module": "utils/mixins/KeyToActionMixin.js"
9247
+ }
9248
+ },
9017
9249
  {
9018
9250
  "kind": "method",
9019
9251
  "name": "handleKeyDown",
@@ -9475,6 +9707,10 @@
9475
9707
  }
9476
9708
  ],
9477
9709
  "mixins": [
9710
+ {
9711
+ "name": "KeyToActionMixin",
9712
+ "module": "/src/utils/mixins/KeyToActionMixin"
9713
+ },
9478
9714
  {
9479
9715
  "name": "DisabledMixin",
9480
9716
  "module": "/src/utils/mixins/DisabledMixin"
@@ -9732,6 +9968,34 @@
9732
9968
  "module": "utils/mixins/DisabledMixin.js"
9733
9969
  }
9734
9970
  },
9971
+ {
9972
+ "kind": "method",
9973
+ "name": "getActionForKeyEvent",
9974
+ "return": {
9975
+ "type": {
9976
+ "text": "Actions | undefined"
9977
+ }
9978
+ },
9979
+ "parameters": [
9980
+ {
9981
+ "name": "evt",
9982
+ "type": {
9983
+ "text": "KeyboardEvent"
9984
+ }
9985
+ },
9986
+ {
9987
+ "name": "applyWritingDirection",
9988
+ "default": "false",
9989
+ "type": {
9990
+ "text": "boolean"
9991
+ }
9992
+ }
9993
+ ],
9994
+ "inheritedFrom": {
9995
+ "name": "KeyToActionMixin",
9996
+ "module": "utils/mixins/KeyToActionMixin.js"
9997
+ }
9998
+ },
9735
9999
  {
9736
10000
  "kind": "method",
9737
10001
  "name": "getAllCardsWithinSameGroup",
@@ -10238,6 +10502,10 @@
10238
10502
  }
10239
10503
  ],
10240
10504
  "mixins": [
10505
+ {
10506
+ "name": "KeyToActionMixin",
10507
+ "module": "/src/utils/mixins/KeyToActionMixin"
10508
+ },
10241
10509
  {
10242
10510
  "name": "DisabledMixin",
10243
10511
  "module": "/src/utils/mixins/DisabledMixin"
@@ -10273,7 +10541,7 @@
10273
10541
  "declarations": [
10274
10542
  {
10275
10543
  "kind": "class",
10276
- "description": "The Checkbox component allows users to select one or multiple options from a list, toggle features on/off,\nor indicate agreement in forms and settings. These are commonly used in forms, lists, and settings panels\nwhere users need to make selections or express preferences.\n\nTo create a group of checkboxes, use the `mdc-formfieldgroup` component.\n\n**Note:** This component internally renders a native checkbox input element with custom styling.\n\n## When to use\nUse checkboxes when users can select multiple options from a list, or when a single checkbox represents a binary choice (e.g., agreeing to terms).\n\n## Accessibility\n- Provide clear labels that describe what the checkbox controls\n- Use `data-aria-label` when a visual label is not present\n- Keyboard navigation: Space to toggle, Tab to navigate, Enter to submit form\n\n## Styling\nUse the `static-checkbox` part to apply custom styles to the checkbox visual element.\nThis part exposes the underlying [StaticCheckbox](?path=/docs/components-decorator-staticcheckbox--docs) component for advanced styling.",
10544
+ "description": "The Checkbox component allows users to select one or multiple options from a list, toggle features on/off,\nor indicate agreement in forms and settings. These are commonly used in forms, lists, and settings panels\nwhere users need to make selections or express preferences.\n\nTo create a group of checkboxes, use the `mdc-formfieldgroup` component.\n\n**Note:** This component internally renders a native checkbox input element with custom styling.\n\n## When to use\n\nUse checkboxes when users can select multiple options from a list, or when a single checkbox represents a binary choice (e.g., agreeing to terms).\n\n## Accessibility\n- Provide clear labels that describe what the checkbox controls\n- Use `data-aria-label` when a visual label is not present\n- Keyboard navigation: Space to toggle, Tab to navigate, Enter to submit form\n\n## Styling\nUse the `static-checkbox` part to apply custom styles to the checkbox visual element.\nThis part exposes the underlying [StaticCheckbox](?path=/docs/components-decorator-staticcheckbox--docs) component for advanced styling.",
10277
10545
  "name": "Checkbox",
10278
10546
  "cssParts": [
10279
10547
  {
@@ -10434,6 +10702,34 @@
10434
10702
  "module": "utils/mixins/DisabledMixin.js"
10435
10703
  }
10436
10704
  },
10705
+ {
10706
+ "kind": "method",
10707
+ "name": "getActionForKeyEvent",
10708
+ "return": {
10709
+ "type": {
10710
+ "text": "Actions | undefined"
10711
+ }
10712
+ },
10713
+ "parameters": [
10714
+ {
10715
+ "name": "evt",
10716
+ "type": {
10717
+ "text": "KeyboardEvent"
10718
+ }
10719
+ },
10720
+ {
10721
+ "name": "applyWritingDirection",
10722
+ "default": "false",
10723
+ "type": {
10724
+ "text": "boolean"
10725
+ }
10726
+ }
10727
+ ],
10728
+ "inheritedFrom": {
10729
+ "name": "KeyToActionMixin",
10730
+ "module": "utils/mixins/KeyToActionMixin.js"
10731
+ }
10732
+ },
10437
10733
  {
10438
10734
  "kind": "field",
10439
10735
  "name": "helpText",
@@ -11004,6 +11300,14 @@
11004
11300
  }
11005
11301
  ],
11006
11302
  "mixins": [
11303
+ {
11304
+ "name": "KeyToActionMixin",
11305
+ "module": "/src/utils/mixins/KeyToActionMixin"
11306
+ },
11307
+ {
11308
+ "name": "KeyToActionMixin",
11309
+ "module": "/src/utils/mixins/KeyToActionMixin"
11310
+ },
11007
11311
  {
11008
11312
  "name": "AutoFocusOnMountMixin",
11009
11313
  "module": "/src/utils/mixins/AutoFocusOnMountMixin"
@@ -11022,7 +11326,7 @@
11022
11326
  "module": "/src/components/formfieldwrapper/formfieldwrapper.component"
11023
11327
  },
11024
11328
  "tagName": "mdc-checkbox",
11025
- "jsDoc": "/**\n * The Checkbox component allows users to select one or multiple options from a list, toggle features on/off,\n * or indicate agreement in forms and settings. These are commonly used in forms, lists, and settings panels\n * where users need to make selections or express preferences.\n *\n * To create a group of checkboxes, use the `mdc-formfieldgroup` component.\n *\n * **Note:** This component internally renders a native checkbox input element with custom styling.\n *\n * ## When to use\n * Use checkboxes when users can select multiple options from a list, or when a single checkbox represents a binary choice (e.g., agreeing to terms).\n *\n * ## Accessibility\n * - Provide clear labels that describe what the checkbox controls\n * - Use `data-aria-label` when a visual label is not present\n * - Keyboard navigation: Space to toggle, Tab to navigate, Enter to submit form\n *\n * ## Styling\n * Use the `static-checkbox` part to apply custom styles to the checkbox visual element.\n * This part exposes the underlying [StaticCheckbox](?path=/docs/components-decorator-staticcheckbox--docs) component for advanced styling.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-staticcheckbox\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-checkbox\n *\n * @event change - (React: onChange) Event that gets dispatched when the checkbox state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the checkbox receives focus.\n *\n * @csspart label - The label element.\n * @csspart label-text - The container for the label and required indicator elements.\n * @csspart required-indicator - The required indicator element that is displayed next to the label when the `required` property is set to true.\n * @csspart info-icon-btn - The info icon button element that is displayed next to the label when the `toggletip-text` property is set.\n * @csspart label-toggletip - The toggletip element that is displayed when the info icon button is clicked.\n * @csspart help-text - The helper/validation text element.\n * @csspart helper-icon - The helper/validation icon element that is displayed next to the helper/validation text.\n * @csspart help-text-container - The container for the helper/validation icon and text elements.\n * @csspart checkbox-input - The native checkbox input element that provides the interactive functionality.\n * @csspart text-container - The container for the label and helper text elements.\n * @csspart static-checkbox - The staticcheckbox that provides the visual checkbox appearance.\n */",
11329
+ "jsDoc": "/**\n * The Checkbox component allows users to select one or multiple options from a list, toggle features on/off,\n * or indicate agreement in forms and settings. These are commonly used in forms, lists, and settings panels\n * where users need to make selections or express preferences.\n *\n * To create a group of checkboxes, use the `mdc-formfieldgroup` component.\n *\n * **Note:** This component internally renders a native checkbox input element with custom styling.\n *\n * ## When to use\n *\n * Use checkboxes when users can select multiple options from a list, or when a single checkbox represents a binary choice (e.g., agreeing to terms).\n *\n * ## Accessibility\n * - Provide clear labels that describe what the checkbox controls\n * - Use `data-aria-label` when a visual label is not present\n * - Keyboard navigation: Space to toggle, Tab to navigate, Enter to submit form\n *\n * ## Styling\n * Use the `static-checkbox` part to apply custom styles to the checkbox visual element.\n * This part exposes the underlying [StaticCheckbox](?path=/docs/components-decorator-staticcheckbox--docs) component for advanced styling.\n *\n * @dependency mdc-button\n * @dependency mdc-icon\n * @dependency mdc-staticcheckbox\n * @dependency mdc-text\n * @dependency mdc-toggletip\n *\n * @tagname mdc-checkbox\n *\n * @event change - (React: onChange) Event that gets dispatched when the checkbox state changes.\n * @event focus - (React: onFocus) Event that gets dispatched when the checkbox receives focus.\n *\n * @csspart label - The label element.\n * @csspart label-text - The container for the label and required indicator elements.\n * @csspart required-indicator - The required indicator element that is displayed next to the label when the `required` property is set to true.\n * @csspart info-icon-btn - The info icon button element that is displayed next to the label when the `toggletip-text` property is set.\n * @csspart label-toggletip - The toggletip element that is displayed when the info icon button is clicked.\n * @csspart help-text - The helper/validation text element.\n * @csspart helper-icon - The helper/validation icon element that is displayed next to the helper/validation text.\n * @csspart help-text-container - The container for the helper/validation icon and text elements.\n * @csspart checkbox-input - The native checkbox input element that provides the interactive functionality.\n * @csspart text-container - The container for the label and helper text elements.\n * @csspart static-checkbox - The staticcheckbox that provides the visual checkbox appearance.\n */",
11026
11330
  "customElement": true,
11027
11331
  "slots": [
11028
11332
  {
@@ -11290,6 +11594,34 @@
11290
11594
  "module": "components/buttonsimple/buttonsimple.component.js"
11291
11595
  }
11292
11596
  },
11597
+ {
11598
+ "kind": "method",
11599
+ "name": "getActionForKeyEvent",
11600
+ "return": {
11601
+ "type": {
11602
+ "text": "Actions | undefined"
11603
+ }
11604
+ },
11605
+ "parameters": [
11606
+ {
11607
+ "name": "evt",
11608
+ "type": {
11609
+ "text": "KeyboardEvent"
11610
+ }
11611
+ },
11612
+ {
11613
+ "name": "applyWritingDirection",
11614
+ "default": "false",
11615
+ "type": {
11616
+ "text": "boolean"
11617
+ }
11618
+ }
11619
+ ],
11620
+ "inheritedFrom": {
11621
+ "name": "Buttonsimple",
11622
+ "module": "components/buttonsimple/buttonsimple.component.js"
11623
+ }
11624
+ },
11293
11625
  {
11294
11626
  "kind": "method",
11295
11627
  "name": "handleBlur",
@@ -12324,6 +12656,34 @@
12324
12656
  "module": "components/popover/popover.component.js"
12325
12657
  }
12326
12658
  },
12659
+ {
12660
+ "kind": "method",
12661
+ "name": "getActionForKeyEvent",
12662
+ "return": {
12663
+ "type": {
12664
+ "text": "Actions | undefined"
12665
+ }
12666
+ },
12667
+ "parameters": [
12668
+ {
12669
+ "name": "evt",
12670
+ "type": {
12671
+ "text": "KeyboardEvent"
12672
+ }
12673
+ },
12674
+ {
12675
+ "name": "applyWritingDirection",
12676
+ "default": "false",
12677
+ "type": {
12678
+ "text": "boolean"
12679
+ }
12680
+ }
12681
+ ],
12682
+ "inheritedFrom": {
12683
+ "name": "KeyToActionMixin",
12684
+ "module": "utils/mixins/KeyToActionMixin.js"
12685
+ }
12686
+ },
12327
12687
  {
12328
12688
  "kind": "method",
12329
12689
  "name": "getDeepActiveElement",
@@ -14012,6 +14372,34 @@
14012
14372
  "module": "utils/mixins/DisabledMixin.js"
14013
14373
  }
14014
14374
  },
14375
+ {
14376
+ "kind": "method",
14377
+ "name": "getActionForKeyEvent",
14378
+ "return": {
14379
+ "type": {
14380
+ "text": "Actions | undefined"
14381
+ }
14382
+ },
14383
+ "parameters": [
14384
+ {
14385
+ "name": "evt",
14386
+ "type": {
14387
+ "text": "KeyboardEvent"
14388
+ }
14389
+ },
14390
+ {
14391
+ "name": "applyWritingDirection",
14392
+ "default": "false",
14393
+ "type": {
14394
+ "text": "boolean"
14395
+ }
14396
+ }
14397
+ ],
14398
+ "inheritedFrom": {
14399
+ "name": "KeyToActionMixin",
14400
+ "module": "utils/mixins/KeyToActionMixin.js"
14401
+ }
14402
+ },
14015
14403
  {
14016
14404
  "kind": "method",
14017
14405
  "name": "getFirstSelectedOption",
@@ -15026,6 +15414,10 @@
15026
15414
  }
15027
15415
  ],
15028
15416
  "mixins": [
15417
+ {
15418
+ "name": "KeyToActionMixin",
15419
+ "module": "/src/utils/mixins/KeyToActionMixin"
15420
+ },
15029
15421
  {
15030
15422
  "name": "CaptureDestroyEventForChildElement",
15031
15423
  "module": "/src/utils/mixins/lifecycle/CaptureDestroyEventForChildElement"
@@ -16670,6 +17062,34 @@
16670
17062
  }
16671
17063
  }
16672
17064
  },
17065
+ {
17066
+ "kind": "method",
17067
+ "name": "getActionForKeyEvent",
17068
+ "return": {
17069
+ "type": {
17070
+ "text": "Actions | undefined"
17071
+ }
17072
+ },
17073
+ "parameters": [
17074
+ {
17075
+ "name": "evt",
17076
+ "type": {
17077
+ "text": "KeyboardEvent"
17078
+ }
17079
+ },
17080
+ {
17081
+ "name": "applyWritingDirection",
17082
+ "default": "false",
17083
+ "type": {
17084
+ "text": "boolean"
17085
+ }
17086
+ }
17087
+ ],
17088
+ "inheritedFrom": {
17089
+ "name": "Buttonsimple",
17090
+ "module": "components/buttonsimple/buttonsimple.component.js"
17091
+ }
17092
+ },
16673
17093
  {
16674
17094
  "kind": "method",
16675
17095
  "name": "handleBlur",
@@ -19408,6 +19828,34 @@
19408
19828
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
19409
19829
  }
19410
19830
  },
19831
+ {
19832
+ "kind": "method",
19833
+ "name": "getActionForKeyEvent",
19834
+ "return": {
19835
+ "type": {
19836
+ "text": "Actions | undefined"
19837
+ }
19838
+ },
19839
+ "parameters": [
19840
+ {
19841
+ "name": "evt",
19842
+ "type": {
19843
+ "text": "KeyboardEvent"
19844
+ }
19845
+ },
19846
+ {
19847
+ "name": "applyWritingDirection",
19848
+ "default": "false",
19849
+ "type": {
19850
+ "text": "boolean"
19851
+ }
19852
+ }
19853
+ ],
19854
+ "inheritedFrom": {
19855
+ "name": "KeyToActionMixin",
19856
+ "module": "utils/mixins/KeyToActionMixin.js"
19857
+ }
19858
+ },
19411
19859
  {
19412
19860
  "kind": "method",
19413
19861
  "name": "handleKeyDown",
@@ -20248,6 +20696,10 @@
20248
20696
  }
20249
20697
  ],
20250
20698
  "mixins": [
20699
+ {
20700
+ "name": "KeyToActionMixin",
20701
+ "module": "/src/utils/mixins/KeyToActionMixin"
20702
+ },
20251
20703
  {
20252
20704
  "name": "AutoFocusOnMountMixin",
20253
20705
  "module": "/src/utils/mixins/AutoFocusOnMountMixin"
@@ -21263,6 +21715,34 @@
21263
21715
  "module": "components/buttonsimple/buttonsimple.component.js"
21264
21716
  }
21265
21717
  },
21718
+ {
21719
+ "kind": "method",
21720
+ "name": "getActionForKeyEvent",
21721
+ "return": {
21722
+ "type": {
21723
+ "text": "Actions | undefined"
21724
+ }
21725
+ },
21726
+ "parameters": [
21727
+ {
21728
+ "name": "evt",
21729
+ "type": {
21730
+ "text": "KeyboardEvent"
21731
+ }
21732
+ },
21733
+ {
21734
+ "name": "applyWritingDirection",
21735
+ "default": "false",
21736
+ "type": {
21737
+ "text": "boolean"
21738
+ }
21739
+ }
21740
+ ],
21741
+ "inheritedFrom": {
21742
+ "name": "Buttonsimple",
21743
+ "module": "components/buttonsimple/buttonsimple.component.js"
21744
+ }
21745
+ },
21266
21746
  {
21267
21747
  "kind": "method",
21268
21748
  "name": "handleBlur",
@@ -22200,6 +22680,34 @@
22200
22680
  }
22201
22681
  ],
22202
22682
  "members": [
22683
+ {
22684
+ "kind": "method",
22685
+ "name": "getActionForKeyEvent",
22686
+ "return": {
22687
+ "type": {
22688
+ "text": "Actions | undefined"
22689
+ }
22690
+ },
22691
+ "parameters": [
22692
+ {
22693
+ "name": "evt",
22694
+ "type": {
22695
+ "text": "KeyboardEvent"
22696
+ }
22697
+ },
22698
+ {
22699
+ "name": "applyWritingDirection",
22700
+ "default": "false",
22701
+ "type": {
22702
+ "text": "boolean"
22703
+ }
22704
+ }
22705
+ ],
22706
+ "inheritedFrom": {
22707
+ "name": "KeyToActionMixin",
22708
+ "module": "utils/mixins/KeyToActionMixin.js"
22709
+ }
22710
+ },
22203
22711
  {
22204
22712
  "kind": "method",
22205
22713
  "name": "getCurrentIndex",
@@ -22343,37 +22851,6 @@
22343
22851
  "module": "utils/mixins/ListNavigationMixin.js"
22344
22852
  }
22345
22853
  },
22346
- {
22347
- "kind": "method",
22348
- "name": "resolveDirectionKey",
22349
- "privacy": "private",
22350
- "parameters": [
22351
- {
22352
- "name": "key",
22353
- "type": {
22354
- "text": "string"
22355
- },
22356
- "description": "The key pressed by the user."
22357
- },
22358
- {
22359
- "name": "isRtl",
22360
- "type": {
22361
- "text": "boolean"
22362
- },
22363
- "description": "A boolean indicating if the layout is right-to-left (RTL)."
22364
- }
22365
- ],
22366
- "description": "Resolves the key pressed by the user based on the direction of the layout.\nThis method is used to handle keyboard navigation in a right-to-left (RTL) layout.\nIt checks if the layout is RTL and adjusts the arrow keys accordingly.\nFor example, in RTL, the left arrow key behaves like the right arrow key and vice versa.",
22367
- "return": {
22368
- "type": {
22369
- "text": ""
22370
- }
22371
- },
22372
- "inheritedFrom": {
22373
- "name": "ListNavigationMixin",
22374
- "module": "utils/mixins/ListNavigationMixin.js"
22375
- }
22376
- },
22377
22854
  {
22378
22855
  "kind": "method",
22379
22856
  "name": "setInitialFocus",
@@ -22481,6 +22958,34 @@
22481
22958
  },
22482
22959
  "description": "Dispatch change event when an option is selected."
22483
22960
  },
22961
+ {
22962
+ "kind": "method",
22963
+ "name": "getActionForKeyEvent",
22964
+ "return": {
22965
+ "type": {
22966
+ "text": "Actions | undefined"
22967
+ }
22968
+ },
22969
+ "parameters": [
22970
+ {
22971
+ "name": "evt",
22972
+ "type": {
22973
+ "text": "KeyboardEvent"
22974
+ }
22975
+ },
22976
+ {
22977
+ "name": "applyWritingDirection",
22978
+ "default": "false",
22979
+ "type": {
22980
+ "text": "boolean"
22981
+ }
22982
+ }
22983
+ ],
22984
+ "inheritedFrom": {
22985
+ "name": "KeyToActionMixin",
22986
+ "module": "utils/mixins/KeyToActionMixin.js"
22987
+ }
22988
+ },
22484
22989
  {
22485
22990
  "kind": "method",
22486
22991
  "name": "getCurrentIndex",
@@ -22581,37 +23086,6 @@
22581
23086
  "module": "utils/mixins/ListNavigationMixin.js"
22582
23087
  }
22583
23088
  },
22584
- {
22585
- "kind": "method",
22586
- "name": "resolveDirectionKey",
22587
- "privacy": "private",
22588
- "parameters": [
22589
- {
22590
- "name": "key",
22591
- "type": {
22592
- "text": "string"
22593
- },
22594
- "description": "The key pressed by the user."
22595
- },
22596
- {
22597
- "name": "isRtl",
22598
- "type": {
22599
- "text": "boolean"
22600
- },
22601
- "description": "A boolean indicating if the layout is right-to-left (RTL)."
22602
- }
22603
- ],
22604
- "description": "Resolves the key pressed by the user based on the direction of the layout.\nThis method is used to handle keyboard navigation in a right-to-left (RTL) layout.\nIt checks if the layout is RTL and adjusts the arrow keys accordingly.\nFor example, in RTL, the left arrow key behaves like the right arrow key and vice versa.",
22605
- "return": {
22606
- "type": {
22607
- "text": ""
22608
- }
22609
- },
22610
- "inheritedFrom": {
22611
- "name": "ListNavigationMixin",
22612
- "module": "utils/mixins/ListNavigationMixin.js"
22613
- }
22614
- },
22615
23089
  {
22616
23090
  "kind": "method",
22617
23091
  "name": "setInitialFocus",
@@ -23060,6 +23534,34 @@
23060
23534
  ],
23061
23535
  "description": "Disable or enable all slotted elements in the leading and trailing slots.\nThis is useful when the list item is disabled, to prevent the user from interacting with the controls."
23062
23536
  },
23537
+ {
23538
+ "kind": "method",
23539
+ "name": "getActionForKeyEvent",
23540
+ "return": {
23541
+ "type": {
23542
+ "text": "Actions | undefined"
23543
+ }
23544
+ },
23545
+ "parameters": [
23546
+ {
23547
+ "name": "evt",
23548
+ "type": {
23549
+ "text": "KeyboardEvent"
23550
+ }
23551
+ },
23552
+ {
23553
+ "name": "applyWritingDirection",
23554
+ "default": "false",
23555
+ "type": {
23556
+ "text": "boolean"
23557
+ }
23558
+ }
23559
+ ],
23560
+ "inheritedFrom": {
23561
+ "name": "KeyToActionMixin",
23562
+ "module": "utils/mixins/KeyToActionMixin.js"
23563
+ }
23564
+ },
23063
23565
  {
23064
23566
  "kind": "method",
23065
23567
  "name": "getText",
@@ -23432,6 +23934,10 @@
23432
23934
  }
23433
23935
  ],
23434
23936
  "mixins": [
23937
+ {
23938
+ "name": "KeyToActionMixin",
23939
+ "module": "/src/utils/mixins/KeyToActionMixin"
23940
+ },
23435
23941
  {
23436
23942
  "name": "DisabledMixin",
23437
23943
  "module": "/src/utils/mixins/DisabledMixin"
@@ -23592,6 +24098,34 @@
23592
24098
  }
23593
24099
  ]
23594
24100
  },
24101
+ {
24102
+ "kind": "method",
24103
+ "name": "getActionForKeyEvent",
24104
+ "return": {
24105
+ "type": {
24106
+ "text": "Actions | undefined"
24107
+ }
24108
+ },
24109
+ "parameters": [
24110
+ {
24111
+ "name": "evt",
24112
+ "type": {
24113
+ "text": "KeyboardEvent"
24114
+ }
24115
+ },
24116
+ {
24117
+ "name": "applyWritingDirection",
24118
+ "default": "false",
24119
+ "type": {
24120
+ "text": "boolean"
24121
+ }
24122
+ }
24123
+ ],
24124
+ "inheritedFrom": {
24125
+ "name": "KeyToActionMixin",
24126
+ "module": "utils/mixins/KeyToActionMixin.js"
24127
+ }
24128
+ },
23595
24129
  {
23596
24130
  "kind": "method",
23597
24131
  "name": "getAllPopovers",
@@ -23621,24 +24155,6 @@
23621
24155
  }
23622
24156
  ]
23623
24157
  },
23624
- {
23625
- "kind": "method",
23626
- "name": "getKeyWithDirectionFix",
23627
- "privacy": "private",
23628
- "return": {
23629
- "type": {
23630
- "text": "string"
23631
- }
23632
- },
23633
- "parameters": [
23634
- {
23635
- "name": "originalKey",
23636
- "type": {
23637
- "text": "string"
23638
- }
23639
- }
23640
- ]
23641
- },
23642
24158
  {
23643
24159
  "kind": "method",
23644
24160
  "name": "getParentMenuItemIndex",
@@ -23874,6 +24390,12 @@
23874
24390
  ]
23875
24391
  }
23876
24392
  ],
24393
+ "mixins": [
24394
+ {
24395
+ "name": "KeyToActionMixin",
24396
+ "module": "/src/utils/mixins/KeyToActionMixin"
24397
+ }
24398
+ ],
23877
24399
  "superclass": {
23878
24400
  "name": "Component",
23879
24401
  "module": "/src/models"
@@ -24101,6 +24623,34 @@
24101
24623
  "module": "components/listitem/listitem.component.js"
24102
24624
  }
24103
24625
  },
24626
+ {
24627
+ "kind": "method",
24628
+ "name": "getActionForKeyEvent",
24629
+ "return": {
24630
+ "type": {
24631
+ "text": "Actions | undefined"
24632
+ }
24633
+ },
24634
+ "parameters": [
24635
+ {
24636
+ "name": "evt",
24637
+ "type": {
24638
+ "text": "KeyboardEvent"
24639
+ }
24640
+ },
24641
+ {
24642
+ "name": "applyWritingDirection",
24643
+ "default": "false",
24644
+ "type": {
24645
+ "text": "boolean"
24646
+ }
24647
+ }
24648
+ ],
24649
+ "inheritedFrom": {
24650
+ "name": "ListItem",
24651
+ "module": "components/listitem/listitem.component.js"
24652
+ }
24653
+ },
24104
24654
  {
24105
24655
  "kind": "method",
24106
24656
  "name": "getText",
@@ -25152,6 +25702,34 @@
25152
25702
  "module": "components/listitem/listitem.component.js"
25153
25703
  }
25154
25704
  },
25705
+ {
25706
+ "kind": "method",
25707
+ "name": "getActionForKeyEvent",
25708
+ "return": {
25709
+ "type": {
25710
+ "text": "Actions | undefined"
25711
+ }
25712
+ },
25713
+ "parameters": [
25714
+ {
25715
+ "name": "evt",
25716
+ "type": {
25717
+ "text": "KeyboardEvent"
25718
+ }
25719
+ },
25720
+ {
25721
+ "name": "applyWritingDirection",
25722
+ "default": "false",
25723
+ "type": {
25724
+ "text": "boolean"
25725
+ }
25726
+ }
25727
+ ],
25728
+ "inheritedFrom": {
25729
+ "name": "ListItem",
25730
+ "module": "components/listitem/listitem.component.js"
25731
+ }
25732
+ },
25155
25733
  {
25156
25734
  "kind": "method",
25157
25735
  "name": "getCheckmarkIcon",
@@ -26228,6 +26806,34 @@
26228
26806
  "module": "components/listitem/listitem.component.js"
26229
26807
  }
26230
26808
  },
26809
+ {
26810
+ "kind": "method",
26811
+ "name": "getActionForKeyEvent",
26812
+ "return": {
26813
+ "type": {
26814
+ "text": "Actions | undefined"
26815
+ }
26816
+ },
26817
+ "parameters": [
26818
+ {
26819
+ "name": "evt",
26820
+ "type": {
26821
+ "text": "KeyboardEvent"
26822
+ }
26823
+ },
26824
+ {
26825
+ "name": "applyWritingDirection",
26826
+ "default": "false",
26827
+ "type": {
26828
+ "text": "boolean"
26829
+ }
26830
+ }
26831
+ ],
26832
+ "inheritedFrom": {
26833
+ "name": "ListItem",
26834
+ "module": "components/listitem/listitem.component.js"
26835
+ }
26836
+ },
26231
26837
  {
26232
26838
  "kind": "method",
26233
26839
  "name": "getAllRadiosWithinSameGroup",
@@ -27460,6 +28066,34 @@
27460
28066
  "module": "components/popover/popover.component.js"
27461
28067
  }
27462
28068
  },
28069
+ {
28070
+ "kind": "method",
28071
+ "name": "getActionForKeyEvent",
28072
+ "return": {
28073
+ "type": {
28074
+ "text": "Actions | undefined"
28075
+ }
28076
+ },
28077
+ "parameters": [
28078
+ {
28079
+ "name": "evt",
28080
+ "type": {
28081
+ "text": "KeyboardEvent"
28082
+ }
28083
+ },
28084
+ {
28085
+ "name": "applyWritingDirection",
28086
+ "default": "false",
28087
+ "type": {
28088
+ "text": "boolean"
28089
+ }
28090
+ }
28091
+ ],
28092
+ "inheritedFrom": {
28093
+ "name": "KeyToActionMixin",
28094
+ "module": "utils/mixins/KeyToActionMixin.js"
28095
+ }
28096
+ },
27463
28097
  {
27464
28098
  "kind": "method",
27465
28099
  "name": "getCurrentIndex",
@@ -28150,33 +28784,6 @@
28150
28784
  ],
28151
28785
  "description": "Reset all tabindex to -1 and set the tabindex of the current menu item to 0"
28152
28786
  },
28153
- {
28154
- "kind": "method",
28155
- "name": "resolveDirectionKey",
28156
- "privacy": "private",
28157
- "parameters": [
28158
- {
28159
- "name": "key",
28160
- "type": {
28161
- "text": "string"
28162
- },
28163
- "description": "The key pressed by the user."
28164
- },
28165
- {
28166
- "name": "isRtl",
28167
- "type": {
28168
- "text": "boolean"
28169
- },
28170
- "description": "A boolean indicating if the layout is right-to-left (RTL)."
28171
- }
28172
- ],
28173
- "description": "Resolves the key pressed by the user based on the direction of the layout.\nThis method is used to handle keyboard navigation in a right-to-left (RTL) layout.\nIt checks if the layout is RTL and adjusts the arrow keys accordingly.\nFor example, in RTL, the left arrow key behaves like the right arrow key and vice versa.",
28174
- "return": {
28175
- "type": {
28176
- "text": ""
28177
- }
28178
- }
28179
- },
28180
28787
  {
28181
28788
  "kind": "field",
28182
28789
  "name": "role",
@@ -29630,6 +30237,34 @@
29630
30237
  "module": "components/listitem/listitem.component.js"
29631
30238
  }
29632
30239
  },
30240
+ {
30241
+ "kind": "method",
30242
+ "name": "getActionForKeyEvent",
30243
+ "return": {
30244
+ "type": {
30245
+ "text": "Actions | undefined"
30246
+ }
30247
+ },
30248
+ "parameters": [
30249
+ {
30250
+ "name": "evt",
30251
+ "type": {
30252
+ "text": "KeyboardEvent"
30253
+ }
30254
+ },
30255
+ {
30256
+ "name": "applyWritingDirection",
30257
+ "default": "false",
30258
+ "type": {
30259
+ "text": "boolean"
30260
+ }
30261
+ }
30262
+ ],
30263
+ "inheritedFrom": {
30264
+ "name": "ListItem",
30265
+ "module": "components/listitem/listitem.component.js"
30266
+ }
30267
+ },
29633
30268
  {
29634
30269
  "kind": "method",
29635
30270
  "name": "getFilledIconName",
@@ -31000,6 +31635,34 @@
31000
31635
  "module": "components/listitem/listitem.component.js"
31001
31636
  }
31002
31637
  },
31638
+ {
31639
+ "kind": "method",
31640
+ "name": "getActionForKeyEvent",
31641
+ "return": {
31642
+ "type": {
31643
+ "text": "Actions | undefined"
31644
+ }
31645
+ },
31646
+ "parameters": [
31647
+ {
31648
+ "name": "evt",
31649
+ "type": {
31650
+ "text": "KeyboardEvent"
31651
+ }
31652
+ },
31653
+ {
31654
+ "name": "applyWritingDirection",
31655
+ "default": "false",
31656
+ "type": {
31657
+ "text": "boolean"
31658
+ }
31659
+ }
31660
+ ],
31661
+ "inheritedFrom": {
31662
+ "name": "ListItem",
31663
+ "module": "components/listitem/listitem.component.js"
31664
+ }
31665
+ },
31003
31666
  {
31004
31667
  "kind": "method",
31005
31668
  "name": "getText",
@@ -32244,6 +32907,34 @@
32244
32907
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
32245
32908
  }
32246
32909
  },
32910
+ {
32911
+ "kind": "method",
32912
+ "name": "getActionForKeyEvent",
32913
+ "return": {
32914
+ "type": {
32915
+ "text": "Actions | undefined"
32916
+ }
32917
+ },
32918
+ "parameters": [
32919
+ {
32920
+ "name": "evt",
32921
+ "type": {
32922
+ "text": "KeyboardEvent"
32923
+ }
32924
+ },
32925
+ {
32926
+ "name": "applyWritingDirection",
32927
+ "default": "false",
32928
+ "type": {
32929
+ "text": "boolean"
32930
+ }
32931
+ }
32932
+ ],
32933
+ "inheritedFrom": {
32934
+ "name": "KeyToActionMixin",
32935
+ "module": "utils/mixins/KeyToActionMixin.js"
32936
+ }
32937
+ },
32247
32938
  {
32248
32939
  "kind": "method",
32249
32940
  "name": "handleKeyDown",
@@ -33711,6 +34402,34 @@
33711
34402
  "module": "utils/mixins/FocusTrapMixin.js"
33712
34403
  }
33713
34404
  },
34405
+ {
34406
+ "kind": "method",
34407
+ "name": "getActionForKeyEvent",
34408
+ "return": {
34409
+ "type": {
34410
+ "text": "Actions | undefined"
34411
+ }
34412
+ },
34413
+ "parameters": [
34414
+ {
34415
+ "name": "evt",
34416
+ "type": {
34417
+ "text": "KeyboardEvent"
34418
+ }
34419
+ },
34420
+ {
34421
+ "name": "applyWritingDirection",
34422
+ "default": "false",
34423
+ "type": {
34424
+ "text": "boolean"
34425
+ }
34426
+ }
34427
+ ],
34428
+ "inheritedFrom": {
34429
+ "name": "KeyToActionMixin",
34430
+ "module": "utils/mixins/KeyToActionMixin.js"
34431
+ }
34432
+ },
33714
34433
  {
33715
34434
  "kind": "method",
33716
34435
  "name": "getDeepActiveElement",
@@ -34742,6 +35461,10 @@
34742
35461
  }
34743
35462
  ],
34744
35463
  "mixins": [
35464
+ {
35465
+ "name": "KeyToActionMixin",
35466
+ "module": "/src/utils/mixins/KeyToActionMixin"
35467
+ },
34745
35468
  {
34746
35469
  "name": "BackdropMixin",
34747
35470
  "module": "/src/utils/mixins/BackdropMixin"
@@ -36709,6 +37432,34 @@
36709
37432
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
36710
37433
  }
36711
37434
  },
37435
+ {
37436
+ "kind": "method",
37437
+ "name": "getActionForKeyEvent",
37438
+ "return": {
37439
+ "type": {
37440
+ "text": "Actions | undefined"
37441
+ }
37442
+ },
37443
+ "parameters": [
37444
+ {
37445
+ "name": "evt",
37446
+ "type": {
37447
+ "text": "KeyboardEvent"
37448
+ }
37449
+ },
37450
+ {
37451
+ "name": "applyWritingDirection",
37452
+ "default": "false",
37453
+ "type": {
37454
+ "text": "boolean"
37455
+ }
37456
+ }
37457
+ ],
37458
+ "inheritedFrom": {
37459
+ "name": "KeyToActionMixin",
37460
+ "module": "utils/mixins/KeyToActionMixin.js"
37461
+ }
37462
+ },
36712
37463
  {
36713
37464
  "kind": "field",
36714
37465
  "name": "helpText",
@@ -37248,6 +37999,10 @@
37248
37999
  }
37249
38000
  ],
37250
38001
  "mixins": [
38002
+ {
38003
+ "name": "KeyToActionMixin",
38004
+ "module": "/src/utils/mixins/KeyToActionMixin"
38005
+ },
37251
38006
  {
37252
38007
  "name": "AutoFocusOnMountMixin",
37253
38008
  "module": "/src/utils/mixins/AutoFocusOnMountMixin"
@@ -38799,6 +39554,48 @@
38799
39554
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
38800
39555
  }
38801
39556
  },
39557
+ {
39558
+ "kind": "method",
39559
+ "name": "getActionForKeyEvent",
39560
+ "return": {
39561
+ "type": {
39562
+ "text": "Actions | undefined"
39563
+ }
39564
+ },
39565
+ "parameters": [
39566
+ {
39567
+ "name": "evt",
39568
+ "type": {
39569
+ "text": "KeyboardEvent"
39570
+ }
39571
+ },
39572
+ {
39573
+ "name": "applyWritingDirection",
39574
+ "default": "false",
39575
+ "type": {
39576
+ "text": "boolean"
39577
+ }
39578
+ }
39579
+ ],
39580
+ "inheritedFrom": {
39581
+ "name": "KeyToActionMixin",
39582
+ "module": "utils/mixins/KeyToActionMixin.js"
39583
+ }
39584
+ },
39585
+ {
39586
+ "kind": "field",
39587
+ "name": "handleFilterContainerClick"
39588
+ },
39589
+ {
39590
+ "kind": "field",
39591
+ "name": "handleFilterContainerKeyDown",
39592
+ "privacy": "protected"
39593
+ },
39594
+ {
39595
+ "kind": "field",
39596
+ "name": "handleFilterContainerKeyUp",
39597
+ "privacy": "protected"
39598
+ },
38802
39599
  {
38803
39600
  "kind": "method",
38804
39601
  "name": "handleKeyDown",
@@ -40297,6 +41094,60 @@
40297
41094
  "attribute": "display-popover",
40298
41095
  "reflects": true
40299
41096
  },
41097
+ {
41098
+ "kind": "method",
41099
+ "name": "getActionForKeyEvent",
41100
+ "return": {
41101
+ "type": {
41102
+ "text": "Actions | undefined"
41103
+ }
41104
+ },
41105
+ "parameters": [
41106
+ {
41107
+ "name": "evt",
41108
+ "type": {
41109
+ "text": "KeyboardEvent"
41110
+ }
41111
+ },
41112
+ {
41113
+ "name": "applyWritingDirection",
41114
+ "default": "false",
41115
+ "type": {
41116
+ "text": "boolean"
41117
+ }
41118
+ }
41119
+ ],
41120
+ "inheritedFrom": {
41121
+ "name": "KeyToActionMixin",
41122
+ "module": "utils/mixins/KeyToActionMixin.js"
41123
+ }
41124
+ },
41125
+ {
41126
+ "kind": "field",
41127
+ "name": "handleFilterContainerClick",
41128
+ "inheritedFrom": {
41129
+ "name": "Searchfield",
41130
+ "module": "components/searchfield/searchfield.component.js"
41131
+ }
41132
+ },
41133
+ {
41134
+ "kind": "field",
41135
+ "name": "handleFilterContainerKeyDown",
41136
+ "privacy": "protected",
41137
+ "inheritedFrom": {
41138
+ "name": "Searchfield",
41139
+ "module": "components/searchfield/searchfield.component.js"
41140
+ }
41141
+ },
41142
+ {
41143
+ "kind": "field",
41144
+ "name": "handleFilterContainerKeyUp",
41145
+ "privacy": "protected",
41146
+ "inheritedFrom": {
41147
+ "name": "Searchfield",
41148
+ "module": "components/searchfield/searchfield.component.js"
41149
+ }
41150
+ },
40300
41151
  {
40301
41152
  "kind": "method",
40302
41153
  "name": "handleKeyDown",
@@ -41781,6 +42632,34 @@
41781
42632
  },
41782
42633
  "description": "A private method which is called to fire the change and input events.\nIt dispatches the input and change events with the selected option's value and label."
41783
42634
  },
42635
+ {
42636
+ "kind": "method",
42637
+ "name": "getActionForKeyEvent",
42638
+ "return": {
42639
+ "type": {
42640
+ "text": "Actions | undefined"
42641
+ }
42642
+ },
42643
+ "parameters": [
42644
+ {
42645
+ "name": "evt",
42646
+ "type": {
42647
+ "text": "KeyboardEvent"
42648
+ }
42649
+ },
42650
+ {
42651
+ "name": "applyWritingDirection",
42652
+ "default": "false",
42653
+ "type": {
42654
+ "text": "boolean"
42655
+ }
42656
+ }
42657
+ ],
42658
+ "inheritedFrom": {
42659
+ "name": "KeyToActionMixin",
42660
+ "module": "utils/mixins/KeyToActionMixin.js"
42661
+ }
42662
+ },
41784
42663
  {
41785
42664
  "kind": "method",
41786
42665
  "name": "getCurrentIndex",
@@ -42225,37 +43104,6 @@
42225
43104
  "module": "utils/mixins/ListNavigationMixin.js"
42226
43105
  }
42227
43106
  },
42228
- {
42229
- "kind": "method",
42230
- "name": "resolveDirectionKey",
42231
- "privacy": "private",
42232
- "parameters": [
42233
- {
42234
- "name": "key",
42235
- "type": {
42236
- "text": "string"
42237
- },
42238
- "description": "The key pressed by the user."
42239
- },
42240
- {
42241
- "name": "isRtl",
42242
- "type": {
42243
- "text": "boolean"
42244
- },
42245
- "description": "A boolean indicating if the layout is right-to-left (RTL)."
42246
- }
42247
- ],
42248
- "description": "Resolves the key pressed by the user based on the direction of the layout.\nThis method is used to handle keyboard navigation in a right-to-left (RTL) layout.\nIt checks if the layout is RTL and adjusts the arrow keys accordingly.\nFor example, in RTL, the left arrow key behaves like the right arrow key and vice versa.",
42249
- "return": {
42250
- "type": {
42251
- "text": ""
42252
- }
42253
- },
42254
- "inheritedFrom": {
42255
- "name": "ListNavigationMixin",
42256
- "module": "utils/mixins/ListNavigationMixin.js"
42257
- }
42258
- },
42259
43107
  {
42260
43108
  "kind": "method",
42261
43109
  "name": "setInitialFocus",
@@ -43355,6 +44203,34 @@
43355
44203
  "attribute": "end-aria-valuetext",
43356
44204
  "reflects": true
43357
44205
  },
44206
+ {
44207
+ "kind": "method",
44208
+ "name": "getActionForKeyEvent",
44209
+ "return": {
44210
+ "type": {
44211
+ "text": "Actions | undefined"
44212
+ }
44213
+ },
44214
+ "parameters": [
44215
+ {
44216
+ "name": "evt",
44217
+ "type": {
44218
+ "text": "KeyboardEvent"
44219
+ }
44220
+ },
44221
+ {
44222
+ "name": "applyWritingDirection",
44223
+ "default": "false",
44224
+ "type": {
44225
+ "text": "boolean"
44226
+ }
44227
+ }
44228
+ ],
44229
+ "inheritedFrom": {
44230
+ "name": "KeyToActionMixin",
44231
+ "module": "utils/mixins/KeyToActionMixin.js"
44232
+ }
44233
+ },
43358
44234
  {
43359
44235
  "kind": "method",
43360
44236
  "name": "getTickStyles",
@@ -43999,6 +44875,12 @@
43999
44875
  "fieldName": "hideTooltip"
44000
44876
  }
44001
44877
  ],
44878
+ "mixins": [
44879
+ {
44880
+ "name": "KeyToActionMixin",
44881
+ "module": "/src/utils/mixins/KeyToActionMixin"
44882
+ }
44883
+ ],
44002
44884
  "superclass": {
44003
44885
  "name": "Component",
44004
44886
  "module": "/src/models"
@@ -45079,6 +45961,34 @@
45079
45961
  }
45080
45962
  ],
45081
45963
  "members": [
45964
+ {
45965
+ "kind": "method",
45966
+ "name": "getActionForKeyEvent",
45967
+ "return": {
45968
+ "type": {
45969
+ "text": "Actions | undefined"
45970
+ }
45971
+ },
45972
+ "parameters": [
45973
+ {
45974
+ "name": "evt",
45975
+ "type": {
45976
+ "text": "KeyboardEvent"
45977
+ }
45978
+ },
45979
+ {
45980
+ "name": "applyWritingDirection",
45981
+ "default": "false",
45982
+ "type": {
45983
+ "text": "boolean"
45984
+ }
45985
+ }
45986
+ ],
45987
+ "inheritedFrom": {
45988
+ "name": "KeyToActionMixin",
45989
+ "module": "utils/mixins/KeyToActionMixin.js"
45990
+ }
45991
+ },
45082
45992
  {
45083
45993
  "kind": "method",
45084
45994
  "name": "handleKeyDown",
@@ -45286,6 +46196,10 @@
45286
46196
  }
45287
46197
  ],
45288
46198
  "mixins": [
46199
+ {
46200
+ "name": "KeyToActionMixin",
46201
+ "module": "/src/utils/mixins/KeyToActionMixin"
46202
+ },
45289
46203
  {
45290
46204
  "name": "TabIndexMixin",
45291
46205
  "module": "/src/utils/mixins/TabIndexMixin"
@@ -45493,6 +46407,34 @@
45493
46407
  "module": "components/buttonsimple/buttonsimple.component.js"
45494
46408
  }
45495
46409
  },
46410
+ {
46411
+ "kind": "method",
46412
+ "name": "getActionForKeyEvent",
46413
+ "return": {
46414
+ "type": {
46415
+ "text": "Actions | undefined"
46416
+ }
46417
+ },
46418
+ "parameters": [
46419
+ {
46420
+ "name": "evt",
46421
+ "type": {
46422
+ "text": "KeyboardEvent"
46423
+ }
46424
+ },
46425
+ {
46426
+ "name": "applyWritingDirection",
46427
+ "default": "false",
46428
+ "type": {
46429
+ "text": "boolean"
46430
+ }
46431
+ }
46432
+ ],
46433
+ "inheritedFrom": {
46434
+ "name": "Buttonsimple",
46435
+ "module": "components/buttonsimple/buttonsimple.component.js"
46436
+ }
46437
+ },
45496
46438
  {
45497
46439
  "kind": "method",
45498
46440
  "name": "handleBlur",
@@ -46630,6 +47572,34 @@
46630
47572
  }
46631
47573
  }
46632
47574
  },
47575
+ {
47576
+ "kind": "method",
47577
+ "name": "getActionForKeyEvent",
47578
+ "return": {
47579
+ "type": {
47580
+ "text": "Actions | undefined"
47581
+ }
47582
+ },
47583
+ "parameters": [
47584
+ {
47585
+ "name": "evt",
47586
+ "type": {
47587
+ "text": "KeyboardEvent"
47588
+ }
47589
+ },
47590
+ {
47591
+ "name": "applyWritingDirection",
47592
+ "default": "false",
47593
+ "type": {
47594
+ "text": "boolean"
47595
+ }
47596
+ }
47597
+ ],
47598
+ "inheritedFrom": {
47599
+ "name": "KeyToActionMixin",
47600
+ "module": "utils/mixins/KeyToActionMixin.js"
47601
+ }
47602
+ },
46633
47603
  {
46634
47604
  "kind": "method",
46635
47605
  "name": "handleCharacterOverflowStateChange",
@@ -47491,6 +48461,10 @@
47491
48461
  }
47492
48462
  ],
47493
48463
  "mixins": [
48464
+ {
48465
+ "name": "KeyToActionMixin",
48466
+ "module": "/src/utils/mixins/KeyToActionMixin"
48467
+ },
47494
48468
  {
47495
48469
  "name": "AutoFocusOnMountMixin",
47496
48470
  "module": "/src/utils/mixins/AutoFocusOnMountMixin"
@@ -48206,6 +49180,34 @@
48206
49180
  "module": "components/formfieldwrapper/formfieldwrapper.component.js"
48207
49181
  }
48208
49182
  },
49183
+ {
49184
+ "kind": "method",
49185
+ "name": "getActionForKeyEvent",
49186
+ "return": {
49187
+ "type": {
49188
+ "text": "Actions | undefined"
49189
+ }
49190
+ },
49191
+ "parameters": [
49192
+ {
49193
+ "name": "evt",
49194
+ "type": {
49195
+ "text": "KeyboardEvent"
49196
+ }
49197
+ },
49198
+ {
49199
+ "name": "applyWritingDirection",
49200
+ "default": "false",
49201
+ "type": {
49202
+ "text": "boolean"
49203
+ }
49204
+ }
49205
+ ],
49206
+ "inheritedFrom": {
49207
+ "name": "KeyToActionMixin",
49208
+ "module": "utils/mixins/KeyToActionMixin.js"
49209
+ }
49210
+ },
48209
49211
  {
48210
49212
  "kind": "field",
48211
49213
  "name": "helpText",
@@ -48789,6 +49791,10 @@
48789
49791
  }
48790
49792
  ],
48791
49793
  "mixins": [
49794
+ {
49795
+ "name": "KeyToActionMixin",
49796
+ "module": "/src/utils/mixins/KeyToActionMixin"
49797
+ },
48792
49798
  {
48793
49799
  "name": "ControlTypeMixin",
48794
49800
  "module": "/src/utils/mixins/ControlTypeMixin"
@@ -49464,6 +50470,34 @@
49464
50470
  "module": "components/popover/popover.component.js"
49465
50471
  }
49466
50472
  },
50473
+ {
50474
+ "kind": "method",
50475
+ "name": "getActionForKeyEvent",
50476
+ "return": {
50477
+ "type": {
50478
+ "text": "Actions | undefined"
50479
+ }
50480
+ },
50481
+ "parameters": [
50482
+ {
50483
+ "name": "evt",
50484
+ "type": {
50485
+ "text": "KeyboardEvent"
50486
+ }
50487
+ },
50488
+ {
50489
+ "name": "applyWritingDirection",
50490
+ "default": "false",
50491
+ "type": {
50492
+ "text": "boolean"
50493
+ }
50494
+ }
50495
+ ],
50496
+ "inheritedFrom": {
50497
+ "name": "Popover",
50498
+ "module": "components/popover/popover.component.js"
50499
+ }
50500
+ },
49467
50501
  {
49468
50502
  "kind": "method",
49469
50503
  "name": "getDeepActiveElement",
@@ -51355,6 +52389,34 @@
51355
52389
  "module": "components/popover/popover.component.js"
51356
52390
  }
51357
52391
  },
52392
+ {
52393
+ "kind": "method",
52394
+ "name": "getActionForKeyEvent",
52395
+ "return": {
52396
+ "type": {
52397
+ "text": "Actions | undefined"
52398
+ }
52399
+ },
52400
+ "parameters": [
52401
+ {
52402
+ "name": "evt",
52403
+ "type": {
52404
+ "text": "KeyboardEvent"
52405
+ }
52406
+ },
52407
+ {
52408
+ "name": "applyWritingDirection",
52409
+ "default": "false",
52410
+ "type": {
52411
+ "text": "boolean"
52412
+ }
52413
+ }
52414
+ ],
52415
+ "inheritedFrom": {
52416
+ "name": "Popover",
52417
+ "module": "components/popover/popover.component.js"
52418
+ }
52419
+ },
51358
52420
  {
51359
52421
  "kind": "method",
51360
52422
  "name": "getDeepActiveElement",
@@ -53215,6 +54277,34 @@
53215
54277
  "name": "emitChangeEvent",
53216
54278
  "privacy": "private"
53217
54279
  },
54280
+ {
54281
+ "kind": "method",
54282
+ "name": "getActionForKeyEvent",
54283
+ "return": {
54284
+ "type": {
54285
+ "text": "Actions | undefined"
54286
+ }
54287
+ },
54288
+ "parameters": [
54289
+ {
54290
+ "name": "evt",
54291
+ "type": {
54292
+ "text": "KeyboardEvent"
54293
+ }
54294
+ },
54295
+ {
54296
+ "name": "applyWritingDirection",
54297
+ "default": "false",
54298
+ "type": {
54299
+ "text": "boolean"
54300
+ }
54301
+ }
54302
+ ],
54303
+ "inheritedFrom": {
54304
+ "name": "List",
54305
+ "module": "components/list/list.component.js"
54306
+ }
54307
+ },
53218
54308
  {
53219
54309
  "kind": "method",
53220
54310
  "name": "getCurrentIndex",
@@ -53421,37 +54511,6 @@
53421
54511
  "module": "components/list/list.component.js"
53422
54512
  }
53423
54513
  },
53424
- {
53425
- "kind": "method",
53426
- "name": "resolveDirectionKey",
53427
- "privacy": "private",
53428
- "parameters": [
53429
- {
53430
- "name": "key",
53431
- "type": {
53432
- "text": "string"
53433
- },
53434
- "description": "The key pressed by the user."
53435
- },
53436
- {
53437
- "name": "isRtl",
53438
- "type": {
53439
- "text": "boolean"
53440
- },
53441
- "description": "A boolean indicating if the layout is right-to-left (RTL)."
53442
- }
53443
- ],
53444
- "description": "Resolves the key pressed by the user based on the direction of the layout.\nThis method is used to handle keyboard navigation in a right-to-left (RTL) layout.\nIt checks if the layout is RTL and adjusts the arrow keys accordingly.\nFor example, in RTL, the left arrow key behaves like the right arrow key and vice versa.",
53445
- "return": {
53446
- "type": {
53447
- "text": ""
53448
- }
53449
- },
53450
- "inheritedFrom": {
53451
- "name": "List",
53452
- "module": "components/list/list.component.js"
53453
- }
53454
- },
53455
54514
  {
53456
54515
  "kind": "field",
53457
54516
  "name": "revertList",
@@ -53660,6 +54719,10 @@
53660
54719
  }
53661
54720
  ],
53662
54721
  "mixins": [
54722
+ {
54723
+ "name": "KeyToActionMixin",
54724
+ "module": "/src/utils/mixins/KeyToActionMixin"
54725
+ },
53663
54726
  {
53664
54727
  "name": "DataAriaLabelMixin",
53665
54728
  "module": "/src/utils/mixins/DataAriaLabelMixin"
@@ -55801,6 +56864,77 @@
55801
56864
  "declarations": [],
55802
56865
  "exports": []
55803
56866
  },
56867
+ {
56868
+ "kind": "javascript-module",
56869
+ "path": "utils/mixins/KeyToActionMixin.js",
56870
+ "declarations": [
56871
+ {
56872
+ "kind": "variable",
56873
+ "name": "ACTIONS",
56874
+ "type": {
56875
+ "text": "{\n /** Action key, e.g., Enter */\n ENTER: 'enter',\n /** Back key, e.g., Escape/Back/Cancel */\n ESCAPE: 'escape',\n /** Navigation key up */\n UP: 'up',\n /** Navigation key down */\n DOWN: 'down',\n /** Navigation key left */\n LEFT: 'left',\n /** Navigation key right */\n RIGHT: 'right',\n /** Space key, some actions and scrolling */\n SPACE: 'space',\n /** Tab key */\n TAB: 'tab',\n /** Home key */\n HOME: 'home',\n /** End key */\n END: 'end',\n}"
56876
+ },
56877
+ "default": "{ /** Action key, e.g., Enter */ ENTER: 'enter', /** Back key, e.g., Escape/Back/Cancel */ ESCAPE: 'escape', /** Navigation key up */ UP: 'up', /** Navigation key down */ DOWN: 'down', /** Navigation key left */ LEFT: 'left', /** Navigation key right */ RIGHT: 'right', /** Space key, some actions and scrolling */ SPACE: 'space', /** Tab key */ TAB: 'tab', /** Home key */ HOME: 'home', /** End key */ END: 'end', }"
56878
+ },
56879
+ {
56880
+ "kind": "mixin",
56881
+ "description": "Mixin to provide abstract key mapping for navigation and actions keys.\n\nInstead of using hardcoded key names this mixin provides a way to map keys to abstract actions\nand use different key mappings based on context.\n\nAll components should implement this mixin if it handles keyboard events for navigation or actions,\ne.g. buttons, lists, popups, etc.\n\nNavigation keys mapped directly:\n- 'up'\n- 'down'\n- 'left'\n- 'right'\n- 'tab'\n- 'home'\n- 'end'\n\nAction keys:\n- 'action' (Enter key)\n- 'abort' (Escape/Back key)\n\nSpecial keys:\n- 'space' (Space key)\n\nSpace is separated from action keys as it is\n - not always trigger the same action as the enter key\n - not every platform has a space key equivalent for example on a TV remote or gamepad\n - often used for scrolling as well.\n\n From the above lists only 'up', 'down', 'left', 'right', 'action' and 'abort' are mandatory to implement,\n because those are essential for spatial navigation and basic actions and all platforms have equivalents for those.",
56882
+ "name": "KeyToActionMixin",
56883
+ "members": [
56884
+ {
56885
+ "kind": "method",
56886
+ "name": "getActionForKeyEvent",
56887
+ "return": {
56888
+ "type": {
56889
+ "text": "Actions | undefined"
56890
+ }
56891
+ },
56892
+ "parameters": [
56893
+ {
56894
+ "name": "evt",
56895
+ "type": {
56896
+ "text": "KeyboardEvent"
56897
+ }
56898
+ },
56899
+ {
56900
+ "name": "applyWritingDirection",
56901
+ "default": "false",
56902
+ "type": {
56903
+ "text": "boolean"
56904
+ }
56905
+ }
56906
+ ]
56907
+ }
56908
+ ],
56909
+ "parameters": [
56910
+ {
56911
+ "name": "superClass",
56912
+ "type": {
56913
+ "text": "T"
56914
+ }
56915
+ }
56916
+ ]
56917
+ }
56918
+ ],
56919
+ "exports": [
56920
+ {
56921
+ "kind": "js",
56922
+ "name": "ACTIONS",
56923
+ "declaration": {
56924
+ "name": "ACTIONS",
56925
+ "module": "utils/mixins/KeyToActionMixin.js"
56926
+ }
56927
+ },
56928
+ {
56929
+ "kind": "js",
56930
+ "name": "KeyToActionMixin",
56931
+ "declaration": {
56932
+ "name": "KeyToActionMixin",
56933
+ "module": "utils/mixins/KeyToActionMixin.js"
56934
+ }
56935
+ }
56936
+ ]
56937
+ },
55804
56938
  {
55805
56939
  "kind": "javascript-module",
55806
56940
  "path": "utils/mixins/ListNavigationMixin.js",
@@ -55810,6 +56944,34 @@
55810
56944
  "description": "This mixin extends the passed class with list like navigation capabilities.\n\nIt handles up and down arrow keys, home and end keys to navigate through a list of items.\nKey mapping aligned to reading direction (RTL or LTR).",
55811
56945
  "name": "ListNavigationMixin",
55812
56946
  "members": [
56947
+ {
56948
+ "kind": "method",
56949
+ "name": "getActionForKeyEvent",
56950
+ "return": {
56951
+ "type": {
56952
+ "text": "Actions | undefined"
56953
+ }
56954
+ },
56955
+ "parameters": [
56956
+ {
56957
+ "name": "evt",
56958
+ "type": {
56959
+ "text": "KeyboardEvent"
56960
+ }
56961
+ },
56962
+ {
56963
+ "name": "applyWritingDirection",
56964
+ "default": "false",
56965
+ "type": {
56966
+ "text": "boolean"
56967
+ }
56968
+ }
56969
+ ],
56970
+ "inheritedFrom": {
56971
+ "name": "KeyToActionMixin",
56972
+ "module": "src/utils/mixins/KeyToActionMixin.ts"
56973
+ }
56974
+ },
55813
56975
  {
55814
56976
  "kind": "method",
55815
56977
  "name": "getCurrentIndex",
@@ -55887,33 +57049,6 @@
55887
57049
  ],
55888
57050
  "description": "Reset all tabindex to -1 and set the tabindex of the current item to 0"
55889
57051
  },
55890
- {
55891
- "kind": "method",
55892
- "name": "resolveDirectionKey",
55893
- "privacy": "private",
55894
- "parameters": [
55895
- {
55896
- "name": "key",
55897
- "type": {
55898
- "text": "string"
55899
- },
55900
- "description": "The key pressed by the user."
55901
- },
55902
- {
55903
- "name": "isRtl",
55904
- "type": {
55905
- "text": "boolean"
55906
- },
55907
- "description": "A boolean indicating if the layout is right-to-left (RTL)."
55908
- }
55909
- ],
55910
- "description": "Resolves the key pressed by the user based on the direction of the layout.\nThis method is used to handle keyboard navigation in a right-to-left (RTL) layout.\nIt checks if the layout is RTL and adjusts the arrow keys accordingly.\nFor example, in RTL, the left arrow key behaves like the right arrow key and vice versa.",
55911
- "return": {
55912
- "type": {
55913
- "text": ""
55914
- }
55915
- }
55916
- },
55917
57052
  {
55918
57053
  "kind": "method",
55919
57054
  "name": "setInitialFocus",
@@ -55925,6 +57060,12 @@
55925
57060
  "privacy": "private"
55926
57061
  }
55927
57062
  ],
57063
+ "mixins": [
57064
+ {
57065
+ "name": "KeyToActionMixin",
57066
+ "module": "/src/utils/mixins/KeyToActionMixin"
57067
+ }
57068
+ ],
55928
57069
  "parameters": [
55929
57070
  {
55930
57071
  "name": "superClass",