@harshit-wander/component-lib 1.1.0 → 1.1.2
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 +131 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +10 -1
- package/dist/index.d.ts +10 -1
- package/dist/index.js +131 -7
- package/dist/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -638,6 +638,15 @@ interface TripsCategorySectionProps extends HTMLAttributes<HTMLElement> {
|
|
|
638
638
|
|
|
639
639
|
declare const TripsCategorySection: react.ForwardRefExoticComponent<TripsCategorySectionProps & react.RefAttributes<HTMLElement>>;
|
|
640
640
|
|
|
641
|
+
interface UctMobileBannerProps extends Omit<HTMLAttributes<HTMLAnchorElement>, 'href'> {
|
|
642
|
+
href: string;
|
|
643
|
+
videoUrl?: string | undefined;
|
|
644
|
+
posterUrl?: string | undefined;
|
|
645
|
+
LinkComponent?: ElementType | undefined;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
declare const UctMobileBanner: react.ForwardRefExoticComponent<UctMobileBannerProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
649
|
+
|
|
641
650
|
interface ValuesSectionProps extends HTMLAttributes<HTMLElement> {
|
|
642
651
|
heading: string;
|
|
643
652
|
subheading?: string | undefined;
|
|
@@ -723,4 +732,4 @@ declare const theme: {
|
|
|
723
732
|
};
|
|
724
733
|
type Theme = typeof theme;
|
|
725
734
|
|
|
726
|
-
export { BottomNav, type BottomNavItem, type BottomNavProps, type Brand, BrandLogo, type BrandLogoProps, BrandsSection, type BrandsSectionProps, CategoryNavbar, type CategoryNavbarProps, ContactForm, type ContactFormCountryCode, type ContactFormDestination, type ContactFormProps, type ContactFormValues, ContactSection, type ContactSectionProps, CtaBanner, type CtaBannerCta, type CtaBannerProps, DestinationCard, type DestinationCardProps, type DestinationItem, DestinationsSection, type DestinationsSectionProps, EventBanner, type EventBannerProps, EventCarousel, type EventCarouselImageItem, type EventCarouselProps, type EventCarouselVideoItem, EventVideoBanner, type EventVideoBannerProps, ExpandableValueCard, type ExpandableValueCardProps, ExploreCard, type ExploreCardProps, type ExploreItem, ExploreSection, type ExploreSectionProps, FaqExpandable, type FaqExpandableProps, type FaqItem, FaqSection, type FaqSectionProps, FeatureCard, type FeatureCardProps, Footer, type FooterColumn, type FooterContact, type FooterLink, type FooterProps, type FooterSocialLink, GalleryPhoto, type GalleryPhotoData, type GalleryPhotoProps, GallerySection, type GallerySectionProps, Hero, type HeroProps, type HeroReview, type HeroVariant, HomeHero, type HomeHeroProps, type HomeHeroReview, type HomeHeroTypewriterOptions, LocationCard, type LocationCardProps, type LocationItem, type MonthTab, MonthTabs, type MonthTabsProps, type NavCategory, type NavCategoryItem, type NavLink, Navbar, type NavbarProps, OfficesSection, type OfficesSectionProps, PackageCard, type PackageCardProps, type PackageItem, PackagesCarousel, type PackagesCarouselProps, SectionHeader, type SectionHeaderAlign, type SectionHeaderProps, SiteHeader, type SiteHeaderProps, TeamInfoCard, type TeamInfoCardProps, type TeamMember, TeamSection, type TeamSectionProps, type TeamSocialLink, TestimonialCard, type TestimonialCardProps, type TestimonialItem, TestimonialsCarousel, type TestimonialsCarouselProps, TextSection, type TextSectionAlign, type TextSectionProps, type Theme, TripCategoryCard, type TripCategoryCardProps, type TripsCategoryItem, TripsCategorySection, type TripsCategorySectionCta, type TripsCategorySectionProps, type ValueItem, ValuesSection, type ValuesSectionProps, type Warrior, WarriorCard, type WarriorCardProps, WarriorsSection, type WarriorsSectionProps, type WhyChooseFeature, WhyChooseSection, type WhyChooseSectionProps, theme };
|
|
735
|
+
export { BottomNav, type BottomNavItem, type BottomNavProps, type Brand, BrandLogo, type BrandLogoProps, BrandsSection, type BrandsSectionProps, CategoryNavbar, type CategoryNavbarProps, ContactForm, type ContactFormCountryCode, type ContactFormDestination, type ContactFormProps, type ContactFormValues, ContactSection, type ContactSectionProps, CtaBanner, type CtaBannerCta, type CtaBannerProps, DestinationCard, type DestinationCardProps, type DestinationItem, DestinationsSection, type DestinationsSectionProps, EventBanner, type EventBannerProps, EventCarousel, type EventCarouselImageItem, type EventCarouselProps, type EventCarouselVideoItem, EventVideoBanner, type EventVideoBannerProps, ExpandableValueCard, type ExpandableValueCardProps, ExploreCard, type ExploreCardProps, type ExploreItem, ExploreSection, type ExploreSectionProps, FaqExpandable, type FaqExpandableProps, type FaqItem, FaqSection, type FaqSectionProps, FeatureCard, type FeatureCardProps, Footer, type FooterColumn, type FooterContact, type FooterLink, type FooterProps, type FooterSocialLink, GalleryPhoto, type GalleryPhotoData, type GalleryPhotoProps, GallerySection, type GallerySectionProps, Hero, type HeroProps, type HeroReview, type HeroVariant, HomeHero, type HomeHeroProps, type HomeHeroReview, type HomeHeroTypewriterOptions, LocationCard, type LocationCardProps, type LocationItem, type MonthTab, MonthTabs, type MonthTabsProps, type NavCategory, type NavCategoryItem, type NavLink, Navbar, type NavbarProps, OfficesSection, type OfficesSectionProps, PackageCard, type PackageCardProps, type PackageItem, PackagesCarousel, type PackagesCarouselProps, SectionHeader, type SectionHeaderAlign, type SectionHeaderProps, SiteHeader, type SiteHeaderProps, TeamInfoCard, type TeamInfoCardProps, type TeamMember, TeamSection, type TeamSectionProps, type TeamSocialLink, TestimonialCard, type TestimonialCardProps, type TestimonialItem, TestimonialsCarousel, type TestimonialsCarouselProps, TextSection, type TextSectionAlign, type TextSectionProps, type Theme, TripCategoryCard, type TripCategoryCardProps, type TripsCategoryItem, TripsCategorySection, type TripsCategorySectionCta, type TripsCategorySectionProps, UctMobileBanner, type UctMobileBannerProps, type ValueItem, ValuesSection, type ValuesSectionProps, type Warrior, WarriorCard, type WarriorCardProps, WarriorsSection, type WarriorsSectionProps, type WhyChooseFeature, WhyChooseSection, type WhyChooseSectionProps, theme };
|
package/dist/index.d.ts
CHANGED
|
@@ -638,6 +638,15 @@ interface TripsCategorySectionProps extends HTMLAttributes<HTMLElement> {
|
|
|
638
638
|
|
|
639
639
|
declare const TripsCategorySection: react.ForwardRefExoticComponent<TripsCategorySectionProps & react.RefAttributes<HTMLElement>>;
|
|
640
640
|
|
|
641
|
+
interface UctMobileBannerProps extends Omit<HTMLAttributes<HTMLAnchorElement>, 'href'> {
|
|
642
|
+
href: string;
|
|
643
|
+
videoUrl?: string | undefined;
|
|
644
|
+
posterUrl?: string | undefined;
|
|
645
|
+
LinkComponent?: ElementType | undefined;
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
declare const UctMobileBanner: react.ForwardRefExoticComponent<UctMobileBannerProps & react.RefAttributes<HTMLAnchorElement>>;
|
|
649
|
+
|
|
641
650
|
interface ValuesSectionProps extends HTMLAttributes<HTMLElement> {
|
|
642
651
|
heading: string;
|
|
643
652
|
subheading?: string | undefined;
|
|
@@ -723,4 +732,4 @@ declare const theme: {
|
|
|
723
732
|
};
|
|
724
733
|
type Theme = typeof theme;
|
|
725
734
|
|
|
726
|
-
export { BottomNav, type BottomNavItem, type BottomNavProps, type Brand, BrandLogo, type BrandLogoProps, BrandsSection, type BrandsSectionProps, CategoryNavbar, type CategoryNavbarProps, ContactForm, type ContactFormCountryCode, type ContactFormDestination, type ContactFormProps, type ContactFormValues, ContactSection, type ContactSectionProps, CtaBanner, type CtaBannerCta, type CtaBannerProps, DestinationCard, type DestinationCardProps, type DestinationItem, DestinationsSection, type DestinationsSectionProps, EventBanner, type EventBannerProps, EventCarousel, type EventCarouselImageItem, type EventCarouselProps, type EventCarouselVideoItem, EventVideoBanner, type EventVideoBannerProps, ExpandableValueCard, type ExpandableValueCardProps, ExploreCard, type ExploreCardProps, type ExploreItem, ExploreSection, type ExploreSectionProps, FaqExpandable, type FaqExpandableProps, type FaqItem, FaqSection, type FaqSectionProps, FeatureCard, type FeatureCardProps, Footer, type FooterColumn, type FooterContact, type FooterLink, type FooterProps, type FooterSocialLink, GalleryPhoto, type GalleryPhotoData, type GalleryPhotoProps, GallerySection, type GallerySectionProps, Hero, type HeroProps, type HeroReview, type HeroVariant, HomeHero, type HomeHeroProps, type HomeHeroReview, type HomeHeroTypewriterOptions, LocationCard, type LocationCardProps, type LocationItem, type MonthTab, MonthTabs, type MonthTabsProps, type NavCategory, type NavCategoryItem, type NavLink, Navbar, type NavbarProps, OfficesSection, type OfficesSectionProps, PackageCard, type PackageCardProps, type PackageItem, PackagesCarousel, type PackagesCarouselProps, SectionHeader, type SectionHeaderAlign, type SectionHeaderProps, SiteHeader, type SiteHeaderProps, TeamInfoCard, type TeamInfoCardProps, type TeamMember, TeamSection, type TeamSectionProps, type TeamSocialLink, TestimonialCard, type TestimonialCardProps, type TestimonialItem, TestimonialsCarousel, type TestimonialsCarouselProps, TextSection, type TextSectionAlign, type TextSectionProps, type Theme, TripCategoryCard, type TripCategoryCardProps, type TripsCategoryItem, TripsCategorySection, type TripsCategorySectionCta, type TripsCategorySectionProps, type ValueItem, ValuesSection, type ValuesSectionProps, type Warrior, WarriorCard, type WarriorCardProps, WarriorsSection, type WarriorsSectionProps, type WhyChooseFeature, WhyChooseSection, type WhyChooseSectionProps, theme };
|
|
735
|
+
export { BottomNav, type BottomNavItem, type BottomNavProps, type Brand, BrandLogo, type BrandLogoProps, BrandsSection, type BrandsSectionProps, CategoryNavbar, type CategoryNavbarProps, ContactForm, type ContactFormCountryCode, type ContactFormDestination, type ContactFormProps, type ContactFormValues, ContactSection, type ContactSectionProps, CtaBanner, type CtaBannerCta, type CtaBannerProps, DestinationCard, type DestinationCardProps, type DestinationItem, DestinationsSection, type DestinationsSectionProps, EventBanner, type EventBannerProps, EventCarousel, type EventCarouselImageItem, type EventCarouselProps, type EventCarouselVideoItem, EventVideoBanner, type EventVideoBannerProps, ExpandableValueCard, type ExpandableValueCardProps, ExploreCard, type ExploreCardProps, type ExploreItem, ExploreSection, type ExploreSectionProps, FaqExpandable, type FaqExpandableProps, type FaqItem, FaqSection, type FaqSectionProps, FeatureCard, type FeatureCardProps, Footer, type FooterColumn, type FooterContact, type FooterLink, type FooterProps, type FooterSocialLink, GalleryPhoto, type GalleryPhotoData, type GalleryPhotoProps, GallerySection, type GallerySectionProps, Hero, type HeroProps, type HeroReview, type HeroVariant, HomeHero, type HomeHeroProps, type HomeHeroReview, type HomeHeroTypewriterOptions, LocationCard, type LocationCardProps, type LocationItem, type MonthTab, MonthTabs, type MonthTabsProps, type NavCategory, type NavCategoryItem, type NavLink, Navbar, type NavbarProps, OfficesSection, type OfficesSectionProps, PackageCard, type PackageCardProps, type PackageItem, PackagesCarousel, type PackagesCarouselProps, SectionHeader, type SectionHeaderAlign, type SectionHeaderProps, SiteHeader, type SiteHeaderProps, TeamInfoCard, type TeamInfoCardProps, type TeamMember, TeamSection, type TeamSectionProps, type TeamSocialLink, TestimonialCard, type TestimonialCardProps, type TestimonialItem, TestimonialsCarousel, type TestimonialsCarouselProps, TextSection, type TextSectionAlign, type TextSectionProps, type Theme, TripCategoryCard, type TripCategoryCardProps, type TripsCategoryItem, TripsCategorySection, type TripsCategorySectionCta, type TripsCategorySectionProps, UctMobileBanner, type UctMobileBannerProps, type ValueItem, ValuesSection, type ValuesSectionProps, type Warrior, WarriorCard, type WarriorCardProps, WarriorsSection, type WarriorsSectionProps, type WhyChooseFeature, WhyChooseSection, type WhyChooseSectionProps, theme };
|
package/dist/index.js
CHANGED
|
@@ -238,7 +238,7 @@ function FieldShell({
|
|
|
238
238
|
children
|
|
239
239
|
] }) });
|
|
240
240
|
}
|
|
241
|
-
var cardClass = "shrink-0 flex flex-col items-center gap-sm w-[
|
|
241
|
+
var cardClass = "shrink-0 flex flex-col items-center gap-sm w-[66px] no-underline text-inherit focus-visible:outline-2 focus-visible:outline-accent focus-visible:outline-offset-2 focus-visible:rounded-md";
|
|
242
242
|
var DestinationCard = forwardRef(
|
|
243
243
|
({ image, alt, label, href, className, ...rest }, ref) => {
|
|
244
244
|
const content = /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
@@ -247,7 +247,7 @@ var DestinationCard = forwardRef(
|
|
|
247
247
|
{
|
|
248
248
|
src: image,
|
|
249
249
|
alt,
|
|
250
|
-
className: "w-[
|
|
250
|
+
className: "w-[66px] h-[66px] rounded-full object-cover bg-border"
|
|
251
251
|
}
|
|
252
252
|
),
|
|
253
253
|
/* @__PURE__ */ jsx("span", { className: "text-sm font-medium leading-5 text-secondary text-center whitespace-nowrap", children: label })
|
|
@@ -680,7 +680,7 @@ var PackageCard = forwardRef(
|
|
|
680
680
|
),
|
|
681
681
|
/* @__PURE__ */ jsxs("div", { className: "relative inline-flex items-center self-start gap-xs py-[4px] px-md bg-accent border border-surface rounded-full", children: [
|
|
682
682
|
originalPrice ? /* @__PURE__ */ jsx("span", { className: "relative text-2xs font-normal leading-18 text-strike after:content-[''] after:absolute after:left-[-2px] after:right-[-2px] after:top-1/2 after:h-px after:bg-strike after:rotate-[-8deg]", children: originalPrice }) : null,
|
|
683
|
-
/* @__PURE__ */ jsx("span", { className: "text-
|
|
683
|
+
/* @__PURE__ */ jsx("span", { className: "text-sm font-semibold leading-4 text-text-deep", children: currentPrice }),
|
|
684
684
|
/* @__PURE__ */ jsx("span", { className: "text-xs font-normal leading-4 text-text-deep", children: priceSuffix })
|
|
685
685
|
] }),
|
|
686
686
|
/* @__PURE__ */ jsxs("div", { className: "relative flex flex-col gap-md text-on-image", children: [
|
|
@@ -1315,7 +1315,7 @@ var CategoryNavbar = forwardRef(
|
|
|
1315
1315
|
{
|
|
1316
1316
|
href: logoHref,
|
|
1317
1317
|
"aria-label": "Home",
|
|
1318
|
-
className: "inline-flex items-center no-underline text-inherit h-
|
|
1318
|
+
className: "inline-flex items-center no-underline text-inherit h-[50px] shrink-0 [&>img]:h-full [&>img]:w-auto [&>img]:object-contain [&>svg]:h-full [&>svg]:w-auto [&>svg]:object-contain",
|
|
1319
1319
|
children: typeof logo === "string" ? /* @__PURE__ */ jsx("img", { src: logo, alt: "" }) : logo
|
|
1320
1320
|
}
|
|
1321
1321
|
) }),
|
|
@@ -1474,7 +1474,7 @@ var ContactSection = forwardRef(
|
|
|
1474
1474
|
ref,
|
|
1475
1475
|
className: cn(
|
|
1476
1476
|
"flex w-full justify-center",
|
|
1477
|
-
"lg:items-center lg:
|
|
1477
|
+
"lg:items-center lg:gap-xl lg:px-xl lg:py-xl lg:bg-primary lg:rounded-lg lg:shadow-card",
|
|
1478
1478
|
className
|
|
1479
1479
|
),
|
|
1480
1480
|
...rest,
|
|
@@ -1617,7 +1617,10 @@ var useScrollSnap = (itemCount) => {
|
|
|
1617
1617
|
const scrollNext = useCallback(() => {
|
|
1618
1618
|
elRef.current?.scrollBy({ left: elRef.current.clientWidth, behavior: "smooth" });
|
|
1619
1619
|
}, []);
|
|
1620
|
-
|
|
1620
|
+
const scrollToStart = useCallback(() => {
|
|
1621
|
+
elRef.current?.scrollTo({ left: 0, behavior: "smooth" });
|
|
1622
|
+
}, []);
|
|
1623
|
+
return { ref: setRef, scrollPrev, scrollNext, scrollToStart, canPrev, canNext, activeIndex, scrollProgress };
|
|
1621
1624
|
};
|
|
1622
1625
|
var ChevronLeft = () => /* @__PURE__ */ jsx("svg", { width: "16", height: "16", viewBox: "0 0 16 16", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx(
|
|
1623
1626
|
"path",
|
|
@@ -1646,10 +1649,26 @@ var EventCarousel = forwardRef(
|
|
|
1646
1649
|
ref: trackRef,
|
|
1647
1650
|
scrollPrev,
|
|
1648
1651
|
scrollNext,
|
|
1652
|
+
scrollToStart,
|
|
1649
1653
|
canPrev,
|
|
1650
1654
|
canNext,
|
|
1651
1655
|
activeIndex
|
|
1652
1656
|
} = useScrollSnap(events.length);
|
|
1657
|
+
const canNextRef = useRef(canNext);
|
|
1658
|
+
useEffect(() => {
|
|
1659
|
+
canNextRef.current = canNext;
|
|
1660
|
+
}, [canNext]);
|
|
1661
|
+
useEffect(() => {
|
|
1662
|
+
if (events.length <= 1) return;
|
|
1663
|
+
const id = setInterval(() => {
|
|
1664
|
+
if (canNextRef.current) {
|
|
1665
|
+
scrollNext();
|
|
1666
|
+
} else {
|
|
1667
|
+
scrollToStart();
|
|
1668
|
+
}
|
|
1669
|
+
}, 3e3);
|
|
1670
|
+
return () => clearInterval(id);
|
|
1671
|
+
}, [events.length, scrollNext, scrollToStart]);
|
|
1653
1672
|
return /* @__PURE__ */ jsxs(
|
|
1654
1673
|
"section",
|
|
1655
1674
|
{
|
|
@@ -2587,6 +2606,7 @@ var TestimonialsCarousel = forwardRef(
|
|
|
2587
2606
|
const isControlled = activeIndex !== void 0;
|
|
2588
2607
|
const [internalIndex, setInternalIndex] = useState(defaultIndex);
|
|
2589
2608
|
const currentIndex = isControlled ? activeIndex : internalIndex;
|
|
2609
|
+
const touchStartX = useRef(null);
|
|
2590
2610
|
const setIndex = (next) => {
|
|
2591
2611
|
if (!isControlled) setInternalIndex(next);
|
|
2592
2612
|
onActiveIndexChange?.(next);
|
|
@@ -2595,11 +2615,27 @@ var TestimonialsCarousel = forwardRef(
|
|
|
2595
2615
|
if (!current) return null;
|
|
2596
2616
|
const isFirst = currentIndex <= 0;
|
|
2597
2617
|
const isLast = currentIndex >= testimonials.length - 1;
|
|
2618
|
+
const handleTouchStart = (e) => {
|
|
2619
|
+
touchStartX.current = e.touches[0]?.clientX ?? null;
|
|
2620
|
+
};
|
|
2621
|
+
const handleTouchEnd = (e) => {
|
|
2622
|
+
if (touchStartX.current === null) return;
|
|
2623
|
+
const endX = e.changedTouches[0]?.clientX;
|
|
2624
|
+
if (endX === void 0) return;
|
|
2625
|
+
const delta = touchStartX.current - endX;
|
|
2626
|
+
if (Math.abs(delta) > 40) {
|
|
2627
|
+
if (delta > 0 && !isLast) setIndex(currentIndex + 1);
|
|
2628
|
+
else if (delta < 0 && !isFirst) setIndex(currentIndex - 1);
|
|
2629
|
+
}
|
|
2630
|
+
touchStartX.current = null;
|
|
2631
|
+
};
|
|
2598
2632
|
return /* @__PURE__ */ jsxs(
|
|
2599
2633
|
"section",
|
|
2600
2634
|
{
|
|
2601
2635
|
ref,
|
|
2602
2636
|
className: cn("flex flex-col items-center gap-[28px] bg-surface", className),
|
|
2637
|
+
onTouchStart: handleTouchStart,
|
|
2638
|
+
onTouchEnd: handleTouchEnd,
|
|
2603
2639
|
...rest,
|
|
2604
2640
|
children: [
|
|
2605
2641
|
/* @__PURE__ */ jsx(
|
|
@@ -2805,6 +2841,94 @@ var TripsCategorySection = forwardRef(
|
|
|
2805
2841
|
}
|
|
2806
2842
|
);
|
|
2807
2843
|
TripsCategorySection.displayName = "TripsCategorySection";
|
|
2844
|
+
var UCT_VIDEO_DEFAULT = "https://wanderon-video.gumlet.io/upcoming-community-trips-a.mp4";
|
|
2845
|
+
var UCT_POSTER_DEFAULT = "https://wanderon-images.gumlet.io/uct-thumbnail.jpg?updatedAt=1739361886945";
|
|
2846
|
+
var UctMobileBanner = forwardRef(
|
|
2847
|
+
({
|
|
2848
|
+
href,
|
|
2849
|
+
videoUrl = UCT_VIDEO_DEFAULT,
|
|
2850
|
+
posterUrl = UCT_POSTER_DEFAULT,
|
|
2851
|
+
LinkComponent,
|
|
2852
|
+
className,
|
|
2853
|
+
...rest
|
|
2854
|
+
}, ref) => {
|
|
2855
|
+
const Link = LinkComponent ?? "a";
|
|
2856
|
+
return /* @__PURE__ */ jsx(
|
|
2857
|
+
Link,
|
|
2858
|
+
{
|
|
2859
|
+
ref,
|
|
2860
|
+
href,
|
|
2861
|
+
className: cn(
|
|
2862
|
+
"flex justify-center no-underline outline-none select-none [-webkit-tap-highlight-color:transparent]",
|
|
2863
|
+
className
|
|
2864
|
+
),
|
|
2865
|
+
...rest,
|
|
2866
|
+
children: /* @__PURE__ */ jsxs("div", { className: "relative w-full mx-4", children: [
|
|
2867
|
+
/* @__PURE__ */ jsx("div", { className: "absolute top-[-15px] left-[10px] w-[51px] h-[50px] rounded-full z-[6] [box-shadow:0px_4px_10px_0px_rgba(254,230,11,0.2)]", children: /* @__PURE__ */ jsx(
|
|
2868
|
+
"video",
|
|
2869
|
+
{
|
|
2870
|
+
src: videoUrl,
|
|
2871
|
+
poster: posterUrl,
|
|
2872
|
+
muted: true,
|
|
2873
|
+
loop: true,
|
|
2874
|
+
autoPlay: true,
|
|
2875
|
+
playsInline: true,
|
|
2876
|
+
className: "w-full h-full object-cover rounded-full"
|
|
2877
|
+
}
|
|
2878
|
+
) }),
|
|
2879
|
+
/* @__PURE__ */ jsxs(
|
|
2880
|
+
"div",
|
|
2881
|
+
{
|
|
2882
|
+
className: "relative flex items-center justify-between overflow-hidden h-[60px] pl-[70px] pr-[10px] py-[10px] rounded-xl cursor-pointer",
|
|
2883
|
+
style: {
|
|
2884
|
+
background: "linear-gradient(90deg, #015f74 0%, #02b3da 100%)",
|
|
2885
|
+
boxShadow: "0px 4px 4px 0px rgba(1, 95, 116, 0.3) inset"
|
|
2886
|
+
},
|
|
2887
|
+
children: [
|
|
2888
|
+
/* @__PURE__ */ jsx("span", { className: "text-[#f5fdff] text-base font-medium leading-7 font-[inherit]", children: "Upcoming Community Trips" }),
|
|
2889
|
+
/* @__PURE__ */ jsx(
|
|
2890
|
+
"span",
|
|
2891
|
+
{
|
|
2892
|
+
"aria-hidden": "true",
|
|
2893
|
+
className: "inline-flex",
|
|
2894
|
+
style: { animation: "uct-move-arrow 1.5s infinite" },
|
|
2895
|
+
children: /* @__PURE__ */ jsx("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", "aria-hidden": "true", children: /* @__PURE__ */ jsx(
|
|
2896
|
+
"path",
|
|
2897
|
+
{
|
|
2898
|
+
d: "M13 6L19 12L13 18M5 6L11 12L5 18",
|
|
2899
|
+
stroke: "white",
|
|
2900
|
+
strokeWidth: "1.5",
|
|
2901
|
+
strokeLinecap: "round",
|
|
2902
|
+
strokeLinejoin: "round"
|
|
2903
|
+
}
|
|
2904
|
+
) })
|
|
2905
|
+
}
|
|
2906
|
+
),
|
|
2907
|
+
/* @__PURE__ */ jsxs("div", { className: "absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 w-[300px] h-[250px] pointer-events-none", children: [
|
|
2908
|
+
/* @__PURE__ */ jsx(
|
|
2909
|
+
"div",
|
|
2910
|
+
{
|
|
2911
|
+
className: "absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 rounded-full border border-[#ababab] w-0 h-0",
|
|
2912
|
+
style: { animation: "uct-pulse-one 2s infinite 0s ease-in-out" }
|
|
2913
|
+
}
|
|
2914
|
+
),
|
|
2915
|
+
/* @__PURE__ */ jsx(
|
|
2916
|
+
"div",
|
|
2917
|
+
{
|
|
2918
|
+
className: "absolute left-1/2 top-1/2 -translate-x-1/2 -translate-y-1/2 rounded-full border border-[#ababab] w-0 h-0",
|
|
2919
|
+
style: { animation: "uct-pulse-two 2s infinite 1s ease-in-out" }
|
|
2920
|
+
}
|
|
2921
|
+
)
|
|
2922
|
+
] })
|
|
2923
|
+
]
|
|
2924
|
+
}
|
|
2925
|
+
)
|
|
2926
|
+
] })
|
|
2927
|
+
}
|
|
2928
|
+
);
|
|
2929
|
+
}
|
|
2930
|
+
);
|
|
2931
|
+
UctMobileBanner.displayName = "UctMobileBanner";
|
|
2808
2932
|
var ValuesSection = forwardRef(
|
|
2809
2933
|
({ heading: heading2, subheading, values, singleOpen = false, className, ...rest }, ref) => {
|
|
2810
2934
|
const [openIndex, setOpenIndex] = useState(null);
|
|
@@ -2988,6 +3112,6 @@ var theme = {
|
|
|
2988
3112
|
layout
|
|
2989
3113
|
};
|
|
2990
3114
|
|
|
2991
|
-
export { BottomNav, BrandLogo, BrandsSection, CategoryNavbar, ContactForm, ContactSection, CtaBanner, DestinationCard, DestinationsSection, EventBanner, EventCarousel, EventVideoBanner, ExpandableValueCard, ExploreCard, ExploreSection, FaqExpandable, FaqSection, FeatureCard, Footer, GalleryPhoto, GallerySection, Hero, HomeHero, LocationCard, MonthTabs, Navbar, OfficesSection, PackageCard, PackagesCarousel, SectionHeader, SiteHeader, TeamInfoCard, TeamSection, TestimonialCard, TestimonialsCarousel, TextSection, TripCategoryCard, TripsCategorySection, ValuesSection, WarriorCard, WarriorsSection, WhyChooseSection, theme };
|
|
3115
|
+
export { BottomNav, BrandLogo, BrandsSection, CategoryNavbar, ContactForm, ContactSection, CtaBanner, DestinationCard, DestinationsSection, EventBanner, EventCarousel, EventVideoBanner, ExpandableValueCard, ExploreCard, ExploreSection, FaqExpandable, FaqSection, FeatureCard, Footer, GalleryPhoto, GallerySection, Hero, HomeHero, LocationCard, MonthTabs, Navbar, OfficesSection, PackageCard, PackagesCarousel, SectionHeader, SiteHeader, TeamInfoCard, TeamSection, TestimonialCard, TestimonialsCarousel, TextSection, TripCategoryCard, TripsCategorySection, UctMobileBanner, ValuesSection, WarriorCard, WarriorsSection, WhyChooseSection, theme };
|
|
2992
3116
|
//# sourceMappingURL=index.js.map
|
|
2993
3117
|
//# sourceMappingURL=index.js.map
|