@alicloud/console-base-theme 1.6.0 → 1.7.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.
@@ -4,31 +4,36 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.default = void 0;
7
+
8
+ /**
9
+ * z-index 层级设计
10
+ */
7
11
  var _default = {
8
- TOP_NAV: 999,
9
- // 全局吊顶
10
- TOOLKIT: 99,
11
- // 全局工具
12
- MICRO_BROWSER: 1200,
12
+ DIALOG_SYS: 2101,
13
+ // 系统级模态框(alert、confirm、prompt)
14
+ BACKDROP_SYS: 2100,
15
+ // 系统级模态窗背投
16
+ MICRO_BROWSER: 2050,
13
17
  // 微浏览器
14
- // 浮层(dropdown、tooltip 等)
15
- POPUP: 10,
16
- // inline 的时候
18
+ ERROR_PROMPT: 2001,
19
+ // 错误弹窗
20
+ BACKDROP_ERROR_PROMPT: 2000,
21
+ // 错误弹窗背投
17
22
  POPUP_GLOBAL: 1001,
18
- // 全局(在 body 下)的时候
19
- // dialog 主体
20
- DIALOG_SLIDE: 200,
21
- // 侧拉抽屉
23
+ // 全局浮层(dropdown、tooltip 等)
22
24
  DIALOG_NORMAL: 1001,
23
25
  // 一般模态窗
24
- DIALOG_SYS: 2001,
25
- // 系统级模态框(alert、confirm、prompt)
26
- // 背投
27
- BACKDROP_SLIDE: 100,
28
- // 侧拉窗
29
26
  BACKDROP_NORMAL: 999,
30
- // 一般模态窗
31
- BACKDROP_SYS: 2000 // 系统级模态窗(alert、confirm、prompt)
27
+ // 一般模态窗背投
28
+ TOP_NAV: 999,
29
+ // 全局顶栏
30
+ DIALOG_SLIDE: 200,
31
+ // 侧拉窗
32
+ BACKDROP_SLIDE: 100,
33
+ // 侧拉窗背投
34
+ TOOLKIT: 99,
35
+ // 全局工具
36
+ POPUP: 10 // inline 浮层(dropdown、tooltip 等)
32
37
 
33
38
  };
34
39
  exports.default = _default;
@@ -1,27 +1,31 @@
1
+ /**
2
+ * z-index 层级设计
3
+ */
1
4
  export default {
2
- TOP_NAV: 999,
3
- // 全局吊顶
4
- TOOLKIT: 99,
5
- // 全局工具
6
- MICRO_BROWSER: 1200,
5
+ DIALOG_SYS: 2101,
6
+ // 系统级模态框(alert、confirm、prompt)
7
+ BACKDROP_SYS: 2100,
8
+ // 系统级模态窗背投
9
+ MICRO_BROWSER: 2050,
7
10
  // 微浏览器
8
- // 浮层(dropdown、tooltip 等)
9
- POPUP: 10,
10
- // inline 的时候
11
+ ERROR_PROMPT: 2001,
12
+ // 错误弹窗
13
+ BACKDROP_ERROR_PROMPT: 2000,
14
+ // 错误弹窗背投
11
15
  POPUP_GLOBAL: 1001,
12
- // 全局(在 body 下)的时候
13
- // dialog 主体
14
- DIALOG_SLIDE: 200,
15
- // 侧拉抽屉
16
+ // 全局浮层(dropdown、tooltip 等)
16
17
  DIALOG_NORMAL: 1001,
17
18
  // 一般模态窗
18
- DIALOG_SYS: 2001,
19
- // 系统级模态框(alert、confirm、prompt)
20
- // 背投
21
- BACKDROP_SLIDE: 100,
22
- // 侧拉窗
23
19
  BACKDROP_NORMAL: 999,
24
- // 一般模态窗
25
- BACKDROP_SYS: 2000 // 系统级模态窗(alert、confirm、prompt)
20
+ // 一般模态窗背投
21
+ TOP_NAV: 999,
22
+ // 全局顶栏
23
+ DIALOG_SLIDE: 200,
24
+ // 侧拉窗
25
+ BACKDROP_SLIDE: 100,
26
+ // 侧拉窗背投
27
+ TOOLKIT: 99,
28
+ // 全局工具
29
+ POPUP: 10 // inline 浮层(dropdown、tooltip 等)
26
30
 
27
31
  };
