@zat-design/sisyphus-react 3.1.5 → 3.2.0-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 (256) hide show
  1. package/dist/index.esm.css +190 -265
  2. package/es/ProAction/index.js +7 -5
  3. package/es/ProAction/index.less +3 -2
  4. package/es/ProConfigProvider/index.d.ts +2 -0
  5. package/es/ProConfigProvider/index.js +23 -2
  6. package/es/ProDownload/utils.js +6 -3
  7. package/es/ProDrawerForm/components/ProDrawer/index.js +6 -4
  8. package/es/ProDrawerForm/index.js +5 -3
  9. package/es/ProDrawerForm/style/index.less +15 -11
  10. package/es/ProEditLabel/style/index.less +2 -2
  11. package/es/ProEditTable/components/ActionButton/index.js +3 -2
  12. package/es/ProEditTable/components/RenderField/index.js +2 -1
  13. package/es/ProEditTable/index.js +7 -6
  14. package/es/ProEditTable/style/index.less +15 -8
  15. package/es/ProEditTable/utils/config.d.ts +8 -8
  16. package/es/ProEditTable/utils/config.js +20 -12
  17. package/es/ProEditTable/utils/index.js +3 -2
  18. package/es/ProEnum/hooks/useEnumRequest.js +17 -10
  19. package/es/ProEnum/index.js +9 -4
  20. package/es/ProEnum/style/index.less +1 -1
  21. package/es/ProForm/components/FormFooter/index.js +16 -20
  22. package/es/ProForm/components/base/Input/index.js +4 -3
  23. package/es/ProForm/components/base/InputNumber/index.js +4 -3
  24. package/es/ProForm/components/base/RangePicker/index.js +0 -3
  25. package/es/ProForm/components/base/Select/index.js +2 -1
  26. package/es/ProForm/components/base/Switch/index.js +9 -5
  27. package/es/ProForm/components/base/SwitchCheckbox/index.js +2 -1
  28. package/es/ProForm/components/base/TextArea/index.js +4 -2
  29. package/es/ProForm/components/base/TextArea/index.less +1 -1
  30. package/es/ProForm/components/combination/Container/style/index.less +0 -1
  31. package/es/ProForm/components/combination/FormList/components/ActionButton.js +13 -17
  32. package/es/ProForm/components/combination/FormList/components/ToolbarButton.js +2 -1
  33. package/es/ProForm/components/combination/FormList/style/index.less +20 -19
  34. package/es/ProForm/components/combination/Group/index.js +2 -2
  35. package/es/ProForm/components/combination/ProAddressBar/index.js +83 -63
  36. package/es/ProForm/components/combination/ProAddressBar/propsType.d.ts +3 -2
  37. package/es/ProForm/components/combination/ProModalSelect/index.js +76 -15
  38. package/es/ProForm/components/combination/ProModalSelect/propsType.d.ts +1 -0
  39. package/es/ProForm/components/combination/ProModalSelect/style/index.less +3 -3
  40. package/es/ProForm/components/combination/ProNumberRange/index.js +3 -2
  41. package/es/ProForm/components/combination/ProNumberRange/style/index.less +1 -1
  42. package/es/ProForm/components/combination/ProRangeLimit/index.d.ts +1 -1
  43. package/es/ProForm/components/combination/ProRangeLimit/index.js +3 -7
  44. package/es/ProForm/components/combination/ProTimeLimit/index.d.ts +10 -5
  45. package/es/ProForm/components/combination/ProTimeLimit/index.js +4 -11
  46. package/es/ProForm/components/combination/ProTimeLimit/style/index.less +18 -1
  47. package/es/ProForm/components/old/EnumSelect/style/index.less +7 -8
  48. package/es/ProForm/components/render/Render.js +4 -2
  49. package/es/ProForm/components/render/RenderFields.js +10 -6
  50. package/es/ProForm/components/render/propsType.d.ts +5 -4
  51. package/es/ProForm/index.js +14 -2
  52. package/es/ProForm/style/index.less +76 -168
  53. package/es/ProForm/utils/index.d.ts +1 -1
  54. package/es/ProForm/utils/index.js +7 -2
  55. package/es/ProForm/utils/rulesCreator.js +2 -1
  56. package/es/ProForm/utils/useRules.js +4 -3
  57. package/es/ProForm/utils/useShouldUpdate.js +16 -16
  58. package/es/ProLayout/components/Layout/Menu/OpenMenu/index.js +6 -0
  59. package/es/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +7 -8
  60. package/es/ProLayout/components/Layout/Notice/index.js +3 -2
  61. package/es/ProLayout/components/ProCollapse/style/index.less +4 -4
  62. package/es/ProLayout/components/ProHeader/components/Copy/index.js +2 -1
  63. package/es/{old → ProLayout/components/ProHeader/components}/ProBackBtn/index.js +2 -1
  64. package/es/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +21 -0
  65. package/es/ProLayout/components/ProHeader/components/index.d.ts +1 -0
  66. package/es/ProLayout/components/ProHeader/components/index.js +2 -1
  67. package/es/ProLayout/components/ProHeader/index.js +9 -6
  68. package/es/ProLayout/components/ProHeader/style/index.less +16 -7
  69. package/es/ProLayout/utils/index.js +1 -1
  70. package/es/ProSelect/index.d.ts +3 -3
  71. package/es/ProSelect/index.js +4 -2
  72. package/es/ProStep/components/Step/index.js +3 -1
  73. package/es/ProStep/style/index.less +0 -1
  74. package/es/ProTable/components/RenderColumn/index.d.ts +5 -5
  75. package/es/ProTable/components/RenderColumn/index.js +41 -25
  76. package/es/ProTable/index.js +10 -8
  77. package/es/ProTable/propsType.d.ts +2 -0
  78. package/es/ProTable/style/index.less +14 -1
  79. package/es/ProTable/useAntdTable.d.ts +12 -4
  80. package/es/ProTable/useAntdTable.js +18 -6
  81. package/es/ProTable/utils.d.ts +1 -1
  82. package/es/ProTable/utils.js +258 -201
  83. package/es/ProTabs/style/index.less +1 -1
  84. package/es/ProThemeTools/component/PrdTools/index.js +1 -1
  85. package/es/ProThemeTools/component/PrdTools/style/index.less +3 -3
  86. package/es/ProThemeTools/index.d.ts +2 -2
  87. package/es/ProThemeTools/index.js +24 -17
  88. package/es/ProThemeTools/propsType.d.ts +8 -6
  89. package/es/ProThemeTools/style/index.less +2 -2
  90. package/es/ProThemeTools/utils/index.d.ts +7 -0
  91. package/es/ProThemeTools/utils/index.js +19 -1
  92. package/es/ProTree/components/ProTree.js +6 -5
  93. package/es/ProTree/components/SearchTitle.d.ts +2 -2
  94. package/es/ProTree/components/SearchTitle.js +11 -1
  95. package/es/ProTree/components/Tree.js +9 -2
  96. package/es/ProTree/style/index.less +194 -142
  97. package/es/ProTreeModal/components/List.js +0 -14
  98. package/es/ProTreeModal/components/Trigger.js +9 -3
  99. package/es/ProTreeModal/index.js +29 -13
  100. package/es/ProTreeModal/style/index.less +15 -19
  101. package/es/ProUpload/components/ButtonRender.js +5 -2
  102. package/es/ProUpload/components/DragRender.js +8 -8
  103. package/es/ProUpload/components/Example.js +3 -1
  104. package/es/ProUpload/components/ImageRender.js +8 -6
  105. package/es/ProUpload/index.js +8 -6
  106. package/es/ProUpload/style/index.less +41 -39
  107. package/es/index.d.ts +2 -1
  108. package/es/index.js +2 -1
  109. package/es/locale/en_US.d.ts +138 -0
  110. package/es/locale/en_US.js +137 -0
  111. package/es/locale/index.d.ts +13 -0
  112. package/es/locale/index.js +32 -0
  113. package/es/locale/zh_CN.d.ts +137 -0
  114. package/es/locale/zh_CN.js +136 -0
  115. package/es/old/ProEditableTable/style/index.less +1 -2
  116. package/es/style/components.less +0 -1
  117. package/es/style/core/normalize.less +1 -2
  118. package/es/style/theme/antd.less +3 -4
  119. package/es/style/theme/index.less +80 -79
  120. package/es/style/theme/tokens.less +1 -0
  121. package/lib/ProAction/index.js +7 -5
  122. package/lib/ProAction/index.less +3 -2
  123. package/lib/ProConfigProvider/index.d.ts +2 -0
  124. package/lib/ProConfigProvider/index.js +22 -2
  125. package/lib/ProDownload/utils.js +4 -3
  126. package/lib/ProDrawerForm/components/ProDrawer/index.js +6 -4
  127. package/lib/ProDrawerForm/index.js +5 -3
  128. package/lib/ProDrawerForm/style/index.less +15 -11
  129. package/lib/ProEditLabel/style/index.less +2 -2
  130. package/lib/ProEditTable/components/ActionButton/index.js +3 -2
  131. package/lib/ProEditTable/components/RenderField/index.js +4 -1
  132. package/lib/ProEditTable/index.js +7 -6
  133. package/lib/ProEditTable/style/index.less +15 -8
  134. package/lib/ProEditTable/utils/config.d.ts +8 -8
  135. package/lib/ProEditTable/utils/config.js +20 -12
  136. package/lib/ProEditTable/utils/index.js +3 -2
  137. package/lib/ProEnum/hooks/useEnumRequest.js +17 -10
  138. package/lib/ProEnum/index.js +9 -4
  139. package/lib/ProEnum/style/index.less +1 -1
  140. package/lib/ProForm/components/FormFooter/index.js +16 -19
  141. package/lib/ProForm/components/base/Input/index.js +4 -3
  142. package/lib/ProForm/components/base/InputNumber/index.js +4 -3
  143. package/lib/ProForm/components/base/RangePicker/index.js +1 -4
  144. package/lib/ProForm/components/base/Select/index.js +2 -1
  145. package/lib/ProForm/components/base/Switch/index.js +8 -5
  146. package/lib/ProForm/components/base/SwitchCheckbox/index.js +2 -1
  147. package/lib/ProForm/components/base/TextArea/index.js +4 -2
  148. package/lib/ProForm/components/base/TextArea/index.less +1 -1
  149. package/lib/ProForm/components/combination/Container/style/index.less +0 -1
  150. package/lib/ProForm/components/combination/FormList/components/ActionButton.js +13 -17
  151. package/lib/ProForm/components/combination/FormList/components/ToolbarButton.js +2 -1
  152. package/lib/ProForm/components/combination/FormList/style/index.less +20 -19
  153. package/lib/ProForm/components/combination/Group/index.js +2 -2
  154. package/lib/ProForm/components/combination/ProAddressBar/index.js +78 -60
  155. package/lib/ProForm/components/combination/ProAddressBar/propsType.d.ts +3 -2
  156. package/lib/ProForm/components/combination/ProModalSelect/index.js +76 -15
  157. package/lib/ProForm/components/combination/ProModalSelect/propsType.d.ts +1 -0
  158. package/lib/ProForm/components/combination/ProModalSelect/style/index.less +3 -3
  159. package/lib/ProForm/components/combination/ProNumberRange/index.js +3 -2
  160. package/lib/ProForm/components/combination/ProNumberRange/style/index.less +1 -1
  161. package/lib/ProForm/components/combination/ProRangeLimit/index.d.ts +1 -1
  162. package/lib/ProForm/components/combination/ProRangeLimit/index.js +3 -7
  163. package/lib/ProForm/components/combination/ProTimeLimit/index.d.ts +10 -5
  164. package/lib/ProForm/components/combination/ProTimeLimit/index.js +4 -11
  165. package/lib/ProForm/components/combination/ProTimeLimit/style/index.less +18 -1
  166. package/lib/ProForm/components/old/EnumSelect/style/index.less +7 -8
  167. package/lib/ProForm/components/old/InputRange/index.js +0 -1
  168. package/lib/ProForm/components/old/ProCertValidity/index.js +1 -1
  169. package/lib/ProForm/components/render/Render.js +5 -2
  170. package/lib/ProForm/components/render/RenderFields.js +9 -5
  171. package/lib/ProForm/components/render/propsType.d.ts +5 -4
  172. package/lib/ProForm/index.js +14 -2
  173. package/lib/ProForm/style/index.less +76 -168
  174. package/lib/ProForm/utils/index.d.ts +1 -1
  175. package/lib/ProForm/utils/index.js +7 -2
  176. package/lib/ProForm/utils/rulesCreator.js +2 -1
  177. package/lib/ProForm/utils/useRules.js +4 -3
  178. package/lib/ProForm/utils/useShouldUpdate.js +16 -16
  179. package/lib/ProLayout/components/Layout/Menu/OpenMenu/index.js +6 -0
  180. package/lib/ProLayout/components/Layout/Menu/OpenMenu/style/index.less +7 -8
  181. package/lib/ProLayout/components/Layout/Notice/index.js +3 -2
  182. package/lib/ProLayout/components/ProCollapse/style/index.less +4 -4
  183. package/lib/ProLayout/components/ProHeader/components/Copy/index.js +2 -1
  184. package/lib/{old → ProLayout/components/ProHeader/components}/ProBackBtn/index.js +3 -1
  185. package/lib/ProLayout/components/ProHeader/components/ProBackBtn/style/index.less +21 -0
  186. package/lib/ProLayout/components/ProHeader/components/index.d.ts +1 -0
  187. package/lib/ProLayout/components/ProHeader/components/index.js +8 -1
  188. package/lib/ProLayout/components/ProHeader/index.js +9 -6
  189. package/lib/ProLayout/components/ProHeader/style/index.less +16 -7
  190. package/lib/ProLayout/utils/index.js +1 -1
  191. package/lib/ProSelect/index.d.ts +3 -3
  192. package/lib/ProSelect/index.js +4 -2
  193. package/lib/ProStep/components/Step/index.js +3 -1
  194. package/lib/ProStep/style/index.less +0 -1
  195. package/lib/ProTable/components/RenderColumn/index.d.ts +5 -5
  196. package/lib/ProTable/components/RenderColumn/index.js +38 -24
  197. package/lib/ProTable/components/TableResizable/index.js +8 -0
  198. package/lib/ProTable/index.js +10 -8
  199. package/lib/ProTable/propsType.d.ts +2 -0
  200. package/lib/ProTable/style/index.less +14 -1
  201. package/lib/ProTable/useAntdTable.d.ts +12 -4
  202. package/lib/ProTable/useAntdTable.js +19 -6
  203. package/lib/ProTable/utils.d.ts +1 -1
  204. package/lib/ProTable/utils.js +258 -201
  205. package/lib/ProTabs/index.js +1 -0
  206. package/lib/ProTabs/style/index.less +1 -1
  207. package/lib/ProThemeTools/component/PrdTools/index.js +1 -1
  208. package/lib/ProThemeTools/component/PrdTools/style/index.less +3 -3
  209. package/lib/ProThemeTools/index.d.ts +2 -2
  210. package/lib/ProThemeTools/index.js +24 -16
  211. package/lib/ProThemeTools/propsType.d.ts +8 -6
  212. package/lib/ProThemeTools/style/index.less +2 -2
  213. package/lib/ProThemeTools/utils/index.d.ts +7 -0
  214. package/lib/ProThemeTools/utils/index.js +20 -2
  215. package/lib/ProTree/components/ProTree.js +6 -5
  216. package/lib/ProTree/components/SearchTitle.d.ts +2 -2
  217. package/lib/ProTree/components/SearchTitle.js +11 -1
  218. package/lib/ProTree/components/Tree.js +16 -2
  219. package/lib/ProTree/index.js +0 -1
  220. package/lib/ProTree/style/index.less +194 -142
  221. package/lib/ProTreeModal/components/List.js +0 -14
  222. package/lib/ProTreeModal/components/Tree.js +1 -0
  223. package/lib/ProTreeModal/components/Trigger.js +10 -3
  224. package/lib/ProTreeModal/index.js +29 -13
  225. package/lib/ProTreeModal/style/index.less +15 -19
  226. package/lib/ProUpload/components/ButtonRender.js +5 -2
  227. package/lib/ProUpload/components/DragRender.js +8 -8
  228. package/lib/ProUpload/components/Example.js +3 -1
  229. package/lib/ProUpload/components/ImageRender.js +8 -6
  230. package/lib/ProUpload/index.js +14 -5
  231. package/lib/ProUpload/style/index.less +41 -39
  232. package/lib/index.d.ts +2 -1
  233. package/lib/index.js +13 -1
  234. package/lib/locale/en_US.d.ts +138 -0
  235. package/lib/locale/en_US.js +143 -0
  236. package/lib/locale/index.d.ts +13 -0
  237. package/lib/locale/index.js +41 -0
  238. package/lib/locale/zh_CN.d.ts +137 -0
  239. package/lib/locale/zh_CN.js +142 -0
  240. package/lib/old/ProCertValidity/index.js +1 -1
  241. package/lib/old/ProEditableTable/style/index.less +1 -2
  242. package/lib/style/components.less +0 -1
  243. package/lib/style/core/normalize.less +1 -2
  244. package/lib/style/theme/antd.less +3 -4
  245. package/lib/style/theme/index.less +80 -79
  246. package/lib/style/theme/tokens.less +1 -0
  247. package/package.json +1 -1
  248. package/typings.d.ts +2 -0
  249. package/es/old/ProBackBtn/style/index.less +0 -19
  250. package/lib/old/ProBackBtn/style/index.less +0 -19
  251. /package/es/{old → ProLayout/components/ProHeader/components}/ProBackBtn/index.d.ts +0 -0
  252. /package/es/{old → ProLayout/components/ProHeader/components}/ProBackBtn/propsType.d.ts +0 -0
  253. /package/es/{old → ProLayout/components/ProHeader/components}/ProBackBtn/propsType.js +0 -0
  254. /package/lib/{old → ProLayout/components/ProHeader/components}/ProBackBtn/index.d.ts +0 -0
  255. /package/lib/{old → ProLayout/components/ProHeader/components}/ProBackBtn/propsType.d.ts +0 -0
  256. /package/lib/{old → ProLayout/components/ProHeader/components}/ProBackBtn/propsType.js +0 -0
