@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.mjs.js
CHANGED
|
@@ -30163,7 +30163,7 @@ var ServiceContact = function (_a) {
|
|
|
30163
30163
|
React.createElement(IconContainer$1, null,
|
|
30164
30164
|
React.createElement(WebsiteIcon, { colourFill: themeContext.theme_vars.colours.black })),
|
|
30165
30165
|
React.createElement(Content$1, null,
|
|
30166
|
-
React.createElement(WebLink$1, { href: website }, websiteTitle ? "".concat(websiteTitle
|
|
30166
|
+
React.createElement(WebLink$1, { href: website }, websiteTitle ? "".concat(websiteTitle) : website)))),
|
|
30167
30167
|
email && (React.createElement(Column, { small: "full", medium: "full", large: "auto", classes: "striped-contacts" },
|
|
30168
30168
|
React.createElement(IconContainer$1, null,
|
|
30169
30169
|
React.createElement(EmailIcon, { colourFill: themeContext.theme_vars.colours.black })),
|
|
@@ -30591,7 +30591,7 @@ var getIcon = function (profile) {
|
|
|
30591
30591
|
|
|
30592
30592
|
var DirectoryService = function (_a) {
|
|
30593
30593
|
var _b, _c, _d, _e;
|
|
30594
|
-
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;
|
|
30594
|
+
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;
|
|
30595
30595
|
var labelLetters = ['A', 'B', 'C', 'D', 'E', 'F', 'G', 'H', 'I', 'J', 'K', 'L'];
|
|
30596
30596
|
var _g = useState(false), notServer = _g[0], setNotServer = _g[1];
|
|
30597
30597
|
var themeContext = useContext(ThemeContext);
|
|
@@ -30664,7 +30664,7 @@ var DirectoryService = function (_a) {
|
|
|
30664
30664
|
React.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"))))))),
|
|
30665
30665
|
(email || url || (contacts === null || contacts === void 0 ? void 0 : contacts.length) > 0) && (React.createElement(Column, { small: "full", medium: "full", large: "full", classes: "striped-column" },
|
|
30666
30666
|
React.createElement(Heading, { level: 2, text: "How to contact this service" }),
|
|
30667
|
-
React.createElement(ServiceContact, { email: email, website: url, contacts: contacts }))),
|
|
30667
|
+
React.createElement(ServiceContact, { email: email, website: url, websiteTitle: websiteUrlTitle, contacts: contacts }))),
|
|
30668
30668
|
React.createElement(Column, { small: "full", medium: "full", large: "full", classes: "striped-column" },
|
|
30669
30669
|
React.createElement(Heading, { level: 2, text: "Description" }),
|
|
30670
30670
|
React.createElement("div", null,
|