@digital-b2c/coreui-kit 0.7.1 → 0.7.3

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.cts CHANGED
@@ -327,6 +327,7 @@ interface HeroBannerCarouselItem {
327
327
  body: ReactNode;
328
328
  image: PictureProps;
329
329
  ctas: ICtaLogo[];
330
+ cornerImage?: string;
330
331
  }
331
332
  interface HeroBannerCarouselProps {
332
333
  className?: string;
package/dist/index.d.ts CHANGED
@@ -327,6 +327,7 @@ interface HeroBannerCarouselItem {
327
327
  body: ReactNode;
328
328
  image: PictureProps;
329
329
  ctas: ICtaLogo[];
330
+ cornerImage?: string;
330
331
  }
331
332
  interface HeroBannerCarouselProps {
332
333
  className?: string;
package/dist/index.mjs CHANGED
@@ -1324,6 +1324,9 @@ var HeroBannerCarousel_module_default = {
1324
1324
  inner: "HeroBannerCarousel_module_inner",
1325
1325
  swiperContainer: "HeroBannerCarousel_module_swiperContainer",
1326
1326
  card: "HeroBannerCarousel_module_card",
1327
+ cardCorner: "HeroBannerCarousel_module_cardCorner",
1328
+ cardCornerImage: "HeroBannerCarousel_module_cardCornerImage",
1329
+ cardCornerDot: "HeroBannerCarousel_module_cardCornerDot",
1327
1330
  cardContent: "HeroBannerCarousel_module_cardContent",
1328
1331
  cardTitle: "HeroBannerCarousel_module_cardTitle",
1329
1332
  cardBottom: "HeroBannerCarousel_module_cardBottom",
@@ -1359,6 +1362,7 @@ var HeroBannerCarousel = ({
1359
1362
  onSwiper: setSwiperInstance,
1360
1363
  onSlideChange: (swiper) => setActiveIndex(swiper.activeIndex),
1361
1364
  children: items.map((item, index) => /* @__PURE__ */ jsx(SwiperSlide, { children: /* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.card, children: [
1365
+ item.cornerImage && /* @__PURE__ */ jsx("div", { className: HeroBannerCarousel_module_default.cardCorner, children: isMobile ? /* @__PURE__ */ jsx("span", { className: HeroBannerCarousel_module_default.cardCornerDot }) : /* @__PURE__ */ jsx("img", { src: item.cornerImage, alt: "", className: HeroBannerCarousel_module_default.cardCornerImage }) }),
1362
1366
  /* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.cardContent, children: [
1363
1367
  /* @__PURE__ */ jsx("h3", { className: HeroBannerCarousel_module_default.cardTitle, children: item.title }),
1364
1368
  /* @__PURE__ */ jsxs("div", { className: HeroBannerCarousel_module_default.cardBottom, children: [