@spectrum-web-components/theme 0.50.0-beta.0 → 0.50.0-beta.10
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 +1 -1
- package/core-tokens.dev.js +1 -1
- package/core-tokens.dev.js.map +2 -2
- package/core-tokens.js +1 -1
- package/core-tokens.js.map +2 -2
- package/package.json +50 -4
- package/spectrum-two/scale-large.d.ts +1 -0
- package/spectrum-two/scale-large.dev.js +6 -0
- package/spectrum-two/scale-large.dev.js.map +7 -0
- package/spectrum-two/scale-large.js +2 -0
- package/spectrum-two/scale-large.js.map +7 -0
- package/spectrum-two/scale-medium.d.ts +1 -0
- package/spectrum-two/scale-medium.dev.js +6 -0
- package/spectrum-two/scale-medium.dev.js.map +7 -0
- package/spectrum-two/scale-medium.js +2 -0
- package/spectrum-two/scale-medium.js.map +7 -0
- package/spectrum-two/theme-dark.d.ts +1 -0
- package/spectrum-two/theme-dark.dev.js +6 -0
- package/spectrum-two/theme-dark.dev.js.map +7 -0
- package/spectrum-two/theme-dark.js +2 -0
- package/spectrum-two/theme-dark.js.map +7 -0
- package/spectrum-two/theme-darkest-core-tokens.d.ts +1 -0
- package/spectrum-two/theme-darkest-core-tokens.dev.js +6 -0
- package/spectrum-two/theme-darkest-core-tokens.dev.js.map +7 -0
- package/spectrum-two/theme-darkest-core-tokens.js +2 -0
- package/spectrum-two/theme-darkest-core-tokens.js.map +7 -0
- package/spectrum-two/theme-darkest.d.ts +1 -0
- package/spectrum-two/theme-darkest.dev.js +6 -0
- package/spectrum-two/theme-darkest.dev.js.map +7 -0
- package/spectrum-two/theme-darkest.js +2 -0
- package/spectrum-two/theme-darkest.js.map +7 -0
- package/spectrum-two/theme-light.d.ts +1 -0
- package/spectrum-two/theme-light.dev.js +6 -0
- package/spectrum-two/theme-light.dev.js.map +7 -0
- package/spectrum-two/theme-light.js +2 -0
- package/spectrum-two/theme-light.js.map +7 -0
- package/spectrum-two/theme-lightest-core-tokens.d.ts +1 -0
- package/spectrum-two/theme-lightest-core-tokens.dev.js +6 -0
- package/spectrum-two/theme-lightest-core-tokens.dev.js.map +7 -0
- package/spectrum-two/theme-lightest-core-tokens.js +2 -0
- package/spectrum-two/theme-lightest-core-tokens.js.map +7 -0
- package/spectrum-two/theme-lightest.d.ts +1 -0
- package/spectrum-two/theme-lightest.dev.js +6 -0
- package/spectrum-two/theme-lightest.dev.js.map +7 -0
- package/spectrum-two/theme-lightest.js +2 -0
- package/spectrum-two/theme-lightest.js.map +7 -0
- package/src/Theme.d.ts +0 -24
- package/src/Theme.dev.js +3 -60
- package/src/Theme.dev.js.map +2 -2
- package/src/Theme.js +1 -1
- package/src/Theme.js.map +3 -3
- package/src/express/core-tokens.dev.js +1 -1
- package/src/express/core-tokens.dev.js.map +2 -2
- package/src/express/core-tokens.js +1 -1
- package/src/express/core-tokens.js.map +2 -2
- package/src/express/scale-large-core-tokens.css.dev.js +1 -1
- package/src/express/scale-large-core-tokens.css.dev.js.map +1 -1
- package/src/express/scale-large-core-tokens.css.js +1 -1
- package/src/express/scale-large-core-tokens.css.js.map +1 -1
- package/src/express/scale-large.css.dev.js +1 -1
- package/src/express/scale-large.css.dev.js.map +1 -1
- package/src/express/scale-large.css.js +1 -1
- package/src/express/scale-large.css.js.map +1 -1
- package/src/express/scale-medium-core-tokens.css.dev.js +1 -1
- package/src/express/scale-medium-core-tokens.css.dev.js.map +1 -1
- package/src/express/scale-medium-core-tokens.css.js +1 -1
- package/src/express/scale-medium-core-tokens.css.js.map +1 -1
- package/src/express/scale-medium.css.dev.js +1 -1
- package/src/express/scale-medium.css.dev.js.map +1 -1
- package/src/express/scale-medium.css.js +3 -3
- package/src/express/scale-medium.css.js.map +1 -1
- package/src/express/theme-core-tokens.css.dev.js +1 -1
- package/src/express/theme-core-tokens.css.dev.js.map +1 -1
- package/src/express/theme-core-tokens.css.js +1 -1
- package/src/express/theme-core-tokens.css.js.map +1 -1
- package/src/express/theme-dark.css.dev.js +1 -1
- package/src/express/theme-dark.css.dev.js.map +1 -1
- package/src/express/theme-dark.css.js +1 -1
- package/src/express/theme-dark.css.js.map +1 -1
- package/src/express/theme-light.css.dev.js +1 -1
- package/src/express/theme-light.css.dev.js.map +1 -1
- package/src/express/theme-light.css.js +1 -1
- package/src/express/theme-light.css.js.map +1 -1
- package/src/express/theme.css.dev.js +1 -1
- package/src/express/theme.css.dev.js.map +1 -1
- package/src/express/theme.css.js +1 -1
- package/src/express/theme.css.js.map +1 -1
- package/src/scale-large-core-tokens.css.dev.js +1 -1
- package/src/scale-large-core-tokens.css.dev.js.map +1 -1
- package/src/scale-large-core-tokens.css.js +1 -1
- package/src/scale-large-core-tokens.css.js.map +1 -1
- package/src/scale-large.css.dev.js +1 -1
- package/src/scale-large.css.dev.js.map +1 -1
- package/src/scale-large.css.js +3 -3
- package/src/scale-large.css.js.map +1 -1
- package/src/scale-medium-core-tokens.css.dev.js +1 -1
- package/src/scale-medium-core-tokens.css.dev.js.map +1 -1
- package/src/scale-medium-core-tokens.css.js +1 -1
- package/src/scale-medium-core-tokens.css.js.map +1 -1
- package/src/scale-medium.css.dev.js +1 -1
- package/src/scale-medium.css.dev.js.map +1 -1
- package/src/scale-medium.css.js +3 -3
- package/src/scale-medium.css.js.map +1 -1
- package/src/spectrum-two/scale-large-core-tokens.css.dev.js +1 -1
- package/src/spectrum-two/scale-large-core-tokens.css.dev.js.map +1 -1
- package/src/spectrum-two/scale-large-core-tokens.css.js +1 -1
- package/src/spectrum-two/scale-large-core-tokens.css.js.map +1 -1
- package/src/spectrum-two/scale-large.css.d.ts +2 -0
- package/src/spectrum-two/scale-large.css.dev.js +7 -0
- package/src/spectrum-two/scale-large.css.dev.js.map +7 -0
- package/src/spectrum-two/scale-large.css.js +4 -0
- package/src/spectrum-two/scale-large.css.js.map +7 -0
- package/src/spectrum-two/scale-medium-core-tokens.css.dev.js +1 -1
- package/src/spectrum-two/scale-medium-core-tokens.css.dev.js.map +1 -1
- package/src/spectrum-two/scale-medium-core-tokens.css.js +1 -1
- package/src/spectrum-two/scale-medium-core-tokens.css.js.map +1 -1
- package/src/spectrum-two/scale-medium.css.d.ts +2 -0
- package/src/spectrum-two/scale-medium.css.dev.js +7 -0
- package/src/spectrum-two/scale-medium.css.dev.js.map +7 -0
- package/src/spectrum-two/scale-medium.css.js +4 -0
- package/src/spectrum-two/scale-medium.css.js.map +7 -0
- package/src/spectrum-two/theme-core-tokens.css.dev.js +1 -1
- package/src/spectrum-two/theme-core-tokens.css.dev.js.map +1 -1
- package/src/spectrum-two/theme-core-tokens.css.js +1 -1
- package/src/spectrum-two/theme-core-tokens.css.js.map +1 -1
- package/src/spectrum-two/theme-dark-core-tokens.css.dev.js +1 -1
- package/src/spectrum-two/theme-dark-core-tokens.css.dev.js.map +1 -1
- package/src/spectrum-two/theme-dark-core-tokens.css.js +1 -1
- package/src/spectrum-two/theme-dark-core-tokens.css.js.map +1 -1
- package/src/spectrum-two/theme-dark.css.d.ts +2 -0
- package/src/spectrum-two/theme-dark.css.dev.js +7 -0
- package/src/spectrum-two/theme-dark.css.dev.js.map +7 -0
- package/src/spectrum-two/theme-dark.css.js +4 -0
- package/src/spectrum-two/theme-dark.css.js.map +7 -0
- package/src/spectrum-two/theme-light-core-tokens.css.dev.js +1 -1
- package/src/spectrum-two/theme-light-core-tokens.css.dev.js.map +1 -1
- package/src/spectrum-two/theme-light-core-tokens.css.js +1 -1
- package/src/spectrum-two/theme-light-core-tokens.css.js.map +1 -1
- package/src/spectrum-two/theme-light.css.d.ts +2 -0
- package/src/spectrum-two/theme-light.css.dev.js +7 -0
- package/src/spectrum-two/theme-light.css.dev.js.map +7 -0
- package/src/spectrum-two/theme-light.css.js +4 -0
- package/src/spectrum-two/theme-light.css.js.map +7 -0
- package/src/spectrum-two/theme.css.dev.js +1 -1
- package/src/spectrum-two/theme.css.dev.js.map +1 -1
- package/src/spectrum-two/theme.css.js +3 -3
- package/src/spectrum-two/theme.css.js.map +1 -1
- package/src/spectrum-two/themes-core-tokens.d.ts +2 -0
- package/src/spectrum-two/themes-core-tokens.dev.js +2 -0
- package/src/spectrum-two/themes-core-tokens.dev.js.map +2 -2
- package/src/spectrum-two/themes-core-tokens.js +1 -1
- package/src/spectrum-two/themes-core-tokens.js.map +2 -2
- package/src/spectrum-two/themes.d.ts +6 -0
- package/src/spectrum-two/themes.dev.js +8 -0
- package/src/spectrum-two/themes.dev.js.map +7 -0
- package/src/spectrum-two/themes.js +2 -0
- package/src/spectrum-two/themes.js.map +7 -0
- package/src/theme-core-tokens.css.dev.js +1 -1
- package/src/theme-core-tokens.css.dev.js.map +1 -1
- package/src/theme-core-tokens.css.js +1 -1
- package/src/theme-core-tokens.css.js.map +1 -1
- package/src/theme-interfaces.d.ts +10 -3
- package/src/theme-interfaces.dev.js +3 -1
- package/src/theme-interfaces.dev.js.map +2 -2
- package/src/theme-interfaces.js +1 -1
- package/src/theme-interfaces.js.map +2 -2
- package/src/theme.css.dev.js +1 -1
- package/src/theme.css.dev.js.map +1 -1
- package/src/theme.css.js +1 -1
- package/src/theme.css.js.map +1 -1
- package/src/typography.css.dev.js +1 -1
- package/src/typography.css.dev.js.map +1 -1
- package/src/typography.css.js +1 -1
- package/src/typography.css.js.map +1 -1
- package/test/theme-devmode.test.js +0 -23
- package/test/theme-devmode.test.js.map +2 -2
- package/test/theme-lazy.test.js +16 -26
- package/test/theme-lazy.test.js.map +2 -2
- package/test/themes.test.js +13 -28
- package/test/themes.test.js.map +2 -2
package/README.md
CHANGED
package/core-tokens.dev.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
import { Theme } from "./src/Theme.dev.js";
|
|
3
3
|
import coreStyles from "./src/theme-core-tokens.css.js";
|
|
4
|
-
Theme.registerThemeFragment("spectrum", "
|
|
4
|
+
Theme.registerThemeFragment("spectrum", "system", coreStyles);
|
|
5
5
|
//# sourceMappingURL=core-tokens.dev.js.map
|
package/core-tokens.dev.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["core-tokens.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-core-tokens.css.js';\nTheme.registerThemeFragment('spectrum', '
|
|
5
|
-
"mappings": ";AAYA,SAAS,aAAa;AAEtB,OAAO,gBAAgB;AACvB,MAAM,sBAAsB,YAAY,
|
|
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-core-tokens.css.js';\nTheme.registerThemeFragment('spectrum', 'system', coreStyles);\n"],
|
|
5
|
+
"mappings": ";AAYA,SAAS,aAAa;AAEtB,OAAO,gBAAgB;AACvB,MAAM,sBAAsB,YAAY,UAAU,UAAU;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/core-tokens.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";import{Theme as e}from"./src/Theme.js";import m from"./src/theme-core-tokens.css.js";e.registerThemeFragment("spectrum","
|
|
1
|
+
"use strict";import{Theme as e}from"./src/Theme.js";import m from"./src/theme-core-tokens.css.js";e.registerThemeFragment("spectrum","system",m);
|
|
2
2
|
//# sourceMappingURL=core-tokens.js.map
|
package/core-tokens.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["core-tokens.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-core-tokens.css.js';\nTheme.registerThemeFragment('spectrum', '
|
|
5
|
-
"mappings": "aAYA,OAAS,SAAAA,MAAa,iBAEtB,OAAOC,MAAgB,iCACvBD,EAAM,sBAAsB,WAAY,
|
|
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-core-tokens.css.js';\nTheme.registerThemeFragment('spectrum', 'system', coreStyles);\n"],
|
|
5
|
+
"mappings": "aAYA,OAAS,SAAAA,MAAa,iBAEtB,OAAOC,MAAgB,iCACvBD,EAAM,sBAAsB,WAAY,SAAUC,CAAU",
|
|
6
6
|
"names": ["Theme", "coreStyles"]
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spectrum-web-components/theme",
|
|
3
|
-
"version": "0.50.0-beta.
|
|
3
|
+
"version": "0.50.0-beta.10",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -112,18 +112,50 @@
|
|
|
112
112
|
"development": "./spectrum-two/scale-large-core-tokens.dev.js",
|
|
113
113
|
"default": "./spectrum-two/scale-large-core-tokens.js"
|
|
114
114
|
},
|
|
115
|
+
"./spectrum-two/scale-large.js": {
|
|
116
|
+
"development": "./spectrum-two/scale-large.dev.js",
|
|
117
|
+
"default": "./spectrum-two/scale-large.js"
|
|
118
|
+
},
|
|
115
119
|
"./spectrum-two/scale-medium-core-tokens.js": {
|
|
116
120
|
"development": "./spectrum-two/scale-medium-core-tokens.dev.js",
|
|
117
121
|
"default": "./spectrum-two/scale-medium-core-tokens.js"
|
|
118
122
|
},
|
|
123
|
+
"./spectrum-two/scale-medium.js": {
|
|
124
|
+
"development": "./spectrum-two/scale-medium.dev.js",
|
|
125
|
+
"default": "./spectrum-two/scale-medium.js"
|
|
126
|
+
},
|
|
119
127
|
"./spectrum-two/theme-dark-core-tokens.js": {
|
|
120
128
|
"development": "./spectrum-two/theme-dark-core-tokens.dev.js",
|
|
121
129
|
"default": "./spectrum-two/theme-dark-core-tokens.js"
|
|
122
130
|
},
|
|
131
|
+
"./spectrum-two/theme-dark.js": {
|
|
132
|
+
"development": "./spectrum-two/theme-dark.dev.js",
|
|
133
|
+
"default": "./spectrum-two/theme-dark.js"
|
|
134
|
+
},
|
|
135
|
+
"./spectrum-two/theme-darkest-core-tokens.js": {
|
|
136
|
+
"development": "./spectrum-two/theme-darkest-core-tokens.dev.js",
|
|
137
|
+
"default": "./spectrum-two/theme-darkest-core-tokens.js"
|
|
138
|
+
},
|
|
139
|
+
"./spectrum-two/theme-darkest.js": {
|
|
140
|
+
"development": "./spectrum-two/theme-darkest.dev.js",
|
|
141
|
+
"default": "./spectrum-two/theme-darkest.js"
|
|
142
|
+
},
|
|
123
143
|
"./spectrum-two/theme-light-core-tokens.js": {
|
|
124
144
|
"development": "./spectrum-two/theme-light-core-tokens.dev.js",
|
|
125
145
|
"default": "./spectrum-two/theme-light-core-tokens.js"
|
|
126
146
|
},
|
|
147
|
+
"./spectrum-two/theme-light.js": {
|
|
148
|
+
"development": "./spectrum-two/theme-light.dev.js",
|
|
149
|
+
"default": "./spectrum-two/theme-light.js"
|
|
150
|
+
},
|
|
151
|
+
"./spectrum-two/theme-lightest-core-tokens.js": {
|
|
152
|
+
"development": "./spectrum-two/theme-lightest-core-tokens.dev.js",
|
|
153
|
+
"default": "./spectrum-two/theme-lightest-core-tokens.js"
|
|
154
|
+
},
|
|
155
|
+
"./spectrum-two/theme-lightest.js": {
|
|
156
|
+
"development": "./spectrum-two/theme-lightest.dev.js",
|
|
157
|
+
"default": "./spectrum-two/theme-lightest.js"
|
|
158
|
+
},
|
|
127
159
|
"./src/express/core-tokens.js": {
|
|
128
160
|
"development": "./src/express/core-tokens.dev.js",
|
|
129
161
|
"default": "./src/express/core-tokens.js"
|
|
@@ -158,10 +190,24 @@
|
|
|
158
190
|
"development": "./src/spectrum-two/core.dev.js",
|
|
159
191
|
"default": "./src/spectrum-two/core.js"
|
|
160
192
|
},
|
|
193
|
+
"./src/spectrum-two/scale-large-core-tokens.css.js": "./src/spectrum-two/scale-large-core-tokens.css.js",
|
|
194
|
+
"./src/spectrum-two/scale-large.css.js": "./src/spectrum-two/scale-large.css.js",
|
|
195
|
+
"./src/spectrum-two/scale-medium-core-tokens.css.js": "./src/spectrum-two/scale-medium-core-tokens.css.js",
|
|
196
|
+
"./src/spectrum-two/scale-medium.css.js": "./src/spectrum-two/scale-medium.css.js",
|
|
197
|
+
"./src/spectrum-two/theme-core-tokens.css.js": "./src/spectrum-two/theme-core-tokens.css.js",
|
|
198
|
+
"./src/spectrum-two/theme-dark-core-tokens.css.js": "./src/spectrum-two/theme-dark-core-tokens.css.js",
|
|
199
|
+
"./src/spectrum-two/theme-dark.css.js": "./src/spectrum-two/theme-dark.css.js",
|
|
200
|
+
"./src/spectrum-two/theme-light-core-tokens.css.js": "./src/spectrum-two/theme-light-core-tokens.css.js",
|
|
201
|
+
"./src/spectrum-two/theme-light.css.js": "./src/spectrum-two/theme-light.css.js",
|
|
202
|
+
"./src/spectrum-two/theme.css.js": "./src/spectrum-two/theme.css.js",
|
|
161
203
|
"./src/spectrum-two/themes-core-tokens.js": {
|
|
162
204
|
"development": "./src/spectrum-two/themes-core-tokens.dev.js",
|
|
163
205
|
"default": "./src/spectrum-two/themes-core-tokens.js"
|
|
164
206
|
},
|
|
207
|
+
"./src/spectrum-two/themes.js": {
|
|
208
|
+
"development": "./src/spectrum-two/themes.dev.js",
|
|
209
|
+
"default": "./src/spectrum-two/themes.js"
|
|
210
|
+
},
|
|
165
211
|
"./core.js": {
|
|
166
212
|
"development": "./core.dev.js",
|
|
167
213
|
"default": "./core.js"
|
|
@@ -237,8 +283,8 @@
|
|
|
237
283
|
"lit-html"
|
|
238
284
|
],
|
|
239
285
|
"dependencies": {
|
|
240
|
-
"@spectrum-web-components/base": "^0.50.0-beta.
|
|
241
|
-
"@spectrum-web-components/styles": "^0.50.0-beta.
|
|
286
|
+
"@spectrum-web-components/base": "^0.50.0-beta.10",
|
|
287
|
+
"@spectrum-web-components/styles": "^0.50.0-beta.10"
|
|
242
288
|
},
|
|
243
289
|
"types": "./src/index.d.ts",
|
|
244
290
|
"customElements": "custom-elements.json",
|
|
@@ -265,5 +311,5 @@
|
|
|
265
311
|
"./src/spectrum-two/themes.js",
|
|
266
312
|
"./src/spectrum-two/themes-*.js"
|
|
267
313
|
],
|
|
268
|
-
"gitHead": "
|
|
314
|
+
"gitHead": "395073bbb2a7fc859d54f59cd0d93d80cc3c60a7"
|
|
269
315
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../src/spectrum-two/core.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
import largeStyles from "../src/spectrum-two/scale-large.css.js";
|
|
3
|
+
import { Theme } from "../src/Theme.dev.js";
|
|
4
|
+
import "../src/spectrum-two/core.dev.js";
|
|
5
|
+
Theme.registerThemeFragment("large-spectrum-two", "scale", largeStyles);
|
|
6
|
+
//# sourceMappingURL=scale-large.dev.js.map
|
|
@@ -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/spectrum-two/scale-large.css.js';\nimport { Theme } from '../src/Theme.dev.js'\nimport '../src/spectrum-two/core.dev.js'\n\nTheme.registerThemeFragment('large-spectrum-two', 'scale', largeStyles);\n"],
|
|
5
|
+
"mappings": ";AAYA,OAAO,iBAAiB;AACxB,SAAS,aAAa;AACtB,OAAO;AAEP,MAAM,sBAAsB,sBAAsB,SAAS,WAAW;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -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/spectrum-two/scale-large.css.js';\nimport { Theme } from '../src/Theme.js';\nimport '../src/spectrum-two/core.js';\n\nTheme.registerThemeFragment('large-spectrum-two', 'scale', largeStyles);\n"],
|
|
5
|
+
"mappings": "aAYA,OAAOA,MAAiB,yCACxB,OAAS,SAAAC,MAAa,kBACtB,MAAO,8BAEPA,EAAM,sBAAsB,qBAAsB,QAASD,CAAW",
|
|
6
|
+
"names": ["largeStyles", "Theme"]
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../src/spectrum-two/core.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
import mediumStyles from "../src/spectrum-two/scale-medium.css.js";
|
|
3
|
+
import { Theme } from "../src/Theme.dev.js";
|
|
4
|
+
import "../src/spectrum-two/core.dev.js";
|
|
5
|
+
Theme.registerThemeFragment("medium-spectrum-two", "scale", mediumStyles);
|
|
6
|
+
//# sourceMappingURL=scale-medium.dev.js.map
|
|
@@ -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/spectrum-two/scale-medium.css.js';\nimport { Theme } from '../src/Theme.dev.js'\nimport '../src/spectrum-two/core.dev.js'\n\nTheme.registerThemeFragment('medium-spectrum-two', 'scale', mediumStyles);\n"],
|
|
5
|
+
"mappings": ";AAYA,OAAO,kBAAkB;AACzB,SAAS,aAAa;AACtB,OAAO;AAEP,MAAM,sBAAsB,uBAAuB,SAAS,YAAY;",
|
|
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/spectrum-two/scale-medium.css.js';\nimport { Theme } from '../src/Theme.js';\nimport '../src/spectrum-two/core.js';\n\nTheme.registerThemeFragment('medium-spectrum-two', 'scale', mediumStyles);\n"],
|
|
5
|
+
"mappings": "aAYA,OAAOA,MAAkB,0CACzB,OAAS,SAAAC,MAAa,kBACtB,MAAO,8BAEPA,EAAM,sBAAsB,sBAAuB,QAASD,CAAY",
|
|
6
|
+
"names": ["mediumStyles", "Theme"]
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../src/spectrum-two/core.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
import darkStyles from "../src/spectrum-two/theme-dark.css.js";
|
|
3
|
+
import { Theme } from "../src/Theme.dev.js";
|
|
4
|
+
import "../src/spectrum-two/core.dev.js";
|
|
5
|
+
Theme.registerThemeFragment("dark-spectrum-two", "color", darkStyles);
|
|
6
|
+
//# sourceMappingURL=theme-dark.dev.js.map
|
|
@@ -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/spectrum-two/theme-dark.css.js';\nimport { Theme } from '../src/Theme.dev.js'\nimport '../src/spectrum-two/core.dev.js'\n\nTheme.registerThemeFragment('dark-spectrum-two', 'color', darkStyles);\n"],
|
|
5
|
+
"mappings": ";AAYA,OAAO,gBAAgB;AACvB,SAAS,aAAa;AACtB,OAAO;AAEP,MAAM,sBAAsB,qBAAqB,SAAS,UAAU;",
|
|
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/spectrum-two/theme-dark.css.js';\nimport { Theme } from '../src/Theme.js';\nimport '../src/spectrum-two/core.js';\n\nTheme.registerThemeFragment('dark-spectrum-two', 'color', darkStyles);\n"],
|
|
5
|
+
"mappings": "aAYA,OAAOA,MAAgB,wCACvB,OAAS,SAAAC,MAAa,kBACtB,MAAO,8BAEPA,EAAM,sBAAsB,oBAAqB,QAASD,CAAU",
|
|
6
|
+
"names": ["darkStyles", "Theme"]
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../src/spectrum-two/core-tokens.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
import darkStyles from "../src/spectrum-two/theme-dark-core-tokens.css.js";
|
|
3
|
+
import { Theme } from "../src/Theme.dev.js";
|
|
4
|
+
import "../src/spectrum-two/core-tokens.dev.js";
|
|
5
|
+
Theme.registerThemeFragment("darkest-spectrum-two", "color", darkStyles);
|
|
6
|
+
//# sourceMappingURL=theme-darkest-core-tokens.dev.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-darkest-core-tokens.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/spectrum-two/theme-dark-core-tokens.css.js';\nimport { Theme } from '../src/Theme.dev.js'\nimport '../src/spectrum-two/core-tokens.dev.js'\n\nTheme.registerThemeFragment('darkest-spectrum-two', 'color', darkStyles);\n"],
|
|
5
|
+
"mappings": ";AAYA,OAAO,gBAAgB;AACvB,SAAS,aAAa;AACtB,OAAO;AAEP,MAAM,sBAAsB,wBAAwB,SAAS,UAAU;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-darkest-core-tokens.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/spectrum-two/theme-dark-core-tokens.css.js';\nimport { Theme } from '../src/Theme.js';\nimport '../src/spectrum-two/core-tokens.js';\n\nTheme.registerThemeFragment('darkest-spectrum-two', 'color', darkStyles);\n"],
|
|
5
|
+
"mappings": "aAYA,OAAOA,MAAgB,oDACvB,OAAS,SAAAC,MAAa,kBACtB,MAAO,qCAEPA,EAAM,sBAAsB,uBAAwB,QAASD,CAAU",
|
|
6
|
+
"names": ["darkStyles", "Theme"]
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../src/spectrum-two/core.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
import darkStyles from "../src/spectrum-two/theme-dark.css.js";
|
|
3
|
+
import { Theme } from "../src/Theme.dev.js";
|
|
4
|
+
import "../src/spectrum-two/core.dev.js";
|
|
5
|
+
Theme.registerThemeFragment("darkest-spectrum-two", "color", darkStyles);
|
|
6
|
+
//# sourceMappingURL=theme-darkest.dev.js.map
|
|
@@ -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/spectrum-two/theme-dark.css.js';\nimport { Theme } from '../src/Theme.dev.js'\nimport '../src/spectrum-two/core.dev.js'\n\nTheme.registerThemeFragment('darkest-spectrum-two', 'color', darkStyles);\n"],
|
|
5
|
+
"mappings": ";AAYA,OAAO,gBAAgB;AACvB,SAAS,aAAa;AACtB,OAAO;AAEP,MAAM,sBAAsB,wBAAwB,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/spectrum-two/theme-dark.css.js';\nimport { Theme } from '../src/Theme.js';\nimport '../src/spectrum-two/core.js';\n\nTheme.registerThemeFragment('darkest-spectrum-two', 'color', darkStyles);\n"],
|
|
5
|
+
"mappings": "aAYA,OAAOA,MAAgB,wCACvB,OAAS,SAAAC,MAAa,kBACtB,MAAO,8BAEPA,EAAM,sBAAsB,uBAAwB,QAASD,CAAU",
|
|
6
|
+
"names": ["darkStyles", "Theme"]
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../src/spectrum-two/core.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
import lightStyles from "../src/spectrum-two/theme-light.css.js";
|
|
3
|
+
import { Theme } from "../src/Theme.dev.js";
|
|
4
|
+
import "../src/spectrum-two/core.dev.js";
|
|
5
|
+
Theme.registerThemeFragment("light-spectrum-two", "color", lightStyles);
|
|
6
|
+
//# sourceMappingURL=theme-light.dev.js.map
|
|
@@ -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/spectrum-two/theme-light.css.js';\nimport { Theme } from '../src/Theme.dev.js'\nimport '../src/spectrum-two/core.dev.js'\n\nTheme.registerThemeFragment('light-spectrum-two', 'color', lightStyles);\n"],
|
|
5
|
+
"mappings": ";AAYA,OAAO,iBAAiB;AACxB,SAAS,aAAa;AACtB,OAAO;AAEP,MAAM,sBAAsB,sBAAsB,SAAS,WAAW;",
|
|
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/spectrum-two/theme-light.css.js';\nimport { Theme } from '../src/Theme.js';\nimport '../src/spectrum-two/core.js';\n\nTheme.registerThemeFragment('light-spectrum-two', 'color', lightStyles);\n"],
|
|
5
|
+
"mappings": "aAYA,OAAOA,MAAiB,yCACxB,OAAS,SAAAC,MAAa,kBACtB,MAAO,8BAEPA,EAAM,sBAAsB,qBAAsB,QAASD,CAAW",
|
|
6
|
+
"names": ["lightStyles", "Theme"]
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../src/spectrum-two/core-tokens.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
import lightStyles from "../src/spectrum-two/theme-light-core-tokens.css.js";
|
|
3
|
+
import { Theme } from "../src/Theme.dev.js";
|
|
4
|
+
import "../src/spectrum-two/core-tokens.dev.js";
|
|
5
|
+
Theme.registerThemeFragment("lightest-spectrum-two", "color", lightStyles);
|
|
6
|
+
//# sourceMappingURL=theme-lightest-core-tokens.dev.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-lightest-core-tokens.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/spectrum-two/theme-light-core-tokens.css.js';\nimport { Theme } from '../src/Theme.dev.js'\nimport '../src/spectrum-two/core-tokens.dev.js'\n\nTheme.registerThemeFragment('lightest-spectrum-two', 'color', lightStyles);\n"],
|
|
5
|
+
"mappings": ";AAYA,OAAO,iBAAiB;AACxB,SAAS,aAAa;AACtB,OAAO;AAEP,MAAM,sBAAsB,yBAAyB,SAAS,WAAW;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";import t from"../src/spectrum-two/theme-light-core-tokens.css.js";import{Theme as e}from"../src/Theme.js";import"../src/spectrum-two/core-tokens.js";e.registerThemeFragment("lightest-spectrum-two","color",t);
|
|
2
|
+
//# sourceMappingURL=theme-lightest-core-tokens.js.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["theme-lightest-core-tokens.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/spectrum-two/theme-light-core-tokens.css.js';\nimport { Theme } from '../src/Theme.js';\nimport '../src/spectrum-two/core-tokens.js';\n\nTheme.registerThemeFragment('lightest-spectrum-two', 'color', lightStyles);\n"],
|
|
5
|
+
"mappings": "aAYA,OAAOA,MAAiB,qDACxB,OAAS,SAAAC,MAAa,kBACtB,MAAO,qCAEPA,EAAM,sBAAsB,wBAAyB,QAASD,CAAW",
|
|
6
|
+
"names": ["lightStyles", "Theme"]
|
|
7
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import '../src/spectrum-two/core.js';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
import lightStyles from "../src/spectrum-two/theme-light.css.js";
|
|
3
|
+
import { Theme } from "../src/Theme.dev.js";
|
|
4
|
+
import "../src/spectrum-two/core.dev.js";
|
|
5
|
+
Theme.registerThemeFragment("lightest-spectrum-two", "color", lightStyles);
|
|
6
|
+
//# sourceMappingURL=theme-lightest.dev.js.map
|
|
@@ -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/spectrum-two/theme-light.css.js';\nimport { Theme } from '../src/Theme.dev.js'\nimport '../src/spectrum-two/core.dev.js'\n\nTheme.registerThemeFragment('lightest-spectrum-two', 'color', lightStyles);\n"],
|
|
5
|
+
"mappings": ";AAYA,OAAO,iBAAiB;AACxB,SAAS,aAAa;AACtB,OAAO;AAEP,MAAM,sBAAsB,yBAAyB,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/spectrum-two/theme-light.css.js';\nimport { Theme } from '../src/Theme.js';\nimport '../src/spectrum-two/core.js';\n\nTheme.registerThemeFragment('lightest-spectrum-two', 'color', lightStyles);\n"],
|
|
5
|
+
"mappings": "aAYA,OAAOA,MAAiB,yCACxB,OAAS,SAAAC,MAAa,kBACtB,MAAO,8BAEPA,EAAM,sBAAsB,wBAAyB,QAASD,CAAW",
|
|
6
|
+
"names": ["lightStyles", "Theme"]
|
|
7
|
+
}
|
package/src/Theme.d.ts
CHANGED
|
@@ -35,8 +35,6 @@ export declare class Theme extends HTMLElement implements ThemeKindProvider {
|
|
|
35
35
|
*/
|
|
36
36
|
get system(): SystemVariant | '';
|
|
37
37
|
set system(newValue: SystemVariant | '');
|
|
38
|
-
get theme(): SystemVariant | '';
|
|
39
|
-
set theme(newValue: SystemVariant | '');
|
|
40
38
|
private _color;
|
|
41
39
|
/**
|
|
42
40
|
* The Spectrum color stops to apply to content scoped by this `sp-theme` element.
|
|
@@ -60,22 +58,7 @@ export declare class Theme extends HTMLElement implements ThemeKindProvider {
|
|
|
60
58
|
private get styles();
|
|
61
59
|
private static get template();
|
|
62
60
|
constructor();
|
|
63
|
-
/**
|
|
64
|
-
* Stores system context consumers and their associated callbacks.
|
|
65
|
-
*
|
|
66
|
-
* This Map associates each consumer component (HTMLElement) with a tuple containing:
|
|
67
|
-
* - The `SystemContextCallback` function to be invoked with the system context.
|
|
68
|
-
* - An `unsubscribe` function to remove the consumer from the Map when it's no longer needed.
|
|
69
|
-
*/
|
|
70
61
|
private _systemContextConsumers;
|
|
71
|
-
/**
|
|
72
|
-
* Handles the 'sp-system-context' event dispatched by descendant components requesting the system context.
|
|
73
|
-
*
|
|
74
|
-
* This method registers the requesting component's callback and provides the current system context to it.
|
|
75
|
-
* It also manages the unsubscribe mechanism to clean up when the component is disconnected.
|
|
76
|
-
*
|
|
77
|
-
* @param event - The custom event containing the callback function to provide the system context.
|
|
78
|
-
*/
|
|
79
62
|
private _handleSystemContext;
|
|
80
63
|
updateComplete: Promise<boolean>;
|
|
81
64
|
private __resolve;
|
|
@@ -91,13 +74,6 @@ export declare class Theme extends HTMLElement implements ThemeKindProvider {
|
|
|
91
74
|
static registerThemeFragment(name: FragmentName, kind: FragmentType, styles: CSSResultGroup): void;
|
|
92
75
|
private _contextConsumers;
|
|
93
76
|
private _provideContext;
|
|
94
|
-
/**
|
|
95
|
-
* Provides the current system context to all registered consumers.
|
|
96
|
-
*
|
|
97
|
-
* This method iterates over all registered system context consumers and invokes their callbacks,
|
|
98
|
-
* passing the current system variant and the unsubscribe function. This ensures that any component
|
|
99
|
-
* consuming the system context receives the updated system variant when the `system` (or `theme`) attribute changes.
|
|
100
|
-
*/
|
|
101
77
|
private _provideSystemContext;
|
|
102
78
|
private _handleContextPresence;
|
|
103
79
|
}
|