@spectrum-web-components/story-decorator 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 +438 -0
  2. package/package.json +10 -10
@@ -0,0 +1,438 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "sp-story-decorator.js",
8
+ "declarations": [],
9
+ "exports": [
10
+ {
11
+ "kind": "custom-element-definition",
12
+ "name": "sp-story-decorator",
13
+ "declaration": {
14
+ "name": "StoryDecorator",
15
+ "module": "/src/StoryDecorator.js"
16
+ }
17
+ }
18
+ ]
19
+ },
20
+ {
21
+ "kind": "javascript-module",
22
+ "path": "src/StoryDecorator.js",
23
+ "declarations": [
24
+ {
25
+ "kind": "variable",
26
+ "name": "dir",
27
+ "type": {
28
+ "text": "'ltr' | 'rtl'"
29
+ }
30
+ },
31
+ {
32
+ "kind": "variable",
33
+ "name": "theme",
34
+ "type": {
35
+ "text": "SystemVariant"
36
+ }
37
+ },
38
+ {
39
+ "kind": "variable",
40
+ "name": "system",
41
+ "type": {
42
+ "text": "SystemVariant"
43
+ }
44
+ },
45
+ {
46
+ "kind": "variable",
47
+ "name": "color",
48
+ "type": {
49
+ "text": "Color"
50
+ }
51
+ },
52
+ {
53
+ "kind": "variable",
54
+ "name": "scale",
55
+ "type": {
56
+ "text": "Scale"
57
+ }
58
+ },
59
+ {
60
+ "kind": "variable",
61
+ "name": "reduceMotion"
62
+ },
63
+ {
64
+ "kind": "variable",
65
+ "name": "screenshot"
66
+ },
67
+ {
68
+ "kind": "variable",
69
+ "name": "locale"
70
+ },
71
+ {
72
+ "kind": "class",
73
+ "description": "",
74
+ "name": "StoryDecorator",
75
+ "members": [
76
+ {
77
+ "kind": "field",
78
+ "name": "system",
79
+ "type": {
80
+ "text": "SystemVariant"
81
+ },
82
+ "privacy": "public",
83
+ "attribute": "system"
84
+ },
85
+ {
86
+ "kind": "field",
87
+ "name": "color",
88
+ "type": {
89
+ "text": "Color"
90
+ },
91
+ "privacy": "public",
92
+ "attribute": "color"
93
+ },
94
+ {
95
+ "kind": "field",
96
+ "name": "scale",
97
+ "type": {
98
+ "text": "Scale"
99
+ },
100
+ "privacy": "public",
101
+ "attribute": "scale"
102
+ },
103
+ {
104
+ "kind": "field",
105
+ "name": "direction",
106
+ "type": {
107
+ "text": "'ltr' | 'rtl'"
108
+ },
109
+ "privacy": "public",
110
+ "attribute": "dir",
111
+ "reflects": true
112
+ },
113
+ {
114
+ "kind": "field",
115
+ "name": "reduceMotion",
116
+ "privacy": "public",
117
+ "attribute": "reduce-motion",
118
+ "reflects": true
119
+ },
120
+ {
121
+ "kind": "field",
122
+ "name": "lang",
123
+ "type": {
124
+ "text": "Locale"
125
+ },
126
+ "privacy": "public",
127
+ "attribute": "lang"
128
+ },
129
+ {
130
+ "kind": "field",
131
+ "name": "screenshot",
132
+ "privacy": "public",
133
+ "default": "screenshot",
134
+ "attribute": "screenshot",
135
+ "reflects": true
136
+ },
137
+ {
138
+ "kind": "field",
139
+ "name": "themeRoot",
140
+ "type": {
141
+ "text": "Theme"
142
+ },
143
+ "privacy": "private"
144
+ },
145
+ {
146
+ "kind": "field",
147
+ "name": "ready",
148
+ "type": {
149
+ "text": "boolean"
150
+ },
151
+ "privacy": "public",
152
+ "default": "false"
153
+ },
154
+ {
155
+ "kind": "method",
156
+ "name": "startManagingContentDirection",
157
+ "privacy": "public",
158
+ "return": {
159
+ "type": {
160
+ "text": "Promise<void>"
161
+ }
162
+ },
163
+ "parameters": [
164
+ {
165
+ "name": "el",
166
+ "type": {
167
+ "text": "HTMLElement"
168
+ }
169
+ }
170
+ ]
171
+ },
172
+ {
173
+ "kind": "method",
174
+ "name": "stopManagingContentDirection",
175
+ "privacy": "public",
176
+ "return": {
177
+ "type": {
178
+ "text": "Promise<void>"
179
+ }
180
+ },
181
+ "parameters": [
182
+ {
183
+ "name": "el",
184
+ "type": {
185
+ "text": "HTMLElement"
186
+ }
187
+ }
188
+ ]
189
+ },
190
+ {
191
+ "kind": "method",
192
+ "name": "updateTheme",
193
+ "privacy": "private",
194
+ "return": {
195
+ "type": {
196
+ "text": "void"
197
+ }
198
+ },
199
+ "parameters": [
200
+ {
201
+ "name": "{ target }",
202
+ "type": {
203
+ "text": "Event & { target: Picker | Switch }"
204
+ }
205
+ }
206
+ ]
207
+ },
208
+ {
209
+ "kind": "method",
210
+ "name": "handleKeydown",
211
+ "privacy": "protected",
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": "checkReady",
229
+ "privacy": "protected",
230
+ "return": {
231
+ "type": {
232
+ "text": "Promise<void>"
233
+ }
234
+ },
235
+ "parameters": [
236
+ {
237
+ "name": "{\n target,\n }",
238
+ "type": {
239
+ "text": "Event & { target: HTMLSlotElement }"
240
+ }
241
+ }
242
+ ]
243
+ },
244
+ {
245
+ "kind": "field",
246
+ "name": "manageTheme",
247
+ "type": {
248
+ "text": "TemplateResult"
249
+ },
250
+ "privacy": "private",
251
+ "readonly": true
252
+ },
253
+ {
254
+ "kind": "field",
255
+ "name": "systemControl",
256
+ "type": {
257
+ "text": "TemplateResult"
258
+ },
259
+ "privacy": "private",
260
+ "readonly": true
261
+ },
262
+ {
263
+ "kind": "field",
264
+ "name": "colorControl",
265
+ "type": {
266
+ "text": "TemplateResult"
267
+ },
268
+ "privacy": "private",
269
+ "readonly": true
270
+ },
271
+ {
272
+ "kind": "field",
273
+ "name": "scaleControl",
274
+ "type": {
275
+ "text": "TemplateResult"
276
+ },
277
+ "privacy": "private",
278
+ "readonly": true
279
+ },
280
+ {
281
+ "kind": "field",
282
+ "name": "localeControl",
283
+ "type": {
284
+ "text": "TemplateResult"
285
+ },
286
+ "privacy": "private",
287
+ "readonly": true
288
+ },
289
+ {
290
+ "kind": "field",
291
+ "name": "dirControl",
292
+ "type": {
293
+ "text": "TemplateResult"
294
+ },
295
+ "privacy": "private",
296
+ "readonly": true
297
+ },
298
+ {
299
+ "kind": "field",
300
+ "name": "reduceMotionControl",
301
+ "type": {
302
+ "text": "TemplateResult"
303
+ },
304
+ "privacy": "private",
305
+ "readonly": true
306
+ }
307
+ ],
308
+ "attributes": [
309
+ {
310
+ "name": "system",
311
+ "type": {
312
+ "text": "SystemVariant"
313
+ },
314
+ "fieldName": "system"
315
+ },
316
+ {
317
+ "name": "color",
318
+ "type": {
319
+ "text": "Color"
320
+ },
321
+ "fieldName": "color"
322
+ },
323
+ {
324
+ "name": "scale",
325
+ "type": {
326
+ "text": "Scale"
327
+ },
328
+ "fieldName": "scale"
329
+ },
330
+ {
331
+ "name": "dir",
332
+ "type": {
333
+ "text": "'ltr' | 'rtl'"
334
+ },
335
+ "fieldName": "direction"
336
+ },
337
+ {
338
+ "name": "reduce-motion",
339
+ "fieldName": "reduceMotion"
340
+ },
341
+ {
342
+ "name": "lang",
343
+ "type": {
344
+ "text": "Locale"
345
+ },
346
+ "fieldName": "lang"
347
+ },
348
+ {
349
+ "name": "screenshot",
350
+ "default": "screenshot",
351
+ "fieldName": "screenshot"
352
+ }
353
+ ],
354
+ "superclass": {
355
+ "name": "SpectrumElement",
356
+ "package": "@spectrum-web-components/base"
357
+ },
358
+ "tagName": "sp-story-decorator",
359
+ "customElement": true
360
+ }
361
+ ],
362
+ "exports": [
363
+ {
364
+ "kind": "js",
365
+ "name": "dir",
366
+ "declaration": {
367
+ "name": "dir",
368
+ "module": "src/StoryDecorator.js"
369
+ }
370
+ },
371
+ {
372
+ "kind": "js",
373
+ "name": "theme",
374
+ "declaration": {
375
+ "name": "theme",
376
+ "module": "src/StoryDecorator.js"
377
+ }
378
+ },
379
+ {
380
+ "kind": "js",
381
+ "name": "system",
382
+ "declaration": {
383
+ "name": "system",
384
+ "module": "src/StoryDecorator.js"
385
+ }
386
+ },
387
+ {
388
+ "kind": "js",
389
+ "name": "color",
390
+ "declaration": {
391
+ "name": "color",
392
+ "module": "src/StoryDecorator.js"
393
+ }
394
+ },
395
+ {
396
+ "kind": "js",
397
+ "name": "scale",
398
+ "declaration": {
399
+ "name": "scale",
400
+ "module": "src/StoryDecorator.js"
401
+ }
402
+ },
403
+ {
404
+ "kind": "js",
405
+ "name": "reduceMotion",
406
+ "declaration": {
407
+ "name": "reduceMotion",
408
+ "module": "src/StoryDecorator.js"
409
+ }
410
+ },
411
+ {
412
+ "kind": "js",
413
+ "name": "screenshot",
414
+ "declaration": {
415
+ "name": "screenshot",
416
+ "module": "src/StoryDecorator.js"
417
+ }
418
+ },
419
+ {
420
+ "kind": "js",
421
+ "name": "locale",
422
+ "declaration": {
423
+ "name": "locale",
424
+ "module": "src/StoryDecorator.js"
425
+ }
426
+ },
427
+ {
428
+ "kind": "js",
429
+ "name": "StoryDecorator",
430
+ "declaration": {
431
+ "name": "StoryDecorator",
432
+ "module": "src/StoryDecorator.js"
433
+ }
434
+ }
435
+ ]
436
+ }
437
+ ]
438
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/story-decorator",
3
- "version": "0.48.0-beta.2",
3
+ "version": "0.48.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -69,14 +69,14 @@
69
69
  "lit-html"
70
70
  ],
71
71
  "dependencies": {
72
- "@spectrum-web-components/base": "^0.48.0-beta.2",
73
- "@spectrum-web-components/field-label": "^0.48.0-beta.2",
74
- "@spectrum-web-components/menu": "^0.48.0-beta.2",
75
- "@spectrum-web-components/overlay": "^0.48.0-beta.2",
76
- "@spectrum-web-components/picker": "^0.48.0-beta.2",
77
- "@spectrum-web-components/reactive-controllers": "^0.48.0-beta.2",
78
- "@spectrum-web-components/switch": "^0.48.0-beta.2",
79
- "@spectrum-web-components/theme": "^0.48.0-beta.2"
72
+ "@spectrum-web-components/base": "^0.48.1",
73
+ "@spectrum-web-components/field-label": "^0.48.1",
74
+ "@spectrum-web-components/menu": "^0.48.1",
75
+ "@spectrum-web-components/overlay": "^0.48.1",
76
+ "@spectrum-web-components/picker": "^0.48.1",
77
+ "@spectrum-web-components/reactive-controllers": "^0.48.1",
78
+ "@spectrum-web-components/switch": "^0.48.1",
79
+ "@spectrum-web-components/theme": "^0.48.1"
80
80
  },
81
81
  "types": "./src/index.d.ts",
82
82
  "customElements": "custom-elements.json",
@@ -85,5 +85,5 @@
85
85
  "./**/*.dev.js",
86
86
  "./sp-*.ts"
87
87
  ],
88
- "gitHead": "e0479b5edadc68587c678267d3ac2c29c460b4d3"
88
+ "gitHead": "b756ecc3587411e4dbeb825bad40a9f4a3c7a248"
89
89
  }