@humu-tech/ui 0.1.12 → 0.1.13
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.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3901,7 +3901,7 @@ var OtpInput = (0, import_react45.forwardRef)(
|
|
|
3901
3901
|
maxLength: length,
|
|
3902
3902
|
pattern: import_input_otp.REGEXP_ONLY_DIGITS,
|
|
3903
3903
|
containerClassName: cn(
|
|
3904
|
-
"flex items-center gap-2 has-[:disabled]:opacity-50",
|
|
3904
|
+
"flex items-center gap-2 overflow-hidden p-1 has-[:disabled]:opacity-50",
|
|
3905
3905
|
className
|
|
3906
3906
|
),
|
|
3907
3907
|
render: ({ slots }) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)("div", { className: "flex items-center gap-2", children: slots.map((slot, idx) => /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(OtpSlot, { ...slot, isDark }, idx)) }),
|
package/dist/index.mjs
CHANGED
|
@@ -3810,7 +3810,7 @@ var OtpInput = forwardRef27(
|
|
|
3810
3810
|
maxLength: length,
|
|
3811
3811
|
pattern: REGEXP_ONLY_DIGITS,
|
|
3812
3812
|
containerClassName: cn(
|
|
3813
|
-
"flex items-center gap-2 has-[:disabled]:opacity-50",
|
|
3813
|
+
"flex items-center gap-2 overflow-hidden p-1 has-[:disabled]:opacity-50",
|
|
3814
3814
|
className
|
|
3815
3815
|
),
|
|
3816
3816
|
render: ({ slots }) => /* @__PURE__ */ jsx36("div", { className: "flex items-center gap-2", children: slots.map((slot, idx) => /* @__PURE__ */ jsx36(OtpSlot, { ...slot, isDark }, idx)) }),
|