You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 7-8.RSVP
Socket
Socket
Sign inDemoInstall

@applique-ui/icon

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.19 to 0.0.20

16

dist/icon.cjs.js

@@ -5,9 +5,7 @@ 'use strict';

var React = require('react');
function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var React = _interopDefault(require('react'));
var uikitUtils = require('@applique-ui/uikit-utils');
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
function styleInject(css) {

@@ -45,5 +43,5 @@ if (!css || typeof document === 'undefined') return

function Icon({ name: IconComponent, className, title, spin, fontSize, color, ...props }) {
return (React__default["default"].createElement("svg", Object.assign({}, props, { className: classnames(className, fontSize, color, { spin }, 'svg'), "aria-hidden": title ? null : true, xmlns: "http://www.w3.org/2000/svg" }),
title ? React__default["default"].createElement("title", null, title) : null,
typeof IconComponent === 'function' ? (React__default["default"].createElement(IconComponent, null)) : (React__default["default"].createElement("use", { xlinkHref: `#uikit-i-${IconComponent}`, "aria-hidden": title ? true : null }))));
return (React.createElement("svg", Object.assign({}, props, { className: classnames(className, fontSize, color, { spin }, 'svg'), "aria-hidden": title ? null : true, xmlns: "http://www.w3.org/2000/svg" }),
title ? React.createElement("title", null, title) : null,
typeof IconComponent === 'function' ? (React.createElement(IconComponent, null)) : (React.createElement("use", { xlinkHref: `#uikit-i-${IconComponent}`, "aria-hidden": title ? true : null }))));
}

@@ -65,2 +63,2 @@ Icon.defaultProps = {

exports["default"] = Icon;
exports.default = Icon;

@@ -55,2 +55,2 @@ import React from 'react';

export { Icon as default };
export default Icon;
{
"name": "@applique-ui/icon",
"version": "0.0.19",
"version": "0.0.20",
"main": "dist/icon.cjs.js",

@@ -5,0 +5,0 @@ "module": "dist/icon.esm.js",

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