@momentum-design/components 0.129.42 → 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.
- package/dist/browser/index.js +386 -386
- package/dist/browser/index.js.map +4 -4
- package/dist/components/accordionbutton/accordionbutton.component.d.ts +1 -1
- package/dist/components/accordionbutton/accordionbutton.component.js +4 -3
- package/dist/components/buttonsimple/buttonsimple.component.d.ts +1 -1
- package/dist/components/buttonsimple/buttonsimple.component.js +8 -6
- package/dist/components/cardcheckbox/cardcheckbox.component.d.ts +1 -1
- package/dist/components/cardcheckbox/cardcheckbox.component.js +7 -5
- package/dist/components/cardradio/cardradio.component.d.ts +1 -1
- package/dist/components/cardradio/cardradio.component.js +8 -7
- package/dist/components/checkbox/checkbox.component.d.ts +2 -1
- package/dist/components/checkbox/checkbox.component.js +7 -4
- package/dist/components/coachmark/coachmark.component.d.ts +14 -1
- package/dist/components/coachmark/coachmark.component.js +14 -1
- package/dist/components/coachmark/index.d.ts +0 -1
- package/dist/components/coachmark/index.js +0 -1
- package/dist/components/combobox/combobox.component.d.ts +1 -1
- package/dist/components/combobox/combobox.component.js +11 -11
- package/dist/components/input/input.component.d.ts +1 -1
- package/dist/components/input/input.component.js +3 -3
- package/dist/components/list/list.component.d.ts +1 -1
- package/dist/components/listbox/listbox.component.d.ts +1 -1
- package/dist/components/listitem/listitem.component.d.ts +1 -1
- package/dist/components/listitem/listitem.component.js +11 -5
- package/dist/components/menubar/menubar.component.d.ts +2 -2
- package/dist/components/menubar/menubar.component.js +10 -20
- package/dist/components/menuitem/menuitem.component.js +3 -3
- package/dist/components/menupopover/menupopover.component.d.ts +0 -10
- package/dist/components/menupopover/menupopover.component.js +15 -36
- package/dist/components/popover/popover.component.d.ts +26 -13
- package/dist/components/popover/popover.component.js +26 -12
- package/dist/components/popover/popover.constants.d.ts +5 -1
- package/dist/components/popover/popover.constants.js +6 -2
- package/dist/components/popover/popover.types.d.ts +3 -2
- package/dist/components/radio/radio.component.d.ts +1 -1
- package/dist/components/radio/radio.component.js +8 -7
- package/dist/components/searchfield/searchfield.component.d.ts +3 -0
- package/dist/components/searchfield/searchfield.component.js +18 -5
- package/dist/components/searchpopover/searchpopover.component.js +3 -4
- package/dist/components/select/select.component.d.ts +1 -1
- package/dist/components/select/select.component.js +9 -8
- package/dist/components/slider/slider.component.d.ts +2 -1
- package/dist/components/slider/slider.component.js +4 -3
- package/dist/components/stepperitem/stepperitem.component.d.ts +1 -1
- package/dist/components/stepperitem/stepperitem.component.js +8 -6
- package/dist/components/textarea/textarea.component.d.ts +1 -1
- package/dist/components/textarea/textarea.component.js +5 -4
- package/dist/components/toggle/toggle.component.d.ts +1 -1
- package/dist/components/toggle/toggle.component.js +5 -4
- package/dist/components/virtualizedlist/virtualizedlist.component.d.ts +1 -1
- package/dist/components/virtualizedlist/virtualizedlist.component.js +7 -6
- package/dist/custom-elements.json +1417 -1020
- package/dist/react/checkbox/index.d.ts +1 -0
- package/dist/react/checkbox/index.js +1 -0
- package/dist/react/coachmark/index.d.ts +14 -1
- package/dist/react/coachmark/index.js +14 -1
- package/dist/utils/mixins/KeyToActionMixin.d.ts +69 -0
- package/dist/utils/mixins/KeyToActionMixin.js +92 -0
- package/dist/utils/mixins/ListNavigationMixin.d.ts +2 -1
- package/dist/utils/mixins/ListNavigationMixin.js +10 -33
- package/package.json +1 -1
|
@@ -161,8 +161,8 @@
|
|
|
161
161
|
"attribute": "disabled",
|
|
162
162
|
"reflects": true,
|
|
163
163
|
"inheritedFrom": {
|
|
164
|
-
"name": "
|
|
165
|
-
"module": "
|
|
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": "
|
|
424
|
-
"module": "src/
|
|
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",
|
|
@@ -11820,7 +12152,7 @@
|
|
|
11820
12152
|
"declarations": [
|
|
11821
12153
|
{
|
|
11822
12154
|
"kind": "class",
|
|
11823
|
-
"description": "Coachmark component based on top of the popover component,\nwith the default value of certain properties changed.",
|
|
12155
|
+
"description": "A Coachmark is a contextual guidance component used to highlight a specific UI element and explain its purpose or functionality.\nIt is typically shown as part of onboarding, feature discovery, or progressive education within the product.\n\nCoachmark component based on top of the popover component,\nwith the default value of certain properties changed.\nCoachmark component will always have an arrow attached to it.\nThe color of the coachmark is contrast.\n\n## When to use\n- Introducing a new or complex feature to users.\n- Drawing attention to a UI element that might otherwise be missed.\n- Providing step-by-step guidance in an onboarding or walkthrough flow.\n\n## Accessibility\n- The default role of coachmark is `\"dialog\"`, which can be changed via the `role` attribute.\n- aria-label or aria-labelledby can be provided to give the coachmark an accessible name.",
|
|
11824
12156
|
"name": "Coachmark",
|
|
11825
12157
|
"cssProperties": [
|
|
11826
12158
|
{
|
|
@@ -12086,7 +12418,7 @@
|
|
|
12086
12418
|
"kind": "field",
|
|
12087
12419
|
"name": "boundaryRoot",
|
|
12088
12420
|
"type": {
|
|
12089
|
-
"text": "
|
|
12421
|
+
"text": "PopoverBoundaryRoot"
|
|
12090
12422
|
},
|
|
12091
12423
|
"description": "This describes the root boundary that the element will be checked for overflow relative to.\nThe default is 'viewport', which is the area of the page the user can see on the screen.\n\nThe other string option is 'document', which is the entire page outside the viewport.",
|
|
12092
12424
|
"default": "'viewport'",
|
|
@@ -12128,26 +12460,6 @@
|
|
|
12128
12460
|
"module": "utils/mixins/FocusTrapMixin.js"
|
|
12129
12461
|
}
|
|
12130
12462
|
},
|
|
12131
|
-
{
|
|
12132
|
-
"kind": "field",
|
|
12133
|
-
"name": "cancelCloseDelay",
|
|
12134
|
-
"privacy": "private",
|
|
12135
|
-
"description": "Cancels the close delay timer.",
|
|
12136
|
-
"inheritedFrom": {
|
|
12137
|
-
"name": "Popover",
|
|
12138
|
-
"module": "components/popover/popover.component.js"
|
|
12139
|
-
}
|
|
12140
|
-
},
|
|
12141
|
-
{
|
|
12142
|
-
"kind": "field",
|
|
12143
|
-
"name": "cancelOpenDelay",
|
|
12144
|
-
"privacy": "private",
|
|
12145
|
-
"description": "Cancels the open delay timer.",
|
|
12146
|
-
"inheritedFrom": {
|
|
12147
|
-
"name": "Popover",
|
|
12148
|
-
"module": "components/popover/popover.component.js"
|
|
12149
|
-
}
|
|
12150
|
-
},
|
|
12151
12463
|
{
|
|
12152
12464
|
"kind": "field",
|
|
12153
12465
|
"name": "closeButton",
|
|
@@ -12344,6 +12656,34 @@
|
|
|
12344
12656
|
"module": "components/popover/popover.component.js"
|
|
12345
12657
|
}
|
|
12346
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
|
+
},
|
|
12347
12687
|
{
|
|
12348
12688
|
"kind": "method",
|
|
12349
12689
|
"name": "getDeepActiveElement",
|
|
@@ -12359,46 +12699,6 @@
|
|
|
12359
12699
|
"module": "utils/mixins/FocusTrapMixin.js"
|
|
12360
12700
|
}
|
|
12361
12701
|
},
|
|
12362
|
-
{
|
|
12363
|
-
"kind": "field",
|
|
12364
|
-
"name": "handleFocusIn",
|
|
12365
|
-
"privacy": "private",
|
|
12366
|
-
"description": "Handles focus in event on the trigger element.\nThis method checks if the trigger element has visible focus or is being hovered.",
|
|
12367
|
-
"inheritedFrom": {
|
|
12368
|
-
"name": "Popover",
|
|
12369
|
-
"module": "components/popover/popover.component.js"
|
|
12370
|
-
}
|
|
12371
|
-
},
|
|
12372
|
-
{
|
|
12373
|
-
"kind": "field",
|
|
12374
|
-
"name": "handleFocusOut",
|
|
12375
|
-
"privacy": "private",
|
|
12376
|
-
"description": "Handles focus out event on the trigger element.\nCloses based on hideOnBlur property or hover state.",
|
|
12377
|
-
"inheritedFrom": {
|
|
12378
|
-
"name": "Popover",
|
|
12379
|
-
"module": "components/popover/popover.component.js"
|
|
12380
|
-
}
|
|
12381
|
-
},
|
|
12382
|
-
{
|
|
12383
|
-
"kind": "field",
|
|
12384
|
-
"name": "handleMouseEnter",
|
|
12385
|
-
"privacy": "private",
|
|
12386
|
-
"description": "Handles mouse enter event on the trigger element.\nThis method sets the `isHovered` flag to true and shows the popover",
|
|
12387
|
-
"inheritedFrom": {
|
|
12388
|
-
"name": "Popover",
|
|
12389
|
-
"module": "components/popover/popover.component.js"
|
|
12390
|
-
}
|
|
12391
|
-
},
|
|
12392
|
-
{
|
|
12393
|
-
"kind": "field",
|
|
12394
|
-
"name": "handleMouseLeave",
|
|
12395
|
-
"privacy": "private",
|
|
12396
|
-
"description": "Handles mouse leave event on the trigger element.\nThis method sets the `isHovered` flag to false and starts the close delay\ntimer to hide the popover.",
|
|
12397
|
-
"inheritedFrom": {
|
|
12398
|
-
"name": "Popover",
|
|
12399
|
-
"module": "components/popover/popover.component.js"
|
|
12400
|
-
}
|
|
12401
|
-
},
|
|
12402
12702
|
{
|
|
12403
12703
|
"kind": "method",
|
|
12404
12704
|
"name": "handleTabKeydown",
|
|
@@ -12866,63 +13166,6 @@
|
|
|
12866
13166
|
"module": "components/popover/popover.component.js"
|
|
12867
13167
|
}
|
|
12868
13168
|
},
|
|
12869
|
-
{
|
|
12870
|
-
"kind": "field",
|
|
12871
|
-
"name": "onEscapeKeydown",
|
|
12872
|
-
"privacy": "private",
|
|
12873
|
-
"description": "Handles the escape keydown event to close the popover.\n\nThis method is attached to the document.",
|
|
12874
|
-
"parameters": [
|
|
12875
|
-
{
|
|
12876
|
-
"description": "The keyboard event.",
|
|
12877
|
-
"name": "event"
|
|
12878
|
-
}
|
|
12879
|
-
],
|
|
12880
|
-
"inheritedFrom": {
|
|
12881
|
-
"name": "Popover",
|
|
12882
|
-
"module": "components/popover/popover.component.js"
|
|
12883
|
-
}
|
|
12884
|
-
},
|
|
12885
|
-
{
|
|
12886
|
-
"kind": "field",
|
|
12887
|
-
"name": "onOutsidePopoverClick",
|
|
12888
|
-
"privacy": "protected",
|
|
12889
|
-
"description": "Handles the outside click event to close the popover.",
|
|
12890
|
-
"parameters": [
|
|
12891
|
-
{
|
|
12892
|
-
"description": "The mouse event.",
|
|
12893
|
-
"name": "event"
|
|
12894
|
-
}
|
|
12895
|
-
],
|
|
12896
|
-
"inheritedFrom": {
|
|
12897
|
-
"name": "Popover",
|
|
12898
|
-
"module": "components/popover/popover.component.js"
|
|
12899
|
-
}
|
|
12900
|
-
},
|
|
12901
|
-
{
|
|
12902
|
-
"kind": "field",
|
|
12903
|
-
"name": "onPopoverFocusOut",
|
|
12904
|
-
"privacy": "private",
|
|
12905
|
-
"description": "Handles the popover focus out event.",
|
|
12906
|
-
"parameters": [
|
|
12907
|
-
{
|
|
12908
|
-
"description": "The focus event.",
|
|
12909
|
-
"name": "event"
|
|
12910
|
-
}
|
|
12911
|
-
],
|
|
12912
|
-
"inheritedFrom": {
|
|
12913
|
-
"name": "Popover",
|
|
12914
|
-
"module": "components/popover/popover.component.js"
|
|
12915
|
-
}
|
|
12916
|
-
},
|
|
12917
|
-
{
|
|
12918
|
-
"kind": "field",
|
|
12919
|
-
"name": "parseTrigger",
|
|
12920
|
-
"privacy": "private",
|
|
12921
|
-
"inheritedFrom": {
|
|
12922
|
-
"name": "Popover",
|
|
12923
|
-
"module": "components/popover/popover.component.js"
|
|
12924
|
-
}
|
|
12925
|
-
},
|
|
12926
13169
|
{
|
|
12927
13170
|
"kind": "field",
|
|
12928
13171
|
"name": "placement",
|
|
@@ -12938,16 +13181,6 @@
|
|
|
12938
13181
|
"module": "components/popover/popover.component.js"
|
|
12939
13182
|
}
|
|
12940
13183
|
},
|
|
12941
|
-
{
|
|
12942
|
-
"kind": "field",
|
|
12943
|
-
"name": "positionPopover",
|
|
12944
|
-
"privacy": "private",
|
|
12945
|
-
"description": "Positions the popover based on the trigger element.\nIt also handles the flip, size and arrow placement.\nIt uses the floating-ui/dom library to calculate the position.",
|
|
12946
|
-
"inheritedFrom": {
|
|
12947
|
-
"name": "Popover",
|
|
12948
|
-
"module": "components/popover/popover.component.js"
|
|
12949
|
-
}
|
|
12950
|
-
},
|
|
12951
13184
|
{
|
|
12952
13185
|
"kind": "field",
|
|
12953
13186
|
"name": "preventScroll",
|
|
@@ -12978,26 +13211,6 @@
|
|
|
12978
13211
|
"module": "components/popover/popover.component.js"
|
|
12979
13212
|
}
|
|
12980
13213
|
},
|
|
12981
|
-
{
|
|
12982
|
-
"kind": "field",
|
|
12983
|
-
"name": "removeAllListeners",
|
|
12984
|
-
"privacy": "private",
|
|
12985
|
-
"description": "Removes all event listeners related to the popover.",
|
|
12986
|
-
"inheritedFrom": {
|
|
12987
|
-
"name": "Popover",
|
|
12988
|
-
"module": "components/popover/popover.component.js"
|
|
12989
|
-
}
|
|
12990
|
-
},
|
|
12991
|
-
{
|
|
12992
|
-
"kind": "field",
|
|
12993
|
-
"name": "removeTriggerListeners",
|
|
12994
|
-
"privacy": "private",
|
|
12995
|
-
"description": "Removes the trigger related event listeners.",
|
|
12996
|
-
"inheritedFrom": {
|
|
12997
|
-
"name": "Popover",
|
|
12998
|
-
"module": "components/popover/popover.component.js"
|
|
12999
|
-
}
|
|
13000
|
-
},
|
|
13001
13214
|
{
|
|
13002
13215
|
"kind": "field",
|
|
13003
13216
|
"name": "role",
|
|
@@ -13060,16 +13273,6 @@
|
|
|
13060
13273
|
"module": "utils/mixins/FocusTrapMixin.js"
|
|
13061
13274
|
}
|
|
13062
13275
|
},
|
|
13063
|
-
{
|
|
13064
|
-
"kind": "field",
|
|
13065
|
-
"name": "setupTriggerListeners",
|
|
13066
|
-
"privacy": "private",
|
|
13067
|
-
"description": "Sets up the trigger related event listeners, based on the trigger type.\nIncludes fallback for mouseenter trigger to also handle focusin for non-interactive popovers.\n\nWe are using capture phase for to make sure we capture trigger events even when they are not propagated during the\nbubble phase (e.g.: buttons in list item)",
|
|
13068
|
-
"inheritedFrom": {
|
|
13069
|
-
"name": "Popover",
|
|
13070
|
-
"module": "components/popover/popover.component.js"
|
|
13071
|
-
}
|
|
13072
|
-
},
|
|
13073
13276
|
{
|
|
13074
13277
|
"kind": "field",
|
|
13075
13278
|
"name": "shouldFocusTrapWrap",
|
|
@@ -13125,16 +13328,6 @@
|
|
|
13125
13328
|
"module": "components/popover/popover.component.js"
|
|
13126
13329
|
}
|
|
13127
13330
|
},
|
|
13128
|
-
{
|
|
13129
|
-
"kind": "field",
|
|
13130
|
-
"name": "startCloseDelay",
|
|
13131
|
-
"privacy": "private",
|
|
13132
|
-
"description": "Starts the close delay timer.\nIf the popover is not interactive, it will close the popover after the delay.",
|
|
13133
|
-
"inheritedFrom": {
|
|
13134
|
-
"name": "Popover",
|
|
13135
|
-
"module": "components/popover/popover.component.js"
|
|
13136
|
-
}
|
|
13137
|
-
},
|
|
13138
13331
|
{
|
|
13139
13332
|
"kind": "field",
|
|
13140
13333
|
"name": "strategy",
|
|
@@ -13150,16 +13343,6 @@
|
|
|
13150
13343
|
"module": "components/popover/popover.component.js"
|
|
13151
13344
|
}
|
|
13152
13345
|
},
|
|
13153
|
-
{
|
|
13154
|
-
"kind": "field",
|
|
13155
|
-
"name": "timers",
|
|
13156
|
-
"privacy": "private",
|
|
13157
|
-
"default": "new Timers(this)",
|
|
13158
|
-
"inheritedFrom": {
|
|
13159
|
-
"name": "Popover",
|
|
13160
|
-
"module": "components/popover/popover.component.js"
|
|
13161
|
-
}
|
|
13162
|
-
},
|
|
13163
13346
|
{
|
|
13164
13347
|
"kind": "field",
|
|
13165
13348
|
"name": "togglePopoverVisible",
|
|
@@ -13207,6 +13390,20 @@
|
|
|
13207
13390
|
"module": "components/popover/popover.component.js"
|
|
13208
13391
|
}
|
|
13209
13392
|
},
|
|
13393
|
+
{
|
|
13394
|
+
"kind": "field",
|
|
13395
|
+
"name": "triggerElement",
|
|
13396
|
+
"type": {
|
|
13397
|
+
"text": "HTMLElement | null"
|
|
13398
|
+
},
|
|
13399
|
+
"privacy": "public",
|
|
13400
|
+
"description": "Get trigger element on-demand\nIt is necessary because trigger might appear later in the DOM, or it could be replaced completely.",
|
|
13401
|
+
"readonly": true,
|
|
13402
|
+
"inheritedFrom": {
|
|
13403
|
+
"name": "Popover",
|
|
13404
|
+
"module": "components/popover/popover.component.js"
|
|
13405
|
+
}
|
|
13406
|
+
},
|
|
13210
13407
|
{
|
|
13211
13408
|
"kind": "field",
|
|
13212
13409
|
"name": "triggerID",
|
|
@@ -13459,7 +13656,7 @@
|
|
|
13459
13656
|
{
|
|
13460
13657
|
"name": "boundary-root",
|
|
13461
13658
|
"type": {
|
|
13462
|
-
"text": "
|
|
13659
|
+
"text": "PopoverBoundaryRoot"
|
|
13463
13660
|
},
|
|
13464
13661
|
"description": "This describes the root boundary that the element will be checked for overflow relative to.\nThe default is 'viewport', which is the area of the page the user can see on the screen.\n\nThe other string option is 'document', which is the entire page outside the viewport.",
|
|
13465
13662
|
"default": "'viewport'",
|
|
@@ -13782,7 +13979,7 @@
|
|
|
13782
13979
|
"module": "/src/components/popover/popover.component"
|
|
13783
13980
|
},
|
|
13784
13981
|
"tagName": "mdc-coachmark",
|
|
13785
|
-
"jsDoc": "/**\n * Coachmark component based on top of the popover component,\n * with the default value of certain properties changed.\n *\n * @dependency mdc-popover\n *\n * @tagname mdc-coachmark\n *\n * @event shown - (React: onShown) This event is dispatched when the coachmark is shown\n * @event hidden - (React: onHidden) This event is dispatched when the coachmark is hidden\n * @event created - (React: onCreated) This event is dispatched when the coachmark is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the coachmark is\n * destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-popover-arrow-border-radius - radius of the arrow border\n * @cssproperty --mdc-popover-arrow-border - border of the arrow\n * @cssproperty --mdc-popover-primary-background-color - primary background color of the popover\n * @cssproperty --mdc-popover-border-color - border color of the popover\n * @cssproperty --mdc-popover-inverted-background-color - inverted background color of the popover\n * @cssproperty --mdc-popover-inverted-border-color - inverted border color of the popover\n * @cssproperty --mdc-popover-inverted-text-color - inverted text color of the popover\n * @cssproperty --mdc-popover-elevation-3 - elevation of the popover\n *\n * @slot - Default slot for modal container\n
|
|
13982
|
+
"jsDoc": "/**\n * A Coachmark is a contextual guidance component used to highlight a specific UI element and explain its purpose or functionality.\n * It is typically shown as part of onboarding, feature discovery, or progressive education within the product.\n *\n * Coachmark component based on top of the popover component,\n * with the default value of certain properties changed.\n * Coachmark component will always have an arrow attached to it.\n * The color of the coachmark is contrast.\n *\n * ## When to use\n * - Introducing a new or complex feature to users.\n * - Drawing attention to a UI element that might otherwise be missed.\n * - Providing step-by-step guidance in an onboarding or walkthrough flow.\n *\n * ## Accessibility\n * - The default role of coachmark is `\"dialog\"`, which can be changed via the `role` attribute.\n * - aria-label or aria-labelledby can be provided to give the coachmark an accessible name.\n *\n * @dependency mdc-popover\n *\n * @tagname mdc-coachmark\n *\n * @event shown - (React: onShown) This event is dispatched when the coachmark is shown\n * @event hidden - (React: onHidden) This event is dispatched when the coachmark is hidden\n * @event created - (React: onCreated) This event is dispatched when the coachmark is created (added to the DOM)\n * @event destroyed - (React: onDestroyed) This event is dispatched when the coachmark is\n * destroyed (removed from the DOM)\n *\n * @cssproperty --mdc-popover-arrow-border-radius - radius of the arrow border\n * @cssproperty --mdc-popover-arrow-border - border of the arrow\n * @cssproperty --mdc-popover-primary-background-color - primary background color of the popover\n * @cssproperty --mdc-popover-border-color - border color of the popover\n * @cssproperty --mdc-popover-inverted-background-color - inverted background color of the popover\n * @cssproperty --mdc-popover-inverted-border-color - inverted border color of the popover\n * @cssproperty --mdc-popover-inverted-text-color - inverted text color of the popover\n * @cssproperty --mdc-popover-elevation-3 - elevation of the popover\n *\n * @slot - Default slot for modal container\n */",
|
|
13786
13983
|
"customElement": true,
|
|
13787
13984
|
"cssParts": [
|
|
13788
13985
|
{
|
|
@@ -14175,6 +14372,34 @@
|
|
|
14175
14372
|
"module": "utils/mixins/DisabledMixin.js"
|
|
14176
14373
|
}
|
|
14177
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
|
+
},
|
|
14178
14403
|
{
|
|
14179
14404
|
"kind": "method",
|
|
14180
14405
|
"name": "getFirstSelectedOption",
|
|
@@ -15189,6 +15414,10 @@
|
|
|
15189
15414
|
}
|
|
15190
15415
|
],
|
|
15191
15416
|
"mixins": [
|
|
15417
|
+
{
|
|
15418
|
+
"name": "KeyToActionMixin",
|
|
15419
|
+
"module": "/src/utils/mixins/KeyToActionMixin"
|
|
15420
|
+
},
|
|
15192
15421
|
{
|
|
15193
15422
|
"name": "CaptureDestroyEventForChildElement",
|
|
15194
15423
|
"module": "/src/utils/mixins/lifecycle/CaptureDestroyEventForChildElement"
|
|
@@ -16833,6 +17062,34 @@
|
|
|
16833
17062
|
}
|
|
16834
17063
|
}
|
|
16835
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
|
+
},
|
|
16836
17093
|
{
|
|
16837
17094
|
"kind": "method",
|
|
16838
17095
|
"name": "handleBlur",
|
|
@@ -19571,6 +19828,34 @@
|
|
|
19571
19828
|
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
|
19572
19829
|
}
|
|
19573
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
|
+
},
|
|
19574
19859
|
{
|
|
19575
19860
|
"kind": "method",
|
|
19576
19861
|
"name": "handleKeyDown",
|
|
@@ -20411,6 +20696,10 @@
|
|
|
20411
20696
|
}
|
|
20412
20697
|
],
|
|
20413
20698
|
"mixins": [
|
|
20699
|
+
{
|
|
20700
|
+
"name": "KeyToActionMixin",
|
|
20701
|
+
"module": "/src/utils/mixins/KeyToActionMixin"
|
|
20702
|
+
},
|
|
20414
20703
|
{
|
|
20415
20704
|
"name": "AutoFocusOnMountMixin",
|
|
20416
20705
|
"module": "/src/utils/mixins/AutoFocusOnMountMixin"
|
|
@@ -21426,6 +21715,34 @@
|
|
|
21426
21715
|
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
21427
21716
|
}
|
|
21428
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
|
+
},
|
|
21429
21746
|
{
|
|
21430
21747
|
"kind": "method",
|
|
21431
21748
|
"name": "handleBlur",
|
|
@@ -22363,6 +22680,34 @@
|
|
|
22363
22680
|
}
|
|
22364
22681
|
],
|
|
22365
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
|
+
},
|
|
22366
22711
|
{
|
|
22367
22712
|
"kind": "method",
|
|
22368
22713
|
"name": "getCurrentIndex",
|
|
@@ -22506,37 +22851,6 @@
|
|
|
22506
22851
|
"module": "utils/mixins/ListNavigationMixin.js"
|
|
22507
22852
|
}
|
|
22508
22853
|
},
|
|
22509
|
-
{
|
|
22510
|
-
"kind": "method",
|
|
22511
|
-
"name": "resolveDirectionKey",
|
|
22512
|
-
"privacy": "private",
|
|
22513
|
-
"parameters": [
|
|
22514
|
-
{
|
|
22515
|
-
"name": "key",
|
|
22516
|
-
"type": {
|
|
22517
|
-
"text": "string"
|
|
22518
|
-
},
|
|
22519
|
-
"description": "The key pressed by the user."
|
|
22520
|
-
},
|
|
22521
|
-
{
|
|
22522
|
-
"name": "isRtl",
|
|
22523
|
-
"type": {
|
|
22524
|
-
"text": "boolean"
|
|
22525
|
-
},
|
|
22526
|
-
"description": "A boolean indicating if the layout is right-to-left (RTL)."
|
|
22527
|
-
}
|
|
22528
|
-
],
|
|
22529
|
-
"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.",
|
|
22530
|
-
"return": {
|
|
22531
|
-
"type": {
|
|
22532
|
-
"text": ""
|
|
22533
|
-
}
|
|
22534
|
-
},
|
|
22535
|
-
"inheritedFrom": {
|
|
22536
|
-
"name": "ListNavigationMixin",
|
|
22537
|
-
"module": "utils/mixins/ListNavigationMixin.js"
|
|
22538
|
-
}
|
|
22539
|
-
},
|
|
22540
22854
|
{
|
|
22541
22855
|
"kind": "method",
|
|
22542
22856
|
"name": "setInitialFocus",
|
|
@@ -22644,6 +22958,34 @@
|
|
|
22644
22958
|
},
|
|
22645
22959
|
"description": "Dispatch change event when an option is selected."
|
|
22646
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
|
+
},
|
|
22647
22989
|
{
|
|
22648
22990
|
"kind": "method",
|
|
22649
22991
|
"name": "getCurrentIndex",
|
|
@@ -22744,37 +23086,6 @@
|
|
|
22744
23086
|
"module": "utils/mixins/ListNavigationMixin.js"
|
|
22745
23087
|
}
|
|
22746
23088
|
},
|
|
22747
|
-
{
|
|
22748
|
-
"kind": "method",
|
|
22749
|
-
"name": "resolveDirectionKey",
|
|
22750
|
-
"privacy": "private",
|
|
22751
|
-
"parameters": [
|
|
22752
|
-
{
|
|
22753
|
-
"name": "key",
|
|
22754
|
-
"type": {
|
|
22755
|
-
"text": "string"
|
|
22756
|
-
},
|
|
22757
|
-
"description": "The key pressed by the user."
|
|
22758
|
-
},
|
|
22759
|
-
{
|
|
22760
|
-
"name": "isRtl",
|
|
22761
|
-
"type": {
|
|
22762
|
-
"text": "boolean"
|
|
22763
|
-
},
|
|
22764
|
-
"description": "A boolean indicating if the layout is right-to-left (RTL)."
|
|
22765
|
-
}
|
|
22766
|
-
],
|
|
22767
|
-
"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.",
|
|
22768
|
-
"return": {
|
|
22769
|
-
"type": {
|
|
22770
|
-
"text": ""
|
|
22771
|
-
}
|
|
22772
|
-
},
|
|
22773
|
-
"inheritedFrom": {
|
|
22774
|
-
"name": "ListNavigationMixin",
|
|
22775
|
-
"module": "utils/mixins/ListNavigationMixin.js"
|
|
22776
|
-
}
|
|
22777
|
-
},
|
|
22778
23089
|
{
|
|
22779
23090
|
"kind": "method",
|
|
22780
23091
|
"name": "setInitialFocus",
|
|
@@ -23223,6 +23534,34 @@
|
|
|
23223
23534
|
],
|
|
23224
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."
|
|
23225
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
|
+
},
|
|
23226
23565
|
{
|
|
23227
23566
|
"kind": "method",
|
|
23228
23567
|
"name": "getText",
|
|
@@ -23595,6 +23934,10 @@
|
|
|
23595
23934
|
}
|
|
23596
23935
|
],
|
|
23597
23936
|
"mixins": [
|
|
23937
|
+
{
|
|
23938
|
+
"name": "KeyToActionMixin",
|
|
23939
|
+
"module": "/src/utils/mixins/KeyToActionMixin"
|
|
23940
|
+
},
|
|
23598
23941
|
{
|
|
23599
23942
|
"name": "DisabledMixin",
|
|
23600
23943
|
"module": "/src/utils/mixins/DisabledMixin"
|
|
@@ -23757,47 +24100,57 @@
|
|
|
23757
24100
|
},
|
|
23758
24101
|
{
|
|
23759
24102
|
"kind": "method",
|
|
23760
|
-
"name": "
|
|
23761
|
-
"privacy": "private",
|
|
24103
|
+
"name": "getActionForKeyEvent",
|
|
23762
24104
|
"return": {
|
|
23763
24105
|
"type": {
|
|
23764
|
-
"text": "
|
|
24106
|
+
"text": "Actions | undefined"
|
|
23765
24107
|
}
|
|
23766
24108
|
},
|
|
23767
|
-
"
|
|
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
|
+
}
|
|
23768
24128
|
},
|
|
23769
24129
|
{
|
|
23770
24130
|
"kind": "method",
|
|
23771
|
-
"name": "
|
|
24131
|
+
"name": "getAllPopovers",
|
|
23772
24132
|
"privacy": "private",
|
|
23773
24133
|
"return": {
|
|
23774
24134
|
"type": {
|
|
23775
|
-
"text": "
|
|
24135
|
+
"text": "Element[]"
|
|
23776
24136
|
}
|
|
23777
24137
|
},
|
|
23778
|
-
"
|
|
23779
|
-
{
|
|
23780
|
-
"name": "target",
|
|
23781
|
-
"type": {
|
|
23782
|
-
"text": "EventTarget | null"
|
|
23783
|
-
}
|
|
23784
|
-
}
|
|
23785
|
-
]
|
|
24138
|
+
"description": "Returns all menupopovers, including direct and slotted ones ."
|
|
23786
24139
|
},
|
|
23787
24140
|
{
|
|
23788
24141
|
"kind": "method",
|
|
23789
|
-
"name": "
|
|
24142
|
+
"name": "getCurrentIndex",
|
|
23790
24143
|
"privacy": "private",
|
|
23791
24144
|
"return": {
|
|
23792
24145
|
"type": {
|
|
23793
|
-
"text": "
|
|
24146
|
+
"text": "number"
|
|
23794
24147
|
}
|
|
23795
24148
|
},
|
|
23796
24149
|
"parameters": [
|
|
23797
24150
|
{
|
|
23798
|
-
"name": "
|
|
24151
|
+
"name": "target",
|
|
23799
24152
|
"type": {
|
|
23800
|
-
"text": "
|
|
24153
|
+
"text": "EventTarget | null"
|
|
23801
24154
|
}
|
|
23802
24155
|
}
|
|
23803
24156
|
]
|
|
@@ -24037,6 +24390,12 @@
|
|
|
24037
24390
|
]
|
|
24038
24391
|
}
|
|
24039
24392
|
],
|
|
24393
|
+
"mixins": [
|
|
24394
|
+
{
|
|
24395
|
+
"name": "KeyToActionMixin",
|
|
24396
|
+
"module": "/src/utils/mixins/KeyToActionMixin"
|
|
24397
|
+
}
|
|
24398
|
+
],
|
|
24040
24399
|
"superclass": {
|
|
24041
24400
|
"name": "Component",
|
|
24042
24401
|
"module": "/src/models"
|
|
@@ -24264,6 +24623,34 @@
|
|
|
24264
24623
|
"module": "components/listitem/listitem.component.js"
|
|
24265
24624
|
}
|
|
24266
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
|
+
},
|
|
24267
24654
|
{
|
|
24268
24655
|
"kind": "method",
|
|
24269
24656
|
"name": "getText",
|
|
@@ -25315,6 +25702,34 @@
|
|
|
25315
25702
|
"module": "components/listitem/listitem.component.js"
|
|
25316
25703
|
}
|
|
25317
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
|
+
},
|
|
25318
25733
|
{
|
|
25319
25734
|
"kind": "method",
|
|
25320
25735
|
"name": "getCheckmarkIcon",
|
|
@@ -26391,6 +26806,34 @@
|
|
|
26391
26806
|
"module": "components/listitem/listitem.component.js"
|
|
26392
26807
|
}
|
|
26393
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
|
+
},
|
|
26394
26837
|
{
|
|
26395
26838
|
"kind": "method",
|
|
26396
26839
|
"name": "getAllRadiosWithinSameGroup",
|
|
@@ -27324,7 +27767,7 @@
|
|
|
27324
27767
|
"kind": "field",
|
|
27325
27768
|
"name": "boundaryRoot",
|
|
27326
27769
|
"type": {
|
|
27327
|
-
"text": "
|
|
27770
|
+
"text": "PopoverBoundaryRoot"
|
|
27328
27771
|
},
|
|
27329
27772
|
"description": "This describes the root boundary that the element will be checked for overflow relative to.\nThe default is 'viewport', which is the area of the page the user can see on the screen.\n\nThe other string option is 'document', which is the entire page outside the viewport.",
|
|
27330
27773
|
"default": "'viewport'",
|
|
@@ -27366,26 +27809,6 @@
|
|
|
27366
27809
|
"module": "utils/mixins/FocusTrapMixin.js"
|
|
27367
27810
|
}
|
|
27368
27811
|
},
|
|
27369
|
-
{
|
|
27370
|
-
"kind": "field",
|
|
27371
|
-
"name": "cancelCloseDelay",
|
|
27372
|
-
"privacy": "private",
|
|
27373
|
-
"description": "Cancels the close delay timer.",
|
|
27374
|
-
"inheritedFrom": {
|
|
27375
|
-
"name": "Popover",
|
|
27376
|
-
"module": "components/popover/popover.component.js"
|
|
27377
|
-
}
|
|
27378
|
-
},
|
|
27379
|
-
{
|
|
27380
|
-
"kind": "field",
|
|
27381
|
-
"name": "cancelOpenDelay",
|
|
27382
|
-
"privacy": "private",
|
|
27383
|
-
"description": "Cancels the open delay timer.",
|
|
27384
|
-
"inheritedFrom": {
|
|
27385
|
-
"name": "Popover",
|
|
27386
|
-
"module": "components/popover/popover.component.js"
|
|
27387
|
-
}
|
|
27388
|
-
},
|
|
27389
27812
|
{
|
|
27390
27813
|
"kind": "method",
|
|
27391
27814
|
"name": "closeAllMenuPopovers",
|
|
@@ -27643,6 +28066,34 @@
|
|
|
27643
28066
|
"module": "components/popover/popover.component.js"
|
|
27644
28067
|
}
|
|
27645
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
|
+
},
|
|
27646
28097
|
{
|
|
27647
28098
|
"kind": "method",
|
|
27648
28099
|
"name": "getCurrentIndex",
|
|
@@ -27678,26 +28129,6 @@
|
|
|
27678
28129
|
"module": "utils/mixins/FocusTrapMixin.js"
|
|
27679
28130
|
}
|
|
27680
28131
|
},
|
|
27681
|
-
{
|
|
27682
|
-
"kind": "field",
|
|
27683
|
-
"name": "handleFocusIn",
|
|
27684
|
-
"privacy": "private",
|
|
27685
|
-
"description": "Handles focus in event on the trigger element.\nThis method checks if the trigger element has visible focus or is being hovered.",
|
|
27686
|
-
"inheritedFrom": {
|
|
27687
|
-
"name": "Popover",
|
|
27688
|
-
"module": "components/popover/popover.component.js"
|
|
27689
|
-
}
|
|
27690
|
-
},
|
|
27691
|
-
{
|
|
27692
|
-
"kind": "field",
|
|
27693
|
-
"name": "handleFocusOut",
|
|
27694
|
-
"privacy": "private",
|
|
27695
|
-
"description": "Handles focus out event on the trigger element.\nCloses based on hideOnBlur property or hover state.",
|
|
27696
|
-
"inheritedFrom": {
|
|
27697
|
-
"name": "Popover",
|
|
27698
|
-
"module": "components/popover/popover.component.js"
|
|
27699
|
-
}
|
|
27700
|
-
},
|
|
27701
28132
|
{
|
|
27702
28133
|
"kind": "field",
|
|
27703
28134
|
"name": "handleItemChangeEvent",
|
|
@@ -27762,26 +28193,6 @@
|
|
|
27762
28193
|
],
|
|
27763
28194
|
"description": "Handles mouse click events on the menu items.\nThis method checks if the clicked element is a valid menu item and not a submenu trigger.\nIf it is, it closes all other menu popovers to ensure only one menu is open at a time."
|
|
27764
28195
|
},
|
|
27765
|
-
{
|
|
27766
|
-
"kind": "field",
|
|
27767
|
-
"name": "handleMouseEnter",
|
|
27768
|
-
"privacy": "private",
|
|
27769
|
-
"description": "Handles mouse enter event on the trigger element.\nThis method sets the `isHovered` flag to true and shows the popover",
|
|
27770
|
-
"inheritedFrom": {
|
|
27771
|
-
"name": "Popover",
|
|
27772
|
-
"module": "components/popover/popover.component.js"
|
|
27773
|
-
}
|
|
27774
|
-
},
|
|
27775
|
-
{
|
|
27776
|
-
"kind": "field",
|
|
27777
|
-
"name": "handleMouseLeave",
|
|
27778
|
-
"privacy": "private",
|
|
27779
|
-
"description": "Handles mouse leave event on the trigger element.\nThis method sets the `isHovered` flag to false and starts the close delay\ntimer to hide the popover.",
|
|
27780
|
-
"inheritedFrom": {
|
|
27781
|
-
"name": "Popover",
|
|
27782
|
-
"module": "components/popover/popover.component.js"
|
|
27783
|
-
}
|
|
27784
|
-
},
|
|
27785
28196
|
{
|
|
27786
28197
|
"kind": "method",
|
|
27787
28198
|
"name": "handleTabKeydown",
|
|
@@ -28270,62 +28681,16 @@
|
|
|
28270
28681
|
"module": "components/popover/popover.component.js"
|
|
28271
28682
|
}
|
|
28272
28683
|
},
|
|
28273
|
-
{
|
|
28274
|
-
"kind": "field",
|
|
28275
|
-
"name": "onEscapeKeydown",
|
|
28276
|
-
"privacy": "private",
|
|
28277
|
-
"description": "Handles the escape keydown event to close the popover.\n\nThis method is attached to the document.",
|
|
28278
|
-
"parameters": [
|
|
28279
|
-
{
|
|
28280
|
-
"description": "The keyboard event.",
|
|
28281
|
-
"name": "event"
|
|
28282
|
-
}
|
|
28283
|
-
],
|
|
28284
|
-
"inheritedFrom": {
|
|
28285
|
-
"name": "Popover",
|
|
28286
|
-
"module": "components/popover/popover.component.js"
|
|
28287
|
-
}
|
|
28288
|
-
},
|
|
28289
28684
|
{
|
|
28290
28685
|
"kind": "field",
|
|
28291
28686
|
"name": "onOutsidePopoverClick",
|
|
28292
|
-
"privacy": "protected",
|
|
28293
28687
|
"description": "Handles outside click events to close the popover.\nThis method checks if the click occurred outside the popover and its trigger element.\nIf so, it closes the popover by calling `closeAllMenuPopovers`.\nIt also checks if the click was on the backdrop element (if present) to close the popover.",
|
|
28294
28688
|
"parameters": [
|
|
28295
28689
|
{
|
|
28296
28690
|
"description": "The mouse event that triggered the outside click.",
|
|
28297
28691
|
"name": "event"
|
|
28298
28692
|
}
|
|
28299
|
-
]
|
|
28300
|
-
"inheritedFrom": {
|
|
28301
|
-
"name": "Popover",
|
|
28302
|
-
"module": "components/popover/popover.component.js"
|
|
28303
|
-
}
|
|
28304
|
-
},
|
|
28305
|
-
{
|
|
28306
|
-
"kind": "field",
|
|
28307
|
-
"name": "onPopoverFocusOut",
|
|
28308
|
-
"privacy": "private",
|
|
28309
|
-
"description": "Handles the popover focus out event.",
|
|
28310
|
-
"parameters": [
|
|
28311
|
-
{
|
|
28312
|
-
"description": "The focus event.",
|
|
28313
|
-
"name": "event"
|
|
28314
|
-
}
|
|
28315
|
-
],
|
|
28316
|
-
"inheritedFrom": {
|
|
28317
|
-
"name": "Popover",
|
|
28318
|
-
"module": "components/popover/popover.component.js"
|
|
28319
|
-
}
|
|
28320
|
-
},
|
|
28321
|
-
{
|
|
28322
|
-
"kind": "field",
|
|
28323
|
-
"name": "parseTrigger",
|
|
28324
|
-
"privacy": "private",
|
|
28325
|
-
"inheritedFrom": {
|
|
28326
|
-
"name": "Popover",
|
|
28327
|
-
"module": "components/popover/popover.component.js"
|
|
28328
|
-
}
|
|
28693
|
+
]
|
|
28329
28694
|
},
|
|
28330
28695
|
{
|
|
28331
28696
|
"kind": "field",
|
|
@@ -28342,16 +28707,6 @@
|
|
|
28342
28707
|
"module": "components/popover/popover.component.js"
|
|
28343
28708
|
}
|
|
28344
28709
|
},
|
|
28345
|
-
{
|
|
28346
|
-
"kind": "field",
|
|
28347
|
-
"name": "positionPopover",
|
|
28348
|
-
"privacy": "private",
|
|
28349
|
-
"description": "Positions the popover based on the trigger element.\nIt also handles the flip, size and arrow placement.\nIt uses the floating-ui/dom library to calculate the position.",
|
|
28350
|
-
"inheritedFrom": {
|
|
28351
|
-
"name": "Popover",
|
|
28352
|
-
"module": "components/popover/popover.component.js"
|
|
28353
|
-
}
|
|
28354
|
-
},
|
|
28355
28710
|
{
|
|
28356
28711
|
"kind": "field",
|
|
28357
28712
|
"name": "preventScroll",
|
|
@@ -28382,26 +28737,6 @@
|
|
|
28382
28737
|
"module": "components/popover/popover.component.js"
|
|
28383
28738
|
}
|
|
28384
28739
|
},
|
|
28385
|
-
{
|
|
28386
|
-
"kind": "field",
|
|
28387
|
-
"name": "removeAllListeners",
|
|
28388
|
-
"privacy": "private",
|
|
28389
|
-
"description": "Removes all event listeners related to the popover.",
|
|
28390
|
-
"inheritedFrom": {
|
|
28391
|
-
"name": "Popover",
|
|
28392
|
-
"module": "components/popover/popover.component.js"
|
|
28393
|
-
}
|
|
28394
|
-
},
|
|
28395
|
-
{
|
|
28396
|
-
"kind": "field",
|
|
28397
|
-
"name": "removeTriggerListeners",
|
|
28398
|
-
"privacy": "private",
|
|
28399
|
-
"description": "Removes the trigger related event listeners.",
|
|
28400
|
-
"inheritedFrom": {
|
|
28401
|
-
"name": "Popover",
|
|
28402
|
-
"module": "components/popover/popover.component.js"
|
|
28403
|
-
}
|
|
28404
|
-
},
|
|
28405
28740
|
{
|
|
28406
28741
|
"kind": "field",
|
|
28407
28742
|
"name": "resetMenuNavigation",
|
|
@@ -28449,33 +28784,6 @@
|
|
|
28449
28784
|
],
|
|
28450
28785
|
"description": "Reset all tabindex to -1 and set the tabindex of the current menu item to 0"
|
|
28451
28786
|
},
|
|
28452
|
-
{
|
|
28453
|
-
"kind": "method",
|
|
28454
|
-
"name": "resolveDirectionKey",
|
|
28455
|
-
"privacy": "private",
|
|
28456
|
-
"parameters": [
|
|
28457
|
-
{
|
|
28458
|
-
"name": "key",
|
|
28459
|
-
"type": {
|
|
28460
|
-
"text": "string"
|
|
28461
|
-
},
|
|
28462
|
-
"description": "The key pressed by the user."
|
|
28463
|
-
},
|
|
28464
|
-
{
|
|
28465
|
-
"name": "isRtl",
|
|
28466
|
-
"type": {
|
|
28467
|
-
"text": "boolean"
|
|
28468
|
-
},
|
|
28469
|
-
"description": "A boolean indicating if the layout is right-to-left (RTL)."
|
|
28470
|
-
}
|
|
28471
|
-
],
|
|
28472
|
-
"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.",
|
|
28473
|
-
"return": {
|
|
28474
|
-
"type": {
|
|
28475
|
-
"text": ""
|
|
28476
|
-
}
|
|
28477
|
-
}
|
|
28478
|
-
},
|
|
28479
28787
|
{
|
|
28480
28788
|
"kind": "field",
|
|
28481
28789
|
"name": "role",
|
|
@@ -28538,16 +28846,6 @@
|
|
|
28538
28846
|
"module": "utils/mixins/FocusTrapMixin.js"
|
|
28539
28847
|
}
|
|
28540
28848
|
},
|
|
28541
|
-
{
|
|
28542
|
-
"kind": "field",
|
|
28543
|
-
"name": "setupTriggerListeners",
|
|
28544
|
-
"privacy": "private",
|
|
28545
|
-
"description": "Sets up the trigger related event listeners, based on the trigger type.\nIncludes fallback for mouseenter trigger to also handle focusin for non-interactive popovers.\n\nWe are using capture phase for to make sure we capture trigger events even when they are not propagated during the\nbubble phase (e.g.: buttons in list item)",
|
|
28546
|
-
"inheritedFrom": {
|
|
28547
|
-
"name": "Popover",
|
|
28548
|
-
"module": "components/popover/popover.component.js"
|
|
28549
|
-
}
|
|
28550
|
-
},
|
|
28551
28849
|
{
|
|
28552
28850
|
"kind": "field",
|
|
28553
28851
|
"name": "shouldFocusTrapWrap",
|
|
@@ -28603,16 +28901,6 @@
|
|
|
28603
28901
|
"module": "components/popover/popover.component.js"
|
|
28604
28902
|
}
|
|
28605
28903
|
},
|
|
28606
|
-
{
|
|
28607
|
-
"kind": "field",
|
|
28608
|
-
"name": "startCloseDelay",
|
|
28609
|
-
"privacy": "private",
|
|
28610
|
-
"description": "Starts the close delay timer.\nIf the popover is not interactive, it will close the popover after the delay.",
|
|
28611
|
-
"inheritedFrom": {
|
|
28612
|
-
"name": "Popover",
|
|
28613
|
-
"module": "components/popover/popover.component.js"
|
|
28614
|
-
}
|
|
28615
|
-
},
|
|
28616
28904
|
{
|
|
28617
28905
|
"kind": "field",
|
|
28618
28906
|
"name": "strategy",
|
|
@@ -28628,16 +28916,6 @@
|
|
|
28628
28916
|
"module": "components/popover/popover.component.js"
|
|
28629
28917
|
}
|
|
28630
28918
|
},
|
|
28631
|
-
{
|
|
28632
|
-
"kind": "field",
|
|
28633
|
-
"name": "timers",
|
|
28634
|
-
"privacy": "private",
|
|
28635
|
-
"default": "new Timers(this)",
|
|
28636
|
-
"inheritedFrom": {
|
|
28637
|
-
"name": "Popover",
|
|
28638
|
-
"module": "components/popover/popover.component.js"
|
|
28639
|
-
}
|
|
28640
|
-
},
|
|
28641
28919
|
{
|
|
28642
28920
|
"kind": "field",
|
|
28643
28921
|
"name": "togglePopoverVisible",
|
|
@@ -28690,6 +28968,20 @@
|
|
|
28690
28968
|
"module": "components/popover/popover.component.js"
|
|
28691
28969
|
}
|
|
28692
28970
|
},
|
|
28971
|
+
{
|
|
28972
|
+
"kind": "field",
|
|
28973
|
+
"name": "triggerElement",
|
|
28974
|
+
"type": {
|
|
28975
|
+
"text": "HTMLElement | null"
|
|
28976
|
+
},
|
|
28977
|
+
"privacy": "public",
|
|
28978
|
+
"description": "Get trigger element on-demand\nIt is necessary because trigger might appear later in the DOM, or it could be replaced completely.",
|
|
28979
|
+
"readonly": true,
|
|
28980
|
+
"inheritedFrom": {
|
|
28981
|
+
"name": "Popover",
|
|
28982
|
+
"module": "components/popover/popover.component.js"
|
|
28983
|
+
}
|
|
28984
|
+
},
|
|
28693
28985
|
{
|
|
28694
28986
|
"kind": "field",
|
|
28695
28987
|
"name": "triggerID",
|
|
@@ -28913,7 +29205,7 @@
|
|
|
28913
29205
|
{
|
|
28914
29206
|
"name": "boundary-root",
|
|
28915
29207
|
"type": {
|
|
28916
|
-
"text": "
|
|
29208
|
+
"text": "PopoverBoundaryRoot"
|
|
28917
29209
|
},
|
|
28918
29210
|
"description": "This describes the root boundary that the element will be checked for overflow relative to.\nThe default is 'viewport', which is the area of the page the user can see on the screen.\n\nThe other string option is 'document', which is the entire page outside the viewport.",
|
|
28919
29211
|
"default": "'viewport'",
|
|
@@ -29945,6 +30237,34 @@
|
|
|
29945
30237
|
"module": "components/listitem/listitem.component.js"
|
|
29946
30238
|
}
|
|
29947
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
|
+
},
|
|
29948
30268
|
{
|
|
29949
30269
|
"kind": "method",
|
|
29950
30270
|
"name": "getFilledIconName",
|
|
@@ -31315,6 +31635,34 @@
|
|
|
31315
31635
|
"module": "components/listitem/listitem.component.js"
|
|
31316
31636
|
}
|
|
31317
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
|
+
},
|
|
31318
31666
|
{
|
|
31319
31667
|
"kind": "method",
|
|
31320
31668
|
"name": "getText",
|
|
@@ -32559,6 +32907,34 @@
|
|
|
32559
32907
|
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
|
32560
32908
|
}
|
|
32561
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
|
+
},
|
|
32562
32938
|
{
|
|
32563
32939
|
"kind": "method",
|
|
32564
32940
|
"name": "handleKeyDown",
|
|
@@ -33820,7 +34196,7 @@
|
|
|
33820
34196
|
"kind": "field",
|
|
33821
34197
|
"name": "boundaryRoot",
|
|
33822
34198
|
"type": {
|
|
33823
|
-
"text": "
|
|
34199
|
+
"text": "PopoverBoundaryRoot"
|
|
33824
34200
|
},
|
|
33825
34201
|
"description": "This describes the root boundary that the element will be checked for overflow relative to.\nThe default is 'viewport', which is the area of the page the user can see on the screen.\n\nThe other string option is 'document', which is the entire page outside the viewport.",
|
|
33826
34202
|
"default": "'viewport'",
|
|
@@ -33858,18 +34234,6 @@
|
|
|
33858
34234
|
"module": "utils/mixins/FocusTrapMixin.js"
|
|
33859
34235
|
}
|
|
33860
34236
|
},
|
|
33861
|
-
{
|
|
33862
|
-
"kind": "field",
|
|
33863
|
-
"name": "cancelCloseDelay",
|
|
33864
|
-
"privacy": "private",
|
|
33865
|
-
"description": "Cancels the close delay timer."
|
|
33866
|
-
},
|
|
33867
|
-
{
|
|
33868
|
-
"kind": "field",
|
|
33869
|
-
"name": "cancelOpenDelay",
|
|
33870
|
-
"privacy": "private",
|
|
33871
|
-
"description": "Cancels the open delay timer."
|
|
33872
|
-
},
|
|
33873
34237
|
{
|
|
33874
34238
|
"kind": "field",
|
|
33875
34239
|
"name": "closeButton",
|
|
@@ -34038,6 +34402,34 @@
|
|
|
34038
34402
|
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34039
34403
|
}
|
|
34040
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
|
+
},
|
|
34041
34433
|
{
|
|
34042
34434
|
"kind": "method",
|
|
34043
34435
|
"name": "getDeepActiveElement",
|
|
@@ -34053,30 +34445,6 @@
|
|
|
34053
34445
|
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34054
34446
|
}
|
|
34055
34447
|
},
|
|
34056
|
-
{
|
|
34057
|
-
"kind": "field",
|
|
34058
|
-
"name": "handleFocusIn",
|
|
34059
|
-
"privacy": "private",
|
|
34060
|
-
"description": "Handles focus in event on the trigger element.\nThis method checks if the trigger element has visible focus or is being hovered."
|
|
34061
|
-
},
|
|
34062
|
-
{
|
|
34063
|
-
"kind": "field",
|
|
34064
|
-
"name": "handleFocusOut",
|
|
34065
|
-
"privacy": "private",
|
|
34066
|
-
"description": "Handles focus out event on the trigger element.\nCloses based on hideOnBlur property or hover state."
|
|
34067
|
-
},
|
|
34068
|
-
{
|
|
34069
|
-
"kind": "field",
|
|
34070
|
-
"name": "handleMouseEnter",
|
|
34071
|
-
"privacy": "private",
|
|
34072
|
-
"description": "Handles mouse enter event on the trigger element.\nThis method sets the `isHovered` flag to true and shows the popover"
|
|
34073
|
-
},
|
|
34074
|
-
{
|
|
34075
|
-
"kind": "field",
|
|
34076
|
-
"name": "handleMouseLeave",
|
|
34077
|
-
"privacy": "private",
|
|
34078
|
-
"description": "Handles mouse leave event on the trigger element.\nThis method sets the `isHovered` flag to false and starts the close delay\ntimer to hide the popover."
|
|
34079
|
-
},
|
|
34080
34448
|
{
|
|
34081
34449
|
"kind": "method",
|
|
34082
34450
|
"name": "handleTabKeydown",
|
|
@@ -34500,47 +34868,6 @@
|
|
|
34500
34868
|
"attribute": "offset",
|
|
34501
34869
|
"reflects": true
|
|
34502
34870
|
},
|
|
34503
|
-
{
|
|
34504
|
-
"kind": "field",
|
|
34505
|
-
"name": "onEscapeKeydown",
|
|
34506
|
-
"privacy": "private",
|
|
34507
|
-
"description": "Handles the escape keydown event to close the popover.\n\nThis method is attached to the document.",
|
|
34508
|
-
"parameters": [
|
|
34509
|
-
{
|
|
34510
|
-
"description": "The keyboard event.",
|
|
34511
|
-
"name": "event"
|
|
34512
|
-
}
|
|
34513
|
-
]
|
|
34514
|
-
},
|
|
34515
|
-
{
|
|
34516
|
-
"kind": "field",
|
|
34517
|
-
"name": "onOutsidePopoverClick",
|
|
34518
|
-
"privacy": "protected",
|
|
34519
|
-
"description": "Handles the outside click event to close the popover.",
|
|
34520
|
-
"parameters": [
|
|
34521
|
-
{
|
|
34522
|
-
"description": "The mouse event.",
|
|
34523
|
-
"name": "event"
|
|
34524
|
-
}
|
|
34525
|
-
]
|
|
34526
|
-
},
|
|
34527
|
-
{
|
|
34528
|
-
"kind": "field",
|
|
34529
|
-
"name": "onPopoverFocusOut",
|
|
34530
|
-
"privacy": "private",
|
|
34531
|
-
"description": "Handles the popover focus out event.",
|
|
34532
|
-
"parameters": [
|
|
34533
|
-
{
|
|
34534
|
-
"description": "The focus event.",
|
|
34535
|
-
"name": "event"
|
|
34536
|
-
}
|
|
34537
|
-
]
|
|
34538
|
-
},
|
|
34539
|
-
{
|
|
34540
|
-
"kind": "field",
|
|
34541
|
-
"name": "parseTrigger",
|
|
34542
|
-
"privacy": "private"
|
|
34543
|
-
},
|
|
34544
34871
|
{
|
|
34545
34872
|
"kind": "field",
|
|
34546
34873
|
"name": "placement",
|
|
@@ -34552,12 +34879,6 @@
|
|
|
34552
34879
|
"attribute": "placement",
|
|
34553
34880
|
"reflects": true
|
|
34554
34881
|
},
|
|
34555
|
-
{
|
|
34556
|
-
"kind": "field",
|
|
34557
|
-
"name": "positionPopover",
|
|
34558
|
-
"privacy": "private",
|
|
34559
|
-
"description": "Positions the popover based on the trigger element.\nIt also handles the flip, size and arrow placement.\nIt uses the floating-ui/dom library to calculate the position."
|
|
34560
|
-
},
|
|
34561
34882
|
{
|
|
34562
34883
|
"kind": "field",
|
|
34563
34884
|
"name": "preventScroll",
|
|
@@ -34580,18 +34901,6 @@
|
|
|
34580
34901
|
"attribute": "propagate-event-on-escape",
|
|
34581
34902
|
"reflects": true
|
|
34582
34903
|
},
|
|
34583
|
-
{
|
|
34584
|
-
"kind": "field",
|
|
34585
|
-
"name": "removeAllListeners",
|
|
34586
|
-
"privacy": "private",
|
|
34587
|
-
"description": "Removes all event listeners related to the popover."
|
|
34588
|
-
},
|
|
34589
|
-
{
|
|
34590
|
-
"kind": "field",
|
|
34591
|
-
"name": "removeTriggerListeners",
|
|
34592
|
-
"privacy": "private",
|
|
34593
|
-
"description": "Removes the trigger related event listeners."
|
|
34594
|
-
},
|
|
34595
34904
|
{
|
|
34596
34905
|
"kind": "field",
|
|
34597
34906
|
"name": "role",
|
|
@@ -34650,12 +34959,6 @@
|
|
|
34650
34959
|
"module": "utils/mixins/FocusTrapMixin.js"
|
|
34651
34960
|
}
|
|
34652
34961
|
},
|
|
34653
|
-
{
|
|
34654
|
-
"kind": "field",
|
|
34655
|
-
"name": "setupTriggerListeners",
|
|
34656
|
-
"privacy": "private",
|
|
34657
|
-
"description": "Sets up the trigger related event listeners, based on the trigger type.\nIncludes fallback for mouseenter trigger to also handle focusin for non-interactive popovers.\n\nWe are using capture phase for to make sure we capture trigger events even when they are not propagated during the\nbubble phase (e.g.: buttons in list item)"
|
|
34658
|
-
},
|
|
34659
34962
|
{
|
|
34660
34963
|
"kind": "field",
|
|
34661
34964
|
"name": "shouldFocusTrapWrap",
|
|
@@ -34699,12 +35002,6 @@
|
|
|
34699
35002
|
"attribute": "size",
|
|
34700
35003
|
"reflects": true
|
|
34701
35004
|
},
|
|
34702
|
-
{
|
|
34703
|
-
"kind": "field",
|
|
34704
|
-
"name": "startCloseDelay",
|
|
34705
|
-
"privacy": "private",
|
|
34706
|
-
"description": "Starts the close delay timer.\nIf the popover is not interactive, it will close the popover after the delay."
|
|
34707
|
-
},
|
|
34708
35005
|
{
|
|
34709
35006
|
"kind": "field",
|
|
34710
35007
|
"name": "strategy",
|
|
@@ -34716,12 +35013,6 @@
|
|
|
34716
35013
|
"attribute": "strategy",
|
|
34717
35014
|
"reflects": true
|
|
34718
35015
|
},
|
|
34719
|
-
{
|
|
34720
|
-
"kind": "field",
|
|
34721
|
-
"name": "timers",
|
|
34722
|
-
"privacy": "private",
|
|
34723
|
-
"default": "new Timers(this)"
|
|
34724
|
-
},
|
|
34725
35016
|
{
|
|
34726
35017
|
"kind": "field",
|
|
34727
35018
|
"name": "togglePopoverVisible",
|
|
@@ -34761,6 +35052,16 @@
|
|
|
34761
35052
|
"attribute": "trigger",
|
|
34762
35053
|
"reflects": true
|
|
34763
35054
|
},
|
|
35055
|
+
{
|
|
35056
|
+
"kind": "field",
|
|
35057
|
+
"name": "triggerElement",
|
|
35058
|
+
"type": {
|
|
35059
|
+
"text": "HTMLElement | null"
|
|
35060
|
+
},
|
|
35061
|
+
"privacy": "public",
|
|
35062
|
+
"description": "Get trigger element on-demand\nIt is necessary because trigger might appear later in the DOM, or it could be replaced completely.",
|
|
35063
|
+
"readonly": true
|
|
35064
|
+
},
|
|
34764
35065
|
{
|
|
34765
35066
|
"kind": "field",
|
|
34766
35067
|
"name": "triggerID",
|
|
@@ -34901,7 +35202,7 @@
|
|
|
34901
35202
|
{
|
|
34902
35203
|
"name": "boundary-root",
|
|
34903
35204
|
"type": {
|
|
34904
|
-
"text": "
|
|
35205
|
+
"text": "PopoverBoundaryRoot"
|
|
34905
35206
|
},
|
|
34906
35207
|
"description": "This describes the root boundary that the element will be checked for overflow relative to.\nThe default is 'viewport', which is the area of the page the user can see on the screen.\n\nThe other string option is 'document', which is the entire page outside the viewport.",
|
|
34907
35208
|
"default": "'viewport'",
|
|
@@ -35160,6 +35461,10 @@
|
|
|
35160
35461
|
}
|
|
35161
35462
|
],
|
|
35162
35463
|
"mixins": [
|
|
35464
|
+
{
|
|
35465
|
+
"name": "KeyToActionMixin",
|
|
35466
|
+
"module": "/src/utils/mixins/KeyToActionMixin"
|
|
35467
|
+
},
|
|
35163
35468
|
{
|
|
35164
35469
|
"name": "BackdropMixin",
|
|
35165
35470
|
"module": "/src/utils/mixins/BackdropMixin"
|
|
@@ -37127,6 +37432,34 @@
|
|
|
37127
37432
|
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
|
37128
37433
|
}
|
|
37129
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
|
+
},
|
|
37130
37463
|
{
|
|
37131
37464
|
"kind": "field",
|
|
37132
37465
|
"name": "helpText",
|
|
@@ -37666,6 +37999,10 @@
|
|
|
37666
37999
|
}
|
|
37667
38000
|
],
|
|
37668
38001
|
"mixins": [
|
|
38002
|
+
{
|
|
38003
|
+
"name": "KeyToActionMixin",
|
|
38004
|
+
"module": "/src/utils/mixins/KeyToActionMixin"
|
|
38005
|
+
},
|
|
37669
38006
|
{
|
|
37670
38007
|
"name": "AutoFocusOnMountMixin",
|
|
37671
38008
|
"module": "/src/utils/mixins/AutoFocusOnMountMixin"
|
|
@@ -39217,6 +39554,48 @@
|
|
|
39217
39554
|
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
|
39218
39555
|
}
|
|
39219
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
|
+
},
|
|
39220
39599
|
{
|
|
39221
39600
|
"kind": "method",
|
|
39222
39601
|
"name": "handleKeyDown",
|
|
@@ -40715,6 +41094,60 @@
|
|
|
40715
41094
|
"attribute": "display-popover",
|
|
40716
41095
|
"reflects": true
|
|
40717
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
|
+
},
|
|
40718
41151
|
{
|
|
40719
41152
|
"kind": "method",
|
|
40720
41153
|
"name": "handleKeyDown",
|
|
@@ -42199,6 +42632,34 @@
|
|
|
42199
42632
|
},
|
|
42200
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."
|
|
42201
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
|
+
},
|
|
42202
42663
|
{
|
|
42203
42664
|
"kind": "method",
|
|
42204
42665
|
"name": "getCurrentIndex",
|
|
@@ -42643,37 +43104,6 @@
|
|
|
42643
43104
|
"module": "utils/mixins/ListNavigationMixin.js"
|
|
42644
43105
|
}
|
|
42645
43106
|
},
|
|
42646
|
-
{
|
|
42647
|
-
"kind": "method",
|
|
42648
|
-
"name": "resolveDirectionKey",
|
|
42649
|
-
"privacy": "private",
|
|
42650
|
-
"parameters": [
|
|
42651
|
-
{
|
|
42652
|
-
"name": "key",
|
|
42653
|
-
"type": {
|
|
42654
|
-
"text": "string"
|
|
42655
|
-
},
|
|
42656
|
-
"description": "The key pressed by the user."
|
|
42657
|
-
},
|
|
42658
|
-
{
|
|
42659
|
-
"name": "isRtl",
|
|
42660
|
-
"type": {
|
|
42661
|
-
"text": "boolean"
|
|
42662
|
-
},
|
|
42663
|
-
"description": "A boolean indicating if the layout is right-to-left (RTL)."
|
|
42664
|
-
}
|
|
42665
|
-
],
|
|
42666
|
-
"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.",
|
|
42667
|
-
"return": {
|
|
42668
|
-
"type": {
|
|
42669
|
-
"text": ""
|
|
42670
|
-
}
|
|
42671
|
-
},
|
|
42672
|
-
"inheritedFrom": {
|
|
42673
|
-
"name": "ListNavigationMixin",
|
|
42674
|
-
"module": "utils/mixins/ListNavigationMixin.js"
|
|
42675
|
-
}
|
|
42676
|
-
},
|
|
42677
43107
|
{
|
|
42678
43108
|
"kind": "method",
|
|
42679
43109
|
"name": "setInitialFocus",
|
|
@@ -43773,6 +44203,34 @@
|
|
|
43773
44203
|
"attribute": "end-aria-valuetext",
|
|
43774
44204
|
"reflects": true
|
|
43775
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
|
+
},
|
|
43776
44234
|
{
|
|
43777
44235
|
"kind": "method",
|
|
43778
44236
|
"name": "getTickStyles",
|
|
@@ -44417,6 +44875,12 @@
|
|
|
44417
44875
|
"fieldName": "hideTooltip"
|
|
44418
44876
|
}
|
|
44419
44877
|
],
|
|
44878
|
+
"mixins": [
|
|
44879
|
+
{
|
|
44880
|
+
"name": "KeyToActionMixin",
|
|
44881
|
+
"module": "/src/utils/mixins/KeyToActionMixin"
|
|
44882
|
+
}
|
|
44883
|
+
],
|
|
44420
44884
|
"superclass": {
|
|
44421
44885
|
"name": "Component",
|
|
44422
44886
|
"module": "/src/models"
|
|
@@ -45497,6 +45961,34 @@
|
|
|
45497
45961
|
}
|
|
45498
45962
|
],
|
|
45499
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
|
+
},
|
|
45500
45992
|
{
|
|
45501
45993
|
"kind": "method",
|
|
45502
45994
|
"name": "handleKeyDown",
|
|
@@ -45704,6 +46196,10 @@
|
|
|
45704
46196
|
}
|
|
45705
46197
|
],
|
|
45706
46198
|
"mixins": [
|
|
46199
|
+
{
|
|
46200
|
+
"name": "KeyToActionMixin",
|
|
46201
|
+
"module": "/src/utils/mixins/KeyToActionMixin"
|
|
46202
|
+
},
|
|
45707
46203
|
{
|
|
45708
46204
|
"name": "TabIndexMixin",
|
|
45709
46205
|
"module": "/src/utils/mixins/TabIndexMixin"
|
|
@@ -45911,6 +46407,34 @@
|
|
|
45911
46407
|
"module": "components/buttonsimple/buttonsimple.component.js"
|
|
45912
46408
|
}
|
|
45913
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
|
+
},
|
|
45914
46438
|
{
|
|
45915
46439
|
"kind": "method",
|
|
45916
46440
|
"name": "handleBlur",
|
|
@@ -47048,6 +47572,34 @@
|
|
|
47048
47572
|
}
|
|
47049
47573
|
}
|
|
47050
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
|
+
},
|
|
47051
47603
|
{
|
|
47052
47604
|
"kind": "method",
|
|
47053
47605
|
"name": "handleCharacterOverflowStateChange",
|
|
@@ -47909,6 +48461,10 @@
|
|
|
47909
48461
|
}
|
|
47910
48462
|
],
|
|
47911
48463
|
"mixins": [
|
|
48464
|
+
{
|
|
48465
|
+
"name": "KeyToActionMixin",
|
|
48466
|
+
"module": "/src/utils/mixins/KeyToActionMixin"
|
|
48467
|
+
},
|
|
47912
48468
|
{
|
|
47913
48469
|
"name": "AutoFocusOnMountMixin",
|
|
47914
48470
|
"module": "/src/utils/mixins/AutoFocusOnMountMixin"
|
|
@@ -48624,6 +49180,34 @@
|
|
|
48624
49180
|
"module": "components/formfieldwrapper/formfieldwrapper.component.js"
|
|
48625
49181
|
}
|
|
48626
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
|
+
},
|
|
48627
49211
|
{
|
|
48628
49212
|
"kind": "field",
|
|
48629
49213
|
"name": "helpText",
|
|
@@ -49207,6 +49791,10 @@
|
|
|
49207
49791
|
}
|
|
49208
49792
|
],
|
|
49209
49793
|
"mixins": [
|
|
49794
|
+
{
|
|
49795
|
+
"name": "KeyToActionMixin",
|
|
49796
|
+
"module": "/src/utils/mixins/KeyToActionMixin"
|
|
49797
|
+
},
|
|
49210
49798
|
{
|
|
49211
49799
|
"name": "ControlTypeMixin",
|
|
49212
49800
|
"module": "/src/utils/mixins/ControlTypeMixin"
|
|
@@ -49636,7 +50224,7 @@
|
|
|
49636
50224
|
"kind": "field",
|
|
49637
50225
|
"name": "boundaryRoot",
|
|
49638
50226
|
"type": {
|
|
49639
|
-
"text": "
|
|
50227
|
+
"text": "PopoverBoundaryRoot"
|
|
49640
50228
|
},
|
|
49641
50229
|
"description": "This describes the root boundary that the element will be checked for overflow relative to.\nThe default is 'viewport', which is the area of the page the user can see on the screen.\n\nThe other string option is 'document', which is the entire page outside the viewport.",
|
|
49642
50230
|
"default": "'viewport'",
|
|
@@ -49678,26 +50266,6 @@
|
|
|
49678
50266
|
"module": "components/popover/popover.component.js"
|
|
49679
50267
|
}
|
|
49680
50268
|
},
|
|
49681
|
-
{
|
|
49682
|
-
"kind": "field",
|
|
49683
|
-
"name": "cancelCloseDelay",
|
|
49684
|
-
"privacy": "private",
|
|
49685
|
-
"description": "Cancels the close delay timer.",
|
|
49686
|
-
"inheritedFrom": {
|
|
49687
|
-
"name": "Popover",
|
|
49688
|
-
"module": "components/popover/popover.component.js"
|
|
49689
|
-
}
|
|
49690
|
-
},
|
|
49691
|
-
{
|
|
49692
|
-
"kind": "field",
|
|
49693
|
-
"name": "cancelOpenDelay",
|
|
49694
|
-
"privacy": "private",
|
|
49695
|
-
"description": "Cancels the open delay timer.",
|
|
49696
|
-
"inheritedFrom": {
|
|
49697
|
-
"name": "Popover",
|
|
49698
|
-
"module": "components/popover/popover.component.js"
|
|
49699
|
-
}
|
|
49700
|
-
},
|
|
49701
50269
|
{
|
|
49702
50270
|
"kind": "field",
|
|
49703
50271
|
"name": "closeButton",
|
|
@@ -49904,14 +50472,27 @@
|
|
|
49904
50472
|
},
|
|
49905
50473
|
{
|
|
49906
50474
|
"kind": "method",
|
|
49907
|
-
"name": "
|
|
49908
|
-
"privacy": "private",
|
|
49909
|
-
"description": "Returns the deepest active element in the shadow DOM.",
|
|
50475
|
+
"name": "getActionForKeyEvent",
|
|
49910
50476
|
"return": {
|
|
49911
50477
|
"type": {
|
|
49912
|
-
"text": ""
|
|
50478
|
+
"text": "Actions | undefined"
|
|
49913
50479
|
}
|
|
49914
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
|
+
],
|
|
49915
50496
|
"inheritedFrom": {
|
|
49916
50497
|
"name": "Popover",
|
|
49917
50498
|
"module": "components/popover/popover.component.js"
|
|
@@ -49919,52 +50500,27 @@
|
|
|
49919
50500
|
},
|
|
49920
50501
|
{
|
|
49921
50502
|
"kind": "method",
|
|
49922
|
-
"name": "
|
|
50503
|
+
"name": "getDeepActiveElement",
|
|
49923
50504
|
"privacy": "private",
|
|
50505
|
+
"description": "Returns the deepest active element in the shadow DOM.",
|
|
49924
50506
|
"return": {
|
|
49925
50507
|
"type": {
|
|
49926
50508
|
"text": ""
|
|
49927
50509
|
}
|
|
49928
|
-
}
|
|
49929
|
-
},
|
|
49930
|
-
{
|
|
49931
|
-
"kind": "field",
|
|
49932
|
-
"name": "handleFocusIn",
|
|
49933
|
-
"privacy": "private",
|
|
49934
|
-
"description": "Handles focus in event on the trigger element.\nThis method checks if the trigger element has visible focus or is being hovered.",
|
|
49935
|
-
"inheritedFrom": {
|
|
49936
|
-
"name": "Popover",
|
|
49937
|
-
"module": "components/popover/popover.component.js"
|
|
49938
|
-
}
|
|
49939
|
-
},
|
|
49940
|
-
{
|
|
49941
|
-
"kind": "field",
|
|
49942
|
-
"name": "handleFocusOut",
|
|
49943
|
-
"privacy": "private",
|
|
49944
|
-
"description": "Handles focus out event on the trigger element.\nCloses based on hideOnBlur property or hover state.",
|
|
49945
|
-
"inheritedFrom": {
|
|
49946
|
-
"name": "Popover",
|
|
49947
|
-
"module": "components/popover/popover.component.js"
|
|
49948
|
-
}
|
|
49949
|
-
},
|
|
49950
|
-
{
|
|
49951
|
-
"kind": "field",
|
|
49952
|
-
"name": "handleMouseEnter",
|
|
49953
|
-
"privacy": "private",
|
|
49954
|
-
"description": "Handles mouse enter event on the trigger element.\nThis method sets the `isHovered` flag to true and shows the popover",
|
|
50510
|
+
},
|
|
49955
50511
|
"inheritedFrom": {
|
|
49956
50512
|
"name": "Popover",
|
|
49957
50513
|
"module": "components/popover/popover.component.js"
|
|
49958
50514
|
}
|
|
49959
50515
|
},
|
|
49960
50516
|
{
|
|
49961
|
-
"kind": "
|
|
49962
|
-
"name": "
|
|
50517
|
+
"kind": "method",
|
|
50518
|
+
"name": "getToggleTipText",
|
|
49963
50519
|
"privacy": "private",
|
|
49964
|
-
"
|
|
49965
|
-
|
|
49966
|
-
|
|
49967
|
-
|
|
50520
|
+
"return": {
|
|
50521
|
+
"type": {
|
|
50522
|
+
"text": ""
|
|
50523
|
+
}
|
|
49968
50524
|
}
|
|
49969
50525
|
},
|
|
49970
50526
|
{
|
|
@@ -50434,38 +50990,6 @@
|
|
|
50434
50990
|
"module": "components/popover/popover.component.js"
|
|
50435
50991
|
}
|
|
50436
50992
|
},
|
|
50437
|
-
{
|
|
50438
|
-
"kind": "field",
|
|
50439
|
-
"name": "onEscapeKeydown",
|
|
50440
|
-
"privacy": "private",
|
|
50441
|
-
"description": "Handles the escape keydown event to close the popover.\n\nThis method is attached to the document.",
|
|
50442
|
-
"parameters": [
|
|
50443
|
-
{
|
|
50444
|
-
"description": "The keyboard event.",
|
|
50445
|
-
"name": "event"
|
|
50446
|
-
}
|
|
50447
|
-
],
|
|
50448
|
-
"inheritedFrom": {
|
|
50449
|
-
"name": "Popover",
|
|
50450
|
-
"module": "components/popover/popover.component.js"
|
|
50451
|
-
}
|
|
50452
|
-
},
|
|
50453
|
-
{
|
|
50454
|
-
"kind": "field",
|
|
50455
|
-
"name": "onOutsidePopoverClick",
|
|
50456
|
-
"privacy": "protected",
|
|
50457
|
-
"description": "Handles the outside click event to close the popover.",
|
|
50458
|
-
"parameters": [
|
|
50459
|
-
{
|
|
50460
|
-
"description": "The mouse event.",
|
|
50461
|
-
"name": "event"
|
|
50462
|
-
}
|
|
50463
|
-
],
|
|
50464
|
-
"inheritedFrom": {
|
|
50465
|
-
"name": "Popover",
|
|
50466
|
-
"module": "components/popover/popover.component.js"
|
|
50467
|
-
}
|
|
50468
|
-
},
|
|
50469
50993
|
{
|
|
50470
50994
|
"kind": "method",
|
|
50471
50995
|
"name": "onPlacementUpdated",
|
|
@@ -50477,31 +51001,6 @@
|
|
|
50477
51001
|
},
|
|
50478
51002
|
"description": "Updates the placement attribute if it is not a valid placement.\nDefault placement for toggle tip is top."
|
|
50479
51003
|
},
|
|
50480
|
-
{
|
|
50481
|
-
"kind": "field",
|
|
50482
|
-
"name": "onPopoverFocusOut",
|
|
50483
|
-
"privacy": "private",
|
|
50484
|
-
"description": "Handles the popover focus out event.",
|
|
50485
|
-
"parameters": [
|
|
50486
|
-
{
|
|
50487
|
-
"description": "The focus event.",
|
|
50488
|
-
"name": "event"
|
|
50489
|
-
}
|
|
50490
|
-
],
|
|
50491
|
-
"inheritedFrom": {
|
|
50492
|
-
"name": "Popover",
|
|
50493
|
-
"module": "components/popover/popover.component.js"
|
|
50494
|
-
}
|
|
50495
|
-
},
|
|
50496
|
-
{
|
|
50497
|
-
"kind": "field",
|
|
50498
|
-
"name": "parseTrigger",
|
|
50499
|
-
"privacy": "private",
|
|
50500
|
-
"inheritedFrom": {
|
|
50501
|
-
"name": "Popover",
|
|
50502
|
-
"module": "components/popover/popover.component.js"
|
|
50503
|
-
}
|
|
50504
|
-
},
|
|
50505
51004
|
{
|
|
50506
51005
|
"kind": "field",
|
|
50507
51006
|
"name": "placement",
|
|
@@ -50517,16 +51016,6 @@
|
|
|
50517
51016
|
"module": "components/popover/popover.component.js"
|
|
50518
51017
|
}
|
|
50519
51018
|
},
|
|
50520
|
-
{
|
|
50521
|
-
"kind": "field",
|
|
50522
|
-
"name": "positionPopover",
|
|
50523
|
-
"privacy": "private",
|
|
50524
|
-
"description": "Positions the popover based on the trigger element.\nIt also handles the flip, size and arrow placement.\nIt uses the floating-ui/dom library to calculate the position.",
|
|
50525
|
-
"inheritedFrom": {
|
|
50526
|
-
"name": "Popover",
|
|
50527
|
-
"module": "components/popover/popover.component.js"
|
|
50528
|
-
}
|
|
50529
|
-
},
|
|
50530
51019
|
{
|
|
50531
51020
|
"kind": "field",
|
|
50532
51021
|
"name": "preventScroll",
|
|
@@ -50557,26 +51046,6 @@
|
|
|
50557
51046
|
"module": "components/popover/popover.component.js"
|
|
50558
51047
|
}
|
|
50559
51048
|
},
|
|
50560
|
-
{
|
|
50561
|
-
"kind": "field",
|
|
50562
|
-
"name": "removeAllListeners",
|
|
50563
|
-
"privacy": "private",
|
|
50564
|
-
"description": "Removes all event listeners related to the popover.",
|
|
50565
|
-
"inheritedFrom": {
|
|
50566
|
-
"name": "Popover",
|
|
50567
|
-
"module": "components/popover/popover.component.js"
|
|
50568
|
-
}
|
|
50569
|
-
},
|
|
50570
|
-
{
|
|
50571
|
-
"kind": "field",
|
|
50572
|
-
"name": "removeTriggerListeners",
|
|
50573
|
-
"privacy": "private",
|
|
50574
|
-
"description": "Removes the trigger related event listeners.",
|
|
50575
|
-
"inheritedFrom": {
|
|
50576
|
-
"name": "Popover",
|
|
50577
|
-
"module": "components/popover/popover.component.js"
|
|
50578
|
-
}
|
|
50579
|
-
},
|
|
50580
51049
|
{
|
|
50581
51050
|
"kind": "field",
|
|
50582
51051
|
"name": "role",
|
|
@@ -50649,16 +51118,6 @@
|
|
|
50649
51118
|
"module": "components/popover/popover.component.js"
|
|
50650
51119
|
}
|
|
50651
51120
|
},
|
|
50652
|
-
{
|
|
50653
|
-
"kind": "field",
|
|
50654
|
-
"name": "setupTriggerListeners",
|
|
50655
|
-
"privacy": "private",
|
|
50656
|
-
"description": "Sets up the trigger related event listeners, based on the trigger type.\nIncludes fallback for mouseenter trigger to also handle focusin for non-interactive popovers.\n\nWe are using capture phase for to make sure we capture trigger events even when they are not propagated during the\nbubble phase (e.g.: buttons in list item)",
|
|
50657
|
-
"inheritedFrom": {
|
|
50658
|
-
"name": "Popover",
|
|
50659
|
-
"module": "components/popover/popover.component.js"
|
|
50660
|
-
}
|
|
50661
|
-
},
|
|
50662
51121
|
{
|
|
50663
51122
|
"kind": "field",
|
|
50664
51123
|
"name": "shouldFocusTrapWrap",
|
|
@@ -50714,16 +51173,6 @@
|
|
|
50714
51173
|
"module": "components/popover/popover.component.js"
|
|
50715
51174
|
}
|
|
50716
51175
|
},
|
|
50717
|
-
{
|
|
50718
|
-
"kind": "field",
|
|
50719
|
-
"name": "startCloseDelay",
|
|
50720
|
-
"privacy": "private",
|
|
50721
|
-
"description": "Starts the close delay timer.\nIf the popover is not interactive, it will close the popover after the delay.",
|
|
50722
|
-
"inheritedFrom": {
|
|
50723
|
-
"name": "Popover",
|
|
50724
|
-
"module": "components/popover/popover.component.js"
|
|
50725
|
-
}
|
|
50726
|
-
},
|
|
50727
51176
|
{
|
|
50728
51177
|
"kind": "field",
|
|
50729
51178
|
"name": "strategy",
|
|
@@ -50739,16 +51188,6 @@
|
|
|
50739
51188
|
"module": "components/popover/popover.component.js"
|
|
50740
51189
|
}
|
|
50741
51190
|
},
|
|
50742
|
-
{
|
|
50743
|
-
"kind": "field",
|
|
50744
|
-
"name": "timers",
|
|
50745
|
-
"privacy": "private",
|
|
50746
|
-
"default": "new Timers(this)",
|
|
50747
|
-
"inheritedFrom": {
|
|
50748
|
-
"name": "Popover",
|
|
50749
|
-
"module": "components/popover/popover.component.js"
|
|
50750
|
-
}
|
|
50751
|
-
},
|
|
50752
51191
|
{
|
|
50753
51192
|
"kind": "field",
|
|
50754
51193
|
"name": "togglePopoverVisible",
|
|
@@ -50796,6 +51235,20 @@
|
|
|
50796
51235
|
"module": "components/popover/popover.component.js"
|
|
50797
51236
|
}
|
|
50798
51237
|
},
|
|
51238
|
+
{
|
|
51239
|
+
"kind": "field",
|
|
51240
|
+
"name": "triggerElement",
|
|
51241
|
+
"type": {
|
|
51242
|
+
"text": "HTMLElement | null"
|
|
51243
|
+
},
|
|
51244
|
+
"privacy": "public",
|
|
51245
|
+
"description": "Get trigger element on-demand\nIt is necessary because trigger might appear later in the DOM, or it could be replaced completely.",
|
|
51246
|
+
"readonly": true,
|
|
51247
|
+
"inheritedFrom": {
|
|
51248
|
+
"name": "Popover",
|
|
51249
|
+
"module": "components/popover/popover.component.js"
|
|
51250
|
+
}
|
|
51251
|
+
},
|
|
50799
51252
|
{
|
|
50800
51253
|
"kind": "field",
|
|
50801
51254
|
"name": "triggerID",
|
|
@@ -51017,7 +51470,7 @@
|
|
|
51017
51470
|
{
|
|
51018
51471
|
"name": "boundary-root",
|
|
51019
51472
|
"type": {
|
|
51020
|
-
"text": "
|
|
51473
|
+
"text": "PopoverBoundaryRoot"
|
|
51021
51474
|
},
|
|
51022
51475
|
"description": "This describes the root boundary that the element will be checked for overflow relative to.\nThe default is 'viewport', which is the area of the page the user can see on the screen.\n\nThe other string option is 'document', which is the entire page outside the viewport.",
|
|
51023
51476
|
"default": "'viewport'",
|
|
@@ -51698,7 +52151,7 @@
|
|
|
51698
52151
|
"kind": "field",
|
|
51699
52152
|
"name": "boundaryRoot",
|
|
51700
52153
|
"type": {
|
|
51701
|
-
"text": "
|
|
52154
|
+
"text": "PopoverBoundaryRoot"
|
|
51702
52155
|
},
|
|
51703
52156
|
"description": "This describes the root boundary that the element will be checked for overflow relative to.\nThe default is 'viewport', which is the area of the page the user can see on the screen.\n\nThe other string option is 'document', which is the entire page outside the viewport.",
|
|
51704
52157
|
"default": "'viewport'",
|
|
@@ -51740,26 +52193,6 @@
|
|
|
51740
52193
|
"module": "components/popover/popover.component.js"
|
|
51741
52194
|
}
|
|
51742
52195
|
},
|
|
51743
|
-
{
|
|
51744
|
-
"kind": "field",
|
|
51745
|
-
"name": "cancelCloseDelay",
|
|
51746
|
-
"privacy": "private",
|
|
51747
|
-
"description": "Cancels the close delay timer.",
|
|
51748
|
-
"inheritedFrom": {
|
|
51749
|
-
"name": "Popover",
|
|
51750
|
-
"module": "components/popover/popover.component.js"
|
|
51751
|
-
}
|
|
51752
|
-
},
|
|
51753
|
-
{
|
|
51754
|
-
"kind": "field",
|
|
51755
|
-
"name": "cancelOpenDelay",
|
|
51756
|
-
"privacy": "private",
|
|
51757
|
-
"description": "Cancels the open delay timer.",
|
|
51758
|
-
"inheritedFrom": {
|
|
51759
|
-
"name": "Popover",
|
|
51760
|
-
"module": "components/popover/popover.component.js"
|
|
51761
|
-
}
|
|
51762
|
-
},
|
|
51763
52196
|
{
|
|
51764
52197
|
"kind": "field",
|
|
51765
52198
|
"name": "closeButton",
|
|
@@ -51958,54 +52391,42 @@
|
|
|
51958
52391
|
},
|
|
51959
52392
|
{
|
|
51960
52393
|
"kind": "method",
|
|
51961
|
-
"name": "
|
|
51962
|
-
"privacy": "private",
|
|
51963
|
-
"description": "Returns the deepest active element in the shadow DOM.",
|
|
52394
|
+
"name": "getActionForKeyEvent",
|
|
51964
52395
|
"return": {
|
|
51965
52396
|
"type": {
|
|
51966
|
-
"text": ""
|
|
52397
|
+
"text": "Actions | undefined"
|
|
51967
52398
|
}
|
|
51968
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
|
+
],
|
|
51969
52415
|
"inheritedFrom": {
|
|
51970
52416
|
"name": "Popover",
|
|
51971
52417
|
"module": "components/popover/popover.component.js"
|
|
51972
52418
|
}
|
|
51973
52419
|
},
|
|
51974
52420
|
{
|
|
51975
|
-
"kind": "
|
|
51976
|
-
"name": "
|
|
51977
|
-
"privacy": "private",
|
|
51978
|
-
"description": "Handles focus in event on the trigger element.\nThis method checks if the trigger element has visible focus or is being hovered.",
|
|
51979
|
-
"inheritedFrom": {
|
|
51980
|
-
"name": "Popover",
|
|
51981
|
-
"module": "components/popover/popover.component.js"
|
|
51982
|
-
}
|
|
51983
|
-
},
|
|
51984
|
-
{
|
|
51985
|
-
"kind": "field",
|
|
51986
|
-
"name": "handleFocusOut",
|
|
51987
|
-
"privacy": "private",
|
|
51988
|
-
"description": "Handles focus out event on the trigger element.\nCloses based on hideOnBlur property or hover state.",
|
|
51989
|
-
"inheritedFrom": {
|
|
51990
|
-
"name": "Popover",
|
|
51991
|
-
"module": "components/popover/popover.component.js"
|
|
51992
|
-
}
|
|
51993
|
-
},
|
|
51994
|
-
{
|
|
51995
|
-
"kind": "field",
|
|
51996
|
-
"name": "handleMouseEnter",
|
|
51997
|
-
"privacy": "private",
|
|
51998
|
-
"description": "Handles mouse enter event on the trigger element.\nThis method sets the `isHovered` flag to true and shows the popover",
|
|
51999
|
-
"inheritedFrom": {
|
|
52000
|
-
"name": "Popover",
|
|
52001
|
-
"module": "components/popover/popover.component.js"
|
|
52002
|
-
}
|
|
52003
|
-
},
|
|
52004
|
-
{
|
|
52005
|
-
"kind": "field",
|
|
52006
|
-
"name": "handleMouseLeave",
|
|
52421
|
+
"kind": "method",
|
|
52422
|
+
"name": "getDeepActiveElement",
|
|
52007
52423
|
"privacy": "private",
|
|
52008
|
-
"description": "
|
|
52424
|
+
"description": "Returns the deepest active element in the shadow DOM.",
|
|
52425
|
+
"return": {
|
|
52426
|
+
"type": {
|
|
52427
|
+
"text": ""
|
|
52428
|
+
}
|
|
52429
|
+
},
|
|
52009
52430
|
"inheritedFrom": {
|
|
52010
52431
|
"name": "Popover",
|
|
52011
52432
|
"module": "components/popover/popover.component.js"
|
|
@@ -52478,22 +52899,6 @@
|
|
|
52478
52899
|
"module": "components/popover/popover.component.js"
|
|
52479
52900
|
}
|
|
52480
52901
|
},
|
|
52481
|
-
{
|
|
52482
|
-
"kind": "field",
|
|
52483
|
-
"name": "onEscapeKeydown",
|
|
52484
|
-
"privacy": "private",
|
|
52485
|
-
"description": "Handles the escape keydown event to close the popover.\n\nThis method is attached to the document.",
|
|
52486
|
-
"parameters": [
|
|
52487
|
-
{
|
|
52488
|
-
"description": "The keyboard event.",
|
|
52489
|
-
"name": "event"
|
|
52490
|
-
}
|
|
52491
|
-
],
|
|
52492
|
-
"inheritedFrom": {
|
|
52493
|
-
"name": "Popover",
|
|
52494
|
-
"module": "components/popover/popover.component.js"
|
|
52495
|
-
}
|
|
52496
|
-
},
|
|
52497
52902
|
{
|
|
52498
52903
|
"kind": "method",
|
|
52499
52904
|
"name": "onIdUpdated",
|
|
@@ -52505,22 +52910,6 @@
|
|
|
52505
52910
|
},
|
|
52506
52911
|
"description": "Updates the tooltip id if it is empty."
|
|
52507
52912
|
},
|
|
52508
|
-
{
|
|
52509
|
-
"kind": "field",
|
|
52510
|
-
"name": "onOutsidePopoverClick",
|
|
52511
|
-
"privacy": "protected",
|
|
52512
|
-
"description": "Handles the outside click event to close the popover.",
|
|
52513
|
-
"parameters": [
|
|
52514
|
-
{
|
|
52515
|
-
"description": "The mouse event.",
|
|
52516
|
-
"name": "event"
|
|
52517
|
-
}
|
|
52518
|
-
],
|
|
52519
|
-
"inheritedFrom": {
|
|
52520
|
-
"name": "Popover",
|
|
52521
|
-
"module": "components/popover/popover.component.js"
|
|
52522
|
-
}
|
|
52523
|
-
},
|
|
52524
52913
|
{
|
|
52525
52914
|
"kind": "method",
|
|
52526
52915
|
"name": "onPlacementUpdated",
|
|
@@ -52532,22 +52921,6 @@
|
|
|
52532
52921
|
},
|
|
52533
52922
|
"description": "Updates the placement attribute if it is not a valid placement.\nOverriding the default from Popover"
|
|
52534
52923
|
},
|
|
52535
|
-
{
|
|
52536
|
-
"kind": "field",
|
|
52537
|
-
"name": "onPopoverFocusOut",
|
|
52538
|
-
"privacy": "private",
|
|
52539
|
-
"description": "Handles the popover focus out event.",
|
|
52540
|
-
"parameters": [
|
|
52541
|
-
{
|
|
52542
|
-
"description": "The focus event.",
|
|
52543
|
-
"name": "event"
|
|
52544
|
-
}
|
|
52545
|
-
],
|
|
52546
|
-
"inheritedFrom": {
|
|
52547
|
-
"name": "Popover",
|
|
52548
|
-
"module": "components/popover/popover.component.js"
|
|
52549
|
-
}
|
|
52550
|
-
},
|
|
52551
52924
|
{
|
|
52552
52925
|
"kind": "method",
|
|
52553
52926
|
"name": "onTooltipTypeUpdated",
|
|
@@ -52568,15 +52941,6 @@
|
|
|
52568
52941
|
],
|
|
52569
52942
|
"description": "Updates the tooltip type attribute and sets the appropriate aria props on the trigger component."
|
|
52570
52943
|
},
|
|
52571
|
-
{
|
|
52572
|
-
"kind": "field",
|
|
52573
|
-
"name": "parseTrigger",
|
|
52574
|
-
"privacy": "private",
|
|
52575
|
-
"inheritedFrom": {
|
|
52576
|
-
"name": "Popover",
|
|
52577
|
-
"module": "components/popover/popover.component.js"
|
|
52578
|
-
}
|
|
52579
|
-
},
|
|
52580
52944
|
{
|
|
52581
52945
|
"kind": "field",
|
|
52582
52946
|
"name": "placement",
|
|
@@ -52592,16 +52956,6 @@
|
|
|
52592
52956
|
"module": "components/popover/popover.component.js"
|
|
52593
52957
|
}
|
|
52594
52958
|
},
|
|
52595
|
-
{
|
|
52596
|
-
"kind": "field",
|
|
52597
|
-
"name": "positionPopover",
|
|
52598
|
-
"privacy": "private",
|
|
52599
|
-
"description": "Positions the popover based on the trigger element.\nIt also handles the flip, size and arrow placement.\nIt uses the floating-ui/dom library to calculate the position.",
|
|
52600
|
-
"inheritedFrom": {
|
|
52601
|
-
"name": "Popover",
|
|
52602
|
-
"module": "components/popover/popover.component.js"
|
|
52603
|
-
}
|
|
52604
|
-
},
|
|
52605
52959
|
{
|
|
52606
52960
|
"kind": "field",
|
|
52607
52961
|
"name": "preventScroll",
|
|
@@ -52632,26 +52986,6 @@
|
|
|
52632
52986
|
"module": "components/popover/popover.component.js"
|
|
52633
52987
|
}
|
|
52634
52988
|
},
|
|
52635
|
-
{
|
|
52636
|
-
"kind": "field",
|
|
52637
|
-
"name": "removeAllListeners",
|
|
52638
|
-
"privacy": "private",
|
|
52639
|
-
"description": "Removes all event listeners related to the popover.",
|
|
52640
|
-
"inheritedFrom": {
|
|
52641
|
-
"name": "Popover",
|
|
52642
|
-
"module": "components/popover/popover.component.js"
|
|
52643
|
-
}
|
|
52644
|
-
},
|
|
52645
|
-
{
|
|
52646
|
-
"kind": "field",
|
|
52647
|
-
"name": "removeTriggerListeners",
|
|
52648
|
-
"privacy": "private",
|
|
52649
|
-
"description": "Removes the trigger related event listeners.",
|
|
52650
|
-
"inheritedFrom": {
|
|
52651
|
-
"name": "Popover",
|
|
52652
|
-
"module": "components/popover/popover.component.js"
|
|
52653
|
-
}
|
|
52654
|
-
},
|
|
52655
52989
|
{
|
|
52656
52990
|
"kind": "field",
|
|
52657
52991
|
"name": "role",
|
|
@@ -52734,16 +53068,6 @@
|
|
|
52734
53068
|
],
|
|
52735
53069
|
"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."
|
|
52736
53070
|
},
|
|
52737
|
-
{
|
|
52738
|
-
"kind": "field",
|
|
52739
|
-
"name": "setupTriggerListeners",
|
|
52740
|
-
"privacy": "private",
|
|
52741
|
-
"description": "Sets up the trigger related event listeners, based on the trigger type.\nIncludes fallback for mouseenter trigger to also handle focusin for non-interactive popovers.\n\nWe are using capture phase for to make sure we capture trigger events even when they are not propagated during the\nbubble phase (e.g.: buttons in list item)",
|
|
52742
|
-
"inheritedFrom": {
|
|
52743
|
-
"name": "Popover",
|
|
52744
|
-
"module": "components/popover/popover.component.js"
|
|
52745
|
-
}
|
|
52746
|
-
},
|
|
52747
53071
|
{
|
|
52748
53072
|
"kind": "field",
|
|
52749
53073
|
"name": "shouldFocusTrapWrap",
|
|
@@ -52799,16 +53123,6 @@
|
|
|
52799
53123
|
"module": "components/popover/popover.component.js"
|
|
52800
53124
|
}
|
|
52801
53125
|
},
|
|
52802
|
-
{
|
|
52803
|
-
"kind": "field",
|
|
52804
|
-
"name": "startCloseDelay",
|
|
52805
|
-
"privacy": "private",
|
|
52806
|
-
"description": "Starts the close delay timer.\nIf the popover is not interactive, it will close the popover after the delay.",
|
|
52807
|
-
"inheritedFrom": {
|
|
52808
|
-
"name": "Popover",
|
|
52809
|
-
"module": "components/popover/popover.component.js"
|
|
52810
|
-
}
|
|
52811
|
-
},
|
|
52812
53126
|
{
|
|
52813
53127
|
"kind": "field",
|
|
52814
53128
|
"name": "strategy",
|
|
@@ -52824,16 +53138,6 @@
|
|
|
52824
53138
|
"module": "components/popover/popover.component.js"
|
|
52825
53139
|
}
|
|
52826
53140
|
},
|
|
52827
|
-
{
|
|
52828
|
-
"kind": "field",
|
|
52829
|
-
"name": "timers",
|
|
52830
|
-
"privacy": "private",
|
|
52831
|
-
"default": "new Timers(this)",
|
|
52832
|
-
"inheritedFrom": {
|
|
52833
|
-
"name": "Popover",
|
|
52834
|
-
"module": "components/popover/popover.component.js"
|
|
52835
|
-
}
|
|
52836
|
-
},
|
|
52837
53141
|
{
|
|
52838
53142
|
"kind": "field",
|
|
52839
53143
|
"name": "togglePopoverVisible",
|
|
@@ -52892,6 +53196,20 @@
|
|
|
52892
53196
|
"module": "components/popover/popover.component.js"
|
|
52893
53197
|
}
|
|
52894
53198
|
},
|
|
53199
|
+
{
|
|
53200
|
+
"kind": "field",
|
|
53201
|
+
"name": "triggerElement",
|
|
53202
|
+
"type": {
|
|
53203
|
+
"text": "HTMLElement | null"
|
|
53204
|
+
},
|
|
53205
|
+
"privacy": "public",
|
|
53206
|
+
"description": "Get trigger element on-demand\nIt is necessary because trigger might appear later in the DOM, or it could be replaced completely.",
|
|
53207
|
+
"readonly": true,
|
|
53208
|
+
"inheritedFrom": {
|
|
53209
|
+
"name": "Popover",
|
|
53210
|
+
"module": "components/popover/popover.component.js"
|
|
53211
|
+
}
|
|
53212
|
+
},
|
|
52895
53213
|
{
|
|
52896
53214
|
"kind": "field",
|
|
52897
53215
|
"name": "triggerID",
|
|
@@ -53114,7 +53432,7 @@
|
|
|
53114
53432
|
{
|
|
53115
53433
|
"name": "boundary-root",
|
|
53116
53434
|
"type": {
|
|
53117
|
-
"text": "
|
|
53435
|
+
"text": "PopoverBoundaryRoot"
|
|
53118
53436
|
},
|
|
53119
53437
|
"description": "This describes the root boundary that the element will be checked for overflow relative to.\nThe default is 'viewport', which is the area of the page the user can see on the screen.\n\nThe other string option is 'document', which is the entire page outside the viewport.",
|
|
53120
53438
|
"default": "'viewport'",
|
|
@@ -53959,6 +54277,34 @@
|
|
|
53959
54277
|
"name": "emitChangeEvent",
|
|
53960
54278
|
"privacy": "private"
|
|
53961
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
|
+
},
|
|
53962
54308
|
{
|
|
53963
54309
|
"kind": "method",
|
|
53964
54310
|
"name": "getCurrentIndex",
|
|
@@ -54165,37 +54511,6 @@
|
|
|
54165
54511
|
"module": "components/list/list.component.js"
|
|
54166
54512
|
}
|
|
54167
54513
|
},
|
|
54168
|
-
{
|
|
54169
|
-
"kind": "method",
|
|
54170
|
-
"name": "resolveDirectionKey",
|
|
54171
|
-
"privacy": "private",
|
|
54172
|
-
"parameters": [
|
|
54173
|
-
{
|
|
54174
|
-
"name": "key",
|
|
54175
|
-
"type": {
|
|
54176
|
-
"text": "string"
|
|
54177
|
-
},
|
|
54178
|
-
"description": "The key pressed by the user."
|
|
54179
|
-
},
|
|
54180
|
-
{
|
|
54181
|
-
"name": "isRtl",
|
|
54182
|
-
"type": {
|
|
54183
|
-
"text": "boolean"
|
|
54184
|
-
},
|
|
54185
|
-
"description": "A boolean indicating if the layout is right-to-left (RTL)."
|
|
54186
|
-
}
|
|
54187
|
-
],
|
|
54188
|
-
"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.",
|
|
54189
|
-
"return": {
|
|
54190
|
-
"type": {
|
|
54191
|
-
"text": ""
|
|
54192
|
-
}
|
|
54193
|
-
},
|
|
54194
|
-
"inheritedFrom": {
|
|
54195
|
-
"name": "List",
|
|
54196
|
-
"module": "components/list/list.component.js"
|
|
54197
|
-
}
|
|
54198
|
-
},
|
|
54199
54514
|
{
|
|
54200
54515
|
"kind": "field",
|
|
54201
54516
|
"name": "revertList",
|
|
@@ -54404,6 +54719,10 @@
|
|
|
54404
54719
|
}
|
|
54405
54720
|
],
|
|
54406
54721
|
"mixins": [
|
|
54722
|
+
{
|
|
54723
|
+
"name": "KeyToActionMixin",
|
|
54724
|
+
"module": "/src/utils/mixins/KeyToActionMixin"
|
|
54725
|
+
},
|
|
54407
54726
|
{
|
|
54408
54727
|
"name": "DataAriaLabelMixin",
|
|
54409
54728
|
"module": "/src/utils/mixins/DataAriaLabelMixin"
|
|
@@ -56545,6 +56864,77 @@
|
|
|
56545
56864
|
"declarations": [],
|
|
56546
56865
|
"exports": []
|
|
56547
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
|
+
},
|
|
56548
56938
|
{
|
|
56549
56939
|
"kind": "javascript-module",
|
|
56550
56940
|
"path": "utils/mixins/ListNavigationMixin.js",
|
|
@@ -56554,6 +56944,34 @@
|
|
|
56554
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).",
|
|
56555
56945
|
"name": "ListNavigationMixin",
|
|
56556
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
|
+
},
|
|
56557
56975
|
{
|
|
56558
56976
|
"kind": "method",
|
|
56559
56977
|
"name": "getCurrentIndex",
|
|
@@ -56631,33 +57049,6 @@
|
|
|
56631
57049
|
],
|
|
56632
57050
|
"description": "Reset all tabindex to -1 and set the tabindex of the current item to 0"
|
|
56633
57051
|
},
|
|
56634
|
-
{
|
|
56635
|
-
"kind": "method",
|
|
56636
|
-
"name": "resolveDirectionKey",
|
|
56637
|
-
"privacy": "private",
|
|
56638
|
-
"parameters": [
|
|
56639
|
-
{
|
|
56640
|
-
"name": "key",
|
|
56641
|
-
"type": {
|
|
56642
|
-
"text": "string"
|
|
56643
|
-
},
|
|
56644
|
-
"description": "The key pressed by the user."
|
|
56645
|
-
},
|
|
56646
|
-
{
|
|
56647
|
-
"name": "isRtl",
|
|
56648
|
-
"type": {
|
|
56649
|
-
"text": "boolean"
|
|
56650
|
-
},
|
|
56651
|
-
"description": "A boolean indicating if the layout is right-to-left (RTL)."
|
|
56652
|
-
}
|
|
56653
|
-
],
|
|
56654
|
-
"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.",
|
|
56655
|
-
"return": {
|
|
56656
|
-
"type": {
|
|
56657
|
-
"text": ""
|
|
56658
|
-
}
|
|
56659
|
-
}
|
|
56660
|
-
},
|
|
56661
57052
|
{
|
|
56662
57053
|
"kind": "method",
|
|
56663
57054
|
"name": "setInitialFocus",
|
|
@@ -56669,6 +57060,12 @@
|
|
|
56669
57060
|
"privacy": "private"
|
|
56670
57061
|
}
|
|
56671
57062
|
],
|
|
57063
|
+
"mixins": [
|
|
57064
|
+
{
|
|
57065
|
+
"name": "KeyToActionMixin",
|
|
57066
|
+
"module": "/src/utils/mixins/KeyToActionMixin"
|
|
57067
|
+
}
|
|
57068
|
+
],
|
|
56672
57069
|
"parameters": [
|
|
56673
57070
|
{
|
|
56674
57071
|
"name": "superClass",
|