@windstream/react-shared-components 0.2.51 → 0.2.53
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/contentful/index.d.ts +24 -2
- package/dist/contentful/index.esm.js +15 -3
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +15 -3
- package/dist/contentful/index.js.map +1 -1
- package/dist/core.d.ts +3 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.esm.js +18 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +18 -6
- package/dist/index.js.map +1 -1
- package/dist/next/index.esm.js +16 -2
- package/dist/next/index.esm.js.map +1 -1
- package/dist/next/index.js +16 -2
- package/dist/next/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/contentful/blocks/award-marquee/AwardMarquee.stories.tsx +50 -0
- package/src/contentful/blocks/award-marquee/index.test.tsx +86 -0
- package/src/contentful/blocks/award-marquee/index.tsx +110 -0
- package/src/contentful/blocks/award-marquee/types.ts +19 -0
- package/src/contentful/blocks/navigation/index.test.tsx +34 -0
- package/src/contentful/blocks/navigation/index.tsx +33 -4
- package/src/contentful/blocks/navigation/types.ts +3 -0
- package/src/contentful/index.ts +8 -0
- package/tailwind.config.cjs +7 -0
|
@@ -37,6 +37,25 @@ type ThemeKey$1 = "blue" | "green" | "yellow" | "purple" | "white" | "navy" | "c
|
|
|
37
37
|
|
|
38
38
|
declare const Accordion: React__default.FC<AccordionProps>;
|
|
39
39
|
|
|
40
|
+
type AwardMarqueeSpeed = "fast" | "medium" | "slow";
|
|
41
|
+
type AwardMarqueeBackground = "cream" | "gray90" | "white";
|
|
42
|
+
type AwardMarqueeItem = {
|
|
43
|
+
iconUrl: string;
|
|
44
|
+
iconAlt?: string;
|
|
45
|
+
title?: string;
|
|
46
|
+
description?: string;
|
|
47
|
+
};
|
|
48
|
+
type AwardMarqueeProps = {
|
|
49
|
+
anchorId?: string;
|
|
50
|
+
items: AwardMarqueeItem[];
|
|
51
|
+
speed?: AwardMarqueeSpeed;
|
|
52
|
+
scroll?: boolean;
|
|
53
|
+
backgroundColor?: AwardMarqueeBackground;
|
|
54
|
+
className?: string;
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
declare const AwardMarquee: React__default.FC<AwardMarqueeProps>;
|
|
58
|
+
|
|
40
59
|
type ButtonProps = {
|
|
41
60
|
showButtonAs?: "solid" | "text" | "unstyled" | "button-with-icon" | "text-with-icon";
|
|
42
61
|
buttonVariant?: "primary_brand" | "secondary" | "primary_inverse" | "secondary_inverse";
|
|
@@ -431,6 +450,9 @@ interface Navigation$1 {
|
|
|
431
450
|
* (the one next to the cart icon and hamburger). The drawer
|
|
432
451
|
* still renders the CallButton. Defaults to false. */
|
|
433
452
|
hideMobileCallButton?: boolean;
|
|
453
|
+
/** When true, renders the mobile hamburger navigation in the desktop
|
|
454
|
+
* viewport and hides the inline desktop nav. Defaults to false. */
|
|
455
|
+
enableHamburgerNavigationOnDesktop?: boolean;
|
|
434
456
|
}
|
|
435
457
|
type NavigationProps = Navigation$1;
|
|
436
458
|
|
|
@@ -931,5 +953,5 @@ interface ProcessedChecklistItem {
|
|
|
931
953
|
}
|
|
932
954
|
declare function useProcessedChecklist<T extends boolean = false>(checklistData?: any, titlesOnly?: T, richTextOptions?: Options, richTextClassName?: string): T extends true ? string[] : ProcessedChecklistItem[];
|
|
933
955
|
|
|
934
|
-
export { Accordion, AddressInputBanner, AnchoredBottomBanner, BlogCard, BlogGrid, BlogGridBase, BreadcrumbNavigation, Button, Callout, Cards, Carousel, CartRetentionBanner, ComparisonTable, CookieBanner, CtaCallout, DynamicTabs, EmailInputBlock, FindKinetic, FloatingBanner, Footer, IframeEmbed, ImagePromoBar, Modal, Navigation, OrderedList, PrimaryHero, ProductCard, SearchBlock, ShapeBackgroundWrapper, SimpleCard, TestimonialCard, Text, label1BoldOptions, renderContentfulRichText, renderContentfulRichTextTable, toDocument, useContentfulRichText, useProcessedChecklist };
|
|
935
|
-
export type { AccordionProps, AddressInputBannerProps, AnchoredBottomBannerProps, BlogCardProps$2 as BlogCardProps, BlogGridBaseProps, BlogGridProps, BreadcrumbNavigationProps, ButtonProps, CalloutProps, CardsProps, CarouselProps, TypeCartRetentionBannerFields as CartRetentionBannerProps, ComparisonTableProps, TypeComponentRichTextFields as CookieBannerProps, CtaCalloutProps, DynamicTabsT, EmailInputBlockProps, FindKineticProps, FloatingBannerProps, FooterProps, IframeEmbedProps, ImagePromoBarProps, ModalProps, NavigationProps, OrderedListProps, PrimaryHeroProps, ProcessedChecklistItem, ProductCardProps, SearchBlockProps, ShapeBackgroundWrapperProps, SimpleCardProps, TestimonialCardProps, TextProps };
|
|
956
|
+
export { Accordion, AddressInputBanner, AnchoredBottomBanner, AwardMarquee, BlogCard, BlogGrid, BlogGridBase, BreadcrumbNavigation, Button, Callout, Cards, Carousel, CartRetentionBanner, ComparisonTable, CookieBanner, CtaCallout, DynamicTabs, EmailInputBlock, FindKinetic, FloatingBanner, Footer, IframeEmbed, ImagePromoBar, Modal, Navigation, OrderedList, PrimaryHero, ProductCard, SearchBlock, ShapeBackgroundWrapper, SimpleCard, TestimonialCard, Text, label1BoldOptions, renderContentfulRichText, renderContentfulRichTextTable, toDocument, useContentfulRichText, useProcessedChecklist };
|
|
957
|
+
export type { AccordionProps, AddressInputBannerProps, AnchoredBottomBannerProps, AwardMarqueeBackground, AwardMarqueeItem, AwardMarqueeProps, AwardMarqueeSpeed, BlogCardProps$2 as BlogCardProps, BlogGridBaseProps, BlogGridProps, BreadcrumbNavigationProps, ButtonProps, CalloutProps, CardsProps, CarouselProps, TypeCartRetentionBannerFields as CartRetentionBannerProps, ComparisonTableProps, TypeComponentRichTextFields as CookieBannerProps, CtaCalloutProps, DynamicTabsT, EmailInputBlockProps, FindKineticProps, FloatingBannerProps, FooterProps, IframeEmbedProps, ImagePromoBarProps, ModalProps, NavigationProps, OrderedListProps, PrimaryHeroProps, ProcessedChecklistItem, ProductCardProps, SearchBlockProps, ShapeBackgroundWrapperProps, SimpleCardProps, TestimonialCardProps, TextProps };
|