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

inzane-test-package

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

inzane-test-package - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

53

dist/cjs/index.js

@@ -9,22 +9,3 @@ 'use strict';

function _interopNamespace(e) {
if (e && e.__esModule) return e;
var n = Object.create(null);
if (e) {
Object.keys(e).forEach(function (k) {
if (k !== 'default') {
var d = Object.getOwnPropertyDescriptor(e, k);
Object.defineProperty(n, k, d.get ? d : {
enumerable: true,
get: function () { return e[k]; }
});
}
});
}
n["default"] = e;
return Object.freeze(n);
}
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
var React__namespace = /*#__PURE__*/_interopNamespace(React);

@@ -35,28 +16,2 @@ function Button(props) {

function ArrowSmDownIcon(props) {
return /*#__PURE__*/React__namespace.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
"aria-hidden": "true"
}, props), /*#__PURE__*/React__namespace.createElement("path", {
fillRule: "evenodd",
d: "M14.707 10.293a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 111.414-1.414L9 12.586V5a1 1 0 012 0v7.586l2.293-2.293a1 1 0 011.414 0z",
clipRule: "evenodd"
}));
}
function ArrowSmUpIcon(props) {
return /*#__PURE__*/React__namespace.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
"aria-hidden": "true"
}, props), /*#__PURE__*/React__namespace.createElement("path", {
fillRule: "evenodd",
d: "M5.293 9.707a1 1 0 010-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 01-1.414 1.414L11 7.414V15a1 1 0 11-2 0V7.414L6.707 9.707a1 1 0 01-1.414 0z",
clipRule: "evenodd"
}));
}
function classNames(...classes) {

@@ -85,9 +40,3 @@ return classes.filter(Boolean).join(' ');

className: classNames(props.data.changeType === 'increase' ? 'text-green-500' : 'text-red-600', 'flex items-baseline text-sm font-semibold')
}, props.data.changeType === 'increase' ? /*#__PURE__*/React__default["default"].createElement(ArrowSmUpIcon, {
className: "self-center flex-shrink-0 h-5 w-5 text-green-500",
"aria-hidden": "true"
}) : /*#__PURE__*/React__default["default"].createElement(ArrowSmDownIcon, {
className: "self-center flex-shrink-0 h-5 w-5 text-red-500",
"aria-hidden": "true"
}), /*#__PURE__*/React__default["default"].createElement("span", {
}, /*#__PURE__*/React__default["default"].createElement("span", {
className: "sr-only"

@@ -94,0 +43,0 @@ }, props.data.changeType === 'increase' ? 'Increased' : 'Decreased', " by"), props.data.change, /*#__PURE__*/React__default["default"].createElement("span", {

57

dist/esm/index.js

@@ -1,34 +0,7 @@

import * as React from 'react';
import React__default from 'react';
import React from 'react';
function Button(props) {
return /*#__PURE__*/React__default.createElement("div", null, props.data);
return /*#__PURE__*/React.createElement("div", null, props.data);
}
function ArrowSmDownIcon(props) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
"aria-hidden": "true"
}, props), /*#__PURE__*/React.createElement("path", {
fillRule: "evenodd",
d: "M14.707 10.293a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 111.414-1.414L9 12.586V5a1 1 0 012 0v7.586l2.293-2.293a1 1 0 011.414 0z",
clipRule: "evenodd"
}));
}
function ArrowSmUpIcon(props) {
return /*#__PURE__*/React.createElement("svg", Object.assign({
xmlns: "http://www.w3.org/2000/svg",
viewBox: "0 0 20 20",
fill: "currentColor",
"aria-hidden": "true"
}, props), /*#__PURE__*/React.createElement("path", {
fillRule: "evenodd",
d: "M5.293 9.707a1 1 0 010-1.414l4-4a1 1 0 011.414 0l4 4a1 1 0 01-1.414 1.414L11 7.414V15a1 1 0 11-2 0V7.414L6.707 9.707a1 1 0 01-1.414 0z",
clipRule: "evenodd"
}));
}
function classNames(...classes) {

@@ -39,29 +12,23 @@ return classes.filter(Boolean).join(' ');

function BasicCard(props) {
return /*#__PURE__*/React__default.createElement("div", {
return /*#__PURE__*/React.createElement("div", {
key: props.data.id,
className: "relative bg-white pt-6 px-6 pb-8 sm:pt-6 sm:px-6 shadow rounded-lg overflow-hidden"
}, /*#__PURE__*/React__default.createElement("dd", {
}, /*#__PURE__*/React.createElement("dd", {
className: "self-start flex justify-between md:flex lg:flex"
}, /*#__PURE__*/React__default.createElement("div", {
}, /*#__PURE__*/React.createElement("div", {
className: "pb-6"
}, /*#__PURE__*/React__default.createElement("p", {
}, /*#__PURE__*/React.createElement("p", {
className: "text-sm font-normal text-gray-400"
}, props.data.name), /*#__PURE__*/React__default.createElement("p", {
}, props.data.name), /*#__PURE__*/React.createElement("p", {
className: "text-xl font-semibold text-gray-600"
}, props.data.stat)), /*#__PURE__*/React__default.createElement("div", {
}, props.data.stat)), /*#__PURE__*/React.createElement("div", {
className: "self-start inline-flex items-baseline bg-blue-100 rounded-md p-2"
}, /*#__PURE__*/React__default.createElement(data.icon, {
}, /*#__PURE__*/React.createElement(data.icon, {
className: "h-4 w-4 text-blue-600",
"aria-hidden": "true"
}))), /*#__PURE__*/React__default.createElement("p", {
}))), /*#__PURE__*/React.createElement("p", {
className: classNames(props.data.changeType === 'increase' ? 'text-green-500' : 'text-red-600', 'flex items-baseline text-sm font-semibold')
}, props.data.changeType === 'increase' ? /*#__PURE__*/React__default.createElement(ArrowSmUpIcon, {
className: "self-center flex-shrink-0 h-5 w-5 text-green-500",
"aria-hidden": "true"
}) : /*#__PURE__*/React__default.createElement(ArrowSmDownIcon, {
className: "self-center flex-shrink-0 h-5 w-5 text-red-500",
"aria-hidden": "true"
}), /*#__PURE__*/React__default.createElement("span", {
}, /*#__PURE__*/React.createElement("span", {
className: "sr-only"
}, props.data.changeType === 'increase' ? 'Increased' : 'Decreased', " by"), props.data.change, /*#__PURE__*/React__default.createElement("span", {
}, props.data.changeType === 'increase' ? 'Increased' : 'Decreased', " by"), props.data.change, /*#__PURE__*/React.createElement("span", {
className: "text-gray-400 font-normal ml-3"

@@ -68,0 +35,0 @@ }, "Since last month")));

{
"name": "inzane-test-package",
"version": "0.0.11",
"version": "0.0.12",
"description": "Inzane Test",

@@ -5,0 +5,0 @@ "repository": {

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