@harshit-wander/component-lib 1.1.0 → 1.1.1

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.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
@@ -2805,6 +2805,94 @@ var TripsCategorySection = forwardRef(
2805
2805
  }
2806
2806
  );
2807
2807
  TripsCategorySection.displayName = "TripsCategorySection";
2808
+ var UCT_VIDEO_DEFAULT = "https://wanderon-video.gumlet.io/upcoming-community-trips-a.mp4";
2809
+ var UCT_POSTER_DEFAULT = "https://wanderon-images.gumlet.io/uct-thumbnail.jpg?updatedAt=1739361886945";
2810
+ var UctMobileBanner = forwardRef(
2811
+ ({
2812
+ href,
2813
+ videoUrl = UCT_VIDEO_DEFAULT,
2814
+ posterUrl = UCT_POSTER_DEFAULT,
2815
+ LinkComponent,
2816
+ className,
2817
+ ...rest
2818
+ }, ref) => {
2819
+ const Link = LinkComponent ?? "a";
2820
+ return /* @__PURE__ */ jsx(
2821
+ Link,
2822
+ {
2823
+ ref,
2824
+ href,
2825
+ className: cn(
2826
+ "flex justify-center no-underline outline-none select-none [-webkit-tap-highlight-color:transparent]",
2827
+ className
2828
+ ),
2829
+ ...rest,
2830
+ children: /* @__PURE__ */ jsxs("div", { className: "relative w-full mx-4", children: [
2831
+ /* @__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(
2832
+ "video",
2833
+ {
2834
+ src: videoUrl,
2835
+ poster: posterUrl,
2836
+ muted: true,
2837
+ loop: true,
2838
+ autoPlay: true,
2839
+ playsInline: true,
2840
+ className: "w-full h-full object-cover rounded-full"
2841
+ }
2842
+ ) }),
2843
+ /* @__PURE__ */ jsxs(
2844
+ "div",
2845
+ {
2846
+ className: "relative flex items-center justify-between overflow-hidden h-[60px] pl-[70px] pr-[10px] py-[10px] rounded-xl cursor-pointer",
2847
+ style: {
2848
+ background: "linear-gradient(90deg, #015f74 0%, #02b3da 100%)",
2849
+ boxShadow: "0px 4px 4px 0px rgba(1, 95, 116, 0.3) inset"
2850
+ },
2851
+ children: [
2852
+ /* @__PURE__ */ jsx("span", { className: "text-[#f5fdff] text-base font-medium leading-7 font-[inherit]", children: "Upcoming Community Trips" }),
2853
+ /* @__PURE__ */ jsx(
2854
+ "span",
2855
+ {
2856
+ "aria-hidden": "true",
2857
+ className: "inline-flex",
2858
+ style: { animation: "uct-move-arrow 1.5s infinite" },
2859
+ children: /* @__PURE__ */ jsx("svg", { width: "20", height: "20", viewBox: "0 0 20 20", fill: "none", children: /* @__PURE__ */ jsx(
2860
+ "path",
2861
+ {
2862
+ d: "M13 6L19 12L13 18M5 6L11 12L5 18",
2863
+ stroke: "white",
2864
+ strokeWidth: "1.5",
2865
+ strokeLinecap: "round",
2866
+ strokeLinejoin: "round"
2867
+ }
2868
+ ) })
2869
+ }
2870
+ ),
2871
+ /* @__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: [
2872
+ /* @__PURE__ */ jsx(
2873
+ "div",
2874
+ {
2875
+ 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",
2876
+ style: { animation: "uct-pulse-one 2s infinite 0s ease-in-out" }
2877
+ }
2878
+ ),
2879
+ /* @__PURE__ */ jsx(
2880
+ "div",
2881
+ {
2882
+ 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",
2883
+ style: { animation: "uct-pulse-two 2s infinite 1s ease-in-out" }
2884
+ }
2885
+ )
2886
+ ] })
2887
+ ]
2888
+ }
2889
+ )
2890
+ ] })
2891
+ }
2892
+ );
2893
+ }
2894
+ );
2895
+ UctMobileBanner.displayName = "UctMobileBanner";
2808
2896
  var ValuesSection = forwardRef(
2809
2897
  ({ heading: heading2, subheading, values, singleOpen = false, className, ...rest }, ref) => {
2810
2898
  const [openIndex, setOpenIndex] = useState(null);
@@ -2988,6 +3076,6 @@ var theme = {
2988
3076
  layout
2989
3077
  };
2990
3078
 
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 };
3079
+ 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
3080
  //# sourceMappingURL=index.js.map
2993
3081
  //# sourceMappingURL=index.js.map