@spectrum-web-components/styles 1.1.0-beta.9 → 1.1.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/package.json +19 -23
  2. package/src/body-overrides.css +1 -1
  3. package/src/code-overrides.css +1 -1
  4. package/src/detail-overrides.css +1 -1
  5. package/src/heading-overrides.css +1 -1
  6. package/tokens/express/custom-dark-vars.css +1 -0
  7. package/tokens/express/custom-darkest-vars.css +1 -0
  8. package/tokens/express/custom-large-vars.css +1 -0
  9. package/tokens/express/custom-light-vars.css +1 -0
  10. package/tokens/express/custom-medium-vars.css +1 -0
  11. package/tokens/express/custom-vars.css +1 -0
  12. package/tokens/express/dark-vars.css +0 -1
  13. package/tokens/express/darkest-vars.css +0 -1
  14. package/tokens/express/global-vars.css +0 -7235
  15. package/tokens/express/index.css +213 -0
  16. package/tokens/express/large-vars.css +0 -3
  17. package/tokens/express/light-vars.css +0 -1
  18. package/tokens/express/medium-vars.css +0 -3
  19. package/tokens/express/system-theme-bridge.css +6904 -0
  20. package/tokens/global-vars.css +2 -2
  21. package/tokens/index.css +2266 -1248
  22. package/tokens/spectrum/custom-dark-vars.css +1 -0
  23. package/tokens/spectrum/custom-darkest-vars.css +1 -0
  24. package/tokens/spectrum/custom-large-vars.css +1 -0
  25. package/tokens/spectrum/custom-light-vars.css +1 -0
  26. package/tokens/spectrum/custom-medium-vars.css +1 -0
  27. package/tokens/spectrum/custom-vars.css +1 -0
  28. package/tokens/spectrum/dark-vars.css +13 -10
  29. package/tokens/spectrum/darkest-vars.css +13 -10
  30. package/tokens/spectrum/global-vars.css +24 -7258
  31. package/tokens/spectrum/index.css +708 -0
  32. package/tokens/spectrum/large-vars.css +1 -20
  33. package/tokens/spectrum/light-vars.css +14 -11
  34. package/tokens/spectrum/medium-vars.css +1 -19
  35. package/tokens/spectrum/system-theme-bridge.css +6910 -0
  36. package/tokens-v2/dark-vars.css +0 -10
  37. package/tokens-v2/global-vars.css +16 -24
  38. package/tokens-v2/index.css +16 -88
  39. package/tokens-v2/large-vars.css +0 -20
  40. package/tokens-v2/light-vars.css +0 -10
  41. package/tokens-v2/medium-vars.css +0 -20
  42. package/tokens-v2/spectrum/custom-dark-vars.css +1 -0
  43. package/tokens-v2/spectrum/custom-darkest-vars.css +1 -0
  44. package/tokens-v2/spectrum/custom-large-vars.css +1 -0
  45. package/tokens-v2/spectrum/custom-light-vars.css +1 -0
  46. package/tokens-v2/spectrum/custom-medium-vars.css +1 -0
  47. package/tokens-v2/spectrum/custom-vars.css +1 -0
  48. package/tokens-v2/{spectrum/global-vars.css → system-theme-bridge.css} +348 -672
  49. package/body.d.ts +0 -2
  50. package/body.dev.js +0 -17
  51. package/body.dev.js.map +0 -7
  52. package/body.js +0 -8
  53. package/body.js.map +0 -7
  54. package/code.d.ts +0 -2
  55. package/code.dev.js +0 -17
  56. package/code.dev.js.map +0 -7
  57. package/code.js +0 -8
  58. package/code.js.map +0 -7
  59. package/detail.d.ts +0 -2
  60. package/detail.dev.js +0 -17
  61. package/detail.dev.js.map +0 -7
  62. package/detail.js +0 -8
  63. package/detail.js.map +0 -7
  64. package/heading.d.ts +0 -2
  65. package/heading.dev.js +0 -17
  66. package/heading.dev.js.map +0 -7
  67. package/heading.js +0 -8
  68. package/heading.js.map +0 -7
  69. package/spectrum-two/themes.dev.js +0 -6
  70. package/spectrum-two/themes.dev.js.map +0 -7
  71. package/spectrum-two/themes.js +0 -2
  72. package/spectrum-two/themes.js.map +0 -7
  73. package/src/body-overrides.css.d.ts +0 -2
  74. package/src/body-overrides.css.dev.js +0 -7
  75. package/src/body-overrides.css.dev.js.map +0 -7
  76. package/src/body-overrides.css.js +0 -4
  77. package/src/body-overrides.css.js.map +0 -7
  78. package/src/code-overrides.css.d.ts +0 -2
  79. package/src/code-overrides.css.dev.js +0 -7
  80. package/src/code-overrides.css.dev.js.map +0 -7
  81. package/src/code-overrides.css.js +0 -4
  82. package/src/code-overrides.css.js.map +0 -7
  83. package/src/detail-overrides.css.d.ts +0 -2
  84. package/src/detail-overrides.css.dev.js +0 -7
  85. package/src/detail-overrides.css.dev.js.map +0 -7
  86. package/src/detail-overrides.css.js +0 -4
  87. package/src/detail-overrides.css.js.map +0 -7
  88. package/src/heading-overrides.css.d.ts +0 -2
  89. package/src/heading-overrides.css.dev.js +0 -7
  90. package/src/heading-overrides.css.dev.js.map +0 -7
  91. package/src/heading-overrides.css.js +0 -4
  92. package/src/heading-overrides.css.js.map +0 -7
  93. package/src/lang-overrides.css.d.ts +0 -2
  94. package/src/lang-overrides.css.dev.js +0 -7
  95. package/src/lang-overrides.css.dev.js.map +0 -7
  96. package/src/lang-overrides.css.js +0 -4
  97. package/src/lang-overrides.css.js.map +0 -7
  98. package/src/spectrum-base.css.d.ts +0 -2
  99. package/src/spectrum-base.css.dev.js +0 -7
  100. package/src/spectrum-base.css.dev.js.map +0 -7
  101. package/src/spectrum-base.css.js +0 -4
  102. package/src/spectrum-base.css.js.map +0 -7
  103. package/src/spectrum-body.css.d.ts +0 -2
  104. package/src/spectrum-body.css.dev.js +0 -7
  105. package/src/spectrum-body.css.dev.js.map +0 -7
  106. package/src/spectrum-body.css.js +0 -4
  107. package/src/spectrum-body.css.js.map +0 -7
  108. package/src/spectrum-code.css.d.ts +0 -2
  109. package/src/spectrum-code.css.dev.js +0 -7
  110. package/src/spectrum-code.css.dev.js.map +0 -7
  111. package/src/spectrum-code.css.js +0 -4
  112. package/src/spectrum-code.css.js.map +0 -7
  113. package/src/spectrum-detail.css.d.ts +0 -2
  114. package/src/spectrum-detail.css.dev.js +0 -7
  115. package/src/spectrum-detail.css.dev.js.map +0 -7
  116. package/src/spectrum-detail.css.js +0 -4
  117. package/src/spectrum-detail.css.js.map +0 -7
  118. package/src/spectrum-heading.css.d.ts +0 -2
  119. package/src/spectrum-heading.css.dev.js +0 -7
  120. package/src/spectrum-heading.css.dev.js.map +0 -7
  121. package/src/spectrum-heading.css.js +0 -4
  122. package/src/spectrum-heading.css.js.map +0 -7
  123. package/src/spectrum-lang.css.d.ts +0 -2
  124. package/src/spectrum-lang.css.dev.js +0 -7
  125. package/src/spectrum-lang.css.dev.js.map +0 -7
  126. package/src/spectrum-lang.css.js +0 -4
  127. package/src/spectrum-lang.css.js.map +0 -7
  128. package/src/spectrum-typography.css.d.ts +0 -2
  129. package/src/spectrum-typography.css.dev.js +0 -7
  130. package/src/spectrum-typography.css.dev.js.map +0 -7
  131. package/src/spectrum-typography.css.js +0 -4
  132. package/src/spectrum-typography.css.js.map +0 -7
  133. package/stories/styles.stories.js +0 -45
  134. package/stories/styles.stories.js.map +0 -7
  135. package/test/styles.test-vrt.js +0 -5
  136. package/test/styles.test-vrt.js.map +0 -7
  137. package/typography.d.ts +0 -2
  138. package/typography.dev.js +0 -4
  139. package/typography.dev.js.map +0 -7
  140. package/typography.js +0 -2
  141. package/typography.js.map +0 -7
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/styles",
3
- "version": "1.1.0-beta.9",
3
+ "version": "1.1.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -82,23 +82,19 @@
82
82
  "./src/spectrum-lang.css": "./src/spectrum-lang.css",
83
83
  "./src/lang-overrides.css": "./src/lang-overrides.css",
84
84
  "./src/spectrum-typography.css": "./src/spectrum-typography.css",
85
- "./tokens/express/custom-large-vars.css": "./tokens/express/custom-large-vars.css",
86
- "./tokens/express/custom-medium-vars.css": "./tokens/express/custom-medium-vars.css",
87
- "./tokens/express/custom-vars.css": "./tokens/express/custom-vars.css",
88
- "./tokens/express/global-vars.css": "./tokens/express/global-vars.css",
89
- "./tokens/express/large-vars.css": "./tokens/express/large-vars.css",
90
- "./tokens/express/medium-vars.css": "./tokens/express/medium-vars.css",
91
- "./tokens/spectrum/custom-large-vars.css": "./tokens/spectrum/custom-large-vars.css",
92
- "./tokens/spectrum/custom-medium-vars.css": "./tokens/spectrum/custom-medium-vars.css",
93
- "./tokens/spectrum/custom-vars.css": "./tokens/spectrum/custom-vars.css",
94
- "./tokens/spectrum/global-vars.css": "./tokens/spectrum/global-vars.css",
95
- "./tokens/spectrum/large-vars.css": "./tokens/spectrum/large-vars.css",
96
- "./tokens/spectrum/medium-vars.css": "./tokens/spectrum/medium-vars.css",
97
- "./tokens-v2/spectrum/custom-large-vars.css": "./tokens-v2/spectrum/custom-large-vars.css",
98
- "./tokens-v2/spectrum/custom-medium-vars.css": "./tokens-v2/spectrum/custom-medium-vars.css",
99
- "./tokens-v2/spectrum/custom-vars.css": "./tokens-v2/spectrum/custom-vars.css",
100
- "./tokens-v2/spectrum/custom-dark-vars.css": "./tokens-v2/spectrum/custom-dark-vars.css",
101
- "./tokens-v2/spectrum/custom-light-vars.css": "./tokens-v2/spectrum/custom-light-vars.css"
85
+ "./tokens/*": "./tokens/*",
86
+ "./tokens-v2/*": "./tokens-v2/*",
87
+ "./tokens/express/custom-large-vars.css": "./tokens/express/large-vars.css",
88
+ "./tokens/express/custom-medium-vars.css": "./tokens/express/medium-vars.css",
89
+ "./tokens/express/custom-vars.css": "./tokens/express/global-vars.css",
90
+ "./tokens/spectrum/custom-large-vars.css": "./tokens/spectrum/large-vars.css",
91
+ "./tokens/spectrum/custom-medium-vars.css": "./tokens/spectrum/medium-vars.css",
92
+ "./tokens/spectrum/custom-vars.css": "./tokens/spectrum/global-vars.css",
93
+ "./tokens-v2/spectrum/custom-large-vars.css": "./tokens-v2/large-vars.css",
94
+ "./tokens-v2/spectrum/custom-medium-vars.css": "./tokens-v2/medium-vars.css",
95
+ "./tokens-v2/spectrum/custom-vars.css": "./tokens-v2/global-vars.css",
96
+ "./tokens-v2/spectrum/custom-dark-vars.css": "./tokens-v2/dark-vars.css",
97
+ "./tokens-v2/spectrum/custom-light-vars.css": "./tokens-v2/light-vars.css"
102
98
  },
103
99
  "scripts": {
104
100
  "test": "echo \"Error: run tests from mono-repo root.\" && exit 1"
@@ -119,14 +115,14 @@
119
115
  "lit-html"
120
116
  ],
121
117
  "dependencies": {
122
- "@spectrum-web-components/base": "^1.1.0-beta.9"
118
+ "@spectrum-web-components/base": "^1.1.0",
119
+ "lit": "^2.5.0 || ^3.1.3"
123
120
  },
124
121
  "devDependencies": {
125
- "@spectrum-css/commons": "^11.0.0-s2-foundations.15",
126
122
  "@spectrum-css/expressvars": "^3.0.9",
127
- "@spectrum-css/tokens": "^@spectrum-css/tokens@14.3.1",
123
+ "@spectrum-css/tokens": "15.0.0",
128
124
  "@spectrum-css/tokens-v2": "npm:@spectrum-css/tokens@15.0.0-s2-foundations.27",
129
- "@spectrum-css/typography": "^7.0.0-s2-foundations.17",
125
+ "@spectrum-css/typography": "7.0.0-s2-foundations.17",
130
126
  "@spectrum-css/vars": "^9.0.8"
131
127
  },
132
128
  "customElements": "custom-elements.json",
@@ -134,5 +130,5 @@
134
130
  "./**/*.css"
135
131
  ],
136
132
  "style": "all-medium-lightest.css",
137
- "gitHead": "56bdfbc0a26b76ff7c3ee454478d5ebd2a4d33dc"
133
+ "gitHead": "e3c6e52501451acc6fa85b10dd718267b80a01ab"
138
134
  }
