@zat-design/sisyphus-react 3.2.2-beta.1 → 3.2.2-beta.10

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.
Files changed (139) hide show
  1. package/README.md +7 -0
  2. package/dist/index.esm.css +44 -5
  3. package/es/ProAction/index.less +3 -0
  4. package/es/ProDownload/index.js +9 -6
  5. package/es/ProDownload/style/index.less +5 -2
  6. package/es/ProDrawerForm/style/index.less +17 -14
  7. package/es/ProEditLabel/style/index.less +12 -9
  8. package/es/ProEditTable/index.js +8 -4
  9. package/es/ProEditTable/style/index.less +50 -42
  10. package/es/ProEditTable/utils/config.d.ts +1 -1
  11. package/es/ProEditTable/utils/config.js +3 -3
  12. package/es/ProEnum/style/index.less +3 -0
  13. package/es/ProForm/components/base/DatePicker/index.js +0 -3
  14. package/es/ProForm/components/base/SwitchCheckbox/style/index.less +3 -0
  15. package/es/ProForm/components/base/TextArea/index.less +4 -3
  16. package/es/ProForm/components/base/TimePicker/style/index.less +4 -1
  17. package/es/ProForm/components/combination/Container/style/index.less +3 -3
  18. package/es/ProForm/components/combination/FormList/style/index.less +3 -3
  19. package/es/ProForm/components/combination/Group/style/index.less +15 -15
  20. package/es/ProForm/components/combination/ProAddressBar/style/index.less +3 -3
  21. package/es/ProForm/components/combination/ProCombination/style/index.less +2 -2
  22. package/es/ProForm/components/combination/ProModalSelect/style/index.less +29 -11
  23. package/es/ProForm/components/combination/ProNumberRange/style/index.less +10 -10
  24. package/es/ProForm/components/combination/ProTimeLimit/style/index.less +6 -6
  25. package/es/ProForm/components/render/RenderFields.js +3 -3
  26. package/es/ProForm/style/index.less +46 -44
  27. package/es/ProIcon/style/index.less +4 -1
  28. package/es/ProLayout/components/Layout/Header/style/index.less +1 -1
  29. package/es/ProLayout/components/Layout/Menu/FoldMenu/style/index.less +7 -7
  30. package/es/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +28 -28
  31. package/es/ProLayout/components/Layout/Menu/SideMenu/style/index.less +11 -11
  32. package/es/ProLayout/components/ProCollapse/style/index.less +24 -24
  33. package/es/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +1 -1
  34. package/es/ProLayout/components/ProHeader/style/index.less +10 -11
  35. package/es/ProLayout/style/index.less +10 -7
  36. package/es/ProSelect/index.less +3 -0
  37. package/es/ProStep/style/index.less +3 -0
  38. package/es/ProTable/index.js +3 -3
  39. package/es/ProTable/style/index.less +68 -54
  40. package/es/ProTabs/style/index.less +14 -11
  41. package/es/ProThemeTools/component/PrdTools/index.d.ts +1 -1
  42. package/es/ProThemeTools/component/PrdTools/index.js +7 -6
  43. package/es/ProThemeTools/component/PrdTools/style/index.less +6 -6
  44. package/es/ProThemeTools/index.d.ts +1 -1
  45. package/es/ProThemeTools/index.js +7 -2
  46. package/es/ProThemeTools/propsType.d.ts +4 -0
  47. package/es/ProThemeTools/style/index.less +6 -3
  48. package/es/ProThemeTools/utils/index.d.ts +1 -1
  49. package/es/ProThemeTools/utils/index.js +2 -1
  50. package/es/ProTooltip/style/index.less +3 -0
  51. package/es/ProTree/components/CloseIcon.js +2 -4
  52. package/es/ProTree/style/index.less +29 -26
  53. package/es/ProTreeModal/components/CloseIcon.js +2 -4
  54. package/es/ProTreeModal/components/Trigger.d.ts +3 -0
  55. package/es/ProTreeModal/components/Trigger.js +79 -19
  56. package/es/ProTreeModal/index.js +24 -3
  57. package/es/ProTreeModal/propsType.d.ts +5 -2
  58. package/es/ProTreeModal/style/index.less +11 -8
  59. package/es/ProTreeSelect/style/index.less +25 -22
  60. package/es/ProUpload/components/DragRender.js +7 -4
  61. package/es/ProUpload/index.js +11 -7
  62. package/es/ProUpload/style/index.less +7 -4
  63. package/es/ProViewer/index.js +3 -1
  64. package/es/ProViewer/style/index.less +6 -3
  65. package/es/locale/en_US.d.ts +3 -0
  66. package/es/locale/en_US.js +3 -0
  67. package/es/locale/zh_CN.d.ts +3 -0
  68. package/es/locale/zh_CN.js +4 -1
  69. package/es/style/core/compatible.less +6 -6
  70. package/es/style/theme/antd.less +172 -157
  71. package/lib/ProAction/index.less +3 -0
  72. package/lib/ProDownload/index.js +9 -6
  73. package/lib/ProDownload/style/index.less +5 -2
  74. package/lib/ProDrawerForm/style/index.less +17 -14
  75. package/lib/ProEditLabel/style/index.less +12 -9
  76. package/lib/ProEditTable/index.js +6 -2
  77. package/lib/ProEditTable/style/index.less +50 -42
  78. package/lib/ProEditTable/utils/config.d.ts +1 -1
  79. package/lib/ProEditTable/utils/config.js +3 -3
  80. package/lib/ProEnum/style/index.less +3 -0
  81. package/lib/ProForm/components/base/DatePicker/index.js +0 -3
  82. package/lib/ProForm/components/base/SwitchCheckbox/style/index.less +3 -0
  83. package/lib/ProForm/components/base/TextArea/index.less +4 -3
  84. package/lib/ProForm/components/base/TimePicker/style/index.less +4 -1
  85. package/lib/ProForm/components/combination/Container/style/index.less +3 -3
  86. package/lib/ProForm/components/combination/FormList/style/index.less +3 -3
  87. package/lib/ProForm/components/combination/Group/style/index.less +15 -15
  88. package/lib/ProForm/components/combination/ProAddressBar/style/index.less +3 -3
  89. package/lib/ProForm/components/combination/ProCombination/style/index.less +2 -2
  90. package/lib/ProForm/components/combination/ProModalSelect/style/index.less +29 -11
  91. package/lib/ProForm/components/combination/ProNumberRange/style/index.less +10 -10
  92. package/lib/ProForm/components/combination/ProTimeLimit/style/index.less +6 -6
  93. package/lib/ProForm/components/render/RenderFields.js +3 -3
  94. package/lib/ProForm/style/index.less +46 -44
  95. package/lib/ProIcon/style/index.less +4 -1
  96. package/lib/ProLayout/components/Layout/Header/style/index.less +1 -1
  97. package/lib/ProLayout/components/Layout/Menu/FoldMenu/style/index.less +7 -7
  98. package/lib/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +28 -28
  99. package/lib/ProLayout/components/Layout/Menu/SideMenu/style/index.less +11 -11
  100. package/lib/ProLayout/components/ProCollapse/style/index.less +24 -24
  101. package/lib/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +1 -1
  102. package/lib/ProLayout/components/ProHeader/style/index.less +10 -11
  103. package/lib/ProLayout/style/index.less +10 -7
  104. package/lib/ProSelect/index.less +3 -0
  105. package/lib/ProStep/style/index.less +3 -0
  106. package/lib/ProTable/index.js +3 -3
  107. package/lib/ProTable/style/index.less +68 -54
  108. package/lib/ProTabs/style/index.less +14 -11
  109. package/lib/ProThemeTools/component/PrdTools/index.d.ts +1 -1
  110. package/lib/ProThemeTools/component/PrdTools/index.js +7 -6
  111. package/lib/ProThemeTools/component/PrdTools/style/index.less +6 -6
  112. package/lib/ProThemeTools/index.d.ts +1 -1
  113. package/lib/ProThemeTools/index.js +7 -2
  114. package/lib/ProThemeTools/propsType.d.ts +4 -0
  115. package/lib/ProThemeTools/style/index.less +6 -3
  116. package/lib/ProThemeTools/utils/index.d.ts +1 -1
  117. package/lib/ProThemeTools/utils/index.js +2 -1
  118. package/lib/ProTooltip/style/index.less +3 -0
  119. package/lib/ProTree/components/CloseIcon.js +2 -4
  120. package/lib/ProTree/style/index.less +29 -26
  121. package/lib/ProTreeModal/components/CloseIcon.js +2 -4
  122. package/lib/ProTreeModal/components/Trigger.d.ts +3 -0
  123. package/lib/ProTreeModal/components/Trigger.js +74 -18
  124. package/lib/ProTreeModal/index.js +24 -3
  125. package/lib/ProTreeModal/propsType.d.ts +5 -2
  126. package/lib/ProTreeModal/style/index.less +11 -8
  127. package/lib/ProTreeSelect/style/index.less +25 -22
  128. package/lib/ProUpload/components/DragRender.js +7 -4
  129. package/lib/ProUpload/index.js +11 -7
  130. package/lib/ProUpload/style/index.less +7 -4
  131. package/lib/ProViewer/index.js +4 -3
  132. package/lib/ProViewer/style/index.less +6 -3
  133. package/lib/locale/en_US.d.ts +3 -0
  134. package/lib/locale/en_US.js +3 -0
  135. package/lib/locale/zh_CN.d.ts +3 -0
  136. package/lib/locale/zh_CN.js +4 -1
  137. package/lib/style/core/compatible.less +6 -6
  138. package/lib/style/theme/antd.less +172 -157
  139. package/package.json +1 -1
