@zat-design/sisyphus-react 4.4.1-beta.3 → 4.4.1-beta.4

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,6 +4,19 @@
4
4
  display: block;
5
5
  .@{ant-prefix}-space-compact {
6
6
  display: flex;
7
+
8
+ // 重置 antd 默认给 compact-item 加的 z-index: 2,否则会创建独立层叠上下文,遮挡相邻表单项的 select 下拉浮层(scrollFollowParent 场景)
9
+ .@{ant-prefix}-input-number.@{ant-prefix}-input-number-compact-item,
10
+ .@{ant-prefix}-input.@{ant-prefix}-input-compact-item {
11
+ z-index: auto;
12
+ }
13
+
14
+ // hover/focus 时凸显边框(保持原 antd 默认视觉行为)
15
+ .@{ant-prefix}-input-number-focused,
16
+ .@{ant-prefix}-input-number:not(.@{ant-prefix}-input-number-disabled):hover {
17
+ z-index: 2;
18
+ }
19
+
7
20
  .range-split {
8
21
  min-width: 32px;
9
22
  max-width: 32px;
@@ -30,6 +30,10 @@ span.@{ant-prefix}-input-group-compact,
30
30
  border-bottom-right-radius: 0 !important;
31
31
  }
32
32
 
33
+ .@{ant-prefix}-picker.@{ant-prefix}-picker-compact-item {
34
+ z-index: auto;
35
+ }
36
+
33
37
  .@{ant-prefix}-picker-focused,
34
38
  .@{ant-prefix}-picker:not(.@{ant-prefix}-picker-disabled):hover {
35
39
  z-index: 2;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "4.4.1-beta.3",
3
+ "version": "4.4.1-beta.4",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "es",