@@ -3,7 +3,7 @@
3
3
  This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
4
  you may not use this file except in compliance with the License. You may obtain a copy
5
5
  of the License at http://www.apache.org/licenses/LICENSE-2.0
6
-
6
+
7
7
  Unless required by applicable law or agreed to in writing, software distributed under
8
8
  the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
9
  OF ANY KIND, either express or implied. See the License for the specific language
@@ -3,7 +3,7 @@
3
3
  This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
4
  you may not use this file except in compliance with the License. You may obtain a copy
5
5
  of the License at http://www.apache.org/licenses/LICENSE-2.0
6
-
6
+
7
7
  Unless required by applicable law or agreed to in writing, software distributed under
8
8
  the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
9
  OF ANY KIND, either express or implied. See the License for the specific language
@@ -3,7 +3,7 @@
3
3
  This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
4
  you may not use this file except in compliance with the License. You may obtain a copy
5
5
  of the License at http://www.apache.org/licenses/LICENSE-2.0
6
-
6
+
7
7
  Unless required by applicable law or agreed to in writing, software distributed under
8
8
  the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
9
  OF ANY KIND, either express or implied. See the License for the specific language
@@ -3,7 +3,7 @@
3
3
  This file is licensed to you under the Apache License, Version 2.0 (the "License");
4
4
  you may not use this file except in compliance with the License. You may obtain a copy
5
5
  of the License at http://www.apache.org/licenses/LICENSE-2.0
6
-
6
+
7
7
  Unless required by applicable law or agreed to in writing, software distributed under
8
8
  the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
9
9
  OF ANY KIND, either express or implied. See the License for the specific language
@@ -1,3 +1,4 @@
1
+ /* @deprecated these assets should not be used; the custom override values exist in express/dark-vars.css */
1
2
  :host,
2
3
  :root {
3
4
  --spectrum-drop-zone-background-color-rgb: var(--spectrum-indigo-900-rgb);
@@ -1,3 +1,4 @@
1
+ /* @deprecated these assets should not be used; the custom override values exist in express/darkest-vars.css */
1
2
  :host,
2
3
  :root {
3
4
  --spectrum-drop-zone-background-color-rgb: var(--spectrum-indigo-900-rgb);
@@ -1,3 +1,4 @@
1
+ /* @deprecated these assets should not be used; the custom override values exist in express/large-vars.css */
1
2
  :host,
2
3
  :root {
3
4
  --spectrum-colorwheel-path: 'M 118 118 m -118 0 a 118 118 0 1 0 236 0 a 118 118 0 1 0 -236 0.2 M 118 118 m -92 0 a 92 92 0 1 0 184 0 a 92 92 0 1 0 -184 0';
@@ -1,3 +1,4 @@
1
+ /* @deprecated these assets should not be used; the custom override values exist in express/light-vars.css */
1
2
  :host,
2
3
  :root {
3
4
  --spectrum-drop-zone-background-color-rgb: var(--spectrum-indigo-800-rgb);
@@ -1,3 +1,4 @@
1
+ /* @deprecated these assets should not be used; the custom override values exist in express/medium-vars.css */
1
2
  :host,
2
3
  :root {
3
4
  --spectrum-colorwheel-path: 'M 94 94 m -94 0 a 94 94 0 1 0 188 0 a 94 94 0 1 0 -188 0.2 M 94 94 m -74 0 a 74 74 0 1 0 148 0 a 74 74 0 1 0 -148 0';
@@ -1,3 +1,4 @@
1
+ /* @deprecated these assets should not be used; the custom override values exist in express/global-vars.css */
1
2
  :host,
2
3
  :root {
3
4
  --system: express;
@@ -2,7 +2,6 @@
2
2
  :root {
3
3
  --spectrum-drop-zone-background-color-rgb: var(--spectrum-indigo-900-rgb);
4
4
  --spectrum-well-border-color: rgba(var(--spectrum-white-rgb), 0.05);
5
-
6
5
  --spectrum-assetcard-border-color-selected: var(--spectrum-indigo-700);
7
6
  --spectrum-assetcard-border-color-selected-hover: var(
8
7
  --spectrum-indigo-700
@@ -2,7 +2,6 @@
2
2
  :root {
3
3
  --spectrum-drop-zone-background-color-rgb: var(--spectrum-indigo-900-rgb);
4
4
  --spectrum-well-border-color: rgba(var(--spectrum-white-rgb), 0.05);
5
-
6
5
  --spectrum-assetcard-border-color-selected: var(--spectrum-indigo-700);
7
6
  --spectrum-assetcard-border-color-selected-hover: var(
8
7
  --spectrum-indigo-700