@twreporter/react-components 9.0.0-rc.2 → 9.0.0-rc.4
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 +23 -0
- package/lib/button/components/link.js +1 -1
- package/lib/icon/index.js +2 -2
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,29 @@
|
|
|
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
|
+
# [9.0.0-rc.4](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/react-components@9.0.0-rc.3...@twreporter/react-components@9.0.0-rc.4) (2024-05-17)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* missing style ([cabc77e](https://github.com/twreporter/twreporter-npm-packages/commit/cabc77e9c8cb7b2bec6743a7000e327b67274c16))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [9.0.0-rc.3](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/react-components@9.0.0-rc.2...@twreporter/react-components@9.0.0-rc.3) (2024-05-14)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* icon raw image broken ([1013337](https://github.com/twreporter/twreporter-npm-packages/commit/10133377ae57491c7b8215b0cf663e9a3cf9d87d))
|
|
23
|
+
* upgrade `react-waypoint` version ([c30a267](https://github.com/twreporter/twreporter-npm-packages/commit/c30a2671c563f466f2cd67ca7710797cc37aa9cc))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
6
29
|
# [9.0.0-rc.2](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/react-components@9.0.0-rc.1...@twreporter/react-components@9.0.0-rc.2) (2024-05-14)
|
|
7
30
|
|
|
8
31
|
|
|
@@ -106,7 +106,7 @@ var InheritLinkButton = function InheritLinkButton(_ref2) {
|
|
|
106
106
|
props = _objectWithoutProperties(_ref2, _excluded2);
|
|
107
107
|
|
|
108
108
|
return /*#__PURE__*/_react["default"].createElement(InheritLinkContainer, _extends({
|
|
109
|
-
type: type
|
|
109
|
+
$type: type
|
|
110
110
|
}, link, props), text);
|
|
111
111
|
};
|
|
112
112
|
|
package/lib/icon/index.js
CHANGED
|
@@ -34,7 +34,7 @@ var IconContainer = /*#__PURE__*/_styledComponents["default"].svg.withConfig({
|
|
|
34
34
|
displayName: "icon__IconContainer",
|
|
35
35
|
componentId: "sc-4fv57p-0"
|
|
36
36
|
})(["height:24px;width:24px;background-color:black;mask-image:url(", ");mask-size:cover;"], function (props) {
|
|
37
|
-
return props
|
|
37
|
+
return props.src;
|
|
38
38
|
});
|
|
39
39
|
|
|
40
40
|
var RawIconContainer = /*#__PURE__*/_styledComponents["default"].img.withConfig({
|
|
@@ -55,7 +55,7 @@ var Icon = function Icon(_ref) {
|
|
|
55
55
|
var IconComponent = type === _enum.IconType.RAW ? RawIconContainer : IconContainer;
|
|
56
56
|
return /*#__PURE__*/_react["default"].createElement(IconComponent, _extends({
|
|
57
57
|
alt: filename,
|
|
58
|
-
|
|
58
|
+
src: src
|
|
59
59
|
}, restProps));
|
|
60
60
|
};
|
|
61
61
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twreporter/react-components",
|
|
3
|
-
"version": "9.0.0-rc.
|
|
3
|
+
"version": "9.0.0-rc.4",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"repository": "https://github.com/twreporter/twreporter-npm-packages.git",
|
|
6
6
|
"author": "twreporter <developer@twreporter.org>",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"react-redux": "^6.0.0",
|
|
27
27
|
"react-router-dom": "^5.1.2",
|
|
28
28
|
"react-transition-group": "^4.4.5",
|
|
29
|
-
"react-waypoint": "^
|
|
29
|
+
"react-waypoint": "^10.3.0",
|
|
30
30
|
"styled-components": "^6.0.0",
|
|
31
31
|
"stylis": "^4.0.0"
|
|
32
32
|
},
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"react-dom": "^18.2.0",
|
|
53
53
|
"storybook": "^7.5.2"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "7c151664366288bfbf19941963f4582aa0c6456e"
|
|
56
56
|
}
|