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.41 to 0.0.42

16

dist/icon.cjs.js

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

function _interopDefault (ex) { return (ex && (typeof ex === 'object') && 'default' in ex) ? ex['default'] : ex; }
var React = _interopDefault(require('react'));
var React = 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) {

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

function Icon({ name: IconComponent, className, title, spin, fontSize, color, ...props }) {
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 }))));
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 }))));
}

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

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

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

export default Icon;
export { Icon as default };
{
"name": "@applique-ui/icon",
"version": "0.0.41",
"version": "0.0.42",
"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