@spectrum-web-components/card 0.49.0 → 0.50.0-beta.0

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 (2) hide show
  1. package/package.json +10 -10
  2. package/custom-elements.json +0 -492
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/card",
3
- "version": "0.49.0",
3
+ "version": "0.50.0-beta.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -57,14 +57,14 @@
57
57
  "lit-html"
58
58
  ],
59
59
  "dependencies": {
60
- "@spectrum-web-components/asset": "^0.49.0",
61
- "@spectrum-web-components/base": "^0.49.0",
62
- "@spectrum-web-components/checkbox": "^0.49.0",
63
- "@spectrum-web-components/divider": "^0.49.0",
64
- "@spectrum-web-components/icons-workflow": "^0.49.0",
65
- "@spectrum-web-components/quick-actions": "^0.49.0",
66
- "@spectrum-web-components/shared": "^0.49.0",
67
- "@spectrum-web-components/styles": "^0.49.0"
60
+ "@spectrum-web-components/asset": "^0.50.0-beta.0",
61
+ "@spectrum-web-components/base": "^0.50.0-beta.0",
62
+ "@spectrum-web-components/checkbox": "^0.50.0-beta.0",
63
+ "@spectrum-web-components/divider": "^0.50.0-beta.0",
64
+ "@spectrum-web-components/icons-workflow": "^0.50.0-beta.0",
65
+ "@spectrum-web-components/quick-actions": "^0.50.0-beta.0",
66
+ "@spectrum-web-components/shared": "^0.50.0-beta.0",
67
+ "@spectrum-web-components/styles": "^0.50.0-beta.0"
68
68
  },
69
69
  "devDependencies": {
70
70
  "@spectrum-css/card": "^8.1.1"
@@ -75,5 +75,5 @@
75
75
  "./sp-*.js",
76
76
  "./**/*.dev.js"
77
77
  ],
78
- "gitHead": "088e84caa1e2f723d735b011608ca0a3411e2149"
78
+ "gitHead": "c3e248b4de0be546f3fb6bdfb26c9f711676b9c3"
79
79
  }
