@digital-b2c/coreui-kit 0.21.11 → 0.22.1
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 +15 -17
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +185 -19
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +105 -105
- package/dist/index.d.ts +105 -105
- package/dist/index.mjs +15 -17
- 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,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, MouseEventHandler, Ref, HTMLAttributes, ButtonHTMLAttributes, InputHTMLAttributes, PropsWithChildren, JSX, FC, RefObject, CSSProperties } from 'react';
|
|
4
3
|
|
|
@@ -120,7 +119,7 @@ interface BrandsStripProps {
|
|
|
120
119
|
size?: 'small';
|
|
121
120
|
}
|
|
122
121
|
|
|
123
|
-
declare const BrandsStrip: ({ className, variant, title, logos, cta, size, }: BrandsStripProps) =>
|
|
122
|
+
declare const BrandsStrip: ({ className, variant, title, logos, cta, size, }: BrandsStripProps) => react.JSX.Element;
|
|
124
123
|
|
|
125
124
|
declare const ButtonVariantReadOnly: readonly ["primary", "secondary", "ghost", "nofill", "grey", "nofillblack", "shiny", "tabbutton", "navnofillblack", "textmenu"];
|
|
126
125
|
type TButtonVariant = (typeof ButtonVariantReadOnly)[number];
|
|
@@ -161,11 +160,11 @@ interface CardProps {
|
|
|
161
160
|
}
|
|
162
161
|
|
|
163
162
|
declare const Card: {
|
|
164
|
-
({ className, variant, title, subtitle, cta, onCtaClick, icon, logo, children, ref, }: CardProps):
|
|
163
|
+
({ className, variant, title, subtitle, cta, onCtaClick, icon, logo, children, ref, }: CardProps): react.JSX.Element;
|
|
165
164
|
displayName: string;
|
|
166
165
|
} & {
|
|
167
|
-
Title: ({ children }: CardTitleProps) =>
|
|
168
|
-
Subtitle: ({ children }: CardSubtitleProps) =>
|
|
166
|
+
Title: ({ children }: CardTitleProps) => react.JSX.Element;
|
|
167
|
+
Subtitle: ({ children }: CardSubtitleProps) => react.JSX.Element;
|
|
169
168
|
};
|
|
170
169
|
|
|
171
170
|
type CountingCardTitleProps = {
|
|
@@ -180,8 +179,8 @@ interface CountingCardProps {
|
|
|
180
179
|
children?: ReactNode;
|
|
181
180
|
}
|
|
182
181
|
|
|
183
|
-
declare const CountingCard: (({ className, title, count, image, children }: CountingCardProps) =>
|
|
184
|
-
Title: ({ children }: CountingCardTitleProps) =>
|
|
182
|
+
declare const CountingCard: (({ className, title, count, image, children }: CountingCardProps) => react.JSX.Element) & {
|
|
183
|
+
Title: ({ children }: CountingCardTitleProps) => react.JSX.Element;
|
|
185
184
|
};
|
|
186
185
|
|
|
187
186
|
type ResourceView = 'grid' | 'list';
|
|
@@ -205,7 +204,7 @@ interface ResourceCardItemProps {
|
|
|
205
204
|
}) => React.ReactNode;
|
|
206
205
|
}
|
|
207
206
|
|
|
208
|
-
declare const ResourceCardItem: ({ item, view, variant, renderLink }: ResourceCardItemProps) =>
|
|
207
|
+
declare const ResourceCardItem: ({ item, view, variant, renderLink }: ResourceCardItemProps) => react.JSX.Element;
|
|
209
208
|
|
|
210
209
|
type FilterOption = 'all' | 'pdf' | 'externalLink';
|
|
211
210
|
type SortOption = 'latest' | 'oldest' | 'az' | 'za';
|
|
@@ -221,7 +220,7 @@ interface FilterBarProps {
|
|
|
221
220
|
onSearchChange: (v: string) => void;
|
|
222
221
|
}
|
|
223
222
|
|
|
224
|
-
declare function FilterBar({ view, onViewChange, isMobile, filterValue, onFilterChange, sortValue, onSortChange, searchValue, onSearchChange, }: FilterBarProps):
|
|
223
|
+
declare function FilterBar({ view, onViewChange, isMobile, filterValue, onFilterChange, sortValue, onSortChange, searchValue, onSearchChange, }: FilterBarProps): react.JSX.Element;
|
|
225
224
|
|
|
226
225
|
type InfoCardSubtitleProps = {
|
|
227
226
|
children: ReactNode;
|
|
@@ -240,9 +239,9 @@ interface InfoCardProps {
|
|
|
240
239
|
children?: ReactNode;
|
|
241
240
|
}
|
|
242
241
|
|
|
243
|
-
declare const InfoCard: (({ className, title, subtitle, icon, badge, children }: InfoCardProps) =>
|
|
244
|
-
Title: ({ children }: InfoCardTitleProps) =>
|
|
245
|
-
Subtitle: ({ children }: InfoCardSubtitleProps) =>
|
|
242
|
+
declare const InfoCard: (({ className, title, subtitle, icon, badge, children }: InfoCardProps) => react.JSX.Element) & {
|
|
243
|
+
Title: ({ children }: InfoCardTitleProps) => react.JSX.Element;
|
|
244
|
+
Subtitle: ({ children }: InfoCardSubtitleProps) => react.JSX.Element;
|
|
246
245
|
};
|
|
247
246
|
|
|
248
247
|
interface ModalProps {
|
|
@@ -259,7 +258,7 @@ interface ModalProps {
|
|
|
259
258
|
}
|
|
260
259
|
|
|
261
260
|
declare const Modal: {
|
|
262
|
-
({ className, contentClassName, isOpen, onClose, ariaLabel, closeLabel, hideCloseButton, children, }: ModalProps):
|
|
261
|
+
({ className, contentClassName, isOpen, onClose, ariaLabel, closeLabel, hideCloseButton, children, }: ModalProps): react.JSX.Element;
|
|
263
262
|
displayName: string;
|
|
264
263
|
};
|
|
265
264
|
|
|
@@ -281,9 +280,9 @@ interface PaginationProps {
|
|
|
281
280
|
}) => ReactNode;
|
|
282
281
|
}
|
|
283
282
|
|
|
284
|
-
declare const Pagination: ({ className, totalPages, currentPage, loop, hasNumber, disableArrows, onPageChange, showEllipsis, boundaryCount, siblingCount, hidePagesBorder, renderLink, }: PaginationProps) =>
|
|
283
|
+
declare const Pagination: ({ className, totalPages, currentPage, loop, hasNumber, disableArrows, onPageChange, showEllipsis, boundaryCount, siblingCount, hidePagesBorder, renderLink, }: PaginationProps) => react.JSX.Element;
|
|
285
284
|
|
|
286
|
-
declare const Picture: ({ className, ...props }: PictureProps) =>
|
|
285
|
+
declare const Picture: ({ className, ...props }: PictureProps) => react.JSX.Element;
|
|
287
286
|
|
|
288
287
|
interface PracticeCardProps {
|
|
289
288
|
className?: string;
|
|
@@ -292,7 +291,7 @@ interface PracticeCardProps {
|
|
|
292
291
|
image?: IPicture;
|
|
293
292
|
}
|
|
294
293
|
|
|
295
|
-
declare const PracticeCard: ({ className, title, cta, image }: PracticeCardProps) =>
|
|
294
|
+
declare const PracticeCard: ({ className, title, cta, image }: PracticeCardProps) => react.JSX.Element;
|
|
296
295
|
|
|
297
296
|
interface SidebarCategory {
|
|
298
297
|
label: string;
|
|
@@ -309,7 +308,7 @@ interface SidebarProps {
|
|
|
309
308
|
onSelect: (index: number) => void;
|
|
310
309
|
}
|
|
311
310
|
|
|
312
|
-
declare const Sidebar: ({ categories, isMobile, onToggle, selectedIndex, onSelect, }: SidebarProps) =>
|
|
311
|
+
declare const Sidebar: ({ categories, isMobile, onToggle, selectedIndex, onSelect, }: SidebarProps) => react.JSX.Element;
|
|
313
312
|
|
|
314
313
|
interface UpcomingEventCardProps {
|
|
315
314
|
className?: string;
|
|
@@ -325,7 +324,7 @@ interface UpcomingEventCardProps {
|
|
|
325
324
|
showImage?: boolean;
|
|
326
325
|
}
|
|
327
326
|
|
|
328
|
-
declare const UpcomingEventCard: ({ className, image, date, title, location, description, cta, direction, showImage, }: UpcomingEventCardProps) =>
|
|
327
|
+
declare const UpcomingEventCard: ({ className, image, date, title, location, description, cta, direction, showImage, }: UpcomingEventCardProps) => react.JSX.Element;
|
|
329
328
|
|
|
330
329
|
type BadgeBaseProps = {
|
|
331
330
|
children?: ReactNode;
|
|
@@ -405,7 +404,7 @@ interface NewsCardProps {
|
|
|
405
404
|
}) => React.ReactNode;
|
|
406
405
|
}
|
|
407
406
|
|
|
408
|
-
declare const NewsCard: ({ type, className, image, date, description, tag, title, cta, direction, renderLink, }: NewsCardProps) =>
|
|
407
|
+
declare const NewsCard: ({ type, className, image, date, description, tag, title, cta, direction, renderLink, }: NewsCardProps) => react.JSX.Element;
|
|
409
408
|
|
|
410
409
|
type BlogPostContentBodyProps = {
|
|
411
410
|
children: ReactNode;
|
|
@@ -417,8 +416,8 @@ interface BlogPostContentProps {
|
|
|
417
416
|
body?: ReactNode;
|
|
418
417
|
}
|
|
419
418
|
|
|
420
|
-
declare const BlogPostContent: (({ className, body, children }: BlogPostContentProps) =>
|
|
421
|
-
Body: ({ children }: BlogPostContentBodyProps) =>
|
|
419
|
+
declare const BlogPostContent: (({ className, body, children }: BlogPostContentProps) => react.JSX.Element) & {
|
|
420
|
+
Body: ({ children }: BlogPostContentBodyProps) => react.JSX.Element;
|
|
422
421
|
};
|
|
423
422
|
|
|
424
423
|
interface SearchProps {
|
|
@@ -435,7 +434,7 @@ interface SearchProps {
|
|
|
435
434
|
className?: string;
|
|
436
435
|
}
|
|
437
436
|
|
|
438
|
-
declare const Search: ({ placeholder, searchCta, onSearch, variant, className, }: SearchProps) =>
|
|
437
|
+
declare const Search: ({ placeholder, searchCta, onSearch, variant, className, }: SearchProps) => react.JSX.Element;
|
|
439
438
|
|
|
440
439
|
interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
441
440
|
isExternal?: boolean;
|
|
@@ -444,7 +443,7 @@ interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
|
444
443
|
}) => ReactNode;
|
|
445
444
|
}
|
|
446
445
|
|
|
447
|
-
declare const Anchor: ({ children, isExternal, renderLink, ...props }: AnchorProps) =>
|
|
446
|
+
declare const Anchor: ({ children, isExternal, renderLink, ...props }: AnchorProps) => react.JSX.Element;
|
|
448
447
|
|
|
449
448
|
interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
450
449
|
children: ReactNode;
|
|
@@ -474,7 +473,7 @@ interface TextProps extends HTMLAttributes<HTMLElement> {
|
|
|
474
473
|
}
|
|
475
474
|
|
|
476
475
|
declare const Text: {
|
|
477
|
-
({ tag, promoteToH1, ref, children, ...props }: TextProps):
|
|
476
|
+
({ tag, promoteToH1, ref, children, ...props }: TextProps): react.JSX.Element;
|
|
478
477
|
displayName: string;
|
|
479
478
|
};
|
|
480
479
|
|
|
@@ -485,7 +484,7 @@ interface ColTextMenuProps extends IColTextMenuItem {
|
|
|
485
484
|
}
|
|
486
485
|
|
|
487
486
|
declare const ColTextMenu: {
|
|
488
|
-
({ label, url, isExternal, className, renderLink, }: ColTextMenuProps):
|
|
487
|
+
({ label, url, isExternal, className, renderLink, }: ColTextMenuProps): react.JSX.Element;
|
|
489
488
|
displayName: string;
|
|
490
489
|
};
|
|
491
490
|
|
|
@@ -526,14 +525,14 @@ interface UserMenuProps {
|
|
|
526
525
|
* Escape or outside interaction).
|
|
527
526
|
* - Without `menuItems`, renders a plain link (when `url` is set) or button.
|
|
528
527
|
*/
|
|
529
|
-
declare const UserMenu: ({ user, className, dropUp, fullWidth }: UserMenuProps) =>
|
|
528
|
+
declare const UserMenu: ({ user, className, dropUp, fullWidth }: UserMenuProps) => react.JSX.Element;
|
|
530
529
|
|
|
531
530
|
interface LoaderProps {
|
|
532
531
|
className?: string;
|
|
533
532
|
}
|
|
534
533
|
|
|
535
534
|
declare const Loader: {
|
|
536
|
-
({ className }: LoaderProps):
|
|
535
|
+
({ className }: LoaderProps): react.JSX.Element;
|
|
537
536
|
displayName: string;
|
|
538
537
|
};
|
|
539
538
|
|
|
@@ -552,7 +551,7 @@ interface BrandCardProps {
|
|
|
552
551
|
};
|
|
553
552
|
}
|
|
554
553
|
|
|
555
|
-
declare const BrandCard: ({ theme, title, subtitle, image, animationSettings, className, }: BrandCardProps) =>
|
|
554
|
+
declare const BrandCard: ({ theme, title, subtitle, image, animationSettings, className, }: BrandCardProps) => react.JSX.Element;
|
|
556
555
|
|
|
557
556
|
type CardCarouselFootnoteProps = {
|
|
558
557
|
children: ReactNode;
|
|
@@ -584,10 +583,10 @@ interface CardCarouselProps {
|
|
|
584
583
|
children?: ReactNode;
|
|
585
584
|
}
|
|
586
585
|
|
|
587
|
-
declare const CardCarousel: (({ className, title, subtitle, footnote, cards, theme, ariaLabel, children, }: CardCarouselProps) =>
|
|
588
|
-
Title: ({ children }: CardCarouselTitleProps) =>
|
|
589
|
-
Subtitle: ({ children }: CardCarouselSubtitleProps) =>
|
|
590
|
-
Footnote: ({ children }: CardCarouselFootnoteProps) =>
|
|
586
|
+
declare const CardCarousel: (({ className, title, subtitle, footnote, cards, theme, ariaLabel, children, }: CardCarouselProps) => react.JSX.Element | null) & {
|
|
587
|
+
Title: ({ children }: CardCarouselTitleProps) => react.JSX.Element;
|
|
588
|
+
Subtitle: ({ children }: CardCarouselSubtitleProps) => react.JSX.Element;
|
|
589
|
+
Footnote: ({ children }: CardCarouselFootnoteProps) => react.JSX.Element;
|
|
591
590
|
};
|
|
592
591
|
|
|
593
592
|
type CardCollectionSubtitleProps = {
|
|
@@ -609,9 +608,9 @@ interface CardCollectionProps {
|
|
|
609
608
|
theme?: 'dark' | 'light';
|
|
610
609
|
}
|
|
611
610
|
|
|
612
|
-
declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) =>
|
|
613
|
-
Title: ({ children }: CardCollectionTitleProps) =>
|
|
614
|
-
Subtitle: ({ children }: CardCollectionSubtitleProps) =>
|
|
611
|
+
declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) => react.JSX.Element) & {
|
|
612
|
+
Title: ({ children }: CardCollectionTitleProps) => react.JSX.Element;
|
|
613
|
+
Subtitle: ({ children }: CardCollectionSubtitleProps) => react.JSX.Element;
|
|
615
614
|
};
|
|
616
615
|
|
|
617
616
|
type ContactModuleSubtitleProps = {
|
|
@@ -633,9 +632,9 @@ interface ContactModuleProps {
|
|
|
633
632
|
animateBlur?: boolean;
|
|
634
633
|
}
|
|
635
634
|
|
|
636
|
-
declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) =>
|
|
637
|
-
Title: ({ children }: ContactModuleTitleProps) =>
|
|
638
|
-
Subtitle: ({ children }: ContactModuleSubtitleProps) =>
|
|
635
|
+
declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) => react.JSX.Element) & {
|
|
636
|
+
Title: ({ children }: ContactModuleTitleProps) => react.JSX.Element;
|
|
637
|
+
Subtitle: ({ children }: ContactModuleSubtitleProps) => react.JSX.Element;
|
|
639
638
|
};
|
|
640
639
|
|
|
641
640
|
interface IFooterLink {
|
|
@@ -661,7 +660,7 @@ interface FooterProps {
|
|
|
661
660
|
supportContacts?: IFooterSupportGroup[];
|
|
662
661
|
}
|
|
663
662
|
|
|
664
|
-
declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) =>
|
|
663
|
+
declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) => react.JSX.Element;
|
|
665
664
|
|
|
666
665
|
type HeroBannerSubtitleProps = {
|
|
667
666
|
children: ReactNode;
|
|
@@ -688,9 +687,9 @@ interface HeroBannerProps {
|
|
|
688
687
|
type?: 'internal' | 'external';
|
|
689
688
|
}
|
|
690
689
|
|
|
691
|
-
declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, type, children, }: HeroBannerProps) =>
|
|
692
|
-
Title: ({ children }: HeroBannerTitleProps) =>
|
|
693
|
-
Subtitle: ({ children }: HeroBannerSubtitleProps) =>
|
|
690
|
+
declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, type, children, }: HeroBannerProps) => react.JSX.Element) & {
|
|
691
|
+
Title: ({ children }: HeroBannerTitleProps) => react.JSX.Element;
|
|
692
|
+
Subtitle: ({ children }: HeroBannerSubtitleProps) => react.JSX.Element;
|
|
694
693
|
};
|
|
695
694
|
|
|
696
695
|
interface HeroBannerCarouselItem {
|
|
@@ -705,7 +704,7 @@ interface HeroBannerCarouselProps {
|
|
|
705
704
|
items?: HeroBannerCarouselItem[];
|
|
706
705
|
}
|
|
707
706
|
|
|
708
|
-
declare const HeroBannerCarousel: ({ className, items }: HeroBannerCarouselProps) =>
|
|
707
|
+
declare const HeroBannerCarousel: ({ className, items }: HeroBannerCarouselProps) => react.JSX.Element | null;
|
|
709
708
|
|
|
710
709
|
interface InternalBrandsTabProps {
|
|
711
710
|
title?: string;
|
|
@@ -728,7 +727,7 @@ interface InternalBrandsTabProps {
|
|
|
728
727
|
}[];
|
|
729
728
|
}
|
|
730
729
|
|
|
731
|
-
declare const InternalBrandsTab: (props: InternalBrandsTabProps) =>
|
|
730
|
+
declare const InternalBrandsTab: (props: InternalBrandsTabProps) => react.JSX.Element;
|
|
732
731
|
|
|
733
732
|
type MiniBannerGoBackProps = {
|
|
734
733
|
children: ReactNode;
|
|
@@ -766,10 +765,10 @@ interface MiniBannerProps {
|
|
|
766
765
|
children?: ReactNode;
|
|
767
766
|
}
|
|
768
767
|
|
|
769
|
-
declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, promoteToH1, children, }: MiniBannerProps) =>
|
|
770
|
-
Title: ({ children }: MiniBannerTitleProps) =>
|
|
771
|
-
Subtitle: ({ children }: MiniBannerSubtitleProps) =>
|
|
772
|
-
GoBack: ({ children }: MiniBannerGoBackProps) =>
|
|
768
|
+
declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, promoteToH1, children, }: MiniBannerProps) => react.JSX.Element) & {
|
|
769
|
+
Title: ({ children }: MiniBannerTitleProps) => react.JSX.Element;
|
|
770
|
+
Subtitle: ({ children }: MiniBannerSubtitleProps) => react.JSX.Element;
|
|
771
|
+
GoBack: ({ children }: MiniBannerGoBackProps) => react.JSX.Element;
|
|
773
772
|
};
|
|
774
773
|
|
|
775
774
|
type MiniSectionCtaSubtitleProps = {
|
|
@@ -782,8 +781,8 @@ type MiniSectionCtaTitleProps = {
|
|
|
782
781
|
|
|
783
782
|
interface MiniSectionCtaProps {
|
|
784
783
|
className?: string;
|
|
785
|
-
variant?: 'headerCTA' | 'BgColorBlack' | 'BgColorGrey' | 'infoCallout' | 'miniTextCenterCta';
|
|
786
|
-
theme?: 'dark' | 'light' | 'gray';
|
|
784
|
+
variant?: 'headerCTA' | 'BgColorBlack' | 'BgColorGrey' | 'infoCallout' | 'miniTextCenterCta' | 'bgGradientGrey';
|
|
785
|
+
theme?: 'dark' | 'light' | 'gray' | 'gradientGrey';
|
|
787
786
|
cta?: ICta;
|
|
788
787
|
title?: ReactNode;
|
|
789
788
|
subtitle?: ReactNode;
|
|
@@ -791,12 +790,13 @@ interface MiniSectionCtaProps {
|
|
|
791
790
|
moduleStyles?: {
|
|
792
791
|
color?: string;
|
|
793
792
|
backgroundColor?: string;
|
|
793
|
+
mobileBackgroundColor?: string;
|
|
794
794
|
};
|
|
795
795
|
}
|
|
796
796
|
|
|
797
|
-
declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, moduleStyles, children, }: MiniSectionCtaProps) =>
|
|
798
|
-
Title: ({ children }: MiniSectionCtaTitleProps) =>
|
|
799
|
-
Subtitle: ({ children }: MiniSectionCtaSubtitleProps) =>
|
|
797
|
+
declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, moduleStyles, children, }: MiniSectionCtaProps) => react.JSX.Element) & {
|
|
798
|
+
Title: ({ children }: MiniSectionCtaTitleProps) => react.JSX.Element;
|
|
799
|
+
Subtitle: ({ children }: MiniSectionCtaSubtitleProps) => react.JSX.Element;
|
|
800
800
|
};
|
|
801
801
|
|
|
802
802
|
type NavigationUserMenuFallbackProps = {
|
|
@@ -848,8 +848,8 @@ interface NavigationProps extends PropsWithChildren {
|
|
|
848
848
|
brandBars?: NavigationBrandBar[];
|
|
849
849
|
}
|
|
850
850
|
|
|
851
|
-
declare const Navigation: ((props: NavigationProps) =>
|
|
852
|
-
UserMenuFallback: ({ children }: NavigationUserMenuFallbackProps) =>
|
|
851
|
+
declare const Navigation: ((props: NavigationProps) => react.JSX.Element) & {
|
|
852
|
+
UserMenuFallback: ({ children }: NavigationUserMenuFallbackProps) => react.JSX.Element;
|
|
853
853
|
};
|
|
854
854
|
|
|
855
855
|
type PracticePathCardsFooterProps = {
|
|
@@ -874,10 +874,10 @@ interface PracticePathCardsProps {
|
|
|
874
874
|
cta?: ICta;
|
|
875
875
|
}
|
|
876
876
|
|
|
877
|
-
declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) =>
|
|
878
|
-
Title: ({ children }: PracticePathCardsTitleProps) =>
|
|
879
|
-
Subtitle: ({ children }: PracticePathCardsSubtitleProps) =>
|
|
880
|
-
Footer: ({ children }: PracticePathCardsFooterProps) =>
|
|
877
|
+
declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) => react.JSX.Element) & {
|
|
878
|
+
Title: ({ children }: PracticePathCardsTitleProps) => react.JSX.Element;
|
|
879
|
+
Subtitle: ({ children }: PracticePathCardsSubtitleProps) => react.JSX.Element;
|
|
880
|
+
Footer: ({ children }: PracticePathCardsFooterProps) => react.JSX.Element;
|
|
881
881
|
};
|
|
882
882
|
|
|
883
883
|
type Teaser5050With3TextTitleProps = {
|
|
@@ -893,8 +893,8 @@ interface Teaser5050With3TextProps {
|
|
|
893
893
|
children?: ReactNode;
|
|
894
894
|
}
|
|
895
895
|
|
|
896
|
-
declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) =>
|
|
897
|
-
Title: ({ children }: Teaser5050With3TextTitleProps) =>
|
|
896
|
+
declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) => react.JSX.Element) & {
|
|
897
|
+
Title: ({ children }: Teaser5050With3TextTitleProps) => react.JSX.Element;
|
|
898
898
|
};
|
|
899
899
|
|
|
900
900
|
type Teaser5050WithCtaSubtitleProps = {
|
|
@@ -919,9 +919,9 @@ interface Teaser5050WithCtaProps {
|
|
|
919
919
|
};
|
|
920
920
|
}
|
|
921
921
|
|
|
922
|
-
declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children, moduleStyles, }: Teaser5050WithCtaProps) =>
|
|
923
|
-
Title: ({ children }: Teaser5050WithCtaTitleProps) =>
|
|
924
|
-
Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) =>
|
|
922
|
+
declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children, moduleStyles, }: Teaser5050WithCtaProps) => react.JSX.Element) & {
|
|
923
|
+
Title: ({ children }: Teaser5050WithCtaTitleProps) => react.JSX.Element;
|
|
924
|
+
Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) => react.JSX.Element;
|
|
925
925
|
};
|
|
926
926
|
|
|
927
927
|
type EventListEmptyProps = {
|
|
@@ -943,9 +943,9 @@ interface EventListProps extends PropsWithChildren {
|
|
|
943
943
|
variant?: 'internalEventList';
|
|
944
944
|
}
|
|
945
945
|
|
|
946
|
-
declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) =>
|
|
947
|
-
Title: ({ children }: EventListTitleProps) =>
|
|
948
|
-
Empty: ({ children }: EventListEmptyProps) =>
|
|
946
|
+
declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) => react.JSX.Element) & {
|
|
947
|
+
Title: ({ children }: EventListTitleProps) => react.JSX.Element;
|
|
948
|
+
Empty: ({ children }: EventListEmptyProps) => react.JSX.Element;
|
|
949
949
|
};
|
|
950
950
|
|
|
951
951
|
type TextEventRichTextProps = {
|
|
@@ -965,9 +965,9 @@ interface TextEventProps {
|
|
|
965
965
|
children?: ReactNode;
|
|
966
966
|
}
|
|
967
967
|
|
|
968
|
-
declare const TextEvent: ((props: TextEventProps) =>
|
|
969
|
-
Title: ({ children }: TextEventTitleProps) =>
|
|
970
|
-
RichText: ({ children }: TextEventRichTextProps) =>
|
|
968
|
+
declare const TextEvent: ((props: TextEventProps) => react.JSX.Element) & {
|
|
969
|
+
Title: ({ children }: TextEventTitleProps) => react.JSX.Element;
|
|
970
|
+
RichText: ({ children }: TextEventRichTextProps) => react.JSX.Element;
|
|
971
971
|
};
|
|
972
972
|
|
|
973
973
|
type TextBodyBodyProps = {
|
|
@@ -987,9 +987,9 @@ interface TextBodyProps {
|
|
|
987
987
|
children?: ReactNode;
|
|
988
988
|
}
|
|
989
989
|
|
|
990
|
-
declare const TextBody: ((props: TextBodyProps) =>
|
|
991
|
-
Title: ({ children }: TextBodyTitleProps) =>
|
|
992
|
-
Body: ({ children }: TextBodyBodyProps) =>
|
|
990
|
+
declare const TextBody: ((props: TextBodyProps) => react.JSX.Element) & {
|
|
991
|
+
Title: ({ children }: TextBodyTitleProps) => react.JSX.Element;
|
|
992
|
+
Body: ({ children }: TextBodyBodyProps) => react.JSX.Element;
|
|
993
993
|
};
|
|
994
994
|
|
|
995
995
|
type TextCenterCtaInBottomSubtitleProps = {
|
|
@@ -1008,9 +1008,9 @@ interface TextCenterCtaInBottomProps {
|
|
|
1008
1008
|
children?: ReactNode;
|
|
1009
1009
|
}
|
|
1010
1010
|
|
|
1011
|
-
declare const TextCenterCtaInBottom: (({ className, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) =>
|
|
1012
|
-
Title: ({ children }: TextCenterCtaInBottomTitleProps) =>
|
|
1013
|
-
Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) =>
|
|
1011
|
+
declare const TextCenterCtaInBottom: (({ className, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) => react.JSX.Element) & {
|
|
1012
|
+
Title: ({ children }: TextCenterCtaInBottomTitleProps) => react.JSX.Element;
|
|
1013
|
+
Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) => react.JSX.Element;
|
|
1014
1014
|
};
|
|
1015
1015
|
|
|
1016
1016
|
interface ResourcesGridListProps {
|
|
@@ -1023,7 +1023,7 @@ interface ResourcesGridListProps {
|
|
|
1023
1023
|
children?: ReactNode;
|
|
1024
1024
|
}
|
|
1025
1025
|
|
|
1026
|
-
declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) =>
|
|
1026
|
+
declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) => react.JSX.Element;
|
|
1027
1027
|
|
|
1028
1028
|
type BlogCardGridTitleProps = {
|
|
1029
1029
|
children: ReactNode;
|
|
@@ -1043,8 +1043,8 @@ interface BlogCardGridProps extends PropsWithChildren {
|
|
|
1043
1043
|
}) => React.ReactNode;
|
|
1044
1044
|
}
|
|
1045
1045
|
|
|
1046
|
-
declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) =>
|
|
1047
|
-
Title: ({ children }: BlogCardGridTitleProps) =>
|
|
1046
|
+
declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) => react.JSX.Element) & {
|
|
1047
|
+
Title: ({ children }: BlogCardGridTitleProps) => react.JSX.Element;
|
|
1048
1048
|
};
|
|
1049
1049
|
|
|
1050
1050
|
type FeaturedNewsHighlightsTitleProps = {
|
|
@@ -1064,8 +1064,8 @@ interface FeaturedNewsHighlightsProps extends PropsWithChildren {
|
|
|
1064
1064
|
}) => React.ReactNode;
|
|
1065
1065
|
}
|
|
1066
1066
|
|
|
1067
|
-
declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) =>
|
|
1068
|
-
Title: ({ children }: FeaturedNewsHighlightsTitleProps) =>
|
|
1067
|
+
declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) => react.JSX.Element) & {
|
|
1068
|
+
Title: ({ children }: FeaturedNewsHighlightsTitleProps) => react.JSX.Element;
|
|
1069
1069
|
};
|
|
1070
1070
|
|
|
1071
1071
|
type NewsCardListPaginationProps = {
|
|
@@ -1086,8 +1086,8 @@ interface NewsCardListProps extends PropsWithChildren {
|
|
|
1086
1086
|
}) => React.ReactNode;
|
|
1087
1087
|
}
|
|
1088
1088
|
|
|
1089
|
-
declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) =>
|
|
1090
|
-
Pagination: ({ children }: NewsCardListPaginationProps) =>
|
|
1089
|
+
declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) => react.JSX.Element) & {
|
|
1090
|
+
Pagination: ({ children }: NewsCardListPaginationProps) => react.JSX.Element;
|
|
1091
1091
|
};
|
|
1092
1092
|
|
|
1093
1093
|
type BlogPostBodyProps = {
|
|
@@ -1103,9 +1103,9 @@ interface BlogPostProps extends PropsWithChildren, Omit<NewsCardProps, 'descript
|
|
|
1103
1103
|
relatedArticles?: NewsCardProps[];
|
|
1104
1104
|
}
|
|
1105
1105
|
|
|
1106
|
-
declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) =>
|
|
1107
|
-
Title: ({ children }: BlogPostTitleProps) =>
|
|
1108
|
-
Body: ({ children }: BlogPostBodyProps) =>
|
|
1106
|
+
declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) => react.JSX.Element) & {
|
|
1107
|
+
Title: ({ children }: BlogPostTitleProps) => react.JSX.Element;
|
|
1108
|
+
Body: ({ children }: BlogPostBodyProps) => react.JSX.Element;
|
|
1109
1109
|
};
|
|
1110
1110
|
|
|
1111
1111
|
type BlogSearchResultsListPaginationProps = {
|
|
@@ -1129,9 +1129,9 @@ interface BlogSearchResultsListProps extends PropsWithChildren {
|
|
|
1129
1129
|
}) => React.ReactNode;
|
|
1130
1130
|
}
|
|
1131
1131
|
|
|
1132
|
-
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) =>
|
|
1133
|
-
Search: ({ children }: BlogSearchResultsListSearchProps) =>
|
|
1134
|
-
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) =>
|
|
1132
|
+
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) => react.JSX.Element) & {
|
|
1133
|
+
Search: ({ children }: BlogSearchResultsListSearchProps) => react.JSX.Element;
|
|
1134
|
+
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) => react.JSX.Element;
|
|
1135
1135
|
};
|
|
1136
1136
|
|
|
1137
1137
|
type GlobalSearchResultsListPaginationProps = {
|
|
@@ -1151,9 +1151,9 @@ interface GlobalSearchResultsListProps extends PropsWithChildren {
|
|
|
1151
1151
|
}) => React.ReactNode;
|
|
1152
1152
|
}
|
|
1153
1153
|
|
|
1154
|
-
declare const GlobalSearchResultsList: (({ items, searchResult, className, renderLink, children, }: GlobalSearchResultsListProps) =>
|
|
1155
|
-
Search: ({ children }: GlobalSearchResultsListSearchProps) =>
|
|
1156
|
-
Pagination: ({ children, }: GlobalSearchResultsListPaginationProps) =>
|
|
1154
|
+
declare const GlobalSearchResultsList: (({ items, searchResult, className, renderLink, children, }: GlobalSearchResultsListProps) => react.JSX.Element) & {
|
|
1155
|
+
Search: ({ children }: GlobalSearchResultsListSearchProps) => react.JSX.Element;
|
|
1156
|
+
Pagination: ({ children, }: GlobalSearchResultsListPaginationProps) => react.JSX.Element;
|
|
1157
1157
|
};
|
|
1158
1158
|
|
|
1159
1159
|
type TextCenterWithMediaTitleProps = {
|
|
@@ -1172,16 +1172,16 @@ interface TextCenterWithMediaProps {
|
|
|
1172
1172
|
children?: ReactNode;
|
|
1173
1173
|
}
|
|
1174
1174
|
|
|
1175
|
-
declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, loop, mute, hideControl, autoPlay, children, }: TextCenterWithMediaProps) =>
|
|
1176
|
-
Title: ({ children }: TextCenterWithMediaTitleProps) =>
|
|
1175
|
+
declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, loop, mute, hideControl, autoPlay, children, }: TextCenterWithMediaProps) => react.JSX.Element) & {
|
|
1176
|
+
Title: ({ children }: TextCenterWithMediaTitleProps) => react.JSX.Element;
|
|
1177
1177
|
};
|
|
1178
1178
|
|
|
1179
1179
|
interface QuoteSectionBlockItem {
|
|
1180
1180
|
bodyText: ReactNode;
|
|
1181
|
-
displayPhoto:
|
|
1181
|
+
displayPhoto: IPicture;
|
|
1182
1182
|
displayName: string;
|
|
1183
|
-
|
|
1184
|
-
jobTitleLogo?:
|
|
1183
|
+
jobTitle?: string;
|
|
1184
|
+
jobTitleLogo?: IPicture;
|
|
1185
1185
|
}
|
|
1186
1186
|
interface QuoteSectionBlockProps {
|
|
1187
1187
|
className?: string;
|
|
@@ -1190,7 +1190,7 @@ interface QuoteSectionBlockProps {
|
|
|
1190
1190
|
items?: QuoteSectionBlockItem[];
|
|
1191
1191
|
}
|
|
1192
1192
|
|
|
1193
|
-
declare const QuoteSectionBlock: ({ className, title, viewtype, items, }: QuoteSectionBlockProps) =>
|
|
1193
|
+
declare const QuoteSectionBlock: ({ className, title, viewtype, items, }: QuoteSectionBlockProps) => react.JSX.Element | null;
|
|
1194
1194
|
|
|
1195
1195
|
type PageLoaderLogoProps = {
|
|
1196
1196
|
children: ReactNode;
|
|
@@ -1200,8 +1200,8 @@ interface PageLoaderProps extends PropsWithChildren {
|
|
|
1200
1200
|
className?: string;
|
|
1201
1201
|
}
|
|
1202
1202
|
|
|
1203
|
-
declare const PageLoader: (({ className, children }: PageLoaderProps) =>
|
|
1204
|
-
Logo: ({ children }: PageLoaderLogoProps) =>
|
|
1203
|
+
declare const PageLoader: (({ className, children }: PageLoaderProps) => react.JSX.Element) & {
|
|
1204
|
+
Logo: ({ children }: PageLoaderLogoProps) => react.JSX.Element;
|
|
1205
1205
|
};
|
|
1206
1206
|
|
|
1207
1207
|
interface ITwoColTextMenuSection {
|
|
@@ -1217,7 +1217,7 @@ interface TwoColTextMenuProps {
|
|
|
1217
1217
|
}
|
|
1218
1218
|
|
|
1219
1219
|
declare const TwoColTextMenu: {
|
|
1220
|
-
({ className, ariaLabel, sections, renderLink, }: TwoColTextMenuProps):
|
|
1220
|
+
({ className, ariaLabel, sections, renderLink, }: TwoColTextMenuProps): react.JSX.Element | null;
|
|
1221
1221
|
displayName: string;
|
|
1222
1222
|
};
|
|
1223
1223
|
|
|
@@ -1233,8 +1233,8 @@ interface LocationsBrandCardsProps extends PropsWithChildren {
|
|
|
1233
1233
|
cards: BrandCardProps[];
|
|
1234
1234
|
}
|
|
1235
1235
|
|
|
1236
|
-
declare const LocationsBrandCards: (({ className, title, subtitle, image, cards, children, }: LocationsBrandCardsProps) =>
|
|
1237
|
-
Text: ({ children }: LocationsBrandCardsTextProps) =>
|
|
1236
|
+
declare const LocationsBrandCards: (({ className, title, subtitle, image, cards, children, }: LocationsBrandCardsProps) => react.JSX.Element) & {
|
|
1237
|
+
Text: ({ children }: LocationsBrandCardsTextProps) => react.JSX.Element;
|
|
1238
1238
|
};
|
|
1239
1239
|
|
|
1240
1240
|
interface BrandTab {
|
|
@@ -1265,7 +1265,7 @@ interface BrandsTabProps {
|
|
|
1265
1265
|
tabs?: BrandTab[];
|
|
1266
1266
|
}
|
|
1267
1267
|
|
|
1268
|
-
declare const BrandsTab: (props: BrandsTabProps) =>
|
|
1268
|
+
declare const BrandsTab: (props: BrandsTabProps) => react.JSX.Element;
|
|
1269
1269
|
|
|
1270
1270
|
interface TimelineCard {
|
|
1271
1271
|
logo?: IPicture;
|
|
@@ -1277,7 +1277,7 @@ interface TimelineCardsProps {
|
|
|
1277
1277
|
cards?: TimelineCard[];
|
|
1278
1278
|
}
|
|
1279
1279
|
|
|
1280
|
-
declare const TimelineCards: ({ captionText, cards, className }: TimelineCardsProps) =>
|
|
1280
|
+
declare const TimelineCards: ({ captionText, cards, className }: TimelineCardsProps) => react.JSX.Element;
|
|
1281
1281
|
|
|
1282
1282
|
/** Tracks the current browser path, updating on back/forward navigation. */
|
|
1283
1283
|
declare const useActivePath: () => string;
|
package/dist/index.mjs
CHANGED
|
@@ -3465,8 +3465,10 @@ var MiniSectionCta_module_default = {
|
|
|
3465
3465
|
infoCallout: "MiniSectionCta_module_infoCallout",
|
|
3466
3466
|
subtitle: "MiniSectionCta_module_subtitle",
|
|
3467
3467
|
miniTextCenterCta: "MiniSectionCta_module_miniTextCenterCta",
|
|
3468
|
+
bgGradientGrey: "MiniSectionCta_module_bgGradientGrey",
|
|
3468
3469
|
light: "MiniSectionCta_module_light",
|
|
3469
3470
|
gray: "MiniSectionCta_module_gray",
|
|
3471
|
+
gradientGrey: "MiniSectionCta_module_gradientGrey",
|
|
3470
3472
|
dark: "MiniSectionCta_module_dark",
|
|
3471
3473
|
cta: "MiniSectionCta_module_cta",
|
|
3472
3474
|
BgColorGrey: "MiniSectionCta_module_BgColorGrey"
|
|
@@ -3495,6 +3497,7 @@ var MiniSectionCta = ({
|
|
|
3495
3497
|
className: clsx52(MiniSectionCta_module_default.miniSectionCta, MiniSectionCta_module_default[variant], theme && MiniSectionCta_module_default[theme], className),
|
|
3496
3498
|
style: __spreadValues({}, hasModuleStyles && {
|
|
3497
3499
|
"--custom-background-color": moduleStyles.backgroundColor,
|
|
3500
|
+
"--custom-mobile-background-color": moduleStyles.mobileBackgroundColor,
|
|
3498
3501
|
"--custom-color": moduleStyles.color
|
|
3499
3502
|
}),
|
|
3500
3503
|
children: /* @__PURE__ */ jsx(Container, { children: /* @__PURE__ */ jsxs("div", { className: MiniSectionCta_module_default.wrapper, children: [
|
|
@@ -3514,7 +3517,7 @@ var MiniSectionCta = ({
|
|
|
3514
3517
|
className: MiniSectionCta_module_default.cta,
|
|
3515
3518
|
href: cta.url,
|
|
3516
3519
|
isExternal: cta.isExternal,
|
|
3517
|
-
variant: variant === "BgColorBlack" ? "shiny" : "primary",
|
|
3520
|
+
variant: variant === "BgColorBlack" ? "shiny" : variant === "bgGradientGrey" ? "secondary" : "primary",
|
|
3518
3521
|
icon: variant === "miniTextCenterCta" ? "tiltedRightWhite" : void 0,
|
|
3519
3522
|
children: cta.label
|
|
3520
3523
|
}
|
|
@@ -5705,6 +5708,8 @@ var TextCenterWithMedia2 = Object.assign(TextCenterWithMedia, {
|
|
|
5705
5708
|
|
|
5706
5709
|
// src/widgets/QuoteSectionBlock/QuoteSectionBlock.module.scss
|
|
5707
5710
|
var QuoteSectionBlock_module_default = {
|
|
5711
|
+
bodyText: "QuoteSectionBlock_module_bodyText",
|
|
5712
|
+
displayName: "QuoteSectionBlock_module_displayName",
|
|
5708
5713
|
quoteSectionBlock: "QuoteSectionBlock_module_quoteSectionBlock",
|
|
5709
5714
|
inner: "QuoteSectionBlock_module_inner",
|
|
5710
5715
|
title: "QuoteSectionBlock_module_title",
|
|
@@ -5712,11 +5717,9 @@ var QuoteSectionBlock_module_default = {
|
|
|
5712
5717
|
swiperContainerFullWidth: "QuoteSectionBlock_module_swiperContainerFullWidth",
|
|
5713
5718
|
card: "QuoteSectionBlock_module_card",
|
|
5714
5719
|
quoteLogo: "QuoteSectionBlock_module_quoteLogo",
|
|
5715
|
-
bodyText: "QuoteSectionBlock_module_bodyText",
|
|
5716
5720
|
attribution: "QuoteSectionBlock_module_attribution",
|
|
5721
|
+
attributionRight: "QuoteSectionBlock_module_attributionRight",
|
|
5717
5722
|
displayPhoto: "QuoteSectionBlock_module_displayPhoto",
|
|
5718
|
-
displayName: "QuoteSectionBlock_module_displayName",
|
|
5719
|
-
displaySubName: "QuoteSectionBlock_module_displaySubName",
|
|
5720
5723
|
attributionText: "QuoteSectionBlock_module_attributionText",
|
|
5721
5724
|
jobTitleLogo: "QuoteSectionBlock_module_jobTitleLogo",
|
|
5722
5725
|
controls: "QuoteSectionBlock_module_controls"
|
|
@@ -5743,20 +5746,15 @@ var QuoteSectionBlock = ({
|
|
|
5743
5746
|
onSlideChange: (swiper) => setActiveIndex(swiper.activeIndex),
|
|
5744
5747
|
children: items.map((item, index) => /* @__PURE__ */ jsx(SwiperSlide, { children: /* @__PURE__ */ jsxs("div", { className: QuoteSectionBlock_module_default.card, children: [
|
|
5745
5748
|
/* @__PURE__ */ jsx(Icon, { type: "quote", className: QuoteSectionBlock_module_default.quoteLogo }),
|
|
5746
|
-
(item == null ? void 0 : item.bodyText) && /* @__PURE__ */ jsx("
|
|
5749
|
+
(item == null ? void 0 : item.bodyText) && /* @__PURE__ */ jsx("div", { className: QuoteSectionBlock_module_default.bodyText, children: item.bodyText }),
|
|
5747
5750
|
/* @__PURE__ */ jsxs("div", { className: QuoteSectionBlock_module_default.attribution, children: [
|
|
5748
|
-
(item == null ? void 0 : item.displayPhoto) && /* @__PURE__ */ jsx(
|
|
5749
|
-
|
|
5750
|
-
{
|
|
5751
|
-
|
|
5752
|
-
|
|
5753
|
-
|
|
5754
|
-
}
|
|
5755
|
-
),
|
|
5756
|
-
/* @__PURE__ */ jsxs("div", { className: QuoteSectionBlock_module_default.attributionText, children: [
|
|
5757
|
-
(item == null ? void 0 : item.displayName) && /* @__PURE__ */ jsx("span", { className: QuoteSectionBlock_module_default.displayName, children: item.displayName }),
|
|
5758
|
-
(item == null ? void 0 : item.displaySubName) && /* @__PURE__ */ jsx("span", { className: QuoteSectionBlock_module_default.displaySubName, children: item.displaySubName }),
|
|
5759
|
-
(item == null ? void 0 : item.jobTitleLogo) && /* @__PURE__ */ jsx("img", { src: item.jobTitleLogo, alt: "", className: QuoteSectionBlock_module_default.jobTitleLogo })
|
|
5751
|
+
(item == null ? void 0 : item.displayPhoto) && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, item.displayPhoto), { className: QuoteSectionBlock_module_default.displayPhoto })),
|
|
5752
|
+
/* @__PURE__ */ jsxs("div", { className: QuoteSectionBlock_module_default.attributionRight, children: [
|
|
5753
|
+
/* @__PURE__ */ jsxs("div", { className: QuoteSectionBlock_module_default.attributionText, children: [
|
|
5754
|
+
(item == null ? void 0 : item.displayName) && /* @__PURE__ */ jsx("span", { className: QuoteSectionBlock_module_default.displayName, children: item.displayName }),
|
|
5755
|
+
(item == null ? void 0 : item.jobTitle) && /* @__PURE__ */ jsx("span", { className: QuoteSectionBlock_module_default.jobTitle, children: item.jobTitle })
|
|
5756
|
+
] }),
|
|
5757
|
+
(item == null ? void 0 : item.jobTitleLogo) && /* @__PURE__ */ jsx(Picture, __spreadProps(__spreadValues({}, item.jobTitleLogo), { className: QuoteSectionBlock_module_default.jobTitleLogo }))
|
|
5760
5758
|
] })
|
|
5761
5759
|
] })
|
|
5762
5760
|
] }) }, index))
|