@aurodesignsystem-dev/auro-formkit 0.0.0-pr1483.3 → 0.0.0-pr1483.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/components/checkbox/demo/customize.min.js +1 -1
  2. package/components/checkbox/demo/getting-started.min.js +1 -1
  3. package/components/checkbox/demo/index.min.js +1 -1
  4. package/components/checkbox/dist/index.js +1 -1
  5. package/components/checkbox/dist/registered.js +1 -1
  6. package/components/combobox/demo/customize.min.js +5 -5
  7. package/components/combobox/demo/getting-started.min.js +5 -5
  8. package/components/combobox/demo/index.min.js +5 -5
  9. package/components/combobox/demo/keyboard-behavior.md +68 -8
  10. package/components/combobox/dist/index.js +5 -5
  11. package/components/combobox/dist/registered.js +5 -5
  12. package/components/counter/demo/customize.min.js +2 -2
  13. package/components/counter/demo/index.min.js +2 -2
  14. package/components/counter/dist/index.js +1 -1
  15. package/components/counter/dist/registered.js +1 -1
  16. package/components/datepicker/demo/index.min.js +6 -8
  17. package/components/datepicker/dist/index.js +6 -8
  18. package/components/datepicker/dist/registered.js +6 -8
  19. package/components/dropdown/demo/customize.min.js +1 -1
  20. package/components/dropdown/demo/getting-started.min.js +1 -1
  21. package/components/dropdown/demo/index.min.js +1 -1
  22. package/components/dropdown/dist/index.js +1 -1
  23. package/components/dropdown/dist/registered.js +1 -1
  24. package/components/form/demo/customize.min.js +36 -36
  25. package/components/form/demo/getting-started.min.js +36 -36
  26. package/components/form/demo/index.min.js +36 -36
  27. package/components/form/demo/registerDemoDeps.min.js +36 -36
  28. package/components/input/demo/customize.min.js +1 -1
  29. package/components/input/demo/getting-started.min.js +1 -1
  30. package/components/input/demo/index.min.js +1 -1
  31. package/components/input/dist/index.js +1 -1
  32. package/components/input/dist/registered.js +1 -1
  33. package/components/radio/demo/index.min.js +1 -1
  34. package/components/radio/dist/index.js +1 -1
  35. package/components/radio/dist/registered.js +1 -1
  36. package/components/select/demo/customize.min.js +20 -18
  37. package/components/select/demo/getting-started.min.js +20 -18
  38. package/components/select/demo/index.min.js +20 -18
  39. package/components/select/demo/keyboard-behavior.md +54 -8
  40. package/components/select/dist/index.js +20 -18
  41. package/components/select/dist/registered.js +20 -18
  42. package/custom-elements.json +246 -246
  43. package/package.json +3 -3
@@ -2,250 +2,6 @@
2
2
  "schemaVersion": "1.0.0",
3
3
  "readme": "",
4
4
  "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "components/bibtemplate/src/auro-bibtemplate.js",
