@digital-b2c/coreui-kit 0.15.10 → 0.16.0
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 +284 -217
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +215 -10
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +106 -83
- package/dist/index.d.ts +106 -83
- package/dist/index.mjs +282 -217
- package/dist/index.mjs.map +1 -1
- package/dist/types/global.d.ts +25 -25
- package/package.json +101 -100
package/dist/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
1
2
|
import * as react from 'react';
|
|
2
3
|
import react__default, { ImgHTMLAttributes, AnchorHTMLAttributes, ReactNode, Ref, HTMLAttributes, ButtonHTMLAttributes, InputHTMLAttributes, PropsWithChildren, JSX, FC, CSSProperties } from 'react';
|
|
3
4
|
|
|
@@ -117,7 +118,7 @@ interface BrandsStripProps {
|
|
|
117
118
|
size?: 'small';
|
|
118
119
|
}
|
|
119
120
|
|
|
120
|
-
declare const BrandsStrip: ({ className, variant, title, logos, cta, size, }: BrandsStripProps) =>
|
|
121
|
+
declare const BrandsStrip: ({ className, variant, title, logos, cta, size, }: BrandsStripProps) => react_jsx_runtime.JSX.Element;
|
|
121
122
|
|
|
122
123
|
declare const ButtonVariantReadOnly: readonly ["primary", "secondary", "ghost", "nofill", "grey", "nofillblack", "shiny", "tabbutton", "navnofillblack"];
|
|
123
124
|
type TButtonVariant = (typeof ButtonVariantReadOnly)[number];
|
|
@@ -157,11 +158,11 @@ interface CardProps {
|
|
|
157
158
|
}
|
|
158
159
|
|
|
159
160
|
declare const Card: {
|
|
160
|
-
({ className, variant, title, subtitle, cta, icon, logo, children, ref, }: CardProps):
|
|
161
|
+
({ className, variant, title, subtitle, cta, icon, logo, children, ref, }: CardProps): react_jsx_runtime.JSX.Element;
|
|
161
162
|
displayName: string;
|
|
162
163
|
} & {
|
|
163
|
-
Title: ({ children }: CardTitleProps) =>
|
|
164
|
-
Subtitle: ({ children }: CardSubtitleProps) =>
|
|
164
|
+
Title: ({ children }: CardTitleProps) => react_jsx_runtime.JSX.Element;
|
|
165
|
+
Subtitle: ({ children }: CardSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
165
166
|
};
|
|
166
167
|
|
|
167
168
|
type CountingCardTitleProps = {
|
|
@@ -176,8 +177,8 @@ interface CountingCardProps {
|
|
|
176
177
|
children?: ReactNode;
|
|
177
178
|
}
|
|
178
179
|
|
|
179
|
-
declare const CountingCard: (({ className, title, count, image, children }: CountingCardProps) =>
|
|
180
|
-
Title: ({ children }: CountingCardTitleProps) =>
|
|
180
|
+
declare const CountingCard: (({ className, title, count, image, children }: CountingCardProps) => react_jsx_runtime.JSX.Element) & {
|
|
181
|
+
Title: ({ children }: CountingCardTitleProps) => react_jsx_runtime.JSX.Element;
|
|
181
182
|
};
|
|
182
183
|
|
|
183
184
|
type ResourceView = 'grid' | 'list';
|
|
@@ -201,7 +202,7 @@ interface ResourceCardItemProps {
|
|
|
201
202
|
}) => React.ReactNode;
|
|
202
203
|
}
|
|
203
204
|
|
|
204
|
-
declare const ResourceCardItem: ({ item, view, variant, renderLink }: ResourceCardItemProps) =>
|
|
205
|
+
declare const ResourceCardItem: ({ item, view, variant, renderLink }: ResourceCardItemProps) => react_jsx_runtime.JSX.Element;
|
|
205
206
|
|
|
206
207
|
type FilterOption = 'all' | 'pdf' | 'externalLink';
|
|
207
208
|
type SortOption = 'latest' | 'oldest' | 'az' | 'za';
|
|
@@ -217,7 +218,7 @@ interface FilterBarProps {
|
|
|
217
218
|
onSearchChange: (v: string) => void;
|
|
218
219
|
}
|
|
219
220
|
|
|
220
|
-
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_runtime.JSX.Element;
|
|
221
222
|
|
|
222
223
|
type InfoCardSubtitleProps = {
|
|
223
224
|
children: ReactNode;
|
|
@@ -236,9 +237,9 @@ interface InfoCardProps {
|
|
|
236
237
|
children?: ReactNode;
|
|
237
238
|
}
|
|
238
239
|
|
|
239
|
-
declare const InfoCard: (({ className, title, subtitle, icon, badge, children }: InfoCardProps) =>
|
|
240
|
-
Title: ({ children }: InfoCardTitleProps) =>
|
|
241
|
-
Subtitle: ({ children }: InfoCardSubtitleProps) =>
|
|
240
|
+
declare const InfoCard: (({ className, title, subtitle, icon, badge, children }: InfoCardProps) => react_jsx_runtime.JSX.Element) & {
|
|
241
|
+
Title: ({ children }: InfoCardTitleProps) => react_jsx_runtime.JSX.Element;
|
|
242
|
+
Subtitle: ({ children }: InfoCardSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
242
243
|
};
|
|
243
244
|
|
|
244
245
|
interface PaginationProps {
|
|
@@ -259,9 +260,9 @@ interface PaginationProps {
|
|
|
259
260
|
}) => ReactNode;
|
|
260
261
|
}
|
|
261
262
|
|
|
262
|
-
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_runtime.JSX.Element;
|
|
263
264
|
|
|
264
|
-
declare const Picture: ({ className, ...props }: PictureProps) =>
|
|
265
|
+
declare const Picture: ({ className, ...props }: PictureProps) => react_jsx_runtime.JSX.Element;
|
|
265
266
|
|
|
266
267
|
interface PracticeCardProps {
|
|
267
268
|
className?: string;
|
|
@@ -270,7 +271,7 @@ interface PracticeCardProps {
|
|
|
270
271
|
image?: IPicture;
|
|
271
272
|
}
|
|
272
273
|
|
|
273
|
-
declare const PracticeCard: ({ className, title, cta, image }: PracticeCardProps) =>
|
|
274
|
+
declare const PracticeCard: ({ className, title, cta, image }: PracticeCardProps) => react_jsx_runtime.JSX.Element;
|
|
274
275
|
|
|
275
276
|
interface SidebarCategory {
|
|
276
277
|
label: string;
|
|
@@ -290,7 +291,7 @@ interface SidebarProps {
|
|
|
290
291
|
onSelect: (index: number) => void;
|
|
291
292
|
}
|
|
292
293
|
|
|
293
|
-
declare const Sidebar: ({ categories, isMobile, onToggle, selectedIndex, onSelect, }: SidebarProps) =>
|
|
294
|
+
declare const Sidebar: ({ categories, isMobile, onToggle, selectedIndex, onSelect, }: SidebarProps) => react_jsx_runtime.JSX.Element;
|
|
294
295
|
|
|
295
296
|
interface UpcomingEventCardProps {
|
|
296
297
|
className?: string;
|
|
@@ -306,7 +307,7 @@ interface UpcomingEventCardProps {
|
|
|
306
307
|
showImage?: boolean;
|
|
307
308
|
}
|
|
308
309
|
|
|
309
|
-
declare const UpcomingEventCard: ({ className, image, date, title, location, description, cta, direction, showImage, }: UpcomingEventCardProps) =>
|
|
310
|
+
declare const UpcomingEventCard: ({ className, image, date, title, location, description, cta, direction, showImage, }: UpcomingEventCardProps) => react_jsx_runtime.JSX.Element;
|
|
310
311
|
|
|
311
312
|
type BadgeBaseProps = {
|
|
312
313
|
children?: ReactNode;
|
|
@@ -384,7 +385,7 @@ interface NewsCardProps {
|
|
|
384
385
|
}) => React.ReactNode;
|
|
385
386
|
}
|
|
386
387
|
|
|
387
|
-
declare const NewsCard: ({ className, image, date, description, tag, title, cta, direction, renderLink, }: NewsCardProps) =>
|
|
388
|
+
declare const NewsCard: ({ className, image, date, description, tag, title, cta, direction, renderLink, }: NewsCardProps) => react_jsx_runtime.JSX.Element;
|
|
388
389
|
|
|
389
390
|
type BlogPostContentBodyProps = {
|
|
390
391
|
children: ReactNode;
|
|
@@ -396,8 +397,8 @@ interface BlogPostContentProps {
|
|
|
396
397
|
body?: ReactNode;
|
|
397
398
|
}
|
|
398
399
|
|
|
399
|
-
declare const BlogPostContent: (({ className, body, children }: BlogPostContentProps) =>
|
|
400
|
-
Body: ({ children }: BlogPostContentBodyProps) =>
|
|
400
|
+
declare const BlogPostContent: (({ className, body, children }: BlogPostContentProps) => react_jsx_runtime.JSX.Element) & {
|
|
401
|
+
Body: ({ children }: BlogPostContentBodyProps) => react_jsx_runtime.JSX.Element;
|
|
401
402
|
};
|
|
402
403
|
|
|
403
404
|
interface SearchProps {
|
|
@@ -414,7 +415,7 @@ interface SearchProps {
|
|
|
414
415
|
className?: string;
|
|
415
416
|
}
|
|
416
417
|
|
|
417
|
-
declare const Search: ({ placeholder, searchCta, onSearch, variant, className, }: SearchProps) =>
|
|
418
|
+
declare const Search: ({ placeholder, searchCta, onSearch, variant, className, }: SearchProps) => react_jsx_runtime.JSX.Element;
|
|
418
419
|
|
|
419
420
|
interface UserMenuItem {
|
|
420
421
|
label: string;
|
|
@@ -453,7 +454,16 @@ interface UserMenuProps {
|
|
|
453
454
|
* Escape or outside interaction).
|
|
454
455
|
* - Without `menuItems`, renders a plain link (when `url` is set) or button.
|
|
455
456
|
*/
|
|
456
|
-
declare const UserMenu: ({ user, className, dropUp, fullWidth }: UserMenuProps) =>
|
|
457
|
+
declare const UserMenu: ({ user, className, dropUp, fullWidth }: UserMenuProps) => react_jsx_runtime.JSX.Element;
|
|
458
|
+
|
|
459
|
+
interface LoaderProps {
|
|
460
|
+
className?: string;
|
|
461
|
+
}
|
|
462
|
+
|
|
463
|
+
declare const Loader: {
|
|
464
|
+
({ className }: LoaderProps): react_jsx_runtime.JSX.Element;
|
|
465
|
+
displayName: string;
|
|
466
|
+
};
|
|
457
467
|
|
|
458
468
|
interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
459
469
|
isExternal?: boolean;
|
|
@@ -462,7 +472,7 @@ interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
|
462
472
|
}) => ReactNode;
|
|
463
473
|
}
|
|
464
474
|
|
|
465
|
-
declare const Anchor: ({ children, isExternal, renderLink, ...props }: AnchorProps) =>
|
|
475
|
+
declare const Anchor: ({ children, isExternal, renderLink, ...props }: AnchorProps) => react_jsx_runtime.JSX.Element;
|
|
466
476
|
|
|
467
477
|
interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
468
478
|
children: ReactNode;
|
|
@@ -501,9 +511,9 @@ interface CardCollectionProps {
|
|
|
501
511
|
theme?: 'dark' | 'light';
|
|
502
512
|
}
|
|
503
513
|
|
|
504
|
-
declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) =>
|
|
505
|
-
Title: ({ children }: CardCollectionTitleProps) =>
|
|
506
|
-
Subtitle: ({ children }: CardCollectionSubtitleProps) =>
|
|
514
|
+
declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) => react_jsx_runtime.JSX.Element) & {
|
|
515
|
+
Title: ({ children }: CardCollectionTitleProps) => react_jsx_runtime.JSX.Element;
|
|
516
|
+
Subtitle: ({ children }: CardCollectionSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
507
517
|
};
|
|
508
518
|
|
|
509
519
|
type ContactModuleSubtitleProps = {
|
|
@@ -525,9 +535,9 @@ interface ContactModuleProps {
|
|
|
525
535
|
animateBlur?: boolean;
|
|
526
536
|
}
|
|
527
537
|
|
|
528
|
-
declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) =>
|
|
529
|
-
Title: ({ children }: ContactModuleTitleProps) =>
|
|
530
|
-
Subtitle: ({ children }: ContactModuleSubtitleProps) =>
|
|
538
|
+
declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) => react_jsx_runtime.JSX.Element) & {
|
|
539
|
+
Title: ({ children }: ContactModuleTitleProps) => react_jsx_runtime.JSX.Element;
|
|
540
|
+
Subtitle: ({ children }: ContactModuleSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
531
541
|
};
|
|
532
542
|
|
|
533
543
|
interface IFooterLink {
|
|
@@ -553,7 +563,7 @@ interface FooterProps {
|
|
|
553
563
|
supportContacts?: IFooterSupportGroup[];
|
|
554
564
|
}
|
|
555
565
|
|
|
556
|
-
declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) =>
|
|
566
|
+
declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) => react_jsx_runtime.JSX.Element;
|
|
557
567
|
|
|
558
568
|
type HeroBannerSubtitleProps = {
|
|
559
569
|
children: ReactNode;
|
|
@@ -577,11 +587,12 @@ interface HeroBannerProps {
|
|
|
577
587
|
brands?: BrandsStripProps;
|
|
578
588
|
promoteToH1?: boolean;
|
|
579
589
|
children?: ReactNode;
|
|
590
|
+
type?: 'internal' | 'external';
|
|
580
591
|
}
|
|
581
592
|
|
|
582
|
-
declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, children, }: HeroBannerProps) =>
|
|
583
|
-
Title: ({ children }: HeroBannerTitleProps) =>
|
|
584
|
-
Subtitle: ({ children }: HeroBannerSubtitleProps) =>
|
|
593
|
+
declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, type, children, }: HeroBannerProps) => react_jsx_runtime.JSX.Element) & {
|
|
594
|
+
Title: ({ children }: HeroBannerTitleProps) => react_jsx_runtime.JSX.Element;
|
|
595
|
+
Subtitle: ({ children }: HeroBannerSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
585
596
|
};
|
|
586
597
|
|
|
587
598
|
interface HeroBannerCarouselItem {
|
|
@@ -598,7 +609,7 @@ interface HeroBannerCarouselProps {
|
|
|
598
609
|
navNextIcon?: string;
|
|
599
610
|
}
|
|
600
611
|
|
|
601
|
-
declare const HeroBannerCarousel: ({ className, items, navPrevIcon, navNextIcon, }: HeroBannerCarouselProps) =>
|
|
612
|
+
declare const HeroBannerCarousel: ({ className, items, navPrevIcon, navNextIcon, }: HeroBannerCarouselProps) => react_jsx_runtime.JSX.Element | null;
|
|
602
613
|
|
|
603
614
|
interface InternalBrandsTabProps {
|
|
604
615
|
title?: string;
|
|
@@ -621,7 +632,7 @@ interface InternalBrandsTabProps {
|
|
|
621
632
|
}[];
|
|
622
633
|
}
|
|
623
634
|
|
|
624
|
-
declare const InternalBrandsTab: (props: InternalBrandsTabProps) =>
|
|
635
|
+
declare const InternalBrandsTab: (props: InternalBrandsTabProps) => react_jsx_runtime.JSX.Element;
|
|
625
636
|
|
|
626
637
|
type MiniBannerGoBackProps = {
|
|
627
638
|
children: ReactNode;
|
|
@@ -658,10 +669,10 @@ interface MiniBannerProps {
|
|
|
658
669
|
children?: ReactNode;
|
|
659
670
|
}
|
|
660
671
|
|
|
661
|
-
declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, children, }: MiniBannerProps) =>
|
|
662
|
-
Title: ({ children }: MiniBannerTitleProps) =>
|
|
663
|
-
Subtitle: ({ children }: MiniBannerSubtitleProps) =>
|
|
664
|
-
GoBack: ({ children }: MiniBannerGoBackProps) =>
|
|
672
|
+
declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, children, }: MiniBannerProps) => react_jsx_runtime.JSX.Element) & {
|
|
673
|
+
Title: ({ children }: MiniBannerTitleProps) => react_jsx_runtime.JSX.Element;
|
|
674
|
+
Subtitle: ({ children }: MiniBannerSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
675
|
+
GoBack: ({ children }: MiniBannerGoBackProps) => react_jsx_runtime.JSX.Element;
|
|
665
676
|
};
|
|
666
677
|
|
|
667
678
|
type MiniSectionCtaSubtitleProps = {
|
|
@@ -682,9 +693,9 @@ interface MiniSectionCtaProps {
|
|
|
682
693
|
children?: ReactNode;
|
|
683
694
|
}
|
|
684
695
|
|
|
685
|
-
declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, children, }: MiniSectionCtaProps) =>
|
|
686
|
-
Title: ({ children }: MiniSectionCtaTitleProps) =>
|
|
687
|
-
Subtitle: ({ children }: MiniSectionCtaSubtitleProps) =>
|
|
696
|
+
declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, children, }: MiniSectionCtaProps) => react_jsx_runtime.JSX.Element) & {
|
|
697
|
+
Title: ({ children }: MiniSectionCtaTitleProps) => react_jsx_runtime.JSX.Element;
|
|
698
|
+
Subtitle: ({ children }: MiniSectionCtaSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
688
699
|
};
|
|
689
700
|
|
|
690
701
|
interface BaseNavItem {
|
|
@@ -736,7 +747,7 @@ interface NavigationProps {
|
|
|
736
747
|
brandLogos?: NavigationBrandLogos;
|
|
737
748
|
}
|
|
738
749
|
|
|
739
|
-
declare const Navigation: (props: NavigationProps) =>
|
|
750
|
+
declare const Navigation: (props: NavigationProps) => react_jsx_runtime.JSX.Element;
|
|
740
751
|
|
|
741
752
|
type PracticePathCardsFooterProps = {
|
|
742
753
|
children: ReactNode;
|
|
@@ -760,10 +771,10 @@ interface PracticePathCardsProps {
|
|
|
760
771
|
cta?: ICta;
|
|
761
772
|
}
|
|
762
773
|
|
|
763
|
-
declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) =>
|
|
764
|
-
Title: ({ children }: PracticePathCardsTitleProps) =>
|
|
765
|
-
Subtitle: ({ children }: PracticePathCardsSubtitleProps) =>
|
|
766
|
-
Footer: ({ children }: PracticePathCardsFooterProps) =>
|
|
774
|
+
declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) => react_jsx_runtime.JSX.Element) & {
|
|
775
|
+
Title: ({ children }: PracticePathCardsTitleProps) => react_jsx_runtime.JSX.Element;
|
|
776
|
+
Subtitle: ({ children }: PracticePathCardsSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
777
|
+
Footer: ({ children }: PracticePathCardsFooterProps) => react_jsx_runtime.JSX.Element;
|
|
767
778
|
};
|
|
768
779
|
|
|
769
780
|
type Teaser5050With3TextTitleProps = {
|
|
@@ -779,8 +790,8 @@ interface Teaser5050With3TextProps {
|
|
|
779
790
|
children?: ReactNode;
|
|
780
791
|
}
|
|
781
792
|
|
|
782
|
-
declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) =>
|
|
783
|
-
Title: ({ children }: Teaser5050With3TextTitleProps) =>
|
|
793
|
+
declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) => react_jsx_runtime.JSX.Element) & {
|
|
794
|
+
Title: ({ children }: Teaser5050With3TextTitleProps) => react_jsx_runtime.JSX.Element;
|
|
784
795
|
};
|
|
785
796
|
|
|
786
797
|
type Teaser5050WithCtaSubtitleProps = {
|
|
@@ -802,9 +813,9 @@ interface Teaser5050WithCtaProps {
|
|
|
802
813
|
bgColor?: string;
|
|
803
814
|
}
|
|
804
815
|
|
|
805
|
-
declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children, bgColor, }: Teaser5050WithCtaProps) =>
|
|
806
|
-
Title: ({ children }: Teaser5050WithCtaTitleProps) =>
|
|
807
|
-
Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) =>
|
|
816
|
+
declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children, bgColor, }: Teaser5050WithCtaProps) => react_jsx_runtime.JSX.Element) & {
|
|
817
|
+
Title: ({ children }: Teaser5050WithCtaTitleProps) => react_jsx_runtime.JSX.Element;
|
|
818
|
+
Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
808
819
|
};
|
|
809
820
|
|
|
810
821
|
type EventListEmptyProps = {
|
|
@@ -826,9 +837,9 @@ interface EventListProps extends PropsWithChildren {
|
|
|
826
837
|
variant?: 'internalEventList';
|
|
827
838
|
}
|
|
828
839
|
|
|
829
|
-
declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) =>
|
|
830
|
-
Title: ({ children }: EventListTitleProps) =>
|
|
831
|
-
Empty: ({ children }: EventListEmptyProps) =>
|
|
840
|
+
declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) => react_jsx_runtime.JSX.Element) & {
|
|
841
|
+
Title: ({ children }: EventListTitleProps) => react_jsx_runtime.JSX.Element;
|
|
842
|
+
Empty: ({ children }: EventListEmptyProps) => react_jsx_runtime.JSX.Element;
|
|
832
843
|
};
|
|
833
844
|
|
|
834
845
|
type TextEventRichTextProps = {
|
|
@@ -848,9 +859,9 @@ interface TextEventProps {
|
|
|
848
859
|
children?: ReactNode;
|
|
849
860
|
}
|
|
850
861
|
|
|
851
|
-
declare const TextEvent: ((props: TextEventProps) =>
|
|
852
|
-
Title: ({ children }: TextEventTitleProps) =>
|
|
853
|
-
RichText: ({ children }: TextEventRichTextProps) =>
|
|
862
|
+
declare const TextEvent: ((props: TextEventProps) => react_jsx_runtime.JSX.Element) & {
|
|
863
|
+
Title: ({ children }: TextEventTitleProps) => react_jsx_runtime.JSX.Element;
|
|
864
|
+
RichText: ({ children }: TextEventRichTextProps) => react_jsx_runtime.JSX.Element;
|
|
854
865
|
};
|
|
855
866
|
|
|
856
867
|
type TextBodyBodyProps = {
|
|
@@ -868,9 +879,9 @@ interface TextBodyProps {
|
|
|
868
879
|
children?: ReactNode;
|
|
869
880
|
}
|
|
870
881
|
|
|
871
|
-
declare const TextBody: ((props: TextBodyProps) =>
|
|
872
|
-
Title: ({ children }: TextBodyTitleProps) =>
|
|
873
|
-
Body: ({ children }: TextBodyBodyProps) =>
|
|
882
|
+
declare const TextBody: ((props: TextBodyProps) => react_jsx_runtime.JSX.Element) & {
|
|
883
|
+
Title: ({ children }: TextBodyTitleProps) => react_jsx_runtime.JSX.Element;
|
|
884
|
+
Body: ({ children }: TextBodyBodyProps) => react_jsx_runtime.JSX.Element;
|
|
874
885
|
};
|
|
875
886
|
|
|
876
887
|
type TextCenterCtaInBottomSubtitleProps = {
|
|
@@ -889,9 +900,9 @@ interface TextCenterCtaInBottomProps {
|
|
|
889
900
|
children?: ReactNode;
|
|
890
901
|
}
|
|
891
902
|
|
|
892
|
-
declare const TextCenterCtaInBottom: (({ className, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) =>
|
|
893
|
-
Title: ({ children }: TextCenterCtaInBottomTitleProps) =>
|
|
894
|
-
Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) =>
|
|
903
|
+
declare const TextCenterCtaInBottom: (({ className, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) => react_jsx_runtime.JSX.Element) & {
|
|
904
|
+
Title: ({ children }: TextCenterCtaInBottomTitleProps) => react_jsx_runtime.JSX.Element;
|
|
905
|
+
Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
895
906
|
};
|
|
896
907
|
|
|
897
908
|
interface ResourcesGridListProps {
|
|
@@ -904,7 +915,7 @@ interface ResourcesGridListProps {
|
|
|
904
915
|
children?: ReactNode;
|
|
905
916
|
}
|
|
906
917
|
|
|
907
|
-
declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) =>
|
|
918
|
+
declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) => react_jsx_runtime.JSX.Element;
|
|
908
919
|
|
|
909
920
|
type BlogCardGridTitleProps = {
|
|
910
921
|
children: ReactNode;
|
|
@@ -924,8 +935,8 @@ interface BlogCardGridProps extends PropsWithChildren {
|
|
|
924
935
|
}) => React.ReactNode;
|
|
925
936
|
}
|
|
926
937
|
|
|
927
|
-
declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) =>
|
|
928
|
-
Title: ({ children }: BlogCardGridTitleProps) =>
|
|
938
|
+
declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) => react_jsx_runtime.JSX.Element) & {
|
|
939
|
+
Title: ({ children }: BlogCardGridTitleProps) => react_jsx_runtime.JSX.Element;
|
|
929
940
|
};
|
|
930
941
|
|
|
931
942
|
type FeaturedNewsHighlightsTitleProps = {
|
|
@@ -945,8 +956,8 @@ interface FeaturedNewsHighlightsProps extends PropsWithChildren {
|
|
|
945
956
|
}) => React.ReactNode;
|
|
946
957
|
}
|
|
947
958
|
|
|
948
|
-
declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) =>
|
|
949
|
-
Title: ({ children }: FeaturedNewsHighlightsTitleProps) =>
|
|
959
|
+
declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) => react_jsx_runtime.JSX.Element) & {
|
|
960
|
+
Title: ({ children }: FeaturedNewsHighlightsTitleProps) => react_jsx_runtime.JSX.Element;
|
|
950
961
|
};
|
|
951
962
|
|
|
952
963
|
type NewsCardListPaginationProps = {
|
|
@@ -967,8 +978,8 @@ interface NewsCardListProps extends PropsWithChildren {
|
|
|
967
978
|
}) => React.ReactNode;
|
|
968
979
|
}
|
|
969
980
|
|
|
970
|
-
declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) =>
|
|
971
|
-
Pagination: ({ children }: NewsCardListPaginationProps) =>
|
|
981
|
+
declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) => react_jsx_runtime.JSX.Element) & {
|
|
982
|
+
Pagination: ({ children }: NewsCardListPaginationProps) => react_jsx_runtime.JSX.Element;
|
|
972
983
|
};
|
|
973
984
|
|
|
974
985
|
type BlogPostBodyProps = {
|
|
@@ -984,9 +995,9 @@ interface BlogPostProps extends PropsWithChildren, Omit<NewsCardProps, 'descript
|
|
|
984
995
|
relatedArticles?: NewsCardProps[];
|
|
985
996
|
}
|
|
986
997
|
|
|
987
|
-
declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) =>
|
|
988
|
-
Title: ({ children }: BlogPostTitleProps) =>
|
|
989
|
-
Body: ({ children }: BlogPostBodyProps) =>
|
|
998
|
+
declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) => react_jsx_runtime.JSX.Element) & {
|
|
999
|
+
Title: ({ children }: BlogPostTitleProps) => react_jsx_runtime.JSX.Element;
|
|
1000
|
+
Body: ({ children }: BlogPostBodyProps) => react_jsx_runtime.JSX.Element;
|
|
990
1001
|
};
|
|
991
1002
|
|
|
992
1003
|
type BlogSearchResultsListPaginationProps = {
|
|
@@ -1010,9 +1021,9 @@ interface BlogSearchResultsListProps extends PropsWithChildren {
|
|
|
1010
1021
|
}) => React.ReactNode;
|
|
1011
1022
|
}
|
|
1012
1023
|
|
|
1013
|
-
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) =>
|
|
1014
|
-
Search: ({ children }: BlogSearchResultsListSearchProps) =>
|
|
1015
|
-
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) =>
|
|
1024
|
+
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) => react_jsx_runtime.JSX.Element) & {
|
|
1025
|
+
Search: ({ children }: BlogSearchResultsListSearchProps) => react_jsx_runtime.JSX.Element;
|
|
1026
|
+
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) => react_jsx_runtime.JSX.Element;
|
|
1016
1027
|
};
|
|
1017
1028
|
|
|
1018
1029
|
type GlobalSearchResultsListPaginationProps = {
|
|
@@ -1032,9 +1043,9 @@ interface GlobalSearchResultsListProps extends PropsWithChildren {
|
|
|
1032
1043
|
}) => React.ReactNode;
|
|
1033
1044
|
}
|
|
1034
1045
|
|
|
1035
|
-
declare const GlobalSearchResultsList: (({ items, searchResult, className, renderLink, children, }: GlobalSearchResultsListProps) =>
|
|
1036
|
-
Search: ({ children }: GlobalSearchResultsListSearchProps) =>
|
|
1037
|
-
Pagination: ({ children, }: GlobalSearchResultsListPaginationProps) =>
|
|
1046
|
+
declare const GlobalSearchResultsList: (({ items, searchResult, className, renderLink, children, }: GlobalSearchResultsListProps) => react_jsx_runtime.JSX.Element) & {
|
|
1047
|
+
Search: ({ children }: GlobalSearchResultsListSearchProps) => react_jsx_runtime.JSX.Element;
|
|
1048
|
+
Pagination: ({ children, }: GlobalSearchResultsListPaginationProps) => react_jsx_runtime.JSX.Element;
|
|
1038
1049
|
};
|
|
1039
1050
|
|
|
1040
1051
|
type TextCenterWithMediaTitleProps = {
|
|
@@ -1053,8 +1064,8 @@ interface TextCenterWithMediaProps {
|
|
|
1053
1064
|
children?: ReactNode;
|
|
1054
1065
|
}
|
|
1055
1066
|
|
|
1056
|
-
declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, loop, mute, hideControl, autoPlay, children, }: TextCenterWithMediaProps) =>
|
|
1057
|
-
Title: ({ children }: TextCenterWithMediaTitleProps) =>
|
|
1067
|
+
declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, loop, mute, hideControl, autoPlay, children, }: TextCenterWithMediaProps) => react_jsx_runtime.JSX.Element) & {
|
|
1068
|
+
Title: ({ children }: TextCenterWithMediaTitleProps) => react_jsx_runtime.JSX.Element;
|
|
1058
1069
|
};
|
|
1059
1070
|
|
|
1060
1071
|
interface QuoteSectionBlockItem {
|
|
@@ -1070,7 +1081,19 @@ interface QuoteSectionBlockProps {
|
|
|
1070
1081
|
items?: QuoteSectionBlockItem[];
|
|
1071
1082
|
}
|
|
1072
1083
|
|
|
1073
|
-
declare const QuoteSectionBlock: ({ className, title, items }: QuoteSectionBlockProps) =>
|
|
1084
|
+
declare const QuoteSectionBlock: ({ className, title, items }: QuoteSectionBlockProps) => react_jsx_runtime.JSX.Element | null;
|
|
1085
|
+
|
|
1086
|
+
type PageLoaderLogoProps = {
|
|
1087
|
+
children: ReactNode;
|
|
1088
|
+
};
|
|
1089
|
+
|
|
1090
|
+
interface PageLoaderProps extends PropsWithChildren {
|
|
1091
|
+
className?: string;
|
|
1092
|
+
}
|
|
1093
|
+
|
|
1094
|
+
declare const PageLoader: (({ className, children }: PageLoaderProps) => react_jsx_runtime.JSX.Element) & {
|
|
1095
|
+
Logo: ({ children }: PageLoaderLogoProps) => react_jsx_runtime.JSX.Element;
|
|
1096
|
+
};
|
|
1074
1097
|
|
|
1075
1098
|
/** Tracks the current browser path, updating on back/forward navigation. */
|
|
1076
1099
|
declare const useActivePath: () => string;
|
|
@@ -1100,4 +1123,4 @@ type SlotMap = Record<string, SlotComponent>;
|
|
|
1100
1123
|
*/
|
|
1101
1124
|
declare function resolveCompoundSlots(children: ReactNode, slots: SlotMap): Record<string, ReactNode>;
|
|
1102
1125
|
|
|
1103
|
-
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, 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 ICta, type ICtaHoverLogo, type ICtaIcon, type ICtaLogo, type IFooterSupportGroup, type IPicture, Icon, type IconType, InfoCard, type InfoCardProps, Input, type InputProps, InternalBrandsTab, type InternalBrandsTabProps, type UserMenuItem as InternalNavMenuItem, MiniBanner, type MiniBannerProps, MiniSectionCta, type MiniSectionCtaProps, type NavItem, Navigation, type NavigationBrandLogos, type NavigationProps, type UserMenuUser as NavigationUser, NewsCard, NewsCardList, type NewsCardListProps, type NewsCardProps, 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, UpcomingEventCard, type UpcomingEventCardProps, UserMenu, type UserMenuItem, type UserMenuProps, type UserMenuUser, resolveCompoundSlots, svgs, useActivePath, useIntersectionObserver, useIsAtTop };
|
|
1126
|
+
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, 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 ICta, type ICtaHoverLogo, type ICtaIcon, type ICtaLogo, type IFooterSupportGroup, type IPicture, 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, UpcomingEventCard, type UpcomingEventCardProps, UserMenu, type UserMenuItem, type UserMenuProps, type UserMenuUser, resolveCompoundSlots, svgs, useActivePath, useIntersectionObserver, useIsAtTop };
|