@alicloud/console-base-theme-color 1.5.10 → 1.5.11

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.
@@ -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.16)';
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
+ };
@@ -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);
@@ -5,5 +5,4 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
  var _util = require("../util");
8
- var _default = (0, _util.createThemeColor)();
9
- exports.default = _default;
8
+ var _default = exports.default = (0, _util.createThemeColor)();
@@ -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(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
18
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
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.16)';
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(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
3
- function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
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.10",
3
+ "version": "1.5.11",
4
4
  "description": "控制台主题颜色 - 仅颜色",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,
7
7
  "main": "build/cjs/index.js",
8
- "module": "build/es/index.js",
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.11.16",
20
+ "@alicloud/demo-rc-elements": "^1.13.0",
26
21
  "@alicloud/ts-config": "^1.1.3",
27
- "@types/react": "^17.0.48",
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.9",
32
- "typescript": "^4.9.5"
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,9 @@
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:typings": "tsc --outDir build/types --declaration --emitDeclarationOnly",
41
- "build": "yarn build:esm && yarn build:cjs && yarn build:typings",
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
- },
45
- "gitHead": "056768173dd99b5af268df646c8a09eb08648920"
39
+ }
46
40
  }
package/LICENSE DELETED
@@ -1,21 +0,0 @@
1
- MIT License
2
-
3
- Copyright (c) 2019 Alibaba Cloud
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
File without changes
File without changes
File without changes
File without changes
File without changes