@@ -55,8 +55,7 @@
55
55
  &>.ant-form-item-required::after {
56
56
  margin-top : 1px;
57
57
  color : #ff4d4f;
58
- font-size : 14px;
59
- font-family: SimSun, sans-serif;
58
+ font-size : var(--zaui-font-size, 14px);
60
59
  line-height: 1;
61
60
  content : '*';
62
61
  }
@@ -86,7 +85,7 @@
86
85
  }
87
86
 
88
87
  .ant-form-item {
89
- margin-bottom: 22px !important;
88
+ margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1)) !important;
90
89
  }
91
90
  }
92
91
 
@@ -332,7 +331,7 @@
332
331
  }
333
332
 
334
333
  .ant-tabs-nav {
335
- margin-bottom: var(--zaui-space-size-md, 16px)
334
+ margin-bottom: calc(var(--zaui-space-size-md; 16px) * var(--zaui-size; 1));
336
335
  }
337
336
 
338
337
  .ant-tabs-nav .ant-tabs-tab-btn {
@@ -3,85 +3,86 @@
3
3
 
4
4
  /* 兼容IE11 默认会生成2个值,默认值,var值。IE11下读取默认值 */
5
5
  :root {
6
- --zaui-global-bg: #ffffff;
7
- --zaui-base-bg: #ffffff;
8
- --zaui-brand: #006aff;
9
- --zaui-brand-hover: #3387ff;
10
- --zaui-brand-active: #005ad9;
11
- --zaui-brand-disabled: #99c3ff;
12
- --zaui-text: #343434;
13
- --zaui-text-weak: #616161;
14
- --zaui-aide-text: #909090;
15
- --zaui-placeholder: #a0a0a0;
16
- --zaui-link: var(--zaui-brand);
17
- --zaui-link-light-active: var(--zaui-brand-active);
18
- --zaui-line: #dcdcdc;
19
- --zaui-dividing-line: #dcdcdc;
20
- --zaui-area: #fafafa;
21
- --zaui-shadow: rgba(56, 56, 56, 0.15);
22
- --zaui-form-control-line: var(--zaui-line);
23
- --zaui-form-control-line-hover: var(--zaui-brand-hover);
24
- --zaui-form-control-line-active: var(--zaui-brand-active);
25
- --zaui-list-item-active-bg: var(--zaui-brand);
26
- --zaui-list-item-active-hover-bg: var(--zaui-brand);
27
- --zaui-list-item-selected-bg: var(--zaui-brand);
6
+ --zaui-global-bg : #ffffff;
7
+ --zaui-base-bg : #ffffff;
8
+ --zaui-brand : #006aff;
9
+ --zaui-brand-hover : #3387ff;
10
+ --zaui-brand-active : #005ad9;
11
+ --zaui-brand-disabled : #99c3ff;
12
+ --zaui-text : #343434;
13
+ --zaui-text-weak : #616161;
14
+ --zaui-aide-text : #909090;
15
+ --zaui-placeholder : #a0a0a0;
16
+ --zaui-link : var(--zaui-brand);
17
+ --zaui-link-light-active : var(--zaui-brand-active);
18
+ --zaui-line : #dcdcdc;
19
+ --zaui-dividing-line : #dcdcdc;
20
+ --zaui-area : #fafafa;
21
+ --zaui-shadow : rgba(56, 56, 56, 0.15);
22
+ --zaui-form-control-line : var(--zaui-line);
23
+ --zaui-form-control-line-hover : var(--zaui-brand-hover);
24
+ --zaui-form-control-line-active : var(--zaui-brand-active);
25
+ --zaui-list-item-active-bg : var(--zaui-brand);
26
+ --zaui-list-item-active-hover-bg : var(--zaui-brand);
27
+ --zaui-list-item-selected-bg : var(--zaui-brand);
28
28
  --zaui-list-item-selected-hover-bg: var(--zaui-brand);
29
- --zaui-disabled-bg: #f2f2f2;
30
- --zaui-disabled-text: #333333;
31
- --zaui-feedback-overlay-bg: rgba(0, 0, 0, 0.7);
32
- --zaui-feedback-overlay-text: #343434;
33
- --zaui-primary: var(--zaui-brand);
34
- --zaui-primary-hover: var(--zaui-brand-hover);
35
- --zaui-primary-active: var(--zaui-brand-active);
36
- --zaui-danger-line: var(--zaui-line);
37
- --zaui-danger-bg: #fff2f0;
38
- --zaui-warning-line: var(--zaui-line);
39
- --zaui-warning-bg: #fffbe6;
40
- --zaui-info-line: var(--zaui-line);
41
- --zaui-info-bg: #e6f7ff;
42
- --zaui-success-line: var(--zaui-line);
43
- --zaui-success-bg: #f6ffed;
44
- --zaui-danger: #ff5050;
45
- --zaui-warning: #ec9131;
46
- --zaui-success: #00ae4d;
47
- --zaui-menu-top-bg: #ffffff;
48
- --zaui-menu-left-bg: #1a202d;
49
- --zaui-menu-second-bg: #ffffff;
50
- --zaui-form-align: left;
51
- --zaui-table-header-bg: #f2f3f5;
52
- --zaui-table-strip-bg: #fafafa;
53
- --zaui-table-hover-bg: #fafafa;
54
- --zaui-table-selected-bg: var(--zaui-table-hover-bg); // 默认同悬停
55
- --zaui-table-selected-hover-bg: var(--zaui-table-hover-bg); // 默认同悬停
56
- --zaui-table-nested-bg: #fafcfe;
57
- --zaui-form-label-width: 130px; // 8个全角字符宽度
58
- --zaui-border-radius: 4px;
59
- --zaui-border-radius-card: 2px;
60
- --zaui-font-size-title: 16px;
61
- --zaui-font-size-card-title: var(--zaui-font-size-title);
62
- --zaui-font-size: 14px;
63
- --zaui-font-size-sm: 12px;
64
- --zaui-font-size-md: var(--zaui-font-size);
65
- --zaui-font-size-lg: 16px;
66
- --zaui-font-size-xl: 18px;
67
- --zaui-font-size-xxl: 20px;
68
- --zaui-font-size-lg-title: 24px;
69
- --zaui-height-border: var(--zaui-height-size-md);
70
- --zaui-height-card: var(--zaui-height-size-lg);
71
- --zaui-height-size-xs: 4px;
72
- --zaui-height-size-sm: 8px;
73
- --zaui-height-size-md: 16px;
74
- --zaui-height-size-lg: 32px;
75
- --zaui-height-size-xl: 64px;
76
- --zaui-space-border: var(--zaui-space-size-md); // 兼容1.1.35一下版本 变量
77
- --zaui-space-card: var(--zaui-space-size-lg);
78
- --zaui-space-size-xs: 4px;
79
- --zaui-space-size-sm: 8px;
80
- --zaui-space-size-md: 16px;
81
- --zaui-space-size-lg: 32px;
82
- --zaui-space-size-xl: 64px;
29
+ --zaui-disabled-bg : #f2f2f2;
30
+ --zaui-disabled-text : #333333;
31
+ --zaui-feedback-overlay-bg : rgba(0, 0, 0, 0.7);
32
+ --zaui-feedback-overlay-text : #343434;
33
+ --zaui-primary : var(--zaui-brand);
34
+ --zaui-primary-hover : var(--zaui-brand-hover);
35
+ --zaui-primary-active : var(--zaui-brand-active);
36
+ --zaui-danger-line : var(--zaui-line);
37
+ --zaui-danger-bg : #fff2f0;
38
+ --zaui-warning-line : var(--zaui-line);
39
+ --zaui-warning-bg : #fffbe6;
40
+ --zaui-info-line : var(--zaui-line);
41
+ --zaui-info-bg : #e6f7ff;
42
+ --zaui-success-line : var(--zaui-line);
43
+ --zaui-success-bg : #f6ffed;
44
+ --zaui-danger : #ff5050;
45
+ --zaui-warning : #ec9131;
46
+ --zaui-success : #00ae4d;
47
+ --zaui-menu-top-bg : #ffffff;
48
+ --zaui-menu-left-bg : #1a202d;
49
+ --zaui-menu-second-bg : #ffffff;
50
+ --zaui-form-align : left;
51
+ --zaui-table-header-bg : #f2f3f5;
52
+ --zaui-table-strip-bg : #fafafa;
53
+ --zaui-table-hover-bg : #fafafa;
54
+ --zaui-table-selected-bg : var(--zaui-table-hover-bg); // 默认同悬停
55
+ --zaui-table-selected-hover-bg : var(--zaui-table-hover-bg); // 默认同悬停
56
+ --zaui-table-nested-bg : #fafcfe;
57
+ --zaui-contract-bg : #fffaa1; // 对比背景色
58
+ --zaui-form-label-width : 130px; // 8个全角字符宽度
59
+ --zaui-border-radius : 4px;
60
+ --zaui-border-radius-card : 2px;
61
+ --zaui-font-size-title : 16px;
62
+ --zaui-font-size-card-title : var(--zaui-font-size-title);
63
+ --zaui-font-size : 14px;
64
+ --zaui-font-size-sm : 12px;
65
+ --zaui-font-size-md : var(--zaui-font-size);
66
+ --zaui-font-size-lg : 16px;
67
+ --zaui-font-size-xl : 18px;
68
+ --zaui-font-size-xxl : 20px;
69
+ --zaui-font-size-lg-title : 24px;
70
+ --zaui-height-border : var(--zaui-height-size-md);
71
+ --zaui-height-card : var(--zaui-height-size-lg);
72
+ --zaui-height-size-xs : 4px;
73
+ --zaui-height-size-sm : 8px;
74
+ --zaui-height-size-md : 16px;
75
+ --zaui-height-size-lg : 32px;
76
+ --zaui-height-size-xl : 64px;
77
+ --zaui-space-border : var(--zaui-space-size-md); // 兼容1.1.35一下版本 变量
78
+ --zaui-space-card : var(--zaui-space-size-lg);
79
+ --zaui-space-size-xs : 4px;
80
+ --zaui-space-size-sm : 8px;
81
+ --zaui-space-size-md : 16px;
82
+ --zaui-space-size-lg : 32px;
83
+ --zaui-space-size-xl : 64px;
83
84
 
84
85
  --zaui-line-height-base: 1.5;
85
- --zaui-size: 1;
86
- --zaui-base-font-size: 0px;
87
- }
86
+ --zaui-size : 1;
87
+ --zaui-base-font-size : 0px;
88
+ }
@@ -52,6 +52,7 @@
52
52
  @zaui-table-selected-bg: var(--zaui-table-hover-bg #fafafa);
53
53
  @zaui-table-selected-hover-bg: var(--zaui-table-hover-bg #fafafa);
54
54
  @zaui-table-nested-bg: var(--zaui-table-nested-bg #FAFCFE);
55
+ @zaui-contract-bg: var(--zaui-contract-bg; #fffaa1); // 对比背景色
55
56
  @zaui-form-required-after: var(--zaui-form-required-after; inline);
56
57
  @zaui-form-required-before: var(--zaui-form-required-before; none);
57
58
  @zaui-form-label-width: var(--zaui-form-label-width; 130px);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "3.1.5",
3
+ "version": "3.2.0-beta.2",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
package/typings.d.ts CHANGED
@@ -19,3 +19,5 @@ declare interface EventCenter {
19
19
  declare interface Window {
20
20
  eventCenter: EventCenter;
21
21
  }
22
+
23
+ type DistributiveOmit<T, K extends keyof any> = T extends any ? Omit<T, K> : never;
@@ -1,19 +0,0 @@
1
- .back-button-container {
2
- color : var(--zaui-aide-text);
3
- font-weight: 400;
4
- background : var(--zaui-disabled-bg);
5
- border : none;
6
-
7
- &:hover {
8
- color : var(--zaui-aide-text);
9
- background: var(--zaui-disabled-bg);
10
- border : none;
11
- }
12
-
13
- &:active,
14
- &:focus {
15
- color : var(--zaui-aide-text);
16
- font-weight: 400;
17
- background : var(--zaui-disabled-bg);
18
- }
19
- }
@@ -1,19 +0,0 @@
1
- .back-button-container {
2
- color : var(--zaui-aide-text);
3
- font-weight: 400;
4
- background : var(--zaui-disabled-bg);
5
- border : none;
6
-
7
- &:hover {
8
- color : var(--zaui-aide-text);
9
- background: var(--zaui-disabled-bg);
10
- border : none;
11
- }
12
-
13
- &:active,
14
- &:focus {
15
- color : var(--zaui-aide-text);
16
- font-weight: 400;
17
- background : var(--zaui-disabled-bg);
18
- }
19
- }