@digital-b2c/coreui-kit 0.16.0 → 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/dist/index.cjs +13 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +9 -5
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +85 -86
- package/dist/index.d.ts +85 -86
- package/dist/index.mjs +13 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1400,7 +1400,7 @@ var ResourceCardItem = ({ item, view, variant, renderLink }) => {
|
|
|
1400
1400
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: ResourceCardItem_module_default.cardBody, children: [
|
|
1401
1401
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
1402
1402
|
/* @__PURE__ */ jsxRuntime.jsx(ConditionalWrapper, { condition: hasHref, wrapper: linkWrapper, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: ResourceCardItem_module_default.cardIconTitle, children: [
|
|
1403
|
-
/* @__PURE__ */ jsxRuntime.jsx(Icon, { type: getIcon(), size: 33 }),
|
|
1403
|
+
/* @__PURE__ */ jsxRuntime.jsx(Icon, { type: getIcon(), size: item.type === "pdf" ? 37 : 33 }),
|
|
1404
1404
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: ResourceCardItem_module_default.cardTitle, id: `title-${item.id}`, children: item.title })
|
|
1405
1405
|
] }) }),
|
|
1406
1406
|
item.bodyText && /* @__PURE__ */ jsxRuntime.jsxs("div", { className: ResourceCardItem_module_default.cardBodyTextGrid, children: [
|
|
@@ -1424,7 +1424,13 @@ var ResourceCardItem = ({ item, view, variant, renderLink }) => {
|
|
|
1424
1424
|
] }),
|
|
1425
1425
|
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: ResourceCardItem_module_default.cardListHeader, children: [
|
|
1426
1426
|
/* @__PURE__ */ jsxRuntime.jsx(ConditionalWrapper, { condition: hasHref, wrapper: linkWrapper, children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: ResourceCardItem_module_default.cardListRight, children: [
|
|
1427
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1427
|
+
/* @__PURE__ */ jsxRuntime.jsx(
|
|
1428
|
+
Icon,
|
|
1429
|
+
{
|
|
1430
|
+
type: item.type === "pdf" ? "pdf" : "externalLink",
|
|
1431
|
+
size: item.type === "pdf" ? 37 : 33
|
|
1432
|
+
}
|
|
1433
|
+
),
|
|
1428
1434
|
/* @__PURE__ */ jsxRuntime.jsx("span", { className: ResourceCardItem_module_default.cardTitle, children: item.title })
|
|
1429
1435
|
] }) }),
|
|
1430
1436
|
item.bodyText && /* @__PURE__ */ jsxRuntime.jsx("div", { className: ResourceCardItem_module_default.cardBodyTextList, children: /* @__PURE__ */ jsxRuntime.jsx("span", { className: ResourceCardItem_module_default.cardBodyText, children: item.bodyText }) })
|
|
@@ -1438,6 +1444,7 @@ var Sidebar_module_default = {
|
|
|
1438
1444
|
sidebarItem: "Sidebar_module_sidebarItem",
|
|
1439
1445
|
active: "Sidebar_module_active",
|
|
1440
1446
|
sidebarMobile: "Sidebar_module_sidebarMobile",
|
|
1447
|
+
label: "Sidebar_module_label",
|
|
1441
1448
|
hamburger: "Sidebar_module_hamburger",
|
|
1442
1449
|
notificationDot: "Sidebar_module_notificationDot"
|
|
1443
1450
|
};
|
|
@@ -1477,7 +1484,7 @@ var Sidebar = ({
|
|
|
1477
1484
|
}
|
|
1478
1485
|
},
|
|
1479
1486
|
children: [
|
|
1480
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { children: cat.label }),
|
|
1487
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: Sidebar_module_default.label, children: cat.label }),
|
|
1481
1488
|
cat.hasNotification && /* @__PURE__ */ jsxRuntime.jsx("span", { className: Sidebar_module_default.notificationDot, "aria-label": "New" })
|
|
1482
1489
|
]
|
|
1483
1490
|
},
|
|
@@ -3247,7 +3254,6 @@ var Navigation_module_default = {
|
|
|
3247
3254
|
dropdownLinks: "Navigation_module_dropdownLinks",
|
|
3248
3255
|
dropdownLinkItem: "Navigation_module_dropdownLinkItem",
|
|
3249
3256
|
dropdownLink: "Navigation_module_dropdownLink",
|
|
3250
|
-
dropdownLinkActive: "Navigation_module_dropdownLinkActive",
|
|
3251
3257
|
dropdownDivider: "Navigation_module_dropdownDivider",
|
|
3252
3258
|
dropdownInfo: "Navigation_module_dropdownInfo",
|
|
3253
3259
|
dropdownDescription: "Navigation_module_dropdownDescription",
|
|
@@ -3478,7 +3484,7 @@ var NavigationDropdown = ({
|
|
|
3478
3484
|
"a",
|
|
3479
3485
|
{
|
|
3480
3486
|
href: (_a = sub.cta) == null ? void 0 : _a.url,
|
|
3481
|
-
className:
|
|
3487
|
+
className: Navigation_module_default.dropdownLink,
|
|
3482
3488
|
target: ((_b = sub.cta) == null ? void 0 : _b.isExternal) ? "_blank" : void 0,
|
|
3483
3489
|
rel: ((_c = sub.cta) == null ? void 0 : _c.isExternal) ? "noopener noreferrer" : void 0,
|
|
3484
3490
|
onKeyDown: (e) => handleLinkKeyDown(e, i === 0, i === links.length - 1),
|
|
@@ -4509,6 +4515,7 @@ var ResourcesGridList_module_default = {
|
|
|
4509
4515
|
mobileSidebarOverlayOpen: "ResourcesGridList_module_mobileSidebarOverlayOpen",
|
|
4510
4516
|
mobileCategoriesPanel: "ResourcesGridList_module_mobileCategoriesPanel",
|
|
4511
4517
|
mobileCategoriesList: "ResourcesGridList_module_mobileCategoriesList",
|
|
4518
|
+
label: "ResourcesGridList_module_label",
|
|
4512
4519
|
mobileSidebarItem: "ResourcesGridList_module_mobileSidebarItem",
|
|
4513
4520
|
active: "ResourcesGridList_module_active",
|
|
4514
4521
|
mobileSidebarCloseColumn: "ResourcesGridList_module_mobileSidebarCloseColumn",
|
|
@@ -4631,7 +4638,7 @@ var ResourcesGridList = ({
|
|
|
4631
4638
|
}
|
|
4632
4639
|
},
|
|
4633
4640
|
children: [
|
|
4634
|
-
/* @__PURE__ */ jsxRuntime.jsx("span", { children: cat.label }),
|
|
4641
|
+
/* @__PURE__ */ jsxRuntime.jsx("span", { className: ResourcesGridList_module_default.label, children: cat.label }),
|
|
4635
4642
|
cat.hasNotification && /* @__PURE__ */ jsxRuntime.jsx("span", { className: ResourcesGridList_module_default.notificationDot, "aria-label": "New" })
|
|
4636
4643
|
]
|
|
4637
4644
|
},
|