@digital-b2c/coreui-kit 0.14.2 → 0.14.4
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/dist/index.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +17 -9
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +79 -80
- package/dist/index.d.ts +79 -80
- package/dist/index.mjs +3 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
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
|
|
|
@@ -116,7 +115,7 @@ interface BrandsStripProps {
|
|
|
116
115
|
size?: 'small';
|
|
117
116
|
}
|
|
118
117
|
|
|
119
|
-
declare const BrandsStrip: ({ className, variant, title, logos, cta, size, }: BrandsStripProps) =>
|
|
118
|
+
declare const BrandsStrip: ({ className, variant, title, logos, cta, size, }: BrandsStripProps) => react.JSX.Element;
|
|
120
119
|
|
|
121
120
|
declare const ButtonVariantReadOnly: readonly ["primary", "secondary", "ghost", "nofill", "grey", "nofillblack", "shiny", "tabbutton", "navnofillblack"];
|
|
122
121
|
type TButtonVariant = (typeof ButtonVariantReadOnly)[number];
|
|
@@ -156,11 +155,11 @@ interface CardProps {
|
|
|
156
155
|
}
|
|
157
156
|
|
|
158
157
|
declare const Card: {
|
|
159
|
-
({ className, variant, title, subtitle, cta, icon, logo, children, ref, }: CardProps):
|
|
158
|
+
({ className, variant, title, subtitle, cta, icon, logo, children, ref, }: CardProps): react.JSX.Element;
|
|
160
159
|
displayName: string;
|
|
161
160
|
} & {
|
|
162
|
-
Title: ({ children }: CardTitleProps) =>
|
|
163
|
-
Subtitle: ({ children }: CardSubtitleProps) =>
|
|
161
|
+
Title: ({ children }: CardTitleProps) => react.JSX.Element;
|
|
162
|
+
Subtitle: ({ children }: CardSubtitleProps) => react.JSX.Element;
|
|
164
163
|
};
|
|
165
164
|
|
|
166
165
|
type CountingCardTitleProps = {
|
|
@@ -175,8 +174,8 @@ interface CountingCardProps {
|
|
|
175
174
|
children?: ReactNode;
|
|
176
175
|
}
|
|
177
176
|
|
|
178
|
-
declare const CountingCard: (({ className, title, count, image, children }: CountingCardProps) =>
|
|
179
|
-
Title: ({ children }: CountingCardTitleProps) =>
|
|
177
|
+
declare const CountingCard: (({ className, title, count, image, children }: CountingCardProps) => react.JSX.Element) & {
|
|
178
|
+
Title: ({ children }: CountingCardTitleProps) => react.JSX.Element;
|
|
180
179
|
};
|
|
181
180
|
|
|
182
181
|
type ResourceView = 'grid' | 'list';
|
|
@@ -200,7 +199,7 @@ interface ResourceCardItemProps {
|
|
|
200
199
|
}) => React.ReactNode;
|
|
201
200
|
}
|
|
202
201
|
|
|
203
|
-
declare const ResourceCardItem: ({ item, view, variant, renderLink }: ResourceCardItemProps) =>
|
|
202
|
+
declare const ResourceCardItem: ({ item, view, variant, renderLink }: ResourceCardItemProps) => react.JSX.Element;
|
|
204
203
|
|
|
205
204
|
type FilterOption = 'all' | 'pdf' | 'externalLink';
|
|
206
205
|
type SortOption = 'latest' | 'oldest' | 'az' | 'za';
|
|
@@ -216,7 +215,7 @@ interface FilterBarProps {
|
|
|
216
215
|
onSearchChange: (v: string) => void;
|
|
217
216
|
}
|
|
218
217
|
|
|
219
|
-
declare function FilterBar({ view, onViewChange, isMobile, filterValue, onFilterChange, sortValue, onSortChange, searchValue, onSearchChange, }: FilterBarProps):
|
|
218
|
+
declare function FilterBar({ view, onViewChange, isMobile, filterValue, onFilterChange, sortValue, onSortChange, searchValue, onSearchChange, }: FilterBarProps): react.JSX.Element;
|
|
220
219
|
|
|
221
220
|
type InfoCardSubtitleProps = {
|
|
222
221
|
children: ReactNode;
|
|
@@ -235,9 +234,9 @@ interface InfoCardProps {
|
|
|
235
234
|
children?: ReactNode;
|
|
236
235
|
}
|
|
237
236
|
|
|
238
|
-
declare const InfoCard: (({ className, title, subtitle, icon, badge, children }: InfoCardProps) =>
|
|
239
|
-
Title: ({ children }: InfoCardTitleProps) =>
|
|
240
|
-
Subtitle: ({ children }: InfoCardSubtitleProps) =>
|
|
237
|
+
declare const InfoCard: (({ className, title, subtitle, icon, badge, children }: InfoCardProps) => react.JSX.Element) & {
|
|
238
|
+
Title: ({ children }: InfoCardTitleProps) => react.JSX.Element;
|
|
239
|
+
Subtitle: ({ children }: InfoCardSubtitleProps) => react.JSX.Element;
|
|
241
240
|
};
|
|
242
241
|
|
|
243
242
|
interface PaginationProps {
|
|
@@ -258,9 +257,9 @@ interface PaginationProps {
|
|
|
258
257
|
}) => ReactNode;
|
|
259
258
|
}
|
|
260
259
|
|
|
261
|
-
declare const Pagination: ({ className, totalPages, currentPage, loop, hasNumber, disableArrows, onPageChange, showEllipsis, boundaryCount, siblingCount, hidePagesBorder, renderLink, }: PaginationProps) =>
|
|
260
|
+
declare const Pagination: ({ className, totalPages, currentPage, loop, hasNumber, disableArrows, onPageChange, showEllipsis, boundaryCount, siblingCount, hidePagesBorder, renderLink, }: PaginationProps) => react.JSX.Element;
|
|
262
261
|
|
|
263
|
-
declare const Picture: ({ className, ...props }: PictureProps) =>
|
|
262
|
+
declare const Picture: ({ className, ...props }: PictureProps) => react.JSX.Element;
|
|
264
263
|
|
|
265
264
|
interface PracticeCardProps {
|
|
266
265
|
className?: string;
|
|
@@ -269,7 +268,7 @@ interface PracticeCardProps {
|
|
|
269
268
|
image?: IPicture;
|
|
270
269
|
}
|
|
271
270
|
|
|
272
|
-
declare const PracticeCard: ({ className, title, cta, image }: PracticeCardProps) =>
|
|
271
|
+
declare const PracticeCard: ({ className, title, cta, image }: PracticeCardProps) => react.JSX.Element;
|
|
273
272
|
|
|
274
273
|
interface SidebarCategory {
|
|
275
274
|
label: string;
|
|
@@ -289,7 +288,7 @@ interface SidebarProps {
|
|
|
289
288
|
onSelect: (index: number) => void;
|
|
290
289
|
}
|
|
291
290
|
|
|
292
|
-
declare const Sidebar: ({ categories, isMobile, onToggle, selectedIndex, onSelect, }: SidebarProps) =>
|
|
291
|
+
declare const Sidebar: ({ categories, isMobile, onToggle, selectedIndex, onSelect, }: SidebarProps) => react.JSX.Element;
|
|
293
292
|
|
|
294
293
|
interface UpcomingEventCardProps {
|
|
295
294
|
className?: string;
|
|
@@ -305,7 +304,7 @@ interface UpcomingEventCardProps {
|
|
|
305
304
|
showImage?: boolean;
|
|
306
305
|
}
|
|
307
306
|
|
|
308
|
-
declare const UpcomingEventCard: ({ className, image, date, title, location, description, cta, direction, showImage, }: UpcomingEventCardProps) =>
|
|
307
|
+
declare const UpcomingEventCard: ({ className, image, date, title, location, description, cta, direction, showImage, }: UpcomingEventCardProps) => react.JSX.Element;
|
|
309
308
|
|
|
310
309
|
type BadgeBaseProps = {
|
|
311
310
|
children?: ReactNode;
|
|
@@ -383,7 +382,7 @@ interface NewsCardProps {
|
|
|
383
382
|
}) => React.ReactNode;
|
|
384
383
|
}
|
|
385
384
|
|
|
386
|
-
declare const NewsCard: ({ className, image, date, description, tag, title, cta, direction, renderLink, }: NewsCardProps) =>
|
|
385
|
+
declare const NewsCard: ({ className, image, date, description, tag, title, cta, direction, renderLink, }: NewsCardProps) => react.JSX.Element;
|
|
387
386
|
|
|
388
387
|
type BlogPostContentBodyProps = {
|
|
389
388
|
children: ReactNode;
|
|
@@ -395,8 +394,8 @@ interface BlogPostContentProps {
|
|
|
395
394
|
body?: ReactNode;
|
|
396
395
|
}
|
|
397
396
|
|
|
398
|
-
declare const BlogPostContent: (({ className, body, children }: BlogPostContentProps) =>
|
|
399
|
-
Body: ({ children }: BlogPostContentBodyProps) =>
|
|
397
|
+
declare const BlogPostContent: (({ className, body, children }: BlogPostContentProps) => react.JSX.Element) & {
|
|
398
|
+
Body: ({ children }: BlogPostContentBodyProps) => react.JSX.Element;
|
|
400
399
|
};
|
|
401
400
|
|
|
402
401
|
interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
@@ -406,7 +405,7 @@ interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
|
406
405
|
}) => ReactNode;
|
|
407
406
|
}
|
|
408
407
|
|
|
409
|
-
declare const Anchor: ({ children, isExternal, renderLink, ...props }: AnchorProps) =>
|
|
408
|
+
declare const Anchor: ({ children, isExternal, renderLink, ...props }: AnchorProps) => react.JSX.Element;
|
|
410
409
|
|
|
411
410
|
interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
|
|
412
411
|
children: ReactNode;
|
|
@@ -445,9 +444,9 @@ interface CardCollectionProps {
|
|
|
445
444
|
theme?: 'dark' | 'light';
|
|
446
445
|
}
|
|
447
446
|
|
|
448
|
-
declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) =>
|
|
449
|
-
Title: ({ children }: CardCollectionTitleProps) =>
|
|
450
|
-
Subtitle: ({ children }: CardCollectionSubtitleProps) =>
|
|
447
|
+
declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) => react.JSX.Element) & {
|
|
448
|
+
Title: ({ children }: CardCollectionTitleProps) => react.JSX.Element;
|
|
449
|
+
Subtitle: ({ children }: CardCollectionSubtitleProps) => react.JSX.Element;
|
|
451
450
|
};
|
|
452
451
|
|
|
453
452
|
type ContactModuleSubtitleProps = {
|
|
@@ -469,9 +468,9 @@ interface ContactModuleProps {
|
|
|
469
468
|
animateBlur?: boolean;
|
|
470
469
|
}
|
|
471
470
|
|
|
472
|
-
declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) =>
|
|
473
|
-
Title: ({ children }: ContactModuleTitleProps) =>
|
|
474
|
-
Subtitle: ({ children }: ContactModuleSubtitleProps) =>
|
|
471
|
+
declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) => react.JSX.Element) & {
|
|
472
|
+
Title: ({ children }: ContactModuleTitleProps) => react.JSX.Element;
|
|
473
|
+
Subtitle: ({ children }: ContactModuleSubtitleProps) => react.JSX.Element;
|
|
475
474
|
};
|
|
476
475
|
|
|
477
476
|
interface IFooterLink {
|
|
@@ -497,7 +496,7 @@ interface FooterProps {
|
|
|
497
496
|
supportContacts?: IFooterSupportGroup[];
|
|
498
497
|
}
|
|
499
498
|
|
|
500
|
-
declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) =>
|
|
499
|
+
declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) => react.JSX.Element;
|
|
501
500
|
|
|
502
501
|
type HeroBannerSubtitleProps = {
|
|
503
502
|
children: ReactNode;
|
|
@@ -523,9 +522,9 @@ interface HeroBannerProps {
|
|
|
523
522
|
children?: ReactNode;
|
|
524
523
|
}
|
|
525
524
|
|
|
526
|
-
declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, children, }: HeroBannerProps) =>
|
|
527
|
-
Title: ({ children }: HeroBannerTitleProps) =>
|
|
528
|
-
Subtitle: ({ children }: HeroBannerSubtitleProps) =>
|
|
525
|
+
declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, children, }: HeroBannerProps) => react.JSX.Element) & {
|
|
526
|
+
Title: ({ children }: HeroBannerTitleProps) => react.JSX.Element;
|
|
527
|
+
Subtitle: ({ children }: HeroBannerSubtitleProps) => react.JSX.Element;
|
|
529
528
|
};
|
|
530
529
|
|
|
531
530
|
interface HeroBannerCarouselItem {
|
|
@@ -542,7 +541,7 @@ interface HeroBannerCarouselProps {
|
|
|
542
541
|
navNextIcon?: string;
|
|
543
542
|
}
|
|
544
543
|
|
|
545
|
-
declare const HeroBannerCarousel: ({ className, items, navPrevIcon, navNextIcon, }: HeroBannerCarouselProps) =>
|
|
544
|
+
declare const HeroBannerCarousel: ({ className, items, navPrevIcon, navNextIcon, }: HeroBannerCarouselProps) => react.JSX.Element | null;
|
|
546
545
|
|
|
547
546
|
interface InternalBrandsTabProps {
|
|
548
547
|
title?: string;
|
|
@@ -565,7 +564,7 @@ interface InternalBrandsTabProps {
|
|
|
565
564
|
}[];
|
|
566
565
|
}
|
|
567
566
|
|
|
568
|
-
declare const InternalBrandsTab: (props: InternalBrandsTabProps) =>
|
|
567
|
+
declare const InternalBrandsTab: (props: InternalBrandsTabProps) => react.JSX.Element;
|
|
569
568
|
|
|
570
569
|
type MiniBannerGoBackProps = {
|
|
571
570
|
children: ReactNode;
|
|
@@ -602,10 +601,10 @@ interface MiniBannerProps {
|
|
|
602
601
|
children?: ReactNode;
|
|
603
602
|
}
|
|
604
603
|
|
|
605
|
-
declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, children, }: MiniBannerProps) =>
|
|
606
|
-
Title: ({ children }: MiniBannerTitleProps) =>
|
|
607
|
-
Subtitle: ({ children }: MiniBannerSubtitleProps) =>
|
|
608
|
-
GoBack: ({ children }: MiniBannerGoBackProps) =>
|
|
604
|
+
declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, children, }: MiniBannerProps) => react.JSX.Element) & {
|
|
605
|
+
Title: ({ children }: MiniBannerTitleProps) => react.JSX.Element;
|
|
606
|
+
Subtitle: ({ children }: MiniBannerSubtitleProps) => react.JSX.Element;
|
|
607
|
+
GoBack: ({ children }: MiniBannerGoBackProps) => react.JSX.Element;
|
|
609
608
|
};
|
|
610
609
|
|
|
611
610
|
type MiniSectionCtaSubtitleProps = {
|
|
@@ -626,9 +625,9 @@ interface MiniSectionCtaProps {
|
|
|
626
625
|
children?: ReactNode;
|
|
627
626
|
}
|
|
628
627
|
|
|
629
|
-
declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, children, }: MiniSectionCtaProps) =>
|
|
630
|
-
Title: ({ children }: MiniSectionCtaTitleProps) =>
|
|
631
|
-
Subtitle: ({ children }: MiniSectionCtaSubtitleProps) =>
|
|
628
|
+
declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, children, }: MiniSectionCtaProps) => react.JSX.Element) & {
|
|
629
|
+
Title: ({ children }: MiniSectionCtaTitleProps) => react.JSX.Element;
|
|
630
|
+
Subtitle: ({ children }: MiniSectionCtaSubtitleProps) => react.JSX.Element;
|
|
632
631
|
};
|
|
633
632
|
|
|
634
633
|
interface BaseNavItem {
|
|
@@ -657,7 +656,7 @@ interface NavigationProps {
|
|
|
657
656
|
};
|
|
658
657
|
}
|
|
659
658
|
|
|
660
|
-
declare const Navigation: (props: NavigationProps) =>
|
|
659
|
+
declare const Navigation: (props: NavigationProps) => react.JSX.Element;
|
|
661
660
|
|
|
662
661
|
type PracticePathCardsFooterProps = {
|
|
663
662
|
children: ReactNode;
|
|
@@ -681,10 +680,10 @@ interface PracticePathCardsProps {
|
|
|
681
680
|
cta?: ICta;
|
|
682
681
|
}
|
|
683
682
|
|
|
684
|
-
declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) =>
|
|
685
|
-
Title: ({ children }: PracticePathCardsTitleProps) =>
|
|
686
|
-
Subtitle: ({ children }: PracticePathCardsSubtitleProps) =>
|
|
687
|
-
Footer: ({ children }: PracticePathCardsFooterProps) =>
|
|
683
|
+
declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) => react.JSX.Element) & {
|
|
684
|
+
Title: ({ children }: PracticePathCardsTitleProps) => react.JSX.Element;
|
|
685
|
+
Subtitle: ({ children }: PracticePathCardsSubtitleProps) => react.JSX.Element;
|
|
686
|
+
Footer: ({ children }: PracticePathCardsFooterProps) => react.JSX.Element;
|
|
688
687
|
};
|
|
689
688
|
|
|
690
689
|
type Teaser5050With3TextTitleProps = {
|
|
@@ -700,8 +699,8 @@ interface Teaser5050With3TextProps {
|
|
|
700
699
|
children?: ReactNode;
|
|
701
700
|
}
|
|
702
701
|
|
|
703
|
-
declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) =>
|
|
704
|
-
Title: ({ children }: Teaser5050With3TextTitleProps) =>
|
|
702
|
+
declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) => react.JSX.Element) & {
|
|
703
|
+
Title: ({ children }: Teaser5050With3TextTitleProps) => react.JSX.Element;
|
|
705
704
|
};
|
|
706
705
|
|
|
707
706
|
type Teaser5050WithCtaSubtitleProps = {
|
|
@@ -723,9 +722,9 @@ interface Teaser5050WithCtaProps {
|
|
|
723
722
|
bgColor?: string;
|
|
724
723
|
}
|
|
725
724
|
|
|
726
|
-
declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children, bgColor, }: Teaser5050WithCtaProps) =>
|
|
727
|
-
Title: ({ children }: Teaser5050WithCtaTitleProps) =>
|
|
728
|
-
Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) =>
|
|
725
|
+
declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children, bgColor, }: Teaser5050WithCtaProps) => react.JSX.Element) & {
|
|
726
|
+
Title: ({ children }: Teaser5050WithCtaTitleProps) => react.JSX.Element;
|
|
727
|
+
Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) => react.JSX.Element;
|
|
729
728
|
};
|
|
730
729
|
|
|
731
730
|
type EventListEmptyProps = {
|
|
@@ -747,9 +746,9 @@ interface EventListProps extends PropsWithChildren {
|
|
|
747
746
|
variant?: 'internalEventList';
|
|
748
747
|
}
|
|
749
748
|
|
|
750
|
-
declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) =>
|
|
751
|
-
Title: ({ children }: EventListTitleProps) =>
|
|
752
|
-
Empty: ({ children }: EventListEmptyProps) =>
|
|
749
|
+
declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) => react.JSX.Element) & {
|
|
750
|
+
Title: ({ children }: EventListTitleProps) => react.JSX.Element;
|
|
751
|
+
Empty: ({ children }: EventListEmptyProps) => react.JSX.Element;
|
|
753
752
|
};
|
|
754
753
|
|
|
755
754
|
type TextEventRichTextProps = {
|
|
@@ -769,9 +768,9 @@ interface TextEventProps {
|
|
|
769
768
|
children?: ReactNode;
|
|
770
769
|
}
|
|
771
770
|
|
|
772
|
-
declare const TextEvent: ((props: TextEventProps) =>
|
|
773
|
-
Title: ({ children }: TextEventTitleProps) =>
|
|
774
|
-
RichText: ({ children }: TextEventRichTextProps) =>
|
|
771
|
+
declare const TextEvent: ((props: TextEventProps) => react.JSX.Element) & {
|
|
772
|
+
Title: ({ children }: TextEventTitleProps) => react.JSX.Element;
|
|
773
|
+
RichText: ({ children }: TextEventRichTextProps) => react.JSX.Element;
|
|
775
774
|
};
|
|
776
775
|
|
|
777
776
|
type TextBodyBodyProps = {
|
|
@@ -789,9 +788,9 @@ interface TextBodyProps {
|
|
|
789
788
|
children?: ReactNode;
|
|
790
789
|
}
|
|
791
790
|
|
|
792
|
-
declare const TextBody: ((props: TextBodyProps) =>
|
|
793
|
-
Title: ({ children }: TextBodyTitleProps) =>
|
|
794
|
-
Body: ({ children }: TextBodyBodyProps) =>
|
|
791
|
+
declare const TextBody: ((props: TextBodyProps) => react.JSX.Element) & {
|
|
792
|
+
Title: ({ children }: TextBodyTitleProps) => react.JSX.Element;
|
|
793
|
+
Body: ({ children }: TextBodyBodyProps) => react.JSX.Element;
|
|
795
794
|
};
|
|
796
795
|
|
|
797
796
|
type TextCenterCtaInBottomSubtitleProps = {
|
|
@@ -810,9 +809,9 @@ interface TextCenterCtaInBottomProps {
|
|
|
810
809
|
children?: ReactNode;
|
|
811
810
|
}
|
|
812
811
|
|
|
813
|
-
declare const TextCenterCtaInBottom: (({ className, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) =>
|
|
814
|
-
Title: ({ children }: TextCenterCtaInBottomTitleProps) =>
|
|
815
|
-
Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) =>
|
|
812
|
+
declare const TextCenterCtaInBottom: (({ className, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) => react.JSX.Element) & {
|
|
813
|
+
Title: ({ children }: TextCenterCtaInBottomTitleProps) => react.JSX.Element;
|
|
814
|
+
Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) => react.JSX.Element;
|
|
816
815
|
};
|
|
817
816
|
|
|
818
817
|
interface ResourcesGridListProps {
|
|
@@ -825,7 +824,7 @@ interface ResourcesGridListProps {
|
|
|
825
824
|
children?: ReactNode;
|
|
826
825
|
}
|
|
827
826
|
|
|
828
|
-
declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) =>
|
|
827
|
+
declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) => react.JSX.Element;
|
|
829
828
|
|
|
830
829
|
type BlogCardGridTitleProps = {
|
|
831
830
|
children: ReactNode;
|
|
@@ -845,8 +844,8 @@ interface BlogCardGridProps extends PropsWithChildren {
|
|
|
845
844
|
}) => React.ReactNode;
|
|
846
845
|
}
|
|
847
846
|
|
|
848
|
-
declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) =>
|
|
849
|
-
Title: ({ children }: BlogCardGridTitleProps) =>
|
|
847
|
+
declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) => react.JSX.Element) & {
|
|
848
|
+
Title: ({ children }: BlogCardGridTitleProps) => react.JSX.Element;
|
|
850
849
|
};
|
|
851
850
|
|
|
852
851
|
type FeaturedNewsHighlightsTitleProps = {
|
|
@@ -866,8 +865,8 @@ interface FeaturedNewsHighlightsProps extends PropsWithChildren {
|
|
|
866
865
|
}) => React.ReactNode;
|
|
867
866
|
}
|
|
868
867
|
|
|
869
|
-
declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) =>
|
|
870
|
-
Title: ({ children }: FeaturedNewsHighlightsTitleProps) =>
|
|
868
|
+
declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) => react.JSX.Element) & {
|
|
869
|
+
Title: ({ children }: FeaturedNewsHighlightsTitleProps) => react.JSX.Element;
|
|
871
870
|
};
|
|
872
871
|
|
|
873
872
|
type NewsCardListPaginationProps = {
|
|
@@ -888,8 +887,8 @@ interface NewsCardListProps extends PropsWithChildren {
|
|
|
888
887
|
}) => React.ReactNode;
|
|
889
888
|
}
|
|
890
889
|
|
|
891
|
-
declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) =>
|
|
892
|
-
Pagination: ({ children }: NewsCardListPaginationProps) =>
|
|
890
|
+
declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) => react.JSX.Element) & {
|
|
891
|
+
Pagination: ({ children }: NewsCardListPaginationProps) => react.JSX.Element;
|
|
893
892
|
};
|
|
894
893
|
|
|
895
894
|
type BlogPostBodyProps = {
|
|
@@ -905,9 +904,9 @@ interface BlogPostProps extends PropsWithChildren, Omit<NewsCardProps, 'descript
|
|
|
905
904
|
relatedArticles?: NewsCardProps[];
|
|
906
905
|
}
|
|
907
906
|
|
|
908
|
-
declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) =>
|
|
909
|
-
Title: ({ children }: BlogPostTitleProps) =>
|
|
910
|
-
Body: ({ children }: BlogPostBodyProps) =>
|
|
907
|
+
declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) => react.JSX.Element) & {
|
|
908
|
+
Title: ({ children }: BlogPostTitleProps) => react.JSX.Element;
|
|
909
|
+
Body: ({ children }: BlogPostBodyProps) => react.JSX.Element;
|
|
911
910
|
};
|
|
912
911
|
|
|
913
912
|
type BlogSearchResultsListPaginationProps = {
|
|
@@ -931,9 +930,9 @@ interface BlogSearchResultsListProps extends PropsWithChildren {
|
|
|
931
930
|
}) => React.ReactNode;
|
|
932
931
|
}
|
|
933
932
|
|
|
934
|
-
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) =>
|
|
935
|
-
Search: ({ children }: BlogSearchResultsListSearchProps) =>
|
|
936
|
-
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) =>
|
|
933
|
+
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) => react.JSX.Element) & {
|
|
934
|
+
Search: ({ children }: BlogSearchResultsListSearchProps) => react.JSX.Element;
|
|
935
|
+
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) => react.JSX.Element;
|
|
937
936
|
};
|
|
938
937
|
|
|
939
938
|
type GlobalSearchResultsListPaginationProps = {
|
|
@@ -953,9 +952,9 @@ interface GlobalSearchResultsListProps extends PropsWithChildren {
|
|
|
953
952
|
}) => React.ReactNode;
|
|
954
953
|
}
|
|
955
954
|
|
|
956
|
-
declare const GlobalSearchResultsList: (({ items, searchResult, className, renderLink, children, }: GlobalSearchResultsListProps) =>
|
|
957
|
-
Search: ({ children }: GlobalSearchResultsListSearchProps) =>
|
|
958
|
-
Pagination: ({ children, }: GlobalSearchResultsListPaginationProps) =>
|
|
955
|
+
declare const GlobalSearchResultsList: (({ items, searchResult, className, renderLink, children, }: GlobalSearchResultsListProps) => react.JSX.Element) & {
|
|
956
|
+
Search: ({ children }: GlobalSearchResultsListSearchProps) => react.JSX.Element;
|
|
957
|
+
Pagination: ({ children, }: GlobalSearchResultsListPaginationProps) => react.JSX.Element;
|
|
959
958
|
};
|
|
960
959
|
|
|
961
960
|
type TextCenterWithMediaTitleProps = {
|
|
@@ -974,8 +973,8 @@ interface TextCenterWithMediaProps {
|
|
|
974
973
|
children?: ReactNode;
|
|
975
974
|
}
|
|
976
975
|
|
|
977
|
-
declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, loop, mute, hideControl, autoPlay, children, }: TextCenterWithMediaProps) =>
|
|
978
|
-
Title: ({ children }: TextCenterWithMediaTitleProps) =>
|
|
976
|
+
declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, loop, mute, hideControl, autoPlay, children, }: TextCenterWithMediaProps) => react.JSX.Element) & {
|
|
977
|
+
Title: ({ children }: TextCenterWithMediaTitleProps) => react.JSX.Element;
|
|
979
978
|
};
|
|
980
979
|
|
|
981
980
|
type IntersectionObserverOptions = {
|
package/dist/index.mjs
CHANGED
|
@@ -1440,6 +1440,7 @@ var UpcomingEventCard_module_default = {
|
|
|
1440
1440
|
"event-card-show-image": "UpcomingEventCard_module_event-card-show-image",
|
|
1441
1441
|
"event-card-cta": "UpcomingEventCard_module_event-card-cta",
|
|
1442
1442
|
hidden: "UpcomingEventCard_module_hidden",
|
|
1443
|
+
"event-card-cta-wrapper": "UpcomingEventCard_module_event-card-cta-wrapper",
|
|
1443
1444
|
"cta-without-image": "UpcomingEventCard_module_cta-without-image",
|
|
1444
1445
|
vertical: "UpcomingEventCard_module_vertical"
|
|
1445
1446
|
};
|
|
@@ -1485,7 +1486,7 @@ var UpcomingEventCard = ({
|
|
|
1485
1486
|
title && /* @__PURE__ */ jsx("h3", { className: clsx43("card-text-title"), children: title }),
|
|
1486
1487
|
location && /* @__PURE__ */ jsx("span", { className: UpcomingEventCard_module_default.location, children: location }),
|
|
1487
1488
|
description && /* @__PURE__ */ jsx("div", { className: clsx43("card-text-description", UpcomingEventCard_module_default.description), children: description }),
|
|
1488
|
-
cta && cta.url && /* @__PURE__ */ jsx(
|
|
1489
|
+
cta && cta.url && /* @__PURE__ */ jsx("div", { className: clsx43("card-cta-wrapper", UpcomingEventCard_module_default["event-card-cta-wrapper"]), children: /* @__PURE__ */ jsx(
|
|
1489
1490
|
Button,
|
|
1490
1491
|
{
|
|
1491
1492
|
variant: "secondary",
|
|
@@ -1500,7 +1501,7 @@ var UpcomingEventCard = ({
|
|
|
1500
1501
|
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
1501
1502
|
children: cta.label
|
|
1502
1503
|
}
|
|
1503
|
-
)
|
|
1504
|
+
) })
|
|
1504
1505
|
]
|
|
1505
1506
|
}
|
|
1506
1507
|
)
|