@nnc-digital/nnc-design-system 1.0.0-alpha43 → 1.0.0-alpha44
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
|
@@ -30176,7 +30176,7 @@ var ServiceContact = function (_a) {
|
|
|
30176
30176
|
React__default.default.createElement(IconContainer$1, null,
|
|
30177
30177
|
React__default.default.createElement(WebsiteIcon, { colourFill: themeContext.theme_vars.colours.black })),
|
|
30178
30178
|
React__default.default.createElement(Content$1, null,
|
|
30179
|
-
React__default.default.createElement(WebLink$1, { href: website }, websiteTitle ? "".concat(websiteTitle
|
|
30179
|
+
React__default.default.createElement(WebLink$1, { href: website }, websiteTitle ? "".concat(websiteTitle) : website)))),
|
|
30180
30180
|
email && (React__default.default.createElement(Column, { small: "full", medium: "full", large: "auto", classes: "striped-contacts" },
|
|
30181
30181
|
React__default.default.createElement(IconContainer$1, null,
|
|
30182
30182
|
React__default.default.createElement(EmailIcon, { colourFill: themeContext.theme_vars.colours.black })),
|
|
@@ -30604,7 +30604,7 @@ var getIcon = function (profile) {
|
|
|
30604
30604
|
|
|
30605
30605
|
var DirectoryService = function (_a) {
|
|
30606
30606
|
var _b, _c, _d, _e;
|
|
30607
|
-
var id = _a.id, name = _a.name, accreditations = _a.accreditations, _f = _a.ageInMonths, ageInMonths = _f === void 0 ? false : _f, description = _a.description, descriptionElement = _a.descriptionElement, eligibilitys = _a.eligibilitys, email = _a.email, fees = _a.fees, languages = _a.languages, organization = _a.organization, regular_schedules = _a.regular_schedules, contacts = _a.contacts, service_areas = _a.service_areas, service_at_locations = _a.service_at_locations, service_social_profiles = _a.service_social_profiles, service_taxonomys = _a.service_taxonomys, taxonomiesToShow = _a.taxonomiesToShow, url = _a.url, uploads = _a.uploads, shortListPath = _a.shortListPath;
|
|
30607
|
+
var id = _a.id, name = _a.name, accreditations = _a.accreditations, _f = _a.ageInMonths, ageInMonths = _f === void 0 ? false : _f, description = _a.description, descriptionElement = _a.descriptionElement, eligibilitys = _a.eligibilitys, email = _a.email, fees = _a.fees, languages = _a.languages, organization = _a.organization, regular_schedules = _a.regular_schedules, contacts = _a.contacts, service_areas = _a.service_areas, service_at_locations = _a.service_at_locations, service_social_profiles = _a.service_social_profiles, service_taxonomys = _a.service_taxonomys, taxonomiesToShow = _a.taxonomiesToShow, url = _a.url, websiteUrlTitle = _a.websiteUrlTitle, uploads = _a.uploads, shortListPath = _a.shortListPath;
|
|
30608
30608
|
var labelLetters = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L'];
|
|
30609
30609
|
var _g = React.useState(false), notServer = _g[0], setNotServer = _g[1];
|
|
30610
30610
|
var themeContext = React.useContext(styled.ThemeContext);
|
|
@@ -30677,7 +30677,7 @@ var DirectoryService = function (_a) {
|
|
|
30677
30677
|
React__default.default.createElement(MapLink, { href: "https://www.google.com/maps/search/?api=1&query=".concat(service_at_locations[0].latitude, "%2C").concat(service_at_locations[0].longitude) }, "View in Google Maps"))))))),
|
|
30678
30678
|
(email || url || (contacts === null || contacts === void 0 ? void 0 : contacts.length) > 0) && (React__default.default.createElement(Column, { small: "full", medium: "full", large: "full", classes: "striped-column" },
|
|
30679
30679
|
React__default.default.createElement(Heading, { level: 2, text: "How to contact this service" }),
|
|
30680
|
-
React__default.default.createElement(ServiceContact, { email: email, website: url, contacts: contacts }))),
|
|
30680
|
+
React__default.default.createElement(ServiceContact, { email: email, website: url, websiteTitle: websiteUrlTitle, contacts: contacts }))),
|
|
30681
30681
|
React__default.default.createElement(Column, { small: "full", medium: "full", large: "full", classes: "striped-column" },
|
|
30682
30682
|
React__default.default.createElement(Heading, { level: 2, text: "Description" }),
|
|
30683
30683
|
React__default.default.createElement("div", null,
|