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

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.
Files changed (541) hide show
  1. package/build/index.d.ts +42 -42
  2. package/build/index.js +395 -147
  3. package/build/index.js.map +1 -1
  4. package/build/index.mjs.js +395 -147
  5. package/build/index.mjs.js.map +1 -1
  6. package/build/library/components/AlphabeticalDirectory/AlphabeticalDirectory.d.ts +4 -4
  7. package/build/library/components/AlphabeticalDirectory/AlphabeticalDirectory.types.d.ts +26 -26
  8. package/build/library/components/Autocomplete/Autocomplete.d.ts +9 -9
  9. package/build/library/components/Autocomplete/Autocomplete.storydata.d.ts +47 -47
  10. package/build/library/components/Autocomplete/Autocomplete.test.d.ts +1 -0
  11. package/build/library/components/Autocomplete/Autocomplete.types.d.ts +78 -78
  12. package/build/library/components/BackToTop/BackToTop.d.ts +4 -4
  13. package/build/library/components/BackToTop/BackToTop.test.d.ts +1 -0
  14. package/build/library/components/BackToTop/BackToTop.types.d.ts +6 -6
  15. package/build/library/components/BinCollection/BinCollection.d.ts +7 -7
  16. package/build/library/components/BinCollection/BinCollection.styles.d.ts +2937 -15
  17. package/build/library/components/BinCollection/BinCollection.test.d.ts +1 -0
  18. package/build/library/components/BinCollection/BinCollection.testdata.d.ts +34 -34
  19. package/build/library/components/BinCollection/BinCollection.types.d.ts +68 -69
  20. package/build/library/components/Button/Button.d.ts +7 -7
  21. package/build/library/components/Button/Button.types.d.ts +43 -43
  22. package/build/library/components/Card/Card.d.ts +7 -7
  23. package/build/library/components/Card/Card.test.d.ts +1 -0
  24. package/build/library/components/Card/Card.types.d.ts +36 -36
  25. package/build/library/components/CheckboxListFilter/CheckboxListFilter.d.ts +4 -4
  26. package/build/library/components/CheckboxListFilter/CheckboxListFilter.test.d.ts +1 -0
  27. package/build/library/components/CheckboxListFilter/CheckboxListFilter.types.d.ts +36 -36
  28. package/build/library/components/Column/Column.d.ts +4 -4
  29. package/build/library/components/Column/Column.test.d.ts +1 -0
  30. package/build/library/components/Column/Column.types.d.ts +35 -36
  31. package/build/library/components/CustomSearch/CustomSearch.d.ts +4 -4
  32. package/build/library/components/CustomSearch/CustomSearch.storydata.d.ts +2 -2
  33. package/build/library/components/CustomSearch/CustomSearch.test.d.ts +1 -0
  34. package/build/library/components/CustomSearch/CustomSearch.types.d.ts +34 -34
  35. package/build/library/components/DropDownFilter/DropDownFilter.d.ts +4 -4
  36. package/build/library/components/DropDownFilter/DropDownFilter.types.d.ts +32 -32
  37. package/build/library/components/DropDownSelect/DropDownSelect.d.ts +4 -4
  38. package/build/library/components/DropDownSelect/DropDownSelect.types.d.ts +36 -36
  39. package/build/library/components/DynamicIcon/DynamicIcon.d.ts +7 -7
  40. package/build/library/components/DynamicIcon/DynamicIcon.test.d.ts +1 -0
  41. package/build/library/components/DynamicIcon/DynamicIcon.types.d.ts +10 -10
  42. package/build/library/components/FileDownload/FileDownload.d.ts +7 -7
  43. package/build/library/components/FileDownload/FileDownload.test.d.ts +1 -0
  44. package/build/library/components/FileDownload/FileDownload.types.d.ts +22 -22
  45. package/build/library/components/FormButton/FormButton.d.ts +7 -7
  46. package/build/library/components/FormButton/FormButton.types.d.ts +26 -27
  47. package/build/library/components/FormWithLine/FormWithLine.d.ts +7 -7
  48. package/build/library/components/FormWithLine/FormWithLine.types.d.ts +39 -39
  49. package/build/library/components/Heading/Heading.d.ts +7 -7
  50. package/build/library/components/Heading/Heading.types.d.ts +10 -10
  51. package/build/library/components/HeadingWithIcon/HeadingWithIcon.d.ts +7 -7
  52. package/build/library/components/HeadingWithIcon/HeadingWithIcon.test.d.ts +1 -0
  53. package/build/library/components/HeadingWithIcon/HeadingWithIcon.types.d.ts +18 -18
  54. package/build/library/components/HeadingWithIconLink/HeadingWithIconLink.d.ts +4 -4
  55. package/build/library/components/HeadingWithIconLink/HeadingWithIconLink.test.d.ts +1 -0
  56. package/build/library/components/HeadingWithIconLink/HeadingWithIconLink.types.d.ts +14 -14
  57. package/build/library/components/HintText/HintText.d.ts +7 -7
  58. package/build/library/components/HintText/HintText.types.d.ts +6 -6
  59. package/build/library/components/Input/Input.d.ts +8 -8
  60. package/build/library/components/Input/Input.types.d.ts +52 -45
  61. package/build/library/components/LoadingSpinner/LoadingSpinner.d.ts +4 -4
  62. package/build/library/components/LoadingSpinner/LoadingSpinner.types.d.ts +2 -2
  63. package/build/library/components/Map/Map.d.ts +7 -7
  64. package/build/library/components/Map/Map.types.d.ts +15 -16
  65. package/build/library/components/MapMarker/MapMarker.d.ts +6 -7
  66. package/build/library/components/Pagination/Pagination.d.ts +4 -4
  67. package/build/library/components/Pagination/Pagination.test.d.ts +1 -0
  68. package/build/library/components/Pagination/Pagination.types.d.ts +23 -23
  69. package/build/library/components/PostCodeAddressDropdown/PostCodeAddressDropdown.d.ts +7 -7
  70. package/build/library/components/PostCodeAddressDropdown/PostCodeAddressDropdown.types.d.ts +2 -2
  71. package/build/library/components/PostCodeAddressSearch/PostCodeAddressSearch.d.ts +7 -7
  72. package/build/library/components/PostCodeAddressSearch/PostCodeAddressSearch.types.d.ts +23 -23
  73. package/build/library/components/PostCodeAddressTable/PostCodeAddressTable.d.ts +4 -4
  74. package/build/library/components/PostCodeAddressTable/PostCodeAddressTable.types.d.ts +2 -2
  75. package/build/library/components/PostCodeSearch/PostCodeSearch.d.ts +7 -7
  76. package/build/library/components/PostCodeSearch/PostCodeSearch.test.d.ts +1 -0
  77. package/build/library/components/PostCodeSearch/PostCodeSearch.types.d.ts +52 -52
  78. package/build/library/components/PromotedLinks/PromotedLinks.d.ts +4 -4
  79. package/build/library/components/PromotedLinks/PromotedLinks.test.d.ts +1 -0
  80. package/build/library/components/PromotedLinks/PromotedLinks.types.d.ts +20 -20
  81. package/build/library/components/RadioCheckboxInput/RadioCheckboxInput.d.ts +4 -4
  82. package/build/library/components/RadioCheckboxInput/RadioCheckboxInput.test.d.ts +1 -0
  83. package/build/library/components/RadioCheckboxInput/RadioCheckboxInput.types.d.ts +26 -27
  84. package/build/library/components/RemovableTag/RemovableTag.d.ts +4 -4
  85. package/build/library/components/RemovableTag/RemovableTag.types.d.ts +8 -8
  86. package/build/library/components/RemoveAllFilters/RemoveAllFilters.d.ts +4 -4
  87. package/build/library/components/RemoveAllFilters/RemoveAllFilters.types.d.ts +3 -3
  88. package/build/library/components/Row/Row.d.ts +4 -4
  89. package/build/library/components/Row/Row.test.d.ts +1 -0
  90. package/build/library/components/Row/Row.types.d.ts +20 -20
  91. package/build/library/components/SignpostLinksList/SignpostLinksList.d.ts +4 -4
  92. package/build/library/components/SignpostLinksList/SignpostLinksList.types.d.ts +24 -24
  93. package/build/library/components/SortBy/SortBy.d.ts +4 -4
  94. package/build/library/components/SortBy/SortBy.types.d.ts +20 -20
  95. package/build/library/components/StaticMap/StaticMap.d.ts +7 -7
  96. package/build/library/components/StaticMap/StaticMap.test.d.ts +1 -0
  97. package/build/library/components/StaticMap/StaticMap.types.d.ts +52 -52
  98. package/build/library/components/SummaryList/SummaryList.d.ts +4 -4
  99. package/build/library/components/SummaryList/SummaryList.test.d.ts +1 -0
  100. package/build/library/components/SummaryList/SummaryList.types.d.ts +21 -21
  101. package/build/library/components/TextInput/TextInput.d.ts +7 -7
  102. package/build/library/components/TextInput/TextInput.types.d.ts +38 -38
  103. package/build/library/components/icons/ChevronIcon/ChevronIcon.d.ts +4 -4
  104. package/build/library/components/icons/ChevronIcon/ChevronIcon.types.d.ts +10 -10
  105. package/build/library/components/icons/CloseIcon/CloseIcon.d.ts +4 -4
  106. package/build/library/components/icons/CloseIcon/CloseIcon.types.d.ts +6 -6
  107. package/build/library/components/icons/DownloadFileIcon/DownloadFileIcon.d.ts +4 -4
  108. package/build/library/components/icons/DownloadFileIcon/DownloadFileIcon.types.d.ts +6 -6
  109. package/build/library/components/icons/EmailIcon/EmailIcon.d.ts +4 -4
  110. package/build/library/components/icons/EmailIcon/EmailIcon.types.d.ts +6 -6
  111. package/build/library/components/icons/FacebookIcon/Icon.d.ts +4 -4
  112. package/build/library/components/icons/HeartIcon/HeartIcon.d.ts +7 -7
  113. package/build/library/components/icons/HeartIcon/HeartIcon.types.d.ts +6 -6
  114. package/build/library/components/icons/InstagramIcon/Icon.d.ts +4 -4
  115. package/build/library/components/icons/LinkIcon/LinkIcon.d.ts +4 -4
  116. package/build/library/components/icons/LinkIcon/LinkIcon.types.d.ts +6 -6
  117. package/build/library/components/icons/LinkedInIcon/Icon.d.ts +4 -4
  118. package/build/library/components/icons/PhoneIcon/PhoneIcon.d.ts +4 -4
  119. package/build/library/components/icons/PhoneIcon/PhoneIcon.types.d.ts +6 -6
  120. package/build/library/components/icons/PinIcon/PinIcon.d.ts +7 -7
  121. package/build/library/components/icons/PinIcon/PinIcon.types.d.ts +6 -6
  122. package/build/library/components/icons/SearchIcon/SearchIcon.d.ts +4 -4
  123. package/build/library/components/icons/SearchIcon/SearchIcon.types.d.ts +6 -6
  124. package/build/library/components/icons/TwitterIcon/Icon.d.ts +4 -4
  125. package/build/library/components/icons/WebsiteIcon/WebsiteIcon.d.ts +4 -4
  126. package/build/library/components/icons/WebsiteIcon/WebsiteIcon.types.d.ts +6 -6
  127. package/build/library/components/icons/YouTubeIcon/Icon.d.ts +4 -4
  128. package/build/library/components/icons/services/AccessibleParking/Icon.d.ts +4 -4
  129. package/build/library/components/icons/services/AccessibleParking/IconHover.d.ts +4 -4
  130. package/build/library/components/icons/services/Address/Icon.d.ts +4 -4
  131. package/build/library/components/icons/services/Address/IconHover.d.ts +4 -4
  132. package/build/library/components/icons/services/AddressChange/Icon.d.ts +4 -4
  133. package/build/library/components/icons/services/AddressChange/IconHover.d.ts +4 -4
  134. package/build/library/components/icons/services/Adults/Icon.d.ts +4 -4
  135. package/build/library/components/icons/services/Adults/IconHover.d.ts +4 -4
  136. package/build/library/components/icons/services/AssistiveTechnology/Icon.d.ts +4 -4
  137. package/build/library/components/icons/services/AssistiveTechnology/IconHover.d.ts +4 -4
  138. package/build/library/components/icons/services/Benefits/Icon.d.ts +4 -4
  139. package/build/library/components/icons/services/Benefits/IconHover.d.ts +4 -4
  140. package/build/library/components/icons/services/BinDay/Icon.d.ts +4 -4
  141. package/build/library/components/icons/services/BinDay/IconHover.d.ts +4 -4
  142. package/build/library/components/icons/services/Bins/Icon.d.ts +4 -4
  143. package/build/library/components/icons/services/Bins/IconHover.d.ts +4 -4
  144. package/build/library/components/icons/services/BirthCertificate/Icon.d.ts +4 -4
  145. package/build/library/components/icons/services/BirthCertificate/IconHover.d.ts +4 -4
  146. package/build/library/components/icons/services/Births/Icon.d.ts +4 -4
  147. package/build/library/components/icons/services/Births/IconHover.d.ts +4 -4
  148. package/build/library/components/icons/services/Bollard/Icon.d.ts +4 -4
  149. package/build/library/components/icons/services/Bollard/IconHover.d.ts +4 -4
  150. package/build/library/components/icons/services/BulkWaste/Icon.d.ts +4 -4
  151. package/build/library/components/icons/services/BulkWaste/IconHover.d.ts +4 -4
  152. package/build/library/components/icons/services/Bus/Icon.d.ts +4 -4
  153. package/build/library/components/icons/services/Bus/IconHover.d.ts +4 -4
  154. package/build/library/components/icons/services/BusPass/Icon.d.ts +4 -4
  155. package/build/library/components/icons/services/BusPass/IconHover.d.ts +4 -4
  156. package/build/library/components/icons/services/Business/Icon.d.ts +4 -4
  157. package/build/library/components/icons/services/Business/IconHover.d.ts +4 -4
  158. package/build/library/components/icons/services/Careers/Icon.d.ts +4 -4
  159. package/build/library/components/icons/services/Careers/IconHover.d.ts +4 -4
  160. package/build/library/components/icons/services/Cash/Icon.d.ts +4 -4
  161. package/build/library/components/icons/services/Cash/IconHover.d.ts +4 -4
  162. package/build/library/components/icons/services/Catalogue/Icon.d.ts +4 -4
  163. package/build/library/components/icons/services/Catalogue/IconHover.d.ts +4 -4
  164. package/build/library/components/icons/services/Ceremony/Icon.d.ts +4 -4
  165. package/build/library/components/icons/services/Ceremony/IconHover.d.ts +4 -4
  166. package/build/library/components/icons/services/Charity/Icon.d.ts +4 -4
  167. package/build/library/components/icons/services/Charity/IconHover.d.ts +4 -4
  168. package/build/library/components/icons/services/Children/Icon.d.ts +4 -4
  169. package/build/library/components/icons/services/Children/IconHover.d.ts +4 -4
  170. package/build/library/components/icons/services/Computer/Icon.d.ts +4 -4
  171. package/build/library/components/icons/services/Computer/IconHover.d.ts +4 -4
  172. package/build/library/components/icons/services/CondolenceBook/Icon.d.ts +4 -4
  173. package/build/library/components/icons/services/CondolenceBook/IconHover.d.ts +4 -4
  174. package/build/library/components/icons/services/Cooking/Icon.d.ts +4 -4
  175. package/build/library/components/icons/services/Cooking/IconHover.d.ts +4 -4
  176. package/build/library/components/icons/services/Council/Icon.d.ts +4 -4
  177. package/build/library/components/icons/services/Council/IconHover.d.ts +4 -4
  178. package/build/library/components/icons/services/CouncilTax/Icon.d.ts +4 -4
  179. package/build/library/components/icons/services/CouncilTax/IconHover.d.ts +4 -4
  180. package/build/library/components/icons/services/Covid/Icon.d.ts +4 -4
  181. package/build/library/components/icons/services/Covid/IconHover.d.ts +4 -4
  182. package/build/library/components/icons/services/Culture/Icon.d.ts +4 -4
  183. package/build/library/components/icons/services/Culture/IconHover.d.ts +4 -4
  184. package/build/library/components/icons/services/CultureNorth/Icon.d.ts +4 -4
  185. package/build/library/components/icons/services/CultureNorth/IconHover.d.ts +4 -4
  186. package/build/library/components/icons/services/CultureWest/Icon.d.ts +4 -4
  187. package/build/library/components/icons/services/CultureWest/IconHover.d.ts +4 -4
  188. package/build/library/components/icons/services/DOLS/Icon.d.ts +4 -4
  189. package/build/library/components/icons/services/DOLS/IconHover.d.ts +4 -4
  190. package/build/library/components/icons/services/DeathCertificate/Icon.d.ts +4 -4
  191. package/build/library/components/icons/services/DeathCertificate/IconHover.d.ts +4 -4
  192. package/build/library/components/icons/services/Democracy/Icon.d.ts +4 -4
  193. package/build/library/components/icons/services/Democracy/IconHover.d.ts +4 -4
  194. package/build/library/components/icons/services/DogFouling/Icon.d.ts +4 -4
  195. package/build/library/components/icons/services/DogFouling/IconHover.d.ts +4 -4
  196. package/build/library/components/icons/services/Ebook/Icon.d.ts +4 -4
  197. package/build/library/components/icons/services/Ebook/IconHover.d.ts +4 -4
  198. package/build/library/components/icons/services/Edit/Icon.d.ts +4 -4
  199. package/build/library/components/icons/services/Edit/IconHover.d.ts +4 -4
  200. package/build/library/components/icons/services/Environment/Icon.d.ts +4 -4
  201. package/build/library/components/icons/services/Environment/IconHover.d.ts +4 -4
  202. package/build/library/components/icons/services/Events/Icon.d.ts +4 -4
  203. package/build/library/components/icons/services/Events/IconHover.d.ts +4 -4
  204. package/build/library/components/icons/services/Finance/Icon.d.ts +4 -4
  205. package/build/library/components/icons/services/Finance/IconHover.d.ts +4 -4
  206. package/build/library/components/icons/services/Flower/Icon.d.ts +4 -4
  207. package/build/library/components/icons/services/Flower/IconHover.d.ts +4 -4
  208. package/build/library/components/icons/services/FlyTip/Icon.d.ts +4 -4
  209. package/build/library/components/icons/services/FlyTip/IconHover.d.ts +4 -4
  210. package/build/library/components/icons/services/FoodWaste/Icon.d.ts +4 -4
  211. package/build/library/components/icons/services/FoodWaste/IconHover.d.ts +4 -4
  212. package/build/library/components/icons/services/GiveNotice/Icon.d.ts +4 -4
  213. package/build/library/components/icons/services/GiveNotice/IconHover.d.ts +4 -4
  214. package/build/library/components/icons/services/GovUK/Icon.d.ts +4 -4
  215. package/build/library/components/icons/services/GovUK/IconHover.d.ts +4 -4
  216. package/build/library/components/icons/services/Graffiti/Icon.d.ts +4 -4
  217. package/build/library/components/icons/services/Graffiti/IconHover.d.ts +4 -4
  218. package/build/library/components/icons/services/Highway/Icon.d.ts +4 -4
  219. package/build/library/components/icons/services/Highway/IconHover.d.ts +4 -4
  220. package/build/library/components/icons/services/HouseMoney/Icon.d.ts +4 -4
  221. package/build/library/components/icons/services/HouseMoney/IconHover.d.ts +4 -4
  222. package/build/library/components/icons/services/Housing/Icon.d.ts +4 -4
  223. package/build/library/components/icons/services/Housing/IconHover.d.ts +4 -4
  224. package/build/library/components/icons/services/Icon.types.d.ts +6 -6
  225. package/build/library/components/icons/services/Independence/Icon.d.ts +4 -4
  226. package/build/library/components/icons/services/Independence/IconHover.d.ts +4 -4
  227. package/build/library/components/icons/services/KeepingHealthy/Icon.d.ts +4 -4
  228. package/build/library/components/icons/services/KeepingHealthy/IconHover.d.ts +4 -4
  229. package/build/library/components/icons/services/Libraries/Icon.d.ts +4 -4
  230. package/build/library/components/icons/services/Libraries/IconHover.d.ts +4 -4
  231. package/build/library/components/icons/services/Litter/Icon.d.ts +4 -4
  232. package/build/library/components/icons/services/Litter/IconHover.d.ts +4 -4
  233. package/build/library/components/icons/services/LookingAfterYourself/Icon.d.ts +4 -4
  234. package/build/library/components/icons/services/LookingAfterYourself/IconHover.d.ts +4 -4
  235. package/build/library/components/icons/services/MapPin/Icon.d.ts +4 -4
  236. package/build/library/components/icons/services/MapPin/IconHover.d.ts +4 -4
  237. package/build/library/components/icons/services/Member/Icon.d.ts +4 -4
  238. package/build/library/components/icons/services/Member/IconHover.d.ts +4 -4
  239. package/build/library/components/icons/services/MentalHealth/Icon.d.ts +4 -4
  240. package/build/library/components/icons/services/MentalHealth/IconHover.d.ts +4 -4
  241. package/build/library/components/icons/services/MissedBin/Icon.d.ts +4 -4
  242. package/build/library/components/icons/services/MissedBin/IconHover.d.ts +4 -4
  243. package/build/library/components/icons/services/New/Icon.d.ts +4 -4
  244. package/build/library/components/icons/services/New/IconHover.d.ts +4 -4
  245. package/build/library/components/icons/services/OccupationalTherapy/Icon.d.ts +4 -4
  246. package/build/library/components/icons/services/OccupationalTherapy/IconHover.d.ts +4 -4
  247. package/build/library/components/icons/services/ParkEvent/Icon.d.ts +4 -4
  248. package/build/library/components/icons/services/ParkEvent/IconHover.d.ts +4 -4
  249. package/build/library/components/icons/services/Parking/Icon.d.ts +4 -4
  250. package/build/library/components/icons/services/Parking/IconHover.d.ts +4 -4
  251. package/build/library/components/icons/services/ParkingTicket/Icon.d.ts +4 -4
  252. package/build/library/components/icons/services/ParkingTicket/IconHover.d.ts +4 -4
  253. package/build/library/components/icons/services/Pay/Icon.d.ts +4 -4
  254. package/build/library/components/icons/services/Pay/IconHover.d.ts +4 -4
  255. package/build/library/components/icons/services/PhonePay/Icon.d.ts +4 -4
  256. package/build/library/components/icons/services/PhonePay/IconHover.d.ts +4 -4
  257. package/build/library/components/icons/services/Planning/Icon.d.ts +4 -4
  258. package/build/library/components/icons/services/Planning/IconHover.d.ts +4 -4
  259. package/build/library/components/icons/services/Pothole/Icon.d.ts +4 -4
  260. package/build/library/components/icons/services/Pothole/IconHover.d.ts +4 -4
  261. package/build/library/components/icons/services/PreventingFalls/Icon.d.ts +4 -4
  262. package/build/library/components/icons/services/PreventingFalls/IconHover.d.ts +4 -4
  263. package/build/library/components/icons/services/Protect/Icon.d.ts +4 -4
  264. package/build/library/components/icons/services/Protect/IconHover.d.ts +4 -4
  265. package/build/library/components/icons/services/RatePay/Icon.d.ts +4 -4
  266. package/build/library/components/icons/services/RatePay/IconHover.d.ts +4 -4
  267. package/build/library/components/icons/services/RegisterBirth/Icon.d.ts +4 -4
  268. package/build/library/components/icons/services/RegisterBirth/IconHover.d.ts +4 -4
  269. package/build/library/components/icons/services/RegisterDeath/Icon.d.ts +4 -4
  270. package/build/library/components/icons/services/RegisterDeath/IconHover.d.ts +4 -4
  271. package/build/library/components/icons/services/Report/Icon.d.ts +4 -4
  272. package/build/library/components/icons/services/Report/IconHover.d.ts +4 -4
  273. package/build/library/components/icons/services/Restrict/Icon.d.ts +4 -4
  274. package/build/library/components/icons/services/Restrict/IconHover.d.ts +4 -4
  275. package/build/library/components/icons/services/RoadWorks/Icon.d.ts +4 -4
  276. package/build/library/components/icons/services/RoadWorks/IconHover.d.ts +4 -4
  277. package/build/library/components/icons/services/Roads/Icon.d.ts +4 -4
  278. package/build/library/components/icons/services/Roads/IconHover.d.ts +4 -4
  279. package/build/library/components/icons/services/RoyalWebsite/Icon.d.ts +4 -4
  280. package/build/library/components/icons/services/RoyalWebsite/IconHover.d.ts +4 -4
  281. package/build/library/components/icons/services/SEND/Icon.d.ts +4 -4
  282. package/build/library/components/icons/services/SEND/IconHover.d.ts +4 -4
  283. package/build/library/components/icons/services/Safety/Icon.d.ts +4 -4
  284. package/build/library/components/icons/services/Safety/IconHover.d.ts +4 -4
  285. package/build/library/components/icons/services/SchoolAdmissions/Icon.d.ts +4 -4
  286. package/build/library/components/icons/services/SchoolAdmissions/IconHover.d.ts +4 -4
  287. package/build/library/components/icons/services/Schools/Icon.d.ts +4 -4
  288. package/build/library/components/icons/services/Schools/IconHover.d.ts +4 -4
  289. package/build/library/components/icons/services/ServicesIcons.d.ts +173 -174
  290. package/build/library/components/icons/services/SinglePerson/Icon.d.ts +4 -4
  291. package/build/library/components/icons/services/SinglePerson/IconHover.d.ts +4 -4
  292. package/build/library/components/icons/services/Sports/Icon.d.ts +4 -4
  293. package/build/library/components/icons/services/Sports/IconHover.d.ts +4 -4
  294. package/build/library/components/icons/services/Valuation/Icon.d.ts +4 -4
  295. package/build/library/components/icons/services/Valuation/IconHover.d.ts +4 -4
  296. package/build/library/components/icons/services/Venue/Icon.d.ts +4 -4
  297. package/build/library/components/icons/services/Venue/IconHover.d.ts +4 -4
  298. package/build/library/components/icons/services/WasteChecklist/Icon.d.ts +4 -4
  299. package/build/library/components/icons/services/WasteChecklist/IconHover.d.ts +4 -4
  300. package/build/library/components/icons/services/WasteSorting/Icon.d.ts +4 -4
  301. package/build/library/components/icons/services/WasteSorting/IconHover.d.ts +4 -4
  302. package/build/library/components/logos/GDSLogo/logo.d.ts +4 -4
  303. package/build/library/components/logos/GDSLogo/logo.types.d.ts +2 -2
  304. package/build/library/components/logos/NorthColouredLogo/logo.d.ts +4 -4
  305. package/build/library/components/logos/NorthColouredLogo/logo.types.d.ts +2 -2
  306. package/build/library/components/logos/NorthWhiteLogo/logo.d.ts +4 -4
  307. package/build/library/components/logos/NorthWhiteLogo/logo.types.d.ts +2 -2
  308. package/build/library/components/logos/WestColouredLogo/logo.d.ts +4 -4
  309. package/build/library/components/logos/WestColouredLogo/logo.types.d.ts +2 -2
  310. package/build/library/components/logos/WestWhiteLogo/logo.d.ts +4 -4
  311. package/build/library/components/logos/WestWhiteLogo/logo.types.d.ts +2 -2
  312. package/build/library/contexts/DirectoryShortListProvider/DirectoryShortListProvider.d.ts +4 -4
  313. package/build/library/contexts/DirectoryShortListProvider/DirectoryShortListProvider.types.d.ts +55 -41
  314. package/build/library/contexts/PostCodeAddressProvider/PostCodeAddressProvider.d.ts +6 -6
  315. package/build/library/contexts/PostCodeAddressProvider/PostCodeAddressProvider.types.d.ts +18 -18
  316. package/build/library/directory/DirectoryAddToShortList/DirectoryAddToShortList.d.ts +4 -4
  317. package/build/library/directory/DirectoryAddToShortList/DirectoryAddToShortList.test.d.ts +1 -0
  318. package/build/library/directory/DirectoryAddToShortList/DirectoryAddToShortList.types.d.ts +35 -26
  319. package/build/library/directory/DirectoryDocumentList/DirectoryDocumentList.d.ts +4 -4
  320. package/build/library/directory/DirectoryDocumentList/DirectoryDocumentList.storydata.d.ts +4 -4
  321. package/build/library/directory/DirectoryDocumentList/DirectoryDocumentList.test.d.ts +1 -0
  322. package/build/library/directory/DirectoryDocumentList/DirectoryDocumentList.types.d.ts +67 -63
  323. package/build/library/directory/DirectoryMap/DirectoryMap.d.ts +4 -4
  324. package/build/library/directory/DirectoryMap/DirectoryMap.types.d.ts +11 -11
  325. package/build/library/directory/DirectoryService/DirectoryService.d.ts +4 -4
  326. package/build/library/directory/DirectoryService/DirectoryService.storydata.d.ts +5 -4
  327. package/build/library/directory/DirectoryService/DirectoryService.test.d.ts +1 -0
  328. package/build/library/directory/DirectoryService/DirectoryService.types.d.ts +278 -278
  329. package/build/library/directory/DirectoryService/DirectoryServiceTransform.d.ts +8 -8
  330. package/build/library/directory/DirectoryService/DirectoryServiceTransform.test.d.ts +1 -0
  331. package/build/library/directory/DirectoryServiceList/DirectoryServiceList.d.ts +4 -4
  332. package/build/library/directory/DirectoryServiceList/DirectoryServiceList.storydata.d.ts +6 -6
  333. package/build/library/directory/DirectoryServiceList/DirectoryServiceList.test.d.ts +1 -0
  334. package/build/library/directory/DirectoryServiceList/DirectoryServiceList.types.d.ts +148 -136
  335. package/build/library/directory/DirectoryShortList/DirectoryShortList.d.ts +4 -4
  336. package/build/library/directory/DirectoryShortList/DirectoryShortList.test.d.ts +1 -0
  337. package/build/library/directory/DirectoryShortList/DirectoryShortList.types.d.ts +6 -6
  338. package/build/library/directory/ServiceContact/ServiceContact.d.ts +4 -4
  339. package/build/library/directory/ServiceContact/ServiceContact.test.d.ts +1 -0
  340. package/build/library/directory/ServiceContact/ServiceContact.types.d.ts +42 -42
  341. package/build/library/directory/ServiceSocialLinks/ServiceSocialLinks.d.ts +4 -4
  342. package/build/library/directory/ServiceSocialLinks/ServiceSocialLinks.storydata.d.ts +2 -2
  343. package/build/library/directory/ServiceSocialLinks/ServiceSocialLinks.test.d.ts +1 -0
  344. package/build/library/directory/ServiceSocialLinks/ServiceSocialLinks.types.d.ts +24 -24
  345. package/build/library/helpers/UseLocalStorage.d.ts +2 -2
  346. package/build/library/helpers/api-helpers.d.ts +120 -120
  347. package/build/library/pages/ContentPage/ContentPage.d.ts +4 -4
  348. package/build/library/pages/ContentPage/ContentPage.storydata.d.ts +10 -10
  349. package/build/library/pages/CouncilTaxPageExample/CouncilTaxPageExample.d.ts +5 -5
  350. package/build/library/pages/CouncilTaxParishPageExample/CouncilTaxParishPageExample.d.ts +5 -5
  351. package/build/library/pages/DirectoryServicePage/DirectoryServicePage.d.ts +2 -2
  352. package/build/library/pages/ErrorPage/ErrorPage.d.ts +6 -6
  353. package/build/library/pages/Home/HomePage.d.ts +8 -8
  354. package/build/library/pages/Home/HomePage.types.d.ts +60 -60
  355. package/build/library/pages/MemorialPage/MemorialPage.d.ts +8 -8
  356. package/build/library/pages/MemorialPage/MemorialPage.types.d.ts +59 -59
  357. package/build/library/pages/News/News.d.ts +5 -5
  358. package/build/library/pages/NewsArticle/NewsArticle.d.ts +7 -7
  359. package/build/library/pages/SearchResultsPageExample/SearchResultsPageExample.d.ts +29 -29
  360. package/build/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.d.ts +3 -3
  361. package/build/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.storydata.d.ts +30 -30
  362. package/build/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.types.d.ts +52 -52
  363. package/build/library/pages/ServicePageExample/ServicePageExample.d.ts +7 -7
  364. package/build/library/pages/SignpostPageExample/SignpostPageExample.d.ts +7 -7
  365. package/build/library/pages/Templates/Templates.d.ts +8 -8
  366. package/build/library/slices/Accordion/Accordion.d.ts +4 -4
  367. package/build/library/slices/Accordion/Accordion.test.d.ts +1 -0
  368. package/build/library/slices/Accordion/Accordion.types.d.ts +52 -53
  369. package/build/library/slices/Accordion/AccordionSection.d.ts +4 -4
  370. package/build/library/slices/BlockQuote/BlockQuote.d.ts +4 -4
  371. package/build/library/slices/BlockQuote/BlockQuote.types.d.ts +10 -11
  372. package/build/library/slices/CallToAction/CallToAction.d.ts +7 -7
  373. package/build/library/slices/Cards/Cards.d.ts +7 -7
  374. package/build/library/slices/Cards/Cards.test.d.ts +1 -0
  375. package/build/library/slices/Cards/Cards.types.d.ts +7 -7
  376. package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.d.ts +7 -7
  377. package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.storydata.d.ts +4 -4
  378. package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.test.d.ts +1 -0
  379. package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.types.d.ts +81 -81
  380. package/build/library/slices/Divider/Divider.d.ts +4 -4
  381. package/build/library/slices/Divider/Divider.types.d.ts +2 -2
  382. package/build/library/slices/DownloadableFiles/DownloadableFiles.d.ts +4 -4
  383. package/build/library/slices/DownloadableFiles/DownloadableFiles.types.d.ts +7 -7
  384. package/build/library/slices/GoogleMap/GoogleMap.d.ts +7 -7
  385. package/build/library/slices/GoogleMap/GoogleMap.storydata.d.ts +44 -44
  386. package/build/library/slices/GoogleMap/GoogleMap.test.d.ts +1 -0
  387. package/build/library/slices/GoogleMap/GoogleMap.types.d.ts +28 -28
  388. package/build/library/slices/Image/Image.d.ts +8 -8
  389. package/build/library/slices/Image/Image.storydata.d.ts +2 -2
  390. package/build/library/slices/Image/Image.test.d.ts +1 -0
  391. package/build/library/slices/Image/Image.types.d.ts +26 -26
  392. package/build/library/slices/ImageAndText/ImageAndText.d.ts +7 -7
  393. package/build/library/slices/ImageAndText/ImageAndText.storydata.d.ts +2 -2
  394. package/build/library/slices/ImageAndText/ImageAndText.test.d.ts +1 -0
  395. package/build/library/slices/ImageAndText/ImageAndText.types.d.ts +15 -15
  396. package/build/library/slices/InquestSchedule/InquestSchedule.d.ts +7 -7
  397. package/build/library/slices/InquestSchedule/InquestSchedule.storydata.d.ts +2 -2
  398. package/build/library/slices/InquestSchedule/InquestSchedule.test.d.ts +1 -0
  399. package/build/library/slices/InquestSchedule/InquestSchedule.types.d.ts +24 -24
  400. package/build/library/slices/Promotions/Promotions.d.ts +7 -7
  401. package/build/library/slices/SearchBox/SearchBox.d.ts +4 -4
  402. package/build/library/slices/SearchBox/SearchBox.storydata.d.ts +2 -2
  403. package/build/library/slices/SearchBox/SearchBox.test.d.ts +1 -0
  404. package/build/library/slices/SearchBox/SearchBox.types.d.ts +41 -41
  405. package/build/library/slices/Video/Video.d.ts +7 -7
  406. package/build/library/slices/Video/Video.test.d.ts +1 -0
  407. package/build/library/slices/Video/Video.types.d.ts +22 -22
  408. package/build/library/slices/WarningText/WarningText.d.ts +7 -7
  409. package/build/library/slices/WarningText/WarningText.test.d.ts +1 -0
  410. package/build/library/slices/WarningText/WarningText.types.d.ts +14 -15
  411. package/build/library/slices/WarningTextDisclaimer/WarningTextDisclaimer.d.ts +4 -4
  412. package/build/library/slices/WarningTextDisclaimer/WarningTextDisclaimer.types.d.ts +2 -2
  413. package/build/library/structure/AccessibleLinks/AccessibleLinks.d.ts +4 -4
  414. package/build/library/structure/AccessibleLinks/AccessibleLinks.types.d.ts +22 -22
  415. package/build/library/structure/AlertBanner/AlertBanner.d.ts +7 -7
  416. package/build/library/structure/AlertBanner/AlertBanner.test.d.ts +1 -0
  417. package/build/library/structure/AlertBanner/AlertBanner.types.d.ts +18 -19
  418. package/build/library/structure/AlertBannerService/AlertBannerService.d.ts +8 -8
  419. package/build/library/structure/AlertBannerService/AlertBannerService.test.d.ts +1 -0
  420. package/build/library/structure/AlertBannerService/AlertBannerService.types.d.ts +18 -19
  421. package/build/library/structure/BackLink/BackLink.d.ts +7 -7
  422. package/build/library/structure/BackLink/BackLink.test.d.ts +1 -0
  423. package/build/library/structure/BackLink/BackLink.types.d.ts +10 -10
  424. package/build/library/structure/Breadcrumbs/Breadcrumbs.d.ts +4 -4
  425. package/build/library/structure/Breadcrumbs/Breadcrumbs.test.d.ts +1 -0
  426. package/build/library/structure/Breadcrumbs/Breadcrumbs.types.d.ts +20 -20
  427. package/build/library/structure/Contents/Contents.d.ts +4 -4
  428. package/build/library/structure/Contents/Contents.storydata.d.ts +2 -2
  429. package/build/library/structure/Contents/Contents.test.d.ts +1 -0
  430. package/build/library/structure/Contents/Contents.types.d.ts +24 -24
  431. package/build/library/structure/ContentsNavigation/ContentsNavigation.d.ts +4 -4
  432. package/build/library/structure/ContentsNavigation/ContentsNavigation.test.d.ts +1 -0
  433. package/build/library/structure/CookieBanner/CookieBanner.d.ts +6 -6
  434. package/build/library/structure/CookieBanner/CookieBanner.types.d.ts +30 -31
  435. package/build/library/structure/CookieBanner/CookieClear.d.ts +5 -5
  436. package/build/library/structure/DisplayDate/DisplayDate.d.ts +7 -7
  437. package/build/library/structure/DisplayDate/DisplayDate.types.d.ts +18 -18
  438. package/build/library/structure/Footer/Footer.d.ts +4 -4
  439. package/build/library/structure/Footer/Footer.test.d.ts +1 -0
  440. package/build/library/structure/Footer/Footer.types.d.ts +24 -24
  441. package/build/library/structure/FullWidthContainer/FullWidthContainer.d.ts +7 -7
  442. package/build/library/structure/FullWidthContainer/FullWidthContainer.test.d.ts +1 -0
  443. package/build/library/structure/FullWidthContainer/FullWidthContainer.types.d.ts +15 -15
  444. package/build/library/structure/Header/Header.d.ts +7 -7
  445. package/build/library/structure/Header/Header.test.d.ts +1 -0
  446. package/build/library/structure/Header/Header.types.d.ts +30 -31
  447. package/build/library/structure/HeroImage/HeroImage.d.ts +8 -8
  448. package/build/library/structure/HeroImage/HeroImage.storydata.d.ts +6 -6
  449. package/build/library/structure/HeroImage/HeroImage.test.d.ts +1 -0
  450. package/build/library/structure/HeroImage/HeroImage.types.d.ts +52 -48
  451. package/build/library/structure/HomeHero/HomeHero.d.ts +7 -7
  452. package/build/library/structure/HomeHero/HomeHero.storydata.d.ts +14 -14
  453. package/build/library/structure/HomeHero/HomeHero.test.d.ts +1 -0
  454. package/build/library/structure/HomeHero/HomeHero.types.d.ts +54 -54
  455. package/build/library/structure/MaxWidthContainer/MaxWidthContainer.d.ts +7 -7
  456. package/build/library/structure/MaxWidthContainer/MaxWidthContainer.types.d.ts +22 -23
  457. package/build/library/structure/MemorialHero/MemorialHero.d.ts +4 -4
  458. package/build/library/structure/MemorialHero/MemorialHero.types.d.ts +27 -27
  459. package/build/library/structure/NewsArticleDate/NewsArticleDate.d.ts +7 -7
  460. package/build/library/structure/NewsArticleDate/NewsArticleDate.types.d.ts +10 -10
  461. package/build/library/structure/NewsArticleFeaturedBlock/NewsArticleFeaturedBlock.d.ts +7 -7
  462. package/build/library/structure/NewsArticleFeaturedBlock/NewsArticleFeaturedBlock.test.d.ts +1 -0
  463. package/build/library/structure/NewsArticleFeaturedBlock/NewsArticleFeaturedBlock.types.d.ts +23 -23
  464. package/build/library/structure/NewsArticleFilterAccordion/NewsArticleFilterAccordion.d.ts +4 -4
  465. package/build/library/structure/NewsArticleFilterAccordion/NewsArticleFilterAccordion.types.d.ts +7 -7
  466. package/build/library/structure/NewsArticleImage/NewsArticleImage.d.ts +7 -7
  467. package/build/library/structure/NewsArticleImage/NewsArticleImage.types.d.ts +18 -18
  468. package/build/library/structure/NewsArticleList/NewsArticleData.d.ts +7 -7
  469. package/build/library/structure/NewsArticleList/NewsArticleList.d.ts +4 -4
  470. package/build/library/structure/NewsArticleList/NewsArticleList.test.d.ts +1 -0
  471. package/build/library/structure/NewsArticleList/NewsArticleList.types.d.ts +28 -28
  472. package/build/library/structure/NewsArticleListHeader/NewsArticleListHeader.d.ts +4 -4
  473. package/build/library/structure/NewsArticleListHeader/NewsArticleListHeader.types.d.ts +6 -6
  474. package/build/library/structure/NewsArticleOldBanner/NewsArticleOldBanner.d.ts +7 -7
  475. package/build/library/structure/NewsArticleOldBanner/NewsArticleOldBanner.types.d.ts +2 -2
  476. package/build/library/structure/PageMain/PageMain.d.ts +7 -7
  477. package/build/library/structure/PageMain/PageMain.test.d.ts +1 -0
  478. package/build/library/structure/PageMain/PageMain.types.d.ts +14 -15
  479. package/build/library/structure/PageSidebar/PageSidebar.d.ts +7 -7
  480. package/build/library/structure/PageSidebar/PageSidebar.types.d.ts +6 -7
  481. package/build/library/structure/PageStructures.d.ts +42 -42
  482. package/build/library/structure/PageTitle/PageTitle.d.ts +7 -7
  483. package/build/library/structure/PageTitle/PageTitle.types.d.ts +11 -11
  484. package/build/library/structure/PageWithSidebarContainer/PageWithSidebarContainer.d.ts +7 -7
  485. package/build/library/structure/PageWithSidebarContainer/PageWithSidebarContainer.types.d.ts +10 -11
  486. package/build/library/structure/PageWrapper/PageWrapper.d.ts +4 -4
  487. package/build/library/structure/PageWrapper/PageWrapper.types.d.ts +11 -11
  488. package/build/library/structure/PhaseBanner/PhaseBanner.d.ts +4 -4
  489. package/build/library/structure/PhaseBanner/PhaseBanner.types.d.ts +3 -3
  490. package/build/library/structure/PromoBanner/PromoBanner.d.ts +8 -8
  491. package/build/library/structure/PromoBanner/PromoBanner.storydata.d.ts +9 -10
  492. package/build/library/structure/PromoBanner/PromoBanner.test.d.ts +1 -0
  493. package/build/library/structure/PromoBanner/PromoBanner.types.d.ts +26 -27
  494. package/build/library/structure/PromoBlock/PromoBlock.d.ts +8 -8
  495. package/build/library/structure/PromoBlock/PromoBlock.storydata.d.ts +5 -5
  496. package/build/library/structure/PromoBlock/PromoBlock.test.d.ts +1 -0
  497. package/build/library/structure/PromoBlock/PromoBlock.types.d.ts +36 -36
  498. package/build/library/structure/SearchHeader/SearchHeader.d.ts +4 -4
  499. package/build/library/structure/SearchHeader/SearchHeader.types.d.ts +2 -2
  500. package/build/library/structure/SearchResultsList/NoResultsMessage.d.ts +3 -3
  501. package/build/library/structure/SearchResultsList/SearchResultsList.d.ts +4 -4
  502. package/build/library/structure/SearchResultsList/SearchResultsList.test.d.ts +1 -0
  503. package/build/library/structure/SearchResultsList/SearchResultsList.types.d.ts +46 -46
  504. package/build/library/structure/Searchbar/Searchbar.d.ts +4 -4
  505. package/build/library/structure/Searchbar/Searchbar.test.d.ts +1 -0
  506. package/build/library/structure/Searchbar/Searchbar.types.d.ts +48 -48
  507. package/build/library/structure/SectionLinks/SectionLinks.d.ts +7 -7
  508. package/build/library/structure/SectionLinks/SectionLinks.storydata.d.ts +2 -2
  509. package/build/library/structure/SectionLinks/SectionLinks.test.d.ts +1 -0
  510. package/build/library/structure/SectionLinks/SectionLinks.types.d.ts +52 -52
  511. package/build/library/structure/SectionLinksMobileContents/SectionLinksMobileContents.d.ts +4 -4
  512. package/build/library/structure/SectionLinksMobileContents/SectionLinksMobileContents.types.d.ts +16 -16
  513. package/build/library/structure/SectionLinksSidebar/SectionLinksSidebar.d.ts +4 -4
  514. package/build/library/structure/SectionLinksSidebar/SectionLinksSidebar.test.d.ts +1 -0
  515. package/build/library/structure/SectionLinksSidebar/SectionLinksSidebar.types.d.ts +34 -34
  516. package/build/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.d.ts +4 -4
  517. package/build/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.storydata.d.ts +9 -9
  518. package/build/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.test.d.ts +1 -0
  519. package/build/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.types.d.ts +53 -53
  520. package/build/library/structure/ServicesLinksList/ServicesLinksList.d.ts +4 -4
  521. package/build/library/structure/ServicesLinksList/ServicesLinksList.test.d.ts +1 -0
  522. package/build/library/structure/ServicesLinksList/ServicesLinksList.types.d.ts +68 -68
  523. package/build/library/structure/SignpostLinks/SignpostLinks.d.ts +4 -4
  524. package/build/library/structure/SignpostLinks/SignpostLinks.types.d.ts +32 -32
  525. package/build/library/structure/SkipToMainContent/SkipToMainContent.d.ts +4 -4
  526. package/build/library/structure/SkipToMainContent/SkipToMainContent.test.d.ts +1 -0
  527. package/build/library/structure/SkipToMainContent/SkipToMainContent.types.d.ts +2 -2
  528. package/build/library/structure/Summary/Summary.d.ts +4 -4
  529. package/build/library/structure/Summary/Summary.test.d.ts +1 -0
  530. package/build/library/structure/Summary/Summary.types.d.ts +15 -15
  531. package/build/src/library/directory/DirectoryAddToShortList/DirectoryAddToShortList.types.d.ts +9 -0
  532. package/build/src/library/directory/DirectoryDocumentList/DirectoryDocumentList.types.d.ts +4 -0
  533. package/build/src/library/directory/DirectoryService/DirectoryService.storydata.d.ts +1 -0
  534. package/build/src/library/directory/DirectoryService/DirectoryServiceTransform.d.ts +1 -1
  535. package/build/src/library/directory/DirectoryService/DirectoryServiceTransform.test.d.ts +1 -0
  536. package/build/src/library/directory/DirectoryServiceList/DirectoryServiceList.types.d.ts +12 -0
  537. package/build/src/library/structure/HeroImage/HeroImage.types.d.ts +6 -2
  538. package/build/themes/ThemeVars.types.d.ts +60 -0
  539. package/package.json +1 -1
  540. package/build/index.esm.js +0 -32377
  541. package/build/index.esm.js.map +0 -1
