@digital-b2c/coreui-kit 0.14.6 → 0.15.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 +1220 -512
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +846 -76
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +175 -82
- package/dist/index.d.ts +175 -82
- package/dist/index.mjs +1153 -448
- package/dist/index.mjs.map +1 -1
- package/dist/types/global.d.ts +25 -25
- package/package.json +100 -101
package/dist/index.d.ts
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
|
|
|
@@ -85,6 +84,7 @@ declare const svgs: {
|
|
|
85
84
|
tiltedRight: string;
|
|
86
85
|
xBlack: string;
|
|
87
86
|
xWhite: string;
|
|
87
|
+
user: string;
|
|
88
88
|
};
|
|
89
89
|
type IconType = keyof typeof svgs;
|
|
90
90
|
interface IconProps extends react__default.ComponentPropsWithRef<'svg'> {
|
|
@@ -117,7 +117,7 @@ interface BrandsStripProps {
|
|
|
117
117
|
size?: 'small';
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
declare const BrandsStrip: ({ className, variant, title, logos, cta, size, }: BrandsStripProps) =>
|
|
120
|
+
declare const BrandsStrip: ({ className, variant, title, logos, cta, size, }: BrandsStripProps) => react.JSX.Element;
|
|
121
121
|
|
|
122
122
|
declare const ButtonVariantReadOnly: readonly ["primary", "secondary", "ghost", "nofill", "grey", "nofillblack", "shiny", "tabbutton", "navnofillblack"];
|
|
123
123
|
type TButtonVariant = (typeof ButtonVariantReadOnly)[number];
|
|
@@ -157,11 +157,11 @@ interface CardProps {
|
|
|
157
157
|
}
|
|
158
158
|
|
|
159
159
|
declare const Card: {
|
|
160
|
-
({ className, variant, title, subtitle, cta, icon, logo, children, ref, }: CardProps):
|
|
160
|
+
({ className, variant, title, subtitle, cta, icon, logo, children, ref, }: CardProps): react.JSX.Element;
|
|
161
161
|
displayName: string;
|
|
162
162
|
} & {
|
|
163
|
-
Title: ({ children }: CardTitleProps) =>
|
|
164
|
-
Subtitle: ({ children }: CardSubtitleProps) =>
|
|
163
|
+
Title: ({ children }: CardTitleProps) => react.JSX.Element;
|
|
164
|
+
Subtitle: ({ children }: CardSubtitleProps) => react.JSX.Element;
|
|
165
165
|
};
|
|
166
166
|
|
|
167
167
|
type CountingCardTitleProps = {
|
|
@@ -176,8 +176,8 @@ interface CountingCardProps {
|
|
|
176
176
|
children?: ReactNode;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
declare const CountingCard: (({ className, title, count, image, children }: CountingCardProps) =>
|
|
180
|
-
Title: ({ children }: CountingCardTitleProps) =>
|
|
179
|
+
declare const CountingCard: (({ className, title, count, image, children }: CountingCardProps) => react.JSX.Element) & {
|
|
180
|
+
Title: ({ children }: CountingCardTitleProps) => react.JSX.Element;
|
|
181
181
|
};
|
|
182
182
|
|
|
183
183
|
type ResourceView = 'grid' | 'list';
|
|
@@ -201,7 +201,7 @@ interface ResourceCardItemProps {
|
|
|
201
201
|
}) => React.ReactNode;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
declare const ResourceCardItem: ({ item, view, variant, renderLink }: ResourceCardItemProps) =>
|
|
204
|
+
declare const ResourceCardItem: ({ item, view, variant, renderLink }: ResourceCardItemProps) => react.JSX.Element;
|
|
205
205
|
|
|
206
206
|
type FilterOption = 'all' | 'pdf' | 'externalLink';
|
|
207
207
|
type SortOption = 'latest' | 'oldest' | 'az' | 'za';
|
|
@@ -217,7 +217,7 @@ interface FilterBarProps {
|
|
|
217
217
|
onSearchChange: (v: string) => void;
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
declare function FilterBar({ view, onViewChange, isMobile, filterValue, onFilterChange, sortValue, onSortChange, searchValue, onSearchChange, }: FilterBarProps):
|
|
220
|
+
declare function FilterBar({ view, onViewChange, isMobile, filterValue, onFilterChange, sortValue, onSortChange, searchValue, onSearchChange, }: FilterBarProps): react.JSX.Element;
|
|
221
221
|
|
|
222
222
|
type InfoCardSubtitleProps = {
|
|
223
223
|
children: ReactNode;
|
|
@@ -236,9 +236,9 @@ interface InfoCardProps {
|
|
|
236
236
|
children?: ReactNode;
|
|
237
237
|
}
|
|
238
238
|
|
|
239
|
-
declare const InfoCard: (({ className, title, subtitle, icon, badge, children }: InfoCardProps) =>
|
|
240
|
-
Title: ({ children }: InfoCardTitleProps) =>
|
|
241
|
-
Subtitle: ({ children }: InfoCardSubtitleProps) =>
|
|
239
|
+
declare const InfoCard: (({ className, title, subtitle, icon, badge, children }: InfoCardProps) => react.JSX.Element) & {
|
|
240
|
+
Title: ({ children }: InfoCardTitleProps) => react.JSX.Element;
|
|
241
|
+
Subtitle: ({ children }: InfoCardSubtitleProps) => react.JSX.Element;
|
|
242
242
|
};
|
|
243
243
|
|
|
244
244
|
interface PaginationProps {
|
|
@@ -259,9 +259,9 @@ interface PaginationProps {
|
|
|
259
259
|
}) => ReactNode;
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
declare const Pagination: ({ className, totalPages, currentPage, loop, hasNumber, disableArrows, onPageChange, showEllipsis, boundaryCount, siblingCount, hidePagesBorder, renderLink, }: PaginationProps) =>
|
|
262
|
+
declare const Pagination: ({ className, totalPages, currentPage, loop, hasNumber, disableArrows, onPageChange, showEllipsis, boundaryCount, siblingCount, hidePagesBorder, renderLink, }: PaginationProps) => react.JSX.Element;
|
|
263
263
|
|
|
264
|
-
declare const Picture: ({ className, ...props }: PictureProps) =>
|
|
264
|
+
declare const Picture: ({ className, ...props }: PictureProps) => react.JSX.Element;
|
|
265
265
|
|
|
266
266
|
interface PracticeCardProps {
|
|
267
267
|
className?: string;
|
|
@@ -270,7 +270,7 @@ interface PracticeCardProps {
|
|
|
270
270
|
image?: IPicture;
|
|
271
271
|
}
|
|
272
272
|
|
|
273
|
-
declare const PracticeCard: ({ className, title, cta, image }: PracticeCardProps) =>
|
|
273
|
+
declare const PracticeCard: ({ className, title, cta, image }: PracticeCardProps) => react.JSX.Element;
|
|
274
274
|
|
|
275
275
|
interface SidebarCategory {
|
|
276
276
|
label: string;
|
|
@@ -290,7 +290,7 @@ interface SidebarProps {
|
|
|
290
290
|
onSelect: (index: number) => void;
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
-
declare const Sidebar: ({ categories, isMobile, onToggle, selectedIndex, onSelect, }: SidebarProps) =>
|
|
293
|
+
declare const Sidebar: ({ categories, isMobile, onToggle, selectedIndex, onSelect, }: SidebarProps) => react.JSX.Element;
|
|
294
294
|
|
|
295
295
|
interface UpcomingEventCardProps {
|
|
296
296
|
className?: string;
|
|
@@ -306,7 +306,7 @@ interface UpcomingEventCardProps {
|
|
|
306
306
|
showImage?: boolean;
|
|
307
307
|
}
|
|
308
308
|
|
|
309
|
-
declare const UpcomingEventCard: ({ className, image, date, title, location, description, cta, direction, showImage, }: UpcomingEventCardProps) =>
|
|
309
|
+
declare const UpcomingEventCard: ({ className, image, date, title, location, description, cta, direction, showImage, }: UpcomingEventCardProps) => react.JSX.Element;
|
|
310
310
|
|
|
311
311
|
type BadgeBaseProps = {
|
|
312
312
|
children?: ReactNode;
|
|
@@ -384,7 +384,7 @@ interface NewsCardProps {
|
|
|
384
384
|
}) => React.ReactNode;
|
|
385
385
|
}
|
|
386
386
|
|
|
387
|
-
declare const NewsCard: ({ className, image, date, description, tag, title, cta, direction, renderLink, }: NewsCardProps) =>
|
|
387
|
+
declare const NewsCard: ({ className, image, date, description, tag, title, cta, direction, renderLink, }: NewsCardProps) => react.JSX.Element;
|
|
388
388
|
|
|
389
389
|
type BlogPostContentBodyProps = {
|
|
390
390
|
children: ReactNode;
|
|
@@ -396,10 +396,65 @@ interface BlogPostContentProps {
|
|
|
396
396
|
body?: ReactNode;
|
|
397
397
|
}
|
|
398
398
|
|
|
399
|
-
declare const BlogPostContent: (({ className, body, children }: BlogPostContentProps) =>
|
|
400
|
-
Body: ({ children }: BlogPostContentBodyProps) =>
|
|
399
|
+
declare const BlogPostContent: (({ className, body, children }: BlogPostContentProps) => react.JSX.Element) & {
|
|
400
|
+
Body: ({ children }: BlogPostContentBodyProps) => react.JSX.Element;
|
|
401
401
|
};
|
|
402
402
|
|
|
403
|
+
interface SearchProps {
|
|
404
|
+
placeholder?: string;
|
|
405
|
+
/** Optional CTA. When it has a `url`, submitting navigates to `${url}?q=<query>`. */
|
|
406
|
+
searchCta?: ICta;
|
|
407
|
+
/** Called with the trimmed query when the search is submitted. */
|
|
408
|
+
onSearch?: (query: string) => void;
|
|
409
|
+
/**
|
|
410
|
+
* `pill` renders the persistent pill style; `expandable` (default) renders an
|
|
411
|
+
* icon button that expands into the input on click.
|
|
412
|
+
*/
|
|
413
|
+
variant?: 'expandable' | 'pill';
|
|
414
|
+
className?: string;
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
declare const Search: ({ placeholder, searchCta, onSearch, variant, className, }: SearchProps) => react.JSX.Element;
|
|
418
|
+
|
|
419
|
+
interface UserMenuItem {
|
|
420
|
+
label: string;
|
|
421
|
+
/** Renders the item as a link. */
|
|
422
|
+
url?: string;
|
|
423
|
+
isExternal?: boolean;
|
|
424
|
+
/** Called when the item is activated. */
|
|
425
|
+
onClick?: () => void;
|
|
426
|
+
/** `danger` renders the item in the notification-red treatment (e.g. Log out). */
|
|
427
|
+
variant?: 'default' | 'danger';
|
|
428
|
+
}
|
|
429
|
+
interface UserMenuUser {
|
|
430
|
+
/** Display name shown next to the avatar. */
|
|
431
|
+
label: string;
|
|
432
|
+
/** Optional link the button navigates to (used when `menuItems` is empty). */
|
|
433
|
+
url?: string;
|
|
434
|
+
isExternal?: boolean;
|
|
435
|
+
/** Optional avatar image; falls back to a default user icon. */
|
|
436
|
+
avatar?: IPicture;
|
|
437
|
+
/** Items shown in the dropdown menu opened by the button. */
|
|
438
|
+
menuItems?: UserMenuItem[];
|
|
439
|
+
}
|
|
440
|
+
interface UserMenuProps {
|
|
441
|
+
user: UserMenuUser;
|
|
442
|
+
className?: string;
|
|
443
|
+
/** Opens the menu above the button instead of below (e.g. in a footer). */
|
|
444
|
+
dropUp?: boolean;
|
|
445
|
+
/** Stretches the button to fill the width of its container. */
|
|
446
|
+
fullWidth?: boolean;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
/**
|
|
450
|
+
* Reusable user / account button.
|
|
451
|
+
*
|
|
452
|
+
* - With `menuItems`, renders a button that toggles a dropdown menu (closes on
|
|
453
|
+
* Escape or outside interaction).
|
|
454
|
+
* - Without `menuItems`, renders a plain link (when `url` is set) or button.
|
|
455
|
+
*/
|
|
456
|
+
declare const UserMenu: ({ user, className, dropUp, fullWidth }: UserMenuProps) => react.JSX.Element;
|
|
457
|
+
|
|
403
458
|
interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
404
459
|
isExternal?: boolean;
|
|
405
460
|
renderLink?: (props: AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
@@ -407,7 +462,7 @@ interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
|
407
462
|
}) => ReactNode;
|
|
408
463
|
}
|
|
409
464
|
|
|
410
|
-
declare const Anchor: ({ children, isExternal, renderLink, ...props }: AnchorProps) =>
|
|
465
|
+
declare const Anchor: ({ children, isExternal, renderLink, ...props }: AnchorProps) => react.JSX.Element;
|
|
411
466
|
|
|
412
467
|
interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
413
468
|
children: ReactNode;
|
|
@@ -446,9 +501,9 @@ interface CardCollectionProps {
|
|
|
446
501
|
theme?: 'dark' | 'light';
|
|
447
502
|
}
|
|
448
503
|
|
|
449
|
-
declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) =>
|
|
450
|
-
Title: ({ children }: CardCollectionTitleProps) =>
|
|
451
|
-
Subtitle: ({ children }: CardCollectionSubtitleProps) =>
|
|
504
|
+
declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) => react.JSX.Element) & {
|
|
505
|
+
Title: ({ children }: CardCollectionTitleProps) => react.JSX.Element;
|
|
506
|
+
Subtitle: ({ children }: CardCollectionSubtitleProps) => react.JSX.Element;
|
|
452
507
|
};
|
|
453
508
|
|
|
454
509
|
type ContactModuleSubtitleProps = {
|
|
@@ -470,9 +525,9 @@ interface ContactModuleProps {
|
|
|
470
525
|
animateBlur?: boolean;
|
|
471
526
|
}
|
|
472
527
|
|
|
473
|
-
declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) =>
|
|
474
|
-
Title: ({ children }: ContactModuleTitleProps) =>
|
|
475
|
-
Subtitle: ({ children }: ContactModuleSubtitleProps) =>
|
|
528
|
+
declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) => react.JSX.Element) & {
|
|
529
|
+
Title: ({ children }: ContactModuleTitleProps) => react.JSX.Element;
|
|
530
|
+
Subtitle: ({ children }: ContactModuleSubtitleProps) => react.JSX.Element;
|
|
476
531
|
};
|
|
477
532
|
|
|
478
533
|
interface IFooterLink {
|
|
@@ -498,7 +553,7 @@ interface FooterProps {
|
|
|
498
553
|
supportContacts?: IFooterSupportGroup[];
|
|
499
554
|
}
|
|
500
555
|
|
|
501
|
-
declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) =>
|
|
556
|
+
declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) => react.JSX.Element;
|
|
502
557
|
|
|
503
558
|
type HeroBannerSubtitleProps = {
|
|
504
559
|
children: ReactNode;
|
|
@@ -524,9 +579,9 @@ interface HeroBannerProps {
|
|
|
524
579
|
children?: ReactNode;
|
|
525
580
|
}
|
|
526
581
|
|
|
527
|
-
declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, children, }: HeroBannerProps) =>
|
|
528
|
-
Title: ({ children }: HeroBannerTitleProps) =>
|
|
529
|
-
Subtitle: ({ children }: HeroBannerSubtitleProps) =>
|
|
582
|
+
declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, children, }: HeroBannerProps) => react.JSX.Element) & {
|
|
583
|
+
Title: ({ children }: HeroBannerTitleProps) => react.JSX.Element;
|
|
584
|
+
Subtitle: ({ children }: HeroBannerSubtitleProps) => react.JSX.Element;
|
|
530
585
|
};
|
|
531
586
|
|
|
532
587
|
interface HeroBannerCarouselItem {
|
|
@@ -543,7 +598,7 @@ interface HeroBannerCarouselProps {
|
|
|
543
598
|
navNextIcon?: string;
|
|
544
599
|
}
|
|
545
600
|
|
|
546
|
-
declare const HeroBannerCarousel: ({ className, items, navPrevIcon, navNextIcon, }: HeroBannerCarouselProps) =>
|
|
601
|
+
declare const HeroBannerCarousel: ({ className, items, navPrevIcon, navNextIcon, }: HeroBannerCarouselProps) => react.JSX.Element | null;
|
|
547
602
|
|
|
548
603
|
interface InternalBrandsTabProps {
|
|
549
604
|
title?: string;
|
|
@@ -566,7 +621,7 @@ interface InternalBrandsTabProps {
|
|
|
566
621
|
}[];
|
|
567
622
|
}
|
|
568
623
|
|
|
569
|
-
declare const InternalBrandsTab: (props: InternalBrandsTabProps) =>
|
|
624
|
+
declare const InternalBrandsTab: (props: InternalBrandsTabProps) => react.JSX.Element;
|
|
570
625
|
|
|
571
626
|
type MiniBannerGoBackProps = {
|
|
572
627
|
children: ReactNode;
|
|
@@ -603,10 +658,10 @@ interface MiniBannerProps {
|
|
|
603
658
|
children?: ReactNode;
|
|
604
659
|
}
|
|
605
660
|
|
|
606
|
-
declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, children, }: MiniBannerProps) =>
|
|
607
|
-
Title: ({ children }: MiniBannerTitleProps) =>
|
|
608
|
-
Subtitle: ({ children }: MiniBannerSubtitleProps) =>
|
|
609
|
-
GoBack: ({ children }: MiniBannerGoBackProps) =>
|
|
661
|
+
declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, children, }: MiniBannerProps) => react.JSX.Element) & {
|
|
662
|
+
Title: ({ children }: MiniBannerTitleProps) => react.JSX.Element;
|
|
663
|
+
Subtitle: ({ children }: MiniBannerSubtitleProps) => react.JSX.Element;
|
|
664
|
+
GoBack: ({ children }: MiniBannerGoBackProps) => react.JSX.Element;
|
|
610
665
|
};
|
|
611
666
|
|
|
612
667
|
type MiniSectionCtaSubtitleProps = {
|
|
@@ -627,9 +682,9 @@ interface MiniSectionCtaProps {
|
|
|
627
682
|
children?: ReactNode;
|
|
628
683
|
}
|
|
629
684
|
|
|
630
|
-
declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, children, }: MiniSectionCtaProps) =>
|
|
631
|
-
Title: ({ children }: MiniSectionCtaTitleProps) =>
|
|
632
|
-
Subtitle: ({ children }: MiniSectionCtaSubtitleProps) =>
|
|
685
|
+
declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, children, }: MiniSectionCtaProps) => react.JSX.Element) & {
|
|
686
|
+
Title: ({ children }: MiniSectionCtaTitleProps) => react.JSX.Element;
|
|
687
|
+
Subtitle: ({ children }: MiniSectionCtaSubtitleProps) => react.JSX.Element;
|
|
633
688
|
};
|
|
634
689
|
|
|
635
690
|
interface BaseNavItem {
|
|
@@ -639,26 +694,49 @@ interface BaseNavItem {
|
|
|
639
694
|
interface NavLink {
|
|
640
695
|
type: 'link';
|
|
641
696
|
cta?: ICta;
|
|
697
|
+
/** Marks the item as the current page (adds the active treatment). */
|
|
698
|
+
isActive?: boolean;
|
|
699
|
+
variant?: 'subMenuSpacer';
|
|
642
700
|
}
|
|
643
701
|
interface NavDropdown extends BaseNavItem {
|
|
644
702
|
type: 'dropdown';
|
|
645
703
|
items: NavItem[];
|
|
646
704
|
cta?: ICta;
|
|
705
|
+
/** Marks the item as the current page (adds the active treatment). */
|
|
706
|
+
isActive?: boolean;
|
|
647
707
|
}
|
|
708
|
+
/** A single top-level navigation entry, shared by the external and internal navigation. */
|
|
648
709
|
type NavItem = NavLink | NavDropdown;
|
|
710
|
+
/**
|
|
711
|
+
* Brand logos shown in the "unfolded" color bar at the top of the page.
|
|
712
|
+
* When omitted the color bars stay as thin 8px strips.
|
|
713
|
+
*/
|
|
714
|
+
interface NavigationBrandLogos {
|
|
715
|
+
lenscrafters?: IPicture;
|
|
716
|
+
forEyes?: IPicture;
|
|
717
|
+
optical?: IPicture;
|
|
718
|
+
pearleVision?: IPicture;
|
|
719
|
+
}
|
|
649
720
|
interface NavigationProps {
|
|
650
721
|
className?: string;
|
|
651
|
-
variant?: '
|
|
722
|
+
variant?: 'external' | 'internal' | '' | null;
|
|
723
|
+
transparent?: boolean;
|
|
652
724
|
mainLogo?: string;
|
|
725
|
+
logoAlt?: string;
|
|
653
726
|
homeCta?: string;
|
|
654
727
|
loginCta?: ICta;
|
|
655
728
|
rightButton?: ICta;
|
|
656
729
|
navigationItems?: {
|
|
657
730
|
items: NavItem[];
|
|
658
731
|
};
|
|
732
|
+
user?: UserMenuUser;
|
|
733
|
+
searchPlaceholder?: string;
|
|
734
|
+
searchCta?: ICta;
|
|
735
|
+
onSearch?: (query: string) => void;
|
|
736
|
+
brandLogos?: NavigationBrandLogos;
|
|
659
737
|
}
|
|
660
738
|
|
|
661
|
-
declare const Navigation: (props: NavigationProps) =>
|
|
739
|
+
declare const Navigation: (props: NavigationProps) => react.JSX.Element;
|
|
662
740
|
|
|
663
741
|
type PracticePathCardsFooterProps = {
|
|
664
742
|
children: ReactNode;
|
|
@@ -682,10 +760,10 @@ interface PracticePathCardsProps {
|
|
|
682
760
|
cta?: ICta;
|
|
683
761
|
}
|
|
684
762
|
|
|
685
|
-
declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) =>
|
|
686
|
-
Title: ({ children }: PracticePathCardsTitleProps) =>
|
|
687
|
-
Subtitle: ({ children }: PracticePathCardsSubtitleProps) =>
|
|
688
|
-
Footer: ({ children }: PracticePathCardsFooterProps) =>
|
|
763
|
+
declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) => react.JSX.Element) & {
|
|
764
|
+
Title: ({ children }: PracticePathCardsTitleProps) => react.JSX.Element;
|
|
765
|
+
Subtitle: ({ children }: PracticePathCardsSubtitleProps) => react.JSX.Element;
|
|
766
|
+
Footer: ({ children }: PracticePathCardsFooterProps) => react.JSX.Element;
|
|
689
767
|
};
|
|
690
768
|
|
|
691
769
|
type Teaser5050With3TextTitleProps = {
|
|
@@ -701,8 +779,8 @@ interface Teaser5050With3TextProps {
|
|
|
701
779
|
children?: ReactNode;
|
|
702
780
|
}
|
|
703
781
|
|
|
704
|
-
declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) =>
|
|
705
|
-
Title: ({ children }: Teaser5050With3TextTitleProps) =>
|
|
782
|
+
declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) => react.JSX.Element) & {
|
|
783
|
+
Title: ({ children }: Teaser5050With3TextTitleProps) => react.JSX.Element;
|
|
706
784
|
};
|
|
707
785
|
|
|
708
786
|
type Teaser5050WithCtaSubtitleProps = {
|
|
@@ -724,9 +802,9 @@ interface Teaser5050WithCtaProps {
|
|
|
724
802
|
bgColor?: string;
|
|
725
803
|
}
|
|
726
804
|
|
|
727
|
-
declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children, bgColor, }: Teaser5050WithCtaProps) =>
|
|
728
|
-
Title: ({ children }: Teaser5050WithCtaTitleProps) =>
|
|
729
|
-
Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) =>
|
|
805
|
+
declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children, bgColor, }: Teaser5050WithCtaProps) => react.JSX.Element) & {
|
|
806
|
+
Title: ({ children }: Teaser5050WithCtaTitleProps) => react.JSX.Element;
|
|
807
|
+
Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) => react.JSX.Element;
|
|
730
808
|
};
|
|
731
809
|
|
|
732
810
|
type EventListEmptyProps = {
|
|
@@ -748,9 +826,9 @@ interface EventListProps extends PropsWithChildren {
|
|
|
748
826
|
variant?: 'internalEventList';
|
|
749
827
|
}
|
|
750
828
|
|
|
751
|
-
declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) =>
|
|
752
|
-
Title: ({ children }: EventListTitleProps) =>
|
|
753
|
-
Empty: ({ children }: EventListEmptyProps) =>
|
|
829
|
+
declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) => react.JSX.Element) & {
|
|
830
|
+
Title: ({ children }: EventListTitleProps) => react.JSX.Element;
|
|
831
|
+
Empty: ({ children }: EventListEmptyProps) => react.JSX.Element;
|
|
754
832
|
};
|
|
755
833
|
|
|
756
834
|
type TextEventRichTextProps = {
|
|
@@ -770,9 +848,9 @@ interface TextEventProps {
|
|
|
770
848
|
children?: ReactNode;
|
|
771
849
|
}
|
|
772
850
|
|
|
773
|
-
declare const TextEvent: ((props: TextEventProps) =>
|
|
774
|
-
Title: ({ children }: TextEventTitleProps) =>
|
|
775
|
-
RichText: ({ children }: TextEventRichTextProps) =>
|
|
851
|
+
declare const TextEvent: ((props: TextEventProps) => react.JSX.Element) & {
|
|
852
|
+
Title: ({ children }: TextEventTitleProps) => react.JSX.Element;
|
|
853
|
+
RichText: ({ children }: TextEventRichTextProps) => react.JSX.Element;
|
|
776
854
|
};
|
|
777
855
|
|
|
778
856
|
type TextBodyBodyProps = {
|
|
@@ -790,9 +868,9 @@ interface TextBodyProps {
|
|
|
790
868
|
children?: ReactNode;
|
|
791
869
|
}
|
|
792
870
|
|
|
793
|
-
declare const TextBody: ((props: TextBodyProps) =>
|
|
794
|
-
Title: ({ children }: TextBodyTitleProps) =>
|
|
795
|
-
Body: ({ children }: TextBodyBodyProps) =>
|
|
871
|
+
declare const TextBody: ((props: TextBodyProps) => react.JSX.Element) & {
|
|
872
|
+
Title: ({ children }: TextBodyTitleProps) => react.JSX.Element;
|
|
873
|
+
Body: ({ children }: TextBodyBodyProps) => react.JSX.Element;
|
|
796
874
|
};
|
|
797
875
|
|
|
798
876
|
type TextCenterCtaInBottomSubtitleProps = {
|
|
@@ -811,9 +889,9 @@ interface TextCenterCtaInBottomProps {
|
|
|
811
889
|
children?: ReactNode;
|
|
812
890
|
}
|
|
813
891
|
|
|
814
|
-
declare const TextCenterCtaInBottom: (({ className, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) =>
|
|
815
|
-
Title: ({ children }: TextCenterCtaInBottomTitleProps) =>
|
|
816
|
-
Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) =>
|
|
892
|
+
declare const TextCenterCtaInBottom: (({ className, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) => react.JSX.Element) & {
|
|
893
|
+
Title: ({ children }: TextCenterCtaInBottomTitleProps) => react.JSX.Element;
|
|
894
|
+
Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) => react.JSX.Element;
|
|
817
895
|
};
|
|
818
896
|
|
|
819
897
|
interface ResourcesGridListProps {
|
|
@@ -826,7 +904,7 @@ interface ResourcesGridListProps {
|
|
|
826
904
|
children?: ReactNode;
|
|
827
905
|
}
|
|
828
906
|
|
|
829
|
-
declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) =>
|
|
907
|
+
declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) => react.JSX.Element;
|
|
830
908
|
|
|
831
909
|
type BlogCardGridTitleProps = {
|
|
832
910
|
children: ReactNode;
|
|
@@ -846,8 +924,8 @@ interface BlogCardGridProps extends PropsWithChildren {
|
|
|
846
924
|
}) => React.ReactNode;
|
|
847
925
|
}
|
|
848
926
|
|
|
849
|
-
declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) =>
|
|
850
|
-
Title: ({ children }: BlogCardGridTitleProps) =>
|
|
927
|
+
declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) => react.JSX.Element) & {
|
|
928
|
+
Title: ({ children }: BlogCardGridTitleProps) => react.JSX.Element;
|
|
851
929
|
};
|
|
852
930
|
|
|
853
931
|
type FeaturedNewsHighlightsTitleProps = {
|
|
@@ -867,8 +945,8 @@ interface FeaturedNewsHighlightsProps extends PropsWithChildren {
|
|
|
867
945
|
}) => React.ReactNode;
|
|
868
946
|
}
|
|
869
947
|
|
|
870
|
-
declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) =>
|
|
871
|
-
Title: ({ children }: FeaturedNewsHighlightsTitleProps) =>
|
|
948
|
+
declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) => react.JSX.Element) & {
|
|
949
|
+
Title: ({ children }: FeaturedNewsHighlightsTitleProps) => react.JSX.Element;
|
|
872
950
|
};
|
|
873
951
|
|
|
874
952
|
type NewsCardListPaginationProps = {
|
|
@@ -889,8 +967,8 @@ interface NewsCardListProps extends PropsWithChildren {
|
|
|
889
967
|
}) => React.ReactNode;
|
|
890
968
|
}
|
|
891
969
|
|
|
892
|
-
declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) =>
|
|
893
|
-
Pagination: ({ children }: NewsCardListPaginationProps) =>
|
|
970
|
+
declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) => react.JSX.Element) & {
|
|
971
|
+
Pagination: ({ children }: NewsCardListPaginationProps) => react.JSX.Element;
|
|
894
972
|
};
|
|
895
973
|
|
|
896
974
|
type BlogPostBodyProps = {
|
|
@@ -906,9 +984,9 @@ interface BlogPostProps extends PropsWithChildren, Omit<NewsCardProps, 'descript
|
|
|
906
984
|
relatedArticles?: NewsCardProps[];
|
|
907
985
|
}
|
|
908
986
|
|
|
909
|
-
declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) =>
|
|
910
|
-
Title: ({ children }: BlogPostTitleProps) =>
|
|
911
|
-
Body: ({ children }: BlogPostBodyProps) =>
|
|
987
|
+
declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) => react.JSX.Element) & {
|
|
988
|
+
Title: ({ children }: BlogPostTitleProps) => react.JSX.Element;
|
|
989
|
+
Body: ({ children }: BlogPostBodyProps) => react.JSX.Element;
|
|
912
990
|
};
|
|
913
991
|
|
|
914
992
|
type BlogSearchResultsListPaginationProps = {
|
|
@@ -932,9 +1010,9 @@ interface BlogSearchResultsListProps extends PropsWithChildren {
|
|
|
932
1010
|
}) => React.ReactNode;
|
|
933
1011
|
}
|
|
934
1012
|
|
|
935
|
-
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) =>
|
|
936
|
-
Search: ({ children }: BlogSearchResultsListSearchProps) =>
|
|
937
|
-
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) =>
|
|
1013
|
+
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) => react.JSX.Element) & {
|
|
1014
|
+
Search: ({ children }: BlogSearchResultsListSearchProps) => react.JSX.Element;
|
|
1015
|
+
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) => react.JSX.Element;
|
|
938
1016
|
};
|
|
939
1017
|
|
|
940
1018
|
type GlobalSearchResultsListPaginationProps = {
|
|
@@ -954,9 +1032,9 @@ interface GlobalSearchResultsListProps extends PropsWithChildren {
|
|
|
954
1032
|
}) => React.ReactNode;
|
|
955
1033
|
}
|
|
956
1034
|
|
|
957
|
-
declare const GlobalSearchResultsList: (({ items, searchResult, className, renderLink, children, }: GlobalSearchResultsListProps) =>
|
|
958
|
-
Search: ({ children }: GlobalSearchResultsListSearchProps) =>
|
|
959
|
-
Pagination: ({ children, }: GlobalSearchResultsListPaginationProps) =>
|
|
1035
|
+
declare const GlobalSearchResultsList: (({ items, searchResult, className, renderLink, children, }: GlobalSearchResultsListProps) => react.JSX.Element) & {
|
|
1036
|
+
Search: ({ children }: GlobalSearchResultsListSearchProps) => react.JSX.Element;
|
|
1037
|
+
Pagination: ({ children, }: GlobalSearchResultsListPaginationProps) => react.JSX.Element;
|
|
960
1038
|
};
|
|
961
1039
|
|
|
962
1040
|
type TextCenterWithMediaTitleProps = {
|
|
@@ -975,10 +1053,25 @@ interface TextCenterWithMediaProps {
|
|
|
975
1053
|
children?: ReactNode;
|
|
976
1054
|
}
|
|
977
1055
|
|
|
978
|
-
declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, loop, mute, hideControl, autoPlay, children, }: TextCenterWithMediaProps) =>
|
|
979
|
-
Title: ({ children }: TextCenterWithMediaTitleProps) =>
|
|
1056
|
+
declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, loop, mute, hideControl, autoPlay, children, }: TextCenterWithMediaProps) => react.JSX.Element) & {
|
|
1057
|
+
Title: ({ children }: TextCenterWithMediaTitleProps) => react.JSX.Element;
|
|
980
1058
|
};
|
|
981
1059
|
|
|
1060
|
+
interface QuoteSectionBlockItem {
|
|
1061
|
+
quoteLogo: string;
|
|
1062
|
+
bodyText: ReactNode;
|
|
1063
|
+
displayPhoto: string;
|
|
1064
|
+
displayName: string;
|
|
1065
|
+
jobTitleLogo: string;
|
|
1066
|
+
}
|
|
1067
|
+
interface QuoteSectionBlockProps {
|
|
1068
|
+
className?: string;
|
|
1069
|
+
title?: string;
|
|
1070
|
+
items?: QuoteSectionBlockItem[];
|
|
1071
|
+
}
|
|
1072
|
+
|
|
1073
|
+
declare const QuoteSectionBlock: ({ className, title, items }: QuoteSectionBlockProps) => react.JSX.Element | null;
|
|
1074
|
+
|
|
982
1075
|
type IntersectionObserverOptions = {
|
|
983
1076
|
threshold?: number | number[];
|
|
984
1077
|
rootMargin?: string;
|
|
@@ -1004,4 +1097,4 @@ type SlotMap = Record<string, SlotComponent>;
|
|
|
1004
1097
|
*/
|
|
1005
1098
|
declare function resolveCompoundSlots(children: ReactNode, slots: SlotMap): Record<string, ReactNode>;
|
|
1006
1099
|
|
|
1007
|
-
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, MiniBanner, type MiniBannerProps, MiniSectionCta, type MiniSectionCtaProps, Navigation, type NavigationProps, NewsCard, NewsCardList, type NewsCardListProps, type NewsCardProps, Pagination, type PaginationProps, Picture, type PictureProps, PracticeCard, type PracticeCardProps, PracticePathCards, type PracticePathCardsProps, ResourceCardItem, type ResourceCardItemProps, type ResourceItem, type ResourceItemType, type ResourceView, ResourcesGridList, type ResourcesGridListProps, 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, resolveCompoundSlots, svgs, useIntersectionObserver, useIsAtTop };
|
|
1100
|
+
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, useIntersectionObserver, useIsAtTop };
|