@spectrum-web-components/theme 1.0.0-rc.0 → 1.0.0-rc.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 (136) hide show
  1. package/README.md +1 -1
  2. package/core-tokens.dev.js +1 -1
  3. package/core-tokens.dev.js.map +2 -2
  4. package/core-tokens.js +1 -1
  5. package/core-tokens.js.map +2 -2
  6. package/package.json +50 -4
  7. package/spectrum-two/scale-large.d.ts +1 -0
  8. package/spectrum-two/scale-large.dev.js +6 -0
  9. package/spectrum-two/scale-large.dev.js.map +7 -0
  10. package/spectrum-two/scale-large.js +2 -0
  11. package/spectrum-two/scale-large.js.map +7 -0
  12. package/spectrum-two/scale-medium.d.ts +1 -0
  13. package/spectrum-two/scale-medium.dev.js +6 -0
  14. package/spectrum-two/scale-medium.dev.js.map +7 -0
  15. package/spectrum-two/scale-medium.js +2 -0
  16. package/spectrum-two/scale-medium.js.map +7 -0
  17. package/spectrum-two/theme-dark.d.ts +1 -0
  18. package/spectrum-two/theme-dark.dev.js +6 -0
  19. package/spectrum-two/theme-dark.dev.js.map +7 -0
  20. package/spectrum-two/theme-dark.js +2 -0
  21. package/spectrum-two/theme-dark.js.map +7 -0
  22. package/spectrum-two/theme-darkest-core-tokens.d.ts +1 -0
  23. package/spectrum-two/theme-darkest-core-tokens.dev.js +6 -0
  24. package/spectrum-two/theme-darkest-core-tokens.dev.js.map +7 -0
  25. package/spectrum-two/theme-darkest-core-tokens.js +2 -0
  26. package/spectrum-two/theme-darkest-core-tokens.js.map +7 -0
  27. package/spectrum-two/theme-darkest.d.ts +1 -0
  28. package/spectrum-two/theme-darkest.dev.js +6 -0
  29. package/spectrum-two/theme-darkest.dev.js.map +7 -0
  30. package/spectrum-two/theme-darkest.js +2 -0
  31. package/spectrum-two/theme-darkest.js.map +7 -0
  32. package/spectrum-two/theme-light.d.ts +1 -0
  33. package/spectrum-two/theme-light.dev.js +6 -0
  34. package/spectrum-two/theme-light.dev.js.map +7 -0
  35. package/spectrum-two/theme-light.js +2 -0
  36. package/spectrum-two/theme-light.js.map +7 -0
  37. package/spectrum-two/theme-lightest-core-tokens.d.ts +1 -0
  38. package/spectrum-two/theme-lightest-core-tokens.dev.js +6 -0
  39. package/spectrum-two/theme-lightest-core-tokens.dev.js.map +7 -0
  40. package/spectrum-two/theme-lightest-core-tokens.js +2 -0
  41. package/spectrum-two/theme-lightest-core-tokens.js.map +7 -0
  42. package/spectrum-two/theme-lightest.d.ts +1 -0
  43. package/spectrum-two/theme-lightest.dev.js +6 -0
  44. package/spectrum-two/theme-lightest.dev.js.map +7 -0
  45. package/spectrum-two/theme-lightest.js +2 -0
  46. package/spectrum-two/theme-lightest.js.map +7 -0
  47. package/src/Theme.d.ts +0 -2
  48. package/src/Theme.dev.js +3 -37
  49. package/src/Theme.dev.js.map +2 -2
  50. package/src/Theme.js +1 -1
  51. package/src/Theme.js.map +3 -3
  52. package/src/express/core-tokens.dev.js +1 -1
  53. package/src/express/core-tokens.dev.js.map +2 -2
  54. package/src/express/core-tokens.js +1 -1
  55. package/src/express/core-tokens.js.map +2 -2
  56. package/src/express/theme-core-tokens.css.dev.js +1 -1
  57. package/src/express/theme-core-tokens.css.dev.js.map +1 -1
  58. package/src/express/theme-core-tokens.css.js +1 -1
  59. package/src/express/theme-core-tokens.css.js.map +1 -1
  60. package/src/express/theme.css.dev.js +1 -1
  61. package/src/express/theme.css.dev.js.map +1 -1
  62. package/src/express/theme.css.js +1 -1
  63. package/src/express/theme.css.js.map +1 -1
  64. package/src/spectrum-two/scale-large-core-tokens.css.dev.js +1 -1
  65. package/src/spectrum-two/scale-large-core-tokens.css.dev.js.map +1 -1
  66. package/src/spectrum-two/scale-large-core-tokens.css.js +1 -1
  67. package/src/spectrum-two/scale-large-core-tokens.css.js.map +1 -1
  68. package/src/spectrum-two/scale-large.css.d.ts +2 -0
  69. package/src/spectrum-two/scale-large.css.dev.js +7 -0
  70. package/src/spectrum-two/scale-large.css.dev.js.map +7 -0
  71. package/src/spectrum-two/scale-large.css.js +4 -0
  72. package/src/spectrum-two/scale-large.css.js.map +7 -0
  73. package/src/spectrum-two/scale-medium-core-tokens.css.dev.js +1 -1
  74. package/src/spectrum-two/scale-medium-core-tokens.css.dev.js.map +1 -1
  75. package/src/spectrum-two/scale-medium-core-tokens.css.js +1 -1
  76. package/src/spectrum-two/scale-medium-core-tokens.css.js.map +1 -1
  77. package/src/spectrum-two/scale-medium.css.d.ts +2 -0
  78. package/src/spectrum-two/scale-medium.css.dev.js +7 -0
  79. package/src/spectrum-two/scale-medium.css.dev.js.map +7 -0
  80. package/src/spectrum-two/scale-medium.css.js +4 -0
  81. package/src/spectrum-two/scale-medium.css.js.map +7 -0
  82. package/src/spectrum-two/theme-core-tokens.css.dev.js +1 -1
  83. package/src/spectrum-two/theme-core-tokens.css.dev.js.map +1 -1
  84. package/src/spectrum-two/theme-core-tokens.css.js +1 -1
  85. package/src/spectrum-two/theme-core-tokens.css.js.map +1 -1
  86. package/src/spectrum-two/theme-dark-core-tokens.css.dev.js +1 -1
  87. package/src/spectrum-two/theme-dark-core-tokens.css.dev.js.map +1 -1
  88. package/src/spectrum-two/theme-dark-core-tokens.css.js +1 -1
  89. package/src/spectrum-two/theme-dark-core-tokens.css.js.map +1 -1
  90. package/src/spectrum-two/theme-dark.css.d.ts +2 -0
  91. package/src/spectrum-two/theme-dark.css.dev.js +7 -0
  92. package/src/spectrum-two/theme-dark.css.dev.js.map +7 -0
  93. package/src/spectrum-two/theme-dark.css.js +4 -0
  94. package/src/spectrum-two/theme-dark.css.js.map +7 -0
  95. package/src/spectrum-two/theme-light-core-tokens.css.dev.js +1 -1
  96. package/src/spectrum-two/theme-light-core-tokens.css.dev.js.map +1 -1
  97. package/src/spectrum-two/theme-light-core-tokens.css.js +1 -1
  98. package/src/spectrum-two/theme-light-core-tokens.css.js.map +1 -1
  99. package/src/spectrum-two/theme-light.css.d.ts +2 -0
  100. package/src/spectrum-two/theme-light.css.dev.js +7 -0
  101. package/src/spectrum-two/theme-light.css.dev.js.map +7 -0
  102. package/src/spectrum-two/theme-light.css.js +4 -0
  103. package/src/spectrum-two/theme-light.css.js.map +7 -0
  104. package/src/spectrum-two/theme.css.dev.js +1 -1
  105. package/src/spectrum-two/theme.css.dev.js.map +1 -1
  106. package/src/spectrum-two/theme.css.js +3 -3
  107. package/src/spectrum-two/theme.css.js.map +1 -1
  108. package/src/spectrum-two/themes-core-tokens.d.ts +2 -0
  109. package/src/spectrum-two/themes-core-tokens.dev.js +2 -0
  110. package/src/spectrum-two/themes-core-tokens.dev.js.map +2 -2
  111. package/src/spectrum-two/themes-core-tokens.js +1 -1
  112. package/src/spectrum-two/themes-core-tokens.js.map +2 -2
  113. package/src/spectrum-two/themes.d.ts +6 -0
  114. package/src/spectrum-two/themes.dev.js +8 -0
  115. package/src/spectrum-two/themes.dev.js.map +7 -0
  116. package/src/spectrum-two/themes.js +2 -0
  117. package/src/spectrum-two/themes.js.map +7 -0
  118. package/src/theme-core-tokens.css.dev.js +1 -1
  119. package/src/theme-core-tokens.css.dev.js.map +1 -1
  120. package/src/theme-core-tokens.css.js +1 -1
  121. package/src/theme-core-tokens.css.js.map +1 -1
  122. package/src/theme-interfaces.d.ts +3 -3
  123. package/src/theme-interfaces.dev.js +3 -1
  124. package/src/theme-interfaces.dev.js.map +2 -2
  125. package/src/theme-interfaces.js +1 -1
  126. package/src/theme-interfaces.js.map +2 -2
  127. package/src/theme.css.dev.js +1 -1
  128. package/src/theme.css.dev.js.map +1 -1
  129. package/src/theme.css.js +3 -3
  130. package/src/theme.css.js.map +1 -1
  131. package/test/theme-devmode.test.js +0 -23
  132. package/test/theme-devmode.test.js.map +2 -2
  133. package/test/theme-lazy.test.js +16 -26
  134. package/test/theme-lazy.test.js.map +2 -2
  135. package/test/themes.test.js +13 -28
  136. package/test/themes.test.js.map +2 -2
