@loafmarkets/ui 0.1.255 → 0.1.256

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
@@ -14868,17 +14868,30 @@ function PropertyBuy({
14868
14868
  PropertyNewsUpdates,
14869
14869
  {
14870
14870
  items: newsItems,
14871
- heading: "Property News & Updates",
14872
- connectionStatus: newsConnectionStatus
14871
+ variant: "home",
14872
+ heading: "Property News & Headlines",
14873
+ connectionStatus: newsConnectionStatus,
14874
+ highlightFirst: false,
14875
+ style: {
14876
+ maxWidth: "none",
14877
+ background: "#111111",
14878
+ borderRadius: "8px",
14879
+ padding: "1.25rem 1.5rem",
14880
+ boxShadow: "0 4px 12px rgba(0,0,0,0.1)",
14881
+ border: "none",
14882
+ height: "100%",
14883
+ overflow: "hidden"
14884
+ }
14873
14885
  }
14874
14886
  ),
14875
- /* @__PURE__ */ jsxs(VideoWrapper, { children: [
14876
- /* @__PURE__ */ jsx("div", { className: "section-header", children: /* @__PURE__ */ jsx("h3", { children: propertyName }) }),
14877
- /* @__PURE__ */ jsx("div", { className: "video-container", children: /* @__PURE__ */ jsxs("video", { controls: true, loop: true, autoPlay: true, muted: true, playsInline: true, children: [
14878
- /* @__PURE__ */ jsx("source", { src: "/properties/Musgrave/musgrave.mp4", type: "video/mp4" }),
14879
- "Your browser does not support the video tag."
14880
- ] }) })
14881
- ] })
14887
+ /* @__PURE__ */ jsx(
14888
+ PropertyTour,
14889
+ {
14890
+ title: propertyName,
14891
+ src: "/properties/Musgrave/musgrave.mp4",
14892
+ className: "h-full !max-w-none"
14893
+ }
14894
+ )
14882
14895
  ] }),
14883
14896
  /* @__PURE__ */ jsx(
14884
14897
  OrderConfirmationModal,
@@ -14986,15 +14999,17 @@ var ActivityWrapper = styled9.div`
14986
14999
  `;
14987
15000
  var NewsVideoRow = styled9.div`
14988
15001
  display: grid;
14989
- grid-template-columns: 1fr 2fr;
15002
+ grid-template-columns: minmax(380px, 520px) minmax(0, 1fr);
14990
15003
  gap: 1.5rem;
14991
15004
  margin-top: 1.5rem;
14992
15005
  max-width: 1800px;
14993
15006
  margin-left: auto;
14994
15007
  margin-right: auto;
15008
+ height: 700px;
14995
15009
  overflow: hidden;
14996
- @media (max-width: 768px) {
15010
+ @media (max-width: 1024px) {
14997
15011
  grid-template-columns: 1fr;
15012
+ height: auto;
14998
15013
  gap: 1rem;
14999
15014
  }
15000
15015
  & > * {
@@ -15002,52 +15017,6 @@ var NewsVideoRow = styled9.div`
15002
15017
  overflow: hidden;
15003
15018
  }
15004
15019
  `;
15005
- var VideoWrapper = styled9.div`
15006
- background-color: var(--color-card-darker, #111);
15007
- border-radius: 8px;
15008
- padding: 1.5rem;
15009
- box-shadow: 0 4px 8px rgba(0,0,0,0.2);
15010
- border: 1px solid var(--color-border);
15011
- display: flex;
15012
- flex-direction: column;
15013
- overflow: hidden;
15014
- .section-header {
15015
- display: flex;
15016
- justify-content: space-between;
15017
- align-items: center;
15018
- padding-bottom: 0.75rem;
15019
- margin-bottom: 1rem;
15020
- border-bottom: 1px solid rgba(255,255,255,0.1);
15021
- h3 {
15022
- font-size: 0.9rem;
15023
- font-weight: 600;
15024
- color: var(--color-text);
15025
- margin: 0;
15026
- }
15027
- }
15028
- .video-container {
15029
- flex: 1;
15030
- position: relative;
15031
- background: #000;
15032
- border-radius: 8px;
15033
- overflow: hidden;
15034
- min-height: 300px;
15035
- video {
15036
- position: absolute;
15037
- top: 0;
15038
- left: 0;
15039
- width: 100%;
15040
- height: 100%;
15041
- object-fit: cover;
15042
- }
15043
- }
15044
- @media (max-width: 768px) {
15045
- padding: 1rem;
15046
- .video-container {
15047
- min-height: 200px;
15048
- }
15049
- }
15050
- `;
15051
15020
  var PaymentOption = styled9.div`
15052
15021
  display: flex;
15053
15022
  align-items: center;