Socket
Socket
Sign inDemoInstall

@launchpad-ui/icons

Package Overview
Dependencies
Maintainers
1
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@launchpad-ui/icons - npm Package Compare versions

Comparing version 0.1.5 to 0.1.6

1

dist/index.d.ts

@@ -8,2 +8,3 @@ export { Add } from './Add';

export { Warning } from './Warning';
export type { IconProps } from './Icon';
export { Icon } from './Icon';

@@ -10,0 +11,0 @@ export { IconSize } from './types';

62

dist/index.es.js

@@ -210,36 +210,32 @@ // ../../scripts/react-shim.js

// src/KindIcon.tsx
import { Component } from "react";
var KindIcon = class extends Component {
render() {
const { kind, size, className } = this.props;
const iconSize = size ? size : "medium" /* MEDIUM */;
let body;
switch (kind) {
case "success":
body = /* @__PURE__ */ React.createElement(IconWrapped2, {
size: iconSize
});
break;
case "warning":
case "striped":
body = /* @__PURE__ */ React.createElement(IconWrapped7, {
size: iconSize
});
break;
case "error":
body = /* @__PURE__ */ React.createElement(IconWrapped4, {
size: iconSize
});
break;
case "info":
default:
body = /* @__PURE__ */ React.createElement(IconWrapped6, {
size: iconSize
});
break;
}
return /* @__PURE__ */ React.createElement("span", {
className
}, body);
var KindIcon = ({ kind, size, className }) => {
const iconSize = size ? size : "medium" /* MEDIUM */;
let body;
switch (kind) {
case "success":
body = /* @__PURE__ */ React.createElement(IconWrapped2, {
size: iconSize
});
break;
case "warning":
case "striped":
body = /* @__PURE__ */ React.createElement(IconWrapped7, {
size: iconSize
});
break;
case "error":
body = /* @__PURE__ */ React.createElement(IconWrapped4, {
size: iconSize
});
break;
case "info":
default:
body = /* @__PURE__ */ React.createElement(IconWrapped6, {
size: iconSize
});
break;
}
return /* @__PURE__ */ React.createElement("span", {
className
}, body);
};

@@ -246,0 +242,0 @@ export {

@@ -247,36 +247,32 @@ var __create = Object.create;

// src/KindIcon.tsx
var import_react9 = require("react");
var KindIcon = class extends import_react9.Component {
render() {
const { kind, size, className } = this.props;
const iconSize = size ? size : "medium" /* MEDIUM */;
let body;
switch (kind) {
case "success":
body = /* @__PURE__ */ React.createElement(IconWrapped2, {
size: iconSize
});
break;
case "warning":
case "striped":
body = /* @__PURE__ */ React.createElement(IconWrapped7, {
size: iconSize
});
break;
case "error":
body = /* @__PURE__ */ React.createElement(IconWrapped4, {
size: iconSize
});
break;
case "info":
default:
body = /* @__PURE__ */ React.createElement(IconWrapped6, {
size: iconSize
});
break;
}
return /* @__PURE__ */ React.createElement("span", {
className
}, body);
var KindIcon = ({ kind, size, className }) => {
const iconSize = size ? size : "medium" /* MEDIUM */;
let body;
switch (kind) {
case "success":
body = /* @__PURE__ */ React.createElement(IconWrapped2, {
size: iconSize
});
break;
case "warning":
case "striped":
body = /* @__PURE__ */ React.createElement(IconWrapped7, {
size: iconSize
});
break;
case "error":
body = /* @__PURE__ */ React.createElement(IconWrapped4, {
size: iconSize
});
break;
case "info":
default:
body = /* @__PURE__ */ React.createElement(IconWrapped6, {
size: iconSize
});
break;
}
return /* @__PURE__ */ React.createElement("span", {
className
}, body);
};

@@ -283,0 +279,0 @@ // Annotate the CommonJS export names for ESM import in node:

@@ -1,2 +0,2 @@

import { Component } from 'react';
/// <reference types="react" />
import { IconSize } from './types';

@@ -8,7 +8,5 @@ declare type KindIconProps = {

};
declare class KindIcon extends Component<KindIconProps> {
render(): JSX.Element;
}
declare const KindIcon: ({ kind, size, className }: KindIconProps) => JSX.Element;
export { KindIcon };
export type { KindIconProps };
//# sourceMappingURL=KindIcon.d.ts.map
{
"name": "@launchpad-ui/icons",
"version": "0.1.5",
"version": "0.1.6",
"publishConfig": {

@@ -5,0 +5,0 @@ "access": "public"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc