@spectrum-web-components/action-button 0.10.14 → 0.10.15-overlay.8

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-button",
3
- "version": "0.10.14",
3
+ "version": "0.10.15-overlay.8+eef228d8d",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -57,11 +57,11 @@
57
57
  "lit-html"
58
58
  ],
59
59
  "dependencies": {
60
- "@spectrum-web-components/base": "^0.7.4",
61
- "@spectrum-web-components/button": "^0.20.3",
62
- "@spectrum-web-components/icon": "^0.12.9",
63
- "@spectrum-web-components/icons-ui": "^0.9.10",
64
- "@spectrum-web-components/shared": "^0.15.5"
60
+ "@spectrum-web-components/base": "^0.7.5-overlay.236+eef228d8d",
61
+ "@spectrum-web-components/button": "^0.20.4-overlay.8+eef228d8d",
62
+ "@spectrum-web-components/icon": "^0.12.10-overlay.8+eef228d8d",
63
+ "@spectrum-web-components/icons-ui": "^0.9.11-overlay.8+eef228d8d",
64
+ "@spectrum-web-components/shared": "^0.15.6-overlay.236+eef228d8d"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@spectrum-css/actionbutton": "^3.0.20"
@@ -72,5 +72,5 @@
72
72
  "./sp-*.js",
73
73
  "./**/*.dev.js"
74
74
  ],
75
- "gitHead": "1e25ee121f3bc838dbb99bac62f3c95857570f7a"
75
+ "gitHead": "eef228d8defcf04fe32713c7232fd0873828752b"
76
76
  }