package/README.md CHANGED
@@ -126,7 +126,7 @@ Once you've moved beyond the prototype phase of an application, it is likely tha
126
126
  * Power a site using
127
127
  *
128
128
  * <sp-theme
129
- * system="classic"
129
+ * system="spectrum"
130
130
  * color="darkest"
131
131
  * scale="large"
132
132
  * >
@@ -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", "theme", coreStyles);
4
+ Theme.registerThemeFragment("spectrum", "system", coreStyles);
5
5
  //# sourceMappingURL=core-tokens.dev.js.map
@@ -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', 'theme', coreStyles);\n"],
5
- "mappings": ";AAYA,SAAS,aAAa;AAEtB,OAAO,gBAAgB;AACvB,MAAM,sBAAsB,YAAY,SAAS,UAAU;",
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","theme",m);
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
@@ -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', 'theme', coreStyles);\n"],
5
- "mappings": "aAYA,OAAS,SAAAA,MAAa,iBAEtB,OAAOC,MAAgB,iCACvBD,EAAM,sBAAsB,WAAY,QAASC,CAAU",
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": "1.0.0-rc.0",
3
+ "version": "1.0.0-rc.2",
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": "^1.0.0-rc.0",
241
- "@spectrum-web-components/styles": "^1.0.0-rc.0"
286
+ "@spectrum-web-components/base": "^1.0.0-rc.2",
287
+ "@spectrum-web-components/styles": "^1.0.0-rc.2"
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": "24a3e0d1d0ead33c41454223b290a258b75d3111"
314
+ "gitHead": "45ad539f37a4325a83d02253ea9135c90e1b8b3d"
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,2 @@
1
+ "use strict";import e from"../src/spectrum-two/scale-large.css.js";import{Theme as r}from"../src/Theme.js";import"../src/spectrum-two/core.js";r.registerThemeFragment("large-spectrum-two","scale",e);
2
+ //# sourceMappingURL=scale-large.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.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,2 @@
1
+ "use strict";import m from"../src/spectrum-two/scale-medium.css.js";import{Theme as e}from"../src/Theme.js";import"../src/spectrum-two/core.js";e.registerThemeFragment("medium-spectrum-two","scale",m);
2
+ //# sourceMappingURL=scale-medium.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.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,2 @@
1
+ "use strict";import r from"../src/spectrum-two/theme-dark.css.js";import{Theme as e}from"../src/Theme.js";import"../src/spectrum-two/core.js";e.registerThemeFragment("dark-spectrum-two","color",r);
2
+ //# sourceMappingURL=theme-dark.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.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,2 @@
1
+ "use strict";import r from"../src/spectrum-two/theme-dark-core-tokens.css.js";import{Theme as e}from"../src/Theme.js";import"../src/spectrum-two/core-tokens.js";e.registerThemeFragment("darkest-spectrum-two","color",r);
2
+ //# sourceMappingURL=theme-darkest-core-tokens.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.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,2 @@
1
+ "use strict";import r from"../src/spectrum-two/theme-dark.css.js";import{Theme as e}from"../src/Theme.js";import"../src/spectrum-two/core.js";e.registerThemeFragment("darkest-spectrum-two","color",r);
2
+ //# sourceMappingURL=theme-darkest.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.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,2 @@
1
+ "use strict";import r from"../src/spectrum-two/theme-light.css.js";import{Theme as t}from"../src/Theme.js";import"../src/spectrum-two/core.js";t.registerThemeFragment("light-spectrum-two","color",r);
2
+ //# sourceMappingURL=theme-light.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.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,2 @@
1
+ "use strict";import t from"../src/spectrum-two/theme-light.css.js";import{Theme as e}from"../src/Theme.js";import"../src/spectrum-two/core.js";e.registerThemeFragment("lightest-spectrum-two","color",t);
2
+ //# sourceMappingURL=theme-lightest.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.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.
package/src/Theme.dev.js CHANGED
@@ -31,15 +31,7 @@ const _Theme = class _Theme extends HTMLElement {
31
31
  this.updateComplete = this.__createDeferredPromise();
32
32
  }
