@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.js +11 -54
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +11 -54
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -10,6 +10,7 @@ var styled9 = require('styled-components');
|
|
|
10
10
|
var ReactDOM = require('react-dom');
|
|
11
11
|
var lucideReact = require('lucide-react');
|
|
12
12
|
var LightweightCharts = require('lightweight-charts');
|
|
13
|
+
var md = require('react-icons/md');
|
|
13
14
|
var bi = require('react-icons/bi');
|
|
14
15
|
var fa = require('react-icons/fa');
|
|
15
16
|
var fi = require('react-icons/fi');
|
|
@@ -8394,57 +8395,13 @@ var FullMapFrame = styled9__default.default.div`
|
|
|
8394
8395
|
flex: 1;
|
|
8395
8396
|
min-height: 0;
|
|
8396
8397
|
`;
|
|
8397
|
-
var BedIcon = /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
8398
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 7v11" }),
|
|
8399
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M21 7v11" }),
|
|
8400
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 18h18" }),
|
|
8401
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M3 11h18" }),
|
|
8402
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5 11V7h14v4" }),
|
|
8403
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M7 11V9a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2" }),
|
|
8404
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M13 11V9a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1v2" })
|
|
8405
|
-
] });
|
|
8406
|
-
var BathIcon = /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
8407
|
-
/* @__PURE__ */ jsxRuntime.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" }),
|
|
8408
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6 12V5a2 2 0 0 1 2-2h1" }),
|
|
8409
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M7 20v2" }),
|
|
8410
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17 20v2" })
|
|
8411
|
-
] });
|
|
8412
|
-
var CarIcon = /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
8413
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5 17h14v-5H5z" }),
|
|
8414
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6 12l2-5h8l2 5" }),
|
|
8415
|
-
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "7.5", cy: "17", r: "1.5" }),
|
|
8416
|
-
/* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "16.5", cy: "17", r: "1.5" }),
|
|
8417
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M5 12H3v5h2" }),
|
|
8418
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M19 12h2v5h-2" })
|
|
8419
|
-
] });
|
|
8420
|
-
var PoolIcon = /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
8421
|
-
/* @__PURE__ */ jsxRuntime.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" }),
|
|
8422
|
-
/* @__PURE__ */ jsxRuntime.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" }),
|
|
8423
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 14V4" }),
|
|
8424
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M16 14V8" }),
|
|
8425
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M8 8h8" })
|
|
8426
|
-
] });
|
|
8427
|
-
var GardenIcon = /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
8428
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 22V12" }),
|
|
8429
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 12c-3 0-6-3-6-6 0 0 3 1 6 3" }),
|
|
8430
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 12c3 0 6-3 6-6 0 0-3 1-6 3" }),
|
|
8431
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 8c-2 0-4-2-4-4 0 0 2 .5 4 2" }),
|
|
8432
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M12 8c2 0 4-2 4-4 0 0-2 .5-4 2" })
|
|
8433
|
-
] });
|
|
8434
|
-
var GymIcon = /* @__PURE__ */ jsxRuntime.jsxs("svg", { width: "16", height: "16", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", children: [
|
|
8435
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6.5 6.5h-2a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h2" }),
|
|
8436
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17.5 6.5h2a1 1 0 0 1 1 1v9a1 1 0 0 1-1 1h-2" }),
|
|
8437
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6.5 4v16" }),
|
|
8438
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M17.5 4v16" }),
|
|
8439
|
-
/* @__PURE__ */ jsxRuntime.jsx("path", { d: "M6.5 12h11" })
|
|
8440
|
-
] });
|
|
8441
8398
|
var DEFAULT_FEATURES = [
|
|
8442
|
-
{ icon:
|
|
8443
|
-
{ icon:
|
|
8444
|
-
{ icon:
|
|
8445
|
-
{ icon:
|
|
8446
|
-
{ icon:
|
|
8447
|
-
{ icon:
|
|
8399
|
+
{ icon: /* @__PURE__ */ jsxRuntime.jsx(md.MdKingBed, { size: 18 }), value: "\u2014", label: "Beds" },
|
|
8400
|
+
{ icon: /* @__PURE__ */ jsxRuntime.jsx(md.MdBathtub, { size: 18 }), value: "\u2014", label: "Baths" },
|
|
8401
|
+
{ icon: /* @__PURE__ */ jsxRuntime.jsx(md.MdDirectionsCar, { size: 18 }), value: "\u2014", label: "Cars" },
|
|
8402
|
+
{ icon: /* @__PURE__ */ jsxRuntime.jsx(md.MdPool, { size: 18 }), label: "Pool" },
|
|
8403
|
+
{ icon: /* @__PURE__ */ jsxRuntime.jsx(md.MdYard, { size: 18 }), label: "Garden" },
|
|
8404
|
+
{ icon: /* @__PURE__ */ jsxRuntime.jsx(md.MdFitnessCenter, { size: 18 }), label: "Gym" }
|
|
8448
8405
|
];
|
|
8449
8406
|
var DEFAULT_PROPERTY_INFO = [
|
|
8450
8407
|
{ label: "Property Type", value: "N/A" },
|
|
@@ -16624,11 +16581,11 @@ function PropertyValuation({
|
|
|
16624
16581
|
/* @__PURE__ */ jsxRuntime.jsxs(SaleStatsBar, { children: [
|
|
16625
16582
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { style: { display: "flex", alignItems: "center", gap: "0.75rem" }, children: [
|
|
16626
16583
|
/* @__PURE__ */ jsxRuntime.jsxs(SaleStatItem, { children: [
|
|
16627
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16584
|
+
/* @__PURE__ */ jsxRuntime.jsx(BedIcon, {}),
|
|
16628
16585
|
formatBedroomLabel(sale.bedrooms)
|
|
16629
16586
|
] }),
|
|
16630
16587
|
/* @__PURE__ */ jsxRuntime.jsxs(SaleStatItem, { children: [
|
|
16631
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
16588
|
+
/* @__PURE__ */ jsxRuntime.jsx(BathIcon, {}),
|
|
16632
16589
|
formatBathroomLabel(sale.bathrooms)
|
|
16633
16590
|
] })
|
|
16634
16591
|
] }),
|
|
@@ -17165,8 +17122,8 @@ var SwipeIndicator = styled9__default.default.div`
|
|
|
17165
17122
|
}
|
|
17166
17123
|
}
|
|
17167
17124
|
`;
|
|
17168
|
-
var
|
|
17169
|
-
var
|
|
17125
|
+
var BedIcon = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ jsxRuntime.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" }) });
|
|
17126
|
+
var BathIcon = () => /* @__PURE__ */ jsxRuntime.jsx("svg", { viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ jsxRuntime.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" }) });
|
|
17170
17127
|
var fadeIn = styled9.keyframes`
|
|
17171
17128
|
from { opacity: 0; }
|
|
17172
17129
|
to { opacity: 1; }
|