@twreporter/react-article-components 1.5.0-rc.4 → 1.5.0-rc.5
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.
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,17 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.5.0-rc.5](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/react-article-components@1.5.0-rc.4...@twreporter/react-article-components@1.5.0-rc.5) (2022-07-04)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* fix tool bar defect ([afc4a56](https://github.com/twreporter/twreporter-npm-packages/commit/afc4a568c27c0614ff2bec460cb07813fbfdfe5a))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [1.5.0-rc.4](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/react-article-components@1.5.0-rc.3...@twreporter/react-article-components@1.5.0-rc.4) (2022-07-01)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -81,14 +81,14 @@ var ShareContainer = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
|
|
81
81
|
var OptionContainer = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
|
82
82
|
displayName: "mobile-tool-bar__OptionContainer",
|
|
83
83
|
componentId: "do65sv-2"
|
|
84
|
-
})(["opacity:", ";transition:opacity 100ms;position:absolute;top:-55px;left:50%;transform:translateX(-50%);display:flex;"], function (props) {
|
|
84
|
+
})(["z-index:6;opacity:", ";transition:opacity 100ms;position:absolute;top:-55px;left:50%;transform:translateX(-50%);display:flex;"], function (props) {
|
|
85
85
|
return props.isShow ? '1' : '0';
|
|
86
86
|
});
|
|
87
87
|
|
|
88
88
|
var SnackBarContainer = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
|
89
89
|
displayName: "mobile-tool-bar__SnackBarContainer",
|
|
90
90
|
componentId: "do65sv-3"
|
|
91
|
-
})(["opacity:", ";position:absolute;left:50%;transform:translateX(-50%);transition:opacity 100ms;"], function (props) {
|
|
91
|
+
})(["z-index:5;opacity:", ";position:absolute;left:50%;transform:translateX(-50%);transition:opacity 100ms;"], function (props) {
|
|
92
92
|
return props.showSnackBar ? '1' : '0';
|
|
93
93
|
});
|
|
94
94
|
|
|
@@ -351,7 +351,9 @@ var BookmarkBlock = function BookmarkBlock(_ref6) {
|
|
|
351
351
|
var handleClick = function handleClick() {
|
|
352
352
|
var action = isBookmarked ? removeAction : addAction;
|
|
353
353
|
action();
|
|
354
|
-
|
|
354
|
+
setTimeout(function () {
|
|
355
|
+
toastr(isBookmarked);
|
|
356
|
+
}, 500);
|
|
355
357
|
};
|
|
356
358
|
|
|
357
359
|
return /*#__PURE__*/_react["default"].createElement(ButtonContainer, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twreporter/react-article-components",
|
|
3
|
-
"version": "1.5.0-rc.
|
|
3
|
+
"version": "1.5.0-rc.5",
|
|
4
4
|
"description": "The Reporter react article components, which are used in article page",
|
|
5
5
|
"main": "lib/components/article-page.js",
|
|
6
6
|
"repository": "https://github.com/twreporter/twreporter-npm-packages.git",
|
|
@@ -25,9 +25,9 @@
|
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@twreporter/core": "^1.4.1",
|
|
28
|
-
"@twreporter/react-components": "^8.10.0-rc.
|
|
28
|
+
"@twreporter/react-components": "^8.10.0-rc.4",
|
|
29
29
|
"@twreporter/redux": "^7.2.2-rc.0",
|
|
30
|
-
"@twreporter/universal-header": "^2.2.10-rc.
|
|
30
|
+
"@twreporter/universal-header": "^2.2.10-rc.4",
|
|
31
31
|
"howler": "^2.2.3",
|
|
32
32
|
"lodash": "^4.17.11",
|
|
33
33
|
"memoize-one": "^5.0.5",
|
|
@@ -40,5 +40,5 @@
|
|
|
40
40
|
"files": [
|
|
41
41
|
"lib"
|
|
42
42
|
],
|
|
43
|
-
"gitHead": "
|
|
43
|
+
"gitHead": "228b4ec5da6b28307b17b7ac8c7d79c836359d69"
|
|
44
44
|
}
|