carbon-react 101.0.2 → 101.0.3
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.
|
@@ -38,14 +38,15 @@ const debugTheme = themeProperties => Object.fromEntries(Object.entries(themePro
|
|
|
38
38
|
}
|
|
39
39
|
|
|
40
40
|
if (typeof value === "object") {
|
|
41
|
-
return [key, debugTheme(value)];
|
|
41
|
+
return key === "compatibility" ? [key, value] : [key, debugTheme(value)];
|
|
42
42
|
}
|
|
43
43
|
|
|
44
44
|
return [key, ""];
|
|
45
45
|
}));
|
|
46
46
|
|
|
47
47
|
var _default = { ...debugTheme(_mint.default),
|
|
48
|
-
..._common.default
|
|
48
|
+
compatibility: { ..._common.default
|
|
49
|
+
},
|
|
49
50
|
name: "sage-debug"
|
|
50
51
|
};
|
|
51
52
|
exports.default = _default;
|
|
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
|
|
8
|
+
var _common = _interopRequireDefault(require("@sage/design-tokens/js/base/common"));
|
|
9
|
+
|
|
8
10
|
var _atOpacity = _interopRequireDefault(require("../../utils/at-opacity"));
|
|
9
11
|
|
|
10
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
@@ -340,7 +342,7 @@ var _default = palette => {
|
|
|
340
342
|
},
|
|
341
343
|
|
|
342
344
|
get compatibility() {
|
|
343
|
-
return {
|
|
345
|
+
return { ..._common.default,
|
|
344
346
|
colorsActionMajor500: this.colors.primary,
|
|
345
347
|
colorsActionMajor600: this.colors.secondary,
|
|
346
348
|
colorsActionDisabled500: this.disabled.background,
|
|
@@ -12,7 +12,8 @@ var _index = _interopRequireDefault(require("../mint/index"));
|
|
|
12
12
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
13
13
|
|
|
14
14
|
var _default = { ..._index.default,
|
|
15
|
-
..._common.default
|
|
15
|
+
compatibility: { ..._common.default
|
|
16
|
+
},
|
|
16
17
|
name: "sage (experimental)"
|
|
17
18
|
};
|
|
18
19
|
exports.default = _default;
|