@symbo.ls/icon 2.11.523 → 3.0.1

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 +10 -12
  2. package/package.json +4 -4
package/index.js CHANGED
@@ -18,7 +18,7 @@ const getIconName = (el, s) => {
18
18
  }
19
19
 
20
20
  export const Icon = {
21
- extend: 'Svg',
21
+ extends: 'Svg',
22
22
  props: (el, s, ctx) => {
23
23
  const { props, parent } = el
24
24
  const { ICONS, useIconSprite, verbose } = ctx && ctx.designSystem
@@ -75,19 +75,17 @@ export const Icon = {
75
75
  }
76
76
 
77
77
  export const IconText = {
78
- extend: 'Flex',
78
+ extends: 'Flex',
79
79
 
80
- props: {
81
- align: 'center center',
82
- lineHeight: 1,
80
+ align: 'center center',
81
+ lineHeight: 1,
83
82
 
84
- '.reversed': {
85
- flow: 'row-reverse'
86
- },
83
+ '.reversed': {
84
+ flow: 'row-reverse'
85
+ },
87
86
 
88
- '.vertical': {
89
- flow: 'column'
90
- }
87
+ '.vertical': {
88
+ flow: 'column'
91
89
  },
92
90
 
93
91
  Icon: {
@@ -106,7 +104,7 @@ export const IconText = {
106
104
  }
107
105
 
108
106
  export const FileIcon = {
109
- extend: 'Flex',
107
+ extends: 'Flex',
110
108
  props: {
111
109
  theme: 'tertiary',
112
110
  boxSize: 'C1',
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@symbo.ls/icon",
3
- "version": "2.11.523",
3
+ "version": "3.0.1",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "08e5b257605d1475f4628529f8e35373d87eb369",
6
+ "gitHead": "a4e7f586f7e4f60bd7b6a8388bdacc3ae1879433",
7
7
  "dependencies": {
8
- "@symbo.ls/atoms": "^2.11.523",
9
- "@symbo.ls/utils": "^2.11.512"
8
+ "@symbo.ls/atoms": "^3.0.1",
9
+ "@symbo.ls/utils": "^3.0.1"
10
10
  },
11
11
  "source": "src/index.js"
12
12
  }