@digital-b2c/coreui-kit 0.17.19 → 0.18.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 +361 -258
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +85 -93
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +128 -100
- package/dist/index.d.ts +128 -100
- package/dist/index.mjs +376 -275
- package/dist/index.mjs.map +1 -1
- package/dist/types/global.d.ts +25 -25
- package/package.json +101 -101
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as react from 'react';
|
|
3
|
-
import react__default, { ImgHTMLAttributes, AnchorHTMLAttributes, ReactNode, Ref, HTMLAttributes, ButtonHTMLAttributes, InputHTMLAttributes, PropsWithChildren, JSX, FC, CSSProperties } from 'react';
|
|
2
|
+
import react__default, { ImgHTMLAttributes, AnchorHTMLAttributes, ReactNode, Ref, HTMLAttributes, ButtonHTMLAttributes, InputHTMLAttributes, PropsWithChildren, JSX, FC, RefObject, CSSProperties } from 'react';
|
|
4
3
|
|
|
5
4
|
interface IPicture {
|
|
6
5
|
src: string;
|
|
@@ -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;
|
|
@@ -454,7 +453,7 @@ interface TextProps extends HTMLAttributes<HTMLElement> {
|
|
|
454
453
|
}
|
|
455
454
|
|
|
456
455
|
declare const Text: {
|
|
457
|
-
({ tag, promoteToH1, ref, children, ...props }: TextProps):
|
|
456
|
+
({ tag, promoteToH1, ref, children, ...props }: TextProps): react.JSX.Element;
|
|
458
457
|
displayName: string;
|
|
459
458
|
};
|
|
460
459
|
|
|
@@ -465,7 +464,7 @@ interface ColTextMenuProps extends IColTextMenuItem {
|
|
|
465
464
|
}
|
|
466
465
|
|
|
467
466
|
declare const ColTextMenu: {
|
|
468
|
-
({ label, url, isExternal, className, renderLink, }: ColTextMenuProps):
|
|
467
|
+
({ label, url, isExternal, className, renderLink, }: ColTextMenuProps): react.JSX.Element;
|
|
469
468
|
displayName: string;
|
|
470
469
|
};
|
|
471
470
|
|
|
@@ -506,17 +505,34 @@ interface UserMenuProps {
|
|
|
506
505
|
* Escape or outside interaction).
|
|
507
506
|
* - Without `menuItems`, renders a plain link (when `url` is set) or button.
|
|
508
507
|
*/
|
|
509
|
-
declare const UserMenu: ({ user, className, dropUp, fullWidth }: UserMenuProps) =>
|
|
508
|
+
declare const UserMenu: ({ user, className, dropUp, fullWidth }: UserMenuProps) => react.JSX.Element;
|
|
510
509
|
|
|
511
510
|
interface LoaderProps {
|
|
512
511
|
className?: string;
|
|
513
512
|
}
|
|
514
513
|
|
|
515
514
|
declare const Loader: {
|
|
516
|
-
({ className }: LoaderProps):
|
|
515
|
+
({ className }: LoaderProps): react.JSX.Element;
|
|
517
516
|
displayName: string;
|
|
518
517
|
};
|
|
519
518
|
|
|
519
|
+
interface BrandCardProps {
|
|
520
|
+
id?: string;
|
|
521
|
+
theme?: string;
|
|
522
|
+
title: string;
|
|
523
|
+
subtitle: string;
|
|
524
|
+
image: IPicture;
|
|
525
|
+
className?: string;
|
|
526
|
+
animationSettings: {
|
|
527
|
+
triggerRef?: RefObject<HTMLElement | null>;
|
|
528
|
+
to: number;
|
|
529
|
+
suffix?: string;
|
|
530
|
+
duration?: number;
|
|
531
|
+
};
|
|
532
|
+
}
|
|
533
|
+
|
|
534
|
+
declare const BrandCard: ({ theme, title, subtitle, image, animationSettings, className, }: BrandCardProps) => react.JSX.Element;
|
|
535
|
+
|
|
520
536
|
type CardCollectionSubtitleProps = {
|
|
521
537
|
children: ReactNode;
|
|
522
538
|
};
|
|
@@ -536,9 +552,9 @@ interface CardCollectionProps {
|
|
|
536
552
|
theme?: 'dark' | 'light';
|
|
537
553
|
}
|
|
538
554
|
|
|
539
|
-
declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) =>
|
|
540
|
-
Title: ({ children }: CardCollectionTitleProps) =>
|
|
541
|
-
Subtitle: ({ children }: CardCollectionSubtitleProps) =>
|
|
555
|
+
declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) => react.JSX.Element) & {
|
|
556
|
+
Title: ({ children }: CardCollectionTitleProps) => react.JSX.Element;
|
|
557
|
+
Subtitle: ({ children }: CardCollectionSubtitleProps) => react.JSX.Element;
|
|
542
558
|
};
|
|
543
559
|
|
|
544
560
|
type ContactModuleSubtitleProps = {
|
|
@@ -560,9 +576,9 @@ interface ContactModuleProps {
|
|
|
560
576
|
animateBlur?: boolean;
|
|
561
577
|
}
|
|
562
578
|
|
|
563
|
-
declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) =>
|
|
564
|
-
Title: ({ children }: ContactModuleTitleProps) =>
|
|
565
|
-
Subtitle: ({ children }: ContactModuleSubtitleProps) =>
|
|
579
|
+
declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) => react.JSX.Element) & {
|
|
580
|
+
Title: ({ children }: ContactModuleTitleProps) => react.JSX.Element;
|
|
581
|
+
Subtitle: ({ children }: ContactModuleSubtitleProps) => react.JSX.Element;
|
|
566
582
|
};
|
|
567
583
|
|
|
568
584
|
interface IFooterLink {
|
|
@@ -588,7 +604,7 @@ interface FooterProps {
|
|
|
588
604
|
supportContacts?: IFooterSupportGroup[];
|
|
589
605
|
}
|
|
590
606
|
|
|
591
|
-
declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) =>
|
|
607
|
+
declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) => react.JSX.Element;
|
|
592
608
|
|
|
593
609
|
type HeroBannerSubtitleProps = {
|
|
594
610
|
children: ReactNode;
|
|
@@ -615,9 +631,9 @@ interface HeroBannerProps {
|
|
|
615
631
|
type?: 'internal' | 'external';
|
|
616
632
|
}
|
|
617
633
|
|
|
618
|
-
declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, type, children, }: HeroBannerProps) =>
|
|
619
|
-
Title: ({ children }: HeroBannerTitleProps) =>
|
|
620
|
-
Subtitle: ({ children }: HeroBannerSubtitleProps) =>
|
|
634
|
+
declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, type, children, }: HeroBannerProps) => react.JSX.Element) & {
|
|
635
|
+
Title: ({ children }: HeroBannerTitleProps) => react.JSX.Element;
|
|
636
|
+
Subtitle: ({ children }: HeroBannerSubtitleProps) => react.JSX.Element;
|
|
621
637
|
};
|
|
622
638
|
|
|
623
639
|
interface HeroBannerCarouselItem {
|
|
@@ -634,7 +650,7 @@ interface HeroBannerCarouselProps {
|
|
|
634
650
|
navNextIcon?: string;
|
|
635
651
|
}
|
|
636
652
|
|
|
637
|
-
declare const HeroBannerCarousel: ({ className, items, navPrevIcon, navNextIcon, }: HeroBannerCarouselProps) =>
|
|
653
|
+
declare const HeroBannerCarousel: ({ className, items, navPrevIcon, navNextIcon, }: HeroBannerCarouselProps) => react.JSX.Element | null;
|
|
638
654
|
|
|
639
655
|
interface InternalBrandsTabProps {
|
|
640
656
|
title?: string;
|
|
@@ -657,7 +673,7 @@ interface InternalBrandsTabProps {
|
|
|
657
673
|
}[];
|
|
658
674
|
}
|
|
659
675
|
|
|
660
|
-
declare const InternalBrandsTab: (props: InternalBrandsTabProps) =>
|
|
676
|
+
declare const InternalBrandsTab: (props: InternalBrandsTabProps) => react.JSX.Element;
|
|
661
677
|
|
|
662
678
|
type MiniBannerGoBackProps = {
|
|
663
679
|
children: ReactNode;
|
|
@@ -695,10 +711,10 @@ interface MiniBannerProps {
|
|
|
695
711
|
children?: ReactNode;
|
|
696
712
|
}
|
|
697
713
|
|
|
698
|
-
declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, promoteToH1, children, }: MiniBannerProps) =>
|
|
699
|
-
Title: ({ children }: MiniBannerTitleProps) =>
|
|
700
|
-
Subtitle: ({ children }: MiniBannerSubtitleProps) =>
|
|
701
|
-
GoBack: ({ children }: MiniBannerGoBackProps) =>
|
|
714
|
+
declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, promoteToH1, children, }: MiniBannerProps) => react.JSX.Element) & {
|
|
715
|
+
Title: ({ children }: MiniBannerTitleProps) => react.JSX.Element;
|
|
716
|
+
Subtitle: ({ children }: MiniBannerSubtitleProps) => react.JSX.Element;
|
|
717
|
+
GoBack: ({ children }: MiniBannerGoBackProps) => react.JSX.Element;
|
|
702
718
|
};
|
|
703
719
|
|
|
704
720
|
type MiniSectionCtaSubtitleProps = {
|
|
@@ -723,9 +739,9 @@ interface MiniSectionCtaProps {
|
|
|
723
739
|
};
|
|
724
740
|
}
|
|
725
741
|
|
|
726
|
-
declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, moduleStyles, children, }: MiniSectionCtaProps) =>
|
|
727
|
-
Title: ({ children }: MiniSectionCtaTitleProps) =>
|
|
728
|
-
Subtitle: ({ children }: MiniSectionCtaSubtitleProps) =>
|
|
742
|
+
declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, moduleStyles, children, }: MiniSectionCtaProps) => react.JSX.Element) & {
|
|
743
|
+
Title: ({ children }: MiniSectionCtaTitleProps) => react.JSX.Element;
|
|
744
|
+
Subtitle: ({ children }: MiniSectionCtaSubtitleProps) => react.JSX.Element;
|
|
729
745
|
};
|
|
730
746
|
|
|
731
747
|
type NavigationUserMenuFallbackProps = {
|
|
@@ -753,14 +769,10 @@ interface NavDropdown extends BaseNavItem {
|
|
|
753
769
|
/** A single top-level navigation entry, shared by the external and internal navigation. */
|
|
754
770
|
type NavItem = NavLink | NavDropdown;
|
|
755
771
|
/**
|
|
756
|
-
* Brand
|
|
757
|
-
* When omitted the color bars stay as thin 8px strips.
|
|
772
|
+
* Brand bar colors shown in the top strip of the navigation.
|
|
758
773
|
*/
|
|
759
|
-
interface
|
|
760
|
-
|
|
761
|
-
forEyes?: IPicture;
|
|
762
|
-
optical?: IPicture;
|
|
763
|
-
pearleVision?: IPicture;
|
|
774
|
+
interface NavigationBrandBar {
|
|
775
|
+
backgroundColor: string;
|
|
764
776
|
}
|
|
765
777
|
interface NavigationProps extends PropsWithChildren {
|
|
766
778
|
className?: string;
|
|
@@ -778,11 +790,11 @@ interface NavigationProps extends PropsWithChildren {
|
|
|
778
790
|
searchPlaceholder?: string;
|
|
779
791
|
searchCta?: ICta;
|
|
780
792
|
onSearch?: (query: string) => void;
|
|
781
|
-
|
|
793
|
+
brandBars?: NavigationBrandBar[];
|
|
782
794
|
}
|
|
783
795
|
|
|
784
|
-
declare const Navigation: ((props: NavigationProps) =>
|
|
785
|
-
UserMenuFallback: ({ children }: NavigationUserMenuFallbackProps) =>
|
|
796
|
+
declare const Navigation: ((props: NavigationProps) => react.JSX.Element) & {
|
|
797
|
+
UserMenuFallback: ({ children }: NavigationUserMenuFallbackProps) => react.JSX.Element;
|
|
786
798
|
};
|
|
787
799
|
|
|
788
800
|
type PracticePathCardsFooterProps = {
|
|
@@ -807,10 +819,10 @@ interface PracticePathCardsProps {
|
|
|
807
819
|
cta?: ICta;
|
|
808
820
|
}
|
|
809
821
|
|
|
810
|
-
declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) =>
|
|
811
|
-
Title: ({ children }: PracticePathCardsTitleProps) =>
|
|
812
|
-
Subtitle: ({ children }: PracticePathCardsSubtitleProps) =>
|
|
813
|
-
Footer: ({ children }: PracticePathCardsFooterProps) =>
|
|
822
|
+
declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) => react.JSX.Element) & {
|
|
823
|
+
Title: ({ children }: PracticePathCardsTitleProps) => react.JSX.Element;
|
|
824
|
+
Subtitle: ({ children }: PracticePathCardsSubtitleProps) => react.JSX.Element;
|
|
825
|
+
Footer: ({ children }: PracticePathCardsFooterProps) => react.JSX.Element;
|
|
814
826
|
};
|
|
815
827
|
|
|
816
828
|
type Teaser5050With3TextTitleProps = {
|
|
@@ -826,8 +838,8 @@ interface Teaser5050With3TextProps {
|
|
|
826
838
|
children?: ReactNode;
|
|
827
839
|
}
|
|
828
840
|
|
|
829
|
-
declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) =>
|
|
830
|
-
Title: ({ children }: Teaser5050With3TextTitleProps) =>
|
|
841
|
+
declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) => react.JSX.Element) & {
|
|
842
|
+
Title: ({ children }: Teaser5050With3TextTitleProps) => react.JSX.Element;
|
|
831
843
|
};
|
|
832
844
|
|
|
833
845
|
type Teaser5050WithCtaSubtitleProps = {
|
|
@@ -852,9 +864,9 @@ interface Teaser5050WithCtaProps {
|
|
|
852
864
|
};
|
|
853
865
|
}
|
|
854
866
|
|
|
855
|
-
declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children, moduleStyles, }: Teaser5050WithCtaProps) =>
|
|
856
|
-
Title: ({ children }: Teaser5050WithCtaTitleProps) =>
|
|
857
|
-
Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) =>
|
|
867
|
+
declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children, moduleStyles, }: Teaser5050WithCtaProps) => react.JSX.Element) & {
|
|
868
|
+
Title: ({ children }: Teaser5050WithCtaTitleProps) => react.JSX.Element;
|
|
869
|
+
Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) => react.JSX.Element;
|
|
858
870
|
};
|
|
859
871
|
|
|
860
872
|
type EventListEmptyProps = {
|
|
@@ -876,9 +888,9 @@ interface EventListProps extends PropsWithChildren {
|
|
|
876
888
|
variant?: 'internalEventList';
|
|
877
889
|
}
|
|
878
890
|
|
|
879
|
-
declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) =>
|
|
880
|
-
Title: ({ children }: EventListTitleProps) =>
|
|
881
|
-
Empty: ({ children }: EventListEmptyProps) =>
|
|
891
|
+
declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) => react.JSX.Element) & {
|
|
892
|
+
Title: ({ children }: EventListTitleProps) => react.JSX.Element;
|
|
893
|
+
Empty: ({ children }: EventListEmptyProps) => react.JSX.Element;
|
|
882
894
|
};
|
|
883
895
|
|
|
884
896
|
type TextEventRichTextProps = {
|
|
@@ -898,9 +910,9 @@ interface TextEventProps {
|
|
|
898
910
|
children?: ReactNode;
|
|
899
911
|
}
|
|
900
912
|
|
|
901
|
-
declare const TextEvent: ((props: TextEventProps) =>
|
|
902
|
-
Title: ({ children }: TextEventTitleProps) =>
|
|
903
|
-
RichText: ({ children }: TextEventRichTextProps) =>
|
|
913
|
+
declare const TextEvent: ((props: TextEventProps) => react.JSX.Element) & {
|
|
914
|
+
Title: ({ children }: TextEventTitleProps) => react.JSX.Element;
|
|
915
|
+
RichText: ({ children }: TextEventRichTextProps) => react.JSX.Element;
|
|
904
916
|
};
|
|
905
917
|
|
|
906
918
|
type TextBodyBodyProps = {
|
|
@@ -920,9 +932,9 @@ interface TextBodyProps {
|
|
|
920
932
|
children?: ReactNode;
|
|
921
933
|
}
|
|
922
934
|
|
|
923
|
-
declare const TextBody: ((props: TextBodyProps) =>
|
|
924
|
-
Title: ({ children }: TextBodyTitleProps) =>
|
|
925
|
-
Body: ({ children }: TextBodyBodyProps) =>
|
|
935
|
+
declare const TextBody: ((props: TextBodyProps) => react.JSX.Element) & {
|
|
936
|
+
Title: ({ children }: TextBodyTitleProps) => react.JSX.Element;
|
|
937
|
+
Body: ({ children }: TextBodyBodyProps) => react.JSX.Element;
|
|
926
938
|
};
|
|
927
939
|
|
|
928
940
|
type TextCenterCtaInBottomSubtitleProps = {
|
|
@@ -941,9 +953,9 @@ interface TextCenterCtaInBottomProps {
|
|
|
941
953
|
children?: ReactNode;
|
|
942
954
|
}
|
|
943
955
|
|
|
944
|
-
declare const TextCenterCtaInBottom: (({ className, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) =>
|
|
945
|
-
Title: ({ children }: TextCenterCtaInBottomTitleProps) =>
|
|
946
|
-
Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) =>
|
|
956
|
+
declare const TextCenterCtaInBottom: (({ className, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) => react.JSX.Element) & {
|
|
957
|
+
Title: ({ children }: TextCenterCtaInBottomTitleProps) => react.JSX.Element;
|
|
958
|
+
Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) => react.JSX.Element;
|
|
947
959
|
};
|
|
948
960
|
|
|
949
961
|
interface ResourcesGridListProps {
|
|
@@ -956,7 +968,7 @@ interface ResourcesGridListProps {
|
|
|
956
968
|
children?: ReactNode;
|
|
957
969
|
}
|
|
958
970
|
|
|
959
|
-
declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) =>
|
|
971
|
+
declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) => react.JSX.Element;
|
|
960
972
|
|
|
961
973
|
type BlogCardGridTitleProps = {
|
|
962
974
|
children: ReactNode;
|
|
@@ -976,8 +988,8 @@ interface BlogCardGridProps extends PropsWithChildren {
|
|
|
976
988
|
}) => React.ReactNode;
|
|
977
989
|
}
|
|
978
990
|
|
|
979
|
-
declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) =>
|
|
980
|
-
Title: ({ children }: BlogCardGridTitleProps) =>
|
|
991
|
+
declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) => react.JSX.Element) & {
|
|
992
|
+
Title: ({ children }: BlogCardGridTitleProps) => react.JSX.Element;
|
|
981
993
|
};
|
|
982
994
|
|
|
983
995
|
type FeaturedNewsHighlightsTitleProps = {
|
|
@@ -997,8 +1009,8 @@ interface FeaturedNewsHighlightsProps extends PropsWithChildren {
|
|
|
997
1009
|
}) => React.ReactNode;
|
|
998
1010
|
}
|
|
999
1011
|
|
|
1000
|
-
declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) =>
|
|
1001
|
-
Title: ({ children }: FeaturedNewsHighlightsTitleProps) =>
|
|
1012
|
+
declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) => react.JSX.Element) & {
|
|
1013
|
+
Title: ({ children }: FeaturedNewsHighlightsTitleProps) => react.JSX.Element;
|
|
1002
1014
|
};
|
|
1003
1015
|
|
|
1004
1016
|
type NewsCardListPaginationProps = {
|
|
@@ -1019,8 +1031,8 @@ interface NewsCardListProps extends PropsWithChildren {
|
|
|
1019
1031
|
}) => React.ReactNode;
|
|
1020
1032
|
}
|
|
1021
1033
|
|
|
1022
|
-
declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) =>
|
|
1023
|
-
Pagination: ({ children }: NewsCardListPaginationProps) =>
|
|
1034
|
+
declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) => react.JSX.Element) & {
|
|
1035
|
+
Pagination: ({ children }: NewsCardListPaginationProps) => react.JSX.Element;
|
|
1024
1036
|
};
|
|
1025
1037
|
|
|
1026
1038
|
type BlogPostBodyProps = {
|
|
@@ -1036,9 +1048,9 @@ interface BlogPostProps extends PropsWithChildren, Omit<NewsCardProps, 'descript
|
|
|
1036
1048
|
relatedArticles?: NewsCardProps[];
|
|
1037
1049
|
}
|
|
1038
1050
|
|
|
1039
|
-
declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) =>
|
|
1040
|
-
Title: ({ children }: BlogPostTitleProps) =>
|
|
1041
|
-
Body: ({ children }: BlogPostBodyProps) =>
|
|
1051
|
+
declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) => react.JSX.Element) & {
|
|
1052
|
+
Title: ({ children }: BlogPostTitleProps) => react.JSX.Element;
|
|
1053
|
+
Body: ({ children }: BlogPostBodyProps) => react.JSX.Element;
|
|
1042
1054
|
};
|
|
1043
1055
|
|
|
1044
1056
|
type BlogSearchResultsListPaginationProps = {
|
|
@@ -1062,9 +1074,9 @@ interface BlogSearchResultsListProps extends PropsWithChildren {
|
|
|
1062
1074
|
}) => React.ReactNode;
|
|
1063
1075
|
}
|
|
1064
1076
|
|
|
1065
|
-
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) =>
|
|
1066
|
-
Search: ({ children }: BlogSearchResultsListSearchProps) =>
|
|
1067
|
-
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) =>
|
|
1077
|
+
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) => react.JSX.Element) & {
|
|
1078
|
+
Search: ({ children }: BlogSearchResultsListSearchProps) => react.JSX.Element;
|
|
1079
|
+
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) => react.JSX.Element;
|
|
1068
1080
|
};
|
|
1069
1081
|
|
|
1070
1082
|
type GlobalSearchResultsListPaginationProps = {
|
|
@@ -1084,9 +1096,9 @@ interface GlobalSearchResultsListProps extends PropsWithChildren {
|
|
|
1084
1096
|
}) => React.ReactNode;
|
|
1085
1097
|
}
|
|
1086
1098
|
|
|
1087
|
-
declare const GlobalSearchResultsList: (({ items, searchResult, className, renderLink, children, }: GlobalSearchResultsListProps) =>
|
|
1088
|
-
Search: ({ children }: GlobalSearchResultsListSearchProps) =>
|
|
1089
|
-
Pagination: ({ children, }: GlobalSearchResultsListPaginationProps) =>
|
|
1099
|
+
declare const GlobalSearchResultsList: (({ items, searchResult, className, renderLink, children, }: GlobalSearchResultsListProps) => react.JSX.Element) & {
|
|
1100
|
+
Search: ({ children }: GlobalSearchResultsListSearchProps) => react.JSX.Element;
|
|
1101
|
+
Pagination: ({ children, }: GlobalSearchResultsListPaginationProps) => react.JSX.Element;
|
|
1090
1102
|
};
|
|
1091
1103
|
|
|
1092
1104
|
type TextCenterWithMediaTitleProps = {
|
|
@@ -1105,8 +1117,8 @@ interface TextCenterWithMediaProps {
|
|
|
1105
1117
|
children?: ReactNode;
|
|
1106
1118
|
}
|
|
1107
1119
|
|
|
1108
|
-
declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, loop, mute, hideControl, autoPlay, children, }: TextCenterWithMediaProps) =>
|
|
1109
|
-
Title: ({ children }: TextCenterWithMediaTitleProps) =>
|
|
1120
|
+
declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, loop, mute, hideControl, autoPlay, children, }: TextCenterWithMediaProps) => react.JSX.Element) & {
|
|
1121
|
+
Title: ({ children }: TextCenterWithMediaTitleProps) => react.JSX.Element;
|
|
1110
1122
|
};
|
|
1111
1123
|
|
|
1112
1124
|
interface QuoteSectionBlockItem {
|
|
@@ -1122,7 +1134,7 @@ interface QuoteSectionBlockProps {
|
|
|
1122
1134
|
items?: QuoteSectionBlockItem[];
|
|
1123
1135
|
}
|
|
1124
1136
|
|
|
1125
|
-
declare const QuoteSectionBlock: ({ className, title, items }: QuoteSectionBlockProps) =>
|
|
1137
|
+
declare const QuoteSectionBlock: ({ className, title, items }: QuoteSectionBlockProps) => react.JSX.Element | null;
|
|
1126
1138
|
|
|
1127
1139
|
type PageLoaderLogoProps = {
|
|
1128
1140
|
children: ReactNode;
|
|
@@ -1132,8 +1144,8 @@ interface PageLoaderProps extends PropsWithChildren {
|
|
|
1132
1144
|
className?: string;
|
|
1133
1145
|
}
|
|
1134
1146
|
|
|
1135
|
-
declare const PageLoader: (({ className, children }: PageLoaderProps) =>
|
|
1136
|
-
Logo: ({ children }: PageLoaderLogoProps) =>
|
|
1147
|
+
declare const PageLoader: (({ className, children }: PageLoaderProps) => react.JSX.Element) & {
|
|
1148
|
+
Logo: ({ children }: PageLoaderLogoProps) => react.JSX.Element;
|
|
1137
1149
|
};
|
|
1138
1150
|
|
|
1139
1151
|
interface ITwoColTextMenuSection {
|
|
@@ -1149,10 +1161,26 @@ interface TwoColTextMenuProps {
|
|
|
1149
1161
|
}
|
|
1150
1162
|
|
|
1151
1163
|
declare const TwoColTextMenu: {
|
|
1152
|
-
({ className, ariaLabel, sections, renderLink, }: TwoColTextMenuProps):
|
|
1164
|
+
({ className, ariaLabel, sections, renderLink, }: TwoColTextMenuProps): react.JSX.Element | null;
|
|
1153
1165
|
displayName: string;
|
|
1154
1166
|
};
|
|
1155
1167
|
|
|
1168
|
+
type LocationsBrandCardsTextProps = {
|
|
1169
|
+
children: ReactNode;
|
|
1170
|
+
};
|
|
1171
|
+
|
|
1172
|
+
interface LocationsBrandCardsProps extends PropsWithChildren {
|
|
1173
|
+
className?: string;
|
|
1174
|
+
title: string;
|
|
1175
|
+
subtitle?: string | ReactNode;
|
|
1176
|
+
image: IPicture;
|
|
1177
|
+
cards: BrandCardProps[];
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
declare const LocationsBrandCards: (({ className, title, subtitle, image, cards, children, }: LocationsBrandCardsProps) => react.JSX.Element) & {
|
|
1181
|
+
Text: ({ children }: LocationsBrandCardsTextProps) => react.JSX.Element;
|
|
1182
|
+
};
|
|
1183
|
+
|
|
1156
1184
|
/** Tracks the current browser path, updating on back/forward navigation. */
|
|
1157
1185
|
declare const useActivePath: () => string;
|
|
1158
1186
|
|
|
@@ -1181,4 +1209,4 @@ type SlotMap = Record<string, SlotComponent>;
|
|
|
1181
1209
|
*/
|
|
1182
1210
|
declare function resolveCompoundSlots(children: ReactNode, slots: SlotMap): Record<string, ReactNode>;
|
|
1183
1211
|
|
|
1184
|
-
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
|
|
1212
|
+
export { Anchor, type AnchorProps, Badge, type BadgeProps, BlogCardGrid, type BlogCardGridProps, BlogPost, BlogPostContent, type BlogPostContentProps, type BlogPostProps, BlogSearchResultsList, type BlogSearchResultsListProps, BrandCard, type BrandCardProps, 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, LocationsBrandCards, type LocationsBrandCardsProps, MiniBanner, type MiniBannerProps, MiniSectionCta, type MiniSectionCtaProps, type NavItem, Navigation, type NavigationBrandBar, 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 };
|