@zat-design/sisyphus-react 3.1.4 → 3.1.5-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.
@@ -2075,7 +2075,7 @@ div.pro-textarea-view::after {
2075
2075
  .pro-modal-select .ant-input-group-wrapper:hover .close-icon > span,
2076
2076
  .pro-tree-modal .ant-input-group-wrapper:hover .close-icon > span {
2077
2077
  position: relative;
2078
- font-size: var(--zaui-font-size-sm, 12px);
2078
+ font-size: 10px;
2079
2079
  border: none;
2080
2080
  border-radius: 50%;
2081
2081
  }
@@ -2117,7 +2117,7 @@ div.pro-textarea-view::after {
2117
2117
  }
2118
2118
  .pro-modal-select .ant-input-group-addon,
2119
2119
  .pro-tree-modal .ant-input-group-addon {
2120
- padding: 0px var(--zaui-space-size-md, 8px);
2120
+ padding: 0px var(--zaui-space-size-sm, 8px);
2121
2121
  background-color: var(--zaui-base-bg, #ffffff);
2122
2122
  cursor: pointer;
2123
2123
  }
@@ -22,7 +22,7 @@
22
22
 
23
23
  > span {
24
24
  position: relative;
25
- font-size: var(--zaui-font-size-sm, 12px );
25
+ font-size: 10px;
26
26
  border: none;
27
27
  border-radius: 50%;
28
28
  }
@@ -73,7 +73,7 @@
73
73
  }
74
74
 
75
75
  .ant-input-group-addon {
76
- padding: 0px var(--zaui-space-size-md, 8px);
76
+ padding: 0px var(--zaui-space-size-sm, 8px);
77
77
  background-color: var(--zaui-base-bg, #ffffff);
78
78
  cursor: pointer;
79
79
 
@@ -389,6 +389,9 @@ var ProHeader = function ProHeader(props) {
389
389
  var onConfirm = function onConfirm() {
390
390
  if (!isConfirmBack) {
391
391
  onBack && onBack();
392
+ if (!onBack) {
393
+ window.history.back();
394
+ }
392
395
  return false;
393
396
  }
394
397
  _Modal.confirm(_objectSpread({
@@ -22,7 +22,7 @@
22
22
 
23
23
  > span {
24
24
  position: relative;
25
- font-size: var(--zaui-font-size-sm, 12px );
25
+ font-size: 10px;
26
26
  border: none;
27
27
  border-radius: 50%;
28
28
  }
@@ -73,7 +73,7 @@
73
73
  }
74
74
 
75
75
  .ant-input-group-addon {
76
- padding: 0px var(--zaui-space-size-md, 8px);
76
+ padding: 0px var(--zaui-space-size-sm, 8px);
77
77
  background-color: var(--zaui-base-bg, #ffffff);
78
78
  cursor: pointer;
79
79
 
@@ -387,6 +387,9 @@ var ProHeader = function ProHeader(props) {
387
387
  var onConfirm = function onConfirm() {
388
388
  if (!isConfirmBack) {
389
389
  onBack && onBack();
390
+ if (!onBack) {
391
+ window.history.back();
392
+ }
390
393
  return false;
391
394
  }
392
395
  _antd.Modal.confirm((0, _objectSpread2.default)({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zat-design/sisyphus-react",
3
- "version": "3.1.4",
3
+ "version": "3.1.5-beta.2",
4
4
  "license": "Apache-2.0",
5
5
  "main": "lib/index.js",
6
6
  "module": "es/index.js",
@@ -58,7 +58,7 @@
58
58
  "@dnd-kit/sortable": "^7.0.2",
59
59
  "@dnd-kit/utilities": "^3.2.1",
60
60
  "@pansy/react-watermark": "^3.1.13",
61
- "@zat-design/utils": "^1.1.15",
61
+ "@zat-design/utils": "^1.1.16",
62
62
  "ahooks": "3.7.4",
63
63
  "antd": "4.24.8",
64
64
  "big.js": "^6.2.1",