@digital-b2c/coreui-kit 0.21.10 → 0.21.11
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 +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +12 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +100 -99
- package/dist/index.d.ts +100 -99
- package/dist/index.mjs +4 -0
- 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,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, MouseEventHandler, Ref, HTMLAttributes, ButtonHTMLAttributes, InputHTMLAttributes, PropsWithChildren, JSX, FC, RefObject, CSSProperties } from 'react';
|
|
3
4
|
|
|
@@ -119,7 +120,7 @@ interface BrandsStripProps {
|
|
|
119
120
|
size?: 'small';
|
|
120
121
|
}
|
|
121
122
|
|
|
122
|
-
declare const BrandsStrip: ({ className, variant, title, logos, cta, size, }: BrandsStripProps) =>
|
|
123
|
+
declare const BrandsStrip: ({ className, variant, title, logos, cta, size, }: BrandsStripProps) => react_jsx_runtime.JSX.Element;
|
|
123
124
|
|
|
124
125
|
declare const ButtonVariantReadOnly: readonly ["primary", "secondary", "ghost", "nofill", "grey", "nofillblack", "shiny", "tabbutton", "navnofillblack", "textmenu"];
|
|
125
126
|
type TButtonVariant = (typeof ButtonVariantReadOnly)[number];
|
|
@@ -160,11 +161,11 @@ interface CardProps {
|
|
|
160
161
|
}
|
|
161
162
|
|
|
162
163
|
declare const Card: {
|
|
163
|
-
({ className, variant, title, subtitle, cta, onCtaClick, icon, logo, children, ref, }: CardProps):
|
|
164
|
+
({ className, variant, title, subtitle, cta, onCtaClick, icon, logo, children, ref, }: CardProps): react_jsx_runtime.JSX.Element;
|
|
164
165
|
displayName: string;
|
|
165
166
|
} & {
|
|
166
|
-
Title: ({ children }: CardTitleProps) =>
|
|
167
|
-
Subtitle: ({ children }: CardSubtitleProps) =>
|
|
167
|
+
Title: ({ children }: CardTitleProps) => react_jsx_runtime.JSX.Element;
|
|
168
|
+
Subtitle: ({ children }: CardSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
168
169
|
};
|
|
169
170
|
|
|
170
171
|
type CountingCardTitleProps = {
|
|
@@ -179,8 +180,8 @@ interface CountingCardProps {
|
|
|
179
180
|
children?: ReactNode;
|
|
180
181
|
}
|
|
181
182
|
|
|
182
|
-
declare const CountingCard: (({ className, title, count, image, children }: CountingCardProps) =>
|
|
183
|
-
Title: ({ children }: CountingCardTitleProps) =>
|
|
183
|
+
declare const CountingCard: (({ className, title, count, image, children }: CountingCardProps) => react_jsx_runtime.JSX.Element) & {
|
|
184
|
+
Title: ({ children }: CountingCardTitleProps) => react_jsx_runtime.JSX.Element;
|
|
184
185
|
};
|
|
185
186
|
|
|
186
187
|
type ResourceView = 'grid' | 'list';
|
|
@@ -204,7 +205,7 @@ interface ResourceCardItemProps {
|
|
|
204
205
|
}) => React.ReactNode;
|
|
205
206
|
}
|
|
206
207
|
|
|
207
|
-
declare const ResourceCardItem: ({ item, view, variant, renderLink }: ResourceCardItemProps) =>
|
|
208
|
+
declare const ResourceCardItem: ({ item, view, variant, renderLink }: ResourceCardItemProps) => react_jsx_runtime.JSX.Element;
|
|
208
209
|
|
|
209
210
|
type FilterOption = 'all' | 'pdf' | 'externalLink';
|
|
210
211
|
type SortOption = 'latest' | 'oldest' | 'az' | 'za';
|
|
@@ -220,7 +221,7 @@ interface FilterBarProps {
|
|
|
220
221
|
onSearchChange: (v: string) => void;
|
|
221
222
|
}
|
|
222
223
|
|
|
223
|
-
declare function FilterBar({ view, onViewChange, isMobile, filterValue, onFilterChange, sortValue, onSortChange, searchValue, onSearchChange, }: FilterBarProps):
|
|
224
|
+
declare function FilterBar({ view, onViewChange, isMobile, filterValue, onFilterChange, sortValue, onSortChange, searchValue, onSearchChange, }: FilterBarProps): react_jsx_runtime.JSX.Element;
|
|
224
225
|
|
|
225
226
|
type InfoCardSubtitleProps = {
|
|
226
227
|
children: ReactNode;
|
|
@@ -239,9 +240,9 @@ interface InfoCardProps {
|
|
|
239
240
|
children?: ReactNode;
|
|
240
241
|
}
|
|
241
242
|
|
|
242
|
-
declare const InfoCard: (({ className, title, subtitle, icon, badge, children }: InfoCardProps) =>
|
|
243
|
-
Title: ({ children }: InfoCardTitleProps) =>
|
|
244
|
-
Subtitle: ({ children }: InfoCardSubtitleProps) =>
|
|
243
|
+
declare const InfoCard: (({ className, title, subtitle, icon, badge, children }: InfoCardProps) => react_jsx_runtime.JSX.Element) & {
|
|
244
|
+
Title: ({ children }: InfoCardTitleProps) => react_jsx_runtime.JSX.Element;
|
|
245
|
+
Subtitle: ({ children }: InfoCardSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
245
246
|
};
|
|
246
247
|
|
|
247
248
|
interface ModalProps {
|
|
@@ -258,7 +259,7 @@ interface ModalProps {
|
|
|
258
259
|
}
|
|
259
260
|
|
|
260
261
|
declare const Modal: {
|
|
261
|
-
({ className, contentClassName, isOpen, onClose, ariaLabel, closeLabel, hideCloseButton, children, }: ModalProps):
|
|
262
|
+
({ className, contentClassName, isOpen, onClose, ariaLabel, closeLabel, hideCloseButton, children, }: ModalProps): react_jsx_runtime.JSX.Element;
|
|
262
263
|
displayName: string;
|
|
263
264
|
};
|
|
264
265
|
|
|
@@ -280,9 +281,9 @@ interface PaginationProps {
|
|
|
280
281
|
}) => ReactNode;
|
|
281
282
|
}
|
|
282
283
|
|
|
283
|
-
declare const Pagination: ({ className, totalPages, currentPage, loop, hasNumber, disableArrows, onPageChange, showEllipsis, boundaryCount, siblingCount, hidePagesBorder, renderLink, }: PaginationProps) =>
|
|
284
|
+
declare const Pagination: ({ className, totalPages, currentPage, loop, hasNumber, disableArrows, onPageChange, showEllipsis, boundaryCount, siblingCount, hidePagesBorder, renderLink, }: PaginationProps) => react_jsx_runtime.JSX.Element;
|
|
284
285
|
|
|
285
|
-
declare const Picture: ({ className, ...props }: PictureProps) =>
|
|
286
|
+
declare const Picture: ({ className, ...props }: PictureProps) => react_jsx_runtime.JSX.Element;
|
|
286
287
|
|
|
287
288
|
interface PracticeCardProps {
|
|
288
289
|
className?: string;
|
|
@@ -291,7 +292,7 @@ interface PracticeCardProps {
|
|
|
291
292
|
image?: IPicture;
|
|
292
293
|
}
|
|
293
294
|
|
|
294
|
-
declare const PracticeCard: ({ className, title, cta, image }: PracticeCardProps) =>
|
|
295
|
+
declare const PracticeCard: ({ className, title, cta, image }: PracticeCardProps) => react_jsx_runtime.JSX.Element;
|
|
295
296
|
|
|
296
297
|
interface SidebarCategory {
|
|
297
298
|
label: string;
|
|
@@ -308,7 +309,7 @@ interface SidebarProps {
|
|
|
308
309
|
onSelect: (index: number) => void;
|
|
309
310
|
}
|
|
310
311
|
|
|
311
|
-
declare const Sidebar: ({ categories, isMobile, onToggle, selectedIndex, onSelect, }: SidebarProps) =>
|
|
312
|
+
declare const Sidebar: ({ categories, isMobile, onToggle, selectedIndex, onSelect, }: SidebarProps) => react_jsx_runtime.JSX.Element;
|
|
312
313
|
|
|
313
314
|
interface UpcomingEventCardProps {
|
|
314
315
|
className?: string;
|
|
@@ -324,7 +325,7 @@ interface UpcomingEventCardProps {
|
|
|
324
325
|
showImage?: boolean;
|
|
325
326
|
}
|
|
326
327
|
|
|
327
|
-
declare const UpcomingEventCard: ({ className, image, date, title, location, description, cta, direction, showImage, }: UpcomingEventCardProps) =>
|
|
328
|
+
declare const UpcomingEventCard: ({ className, image, date, title, location, description, cta, direction, showImage, }: UpcomingEventCardProps) => react_jsx_runtime.JSX.Element;
|
|
328
329
|
|
|
329
330
|
type BadgeBaseProps = {
|
|
330
331
|
children?: ReactNode;
|
|
@@ -404,7 +405,7 @@ interface NewsCardProps {
|
|
|
404
405
|
}) => React.ReactNode;
|
|
405
406
|
}
|
|
406
407
|
|
|
407
|
-
declare const NewsCard: ({ type, className, image, date, description, tag, title, cta, direction, renderLink, }: NewsCardProps) =>
|
|
408
|
+
declare const NewsCard: ({ type, className, image, date, description, tag, title, cta, direction, renderLink, }: NewsCardProps) => react_jsx_runtime.JSX.Element;
|
|
408
409
|
|
|
409
410
|
type BlogPostContentBodyProps = {
|
|
410
411
|
children: ReactNode;
|
|
@@ -416,8 +417,8 @@ interface BlogPostContentProps {
|
|
|
416
417
|
body?: ReactNode;
|
|
417
418
|
}
|
|
418
419
|
|
|
419
|
-
declare const BlogPostContent: (({ className, body, children }: BlogPostContentProps) =>
|
|
420
|
-
Body: ({ children }: BlogPostContentBodyProps) =>
|
|
420
|
+
declare const BlogPostContent: (({ className, body, children }: BlogPostContentProps) => react_jsx_runtime.JSX.Element) & {
|
|
421
|
+
Body: ({ children }: BlogPostContentBodyProps) => react_jsx_runtime.JSX.Element;
|
|
421
422
|
};
|
|
422
423
|
|
|
423
424
|
interface SearchProps {
|
|
@@ -434,7 +435,7 @@ interface SearchProps {
|
|
|
434
435
|
className?: string;
|
|
435
436
|
}
|
|
436
437
|
|
|
437
|
-
declare const Search: ({ placeholder, searchCta, onSearch, variant, className, }: SearchProps) =>
|
|
438
|
+
declare const Search: ({ placeholder, searchCta, onSearch, variant, className, }: SearchProps) => react_jsx_runtime.JSX.Element;
|
|
438
439
|
|
|
439
440
|
interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
440
441
|
isExternal?: boolean;
|
|
@@ -443,7 +444,7 @@ interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
|
443
444
|
}) => ReactNode;
|
|
444
445
|
}
|
|
445
446
|
|
|
446
|
-
declare const Anchor: ({ children, isExternal, renderLink, ...props }: AnchorProps) =>
|
|
447
|
+
declare const Anchor: ({ children, isExternal, renderLink, ...props }: AnchorProps) => react_jsx_runtime.JSX.Element;
|
|
447
448
|
|
|
448
449
|
interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
449
450
|
children: ReactNode;
|
|
@@ -473,7 +474,7 @@ interface TextProps extends HTMLAttributes<HTMLElement> {
|
|
|
473
474
|
}
|
|
474
475
|
|
|
475
476
|
declare const Text: {
|
|
476
|
-
({ tag, promoteToH1, ref, children, ...props }: TextProps):
|
|
477
|
+
({ tag, promoteToH1, ref, children, ...props }: TextProps): react_jsx_runtime.JSX.Element;
|
|
477
478
|
displayName: string;
|
|
478
479
|
};
|
|
479
480
|
|
|
@@ -484,7 +485,7 @@ interface ColTextMenuProps extends IColTextMenuItem {
|
|
|
484
485
|
}
|
|
485
486
|
|
|
486
487
|
declare const ColTextMenu: {
|
|
487
|
-
({ label, url, isExternal, className, renderLink, }: ColTextMenuProps):
|
|
488
|
+
({ label, url, isExternal, className, renderLink, }: ColTextMenuProps): react_jsx_runtime.JSX.Element;
|
|
488
489
|
displayName: string;
|
|
489
490
|
};
|
|
490
491
|
|
|
@@ -525,14 +526,14 @@ interface UserMenuProps {
|
|
|
525
526
|
* Escape or outside interaction).
|
|
526
527
|
* - Without `menuItems`, renders a plain link (when `url` is set) or button.
|
|
527
528
|
*/
|
|
528
|
-
declare const UserMenu: ({ user, className, dropUp, fullWidth }: UserMenuProps) =>
|
|
529
|
+
declare const UserMenu: ({ user, className, dropUp, fullWidth }: UserMenuProps) => react_jsx_runtime.JSX.Element;
|
|
529
530
|
|
|
530
531
|
interface LoaderProps {
|
|
531
532
|
className?: string;
|
|
532
533
|
}
|
|
533
534
|
|
|
534
535
|
declare const Loader: {
|
|
535
|
-
({ className }: LoaderProps):
|
|
536
|
+
({ className }: LoaderProps): react_jsx_runtime.JSX.Element;
|
|
536
537
|
displayName: string;
|
|
537
538
|
};
|
|
538
539
|
|
|
@@ -551,7 +552,7 @@ interface BrandCardProps {
|
|
|
551
552
|
};
|
|
552
553
|
}
|
|
553
554
|
|
|
554
|
-
declare const BrandCard: ({ theme, title, subtitle, image, animationSettings, className, }: BrandCardProps) =>
|
|
555
|
+
declare const BrandCard: ({ theme, title, subtitle, image, animationSettings, className, }: BrandCardProps) => react_jsx_runtime.JSX.Element;
|
|
555
556
|
|
|
556
557
|
type CardCarouselFootnoteProps = {
|
|
557
558
|
children: ReactNode;
|
|
@@ -583,10 +584,10 @@ interface CardCarouselProps {
|
|
|
583
584
|
children?: ReactNode;
|
|
584
585
|
}
|
|
585
586
|
|
|
586
|
-
declare const CardCarousel: (({ className, title, subtitle, footnote, cards, theme, ariaLabel, children, }: CardCarouselProps) =>
|
|
587
|
-
Title: ({ children }: CardCarouselTitleProps) =>
|
|
588
|
-
Subtitle: ({ children }: CardCarouselSubtitleProps) =>
|
|
589
|
-
Footnote: ({ children }: CardCarouselFootnoteProps) =>
|
|
587
|
+
declare const CardCarousel: (({ className, title, subtitle, footnote, cards, theme, ariaLabel, children, }: CardCarouselProps) => react_jsx_runtime.JSX.Element | null) & {
|
|
588
|
+
Title: ({ children }: CardCarouselTitleProps) => react_jsx_runtime.JSX.Element;
|
|
589
|
+
Subtitle: ({ children }: CardCarouselSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
590
|
+
Footnote: ({ children }: CardCarouselFootnoteProps) => react_jsx_runtime.JSX.Element;
|
|
590
591
|
};
|
|
591
592
|
|
|
592
593
|
type CardCollectionSubtitleProps = {
|
|
@@ -608,9 +609,9 @@ interface CardCollectionProps {
|
|
|
608
609
|
theme?: 'dark' | 'light';
|
|
609
610
|
}
|
|
610
611
|
|
|
611
|
-
declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) =>
|
|
612
|
-
Title: ({ children }: CardCollectionTitleProps) =>
|
|
613
|
-
Subtitle: ({ children }: CardCollectionSubtitleProps) =>
|
|
612
|
+
declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) => react_jsx_runtime.JSX.Element) & {
|
|
613
|
+
Title: ({ children }: CardCollectionTitleProps) => react_jsx_runtime.JSX.Element;
|
|
614
|
+
Subtitle: ({ children }: CardCollectionSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
614
615
|
};
|
|
615
616
|
|
|
616
617
|
type ContactModuleSubtitleProps = {
|
|
@@ -632,9 +633,9 @@ interface ContactModuleProps {
|
|
|
632
633
|
animateBlur?: boolean;
|
|
633
634
|
}
|
|
634
635
|
|
|
635
|
-
declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) =>
|
|
636
|
-
Title: ({ children }: ContactModuleTitleProps) =>
|
|
637
|
-
Subtitle: ({ children }: ContactModuleSubtitleProps) =>
|
|
636
|
+
declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) => react_jsx_runtime.JSX.Element) & {
|
|
637
|
+
Title: ({ children }: ContactModuleTitleProps) => react_jsx_runtime.JSX.Element;
|
|
638
|
+
Subtitle: ({ children }: ContactModuleSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
638
639
|
};
|
|
639
640
|
|
|
640
641
|
interface IFooterLink {
|
|
@@ -660,7 +661,7 @@ interface FooterProps {
|
|
|
660
661
|
supportContacts?: IFooterSupportGroup[];
|
|
661
662
|
}
|
|
662
663
|
|
|
663
|
-
declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) =>
|
|
664
|
+
declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) => react_jsx_runtime.JSX.Element;
|
|
664
665
|
|
|
665
666
|
type HeroBannerSubtitleProps = {
|
|
666
667
|
children: ReactNode;
|
|
@@ -687,9 +688,9 @@ interface HeroBannerProps {
|
|
|
687
688
|
type?: 'internal' | 'external';
|
|
688
689
|
}
|
|
689
690
|
|
|
690
|
-
declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, type, children, }: HeroBannerProps) =>
|
|
691
|
-
Title: ({ children }: HeroBannerTitleProps) =>
|
|
692
|
-
Subtitle: ({ children }: HeroBannerSubtitleProps) =>
|
|
691
|
+
declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, type, children, }: HeroBannerProps) => react_jsx_runtime.JSX.Element) & {
|
|
692
|
+
Title: ({ children }: HeroBannerTitleProps) => react_jsx_runtime.JSX.Element;
|
|
693
|
+
Subtitle: ({ children }: HeroBannerSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
693
694
|
};
|
|
694
695
|
|
|
695
696
|
interface HeroBannerCarouselItem {
|
|
@@ -704,7 +705,7 @@ interface HeroBannerCarouselProps {
|
|
|
704
705
|
items?: HeroBannerCarouselItem[];
|
|
705
706
|
}
|
|
706
707
|
|
|
707
|
-
declare const HeroBannerCarousel: ({ className, items }: HeroBannerCarouselProps) =>
|
|
708
|
+
declare const HeroBannerCarousel: ({ className, items }: HeroBannerCarouselProps) => react_jsx_runtime.JSX.Element | null;
|
|
708
709
|
|
|
709
710
|
interface InternalBrandsTabProps {
|
|
710
711
|
title?: string;
|
|
@@ -727,7 +728,7 @@ interface InternalBrandsTabProps {
|
|
|
727
728
|
}[];
|
|
728
729
|
}
|
|
729
730
|
|
|
730
|
-
declare const InternalBrandsTab: (props: InternalBrandsTabProps) =>
|
|
731
|
+
declare const InternalBrandsTab: (props: InternalBrandsTabProps) => react_jsx_runtime.JSX.Element;
|
|
731
732
|
|
|
732
733
|
type MiniBannerGoBackProps = {
|
|
733
734
|
children: ReactNode;
|
|
@@ -765,10 +766,10 @@ interface MiniBannerProps {
|
|
|
765
766
|
children?: ReactNode;
|
|
766
767
|
}
|
|
767
768
|
|
|
768
|
-
declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, promoteToH1, children, }: MiniBannerProps) =>
|
|
769
|
-
Title: ({ children }: MiniBannerTitleProps) =>
|
|
770
|
-
Subtitle: ({ children }: MiniBannerSubtitleProps) =>
|
|
771
|
-
GoBack: ({ children }: MiniBannerGoBackProps) =>
|
|
769
|
+
declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, promoteToH1, children, }: MiniBannerProps) => react_jsx_runtime.JSX.Element) & {
|
|
770
|
+
Title: ({ children }: MiniBannerTitleProps) => react_jsx_runtime.JSX.Element;
|
|
771
|
+
Subtitle: ({ children }: MiniBannerSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
772
|
+
GoBack: ({ children }: MiniBannerGoBackProps) => react_jsx_runtime.JSX.Element;
|
|
772
773
|
};
|
|
773
774
|
|
|
774
775
|
type MiniSectionCtaSubtitleProps = {
|
|
@@ -793,9 +794,9 @@ interface MiniSectionCtaProps {
|
|
|
793
794
|
};
|
|
794
795
|
}
|
|
795
796
|
|
|
796
|
-
declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, moduleStyles, children, }: MiniSectionCtaProps) =>
|
|
797
|
-
Title: ({ children }: MiniSectionCtaTitleProps) =>
|
|
798
|
-
Subtitle: ({ children }: MiniSectionCtaSubtitleProps) =>
|
|
797
|
+
declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, moduleStyles, children, }: MiniSectionCtaProps) => react_jsx_runtime.JSX.Element) & {
|
|
798
|
+
Title: ({ children }: MiniSectionCtaTitleProps) => react_jsx_runtime.JSX.Element;
|
|
799
|
+
Subtitle: ({ children }: MiniSectionCtaSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
799
800
|
};
|
|
800
801
|
|
|
801
802
|
type NavigationUserMenuFallbackProps = {
|
|
@@ -847,8 +848,8 @@ interface NavigationProps extends PropsWithChildren {
|
|
|
847
848
|
brandBars?: NavigationBrandBar[];
|
|
848
849
|
}
|
|
849
850
|
|
|
850
|
-
declare const Navigation: ((props: NavigationProps) =>
|
|
851
|
-
UserMenuFallback: ({ children }: NavigationUserMenuFallbackProps) =>
|
|
851
|
+
declare const Navigation: ((props: NavigationProps) => react_jsx_runtime.JSX.Element) & {
|
|
852
|
+
UserMenuFallback: ({ children }: NavigationUserMenuFallbackProps) => react_jsx_runtime.JSX.Element;
|
|
852
853
|
};
|
|
853
854
|
|
|
854
855
|
type PracticePathCardsFooterProps = {
|
|
@@ -873,10 +874,10 @@ interface PracticePathCardsProps {
|
|
|
873
874
|
cta?: ICta;
|
|
874
875
|
}
|
|
875
876
|
|
|
876
|
-
declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) =>
|
|
877
|
-
Title: ({ children }: PracticePathCardsTitleProps) =>
|
|
878
|
-
Subtitle: ({ children }: PracticePathCardsSubtitleProps) =>
|
|
879
|
-
Footer: ({ children }: PracticePathCardsFooterProps) =>
|
|
877
|
+
declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) => react_jsx_runtime.JSX.Element) & {
|
|
878
|
+
Title: ({ children }: PracticePathCardsTitleProps) => react_jsx_runtime.JSX.Element;
|
|
879
|
+
Subtitle: ({ children }: PracticePathCardsSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
880
|
+
Footer: ({ children }: PracticePathCardsFooterProps) => react_jsx_runtime.JSX.Element;
|
|
880
881
|
};
|
|
881
882
|
|
|
882
883
|
type Teaser5050With3TextTitleProps = {
|
|
@@ -892,8 +893,8 @@ interface Teaser5050With3TextProps {
|
|
|
892
893
|
children?: ReactNode;
|
|
893
894
|
}
|
|
894
895
|
|
|
895
|
-
declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) =>
|
|
896
|
-
Title: ({ children }: Teaser5050With3TextTitleProps) =>
|
|
896
|
+
declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) => react_jsx_runtime.JSX.Element) & {
|
|
897
|
+
Title: ({ children }: Teaser5050With3TextTitleProps) => react_jsx_runtime.JSX.Element;
|
|
897
898
|
};
|
|
898
899
|
|
|
899
900
|
type Teaser5050WithCtaSubtitleProps = {
|
|
@@ -918,9 +919,9 @@ interface Teaser5050WithCtaProps {
|
|
|
918
919
|
};
|
|
919
920
|
}
|
|
920
921
|
|
|
921
|
-
declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children, moduleStyles, }: Teaser5050WithCtaProps) =>
|
|
922
|
-
Title: ({ children }: Teaser5050WithCtaTitleProps) =>
|
|
923
|
-
Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) =>
|
|
922
|
+
declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children, moduleStyles, }: Teaser5050WithCtaProps) => react_jsx_runtime.JSX.Element) & {
|
|
923
|
+
Title: ({ children }: Teaser5050WithCtaTitleProps) => react_jsx_runtime.JSX.Element;
|
|
924
|
+
Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
924
925
|
};
|
|
925
926
|
|
|
926
927
|
type EventListEmptyProps = {
|
|
@@ -942,9 +943,9 @@ interface EventListProps extends PropsWithChildren {
|
|
|
942
943
|
variant?: 'internalEventList';
|
|
943
944
|
}
|
|
944
945
|
|
|
945
|
-
declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) =>
|
|
946
|
-
Title: ({ children }: EventListTitleProps) =>
|
|
947
|
-
Empty: ({ children }: EventListEmptyProps) =>
|
|
946
|
+
declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) => react_jsx_runtime.JSX.Element) & {
|
|
947
|
+
Title: ({ children }: EventListTitleProps) => react_jsx_runtime.JSX.Element;
|
|
948
|
+
Empty: ({ children }: EventListEmptyProps) => react_jsx_runtime.JSX.Element;
|
|
948
949
|
};
|
|
949
950
|
|
|
950
951
|
type TextEventRichTextProps = {
|
|
@@ -964,9 +965,9 @@ interface TextEventProps {
|
|
|
964
965
|
children?: ReactNode;
|
|
965
966
|
}
|
|
966
967
|
|
|
967
|
-
declare const TextEvent: ((props: TextEventProps) =>
|
|
968
|
-
Title: ({ children }: TextEventTitleProps) =>
|
|
969
|
-
RichText: ({ children }: TextEventRichTextProps) =>
|
|
968
|
+
declare const TextEvent: ((props: TextEventProps) => react_jsx_runtime.JSX.Element) & {
|
|
969
|
+
Title: ({ children }: TextEventTitleProps) => react_jsx_runtime.JSX.Element;
|
|
970
|
+
RichText: ({ children }: TextEventRichTextProps) => react_jsx_runtime.JSX.Element;
|
|
970
971
|
};
|
|
971
972
|
|
|
972
973
|
type TextBodyBodyProps = {
|
|
@@ -986,9 +987,9 @@ interface TextBodyProps {
|
|
|
986
987
|
children?: ReactNode;
|
|
987
988
|
}
|
|
988
989
|
|
|
989
|
-
declare const TextBody: ((props: TextBodyProps) =>
|
|
990
|
-
Title: ({ children }: TextBodyTitleProps) =>
|
|
991
|
-
Body: ({ children }: TextBodyBodyProps) =>
|
|
990
|
+
declare const TextBody: ((props: TextBodyProps) => react_jsx_runtime.JSX.Element) & {
|
|
991
|
+
Title: ({ children }: TextBodyTitleProps) => react_jsx_runtime.JSX.Element;
|
|
992
|
+
Body: ({ children }: TextBodyBodyProps) => react_jsx_runtime.JSX.Element;
|
|
992
993
|
};
|
|
993
994
|
|
|
994
995
|
type TextCenterCtaInBottomSubtitleProps = {
|
|
@@ -1007,9 +1008,9 @@ interface TextCenterCtaInBottomProps {
|
|
|
1007
1008
|
children?: ReactNode;
|
|
1008
1009
|
}
|
|
1009
1010
|
|
|
1010
|
-
declare const TextCenterCtaInBottom: (({ className, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) =>
|
|
1011
|
-
Title: ({ children }: TextCenterCtaInBottomTitleProps) =>
|
|
1012
|
-
Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) =>
|
|
1011
|
+
declare const TextCenterCtaInBottom: (({ className, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) => react_jsx_runtime.JSX.Element) & {
|
|
1012
|
+
Title: ({ children }: TextCenterCtaInBottomTitleProps) => react_jsx_runtime.JSX.Element;
|
|
1013
|
+
Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) => react_jsx_runtime.JSX.Element;
|
|
1013
1014
|
};
|
|
1014
1015
|
|
|
1015
1016
|
interface ResourcesGridListProps {
|
|
@@ -1022,7 +1023,7 @@ interface ResourcesGridListProps {
|
|
|
1022
1023
|
children?: ReactNode;
|
|
1023
1024
|
}
|
|
1024
1025
|
|
|
1025
|
-
declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) =>
|
|
1026
|
+
declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) => react_jsx_runtime.JSX.Element;
|
|
1026
1027
|
|
|
1027
1028
|
type BlogCardGridTitleProps = {
|
|
1028
1029
|
children: ReactNode;
|
|
@@ -1042,8 +1043,8 @@ interface BlogCardGridProps extends PropsWithChildren {
|
|
|
1042
1043
|
}) => React.ReactNode;
|
|
1043
1044
|
}
|
|
1044
1045
|
|
|
1045
|
-
declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) =>
|
|
1046
|
-
Title: ({ children }: BlogCardGridTitleProps) =>
|
|
1046
|
+
declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) => react_jsx_runtime.JSX.Element) & {
|
|
1047
|
+
Title: ({ children }: BlogCardGridTitleProps) => react_jsx_runtime.JSX.Element;
|
|
1047
1048
|
};
|
|
1048
1049
|
|
|
1049
1050
|
type FeaturedNewsHighlightsTitleProps = {
|
|
@@ -1063,8 +1064,8 @@ interface FeaturedNewsHighlightsProps extends PropsWithChildren {
|
|
|
1063
1064
|
}) => React.ReactNode;
|
|
1064
1065
|
}
|
|
1065
1066
|
|
|
1066
|
-
declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) =>
|
|
1067
|
-
Title: ({ children }: FeaturedNewsHighlightsTitleProps) =>
|
|
1067
|
+
declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) => react_jsx_runtime.JSX.Element) & {
|
|
1068
|
+
Title: ({ children }: FeaturedNewsHighlightsTitleProps) => react_jsx_runtime.JSX.Element;
|
|
1068
1069
|
};
|
|
1069
1070
|
|
|
1070
1071
|
type NewsCardListPaginationProps = {
|
|
@@ -1085,8 +1086,8 @@ interface NewsCardListProps extends PropsWithChildren {
|
|
|
1085
1086
|
}) => React.ReactNode;
|
|
1086
1087
|
}
|
|
1087
1088
|
|
|
1088
|
-
declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) =>
|
|
1089
|
-
Pagination: ({ children }: NewsCardListPaginationProps) =>
|
|
1089
|
+
declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) => react_jsx_runtime.JSX.Element) & {
|
|
1090
|
+
Pagination: ({ children }: NewsCardListPaginationProps) => react_jsx_runtime.JSX.Element;
|
|
1090
1091
|
};
|
|
1091
1092
|
|
|
1092
1093
|
type BlogPostBodyProps = {
|
|
@@ -1102,9 +1103,9 @@ interface BlogPostProps extends PropsWithChildren, Omit<NewsCardProps, 'descript
|
|
|
1102
1103
|
relatedArticles?: NewsCardProps[];
|
|
1103
1104
|
}
|
|
1104
1105
|
|
|
1105
|
-
declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) =>
|
|
1106
|
-
Title: ({ children }: BlogPostTitleProps) =>
|
|
1107
|
-
Body: ({ children }: BlogPostBodyProps) =>
|
|
1106
|
+
declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) => react_jsx_runtime.JSX.Element) & {
|
|
1107
|
+
Title: ({ children }: BlogPostTitleProps) => react_jsx_runtime.JSX.Element;
|
|
1108
|
+
Body: ({ children }: BlogPostBodyProps) => react_jsx_runtime.JSX.Element;
|
|
1108
1109
|
};
|
|
1109
1110
|
|
|
1110
1111
|
type BlogSearchResultsListPaginationProps = {
|
|
@@ -1128,9 +1129,9 @@ interface BlogSearchResultsListProps extends PropsWithChildren {
|
|
|
1128
1129
|
}) => React.ReactNode;
|
|
1129
1130
|
}
|
|
1130
1131
|
|
|
1131
|
-
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) =>
|
|
1132
|
-
Search: ({ children }: BlogSearchResultsListSearchProps) =>
|
|
1133
|
-
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) =>
|
|
1132
|
+
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) => react_jsx_runtime.JSX.Element) & {
|
|
1133
|
+
Search: ({ children }: BlogSearchResultsListSearchProps) => react_jsx_runtime.JSX.Element;
|
|
1134
|
+
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) => react_jsx_runtime.JSX.Element;
|
|
1134
1135
|
};
|
|
1135
1136
|
|
|
1136
1137
|
type GlobalSearchResultsListPaginationProps = {
|
|
@@ -1150,9 +1151,9 @@ interface GlobalSearchResultsListProps extends PropsWithChildren {
|
|
|
1150
1151
|
}) => React.ReactNode;
|
|
1151
1152
|
}
|
|
1152
1153
|
|
|
1153
|
-
declare const GlobalSearchResultsList: (({ items, searchResult, className, renderLink, children, }: GlobalSearchResultsListProps) =>
|
|
1154
|
-
Search: ({ children }: GlobalSearchResultsListSearchProps) =>
|
|
1155
|
-
Pagination: ({ children, }: GlobalSearchResultsListPaginationProps) =>
|
|
1154
|
+
declare const GlobalSearchResultsList: (({ items, searchResult, className, renderLink, children, }: GlobalSearchResultsListProps) => react_jsx_runtime.JSX.Element) & {
|
|
1155
|
+
Search: ({ children }: GlobalSearchResultsListSearchProps) => react_jsx_runtime.JSX.Element;
|
|
1156
|
+
Pagination: ({ children, }: GlobalSearchResultsListPaginationProps) => react_jsx_runtime.JSX.Element;
|
|
1156
1157
|
};
|
|
1157
1158
|
|
|
1158
1159
|
type TextCenterWithMediaTitleProps = {
|
|
@@ -1171,8 +1172,8 @@ interface TextCenterWithMediaProps {
|
|
|
1171
1172
|
children?: ReactNode;
|
|
1172
1173
|
}
|
|
1173
1174
|
|
|
1174
|
-
declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, loop, mute, hideControl, autoPlay, children, }: TextCenterWithMediaProps) =>
|
|
1175
|
-
Title: ({ children }: TextCenterWithMediaTitleProps) =>
|
|
1175
|
+
declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, loop, mute, hideControl, autoPlay, children, }: TextCenterWithMediaProps) => react_jsx_runtime.JSX.Element) & {
|
|
1176
|
+
Title: ({ children }: TextCenterWithMediaTitleProps) => react_jsx_runtime.JSX.Element;
|
|
1176
1177
|
};
|
|
1177
1178
|
|
|
1178
1179
|
interface QuoteSectionBlockItem {
|
|
@@ -1189,7 +1190,7 @@ interface QuoteSectionBlockProps {
|
|
|
1189
1190
|
items?: QuoteSectionBlockItem[];
|
|
1190
1191
|
}
|
|
1191
1192
|
|
|
1192
|
-
declare const QuoteSectionBlock: ({ className, title, viewtype, items, }: QuoteSectionBlockProps) =>
|
|
1193
|
+
declare const QuoteSectionBlock: ({ className, title, viewtype, items, }: QuoteSectionBlockProps) => react_jsx_runtime.JSX.Element | null;
|
|
1193
1194
|
|
|
1194
1195
|
type PageLoaderLogoProps = {
|
|
1195
1196
|
children: ReactNode;
|
|
@@ -1199,8 +1200,8 @@ interface PageLoaderProps extends PropsWithChildren {
|
|
|
1199
1200
|
className?: string;
|
|
1200
1201
|
}
|
|
1201
1202
|
|
|
1202
|
-
declare const PageLoader: (({ className, children }: PageLoaderProps) =>
|
|
1203
|
-
Logo: ({ children }: PageLoaderLogoProps) =>
|
|
1203
|
+
declare const PageLoader: (({ className, children }: PageLoaderProps) => react_jsx_runtime.JSX.Element) & {
|
|
1204
|
+
Logo: ({ children }: PageLoaderLogoProps) => react_jsx_runtime.JSX.Element;
|
|
1204
1205
|
};
|
|
1205
1206
|
|
|
1206
1207
|
interface ITwoColTextMenuSection {
|
|
@@ -1216,7 +1217,7 @@ interface TwoColTextMenuProps {
|
|
|
1216
1217
|
}
|
|
1217
1218
|
|
|
1218
1219
|
declare const TwoColTextMenu: {
|
|
1219
|
-
({ className, ariaLabel, sections, renderLink, }: TwoColTextMenuProps):
|
|
1220
|
+
({ className, ariaLabel, sections, renderLink, }: TwoColTextMenuProps): react_jsx_runtime.JSX.Element | null;
|
|
1220
1221
|
displayName: string;
|
|
1221
1222
|
};
|
|
1222
1223
|
|
|
@@ -1232,8 +1233,8 @@ interface LocationsBrandCardsProps extends PropsWithChildren {
|
|
|
1232
1233
|
cards: BrandCardProps[];
|
|
1233
1234
|
}
|
|
1234
1235
|
|
|
1235
|
-
declare const LocationsBrandCards: (({ className, title, subtitle, image, cards, children, }: LocationsBrandCardsProps) =>
|
|
1236
|
-
Text: ({ children }: LocationsBrandCardsTextProps) =>
|
|
1236
|
+
declare const LocationsBrandCards: (({ className, title, subtitle, image, cards, children, }: LocationsBrandCardsProps) => react_jsx_runtime.JSX.Element) & {
|
|
1237
|
+
Text: ({ children }: LocationsBrandCardsTextProps) => react_jsx_runtime.JSX.Element;
|
|
1237
1238
|
};
|
|
1238
1239
|
|
|
1239
1240
|
interface BrandTab {
|
|
@@ -1264,7 +1265,7 @@ interface BrandsTabProps {
|
|
|
1264
1265
|
tabs?: BrandTab[];
|
|
1265
1266
|
}
|
|
1266
1267
|
|
|
1267
|
-
declare const BrandsTab: (props: BrandsTabProps) =>
|
|
1268
|
+
declare const BrandsTab: (props: BrandsTabProps) => react_jsx_runtime.JSX.Element;
|
|
1268
1269
|
|
|
1269
1270
|
interface TimelineCard {
|
|
1270
1271
|
logo?: IPicture;
|
|
@@ -1276,7 +1277,7 @@ interface TimelineCardsProps {
|
|
|
1276
1277
|
cards?: TimelineCard[];
|
|
1277
1278
|
}
|
|
1278
1279
|
|
|
1279
|
-
declare const TimelineCards: ({ captionText, cards, className }: TimelineCardsProps) =>
|
|
1280
|
+
declare const TimelineCards: ({ captionText, cards, className }: TimelineCardsProps) => react_jsx_runtime.JSX.Element;
|
|
1280
1281
|
|
|
1281
1282
|
/** Tracks the current browser path, updating on back/forward navigation. */
|
|
1282
1283
|
declare const useActivePath: () => string;
|
package/dist/index.mjs
CHANGED
|
@@ -1413,6 +1413,7 @@ var PracticeCard = ({ className, title, cta, image }) => {
|
|
|
1413
1413
|
var ResourceCardItem_module_default = {
|
|
1414
1414
|
cardLink: "ResourceCardItem_module_cardLink",
|
|
1415
1415
|
"global-search": "ResourceCardItem_module_global-search",
|
|
1416
|
+
cardLinkOverlay: "ResourceCardItem_module_cardLinkOverlay",
|
|
1416
1417
|
cardGrid: "ResourceCardItem_module_cardGrid",
|
|
1417
1418
|
restricted: "ResourceCardItem_module_restricted",
|
|
1418
1419
|
cardBody: "ResourceCardItem_module_cardBody",
|
|
@@ -1451,6 +1452,7 @@ var ResourceCardItem = ({ item, view, variant, renderLink }) => {
|
|
|
1451
1452
|
})
|
|
1452
1453
|
) : null;
|
|
1453
1454
|
const linkWrapper = ({ children }) => /* @__PURE__ */ jsx("a", __spreadProps(__spreadValues({}, linkProps), { tabIndex: isGlobalSearchVariant ? -1 : 0, className: clsx52(ResourceCardItem_module_default.cardLink), children }));
|
|
1455
|
+
const cardLinkOverlay = linkProps && !isGlobalSearchVariant ? /* @__PURE__ */ jsx("a", __spreadProps(__spreadValues({}, linkProps), { tabIndex: -1, className: ResourceCardItem_module_default.cardLinkOverlay })) : null;
|
|
1454
1456
|
function getIcon() {
|
|
1455
1457
|
switch (item.type) {
|
|
1456
1458
|
case "pdf":
|
|
@@ -1476,6 +1478,7 @@ var ResourceCardItem = ({ item, view, variant, renderLink }) => {
|
|
|
1476
1478
|
"aria-describedby": isRestricted ? `restricted-${item.id}` : void 0,
|
|
1477
1479
|
children: [
|
|
1478
1480
|
cardLink,
|
|
1481
|
+
cardLinkOverlay,
|
|
1479
1482
|
/* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardBody, children: [
|
|
1480
1483
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
1481
1484
|
/* @__PURE__ */ jsx(ConditionalWrapper, { condition: hasHref, wrapper: linkWrapper, children: /* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardIconTitle, children: [
|
|
@@ -1497,6 +1500,7 @@ var ResourceCardItem = ({ item, view, variant, renderLink }) => {
|
|
|
1497
1500
|
);
|
|
1498
1501
|
}
|
|
1499
1502
|
return /* @__PURE__ */ jsxs("article", { className: ResourceCardItem_module_default.cardList, children: [
|
|
1503
|
+
cardLinkOverlay,
|
|
1500
1504
|
/* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardListLeft, children: [
|
|
1501
1505
|
item.hasNotification && /* @__PURE__ */ jsx("span", { className: ResourceCardItem_module_default.notificationDot, "aria-label": "New" }),
|
|
1502
1506
|
/* @__PURE__ */ jsx("span", { className: ResourceCardItem_module_default.cardDate, children: item.date })
|