@spectrum-web-components/theme 0.11.2 → 0.12.1-devmode.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 +17 -0
- package/core.dev.js +4 -0
- package/core.dev.js.map +7 -0
- package/core.js +4 -15
- package/core.js.map +7 -1
- package/custom-elements.json +61 -18
- package/express/scale-large.dev.js +5 -0
- package/express/scale-large.dev.js.map +7 -0
- package/express/scale-large.js +5 -16
- package/express/scale-large.js.map +7 -1
- package/express/scale-medium.dev.js +5 -0
- package/express/scale-medium.dev.js.map +7 -0
- package/express/scale-medium.js +5 -16
- package/express/scale-medium.js.map +7 -1
- package/express/theme-dark.dev.js +5 -0
- package/express/theme-dark.dev.js.map +7 -0
- package/express/theme-dark.js +5 -16
- package/express/theme-dark.js.map +7 -1
- package/express/theme-darkest.dev.js +5 -0
- package/express/theme-darkest.dev.js.map +7 -0
- package/express/theme-darkest.js +5 -16
- package/express/theme-darkest.js.map +7 -1
- package/express/theme-light.dev.js +5 -0
- package/express/theme-light.dev.js.map +7 -0
- package/express/theme-light.js +5 -16
- package/express/theme-light.js.map +7 -1
- package/express/theme-lightest.dev.js +5 -0
- package/express/theme-lightest.dev.js.map +7 -0
- package/express/theme-lightest.js +5 -16
- package/express/theme-lightest.js.map +7 -1
- package/package.json +97 -24
- package/scale-large.dev.js +5 -0
- package/scale-large.dev.js.map +7 -0
- package/scale-large.js +5 -16
- package/scale-large.js.map +7 -1
- package/scale-medium.dev.js +5 -0
- package/scale-medium.dev.js.map +7 -0
- package/scale-medium.js +5 -16
- package/scale-medium.js.map +7 -1
- package/sp-theme.dev.js +3 -0
- package/sp-theme.dev.js.map +7 -0
- package/sp-theme.js +3 -14
- package/sp-theme.js.map +7 -1
- package/src/Theme.d.ts +31 -2
- package/src/Theme.dev.js +297 -0
- package/src/Theme.dev.js.map +7 -0
- package/src/Theme.js +275 -311
- package/src/Theme.js.map +7 -1
- package/src/express/core.dev.js +4 -0
- package/src/express/core.dev.js.map +7 -0
- package/src/express/core.js +4 -15
- package/src/express/core.js.map +7 -1
- package/src/express/scale-large.css.dev.js +182 -0
- package/src/express/scale-large.css.dev.js.map +7 -0
- package/src/express/scale-large.css.js +28 -3925
- package/src/express/scale-large.css.js.map +7 -1
- package/src/express/scale-medium.css.dev.js +190 -0
- package/src/express/scale-medium.css.dev.js.map +7 -0
- package/src/express/scale-medium.css.js +35 -3980
- package/src/express/scale-medium.css.js.map +7 -1
- package/src/express/theme-dark.css.dev.js +56 -0
- package/src/express/theme-dark.css.dev.js.map +7 -0
- package/src/express/theme-dark.css.js +36 -15
- package/src/express/theme-dark.css.js.map +7 -1
- package/src/express/theme-light.css.dev.js +56 -0
- package/src/express/theme-light.css.dev.js.map +7 -0
- package/src/express/theme-light.css.js +36 -15
- package/src/express/theme-light.css.js.map +7 -1
- package/src/express/theme.css.dev.js +1846 -0
- package/src/express/theme.css.dev.js.map +7 -0
- package/src/express/theme.css.js +157 -16
- package/src/express/theme.css.js.map +7 -1
- package/src/express/themes.dev.js +7 -0
- package/src/express/themes.dev.js.map +7 -0
- package/src/express/themes.js +7 -18
- package/src/express/themes.js.map +7 -1
- package/src/index.dev.js +2 -0
- package/src/index.dev.js.map +7 -0
- package/src/index.js +2 -13
- package/src/index.js.map +7 -1
- package/src/scale-large.css.dev.js +190 -0
- package/src/scale-large.css.dev.js.map +7 -0
- package/src/scale-large.css.js +28 -3925
- package/src/scale-large.css.js.map +7 -1
- package/src/scale-medium.css.dev.js +192 -0
- package/src/scale-medium.css.dev.js.map +7 -0
- package/src/scale-medium.css.js +35 -3980
- package/src/scale-medium.css.js.map +7 -1
- package/src/theme-dark.css.dev.js +58 -0
- package/src/theme-dark.css.dev.js.map +7 -0
- package/src/theme-dark.css.js +36 -15
- package/src/theme-dark.css.js.map +7 -1
- package/src/theme-darkest.css.dev.js +58 -0
- package/src/theme-darkest.css.dev.js.map +7 -0
- package/src/theme-darkest.css.js +36 -15
- package/src/theme-darkest.css.js.map +7 -1
- package/src/theme-light.css.dev.js +58 -0
- package/src/theme-light.css.dev.js.map +7 -0
- package/src/theme-light.css.js +36 -15
- package/src/theme-light.css.js.map +7 -1
- package/src/theme-lightest.css.dev.js +52 -0
- package/src/theme-lightest.css.dev.js.map +7 -0
- package/src/theme-lightest.css.js +36 -15
- package/src/theme-lightest.css.js.map +7 -1
- package/src/theme.css.dev.js +1840 -0
- package/src/theme.css.dev.js.map +7 -0
- package/src/theme.css.js +171 -16
- package/src/theme.css.js.map +7 -1
- package/src/themes.dev.js +7 -0
- package/src/themes.dev.js.map +7 -0
- package/src/themes.js +7 -18
- package/src/themes.js.map +7 -1
- package/src/typography.css.dev.js +946 -0
- package/src/typography.css.dev.js.map +7 -0
- package/src/typography.css.js +3 -14
- package/src/typography.css.js.map +7 -1
- package/stories/theme.stories.js +38 -43
- package/stories/theme.stories.js.map +7 -1
- package/test/theme-lazy.test.js +90 -108
- package/test/theme-lazy.test.js.map +7 -1
- package/test/theme.test-vrt.js +4 -15
- package/test/theme.test-vrt.js.map +7 -1
- package/test/themes.test.js +103 -120
- package/test/themes.test.js.map +7 -1
- package/theme-dark.dev.js +5 -0
- package/theme-dark.dev.js.map +7 -0
- package/theme-dark.js +5 -16
- package/theme-dark.js.map +7 -1
- package/theme-darkest.dev.js +5 -0
- package/theme-darkest.dev.js.map +7 -0
- package/theme-darkest.js +5 -16
- package/theme-darkest.js.map +7 -1
- package/theme-light.dev.js +5 -0
- package/theme-light.dev.js.map +7 -0
- package/theme-light.js +5 -16
- package/theme-light.js.map +7 -1
- package/theme-lightest.dev.js +5 -0
- package/theme-lightest.dev.js.map +7 -0
- package/theme-lightest.js +5 -16
- package/theme-lightest.js.map +7 -1
package/README.md
CHANGED
|
@@ -54,6 +54,23 @@ import '@spectrum-web-components/theme/express/scale-medium.js';
|
|
|
54
54
|
import '@spectrum-web-components/theme/express/scale-large.js';
|
|
55
55
|
```
|
|
56
56
|
|
|
57
|
+
## Example
|
|
58
|
+
|
|
59
|
+
An `<sp-theme>` element expects a value for each of its `theme`, `color`, and `scale` attributes to either be provided on the element.
|
|
60
|
+
|
|
61
|
+
```html
|
|
62
|
+
<sp-theme
|
|
63
|
+
theme="spectrum"
|
|
64
|
+
color="light"
|
|
65
|
+
scale="medium"
|
|
66
|
+
style="background-color: var(--spectrum-global-color-gray-100)"
|
|
67
|
+
>
|
|
68
|
+
<sp-button onclick="spAlert(this, 'Themed <sp-button> clicked!')">
|
|
69
|
+
Click me!
|
|
70
|
+
</sp-button>
|
|
71
|
+
</sp-theme>
|
|
72
|
+
```
|
|
73
|
+
|
|
57
74
|
## Quick start
|
|
58
75
|
|
|
59
76
|
```
|
package/core.dev.js
ADDED
package/core.dev.js.map
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["core.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 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*/\n\nimport { Theme } from './src/Theme.dev.js'\n\nimport coreStyles from './src/theme.css.js';\n\nTheme.registerThemeFragment('spectrum', 'theme', coreStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AAEA;AAEA,MAAM,sBAAsB,YAAY,SAAS,UAAU;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/core.js
CHANGED
|
@@ -1,15 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import { Theme } from './src/Theme.js';
|
|
13
|
-
import coreStyles from './src/theme.css.js';
|
|
14
|
-
Theme.registerThemeFragment('spectrum', 'theme', coreStyles);
|
|
15
|
-
//# sourceMappingURL=core.js.map
|
|
1
|
+
import { Theme } from "./src/Theme.js";
|
|
2
|
+
import coreStyles from "./src/theme.css.js";
|
|
3
|
+
Theme.registerThemeFragment("spectrum", "theme", coreStyles);
|
|
4
|
+
//# sourceMappingURL=core.js.map
|
package/core.js.map
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["core.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 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*/\n\nimport { Theme } from './src/Theme.js';\n\nimport coreStyles from './src/theme.css.js';\n\nTheme.registerThemeFragment('spectrum', 'theme', coreStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AAEA;AAEA,MAAM,sBAAsB,YAAY,SAAS,UAAU;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/custom-elements.json
CHANGED
|
@@ -71,6 +71,23 @@
|
|
|
71
71
|
"static": true,
|
|
72
72
|
"default": "new Set()"
|
|
73
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
|
+
},
|
|
74
91
|
{
|
|
75
92
|
"kind": "field",
|
|
76
93
|
"name": "shadowRoot",
|
|
@@ -92,8 +109,10 @@
|
|
|
92
109
|
"kind": "field",
|
|
93
110
|
"name": "theme",
|
|
94
111
|
"type": {
|
|
95
|
-
"text": "
|
|
96
|
-
}
|
|
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"
|
|
97
116
|
},
|
|
98
117
|
{
|
|
99
118
|
"kind": "field",
|
|
@@ -108,8 +127,10 @@
|
|
|
108
127
|
"kind": "field",
|
|
109
128
|
"name": "color",
|
|
110
129
|
"type": {
|
|
111
|
-
"text": "
|
|
112
|
-
}
|
|
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"
|
|
113
134
|
},
|
|
114
135
|
{
|
|
115
136
|
"kind": "field",
|
|
@@ -124,8 +145,10 @@
|
|
|
124
145
|
"kind": "field",
|
|
125
146
|
"name": "scale",
|
|
126
147
|
"type": {
|
|
127
|
-
"text": "
|
|
128
|
-
}
|
|
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"
|
|
129
152
|
},
|
|
130
153
|
{
|
|
131
154
|
"kind": "field",
|
|
@@ -180,14 +203,6 @@
|
|
|
180
203
|
}
|
|
181
204
|
]
|
|
182
205
|
},
|
|
183
|
-
{
|
|
184
|
-
"kind": "field",
|
|
185
|
-
"name": "observer",
|
|
186
|
-
"type": {
|
|
187
|
-
"text": "MutationObserver"
|
|
188
|
-
},
|
|
189
|
-
"privacy": "private"
|
|
190
|
-
},
|
|
191
206
|
{
|
|
192
207
|
"kind": "method",
|
|
193
208
|
"name": "startManagingContentDirection",
|
|
@@ -329,16 +344,44 @@
|
|
|
329
344
|
],
|
|
330
345
|
"attributes": [
|
|
331
346
|
{
|
|
332
|
-
"name": "color"
|
|
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"
|
|
333
361
|
},
|
|
334
362
|
{
|
|
335
|
-
"name": "
|
|
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"
|
|
336
369
|
},
|
|
337
370
|
{
|
|
338
|
-
"name": "
|
|
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": "\"\""
|
|
339
377
|
},
|
|
340
378
|
{
|
|
341
|
-
"name": "
|
|
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"
|
|
342
385
|
}
|
|
343
386
|
],
|
|
344
387
|
"superclass": {
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["scale-large.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 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*/\n\nimport largeStyles from '../src/express/scale-large.css.js';\nimport { Theme } from '../src/Theme.dev.js'\nimport '../src/express/core.dev.js'\n\nTheme.registerThemeFragment('large-express', 'scale', largeStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,iBAAiB,SAAS,WAAW;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/express/scale-large.js
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import largeStyles from '../src/express/scale-large.css.js';
|
|
13
|
-
import { Theme } from '../src/Theme.js';
|
|
14
|
-
import '../src/express/core.js';
|
|
15
|
-
Theme.registerThemeFragment('large-express', 'scale', largeStyles);
|
|
16
|
-
//# sourceMappingURL=scale-large.js.map
|
|
1
|
+
import largeStyles from "../src/express/scale-large.css.js";
|
|
2
|
+
import { Theme } from "../src/Theme.js";
|
|
3
|
+
import "../src/express/core.js";
|
|
4
|
+
Theme.registerThemeFragment("large-express", "scale", largeStyles);
|
|
5
|
+
//# sourceMappingURL=scale-large.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["scale-large.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 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*/\n\nimport largeStyles from '../src/express/scale-large.css.js';\nimport { Theme } from '../src/Theme.js';\nimport '../src/express/core.js';\n\nTheme.registerThemeFragment('large-express', 'scale', largeStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,iBAAiB,SAAS,WAAW;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["scale-medium.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 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*/\n\nimport mediumStyles from '../src/express/scale-medium.css.js';\nimport { Theme } from '../src/Theme.dev.js'\nimport '../src/express/core.dev.js'\n\nTheme.registerThemeFragment('medium-express', 'scale', mediumStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,kBAAkB,SAAS,YAAY;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/express/scale-medium.js
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import mediumStyles from '../src/express/scale-medium.css.js';
|
|
13
|
-
import { Theme } from '../src/Theme.js';
|
|
14
|
-
import '../src/express/core.js';
|
|
15
|
-
Theme.registerThemeFragment('medium-express', 'scale', mediumStyles);
|
|
16
|
-
//# sourceMappingURL=scale-medium.js.map
|
|
1
|
+
import mediumStyles from "../src/express/scale-medium.css.js";
|
|
2
|
+
import { Theme } from "../src/Theme.js";
|
|
3
|
+
import "../src/express/core.js";
|
|
4
|
+
Theme.registerThemeFragment("medium-express", "scale", mediumStyles);
|
|
5
|
+
//# sourceMappingURL=scale-medium.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["scale-medium.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 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*/\n\nimport mediumStyles from '../src/express/scale-medium.css.js';\nimport { Theme } from '../src/Theme.js';\nimport '../src/express/core.js';\n\nTheme.registerThemeFragment('medium-express', 'scale', mediumStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,kBAAkB,SAAS,YAAY;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-dark.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 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*/\n\nimport darkStyles from '../src/express/theme-dark.css.js';\nimport { Theme } from '../src/Theme.dev.js'\nimport '../src/express/core.dev.js'\n\nTheme.registerThemeFragment('dark-express', 'color', darkStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,gBAAgB,SAAS,UAAU;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/express/theme-dark.js
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import darkStyles from '../src/express/theme-dark.css.js';
|
|
13
|
-
import { Theme } from '../src/Theme.js';
|
|
14
|
-
import '../src/express/core.js';
|
|
15
|
-
Theme.registerThemeFragment('dark-express', 'color', darkStyles);
|
|
16
|
-
//# sourceMappingURL=theme-dark.js.map
|
|
1
|
+
import darkStyles from "../src/express/theme-dark.css.js";
|
|
2
|
+
import { Theme } from "../src/Theme.js";
|
|
3
|
+
import "../src/express/core.js";
|
|
4
|
+
Theme.registerThemeFragment("dark-express", "color", darkStyles);
|
|
5
|
+
//# sourceMappingURL=theme-dark.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-dark.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 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*/\n\nimport darkStyles from '../src/express/theme-dark.css.js';\nimport { Theme } from '../src/Theme.js';\nimport '../src/express/core.js';\n\nTheme.registerThemeFragment('dark-express', 'color', darkStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,gBAAgB,SAAS,UAAU;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-darkest.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 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*/\n\nimport darkStyles from '../src/express/theme-dark.css.js';\nimport { Theme } from '../src/Theme.dev.js'\nimport '../src/express/core.dev.js'\n\nTheme.registerThemeFragment('darkest-express', 'color', darkStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,mBAAmB,SAAS,UAAU;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/express/theme-darkest.js
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import darkStyles from '../src/express/theme-dark.css.js';
|
|
13
|
-
import { Theme } from '../src/Theme.js';
|
|
14
|
-
import '../src/express/core.js';
|
|
15
|
-
Theme.registerThemeFragment('darkest-express', 'color', darkStyles);
|
|
16
|
-
//# sourceMappingURL=theme-darkest.js.map
|
|
1
|
+
import darkStyles from "../src/express/theme-dark.css.js";
|
|
2
|
+
import { Theme } from "../src/Theme.js";
|
|
3
|
+
import "../src/express/core.js";
|
|
4
|
+
Theme.registerThemeFragment("darkest-express", "color", darkStyles);
|
|
5
|
+
//# sourceMappingURL=theme-darkest.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-darkest.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 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*/\n\nimport darkStyles from '../src/express/theme-dark.css.js';\nimport { Theme } from '../src/Theme.js';\nimport '../src/express/core.js';\n\nTheme.registerThemeFragment('darkest-express', 'color', darkStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,mBAAmB,SAAS,UAAU;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-light.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 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*/\n\nimport lightStyles from '../src/express/theme-light.css.js';\nimport { Theme } from '../src/Theme.dev.js'\nimport '../src/express/core.dev.js'\n\nTheme.registerThemeFragment('light-express', 'color', lightStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,iBAAiB,SAAS,WAAW;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/express/theme-light.js
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import lightStyles from '../src/express/theme-light.css.js';
|
|
13
|
-
import { Theme } from '../src/Theme.js';
|
|
14
|
-
import '../src/express/core.js';
|
|
15
|
-
Theme.registerThemeFragment('light-express', 'color', lightStyles);
|
|
16
|
-
//# sourceMappingURL=theme-light.js.map
|
|
1
|
+
import lightStyles from "../src/express/theme-light.css.js";
|
|
2
|
+
import { Theme } from "../src/Theme.js";
|
|
3
|
+
import "../src/express/core.js";
|
|
4
|
+
Theme.registerThemeFragment("light-express", "color", lightStyles);
|
|
5
|
+
//# sourceMappingURL=theme-light.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-light.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 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*/\n\nimport lightStyles from '../src/express/theme-light.css.js';\nimport { Theme } from '../src/Theme.js';\nimport '../src/express/core.js';\n\nTheme.registerThemeFragment('light-express', 'color', lightStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,iBAAiB,SAAS,WAAW;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-lightest.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 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*/\n\nimport lightStyles from '../src/express/theme-light.css.js';\nimport { Theme } from '../src/Theme.dev.js'\nimport '../src/express/core.dev.js'\n\nTheme.registerThemeFragment('lightest-express', 'color', lightStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,oBAAoB,SAAS,WAAW;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import lightStyles from '../src/express/theme-light.css.js';
|
|
13
|
-
import { Theme } from '../src/Theme.js';
|
|
14
|
-
import '../src/express/core.js';
|
|
15
|
-
Theme.registerThemeFragment('lightest-express', 'color', lightStyles);
|
|
16
|
-
//# sourceMappingURL=theme-lightest.js.map
|
|
1
|
+
import lightStyles from "../src/express/theme-light.css.js";
|
|
2
|
+
import { Theme } from "../src/Theme.js";
|
|
3
|
+
import "../src/express/core.js";
|
|
4
|
+
Theme.registerThemeFragment("lightest-express", "color", lightStyles);
|
|
5
|
+
//# sourceMappingURL=theme-lightest.js.map
|
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-lightest.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 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*/\n\nimport lightStyles from '../src/express/theme-light.css.js';\nimport { Theme } from '../src/Theme.js';\nimport '../src/express/core.js';\n\nTheme.registerThemeFragment('lightest-express', 'color', lightStyles);\n"],
|
|
5
|
+
"mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,oBAAoB,SAAS,WAAW;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|