@windstream/react-shared-components 0.0.99 → 0.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.
@@ -1,6 +1,7 @@
1
1
  import React$1, { ReactNode } from 'react';
2
2
  import { CheckPlansProps, Asset, Button as Button$1, ButtonGroup } from '@shared/types/micro-components';
3
3
  import { ButtonProps as ButtonProps$1 } from '@shared/contentful/blocks/button/types';
4
+ import * as react_jsx_runtime from 'react/jsx-runtime';
4
5
 
5
6
  type AccordionProps = {
6
7
  title: string;
@@ -206,7 +207,7 @@ type FloatingBannerProps = {
206
207
  description?: React$1.ReactNode;
207
208
  cta?: any | null;
208
209
  disclaimer?: React$1.ReactNode;
209
- background?: "green" | "navy" | "white";
210
+ background?: "green" | "navy" | "white" | "purple" | "blue" | "yellow";
210
211
  color?: "dark" | "light";
211
212
  maxWidth?: boolean;
212
213
  };
@@ -448,5 +449,50 @@ interface ProductCardProps {
448
449
 
449
450
  declare const ProductCard: React$1.FC<ProductCardProps>;
450
451
 
451
- export { Accordion, Button, Callout, Cards, Carousel, ComparisonTable, CtaCallout, FindKinetic, FloatingBanner, Footer, ImagePromoBar, Modal, Navigation, PrimaryHero, ProductCard, ShapeBackgroundWrapper, SimpleCard, TestimonialCard, Text };
452
- export type { AccordionProps, ButtonProps, CalloutProps, CardsProps, CarouselProps, ComparisonTableProps, CtaCalloutProps, FindKineticProps, FloatingBannerProps, FooterProps, ImagePromoBarProps, ModalProps, NavigationProps, PrimaryHeroProps, ProductCardProps, ShapeBackgroundWrapperProps, SimpleCardProps, TestimonialCardProps, TextProps };
452
+ interface BlogCardProps$1 {
453
+ href: string;
454
+ title?: string;
455
+ description?: string;
456
+ date?: string;
457
+ category?: string;
458
+ image?: {
459
+ src: string;
460
+ alt: string;
461
+ width: number;
462
+ height: number;
463
+ };
464
+ readMoreText?: string;
465
+ }
466
+
467
+ declare const BlogCard: React$1.FC<BlogCardProps$1>;
468
+
469
+ interface BlogCardProps {
470
+ slug: string;
471
+ title?: string;
472
+ shortDescription?: string;
473
+ blogCreationDate?: string;
474
+ category?: string;
475
+ cover?: {
476
+ url: string;
477
+ width?: number;
478
+ height?: number;
479
+ title?: string;
480
+ };
481
+ }
482
+ interface BlogGridProps {
483
+ paginatedArticles: BlogCardProps[];
484
+ totalArticles: number;
485
+ currentPage: number;
486
+ totalPages: number;
487
+ selectedCategory: BlogCategoryOption;
488
+ categoryOptions: BlogCategoryOption[];
489
+ }
490
+ interface BlogCategoryOption {
491
+ value: string;
492
+ label: string;
493
+ }
494
+
495
+ declare function BlogGrid({ paginatedArticles, totalArticles, currentPage, totalPages, selectedCategory, categoryOptions, }: BlogGridProps): react_jsx_runtime.JSX.Element;
496
+
497
+ export { Accordion, BlogCard, BlogGrid, Button, Callout, Cards, Carousel, ComparisonTable, CtaCallout, FindKinetic, FloatingBanner, Footer, ImagePromoBar, Modal, Navigation, PrimaryHero, ProductCard, ShapeBackgroundWrapper, SimpleCard, TestimonialCard, Text };
498
+ export type { AccordionProps, BlogCardProps$1 as BlogCardProps, BlogGridProps, ButtonProps, CalloutProps, CardsProps, CarouselProps, ComparisonTableProps, CtaCalloutProps, FindKineticProps, FloatingBannerProps, FooterProps, ImagePromoBarProps, ModalProps, NavigationProps, PrimaryHeroProps, ProductCardProps, ShapeBackgroundWrapperProps, SimpleCardProps, TestimonialCardProps, TextProps };