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

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 (141) hide show
  1. package/README.md +7 -0
  2. package/dist/index.esm.css +47 -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/components/ImageRender.js +5 -1
  62. package/es/ProUpload/index.js +11 -7
  63. package/es/ProUpload/style/index.less +13 -4
  64. package/es/ProViewer/index.js +3 -1
  65. package/es/ProViewer/style/index.less +6 -3
  66. package/es/locale/en_US.d.ts +3 -0
  67. package/es/locale/en_US.js +3 -0
  68. package/es/locale/zh_CN.d.ts +3 -0
  69. package/es/locale/zh_CN.js +4 -1
  70. package/es/style/core/compatible.less +6 -6
  71. package/es/style/theme/antd.less +172 -157
  72. package/lib/ProAction/index.less +3 -0
  73. package/lib/ProDownload/index.js +9 -6
  74. package/lib/ProDownload/style/index.less +5 -2
  75. package/lib/ProDrawerForm/style/index.less +17 -14
  76. package/lib/ProEditLabel/style/index.less +12 -9
  77. package/lib/ProEditTable/index.js +6 -2
  78. package/lib/ProEditTable/style/index.less +50 -42
  79. package/lib/ProEditTable/utils/config.d.ts +1 -1
  80. package/lib/ProEditTable/utils/config.js +3 -3
  81. package/lib/ProEnum/style/index.less +3 -0
  82. package/lib/ProForm/components/base/DatePicker/index.js +0 -3
  83. package/lib/ProForm/components/base/SwitchCheckbox/style/index.less +3 -0
  84. package/lib/ProForm/components/base/TextArea/index.less +4 -3
  85. package/lib/ProForm/components/base/TimePicker/style/index.less +4 -1
  86. package/lib/ProForm/components/combination/Container/style/index.less +3 -3
  87. package/lib/ProForm/components/combination/FormList/style/index.less +3 -3
  88. package/lib/ProForm/components/combination/Group/style/index.less +15 -15
  89. package/lib/ProForm/components/combination/ProAddressBar/style/index.less +3 -3
  90. package/lib/ProForm/components/combination/ProCombination/style/index.less +2 -2
  91. package/lib/ProForm/components/combination/ProModalSelect/style/index.less +29 -11
  92. package/lib/ProForm/components/combination/ProNumberRange/style/index.less +10 -10
  93. package/lib/ProForm/components/combination/ProTimeLimit/style/index.less +6 -6
  94. package/lib/ProForm/components/render/RenderFields.js +3 -3
  95. package/lib/ProForm/style/index.less +46 -44
  96. package/lib/ProIcon/style/index.less +4 -1
  97. package/lib/ProLayout/components/Layout/Header/style/index.less +1 -1
  98. package/lib/ProLayout/components/Layout/Menu/FoldMenu/style/index.less +7 -7
  99. package/lib/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +28 -28
  100. package/lib/ProLayout/components/Layout/Menu/SideMenu/style/index.less +11 -11
  101. package/lib/ProLayout/components/ProCollapse/style/index.less +24 -24
  102. package/lib/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +1 -1
  103. package/lib/ProLayout/components/ProHeader/style/index.less +10 -11
  104. package/lib/ProLayout/style/index.less +10 -7
  105. package/lib/ProSelect/index.less +3 -0
  106. package/lib/ProStep/style/index.less +3 -0
  107. package/lib/ProTable/index.js +3 -3
  108. package/lib/ProTable/style/index.less +68 -54
  109. package/lib/ProTabs/style/index.less +14 -11
  110. package/lib/ProThemeTools/component/PrdTools/index.d.ts +1 -1
  111. package/lib/ProThemeTools/component/PrdTools/index.js +7 -6
  112. package/lib/ProThemeTools/component/PrdTools/style/index.less +6 -6
  113. package/lib/ProThemeTools/index.d.ts +1 -1
  114. package/lib/ProThemeTools/index.js +7 -2
  115. package/lib/ProThemeTools/propsType.d.ts +4 -0
  116. package/lib/ProThemeTools/style/index.less +6 -3
  117. package/lib/ProThemeTools/utils/index.d.ts +1 -1
  118. package/lib/ProThemeTools/utils/index.js +2 -1
  119. package/lib/ProTooltip/style/index.less +3 -0
  120. package/lib/ProTree/components/CloseIcon.js +2 -4
  121. package/lib/ProTree/style/index.less +29 -26
  122. package/lib/ProTreeModal/components/CloseIcon.js +2 -4
  123. package/lib/ProTreeModal/components/Trigger.d.ts +3 -0
  124. package/lib/ProTreeModal/components/Trigger.js +74 -18
  125. package/lib/ProTreeModal/index.js +24 -3
  126. package/lib/ProTreeModal/propsType.d.ts +5 -2
  127. package/lib/ProTreeModal/style/index.less +11 -8
  128. package/lib/ProTreeSelect/style/index.less +25 -22
  129. package/lib/ProUpload/components/DragRender.js +7 -4
  130. package/lib/ProUpload/components/ImageRender.js +5 -1
  131. package/lib/ProUpload/index.js +11 -7
  132. package/lib/ProUpload/style/index.less +13 -4
  133. package/lib/ProViewer/index.js +4 -3
  134. package/lib/ProViewer/style/index.less +6 -3
  135. package/lib/locale/en_US.d.ts +3 -0
  136. package/lib/locale/en_US.js +3 -0
  137. package/lib/locale/zh_CN.d.ts +3 -0
  138. package/lib/locale/zh_CN.js +4 -1
  139. package/lib/style/core/compatible.less +6 -6
  140. package/lib/style/theme/antd.less +172 -157
  141. package/package.json +1 -1
