@symbo.ls/icon
Advanced tools
Comparing version 2.11.480 to 2.11.482
'use strict' | ||
import { isString, exec, replaceLiteralsWithObjectFields } from '@domql/utils' | ||
const inheritFromIsActive = (el) => { | ||
@@ -15,3 +13,3 @@ const { props } = el | ||
if (isString(icon) && icon.includes('{{')) { | ||
if (el.call('isString', icon) && icon.includes('{{')) { | ||
icon = el.call('replaceLiteralsWithObjectFields', icon, s) | ||
@@ -25,3 +23,2 @@ } | ||
extend: 'Svg', | ||
deps: { isString, replaceLiteralsWithObjectFields }, | ||
props: (el, s, ctx) => { | ||
@@ -49,3 +46,3 @@ const { props, parent, deps } = el | ||
) { | ||
activeIconName = exec( | ||
activeIconName = el.call('exec', | ||
parentPropsActive.icon || parentPropsActive.Icon.name || parentPropsActive.Icon.icon, el | ||
@@ -55,3 +52,3 @@ ) | ||
if (isString(activeIconName) && activeIconName.includes('{{')) { | ||
if (el.call('isString', activeIconName) && activeIconName.includes('{{')) { | ||
activeIconName = deps.replaceLiteralsWithObjectFields(activeIconName, s) | ||
@@ -58,0 +55,0 @@ } |
{ | ||
"name": "@symbo.ls/icon", | ||
"version": "2.11.480", | ||
"version": "2.11.482", | ||
"main": "index.js", | ||
"license": "MIT", | ||
"gitHead": "14db2b8d241d45fa80f588a2e0a6c50f5dbd8bee", | ||
"gitHead": "0a1b1317d8c11138bcd9dc171074db65453289ed", | ||
"dependencies": { | ||
@@ -8,0 +8,0 @@ "@symbo.ls/atoms": "^2.11.480", |
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
6777
141