@digital-b2c/coreui-kit 0.15.3 → 0.15.4
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.map +1 -1
- package/dist/index.css +2 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +82 -83
- package/dist/index.d.ts +82 -83
- package/dist/index.mjs.map +1 -1
- package/dist/types/global.d.ts +25 -25
- package/package.json +101 -101
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as react from 'react';
|
|
3
2
|
import react__default, { ImgHTMLAttributes, AnchorHTMLAttributes, ReactNode, Ref, HTMLAttributes, ButtonHTMLAttributes, InputHTMLAttributes, PropsWithChildren, JSX, FC, CSSProperties } from 'react';
|
|
4
3
|
|
|
@@ -118,7 +117,7 @@ interface BrandsStripProps {
|
|
|
118
117
|
size?: 'small';
|
|
119
118
|
}
|
|
120
119
|
|
|
121
|
-
declare const BrandsStrip: ({ className, variant, title, logos, cta, size, }: BrandsStripProps) =>
|
|
120
|
+
declare const BrandsStrip: ({ className, variant, title, logos, cta, size, }: BrandsStripProps) => react.JSX.Element;
|
|
122
121
|
|
|
123
122
|
declare const ButtonVariantReadOnly: readonly ["primary", "secondary", "ghost", "nofill", "grey", "nofillblack", "shiny", "tabbutton", "navnofillblack"];
|
|
124
123
|
type TButtonVariant = (typeof ButtonVariantReadOnly)[number];
|
|
@@ -158,11 +157,11 @@ interface CardProps {
|
|
|
158
157
|
}
|
|
159
158
|
|
|
160
159
|
declare const Card: {
|
|
161
|
-
({ className, variant, title, subtitle, cta, icon, logo, children, ref, }: CardProps):
|
|
160
|
+
({ className, variant, title, subtitle, cta, icon, logo, children, ref, }: CardProps): react.JSX.Element;
|
|
162
161
|
displayName: string;
|
|
163
162
|
} & {
|
|
164
|
-
Title: ({ children }: CardTitleProps) =>
|
|
165
|
-
Subtitle: ({ children }: CardSubtitleProps) =>
|
|
163
|
+
Title: ({ children }: CardTitleProps) => react.JSX.Element;
|
|
164
|
+
Subtitle: ({ children }: CardSubtitleProps) => react.JSX.Element;
|
|
166
165
|
};
|
|
167
166
|
|
|
168
167
|
type CountingCardTitleProps = {
|
|
@@ -177,8 +176,8 @@ interface CountingCardProps {
|
|
|
177
176
|
children?: ReactNode;
|
|
178
177
|
}
|
|
179
178
|
|
|
180
|
-
declare const CountingCard: (({ className, title, count, image, children }: CountingCardProps) =>
|
|
181
|
-
Title: ({ children }: CountingCardTitleProps) =>
|
|
179
|
+
declare const CountingCard: (({ className, title, count, image, children }: CountingCardProps) => react.JSX.Element) & {
|
|
180
|
+
Title: ({ children }: CountingCardTitleProps) => react.JSX.Element;
|
|
182
181
|
};
|
|
183
182
|
|
|
184
183
|
type ResourceView = 'grid' | 'list';
|
|
@@ -202,7 +201,7 @@ interface ResourceCardItemProps {
|
|
|
202
201
|
}) => React.ReactNode;
|
|
203
202
|
}
|
|
204
203
|
|
|
205
|
-
declare const ResourceCardItem: ({ item, view, variant, renderLink }: ResourceCardItemProps) =>
|
|
204
|
+
declare const ResourceCardItem: ({ item, view, variant, renderLink }: ResourceCardItemProps) => react.JSX.Element;
|
|
206
205
|
|
|
207
206
|
type FilterOption = 'all' | 'pdf' | 'externalLink';
|
|
208
207
|
type SortOption = 'latest' | 'oldest' | 'az' | 'za';
|
|
@@ -218,7 +217,7 @@ interface FilterBarProps {
|
|
|
218
217
|
onSearchChange: (v: string) => void;
|
|
219
218
|
}
|
|
220
219
|
|
|
221
|
-
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.Element;
|
|
222
221
|
|
|
223
222
|
type InfoCardSubtitleProps = {
|
|
224
223
|
children: ReactNode;
|
|
@@ -237,9 +236,9 @@ interface InfoCardProps {
|
|
|
237
236
|
children?: ReactNode;
|
|
238
237
|
}
|
|
239
238
|
|
|
240
|
-
declare const InfoCard: (({ className, title, subtitle, icon, badge, children }: InfoCardProps) =>
|
|
241
|
-
Title: ({ children }: InfoCardTitleProps) =>
|
|
242
|
-
Subtitle: ({ children }: InfoCardSubtitleProps) =>
|
|
239
|
+
declare const InfoCard: (({ className, title, subtitle, icon, badge, children }: InfoCardProps) => react.JSX.Element) & {
|
|
240
|
+
Title: ({ children }: InfoCardTitleProps) => react.JSX.Element;
|
|
241
|
+
Subtitle: ({ children }: InfoCardSubtitleProps) => react.JSX.Element;
|
|
243
242
|
};
|
|
244
243
|
|
|
245
244
|
interface PaginationProps {
|
|
@@ -260,9 +259,9 @@ interface PaginationProps {
|
|
|
260
259
|
}) => ReactNode;
|
|
261
260
|
}
|
|
262
261
|
|
|
263
|
-
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.Element;
|
|
264
263
|
|
|
265
|
-
declare const Picture: ({ className, ...props }: PictureProps) =>
|
|
264
|
+
declare const Picture: ({ className, ...props }: PictureProps) => react.JSX.Element;
|
|
266
265
|
|
|
267
266
|
interface PracticeCardProps {
|
|
268
267
|
className?: string;
|
|
@@ -271,7 +270,7 @@ interface PracticeCardProps {
|
|
|
271
270
|
image?: IPicture;
|
|
272
271
|
}
|
|
273
272
|
|
|
274
|
-
declare const PracticeCard: ({ className, title, cta, image }: PracticeCardProps) =>
|
|
273
|
+
declare const PracticeCard: ({ className, title, cta, image }: PracticeCardProps) => react.JSX.Element;
|
|
275
274
|
|
|
276
275
|
interface SidebarCategory {
|
|
277
276
|
label: string;
|
|
@@ -291,7 +290,7 @@ interface SidebarProps {
|
|
|
291
290
|
onSelect: (index: number) => void;
|
|
292
291
|
}
|
|
293
292
|
|
|
294
|
-
declare const Sidebar: ({ categories, isMobile, onToggle, selectedIndex, onSelect, }: SidebarProps) =>
|
|
293
|
+
declare const Sidebar: ({ categories, isMobile, onToggle, selectedIndex, onSelect, }: SidebarProps) => react.JSX.Element;
|
|
295
294
|
|
|
296
295
|
interface UpcomingEventCardProps {
|
|
297
296
|
className?: string;
|
|
@@ -307,7 +306,7 @@ interface UpcomingEventCardProps {
|
|
|
307
306
|
showImage?: boolean;
|
|
308
307
|
}
|
|
309
308
|
|
|
310
|
-
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.Element;
|
|
311
310
|
|
|
312
311
|
type BadgeBaseProps = {
|
|
313
312
|
children?: ReactNode;
|
|
@@ -385,7 +384,7 @@ interface NewsCardProps {
|
|
|
385
384
|
}) => React.ReactNode;
|
|
386
385
|
}
|
|
387
386
|
|
|
388
|
-
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.Element;
|
|
389
388
|
|
|
390
389
|
type BlogPostContentBodyProps = {
|
|
391
390
|
children: ReactNode;
|
|
@@ -397,8 +396,8 @@ interface BlogPostContentProps {
|
|
|
397
396
|
body?: ReactNode;
|
|
398
397
|
}
|
|
399
398
|
|
|
400
|
-
declare const BlogPostContent: (({ className, body, children }: BlogPostContentProps) =>
|
|
401
|
-
Body: ({ children }: BlogPostContentBodyProps) =>
|
|
399
|
+
declare const BlogPostContent: (({ className, body, children }: BlogPostContentProps) => react.JSX.Element) & {
|
|
400
|
+
Body: ({ children }: BlogPostContentBodyProps) => react.JSX.Element;
|
|
402
401
|
};
|
|
403
402
|
|
|
404
403
|
interface SearchProps {
|
|
@@ -415,7 +414,7 @@ interface SearchProps {
|
|
|
415
414
|
className?: string;
|
|
416
415
|
}
|
|
417
416
|
|
|
418
|
-
declare const Search: ({ placeholder, searchCta, onSearch, variant, className, }: SearchProps) =>
|
|
417
|
+
declare const Search: ({ placeholder, searchCta, onSearch, variant, className, }: SearchProps) => react.JSX.Element;
|
|
419
418
|
|
|
420
419
|
interface UserMenuItem {
|
|
421
420
|
label: string;
|
|
@@ -454,7 +453,7 @@ interface UserMenuProps {
|
|
|
454
453
|
* Escape or outside interaction).
|
|
455
454
|
* - Without `menuItems`, renders a plain link (when `url` is set) or button.
|
|
456
455
|
*/
|
|
457
|
-
declare const UserMenu: ({ user, className, dropUp, fullWidth }: UserMenuProps) =>
|
|
456
|
+
declare const UserMenu: ({ user, className, dropUp, fullWidth }: UserMenuProps) => react.JSX.Element;
|
|
458
457
|
|
|
459
458
|
interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
460
459
|
isExternal?: boolean;
|
|
@@ -463,7 +462,7 @@ interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
|
463
462
|
}) => ReactNode;
|
|
464
463
|
}
|
|
465
464
|
|
|
466
|
-
declare const Anchor: ({ children, isExternal, renderLink, ...props }: AnchorProps) =>
|
|
465
|
+
declare const Anchor: ({ children, isExternal, renderLink, ...props }: AnchorProps) => react.JSX.Element;
|
|
467
466
|
|
|
468
467
|
interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
469
468
|
children: ReactNode;
|
|
@@ -502,9 +501,9 @@ interface CardCollectionProps {
|
|
|
502
501
|
theme?: 'dark' | 'light';
|
|
503
502
|
}
|
|
504
503
|
|
|
505
|
-
declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) =>
|
|
506
|
-
Title: ({ children }: CardCollectionTitleProps) =>
|
|
507
|
-
Subtitle: ({ children }: CardCollectionSubtitleProps) =>
|
|
504
|
+
declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) => react.JSX.Element) & {
|
|
505
|
+
Title: ({ children }: CardCollectionTitleProps) => react.JSX.Element;
|
|
506
|
+
Subtitle: ({ children }: CardCollectionSubtitleProps) => react.JSX.Element;
|
|
508
507
|
};
|
|
509
508
|
|
|
510
509
|
type ContactModuleSubtitleProps = {
|
|
@@ -526,9 +525,9 @@ interface ContactModuleProps {
|
|
|
526
525
|
animateBlur?: boolean;
|
|
527
526
|
}
|
|
528
527
|
|
|
529
|
-
declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) =>
|
|
530
|
-
Title: ({ children }: ContactModuleTitleProps) =>
|
|
531
|
-
Subtitle: ({ children }: ContactModuleSubtitleProps) =>
|
|
528
|
+
declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) => react.JSX.Element) & {
|
|
529
|
+
Title: ({ children }: ContactModuleTitleProps) => react.JSX.Element;
|
|
530
|
+
Subtitle: ({ children }: ContactModuleSubtitleProps) => react.JSX.Element;
|
|
532
531
|
};
|
|
533
532
|
|
|
534
533
|
interface IFooterLink {
|
|
@@ -554,7 +553,7 @@ interface FooterProps {
|
|
|
554
553
|
supportContacts?: IFooterSupportGroup[];
|
|
555
554
|
}
|
|
556
555
|
|
|
557
|
-
declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) =>
|
|
556
|
+
declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) => react.JSX.Element;
|
|
558
557
|
|
|
559
558
|
type HeroBannerSubtitleProps = {
|
|
560
559
|
children: ReactNode;
|
|
@@ -580,9 +579,9 @@ interface HeroBannerProps {
|
|
|
580
579
|
children?: ReactNode;
|
|
581
580
|
}
|
|
582
581
|
|
|
583
|
-
declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, children, }: HeroBannerProps) =>
|
|
584
|
-
Title: ({ children }: HeroBannerTitleProps) =>
|
|
585
|
-
Subtitle: ({ children }: HeroBannerSubtitleProps) =>
|
|
582
|
+
declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, children, }: HeroBannerProps) => react.JSX.Element) & {
|
|
583
|
+
Title: ({ children }: HeroBannerTitleProps) => react.JSX.Element;
|
|
584
|
+
Subtitle: ({ children }: HeroBannerSubtitleProps) => react.JSX.Element;
|
|
586
585
|
};
|
|
587
586
|
|
|
588
587
|
interface HeroBannerCarouselItem {
|
|
@@ -599,7 +598,7 @@ interface HeroBannerCarouselProps {
|
|
|
599
598
|
navNextIcon?: string;
|
|
600
599
|
}
|
|
601
600
|
|
|
602
|
-
declare const HeroBannerCarousel: ({ className, items, navPrevIcon, navNextIcon, }: HeroBannerCarouselProps) =>
|
|
601
|
+
declare const HeroBannerCarousel: ({ className, items, navPrevIcon, navNextIcon, }: HeroBannerCarouselProps) => react.JSX.Element | null;
|
|
603
602
|
|
|
604
603
|
interface InternalBrandsTabProps {
|
|
605
604
|
title?: string;
|
|
@@ -622,7 +621,7 @@ interface InternalBrandsTabProps {
|
|
|
622
621
|
}[];
|
|
623
622
|
}
|
|
624
623
|
|
|
625
|
-
declare const InternalBrandsTab: (props: InternalBrandsTabProps) =>
|
|
624
|
+
declare const InternalBrandsTab: (props: InternalBrandsTabProps) => react.JSX.Element;
|
|
626
625
|
|
|
627
626
|
type MiniBannerGoBackProps = {
|
|
628
627
|
children: ReactNode;
|
|
@@ -659,10 +658,10 @@ interface MiniBannerProps {
|
|
|
659
658
|
children?: ReactNode;
|
|
660
659
|
}
|
|
661
660
|
|
|
662
|
-
declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, children, }: MiniBannerProps) =>
|
|
663
|
-
Title: ({ children }: MiniBannerTitleProps) =>
|
|
664
|
-
Subtitle: ({ children }: MiniBannerSubtitleProps) =>
|
|
665
|
-
GoBack: ({ children }: MiniBannerGoBackProps) =>
|
|
661
|
+
declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, children, }: MiniBannerProps) => react.JSX.Element) & {
|
|
662
|
+
Title: ({ children }: MiniBannerTitleProps) => react.JSX.Element;
|
|
663
|
+
Subtitle: ({ children }: MiniBannerSubtitleProps) => react.JSX.Element;
|
|
664
|
+
GoBack: ({ children }: MiniBannerGoBackProps) => react.JSX.Element;
|
|
666
665
|
};
|
|
667
666
|
|
|
668
667
|
type MiniSectionCtaSubtitleProps = {
|
|
@@ -683,9 +682,9 @@ interface MiniSectionCtaProps {
|
|
|
683
682
|
children?: ReactNode;
|
|
684
683
|
}
|
|
685
684
|
|
|
686
|
-
declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, children, }: MiniSectionCtaProps) =>
|
|
687
|
-
Title: ({ children }: MiniSectionCtaTitleProps) =>
|
|
688
|
-
Subtitle: ({ children }: MiniSectionCtaSubtitleProps) =>
|
|
685
|
+
declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, children, }: MiniSectionCtaProps) => react.JSX.Element) & {
|
|
686
|
+
Title: ({ children }: MiniSectionCtaTitleProps) => react.JSX.Element;
|
|
687
|
+
Subtitle: ({ children }: MiniSectionCtaSubtitleProps) => react.JSX.Element;
|
|
689
688
|
};
|
|
690
689
|
|
|
691
690
|
interface BaseNavItem {
|
|
@@ -737,7 +736,7 @@ interface NavigationProps {
|
|
|
737
736
|
brandLogos?: NavigationBrandLogos;
|
|
738
737
|
}
|
|
739
738
|
|
|
740
|
-
declare const Navigation: (props: NavigationProps) =>
|
|
739
|
+
declare const Navigation: (props: NavigationProps) => react.JSX.Element;
|
|
741
740
|
|
|
742
741
|
type PracticePathCardsFooterProps = {
|
|
743
742
|
children: ReactNode;
|
|
@@ -761,10 +760,10 @@ interface PracticePathCardsProps {
|
|
|
761
760
|
cta?: ICta;
|
|
762
761
|
}
|
|
763
762
|
|
|
764
|
-
declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) =>
|
|
765
|
-
Title: ({ children }: PracticePathCardsTitleProps) =>
|
|
766
|
-
Subtitle: ({ children }: PracticePathCardsSubtitleProps) =>
|
|
767
|
-
Footer: ({ children }: PracticePathCardsFooterProps) =>
|
|
763
|
+
declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) => react.JSX.Element) & {
|
|
764
|
+
Title: ({ children }: PracticePathCardsTitleProps) => react.JSX.Element;
|
|
765
|
+
Subtitle: ({ children }: PracticePathCardsSubtitleProps) => react.JSX.Element;
|
|
766
|
+
Footer: ({ children }: PracticePathCardsFooterProps) => react.JSX.Element;
|
|
768
767
|
};
|
|
769
768
|
|
|
770
769
|
type Teaser5050With3TextTitleProps = {
|
|
@@ -780,8 +779,8 @@ interface Teaser5050With3TextProps {
|
|
|
780
779
|
children?: ReactNode;
|
|
781
780
|
}
|
|
782
781
|
|
|
783
|
-
declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) =>
|
|
784
|
-
Title: ({ children }: Teaser5050With3TextTitleProps) =>
|
|
782
|
+
declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) => react.JSX.Element) & {
|
|
783
|
+
Title: ({ children }: Teaser5050With3TextTitleProps) => react.JSX.Element;
|
|
785
784
|
};
|
|
786
785
|
|
|
787
786
|
type Teaser5050WithCtaSubtitleProps = {
|
|
@@ -803,9 +802,9 @@ interface Teaser5050WithCtaProps {
|
|
|
803
802
|
bgColor?: string;
|
|
804
803
|
}
|
|
805
804
|
|
|
806
|
-
declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children, bgColor, }: Teaser5050WithCtaProps) =>
|
|
807
|
-
Title: ({ children }: Teaser5050WithCtaTitleProps) =>
|
|
808
|
-
Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) =>
|
|
805
|
+
declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children, bgColor, }: Teaser5050WithCtaProps) => react.JSX.Element) & {
|
|
806
|
+
Title: ({ children }: Teaser5050WithCtaTitleProps) => react.JSX.Element;
|
|
807
|
+
Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) => react.JSX.Element;
|
|
809
808
|
};
|
|
810
809
|
|
|
811
810
|
type EventListEmptyProps = {
|
|
@@ -827,9 +826,9 @@ interface EventListProps extends PropsWithChildren {
|
|
|
827
826
|
variant?: 'internalEventList';
|
|
828
827
|
}
|
|
829
828
|
|
|
830
|
-
declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) =>
|
|
831
|
-
Title: ({ children }: EventListTitleProps) =>
|
|
832
|
-
Empty: ({ children }: EventListEmptyProps) =>
|
|
829
|
+
declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) => react.JSX.Element) & {
|
|
830
|
+
Title: ({ children }: EventListTitleProps) => react.JSX.Element;
|
|
831
|
+
Empty: ({ children }: EventListEmptyProps) => react.JSX.Element;
|
|
833
832
|
};
|
|
834
833
|
|
|
835
834
|
type TextEventRichTextProps = {
|
|
@@ -849,9 +848,9 @@ interface TextEventProps {
|
|
|
849
848
|
children?: ReactNode;
|
|
850
849
|
}
|
|
851
850
|
|
|
852
|
-
declare const TextEvent: ((props: TextEventProps) =>
|
|
853
|
-
Title: ({ children }: TextEventTitleProps) =>
|
|
854
|
-
RichText: ({ children }: TextEventRichTextProps) =>
|
|
851
|
+
declare const TextEvent: ((props: TextEventProps) => react.JSX.Element) & {
|
|
852
|
+
Title: ({ children }: TextEventTitleProps) => react.JSX.Element;
|
|
853
|
+
RichText: ({ children }: TextEventRichTextProps) => react.JSX.Element;
|
|
855
854
|
};
|
|
856
855
|
|
|
857
856
|
type TextBodyBodyProps = {
|
|
@@ -869,9 +868,9 @@ interface TextBodyProps {
|
|
|
869
868
|
children?: ReactNode;
|
|
870
869
|
}
|
|
871
870
|
|
|
872
|
-
declare const TextBody: ((props: TextBodyProps) =>
|
|
873
|
-
Title: ({ children }: TextBodyTitleProps) =>
|
|
874
|
-
Body: ({ children }: TextBodyBodyProps) =>
|
|
871
|
+
declare const TextBody: ((props: TextBodyProps) => react.JSX.Element) & {
|
|
872
|
+
Title: ({ children }: TextBodyTitleProps) => react.JSX.Element;
|
|
873
|
+
Body: ({ children }: TextBodyBodyProps) => react.JSX.Element;
|
|
875
874
|
};
|
|
876
875
|
|
|
877
876
|
type TextCenterCtaInBottomSubtitleProps = {
|
|
@@ -890,9 +889,9 @@ interface TextCenterCtaInBottomProps {
|
|
|
890
889
|
children?: ReactNode;
|
|
891
890
|
}
|
|
892
891
|
|
|
893
|
-
declare const TextCenterCtaInBottom: (({ className, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) =>
|
|
894
|
-
Title: ({ children }: TextCenterCtaInBottomTitleProps) =>
|
|
895
|
-
Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) =>
|
|
892
|
+
declare const TextCenterCtaInBottom: (({ className, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) => react.JSX.Element) & {
|
|
893
|
+
Title: ({ children }: TextCenterCtaInBottomTitleProps) => react.JSX.Element;
|
|
894
|
+
Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) => react.JSX.Element;
|
|
896
895
|
};
|
|
897
896
|
|
|
898
897
|
interface ResourcesGridListProps {
|
|
@@ -905,7 +904,7 @@ interface ResourcesGridListProps {
|
|
|
905
904
|
children?: ReactNode;
|
|
906
905
|
}
|
|
907
906
|
|
|
908
|
-
declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) =>
|
|
907
|
+
declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) => react.JSX.Element;
|
|
909
908
|
|
|
910
909
|
type BlogCardGridTitleProps = {
|
|
911
910
|
children: ReactNode;
|
|
@@ -925,8 +924,8 @@ interface BlogCardGridProps extends PropsWithChildren {
|
|
|
925
924
|
}) => React.ReactNode;
|
|
926
925
|
}
|
|
927
926
|
|
|
928
|
-
declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) =>
|
|
929
|
-
Title: ({ children }: BlogCardGridTitleProps) =>
|
|
927
|
+
declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) => react.JSX.Element) & {
|
|
928
|
+
Title: ({ children }: BlogCardGridTitleProps) => react.JSX.Element;
|
|
930
929
|
};
|
|
931
930
|
|
|
932
931
|
type FeaturedNewsHighlightsTitleProps = {
|
|
@@ -946,8 +945,8 @@ interface FeaturedNewsHighlightsProps extends PropsWithChildren {
|
|
|
946
945
|
}) => React.ReactNode;
|
|
947
946
|
}
|
|
948
947
|
|
|
949
|
-
declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) =>
|
|
950
|
-
Title: ({ children }: FeaturedNewsHighlightsTitleProps) =>
|
|
948
|
+
declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) => react.JSX.Element) & {
|
|
949
|
+
Title: ({ children }: FeaturedNewsHighlightsTitleProps) => react.JSX.Element;
|
|
951
950
|
};
|
|
952
951
|
|
|
953
952
|
type NewsCardListPaginationProps = {
|
|
@@ -968,8 +967,8 @@ interface NewsCardListProps extends PropsWithChildren {
|
|
|
968
967
|
}) => React.ReactNode;
|
|
969
968
|
}
|
|
970
969
|
|
|
971
|
-
declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) =>
|
|
972
|
-
Pagination: ({ children }: NewsCardListPaginationProps) =>
|
|
970
|
+
declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) => react.JSX.Element) & {
|
|
971
|
+
Pagination: ({ children }: NewsCardListPaginationProps) => react.JSX.Element;
|
|
973
972
|
};
|
|
974
973
|
|
|
975
974
|
type BlogPostBodyProps = {
|
|
@@ -985,9 +984,9 @@ interface BlogPostProps extends PropsWithChildren, Omit<NewsCardProps, 'descript
|
|
|
985
984
|
relatedArticles?: NewsCardProps[];
|
|
986
985
|
}
|
|
987
986
|
|
|
988
|
-
declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) =>
|
|
989
|
-
Title: ({ children }: BlogPostTitleProps) =>
|
|
990
|
-
Body: ({ children }: BlogPostBodyProps) =>
|
|
987
|
+
declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) => react.JSX.Element) & {
|
|
988
|
+
Title: ({ children }: BlogPostTitleProps) => react.JSX.Element;
|
|
989
|
+
Body: ({ children }: BlogPostBodyProps) => react.JSX.Element;
|
|
991
990
|
};
|
|
992
991
|
|
|
993
992
|
type BlogSearchResultsListPaginationProps = {
|
|
@@ -1011,9 +1010,9 @@ interface BlogSearchResultsListProps extends PropsWithChildren {
|
|
|
1011
1010
|
}) => React.ReactNode;
|
|
1012
1011
|
}
|
|
1013
1012
|
|
|
1014
|
-
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) =>
|
|
1015
|
-
Search: ({ children }: BlogSearchResultsListSearchProps) =>
|
|
1016
|
-
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) =>
|
|
1013
|
+
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) => react.JSX.Element) & {
|
|
1014
|
+
Search: ({ children }: BlogSearchResultsListSearchProps) => react.JSX.Element;
|
|
1015
|
+
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) => react.JSX.Element;
|
|
1017
1016
|
};
|
|
1018
1017
|
|
|
1019
1018
|
type GlobalSearchResultsListPaginationProps = {
|
|
@@ -1033,9 +1032,9 @@ interface GlobalSearchResultsListProps extends PropsWithChildren {
|
|
|
1033
1032
|
}) => React.ReactNode;
|
|
1034
1033
|
}
|
|
1035
1034
|
|
|
1036
|
-
declare const GlobalSearchResultsList: (({ items, searchResult, className, renderLink, children, }: GlobalSearchResultsListProps) =>
|
|
1037
|
-
Search: ({ children }: GlobalSearchResultsListSearchProps) =>
|
|
1038
|
-
Pagination: ({ children, }: GlobalSearchResultsListPaginationProps) =>
|
|
1035
|
+
declare const GlobalSearchResultsList: (({ items, searchResult, className, renderLink, children, }: GlobalSearchResultsListProps) => react.JSX.Element) & {
|
|
1036
|
+
Search: ({ children }: GlobalSearchResultsListSearchProps) => react.JSX.Element;
|
|
1037
|
+
Pagination: ({ children, }: GlobalSearchResultsListPaginationProps) => react.JSX.Element;
|
|
1039
1038
|
};
|
|
1040
1039
|
|
|
1041
1040
|
type TextCenterWithMediaTitleProps = {
|
|
@@ -1054,8 +1053,8 @@ interface TextCenterWithMediaProps {
|
|
|
1054
1053
|
children?: ReactNode;
|
|
1055
1054
|
}
|
|
1056
1055
|
|
|
1057
|
-
declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, loop, mute, hideControl, autoPlay, children, }: TextCenterWithMediaProps) =>
|
|
1058
|
-
Title: ({ children }: TextCenterWithMediaTitleProps) =>
|
|
1056
|
+
declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, loop, mute, hideControl, autoPlay, children, }: TextCenterWithMediaProps) => react.JSX.Element) & {
|
|
1057
|
+
Title: ({ children }: TextCenterWithMediaTitleProps) => react.JSX.Element;
|
|
1059
1058
|
};
|
|
1060
1059
|
|
|
1061
1060
|
interface QuoteSectionBlockItem {
|
|
@@ -1071,7 +1070,7 @@ interface QuoteSectionBlockProps {
|
|
|
1071
1070
|
items?: QuoteSectionBlockItem[];
|
|
1072
1071
|
}
|
|
1073
1072
|
|
|
1074
|
-
declare const QuoteSectionBlock: ({ className, title, items }: QuoteSectionBlockProps) =>
|
|
1073
|
+
declare const QuoteSectionBlock: ({ className, title, items }: QuoteSectionBlockProps) => react.JSX.Element | null;
|
|
1075
1074
|
|
|
1076
1075
|
type IntersectionObserverOptions = {
|
|
1077
1076
|
threshold?: number | number[];
|