@carbon/themes 11.55.0-rc.0 → 11.56.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 +1818 -1798
- package/lib/index.js +1903 -1889
- package/package.json +6 -6
- package/src/tokens/Token.js +2 -1
- package/umd/index.js +1903 -1889
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": "11.
|
|
4
|
+
"version": "11.56.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -32,16 +32,16 @@
|
|
|
32
32
|
"postinstall": "ibmtelemetry --config=telemetry.yml"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@carbon/colors": "^11.
|
|
36
|
-
"@carbon/layout": "^11.
|
|
37
|
-
"@carbon/type": "^11.
|
|
35
|
+
"@carbon/colors": "^11.36.0",
|
|
36
|
+
"@carbon/layout": "^11.37.0",
|
|
37
|
+
"@carbon/type": "^11.43.0",
|
|
38
38
|
"@ibm/telemetry-js": "^1.5.0",
|
|
39
39
|
"color": "^4.0.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@babel/node": "^7.27.1",
|
|
43
43
|
"@babel/preset-env": "^7.27.2",
|
|
44
|
-
"@carbon/cli": "^11.
|
|
44
|
+
"@carbon/cli": "^11.30.0",
|
|
45
45
|
"@carbon/cli-reporter": "^10.7.0",
|
|
46
46
|
"@carbon/scss-generator": "^10.19.0",
|
|
47
47
|
"@carbon/test-utils": "^10.36.0",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"rimraf": "^6.0.0"
|
|
53
53
|
},
|
|
54
54
|
"sideEffects": false,
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "cb7123ed19a2c216e5b9774e58c12af68407abd3"
|
|
56
56
|
}
|
package/src/tokens/Token.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Copyright IBM Corp. 2018,
|
|
2
|
+
* Copyright IBM Corp. 2018, 2025
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
5
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -10,6 +10,7 @@
|
|
|
10
10
|
* that it applies to like border or background, along with a state if the
|
|
11
11
|
* token should only be used for specific states like hover or focus.
|
|
12
12
|
*/
|
|
13
|
+
// eslint-disable-next-line @typescript-eslint/no-extraneous-class
|
|
13
14
|
export class Token {
|
|
14
15
|
static create(token) {
|
|
15
16
|
if (typeof token === 'string') {
|