@symbo.ls/icon 2.11.523 → 3.0.2
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.
- package/index.js +10 -12
- 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
|
-
|
|
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
|
-
|
|
78
|
+
extends: 'Flex',
|
|
79
79
|
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
lineHeight: 1,
|
|
80
|
+
align: 'center center',
|
|
81
|
+
lineHeight: 1,
|
|
83
82
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
'.reversed': {
|
|
84
|
+
flow: 'row-reverse'
|
|
85
|
+
},
|
|
87
86
|
|
|
88
|
-
|
|
89
|
-
|
|
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
|
-
|
|
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": "
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
|
-
"gitHead": "
|
|
6
|
+
"gitHead": "c4dacc88fa3a65574680d11e320307dd2a22e6e9",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@symbo.ls/atoms": "^
|
|
9
|
-
"@symbo.ls/utils": "^
|
|
8
|
+
"@symbo.ls/atoms": "^3.0.2",
|
|
9
|
+
"@symbo.ls/utils": "^3.0.2"
|
|
10
10
|
},
|
|
11
11
|
"source": "src/index.js"
|
|
12
12
|
}
|