@desynova-digital/components 8.19.51 → 8.19.53

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.
@@ -102,7 +102,7 @@ var getAttributes = function getAttributes(props) {
102
102
  }
103
103
 
104
104
  if (props.width) {
105
- styles.width = props.width;
105
+ styles.width = props.width + 'px';
106
106
  }
107
107
 
108
108
  if (props.stretchWidth) {
@@ -130,6 +130,11 @@ var InputText = function InputText(_ref) {
130
130
  };
131
131
  var returnPadding = function returnPadding(props) {
132
132
  var digitCount = props.maxLength.toString().length;
133
+
134
+ if (props.type === 'password') {
135
+ return "7px 23px 2px 0px";
136
+ }
137
+
133
138
  switch (digitCount) {
134
139
  case 0:
135
140
  return "7px 0px 2px 0px";
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@desynova-digital/components",
3
- "version": "8.19.51",
3
+ "version": "8.19.53",
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.19.51",
10
+ "@desynova-digital/tokens": "8.19.53",
11
11
  "prop-types": "^15.7.2",
12
12
  "styled-components": "^4.3.2"
13
13
  },