@zat-design/sisyphus-react 4.6.1-beta.2 → 4.6.1-beta.3

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.
@@ -11,6 +11,18 @@
11
11
  @import '../components/combination/Container/style/index.less';
12
12
 
13
13
  .pro-form {
14
+ // 跟随表单父节点渲染的浮层会受祖先堆叠上下文限制;仅在浮层打开时提升相关层级。
15
+ .@{ant-prefix}-form-item,
16
+ .@{ant-prefix}-space-compact-item,
17
+ .pro-group {
18
+ &:has(.pro-select-popup-open),
19
+ &:has(.@{ant-prefix}-select-open),
20
+ &:has(.@{ant-prefix}-picker-focused) {
21
+ position: relative;
22
+ z-index: 4 !important;
23
+ }
24
+ }
25
+
14
26
  .pro-container {
15
27
  .pro-collapse {
16
28
  .pro-collapse-panel {
@@ -9,10 +9,10 @@
9
9
  .pro-select {
10
10
  width: 100%;
11
11
 
12
- // Ant Design Compact 控件的交互层级为 2;弹层打开时临时提升当前选择框。
12
+ // 高于 Ant Design Table 固定列的 z-index: 3,且仅在弹层打开时生效。
13
13
  &.pro-select-popup-open {
14
14
  position: relative;
15
- z-index: 3;
15
+ z-index: 4;
16
16
  }
17
17
 
18
18
  > .ant-select {
@@ -29,5 +29,5 @@
29
29
  // scrollFollowParent 会让弹层受祖先堆叠上下文约束,需要同步提升嵌套 Form.Item。
30
30
  .ant-form-item:has(.pro-select-popup-open) {
31
31
  position: relative;
32
- z-index: 3 !important;
32
+ z-index: 4 !important;
33
33
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "4.6.1-beta.2",
3
+ "version": "4.6.1-beta.3",
4
4
  "license": "MIT",
5
5
  "publishConfig": {
6
6
  "access": "public",