@spectrum-web-components/card 0.31.1-overlay.29 → 0.31.1-react.2

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