@digital-b2c/coreui-kit 0.16.1 → 0.16.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/LICENSE.txt +21 -21
- package/README.md +52 -52
- package/dist/index.cjs +12 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +9 -1
- package/dist/index.css.map +1 -1
- package/dist/index.mjs +12 -4
- package/dist/index.mjs.map +1 -1
- package/dist/types/global.d.ts +25 -25
- package/package.json +101 -100
package/dist/index.mjs
CHANGED
|
@@ -1391,7 +1391,7 @@ var ResourceCardItem = ({ item, view, variant, renderLink }) => {
|
|
|
1391
1391
|
/* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardBody, children: [
|
|
1392
1392
|
/* @__PURE__ */ jsxs("div", { children: [
|
|
1393
1393
|
/* @__PURE__ */ jsx(ConditionalWrapper, { condition: hasHref, wrapper: linkWrapper, children: /* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardIconTitle, children: [
|
|
1394
|
-
/* @__PURE__ */ jsx(Icon, { type: getIcon(), size: 33 }),
|
|
1394
|
+
/* @__PURE__ */ jsx(Icon, { type: getIcon(), size: item.type === "pdf" ? 37 : 33 }),
|
|
1395
1395
|
/* @__PURE__ */ jsx("span", { className: ResourceCardItem_module_default.cardTitle, id: `title-${item.id}`, children: item.title })
|
|
1396
1396
|
] }) }),
|
|
1397
1397
|
item.bodyText && /* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardBodyTextGrid, children: [
|
|
@@ -1415,7 +1415,13 @@ var ResourceCardItem = ({ item, view, variant, renderLink }) => {
|
|
|
1415
1415
|
] }),
|
|
1416
1416
|
/* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardListHeader, children: [
|
|
1417
1417
|
/* @__PURE__ */ jsx(ConditionalWrapper, { condition: hasHref, wrapper: linkWrapper, children: /* @__PURE__ */ jsxs("div", { className: ResourceCardItem_module_default.cardListRight, children: [
|
|
1418
|
-
/* @__PURE__ */ jsx(
|
|
1418
|
+
/* @__PURE__ */ jsx(
|
|
1419
|
+
Icon,
|
|
1420
|
+
{
|
|
1421
|
+
type: item.type === "pdf" ? "pdf" : "externalLink",
|
|
1422
|
+
size: item.type === "pdf" ? 37 : 33
|
|
1423
|
+
}
|
|
1424
|
+
),
|
|
1419
1425
|
/* @__PURE__ */ jsx("span", { className: ResourceCardItem_module_default.cardTitle, children: item.title })
|
|
1420
1426
|
] }) }),
|
|
1421
1427
|
item.bodyText && /* @__PURE__ */ jsx("div", { className: ResourceCardItem_module_default.cardBodyTextList, children: /* @__PURE__ */ jsx("span", { className: ResourceCardItem_module_default.cardBodyText, children: item.bodyText }) })
|
|
@@ -1429,6 +1435,7 @@ var Sidebar_module_default = {
|
|
|
1429
1435
|
sidebarItem: "Sidebar_module_sidebarItem",
|
|
1430
1436
|
active: "Sidebar_module_active",
|
|
1431
1437
|
sidebarMobile: "Sidebar_module_sidebarMobile",
|
|
1438
|
+
label: "Sidebar_module_label",
|
|
1432
1439
|
hamburger: "Sidebar_module_hamburger",
|
|
1433
1440
|
notificationDot: "Sidebar_module_notificationDot"
|
|
1434
1441
|
};
|
|
@@ -1468,7 +1475,7 @@ var Sidebar = ({
|
|
|
1468
1475
|
}
|
|
1469
1476
|
},
|
|
1470
1477
|
children: [
|
|
1471
|
-
/* @__PURE__ */ jsx("span", { children: cat.label }),
|
|
1478
|
+
/* @__PURE__ */ jsx("span", { className: Sidebar_module_default.label, children: cat.label }),
|
|
1472
1479
|
cat.hasNotification && /* @__PURE__ */ jsx("span", { className: Sidebar_module_default.notificationDot, "aria-label": "New" })
|
|
1473
1480
|
]
|
|
1474
1481
|
},
|
|
@@ -4499,6 +4506,7 @@ var ResourcesGridList_module_default = {
|
|
|
4499
4506
|
mobileSidebarOverlayOpen: "ResourcesGridList_module_mobileSidebarOverlayOpen",
|
|
4500
4507
|
mobileCategoriesPanel: "ResourcesGridList_module_mobileCategoriesPanel",
|
|
4501
4508
|
mobileCategoriesList: "ResourcesGridList_module_mobileCategoriesList",
|
|
4509
|
+
label: "ResourcesGridList_module_label",
|
|
4502
4510
|
mobileSidebarItem: "ResourcesGridList_module_mobileSidebarItem",
|
|
4503
4511
|
active: "ResourcesGridList_module_active",
|
|
4504
4512
|
mobileSidebarCloseColumn: "ResourcesGridList_module_mobileSidebarCloseColumn",
|
|
@@ -4621,7 +4629,7 @@ var ResourcesGridList = ({
|
|
|
4621
4629
|
}
|
|
4622
4630
|
},
|
|
4623
4631
|
children: [
|
|
4624
|
-
/* @__PURE__ */ jsx("span", { children: cat.label }),
|
|
4632
|
+
/* @__PURE__ */ jsx("span", { className: ResourcesGridList_module_default.label, children: cat.label }),
|
|
4625
4633
|
cat.hasNotification && /* @__PURE__ */ jsx("span", { className: ResourcesGridList_module_default.notificationDot, "aria-label": "New" })
|
|
4626
4634
|
]
|
|
4627
4635
|
},
|