@spectrum-web-components/card 0.13.7-react.48 → 0.13.7-react.50

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,485 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "sp-card.ts",
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.ts",
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
+ },
176
+ {
177
+ "kind": "field",
178
+ "name": "hasPreview",
179
+ "type": {
180
+ "text": "boolean"
181
+ },
182
+ "privacy": "protected"
183
+ },
184
+ {
185
+ "kind": "method",
186
+ "name": "click",
187
+ "privacy": "public",
188
+ "return": {
189
+ "type": {
190
+ "text": "void"
191
+ }
192
+ }
193
+ },
194
+ {
195
+ "kind": "field",
196
+ "name": "handleFocusin",
197
+ "privacy": "private"
198
+ },
199
+ {
200
+ "kind": "method",
201
+ "name": "handleFocusout",
202
+ "privacy": "private",
203
+ "return": {
204
+ "type": {
205
+ "text": "void"
206
+ }
207
+ },
208
+ "parameters": [
209
+ {
210
+ "name": "event",
211
+ "type": {
212
+ "text": "Event"
213
+ }
214
+ }
215
+ ]
216
+ },
217
+ {
218
+ "kind": "method",
219
+ "name": "handleKeydown",
220
+ "privacy": "private",
221
+ "return": {
222
+ "type": {
223
+ "text": "void"
224
+ }
225
+ },
226
+ "parameters": [
227
+ {
228
+ "name": "event",
229
+ "type": {
230
+ "text": "KeyboardEvent"
231
+ }
232
+ }
233
+ ]
234
+ },
235
+ {
236
+ "kind": "method",
237
+ "name": "handleSelectedChange",
238
+ "privacy": "private",
239
+ "return": {
240
+ "type": {
241
+ "text": "void"
242
+ }
243
+ },
244
+ "parameters": [
245
+ {
246
+ "name": "event",
247
+ "type": {
248
+ "text": "Event & { target: Checkbox }"
249
+ }
250
+ }
251
+ ]
252
+ },
253
+ {
254
+ "kind": "method",
255
+ "name": "toggleSelected",
256
+ "privacy": "public",
257
+ "return": {
258
+ "type": {
259
+ "text": "void"
260
+ }
261
+ }
262
+ },
263
+ {
264
+ "kind": "method",
265
+ "name": "announceChange",
266
+ "privacy": "private",
267
+ "return": {
268
+ "type": {
269
+ "text": "void"
270
+ }
271
+ }
272
+ },
273
+ {
274
+ "kind": "method",
275
+ "name": "stopPropagationOnHref",
276
+ "privacy": "private",
277
+ "return": {
278
+ "type": {
279
+ "text": "void"
280
+ }
281
+ },
282
+ "parameters": [
283
+ {
284
+ "name": "event",
285
+ "type": {
286
+ "text": "Event"
287
+ }
288
+ }
289
+ ]
290
+ },
291
+ {
292
+ "kind": "method",
293
+ "name": "handlePointerdown",
294
+ "privacy": "private",
295
+ "return": {
296
+ "type": {
297
+ "text": "void"
298
+ }
299
+ },
300
+ "parameters": [
301
+ {
302
+ "name": "event",
303
+ "type": {
304
+ "text": "Event"
305
+ }
306
+ }
307
+ ]
308
+ },
309
+ {
310
+ "kind": "field",
311
+ "name": "renderHeading",
312
+ "type": {
313
+ "text": "TemplateResult"
314
+ },
315
+ "privacy": "protected"
316
+ },
317
+ {
318
+ "kind": "field",
319
+ "name": "renderPreviewImage",
320
+ "type": {
321
+ "text": "TemplateResult"
322
+ },
323
+ "privacy": "protected"
324
+ },
325
+ {
326
+ "kind": "field",
327
+ "name": "renderCoverImage",
328
+ "type": {
329
+ "text": "TemplateResult"
330
+ },
331
+ "privacy": "protected"
332
+ },
333
+ {
334
+ "kind": "field",
335
+ "name": "images",
336
+ "type": {
337
+ "text": "TemplateResult[]"
338
+ },
339
+ "privacy": "protected"
340
+ },
341
+ {
342
+ "kind": "method",
343
+ "name": "renderImage",
344
+ "privacy": "private",
345
+ "return": {
346
+ "type": {
347
+ "text": "TemplateResult[]"
348
+ }
349
+ }
350
+ },
351
+ {
352
+ "kind": "field",
353
+ "name": "renderSubtitleAndDescription",
354
+ "type": {
355
+ "text": "TemplateResult"
356
+ },
357
+ "privacy": "private"
358
+ }
359
+ ],
360
+ "events": [
361
+ {
362
+ "name": "click",
363
+ "type": {
364
+ "text": "Event"
365
+ }
366
+ },
367
+ {
368
+ "name": "change",
369
+ "type": {
370
+ "text": "Event"
371
+ },
372
+ "description": "Announces a change in the `selected` property of a card"
373
+ }
374
+ ],
375
+ "attributes": [
376
+ {
377
+ "name": "asset",
378
+ "type": {
379
+ "text": "'file' | 'folder' | undefined"
380
+ },
381
+ "fieldName": "asset"
382
+ },
383
+ {
384
+ "name": "variant",
385
+ "type": {
386
+ "text": "'standard' | 'gallery' | 'quiet'"
387
+ },
388
+ "default": "'standard'",
389
+ "fieldName": "variant"
390
+ },
391
+ {
392
+ "name": "selected",
393
+ "type": {
394
+ "text": "boolean"
395
+ },
396
+ "fieldName": "selected"
397
+ },
398
+ {
399
+ "name": "heading",
400
+ "type": {
401
+ "text": "string"
402
+ },
403
+ "default": "''",
404
+ "fieldName": "heading"
405
+ },
406
+ {
407
+ "name": "horizontal",
408
+ "type": {
409
+ "text": "boolean"
410
+ },
411
+ "default": "false",
412
+ "fieldName": "horizontal"
413
+ },
414
+ {
415
+ "name": "focused",
416
+ "type": {
417
+ "text": "boolean"
418
+ },
419
+ "default": "false",
420
+ "fieldName": "focused"
421
+ },
422
+ {
423
+ "name": "toggles",
424
+ "type": {
425
+ "text": "boolean"
426
+ },
427
+ "default": "false",
428
+ "fieldName": "toggles"
429
+ },
430
+ {
431
+ "name": "value",
432
+ "type": {
433
+ "text": "string"
434
+ },
435
+ "default": "''",
436
+ "fieldName": "value"
437
+ },
438
+ {
439
+ "name": "subheading",
440
+ "type": {
441
+ "text": "string"
442
+ },
443
+ "default": "''",
444
+ "fieldName": "subheading"
445
+ }
446
+ ],
447
+ "mixins": [
448
+ {
449
+ "name": "LikeAnchor",
450
+ "package": "@spectrum-web-components/shared/src/like-anchor.js"
451
+ },
452
+ {
453
+ "name": "SizedMixin",
454
+ "package": "@spectrum-web-components/base"
455
+ },
456
+ {
457
+ "name": "ObserveSlotPresence",
458
+ "package": "@spectrum-web-components/shared/src/observe-slot-presence.js"
459
+ },
460
+ {
461
+ "name": "FocusVisiblePolyfillMixin",
462
+ "package": "@spectrum-web-components/shared/src/focus-visible.js"
463
+ }
464
+ ],
465
+ "superclass": {
466
+ "name": "SpectrumElement",
467
+ "package": "@spectrum-web-components/base"
468
+ },
469
+ "tagName": "sp-card",
470
+ "customElement": true
471
+ }
472
+ ],
473
+ "exports": [
474
+ {
475
+ "kind": "js",
476
+ "name": "Card",
477
+ "declaration": {
478
+ "name": "Card",
479
+ "module": "src/Card.ts"
480
+ }
481
+ }
482
+ ]
483
+ }
484
+ ]
485
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/card",
3
- "version": "0.13.7-react.48+e4fada004",
3
+ "version": "0.13.7-react.50+474992be7",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -57,13 +57,13 @@
57
57
  "lit-html"
