Socket
Socket
Sign inDemoInstall

@bone-ui/iconify

Package Overview
Dependencies
Maintainers
2
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@bone-ui/iconify - npm Package Compare versions

Comparing version 0.35.0 to 0.36.0

4

dist/iconify.cjs.development.js

@@ -23,3 +23,3 @@ 'use strict';

var isOutline = svgFill === 'none';
var size = isOutline ? 24 : 20;
var size = 24;
var svgProps = isOutline ? {

@@ -30,3 +30,3 @@ strokeCurrent: true

if (isOutline) {
svgProps["stroke-" + (props.strokeWidth || 1)] = true;
svgProps['strokeWidth'] = props.strokeWidth || 1.5;
}

@@ -33,0 +33,0 @@ if (['none', 'currentColor'].includes(svgFill)) {

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

"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r=(e=require("react"))&&"object"==typeof e&&"default"in e?e.default:e,o=require("@bone-ui/utils"),n=require("@fower/react");exports.iconify=function(e){var t=e.viewBox,i=e.d,l=e.fill,s=void 0===l?"none":l,a=e.path,u=e.displayName,c=e.atomicProps,d=void 0===c?{}:c,f=o.forwardRef((function(o,l){var c,f=o.fill||s,p="none"===f,v=p?24:20,w=p?{strokeCurrent:!0}:{};return p&&(w["stroke-"+(o.strokeWidth||1)]=!0),["none","currentColor"].includes(f)?("none"===f&&(w.fillNone=!0),"currentColor"===f&&(w.fillCurrent=!0)):w.fill=f,c=e.pathProps?e.pathProps:p?{strokeLinecap:"round",strokeLinejoin:"round"}:{fillRule:"evenodd",clipRule:"evenodd"},r.createElement(n.Box,Object.assign({as:"svg",ref:l,className:"bone-icon bone-icon--"+u},d,{square:o.size||(null==d?void 0:d.square)||24,viewBox:t||"0 0 "+v+" "+v},w,{xmlns:"http://www.w3.org/2000/svg"},o),null!=a?a:r.createElement("path",Object.assign({},c,{d:i})))}));return u&&(f.displayName=u),f.isBoneIcon=!0,f};
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,r=(e=require("react"))&&"object"==typeof e&&"default"in e?e.default:e,o=require("@bone-ui/utils"),n=require("@fower/react");exports.iconify=function(e){var t=e.viewBox,i=e.d,l=e.fill,s=void 0===l?"none":l,a=e.path,u=e.displayName,c=e.atomicProps,d=void 0===c?{}:c,f=o.forwardRef((function(o,l){var c,f=o.fill||s,p="none"===f,v=p?{strokeCurrent:!0}:{};return p&&(v.strokeWidth=o.strokeWidth||1.5),["none","currentColor"].includes(f)?("none"===f&&(v.fillNone=!0),"currentColor"===f&&(v.fillCurrent=!0)):v.fill=f,c=e.pathProps?e.pathProps:p?{strokeLinecap:"round",strokeLinejoin:"round"}:{fillRule:"evenodd",clipRule:"evenodd"},r.createElement(n.Box,Object.assign({as:"svg",ref:l,className:"bone-icon bone-icon--"+u},d,{square:o.size||(null==d?void 0:d.square)||24,viewBox:t||"0 0 24 24"},v,{xmlns:"http://www.w3.org/2000/svg"},o),null!=a?a:r.createElement("path",Object.assign({},c,{d:i})))}));return u&&(f.displayName=u),f.isBoneIcon=!0,f};
//# sourceMappingURL=iconify.cjs.production.min.js.map

@@ -0,1 +1,46 @@

/// <reference types="fower-plugin-animation" />
/// <reference types="fower-plugin-appearance" />
/// <reference types="fower-plugin-background" />
/// <reference types="fower-plugin-border" />
/// <reference types="fower-plugin-box-alignment" />
/// <reference types="fower-plugin-box-sizing" />
/// <reference types="fower-plugin-color" />
/// <reference types="fower-plugin-container" />
/// <reference types="fower-plugin-display" />
/// <reference types="fower-plugin-flexbox" />
/// <reference types="fower-plugin-gradient" />
/// <reference types="fower-plugin-gap" />
/// <reference types="fower-plugin-grid" />
/// <reference types="fower-plugin-layout" />
/// <reference types="fower-plugin-line-height" />
/// <reference types="fower-plugin-list" />
/// <reference types="fower-plugin-margin" />
/// <reference types="fower-plugin-opacity" />
/// <reference types="fower-plugin-overflow" />
/// <reference types="fower-plugin-position" />
/// <reference types="fower-plugin-padding" />
/// <reference types="fower-plugin-ring" />
/// <reference types="fower-plugin-rounded" />
/// <reference types="fower-plugin-shadow" />
/// <reference types="fower-plugin-size" />
/// <reference types="fower-plugin-text-align" />
/// <reference types="fower-plugin-text-decoration" />
/// <reference types="fower-plugin-text-overflow" />
/// <reference types="fower-plugin-text-size" />
/// <reference types="fower-plugin-text-transform" />
/// <reference types="fower-plugin-font-family" />
/// <reference types="fower-plugin-font-style" />
/// <reference types="fower-plugin-font-weight" />
/// <reference types="fower-plugin-z-index" />
/// <reference types="fower-plugin-outline" />
/// <reference types="fower-plugin-cursor" />
/// <reference types="fower-plugin-debug" />
/// <reference types="fower-plugin-space" />
/// <reference types="fower-plugin-transform" />
/// <reference types="fower-plugin-transition" />
/// <reference types="fower-plugin-user-select" />
/// <reference types="fower-plugin-visibility" />
/// <reference types="fower-plugin-placeholder" />
/// <reference types="fower-plugin-word-break" />
/// <reference types="fower-plugin-svg" />
import React from 'react';

@@ -6,3 +51,3 @@ import { FowerHTMLProps } from '@fower/core';

fill?: 'none' | 'currentColor' | (string & {});
strokeWidth?: number;
strokeWidth?: number | string;
size?: number;

@@ -31,3 +76,3 @@ }

strokeLinejoin?: 'miter' | 'round' | 'bevel' | 'inherit';
strokeWidth?: number;
strokeWidth?: number | string;
fillRule?: 'nonzero' | 'evenodd' | 'inherit';

@@ -34,0 +79,0 @@ fill?: string;

@@ -17,3 +17,3 @@ import React from 'react';

var isOutline = svgFill === 'none';
var size = isOutline ? 24 : 20;
var size = 24;
var svgProps = isOutline ? {

@@ -24,3 +24,3 @@ strokeCurrent: true

if (isOutline) {
svgProps["stroke-" + (props.strokeWidth || 1)] = true;
svgProps['strokeWidth'] = props.strokeWidth || 1.5;
}

@@ -27,0 +27,0 @@ if (['none', 'currentColor'].includes(svgFill)) {

{
"name": "@bone-ui/iconify",
"version": "0.35.0",
"version": "0.36.0",
"license": "MIT",

@@ -23,4 +23,4 @@ "main": "dist/index.js",

"dependencies": {
"@bone-ui/utils": "^0.35.0"
"@bone-ui/utils": "^0.36.0"
}
}

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

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc