@digital-b2c/coreui-kit 0.11.1 → 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 +42 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +91 -21
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +11 -3
- package/dist/index.d.ts +11 -3
- package/dist/index.mjs +42 -3
- 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(
|
|
@@ -3751,14 +3776,18 @@ var BlogSearchResultsList_module_default = {
|
|
|
3751
3776
|
"search-result": "BlogSearchResultsList_module_search-result",
|
|
3752
3777
|
wrapper: "BlogSearchResultsList_module_wrapper",
|
|
3753
3778
|
"search-input": "BlogSearchResultsList_module_search-input",
|
|
3754
|
-
"end-action-button": "BlogSearchResultsList_module_end-action-button"
|
|
3779
|
+
"end-action-button": "BlogSearchResultsList_module_end-action-button",
|
|
3780
|
+
pagination: "BlogSearchResultsList_module_pagination"
|
|
3755
3781
|
};
|
|
3756
3782
|
var BlogSearchResultsList = ({
|
|
3757
3783
|
items,
|
|
3758
3784
|
searchResult,
|
|
3759
3785
|
onSearchChange,
|
|
3760
3786
|
onSearchSubmit,
|
|
3787
|
+
onPageChange,
|
|
3761
3788
|
searchValue,
|
|
3789
|
+
currentPage,
|
|
3790
|
+
totalPages = 0,
|
|
3762
3791
|
className,
|
|
3763
3792
|
renderLink,
|
|
3764
3793
|
children
|
|
@@ -3796,7 +3825,17 @@ var BlogSearchResultsList = ({
|
|
|
3796
3825
|
}
|
|
3797
3826
|
),
|
|
3798
3827
|
/* @__PURE__ */ jsxRuntime.jsx(BlogCardGrid2, { items, hasContainer: false, renderLink })
|
|
3799
|
-
] })
|
|
3828
|
+
] }),
|
|
3829
|
+
totalPages ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3830
|
+
Pagination,
|
|
3831
|
+
{
|
|
3832
|
+
currentPage: currentPage || 1,
|
|
3833
|
+
totalPages: totalPages || 0,
|
|
3834
|
+
onPageChange,
|
|
3835
|
+
className: clsx15__default.default("pagination", BlogSearchResultsList_module_default["pagination"]),
|
|
3836
|
+
hasNumber: true
|
|
3837
|
+
}
|
|
3838
|
+
) : null
|
|
3800
3839
|
] }) });
|
|
3801
3840
|
};
|
|
3802
3841
|
|