@symbo.ls/icon 2.11.482 → 2.11.495

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +3 -3
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -11,7 +11,7 @@ const getIconName = (el, s) => {
11
11
  let icon = el.call('exec', props.name || props.icon || key, el)
12
12
 
13
13
  if (el.call('isString', icon) && icon.includes('{{')) {
14
- icon = el.call('replaceLiteralsWithObjectFields', icon, s)
14
+ icon = el.call('replaceLiteralsWithObjectFields', icon)
15
15
  }
16
16
 
17
17
  return el.call('isString', icon) ? icon : key
@@ -20,7 +20,7 @@ const getIconName = (el, s) => {
20
20
  export const Icon = {
21
21
  extend: 'Svg',
22
22
  props: (el, s, ctx) => {
23
- const { props, parent, deps } = el
23
+ const { props, parent } = el
24
24
  const { ICONS, useIconSprite, verbose } = ctx && ctx.designSystem
25
25
  const { toCamelCase } = ctx && ctx.utils
26
26
 
@@ -47,7 +47,7 @@ export const Icon = {
47
47
  }
48
48
 
49
49
  if (el.call('isString', activeIconName) && activeIconName.includes('{{')) {
50
- activeIconName = deps.replaceLiteralsWithObjectFields(activeIconName, s)
50
+ activeIconName = el.call('replaceLiteralsWithObjectFields', activeIconName)
51
51
  }
52
52
 
53
53
  let iconInContext
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@symbo.ls/icon",
3
- "version": "2.11.482",
3
+ "version": "2.11.495",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "0a1b1317d8c11138bcd9dc171074db65453289ed",
6
+ "gitHead": "9147c1769d75544e2927237b4c34376fe18bcdfc",
7
7
  "dependencies": {
8
- "@symbo.ls/atoms": "^2.11.480",
8
+ "@symbo.ls/atoms": "^2.11.495",
9
9
  "@symbo.ls/utils": "^2.11.475"
10
10
  },
11
11
  "source": "src/index.js"