@seafile/seafile-sdoc-editor 2.0.20 → 2.0.22

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.
@@ -0,0 +1,5 @@
1
+ .sdoc-editor-page-header .sdoc-publish-button:active {
2
+ background-color: #7ec833;
3
+ border-color: #6ec11a;
4
+ color: #fff
5
+ }
@@ -8,6 +8,7 @@ exports["default"] = void 0;
8
8
  var _react = _interopRequireWildcard(require("react"));
9
9
  var _reactI18next = require("react-i18next");
10
10
  var _reactstrap = require("reactstrap");
11
+ require("./index.css");
11
12
  var PublishRevision = function PublishRevision(_ref) {
12
13
  var publishRevision = _ref.publishRevision;
13
14
  var _useTranslation = (0, _reactI18next.useTranslation)('sdoc-editor'),
@@ -20,7 +21,7 @@ var PublishRevision = function PublishRevision(_ref) {
20
21
  // eslint-disable-next-line react-hooks/exhaustive-deps
21
22
  }, []);
22
23
  return /*#__PURE__*/_react["default"].createElement(_reactstrap.Button, {
23
- color: "success",
24
+ color: "success sdoc-publish-button",
24
25
  onClick: onPublishRevision,
25
26
  className: "ml-4"
26
27
  }, t('Publish'));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seafile/seafile-sdoc-editor",
3
- "version": "2.0.20",
3
+ "version": "2.0.22",
4
4
  "author": "shuntian <978987373@qq.com>",
5
5
  "homepage": "https://github.com/seafileltd/sea-sdoc-editor#readme",
6
6
  "license": "ISC",
@@ -29,7 +29,7 @@
29
29
  "description": "",
30
30
  "dependencies": {
31
31
  "@seafile/print-js": "1.6.6",
32
- "@seafile/sdoc-editor": "^2.0.103",
32
+ "@seafile/sdoc-editor": "^2.0.105",
33
33
  "classnames": "2.3.2",
34
34
  "dayjs": "1.10.7"
35
35
  },
@@ -45,5 +45,5 @@
45
45
  "publishConfig": {
46
46
  "access": "public"
47
47
  },
48
- "gitHead": "f39fbe4fc1914c923390805564ebf725ccaf6b72"
48
+ "gitHead": "3a1d0398a9d7919e6574399d0032f07bfac944ed"
49
49
  }