@spectrum-web-components/action-group 0.30.0 → 0.30.1-overlay.30

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/action-group",
3
- "version": "0.30.0",
3
+ "version": "0.30.1-overlay.30+1df211c75",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -58,9 +58,9 @@
58
58
  ],
59
59
  "dependencies": {
60
60
  "@lit-labs/observers": "^2.0.0",
61
- "@spectrum-web-components/action-button": "^0.30.0",
62
- "@spectrum-web-components/base": "^0.30.0",
63
- "@spectrum-web-components/reactive-controllers": "^0.30.0"
61
+ "@spectrum-web-components/action-button": "^0.30.1-overlay.30+1df211c75",
62
+ "@spectrum-web-components/base": "^0.30.1-overlay.30+1df211c75",
63
+ "@spectrum-web-components/reactive-controllers": "^0.30.1-overlay.30+1df211c75"
64
64
  },
65
65
  "devDependencies": {
66
66
  "@spectrum-css/actiongroup": "^3.0.36"
@@ -71,5 +71,5 @@
71
71
  "./sp-*.js",
72
72
  "./**/*.dev.js"
73
73
  ],
74
- "gitHead": "e34a26bf2bbea5f60a5e415e0f12c97654f0e20d"
74
+ "gitHead": "1df211c7581b6fd6ec624cf2b09bc81aeec29c26"
75
75
  }
@@ -1,382 +0,0 @@
1
- {
2
- "schemaVersion": "1.0.0",
3
- "readme": "",
4
- "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "sp-action-group.js",
8
- "declarations": [],
9
- "exports": []
10
- },
11
- {
12
- "kind": "javascript-module",
13
- "path": "src/ActionGroup.js",
14
- "declarations": [
15
- {
16
- "kind": "class",
17
- "description": "",
18
- "name": "ActionGroup",
19
- "slots": [
20
- {
21
- "description": "the sp-action-button elements that make up the group",
22
- "name": ""
23
- }
24
- ],
25
- "members": [
26
- {
27
- "kind": "field",
28
- "name": "buttons",
29
- "privacy": "public",
30
- "type": {
31
- "text": "ActionButton[]"
32
- }
33
- },
34
- {
35
- "kind": "field",
36
- "name": "_buttons",
37
- "type": {
38
- "text": "ActionButton[]"
39
- },
40
- "privacy": "public",
41
- "default": "[]"
42
- },
43
- {
44
- "kind": "field",
45
- "name": "_buttonSelector",
46
- "type": {
47
- "text": "string"
48
- },
49
- "privacy": "protected",
50
- "default": "'sp-action-button'"
51
- },
52
- {
53
- "kind": "field",
54
- "name": "rovingTabindexController",
55
- "default": "new RovingTabindexController<ActionButton>(\n this,\n {\n focusInIndex: (elements: ActionButton[]) => {\n let firstEnabledIndex = -1;\n const firstSelectedIndex = elements.findIndex((el, index) => {\n if (!elements[firstEnabledIndex] && !el.disabled) {\n firstEnabledIndex = index;\n }\n return el.selected && !el.disabled;\n });\n return elements[firstSelectedIndex]\n ? firstSelectedIndex\n : firstEnabledIndex;\n },\n elements: () => this.buttons,\n isFocusableElement: (el: ActionButton) => !el.disabled,\n }\n )"
56
- },
57
- {
58
- "kind": "field",
59
- "name": "compact",
60
- "type": {
61
- "text": "boolean"
62
- },
63
- "privacy": "public",
64
- "default": "false",
65
- "attribute": "compact",
66
- "reflects": true
67
- },
68
- {
69
- "kind": "field",
70
- "name": "emphasized",
71
- "type": {
72
- "text": "boolean"
73
- },
74
- "privacy": "public",
75
- "default": "false",
76
- "attribute": "emphasized",
77
- "reflects": true
78
- },
79
- {
80
- "kind": "field",
81
- "name": "justified",
82
- "type": {
83
- "text": "boolean"
84
- },
85
- "privacy": "public",
86
- "default": "false",
87
- "attribute": "justified",
88
- "reflects": true
89
- },
90
- {
91
- "kind": "field",
92
- "name": "label",
93
- "type": {
94
- "text": "string"
95
- },
96
- "privacy": "public",
97
- "default": "''",
98
- "attribute": "label"
99
- },
100
- {
101
- "kind": "field",
102
- "name": "quiet",
103
- "type": {
104
- "text": "boolean"
105
- },
106
- "privacy": "public",
107
- "default": "false",
108
- "attribute": "quiet",
109
- "reflects": true
110
- },
111
- {
112
- "kind": "field",
113
- "name": "selects",
114
- "type": {
115
- "text": "undefined | 'single' | 'multiple'"
116
- },
117
- "privacy": "public",
118
- "attribute": "selects"
119
- },
120
- {
121
- "kind": "field",
122
- "name": "vertical",
123
- "type": {
124
- "text": "boolean"
125
- },
126
- "privacy": "public",
127
- "default": "false",
128
- "attribute": "vertical",
129
- "reflects": true
130
- },
131
- {
132
- "kind": "field",
133
- "name": "_selected",
134
- "type": {
135
- "text": "string[]"
136
- },
137
- "privacy": "private",
138
- "default": "[]"
139
- },
140
- {
141
- "kind": "field",
142
- "name": "selected",
143
- "type": {
144
- "text": "string[]"
145
- },
146
- "attribute": "selected"
147
- },
148
- {
149
- "kind": "method",
150
- "name": "dispatchChange",
151
- "privacy": "private",
152
- "return": {
153
- "type": {
154
- "text": "void"
155
- }
156
- },
157
- "parameters": [
158
- {
159
- "name": "old",
160
- "type": {
161
- "text": "string[]"
162
- }
163
- }
164
- ]
165
- },
166
- {
167
- "kind": "method",
168
- "name": "setSelected",
169
- "privacy": "private",
170
- "return": {
171
- "type": {
172
- "text": "void"
173
- }
174
- },
175
- "parameters": [
176
- {
177
- "name": "selected",
178
- "type": {
179
- "text": "string[]"
180
- }
181
- },
182
- {
183
- "name": "announce",
184
- "optional": true,
185
- "type": {
186
- "text": "boolean"
187
- }
188
- }
189
- ]
190
- },
191
- {
192
- "kind": "method",
193
- "name": "focus",
194
- "privacy": "public",
195
- "return": {
196
- "type": {
197
- "text": "void"
198
- }
199
- },
200
- "parameters": [
201
- {
202
- "name": "options",
203
- "optional": true,
204
- "type": {
205
- "text": "FocusOptions"
206
- }
207
- }
208
- ]
209
- },
210
- {
211
- "kind": "method",
212
- "name": "deselectSelectedButtons",
213
- "privacy": "private",
214
- "return": {
215
- "type": {
216
- "text": "void"
217
- }
218
- }
219
- },
220
- {
221
- "kind": "method",
222
- "name": "handleClick",
223
- "privacy": "private",
224
- "return": {
225
- "type": {
226
- "text": "void"
227
- }
228
- },
229
- "parameters": [
230
- {
231
- "name": "event",
232
- "type": {
233
- "text": "Event"
234
- }
235
- }
236
- ]
237
- },
238
- {
239
- "kind": "method",
240
- "name": "applySelects",
241
- "privacy": "private",
242
- "return": {
243
- "type": {
244
- "text": "Promise<void>"
245
- }
246
- }
247
- },
248
- {
249
- "kind": "method",
250
- "name": "manageSelects",
251
- "privacy": "private",
252
- "return": {
253
- "type": {
254
- "text": "Promise<void>"
255
- }
256
- },
257
- "parameters": [
258
- {
259
- "name": "applied",
260
- "optional": true,
261
- "type": {
262
- "text": "boolean"
263
- }
264
- }
265
- ]
266
- },
267
- {
268
- "kind": "method",
269
- "name": "manageChildren",
270
- "privacy": "private",
271
- "return": {
272
- "type": {
273
- "text": "void"
274
- }
275
- }
276
- },
277
- {
278
- "kind": "field",
279
- "name": "manageButtons",
280
- "privacy": "private"
281
- }
282
- ],
283
- "events": [
284
- {
285
- "name": "change",
286
- "type": {
287
- "text": "Event"
288
- },
289
- "description": "Announces that selection state has been changed by user"
290
- }
291
- ],
292
- "attributes": [
293
- {
294
- "name": "compact",
295
- "type": {
296
- "text": "boolean"
297
- },
298
- "default": "false",
299
- "fieldName": "compact"
300
- },
301
- {
302
- "name": "emphasized",
303
- "type": {
304
- "text": "boolean"
305
- },
306
- "default": "false",
307
- "fieldName": "emphasized"
308
- },
309
- {
310
- "name": "justified",
311
- "type": {
312
- "text": "boolean"
313
- },
314
- "default": "false",
315
- "fieldName": "justified"
316
- },
317
- {
318
- "name": "label",
319
- "type": {
320
- "text": "string"
321
- },
322
- "default": "''",
323
- "fieldName": "label"
324
- },
325
- {
326
- "name": "quiet",
327
- "type": {
328
- "text": "boolean"
329
- },
330
- "default": "false",
331
- "fieldName": "quiet"
332
- },
333
- {
334
- "name": "selects",
335
- "type": {
336
- "text": "undefined | 'single' | 'multiple'"
337
- },
338
- "fieldName": "selects"
339
- },
340
- {
341
- "name": "vertical",
342
- "type": {
343
- "text": "boolean"
344
- },
345
- "default": "false",
346
- "fieldName": "vertical"
347
- },
348
- {
349
- "name": "selected",
350
- "type": {
351
- "text": "string[]"
352
- },
353
- "fieldName": "selected"
354
- }
355
- ],
356
- "mixins": [
357
- {
358
- "name": "SizedMixin",
359
- "package": "@spectrum-web-components/base"
360
- }
361
- ],
362
- "superclass": {
363
- "name": "SpectrumElement",
364
- "package": "@spectrum-web-components/base"
365
- },
366
- "tagName": "sp-action-group",
367
- "customElement": true
368
- }
369
- ],
370
- "exports": [
371
- {
372
- "kind": "js",
373
- "name": "ActionGroup",
374
- "declaration": {
375
- "name": "ActionGroup",
376
- "module": "src/ActionGroup.js"
377
- }
378
- }
379
- ]
380
- }
381
- ]
382
- }