@zat-design/sisyphus-react 3.4.1 → 3.4.2-beta.2

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 (98) hide show
  1. package/dist/index.esm.css +52 -123
  2. package/es/ProConfigProvider/index.js +8 -1
  3. package/es/ProEditLabel/style/index.less +1 -1
  4. package/es/ProEditTable/style/index.less +1 -1
  5. package/es/ProEditTable/utils/index.js +6 -4
  6. package/es/ProEnum/style/index.less +4 -3
  7. package/es/ProForm/components/base/DatePicker/index.js +2 -2
  8. package/es/ProForm/components/base/InputNumber/index.js +3 -0
  9. package/es/ProForm/components/combination/Group/index.js +19 -2
  10. package/es/ProForm/components/combination/Group/propsType.d.ts +4 -0
  11. package/es/ProForm/components/combination/Group/style/index.less +7 -4
  12. package/es/ProForm/components/combination/ProTimeLimit/index.js +8 -2
  13. package/es/ProForm/components/index.d.ts +0 -1
  14. package/es/ProForm/components/index.js +1 -1
  15. package/es/ProForm/components/render/ConfirmWrapper.js +15 -23
  16. package/es/ProForm/components/render/Render.js +24 -16
  17. package/es/ProForm/components/render/RenderFields.d.ts +1 -0
  18. package/es/ProForm/components/render/RenderFields.js +4 -2
  19. package/es/ProForm/components/render/propsType.d.ts +1 -4
  20. package/es/ProForm/index.js +6 -4
  21. package/es/ProForm/propsType.d.ts +2 -0
  22. package/es/ProForm/utils/index.d.ts +2 -0
  23. package/es/ProForm/utils/index.js +14 -13
  24. package/es/ProIcon/config/index.d.ts +4 -0
  25. package/es/ProIcon/config/index.js +199 -0
  26. package/es/ProIcon/index.js +77 -31
  27. package/es/ProIcon/propsTypes.d.ts +23 -1
  28. package/es/ProIcon/symbolIcon.js +1 -1
  29. package/es/ProLayout/components/Layout/Menu/style/index.less +1 -1
  30. package/es/ProLayout/components/ProCollapse/PropTypes.d.ts +5 -0
  31. package/es/ProLayout/components/ProCollapse/index.js +3 -0
  32. package/es/ProLayout/components/ProCollapse/style/index.less +19 -4
  33. package/es/ProLayout/components/ProHeader/style/index.less +2 -2
  34. package/es/ProLayout/style/index.less +4 -4
  35. package/es/ProTable/style/index.less +2 -2
  36. package/es/ProThemeTools/component/PrdTools/style/index.less +1 -1
  37. package/es/{ProTreeSelect → ProTree/components/ProTreeSelect}/index.js +2 -2
  38. package/{lib → es/ProTree/components}/ProTreeSelect/propsType.d.ts +1 -1
  39. package/es/ProTree/index.js +1 -1
  40. package/es/ProTreeModal/style/index.less +10 -2
  41. package/es/ProUpload/style/fileItem.less +2 -2
  42. package/es/ProUpload/style/index.less +2 -2
  43. package/es/style/components.less +0 -1
  44. package/es/style/theme/index.less +2 -2
  45. package/es/style/theme/tokens.less +2 -2
  46. package/es/tokens.js +2 -2
  47. package/lib/ProConfigProvider/index.js +8 -1
  48. package/lib/ProEditLabel/style/index.less +1 -1
  49. package/lib/ProEditTable/style/index.less +1 -1
  50. package/lib/ProEditTable/utils/index.js +6 -4
  51. package/lib/ProEnum/style/index.less +4 -3
  52. package/lib/ProForm/components/base/DatePicker/index.js +1 -1
  53. package/lib/ProForm/components/base/InputNumber/index.js +3 -0
  54. package/lib/ProForm/components/combination/Group/index.js +18 -1
  55. package/lib/ProForm/components/combination/Group/propsType.d.ts +4 -0
  56. package/lib/ProForm/components/combination/Group/style/index.less +7 -4
  57. package/lib/ProForm/components/combination/ProTimeLimit/index.js +7 -1
  58. package/lib/ProForm/components/index.d.ts +0 -1
  59. package/lib/ProForm/components/index.js +0 -7
  60. package/lib/ProForm/components/render/ConfirmWrapper.js +15 -23
  61. package/lib/ProForm/components/render/Render.js +23 -15
  62. package/lib/ProForm/components/render/RenderFields.d.ts +1 -0
  63. package/lib/ProForm/components/render/RenderFields.js +4 -2
  64. package/lib/ProForm/components/render/propsType.d.ts +1 -4
  65. package/lib/ProForm/index.js +5 -3
  66. package/lib/ProForm/propsType.d.ts +2 -0
  67. package/lib/ProForm/utils/index.d.ts +2 -0
  68. package/lib/ProForm/utils/index.js +14 -13
  69. package/lib/ProIcon/config/index.d.ts +4 -0
  70. package/lib/ProIcon/config/index.js +205 -0
  71. package/lib/ProIcon/index.js +77 -31
  72. package/lib/ProIcon/propsTypes.d.ts +23 -1
  73. package/lib/ProIcon/symbolIcon.js +1 -1
  74. package/lib/ProLayout/components/Layout/Menu/style/index.less +1 -1
  75. package/lib/ProLayout/components/ProCollapse/PropTypes.d.ts +5 -0
  76. package/lib/ProLayout/components/ProCollapse/index.js +3 -0
  77. package/lib/ProLayout/components/ProCollapse/style/index.less +19 -4
  78. package/lib/ProLayout/components/ProHeader/style/index.less +2 -2
  79. package/lib/ProLayout/style/index.less +4 -4
  80. package/lib/ProTable/style/index.less +2 -2
  81. package/lib/ProThemeTools/component/PrdTools/style/index.less +1 -1
  82. package/lib/{ProTreeSelect → ProTree/components/ProTreeSelect}/index.js +2 -2
  83. package/{es → lib/ProTree/components}/ProTreeSelect/propsType.d.ts +1 -1
  84. package/lib/ProTree/index.js +1 -1
  85. package/lib/ProTreeModal/style/index.less +10 -2
  86. package/lib/ProUpload/style/fileItem.less +2 -2
  87. package/lib/ProUpload/style/index.less +2 -2
  88. package/lib/style/components.less +0 -1
  89. package/lib/style/theme/index.less +2 -2
  90. package/lib/style/theme/tokens.less +2 -2
  91. package/lib/tokens.js +2 -2
  92. package/package.json +1 -1
  93. /package/es/{ProTreeSelect → ProTree/components/ProTreeSelect}/index.d.ts +0 -0
  94. /package/es/{ProTreeSelect → ProTree/components/ProTreeSelect}/propsType.js +0 -0
  95. /package/es/{ProTreeSelect → ProTree/components/ProTreeSelect}/style/index.less +0 -0
  96. /package/lib/{ProTreeSelect → ProTree/components/ProTreeSelect}/index.d.ts +0 -0
  97. /package/lib/{ProTreeSelect → ProTree/components/ProTreeSelect}/propsType.js +0 -0
  98. /package/lib/{ProTreeSelect → ProTree/components/ProTreeSelect}/style/index.less +0 -0