@@ -7950,6 +7950,8 @@ const Container$_ = styled.div`
7950
7950
  width: 100%;
7951
7951
  display: block;
7952
7952
  box-sizing: border-box;
7953
+ position: sticky;
7954
+ z-index: 1;
7953
7955
  `;
7954
7956
 
7955
7957
  const CookieHide = styled.button`
@@ -22878,7 +22880,7 @@ const InnerContainer$2 = styled.div`
22878
22880
  */
22879
22881
  var AlertBannerService = function (_a) {
22880
22882
  var title = _a.title, _b = _a.hasTopSpacing, hasTopSpacing = _b === void 0 ? false : _b, _c = _a.alertType, alertType = _c === void 0 ? 'alert' : _c, children = _a.children;
22881
- return (React.createElement(Container$L, { "$alertType": alertType, "data-testid": "AlertBannerService", hasTopSpacing: hasTopSpacing },
22883
+ return (React.createElement(Container$L, { "$alertType": alertType, "data-testid": "AlertBannerService", "$hasTopSpacing": hasTopSpacing },
22882
22884
  React.createElement(InnerContainer$2, { "data-testid": "AlertBannerServiceInner" },
22883
22885
  (title === null || title === void 0 ? void 0 : title.trim()) && React.createElement(Heading, { text: title }),
22884
22886
  children)));
@@ -23792,6 +23794,7 @@ const PromoTile = styled.a`
23792
23794
  display: block;
23793
23795
  width: 100%;
23794
23796
  height: 100%;
23797
+ padding: 5px 10px;
23795
23798
  background: ${(props) =>
23796
23799
  props.theme.cardinal_name === 'north'
23797
23800
  ? props.theme.theme_vars.colours.white
@@ -24135,7 +24138,7 @@ var VideoProvider;
24135
24138
  VideoProvider["Vimeo"] = "Vimeo";
24136
24139
  })(VideoProvider || (VideoProvider = {}));
24137
24140
 
24138
- const VideoContainer = styled.figure`
24141
+ const VideoContainer$1 = styled.figure`
24139
24142
  display: block;
24140
24143
  padding-top: 56.25%;
24141
24144
  position: relative;
@@ -24195,7 +24198,7 @@ var Video = function (_a) {
24195
24198
  useEffect(function () {
24196
24199
  setNotServer(true);
24197
24200
  }, []);
24198
- return (React.createElement(React.Fragment, null, cookiesAccepted && notServer ? (React.createElement(VideoContainer, { "data-testid": "Video" },
24201
+ return (React.createElement(React.Fragment, null, cookiesAccepted && notServer ? (React.createElement(VideoContainer$1, { "data-testid": "Video" },
24199
24202
  React.createElement("iframe", { src: embedLink, title: description, allow: "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; fullscreen;", "data-testid": "VideoIframe" }))) : (React.createElement(VideoLink, { href: watchLink, title: description, "data-testid": "VideoLink" }, description))));
24200
24203
  };
24201
24204
 
@@ -24416,7 +24419,7 @@ const Container$E = styled.div`
24416
24419
  button {
24417
24420
  line-height: 1.3;
24418
24421
  color: ${(props) =>
24419
- props.alertType === 'warning' || props.alertType === 'positive'
24422
+ props.$alertType === 'warning' || props.$alertType === 'positive'
24420
24423
  ? props.theme.theme_vars.colours.black
24421
24424
  : props.theme.theme_vars.colours.white} !important;
24422
24425
  }
@@ -24424,7 +24427,7 @@ const Container$E = styled.div`
24424
24427
  a {
24425
24428
  ${(props) => props.theme.linkStyles}
24426
24429
  color: ${(props) =>
24427
- props.alertType === 'warning' || props.alertType === 'positive'
24430
+ props.$alertType === 'warning' || props.$alertType === 'positive'
24428
24431
  ? props.theme.theme_vars.colours.black
24429
24432
  : props.theme.theme_vars.colours.white} !important;
24430
24433
 
@@ -24434,11 +24437,11 @@ const Container$E = styled.div`
24434
24437
  &:focus {
24435
24438
  ${(props) => props.theme.linkStylesFocus}
24436
24439
  color: ${(props) =>
24437
- props.alertType === 'warning' || props.alertType === 'positive'
24440
+ props.$alertType === 'warning' || props.$alertType === 'positive'
24438
24441
  ? props.theme.theme_vars.colours.white
24439
24442
  : props.theme.theme_vars.colours.black} !important;
24440
24443
  background: ${(props) =>
24441
- props.alertType === 'warning' || props.alertType === 'positive'
24444
+ props.$alertType === 'warning' || props.$alertType === 'positive'
24442
24445
  ? props.theme.theme_vars.colours.action
24443
24446
  : props.theme.theme_vars.colours.warning_background} !important;
24444
24447
  }
@@ -24449,7 +24452,7 @@ const Container$E = styled.div`
24449
24452
 
24450
24453
  svg {
24451
24454
  fill: ${(props) =>
24452
- props.alertType === 'warning' || props.alertType === 'positive'
24455
+ props.$alertType === 'warning' || props.$alertType === 'positive'
24453
24456
  ? props.theme.theme_vars.colours.black
24454
24457
  : props.theme.theme_vars.colours.white} !important;
24455
24458
  }
@@ -24493,11 +24496,11 @@ const HideLink = styled.button`
24493
24496
  outline: none;
24494
24497
  border-radius: ${(props) => props.theme.theme_vars.border_radius};
24495
24498
  color: ${(props) =>
24496
- props.alertType === 'warning' || props.alertType === 'positive'
24499
+ props.$alertType === 'warning' || props.$alertType === 'positive'
24497
24500
  ? props.theme.theme_vars.colours.white
24498
24501
  : props.theme.theme_vars.colours.black} !important;
24499
24502
  background: ${(props) =>
24500
- props.alertType === 'warning' || props.alertType === 'positive'
24503
+ props.$alertType === 'warning' || props.$alertType === 'positive'
24501
24504
  ? props.theme.theme_vars.colours.action
24502
24505
  : props.theme.theme_vars.colours.warning_background} !important;
24503
24506
  border-bottom: 3px solid ${(props) => props.theme.theme_vars.colours.black};
@@ -24505,7 +24508,7 @@ const HideLink = styled.button`
24505
24508
  svg {
24506
24509
  path {
24507
24510
  fill: ${(props) =>
24508
- props.alertType === 'warning' || props.alertType === 'positive'
24511
+ props.$alertType === 'warning' || props.$alertType === 'positive'
24509
24512
  ? props.theme.theme_vars.colours.white
24510
24513
  : props.theme.theme_vars.colours.black} !important;
24511
24514
  }
@@ -25226,6 +25229,8 @@ const headerThemeStyles = (props) => {
25226
25229
  const Container$w = styled.header`
25227
25230
  font-family: ${(props) => props.theme.theme_vars.fontstack};
25228
25231
  padding: 3px 0;
25232
+ position: sticky;
25233
+ z-index: 1;
25229
25234
  ${headerThemeStyles}
25230
25235
  `;
25231
25236
 
@@ -25651,6 +25656,7 @@ const InnerContainer = styled.div`
25651
25656
  margin-right: auto;
25652
25657
  margin-left: auto;
25653
25658
  flex-grow: 1;
25659
+ z-index: 1;
25654
25660
 
25655
25661
  @media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.l}) {
25656
25662
  max-width: ${(props) => props.theme.theme_vars.breakpoints.l};
@@ -25772,16 +25778,95 @@ const Search = styled.div`
25772
25778
  margin: ${(props) => props.theme.theme_vars.spacingSizes.medium} 0;
25773
25779
  `;
25774
25780
 
25781
+ const VideoContainer = styled.div`
25782
+ position: absolute;
25783
+ width: 100%;
25784
+ @media screen and (max-width: ${(props) => props.theme.theme_vars.breakpoints.m}) {
25785
+ height: 580px;
25786
+ }
25787
+ @media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.m}) and (max-width: ${(props) => props.theme.theme_vars.breakpoints.l}) {
25788
+ height: 410px;
25789
+ }
25790
+ @media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.l}) {
25791
+ height: 560px;
25792
+ }
25793
+ @media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.xl}) {
25794
+ height: 636px;
25795
+ }
25796
+ `;
25797
+
25798
+ const VideoBackground = styled.video`
25799
+ position: absolute;
25800
+ width: 100%;
25801
+ height: 575px;
25802
+ object-fit: cover;
25803
+ @media screen and (max-width: ${(props) => props.theme.theme_vars.breakpoints.m}) {
25804
+ height: 590px;
25805
+ }
25806
+ @media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.m}) and (max-width: ${(props) => props.theme.theme_vars.breakpoints.l}) {
25807
+ height: 420px;
25808
+ }
25809
+ @media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.l}) {
25810
+ height: 568px;
25811
+ }
25812
+ @media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.xl}) {
25813
+ height: 645px;
25814
+ }
25815
+ `;
25816
+
25817
+ const PlayPauseButton = styled.button`
25818
+ position: absolute;
25819
+ display: none;
25820
+ @media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.l}) {
25821
+ bottom: 20px;
25822
+ right: 20px;
25823
+ display: flex;
25824
+ align-items: center;
25825
+ justify-content: center;
25826
+ z-index: 1;
25827
+ background: rgba(0, 0, 0, 0.5);
25828
+ border: 1px solid white;
25829
+ color: white;
25830
+ font-size: 32px;
25831
+ border-radius: 50%;
25832
+ width: 50px;
25833
+ height: 50px;
25834
+ cursor: pointer;
25835
+ &:hover {
25836
+ background: rgba(0, 0, 0, 0.7);
25837
+ }
25838
+ }
25839
+ `;
25840
+
25775
25841
  /**
25776
25842
  * Hero image banner with optional text and call to action with varying presentation of text area.
25777
25843
  * For optional use at the top of a service landing page, if set in the CMS.
25778
25844
  */
25779
25845
  var HeroImage = function (_a) {
25780
- var headline = _a.headline, content = _a.content, callToActionText = _a.callToActionText, callToActionURL = _a.callToActionURL, _b = _a.callToActionIsPrimary, callToActionIsPrimary = _b === void 0 ? true : _b, _c = _a.backgroundBox, backgroundBox = _c === void 0 ? true : _c, imageLarge = _a.imageLarge, imageSmall = _a.imageSmall, imageAltText = _a.imageAltText, breadcrumb = _a.breadcrumb, customSearch = _a.customSearch;
25846
+ var headline = _a.headline, content = _a.content, callToActionText = _a.callToActionText, callToActionURL = _a.callToActionURL, _b = _a.callToActionIsPrimary, callToActionIsPrimary = _b === void 0 ? true : _b, _c = _a.backgroundBox, backgroundBox = _c === void 0 ? true : _c, imageLarge = _a.imageLarge, imageSmall = _a.imageSmall, imageAltText = _a.imageAltText, heroVideoUrl = _a.heroVideoUrl, breadcrumb = _a.breadcrumb, customSearch = _a.customSearch;
25847
+ var _d = useState(true), isPlaying = _d[0], setIsPlaying = _d[1];
25848
+ var videoRef = useRef(null);
25849
+ var togglePlay = function () {
25850
+ if (videoRef.current) {
25851
+ if (isPlaying) {
25852
+ videoRef.current.pause();
25853
+ }
25854
+ else {
25855
+ videoRef.current.play();
25856
+ }
25857
+ setIsPlaying(!isPlaying);
25858
+ }
25859
+ };
25781
25860
  return (React.createElement(React.Fragment, null,
25782
25861
  React.createElement(LazyImage, { src: imageLarge, placeholder: imageSmall, visibilitySensorProps: {
25783
25862
  partialVisibility: true,
25784
25863
  } }, function (src) { return (React.createElement(Container$u, { "$image": src, "$backgroundBox": backgroundBox, "data-testid": "HeroImage" },
25864
+ heroVideoUrl && (React.createElement(React.Fragment, null,
25865
+ React.createElement(VideoContainer, null,
25866
+ React.createElement(VideoBackground, { ref: videoRef, autoPlay: true, loop: true, muted: true },
25867
+ React.createElement("source", { src: heroVideoUrl, type: "video/mp4" }),
25868
+ "Your browser doesn't support this video."),
25869
+ React.createElement(PlayPauseButton, { onClick: togglePlay }, isPlaying ? '⏸' : '▶')))),
25785
25870
  React.createElement(InnerContainer, null,
25786
25871
  React.createElement(Overlay, { "$backgroundBox": backgroundBox, "data-testid": "HeroImageOverlay" },
25787
25872
  breadcrumb && (React.createElement(BreadcrumbLink, { href: breadcrumb.url, "$backgroundBox": backgroundBox }, breadcrumb.title)),
@@ -26987,6 +27072,18 @@ const Container$l = styled.main`
26987
27072
  padding: 10px;
26988
27073
  text-align: left;
26989
27074
  }
27075
+
27076
+ td > a:only-child {
27077
+ padding: 12px 20px;
27078
+ display: inline-block;
27079
+ min-height: 44px;
27080
+ min-width: 44px;
27081
+ }
27082
+
27083
+ td > a:not(:only-child) {
27084
+ padding: 0;
27085
+ }
27086
+
26990
27087
  th {
26991
27088
  font-weight: bold;
26992
27089
  }
@@ -28273,7 +28370,6 @@ const QuicklinkList = styled.ul`
28273
28370
  const QuicklinkItem = styled.li`
28274
28371
  margin-bottom: 10px;
28275
28372
  padding: 0 !important;
28276
- padding-left: 25px;
28277
28373
  position: relative;
28278
28374
  left: 0;
28279
28375
 
@@ -28298,6 +28394,7 @@ const Quicklink = styled.a`
28298
28394
  ${(props) => props.theme.linkStyles}
28299
28395
  font-weight: 400 !important;
28300
28396
  text-decoration: none !important;
28397
+ padding: 5px 10px;
28301
28398
 
28302
28399
  &:hover {
28303
28400
  ${(props) => props.theme.linkStylesHover}
@@ -30292,11 +30389,14 @@ var transformTaxonomies = function (service_taxonomys, taxonomiesToShow) {
30292
30389
  var transformAge = function (age, ageInMonths) {
30293
30390
  if (ageInMonths === void 0) { ageInMonths = false; }
30294
30391
  if (age === 0) {
30295
- return age;
30392
+ return age.toString();
30296
30393
  }
30297
30394
  if (ageInMonths) {
30298
30395
  if (age > 36) {
30299
- return Math.ceil(age / 12) + ' years';
30396
+ if (age % 12 === 0) {
30397
+ return Math.ceil(age / 12) + ' years';
30398
+ }
30399
+ return Math.floor(age / 12) + ' years and ' + (age % 12) + (age % 12 === 1 ? ' month' : ' months');
30300
30400
  }
30301
30401
  return "".concat(age, " months");
30302
30402
  }
@@ -30413,11 +30513,11 @@ var HeartIcon = function (_a) {
30413
30513
  };
30414
30514
 
30415
30515
  var DirectoryAddToShortList = function (_a) {
30416
- var id = _a.id, name = _a.name, snippet = _a.snippet, email = _a.email, website = _a.website, phone = _a.phone;
30516
+ var id = _a.id, name = _a.name, snippet = _a.snippet, email = _a.email, website = _a.website, phone = _a.phone, addresses = _a.addresses, fees = _a.fees;
30417
30517
  var _b = useDirectoryShortListContext(), toggleFavourites = _b.toggleFavourites, isFavourite = _b.isFavourite;
30418
30518
  var themeContext = useContext(ThemeContext);
30419
30519
  var favourite = isFavourite(id);
30420
- return (React.createElement(AddToShortlist, { onClick: function (e) { return toggleFavourites(id, name, snippet, email, website, phone); }, "data-testid": "DirectoryAddToShortList", "$favourite": favourite },
30520
+ return (React.createElement(AddToShortlist, { onClick: function (e) { return toggleFavourites(id, name, snippet, email, website, phone, addresses, fees); }, "data-testid": "DirectoryAddToShortList", "$favourite": favourite },
30421
30521
  favourite ? (React.createElement(IconDownload$1, { colourFill: themeContext.theme_vars.colours.negative })) : (React.createElement(HeartIcon, { colourFill: themeContext.theme_vars.colours.action })),
30422
30522
  favourite ? React.createElement(React.Fragment, null, "Remove from shortlist") : React.createElement(React.Fragment, null, "Add to shortlist")));
30423
30523
  };
@@ -30510,7 +30610,9 @@ var DirectoryService = function (_a) {
30510
30610
  " Shortlist (",
30511
30611
  favourites.length,
30512
30612
  ")")),
30513
- React.createElement(DirectoryAddToShortList, { id: id, name: name, snippet: transformSnippet(description, 350), email: email, website: url, phone: (_c = (_b = contacts === null || contacts === void 0 ? void 0 : contacts[0]) === null || _b === void 0 ? void 0 : _b.phones) === null || _c === void 0 ? void 0 : _c.flatMap(function (phone) { return phone.number; }).join(', ') })))))),
30613
+ React.createElement(DirectoryAddToShortList, { id: id, name: name, snippet: transformSnippet(description, 350), email: email, website: url, phone: (_c = (_b = contacts === null || contacts === void 0 ? void 0 : contacts[0]) === null || _b === void 0 ? void 0 : _b.phones) === null || _c === void 0 ? void 0 : _c.flatMap(function (phone) { return phone.number; }).join(', '), addresses: service_at_locations.flatMap(function (location) {
30614
+ return location.physical_addresses;
30615
+ }), fees: fees })))))),
30514
30616
  service_at_locations.filter(function (location) {
30515
30617
  return location.is_visitable != false;
30516
30618
  }).length > 0 && (React.createElement(Column, { small: "full", medium: "full", large: "full", classes: "striped-column" },
@@ -30525,7 +30627,7 @@ var DirectoryService = function (_a) {
30525
30627
  .filter(function (item) { return item !== '' && item !== address.id; })
30526
30628
  .join(' <br />'),
30527
30629
  } }),
30528
- React.createElement(Button$4, { url: "https://google.com/maps/dir//".concat(location.latitude, ",").concat(location.longitude), text: "Get directions" }))); }),
30630
+ location.latitude && location.longitude && (React.createElement(Button$4, { url: "https://google.com/maps/dir//".concat(location.latitude, ",").concat(location.longitude), text: "Get directions" })))); }),
30529
30631
  (location === null || location === void 0 ? void 0 : location.accessibility_for_disabilities.length) > 0 && (React.createElement(React.Fragment, null,
30530
30632
  React.createElement(Heading, { level: 3, text: "Other facilities on site" }),
30531
30633
  React.createElement("ul", null, location.accessibility_for_disabilities.map(function (accessibility) { return (React.createElement("li", { key: accessibility.id }, accessibility.accessibility)); })))))); })),
