@opensite/ui 3.0.8 → 3.1.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/README.md +80 -0
- package/dist/components.cjs +1 -1
- package/dist/components.js +1 -1
- package/dist/cta-video-background-hero.cjs +13 -4
- package/dist/cta-video-background-hero.js +13 -4
- package/dist/faq-split-hero.cjs +5 -4
- package/dist/faq-split-hero.js +2 -1
- package/dist/hero-conversion-video-play.cjs +10 -1
- package/dist/hero-conversion-video-play.js +10 -1
- package/dist/hero-creative-studio-stacked.cjs +10 -1
- package/dist/hero-creative-studio-stacked.js +10 -1
- package/dist/hero-digital-agency-fullscreen.cjs +1 -1
- package/dist/hero-digital-agency-fullscreen.js +1 -1
- package/dist/hero-image-slider.cjs +1 -1
- package/dist/hero-image-slider.js +1 -1
- package/dist/hero-mentorship-video-split.cjs +10 -1
- package/dist/hero-mentorship-video-split.js +10 -1
- package/dist/hero-presentation-platform-video.cjs +4 -3
- package/dist/hero-presentation-platform-video.js +4 -3
- package/dist/hero-productivity-launcher-video.cjs +2 -1
- package/dist/hero-productivity-launcher-video.js +2 -1
- package/dist/hero-software-growth-video-dialog.cjs +10 -1
- package/dist/hero-software-growth-video-dialog.js +10 -1
- package/dist/hero-video-background-dark.cjs +5 -4
- package/dist/hero-video-background-dark.js +5 -4
- package/dist/hero-video-dialog-gradient.cjs +10 -1
- package/dist/hero-video-dialog-gradient.js +10 -1
- package/dist/hero-video-overlay-stars.cjs +2 -1
- package/dist/hero-video-overlay-stars.js +2 -1
- package/dist/image-slider.cjs +1 -1
- package/dist/image-slider.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/link-tree-block.cjs +2 -1
- package/dist/link-tree-block.js +2 -1
- package/dist/project-detail-architecture-carousel.cjs +2 -1
- package/dist/project-detail-architecture-carousel.js +2 -1
- package/dist/project-video-carousel.cjs +5 -7
- package/dist/project-video-carousel.js +5 -7
- package/dist/project-video-hover-bento.cjs +5 -7
- package/dist/project-video-hover-bento.js +5 -7
- package/dist/project-video-hover-grid.cjs +5 -7
- package/dist/project-video-hover-grid.js +5 -7
- package/dist/project-video-hover-rounded.cjs +5 -7
- package/dist/project-video-hover-rounded.js +5 -7
- package/dist/project-video-hover-stack.cjs +5 -7
- package/dist/project-video-hover-stack.js +5 -7
- package/dist/project-video-hover-two-by-two.cjs +5 -7
- package/dist/project-video-hover-two-by-two.js +5 -7
- package/dist/registry.cjs +100 -69
- package/dist/registry.js +97 -66
- package/dist/services-list-video-showcase.cjs +2 -1
- package/dist/services-list-video-showcase.js +2 -1
- package/dist/social-link-icon.d.cts +1 -1
- package/dist/social-link-icon.d.ts +1 -1
- package/package.json +5 -3
package/dist/registry.js
CHANGED
|
@@ -17,6 +17,7 @@ import { FormEngine, useFileUpload, useContactForm, DynamicFormField, submitPage
|
|
|
17
17
|
import { AnimatePresence, motion, useMotionValue, useMotionTemplate, useSpring, useTransform, useInView, useScroll, useMotionValueEvent } from 'framer-motion';
|
|
18
18
|
import { Lightbox } from '@page-speed/lightbox';
|
|
19
19
|
import * as SeparatorPrimitive from '@radix-ui/react-separator';
|
|
20
|
+
import { Video } from '@page-speed/video';
|
|
20
21
|
import * as AccordionPrimitive from '@radix-ui/react-accordion';
|
|
21
22
|
import { GeoMap } from '@page-speed/maps';
|
|
22
23
|
import useEmblaCarousel from 'embla-carousel-react';
|
|
@@ -809,7 +810,7 @@ var ImageSlider = ({
|
|
|
809
810
|
activeImage.className
|
|
810
811
|
),
|
|
811
812
|
optixFlowConfig: activeImage.optixFlowConfig ?? optixFlowConfig,
|
|
812
|
-
|
|
813
|
+
loading: "eager"
|
|
813
814
|
}
|
|
814
815
|
)
|
|
815
816
|
},
|
|
@@ -12596,7 +12597,15 @@ function CtaVideoBackgroundHero({
|
|
|
12596
12597
|
children: /* @__PURE__ */ jsx(DynamicIcon, { name: "lucide/x", size: 20 })
|
|
12597
12598
|
}
|
|
12598
12599
|
),
|
|
12599
|
-
modalVideoUrl && /* @__PURE__ */ jsx(
|
|
12600
|
+
modalVideoUrl && /* @__PURE__ */ jsx(
|
|
12601
|
+
Video,
|
|
12602
|
+
{
|
|
12603
|
+
src: modalVideoUrl,
|
|
12604
|
+
controls: true,
|
|
12605
|
+
autoPlay: true,
|
|
12606
|
+
className: "w-full rounded-lg"
|
|
12607
|
+
}
|
|
12608
|
+
)
|
|
12600
12609
|
]
|
|
12601
12610
|
}
|
|
12602
12611
|
)
|
|
@@ -12622,14 +12631,14 @@ function CtaVideoBackgroundHero({
|
|
|
12622
12631
|
),
|
|
12623
12632
|
children: [
|
|
12624
12633
|
backgroundVideoUrl && /* @__PURE__ */ jsx(
|
|
12625
|
-
|
|
12634
|
+
Video,
|
|
12626
12635
|
{
|
|
12636
|
+
src: backgroundVideoUrl,
|
|
12627
12637
|
autoPlay: true,
|
|
12628
12638
|
loop: true,
|
|
12629
12639
|
muted: true,
|
|
12630
12640
|
playsInline: true,
|
|
12631
|
-
className: "absolute inset-0 h-full w-full object-cover"
|
|
12632
|
-
children: /* @__PURE__ */ jsx("source", { src: backgroundVideoUrl, type: "video/mp4" })
|
|
12641
|
+
className: "absolute inset-0 h-full w-full object-cover"
|
|
12633
12642
|
}
|
|
12634
12643
|
),
|
|
12635
12644
|
/* @__PURE__ */ jsx(
|
|
@@ -42068,7 +42077,7 @@ function FaqSplitHero({
|
|
|
42068
42077
|
if (video) {
|
|
42069
42078
|
const { src, className: videoClassName, ...videoRest } = video;
|
|
42070
42079
|
return /* @__PURE__ */ jsx(
|
|
42071
|
-
|
|
42080
|
+
Video,
|
|
42072
42081
|
{
|
|
42073
42082
|
src,
|
|
42074
42083
|
className: cn("h-full w-full object-cover", videoClassName),
|
|
@@ -52527,14 +52536,14 @@ function HeroVideoBackgroundDark({
|
|
|
52527
52536
|
if (videoSlot) return videoSlot;
|
|
52528
52537
|
return /* @__PURE__ */ jsxs(Fragment$1, { children: [
|
|
52529
52538
|
/* @__PURE__ */ jsx(
|
|
52530
|
-
|
|
52539
|
+
Video,
|
|
52531
52540
|
{
|
|
52541
|
+
src: videoSrc,
|
|
52532
52542
|
loop: true,
|
|
52533
52543
|
playsInline: true,
|
|
52534
|
-
src: videoSrc,
|
|
52535
|
-
className: "absolute top-0 left-0 size-full object-cover",
|
|
52536
52544
|
autoPlay: true,
|
|
52537
|
-
muted: true
|
|
52545
|
+
muted: true,
|
|
52546
|
+
className: "absolute top-0 left-0 size-full object-cover"
|
|
52538
52547
|
}
|
|
52539
52548
|
),
|
|
52540
52549
|
/* @__PURE__ */ jsx(GradientOverlay, { intensity: videoOverlayIntensity })
|
|
@@ -54397,16 +54406,16 @@ function HeroPresentationPlatformVideo({
|
|
|
54397
54406
|
videoClassName
|
|
54398
54407
|
),
|
|
54399
54408
|
children: /* @__PURE__ */ jsx(
|
|
54400
|
-
|
|
54409
|
+
Video,
|
|
54401
54410
|
{
|
|
54411
|
+
src: videoSrc,
|
|
54402
54412
|
autoPlay: true,
|
|
54403
54413
|
loop: true,
|
|
54404
54414
|
muted: true,
|
|
54405
54415
|
playsInline: true,
|
|
54406
54416
|
"data-wf-ignore": "true",
|
|
54407
54417
|
"data-object-fit": "cover",
|
|
54408
|
-
className: "h-full w-full rounded-tl-xl object-cover"
|
|
54409
|
-
children: /* @__PURE__ */ jsx("source", { src: videoSrc, type: "video/mp4" })
|
|
54418
|
+
className: "h-full w-full rounded-tl-xl object-cover"
|
|
54410
54419
|
}
|
|
54411
54420
|
)
|
|
54412
54421
|
}
|
|
@@ -55163,7 +55172,15 @@ function HeroSoftwareGrowthVideoDialog({
|
|
|
55163
55172
|
"div",
|
|
55164
55173
|
{
|
|
55165
55174
|
className: videoAspectRatio === "vertical" ? "aspect-9/16" : "aspect-video",
|
|
55166
|
-
children: /* @__PURE__ */ jsx(
|
|
55175
|
+
children: /* @__PURE__ */ jsx(
|
|
55176
|
+
Video,
|
|
55177
|
+
{
|
|
55178
|
+
src: videoDialog?.videoUrl,
|
|
55179
|
+
controls: true,
|
|
55180
|
+
autoPlay: true,
|
|
55181
|
+
className: "h-full w-full rounded-lg"
|
|
55182
|
+
}
|
|
55183
|
+
)
|
|
55167
55184
|
}
|
|
55168
55185
|
)
|
|
55169
55186
|
]
|
|
@@ -55335,7 +55352,15 @@ function HeroConversionVideoPlay({
|
|
|
55335
55352
|
),
|
|
55336
55353
|
/* @__PURE__ */ jsx(Dialog, { open: isVideoOpen, onOpenChange: setIsVideoOpen, children: /* @__PURE__ */ jsxs(DialogContent, { className: "sm:max-w-200", children: [
|
|
55337
55354
|
/* @__PURE__ */ jsx(DialogHeader, { children: /* @__PURE__ */ jsx(DialogTitle, { children: videoDialogTitle }) }),
|
|
55338
|
-
/* @__PURE__ */ jsx("div", { className: "aspect-video", children: /* @__PURE__ */ jsx(
|
|
55355
|
+
/* @__PURE__ */ jsx("div", { className: "aspect-video", children: /* @__PURE__ */ jsx(
|
|
55356
|
+
Video,
|
|
55357
|
+
{
|
|
55358
|
+
src: videoUrl,
|
|
55359
|
+
controls: true,
|
|
55360
|
+
autoPlay: true,
|
|
55361
|
+
className: "h-full w-full rounded-lg"
|
|
55362
|
+
}
|
|
55363
|
+
) })
|
|
55339
55364
|
] }) })
|
|
55340
55365
|
] });
|
|
55341
55366
|
}
|
|
@@ -55512,7 +55537,7 @@ function HeroVideoOverlayStars({
|
|
|
55512
55537
|
const renderVideo = useMemo(() => {
|
|
55513
55538
|
if (videoSlot) return videoSlot;
|
|
55514
55539
|
return /* @__PURE__ */ jsx("div", { className: "absolute inset-0 size-full before:absolute brightness-50", children: /* @__PURE__ */ jsx(
|
|
55515
|
-
|
|
55540
|
+
Video,
|
|
55516
55541
|
{
|
|
55517
55542
|
src: videoSrc,
|
|
55518
55543
|
muted: true,
|
|
@@ -55644,7 +55669,7 @@ function HeroProductivityLauncherVideo({
|
|
|
55644
55669
|
const renderVideo = useMemo(() => {
|
|
55645
55670
|
if (videoSlot) return videoSlot;
|
|
55646
55671
|
return /* @__PURE__ */ jsx("div", { className: "absolute top-0 z-10 h-full w-full inset-0", children: /* @__PURE__ */ jsx(
|
|
55647
|
-
|
|
55672
|
+
Video,
|
|
55648
55673
|
{
|
|
55649
55674
|
src: videoSrc,
|
|
55650
55675
|
loop: true,
|
|
@@ -57066,7 +57091,15 @@ function HeroVideoDialogGradient({
|
|
|
57066
57091
|
"div",
|
|
57067
57092
|
{
|
|
57068
57093
|
className: videoAspectRatio === "vertical" ? "aspect-9/16" : "aspect-video",
|
|
57069
|
-
children: /* @__PURE__ */ jsx(
|
|
57094
|
+
children: /* @__PURE__ */ jsx(
|
|
57095
|
+
Video,
|
|
57096
|
+
{
|
|
57097
|
+
src: videoDialog?.videoUrl,
|
|
57098
|
+
controls: true,
|
|
57099
|
+
autoPlay: true,
|
|
57100
|
+
className: "h-full w-full rounded-lg"
|
|
57101
|
+
}
|
|
57102
|
+
)
|
|
57070
57103
|
}
|
|
57071
57104
|
)
|
|
57072
57105
|
]
|
|
@@ -58104,7 +58137,15 @@ function HeroMentorshipVideoSplit({
|
|
|
58104
58137
|
"div",
|
|
58105
58138
|
{
|
|
58106
58139
|
className: videoAspectRatio === "vertical" ? "aspect-9/16" : "aspect-video",
|
|
58107
|
-
children: /* @__PURE__ */ jsx(
|
|
58140
|
+
children: /* @__PURE__ */ jsx(
|
|
58141
|
+
Video,
|
|
58142
|
+
{
|
|
58143
|
+
src: videoUrl,
|
|
58144
|
+
controls: true,
|
|
58145
|
+
autoPlay: true,
|
|
58146
|
+
className: "h-full w-full rounded-lg"
|
|
58147
|
+
}
|
|
58148
|
+
)
|
|
58108
58149
|
}
|
|
58109
58150
|
)
|
|
58110
58151
|
]
|
|
@@ -58988,7 +59029,15 @@ function HeroCreativeStudioStacked({
|
|
|
58988
59029
|
"div",
|
|
58989
59030
|
{
|
|
58990
59031
|
className: videoAspectRatio === "vertical" ? "aspect-9/16" : "aspect-video",
|
|
58991
|
-
children: /* @__PURE__ */ jsx(
|
|
59032
|
+
children: /* @__PURE__ */ jsx(
|
|
59033
|
+
Video,
|
|
59034
|
+
{
|
|
59035
|
+
src: videoDialog?.videoUrl,
|
|
59036
|
+
controls: true,
|
|
59037
|
+
autoPlay: true,
|
|
59038
|
+
className: "h-full w-full rounded-lg"
|
|
59039
|
+
}
|
|
59040
|
+
)
|
|
58992
59041
|
}
|
|
58993
59042
|
)
|
|
58994
59043
|
]
|
|
@@ -59057,7 +59106,7 @@ function HeroDigitalAgencyFullscreen({
|
|
|
59057
59106
|
src: backgroundImage,
|
|
59058
59107
|
alt: "Hero Background Image",
|
|
59059
59108
|
className: "h-full w-full brightness-50 object-cover object-center",
|
|
59060
|
-
|
|
59109
|
+
loading: "eager",
|
|
59061
59110
|
optixFlowConfig
|
|
59062
59111
|
}
|
|
59063
59112
|
)
|
|
@@ -82298,19 +82347,16 @@ var VideoSection = ({
|
|
|
82298
82347
|
optixFlowConfig
|
|
82299
82348
|
}
|
|
82300
82349
|
),
|
|
82301
|
-
/* @__PURE__ */
|
|
82302
|
-
|
|
82350
|
+
/* @__PURE__ */ jsx(
|
|
82351
|
+
Video,
|
|
82303
82352
|
{
|
|
82304
82353
|
ref: videoRef,
|
|
82354
|
+
src: videoSrc,
|
|
82305
82355
|
className: `absolute inset-0 h-full w-full object-cover transition-opacity duration-700 ease-in-out ${isHovered ? "opacity-100" : "opacity-0"}`,
|
|
82306
82356
|
muted: true,
|
|
82307
82357
|
loop: true,
|
|
82308
82358
|
playsInline: true,
|
|
82309
|
-
preload: "metadata"
|
|
82310
|
-
children: [
|
|
82311
|
-
/* @__PURE__ */ jsx("source", { src: videoSrc, type: "video/mp4" }),
|
|
82312
|
-
"Your browser does not support the video tag."
|
|
82313
|
-
]
|
|
82359
|
+
preload: "metadata"
|
|
82314
82360
|
}
|
|
82315
82361
|
),
|
|
82316
82362
|
/* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-foreground/30 transition-all duration-500 group-hover:bg-foreground/20" }),
|
|
@@ -82466,19 +82512,16 @@ var VideoSection2 = ({
|
|
|
82466
82512
|
optixFlowConfig
|
|
82467
82513
|
}
|
|
82468
82514
|
),
|
|
82469
|
-
/* @__PURE__ */
|
|
82470
|
-
|
|
82515
|
+
/* @__PURE__ */ jsx(
|
|
82516
|
+
Video,
|
|
82471
82517
|
{
|
|
82472
82518
|
ref: videoRef,
|
|
82519
|
+
src: videoSrc,
|
|
82473
82520
|
className: `absolute inset-0 h-full w-full object-cover transition-opacity duration-700 ease-in-out ${isHovered ? "opacity-100" : "opacity-0"}`,
|
|
82474
82521
|
muted: true,
|
|
82475
82522
|
loop: true,
|
|
82476
82523
|
playsInline: true,
|
|
82477
|
-
preload: "metadata"
|
|
82478
|
-
children: [
|
|
82479
|
-
/* @__PURE__ */ jsx("source", { src: videoSrc, type: "video/mp4" }),
|
|
82480
|
-
"Your browser does not support the video tag."
|
|
82481
|
-
]
|
|
82524
|
+
preload: "metadata"
|
|
82482
82525
|
}
|
|
82483
82526
|
),
|
|
82484
82527
|
/* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-foreground/30 transition-all duration-500 group-hover:bg-foreground/20" }),
|
|
@@ -82615,19 +82658,16 @@ var VideoSection3 = ({
|
|
|
82615
82658
|
optixFlowConfig
|
|
82616
82659
|
}
|
|
82617
82660
|
),
|
|
82618
|
-
/* @__PURE__ */
|
|
82619
|
-
|
|
82661
|
+
/* @__PURE__ */ jsx(
|
|
82662
|
+
Video,
|
|
82620
82663
|
{
|
|
82621
82664
|
ref: videoRef,
|
|
82665
|
+
src: videoSrc,
|
|
82622
82666
|
className: `absolute inset-0 h-full w-full object-cover transition-opacity duration-700 ease-in-out ${isHovered ? "opacity-100" : "opacity-0"}`,
|
|
82623
82667
|
muted: true,
|
|
82624
82668
|
loop: true,
|
|
82625
82669
|
playsInline: true,
|
|
82626
|
-
preload: "metadata"
|
|
82627
|
-
children: [
|
|
82628
|
-
/* @__PURE__ */ jsx("source", { src: videoSrc, type: "video/mp4" }),
|
|
82629
|
-
"Your browser does not support the video tag."
|
|
82630
|
-
]
|
|
82670
|
+
preload: "metadata"
|
|
82631
82671
|
}
|
|
82632
82672
|
),
|
|
82633
82673
|
/* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-foreground/30 transition-all duration-500 group-hover:bg-foreground/20" }),
|
|
@@ -82774,19 +82814,16 @@ var VideoSection4 = ({
|
|
|
82774
82814
|
optixFlowConfig
|
|
82775
82815
|
}
|
|
82776
82816
|
),
|
|
82777
|
-
/* @__PURE__ */
|
|
82778
|
-
|
|
82817
|
+
/* @__PURE__ */ jsx(
|
|
82818
|
+
Video,
|
|
82779
82819
|
{
|
|
82780
82820
|
ref: videoRef,
|
|
82821
|
+
src: videoSrc,
|
|
82781
82822
|
className: `absolute inset-0 h-full w-full object-cover transition-opacity duration-700 ease-in-out ${isHovered ? "opacity-100" : "opacity-0"}`,
|
|
82782
82823
|
muted: true,
|
|
82783
82824
|
loop: true,
|
|
82784
82825
|
playsInline: true,
|
|
82785
|
-
preload: "metadata"
|
|
82786
|
-
children: [
|
|
82787
|
-
/* @__PURE__ */ jsx("source", { src: videoSrc, type: "video/mp4" }),
|
|
82788
|
-
"Your browser does not support the video tag."
|
|
82789
|
-
]
|
|
82826
|
+
preload: "metadata"
|
|
82790
82827
|
}
|
|
82791
82828
|
),
|
|
82792
82829
|
/* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-foreground/30 transition-all duration-500 group-hover:bg-foreground/20" }),
|
|
@@ -82918,19 +82955,16 @@ var VideoSection5 = ({
|
|
|
82918
82955
|
optixFlowConfig
|
|
82919
82956
|
}
|
|
82920
82957
|
),
|
|
82921
|
-
/* @__PURE__ */
|
|
82922
|
-
|
|
82958
|
+
/* @__PURE__ */ jsx(
|
|
82959
|
+
Video,
|
|
82923
82960
|
{
|
|
82924
82961
|
ref: videoRef,
|
|
82962
|
+
src: videoSrc,
|
|
82925
82963
|
className: `absolute inset-0 h-full w-full object-cover transition-opacity duration-700 ease-in-out ${isHovered ? "opacity-100" : "opacity-0"}`,
|
|
82926
82964
|
muted: true,
|
|
82927
82965
|
loop: true,
|
|
82928
82966
|
playsInline: true,
|
|
82929
|
-
preload: "metadata"
|
|
82930
|
-
children: [
|
|
82931
|
-
/* @__PURE__ */ jsx("source", { src: videoSrc, type: "video/mp4" }),
|
|
82932
|
-
"Your browser does not support the video tag."
|
|
82933
|
-
]
|
|
82967
|
+
preload: "metadata"
|
|
82934
82968
|
}
|
|
82935
82969
|
),
|
|
82936
82970
|
/* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-foreground/30 transition-all duration-500 group-hover:bg-foreground/20" }),
|
|
@@ -83062,19 +83096,16 @@ var VideoSection6 = ({
|
|
|
83062
83096
|
optixFlowConfig
|
|
83063
83097
|
}
|
|
83064
83098
|
),
|
|
83065
|
-
/* @__PURE__ */
|
|
83066
|
-
|
|
83099
|
+
/* @__PURE__ */ jsx(
|
|
83100
|
+
Video,
|
|
83067
83101
|
{
|
|
83068
83102
|
ref: videoRef,
|
|
83103
|
+
src: videoSrc,
|
|
83069
83104
|
className: `absolute inset-0 h-full w-full object-cover transition-opacity duration-700 ease-in-out ${isHovered ? "opacity-100" : "opacity-0"}`,
|
|
83070
83105
|
muted: true,
|
|
83071
83106
|
loop: true,
|
|
83072
83107
|
playsInline: true,
|
|
83073
|
-
preload: "metadata"
|
|
83074
|
-
children: [
|
|
83075
|
-
/* @__PURE__ */ jsx("source", { src: videoSrc, type: "video/mp4" }),
|
|
83076
|
-
"Your browser does not support the video tag."
|
|
83077
|
-
]
|
|
83108
|
+
preload: "metadata"
|
|
83078
83109
|
}
|
|
83079
83110
|
),
|
|
83080
83111
|
/* @__PURE__ */ jsx("div", { className: "absolute inset-0 bg-foreground/30 transition-all duration-500 group-hover:bg-foreground/20" }),
|
|
@@ -87951,7 +87982,7 @@ function ProjectDetailArchitectureCarousel(props) {
|
|
|
87951
87982
|
transition: { duration: 0.6, delay: 0.2 },
|
|
87952
87983
|
className: "mb-16",
|
|
87953
87984
|
children: /* @__PURE__ */ jsx("div", { className: "relative aspect-video overflow-hidden rounded-2xl", children: /* @__PURE__ */ jsx(
|
|
87954
|
-
|
|
87985
|
+
Video,
|
|
87955
87986
|
{
|
|
87956
87987
|
src: videoUrl,
|
|
87957
87988
|
poster: videoPoster,
|
|
@@ -94506,7 +94537,7 @@ function ServicesListVideoShowcase({
|
|
|
94506
94537
|
}
|
|
94507
94538
|
),
|
|
94508
94539
|
service.videoUrl && /* @__PURE__ */ jsx(
|
|
94509
|
-
|
|
94540
|
+
Video,
|
|
94510
94541
|
{
|
|
94511
94542
|
ref: (el) => {
|
|
94512
94543
|
videoRefs.current[index] = el;
|
|
@@ -101417,7 +101448,7 @@ function LinkTreeBlock({
|
|
|
101417
101448
|
"aria-label": `View ${item.alt || item.type} in lightbox`,
|
|
101418
101449
|
children: [
|
|
101419
101450
|
item.type === "video" ? /* @__PURE__ */ jsx(
|
|
101420
|
-
|
|
101451
|
+
Video,
|
|
101421
101452
|
{
|
|
101422
101453
|
src: item.src,
|
|
101423
101454
|
poster: item.poster,
|
|
@@ -5,6 +5,7 @@ var React4 = require('react');
|
|
|
5
5
|
var clsx = require('clsx');
|
|
6
6
|
var tailwindMerge = require('tailwind-merge');
|
|
7
7
|
var img = require('@page-speed/img');
|
|
8
|
+
var video = require('@page-speed/video');
|
|
8
9
|
var icon = require('@page-speed/icon');
|
|
9
10
|
var jsxRuntime = require('react/jsx-runtime');
|
|
10
11
|
var pressable = require('@page-speed/pressable');
|
|
@@ -490,7 +491,7 @@ function ServicesListVideoShowcase({
|
|
|
490
491
|
}
|
|
491
492
|
),
|
|
492
493
|
service.videoUrl && /* @__PURE__ */ jsxRuntime.jsx(
|
|
493
|
-
|
|
494
|
+
video.Video,
|
|
494
495
|
{
|
|
495
496
|
ref: (el) => {
|
|
496
497
|
videoRefs.current[index] = el;
|
|
@@ -4,6 +4,7 @@ import React4__default from 'react';
|
|
|
4
4
|
import { clsx } from 'clsx';
|
|
5
5
|
import { twMerge } from 'tailwind-merge';
|
|
6
6
|
import { Img } from '@page-speed/img';
|
|
7
|
+
import { Video } from '@page-speed/video';
|
|
7
8
|
import { Icon } from '@page-speed/icon';
|
|
8
9
|
import { jsx, jsxs } from 'react/jsx-runtime';
|
|
9
10
|
import { Pressable } from '@page-speed/pressable';
|
|
@@ -469,7 +470,7 @@ function ServicesListVideoShowcase({
|
|
|
469
470
|
}
|
|
470
471
|
),
|
|
471
472
|
service.videoUrl && /* @__PURE__ */ jsx(
|
|
472
|
-
|
|
473
|
+
Video,
|
|
473
474
|
{
|
|
474
475
|
ref: (el) => {
|
|
475
476
|
videoRefs.current[index] = el;
|
|
@@ -77,6 +77,6 @@ interface SocialLinkIconProps extends Omit<PressableProps, "children">, SocialLi
|
|
|
77
77
|
* />
|
|
78
78
|
* ```
|
|
79
79
|
*/
|
|
80
|
-
declare const SocialLinkIcon: React.ForwardRefExoticComponent<SocialLinkIconProps & React.RefAttributes<
|
|
80
|
+
declare const SocialLinkIcon: React.ForwardRefExoticComponent<SocialLinkIconProps & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement | HTMLSpanElement>>;
|
|
81
81
|
|
|
82
82
|
export { SocialLinkIcon, type SocialLinkIconDynamicIconProps, type SocialLinkIconProps };
|
|
@@ -77,6 +77,6 @@ interface SocialLinkIconProps extends Omit<PressableProps, "children">, SocialLi
|
|
|
77
77
|
* />
|
|
78
78
|
* ```
|
|
79
79
|
*/
|
|
80
|
-
declare const SocialLinkIcon: React.ForwardRefExoticComponent<SocialLinkIconProps & React.RefAttributes<
|
|
80
|
+
declare const SocialLinkIcon: React.ForwardRefExoticComponent<SocialLinkIconProps & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement | HTMLSpanElement>>;
|
|
81
81
|
|
|
82
82
|
export { SocialLinkIcon, type SocialLinkIconDynamicIconProps, type SocialLinkIconProps };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@opensite/ui",
|
|
3
|
-
"version": "3.0
|
|
3
|
+
"version": "3.1.0",
|
|
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",
|
|
@@ -3421,14 +3421,16 @@
|
|
|
3421
3421
|
"@opensite/hooks": "2.1.0",
|
|
3422
3422
|
"@page-speed/forms": "0.8.2",
|
|
3423
3423
|
"@page-speed/icon": "0.1.2",
|
|
3424
|
-
"@page-speed/img": "0.4.
|
|
3424
|
+
"@page-speed/img": "0.4.9",
|
|
3425
3425
|
"@page-speed/lightbox": "0.2.1",
|
|
3426
3426
|
"@page-speed/maps": "0.2.4",
|
|
3427
3427
|
"@page-speed/markdown-to-jsx": "0.0.5",
|
|
3428
3428
|
"@page-speed/pdf-viewer": "0.1.9",
|
|
3429
|
-
"@page-speed/pressable": "0.0.
|
|
3429
|
+
"@page-speed/pressable": "0.0.6",
|
|
3430
3430
|
"@page-speed/router": "1.0.2",
|
|
3431
|
+
"@page-speed/skins": "0.1.1",
|
|
3431
3432
|
"@page-speed/social-share": "0.1.7",
|
|
3433
|
+
"@page-speed/video": "0.0.3",
|
|
3432
3434
|
"@radix-ui/react-accordion": "^1.2.12",
|
|
3433
3435
|
"@radix-ui/react-aspect-ratio": "^1.1.8",
|
|
3434
3436
|
"@radix-ui/react-avatar": "^1.1.11",
|