@@ -53,7 +53,7 @@
53
53
  font-size: var(--zaui-font-size, 14px);
54
54
  line-height: 20px;
55
55
  border: 1px solid #e6e6e6;
56
- border-radius: var(--zaui-border-radius, 4px);
56
+ border-radius: var(--zaui-border-radius, 8px);
57
57
 
58
58
  &:first-child {
59
59
  margin-right: var(--zaui-space-size-md, 16px);
@@ -222,6 +222,14 @@
222
222
  .pro-transfer-right {
223
223
  .checked-item {
224
224
  margin: var(--zaui-space-size-sm, 8px) 0;
225
+ &.dragable {
226
+ .ant-tag {
227
+ & > span:first-child {
228
+ padding: 8px 0;
229
+ cursor: move;
230
+ }
231
+ }
232
+ }
225
233
 
226
234
  &:first-child {
227
235
  margin-top: 0;
@@ -238,7 +246,7 @@
238
246
  font-size: var(--zaui-font-size, 14px);
239
247
  background: #f2f2f2;
240
248
  border: none;
241
- border-radius: var(--zaui-border-radius, 4px);
249
+ border-radius: var(--zaui-border-radius, 8px);
242
250
 
243
251
  .pro-tooltip {
244
252
  flex: 1;
@@ -12,7 +12,7 @@
12
12
  line-height: 16px;
13
13
  &:hover {
14
14
  background: #F8F9FA;
15
- border-radius: var(--zaui-border-radius, 4px);
15
+ border-radius: var(--zaui-border-radius, 8px);
16
16
  color: var(--zaui-brand);
17
17
  .file-actions-wrap {
18
18
  .file-actions{
@@ -93,7 +93,7 @@
93
93
  justify-content: center;
94
94
  &:hover {
95
95
  background: #F8F9FA;
96
- border-radius: var(--zaui-border-radius, 4px);
96
+ border-radius: var(--zaui-border-radius, 8px);
97
97
  }
98
98
  &:hover,&.file-box-error {
99
99
  .file-actions-wrap {
@@ -8,7 +8,7 @@
8
8
  .pro-upload-dragger {
9
9
  .pro-upload-handle-box {
10
10
  background : #F8F9FA;
11
- border-radius: var(--zaui-border-radius, 4px);
11
+ border-radius: var(--zaui-border-radius, 8px);
12
12
  padding : var(--zaui-space-size-sm, 8px);
13
13
 
14
14
  .@{ant-prefix}-upload.@{ant-prefix}-upload-drag {
@@ -178,7 +178,7 @@
178
178
  text-align : center;
179
179
  line-height : 32px;
180
180
  background : #FFFFFF;
181
- border-radius: var(--zaui-border-radius, 4px);
181
+ border-radius: var(--zaui-border-radius, 8px);
182
182
  border : 1px solid #DCDCDC;
183
183
 
184
184
  }
@@ -11,7 +11,6 @@
11
11
  // 表单
12
12
  @import '../ProForm/style/index';
13
13
  @import '../ProUpload/style/index';
14
- @import '../ProTreeSelect/style/index';
15
14
  @import '../ProTreeModal/style/index';
16
15
  @import '../ProTree/style/index';
17
16
 
@@ -56,8 +56,8 @@
56
56
  --zaui-table-nested-bg : #fafcfe;
57
57
  --zaui-contract-bg : #fffaa1; // 对比背景色
58
58
  --zaui-form-label-width : 130px; // 8个全角字符宽度
59
- --zaui-border-radius : 4px;
60
- --zaui-border-radius-card : 2px;
59
+ --zaui-border-radius : 8px;
60
+ --zaui-border-radius-card : 4px;
61
61
  --zaui-font-size-title : 16px;
62
62
  --zaui-font-size-card-title : var(--zaui-font-size-title);
63
63
  --zaui-font-size : 14px;
@@ -56,8 +56,8 @@
56
56
  @zaui-form-required-after: var(--zaui-form-required-after; inline);
57
57
  @zaui-form-required-before: var(--zaui-form-required-before; none);
58
58
  @zaui-form-label-width: var(--zaui-form-label-width; 130px);
59
- @zaui-border-radius: var(--zaui-border-radius; 4px);
60
- @zaui-border-radius-card: var(--zaui-border-radius-card; 2px);
59
+ @zaui-border-radius: var(--zaui-border-radius; 8px);
60
+ @zaui-border-radius-card: var(--zaui-border-radius-card; 4px);
61
61
  @zaui-font-size-title:
62
62
  calc(var(--zaui-font-size-title; 16px) + var(--zaui-base-font-size; 0px));
63
63
  @zaui-font-size-card-title:
package/lib/tokens.js CHANGED
@@ -59,8 +59,8 @@ var tokens = {
59
59
  '@zaui-form-required-after': 'var(--zaui-form-required-after, inline)',
60
60
  '@zaui-form-required-before': 'var(--zaui-form-required-before, none)',
61
61
  '@zaui-form-label-width': 'var(--zaui-form-label-width, 130px)',
62
- '@zaui-border-radius': 'var(--zaui-border-radius, 4px)',
63
- '@zaui-border-radius-card': 'var(--zaui-border-radius-card, 2px)',
62
+ '@zaui-border-radius': 'var(--zaui-border-radius, 8px)',
63
+ '@zaui-border-radius-card': 'var(--zaui-border-radius-card, 4px)',
64
64
  '@zaui-font-size-title': 'calc(var(--zaui-font-size-title, 16px) + var(--zaui-base-font-size, 0px))',
65
65
  '@zaui-font-size-card-title': 'calc(var(--zaui-font-size-card-title, 16px) + var(--zaui-base-font-size, 0px))',
66
66
  '@zaui-font-size': 'calc(var(--zaui-font-size, 14px) + var(--zaui-base-font-size, 0px))',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "3.4.1",
3
+ "version": "3.4.2-beta.2",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",