@loafmarkets/ui 0.1.255 → 0.1.257

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 CHANGED
@@ -14894,17 +14894,31 @@ function PropertyBuy({
14894
14894
  PropertyNewsUpdates,
14895
14895
  {
14896
14896
  items: newsItems,
14897
- heading: "Property News & Updates",
14898
- connectionStatus: newsConnectionStatus
14897
+ variant: "home",
14898
+ heading: "Property News & Headlines",
14899
+ connectionStatus: newsConnectionStatus,
14900
+ highlightFirst: false,
14901
+ style: {
14902
+ maxWidth: "none",
14903
+ background: "#111111",
14904
+ borderRadius: "8px",
14905
+ padding: "1.25rem 1.5rem",
14906
+ boxShadow: "0 4px 12px rgba(0,0,0,0.1)",
14907
+ border: "none",
14908
+ height: "100%",
14909
+ overflow: "hidden"
14910
+ }
14899
14911
  }
14900
14912
  ),
14901
- /* @__PURE__ */ jsxRuntime.jsxs(VideoWrapper, { children: [
14902
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "section-header", children: /* @__PURE__ */ jsxRuntime.jsx("h3", { children: propertyName }) }),
14903
- /* @__PURE__ */ jsxRuntime.jsx("div", { className: "video-container", children: /* @__PURE__ */ jsxRuntime.jsxs("video", { controls: true, loop: true, autoPlay: true, muted: true, playsInline: true, children: [
14904
- /* @__PURE__ */ jsxRuntime.jsx("source", { src: "/properties/Musgrave/musgrave.mp4", type: "video/mp4" }),
14905
- "Your browser does not support the video tag."
14906
- ] }) })
14907
- ] })
14913
+ /* @__PURE__ */ jsxRuntime.jsx(
14914
+ PropertyTour,
14915
+ {
14916
+ title: propertyName,
14917
+ src: "/properties/Musgrave/musgrave.mp4",
14918
+ className: "h-full !max-w-none",
14919
+ style: { maxWidth: "none", width: "100%", height: "100%" }
14920
+ }
14921
+ )
14908
14922
  ] }),
14909
14923
  /* @__PURE__ */ jsxRuntime.jsx(
14910
14924
  OrderConfirmationModal,
@@ -15012,15 +15026,17 @@ var ActivityWrapper = styled9__default.default.div`
15012
15026
  `;
15013
15027
  var NewsVideoRow = styled9__default.default.div`
15014
15028
  display: grid;
15015
- grid-template-columns: 1fr 2fr;
15029
+ grid-template-columns: minmax(380px, 520px) minmax(0, 1fr);
15016
15030
  gap: 1.5rem;
15017
15031
  margin-top: 1.5rem;
15018
15032
  max-width: 1800px;
15019
15033
  margin-left: auto;
15020
15034
  margin-right: auto;
15035
+ height: 700px;
15021
15036
  overflow: hidden;
15022
- @media (max-width: 768px) {
15037
+ @media (max-width: 1024px) {
15023
15038
  grid-template-columns: 1fr;
15039
+ height: auto;
15024
15040
  gap: 1rem;
15025
15041
  }
15026
15042
  & > * {
@@ -15028,52 +15044,6 @@ var NewsVideoRow = styled9__default.default.div`
15028
15044
  overflow: hidden;
15029
15045
  }
15030
15046
  `;
15031
- var VideoWrapper = styled9__default.default.div`
15032
- background-color: var(--color-card-darker, #111);
15033
- border-radius: 8px;
15034
- padding: 1.5rem;
15035
- box-shadow: 0 4px 8px rgba(0,0,0,0.2);
15036
- border: 1px solid var(--color-border);
15037
- display: flex;
15038
- flex-direction: column;
15039
- overflow: hidden;
15040
- .section-header {
15041
- display: flex;
15042
- justify-content: space-between;
15043
- align-items: center;
15044
- padding-bottom: 0.75rem;
15045
- margin-bottom: 1rem;
15046
- border-bottom: 1px solid rgba(255,255,255,0.1);
15047
- h3 {
15048
- font-size: 0.9rem;
15049
- font-weight: 600;
15050
- color: var(--color-text);
15051
- margin: 0;
15052
- }
15053
- }
15054
- .video-container {
15055
- flex: 1;
15056
- position: relative;
15057
- background: #000;
15058
- border-radius: 8px;
15059
- overflow: hidden;
15060
- min-height: 300px;
15061
- video {
15062
- position: absolute;
15063
- top: 0;
15064
- left: 0;
15065
- width: 100%;
15066
- height: 100%;
15067
- object-fit: cover;
15068
- }
15069
- }
15070
- @media (max-width: 768px) {
15071
- padding: 1rem;
15072
- .video-container {
15073
- min-height: 200px;
15074
- }
15075
- }
15076
- `;
15077
15047
  var PaymentOption = styled9__default.default.div`
15078
15048
  display: flex;
15079
15049
  align-items: center;