@carbon/themes 10.5.0-alpha.5613 → 10.5.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.
package/es/index.js CHANGED
@@ -714,6 +714,16 @@ function formatTokenName(token) {
714
714
  var tokens = {
715
715
  colors: colors
716
716
  };
717
+ var unstable__meta = {
718
+ colors: [{
719
+ type: 'core',
720
+ tokens: ['uiBackground', 'interactive01', 'interactive02', 'interactive03', 'interactive04', 'brand01', 'brand02', 'brand03', 'ui01', 'ui02', 'ui03', 'ui04', 'ui05', 'text01', 'text02', 'text03', 'text04', 'link01', 'icon01', 'icon02', 'icon03', 'field01', 'field02', 'inverse01', 'inverse02', 'inverseLink', 'support01', 'support02', 'support03', 'support04', 'inverseSupport01', 'inverseSupport02', 'inverseSupport03', 'inverseSupport04', 'overlay01']
721
+ }, {
722
+ type: 'interactive',
723
+ tokens: ['focus', 'hoverPrimary', 'hoverPrimaryText', 'hoverSecondary', 'hoverTertiary', 'hoverUI', 'hoverSelectedUI', 'hoverDanger', 'hoverRow', 'activePrimary', 'activeSecondary', 'activeTertiary', 'activeUI', 'activeDanger', 'selectedUI', 'highlight', 'skeleton01', 'skeleton02', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'inverseHoverUI', 'active01', 'hoverField']
724
+ }],
725
+ deprecated: ['brand01', 'brand02', 'brand03', 'active01']
726
+ };
717
727
 
718
728
  /**
719
729
  * Copyright IBM Corp. 2018, 2018
@@ -729,4 +739,4 @@ var themes = {
729
739
  v9: v9
730
740
  };
731
741
 
732
- export { g10, g90, g100, white$1 as white, v9, tokens, formatTokenName, themes, interactive01, interactive02, interactive03, interactive04, uiBackground, ui01, ui02, ui03, ui04, ui05, text01, text02, text03, text04, icon01, icon02, icon03, link01, inverseLink, field01, field02, inverse01, inverse02, support01, support02, support03, support04, inverseSupport01, inverseSupport02, inverseSupport03, inverseSupport04, overlay01, focus, hoverPrimary, activePrimary, hoverPrimaryText, hoverSecondary, activeSecondary, hoverTertiary, activeTertiary, hoverUI, activeUI, selectedUI, inverseHoverUI, hoverSelectedUI, hoverDanger, activeDanger, hoverRow, visitedLink, disabled01, disabled02, disabled03, highlight, skeleton01, skeleton02, brand01, brand02, brand03, active01, hoverField };
742
+ export { g10, g90, g100, white$1 as white, v9, tokens, formatTokenName, unstable__meta, themes, interactive01, interactive02, interactive03, interactive04, uiBackground, ui01, ui02, ui03, ui04, ui05, text01, text02, text03, text04, icon01, icon02, icon03, link01, inverseLink, field01, field02, inverse01, inverse02, support01, support02, support03, support04, inverseSupport01, inverseSupport02, inverseSupport03, inverseSupport04, overlay01, focus, hoverPrimary, activePrimary, hoverPrimaryText, hoverSecondary, activeSecondary, hoverTertiary, activeTertiary, hoverUI, activeUI, selectedUI, inverseHoverUI, hoverSelectedUI, hoverDanger, activeDanger, hoverRow, visitedLink, disabled01, disabled02, disabled03, highlight, skeleton01, skeleton02, brand01, brand02, brand03, active01, hoverField };
package/lib/index.js CHANGED
@@ -718,6 +718,16 @@ function formatTokenName(token) {
718
718
  var tokens = {
719
719
  colors: colors$1
720
720
  };
721
+ var unstable__meta = {
722
+ colors: [{
723
+ type: 'core',
724
+ tokens: ['uiBackground', 'interactive01', 'interactive02', 'interactive03', 'interactive04', 'brand01', 'brand02', 'brand03', 'ui01', 'ui02', 'ui03', 'ui04', 'ui05', 'text01', 'text02', 'text03', 'text04', 'link01', 'icon01', 'icon02', 'icon03', 'field01', 'field02', 'inverse01', 'inverse02', 'inverseLink', 'support01', 'support02', 'support03', 'support04', 'inverseSupport01', 'inverseSupport02', 'inverseSupport03', 'inverseSupport04', 'overlay01']
725
+ }, {
726
+ type: 'interactive',
727
+ tokens: ['focus', 'hoverPrimary', 'hoverPrimaryText', 'hoverSecondary', 'hoverTertiary', 'hoverUI', 'hoverSelectedUI', 'hoverDanger', 'hoverRow', 'activePrimary', 'activeSecondary', 'activeTertiary', 'activeUI', 'activeDanger', 'selectedUI', 'highlight', 'skeleton01', 'skeleton02', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'inverseHoverUI', 'active01', 'hoverField']
728
+ }],
729
+ deprecated: ['brand01', 'brand02', 'brand03', 'active01']
730
+ };
721
731
 
722
732
  /**
723
733
  * Copyright IBM Corp. 2018, 2018
@@ -740,6 +750,7 @@ exports.white = white;
740
750
  exports.v9 = v9;
741
751
  exports.tokens = tokens;
742
752
  exports.formatTokenName = formatTokenName;
753
+ exports.unstable__meta = unstable__meta;
743
754
  exports.themes = themes;
744
755
  exports.interactive01 = interactive01;
745
756
  exports.interactive02 = interactive02;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/themes",
3
3
  "description": "Themes for applying color in the Carbon Design System",
4
- "version": "10.5.0-alpha.5613+5c4a25e91",
4
+ "version": "10.5.0",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -24,12 +24,12 @@
24
24
  "build": "yarn clean && bundler bundle src/index.js --name CarbonThemes && node tasks/build.js && bundler check \"scss/*.scss\" && bundler sassdoc \"scss/*.scss\""
25
25
  },
26
26
  "dependencies": {
27
- "@carbon/colors": "^10.4.0-alpha.5613+5c4a25e91"
27
+ "@carbon/colors": "10.4.0"
28
28
  },
29
29
  "devDependencies": {
30
- "@carbon/cli-reporter": "^10.3.0",
31
- "@carbon/scss-generator": "^10.3.0",
32
- "@carbon/test-utils": "^10.3.0",
30
+ "@carbon/cli-reporter": "10.3.0",
31
+ "@carbon/scss-generator": "10.3.0",
32
+ "@carbon/test-utils": "10.3.0",
33
33
  "change-case": "^3.0.2",
34
34
  "core-js": "^3.0.1",
35
35
  "fs-extra": "^7.0.1",
@@ -37,5 +37,5 @@
37
37
  "node-sass": "^4.11.0",
38
38
  "rimraf": "^2.6.3"
39
39
  },
40
- "gitHead": "5c4a25e9107cc91af7383cb74139d9680891d289"
40
+ "gitHead": "99fd2683b9bc303f704bad86d229d1e364ac68d2"
41
41
  }
package/src/index.js CHANGED
@@ -12,10 +12,10 @@ import * as g100 from './g100';
12
12
  import * as white from './white';
13
13
  import * as g90 from './g90';
14
14
  import * as v9 from './v9';
15
- import { tokens, formatTokenName } from './tokens';
15
+ import { tokens, formatTokenName, unstable__meta } from './tokens';
16
16
 
17
17
  export { g10, g90, g100, white, v9 };
18
- export { tokens, formatTokenName };
18
+ export { tokens, formatTokenName, unstable__meta };
19
19
  export const themes = {
20
20
  white,
21
21
  g10,
package/src/tokens.js CHANGED
@@ -140,3 +140,79 @@ export function formatTokenName(token) {
140
140
  export const tokens = {
141
141
  colors,
142
142
  };
143
+
144
+ export const unstable__meta = {
145
+ colors: [
146
+ {
147
+ type: 'core',
148
+ tokens: [
149
+ 'uiBackground',
150
+ 'interactive01',
151
+ 'interactive02',
152
+ 'interactive03',
153
+ 'interactive04',
154
+ 'brand01',
155
+ 'brand02',
156
+ 'brand03',
157
+ 'ui01',
158
+ 'ui02',
159
+ 'ui03',
160
+ 'ui04',
161
+ 'ui05',
162
+ 'text01',
163
+ 'text02',
164
+ 'text03',
165
+ 'text04',
166
+ 'link01',
167
+ 'icon01',
168
+ 'icon02',
169
+ 'icon03',
170
+ 'field01',
171
+ 'field02',
172
+ 'inverse01',
173
+ 'inverse02',
174
+ 'inverseLink',
175
+ 'support01',
176
+ 'support02',
177
+ 'support03',
178
+ 'support04',
179
+ 'inverseSupport01',
180
+ 'inverseSupport02',
181
+ 'inverseSupport03',
182
+ 'inverseSupport04',
183
+ 'overlay01',
184
+ ],
185
+ },
186
+ {
187
+ type: 'interactive',
188
+ tokens: [
189
+ 'focus',
190
+ 'hoverPrimary',
191
+ 'hoverPrimaryText',
192
+ 'hoverSecondary',
193
+ 'hoverTertiary',
194
+ 'hoverUI',
195
+ 'hoverSelectedUI',
196
+ 'hoverDanger',
197
+ 'hoverRow',
198
+ 'activePrimary',
199
+ 'activeSecondary',
200
+ 'activeTertiary',
201
+ 'activeUI',
202
+ 'activeDanger',
203
+ 'selectedUI',
204
+ 'highlight',
205
+ 'skeleton01',
206
+ 'skeleton02',
207
+ 'visitedLink',
208
+ 'disabled01',
209
+ 'disabled02',
210
+ 'disabled03',
211
+ 'inverseHoverUI',
212
+ 'active01',
213
+ 'hoverField',
214
+ ],
215
+ },
216
+ ],
217
+ deprecated: ['brand01', 'brand02', 'brand03', 'active01'],
218
+ };
package/umd/index.js CHANGED
@@ -718,6 +718,16 @@
718
718
  var tokens = {
719
719
  colors: colors$1
720
720
  };
721
+ var unstable__meta = {
722
+ colors: [{
723
+ type: 'core',
724
+ tokens: ['uiBackground', 'interactive01', 'interactive02', 'interactive03', 'interactive04', 'brand01', 'brand02', 'brand03', 'ui01', 'ui02', 'ui03', 'ui04', 'ui05', 'text01', 'text02', 'text03', 'text04', 'link01', 'icon01', 'icon02', 'icon03', 'field01', 'field02', 'inverse01', 'inverse02', 'inverseLink', 'support01', 'support02', 'support03', 'support04', 'inverseSupport01', 'inverseSupport02', 'inverseSupport03', 'inverseSupport04', 'overlay01']
725
+ }, {
726
+ type: 'interactive',
727
+ tokens: ['focus', 'hoverPrimary', 'hoverPrimaryText', 'hoverSecondary', 'hoverTertiary', 'hoverUI', 'hoverSelectedUI', 'hoverDanger', 'hoverRow', 'activePrimary', 'activeSecondary', 'activeTertiary', 'activeUI', 'activeDanger', 'selectedUI', 'highlight', 'skeleton01', 'skeleton02', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'inverseHoverUI', 'active01', 'hoverField']
728
+ }],
729
+ deprecated: ['brand01', 'brand02', 'brand03', 'active01']
730
+ };
721
731
 
722
732
  /**
723
733
  * Copyright IBM Corp. 2018, 2018
@@ -740,6 +750,7 @@
740
750
  exports.v9 = v9;
741
751
  exports.tokens = tokens;
742
752
  exports.formatTokenName = formatTokenName;
753
+ exports.unstable__meta = unstable__meta;
743
754
  exports.themes = themes;
744
755
  exports.interactive01 = interactive01;
745
756
  exports.interactive02 = interactive02;