@digital-b2c/coreui-kit 0.16.0 → 0.16.1
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 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +0 -4
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +85 -86
- package/dist/index.d.ts +85 -86
- package/dist/index.mjs +1 -2
- package/dist/index.mjs.map +1 -1
- package/dist/types/global.d.ts +25 -25
- package/package.json +100 -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,14 +453,14 @@ 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 LoaderProps {
|
|
460
459
|
className?: string;
|
|
461
460
|
}
|
|
462
461
|
|
|
463
462
|
declare const Loader: {
|
|
464
|
-
({ className }: LoaderProps):
|
|
463
|
+
({ className }: LoaderProps): react.JSX.Element;
|
|
465
464
|
displayName: string;
|
|
466
465
|
};
|
|
467
466
|
|
|
@@ -472,7 +471,7 @@ interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
|
472
471
|
}) => ReactNode;
|
|
473
472
|
}
|
|
474
473
|
|
|
475
|
-
declare const Anchor: ({ children, isExternal, renderLink, ...props }: AnchorProps) =>
|
|
474
|
+
declare const Anchor: ({ children, isExternal, renderLink, ...props }: AnchorProps) => react.JSX.Element;
|
|
476
475
|
|
|
477
476
|
interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
478
477
|
children: ReactNode;
|
|
@@ -511,9 +510,9 @@ interface CardCollectionProps {
|
|
|
511
510
|
theme?: 'dark' | 'light';
|
|
512
511
|
}
|
|
513
512
|
|
|
514
|
-
declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) =>
|
|
515
|
-
Title: ({ children }: CardCollectionTitleProps) =>
|
|
516
|
-
Subtitle: ({ children }: CardCollectionSubtitleProps) =>
|
|
513
|
+
declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) => react.JSX.Element) & {
|
|
514
|
+
Title: ({ children }: CardCollectionTitleProps) => react.JSX.Element;
|
|
515
|
+
Subtitle: ({ children }: CardCollectionSubtitleProps) => react.JSX.Element;
|
|
517
516
|
};
|
|
518
517
|
|
|
519
518
|
type ContactModuleSubtitleProps = {
|
|
@@ -535,9 +534,9 @@ interface ContactModuleProps {
|
|
|
535
534
|
animateBlur?: boolean;
|
|
536
535
|
}
|
|
537
536
|
|
|
538
|
-
declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) =>
|
|
539
|
-
Title: ({ children }: ContactModuleTitleProps) =>
|
|
540
|
-
Subtitle: ({ children }: ContactModuleSubtitleProps) =>
|
|
537
|
+
declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) => react.JSX.Element) & {
|
|
538
|
+
Title: ({ children }: ContactModuleTitleProps) => react.JSX.Element;
|
|
539
|
+
Subtitle: ({ children }: ContactModuleSubtitleProps) => react.JSX.Element;
|
|
541
540
|
};
|
|
542
541
|
|
|
543
542
|
interface IFooterLink {
|
|
@@ -563,7 +562,7 @@ interface FooterProps {
|
|
|
563
562
|
supportContacts?: IFooterSupportGroup[];
|
|
564
563
|
}
|
|
565
564
|
|
|
566
|
-
declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) =>
|
|
565
|
+
declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) => react.JSX.Element;
|
|
567
566
|
|
|
568
567
|
type HeroBannerSubtitleProps = {
|
|
569
568
|
children: ReactNode;
|
|
@@ -590,9 +589,9 @@ interface HeroBannerProps {
|
|
|
590
589
|
type?: 'internal' | 'external';
|
|
591
590
|
}
|
|
592
591
|
|
|
593
|
-
declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, type, children, }: HeroBannerProps) =>
|
|
594
|
-
Title: ({ children }: HeroBannerTitleProps) =>
|
|
595
|
-
Subtitle: ({ children }: HeroBannerSubtitleProps) =>
|
|
592
|
+
declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, type, children, }: HeroBannerProps) => react.JSX.Element) & {
|
|
593
|
+
Title: ({ children }: HeroBannerTitleProps) => react.JSX.Element;
|
|
594
|
+
Subtitle: ({ children }: HeroBannerSubtitleProps) => react.JSX.Element;
|
|
596
595
|
};
|
|
597
596
|
|
|
598
597
|
interface HeroBannerCarouselItem {
|
|
@@ -609,7 +608,7 @@ interface HeroBannerCarouselProps {
|
|
|
609
608
|
navNextIcon?: string;
|
|
610
609
|
}
|
|
611
610
|
|
|
612
|
-
declare const HeroBannerCarousel: ({ className, items, navPrevIcon, navNextIcon, }: HeroBannerCarouselProps) =>
|
|
611
|
+
declare const HeroBannerCarousel: ({ className, items, navPrevIcon, navNextIcon, }: HeroBannerCarouselProps) => react.JSX.Element | null;
|
|
613
612
|
|
|
614
613
|
interface InternalBrandsTabProps {
|
|
615
614
|
title?: string;
|
|
@@ -632,7 +631,7 @@ interface InternalBrandsTabProps {
|
|
|
632
631
|
}[];
|
|
633
632
|
}
|
|
634
633
|
|
|
635
|
-
declare const InternalBrandsTab: (props: InternalBrandsTabProps) =>
|
|
634
|
+
declare const InternalBrandsTab: (props: InternalBrandsTabProps) => react.JSX.Element;
|
|
636
635
|
|
|
637
636
|
type MiniBannerGoBackProps = {
|
|
638
637
|
children: ReactNode;
|
|
@@ -669,10 +668,10 @@ interface MiniBannerProps {
|
|
|
669
668
|
children?: ReactNode;
|
|
670
669
|
}
|
|
671
670
|
|
|
672
|
-
declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, children, }: MiniBannerProps) =>
|
|
673
|
-
Title: ({ children }: MiniBannerTitleProps) =>
|
|
674
|
-
Subtitle: ({ children }: MiniBannerSubtitleProps) =>
|
|
675
|
-
GoBack: ({ children }: MiniBannerGoBackProps) =>
|
|
671
|
+
declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, children, }: MiniBannerProps) => react.JSX.Element) & {
|
|
672
|
+
Title: ({ children }: MiniBannerTitleProps) => react.JSX.Element;
|
|
673
|
+
Subtitle: ({ children }: MiniBannerSubtitleProps) => react.JSX.Element;
|
|
674
|
+
GoBack: ({ children }: MiniBannerGoBackProps) => react.JSX.Element;
|
|
676
675
|
};
|
|
677
676
|
|
|
678
677
|
type MiniSectionCtaSubtitleProps = {
|
|
@@ -693,9 +692,9 @@ interface MiniSectionCtaProps {
|
|
|
693
692
|
children?: ReactNode;
|
|
694
693
|
}
|
|
695
694
|
|
|
696
|
-
declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, children, }: MiniSectionCtaProps) =>
|
|
697
|
-
Title: ({ children }: MiniSectionCtaTitleProps) =>
|
|
698
|
-
Subtitle: ({ children }: MiniSectionCtaSubtitleProps) =>
|
|
695
|
+
declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, children, }: MiniSectionCtaProps) => react.JSX.Element) & {
|
|
696
|
+
Title: ({ children }: MiniSectionCtaTitleProps) => react.JSX.Element;
|
|
697
|
+
Subtitle: ({ children }: MiniSectionCtaSubtitleProps) => react.JSX.Element;
|
|
699
698
|
};
|
|
700
699
|
|
|
701
700
|
interface BaseNavItem {
|
|
@@ -747,7 +746,7 @@ interface NavigationProps {
|
|
|
747
746
|
brandLogos?: NavigationBrandLogos;
|
|
748
747
|
}
|
|
749
748
|
|
|
750
|
-
declare const Navigation: (props: NavigationProps) =>
|
|
749
|
+
declare const Navigation: (props: NavigationProps) => react.JSX.Element;
|
|
751
750
|
|
|
752
751
|
type PracticePathCardsFooterProps = {
|
|
753
752
|
children: ReactNode;
|
|
@@ -771,10 +770,10 @@ interface PracticePathCardsProps {
|
|
|
771
770
|
cta?: ICta;
|
|
772
771
|
}
|
|
773
772
|
|
|
774
|
-
declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) =>
|
|
775
|
-
Title: ({ children }: PracticePathCardsTitleProps) =>
|
|
776
|
-
Subtitle: ({ children }: PracticePathCardsSubtitleProps) =>
|
|
777
|
-
Footer: ({ children }: PracticePathCardsFooterProps) =>
|
|
773
|
+
declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) => react.JSX.Element) & {
|
|
774
|
+
Title: ({ children }: PracticePathCardsTitleProps) => react.JSX.Element;
|
|
775
|
+
Subtitle: ({ children }: PracticePathCardsSubtitleProps) => react.JSX.Element;
|
|
776
|
+
Footer: ({ children }: PracticePathCardsFooterProps) => react.JSX.Element;
|
|
778
777
|
};
|
|
779
778
|
|
|
780
779
|
type Teaser5050With3TextTitleProps = {
|
|
@@ -790,8 +789,8 @@ interface Teaser5050With3TextProps {
|
|
|
790
789
|
children?: ReactNode;
|
|
791
790
|
}
|
|
792
791
|
|
|
793
|
-
declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) =>
|
|
794
|
-
Title: ({ children }: Teaser5050With3TextTitleProps) =>
|
|
792
|
+
declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) => react.JSX.Element) & {
|
|
793
|
+
Title: ({ children }: Teaser5050With3TextTitleProps) => react.JSX.Element;
|
|
795
794
|
};
|
|
796
795
|
|
|
797
796
|
type Teaser5050WithCtaSubtitleProps = {
|
|
@@ -813,9 +812,9 @@ interface Teaser5050WithCtaProps {
|
|
|
813
812
|
bgColor?: string;
|
|
814
813
|
}
|
|
815
814
|
|
|
816
|
-
declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children, bgColor, }: Teaser5050WithCtaProps) =>
|
|
817
|
-
Title: ({ children }: Teaser5050WithCtaTitleProps) =>
|
|
818
|
-
Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) =>
|
|
815
|
+
declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children, bgColor, }: Teaser5050WithCtaProps) => react.JSX.Element) & {
|
|
816
|
+
Title: ({ children }: Teaser5050WithCtaTitleProps) => react.JSX.Element;
|
|
817
|
+
Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) => react.JSX.Element;
|
|
819
818
|
};
|
|
820
819
|
|
|
821
820
|
type EventListEmptyProps = {
|
|
@@ -837,9 +836,9 @@ interface EventListProps extends PropsWithChildren {
|
|
|
837
836
|
variant?: 'internalEventList';
|
|
838
837
|
}
|
|
839
838
|
|
|
840
|
-
declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) =>
|
|
841
|
-
Title: ({ children }: EventListTitleProps) =>
|
|
842
|
-
Empty: ({ children }: EventListEmptyProps) =>
|
|
839
|
+
declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) => react.JSX.Element) & {
|
|
840
|
+
Title: ({ children }: EventListTitleProps) => react.JSX.Element;
|
|
841
|
+
Empty: ({ children }: EventListEmptyProps) => react.JSX.Element;
|
|
843
842
|
};
|
|
844
843
|
|
|
845
844
|
type TextEventRichTextProps = {
|
|
@@ -859,9 +858,9 @@ interface TextEventProps {
|
|
|
859
858
|
children?: ReactNode;
|
|
860
859
|
}
|
|
861
860
|
|
|
862
|
-
declare const TextEvent: ((props: TextEventProps) =>
|
|
863
|
-
Title: ({ children }: TextEventTitleProps) =>
|
|
864
|
-
RichText: ({ children }: TextEventRichTextProps) =>
|
|
861
|
+
declare const TextEvent: ((props: TextEventProps) => react.JSX.Element) & {
|
|
862
|
+
Title: ({ children }: TextEventTitleProps) => react.JSX.Element;
|
|
863
|
+
RichText: ({ children }: TextEventRichTextProps) => react.JSX.Element;
|
|
865
864
|
};
|
|
866
865
|
|
|
867
866
|
type TextBodyBodyProps = {
|
|
@@ -879,9 +878,9 @@ interface TextBodyProps {
|
|
|
879
878
|
children?: ReactNode;
|
|
880
879
|
}
|
|
881
880
|
|
|
882
|
-
declare const TextBody: ((props: TextBodyProps) =>
|
|
883
|
-
Title: ({ children }: TextBodyTitleProps) =>
|
|
884
|
-
Body: ({ children }: TextBodyBodyProps) =>
|
|
881
|
+
declare const TextBody: ((props: TextBodyProps) => react.JSX.Element) & {
|
|
882
|
+
Title: ({ children }: TextBodyTitleProps) => react.JSX.Element;
|
|
883
|
+
Body: ({ children }: TextBodyBodyProps) => react.JSX.Element;
|
|
885
884
|
};
|
|
886
885
|
|
|
887
886
|
type TextCenterCtaInBottomSubtitleProps = {
|
|
@@ -900,9 +899,9 @@ interface TextCenterCtaInBottomProps {
|
|
|
900
899
|
children?: ReactNode;
|
|
901
900
|
}
|
|
902
901
|
|
|
903
|
-
declare const TextCenterCtaInBottom: (({ className, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) =>
|
|
904
|
-
Title: ({ children }: TextCenterCtaInBottomTitleProps) =>
|
|
905
|
-
Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) =>
|
|
902
|
+
declare const TextCenterCtaInBottom: (({ className, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) => react.JSX.Element) & {
|
|
903
|
+
Title: ({ children }: TextCenterCtaInBottomTitleProps) => react.JSX.Element;
|
|
904
|
+
Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) => react.JSX.Element;
|
|
906
905
|
};
|
|
907
906
|
|
|
908
907
|
interface ResourcesGridListProps {
|
|
@@ -915,7 +914,7 @@ interface ResourcesGridListProps {
|
|
|
915
914
|
children?: ReactNode;
|
|
916
915
|
}
|
|
917
916
|
|
|
918
|
-
declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) =>
|
|
917
|
+
declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) => react.JSX.Element;
|
|
919
918
|
|
|
920
919
|
type BlogCardGridTitleProps = {
|
|
921
920
|
children: ReactNode;
|
|
@@ -935,8 +934,8 @@ interface BlogCardGridProps extends PropsWithChildren {
|
|
|
935
934
|
}) => React.ReactNode;
|
|
936
935
|
}
|
|
937
936
|
|
|
938
|
-
declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) =>
|
|
939
|
-
Title: ({ children }: BlogCardGridTitleProps) =>
|
|
937
|
+
declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) => react.JSX.Element) & {
|
|
938
|
+
Title: ({ children }: BlogCardGridTitleProps) => react.JSX.Element;
|
|
940
939
|
};
|
|
941
940
|
|
|
942
941
|
type FeaturedNewsHighlightsTitleProps = {
|
|
@@ -956,8 +955,8 @@ interface FeaturedNewsHighlightsProps extends PropsWithChildren {
|
|
|
956
955
|
}) => React.ReactNode;
|
|
957
956
|
}
|
|
958
957
|
|
|
959
|
-
declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) =>
|
|
960
|
-
Title: ({ children }: FeaturedNewsHighlightsTitleProps) =>
|
|
958
|
+
declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) => react.JSX.Element) & {
|
|
959
|
+
Title: ({ children }: FeaturedNewsHighlightsTitleProps) => react.JSX.Element;
|
|
961
960
|
};
|
|
962
961
|
|
|
963
962
|
type NewsCardListPaginationProps = {
|
|
@@ -978,8 +977,8 @@ interface NewsCardListProps extends PropsWithChildren {
|
|
|
978
977
|
}) => React.ReactNode;
|
|
979
978
|
}
|
|
980
979
|
|
|
981
|
-
declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) =>
|
|
982
|
-
Pagination: ({ children }: NewsCardListPaginationProps) =>
|
|
980
|
+
declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) => react.JSX.Element) & {
|
|
981
|
+
Pagination: ({ children }: NewsCardListPaginationProps) => react.JSX.Element;
|
|
983
982
|
};
|
|
984
983
|
|
|
985
984
|
type BlogPostBodyProps = {
|
|
@@ -995,9 +994,9 @@ interface BlogPostProps extends PropsWithChildren, Omit<NewsCardProps, 'descript
|
|
|
995
994
|
relatedArticles?: NewsCardProps[];
|
|
996
995
|
}
|
|
997
996
|
|
|
998
|
-
declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) =>
|
|
999
|
-
Title: ({ children }: BlogPostTitleProps) =>
|
|
1000
|
-
Body: ({ children }: BlogPostBodyProps) =>
|
|
997
|
+
declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) => react.JSX.Element) & {
|
|
998
|
+
Title: ({ children }: BlogPostTitleProps) => react.JSX.Element;
|
|
999
|
+
Body: ({ children }: BlogPostBodyProps) => react.JSX.Element;
|
|
1001
1000
|
};
|
|
1002
1001
|
|
|
1003
1002
|
type BlogSearchResultsListPaginationProps = {
|
|
@@ -1021,9 +1020,9 @@ interface BlogSearchResultsListProps extends PropsWithChildren {
|
|
|
1021
1020
|
}) => React.ReactNode;
|
|
1022
1021
|
}
|
|
1023
1022
|
|
|
1024
|
-
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) =>
|
|
1025
|
-
Search: ({ children }: BlogSearchResultsListSearchProps) =>
|
|
1026
|
-
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) =>
|
|
1023
|
+
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) => react.JSX.Element) & {
|
|
1024
|
+
Search: ({ children }: BlogSearchResultsListSearchProps) => react.JSX.Element;
|
|
1025
|
+
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) => react.JSX.Element;
|
|
1027
1026
|
};
|
|
1028
1027
|
|
|
1029
1028
|
type GlobalSearchResultsListPaginationProps = {
|
|
@@ -1043,9 +1042,9 @@ interface GlobalSearchResultsListProps extends PropsWithChildren {
|
|
|
1043
1042
|
}) => React.ReactNode;
|
|
1044
1043
|
}
|
|
1045
1044
|
|
|
1046
|
-
declare const GlobalSearchResultsList: (({ items, searchResult, className, renderLink, children, }: GlobalSearchResultsListProps) =>
|
|
1047
|
-
Search: ({ children }: GlobalSearchResultsListSearchProps) =>
|
|
1048
|
-
Pagination: ({ children, }: GlobalSearchResultsListPaginationProps) =>
|
|
1045
|
+
declare const GlobalSearchResultsList: (({ items, searchResult, className, renderLink, children, }: GlobalSearchResultsListProps) => react.JSX.Element) & {
|
|
1046
|
+
Search: ({ children }: GlobalSearchResultsListSearchProps) => react.JSX.Element;
|
|
1047
|
+
Pagination: ({ children, }: GlobalSearchResultsListPaginationProps) => react.JSX.Element;
|
|
1049
1048
|
};
|
|
1050
1049
|
|
|
1051
1050
|
type TextCenterWithMediaTitleProps = {
|
|
@@ -1064,8 +1063,8 @@ interface TextCenterWithMediaProps {
|
|
|
1064
1063
|
children?: ReactNode;
|
|
1065
1064
|
}
|
|
1066
1065
|
|
|
1067
|
-
declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, loop, mute, hideControl, autoPlay, children, }: TextCenterWithMediaProps) =>
|
|
1068
|
-
Title: ({ children }: TextCenterWithMediaTitleProps) =>
|
|
1066
|
+
declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, loop, mute, hideControl, autoPlay, children, }: TextCenterWithMediaProps) => react.JSX.Element) & {
|
|
1067
|
+
Title: ({ children }: TextCenterWithMediaTitleProps) => react.JSX.Element;
|
|
1069
1068
|
};
|
|
1070
1069
|
|
|
1071
1070
|
interface QuoteSectionBlockItem {
|
|
@@ -1081,7 +1080,7 @@ interface QuoteSectionBlockProps {
|
|
|
1081
1080
|
items?: QuoteSectionBlockItem[];
|
|
1082
1081
|
}
|
|
1083
1082
|
|
|
1084
|
-
declare const QuoteSectionBlock: ({ className, title, items }: QuoteSectionBlockProps) =>
|
|
1083
|
+
declare const QuoteSectionBlock: ({ className, title, items }: QuoteSectionBlockProps) => react.JSX.Element | null;
|
|
1085
1084
|
|
|
1086
1085
|
type PageLoaderLogoProps = {
|
|
1087
1086
|
children: ReactNode;
|
|
@@ -1091,8 +1090,8 @@ interface PageLoaderProps extends PropsWithChildren {
|
|
|
1091
1090
|
className?: string;
|
|
1092
1091
|
}
|
|
1093
1092
|
|
|
1094
|
-
declare const PageLoader: (({ className, children }: PageLoaderProps) =>
|
|
1095
|
-
Logo: ({ children }: PageLoaderLogoProps) =>
|
|
1093
|
+
declare const PageLoader: (({ className, children }: PageLoaderProps) => react.JSX.Element) & {
|
|
1094
|
+
Logo: ({ children }: PageLoaderLogoProps) => react.JSX.Element;
|
|
1096
1095
|
};
|
|
1097
1096
|
|
|
1098
1097
|
/** Tracks the current browser path, updating on back/forward navigation. */
|