@twreporter/react-components 8.24.0-rc.4 → 8.24.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
+ # [8.24.0-rc.5](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/react-components@8.24.0-rc.4...@twreporter/react-components@8.24.0-rc.5) (2024-01-19)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * add margin between text and icon ([d4d3f91](https://github.com/twreporter/twreporter-npm-packages/commit/d4d3f911fc4ee37ed141c14e7e31e54bde9bf4c2))
12
+
13
+
14
+
15
+
16
+
6
17
  # [8.24.0-rc.4](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/react-components@8.24.0-rc.3...@twreporter/react-components@8.24.0-rc.4) (2024-01-19)
7
18
 
8
19
 
@@ -115,9 +115,9 @@ var TextButton = function TextButton(_ref) {
115
115
  hoverColor: hoverColor,
116
116
  iconSize: iconSize,
117
117
  disabled: disabled
118
- }, props), size === _sharedEnum.Size.L ? /*#__PURE__*/_react["default"].createElement(IconContainer, {
118
+ }, props), /*#__PURE__*/_react["default"].createElement(IconContainer, {
119
119
  isLeft: true
120
- }, leftIconComponent) : leftIconComponent, textJSX, size === _sharedEnum.Size.L ? /*#__PURE__*/_react["default"].createElement(IconContainer, null, rightIconComponent) : rightIconComponent);
120
+ }, leftIconComponent), textJSX, /*#__PURE__*/_react["default"].createElement(IconContainer, null, rightIconComponent));
121
121
  };
122
122
 
123
123
  TextButton.propTypes = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twreporter/react-components",
3
- "version": "8.24.0-rc.4",
3
+ "version": "8.24.0-rc.5",
4
4
  "main": "lib/index.js",
5
5
  "repository": "https://github.com/twreporter/twreporter-npm-packages.git",
6
6
  "author": "twreporter <developer@twreporter.org>",
@@ -51,5 +51,5 @@
51
51
  "react-dom": "^16.0.0",
52
52
  "storybook": "^7.5.2"
53
53
  },
54
- "gitHead": "227a94192aa96387d4877dac35e544e2415e0e8e"
54
+ "gitHead": "f78147a9d93d2bcb2f0c5ad5379f038e3f25a964"
55
55
  }