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

@popmenu/dashboard

Package Overview
Dependencies
Maintainers
4
Versions
71
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@popmenu/dashboard - npm Package Compare versions

Comparing version 0.50.0 to 0.51.0

23

build/index.es.js

@@ -866,2 +866,20 @@ import * as React from 'react';

var _path$a;
function _extends$G() { _extends$G = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$G.apply(this, arguments); }
function SvgGitCommit(props) {
return /*#__PURE__*/React.createElement("svg", _extends$G({
viewBox: "0 0 16 16",
fill: "none",
strokeLinecap: "round",
strokeLinejoin: "round",
width: "1em",
height: "1em"
}, props), _path$a || (_path$a = /*#__PURE__*/React.createElement("path", {
d: "M8 10.667a2.667 2.667 0 100-5.334 2.667 2.667 0 000 5.334zM.7 8h3.967m6.673 0h3.966",
stroke: "currentColor"
})));
}
var useLeaderboardStyles = makeStyles(function (theme) { return ({

@@ -1031,4 +1049,4 @@ root: {

var classes = useKpiMetricStyles(props);
var trendColors = trendStatus === 'natural' ? ['success', 'warning'] : ['warning', 'success'];
var trendColorMap = { up: 0, down: 1, level: 1 };
var trendColors = trendStatus === 'natural' ? ['success', 'warning', 'grey.500'] : ['warning', 'success', 'grey.500'];
var trendColorMap = { up: 0, down: 1, level: 2 };
return (React__default.createElement(Box, { className: classes.root },

@@ -1042,2 +1060,3 @@ KpiIcon && (React__default.createElement(Box, { className: classes.iconContainer },

trend === 'down' && React__default.createElement(Icon, { className: classes.trendIcon, icon: SvgTrendDown, size: "inherit" }),
trend === 'level' && React__default.createElement(Icon, { className: classes.trendIcon, icon: SvgGitCommit, size: "inherit" }),
trendMessage))));

@@ -1044,0 +1063,0 @@ };

@@ -911,2 +911,20 @@ 'use strict';

var _path$a;
function _extends$G() { _extends$G = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends$G.apply(this, arguments); }
function SvgGitCommit(props) {
return /*#__PURE__*/React__namespace.createElement("svg", _extends$G({
viewBox: "0 0 16 16",
fill: "none",
strokeLinecap: "round",
strokeLinejoin: "round",
width: "1em",
height: "1em"
}, props), _path$a || (_path$a = /*#__PURE__*/React__namespace.createElement("path", {
d: "M8 10.667a2.667 2.667 0 100-5.334 2.667 2.667 0 000 5.334zM.7 8h3.967m6.673 0h3.966",
stroke: "currentColor"
})));
}
var useLeaderboardStyles = core.makeStyles(function (theme) { return ({

@@ -1076,4 +1094,4 @@ root: {

var classes = useKpiMetricStyles(props);
var trendColors = trendStatus === 'natural' ? ['success', 'warning'] : ['warning', 'success'];
var trendColorMap = { up: 0, down: 1, level: 1 };
var trendColors = trendStatus === 'natural' ? ['success', 'warning', 'grey.500'] : ['warning', 'success', 'grey.500'];
var trendColorMap = { up: 0, down: 1, level: 2 };
return (React__default['default'].createElement(core.Box, { className: classes.root },

@@ -1087,2 +1105,3 @@ KpiIcon && (React__default['default'].createElement(core.Box, { className: classes.iconContainer },

trend === 'down' && React__default['default'].createElement(Icon, { className: classes.trendIcon, icon: SvgTrendDown, size: "inherit" }),
trend === 'level' && React__default['default'].createElement(Icon, { className: classes.trendIcon, icon: SvgGitCommit, size: "inherit" }),
trendMessage))));

@@ -1089,0 +1108,0 @@ };

4

package.json
{
"name": "@popmenu/dashboard",
"version": "0.50.0",
"version": "0.51.0",
"license": "MIT",

@@ -32,3 +32,3 @@ "author": "Popmenu Design System Team",

"sideEffects": false,
"gitHead": "e8a4a1c2c50fd1aeb8d23e02f84cb6cb5230d5f2"
"gitHead": "8b8bbd30db55d90cf3ba64b96b660228d7c3fc0b"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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