@digital-b2c/coreui-kit 0.11.1 → 0.11.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 CHANGED
@@ -3751,14 +3751,18 @@ var BlogSearchResultsList_module_default = {
3751
3751
  "search-result": "BlogSearchResultsList_module_search-result",
3752
3752
  wrapper: "BlogSearchResultsList_module_wrapper",
3753
3753
  "search-input": "BlogSearchResultsList_module_search-input",
3754
- "end-action-button": "BlogSearchResultsList_module_end-action-button"
3754
+ "end-action-button": "BlogSearchResultsList_module_end-action-button",
3755
+ pagination: "BlogSearchResultsList_module_pagination"
3755
3756
  };
3756
3757
  var BlogSearchResultsList = ({
3757
3758
  items,
3758
3759
  searchResult,
3759
3760
  onSearchChange,
3760
3761
  onSearchSubmit,
3762
+ onPageChange,
3761
3763
  searchValue,
3764
+ currentPage,
3765
+ totalPages = 0,
3762
3766
  className,
3763
3767
  renderLink,
3764
3768
  children
@@ -3796,7 +3800,17 @@ var BlogSearchResultsList = ({
3796
3800
  }
3797
3801
  ),
3798
3802
  /* @__PURE__ */ jsxRuntime.jsx(BlogCardGrid2, { items, hasContainer: false, renderLink })
3799
- ] })
3803
+ ] }),
3804
+ totalPages ? /* @__PURE__ */ jsxRuntime.jsx(
3805
+ Pagination,
3806
+ {
3807
+ currentPage: currentPage || 1,
3808
+ totalPages: totalPages || 0,
3809
+ onPageChange,
3810
+ className: clsx15__default.default("pagination", BlogSearchResultsList_module_default["pagination"]),
3811
+ hasNumber: true
3812
+ }
3813
+ ) : null
3800
3814
  ] }) });
3801
3815
  };
3802
3816