@desynova-digital/components 9.0.14 → 9.0.16

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.
@@ -88,8 +88,11 @@ var justifyContent = {
88
88
  vertical: 'margin-bottom: 5px;'
89
89
  };
90
90
 
91
+ function getDisplayValue(props) {
92
+ return props.align === 'horizontal' ? 'inline-block' : props.className === 'display-flex' ? 'flex' : 'table';
93
+ }
91
94
  var StyledCheckbox = _styledComponents2.default.div(_templateObject3, StyledCheckboxOption, function (props) {
92
- return props.align === 'horizontal' ? 'inline-block' : 'table';
95
+ return getDisplayValue(props);
93
96
  }, function (props) {
94
97
  return justifyContent[props.align];
95
98
  });
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@desynova-digital/components",
3
- "version": "9.0.14",
3
+ "version": "9.0.16",
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": "9.0.14",
10
+ "@desynova-digital/tokens": "9.0.16",
11
11
  "prop-types": "^15.7.2",
12
12
  "styled-components": "^4.3.2"
13
13
  },