@spectrum-web-components/theme 0.13.1-devmode2.0 → 0.14.1

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 (139) hide show
  1. package/core.dev.js +1 -0
  2. package/core.dev.js.map +1 -1
  3. package/core.js +1 -3
  4. package/core.js.map +2 -2
  5. package/express/scale-large.dev.js +1 -0
  6. package/express/scale-large.dev.js.map +1 -1
  7. package/express/scale-large.js +1 -4
  8. package/express/scale-large.js.map +2 -2
  9. package/express/scale-medium.dev.js +1 -0
  10. package/express/scale-medium.dev.js.map +1 -1
  11. package/express/scale-medium.js +1 -4
  12. package/express/scale-medium.js.map +2 -2
  13. package/express/theme-dark.dev.js +1 -0
  14. package/express/theme-dark.dev.js.map +1 -1
  15. package/express/theme-dark.js +1 -4
  16. package/express/theme-dark.js.map +2 -2
  17. package/express/theme-darkest.dev.js +1 -0
  18. package/express/theme-darkest.dev.js.map +1 -1
  19. package/express/theme-darkest.js +1 -4
  20. package/express/theme-darkest.js.map +2 -2
  21. package/express/theme-light.dev.js +1 -0
  22. package/express/theme-light.dev.js.map +1 -1
  23. package/express/theme-light.js +1 -4
  24. package/express/theme-light.js.map +2 -2
  25. package/express/theme-lightest.dev.js +1 -0
  26. package/express/theme-lightest.dev.js.map +1 -1
  27. package/express/theme-lightest.js +1 -4
  28. package/express/theme-lightest.js.map +2 -2
  29. package/package.json +4 -4
  30. package/scale-large.dev.js +1 -0
  31. package/scale-large.dev.js.map +1 -1
  32. package/scale-large.js +1 -4
  33. package/scale-large.js.map +2 -2
  34. package/scale-medium.dev.js +1 -0
  35. package/scale-medium.dev.js.map +1 -1
  36. package/scale-medium.js +1 -4
  37. package/scale-medium.js.map +2 -2
  38. package/sp-theme.dev.js +1 -0
  39. package/sp-theme.dev.js.map +1 -1
  40. package/sp-theme.js +1 -2
  41. package/sp-theme.js.map +2 -2
  42. package/src/Theme.dev.js +43 -13
  43. package/src/Theme.dev.js.map +2 -2
  44. package/src/Theme.js +1 -298
  45. package/src/Theme.js.map +2 -2
  46. package/src/express/core.dev.js +1 -0
  47. package/src/express/core.dev.js.map +1 -1
  48. package/src/express/core.js +1 -3
  49. package/src/express/core.js.map +2 -2
  50. package/src/express/scale-large.css.dev.js +2 -15
  51. package/src/express/scale-large.css.dev.js.map +2 -2
  52. package/src/express/scale-large.css.js +3 -19
  53. package/src/express/scale-large.css.js.map +3 -3
  54. package/src/express/scale-medium.css.dev.js +2 -15
  55. package/src/express/scale-medium.css.dev.js.map +2 -2
  56. package/src/express/scale-medium.css.js +3 -19
  57. package/src/express/scale-medium.css.js.map +3 -3
  58. package/src/express/theme-dark.css.dev.js +1 -0
  59. package/src/express/theme-dark.css.dev.js.map +1 -1
  60. package/src/express/theme-dark.css.js +2 -4
  61. package/src/express/theme-dark.css.js.map +2 -2
  62. package/src/express/theme-light.css.dev.js +1 -0
  63. package/src/express/theme-light.css.dev.js.map +1 -1
  64. package/src/express/theme-light.css.js +2 -4
  65. package/src/express/theme-light.css.js.map +2 -2
  66. package/src/express/theme.css.dev.js +27 -2
  67. package/src/express/theme.css.dev.js.map +2 -2
  68. package/src/express/theme.css.js +28 -6
  69. package/src/express/theme.css.js.map +3 -3
  70. package/src/express/themes.dev.js +1 -0
  71. package/src/express/themes.dev.js.map +1 -1
  72. package/src/express/themes.js +1 -6
  73. package/src/express/themes.js.map +1 -1
  74. package/src/index.dev.js +1 -0
  75. package/src/index.dev.js.map +1 -1
  76. package/src/index.js +1 -1
  77. package/src/index.js.map +1 -1
  78. package/src/scale-large.css.dev.js +2 -15
  79. package/src/scale-large.css.dev.js.map +2 -2
  80. package/src/scale-large.css.js +3 -19
  81. package/src/scale-large.css.js.map +3 -3
  82. package/src/scale-medium.css.dev.js +2 -15
  83. package/src/scale-medium.css.dev.js.map +2 -2
  84. package/src/scale-medium.css.js +3 -19
  85. package/src/scale-medium.css.js.map +3 -3
  86. package/src/theme-dark.css.dev.js +1 -0
  87. package/src/theme-dark.css.dev.js.map +1 -1
  88. package/src/theme-dark.css.js +2 -4
  89. package/src/theme-dark.css.js.map +2 -2
  90. package/src/theme-darkest.css.dev.js +1 -0
  91. package/src/theme-darkest.css.dev.js.map +1 -1
  92. package/src/theme-darkest.css.js +2 -4
  93. package/src/theme-darkest.css.js.map +2 -2
  94. package/src/theme-light.css.dev.js +1 -0
  95. package/src/theme-light.css.dev.js.map +1 -1
  96. package/src/theme-light.css.js +2 -4
  97. package/src/theme-light.css.js.map +2 -2
  98. package/src/theme-lightest.css.dev.js +1 -0
  99. package/src/theme-lightest.css.dev.js.map +1 -1
  100. package/src/theme-lightest.css.js +2 -4
  101. package/src/theme-lightest.css.js.map +2 -2
  102. package/src/theme.css.dev.js +27 -2
  103. package/src/theme.css.dev.js.map +2 -2
  104. package/src/theme.css.js +28 -6
  105. package/src/theme.css.js.map +3 -3
  106. package/src/themes.dev.js +1 -0
  107. package/src/themes.dev.js.map +1 -1
  108. package/src/themes.js +1 -6
  109. package/src/themes.js.map +1 -1
  110. package/src/typography.css.dev.js +1 -0
  111. package/src/typography.css.dev.js.map +1 -1
  112. package/src/typography.css.js +2 -4
  113. package/src/typography.css.js.map +2 -2
  114. package/stories/theme.stories.js +1 -0
  115. package/stories/theme.stories.js.map +1 -1
  116. package/test/theme-devmode.test.js +9 -3
  117. package/test/theme-devmode.test.js.map +1 -1
  118. package/test/theme-lazy.test.js +39 -16
  119. package/test/theme-lazy.test.js.map +1 -1
  120. package/test/theme.test-vrt.js +1 -0
  121. package/test/theme.test-vrt.js.map +1 -1
  122. package/test/themes.test.js +51 -22
  123. package/test/themes.test.js.map +1 -1
  124. package/theme-dark.dev.js +1 -0
  125. package/theme-dark.dev.js.map +1 -1
  126. package/theme-dark.js +1 -4
  127. package/theme-dark.js.map +2 -2
  128. package/theme-darkest.dev.js +1 -0
  129. package/theme-darkest.dev.js.map +1 -1
  130. package/theme-darkest.js +1 -4
  131. package/theme-darkest.js.map +2 -2
  132. package/theme-light.dev.js +1 -0
  133. package/theme-light.dev.js.map +1 -1
  134. package/theme-light.js +1 -4
  135. package/theme-light.js.map +2 -2
  136. package/theme-lightest.dev.js +1 -0
  137. package/theme-lightest.dev.js.map +1 -1
  138. package/theme-lightest.js +1 -4
  139. package/theme-lightest.js.map +2 -2
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  import "@spectrum-web-components/theme/sp-theme.js";
2
3
  import { Theme } from "@spectrum-web-components/theme";
3
4
  import coreStyles from "@spectrum-web-components/theme/src/theme.css.js";
@@ -22,22 +23,28 @@ describe("Themes - lazy", () => {
22
23
  Theme.registerThemeFragment("medium", "scale", mediumStyles);
23
24
  });
24
25
  it("loads w/ no themes and none set", async () => {
25
- const el = await fixture(html`
26
+ const el = await fixture(
27
+ html`
26
28
  <sp-theme></sp-theme>
27
- `);
29
+ `
30
+ );
28
31
  await elementUpdated(el);
29
32
  if (el.shadowRoot.adoptedStyleSheets) {
30
33
  expect(el.shadowRoot.adoptedStyleSheets.length).to.equal(1);
31
34
  } else {
32
- expect([...el.shadowRoot.querySelectorAll("style")].length).to.equal(1);
35
+ expect(
36
+ [...el.shadowRoot.querySelectorAll("style")].length
37
+ ).to.equal(1);
33
38
  }
34
39
  expect(el.color).to.equal("");
35
40
  expect(el.scale).to.equal("");
36
41
  });
37
42
  it("loads w/ themes and none set", async () => {
38
- const el = await fixture(html`
43
+ const el = await fixture(
44
+ html`
39
45
  <sp-theme></sp-theme>
40
- `);
46
+ `
47
+ );
41
48
  await elementUpdated(el);
42
49
  Theme.registerThemeFragment("light", "color", lightStyles);
43
50
  Theme.registerThemeFragment("medium", "scale", mediumStyles);
@@ -45,26 +52,34 @@ describe("Themes - lazy", () => {
45
52
  if (el.shadowRoot.adoptedStyleSheets) {
46
53
  expect(el.shadowRoot.adoptedStyleSheets.length).to.equal(1);
47
54
  } else {
48
- expect([...el.shadowRoot.querySelectorAll("style")].length).to.equal(1);
55
+ expect(
56
+ [...el.shadowRoot.querySelectorAll("style")].length
57
+ ).to.equal(1);
49
58
  }
50
59
  expect(el.color).to.equal("light");
51
60
  expect(el.scale).to.equal("medium");
52
61
  });
53
62
  it("loads w/ no themes", async () => {
54
- const el = await fixture(html`
63
+ const el = await fixture(
64
+ html`
55
65
  <sp-theme color="lightest" scale="large"></sp-theme>
56
- `);
66
+ `
67
+ );
57
68
  await elementUpdated(el);
58
69
  if (el.shadowRoot.adoptedStyleSheets) {
59
70
  expect(el.shadowRoot.adoptedStyleSheets.length).to.equal(1);
60
71
  } else {
61
- expect([...el.shadowRoot.querySelectorAll("style")].length).to.equal(1);
72
+ expect(
73
+ [...el.shadowRoot.querySelectorAll("style")].length
74
+ ).to.equal(1);
62
75
  }
63
76
  });
64
77
  it("loads w/ not enough themes", async () => {
65
- const el = await fixture(html`
78
+ const el = await fixture(
79
+ html`
66
80
  <sp-theme color="lightest" scale="large"></sp-theme>
67
- `);
81
+ `
82
+ );
68
83
  await elementUpdated(el);
69
84
  Theme.registerThemeFragment("light", "color", lightStyles);
70
85
  Theme.registerThemeFragment("medium", "scale", mediumStyles);
@@ -72,13 +87,17 @@ describe("Themes - lazy", () => {
72
87
  if (el.shadowRoot.adoptedStyleSheets) {
73
88
  expect(el.shadowRoot.adoptedStyleSheets.length).to.equal(1);
74
89
  } else {
75
- expect([...el.shadowRoot.querySelectorAll("style")].length).to.equal(1);
90
+ expect(
91
+ [...el.shadowRoot.querySelectorAll("style")].length
92
+ ).to.equal(1);
76
93
  }
77
94
  });
78
95
  it("loads w/ lazy themes", async () => {
79
- const el = await fixture(html`
96
+ const el = await fixture(
97
+ html`
80
98
  <sp-theme color="lightest" scale="large"></sp-theme>
81
- `);
99
+ `
100
+ );
82
101
  await elementUpdated(el);
83
102
  Theme.registerThemeFragment("light", "color", lightStyles);
84
103
  Theme.registerThemeFragment("medium", "scale", mediumStyles);
@@ -86,7 +105,9 @@ describe("Themes - lazy", () => {
86
105
  if (el.shadowRoot.adoptedStyleSheets) {
87
106
  expect(el.shadowRoot.adoptedStyleSheets.length).to.equal(1);
88
107
  } else {
89
- expect([...el.shadowRoot.querySelectorAll("style")].length).to.equal(1);
108
+ expect(
109
+ [...el.shadowRoot.querySelectorAll("style")].length
110
+ ).to.equal(1);
90
111
  }
91
112
  Theme.registerThemeFragment("lightest", "color", lightestStyles);
92
113
  Theme.registerThemeFragment("large", "scale", largeStyles);
@@ -94,7 +115,9 @@ describe("Themes - lazy", () => {
94
115
  if (el.shadowRoot.adoptedStyleSheets) {
95
116
  expect(el.shadowRoot.adoptedStyleSheets.length).to.equal(3);
96
117
  } else {
97
- expect([...el.shadowRoot.querySelectorAll("style")].length).to.equal(3);
118
+ expect(
119
+ [...el.shadowRoot.querySelectorAll("style")].length
120
+ ).to.equal(3);
98
121
  }
99
122
  });
100
123
  });
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["theme-lazy.test.ts"],
4
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 '@spectrum-web-components/theme/sp-theme.js';\nimport { Theme, ThemeFragmentMap } from '@spectrum-web-components/theme';\nimport coreStyles from '@spectrum-web-components/theme/src/theme.css.js';\nimport lightStyles from '@spectrum-web-components/theme/src/theme-light.css.js';\nimport lightestStyles from '@spectrum-web-components/theme/src/theme-lightest.css.js';\nimport darkStyles from '@spectrum-web-components/theme/src/theme-dark.css.js';\nimport darkestStyles from '@spectrum-web-components/theme/src/theme-darkest.css.js';\nimport largeStyles from '@spectrum-web-components/theme/src/scale-large.css.js';\nimport mediumStyles from '@spectrum-web-components/theme/src/scale-medium.css.js';\nimport { elementUpdated, expect, fixture, html } from '@open-wc/testing';\n\ntype TestableThemeConstructor = {\n instances: Set<Theme>;\n themeFragmentsByKind: ThemeFragmentMap;\n};\n\ndescribe('Themes - lazy', () => {\n beforeEach(() => {\n (\n Theme as unknown as TestableThemeConstructor\n ).themeFragmentsByKind.clear();\n // Core is registered by default in `theme.ts`\n Theme.registerThemeFragment('spectrum', 'theme', coreStyles);\n });\n after(() => {\n Theme.registerThemeFragment('light', 'color', lightStyles);\n Theme.registerThemeFragment('lightest', 'color', lightestStyles);\n Theme.registerThemeFragment('dark', 'color', darkStyles);\n Theme.registerThemeFragment('darkest', 'color', darkestStyles);\n Theme.registerThemeFragment('large', 'scale', largeStyles);\n Theme.registerThemeFragment('medium', 'scale', mediumStyles);\n });\n it('loads w/ no themes and none set', async () => {\n const el = await fixture<Theme>(\n html`\n <sp-theme></sp-theme>\n `\n );\n\n await elementUpdated(el);\n\n if (el.shadowRoot.adoptedStyleSheets) {\n expect(el.shadowRoot.adoptedStyleSheets.length).to.equal(1);\n } else {\n expect(\n [...el.shadowRoot.querySelectorAll('style')].length\n ).to.equal(1);\n }\n expect(el.color).to.equal('');\n expect(el.scale).to.equal('');\n });\n it('loads w/ themes and none set', async () => {\n const el = await fixture<Theme>(\n html`\n <sp-theme></sp-theme>\n `\n );\n\n await elementUpdated(el);\n\n Theme.registerThemeFragment('light', 'color', lightStyles);\n Theme.registerThemeFragment('medium', 'scale', mediumStyles);\n\n await elementUpdated(el);\n\n if (el.shadowRoot.adoptedStyleSheets) {\n expect(el.shadowRoot.adoptedStyleSheets.length).to.equal(1);\n } else {\n expect(\n [...el.shadowRoot.querySelectorAll('style')].length\n ).to.equal(1);\n }\n expect(el.color).to.equal('light');\n expect(el.scale).to.equal('medium');\n });\n it('loads w/ no themes', async () => {\n const el = await fixture<Theme>(\n html`\n <sp-theme color=\"lightest\" scale=\"large\"></sp-theme>\n `\n );\n\n await elementUpdated(el);\n\n if (el.shadowRoot.adoptedStyleSheets) {\n expect(el.shadowRoot.adoptedStyleSheets.length).to.equal(1);\n } else {\n expect(\n [...el.shadowRoot.querySelectorAll('style')].length\n ).to.equal(1);\n }\n });\n it('loads w/ not enough themes', async () => {\n const el = await fixture<Theme>(\n html`\n <sp-theme color=\"lightest\" scale=\"large\"></sp-theme>\n `\n );\n\n await elementUpdated(el);\n\n Theme.registerThemeFragment('light', 'color', lightStyles);\n Theme.registerThemeFragment('medium', 'scale', mediumStyles);\n\n await elementUpdated(el);\n\n if (el.shadowRoot.adoptedStyleSheets) {\n expect(el.shadowRoot.adoptedStyleSheets.length).to.equal(1);\n } else {\n expect(\n [...el.shadowRoot.querySelectorAll('style')].length\n ).to.equal(1);\n }\n });\n it('loads w/ lazy themes', async () => {\n const el = await fixture<Theme>(\n html`\n <sp-theme color=\"lightest\" scale=\"large\"></sp-theme>\n `\n );\n\n await elementUpdated(el);\n\n Theme.registerThemeFragment('light', 'color', lightStyles);\n Theme.registerThemeFragment('medium', 'scale', mediumStyles);\n\n await elementUpdated(el);\n\n if (el.shadowRoot.adoptedStyleSheets) {\n expect(el.shadowRoot.adoptedStyleSheets.length).to.equal(1);\n } else {\n expect(\n [...el.shadowRoot.querySelectorAll('style')].length\n ).to.equal(1);\n }\n\n Theme.registerThemeFragment('lightest', 'color', lightestStyles);\n Theme.registerThemeFragment('large', 'scale', largeStyles);\n\n await elementUpdated(el);\n\n if (el.shadowRoot.adoptedStyleSheets) {\n expect(el.shadowRoot.adoptedStyleSheets.length).to.equal(3);\n } else {\n expect(\n [...el.shadowRoot.querySelectorAll('style')].length\n ).to.equal(3);\n }\n });\n});\n"],
5
- "mappings": "AAYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAOA,SAAS,iBAAiB,MAAM;AAC5B,aAAW,MAAM;AACb,IACI,MACF,qBAAqB,MAAM;AAE7B,UAAM,sBAAsB,YAAY,SAAS,UAAU;AAAA,EAC/D,CAAC;AACD,QAAM,MAAM;AACR,UAAM,sBAAsB,SAAS,SAAS,WAAW;AACzD,UAAM,sBAAsB,YA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GAAG,WAAW,oBAAoB;AAClC,aAAO,GAAG,WAAW,mBAAmB,MAAM,EAAE,GAAG,MAAM,CAAC;AAAA,IAC9D,OAAO;AACH;AAAA,QACI,CAAC,GAAG,GAAG,WAAW,iBAAiB,OAAO,CAAC,EAAE;AAAA,MACjD,EAAE,GAAG,MAAM,CAAC;AAAA,IAChB;AAAA,EACJ,CAAC;AACD,KAAG,wBAAwB,YAAY;AACnC,UAAM,KAAK,MAAM;AAAA,MACb;AAAA;AAAA;AAAA,IAGJ;AAEA,UAAM,eAAe,EAAE;AAEvB,UAAM,sBAAsB,SAAS,SAAS,WAAW;AACzD,UAAM,sBAAsB,UAAU,SAAS,YAAY;AAE3D,UAAM,eAAe,EAAE;AAEvB,QAAI,GAAG,WAAW,oBAAoB;AAClC,aAAO,GAAG,WAAW,mBAAmB,MAAM,EAAE,GAAG,MAAM,CAAC;AAAA,IAC9D,OAAO;AACH;AAAA,QACI,CAAC,GAAG,GAAG,WAAW,iBAAiB,OAAO,CAAC,EAAE;AAAA,MACjD,EAAE,GAAG,MAAM,CAAC;AAAA,IAChB;AAEA,UAAM,sBAAsB,YAAY,SAAS,cAAc;AAC/D,UAAM,sBAAsB,SAAS,SAAS,WAAW;AAEzD,UAAM,eAAe,EAAE;AAEvB,QAAI,GAAG,WAAW,oBAAoB;AAClC,aAAO,GAAG,WAAW,mBAAmB,MAAM,EAAE,GAAG,MAAM,CAAC;AAAA,IAC9D,OAAO;AACH;AAAA,QACI,CAAC,GAAG,GAAG,WAAW,iBAAiB,OAAO,CAAC,EAAE;AAAA,MACjD,EAAE,GAAG,MAAM,CAAC;AAAA,IAChB;AAAA,EACJ,CAAC;AACL,CAAC;",
6
6
  "names": []
7
7
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  import * as stories from "../stories/theme.stories.js";
2
3
  import { regressVisuals } from "../../../test/visual/test.js";
3
4
  regressVisuals("ThemeStories", stories);
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["theme.test-vrt.ts"],
4
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 * as stories from '../stories/theme.stories.js';\nimport { regressVisuals } from '../../../test/visual/test.js';\n\nregressVisuals('ThemeStories', stories);\n"],
5
- "mappings": "AAYA;AACA;AAEA,eAAe,gBAAgB,OAAO;",
5
+ "mappings": ";AAYA,YAAY,aAAa;AACzB,SAAS,sBAAsB;AAE/B,eAAe,gBAAgB,OAAO;",
6
6
  "names": []
7
7
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  import "@spectrum-web-components/theme/sp-theme.js";
2
3
  import "@spectrum-web-components/theme/src/themes.js";
3
4
  import { Theme } from "@spectrum-web-components/theme";
@@ -5,33 +6,41 @@ import { elementUpdated, expect, fixture, html } from "@open-wc/testing";
5
6
  import { css } from "@spectrum-web-components/base";
6
7
  describe("Themes", () => {
7
8
  it("loads - light", async () => {
8
- const el = await fixture(html`
9
+ const el = await fixture(
10
+ html`
9
11
  <sp-theme theme="classic" color="light"></sp-theme>
10
- `);
12
+ `
13
+ );
11
14
  await elementUpdated(el);
12
15
  expect(el).to.exist;
13
16
  expect(el).shadowDom.to.exist;
14
17
  });
15
18
  it("loads - dark", async () => {
16
- const el = await fixture(html`
19
+ const el = await fixture(
20
+ html`
17
21
  <sp-theme color="dark"></sp-theme>
18
- `);
22
+ `
23
+ );
19
24
  await elementUpdated(el);
20
25
  expect(el).to.exist;
21
26
  expect(el).shadowDom.to.exist;
22
27
  });
23
28
  it("loads - unkown", async () => {
24
- const el = await fixture(html`
29
+ const el = await fixture(
30
+ html`
25
31
  <sp-theme color="unknown" scale="unknown"></sp-theme>
26
- `);
32
+ `
33
+ );
27
34
  await elementUpdated(el);
28
35
  expect(el).to.exist;
29
36
  expect(el).shadowDom.to.exist;
30
37
  });
31
38
  it("adds an instance only once", async () => {
32
- const el = await fixture(html`
39
+ const el = await fixture(
40
+ html`
33
41
  <sp-theme theme="express"></sp-theme>
34
- `);
42
+ `
43
+ );
35
44
  await elementUpdated(el);
36
45
  const testableTheme = Theme;
37
46
  expect(testableTheme.instances.has(el), "first").to.be.true;
@@ -46,9 +55,11 @@ describe("Themes", () => {
46
55
  });
47
56
  describe("Lightest", () => {
48
57
  it("loads", async () => {
49
- const el = await fixture(html`
58
+ const el = await fixture(
59
+ html`
50
60
  <sp-theme color="lightest"></sp-theme>
51
- `);
61
+ `
62
+ );
52
63
  await elementUpdated(el);
53
64
  expect(el).to.exist;
54
65
  expect(el).shadowDom.to.exist;
@@ -56,9 +67,11 @@ describe("Lightest", () => {
56
67
  });
57
68
  describe("Medium", () => {
58
69
  it("loads", async () => {
59
- const el = await fixture(html`
70
+ const el = await fixture(
71
+ html`
60
72
  <sp-theme scale="medium"></sp-theme>
61
- `);
73
+ `
74
+ );
62
75
  await elementUpdated(el);
63
76
  expect(el).to.exist;
64
77
  expect(el).shadowDom.to.exist;
@@ -66,7 +79,8 @@ describe("Medium", () => {
66
79
  });
67
80
  describe("App styles", () => {
68
81
  it("applies app fragments", async () => {
69
- const el = await fixture(html`
82
+ const el = await fixture(
83
+ html`
70
84
  <sp-theme color="light">
71
85
  <style>
72
86
  div {
@@ -75,16 +89,21 @@ describe("App styles", () => {
75
89
  </style>
76
90
  <div></div>
77
91
  </sp-theme>
78
- `);
92
+ `
93
+ );
79
94
  const div = el.querySelector("div");
80
95
  await elementUpdated(el);
81
96
  const preStylesDiv = getComputedStyle(div);
82
97
  expect(preStylesDiv.paddingBlockStart).to.equal("0px");
83
- Theme.registerThemeFragment("app", "app", css`
98
+ Theme.registerThemeFragment(
99
+ "app",
100
+ "app",
101
+ css`
84
102
  :host {
85
103
  --app-padding: 10px;
86
104
  }
87
- `);
105
+ `
106
+ );
88
107
  await elementUpdated(el);
89
108
  const postStylesDiv = getComputedStyle(div);
90
109
  expect(postStylesDiv.paddingBlockStart).to.equal("10px");
@@ -93,16 +112,20 @@ describe("App styles", () => {
93
112
  });
94
113
  describe("Setting attributes", () => {
95
114
  it("loads", async () => {
96
- const el = await fixture(html`
115
+ const el = await fixture(
116
+ html`
97
117
  <sp-theme color="light"></sp-theme>
98
- `);
118
+ `
119
+ );
99
120
  await elementUpdated(el);
100
121
  expect(el).to.not.be.undefined;
101
122
  expect(el.hasAttribute("scale")).to.be.false;
102
123
  if (el.shadowRoot.adoptedStyleSheets) {
103
124
  expect(el.shadowRoot.adoptedStyleSheets.length).to.equal(2);
104
125
  } else {
105
- expect([...el.shadowRoot.querySelectorAll("style")].length).to.equal(2);
126
+ expect(
127
+ [...el.shadowRoot.querySelectorAll("style")].length
128
+ ).to.equal(2);
106
129
  }
107
130
  await elementUpdated(el);
108
131
  el.setAttribute("scale", "fish");
@@ -110,7 +133,9 @@ describe("Setting attributes", () => {
110
133
  if (el.shadowRoot.adoptedStyleSheets) {
111
134
  expect(el.shadowRoot.adoptedStyleSheets.length).to.equal(2);
112
135
  } else {
113
- expect([...el.shadowRoot.querySelectorAll("style")].length).to.equal(2);
136
+ expect(
137
+ [...el.shadowRoot.querySelectorAll("style")].length
138
+ ).to.equal(2);
114
139
  }
115
140
  el.color = "dark";
116
141
  el.scale = "medium";
@@ -120,7 +145,9 @@ describe("Setting attributes", () => {
120
145
  if (el.shadowRoot.adoptedStyleSheets) {
121
146
  expect(el.shadowRoot.adoptedStyleSheets.length, "all").to.equal(3);
122
147
  } else {
123
- expect([...el.shadowRoot.querySelectorAll("style")].length).to.equal(3);
148
+ expect(
149
+ [...el.shadowRoot.querySelectorAll("style")].length
150
+ ).to.equal(3);
124
151
  }
125
152
  el.setAttribute("color", "fish");
126
153
  await elementUpdated(el);
@@ -128,7 +155,9 @@ describe("Setting attributes", () => {
128
155
  if (el.shadowRoot.adoptedStyleSheets) {
129
156
  expect(el.shadowRoot.adoptedStyleSheets.length, "last").to.equal(3);
130
157
  } else {
131
- expect([...el.shadowRoot.querySelectorAll("style")].length).to.equal(3);
158
+ expect(
159
+ [...el.shadowRoot.querySelectorAll("style")].length
160
+ ).to.equal(3);
132
161
  }
133
162
  });
134
163
  });
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["themes.test.ts"],
4
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 '@spectrum-web-components/theme/sp-theme.js';\nimport '@spectrum-web-components/theme/src/themes.js';\nimport { Theme, ThemeFragmentMap } from '@spectrum-web-components/theme';\nimport { elementUpdated, expect, fixture, html } from '@open-wc/testing';\nimport { css } from '@spectrum-web-components/base';\n\ntype TestableThemeConstructor = {\n instances: Set<Theme>;\n themeFragmentsByKind: ThemeFragmentMap;\n};\n\ndescribe('Themes', () => {\n it('loads - light', async () => {\n const el = await fixture<Theme>(\n html`\n <sp-theme theme=\"classic\" color=\"light\"></sp-theme>\n `\n );\n\n await elementUpdated(el);\n\n expect(el).to.exist;\n expect(el).shadowDom.to.exist;\n });\n it('loads - dark', async () => {\n const el = await fixture<Theme>(\n html`\n <sp-theme color=\"dark\"></sp-theme>\n `\n );\n\n await elementUpdated(el);\n\n expect(el).to.exist;\n expect(el).shadowDom.to.exist;\n });\n it('loads - unkown', async () => {\n const el = await fixture<Theme>(\n html`\n <sp-theme color=\"unknown\" scale=\"unknown\"></sp-theme>\n `\n );\n\n await elementUpdated(el);\n\n expect(el).to.exist;\n expect(el).shadowDom.to.exist;\n });\n it('adds an instance only once', async () => {\n const el = await fixture<Theme>(\n html`\n <sp-theme theme=\"express\"></sp-theme>\n `\n );\n\n await elementUpdated(el);\n const testableTheme = Theme as unknown as TestableThemeConstructor;\n expect(testableTheme.instances.has(el), 'first').to.be.true;\n expect(testableTheme.instances.size).to.equal(1);\n\n el.remove();\n expect(testableTheme.instances.has(el), 'second').to.be.false;\n expect(testableTheme.instances.size).to.equal(0);\n\n document.body.append(el);\n expect(testableTheme.instances.has(el), 'third').to.be.true;\n expect(testableTheme.instances.size).to.equal(1);\n });\n});\n\ndescribe('Lightest', () => {\n it('loads', async () => {\n const el = await fixture<Theme>(\n html`\n <sp-theme color=\"lightest\"></sp-theme>\n `\n );\n\n await elementUpdated(el);\n\n expect(el).to.exist;\n expect(el).shadowDom.to.exist;\n });\n});\n\ndescribe('Medium', () => {\n it('loads', async () => {\n const el = await fixture<Theme>(\n html`\n <sp-theme scale=\"medium\"></sp-theme>\n `\n );\n\n await elementUpdated(el);\n\n expect(el).to.exist;\n expect(el).shadowDom.to.exist;\n });\n});\n\ndescribe('App styles', () => {\n it('applies app fragments', async () => {\n const el = await fixture<Theme>(\n html`\n <sp-theme color=\"light\">\n <style>\n div {\n padding: var(--app-padding);\n }\n </style>\n <div></div>\n </sp-theme>\n `\n );\n const div = el.querySelector('div') as HTMLDivElement;\n\n await elementUpdated(el);\n\n const preStylesDiv = getComputedStyle(div);\n expect(preStylesDiv.paddingBlockStart).to.equal('0px');\n\n Theme.registerThemeFragment(\n 'app',\n 'app',\n css`\n :host {\n --app-padding: 10px;\n }\n `\n );\n await elementUpdated(el);\n\n const postStylesDiv = getComputedStyle(div);\n expect(postStylesDiv.paddingBlockStart).to.equal('10px');\n\n (\n Theme as unknown as TestableThemeConstructor\n ).themeFragmentsByKind.delete('app');\n });\n});\n\ndescribe('Setting attributes', () => {\n it('loads', async () => {\n const el = await fixture<Theme>(\n html`\n <sp-theme color=\"light\"></sp-theme>\n `\n );\n\n await elementUpdated(el);\n\n expect(el).to.not.be.undefined;\n expect(el.hasAttribute('scale')).to.be.false;\n\n if (el.shadowRoot.adoptedStyleSheets) {\n expect(el.shadowRoot.adoptedStyleSheets.length).to.equal(2);\n } else {\n expect(\n [...el.shadowRoot.querySelectorAll('style')].length\n ).to.equal(2);\n }\n\n await elementUpdated(el);\n\n // Invalid initial value falls back to default\n el.setAttribute('scale', 'fish');\n expect(el.getAttribute('scale')).to.equal('medium');\n\n if (el.shadowRoot.adoptedStyleSheets) {\n expect(el.shadowRoot.adoptedStyleSheets.length).to.equal(2);\n } else {\n expect(\n [...el.shadowRoot.querySelectorAll('style')].length\n ).to.equal(2);\n }\n\n el.color = 'dark';\n el.scale = 'medium';\n\n await elementUpdated(el);\n expect(el.getAttribute('color')).to.equal('dark');\n expect(el.getAttribute('scale')).to.equal('medium');\n\n if (el.shadowRoot.adoptedStyleSheets) {\n expect(el.shadowRoot.adoptedStyleSheets.length, 'all').to.equal(3);\n } else {\n expect(\n [...el.shadowRoot.querySelectorAll('style')].length\n ).to.equal(3);\n }\n\n // Invalid second + value fallsback to previous\n el.setAttribute('color', 'fish');\n\n await elementUpdated(el);\n expect(el.getAttribute('color')).to.equal('dark');\n\n if (el.shadowRoot.adoptedStyleSheets) {\n expect(el.shadowRoot.adoptedStyleSheets.length, 'last').to.equal(3);\n } else {\n expect(\n [...el.shadowRoot.querySelectorAll('style')].length\n ).to.equal(3);\n }\n });\n});\n"],
5
- "mappings": "AAYA;AACA;AACA;AACA;AACA;AAOA,SAAS,UAAU,MAAM;AACrB,KAAG,iBAAiB,YAAY;AAC5B,UAAM,KAAK,MAAM,QACb;AAAA;AAAA,aAGJ;AAEA,UAAM,eAAe,EAAE;AAEvB,WAAO,EAAE,EAAE,GAAG;AACd,WAAO,EAAE,EAAE,UAAU,GAAG;AAAA,EAC5B,CAAC;AACD,KAAG,gBAAgB,YAAY;AAC3B,UAAM,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-dark.css.js";
2
3
  import { Theme } from "./src/Theme.dev.js";
3
4
  import "./core.dev.js";
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["theme-dark.ts"],
4
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/theme-dark.css.js';\nimport { Theme } from './src/Theme.dev.js'\nimport './core.dev.js'\n\nTheme.registerThemeFragment('dark', 'color', darkStyles);\n"],
5
- "mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,QAAQ,SAAS,UAAU;",
5
+ "mappings": ";AAYA,OAAO,gBAAgB;AACvB,SAAS,aAAa;AACtB,OAAO;AAEP,MAAM,sBAAsB,QAAQ,SAAS,UAAU;",
6
6
  "names": []
7
7
  }
package/theme-dark.js CHANGED
@@ -1,5 +1,2 @@
1
- import darkStyles from "./src/theme-dark.css.js";
2
- import { Theme } from "./src/Theme.js";
3
- import "./core.js";
4
- Theme.registerThemeFragment("dark", "color", darkStyles);
1
+ "use strict";import r from"./src/theme-dark.css.js";import{Theme as e}from"./src/Theme.js";import"./core.js";e.registerThemeFragment("dark","color",r);
5
2
  //# sourceMappingURL=theme-dark.js.map
package/theme-dark.js.map CHANGED
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["theme-dark.ts"],
4
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/theme-dark.css.js';\nimport { Theme } from './src/Theme.js';\nimport './core.js';\n\nTheme.registerThemeFragment('dark', 'color', darkStyles);\n"],
5
- "mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,QAAQ,SAAS,UAAU;",
6
- "names": []
5
+ "mappings": "aAYA,OAAOA,MAAgB,0BACvB,OAAS,SAAAC,MAAa,iBACtB,MAAO,YAEPA,EAAM,sBAAsB,OAAQ,QAASD,CAAU",
6
+ "names": ["darkStyles", "Theme"]
7
7
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  import darkStyles from "./src/theme-darkest.css.js";
2
3
  import { Theme } from "./src/Theme.dev.js";
3
4
  import "./core.dev.js";
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["theme-darkest.ts"],
4
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/theme-darkest.css.js';\nimport { Theme } from './src/Theme.dev.js'\nimport './core.dev.js'\n\nTheme.registerThemeFragment('darkest', 'color', darkStyles);\n"],
5
- "mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,WAAW,SAAS,UAAU;",
5
+ "mappings": ";AAYA,OAAO,gBAAgB;AACvB,SAAS,aAAa;AACtB,OAAO;AAEP,MAAM,sBAAsB,WAAW,SAAS,UAAU;",
6
6
  "names": []
7
7
  }
package/theme-darkest.js CHANGED
@@ -1,5 +1,2 @@
1
- import darkStyles from "./src/theme-darkest.css.js";
2
- import { Theme } from "./src/Theme.js";
3
- import "./core.js";
4
- Theme.registerThemeFragment("darkest", "color", darkStyles);
1
+ "use strict";import r from"./src/theme-darkest.css.js";import{Theme as e}from"./src/Theme.js";import"./core.js";e.registerThemeFragment("darkest","color",r);
5
2
  //# sourceMappingURL=theme-darkest.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["theme-darkest.ts"],
4
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/theme-darkest.css.js';\nimport { Theme } from './src/Theme.js';\nimport './core.js';\n\nTheme.registerThemeFragment('darkest', 'color', darkStyles);\n"],
5
- "mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,WAAW,SAAS,UAAU;",
6
- "names": []
5
+ "mappings": "aAYA,OAAOA,MAAgB,6BACvB,OAAS,SAAAC,MAAa,iBACtB,MAAO,YAEPA,EAAM,sBAAsB,UAAW,QAASD,CAAU",
6
+ "names": ["darkStyles", "Theme"]
7
7
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  import lightStyles from "./src/theme-light.css.js";
2
3
  import { Theme } from "./src/Theme.dev.js";
3
4
  import "./core.dev.js";
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["theme-light.ts"],
4
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/theme-light.css.js';\nimport { Theme } from './src/Theme.dev.js'\nimport './core.dev.js'\n\nTheme.registerThemeFragment('light', 'color', lightStyles);\n"],
5
- "mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,SAAS,SAAS,WAAW;",
5
+ "mappings": ";AAYA,OAAO,iBAAiB;AACxB,SAAS,aAAa;AACtB,OAAO;AAEP,MAAM,sBAAsB,SAAS,SAAS,WAAW;",
6
6
  "names": []
7
7
  }
package/theme-light.js CHANGED
@@ -1,5 +1,2 @@
1
- import lightStyles from "./src/theme-light.css.js";
2
- import { Theme } from "./src/Theme.js";
3
- import "./core.js";
4
- Theme.registerThemeFragment("light", "color", lightStyles);
1
+ "use strict";import r from"./src/theme-light.css.js";import{Theme as e}from"./src/Theme.js";import"./core.js";e.registerThemeFragment("light","color",r);
5
2
  //# sourceMappingURL=theme-light.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["theme-light.ts"],
4
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/theme-light.css.js';\nimport { Theme } from './src/Theme.js';\nimport './core.js';\n\nTheme.registerThemeFragment('light', 'color', lightStyles);\n"],
5
- "mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,SAAS,SAAS,WAAW;",
6
- "names": []
5
+ "mappings": "aAYA,OAAOA,MAAiB,2BACxB,OAAS,SAAAC,MAAa,iBACtB,MAAO,YAEPA,EAAM,sBAAsB,QAAS,QAASD,CAAW",
6
+ "names": ["lightStyles", "Theme"]
7
7
  }
@@ -1,3 +1,4 @@
1
+ "use strict";
1
2
  import lightestStyles from "./src/theme-lightest.css.js";
2
3
  import { Theme } from "./src/Theme.dev.js";
3
4
  import "./core.dev.js";
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["theme-lightest.ts"],
4
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 lightestStyles from './src/theme-lightest.css.js';\nimport { Theme } from './src/Theme.dev.js'\nimport './core.dev.js'\n\nTheme.registerThemeFragment('lightest', 'color', lightestStyles);\n"],
5
- "mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,YAAY,SAAS,cAAc;",
5
+ "mappings": ";AAYA,OAAO,oBAAoB;AAC3B,SAAS,aAAa;AACtB,OAAO;AAEP,MAAM,sBAAsB,YAAY,SAAS,cAAc;",
6
6
  "names": []
7
7
  }
package/theme-lightest.js CHANGED
@@ -1,5 +1,2 @@
1
- import lightestStyles from "./src/theme-lightest.css.js";
2
- import { Theme } from "./src/Theme.js";
3
- import "./core.js";
4
- Theme.registerThemeFragment("lightest", "color", lightestStyles);
1
+ "use strict";import e from"./src/theme-lightest.css.js";import{Theme as t}from"./src/Theme.js";import"./core.js";t.registerThemeFragment("lightest","color",e);
5
2
  //# sourceMappingURL=theme-lightest.js.map
@@ -2,6 +2,6 @@
2
2
  "version": 3,
3
3
  "sources": ["theme-lightest.ts"],
4
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 lightestStyles from './src/theme-lightest.css.js';\nimport { Theme } from './src/Theme.js';\nimport './core.js';\n\nTheme.registerThemeFragment('lightest', 'color', lightestStyles);\n"],
5
- "mappings": "AAYA;AACA;AACA;AAEA,MAAM,sBAAsB,YAAY,SAAS,cAAc;",
6
- "names": []
5
+ "mappings": "aAYA,OAAOA,MAAoB,8BAC3B,OAAS,SAAAC,MAAa,iBACtB,MAAO,YAEPA,EAAM,sBAAsB,WAAY,QAASD,CAAc",
6
+ "names": ["lightestStyles", "Theme"]
7
7
  }