@twreporter/react-components 8.12.0-rc.1 → 8.12.1-rc.1
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,33 @@
|
|
|
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.12.1-rc.1](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/react-components@8.12.1-rc.0...@twreporter/react-components@8.12.1-rc.1) (2022-08-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* fix title bar text color ([de712ab](https://github.com/twreporter/twreporter-npm-packages/commit/de712ab54ccd886458d94b9c3ed0a98a40b39e51))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [8.12.1-rc.0](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/react-components@8.12.0...@twreporter/react-components@8.12.1-rc.0) (2022-08-17)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @twreporter/react-components
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [8.12.0](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/react-components@8.12.0-rc.1...@twreporter/react-components@8.12.0) (2022-08-11)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @twreporter/react-components
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [8.12.0-rc.1](https://github.com/twreporter/twreporter-npm-packages/compare/@twreporter/react-components@8.12.0-rc.0...@twreporter/react-components@8.12.0-rc.1) (2022-08-10)
|
|
7
34
|
|
|
8
35
|
|
|
@@ -153,7 +153,9 @@ var List = /*#__PURE__*/function (_PureComponent) {
|
|
|
153
153
|
}));
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
|
|
156
|
+
var headerTitle = catName || (tagName ? "#".concat(tagName) : '');
|
|
157
|
+
var headerJSX = headerTitle ? /*#__PURE__*/_react["default"].createElement(Header, null, headerTitle) : null;
|
|
158
|
+
return /*#__PURE__*/_react["default"].createElement(Container, null, headerJSX, /*#__PURE__*/_react["default"].createElement(Items, {
|
|
157
159
|
isFetching: isFetching,
|
|
158
160
|
showSpinner: showSpinner
|
|
159
161
|
}, listJSX));
|
|
@@ -17,13 +17,16 @@ var _paragraph = require("../../text/paragraph");
|
|
|
17
17
|
|
|
18
18
|
var _divider = _interopRequireDefault(require("../../divider"));
|
|
19
19
|
|
|
20
|
+
var _color = require("@twreporter/core/lib/constants/color");
|
|
21
|
+
|
|
20
22
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
|
|
21
23
|
|
|
22
24
|
// component
|
|
25
|
+
// @twreporter
|
|
23
26
|
var BarContainer = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
|
24
27
|
displayName: "bar__BarContainer",
|
|
25
28
|
componentId: "sc-18ncllq-0"
|
|
26
|
-
})(["display:flex;width:100%;flex-direction:column;& > div{margin-bottom:16px;&:last-child{margin-bottom:0;}}"]);
|
|
29
|
+
})(["display:flex;width:100%;flex-direction:column;color:", ";& > div{margin-bottom:16px;&:last-child{margin-bottom:0;}}"], _color.colorGrayscale.gray800);
|
|
27
30
|
|
|
28
31
|
var TitleBar = function TitleBar(_ref) {
|
|
29
32
|
var _ref$title = _ref.title,
|
|
@@ -62,7 +62,7 @@ var tabPropType = _propTypes["default"].shape({
|
|
|
62
62
|
var BarContainer = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
|
63
63
|
displayName: "tab__BarContainer",
|
|
64
64
|
componentId: "ywb8e-0"
|
|
65
|
-
})(["display:flex;width:100%;flex-direction:column;& > div{margin-bottom:16px;&:last-child{margin-bottom:0;}}"]);
|
|
65
|
+
})(["display:flex;width:100%;flex-direction:column;color:", ";& > div{margin-bottom:16px;&:last-child{margin-bottom:0;}}"], _color.colorGrayscale.gray800);
|
|
66
66
|
|
|
67
67
|
var TabItemContainer = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
|
68
68
|
displayName: "tab__TabItemContainer",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twreporter/react-components",
|
|
3
|
-
"version": "8.12.
|
|
3
|
+
"version": "8.12.1-rc.1",
|
|
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.
|
|
19
|
-
"@twreporter/redux": "^7.
|
|
18
|
+
"@twreporter/core": "^1.6.0-rc.0",
|
|
19
|
+
"@twreporter/redux": "^7.3.0-rc.0",
|
|
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": "c39b265ecd77107f0e1aeb6d3d147efb969c6226"
|
|
48
48
|
}
|