@mekari/pixel-icon
Advanced tools
Comparing version 0.7.0 to 0.7.1
{ | ||
"name": "@mekari/pixel-icon", | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"description": "Mekari Pixel | Icon component", | ||
@@ -5,0 +5,0 @@ "homepage": "https://mekari.design/", |
@@ -48,3 +48,3 @@ export const othersIcons= { | ||
'remove-tag': { | ||
path: `<path d="M5.16675 14.8333L14.8334 5.16663M5.16675 5.16663L14.8334 14.8333" stroke=currentColor stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>` | ||
path: `<path d="M7.16675 16.8333L16.8334 7.16663M7.16675 7.16663L16.8334 16.8333" stroke=currentColor stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>` | ||
}, | ||
@@ -51,0 +51,0 @@ 'reset': { |
@@ -37,2 +37,9 @@ import { createStyledAttrsMixin } from '@mekari/pixel-utils' | ||
function convertToOutline(icon, color) { | ||
if (typeof String.prototype.replaceAll === 'undefined') { | ||
// eslint-disable-next-line no-extend-native | ||
String.prototype.replaceAll = function (match, replace) { | ||
return this.replace(new RegExp(match, 'g'), () => replace) | ||
} | ||
} | ||
if (!icon) return null | ||
@@ -39,0 +46,0 @@ let _icon = { ...icon } |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2113807
11843