@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
@@ -1,136 +1,148 @@
1
- import { Dispatch, SetStateAction } from 'react';
2
- import { DirectoryServiceProps } from '../DirectoryService/DirectoryService.types';
3
- export interface DirectoryServiceListProps {
4
- /**
5
- * Are the ages in months? Defaults to false
6
- */
7
- ageInMonths?: boolean;
8
- /**
9
- * The base url for the directory
10
- */
11
- directoryPath: string;
12
- /**
13
- * The url to the shortlist
14
- */
15
- shortListPath: string;
16
- /**
17
- * An array of Directory Services
18
- */
19
- services: DirectoryServiceProps[];
20
- /**
21
- * The search term string
22
- */
23
- search?: string;
24
- /**
25
- * Function prop passed in to handle updating search
26
- */
27
- setSearch: Dispatch<SetStateAction<string>>;
28
- /**
29
- * The postcode search term
30
- */
31
- postcode?: string;
32
- /**
33
- * Function prop passed in to handle updating postcode
34
- */
35
- setPostcode: Dispatch<SetStateAction<string>>;
36
- /**
37
- * The total amount of results
38
- */
39
- totalResults?: number;
40
- /**
41
- * The total amount of pages
42
- */
43
- pageNumber?: number;
44
- /**
45
- * Function prop passed in to handle the update page number
46
- */
47
- setPageNumber: Dispatch<SetStateAction<number>>;
48
- /**
49
- * The number of results per page
50
- */
51
- perPage?: number;
52
- /**
53
- * The max length of each service description extract
54
- */
55
- extractLength?: number;
56
- /**
57
- * The filter categories
58
- */
59
- categories?: DirectoryCategory[];
60
- /**
61
- * Function prop passed in to handle updating categories
62
- */
63
- setCategories: Dispatch<SetStateAction<DirectoryCategory[]>>;
64
- /**
65
- * The minimum age filter
66
- */
67
- minimumAge?: number | string;
68
- /**
69
- * Function prop passed in to handle updating minimumAge
70
- */
71
- setMinimumAge: Dispatch<SetStateAction<number | string | undefined>>;
72
- /**
73
- * The maximum age filter
74
- */
75
- maximumAge?: number | string;
76
- /**
77
- * Function prop passed in to handle updating maximumAge
78
- */
79
- setMaximumAge: Dispatch<SetStateAction<number | string | undefined>>;
80
- /**
81
- * Where to centre the map, in the format 'lat,lng'
82
- */
83
- mapCenter?: string;
84
- /**
85
- * The optional zoom level, between 1 and 20. 1 = world, 20 = buildings
86
- */
87
- mapZoom?: number;
88
- /**
89
- * Is the data loading
90
- */
91
- isLoading: boolean;
92
- /**
93
- * Does the directory have documents?
94
- */
95
- hasDocuments?: boolean;
96
- }
97
- export interface DirectoryCategory {
98
- /**
99
- * The category label
100
- */
101
- label: string;
102
- /**
103
- * The vocabulary name
104
- */
105
- vocabulary: string;
106
- /**
107
- * An array of taxonomies
108
- */
109
- options: DirectoryTaxonomy[];
110
- /**
111
- * Should multiple options be allowed
112
- */
113
- singleSelection: boolean;
114
- }
115
- export interface DirectoryTaxonomy {
116
- /**
117
- * Unique taxonomy identifier in curie format (e.g. localOffer1)
118
- */
119
- id: string;
120
- /**
121
- * The name of the taxonomy
122
- */
123
- name: string;
124
- /**
125
- * The vocabulary name
126
- */
127
- vocabulary: string;
128
- /**
129
- * The optional parent taxonomy
130
- */
131
- parent?: string | null;
132
- /**
133
- * Is the option checked
134
- */
135
- checked: boolean;
136
- }
1
+ import { Dispatch, SetStateAction } from 'react';
2
+ import { DirectoryServiceProps } from '../DirectoryService/DirectoryService.types';
3
+ export interface DirectoryServiceListProps {
4
+ /**
5
+ * Are the ages in months? Defaults to false
6
+ */
7
+ ageInMonths?: boolean;
8
+ /**
9
+ * The base url for the directory
10
+ */
11
+ directoryPath: string;
12
+ /**
13
+ * The url to the shortlist
14
+ */
15
+ shortListPath: string;
16
+ /**
17
+ * An array of Directory Services
18
+ */
19
+ services: DirectoryServiceProps[];
20
+ /**
21
+ * The search term string
22
+ */
23
+ search?: string;
24
+ /**
25
+ * Function prop passed in to handle updating search
26
+ */
27
+ setSearch: Dispatch<SetStateAction<string>>;
28
+ /**
29
+ * The optional proximity the postcode will search. Defaults to 2 miles.
30
+ */
31
+ proximity?: number;
32
+ /**
33
+ * Should the postcode search be shown? Defaults to true.
34
+ */
35
+ showPostcodeSearch?: boolean;
36
+ /**
37
+ * The postcode search term
38
+ */
39
+ postcode?: string;
40
+ /**
41
+ * Function prop passed in to handle updating postcode
42
+ */
43
+ setPostcode: Dispatch<SetStateAction<string>>;
44
+ /**
45
+ * The total amount of results
46
+ */
47
+ totalResults?: number;
48
+ /**
49
+ * The total amount of pages
50
+ */
51
+ pageNumber?: number;
52
+ /**
53
+ * Function prop passed in to handle the update page number
54
+ */
55
+ setPageNumber: Dispatch<SetStateAction<number>>;
56
+ /**
57
+ * The number of results per page
58
+ */
59
+ perPage?: number;
60
+ /**
61
+ * The max length of each service description extract
62
+ */
63
+ extractLength?: number;
64
+ /**
65
+ * The filter categories
66
+ */
67
+ categories?: DirectoryCategory[];
68
+ /**
69
+ * Function prop passed in to handle updating categories
70
+ */
71
+ setCategories: Dispatch<SetStateAction<DirectoryCategory[]>>;
72
+ /**
73
+ * The minimum age filter
74
+ */
75
+ minimumAge?: number | string;
76
+ /**
77
+ * Function prop passed in to handle updating minimumAge
78
+ */
79
+ setMinimumAge: Dispatch<SetStateAction<number | string | undefined>>;
80
+ /**
81
+ * The maximum age filter
82
+ */
83
+ maximumAge?: number | string;
84
+ /**
85
+ * Function prop passed in to handle updating maximumAge
86
+ */
87
+ setMaximumAge: Dispatch<SetStateAction<number | string | undefined>>;
88
+ /**
89
+ * Where to centre the map, in the format 'lat,lng'
90
+ */
91
+ mapCenter?: string;
92
+ /**
93
+ * The optional zoom level, between 1 and 20. 1 = world, 20 = buildings
94
+ */
95
+ mapZoom?: number;
96
+ /**
97
+ * Is the data loading
98
+ */
99
+ isLoading: boolean;
100
+ /**
101
+ * Does the directory have documents?
102
+ */
103
+ hasDocuments?: boolean;
104
+ /**
105
+ * Is the component in error state
106
+ */
107
+ isError?: boolean;
108
+ }
109
+ export interface DirectoryCategory {
110
+ /**
111
+ * The category label
112
+ */
113
+ label: string;
114
+ /**
115
+ * The vocabulary name
116
+ */
117
+ vocabulary: string;
118
+ /**
119
+ * An array of taxonomies
120
+ */
121
+ options: DirectoryTaxonomy[];
122
+ /**
123
+ * Should multiple options be allowed
124
+ */
125
+ singleSelection: boolean;
126
+ }
127
+ export interface DirectoryTaxonomy {
128
+ /**
129
+ * Unique taxonomy identifier in curie format (e.g. localOffer1)
130
+ */
131
+ id: string;
132
+ /**
133
+ * The name of the taxonomy
134
+ */
135
+ name: string;
136
+ /**
137
+ * The vocabulary name
138
+ */
139
+ vocabulary: string;
140
+ /**
141
+ * The optional parent taxonomy
142
+ */
143
+ parent?: string | null;
144
+ /**
145
+ * Is the option checked
146
+ */
147
+ checked: boolean;
148
+ }
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { DirectoryShortListProps } from './DirectoryShortList.types';
3
- declare const DirectoryShortList: React.FunctionComponent<DirectoryShortListProps>;
4
- export default DirectoryShortList;
1
+ import React from 'react';
2
+ import { DirectoryShortListProps } from './DirectoryShortList.types';
3
+ declare const DirectoryShortList: React.FunctionComponent<DirectoryShortListProps>;
4
+ export default DirectoryShortList;
@@ -1,6 +1,6 @@
1
- export interface DirectoryShortListProps {
2
- /**
3
- * The path of the directory
4
- */
5
- directoryPath: string;
6
- }
1
+ export interface DirectoryShortListProps {
2
+ /**
3
+ * The path of the directory
4
+ */
5
+ directoryPath: string;
6
+ }
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { ServiceContactComponentProps } from './ServiceContact.types';
3
- declare const ServiceContact: React.FunctionComponent<ServiceContactComponentProps>;
4
- export default ServiceContact;
1
+ import React from 'react';
2
+ import { ServiceContactComponentProps } from './ServiceContact.types';
3
+ declare const ServiceContact: React.FunctionComponent<ServiceContactComponentProps>;
4
+ export default ServiceContact;
@@ -1,42 +1,42 @@
1
- export interface ServiceContactComponentProps {
2
- /**
3
- * The optional email address
4
- */
5
- email?: string;
6
- /**
7
- * The optional website address
8
- */
9
- website?: string;
10
- /**
11
- * An array of service contacts. May be empty.
12
- */
13
- contacts: ServiceContactProps[];
14
- }
15
- export interface ServiceContactProps {
16
- /**
17
- * The unique identifier
18
- */
19
- id: number;
20
- /**
21
- * The name of the contact
22
- */
23
- name: string;
24
- /**
25
- * The job title of the contact
26
- */
27
- title: string;
28
- /**
29
- * The array of phone numbers
30
- */
31
- phones: PhoneProps[];
32
- }
33
- export interface PhoneProps {
34
- /**
35
- * The unique identifier
36
- */
37
- id: number;
38
- /**
39
- * The telephone number
40
- */
41
- number: string;
42
- }
1
+ export interface ServiceContactComponentProps {
2
+ /**
3
+ * The optional email address
4
+ */
5
+ email?: string;
6
+ /**
7
+ * The optional website address
8
+ */
9
+ website?: string;
10
+ /**
11
+ * An array of service contacts. May be empty.
12
+ */
13
+ contacts: ServiceContactProps[];
14
+ }
15
+ export interface ServiceContactProps {
16
+ /**
17
+ * The unique identifier
18
+ */
19
+ id: number;
20
+ /**
21
+ * The name of the contact
22
+ */
23
+ name: string;
24
+ /**
25
+ * The job title of the contact
26
+ */
27
+ title: string;
28
+ /**
29
+ * The array of phone numbers
30
+ */
31
+ phones: PhoneProps[];
32
+ }
33
+ export interface PhoneProps {
34
+ /**
35
+ * The unique identifier
36
+ */
37
+ id: number;
38
+ /**
39
+ * The telephone number
40
+ */
41
+ number: string;
42
+ }
@@ -1,4 +1,4 @@
1
- import React from 'react';
2
- import { ServiceSocialLinksProps } from './ServiceSocialLinks.types';
3
- declare const ServiceSocialLinks: React.FunctionComponent<ServiceSocialLinksProps>;
4
- export default ServiceSocialLinks;
1
+ import React from 'react';
2
+ import { ServiceSocialLinksProps } from './ServiceSocialLinks.types';
3
+ declare const ServiceSocialLinks: React.FunctionComponent<ServiceSocialLinksProps>;
4
+ export default ServiceSocialLinks;
@@ -1,2 +1,2 @@
1
- import { ServiceSocialLinksProps } from './ServiceSocialLinks.types';
2
- export declare const ExampleSocialProfiles: ServiceSocialLinksProps;
1
+ import { ServiceSocialLinksProps } from './ServiceSocialLinks.types';
2
+ export declare const ExampleSocialProfiles: ServiceSocialLinksProps;
@@ -1,24 +1,24 @@
1
- export interface ServiceSocialLinksProps {
2
- /**
3
- * An array of social links
4
- */
5
- profiles?: SocialProfile[];
6
- }
7
- export interface SocialProfile {
8
- /**
9
- * The id for the social profile
10
- */
11
- id: number;
12
- /**
13
- * The profile name
14
- */
15
- name: string;
16
- /**
17
- * The link to the profile
18
- */
19
- link: string;
20
- /**
21
- * The social network name
22
- */
23
- social_network: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'youtube';
24
- }
1
+ export interface ServiceSocialLinksProps {
2
+ /**
3
+ * An array of social links
4
+ */
5
+ profiles?: SocialProfile[];
6
+ }
7
+ export interface SocialProfile {
8
+ /**
9
+ * The id for the social profile
10
+ */
11
+ id: number;
12
+ /**
13
+ * The profile name
14
+ */
15
+ name: string;
16
+ /**
17
+ * The link to the profile
18
+ */
19
+ link: string;
20
+ /**
21
+ * The social network name
22
+ */
23
+ social_network: 'facebook' | 'instagram' | 'linkedin' | 'twitter' | 'youtube';
24
+ }
@@ -1,2 +1,2 @@
1
- declare const useLocalStorage: (key: any, initialValue: any) => any[];
2
- export default useLocalStorage;
1
+ declare const useLocalStorage: (key: any, initialValue: any) => any[];
2
+ export default useLocalStorage;