@@ -1,342 +0,0 @@
1
- {
2
- "schemaVersion": "1.0.0",
3
- "readme": "",
4
- "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "sp-action-button.js",
8
- "declarations": [],
9
- "exports": [
10
- {
11
- "kind": "custom-element-definition",
12
- "name": "sp-action-button",
13
- "declaration": {
14
- "name": "ActionButton",
15
- "module": "/src/ActionButton.js"
16
- }
17
- }
18
- ]
19
- },
20
- {
21
- "kind": "javascript-module",
22
- "path": "src/ActionButton.js",
23
- "declarations": [
24
- {
25
- "kind": "variable",
26
- "name": "LONGPRESS_DURATION",
27
- "type": {
28
- "text": "number"
29
- },
30
- "default": "300"
31
- },
32
- {
33
- "kind": "class",
34
- "description": "",
35
- "name": "ActionButton",
36
- "slots": [
37
- {
38
- "description": "text label of the Action Button",
39
- "name": ""
40
- },
41
- {
42
- "description": "The icon to use for Action Button",
43
- "name": "icon"
44
- }
45
- ],
46
- "members": [
47
- {
48
- "kind": "field",
49
- "name": "emphasized",
50
- "type": {
51
- "text": "boolean"
52
- },
53
- "privacy": "public",
54
- "default": "false",
55
- "attribute": "emphasized",
56
- "reflects": true
57
- },
58
- {
59
- "kind": "field",
60
- "name": "holdAffordance",
61
- "type": {
62
- "text": "boolean"
63
- },
64
- "privacy": "public",
65
- "default": "false",
66
- "attribute": "hold-affordance",
67
- "reflects": true
68
- },
69
- {
70
- "kind": "field",
71
- "name": "quiet",
72
- "type": {
73
- "text": "boolean"
74
- },
75
- "privacy": "public",
76
- "default": "false",
77
- "attribute": "quiet",
78
- "reflects": true
79
- },
80
- {
81
- "kind": "field",
82
- "name": "role",
83
- "type": {
84
- "text": "string"
85
- },
86
- "privacy": "public",
87
- "default": "'button'",
88
- "attribute": "role",
89
- "reflects": true
90
- },
91
- {
92
- "kind": "field",
93
- "name": "selected",
94
- "type": {
95
- "text": "boolean"
96
- },
97
- "privacy": "public",
98
- "default": "false",
99
- "description": "Whether an Action Button with `role='button'`\nshould also be `aria-pressed='true'`",
100
- "attribute": "selected",
101
- "reflects": true
102
- },
103
- {
104
- "kind": "field",
105
- "name": "toggles",
106
- "type": {
107
- "text": "boolean"
108
- },
109
- "privacy": "public",
110
- "default": "false",
111
- "description": "Whether to automatically manage the `selected`\nattribute on interaction and whether `aria-pressed=\"false\"`\nshould be used when `selected === false`",
112
- "attribute": "toggles",
113
- "reflects": true
114
- },
115
- {
116
- "kind": "field",
117
- "name": "variant",
118
- "type": {
119
- "text": "'white' | 'black' | undefined"
120
- },
121
- "privacy": "public",
122
- "attribute": "variant",
123
- "reflects": true
124
- },
125
- {
126
- "kind": "field",
127
- "name": "value",
128
- "type": {
129
- "text": "string"
130
- },
131
- "privacy": "public",
132
- "attribute": "value"
133
- },
134
- {
135
- "kind": "field",
136
- "name": "_value",
137
- "type": {
138
- "text": "string"
139
- },
140
- "privacy": "private",
141
- "default": "''"
142
- },
143
- {
144
- "kind": "field",
145
- "name": "itemText",
146
- "type": {
147
- "text": "string"
148
- },
149
- "privacy": "private"
150
- },
151
- {
152
- "kind": "field",
153
- "name": "onClick",
154
- "privacy": "private"
155
- },
156
- {
157
- "kind": "method",
158
- "name": "onPointerdown",
159
- "privacy": "private",
160
- "return": {
161
- "type": {
162
- "text": "void"
163
- }
164
- },
165
- "parameters": [
166
- {
167
- "name": "event",
168
- "type": {
169
- "text": "PointerEvent"
170
- }
171
- }
172
- ]
173
- },
174
- {
175
- "kind": "method",
176
- "name": "onPointerup",
177
- "privacy": "private",
178
- "return": {
179
- "type": {
180
- "text": "void"
181
- }
182
- }
183
- },
184
- {
185
- "kind": "method",
186
- "name": "handleKeydown",
187
- "privacy": "private",
188
- "return": {
189
- "type": {
190
- "text": "void"
191
- }
192
- },
193
- "parameters": [
194
- {
195
- "name": "event",
196
- "type": {
197
- "text": "KeyboardEvent"
198
- }
199
- }
200
- ]
201
- },
202
- {
203
- "kind": "method",
204
- "name": "handleKeyup",
205
- "privacy": "protected",
206
- "return": {
207
- "type": {
208
- "text": "void"
209
- }
210
- },
211
- "parameters": [
212
- {
213
- "name": "event",
214
- "type": {
215
- "text": "KeyboardEvent"
216
- }
217
- }
218
- ]
219
- },
220
- {
221
- "kind": "field",
222
- "name": "buttonContent",
223
- "type": {
224
- "text": "TemplateResult[]"
225
- },
226
- "privacy": "protected"
227
- }
228
- ],
229
- "events": [
230
- {
231
- "name": "longpress",
232
- "type": {
233
- "text": "CustomEvent"
234
- },
235
- "description": "Synthesizes a \"longpress\" interaction that signifies a `pointerdown` event that is >=300ms or a keyboard event wher code is `Space` or code is `ArrowDown` while `altKey===true`."
236
- },
237
- {
238
- "description": "Announces a change in the `selected` property of an action button",
239
- "name": "change"
240
- }
241
- ],
242
- "attributes": [
243
- {
244
- "name": "emphasized",
245
- "type": {
246
- "text": "boolean"
247
- },
248
- "default": "false",
249
- "fieldName": "emphasized"
250
- },
251
- {
252
- "name": "hold-affordance",
253
- "type": {
254
- "text": "boolean"
255
- },
256
- "default": "false",
257
- "fieldName": "holdAffordance"
258
- },
259
- {
260
- "name": "quiet",
261
- "type": {
262
- "text": "boolean"
263
- },
264
- "default": "false",
265
- "fieldName": "quiet"
266
- },
267
- {
268
- "name": "role",
269
- "type": {
270
- "text": "string"
271
- },
272
- "default": "'button'",
273
- "fieldName": "role"
274
- },
275
- {
276
- "name": "selected",
277
- "type": {
278
- "text": "boolean"
279
- },
280
- "default": "false",
281
- "description": "Whether an Action Button with `role='button'`\nshould also be `aria-pressed='true'`",
282
- "fieldName": "selected"
283
- },
284
- {
285
- "name": "toggles",
286
- "type": {
287
- "text": "boolean"
288
- },
289
- "default": "false",
290
- "description": "Whether to automatically manage the `selected`\nattribute on interaction and whether `aria-pressed=\"false\"`\nshould be used when `selected === false`",
291
- "fieldName": "toggles"
292
- },
293
- {
294
- "name": "variant",
295
- "type": {
296
- "text": "'white' | 'black' | undefined"
297
- },
298
- "fieldName": "variant"
299
- },
300
- {
301
- "name": "value",
302
- "type": {
303
- "text": "string"
304
- },
305
- "fieldName": "value"
306
- }
307
- ],
308
- "mixins": [
309
- {
310
- "name": "SizedMixin",
311
- "package": "@spectrum-web-components/base"
312
- }
313
- ],
314
- "superclass": {
315
- "name": "ButtonBase",
316
- "package": "@spectrum-web-components/button"
317
- },
318
- "tagName": "sp-action-button",
319
- "customElement": true
320
- }
321
- ],
322
- "exports": [
323
- {
324
- "kind": "js",
325
- "name": "LONGPRESS_DURATION",
326
- "declaration": {
327
- "name": "LONGPRESS_DURATION",
328
- "module": "src/ActionButton.js"
329
- }
330
- },
331
- {
332
- "kind": "js",
333
- "name": "ActionButton",
334
- "declaration": {
335
- "name": "ActionButton",
336
- "module": "src/ActionButton.js"
337
- }
338
- }
339
- ]
340
- }
341
- ]
342
- }