@@ -1,3 +1,6 @@
1
+ @root-entry-name: 'default';
2
+ @import (reference) '~antd/es/style/themes/index.less';
3
+
1
4
  .pro-icon {
2
5
  cursor: pointer;
3
6
 
@@ -17,7 +20,7 @@
17
20
  display: inline-block;
18
21
  }
19
22
 
20
- &.ant-btn-icon-only {
23
+ &.@{ant-prefix}-btn-icon-only {
21
24
  width : auto;
22
25
  height : auto;
23
26
  padding: 0;
@@ -15,7 +15,7 @@
15
15
  box-shadow : 0px 1px 2px 0px rgba(0, 55, 93, 0.1) !important;
16
16
 
17
17
  .pro-layout-header-actions {
18
- .ant-avatar {
18
+ .@{ant-prefix}-avatar {
19
19
  background: var(--zaui-brand, #006aff);
20
20
  }
21
21
  }
@@ -73,28 +73,28 @@
73
73
  top: 80px !important
74
74
  }
75
75
 
76
- .pro-layout-menu-tooltip.pro-layout-menu-tooltip-nav-open.ant-popover-placement-rightBottom,
77
- .pro-layout-menu-tooltip.pro-layout-menu-tooltip-nav-open.ant-popover-placement-rightTop {
76
+ .pro-layout-menu-tooltip.pro-layout-menu-tooltip-nav-open.@{ant-prefix}-popover-placement-rightBottom,
77
+ .pro-layout-menu-tooltip.pro-layout-menu-tooltip-nav-open.@{ant-prefix}-popover-placement-rightTop {
78
78
  left: 220px !important
79
79
  }
80
80
 
81
- .pro-layout-menu-tooltip.ant-popover-placement-rightBottom,
82
- .pro-layout-menu-tooltip.ant-popover-placement-rightTop {
81
+ .pro-layout-menu-tooltip.@{ant-prefix}-popover-placement-rightBottom,
82
+ .pro-layout-menu-tooltip.@{ant-prefix}-popover-placement-rightTop {
83
83
  position : fixed;
84
84
  z-index : 1001;
85
85
  left : 49px !important;
86
86
  padding-left: 0
87
87
  }
88
88
 
89
- .pro-layout-menu-tooltip .ant-popover-inner-content {
89
+ .pro-layout-menu-tooltip .@{ant-prefix}-popover-inner-content {
90
90
  padding: 0
91
91
  }
92
92
 
93
- .pro-layout-menu-tooltip .ant-popover-content>.ant-popover-arrow {
93
+ .pro-layout-menu-tooltip .@{ant-prefix}-popover-content>.@{ant-prefix}-popover-arrow {
94
94
  display: none
95
95
  }
96
96
 
97
- .pro-layout-menu-tooltip .ant-popover-content .ant-popover-inner {
97
+ .pro-layout-menu-tooltip .@{ant-prefix}-popover-content .@{ant-prefix}-popover-inner {
98
98
  padding : 0;
99
99
  box-shadow: 2px 0px 5px 0px rgba(0, 55, 93, 0.1);
100
100
  }
@@ -1,27 +1,27 @@
1
1
  .pro-layout-open-menu {
2
2
  color: #fff;
3
3
 
4
- .ant-menu-root {
4
+ .@{ant-prefix}-menu-root {
5
5
  overflow-y: auto !important;
6
6
 
7
- &>.ant-menu-submenu>.ant-menu-submenu-title,
8
- &>.ant-menu-item.ant-menu-item-only-child {
7
+ &>.@{ant-prefix}-menu-submenu>.@{ant-prefix}-menu-submenu-title,
8
+ &>.@{ant-prefix}-menu-item.@{ant-prefix}-menu-item-only-child {
9
9
  padding-left: 16px !important;
10
10
  }
11
11
 
12
- &>.ant-menu-submenu {
13
- .ant-menu-sub {
12
+ &>.@{ant-prefix}-menu-submenu {
13
+ .@{ant-prefix}-menu-sub {
14
14
  background: #1A202D;
15
15
  }
16
16
 
17
- &>.ant-menu-sub>.ant-menu-submenu>.ant-menu-submenu-title,
18
- &>.ant-menu-item-only-child,
19
- &>.ant-menu-sub>.ant-menu-item-only-child {
17
+ &>.@{ant-prefix}-menu-sub>.@{ant-prefix}-menu-submenu>.@{ant-prefix}-menu-submenu-title,
18
+ &>.@{ant-prefix}-menu-item-only-child,
19
+ &>.@{ant-prefix}-menu-sub>.@{ant-prefix}-menu-item-only-child {
20
20
  padding-left: 16px !important;
21
21
  }
22
22
  }
23
23
 
24
- &>.ant-menu-item-only-child {
24
+ &>.@{ant-prefix}-menu-item-only-child {
25
25
  min-height : 48px;
26
26
  padding-top : 12px;
27
27
  padding-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1) - var(--zaui-space-size-xs; 4px) * var(--zaui-size; 1));
@@ -35,7 +35,7 @@
35
35
  }
36
36
  }
37
37
 
38
- .ant-menu-item {
38
+ .@{ant-prefix}-menu-item {
39
39
  padding-left: 30px !important;
40
40
 
41
41
  &::after {
@@ -45,14 +45,14 @@
45
45
 
46
46
  }
47
47
 
48
- .ant-menu-inline {
49
- .ant-menu-submenu-title {
48
+ .@{ant-prefix}-menu-inline {
49
+ .@{ant-prefix}-menu-submenu-title {
50
50
  margin: 0;
51
51
  }
52
52
  }
53
53
 
54
- .ant-menu-item,
55
- .ant-menu-submenu-title {
54
+ .@{ant-prefix}-menu-item,
55
+ .@{ant-prefix}-menu-submenu-title {
56
56
  &:hover {
57
57
  background: var(--ant-primary-8, #003eb3);
58
58
 
@@ -64,11 +64,11 @@
64
64
  }
65
65
 
66
66
 
67
- .ant-menu.ant-menu-dark {
67
+ .@{ant-prefix}-menu.@{ant-prefix}-menu-dark {
68
68
  background: #1A202D;
69
69
  overflow-x: hidden;
70
70
 
71
- .ant-menu-item-only-child {
71
+ .@{ant-prefix}-menu-item-only-child {
72
72
  &:hover {
73
73
  background: var(--ant-primary-8, #003eb3);
74
74
 
@@ -79,7 +79,7 @@
79
79
  }
80
80
  }
81
81
 
82
- .ant-menu-item-selected {
82
+ .@{ant-prefix}-menu-item-selected {
83
83
  background: var(--zaui-brand, #006aff) !important;
84
84
 
85
85
  h2 {
@@ -87,8 +87,8 @@
87
87
  }
88
88
  }
89
89
 
90
- .ant-menu-sub.ant-menu-inline>.ant-menu-item,
91
- .ant-menu-submenu-title {
90
+ .@{ant-prefix}-menu-sub.@{ant-prefix}-menu-inline>.@{ant-prefix}-menu-item,
91
+ .@{ant-prefix}-menu-submenu-title {
92
92
  white-space: pre-wrap;
93
93
  line-height: initial !important;
94
94
  height : auto !important;
@@ -97,7 +97,7 @@
97
97
  min-height : 48px;
98
98
  }
99
99
 
100
- .ant-menu-title-content {
100
+ .@{ant-prefix}-menu-title-content {
101
101
 
102
102
 
103
103
  div {
@@ -135,19 +135,19 @@
135
135
  transition: all 0.1s ease-in;
136
136
  }
137
137
 
138
- .ant-menu-submenu-open {
138
+ .@{ant-prefix}-menu-submenu-open {
139
139
  .anticon-caret-down {
140
140
  transform: rotateZ(180deg);
141
141
  color : #fff;
142
142
  }
143
143
 
144
- .ant-menu-submenu-inline {
144
+ .@{ant-prefix}-menu-submenu-inline {
145
145
  .anticon-caret-down {
146
146
  transform: rotateZ(0deg);
147
147
  color : #CACACA;
148
148
  }
149
149
 
150
- &.ant-menu-submenu-open {
150
+ &.@{ant-prefix}-menu-submenu-open {
151
151
  .anticon-caret-down {
152
152
  transform: rotateZ(180deg);
153
153
  color : #fff;
@@ -156,13 +156,13 @@
156
156
  }
157
157
  }
158
158
 
159
- .ant-menu-submenu:hover>.ant-menu-submenu-title>.ant-menu-submenu-expand-icon {
159
+ .@{ant-prefix}-menu-submenu:hover>.@{ant-prefix}-menu-submenu-title>.@{ant-prefix}-menu-submenu-expand-icon {
160
160
  color: #fff;
161
161
  }
162
162
 
163
- .ant-menu-submenu-selected {
164
- &>.ant-menu-submenu-title {
165
- .ant-menu-title-content div {
163
+ .@{ant-prefix}-menu-submenu-selected {
164
+ &>.@{ant-prefix}-menu-submenu-title {
165
+ .@{ant-prefix}-menu-title-content div {
166
166
  .pro-layout-icon {
167
167
  color: #fff;
168
168
  }
@@ -175,7 +175,7 @@
175
175
 
176
176
  }
177
177
 
178
- .ant-menu-item-only-child .ant-menu-title-content div {
178
+ .@{ant-prefix}-menu-item-only-child .@{ant-prefix}-menu-title-content div {
179
179
  .pro-layout-icon {
180
180
  color: #CACACA;
181
181
  }
@@ -17,7 +17,7 @@
17
17
  &.pro-layout-sider-menu-list {
18
18
  overflow-y: auto;
19
19
 
20
- .ant-menu-item-selected {
20
+ .@{ant-prefix}-menu-item-selected {
21
21
  background-color: var(--ant-primary-1, #e6f4ff) !important;
22
22
 
23
23
  h2 {
@@ -29,8 +29,8 @@
29
29
  }
30
30
  }
31
31
 
32
- .ant-menu {
33
- .ant-menu-title-content {
32
+ .@{ant-prefix}-menu {
33
+ .@{ant-prefix}-menu-title-content {
34
34
  div h2 {
35
35
  color : var(--zaui-text);
36
36
  padding: 0;
@@ -44,7 +44,7 @@
44
44
  }
45
45
  }
46
46
 
47
- .ant-menu-title-content div .pro-layout-icon {
47
+ .@{ant-prefix}-menu-title-content div .pro-layout-icon {
48
48
  margin-right: 12px;
49
49
 
50
50
  &.pro-layout-icon-empty {
@@ -61,7 +61,7 @@
61
61
  color: var(--zaui-text, #343434) !important;
62
62
  }
63
63
 
64
- &.ant-menu-sub {
64
+ &.@{ant-prefix}-menu-sub {
65
65
  overflow : hidden;
66
66
  background: #fff;
67
67
  }
@@ -69,13 +69,13 @@
69
69
  overflow-x: hidden;
70
70
  overflow-y: auto;
71
71
 
72
- .ant-menu-submenu-title:hover,
73
- .ant-menu-item:hover {
72
+ .@{ant-prefix}-menu-submenu-title:hover,
73
+ .@{ant-prefix}-menu-item:hover {
74
74
  background-color: #f2f2f2;
75
75
  color : #fff;
76
76
  }
77
77
 
78
- .ant-menu-item {
78
+ .@{ant-prefix}-menu-item {
79
79
  margin: 0;
80
80
  }
81
81
 
@@ -83,9 +83,9 @@
83
83
  color: #909090;
84
84
  }
85
85
 
86
- .ant-menu-submenu-title,
87
- &.ant-menu-root>.ant-menu-item-only-child,
88
- &.ant-menu-sub.ant-menu-inline>.ant-menu-item {
86
+ .@{ant-prefix}-menu-submenu-title,
87
+ &.@{ant-prefix}-menu-root>.@{ant-prefix}-menu-item-only-child,
88
+ &.@{ant-prefix}-menu-sub.@{ant-prefix}-menu-inline>.@{ant-prefix}-menu-item {
89
89
  padding-top : 10px;
90
90
  padding-bottom: 10px;
91
91
  min-height : 40px;
@@ -2,38 +2,38 @@
2
2
  background: #f6f8fc;
3
3
 
4
4
  &.pro-collapse-no-title {
5
- .ant-collapse-header {
5
+ .@{ant-prefix}-collapse-header {
6
6
  display: none !important;
7
7
  }
8
8
  }
9
9
 
10
- &.ant-collapse {
10
+ &.@{ant-prefix}-collapse {
11
11
  .pro-collapse-panel {
12
12
  margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
13
13
  }
14
14
  }
15
15
 
16
- .ant-collapse-header {
16
+ .@{ant-prefix}-collapse-header {
17
17
  align-items: center !important;
18
18
  padding : 12px var(--zaui-space-size-md, 16px) !important;
19
19
  background : var(--zaui-area, #fafafa);
20
20
  }
21
21
 
22
- .ant-collapse-header-text {
22
+ .@{ant-prefix}-collapse-header-text {
23
23
  color : var(--zaui-text, #343434);
24
24
  font-weight: 500;
25
25
  font-size : var(--zaui-font-size-lg, 16px);
26
26
  }
27
27
 
28
- .ant-collapse-expand-icon {
28
+ .@{ant-prefix}-collapse-expand-icon {
29
29
  color: #c5c7cd;
30
30
  }
31
31
 
32
- &.ant-collapse-borderless .ant-collapse-item>.ant-collapse-content>.ant-collapse-content-box {
32
+ &.@{ant-prefix}-collapse-borderless .@{ant-prefix}-collapse-item>.@{ant-prefix}-collapse-content>.@{ant-prefix}-collapse-content-box {
33
33
  padding: 0;
34
34
  }
35
35
 
36
- .ant-collapse-content-box {
36
+ .@{ant-prefix}-collapse-content-box {
37
37
  padding : 0;
38
38
  background: var(--zaui-base-bg, #ffffff);
39
39
 
@@ -48,12 +48,12 @@
48
48
  margin-bottom: 0;
49
49
  background : var(--zaui-base-bg, #ffffff);
50
50
 
51
- .ant-collapse-header {
51
+ .@{ant-prefix}-collapse-header {
52
52
  margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
53
53
  padding : 0 !important;
54
54
  background : var(--zaui-base-bg, #ffffff);
55
55
 
56
- .ant-collapse-header-text {
56
+ .@{ant-prefix}-collapse-header-text {
57
57
  position : relative;
58
58
  padding-left: var(--zaui-space-size-sm, 8px);
59
59
  font-size : var(--zaui-font-size, 14px);
@@ -71,7 +71,7 @@
71
71
  }
72
72
  }
73
73
 
74
- .ant-collapse-extra {
74
+ .@{ant-prefix}-collapse-extra {
75
75
  .extra-info {
76
76
  margin-right: var(--zaui-space-size-sm, 8px);
77
77
  }
@@ -79,7 +79,7 @@
79
79
  }
80
80
 
81
81
  .pro-collapse-level2-collapse {
82
- .ant-collapse-extra {
82
+ .@{ant-prefix}-collapse-extra {
83
83
  .extra-info {
84
84
  margin-right: var(--zaui-space-size-lg, 32px);
85
85
  }
@@ -90,24 +90,24 @@
90
90
  padding: 0;
91
91
  }
92
92
 
93
- &.ant-collapse .ant-collapse-item-disabled>.ant-collapse-header,
94
- .ant-collapse .ant-collapse-item-disabled>.ant-collapse-header>.arrow {
93
+ &.@{ant-prefix}-collapse .@{ant-prefix}-collapse-item-disabled>.@{ant-prefix}-collapse-header,
94
+ .@{ant-prefix}-collapse .@{ant-prefix}-collapse-item-disabled>.@{ant-prefix}-collapse-header>.arrow {
95
95
  color : var(--zaui-text, #343434);
96
96
  cursor: default;
97
97
  }
98
98
 
99
- .ant-collapse-expand-icon {
99
+ .@{ant-prefix}-collapse-expand-icon {
100
100
  display: none;
101
101
  }
102
102
 
103
103
  .pro-collapse-level2-collapse {
104
- .ant-collapse-expand-icon {
104
+ .@{ant-prefix}-collapse-expand-icon {
105
105
  display: block;
106
106
  }
107
107
  }
108
108
  }
109
109
 
110
- .ant-collapse-extra {
110
+ .@{ant-prefix}-collapse-extra {
111
111
  .extra-info {
112
112
  margin-right: 24px;
113
113
  }
@@ -115,17 +115,17 @@
115
115
 
116
116
  &.pro-collapse-list {
117
117
 
118
- .ant-descriptions-row>th,
119
- .ant-descriptions-row>td {
118
+ .@{ant-prefix}-descriptions-row>th,
119
+ .@{ant-prefix}-descriptions-row>td {
120
120
  padding : var(--zaui-space-size-md, 16px) 0;
121
121
  background: #fafafa;
122
122
 
123
- &.ant-descriptions-item {
123
+ &.@{ant-prefix}-descriptions-item {
124
124
  padding-left: var(--zaui-space-size-md, 16px);
125
125
  }
126
126
  }
127
127
 
128
- .ant-descriptions-row {
128
+ .@{ant-prefix}-descriptions-row {
129
129
  td:first-child {
130
130
  position: relative;
131
131
 
@@ -143,17 +143,17 @@
143
143
  }
144
144
  }
145
145
 
146
- .ant-descriptions-item-container {
146
+ .@{ant-prefix}-descriptions-item-container {
147
147
 
148
- .ant-descriptions-item-label,
149
- .ant-descriptions-item-content {
148
+ .@{ant-prefix}-descriptions-item-label,
149
+ .@{ant-prefix}-descriptions-item-content {
150
150
  color : #0a0a0a !important;
151
151
  font-weight: 500 !important;
152
152
  font-size : var(--zaui-font-size, 14px);
153
153
  }
154
154
  }
155
155
 
156
- .ant-descriptions {
156
+ .@{ant-prefix}-descriptions {
157
157
  margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
158
158
  }
159
159
  }
@@ -1,5 +1,5 @@
1
1
  .back-button-container {
2
- &.ant-btn {
2
+ &.@{ant-prefix}-btn {
3
3
  color : var(--zaui-text);
4
4
  font-weight: 400;
5
5
  background : var(--zaui-disabled-bg);
@@ -2,7 +2,7 @@
2
2
 
3
3
  .pro-header {
4
4
  background-color: var(--zaui-base-bg, #ffffff);
5
- padding : 24px 0 0 0;
5
+ padding : 16px 0 0 0 !important;
6
6
 
7
7
  &.pro-header-no-back.pro-header-has-describe {
8
8
  .pro-header-top {
@@ -52,7 +52,7 @@
52
52
  display : flex;
53
53
  align-items : center;
54
54
 
55
- .ant-typography-copy-success {
55
+ .@{ant-prefix}-typography-copy-success {
56
56
  svg {
57
57
  width : 14px;
58
58
  height : 14px;
@@ -104,18 +104,18 @@
104
104
  box-shadow: 0px 1px 2px 0px rgba(0, 55, 93, 0.1);
105
105
  }
106
106
 
107
- .ant-breadcrumb {
107
+ .@{ant-prefix}-breadcrumb {
108
108
  li {
109
109
  font-weight: 500;
110
110
  color : #1D2129;
111
111
  }
112
112
 
113
- .ant-breadcrumb-link {
113
+ .@{ant-prefix}-breadcrumb-link {
114
114
  font-size: var(--zaui-font-size-xl, 18px);
115
115
  display : inline-flex;
116
116
  }
117
117
 
118
- .ant-breadcrumb-separator {
118
+ .@{ant-prefix}-breadcrumb-separator {
119
119
  font-weight: 500;
120
120
  color : #1D2129;
121
121
  font-size : var(--zaui-font-size-xl, 18px);
@@ -167,7 +167,7 @@
167
167
  font-size: var(--zaui-font-size-lg, 16px);
168
168
  }
169
169
 
170
- .ant-typography {
170
+ .@{ant-prefix}-typography {
171
171
  display : flex;
172
172
  margin-bottom: 0;
173
173
  }
@@ -192,19 +192,19 @@
192
192
  }
193
193
 
194
194
  .pro-header-right {
195
- .ant-btn-link {
195
+ .@{ant-prefix}-btn-link {
196
196
  color: #616161;
197
197
  }
198
198
 
199
- .ant-btn-primary {
199
+ .@{ant-prefix}-btn-primary {
200
200
  color: #ffffff;
201
201
  }
202
202
 
203
- .ant-btn-link {
203
+ .@{ant-prefix}-btn-link {
204
204
  padding: var(--zaui-space-size-xs, 4px), var(--zaui-space-size-sm, 8px);
205
205
  }
206
206
 
207
- .ant-divider-vertical {
207
+ .@{ant-prefix}-divider-vertical {
208
208
  margin: 0;
209
209
  }
210
210
  }
@@ -232,7 +232,6 @@
232
232
 
233
233
  ul {
234
234
  height : 0;
235
- // padding : 0;
236
235
  overflow : hidden;
237
236
  }
238
237
  }
@@ -1,3 +1,6 @@
1
+ @root-entry-name: 'default';
2
+ @import (reference) '~antd/es/style/themes/index.less';
3
+
1
4
  @import "../components/Layout/index.less";
2
5
  @import "../components/ProCollapse/style/index.less";
3
6
  @import "../components/ProFooter/style/index.less";
@@ -26,7 +29,7 @@
26
29
  box-shadow: 2px 0px 5px 0px rgba(0, 55, 93, 0.1);
27
30
  }
28
31
 
29
- .pro-layout-open-menu .ant-menu-title-content div .pro-layout-icon {
32
+ .pro-layout-open-menu .@{ant-prefix}-menu-title-content div .pro-layout-icon {
30
33
  color : var(--zaui-text, #343434);
31
34
  position: relative;
32
35
  z-index : 1;
@@ -114,7 +117,7 @@
114
117
  background: var(--zaui-base-bg, #fff);
115
118
  }
116
119
 
117
- .ant-menu-root {
120
+ .@{ant-prefix}-menu-root {
118
121
  overflow-x: hidden !important;
119
122
  }
120
123
 
@@ -126,16 +129,16 @@
126
129
  background: var(--zaui-base-bg, #ffffff);
127
130
  }
128
131
 
129
- .pro-layout-open-menu .ant-menu-root>.ant-menu-submenu .ant-menu-sub {
132
+ .pro-layout-open-menu .@{ant-prefix}-menu-root>.@{ant-prefix}-menu-submenu .@{ant-prefix}-menu-sub {
130
133
  background: var(--zaui-base-bg, #ffffff);
131
134
  }
132
135
 
133
- .pro-layout-open-menu .ant-menu-title-content div h2 {
136
+ .pro-layout-open-menu .@{ant-prefix}-menu-title-content div h2 {
134
137
  color: var(--zaui-text, #343434);
135
138
  }
136
139
 
137
- .pro-layout-open-menu .ant-menu-item:hover,
138
- .pro-layout-open-menu .ant-menu-submenu-title:hover {
140
+ .pro-layout-open-menu .@{ant-prefix}-menu-item:hover,
141
+ .pro-layout-open-menu .@{ant-prefix}-menu-submenu-title:hover {
139
142
  background: transparent;
140
143
  position : relative;
141
144
 
@@ -151,7 +154,7 @@
151
154
  }
152
155
  }
153
156
 
154
- .pro-layout-open-menu .ant-menu-item-selected {
157
+ .pro-layout-open-menu .@{ant-prefix}-menu-item-selected {
155
158
  &::after {
156
159
  display: none;
157
160
  }
@@ -1,3 +1,6 @@
1
+ @root-entry-name: 'default';
2
+ @import (reference) '~antd/es/style/themes/index.less';
3
+
1
4
  .pro-select-ellipse {
2
5
  display: block;
3
6
  width: 100%;
@@ -1,3 +1,6 @@
1
+ @root-entry-name: 'default';
2
+ @import (reference) '~antd/es/style/themes/index.less';
3
+
1
4
  .pro-step-wrapper {
2
5
  padding-right: 48px;
3
6
  }
@@ -311,15 +311,15 @@ function ProTable(props) {
311
311
  columns: columns,
312
312
  locale: {
313
313
  emptyText: _jsxs("div", {
314
- className: "ant-empty ant-empty-normal",
314
+ className: "pro-table-empty",
315
315
  children: [_jsx("div", {
316
- className: "ant-empty-image",
316
+ className: "empty-image",
317
317
  children: _jsx("img", {
318
318
  src: empty,
319
319
  alt: locale === null || locale === void 0 ? void 0 : (_locale$ProTable5 = locale.ProTable) === null || _locale$ProTable5 === void 0 ? void 0 : _locale$ProTable5.noData
320
320
  })
321
321
  }), _jsx("div", {
322
- className: "ant-empty-description",
322
+ className: "empty-description",
323
323
  children: typeof emptyText === 'function' ? emptyText() : emptyText
324
324
  })]
325
325
  })