@digital-b2c/coreui-kit 0.14.4 → 0.14.5
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.cjs +135 -100
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +17 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +82 -80
- package/dist/index.d.ts +82 -80
- package/dist/index.mjs +63 -28
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
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
|
|
|
@@ -42,6 +43,7 @@ declare const svgs: {
|
|
|
42
43
|
externalLink: string;
|
|
43
44
|
newIcon: string;
|
|
44
45
|
play: string;
|
|
46
|
+
lock: string;
|
|
45
47
|
blankCheckbox: string;
|
|
46
48
|
blankCheckboxWhite: string;
|
|
47
49
|
checkedBox: string;
|
|
@@ -115,7 +117,7 @@ interface BrandsStripProps {
|
|
|
115
117
|
size?: 'small';
|
|
116
118
|
}
|
|
117
119
|
|
|
118
|
-
declare const BrandsStrip: ({ className, variant, title, logos, cta, size, }: BrandsStripProps) =>
|
|
120
|
+
declare const BrandsStrip: ({ className, variant, title, logos, cta, size, }: BrandsStripProps) => react_jsx_runtime.JSX.Element;
|
|
119
121
|
|
|
120
122
|
declare const ButtonVariantReadOnly: readonly ["primary", "secondary", "ghost", "nofill", "grey", "nofillblack", "shiny", "tabbutton", "navnofillblack"];
|
|
121
123
|
type TButtonVariant = (typeof ButtonVariantReadOnly)[number];
|
|
@@ -155,11 +157,11 @@ interface CardProps {
|
|
|
155
157
|
}
|
|
156
158
|
|
|
157
159
|
declare const Card: {
|
|
158
|
-
({ className, variant, title, subtitle, cta, icon, logo, children, ref, }: CardProps):
|
|
160
|
+
({ className, variant, title, subtitle, cta, icon, logo, children, ref, }: CardProps): react_jsx_runtime.JSX.Element;
|
|
159
161
|
displayName: string;
|
|
160
162
|
} & {
|
|
161
|
-
Title: ({ children }: CardTitleProps) =>
|
|
162
|
-
Subtitle: ({ children }: CardSubtitleProps) =>
|
|
163
|
+
Title: ({ children }: CardTitleProps) => react_jsx_runtime.JSX.Element;
|
|
164
|
+
Subtitle: ({ children }: CardSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
163
165
|
};
|
|
164
166
|
|
|
165
167
|
type CountingCardTitleProps = {
|
|
@@ -174,12 +176,12 @@ interface CountingCardProps {
|
|
|
174
176
|
children?: ReactNode;
|
|
175
177
|
}
|
|
176
178
|
|
|
177
|
-
declare const CountingCard: (({ className, title, count, image, children }: CountingCardProps) =>
|
|
178
|
-
Title: ({ children }: CountingCardTitleProps) =>
|
|
179
|
+
declare const CountingCard: (({ className, title, count, image, children }: CountingCardProps) => react_jsx_runtime.JSX.Element) & {
|
|
180
|
+
Title: ({ children }: CountingCardTitleProps) => react_jsx_runtime.JSX.Element;
|
|
179
181
|
};
|
|
180
182
|
|
|
181
183
|
type ResourceView = 'grid' | 'list';
|
|
182
|
-
type ResourceItemType = 'pdf' | 'externalLink';
|
|
184
|
+
type ResourceItemType = 'pdf' | 'externalLink' | 'restricted';
|
|
183
185
|
interface ResourceItem {
|
|
184
186
|
title: string;
|
|
185
187
|
bodyText?: ReactNode;
|
|
@@ -199,7 +201,7 @@ interface ResourceCardItemProps {
|
|
|
199
201
|
}) => React.ReactNode;
|
|
200
202
|
}
|
|
201
203
|
|
|
202
|
-
declare const ResourceCardItem: ({ item, view, variant, renderLink }: ResourceCardItemProps) =>
|
|
204
|
+
declare const ResourceCardItem: ({ item, view, variant, renderLink }: ResourceCardItemProps) => react_jsx_runtime.JSX.Element;
|
|
203
205
|
|
|
204
206
|
type FilterOption = 'all' | 'pdf' | 'externalLink';
|
|
205
207
|
type SortOption = 'latest' | 'oldest' | 'az' | 'za';
|
|
@@ -215,7 +217,7 @@ interface FilterBarProps {
|
|
|
215
217
|
onSearchChange: (v: string) => void;
|
|
216
218
|
}
|
|
217
219
|
|
|
218
|
-
declare function FilterBar({ view, onViewChange, isMobile, filterValue, onFilterChange, sortValue, onSortChange, searchValue, onSearchChange, }: FilterBarProps):
|
|
220
|
+
declare function FilterBar({ view, onViewChange, isMobile, filterValue, onFilterChange, sortValue, onSortChange, searchValue, onSearchChange, }: FilterBarProps): react_jsx_runtime.JSX.Element;
|
|
219
221
|
|
|
220
222
|
type InfoCardSubtitleProps = {
|
|
221
223
|
children: ReactNode;
|
|
@@ -234,9 +236,9 @@ interface InfoCardProps {
|
|
|
234
236
|
children?: ReactNode;
|
|
235
237
|
}
|
|
236
238
|
|
|
237
|
-
declare const InfoCard: (({ className, title, subtitle, icon, badge, children }: InfoCardProps) =>
|
|
238
|
-
Title: ({ children }: InfoCardTitleProps) =>
|
|
239
|
-
Subtitle: ({ children }: InfoCardSubtitleProps) =>
|
|
239
|
+
declare const InfoCard: (({ className, title, subtitle, icon, badge, children }: InfoCardProps) => react_jsx_runtime.JSX.Element) & {
|
|
240
|
+
Title: ({ children }: InfoCardTitleProps) => react_jsx_runtime.JSX.Element;
|
|
241
|
+
Subtitle: ({ children }: InfoCardSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
240
242
|
};
|
|
241
243
|
|
|
242
244
|
interface PaginationProps {
|
|
@@ -257,9 +259,9 @@ interface PaginationProps {
|
|
|
257
259
|
}) => ReactNode;
|
|
258
260
|
}
|
|
259
261
|
|
|
260
|
-
declare const Pagination: ({ className, totalPages, currentPage, loop, hasNumber, disableArrows, onPageChange, showEllipsis, boundaryCount, siblingCount, hidePagesBorder, renderLink, }: PaginationProps) =>
|
|
262
|
+
declare const Pagination: ({ className, totalPages, currentPage, loop, hasNumber, disableArrows, onPageChange, showEllipsis, boundaryCount, siblingCount, hidePagesBorder, renderLink, }: PaginationProps) => react_jsx_runtime.JSX.Element;
|
|
261
263
|
|
|
262
|
-
declare const Picture: ({ className, ...props }: PictureProps) =>
|
|
264
|
+
declare const Picture: ({ className, ...props }: PictureProps) => react_jsx_runtime.JSX.Element;
|
|
263
265
|
|
|
264
266
|
interface PracticeCardProps {
|
|
265
267
|
className?: string;
|
|
@@ -268,7 +270,7 @@ interface PracticeCardProps {
|
|
|
268
270
|
image?: IPicture;
|
|
269
271
|
}
|
|
270
272
|
|
|
271
|
-
declare const PracticeCard: ({ className, title, cta, image }: PracticeCardProps) =>
|
|
273
|
+
declare const PracticeCard: ({ className, title, cta, image }: PracticeCardProps) => react_jsx_runtime.JSX.Element;
|
|
272
274
|
|
|
273
275
|
interface SidebarCategory {
|
|
274
276
|
label: string;
|
|
@@ -288,7 +290,7 @@ interface SidebarProps {
|
|
|
288
290
|
onSelect: (index: number) => void;
|
|
289
291
|
}
|
|
290
292
|
|
|
291
|
-
declare const Sidebar: ({ categories, isMobile, onToggle, selectedIndex, onSelect, }: SidebarProps) =>
|
|
293
|
+
declare const Sidebar: ({ categories, isMobile, onToggle, selectedIndex, onSelect, }: SidebarProps) => react_jsx_runtime.JSX.Element;
|
|
292
294
|
|
|
293
295
|
interface UpcomingEventCardProps {
|
|
294
296
|
className?: string;
|
|
@@ -304,7 +306,7 @@ interface UpcomingEventCardProps {
|
|
|
304
306
|
showImage?: boolean;
|
|
305
307
|
}
|
|
306
308
|
|
|
307
|
-
declare const UpcomingEventCard: ({ className, image, date, title, location, description, cta, direction, showImage, }: UpcomingEventCardProps) =>
|
|
309
|
+
declare const UpcomingEventCard: ({ className, image, date, title, location, description, cta, direction, showImage, }: UpcomingEventCardProps) => react_jsx_runtime.JSX.Element;
|
|
308
310
|
|
|
309
311
|
type BadgeBaseProps = {
|
|
310
312
|
children?: ReactNode;
|
|
@@ -382,7 +384,7 @@ interface NewsCardProps {
|
|
|
382
384
|
}) => React.ReactNode;
|
|
383
385
|
}
|
|
384
386
|
|
|
385
|
-
declare const NewsCard: ({ className, image, date, description, tag, title, cta, direction, renderLink, }: NewsCardProps) =>
|
|
387
|
+
declare const NewsCard: ({ className, image, date, description, tag, title, cta, direction, renderLink, }: NewsCardProps) => react_jsx_runtime.JSX.Element;
|
|
386
388
|
|
|
387
389
|
type BlogPostContentBodyProps = {
|
|
388
390
|
children: ReactNode;
|
|
@@ -394,8 +396,8 @@ interface BlogPostContentProps {
|
|
|
394
396
|
body?: ReactNode;
|
|
395
397
|
}
|
|
396
398
|
|
|
397
|
-
declare const BlogPostContent: (({ className, body, children }: BlogPostContentProps) =>
|
|
398
|
-
Body: ({ children }: BlogPostContentBodyProps) =>
|
|
399
|
+
declare const BlogPostContent: (({ className, body, children }: BlogPostContentProps) => react_jsx_runtime.JSX.Element) & {
|
|
400
|
+
Body: ({ children }: BlogPostContentBodyProps) => react_jsx_runtime.JSX.Element;
|
|
399
401
|
};
|
|
400
402
|
|
|
401
403
|
interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
@@ -405,7 +407,7 @@ interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
|
405
407
|
}) => ReactNode;
|
|
406
408
|
}
|
|
407
409
|
|
|
408
|
-
declare const Anchor: ({ children, isExternal, renderLink, ...props }: AnchorProps) =>
|
|
410
|
+
declare const Anchor: ({ children, isExternal, renderLink, ...props }: AnchorProps) => react_jsx_runtime.JSX.Element;
|
|
409
411
|
|
|
410
412
|
interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
411
413
|
children: ReactNode;
|
|
@@ -444,9 +446,9 @@ interface CardCollectionProps {
|
|
|
444
446
|
theme?: 'dark' | 'light';
|
|
445
447
|
}
|
|
446
448
|
|
|
447
|
-
declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) =>
|
|
448
|
-
Title: ({ children }: CardCollectionTitleProps) =>
|
|
449
|
-
Subtitle: ({ children }: CardCollectionSubtitleProps) =>
|
|
449
|
+
declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) => react_jsx_runtime.JSX.Element) & {
|
|
450
|
+
Title: ({ children }: CardCollectionTitleProps) => react_jsx_runtime.JSX.Element;
|
|
451
|
+
Subtitle: ({ children }: CardCollectionSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
450
452
|
};
|
|
451
453
|
|
|
452
454
|
type ContactModuleSubtitleProps = {
|
|
@@ -468,9 +470,9 @@ interface ContactModuleProps {
|
|
|
468
470
|
animateBlur?: boolean;
|
|
469
471
|
}
|
|
470
472
|
|
|
471
|
-
declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) =>
|
|
472
|
-
Title: ({ children }: ContactModuleTitleProps) =>
|
|
473
|
-
Subtitle: ({ children }: ContactModuleSubtitleProps) =>
|
|
473
|
+
declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) => react_jsx_runtime.JSX.Element) & {
|
|
474
|
+
Title: ({ children }: ContactModuleTitleProps) => react_jsx_runtime.JSX.Element;
|
|
475
|
+
Subtitle: ({ children }: ContactModuleSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
474
476
|
};
|
|
475
477
|
|
|
476
478
|
interface IFooterLink {
|
|
@@ -496,7 +498,7 @@ interface FooterProps {
|
|
|
496
498
|
supportContacts?: IFooterSupportGroup[];
|
|
497
499
|
}
|
|
498
500
|
|
|
499
|
-
declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) =>
|
|
501
|
+
declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) => react_jsx_runtime.JSX.Element;
|
|
500
502
|
|
|
501
503
|
type HeroBannerSubtitleProps = {
|
|
502
504
|
children: ReactNode;
|
|
@@ -522,9 +524,9 @@ interface HeroBannerProps {
|
|
|
522
524
|
children?: ReactNode;
|
|
523
525
|
}
|
|
524
526
|
|
|
525
|
-
declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, children, }: HeroBannerProps) =>
|
|
526
|
-
Title: ({ children }: HeroBannerTitleProps) =>
|
|
527
|
-
Subtitle: ({ children }: HeroBannerSubtitleProps) =>
|
|
527
|
+
declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, children, }: HeroBannerProps) => react_jsx_runtime.JSX.Element) & {
|
|
528
|
+
Title: ({ children }: HeroBannerTitleProps) => react_jsx_runtime.JSX.Element;
|
|
529
|
+
Subtitle: ({ children }: HeroBannerSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
528
530
|
};
|
|
529
531
|
|
|
530
532
|
interface HeroBannerCarouselItem {
|
|
@@ -541,7 +543,7 @@ interface HeroBannerCarouselProps {
|
|
|
541
543
|
navNextIcon?: string;
|
|
542
544
|
}
|
|
543
545
|
|
|
544
|
-
declare const HeroBannerCarousel: ({ className, items, navPrevIcon, navNextIcon, }: HeroBannerCarouselProps) =>
|
|
546
|
+
declare const HeroBannerCarousel: ({ className, items, navPrevIcon, navNextIcon, }: HeroBannerCarouselProps) => react_jsx_runtime.JSX.Element | null;
|
|
545
547
|
|
|
546
548
|
interface InternalBrandsTabProps {
|
|
547
549
|
title?: string;
|
|
@@ -564,7 +566,7 @@ interface InternalBrandsTabProps {
|
|
|
564
566
|
}[];
|
|
565
567
|
}
|
|
566
568
|
|
|
567
|
-
declare const InternalBrandsTab: (props: InternalBrandsTabProps) =>
|
|
569
|
+
declare const InternalBrandsTab: (props: InternalBrandsTabProps) => react_jsx_runtime.JSX.Element;
|
|
568
570
|
|
|
569
571
|
type MiniBannerGoBackProps = {
|
|
570
572
|
children: ReactNode;
|
|
@@ -601,10 +603,10 @@ interface MiniBannerProps {
|
|
|
601
603
|
children?: ReactNode;
|
|
602
604
|
}
|
|
603
605
|
|
|
604
|
-
declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, children, }: MiniBannerProps) =>
|
|
605
|
-
Title: ({ children }: MiniBannerTitleProps) =>
|
|
606
|
-
Subtitle: ({ children }: MiniBannerSubtitleProps) =>
|
|
607
|
-
GoBack: ({ children }: MiniBannerGoBackProps) =>
|
|
606
|
+
declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, children, }: MiniBannerProps) => react_jsx_runtime.JSX.Element) & {
|
|
607
|
+
Title: ({ children }: MiniBannerTitleProps) => react_jsx_runtime.JSX.Element;
|
|
608
|
+
Subtitle: ({ children }: MiniBannerSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
609
|
+
GoBack: ({ children }: MiniBannerGoBackProps) => react_jsx_runtime.JSX.Element;
|
|
608
610
|
};
|
|
609
611
|
|
|
610
612
|
type MiniSectionCtaSubtitleProps = {
|
|
@@ -625,9 +627,9 @@ interface MiniSectionCtaProps {
|
|
|
625
627
|
children?: ReactNode;
|
|
626
628
|
}
|
|
627
629
|
|
|
628
|
-
declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, children, }: MiniSectionCtaProps) =>
|
|
629
|
-
Title: ({ children }: MiniSectionCtaTitleProps) =>
|
|
630
|
-
Subtitle: ({ children }: MiniSectionCtaSubtitleProps) =>
|
|
630
|
+
declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, children, }: MiniSectionCtaProps) => react_jsx_runtime.JSX.Element) & {
|
|
631
|
+
Title: ({ children }: MiniSectionCtaTitleProps) => react_jsx_runtime.JSX.Element;
|
|
632
|
+
Subtitle: ({ children }: MiniSectionCtaSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
631
633
|
};
|
|
632
634
|
|
|
633
635
|
interface BaseNavItem {
|
|
@@ -656,7 +658,7 @@ interface NavigationProps {
|
|
|
656
658
|
};
|
|
657
659
|
}
|
|
658
660
|
|
|
659
|
-
declare const Navigation: (props: NavigationProps) =>
|
|
661
|
+
declare const Navigation: (props: NavigationProps) => react_jsx_runtime.JSX.Element;
|
|
660
662
|
|
|
661
663
|
type PracticePathCardsFooterProps = {
|
|
662
664
|
children: ReactNode;
|
|
@@ -680,10 +682,10 @@ interface PracticePathCardsProps {
|
|
|
680
682
|
cta?: ICta;
|
|
681
683
|
}
|
|
682
684
|
|
|
683
|
-
declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) =>
|
|
684
|
-
Title: ({ children }: PracticePathCardsTitleProps) =>
|
|
685
|
-
Subtitle: ({ children }: PracticePathCardsSubtitleProps) =>
|
|
686
|
-
Footer: ({ children }: PracticePathCardsFooterProps) =>
|
|
685
|
+
declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) => react_jsx_runtime.JSX.Element) & {
|
|
686
|
+
Title: ({ children }: PracticePathCardsTitleProps) => react_jsx_runtime.JSX.Element;
|
|
687
|
+
Subtitle: ({ children }: PracticePathCardsSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
688
|
+
Footer: ({ children }: PracticePathCardsFooterProps) => react_jsx_runtime.JSX.Element;
|
|
687
689
|
};
|
|
688
690
|
|
|
689
691
|
type Teaser5050With3TextTitleProps = {
|
|
@@ -699,8 +701,8 @@ interface Teaser5050With3TextProps {
|
|
|
699
701
|
children?: ReactNode;
|
|
700
702
|
}
|
|
701
703
|
|
|
702
|
-
declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) =>
|
|
703
|
-
Title: ({ children }: Teaser5050With3TextTitleProps) =>
|
|
704
|
+
declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) => react_jsx_runtime.JSX.Element) & {
|
|
705
|
+
Title: ({ children }: Teaser5050With3TextTitleProps) => react_jsx_runtime.JSX.Element;
|
|
704
706
|
};
|
|
705
707
|
|
|
706
708
|
type Teaser5050WithCtaSubtitleProps = {
|
|
@@ -722,9 +724,9 @@ interface Teaser5050WithCtaProps {
|
|
|
722
724
|
bgColor?: string;
|
|
723
725
|
}
|
|
724
726
|
|
|
725
|
-
declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children, bgColor, }: Teaser5050WithCtaProps) =>
|
|
726
|
-
Title: ({ children }: Teaser5050WithCtaTitleProps) =>
|
|
727
|
-
Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) =>
|
|
727
|
+
declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children, bgColor, }: Teaser5050WithCtaProps) => react_jsx_runtime.JSX.Element) & {
|
|
728
|
+
Title: ({ children }: Teaser5050WithCtaTitleProps) => react_jsx_runtime.JSX.Element;
|
|
729
|
+
Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
728
730
|
};
|
|
729
731
|
|
|
730
732
|
type EventListEmptyProps = {
|
|
@@ -746,9 +748,9 @@ interface EventListProps extends PropsWithChildren {
|
|
|
746
748
|
variant?: 'internalEventList';
|
|
747
749
|
}
|
|
748
750
|
|
|
749
|
-
declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) =>
|
|
750
|
-
Title: ({ children }: EventListTitleProps) =>
|
|
751
|
-
Empty: ({ children }: EventListEmptyProps) =>
|
|
751
|
+
declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) => react_jsx_runtime.JSX.Element) & {
|
|
752
|
+
Title: ({ children }: EventListTitleProps) => react_jsx_runtime.JSX.Element;
|
|
753
|
+
Empty: ({ children }: EventListEmptyProps) => react_jsx_runtime.JSX.Element;
|
|
752
754
|
};
|
|
753
755
|
|
|
754
756
|
type TextEventRichTextProps = {
|
|
@@ -768,9 +770,9 @@ interface TextEventProps {
|
|
|
768
770
|
children?: ReactNode;
|
|
769
771
|
}
|
|
770
772
|
|
|
771
|
-
declare const TextEvent: ((props: TextEventProps) =>
|
|
772
|
-
Title: ({ children }: TextEventTitleProps) =>
|
|
773
|
-
RichText: ({ children }: TextEventRichTextProps) =>
|
|
773
|
+
declare const TextEvent: ((props: TextEventProps) => react_jsx_runtime.JSX.Element) & {
|
|
774
|
+
Title: ({ children }: TextEventTitleProps) => react_jsx_runtime.JSX.Element;
|
|
775
|
+
RichText: ({ children }: TextEventRichTextProps) => react_jsx_runtime.JSX.Element;
|
|
774
776
|
};
|
|
775
777
|
|
|
776
778
|
type TextBodyBodyProps = {
|
|
@@ -788,9 +790,9 @@ interface TextBodyProps {
|
|
|
788
790
|
children?: ReactNode;
|
|
789
791
|
}
|
|
790
792
|
|
|
791
|
-
declare const TextBody: ((props: TextBodyProps) =>
|
|
792
|
-
Title: ({ children }: TextBodyTitleProps) =>
|
|
793
|
-
Body: ({ children }: TextBodyBodyProps) =>
|
|
793
|
+
declare const TextBody: ((props: TextBodyProps) => react_jsx_runtime.JSX.Element) & {
|
|
794
|
+
Title: ({ children }: TextBodyTitleProps) => react_jsx_runtime.JSX.Element;
|
|
795
|
+
Body: ({ children }: TextBodyBodyProps) => react_jsx_runtime.JSX.Element;
|
|
794
796
|
};
|
|
795
797
|
|
|
796
798
|
type TextCenterCtaInBottomSubtitleProps = {
|
|
@@ -809,9 +811,9 @@ interface TextCenterCtaInBottomProps {
|
|
|
809
811
|
children?: ReactNode;
|
|
810
812
|
}
|
|
811
813
|
|
|
812
|
-
declare const TextCenterCtaInBottom: (({ className, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) =>
|
|
813
|
-
Title: ({ children }: TextCenterCtaInBottomTitleProps) =>
|
|
814
|
-
Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) =>
|
|
814
|
+
declare const TextCenterCtaInBottom: (({ className, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) => react_jsx_runtime.JSX.Element) & {
|
|
815
|
+
Title: ({ children }: TextCenterCtaInBottomTitleProps) => react_jsx_runtime.JSX.Element;
|
|
816
|
+
Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
815
817
|
};
|
|
816
818
|
|
|
817
819
|
interface ResourcesGridListProps {
|
|
@@ -824,7 +826,7 @@ interface ResourcesGridListProps {
|
|
|
824
826
|
children?: ReactNode;
|
|
825
827
|
}
|
|
826
828
|
|
|
827
|
-
declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) =>
|
|
829
|
+
declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) => react_jsx_runtime.JSX.Element;
|
|
828
830
|
|
|
829
831
|
type BlogCardGridTitleProps = {
|
|
830
832
|
children: ReactNode;
|
|
@@ -844,8 +846,8 @@ interface BlogCardGridProps extends PropsWithChildren {
|
|
|
844
846
|
}) => React.ReactNode;
|
|
845
847
|
}
|
|
846
848
|
|
|
847
|
-
declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) =>
|
|
848
|
-
Title: ({ children }: BlogCardGridTitleProps) =>
|
|
849
|
+
declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) => react_jsx_runtime.JSX.Element) & {
|
|
850
|
+
Title: ({ children }: BlogCardGridTitleProps) => react_jsx_runtime.JSX.Element;
|
|
849
851
|
};
|
|
850
852
|
|
|
851
853
|
type FeaturedNewsHighlightsTitleProps = {
|
|
@@ -865,8 +867,8 @@ interface FeaturedNewsHighlightsProps extends PropsWithChildren {
|
|
|
865
867
|
}) => React.ReactNode;
|
|
866
868
|
}
|
|
867
869
|
|
|
868
|
-
declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) =>
|
|
869
|
-
Title: ({ children }: FeaturedNewsHighlightsTitleProps) =>
|
|
870
|
+
declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) => react_jsx_runtime.JSX.Element) & {
|
|
871
|
+
Title: ({ children }: FeaturedNewsHighlightsTitleProps) => react_jsx_runtime.JSX.Element;
|
|
870
872
|
};
|
|
871
873
|
|
|
872
874
|
type NewsCardListPaginationProps = {
|
|
@@ -887,8 +889,8 @@ interface NewsCardListProps extends PropsWithChildren {
|
|
|
887
889
|
}) => React.ReactNode;
|
|
888
890
|
}
|
|
889
891
|
|
|
890
|
-
declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) =>
|
|
891
|
-
Pagination: ({ children }: NewsCardListPaginationProps) =>
|
|
892
|
+
declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) => react_jsx_runtime.JSX.Element) & {
|
|
893
|
+
Pagination: ({ children }: NewsCardListPaginationProps) => react_jsx_runtime.JSX.Element;
|
|
892
894
|
};
|
|
893
895
|
|
|
894
896
|
type BlogPostBodyProps = {
|
|
@@ -904,9 +906,9 @@ interface BlogPostProps extends PropsWithChildren, Omit<NewsCardProps, 'descript
|
|
|
904
906
|
relatedArticles?: NewsCardProps[];
|
|
905
907
|
}
|
|
906
908
|
|
|
907
|
-
declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) =>
|
|
908
|
-
Title: ({ children }: BlogPostTitleProps) =>
|
|
909
|
-
Body: ({ children }: BlogPostBodyProps) =>
|
|
909
|
+
declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) => react_jsx_runtime.JSX.Element) & {
|
|
910
|
+
Title: ({ children }: BlogPostTitleProps) => react_jsx_runtime.JSX.Element;
|
|
911
|
+
Body: ({ children }: BlogPostBodyProps) => react_jsx_runtime.JSX.Element;
|
|
910
912
|
};
|
|
911
913
|
|
|
912
914
|
type BlogSearchResultsListPaginationProps = {
|
|
@@ -930,9 +932,9 @@ interface BlogSearchResultsListProps extends PropsWithChildren {
|
|
|
930
932
|
}) => React.ReactNode;
|
|
931
933
|
}
|
|
932
934
|
|
|
933
|
-
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) =>
|
|
934
|
-
Search: ({ children }: BlogSearchResultsListSearchProps) =>
|
|
935
|
-
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) =>
|
|
935
|
+
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) => react_jsx_runtime.JSX.Element) & {
|
|
936
|
+
Search: ({ children }: BlogSearchResultsListSearchProps) => react_jsx_runtime.JSX.Element;
|
|
937
|
+
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) => react_jsx_runtime.JSX.Element;
|
|
936
938
|
};
|
|
937
939
|
|
|
938
940
|
type GlobalSearchResultsListPaginationProps = {
|
|
@@ -952,9 +954,9 @@ interface GlobalSearchResultsListProps extends PropsWithChildren {
|
|
|
952
954
|
}) => React.ReactNode;
|
|
953
955
|
}
|
|
954
956
|
|
|
955
|
-
declare const GlobalSearchResultsList: (({ items, searchResult, className, renderLink, children, }: GlobalSearchResultsListProps) =>
|
|
956
|
-
Search: ({ children }: GlobalSearchResultsListSearchProps) =>
|
|
957
|
-
Pagination: ({ children, }: GlobalSearchResultsListPaginationProps) =>
|
|
957
|
+
declare const GlobalSearchResultsList: (({ items, searchResult, className, renderLink, children, }: GlobalSearchResultsListProps) => react_jsx_runtime.JSX.Element) & {
|
|
958
|
+
Search: ({ children }: GlobalSearchResultsListSearchProps) => react_jsx_runtime.JSX.Element;
|
|
959
|
+
Pagination: ({ children, }: GlobalSearchResultsListPaginationProps) => react_jsx_runtime.JSX.Element;
|
|
958
960
|
};
|
|
959
961
|
|
|
960
962
|
type TextCenterWithMediaTitleProps = {
|
|
@@ -973,8 +975,8 @@ interface TextCenterWithMediaProps {
|
|
|
973
975
|
children?: ReactNode;
|
|
974
976
|
}
|
|
975
977
|
|
|
976
|
-
declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, loop, mute, hideControl, autoPlay, children, }: TextCenterWithMediaProps) =>
|
|
977
|
-
Title: ({ children }: TextCenterWithMediaTitleProps) =>
|
|
978
|
+
declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, loop, mute, hideControl, autoPlay, children, }: TextCenterWithMediaProps) => react_jsx_runtime.JSX.Element) & {
|
|
979
|
+
Title: ({ children }: TextCenterWithMediaTitleProps) => react_jsx_runtime.JSX.Element;
|
|
978
980
|
};
|
|
979
981
|
|
|
980
982
|
type IntersectionObserverOptions = {
|