@carbon/themes 11.58.0-rc.0 → 11.58.0-rc.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.
- package/es/index.js +9 -11
- package/lib/index.js +9 -11
- package/package.json +9 -9
- package/src/tokens/TokenGroup.js +3 -1
- package/umd/index.js +9 -11
package/es/index.js
CHANGED
|
@@ -146,7 +146,7 @@ function _regenerator() {
|
|
|
146
146
|
i = p[t],
|
|
147
147
|
d = G.p,
|
|
148
148
|
l = i[2];
|
|
149
|
-
r > 3 ? (o = l === n) && (
|
|
149
|
+
r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
|
|
150
150
|
}
|
|
151
151
|
if (o || r > 1) return a;
|
|
152
152
|
throw y = true, n;
|
|
@@ -247,19 +247,17 @@ function _regeneratorDefine(e, r, n, t) {
|
|
|
247
247
|
i = 0;
|
|
248
248
|
}
|
|
249
249
|
_regeneratorDefine = function (e, r, n, t) {
|
|
250
|
-
|
|
250
|
+
function o(r, n) {
|
|
251
|
+
_regeneratorDefine(e, r, function (e) {
|
|
252
|
+
return this._invoke(r, n, e);
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
r ? i ? i(e, r, {
|
|
251
256
|
value: n,
|
|
252
257
|
enumerable: !t,
|
|
253
258
|
configurable: !t,
|
|
254
259
|
writable: !t
|
|
255
|
-
}) : e[r] = n;
|
|
256
|
-
function o(r, n) {
|
|
257
|
-
_regeneratorDefine(e, r, function (e) {
|
|
258
|
-
return this._invoke(r, n, e);
|
|
259
|
-
});
|
|
260
|
-
}
|
|
261
|
-
o("next", 0), o("throw", 1), o("return", 2);
|
|
262
|
-
}
|
|
260
|
+
}) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
|
|
263
261
|
}, _regeneratorDefine(e, r, n, t);
|
|
264
262
|
}
|
|
265
263
|
function _regeneratorKeys(e) {
|
|
@@ -4911,7 +4909,7 @@ var TokenGroup = /*#__PURE__*/function () {
|
|
|
4911
4909
|
value: function getTokens() {
|
|
4912
4910
|
var parentContext = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
4913
4911
|
var context = _objectSpread2(_objectSpread2({}, parentContext), {}, {
|
|
4914
|
-
groups: parentContext.groups ? parentContext.groups.concat(this) : [this],
|
|
4912
|
+
groups: parentContext.groups ? parentContext.groups.concat(this.name) : [this.name],
|
|
4915
4913
|
properties: this.properties || parentContext.properties
|
|
4916
4914
|
});
|
|
4917
4915
|
return this.children.flatMap(function (child) {
|
package/lib/index.js
CHANGED
|
@@ -146,7 +146,7 @@ function _regenerator() {
|
|
|
146
146
|
i = p[t],
|
|
147
147
|
d = G.p,
|
|
148
148
|
l = i[2];
|
|
149
|
-
r > 3 ? (o = l === n) && (
|
|
149
|
+
r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
|
|
150
150
|
}
|
|
151
151
|
if (o || r > 1) return a;
|
|
152
152
|
throw y = true, n;
|
|
@@ -247,19 +247,17 @@ function _regeneratorDefine(e, r, n, t) {
|
|
|
247
247
|
i = 0;
|
|
248
248
|
}
|
|
249
249
|
_regeneratorDefine = function (e, r, n, t) {
|
|
250
|
-
|
|
250
|
+
function o(r, n) {
|
|
251
|
+
_regeneratorDefine(e, r, function (e) {
|
|
252
|
+
return this._invoke(r, n, e);
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
r ? i ? i(e, r, {
|
|
251
256
|
value: n,
|
|
252
257
|
enumerable: !t,
|
|
253
258
|
configurable: !t,
|
|
254
259
|
writable: !t
|
|
255
|
-
}) : e[r] = n;
|
|
256
|
-
function o(r, n) {
|
|
257
|
-
_regeneratorDefine(e, r, function (e) {
|
|
258
|
-
return this._invoke(r, n, e);
|
|
259
|
-
});
|
|
260
|
-
}
|
|
261
|
-
o("next", 0), o("throw", 1), o("return", 2);
|
|
262
|
-
}
|
|
260
|
+
}) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
|
|
263
261
|
}, _regeneratorDefine(e, r, n, t);
|
|
264
262
|
}
|
|
265
263
|
function _regeneratorKeys(e) {
|
|
@@ -4911,7 +4909,7 @@ var TokenGroup = /*#__PURE__*/function () {
|
|
|
4911
4909
|
value: function getTokens() {
|
|
4912
4910
|
var parentContext = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
4913
4911
|
var context = _objectSpread2(_objectSpread2({}, parentContext), {}, {
|
|
4914
|
-
groups: parentContext.groups ? parentContext.groups.concat(this) : [this],
|
|
4912
|
+
groups: parentContext.groups ? parentContext.groups.concat(this.name) : [this.name],
|
|
4915
4913
|
properties: this.properties || parentContext.properties
|
|
4916
4914
|
});
|
|
4917
4915
|
return this.children.flatMap(function (child) {
|
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.58.0-rc.
|
|
4
|
+
"version": "11.58.0-rc.1",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -32,19 +32,19 @@
|
|
|
32
32
|
"postinstall": "ibmtelemetry --config=telemetry.yml"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@carbon/colors": "^11.38.0-rc.
|
|
36
|
-
"@carbon/layout": "^11.39.0-rc.
|
|
37
|
-
"@carbon/type": "^11.45.0-rc.
|
|
35
|
+
"@carbon/colors": "^11.38.0-rc.1",
|
|
36
|
+
"@carbon/layout": "^11.39.0-rc.1",
|
|
37
|
+
"@carbon/type": "^11.45.0-rc.1",
|
|
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.32.0-rc.
|
|
45
|
-
"@carbon/cli-reporter": "^10.7.0",
|
|
46
|
-
"@carbon/scss-generator": "^10.19.0",
|
|
47
|
-
"@carbon/test-utils": "^10.36.0",
|
|
44
|
+
"@carbon/cli": "^11.32.0-rc.1",
|
|
45
|
+
"@carbon/cli-reporter": "^10.7.1-rc.0",
|
|
46
|
+
"@carbon/scss-generator": "^10.19.1-rc.0",
|
|
47
|
+
"@carbon/test-utils": "^10.36.1-rc.0",
|
|
48
48
|
"change-case": "^4.1.1",
|
|
49
49
|
"core-js": "^3.16.0",
|
|
50
50
|
"fs-extra": "^11.0.0",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"rimraf": "^6.0.0"
|
|
53
53
|
},
|
|
54
54
|
"sideEffects": false,
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "573fc72ac30bc2d71ebb90644b803ba8408fe82e"
|
|
56
56
|
}
|
package/src/tokens/TokenGroup.js
CHANGED
|
@@ -60,7 +60,9 @@ export class TokenGroup {
|
|
|
60
60
|
getTokens(parentContext = {}) {
|
|
61
61
|
const context = {
|
|
62
62
|
...parentContext,
|
|
63
|
-
groups: parentContext.groups
|
|
63
|
+
groups: parentContext.groups
|
|
64
|
+
? parentContext.groups.concat(this.name)
|
|
65
|
+
: [this.name],
|
|
64
66
|
properties: this.properties || parentContext.properties,
|
|
65
67
|
};
|
|
66
68
|
|
package/umd/index.js
CHANGED
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
i = p[t],
|
|
146
146
|
d = G.p,
|
|
147
147
|
l = i[2];
|
|
148
|
-
r > 3 ? (o = l === n) && (
|
|
148
|
+
r > 3 ? (o = l === n) && (u = i[(c = i[4]) ? 5 : (c = 3, 3)], i[4] = i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
|
|
149
149
|
}
|
|
150
150
|
if (o || r > 1) return a;
|
|
151
151
|
throw y = true, n;
|
|
@@ -246,19 +246,17 @@
|
|
|
246
246
|
i = 0;
|
|
247
247
|
}
|
|
248
248
|
_regeneratorDefine = function (e, r, n, t) {
|
|
249
|
-
|
|
249
|
+
function o(r, n) {
|
|
250
|
+
_regeneratorDefine(e, r, function (e) {
|
|
251
|
+
return this._invoke(r, n, e);
|
|
252
|
+
});
|
|
253
|
+
}
|
|
254
|
+
r ? i ? i(e, r, {
|
|
250
255
|
value: n,
|
|
251
256
|
enumerable: !t,
|
|
252
257
|
configurable: !t,
|
|
253
258
|
writable: !t
|
|
254
|
-
}) : e[r] = n;
|
|
255
|
-
function o(r, n) {
|
|
256
|
-
_regeneratorDefine(e, r, function (e) {
|
|
257
|
-
return this._invoke(r, n, e);
|
|
258
|
-
});
|
|
259
|
-
}
|
|
260
|
-
o("next", 0), o("throw", 1), o("return", 2);
|
|
261
|
-
}
|
|
259
|
+
}) : e[r] = n : (o("next", 0), o("throw", 1), o("return", 2));
|
|
262
260
|
}, _regeneratorDefine(e, r, n, t);
|
|
263
261
|
}
|
|
264
262
|
function _regeneratorKeys(e) {
|
|
@@ -4910,7 +4908,7 @@
|
|
|
4910
4908
|
value: function getTokens() {
|
|
4911
4909
|
var parentContext = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
4912
4910
|
var context = _objectSpread2(_objectSpread2({}, parentContext), {}, {
|
|
4913
|
-
groups: parentContext.groups ? parentContext.groups.concat(this) : [this],
|
|
4911
|
+
groups: parentContext.groups ? parentContext.groups.concat(this.name) : [this.name],
|
|
4914
4912
|
properties: this.properties || parentContext.properties
|
|
4915
4913
|
});
|
|
4916
4914
|
return this.children.flatMap(function (child) {
|