@nnc-digital/nnc-design-system 1.0.0-alpha40 → 1.0.0-alpha41

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.
@@ -30672,7 +30672,7 @@ var DirectoryService = function (_a) {
30672
30672
  React.createElement("table", null,
30673
30673
  React.createElement("thead", null,
30674
30674
  React.createElement("tr", null,
30675
- React.createElement("th", { scope: "col" }, "Weekday"),
30675
+ React.createElement("th", { scope: "col" }, "Opening days"),
30676
30676
  React.createElement("th", { scope: "col" }, "Opens"),
30677
30677
  React.createElement("th", { scope: "col" }, "Closes"))),
30678
30678
  React.createElement("tbody", null, regular_schedules === null || regular_schedules === void 0 ? void 0 : regular_schedules.map(function (schedule, scheduleIndex) { return (React.createElement("tr", { key: scheduleIndex },
@@ -32975,7 +32975,7 @@ QRCode.defaultProps = defaultProps;
32975
32975
  var _default = lib.default = QRCode;
32976
32976
 
32977
32977
  var DirectoryShortList = function (_a) {
32978
- var directoryPath = _a.directoryPath;
32978
+ _a.directoryPath;
32979
32979
  var _b = useDirectoryShortListContext(), favourites = _b.favourites.favourites, clearShortlist = _b.clearShortlist;
32980
32980
  var _c = useState(false), notServer = _c[0], setNotServer = _c[1];
32981
32981
  useEffect(function () {
@@ -32999,7 +32999,7 @@ var DirectoryShortList = function (_a) {
32999
32999
  data = favourites.map(function (favourite) {
33000
33000
  var _a, _b, _c, _d;
33001
33001
  var address = favourite.addresses.length > 0 ? formatAddress(favourite.addresses[0]) : '';
33002
- return "\nName: ".concat(favourite.name, "\nLink: ").concat(directoryPath, "/").concat(favourite.id, "\nAddress: ").concat(address, "\nEmail: ").concat((_a = favourite.email) !== null && _a !== void 0 ? _a : '', "\nWebsite: ").concat((_b = favourite.website) !== null && _b !== void 0 ? _b : '', "\nTelephone: ").concat((_c = favourite.phone) !== null && _c !== void 0 ? _c : '', "\nAbout: ").concat((_d = favourite.snippet.replace(/(\r\n|\n|\r)/gm, '').replace(/\s+/g, ' ')) !== null && _d !== void 0 ? _d : '', "\n\n ");
33002
+ return "\nName: ".concat(favourite.name, "\nLink: ").concat(favourite.id, "\nAddress: ").concat(address, "\nEmail: ").concat((_a = favourite.email) !== null && _a !== void 0 ? _a : '', "\nWebsite: ").concat((_b = favourite.website) !== null && _b !== void 0 ? _b : '', "\nTelephone: ").concat((_c = favourite.phone) !== null && _c !== void 0 ? _c : '', "\nAbout: ").concat((_d = favourite.snippet.replace(/(\r\n|\n|\r)/gm, '').replace(/\s+/g, ' ')) !== null && _d !== void 0 ? _d : '', "\n\n ");
33003
33003
  });
33004
33004
  _b.label = 1;
33005
33005
  case 1:
@@ -33030,14 +33030,14 @@ var DirectoryShortList = function (_a) {
33030
33030
  React.createElement(FavouriteContainer, null,
33031
33031
  React.createElement(Row$1, null,
33032
33032
  React.createElement(Column, { small: "full", medium: "full", large: "full" },
33033
- React.createElement(ServiceLink, { href: "".concat(directoryPath, "/").concat(favourite.id) }, favourite.name),
33033
+ React.createElement(ServiceLink, { href: "".concat(favourite.id) }, favourite.name),
33034
33034
  React.createElement(PrintLink, null,
33035
- React.createElement("p", null, "".concat(directoryPath, "/").concat(favourite.id)))),
33035
+ React.createElement("p", null, "".concat(favourite.id)))),
33036
33036
  React.createElement(Column, { small: "full", medium: "full", large: "one-half" },
33037
33037
  React.createElement(SnippetContainer, null,
33038
33038
  React.createElement("div", null, favourite.snippet),
33039
33039
  React.createElement(QRCodeContainer, null,
33040
- React.createElement(_default, { value: "".concat(directoryPath, "/").concat(favourite.id), size: 256, style: { height: 'auto', maxWidth: '100%', width: '100%' }, viewBox: "0 0 256 256" }))),
33040
+ React.createElement(_default, { value: "".concat(favourite.id), size: 256, style: { height: 'auto', maxWidth: '100%', width: '100%' }, viewBox: "0 0 256 256" }))),
33041
33041
  ((_a = favourite.addresses) === null || _a === void 0 ? void 0 : _a.length) > 0 && (React.createElement(React.Fragment, null,
33042
33042
  React.createElement(AddressContainer, null,
33043
33043
  React.createElement(SubTitle, null, "Address"),