@digital-b2c/coreui-kit 0.26.0 → 0.27.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +21 -21
- package/README.md +52 -52
- package/dist/index.cjs +750 -399
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +492 -2
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +49 -4
- package/dist/index.d.ts +49 -4
- package/dist/index.mjs +645 -297
- package/dist/index.mjs.map +1 -1
- package/dist/types/global.d.ts +25 -25
- package/package.json +101 -101
package/dist/index.d.cts
CHANGED
|
@@ -230,9 +230,11 @@ type InfoCardTitleProps = {
|
|
|
230
230
|
children: ReactNode;
|
|
231
231
|
};
|
|
232
232
|
|
|
233
|
+
declare const Picture: ({ className, ...props }: PictureProps) => react.JSX.Element;
|
|
234
|
+
|
|
233
235
|
interface InfoCardProps {
|
|
234
236
|
className?: string;
|
|
235
|
-
icon?: IconType;
|
|
237
|
+
icon?: IconType | PictureProps;
|
|
236
238
|
badge?: string;
|
|
237
239
|
title?: ReactNode;
|
|
238
240
|
subtitle?: ReactNode;
|
|
@@ -282,8 +284,6 @@ interface PaginationProps {
|
|
|
282
284
|
|
|
283
285
|
declare const Pagination: ({ className, totalPages, currentPage, loop, hasNumber, disableArrows, onPageChange, showEllipsis, boundaryCount, siblingCount, hidePagesBorder, renderLink, }: PaginationProps) => react.JSX.Element;
|
|
284
286
|
|
|
285
|
-
declare const Picture: ({ className, ...props }: PictureProps) => react.JSX.Element;
|
|
286
|
-
|
|
287
287
|
interface PracticeCardProps {
|
|
288
288
|
className?: string;
|
|
289
289
|
title?: string;
|
|
@@ -553,6 +553,32 @@ interface BrandCardProps {
|
|
|
553
553
|
|
|
554
554
|
declare const BrandCard: ({ theme, title, subtitle, image, animationSettings, className, }: BrandCardProps) => react.JSX.Element;
|
|
555
555
|
|
|
556
|
+
interface SelectOption {
|
|
557
|
+
label: string;
|
|
558
|
+
value?: string;
|
|
559
|
+
}
|
|
560
|
+
interface SelectProps {
|
|
561
|
+
options: SelectOption[];
|
|
562
|
+
value?: string;
|
|
563
|
+
onChange?: (value?: string) => void;
|
|
564
|
+
placeholder?: string;
|
|
565
|
+
disabled?: boolean;
|
|
566
|
+
className?: string;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
declare const Select: ({ options, value, onChange, placeholder, disabled, className, }: SelectProps) => react__default.JSX.Element;
|
|
570
|
+
|
|
571
|
+
interface IconTeamCardProps$1 {
|
|
572
|
+
id?: string;
|
|
573
|
+
className?: string;
|
|
574
|
+
photo?: IPicture;
|
|
575
|
+
name: string;
|
|
576
|
+
contact: ReactNode;
|
|
577
|
+
cta?: ICtaLogo;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
declare const IconTeamCard: ({ className, name, contact, cta, photo }: IconTeamCardProps$1) => react.JSX.Element;
|
|
581
|
+
|
|
556
582
|
type CardCarouselFootnoteProps = {
|
|
557
583
|
children: ReactNode;
|
|
558
584
|
};
|
|
@@ -1361,6 +1387,25 @@ interface FaqProps {
|
|
|
1361
1387
|
|
|
1362
1388
|
declare const Faq: (props: FaqProps) => react.JSX.Element;
|
|
1363
1389
|
|
|
1390
|
+
type IconTeamCardProps = {
|
|
1391
|
+
children: ReactNode;
|
|
1392
|
+
};
|
|
1393
|
+
|
|
1394
|
+
type IconTeamSelectProps = {
|
|
1395
|
+
children: ReactNode;
|
|
1396
|
+
};
|
|
1397
|
+
|
|
1398
|
+
interface IconTeamProps extends PropsWithChildren {
|
|
1399
|
+
className?: string;
|
|
1400
|
+
title: string;
|
|
1401
|
+
subtitle?: string;
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
declare const IconTeam: (({ className, title, subtitle, children }: IconTeamProps) => react.JSX.Element) & {
|
|
1405
|
+
Select: ({ children }: IconTeamSelectProps) => react.JSX.Element;
|
|
1406
|
+
Card: ({ children }: IconTeamCardProps) => react.JSX.Element;
|
|
1407
|
+
};
|
|
1408
|
+
|
|
1364
1409
|
/** Tracks the current browser path, updating on back/forward navigation. */
|
|
1365
1410
|
declare const useActivePath: () => string;
|
|
1366
1411
|
|
|
@@ -1389,4 +1434,4 @@ type SlotMap = Record<string, SlotComponent>;
|
|
|
1389
1434
|
*/
|
|
1390
1435
|
declare function resolveCompoundSlots(children: ReactNode, slots: SlotMap): Record<string, ReactNode>;
|
|
1391
1436
|
|
|
1392
|
-
export { Anchor, type AnchorProps, Badge, type BadgeProps, BlogCardGrid, type BlogCardGridProps, BlogPost, BlogPostContent, type BlogPostContentProps, type BlogPostProps, BlogSearchResultsList, type BlogSearchResultsListProps, BrandCard, type BrandCardProps, BrandsStrip, type BrandsStripProps, BrandsTab, type BrandsTabProps, Button, type ButtonProps, Card, CardCarousel, type CardCarouselItem, type CardCarouselProps, CardCollection, type CardCollectionProps, type CardProps, ColTextMenu, type ColTextMenuProps, ConditionalWrapper, type ConditionalWrapperProps, ContactModule, type ContactModuleProps, Container, type ContainerProps, CountingCard, type CountingCardProps, EventList, type EventListProps, Faq, type FaqProps, FeaturedNewsHighlights, type FeaturedNewsHighlightsProps, FilterBar, type FilterBarProps, type FilterOption, Footer, type FooterProps, GlobalSearchResultsList, type GlobalSearchResultsListProps, type GridItemProps, type GridProps, HeroBanner, HeroBannerCarousel, type HeroBannerCarouselProps, type HeroBannerProps, type IColTextMenuItem, type ICta, type ICtaHoverLogo, type ICtaIcon, type ICtaLogo, type IFooterSupportGroup, type IPicture, type ITwoColTextMenuSection, Icon, type IconType, InfoCard, type InfoCardProps, Input, type InputProps, InternalBrandsTab, type InternalBrandsTabProps, type UserMenuItem as InternalNavMenuItem, Loader, type LoaderProps, LocationsBrandCards, type LocationsBrandCardsProps, Media5050Left, type Media5050LeftProps, MiniBanner, type MiniBannerProps, MiniSectionCta, type MiniSectionCtaProps, Modal, type ModalProps, type NavItem, Navigation, type NavigationBrandBar, type NavigationProps, type UserMenuUser as NavigationUser, NewsCard, NewsCardList, type NewsCardListProps, type NewsCardProps, PageLoader, type PageLoaderProps, Pagination, type PaginationProps, Picture, type PictureProps, PodcastGridCards, type PodcastGridCardsProps, PracticeCard, type PracticeCardProps, PracticePathCards, type PracticePathCardsProps, QuoteSectionBlock, type QuoteSectionBlockProps, ResourceCardItem, type ResourceCardItemProps, type ResourceItem, type ResourceItemType, type ResourceView, ResourcesGridList, type ResourcesGridListProps, Search, type SearchProps, Sidebar, type SidebarCategory, type SidebarProps, type SortOption, type TButtonVariant, Teaser5050With3Text, type Teaser5050With3TextProps, Teaser5050WithCta, type Teaser5050WithCtaProps, Text, TextBody, type TextBodyProps, TextCenterCtaInBottom, type TextCenterCtaInBottomProps, TextCenterWithMedia, type TextCenterWithMediaProps, TextEvent, type TextEventProps, TextFootnote, type TextFootnoteProps, type TextProps, TimelineCards, type TimelineCardsProps, TwoColTextMenu, type TwoColTextMenuProps, UpcomingEventCard, type UpcomingEventCardProps, UserMenu, type UserMenuItem, type UserMenuProps, type UserMenuUser, resolveCompoundSlots, svgs, useActivePath, useIntersectionObserver, useIsAtTop };
|
|
1437
|
+
export { Anchor, type AnchorProps, Badge, type BadgeProps, BlogCardGrid, type BlogCardGridProps, BlogPost, BlogPostContent, type BlogPostContentProps, type BlogPostProps, BlogSearchResultsList, type BlogSearchResultsListProps, BrandCard, type BrandCardProps, BrandsStrip, type BrandsStripProps, BrandsTab, type BrandsTabProps, Button, type ButtonProps, Card, CardCarousel, type CardCarouselItem, type CardCarouselProps, CardCollection, type CardCollectionProps, type CardProps, ColTextMenu, type ColTextMenuProps, ConditionalWrapper, type ConditionalWrapperProps, ContactModule, type ContactModuleProps, Container, type ContainerProps, CountingCard, type CountingCardProps, EventList, type EventListProps, Faq, type FaqProps, FeaturedNewsHighlights, type FeaturedNewsHighlightsProps, FilterBar, type FilterBarProps, type FilterOption, Footer, type FooterProps, GlobalSearchResultsList, type GlobalSearchResultsListProps, type GridItemProps, type GridProps, HeroBanner, HeroBannerCarousel, type HeroBannerCarouselProps, type HeroBannerProps, type IColTextMenuItem, type ICta, type ICtaHoverLogo, type ICtaIcon, type ICtaLogo, type IFooterSupportGroup, type IPicture, type ITwoColTextMenuSection, Icon, IconTeam, IconTeamCard, type IconTeamCardProps$1 as IconTeamCardProps, type IconTeamProps, type IconType, InfoCard, type InfoCardProps, Input, type InputProps, InternalBrandsTab, type InternalBrandsTabProps, type UserMenuItem as InternalNavMenuItem, Loader, type LoaderProps, LocationsBrandCards, type LocationsBrandCardsProps, Media5050Left, type Media5050LeftProps, MiniBanner, type MiniBannerProps, MiniSectionCta, type MiniSectionCtaProps, Modal, type ModalProps, type NavItem, Navigation, type NavigationBrandBar, type NavigationProps, type UserMenuUser as NavigationUser, NewsCard, NewsCardList, type NewsCardListProps, type NewsCardProps, PageLoader, type PageLoaderProps, Pagination, type PaginationProps, Picture, type PictureProps, PodcastGridCards, type PodcastGridCardsProps, PracticeCard, type PracticeCardProps, PracticePathCards, type PracticePathCardsProps, QuoteSectionBlock, type QuoteSectionBlockProps, ResourceCardItem, type ResourceCardItemProps, type ResourceItem, type ResourceItemType, type ResourceView, ResourcesGridList, type ResourcesGridListProps, Search, type SearchProps, Select, type SelectProps, Sidebar, type SidebarCategory, type SidebarProps, type SortOption, type TButtonVariant, Teaser5050With3Text, type Teaser5050With3TextProps, Teaser5050WithCta, type Teaser5050WithCtaProps, Text, TextBody, type TextBodyProps, TextCenterCtaInBottom, type TextCenterCtaInBottomProps, TextCenterWithMedia, type TextCenterWithMediaProps, TextEvent, type TextEventProps, TextFootnote, type TextFootnoteProps, type TextProps, TimelineCards, type TimelineCardsProps, TwoColTextMenu, type TwoColTextMenuProps, UpcomingEventCard, type UpcomingEventCardProps, UserMenu, type UserMenuItem, type UserMenuProps, type UserMenuUser, resolveCompoundSlots, svgs, useActivePath, useIntersectionObserver, useIsAtTop };
|
package/dist/index.d.ts
CHANGED
|
@@ -230,9 +230,11 @@ type InfoCardTitleProps = {
|
|
|
230
230
|
children: ReactNode;
|
|
231
231
|
};
|
|
232
232
|
|
|
233
|
+
declare const Picture: ({ className, ...props }: PictureProps) => react.JSX.Element;
|
|
234
|
+
|
|
233
235
|
interface InfoCardProps {
|
|
234
236
|
className?: string;
|
|
235
|
-
icon?: IconType;
|
|
237
|
+
icon?: IconType | PictureProps;
|
|
236
238
|
badge?: string;
|
|
237
239
|
title?: ReactNode;
|
|
238
240
|
subtitle?: ReactNode;
|
|
@@ -282,8 +284,6 @@ interface PaginationProps {
|
|
|
282
284
|
|
|
283
285
|
declare const Pagination: ({ className, totalPages, currentPage, loop, hasNumber, disableArrows, onPageChange, showEllipsis, boundaryCount, siblingCount, hidePagesBorder, renderLink, }: PaginationProps) => react.JSX.Element;
|
|
284
286
|
|
|
285
|
-
declare const Picture: ({ className, ...props }: PictureProps) => react.JSX.Element;
|
|
286
|
-
|
|
287
287
|
interface PracticeCardProps {
|
|
288
288
|
className?: string;
|
|
289
289
|
title?: string;
|
|
@@ -553,6 +553,32 @@ interface BrandCardProps {
|
|
|
553
553
|
|
|
554
554
|
declare const BrandCard: ({ theme, title, subtitle, image, animationSettings, className, }: BrandCardProps) => react.JSX.Element;
|
|
555
555
|
|
|
556
|
+
interface SelectOption {
|
|
557
|
+
label: string;
|
|
558
|
+
value?: string;
|
|
559
|
+
}
|
|
560
|
+
interface SelectProps {
|
|
561
|
+
options: SelectOption[];
|
|
562
|
+
value?: string;
|
|
563
|
+
onChange?: (value?: string) => void;
|
|
564
|
+
placeholder?: string;
|
|
565
|
+
disabled?: boolean;
|
|
566
|
+
className?: string;
|
|
567
|
+
}
|
|
568
|
+
|
|
569
|
+
declare const Select: ({ options, value, onChange, placeholder, disabled, className, }: SelectProps) => react__default.JSX.Element;
|
|
570
|
+
|
|
571
|
+
interface IconTeamCardProps$1 {
|
|
572
|
+
id?: string;
|
|
573
|
+
className?: string;
|
|
574
|
+
photo?: IPicture;
|
|
575
|
+
name: string;
|
|
576
|
+
contact: ReactNode;
|
|
577
|
+
cta?: ICtaLogo;
|
|
578
|
+
}
|
|
579
|
+
|
|
580
|
+
declare const IconTeamCard: ({ className, name, contact, cta, photo }: IconTeamCardProps$1) => react.JSX.Element;
|
|
581
|
+
|
|
556
582
|
type CardCarouselFootnoteProps = {
|
|
557
583
|
children: ReactNode;
|
|
558
584
|
};
|
|
@@ -1361,6 +1387,25 @@ interface FaqProps {
|
|
|
1361
1387
|
|
|
1362
1388
|
declare const Faq: (props: FaqProps) => react.JSX.Element;
|
|
1363
1389
|
|
|
1390
|
+
type IconTeamCardProps = {
|
|
1391
|
+
children: ReactNode;
|
|
1392
|
+
};
|
|
1393
|
+
|
|
1394
|
+
type IconTeamSelectProps = {
|
|
1395
|
+
children: ReactNode;
|
|
1396
|
+
};
|
|
1397
|
+
|
|
1398
|
+
interface IconTeamProps extends PropsWithChildren {
|
|
1399
|
+
className?: string;
|
|
1400
|
+
title: string;
|
|
1401
|
+
subtitle?: string;
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1404
|
+
declare const IconTeam: (({ className, title, subtitle, children }: IconTeamProps) => react.JSX.Element) & {
|
|
1405
|
+
Select: ({ children }: IconTeamSelectProps) => react.JSX.Element;
|
|
1406
|
+
Card: ({ children }: IconTeamCardProps) => react.JSX.Element;
|
|
1407
|
+
};
|
|
1408
|
+
|
|
1364
1409
|
/** Tracks the current browser path, updating on back/forward navigation. */
|
|
1365
1410
|
declare const useActivePath: () => string;
|
|
1366
1411
|
|
|
@@ -1389,4 +1434,4 @@ type SlotMap = Record<string, SlotComponent>;
|
|
|
1389
1434
|
*/
|
|
1390
1435
|
declare function resolveCompoundSlots(children: ReactNode, slots: SlotMap): Record<string, ReactNode>;
|
|
1391
1436
|
|
|
1392
|
-
export { Anchor, type AnchorProps, Badge, type BadgeProps, BlogCardGrid, type BlogCardGridProps, BlogPost, BlogPostContent, type BlogPostContentProps, type BlogPostProps, BlogSearchResultsList, type BlogSearchResultsListProps, BrandCard, type BrandCardProps, BrandsStrip, type BrandsStripProps, BrandsTab, type BrandsTabProps, Button, type ButtonProps, Card, CardCarousel, type CardCarouselItem, type CardCarouselProps, CardCollection, type CardCollectionProps, type CardProps, ColTextMenu, type ColTextMenuProps, ConditionalWrapper, type ConditionalWrapperProps, ContactModule, type ContactModuleProps, Container, type ContainerProps, CountingCard, type CountingCardProps, EventList, type EventListProps, Faq, type FaqProps, FeaturedNewsHighlights, type FeaturedNewsHighlightsProps, FilterBar, type FilterBarProps, type FilterOption, Footer, type FooterProps, GlobalSearchResultsList, type GlobalSearchResultsListProps, type GridItemProps, type GridProps, HeroBanner, HeroBannerCarousel, type HeroBannerCarouselProps, type HeroBannerProps, type IColTextMenuItem, type ICta, type ICtaHoverLogo, type ICtaIcon, type ICtaLogo, type IFooterSupportGroup, type IPicture, type ITwoColTextMenuSection, Icon, type IconType, InfoCard, type InfoCardProps, Input, type InputProps, InternalBrandsTab, type InternalBrandsTabProps, type UserMenuItem as InternalNavMenuItem, Loader, type LoaderProps, LocationsBrandCards, type LocationsBrandCardsProps, Media5050Left, type Media5050LeftProps, MiniBanner, type MiniBannerProps, MiniSectionCta, type MiniSectionCtaProps, Modal, type ModalProps, type NavItem, Navigation, type NavigationBrandBar, type NavigationProps, type UserMenuUser as NavigationUser, NewsCard, NewsCardList, type NewsCardListProps, type NewsCardProps, PageLoader, type PageLoaderProps, Pagination, type PaginationProps, Picture, type PictureProps, PodcastGridCards, type PodcastGridCardsProps, PracticeCard, type PracticeCardProps, PracticePathCards, type PracticePathCardsProps, QuoteSectionBlock, type QuoteSectionBlockProps, ResourceCardItem, type ResourceCardItemProps, type ResourceItem, type ResourceItemType, type ResourceView, ResourcesGridList, type ResourcesGridListProps, Search, type SearchProps, Sidebar, type SidebarCategory, type SidebarProps, type SortOption, type TButtonVariant, Teaser5050With3Text, type Teaser5050With3TextProps, Teaser5050WithCta, type Teaser5050WithCtaProps, Text, TextBody, type TextBodyProps, TextCenterCtaInBottom, type TextCenterCtaInBottomProps, TextCenterWithMedia, type TextCenterWithMediaProps, TextEvent, type TextEventProps, TextFootnote, type TextFootnoteProps, type TextProps, TimelineCards, type TimelineCardsProps, TwoColTextMenu, type TwoColTextMenuProps, UpcomingEventCard, type UpcomingEventCardProps, UserMenu, type UserMenuItem, type UserMenuProps, type UserMenuUser, resolveCompoundSlots, svgs, useActivePath, useIntersectionObserver, useIsAtTop };
|
|
1437
|
+
export { Anchor, type AnchorProps, Badge, type BadgeProps, BlogCardGrid, type BlogCardGridProps, BlogPost, BlogPostContent, type BlogPostContentProps, type BlogPostProps, BlogSearchResultsList, type BlogSearchResultsListProps, BrandCard, type BrandCardProps, BrandsStrip, type BrandsStripProps, BrandsTab, type BrandsTabProps, Button, type ButtonProps, Card, CardCarousel, type CardCarouselItem, type CardCarouselProps, CardCollection, type CardCollectionProps, type CardProps, ColTextMenu, type ColTextMenuProps, ConditionalWrapper, type ConditionalWrapperProps, ContactModule, type ContactModuleProps, Container, type ContainerProps, CountingCard, type CountingCardProps, EventList, type EventListProps, Faq, type FaqProps, FeaturedNewsHighlights, type FeaturedNewsHighlightsProps, FilterBar, type FilterBarProps, type FilterOption, Footer, type FooterProps, GlobalSearchResultsList, type GlobalSearchResultsListProps, type GridItemProps, type GridProps, HeroBanner, HeroBannerCarousel, type HeroBannerCarouselProps, type HeroBannerProps, type IColTextMenuItem, type ICta, type ICtaHoverLogo, type ICtaIcon, type ICtaLogo, type IFooterSupportGroup, type IPicture, type ITwoColTextMenuSection, Icon, IconTeam, IconTeamCard, type IconTeamCardProps$1 as IconTeamCardProps, type IconTeamProps, type IconType, InfoCard, type InfoCardProps, Input, type InputProps, InternalBrandsTab, type InternalBrandsTabProps, type UserMenuItem as InternalNavMenuItem, Loader, type LoaderProps, LocationsBrandCards, type LocationsBrandCardsProps, Media5050Left, type Media5050LeftProps, MiniBanner, type MiniBannerProps, MiniSectionCta, type MiniSectionCtaProps, Modal, type ModalProps, type NavItem, Navigation, type NavigationBrandBar, type NavigationProps, type UserMenuUser as NavigationUser, NewsCard, NewsCardList, type NewsCardListProps, type NewsCardProps, PageLoader, type PageLoaderProps, Pagination, type PaginationProps, Picture, type PictureProps, PodcastGridCards, type PodcastGridCardsProps, PracticeCard, type PracticeCardProps, PracticePathCards, type PracticePathCardsProps, QuoteSectionBlock, type QuoteSectionBlockProps, ResourceCardItem, type ResourceCardItemProps, type ResourceItem, type ResourceItemType, type ResourceView, ResourcesGridList, type ResourcesGridListProps, Search, type SearchProps, Select, type SelectProps, Sidebar, type SidebarCategory, type SidebarProps, type SortOption, type TButtonVariant, Teaser5050With3Text, type Teaser5050With3TextProps, Teaser5050WithCta, type Teaser5050WithCtaProps, Text, TextBody, type TextBodyProps, TextCenterCtaInBottom, type TextCenterCtaInBottomProps, TextCenterWithMedia, type TextCenterWithMediaProps, TextEvent, type TextEventProps, TextFootnote, type TextFootnoteProps, type TextProps, TimelineCards, type TimelineCardsProps, TwoColTextMenu, type TwoColTextMenuProps, UpcomingEventCard, type UpcomingEventCardProps, UserMenu, type UserMenuItem, type UserMenuProps, type UserMenuUser, resolveCompoundSlots, svgs, useActivePath, useIntersectionObserver, useIsAtTop };
|