@loafmarkets/ui 0.1.387 → 0.1.389
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 +36 -30
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +36 -30
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2631,26 +2631,38 @@ var PropertyTour = React5__namespace.forwardRef(
|
|
|
2631
2631
|
...props,
|
|
2632
2632
|
children: [
|
|
2633
2633
|
/* @__PURE__ */ jsxRuntime.jsx(CardHeader, { className: "px-6 pb-0 pt-6", children: /* @__PURE__ */ jsxRuntime.jsx(CardTitle, { className: "m-0 text-lg font-semibold text-white", children: title }) }),
|
|
2634
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-1 flex-col px-6 pb-6 pt-5", style: { minHeight: 0 }, children: /* @__PURE__ */ jsxRuntime.
|
|
2635
|
-
"
|
|
2636
|
-
|
|
2637
|
-
|
|
2638
|
-
|
|
2639
|
-
|
|
2640
|
-
|
|
2641
|
-
|
|
2642
|
-
|
|
2643
|
-
|
|
2644
|
-
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2648
|
-
|
|
2649
|
-
|
|
2650
|
-
|
|
2651
|
-
|
|
2652
|
-
|
|
2653
|
-
|
|
2634
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex flex-1 flex-col px-6 pb-6 pt-5", style: { minHeight: 0 }, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "relative flex-1 w-full overflow-hidden rounded-lg bg-black", children: [
|
|
2635
|
+
/* @__PURE__ */ jsxRuntime.jsx("style", { children: `
|
|
2636
|
+
.loaf-muted-video::-webkit-media-controls-mute-button,
|
|
2637
|
+
.loaf-muted-video::-webkit-media-controls-volume-slider,
|
|
2638
|
+
.loaf-muted-video::-webkit-media-controls-volume-control-container {
|
|
2639
|
+
display: none !important;
|
|
2640
|
+
}
|
|
2641
|
+
` }),
|
|
2642
|
+
/* @__PURE__ */ jsxRuntime.jsxs(
|
|
2643
|
+
"video",
|
|
2644
|
+
{
|
|
2645
|
+
ref: videoRef,
|
|
2646
|
+
className: "loaf-muted-video absolute inset-0 h-full w-full object-cover object-center",
|
|
2647
|
+
controls,
|
|
2648
|
+
controlsList: "nodownload noplaybackrate",
|
|
2649
|
+
disablePictureInPicture: true,
|
|
2650
|
+
onVolumeChange: (e) => {
|
|
2651
|
+
if (!e.currentTarget.muted) e.currentTarget.muted = true;
|
|
2652
|
+
},
|
|
2653
|
+
onContextMenu: (e) => e.preventDefault(),
|
|
2654
|
+
loop,
|
|
2655
|
+
autoPlay,
|
|
2656
|
+
muted,
|
|
2657
|
+
playsInline,
|
|
2658
|
+
poster,
|
|
2659
|
+
children: [
|
|
2660
|
+
/* @__PURE__ */ jsxRuntime.jsx("source", { src }),
|
|
2661
|
+
"Your browser does not support the video tag."
|
|
2662
|
+
]
|
|
2663
|
+
}
|
|
2664
|
+
)
|
|
2665
|
+
] }) })
|
|
2654
2666
|
]
|
|
2655
2667
|
}
|
|
2656
2668
|
);
|
|
@@ -6809,11 +6821,8 @@ var LoginPopup = ({
|
|
|
6809
6821
|
}
|
|
6810
6822
|
return;
|
|
6811
6823
|
}
|
|
6812
|
-
|
|
6813
|
-
|
|
6814
|
-
} else {
|
|
6815
|
-
onClose();
|
|
6816
|
-
}
|
|
6824
|
+
window.dispatchEvent(new CustomEvent("loaf:onboarding-start"));
|
|
6825
|
+
onClose();
|
|
6817
6826
|
} catch (err) {
|
|
6818
6827
|
setError(err instanceof Error ? err.message : "Couldn't complete sign up. Please try again.");
|
|
6819
6828
|
} finally {
|
|
@@ -6956,11 +6965,8 @@ var LoginPopup = ({
|
|
|
6956
6965
|
try {
|
|
6957
6966
|
await onVerifyEmailCode({ code, email });
|
|
6958
6967
|
if (isSignUp) {
|
|
6959
|
-
|
|
6960
|
-
|
|
6961
|
-
} else {
|
|
6962
|
-
onClose();
|
|
6963
|
-
}
|
|
6968
|
+
window.dispatchEvent(new CustomEvent("loaf:onboarding-start"));
|
|
6969
|
+
onClose();
|
|
6964
6970
|
setLoading(false);
|
|
6965
6971
|
return;
|
|
6966
6972
|
}
|