@symbo.ls/icon 2.10.74 → 2.10.121

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 +2 -2
  2. package/package.json +2 -2
package/index.js CHANGED
@@ -16,7 +16,8 @@ export const Icon = {
16
16
  if (props.active) {
17
17
  activeIconName = props['.active'].name || props['.active'].icon
18
18
  }
19
- if (parent.props.active && parent.props['.active'] && parent.props['.active'].icon) {
19
+ if (parent && parent.props &&
20
+ parent.props.active && parent.props['.active'] && parent.props['.active'].icon) {
20
21
  activeIconName = parent.props['.active'].icon.name || parent.props['.active'].icon.icon || parent.props['.active'].icon
21
22
  }
22
23
 
@@ -55,7 +56,6 @@ export const IconText = {
55
56
  icon: {
56
57
  extend: Icon,
57
58
  if: ({ parent }) => parent.props.icon,
58
- props: 'match'
59
59
  },
60
60
 
61
61
  text: ({ props }) => props.text
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@symbo.ls/icon",
3
- "version": "2.10.74",
3
+ "version": "2.10.121",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "b35c86b34eda73be6012ae87fccf43a264a3044a",
6
+ "gitHead": "056cc9dcdadcc2022ec2b400eb1a8a3909d42380",
7
7
  "dependencies": {
8
8
  "@symbo.ls/svg": "latest",
9
9
  "@symbo.ls/utils": "latest"