solid-icons
Advanced tools
Comparing version 0.3.1 to 0.3.2
@@ -0,1 +1,5 @@ | ||
// This file has been generated automatically | ||
export * from './types/IconWrapper'; | ||
export * from './ai'; | ||
@@ -2,0 +6,0 @@ export * from './bs'; |
@@ -36,4 +36,3 @@ import { template, spread, insert, memo, effect, setAttribute, style } from 'solid-js/web'; | ||
_v$4 = innerProps.size || "1em", | ||
_v$5 = innerProps?.viewBox || content.src?.a?.viewBox, | ||
_v$6 = content.src.c; | ||
_v$5 = content.src.c; | ||
@@ -44,4 +43,3 @@ _v$ !== _p$._v$ && setAttribute(_el$, "stroke", _p$._v$ = _v$); | ||
_v$4 !== _p$._v$4 && setAttribute(_el$, "width", _p$._v$4 = _v$4); | ||
_v$5 !== _p$._v$5 && setAttribute(_el$, "viewBox", _p$._v$5 = _v$5); | ||
_v$6 !== _p$._v$6 && (_el$.innerHTML = _p$._v$6 = _v$6); | ||
_v$5 !== _p$._v$5 && (_el$.innerHTML = _p$._v$5 = _v$5); | ||
return _p$; | ||
@@ -53,4 +51,3 @@ }, { | ||
_v$4: undefined, | ||
_v$5: undefined, | ||
_v$6: undefined | ||
_v$5: undefined | ||
}); | ||
@@ -57,0 +54,0 @@ |
{ | ||
"name": "solid-icons", | ||
"author": "Ignacio Zsabo", | ||
"version": "0.3.1", | ||
"version": "0.3.2", | ||
"description": "A SolidJS SVG icons pack", | ||
@@ -9,3 +9,3 @@ "license": "MIT", | ||
"module": "esm/IconWrapper.js", | ||
"types": "types/IconWrapper.d.ts", | ||
"types": "all.d.ts", | ||
"keywords": [ | ||
@@ -12,0 +12,0 @@ "icons", |
@@ -8,5 +8,5 @@ import { splitProps } from "solid-js"; | ||
...innerProps.style, | ||
}} {...content.src.a} {...innerProps} height={innerProps.size || "1em"} width={innerProps.size || "1em"} viewBox={innerProps?.viewBox || content.src?.a?.viewBox} innerHTML={content.src.c} xmlns="http://www.w3.org/2000/svg"> | ||
}} {...content.src.a} {...innerProps} height={innerProps.size || "1em"} width={innerProps.size || "1em"} innerHTML={content.src.c} xmlns="http://www.w3.org/2000/svg"> | ||
{innerProps.title && <title>{innerProps.title}</title>} | ||
</svg>); | ||
} |
Sorry, the diff of this file is not supported yet
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
11644864
170282