@spectrum-web-components/theme 0.11.3 → 0.12.1-devmode.7

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 (140) 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 +46 -13
  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.d.ts +27 -0
  45. package/src/Theme.dev.js +297 -0
  46. package/src/Theme.dev.js.map +7 -0
  47. package/src/Theme.js +275 -313
  48. package/src/Theme.js.map +7 -1
  49. package/src/express/core.dev.js +4 -0
  50. package/src/express/core.dev.js.map +7 -0
  51. package/src/express/core.js +4 -15
  52. package/src/express/core.js.map +7 -1
  53. package/src/express/scale-large.css.dev.js +182 -0
  54. package/src/express/scale-large.css.dev.js.map +7 -0
  55. package/src/express/scale-large.css.js +5 -18
  56. package/src/express/scale-large.css.js.map +7 -1
  57. package/src/express/scale-medium.css.dev.js +190 -0
  58. package/src/express/scale-medium.css.dev.js.map +7 -0
  59. package/src/express/scale-medium.css.js +5 -18
  60. package/src/express/scale-medium.css.js.map +7 -1
  61. package/src/express/theme-dark.css.dev.js +56 -0
  62. package/src/express/theme-dark.css.dev.js.map +7 -0
  63. package/src/express/theme-dark.css.js +36 -15
  64. package/src/express/theme-dark.css.js.map +7 -1
  65. package/src/express/theme-light.css.dev.js +56 -0
  66. package/src/express/theme-light.css.dev.js.map +7 -0
  67. package/src/express/theme-light.css.js +36 -15
  68. package/src/express/theme-light.css.js.map +7 -1
  69. package/src/express/theme.css.dev.js +1846 -0
  70. package/src/express/theme.css.dev.js.map +7 -0
  71. package/src/express/theme.css.js +157 -16
  72. package/src/express/theme.css.js.map +7 -1
  73. package/src/express/themes.dev.js +7 -0
  74. package/src/express/themes.dev.js.map +7 -0
  75. package/src/express/themes.js +7 -18
  76. package/src/express/themes.js.map +7 -1
  77. package/src/index.dev.js +2 -0
  78. package/src/index.dev.js.map +7 -0
  79. package/src/index.js +2 -13
  80. package/src/index.js.map +7 -1
  81. package/src/scale-large.css.dev.js +190 -0
  82. package/src/scale-large.css.dev.js.map +7 -0
  83. package/src/scale-large.css.js +4 -17
  84. package/src/scale-large.css.js.map +7 -1
  85. package/src/scale-medium.css.dev.js +192 -0
  86. package/src/scale-medium.css.dev.js.map +7 -0
  87. package/src/scale-medium.css.js +4 -17
  88. package/src/scale-medium.css.js.map +7 -1
  89. package/src/theme-dark.css.dev.js +58 -0
  90. package/src/theme-dark.css.dev.js.map +7 -0
  91. package/src/theme-dark.css.js +36 -15
  92. package/src/theme-dark.css.js.map +7 -1
  93. package/src/theme-darkest.css.dev.js +58 -0
  94. package/src/theme-darkest.css.dev.js.map +7 -0
  95. package/src/theme-darkest.css.js +36 -15
  96. package/src/theme-darkest.css.js.map +7 -1
  97. package/src/theme-light.css.dev.js +58 -0
  98. package/src/theme-light.css.dev.js.map +7 -0
  99. package/src/theme-light.css.js +36 -15
  100. package/src/theme-light.css.js.map +7 -1
  101. package/src/theme-lightest.css.dev.js +52 -0
  102. package/src/theme-lightest.css.dev.js.map +7 -0
  103. package/src/theme-lightest.css.js +36 -15
  104. package/src/theme-lightest.css.js.map +7 -1
  105. package/src/theme.css.dev.js +1840 -0
  106. package/src/theme.css.dev.js.map +7 -0
  107. package/src/theme.css.js +171 -16
  108. package/src/theme.css.js.map +7 -1
  109. package/src/themes.dev.js +7 -0
  110. package/src/themes.dev.js.map +7 -0
  111. package/src/themes.js +7 -18
  112. package/src/themes.js.map +7 -1
  113. package/src/typography.css.dev.js +946 -0
  114. package/src/typography.css.dev.js.map +7 -0
  115. package/src/typography.css.js +3 -14
  116. package/src/typography.css.js.map +7 -1
  117. package/stories/theme.stories.js +38 -43
  118. package/stories/theme.stories.js.map +7 -1
  119. package/test/theme-lazy.test.js +90 -108
  120. package/test/theme-lazy.test.js.map +7 -1
  121. package/test/theme.test-vrt.js +4 -15
  122. package/test/theme.test-vrt.js.map +7 -1
  123. package/test/themes.test.js +103 -120
  124. package/test/themes.test.js.map +7 -1
  125. package/theme-dark.dev.js +5 -0
  126. package/theme-dark.dev.js.map +7 -0
  127. package/theme-dark.js +5 -16
  128. package/theme-dark.js.map +7 -1
  129. package/theme-darkest.dev.js +5 -0
  130. package/theme-darkest.dev.js.map +7 -0
  131. package/theme-darkest.js +5 -16
  132. package/theme-darkest.js.map +7 -1
  133. package/theme-light.dev.js +5 -0
  134. package/theme-light.dev.js.map +7 -0
  135. package/theme-light.js +5 -16
  136. package/theme-light.js.map +7 -1
  137. package/theme-lightest.dev.js +5 -0
  138. package/theme-lightest.dev.js.map +7 -0
  139. package/theme-lightest.js +5 -16
  140. package/theme-lightest.js.map +7 -1
