northants-design-system 1.0.0-alpha.0 → 1.0.0
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.js +29 -11
- package/build/index.js.map +1 -1
- package/build/index.mjs.js +29 -11
- package/build/index.mjs.js.map +1 -1
- package/build/src/library/components/Autocomplete/Autocomplete.types.d.ts +8 -0
- package/build/src/themes/GlobalStyleReset.d.ts +6 -0
- package/build/src/themes/ThemeVars.types.d.ts +60 -0
- package/build/src/themes/theme_gds.d.ts +2 -0
- package/build/src/themes/theme_generator.d.ts +163 -0
- package/build/src/themes/theme_london_bridge_north.d.ts +2 -0
- package/build/src/themes/theme_london_bridge_west.d.ts +2 -0
- package/build/src/themes/theme_north.d.ts +2 -0
- package/build/src/themes/theme_west.d.ts +2 -0
- package/package.json +1 -1
- package/build/index.d.ts +0 -41
- package/build/index.esm.js +0 -31905
- package/build/index.esm.js.map +0 -1
- package/build/library/components/AlphabeticalDirectory/AlphabeticalDirectory.d.ts +0 -4
- package/build/library/components/AlphabeticalDirectory/AlphabeticalDirectory.types.d.ts +0 -26
- package/build/library/components/Autocomplete/Autocomplete.d.ts +0 -9
- package/build/library/components/Autocomplete/Autocomplete.storydata.d.ts +0 -47
- package/build/library/components/Autocomplete/Autocomplete.types.d.ts +0 -70
- package/build/library/components/BackToTop/BackToTop.d.ts +0 -4
- package/build/library/components/BackToTop/BackToTop.types.d.ts +0 -6
- package/build/library/components/Button/Button.d.ts +0 -7
- package/build/library/components/Button/Button.types.d.ts +0 -43
- package/build/library/components/Card/Card.d.ts +0 -7
- package/build/library/components/Card/Card.types.d.ts +0 -36
- package/build/library/components/CheckboxListFilter/CheckboxListFilter.d.ts +0 -4
- package/build/library/components/CheckboxListFilter/CheckboxListFilter.types.d.ts +0 -36
- package/build/library/components/Column/Column.d.ts +0 -4
- package/build/library/components/Column/Column.types.d.ts +0 -36
- package/build/library/components/CustomSearch/CustomSearch.d.ts +0 -4
- package/build/library/components/CustomSearch/CustomSearch.storydata.d.ts +0 -2
- package/build/library/components/CustomSearch/CustomSearch.types.d.ts +0 -34
- package/build/library/components/DropDownFilter/DropDownFilter.d.ts +0 -4
- package/build/library/components/DropDownFilter/DropDownFilter.types.d.ts +0 -32
- package/build/library/components/DropDownSelect/DropDownSelect.d.ts +0 -4
- package/build/library/components/DropDownSelect/DropDownSelect.types.d.ts +0 -36
- package/build/library/components/DynamicIcon/DynamicIcon.d.ts +0 -7
- package/build/library/components/DynamicIcon/DynamicIcon.types.d.ts +0 -10
- package/build/library/components/FileDownload/FileDownload.d.ts +0 -7
- package/build/library/components/FileDownload/FileDownload.types.d.ts +0 -22
- package/build/library/components/FormButton/FormButton.d.ts +0 -7
- package/build/library/components/FormButton/FormButton.types.d.ts +0 -27
- package/build/library/components/FormWithLine/FormWithLine.d.ts +0 -7
- package/build/library/components/FormWithLine/FormWithLine.types.d.ts +0 -39
- package/build/library/components/Heading/Heading.d.ts +0 -7
- package/build/library/components/Heading/Heading.types.d.ts +0 -10
- package/build/library/components/HeadingWithIcon/HeadingWithIcon.d.ts +0 -7
- package/build/library/components/HeadingWithIcon/HeadingWithIcon.types.d.ts +0 -18
- package/build/library/components/HeadingWithIconLink/HeadingWithIconLink.d.ts +0 -4
- package/build/library/components/HeadingWithIconLink/HeadingWithIconLink.types.d.ts +0 -14
- package/build/library/components/HintText/HintText.d.ts +0 -7
- package/build/library/components/HintText/HintText.types.d.ts +0 -6
- package/build/library/components/Input/Input.d.ts +0 -8
- package/build/library/components/Input/Input.types.d.ts +0 -45
- package/build/library/components/LoadingSpinner/LoadingSpinner.d.ts +0 -4
- package/build/library/components/LoadingSpinner/LoadingSpinner.types.d.ts +0 -2
- package/build/library/components/Map/Map.d.ts +0 -7
- package/build/library/components/Map/Map.types.d.ts +0 -16
- package/build/library/components/MapMarker/MapMarker.d.ts +0 -7
- package/build/library/components/Pagination/Pagination.d.ts +0 -4
- package/build/library/components/Pagination/Pagination.types.d.ts +0 -23
- package/build/library/components/PostCodeAddressDropdown/PostCodeAddressDropdown.d.ts +0 -7
- package/build/library/components/PostCodeAddressDropdown/PostCodeAddressDropdown.types.d.ts +0 -2
- package/build/library/components/PostCodeAddressSearch/PostCodeAddressSearch.d.ts +0 -7
- package/build/library/components/PostCodeAddressSearch/PostCodeAddressSearch.types.d.ts +0 -23
- package/build/library/components/PostCodeAddressTable/PostCodeAddressTable.d.ts +0 -4
- package/build/library/components/PostCodeAddressTable/PostCodeAddressTable.types.d.ts +0 -2
- package/build/library/components/PostCodeSearch/PostCodeSearch.d.ts +0 -7
- package/build/library/components/PostCodeSearch/PostCodeSearch.types.d.ts +0 -52
- package/build/library/components/PromotedLinks/PromotedLinks.d.ts +0 -4
- package/build/library/components/PromotedLinks/PromotedLinks.types.d.ts +0 -20
- package/build/library/components/RadioCheckboxInput/RadioCheckboxInput.d.ts +0 -4
- package/build/library/components/RadioCheckboxInput/RadioCheckboxInput.types.d.ts +0 -27
- package/build/library/components/RemovableTag/RemovableTag.d.ts +0 -4
- package/build/library/components/RemovableTag/RemovableTag.types.d.ts +0 -8
- package/build/library/components/RemoveAllFilters/RemoveAllFilters.d.ts +0 -4
- package/build/library/components/RemoveAllFilters/RemoveAllFilters.types.d.ts +0 -3
- package/build/library/components/Row/Row.d.ts +0 -4
- package/build/library/components/Row/Row.types.d.ts +0 -20
- package/build/library/components/SignpostLinksList/SignpostLinksList.d.ts +0 -4
- package/build/library/components/SignpostLinksList/SignpostLinksList.types.d.ts +0 -24
- package/build/library/components/SortBy/SortBy.d.ts +0 -4
- package/build/library/components/SortBy/SortBy.types.d.ts +0 -20
- package/build/library/components/StaticMap/StaticMap.d.ts +0 -7
- package/build/library/components/StaticMap/StaticMap.types.d.ts +0 -52
- package/build/library/components/SummaryList/SummaryList.d.ts +0 -4
- package/build/library/components/SummaryList/SummaryList.types.d.ts +0 -21
- package/build/library/components/TextInput/TextInput.d.ts +0 -7
- package/build/library/components/TextInput/TextInput.types.d.ts +0 -34
- package/build/library/components/icons/ChevronIcon/ChevronIcon.d.ts +0 -4
- package/build/library/components/icons/ChevronIcon/ChevronIcon.types.d.ts +0 -10
- package/build/library/components/icons/CloseIcon/CloseIcon.d.ts +0 -4
- package/build/library/components/icons/CloseIcon/CloseIcon.types.d.ts +0 -6
- package/build/library/components/icons/DownloadFileIcon/DownloadFileIcon.d.ts +0 -4
- package/build/library/components/icons/DownloadFileIcon/DownloadFileIcon.types.d.ts +0 -6
- package/build/library/components/icons/EmailIcon/EmailIcon.d.ts +0 -4
- package/build/library/components/icons/EmailIcon/EmailIcon.types.d.ts +0 -6
- package/build/library/components/icons/FacebookIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/HeartIcon/HeartIcon.d.ts +0 -7
- package/build/library/components/icons/HeartIcon/HeartIcon.types.d.ts +0 -6
- package/build/library/components/icons/InstagramIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/LinkIcon/LinkIcon.d.ts +0 -4
- package/build/library/components/icons/LinkIcon/LinkIcon.types.d.ts +0 -6
- package/build/library/components/icons/LinkedInIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/PhoneIcon/PhoneIcon.d.ts +0 -4
- package/build/library/components/icons/PhoneIcon/PhoneIcon.types.d.ts +0 -6
- package/build/library/components/icons/PinIcon/PinIcon.d.ts +0 -7
- package/build/library/components/icons/PinIcon/PinIcon.types.d.ts +0 -6
- package/build/library/components/icons/SearchIcon/SearchIcon.d.ts +0 -4
- package/build/library/components/icons/SearchIcon/SearchIcon.types.d.ts +0 -6
- package/build/library/components/icons/TwitterIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/WebsiteIcon/WebsiteIcon.d.ts +0 -4
- package/build/library/components/icons/WebsiteIcon/WebsiteIcon.types.d.ts +0 -6
- package/build/library/components/icons/YouTubeIcon/Icon.d.ts +0 -4
- package/build/library/components/icons/services/AccessibleParking/Icon.d.ts +0 -4
- package/build/library/components/icons/services/AccessibleParking/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Address/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Address/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/AddressChange/Icon.d.ts +0 -4
- package/build/library/components/icons/services/AddressChange/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Adults/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Adults/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/AssistiveTechnology/Icon.d.ts +0 -4
- package/build/library/components/icons/services/AssistiveTechnology/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Benefits/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Benefits/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/BinDay/Icon.d.ts +0 -4
- package/build/library/components/icons/services/BinDay/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Bins/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Bins/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/BirthCertificate/Icon.d.ts +0 -4
- package/build/library/components/icons/services/BirthCertificate/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Births/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Births/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Bollard/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Bollard/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/BulkWaste/Icon.d.ts +0 -4
- package/build/library/components/icons/services/BulkWaste/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Bus/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Bus/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/BusPass/Icon.d.ts +0 -4
- package/build/library/components/icons/services/BusPass/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Business/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Business/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Careers/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Careers/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Cash/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Cash/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Catalogue/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Catalogue/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Ceremony/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Ceremony/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Charity/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Charity/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Children/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Children/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Computer/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Computer/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/CondolenceBook/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CondolenceBook/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Cooking/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Cooking/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Council/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Council/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/CouncilTax/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CouncilTax/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Covid/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Covid/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Culture/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Culture/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/CultureNorth/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CultureNorth/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/CultureWest/Icon.d.ts +0 -4
- package/build/library/components/icons/services/CultureWest/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/DOLS/Icon.d.ts +0 -4
- package/build/library/components/icons/services/DOLS/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/DeathCertificate/Icon.d.ts +0 -4
- package/build/library/components/icons/services/DeathCertificate/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Democracy/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Democracy/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/DogFouling/Icon.d.ts +0 -4
- package/build/library/components/icons/services/DogFouling/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Ebook/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Ebook/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Edit/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Edit/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Environment/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Environment/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Events/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Events/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Finance/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Finance/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Flower/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Flower/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/FlyTip/Icon.d.ts +0 -4
- package/build/library/components/icons/services/FlyTip/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/FoodWaste/Icon.d.ts +0 -4
- package/build/library/components/icons/services/FoodWaste/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/GiveNotice/Icon.d.ts +0 -4
- package/build/library/components/icons/services/GiveNotice/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/GovUK/Icon.d.ts +0 -4
- package/build/library/components/icons/services/GovUK/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Graffiti/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Graffiti/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Highway/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Highway/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/HouseMoney/Icon.d.ts +0 -4
- package/build/library/components/icons/services/HouseMoney/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Housing/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Housing/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Icon.types.d.ts +0 -6
- package/build/library/components/icons/services/Independence/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Independence/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/KeepingHealthy/Icon.d.ts +0 -4
- package/build/library/components/icons/services/KeepingHealthy/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Libraries/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Libraries/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Litter/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Litter/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/LookingAfterYourself/Icon.d.ts +0 -4
- package/build/library/components/icons/services/LookingAfterYourself/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/MapPin/Icon.d.ts +0 -4
- package/build/library/components/icons/services/MapPin/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Member/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Member/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/MentalHealth/Icon.d.ts +0 -4
- package/build/library/components/icons/services/MentalHealth/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/MissedBin/Icon.d.ts +0 -4
- package/build/library/components/icons/services/MissedBin/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/New/Icon.d.ts +0 -4
- package/build/library/components/icons/services/New/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/OccupationalTherapy/Icon.d.ts +0 -4
- package/build/library/components/icons/services/OccupationalTherapy/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/ParkEvent/Icon.d.ts +0 -4
- package/build/library/components/icons/services/ParkEvent/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Parking/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Parking/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/ParkingTicket/Icon.d.ts +0 -4
- package/build/library/components/icons/services/ParkingTicket/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Pay/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Pay/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/PhonePay/Icon.d.ts +0 -4
- package/build/library/components/icons/services/PhonePay/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Planning/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Planning/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Pothole/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Pothole/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/PreventingFalls/Icon.d.ts +0 -4
- package/build/library/components/icons/services/PreventingFalls/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Protect/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Protect/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/RatePay/Icon.d.ts +0 -4
- package/build/library/components/icons/services/RatePay/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/RegisterBirth/Icon.d.ts +0 -4
- package/build/library/components/icons/services/RegisterBirth/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/RegisterDeath/Icon.d.ts +0 -4
- package/build/library/components/icons/services/RegisterDeath/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Report/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Report/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Restrict/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Restrict/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/RoadWorks/Icon.d.ts +0 -4
- package/build/library/components/icons/services/RoadWorks/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Roads/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Roads/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/RoyalWebsite/Icon.d.ts +0 -4
- package/build/library/components/icons/services/RoyalWebsite/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/SEND/Icon.d.ts +0 -4
- package/build/library/components/icons/services/SEND/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Safety/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Safety/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/SchoolAdmissions/Icon.d.ts +0 -4
- package/build/library/components/icons/services/SchoolAdmissions/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Schools/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Schools/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/ServicesIcons.d.ts +0 -174
- package/build/library/components/icons/services/SinglePerson/Icon.d.ts +0 -4
- package/build/library/components/icons/services/SinglePerson/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Sports/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Sports/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Valuation/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Valuation/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/Venue/Icon.d.ts +0 -4
- package/build/library/components/icons/services/Venue/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/WasteChecklist/Icon.d.ts +0 -4
- package/build/library/components/icons/services/WasteChecklist/IconHover.d.ts +0 -4
- package/build/library/components/icons/services/WasteSorting/Icon.d.ts +0 -4
- package/build/library/components/icons/services/WasteSorting/IconHover.d.ts +0 -4
- package/build/library/components/logos/GDSLogo/logo.d.ts +0 -4
- package/build/library/components/logos/GDSLogo/logo.types.d.ts +0 -2
- package/build/library/components/logos/NorthColouredLogo/logo.d.ts +0 -4
- package/build/library/components/logos/NorthColouredLogo/logo.types.d.ts +0 -2
- package/build/library/components/logos/NorthWhiteLogo/logo.d.ts +0 -4
- package/build/library/components/logos/NorthWhiteLogo/logo.types.d.ts +0 -2
- package/build/library/components/logos/WestColouredLogo/logo.d.ts +0 -4
- package/build/library/components/logos/WestColouredLogo/logo.types.d.ts +0 -2
- package/build/library/components/logos/WestWhiteLogo/logo.d.ts +0 -4
- package/build/library/components/logos/WestWhiteLogo/logo.types.d.ts +0 -2
- package/build/library/contexts/DirectoryShortListProvider/DirectoryShortListProvider.d.ts +0 -4
- package/build/library/contexts/DirectoryShortListProvider/DirectoryShortListProvider.types.d.ts +0 -54
- package/build/library/contexts/PostCodeAddressProvider/PostCodeAddressProvider.d.ts +0 -6
- package/build/library/contexts/PostCodeAddressProvider/PostCodeAddressProvider.types.d.ts +0 -18
- package/build/library/directory/DirectoryAddToShortList/DirectoryAddToShortList.d.ts +0 -4
- package/build/library/directory/DirectoryAddToShortList/DirectoryAddToShortList.types.d.ts +0 -35
- package/build/library/directory/DirectoryDocumentList/DirectoryDocumentList.d.ts +0 -4
- package/build/library/directory/DirectoryDocumentList/DirectoryDocumentList.storydata.d.ts +0 -4
- package/build/library/directory/DirectoryDocumentList/DirectoryDocumentList.types.d.ts +0 -67
- package/build/library/directory/DirectoryMap/DirectoryMap.d.ts +0 -4
- package/build/library/directory/DirectoryMap/DirectoryMap.types.d.ts +0 -11
- package/build/library/directory/DirectoryService/DirectoryService.d.ts +0 -4
- package/build/library/directory/DirectoryService/DirectoryService.storydata.d.ts +0 -4
- package/build/library/directory/DirectoryService/DirectoryService.types.d.ts +0 -278
- package/build/library/directory/DirectoryService/DirectoryServiceTransform.d.ts +0 -8
- package/build/library/directory/DirectoryServiceList/DirectoryServiceList.d.ts +0 -4
- package/build/library/directory/DirectoryServiceList/DirectoryServiceList.storydata.d.ts +0 -6
- package/build/library/directory/DirectoryServiceList/DirectoryServiceList.types.d.ts +0 -140
- package/build/library/directory/DirectoryShortList/DirectoryShortList.d.ts +0 -4
- package/build/library/directory/DirectoryShortList/DirectoryShortList.types.d.ts +0 -6
- package/build/library/directory/ServiceContact/ServiceContact.d.ts +0 -4
- package/build/library/directory/ServiceContact/ServiceContact.types.d.ts +0 -42
- package/build/library/directory/ServiceSocialLinks/ServiceSocialLinks.d.ts +0 -4
- package/build/library/directory/ServiceSocialLinks/ServiceSocialLinks.storydata.d.ts +0 -2
- package/build/library/directory/ServiceSocialLinks/ServiceSocialLinks.types.d.ts +0 -24
- package/build/library/helpers/UseLocalStorage.d.ts +0 -2
- package/build/library/helpers/api-helpers.d.ts +0 -120
- package/build/library/pages/ContentPage/ContentPage.d.ts +0 -4
- package/build/library/pages/ContentPage/ContentPage.storydata.d.ts +0 -10
- package/build/library/pages/CouncilTaxPageExample/CouncilTaxPageExample.d.ts +0 -5
- package/build/library/pages/CouncilTaxParishPageExample/CouncilTaxParishPageExample.d.ts +0 -5
- package/build/library/pages/DirectoryServicePage/DirectoryServicePage.d.ts +0 -2
- package/build/library/pages/ErrorPage/ErrorPage.d.ts +0 -6
- package/build/library/pages/Home/HomePage.d.ts +0 -8
- package/build/library/pages/Home/HomePage.types.d.ts +0 -60
- package/build/library/pages/MemorialPage/MemorialPage.d.ts +0 -8
- package/build/library/pages/MemorialPage/MemorialPage.types.d.ts +0 -59
- package/build/library/pages/News/News.d.ts +0 -5
- package/build/library/pages/NewsArticle/NewsArticle.d.ts +0 -7
- package/build/library/pages/SearchResultsPageExample/SearchResultsPageExample.d.ts +0 -29
- package/build/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.d.ts +0 -3
- package/build/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.storydata.d.ts +0 -30
- package/build/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.types.d.ts +0 -52
- package/build/library/pages/ServicePageExample/ServicePageExample.d.ts +0 -7
- package/build/library/pages/SignpostPageExample/SignpostPageExample.d.ts +0 -7
- package/build/library/pages/Templates/Templates.d.ts +0 -8
- package/build/library/slices/Accordion/Accordion.d.ts +0 -4
- package/build/library/slices/Accordion/Accordion.types.d.ts +0 -53
- package/build/library/slices/Accordion/AccordionSection.d.ts +0 -4
- package/build/library/slices/BlockQuote/BlockQuote.d.ts +0 -4
- package/build/library/slices/BlockQuote/BlockQuote.types.d.ts +0 -11
- package/build/library/slices/CallToAction/CallToAction.d.ts +0 -7
- package/build/library/slices/Cards/Cards.d.ts +0 -7
- package/build/library/slices/Cards/Cards.types.d.ts +0 -7
- package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.d.ts +0 -7
- package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.storydata.d.ts +0 -4
- package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.types.d.ts +0 -81
- package/build/library/slices/Divider/Divider.d.ts +0 -4
- package/build/library/slices/Divider/Divider.types.d.ts +0 -2
- package/build/library/slices/DownloadableFiles/DownloadableFiles.d.ts +0 -4
- package/build/library/slices/DownloadableFiles/DownloadableFiles.types.d.ts +0 -7
- package/build/library/slices/GoogleMap/GoogleMap.d.ts +0 -7
- package/build/library/slices/GoogleMap/GoogleMap.storydata.d.ts +0 -44
- package/build/library/slices/GoogleMap/GoogleMap.types.d.ts +0 -28
- package/build/library/slices/Image/Image.d.ts +0 -8
- package/build/library/slices/Image/Image.storydata.d.ts +0 -2
- package/build/library/slices/Image/Image.types.d.ts +0 -26
- package/build/library/slices/ImageAndText/ImageAndText.d.ts +0 -7
- package/build/library/slices/ImageAndText/ImageAndText.storydata.d.ts +0 -2
- package/build/library/slices/ImageAndText/ImageAndText.types.d.ts +0 -15
- package/build/library/slices/InquestSchedule/InquestSchedule.d.ts +0 -7
- package/build/library/slices/InquestSchedule/InquestSchedule.storydata.d.ts +0 -2
- package/build/library/slices/InquestSchedule/InquestSchedule.types.d.ts +0 -24
- package/build/library/slices/Promotions/Promotions.d.ts +0 -7
- package/build/library/slices/SearchBox/SearchBox.d.ts +0 -4
- package/build/library/slices/SearchBox/SearchBox.storydata.d.ts +0 -2
- package/build/library/slices/SearchBox/SearchBox.types.d.ts +0 -41
- package/build/library/slices/Video/Video.d.ts +0 -7
- package/build/library/slices/Video/Video.types.d.ts +0 -22
- package/build/library/slices/WarningText/WarningText.d.ts +0 -7
- package/build/library/slices/WarningText/WarningText.types.d.ts +0 -15
- package/build/library/slices/WarningTextDisclaimer/WarningTextDisclaimer.d.ts +0 -4
- package/build/library/slices/WarningTextDisclaimer/WarningTextDisclaimer.types.d.ts +0 -2
- package/build/library/structure/AccessibleLinks/AccessibleLinks.d.ts +0 -4
- package/build/library/structure/AccessibleLinks/AccessibleLinks.types.d.ts +0 -20
- package/build/library/structure/AlertBanner/AlertBanner.d.ts +0 -7
- package/build/library/structure/AlertBanner/AlertBanner.types.d.ts +0 -19
- package/build/library/structure/AlertBannerService/AlertBannerService.d.ts +0 -8
- package/build/library/structure/AlertBannerService/AlertBannerService.types.d.ts +0 -19
- package/build/library/structure/BackLink/BackLink.d.ts +0 -7
- package/build/library/structure/BackLink/BackLink.types.d.ts +0 -10
- package/build/library/structure/Breadcrumbs/Breadcrumbs.d.ts +0 -4
- package/build/library/structure/Breadcrumbs/Breadcrumbs.types.d.ts +0 -20
- package/build/library/structure/Contents/Contents.d.ts +0 -4
- package/build/library/structure/Contents/Contents.storydata.d.ts +0 -2
- package/build/library/structure/Contents/Contents.types.d.ts +0 -24
- package/build/library/structure/ContentsNavigation/ContentsNavigation.d.ts +0 -4
- package/build/library/structure/CookieBanner/CookieBanner.d.ts +0 -6
- package/build/library/structure/CookieBanner/CookieBanner.types.d.ts +0 -31
- package/build/library/structure/CookieBanner/CookieClear.d.ts +0 -5
- package/build/library/structure/DisplayDate/DisplayDate.d.ts +0 -7
- package/build/library/structure/DisplayDate/DisplayDate.types.d.ts +0 -18
- package/build/library/structure/Footer/Footer.d.ts +0 -4
- package/build/library/structure/Footer/Footer.types.d.ts +0 -24
- package/build/library/structure/FullWidthContainer/FullWidthContainer.d.ts +0 -7
- package/build/library/structure/FullWidthContainer/FullWidthContainer.types.d.ts +0 -15
- package/build/library/structure/Header/Header.d.ts +0 -7
- package/build/library/structure/Header/Header.types.d.ts +0 -31
- package/build/library/structure/HeroImage/HeroImage.d.ts +0 -8
- package/build/library/structure/HeroImage/HeroImage.storydata.d.ts +0 -6
- package/build/library/structure/HeroImage/HeroImage.types.d.ts +0 -48
- package/build/library/structure/HomeHero/HomeHero.d.ts +0 -7
- package/build/library/structure/HomeHero/HomeHero.storydata.d.ts +0 -14
- package/build/library/structure/HomeHero/HomeHero.types.d.ts +0 -54
- package/build/library/structure/MaxWidthContainer/MaxWidthContainer.d.ts +0 -7
- package/build/library/structure/MaxWidthContainer/MaxWidthContainer.types.d.ts +0 -23
- package/build/library/structure/MemorialHero/MemorialHero.d.ts +0 -4
- package/build/library/structure/MemorialHero/MemorialHero.types.d.ts +0 -27
- package/build/library/structure/NewsArticleDate/NewsArticleDate.d.ts +0 -7
- package/build/library/structure/NewsArticleDate/NewsArticleDate.types.d.ts +0 -10
- package/build/library/structure/NewsArticleFeaturedBlock/NewsArticleFeaturedBlock.d.ts +0 -7
- package/build/library/structure/NewsArticleFeaturedBlock/NewsArticleFeaturedBlock.types.d.ts +0 -23
- package/build/library/structure/NewsArticleFilterAccordion/NewsArticleFilterAccordion.d.ts +0 -4
- package/build/library/structure/NewsArticleFilterAccordion/NewsArticleFilterAccordion.types.d.ts +0 -7
- package/build/library/structure/NewsArticleImage/NewsArticleImage.d.ts +0 -7
- package/build/library/structure/NewsArticleImage/NewsArticleImage.types.d.ts +0 -18
- package/build/library/structure/NewsArticleList/NewsArticleData.d.ts +0 -7
- package/build/library/structure/NewsArticleList/NewsArticleList.d.ts +0 -4
- package/build/library/structure/NewsArticleList/NewsArticleList.types.d.ts +0 -28
- package/build/library/structure/NewsArticleListHeader/NewsArticleListHeader.d.ts +0 -4
- package/build/library/structure/NewsArticleListHeader/NewsArticleListHeader.types.d.ts +0 -6
- package/build/library/structure/NewsArticleOldBanner/NewsArticleOldBanner.d.ts +0 -7
- package/build/library/structure/NewsArticleOldBanner/NewsArticleOldBanner.types.d.ts +0 -2
- package/build/library/structure/PageMain/PageMain.d.ts +0 -7
- package/build/library/structure/PageMain/PageMain.types.d.ts +0 -15
- package/build/library/structure/PageSidebar/PageSidebar.d.ts +0 -7
- package/build/library/structure/PageSidebar/PageSidebar.types.d.ts +0 -7
- package/build/library/structure/PageStructures.d.ts +0 -42
- package/build/library/structure/PageTitle/PageTitle.d.ts +0 -7
- package/build/library/structure/PageTitle/PageTitle.types.d.ts +0 -11
- package/build/library/structure/PageWithSidebarContainer/PageWithSidebarContainer.d.ts +0 -7
- package/build/library/structure/PageWithSidebarContainer/PageWithSidebarContainer.types.d.ts +0 -11
- package/build/library/structure/PageWrapper/PageWrapper.d.ts +0 -4
- package/build/library/structure/PageWrapper/PageWrapper.types.d.ts +0 -11
- package/build/library/structure/PhaseBanner/PhaseBanner.d.ts +0 -4
- package/build/library/structure/PhaseBanner/PhaseBanner.types.d.ts +0 -3
- package/build/library/structure/PromoBanner/PromoBanner.d.ts +0 -8
- package/build/library/structure/PromoBanner/PromoBanner.storydata.d.ts +0 -10
- package/build/library/structure/PromoBanner/PromoBanner.types.d.ts +0 -27
- package/build/library/structure/PromoBlock/PromoBlock.d.ts +0 -8
- package/build/library/structure/PromoBlock/PromoBlock.storydata.d.ts +0 -5
- package/build/library/structure/PromoBlock/PromoBlock.types.d.ts +0 -36
- package/build/library/structure/SearchHeader/SearchHeader.d.ts +0 -4
- package/build/library/structure/SearchHeader/SearchHeader.types.d.ts +0 -2
- package/build/library/structure/SearchResultsList/SearchResultsList.d.ts +0 -4
- package/build/library/structure/SearchResultsList/SearchResultsList.types.d.ts +0 -45
- package/build/library/structure/Searchbar/Searchbar.d.ts +0 -4
- package/build/library/structure/Searchbar/Searchbar.types.d.ts +0 -48
- package/build/library/structure/SectionLinks/SectionLinks.d.ts +0 -7
- package/build/library/structure/SectionLinks/SectionLinks.storydata.d.ts +0 -2
- package/build/library/structure/SectionLinks/SectionLinks.types.d.ts +0 -52
- package/build/library/structure/SectionLinksMobileContents/SectionLinksMobileContents.d.ts +0 -4
- package/build/library/structure/SectionLinksMobileContents/SectionLinksMobileContents.types.d.ts +0 -16
- package/build/library/structure/SectionLinksSidebar/SectionLinksSidebar.d.ts +0 -4
- package/build/library/structure/SectionLinksSidebar/SectionLinksSidebar.types.d.ts +0 -34
- package/build/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.d.ts +0 -4
- package/build/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.storydata.d.ts +0 -9
- package/build/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.types.d.ts +0 -53
- package/build/library/structure/ServicesLinksList/ServicesLinksList.d.ts +0 -4
- package/build/library/structure/ServicesLinksList/ServicesLinksList.types.d.ts +0 -68
- package/build/library/structure/SignpostLinks/SignpostLinks.d.ts +0 -4
- package/build/library/structure/SignpostLinks/SignpostLinks.types.d.ts +0 -32
- package/build/library/structure/SkipToMainContent/SkipToMainContent.d.ts +0 -4
- package/build/library/structure/SkipToMainContent/SkipToMainContent.types.d.ts +0 -2
- package/build/library/structure/Summary/Summary.d.ts +0 -4
- package/build/library/structure/Summary/Summary.types.d.ts +0 -15
package/build/index.js
CHANGED
|
@@ -315,6 +315,22 @@ const AutocompleteSuggestionTextMatch = styled__default.default.span`
|
|
|
315
315
|
font-weight: bold;
|
|
316
316
|
`;
|
|
317
317
|
|
|
318
|
+
const LightErrorText = styled__default.default.p`
|
|
319
|
+
${(props) => props.theme.fontStyles}
|
|
320
|
+
color: ${(props) => props.theme.theme_vars.colours.white};
|
|
321
|
+
font-weight: bold;
|
|
322
|
+
margin-bottom: 5px;
|
|
323
|
+
font-size: 14px;
|
|
324
|
+
font-size: 0.8rem;
|
|
325
|
+
line-height: 1.1;
|
|
326
|
+
|
|
327
|
+
@media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.m}) {
|
|
328
|
+
font-size: 18px;
|
|
329
|
+
font-size: 1rem;
|
|
330
|
+
line-height: 1.25;
|
|
331
|
+
}
|
|
332
|
+
`;
|
|
333
|
+
|
|
318
334
|
var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
|
|
319
335
|
|
|
320
336
|
function getDefaultExportFromCjs (x) {
|
|
@@ -3748,12 +3764,12 @@ process.env.NODE_ENV !== "production" ? '__function_reset__' : 12;
|
|
|
3748
3764
|
* click on to select. If viewing in Storybook, try typing the name of a fruit in the story examples.
|
|
3749
3765
|
*/
|
|
3750
3766
|
var Autocomplete = function (_a) {
|
|
3751
|
-
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;
|
|
3767
|
+
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;
|
|
3752
3768
|
/**
|
|
3753
3769
|
* We save the input value in state or we can't cope with leaving the input
|
|
3754
3770
|
* without selecting a matching suggestion.
|
|
3755
3771
|
*/
|
|
3756
|
-
var
|
|
3772
|
+
var _p = React.useState(value), inputvalue = _p[0], setInputValue = _p[1];
|
|
3757
3773
|
/**
|
|
3758
3774
|
* For component state changes that affect the input value, we copy the
|
|
3759
3775
|
* value into our saved state, and fire the onSelect handler if the change
|
|
@@ -3827,7 +3843,7 @@ var Autocomplete = function (_a) {
|
|
|
3827
3843
|
var getInputProps = _a.getInputProps, getItemProps = _a.getItemProps, getLabelProps = _a.getLabelProps, getMenuProps = _a.getMenuProps, isOpen = _a.isOpen, inputValue = _a.inputValue, getRootProps = _a.getRootProps;
|
|
3828
3844
|
return (React__default.default.createElement("div", null,
|
|
3829
3845
|
React__default.default.createElement(AutocompleteLabel, __assign$2({}, getLabelProps(), { "$hasHiddenLabel": hasHiddenLabel }), labelText ? labelText : placeholder),
|
|
3830
|
-
isErrored && errorText ? React__default.default.createElement(ErrorText$1, null, errorText) :
|
|
3846
|
+
isErrored && errorText && (React__default.default.createElement(React__default.default.Fragment, null, hasLightBackground ? (React__default.default.createElement(ErrorText$1, null, errorText)) : (React__default.default.createElement(LightErrorText, null, errorText)))),
|
|
3831
3847
|
React__default.default.createElement("div", __assign$2({}, getRootProps(undefined, { suppressRefError: true })),
|
|
3832
3848
|
React__default.default.createElement(AutocompleteTextInput, __assign$2({}, getInputProps({
|
|
3833
3849
|
name: name,
|
|
@@ -3838,7 +3854,7 @@ var Autocomplete = function (_a) {
|
|
|
3838
3854
|
$isLarge: isLarge,
|
|
3839
3855
|
$hasAdjacentButton: hasAdjacentButton,
|
|
3840
3856
|
size: size,
|
|
3841
|
-
})))),
|
|
3857
|
+
}), { "aria-required": required ? 'true' : 'false', "aria-invalid": isErrored ? 'true' : 'false' }))),
|
|
3842
3858
|
// can't rely just on isOpen or we can end up displaying an empty suggestions list
|
|
3843
3859
|
isOpen && filteredsuggestions.length > 0 ? (React__default.default.createElement(AutocompleteSuggestionList, __assign$2({}, getMenuProps({
|
|
3844
3860
|
'aria-labelledby': null,
|
|
@@ -23661,10 +23677,10 @@ const Container$H = styled__default.default.div`
|
|
|
23661
23677
|
@media screen and (min-width: ${(props) => props.theme.theme_vars.breakpoints.m}) {
|
|
23662
23678
|
background: url('${(props) => props.$image}') no-repeat center center;
|
|
23663
23679
|
background-size: cover;
|
|
23664
|
-
padding-top: ${(props) => (props
|
|
23665
|
-
padding-bottom: ${(props) => (props
|
|
23666
|
-
padding-left: ${(props) => (props
|
|
23667
|
-
padding-right: ${(props) => (props
|
|
23680
|
+
padding-top: ${(props) => (props.$image ? '8rem' : 0)};
|
|
23681
|
+
padding-bottom: ${(props) => (props.$image ? '8rem' : 0)};
|
|
23682
|
+
padding-left: ${(props) => (props.$image ? props.theme.theme_vars.spacingSizes.x_large : 0)};
|
|
23683
|
+
padding-right: ${(props) => (props.$image ? props.theme.theme_vars.spacingSizes.x_large : 0)};
|
|
23668
23684
|
}
|
|
23669
23685
|
|
|
23670
23686
|
h2 {
|
|
@@ -24391,7 +24407,7 @@ const BreadcrumbLink$1 = styled__default.default.a`
|
|
|
24391
24407
|
var Breadcrumbs = function (_a) {
|
|
24392
24408
|
var breadcrumbsArray = _a.breadcrumbsArray, _b = _a.hasMargin, hasMargin = _b === void 0 ? false : _b;
|
|
24393
24409
|
return (React__default.default.createElement(Container$C, { "$hasMargin": hasMargin, "data-testid": "Breadcrumbs" },
|
|
24394
|
-
React__default.default.createElement(List$2,
|
|
24410
|
+
React__default.default.createElement(List$2, { as: breadcrumbsArray.length === 1 ? 'div' : 'ol' }, breadcrumbsArray.map(function (crumb) { return (React__default.default.createElement(Crumb, { key: crumb.title, as: breadcrumbsArray.length === 1 ? 'span' : 'li' }, React__default.default.createElement(React__default.default.Fragment, null,
|
|
24395
24411
|
React__default.default.createElement(BreadcrumbLink$1, { href: crumb.url, title: crumb.title }, crumb.title),
|
|
24396
24412
|
React__default.default.createElement(IconWrapper$4, null,
|
|
24397
24413
|
React__default.default.createElement(ChevronIcon, { direction: 'right', colourFill: "#C6C6C6" }))))); }))));
|
|
@@ -25002,6 +25018,7 @@ const Button$3 = styled__default.default.button`
|
|
|
25002
25018
|
right: ${(props) => (props.$isLarge ? '-5rem' : '-3rem')};
|
|
25003
25019
|
cursor: pointer;
|
|
25004
25020
|
margin: 0;
|
|
25021
|
+
margin-top: ${(props) => (props.$isErrored ? '25px' : 0)};
|
|
25005
25022
|
padding: ${(props) => props.theme.theme_vars.spacingSizes.small};
|
|
25006
25023
|
background: ${(props) =>
|
|
25007
25024
|
props.$isLight ? props.theme.theme_vars.colours.action : props.theme.theme_vars.colours.grey_darkest};
|
|
@@ -25009,6 +25026,7 @@ const Button$3 = styled__default.default.button`
|
|
|
25009
25026
|
border: 1px solid transparent;
|
|
25010
25027
|
border-top-right-radius: calc(${(props) => props.theme.theme_vars.border_radius} * 2);
|
|
25011
25028
|
border-bottom-right-radius: calc(${(props) => props.theme.theme_vars.border_radius} * 2);
|
|
25029
|
+
|
|
25012
25030
|
width: ${(props) => (props.$isLarge ? '5rem' : '3rem')};
|
|
25013
25031
|
text-align: center;
|
|
25014
25032
|
height: ${(props) => (props.$isLarge ? '2.9rem' : '2.28rem')};
|
|
@@ -25123,8 +25141,8 @@ var Searchbar = function (_a) {
|
|
|
25123
25141
|
React__default.default.createElement("form", { onSubmit: handleSubmit },
|
|
25124
25142
|
React__default.default.createElement("div", { role: "search" },
|
|
25125
25143
|
React__default.default.createElement(InputWrapper, null,
|
|
25126
|
-
React__default.default.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 }),
|
|
25127
|
-
React__default.default.createElement(Button$3, { type: "submit", value: "Search", "$isLarge": isLarge, "$isLight": isLight, "data-testid": "SearchButton" },
|
|
25144
|
+
React__default.default.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 }),
|
|
25145
|
+
React__default.default.createElement(Button$3, { type: "submit", value: "Search", "$isLarge": isLarge, "$isLight": isLight, "$isErrored": isErrored, "data-testid": "SearchButton" },
|
|
25128
25146
|
React__default.default.createElement(IconDownload, { colourFill: "#fff" }),
|
|
25129
25147
|
React__default.default.createElement(ButtonText$2, null, "Search")))))));
|
|
25130
25148
|
};
|