@opensite/ui 2.9.5 → 2.9.6
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/contact-map.cjs +9 -16
- package/dist/contact-map.js +9 -16
- package/dist/registry.cjs +10 -17
- package/dist/registry.js +10 -17
- package/dist/testimonials-parallax-number.cjs +1 -1
- package/dist/testimonials-parallax-number.js +1 -1
- package/package.json +2 -2
package/dist/contact-map.cjs
CHANGED
|
@@ -524,18 +524,10 @@ function ContactMap({
|
|
|
524
524
|
}
|
|
525
525
|
);
|
|
526
526
|
}, [formEngineSetup]);
|
|
527
|
-
const isInIframe = React4__namespace.useMemo(() => {
|
|
528
|
-
if (typeof window === "undefined") return false;
|
|
529
|
-
try {
|
|
530
|
-
return window.self !== window.top;
|
|
531
|
-
} catch {
|
|
532
|
-
return true;
|
|
533
|
-
}
|
|
534
|
-
}, []);
|
|
535
527
|
const resolvedMapProps = React4__namespace.useMemo(() => {
|
|
536
528
|
return {
|
|
537
|
-
// Use
|
|
538
|
-
mapWrapperClassName:
|
|
529
|
+
// Use explicit height to prevent MapLibre canvas expansion issues
|
|
530
|
+
mapWrapperClassName: "h-[520px]",
|
|
539
531
|
panelPosition: "top-left",
|
|
540
532
|
...mapProps,
|
|
541
533
|
className: cn("h-full w-full", mapClassName, mapProps?.className),
|
|
@@ -544,7 +536,7 @@ function ContactMap({
|
|
|
544
536
|
IconComponent: DynamicIcon,
|
|
545
537
|
ImgComponent: img.Img
|
|
546
538
|
};
|
|
547
|
-
}, [
|
|
539
|
+
}, [mapClassName, mapProps, optixFlowConfig]);
|
|
548
540
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
549
541
|
Section,
|
|
550
542
|
{
|
|
@@ -591,13 +583,14 @@ function ContactMap({
|
|
|
591
583
|
"div",
|
|
592
584
|
{
|
|
593
585
|
className: cn(
|
|
594
|
-
//
|
|
595
|
-
"relative
|
|
596
|
-
// In iframe contexts, ensure proper containment without fixed aspect ratios
|
|
597
|
-
isInIframe && "min-h-0",
|
|
598
|
-
// Allow flexible height but prevent infinite expansion
|
|
586
|
+
// Strict height containment to prevent MapLibre canvas expansion
|
|
587
|
+
"relative overflow-hidden",
|
|
599
588
|
mapColumnClassName
|
|
600
589
|
),
|
|
590
|
+
style: {
|
|
591
|
+
height: "520px",
|
|
592
|
+
maxHeight: "90vh"
|
|
593
|
+
},
|
|
601
594
|
children: /* @__PURE__ */ jsxRuntime.jsx(maps.GeoMap, { ...resolvedMapProps })
|
|
602
595
|
}
|
|
603
596
|
)
|
package/dist/contact-map.js
CHANGED
|
@@ -503,18 +503,10 @@ function ContactMap({
|
|
|
503
503
|
}
|
|
504
504
|
);
|
|
505
505
|
}, [formEngineSetup]);
|
|
506
|
-
const isInIframe = React4.useMemo(() => {
|
|
507
|
-
if (typeof window === "undefined") return false;
|
|
508
|
-
try {
|
|
509
|
-
return window.self !== window.top;
|
|
510
|
-
} catch {
|
|
511
|
-
return true;
|
|
512
|
-
}
|
|
513
|
-
}, []);
|
|
514
506
|
const resolvedMapProps = React4.useMemo(() => {
|
|
515
507
|
return {
|
|
516
|
-
// Use
|
|
517
|
-
mapWrapperClassName:
|
|
508
|
+
// Use explicit height to prevent MapLibre canvas expansion issues
|
|
509
|
+
mapWrapperClassName: "h-[520px]",
|
|
518
510
|
panelPosition: "top-left",
|
|
519
511
|
...mapProps,
|
|
520
512
|
className: cn("h-full w-full", mapClassName, mapProps?.className),
|
|
@@ -523,7 +515,7 @@ function ContactMap({
|
|
|
523
515
|
IconComponent: DynamicIcon,
|
|
524
516
|
ImgComponent: Img
|
|
525
517
|
};
|
|
526
|
-
}, [
|
|
518
|
+
}, [mapClassName, mapProps, optixFlowConfig]);
|
|
527
519
|
return /* @__PURE__ */ jsx(
|
|
528
520
|
Section,
|
|
529
521
|
{
|
|
@@ -570,13 +562,14 @@ function ContactMap({
|
|
|
570
562
|
"div",
|
|
571
563
|
{
|
|
572
564
|
className: cn(
|
|
573
|
-
//
|
|
574
|
-
"relative
|
|
575
|
-
// In iframe contexts, ensure proper containment without fixed aspect ratios
|
|
576
|
-
isInIframe && "min-h-0",
|
|
577
|
-
// Allow flexible height but prevent infinite expansion
|
|
565
|
+
// Strict height containment to prevent MapLibre canvas expansion
|
|
566
|
+
"relative overflow-hidden",
|
|
578
567
|
mapColumnClassName
|
|
579
568
|
),
|
|
569
|
+
style: {
|
|
570
|
+
height: "520px",
|
|
571
|
+
maxHeight: "90vh"
|
|
572
|
+
},
|
|
580
573
|
children: /* @__PURE__ */ jsx(GeoMap, { ...resolvedMapProps })
|
|
581
574
|
}
|
|
582
575
|
)
|
package/dist/registry.cjs
CHANGED
|
@@ -16634,18 +16634,10 @@ function ContactMap({
|
|
|
16634
16634
|
}
|
|
16635
16635
|
);
|
|
16636
16636
|
}, [formEngineSetup]);
|
|
16637
|
-
const isInIframe = React32__namespace.useMemo(() => {
|
|
16638
|
-
if (typeof window === "undefined") return false;
|
|
16639
|
-
try {
|
|
16640
|
-
return window.self !== window.top;
|
|
16641
|
-
} catch {
|
|
16642
|
-
return true;
|
|
16643
|
-
}
|
|
16644
|
-
}, []);
|
|
16645
16637
|
const resolvedMapProps = React32__namespace.useMemo(() => {
|
|
16646
16638
|
return {
|
|
16647
|
-
// Use
|
|
16648
|
-
mapWrapperClassName:
|
|
16639
|
+
// Use explicit height to prevent MapLibre canvas expansion issues
|
|
16640
|
+
mapWrapperClassName: "h-[520px]",
|
|
16649
16641
|
panelPosition: "top-left",
|
|
16650
16642
|
...mapProps,
|
|
16651
16643
|
className: cn("h-full w-full", mapClassName, mapProps?.className),
|
|
@@ -16654,7 +16646,7 @@ function ContactMap({
|
|
|
16654
16646
|
IconComponent: DynamicIcon,
|
|
16655
16647
|
ImgComponent: img.Img
|
|
16656
16648
|
};
|
|
16657
|
-
}, [
|
|
16649
|
+
}, [mapClassName, mapProps, optixFlowConfig]);
|
|
16658
16650
|
return /* @__PURE__ */ jsxRuntime.jsx(
|
|
16659
16651
|
Section,
|
|
16660
16652
|
{
|
|
@@ -16701,13 +16693,14 @@ function ContactMap({
|
|
|
16701
16693
|
"div",
|
|
16702
16694
|
{
|
|
16703
16695
|
className: cn(
|
|
16704
|
-
//
|
|
16705
|
-
"relative
|
|
16706
|
-
// In iframe contexts, ensure proper containment without fixed aspect ratios
|
|
16707
|
-
isInIframe && "min-h-0",
|
|
16708
|
-
// Allow flexible height but prevent infinite expansion
|
|
16696
|
+
// Strict height containment to prevent MapLibre canvas expansion
|
|
16697
|
+
"relative overflow-hidden",
|
|
16709
16698
|
mapColumnClassName
|
|
16710
16699
|
),
|
|
16700
|
+
style: {
|
|
16701
|
+
height: "520px",
|
|
16702
|
+
maxHeight: "90vh"
|
|
16703
|
+
},
|
|
16711
16704
|
children: /* @__PURE__ */ jsxRuntime.jsx(maps.GeoMap, { ...resolvedMapProps })
|
|
16712
16705
|
}
|
|
16713
16706
|
)
|
|
@@ -47281,7 +47274,7 @@ function TestimonialsParallaxNumber({
|
|
|
47281
47274
|
framerMotion.motion.blockquote,
|
|
47282
47275
|
{
|
|
47283
47276
|
className: cn(
|
|
47284
|
-
"text-2xl md:text-3xl lg:text-4xl
|
|
47277
|
+
"text-2xl md:text-3xl lg:text-4xl",
|
|
47285
47278
|
"font-light leading-[1.15] tracking-tight",
|
|
47286
47279
|
quoteClassName
|
|
47287
47280
|
),
|
package/dist/registry.js
CHANGED
|
@@ -16594,18 +16594,10 @@ function ContactMap({
|
|
|
16594
16594
|
}
|
|
16595
16595
|
);
|
|
16596
16596
|
}, [formEngineSetup]);
|
|
16597
|
-
const isInIframe = React32.useMemo(() => {
|
|
16598
|
-
if (typeof window === "undefined") return false;
|
|
16599
|
-
try {
|
|
16600
|
-
return window.self !== window.top;
|
|
16601
|
-
} catch {
|
|
16602
|
-
return true;
|
|
16603
|
-
}
|
|
16604
|
-
}, []);
|
|
16605
16597
|
const resolvedMapProps = React32.useMemo(() => {
|
|
16606
16598
|
return {
|
|
16607
|
-
// Use
|
|
16608
|
-
mapWrapperClassName:
|
|
16599
|
+
// Use explicit height to prevent MapLibre canvas expansion issues
|
|
16600
|
+
mapWrapperClassName: "h-[520px]",
|
|
16609
16601
|
panelPosition: "top-left",
|
|
16610
16602
|
...mapProps,
|
|
16611
16603
|
className: cn("h-full w-full", mapClassName, mapProps?.className),
|
|
@@ -16614,7 +16606,7 @@ function ContactMap({
|
|
|
16614
16606
|
IconComponent: DynamicIcon,
|
|
16615
16607
|
ImgComponent: Img
|
|
16616
16608
|
};
|
|
16617
|
-
}, [
|
|
16609
|
+
}, [mapClassName, mapProps, optixFlowConfig]);
|
|
16618
16610
|
return /* @__PURE__ */ jsx(
|
|
16619
16611
|
Section,
|
|
16620
16612
|
{
|
|
@@ -16661,13 +16653,14 @@ function ContactMap({
|
|
|
16661
16653
|
"div",
|
|
16662
16654
|
{
|
|
16663
16655
|
className: cn(
|
|
16664
|
-
//
|
|
16665
|
-
"relative
|
|
16666
|
-
// In iframe contexts, ensure proper containment without fixed aspect ratios
|
|
16667
|
-
isInIframe && "min-h-0",
|
|
16668
|
-
// Allow flexible height but prevent infinite expansion
|
|
16656
|
+
// Strict height containment to prevent MapLibre canvas expansion
|
|
16657
|
+
"relative overflow-hidden",
|
|
16669
16658
|
mapColumnClassName
|
|
16670
16659
|
),
|
|
16660
|
+
style: {
|
|
16661
|
+
height: "520px",
|
|
16662
|
+
maxHeight: "90vh"
|
|
16663
|
+
},
|
|
16671
16664
|
children: /* @__PURE__ */ jsx(GeoMap, { ...resolvedMapProps })
|
|
16672
16665
|
}
|
|
16673
16666
|
)
|
|
@@ -47241,7 +47234,7 @@ function TestimonialsParallaxNumber({
|
|
|
47241
47234
|
motion.blockquote,
|
|
47242
47235
|
{
|
|
47243
47236
|
className: cn(
|
|
47244
|
-
"text-2xl md:text-3xl lg:text-4xl
|
|
47237
|
+
"text-2xl md:text-3xl lg:text-4xl",
|
|
47245
47238
|
"font-light leading-[1.15] tracking-tight",
|
|
47246
47239
|
quoteClassName
|
|
47247
47240
|
),
|
|
@@ -1008,7 +1008,7 @@ function TestimonialsParallaxNumber({
|
|
|
1008
1008
|
framerMotion.motion.blockquote,
|
|
1009
1009
|
{
|
|
1010
1010
|
className: cn(
|
|
1011
|
-
"text-2xl md:text-3xl lg:text-4xl
|
|
1011
|
+
"text-2xl md:text-3xl lg:text-4xl",
|
|
1012
1012
|
"font-light leading-[1.15] tracking-tight",
|
|
1013
1013
|
quoteClassName
|
|
1014
1014
|
),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensite/ui",
|
|
3
|
-
"version": "2.9.
|
|
3
|
+
"version": "2.9.6",
|
|
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.
|
|
3416
|
+
"@page-speed/maps": "0.1.8",
|
|
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",
|