@digital-b2c/coreui-kit 0.28.4 → 0.28.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.cjs +14 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +11 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +113 -113
- package/dist/index.d.ts +113 -113
- package/dist/index.mjs +14 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -12
package/dist/index.mjs
CHANGED
|
@@ -3270,6 +3270,7 @@ var HeroBannerCarousel_module_default = {
|
|
|
3270
3270
|
cardBody: "HeroBannerCarousel_module_cardBody",
|
|
3271
3271
|
cardCtaContainer: "HeroBannerCarousel_module_cardCtaContainer",
|
|
3272
3272
|
cardImageWrapper: "HeroBannerCarousel_module_cardImageWrapper",
|
|
3273
|
+
hideOverlayOnMobile: "HeroBannerCarousel_module_hideOverlayOnMobile",
|
|
3273
3274
|
cardImage: "HeroBannerCarousel_module_cardImage",
|
|
3274
3275
|
controls: "HeroBannerCarousel_module_controls",
|
|
3275
3276
|
navButton: "HeroBannerCarousel_module_navButton",
|
|
@@ -3313,7 +3314,16 @@ var HeroBannerCarousel = ({ className, items = [] }) => {
|
|
|
3313
3314
|
)) })
|
|
3314
3315
|
] })
|
|
3315
3316
|
] }),
|
|
3316
|
-
/* @__PURE__ */ jsx(
|
|
3317
|
+
/* @__PURE__ */ jsx(
|
|
3318
|
+
"div",
|
|
3319
|
+
{
|
|
3320
|
+
className: clsx67(
|
|
3321
|
+
HeroBannerCarousel_module_default.cardImageWrapper,
|
|
3322
|
+
item.hideOverlayOnMobile && HeroBannerCarousel_module_default.hideOverlayOnMobile
|
|
3323
|
+
),
|
|
3324
|
+
children: /* @__PURE__ */ jsx(Picture, __spreadValues({ className: HeroBannerCarousel_module_default.cardImage }, item.image))
|
|
3325
|
+
}
|
|
3326
|
+
)
|
|
3317
3327
|
] }) }, index))
|
|
3318
3328
|
}
|
|
3319
3329
|
) }),
|
|
@@ -3730,9 +3740,9 @@ var MiniBanner = ({
|
|
|
3730
3740
|
titleNode && /* @__PURE__ */ jsx(
|
|
3731
3741
|
Text,
|
|
3732
3742
|
{
|
|
3733
|
-
tag: "div",
|
|
3743
|
+
tag: promoteToH1 ? "h1" : "div",
|
|
3734
3744
|
promoteToH1,
|
|
3735
|
-
className: clsx67(MiniBanner_module_default.title,
|
|
3745
|
+
className: clsx67(MiniBanner_module_default.title, isMiniBannerNoBG ? "h4" : "h1"),
|
|
3736
3746
|
children: titleNode
|
|
3737
3747
|
}
|
|
3738
3748
|
)
|
|
@@ -3740,7 +3750,7 @@ var MiniBanner = ({
|
|
|
3740
3750
|
subtitleNode && /* @__PURE__ */ jsx(
|
|
3741
3751
|
"div",
|
|
3742
3752
|
{
|
|
3743
|
-
className: clsx67(MiniBanner_module_default.
|
|
3753
|
+
className: clsx67(MiniBanner_module_default.subtitle, {
|
|
3744
3754
|
subheading: isMiniBannerNoBG,
|
|
3745
3755
|
h1: !isMiniBannerNoBG && !isMiniBannerTextLeft,
|
|
3746
3756
|
h4: isMiniBannerTextLeft
|