@loafmarkets/ui 0.1.234 → 0.1.236

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
@@ -9,6 +9,7 @@ import styled9, { keyframes, css } from 'styled-components';
9
9
  import * as ReactDOM from 'react-dom';
10
10
  import { Newspaper } from 'lucide-react';
11
11
  import * as LightweightCharts from 'lightweight-charts';
12
+ import { MdKingBed, MdBathtub, MdDirectionsCar, MdPool, MdYard, MdFitnessCenter } from 'react-icons/md';
12
13
  import { BiChevronUp, BiChevronDown, BiX, BiCoin, BiWallet, BiCreditCard, BiCalendar, BiInfoCircle, BiPencil, BiImages, BiVideo, BiMap } from 'react-icons/bi';
13
14
  import { FaChartLine, FaBitcoin } from 'react-icons/fa';
14
15
  import { FiEdit2 } from 'react-icons/fi';
@@ -8368,57 +8369,13 @@ var FullMapFrame = styled9.div`
8368
8369
  flex: 1;
8369
8370
  min-height: 0;
8370
8371
  `;
8371
- var BedIcon = /* @__PURE__ */ jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", children: [
8372
- /* @__PURE__ */ jsx("path", { d: "M3 7v11" }),
8373
- /* @__PURE__ */ jsx("path", { d: "M21 7v11" }),
8374
- /* @__PURE__ */ jsx("path", { d: "M3 18h18" }),
8375
- /* @__PURE__ */ jsx("path", { d: "M3 11h18" }),
8376
- /* @__PURE__ */ jsx("path", { d: "M5 11V7h14v4" }),
8377
- /* @__PURE__ */ jsx("path", { d: "M7 11V9a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2" }),
8378
- /* @__PURE__ */ jsx("path", { d: "M13 11V9a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2" })
8379
- ] });
8380
- var BathIcon = /* @__PURE__ */ jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", children: [
8381
- /* @__PURE__ */ jsx("path", { d: "M4 12h16a1 1 0 0 1 1 1v3a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4v-3a1 1 0 0 1 1-1z" }),
8382
- /* @__PURE__ */ jsx("path", { d: "M6 12V5a2 2 0 0 1 2-2h1" }),
8383
- /* @__PURE__ */ jsx("path", { d: "M7 20v2" }),
8384
- /* @__PURE__ */ jsx("path", { d: "M17 20v2" })
8385
- ] });
8386
- var CarIcon = /* @__PURE__ */ jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", children: [
8387
- /* @__PURE__ */ jsx("path", { d: "M5 17h14v-5H5z" }),
8388
- /* @__PURE__ */ jsx("path", { d: "M6 12l2-5h8l2 5" }),
8389
- /* @__PURE__ */ jsx("circle", { cx: "7.5", cy: "17", r: "1.5" }),
8390
- /* @__PURE__ */ jsx("circle", { cx: "16.5", cy: "17", r: "1.5" }),
8391
- /* @__PURE__ */ jsx("path", { d: "M5 12H3v5h2" }),
8392
- /* @__PURE__ */ jsx("path", { d: "M19 12h2v5h-2" })
8393
- ] });
8394
- var PoolIcon = /* @__PURE__ */ jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", children: [
8395
- /* @__PURE__ */ jsx("path", { d: "M2 16c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2c1.3 0 1.9.5 2.5 1" }),
8396
- /* @__PURE__ */ jsx("path", { d: "M2 20c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2s2.5 2 5 2 2.5-2 5-2c1.3 0 1.9.5 2.5 1" }),
8397
- /* @__PURE__ */ jsx("path", { d: "M8 14V4" }),
8398
- /* @__PURE__ */ jsx("path", { d: "M16 14V8" }),
8399
- /* @__PURE__ */ jsx("path", { d: "M8 8h8" })
8400
- ] });
8401
- var GardenIcon = /* @__PURE__ */ jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", children: [
8402
- /* @__PURE__ */ jsx("path", { d: "M12 22V12" }),
8403
- /* @__PURE__ */ jsx("path", { d: "M12 12c-3 0-6-3-6-6 0 0 3 1 6 3" }),
8404
- /* @__PURE__ */ jsx("path", { d: "M12 12c3 0 6-3 6-6 0 0-3 1-6 3" }),
8405
- /* @__PURE__ */ jsx("path", { d: "M12 8c-2 0-4-2-4-4 0 0 2 .5 4 2" }),
8406
- /* @__PURE__ */ jsx("path", { d: "M12 8c2 0 4-2 4-4 0 0-2 .5-4 2" })
8407
- ] });
8408
- var GymIcon = /* @__PURE__ */ jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", children: [
8409
- /* @__PURE__ */ jsx("path", { d: "M6.5 6.5h-2a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h2" }),
8410
- /* @__PURE__ */ jsx("path", { d: "M17.5 6.5h2a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1h-2" }),
8411
- /* @__PURE__ */ jsx("path", { d: "M6.5 4v16" }),
8412
- /* @__PURE__ */ jsx("path", { d: "M17.5 4v16" }),
8413
- /* @__PURE__ */ jsx("path", { d: "M6.5 12h11" })
8414
- ] });
8415
8372
  var DEFAULT_FEATURES = [
8416
- { icon: BedIcon, value: "\u2014", label: "Beds" },
8417
- { icon: BathIcon, value: "\u2014", label: "Baths" },
8418
- { icon: CarIcon, value: "\u2014", label: "Cars" },
8419
- { icon: PoolIcon, label: "Pool" },
8420
- { icon: GardenIcon, label: "Garden" },
8421
- { icon: GymIcon, label: "Gym" }
8373
+ { icon: /* @__PURE__ */ jsx(MdKingBed, { size: 18 }), value: "\u2014", label: "Beds" },
8374
+ { icon: /* @__PURE__ */ jsx(MdBathtub, { size: 18 }), value: "\u2014", label: "Baths" },
8375
+ { icon: /* @__PURE__ */ jsx(MdDirectionsCar, { size: 18 }), value: "\u2014", label: "Cars" },
8376
+ { icon: /* @__PURE__ */ jsx(MdPool, { size: 18 }), label: "Pool" },
8377
+ { icon: /* @__PURE__ */ jsx(MdYard, { size: 18 }), label: "Garden" },
8378
+ { icon: /* @__PURE__ */ jsx(MdFitnessCenter, { size: 18 }), label: "Gym" }
8422
8379
  ];
