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

@applique-ui/icon

Package Overview
Dependencies
Maintainers
2
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@applique-ui/icon - npm Package Compare versions

Comparing version 0.0.35 to 0.0.36

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.35",
"version": "0.0.36",
"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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc