@digital-b2c/coreui-kit 0.11.6 → 0.11.8
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 +18 -15
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +18 -0
- package/dist/index.css.map +1 -1
- package/dist/index.mjs +18 -15
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3357,7 +3357,7 @@ var ResourcesGridList = ({
|
|
|
3357
3357
|
),
|
|
3358
3358
|
/* @__PURE__ */ jsxRuntime.jsx("div", { className: clsx15__default.default(ResourcesGridList_module_default.cardsArea, ResourcesGridList_module_default[view]), children: paginatedItems.map((item, i) => {
|
|
3359
3359
|
var _a2;
|
|
3360
|
-
return /* @__PURE__ */ jsxRuntime.jsx(ResourceCardItem, { item, view }, (_a2 = item.
|
|
3360
|
+
return /* @__PURE__ */ jsxRuntime.jsx(ResourceCardItem, { item, view }, (_a2 = item.href) != null ? _a2 : i);
|
|
3361
3361
|
}) })
|
|
3362
3362
|
] }),
|
|
3363
3363
|
totalPages > 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -3626,6 +3626,7 @@ var NewsCardList_module_default = {
|
|
|
3626
3626
|
"news-card-list": "NewsCardList_module_news-card-list",
|
|
3627
3627
|
container: "NewsCardList_module_container",
|
|
3628
3628
|
wrapper: "NewsCardList_module_wrapper",
|
|
3629
|
+
"card-wrapper": "NewsCardList_module_card-wrapper",
|
|
3629
3630
|
"search-input": "NewsCardList_module_search-input",
|
|
3630
3631
|
"end-action-button": "NewsCardList_module_end-action-button",
|
|
3631
3632
|
pagination: "NewsCardList_module_pagination"
|
|
@@ -3660,7 +3661,7 @@ var NewsCardList = ({
|
|
|
3660
3661
|
className: clsx15__default.default("search-input", NewsCardList_module_default["search-input"]),
|
|
3661
3662
|
startAdornment: /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "search" }),
|
|
3662
3663
|
placeholder: "Search News",
|
|
3663
|
-
endAction: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3664
|
+
endAction: searchValue ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3664
3665
|
Button,
|
|
3665
3666
|
{
|
|
3666
3667
|
variant: "nofillblack",
|
|
@@ -3669,23 +3670,25 @@ var NewsCardList = ({
|
|
|
3669
3670
|
onClick: onSearchSubmit ? () => onSearchSubmit(searchValue || "") : void 0,
|
|
3670
3671
|
children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "rightBlack" })
|
|
3671
3672
|
}
|
|
3672
|
-
),
|
|
3673
|
+
) : null,
|
|
3673
3674
|
value: searchValue,
|
|
3674
3675
|
onChange: onSearchChange ? (e) => {
|
|
3675
3676
|
onSearchChange(e.target.value);
|
|
3676
3677
|
} : void 0
|
|
3677
3678
|
}, searchInputProps)
|
|
3678
3679
|
),
|
|
3679
|
-
|
|
3680
|
-
|
|
3681
|
-
|
|
3682
|
-
|
|
3683
|
-
|
|
3684
|
-
|
|
3685
|
-
|
|
3686
|
-
|
|
3687
|
-
|
|
3688
|
-
|
|
3680
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: clsx15__default.default("card-wrapper", NewsCardList_module_default["card-wrapper"]), children: [
|
|
3681
|
+
currentPage === 1 && /* @__PURE__ */ jsxRuntime.jsx(
|
|
3682
|
+
FeaturedNewsHighlights2,
|
|
3683
|
+
{
|
|
3684
|
+
items: featuredCards,
|
|
3685
|
+
backgroundColor: "#fff",
|
|
3686
|
+
hasContainer: false,
|
|
3687
|
+
renderLink
|
|
3688
|
+
}
|
|
3689
|
+
),
|
|
3690
|
+
/* @__PURE__ */ jsxRuntime.jsx(BlogCardGrid2, { items: cards, hasContainer: false, renderLink })
|
|
3691
|
+
] })
|
|
3689
3692
|
] }),
|
|
3690
3693
|
totalPages ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3691
3694
|
Pagination,
|
|
@@ -3810,7 +3813,7 @@ var BlogSearchResultsList = ({
|
|
|
3810
3813
|
className: clsx15__default.default("search-input", BlogSearchResultsList_module_default["search-input"]),
|
|
3811
3814
|
startAdornment: /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "search" }),
|
|
3812
3815
|
placeholder: "Search News",
|
|
3813
|
-
endAction: /* @__PURE__ */ jsxRuntime.jsx(
|
|
3816
|
+
endAction: searchValue ? /* @__PURE__ */ jsxRuntime.jsx(
|
|
3814
3817
|
Button,
|
|
3815
3818
|
{
|
|
3816
3819
|
variant: "nofillblack",
|
|
@@ -3819,7 +3822,7 @@ var BlogSearchResultsList = ({
|
|
|
3819
3822
|
onClick: () => onSearchSubmit(searchValue),
|
|
3820
3823
|
children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { type: "rightBlack" })
|
|
3821
3824
|
}
|
|
3822
|
-
),
|
|
3825
|
+
) : null,
|
|
3823
3826
|
value: searchValue,
|
|
3824
3827
|
onChange: (e) => {
|
|
3825
3828
|
onSearchChange(e.target.value);
|