@digital-b2c/coreui-kit 0.17.16 → 0.17.17
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 +40 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +70 -13
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +114 -93
- package/dist/index.d.ts +114 -93
- package/dist/index.mjs +40 -19
- 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
|
|
|
@@ -119,7 +118,7 @@ interface BrandsStripProps {
|
|
|
119
118
|
size?: 'small';
|
|
120
119
|
}
|
|
121
120
|
|
|
122
|
-
declare const BrandsStrip: ({ className, variant, title, logos, cta, size, }: BrandsStripProps) =>
|
|
121
|
+
declare const BrandsStrip: ({ className, variant, title, logos, cta, size, }: BrandsStripProps) => react.JSX.Element;
|
|
123
122
|
|
|
124
123
|
declare const ButtonVariantReadOnly: readonly ["primary", "secondary", "ghost", "nofill", "grey", "nofillblack", "shiny", "tabbutton", "navnofillblack", "textmenu"];
|
|
125
124
|
type TButtonVariant = (typeof ButtonVariantReadOnly)[number];
|
|
@@ -159,11 +158,11 @@ interface CardProps {
|
|
|
159
158
|
}
|
|
160
159
|
|
|
161
160
|
declare const Card: {
|
|
162
|
-
({ className, variant, title, subtitle, cta, icon, logo, children, ref, }: CardProps):
|
|
161
|
+
({ className, variant, title, subtitle, cta, icon, logo, children, ref, }: CardProps): react.JSX.Element;
|
|
163
162
|
displayName: string;
|
|
164
163
|
} & {
|
|
165
|
-
Title: ({ children }: CardTitleProps) =>
|
|
166
|
-
Subtitle: ({ children }: CardSubtitleProps) =>
|
|
164
|
+
Title: ({ children }: CardTitleProps) => react.JSX.Element;
|
|
165
|
+
Subtitle: ({ children }: CardSubtitleProps) => react.JSX.Element;
|
|
167
166
|
};
|
|
168
167
|
|
|
169
168
|
type CountingCardTitleProps = {
|
|
@@ -178,8 +177,8 @@ interface CountingCardProps {
|
|
|
178
177
|
children?: ReactNode;
|
|
179
178
|
}
|
|
180
179
|
|
|
181
|
-
declare const CountingCard: (({ className, title, count, image, children }: CountingCardProps) =>
|
|
182
|
-
Title: ({ children }: CountingCardTitleProps) =>
|
|
180
|
+
declare const CountingCard: (({ className, title, count, image, children }: CountingCardProps) => react.JSX.Element) & {
|
|
181
|
+
Title: ({ children }: CountingCardTitleProps) => react.JSX.Element;
|
|
183
182
|
};
|
|
184
183
|
|
|
185
184
|
type ResourceView = 'grid' | 'list';
|
|
@@ -203,7 +202,7 @@ interface ResourceCardItemProps {
|
|
|
203
202
|
}) => React.ReactNode;
|
|
204
203
|
}
|
|
205
204
|
|
|
206
|
-
declare const ResourceCardItem: ({ item, view, variant, renderLink }: ResourceCardItemProps) =>
|
|
205
|
+
declare const ResourceCardItem: ({ item, view, variant, renderLink }: ResourceCardItemProps) => react.JSX.Element;
|
|
207
206
|
|
|
208
207
|
type FilterOption = 'all' | 'pdf' | 'externalLink';
|
|
209
208
|
type SortOption = 'latest' | 'oldest' | 'az' | 'za';
|
|
@@ -219,7 +218,7 @@ interface FilterBarProps {
|
|
|
219
218
|
onSearchChange: (v: string) => void;
|
|
220
219
|
}
|
|
221
220
|
|
|
222
|
-
declare function FilterBar({ view, onViewChange, isMobile, filterValue, onFilterChange, sortValue, onSortChange, searchValue, onSearchChange, }: FilterBarProps):
|
|
221
|
+
declare function FilterBar({ view, onViewChange, isMobile, filterValue, onFilterChange, sortValue, onSortChange, searchValue, onSearchChange, }: FilterBarProps): react.JSX.Element;
|
|
223
222
|
|
|
224
223
|
type InfoCardSubtitleProps = {
|
|
225
224
|
children: ReactNode;
|
|
@@ -238,9 +237,9 @@ interface InfoCardProps {
|
|
|
238
237
|
children?: ReactNode;
|
|
239
238
|
}
|
|
240
239
|
|
|
241
|
-
declare const InfoCard: (({ className, title, subtitle, icon, badge, children }: InfoCardProps) =>
|
|
242
|
-
Title: ({ children }: InfoCardTitleProps) =>
|
|
243
|
-
Subtitle: ({ children }: InfoCardSubtitleProps) =>
|
|
240
|
+
declare const InfoCard: (({ className, title, subtitle, icon, badge, children }: InfoCardProps) => react.JSX.Element) & {
|
|
241
|
+
Title: ({ children }: InfoCardTitleProps) => react.JSX.Element;
|
|
242
|
+
Subtitle: ({ children }: InfoCardSubtitleProps) => react.JSX.Element;
|
|
244
243
|
};
|
|
245
244
|
|
|
246
245
|
interface PaginationProps {
|
|
@@ -261,9 +260,9 @@ interface PaginationProps {
|
|
|
261
260
|
}) => ReactNode;
|
|
262
261
|
}
|
|
263
262
|
|
|
264
|
-
declare const Pagination: ({ className, totalPages, currentPage, loop, hasNumber, disableArrows, onPageChange, showEllipsis, boundaryCount, siblingCount, hidePagesBorder, renderLink, }: PaginationProps) =>
|
|
263
|
+
declare const Pagination: ({ className, totalPages, currentPage, loop, hasNumber, disableArrows, onPageChange, showEllipsis, boundaryCount, siblingCount, hidePagesBorder, renderLink, }: PaginationProps) => react.JSX.Element;
|
|
265
264
|
|
|
266
|
-
declare const Picture: ({ className, ...props }: PictureProps) =>
|
|
265
|
+
declare const Picture: ({ className, ...props }: PictureProps) => react.JSX.Element;
|
|
267
266
|
|
|
268
267
|
interface PracticeCardProps {
|
|
269
268
|
className?: string;
|
|
@@ -272,7 +271,7 @@ interface PracticeCardProps {
|
|
|
272
271
|
image?: IPicture;
|
|
273
272
|
}
|
|
274
273
|
|
|
275
|
-
declare const PracticeCard: ({ className, title, cta, image }: PracticeCardProps) =>
|
|
274
|
+
declare const PracticeCard: ({ className, title, cta, image }: PracticeCardProps) => react.JSX.Element;
|
|
276
275
|
|
|
277
276
|
interface SidebarCategory {
|
|
278
277
|
label: string;
|
|
@@ -289,7 +288,7 @@ interface SidebarProps {
|
|
|
289
288
|
onSelect: (index: number) => void;
|
|
290
289
|
}
|
|
291
290
|
|
|
292
|
-
declare const Sidebar: ({ categories, isMobile, onToggle, selectedIndex, onSelect, }: SidebarProps) =>
|
|
291
|
+
declare const Sidebar: ({ categories, isMobile, onToggle, selectedIndex, onSelect, }: SidebarProps) => react.JSX.Element;
|
|
293
292
|
|
|
294
293
|
interface UpcomingEventCardProps {
|
|
295
294
|
className?: string;
|
|
@@ -305,7 +304,7 @@ interface UpcomingEventCardProps {
|
|
|
305
304
|
showImage?: boolean;
|
|
306
305
|
}
|
|
307
306
|
|
|
308
|
-
declare const UpcomingEventCard: ({ className, image, date, title, location, description, cta, direction, showImage, }: UpcomingEventCardProps) =>
|
|
307
|
+
declare const UpcomingEventCard: ({ className, image, date, title, location, description, cta, direction, showImage, }: UpcomingEventCardProps) => react.JSX.Element;
|
|
309
308
|
|
|
310
309
|
type BadgeBaseProps = {
|
|
311
310
|
children?: ReactNode;
|
|
@@ -385,7 +384,7 @@ interface NewsCardProps {
|
|
|
385
384
|
}) => React.ReactNode;
|
|
386
385
|
}
|
|
387
386
|
|
|
388
|
-
declare const NewsCard: ({ type, className, image, date, description, tag, title, cta, direction, renderLink, }: NewsCardProps) =>
|
|
387
|
+
declare const NewsCard: ({ type, 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 AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
421
420
|
isExternal?: boolean;
|
|
@@ -424,7 +423,7 @@ interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
|
424
423
|
}) => ReactNode;
|
|
425
424
|
}
|
|
426
425
|
|
|
427
|
-
declare const Anchor: ({ children, isExternal, renderLink, ...props }: AnchorProps) =>
|
|
426
|
+
declare const Anchor: ({ children, isExternal, renderLink, ...props }: AnchorProps) => react.JSX.Element;
|
|
428
427
|
|
|
429
428
|
interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
430
429
|
children: ReactNode;
|
|
@@ -444,6 +443,20 @@ type ConditionalWrapperProps = {
|
|
|
444
443
|
|
|
445
444
|
declare const ConditionalWrapper: React.FC<PropsWithChildren<ConditionalWrapperProps>>;
|
|
446
445
|
|
|
446
|
+
type TextElement = 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'div' | 'span';
|
|
447
|
+
interface TextProps extends HTMLAttributes<HTMLElement> {
|
|
448
|
+
tag?: TextElement;
|
|
449
|
+
children: ReactNode;
|
|
450
|
+
className?: string;
|
|
451
|
+
promoteToH1?: boolean;
|
|
452
|
+
ref?: Ref<HTMLElement>;
|
|
453
|
+
}
|
|
454
|
+
|
|
455
|
+
declare const Text: {
|
|
456
|
+
({ tag, promoteToH1, ref, children, ...props }: TextProps): react.JSX.Element;
|
|
457
|
+
displayName: string;
|
|
458
|
+
};
|
|
459
|
+
|
|
447
460
|
type IColTextMenuItem = ICta;
|
|
448
461
|
interface ColTextMenuProps extends IColTextMenuItem {
|
|
449
462
|
className?: string;
|
|
@@ -451,7 +464,7 @@ interface ColTextMenuProps extends IColTextMenuItem {
|
|
|
451
464
|
}
|
|
452
465
|
|
|
453
466
|
declare const ColTextMenu: {
|
|
454
|
-
({ label, url, isExternal, className, renderLink, }: ColTextMenuProps):
|
|
467
|
+
({ label, url, isExternal, className, renderLink, }: ColTextMenuProps): react.JSX.Element;
|
|
455
468
|
displayName: string;
|
|
456
469
|
};
|
|
457
470
|
|
|
@@ -492,14 +505,14 @@ interface UserMenuProps {
|
|
|
492
505
|
* Escape or outside interaction).
|
|
493
506
|
* - Without `menuItems`, renders a plain link (when `url` is set) or button.
|
|
494
507
|
*/
|
|
495
|
-
declare const UserMenu: ({ user, className, dropUp, fullWidth }: UserMenuProps) =>
|
|
508
|
+
declare const UserMenu: ({ user, className, dropUp, fullWidth }: UserMenuProps) => react.JSX.Element;
|
|
496
509
|
|
|
497
510
|
interface LoaderProps {
|
|
498
511
|
className?: string;
|
|
499
512
|
}
|
|
500
513
|
|
|
501
514
|
declare const Loader: {
|
|
502
|
-
({ className }: LoaderProps):
|
|
515
|
+
({ className }: LoaderProps): react.JSX.Element;
|
|
503
516
|
displayName: string;
|
|
504
517
|
};
|
|
505
518
|
|
|
@@ -522,9 +535,9 @@ interface CardCollectionProps {
|
|
|
522
535
|
theme?: 'dark' | 'light';
|
|
523
536
|
}
|
|
524
537
|
|
|
525
|
-
declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) =>
|
|
526
|
-
Title: ({ children }: CardCollectionTitleProps) =>
|
|
527
|
-
Subtitle: ({ children }: CardCollectionSubtitleProps) =>
|
|
538
|
+
declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) => react.JSX.Element) & {
|
|
539
|
+
Title: ({ children }: CardCollectionTitleProps) => react.JSX.Element;
|
|
540
|
+
Subtitle: ({ children }: CardCollectionSubtitleProps) => react.JSX.Element;
|
|
528
541
|
};
|
|
529
542
|
|
|
530
543
|
type ContactModuleSubtitleProps = {
|
|
@@ -546,9 +559,9 @@ interface ContactModuleProps {
|
|
|
546
559
|
animateBlur?: boolean;
|
|
547
560
|
}
|
|
548
561
|
|
|
549
|
-
declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) =>
|
|
550
|
-
Title: ({ children }: ContactModuleTitleProps) =>
|
|
551
|
-
Subtitle: ({ children }: ContactModuleSubtitleProps) =>
|
|
562
|
+
declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) => react.JSX.Element) & {
|
|
563
|
+
Title: ({ children }: ContactModuleTitleProps) => react.JSX.Element;
|
|
564
|
+
Subtitle: ({ children }: ContactModuleSubtitleProps) => react.JSX.Element;
|
|
552
565
|
};
|
|
553
566
|
|
|
554
567
|
interface IFooterLink {
|
|
@@ -574,7 +587,7 @@ interface FooterProps {
|
|
|
574
587
|
supportContacts?: IFooterSupportGroup[];
|
|
575
588
|
}
|
|
576
589
|
|
|
577
|
-
declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) =>
|
|
590
|
+
declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) => react.JSX.Element;
|
|
578
591
|
|
|
579
592
|
type HeroBannerSubtitleProps = {
|
|
580
593
|
children: ReactNode;
|
|
@@ -601,9 +614,9 @@ interface HeroBannerProps {
|
|
|
601
614
|
type?: 'internal' | 'external';
|
|
602
615
|
}
|
|
603
616
|
|
|
604
|
-
declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, type, children, }: HeroBannerProps) =>
|
|
605
|
-
Title: ({ children }: HeroBannerTitleProps) =>
|
|
606
|
-
Subtitle: ({ children }: HeroBannerSubtitleProps) =>
|
|
617
|
+
declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, type, children, }: HeroBannerProps) => react.JSX.Element) & {
|
|
618
|
+
Title: ({ children }: HeroBannerTitleProps) => react.JSX.Element;
|
|
619
|
+
Subtitle: ({ children }: HeroBannerSubtitleProps) => react.JSX.Element;
|
|
607
620
|
};
|
|
608
621
|
|
|
609
622
|
interface HeroBannerCarouselItem {
|
|
@@ -620,7 +633,7 @@ interface HeroBannerCarouselProps {
|
|
|
620
633
|
navNextIcon?: string;
|
|
621
634
|
}
|
|
622
635
|
|
|
623
|
-
declare const HeroBannerCarousel: ({ className, items, navPrevIcon, navNextIcon, }: HeroBannerCarouselProps) =>
|
|
636
|
+
declare const HeroBannerCarousel: ({ className, items, navPrevIcon, navNextIcon, }: HeroBannerCarouselProps) => react.JSX.Element | null;
|
|
624
637
|
|
|
625
638
|
interface InternalBrandsTabProps {
|
|
626
639
|
title?: string;
|
|
@@ -643,7 +656,7 @@ interface InternalBrandsTabProps {
|
|
|
643
656
|
}[];
|
|
644
657
|
}
|
|
645
658
|
|
|
646
|
-
declare const InternalBrandsTab: (props: InternalBrandsTabProps) =>
|
|
659
|
+
declare const InternalBrandsTab: (props: InternalBrandsTabProps) => react.JSX.Element;
|
|
647
660
|
|
|
648
661
|
type MiniBannerGoBackProps = {
|
|
649
662
|
children: ReactNode;
|
|
@@ -677,13 +690,14 @@ interface MiniBannerProps {
|
|
|
677
690
|
title?: string;
|
|
678
691
|
};
|
|
679
692
|
};
|
|
693
|
+
promoteToH1?: boolean;
|
|
680
694
|
children?: ReactNode;
|
|
681
695
|
}
|
|
682
696
|
|
|
683
|
-
declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, children, }: MiniBannerProps) =>
|
|
684
|
-
Title: ({ children }: MiniBannerTitleProps) =>
|
|
685
|
-
Subtitle: ({ children }: MiniBannerSubtitleProps) =>
|
|
686
|
-
GoBack: ({ children }: MiniBannerGoBackProps) =>
|
|
697
|
+
declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, promoteToH1, children, }: MiniBannerProps) => react.JSX.Element) & {
|
|
698
|
+
Title: ({ children }: MiniBannerTitleProps) => react.JSX.Element;
|
|
699
|
+
Subtitle: ({ children }: MiniBannerSubtitleProps) => react.JSX.Element;
|
|
700
|
+
GoBack: ({ children }: MiniBannerGoBackProps) => react.JSX.Element;
|
|
687
701
|
};
|
|
688
702
|
|
|
689
703
|
type MiniSectionCtaSubtitleProps = {
|
|
@@ -697,16 +711,20 @@ type MiniSectionCtaTitleProps = {
|
|
|
697
711
|
interface MiniSectionCtaProps {
|
|
698
712
|
className?: string;
|
|
699
713
|
variant?: 'headerCTA' | 'BgColorBlack' | 'BgColorGrey' | 'infoCallout' | 'miniTextCenterCta';
|
|
700
|
-
theme?: 'light' | '
|
|
714
|
+
theme?: 'dark' | 'light' | 'gray';
|
|
701
715
|
cta?: ICta;
|
|
702
716
|
title?: ReactNode;
|
|
703
717
|
subtitle?: ReactNode;
|
|
704
718
|
children?: ReactNode;
|
|
719
|
+
moduleStyles?: {
|
|
720
|
+
color?: string;
|
|
721
|
+
backgroundColor?: string;
|
|
722
|
+
};
|
|
705
723
|
}
|
|
706
724
|
|
|
707
|
-
declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, children, }: MiniSectionCtaProps) =>
|
|
708
|
-
Title: ({ children }: MiniSectionCtaTitleProps) =>
|
|
709
|
-
Subtitle: ({ children }: MiniSectionCtaSubtitleProps) =>
|
|
725
|
+
declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, moduleStyles, children, }: MiniSectionCtaProps) => react.JSX.Element) & {
|
|
726
|
+
Title: ({ children }: MiniSectionCtaTitleProps) => react.JSX.Element;
|
|
727
|
+
Subtitle: ({ children }: MiniSectionCtaSubtitleProps) => react.JSX.Element;
|
|
710
728
|
};
|
|
711
729
|
|
|
712
730
|
type NavigationUserMenuFallbackProps = {
|
|
@@ -762,8 +780,8 @@ interface NavigationProps extends PropsWithChildren {
|
|
|
762
780
|
brandLogos?: NavigationBrandLogos;
|
|
763
781
|
}
|
|
764
782
|
|
|
765
|
-
declare const Navigation: ((props: NavigationProps) =>
|
|
766
|
-
UserMenuFallback: ({ children }: NavigationUserMenuFallbackProps) =>
|
|
783
|
+
declare const Navigation: ((props: NavigationProps) => react.JSX.Element) & {
|
|
784
|
+
UserMenuFallback: ({ children }: NavigationUserMenuFallbackProps) => react.JSX.Element;
|
|
767
785
|
};
|
|
768
786
|
|
|
769
787
|
type PracticePathCardsFooterProps = {
|
|
@@ -788,10 +806,10 @@ interface PracticePathCardsProps {
|
|
|
788
806
|
cta?: ICta;
|
|
789
807
|
}
|
|
790
808
|
|
|
791
|
-
declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) =>
|
|
792
|
-
Title: ({ children }: PracticePathCardsTitleProps) =>
|
|
793
|
-
Subtitle: ({ children }: PracticePathCardsSubtitleProps) =>
|
|
794
|
-
Footer: ({ children }: PracticePathCardsFooterProps) =>
|
|
809
|
+
declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) => react.JSX.Element) & {
|
|
810
|
+
Title: ({ children }: PracticePathCardsTitleProps) => react.JSX.Element;
|
|
811
|
+
Subtitle: ({ children }: PracticePathCardsSubtitleProps) => react.JSX.Element;
|
|
812
|
+
Footer: ({ children }: PracticePathCardsFooterProps) => react.JSX.Element;
|
|
795
813
|
};
|
|
796
814
|
|
|
797
815
|
type Teaser5050With3TextTitleProps = {
|
|
@@ -807,8 +825,8 @@ interface Teaser5050With3TextProps {
|
|
|
807
825
|
children?: ReactNode;
|
|
808
826
|
}
|
|
809
827
|
|
|
810
|
-
declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) =>
|
|
811
|
-
Title: ({ children }: Teaser5050With3TextTitleProps) =>
|
|
828
|
+
declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) => react.JSX.Element) & {
|
|
829
|
+
Title: ({ children }: Teaser5050With3TextTitleProps) => react.JSX.Element;
|
|
812
830
|
};
|
|
813
831
|
|
|
814
832
|
type Teaser5050WithCtaSubtitleProps = {
|
|
@@ -827,12 +845,15 @@ interface Teaser5050WithCtaProps {
|
|
|
827
845
|
ctas: ICtaLogo[];
|
|
828
846
|
image?: PictureProps;
|
|
829
847
|
children?: ReactNode;
|
|
830
|
-
|
|
848
|
+
moduleStyles?: {
|
|
849
|
+
color?: string;
|
|
850
|
+
backgroundColor?: string;
|
|
851
|
+
};
|
|
831
852
|
}
|
|
832
853
|
|
|
833
|
-
declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children,
|
|
834
|
-
Title: ({ children }: Teaser5050WithCtaTitleProps) =>
|
|
835
|
-
Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) =>
|
|
854
|
+
declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children, moduleStyles, }: Teaser5050WithCtaProps) => react.JSX.Element) & {
|
|
855
|
+
Title: ({ children }: Teaser5050WithCtaTitleProps) => react.JSX.Element;
|
|
856
|
+
Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) => react.JSX.Element;
|
|
836
857
|
};
|
|
837
858
|
|
|
838
859
|
type EventListEmptyProps = {
|
|
@@ -850,13 +871,13 @@ interface EventListProps extends PropsWithChildren {
|
|
|
850
871
|
cta?: ICta & {
|
|
851
872
|
icon?: IconType;
|
|
852
873
|
};
|
|
853
|
-
backgroundColor?:
|
|
874
|
+
backgroundColor?: 'light' | 'dark' | 'gray';
|
|
854
875
|
variant?: 'internalEventList';
|
|
855
876
|
}
|
|
856
877
|
|
|
857
|
-
declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) =>
|
|
858
|
-
Title: ({ children }: EventListTitleProps) =>
|
|
859
|
-
Empty: ({ children }: EventListEmptyProps) =>
|
|
878
|
+
declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) => react.JSX.Element) & {
|
|
879
|
+
Title: ({ children }: EventListTitleProps) => react.JSX.Element;
|
|
880
|
+
Empty: ({ children }: EventListEmptyProps) => react.JSX.Element;
|
|
860
881
|
};
|
|
861
882
|
|
|
862
883
|
type TextEventRichTextProps = {
|
|
@@ -876,9 +897,9 @@ interface TextEventProps {
|
|
|
876
897
|
children?: ReactNode;
|
|
877
898
|
}
|
|
878
899
|
|
|
879
|
-
declare const TextEvent: ((props: TextEventProps) =>
|
|
880
|
-
Title: ({ children }: TextEventTitleProps) =>
|
|
881
|
-
RichText: ({ children }: TextEventRichTextProps) =>
|
|
900
|
+
declare const TextEvent: ((props: TextEventProps) => react.JSX.Element) & {
|
|
901
|
+
Title: ({ children }: TextEventTitleProps) => react.JSX.Element;
|
|
902
|
+
RichText: ({ children }: TextEventRichTextProps) => react.JSX.Element;
|
|
882
903
|
};
|
|
883
904
|
|
|
884
905
|
type TextBodyBodyProps = {
|
|
@@ -898,9 +919,9 @@ interface TextBodyProps {
|
|
|
898
919
|
children?: ReactNode;
|
|
899
920
|
}
|
|
900
921
|
|
|
901
|
-
declare const TextBody: ((props: TextBodyProps) =>
|
|
902
|
-
Title: ({ children }: TextBodyTitleProps) =>
|
|
903
|
-
Body: ({ children }: TextBodyBodyProps) =>
|
|
922
|
+
declare const TextBody: ((props: TextBodyProps) => react.JSX.Element) & {
|
|
923
|
+
Title: ({ children }: TextBodyTitleProps) => react.JSX.Element;
|
|
924
|
+
Body: ({ children }: TextBodyBodyProps) => react.JSX.Element;
|
|
904
925
|
};
|
|
905
926
|
|
|
906
927
|
type TextCenterCtaInBottomSubtitleProps = {
|
|
@@ -919,9 +940,9 @@ interface TextCenterCtaInBottomProps {
|
|
|
919
940
|
children?: ReactNode;
|
|
920
941
|
}
|
|
921
942
|
|
|
922
|
-
declare const TextCenterCtaInBottom: (({ className, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) =>
|
|
923
|
-
Title: ({ children }: TextCenterCtaInBottomTitleProps) =>
|
|
924
|
-
Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) =>
|
|
943
|
+
declare const TextCenterCtaInBottom: (({ className, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) => react.JSX.Element) & {
|
|
944
|
+
Title: ({ children }: TextCenterCtaInBottomTitleProps) => react.JSX.Element;
|
|
945
|
+
Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) => react.JSX.Element;
|
|
925
946
|
};
|
|
926
947
|
|
|
927
948
|
interface ResourcesGridListProps {
|
|
@@ -934,7 +955,7 @@ interface ResourcesGridListProps {
|
|
|
934
955
|
children?: ReactNode;
|
|
935
956
|
}
|
|
936
957
|
|
|
937
|
-
declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) =>
|
|
958
|
+
declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) => react.JSX.Element;
|
|
938
959
|
|
|
939
960
|
type BlogCardGridTitleProps = {
|
|
940
961
|
children: ReactNode;
|
|
@@ -954,8 +975,8 @@ interface BlogCardGridProps extends PropsWithChildren {
|
|
|
954
975
|
}) => React.ReactNode;
|
|
955
976
|
}
|
|
956
977
|
|
|
957
|
-
declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) =>
|
|
958
|
-
Title: ({ children }: BlogCardGridTitleProps) =>
|
|
978
|
+
declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) => react.JSX.Element) & {
|
|
979
|
+
Title: ({ children }: BlogCardGridTitleProps) => react.JSX.Element;
|
|
959
980
|
};
|
|
960
981
|
|
|
961
982
|
type FeaturedNewsHighlightsTitleProps = {
|
|
@@ -975,8 +996,8 @@ interface FeaturedNewsHighlightsProps extends PropsWithChildren {
|
|
|
975
996
|
}) => React.ReactNode;
|
|
976
997
|
}
|
|
977
998
|
|
|
978
|
-
declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) =>
|
|
979
|
-
Title: ({ children }: FeaturedNewsHighlightsTitleProps) =>
|
|
999
|
+
declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) => react.JSX.Element) & {
|
|
1000
|
+
Title: ({ children }: FeaturedNewsHighlightsTitleProps) => react.JSX.Element;
|
|
980
1001
|
};
|
|
981
1002
|
|
|
982
1003
|
type NewsCardListPaginationProps = {
|
|
@@ -997,8 +1018,8 @@ interface NewsCardListProps extends PropsWithChildren {
|
|
|
997
1018
|
}) => React.ReactNode;
|
|
998
1019
|
}
|
|
999
1020
|
|
|
1000
|
-
declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) =>
|
|
1001
|
-
Pagination: ({ children }: NewsCardListPaginationProps) =>
|
|
1021
|
+
declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) => react.JSX.Element) & {
|
|
1022
|
+
Pagination: ({ children }: NewsCardListPaginationProps) => react.JSX.Element;
|
|
1002
1023
|
};
|
|
1003
1024
|
|
|
1004
1025
|
type BlogPostBodyProps = {
|
|
@@ -1014,9 +1035,9 @@ interface BlogPostProps extends PropsWithChildren, Omit<NewsCardProps, 'descript
|
|
|
1014
1035
|
relatedArticles?: NewsCardProps[];
|
|
1015
1036
|
}
|
|
1016
1037
|
|
|
1017
|
-
declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) =>
|
|
1018
|
-
Title: ({ children }: BlogPostTitleProps) =>
|
|
1019
|
-
Body: ({ children }: BlogPostBodyProps) =>
|
|
1038
|
+
declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) => react.JSX.Element) & {
|
|
1039
|
+
Title: ({ children }: BlogPostTitleProps) => react.JSX.Element;
|
|
1040
|
+
Body: ({ children }: BlogPostBodyProps) => react.JSX.Element;
|
|
1020
1041
|
};
|
|
1021
1042
|
|
|
1022
1043
|
type BlogSearchResultsListPaginationProps = {
|
|
@@ -1040,9 +1061,9 @@ interface BlogSearchResultsListProps extends PropsWithChildren {
|
|
|
1040
1061
|
}) => React.ReactNode;
|
|
1041
1062
|
}
|
|
1042
1063
|
|
|
1043
|
-
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) =>
|
|
1044
|
-
Search: ({ children }: BlogSearchResultsListSearchProps) =>
|
|
1045
|
-
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) =>
|
|
1064
|
+
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) => react.JSX.Element) & {
|
|
1065
|
+
Search: ({ children }: BlogSearchResultsListSearchProps) => react.JSX.Element;
|
|
1066
|
+
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) => react.JSX.Element;
|
|
1046
1067
|
};
|
|
1047
1068
|
|
|
1048
1069
|
type GlobalSearchResultsListPaginationProps = {
|
|
@@ -1062,9 +1083,9 @@ interface GlobalSearchResultsListProps extends PropsWithChildren {
|
|
|
1062
1083
|
}) => React.ReactNode;
|
|
1063
1084
|
}
|
|
1064
1085
|
|
|
1065
|
-
declare const GlobalSearchResultsList: (({ items, searchResult, className, renderLink, children, }: GlobalSearchResultsListProps) =>
|
|
1066
|
-
Search: ({ children }: GlobalSearchResultsListSearchProps) =>
|
|
1067
|
-
Pagination: ({ children, }: GlobalSearchResultsListPaginationProps) =>
|
|
1086
|
+
declare const GlobalSearchResultsList: (({ items, searchResult, className, renderLink, children, }: GlobalSearchResultsListProps) => react.JSX.Element) & {
|
|
1087
|
+
Search: ({ children }: GlobalSearchResultsListSearchProps) => react.JSX.Element;
|
|
1088
|
+
Pagination: ({ children, }: GlobalSearchResultsListPaginationProps) => react.JSX.Element;
|
|
1068
1089
|
};
|
|
1069
1090
|
|
|
1070
1091
|
type TextCenterWithMediaTitleProps = {
|
|
@@ -1083,8 +1104,8 @@ interface TextCenterWithMediaProps {
|
|
|
1083
1104
|
children?: ReactNode;
|
|
1084
1105
|
}
|
|
1085
1106
|
|
|
1086
|
-
declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, loop, mute, hideControl, autoPlay, children, }: TextCenterWithMediaProps) =>
|
|
1087
|
-
Title: ({ children }: TextCenterWithMediaTitleProps) =>
|
|
1107
|
+
declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, loop, mute, hideControl, autoPlay, children, }: TextCenterWithMediaProps) => react.JSX.Element) & {
|
|
1108
|
+
Title: ({ children }: TextCenterWithMediaTitleProps) => react.JSX.Element;
|
|
1088
1109
|
};
|
|
1089
1110
|
|
|
1090
1111
|
interface QuoteSectionBlockItem {
|
|
@@ -1100,7 +1121,7 @@ interface QuoteSectionBlockProps {
|
|
|
1100
1121
|
items?: QuoteSectionBlockItem[];
|
|
1101
1122
|
}
|
|
1102
1123
|
|
|
1103
|
-
declare const QuoteSectionBlock: ({ className, title, items }: QuoteSectionBlockProps) =>
|
|
1124
|
+
declare const QuoteSectionBlock: ({ className, title, items }: QuoteSectionBlockProps) => react.JSX.Element | null;
|
|
1104
1125
|
|
|
1105
1126
|
type PageLoaderLogoProps = {
|
|
1106
1127
|
children: ReactNode;
|
|
@@ -1110,8 +1131,8 @@ interface PageLoaderProps extends PropsWithChildren {
|
|
|
1110
1131
|
className?: string;
|
|
1111
1132
|
}
|
|
1112
1133
|
|
|
1113
|
-
declare const PageLoader: (({ className, children }: PageLoaderProps) =>
|
|
1114
|
-
Logo: ({ children }: PageLoaderLogoProps) =>
|
|
1134
|
+
declare const PageLoader: (({ className, children }: PageLoaderProps) => react.JSX.Element) & {
|
|
1135
|
+
Logo: ({ children }: PageLoaderLogoProps) => react.JSX.Element;
|
|
1115
1136
|
};
|
|
1116
1137
|
|
|
1117
1138
|
interface ITwoColTextMenuSection {
|
|
@@ -1127,7 +1148,7 @@ interface TwoColTextMenuProps {
|
|
|
1127
1148
|
}
|
|
1128
1149
|
|
|
1129
1150
|
declare const TwoColTextMenu: {
|
|
1130
|
-
({ className, ariaLabel, sections, renderLink, }: TwoColTextMenuProps):
|
|
1151
|
+
({ className, ariaLabel, sections, renderLink, }: TwoColTextMenuProps): react.JSX.Element | null;
|
|
1131
1152
|
displayName: string;
|
|
1132
1153
|
};
|
|
1133
1154
|
|
|
@@ -1159,4 +1180,4 @@ type SlotMap = Record<string, SlotComponent>;
|
|
|
1159
1180
|
*/
|
|
1160
1181
|
declare function resolveCompoundSlots(children: ReactNode, slots: SlotMap): Record<string, ReactNode>;
|
|
1161
1182
|
|
|
1162
|
-
export { Anchor, type AnchorProps, Badge, type BadgeProps, BlogCardGrid, type BlogCardGridProps, BlogPost, BlogPostContent, type BlogPostContentProps, type BlogPostProps, BlogSearchResultsList, type BlogSearchResultsListProps, BrandsStrip, type BrandsStripProps, Button, type ButtonProps, Card, CardCollection, type CardCollectionProps, type CardProps, ColTextMenu, type ColTextMenuProps, ConditionalWrapper, type ConditionalWrapperProps, ContactModule, type ContactModuleProps, Container, type ContainerProps, CountingCard, type CountingCardProps, EventList, type EventListProps, FeaturedNewsHighlights, type FeaturedNewsHighlightsProps, FilterBar, type FilterBarProps, type FilterOption, Footer, type FooterProps, GlobalSearchResultsList, type GlobalSearchResultsListProps, type GridItemProps, type GridProps, HeroBanner, HeroBannerCarousel, type HeroBannerCarouselProps, type HeroBannerProps, type IColTextMenuItem, type ICta, type ICtaHoverLogo, type ICtaIcon, type ICtaLogo, type IFooterSupportGroup, type IPicture, type ITwoColTextMenuSection, Icon, type IconType, InfoCard, type InfoCardProps, Input, type InputProps, InternalBrandsTab, type InternalBrandsTabProps, type UserMenuItem as InternalNavMenuItem, Loader, type LoaderProps, MiniBanner, type MiniBannerProps, MiniSectionCta, type MiniSectionCtaProps, type NavItem, Navigation, type NavigationBrandLogos, type NavigationProps, type UserMenuUser as NavigationUser, NewsCard, NewsCardList, type NewsCardListProps, type NewsCardProps, PageLoader, type PageLoaderProps, Pagination, type PaginationProps, Picture, type PictureProps, PracticeCard, type PracticeCardProps, PracticePathCards, type PracticePathCardsProps, QuoteSectionBlock, type QuoteSectionBlockProps, ResourceCardItem, type ResourceCardItemProps, type ResourceItem, type ResourceItemType, type ResourceView, ResourcesGridList, type ResourcesGridListProps, Search, type SearchProps, Sidebar, type SidebarCategory, type SidebarProps, type SortOption, type TButtonVariant, Teaser5050With3Text, type Teaser5050With3TextProps, Teaser5050WithCta, type Teaser5050WithCtaProps, TextBody, type TextBodyProps, TextCenterCtaInBottom, type TextCenterCtaInBottomProps, TextCenterWithMedia, type TextCenterWithMediaProps, TextEvent, type TextEventProps, TwoColTextMenu, type TwoColTextMenuProps, UpcomingEventCard, type UpcomingEventCardProps, UserMenu, type UserMenuItem, type UserMenuProps, type UserMenuUser, resolveCompoundSlots, svgs, useActivePath, useIntersectionObserver, useIsAtTop };
|
|
1183
|
+
export { Anchor, type AnchorProps, Badge, type BadgeProps, BlogCardGrid, type BlogCardGridProps, BlogPost, BlogPostContent, type BlogPostContentProps, type BlogPostProps, BlogSearchResultsList, type BlogSearchResultsListProps, BrandsStrip, type BrandsStripProps, Button, type ButtonProps, Card, CardCollection, type CardCollectionProps, type CardProps, ColTextMenu, type ColTextMenuProps, ConditionalWrapper, type ConditionalWrapperProps, ContactModule, type ContactModuleProps, Container, type ContainerProps, CountingCard, type CountingCardProps, EventList, type EventListProps, FeaturedNewsHighlights, type FeaturedNewsHighlightsProps, FilterBar, type FilterBarProps, type FilterOption, Footer, type FooterProps, GlobalSearchResultsList, type GlobalSearchResultsListProps, type GridItemProps, type GridProps, HeroBanner, HeroBannerCarousel, type HeroBannerCarouselProps, type HeroBannerProps, type IColTextMenuItem, type ICta, type ICtaHoverLogo, type ICtaIcon, type ICtaLogo, type IFooterSupportGroup, type IPicture, type ITwoColTextMenuSection, Icon, type IconType, InfoCard, type InfoCardProps, Input, type InputProps, InternalBrandsTab, type InternalBrandsTabProps, type UserMenuItem as InternalNavMenuItem, Loader, type LoaderProps, MiniBanner, type MiniBannerProps, MiniSectionCta, type MiniSectionCtaProps, type NavItem, Navigation, type NavigationBrandLogos, type NavigationProps, type UserMenuUser as NavigationUser, NewsCard, NewsCardList, type NewsCardListProps, type NewsCardProps, PageLoader, type PageLoaderProps, Pagination, type PaginationProps, Picture, type PictureProps, PracticeCard, type PracticeCardProps, PracticePathCards, type PracticePathCardsProps, QuoteSectionBlock, type QuoteSectionBlockProps, ResourceCardItem, type ResourceCardItemProps, type ResourceItem, type ResourceItemType, type ResourceView, ResourcesGridList, type ResourcesGridListProps, Search, type SearchProps, Sidebar, type SidebarCategory, type SidebarProps, type SortOption, type TButtonVariant, Teaser5050With3Text, type Teaser5050With3TextProps, Teaser5050WithCta, type Teaser5050WithCtaProps, Text, TextBody, type TextBodyProps, TextCenterCtaInBottom, type TextCenterCtaInBottomProps, TextCenterWithMedia, type TextCenterWithMediaProps, TextEvent, type TextEventProps, type TextProps, TwoColTextMenu, type TwoColTextMenuProps, UpcomingEventCard, type UpcomingEventCardProps, UserMenu, type UserMenuItem, type UserMenuProps, type UserMenuUser, resolveCompoundSlots, svgs, useActivePath, useIntersectionObserver, useIsAtTop };
|