@alicloud/console-base-theme 1.5.0 → 1.5.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/CHANGELOG.md CHANGED
@@ -1,6 +1,5 @@
1
- HISTORY
2
- ===
1
+ # CHANGELOG
3
2
 
4
- # 1.0.0 2020/12/23 @驳是
3
+ ## 1.0.0 2020/12/23 @驳是
5
4
 
6
5
  * 横空出世
package/LICENSE ADDED
@@ -0,0 +1,21 @@
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.
package/README.md CHANGED
@@ -1,5 +1,4 @@
1
- @alicloud/console-base-theme
2
- ===
1
+ # @alicloud/console-base-theme
3
2
 
4
3
  * [关于 CSS Variable 的实践研究](doc/reserch.md)
5
4
  * [设计标注 - Fusion](https://fusion.alibaba-inc.com/pc/component/tokens)
@@ -10,7 +9,7 @@
10
9
 
11
10
  控制台主题
12
11
 
13
- # Usage
12
+ ## Usage
14
13
 
15
14
  ```js
16
15
  import {
@@ -5,6 +5,9 @@ import Z_INDEX from './z-index';
5
5
  declare type ThemeTypo = typeof TYPO;
6
6
  declare type ThemeSize = typeof SIZE;
7
7
  declare type ThemeZIndex = typeof Z_INDEX;
8
+ /**
9
+ * 默认主题(亮色)的所有变量
10
+ */
8
11
  declare const _default: {
9
12
  COLOR: ThemeColors;
10
13
  TYPO: {
@@ -76,9 +79,6 @@ declare const _default: {
76
79
  BACKDROP_SYS: number;
77
80
  };
78
81
  };
79
- /**
80
- * 默认主题(亮色)的所有变量
81
- */
82
82
  export default _default;
83
83
  export { COLOR, TYPO, SIZE, Z_INDEX };
84
84
  export type { ThemeColors, ThemeTypo, ThemeSize, ThemeZIndex };
@@ -1,3 +1,6 @@
1
+ /**
2
+ * 文字大小、宽高、间距等,都是数值(基本上都是 px)
3
+ */
1
4
  declare const _default: {
2
5
  FONT_SIZE_H1: number;
3
6
  FONT_SIZE_H2: number;
@@ -48,7 +51,4 @@ declare const _default: {
48
51
  BORDER_RADIUS_L: number;
49
52
  BORDER_RADIUS_XL: number;
50
53
  };
51
- /**
52
- * 文字大小、宽高、间距等,都是数值(基本上都是 px)
53
- */
54
54
  export default _default;
@@ -1,9 +1,9 @@
1
+ /**
2
+ * 文字相关
3
+ */
1
4
  declare const _default: {
2
5
  FONT_FAMILY_BASE: string;
3
6
  FONT_FAMILY_BASE_JA: string;
4
7
  FONT_FAMILY_MONOSPACE: string;
5
8
  };
6
- /**
7
- * 文字相关
8
- */
9
9
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/console-base-theme",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "控制台主题 - 基于 css variable 和 styled-components",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,
@@ -25,22 +25,22 @@
25
25
  ],
26
26
  "devDependencies": {
27
27
  "@alicloud/console-toolkit-cli": "^1.2.30",
28
- "@alicloud/console-toolkit-preset-component": "^1.2.56",
29
- "@alicloud/demo-rc-elements": "^1.5.4",
28
+ "@alicloud/console-toolkit-preset-component": "^1.2.58",
29
+ "@alicloud/demo-rc-elements": "^1.5.5",
30
30
  "@types/lodash": "^4.14.182",
31
- "@types/react": "^17.0.43",
31
+ "@types/react": "^17.0.45",
32
32
  "@types/styled-components": "^5.1.25",
33
33
  "lodash": "^4.17.21",
34
34
  "react": "^17.0.2",
35
35
  "styled-components": "^5.3.5",
36
- "typescript": "^4.6.3"
36
+ "typescript": "^4.7.3"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "styled-components": ">=5"
40
40
  },
41
41
  "dependencies": {
42
- "@alicloud/console-base-theme-color": "^1.1.84",
43
- "@alicloud/mere-dom": "^1.3.1"
42
+ "@alicloud/console-base-theme-color": "^1.2.1",
43
+ "@alicloud/mere-dom": "^1.3.2"
44
44
  },
45
45
  "scripts": {
46
46
  "start": "breezr start-storybook",
@@ -53,5 +53,5 @@
53
53
  "clean": "rm -rf build",
54
54
  "prepublishOnly": "yarn clean && yarn build"
55
55
  },
56
- "gitHead": "e575919bb3e5dc36f28501101c18cf0d7cee2488"
56
+ "gitHead": "4c525e7246a8cdf73f3b431250125308f11d4151"
57
57
  }