@digital-b2c/coreui-kit 0.8.0 → 0.9.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.
package/dist/index.d.cts CHANGED
@@ -5,6 +5,7 @@ import React__default, { ImgHTMLAttributes, ReactNode, Ref, AnchorHTMLAttributes
5
5
  interface IPicture {
6
6
  src: string;
7
7
  alt?: string;
8
+ variant?: string;
8
9
  }
9
10
 
10
11
  type SrcOnly = {
@@ -100,6 +101,9 @@ interface ICtaLogo extends ICta {
100
101
  interface ICtaIcon extends ICta {
101
102
  icon?: IconType;
102
103
  }
104
+ interface ICtaHoverLogo extends ICtaLogo {
105
+ hoverLogo?: IPicture;
106
+ }
103
107
 
104
108
  interface BrandsStripProps {
105
109
  className?: string;
@@ -215,6 +219,13 @@ interface PracticeCardProps {
215
219
 
216
220
  declare const PracticeCard: ({ className, title, cta, image }: PracticeCardProps) => react_jsx_runtime.JSX.Element;
217
221
 
222
+ interface LogoBarProps {
223
+ className?: string;
224
+ items: ICtaHoverLogo[];
225
+ }
226
+
227
+ declare const LogoBar: ({ className, items }: LogoBarProps) => react_jsx_runtime.JSX.Element | null;
228
+
218
229
  interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
219
230
  isExternal?: boolean;
220
231
  }
@@ -321,14 +332,17 @@ interface HeroBannerProps {
321
332
  title?: ReactNode;
322
333
  subtitle?: ReactNode;
323
334
  backgroundImage?: PictureProps;
324
- logo?: PictureProps;
335
+ logo?: PictureProps & {
336
+ variant?: string;
337
+ };
325
338
  cta?: ICtaLogo[];
326
- ctaLogo?: ICtaLogo[];
339
+ ctaLogo?: ICtaHoverLogo[];
327
340
  brands?: BrandsStripProps;
341
+ promoteToH1?: boolean;
328
342
  children?: ReactNode;
329
343
  }
330
344
 
331
- declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, brands, children, }: HeroBannerProps) => react_jsx_runtime.JSX.Element) & {
345
+ declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, children, }: HeroBannerProps) => react_jsx_runtime.JSX.Element) & {
332
346
  Title: ({ children }: HeroBannerTitleProps) => react_jsx_runtime.JSX.Element;
333
347
  Subtitle: ({ children }: HeroBannerSubtitleProps) => react_jsx_runtime.JSX.Element;
334
348
  };
@@ -635,4 +649,4 @@ type SlotMap = Record<string, SlotComponent>;
635
649
  */
636
650
  declare function resolveCompoundSlots(children: ReactNode, slots: SlotMap): Record<string, ReactNode>;
637
651
 
638
- export { Anchor, type AnchorProps, BrandsStrip, type BrandsStripProps, Button, type ButtonProps, Card, CardCollection, type CardCollectionProps, type CardProps, ConditionalWrapper, type ConditionalWrapperProps, ContactModule, type ContactModuleProps, Container, type ContainerProps, CountingCard, type CountingCardProps, EventList, type EventListProps, Footer, type FooterProps, HeroBanner, HeroBannerCarousel, type HeroBannerCarouselProps, type HeroBannerProps, type ICta, type ICtaIcon, type ICtaLogo, type IPicture, Icon, type IconType, InfoCard, type InfoCardProps, InternalBrandsTab, type InternalBrandsTabProps, MiniBanner, type MiniBannerProps, MiniSectionCta, type MiniSectionCtaProps, Pagination, type PaginationProps, Picture, type PictureProps, PracticeCard, type PracticeCardProps, PracticePathCards, type PracticePathCardsProps, type ResourceItem, type ResourceItemType, type ResourceView, ResourcesGridList, type ResourcesGridListProps, type SidebarCategory, Teaser5050With3Text, type Teaser5050With3TextProps, Teaser5050WithCta, type Teaser5050WithCtaProps, TextBody, type TextBodyProps, TextCenterCtaInBottom, type TextCenterCtaInBottomProps, TextEvent, type TextEventProps, resolveCompoundSlots, svgs, useIntersectionObserver };
652
+ export { Anchor, type AnchorProps, BrandsStrip, type BrandsStripProps, Button, type ButtonProps, Card, CardCollection, type CardCollectionProps, type CardProps, ConditionalWrapper, type ConditionalWrapperProps, ContactModule, type ContactModuleProps, Container, type ContainerProps, CountingCard, type CountingCardProps, EventList, type EventListProps, Footer, type FooterProps, HeroBanner, HeroBannerCarousel, type HeroBannerCarouselProps, type HeroBannerProps, type ICta, type ICtaHoverLogo, type ICtaIcon, type ICtaLogo, type IPicture, Icon, type IconType, InfoCard, type InfoCardProps, InternalBrandsTab, type InternalBrandsTabProps, LogoBar, type LogoBarProps, MiniBanner, type MiniBannerProps, MiniSectionCta, type MiniSectionCtaProps, Pagination, type PaginationProps, Picture, type PictureProps, PracticeCard, type PracticeCardProps, PracticePathCards, type PracticePathCardsProps, type ResourceItem, type ResourceItemType, type ResourceView, ResourcesGridList, type ResourcesGridListProps, type SidebarCategory, Teaser5050With3Text, type Teaser5050With3TextProps, Teaser5050WithCta, type Teaser5050WithCtaProps, TextBody, type TextBodyProps, TextCenterCtaInBottom, type TextCenterCtaInBottomProps, TextEvent, type TextEventProps, resolveCompoundSlots, svgs, useIntersectionObserver };
package/dist/index.d.ts CHANGED
@@ -5,6 +5,7 @@ import React__default, { ImgHTMLAttributes, ReactNode, Ref, AnchorHTMLAttributes
5
5
  interface IPicture {
6
6
  src: string;
7
7
  alt?: string;
8
+ variant?: string;
8
9
  }
9
10
 
10
11
  type SrcOnly = {
@@ -100,6 +101,9 @@ interface ICtaLogo extends ICta {
100
101
  interface ICtaIcon extends ICta {
101
102
  icon?: IconType;
102
103
  }
104
+ interface ICtaHoverLogo extends ICtaLogo {
105
+ hoverLogo?: IPicture;
106
+ }
103
107
 
104
108
  interface BrandsStripProps {
105
109
  className?: string;
@@ -215,6 +219,13 @@ interface PracticeCardProps {
215
219
 
216
220
  declare const PracticeCard: ({ className, title, cta, image }: PracticeCardProps) => react_jsx_runtime.JSX.Element;
217
221
 
222
+ interface LogoBarProps {
223
+ className?: string;
224
+ items: ICtaHoverLogo[];
225
+ }
226
+
227
+ declare const LogoBar: ({ className, items }: LogoBarProps) => react_jsx_runtime.JSX.Element | null;
228
+
218
229
  interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
219
230
  isExternal?: boolean;
220
231
  }
@@ -321,14 +332,17 @@ interface HeroBannerProps {
321
332
  title?: ReactNode;
322
333
  subtitle?: ReactNode;
323
334
  backgroundImage?: PictureProps;
324
- logo?: PictureProps;
335
+ logo?: PictureProps & {
336
+ variant?: string;
337
+ };
325
338
  cta?: ICtaLogo[];
326
- ctaLogo?: ICtaLogo[];
339
+ ctaLogo?: ICtaHoverLogo[];
327
340
  brands?: BrandsStripProps;
341
+ promoteToH1?: boolean;
328
342
  children?: ReactNode;
329
343
  }
330
344
 
331
- declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, brands, children, }: HeroBannerProps) => react_jsx_runtime.JSX.Element) & {
345
+ declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, children, }: HeroBannerProps) => react_jsx_runtime.JSX.Element) & {
332
346
  Title: ({ children }: HeroBannerTitleProps) => react_jsx_runtime.JSX.Element;
333
347
  Subtitle: ({ children }: HeroBannerSubtitleProps) => react_jsx_runtime.JSX.Element;
334
348
  };
