@alicloud/console-base-theme-color 1.5.9 → 1.5.11-beta.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/build/cjs/const/index.js +3 -4
- package/build/cjs/dark/index.js +1 -2
- package/build/cjs/light/index.js +1 -2
- package/build/cjs/util/create-theme-color.js +2 -2
- package/build/{es → esm}/const/index.js +1 -1
- package/build/{es → esm}/util/create-theme-color.js +2 -2
- package/package.json +11 -15
- /package/build/{es → esm}/dark/index.js +0 -0
- /package/build/{es → esm}/index.js +0 -0
- /package/build/{es → esm}/light/index.js +0 -0
- /package/build/{es → esm}/types/index.js +0 -0
- /package/build/{es → esm}/util/create-const-color-base-bg.js +0 -0
- /package/build/{es → esm}/util/create-const-color-base-border.js +0 -0
- /package/build/{es → esm}/util/create-const-color-base-shadow.js +0 -0
- /package/build/{es → esm}/util/create-const-color-base-text.js +0 -0
- /package/build/{es → esm}/util/create-const-color-button.js +0 -0
- /package/build/{es → esm}/util/create-const-color-input.js +0 -0
- /package/build/{es → esm}/util/create-const-color-link.js +0 -0
- /package/build/{es → esm}/util/index.js +0 -0
package/build/cjs/const/index.js
CHANGED
|
@@ -47,9 +47,9 @@ var INFO_TINT_FADE = 'rgba(0,115,204,0.078431)';
|
|
|
47
47
|
var SUCCESS_TINT_FADE = 'rgba(0,212,57,0.070588)';
|
|
48
48
|
var WARNING_TINT_FADE = 'rgba(255,198,0,0.141176)';
|
|
49
49
|
var ERROR_TINT_FADE = 'rgba(210,15,0,0.066667)';
|
|
50
|
-
var SHADOW = 'rgba(0,0,0,0.
|
|
50
|
+
var SHADOW = 'rgba(0,0,0,0.08)';
|
|
51
51
|
var BACKDROP = 'rgba(0,0,0,0.2)';
|
|
52
|
-
var COLOR_ESSENTIAL = {
|
|
52
|
+
var COLOR_ESSENTIAL = exports.COLOR_ESSENTIAL = {
|
|
53
53
|
TRANSPARENT: TRANSPARENT,
|
|
54
54
|
WHITE: WHITE,
|
|
55
55
|
BLACK: BLACK,
|
|
@@ -95,5 +95,4 @@ var COLOR_ESSENTIAL = {
|
|
|
95
95
|
ERROR_TINT_FADE: ERROR_TINT_FADE,
|
|
96
96
|
SHADOW: SHADOW,
|
|
97
97
|
BACKDROP: BACKDROP
|
|
98
|
-
};
|
|
99
|
-
exports.COLOR_ESSENTIAL = COLOR_ESSENTIAL;
|
|
98
|
+
};
|
package/build/cjs/dark/index.js
CHANGED
|
@@ -97,5 +97,4 @@ var COLOR_ESSENTIAL_OVERRIDE = {
|
|
|
97
97
|
SHADOW: SHADOW,
|
|
98
98
|
BACKDROP: BACKDROP
|
|
99
99
|
};
|
|
100
|
-
var _default = (0, _util.createThemeColor)(COLOR_ESSENTIAL_OVERRIDE);
|
|
101
|
-
exports.default = _default;
|
|
100
|
+
var _default = exports.default = (0, _util.createThemeColor)(COLOR_ESSENTIAL_OVERRIDE);
|
package/build/cjs/light/index.js
CHANGED
|
@@ -14,8 +14,8 @@ var _createConstColorBaseShadow = _interopRequireDefault(require("./create-const
|
|
|
14
14
|
var _createConstColorLink = _interopRequireDefault(require("./create-const-color-link"));
|
|
15
15
|
var _createConstColorInput = _interopRequireDefault(require("./create-const-color-input"));
|
|
16
16
|
var _createConstColorButton = _interopRequireDefault(require("./create-const-color-button"));
|
|
17
|
-
function ownKeys(
|
|
18
|
-
function _objectSpread(
|
|
17
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
18
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
19
19
|
function createThemeColor(colorEssentialOverride) {
|
|
20
20
|
var E = _objectSpread(_objectSpread({}, _const.COLOR_ESSENTIAL), colorEssentialOverride);
|
|
21
21
|
var COLOR_TEXT = (0, _createConstColorBaseText.default)(E);
|
|
@@ -41,7 +41,7 @@ var INFO_TINT_FADE = 'rgba(0,115,204,0.078431)';
|
|
|
41
41
|
var SUCCESS_TINT_FADE = 'rgba(0,212,57,0.070588)';
|
|
42
42
|
var WARNING_TINT_FADE = 'rgba(255,198,0,0.141176)';
|
|
43
43
|
var ERROR_TINT_FADE = 'rgba(210,15,0,0.066667)';
|
|
44
|
-
var SHADOW = 'rgba(0,0,0,0.
|
|
44
|
+
var SHADOW = 'rgba(0,0,0,0.08)';
|
|
45
45
|
var BACKDROP = 'rgba(0,0,0,0.2)';
|
|
46
46
|
export var COLOR_ESSENTIAL = {
|
|
47
47
|
TRANSPARENT: TRANSPARENT,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
2
|
-
function ownKeys(
|
|
3
|
-
function _objectSpread(
|
|
2
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
3
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
4
4
|
import { COLOR_ESSENTIAL } from '../const';
|
|
5
5
|
import createConstColorBaseText from './create-const-color-base-text';
|
|
6
6
|
import createConstColorBaseBg from './create-const-color-base-bg';
|
package/package.json
CHANGED
|
@@ -1,35 +1,30 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alicloud/console-base-theme-color",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.11-beta.0",
|
|
4
4
|
"description": "控制台主题颜色 - 仅颜色",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"sideEffects": false,
|
|
7
7
|
"main": "build/cjs/index.js",
|
|
8
|
-
"module": "build/
|
|
8
|
+
"module": "build/esm/index.js",
|
|
9
9
|
"types": "build/types/index.d.ts",
|
|
10
|
-
"homepage": "https://github.com/aliyun/alibabacloud-console-base/tree/master/packages-theme/console-base-theme",
|
|
11
10
|
"author": {
|
|
12
11
|
"name": "Jianchun Wang",
|
|
13
12
|
"email": "justnewbee@gmail.com"
|
|
14
13
|
},
|
|
15
|
-
"repository": {
|
|
16
|
-
"type": "git",
|
|
17
|
-
"url": "git+https://github.com/aliyun/alibabacloud-console-base.git"
|
|
18
|
-
},
|
|
19
14
|
"publishConfig": {
|
|
20
15
|
"access": "public"
|
|
21
16
|
},
|
|
22
17
|
"devDependencies": {
|
|
23
18
|
"@alicloud/console-toolkit-cli": "^1.2.30",
|
|
24
19
|
"@alicloud/console-toolkit-preset-component": "^1.2.61",
|
|
25
|
-
"@alicloud/demo-rc-elements": "^1.
|
|
26
|
-
"@alicloud/ts-config": "^1.1.
|
|
27
|
-
"@types/react": "^17.0.
|
|
20
|
+
"@alicloud/demo-rc-elements": "^1.13.0",
|
|
21
|
+
"@alicloud/ts-config": "^1.1.3",
|
|
22
|
+
"@types/react": "^17.0.58",
|
|
28
23
|
"@types/styled-components": "^5.1.26",
|
|
29
24
|
"polished": "^4.2.2",
|
|
30
25
|
"react": "^17.0.2",
|
|
31
|
-
"styled-components": "^5.3.
|
|
32
|
-
"typescript": "^
|
|
26
|
+
"styled-components": "^5.3.10",
|
|
27
|
+
"typescript": "^5.0.4"
|
|
33
28
|
},
|
|
34
29
|
"scripts": {
|
|
35
30
|
"start": "breezr start-storybook",
|
|
@@ -37,10 +32,11 @@
|
|
|
37
32
|
"build:esm": "breezr build --engine babel --es-module",
|
|
38
33
|
"build:cjs": "breezr build --engine babel",
|
|
39
34
|
"build:bundle": "breezr build --engine webpack",
|
|
40
|
-
"build:
|
|
41
|
-
"build": "yarn build:esm && yarn build:cjs && yarn build:
|
|
35
|
+
"build:types": "tsc -p tsconfig-declaration.json --outDir build/types --declaration --emitDeclarationOnly",
|
|
36
|
+
"build": "yarn build:esm && yarn build:cjs && yarn build:types",
|
|
42
37
|
"clean": "rm -rf build",
|
|
43
38
|
"prepublishOnly": "yarn clean && yarn build"
|
|
44
39
|
},
|
|
45
|
-
"gitHead": "e3daf0b177915f37e8beae4ecee204d8c62f9507"
|
|
40
|
+
"gitHead": "e3daf0b177915f37e8beae4ecee204d8c62f9507",
|
|
41
|
+
"repository": "http://gitlab.alibaba-inc.com/aliyun/console-base.git"
|
|
46
42
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|