8423
8380
  var DEFAULT_PROPERTY_INFO = [
8424
8381
  { label: "Property Type", value: "N/A" },
@@ -16598,11 +16555,11 @@ function PropertyValuation({
16598
16555
  /* @__PURE__ */ jsxs(SaleStatsBar, { children: [
16599
16556
  /* @__PURE__ */ jsxs("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
16600
16557
  /* @__PURE__ */ jsxs(SaleStatItem, { children: [
16601
- /* @__PURE__ */ jsx(BedIcon2, {}),
16558
+ /* @__PURE__ */ jsx(BedIcon, {}),
16602
16559
  formatBedroomLabel(sale.bedrooms)
16603
16560
  ] }),
16604
16561
  /* @__PURE__ */ jsxs(SaleStatItem, { children: [
16605
- /* @__PURE__ */ jsx(BathIcon2, {}),
16562
+ /* @__PURE__ */ jsx(BathIcon, {}),
16606
16563
  formatBathroomLabel(sale.bathrooms)
16607
16564
  ] })
16608
16565
  ] }),
@@ -17139,8 +17096,8 @@ var SwipeIndicator = styled9.div`
17139
17096
  }
17140
17097
  }
17141
17098
  `;
17142
- var BedIcon2 = () => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ jsx("path", { d: "M7 14c1.66 0 3-1.34 3-3S8.66 8 7 8s-3 1.34-3 3 1.34 3 3 3zm0-4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm12-3h-8v8H3V5H1v15h2v-3h18v3h2v-9c0-2.21-1.79-4-4-4zm2 8h-8V9h6c1.1 0 2 .9 2 2v4z" }) });
17143
- var BathIcon2 = () => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ jsx("path", { d: "M7 7c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2-2-.9-2-2zm5 14H4v-2c0-2.21 1.79-4 4-4h2c2.21 0 4 1.79 4 4v2zm6-8h-2v-2h-2v2h-2v2h2v2h2v-2h2v-2z" }) });
17099
+ var BedIcon = () => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ jsx("path", { d: "M7 14c1.66 0 3-1.34 3-3S8.66 8 7 8s-3 1.34-3 3 1.34 3 3 3zm0-4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm12-3h-8v8H3V5H1v15h2v-3h18v3h2v-9c0-2.21-1.79-4-4-4zm2 8h-8V9h6c1.1 0 2 .9 2 2v4z" }) });
17100
+ var BathIcon = () => /* @__PURE__ */ jsx("svg", { viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ jsx("path", { d: "M7 7c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2-2-.9-2-2zm5 14H4v-2c0-2.21 1.79-4 4-4h2c2.21 0 4 1.79 4 4v2zm6-8h-2v-2h-2v2h-2v2h2v2h2v-2h2v-2z" }) });
17144
17101
  var fadeIn = keyframes`
17145
17102
  from { opacity: 0; }
17146
17103
  to { opacity: 1; }