@loafmarkets/ui 0.1.259 → 0.1.260

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.mjs CHANGED
@@ -14884,14 +14884,10 @@ function PropertyBuy({
14884
14884
  }
14885
14885
  }
14886
14886
  ),
14887
- /* @__PURE__ */ jsx("div", { style: { minWidth: 0, overflow: "hidden" }, children: /* @__PURE__ */ jsx(
14888
- PropertyTour,
14889
- {
14890
- title: propertyName,
14891
- src: "/properties/Musgrave/musgrave.mp4",
14892
- style: { maxWidth: "none", width: "100%", height: "100%", borderRadius: "8px" }
14893
- }
14894
- ) })
14887
+ /* @__PURE__ */ jsxs(VideoPanel, { children: [
14888
+ /* @__PURE__ */ jsx("div", { className: "video-header", children: /* @__PURE__ */ jsx("h3", { children: propertyName }) }),
14889
+ /* @__PURE__ */ jsx("div", { className: "video-frame", children: /* @__PURE__ */ jsx("video", { controls: true, loop: true, autoPlay: true, muted: true, playsInline: true, children: /* @__PURE__ */ jsx("source", { src: "/properties/Musgrave/musgrave.mp4", type: "video/mp4" }) }) })
14890
+ ] })
14895
14891
  ] }),
14896
14892
  /* @__PURE__ */ jsx(
14897
14893
  OrderConfirmationModal,
@@ -15001,21 +14997,18 @@ var NewsVideoRow = styled9.div`
15001
14997
  display: flex;
15002
14998
  gap: 1.5rem;
15003
14999
  margin-top: 1.5rem;
15004
- max-width: 1800px;
15005
- margin-left: auto;
15006
- margin-right: auto;
15007
15000
  height: 700px;
15001
+ align-items: stretch;
15008
15002
 
15009
15003
  & > *:first-child {
15010
15004
  flex: 0 0 420px;
15005
+ max-width: 420px;
15011
15006
  min-width: 0;
15012
- overflow: hidden;
15013
15007
  }
15014
15008
 
15015
15009
  & > *:last-child {
15016
- flex: 1 1 0;
15010
+ flex: 1 1 0%;
15017
15011
  min-width: 0;
15018
- overflow: hidden;
15019
15012
  }
15020
15013
 
15021
15014
  @media (max-width: 1024px) {
@@ -15025,6 +15018,7 @@ var NewsVideoRow = styled9.div`
15025
15018
 
15026
15019
  & > *:first-child {
15027
15020
  flex: none;
15021
+ max-width: none;
15028
15022
  width: 100%;
15029
15023
  }
15030
15024
 
@@ -15035,6 +15029,43 @@ var NewsVideoRow = styled9.div`
15035
15029
  }
15036
15030
  }
15037
15031
  `;
15032
+ var VideoPanel = styled9.div`
15033
+ background: #111111;
15034
+ border-radius: 8px;
15035
+ display: flex;
15036
+ flex-direction: column;
15037
+ overflow: hidden;
15038
+ width: 100%;
15039
+ height: 100%;
15040
+
15041
+ .video-header {
15042
+ padding: 1.25rem 1.5rem 0;
15043
+ h3 {
15044
+ font-size: 1.1rem;
15045
+ font-weight: 600;
15046
+ color: #fff;
15047
+ margin: 0 0 1rem;
15048
+ }
15049
+ }
15050
+
15051
+ .video-frame {
15052
+ flex: 1;
15053
+ position: relative;
15054
+ margin: 0 1.5rem 1.5rem;
15055
+ border-radius: 8px;
15056
+ overflow: hidden;
15057
+ background: #000;
15058
+
15059
+ video {
15060
+ position: absolute;
15061
+ top: 0;
15062
+ left: 0;
15063
+ width: 100%;
15064
+ height: 100%;
15065
+ object-fit: cover;
15066
+ }
15067
+ }
15068
+ `;
15038
15069
  var PaymentOption = styled9.div`
15039
15070
  display: flex;
15040
15071
  align-items: center;