northants-design-system 0.4.9 → 0.4.11
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/build/index.esm.js +54 -33
- package/build/index.esm.js.map +1 -1
- package/build/index.js +54 -33
- package/build/index.js.map +1 -1
- package/build/index.mjs.js +33473 -0
- package/build/index.mjs.js.map +1 -0
- package/build/jest.setup.d.ts +2 -0
- package/build/library/components/Autocomplete/Autocomplete.types.d.ts +8 -0
- package/build/library/directory/DirectoryService/DirectoryServiceTransform.d.ts +1 -1
- package/build/library/structure/Searchbar/Searchbar.d.ts +2 -2
- package/build/src/index.d.ts +41 -0
- package/build/src/library/components/AlphabeticalDirectory/AlphabeticalDirectory.d.ts +4 -0
- package/build/src/library/components/AlphabeticalDirectory/AlphabeticalDirectory.types.d.ts +26 -0
- package/build/src/library/components/Autocomplete/Autocomplete.d.ts +9 -0
- package/build/src/library/components/Autocomplete/Autocomplete.storydata.d.ts +47 -0
- package/build/src/library/components/Autocomplete/Autocomplete.test.d.ts +1 -0
- package/build/src/library/components/Autocomplete/Autocomplete.types.d.ts +70 -0
- package/build/src/library/components/BackToTop/BackToTop.d.ts +4 -0
- package/build/src/library/components/BackToTop/BackToTop.test.d.ts +1 -0
- package/build/src/library/components/BackToTop/BackToTop.types.d.ts +6 -0
- package/build/src/library/components/Button/Button.d.ts +7 -0
- package/build/src/library/components/Button/Button.types.d.ts +43 -0
- package/build/src/library/components/Card/Card.d.ts +7 -0
- package/build/src/library/components/Card/Card.test.d.ts +1 -0
- package/build/src/library/components/Card/Card.types.d.ts +36 -0
- package/build/src/library/components/CheckboxListFilter/CheckboxListFilter.d.ts +4 -0
- package/build/src/library/components/CheckboxListFilter/CheckboxListFilter.test.d.ts +1 -0
- package/build/src/library/components/CheckboxListFilter/CheckboxListFilter.types.d.ts +36 -0
- package/build/src/library/components/Column/Column.d.ts +4 -0
- package/build/src/library/components/Column/Column.test.d.ts +1 -0
- package/build/src/library/components/Column/Column.types.d.ts +36 -0
- package/build/src/library/components/CustomSearch/CustomSearch.d.ts +4 -0
- package/build/src/library/components/CustomSearch/CustomSearch.storydata.d.ts +2 -0
- package/build/src/library/components/CustomSearch/CustomSearch.test.d.ts +1 -0
- package/build/src/library/components/CustomSearch/CustomSearch.types.d.ts +34 -0
- package/build/src/library/components/DropDownFilter/DropDownFilter.d.ts +4 -0
- package/build/src/library/components/DropDownFilter/DropDownFilter.types.d.ts +32 -0
- package/build/src/library/components/DropDownSelect/DropDownSelect.d.ts +4 -0
- package/build/src/library/components/DropDownSelect/DropDownSelect.types.d.ts +36 -0
- package/build/src/library/components/DynamicIcon/DynamicIcon.d.ts +7 -0
- package/build/src/library/components/DynamicIcon/DynamicIcon.test.d.ts +1 -0
- package/build/src/library/components/DynamicIcon/DynamicIcon.types.d.ts +10 -0
- package/build/src/library/components/FileDownload/FileDownload.d.ts +7 -0
- package/build/src/library/components/FileDownload/FileDownload.test.d.ts +1 -0
- package/build/src/library/components/FileDownload/FileDownload.types.d.ts +22 -0
- package/build/src/library/components/FormButton/FormButton.d.ts +7 -0
- package/build/src/library/components/FormButton/FormButton.types.d.ts +27 -0
- package/build/src/library/components/FormWithLine/FormWithLine.d.ts +7 -0
- package/build/src/library/components/FormWithLine/FormWithLine.types.d.ts +39 -0
- package/build/src/library/components/Heading/Heading.d.ts +7 -0
- package/build/src/library/components/Heading/Heading.types.d.ts +10 -0
- package/build/src/library/components/HeadingWithIcon/HeadingWithIcon.d.ts +7 -0
- package/build/src/library/components/HeadingWithIcon/HeadingWithIcon.test.d.ts +1 -0
- package/build/src/library/components/HeadingWithIcon/HeadingWithIcon.types.d.ts +18 -0
- package/build/src/library/components/HeadingWithIconLink/HeadingWithIconLink.d.ts +4 -0
- package/build/src/library/components/HeadingWithIconLink/HeadingWithIconLink.test.d.ts +1 -0
- package/build/src/library/components/HeadingWithIconLink/HeadingWithIconLink.types.d.ts +14 -0
- package/build/src/library/components/HintText/HintText.d.ts +7 -0
- package/build/src/library/components/HintText/HintText.types.d.ts +6 -0
- package/build/src/library/components/Input/Input.d.ts +8 -0
- package/build/src/library/components/Input/Input.types.d.ts +45 -0
- package/build/src/library/components/LoadingSpinner/LoadingSpinner.d.ts +4 -0
- package/build/src/library/components/LoadingSpinner/LoadingSpinner.types.d.ts +2 -0
- package/build/src/library/components/Map/Map.d.ts +7 -0
- package/build/src/library/components/Map/Map.types.d.ts +16 -0
- package/build/src/library/components/MapMarker/MapMarker.d.ts +7 -0
- package/build/src/library/components/Pagination/Pagination.d.ts +4 -0
- package/build/src/library/components/Pagination/Pagination.test.d.ts +1 -0
- package/build/src/library/components/Pagination/Pagination.types.d.ts +23 -0
- package/build/src/library/components/PostCodeAddressDropdown/PostCodeAddressDropdown.d.ts +7 -0
- package/build/src/library/components/PostCodeAddressDropdown/PostCodeAddressDropdown.types.d.ts +2 -0
- package/build/src/library/components/PostCodeAddressSearch/PostCodeAddressSearch.d.ts +7 -0
- package/build/src/library/components/PostCodeAddressSearch/PostCodeAddressSearch.types.d.ts +23 -0
- package/build/src/library/components/PostCodeAddressTable/PostCodeAddressTable.d.ts +4 -0
- package/build/src/library/components/PostCodeAddressTable/PostCodeAddressTable.types.d.ts +2 -0
- package/build/src/library/components/PostCodeSearch/PostCodeSearch.d.ts +7 -0
- package/build/src/library/components/PostCodeSearch/PostCodeSearch.test.d.ts +1 -0
- package/build/src/library/components/PostCodeSearch/PostCodeSearch.types.d.ts +52 -0
- package/build/src/library/components/PromotedLinks/PromotedLinks.d.ts +4 -0
- package/build/src/library/components/PromotedLinks/PromotedLinks.test.d.ts +1 -0
- package/build/src/library/components/PromotedLinks/PromotedLinks.types.d.ts +20 -0
- package/build/src/library/components/RadioCheckboxInput/RadioCheckboxInput.d.ts +4 -0
- package/build/src/library/components/RadioCheckboxInput/RadioCheckboxInput.test.d.ts +1 -0
- package/build/src/library/components/RadioCheckboxInput/RadioCheckboxInput.types.d.ts +27 -0
- package/build/src/library/components/RemovableTag/RemovableTag.d.ts +4 -0
- package/build/src/library/components/RemovableTag/RemovableTag.types.d.ts +8 -0
- package/build/src/library/components/RemoveAllFilters/RemoveAllFilters.d.ts +4 -0
- package/build/src/library/components/RemoveAllFilters/RemoveAllFilters.types.d.ts +3 -0
- package/build/src/library/components/Row/Row.d.ts +4 -0
- package/build/src/library/components/Row/Row.test.d.ts +1 -0
- package/build/src/library/components/Row/Row.types.d.ts +20 -0
- package/build/src/library/components/SignpostLinksList/SignpostLinksList.d.ts +4 -0
- package/build/src/library/components/SignpostLinksList/SignpostLinksList.types.d.ts +24 -0
- package/build/src/library/components/SortBy/SortBy.d.ts +4 -0
- package/build/src/library/components/SortBy/SortBy.types.d.ts +20 -0
- package/build/src/library/components/StaticMap/StaticMap.d.ts +7 -0
- package/build/src/library/components/StaticMap/StaticMap.test.d.ts +1 -0
- package/build/src/library/components/StaticMap/StaticMap.types.d.ts +52 -0
- package/build/src/library/components/SummaryList/SummaryList.d.ts +4 -0
- package/build/src/library/components/SummaryList/SummaryList.test.d.ts +1 -0
- package/build/src/library/components/SummaryList/SummaryList.types.d.ts +21 -0
- package/build/src/library/components/TextInput/TextInput.d.ts +7 -0
- package/build/src/library/components/TextInput/TextInput.types.d.ts +34 -0
- package/build/src/library/components/icons/ChevronIcon/ChevronIcon.d.ts +4 -0
- package/build/src/library/components/icons/ChevronIcon/ChevronIcon.types.d.ts +10 -0
- package/build/src/library/components/icons/CloseIcon/CloseIcon.d.ts +4 -0
- package/build/src/library/components/icons/CloseIcon/CloseIcon.types.d.ts +6 -0
- package/build/src/library/components/icons/DownloadFileIcon/DownloadFileIcon.d.ts +4 -0
- package/build/src/library/components/icons/DownloadFileIcon/DownloadFileIcon.types.d.ts +6 -0
- package/build/src/library/components/icons/EmailIcon/EmailIcon.d.ts +4 -0
- package/build/src/library/components/icons/EmailIcon/EmailIcon.types.d.ts +6 -0
- package/build/src/library/components/icons/FacebookIcon/Icon.d.ts +4 -0
- package/build/src/library/components/icons/HeartIcon/HeartIcon.d.ts +7 -0
- package/build/src/library/components/icons/HeartIcon/HeartIcon.types.d.ts +6 -0
- package/build/src/library/components/icons/InstagramIcon/Icon.d.ts +4 -0
- package/build/src/library/components/icons/LinkIcon/LinkIcon.d.ts +4 -0
- package/build/src/library/components/icons/LinkIcon/LinkIcon.types.d.ts +6 -0
- package/build/src/library/components/icons/LinkedInIcon/Icon.d.ts +4 -0
- package/build/src/library/components/icons/PhoneIcon/PhoneIcon.d.ts +4 -0
- package/build/src/library/components/icons/PhoneIcon/PhoneIcon.types.d.ts +6 -0
- package/build/src/library/components/icons/PinIcon/PinIcon.d.ts +7 -0
- package/build/src/library/components/icons/PinIcon/PinIcon.types.d.ts +6 -0
- package/build/src/library/components/icons/SearchIcon/SearchIcon.d.ts +4 -0
- package/build/src/library/components/icons/SearchIcon/SearchIcon.types.d.ts +6 -0
- package/build/src/library/components/icons/TwitterIcon/Icon.d.ts +4 -0
- package/build/src/library/components/icons/WebsiteIcon/WebsiteIcon.d.ts +4 -0
- package/build/src/library/components/icons/WebsiteIcon/WebsiteIcon.types.d.ts +6 -0
- package/build/src/library/components/icons/YouTubeIcon/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/AccessibleParking/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/AccessibleParking/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Address/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Address/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/AddressChange/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/AddressChange/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Adults/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Adults/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/AssistiveTechnology/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/AssistiveTechnology/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Benefits/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Benefits/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/BinDay/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/BinDay/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Bins/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Bins/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/BirthCertificate/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/BirthCertificate/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Births/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Births/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Bollard/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Bollard/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/BulkWaste/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/BulkWaste/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Bus/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Bus/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/BusPass/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/BusPass/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Business/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Business/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Careers/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Careers/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Cash/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Cash/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Catalogue/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Catalogue/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Ceremony/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Ceremony/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Charity/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Charity/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Children/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Children/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Computer/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Computer/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/CondolenceBook/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/CondolenceBook/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Cooking/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Cooking/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Council/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Council/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/CouncilTax/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/CouncilTax/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Covid/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Covid/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Culture/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Culture/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/CultureNorth/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/CultureNorth/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/CultureWest/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/CultureWest/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/DOLS/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/DOLS/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/DeathCertificate/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/DeathCertificate/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Democracy/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Democracy/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/DogFouling/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/DogFouling/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Ebook/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Ebook/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Edit/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Edit/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Environment/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Environment/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Events/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Events/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Finance/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Finance/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Flower/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Flower/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/FlyTip/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/FlyTip/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/FoodWaste/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/FoodWaste/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/GiveNotice/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/GiveNotice/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/GovUK/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/GovUK/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Graffiti/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Graffiti/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Highway/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Highway/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/HouseMoney/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/HouseMoney/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Housing/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Housing/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Icon.types.d.ts +6 -0
- package/build/src/library/components/icons/services/Independence/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Independence/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/KeepingHealthy/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/KeepingHealthy/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Libraries/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Libraries/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Litter/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Litter/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/LookingAfterYourself/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/LookingAfterYourself/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/MapPin/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/MapPin/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Member/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Member/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/MentalHealth/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/MentalHealth/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/MissedBin/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/MissedBin/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/New/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/New/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/OccupationalTherapy/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/OccupationalTherapy/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/ParkEvent/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/ParkEvent/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Parking/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Parking/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/ParkingTicket/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/ParkingTicket/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Pay/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Pay/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/PhonePay/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/PhonePay/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Planning/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Planning/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Pothole/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Pothole/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/PreventingFalls/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/PreventingFalls/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Protect/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Protect/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/RatePay/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/RatePay/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/RegisterBirth/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/RegisterBirth/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/RegisterDeath/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/RegisterDeath/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Report/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Report/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Restrict/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Restrict/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/RoadWorks/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/RoadWorks/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Roads/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Roads/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/RoyalWebsite/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/RoyalWebsite/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/SEND/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/SEND/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Safety/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Safety/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/SchoolAdmissions/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/SchoolAdmissions/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Schools/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Schools/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/ServicesIcons.d.ts +174 -0
- package/build/src/library/components/icons/services/SinglePerson/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/SinglePerson/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Sports/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Sports/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Valuation/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Valuation/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Venue/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Venue/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/WasteChecklist/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/WasteChecklist/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/WasteSorting/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/WasteSorting/IconHover.d.ts +4 -0
- package/build/src/library/components/logos/GDSLogo/logo.d.ts +4 -0
- package/build/src/library/components/logos/GDSLogo/logo.types.d.ts +2 -0
- package/build/src/library/components/logos/NorthColouredLogo/logo.d.ts +4 -0
- package/build/src/library/components/logos/NorthColouredLogo/logo.types.d.ts +2 -0
- package/build/src/library/components/logos/NorthWhiteLogo/logo.d.ts +4 -0
- package/build/src/library/components/logos/NorthWhiteLogo/logo.types.d.ts +2 -0
- package/build/src/library/components/logos/WestColouredLogo/logo.d.ts +4 -0
- package/build/src/library/components/logos/WestColouredLogo/logo.types.d.ts +2 -0
- package/build/src/library/components/logos/WestWhiteLogo/logo.d.ts +4 -0
- package/build/src/library/components/logos/WestWhiteLogo/logo.types.d.ts +2 -0
- package/build/src/library/contexts/DirectoryShortListProvider/DirectoryShortListProvider.d.ts +4 -0
- package/build/src/library/contexts/DirectoryShortListProvider/DirectoryShortListProvider.types.d.ts +54 -0
- package/build/src/library/contexts/PostCodeAddressProvider/PostCodeAddressProvider.d.ts +6 -0
- package/build/src/library/contexts/PostCodeAddressProvider/PostCodeAddressProvider.types.d.ts +18 -0
- package/build/src/library/directory/DirectoryAddToShortList/DirectoryAddToShortList.d.ts +4 -0
- package/build/src/library/directory/DirectoryAddToShortList/DirectoryAddToShortList.test.d.ts +1 -0
- package/build/src/library/directory/DirectoryAddToShortList/DirectoryAddToShortList.types.d.ts +35 -0
- package/build/src/library/directory/DirectoryDocumentList/DirectoryDocumentList.d.ts +4 -0
- package/build/src/library/directory/DirectoryDocumentList/DirectoryDocumentList.storydata.d.ts +4 -0
- package/build/src/library/directory/DirectoryDocumentList/DirectoryDocumentList.test.d.ts +1 -0
- package/build/src/library/directory/DirectoryDocumentList/DirectoryDocumentList.types.d.ts +67 -0
- package/build/src/library/directory/DirectoryMap/DirectoryMap.d.ts +4 -0
- package/build/src/library/directory/DirectoryMap/DirectoryMap.types.d.ts +11 -0
- package/build/src/library/directory/DirectoryService/DirectoryService.d.ts +4 -0
- package/build/src/library/directory/DirectoryService/DirectoryService.storydata.d.ts +4 -0
- package/build/src/library/directory/DirectoryService/DirectoryService.test.d.ts +1 -0
- package/build/src/library/directory/DirectoryService/DirectoryService.types.d.ts +278 -0
- package/build/src/library/directory/DirectoryService/DirectoryServiceTransform.d.ts +8 -0
- package/build/src/library/directory/DirectoryService/DirectoryServiceTransform.test.d.ts +1 -0
- package/build/src/library/directory/DirectoryServiceList/DirectoryServiceList.d.ts +4 -0
- package/build/src/library/directory/DirectoryServiceList/DirectoryServiceList.storydata.d.ts +6 -0
- package/build/src/library/directory/DirectoryServiceList/DirectoryServiceList.test.d.ts +1 -0
- package/build/src/library/directory/DirectoryServiceList/DirectoryServiceList.types.d.ts +140 -0
- package/build/src/library/directory/DirectoryShortList/DirectoryShortList.d.ts +4 -0
- package/build/src/library/directory/DirectoryShortList/DirectoryShortList.test.d.ts +1 -0
- package/build/src/library/directory/DirectoryShortList/DirectoryShortList.types.d.ts +6 -0
- package/build/src/library/directory/ServiceContact/ServiceContact.d.ts +4 -0
- package/build/src/library/directory/ServiceContact/ServiceContact.test.d.ts +1 -0
- package/build/src/library/directory/ServiceContact/ServiceContact.types.d.ts +42 -0
- package/build/src/library/directory/ServiceSocialLinks/ServiceSocialLinks.d.ts +4 -0
- package/build/src/library/directory/ServiceSocialLinks/ServiceSocialLinks.storydata.d.ts +2 -0
- package/build/src/library/directory/ServiceSocialLinks/ServiceSocialLinks.test.d.ts +1 -0
- package/build/src/library/directory/ServiceSocialLinks/ServiceSocialLinks.types.d.ts +24 -0
- package/build/src/library/helpers/UseLocalStorage.d.ts +2 -0
- package/build/src/library/helpers/api-helpers.d.ts +120 -0
- package/build/src/library/pages/ContentPage/ContentPage.d.ts +4 -0
- package/build/src/library/pages/ContentPage/ContentPage.storydata.d.ts +10 -0
- package/build/src/library/pages/CouncilTaxPageExample/CouncilTaxPageExample.d.ts +5 -0
- package/build/src/library/pages/CouncilTaxParishPageExample/CouncilTaxParishPageExample.d.ts +5 -0
- package/build/src/library/pages/DirectoryServicePage/DirectoryServicePage.d.ts +2 -0
- package/build/src/library/pages/ErrorPage/ErrorPage.d.ts +6 -0
- package/build/src/library/pages/Home/HomePage.d.ts +8 -0
- package/build/src/library/pages/Home/HomePage.types.d.ts +60 -0
- package/build/src/library/pages/MemorialPage/MemorialPage.d.ts +8 -0
- package/build/src/library/pages/MemorialPage/MemorialPage.types.d.ts +59 -0
- package/build/src/library/pages/News/News.d.ts +5 -0
- package/build/src/library/pages/NewsArticle/NewsArticle.d.ts +7 -0
- package/build/src/library/pages/SearchResultsPageExample/SearchResultsPageExample.d.ts +29 -0
- package/build/src/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.d.ts +3 -0
- package/build/src/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.storydata.d.ts +30 -0
- package/build/src/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.types.d.ts +52 -0
- package/build/src/library/pages/ServicePageExample/ServicePageExample.d.ts +7 -0
- package/build/src/library/pages/SignpostPageExample/SignpostPageExample.d.ts +7 -0
- package/build/src/library/pages/Templates/Templates.d.ts +8 -0
- package/build/src/library/slices/Accordion/Accordion.d.ts +4 -0
- package/build/src/library/slices/Accordion/Accordion.test.d.ts +1 -0
- package/build/src/library/slices/Accordion/Accordion.types.d.ts +53 -0
- package/build/src/library/slices/Accordion/AccordionSection.d.ts +4 -0
- package/build/src/library/slices/BlockQuote/BlockQuote.d.ts +4 -0
- package/build/src/library/slices/BlockQuote/BlockQuote.types.d.ts +11 -0
- package/build/src/library/slices/CallToAction/CallToAction.d.ts +7 -0
- package/build/src/library/slices/Cards/Cards.d.ts +7 -0
- package/build/src/library/slices/Cards/Cards.test.d.ts +1 -0
- package/build/src/library/slices/Cards/Cards.types.d.ts +7 -0
- package/build/src/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.d.ts +7 -0
- package/build/src/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.storydata.d.ts +4 -0
- package/build/src/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.test.d.ts +1 -0
- package/build/src/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.types.d.ts +81 -0
- package/build/src/library/slices/Divider/Divider.d.ts +4 -0
- package/build/src/library/slices/Divider/Divider.types.d.ts +2 -0
- package/build/src/library/slices/DownloadableFiles/DownloadableFiles.d.ts +4 -0
- package/build/src/library/slices/DownloadableFiles/DownloadableFiles.types.d.ts +7 -0
- package/build/src/library/slices/GoogleMap/GoogleMap.d.ts +7 -0
- package/build/src/library/slices/GoogleMap/GoogleMap.storydata.d.ts +44 -0
- package/build/src/library/slices/GoogleMap/GoogleMap.test.d.ts +1 -0
- package/build/src/library/slices/GoogleMap/GoogleMap.types.d.ts +28 -0
- package/build/src/library/slices/Image/Image.d.ts +8 -0
- package/build/src/library/slices/Image/Image.storydata.d.ts +2 -0
- package/build/src/library/slices/Image/Image.test.d.ts +1 -0
- package/build/src/library/slices/Image/Image.types.d.ts +26 -0
- package/build/src/library/slices/ImageAndText/ImageAndText.d.ts +7 -0
- package/build/src/library/slices/ImageAndText/ImageAndText.storydata.d.ts +2 -0
- package/build/src/library/slices/ImageAndText/ImageAndText.test.d.ts +1 -0
- package/build/src/library/slices/ImageAndText/ImageAndText.types.d.ts +15 -0
- package/build/src/library/slices/InquestSchedule/InquestSchedule.d.ts +7 -0
- package/build/src/library/slices/InquestSchedule/InquestSchedule.storydata.d.ts +2 -0
- package/build/src/library/slices/InquestSchedule/InquestSchedule.test.d.ts +1 -0
- package/build/src/library/slices/InquestSchedule/InquestSchedule.types.d.ts +24 -0
- package/build/src/library/slices/Promotions/Promotions.d.ts +7 -0
- package/build/src/library/slices/SearchBox/SearchBox.d.ts +4 -0
- package/build/src/library/slices/SearchBox/SearchBox.storydata.d.ts +2 -0
- package/build/src/library/slices/SearchBox/SearchBox.test.d.ts +1 -0
- package/build/src/library/slices/SearchBox/SearchBox.types.d.ts +41 -0
- package/build/src/library/slices/Video/Video.d.ts +7 -0
- package/build/src/library/slices/Video/Video.test.d.ts +1 -0
- package/build/src/library/slices/Video/Video.types.d.ts +22 -0
- package/build/src/library/slices/WarningText/WarningText.d.ts +7 -0
- package/build/src/library/slices/WarningText/WarningText.test.d.ts +1 -0
- package/build/src/library/slices/WarningText/WarningText.types.d.ts +15 -0
- package/build/src/library/slices/WarningTextDisclaimer/WarningTextDisclaimer.d.ts +4 -0
- package/build/src/library/slices/WarningTextDisclaimer/WarningTextDisclaimer.types.d.ts +2 -0
- package/build/src/library/structure/AccessibleLinks/AccessibleLinks.d.ts +4 -0
- package/build/src/library/structure/AccessibleLinks/AccessibleLinks.types.d.ts +20 -0
- package/build/src/library/structure/AlertBanner/AlertBanner.d.ts +7 -0
- package/build/src/library/structure/AlertBanner/AlertBanner.test.d.ts +1 -0
- package/build/src/library/structure/AlertBanner/AlertBanner.types.d.ts +19 -0
- package/build/src/library/structure/AlertBannerService/AlertBannerService.d.ts +8 -0
- package/build/src/library/structure/AlertBannerService/AlertBannerService.test.d.ts +1 -0
- package/build/src/library/structure/AlertBannerService/AlertBannerService.types.d.ts +19 -0
- package/build/src/library/structure/BackLink/BackLink.d.ts +7 -0
- package/build/src/library/structure/BackLink/BackLink.test.d.ts +1 -0
- package/build/src/library/structure/BackLink/BackLink.types.d.ts +10 -0
- package/build/src/library/structure/Breadcrumbs/Breadcrumbs.d.ts +4 -0
- package/build/src/library/structure/Breadcrumbs/Breadcrumbs.test.d.ts +1 -0
- package/build/src/library/structure/Breadcrumbs/Breadcrumbs.types.d.ts +20 -0
- package/build/src/library/structure/Contents/Contents.d.ts +4 -0
- package/build/src/library/structure/Contents/Contents.storydata.d.ts +2 -0
- package/build/src/library/structure/Contents/Contents.test.d.ts +1 -0
- package/build/src/library/structure/Contents/Contents.types.d.ts +24 -0
- package/build/src/library/structure/ContentsNavigation/ContentsNavigation.d.ts +4 -0
- package/build/src/library/structure/ContentsNavigation/ContentsNavigation.test.d.ts +1 -0
- package/build/src/library/structure/CookieBanner/CookieBanner.d.ts +6 -0
- package/build/src/library/structure/CookieBanner/CookieBanner.types.d.ts +31 -0
- package/build/src/library/structure/CookieBanner/CookieClear.d.ts +5 -0
- package/build/src/library/structure/DisplayDate/DisplayDate.d.ts +7 -0
- package/build/src/library/structure/DisplayDate/DisplayDate.types.d.ts +18 -0
- package/build/src/library/structure/Footer/Footer.d.ts +4 -0
- package/build/src/library/structure/Footer/Footer.test.d.ts +1 -0
- package/build/src/library/structure/Footer/Footer.types.d.ts +24 -0
- package/build/src/library/structure/FullWidthContainer/FullWidthContainer.d.ts +7 -0
- package/build/src/library/structure/FullWidthContainer/FullWidthContainer.test.d.ts +1 -0
- package/build/src/library/structure/FullWidthContainer/FullWidthContainer.types.d.ts +15 -0
- package/build/src/library/structure/Header/Header.d.ts +7 -0
- package/build/src/library/structure/Header/Header.test.d.ts +1 -0
- package/build/src/library/structure/Header/Header.types.d.ts +31 -0
- package/build/src/library/structure/HeroImage/HeroImage.d.ts +8 -0
- package/build/src/library/structure/HeroImage/HeroImage.storydata.d.ts +6 -0
- package/build/src/library/structure/HeroImage/HeroImage.test.d.ts +1 -0
- package/build/src/library/structure/HeroImage/HeroImage.types.d.ts +48 -0
- package/build/src/library/structure/HomeHero/HomeHero.d.ts +7 -0
- package/build/src/library/structure/HomeHero/HomeHero.storydata.d.ts +15 -0
- package/build/src/library/structure/HomeHero/HomeHero.test.d.ts +1 -0
- package/build/src/library/structure/HomeHero/HomeHero.types.d.ts +54 -0
- package/build/src/library/structure/MaxWidthContainer/MaxWidthContainer.d.ts +7 -0
- package/build/src/library/structure/MaxWidthContainer/MaxWidthContainer.types.d.ts +23 -0
- package/build/src/library/structure/MemorialHero/MemorialHero.d.ts +4 -0
- package/build/src/library/structure/MemorialHero/MemorialHero.types.d.ts +27 -0
- package/build/src/library/structure/NewsArticleDate/NewsArticleDate.d.ts +7 -0
- package/build/src/library/structure/NewsArticleDate/NewsArticleDate.types.d.ts +10 -0
- package/build/src/library/structure/NewsArticleFeaturedBlock/NewsArticleFeaturedBlock.d.ts +7 -0
- package/build/src/library/structure/NewsArticleFeaturedBlock/NewsArticleFeaturedBlock.test.d.ts +1 -0
- package/build/src/library/structure/NewsArticleFeaturedBlock/NewsArticleFeaturedBlock.types.d.ts +23 -0
- package/build/src/library/structure/NewsArticleFilterAccordion/NewsArticleFilterAccordion.d.ts +4 -0
- package/build/src/library/structure/NewsArticleFilterAccordion/NewsArticleFilterAccordion.types.d.ts +7 -0
- package/build/src/library/structure/NewsArticleImage/NewsArticleImage.d.ts +7 -0
- package/build/src/library/structure/NewsArticleImage/NewsArticleImage.types.d.ts +18 -0
- package/build/src/library/structure/NewsArticleList/NewsArticleData.d.ts +7 -0
- package/build/src/library/structure/NewsArticleList/NewsArticleList.d.ts +4 -0
- package/build/src/library/structure/NewsArticleList/NewsArticleList.test.d.ts +1 -0
- package/build/src/library/structure/NewsArticleList/NewsArticleList.types.d.ts +28 -0
- package/build/src/library/structure/NewsArticleListHeader/NewsArticleListHeader.d.ts +4 -0
- package/build/src/library/structure/NewsArticleListHeader/NewsArticleListHeader.types.d.ts +6 -0
- package/build/src/library/structure/NewsArticleOldBanner/NewsArticleOldBanner.d.ts +7 -0
- package/build/src/library/structure/NewsArticleOldBanner/NewsArticleOldBanner.types.d.ts +2 -0
- package/build/src/library/structure/PageMain/PageMain.d.ts +7 -0
- package/build/src/library/structure/PageMain/PageMain.test.d.ts +1 -0
- package/build/src/library/structure/PageMain/PageMain.types.d.ts +15 -0
- package/build/src/library/structure/PageSidebar/PageSidebar.d.ts +7 -0
- package/build/src/library/structure/PageSidebar/PageSidebar.types.d.ts +7 -0
- package/build/src/library/structure/PageStructures.d.ts +42 -0
- package/build/src/library/structure/PageTitle/PageTitle.d.ts +7 -0
- package/build/src/library/structure/PageTitle/PageTitle.types.d.ts +11 -0
- package/build/src/library/structure/PageWithSidebarContainer/PageWithSidebarContainer.d.ts +7 -0
- package/build/src/library/structure/PageWithSidebarContainer/PageWithSidebarContainer.types.d.ts +11 -0
- package/build/src/library/structure/PageWrapper/PageWrapper.d.ts +4 -0
- package/build/src/library/structure/PageWrapper/PageWrapper.types.d.ts +11 -0
- package/build/src/library/structure/PhaseBanner/PhaseBanner.d.ts +4 -0
- package/build/src/library/structure/PhaseBanner/PhaseBanner.types.d.ts +3 -0
- package/build/src/library/structure/PromoBanner/PromoBanner.d.ts +8 -0
- package/build/src/library/structure/PromoBanner/PromoBanner.storydata.d.ts +13 -0
- package/build/src/library/structure/PromoBanner/PromoBanner.test.d.ts +1 -0
- package/build/src/library/structure/PromoBanner/PromoBanner.types.d.ts +27 -0
- package/build/src/library/structure/PromoBlock/PromoBlock.d.ts +8 -0
- package/build/src/library/structure/PromoBlock/PromoBlock.storydata.d.ts +5 -0
- package/build/src/library/structure/PromoBlock/PromoBlock.test.d.ts +1 -0
- package/build/src/library/structure/PromoBlock/PromoBlock.types.d.ts +36 -0
- package/build/src/library/structure/SearchHeader/SearchHeader.d.ts +4 -0
- package/build/src/library/structure/SearchHeader/SearchHeader.types.d.ts +2 -0
- package/build/src/library/structure/SearchResultsList/SearchResultsList.d.ts +4 -0
- package/build/src/library/structure/SearchResultsList/SearchResultsList.test.d.ts +1 -0
- package/build/src/library/structure/SearchResultsList/SearchResultsList.types.d.ts +45 -0
- package/build/src/library/structure/Searchbar/Searchbar.d.ts +4 -0
- package/build/src/library/structure/Searchbar/Searchbar.test.d.ts +1 -0
- package/build/src/library/structure/Searchbar/Searchbar.types.d.ts +48 -0
- package/build/src/library/structure/SectionLinks/SectionLinks.d.ts +7 -0
- package/build/src/library/structure/SectionLinks/SectionLinks.storydata.d.ts +2 -0
- package/build/src/library/structure/SectionLinks/SectionLinks.test.d.ts +1 -0
- package/build/src/library/structure/SectionLinks/SectionLinks.types.d.ts +52 -0
- package/build/src/library/structure/SectionLinksMobileContents/SectionLinksMobileContents.d.ts +4 -0
- package/build/src/library/structure/SectionLinksMobileContents/SectionLinksMobileContents.types.d.ts +16 -0
- package/build/src/library/structure/SectionLinksSidebar/SectionLinksSidebar.d.ts +4 -0
- package/build/src/library/structure/SectionLinksSidebar/SectionLinksSidebar.test.d.ts +1 -0
- package/build/src/library/structure/SectionLinksSidebar/SectionLinksSidebar.types.d.ts +34 -0
- package/build/src/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.d.ts +4 -0
- package/build/src/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.storydata.d.ts +9 -0
- package/build/src/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.test.d.ts +1 -0
- package/build/src/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.types.d.ts +53 -0
- package/build/src/library/structure/ServicesLinksList/ServicesLinksList.d.ts +4 -0
- package/build/src/library/structure/ServicesLinksList/ServicesLinksList.test.d.ts +1 -0
- package/build/src/library/structure/ServicesLinksList/ServicesLinksList.types.d.ts +68 -0
- package/build/src/library/structure/SignpostLinks/SignpostLinks.d.ts +4 -0
- package/build/src/library/structure/SignpostLinks/SignpostLinks.types.d.ts +32 -0
- package/build/src/library/structure/SkipToMainContent/SkipToMainContent.d.ts +4 -0
- package/build/src/library/structure/SkipToMainContent/SkipToMainContent.test.d.ts +1 -0
- package/build/src/library/structure/SkipToMainContent/SkipToMainContent.types.d.ts +2 -0
- package/build/src/library/structure/Summary/Summary.d.ts +4 -0
- package/build/src/library/structure/Summary/Summary.test.d.ts +1 -0
- package/build/src/library/structure/Summary/Summary.types.d.ts +15 -0
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
|
@@ -294,6 +294,22 @@ const AutocompleteSuggestionTextMatch = styled.span`
|
|
|
294
294
|
font-weight: bold;
|
|
295
295
|
`;
|
|
296
296
|
|
|
297
|
+
const LightErrorText = styled.p`
|
|
298
|
+
${(props) => props.theme.fontStyles}
|
|
299
|
+
color: ${(props) => props.theme.theme_vars.colours.white};
|
|
300
|
+
font-weight: bold;
|
|
301
|
+
margin-bottom: 5px;
|
|
302
|
+
font-size: 14px;
|
|
303
|
+
font-size: 0.8rem;
|
|
304
|
+
line-height: 1.1;
|
|
305
|
+
|
|
306
|
+
@media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.m}) {
|
|
307
|
+
font-size: 18px;
|
|
308
|
+
font-size: 1rem;
|
|
309
|
+
line-height: 1.25;
|
|
310
|
+
}
|
|
311
|
+
`;
|
|
312
|
+
|
|
297
313
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
298
314
|
|
|
299
315
|
function getDefaultExportFromCjs (x) {
|
|
@@ -3727,12 +3743,12 @@ process.env.NODE_ENV !== "production" ? '__function_reset__' : 12;
|
|
|
3727
3743
|
* click on to select. If viewing in Storybook, try typing the name of a fruit in the story examples.
|
|
3728
3744
|
*/
|
|
3729
3745
|
var Autocomplete = function (_a) {
|
|
3730
|
-
var _b = _a.id, id = _b === void 0 ? 'autocomplete' : _b, _c = _a.name, name = _c === void 0 ? 'autocomplete' : _c, labelText = _a.labelText, _d = _a.hasHiddenLabel, hasHiddenLabel = _d === void 0 ? false : _d, value = _a.value, size = _a.size, placeholder = _a.placeholder, _e = _a.isErrored, isErrored = _e === void 0 ? false : _e, errorText = _a.errorText, _f = _a.suggestions, suggestions = _f === void 0 ? [] : _f, _g = _a.showSuggestions, showSuggestions = _g === void 0 ? false : _g, _h = _a.minimumMatchLength, minimumMatchLength = _h === void 0 ? 2 : _h, _j = _a.maximumMatchesShown, maximumMatchesShown = _j === void 0 ? 5 : _j, _k = _a.isLarge, isLarge = _k === void 0 ? false : _k, _l = _a.hasAdjacentButton, hasAdjacentButton = _l === void 0 ? false : _l, onSelect = _a.onSelect, onChange = _a.onChange;
|
|
3746
|
+
var _b = _a.id, id = _b === void 0 ? 'autocomplete' : _b, _c = _a.name, name = _c === void 0 ? 'autocomplete' : _c, labelText = _a.labelText, _d = _a.hasHiddenLabel, hasHiddenLabel = _d === void 0 ? false : _d, value = _a.value, size = _a.size, placeholder = _a.placeholder, _e = _a.isErrored, isErrored = _e === void 0 ? false : _e, errorText = _a.errorText, _f = _a.suggestions, suggestions = _f === void 0 ? [] : _f, _g = _a.showSuggestions, showSuggestions = _g === void 0 ? false : _g, _h = _a.minimumMatchLength, minimumMatchLength = _h === void 0 ? 2 : _h, _j = _a.maximumMatchesShown, maximumMatchesShown = _j === void 0 ? 5 : _j, _k = _a.isLarge, isLarge = _k === void 0 ? false : _k, _l = _a.hasAdjacentButton, hasAdjacentButton = _l === void 0 ? false : _l, onSelect = _a.onSelect, onChange = _a.onChange, _m = _a.required, required = _m === void 0 ? false : _m, _o = _a.hasLightBackground, hasLightBackground = _o === void 0 ? true : _o;
|
|
3731
3747
|
/**
|
|
3732
3748
|
* We save the input value in state or we can't cope with leaving the input
|
|
3733
3749
|
* without selecting a matching suggestion.
|
|
3734
3750
|
*/
|
|
3735
|
-
var
|
|
3751
|
+
var _p = useState(value), inputvalue = _p[0], setInputValue = _p[1];
|
|
3736
3752
|
/**
|
|
3737
3753
|
* For component state changes that affect the input value, we copy the
|
|
3738
3754
|
* value into our saved state, and fire the onSelect handler if the change
|
|
@@ -3806,7 +3822,7 @@ var Autocomplete = function (_a) {
|
|
|
3806
3822
|
var getInputProps = _a.getInputProps, getItemProps = _a.getItemProps, getLabelProps = _a.getLabelProps, getMenuProps = _a.getMenuProps, isOpen = _a.isOpen, inputValue = _a.inputValue, getRootProps = _a.getRootProps;
|
|
3807
3823
|
return (React.createElement("div", null,
|
|
3808
3824
|
React.createElement(AutocompleteLabel, __assign$2({}, getLabelProps(), { hasHiddenLabel: hasHiddenLabel }), labelText ? labelText : placeholder),
|
|
3809
|
-
isErrored && errorText ? React.createElement(ErrorText$1, null, errorText) :
|
|
3825
|
+
isErrored && errorText && (React.createElement(React.Fragment, null, hasLightBackground ? (React.createElement(ErrorText$1, null, errorText)) : (React.createElement(LightErrorText, null, errorText)))),
|
|
3810
3826
|
React.createElement("div", __assign$2({}, getRootProps(undefined, { suppressRefError: true })),
|
|
3811
3827
|
React.createElement(AutocompleteTextInput, __assign$2({}, getInputProps({
|
|
3812
3828
|
name: name,
|
|
@@ -3817,7 +3833,7 @@ var Autocomplete = function (_a) {
|
|
|
3817
3833
|
isLarge: isLarge,
|
|
3818
3834
|
hasAdjacentButton: hasAdjacentButton,
|
|
3819
3835
|
size: size,
|
|
3820
|
-
})))),
|
|
3836
|
+
}), { "aria-required": required ? 'true' : 'false', "aria-invalid": isErrored ? 'true' : 'false' }))),
|
|
3821
3837
|
// can't rely just on isOpen or we can end up displaying an empty suggestions list
|
|
3822
3838
|
isOpen && filteredsuggestions.length > 0 ? (React.createElement(AutocompleteSuggestionList, __assign$2({}, getMenuProps({
|
|
3823
3839
|
'aria-labelledby': null,
|
|
@@ -23809,7 +23825,7 @@ const BreadcrumbLink$1 = styled.a`
|
|
|
23809
23825
|
var Breadcrumbs = function (_a) {
|
|
23810
23826
|
var breadcrumbsArray = _a.breadcrumbsArray, _b = _a.hasMargin, hasMargin = _b === void 0 ? false : _b;
|
|
23811
23827
|
return (React.createElement(Container$C, { hasMargin: hasMargin, "data-testid": "Breadcrumbs" },
|
|
23812
|
-
React.createElement(List$2,
|
|
23828
|
+
React.createElement(List$2, { as: breadcrumbsArray.length === 1 ? 'div' : 'ol' }, breadcrumbsArray.map(function (crumb) { return (React.createElement(Crumb, { key: crumb.title, as: breadcrumbsArray.length === 1 ? 'span' : 'li' }, React.createElement(React.Fragment, null,
|
|
23813
23829
|
React.createElement(BreadcrumbLink$1, { href: crumb.url, title: crumb.title }, crumb.title),
|
|
23814
23830
|
React.createElement(IconWrapper$4, null,
|
|
23815
23831
|
React.createElement(ChevronIcon, { direction: 'right', colourFill: "#C6C6C6" }))))); }))));
|
|
@@ -24389,8 +24405,8 @@ var NorthColouredLogo = function () {
|
|
|
24389
24405
|
};
|
|
24390
24406
|
|
|
24391
24407
|
const Container$w = styled.div`
|
|
24392
|
-
${props => props.theme.fontStyles}
|
|
24393
|
-
width: calc(100% - ${
|
|
24408
|
+
${(props) => props.theme.fontStyles}
|
|
24409
|
+
width: calc(100% - ${(props) => (props.isLarge ? '5rem' : '3rem')});
|
|
24394
24410
|
`;
|
|
24395
24411
|
|
|
24396
24412
|
styled.label`
|
|
@@ -24415,41 +24431,44 @@ const InputWrapper = styled.div`
|
|
|
24415
24431
|
const Button$3 = styled.button`
|
|
24416
24432
|
position: absolute;
|
|
24417
24433
|
top: 0;
|
|
24418
|
-
right: ${
|
|
24434
|
+
right: ${(props) => (props.isLarge ? '-5rem' : '-3rem')};
|
|
24419
24435
|
cursor: pointer;
|
|
24420
24436
|
margin: 0;
|
|
24421
|
-
|
|
24422
|
-
|
|
24423
|
-
|
|
24437
|
+
margin-top: ${(props) => (props.isErrored ? '25px' : 0)};
|
|
24438
|
+
padding: ${(props) => props.theme.theme_vars.spacingSizes.small};
|
|
24439
|
+
background: ${(props) =>
|
|
24440
|
+
props.isLight ? props.theme.theme_vars.colours.action : props.theme.theme_vars.colours.grey_darkest};
|
|
24441
|
+
color: ${(props) => props.theme.theme_vars.colours.white};
|
|
24424
24442
|
border: 1px solid transparent;
|
|
24425
|
-
border-top-right-radius: calc(${props => props.theme.theme_vars.border_radius} * 2);
|
|
24426
|
-
border-bottom-right-radius: calc(${props => props.theme.theme_vars.border_radius} * 2);
|
|
24427
|
-
width: ${props => props.isLarge ?
|
|
24443
|
+
border-top-right-radius: calc(${(props) => props.theme.theme_vars.border_radius} * 2);
|
|
24444
|
+
border-bottom-right-radius: calc(${(props) => props.theme.theme_vars.border_radius} * 2);
|
|
24445
|
+
width: ${(props) => (props.isLarge ? '5rem' : '3rem')};
|
|
24428
24446
|
text-align: center;
|
|
24429
|
-
height: ${
|
|
24430
|
-
@media screen and (min-width: ${
|
|
24431
|
-
height: ${
|
|
24447
|
+
height: ${(props) => (props.isLarge ? '2.9rem' : '2.28rem')};
|
|
24448
|
+
@media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.m}) {
|
|
24449
|
+
height: ${(props) => (props.isLarge ? '3.22rem' : '2.6rem')};
|
|
24432
24450
|
}
|
|
24433
24451
|
|
|
24434
24452
|
&:hover {
|
|
24435
|
-
background: ${props =>
|
|
24453
|
+
background: ${(props) =>
|
|
24454
|
+
props.isLight ? props.theme.theme_vars.colours.action_dark : props.theme.theme_vars.colours.black};
|
|
24436
24455
|
}
|
|
24437
24456
|
|
|
24438
24457
|
&:focus {
|
|
24439
24458
|
outline: none;
|
|
24440
|
-
background: ${props => props.theme.theme_vars.colours.focus};
|
|
24459
|
+
background: ${(props) => props.theme.theme_vars.colours.focus};
|
|
24441
24460
|
svg {
|
|
24442
|
-
path{
|
|
24443
|
-
fill: ${props => props.theme.theme_vars.colours.black};
|
|
24461
|
+
path {
|
|
24462
|
+
fill: ${(props) => props.theme.theme_vars.colours.black};
|
|
24444
24463
|
}
|
|
24445
24464
|
}
|
|
24446
24465
|
}
|
|
24447
24466
|
|
|
24448
24467
|
&:active {
|
|
24449
24468
|
transform: translateY(1px);
|
|
24450
|
-
background-color: ${props => props.theme.theme_vars.colours.focus};
|
|
24451
|
-
box-shadow: 0px -1px 0px 0px ${props => props.theme.theme_vars.colours.black};
|
|
24452
|
-
border-top-color: ${props => props.theme.theme_vars.colours.black};
|
|
24469
|
+
background-color: ${(props) => props.theme.theme_vars.colours.focus};
|
|
24470
|
+
box-shadow: 0px -1px 0px 0px ${(props) => props.theme.theme_vars.colours.black};
|
|
24471
|
+
border-top-color: ${(props) => props.theme.theme_vars.colours.black};
|
|
24453
24472
|
border-bottom-color: transparent;
|
|
24454
24473
|
}
|
|
24455
24474
|
`;
|
|
@@ -24474,7 +24493,7 @@ var IconDownload = function (_a) {
|
|
|
24474
24493
|
};
|
|
24475
24494
|
|
|
24476
24495
|
var Searchbar = function (_a) {
|
|
24477
|
-
var _b = _a.placeholder, placeholder = _b === void 0 ?
|
|
24496
|
+
var _b = _a.placeholder, placeholder = _b === void 0 ? 'Search' : _b, isLight = _a.isLight, isLarge = _a.isLarge, _c = _a.searchTerm, searchTerm = _c === void 0 ? '' : _c, submitInfo = _a.submitInfo, _d = _a.id, id = _d === void 0 ? 'search' : _d, _e = _a.suggestions, suggestions = _e === void 0 ? [] : _e, _f = _a.minimumMatchLength, minimumMatchLength = _f === void 0 ? 2 : _f, _g = _a.maximumMatchesShown, maximumMatchesShown = _g === void 0 ? 5 : _g;
|
|
24478
24497
|
var initialSearchTerm = searchTerm;
|
|
24479
24498
|
var _h = useState(initialSearchTerm), inputSearchTerm = _h[0], setInputSearchTerm = _h[1];
|
|
24480
24499
|
var _j = useState(false), submit = _j[0], setSubmit = _j[1];
|
|
@@ -24506,13 +24525,12 @@ var Searchbar = function (_a) {
|
|
|
24506
24525
|
return;
|
|
24507
24526
|
setSubmit(false);
|
|
24508
24527
|
var submitParams = submitInfo.params;
|
|
24509
|
-
if (initialSearchTerm !== inputSearchTerm ||
|
|
24510
|
-
!(NewsArticleFilterFields.search.queryParamKey in submitParams)) {
|
|
24528
|
+
if (initialSearchTerm !== inputSearchTerm || !(NewsArticleFilterFields.search.queryParamKey in submitParams)) {
|
|
24511
24529
|
submitParams = __assign$2(__assign$2({}, submitParams), { searchTerm: inputSearchTerm });
|
|
24512
24530
|
var keyValueFormat = Object.keys(submitParams).map(function (key) {
|
|
24513
24531
|
return { key: key, value: submitParams[key] };
|
|
24514
24532
|
});
|
|
24515
|
-
handleParams(submitInfo.postTo, keyValueFormat, [
|
|
24533
|
+
handleParams(submitInfo.postTo, keyValueFormat, ['page']);
|
|
24516
24534
|
}
|
|
24517
24535
|
}, [submit, submitInfo, initialSearchTerm, inputSearchTerm, handleParams] // dependencies that this function relies upon
|
|
24518
24536
|
);
|
|
@@ -24523,7 +24541,7 @@ var Searchbar = function (_a) {
|
|
|
24523
24541
|
var handleSubmit = function (event) {
|
|
24524
24542
|
if (event)
|
|
24525
24543
|
event.preventDefault();
|
|
24526
|
-
if (inputSearchTerm ==
|
|
24544
|
+
if (inputSearchTerm == '') {
|
|
24527
24545
|
if (!isErrored) {
|
|
24528
24546
|
setIsErrored(true);
|
|
24529
24547
|
}
|
|
@@ -24538,8 +24556,8 @@ var Searchbar = function (_a) {
|
|
|
24538
24556
|
React.createElement("form", { onSubmit: handleSubmit },
|
|
24539
24557
|
React.createElement("div", { role: "search" },
|
|
24540
24558
|
React.createElement(InputWrapper, null,
|
|
24541
|
-
React.createElement(Autocomplete, { id: id, name: NewsArticleFilterFields.search.queryParamKey, placeholder: placeholder, onSelect: handleSelect, onChange: handleChange, value: inputSearchTerm, suggestions: suggestions, minimumMatchLength: minimumMatchLength, maximumMatchesShown: maximumMatchesShown, isLarge: isLarge, hasAdjacentButton: true, isErrored: isErrored, hasHiddenLabel: true }),
|
|
24542
|
-
React.createElement(Button$3, { type: "submit", value: "Search", isLarge: isLarge, isLight: isLight, "data-testid": "SearchButton" },
|
|
24559
|
+
React.createElement(Autocomplete, { id: id, name: NewsArticleFilterFields.search.queryParamKey, placeholder: placeholder, onSelect: handleSelect, onChange: handleChange, value: inputSearchTerm, suggestions: suggestions, minimumMatchLength: minimumMatchLength, maximumMatchesShown: maximumMatchesShown, isLarge: isLarge, hasAdjacentButton: true, isErrored: isErrored, hasHiddenLabel: true, required: true, errorText: "The search field is required.", hasLightBackground: isLight }),
|
|
24560
|
+
React.createElement(Button$3, { type: "submit", value: "Search", isLarge: isLarge, isLight: isLight, isErrored: isErrored, "data-testid": "SearchButton" },
|
|
24543
24561
|
React.createElement(IconDownload, { colourFill: "#fff" }),
|
|
24544
24562
|
React.createElement(ButtonText$2, null, "Search")))))));
|
|
24545
24563
|
};
|
|
@@ -29155,11 +29173,14 @@ var transformTaxonomies = function (service_taxonomys, taxonomiesToShow) {
|
|
|
29155
29173
|
var transformAge = function (age, ageInMonths) {
|
|
29156
29174
|
if (ageInMonths === void 0) { ageInMonths = false; }
|
|
29157
29175
|
if (age === 0) {
|
|
29158
|
-
return age;
|
|
29176
|
+
return age.toString();
|
|
29159
29177
|
}
|
|
29160
29178
|
if (ageInMonths) {
|
|
29161
29179
|
if (age > 36) {
|
|
29162
|
-
|
|
29180
|
+
if (age % 12 === 0) {
|
|
29181
|
+
return Math.ceil(age / 12) + ' years';
|
|
29182
|
+
}
|
|
29183
|
+
return Math.floor(age / 12) + ' years and ' + (age % 12) + (age % 12 === 1 ? ' month' : ' months');
|
|
29163
29184
|
}
|
|
29164
29185
|
return "".concat(age, " months");
|
|
29165
29186
|
}
|