New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@deskpro/apps-components

Package Overview
Dependencies
Maintainers
4
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deskpro/apps-components - npm Package Compare versions

Comparing version

to
0.5.0

2

lib/AppBar/AppBar.js

@@ -52,3 +52,3 @@ 'use strict';

),
badgeText && _react2.default.createElement(
!!badgeText && _react2.default.createElement(
'span',

@@ -55,0 +55,0 @@ { className: 'dp-IconBadge' },

@@ -71,20 +71,24 @@ 'use strict';

'div',
{
className: (0, _classnames2.default)('dp-AppFrame', state === 'inactive' ? 'is-inactive' : '', display === 'collapsed' ? 'is-colapsed' : '', this.props.className)
},
{ className: "dp-Root" },
_react2.default.createElement(
_AppBar2.default,
{ iconUrl: iconUrl, title: title, badgeText: badgeVisibility === 'visible' ? badgeCount : null },
_react2.default.createElement(_Action2.default, { icon: 'refresh', onClick: refresh }),
_react2.default.createElement(_Action2.default, { icon: display === 'collapsed' ? 'down' : 'up', onClick: display === 'collapsed' ? expand : collapse })
),
_react2.default.createElement(
_AppBody2.default,
null,
notification && _react2.default.createElement(
_Notification2.default,
{ type: notificationType, dismiss: closeNotification },
notification
'div',
{
className: (0, _classnames2.default)('dp-AppFrame', state === 'inactive' ? 'is-inactive' : '', display === 'collapsed' ? 'is-colapsed' : '', this.props.className)
},
_react2.default.createElement(
_AppBar2.default,
{ iconUrl: iconUrl, title: title, badgeText: badgeVisibility === 'visible' ? badgeCount : null },
_react2.default.createElement(_Action2.default, { icon: 'refresh', onClick: refresh }),
_react2.default.createElement(_Action2.default, { icon: display === 'collapsed' ? 'down' : 'up', onClick: display === 'collapsed' ? expand : collapse })
),
children
_react2.default.createElement(
_AppBody2.default,
null,
notification && _react2.default.createElement(
_Notification2.default,
{ type: notificationType, dismiss: closeNotification },
notification
),
children
)
)

@@ -91,0 +95,0 @@ );

{
"name": "@deskpro/apps-components",
"version": "0.4.0",
"version": "0.5.0",
"author": "DeskPRO <support@deskpro.com>",

@@ -23,3 +23,3 @@ "license": "BSD 3-Clause License",

"dependencies": {
"@deskpro/apps-components-style": "^0.4.0",
"@deskpro/apps-components-style": "^0.5.0",
"classnames": "^2.2.6",

@@ -26,0 +26,0 @@ "react-custom-scrollbars": "^4.2.1"