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

@qlean/york-web

Package Overview
Dependencies
Maintainers
14
Versions
104
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qlean/york-web - npm Package Compare versions

Comparing version 5.3.1 to 5.3.2

5

lib/components/complex/Header/DesktopHeader/index.js

@@ -94,4 +94,3 @@ "use strict";

regions = _ref2$content.regions,
profile = _ref2$content.profile,
hideTabs = _ref2.hideTabs;
profile = _ref2$content.profile;
var tab = tabs.find(function (_ref3) {

@@ -117,3 +116,3 @@ var name = _ref3.name;

name: "logo"
}, _react["default"].createElement(Logo, null)), isNavigationAvailable && !hideTabs && _react["default"].createElement(_react["default"].Fragment, null, _react["default"].createElement(_primitive.Separator, {
}, _react["default"].createElement(Logo, null)), isNavigationAvailable && tabs.length > 1 && _react["default"].createElement(_react["default"].Fragment, null, _react["default"].createElement(_primitive.Separator, {
width: 3

@@ -120,0 +119,0 @@ }), _react["default"].createElement(_Tabs["default"], {

@@ -245,4 +245,3 @@ "use strict";

regions = _ref4$content.regions,
profile = _ref4$content.profile,
hideTabs = _ref4.hideTabs;
profile = _ref4$content.profile;
var analyticsContext = (0, _react.useContext)(_yorkAnalytics.AnalyticsContext);

@@ -297,3 +296,3 @@

onClick: onRequestClose
}, isOpened ? _react["default"].createElement(BurgerClosedIcon, null) : _react["default"].createElement(BurgerOpenedIcon, null)))), !hideTabs && _react["default"].createElement(_react["default"].Fragment, null, _react["default"].createElement(StyledTabsContainer, {
}, isOpened ? _react["default"].createElement(BurgerClosedIcon, null) : _react["default"].createElement(BurgerOpenedIcon, null)))), tabs.length > 1 && _react["default"].createElement(_react["default"].Fragment, null, _react["default"].createElement(StyledTabsContainer, {
justifyContent: "center"

@@ -300,0 +299,0 @@ }, tabs.map(function (_ref7) {

@@ -35,3 +35,3 @@ "use strict";

isPlusSubscriber: _propTypes["default"].bool.isRequired,
defaultTab: _propTypes["default"].string,
defaultTab: _propTypes["default"].string.isRequired,
selectedLevelOneItem: _propTypes["default"].string,

@@ -48,4 +48,3 @@ selectedLevelTwoItem: _propTypes["default"].string,

profile: _propTypes["default"].arrayOf(menuItemShape.isRequired).isRequired
}).isRequired,
hideTabs: _propTypes["default"].bool
}).isRequired
};

@@ -52,0 +51,0 @@ /*

4

package.json
{
"name": "@qlean/york-web",
"version": "5.3.1",
"version": "5.3.2",
"description": "",

@@ -25,3 +25,3 @@ "license": "MIT",

},
"gitHead": "d8cf1d7d9a6c203dce7a1531ab8d3a51223b4f8e"
"gitHead": "4fe21d57cf0e054b32c94e03a15c7b9d925e45a6"
}

@@ -73,3 +73,2 @@ import React from 'react'

content: { tabs, regions, profile },
hideTabs,
}) {

@@ -92,3 +91,3 @@ const tab = tabs.find(({ name }) => name === defaultTab)

</Link>
{isNavigationAvailable && !hideTabs && (
{isNavigationAvailable && tabs.length > 1 && (
<>

@@ -95,0 +94,0 @@ <Separator width={3} />

@@ -103,3 +103,2 @@ import React, { useState, useContext } from 'react'

content: { tabs, regions, profile },
hideTabs,
}) {

@@ -132,3 +131,3 @@ const analyticsContext = useContext(AnalyticsContext)

</View>
{!hideTabs && (
{tabs.length > 1 && (
<>

@@ -135,0 +134,0 @@ <StyledTabsContainer justifyContent="center">

@@ -14,3 +14,5 @@ import PropTypes from 'prop-types'

export const componentsShape = PropTypes.objectOf(PropTypes.elementType.isRequired)
export const componentsShape = PropTypes.objectOf(
PropTypes.elementType.isRequired,
)

@@ -22,3 +24,3 @@ export const headerPropTypes = {

isPlusSubscriber: PropTypes.bool.isRequired,
defaultTab: PropTypes.string,
defaultTab: PropTypes.string.isRequired,
selectedLevelOneItem: PropTypes.string,

@@ -36,3 +38,2 @@ selectedLevelTwoItem: PropTypes.string,

}).isRequired,
hideTabs: PropTypes.bool,
}

@@ -39,0 +40,0 @@

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