northants-design-system 1.3.0-alpha.1 → 1.3.0-alpha.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/build/index.js
CHANGED
|
@@ -26253,8 +26253,15 @@ var PromotedServicesTabContent = function (_a) {
|
|
|
26253
26253
|
React__default.default.createElement("span", null, tab.title),
|
|
26254
26254
|
React__default.default.createElement(ChevronIcon, { direction: contentIndex === activeTab ? 'up' : 'down', colourFill: "#000" })),
|
|
26255
26255
|
React__default.default.createElement(TabContent, { "$isActive": contentIndex === activeTab, id: "promoted-services-tabpanel-".concat(contentIndex), "aria-labelledby": "promoted-services-tab-".concat(contentIndex), role: "tabpanel" },
|
|
26256
|
-
React__default.default.createElement(Row$1, null,
|
|
26257
|
-
React__default.default.createElement(
|
|
26256
|
+
React__default.default.createElement(Row$1, null,
|
|
26257
|
+
tab.services.map(function (serviceLink, serviceLinkIndex) { return (React__default.default.createElement(Column, { key: serviceLinkIndex, small: "full", medium: "one-half", large: "one-third" },
|
|
26258
|
+
React__default.default.createElement(ServiceLink$3, { href: serviceLink.url }, serviceLink.title))); }),
|
|
26259
|
+
tab.url && (React__default.default.createElement(Column, { small: "full", medium: "one-half", large: "one-third" },
|
|
26260
|
+
React__default.default.createElement(ServiceLink$3, { href: tab.url },
|
|
26261
|
+
"All ",
|
|
26262
|
+
tab.title.toLowerCase(),
|
|
26263
|
+
" ",
|
|
26264
|
+
tab.title.endsWith('services') ? '' : 'services'))))))); })));
|
|
26258
26265
|
};
|
|
26259
26266
|
|
|
26260
26267
|
/**
|