@twreporter/react-components 9.1.1 → 9.2.0-rc.0

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
+ # [9.2.0-rc.0](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/react-components@9.1.1...@twreporter/react-components@9.2.0-rc.0) (2024-07-08)
7
+
8
+
9
+ ### Features
10
+
11
+ * **react-components:** change topic listing page title to H1 ([3a221dd](https://github.com/twreporter/twreporter-npm-packages/commit/3a221dd4113d3f7a9dc47607fbb7ef821f735cfe))
12
+
13
+
14
+
15
+
16
+
6
17
  ## [9.1.1](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/react-components@9.1.1-rc.0...@twreporter/react-components@9.1.1) (2024-06-24)
7
18
 
8
19
  **Note:** Version bump only for package @twreporter/react-components
@@ -51,8 +51,8 @@ var Title2Wrapper = /*#__PURE__*/_styledComponents["default"].div.withConfig({
51
51
  displayName: "topics__Title2Wrapper",
52
52
  componentId: "sc-1n6udj1-1"
53
53
  })(["padding-top:24px;"]);
54
- var Gray800H2 = /*#__PURE__*/(0, _styledComponents["default"])(_headline.H2).withConfig({
55
- displayName: "topics__Gray800H2",
54
+ var Gray800H1 = /*#__PURE__*/(0, _styledComponents["default"])(_headline.H1).withConfig({
55
+ displayName: "topics__Gray800H1",
56
56
  componentId: "sc-1n6udj1-2"
57
57
  })(["color:", ";"], _color.colorGrayscale.gray800);
58
58
  var Topics = /*#__PURE__*/function (_Component) {
@@ -134,7 +134,7 @@ var Topics = /*#__PURE__*/function (_Component) {
134
134
  topRelatedPosts = _.get(topics, [0, 'relateds'], []).slice(-3); /* take last 3 posts from the end */
135
135
  topTopicName = _.get(topics, [0, 'topic_name'], '');
136
136
  topicUrl = _.get(topics, [0, 'linkTo'], '');
137
- topSectionJSX = [/*#__PURE__*/_react["default"].createElement(Gray800H2, {
137
+ topSectionJSX = [/*#__PURE__*/_react["default"].createElement(Gray800H1, {
138
138
  text: '深度專題',
139
139
  key: "top-title"
140
140
  }), /*#__PURE__*/_react["default"].createElement(Title2Wrapper, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@twreporter/react-components",
3
- "version": "9.1.1",
3
+ "version": "9.2.0-rc.0",
4
4
  "main": "lib/index.js",
5
5
  "repository": "https://github.com/twreporter/twreporter-npm-packages.git",
6
6
  "author": "twreporter <developer@twreporter.org>",
@@ -52,5 +52,5 @@
52
52
  "react-dom": "^18.2.0",
53
53
  "storybook": "^7.5.2"
54
54
  },
55
- "gitHead": "f972534496803a6b80f6578bf49244fc73bb0c04"
55
+ "gitHead": "5a7ec087b2ed701763f6f4ea37553c90643c4e28"
56
56
  }