@twreporter/universal-header 3.0.7 → 3.0.8-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/lib/components/header.js +3 -1
- package/package.json +4 -4
package/lib/components/header.js
CHANGED
|
@@ -110,7 +110,7 @@ var ShowWhenNarrow = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
|
|
110
110
|
var TopRow = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
|
111
111
|
displayName: "header__TopRow",
|
|
112
112
|
componentId: "sc-1krza7i-6"
|
|
113
|
-
})(["display:flex;align-items:center;justify-content:space-between;padding:", " 16px;z-index:", ";background-color:", ";", "{opacity:", ";transition:opacity ", ";transition-delay:", ";}", "{opacity:", ";transition:opacity ", ";transition-delay:", ";}", "{margin-left:", ";transform:translateX(", ");transition:all ", ";transition-delay:", ";img,a{height:", ";transition:height ", ";transition-delay:", ";}}", ""], function (props) {
|
|
113
|
+
})(["display:flex;align-items:center;justify-content:space-between;padding:", " 16px;z-index:", ";background-color:", ";", "{opacity:", ";transition:opacity ", ";transition-delay:", ";}", "{opacity:", ";transition:opacity ", ";transition-delay:", ";pointer-events:", ";}", "{margin-left:", ";transform:translateX(", ");transition:all ", ";transition-delay:", ";img,a{height:", ";transition:height ", ";transition-delay:", ";}}", ""], function (props) {
|
|
114
114
|
return props.$toUseNarrow ? '16px' : '24px';
|
|
115
115
|
}, zIndex.topRow, function (props) {
|
|
116
116
|
return props.$topRowBgColor;
|
|
@@ -122,6 +122,8 @@ var TopRow = /*#__PURE__*/_styledComponents["default"].div.withConfig({
|
|
|
122
122
|
return props.$toUseNarrow ? '0' : '1';
|
|
123
123
|
}, animation.step3Duration, function (props) {
|
|
124
124
|
return props.$toUseNarrow ? animation.step3Delay : 0;
|
|
125
|
+
}, function (props) {
|
|
126
|
+
return props.$toUseNarrow ? 'none' : 'all';
|
|
125
127
|
}, LogoContainer, function (props) {
|
|
126
128
|
return props.$toUseNarrow ? '24px' : '0';
|
|
127
129
|
}, function (props) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twreporter/universal-header",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.8-rc.1",
|
|
4
4
|
"description": "Universal header of TWReporter sites",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"license": "MIT",
|
|
22
22
|
"dependencies": {
|
|
23
23
|
"@reduxjs/toolkit": "^2.2.5",
|
|
24
|
-
"@twreporter/core": "^1.
|
|
25
|
-
"@twreporter/react-components": "^9.
|
|
24
|
+
"@twreporter/core": "^1.24.0-rc.0",
|
|
25
|
+
"@twreporter/react-components": "^9.3.0-rc.0",
|
|
26
26
|
"lodash": "^4.17.11",
|
|
27
27
|
"prop-types": "^15.6.2",
|
|
28
28
|
"querystring": "^0.2.0",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"react-dom": "^18.2.0",
|
|
58
58
|
"storybook": "^8.1.11"
|
|
59
59
|
},
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "6fc620fd9451c138ae7a789ac8a947d5d2ae51bc"
|
|
61
61
|
}
|