@spectrum-web-components/coachmark 0.48.0-beta.2 → 0.48.1

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/custom-elements.json +525 -0
  2. package/package.json +11 -11
@@ -0,0 +1,525 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "sp-coach-indicator.js",
8
+ "declarations": [],
9
+ "exports": [
10
+ {
11
+ "kind": "custom-element-definition",
12
+ "name": "sp-coach-indicator",
13
+ "declaration": {
14
+ "name": "CoachIndicator",
15
+ "module": "/src/CoachIndicator.js"
16
+ }
17
+ }
18
+ ]
19
+ },
20
+ {
21
+ "kind": "javascript-module",
22
+ "path": "sp-coachmark.js",
23
+ "declarations": [],
24
+ "exports": [
25
+ {
26
+ "kind": "custom-element-definition",
27
+ "name": "sp-coachmark",
28
+ "declaration": {
29
+ "name": "Coachmark",
30
+ "module": "/src/Coachmark.js"
31
+ }
32
+ }
33
+ ]
34
+ },
35
+ {
36
+ "kind": "javascript-module",
37
+ "path": "src/CoachIndicator.js",
38
+ "declarations": [
39
+ {
40
+ "kind": "class",
41
+ "description": "",
42
+ "name": "CoachIndicator",
43
+ "members": [
44
+ {
45
+ "kind": "field",
46
+ "name": "quiet",
47
+ "type": {
48
+ "text": "boolean"
49
+ },
50
+ "privacy": "public",
51
+ "default": "false",
52
+ "attribute": "quiet",
53
+ "reflects": true
54
+ },
55
+ {
56
+ "kind": "field",
57
+ "name": "static",
58
+ "type": {
59
+ "text": "'white' | 'black' | undefined"
60
+ },
61
+ "privacy": "public",
62
+ "attribute": "static",
63
+ "reflects": true
64
+ },
65
+ {
66
+ "kind": "field",
67
+ "name": "variant",
68
+ "type": {
69
+ "text": "'white' | 'black' | undefined"
70
+ },
71
+ "privacy": "public",
72
+ "attribute": "variant",
73
+ "reflects": true
74
+ }
75
+ ],
76
+ "attributes": [
77
+ {
78
+ "name": "quiet",
79
+ "type": {
80
+ "text": "boolean"
81
+ },
82
+ "default": "false",
83
+ "fieldName": "quiet"
84
+ },
85
+ {
86
+ "name": "static",
87
+ "type": {
88
+ "text": "'white' | 'black' | undefined"
89
+ },
90
+ "fieldName": "static"
91
+ },
92
+ {
93
+ "name": "variant",
94
+ "type": {
95
+ "text": "'white' | 'black' | undefined"
96
+ },
97
+ "fieldName": "variant"
98
+ }
99
+ ],
100
+ "superclass": {
101
+ "name": "SpectrumElement",
102
+ "package": "@spectrum-web-components/base"
103
+ },
104
+ "tagName": "sp-coach-indicator",
105
+ "customElement": true
106
+ }
107
+ ],
108
+ "exports": [
109
+ {
110
+ "kind": "js",
111
+ "name": "CoachIndicator",
112
+ "declaration": {
113
+ "name": "CoachIndicator",
114
+ "module": "src/CoachIndicator.js"
115
+ }
116
+ }
117
+ ]
118
+ },
119
+ {
120
+ "kind": "javascript-module",
121
+ "path": "src/Coachmark.js",
122
+ "declarations": [
123
+ {
124
+ "kind": "class",
125
+ "description": "",
126
+ "name": "Coachmark",
127
+ "slots": [
128
+ {
129
+ "description": "This is the cover photo for Default and Quiet Coachmark",
130
+ "name": "cover-photo"
131
+ },
132
+ {
133
+ "description": "HTML content to be listed as the heading",
134
+ "name": "heading"
135
+ },
136
+ {
137
+ "description": "A description of the card",
138
+ "name": "description"
139
+ },
140
+ {
141
+ "description": "an `sp-action-menu` element outlining actions to take on the represened object",
142
+ "name": "actions"
143
+ },
144
+ {
145
+ "description": "Override the default pagination delivery with your own internationalized content",
146
+ "name": "step-count"
147
+ }
148
+ ],
149
+ "members": [
150
+ {
151
+ "kind": "field",
152
+ "name": "item",
153
+ "type": {
154
+ "text": "CoachmarkItem | undefined"
155
+ },
156
+ "privacy": "public",
157
+ "attribute": "item"
158
+ },
159
+ {
160
+ "kind": "field",
161
+ "name": "placement",
162
+ "type": {
163
+ "text": "Placement"
164
+ },
165
+ "privacy": "public",
166
+ "default": "'right'",
167
+ "attribute": "placement"
168
+ },
169
+ {
170
+ "kind": "field",
171
+ "name": "content",
172
+ "type": {
173
+ "text": "{\n title?: string;\n description?: string;\n imageAlt?: string;\n } | undefined"
174
+ },
175
+ "privacy": "private"
176
+ },
177
+ {
178
+ "kind": "field",
179
+ "name": "shortcutKey",
180
+ "type": {
181
+ "text": "string | undefined"
182
+ },
183
+ "privacy": "private",
184
+ "attribute": "shortcut-key"
185
+ },
186
+ {
187
+ "kind": "field",
188
+ "name": "modifierKeys",
189
+ "type": {
190
+ "text": "string[] | undefined"
191
+ },
192
+ "privacy": "public",
193
+ "default": "[]",
194
+ "attribute": "modifierKeys"
195
+ },
196
+ {
197
+ "kind": "field",
198
+ "name": "source",
199
+ "type": {
200
+ "text": "string | undefined"
201
+ },
202
+ "privacy": "private",
203
+ "attribute": "src"
204
+ },
205
+ {
206
+ "kind": "field",
207
+ "name": "mediaType",
208
+ "type": {
209
+ "text": "MediaType | undefined"
210
+ },
211
+ "privacy": "private",
212
+ "attribute": "media-type"
213
+ },
214
+ {
215
+ "kind": "field",
216
+ "name": "hasAsset",
217
+ "type": {
218
+ "text": "boolean"
219
+ },
220
+ "privacy": "public",
221
+ "default": "false",
222
+ "attribute": "has-asset",
223
+ "reflects": true
224
+ },
225
+ {
226
+ "kind": "field",
227
+ "name": "asset",
228
+ "type": {
229
+ "text": "'file' | 'folder' | undefined"
230
+ },
231
+ "privacy": "public",
232
+ "attribute": "asset"
233
+ },
234
+ {
235
+ "kind": "field",
236
+ "name": "currentStep",
237
+ "type": {
238
+ "text": "number | undefined"
239
+ },
240
+ "privacy": "public",
241
+ "attribute": "current-step"
242
+ },
243
+ {
244
+ "kind": "field",
245
+ "name": "totalSteps",
246
+ "type": {
247
+ "text": "number | undefined"
248
+ },
249
+ "privacy": "public",
250
+ "attribute": "total-steps"
251
+ },
252
+ {
253
+ "kind": "field",
254
+ "name": "primaryCTA",
255
+ "type": {
256
+ "text": "string | undefined"
257
+ },
258
+ "attribute": "primary-cta"
259
+ },
260
+ {
261
+ "kind": "field",
262
+ "name": "secondaryCTA",
263
+ "type": {
264
+ "text": "string | undefined"
265
+ },
266
+ "attribute": "secondary-cta"
267
+ },
268
+ {
269
+ "kind": "method",
270
+ "name": "renderMedia",
271
+ "privacy": "private",
272
+ "return": {
273
+ "type": {
274
+ "text": "TemplateResult"
275
+ }
276
+ }
277
+ },
278
+ {
279
+ "kind": "method",
280
+ "name": "renderModifier",
281
+ "privacy": "private",
282
+ "return": {
283
+ "type": {
284
+ "text": "TemplateResult"
285
+ }
286
+ },
287
+ "parameters": [
288
+ {
289
+ "name": "modifierKey",
290
+ "type": {
291
+ "text": "string"
292
+ }
293
+ },
294
+ {
295
+ "name": "type",
296
+ "default": "'modifier'",
297
+ "type": {
298
+ "text": "'modifier' | 'shortcut'"
299
+ }
300
+ }
301
+ ]
302
+ },
303
+ {
304
+ "kind": "method",
305
+ "name": "renderJoiner",
306
+ "privacy": "private",
307
+ "return": {
308
+ "type": {
309
+ "text": "TemplateResult"
310
+ }
311
+ }
312
+ },
313
+ {
314
+ "kind": "method",
315
+ "name": "renderHeader",
316
+ "privacy": "private",
317
+ "return": {
318
+ "type": {
319
+ "text": "TemplateResult"
320
+ }
321
+ }
322
+ },
323
+ {
324
+ "kind": "method",
325
+ "name": "renderContent",
326
+ "privacy": "private",
327
+ "return": {
328
+ "type": {
329
+ "text": "TemplateResult"
330
+ }
331
+ }
332
+ },
333
+ {
334
+ "kind": "method",
335
+ "name": "handlePrimaryCTA",
336
+ "privacy": "private",
337
+ "return": {
338
+ "type": {
339
+ "text": "void"
340
+ }
341
+ }
342
+ },
343
+ {
344
+ "kind": "method",
345
+ "name": "handleSecondaryCTA",
346
+ "privacy": "private",
347
+ "return": {
348
+ "type": {
349
+ "text": "void"
350
+ }
351
+ }
352
+ },
353
+ {
354
+ "kind": "field",
355
+ "name": "renderSecondaryButton",
356
+ "privacy": "private"
357
+ },
358
+ {
359
+ "kind": "field",
360
+ "name": "renderPrimaryButton",
361
+ "privacy": "private"
362
+ },
363
+ {
364
+ "kind": "field",
365
+ "name": "renderSecondaryButtonMobile",
366
+ "privacy": "private"
367
+ },
368
+ {
369
+ "kind": "field",
370
+ "name": "renderPrimaryButtonMobile",
371
+ "privacy": "private"
372
+ },
373
+ {
374
+ "kind": "method",
375
+ "name": "renderButtons",
376
+ "privacy": "protected",
377
+ "return": {
378
+ "type": {
379
+ "text": "TemplateResult"
380
+ }
381
+ }
382
+ },
383
+ {
384
+ "kind": "field",
385
+ "name": "renderSteps",
386
+ "privacy": "protected"
387
+ },
388
+ {
389
+ "kind": "field",
390
+ "name": "renderActionMenu",
391
+ "privacy": "protected"
392
+ }
393
+ ],
394
+ "events": [
395
+ {
396
+ "name": "primary",
397
+ "type": {
398
+ "text": "Event"
399
+ },
400
+ "description": "Announces that the \"primary\" button has been clicked."
401
+ },
402
+ {
403
+ "name": "secondary",
404
+ "type": {
405
+ "text": "Event"
406
+ },
407
+ "description": "Announces that the \"secondary\" button has been clicked."
408
+ }
409
+ ],
410
+ "attributes": [
411
+ {
412
+ "name": "item",
413
+ "type": {
414
+ "text": "CoachmarkItem | undefined"
415
+ },
416
+ "fieldName": "item"
417
+ },
418
+ {
419
+ "name": "placement",
420
+ "type": {
421
+ "text": "Placement"
422
+ },
423
+ "default": "'right'",
424
+ "fieldName": "placement"
425
+ },
426
+ {
427
+ "name": "shortcut-key",
428
+ "type": {
429
+ "text": "string | undefined"
430
+ },
431
+ "fieldName": "shortcutKey"
432
+ },
433
+ {
434
+ "name": "modifierKeys",
435
+ "type": {
436
+ "text": "string[] | undefined"
437
+ },
438
+ "default": "[]",
439
+ "fieldName": "modifierKeys"
440
+ },
441
+ {
442
+ "name": "src",
443
+ "type": {
444
+ "text": "string | undefined"
445
+ },
446
+ "fieldName": "source"
447
+ },
448
+ {
449
+ "name": "media-type",
450
+ "type": {
451
+ "text": "MediaType | undefined"
452
+ },
453
+ "fieldName": "mediaType"
454
+ },
455
+ {
456
+ "name": "has-asset",
457
+ "type": {
458
+ "text": "boolean"
459
+ },
460
+ "default": "false",
461
+ "fieldName": "hasAsset"
462
+ },
463
+ {
464
+ "name": "asset",
465
+ "type": {
466
+ "text": "'file' | 'folder' | undefined"
467
+ },
468
+ "fieldName": "asset"
469
+ },
470
+ {
471
+ "name": "current-step",
472
+ "type": {
473
+ "text": "number | undefined"
474
+ },
475
+ "fieldName": "currentStep"
476
+ },
477
+ {
478
+ "name": "total-steps",
479
+ "type": {
480
+ "text": "number | undefined"
481
+ },
482
+ "fieldName": "totalSteps"
483
+ },
484
+ {
485
+ "name": "primary-cta",
486
+ "type": {
487
+ "text": "string | undefined"
488
+ },
489
+ "fieldName": "primaryCTA"
490
+ },
491
+ {
492
+ "name": "secondary-cta",
493
+ "type": {
494
+ "text": "string | undefined"
495
+ },
496
+ "fieldName": "secondaryCTA"
497
+ }
498
+ ],
499
+ "superclass": {
500
+ "name": "Popover",
501
+ "package": "@spectrum-web-components/popover"
502
+ },
503
+ "tagName": "sp-coachmark",
504
+ "customElement": true
505
+ }
506
+ ],
507
+ "exports": [
508
+ {
509
+ "kind": "js",
510
+ "name": "Coachmark",
511
+ "declaration": {
512
+ "name": "Coachmark",
513
+ "module": "src/Coachmark.js"
514
+ }
515
+ }
516
+ ]
517
+ },
518
+ {
519
+ "kind": "javascript-module",
520
+ "path": "src/CoachmarkItem.js",
521
+ "declarations": [],
522
+ "exports": []
523
+ }
524
+ ]
525
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/coachmark",
3
- "version": "0.48.0-beta.2",
3
+ "version": "0.48.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -70,15 +70,15 @@
70
70
  "lit-html"
