@digital-b2c/coreui-kit 0.11.21 → 0.11.23
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 +5 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +17 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.mjs +5 -4
- package/dist/index.mjs.map +1 -1
- package/dist/types/global.d.ts +25 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -883,12 +883,13 @@ interface BlogSearchResultsListProps extends PropsWithChildren {
|
|
|
883
883
|
searchValue: string;
|
|
884
884
|
onSearchChange: (value: string) => void;
|
|
885
885
|
onSearchSubmit: (value: string) => void;
|
|
886
|
+
searchInputProps?: InputProps;
|
|
886
887
|
renderLink?: (props: React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
887
888
|
children: React.ReactNode;
|
|
888
889
|
}) => React.ReactNode;
|
|
889
890
|
}
|
|
890
891
|
|
|
891
|
-
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, className, renderLink, children, }: BlogSearchResultsListProps) => react_jsx_runtime.JSX.Element) & {
|
|
892
|
+
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) => react_jsx_runtime.JSX.Element) & {
|
|
892
893
|
Search: ({ children }: BlogSearchResultsListSearchProps) => react_jsx_runtime.JSX.Element;
|
|
893
894
|
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) => react_jsx_runtime.JSX.Element;
|
|
894
895
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -883,12 +883,13 @@ interface BlogSearchResultsListProps extends PropsWithChildren {
|
|
|
883
883
|
searchValue: string;
|
|
884
884
|
onSearchChange: (value: string) => void;
|
|
885
885
|
onSearchSubmit: (value: string) => void;
|
|
886
|
+
searchInputProps?: InputProps;
|
|
886
887
|
renderLink?: (props: React.AnchorHTMLAttributes<HTMLAnchorElement> & {
|
|
887
888
|
children: React.ReactNode;
|
|
888
889
|
}) => React.ReactNode;
|
|
889
890
|
}
|
|
890
891
|
|
|
891
|
-
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, className, renderLink, children, }: BlogSearchResultsListProps) => react_jsx_runtime.JSX.Element) & {
|
|
892
|
+
declare const BlogSearchResultsList: (({ items, searchResult, onSearchChange, onSearchSubmit, searchValue, searchInputProps, className, renderLink, children, }: BlogSearchResultsListProps) => react_jsx_runtime.JSX.Element) & {
|
|
892
893
|
Search: ({ children }: BlogSearchResultsListSearchProps) => react_jsx_runtime.JSX.Element;
|
|
893
894
|
Pagination: ({ children, }: BlogSearchResultsListPaginationProps) => react_jsx_runtime.JSX.Element;
|
|
894
895
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -2649,7 +2649,7 @@ var MiniBanner = ({
|
|
|
2649
2649
|
const goBackNode = slots == null ? void 0 : slots.goBack;
|
|
2650
2650
|
return /* @__PURE__ */ jsxs("div", { className: clsx15(MiniBanner_module_default.minibanner, MiniBanner_module_default[variant], className), children: [
|
|
2651
2651
|
((background == null ? void 0 : background.src) || ((_d = background == null ? void 0 : background.desktop) == null ? void 0 : _d.src) || ((_e = background == null ? void 0 : background.mobile) == null ? void 0 : _e.src)) && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: MiniBanner_module_default.background }, background)),
|
|
2652
|
-
/* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.wrapper, children: [
|
|
2652
|
+
/* @__PURE__ */ jsx(Container, { children: /* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.wrapper, children: [
|
|
2653
2653
|
/* @__PURE__ */ jsxs("div", { className: MiniBanner_module_default.textContainer, children: [
|
|
2654
2654
|
(logo == null ? void 0 : logo.src) && /* @__PURE__ */ jsx(Picture, __spreadValues({ className: MiniBanner_module_default.logo }, logo)),
|
|
2655
2655
|
pretitleNode && /* @__PURE__ */ jsx("div", { className: clsx15(MiniBanner_module_default.pretitle, "small"), children: pretitleNode }),
|
|
@@ -2684,7 +2684,7 @@ var MiniBanner = ({
|
|
|
2684
2684
|
key
|
|
2685
2685
|
);
|
|
2686
2686
|
}) })
|
|
2687
|
-
] })
|
|
2687
|
+
] }) })
|
|
2688
2688
|
] });
|
|
2689
2689
|
};
|
|
2690
2690
|
|
|
@@ -3857,6 +3857,7 @@ var BlogSearchResultsList = ({
|
|
|
3857
3857
|
onSearchChange,
|
|
3858
3858
|
onSearchSubmit,
|
|
3859
3859
|
searchValue,
|
|
3860
|
+
searchInputProps,
|
|
3860
3861
|
className,
|
|
3861
3862
|
renderLink,
|
|
3862
3863
|
children
|
|
@@ -3875,7 +3876,7 @@ var BlogSearchResultsList = ({
|
|
|
3875
3876
|
/* @__PURE__ */ jsxs("div", { className: clsx15("wrapper", BlogSearchResultsList_module_default["wrapper"]), children: [
|
|
3876
3877
|
/* @__PURE__ */ jsx(
|
|
3877
3878
|
Input,
|
|
3878
|
-
{
|
|
3879
|
+
__spreadValues({
|
|
3879
3880
|
className: clsx15("search-input", BlogSearchResultsList_module_default["search-input"]),
|
|
3880
3881
|
startAdornment: /* @__PURE__ */ jsx(Icon, { type: "search" }),
|
|
3881
3882
|
placeholder: "Search News",
|
|
@@ -3893,7 +3894,7 @@ var BlogSearchResultsList = ({
|
|
|
3893
3894
|
onChange: (e) => {
|
|
3894
3895
|
onSearchChange(e.target.value);
|
|
3895
3896
|
}
|
|
3896
|
-
}
|
|
3897
|
+
}, searchInputProps)
|
|
3897
3898
|
),
|
|
3898
3899
|
/* @__PURE__ */ jsx(BlogCardGrid2, { items, hasContainer: false, renderLink })
|
|
3899
3900
|
] }),
|