@digital-b2c/coreui-kit 0.11.10 → 0.11.12
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 +23 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +222 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +15 -1
- package/dist/index.d.ts +15 -1
- package/dist/index.mjs +23 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -376,6 +376,20 @@ interface NewsCardProps {
|
|
|
376
376
|
|
|
377
377
|
declare const NewsCard: ({ className, image, date, description, tag, title, cta, direction, renderLink, }: NewsCardProps) => react_jsx_runtime.JSX.Element;
|
|
378
378
|
|
|
379
|
+
type BlogPostContentBodyProps = {
|
|
380
|
+
children: ReactNode;
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
interface BlogPostContentProps {
|
|
384
|
+
className?: string;
|
|
385
|
+
children?: ReactNode;
|
|
386
|
+
body?: ReactNode;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
declare const BlogPostContent: (({ className, body, children }: BlogPostContentProps) => react_jsx_runtime.JSX.Element) & {
|
|
390
|
+
Body: ({ children }: BlogPostContentBodyProps) => react_jsx_runtime.JSX.Element;
|
|
391
|
+
};
|
|
392
|
+
|
|
379
393
|
interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
380
394
|
isExternal?: boolean;
|
|
381
395
|
renderLink?: (props: AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
@@ -886,4 +900,4 @@ type SlotMap = Record<string, SlotComponent>;
|
|
|
886
900
|
*/
|
|
887
901
|
declare function resolveCompoundSlots(children: ReactNode, slots: SlotMap): Record<string, ReactNode>;
|
|
888
902
|
|
|
889
|
-
export { Anchor, type AnchorProps, Badge, type BadgeProps, BlogCardGrid, type BlogCardGridProps, BlogPost, type BlogPostProps, BlogSearchResultsList, type BlogSearchResultsListProps, BrandsStrip, type BrandsStripProps, Button, type ButtonProps, Card, CardCollection, type CardCollectionProps, type CardProps, ConditionalWrapper, type ConditionalWrapperProps, ContactModule, type ContactModuleProps, Container, type ContainerProps, CountingCard, type CountingCardProps, EventList, type EventListProps, FeaturedNewsHighlights, type FeaturedNewsHighlightsProps, FilterBar, type FilterBarProps, type FilterOption, Footer, type FooterProps, type GridItemProps, type GridProps, HeroBanner, HeroBannerCarousel, type HeroBannerCarouselProps, type HeroBannerProps, type ICta, type ICtaHoverLogo, type ICtaIcon, type ICtaLogo, type IFooterSupportGroup, type IPicture, Icon, type IconType, InfoCard, type InfoCardProps, Input, type InputProps, InternalBrandsTab, type InternalBrandsTabProps, MiniBanner, type MiniBannerProps, MiniSectionCta, type MiniSectionCtaProps, NewsCard, NewsCardList, type NewsCardListProps, type NewsCardProps, Pagination, type PaginationProps, Picture, type PictureProps, PracticeCard, type PracticeCardProps, PracticePathCards, type PracticePathCardsProps, ResourceCardItem, type ResourceCardItemProps, type ResourceItem, type ResourceItemType, type ResourceView, ResourcesGridList, type ResourcesGridListProps, Sidebar, type SidebarCategory, type SidebarProps, type SortOption, Teaser5050With3Text, type Teaser5050With3TextProps, Teaser5050WithCta, type Teaser5050WithCtaProps, TextBody, type TextBodyProps, TextCenterCtaInBottom, type TextCenterCtaInBottomProps, TextEvent, type TextEventProps, UpcomingEventCard, type UpcomingEventCardProps, resolveCompoundSlots, svgs, useIntersectionObserver };
|
|
903
|
+
export { Anchor, type AnchorProps, Badge, type BadgeProps, BlogCardGrid, type BlogCardGridProps, BlogPost, BlogPostContent, type BlogPostContentProps, type BlogPostProps, BlogSearchResultsList, type BlogSearchResultsListProps, BrandsStrip, type BrandsStripProps, Button, type ButtonProps, Card, CardCollection, type CardCollectionProps, type CardProps, ConditionalWrapper, type ConditionalWrapperProps, ContactModule, type ContactModuleProps, Container, type ContainerProps, CountingCard, type CountingCardProps, EventList, type EventListProps, FeaturedNewsHighlights, type FeaturedNewsHighlightsProps, FilterBar, type FilterBarProps, type FilterOption, Footer, type FooterProps, type GridItemProps, type GridProps, HeroBanner, HeroBannerCarousel, type HeroBannerCarouselProps, type HeroBannerProps, type ICta, type ICtaHoverLogo, type ICtaIcon, type ICtaLogo, type IFooterSupportGroup, type IPicture, Icon, type IconType, InfoCard, type InfoCardProps, Input, type InputProps, InternalBrandsTab, type InternalBrandsTabProps, MiniBanner, type MiniBannerProps, MiniSectionCta, type MiniSectionCtaProps, NewsCard, NewsCardList, type NewsCardListProps, type NewsCardProps, Pagination, type PaginationProps, Picture, type PictureProps, PracticeCard, type PracticeCardProps, PracticePathCards, type PracticePathCardsProps, ResourceCardItem, type ResourceCardItemProps, type ResourceItem, type ResourceItemType, type ResourceView, ResourcesGridList, type ResourcesGridListProps, Sidebar, type SidebarCategory, type SidebarProps, type SortOption, Teaser5050With3Text, type Teaser5050With3TextProps, Teaser5050WithCta, type Teaser5050WithCtaProps, TextBody, type TextBodyProps, TextCenterCtaInBottom, type TextCenterCtaInBottomProps, TextEvent, type TextEventProps, UpcomingEventCard, type UpcomingEventCardProps, resolveCompoundSlots, svgs, useIntersectionObserver };
|
package/dist/index.d.ts
CHANGED
|
@@ -376,6 +376,20 @@ interface NewsCardProps {
|
|
|
376
376
|
|
|
377
377
|
declare const NewsCard: ({ className, image, date, description, tag, title, cta, direction, renderLink, }: NewsCardProps) => react_jsx_runtime.JSX.Element;
|
|
378
378
|
|
|
379
|
+
type BlogPostContentBodyProps = {
|
|
380
|
+
children: ReactNode;
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
interface BlogPostContentProps {
|
|
384
|
+
className?: string;
|
|
385
|
+
children?: ReactNode;
|
|
386
|
+
body?: ReactNode;
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
declare const BlogPostContent: (({ className, body, children }: BlogPostContentProps) => react_jsx_runtime.JSX.Element) & {
|
|
390
|
+
Body: ({ children }: BlogPostContentBodyProps) => react_jsx_runtime.JSX.Element;
|
|
391
|
+
};
|
|
392
|
+
|
|
379
393
|
interface AnchorProps extends AnchorHTMLAttributes<HTMLAnchorElement> {
|
|
380
394
|
isExternal?: boolean;
|
|
381
395
|
renderLink?: (props: AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
@@ -886,4 +900,4 @@ type SlotMap = Record<string, SlotComponent>;
|
|
|
886
900
|
*/
|
|
887
901
|
declare function resolveCompoundSlots(children: ReactNode, slots: SlotMap): Record<string, ReactNode>;
|
|
888
902
|
|
|
889
|
-
export { Anchor, type AnchorProps, Badge, type BadgeProps, BlogCardGrid, type BlogCardGridProps, BlogPost, type BlogPostProps, BlogSearchResultsList, type BlogSearchResultsListProps, BrandsStrip, type BrandsStripProps, Button, type ButtonProps, Card, CardCollection, type CardCollectionProps, type CardProps, ConditionalWrapper, type ConditionalWrapperProps, ContactModule, type ContactModuleProps, Container, type ContainerProps, CountingCard, type CountingCardProps, EventList, type EventListProps, FeaturedNewsHighlights, type FeaturedNewsHighlightsProps, FilterBar, type FilterBarProps, type FilterOption, Footer, type FooterProps, type GridItemProps, type GridProps, HeroBanner, HeroBannerCarousel, type HeroBannerCarouselProps, type HeroBannerProps, type ICta, type ICtaHoverLogo, type ICtaIcon, type ICtaLogo, type IFooterSupportGroup, type IPicture, Icon, type IconType, InfoCard, type InfoCardProps, Input, type InputProps, InternalBrandsTab, type InternalBrandsTabProps, MiniBanner, type MiniBannerProps, MiniSectionCta, type MiniSectionCtaProps, NewsCard, NewsCardList, type NewsCardListProps, type NewsCardProps, Pagination, type PaginationProps, Picture, type PictureProps, PracticeCard, type PracticeCardProps, PracticePathCards, type PracticePathCardsProps, ResourceCardItem, type ResourceCardItemProps, type ResourceItem, type ResourceItemType, type ResourceView, ResourcesGridList, type ResourcesGridListProps, Sidebar, type SidebarCategory, type SidebarProps, type SortOption, Teaser5050With3Text, type Teaser5050With3TextProps, Teaser5050WithCta, type Teaser5050WithCtaProps, TextBody, type TextBodyProps, TextCenterCtaInBottom, type TextCenterCtaInBottomProps, TextEvent, type TextEventProps, UpcomingEventCard, type UpcomingEventCardProps, resolveCompoundSlots, svgs, useIntersectionObserver };
|
|
903
|
+
export { Anchor, type AnchorProps, Badge, type BadgeProps, BlogCardGrid, type BlogCardGridProps, BlogPost, BlogPostContent, type BlogPostContentProps, type BlogPostProps, BlogSearchResultsList, type BlogSearchResultsListProps, BrandsStrip, type BrandsStripProps, Button, type ButtonProps, Card, CardCollection, type CardCollectionProps, type CardProps, ConditionalWrapper, type ConditionalWrapperProps, ContactModule, type ContactModuleProps, Container, type ContainerProps, CountingCard, type CountingCardProps, EventList, type EventListProps, FeaturedNewsHighlights, type FeaturedNewsHighlightsProps, FilterBar, type FilterBarProps, type FilterOption, Footer, type FooterProps, type GridItemProps, type GridProps, HeroBanner, HeroBannerCarousel, type HeroBannerCarouselProps, type HeroBannerProps, type ICta, type ICtaHoverLogo, type ICtaIcon, type ICtaLogo, type IFooterSupportGroup, type IPicture, Icon, type IconType, InfoCard, type InfoCardProps, Input, type InputProps, InternalBrandsTab, type InternalBrandsTabProps, MiniBanner, type MiniBannerProps, MiniSectionCta, type MiniSectionCtaProps, NewsCard, NewsCardList, type NewsCardListProps, type NewsCardProps, Pagination, type PaginationProps, Picture, type PictureProps, PracticeCard, type PracticeCardProps, PracticePathCards, type PracticePathCardsProps, ResourceCardItem, type ResourceCardItemProps, type ResourceItem, type ResourceItemType, type ResourceView, ResourcesGridList, type ResourcesGridListProps, Sidebar, type SidebarCategory, type SidebarProps, type SortOption, Teaser5050With3Text, type Teaser5050With3TextProps, Teaser5050WithCta, type Teaser5050WithCtaProps, TextBody, type TextBodyProps, TextCenterCtaInBottom, type TextCenterCtaInBottomProps, TextEvent, type TextEventProps, UpcomingEventCard, type UpcomingEventCardProps, resolveCompoundSlots, svgs, useIntersectionObserver };
|
package/dist/index.mjs
CHANGED
|
@@ -1725,6 +1725,27 @@ var NewsCard = ({
|
|
|
1725
1725
|
}
|
|
1726
1726
|
);
|
|
1727
1727
|
};
|
|
1728
|
+
|
|
1729
|
+
// src/components/BlogPostContent/BlogPostContent.module.scss
|
|
1730
|
+
var BlogPostContent_module_default = {
|
|
1731
|
+
"blog-post-content": "BlogPostContent_module_blog-post-content"
|
|
1732
|
+
};
|
|
1733
|
+
var BlogPostContentBody = ({ children }) => {
|
|
1734
|
+
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
1735
|
+
};
|
|
1736
|
+
var BlogPostContent = ({ className, body, children }) => {
|
|
1737
|
+
var _a;
|
|
1738
|
+
const slots = resolveCompoundSlots(children, {
|
|
1739
|
+
body: BlogPostContentBody
|
|
1740
|
+
});
|
|
1741
|
+
const bodyNode = (_a = slots.body) != null ? _a : body;
|
|
1742
|
+
return /* @__PURE__ */ jsx("div", { className: clsx15("blog-post-content", BlogPostContent_module_default["blog-post-content"], className), children: bodyNode });
|
|
1743
|
+
};
|
|
1744
|
+
|
|
1745
|
+
// src/components/BlogPostContent/index.ts
|
|
1746
|
+
var BlogPostContent2 = Object.assign(BlogPostContent, {
|
|
1747
|
+
Body: BlogPostContentBody
|
|
1748
|
+
});
|
|
1728
1749
|
var CardCollectionTitle = ({ children }) => {
|
|
1729
1750
|
return /* @__PURE__ */ jsx(Fragment, { children });
|
|
1730
1751
|
};
|
|
@@ -3763,7 +3784,7 @@ var BlogPost = ({
|
|
|
3763
3784
|
/* @__PURE__ */ jsx("time", { dateTime: date.value, children: date.label })
|
|
3764
3785
|
] })
|
|
3765
3786
|
] }),
|
|
3766
|
-
bodyNode
|
|
3787
|
+
/* @__PURE__ */ jsx(BlogPostContent2, { children: /* @__PURE__ */ jsx(BlogPostContent2.Body, { children: bodyNode }) })
|
|
3767
3788
|
] }),
|
|
3768
3789
|
relatedArticles && relatedArticles.length > 0 && /* @__PURE__ */ jsx(
|
|
3769
3790
|
BlogCardGrid2,
|
|
@@ -3887,6 +3908,6 @@ function useIntersectionObserver({
|
|
|
3887
3908
|
return { observeRef, isVisible };
|
|
3888
3909
|
}
|
|
3889
3910
|
|
|
3890
|
-
export { Anchor, Badge, BlogCardGrid2 as BlogCardGrid, BlogPost2 as BlogPost, BlogSearchResultsList2 as BlogSearchResultsList, BrandsStrip, Button, Card2 as Card, CardCollection2 as CardCollection, ConditionalWrapper, ContactModule2 as ContactModule, Container, CountingCard2 as CountingCard, EventList2 as EventList, FeaturedNewsHighlights2 as FeaturedNewsHighlights, FilterBar, Footer, HeroBanner2 as HeroBanner, HeroBannerCarousel, Icon, InfoCard2 as InfoCard, Input, InternalBrandsTab2 as InternalBrandsTab, MiniBanner2 as MiniBanner, MiniSectionCta2 as MiniSectionCta, NewsCard, NewsCardList2 as NewsCardList, Pagination, Picture, PracticeCard, PracticePathCards2 as PracticePathCards, ResourceCardItem, ResourcesGridList, Sidebar, Teaser5050With3Text2 as Teaser5050With3Text, Teaser5050WithCta2 as Teaser5050WithCta, TextBody2 as TextBody, TextCenterCtaInBottom2 as TextCenterCtaInBottom, TextEvent2 as TextEvent, UpcomingEventCard, resolveCompoundSlots, svgs, useIntersectionObserver };
|
|
3911
|
+
export { Anchor, Badge, BlogCardGrid2 as BlogCardGrid, BlogPost2 as BlogPost, BlogPostContent2 as BlogPostContent, BlogSearchResultsList2 as BlogSearchResultsList, BrandsStrip, Button, Card2 as Card, CardCollection2 as CardCollection, ConditionalWrapper, ContactModule2 as ContactModule, Container, CountingCard2 as CountingCard, EventList2 as EventList, FeaturedNewsHighlights2 as FeaturedNewsHighlights, FilterBar, Footer, HeroBanner2 as HeroBanner, HeroBannerCarousel, Icon, InfoCard2 as InfoCard, Input, InternalBrandsTab2 as InternalBrandsTab, MiniBanner2 as MiniBanner, MiniSectionCta2 as MiniSectionCta, NewsCard, NewsCardList2 as NewsCardList, Pagination, Picture, PracticeCard, PracticePathCards2 as PracticePathCards, ResourceCardItem, ResourcesGridList, Sidebar, Teaser5050With3Text2 as Teaser5050With3Text, Teaser5050WithCta2 as Teaser5050WithCta, TextBody2 as TextBody, TextCenterCtaInBottom2 as TextCenterCtaInBottom, TextEvent2 as TextEvent, UpcomingEventCard, resolveCompoundSlots, svgs, useIntersectionObserver };
|
|
3891
3912
|
//# sourceMappingURL=index.mjs.map
|
|
3892
3913
|
//# sourceMappingURL=index.mjs.map
|