@digital-b2c/coreui-kit 0.5.0 → 0.5.1
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 +68 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +82 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +24 -3
- package/dist/index.d.ts +24 -3
- package/dist/index.mjs +68 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +11 -12
package/dist/index.cjs
CHANGED
|
@@ -929,6 +929,7 @@ var CardCollection_module_default = {
|
|
|
929
929
|
wrapper: "CardCollection_module_wrapper",
|
|
930
930
|
cardWrapper: "CardCollection_module_cardWrapper",
|
|
931
931
|
threeCols: "CardCollection_module_threeCols",
|
|
932
|
+
fourCols: "CardCollection_module_fourCols",
|
|
932
933
|
examCard: "CardCollection_module_examCard",
|
|
933
934
|
"reveal-wrapper": "CardCollection_module_reveal-wrapper",
|
|
934
935
|
"reveal-inner": "CardCollection_module_reveal-inner",
|
|
@@ -1784,6 +1785,72 @@ var TextEvent2 = Object.assign(TextEvent, {
|
|
|
1784
1785
|
Title: TextEventTitle,
|
|
1785
1786
|
RichText: TextEventRichText
|
|
1786
1787
|
});
|
|
1788
|
+
var TextCenterCtaInBottomTitle = ({ children }) => {
|
|
1789
|
+
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
|
|
1790
|
+
};
|
|
1791
|
+
var TextCenterCtaInBottomSubtitle = ({ children }) => {
|
|
1792
|
+
return /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children });
|
|
1793
|
+
};
|
|
1794
|
+
|
|
1795
|
+
// src/widgets/TextCenterCtaInBottom/TextCenterCtaInBottom.module.scss
|
|
1796
|
+
var TextCenterCtaInBottom_module_default = {
|
|
1797
|
+
textCenterCta: "TextCenterCtaInBottom_module_textCenterCta",
|
|
1798
|
+
container: "TextCenterCtaInBottom_module_container",
|
|
1799
|
+
content: "TextCenterCtaInBottom_module_content",
|
|
1800
|
+
title: "TextCenterCtaInBottom_module_title",
|
|
1801
|
+
subtitle: "TextCenterCtaInBottom_module_subtitle",
|
|
1802
|
+
ctaWrapper: "TextCenterCtaInBottom_module_ctaWrapper",
|
|
1803
|
+
iconOnly: "TextCenterCtaInBottom_module_iconOnly",
|
|
1804
|
+
cta: "TextCenterCtaInBottom_module_cta"
|
|
1805
|
+
};
|
|
1806
|
+
var TextCenterCtaInBottom = ({
|
|
1807
|
+
className,
|
|
1808
|
+
title,
|
|
1809
|
+
subtitle,
|
|
1810
|
+
ctas,
|
|
1811
|
+
children
|
|
1812
|
+
}) => {
|
|
1813
|
+
var _a, _b;
|
|
1814
|
+
const slots = resolveCompoundSlots(children, {
|
|
1815
|
+
title: TextCenterCtaInBottomTitle,
|
|
1816
|
+
subtitle: TextCenterCtaInBottomSubtitle
|
|
1817
|
+
});
|
|
1818
|
+
const titleNode = (_a = slots.title) != null ? _a : title;
|
|
1819
|
+
const subtitleNode = (_b = slots.subtitle) != null ? _b : subtitle;
|
|
1820
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx19__default.default(TextCenterCtaInBottom_module_default.textCenterCta, className), children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: TextCenterCtaInBottom_module_default.container, children: [
|
|
1821
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: TextCenterCtaInBottom_module_default.content, children: [
|
|
1822
|
+
titleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: TextCenterCtaInBottom_module_default.title, children: titleNode }),
|
|
1823
|
+
subtitleNode && /* @__PURE__ */ jsxRuntime.jsx("div", { className: TextCenterCtaInBottom_module_default.subtitle, children: subtitleNode })
|
|
1824
|
+
] }),
|
|
1825
|
+
(ctas == null ? void 0 : ctas.length) && /* @__PURE__ */ jsxRuntime.jsx(
|
|
1826
|
+
"div",
|
|
1827
|
+
{
|
|
1828
|
+
className: clsx19__default.default(
|
|
1829
|
+
TextCenterCtaInBottom_module_default.ctaWrapper,
|
|
1830
|
+
ctas.every((cta) => !cta.label && cta.logo) && TextCenterCtaInBottom_module_default.iconOnly
|
|
1831
|
+
),
|
|
1832
|
+
children: ctas.map((cta, key) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
1833
|
+
Button,
|
|
1834
|
+
{
|
|
1835
|
+
className: TextCenterCtaInBottom_module_default.cta,
|
|
1836
|
+
variant: "secondary",
|
|
1837
|
+
href: cta == null ? void 0 : cta.url,
|
|
1838
|
+
isExternal: cta == null ? void 0 : cta.isExternal,
|
|
1839
|
+
logo: cta.logo,
|
|
1840
|
+
children: cta == null ? void 0 : cta.label
|
|
1841
|
+
},
|
|
1842
|
+
key
|
|
1843
|
+
))
|
|
1844
|
+
}
|
|
1845
|
+
)
|
|
1846
|
+
] }) });
|
|
1847
|
+
};
|
|
1848
|
+
|
|
1849
|
+
// src/widgets/TextCenterCtaInBottom/index.ts
|
|
1850
|
+
var TextCenterCtaInBottom2 = Object.assign(TextCenterCtaInBottom, {
|
|
1851
|
+
Title: TextCenterCtaInBottomTitle,
|
|
1852
|
+
Subtitle: TextCenterCtaInBottomSubtitle
|
|
1853
|
+
});
|
|
1787
1854
|
function useIntersectionObserver({
|
|
1788
1855
|
animateOnce = false,
|
|
1789
1856
|
options = {}
|
|
@@ -1835,6 +1902,7 @@ exports.PracticeCard = PracticeCard;
|
|
|
1835
1902
|
exports.PracticePathCards = PracticePathCards2;
|
|
1836
1903
|
exports.Teaser5050With3Text = Teaser5050With3Text2;
|
|
1837
1904
|
exports.Teaser5050WithCta = Teaser5050WithCta2;
|
|
1905
|
+
exports.TextCenterCtaInBottom = TextCenterCtaInBottom2;
|
|
1838
1906
|
exports.TextEvent = TextEvent2;
|
|
1839
1907
|
exports.resolveCompoundSlots = resolveCompoundSlots;
|
|
1840
1908
|
exports.svgs = svgs;
|