Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@twreporter/universal-header

Package Overview
Dependencies
Maintainers
4
Versions
342
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twreporter/universal-header - npm Package Compare versions

Comparing version 2.0.3-beta-6 to 2.0.3-beta-7

14

dist/components/channels.js

@@ -191,3 +191,5 @@ "use strict";

componentId: "nu2llv-2"
})(["justify-content:space-between;padding:", ";background-color:", ";", " ", " ", " user-select:none;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;list-style-type:none;margin:0;"], (0, _styleUtils.arrayToCssShorthand)(styles.channelsPadding.mobile), _colors.default.white, _styleUtils.screen.tabletOnly(_templateObject3(), (0, _styleUtils.arrayToCssShorthand)(styles.channelsPadding.tablet)), _styleUtils.screen.desktopAbove(_templateObject4(), styles.channelsPositionTop.desktop, styles.channelsPositionLeft.desktop), _styleUtils.screen.hdAbove(_templateObject5(), styles.channelsPositionLeft.hd));
})(["justify-content:space-between;padding:", ";background-color:", ";", " ", " ", " user-select:none;box-sizing:border-box;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;list-style-type:none;margin:0;"], (0, _styleUtils.arrayToCssShorthand)(styles.channelsPadding.mobile), function (props) {
return props.bgColor || _colors.default.white;
}, _styleUtils.screen.tabletOnly(_templateObject3(), (0, _styleUtils.arrayToCssShorthand)(styles.channelsPadding.tablet)), _styleUtils.screen.desktopAbove(_templateObject4(), styles.channelsPositionTop.desktop, styles.channelsPositionLeft.desktop), _styleUtils.screen.hdAbove(_templateObject5(), styles.channelsPositionLeft.hd));

@@ -346,3 +348,11 @@ var ListItem = _styledComponents.default.li.withConfig({

return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(Box, null, _react.default.createElement(List, null, channelsJSX)), _react.default.createElement(DropDownMenuTransitionGroup, {
return _react.default.createElement(_react.default.Fragment, null, _react.default.createElement(Box, null, _react.default.createElement(_headerContext.default.Consumer, null, function (_ref2) {
var theme = _ref2.theme;
var bgColor = _theme.default.selectChannelsBgColor(theme);
return _react.default.createElement(List, {
bgColor: bgColor
}, channelsJSX);
})), _react.default.createElement(DropDownMenuTransitionGroup, {
key: "transition",

@@ -349,0 +359,0 @@ transitionName: "effect",

@@ -400,5 +400,20 @@ "use strict";

function selectChannelsBgColor(theme) {
switch (theme) {
case _theme.default.transparent:
{
return 'transparent';
}
default:
{
return _colors.default.white;
}
}
}
var _default = {
selectBgColor: selectBgColor,
selectChannelTextShadow: selectChannelTextShadow,
selectChannelsBgColor: selectChannelsBgColor,
selectFontColor: selectFontColor,

@@ -405,0 +420,0 @@ selectHoverFontColor: selectHoverFontColor,

2

package.json
{
"name": "@twreporter/universal-header",
"version": "2.0.3-beta-6",
"version": "2.0.3-beta-7",
"description": "Universal header of TWReporter sites",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc