@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.
- package/LICENSE +674 -0
- package/README.md +232 -0
- package/build/index.d.ts +41 -0
- package/build/index.esm.js +31663 -0
- package/build/index.esm.js.map +1 -0
- package/build/index.js +31760 -0
- package/build/index.js.map +1 -0
- package/build/library/components/AlphabeticalDirectory/AlphabeticalDirectory.d.ts +4 -0
- package/build/library/components/AlphabeticalDirectory/AlphabeticalDirectory.types.d.ts +26 -0
- package/build/library/components/Autocomplete/Autocomplete.d.ts +9 -0
- package/build/library/components/Autocomplete/Autocomplete.storydata.d.ts +47 -0
- package/build/library/components/Autocomplete/Autocomplete.types.d.ts +70 -0
- package/build/library/components/BackToTop/BackToTop.d.ts +4 -0
- package/build/library/components/BackToTop/BackToTop.types.d.ts +6 -0
- package/build/library/components/Button/Button.d.ts +7 -0
- package/build/library/components/Button/Button.types.d.ts +43 -0
- package/build/library/components/Card/Card.d.ts +7 -0
- package/build/library/components/Card/Card.types.d.ts +36 -0
- package/build/library/components/CheckboxListFilter/CheckboxListFilter.d.ts +4 -0
- package/build/library/components/CheckboxListFilter/CheckboxListFilter.types.d.ts +36 -0
- package/build/library/components/Column/Column.d.ts +4 -0
- package/build/library/components/Column/Column.types.d.ts +36 -0
- package/build/library/components/CustomSearch/CustomSearch.d.ts +4 -0
- package/build/library/components/CustomSearch/CustomSearch.storydata.d.ts +2 -0
- package/build/library/components/CustomSearch/CustomSearch.types.d.ts +34 -0
- package/build/library/components/DropDownFilter/DropDownFilter.d.ts +4 -0
- package/build/library/components/DropDownFilter/DropDownFilter.types.d.ts +32 -0
- package/build/library/components/DropDownSelect/DropDownSelect.d.ts +4 -0
- package/build/library/components/DropDownSelect/DropDownSelect.types.d.ts +36 -0
- package/build/library/components/DynamicIcon/DynamicIcon.d.ts +7 -0
- package/build/library/components/DynamicIcon/DynamicIcon.types.d.ts +10 -0
- package/build/library/components/FileDownload/FileDownload.d.ts +7 -0
- package/build/library/components/FileDownload/FileDownload.types.d.ts +22 -0
- package/build/library/components/FormButton/FormButton.d.ts +7 -0
- package/build/library/components/FormButton/FormButton.types.d.ts +27 -0
- package/build/library/components/FormWithLine/FormWithLine.d.ts +7 -0
- package/build/library/components/FormWithLine/FormWithLine.types.d.ts +39 -0
- package/build/library/components/Heading/Heading.d.ts +7 -0
- package/build/library/components/Heading/Heading.types.d.ts +10 -0
- package/build/library/components/HeadingWithIcon/HeadingWithIcon.d.ts +7 -0
- package/build/library/components/HeadingWithIcon/HeadingWithIcon.types.d.ts +18 -0
- package/build/library/components/HeadingWithIconLink/HeadingWithIconLink.d.ts +4 -0
- package/build/library/components/HeadingWithIconLink/HeadingWithIconLink.types.d.ts +14 -0
- package/build/library/components/HintText/HintText.d.ts +7 -0
- package/build/library/components/HintText/HintText.types.d.ts +6 -0
- package/build/library/components/Input/Input.d.ts +8 -0
- package/build/library/components/Input/Input.types.d.ts +45 -0
- package/build/library/components/LoadingSpinner/LoadingSpinner.d.ts +4 -0
- package/build/library/components/LoadingSpinner/LoadingSpinner.types.d.ts +2 -0
- package/build/library/components/Map/Map.d.ts +7 -0
- package/build/library/components/Map/Map.types.d.ts +16 -0
- package/build/library/components/MapMarker/MapMarker.d.ts +7 -0
- package/build/library/components/Pagination/Pagination.d.ts +4 -0
- package/build/library/components/Pagination/Pagination.types.d.ts +23 -0
- package/build/library/components/PostCodeAddressDropdown/PostCodeAddressDropdown.d.ts +7 -0
- package/build/library/components/PostCodeAddressDropdown/PostCodeAddressDropdown.types.d.ts +2 -0
- package/build/library/components/PostCodeAddressSearch/PostCodeAddressSearch.d.ts +7 -0
- package/build/library/components/PostCodeAddressSearch/PostCodeAddressSearch.types.d.ts +23 -0
- package/build/library/components/PostCodeAddressTable/PostCodeAddressTable.d.ts +4 -0
- package/build/library/components/PostCodeAddressTable/PostCodeAddressTable.types.d.ts +2 -0
- package/build/library/components/PostCodeSearch/PostCodeSearch.d.ts +7 -0
- package/build/library/components/PostCodeSearch/PostCodeSearch.types.d.ts +52 -0
- package/build/library/components/PromotedLinks/PromotedLinks.d.ts +4 -0
- package/build/library/components/PromotedLinks/PromotedLinks.types.d.ts +20 -0
- package/build/library/components/RadioCheckboxInput/RadioCheckboxInput.d.ts +4 -0
- package/build/library/components/RadioCheckboxInput/RadioCheckboxInput.types.d.ts +27 -0
- package/build/library/components/RemovableTag/RemovableTag.d.ts +4 -0
- package/build/library/components/RemovableTag/RemovableTag.types.d.ts +8 -0
- package/build/library/components/RemoveAllFilters/RemoveAllFilters.d.ts +4 -0
- package/build/library/components/RemoveAllFilters/RemoveAllFilters.types.d.ts +3 -0
- package/build/library/components/Row/Row.d.ts +4 -0
- package/build/library/components/Row/Row.types.d.ts +20 -0
- package/build/library/components/SignpostLinksList/SignpostLinksList.d.ts +4 -0
- package/build/library/components/SignpostLinksList/SignpostLinksList.types.d.ts +24 -0
- package/build/library/components/SortBy/SortBy.d.ts +4 -0
- package/build/library/components/SortBy/SortBy.types.d.ts +20 -0
- package/build/library/components/StaticMap/StaticMap.d.ts +7 -0
- package/build/library/components/StaticMap/StaticMap.types.d.ts +52 -0
- package/build/library/components/SummaryList/SummaryList.d.ts +4 -0
- package/build/library/components/SummaryList/SummaryList.types.d.ts +21 -0
- package/build/library/components/TextInput/TextInput.d.ts +7 -0
- package/build/library/components/TextInput/TextInput.types.d.ts +34 -0
- package/build/library/components/icons/ChevronIcon/ChevronIcon.d.ts +4 -0
- package/build/library/components/icons/ChevronIcon/ChevronIcon.types.d.ts +10 -0
- package/build/library/components/icons/CloseIcon/CloseIcon.d.ts +4 -0
- package/build/library/components/icons/CloseIcon/CloseIcon.types.d.ts +6 -0
- package/build/library/components/icons/DownloadFileIcon/DownloadFileIcon.d.ts +4 -0
- package/build/library/components/icons/DownloadFileIcon/DownloadFileIcon.types.d.ts +6 -0
- package/build/library/components/icons/EmailIcon/EmailIcon.d.ts +4 -0
- package/build/library/components/icons/EmailIcon/EmailIcon.types.d.ts +6 -0
- package/build/library/components/icons/FacebookIcon/Icon.d.ts +4 -0
- package/build/library/components/icons/HeartIcon/HeartIcon.d.ts +7 -0
- package/build/library/components/icons/HeartIcon/HeartIcon.types.d.ts +6 -0
- package/build/library/components/icons/InstagramIcon/Icon.d.ts +4 -0
- package/build/library/components/icons/LinkIcon/LinkIcon.d.ts +4 -0
- package/build/library/components/icons/LinkIcon/LinkIcon.types.d.ts +6 -0
- package/build/library/components/icons/LinkedInIcon/Icon.d.ts +4 -0
- package/build/library/components/icons/PhoneIcon/PhoneIcon.d.ts +4 -0
- package/build/library/components/icons/PhoneIcon/PhoneIcon.types.d.ts +6 -0
- package/build/library/components/icons/PinIcon/PinIcon.d.ts +7 -0
- package/build/library/components/icons/PinIcon/PinIcon.types.d.ts +6 -0
- package/build/library/components/icons/SearchIcon/SearchIcon.d.ts +4 -0
- package/build/library/components/icons/SearchIcon/SearchIcon.types.d.ts +6 -0
- package/build/library/components/icons/TwitterIcon/Icon.d.ts +4 -0
- package/build/library/components/icons/WebsiteIcon/WebsiteIcon.d.ts +4 -0
- package/build/library/components/icons/WebsiteIcon/WebsiteIcon.types.d.ts +6 -0
- package/build/library/components/icons/YouTubeIcon/Icon.d.ts +4 -0
- package/build/library/components/icons/services/AccessibleParking/Icon.d.ts +4 -0
- package/build/library/components/icons/services/AccessibleParking/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Address/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Address/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/AddressChange/Icon.d.ts +4 -0
- package/build/library/components/icons/services/AddressChange/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Adults/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Adults/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Benefits/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Benefits/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/BinDay/Icon.d.ts +4 -0
- package/build/library/components/icons/services/BinDay/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Bins/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Bins/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/BirthCertificate/Icon.d.ts +4 -0
- package/build/library/components/icons/services/BirthCertificate/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Births/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Births/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Bollard/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Bollard/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/BulkWaste/Icon.d.ts +4 -0
- package/build/library/components/icons/services/BulkWaste/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Bus/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Bus/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/BusPass/Icon.d.ts +4 -0
- package/build/library/components/icons/services/BusPass/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Business/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Business/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Careers/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Careers/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Cash/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Cash/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Catalogue/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Catalogue/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Ceremony/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Ceremony/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Charity/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Charity/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Children/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Children/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Computer/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Computer/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/CondolenceBook/Icon.d.ts +4 -0
- package/build/library/components/icons/services/CondolenceBook/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Cooking/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Cooking/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Council/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Council/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/CouncilTax/Icon.d.ts +4 -0
- package/build/library/components/icons/services/CouncilTax/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Covid/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Covid/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Culture/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Culture/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/CultureNorth/Icon.d.ts +4 -0
- package/build/library/components/icons/services/CultureNorth/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/CultureWest/Icon.d.ts +4 -0
- package/build/library/components/icons/services/CultureWest/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/DOLS/Icon.d.ts +4 -0
- package/build/library/components/icons/services/DOLS/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/DeathCertificate/Icon.d.ts +4 -0
- package/build/library/components/icons/services/DeathCertificate/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Democracy/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Democracy/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/DogFouling/Icon.d.ts +4 -0
- package/build/library/components/icons/services/DogFouling/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Ebook/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Ebook/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Edit/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Edit/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Environment/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Environment/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Events/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Events/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Finance/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Finance/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Flower/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Flower/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/FlyTip/Icon.d.ts +4 -0
- package/build/library/components/icons/services/FlyTip/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/FoodWaste/Icon.d.ts +4 -0
- package/build/library/components/icons/services/FoodWaste/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/GiveNotice/Icon.d.ts +4 -0
- package/build/library/components/icons/services/GiveNotice/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/GovUK/Icon.d.ts +4 -0
- package/build/library/components/icons/services/GovUK/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Graffiti/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Graffiti/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Highway/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Highway/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/HouseMoney/Icon.d.ts +4 -0
- package/build/library/components/icons/services/HouseMoney/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Housing/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Housing/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Icon.types.d.ts +6 -0
- package/build/library/components/icons/services/Independence/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Independence/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Libraries/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Libraries/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Litter/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Litter/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/MapPin/Icon.d.ts +4 -0
- package/build/library/components/icons/services/MapPin/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Member/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Member/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/MissedBin/Icon.d.ts +4 -0
- package/build/library/components/icons/services/MissedBin/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/New/Icon.d.ts +4 -0
- package/build/library/components/icons/services/New/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/OccupationalTherapy/Icon.d.ts +4 -0
- package/build/library/components/icons/services/OccupationalTherapy/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/ParkEvent/Icon.d.ts +4 -0
- package/build/library/components/icons/services/ParkEvent/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Parking/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Parking/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/ParkingTicket/Icon.d.ts +4 -0
- package/build/library/components/icons/services/ParkingTicket/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Pay/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Pay/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/PhonePay/Icon.d.ts +4 -0
- package/build/library/components/icons/services/PhonePay/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Planning/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Planning/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Pothole/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Pothole/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Protect/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Protect/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/RatePay/Icon.d.ts +4 -0
- package/build/library/components/icons/services/RatePay/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/RegisterBirth/Icon.d.ts +4 -0
- package/build/library/components/icons/services/RegisterBirth/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/RegisterDeath/Icon.d.ts +4 -0
- package/build/library/components/icons/services/RegisterDeath/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Report/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Report/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Restrict/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Restrict/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/RoadWorks/Icon.d.ts +4 -0
- package/build/library/components/icons/services/RoadWorks/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Roads/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Roads/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/RoyalWebsite/Icon.d.ts +4 -0
- package/build/library/components/icons/services/RoyalWebsite/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Safety/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Safety/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Schools/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Schools/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/ServicesIcons.d.ts +160 -0
- package/build/library/components/icons/services/SinglePerson/Icon.d.ts +4 -0
- package/build/library/components/icons/services/SinglePerson/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Sports/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Sports/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Valuation/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Valuation/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Venue/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Venue/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/WasteChecklist/Icon.d.ts +4 -0
- package/build/library/components/icons/services/WasteChecklist/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/WasteSorting/Icon.d.ts +4 -0
- package/build/library/components/icons/services/WasteSorting/IconHover.d.ts +4 -0
- package/build/library/components/logos/GDSLogo/logo.d.ts +4 -0
- package/build/library/components/logos/GDSLogo/logo.types.d.ts +2 -0
- package/build/library/components/logos/NorthColouredLogo/logo.d.ts +4 -0
- package/build/library/components/logos/NorthColouredLogo/logo.types.d.ts +2 -0
- package/build/library/components/logos/NorthWhiteLogo/logo.d.ts +4 -0
- package/build/library/components/logos/NorthWhiteLogo/logo.types.d.ts +2 -0
- package/build/library/components/logos/WestColouredLogo/logo.d.ts +4 -0
- package/build/library/components/logos/WestColouredLogo/logo.types.d.ts +2 -0
- package/build/library/components/logos/WestWhiteLogo/logo.d.ts +4 -0
- package/build/library/components/logos/WestWhiteLogo/logo.types.d.ts +2 -0
- package/build/library/contexts/DirectoryShortListProvider/DirectoryShortListProvider.d.ts +4 -0
- package/build/library/contexts/DirectoryShortListProvider/DirectoryShortListProvider.types.d.ts +41 -0
- package/build/library/contexts/PostCodeAddressProvider/PostCodeAddressProvider.d.ts +6 -0
- package/build/library/contexts/PostCodeAddressProvider/PostCodeAddressProvider.types.d.ts +18 -0
- package/build/library/directory/DirectoryAddToShortList/DirectoryAddToShortList.d.ts +4 -0
- package/build/library/directory/DirectoryAddToShortList/DirectoryAddToShortList.types.d.ts +26 -0
- package/build/library/directory/DirectoryDocumentList/DirectoryDocumentList.d.ts +4 -0
- package/build/library/directory/DirectoryDocumentList/DirectoryDocumentList.storydata.d.ts +4 -0
- package/build/library/directory/DirectoryDocumentList/DirectoryDocumentList.types.d.ts +63 -0
- package/build/library/directory/DirectoryMap/DirectoryMap.d.ts +4 -0
- package/build/library/directory/DirectoryMap/DirectoryMap.types.d.ts +11 -0
- package/build/library/directory/DirectoryService/DirectoryService.d.ts +4 -0
- package/build/library/directory/DirectoryService/DirectoryService.storydata.d.ts +4 -0
- package/build/library/directory/DirectoryService/DirectoryService.types.d.ts +278 -0
- package/build/library/directory/DirectoryService/DirectoryServiceTransform.d.ts +8 -0
- package/build/library/directory/DirectoryServiceList/DirectoryServiceList.d.ts +4 -0
- package/build/library/directory/DirectoryServiceList/DirectoryServiceList.storydata.d.ts +6 -0
- package/build/library/directory/DirectoryServiceList/DirectoryServiceList.types.d.ts +136 -0
- package/build/library/directory/DirectoryShortList/DirectoryShortList.d.ts +4 -0
- package/build/library/directory/DirectoryShortList/DirectoryShortList.types.d.ts +6 -0
- package/build/library/directory/ServiceContact/ServiceContact.d.ts +4 -0
- package/build/library/directory/ServiceContact/ServiceContact.types.d.ts +42 -0
- package/build/library/directory/ServiceSocialLinks/ServiceSocialLinks.d.ts +4 -0
- package/build/library/directory/ServiceSocialLinks/ServiceSocialLinks.storydata.d.ts +2 -0
- package/build/library/directory/ServiceSocialLinks/ServiceSocialLinks.types.d.ts +24 -0
- package/build/library/helpers/UseLocalStorage.d.ts +2 -0
- package/build/library/helpers/api-helpers.d.ts +120 -0
- package/build/library/pages/ContentPage/ContentPage.d.ts +4 -0
- package/build/library/pages/ContentPage/ContentPage.storydata.d.ts +10 -0
- package/build/library/pages/CouncilTaxPageExample/CouncilTaxPageExample.d.ts +5 -0
- package/build/library/pages/CouncilTaxParishPageExample/CouncilTaxParishPageExample.d.ts +5 -0
- package/build/library/pages/DirectoryServicePage/DirectoryServicePage.d.ts +2 -0
- package/build/library/pages/ErrorPage/ErrorPage.d.ts +6 -0
- package/build/library/pages/Home/HomePage.d.ts +8 -0
- package/build/library/pages/Home/HomePage.types.d.ts +60 -0
- package/build/library/pages/MemorialPage/MemorialPage.d.ts +8 -0
- package/build/library/pages/MemorialPage/MemorialPage.types.d.ts +59 -0
- package/build/library/pages/News/News.d.ts +5 -0
- package/build/library/pages/NewsArticle/NewsArticle.d.ts +7 -0
- package/build/library/pages/SearchResultsPageExample/SearchResultsPageExample.d.ts +29 -0
- package/build/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.d.ts +3 -0
- package/build/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.storydata.d.ts +30 -0
- package/build/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.types.d.ts +52 -0
- package/build/library/pages/ServicePageExample/ServicePageExample.d.ts +7 -0
- package/build/library/pages/SignpostPageExample/SignpostPageExample.d.ts +7 -0
- package/build/library/pages/Templates/Templates.d.ts +8 -0
- package/build/library/slices/Accordion/Accordion.d.ts +4 -0
- package/build/library/slices/Accordion/Accordion.types.d.ts +53 -0
- package/build/library/slices/Accordion/AccordionSection.d.ts +4 -0
- package/build/library/slices/BlockQuote/BlockQuote.d.ts +4 -0
- package/build/library/slices/BlockQuote/BlockQuote.types.d.ts +11 -0
- package/build/library/slices/CallToAction/CallToAction.d.ts +7 -0
- package/build/library/slices/Cards/Cards.d.ts +7 -0
- package/build/library/slices/Cards/Cards.types.d.ts +7 -0
- package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.d.ts +7 -0
- package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.storydata.d.ts +4 -0
- package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.types.d.ts +81 -0
- package/build/library/slices/Divider/Divider.d.ts +4 -0
- package/build/library/slices/Divider/Divider.types.d.ts +2 -0
- package/build/library/slices/DownloadableFiles/DownloadableFiles.d.ts +4 -0
- package/build/library/slices/DownloadableFiles/DownloadableFiles.types.d.ts +7 -0
- package/build/library/slices/GoogleMap/GoogleMap.d.ts +7 -0
- package/build/library/slices/GoogleMap/GoogleMap.storydata.d.ts +44 -0
- package/build/library/slices/GoogleMap/GoogleMap.types.d.ts +28 -0
- package/build/library/slices/Image/Image.d.ts +8 -0
- package/build/library/slices/Image/Image.storydata.d.ts +2 -0
- package/build/library/slices/Image/Image.types.d.ts +26 -0
- package/build/library/slices/ImageAndText/ImageAndText.d.ts +7 -0
- package/build/library/slices/ImageAndText/ImageAndText.storydata.d.ts +2 -0
- package/build/library/slices/ImageAndText/ImageAndText.types.d.ts +15 -0
- package/build/library/slices/InquestSchedule/InquestSchedule.d.ts +7 -0
- package/build/library/slices/InquestSchedule/InquestSchedule.storydata.d.ts +2 -0
- package/build/library/slices/InquestSchedule/InquestSchedule.types.d.ts +24 -0
- package/build/library/slices/Promotions/Promotions.d.ts +7 -0
- package/build/library/slices/SearchBox/SearchBox.d.ts +4 -0
- package/build/library/slices/SearchBox/SearchBox.storydata.d.ts +2 -0
- package/build/library/slices/SearchBox/SearchBox.types.d.ts +41 -0
- package/build/library/slices/Video/Video.d.ts +7 -0
- package/build/library/slices/Video/Video.types.d.ts +22 -0
- package/build/library/slices/WarningText/WarningText.d.ts +7 -0
- package/build/library/slices/WarningText/WarningText.types.d.ts +15 -0
- package/build/library/slices/WarningTextDisclaimer/WarningTextDisclaimer.d.ts +4 -0
- package/build/library/slices/WarningTextDisclaimer/WarningTextDisclaimer.types.d.ts +2 -0
- package/build/library/structure/AccessibleLinks/AccessibleLinks.d.ts +4 -0
- package/build/library/structure/AccessibleLinks/AccessibleLinks.types.d.ts +20 -0
- package/build/library/structure/AlertBanner/AlertBanner.d.ts +7 -0
- package/build/library/structure/AlertBanner/AlertBanner.types.d.ts +19 -0
- package/build/library/structure/AlertBannerService/AlertBannerService.d.ts +8 -0
- package/build/library/structure/AlertBannerService/AlertBannerService.types.d.ts +19 -0
- package/build/library/structure/BackLink/BackLink.d.ts +4 -0
- package/build/library/structure/BackLink/BackLink.types.d.ts +6 -0
- package/build/library/structure/Breadcrumbs/Breadcrumbs.d.ts +4 -0
- package/build/library/structure/Breadcrumbs/Breadcrumbs.types.d.ts +20 -0
- package/build/library/structure/Contents/Contents.d.ts +4 -0
- package/build/library/structure/Contents/Contents.storydata.d.ts +2 -0
- package/build/library/structure/Contents/Contents.types.d.ts +24 -0
- package/build/library/structure/ContentsNavigation/ContentsNavigation.d.ts +4 -0
- package/build/library/structure/CookieBanner/CookieBanner.d.ts +4 -0
- package/build/library/structure/CookieBanner/CookieBanner.types.d.ts +31 -0
- package/build/library/structure/CookieBanner/CookieClear.d.ts +5 -0
- package/build/library/structure/DisplayDate/DisplayDate.d.ts +7 -0
- package/build/library/structure/DisplayDate/DisplayDate.types.d.ts +18 -0
- package/build/library/structure/Footer/Footer.d.ts +4 -0
- package/build/library/structure/Footer/Footer.types.d.ts +24 -0
- package/build/library/structure/FullWidthContainer/FullWidthContainer.d.ts +7 -0
- package/build/library/structure/FullWidthContainer/FullWidthContainer.types.d.ts +15 -0
- package/build/library/structure/Header/Header.d.ts +7 -0
- package/build/library/structure/Header/Header.types.d.ts +31 -0
- package/build/library/structure/HeroImage/HeroImage.d.ts +8 -0
- package/build/library/structure/HeroImage/HeroImage.storydata.d.ts +6 -0
- package/build/library/structure/HeroImage/HeroImage.types.d.ts +48 -0
- package/build/library/structure/HomeHero/HomeHero.d.ts +7 -0
- package/build/library/structure/HomeHero/HomeHero.storydata.d.ts +14 -0
- package/build/library/structure/HomeHero/HomeHero.types.d.ts +54 -0
- package/build/library/structure/MaxWidthContainer/MaxWidthContainer.d.ts +7 -0
- package/build/library/structure/MaxWidthContainer/MaxWidthContainer.types.d.ts +23 -0
- package/build/library/structure/MemorialHero/MemorialHero.d.ts +4 -0
- package/build/library/structure/MemorialHero/MemorialHero.types.d.ts +27 -0
- package/build/library/structure/NewsArticleDate/NewsArticleDate.d.ts +7 -0
- package/build/library/structure/NewsArticleDate/NewsArticleDate.types.d.ts +10 -0
- package/build/library/structure/NewsArticleFeaturedBlock/NewsArticleFeaturedBlock.d.ts +7 -0
- package/build/library/structure/NewsArticleFeaturedBlock/NewsArticleFeaturedBlock.types.d.ts +23 -0
- package/build/library/structure/NewsArticleFilterAccordion/NewsArticleFilterAccordion.d.ts +4 -0
- package/build/library/structure/NewsArticleFilterAccordion/NewsArticleFilterAccordion.types.d.ts +7 -0
- package/build/library/structure/NewsArticleImage/NewsArticleImage.d.ts +7 -0
- package/build/library/structure/NewsArticleImage/NewsArticleImage.types.d.ts +18 -0
- package/build/library/structure/NewsArticleList/NewsArticleData.d.ts +7 -0
- package/build/library/structure/NewsArticleList/NewsArticleList.d.ts +4 -0
- package/build/library/structure/NewsArticleList/NewsArticleList.types.d.ts +28 -0
- package/build/library/structure/NewsArticleListHeader/NewsArticleListHeader.d.ts +4 -0
- package/build/library/structure/NewsArticleListHeader/NewsArticleListHeader.types.d.ts +6 -0
- package/build/library/structure/NewsArticleOldBanner/NewsArticleOldBanner.d.ts +7 -0
- package/build/library/structure/NewsArticleOldBanner/NewsArticleOldBanner.types.d.ts +2 -0
- package/build/library/structure/PageMain/PageMain.d.ts +7 -0
- package/build/library/structure/PageMain/PageMain.types.d.ts +15 -0
- package/build/library/structure/PageSidebar/PageSidebar.d.ts +7 -0
- package/build/library/structure/PageSidebar/PageSidebar.types.d.ts +7 -0
- package/build/library/structure/PageStructures.d.ts +42 -0
- package/build/library/structure/PageTitle/PageTitle.d.ts +7 -0
- package/build/library/structure/PageTitle/PageTitle.types.d.ts +11 -0
- package/build/library/structure/PageWithSidebarContainer/PageWithSidebarContainer.d.ts +7 -0
- package/build/library/structure/PageWithSidebarContainer/PageWithSidebarContainer.types.d.ts +11 -0
- package/build/library/structure/PageWrapper/PageWrapper.d.ts +4 -0
- package/build/library/structure/PageWrapper/PageWrapper.types.d.ts +11 -0
- package/build/library/structure/PhaseBanner/PhaseBanner.d.ts +4 -0
- package/build/library/structure/PhaseBanner/PhaseBanner.types.d.ts +3 -0
- package/build/library/structure/PromoBanner/PromoBanner.d.ts +8 -0
- package/build/library/structure/PromoBanner/PromoBanner.storydata.d.ts +10 -0
- package/build/library/structure/PromoBanner/PromoBanner.types.d.ts +27 -0
- package/build/library/structure/PromoBlock/PromoBlock.d.ts +8 -0
- package/build/library/structure/PromoBlock/PromoBlock.storydata.d.ts +5 -0
- package/build/library/structure/PromoBlock/PromoBlock.types.d.ts +36 -0
- package/build/library/structure/SearchHeader/SearchHeader.d.ts +4 -0
- package/build/library/structure/SearchHeader/SearchHeader.types.d.ts +2 -0
- package/build/library/structure/SearchResultsList/SearchResultsList.d.ts +4 -0
- package/build/library/structure/SearchResultsList/SearchResultsList.types.d.ts +45 -0
- package/build/library/structure/Searchbar/Searchbar.d.ts +4 -0
- package/build/library/structure/Searchbar/Searchbar.types.d.ts +48 -0
- package/build/library/structure/SectionLinks/SectionLinks.d.ts +7 -0
- package/build/library/structure/SectionLinks/SectionLinks.storydata.d.ts +2 -0
- package/build/library/structure/SectionLinks/SectionLinks.types.d.ts +52 -0
- package/build/library/structure/SectionLinksMobileContents/SectionLinksMobileContents.d.ts +4 -0
- package/build/library/structure/SectionLinksMobileContents/SectionLinksMobileContents.types.d.ts +16 -0
- package/build/library/structure/SectionLinksSidebar/SectionLinksSidebar.d.ts +4 -0
- package/build/library/structure/SectionLinksSidebar/SectionLinksSidebar.types.d.ts +34 -0
- package/build/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.d.ts +4 -0
- package/build/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.storydata.d.ts +9 -0
- package/build/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.types.d.ts +53 -0
- package/build/library/structure/ServicesLinksList/ServicesLinksList.d.ts +4 -0
- package/build/library/structure/ServicesLinksList/ServicesLinksList.types.d.ts +68 -0
- package/build/library/structure/SignpostLinks/SignpostLinks.d.ts +4 -0
- package/build/library/structure/SignpostLinks/SignpostLinks.types.d.ts +32 -0
- package/build/library/structure/SkipToMainContent/SkipToMainContent.d.ts +4 -0
- package/build/library/structure/SkipToMainContent/SkipToMainContent.types.d.ts +2 -0
- package/build/library/structure/Summary/Summary.d.ts +4 -0
- package/build/library/structure/Summary/Summary.types.d.ts +15 -0
- package/package.json +117 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export interface BreadcrumbsProps {
|
|
2
|
+
/**
|
|
3
|
+
* An array of the breadcrumbs, each with a title and a URL not including the current page users are on
|
|
4
|
+
*/
|
|
5
|
+
breadcrumbsArray: Array<BreadcrumbProp>;
|
|
6
|
+
/**
|
|
7
|
+
* Should the breadcrumbs have bottom margin
|
|
8
|
+
*/
|
|
9
|
+
hasMargin?: boolean;
|
|
10
|
+
}
|
|
11
|
+
export interface BreadcrumbProp {
|
|
12
|
+
/**
|
|
13
|
+
* Title of the page
|
|
14
|
+
*/
|
|
15
|
+
title: string;
|
|
16
|
+
/**
|
|
17
|
+
* URL of the page
|
|
18
|
+
*/
|
|
19
|
+
url: string;
|
|
20
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface ContentsProps {
|
|
2
|
+
/**
|
|
3
|
+
* An array of content links
|
|
4
|
+
*/
|
|
5
|
+
contents: ContentLink[];
|
|
6
|
+
/**
|
|
7
|
+
* The optional current path
|
|
8
|
+
*/
|
|
9
|
+
currentPath?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The optional contents title, defaults to 'Contents'
|
|
12
|
+
*/
|
|
13
|
+
title?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface ContentLink {
|
|
16
|
+
/**
|
|
17
|
+
* Title of the page
|
|
18
|
+
*/
|
|
19
|
+
title: string;
|
|
20
|
+
/**
|
|
21
|
+
* URL of the page
|
|
22
|
+
*/
|
|
23
|
+
url: string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface CookieBannerProps {
|
|
3
|
+
/**
|
|
4
|
+
* Title of cookie banner
|
|
5
|
+
*/
|
|
6
|
+
title: string;
|
|
7
|
+
/**
|
|
8
|
+
* Paragraph about cookies
|
|
9
|
+
*/
|
|
10
|
+
paragraph: React.ReactNode;
|
|
11
|
+
/**
|
|
12
|
+
* Accept all button text
|
|
13
|
+
*/
|
|
14
|
+
acceptButtonText: string;
|
|
15
|
+
/**
|
|
16
|
+
* Confirmation of acceptance text
|
|
17
|
+
*/
|
|
18
|
+
acceptConfirmationText?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Reject all button text
|
|
21
|
+
*/
|
|
22
|
+
rejectButtonText: string;
|
|
23
|
+
/**
|
|
24
|
+
* Confirmation of rejection text
|
|
25
|
+
*/
|
|
26
|
+
rejectConfirmationText?: string;
|
|
27
|
+
/**
|
|
28
|
+
* gets called on accept - lets you do extra things - like set the 🍪
|
|
29
|
+
*/
|
|
30
|
+
acceptCallback?: Function;
|
|
31
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface DisplayDateProps {
|
|
2
|
+
/**
|
|
3
|
+
* The text in the hint
|
|
4
|
+
*/
|
|
5
|
+
text: string;
|
|
6
|
+
/**
|
|
7
|
+
* The format for the date - default it timestamp
|
|
8
|
+
*/
|
|
9
|
+
format: string;
|
|
10
|
+
/**
|
|
11
|
+
* Text before the date (no spaces included on render in case you need a colon: before the date)
|
|
12
|
+
*/
|
|
13
|
+
preText?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Text after the date
|
|
16
|
+
*/
|
|
17
|
+
postText?: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export interface FooterProps {
|
|
2
|
+
/**
|
|
3
|
+
* An array of links for the bottom of the footer, for things like cookie and privacy policies
|
|
4
|
+
*/
|
|
5
|
+
footerLinksArray?: Array<FooterLinkProp>;
|
|
6
|
+
/**
|
|
7
|
+
* The year for the copyright
|
|
8
|
+
*/
|
|
9
|
+
year?: string;
|
|
10
|
+
}
|
|
11
|
+
export interface FooterLinkProp {
|
|
12
|
+
/**
|
|
13
|
+
* Title of the link
|
|
14
|
+
*/
|
|
15
|
+
title: string;
|
|
16
|
+
/**
|
|
17
|
+
* URL of the link
|
|
18
|
+
*/
|
|
19
|
+
url: string;
|
|
20
|
+
/**
|
|
21
|
+
* Is the link to an external website?
|
|
22
|
+
*/
|
|
23
|
+
isExternal?: boolean;
|
|
24
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { FullWidthContainerProps } from './FullWidthContainer.types';
|
|
3
|
+
/**
|
|
4
|
+
* A Full Width Container with optional padding and background
|
|
5
|
+
*/
|
|
6
|
+
declare const FullWidthContainer: React.FunctionComponent<FullWidthContainerProps>;
|
|
7
|
+
export default FullWidthContainer;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface FullWidthContainerProps {
|
|
3
|
+
/**
|
|
4
|
+
* Show background colour when true
|
|
5
|
+
*/
|
|
6
|
+
hasBackground?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Show top and bottom padding when true
|
|
9
|
+
*/
|
|
10
|
+
hasPadding?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* The FullWidthContainer contents
|
|
13
|
+
*/
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface HeaderProps {
|
|
3
|
+
/**
|
|
4
|
+
* Hide the searchbar, set to true on the search page so there aren't two search inputs.
|
|
5
|
+
*/
|
|
6
|
+
hideSearchBar?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Link to the root of the website that will be used on the logo
|
|
9
|
+
*/
|
|
10
|
+
homeLink?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Set to true to include a link to /news in the header
|
|
13
|
+
*/
|
|
14
|
+
hasNewsLink?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Link to the list of all services displayed at top right (#all-services anchor added to this)
|
|
17
|
+
*/
|
|
18
|
+
allServicesLink?: string;
|
|
19
|
+
/**
|
|
20
|
+
* This flag is used to alter the all-services link to an in-page anchor if true
|
|
21
|
+
*/
|
|
22
|
+
isHomepage?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Array of suggestions for the autocomplete input in the search bar
|
|
25
|
+
*/
|
|
26
|
+
searchSuggestions?: string[];
|
|
27
|
+
/**
|
|
28
|
+
* The Header contents
|
|
29
|
+
*/
|
|
30
|
+
children?: React.ReactNode;
|
|
31
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HeroImageProps } from './HeroImage.types';
|
|
3
|
+
/**
|
|
4
|
+
* Hero image banner with optional text and call to action with varying presentation of text area.
|
|
5
|
+
* For optional use at the top of a service landing page, if set in the CMS.
|
|
6
|
+
*/
|
|
7
|
+
declare const HeroImage: React.FunctionComponent<HeroImageProps>;
|
|
8
|
+
export default HeroImage;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { HeroImageProps } from './HeroImage.types';
|
|
2
|
+
export declare const HeroImageExampleBoxedData: HeroImageProps;
|
|
3
|
+
export declare const HeroImageExampleGradientData: HeroImageProps;
|
|
4
|
+
export declare const HeroImageExampleMicroSiteData: HeroImageProps;
|
|
5
|
+
export declare const HeroImageExampleBoxedWithBreadcrumbData: HeroImageProps;
|
|
6
|
+
export declare const HeroImageExampleBoxedWithCustomSearch: HeroImageProps;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { CustomSearchProps } from '../../components/CustomSearch/CustomSearch.types';
|
|
2
|
+
import { BreadcrumbProp } from '../Breadcrumbs/Breadcrumbs.types';
|
|
3
|
+
export interface HeroImageProps {
|
|
4
|
+
/**
|
|
5
|
+
* Headline text, optional. Intention to use page title if missing.
|
|
6
|
+
*/
|
|
7
|
+
headline?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Any text after the headline and before the call to action, optional
|
|
10
|
+
*/
|
|
11
|
+
content?: string;
|
|
12
|
+
/**
|
|
13
|
+
* URL of the hero image (min 400pix high)
|
|
14
|
+
*/
|
|
15
|
+
imageLarge: string;
|
|
16
|
+
/**
|
|
17
|
+
* URL of the a smaller version of the image for lazy loading
|
|
18
|
+
*/
|
|
19
|
+
imageSmall: string;
|
|
20
|
+
/**
|
|
21
|
+
* Optional alt text for the image - ideally the image should be decorative only and not require a long description
|
|
22
|
+
*/
|
|
23
|
+
imageAltText?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Optional call to action text
|
|
26
|
+
*/
|
|
27
|
+
callToActionText?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Optional call to action link URL
|
|
30
|
+
*/
|
|
31
|
+
callToActionURL?: string;
|
|
32
|
+
/**
|
|
33
|
+
* Is the call to action a primary button
|
|
34
|
+
*/
|
|
35
|
+
callToActionIsPrimary?: boolean;
|
|
36
|
+
/**
|
|
37
|
+
* Set to true to put the text and call to action on a white box, false to overlay on a darkened image
|
|
38
|
+
*/
|
|
39
|
+
backgroundBox: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* An optional breadcrumb. If not set then the breadcrumb is not shown
|
|
42
|
+
*/
|
|
43
|
+
breadcrumb?: BreadcrumbProp;
|
|
44
|
+
/**
|
|
45
|
+
* An optional custom search
|
|
46
|
+
*/
|
|
47
|
+
customSearch?: CustomSearchProps;
|
|
48
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Example data for the HomeHero stories
|
|
3
|
+
*/
|
|
4
|
+
export declare const HomeHeroCommon: {
|
|
5
|
+
searchSuggestions: string[];
|
|
6
|
+
imagesArray: {
|
|
7
|
+
image1440x810: string;
|
|
8
|
+
image144x81: string;
|
|
9
|
+
}[];
|
|
10
|
+
};
|
|
11
|
+
export declare const HomeHeroPromotedLinks: {
|
|
12
|
+
title: string;
|
|
13
|
+
url: string;
|
|
14
|
+
}[];
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export interface HomeHeroProps {
|
|
2
|
+
/**
|
|
3
|
+
* The line of text before the logo
|
|
4
|
+
*/
|
|
5
|
+
topline?: string;
|
|
6
|
+
/**
|
|
7
|
+
* URL of an alternative logo to override the preset ones (520 x 150 px)
|
|
8
|
+
*/
|
|
9
|
+
imageOverrideLogo?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Alt text for overridden logo
|
|
12
|
+
*/
|
|
13
|
+
imageOverrideLogoAltText?: string;
|
|
14
|
+
/**
|
|
15
|
+
* The line of text after the logo
|
|
16
|
+
*/
|
|
17
|
+
strapline?: string;
|
|
18
|
+
/**
|
|
19
|
+
* The images for the hero, minimum of one
|
|
20
|
+
*/
|
|
21
|
+
imagesArray: Array<HeroImageProp>;
|
|
22
|
+
/**
|
|
23
|
+
* The main promoted links, an array that should be from 1-4, preferably 3
|
|
24
|
+
*/
|
|
25
|
+
promotedLinksArray: Array<PromotedLinkProp>;
|
|
26
|
+
/**
|
|
27
|
+
* Array of suggestion strings for autocomplete search input
|
|
28
|
+
*/
|
|
29
|
+
searchSuggestions?: string[];
|
|
30
|
+
}
|
|
31
|
+
export interface HeroImageProp {
|
|
32
|
+
/**
|
|
33
|
+
* The url of the image
|
|
34
|
+
*/
|
|
35
|
+
image1440x810: string;
|
|
36
|
+
/**
|
|
37
|
+
* The url of the image in 10x smaller for lazy loading
|
|
38
|
+
*/
|
|
39
|
+
image144x81: string;
|
|
40
|
+
/**
|
|
41
|
+
* Optional alt text for the image - this should only be included if the image contains content that is important to users and not purely decorative
|
|
42
|
+
*/
|
|
43
|
+
imageAltText?: string;
|
|
44
|
+
}
|
|
45
|
+
export interface PromotedLinkProp {
|
|
46
|
+
/**
|
|
47
|
+
* The title of the link
|
|
48
|
+
*/
|
|
49
|
+
title: string;
|
|
50
|
+
/**
|
|
51
|
+
* The url of the link
|
|
52
|
+
*/
|
|
53
|
+
url: string;
|
|
54
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface MaxWidthContainerProps {
|
|
3
|
+
/**
|
|
4
|
+
* Any unique class names to apply to the page container outer div
|
|
5
|
+
*/
|
|
6
|
+
classes?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Remove background colour
|
|
9
|
+
*/
|
|
10
|
+
noBackground?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Remove bottom padding
|
|
13
|
+
*/
|
|
14
|
+
noPadding?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Allow overflow to be visible in inner div (only makes sense with padding allowed)
|
|
17
|
+
*/
|
|
18
|
+
overflowVisible?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* The MaxWidthContainer contents
|
|
21
|
+
*/
|
|
22
|
+
children?: React.ReactNode;
|
|
23
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export interface MemorialHeroProps {
|
|
3
|
+
/**
|
|
4
|
+
* Full sized image
|
|
5
|
+
*/
|
|
6
|
+
src: string;
|
|
7
|
+
/**
|
|
8
|
+
* smaller version as a placeholder for lazy loading
|
|
9
|
+
*/
|
|
10
|
+
placeholder: string;
|
|
11
|
+
/**
|
|
12
|
+
* Alt text for hero
|
|
13
|
+
*/
|
|
14
|
+
alt: string;
|
|
15
|
+
/**
|
|
16
|
+
* The name of the sites theme
|
|
17
|
+
*/
|
|
18
|
+
theme: object;
|
|
19
|
+
/**
|
|
20
|
+
* Pass through any children to be shown
|
|
21
|
+
*/
|
|
22
|
+
children: React.ReactNode;
|
|
23
|
+
/**
|
|
24
|
+
* Anthing in this section will be themed as defined
|
|
25
|
+
*/
|
|
26
|
+
councilServices: React.ReactNode;
|
|
27
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { NewsArticleFeaturedBlockProps } from './NewsArticleFeaturedBlock.types';
|
|
3
|
+
/**
|
|
4
|
+
* Block displaying up to 9 news article tiles, with image, title and date for each
|
|
5
|
+
*/
|
|
6
|
+
declare const NewsArticleFeaturedBlock: React.FunctionComponent<NewsArticleFeaturedBlockProps>;
|
|
7
|
+
export default NewsArticleFeaturedBlock;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface NewsArticleFeaturedBlockProps {
|
|
2
|
+
/**
|
|
3
|
+
* Array of news article data
|
|
4
|
+
*/
|
|
5
|
+
articles: Array<NewsArticleProps>;
|
|
6
|
+
/**
|
|
7
|
+
* Optionally do not display the title
|
|
8
|
+
*/
|
|
9
|
+
withoutTitle?: boolean;
|
|
10
|
+
/**
|
|
11
|
+
* Optionally add a button to view all news
|
|
12
|
+
*/
|
|
13
|
+
viewAllLink?: string;
|
|
14
|
+
}
|
|
15
|
+
export interface NewsArticleProps {
|
|
16
|
+
id: string;
|
|
17
|
+
url: string;
|
|
18
|
+
title: string;
|
|
19
|
+
date: number;
|
|
20
|
+
image720x405: string;
|
|
21
|
+
image72x41: string;
|
|
22
|
+
imageAltText?: string;
|
|
23
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface NewsArticleImageProps {
|
|
2
|
+
/**
|
|
3
|
+
* The url of the image
|
|
4
|
+
*/
|
|
5
|
+
image1440x810: string;
|
|
6
|
+
/**
|
|
7
|
+
* The url of the image in 10x smaller for lazy loading
|
|
8
|
+
*/
|
|
9
|
+
image144x81: string;
|
|
10
|
+
/**
|
|
11
|
+
* Optional alt text for the image - this should only be included if the image contains content that is important to users and not purely decorative
|
|
12
|
+
*/
|
|
13
|
+
imageAltText?: string;
|
|
14
|
+
/**
|
|
15
|
+
* An optional caption to be presented underneath the image
|
|
16
|
+
*/
|
|
17
|
+
imageCaption?: string;
|
|
18
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export interface NewsArticleListProps {
|
|
2
|
+
/**
|
|
3
|
+
* Array of results
|
|
4
|
+
*/
|
|
5
|
+
results: Array<NewsArticleProps>;
|
|
6
|
+
/**
|
|
7
|
+
* The total number of results
|
|
8
|
+
*/
|
|
9
|
+
totalResults?: number;
|
|
10
|
+
/**
|
|
11
|
+
* The current page number
|
|
12
|
+
*/
|
|
13
|
+
pageNumber?: number;
|
|
14
|
+
/**
|
|
15
|
+
* What we're currently sorting by
|
|
16
|
+
*/
|
|
17
|
+
sortBy?: string;
|
|
18
|
+
}
|
|
19
|
+
export interface NewsArticleProps {
|
|
20
|
+
id: string;
|
|
21
|
+
title: string;
|
|
22
|
+
excerpt: string;
|
|
23
|
+
date: number;
|
|
24
|
+
image720x405: string;
|
|
25
|
+
image72x41: string;
|
|
26
|
+
imageAltText?: string;
|
|
27
|
+
url: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface PageMainProps {
|
|
3
|
+
/**
|
|
4
|
+
* Any unique class names to apply to the page container
|
|
5
|
+
*/
|
|
6
|
+
classes?: string;
|
|
7
|
+
/**
|
|
8
|
+
* Should the paragraph text be full width?
|
|
9
|
+
*/
|
|
10
|
+
fullWidthText?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* The PageMain contents
|
|
13
|
+
*/
|
|
14
|
+
children?: React.ReactNode;
|
|
15
|
+
}
|