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