@nnc-digital/nnc-design-system 0.4.3

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 (454) hide show
  1. package/LICENSE +674 -0
  2. package/README.md +232 -0
  3. package/build/index.d.ts +41 -0
  4. package/build/index.esm.js +31663 -0
  5. package/build/index.esm.js.map +1 -0
  6. package/build/index.js +31760 -0
  7. package/build/index.js.map +1 -0
  8. package/build/library/components/AlphabeticalDirectory/AlphabeticalDirectory.d.ts +4 -0
  9. package/build/library/components/AlphabeticalDirectory/AlphabeticalDirectory.types.d.ts +26 -0
  10. package/build/library/components/Autocomplete/Autocomplete.d.ts +9 -0
  11. package/build/library/components/Autocomplete/Autocomplete.storydata.d.ts +47 -0
  12. package/build/library/components/Autocomplete/Autocomplete.types.d.ts +70 -0
  13. package/build/library/components/BackToTop/BackToTop.d.ts +4 -0
  14. package/build/library/components/BackToTop/BackToTop.types.d.ts +6 -0
  15. package/build/library/components/Button/Button.d.ts +7 -0
  16. package/build/library/components/Button/Button.types.d.ts +43 -0
  17. package/build/library/components/Card/Card.d.ts +7 -0
  18. package/build/library/components/Card/Card.types.d.ts +36 -0
  19. package/build/library/components/CheckboxListFilter/CheckboxListFilter.d.ts +4 -0
  20. package/build/library/components/CheckboxListFilter/CheckboxListFilter.types.d.ts +36 -0
  21. package/build/library/components/Column/Column.d.ts +4 -0
  22. package/build/library/components/Column/Column.types.d.ts +36 -0
  23. package/build/library/components/CustomSearch/CustomSearch.d.ts +4 -0
  24. package/build/library/components/CustomSearch/CustomSearch.storydata.d.ts +2 -0
  25. package/build/library/components/CustomSearch/CustomSearch.types.d.ts +34 -0
  26. package/build/library/components/DropDownFilter/DropDownFilter.d.ts +4 -0
  27. package/build/library/components/DropDownFilter/DropDownFilter.types.d.ts +32 -0
  28. package/build/library/components/DropDownSelect/DropDownSelect.d.ts +4 -0
  29. package/build/library/components/DropDownSelect/DropDownSelect.types.d.ts +36 -0
  30. package/build/library/components/DynamicIcon/DynamicIcon.d.ts +7 -0
  31. package/build/library/components/DynamicIcon/DynamicIcon.types.d.ts +10 -0
  32. package/build/library/components/FileDownload/FileDownload.d.ts +7 -0
  33. package/build/library/components/FileDownload/FileDownload.types.d.ts +22 -0
  34. package/build/library/components/FormButton/FormButton.d.ts +7 -0
  35. package/build/library/components/FormButton/FormButton.types.d.ts +27 -0
  36. package/build/library/components/FormWithLine/FormWithLine.d.ts +7 -0
  37. package/build/library/components/FormWithLine/FormWithLine.types.d.ts +39 -0
  38. package/build/library/components/Heading/Heading.d.ts +7 -0
  39. package/build/library/components/Heading/Heading.types.d.ts +10 -0
  40. package/build/library/components/HeadingWithIcon/HeadingWithIcon.d.ts +7 -0
  41. package/build/library/components/HeadingWithIcon/HeadingWithIcon.types.d.ts +18 -0
  42. package/build/library/components/HeadingWithIconLink/HeadingWithIconLink.d.ts +4 -0
  43. package/build/library/components/HeadingWithIconLink/HeadingWithIconLink.types.d.ts +14 -0
  44. package/build/library/components/HintText/HintText.d.ts +7 -0
  45. package/build/library/components/HintText/HintText.types.d.ts +6 -0
  46. package/build/library/components/Input/Input.d.ts +8 -0
  47. package/build/library/components/Input/Input.types.d.ts +45 -0
  48. package/build/library/components/LoadingSpinner/LoadingSpinner.d.ts +4 -0
  49. package/build/library/components/LoadingSpinner/LoadingSpinner.types.d.ts +2 -0
  50. package/build/library/components/Map/Map.d.ts +7 -0
  51. package/build/library/components/Map/Map.types.d.ts +16 -0
  52. package/build/library/components/MapMarker/MapMarker.d.ts +7 -0
  53. package/build/library/components/Pagination/Pagination.d.ts +4 -0
  54. package/build/library/components/Pagination/Pagination.types.d.ts +23 -0
  55. package/build/library/components/PostCodeAddressDropdown/PostCodeAddressDropdown.d.ts +7 -0
  56. package/build/library/components/PostCodeAddressDropdown/PostCodeAddressDropdown.types.d.ts +2 -0
  57. package/build/library/components/PostCodeAddressSearch/PostCodeAddressSearch.d.ts +7 -0
  58. package/build/library/components/PostCodeAddressSearch/PostCodeAddressSearch.types.d.ts +23 -0
  59. package/build/library/components/PostCodeAddressTable/PostCodeAddressTable.d.ts +4 -0
  60. package/build/library/components/PostCodeAddressTable/PostCodeAddressTable.types.d.ts +2 -0
  61. package/build/library/components/PostCodeSearch/PostCodeSearch.d.ts +7 -0
  62. package/build/library/components/PostCodeSearch/PostCodeSearch.types.d.ts +52 -0
  63. package/build/library/components/PromotedLinks/PromotedLinks.d.ts +4 -0
  64. package/build/library/components/PromotedLinks/PromotedLinks.types.d.ts +20 -0
  65. package/build/library/components/RadioCheckboxInput/RadioCheckboxInput.d.ts +4 -0
  66. package/build/library/components/RadioCheckboxInput/RadioCheckboxInput.types.d.ts +27 -0
  67. package/build/library/components/RemovableTag/RemovableTag.d.ts +4 -0
  68. package/build/library/components/RemovableTag/RemovableTag.types.d.ts +8 -0
  69. package/build/library/components/RemoveAllFilters/RemoveAllFilters.d.ts +4 -0
  70. package/build/library/components/RemoveAllFilters/RemoveAllFilters.types.d.ts +3 -0
  71. package/build/library/components/Row/Row.d.ts +4 -0
  72. package/build/library/components/Row/Row.types.d.ts +20 -0
  73. package/build/library/components/SignpostLinksList/SignpostLinksList.d.ts +4 -0
  74. package/build/library/components/SignpostLinksList/SignpostLinksList.types.d.ts +24 -0
  75. package/build/library/components/SortBy/SortBy.d.ts +4 -0
  76. package/build/library/components/SortBy/SortBy.types.d.ts +20 -0
  77. package/build/library/components/StaticMap/StaticMap.d.ts +7 -0
  78. package/build/library/components/StaticMap/StaticMap.types.d.ts +52 -0
  79. package/build/library/components/SummaryList/SummaryList.d.ts +4 -0
  80. package/build/library/components/SummaryList/SummaryList.types.d.ts +21 -0
  81. package/build/library/components/TextInput/TextInput.d.ts +7 -0
  82. package/build/library/components/TextInput/TextInput.types.d.ts +34 -0
  83. package/build/library/components/icons/ChevronIcon/ChevronIcon.d.ts +4 -0
  84. package/build/library/components/icons/ChevronIcon/ChevronIcon.types.d.ts +10 -0
  85. package/build/library/components/icons/CloseIcon/CloseIcon.d.ts +4 -0
  86. package/build/library/components/icons/CloseIcon/CloseIcon.types.d.ts +6 -0
  87. package/build/library/components/icons/DownloadFileIcon/DownloadFileIcon.d.ts +4 -0
  88. package/build/library/components/icons/DownloadFileIcon/DownloadFileIcon.types.d.ts +6 -0
  89. package/build/library/components/icons/EmailIcon/EmailIcon.d.ts +4 -0
  90. package/build/library/components/icons/EmailIcon/EmailIcon.types.d.ts +6 -0
  91. package/build/library/components/icons/FacebookIcon/Icon.d.ts +4 -0
  92. package/build/library/components/icons/HeartIcon/HeartIcon.d.ts +7 -0
  93. package/build/library/components/icons/HeartIcon/HeartIcon.types.d.ts +6 -0
  94. package/build/library/components/icons/InstagramIcon/Icon.d.ts +4 -0
  95. package/build/library/components/icons/LinkIcon/LinkIcon.d.ts +4 -0
  96. package/build/library/components/icons/LinkIcon/LinkIcon.types.d.ts +6 -0
  97. package/build/library/components/icons/LinkedInIcon/Icon.d.ts +4 -0
  98. package/build/library/components/icons/PhoneIcon/PhoneIcon.d.ts +4 -0
  99. package/build/library/components/icons/PhoneIcon/PhoneIcon.types.d.ts +6 -0
  100. package/build/library/components/icons/PinIcon/PinIcon.d.ts +7 -0
  101. package/build/library/components/icons/PinIcon/PinIcon.types.d.ts +6 -0
  102. package/build/library/components/icons/SearchIcon/SearchIcon.d.ts +4 -0
  103. package/build/library/components/icons/SearchIcon/SearchIcon.types.d.ts +6 -0
  104. package/build/library/components/icons/TwitterIcon/Icon.d.ts +4 -0
  105. package/build/library/components/icons/WebsiteIcon/WebsiteIcon.d.ts +4 -0
  106. package/build/library/components/icons/WebsiteIcon/WebsiteIcon.types.d.ts +6 -0
  107. package/build/library/components/icons/YouTubeIcon/Icon.d.ts +4 -0
  108. package/build/library/components/icons/services/AccessibleParking/Icon.d.ts +4 -0
  109. package/build/library/components/icons/services/AccessibleParking/IconHover.d.ts +4 -0
  110. package/build/library/components/icons/services/Address/Icon.d.ts +4 -0
  111. package/build/library/components/icons/services/Address/IconHover.d.ts +4 -0
  112. package/build/library/components/icons/services/AddressChange/Icon.d.ts +4 -0
  113. package/build/library/components/icons/services/AddressChange/IconHover.d.ts +4 -0
  114. package/build/library/components/icons/services/Adults/Icon.d.ts +4 -0
  115. package/build/library/components/icons/services/Adults/IconHover.d.ts +4 -0
  116. package/build/library/components/icons/services/Benefits/Icon.d.ts +4 -0
  117. package/build/library/components/icons/services/Benefits/IconHover.d.ts +4 -0
  118. package/build/library/components/icons/services/BinDay/Icon.d.ts +4 -0
  119. package/build/library/components/icons/services/BinDay/IconHover.d.ts +4 -0
  120. package/build/library/components/icons/services/Bins/Icon.d.ts +4 -0
  121. package/build/library/components/icons/services/Bins/IconHover.d.ts +4 -0
  122. package/build/library/components/icons/services/BirthCertificate/Icon.d.ts +4 -0
  123. package/build/library/components/icons/services/BirthCertificate/IconHover.d.ts +4 -0
  124. package/build/library/components/icons/services/Births/Icon.d.ts +4 -0
  125. package/build/library/components/icons/services/Births/IconHover.d.ts +4 -0
  126. package/build/library/components/icons/services/Bollard/Icon.d.ts +4 -0
  127. package/build/library/components/icons/services/Bollard/IconHover.d.ts +4 -0
  128. package/build/library/components/icons/services/BulkWaste/Icon.d.ts +4 -0
  129. package/build/library/components/icons/services/BulkWaste/IconHover.d.ts +4 -0
  130. package/build/library/components/icons/services/Bus/Icon.d.ts +4 -0
  131. package/build/library/components/icons/services/Bus/IconHover.d.ts +4 -0
  132. package/build/library/components/icons/services/BusPass/Icon.d.ts +4 -0
  133. package/build/library/components/icons/services/BusPass/IconHover.d.ts +4 -0
  134. package/build/library/components/icons/services/Business/Icon.d.ts +4 -0
  135. package/build/library/components/icons/services/Business/IconHover.d.ts +4 -0
  136. package/build/library/components/icons/services/Careers/Icon.d.ts +4 -0
  137. package/build/library/components/icons/services/Careers/IconHover.d.ts +4 -0
  138. package/build/library/components/icons/services/Cash/Icon.d.ts +4 -0
  139. package/build/library/components/icons/services/Cash/IconHover.d.ts +4 -0
  140. package/build/library/components/icons/services/Catalogue/Icon.d.ts +4 -0
  141. package/build/library/components/icons/services/Catalogue/IconHover.d.ts +4 -0
  142. package/build/library/components/icons/services/Ceremony/Icon.d.ts +4 -0
  143. package/build/library/components/icons/services/Ceremony/IconHover.d.ts +4 -0
  144. package/build/library/components/icons/services/Charity/Icon.d.ts +4 -0
  145. package/build/library/components/icons/services/Charity/IconHover.d.ts +4 -0
  146. package/build/library/components/icons/services/Children/Icon.d.ts +4 -0
  147. package/build/library/components/icons/services/Children/IconHover.d.ts +4 -0
  148. package/build/library/components/icons/services/Computer/Icon.d.ts +4 -0
  149. package/build/library/components/icons/services/Computer/IconHover.d.ts +4 -0
  150. package/build/library/components/icons/services/CondolenceBook/Icon.d.ts +4 -0
  151. package/build/library/components/icons/services/CondolenceBook/IconHover.d.ts +4 -0
  152. package/build/library/components/icons/services/Cooking/Icon.d.ts +4 -0
  153. package/build/library/components/icons/services/Cooking/IconHover.d.ts +4 -0
  154. package/build/library/components/icons/services/Council/Icon.d.ts +4 -0
  155. package/build/library/components/icons/services/Council/IconHover.d.ts +4 -0
  156. package/build/library/components/icons/services/CouncilTax/Icon.d.ts +4 -0
  157. package/build/library/components/icons/services/CouncilTax/IconHover.d.ts +4 -0
  158. package/build/library/components/icons/services/Covid/Icon.d.ts +4 -0
  159. package/build/library/components/icons/services/Covid/IconHover.d.ts +4 -0
  160. package/build/library/components/icons/services/Culture/Icon.d.ts +4 -0
  161. package/build/library/components/icons/services/Culture/IconHover.d.ts +4 -0
  162. package/build/library/components/icons/services/CultureNorth/Icon.d.ts +4 -0
  163. package/build/library/components/icons/services/CultureNorth/IconHover.d.ts +4 -0
  164. package/build/library/components/icons/services/CultureWest/Icon.d.ts +4 -0
  165. package/build/library/components/icons/services/CultureWest/IconHover.d.ts +4 -0
  166. package/build/library/components/icons/services/DOLS/Icon.d.ts +4 -0
  167. package/build/library/components/icons/services/DOLS/IconHover.d.ts +4 -0
  168. package/build/library/components/icons/services/DeathCertificate/Icon.d.ts +4 -0
  169. package/build/library/components/icons/services/DeathCertificate/IconHover.d.ts +4 -0
  170. package/build/library/components/icons/services/Democracy/Icon.d.ts +4 -0
  171. package/build/library/components/icons/services/Democracy/IconHover.d.ts +4 -0
  172. package/build/library/components/icons/services/DogFouling/Icon.d.ts +4 -0
  173. package/build/library/components/icons/services/DogFouling/IconHover.d.ts +4 -0
  174. package/build/library/components/icons/services/Ebook/Icon.d.ts +4 -0
  175. package/build/library/components/icons/services/Ebook/IconHover.d.ts +4 -0
  176. package/build/library/components/icons/services/Edit/Icon.d.ts +4 -0
  177. package/build/library/components/icons/services/Edit/IconHover.d.ts +4 -0
  178. package/build/library/components/icons/services/Environment/Icon.d.ts +4 -0
  179. package/build/library/components/icons/services/Environment/IconHover.d.ts +4 -0
  180. package/build/library/components/icons/services/Events/Icon.d.ts +4 -0
  181. package/build/library/components/icons/services/Events/IconHover.d.ts +4 -0
  182. package/build/library/components/icons/services/Finance/Icon.d.ts +4 -0
  183. package/build/library/components/icons/services/Finance/IconHover.d.ts +4 -0
  184. package/build/library/components/icons/services/Flower/Icon.d.ts +4 -0
  185. package/build/library/components/icons/services/Flower/IconHover.d.ts +4 -0
  186. package/build/library/components/icons/services/FlyTip/Icon.d.ts +4 -0
  187. package/build/library/components/icons/services/FlyTip/IconHover.d.ts +4 -0
  188. package/build/library/components/icons/services/FoodWaste/Icon.d.ts +4 -0
  189. package/build/library/components/icons/services/FoodWaste/IconHover.d.ts +4 -0
  190. package/build/library/components/icons/services/GiveNotice/Icon.d.ts +4 -0
  191. package/build/library/components/icons/services/GiveNotice/IconHover.d.ts +4 -0
  192. package/build/library/components/icons/services/GovUK/Icon.d.ts +4 -0
  193. package/build/library/components/icons/services/GovUK/IconHover.d.ts +4 -0
  194. package/build/library/components/icons/services/Graffiti/Icon.d.ts +4 -0
  195. package/build/library/components/icons/services/Graffiti/IconHover.d.ts +4 -0
  196. package/build/library/components/icons/services/Highway/Icon.d.ts +4 -0
  197. package/build/library/components/icons/services/Highway/IconHover.d.ts +4 -0
  198. package/build/library/components/icons/services/HouseMoney/Icon.d.ts +4 -0
  199. package/build/library/components/icons/services/HouseMoney/IconHover.d.ts +4 -0
  200. package/build/library/components/icons/services/Housing/Icon.d.ts +4 -0
  201. package/build/library/components/icons/services/Housing/IconHover.d.ts +4 -0
  202. package/build/library/components/icons/services/Icon.types.d.ts +6 -0
  203. package/build/library/components/icons/services/Independence/Icon.d.ts +4 -0
  204. package/build/library/components/icons/services/Independence/IconHover.d.ts +4 -0
  205. package/build/library/components/icons/services/Libraries/Icon.d.ts +4 -0
  206. package/build/library/components/icons/services/Libraries/IconHover.d.ts +4 -0
  207. package/build/library/components/icons/services/Litter/Icon.d.ts +4 -0
  208. package/build/library/components/icons/services/Litter/IconHover.d.ts +4 -0
  209. package/build/library/components/icons/services/MapPin/Icon.d.ts +4 -0
  210. package/build/library/components/icons/services/MapPin/IconHover.d.ts +4 -0
  211. package/build/library/components/icons/services/Member/Icon.d.ts +4 -0
  212. package/build/library/components/icons/services/Member/IconHover.d.ts +4 -0
  213. package/build/library/components/icons/services/MissedBin/Icon.d.ts +4 -0
  214. package/build/library/components/icons/services/MissedBin/IconHover.d.ts +4 -0
  215. package/build/library/components/icons/services/New/Icon.d.ts +4 -0
  216. package/build/library/components/icons/services/New/IconHover.d.ts +4 -0
  217. package/build/library/components/icons/services/OccupationalTherapy/Icon.d.ts +4 -0
  218. package/build/library/components/icons/services/OccupationalTherapy/IconHover.d.ts +4 -0
  219. package/build/library/components/icons/services/ParkEvent/Icon.d.ts +4 -0
  220. package/build/library/components/icons/services/ParkEvent/IconHover.d.ts +4 -0
  221. package/build/library/components/icons/services/Parking/Icon.d.ts +4 -0
  222. package/build/library/components/icons/services/Parking/IconHover.d.ts +4 -0
  223. package/build/library/components/icons/services/ParkingTicket/Icon.d.ts +4 -0
  224. package/build/library/components/icons/services/ParkingTicket/IconHover.d.ts +4 -0
  225. package/build/library/components/icons/services/Pay/Icon.d.ts +4 -0
  226. package/build/library/components/icons/services/Pay/IconHover.d.ts +4 -0
  227. package/build/library/components/icons/services/PhonePay/Icon.d.ts +4 -0
  228. package/build/library/components/icons/services/PhonePay/IconHover.d.ts +4 -0
  229. package/build/library/components/icons/services/Planning/Icon.d.ts +4 -0
  230. package/build/library/components/icons/services/Planning/IconHover.d.ts +4 -0
  231. package/build/library/components/icons/services/Pothole/Icon.d.ts +4 -0
  232. package/build/library/components/icons/services/Pothole/IconHover.d.ts +4 -0
  233. package/build/library/components/icons/services/Protect/Icon.d.ts +4 -0
  234. package/build/library/components/icons/services/Protect/IconHover.d.ts +4 -0
  235. package/build/library/components/icons/services/RatePay/Icon.d.ts +4 -0
  236. package/build/library/components/icons/services/RatePay/IconHover.d.ts +4 -0
  237. package/build/library/components/icons/services/RegisterBirth/Icon.d.ts +4 -0
  238. package/build/library/components/icons/services/RegisterBirth/IconHover.d.ts +4 -0
  239. package/build/library/components/icons/services/RegisterDeath/Icon.d.ts +4 -0
  240. package/build/library/components/icons/services/RegisterDeath/IconHover.d.ts +4 -0
  241. package/build/library/components/icons/services/Report/Icon.d.ts +4 -0
  242. package/build/library/components/icons/services/Report/IconHover.d.ts +4 -0
  243. package/build/library/components/icons/services/Restrict/Icon.d.ts +4 -0
  244. package/build/library/components/icons/services/Restrict/IconHover.d.ts +4 -0
  245. package/build/library/components/icons/services/RoadWorks/Icon.d.ts +4 -0
  246. package/build/library/components/icons/services/RoadWorks/IconHover.d.ts +4 -0
  247. package/build/library/components/icons/services/Roads/Icon.d.ts +4 -0
  248. package/build/library/components/icons/services/Roads/IconHover.d.ts +4 -0
  249. package/build/library/components/icons/services/RoyalWebsite/Icon.d.ts +4 -0
  250. package/build/library/components/icons/services/RoyalWebsite/IconHover.d.ts +4 -0
  251. package/build/library/components/icons/services/Safety/Icon.d.ts +4 -0
  252. package/build/library/components/icons/services/Safety/IconHover.d.ts +4 -0
  253. package/build/library/components/icons/services/Schools/Icon.d.ts +4 -0
  254. package/build/library/components/icons/services/Schools/IconHover.d.ts +4 -0
  255. package/build/library/components/icons/services/ServicesIcons.d.ts +160 -0
  256. package/build/library/components/icons/services/SinglePerson/Icon.d.ts +4 -0
  257. package/build/library/components/icons/services/SinglePerson/IconHover.d.ts +4 -0
  258. package/build/library/components/icons/services/Sports/Icon.d.ts +4 -0
  259. package/build/library/components/icons/services/Sports/IconHover.d.ts +4 -0
  260. package/build/library/components/icons/services/Valuation/Icon.d.ts +4 -0
  261. package/build/library/components/icons/services/Valuation/IconHover.d.ts +4 -0
  262. package/build/library/components/icons/services/Venue/Icon.d.ts +4 -0
  263. package/build/library/components/icons/services/Venue/IconHover.d.ts +4 -0
  264. package/build/library/components/icons/services/WasteChecklist/Icon.d.ts +4 -0
  265. package/build/library/components/icons/services/WasteChecklist/IconHover.d.ts +4 -0
  266. package/build/library/components/icons/services/WasteSorting/Icon.d.ts +4 -0
  267. package/build/library/components/icons/services/WasteSorting/IconHover.d.ts +4 -0
  268. package/build/library/components/logos/GDSLogo/logo.d.ts +4 -0
  269. package/build/library/components/logos/GDSLogo/logo.types.d.ts +2 -0
  270. package/build/library/components/logos/NorthColouredLogo/logo.d.ts +4 -0
  271. package/build/library/components/logos/NorthColouredLogo/logo.types.d.ts +2 -0
  272. package/build/library/components/logos/NorthWhiteLogo/logo.d.ts +4 -0
  273. package/build/library/components/logos/NorthWhiteLogo/logo.types.d.ts +2 -0
  274. package/build/library/components/logos/WestColouredLogo/logo.d.ts +4 -0
  275. package/build/library/components/logos/WestColouredLogo/logo.types.d.ts +2 -0
  276. package/build/library/components/logos/WestWhiteLogo/logo.d.ts +4 -0
  277. package/build/library/components/logos/WestWhiteLogo/logo.types.d.ts +2 -0
  278. package/build/library/contexts/DirectoryShortListProvider/DirectoryShortListProvider.d.ts +4 -0
  279. package/build/library/contexts/DirectoryShortListProvider/DirectoryShortListProvider.types.d.ts +41 -0
  280. package/build/library/contexts/PostCodeAddressProvider/PostCodeAddressProvider.d.ts +6 -0
  281. package/build/library/contexts/PostCodeAddressProvider/PostCodeAddressProvider.types.d.ts +18 -0
  282. package/build/library/directory/DirectoryAddToShortList/DirectoryAddToShortList.d.ts +4 -0
  283. package/build/library/directory/DirectoryAddToShortList/DirectoryAddToShortList.types.d.ts +26 -0
  284. package/build/library/directory/DirectoryDocumentList/DirectoryDocumentList.d.ts +4 -0
  285. package/build/library/directory/DirectoryDocumentList/DirectoryDocumentList.storydata.d.ts +4 -0
  286. package/build/library/directory/DirectoryDocumentList/DirectoryDocumentList.types.d.ts +63 -0
  287. package/build/library/directory/DirectoryMap/DirectoryMap.d.ts +4 -0
  288. package/build/library/directory/DirectoryMap/DirectoryMap.types.d.ts +11 -0
  289. package/build/library/directory/DirectoryService/DirectoryService.d.ts +4 -0
  290. package/build/library/directory/DirectoryService/DirectoryService.storydata.d.ts +4 -0
  291. package/build/library/directory/DirectoryService/DirectoryService.types.d.ts +278 -0
  292. package/build/library/directory/DirectoryService/DirectoryServiceTransform.d.ts +8 -0
  293. package/build/library/directory/DirectoryServiceList/DirectoryServiceList.d.ts +4 -0
  294. package/build/library/directory/DirectoryServiceList/DirectoryServiceList.storydata.d.ts +6 -0
  295. package/build/library/directory/DirectoryServiceList/DirectoryServiceList.types.d.ts +136 -0
  296. package/build/library/directory/DirectoryShortList/DirectoryShortList.d.ts +4 -0
  297. package/build/library/directory/DirectoryShortList/DirectoryShortList.types.d.ts +6 -0
  298. package/build/library/directory/ServiceContact/ServiceContact.d.ts +4 -0
  299. package/build/library/directory/ServiceContact/ServiceContact.types.d.ts +42 -0
  300. package/build/library/directory/ServiceSocialLinks/ServiceSocialLinks.d.ts +4 -0
  301. package/build/library/directory/ServiceSocialLinks/ServiceSocialLinks.storydata.d.ts +2 -0
  302. package/build/library/directory/ServiceSocialLinks/ServiceSocialLinks.types.d.ts +24 -0
  303. package/build/library/helpers/UseLocalStorage.d.ts +2 -0
  304. package/build/library/helpers/api-helpers.d.ts +120 -0
  305. package/build/library/pages/ContentPage/ContentPage.d.ts +4 -0
  306. package/build/library/pages/ContentPage/ContentPage.storydata.d.ts +10 -0
  307. package/build/library/pages/CouncilTaxPageExample/CouncilTaxPageExample.d.ts +5 -0
  308. package/build/library/pages/CouncilTaxParishPageExample/CouncilTaxParishPageExample.d.ts +5 -0
  309. package/build/library/pages/DirectoryServicePage/DirectoryServicePage.d.ts +2 -0
  310. package/build/library/pages/ErrorPage/ErrorPage.d.ts +6 -0
  311. package/build/library/pages/Home/HomePage.d.ts +8 -0
  312. package/build/library/pages/Home/HomePage.types.d.ts +60 -0
  313. package/build/library/pages/MemorialPage/MemorialPage.d.ts +8 -0
  314. package/build/library/pages/MemorialPage/MemorialPage.types.d.ts +59 -0
  315. package/build/library/pages/News/News.d.ts +5 -0
  316. package/build/library/pages/NewsArticle/NewsArticle.d.ts +7 -0
  317. package/build/library/pages/SearchResultsPageExample/SearchResultsPageExample.d.ts +29 -0
  318. package/build/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.d.ts +3 -0
  319. package/build/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.storydata.d.ts +30 -0
  320. package/build/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.types.d.ts +52 -0
  321. package/build/library/pages/ServicePageExample/ServicePageExample.d.ts +7 -0
  322. package/build/library/pages/SignpostPageExample/SignpostPageExample.d.ts +7 -0
  323. package/build/library/pages/Templates/Templates.d.ts +8 -0
  324. package/build/library/slices/Accordion/Accordion.d.ts +4 -0
  325. package/build/library/slices/Accordion/Accordion.types.d.ts +53 -0
  326. package/build/library/slices/Accordion/AccordionSection.d.ts +4 -0
  327. package/build/library/slices/BlockQuote/BlockQuote.d.ts +4 -0
  328. package/build/library/slices/BlockQuote/BlockQuote.types.d.ts +11 -0
  329. package/build/library/slices/CallToAction/CallToAction.d.ts +7 -0
  330. package/build/library/slices/Cards/Cards.d.ts +7 -0
  331. package/build/library/slices/Cards/Cards.types.d.ts +7 -0
  332. package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.d.ts +7 -0
  333. package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.storydata.d.ts +4 -0
  334. package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.types.d.ts +81 -0
  335. package/build/library/slices/Divider/Divider.d.ts +4 -0
  336. package/build/library/slices/Divider/Divider.types.d.ts +2 -0
  337. package/build/library/slices/DownloadableFiles/DownloadableFiles.d.ts +4 -0
  338. package/build/library/slices/DownloadableFiles/DownloadableFiles.types.d.ts +7 -0
  339. package/build/library/slices/GoogleMap/GoogleMap.d.ts +7 -0
  340. package/build/library/slices/GoogleMap/GoogleMap.storydata.d.ts +44 -0
  341. package/build/library/slices/GoogleMap/GoogleMap.types.d.ts +28 -0
  342. package/build/library/slices/Image/Image.d.ts +8 -0
  343. package/build/library/slices/Image/Image.storydata.d.ts +2 -0
  344. package/build/library/slices/Image/Image.types.d.ts +26 -0
  345. package/build/library/slices/ImageAndText/ImageAndText.d.ts +7 -0
  346. package/build/library/slices/ImageAndText/ImageAndText.storydata.d.ts +2 -0
  347. package/build/library/slices/ImageAndText/ImageAndText.types.d.ts +15 -0
  348. package/build/library/slices/InquestSchedule/InquestSchedule.d.ts +7 -0
  349. package/build/library/slices/InquestSchedule/InquestSchedule.storydata.d.ts +2 -0
  350. package/build/library/slices/InquestSchedule/InquestSchedule.types.d.ts +24 -0
  351. package/build/library/slices/Promotions/Promotions.d.ts +7 -0
  352. package/build/library/slices/SearchBox/SearchBox.d.ts +4 -0
  353. package/build/library/slices/SearchBox/SearchBox.storydata.d.ts +2 -0
  354. package/build/library/slices/SearchBox/SearchBox.types.d.ts +41 -0
  355. package/build/library/slices/Video/Video.d.ts +7 -0
  356. package/build/library/slices/Video/Video.types.d.ts +22 -0
  357. package/build/library/slices/WarningText/WarningText.d.ts +7 -0
  358. package/build/library/slices/WarningText/WarningText.types.d.ts +15 -0
  359. package/build/library/slices/WarningTextDisclaimer/WarningTextDisclaimer.d.ts +4 -0
  360. package/build/library/slices/WarningTextDisclaimer/WarningTextDisclaimer.types.d.ts +2 -0
  361. package/build/library/structure/AccessibleLinks/AccessibleLinks.d.ts +4 -0
  362. package/build/library/structure/AccessibleLinks/AccessibleLinks.types.d.ts +20 -0
  363. package/build/library/structure/AlertBanner/AlertBanner.d.ts +7 -0
  364. package/build/library/structure/AlertBanner/AlertBanner.types.d.ts +19 -0
  365. package/build/library/structure/AlertBannerService/AlertBannerService.d.ts +8 -0
  366. package/build/library/structure/AlertBannerService/AlertBannerService.types.d.ts +19 -0
  367. package/build/library/structure/BackLink/BackLink.d.ts +4 -0
  368. package/build/library/structure/BackLink/BackLink.types.d.ts +6 -0
  369. package/build/library/structure/Breadcrumbs/Breadcrumbs.d.ts +4 -0
  370. package/build/library/structure/Breadcrumbs/Breadcrumbs.types.d.ts +20 -0
  371. package/build/library/structure/Contents/Contents.d.ts +4 -0
  372. package/build/library/structure/Contents/Contents.storydata.d.ts +2 -0
  373. package/build/library/structure/Contents/Contents.types.d.ts +24 -0
  374. package/build/library/structure/ContentsNavigation/ContentsNavigation.d.ts +4 -0
  375. package/build/library/structure/CookieBanner/CookieBanner.d.ts +4 -0
  376. package/build/library/structure/CookieBanner/CookieBanner.types.d.ts +31 -0
  377. package/build/library/structure/CookieBanner/CookieClear.d.ts +5 -0
  378. package/build/library/structure/DisplayDate/DisplayDate.d.ts +7 -0
  379. package/build/library/structure/DisplayDate/DisplayDate.types.d.ts +18 -0
  380. package/build/library/structure/Footer/Footer.d.ts +4 -0
  381. package/build/library/structure/Footer/Footer.types.d.ts +24 -0
  382. package/build/library/structure/FullWidthContainer/FullWidthContainer.d.ts +7 -0
  383. package/build/library/structure/FullWidthContainer/FullWidthContainer.types.d.ts +15 -0
  384. package/build/library/structure/Header/Header.d.ts +7 -0
  385. package/build/library/structure/Header/Header.types.d.ts +31 -0
  386. package/build/library/structure/HeroImage/HeroImage.d.ts +8 -0
  387. package/build/library/structure/HeroImage/HeroImage.storydata.d.ts +6 -0
  388. package/build/library/structure/HeroImage/HeroImage.types.d.ts +48 -0
  389. package/build/library/structure/HomeHero/HomeHero.d.ts +7 -0
  390. package/build/library/structure/HomeHero/HomeHero.storydata.d.ts +14 -0
  391. package/build/library/structure/HomeHero/HomeHero.types.d.ts +54 -0
  392. package/build/library/structure/MaxWidthContainer/MaxWidthContainer.d.ts +7 -0
  393. package/build/library/structure/MaxWidthContainer/MaxWidthContainer.types.d.ts +23 -0
  394. package/build/library/structure/MemorialHero/MemorialHero.d.ts +4 -0
  395. package/build/library/structure/MemorialHero/MemorialHero.types.d.ts +27 -0
  396. package/build/library/structure/NewsArticleDate/NewsArticleDate.d.ts +7 -0
  397. package/build/library/structure/NewsArticleDate/NewsArticleDate.types.d.ts +10 -0
  398. package/build/library/structure/NewsArticleFeaturedBlock/NewsArticleFeaturedBlock.d.ts +7 -0
  399. package/build/library/structure/NewsArticleFeaturedBlock/NewsArticleFeaturedBlock.types.d.ts +23 -0
  400. package/build/library/structure/NewsArticleFilterAccordion/NewsArticleFilterAccordion.d.ts +4 -0
  401. package/build/library/structure/NewsArticleFilterAccordion/NewsArticleFilterAccordion.types.d.ts +7 -0
  402. package/build/library/structure/NewsArticleImage/NewsArticleImage.d.ts +7 -0
  403. package/build/library/structure/NewsArticleImage/NewsArticleImage.types.d.ts +18 -0
  404. package/build/library/structure/NewsArticleList/NewsArticleData.d.ts +7 -0
  405. package/build/library/structure/NewsArticleList/NewsArticleList.d.ts +4 -0
  406. package/build/library/structure/NewsArticleList/NewsArticleList.types.d.ts +28 -0
  407. package/build/library/structure/NewsArticleListHeader/NewsArticleListHeader.d.ts +4 -0
  408. package/build/library/structure/NewsArticleListHeader/NewsArticleListHeader.types.d.ts +6 -0
  409. package/build/library/structure/NewsArticleOldBanner/NewsArticleOldBanner.d.ts +7 -0
  410. package/build/library/structure/NewsArticleOldBanner/NewsArticleOldBanner.types.d.ts +2 -0
  411. package/build/library/structure/PageMain/PageMain.d.ts +7 -0
  412. package/build/library/structure/PageMain/PageMain.types.d.ts +15 -0
  413. package/build/library/structure/PageSidebar/PageSidebar.d.ts +7 -0
  414. package/build/library/structure/PageSidebar/PageSidebar.types.d.ts +7 -0
  415. package/build/library/structure/PageStructures.d.ts +42 -0
  416. package/build/library/structure/PageTitle/PageTitle.d.ts +7 -0
  417. package/build/library/structure/PageTitle/PageTitle.types.d.ts +11 -0
  418. package/build/library/structure/PageWithSidebarContainer/PageWithSidebarContainer.d.ts +7 -0
  419. package/build/library/structure/PageWithSidebarContainer/PageWithSidebarContainer.types.d.ts +11 -0
  420. package/build/library/structure/PageWrapper/PageWrapper.d.ts +4 -0
  421. package/build/library/structure/PageWrapper/PageWrapper.types.d.ts +11 -0
  422. package/build/library/structure/PhaseBanner/PhaseBanner.d.ts +4 -0
  423. package/build/library/structure/PhaseBanner/PhaseBanner.types.d.ts +3 -0
  424. package/build/library/structure/PromoBanner/PromoBanner.d.ts +8 -0
  425. package/build/library/structure/PromoBanner/PromoBanner.storydata.d.ts +10 -0
  426. package/build/library/structure/PromoBanner/PromoBanner.types.d.ts +27 -0
  427. package/build/library/structure/PromoBlock/PromoBlock.d.ts +8 -0
  428. package/build/library/structure/PromoBlock/PromoBlock.storydata.d.ts +5 -0
  429. package/build/library/structure/PromoBlock/PromoBlock.types.d.ts +36 -0
  430. package/build/library/structure/SearchHeader/SearchHeader.d.ts +4 -0
  431. package/build/library/structure/SearchHeader/SearchHeader.types.d.ts +2 -0
  432. package/build/library/structure/SearchResultsList/SearchResultsList.d.ts +4 -0
  433. package/build/library/structure/SearchResultsList/SearchResultsList.types.d.ts +45 -0
  434. package/build/library/structure/Searchbar/Searchbar.d.ts +4 -0
  435. package/build/library/structure/Searchbar/Searchbar.types.d.ts +48 -0
  436. package/build/library/structure/SectionLinks/SectionLinks.d.ts +7 -0
  437. package/build/library/structure/SectionLinks/SectionLinks.storydata.d.ts +2 -0
  438. package/build/library/structure/SectionLinks/SectionLinks.types.d.ts +52 -0
  439. package/build/library/structure/SectionLinksMobileContents/SectionLinksMobileContents.d.ts +4 -0
  440. package/build/library/structure/SectionLinksMobileContents/SectionLinksMobileContents.types.d.ts +16 -0
  441. package/build/library/structure/SectionLinksSidebar/SectionLinksSidebar.d.ts +4 -0
  442. package/build/library/structure/SectionLinksSidebar/SectionLinksSidebar.types.d.ts +34 -0
  443. package/build/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.d.ts +4 -0
  444. package/build/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.storydata.d.ts +9 -0
  445. package/build/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.types.d.ts +53 -0
  446. package/build/library/structure/ServicesLinksList/ServicesLinksList.d.ts +4 -0
  447. package/build/library/structure/ServicesLinksList/ServicesLinksList.types.d.ts +68 -0
  448. package/build/library/structure/SignpostLinks/SignpostLinks.d.ts +4 -0
  449. package/build/library/structure/SignpostLinks/SignpostLinks.types.d.ts +32 -0
  450. package/build/library/structure/SkipToMainContent/SkipToMainContent.d.ts +4 -0
  451. package/build/library/structure/SkipToMainContent/SkipToMainContent.types.d.ts +2 -0
  452. package/build/library/structure/Summary/Summary.d.ts +4 -0
  453. package/build/library/structure/Summary/Summary.types.d.ts +15 -0
  454. package/package.json +117 -0
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { SignpostLinkProp } from '../../structure/SignpostLinks/SignpostLinks.types';
3
+ export interface SignpostPageExampleProps {
4
+ signpostLinksArrayExample: Array<SignpostLinkProp>;
5
+ showServiceAlert: boolean;
6
+ }
7
+ export declare const SignpostPageExample: React.FunctionComponent<SignpostPageExampleProps>;
@@ -0,0 +1,8 @@
1
+ import React from "react";
2
+ export interface TemplatesProps {
3
+ /**
4
+ * Which page template is it
5
+ */
6
+ type: string;
7
+ }
8
+ export declare const Templates: React.FC<TemplatesProps>;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { AccordionProps } from './Accordion.types';
3
+ declare const Accordion: React.FunctionComponent<AccordionProps>;
4
+ export default Accordion;
@@ -0,0 +1,53 @@
1
+ /// <reference types="react" />
2
+ export interface AccordionProps {
3
+ /**
4
+ * accepts multiple sections
5
+ */
6
+ sections: Array<AccordionSectionProps>;
7
+ /**
8
+ * We reuse this on filter pages - but it looks slightly different
9
+ */
10
+ isFilter?: boolean;
11
+ /**
12
+ * Should there be a read more link at the bottom of each section?
13
+ */
14
+ withReadMore?: boolean;
15
+ }
16
+ export interface AccordionSectionProps {
17
+ /**
18
+ * Section title
19
+ */
20
+ title: string;
21
+ /**
22
+ * Section content
23
+ */
24
+ content: React.ReactNode;
25
+ /**
26
+ * Section summary
27
+ */
28
+ summary?: string;
29
+ /**
30
+ * Is the section expanded
31
+ */
32
+ isExpanded?: boolean;
33
+ /**
34
+ * Identify the section so sections can have the same title
35
+ */
36
+ accordionSectionId?: number;
37
+ /**
38
+ * Method used internally for opening closing element
39
+ */
40
+ onToggle?: (title: any, value: any) => void;
41
+ /**
42
+ * We reuse this on filter pages where the section buttons have h4 styles, instead of h3 styles
43
+ */
44
+ isFilter?: boolean;
45
+ /**
46
+ * Should there be a read more link at the bottom of each section?
47
+ */
48
+ withReadMore?: boolean;
49
+ /**
50
+ * unique ID for the section
51
+ */
52
+ sectionId?: string;
53
+ }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { AccordionSectionProps } from './Accordion.types';
3
+ declare const AccordionSection: React.FunctionComponent<AccordionSectionProps>;
4
+ export default AccordionSection;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { BlockQuoteProps } from "./BlockQuote.types";
3
+ declare const BlockQuote: React.FC<BlockQuoteProps>;
4
+ export default BlockQuote;
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ export interface BlockQuoteProps {
3
+ /**
4
+ * The text of the quote
5
+ */
6
+ quote: React.ReactNode;
7
+ /**
8
+ * Optionally, the attribution of the quote
9
+ */
10
+ citation?: string;
11
+ }
@@ -0,0 +1,7 @@
1
+ import React from "react";
2
+ import { ButtonProps } from "../../components/Button/Button.types";
3
+ /**
4
+ * A button wrapped in a div used as a slice in the content management system
5
+ */
6
+ declare const CallToAction: React.FC<ButtonProps>;
7
+ export default CallToAction;
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { CardsProps } from './Cards.types';
3
+ /**
4
+ * Multiple cards in a responsive grid
5
+ */
6
+ declare const Cards: React.FunctionComponent<CardsProps>;
7
+ export default Cards;
@@ -0,0 +1,7 @@
1
+ import { CardProps } from '../../components/Card/Card.types';
2
+ export interface CardsProps {
3
+ /**
4
+ * An array of card
5
+ */
6
+ cards: CardProps[];
7
+ }
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { CouncilTaxAlphabeticalDirectoryProps } from './CouncilTaxAlphabeticalDirectory.types';
3
+ /**
4
+ * An list of parishes, sorted alphabetically, containing parish council tax bands
5
+ */
6
+ declare const CouncilTaxAlphabeticalDirectory: React.FunctionComponent<CouncilTaxAlphabeticalDirectoryProps>;
7
+ export default CouncilTaxAlphabeticalDirectory;
@@ -0,0 +1,4 @@
1
+ import { BandingAPIResponse, ParishAPIResponse, ParishBands } from './CouncilTaxAlphabeticalDirectory.types';
2
+ export declare const exampleBands: ParishBands;
3
+ export declare const exampleParishes: ParishAPIResponse[];
4
+ export declare const exampleBandings: BandingAPIResponse[];
@@ -0,0 +1,81 @@
1
+ export interface CouncilTaxAlphabeticalDirectoryProps {
2
+ financialYear: string;
3
+ parishes: BandingAPIResponse[] | undefined;
4
+ }
5
+ /**
6
+ * The sorted parishes, grouped by first letter
7
+ */
8
+ export interface SortedData {
9
+ /**
10
+ * A grouping letter
11
+ */
12
+ group: string;
13
+ /**
14
+ * An array of sorted parishes
15
+ */
16
+ children: SortedParish[];
17
+ }
18
+ /**
19
+ * The sorted parish with title and bands
20
+ */
21
+ export interface SortedParish {
22
+ /**
23
+ * The banding_parish title
24
+ */
25
+ title: string;
26
+ /**
27
+ * An object of Parish Bands
28
+ */
29
+ values: ParishBands;
30
+ }
31
+ /**
32
+ * The council tax bands a-h
33
+ */
34
+ export interface ParishBands {
35
+ a: string;
36
+ b: string;
37
+ c: string;
38
+ d: string;
39
+ e: string;
40
+ f: string;
41
+ g: string;
42
+ h: string;
43
+ }
44
+ /**
45
+ * The raw parish returned from the API
46
+ */
47
+ export interface ParishAPIResponse {
48
+ /**
49
+ * The banding parish title
50
+ */
51
+ banding_parish: string;
52
+ /**
53
+ * An object of Parish Bands
54
+ */
55
+ bands: ParishBands;
56
+ /**
57
+ * The parish code
58
+ */
59
+ code: string;
60
+ /**
61
+ * The official parish title
62
+ */
63
+ official_parish: string;
64
+ /**
65
+ * The unitary council name, such as 'West' or 'North'
66
+ */
67
+ unitary: string;
68
+ }
69
+ /**
70
+ * The raw banding data from the API
71
+ */
72
+ export interface BandingAPIResponse {
73
+ /**
74
+ * The parish name
75
+ */
76
+ parish: string;
77
+ /**
78
+ * An object of Parish Bands
79
+ */
80
+ bands: ParishBands;
81
+ }
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { DividerProps } from "./Divider.types";
3
+ declare const Divider: React.FC<DividerProps>;
4
+ export default Divider;
@@ -0,0 +1,2 @@
1
+ export interface DividerProps {
2
+ }
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { DownloadableFilesProps } from "./DownloadableFiles.types";
3
+ declare const DownloadableFiles: React.FC<DownloadableFilesProps>;
4
+ export default DownloadableFiles;
@@ -0,0 +1,7 @@
1
+ import { FileDownloadProps } from '../../components/FileDownload/FileDownload.types';
2
+ export interface DownloadableFilesProps {
3
+ /**
4
+ * An array of downloadable files
5
+ */
6
+ files: Array<FileDownloadProps>;
7
+ }
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { GoogleMapProps } from './GoogleMap.types';
3
+ /**
4
+ * A responsive Google Maps embed
5
+ */
6
+ declare const GoogleMap: React.FunctionComponent<GoogleMapProps>;
7
+ export default GoogleMap;
@@ -0,0 +1,44 @@
1
+ export declare const GoogleMapWithTitleAndDescription: {
2
+ allowCookies: boolean;
3
+ title: string;
4
+ description: string;
5
+ link_title: string;
6
+ link_url: string;
7
+ iframe_html: string;
8
+ };
9
+ export declare const GoogleMapWithTitleOnly: {
10
+ title: string;
11
+ link_title: string;
12
+ link_url: string;
13
+ iframe_html: string;
14
+ allowCookies: boolean;
15
+ };
16
+ export declare const GoogleMapNoTitleOrDescription: {
17
+ link_title: string;
18
+ link_url: string;
19
+ iframe_html: string;
20
+ allowCookies: boolean;
21
+ };
22
+ export declare const GoogleMapWithTitleAndDescriptionDataWithoutCookies: {
23
+ allowCookies: boolean;
24
+ title: string;
25
+ description: string;
26
+ link_title: string;
27
+ link_url: string;
28
+ iframe_html: string;
29
+ };
30
+ export declare const GoogleMapWithTitleAndDescriptionDataAutodetectCookies: {
31
+ title: string;
32
+ description: string;
33
+ link_title: string;
34
+ link_url: string;
35
+ iframe_html: string;
36
+ };
37
+ export declare const GoogleMapWithInvalidLinks: {
38
+ title: string;
39
+ description: string;
40
+ link_title: string;
41
+ link_url: string;
42
+ iframe_html: string;
43
+ allowCookies: boolean;
44
+ };
@@ -0,0 +1,28 @@
1
+ export interface GoogleMapProps {
2
+ /**
3
+ * Title text. Optional.
4
+ */
5
+ title?: string;
6
+ /**
7
+ * The description text displayed under the title and above the map. Optional.
8
+ */
9
+ description?: string;
10
+ /**
11
+ * The map's iframe code as provide by the 'Embed a map' sharing option on Google Maps.
12
+ * Used if cookies have been accepted.
13
+ */
14
+ iframe_html: string;
15
+ /**
16
+ * The map's URL as provided by the 'Send a link' sharing option on Google Maps.
17
+ * Used if cookies have not been accepted; a link will be displayed instead of an embed.
18
+ */
19
+ link_url: string;
20
+ /**
21
+ * Title for the link used if cookies were not accepted. Optional.
22
+ */
23
+ link_title?: string;
24
+ /**
25
+ * Allow overriding if cookies are allowed (for stories).
26
+ */
27
+ allowCookies?: boolean;
28
+ }
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { ImageProps } from './Image.types';
3
+ /**
4
+ * Responsive image slice component that allows 4 by 3 or 16 by 9 images
5
+ * with an optional caption.
6
+ */
7
+ declare const Image: React.FunctionComponent<ImageProps>;
8
+ export default Image;
@@ -0,0 +1,2 @@
1
+ import { ImageProps } from './Image.types';
2
+ export declare const ImageWithCaption: ImageProps;
@@ -0,0 +1,26 @@
1
+ export interface ImageProps {
2
+ /**
3
+ * The large image url
4
+ */
5
+ imageLarge: string;
6
+ /**
7
+ * The small image url
8
+ */
9
+ imageSmall: string;
10
+ /**
11
+ * The image alt text to describe the image
12
+ */
13
+ imageAltText?: string | null;
14
+ /**
15
+ * The image ratio, either '4by3' or '16by9'
16
+ */
17
+ ratio: string;
18
+ /**
19
+ * The optional image caption that goes under the image
20
+ */
21
+ caption?: string | null;
22
+ /**
23
+ * Set to true to have following text wrap against image
24
+ */
25
+ wrapText?: boolean;
26
+ }
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { ImageAndTextProps } from './ImageAndText.types';
3
+ /**
4
+ * A container for an image and text content, with an optional heading
5
+ */
6
+ declare const ImageAndText: React.FunctionComponent<ImageAndTextProps>;
7
+ export default ImageAndText;
@@ -0,0 +1,2 @@
1
+ import { ImageAndTextProps } from './ImageAndText.types';
2
+ export declare const ImageAndTextWithHeading: ImageAndTextProps;
@@ -0,0 +1,15 @@
1
+ import { ImageProps } from '../Image/Image.types';
2
+ export interface ImageAndTextProps {
3
+ /**
4
+ * An optional heading
5
+ */
6
+ heading?: string | null;
7
+ /**
8
+ * The string of html text content
9
+ */
10
+ textContent: string;
11
+ /**
12
+ * The image, containing the paths, alt text and caption
13
+ */
14
+ image?: ImageProps | null;
15
+ }
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { InquestScheduleProps } from './InquestSchedule.types';
3
+ /**
4
+ * A table displaying a schedule of inquests
5
+ */
6
+ declare const InquestSchedule: React.FunctionComponent<InquestScheduleProps>;
7
+ export default InquestSchedule;
@@ -0,0 +1,2 @@
1
+ import { CaseAppointmentProps } from './InquestSchedule.types';
2
+ export declare const ExampleInquestScheduleData: CaseAppointmentProps;
@@ -0,0 +1,24 @@
1
+ export interface InquestScheduleProps {
2
+ /**
3
+ * An array of Case Appointments
4
+ */
5
+ caseAppointments: CaseAppointmentProps[];
6
+ /**
7
+ * The table title or caption
8
+ */
9
+ title: string;
10
+ /**
11
+ * Was there an error fetching results
12
+ */
13
+ error?: boolean;
14
+ }
15
+ export interface CaseAppointmentProps {
16
+ fullName: string;
17
+ age: number;
18
+ placeOfDeath?: string | null;
19
+ dateTimeOfDeath: string;
20
+ coroner: string;
21
+ courtroomFullAddress: string;
22
+ appointmentType: string;
23
+ startDateTime: string;
24
+ }
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { PromoBlockProps } from '../../structure/PromoBlock/PromoBlock.types';
3
+ /**
4
+ * Combined promotional banner and promotional block for use as a slice on any page
5
+ */
6
+ declare const Promotions: React.FunctionComponent<PromoBlockProps>;
7
+ export default Promotions;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SearchBoxProps } from './SearchBox.types';
3
+ declare const SearchBox: React.FunctionComponent<SearchBoxProps>;
4
+ export default SearchBox;
@@ -0,0 +1,2 @@
1
+ import { SearchBoxProps } from './SearchBox.types';
2
+ export declare const ExampleSearchBoxProps: SearchBoxProps;
@@ -0,0 +1,41 @@
1
+ import { CustomSearchProps } from '../../components/CustomSearch/CustomSearch.types';
2
+ export interface SearchBoxProps {
3
+ /**
4
+ * The Custom Search sub-component props
5
+ */
6
+ customSearch: CustomSearchProps;
7
+ /**
8
+ * URL of the hero image (min 400pix high)
9
+ */
10
+ imageLarge?: string | null;
11
+ /**
12
+ * URL of the a smaller version of the image for lazy loading
13
+ */
14
+ imageSmall?: string | null;
15
+ /**
16
+ * Optional alt text for the image - ideally the image should be decorative only and not require a long description
17
+ */
18
+ imageAltText?: string | null;
19
+ /**
20
+ * Optional call to action link
21
+ */
22
+ searchBoxLink?: SearchBoxLinkProps | null;
23
+ /**
24
+ * Is the search box link primary (true) or secondary (false)
25
+ */
26
+ searchBoxLinkIsPrimary?: boolean;
27
+ /**
28
+ * Optional title
29
+ */
30
+ title?: string | null;
31
+ }
32
+ export interface SearchBoxLinkProps {
33
+ /**
34
+ * The url for the link
35
+ */
36
+ url: string;
37
+ /**
38
+ * The text for the link
39
+ */
40
+ title: string;
41
+ }
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { VideoProps } from './Video.types';
3
+ /**
4
+ * A responsive video embed for YouTube or Vimeo
5
+ */
6
+ declare const Video: React.FunctionComponent<VideoProps>;
7
+ export default Video;
@@ -0,0 +1,22 @@
1
+ export interface VideoProps {
2
+ /**
3
+ * The unique video id
4
+ */
5
+ video_id: string;
6
+ /**
7
+ * The video streaming provider
8
+ */
9
+ provider: VideoProvider;
10
+ /**
11
+ * The description link text displayed when cookies are disabled
12
+ */
13
+ description: string;
14
+ /**
15
+ * Allow overriding if cookies are allowed
16
+ */
17
+ allowCookies?: boolean;
18
+ }
19
+ export declare enum VideoProvider {
20
+ YouTube = "YouTube",
21
+ Vimeo = "Vimeo"
22
+ }
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { WarningTextProps } from './WarningText.types';
3
+ /**
4
+ * Display text as a highlight or warning with a title
5
+ */
6
+ declare const WarningText: React.FunctionComponent<WarningTextProps>;
7
+ export default WarningText;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ export interface WarningTextProps {
3
+ /**
4
+ * The title of the warning
5
+ */
6
+ title: string;
7
+ /**
8
+ * Optional to change the colour from a secondary colour to warning
9
+ */
10
+ isWarning?: boolean;
11
+ /**
12
+ * The WarningText contents
13
+ */
14
+ children?: React.ReactNode;
15
+ }
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { WarningTextDisclaimerProps } from './WarningTextDisclaimer.types';
3
+ declare const WarningTextDisclaimer: React.FunctionComponent<WarningTextDisclaimerProps>;
4
+ export default WarningTextDisclaimer;
@@ -0,0 +1,2 @@
1
+ export interface WarningTextDisclaimerProps {
2
+ }
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { AccessibleLinkProps } from "./AccessibleLinks.types";
3
+ declare const AccessibleLink: React.FC<AccessibleLinkProps>;
4
+ export default AccessibleLink;
@@ -0,0 +1,20 @@
1
+ export interface AccessibleLinkProps {
2
+ /**
3
+ * An array of links for the accessible links section at the top of the page, for things like accessibility message and feedback form
4
+ */
5
+ AccessibleLinksArray?: Array<AccessibleLinkProp>;
6
+ }
7
+ export interface AccessibleLinkProp {
8
+ /**
9
+ * Title of the link
10
+ */
11
+ title: string;
12
+ /**
13
+ * URL of the link
14
+ */
15
+ url: string;
16
+ /**
17
+ * Is the link to an external website?
18
+ */
19
+ isExternal?: boolean;
20
+ }
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { AlertBannerProps } from './AlertBanner.types';
3
+ /**
4
+ * A site wide alert banner, once dismissed it won't be shown again
5
+ */
6
+ declare const AlertBanner: React.FunctionComponent<AlertBannerProps>;
7
+ export default AlertBanner;
@@ -0,0 +1,19 @@
1
+ /// <reference types="react" />
2
+ export interface AlertBannerProps {
3
+ /**
4
+ * Title of the alert
5
+ */
6
+ title: string;
7
+ /**
8
+ * A unique idenification for the alert banner to store the localstorage for the hide button
9
+ */
10
+ uid: string;
11
+ /**
12
+ * The type of alert
13
+ */
14
+ alertType?: 'alert' | 'warning' | 'positive' | 'london_bridge';
15
+ /**
16
+ * All children content for the banner
17
+ */
18
+ children: React.ReactNode;
19
+ }
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ import { AlertBannerServiceProps } from './AlertBannerService.types';
3
+ /**
4
+ * A banner to be displayed at the top of a page before the main content
5
+ * to draw the viewer's attention to an alert notice
6
+ */
7
+ declare const AlertBannerService: React.FunctionComponent<AlertBannerServiceProps>;
8
+ export default AlertBannerService;
@@ -0,0 +1,19 @@
1
+ /// <reference types="react" />
2
+ export interface AlertBannerServiceProps {
3
+ /**
4
+ * The optional title of this alert banner
5
+ */
6
+ title?: string;
7
+ /**
8
+ * Set to true for additional margin above the alert banner
9
+ */
10
+ hasTopSpacing?: boolean;
11
+ /**
12
+ * The type of alert banner
13
+ */
14
+ alertType?: 'alert' | 'warning' | 'positive' | 'london_bridge';
15
+ /**
16
+ * All child content for the alert banner
17
+ */
18
+ children: React.ReactNode;
19
+ }