@digital-b2c/coreui-kit 0.11.2 → 0.11.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.cjs +26 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +88 -21
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +7 -2
- package/dist/index.d.ts +7 -2
- package/dist/index.mjs +26 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1942,6 +1942,13 @@ var FooterDisclaimer = ({ children }) => {
|
|
|
1942
1942
|
var Footer_module_default = {
|
|
1943
1943
|
footer: "Footer_module_footer",
|
|
1944
1944
|
container: "Footer_module_container",
|
|
1945
|
+
"support-section": "Footer_module_support-section",
|
|
1946
|
+
"support-heading": "Footer_module_support-heading",
|
|
1947
|
+
support: "Footer_module_support",
|
|
1948
|
+
"support-column": "Footer_module_support-column",
|
|
1949
|
+
"support-title": "Footer_module_support-title",
|
|
1950
|
+
"support-subtitle": "Footer_module_support-subtitle",
|
|
1951
|
+
"support-group": "Footer_module_support-group",
|
|
1945
1952
|
bottom: "Footer_module_bottom",
|
|
1946
1953
|
"bottom-left": "Footer_module_bottom-left",
|
|
1947
1954
|
"bottom-right": "Footer_module_bottom-right",
|
|
@@ -1960,18 +1967,36 @@ var Footer = ({
|
|
|
1960
1967
|
navigationLinks = [],
|
|
1961
1968
|
disclaimer,
|
|
1962
1969
|
copyright,
|
|
1963
|
-
children
|
|
1970
|
+
children,
|
|
1971
|
+
supportContacts = []
|
|
1964
1972
|
}) => {
|
|
1965
1973
|
var _a;
|
|
1966
1974
|
const columns = [];
|
|
1967
1975
|
for (let i = 0; i < navigationLinks.length; i += 5) {
|
|
1968
1976
|
columns.push(navigationLinks.slice(i, i + 5));
|
|
1969
1977
|
}
|
|
1978
|
+
const supportColumns = [];
|
|
1979
|
+
for (let i = 0; i < supportContacts.length; i += 2) {
|
|
1980
|
+
supportColumns.push(supportContacts.slice(i, i + 2));
|
|
1981
|
+
}
|
|
1970
1982
|
const slots = resolveCompoundSlots(children, {
|
|
1971
1983
|
disclaimer: FooterDisclaimer
|
|
1972
1984
|
});
|
|
1973
1985
|
const titleNode = (_a = slots.disclaimer) != null ? _a : disclaimer;
|
|
1974
1986
|
return /* @__PURE__ */ jsxRuntime.jsx("footer", { className: clsx15__default.default(Footer_module_default.footer, className), children: /* @__PURE__ */ jsxRuntime.jsxs(Container, { className: Footer_module_default.container, children: [
|
|
1987
|
+
supportContacts.length > 0 && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: Footer_module_default["support-section"], children: [
|
|
1988
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: Footer_module_default["support-heading"], children: "SUPPORT" }),
|
|
1989
|
+
/* @__PURE__ */ jsxRuntime.jsx("div", { className: Footer_module_default.support, children: supportColumns.map((column, colIdx) => /* @__PURE__ */ jsxRuntime.jsx("div", { className: Footer_module_default["support-column"], children: column.map((group, i) => /* @__PURE__ */ jsxRuntime.jsxs("div", { className: Footer_module_default["support-group"], children: [
|
|
1990
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: Footer_module_default["support-title"], children: group.title }),
|
|
1991
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1992
|
+
"div",
|
|
1993
|
+
{
|
|
1994
|
+
className: Footer_module_default["support-subtitle"],
|
|
1995
|
+
dangerouslySetInnerHTML: { __html: group.subtitle }
|
|
1996
|
+
}
|
|
1997
|
+
)
|
|
1998
|
+
] }, i)) }, colIdx)) })
|
|
1999
|
+
] }),
|
|
1975
2000
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: Footer_module_default.bottom, children: [
|
|
1976
2001
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: Footer_module_default["bottom-left"], children: [
|
|
1977
2002
|
supporters.length > 0 && /* @__PURE__ */ jsxRuntime.jsx("div", { className: Footer_module_default.supporters, children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: Footer_module_default["supporters-logos"], children: supporters.map(
|