8
- "declarations": [
9
- {
10
- "kind": "class",
11
- "description": "The `auro-bibtemplate` element provides users a template for creating modal dialog elements.",
12
- "name": "AuroBibtemplate",
13
- "slots": [
14
- {
15
- "description": "The default slot for the main content.",
16
- "name": "default"
17
- },
18
- {
19
- "description": "Slot for the header content.",
20
- "name": "header"
21
- },
22
- {
23
- "description": "Slot for the subheader content.",
24
- "name": "subheader"
25
- },
26
- {
27
- "description": "Slot for the footer content.",
28
- "name": "footer"
29
- },
30
- {
31
- "description": "Slot for the close button aria-label.",
32
- "name": "ariaLabel.close"
33
- }
34
- ],
35
- "members": [
36
- {
37
- "kind": "method",
38
- "name": "register",
39
- "static": true,
40
- "parameters": [
41
- {
42
- "name": "name",
43
- "default": "\"auro-bibtemplate\"",
44
- "description": "The name of element that you want to register to.",
45
- "optional": true,
46
- "type": {
47
- "text": "string"
48
- }
49
- }
50
- ],
51
- "description": "This will register this element with the browser."
52
- },
53
- {
54
- "kind": "method",
55
- "name": "preventBodyScroll",
56
- "parameters": [
57
- {
58
- "name": "event",
59
- "description": "The touchmove event.",
60
- "type": {
61
- "text": "Event"
62
- }
63
- }
64
- ],
65
- "description": "Prevents scrolling of the body when touching empty areas of the component.",
66
- "return": {
67
- "type": {
68
- "text": "void"
69
- }
70
- }
71
- },
72
- {
73
- "kind": "method",
74
- "name": "focusCloseButton",
75
- "description": "Focuses the close button inside the bibtemplate's shadow DOM.\nUsed by parent components to set initial focus when the fullscreen dialog opens.",
76
- "return": {
77
- "type": {
78
- "text": "void"
79
- }
80
- }
81
- },
82
- {
83
- "kind": "method",
84
- "name": "onCloseButtonClick"
85
- },
86
- {
87
- "kind": "method",
88
- "name": "exposeCssParts",
89
- "description": "Exposes CSS parts for styling from parent components.",
90
- "return": {
91
- "type": {
92
- "text": "void"
93
- }
94
- }
95
- },
96
- {
97
- "kind": "field",
98
- "name": "large",
99
- "privacy": "public",
100
- "type": {
101
- "text": "boolean"
102
- },
103
- "default": "false",
104
- "attribute": "large",
105
- "reflects": true
106
- },
107
- {
108
- "kind": "field",
109
- "name": "iconTag",
110
- "privacy": "private"
111
- },
112
- {
113
- "kind": "field",
114
- "name": "headerTag",
115
- "privacy": "private"
116
- },
117
- {
118
- "kind": "field",
119
- "name": "buttonTag",
120
- "privacy": "private"
121
- },
122
- {
123
- "kind": "field",
124
- "name": "isFullscreen",
125
- "privacy": "public",
126
- "type": {
127
- "text": "boolean"
128
- },
129
- "attribute": "isFullscreen",
130
- "reflects": true
131
- }
132
- ],
133
- "events": [
134
- {
135
- "name": "close-click",
136
- "type": {
137
- "text": "Event"
138
- }
139
- },
140
- {
141
- "name": "auro-bibtemplate-connected",
142
- "type": {
143
- "text": "CustomEvent"
144
- }
145
- }
146
- ],
147
- "attributes": [
148
- {
149
- "name": "isFullscreen",
150
- "type": {
151
- "text": "boolean"
152
- },
153
- "fieldName": "isFullscreen"
154
- },
155
- {
156
- "name": "large",
157
- "type": {
158
- "text": "boolean"
159
- },
160
- "default": "false",
161
- "fieldName": "large"
162
- }
163
- ],
164
- "superclass": {
165
- "name": "LitElement",
166
- "package": "lit"
167
- },
168
- "tagName": "auro-bibtemplate",
169
- "customElement": true
170
- }
171
- ],
172
- "exports": [
173
- {
174
- "kind": "js",
175
- "name": "AuroBibtemplate",
176
- "declaration": {
177
- "name": "AuroBibtemplate",
178
- "module": "components/bibtemplate/src/auro-bibtemplate.js"
179
- }
180
- }
181
- ]
182
- },
183
- {
184
- "kind": "javascript-module",
185
- "path": "components/bibtemplate/src/buttonVersion.js",
186
- "declarations": [],
187
- "exports": [
188
- {
189
- "kind": "js",
190
- "name": "default",
191
- "declaration": {
192
- "name": "12.3.2",
193
- "module": "components/bibtemplate/src/buttonVersion.js"
194
- }
195
- }
196
- ]
197
- },
198
- {
199
- "kind": "javascript-module",
200
- "path": "components/bibtemplate/src/headerVersion.js",
201
- "declarations": [],
202
- "exports": [
203
- {
204
- "kind": "js",
205
- "name": "default",
206
- "declaration": {
207
- "name": "5.0.1",
208
- "module": "components/bibtemplate/src/headerVersion.js"
209
- }
210
- }
211
- ]
212
- },
213
- {
214
- "kind": "javascript-module",
215
- "path": "components/bibtemplate/src/iconVersion.js",
216
- "declarations": [],
217
- "exports": [
218
- {
219
- "kind": "js",
220
- "name": "default",
221
- "declaration": {
222
- "name": "9.2.0",
223
- "module": "components/bibtemplate/src/iconVersion.js"
224
- }
225
- }
226
- ]
227
- },
228
- {
229
- "kind": "javascript-module",
230
- "path": "components/bibtemplate/src/index.js",
231
- "declarations": [],
232
- "exports": [
233
- {
234
- "kind": "js",
235
- "name": "AuroBibtemplate",
236
- "declaration": {
237
- "name": "AuroBibtemplate",
238
- "module": "components/bibtemplate/src/index.js"
239
- }
240
- }
241
- ]
242
- },
243
- {
244
- "kind": "javascript-module",
245
- "path": "components/bibtemplate/src/registered.js",
246
- "declarations": [],
247
- "exports": []
248
- },
249
5
  {
250
6
  "kind": "javascript-module",
251
7
  "path": "components/checkbox/src/auro-checkbox-group.js",
@@ -1089,6 +845,250 @@
1089
845
  "declarations": [],
1090
846
  "exports": []
1091
847
  },
