@alicloud/console-base-theme 1.8.8 → 1.9.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.
@@ -6,6 +6,7 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports.mixinShadowXlUp = exports.mixinShadowXlRight = exports.mixinShadowXlLeft = exports.mixinShadowXlDown = exports.mixinShadowXl = exports.mixinShadowSUp = exports.mixinShadowSRight = exports.mixinShadowSLeft = exports.mixinShadowSDown = exports.mixinShadowS = exports.mixinShadowMUp = exports.mixinShadowMRight = exports.mixinShadowMLeft = exports.mixinShadowMDown = exports.mixinShadowM = exports.mixinShadowLUp = exports.mixinShadowLRight = exports.mixinShadowLLeft = exports.mixinShadowLDown = exports.mixinShadowL = void 0;
7
7
  var _styledComponents = require("styled-components");
8
8
  var _var = require("../var");
9
+ /* eslint-disable @typescript-eslint/naming-convention */
9
10
  // generated by generate-code-mixin-shadow.ts
10
11
 
11
12
  var mixinShadowS = (0, _styledComponents.css)(["box-shadow:0 0 2px 0 ", ";box-shadow:0 0 2px 0 var(--cb-color-shadow,", ");"], _var.COLOR.SHADOW, _var.COLOR.SHADOW);
@@ -33,6 +33,7 @@ var _consoleBaseThemeColor = require("@alicloud/console-base-theme-color");
33
33
  var _typo = _interopRequireDefault(require("./typo"));
34
34
  var _size = _interopRequireDefault(require("./size"));
35
35
  var _zIndex = _interopRequireDefault(require("./z-index"));
36
+ // eslint-disable-line @typescript-eslint/naming-convention
36
37
  /**
37
38
  * 默认主题(亮色)的所有变量
38
39
  */
