@digital-b2c/coreui-kit 0.29.0 → 0.29.2
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 +9 -5
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +66 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +9 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -121,7 +121,7 @@ interface BrandsStripProps {
|
|
|
121
121
|
|
|
122
122
|
declare const BrandsStrip: ({ className, variant, title, logos, cta, size, }: BrandsStripProps) => react.JSX.Element;
|
|
123
123
|
|
|
124
|
-
declare const ButtonVariantReadOnly: readonly ["primary", "secondary", "ghost", "nofill", "grey", "nofillblack", "shiny", "tabbutton", "navnofillblack", "textmenu"];
|
|
124
|
+
declare const ButtonVariantReadOnly: readonly ["primary", "secondary", "ghost", "nofill", "grey", "nofillblack", "shiny", "shiny-black", "tabbutton", "navnofillblack", "textmenu"];
|
|
125
125
|
type TButtonVariant = (typeof ButtonVariantReadOnly)[number];
|
|
126
126
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
127
127
|
variant?: TButtonVariant;
|
package/dist/index.d.ts
CHANGED
|
@@ -121,7 +121,7 @@ interface BrandsStripProps {
|
|
|
121
121
|
|
|
122
122
|
declare const BrandsStrip: ({ className, variant, title, logos, cta, size, }: BrandsStripProps) => react.JSX.Element;
|
|
123
123
|
|
|
124
|
-
declare const ButtonVariantReadOnly: readonly ["primary", "secondary", "ghost", "nofill", "grey", "nofillblack", "shiny", "tabbutton", "navnofillblack", "textmenu"];
|
|
124
|
+
declare const ButtonVariantReadOnly: readonly ["primary", "secondary", "ghost", "nofill", "grey", "nofillblack", "shiny", "shiny-black", "tabbutton", "navnofillblack", "textmenu"];
|
|
125
125
|
type TButtonVariant = (typeof ButtonVariantReadOnly)[number];
|
|
126
126
|
interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
127
127
|
variant?: TButtonVariant;
|
package/dist/index.mjs
CHANGED
|
@@ -444,6 +444,7 @@ var Button_module_default = {
|
|
|
444
444
|
grey: "Button_module_grey",
|
|
445
445
|
shiny: "Button_module_shiny",
|
|
446
446
|
rotateGradient: "Button_module_rotateGradient",
|
|
447
|
+
"shiny-black": "Button_module_shiny-black",
|
|
447
448
|
tabbutton: "Button_module_tabbutton",
|
|
448
449
|
textmenu: "Button_module_textmenu",
|
|
449
450
|
icon: "Button_module_icon",
|
|
@@ -717,7 +718,7 @@ var BrandsStrip = ({
|
|
|
717
718
|
onMouseLeave: handleMouseLeave,
|
|
718
719
|
children: [
|
|
719
720
|
/* @__PURE__ */ jsxs("div", { className: clsx72(BrandsStrip_module_default.container, { [BrandsStrip_module_default.blurred]: show && logos.length > 1 }), children: [
|
|
720
|
-
title && logos.length === 1 && /* @__PURE__ */ jsx("
|
|
721
|
+
title && logos.length === 1 && /* @__PURE__ */ jsx("span", { className: clsx72("body", BrandsStrip_module_default.title), children: title }),
|
|
721
722
|
logos.length > 0 && /* @__PURE__ */ jsx(
|
|
722
723
|
"div",
|
|
723
724
|
{
|
|
@@ -3795,7 +3796,10 @@ var MiniSectionCta_module_default = {
|
|
|
3795
3796
|
miniSectionCta: "MiniSectionCta_module_miniSectionCta",
|
|
3796
3797
|
wrapper: "MiniSectionCta_module_wrapper",
|
|
3797
3798
|
col: "MiniSectionCta_module_col",
|
|
3799
|
+
headerCTA: "MiniSectionCta_module_headerCTA",
|
|
3800
|
+
"cta-wrapper": "MiniSectionCta_module_cta-wrapper",
|
|
3798
3801
|
BgColorBlack: "MiniSectionCta_module_BgColorBlack",
|
|
3802
|
+
BgColorGrey: "MiniSectionCta_module_BgColorGrey",
|
|
3799
3803
|
infoCallout: "MiniSectionCta_module_infoCallout",
|
|
3800
3804
|
subtitle: "MiniSectionCta_module_subtitle",
|
|
3801
3805
|
miniTextCenterCta: "MiniSectionCta_module_miniTextCenterCta",
|
|
@@ -3804,8 +3808,7 @@ var MiniSectionCta_module_default = {
|
|
|
3804
3808
|
gray: "MiniSectionCta_module_gray",
|
|
3805
3809
|
gradientGrey: "MiniSectionCta_module_gradientGrey",
|
|
3806
3810
|
dark: "MiniSectionCta_module_dark",
|
|
3807
|
-
cta: "MiniSectionCta_module_cta"
|
|
3808
|
-
BgColorGrey: "MiniSectionCta_module_BgColorGrey"
|
|
3811
|
+
cta: "MiniSectionCta_module_cta"
|
|
3809
3812
|
};
|
|
3810
3813
|
var MiniSectionCta = ({
|
|
3811
3814
|
className,
|
|
@@ -3845,13 +3848,13 @@ var MiniSectionCta = ({
|
|
|
3845
3848
|
}
|
|
3846
3849
|
)
|
|
3847
3850
|
] }),
|
|
3848
|
-
cta && /* @__PURE__ */ jsx("div", { className: MiniSectionCta_module_default.col, children: /* @__PURE__ */ jsx(
|
|
3851
|
+
cta && /* @__PURE__ */ jsx("div", { className: clsx72(MiniSectionCta_module_default.col, MiniSectionCta_module_default["cta-wrapper"]), children: /* @__PURE__ */ jsx(
|
|
3849
3852
|
Button,
|
|
3850
3853
|
{
|
|
3851
3854
|
className: MiniSectionCta_module_default.cta,
|
|
3852
3855
|
href: cta.url,
|
|
3853
3856
|
isExternal: cta.isExternal,
|
|
3854
|
-
variant: variant === "BgColorBlack" ? "shiny" : variant === "bgGradientGrey" ? "secondary" : "primary",
|
|
3857
|
+
variant: variant === "BgColorBlack" ? "shiny" : variant === "BgColorGrey" ? "shiny-black" : variant === "bgGradientGrey" ? "secondary" : "primary",
|
|
3855
3858
|
icon: variant === "miniTextCenterCta" ? "tiltedRightWhite" : void 0,
|
|
3856
3859
|
children: cta.label
|
|
3857
3860
|
}
|
|
@@ -4808,6 +4811,7 @@ var Teaser5050WithCta_module_default = {
|
|
|
4808
4811
|
container: "Teaser5050WithCta_module_container",
|
|
4809
4812
|
left: "Teaser5050WithCta_module_left",
|
|
4810
4813
|
wrapper: "Teaser5050WithCta_module_wrapper",
|
|
4814
|
+
content: "Teaser5050WithCta_module_content",
|
|
4811
4815
|
title: "Teaser5050WithCta_module_title",
|
|
4812
4816
|
image: "Teaser5050WithCta_module_image",
|
|
4813
4817
|
cta: "Teaser5050WithCta_module_cta",
|