848
+ {
849
+ "kind": "javascript-module",
850
+ "path": "components/bibtemplate/src/auro-bibtemplate.js",
851
+ "declarations": [
852
+ {
853
+ "kind": "class",
854
+ "description": "The `auro-bibtemplate` element provides users a template for creating modal dialog elements.",
855
+ "name": "AuroBibtemplate",
856
+ "slots": [
857
+ {
858
+ "description": "The default slot for the main content.",
859
+ "name": "default"
860
+ },
861
+ {
862
+ "description": "Slot for the header content.",
863
+ "name": "header"
864
+ },
865
+ {
866
+ "description": "Slot for the subheader content.",
867
+ "name": "subheader"
868
+ },
869
+ {
870
+ "description": "Slot for the footer content.",
871
+ "name": "footer"
872
+ },
873
+ {
874
+ "description": "Slot for the close button aria-label.",
875
+ "name": "ariaLabel.close"
876
+ }
877
+ ],
878
+ "members": [
879
+ {
880
+ "kind": "method",
881
+ "name": "register",
882
+ "static": true,
883
+ "parameters": [
884
+ {
885
+ "name": "name",
886
+ "default": "\"auro-bibtemplate\"",
887
+ "description": "The name of element that you want to register to.",
888
+ "optional": true,
889
+ "type": {
890
+ "text": "string"
891
+ }
892
+ }
893
+ ],
894
+ "description": "This will register this element with the browser."
895
+ },
896
+ {
897
+ "kind": "method",
898
+ "name": "preventBodyScroll",
899
+ "parameters": [
900
+ {
901
+ "name": "event",
902
+ "description": "The touchmove event.",
903
+ "type": {
904
+ "text": "Event"
905
+ }
906
+ }
907
+ ],
908
+ "description": "Prevents scrolling of the body when touching empty areas of the component.",
909
+ "return": {
910
+ "type": {
911
+ "text": "void"
912
+ }
913
+ }
914
+ },
915
+ {
916
+ "kind": "method",
917
+ "name": "focusCloseButton",
918
+ "description": "Focuses the close button inside the bibtemplate's shadow DOM.\nUsed by parent components to set initial focus when the fullscreen dialog opens.",
919
+ "return": {
920
+ "type": {
921
+ "text": "void"
922
+ }
923
+ }
924
+ },
925
+ {
926
+ "kind": "method",
927
+ "name": "onCloseButtonClick"
928
+ },
929
+ {
930
+ "kind": "method",
931
+ "name": "exposeCssParts",
932
+ "description": "Exposes CSS parts for styling from parent components.",
933
+ "return": {
934
+ "type": {
935
+ "text": "void"
936
+ }
937
+ }
938
+ },
939
+ {
940
+ "kind": "field",
941
+ "name": "large",
942
+ "privacy": "public",
943
+ "type": {
944
+ "text": "boolean"
945
+ },
946
+ "default": "false",
947
+ "attribute": "large",
948
+ "reflects": true
949
+ },
950
+ {
951
+ "kind": "field",
952
+ "name": "iconTag",
953
+ "privacy": "private"
954
+ },
955
+ {
956
+ "kind": "field",
957
+ "name": "headerTag",
958
+ "privacy": "private"
959
+ },
960
+ {
961
+ "kind": "field",
962
+ "name": "buttonTag",
963
+ "privacy": "private"
964
+ },
965
+ {
966
+ "kind": "field",
967
+ "name": "isFullscreen",
968
+ "privacy": "public",
969
+ "type": {
970
+ "text": "boolean"
971
+ },
972
+ "attribute": "isFullscreen",
973
+ "reflects": true
974
+ }
975
+ ],
976
+ "events": [
977
+ {
978
+ "name": "close-click",
979
+ "type": {
980
+ "text": "Event"
981
+ }
982
+ },
983
+ {
984
+ "name": "auro-bibtemplate-connected",
985
+ "type": {
986
+ "text": "CustomEvent"
987
+ }
988
+ }
989
+ ],
990
+ "attributes": [
991
+ {
992
+ "name": "isFullscreen",
993
+ "type": {
994
+ "text": "boolean"
995
+ },
996
+ "fieldName": "isFullscreen"
997
+ },
998
+ {
999
+ "name": "large",
1000
+ "type": {
1001
+ "text": "boolean"
1002
+ },
1003
+ "default": "false",
1004
+ "fieldName": "large"
1005
+ }
1006
+ ],
1007
+ "superclass": {
1008
+ "name": "LitElement",
1009
+ "package": "lit"
1010
+ },
1011
+ "tagName": "auro-bibtemplate",
1012
+ "customElement": true
1013
+ }
1014
+ ],
1015
+ "exports": [
1016
+ {
1017
+ "kind": "js",
1018
+ "name": "AuroBibtemplate",
1019
+ "declaration": {
1020
+ "name": "AuroBibtemplate",
1021
+ "module": "components/bibtemplate/src/auro-bibtemplate.js"
1022
+ }
1023
+ }
1024
+ ]
1025
+ },
1026
+ {
1027
+ "kind": "javascript-module",
1028
+ "path": "components/bibtemplate/src/buttonVersion.js",
1029
+ "declarations": [],
1030
+ "exports": [
1031
+ {
1032
+ "kind": "js",
1033
+ "name": "default",
1034
+ "declaration": {
1035
+ "name": "12.3.2",
1036
+ "module": "components/bibtemplate/src/buttonVersion.js"
1037
+ }
1038
+ }
1039
+ ]
1040
+ },
1041
+ {
1042
+ "kind": "javascript-module",
1043
+ "path": "components/bibtemplate/src/headerVersion.js",
1044
+ "declarations": [],
1045
+ "exports": [
1046
+ {
1047
+ "kind": "js",
1048
+ "name": "default",
1049
+ "declaration": {
1050
+ "name": "5.0.1",
1051
+ "module": "components/bibtemplate/src/headerVersion.js"
1052
+ }
1053
+ }
1054
+ ]
1055
+ },
1056
+ {
1057
+ "kind": "javascript-module",
1058
+ "path": "components/bibtemplate/src/iconVersion.js",
1059
+ "declarations": [],
1060
+ "exports": [
1061
+ {
1062
+ "kind": "js",
1063
+ "name": "default",
1064
+ "declaration": {
1065
+ "name": "9.2.0",
1066
+ "module": "components/bibtemplate/src/iconVersion.js"
1067
+ }
1068
+ }
1069
+ ]
1070
+ },
1071
+ {
1072
+ "kind": "javascript-module",
1073
+ "path": "components/bibtemplate/src/index.js",
1074
+ "declarations": [],
1075
+ "exports": [
1076
+ {
1077
+ "kind": "js",
1078
+ "name": "AuroBibtemplate",
1079
+ "declaration": {
1080
+ "name": "AuroBibtemplate",
1081
+ "module": "components/bibtemplate/src/index.js"
1082
+ }
1083
+ }
1084
+ ]
1085
+ },
1086
+ {
1087
+ "kind": "javascript-module",
1088
+ "path": "components/bibtemplate/src/registered.js",
1089
+ "declarations": [],
1090
+ "exports": []
1091
+ },
1092
1092
  {
1093
1093
  "kind": "javascript-module",
1094
1094
  "path": "components/combobox/src/auro-combobox.js",
@@ -2435,7 +2435,7 @@
2435
2435
  "type": {
2436
2436
  "text": "object"
2437
2437
  },
2438
- "default": "{ ArrowDown(component, evt, ctx) { // If the clear button has focus, let the browser handle ArrowDown normally. if (isClearBtnFocused(ctx)) { return; } // option display and navigation are prevented if there are no available options if (component.availableOptions.length > 0) { evt.preventDefault(); // navigate if bib is open otherwise open it if (component.dropdown.isPopoverVisible) { if (evt.altKey || evt.metaKey) { component.activateLastEnabledAvailableOption(); } else { navigateArrow(component, 'down'); } } else { component.showBib(); } } }, ArrowUp(component, evt, ctx) { // If the clear button has focus, let the browser handle ArrowUp normally. if (isClearBtnFocused(ctx)) { return; } // option display and navigation are prevented if there are no available options if (component.availableOptions.length > 0) { evt.preventDefault(); // navigate if bib is open otherwise open it if (component.dropdown.isPopoverVisible) { if (evt.altKey || evt.metaKey) { component.activateFirstEnabledAvailableOption(); } else { navigateArrow(component, 'up'); } } else { component.showBib(); } } }, End(component, evt, ctx) { if (ctx.isExpanded) { evt.preventDefault(); evt.stopPropagation(); component.activateLastEnabledAvailableOption(); } }, Enter(component, evt, ctx) { if (isClearBtnFocused(ctx)) { // If the clear button has focus, let the browser activate it normally. // stopPropagation prevents parent containers (e.g., forms) from treating // Enter as a submit, but we must NOT call preventDefault — that would // block the browser's built-in \"Enter activates focused button\" behavior. evt.stopPropagation(); } else if (ctx.isExpanded && component.menu.optionActive) { component.menu.makeSelection(); if (ctx.isModal) { component.setTriggerInputFocus(); } evt.preventDefault(); evt.stopPropagation(); } else { // Prevent the keypress from bubbling to parent containers (e.g., forms) // which could interpret Enter as a submit or trigger other unintended behavior. // This is safe because showBib() opens the dialog programmatically, // not via event propagation. evt.preventDefault(); evt.stopPropagation(); component.showBib(); } }, Escape(component, evt, ctx) { if (!ctx.isExpanded) { return; } // Prevent the Escape key from bubbling up and closing any parent dialogs / drawers / popups evt.stopPropagation(); if (ctx.isModal) { component.setTriggerInputFocus(); } component.hideBib(); }, Home(component, evt, ctx) { if (ctx.isExpanded) { evt.preventDefault(); evt.stopPropagation(); component.activateFirstEnabledAvailableOption(); } }, Tab(component, evt, ctx) { if (ctx.isExpanded && !isClearBtnFocused(ctx)) { // When the clear button is focused, Tab events do not bubble out of // its shadow DOM, so this handler only fires when the clear button // is NOT focused. In that case, select the active option and close. component.menu.makeSelection(); component.hideBib(); // In fullscreen modal mode, closing the dialog does not // automatically restores focus to the input. In the tab case, // Explicitly move focus to the trigger's clear button so the // user can continues tabbing through the page normally. if (ctx.isModal && !evt.shiftKey) { component.setClearBtnFocus(); } } }, }"
2438
+ "default": "{ ArrowDown(component, evt, ctx) { // If the clear button has focus, let the browser handle ArrowDown normally. if (isClearBtnFocused(ctx)) { return; } // option display and navigation are prevented if there are no available options if (component.availableOptions.length > 0) { evt.preventDefault(); // navigate if bib is open otherwise open it if (component.dropdown.isPopoverVisible) { if (evt.altKey || evt.ctrlKey || evt.metaKey) { component.activateLastEnabledAvailableOption(); } else { navigateArrow(component, 'down'); } } else { component.showBib(); } } }, ArrowUp(component, evt, ctx) { // If the clear button has focus, let the browser handle ArrowUp normally. if (isClearBtnFocused(ctx)) { return; } // option display and navigation are prevented if there are no available options if (component.availableOptions.length > 0) { evt.preventDefault(); // navigate if bib is open otherwise open it if (component.dropdown.isPopoverVisible) { if (evt.altKey || evt.ctrlKey || evt.metaKey) { component.activateFirstEnabledAvailableOption(); } else { navigateArrow(component, 'up'); } } else { component.showBib(); } } }, End(component, evt, ctx) { if (ctx.isExpanded) { evt.preventDefault(); evt.stopPropagation(); component.activateLastEnabledAvailableOption(); } }, Enter(component, evt, ctx) { if (isClearBtnFocused(ctx)) { // If the clear button has focus, let the browser activate it normally. // stopPropagation prevents parent containers (e.g., forms) from treating // Enter as a submit, but we must NOT call preventDefault — that would // block the browser's built-in \"Enter activates focused button\" behavior. evt.stopPropagation(); } else if (ctx.isExpanded && component.menu.optionActive) { component.menu.makeSelection(); if (ctx.isModal) { component.setTriggerInputFocus(); } evt.preventDefault(); evt.stopPropagation(); } else { // Prevent the keypress from bubbling to parent containers (e.g., forms) // which could interpret Enter as a submit or trigger other unintended behavior. // This is safe because showBib() opens the dialog programmatically, // not via event propagation. evt.preventDefault(); evt.stopPropagation(); component.showBib(); } }, Escape(component, evt, ctx) { if (!ctx.isExpanded) { return; } // Prevent the Escape key from bubbling up and closing any parent dialogs / drawers / popups evt.stopPropagation(); if (ctx.isModal) { component.setTriggerInputFocus(); } component.hideBib(); }, Home(component, evt, ctx) { if (ctx.isExpanded) { evt.preventDefault(); evt.stopPropagation(); component.activateFirstEnabledAvailableOption(); } }, Tab(component, evt, ctx) { if (ctx.isExpanded && !isClearBtnFocused(ctx)) { // When the clear button is focused, Tab events do not bubble out of // its shadow DOM, so this handler only fires when the clear button // is NOT focused. In that case, select the active option and close. component.menu.makeSelection(); component.hideBib(); // In fullscreen modal mode, closing the dialog does not // automatically restores focus to the input. In the tab case, // Explicitly move focus to the trigger's clear button so the // user can continues tabbing through the page normally. if (ctx.isModal && !evt.shiftKey) { component.setClearBtnFocus(); } } }, }"
2439
2439
  }
