@aurodesignsystem-dev/auro-formkit 0.0.0-pr1530.0 → 0.0.0-pr1530.2
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/components/checkbox/demo/customize.min.js +1 -1
- package/components/checkbox/demo/getting-started.min.js +1 -1
- package/components/checkbox/demo/index.min.js +1 -1
- package/components/checkbox/dist/index.js +1 -1
- package/components/checkbox/dist/registered.js +1 -1
- package/components/combobox/demo/customize.min.js +42 -29
- package/components/combobox/demo/getting-started.min.js +42 -29
- package/components/combobox/demo/index.min.js +42 -29
- package/components/combobox/dist/index.js +42 -29
- package/components/combobox/dist/registered.js +42 -29
- package/components/counter/demo/customize.min.js +2 -2
- package/components/counter/demo/index.min.js +2 -2
- package/components/counter/dist/index.js +2 -2
- package/components/counter/dist/registered.js +2 -2
- package/components/datepicker/demo/accessibility.md +7 -7
- package/components/datepicker/demo/customize.min.js +121 -47
- package/components/datepicker/demo/index.min.js +121 -47
- package/components/datepicker/demo/keyboard-behavior.md +3 -3
- package/components/datepicker/demo/voiceover.md +3 -3
- package/components/datepicker/demo/why-datepicker.md +2 -2
- package/components/datepicker/dist/auro-calendar-cell.d.ts +9 -0
- package/components/datepicker/dist/auro-calendar.d.ts +9 -0
- package/components/datepicker/dist/index.js +121 -47
- package/components/datepicker/dist/registered.js +121 -47
- package/components/dropdown/demo/customize.min.js +1 -1
- package/components/dropdown/demo/getting-started.min.js +1 -1
- package/components/dropdown/demo/index.min.js +1 -1
- package/components/dropdown/dist/index.js +1 -1
- package/components/dropdown/dist/registered.js +1 -1
- package/components/form/demo/customize.min.js +269 -123
- package/components/form/demo/getting-started.min.js +269 -123
- package/components/form/demo/index.min.js +269 -123
- package/components/form/demo/registerDemoDeps.min.js +269 -123
- package/components/input/demo/customize.min.js +40 -27
- package/components/input/demo/getting-started.min.js +40 -27
- package/components/input/demo/index.min.js +40 -27
- package/components/input/dist/base-input.d.ts +20 -4
- package/components/input/dist/index.js +40 -27
- package/components/input/dist/registered.js +40 -27
- package/components/radio/demo/customize.min.js +1 -1
- package/components/radio/demo/getting-started.min.js +1 -1
- package/components/radio/demo/index.min.js +1 -1
- package/components/radio/dist/index.js +1 -1
- package/components/radio/dist/registered.js +1 -1
- package/components/select/demo/customize.min.js +62 -16
- package/components/select/demo/getting-started.min.js +62 -16
- package/components/select/demo/index.min.js +62 -16
- package/components/select/dist/auro-select.d.ts +6 -0
- package/components/select/dist/index.js +62 -16
- package/components/select/dist/registered.js +62 -16
- package/custom-elements.json +427 -343
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -2,6 +2,269 @@
|
|
|
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
|
+
"kind": "field",
|
|
134
|
+
"name": "showFooter",
|
|
135
|
+
"privacy": "public",
|
|
136
|
+
"type": {
|
|
137
|
+
"text": "boolean"
|
|
138
|
+
},
|
|
139
|
+
"description": "If declared, the footer slot will be rendered even when not in fullscreen mode.",
|
|
140
|
+
"attribute": "showFooter",
|
|
141
|
+
"reflects": true
|
|
142
|
+
}
|
|
143
|
+
],
|
|
144
|
+
"events": [
|
|
145
|
+
{
|
|
146
|
+
"name": "close-click",
|
|
147
|
+
"type": {
|
|
148
|
+
"text": "Event"
|
|
149
|
+
}
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"name": "auro-bibtemplate-connected",
|
|
153
|
+
"type": {
|
|
154
|
+
"text": "CustomEvent"
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
],
|
|
158
|
+
"attributes": [
|
|
159
|
+
{
|
|
160
|
+
"name": "isFullscreen",
|
|
161
|
+
"type": {
|
|
162
|
+
"text": "boolean"
|
|
163
|
+
},
|
|
164
|
+
"fieldName": "isFullscreen"
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "large",
|
|
168
|
+
"type": {
|
|
169
|
+
"text": "boolean"
|
|
170
|
+
},
|
|
171
|
+
"default": "false",
|
|
172
|
+
"fieldName": "large"
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
"name": "showFooter",
|
|
176
|
+
"type": {
|
|
177
|
+
"text": "boolean"
|
|
178
|
+
},
|
|
179
|
+
"description": "If declared, the footer slot will be rendered even when not in fullscreen mode.",
|
|
180
|
+
"fieldName": "showFooter"
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
"superclass": {
|
|
184
|
+
"name": "LitElement",
|
|
185
|
+
"package": "lit"
|
|
186
|
+
},
|
|
187
|
+
"tagName": "auro-bibtemplate",
|
|
188
|
+
"customElement": true
|
|
189
|
+
}
|
|
190
|
+
],
|
|
191
|
+
"exports": [
|
|
192
|
+
{
|
|
193
|
+
"kind": "js",
|
|
194
|
+
"name": "AuroBibtemplate",
|
|
195
|
+
"declaration": {
|
|
196
|
+
"name": "AuroBibtemplate",
|
|
197
|
+
"module": "components/bibtemplate/src/auro-bibtemplate.js"
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
]
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"kind": "javascript-module",
|
|
204
|
+
"path": "components/bibtemplate/src/buttonVersion.js",
|
|
205
|
+
"declarations": [],
|
|
206
|
+
"exports": [
|
|
207
|
+
{
|
|
208
|
+
"kind": "js",
|
|
209
|
+
"name": "default",
|
|
210
|
+
"declaration": {
|
|
211
|
+
"name": "12.3.2",
|
|
212
|
+
"module": "components/bibtemplate/src/buttonVersion.js"
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
]
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
"kind": "javascript-module",
|
|
219
|
+
"path": "components/bibtemplate/src/headerVersion.js",
|
|
220
|
+
"declarations": [],
|
|
221
|
+
"exports": [
|
|
222
|
+
{
|
|
223
|
+
"kind": "js",
|
|
224
|
+
"name": "default",
|
|
225
|
+
"declaration": {
|
|
226
|
+
"name": "5.0.1",
|
|
227
|
+
"module": "components/bibtemplate/src/headerVersion.js"
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
]
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"kind": "javascript-module",
|
|
234
|
+
"path": "components/bibtemplate/src/iconVersion.js",
|
|
235
|
+
"declarations": [],
|
|
236
|
+
"exports": [
|
|
237
|
+
{
|
|
238
|
+
"kind": "js",
|
|
239
|
+
"name": "default",
|
|
240
|
+
"declaration": {
|
|
241
|
+
"name": "9.2.0",
|
|
242
|
+
"module": "components/bibtemplate/src/iconVersion.js"
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
]
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
"kind": "javascript-module",
|
|
249
|
+
"path": "components/bibtemplate/src/index.js",
|
|
250
|
+
"declarations": [],
|
|
251
|
+
"exports": [
|
|
252
|
+
{
|
|
253
|
+
"kind": "js",
|
|
254
|
+
"name": "AuroBibtemplate",
|
|
255
|
+
"declaration": {
|
|
256
|
+
"name": "AuroBibtemplate",
|
|
257
|
+
"module": "components/bibtemplate/src/index.js"
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
]
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"kind": "javascript-module",
|
|
264
|
+
"path": "components/bibtemplate/src/registered.js",
|
|
265
|
+
"declarations": [],
|
|
266
|
+
"exports": []
|
|
267
|
+
},
|
|
5
268
|
{
|
|
6
269
|
"kind": "javascript-module",
|
|
7
270
|
"path": "components/checkbox/src/auro-checkbox-group.js",
|
|
@@ -759,352 +1022,89 @@
|
|
|
759
1022
|
{
|
|
760
1023
|
"name": "value",
|
|
761
1024
|
"type": {
|
|
762
|
-
"text": "string"
|
|
763
|
-
},
|
|
764
|
-
"description": "Sets the element's input value. Must be unique within an auro-checkbox-group element.",
|
|
765
|
-
"fieldName": "value"
|
|
766
|
-
},
|
|
767
|
-
{
|
|
768
|
-
"name": "tabindex",
|
|
769
|
-
"type": {
|
|
770
|
-
"text": "number"
|
|
771
|
-
},
|
|
772
|
-
"description": "The tabindex attribute for the checkbox.",
|
|
773
|
-
"fieldName": "tabIndex"
|
|
774
|
-
},
|
|
775
|
-
{
|
|
776
|
-
"name": "aria-checked",
|
|
777
|
-
"type": {
|
|
778
|
-
"text": "string"
|
|
779
|
-
},
|
|
780
|
-
"description": "The aria-checked attribute for the checkbox.",
|
|
781
|
-
"fieldName": "ariaChecked"
|
|
782
|
-
},
|
|
783
|
-
{
|
|
784
|
-
"name": "aria-disabled",
|
|
785
|
-
"type": {
|
|
786
|
-
"text": "string"
|
|
787
|
-
},
|
|
788
|
-
"description": "The aria-disabled attribute for the checkbox.",
|
|
789
|
-
"fieldName": "ariaDisabled"
|
|
790
|
-
},
|
|
791
|
-
{
|
|
792
|
-
"name": "role",
|
|
793
|
-
"type": {
|
|
794
|
-
"text": "string"
|
|
795
|
-
},
|
|
796
|
-
"description": "The ARIA role for the element. Must remain 'checkbox' for screen readers\nto correctly identify this as a checkbox control.",
|
|
797
|
-
"fieldName": "role"
|
|
798
|
-
}
|
|
799
|
-
],
|
|
800
|
-
"superclass": {
|
|
801
|
-
"name": "LitElement",
|
|
802
|
-
"package": "lit"
|
|
803
|
-
},
|
|
804
|
-
"tagName": "auro-checkbox",
|
|
805
|
-
"customElement": true
|
|
806
|
-
}
|
|
807
|
-
],
|
|
808
|
-
"exports": [
|
|
809
|
-
{
|
|
810
|
-
"kind": "js",
|
|
811
|
-
"name": "AuroCheckbox",
|
|
812
|
-
"declaration": {
|
|
813
|
-
"name": "AuroCheckbox",
|
|
814
|
-
"module": "components/checkbox/src/auro-checkbox.js"
|
|
815
|
-
}
|
|
816
|
-
}
|
|
817
|
-
]
|
|
818
|
-
},
|
|
819
|
-
{
|
|
820
|
-
"kind": "javascript-module",
|
|
821
|
-
"path": "components/checkbox/src/index.js",
|
|
822
|
-
"declarations": [],
|
|
823
|
-
"exports": [
|
|
824
|
-
{
|
|
825
|
-
"kind": "js",
|
|
826
|
-
"name": "AuroCheckbox",
|
|
827
|
-
"declaration": {
|
|
828
|
-
"name": "AuroCheckbox",
|
|
829
|
-
"module": "components/checkbox/src/index.js"
|
|
830
|
-
}
|
|
831
|
-
},
|
|
832
|
-
{
|
|
833
|
-
"kind": "js",
|
|
834
|
-
"name": "AuroCheckboxGroup",
|
|
835
|
-
"declaration": {
|
|
836
|
-
"name": "AuroCheckboxGroup",
|
|
837
|
-
"module": "components/checkbox/src/index.js"
|
|
838
|
-
}
|
|
839
|
-
}
|
|
840
|
-
]
|
|
841
|
-
},
|
|
842
|
-
{
|
|
843
|
-
"kind": "javascript-module",
|
|
844
|
-
"path": "components/checkbox/src/registered.js",
|
|
845
|
-
"declarations": [],
|
|
846
|
-
"exports": []
|
|
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
|
-
"kind": "field",
|
|
977
|
-
"name": "showFooter",
|
|
978
|
-
"privacy": "public",
|
|
979
|
-
"type": {
|
|
980
|
-
"text": "boolean"
|
|
981
|
-
},
|
|
982
|
-
"description": "If declared, the footer slot will be rendered even when not in fullscreen mode.",
|
|
983
|
-
"attribute": "showFooter",
|
|
984
|
-
"reflects": true
|
|
985
|
-
}
|
|
986
|
-
],
|
|
987
|
-
"events": [
|
|
988
|
-
{
|
|
989
|
-
"name": "close-click",
|
|
990
|
-
"type": {
|
|
991
|
-
"text": "Event"
|
|
992
|
-
}
|
|
1025
|
+
"text": "string"
|
|
1026
|
+
},
|
|
1027
|
+
"description": "Sets the element's input value. Must be unique within an auro-checkbox-group element.",
|
|
1028
|
+
"fieldName": "value"
|
|
993
1029
|
},
|
|
994
1030
|
{
|
|
995
|
-
"name": "
|
|
1031
|
+
"name": "tabindex",
|
|
996
1032
|
"type": {
|
|
997
|
-
"text": "
|
|
998
|
-
}
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1033
|
+
"text": "number"
|
|
1034
|
+
},
|
|
1035
|
+
"description": "The tabindex attribute for the checkbox.",
|
|
1036
|
+
"fieldName": "tabIndex"
|
|
1037
|
+
},
|
|
1002
1038
|
{
|
|
1003
|
-
"name": "
|
|
1039
|
+
"name": "aria-checked",
|
|
1004
1040
|
"type": {
|
|
1005
|
-
"text": "
|
|
1041
|
+
"text": "string"
|
|
1006
1042
|
},
|
|
1007
|
-
"
|
|
1043
|
+
"description": "The aria-checked attribute for the checkbox.",
|
|
1044
|
+
"fieldName": "ariaChecked"
|
|
1008
1045
|
},
|
|
1009
1046
|
{
|
|
1010
|
-
"name": "
|
|
1047
|
+
"name": "aria-disabled",
|
|
1011
1048
|
"type": {
|
|
1012
|
-
"text": "
|
|
1049
|
+
"text": "string"
|
|
1013
1050
|
},
|
|
1014
|
-
"
|
|
1015
|
-
"fieldName": "
|
|
1051
|
+
"description": "The aria-disabled attribute for the checkbox.",
|
|
1052
|
+
"fieldName": "ariaDisabled"
|
|
1016
1053
|
},
|
|
1017
1054
|
{
|
|
1018
|
-
"name": "
|
|
1055
|
+
"name": "role",
|
|
1019
1056
|
"type": {
|
|
1020
|
-
"text": "
|
|
1057
|
+
"text": "string"
|
|
1021
1058
|
},
|
|
1022
|
-
"description": "
|
|
1023
|
-
"fieldName": "
|
|
1059
|
+
"description": "The ARIA role for the element. Must remain 'checkbox' for screen readers\nto correctly identify this as a checkbox control.",
|
|
1060
|
+
"fieldName": "role"
|
|
1024
1061
|
}
|
|
1025
1062
|
],
|
|
1026
1063
|
"superclass": {
|
|
1027
1064
|
"name": "LitElement",
|
|
1028
1065
|
"package": "lit"
|
|
1029
1066
|
},
|
|
1030
|
-
"tagName": "auro-
|
|
1067
|
+
"tagName": "auro-checkbox",
|
|
1031
1068
|
"customElement": true
|
|
1032
1069
|
}
|
|
1033
1070
|
],
|
|
1034
1071
|
"exports": [
|
|
1035
1072
|
{
|
|
1036
1073
|
"kind": "js",
|
|
1037
|
-
"name": "
|
|
1038
|
-
"declaration": {
|
|
1039
|
-
"name": "AuroBibtemplate",
|
|
1040
|
-
"module": "components/bibtemplate/src/auro-bibtemplate.js"
|
|
1041
|
-
}
|
|
1042
|
-
}
|
|
1043
|
-
]
|
|
1044
|
-
},
|
|
1045
|
-
{
|
|
1046
|
-
"kind": "javascript-module",
|
|
1047
|
-
"path": "components/bibtemplate/src/buttonVersion.js",
|
|
1048
|
-
"declarations": [],
|
|
1049
|
-
"exports": [
|
|
1050
|
-
{
|
|
1051
|
-
"kind": "js",
|
|
1052
|
-
"name": "default",
|
|
1053
|
-
"declaration": {
|
|
1054
|
-
"name": "12.3.2",
|
|
1055
|
-
"module": "components/bibtemplate/src/buttonVersion.js"
|
|
1056
|
-
}
|
|
1057
|
-
}
|
|
1058
|
-
]
|
|
1059
|
-
},
|
|
1060
|
-
{
|
|
1061
|
-
"kind": "javascript-module",
|
|
1062
|
-
"path": "components/bibtemplate/src/headerVersion.js",
|
|
1063
|
-
"declarations": [],
|
|
1064
|
-
"exports": [
|
|
1065
|
-
{
|
|
1066
|
-
"kind": "js",
|
|
1067
|
-
"name": "default",
|
|
1074
|
+
"name": "AuroCheckbox",
|
|
1068
1075
|
"declaration": {
|
|
1069
|
-
"name": "
|
|
1070
|
-
"module": "components/
|
|
1076
|
+
"name": "AuroCheckbox",
|
|
1077
|
+
"module": "components/checkbox/src/auro-checkbox.js"
|
|
1071
1078
|
}
|
|
1072
1079
|
}
|
|
1073
1080
|
]
|
|
1074
1081
|
},
|
|
1075
1082
|
{
|
|
1076
1083
|
"kind": "javascript-module",
|
|
1077
|
-
"path": "components/
|
|
1084
|
+
"path": "components/checkbox/src/index.js",
|
|
1078
1085
|
"declarations": [],
|
|
1079
1086
|
"exports": [
|
|
1080
1087
|
{
|
|
1081
1088
|
"kind": "js",
|
|
1082
|
-
"name": "
|
|
1089
|
+
"name": "AuroCheckbox",
|
|
1083
1090
|
"declaration": {
|
|
1084
|
-
"name": "
|
|
1085
|
-
"module": "components/
|
|
1091
|
+
"name": "AuroCheckbox",
|
|
1092
|
+
"module": "components/checkbox/src/index.js"
|
|
1086
1093
|
}
|
|
1087
|
-
}
|
|
1088
|
-
]
|
|
1089
|
-
},
|
|
1090
|
-
{
|
|
1091
|
-
"kind": "javascript-module",
|
|
1092
|
-
"path": "components/bibtemplate/src/index.js",
|
|
1093
|
-
"declarations": [],
|
|
1094
|
-
"exports": [
|
|
1094
|
+
},
|
|
1095
1095
|
{
|
|
1096
1096
|
"kind": "js",
|
|
1097
|
-
"name": "
|
|
1097
|
+
"name": "AuroCheckboxGroup",
|
|
1098
1098
|
"declaration": {
|
|
1099
|
-
"name": "
|
|
1100
|
-
"module": "components/
|
|
1099
|
+
"name": "AuroCheckboxGroup",
|
|
1100
|
+
"module": "components/checkbox/src/index.js"
|
|
1101
1101
|
}
|
|
1102
1102
|
}
|
|
1103
1103
|
]
|
|
1104
1104
|
},
|
|
1105
1105
|
{
|
|
1106
1106
|
"kind": "javascript-module",
|
|
1107
|
-
"path": "components/
|
|
1107
|
+
"path": "components/checkbox/src/registered.js",
|
|
1108
1108
|
"declarations": [],
|
|
1109
1109
|
"exports": []
|
|
1110
1110
|
},
|
|
@@ -4621,6 +4621,17 @@
|
|
|
4621
4621
|
}
|
|
4622
4622
|
}
|
|
4623
4623
|
},
|
|
4624
|
+
{
|
|
4625
|
+
"kind": "method",
|
|
4626
|
+
"name": "_initFromAncestors",
|
|
4627
|
+
"description": "Wires the cell to its ancestor calendar-month and calendar (and, via\nthe calendar, to the datepicker). Extracted from firstUpdated() so the\nretry loop can re-attempt without recursively invoking a Lit lifecycle\nmethod (which is outside the framework's contract).",
|
|
4628
|
+
"privacy": "private",
|
|
4629
|
+
"return": {
|
|
4630
|
+
"type": {
|
|
4631
|
+
"text": "void"
|
|
4632
|
+
}
|
|
4633
|
+
}
|
|
4634
|
+
},
|
|
4624
4635
|
{
|
|
4625
4636
|
"kind": "method",
|
|
4626
4637
|
"name": "configurePopover",
|
|
@@ -5282,6 +5293,25 @@
|
|
|
5282
5293
|
"description": "",
|
|
5283
5294
|
"name": "AuroCalendar",
|
|
5284
5295
|
"members": [
|
|
5296
|
+
{
|
|
5297
|
+
"kind": "field",
|
|
5298
|
+
"name": "disabledDays",
|
|
5299
|
+
"deprecated": "See constructor JSDoc — migrate to\n`auro-datepicker.blackoutDates`. The getter/setter pair exists so the\none-time deprecation warning fires as soon as a consumer assigns a\nnon-empty array (empty assignments are ignored — an empty array is\nindistinguishable from the constructor default and would produce a\nspurious warning), rather than only when `_getBlackoutSet()` happens\nto rebuild.",
|
|
5300
|
+
"return": {
|
|
5301
|
+
"type": {
|
|
5302
|
+
"text": "Array"
|
|
5303
|
+
}
|
|
5304
|
+
},
|
|
5305
|
+
"parameters": [
|
|
5306
|
+
{
|
|
5307
|
+
"description": "The legacy `disabledDays` array to set.",
|
|
5308
|
+
"name": "value",
|
|
5309
|
+
"type": {
|
|
5310
|
+
"text": "Array"
|
|
5311
|
+
}
|
|
5312
|
+
}
|
|
5313
|
+
]
|
|
5314
|
+
},
|
|
5285
5315
|
{
|
|
5286
5316
|
"kind": "field",
|
|
5287
5317
|
"name": "centralDateObject",
|
|
@@ -6110,7 +6140,7 @@
|
|
|
6110
6140
|
},
|
|
6111
6141
|
{
|
|
6112
6142
|
"kind": "field",
|
|
6113
|
-
"name": "
|
|
6143
|
+
"name": "_disabledDays",
|
|
6114
6144
|
"type": {
|
|
6115
6145
|
"text": "array"
|
|
6116
6146
|
},
|
|
@@ -12202,6 +12232,39 @@
|
|
|
12202
12232
|
"module": "components/input/src/base-input.js"
|
|
12203
12233
|
}
|
|
12204
12234
|
},
|
|
12235
|
+
{
|
|
12236
|
+
"kind": "field",
|
|
12237
|
+
"name": "format",
|
|
12238
|
+
"privacy": "public",
|
|
12239
|
+
"type": {
|
|
12240
|
+
"text": "string"
|
|
12241
|
+
},
|
|
12242
|
+
"description": "Overrides LitElement's generated accessor so we can track whether the\nconsumer explicitly set `format`. Locale-derived updates use\n`_setFormatFromLocale` instead, which skips this flag.",
|
|
12243
|
+
"attribute": "format",
|
|
12244
|
+
"reflects": true,
|
|
12245
|
+
"inheritedFrom": {
|
|
12246
|
+
"name": "BaseInput",
|
|
12247
|
+
"module": "components/input/src/base-input.js"
|
|
12248
|
+
}
|
|
12249
|
+
},
|
|
12250
|
+
{
|
|
12251
|
+
"kind": "method",
|
|
12252
|
+
"name": "_setFormatFromLocale",
|
|
12253
|
+
"parameters": [
|
|
12254
|
+
{
|
|
12255
|
+
"name": "value",
|
|
12256
|
+
"type": {
|
|
12257
|
+
"text": "string"
|
|
12258
|
+
}
|
|
12259
|
+
}
|
|
12260
|
+
],
|
|
12261
|
+
"description": "Sets format without marking it as user-set. Used by locale auto-derive\nso that a subsequent locale change can still update the format.",
|
|
12262
|
+
"privacy": "private",
|
|
12263
|
+
"inheritedFrom": {
|
|
12264
|
+
"name": "BaseInput",
|
|
12265
|
+
"module": "components/input/src/base-input.js"
|
|
12266
|
+
}
|
|
12267
|
+
},
|
|
12205
12268
|
{
|
|
12206
12269
|
"kind": "method",
|
|
12207
12270
|
"name": "patchInputEvent",
|
|
@@ -12752,6 +12815,28 @@
|
|
|
12752
12815
|
"module": "components/input/src/base-input.js"
|
|
12753
12816
|
}
|
|
12754
12817
|
},
|
|
12818
|
+
{
|
|
12819
|
+
"kind": "field",
|
|
12820
|
+
"name": "_format",
|
|
12821
|
+
"default": "undefined",
|
|
12822
|
+
"inheritedFrom": {
|
|
12823
|
+
"name": "BaseInput",
|
|
12824
|
+
"module": "components/input/src/base-input.js"
|
|
12825
|
+
}
|
|
12826
|
+
},
|
|
12827
|
+
{
|
|
12828
|
+
"kind": "field",
|
|
12829
|
+
"name": "_userSetFormat",
|
|
12830
|
+
"type": {
|
|
12831
|
+
"text": "boolean"
|
|
12832
|
+
},
|
|
12833
|
+
"privacy": "private",
|
|
12834
|
+
"default": "false",
|
|
12835
|
+
"inheritedFrom": {
|
|
12836
|
+
"name": "BaseInput",
|
|
12837
|
+
"module": "components/input/src/base-input.js"
|
|
12838
|
+
}
|
|
12839
|
+
},
|
|
12755
12840
|
{
|
|
12756
12841
|
"kind": "field",
|
|
12757
12842
|
"name": "max",
|
|
@@ -12846,15 +12931,6 @@
|
|
|
12846
12931
|
"module": "components/layoutElement/src/auroElement.js"
|
|
12847
12932
|
}
|
|
12848
12933
|
},
|
|
12849
|
-
{
|
|
12850
|
-
"kind": "field",
|
|
12851
|
-
"name": "_rawMaskValue",
|
|
12852
|
-
"default": "undefined",
|
|
12853
|
-
"inheritedFrom": {
|
|
12854
|
-
"name": "BaseInput",
|
|
12855
|
-
"module": "components/input/src/base-input.js"
|
|
12856
|
-
}
|
|
12857
|
-
},
|
|
12858
12934
|
{
|
|
12859
12935
|
"kind": "field",
|
|
12860
12936
|
"name": "required",
|
|
@@ -13159,21 +13235,6 @@
|
|
|
13159
13235
|
"module": "components/input/src/base-input.js"
|
|
13160
13236
|
}
|
|
13161
13237
|
},
|
|
13162
|
-
{
|
|
13163
|
-
"kind": "field",
|
|
13164
|
-
"name": "format",
|
|
13165
|
-
"privacy": "public",
|
|
13166
|
-
"type": {
|
|
13167
|
-
"text": "string"
|
|
13168
|
-
},
|
|
13169
|
-
"description": "Specifies the input mask format.",
|
|
13170
|
-
"attribute": "format",
|
|
13171
|
-
"reflects": true,
|
|
13172
|
-
"inheritedFrom": {
|
|
13173
|
-
"name": "BaseInput",
|
|
13174
|
-
"module": "components/input/src/base-input.js"
|
|
13175
|
-
}
|
|
13176
|
-
},
|
|
13177
13238
|
{
|
|
13178
13239
|
"kind": "field",
|
|
13179
13240
|
"name": "hasFocus",
|
|
@@ -13746,7 +13807,7 @@
|
|
|
13746
13807
|
"type": {
|
|
13747
13808
|
"text": "string"
|
|
13748
13809
|
},
|
|
13749
|
-
"description": "
|
|
13810
|
+
"description": "Overrides LitElement's generated accessor so we can track whether the\nconsumer explicitly set `format`. Locale-derived updates use\n`_setFormatFromLocale` instead, which skips this flag.",
|
|
13750
13811
|
"fieldName": "format",
|
|
13751
13812
|
"inheritedFrom": {
|
|
13752
13813
|
"name": "BaseInput",
|
|
@@ -14322,6 +14383,31 @@
|
|
|
14322
14383
|
},
|
|
14323
14384
|
"readonly": true
|
|
14324
14385
|
},
|
|
14386
|
+
{
|
|
14387
|
+
"kind": "field",
|
|
14388
|
+
"name": "format",
|
|
14389
|
+
"privacy": "public",
|
|
14390
|
+
"type": {
|
|
14391
|
+
"text": "string"
|
|
14392
|
+
},
|
|
14393
|
+
"description": "Overrides LitElement's generated accessor so we can track whether the\nconsumer explicitly set `format`. Locale-derived updates use\n`_setFormatFromLocale` instead, which skips this flag.",
|
|
14394
|
+
"attribute": "format",
|
|
14395
|
+
"reflects": true
|
|
14396
|
+
},
|
|
14397
|
+
{
|
|
14398
|
+
"kind": "method",
|
|
14399
|
+
"name": "_setFormatFromLocale",
|
|
14400
|
+
"parameters": [
|
|
14401
|
+
{
|
|
14402
|
+
"name": "value",
|
|
14403
|
+
"type": {
|
|
14404
|
+
"text": "string"
|
|
14405
|
+
}
|
|
14406
|
+
}
|
|
14407
|
+
],
|
|
14408
|
+
"description": "Sets format without marking it as user-set. Used by locale auto-derive\nso that a subsequent locale change can still update the format.",
|
|
14409
|
+
"privacy": "private"
|
|
14410
|
+
},
|
|
14325
14411
|
{
|
|
14326
14412
|
"kind": "method",
|
|
14327
14413
|
"name": "patchInputEvent",
|
|
@@ -14736,6 +14822,20 @@
|
|
|
14736
14822
|
"attribute": "locale",
|
|
14737
14823
|
"reflects": true
|
|
14738
14824
|
},
|
|
14825
|
+
{
|
|
14826
|
+
"kind": "field",
|
|
14827
|
+
"name": "_format",
|
|
14828
|
+
"default": "undefined"
|
|
14829
|
+
},
|
|
14830
|
+
{
|
|
14831
|
+
"kind": "field",
|
|
14832
|
+
"name": "_userSetFormat",
|
|
14833
|
+
"type": {
|
|
14834
|
+
"text": "boolean"
|
|
14835
|
+
},
|
|
14836
|
+
"privacy": "private",
|
|
14837
|
+
"default": "false"
|
|
14838
|
+
},
|
|
14739
14839
|
{
|
|
14740
14840
|
"kind": "field",
|
|
14741
14841
|
"name": "max",
|
|
@@ -14810,11 +14910,6 @@
|
|
|
14810
14910
|
"module": "components/layoutElement/src/auroElement.js"
|
|
14811
14911
|
}
|
|
14812
14912
|
},
|
|
14813
|
-
{
|
|
14814
|
-
"kind": "field",
|
|
14815
|
-
"name": "_rawMaskValue",
|
|
14816
|
-
"default": "undefined"
|
|
14817
|
-
},
|
|
14818
14913
|
{
|
|
14819
14914
|
"kind": "field",
|
|
14820
14915
|
"name": "required",
|
|
@@ -15039,17 +15134,6 @@
|
|
|
15039
15134
|
"description": "Contains the help text message for the current validity error.",
|
|
15040
15135
|
"attribute": "errorMessage"
|
|
15041
15136
|
},
|
|
15042
|
-
{
|
|
15043
|
-
"kind": "field",
|
|
15044
|
-
"name": "format",
|
|
15045
|
-
"privacy": "public",
|
|
15046
|
-
"type": {
|
|
15047
|
-
"text": "string"
|
|
15048
|
-
},
|
|
15049
|
-
"description": "Specifies the input mask format.",
|
|
15050
|
-
"attribute": "format",
|
|
15051
|
-
"reflects": true
|
|
15052
|
-
},
|
|
15053
15137
|
{
|
|
15054
15138
|
"kind": "field",
|
|
15055
15139
|
"name": "hasFocus",
|
|
@@ -15480,7 +15564,7 @@
|
|
|
15480
15564
|
"type": {
|
|
15481
15565
|
"text": "string"
|
|
15482
15566
|
},
|
|
15483
|
-
"description": "
|
|
15567
|
+
"description": "Overrides LitElement's generated accessor so we can track whether the\nconsumer explicitly set `format`. Locale-derived updates use\n`_setFormatFromLocale` instead, which skips this flag.",
|
|
15484
15568
|
"fieldName": "format"
|
|
15485
15569
|
},
|
|
15486
15570
|
{
|
|
@@ -19114,7 +19198,7 @@
|
|
|
19114
19198
|
{
|
|
19115
19199
|
"kind": "method",
|
|
19116
19200
|
"name": "configureMenu",
|
|
19117
|
-
"description": "Binds all behavior needed to the menu after rendering.",
|
|
19201
|
+
"description": "Binds all behavior needed to the menu after rendering.\n\nThe `<auro-menu>` reference is captured once and not re-targeted on\n`slotchange`. Runtime option mutations are covered via\n`auroMenu-optionsChange`, so swap options inside the menu freely; do not\nswap the `<auro-menu>` element itself under a live select — remount the\nparent `<auro-select>` instead.",
|
|
19118
19202
|
"privacy": "private",
|
|
19119
19203
|
"return": {
|
|
19120
19204
|
"type": {
|
|
@@ -20318,7 +20402,7 @@
|
|
|
20318
20402
|
"type": {
|
|
20319
20403
|
"text": "object"
|
|
20320
20404
|
},
|
|
20321
|
-
"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) { // Always clear the type-ahead buffer — Escape is a universal cancel. // Safe to call when the buffer is empty. // eslint-disable-next-line no-underscore-dangle if (typeof component._clearTypeaheadBuffer === 'function') { // eslint-disable-next-line no-underscore-dangle component._clearTypeaheadBuffer(); } 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) { evt.preventDefault(); evt.stopPropagation(); // `pop()` is safe here:
|
|
20405
|
+
"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) { // Always clear the type-ahead buffer — Escape is a universal cancel. // Safe to call when the buffer is empty. // eslint-disable-next-line no-underscore-dangle if (typeof component._clearTypeaheadBuffer === 'function') { // eslint-disable-next-line no-underscore-dangle component._clearTypeaheadBuffer(); } 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) { evt.preventDefault(); evt.stopPropagation(); // `pop()` is safe here: getActiveOptions returns a fresh filtered array. // Uses \"active\" (not \"enabled\") so hidden and static rows — which a screen // reader must not announce as focused — are skipped. const lastOption = getActiveOptions(component.menu).pop(); if (!lastOption) { return; } // Pre-stash before show() so the auroDropdown-toggled handler's // `!optionActive` guard short-circuits the firstActive/selected fallback — // otherwise show() synchronously fires the handler and writes // aria-activedescendant once before we overwrite it. component.menu.updateActiveOption(lastOption); if (!ctx.isExpanded) { component.dropdown.show(); } }, Enter(component, evt, ctx) { // Prevent the keypress from bubbling to parent containers (e.g., forms) // which could interpret Enter as a submit. Matches APG select-only combobox // and native <select> behavior: Enter opens the listbox when closed, selects // the active option when open — it does not submit a parent form. evt.preventDefault(); evt.stopPropagation(); if (!ctx.isExpanded) { component.dropdown.show(); return; } component.menu.makeSelection(); }, Home(component, evt, ctx) { evt.preventDefault(); evt.stopPropagation(); const [firstOption] = getActiveOptions(component.menu); if (!firstOption) { return; } // See End() for why this must run before show(). component.menu.updateActiveOption(firstOption); if (!ctx.isExpanded) { component.dropdown.show(); } }, 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) { // Ignore keys chorded with Ctrl/Meta/Alt so browser/OS shortcuts // (Cmd+C, Ctrl+V, Alt+X, Cmd+Space, …) don't leak into typeahead // or toggle the bib. Native <select> ignores modified keys. // ArrowUp/ArrowDown handle modifier+arrow explicitly above; this // guard only affects the default (printable/Space) branch. if (evt.ctrlKey || evt.metaKey || evt.altKey) { return; } // Space resolves to either typeahead-buffer extension or bib toggle // depending on whether a type-ahead buffer is active. Mirrors native // <select> and the WAI-ARIA APG Listbox guidance: mid-typeahead space // is a search character (e.g. \"San Francisco\"); otherwise it toggles. if (evt.key === ' ') { evt.preventDefault(); evt.stopPropagation(); if (component.typeaheadBuffer && component.typeaheadBuffer.length > 0) { component.updateActiveOptionBasedOnKey(evt.key); return; } if (ctx.isExpanded) { component.dropdown.hide(); } else { component.dropdown.show(); } return; } component.updateActiveOptionBasedOnKey(evt.key); }, }"
|
|
20322
20406
|
}
|
|
20323
20407
|
],
|
|
20324
20408
|
"exports": [
|