@opensite/ui 2.9.6 → 2.9.7

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.
@@ -526,11 +526,11 @@ function ContactMap({
526
526
  }, [formEngineSetup]);
527
527
  const resolvedMapProps = React4__namespace.useMemo(() => {
528
528
  return {
529
- // Use explicit height to prevent MapLibre canvas expansion issues
530
- mapWrapperClassName: "h-[520px]",
531
529
  panelPosition: "top-left",
532
530
  ...mapProps,
533
- className: cn("h-full w-full", mapClassName, mapProps?.className),
531
+ // Don't override mapWrapperClassName if it's provided in mapProps
532
+ mapWrapperClassName: mapProps?.mapWrapperClassName,
533
+ className: cn(mapClassName, mapProps?.className),
534
534
  optixFlowConfig,
535
535
  // Provide icon and image components for rich marker panels
536
536
  IconComponent: DynamicIcon,
@@ -583,13 +583,13 @@ function ContactMap({
583
583
  "div",
584
584
  {
585
585
  className: cn(
586
- // Strict height containment to prevent MapLibre canvas expansion
587
- "relative overflow-hidden",
586
+ // Allow map panels to overflow outside container
587
+ "relative",
588
588
  mapColumnClassName
589
589
  ),
590
590
  style: {
591
- height: "520px",
592
- maxHeight: "90vh"
591
+ // Explicitly allow overflow for marker panels
592
+ overflow: "visible"
593
593
  },
594
594
  children: /* @__PURE__ */ jsxRuntime.jsx(maps.GeoMap, { ...resolvedMapProps })
595
595
  }
@@ -505,11 +505,11 @@ function ContactMap({
505
505
  }, [formEngineSetup]);
506
506
  const resolvedMapProps = React4.useMemo(() => {
507
507
  return {
508
- // Use explicit height to prevent MapLibre canvas expansion issues
509
- mapWrapperClassName: "h-[520px]",
510
508
  panelPosition: "top-left",
511
509
  ...mapProps,
512
- className: cn("h-full w-full", mapClassName, mapProps?.className),
510
+ // Don't override mapWrapperClassName if it's provided in mapProps
511
+ mapWrapperClassName: mapProps?.mapWrapperClassName,
512
+ className: cn(mapClassName, mapProps?.className),
513
513
  optixFlowConfig,
514
514
  // Provide icon and image components for rich marker panels
515
515
  IconComponent: DynamicIcon,
@@ -562,13 +562,13 @@ function ContactMap({
562
562
  "div",
563
563
  {
564
564
  className: cn(
565
- // Strict height containment to prevent MapLibre canvas expansion
566
- "relative overflow-hidden",
565
+ // Allow map panels to overflow outside container
566
+ "relative",
567
567
  mapColumnClassName
568
568
  ),
569
569
  style: {
570
- height: "520px",
571
- maxHeight: "90vh"
570
+ // Explicitly allow overflow for marker panels
571
+ overflow: "visible"
572
572
  },
573
573
  children: /* @__PURE__ */ jsx(GeoMap, { ...resolvedMapProps })
574
574
  }
package/dist/registry.cjs CHANGED
@@ -16636,11 +16636,11 @@ function ContactMap({
16636
16636
  }, [formEngineSetup]);
16637
16637
  const resolvedMapProps = React32__namespace.useMemo(() => {
16638
16638
  return {
16639
- // Use explicit height to prevent MapLibre canvas expansion issues
16640
- mapWrapperClassName: "h-[520px]",
16641
16639
  panelPosition: "top-left",
16642
16640
  ...mapProps,
16643
- className: cn("h-full w-full", mapClassName, mapProps?.className),
16641
+ // Don't override mapWrapperClassName if it's provided in mapProps
16642
+ mapWrapperClassName: mapProps?.mapWrapperClassName,
16643
+ className: cn(mapClassName, mapProps?.className),
16644
16644
  optixFlowConfig,
16645
16645
  // Provide icon and image components for rich marker panels
16646
16646
  IconComponent: DynamicIcon,
@@ -16693,13 +16693,13 @@ function ContactMap({
16693
16693
  "div",
16694
16694
  {
16695
16695
  className: cn(
16696
- // Strict height containment to prevent MapLibre canvas expansion
16697
- "relative overflow-hidden",
16696
+ // Allow map panels to overflow outside container
16697
+ "relative",
16698
16698
  mapColumnClassName
16699
16699
  ),
16700
16700
  style: {
16701
- height: "520px",
16702
- maxHeight: "90vh"
16701
+ // Explicitly allow overflow for marker panels
16702
+ overflow: "visible"
16703
16703
  },
16704
16704
  children: /* @__PURE__ */ jsxRuntime.jsx(maps.GeoMap, { ...resolvedMapProps })
16705
16705
  }
package/dist/registry.js CHANGED
@@ -16596,11 +16596,11 @@ function ContactMap({
16596
16596
  }, [formEngineSetup]);
16597
16597
  const resolvedMapProps = React32.useMemo(() => {
16598
16598
  return {
16599
- // Use explicit height to prevent MapLibre canvas expansion issues
16600
- mapWrapperClassName: "h-[520px]",
16601
16599
  panelPosition: "top-left",
16602
16600
  ...mapProps,
16603
- className: cn("h-full w-full", mapClassName, mapProps?.className),
16601
+ // Don't override mapWrapperClassName if it's provided in mapProps
16602
+ mapWrapperClassName: mapProps?.mapWrapperClassName,
16603
+ className: cn(mapClassName, mapProps?.className),
16604
16604
  optixFlowConfig,
16605
16605
  // Provide icon and image components for rich marker panels
16606
16606
  IconComponent: DynamicIcon,
@@ -16653,13 +16653,13 @@ function ContactMap({
16653
16653
  "div",
16654
16654
  {
16655
16655
  className: cn(
16656
- // Strict height containment to prevent MapLibre canvas expansion
16657
- "relative overflow-hidden",
16656
+ // Allow map panels to overflow outside container
16657
+ "relative",
16658
16658
  mapColumnClassName
16659
16659
  ),
16660
16660
  style: {
16661
- height: "520px",
16662
- maxHeight: "90vh"
16661
+ // Explicitly allow overflow for marker panels
16662
+ overflow: "visible"
16663
16663
  },
16664
16664
  children: /* @__PURE__ */ jsx(GeoMap, { ...resolvedMapProps })
16665
16665
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opensite/ui",
3
- "version": "2.9.6",
3
+ "version": "2.9.7",
4
4
  "description": "Foundational UI component library for OpenSite Semantic Site Builder with tree-shakable exports and abstract styling",
5
5
  "keywords": [
6
6
  "react",
@@ -3413,7 +3413,7 @@
3413
3413
  "@page-speed/icon": "0.1.2",
3414
3414
  "@page-speed/img": "0.4.6",
3415
3415
  "@page-speed/lightbox": "0.2.1",
3416
- "@page-speed/maps": "0.1.8",
3416
+ "@page-speed/maps": "0.1.9",
3417
3417
  "@page-speed/pdf-viewer": "0.1.9",
3418
3418
  "@page-speed/social-share": "0.0.5",
3419
3419
  "@radix-ui/react-accordion": "^1.2.12",