@volr/react-ui 0.1.45 → 0.1.46
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 +10 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -3
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -1480,7 +1480,14 @@ function EmailInlineInput({ onSubmit, accentColor }) {
|
|
|
1480
1480
|
};
|
|
1481
1481
|
return /* @__PURE__ */ jsxs("form", { onSubmit: handleSubmit, children: [
|
|
1482
1482
|
/* @__PURE__ */ jsxs("div", { className: "volr:relative", children: [
|
|
1483
|
-
/* @__PURE__ */ jsx(
|
|
1483
|
+
/* @__PURE__ */ jsx(
|
|
1484
|
+
"div",
|
|
1485
|
+
{
|
|
1486
|
+
className: "volr:absolute volr:left-3 volr:pointer-events-none volr:text-slate-400",
|
|
1487
|
+
style: { top: "50%", transform: "translateY(-50%)" },
|
|
1488
|
+
children: /* @__PURE__ */ jsx(EmailIcon, {})
|
|
1489
|
+
}
|
|
1490
|
+
),
|
|
1484
1491
|
/* @__PURE__ */ jsx(
|
|
1485
1492
|
"input",
|
|
1486
1493
|
{
|
|
@@ -1662,9 +1669,9 @@ function CodeInputScreen({ email, onSubmit, onResend }) {
|
|
|
1662
1669
|
onKeyDown: (e) => handleKeyDown(index, e),
|
|
1663
1670
|
onPaste: index === 0 ? handlePaste : void 0,
|
|
1664
1671
|
disabled: isLoading,
|
|
1665
|
-
className: "volr:w-12 volr:h-14 volr:text-center volr:text-2xl volr:font-semibold volr:outline-none volr:transition-all volr:rounded-lg volr:
|
|
1672
|
+
className: "volr:w-12 volr:h-14 volr:text-center volr:text-2xl volr:font-semibold volr:outline-none volr:transition-all volr:rounded-lg volr:disabled:bg-slate-50 volr:disabled:cursor-not-allowed",
|
|
1666
1673
|
style: {
|
|
1667
|
-
|
|
1674
|
+
border: `2px solid ${digit ? accentColor : "#cbd5e1"}`,
|
|
1668
1675
|
backgroundColor: isLoading ? void 0 : "#fff"
|
|
1669
1676
|
},
|
|
1670
1677
|
onFocus: (e) => {
|