@spectrum-web-components/theme 0.30.0 → 0.30.1-overlay.30

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/theme",
3
- "version": "0.30.0",
3
+ "version": "0.30.1-overlay.30+1df211c75",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -133,8 +133,8 @@
133
133
  "lit-html"
134
134
  ],
135
135
  "dependencies": {
136
- "@spectrum-web-components/base": "^0.30.0",
137
- "@spectrum-web-components/styles": "^0.30.0"
136
+ "@spectrum-web-components/base": "^0.30.1-overlay.30+1df211c75",
137
+ "@spectrum-web-components/styles": "^0.30.1-overlay.30+1df211c75"
138
138
  },
139
139
  "types": "./src/index.d.ts",
140
140
  "customElements": "custom-elements.json",
@@ -150,5 +150,5 @@
150
150
  "./src/express/core.js",
151
151
  "./src/express/themes.js"
152
152
  ],
153
- "gitHead": "e34a26bf2bbea5f60a5e415e0f12c97654f0e20d"
153
+ "gitHead": "1df211c7581b6fd6ec624cf2b09bc81aeec29c26"
154
154
  }
@@ -1,406 +0,0 @@
1
- {
2
- "schemaVersion": "1.0.0",
3
- "readme": "",
4
- "modules": [
5
- {
6
- "kind": "javascript-module",
7
- "path": "sp-theme.js",
8
- "declarations": [],
9
- "exports": [
10
- {
11
- "kind": "custom-element-definition",
12
- "name": "sp-theme",
13
- "declaration": {
14
- "name": "Theme",
15
- "module": "/src/Theme.js"
16
- }
17
- }
18
- ]
19
- },
20
- {
21
- "kind": "javascript-module",
22
- "path": "src/Theme.js",
23
- "declarations": [
24
- {
25
- "kind": "class",
26
- "description": "",
27
- "name": "Theme",
28
- "slots": [
29
- {
30
- "description": "Content on which to apply the CSS Custom Properties defined by the current theme configuration",
31
- "name": ""
32
- }
33
- ],
34
- "members": [
35
- {
36
- "kind": "field",
37
- "name": "themeFragmentsByKind",
38
- "type": {
39
- "text": "ThemeFragmentMap"
40
- },
41
- "privacy": "private",
42
- "static": true,
43
- "default": "new Map()"
44
- },
45
- {
46
- "kind": "field",
47
- "name": "defaultFragments",
48
- "type": {
49
- "text": "Set<FragmentName>"
50
- },
51
- "privacy": "private",
52
- "static": true,
53
- "default": "new Set(['spectrum'])"
54
- },
55
- {
56
- "kind": "field",
57
- "name": "templateElement",
58
- "type": {
59
- "text": "HTMLTemplateElement | undefined"
60
- },
61
- "privacy": "private",
62
- "static": true
63
- },
64
- {
65
- "kind": "field",
66
- "name": "instances",
67
- "type": {
68
- "text": "Set<Theme>"
69
- },
70
- "privacy": "private",
71
- "static": true,
72
- "default": "new Set()"
73
- },
74
- {
75
- "kind": "field",
76
- "name": "_dir",
77
- "type": {
78
- "text": "'ltr' | 'rtl' | ''"
79
- },
80
- "default": "''"
81
- },
82
- {
83
- "kind": "field",
84
- "name": "dir",
85
- "type": {
86
- "text": "\"ltr\" | \"rtl\" | \"\""
87
- },
88
- "description": "Reading direction of the content scoped to this `sp-theme` element.",
89
- "attribute": "dir"
90
- },
91
- {
92
- "kind": "field",
93
- "name": "shadowRoot",
94
- "type": {
95
- "text": "ShadowRootWithAdoptedStyleSheets"
96
- },
97
- "privacy": "public"
98
- },
99
- {
100
- "kind": "field",
101
- "name": "_theme",
102
- "type": {
103
- "text": "ThemeVariant | ''"
104
- },
105
- "privacy": "private",
106
- "default": "'spectrum'"
107
- },
108
- {
109
- "kind": "field",
110
- "name": "theme",
111
- "type": {
112
- "text": "\"spectrum\" | \"express\" | \"\""
113
- },
114
- "description": "The Spectrum theme that is applied to the content scoped to this `sp-theme` element.\n\nA value is requried.",
115
- "attribute": "theme"
116
- },
117
- {
118
- "kind": "field",
119
- "name": "_color",
120
- "type": {
121
- "text": "Color | ''"
122
- },
123
- "privacy": "private",
124
- "default": "''"
125
- },
126
- {
127
- "kind": "field",
128
- "name": "color",
129
- "type": {
130
- "text": "\"lightest\" | \"light\" | \"dark\" | \"darkest\" | \"\""
131
- },
132
- "description": "The Spectrum color stops to apply to content scoped by this `sp-theme` element.\n\nA value is requried.",
133
- "attribute": "color"
134
- },
135
- {
136
- "kind": "field",
137
- "name": "_scale",
138
- "type": {
139
- "text": "Scale | ''"
140
- },
141
- "privacy": "private",
142
- "default": "''"
143
- },
144
- {
145
- "kind": "field",
146
- "name": "scale",
147
- "type": {
148
- "text": "\"medium\" | \"large\" | \"\""
149
- },
150
- "description": "The Spectrum platform scale to apply to content scoped by this `sp-theme` element.\n\nA value is requried.",
151
- "attribute": "scale"
152
- },
153
- {
154
- "kind": "field",
155
- "name": "template",
156
- "type": {
157
- "text": "HTMLTemplateElement"
158
- },
159
- "privacy": "private",
160
- "static": true
161
- },
162
- {
163
- "kind": "field",
164
- "name": "updateComplete",
165
- "type": {
166
- "text": "Promise<boolean>"
167
- },
168
- "privacy": "public"
169
- },
170
- {
171
- "kind": "field",
172
- "name": "__resolve",
173
- "type": {
174
- "text": "(compelted: boolean) => void"
175
- },
176
- "privacy": "private"
177
- },
178
- {
179
- "kind": "method",
180
- "name": "__createDeferredPromise",
181
- "privacy": "private",
182
- "return": {
183
- "type": {
184
- "text": "Promise<boolean>"
185
- }
186
- }
187
- },
188
- {
189
- "kind": "method",
190
- "name": "onQueryTheme",
191
- "privacy": "private",
192
- "return": {
193
- "type": {
194
- "text": "void"
195
- }
196
- },
197
- "parameters": [
198
- {
199
- "name": "event",
200
- "type": {
201
- "text": "CustomEvent<ThemeData>"
202
- }
203
- }
204
- ]
205
- },
206
- {
207
- "kind": "method",
208
- "name": "startManagingContentDirection",
209
- "privacy": "public",
210
- "return": {
211
- "type": {
212
- "text": "void"
213
- }
214
- },
215
- "parameters": [
216
- {
217
- "name": "el",
218
- "type": {
219
- "text": "HTMLElement"
220
- }
221
- }
222
- ]
223
- },
224
- {
225
- "kind": "method",
226
- "name": "stopManagingContentDirection",
227
- "privacy": "public",
228
- "return": {
229
- "type": {
230
- "text": "void"
231
- }
232
- },
233
- "parameters": [
234
- {
235
- "name": "el",
236
- "type": {
237
- "text": "HTMLElement"
238
- }
239
- }
240
- ]
241
- },
242
- {
243
- "kind": "field",
244
- "name": "trackedChildren",
245
- "type": {
246
- "text": "Set<HTMLElement>"
247
- },
248
- "privacy": "private",
249
- "default": "new Set()"
250
- },
251
- {
252
- "kind": "field",
253
- "name": "_updateRequested",
254
- "type": {
255
- "text": "boolean"
256
- },
257
- "privacy": "private",
258
- "default": "false"
259
- },
260
- {
261
- "kind": "method",
262
- "name": "shouldAdoptStyles",
263
- "privacy": "private",
264
- "return": {
265
- "type": {
266
- "text": "Promise<void>"
267
- }
268
- }
269
- },
270
- {
271
- "kind": "method",
272
- "name": "adoptStyles",
273
- "privacy": "protected",
274
- "return": {
275
- "type": {
276
- "text": "void"
277
- }
278
- }
279
- },
280
- {
281
- "kind": "method",
282
- "name": "registerThemeFragment",
283
- "static": true,
284
- "return": {
285
- "type": {
286
- "text": "void"
287
- }
288
- },
289
- "parameters": [
290
- {
291
- "name": "name",
292
- "type": {
293
- "text": "FragmentName"
294
- }
295
- },
296
- {
297
- "name": "kind",
298
- "type": {
299
- "text": "FragmentType"
300
- }
301
- },
302
- {
303
- "name": "styles",
304
- "type": {
305
- "text": "CSSResultGroup"
306
- }
307
- }
308
- ]
309
- },
310
- {
311
- "kind": "field",
312
- "name": "_contextConsumers",
313
- "privacy": "private",
314
- "default": "new Map<\n HTMLElement,\n [ProvideLang['callback'], () => void]\n >()"
315
- },
316
- {
317
- "kind": "method",
318
- "name": "_provideContext",
319
- "privacy": "private",
320
- "return": {
321
- "type": {
322
- "text": "void"
323
- }
324
- }
325
- },
326
- {
327
- "kind": "method",
328
- "name": "_handleContextPresence",
329
- "privacy": "private",
330
- "return": {
331
- "type": {
332
- "text": "void"
333
- }
334
- },
335
- "parameters": [
336
- {
337
- "name": "event",
338
- "type": {
339
- "text": "CustomEvent<ProvideLang>"
340
- }
341
- }
342
- ]
343
- }
344
- ],
345
- "attributes": [
346
- {
347
- "name": "color",
348
- "type": {
349
- "text": "\"lightest\" | \"light\" | \"dark\" | \"darkest\" | \"\""
350
- },
351
- "description": "The Spectrum color stops to apply to content scoped by this `sp-theme` element.\n\nA value is requried.",
352
- "fieldName": "color"
353
- },
354
- {
355
- "name": "scale",
356
- "type": {
357
- "text": "\"medium\" | \"large\" | \"\""
358
- },
359
- "description": "The Spectrum platform scale to apply to content scoped by this `sp-theme` element.\n\nA value is requried.",
360
- "fieldName": "scale"
361
- },
362
- {
363
- "name": "theme",
364
- "type": {
365
- "text": "\"spectrum\" | \"express\" | \"\""
366
- },
367
- "description": "The Spectrum theme that is applied to the content scoped to this `sp-theme` element.\n\nA value is requried.",
368
- "fieldName": "theme"
369
- },
370
- {
371
- "name": "lang",
372
- "type": {
373
- "text": "string"
374
- },
375
- "description": "The language of the content scoped to this `sp-theme` element, see: <a href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang\" target=\"_blank\">MDN reference</a>.",
376
- "default": "\"\""
377
- },
378
- {
379
- "name": "dir",
380
- "type": {
381
- "text": "\"ltr\" | \"rtl\" | \"\""
382
- },
383
- "description": "Reading direction of the content scoped to this `sp-theme` element.",
384
- "fieldName": "dir"
385
- }
386
- ],
387
- "superclass": {
388
- "name": "HTMLElement"
389
- },
390
- "tagName": "sp-theme",
391
- "customElement": true
392
- }
393
- ],
394
- "exports": [
395
- {
396
- "kind": "js",
397
- "name": "Theme",
398
- "declaration": {
399
- "name": "Theme",
400
- "module": "src/Theme.js"
401
- }
402
- }
403
- ]
404
- }
405
- ]
406
- }