@digital-b2c/coreui-kit 0.14.4 → 0.14.6

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.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, Ref, HTMLAttributes, ButtonHTMLAttributes, InputHTMLAttributes, PropsWithChildren, JSX, FC, CSSProperties } from 'react';
3
4
 
@@ -42,6 +43,7 @@ declare const svgs: {
42
43
  externalLink: string;
43
44
  newIcon: string;
44
45
  play: string;
46
+ lock: string;
45
47
  blankCheckbox: string;
46
48
  blankCheckboxWhite: string;
47
49
  checkedBox: string;
@@ -115,7 +117,7 @@ interface BrandsStripProps {
115
117
  size?: 'small';
116
118
  }
117
119
 
118
- declare const BrandsStrip: ({ className, variant, title, logos, cta, size, }: BrandsStripProps) => react.JSX.Element;
120
+ declare const BrandsStrip: ({ className, variant, title, logos, cta, size, }: BrandsStripProps) => react_jsx_runtime.JSX.Element;
119
121
 
120
122
  declare const ButtonVariantReadOnly: readonly ["primary", "secondary", "ghost", "nofill", "grey", "nofillblack", "shiny", "tabbutton", "navnofillblack"];
121
123
  type TButtonVariant = (typeof ButtonVariantReadOnly)[number];
@@ -155,11 +157,11 @@ interface CardProps {
155
157
  }
156
158
 
157
159
  declare const Card: {
158
- ({ className, variant, title, subtitle, cta, icon, logo, children, ref, }: CardProps): react.JSX.Element;
160
+ ({ className, variant, title, subtitle, cta, icon, logo, children, ref, }: CardProps): react_jsx_runtime.JSX.Element;
159
161
  displayName: string;
160
162
  } & {
161
- Title: ({ children }: CardTitleProps) => react.JSX.Element;
162
- Subtitle: ({ children }: CardSubtitleProps) => react.JSX.Element;
163
+ Title: ({ children }: CardTitleProps) => react_jsx_runtime.JSX.Element;
164
+ Subtitle: ({ children }: CardSubtitleProps) => react_jsx_runtime.JSX.Element;
163
165
  };
164
166
 
165
167
  type CountingCardTitleProps = {
@@ -174,12 +176,12 @@ interface CountingCardProps {
174
176
  children?: ReactNode;
175
177
  }
176
178
 
177
- declare const CountingCard: (({ className, title, count, image, children }: CountingCardProps) => react.JSX.Element) & {
178
- Title: ({ children }: CountingCardTitleProps) => react.JSX.Element;
179
+ declare const CountingCard: (({ className, title, count, image, children }: CountingCardProps) => react_jsx_runtime.JSX.Element) & {
180
+ Title: ({ children }: CountingCardTitleProps) => react_jsx_runtime.JSX.Element;
179
181
  };
180
182
 
181
183
  type ResourceView = 'grid' | 'list';
182
- type ResourceItemType = 'pdf' | 'externalLink';
184
+ type ResourceItemType = 'pdf' | 'externalLink' | 'restricted';
183
185
  interface ResourceItem {
184
186
  title: string;
185
187
  bodyText?: ReactNode;
@@ -199,7 +201,7 @@ interface ResourceCardItemProps {
199
201
  }) => React.ReactNode;
200
202
  }
201
203
 
202
- declare const ResourceCardItem: ({ item, view, variant, renderLink }: ResourceCardItemProps) => react.JSX.Element;
204
+ declare const ResourceCardItem: ({ item, view, variant, renderLink }: ResourceCardItemProps) => react_jsx_runtime.JSX.Element;
203
205
 
204
206
  type FilterOption = 'all' | 'pdf' | 'externalLink';
205
207
  type SortOption = 'latest' | 'oldest' | 'az' | 'za';
@@ -215,7 +217,7 @@ interface FilterBarProps {
215
217
  onSearchChange: (v: string) => void;
216
218
  }
217
219
 
218
- declare function FilterBar({ view, onViewChange, isMobile, filterValue, onFilterChange, sortValue, onSortChange, searchValue, onSearchChange, }: FilterBarProps): react.JSX.Element;
220
+ declare function FilterBar({ view, onViewChange, isMobile, filterValue, onFilterChange, sortValue, onSortChange, searchValue, onSearchChange, }: FilterBarProps): react_jsx_runtime.JSX.Element;
219
221
 
220
222
  type InfoCardSubtitleProps = {
221
223
  children: ReactNode;
@@ -234,9 +236,9 @@ interface InfoCardProps {
234
236
  children?: ReactNode;
235
237
  }
236
238
 
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;
239
+ declare const InfoCard: (({ className, title, subtitle, icon, badge, children }: InfoCardProps) => react_jsx_runtime.JSX.Element) & {
240
+ Title: ({ children }: InfoCardTitleProps) => react_jsx_runtime.JSX.Element;
241
+ Subtitle: ({ children }: InfoCardSubtitleProps) => react_jsx_runtime.JSX.Element;
240
242
  };
241
243
 
242
244
  interface PaginationProps {
@@ -257,9 +259,9 @@ interface PaginationProps {
257
259
  }) => ReactNode;
258
260
  }
259
261
 
260
- declare const Pagination: ({ className, totalPages, currentPage, loop, hasNumber, disableArrows, onPageChange, showEllipsis, boundaryCount, siblingCount, hidePagesBorder, renderLink, }: PaginationProps) => react.JSX.Element;
262
+ declare const Pagination: ({ className, totalPages, currentPage, loop, hasNumber, disableArrows, onPageChange, showEllipsis, boundaryCount, siblingCount, hidePagesBorder, renderLink, }: PaginationProps) => react_jsx_runtime.JSX.Element;
261
263
 
262
- declare const Picture: ({ className, ...props }: PictureProps) => react.JSX.Element;
264
+ declare const Picture: ({ className, ...props }: PictureProps) => react_jsx_runtime.JSX.Element;
263
265
 
264
266
  interface PracticeCardProps {
265
267
  className?: string;
@@ -268,7 +270,7 @@ interface PracticeCardProps {
268
270
  image?: IPicture;
269
271
  }
270
272
 
271
- declare const PracticeCard: ({ className, title, cta, image }: PracticeCardProps) => react.JSX.Element;
273
+ declare const PracticeCard: ({ className, title, cta, image }: PracticeCardProps) => react_jsx_runtime.JSX.Element;
272
274
 
273
275
  interface SidebarCategory {
274
276
  label: string;
@@ -288,7 +290,7 @@ interface SidebarProps {
288
290
  onSelect: (index: number) => void;
289
291
  }
290
292
 
291
- declare const Sidebar: ({ categories, isMobile, onToggle, selectedIndex, onSelect, }: SidebarProps) => react.JSX.Element;
293
+ declare const Sidebar: ({ categories, isMobile, onToggle, selectedIndex, onSelect, }: SidebarProps) => react_jsx_runtime.JSX.Element;
292
294
 
293
295
  interface UpcomingEventCardProps {
294
296
  className?: string;
@@ -304,7 +306,7 @@ interface UpcomingEventCardProps {
304
306
  showImage?: boolean;
305
307
  }
306
308
 
307
- declare const UpcomingEventCard: ({ className, image, date, title, location, description, cta, direction, showImage, }: UpcomingEventCardProps) => react.JSX.Element;
309
+ declare const UpcomingEventCard: ({ className, image, date, title, location, description, cta, direction, showImage, }: UpcomingEventCardProps) => react_jsx_runtime.JSX.Element;
308
310
 
309
311
  type BadgeBaseProps = {
310
312
  children?: ReactNode;
@@ -382,7 +384,7 @@ interface NewsCardProps {
382
384
  }) => React.ReactNode;
383
385
  }
384
386
 
385
- declare const NewsCard: ({ className, image, date, description, tag, title, cta, direction, renderLink, }: NewsCardProps) => react.JSX.Element;
387
+ declare const NewsCard: ({ className, image, date, description, tag, title, cta, direction, renderLink, }: NewsCardProps) => react_jsx_runtime.JSX.Element;
386
388
 
387
389
  type BlogPostContentBodyProps = {
388
390
  children: ReactNode;
@@ -394,8 +396,8 @@ interface BlogPostContentProps {
394
396
  body?: ReactNode;
395
397
  }
396
398
 
397
- declare const BlogPostContent: (({ className, body, children }: BlogPostContentProps) => react.JSX.Element) & {
398
- Body: ({ children }: BlogPostContentBodyProps) => react.JSX.Element;
399
+ declare const BlogPostContent: (({ className, body, children }: BlogPostContentProps) => react_jsx_runtime.JSX.Element) & {
400
+ Body: ({ children }: BlogPostContentBodyProps) => react_jsx_runtime.JSX.Element;
399
401
  };
400
402
 
401
403
  interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
@@ -405,7 +407,7 @@ interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
405
407
  }) => ReactNode;
406
408
  }
407
409
 
408
- declare const Anchor: ({ children, isExternal, renderLink, ...props }: AnchorProps) => react.JSX.Element;
410
+ declare const Anchor: ({ children, isExternal, renderLink, ...props }: AnchorProps) => react_jsx_runtime.JSX.Element;
409
411
 
410
412
  interface ContainerProps extends HTMLAttributes<HTMLDivElement> {
411
413
  children: ReactNode;
@@ -444,9 +446,9 @@ interface CardCollectionProps {
444
446
  theme?: 'dark' | 'light';
445
447
  }
446
448
 
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;
449
+ declare const CardCollection: (({ className, variant, theme, title, subtitle, cards, ctaLabel, children, }: CardCollectionProps) => react_jsx_runtime.JSX.Element) & {
450
+ Title: ({ children }: CardCollectionTitleProps) => react_jsx_runtime.JSX.Element;
451
+ Subtitle: ({ children }: CardCollectionSubtitleProps) => react_jsx_runtime.JSX.Element;
450
452
  };
451
453
 
452
454
  type ContactModuleSubtitleProps = {
@@ -468,9 +470,9 @@ interface ContactModuleProps {
468
470
  animateBlur?: boolean;
469
471
  }
470
472
 
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;
473
+ declare const ContactModule: (({ className, children, title, subtitle, ctas, image, blurred, animateBlur, }: ContactModuleProps) => react_jsx_runtime.JSX.Element) & {
474
+ Title: ({ children }: ContactModuleTitleProps) => react_jsx_runtime.JSX.Element;
475
+ Subtitle: ({ children }: ContactModuleSubtitleProps) => react_jsx_runtime.JSX.Element;
474
476
  };
475
477
 
476
478
  interface IFooterLink {
@@ -496,7 +498,7 @@ interface FooterProps {
496
498
  supportContacts?: IFooterSupportGroup[];
497
499
  }
498
500
 
499
- declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) => react.JSX.Element;
501
+ declare const Footer: ({ className, supporters, navigationLinks, disclaimer, copyright, children, supportContacts, }: FooterProps) => react_jsx_runtime.JSX.Element;
500
502
 
501
503
  type HeroBannerSubtitleProps = {
502
504
  children: ReactNode;
@@ -522,9 +524,9 @@ interface HeroBannerProps {
522
524
  children?: ReactNode;
523
525
  }
524
526
 
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;
527
+ declare const HeroBanner: (({ className, variant, title, subtitle, backgroundImage, logo, cta, ctaLogo, brands, promoteToH1, children, }: HeroBannerProps) => react_jsx_runtime.JSX.Element) & {
528
+ Title: ({ children }: HeroBannerTitleProps) => react_jsx_runtime.JSX.Element;
529
+ Subtitle: ({ children }: HeroBannerSubtitleProps) => react_jsx_runtime.JSX.Element;
528
530
  };
529
531
 
530
532
  interface HeroBannerCarouselItem {
@@ -541,7 +543,7 @@ interface HeroBannerCarouselProps {
541
543
  navNextIcon?: string;
542
544
  }
543
545
 
544
- declare const HeroBannerCarousel: ({ className, items, navPrevIcon, navNextIcon, }: HeroBannerCarouselProps) => react.JSX.Element | null;
546
+ declare const HeroBannerCarousel: ({ className, items, navPrevIcon, navNextIcon, }: HeroBannerCarouselProps) => react_jsx_runtime.JSX.Element | null;
545
547
 
546
548
  interface InternalBrandsTabProps {
547
549
  title?: string;
@@ -564,7 +566,7 @@ interface InternalBrandsTabProps {
564
566
  }[];
565
567
  }
566
568
 
567
- declare const InternalBrandsTab: (props: InternalBrandsTabProps) => react.JSX.Element;
569
+ declare const InternalBrandsTab: (props: InternalBrandsTabProps) => react_jsx_runtime.JSX.Element;
568
570
 
569
571
  type MiniBannerGoBackProps = {
570
572
  children: ReactNode;
@@ -601,10 +603,10 @@ interface MiniBannerProps {
601
603
  children?: ReactNode;
602
604
  }
603
605
 
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;
606
+ declare const MiniBanner: (({ className, variant, pretitle, title, subtitle, logo, background, cta, children, }: MiniBannerProps) => react_jsx_runtime.JSX.Element) & {
607
+ Title: ({ children }: MiniBannerTitleProps) => react_jsx_runtime.JSX.Element;
608
+ Subtitle: ({ children }: MiniBannerSubtitleProps) => react_jsx_runtime.JSX.Element;
609
+ GoBack: ({ children }: MiniBannerGoBackProps) => react_jsx_runtime.JSX.Element;
608
610
  };
609
611
 
610
612
  type MiniSectionCtaSubtitleProps = {
@@ -625,9 +627,9 @@ interface MiniSectionCtaProps {
625
627
  children?: ReactNode;
626
628
  }
627
629
 
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;
630
+ declare const MiniSectionCta: (({ className, variant, theme, title, subtitle, cta, children, }: MiniSectionCtaProps) => react_jsx_runtime.JSX.Element) & {
631
+ Title: ({ children }: MiniSectionCtaTitleProps) => react_jsx_runtime.JSX.Element;
632
+ Subtitle: ({ children }: MiniSectionCtaSubtitleProps) => react_jsx_runtime.JSX.Element;
631
633
  };
632
634
 
633
635
  interface BaseNavItem {
@@ -656,7 +658,7 @@ interface NavigationProps {
656
658
  };
657
659
  }
658
660
 
659
- declare const Navigation: (props: NavigationProps) => react.JSX.Element;
661
+ declare const Navigation: (props: NavigationProps) => react_jsx_runtime.JSX.Element;
660
662
 
661
663
  type PracticePathCardsFooterProps = {
662
664
  children: ReactNode;
@@ -680,10 +682,10 @@ interface PracticePathCardsProps {
680
682
  cta?: ICta;
681
683
  }
682
684
 
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;
685
+ declare const PracticePathCards: (({ className, children, cards, title, subtitle, footer, cta, }: PracticePathCardsProps) => react_jsx_runtime.JSX.Element) & {
686
+ Title: ({ children }: PracticePathCardsTitleProps) => react_jsx_runtime.JSX.Element;
687
+ Subtitle: ({ children }: PracticePathCardsSubtitleProps) => react_jsx_runtime.JSX.Element;
688
+ Footer: ({ children }: PracticePathCardsFooterProps) => react_jsx_runtime.JSX.Element;
687
689
  };
688
690
 
689
691
  type Teaser5050With3TextTitleProps = {
@@ -699,8 +701,8 @@ interface Teaser5050With3TextProps {
699
701
  children?: ReactNode;
700
702
  }
701
703
 
702
- declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) => react.JSX.Element) & {
703
- Title: ({ children }: Teaser5050With3TextTitleProps) => react.JSX.Element;
704
+ declare const Teaser5050With3Text: (({ className, variant, title, cards, image, children, }: Teaser5050With3TextProps) => react_jsx_runtime.JSX.Element) & {
705
+ Title: ({ children }: Teaser5050With3TextTitleProps) => react_jsx_runtime.JSX.Element;
704
706
  };
705
707
 
706
708
  type Teaser5050WithCtaSubtitleProps = {
@@ -722,9 +724,9 @@ interface Teaser5050WithCtaProps {
722
724
  bgColor?: string;
723
725
  }
724
726
 
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;
727
+ declare const Teaser5050WithCta: (({ className, variant, title, subtitle, ctas, image, children, bgColor, }: Teaser5050WithCtaProps) => react_jsx_runtime.JSX.Element) & {
728
+ Title: ({ children }: Teaser5050WithCtaTitleProps) => react_jsx_runtime.JSX.Element;
729
+ Subtitle: ({ children }: Teaser5050WithCtaSubtitleProps) => react_jsx_runtime.JSX.Element;
728
730
  };
729
731
 
730
732
  type EventListEmptyProps = {
@@ -746,9 +748,9 @@ interface EventListProps extends PropsWithChildren {
746
748
  variant?: 'internalEventList';
747
749
  }
748
750
 
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;
751
+ declare const EventList: (({ className, title, items, cta, backgroundColor, variant, children, }: EventListProps) => react_jsx_runtime.JSX.Element) & {
752
+ Title: ({ children }: EventListTitleProps) => react_jsx_runtime.JSX.Element;
753
+ Empty: ({ children }: EventListEmptyProps) => react_jsx_runtime.JSX.Element;
752
754
  };
753
755
 
754
756
  type TextEventRichTextProps = {
@@ -768,9 +770,9 @@ interface TextEventProps {
768
770
  children?: ReactNode;
769
771
  }
770
772
 
771
- declare const TextEvent: ((props: TextEventProps) => react.JSX.Element) & {
772
- Title: ({ children }: TextEventTitleProps) => react.JSX.Element;
773
- RichText: ({ children }: TextEventRichTextProps) => react.JSX.Element;
773
+ declare const TextEvent: ((props: TextEventProps) => react_jsx_runtime.JSX.Element) & {
774
+ Title: ({ children }: TextEventTitleProps) => react_jsx_runtime.JSX.Element;
775
+ RichText: ({ children }: TextEventRichTextProps) => react_jsx_runtime.JSX.Element;
774
776
  };
775
777
 
776
778
  type TextBodyBodyProps = {
@@ -788,9 +790,9 @@ interface TextBodyProps {
788
790
  children?: ReactNode;
789
791
  }
790
792
 
791
- declare const TextBody: ((props: TextBodyProps) => react.JSX.Element) & {
792
- Title: ({ children }: TextBodyTitleProps) => react.JSX.Element;
793
- Body: ({ children }: TextBodyBodyProps) => react.JSX.Element;
793
+ declare const TextBody: ((props: TextBodyProps) => react_jsx_runtime.JSX.Element) & {
794
+ Title: ({ children }: TextBodyTitleProps) => react_jsx_runtime.JSX.Element;
795
+ Body: ({ children }: TextBodyBodyProps) => react_jsx_runtime.JSX.Element;
794
796
  };
795
797
 
796
798
  type TextCenterCtaInBottomSubtitleProps = {
@@ -809,9 +811,9 @@ interface TextCenterCtaInBottomProps {
809
811
  children?: ReactNode;
810
812
  }
811
813
 
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;
814
+ declare const TextCenterCtaInBottom: (({ className, title, subtitle, ctas, children, }: TextCenterCtaInBottomProps) => react_jsx_runtime.JSX.Element) & {
815
+ Title: ({ children }: TextCenterCtaInBottomTitleProps) => react_jsx_runtime.JSX.Element;
816
+ Subtitle: ({ children }: TextCenterCtaInBottomSubtitleProps) => react_jsx_runtime.JSX.Element;
815
817
  };
816
818
 
817
819
  interface ResourcesGridListProps {
@@ -824,7 +826,7 @@ interface ResourcesGridListProps {
824
826
  children?: ReactNode;
825
827
  }
826
828
 
827
- declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) => react.JSX.Element;
829
+ declare const ResourcesGridList: ({ className, items, categories, defaultView, defaultFilter, defaultSort, }: ResourcesGridListProps) => react_jsx_runtime.JSX.Element;
828
830
 
829
831
  type BlogCardGridTitleProps = {
830
832
  children: ReactNode;
@@ -844,8 +846,8 @@ interface BlogCardGridProps extends PropsWithChildren {
844
846
  }) => React.ReactNode;
845
847
  }
846
848
 
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;
849
+ declare const BlogCardGrid: (({ title, items, backgroundColor, cta, className, hasContainer, gridProps, gridItemProps, renderLink, children, }: BlogCardGridProps) => react_jsx_runtime.JSX.Element) & {
850
+ Title: ({ children }: BlogCardGridTitleProps) => react_jsx_runtime.JSX.Element;
849
851
  };
850
852
 
851
853
  type FeaturedNewsHighlightsTitleProps = {
@@ -865,8 +867,8 @@ interface FeaturedNewsHighlightsProps extends PropsWithChildren {
865
867
  }) => React.ReactNode;
866
868
  }
867
869
 
868
- declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) => react.JSX.Element) & {
869
- Title: ({ children }: FeaturedNewsHighlightsTitleProps) => react.JSX.Element;
870
+ declare const FeaturedNewsHighlights: (({ variant, title, items, backgroundColor, cta, className, hasContainer, renderLink, children, }: FeaturedNewsHighlightsProps) => react_jsx_runtime.JSX.Element) & {
871
+ Title: ({ children }: FeaturedNewsHighlightsTitleProps) => react_jsx_runtime.JSX.Element;
870
872
  };
871
873
 
872
874
  type NewsCardListPaginationProps = {
@@ -887,8 +889,8 @@ interface NewsCardListProps extends PropsWithChildren {
887
889
  }) => React.ReactNode;
888
890
  }
889
891
 
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;
892
+ declare const NewsCardList: (({ items, backgroundColor, className, currentPage, searchValue, onSearchChange, onSearchSubmit, searchInputProps, renderLink, children, }: NewsCardListProps) => react_jsx_runtime.JSX.Element) & {
893
+ Pagination: ({ children }: NewsCardListPaginationProps) => react_jsx_runtime.JSX.Element;
892
894
  };
893
895
 
894
896
  type BlogPostBodyProps = {
@@ -904,9 +906,9 @@ interface BlogPostProps extends PropsWithChildren, Omit<NewsCardProps, 'descript
904
906
  relatedArticles?: NewsCardProps[];
905
907
  }
906
908
 
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;
909
+ declare const BlogPost: (({ title, description: body, image, date, tag, relatedArticles, className, children, }: BlogPostProps) => react_jsx_runtime.JSX.Element) & {
910
+ Title: ({ children }: BlogPostTitleProps) => react_jsx_runtime.JSX.Element;
911
+ Body: ({ children }: BlogPostBodyProps) => react_jsx_runtime.JSX.Element;
910
912
  };
911
913
 
912
914
  type BlogSearchResultsListPaginationProps = {
@@ -930,9 +932,9 @@ interface BlogSearchResultsListProps extends PropsWithChildren {
930
932
  }) => React.ReactNode;
931
933
  }
932
934
 
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;
935
+ declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) => react_jsx_runtime.JSX.Element) & {
936
+ Search: ({ children }: BlogSearchResultsListSearchProps) => react_jsx_runtime.JSX.Element;
937
+ Pagination: ({ children, }: BlogSearchResultsListPaginationProps) => react_jsx_runtime.JSX.Element;
936
938
  };
937
939
 
938
940
  type GlobalSearchResultsListPaginationProps = {
@@ -952,9 +954,9 @@ interface GlobalSearchResultsListProps extends PropsWithChildren {
952
954
  }) => React.ReactNode;
953
955
  }
954
956
 
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;
957
+ declare const GlobalSearchResultsList: (({ items, searchResult, className, renderLink, children, }: GlobalSearchResultsListProps) => react_jsx_runtime.JSX.Element) & {
958
+ Search: ({ children }: GlobalSearchResultsListSearchProps) => react_jsx_runtime.JSX.Element;
959
+ Pagination: ({ children, }: GlobalSearchResultsListPaginationProps) => react_jsx_runtime.JSX.Element;
958
960
  };
959
961
 
960
962
  type TextCenterWithMediaTitleProps = {
@@ -973,8 +975,8 @@ interface TextCenterWithMediaProps {
973
975
  children?: ReactNode;
974
976
  }
975
977
 
976
- declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, loop, mute, hideControl, autoPlay, children, }: TextCenterWithMediaProps) => react.JSX.Element) & {
977
- Title: ({ children }: TextCenterWithMediaTitleProps) => react.JSX.Element;
978
+ declare const TextCenterWithMedia: (({ className, title, thumbnail, videoUrl, loop, mute, hideControl, autoPlay, children, }: TextCenterWithMediaProps) => react_jsx_runtime.JSX.Element) & {
979
+ Title: ({ children }: TextCenterWithMediaTitleProps) => react_jsx_runtime.JSX.Element;
978
980
  };
979
981
 
980
982
  type IntersectionObserverOptions = {
package/dist/index.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import clsx43 from 'clsx';
2
2
  import { jsx, Fragment, jsxs } from 'react/jsx-runtime';
3
- import React68, { forwardRef, useId, useRef, useState, useCallback, useMemo, useEffect, Children, isValidElement, Fragment as Fragment$1 } from 'react';
3
+ import React69, { forwardRef, useId, useRef, useState, useCallback, useMemo, useEffect, Children, isValidElement, Fragment as Fragment$1 } from 'react';
4
4
  import gsap$1, { gsap } from 'gsap';
5
5
  import { useGSAP } from '@gsap/react';
6
6
  import { ScrollTrigger } from 'gsap/ScrollTrigger';
@@ -312,6 +312,11 @@ var SvgIconPlay = (props) => /* @__PURE__ */ jsxs("svg", __spreadProps(__spreadV
312
312
  /* @__PURE__ */ jsx("path", { d: "M53.4617 90.7285L90.7305 66.9993L53.4617 43.2702V90.7285ZM67.0013 122.833C59.3707 122.833 52.1589 121.367 45.3659 118.436C38.5728 115.505 32.6405 111.503 27.569 106.432C22.4975 101.36 18.4961 95.4278 15.5648 88.6348C12.6336 81.8417 11.168 74.6299 11.168 66.9993C11.168 59.2757 12.6336 52.0174 15.5648 45.2243C18.4961 38.4313 22.4975 32.5223 27.569 27.4973C32.6405 22.4723 38.5728 18.4941 45.3659 15.5629C52.1589 12.6316 59.3707 11.166 67.0013 11.166C74.7249 11.166 81.9833 12.6316 88.7763 15.5629C95.5694 18.4941 101.478 22.4723 106.503 27.4973C111.528 32.5223 115.507 38.4313 118.438 45.2243C121.369 52.0174 122.835 59.2757 122.835 66.9993C122.835 74.6299 121.369 81.8417 118.438 88.6348C115.507 95.4278 111.528 101.36 106.503 106.432C101.478 111.503 95.5694 115.505 88.7763 118.436C81.9833 121.367 74.7249 122.833 67.0013 122.833Z", fill: "#080808" })
313
313
  ] }));
314
314
  var icon_play_default = SvgIconPlay;
315
+ var SvgIconLock = (props) => /* @__PURE__ */ jsxs("svg", __spreadProps(__spreadValues({ width: 37, height: 38, viewBox: "0 0 37 38", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, props), { children: [
316
+ /* @__PURE__ */ jsx("g", { clipPath: "url(#clip0_11156_23256)", children: /* @__PURE__ */ jsx("path", { d: "M9.24935 34.832C8.40143 34.832 7.67556 34.522 7.07174 33.9018C6.46793 33.2817 6.16602 32.5362 6.16602 31.6654V15.832C6.16602 14.9612 6.46793 14.2157 7.07174 13.5956C7.67556 12.9754 8.40143 12.6654 9.24935 12.6654H10.791V9.4987C10.791 7.30842 11.5426 5.44141 13.0457 3.89766C14.5488 2.35391 16.3667 1.58203 18.4993 1.58203C20.632 1.58203 22.4499 2.35391 23.953 3.89766C25.4561 5.44141 26.2077 7.30842 26.2077 9.4987V12.6654H27.7493C28.5973 12.6654 29.3231 12.9754 29.927 13.5956C30.5308 14.2157 30.8327 14.9612 30.8327 15.832V31.6654C30.8327 32.5362 30.5308 33.2817 29.927 33.9018C29.3231 34.522 28.5973 34.832 27.7493 34.832H9.24935ZM9.24935 31.6654H27.7493V15.832H9.24935V31.6654ZM20.677 25.9852C21.2808 25.365 21.5827 24.6195 21.5827 23.7487C21.5827 22.8779 21.2808 22.1324 20.677 21.5122C20.0731 20.8921 19.3473 20.582 18.4993 20.582C17.6514 20.582 16.9256 20.8921 16.3217 21.5122C15.7179 22.1324 15.416 22.8779 15.416 23.7487C15.416 24.6195 15.7179 25.365 16.3217 25.9852C16.9256 26.6053 17.6514 26.9154 18.4993 26.9154C19.3473 26.9154 20.0731 26.6053 20.677 25.9852ZM13.8743 12.6654H23.1243V9.4987C23.1243 8.17925 22.6747 7.05773 21.7754 6.13411C20.8761 5.2105 19.7841 4.7487 18.4993 4.7487C17.2146 4.7487 16.1226 5.2105 15.2233 6.13411C14.324 7.05773 13.8743 8.17925 13.8743 9.4987V12.6654Z", fill: "#DBDBDB" }) }),
317
+ /* @__PURE__ */ jsx("defs", { children: /* @__PURE__ */ jsx("clipPath", { id: "clip0_11156_23256", children: /* @__PURE__ */ jsx("rect", { width: 37, height: 38, fill: "white" }) }) })
318
+ ] }));
319
+ var icon_lock_default = SvgIconLock;
315
320
  var svgs = {
316
321
  /* Card */
317
322
  ads: icon_ads_default,
@@ -336,6 +341,7 @@ var svgs = {
336
341
  externalLink: icon_external_link_default,
337
342
  newIcon: icon_new_default,
338
343
  play: icon_play_default,
344
+ lock: icon_lock_default,
339
345
  /* Button */
340
346
  blankCheckbox: icon_blank_checkbox_default,
341
347
  blankCheckboxWhite: icon_blank_checkbox_white_default,
@@ -381,7 +387,7 @@ var svgs = {
381
387
  xBlack: icon_x_black_default,
382
388
  xWhite: icon_x_white_default
383
389
  };
384
- var Icon = React68.memo(
390
+ var Icon = React69.memo(
385
391
  (_a) => {
386
392
  var _b = _a, { type, size } = _b, props = __objRest(_b, ["type", "size"]);
387
393
  if (type) {
@@ -1304,6 +1310,7 @@ var ResourceCardItem_module_default = {
1304
1310
  cardLink: "ResourceCardItem_module_cardLink",
1305
1311
  "global-search": "ResourceCardItem_module_global-search",
1306
1312
  cardGrid: "ResourceCardItem_module_cardGrid",
1313
+ restricted: "ResourceCardItem_module_restricted",
1307
1314
  cardBody: "ResourceCardItem_module_cardBody",
1308
1315
  cardIconTitle: "ResourceCardItem_module_cardIconTitle",
1309
1316
  cardTitle: "ResourceCardItem_module_cardTitle",
@@ -1322,12 +1329,13 @@ var ResourceCardItem_module_default = {
1322
1329
  var ResourceCardItem = ({ item, view, variant, renderLink }) => {
1323
1330
  const hasHref = Boolean(item.href);
1324
1331
  const isGlobalSearchVariant = variant === "global-search";
1332
+ const isRestricted = (item == null ? void 0 : item.type) === "restricted";
1325
1333
  const linkProps = hasHref ? {
1326
1334
  href: item.href,
1327
1335
  target: "_blank",
1328
1336
  rel: "noopener noreferrer",
1329
- className: clsx43("news-card-link", ResourceCardItem_module_default["news-card-link"]),
1330
- "aria-label": item.title
1337
+ "aria-label": item.title,
1338
+ "aria-disabled": isRestricted
1331
1339
  } : null;
1332
1340
  const cardLink = linkProps && isGlobalSearchVariant ? renderLink ? renderLink(__spreadProps(__spreadValues({}, linkProps), {
1333
1341
  className: clsx43(ResourceCardItem_module_default.cardLink, isGlobalSearchVariant && ResourceCardItem_module_default[variant]),
@@ -1338,24 +1346,51 @@ var ResourceCardItem = ({ item, view, variant, renderLink }) => {
1338
1346
  className: clsx43(ResourceCardItem_module_default.cardLink, isGlobalSearchVariant && ResourceCardItem_module_default[variant])
1339
1347
  })
1340
1348
  ) : null;
1341
- const linkWrapper = ({ children }) => /* @__PURE__ */ jsx("a", __spreadProps(__spreadValues({}, linkProps), { tabIndex: isGlobalSearchVariant ? -1 : 0, children }));
1349
+ const linkWrapper = ({ children }) => /* @__PURE__ */ jsx("a", __spreadProps(__spreadValues({}, linkProps), { tabIndex: isGlobalSearchVariant ? -1 : 0, className: clsx43(ResourceCardItem_module_default.cardLink), children }));
1350
+ function getIcon() {
1351
+ switch (item.type) {
1352
+ case "pdf":
1353
+ return "pdf";
1354
+ case "externalLink":
1355
+ return "externalLink";
1356
+ case "restricted":
1357
+ return "lock";
1358
+ default:
1359
+ return "externalLink";
1360
+ }
1361
+ }
1342
1362
  if (view === "grid") {
1343
- return /* @__PURE__ */ jsxs("article", { className: clsx43(ResourceCardItem_module_default.cardGrid, isGlobalSearchVariant && ResourceCardItem_module_default[variant]), children: [
1344
- cardLink,
1345
- /* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardBody, children: [
1346
- /* @__PURE__ */ jsxs("div", { children: [
1347
- /* @__PURE__ */ jsx(ConditionalWrapper, { condition: hasHref, wrapper: linkWrapper, children: /* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardIconTitle, children: [
1348
- /* @__PURE__ */ jsx(Icon, { type: item.type === "pdf" ? "pdf" : "externalLink", size: 33 }),
1349
- /* @__PURE__ */ jsx("span", { className: ResourceCardItem_module_default.cardTitle, children: item.title })
1350
- ] }) }),
1351
- item.bodyText && /* @__PURE__ */ jsx("div", { className: ResourceCardItem_module_default.cardBodyTextGrid, children: /* @__PURE__ */ jsx("span", { className: ResourceCardItem_module_default.cardBodyText, children: item.bodyText }) })
1352
- ] }),
1353
- /* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardMeta, children: [
1354
- /* @__PURE__ */ jsx("span", { className: ResourceCardItem_module_default.cardDate, children: item.date }),
1355
- item.hasNotification && /* @__PURE__ */ jsx("span", { className: ResourceCardItem_module_default.notificationDot, "aria-label": "New" })
1356
- ] })
1357
- ] })
1358
- ] });
1363
+ return /* @__PURE__ */ jsxs(
1364
+ "article",
1365
+ {
1366
+ className: clsx43(
1367
+ ResourceCardItem_module_default.cardGrid,
1368
+ isGlobalSearchVariant && ResourceCardItem_module_default[variant],
1369
+ isGlobalSearchVariant && isRestricted ? ResourceCardItem_module_default["restricted"] : null
1370
+ ),
1371
+ "aria-labelledby": `title-${item.id}`,
1372
+ "aria-describedby": isRestricted ? `restricted-${item.id}` : void 0,
1373
+ children: [
1374
+ cardLink,
1375
+ /* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardBody, children: [
1376
+ /* @__PURE__ */ jsxs("div", { children: [
1377
+ /* @__PURE__ */ jsx(ConditionalWrapper, { condition: hasHref, wrapper: linkWrapper, children: /* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardIconTitle, children: [
1378
+ /* @__PURE__ */ jsx(Icon, { type: getIcon(), size: 33 }),
1379
+ /* @__PURE__ */ jsx("span", { className: ResourceCardItem_module_default.cardTitle, id: `title-${item.id}`, children: item.title })
1380
+ ] }) }),
1381
+ item.bodyText && /* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardBodyTextGrid, children: [
1382
+ /* @__PURE__ */ jsx("span", { className: ResourceCardItem_module_default.cardBodyText, children: item.bodyText }),
1383
+ isRestricted && /* @__PURE__ */ jsx("p", { id: `restricted-${item.id}`, className: "sr-only", children: "This resource is restricted. You do not have permission to access it." })
1384
+ ] })
1385
+ ] }),
1386
+ /* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardMeta, children: [
1387
+ /* @__PURE__ */ jsx("span", { className: ResourceCardItem_module_default.cardDate, children: item.date }),
1388
+ item.hasNotification && /* @__PURE__ */ jsx("span", { className: ResourceCardItem_module_default.notificationDot, "aria-label": "New" })
1389
+ ] })
1390
+ ] })
1391
+ ]
1392
+ }
1393
+ );
1359
1394
  }
