@windstream/react-shared-components 0.1.0 → 0.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/contentful/index.d.ts +28 -2
- package/dist/contentful/index.esm.js +2 -2
- package/dist/contentful/index.esm.js.map +1 -1
- package/dist/contentful/index.js +2 -2
- package/dist/contentful/index.js.map +1 -1
- package/dist/styles.css +1 -1
- package/package.json +1 -1
- package/src/contentful/blocks/breadcrumbs/index.tsx +55 -0
- package/src/contentful/blocks/breadcrumbs/types.ts +5 -0
- package/src/contentful/blocks/search-block/index.tsx +91 -0
- package/src/contentful/blocks/search-block/types.ts +15 -0
- package/src/contentful/index.ts +6 -0
|
@@ -494,5 +494,31 @@ interface BlogCategoryOption {
|
|
|
494
494
|
|
|
495
495
|
declare function BlogGrid({ paginatedArticles, totalArticles, currentPage, totalPages, selectedCategory, categoryOptions, }: BlogGridProps): react_jsx_runtime.JSX.Element;
|
|
496
496
|
|
|
497
|
-
|
|
498
|
-
|
|
497
|
+
type BreadcrumbNavigationProps = {
|
|
498
|
+
links?: Array<any>;
|
|
499
|
+
textColor?: "dark" | "light";
|
|
500
|
+
maxWidth?: boolean;
|
|
501
|
+
};
|
|
502
|
+
|
|
503
|
+
declare const BreadcrumbNavigation: React$1.FC<BreadcrumbNavigationProps>;
|
|
504
|
+
|
|
505
|
+
type SearchBlockProps = {
|
|
506
|
+
anchorId?: string;
|
|
507
|
+
title?: string;
|
|
508
|
+
subTitle?: string;
|
|
509
|
+
searchDescription?: string;
|
|
510
|
+
searchInputPlaceholder?: string;
|
|
511
|
+
caption?: React$1.ReactNode;
|
|
512
|
+
basicCaption?: React$1.ReactNode;
|
|
513
|
+
enableHeading?: boolean;
|
|
514
|
+
backgroundColor: "supporting" | "white" | "brand";
|
|
515
|
+
color: "light" | "dark";
|
|
516
|
+
onSubmit?: (values: {
|
|
517
|
+
searchText: string;
|
|
518
|
+
}) => void;
|
|
519
|
+
};
|
|
520
|
+
|
|
521
|
+
declare const SearchBlock: React$1.FC<SearchBlockProps>;
|
|
522
|
+
|
|
523
|
+
export { Accordion, BlogCard, BlogGrid, BreadcrumbNavigation, Button, Callout, Cards, Carousel, ComparisonTable, CtaCallout, FindKinetic, FloatingBanner, Footer, ImagePromoBar, Modal, Navigation, PrimaryHero, ProductCard, SearchBlock, ShapeBackgroundWrapper, SimpleCard, TestimonialCard, Text };
|
|
524
|
+
export type { AccordionProps, BlogCardProps$1 as BlogCardProps, BlogGridProps, BreadcrumbNavigationProps, ButtonProps, CalloutProps, CardsProps, CarouselProps, ComparisonTableProps, CtaCalloutProps, FindKineticProps, FloatingBannerProps, FooterProps, ImagePromoBarProps, ModalProps, NavigationProps, PrimaryHeroProps, ProductCardProps, SearchBlockProps, ShapeBackgroundWrapperProps, SimpleCardProps, TestimonialCardProps, TextProps };
|