@spectrum-web-components/coachmark 0.40.4 → 0.41.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.
- package/README.md +193 -9
- package/custom-elements.json +461 -6
- package/package.json +26 -4
- package/sp-coach-indicator.d.ts +6 -0
- package/sp-coach-indicator.dev.js +5 -0
- package/sp-coach-indicator.dev.js.map +7 -0
- package/sp-coach-indicator.js +2 -0
- package/sp-coach-indicator.js.map +7 -0
- package/src/CoachIndicator.d.ts +12 -0
- package/src/CoachIndicator.dev.js +58 -0
- package/src/CoachIndicator.dev.js.map +7 -0
- package/src/CoachIndicator.js +6 -0
- package/src/CoachIndicator.js.map +7 -0
- package/src/Coachmark.d.ts +49 -4
- package/src/Coachmark.dev.js +261 -13
- package/src/Coachmark.dev.js.map +2 -2
- package/src/Coachmark.js +112 -5
- package/src/Coachmark.js.map +3 -3
- package/src/CoachmarkItem.d.ts +18 -0
- package/src/CoachmarkItem.dev.js +7 -0
- package/src/CoachmarkItem.dev.js.map +7 -0
- package/src/CoachmarkItem.js +2 -0
- package/src/CoachmarkItem.js.map +7 -0
- package/src/coach-indicator.css.d.ts +2 -0
- package/src/coach-indicator.css.dev.js +91 -0
- package/src/coach-indicator.css.dev.js.map +7 -0
- package/src/coach-indicator.css.js +88 -0
- package/src/coach-indicator.css.js.map +7 -0
- package/src/coachmark.css.dev.js +105 -75
- package/src/coachmark.css.dev.js.map +2 -2
- package/src/coachmark.css.js +105 -75
- package/src/coachmark.css.js.map +2 -2
- package/src/index.d.ts +2 -0
- package/src/index.dev.js +2 -0
- package/src/index.dev.js.map +2 -2
- package/src/index.js +1 -1
- package/src/index.js.map +2 -2
- package/src/spectrum-coach-indicator.css.d.ts +2 -0
- package/src/spectrum-coach-indicator.css.dev.js +77 -0
- package/src/spectrum-coach-indicator.css.dev.js.map +7 -0
- package/src/spectrum-coach-indicator.css.js +74 -0
- package/src/spectrum-coach-indicator.css.js.map +7 -0
- package/src/spectrum-coachmark.css.dev.js +103 -75
- package/src/spectrum-coachmark.css.dev.js.map +2 -2
- package/src/spectrum-coachmark.css.js +105 -77
- package/src/spectrum-coachmark.css.js.map +2 -2
- package/src/spectrum-config.js +33 -39
- package/stories/coach-indicator-static.stories.js +22 -0
- package/stories/coach-indicator-static.stories.js.map +7 -0
- package/stories/coach-indicator.stories.js +18 -0
- package/stories/coach-indicator.stories.js.map +7 -0
- package/stories/coachmark.stories.js +254 -8
- package/stories/coachmark.stories.js.map +2 -2
- package/stories/images.js +5 -0
- package/stories/images.js.map +7 -0
- package/test/benchmark/basic-test.js +17 -1
- package/test/benchmark/basic-test.js.map +2 -2
- package/test/coach-indicator-static.test-vrt.js +5 -0
- package/test/coach-indicator-static.test-vrt.js.map +7 -0
- package/test/coach-indicator.test-vrt.js +5 -0
- package/test/coach-indicator.test-vrt.js.map +7 -0
- package/test/coach-indicator.test.js +32 -0
- package/test/coach-indicator.test.js.map +7 -0
- package/test/coachmark.test.js +183 -6
- package/test/coachmark.test.js.map +2 -2
package/custom-elements.json
CHANGED
|
@@ -2,6 +2,21 @@
|
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
3
|
"readme": "",
|
|
4
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
|
+
},
|
|
5
20
|
{
|
|
6
21
|
"kind": "javascript-module",
|
|
7
22
|
"path": "sp-coachmark.js",
|
|
@@ -19,12 +34,12 @@
|
|
|
19
34
|
},
|
|
20
35
|
{
|
|
21
36
|
"kind": "javascript-module",
|
|
22
|
-
"path": "src/
|
|
37
|
+
"path": "src/CoachIndicator.js",
|
|
23
38
|
"declarations": [
|
|
24
39
|
{
|
|
25
40
|
"kind": "class",
|
|
26
41
|
"description": "",
|
|
27
|
-
"name": "
|
|
42
|
+
"name": "CoachIndicator",
|
|
28
43
|
"members": [
|
|
29
44
|
{
|
|
30
45
|
"kind": "field",
|
|
@@ -37,14 +52,23 @@
|
|
|
37
52
|
"attribute": "quiet",
|
|
38
53
|
"reflects": true
|
|
39
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
|
+
},
|
|
40
65
|
{
|
|
41
66
|
"kind": "field",
|
|
42
67
|
"name": "variant",
|
|
43
68
|
"type": {
|
|
44
|
-
"text": "'
|
|
69
|
+
"text": "'white' | 'black' | undefined"
|
|
45
70
|
},
|
|
46
71
|
"privacy": "public",
|
|
47
|
-
"default": "''",
|
|
48
72
|
"attribute": "variant",
|
|
49
73
|
"reflects": true
|
|
50
74
|
}
|
|
@@ -58,12 +82,18 @@
|
|
|
58
82
|
"default": "false",
|
|
59
83
|
"fieldName": "quiet"
|
|
60
84
|
},
|
|
85
|
+
{
|
|
86
|
+
"name": "static",
|
|
87
|
+
"type": {
|
|
88
|
+
"text": "'white' | 'black' | undefined"
|
|
89
|
+
},
|
|
90
|
+
"fieldName": "static"
|
|
91
|
+
},
|
|
61
92
|
{
|
|
62
93
|
"name": "variant",
|
|
63
94
|
"type": {
|
|
64
|
-
"text": "'
|
|
95
|
+
"text": "'white' | 'black' | undefined"
|
|
65
96
|
},
|
|
66
|
-
"default": "''",
|
|
67
97
|
"fieldName": "variant"
|
|
68
98
|
}
|
|
69
99
|
],
|
|
@@ -71,6 +101,425 @@
|
|
|
71
101
|
"name": "SpectrumElement",
|
|
72
102
|
"package": "@spectrum-web-components/base"
|
|
73
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
|
+
"members": [
|
|
146
|
+
{
|
|
147
|
+
"kind": "field",
|
|
148
|
+
"name": "item",
|
|
149
|
+
"type": {
|
|
150
|
+
"text": "CoachmarkItem | undefined"
|
|
151
|
+
},
|
|
152
|
+
"privacy": "public",
|
|
153
|
+
"attribute": "item"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"kind": "field",
|
|
157
|
+
"name": "placement",
|
|
158
|
+
"type": {
|
|
159
|
+
"text": "Placement"
|
|
160
|
+
},
|
|
161
|
+
"privacy": "public",
|
|
162
|
+
"default": "'right'",
|
|
163
|
+
"attribute": "placement"
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
"kind": "field",
|
|
167
|
+
"name": "content",
|
|
168
|
+
"type": {
|
|
169
|
+
"text": "{\n title?: string;\n description?: string;\n imageAlt?: string;\n } | undefined"
|
|
170
|
+
},
|
|
171
|
+
"privacy": "private"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"kind": "field",
|
|
175
|
+
"name": "shortcutKey",
|
|
176
|
+
"type": {
|
|
177
|
+
"text": "string | undefined"
|
|
178
|
+
},
|
|
179
|
+
"privacy": "private",
|
|
180
|
+
"attribute": "shortcut-key"
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
"kind": "field",
|
|
184
|
+
"name": "modifierKeys",
|
|
185
|
+
"type": {
|
|
186
|
+
"text": "string[] | undefined"
|
|
187
|
+
},
|
|
188
|
+
"privacy": "public",
|
|
189
|
+
"default": "[]",
|
|
190
|
+
"attribute": "modifierKeys"
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"kind": "field",
|
|
194
|
+
"name": "source",
|
|
195
|
+
"type": {
|
|
196
|
+
"text": "string | undefined"
|
|
197
|
+
},
|
|
198
|
+
"privacy": "private",
|
|
199
|
+
"attribute": "src"
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"kind": "field",
|
|
203
|
+
"name": "mediaType",
|
|
204
|
+
"type": {
|
|
205
|
+
"text": "MediaType | undefined"
|
|
206
|
+
},
|
|
207
|
+
"privacy": "private",
|
|
208
|
+
"attribute": "media-type"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"kind": "field",
|
|
212
|
+
"name": "hasAsset",
|
|
213
|
+
"type": {
|
|
214
|
+
"text": "boolean"
|
|
215
|
+
},
|
|
216
|
+
"privacy": "public",
|
|
217
|
+
"default": "false",
|
|
218
|
+
"attribute": "has-asset",
|
|
219
|
+
"reflects": true
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"kind": "field",
|
|
223
|
+
"name": "asset",
|
|
224
|
+
"type": {
|
|
225
|
+
"text": "'file' | 'folder' | undefined"
|
|
226
|
+
},
|
|
227
|
+
"privacy": "public",
|
|
228
|
+
"attribute": "asset"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"kind": "field",
|
|
232
|
+
"name": "currentStep",
|
|
233
|
+
"type": {
|
|
234
|
+
"text": "number | undefined"
|
|
235
|
+
},
|
|
236
|
+
"privacy": "public",
|
|
237
|
+
"attribute": "current-step"
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"kind": "field",
|
|
241
|
+
"name": "totalSteps",
|
|
242
|
+
"type": {
|
|
243
|
+
"text": "number | undefined"
|
|
244
|
+
},
|
|
245
|
+
"privacy": "public",
|
|
246
|
+
"attribute": "total-steps"
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"kind": "field",
|
|
250
|
+
"name": "primaryCTA",
|
|
251
|
+
"type": {
|
|
252
|
+
"text": "string | undefined"
|
|
253
|
+
},
|
|
254
|
+
"attribute": "primary-cta"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"kind": "field",
|
|
258
|
+
"name": "secondaryCTA",
|
|
259
|
+
"type": {
|
|
260
|
+
"text": "string | undefined"
|
|
261
|
+
},
|
|
262
|
+
"attribute": "secondary-cta"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"kind": "method",
|
|
266
|
+
"name": "renderMedia",
|
|
267
|
+
"privacy": "private",
|
|
268
|
+
"return": {
|
|
269
|
+
"type": {
|
|
270
|
+
"text": "TemplateResult"
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"kind": "method",
|
|
276
|
+
"name": "renderModifier",
|
|
277
|
+
"privacy": "private",
|
|
278
|
+
"return": {
|
|
279
|
+
"type": {
|
|
280
|
+
"text": "TemplateResult"
|
|
281
|
+
}
|
|
282
|
+
},
|
|
283
|
+
"parameters": [
|
|
284
|
+
{
|
|
285
|
+
"name": "modifierKey",
|
|
286
|
+
"type": {
|
|
287
|
+
"text": "string"
|
|
288
|
+
}
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
"name": "type",
|
|
292
|
+
"default": "'modifier'",
|
|
293
|
+
"type": {
|
|
294
|
+
"text": "'modifier' | 'shortcut'"
|
|
295
|
+
}
|
|
296
|
+
}
|
|
297
|
+
]
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"kind": "method",
|
|
301
|
+
"name": "renderJoiner",
|
|
302
|
+
"privacy": "private",
|
|
303
|
+
"return": {
|
|
304
|
+
"type": {
|
|
305
|
+
"text": "TemplateResult"
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"kind": "method",
|
|
311
|
+
"name": "renderHeader",
|
|
312
|
+
"privacy": "private",
|
|
313
|
+
"return": {
|
|
314
|
+
"type": {
|
|
315
|
+
"text": "TemplateResult"
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"kind": "method",
|
|
321
|
+
"name": "renderContent",
|
|
322
|
+
"privacy": "private",
|
|
323
|
+
"return": {
|
|
324
|
+
"type": {
|
|
325
|
+
"text": "TemplateResult"
|
|
326
|
+
}
|
|
327
|
+
}
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"kind": "method",
|
|
331
|
+
"name": "stopPropagationOnHref",
|
|
332
|
+
"privacy": "private",
|
|
333
|
+
"return": {
|
|
334
|
+
"type": {
|
|
335
|
+
"text": "void"
|
|
336
|
+
}
|
|
337
|
+
},
|
|
338
|
+
"parameters": [
|
|
339
|
+
{
|
|
340
|
+
"name": "event",
|
|
341
|
+
"type": {
|
|
342
|
+
"text": "Event"
|
|
343
|
+
}
|
|
344
|
+
}
|
|
345
|
+
]
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"kind": "method",
|
|
349
|
+
"name": "handlePrimaryCTA",
|
|
350
|
+
"privacy": "private",
|
|
351
|
+
"return": {
|
|
352
|
+
"type": {
|
|
353
|
+
"text": "void"
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"kind": "method",
|
|
359
|
+
"name": "handleSecondaryCTA",
|
|
360
|
+
"privacy": "private",
|
|
361
|
+
"return": {
|
|
362
|
+
"type": {
|
|
363
|
+
"text": "void"
|
|
364
|
+
}
|
|
365
|
+
}
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"kind": "field",
|
|
369
|
+
"name": "renderSecondaryButton",
|
|
370
|
+
"privacy": "private"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"kind": "field",
|
|
374
|
+
"name": "renderPrimaryButton",
|
|
375
|
+
"privacy": "private"
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
"kind": "field",
|
|
379
|
+
"name": "renderSecondaryButtonMobile",
|
|
380
|
+
"privacy": "private"
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
"kind": "field",
|
|
384
|
+
"name": "renderPrimaryButtonMobile",
|
|
385
|
+
"privacy": "private"
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
"kind": "method",
|
|
389
|
+
"name": "renderButtons",
|
|
390
|
+
"privacy": "protected",
|
|
391
|
+
"return": {
|
|
392
|
+
"type": {
|
|
393
|
+
"text": "TemplateResult"
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"kind": "field",
|
|
399
|
+
"name": "renderSteps",
|
|
400
|
+
"privacy": "protected"
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"kind": "field",
|
|
404
|
+
"name": "renderActionMenu",
|
|
405
|
+
"privacy": "protected"
|
|
406
|
+
}
|
|
407
|
+
],
|
|
408
|
+
"events": [
|
|
409
|
+
{
|
|
410
|
+
"name": "primary",
|
|
411
|
+
"type": {
|
|
412
|
+
"text": "Event"
|
|
413
|
+
},
|
|
414
|
+
"description": "Announces that the \"primary\" button has been clicked."
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
"name": "secondary",
|
|
418
|
+
"type": {
|
|
419
|
+
"text": "Event"
|
|
420
|
+
},
|
|
421
|
+
"description": "Announces that the \"secondary\" button has been clicked."
|
|
422
|
+
}
|
|
423
|
+
],
|
|
424
|
+
"attributes": [
|
|
425
|
+
{
|
|
426
|
+
"name": "item",
|
|
427
|
+
"type": {
|
|
428
|
+
"text": "CoachmarkItem | undefined"
|
|
429
|
+
},
|
|
430
|
+
"fieldName": "item"
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
"name": "placement",
|
|
434
|
+
"type": {
|
|
435
|
+
"text": "Placement"
|
|
436
|
+
},
|
|
437
|
+
"default": "'right'",
|
|
438
|
+
"fieldName": "placement"
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"name": "shortcut-key",
|
|
442
|
+
"type": {
|
|
443
|
+
"text": "string | undefined"
|
|
444
|
+
},
|
|
445
|
+
"fieldName": "shortcutKey"
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
"name": "modifierKeys",
|
|
449
|
+
"type": {
|
|
450
|
+
"text": "string[] | undefined"
|
|
451
|
+
},
|
|
452
|
+
"default": "[]",
|
|
453
|
+
"fieldName": "modifierKeys"
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"name": "src",
|
|
457
|
+
"type": {
|
|
458
|
+
"text": "string | undefined"
|
|
459
|
+
},
|
|
460
|
+
"fieldName": "source"
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"name": "media-type",
|
|
464
|
+
"type": {
|
|
465
|
+
"text": "MediaType | undefined"
|
|
466
|
+
},
|
|
467
|
+
"fieldName": "mediaType"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"name": "has-asset",
|
|
471
|
+
"type": {
|
|
472
|
+
"text": "boolean"
|
|
473
|
+
},
|
|
474
|
+
"default": "false",
|
|
475
|
+
"fieldName": "hasAsset"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
"name": "asset",
|
|
479
|
+
"type": {
|
|
480
|
+
"text": "'file' | 'folder' | undefined"
|
|
481
|
+
},
|
|
482
|
+
"fieldName": "asset"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"name": "current-step",
|
|
486
|
+
"type": {
|
|
487
|
+
"text": "number | undefined"
|
|
488
|
+
},
|
|
489
|
+
"fieldName": "currentStep"
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
"name": "total-steps",
|
|
493
|
+
"type": {
|
|
494
|
+
"text": "number | undefined"
|
|
495
|
+
},
|
|
496
|
+
"fieldName": "totalSteps"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"name": "primary-cta",
|
|
500
|
+
"type": {
|
|
501
|
+
"text": "string | undefined"
|
|
502
|
+
},
|
|
503
|
+
"fieldName": "primaryCTA"
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"name": "secondary-cta",
|
|
507
|
+
"type": {
|
|
508
|
+
"text": "string | undefined"
|
|
509
|
+
},
|
|
510
|
+
"fieldName": "secondaryCTA"
|
|
511
|
+
}
|
|
512
|
+
],
|
|
513
|
+
"mixins": [
|
|
514
|
+
{
|
|
515
|
+
"name": "LikeAnchor",
|
|
516
|
+
"package": "@spectrum-web-components/shared/src/like-anchor.js"
|
|
517
|
+
}
|
|
518
|
+
],
|
|
519
|
+
"superclass": {
|
|
520
|
+
"name": "Popover",
|
|
521
|
+
"package": "@spectrum-web-components/popover"
|
|
522
|
+
},
|
|
74
523
|
"tagName": "sp-coachmark",
|
|
75
524
|
"customElement": true
|
|
76
525
|
}
|
|
@@ -85,6 +534,12 @@
|
|
|
85
534
|
}
|
|
86
535
|
}
|
|
87
536
|
]
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
"kind": "javascript-module",
|
|
540
|
+
"path": "src/CoachmarkItem.js",
|
|
541
|
+
"declarations": [],
|
|
542
|
+
"exports": []
|
|
88
543
|
}
|
|
89
544
|
]
|
|
90
545
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spectrum-web-components/coachmark",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.41.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -25,10 +25,19 @@
|
|
|
25
25
|
"default": "./src/index.js"
|
|
26
26
|
},
|
|
27
27
|
"./package.json": "./package.json",
|
|
28
|
+
"./src/CoachIndicator.js": {
|
|
29
|
+
"development": "./src/CoachIndicator.dev.js",
|
|
30
|
+
"default": "./src/CoachIndicator.js"
|
|
31
|
+
},
|
|
28
32
|
"./src/Coachmark.js": {
|
|
29
33
|
"development": "./src/Coachmark.dev.js",
|
|
30
34
|
"default": "./src/Coachmark.js"
|
|
31
35
|
},
|
|
36
|
+
"./src/CoachmarkItem.js": {
|
|
37
|
+
"development": "./src/CoachmarkItem.dev.js",
|
|
38
|
+
"default": "./src/CoachmarkItem.js"
|
|
39
|
+
},
|
|
40
|
+
"./src/coach-indicator.css.js": "./src/coach-indicator.css.js",
|
|
32
41
|
"./src/coachmark.css.js": "./src/coachmark.css.js",
|
|
33
42
|
"./src/index.js": {
|
|
34
43
|
"development": "./src/index.dev.js",
|
|
@@ -37,6 +46,10 @@
|
|
|
37
46
|
"./sp-coachmark.js": {
|
|
38
47
|
"development": "./sp-coachmark.dev.js",
|
|
39
48
|
"default": "./sp-coachmark.js"
|
|
49
|
+
},
|
|
50
|
+
"./sp-coach-indicator.js": {
|
|
51
|
+
"development": "./sp-coach-indicator.dev.js",
|
|
52
|
+
"default": "./sp-coach-indicator.js"
|
|
40
53
|
}
|
|
41
54
|
},
|
|
42
55
|
"scripts": {
|
|
@@ -57,10 +70,19 @@
|
|
|
57
70
|
"lit-html"
|
|
58
71
|
],
|
|
59
72
|
"dependencies": {
|
|
60
|
-
"@spectrum-web-components/
|
|
73
|
+
"@spectrum-web-components/asset": "^0.41.0",
|
|
74
|
+
"@spectrum-web-components/base": "^0.41.0",
|
|
75
|
+
"@spectrum-web-components/button": "^0.41.0",
|
|
76
|
+
"@spectrum-web-components/button-group": "^0.41.0",
|
|
77
|
+
"@spectrum-web-components/icon": "^0.41.0",
|
|
78
|
+
"@spectrum-web-components/icons-ui": "^0.41.0",
|
|
79
|
+
"@spectrum-web-components/quick-actions": "^0.41.0",
|
|
80
|
+
"@spectrum-web-components/reactive-controllers": "^0.41.0",
|
|
81
|
+
"@spectrum-web-components/shared": "^0.41.0"
|
|
61
82
|
},
|
|
62
83
|
"devDependencies": {
|
|
63
|
-
"@spectrum-css/
|
|
84
|
+
"@spectrum-css/coachindicator": "1.0.0",
|
|
85
|
+
"@spectrum-css/coachmark": "6.0.0"
|
|
64
86
|
},
|
|
65
87
|
"types": "./src/index.d.ts",
|
|
66
88
|
"customElements": "custom-elements.json",
|
|
@@ -68,5 +90,5 @@
|
|
|
68
90
|
"./sp-*.js",
|
|
69
91
|
"./**/*.dev.js"
|
|
70
92
|
],
|
|
71
|
-
"gitHead": "
|
|
93
|
+
"gitHead": "0bf38fd427adc39804b228a4c61de623e5ebb82e"
|
|
72
94
|
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
import { CoachIndicator } from "./src/CoachIndicator.dev.js";
|
|
3
|
+
import { defineElement } from "@spectrum-web-components/base/src/define-element.js";
|
|
4
|
+
defineElement("sp-coach-indicator", CoachIndicator);
|
|
5
|
+
//# sourceMappingURL=sp-coach-indicator.dev.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["sp-coach-indicator.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2023 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { CoachIndicator } from './src/CoachIndicator.dev.js'\n\nimport { defineElement } from '@spectrum-web-components/base/src/define-element.js';\ndefineElement('sp-coach-indicator', CoachIndicator);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-coach-indicator': CoachIndicator;\n }\n}\n"],
|
|
5
|
+
"mappings": ";AAWA,SAAS,sBAAsB;AAE/B,SAAS,qBAAqB;AAC9B,cAAc,sBAAsB,cAAc;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["sp-coach-indicator.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2023 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\nimport { CoachIndicator } from './src/CoachIndicator.js';\n\nimport { defineElement } from '@spectrum-web-components/base/src/define-element.js';\ndefineElement('sp-coach-indicator', CoachIndicator);\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'sp-coach-indicator': CoachIndicator;\n }\n}\n"],
|
|
5
|
+
"mappings": "aAWA,OAAS,kBAAAA,MAAsB,0BAE/B,OAAS,iBAAAC,MAAqB,sDAC9BA,EAAc,qBAAsBD,CAAc",
|
|
6
|
+
"names": ["CoachIndicator", "defineElement"]
|
|
7
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CSSResultArray, PropertyValues, SpectrumElement, TemplateResult } from '@spectrum-web-components/base';
|
|
2
|
+
/**
|
|
3
|
+
* @element sp-coach-indicator
|
|
4
|
+
*/
|
|
5
|
+
export declare class CoachIndicator extends SpectrumElement {
|
|
6
|
+
static get styles(): CSSResultArray;
|
|
7
|
+
quiet: boolean;
|
|
8
|
+
static?: 'white' | 'black';
|
|
9
|
+
variant?: 'white' | 'black';
|
|
10
|
+
protected render(): TemplateResult;
|
|
11
|
+
protected updated(changes: PropertyValues): void;
|
|
12
|
+
}
|