@@ -635,4 +649,4 @@ type SlotMap = Record<string, SlotComponent>;
635
649
  */
636
650
  declare function resolveCompoundSlots(children: ReactNode, slots: SlotMap): Record<string, ReactNode>;
637
651
 
638
- export { Anchor, type AnchorProps, BrandsStrip, type BrandsStripProps, Button, type ButtonProps, Card, CardCollection, type CardCollectionProps, type CardProps, ConditionalWrapper, type ConditionalWrapperProps, ContactModule, type ContactModuleProps, Container, type ContainerProps, CountingCard, type CountingCardProps, EventList, type EventListProps, Footer, type FooterProps, HeroBanner, HeroBannerCarousel, type HeroBannerCarouselProps, type HeroBannerProps, type ICta, type ICtaIcon, type ICtaLogo, type IPicture, Icon, type IconType, InfoCard, type InfoCardProps, InternalBrandsTab, type InternalBrandsTabProps, MiniBanner, type MiniBannerProps, MiniSectionCta, type MiniSectionCtaProps, Pagination, type PaginationProps, Picture, type PictureProps, PracticeCard, type PracticeCardProps, PracticePathCards, type PracticePathCardsProps, type ResourceItem, type ResourceItemType, type ResourceView, ResourcesGridList, type ResourcesGridListProps, type SidebarCategory, Teaser5050With3Text, type Teaser5050With3TextProps, Teaser5050WithCta, type Teaser5050WithCtaProps, TextBody, type TextBodyProps, TextCenterCtaInBottom, type TextCenterCtaInBottomProps, TextEvent, type TextEventProps, resolveCompoundSlots, svgs, useIntersectionObserver };
652
+ export { Anchor, type AnchorProps, BrandsStrip, type BrandsStripProps, Button, type ButtonProps, Card, CardCollection, type CardCollectionProps, type CardProps, ConditionalWrapper, type ConditionalWrapperProps, ContactModule, type ContactModuleProps, Container, type ContainerProps, CountingCard, type CountingCardProps, EventList, type EventListProps, Footer, type FooterProps, HeroBanner, HeroBannerCarousel, type HeroBannerCarouselProps, type HeroBannerProps, type ICta, type ICtaHoverLogo, type ICtaIcon, type ICtaLogo, type IPicture, Icon, type IconType, InfoCard, type InfoCardProps, InternalBrandsTab, type InternalBrandsTabProps, LogoBar, type LogoBarProps, MiniBanner, type MiniBannerProps, MiniSectionCta, type MiniSectionCtaProps, Pagination, type PaginationProps, Picture, type PictureProps, PracticeCard, type PracticeCardProps, PracticePathCards, type PracticePathCardsProps, type ResourceItem, type ResourceItemType, type ResourceView, ResourcesGridList, type ResourcesGridListProps, type SidebarCategory, Teaser5050With3Text, type Teaser5050With3TextProps, Teaser5050WithCta, type Teaser5050WithCtaProps, TextBody, type TextBodyProps, TextCenterCtaInBottom, type TextCenterCtaInBottomProps, TextEvent, type TextEventProps, resolveCompoundSlots, svgs, useIntersectionObserver };