@spectrum-web-components/story-decorator 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 +444 -0
  2. package/package.json +10 -10
@@ -0,0 +1,444 @@
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": "field",
210
+ "name": "backgroundStyle",
211
+ "privacy": "public",
212
+ "readonly": true
213
+ },
214
+ {
215
+ "kind": "method",
216
+ "name": "handleKeydown",
217
+ "privacy": "protected",
218
+ "return": {
219
+ "type": {
220
+ "text": "void"
221
+ }
222
+ },
223
+ "parameters": [
224
+ {
225
+ "name": "event",
226
+ "type": {
227
+ "text": "KeyboardEvent"
228
+ }
229
+ }
230
+ ]
231
+ },
232
+ {
233
+ "kind": "method",
234
+ "name": "checkReady",
235
+ "privacy": "protected",
236
+ "return": {
237
+ "type": {
238
+ "text": "Promise<void>"
239
+ }
240
+ },
241
+ "parameters": [
242
+ {
243
+ "name": "{\n target,\n }",
244
+ "type": {
245
+ "text": "Event & { target: HTMLSlotElement }"
246
+ }
247
+ }
248
+ ]
249
+ },
250
+ {
251
+ "kind": "field",
252
+ "name": "manageTheme",
253
+ "type": {
254
+ "text": "TemplateResult"
255
+ },
256
+ "privacy": "private",
257
+ "readonly": true
258
+ },
259
+ {
260
+ "kind": "field",
261
+ "name": "systemControl",
262
+ "type": {
263
+ "text": "TemplateResult"
264
+ },
265
+ "privacy": "private",
266
+ "readonly": true
267
+ },
268
+ {
269
+ "kind": "field",
270
+ "name": "colorControl",
271
+ "type": {
272
+ "text": "TemplateResult"
273
+ },
274
+ "privacy": "private",
275
+ "readonly": true
276
+ },
277
+ {
278
+ "kind": "field",
279
+ "name": "scaleControl",
280
+ "type": {
281
+ "text": "TemplateResult"
282
+ },
283
+ "privacy": "private",
284
+ "readonly": true
285
+ },
286
+ {
287
+ "kind": "field",
288
+ "name": "localeControl",
289
+ "type": {
290
+ "text": "TemplateResult"
291
+ },
292
+ "privacy": "private",
293
+ "readonly": true
294
+ },
295
+ {
296
+ "kind": "field",
297
+ "name": "dirControl",
298
+ "type": {
299
+ "text": "TemplateResult"
300
+ },
301
+ "privacy": "private",
302
+ "readonly": true
303
+ },
304
+ {
305
+ "kind": "field",
306
+ "name": "reduceMotionControl",
307
+ "type": {
308
+ "text": "TemplateResult"
309
+ },
310
+ "privacy": "private",
311
+ "readonly": true
312
+ }
313
+ ],
314
+ "attributes": [
315
+ {
316
+ "name": "system",
317
+ "type": {
318
+ "text": "SystemVariant"
319
+ },
320
+ "fieldName": "system"
321
+ },
322
+ {
323
+ "name": "color",
324
+ "type": {
325
+ "text": "Color"
326
+ },
327
+ "fieldName": "color"
328
+ },
329
+ {
330
+ "name": "scale",
331
+ "type": {
332
+ "text": "Scale"
333
+ },
334
+ "fieldName": "scale"
335
+ },
336
+ {
337
+ "name": "dir",
338
+ "type": {
339
+ "text": "'ltr' | 'rtl'"
340
+ },
341
+ "fieldName": "direction"
342
+ },
343
+ {
344
+ "name": "reduce-motion",
345
+ "fieldName": "reduceMotion"
346
+ },
347
+ {
348
+ "name": "lang",
349
+ "type": {
350
+ "text": "Locale"
351
+ },
352
+ "fieldName": "lang"
353
+ },
354
+ {
355
+ "name": "screenshot",
356
+ "default": "screenshot",
357
+ "fieldName": "screenshot"
358
+ }
359
+ ],
360
+ "superclass": {
361
+ "name": "SpectrumElement",
362
+ "package": "@spectrum-web-components/base"
363
+ },
364
+ "tagName": "sp-story-decorator",
365
+ "customElement": true
366
+ }
367
+ ],
368
+ "exports": [
369
+ {
370
+ "kind": "js",
371
+ "name": "dir",
372
+ "declaration": {
373
+ "name": "dir",
374
+ "module": "src/StoryDecorator.js"
375
+ }
376
+ },
377
+ {
378
+ "kind": "js",
379
+ "name": "theme",
380
+ "declaration": {
381
+ "name": "theme",
382
+ "module": "src/StoryDecorator.js"
383
+ }
384
+ },
385
+ {
386
+ "kind": "js",
387
+ "name": "system",
388
+ "declaration": {
389
+ "name": "system",
390
+ "module": "src/StoryDecorator.js"
391
+ }
392
+ },
393
+ {
394
+ "kind": "js",
395
+ "name": "color",
396
+ "declaration": {
397
+ "name": "color",
398
+ "module": "src/StoryDecorator.js"
399
+ }
400
+ },
401
+ {
402
+ "kind": "js",
403
+ "name": "scale",
404
+ "declaration": {
405
+ "name": "scale",
406
+ "module": "src/StoryDecorator.js"
407
+ }
408
+ },
409
+ {
410
+ "kind": "js",
411
+ "name": "reduceMotion",
412
+ "declaration": {
413
+ "name": "reduceMotion",
414
+ "module": "src/StoryDecorator.js"
415
+ }
416
+ },
417
+ {
418
+ "kind": "js",
419
+ "name": "screenshot",
420
+ "declaration": {
421
+ "name": "screenshot",
422
+ "module": "src/StoryDecorator.js"
423
+ }
424
+ },
425
+ {
426
+ "kind": "js",
427
+ "name": "locale",
428
+ "declaration": {
429
+ "name": "locale",
430
+ "module": "src/StoryDecorator.js"
431
+ }
432
+ },
433
+ {
434
+ "kind": "js",
435
+ "name": "StoryDecorator",
436
+ "declaration": {
437
+ "name": "StoryDecorator",
438
+ "module": "src/StoryDecorator.js"
439
+ }
440
+ }
441
+ ]
442
+ }
443
+ ]
444
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/story-decorator",
3
- "version": "1.2.0-beta.0",
3
+ "version": "1.2.0-beta.2",
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": "^1.2.0-beta.0",
73
- "@spectrum-web-components/field-label": "^1.2.0-beta.0",
74
- "@spectrum-web-components/menu": "^1.2.0-beta.0",
75
- "@spectrum-web-components/overlay": "^1.2.0-beta.0",
76
- "@spectrum-web-components/picker": "^1.2.0-beta.0",
77
- "@spectrum-web-components/reactive-controllers": "^1.2.0-beta.0",
78
- "@spectrum-web-components/switch": "^1.2.0-beta.0",
79
- "@spectrum-web-components/theme": "^1.2.0-beta.0"
72
+ "@spectrum-web-components/base": "^1.2.0-beta.2",
73
+ "@spectrum-web-components/field-label": "^1.2.0-beta.2",
74
+ "@spectrum-web-components/menu": "^1.2.0-beta.2",
75
+ "@spectrum-web-components/overlay": "^1.2.0-beta.2",
76
+ "@spectrum-web-components/picker": "^1.2.0-beta.2",
77
+ "@spectrum-web-components/reactive-controllers": "^1.2.0-beta.2",
78
+ "@spectrum-web-components/switch": "^1.2.0-beta.2",
79
+ "@spectrum-web-components/theme": "^1.2.0-beta.2"
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": "809bd734313fe289067108bf1dea2a48cc103a9f"
88
+ "gitHead": "c0c67a3bdce0642f6a60d11a62fdcb6c1909ca62"
89
89
  }