@classic-homes/maps-react 0.7.4 → 0.8.0

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.cjs CHANGED
@@ -1417,7 +1417,16 @@ var Popup2 = React6__namespace.forwardRef(
1417
1417
  Popup2.displayName = "Popup";
1418
1418
  var PopupCard = React6__namespace.forwardRef(
1419
1419
  ({ className, children, ...props }, ref) => {
1420
- return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("bg-popover text-popover-foreground", className), ...props, children });
1420
+ return /* @__PURE__ */ jsxRuntime.jsx(
1421
+ "div",
1422
+ {
1423
+ ref,
1424
+ "data-popup-card": "",
1425
+ className: cn("bg-popover text-popover-foreground", className),
1426
+ ...props,
1427
+ children
1428
+ }
1429
+ );
1421
1430
  }
1422
1431
  );
1423
1432
  PopupCard.displayName = "PopupCard";
@@ -1441,6 +1450,7 @@ var PopupHeader = React6__namespace.forwardRef(
1441
1450
  "div",
1442
1451
  {
1443
1452
  ref,
1453
+ "data-popup-header": "",
1444
1454
  className: cn(
1445
1455
  "flex items-start justify-between gap-2 border-b border-border bg-muted px-4 py-3 pr-12",
1446
1456
  className
@@ -1457,7 +1467,16 @@ var PopupHeader = React6__namespace.forwardRef(
1457
1467
  PopupHeader.displayName = "PopupHeader";
1458
1468
  var PopupContent = React6__namespace.forwardRef(
1459
1469
  ({ className, children, ...props }, ref) => {
1460
- return /* @__PURE__ */ jsxRuntime.jsx("div", { ref, className: cn("px-4 py-3 text-sm", className), ...props, children });
1470
+ return /* @__PURE__ */ jsxRuntime.jsx(
1471
+ "div",
1472
+ {
1473
+ ref,
1474
+ "data-popup-content": "",
1475
+ className: cn("px-4 py-3 text-sm", className),
1476
+ ...props,
1477
+ children
1478
+ }
1479
+ );
1461
1480
  }
1462
1481
  );
1463
1482
  PopupContent.displayName = "PopupContent";
@@ -1467,6 +1486,7 @@ var PopupFooter = React6__namespace.forwardRef(
1467
1486
  "div",
1468
1487
  {
1469
1488
  ref,
1489
+ "data-popup-footer": "",
1470
1490
  className: cn(
1471
1491
  "flex justify-end gap-2 border-t border-border bg-muted px-4 py-3",
1472
1492
  className
package/dist/index.js CHANGED
@@ -1400,7 +1400,16 @@ var Popup2 = React6.forwardRef(
1400
1400
  Popup2.displayName = "Popup";
1401
1401
  var PopupCard = React6.forwardRef(
1402
1402
  ({ className, children, ...props }, ref) => {
1403
- return /* @__PURE__ */ jsx("div", { ref, className: cn("bg-popover text-popover-foreground", className), ...props, children });
1403
+ return /* @__PURE__ */ jsx(
1404
+ "div",
1405
+ {
1406
+ ref,
1407
+ "data-popup-card": "",
1408
+ className: cn("bg-popover text-popover-foreground", className),
1409
+ ...props,
1410
+ children
1411
+ }
1412
+ );
1404
1413
  }
1405
1414
  );
1406
1415
  PopupCard.displayName = "PopupCard";
@@ -1424,6 +1433,7 @@ var PopupHeader = React6.forwardRef(
1424
1433
  "div",
1425
1434
  {
1426
1435
  ref,
1436
+ "data-popup-header": "",
1427
1437
  className: cn(
1428
1438
  "flex items-start justify-between gap-2 border-b border-border bg-muted px-4 py-3 pr-12",
1429
1439
  className
@@ -1440,7 +1450,16 @@ var PopupHeader = React6.forwardRef(
1440
1450
  PopupHeader.displayName = "PopupHeader";
1441
1451
  var PopupContent = React6.forwardRef(
1442
1452
  ({ className, children, ...props }, ref) => {
1443
- return /* @__PURE__ */ jsx("div", { ref, className: cn("px-4 py-3 text-sm", className), ...props, children });
1453
+ return /* @__PURE__ */ jsx(
1454
+ "div",
1455
+ {
1456
+ ref,
1457
+ "data-popup-content": "",
1458
+ className: cn("px-4 py-3 text-sm", className),
1459
+ ...props,
1460
+ children
1461
+ }
1462
+ );
1444
1463
  }
1445
1464
  );
1446
1465
  PopupContent.displayName = "PopupContent";
@@ -1450,6 +1469,7 @@ var PopupFooter = React6.forwardRef(
1450
1469
  "div",
1451
1470
  {
1452
1471
  ref,
1472
+ "data-popup-footer": "",
1453
1473
  className: cn(
1454
1474
  "flex justify-end gap-2 border-t border-border bg-muted px-4 py-3",
1455
1475
  className
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@classic-homes/maps-react",
3
- "version": "0.7.4",
3
+ "version": "0.8.0",
4
4
  "description": "React MapLibre components for Classic Theme",
5
5
  "keywords": [
6
6
  "maps",
@@ -46,7 +46,7 @@
46
46
  "test": "vitest run"
47
47
  },
48
48
  "dependencies": {
49
- "@classic-homes/maps-core": "^0.7.4",
49
+ "@classic-homes/maps-core": "^0.8.0",
50
50
  "@classic-homes/theme-react": "*",
51
51
  "class-variance-authority": "^0.7.0",
52
52
  "clsx": "^2.1.0",