1360
1395
  return /* @__PURE__ */ jsxs("article", { className: ResourceCardItem_module_default.cardList, children: [
1361
1396
  /* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardListLeft, children: [
@@ -2724,7 +2759,7 @@ var MiniBanner = ({
2724
2759
  (logo == null ? void 0 : logo.src) && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: MiniBanner_module_default.logo }, logo)),
2725
2760
  pretitleNode && /* @__PURE__ */ jsx("div", { className: clsx43(MiniBanner_module_default.pretitle, "small"), children: pretitleNode }),
2726
2761
  /* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.headingWrapper, children: [
2727
- goBackNode ? React68.cloneElement(goBackNode, {
2762
+ goBackNode ? React69.cloneElement(goBackNode, {
2728
2763
  className: clsx43("back-button", MiniBanner_module_default["back-button"])
2729
2764
  }) : null,
2730
2765
  titleNode && /* @__PURE__ */ jsx("div", { className: clsx43(MiniBanner_module_default.title, isMiniBannerTextLeft ? "h1" : "h4"), children: titleNode })
@@ -3606,7 +3641,7 @@ var EventList = ({
3606
3641
  }
3607
3642
  )
3608
3643
  ] }),
3609
- !isNotEmpty && emptyNode ? React68.cloneElement(emptyNode, {
3644
+ !isNotEmpty && emptyNode ? React69.cloneElement(emptyNode, {
3610
3645
  className: clsx43("empty-search-result", EventList_module_default["empty-search-result"])
3611
3646
  }) : null
3612
3647
  ] })
