@desynova-digital/components 8.7.0 → 8.7.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.
@@ -40,7 +40,7 @@ var Icon = function Icon(props) {
40
40
  {
41
41
  width: props.width || icon.width,
42
42
  height: props.height || icon.height,
43
- viewBox: '0 0 ' + (props.width || icon.width) + ' ' + (props.height || icon.height),
43
+ viewBox: '0 0 ' + icon.width + ' ' + icon.height,
44
44
  color: props.color
45
45
  },
46
46
  icon.paths.map(function (path, index) {
@@ -51,7 +51,7 @@ var Icon = function Icon(props) {
51
51
  fill: props.color,
52
52
  stroke: props.stroke,
53
53
  strokeWidth: icon.strokeWidth,
54
- fillRule: props.fillRule
54
+ fillRule: icon.fillRule
55
55
  });
56
56
  })
57
57
  )
@@ -1135,18 +1135,21 @@
1135
1135
  },
1136
1136
  "text_position_top": {
1137
1137
  "paths": ["M0 0H24V16H0V0ZM2 2H22V14H2V2ZM4 5.77778V4H20V5.77778H4Z"],
1138
- "width": 16,
1139
- "height": 16
1138
+ "width": 24,
1139
+ "height": 16,
1140
+ "fillRule": "evenodd"
1140
1141
  },
1141
1142
  "text_position_center": {
1142
1143
  "paths": ["M0 0H24V16H0V0ZM2 2H22V14H2V2ZM4 8.77778V7H20V8.77778H4Z"],
1143
- "width": 16,
1144
- "height": 16
1144
+ "width": 24,
1145
+ "height": 16,
1146
+ "fillRule": "evenodd"
1145
1147
  },
1146
1148
  "text_position_bottom": {
1147
1149
  "paths": ["M0 0H24V16H0V0ZM2 2H22V14H2V2ZM4 11.7778V10H20V11.7778H4Z"],
1148
- "width": 16,
1149
- "height": 16
1150
+ "width": 24,
1151
+ "height": 16,
1152
+ "fillRule": "evenodd"
1150
1153
  }
1151
1154
  }
1152
1155
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@desynova-digital/components",
3
- "version": "8.7.0",
3
+ "version": "8.7.1",
4
4
  "description": "Components for Desynova Digital",
5
5
  "main": "index.js",
6
6
  "author": "desynova-digital",
7
7
  "license": "MIT",
8
8
  "repository": "desynova-digital",
9
9
  "dependencies": {
10
- "@desynova-digital/tokens": "8.7.0",
10
+ "@desynova-digital/tokens": "8.7.1",
11
11
  "prop-types": "^15.7.2",
12
12
  "styled-components": "^4.3.2"
13
13
  },