@@ -30636,7 +30738,7 @@ styled.div`
30636
30738
  color: ${(props) => props.theme.theme_vars.colours.grey_dark};
30637
30739
  `;
30638
30740
 
30639
- const ButtonContainer$1 = styled.div`
30741
+ const ButtonContainer$2 = styled.div`
30640
30742
  display: flex;
30641
30743
  align-items: end;
30642
30744
  padding-bottom: 0;
@@ -30644,23 +30746,35 @@ const ButtonContainer$1 = styled.div`
30644
30746
  `;
30645
30747
 
30646
30748
  const Button$1 = styled.button`
30647
- border: 1px solid ${(props) => props.theme.theme_vars.colours.white};
30648
- background: ${(props) => props.theme.theme_vars.colours.action};
30649
- color: ${(props) => props.theme.theme_vars.colours.white};
30650
- padding: ${(props) => props.theme.theme_vars.spacingSizes.small};
30651
- cursor: pointer;
30652
- border-radius: ${(props) => props.theme.theme_vars.border_radius};
30653
- min-height: 42px;
30654
- margin-right: ${(props) => props.theme.theme_vars.spacingSizes.medium};
30749
+ border: ${(props) => (props.$isWarning ? `3px` : `1px`)} solid
30750
+ ${(props) => (props.$isWarning ? props.theme.theme_vars.colours.negative : props.theme.theme_vars.colours.white)};
30751
+ background: ${(props) =>
30752
+ props.$isWarning ? props.theme.theme_vars.colours.white : props.theme.theme_vars.colours.action};
30753
+ color: ${(props) =>
30754
+ props.$isWarning ? props.theme.theme_vars.colours.negative : props.theme.theme_vars.colours.white};
30755
+ padding: ${(props) => props.theme.theme_vars.spacingSizes.small};
30756
+ cursor: pointer;
30757
+ border-radius: ${(props) => props.theme.theme_vars.border_radius};
30758
+ min-height: 42px;
30759
+ margin-right: ${(props) => props.theme.theme_vars.spacingSizes.medium};
30760
+ font-weight: bold;
30655
30761
 
30656
- &:hover {
30657
- background: ${(props) => props.theme.theme_vars.colours.action_dark};
30658
- }
30762
+ &:hover {
30763
+ background: ${(props) =>
30764
+ props.$isWarning ? props.theme.theme_vars.colours.action_light : props.theme.theme_vars.colours.action_dark};
30765
+ color: ${(props) =>
30766
+ props.$isWarning ? props.theme.theme_vars.colours.action_dark : props.theme.theme_vars.colours.white};
30767
+ text-decoration: underline;
30768
+ text-decoration-style: dotted;
30769
+ }
30659
30770
 
30660
- &:focus {
30661
- outline: none;
30662
- background: ${(props) => props.theme.theme_vars.colours.focus};
30663
- }
30771
+ &:focus {
30772
+ ${(props) => props.theme.linkStylesFocus}
30773
+ }
30774
+
30775
+ &:active {
30776
+ ${(props) => props.theme.linkStylesActive}
30777
+ }
30664
30778
  `;
30665
30779
 
30666
30780
  const ButtonText$1 = styled.span`
@@ -30740,28 +30854,29 @@ const Legend$1 = styled.legend`
30740
30854
  `;
30741
30855
 
30742
30856
  const LegendButton = styled.button`
30743
- position: relative;
30744
- background: none;
30745
- border: none;
30746
- color: ${(props) => props.theme.theme_vars.colours.action};
30747
- width: 100%;
30748
- white-space: normal;
30749
- cursor: pointer;
30750
- text-align: left;
30751
- padding-right: 30px;
30752
- padding-top: ${(props) => props.theme.theme_vars.spacingSizes.small};
30753
- padding-bottom: ${(props) => props.theme.theme_vars.spacingSizes.small};
30754
- ${(props) => props.theme.theme_vars.h4}
30755
- ${(props) => props.theme.linkStyles}
30756
- &:hover {
30757
- ${(props) => props.theme.linkStylesHover}
30758
- }
30759
- &:focus {
30760
- ${(props) => props.theme.linkStylesFocus}
30761
- }
30762
- &:active {
30763
- ${(props) => props.theme.linkStylesActive}
30764
- }
30857
+ position: relative;
30858
+ background: none;
30859
+ border: none;
30860
+ color: ${(props) => props.theme.theme_vars.colours.action};
30861
+ width: 100%;
30862
+ white-space: normal;
30863
+ cursor: pointer;
30864
+ text-align: left;
30865
+ padding-right: 30px;
30866
+ padding-top: ${(props) => props.theme.theme_vars.spacingSizes.small};
30867
+ padding-bottom: ${(props) => props.theme.theme_vars.spacingSizes.small};
30868
+ ${(props) => props.theme.theme_vars.h4}
30869
+ ${(props) => props.theme.linkStyles}
30870
+ &:hover {
30871
+ ${(props) => props.theme.linkStylesHover}
30872
+ }
30873
+ &:focus {
30874
+ ${(props) => props.theme.linkStylesFocus}
30875
+ }
30876
+ &:active {
30877
+ ${(props) => props.theme.linkStylesActive}
30878
+ }
30879
+ margin: 0;
30765
30880
  `;
30766
30881
 
30767
30882
  const AccordionIcon = styled.span`
@@ -31075,24 +31190,24 @@ var RadioCheckboxInput = function (_a) {
31075
31190
  };
31076
31191
 
31077
31192
  var DirectoryServiceList = function (_a) {
31078
- var directoryPath = _a.directoryPath, shortListPath = _a.shortListPath, services = _a.services, _b = _a.search, search = _b === void 0 ? '' : _b, setSearch = _a.setSearch, _c = _a.postcode, postcode = _c === void 0 ? '' : _c, setPostcode = _a.setPostcode, _d = _a.totalResults, totalResults = _d === void 0 ? 0 : _d, _e = _a.pageNumber, pageNumber = _e === void 0 ? 1 : _e, setPageNumber = _a.setPageNumber, _f = _a.perPage, perPage = _f === void 0 ? 5 : _f, _g = _a.extractLength, extractLength = _g === void 0 ? 300 : _g, _h = _a.categories, categories = _h === void 0 ? [] : _h, setCategories = _a.setCategories, _j = _a.minimumAge, minimumAge = _j === void 0 ? undefined : _j, setMinimumAge = _a.setMinimumAge, _k = _a.maximumAge, maximumAge = _k === void 0 ? undefined : _k, setMaximumAge = _a.setMaximumAge, _l = _a.mapCenter, mapCenter = _l === void 0 ? '52.23555414368587,-0.8957390701320571' : _l, _m = _a.mapZoom, mapZoom = _m === void 0 ? 9 : _m, _o = _a.isLoading, isLoading = _o === void 0 ? false : _o, _p = _a.ageInMonths, ageInMonths = _p === void 0 ? false : _p, _q = _a.hasDocuments, hasDocuments = _q === void 0 ? false : _q;
31079
- var _r = useLocalStorage("".concat(directoryPath.replace(/\//g, ''), "-accordion"), []), accordions = _r[0], setAccordions = _r[1];
31080
- var _s = useLocalStorage("".concat(directoryPath.replace(/\//g, ''), "-accordion-all"), true), openAll = _s[0], setOpenAll = _s[1];
31081
- var _t = useLocalStorage("".concat(directoryPath.replace(/\//g, ''), "-show-map"), false), showMap = _t[0], setShowMap = _t[1];
31082
- var _u = useState(false), showFilters = _u[0], setShowFilters = _u[1];
31083
- var _v = useDirectoryShortListContext(), _w = _v.favourites, favourites = _w.favourites; _w.setFavourites; _v.toggleFavourites; _v.isFavourite;
31084
- var _x = useState(false), notServer = _x[0], setNotServer = _x[1];
31085
- var _y = useState(search), searchTerm = _y[0], setSearchTerm = _y[1];
31086
- var _z = useState(postcode), postcodeSearch = _z[0], setPostcodeSearch = _z[1];
31193
+ var directoryPath = _a.directoryPath, shortListPath = _a.shortListPath, services = _a.services, _b = _a.search, search = _b === void 0 ? '' : _b, setSearch = _a.setSearch, _c = _a.proximity, proximity = _c === void 0 ? 2 : _c, _d = _a.showPostcodeSearch, showPostcodeSearch = _d === void 0 ? true : _d, _e = _a.postcode, postcode = _e === void 0 ? '' : _e, setPostcode = _a.setPostcode, _f = _a.totalResults, totalResults = _f === void 0 ? 0 : _f, _g = _a.pageNumber, pageNumber = _g === void 0 ? 1 : _g, setPageNumber = _a.setPageNumber, _h = _a.perPage, perPage = _h === void 0 ? 5 : _h, _j = _a.extractLength, extractLength = _j === void 0 ? 300 : _j, _k = _a.categories, categories = _k === void 0 ? [] : _k, setCategories = _a.setCategories, _l = _a.minimumAge, minimumAge = _l === void 0 ? undefined : _l, setMinimumAge = _a.setMinimumAge, _m = _a.maximumAge, maximumAge = _m === void 0 ? undefined : _m, setMaximumAge = _a.setMaximumAge, _o = _a.mapCenter, mapCenter = _o === void 0 ? '52.23555414368587,-0.8957390701320571' : _o, _p = _a.mapZoom, mapZoom = _p === void 0 ? 9 : _p, _q = _a.isLoading, isLoading = _q === void 0 ? false : _q, _r = _a.ageInMonths, ageInMonths = _r === void 0 ? false : _r, _s = _a.hasDocuments, hasDocuments = _s === void 0 ? false : _s, _t = _a.isError, isError = _t === void 0 ? false : _t;
31194
+ var _u = useLocalStorage("".concat(directoryPath.replace(/\//g, ''), "-accordion"), []), accordions = _u[0], setAccordions = _u[1];
31195
+ var _v = useLocalStorage("".concat(directoryPath.replace(/\//g, ''), "-accordion-all"), true), openAll = _v[0], setOpenAll = _v[1];
31196
+ var _w = useLocalStorage("".concat(directoryPath.replace(/\//g, ''), "-show-map"), false), showMap = _w[0], setShowMap = _w[1];
31197
+ var _x = useState(false), showFilters = _x[0], setShowFilters = _x[1];
31198
+ var _y = useDirectoryShortListContext(), _z = _y.favourites, favourites = _z.favourites; _z.setFavourites; _y.toggleFavourites; _y.isFavourite;
31199
+ var _0 = useState(false), notServer = _0[0], setNotServer = _0[1];
31200
+ var _1 = useState(search), searchTerm = _1[0], setSearchTerm = _1[1];
31201
+ var _2 = useState(postcode), postcodeSearch = _2[0], setPostcodeSearch = _2[1];
31087
31202
  var themeContext = useContext(ThemeContext);
31088
- var _0 = useState(false), filtersActive = _0[0], setFiltersActive = _0[1];
31203
+ var _3 = useState(false), filtersActive = _3[0], setFiltersActive = _3[1];
31089
31204
  useEffect(function () {
31090
31205
  setNotServer(true);
31091
31206
  setFiltersActive(hasActiveFilters());
31092
31207
  }, []);
31093
31208
  useEffect(function () {
31094
31209
  setFiltersActive(hasActiveFilters());
31095
- }, [minimumAge, maximumAge, categories]);
31210
+ }, [minimumAge, maximumAge, categories, search, postcode]);
31096
31211
  if (accordions.length === 0) {
31097
31212
  var tempAccordions_1 = [];
31098
31213
  categories === null || categories === void 0 ? void 0 : categories.forEach(function () {
@@ -31187,7 +31302,9 @@ var DirectoryServiceList = function (_a) {
31187
31302
  }
31188
31303
  };
31189
31304
  var hasActiveFilters = function () {
31190
- return (maximumAge !== '' ||
31305
+ return (search !== '' ||
31306
+ postcode !== '' ||
31307
+ maximumAge !== '' ||
31191
31308
  minimumAge !== '' ||
31192
31309
  categories.some(function (category) {
31193
31310
  return category.options.some(function (option) {
@@ -31207,15 +31324,17 @@ var DirectoryServiceList = function (_a) {
31207
31324
  React.createElement(Input, { name: "directorySearch", type: "text", defaultValue: searchTerm, id: "directorySearch", onChange: function (e) {
31208
31325
  setSearchTerm(e.target.value);
31209
31326
  } })),
31210
- React.createElement(Column, { small: "full", medium: "one-half", large: "one-third" },
31327
+ showPostcodeSearch && (React.createElement(Column, { small: "full", medium: "one-half", large: "one-third" },
31211
31328
  React.createElement(Label$1, { htmlFor: "postcode" }, "Postcode (optional)"),
31212
- React.createElement(HintText, { text: "Enter a postcode" }),
31213
- React.createElement(Input, { name: "postcode", type: "text", defaultValue: postcodeSearch, id: "postcode", onChange: function (e) { return setPostcodeSearch(e.target.value); }, autocomplete: "postal-code" })),
31329
+ React.createElement(HintText, { text: "Enter a postcode to see results within ".concat(proximity, " miles") }),
31330
+ React.createElement(Input, { name: "postcode", type: "text", defaultValue: postcodeSearch, id: "postcode", onChange: function (e) { return setPostcodeSearch(e.target.value); }, autocomplete: "postal-code" }))),
31214
31331
  React.createElement(Column, { small: "full", medium: "one-half", large: "one-third" },
31215
- React.createElement(ButtonContainer$1, null,
31332
+ React.createElement(ButtonContainer$2, null,
31216
31333
  React.createElement(Button$1, { onClick: submitSearch, type: "submit" },
31217
31334
  React.createElement(ButtonText$1, null, "Search"),
31218
- React.createElement(IconDownload, { colourFill: "#fff" })))),
31335
+ React.createElement(IconDownload, { colourFill: "#fff" })),
31336
+ filtersActive && (React.createElement(Button$1, { onClick: clearSearch, type: "button", "$isWarning": true },
31337
+ React.createElement(ButtonText$1, null, "Clear search"))))),
31219
31338
  hasDocuments && (React.createElement(Column, { small: "full", medium: "full", large: "full" },
31220
31339
  React.createElement(Button$4, { url: "".concat(directoryPath, "/documents?search=").concat(searchTerm), text: "View documents and resources", primary: false }))))))),
31221
31340
  React.createElement(Column, { small: "full", medium: "one-third", large: "one-third" },
@@ -31253,14 +31372,16 @@ var DirectoryServiceList = function (_a) {
31253
31372
  React.createElement(Legend$1, null,
31254
31373
  React.createElement(LegendButton, { onClick: function (e) { return toggleAccordion(categoryIndex + 1); }, type: "button" },
31255
31374
  category.label,
31256
- React.createElement(AccordionIcon, { isOpen: accordions[categoryIndex + 1] }))),
31375
+ React.createElement(AccordionIcon, { "$isOpen": accordions[categoryIndex + 1] }))),
31257
31376
  React.createElement(Accordion, { "$isOpen": accordions[categoryIndex + 1] },
31258
31377
  React.createElement(ClearFilter$1, null,
31259
31378
  React.createElement(TextLink$1, { onClick: function (e) { return clearCategory(categoryIndex); } }, "Clear filter")),
31260
31379
  category.options.map(function (taxonomy) { return (React.createElement(Category$2, { key: taxonomy.id },
31261
31380
  React.createElement(RadioCheckboxInput, { name: taxonomy.vocabulary, value: taxonomy.id, label: taxonomy.name, singleSelection: category.singleSelection, checked: taxonomy.checked, onChange: function (e) { return optionChecked(e, categoryIndex, category.singleSelection); } }))); }))))); })))))),
31262
31381
  React.createElement(Column, { small: "full", medium: "two-thirds", large: "two-thirds" },
31263
- React.createElement(Row$1, null, isLoading ? (React.createElement(LoadingContainer$1, null,
31382
+ React.createElement(Row$1, null, isError ? (React.createElement(Column, { small: "full", medium: "full", large: "full" },
31383
+ React.createElement(AlertBannerService, null,
31384
+ React.createElement("p", null, "Sorry, there was a problem fetching results. Please try again later.")))) : isLoading ? (React.createElement(LoadingContainer$1, null,
31264
31385
  React.createElement(LoadingSpinner, null),
31265
31386
  React.createElement("p", null, "Loading"))) : (React.createElement(React.Fragment, null,
31266
31387
  React.createElement(Column, { small: "full", medium: "full", large: "full" },
@@ -31282,7 +31403,7 @@ var DirectoryServiceList = function (_a) {
31282
31403
  React.createElement(Pagination, { currentPage: pageNumber, totalResults: totalResults, resultsPerPage: perPage, postTo: directoryPath, buttonClickOverride: setPageNumber })),
31283
31404
  React.createElement(Column, { small: "full", medium: "full", large: "full" }, notServer && React.createElement(React.Fragment, null, (services === null || services === void 0 ? void 0 : services.length) > 0 && showMap && React.createElement(DirectoryMap, { mapProps: mapProps }))),
31284
31405
  services.map(function (service, index) {
31285
- var _a, _b, _c, _d, _e, _f;
31406
+ var _a, _b, _c, _d, _e, _f, _g;
31286
31407
  var snippet = transformSnippet(service.description, extractLength);
31287
31408
  return (React.createElement(Column, { small: "full", medium: "full", large: "full", key: service.id },
31288
31409
  React.createElement(ServiceContainer, { "$resultNumber": index },
@@ -31305,7 +31426,9 @@ var DirectoryServiceList = function (_a) {
31305
31426
  ' ',
31306
31427
  transformAge(eligibility.maximum_age, ageInMonths))); })))),
31307
31428
  React.createElement(Column, { small: "full", medium: "full", large: "full" },
31308
- React.createElement(DirectoryAddToShortList, { id: service.id, name: service.name, snippet: snippet, email: service.email, website: service.url, phone: (_f = (_e = (_d = service.contacts) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.phones) === null || _f === void 0 ? void 0 : _f.flatMap(function (phone) { return phone.number; }).join(', ') }))))));
31429
+ React.createElement(DirectoryAddToShortList, { id: service.id, name: service.name, snippet: snippet, email: service.email, website: service.url, phone: (_f = (_e = (_d = service.contacts) === null || _d === void 0 ? void 0 : _d[0]) === null || _e === void 0 ? void 0 : _e.phones) === null || _f === void 0 ? void 0 : _f.flatMap(function (phone) { return phone.number; }).join(', '), addresses: (_g = service.service_at_locations) === null || _g === void 0 ? void 0 : _g.flatMap(function (location) {
31430
+ return location.physical_addresses;
31431
+ }), fees: service.fees }))))));
31309
31432
  }),
31310
31433
  React.createElement(Column, { small: "full", medium: "full", large: "full" },
31311
31434
  React.createElement(Pagination, { currentPage: pageNumber, totalResults: totalResults, resultsPerPage: perPage, postTo: directoryPath, buttonClickOverride: setPageNumber })))))))));
@@ -31313,71 +31436,96 @@ var DirectoryServiceList = function (_a) {
31313
31436
 
31314
31437
  const Container$1 = styled.div`
31315
31438
  display: block;
31439
+
31440
+ @media print {
31441
+ font-size: ${(props) => props.theme.theme_vars.fontSizes.extra_small} !important;
31442
+ [data-testid='Column'] {
31443
+ padding: ${(props) => props.theme.theme_vars.spacingSizes.extra_small} !important;
31444
+ }
31445
+
31446
+ .favourite-outer:nth-of-type(2n + 1) {
31447
+ page-break-after: always;
31448
+ }
31449
+
31450
+ .favourite-outer:last-of-type {
31451
+ page-break-after: avoid !important;
31452
+ }
31453
+ }
31316
31454
  `;
31317
31455
 
31318
31456
  const ServiceLink = styled.a`
31319
- display: block;
31320
- margin-bottom: ${(props) => props.theme.theme_vars.spacingSizes.small};
31321
- ${(props) => props.theme.theme_vars.h4}
31322
- ${(props) => props.theme.linkStyles}
31323
- &:hover {
31324
- ${(props) => props.theme.linkStylesHover}
31325
- }
31326
- &:focus {
31327
- ${(props) => props.theme.linkStylesFocus}
31328
- }
31329
- &:active {
31330
- ${(props) => props.theme.linkStylesActive}
31331
- }
31457
+ display: block;
31458
+ margin-bottom: ${(props) => props.theme.theme_vars.spacingSizes.small};
31459
+ ${(props) => props.theme.theme_vars.h4}
31460
+ ${(props) => props.theme.linkStyles}
31461
+ &:hover {
31462
+ ${(props) => props.theme.linkStylesHover}
31463
+ }
31464
+ &:focus {
31465
+ ${(props) => props.theme.linkStylesFocus}
31466
+ }
31467
+ &:active {
31468
+ ${(props) => props.theme.linkStylesActive}
31469
+ }
31332
31470
 
31333
- @media print {
31334
- color: ${(props) => props.theme.theme_vars.colours.black} !important;
31335
- text-decoration: none !important;
31336
- }
31471
+ @media print {
31472
+ color: ${(props) => props.theme.theme_vars.colours.black} !important;
31473
+ text-decoration: none !important;
31474
+ font-size: ${(props) => props.theme.theme_vars.fontSizes.small};
31475
+ margin-bottom: 0;
31476
+ }
31337
31477
  `;
31338
31478
 
31339
31479
  const PrintLink = styled.div`
31340
- p {
31341
- display: none;
31342
- }
31343
-
31344
- @media print {
31345
31480
  p {
31346
- display: block;
31481
+ display: none;
31482
+ }
31483
+
31484
+ @media print {
31485
+ p {
31486
+ display: none;
31487
+ margin-bottom: 0 !important;
31488
+ }
31347
31489
  }
31490
+ `;
31491
+
31492
+ const SnippetContainer = styled.div`
31493
+ @media print {
31494
+ display: flex;
31495
+ flex-wrap: nowrap;
31348
31496
  }
31349
31497
  `;
31350
31498
 
31351
31499
  const QRCodeContainer = styled.div`
31352
- max-width: 80px;
31353
- margin: ${(props) => props.theme.theme_vars.spacingSizes.medium} 0;
31354
- display: none;
31355
- float: right;
31500
+ max-width: 80px;
31501
+ display: none;
31356
31502
 
31357
- @media print {
31358
- display: block;
31359
- }
31503
+ @media print {
31504
+ display: block;
31505
+ margin-left: ${(props) => props.theme.theme_vars.spacingSizes.small};
31506
+ }
31360
31507
  `;
31361
31508
 
31362
31509
  const FavouriteContainer = styled.div`
31363
- background: ${(props) =>
31364
- props.theme.cardinal_name === 'north'
31365
- ? props.theme.theme_vars.colours.white
31366
- : props.theme.theme_vars.colours.grey_light};
31367
- box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
31368
- transition: box-shadow 0.3s ease;
31369
- border-bottom: 5px solid ${(props) => props.theme.theme_vars.colours.action};
31370
- border-radius: ${(props) => props.theme.theme_vars.border_radius};
31371
- padding: ${(props) => props.theme.theme_vars.spacingSizes.medium};
31510
+ background: ${(props) =>
31511
+ props.theme.cardinal_name === 'north'
31512
+ ? props.theme.theme_vars.colours.white
31513
+ : props.theme.theme_vars.colours.grey_light};
31514
+ box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.08);
31515
+ transition: box-shadow 0.3s ease;
31516
+ border-bottom: 5px solid ${(props) => props.theme.theme_vars.colours.action};
31517
+ border-radius: ${(props) => props.theme.theme_vars.border_radius};
31518
+ padding: ${(props) => props.theme.theme_vars.spacingSizes.medium};
31372
31519
 
31373
- @media print {
31374
- box-shadow: none;
31375
- border: 1px solid ${(props) => props.theme.theme_vars.colours.grey};
31376
- background: none;
31377
- }
31520
+ @media print {
31521
+ box-shadow: none;
31522
+ border: 1px solid ${(props) => props.theme.theme_vars.colours.grey};
31523
+ background: none;
31524
+ padding: 0 ${(props) => props.theme.theme_vars.spacingSizes.small};
31525
+ }
31378
31526
  `;
31379
31527
 
31380
- const PrintContainer = styled.div`
31528
+ const ButtonContainer$1 = styled.div`
31381
31529
  display: flex;
31382
31530
  justify-content: flex-end;
31383
31531
 
@@ -31386,7 +31534,7 @@ const PrintContainer = styled.div`
31386
31534
  }
31387
31535
  `;
31388
31536
 
31389
- const PrintButton = styled.button`
31537
+ const ActionButton = styled.button`
31390
31538
  border: 2px solid ${(props) => props.theme.theme_vars.colours.action};
31391
31539
  border-radius: ${(props) => props.theme.theme_vars.border_radius};
31392
31540
  background: ${(props) => props.theme.theme_vars.colours.action};
@@ -31398,6 +31546,7 @@ const PrintButton = styled.button`
31398
31546
  flex-direction: row;
31399
31547
  justify-content: flex-start;
31400
31548
  align-items: center;
31549
+ margin-left: ${(props) => props.theme.theme_vars.spacingSizes.medium};
31401
31550
  &:hover {
31402
31551
  ${(props) => props.theme.linkStylesHover}
31403
31552
  color: ${(props) => props.theme.theme_vars.colours.white};
@@ -31420,6 +31569,53 @@ const AddContainer = styled.div`
31420
31569
  }
31421
31570
  `;
31422
31571
 
31572
+ const SubTitle = styled.p`
31573
+ font-weight: bold;
31574
+ margin-top: ${(props) => props.theme.theme_vars.spacingSizes.medium};
31575
+ `;
31576
+
31577
+ const ClearShortlistButton = styled.button`
31578
+ border: 1px solid ${(props) => props.theme.theme_vars.colours.negative};
31579
+ background: ${(props) => props.theme.theme_vars.colours.white};
31580
+ color: ${(props) => props.theme.theme_vars.colours.negative};
31581
+ padding: ${(props) => props.theme.theme_vars.spacingSizes.small};
31582
+ cursor: pointer;
31583
+ border-radius: ${(props) => props.theme.theme_vars.border_radius};
31584
+ min-height: 42px;
31585
+ font-weight: bold;
31586
+
31587
+ &:hover {
31588
+ background: ${(props) => props.theme.theme_vars.colours.action_light};
31589
+ color: ${(props) => props.theme.theme_vars.colours.action_dark};
31590
+ text-decoration: underline;
31591
+ text-decoration-style: dotted;
31592
+ }
31593
+
31594
+ &:focus {
31595
+ ${(props) => props.theme.linkStylesFocus}
31596
+ }
31597
+
31598
+ &:active {
31599
+ ${(props) => props.theme.linkStylesActive}
31600
+ }
31601
+ `;
31602
+
31603
+ const AddressContainer = styled.div`
31604
+ display: block;
31605
+
31606
+ @media print {
31607
+ display: none;
31608
+ }
31609
+ `;
31610
+
31611
+ const PrintAddress = styled.div`
31612
+ display: none;
31613
+
31614
+ @media print {
31615
+ display: block;
31616
+ }
31617
+ `;
31618
+
31423
31619
  var lib = {};
31424
31620
 
31425
31621
  var mode$1 = {
@@ -32780,31 +32976,81 @@ var _default = lib.default = QRCode;
32780
32976
 
32781
32977
  var DirectoryShortList = function (_a) {
32782
32978
  var directoryPath = _a.directoryPath;
32783
- var favourites = useDirectoryShortListContext().favourites.favourites;
32784
- var _b = useState(false), notServer = _b[0], setNotServer = _b[1];
32979
+ var _b = useDirectoryShortListContext(), favourites = _b.favourites.favourites, clearShortlist = _b.clearShortlist;
32980
+ var _c = useState(false), notServer = _c[0], setNotServer = _c[1];
32785
32981
  useEffect(function () {
32786
32982
  setNotServer(true);
32787
32983
  }, []);
32984
+ var confirmClear = function () {
32985
+ if (window.confirm('Are you sure you want to clear your shortlist?')) {
32986
+ clearShortlist();
32987
+ }
32988
+ };
32989
+ var formatAddress = function (address) {
32990
+ return Object.values(address)
32991
+ .filter(function (item) { return item !== '' && item !== address.id && item !== address.country; })
32992
+ .join(', ');
32993
+ };
32994
+ var copyToClipboard = function () { return __awaiter(void 0, void 0, void 0, function () {
32995
+ var data;
32996
+ return __generator(this, function (_b) {
32997
+ switch (_b.label) {
32998
+ case 0:
32999
+ data = favourites.map(function (favourite) {
33000
+ var _a, _b, _c, _d;
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 ");
33003
+ });
33004
+ _b.label = 1;
33005
+ case 1:
33006
+ _b.trys.push([1, 3, , 4]);
33007
+ return [4 /*yield*/, navigator.clipboard.writeText(data.join('')).then(function () {
33008
+ window.alert('Copied to clipboard');
33009
+ })];
33010
+ case 2:
33011
+ _b.sent();
33012
+ return [3 /*break*/, 4];
33013
+ case 3:
33014
+ _b.sent();
33015
+ window.alert('Unable to copy');
33016
+ return [3 /*break*/, 4];
33017
+ case 4: return [2 /*return*/];
33018
+ }
33019
+ });
33020
+ }); };
32788
33021
  return (React.createElement(Container$1, { "data-testid": "DirectoryShortList" }, notServer && (React.createElement(Row$1, null, favourites.length > 0 ? (React.createElement(React.Fragment, null,
32789
33022
  React.createElement(Column, { small: "full", medium: "full", large: "full" },
32790
- React.createElement(PrintContainer, null,
32791
- React.createElement(PrintButton, { onClick: function () { return window.print(); } }, "Print Shortlist"))),
32792
- favourites.map(function (favourite) { return (React.createElement(Column, { key: favourite.id, small: "full", medium: "full", large: "full" },
32793
- React.createElement(FavouriteContainer, null,
32794
- React.createElement(Row$1, null,
32795
- React.createElement(Column, { small: "full", medium: "full", large: "full" },
32796
- React.createElement(QRCodeContainer, null,
32797
- React.createElement(_default, { value: "".concat(directoryPath, "/").concat(favourite.id), size: 256, style: { height: 'auto', maxWidth: '100%', width: '100%' }, viewBox: "0 0 256 256" })),
32798
- React.createElement(ServiceLink, { href: "".concat(directoryPath, "/").concat(favourite.id) }, favourite.name),
32799
- React.createElement(PrintLink, null,
32800
- React.createElement("p", null, "".concat(directoryPath, "/").concat(favourite.id)))),
32801
- React.createElement(Column, { small: "full", medium: "full", large: "one-half" },
32802
- React.createElement("div", null, favourite.snippet)),
32803
- React.createElement(Column, { small: "full", medium: "full", large: "one-half" },
32804
- React.createElement(SummaryList, { terms: transformService(favourite.email, favourite.website, favourite.phone), hasMargin: false })),
32805
- React.createElement(Column, { small: "full", medium: "full", large: "full" },
32806
- React.createElement(AddContainer, null,
32807
- React.createElement(DirectoryAddToShortList, { id: favourite.id, name: favourite.name, snippet: favourite.snippet, email: favourite.email, website: favourite.website, phone: favourite.phone }))))))); }))) : (React.createElement(Column, { small: "full", medium: "full", large: "full" },
33023
+ React.createElement(ButtonContainer$1, null,
33024
+ React.createElement(ClearShortlistButton, { onClick: confirmClear }, "Clear Shortlist"),
33025
+ React.createElement(ActionButton, { onClick: copyToClipboard }, "Copy To Clipboard"),
33026
+ React.createElement(ActionButton, { onClick: function () { return window.print(); } }, "Print Shortlist"))),
33027
+ favourites.map(function (favourite) {
33028
+ var _a, _b;
33029
+ return (React.createElement(Column, { key: favourite.id, small: "full", medium: "full", large: "full", classes: "favourite-outer" },
33030
+ React.createElement(FavouriteContainer, null,
33031
+ React.createElement(Row$1, null,
33032
+ React.createElement(Column, { small: "full", medium: "full", large: "full" },
33033
+ React.createElement(ServiceLink, { href: "".concat(directoryPath, "/").concat(favourite.id) }, favourite.name),
33034
+ React.createElement(PrintLink, null,
33035
+ React.createElement("p", null, "".concat(directoryPath, "/").concat(favourite.id)))),
33036
+ React.createElement(Column, { small: "full", medium: "full", large: "one-half" },
33037
+ React.createElement(SnippetContainer, null,
33038
+ React.createElement("div", null, favourite.snippet),
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" }))),
33041
+ ((_a = favourite.addresses) === null || _a === void 0 ? void 0 : _a.length) > 0 && (React.createElement(React.Fragment, null,
33042
+ React.createElement(AddressContainer, null,
33043
+ React.createElement(SubTitle, null, "Address"),
33044
+ ((_b = favourite.addresses) === null || _b === void 0 ? void 0 : _b.length) === 1 ? (React.createElement("p", null, formatAddress(favourite.addresses[0]))) : (React.createElement("ul", null, favourite.addresses.map(function (address) { return (React.createElement("li", { key: address.id }, formatAddress(address))); })))),
33045
+ React.createElement(PrintAddress, null,
33046
+ React.createElement(SummaryList, { terms: [{ term: 'Address', detail: formatAddress(favourite.addresses[0]) }], hasMargin: false }))))),
33047
+ React.createElement(Column, { small: "full", medium: "full", large: "one-half" },
33048
+ React.createElement(SummaryList, { terms: transformService(favourite.email, favourite.website, favourite.phone), hasMargin: false }),
33049
+ favourite.fees && (React.createElement(SummaryList, { terms: [{ term: 'Cost', detail: favourite.fees }], hasMargin: false }))),
33050
+ React.createElement(Column, { small: "full", medium: "full", large: "full" },
33051
+ React.createElement(AddContainer, null,
33052
+ React.createElement(DirectoryAddToShortList, { id: favourite.id, name: favourite.name, snippet: favourite.snippet, email: favourite.email, website: favourite.website, phone: favourite.phone, addresses: favourite.addresses })))))));
33053
+ }))) : (React.createElement(Column, { small: "full", medium: "full", large: "full" },
32808
33054
  React.createElement(FavouriteContainer, null,
32809
33055
  React.createElement("p", null, "No items in the shortlist"))))))));
32810
33056
  };
@@ -32939,8 +33185,8 @@ const LoadingContainer = styled.div`
32939
33185
  `;
32940
33186
 
32941
33187
  var DirectoryDocumentList = function (_a) {
32942
- var directoryPath = _a.directoryPath, documents = _a.documents, _b = _a.search, search = _b === void 0 ? '' : _b, setSearch = _a.setSearch, _c = _a.totalResults, totalResults = _c === void 0 ? 0 : _c, _d = _a.pageNumber, pageNumber = _d === void 0 ? 1 : _d, setPageNumber = _a.setPageNumber, _e = _a.perPage, perPage = _e === void 0 ? 10 : _e, categories = _a.categories, setCategories = _a.setCategories, _f = _a.isLoading, isLoading = _f === void 0 ? false : _f;
32943
- var _g = useState(search), searchTerm = _g[0], setSearchTerm = _g[1];
33188
+ var directoryPath = _a.directoryPath, documents = _a.documents, _b = _a.search, search = _b === void 0 ? '' : _b, setSearch = _a.setSearch, _c = _a.totalResults, totalResults = _c === void 0 ? 0 : _c, _d = _a.pageNumber, pageNumber = _d === void 0 ? 1 : _d, setPageNumber = _a.setPageNumber, _e = _a.perPage, perPage = _e === void 0 ? 10 : _e, categories = _a.categories, setCategories = _a.setCategories, _f = _a.isLoading, isLoading = _f === void 0 ? false : _f, _g = _a.isError, isError = _g === void 0 ? false : _g;
33189
+ var _h = useState(search), searchTerm = _h[0], setSearchTerm = _h[1];
32944
33190
  var submitSearch = function (e) {
32945
33191
  e.preventDefault();
32946
33192
  setSearch(searchTerm);
@@ -33003,7 +33249,9 @@ var DirectoryDocumentList = function (_a) {
33003
33249
  React.createElement(RadioCheckboxInput, { name: taxonomy.vocabulary, value: taxonomy.id, label: taxonomy.name, singleSelection: category.singleSelection, checked: taxonomy.checked, onChange: function (e) { return optionChecked(e, categoryIndex, category.singleSelection); } }))); })))); }))),
33004
33250
  React.createElement(Column, { small: "full", medium: "two-thirds", large: "two-thirds" },
33005
33251
  React.createElement(Row$1, null,
33006
- isLoading ? (React.createElement(LoadingContainer, null,
33252
+ isError ? (React.createElement(Column, { small: "full", medium: "full", large: "full" },
33253
+ React.createElement(AlertBannerService, null,
33254
+ React.createElement("p", null, "Sorry, there was a problem fetching results. Please try again later.")))) : isLoading ? (React.createElement(LoadingContainer, null,
33007
33255
  React.createElement(LoadingSpinner, null),
33008
33256
  React.createElement("p", null, "Loading"))) : (React.createElement(React.Fragment, null,
33009
33257
  React.createElement(Column, { small: "full", medium: "full", large: "full" }, (documents === null || documents === void 0 ? void 0 : documents.length) > 0 ? (React.createElement(ResultInfo, null,