58
58
  ],
59
59
  "dependencies": {
60
- "@spectrum-web-components/asset": "^0.7.6-react.48+e4fada004",
61
- "@spectrum-web-components/base": "^0.7.5-react.48+e4fada004",
62
- "@spectrum-web-components/checkbox": "^0.14.9-react.48+e4fada004",
63
- "@spectrum-web-components/icons-workflow": "^0.9.8-react.48+e4fada004",
64
- "@spectrum-web-components/quick-actions": "^0.7.6-react.48+e4fada004",
65
- "@spectrum-web-components/shared": "^0.15.6-react.48+e4fada004",
66
- "@spectrum-web-components/styles": "^0.22.3-react.48+e4fada004"
60
+ "@spectrum-web-components/asset": "^0.7.6-react.50+474992be7",
61
+ "@spectrum-web-components/base": "^0.7.5-react.50+474992be7",
62
+ "@spectrum-web-components/checkbox": "^0.14.9-react.50+474992be7",
63
+ "@spectrum-web-components/icons-workflow": "^0.9.8-react.50+474992be7",
64
+ "@spectrum-web-components/quick-actions": "^0.7.6-react.50+474992be7",
65
+ "@spectrum-web-components/shared": "^0.15.6-react.50+474992be7",
66
+ "@spectrum-web-components/styles": "^0.22.3-react.50+474992be7"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@spectrum-css/card": "^5.0.5"
@@ -74,5 +74,5 @@
74
74
  "./sp-*.js",
75
75
  "./**/*.dev.js"
76
76
  ],
77
- "gitHead": "e4fada0040dcaf1e1267f2159f366ec708cb2d09"
77
+ "gitHead": "474992be7513cad160eeeec0b522600243babc70"
78
78
  }