@@ -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
  })
@@ -1,38 +1,41 @@
1
+ @root-entry-name: 'default';
2
+ @import (reference) '~antd/es/style/themes/index.less';
3
+
1
4
  .pro-table {
2
5
  &.pro-table-bordered {
3
- .ant-table .ant-table-thead>tr>th {
6
+ .@{ant-prefix}-table .@{ant-prefix}-table-thead>tr>th {
4
7
  border-bottom: 1px solid #f0f0f0
5
8
  }
6
9
 
7
- .ant-table>.ant-table-container>.ant-table-content>table,
8
- .ant-table>.ant-table-container>.ant-table-header>table {
10
+ .@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-content>table,
11
+ .@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-header>table {
9
12
  border-top: 1px solid rgba(0, 0, 0, 0.06);
10
13
  }
11
14
 
12
- .ant-table>.ant-table-container>.ant-table-content>table>thead>tr>th,
13
- .ant-table>.ant-table-container>.ant-table-header>table>thead>tr>th,
14
- .ant-table>.ant-table-container>.ant-table-body>table>thead>tr>th,
15
- .ant-table>.ant-table-container>.ant-table-summary>table>thead>tr>th,
16
- .ant-table>.ant-table-container>.ant-table-content>table>tbody>tr>td,
17
- .ant-table>.ant-table-container>.ant-table-header>table>tbody>tr>td,
18
- .ant-table>.ant-table-container>.ant-table-body>table>tbody>tr>td,
19
- .ant-table>.ant-table-container>.ant-table-summary>table>tbody>tr>td,
20
- .ant-table>.ant-table-container>.ant-table-content>table>tfoot>tr>th,
21
- .ant-table>.ant-table-container>.ant-table-header>table>tfoot>tr>th,
22
- .ant-table>.ant-table-container>.ant-table-body>table>tfoot>tr>th,
23
- .ant-table>.ant-table-container>.ant-table-summary>table>tfoot>tr>th,
24
- .ant-table>.ant-table-container>.ant-table-content>table>tfoot>tr>td,
25
- .ant-table>.ant-table-container>.ant-table-header>table>tfoot>tr>td,
26
- .ant-table>.ant-table-container>.ant-table-body>table>tfoot>tr>td,
27
- .ant-table>.ant-table-container>.ant-table-summary>table>tfoot>tr>td {
15
+ .@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-content>table>thead>tr>th,
16
+ .@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-header>table>thead>tr>th,
17
+ .@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-body>table>thead>tr>th,
18
+ .@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-summary>table>thead>tr>th,
19
+ .@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-content>table>tbody>tr>td,
20
+ .@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-header>table>tbody>tr>td,
21
+ .@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-body>table>tbody>tr>td,
22
+ .@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-summary>table>tbody>tr>td,
23
+ .@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-content>table>tfoot>tr>th,
24
+ .@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-header>table>tfoot>tr>th,
25
+ .@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-body>table>tfoot>tr>th,
26
+ .@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-summary>table>tfoot>tr>th,
27
+ .@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-content>table>tfoot>tr>td,
28
+ .@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-header>table>tfoot>tr>td,
29
+ .@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-body>table>tfoot>tr>td,
30
+ .@{ant-prefix}-table>.@{ant-prefix}-table-container>.@{ant-prefix}-table-summary>table>tfoot>tr>td {
28
31
  border-right: 1px solid rgba(0, 0, 0, 0.06);
29
32
  }
30
33
 
31
- .ant-table .ant-table-tbody>tr:not(.ant-table-measure-row)>td {
34
+ .@{ant-prefix}-table .@{ant-prefix}-table-tbody>tr:not(.@{ant-prefix}-table-measure-row)>td {
32
35
  border-bottom: 1px solid #f0f0f0;
33
36
  }
34
37
 
35
- .ant-table>.ant-table-container {
38
+ .@{ant-prefix}-table>.@{ant-prefix}-table-container {
36
39
  border-left: 1px solid rgba(0, 0, 0, 0.06);
37
40
  }
38
41
  }
@@ -54,14 +57,14 @@
54
57
  }
55
58
  }
56
59
 
57
- .ant-table-tbody {
58
- .ant-table-cell-fix-left, .ant-table-cell-fix-right {
60
+ .@{ant-prefix}-table-tbody {
61
+ .@{ant-prefix}-table-cell-fix-left, .@{ant-prefix}-table-cell-fix-right {
59
62
  background: unset !important;
60
63
  }
61
64
  }
62
65
 
63
- .ant-table-body {
64
- .ant-table-cell .varied-cell {
66
+ .@{ant-prefix}-table-body {
67
+ .@{ant-prefix}-table-cell .varied-cell {
65
68
  margin-left: -8px;
66
69
  background: var(--zaui-contract-bg, #fffaa1);
67
70
  padding: var(--zaui-space-size-xs, 4px) var(--zaui-space-size-sm, 8px);
@@ -76,7 +79,7 @@
76
79
  .copyable-table-cell {
77
80
 
78
81
 
79
- .ant-typography {
82
+ .@{ant-prefix}-typography {
80
83
  margin-bottom: 0;
81
84
  display : flex;
82
85
  align-items : center;
@@ -89,7 +92,7 @@
89
92
  }
90
93
  }
91
94
 
92
- .ant-typography-copy-success {
95
+ .@{ant-prefix}-typography-copy-success {
93
96
  svg {
94
97
  fill: var(--zaui-success, #00ae4d);
95
98
  }
@@ -104,14 +107,14 @@
104
107
  }
105
108
 
106
109
  &.pro-table-no-stripe {
107
- .ant-table.ant-table-scroll-horizontal .ant-table-tbody .ant-table-row:nth-child(n)>td {
110
+ .@{ant-prefix}-table.@{ant-prefix}-table-scroll-horizontal .@{ant-prefix}-table-tbody .@{ant-prefix}-table-row:nth-child(n)>td {
108
111
  background: var(--zaui-base-bg, #ffffff);
109
112
  }
110
113
  }
111
114
 
112
- .ant-table-thead {
113
- .ant-dropdown-trigger {
114
- &.ant-dropdown-open {
115
+ .@{ant-prefix}-table-thead {
116
+ .@{ant-prefix}-dropdown-trigger {
117
+ &.@{ant-prefix}-dropdown-open {
115
118
 
116
119
  .anticon-down {
117
120
  transition: transform 0.3s;
@@ -134,7 +137,7 @@
134
137
  }
135
138
  }
136
139
 
137
- .ant-table-thead {
140
+ .@{ant-prefix}-table-thead {
138
141
  tr th {
139
142
  &:last-child {
140
143
  .react-resizable-handle {
@@ -144,11 +147,11 @@
144
147
  }
145
148
  }
146
149
 
147
- .ant-space {
150
+ .@{ant-prefix}-space {
148
151
  gap: var(--zaui-space-size-sm, 8px) !important;
149
152
  }
150
153
 
151
- .ant-btn-link {
154
+ .@{ant-prefix}-btn-link {
152
155
  padding: 0 var(--zaui-space-size-xs, 4px);
153
156
 
154
157
  &:first-child {
@@ -165,7 +168,7 @@
165
168
  display : flex;
166
169
  align-items: center;
167
170
 
168
- >.ant-btn {
171
+ >.@{ant-prefix}-btn {
169
172
 
170
173
  &:hover,
171
174
  &:visited,
@@ -182,11 +185,22 @@
182
185
  }
183
186
  }
184
187
 
185
- .ant-empty .ant-empty-image {
186
- height: 80px;
188
+ .pro-table-empty {
189
+ margin: var(--zaui-space-size-lg, 32px) 0;
190
+ color: rgba(0, 0, 0, 0.25);
191
+ font-size: var(--zaui-font-size-md, 14px);
192
+ text-align: center;
193
+
194
+ .empty-image {
195
+ height: 80px;
196
+
197
+ img {
198
+ height: 100%;
199
+ }
200
+ }
187
201
  }
188
202
 
189
- .ant-table .ant-table-thead>tr>th {
203
+ .@{ant-prefix}-table .@{ant-prefix}-table-thead>tr>th {
190
204
  border-bottom: 0;
191
205
  white-space : nowrap;
192
206
  background : var(--zaui-table-header-bg, #f2f3f5);
@@ -229,29 +243,29 @@
229
243
  }
230
244
  }
231
245
 
232
- .ant-table.ant-table-bordered {
233
- .ant-table-thead>tr>th {
246
+ .@{ant-prefix}-table.@{ant-prefix}-table-bordered {
247
+ .@{ant-prefix}-table-thead>tr>th {
234
248
  border-bottom: 1px solid #f0f0f0;
235
249
  }
236
250
 
237
- .ant-table-tbody>tr:not(.ant-table-placeholder)>td {
251
+ .@{ant-prefix}-table-tbody>tr:not(.@{ant-prefix}-table-placeholder)>td {
238
252
  border-bottom: 1px solid #f0f0f0;
239
253
  }
240
254
 
241
- .ant-table-tbody>tr:not(.ant-table-measure-row)>td {
255
+ .@{ant-prefix}-table-tbody>tr:not(.@{ant-prefix}-table-measure-row)>td {
242
256
  border-bottom: 1px solid #f0f0f0;
243
257
  }
244
258
  }
245
259
 
246
- .ant-table-tbody .ant-table-placeholder {
260
+ .@{ant-prefix}-table-tbody .@{ant-prefix}-table-placeholder {
247
261
  background: var(--zaui-base-bg, #ffffff) !important;
248
262
  }
249
263
 
250
- .ant-table-tbody>tr:not(.ant-table-placeholder)>td {
264
+ .@{ant-prefix}-table-tbody>tr:not(.@{ant-prefix}-table-placeholder)>td {
251
265
  border-bottom: 0;
252
266
  }
253
267
 
254
- .ant-table-tbody>tr:not(.ant-table-measure-row)>td {
268
+ .@{ant-prefix}-table-tbody>tr:not(.@{ant-prefix}-table-measure-row)>td {
255
269
  border-bottom: 0;
256
270
  }
257
271
 
@@ -259,7 +273,7 @@
259
273
  position : relative;
260
274
  background-clip: padding-box;
261
275
 
262
- .ant-table-filter-trigger {
276
+ .@{ant-prefix}-table-filter-trigger {
263
277
  margin-right: 0;
264
278
  }
265
279
  }
@@ -295,20 +309,20 @@
295
309
  }
296
310
  }
297
311
 
298
- .ant-table-tbody tr td .ant-checkbox-wrapper-checked.checkbox-disabled {
312
+ .@{ant-prefix}-table-tbody tr td .@{ant-prefix}-checkbox-wrapper-checked.checkbox-disabled {
299
313
  pointer-events: none;
300
314
  cursor : not-allowed;
301
315
  opacity : 0.5;
302
316
  }
303
317
 
304
- .ant-pagination-options-quick-jumper input {
318
+ .@{ant-prefix}-pagination-options-quick-jumper input {
305
319
  border : unset;
306
320
  background: #FAFAFA;
307
321
  min-width : 32px;
308
322
  height : 32px;
309
323
  }
310
324
 
311
- .ant-pagination .ant-pagination-item-active a {
325
+ .@{ant-prefix}-pagination .@{ant-prefix}-pagination-item-active a {
312
326
  color : #ffffff;
313
327
  background : var(--zaui-brand, #006aff) !important;
314
328
  border-radius: var(--zaui-border-radius, 4px);
@@ -324,10 +338,10 @@
324
338
  }
325
339
  }
326
340
 
327
- .ant-table-summary {
341
+ .@{ant-prefix}-table-summary {
328
342
  background-color: var(--zaui-table-header-bg, #f2f3f5);
329
343
 
330
- .ant-table-cell {
344
+ .@{ant-prefix}-table-cell {
331
345
  font-weight : 500;
332
346
  background-color: var(--zaui-table-header-bg, #f2f3f5);
333
347
  border : none;
@@ -335,10 +349,10 @@
335
349
  }
336
350
  }
337
351
 
338
- .ant-dropdown-placement-bottomLeft {
339
- .ant-dropdown-menu-vertical.ant-dropdown-menu-light {
352
+ .@{ant-prefix}-dropdown-placement-bottomLeft {
353
+ .@{ant-prefix}-dropdown-menu-vertical.@{ant-prefix}-dropdown-menu-light {
340
354
 
341
- .ant-dropdown-menu-item-only-child {
355
+ .@{ant-prefix}-dropdown-menu-item-only-child {
342
356
  &:hover {
343
357
  background: rgba(0, 106, 255, 0.08);
344
358
  }
@@ -1,17 +1,20 @@
1
+ @root-entry-name: 'default';
2
+ @import (reference) '~antd/es/style/themes/index.less';
3
+
1
4
  .pro-tabs {
2
- .ant-tabs .ant-tabs-nav-list .ant-tabs-tab {
5
+ .@{ant-prefix}-tabs .@{ant-prefix}-tabs-nav-list .@{ant-prefix}-tabs-tab {
3
6
  padding: 0 !important;
4
7
  }
5
8
 
6
- .ant-tabs-top > .ant-tabs-nav::before,
7
- .ant-tabs-bottom > .ant-tabs-nav::before,
8
- .ant-tabs-top > div > .ant-tabs-nav::before,
9
- .ant-tabs-bottom > div > .ant-tabs-nav::before {
9
+ .@{ant-prefix}-tabs-top > .@{ant-prefix}-tabs-nav::before,
10
+ .@{ant-prefix}-tabs-bottom > .@{ant-prefix}-tabs-nav::before,
11
+ .@{ant-prefix}-tabs-top > div > .@{ant-prefix}-tabs-nav::before,
12
+ .@{ant-prefix}-tabs-bottom > div > .@{ant-prefix}-tabs-nav::before {
10
13
  border: none;
11
14
  }
12
15
 
13
- .ant-tabs-nav-list {
14
- .ant-tabs-tab {
16
+ .@{ant-prefix}-tabs-nav-list {
17
+ .@{ant-prefix}-tabs-tab {
15
18
  &:first-child {
16
19
  .pro-tabs-card {
17
20
  border-left: 1px solid var(--zaui-line, #dddddd);
@@ -20,13 +23,13 @@
20
23
  }
21
24
  }
22
25
 
23
- .ant-tabs-tab-active {
26
+ .@{ant-prefix}-tabs-tab-active {
24
27
  .pro-tabs-card {
25
28
  background: var(--ant-primary-color-active-deprecated-f-30, rgba(230, 247, 255, 0.3));
26
29
  }
27
30
  }
28
31
 
29
- .ant-tabs-ink-bar {
32
+ .@{ant-prefix}-tabs-ink-bar {
30
33
  top: 0;
31
34
  height: 3px !important;
32
35
  }
@@ -66,13 +69,13 @@
66
69
 
67
70
  .pro-tabs-tab {
68
71
  .pro-tabs-card {
69
- .ant-tag {
72
+ .@{ant-prefix}-tag {
70
73
  margin-right: 0;
71
74
  padding: 0 var(--zaui-space-size-xs, 4px);
72
75
  border-radius: 10px;
73
76
  }
74
77
 
75
- .ant-space-item {
78
+ .@{ant-prefix}-space-item {
76
79
  display: flex;
77
80
  }
78
81
  }
@@ -1,3 +1,3 @@
1
1
  import type { DevToolsPropsType } from '../../propsType';
2
- declare const PrdTools: ({ onReset, onClose, setState, visible, state, tableBorder, tableStripe, }: DevToolsPropsType) => JSX.Element;
2
+ declare const PrdTools: ({ onReset, onClose, setState, visible, state, tableBorder, tableStripe, prefixCls, }: DevToolsPropsType) => JSX.Element;
3
3
  export default PrdTools;