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

@diana-ui/assets

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@diana-ui/assets - npm Package Compare versions

Comparing version 0.0.8 to 1.0.0

module/index.js

79

lib/index.d.ts

@@ -1,3 +0,4 @@

export function Add(props: any): any;
export namespace Add {
export var __esModule: boolean;
export function Close(props: any): any;
export namespace Close {
export namespace defaultProps {

@@ -9,7 +10,6 @@ export const width: string;

export const xmlns: string;
export const stroke: string;
}
}
export function ArrowDown(props: any): any;
export namespace ArrowDown {
export function ChevronUp(props: any): any;
export namespace ChevronUp {
export namespace defaultProps_1 {

@@ -22,4 +22,2 @@ const width_1: string;

export { viewBox_1 as viewBox };
const fill_1: string;
export { fill_1 as fill };
const xmlns_1: string;

@@ -30,4 +28,4 @@ export { xmlns_1 as xmlns };

}
export function Arrow(props: any): any;
export namespace Arrow {
export function ChevronRight(props: any): any;
export namespace ChevronRight {
export namespace defaultProps_2 {

@@ -40,4 +38,2 @@ const width_2: string;

export { viewBox_2 as viewBox };
const stroke_1: string;
export { stroke_1 as stroke };
const xmlns_2: string;

@@ -48,4 +44,4 @@ export { xmlns_2 as xmlns };

}
export function Block(props: any): any;
export namespace Block {
export function ChevronLeft(props: any): any;
export namespace ChevronLeft {
export namespace defaultProps_3 {

@@ -58,4 +54,2 @@ const width_3: string;

export { viewBox_3 as viewBox };
const fill_2: string;
export { fill_2 as fill };
const xmlns_3: string;

@@ -66,4 +60,4 @@ export { xmlns_3 as xmlns };

}
export function Chart(props: any): any;
export namespace Chart {
export function ChevronDown(props: any): any;
export namespace ChevronDown {
export namespace defaultProps_4 {

@@ -76,4 +70,2 @@ const width_4: string;

export { viewBox_4 as viewBox };
const fill_3: string;
export { fill_3 as fill };
const xmlns_4: string;

@@ -84,4 +76,4 @@ export { xmlns_4 as xmlns };

}
export function Check(props: any): any;
export namespace Check {
export function Checkmark(props: any): any;
export namespace Checkmark {
export namespace defaultProps_5 {

@@ -94,4 +86,4 @@ const width_5: string;

export { viewBox_5 as viewBox };
const fill_4: string;
export { fill_4 as fill };
const fill_1: string;
export { fill_1 as fill };
const xmlns_5: string;

@@ -102,4 +94,4 @@ export { xmlns_5 as xmlns };

}
export function Checkmark(props: any): any;
export namespace Checkmark {
export function Check(props: any): any;
export namespace Check {
export namespace defaultProps_6 {

@@ -112,4 +104,4 @@ const width_6: string;

export { viewBox_6 as viewBox };
const fill_5: string;
export { fill_5 as fill };
const fill_2: string;
export { fill_2 as fill };
const xmlns_6: string;

@@ -120,4 +112,4 @@ export { xmlns_6 as xmlns };

}
export function ChevronDown(props: any): any;
export namespace ChevronDown {
export function Chart(props: any): any;
export namespace Chart {
export namespace defaultProps_7 {

@@ -130,2 +122,4 @@ const width_7: string;

export { viewBox_7 as viewBox };
const fill_3: string;
export { fill_3 as fill };
const xmlns_7: string;

@@ -136,4 +130,4 @@ export { xmlns_7 as xmlns };

}
export function ChevronLeft(props: any): any;
export namespace ChevronLeft {
export function Block(props: any): any;
export namespace Block {
export namespace defaultProps_8 {

@@ -146,2 +140,4 @@ const width_8: string;

export { viewBox_8 as viewBox };
const fill_4: string;
export { fill_4 as fill };
const xmlns_8: string;

@@ -152,4 +148,4 @@ export { xmlns_8 as xmlns };

}
export function ChevronRight(props: any): any;
export namespace ChevronRight {
export function Arrow(props: any): any;
export namespace Arrow {
export namespace defaultProps_9 {

@@ -162,2 +158,3 @@ const width_9: string;

export { viewBox_9 as viewBox };
export const stroke: string;
const xmlns_9: string;

@@ -168,4 +165,4 @@ export { xmlns_9 as xmlns };

}
export function ChevronUp(props: any): any;
export namespace ChevronUp {
export function ArrowDown(props: any): any;
export namespace ArrowDown {
export namespace defaultProps_10 {

@@ -178,2 +175,4 @@ const width_10: string;

export { viewBox_10 as viewBox };
const fill_5: string;
export { fill_5 as fill };
const xmlns_10: string;

@@ -184,4 +183,8 @@ export { xmlns_10 as xmlns };

}
export function Close(props: any): any;
export namespace Close {
/**
* This file was auto-generated! Please do NOT edit directly.
* Use yarn generate:icons
*/
export function Add(props: any): any;
export namespace Add {
export namespace defaultProps_11 {

@@ -198,4 +201,6 @@ const width_11: string;

export { xmlns_11 as xmlns };
const stroke_1: string;
export { stroke_1 as stroke };
}
export { defaultProps_11 as defaultProps };
}

@@ -1,3 +0,14 @@

import React from "react";
"use strict";
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.Close = exports.ChevronUp = exports.ChevronRight = exports.ChevronLeft = exports.ChevronDown = exports.Checkmark = exports.Check = exports.Chart = exports.Block = exports.Arrow = exports.ArrowDown = exports.Add = void 0;
var _react = _interopRequireDefault(require("react"));
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}
/**

@@ -13,19 +24,26 @@ * This file was auto-generated! Please do NOT edit directly.

var Add = function Add(props) {
return React.createElement("svg", props, React.createElement("path", {
className: "outter",
d: "M16 30.933c8.247 0 14.933-6.686 14.933-14.933S24.247 1.067 16 1.067C7.752 1.067 1.066 7.753 1.066 16S7.752 30.933 16 30.933z",
strokeWidth: "2",
strokeMiterlimit: "10",
strokeLinecap: "round",
strokeLinejoin: "round"
}), React.createElement("path", {
className: "inner",
d: "M16 22.4V9.6M9.6 16h12.8H9.6z",
strokeWidth: "2",
strokeMiterlimit: "10",
strokeLinecap: "round",
strokeLinejoin: "round"
}));
return /*#__PURE__*/ _react["default"].createElement(
"svg",
props,
/*#__PURE__*/ _react["default"].createElement("path", {
className: "outter",
d:
"M16 30.933c8.247 0 14.933-6.686 14.933-14.933S24.247 1.067 16 1.067C7.752 1.067 1.066 7.753 1.066 16S7.752 30.933 16 30.933z",
strokeWidth: "2",
strokeMiterlimit: "10",
strokeLinecap: "round",
strokeLinejoin: "round"
}),
/*#__PURE__*/ _react["default"].createElement("path", {
className: "inner",
d: "M16 22.4V9.6M9.6 16h12.8H9.6z",
strokeWidth: "2",
strokeMiterlimit: "10",
strokeLinecap: "round",
strokeLinejoin: "round"
})
);
};
exports.Add = Add;
Add.defaultProps = {

@@ -39,20 +57,37 @@ width: "32",

};
export { Add };
var ArrowDown = function ArrowDown(props) {
return React.createElement("svg", props, React.createElement("g", {
clipPath: "url(#a)"
}, React.createElement("path", {
d: "M.86 2.605L4.052 5.8l3.193-3.194",
stroke: "#000",
strokeLinecap: "round",
strokeLinejoin: "round"
})), React.createElement("defs", null, React.createElement("clipPath", {
id: "a"
}, React.createElement("path", {
fill: "#fff",
d: "M0 0h8v8H0z"
}))));
return /*#__PURE__*/ _react["default"].createElement(
"svg",
props,
/*#__PURE__*/ _react["default"].createElement(
"g",
{
clipPath: "url(#a)"
},
/*#__PURE__*/ _react["default"].createElement("path", {
d: "M.86 2.605L4.052 5.8l3.193-3.194",
stroke: "#000",
strokeLinecap: "round",
strokeLinejoin: "round"
})
),
/*#__PURE__*/ _react["default"].createElement(
"defs",
null,
/*#__PURE__*/ _react["default"].createElement(
"clipPath",
{
id: "a"
},
/*#__PURE__*/ _react["default"].createElement("path", {
fill: "#fff",
d: "M0 0h8v8H0z"
})
)
)
);
};
exports.ArrowDown = ArrowDown;
ArrowDown.defaultProps = {

@@ -65,13 +100,17 @@ width: "8",

};
export { ArrowDown };
var Arrow = function Arrow(props) {
return React.createElement("svg", props, React.createElement("path", {
d: "M2 10.485l8.485 8.486 8.486-8.486",
strokeWidth: "2",
strokeLinecap: "round",
strokeLinejoin: "round"
}));
return /*#__PURE__*/ _react["default"].createElement(
"svg",
props,
/*#__PURE__*/ _react["default"].createElement("path", {
d: "M2 10.485l8.485 8.486 8.486-8.486",
strokeWidth: "2",
strokeLinecap: "round",
strokeLinejoin: "round"
})
);
};
exports.Arrow = Arrow;
Arrow.defaultProps = {

@@ -84,10 +123,14 @@ width: "21",

};
export { Arrow };
var Block = function Block(props) {
return React.createElement("svg", props, React.createElement("path", {
d: "M9 17.438A8.438 8.438 0 1 0 9 .561a8.438 8.438 0 0 0 0 16.875zM14.625 3.938L3.375 14.624"
}));
return /*#__PURE__*/ _react["default"].createElement(
"svg",
props,
/*#__PURE__*/ _react["default"].createElement("path", {
d: "M9 17.438A8.438 8.438 0 1 0 9 .561a8.438 8.438 0 0 0 0 16.875zM14.625 3.938L3.375 14.624"
})
);
};
exports.Block = Block;
Block.defaultProps = {

@@ -100,11 +143,16 @@ width: "18",

};
export { Block };
var Chart = function Chart(props) {
return React.createElement("svg", props, React.createElement("path", {
d: "M1.334 10.896h-.5a.5.5 0 0 1 .5-.5v.5zm21.833 11.77a.5.5 0 1 1-1 0h1zm-21.333 0a.5.5 0 1 1-1 0h1zm4.138-11.77v-.5a.5.5 0 0 1 .5.5h-.5zm.5 11.77a.5.5 0 1 1-1 0h1zm3.71 0a.5.5 0 1 1-1 0h1zm-.5-16.184h-.5a.5.5 0 0 1 .5-.5v.5zm4.637 0v-.5a.5.5 0 0 1 .5.5h-.5zm.5 16.184a.5.5 0 1 1-1 0h1zm3.71 0a.5.5 0 1 1-1 0h1zm-.5-21.333h-.5a.5.5 0 0 1 .5-.5v.5zm4.638 0v-.5a.5.5 0 0 1 .5.5h-.5zM.834 22.666v-11.77h1v11.77h-1zm.5-12.27h4.638v1H1.334v-1zm5.138.5v11.77h-1v-11.77h1zm2.71 11.77V6.482h1v16.184h-1zm.5-16.684h4.637v1H9.683v-1zm5.137.5v16.184h-1V6.482h1zm2.71 16.184V1.333h1v21.333h-1zm.5-21.833h4.638v1H18.03v-1zm5.138.5v21.333h-1V1.333h1z",
fill: "gray"
}));
return /*#__PURE__*/ _react["default"].createElement(
"svg",
props,
/*#__PURE__*/ _react["default"].createElement("path", {
d:
"M1.334 10.896h-.5a.5.5 0 0 1 .5-.5v.5zm21.833 11.77a.5.5 0 1 1-1 0h1zm-21.333 0a.5.5 0 1 1-1 0h1zm4.138-11.77v-.5a.5.5 0 0 1 .5.5h-.5zm.5 11.77a.5.5 0 1 1-1 0h1zm3.71 0a.5.5 0 1 1-1 0h1zm-.5-16.184h-.5a.5.5 0 0 1 .5-.5v.5zm4.637 0v-.5a.5.5 0 0 1 .5.5h-.5zm.5 16.184a.5.5 0 1 1-1 0h1zm3.71 0a.5.5 0 1 1-1 0h1zm-.5-21.333h-.5a.5.5 0 0 1 .5-.5v.5zm4.638 0v-.5a.5.5 0 0 1 .5.5h-.5zM.834 22.666v-11.77h1v11.77h-1zm.5-12.27h4.638v1H1.334v-1zm5.138.5v11.77h-1v-11.77h1zm2.71 11.77V6.482h1v16.184h-1zm.5-16.684h4.637v1H9.683v-1zm5.137.5v16.184h-1V6.482h1zm2.71 16.184V1.333h1v21.333h-1zm.5-21.833h4.638v1H18.03v-1zm5.138.5v21.333h-1V1.333h1z",
fill: "gray"
})
);
};
exports.Chart = Chart;
Chart.defaultProps = {

@@ -117,10 +165,15 @@ width: "24",

};
export { Chart };
var Check = function Check(props) {
return React.createElement("svg", props, React.createElement("path", {
d: "M11.134.659a.5.5 0 1 1 .732.682l-7 7.5a.5.5 0 0 1-.72.013l-3.5-3.5a.5.5 0 1 1 .708-.708L4.488 7.78 11.134.66z"
}));
return /*#__PURE__*/ _react["default"].createElement(
"svg",
props,
/*#__PURE__*/ _react["default"].createElement("path", {
d:
"M11.134.659a.5.5 0 1 1 .732.682l-7 7.5a.5.5 0 0 1-.72.013l-3.5-3.5a.5.5 0 1 1 .708-.708L4.488 7.78 11.134.66z"
})
);
};
exports.Check = Check;
Check.defaultProps = {

@@ -133,11 +186,16 @@ width: "12",

};
export { Check };
var Checkmark = function Checkmark(props) {
return React.createElement("svg", props, React.createElement("path", {
clipRule: "evenodd",
d: "M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm6.669 9.744a1 1 0 0 0-1.338-1.488l-7.047 6.335L6.74 10.69a1 1 0 1 0-1.48 1.344l4.212 4.64a1 1 0 0 0 1.41.07l7.787-7z"
}));
return /*#__PURE__*/ _react["default"].createElement(
"svg",
props,
/*#__PURE__*/ _react["default"].createElement("path", {
clipRule: "evenodd",
d:
"M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12 12-5.373 12-12S18.627 0 12 0zm6.669 9.744a1 1 0 0 0-1.338-1.488l-7.047 6.335L6.74 10.69a1 1 0 1 0-1.48 1.344l4.212 4.64a1 1 0 0 0 1.41.07l7.787-7z"
})
);
};
exports.Checkmark = Checkmark;
Checkmark.defaultProps = {

@@ -150,12 +208,17 @@ width: "24",

};
export { Checkmark };
var ChevronDown = function ChevronDown(props) {
return React.createElement("svg", props, React.createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M.647 7.857a.5.5 0 0 1 .707 0l6.717 6.718 6.718-6.718a.5.5 0 1 1 .707.707l-7.071 7.072a.5.5 0 0 1-.707 0L.647 8.564a.5.5 0 0 1 0-.707z"
}));
return /*#__PURE__*/ _react["default"].createElement(
"svg",
props,
/*#__PURE__*/ _react["default"].createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d:
"M.647 7.857a.5.5 0 0 1 .707 0l6.717 6.718 6.718-6.718a.5.5 0 1 1 .707.707l-7.071 7.072a.5.5 0 0 1-.707 0L.647 8.564a.5.5 0 0 1 0-.707z"
})
);
};
exports.ChevronDown = ChevronDown;
ChevronDown.defaultProps = {

@@ -167,12 +230,17 @@ width: "16",

};
export { ChevronDown };
var ChevronLeft = function ChevronLeft(props) {
return React.createElement("svg", props, React.createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M8.604.411a.5.5 0 0 1 .012.707L2.018 7.953l6.834 6.598a.5.5 0 1 1-.695.72L.963 8.325a.5.5 0 0 1-.012-.707L7.897.424A.5.5 0 0 1 8.604.41z"
}));
return /*#__PURE__*/ _react["default"].createElement(
"svg",
props,
/*#__PURE__*/ _react["default"].createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d:
"M8.604.411a.5.5 0 0 1 .012.707L2.018 7.953l6.834 6.598a.5.5 0 1 1-.695.72L.963 8.325a.5.5 0 0 1-.012-.707L7.897.424A.5.5 0 0 1 8.604.41z"
})
);
};
exports.ChevronLeft = ChevronLeft;
ChevronLeft.defaultProps = {

@@ -184,12 +252,17 @@ width: "17",

};
export { ChevronLeft };
var ChevronRight = function ChevronRight(props) {
return React.createElement("svg", props, React.createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M7.718 15.496a.5.5 0 0 1 0-.707l6.717-6.718-6.717-6.718a.5.5 0 1 1 .707-.707l7.07 7.071a.5.5 0 0 1 0 .708l-7.07 7.07a.5.5 0 0 1-.707 0z"
}));
return /*#__PURE__*/ _react["default"].createElement(
"svg",
props,
/*#__PURE__*/ _react["default"].createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d:
"M7.718 15.496a.5.5 0 0 1 0-.707l6.717-6.718-6.717-6.718a.5.5 0 1 1 .707-.707l7.07 7.071a.5.5 0 0 1 0 .708l-7.07 7.07a.5.5 0 0 1-.707 0z"
})
);
};
exports.ChevronRight = ChevronRight;
ChevronRight.defaultProps = {

@@ -201,12 +274,17 @@ width: "16",

};
export { ChevronRight };
var ChevronUp = function ChevronUp(props) {
return React.createElement("svg", props, React.createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M15.589 8.604a.5.5 0 0 1-.707.012L8.047 2.018 1.45 8.852a.5.5 0 1 1-.72-.695L7.675.963a.5.5 0 0 1 .707-.012l7.194 6.946a.5.5 0 0 1 .013.707z"
}));
return /*#__PURE__*/ _react["default"].createElement(
"svg",
props,
/*#__PURE__*/ _react["default"].createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d:
"M15.589 8.604a.5.5 0 0 1-.707.012L8.047 2.018 1.45 8.852a.5.5 0 1 1-.72-.695L7.675.963a.5.5 0 0 1 .707-.012l7.194 6.946a.5.5 0 0 1 .013.707z"
})
);
};
exports.ChevronUp = ChevronUp;
ChevronUp.defaultProps = {

@@ -218,13 +296,18 @@ width: "16",

};
export { ChevronUp };
var Close = function Close(props) {
return React.createElement("svg", props, React.createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d: "M.646.646a.5.5 0 0 1 .708 0L9 8.293 16.646.646a.5.5 0 0 1 .708.708L9.707 9l7.647 7.646a.5.5 0 0 1-.708.708L9 9.707l-7.646 7.647a.5.5 0 0 1-.708-.708L8.293 9 .646 1.354a.5.5 0 0 1 0-.708z",
fill: "#070707"
}));
return /*#__PURE__*/ _react["default"].createElement(
"svg",
props,
/*#__PURE__*/ _react["default"].createElement("path", {
fillRule: "evenodd",
clipRule: "evenodd",
d:
"M.646.646a.5.5 0 0 1 .708 0L9 8.293 16.646.646a.5.5 0 0 1 .708.708L9.707 9l7.647 7.646a.5.5 0 0 1-.708.708L9 9.707l-7.646 7.647a.5.5 0 0 1-.708-.708L8.293 9 .646 1.354a.5.5 0 0 1 0-.708z",
fill: "#070707"
})
);
};
exports.Close = Close;
Close.defaultProps = {

@@ -237,2 +320,1 @@ width: "18",

};
export { Close };
{
"name": "@diana-ui/assets",
"version": "0.0.8",
"version": "1.0.0",
"main": "lib/index.js",
"module": "module/index.js",
"files": [
"lib"
"lib",
"module"
],
"license": "MIT",
"scripts": {
"build": "yarn compile:assets && yarn generate:types",
"compile:assets": "babel . --out-dir lib --extensions .ts,.tsx --ignore *.d.ts",
"build": "yarn compile:lib && yarn compile:module && yarn generate:types",
"compile:lib": "cross-env MODULE=commonjs babel . --out-dir lib --extensions .ts,.tsx --ignore *.d.ts",
"compile:module": "babel . --out-dir module --extensions .ts,.tsx --ignore *.d.ts",
"generate:types": "tsc lib/index.js --declaration --emitDeclarationOnly --allowJs ",

@@ -42,3 +45,3 @@ "clean:files": "rimraf lib",

},
"gitHead": "6279b4669fc82997a5545a35cc5a5412d3c96904"
"gitHead": "96283efce9c7a9b888d256272a2d002ad86b9a35"
}
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