@twreporter/react-components 8.21.0-rc.4 → 8.21.0-rc.6

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,28 @@
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.21.0-rc.6](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/react-components@8.21.0-rc.5...@twreporter/react-components@8.21.0-rc.6) (2023-11-15)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * `InheritLinkButton` cannot set link & style ([a1b1a64](https://github.com/twreporter/twreporter-npm-packages/commit/a1b1a6466f288e435b8bcc28c9c1cea2a2e667fc))
12
+
13
+
14
+
15
+
16
+
17
+ # [8.21.0-rc.5](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/react-components@8.21.0-rc.4...@twreporter/react-components@8.21.0-rc.5) (2023-11-14)
18
+
19
+
20
+ ### Bug Fixes
21
+
22
+ * paragraph margin block ([949efb7](https://github.com/twreporter/twreporter-npm-packages/commit/949efb7c2d3213b9e0ebc35bdbc3739a14fa8b0e))
23
+
24
+
25
+
26
+
27
+
6
28
  # [8.21.0-rc.4](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/react-components@8.21.0-rc.3...@twreporter/react-components@8.21.0-rc.4) (2023-11-14)
7
29
 
8
30
 
@@ -41,7 +41,7 @@ var style = {
41
41
  var BaseContainer = /*#__PURE__*/(0, _styledComponents["default"])(_customizedLink["default"]).withConfig({
42
42
  displayName: "link__BaseContainer",
43
43
  componentId: "g5z7t5-0"
44
- })(["text-underline-offset:4px;text-decoration-line:", ";color:", ";&:hover{text-decoration-line:underline;}"], function (props) {
44
+ })(["text-underline-offset:4px;text-decoration-line:", "!important;color:", ";&:hover{text-decoration-line:underline;}"], function (props) {
45
45
  return style.decoration[props.type];
46
46
  }, function (props) {
47
47
  return style.color[props.type];
@@ -107,7 +107,7 @@ var InheritLinkButton = function InheritLinkButton(_ref2) {
107
107
 
108
108
  return /*#__PURE__*/_react["default"].createElement(InheritLinkContainer, _extends({
109
109
  type: type
110
- }, props), text);
110
+ }, link, props), text);
111
111
  };
112
112
 
113
113
  exports.InheritLinkButton = InheritLinkButton;
@@ -28,7 +28,7 @@ function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) r
28
28
  var defaultContainer = /*#__PURE__*/_styledComponents["default"].p.withConfig({
29
29
  displayName: "paragraph__defaultContainer",
30
30
  componentId: "sc-1aejhao-0"
31
- })(["font-weight:", ";font-family:", ";line-height:150%;display:flex;align-items:center;"], function (props) {
31
+ })(["font-weight:", ";font-family:", ";line-height:150%;display:flex;align-items:center;margin-block-start:0px;margin-block-end:0px;"], function (props) {
32
32
  return _font.fontWeight[props.weight];
33
33
  }, _font.fontFamily["default"]);
34
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twreporter/react-components",
3
- "version": "8.21.0-rc.4",
3
+ "version": "8.21.0-rc.6",
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": "c725d9e91d8d4024fc4f35f3b54a9a937b6f82e1"
54
+ "gitHead": "7c9e6d4a808299b6381809aa74210aaa52fe4973"
55
55
  }