@@ -4262,7 +4297,7 @@ var NewsCardList = ({
4262
4297
  /* @__PURE__ */ jsx(BlogCardGrid2, { items: cards, hasContainer: false, renderLink })
4263
4298
  ] })
4264
4299
  ] }),
4265
- paginationNode ? React68.cloneElement(paginationNode, {
4300
+ paginationNode ? React69.cloneElement(paginationNode, {
4266
4301
  className: clsx43("pagination", NewsCardList_module_default["pagination"])
4267
4302
  }) : null
4268
4303
  ] })
@@ -4378,7 +4413,7 @@ var BlogSearchResultsList = ({
4378
4413
  const searchNode = (_a = slots.search) != null ? _a : searchResult;
4379
4414
  const paginationNode = slots.pagination;
4380
4415
  return /* @__PURE__ */ jsx("div", { className: clsx43("search-results-list", BlogSearchResultsList_module_default["search-results-list"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx43("container", BlogSearchResultsList_module_default["container"]), children: [
4381
- typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className: clsx43("search-result", BlogSearchResultsList_module_default["search-result"]), children: searchNode }) : React68.isValidElement(searchNode) ? React68.cloneElement(searchNode, {
4416
+ typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className: clsx43("search-result", BlogSearchResultsList_module_default["search-result"]), children: searchNode }) : React69.isValidElement(searchNode) ? React69.cloneElement(searchNode, {
4382
4417
  className: clsx43("search-result", BlogSearchResultsList_module_default["search-result"])
4383
4418
  }) : null,
4384
4419
  /* @__PURE__ */ jsxs("div", { className: clsx43("wrapper", BlogSearchResultsList_module_default["wrapper"]), children: [
@@ -4406,7 +4441,7 @@ var BlogSearchResultsList = ({
4406
4441
  ),
4407
4442
  /* @__PURE__ */ jsx(BlogCardGrid2, { items, hasContainer: false, renderLink })
4408
4443
  ] }),
4409
- paginationNode ? React68.cloneElement(paginationNode, {
4444
+ paginationNode ? React69.cloneElement(paginationNode, {
4410
4445
  className: clsx43("pagination", BlogSearchResultsList_module_default["pagination"])
4411
4446
  }) : null
4412
4447
  ] }) });
@@ -4449,22 +4484,30 @@ var GlobalSearchResultsList = ({
4449
4484
  const searchNode = (_a = slots.search) != null ? _a : searchResult;
4450
4485
  const paginationNode = slots.pagination;
4451
4486
  return /* @__PURE__ */ jsx("div", { className: clsx43("search-results-list", GlobalSearchResultsList_module_default["search-results-list"], className), children: /* @__PURE__ */ jsxs(Container, { className: clsx43("container", GlobalSearchResultsList_module_default["container"]), children: [
4452
- typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className: clsx43("search-result", GlobalSearchResultsList_module_default["search-result"]), children: searchNode }) : React68.isValidElement(searchNode) ? React68.cloneElement(searchNode, {
4487
+ typeof searchNode === "string" ? /* @__PURE__ */ jsx("span", { className: clsx43("search-result", GlobalSearchResultsList_module_default["search-result"]), children: searchNode }) : React69.isValidElement(searchNode) ? React69.cloneElement(searchNode, {
4453
4488
  className: clsx43("search-result", GlobalSearchResultsList_module_default["search-result"])
4454
4489
  }) : null,
4455
4490
  /* @__PURE__ */ jsx("div", { className: clsx43("wrapper", GlobalSearchResultsList_module_default["wrapper"]), children: /* @__PURE__ */ jsx(Grid, { role: "list", columns: 3, children: items.map((item, index) => {
4456
4491
  var _a2;
4457
- return /* @__PURE__ */ jsx(GridItem, { colSpan: { md: 3 }, role: "listitem", children: /* @__PURE__ */ jsx(
4458
- ResourceCardItem,
4492
+ return /* @__PURE__ */ jsx(
4493
+ GridItem,
4459
4494
  {
4460
- item,
4461
- view: "grid",
4462
- variant: "global-search",
4463
- renderLink
4464
- }
4465
- ) }, (_a2 = item.title) != null ? _a2 : index);
4495
+ colSpan: { md: 3 },
4496
+ role: "listitem",
4497
+ children: /* @__PURE__ */ jsx(
4498
+ ResourceCardItem,
4499
+ {
4500
+ item,
4501
+ view: "grid",
4502
+ variant: "global-search",
4503
+ renderLink
4504
+ }
4505
+ )
4506
+ },
4507
+ item.title ? `${item.title}-${(_a2 = item == null ? void 0 : item.id) != null ? _a2 : index}` : index
4508
+ );
4466
4509
  }) }) }),
4467
- paginationNode ? React68.cloneElement(paginationNode, {
4510
+ paginationNode ? React69.cloneElement(paginationNode, {
4468
4511
  className: clsx43("pagination", GlobalSearchResultsList_module_default["pagination"])
4469
4512
  }) : null
4470
4513
  ] }) });