@spectrum-web-components/theme 0.12.0 → 0.13.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.
Files changed (141) hide show
  1. package/README.md +17 -0
  2. package/core.dev.js +4 -0
  3. package/core.dev.js.map +7 -0
  4. package/core.js +4 -15
  5. package/core.js.map +7 -1
  6. package/custom-elements.json +3 -3
  7. package/express/scale-large.dev.js +5 -0
  8. package/express/scale-large.dev.js.map +7 -0
  9. package/express/scale-large.js +5 -16
  10. package/express/scale-large.js.map +7 -1
  11. package/express/scale-medium.dev.js +5 -0
  12. package/express/scale-medium.dev.js.map +7 -0
  13. package/express/scale-medium.js +5 -16
  14. package/express/scale-medium.js.map +7 -1
  15. package/express/theme-dark.dev.js +5 -0
  16. package/express/theme-dark.dev.js.map +7 -0
  17. package/express/theme-dark.js +5 -16
  18. package/express/theme-dark.js.map +7 -1
  19. package/express/theme-darkest.dev.js +5 -0
  20. package/express/theme-darkest.dev.js.map +7 -0
  21. package/express/theme-darkest.js +5 -16
  22. package/express/theme-darkest.js.map +7 -1
  23. package/express/theme-light.dev.js +5 -0
  24. package/express/theme-light.dev.js.map +7 -0
  25. package/express/theme-light.js +5 -16
  26. package/express/theme-light.js.map +7 -1
  27. package/express/theme-lightest.dev.js +5 -0
  28. package/express/theme-lightest.dev.js.map +7 -0
  29. package/express/theme-lightest.js +5 -16
  30. package/express/theme-lightest.js.map +7 -1
  31. package/package.json +97 -24
  32. package/scale-large.dev.js +5 -0
  33. package/scale-large.dev.js.map +7 -0
  34. package/scale-large.js +5 -16
  35. package/scale-large.js.map +7 -1
  36. package/scale-medium.dev.js +5 -0
  37. package/scale-medium.dev.js.map +7 -0
  38. package/scale-medium.js +5 -16
  39. package/scale-medium.js.map +7 -1
  40. package/sp-theme.dev.js +3 -0
  41. package/sp-theme.dev.js.map +7 -0
  42. package/sp-theme.js +3 -14
  43. package/sp-theme.js.map +7 -1
  44. package/src/Theme.dev.js +299 -0
  45. package/src/Theme.dev.js.map +7 -0
  46. package/src/Theme.js +276 -339
  47. package/src/Theme.js.map +7 -1
  48. package/src/express/core.dev.js +4 -0
  49. package/src/express/core.dev.js.map +7 -0
  50. package/src/express/core.js +4 -15
  51. package/src/express/core.js.map +7 -1
  52. package/src/express/scale-large.css.dev.js +190 -0
  53. package/src/express/scale-large.css.dev.js.map +7 -0
  54. package/src/express/scale-large.css.js +18 -21
  55. package/src/express/scale-large.css.js.map +7 -1
  56. package/src/express/scale-medium.css.dev.js +198 -0
  57. package/src/express/scale-medium.css.dev.js.map +7 -0
  58. package/src/express/scale-medium.css.js +18 -21
  59. package/src/express/scale-medium.css.js.map +7 -1
  60. package/src/express/theme-dark.css.dev.js +56 -0
  61. package/src/express/theme-dark.css.dev.js.map +7 -0
  62. package/src/express/theme-dark.css.js +4 -15
  63. package/src/express/theme-dark.css.js.map +7 -1
  64. package/src/express/theme-light.css.dev.js +56 -0
  65. package/src/express/theme-light.css.dev.js.map +7 -0
  66. package/src/express/theme-light.css.js +4 -15
  67. package/src/express/theme-light.css.js.map +7 -1
  68. package/src/express/theme.css.dev.js +1846 -0
  69. package/src/express/theme.css.dev.js.map +7 -0
  70. package/src/express/theme.css.js +6 -17
  71. package/src/express/theme.css.js.map +7 -1
  72. package/src/express/themes.dev.js +7 -0
  73. package/src/express/themes.dev.js.map +7 -0
  74. package/src/express/themes.js +7 -18
  75. package/src/express/themes.js.map +7 -1
  76. package/src/index.dev.js +2 -0
  77. package/src/index.dev.js.map +7 -0
  78. package/src/index.js +2 -13
  79. package/src/index.js.map +7 -1
  80. package/src/scale-large.css.dev.js +198 -0
  81. package/src/scale-large.css.dev.js.map +7 -0
  82. package/src/scale-large.css.js +18 -21
  83. package/src/scale-large.css.js.map +7 -1
  84. package/src/scale-medium.css.dev.js +200 -0
  85. package/src/scale-medium.css.dev.js.map +7 -0
  86. package/src/scale-medium.css.js +18 -21
  87. package/src/scale-medium.css.js.map +7 -1
  88. package/src/theme-dark.css.dev.js +58 -0
  89. package/src/theme-dark.css.dev.js.map +7 -0
  90. package/src/theme-dark.css.js +4 -15
  91. package/src/theme-dark.css.js.map +7 -1
  92. package/src/theme-darkest.css.dev.js +58 -0
  93. package/src/theme-darkest.css.dev.js.map +7 -0
  94. package/src/theme-darkest.css.js +4 -15
  95. package/src/theme-darkest.css.js.map +7 -1
  96. package/src/theme-light.css.dev.js +58 -0
  97. package/src/theme-light.css.dev.js.map +7 -0
  98. package/src/theme-light.css.js +4 -15
  99. package/src/theme-light.css.js.map +7 -1
  100. package/src/theme-lightest.css.dev.js +52 -0
  101. package/src/theme-lightest.css.dev.js.map +7 -0
  102. package/src/theme-lightest.css.js +4 -15
  103. package/src/theme-lightest.css.js.map +7 -1
  104. package/src/theme.css.dev.js +1840 -0
  105. package/src/theme.css.dev.js.map +7 -0
  106. package/src/theme.css.js +6 -17
  107. package/src/theme.css.js.map +7 -1
  108. package/src/themes.dev.js +7 -0
  109. package/src/themes.dev.js.map +7 -0
  110. package/src/themes.js +7 -18
  111. package/src/themes.js.map +7 -1
  112. package/src/typography.css.dev.js +946 -0
  113. package/src/typography.css.dev.js.map +7 -0
  114. package/src/typography.css.js +3 -14
  115. package/src/typography.css.js.map +7 -1
  116. package/stories/theme.stories.js +38 -43
  117. package/stories/theme.stories.js.map +7 -1
  118. package/test/theme-devmode.test.js +25 -0
  119. package/test/theme-devmode.test.js.map +7 -0
  120. package/test/theme-lazy.test.js +90 -108
  121. package/test/theme-lazy.test.js.map +7 -1
  122. package/test/theme.test-vrt.js +4 -15
  123. package/test/theme.test-vrt.js.map +7 -1
  124. package/test/themes.test.js +103 -120
  125. package/test/themes.test.js.map +7 -1
  126. package/theme-dark.dev.js +5 -0
  127. package/theme-dark.dev.js.map +7 -0
  128. package/theme-dark.js +5 -16
  129. package/theme-dark.js.map +7 -1
  130. package/theme-darkest.dev.js +5 -0
  131. package/theme-darkest.dev.js.map +7 -0
  132. package/theme-darkest.js +5 -16
  133. package/theme-darkest.js.map +7 -1
  134. package/theme-light.dev.js +5 -0
  135. package/theme-light.dev.js.map +7 -0
  136. package/theme-light.js +5 -16
  137. package/theme-light.js.map +7 -1
  138. package/theme-lightest.dev.js +5 -0
  139. package/theme-lightest.dev.js.map +7 -0
  140. package/theme-lightest.js +5 -16
  141. 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 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
@@ -0,0 +1,4 @@
1
+ import { Theme } from "./src/Theme.dev.js";
2
+ import coreStyles from "./src/theme.css.js";
3
+ Theme.registerThemeFragment("spectrum", "theme", coreStyles);
4
+ //# sourceMappingURL=core.dev.js.map
@@ -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
- Copyright 2020 Adobe. All rights reserved.
3
- This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License. You may obtain a copy
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
- {"version":3,"file":"core.js","sourceRoot":"","sources":["core.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAEvC,OAAO,UAAU,MAAM,oBAAoB,CAAC;AAE5C,KAAK,CAAC,qBAAqB,CAAC,UAAU,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC","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"]}
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
+ }
@@ -4,7 +4,7 @@
4
4
  "modules": [
5
5
  {
6
6
  "kind": "javascript-module",
7
- "path": "sp-theme.ts",
7
+ "path": "sp-theme.js",
8
8
  "declarations": [],
9
9
  "exports": [
10
10
  {
@@ -19,7 +19,7 @@
19
19
  },
20
20
  {
21
21
  "kind": "javascript-module",
22
- "path": "src/Theme.ts",
22
+ "path": "src/Theme.js",
23
23
  "declarations": [
24
24
  {
25
25
  "kind": "class",
@@ -397,7 +397,7 @@
397
397
  "name": "Theme",
398
398
  "declaration": {
399
399
  "name": "Theme",
400
- "module": "src/Theme.ts"
400
+ "module": "src/Theme.js"
401
401
  }
402
402
  }
403
403
  ]
@@ -0,0 +1,5 @@
1
+ import largeStyles from "../src/express/scale-large.css.js";
2
+ import { Theme } from "../src/Theme.dev.js";
3
+ import "../src/express/core.dev.js";
4
+ Theme.registerThemeFragment("large-express", "scale", largeStyles);
5
+ //# 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/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
+ }
@@ -1,16 +1,5 @@
1
- /*
2
- Copyright 2020 Adobe. All rights reserved.
3
- This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License. You may obtain a copy
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 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
- {"version":3,"file":"scale-large.js","sourceRoot":"","sources":["scale-large.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,WAAW,MAAM,mCAAmC,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,wBAAwB,CAAC;AAEhC,KAAK,CAAC,qBAAqB,CAAC,eAAe,EAAE,OAAO,EAAE,WAAW,CAAC,CAAC","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"]}
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,5 @@
1
+ import mediumStyles from "../src/express/scale-medium.css.js";
2
+ import { Theme } from "../src/Theme.dev.js";
3
+ import "../src/express/core.dev.js";
4
+ Theme.registerThemeFragment("medium-express", "scale", mediumStyles);
5
+ //# 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/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
+ }
@@ -1,16 +1,5 @@
1
- /*
2
- Copyright 2020 Adobe. All rights reserved.
3
- This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License. You may obtain a copy
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 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
- {"version":3,"file":"scale-medium.js","sourceRoot":"","sources":["scale-medium.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,YAAY,MAAM,oCAAoC,CAAC;AAC9D,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,wBAAwB,CAAC;AAEhC,KAAK,CAAC,qBAAqB,CAAC,gBAAgB,EAAE,OAAO,EAAE,YAAY,CAAC,CAAC","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"]}
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,5 @@
1
+ import darkStyles from "../src/express/theme-dark.css.js";
2
+ import { Theme } from "../src/Theme.dev.js";
3
+ import "../src/express/core.dev.js";
4
+ Theme.registerThemeFragment("dark-express", "color", darkStyles);
5
+ //# 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/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
+ }
@@ -1,16 +1,5 @@
1
- /*
2
- Copyright 2020 Adobe. All rights reserved.
3
- This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License. You may obtain a copy
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 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
- {"version":3,"file":"theme-dark.js","sourceRoot":"","sources":["theme-dark.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,wBAAwB,CAAC;AAEhC,KAAK,CAAC,qBAAqB,CAAC,cAAc,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC","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"]}
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,5 @@
1
+ import darkStyles from "../src/express/theme-dark.css.js";
2
+ import { Theme } from "../src/Theme.dev.js";
3
+ import "../src/express/core.dev.js";
4
+ Theme.registerThemeFragment("darkest-express", "color", darkStyles);
5
+ //# 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/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
+ }
@@ -1,16 +1,5 @@
1
- /*
2
- Copyright 2020 Adobe. All rights reserved.
3
- This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License. You may obtain a copy
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 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
- {"version":3,"file":"theme-darkest.js","sourceRoot":"","sources":["theme-darkest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,UAAU,MAAM,kCAAkC,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,wBAAwB,CAAC;AAEhC,KAAK,CAAC,qBAAqB,CAAC,iBAAiB,EAAE,OAAO,EAAE,UAAU,CAAC,CAAC","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"]}
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,5 @@
1
+ import lightStyles from "../src/express/theme-light.css.js";
2
+ import { Theme } from "../src/Theme.dev.js";
3
+ import "../src/express/core.dev.js";
4
+ Theme.registerThemeFragment("light-express", "color", lightStyles);
5
+ //# 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/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
+ }
@@ -1,16 +1,5 @@
1
- /*
2
- Copyright 2020 Adobe. All rights reserved.
3
- This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License. You may obtain a copy
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 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
- {"version":3,"file":"theme-light.js","sourceRoot":"","sources":["theme-light.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,WAAW,MAAM,mCAAmC,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,wBAAwB,CAAC;AAEhC,KAAK,CAAC,qBAAqB,CAAC,eAAe,EAAE,OAAO,EAAE,WAAW,CAAC,CAAC","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"]}
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,5 @@
1
+ import lightStyles from "../src/express/theme-light.css.js";
2
+ import { Theme } from "../src/Theme.dev.js";
3
+ import "../src/express/core.dev.js";
4
+ Theme.registerThemeFragment("lightest-express", "color", lightStyles);
5
+ //# 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/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
- Copyright 2020 Adobe. All rights reserved.
3
- This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
- you may not use this file except in compliance with the License. You may obtain a copy
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 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
- {"version":3,"file":"theme-lightest.js","sourceRoot":"","sources":["theme-lightest.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;EAUE;AAEF,OAAO,WAAW,MAAM,mCAAmC,CAAC;AAC5D,OAAO,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AACxC,OAAO,wBAAwB,CAAC;AAEhC,KAAK,CAAC,qBAAqB,CAAC,kBAAkB,EAAE,OAAO,EAAE,WAAW,CAAC,CAAC","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"]}
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
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/theme",
3
- "version": "0.12.0",
3
+ "version": "0.13.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -20,27 +20,100 @@
20
20
  "module": "./src/index.js",
21
21
  "type": "module",
22
22
  "exports": {
23
- ".": "./src/index.js",
24
- "./src/*": "./src/*",
25
- "./express/*": "./express/*",
26
- "./src/express/*": "./src/express/*",
23
+ ".": {
24
+ "development": "./src/index.dev.js",
25
+ "default": "./src/index.js"
26
+ },
27
27
  "./package.json": "./package.json",
28
- "./core": "./core.js",
29
- "./core.js": "./core.js",
30
- "./sp-theme": "./sp-theme.js",
31
- "./sp-theme.js": "./sp-theme.js",
32
- "./scale-medium": "./scale-medium.js",
33
- "./scale-medium.js": "./scale-medium.js",
34
- "./scale-large": "./scale-large.js",
35
- "./scale-large.js": "./scale-large.js",
36
- "./theme-lightest": "./theme-lightest.js",
37
- "./theme-lightest.js": "./theme-lightest.js",
38
- "./theme-light": "./theme-light.js",
39
- "./theme-light.js": "./theme-light.js",
40
- "./theme-dark": "./theme-dark.js",
41
- "./theme-dark.js": "./theme-dark.js",
42
- "./theme-darkest": "./theme-darkest.js",
43
- "./theme-darkest.js": "./theme-darkest.js"
28
+ "./src/Theme.js": {
29
+ "development": "./src/Theme.dev.js",
30
+ "default": "./src/Theme.js"
31
+ },
32
+ "./src/index.js": {
33
+ "development": "./src/index.dev.js",
34
+ "default": "./src/index.js"
35
+ },
36
+ "./src/scale-large.css.js": "./src/scale-large.css.js",
37
+ "./src/scale-medium.css.js": "./src/scale-medium.css.js",
38
+ "./src/theme-dark.css.js": "./src/theme-dark.css.js",
39
+ "./src/theme-darkest.css.js": "./src/theme-darkest.css.js",
40
+ "./src/theme-light.css.js": "./src/theme-light.css.js",
41
+ "./src/theme-lightest.css.js": "./src/theme-lightest.css.js",
42
+ "./src/theme.css.js": "./src/theme.css.js",
43
+ "./src/themes.js": {
44
+ "development": "./src/themes.dev.js",
45
+ "default": "./src/themes.js"
46
+ },
47
+ "./src/typography.css.js": "./src/typography.css.js",
48
+ "./express/scale-large.js": {
49
+ "development": "./express/scale-large.dev.js",
50
+ "default": "./express/scale-large.js"
51
+ },
52
+ "./express/scale-medium.js": {
53
+ "development": "./express/scale-medium.dev.js",
54
+ "default": "./express/scale-medium.js"
55
+ },
56
+ "./express/theme-dark.js": {
57
+ "development": "./express/theme-dark.dev.js",
58
+ "default": "./express/theme-dark.js"
59
+ },
60
+ "./express/theme-darkest.js": {
61
+ "development": "./express/theme-darkest.dev.js",
62
+ "default": "./express/theme-darkest.js"
63
+ },
64
+ "./express/theme-light.js": {
65
+ "development": "./express/theme-light.dev.js",
66
+ "default": "./express/theme-light.js"
67
+ },
68
+ "./express/theme-lightest.js": {
69
+ "development": "./express/theme-lightest.dev.js",
70
+ "default": "./express/theme-lightest.js"
71
+ },
72
+ "./src/express/core.js": {
73
+ "development": "./src/express/core.dev.js",
74
+ "default": "./src/express/core.js"
75
+ },
76
+ "./src/express/scale-large.css.js": "./src/express/scale-large.css.js",
77
+ "./src/express/scale-medium.css.js": "./src/express/scale-medium.css.js",
78
+ "./src/express/theme-dark.css.js": "./src/express/theme-dark.css.js",
79
+ "./src/express/theme-light.css.js": "./src/express/theme-light.css.js",
80
+ "./src/express/theme.css.js": "./src/express/theme.css.js",
81
+ "./src/express/themes.js": {
82
+ "development": "./src/express/themes.dev.js",
83
+ "default": "./src/express/themes.js"
84
+ },
85
+ "./core.js": {
86
+ "development": "./core.dev.js",
87
+ "default": "./core.js"
88
+ },
89
+ "./sp-theme.js": {
90
+ "development": "./sp-theme.dev.js",
91
+ "default": "./sp-theme.js"
92
+ },
93
+ "./scale-medium.js": {
94
+ "development": "./scale-medium.dev.js",
95
+ "default": "./scale-medium.js"
96
+ },
97
+ "./scale-large.js": {
98
+ "development": "./scale-large.dev.js",
99
+ "default": "./scale-large.js"
100
+ },
101
+ "./theme-lightest.js": {
102
+ "development": "./theme-lightest.dev.js",
103
+ "default": "./theme-lightest.js"
104
+ },
105
+ "./theme-light.js": {
106
+ "development": "./theme-light.dev.js",
107
+ "default": "./theme-light.js"
108
+ },
109
+ "./theme-dark.js": {
110
+ "development": "./theme-dark.dev.js",
111
+ "default": "./theme-dark.js"
112
+ },
113
+ "./theme-darkest.js": {
114
+ "development": "./theme-darkest.dev.js",
115
+ "default": "./theme-darkest.js"
116
+ }
44
117
  },
45
118
  "scripts": {
46
119
  "test": "echo \"Error: run tests from mono-repo root.\" && exit 1"
@@ -60,8 +133,8 @@
60
133
  "lit-html"
61
134
  ],
62
135
  "dependencies": {
63
- "@spectrum-web-components/base": "^0.5.8",
64
- "@spectrum-web-components/styles": "^0.15.0",
136
+ "@spectrum-web-components/base": "^0.6.0",
137
+ "@spectrum-web-components/styles": "^0.15.1",
65
138
  "tslib": "^2.0.0"
66
139
  },
67
140
  "types": "./src/index.d.ts",
@@ -77,5 +150,5 @@
77
150
  "./src/express/core.js",
78
151
  "./src/express/themes.js"
79
152
  ],
80
- "gitHead": "3be62133721efba844cd7032566a2c49ed6d9875"
153
+ "gitHead": "50cac779bbb0d6735c2061f1eceb86b9daf9b22b"
81
154
  }
@@ -0,0 +1,5 @@
1
+ import largeStyles from "./src/scale-large.css.js";
2
+ import { Theme } from "./src/Theme.dev.js";
3
+ import "./core.dev.js";
4
+ Theme.registerThemeFragment("large", "scale", largeStyles);
5
+ //# 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/scale-large.css.js';\nimport { Theme } from './src/Theme.dev.js'\nimport './core.dev.js'\n\nTheme.registerThemeFragment('large', 'scale', largeStyles);\n"],
5
+ "mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,SAAS,SAAS,WAAW;",
6
+ "names": []
7
+ }