@windstream/react-shared-components 0.1.28 → 0.1.30

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.
Files changed (33) hide show
  1. package/dist/contentful/index.d.ts +21 -4
  2. package/dist/contentful/index.esm.js +3 -3
  3. package/dist/contentful/index.esm.js.map +1 -1
  4. package/dist/contentful/index.js +3 -3
  5. package/dist/contentful/index.js.map +1 -1
  6. package/dist/core.d.ts +2 -0
  7. package/dist/index.d.ts +7 -5
  8. package/dist/index.esm.js +1 -1
  9. package/dist/index.esm.js.map +1 -1
  10. package/dist/index.js +1 -1
  11. package/dist/index.js.map +1 -1
  12. package/dist/styles.css +1 -1
  13. package/package.json +1 -1
  14. package/src/components/checklist/index.tsx +4 -2
  15. package/src/components/checklist/types.ts +1 -0
  16. package/src/components/select-plan-button/index.tsx +4 -2
  17. package/src/components/select-plan-button/types.ts +3 -0
  18. package/src/contentful/blocks/accordion/index.tsx +1 -1
  19. package/src/contentful/blocks/anchored-bottom-banner/index.tsx +65 -0
  20. package/src/contentful/blocks/anchored-bottom-banner/types.ts +9 -0
  21. package/src/contentful/blocks/button/index.tsx +9 -1
  22. package/src/contentful/blocks/button/types.ts +3 -0
  23. package/src/contentful/blocks/callout/index.tsx +4 -2
  24. package/src/contentful/blocks/cards/blog-card/index.tsx +23 -22
  25. package/src/contentful/blocks/cards/blog-card/types.ts +2 -0
  26. package/src/contentful/blocks/cards/product-card/index.tsx +79 -35
  27. package/src/contentful/blocks/cards/simple-card/index.tsx +5 -4
  28. package/src/contentful/blocks/cards/testimonial-card/index.tsx +34 -32
  29. package/src/contentful/blocks/carousel/helper.tsx +2 -2
  30. package/src/contentful/blocks/carousel/index.tsx +31 -25
  31. package/src/contentful/blocks/floating-banner/index.tsx +5 -1
  32. package/src/contentful/blocks/modal/index.tsx +4 -4
  33. package/src/contentful/index.ts +3 -0
@@ -1,5 +1,6 @@
1
1
  import React$1, { ReactNode, FC } from 'react';
2
2
  import { ResponsiveSize } from '@shared/components/brand-button/types';
3
+ import { Fill, Size } from '@shared/components/material-icon/types';
3
4
  import { CheckPlansProps, Asset, Button as Button$1, ButtonGroup } from '@shared/types/micro-components';
4
5
  import { ButtonProps as ButtonProps$1 } from '@shared/contentful/blocks/button/types';
5
6
  import * as react_jsx_runtime from 'react/jsx-runtime';
@@ -69,6 +70,8 @@ type ButtonProps = {
69
70
  modalSubtitle?: string;
70
71
  onModalButtonClick?: (id?: string) => void;
71
72
  iconName?: string;
73
+ iconFill?: Fill;
74
+ iconSize?: Size;
72
75
  };
73
76
 
74
77
  type Item = {
@@ -349,8 +352,8 @@ type ModalProps = {
349
352
  };
350
353
 
351
354
  type ExtendedModalProps = ModalProps & {
352
- type?: "modal";
353
- index?: 0;
355
+ type?: string;
356
+ index?: number;
354
357
  };
355
358
  declare const Modal: React$1.FC<ExtendedModalProps>;
356
359
 
@@ -471,6 +474,8 @@ interface BlogCardProps$1 {
471
474
  };
472
475
  readMoreText?: string;
473
476
  asGrid?: boolean;
477
+ lgWidth?: string;
478
+ mdWidth?: string;
474
479
  index?: number;
475
480
  }
476
481
 
@@ -566,5 +571,17 @@ interface DynamicTabsT {
566
571
 
567
572
  declare function DynamicTabs(props: DynamicTabsT): react_jsx_runtime.JSX.Element;
568
573
 
569
- export { Accordion, AddressInputBanner, BlogCard, BlogGrid, BreadcrumbNavigation, Button, Callout, Cards, Carousel, ComparisonTable, CtaCallout, DynamicTabs, FindKinetic, FloatingBanner, Footer, ImagePromoBar, Modal, Navigation, PrimaryHero, ProductCard, SearchBlock, ShapeBackgroundWrapper, SimpleCard, TestimonialCard, Text };
570
- export type { AccordionProps, AddressInputBannerProps, BlogCardProps$1 as BlogCardProps, BlogGridProps, BreadcrumbNavigationProps, ButtonProps, CalloutProps, CardsProps, CarouselProps, ComparisonTableProps, CtaCalloutProps, DynamicTabsT, FindKineticProps, FloatingBannerProps, FooterProps, ImagePromoBarProps, ModalProps, NavigationProps, PrimaryHeroProps, ProductCardProps, SearchBlockProps, ShapeBackgroundWrapperProps, SimpleCardProps, TestimonialCardProps, TextProps };
574
+ interface AnchoredBottomBannerProps {
575
+ ctaSuffixText?: string;
576
+ backgroundColor?: "navy" | "yellow" | "green" | "purple" | "blue";
577
+ iconName?: string;
578
+ boxShadow?: boolean;
579
+ ctaButtonLabel?: string;
580
+ ctaButtonLink?: string;
581
+ ctaButtonTarget?: string;
582
+ }
583
+
584
+ declare const AnchoredBottomBanner: React$1.FC<AnchoredBottomBannerProps>;
585
+
586
+ export { Accordion, AddressInputBanner, AnchoredBottomBanner, BlogCard, BlogGrid, BreadcrumbNavigation, Button, Callout, Cards, Carousel, ComparisonTable, CtaCallout, DynamicTabs, FindKinetic, FloatingBanner, Footer, ImagePromoBar, Modal, Navigation, PrimaryHero, ProductCard, SearchBlock, ShapeBackgroundWrapper, SimpleCard, TestimonialCard, Text };
587
+ export type { AccordionProps, AddressInputBannerProps, AnchoredBottomBannerProps, BlogCardProps$1 as BlogCardProps, BlogGridProps, BreadcrumbNavigationProps, ButtonProps, CalloutProps, CardsProps, CarouselProps, ComparisonTableProps, CtaCalloutProps, DynamicTabsT, FindKineticProps, FloatingBannerProps, FooterProps, ImagePromoBarProps, ModalProps, NavigationProps, PrimaryHeroProps, ProductCardProps, SearchBlockProps, ShapeBackgroundWrapperProps, SimpleCardProps, TestimonialCardProps, TextProps };