@@ -56,6 +56,9 @@ var _default = {
56
56
  WIDTH_NAV_LEVEL2: 210,
57
57
  // 应用左侧菜单(二级菜单)宽度
58
58
 
59
+ WIDTH_SIDE_PANEL: 50,
60
+ // SidePanel 宽度
61
+
59
62
  /* *************************
60
63
  * ---------- 高度 ----------
61
64
  ************************* */
@@ -30,6 +30,8 @@ var _default = {
30
30
 
31
31
  TOP_NAV: 999,
32
32
  // 全局顶栏
33
+ SIDE_PANEL: 99,
34
+ // 全局侧边栏
33
35
 
34
36
  DIALOG_SLIDE: 200,
35
37
  // 侧拉窗
@@ -1,3 +1,4 @@
1
+ /* eslint-disable @typescript-eslint/naming-convention */
1
2
  // generated by generate-code-mixin-shadow.ts
2
3
 
3
4
  import { css } from 'styled-components';
@@ -2,6 +2,8 @@ import { COLOR_LIGHT as COLOR } from '@alicloud/console-base-theme-color';
2
2
  import TYPO from './typo';
3
3
  import SIZE from './size';
4
4
  import Z_INDEX from './z-index';
5
+ // eslint-disable-line @typescript-eslint/naming-convention
6
+
5
7
  /**
6
8
  * 默认主题(亮色)的所有变量
7
9
  */
@@ -50,6 +50,9 @@ export default {
50
50
  WIDTH_NAV_LEVEL2: 210,
51
51
  // 应用左侧菜单(二级菜单)宽度
52
52
 
53
+ WIDTH_SIDE_PANEL: 50,
54
+ // SidePanel 宽度
55
+
53
56
  /* *************************
54
57
  * ---------- 高度 ----------
55
58
  ************************* */
@@ -24,6 +24,8 @@ export default {
24
24
 
25
25
  TOP_NAV: 999,
26
26
  // 全局顶栏
27
+ SIDE_PANEL: 99,
28
+ // 全局侧边栏
27
29
 
28
30
  DIALOG_SLIDE: 200,
29
31
  // 侧拉窗
@@ -2,9 +2,9 @@ import { ThemeColors, COLOR_LIGHT as COLOR } from '@alicloud/console-base-theme-
2
2
  import TYPO from './typo';
3
3
  import SIZE from './size';
4
4
  import Z_INDEX from './z-index';
5
- declare type ThemeTypo = typeof TYPO;
6
- declare type ThemeSize = typeof SIZE;
7
- declare type ThemeZIndex = typeof Z_INDEX;
5
+ type TThemeTypo = typeof TYPO;
6
+ type TThemeSize = typeof SIZE;
7
+ type TThemeZIndex = typeof Z_INDEX;
8
8
  /**
9
9
  * 默认主题(亮色)的所有变量
10
10
  */
@@ -44,6 +44,7 @@ declare const _default: {
44
44
  WIDTH_DIALOG_SLIDE_XL: number;
45
45
  WIDTH_DIALOG_SLIDE_XXL: number;
46
46
  WIDTH_NAV_LEVEL2: number;
47
+ WIDTH_SIDE_PANEL: number;
47
48
  HEIGHT_TOP_NAV: number;
48
49
  HEIGHT_FORM_CONTROL_XS: number;
49
50
  HEIGHT_FORM_CONTROL_S: number;
@@ -75,6 +76,7 @@ declare const _default: {
75
76
  DIALOG_NORMAL: number;
76
77
  BACKDROP_NORMAL: number;
77
78
  TOP_NAV: number;
79
+ SIDE_PANEL: number;
78
80
  DIALOG_SLIDE: number;
79
81
  BACKDROP_SLIDE: number;
80
82
  TOOLKIT: number;
@@ -83,4 +85,4 @@ declare const _default: {
83
85
  };
84
86
  export default _default;
85
87
  export { COLOR, TYPO, SIZE, Z_INDEX };
86
- export type { ThemeColors, ThemeTypo, ThemeSize, ThemeZIndex };
88
+ export type { ThemeColors, TThemeTypo as ThemeTypo, TThemeSize as ThemeSize, TThemeZIndex as ThemeZIndex };
@@ -30,6 +30,7 @@ declare const _default: {
30
30
  WIDTH_DIALOG_SLIDE_XL: number;
31
31
  WIDTH_DIALOG_SLIDE_XXL: number;
32
32
  WIDTH_NAV_LEVEL2: number;
33
+ WIDTH_SIDE_PANEL: number;
33
34
  HEIGHT_TOP_NAV: number;
34
35
  HEIGHT_FORM_CONTROL_XS: number;
35
36
  HEIGHT_FORM_CONTROL_S: number;
@@ -11,6 +11,7 @@ declare const _default: {
11
11
  DIALOG_NORMAL: number;
12
12
  BACKDROP_NORMAL: number;
13
13
  TOP_NAV: number;
14
+ SIDE_PANEL: number;
14
15
  DIALOG_SLIDE: number;
15
16
  BACKDROP_SLIDE: number;
16
17
  TOOLKIT: number;
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@alicloud/console-base-theme",
3
- "version": "1.8.8",
3
+ "version": "1.9.1",
4
4
  "description": "控制台主题 - 基于 css variable 和 styled-components",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,
7
7
  "main": "build/cjs/index.js",
8
8
  "module": "build/es/index.js",
9
9
  "types": "build/types/index.d.ts",
10
- "homepage": "https://github.com/aliyun/alibabacloud-console-base/tree/master/packages/console-base-theme",
10
+ "homepage": "https://github.com/aliyun/alibabacloud-console-base/tree/master/packages-theme/console-base-theme",
11
11
  "author": {
12
12
  "name": "Jianchun Wang",
13
13
  "email": "justnewbee@gmail.com"
@@ -19,28 +19,26 @@
19
19
  "publishConfig": {
20
20
  "access": "public"
21
21
  },
22
- "keywords": [
23
- "console-base",
24
- "theme"
25
- ],
22
+ "keywords": [],
26
23
  "devDependencies": {
27
24
  "@alicloud/console-toolkit-cli": "^1.2.30",
28
25
  "@alicloud/console-toolkit-preset-component": "^1.2.61",
29
- "@alicloud/demo-rc-elements": "^1.10.13",
30
- "@types/lodash": "^4.14.188",
26
+ "@alicloud/demo-rc-elements": "^1.10.14",
27
+ "@alicloud/ts-config": "^1.1.1",
28
+ "@types/lodash": "^4.14.191",
31
29
  "@types/react": "^17.0.48",
32
30
  "@types/styled-components": "^5.1.26",
33
31
  "lodash": "^4.17.21",
34
32
  "react": "^17.0.2",
35
33
  "styled-components": "^5.3.6",
36
- "typescript": "^4.8.4"
34
+ "typescript": "^4.9.4"
37
35
  },
38
36
  "peerDependencies": {
39
37
  "styled-components": ">=5"
40
38
  },
41
39
  "dependencies": {
42
- "@alicloud/console-base-theme-color": "^1.5.6",
43
- "@alicloud/mere-dom": "^1.6.9"
40
+ "@alicloud/console-base-theme-color": "^1.5.7",
41
+ "@alicloud/mere-dom": "^1.6.10"
44
42
  },
45
43
  "scripts": {
46
44
  "start": "breezr start-storybook",
@@ -53,5 +51,5 @@
53
51
  "clean": "rm -rf build",
54
52
  "prepublishOnly": "yarn clean && yarn build"
55
53
  },
56
- "gitHead": "244c4bf763c1b236bef5fa2f7b9172a8cc027097"
54
+ "gitHead": "0fc09d85405d64458a1ad83ae092949ec3edd817"
57
55
  }