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