@zgfe/modules-page 1.0.1 → 1.0.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.
@@ -45,12 +45,14 @@ var GroupModal = function GroupModal(props) {
45
45
  }, "\u53D6\u6D88"), /*#__PURE__*/React.createElement(Button, {
46
46
  key: "submit",
47
47
  type: "primary",
48
+ disabled: isDemo,
48
49
  onClick: onOk
49
50
  }, "\u786E\u5B9A")];
50
51
  if (props.value) {
51
52
  btnGroup.unshift( /*#__PURE__*/React.createElement(Button, {
52
53
  key: "delete",
53
54
  type: "text",
55
+ disabled: isDemo,
54
56
  className: "".concat(classPrefix, "-footer-del"),
55
57
  onClick: onDelete,
56
58
  icon: /*#__PURE__*/React.createElement(IconFont, {
@@ -181,11 +181,14 @@
181
181
  font-size: 16px !important;
182
182
  line-height: 1;
183
183
  }
184
- &.ant-btn-text:hover {
184
+ &.ant-btn-text[disabled]:hover {
185
+ color: rgba(0, 0, 0, 0.25) !important;
186
+ }
187
+ &.ant-btn-text:not([disabled]):hover {
185
188
  color: #fb5547 !important;
186
189
  background: #f2f3f4 !important;
187
190
  }
188
- &.ant-btn-text:focus {
191
+ &.ant-btn-text:not([disabled]):focus {
189
192
  color: #e24c40 !important;
190
193
  background: #f2f3f4 !important;
191
194
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-page",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "scripts": {
5
5
  "start": "dumi dev",
6
6
  "docs:build": "dumi build",
@@ -50,5 +50,5 @@
50
50
  "prettier": "^2.2.1",
51
51
  "yorkie": "^2.0.0"
52
52
  },
53
- "gitHead": "0555ca6d17d8fcbe6cd6b900fdfd6e3bc85741cd"
53
+ "gitHead": "0dcf9a6f6d72a00a3459f9d7c9712a12b933c9a6"
54
54
  }