mimir-ui-kit 0.0.15 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -75,7 +75,7 @@ const Input = memo(
75
75
  const labelClassNames = classNames(
76
76
  cls.label,
77
77
  {
78
- [cls["active-label"]]: isFocused
78
+ [cls["active-label"]]: isFocused || value
79
79
  },
80
80
  className,
81
81
  cls[size]
@@ -95,8 +95,7 @@ const Input = memo(
95
95
  className: inputClassNames,
96
96
  onFocus: handleFocus,
97
97
  onBlur: handleBlur,
98
- readOnly: readonly,
99
- value
98
+ readOnly: readonly
100
99
  }
101
100
  )
102
101
  ] });
@@ -124,7 +124,7 @@ const OtpInput = ({
124
124
  }
125
125
  ),
126
126
  showSeparator && /* @__PURE__ */ jsx("span", { className: classNames(cls.separator) })
127
- ] }, `otp-input-${idx}-${digit}`);
127
+ ] }, idx);
128
128
  }) });
129
129
  };
130
130
  OtpInput.displayName = "OtpInput";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "mimir-ui-kit",
3
3
  "private": false,
4
- "version": "0.0.15",
4
+ "version": "0.0.17",
5
5
  "type": "module",
6
6
  "exports": "./dist/index.js",
7
7
  "module": "./dist/index.js",