@shoplflow/base 0.24.30 → 0.24.31
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/dist/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -2626,6 +2626,7 @@ var StyledInput = styled5__default.default.input`
|
|
|
2626
2626
|
background-color: transparent;
|
|
2627
2627
|
display: flex;
|
|
2628
2628
|
min-width: 64px;
|
|
2629
|
+
width: 100%;
|
|
2629
2630
|
border: none;
|
|
2630
2631
|
box-sizing: border-box;
|
|
2631
2632
|
&::placeholder {
|
|
@@ -2733,7 +2734,7 @@ var Input = React2.forwardRef(
|
|
|
2733
2734
|
]);
|
|
2734
2735
|
const [text, setText] = React2.useState("");
|
|
2735
2736
|
const [isFocused, setIsFocused] = React2.useState(false);
|
|
2736
|
-
const [type, setType] = React2.useState(
|
|
2737
|
+
const [type, setType] = React2.useState(initialType);
|
|
2737
2738
|
const [isHovered, setIsHovered] = React2.useState(false);
|
|
2738
2739
|
const uniqueId = React2.useId();
|
|
2739
2740
|
const inputRef = React2__namespace.default.useRef(null);
|