@@ -1,492 +0,0 @@
1
- {
2
- "schemaVersion": "1.0.0",
3
- "readme": "",
4
- "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "sp-card.js",
8
- "declarations": [],
9
- "exports": [
10
- {
11
- "kind": "custom-element-definition",
12
- "name": "sp-card",
13
- "declaration": {
14
- "name": "Card",
15
- "module": "/src/Card.js"
16
- }
17
- }
18
- ]
19
- },
20
- {
21
- "kind": "javascript-module",
22
- "path": "src/Card.js",
23
- "declarations": [
24
- {
25
- "kind": "class",
26
- "description": "",
27
- "name": "Card",
28
- "slots": [
29
- {
30
- "description": "This is the preview image for Gallery Cards",
31
- "name": "preview"
32
- },
33
- {
34
- "description": "This is the cover photo for Default and Quiet Cards",
35
- "name": "cover-photo"
36
- },
37
- {
38
- "description": "HTML content to be listed as the heading",
39
- "name": "heading"
40
- },
41
- {
42
- "description": "HTML content to be listed as the subheading",
43
- "name": "subheading"
44
- },
45
- {
46
- "description": "A description of the card",
47
- "name": "description"
48
- },
49
- {
50
- "description": "an `sp-action-menu` element outlining actions to take on the represened object",
51
- "name": "actions"
52
- },
53
- {
54
- "description": "Footer text",
55
- "name": "footer"
56
- }
57
- ],
58
- "members": [
59
- {
60
- "kind": "field",
61
- "name": "asset",
62
- "type": {
63
- "text": "'file' | 'folder' | undefined"
64
- },
65
- "privacy": "public",
66
- "attribute": "asset"
67
- },
68
- {
69
- "kind": "field",
70
- "name": "variant",
71
- "type": {
72
- "text": "'standard' | 'gallery' | 'quiet'"
73
- },
74
- "privacy": "public",
75
- "default": "'standard'",
76
- "attribute": "variant",
77
- "reflects": true
78
- },
79
- {
80
- "kind": "field",
81
- "name": "selected",
82
- "type": {
83
- "text": "boolean"
84
- },
85
- "attribute": "selected",
86
- "reflects": true
87
- },
88
- {
89
- "kind": "field",
90
- "name": "_selected",
91
- "type": {
92
- "text": "boolean"
93
- },
94
- "privacy": "private",
95
- "default": "false"
96
- },
97
- {
98
- "kind": "field",
99
- "name": "heading",
100
- "type": {
101
- "text": "string"
102
- },
103
- "privacy": "public",
104
- "default": "''",
105
- "attribute": "heading"
106
- },
107
- {
108
- "kind": "field",
109
- "name": "horizontal",
110
- "type": {
111
- "text": "boolean"
112
- },
113
- "privacy": "public",
114
- "default": "false",
115
- "attribute": "horizontal",
116
- "reflects": true
117
- },
118
- {
119
- "kind": "field",
120
- "name": "likeAnchor",
121
- "type": {
122
- "text": "HTMLAnchorElement | undefined"
123
- },
124
- "privacy": "private"
125
- },
126
- {
127
- "kind": "field",
128
- "name": "focused",
129
- "type": {
130
- "text": "boolean"
131
- },
132
- "privacy": "public",
133
- "default": "false",
134
- "attribute": "focused",
135
- "reflects": true
136
- },
137
- {
138
- "kind": "field",
139
- "name": "toggles",
140
- "type": {
141
- "text": "boolean"
142
- },
143
- "privacy": "public",
144
- "default": "false",
145
- "attribute": "toggles",
146
- "reflects": true
147
- },
148
- {
149
- "kind": "field",
150
- "name": "value",
151
- "type": {
152
- "text": "string"
153
- },
154
- "privacy": "public",
155
- "default": "''",
156
- "attribute": "value"
157
- },
158
- {
159
- "kind": "field",
160
- "name": "subheading",
161
- "type": {
162
- "text": "string"
163
- },
164
- "privacy": "public",
165
- "default": "''",
166
- "attribute": "subheading"
167
- },
168
- {
169
- "kind": "field",
170
- "name": "hasCoverPhoto",
171
- "type": {
172
- "text": "boolean"
173
- },
174
- "privacy": "protected",
175
- "readonly": true
176
- },
177
- {
178
- "kind": "field",
179
- "name": "hasPreview",
180
- "type": {
181
- "text": "boolean"
182
- },
183
- "privacy": "protected",
184
- "readonly": true
185
- },
186
- {
187
- "kind": "method",
188
- "name": "click",
189
- "privacy": "public",
190
- "return": {
191
- "type": {
192
- "text": "void"
193
- }
194
- }
195
- },
196
- {
197
- "kind": "field",
198
- "name": "handleFocusin",
199
- "privacy": "private"
200
- },
201
- {
202
- "kind": "method",
203
- "name": "handleFocusout",
204
- "privacy": "private",
205
- "return": {
206
- "type": {
207
- "text": "void"
208
- }
209
- },
210
- "parameters": [
211
- {
212
- "name": "event",
213
- "type": {
214
- "text": "Event"
215
- }
216
- }
217
- ]
218
- },
219
- {
220
- "kind": "method",
221
- "name": "handleKeydown",
222
- "privacy": "private",
223
- "return": {
224
- "type": {
225
- "text": "void"
226
- }
227
- },
228
- "parameters": [
229
- {
230
- "name": "event",
231
- "type": {
232
- "text": "KeyboardEvent"
233
- }
234
- }
235
- ]
236
- },
237
- {
238
- "kind": "method",
239
- "name": "handleSelectedChange",
240
- "privacy": "private",
241
- "return": {
242
- "type": {
243
- "text": "void"
244
- }
245
- },
246
- "parameters": [
247
- {
248
- "name": "event",
249
- "type": {
250
- "text": "Event & { target: Checkbox }"
251
- }
252
- }
253
- ]
254
- },
255
- {
256
- "kind": "method",
257
- "name": "toggleSelected",
258
- "privacy": "public",
259
- "return": {
260
- "type": {
261
- "text": "void"
262
- }
263
- }
264
- },
265
- {
266
- "kind": "method",
267
- "name": "announceChange",
268
- "privacy": "private",
269
- "return": {
270
- "type": {
271
- "text": "void"
272
- }
273
- }
274
- },
275
- {
276
- "kind": "method",
277
- "name": "stopPropagationOnHref",
278
- "privacy": "private",
279
- "return": {
280
- "type": {
281
- "text": "void"
282
- }
283
- },
284
- "parameters": [
285
- {
286
- "name": "event",
287
- "type": {
288
- "text": "Event"
289
- }
290
- }
291
- ]
292
- },
293
- {
294
- "kind": "method",
295
- "name": "handlePointerdown",
296
- "privacy": "private",
297
- "return": {
298
- "type": {
299
- "text": "void"
300
- }
301
- },
302
- "parameters": [
303
- {
304
- "name": "event",
305
- "type": {
306
- "text": "Event"
307
- }
308
- }
309
- ]
310
- },
311
- {
312
- "kind": "field",
313
- "name": "renderHeading",
314
- "type": {
315
- "text": "TemplateResult"
316
- },
317
- "privacy": "protected",
318
- "readonly": true
319
- },
320
- {
321
- "kind": "field",
322
- "name": "renderPreviewImage",
323
- "type": {
324
- "text": "TemplateResult"
325
- },
326
- "privacy": "protected",
327
- "readonly": true
328
- },
329
- {
330
- "kind": "field",
331
- "name": "renderCoverImage",
332
- "type": {
333
- "text": "TemplateResult"
334
- },
335
- "privacy": "protected",
336
- "readonly": true
337
- },
338
- {
339
- "kind": "field",
340
- "name": "images",
341
- "type": {
342
- "text": "TemplateResult[]"
343
- },
344
- "privacy": "protected",
345
- "readonly": true
346
- },
347
- {
348
- "kind": "method",
349
- "name": "renderImage",
350
- "privacy": "private",
351
- "return": {
352
- "type": {
353
- "text": "TemplateResult[]"
354
- }
355
- }
356
- },
357
- {
358
- "kind": "field",
359
- "name": "renderSubtitleAndDescription",
360
- "type": {
361
- "text": "TemplateResult"
362
- },
363
- "privacy": "private",
364
- "readonly": true
365
- }
366
- ],
367
- "events": [
368
- {
369
- "name": "click",
370
- "type": {
371
- "text": "Event"
372
- }
373
- },
374
- {
375
- "name": "change",
376
- "type": {
377
- "text": "Event"
378
- },
379
- "description": "Announces a change in the `selected` property of a card"
380
- }
381
- ],
382
- "attributes": [
383
- {
384
- "name": "asset",
385
- "type": {
386
- "text": "'file' | 'folder' | undefined"
387
- },
388
- "fieldName": "asset"
389
- },
390
- {
391
- "name": "variant",
392
- "type": {
393
- "text": "'standard' | 'gallery' | 'quiet'"
394
- },
395
- "default": "'standard'",
396
- "fieldName": "variant"
397
- },
398
- {
399
- "name": "selected",
400
- "type": {
401
- "text": "boolean"
402
- },
403
- "fieldName": "selected"
404
- },
405
- {
406
- "name": "heading",
407
- "type": {
408
- "text": "string"
409
- },
410
- "default": "''",
411
- "fieldName": "heading"
412
- },
413
- {
414
- "name": "horizontal",
415
- "type": {
416
- "text": "boolean"
417
- },
418
- "default": "false",
419
- "fieldName": "horizontal"
420
- },
421
- {
422
- "name": "focused",
423
- "type": {
424
- "text": "boolean"
425
- },
426
- "default": "false",
427
- "fieldName": "focused"
428
- },
429
- {
430
- "name": "toggles",
431
- "type": {
432
- "text": "boolean"
433
- },
434
- "default": "false",
435
- "fieldName": "toggles"
436
- },
437
- {
438
- "name": "value",
439
- "type": {
440
- "text": "string"
441
- },
442
- "default": "''",
443
- "fieldName": "value"
444
- },
445
- {
446
- "name": "subheading",
447
- "type": {
448
- "text": "string"
449
- },
450
- "default": "''",
451
- "fieldName": "subheading"
452
- }
453
- ],
454
- "mixins": [
455
- {
456
- "name": "LikeAnchor",
457
- "package": "@spectrum-web-components/shared/src/like-anchor.js"
458
- },
459
- {
460
- "name": "SizedMixin",
461
- "package": "@spectrum-web-components/base"
462
- },
463
- {
464
- "name": "ObserveSlotPresence",
465
- "package": "@spectrum-web-components/shared/src/observe-slot-presence.js"
466
- },
467
- {
468
- "name": "FocusVisiblePolyfillMixin",
469
- "package": "@spectrum-web-components/shared/src/focus-visible.js"
470
- }
471
- ],
472
- "superclass": {
473
- "name": "SpectrumElement",
474
- "package": "@spectrum-web-components/base"
475
- },
476
- "tagName": "sp-card",
477
- "customElement": true
478
- }
479
- ],
480
- "exports": [
481
- {
482
- "kind": "js",
483
- "name": "Card",
484
- "declaration": {
485
- "name": "Card",
486
- "module": "src/Card.js"
487
- }
488
- }
489
- ]
490
- }
491
- ]
492
- }