@twreporter/react-components 8.18.1-rc.6 → 8.18.1-rc.7
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 +11 -0
- package/lib/footer/content.js +3 -6
- package/package.json +4 -4
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.18.1-rc.7](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/react-components@8.18.1-rc.6...@twreporter/react-components@8.18.1-rc.7) (2023-08-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* remove unused code ([05a9110](https://github.com/twreporter/twreporter-npm-packages/commit/05a9110cb7775b17c5cdade6f0ef7a3b437f3957))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
## [8.18.1-rc.6](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/react-components@8.18.1-rc.5...@twreporter/react-components@8.18.1-rc.6) (2023-08-11)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @twreporter/react-components
|
package/lib/footer/content.js
CHANGED
|
@@ -23,8 +23,6 @@ var _siteMeta = require("@twreporter/core/lib/constants/site-meta");
|
|
|
23
23
|
|
|
24
24
|
var _entityPath = _interopRequireDefault(require("@twreporter/core/lib/constants/entity-path"));
|
|
25
25
|
|
|
26
|
-
var _externalLinks = _interopRequireDefault(require("@twreporter/core/lib/constants/external-links"));
|
|
27
|
-
|
|
28
26
|
var _mediaQuery = _interopRequireDefault(require("@twreporter/core/lib/utils/media-query"));
|
|
29
27
|
|
|
30
28
|
var _requestOrigins = _interopRequireDefault(require("@twreporter/core/lib/constants/request-origins"));
|
|
@@ -105,8 +103,8 @@ function getItemGroups(mainOrigin) {
|
|
|
105
103
|
}], [{
|
|
106
104
|
slug: 'subcribe',
|
|
107
105
|
text: '訂閱電子報',
|
|
108
|
-
link:
|
|
109
|
-
target: '
|
|
106
|
+
link: "".concat(mainOrigin).concat(_entityPath["default"].account, "/email-subscription"),
|
|
107
|
+
target: '_self'
|
|
110
108
|
}, {
|
|
111
109
|
slug: 'podcast-list',
|
|
112
110
|
text: 'Podcast節目列表',
|
|
@@ -121,8 +119,7 @@ function getItemGroups(mainOrigin) {
|
|
|
121
119
|
slug: 'branding-design',
|
|
122
120
|
text: '品牌設計規範',
|
|
123
121
|
link: 'https://twreporter.gitbook.io/the-reporter-brand-guidelines',
|
|
124
|
-
target: '_blank'
|
|
125
|
-
newFlag: true
|
|
122
|
+
target: '_blank'
|
|
126
123
|
}]];
|
|
127
124
|
}
|
|
128
125
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twreporter/react-components",
|
|
3
|
-
"version": "8.18.1-rc.
|
|
3
|
+
"version": "8.18.1-rc.7",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"repository": "https://github.com/twreporter/twreporter-npm-packages.git",
|
|
6
6
|
"author": "twreporter <developer@twreporter.org>",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"chromatic": "npx chromatic --exit-zero-on-changes"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@twreporter/core": "^1.11.0-rc.
|
|
19
|
-
"@twreporter/redux": "^7.7.0-rc.
|
|
18
|
+
"@twreporter/core": "^1.11.0-rc.4",
|
|
19
|
+
"@twreporter/redux": "^7.7.0-rc.5",
|
|
20
20
|
"fontfaceobserver-es": "^3.3.3",
|
|
21
21
|
"hoist-non-react-statics": "^2.3.1",
|
|
22
22
|
"lodash": "^4.0.0",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"babel-loader": "^8.2.4",
|
|
45
45
|
"chromatic": "^6.5.4"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "ebb4e7939246d4f6a06040a1d1b4865dbb641de2"
|
|
48
48
|
}
|