@twreporter/react-components 8.22.0-rc.2 → 8.22.0-rc.3
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.22.0-rc.3](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/react-components@8.22.0-rc.2...@twreporter/react-components@8.22.0-rc.3) (2023-12-07)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* update listing item style ([da71d62](https://github.com/twreporter/twreporter-npm-packages/commit/da71d623641a92aa9a61dc5228ffb7a25a8ae484))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [8.22.0-rc.2](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/react-components@8.22.0-rc.1...@twreporter/react-components@8.22.0-rc.2) (2023-12-05)
|
|
7
18
|
|
|
8
19
|
|
|
@@ -17,6 +17,8 @@ var _styledComponents = _interopRequireDefault(require("styled-components"));
|
|
|
17
17
|
|
|
18
18
|
var _image = _interopRequireDefault(require("./image"));
|
|
19
19
|
|
|
20
|
+
var _paragraph = require("../../text/paragraph");
|
|
21
|
+
|
|
20
22
|
var _mockupSpec = _interopRequireDefault(require("../constants/mockup-spec"));
|
|
21
23
|
|
|
22
24
|
var _entityPath = _interopRequireDefault(require("@twreporter/core/lib/constants/entity-path"));
|
|
@@ -94,29 +96,29 @@ var Category = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
|
|
94
96
|
var Title = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
|
95
97
|
displayName: "list-item__Title",
|
|
96
98
|
componentId: "sc-1dx5lew-5"
|
|
97
|
-
})(["font-size:20px;font-weight:", ";font-family:", ";line-height:1.4;color:", ";margin-bottom:10px;"], _font.fontWeight.bold, _font.fontFamily.title, _color.colorGrayscale.
|
|
99
|
+
})(["font-size:20px;font-weight:", ";font-family:", ";line-height:1.4;color:", ";margin-bottom:10px;"], _font.fontWeight.bold, _font.fontFamily.title, _color.colorGrayscale.gray800);
|
|
98
100
|
|
|
99
101
|
var Desc = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
|
100
102
|
displayName: "list-item__Desc",
|
|
101
103
|
componentId: "sc-1dx5lew-6"
|
|
102
|
-
})(["position:relative;font-size:16px;line-height:1.5;text-align:justify;padding-bottom:
|
|
104
|
+
})(["position:relative;font-size:16px;line-height:1.5;text-align:justify;padding-bottom:16px;color:", ";"], _color.colorGrayscale.gray800);
|
|
103
105
|
|
|
104
|
-
var Tags = /*#__PURE__*/_styledComponents["default"].
|
|
106
|
+
var Tags = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
|
105
107
|
displayName: "list-item__Tags",
|
|
106
108
|
componentId: "sc-1dx5lew-7"
|
|
107
|
-
})(["
|
|
109
|
+
})(["width:100%;margin-top:32px;margin-bottom:40px;padding-left:15px;line-height:1;", ""], _mediaQuery["default"].mobileOnly(_templateObject9 || (_templateObject9 = _taggedTemplateLiteral(["\n padding-left: 0;\n "]))));
|
|
108
110
|
|
|
109
111
|
var PubDate = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
|
110
112
|
displayName: "list-item__PubDate",
|
|
111
113
|
componentId: "sc-1dx5lew-8"
|
|
112
114
|
})(["position:absolute;bottom:-20px;font-size:12px;right:0;"]);
|
|
113
115
|
|
|
114
|
-
var Tag = /*#__PURE__*/_styledComponents["default"].
|
|
116
|
+
var Tag = /*#__PURE__*/(0, _styledComponents["default"])(_paragraph.P3).withConfig({
|
|
115
117
|
displayName: "list-item__Tag",
|
|
116
118
|
componentId: "sc-1dx5lew-9"
|
|
117
|
-
})(["background-color:", ";border:
|
|
119
|
+
})(["background-color:", ";border:1px solid ", ";border-radius:68px;color:", ";display:inline-block;text-decoration:none;line-height:1.45;font-size:12px;font-weight:", ";padding:2px 10px;margin-right:8px;margin-bottom:10px;"], function (props) {
|
|
118
120
|
return props.selected ? _color.colorBrand.heavy : _color.colorGrayscale.gray100;
|
|
119
|
-
}, _color.colorBrand.
|
|
121
|
+
}, _color.colorBrand.heavy, function (props) {
|
|
120
122
|
return props.selected ? _color.colorGrayscale.white : _color.colorBrand.heavy;
|
|
121
123
|
}, _font.fontWeight.bold);
|
|
122
124
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twreporter/react-components",
|
|
3
|
-
"version": "8.22.0-rc.
|
|
3
|
+
"version": "8.22.0-rc.3",
|
|
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": "
|
|
54
|
+
"gitHead": "0d528cb98215e64a0c0f46a25aaff29190f1bc11"
|
|
55
55
|
}
|