71
71
  ],
72
72
  "dependencies": {
73
- "@spectrum-web-components/asset": "^0.48.0-beta.2",
74
- "@spectrum-web-components/base": "^0.48.0-beta.2",
75
- "@spectrum-web-components/button": "^0.48.0-beta.2",
76
- "@spectrum-web-components/button-group": "^0.48.0-beta.2",
77
- "@spectrum-web-components/icon": "^0.48.0-beta.2",
78
- "@spectrum-web-components/icons-ui": "^0.48.0-beta.2",
79
- "@spectrum-web-components/quick-actions": "^0.48.0-beta.2",
80
- "@spectrum-web-components/reactive-controllers": "^0.48.0-beta.2",
81
- "@spectrum-web-components/shared": "^0.48.0-beta.2"
73
+ "@spectrum-web-components/asset": "^0.48.1",
74
+ "@spectrum-web-components/base": "^0.48.1",
75
+ "@spectrum-web-components/button": "^0.48.1",
76
+ "@spectrum-web-components/button-group": "^0.48.1",
77
+ "@spectrum-web-components/icon": "^0.48.1",
78
+ "@spectrum-web-components/icons-ui": "^0.48.1",
79
+ "@spectrum-web-components/quick-actions": "^0.48.1",
80
+ "@spectrum-web-components/reactive-controllers": "^0.48.1",
81
+ "@spectrum-web-components/shared": "^0.48.1"
82
82
  },
83
83
  "devDependencies": {
84
84
  "@spectrum-css/coachindicator": "^2.1.0",
@@ -90,5 +90,5 @@
90
90
  "./sp-*.js",
91
91
  "./**/*.dev.js"
92
92
  ],
93
- "gitHead": "e0479b5edadc68587c678267d3ac2c29c460b4d3"
93
+ "gitHead": "b756ecc3587411e4dbeb825bad40a9f4a3c7a248"
94
94
  }