2440
2440
  ],
2441
2441
  "exports": [
@@ -19275,7 +19275,7 @@
19275
19275
  "type": {
19276
19276
  "text": "object"
19277
19277
  },
19278
- "default": "{ ArrowDown(component, evt, ctx) { evt.preventDefault(); if (evt.altKey || evt.metaKey) { // navigate to last enabled option selectKeyboardStrategy.End(component, evt, ctx); return; } navigateArrow(component, 'down', { ctx, showFn: () => component.dropdown.show(), }); }, ArrowUp(component, evt, ctx) { evt.preventDefault(); if (evt.altKey || evt.metaKey) { // navigate to first enabled option selectKeyboardStrategy.Home(component, evt, ctx); return; } navigateArrow(component, 'up', { ctx, showFn: () => component.dropdown.show(), }); }, Escape(component, evt, ctx) { if (!ctx.isExpanded) { return; } // Prevent the Escape key from bubbling up and closing any parent dialogs / drawers / popups evt.stopPropagation(); component.dropdown.hide(); }, End(component, evt, ctx) { if (!ctx.isExpanded) { return; } evt.preventDefault(); evt.stopPropagation(); const lastOption = [...component.menu.menuService.menuOptions].reverse().find((option) => !option.disabled); if (lastOption) { component.menu.updateActiveOption(lastOption); } }, Enter(component, evt, ctx) { evt.preventDefault(); evt.stopPropagation(); if (!ctx.isExpanded) { component.dropdown.show(); return; } component.menu.makeSelection(); }, Home(component, evt, ctx) { if (!ctx.isExpanded) { return; } evt.preventDefault(); evt.stopPropagation(); const firstOption = component.menu.menuService.menuOptions.find((option) => !option.disabled); if (firstOption) { component.menu.updateActiveOption(firstOption); } }, Tab(component, evt, ctx) { if (!ctx.isExpanded) { return; } // Tab selects the focused option and closes the popup per the // WAI-ARIA APG select-only combobox / listbox pattern. if (component.optionActive) { component.menu.makeSelection(); } component.dropdown.hide(); }, default(component, evt, ctx) { component.updateActiveOptionBasedOnKey(evt.key); if (evt.key === ' ') { evt.preventDefault(); evt.stopPropagation(); if (ctx.isExpanded) { component.dropdown.hide(); return; } component.dropdown.show(); } }, }"
19278
+ "default": "{ ArrowDown(component, evt, ctx) { evt.preventDefault(); if (ctx.isExpanded) { if (evt.altKey || evt.ctrlKey || evt.metaKey) { // navigate to last enabled option selectKeyboardStrategy.End(component, evt, ctx); } else { navigateArrow(component, 'down', { ctx }); } } else { component.dropdown.show(); } }, ArrowUp(component, evt, ctx) { evt.preventDefault(); if (ctx.isExpanded) { if (evt.altKey || evt.ctrlKey || evt.metaKey) { // navigate to first enabled option selectKeyboardStrategy.Home(component, evt, ctx); } else { navigateArrow(component, 'up', { ctx }); } } else { component.dropdown.show(); } }, Escape(component, evt, ctx) { if (!ctx.isExpanded) { return; } // Prevent the Escape key from bubbling up and closing any parent dialogs / drawers / popups evt.stopPropagation(); component.dropdown.hide(); }, End(component, evt, ctx) { if (!ctx.isExpanded) { return; } evt.preventDefault(); evt.stopPropagation(); const lastOption = [...component.menu.menuService.menuOptions].reverse().find((option) => !option.disabled); if (lastOption) { component.menu.updateActiveOption(lastOption); } }, Enter(component, evt, ctx) { evt.preventDefault(); evt.stopPropagation(); if (!ctx.isExpanded) { component.dropdown.show(); return; } component.menu.makeSelection(); }, Home(component, evt, ctx) { if (!ctx.isExpanded) { return; } evt.preventDefault(); evt.stopPropagation(); const firstOption = component.menu.menuService.menuOptions.find((option) => !option.disabled); if (firstOption) { component.menu.updateActiveOption(firstOption); } }, Tab(component, evt, ctx) { if (!ctx.isExpanded) { return; } // Tab selects the focused option and closes the popup per the // WAI-ARIA APG select-only combobox / listbox pattern. if (component.optionActive) { component.menu.makeSelection(); } component.dropdown.hide(); }, default(component, evt, ctx) { component.updateActiveOptionBasedOnKey(evt.key); if (evt.key === ' ') { evt.preventDefault(); evt.stopPropagation(); if (ctx.isExpanded) { component.dropdown.hide(); return; } component.dropdown.show(); } }, }"
19279
19279
  }
