@vaadin/a11y-base 25.1.0-alpha6 → 25.1.0-alpha7

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.
@@ -0,0 +1,303 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "src/active-mixin.js",
8
+ "declarations": [
9
+ {
10
+ "kind": "mixin",
11
+ "description": "A mixin to toggle the `active` attribute.\n\nThe attribute is set whenever the user activates the element by a pointer\nor presses an activation key on the element from the keyboard.\n\nThe attribute is removed as soon as the element is deactivated\nby the pointer or by releasing the activation key.",
12
+ "name": "ActiveMixin",
13
+ "members": [],
14
+ "mixins": [
15
+ {
16
+ "name": "DisabledMixin",
17
+ "module": "src/disabled-mixin.js"
18
+ },
19
+ {
20
+ "name": "KeyboardMixin",
21
+ "module": "src/keyboard-mixin.js"
22
+ }
23
+ ],
24
+ "parameters": [
25
+ {
26
+ "name": "superclass"
27
+ }
28
+ ]
29
+ }
30
+ ],
31
+ "exports": [
32
+ {
33
+ "kind": "js",
34
+ "name": "ActiveMixin",
35
+ "declaration": {
36
+ "name": "ActiveMixin",
37
+ "module": "src/active-mixin.js"
38
+ }
39
+ }
40
+ ]
41
+ },
42
+ {
43
+ "kind": "javascript-module",
44
+ "path": "src/delegate-focus-mixin.js",
45
+ "declarations": [
46
+ {
47
+ "kind": "variable",
48
+ "name": "DelegateFocusMixin",
49
+ "description": "A mixin to forward focus to an element in the light DOM."
50
+ }
51
+ ],
52
+ "exports": [
53
+ {
54
+ "kind": "js",
55
+ "name": "DelegateFocusMixin",
56
+ "declaration": {
57
+ "name": "DelegateFocusMixin",
58
+ "module": "src/delegate-focus-mixin.js"
59
+ }
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "kind": "javascript-module",
65
+ "path": "src/disabled-mixin.js",
66
+ "declarations": [
67
+ {
68
+ "kind": "variable",
69
+ "name": "DisabledMixin",
70
+ "description": "A mixin to provide disabled property for field components."
71
+ }
72
+ ],
73
+ "exports": [
74
+ {
75
+ "kind": "js",
76
+ "name": "DisabledMixin",
77
+ "declaration": {
78
+ "name": "DisabledMixin",
79
+ "module": "src/disabled-mixin.js"
80
+ }
81
+ }
82
+ ]
83
+ },
84
+ {
85
+ "kind": "javascript-module",
86
+ "path": "src/focus-mixin.js",
87
+ "declarations": [
88
+ {
89
+ "kind": "variable",
90
+ "name": "FocusMixin",
91
+ "description": "A mixin to handle `focused` and `focus-ring` attributes based on focus."
92
+ }
93
+ ],
94
+ "exports": [
95
+ {
96
+ "kind": "js",
97
+ "name": "FocusMixin",
98
+ "declaration": {
99
+ "name": "FocusMixin",
100
+ "module": "src/focus-mixin.js"
101
+ }
102
+ }
103
+ ]
104
+ },
105
+ {
106
+ "kind": "javascript-module",
107
+ "path": "src/keyboard-direction-mixin.js",
108
+ "declarations": [
109
+ {
110
+ "kind": "mixin",
111
+ "description": "A mixin for navigating items with keyboard.",
112
+ "name": "KeyboardDirectionMixin",
113
+ "members": [],
114
+ "mixins": [
115
+ {
116
+ "name": "KeyboardMixin",
117
+ "module": "src/keyboard-mixin.js"
118
+ }
119
+ ],
120
+ "parameters": [
121
+ {
122
+ "name": "superclass"
123
+ }
124
+ ]
125
+ }
126
+ ],
127
+ "exports": [
128
+ {
129
+ "kind": "js",
130
+ "name": "KeyboardDirectionMixin",
131
+ "declaration": {
132
+ "name": "KeyboardDirectionMixin",
133
+ "module": "src/keyboard-direction-mixin.js"
134
+ }
135
+ }
136
+ ]
137
+ },
138
+ {
139
+ "kind": "javascript-module",
140
+ "path": "src/keyboard-mixin.js",
141
+ "declarations": [
142
+ {
143
+ "kind": "variable",
144
+ "name": "KeyboardMixin",
145
+ "description": "A mixin that manages keyboard handling.\nThe mixin subscribes to the keyboard events while an actual implementation\nfor the event handlers is left to the client (a component or another mixin)."
146
+ }
147
+ ],
148
+ "exports": [
149
+ {
150
+ "kind": "js",
151
+ "name": "KeyboardMixin",
152
+ "declaration": {
153
+ "name": "KeyboardMixin",
154
+ "module": "src/keyboard-mixin.js"
155
+ }
156
+ }
157
+ ]
158
+ },
159
+ {
160
+ "kind": "javascript-module",
161
+ "path": "src/list-mixin.js",
162
+ "declarations": [
163
+ {
164
+ "kind": "mixin",
165
+ "description": "A mixin for list elements, facilitating navigation and selection of items.",
166
+ "name": "ListMixin",
167
+ "members": [
168
+ {
169
+ "kind": "field",
170
+ "name": "disabled",
171
+ "privacy": "public",
172
+ "type": {
173
+ "text": "boolean"
174
+ },
175
+ "description": "If true, the user cannot interact with this element.\nWhen the element is disabled, the selected item is\nnot updated when `selected` property is changed.",
176
+ "attribute": "disabled"
177
+ },
178
+ {
179
+ "kind": "field",
180
+ "name": "items",
181
+ "privacy": "public",
182
+ "type": {
183
+ "text": "!Array<!Element> | undefined"
184
+ },
185
+ "description": "A read-only list of items from which a selection can be made.\nIt is populated from the elements passed to the light DOM,\nand updated dynamically when adding or removing items.",
186
+ "attribute": "items"
187
+ },
188
+ {
189
+ "kind": "field",
190
+ "name": "orientation",
191
+ "privacy": "public",
192
+ "type": {
193
+ "text": "!ListOrientation"
194
+ },
195
+ "description": "Define how items are disposed in the dom.\nPossible values are: `horizontal|vertical`.\nIt also changes navigation keys from left/right to up/down.",
196
+ "attribute": "orientation"
197
+ },
198
+ {
199
+ "kind": "field",
200
+ "name": "selected",
201
+ "privacy": "public",
202
+ "type": {
203
+ "text": "number"
204
+ },
205
+ "description": "The index of the item selected in the items array.\nNote: Not updated when used in `multiple` selection mode.",
206
+ "attribute": "selected"
207
+ }
208
+ ],
209
+ "attributes": [
210
+ {
211
+ "name": "disabled",
212
+ "type": {
213
+ "text": "boolean"
214
+ },
215
+ "description": "If true, the user cannot interact with this element.\nWhen the element is disabled, the selected item is\nnot updated when `selected` property is changed.",
216
+ "fieldName": "disabled"
217
+ },
218
+ {
219
+ "name": "orientation",
220
+ "type": {
221
+ "text": "!ListOrientation"
222
+ },
223
+ "description": "Define how items are disposed in the dom.\nPossible values are: `horizontal|vertical`.\nIt also changes navigation keys from left/right to up/down.",
224
+ "fieldName": "orientation"
225
+ },
226
+ {
227
+ "name": "selected",
228
+ "type": {
229
+ "text": "number"
230
+ },
231
+ "description": "The index of the item selected in the items array.\nNote: Not updated when used in `multiple` selection mode.",
232
+ "fieldName": "selected"
233
+ }
234
+ ],
235
+ "mixins": [
236
+ {
237
+ "name": "KeyboardDirectionMixin",
238
+ "module": "src/keyboard-direction-mixin.js"
239
+ }
240
+ ],
241
+ "parameters": [
242
+ {
243
+ "name": "superClass"
244
+ }
245
+ ]
246
+ }
247
+ ],
248
+ "exports": [
249
+ {
250
+ "kind": "js",
251
+ "name": "ListMixin",
252
+ "declaration": {
253
+ "name": "ListMixin",
254
+ "module": "src/list-mixin.js"
255
+ }
256
+ }
257
+ ]
258
+ },
259
+ {
260
+ "kind": "javascript-module",
261
+ "path": "src/tabindex-mixin.js",
262
+ "declarations": [
263
+ {
264
+ "kind": "mixin",
265
+ "description": "A mixin to toggle the `tabindex` attribute.\n\nThe attribute is set to -1 whenever the user disables the element\nand restored with the last known value once the element is enabled.",
266
+ "name": "TabindexMixin",
267
+ "members": [],
268
+ "attributes": [
269
+ {
270
+ "name": "tabindex",
271
+ "type": {
272
+ "text": "number"
273
+ },
274
+ "description": "Indicates whether the element can be focused and where it participates in sequential keyboard navigation.",
275
+ "fieldName": "tabindex"
276
+ }
277
+ ],
278
+ "mixins": [
279
+ {
280
+ "name": "DisabledMixin",
281
+ "module": "src/disabled-mixin.js"
282
+ }
283
+ ],
284
+ "parameters": [
285
+ {
286
+ "name": "superclass"
287
+ }
288
+ ]
289
+ }
290
+ ],
291
+ "exports": [
292
+ {
293
+ "kind": "js",
294
+ "name": "TabindexMixin",
295
+ "declaration": {
296
+ "name": "TabindexMixin",
297
+ "module": "src/tabindex-mixin.js"
298
+ }
299
+ }
300
+ ]
301
+ }
302
+ ]
303
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vaadin/a11y-base",
3
- "version": "25.1.0-alpha6",
3
+ "version": "25.1.0-alpha7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -22,7 +22,8 @@
22
22
  "files": [
23
23
  "index.d.ts",
24
24
  "index.js",
25
- "src"
25
+ "src",
26
+ "custom-elements.json"
26
27
  ],
27
28
  "keywords": [
28
29
  "Vaadin",
@@ -31,14 +32,15 @@
31
32
  ],
32
33
  "dependencies": {
33
34
  "@open-wc/dedupe-mixin": "^1.3.0",
34
- "@vaadin/component-base": "25.1.0-alpha6",
35
+ "@vaadin/component-base": "25.1.0-alpha7",
35
36
  "lit": "^3.0.0"
36
37
  },
37
38
  "devDependencies": {
38
- "@vaadin/chai-plugins": "25.1.0-alpha6",
39
- "@vaadin/test-runner-commands": "25.1.0-alpha6",
39
+ "@vaadin/chai-plugins": "25.1.0-alpha7",
40
+ "@vaadin/test-runner-commands": "25.1.0-alpha7",
40
41
  "@vaadin/testing-helpers": "^2.0.0",
41
42
  "sinon": "^21.0.0"
42
43
  },
43
- "gitHead": "da6f4194492cbd77d18c6c1cd8d4d9f072e9ce8d"
44
+ "customElements": "custom-elements.json",
45
+ "gitHead": "98c586125f769c8fefd307536965293668fda81d"
44
46
  }