@digital-b2c/coreui-kit 0.11.17 → 0.11.18
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/LICENSE.txt +21 -21
- package/README.md +52 -52
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +73 -72
- package/dist/index.d.ts +73 -72
- package/dist/index.mjs +1 -0
- package/dist/index.mjs.map +1 -1
- package/dist/types/global.d.ts +25 -25
- package/package.json +100 -99
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
1
2
|
import * as react from 'react';
|
|
2
3
|
import react__default, { ImgHTMLAttributes, AnchorHTMLAttributes, ReactNode, Ref, HTMLAttributes, ButtonHTMLAttributes, InputHTMLAttributes, PropsWithChildren, JSX, FC, CSSProperties } from 'react';
|
|
3
4
|
|
|
@@ -114,7 +115,7 @@ interface BrandsStripProps {
|
|
|
114
115
|
size?: 'small';
|
|
115
116
|
}
|
|
116
117
|
|
|
117
|
-
declare const BrandsStrip: ({ className, variant, title, logos, cta, size, }: BrandsStripProps) =>
|
|
118
|
+
declare const BrandsStrip: ({ className, variant, title, logos, cta, size, }: BrandsStripProps) => react_jsx_runtime.JSX.Element;
|
|
118
119
|
|
|
119
120
|
declare const ButtonVariantReadOnly: readonly ["primary", "secondary", "ghost", "nofill", "grey", "nofillblack", "shiny", "tabbutton"];
|
|
120
121
|
type TButtonVariant = (typeof ButtonVariantReadOnly)[number];
|
|
@@ -154,11 +155,11 @@ interface CardProps {
|
|
|
154
155
|
}
|
|
155
156
|
|
|
156
157
|
declare const Card: {
|
|
157
|
-
({ className, variant, title, subtitle, cta, icon, logo, children, ref, }: CardProps):
|
|
158
|
+
({ className, variant, title, subtitle, cta, icon, logo, children, ref, }: CardProps): react_jsx_runtime.JSX.Element;
|
|
158
159
|
displayName: string;
|
|
159
160
|
} & {
|
|
160
|
-
Title: ({ children }: CardTitleProps) =>
|
|
161
|
-
Subtitle: ({ children }: CardSubtitleProps) =>
|
|
161
|
+
Title: ({ children }: CardTitleProps) => react_jsx_runtime.JSX.Element;
|
|
162
|
+
Subtitle: ({ children }: CardSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
162
163
|
};
|
|
163
164
|
|
|
164
165
|
type CountingCardTitleProps = {
|
|
@@ -173,8 +174,8 @@ interface CountingCardProps {
|
|
|
173
174
|
children?: ReactNode;
|
|
174
175
|
}
|
|
175
176
|
|
|
176
|
-
declare const CountingCard: (({ className, title, count, image, children }: CountingCardProps) =>
|
|
177
|
-
Title: ({ children }: CountingCardTitleProps) =>
|
|
177
|
+
declare const CountingCard: (({ className, title, count, image, children }: CountingCardProps) => react_jsx_runtime.JSX.Element) & {
|
|
178
|
+
Title: ({ children }: CountingCardTitleProps) => react_jsx_runtime.JSX.Element;
|
|
178
179
|
};
|
|
179
180
|
|
|
180
181
|
type ResourceView = 'grid' | 'list';
|
|
@@ -193,7 +194,7 @@ interface ResourceCardItemProps {
|
|
|
193
194
|
view: ResourceView;
|
|
194
195
|
}
|
|
195
196
|
|
|
196
|
-
declare const ResourceCardItem: ({ item, view }: ResourceCardItemProps) =>
|
|
197
|
+
declare const ResourceCardItem: ({ item, view }: ResourceCardItemProps) => react_jsx_runtime.JSX.Element;
|
|
197
198
|
|
|
198
199
|
type FilterOption = 'all' | 'pdf' | 'externalLink';
|
|
199
200
|
type SortOption = 'latest' | 'oldest' | 'az' | 'za';
|
|
@@ -209,7 +210,7 @@ interface FilterBarProps {
|
|
|
209
210
|
onSearchChange: (v: string) => void;
|
|
210
211
|
}
|
|
211
212
|
|
|
212
|
-
declare function FilterBar({ view, onViewChange, isMobile, filterValue, onFilterChange, sortValue, onSortChange, searchValue, onSearchChange, }: FilterBarProps):
|
|
213
|
+
declare function FilterBar({ view, onViewChange, isMobile, filterValue, onFilterChange, sortValue, onSortChange, searchValue, onSearchChange, }: FilterBarProps): react_jsx_runtime.JSX.Element;
|
|
213
214
|
|
|
214
215
|
type InfoCardSubtitleProps = {
|
|
215
216
|
children: ReactNode;
|
|
@@ -228,9 +229,9 @@ interface InfoCardProps {
|
|
|
228
229
|
children?: ReactNode;
|
|
229
230
|
}
|
|
230
231
|
|
|
231
|
-
declare const InfoCard: (({ className, title, subtitle, icon, badge, children }: InfoCardProps) =>
|
|
232
|
-
Title: ({ children }: InfoCardTitleProps) =>
|
|
233
|
-
Subtitle: ({ children }: InfoCardSubtitleProps) =>
|
|
232
|
+
declare const InfoCard: (({ className, title, subtitle, icon, badge, children }: InfoCardProps) => react_jsx_runtime.JSX.Element) & {
|
|
233
|
+
Title: ({ children }: InfoCardTitleProps) => react_jsx_runtime.JSX.Element;
|
|
234
|
+
Subtitle: ({ children }: InfoCardSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
234
235
|
};
|
|
235
236
|
|
|
236
237
|
interface PaginationProps {
|
|
@@ -247,9 +248,9 @@ interface PaginationProps {
|
|
|
247
248
|
}) => ReactNode;
|
|
248
249
|
}
|
|
249
250
|
|
|
250
|
-
declare const Pagination: ({ className, totalPages, currentPage, loop, hasNumber, disableArrows, onPageChange, renderLink, }: PaginationProps) =>
|
|
251
|
+
declare const Pagination: ({ className, totalPages, currentPage, loop, hasNumber, disableArrows, onPageChange, renderLink, }: PaginationProps) => react_jsx_runtime.JSX.Element;
|
|
251
252
|
|
|
252
|
-
declare const Picture: ({ className, ...props }: PictureProps) =>
|
|
253
|
+
declare const Picture: ({ className, ...props }: PictureProps) => react_jsx_runtime.JSX.Element;
|
|
253
254
|
|
|
254
255
|
interface PracticeCardProps {
|
|
255
256
|
className?: string;
|
|
@@ -258,7 +259,7 @@ interface PracticeCardProps {
|
|
|
258
259
|
image?: IPicture;
|
|
259
260
|
}
|
|
260
261
|
|
|
261
|
-
declare const PracticeCard: ({ className, title, cta, image }: PracticeCardProps) =>
|
|
262
|
+
declare const PracticeCard: ({ className, title, cta, image }: PracticeCardProps) => react_jsx_runtime.JSX.Element;
|
|
262
263
|
|
|
263
264
|
interface SidebarCategory {
|
|
264
265
|
label: string;
|
|
@@ -278,7 +279,7 @@ interface SidebarProps {
|
|
|
278
279
|
onSelect: (index: number) => void;
|
|
279
280
|
}
|
|
280
281
|
|
|
281
|
-
declare const Sidebar: ({ categories, isMobile, onToggle, selectedIndex, onSelect, }: SidebarProps) =>
|
|
282
|
+
declare const Sidebar: ({ categories, isMobile, onToggle, selectedIndex, onSelect, }: SidebarProps) => react_jsx_runtime.JSX.Element;
|
|
282
283
|
|
|
283
284
|
interface UpcomingEventCardProps {
|
|
284
285
|
className?: string;
|
|
@@ -294,7 +295,7 @@ interface UpcomingEventCardProps {
|
|
|
294
295
|
showImage?: boolean;
|
|
295
296
|
}
|
|
296
297
|
|
|
297
|
-
declare const UpcomingEventCard: ({ className, image, date, title, location, description, cta, direction, showImage, }: UpcomingEventCardProps) =>
|
|
298
|
+
declare const UpcomingEventCard: ({ className, image, date, title, location, description, cta, direction, showImage, }: UpcomingEventCardProps) => react_jsx_runtime.JSX.Element;
|
|
298
299
|
|
|
299
300
|
type BadgeBaseProps = {
|
|
300
301
|
children?: ReactNode;
|
|
@@ -372,7 +373,7 @@ interface NewsCardProps {
|
|
|
372
373
|
}) => React.ReactNode;
|
|
373
374
|
}
|
|
374
375
|
|
|
375
|
-
declare const NewsCard: ({ className, image, date, description, tag, title, cta, direction, renderLink, }: NewsCardProps) =>
|
|
376
|
+
declare const NewsCard: ({ className, image, date, description, tag, title, cta, direction, renderLink, }: NewsCardProps) => react_jsx_runtime.JSX.Element;
|
|
376
377
|
|
|
377
378
|
type BlogPostContentBodyProps = {
|
|
378
379
|
children: ReactNode;
|
|
@@ -384,8 +385,8 @@ interface BlogPostContentProps {
|
|
|
384
385
|
body?: ReactNode;
|
|
385
386
|
}
|
|
386
387
|
|
|
387
|
-
declare const BlogPostContent: (({ className, body, children }: BlogPostContentProps) =>
|
|
388
|
-
Body: ({ children }: BlogPostContentBodyProps) =>
|
|
388
|
+
declare const BlogPostContent: (({ className, body, children }: BlogPostContentProps) => react_jsx_runtime.JSX.Element) & {
|
|
389
|
+
Body: ({ children }: BlogPostContentBodyProps) => react_jsx_runtime.JSX.Element;
|
|
389
390
|
};
|
|
390
391
|
|
|
391
392
|
interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
@@ -395,7 +396,7 @@ interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
|
395
396
|
}) => ReactNode;
|
|
396
397
|
}
|
|
397
398
|
|
|
398
|
-
declare const Anchor: ({ children, isExternal, renderLink, ...props }: AnchorProps) =>
|
|
399
|
+
declare const Anchor: ({ children, isExternal, renderLink, ...props }: AnchorProps) => react_jsx_runtime.JSX.Element;
|
|
399
400
|
|
|
400
401
|
interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
401
402
|
children: ReactNode;
|
|
@@ -434,9 +435,9 @@ interface CardCollectionProps {
|
|
|
434
435
|
theme?: 'dark' | 'light';
|
|
435
436
|
}
|
|
436
437
|
|
|
437
|
-
declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) =>
|
|
438
|
-
Title: ({ children }: CardCollectionTitleProps) =>
|
|
439
|
-
Subtitle: ({ children }: CardCollectionSubtitleProps) =>
|
|
438
|
+
declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) => react_jsx_runtime.JSX.Element) & {
|
|
439
|
+
Title: ({ children }: CardCollectionTitleProps) => react_jsx_runtime.JSX.Element;
|
|
440
|
+
Subtitle: ({ children }: CardCollectionSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
440
441
|
};
|
|
441
442
|
|
|
442
443
|
type ContactModuleSubtitleProps = {
|
|
@@ -458,9 +459,9 @@ interface ContactModuleProps {
|
|
|
458
459
|
animateBlur?: boolean;
|
|
459
460
|
}
|
|
460
461
|
|
|
461
|
-
declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) =>
|
|
462
|
-
Title: ({ children }: ContactModuleTitleProps) =>
|
|
463
|
-
Subtitle: ({ children }: ContactModuleSubtitleProps) =>
|
|
462
|
+
declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) => react_jsx_runtime.JSX.Element) & {
|
|
463
|
+
Title: ({ children }: ContactModuleTitleProps) => react_jsx_runtime.JSX.Element;
|
|
464
|
+
Subtitle: ({ children }: ContactModuleSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
464
465
|
};
|
|
465
466
|
|
|
466
467
|
interface IFooterLink {
|
|
@@ -486,7 +487,7 @@ interface FooterProps {
|
|
|
486
487
|
supportContacts?: IFooterSupportGroup[];
|
|
487
488
|
}
|
|
488
489
|
|
|
489
|
-
declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) =>
|
|
490
|
+
declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) => react_jsx_runtime.JSX.Element;
|
|
490
491
|
|
|
491
492
|
type HeroBannerSubtitleProps = {
|
|
492
493
|
children: ReactNode;
|
|
@@ -512,9 +513,9 @@ interface HeroBannerProps {
|
|
|
512
513
|
children?: ReactNode;
|
|
513
514
|
}
|
|
514
515
|
|
|
515
|
-
declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, children, }: HeroBannerProps) =>
|
|
516
|
-
Title: ({ children }: HeroBannerTitleProps) =>
|
|
517
|
-
Subtitle: ({ children }: HeroBannerSubtitleProps) =>
|
|
516
|
+
declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, children, }: HeroBannerProps) => react_jsx_runtime.JSX.Element) & {
|
|
517
|
+
Title: ({ children }: HeroBannerTitleProps) => react_jsx_runtime.JSX.Element;
|
|
518
|
+
Subtitle: ({ children }: HeroBannerSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
518
519
|
};
|
|
519
520
|
|
|
520
521
|
interface HeroBannerCarouselItem {
|
|
@@ -531,7 +532,7 @@ interface HeroBannerCarouselProps {
|
|
|
531
532
|
navNextIcon?: string;
|
|
532
533
|
}
|
|
533
534
|
|
|
534
|
-
declare const HeroBannerCarousel: ({ className, items, navPrevIcon, navNextIcon, }: HeroBannerCarouselProps) =>
|
|
535
|
+
declare const HeroBannerCarousel: ({ className, items, navPrevIcon, navNextIcon, }: HeroBannerCarouselProps) => react_jsx_runtime.JSX.Element | null;
|
|
535
536
|
|
|
536
537
|
interface InternalBrandsTabProps {
|
|
537
538
|
title?: string;
|
|
@@ -554,7 +555,7 @@ interface InternalBrandsTabProps {
|
|
|
554
555
|
}[];
|
|
555
556
|
}
|
|
556
557
|
|
|
557
|
-
declare const InternalBrandsTab: (props: InternalBrandsTabProps) =>
|
|
558
|
+
declare const InternalBrandsTab: (props: InternalBrandsTabProps) => react_jsx_runtime.JSX.Element;
|
|
558
559
|
|
|
559
560
|
type MiniBannerGoBackProps = {
|
|
560
561
|
children: ReactNode;
|
|
@@ -591,10 +592,10 @@ interface MiniBannerProps {
|
|
|
591
592
|
children?: ReactNode;
|
|
592
593
|
}
|
|
593
594
|
|
|
594
|
-
declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, children, }: MiniBannerProps) =>
|
|
595
|
-
Title: ({ children }: MiniBannerTitleProps) =>
|
|
596
|
-
Subtitle: ({ children }: MiniBannerSubtitleProps) =>
|
|
597
|
-
GoBack: ({ children }: MiniBannerGoBackProps) =>
|
|
595
|
+
declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, children, }: MiniBannerProps) => react_jsx_runtime.JSX.Element) & {
|
|
596
|
+
Title: ({ children }: MiniBannerTitleProps) => react_jsx_runtime.JSX.Element;
|
|
597
|
+
Subtitle: ({ children }: MiniBannerSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
598
|
+
GoBack: ({ children }: MiniBannerGoBackProps) => react_jsx_runtime.JSX.Element;
|
|
598
599
|
};
|
|
599
600
|
|
|
600
601
|
type MiniSectionCtaSubtitleProps = {
|
|
@@ -615,9 +616,9 @@ interface MiniSectionCtaProps {
|
|
|
615
616
|
children?: ReactNode;
|
|
616
617
|
}
|
|
617
618
|
|
|
618
|
-
declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, children, }: MiniSectionCtaProps) =>
|
|
619
|
-
Title: ({ children }: MiniSectionCtaTitleProps) =>
|
|
620
|
-
Subtitle: ({ children }: MiniSectionCtaSubtitleProps) =>
|
|
619
|
+
declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, children, }: MiniSectionCtaProps) => react_jsx_runtime.JSX.Element) & {
|
|
620
|
+
Title: ({ children }: MiniSectionCtaTitleProps) => react_jsx_runtime.JSX.Element;
|
|
621
|
+
Subtitle: ({ children }: MiniSectionCtaSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
621
622
|
};
|
|
622
623
|
|
|
623
624
|
type PracticePathCardsFooterProps = {
|
|
@@ -642,10 +643,10 @@ interface PracticePathCardsProps {
|
|
|
642
643
|
cta?: ICta;
|
|
643
644
|
}
|
|
644
645
|
|
|
645
|
-
declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) =>
|
|
646
|
-
Title: ({ children }: PracticePathCardsTitleProps) =>
|
|
647
|
-
Subtitle: ({ children }: PracticePathCardsSubtitleProps) =>
|
|
648
|
-
Footer: ({ children }: PracticePathCardsFooterProps) =>
|
|
646
|
+
declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) => react_jsx_runtime.JSX.Element) & {
|
|
647
|
+
Title: ({ children }: PracticePathCardsTitleProps) => react_jsx_runtime.JSX.Element;
|
|
648
|
+
Subtitle: ({ children }: PracticePathCardsSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
649
|
+
Footer: ({ children }: PracticePathCardsFooterProps) => react_jsx_runtime.JSX.Element;
|
|
649
650
|
};
|
|
650
651
|
|
|
651
652
|
type Teaser5050With3TextTitleProps = {
|
|
@@ -661,8 +662,8 @@ interface Teaser5050With3TextProps {
|
|
|
661
662
|
children?: ReactNode;
|
|
662
663
|
}
|
|
663
664
|
|
|
664
|
-
declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) =>
|
|
665
|
-
Title: ({ children }: Teaser5050With3TextTitleProps) =>
|
|
665
|
+
declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) => react_jsx_runtime.JSX.Element) & {
|
|
666
|
+
Title: ({ children }: Teaser5050With3TextTitleProps) => react_jsx_runtime.JSX.Element;
|
|
666
667
|
};
|
|
667
668
|
|
|
668
669
|
type Teaser5050WithCtaSubtitleProps = {
|
|
@@ -684,9 +685,9 @@ interface Teaser5050WithCtaProps {
|
|
|
684
685
|
bgColor?: string;
|
|
685
686
|
}
|
|
686
687
|
|
|
687
|
-
declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children, bgColor, }: Teaser5050WithCtaProps) =>
|
|
688
|
-
Title: ({ children }: Teaser5050WithCtaTitleProps) =>
|
|
689
|
-
Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) =>
|
|
688
|
+
declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children, bgColor, }: Teaser5050WithCtaProps) => react_jsx_runtime.JSX.Element) & {
|
|
689
|
+
Title: ({ children }: Teaser5050WithCtaTitleProps) => react_jsx_runtime.JSX.Element;
|
|
690
|
+
Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
690
691
|
};
|
|
691
692
|
|
|
692
693
|
type EventListTitleProps = {
|
|
@@ -704,8 +705,8 @@ interface EventListProps extends PropsWithChildren {
|
|
|
704
705
|
variant?: 'internalEventList';
|
|
705
706
|
}
|
|
706
707
|
|
|
707
|
-
declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) =>
|
|
708
|
-
Title: ({ children }: EventListTitleProps) =>
|
|
708
|
+
declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) => react_jsx_runtime.JSX.Element) & {
|
|
709
|
+
Title: ({ children }: EventListTitleProps) => react_jsx_runtime.JSX.Element;
|
|
709
710
|
};
|
|
710
711
|
|
|
711
712
|
type TextEventRichTextProps = {
|
|
@@ -725,9 +726,9 @@ interface TextEventProps {
|
|
|
725
726
|
children?: ReactNode;
|
|
726
727
|
}
|
|
727
728
|
|
|
728
|
-
declare const TextEvent: ((props: TextEventProps) =>
|
|
729
|
-
Title: ({ children }: TextEventTitleProps) =>
|
|
730
|
-
RichText: ({ children }: TextEventRichTextProps) =>
|
|
729
|
+
declare const TextEvent: ((props: TextEventProps) => react_jsx_runtime.JSX.Element) & {
|
|
730
|
+
Title: ({ children }: TextEventTitleProps) => react_jsx_runtime.JSX.Element;
|
|
731
|
+
RichText: ({ children }: TextEventRichTextProps) => react_jsx_runtime.JSX.Element;
|
|
731
732
|
};
|
|
732
733
|
|
|
733
734
|
type TextBodyBodyProps = {
|
|
@@ -745,9 +746,9 @@ interface TextBodyProps {
|
|
|
745
746
|
children?: ReactNode;
|
|
746
747
|
}
|
|
747
748
|
|
|
748
|
-
declare const TextBody: ((props: TextBodyProps) =>
|
|
749
|
-
Title: ({ children }: TextBodyTitleProps) =>
|
|
750
|
-
Body: ({ children }: TextBodyBodyProps) =>
|
|
749
|
+
declare const TextBody: ((props: TextBodyProps) => react_jsx_runtime.JSX.Element) & {
|
|
750
|
+
Title: ({ children }: TextBodyTitleProps) => react_jsx_runtime.JSX.Element;
|
|
751
|
+
Body: ({ children }: TextBodyBodyProps) => react_jsx_runtime.JSX.Element;
|
|
751
752
|
};
|
|
752
753
|
|
|
753
754
|
type TextCenterCtaInBottomSubtitleProps = {
|
|
@@ -766,9 +767,9 @@ interface TextCenterCtaInBottomProps {
|
|
|
766
767
|
children?: ReactNode;
|
|
767
768
|
}
|
|
768
769
|
|
|
769
|
-
declare const TextCenterCtaInBottom: (({ className, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) =>
|
|
770
|
-
Title: ({ children }: TextCenterCtaInBottomTitleProps) =>
|
|
771
|
-
Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) =>
|
|
770
|
+
declare const TextCenterCtaInBottom: (({ className, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) => react_jsx_runtime.JSX.Element) & {
|
|
771
|
+
Title: ({ children }: TextCenterCtaInBottomTitleProps) => react_jsx_runtime.JSX.Element;
|
|
772
|
+
Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
772
773
|
};
|
|
773
774
|
|
|
774
775
|
interface ResourcesGridListProps {
|
|
@@ -781,7 +782,7 @@ interface ResourcesGridListProps {
|
|
|
781
782
|
children?: ReactNode;
|
|
782
783
|
}
|
|
783
784
|
|
|
784
|
-
declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) =>
|
|
785
|
+
declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) => react_jsx_runtime.JSX.Element;
|
|
785
786
|
|
|
786
787
|
type BlogCardGridTitleProps = {
|
|
787
788
|
children: ReactNode;
|
|
@@ -801,8 +802,8 @@ interface BlogCardGridProps extends PropsWithChildren {
|
|
|
801
802
|
}) => React.ReactNode;
|
|
802
803
|
}
|
|
803
804
|
|
|
804
|
-
declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) =>
|
|
805
|
-
Title: ({ children }: BlogCardGridTitleProps) =>
|
|
805
|
+
declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) => react_jsx_runtime.JSX.Element) & {
|
|
806
|
+
Title: ({ children }: BlogCardGridTitleProps) => react_jsx_runtime.JSX.Element;
|
|
806
807
|
};
|
|
807
808
|
|
|
808
809
|
type FeaturedNewsHighlightsTitleProps = {
|
|
@@ -822,8 +823,8 @@ interface FeaturedNewsHighlightsProps extends PropsWithChildren {
|
|
|
822
823
|
}) => React.ReactNode;
|
|
823
824
|
}
|
|
824
825
|
|
|
825
|
-
declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) =>
|
|
826
|
-
Title: ({ children }: FeaturedNewsHighlightsTitleProps) =>
|
|
826
|
+
declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) => react_jsx_runtime.JSX.Element) & {
|
|
827
|
+
Title: ({ children }: FeaturedNewsHighlightsTitleProps) => react_jsx_runtime.JSX.Element;
|
|
827
828
|
};
|
|
828
829
|
|
|
829
830
|
type NewsCardListPaginationProps = {
|
|
@@ -844,8 +845,8 @@ interface NewsCardListProps extends PropsWithChildren {
|
|
|
844
845
|
}) => React.ReactNode;
|
|
845
846
|
}
|
|
846
847
|
|
|
847
|
-
declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) =>
|
|
848
|
-
Pagination: ({ children }: NewsCardListPaginationProps) =>
|
|
848
|
+
declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) => react_jsx_runtime.JSX.Element) & {
|
|
849
|
+
Pagination: ({ children }: NewsCardListPaginationProps) => react_jsx_runtime.JSX.Element;
|
|
849
850
|
};
|
|
850
851
|
|
|
851
852
|
type BlogPostBodyProps = {
|
|
@@ -861,9 +862,9 @@ interface BlogPostProps extends PropsWithChildren, Omit<NewsCardProps, 'descript
|
|
|
861
862
|
relatedArticles?: NewsCardProps[];
|
|
862
863
|
}
|
|
863
864
|
|
|
864
|
-
declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) =>
|
|
865
|
-
Title: ({ children }: BlogPostTitleProps) =>
|
|
866
|
-
Body: ({ children }: BlogPostBodyProps) =>
|
|
865
|
+
declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) => react_jsx_runtime.JSX.Element) & {
|
|
866
|
+
Title: ({ children }: BlogPostTitleProps) => react_jsx_runtime.JSX.Element;
|
|
867
|
+
Body: ({ children }: BlogPostBodyProps) => react_jsx_runtime.JSX.Element;
|
|
867
868
|
};
|
|
868
869
|
|
|
869
870
|
type BlogSearchResultsListPaginationProps = {
|
|
@@ -886,9 +887,9 @@ interface BlogSearchResultsListProps extends PropsWithChildren {
|
|
|
886
887
|
}) => React.ReactNode;
|
|
887
888
|
}
|
|
888
889
|
|
|
889
|
-
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, className, renderLink, children, }: BlogSearchResultsListProps) =>
|
|
890
|
-
Search: ({ children }: BlogSearchResultsListSearchProps) =>
|
|
891
|
-
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) =>
|
|
890
|
+
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, className, renderLink, children, }: BlogSearchResultsListProps) => react_jsx_runtime.JSX.Element) & {
|
|
891
|
+
Search: ({ children }: BlogSearchResultsListSearchProps) => react_jsx_runtime.JSX.Element;
|
|
892
|
+
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) => react_jsx_runtime.JSX.Element;
|
|
892
893
|
};
|
|
893
894
|
|
|
894
895
|
type IntersectionObserverOptions = {
|