@symbo.ls/icon 3.6.8 → 3.7.0

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
@@ -27,7 +27,7 @@ export const Icon = {
27
27
 
28
28
  props: (el, s, ctx) => {
29
29
  const { props, parent } = el
30
- const { ICONS, useIconSprite, verbose } = ctx && ctx.designSystem
30
+ const { icons: ICONS, useIconSprite, verbose } = ctx && ctx.designSystem
31
31
  const { toCamelCase } = ctx && ctx.utils
32
32
 
33
33
  const inheritFromIsActive = (el) => {
@@ -38,7 +38,7 @@ export const Icon = {
38
38
  }
39
39
 
40
40
  const getSemanticIcon = (el, s, ctx) => {
41
- const { SEMANTIC_ICONS } = ctx && ctx.designSystem
41
+ const { semanticIcons: SEMANTIC_ICONS } = ctx && ctx.designSystem
42
42
  const { toCamelCase } = ctx && ctx.utils
43
43
 
44
44
  let iconName = getIconName(el, s)
@@ -189,7 +189,7 @@ export const FileIcon = {
189
189
  }
190
190
 
191
191
  const getSemanticIcon = (el, s, ctx) => {
192
- const { SEMANTIC_ICONS } = ctx && ctx.designSystem
192
+ const { semanticIcons: SEMANTIC_ICONS } = ctx && ctx.designSystem
193
193
  const { toCamelCase } = ctx && ctx.utils
194
194
 
195
195
  let iconName = getIconName(el, s)
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@symbo.ls/icon",
3
- "version": "3.6.8",
3
+ "version": "3.7.0",
4
4
  "main": "index.js",
5
5
  "license": "CC-BY-NC-4.0",
6
6
  "gitHead": "9fc1b79b41cdc725ca6b24aec64920a599634681",
7
7
  "dependencies": {
8
- "@symbo.ls/atoms": "^3.6.8",
9
- "@symbo.ls/smbls-utils": "^3.6.8"
8
+ "@symbo.ls/atoms": "^3.7.0",
9
+ "@symbo.ls/smbls-utils": "^3.7.0"
10
10
  },
11
11
  "source": "index.js",
12
12
  "type": "module",