@symbo.ls/icon
Advanced tools
Comparing version
18
index.js
@@ -22,2 +22,6 @@ 'use strict' | ||
extends: 'Svg', | ||
width: 'A', | ||
height: 'A', | ||
display: 'inline-block', | ||
props: (el, s, ctx) => { | ||
@@ -67,5 +71,2 @@ const { props, parent } = el | ||
return { | ||
width: 'A', | ||
height: 'A', | ||
display: 'inline-block', | ||
spriteId: useIconSprite && iconInContext, | ||
@@ -76,2 +77,3 @@ src: iconFromLibrary || directSrc || ICONS.noIcon, | ||
}, | ||
attr: { viewBox: '0 0 24 24' } | ||
@@ -111,8 +113,6 @@ } | ||
extends: 'Flex', | ||
props: { | ||
theme: 'tertiary', | ||
boxSize: 'C1', | ||
align: 'center center', | ||
round: 'Z' | ||
}, | ||
theme: 'tertiary', | ||
boxSize: 'C1', | ||
align: 'center center', | ||
round: 'Z', | ||
Icon: { | ||
@@ -119,0 +119,0 @@ fontSize: 'B', |
{ | ||
"name": "@symbo.ls/icon", | ||
"version": "3.0.2", | ||
"version": "3.0.6", | ||
"main": "index.js", | ||
"license": "MIT", | ||
"gitHead": "c4dacc88fa3a65574680d11e320307dd2a22e6e9", | ||
"gitHead": "d78a3603eea303118e84a46c24160c6d590bdb90", | ||
"dependencies": { | ||
"@symbo.ls/atoms": "^3.0.2", | ||
"@symbo.ls/atoms": "^3.0.6", | ||
"@symbo.ls/utils": "^3.0.2" | ||
@@ -10,0 +10,0 @@ }, |
6701
-0.49%137
-1.44%Updated