package/README.md CHANGED
@@ -54,6 +54,23 @@ import '@spectrum-web-components/theme/express/scale-medium.js';
54
54
  import '@spectrum-web-components/theme/express/scale-large.js';
55
55
  ```
56
56
 
57
+ ## Example
58
+
59
+ An `<sp-theme>` element expects a value for each of its `theme`, `color`, and `scale` attributes to either be provided on the element.
60
+
61
+ ```html
62
+ <sp-theme
63
+ theme="spectrum"
64
+ color="light"
65
+ scale="medium"
66
+ style="background-color: var(--spectrum-global-color-gray-100)"
67
+ >
68
+ <sp-button onclick="spAlert(this, 'Themed <sp-button> clicked!')">
69
+ Click me!
70
+ </sp-button>
71
+ </sp-theme>
72
+ ```
73
+
57
74
  ## Quick start
58
75
 
59
76
  ```
package/core.dev.js ADDED
@@ -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
+ }
@@ -83,8 +83,10 @@
83
83
  "kind": "field",
84
84
  "name": "dir",
85
85
  "type": {
86
- "text": "'ltr' | 'rtl' | ''"
87
- }
86
+ "text": "\"ltr\" | \"rtl\" | \"\""
87
+ },
88
+ "description": "Reading direction of the content scoped to this `sp-theme` element.",
89
+ "attribute": "dir"
88
90
  },
89
91
  {
90
92
  "kind": "field",
@@ -107,8 +109,10 @@
107
109
  "kind": "field",
108
110
  "name": "theme",
109
111
  "type": {
110
- "text": "ThemeVariant | ''"
111
- }
112
+ "text": "\"spectrum\" | \"express\" | \"\""
113
+ },
114
+ "description": "The Spectrum theme that is applied to the content scoped to this `sp-theme` element.\n\nA value is requried.",
115
+ "attribute": "theme"
112
116
  },
113
117
  {
114
118
  "kind": "field",
@@ -123,8 +127,10 @@
123
127
  "kind": "field",
124
128
  "name": "color",
125
129
  "type": {
126
- "text": "Color | ''"
127
- }
130
+ "text": "\"lightest\" | \"light\" | \"dark\" | \"darkest\" | \"\""
131
+ },
132
+ "description": "The Spectrum color stops to apply to content scoped by this `sp-theme` element.\n\nA value is requried.",
133
+ "attribute": "color"
128
134
  },
129
135
  {
130
136
  "kind": "field",
@@ -139,8 +145,10 @@
139
145
  "kind": "field",
140
146
  "name": "scale",
141
147
  "type": {
142
- "text": "Scale | ''"
143
- }
148
+ "text": "\"medium\" | \"large\" | \"\""
149
+ },
150
+ "description": "The Spectrum platform scale to apply to content scoped by this `sp-theme` element.\n\nA value is requried.",
151
+ "attribute": "scale"
144
152
  },
145
153
  {
146
154
  "kind": "field",
@@ -336,19 +344,44 @@
336
344
  ],
337
345
  "attributes": [
338
346
  {
339
- "name": "color"
347
+ "name": "color",
348
+ "type": {
349
+ "text": "\"lightest\" | \"light\" | \"dark\" | \"darkest\" | \"\""
350
+ },
351
+ "description": "The Spectrum color stops to apply to content scoped by this `sp-theme` element.\n\nA value is requried.",
352
+ "fieldName": "color"
340
353
  },
341
354
  {
342
- "name": "scale"
355
+ "name": "scale",
356
+ "type": {
357
+ "text": "\"medium\" | \"large\" | \"\""
358
+ },
359
+ "description": "The Spectrum platform scale to apply to content scoped by this `sp-theme` element.\n\nA value is requried.",
360
+ "fieldName": "scale"
343
361
  },
344
362
  {
345
- "name": "theme"
363
+ "name": "theme",
364
+ "type": {
365
+ "text": "\"spectrum\" | \"express\" | \"\""
366
+ },
367
+ "description": "The Spectrum theme that is applied to the content scoped to this `sp-theme` element.\n\nA value is requried.",
368
+ "fieldName": "theme"
346
369
  },
347
370
  {
348
- "name": "lang"
371
+ "name": "lang",
372
+ "type": {
373
+ "text": "string"
374
+ },
375
+ "description": "The language of the content scoped to this `sp-theme` element, see: <a href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Global_attributes/lang\" target=\"_blank\">MDN reference</a>.",
376
+ "default": "\"\""
349
377
  },
350
378
  {
351
- "name": "dir"
379
+ "name": "dir",
380
+ "type": {
381
+ "text": "\"ltr\" | \"rtl\" | \"\""
382
+ },
383
+ "description": "Reading direction of the content scoped to this `sp-theme` element.",
384
+ "fieldName": "dir"
352
385
  }
353
386
  ],
354
387
  "superclass": {
@@ -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
+ }