19280
19280
  ],
19281
19281
  "exports": [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurodesignsystem-dev/auro-formkit",
3
- "version": "0.0.0-pr1483.3",
3
+ "version": "0.0.0-pr1483.4",
4
4
  "description": "A collection of web components used to build forms.",
5
5
  "homepage": "https://github.com/AlaskaAirlines/auro-formkit#readme",
6
6
  "bugs": {
@@ -126,7 +126,7 @@
126
126
  "@floating-ui/dom": "^1.6.13",
127
127
  "@noticeable/sass-render": "^3.0.0",
128
128
  "@open-wc/testing": "^4.0.0",
129
- "@playwright/test": "^1.59.1",
129
+ "@playwright/test": "^1.60.0",
130
130
  "@popperjs/core": "^2.11.8",
131
131
  "@rollup/plugin-commonjs": "^28.0.3",
132
132
  "@rollup/plugin-node-resolve": "^16.0.1",
@@ -169,7 +169,7 @@
169
169
  "monocart-reporter": "^2.10.1",
170
170
  "nodemon": "^3.1.14",
171
171
  "npm-run-all": "^4.1.5",
172
- "playwright": "^1.59.1",
172
+ "playwright": "^1.60.0",
173
173
  "postcss": "^8.5.10",
174
174
  "postcss-custom-properties": "^15.0.1",
175
175
  "postcss-discard-comments": "^7.0.7",