33
33
  static get observedAttributes() {
34
- return [
35
- "color",
36
- "scale",
37
- "lang",
38
- "dir",
39
- "system",
40
- /* deprecated attributes, but still observing */
41
- "theme"
42
- ];
34
+ return ["color", "scale", "lang", "dir", "system"];
43
35
  }
44
36
  set dir(dir) {
45
37
  if (dir === this.dir) return;
@@ -69,10 +61,6 @@ const _Theme = class _Theme extends HTMLElement {
69
61
  } else if (attrName === "lang" && !!value) {
70
62
  this.lang = value;
71
63
  this._provideContext();
72
- } else if (attrName === "theme") {
73
- this.theme = value;
74
- this._provideSystemContext();
75
- warnBetaSystem(this, value);
76
64
  } else if (attrName === "system") {
77
65
  this.system = value;
78
66
  this._provideSystemContext();
@@ -109,22 +97,6 @@ const _Theme = class _Theme extends HTMLElement {
109
97
  this.removeAttribute("system");
110
98
  }
111
99
  }
112
- /*
113
- * @deprecated The `theme` attribute has been deprecated in favor of the `system` attribute.
114
- */
115
- get theme() {
116
- if (!this.system) {
117
- this.removeAttribute("system");
118
- }
119
- return this.system;
120
- }
121
- /*
122
- * @deprecated The `theme` attribute has been deprecated in favor of the `system` attribute.
123
- */
124
- set theme(newValue) {
125
- this.system = newValue;
126
- this.requestUpdate();
127
- }
128
100
  /**
129
101
  * The Spectrum color stops to apply to content scoped by this `sp-theme` element.
130
102
  *
@@ -180,7 +152,7 @@ const _Theme = class _Theme extends HTMLElement {
180
152
  ..._Theme.themeFragmentsByKind.keys()
181
153
  ];
182
154
  const getStyle = (fragments, name, kind) => {
183
- const currentStyles = kind && kind !== "theme" && kind !== "system" && this.theme !== "spectrum" && this.system !== "spectrum" ? fragments.get(`${name}-${this.system}`) : fragments.get(name);
155
+ const currentStyles = kind && kind !== "system" && this.system !== "spectrum" ? fragments.get(`${name}-${this.system}`) : fragments.get(name);
184
156
  const isAppliedFragment = name === "spectrum" || !kind || this.hasAttribute(kind);
185
157
  if (currentStyles && isAppliedFragment) {
186
158
  return currentStyles.styles;
@@ -209,7 +181,6 @@ const _Theme = class _Theme extends HTMLElement {
209
181
  this.system,
210
182
  this.color,
211
183
  this.scale,
212
- this.hasAttribute("theme"),
213
184
  themeFragmentsByKind
214
185
  );
215
186
  return [...styles];
@@ -336,7 +307,7 @@ function warnBetaSystem(instance, value) {
336
307
  );
337
308
  }
338
309
  }
339
- function checkForIssues(instance, system, color, scale, hasThemeAttribute, themeFragmentsByKind) {
310
+ function checkForIssues(instance, system, color, scale, themeFragmentsByKind) {
340
311
  if (true) {
341
312
  const issues = [];
342
313
  const checkForAttribute = (name, resolvedValue, actualValue) => {
@@ -358,11 +329,6 @@ function checkForIssues(instance, system, color, scale, hasThemeAttribute, theme
358
329
  );
359
330
  }
360
331
  };
361
- if (hasThemeAttribute) {
362
- issues.push(
363
- `DEPRECATION NOTICE: the "theme" attribute has been deprecated in favor of "system". For more information, see: https://opensource.adobe.com/spectrum-web-components/tools/theme/`
364
- );
365
- }
366
332
  if (["lightest", "darkest"].includes(color || "")) {
367
333
  issues.push(
368
334
  `DEPRECATION NOTICE: Color "lightest" and "darkest" are deprecated. For more information, see: https://opensource.adobe.com/spectrum-web-components/tools/theme/`