@@ -66,17 +66,19 @@ declare const _default: {
66
66
  BORDER_RADIUS_XL: number;
67
67
  };
68
68
  Z_INDEX: {
69
- TOP_NAV: number;
70
- TOOLKIT: number;
69
+ DIALOG_SYS: number;
70
+ BACKDROP_SYS: number;
71
71
  MICRO_BROWSER: number;
72
- POPUP: number;
72
+ ERROR_PROMPT: number;
73
+ BACKDROP_ERROR_PROMPT: number;
73
74
  POPUP_GLOBAL: number;
74
- DIALOG_SLIDE: number;
75
75
  DIALOG_NORMAL: number;
76
- DIALOG_SYS: number;
77
- BACKDROP_SLIDE: number;
78
76
  BACKDROP_NORMAL: number;
79
- BACKDROP_SYS: number;
77
+ TOP_NAV: number;
78
+ DIALOG_SLIDE: number;
79
+ BACKDROP_SLIDE: number;
80
+ TOOLKIT: number;
81
+ POPUP: number;
80
82
  };
81
83
  };
82
84
  export default _default;
@@ -1,14 +1,19 @@
1
+ /**
2
+ * z-index 层级设计
3
+ */
1
4
  declare const _default: {
2
- TOP_NAV: number;
3
- TOOLKIT: number;
5
+ DIALOG_SYS: number;
6
+ BACKDROP_SYS: number;
4
7
  MICRO_BROWSER: number;
5
- POPUP: number;
8
+ ERROR_PROMPT: number;
9
+ BACKDROP_ERROR_PROMPT: number;
6
10
  POPUP_GLOBAL: number;
7
- DIALOG_SLIDE: number;
8
11
  DIALOG_NORMAL: number;
9
- DIALOG_SYS: number;
10
- BACKDROP_SLIDE: number;
11
12
  BACKDROP_NORMAL: number;
12
- BACKDROP_SYS: number;
13
+ TOP_NAV: number;
14
+ DIALOG_SLIDE: number;
15
+ BACKDROP_SLIDE: number;
16
+ TOOLKIT: number;
17
+ POPUP: number;
13
18
  };
14
19
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/console-base-theme",
3
- "version": "1.6.0",
3
+ "version": "1.7.0",
4
4
  "description": "控制台主题 - 基于 css variable 和 styled-components",
5
5
  "license": "MIT",
6
6
  "sideEffects": false,
@@ -26,7 +26,7 @@
26
26
  "devDependencies": {
27
27
  "@alicloud/console-toolkit-cli": "^1.2.30",
28
28
  "@alicloud/console-toolkit-preset-component": "^1.2.61",
29
- "@alicloud/demo-rc-elements": "^1.6.0",
29
+ "@alicloud/demo-rc-elements": "^1.8.0",
30
30
  "@types/lodash": "^4.14.182",
31
31
  "@types/react": "^17.0.45",
32
32
  "@types/styled-components": "^5.1.25",
@@ -39,8 +39,8 @@
39
39
  "styled-components": ">=5"
40
40
  },
41
41
  "dependencies": {
42
- "@alicloud/console-base-theme-color": "^1.3.0",
43
- "@alicloud/mere-dom": "^1.4.0"
42
+ "@alicloud/console-base-theme-color": "^1.4.0",
43
+ "@alicloud/mere-dom": "^1.5.0"
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": "464397b99676139ae2bee8b893246537048aa09a"
56
+ "gitHead": "d484a1e2ea367304b284bb372fe240429b0085d7"
57
57
  }