@justfixnyc/component-library 0.51.1 → 0.51.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.
|
@@ -667,9 +667,11 @@
|
|
|
667
667
|
letter-spacing: 0.54px;
|
|
668
668
|
color: #242323;
|
|
669
669
|
margin-bottom: 2rem;
|
|
670
|
-
position: relative;
|
|
671
670
|
--input-padding-left: 9px;
|
|
672
671
|
}
|
|
672
|
+
.jfcl-text-input .jfcl-text-input__wrapper {
|
|
673
|
+
position: relative;
|
|
674
|
+
}
|
|
673
675
|
.jfcl-text-input.jfcl-text-input--has-prefix {
|
|
674
676
|
--input-padding-left: 31.5px;
|
|
675
677
|
}
|
|
@@ -667,9 +667,11 @@
|
|
|
667
667
|
letter-spacing: 0.54px;
|
|
668
668
|
color: #242323;
|
|
669
669
|
margin-bottom: 2rem;
|
|
670
|
-
position: relative;
|
|
671
670
|
--input-padding-left: 9px;
|
|
672
671
|
}
|
|
672
|
+
.jfcl-text-input .jfcl-text-input__wrapper {
|
|
673
|
+
position: relative;
|
|
674
|
+
}
|
|
673
675
|
.jfcl-text-input.jfcl-text-input--has-prefix {
|
|
674
676
|
--input-padding-left: 31.5px;
|
|
675
677
|
}
|
package/dist/src/index.es.js
CHANGED
|
@@ -563,7 +563,9 @@ const TextInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
563
563
|
invalidText: invalidText,
|
|
564
564
|
invalid: invalid,
|
|
565
565
|
labelFor: id
|
|
566
|
-
}),
|
|
566
|
+
}), /*#__PURE__*/React.createElement("div", {
|
|
567
|
+
className: "jfcl-text-input__wrapper"
|
|
568
|
+
}, inputIsMoney && /*#__PURE__*/React.createElement("span", {
|
|
567
569
|
className: "jfcl-text-input__prefix"
|
|
568
570
|
}, "$"), /*#__PURE__*/React.createElement("input", _extends({
|
|
569
571
|
ref: ref
|
|
@@ -571,7 +573,7 @@ const TextInput = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
|
571
573
|
id: id,
|
|
572
574
|
className: textInputClassNames,
|
|
573
575
|
type: inputType
|
|
574
|
-
})));
|
|
576
|
+
}))));
|
|
575
577
|
});
|
|
576
578
|
TextInput.displayName = 'TextInput';
|
|
577
579
|
|
package/dist/src/index.js
CHANGED
|
@@ -574,7 +574,9 @@ const TextInput = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
574
574
|
invalidText: invalidText,
|
|
575
575
|
invalid: invalid,
|
|
576
576
|
labelFor: id
|
|
577
|
-
}),
|
|
577
|
+
}), /*#__PURE__*/React__default["default"].createElement("div", {
|
|
578
|
+
className: "jfcl-text-input__wrapper"
|
|
579
|
+
}, inputIsMoney && /*#__PURE__*/React__default["default"].createElement("span", {
|
|
578
580
|
className: "jfcl-text-input__prefix"
|
|
579
581
|
}, "$"), /*#__PURE__*/React__default["default"].createElement("input", _extends__default["default"]({
|
|
580
582
|
ref: ref
|
|
@@ -582,7 +584,7 @@ const TextInput = /*#__PURE__*/React__default["default"].forwardRef((_ref, ref)
|
|
|
582
584
|
id: id,
|
|
583
585
|
className: textInputClassNames,
|
|
584
586
|
type: inputType
|
|
585
|
-
})));
|
|
587
|
+
}))));
|
|
586
588
|
});
|
|
587
589
|
TextInput.displayName = 'TextInput';
|
|
588
590
|
|