@nnc-digital/nnc-design-system 1.0.0-alpha9 → 1.0.0-beta10
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/ThemeVars.types.d.ts +60 -0
- package/build/index.d.ts +43 -42
- package/build/index.js +1068 -399
- package/build/index.js.map +1 -1
- package/build/index.mjs.js +1068 -400
- package/build/index.mjs.js.map +1 -1
- package/build/library/components/AlphabeticalDirectory/AlphabeticalDirectory.d.ts +4 -4
- package/build/library/components/AlphabeticalDirectory/AlphabeticalDirectory.types.d.ts +26 -26
- package/build/library/components/Autocomplete/Autocomplete.d.ts +9 -9
- package/build/library/components/Autocomplete/Autocomplete.storydata.d.ts +47 -47
- package/build/library/components/Autocomplete/Autocomplete.test.d.ts +1 -0
- package/build/library/components/Autocomplete/Autocomplete.types.d.ts +78 -78
- package/build/library/components/BackToTop/BackToTop.d.ts +4 -4
- package/build/library/components/BackToTop/BackToTop.test.d.ts +1 -0
- package/build/library/components/BackToTop/BackToTop.types.d.ts +6 -6
- package/build/library/components/BinCollection/BinCollection.d.ts +7 -7
- package/build/library/components/BinCollection/BinCollection.styles.d.ts +2937 -15
- package/build/library/components/BinCollection/BinCollection.test.d.ts +1 -0
- package/build/library/components/BinCollection/BinCollection.testdata.d.ts +34 -34
- package/build/library/components/BinCollection/BinCollection.types.d.ts +68 -69
- package/build/library/components/Button/Button.d.ts +7 -7
- package/build/library/components/Button/Button.types.d.ts +43 -43
- package/build/library/components/Card/Card.d.ts +7 -7
- package/build/library/components/Card/Card.test.d.ts +1 -0
- package/build/library/components/Card/Card.types.d.ts +36 -36
- package/build/library/components/CheckboxListFilter/CheckboxListFilter.d.ts +4 -4
- package/build/library/components/CheckboxListFilter/CheckboxListFilter.test.d.ts +1 -0
- package/build/library/components/CheckboxListFilter/CheckboxListFilter.types.d.ts +36 -36
- package/build/library/components/Column/Column.d.ts +4 -4
- package/build/library/components/Column/Column.test.d.ts +1 -0
- package/build/library/components/Column/Column.types.d.ts +35 -36
- package/build/library/components/CustomSearch/CustomSearch.d.ts +4 -4
- package/build/library/components/CustomSearch/CustomSearch.storydata.d.ts +2 -2
- package/build/library/components/CustomSearch/CustomSearch.test.d.ts +1 -0
- package/build/library/components/CustomSearch/CustomSearch.types.d.ts +34 -34
- package/build/library/components/DropDownFilter/DropDownFilter.d.ts +4 -4
- package/build/library/components/DropDownFilter/DropDownFilter.types.d.ts +32 -32
- package/build/library/components/DropDownSelect/DropDownSelect.d.ts +4 -4
- package/build/library/components/DropDownSelect/DropDownSelect.types.d.ts +36 -36
- package/build/library/components/DynamicIcon/DynamicIcon.d.ts +7 -7
- package/build/library/components/DynamicIcon/DynamicIcon.test.d.ts +1 -0
- package/build/library/components/DynamicIcon/DynamicIcon.types.d.ts +10 -10
- package/build/library/components/FileDownload/FileDownload.d.ts +7 -7
- package/build/library/components/FileDownload/FileDownload.test.d.ts +1 -0
- package/build/library/components/FileDownload/FileDownload.types.d.ts +22 -22
- package/build/library/components/FormButton/FormButton.d.ts +7 -7
- package/build/library/components/FormButton/FormButton.types.d.ts +26 -27
- package/build/library/components/FormWithLine/FormWithLine.d.ts +7 -7
- package/build/library/components/FormWithLine/FormWithLine.types.d.ts +39 -39
- package/build/library/components/Heading/Heading.d.ts +7 -7
- package/build/library/components/Heading/Heading.types.d.ts +10 -10
- package/build/library/components/HeadingWithIcon/HeadingWithIcon.d.ts +7 -7
- package/build/library/components/HeadingWithIcon/HeadingWithIcon.test.d.ts +1 -0
- package/build/library/components/HeadingWithIcon/HeadingWithIcon.types.d.ts +18 -18
- package/build/library/components/HeadingWithIconLink/HeadingWithIconLink.d.ts +4 -4
- package/build/library/components/HeadingWithIconLink/HeadingWithIconLink.test.d.ts +1 -0
- package/build/library/components/HeadingWithIconLink/HeadingWithIconLink.types.d.ts +14 -14
- package/build/library/components/HintText/HintText.d.ts +7 -7
- package/build/library/components/HintText/HintText.types.d.ts +6 -6
- package/build/library/components/Input/Input.d.ts +8 -8
- package/build/library/components/Input/Input.types.d.ts +52 -45
- package/build/library/components/LoadingSpinner/LoadingSpinner.d.ts +4 -4
- package/build/library/components/LoadingSpinner/LoadingSpinner.types.d.ts +2 -2
- package/build/library/components/Map/Map.d.ts +7 -7
- package/build/library/components/Map/Map.types.d.ts +15 -16
- package/build/library/components/MapMarker/MapMarker.d.ts +6 -7
- package/build/library/components/Pagination/Pagination.d.ts +4 -4
- package/build/library/components/Pagination/Pagination.test.d.ts +1 -0
- package/build/library/components/Pagination/Pagination.types.d.ts +23 -23
- package/build/library/components/PostCodeAddressDropdown/PostCodeAddressDropdown.d.ts +7 -7
- package/build/library/components/PostCodeAddressDropdown/PostCodeAddressDropdown.types.d.ts +2 -2
- package/build/library/components/PostCodeAddressSearch/PostCodeAddressSearch.d.ts +7 -7
- package/build/library/components/PostCodeAddressSearch/PostCodeAddressSearch.types.d.ts +23 -23
- package/build/library/components/PostCodeAddressTable/PostCodeAddressTable.d.ts +4 -4
- package/build/library/components/PostCodeAddressTable/PostCodeAddressTable.types.d.ts +2 -2
- package/build/library/components/PostCodeSearch/PostCodeSearch.d.ts +7 -7
- package/build/library/components/PostCodeSearch/PostCodeSearch.test.d.ts +1 -0
- package/build/library/components/PostCodeSearch/PostCodeSearch.types.d.ts +52 -52
- package/build/library/components/PromotedLinks/PromotedLinks.d.ts +4 -4
- package/build/library/components/PromotedLinks/PromotedLinks.test.d.ts +1 -0
- package/build/library/components/PromotedLinks/PromotedLinks.types.d.ts +20 -20
- package/build/library/components/RadioCheckboxInput/RadioCheckboxInput.d.ts +4 -4
- package/build/library/components/RadioCheckboxInput/RadioCheckboxInput.test.d.ts +1 -0
- package/build/library/components/RadioCheckboxInput/RadioCheckboxInput.types.d.ts +26 -27
- package/build/library/components/RemovableTag/RemovableTag.d.ts +4 -4
- package/build/library/components/RemovableTag/RemovableTag.types.d.ts +8 -8
- package/build/library/components/RemoveAllFilters/RemoveAllFilters.d.ts +4 -4
- package/build/library/components/RemoveAllFilters/RemoveAllFilters.types.d.ts +3 -3
- package/build/library/components/Row/Row.d.ts +4 -4
- package/build/library/components/Row/Row.test.d.ts +1 -0
- package/build/library/components/Row/Row.types.d.ts +20 -20
- package/build/library/components/SignpostLinksList/SignpostLinksList.d.ts +4 -4
- package/build/library/components/SignpostLinksList/SignpostLinksList.types.d.ts +24 -24
- package/build/library/components/SortBy/SortBy.d.ts +4 -4
- package/build/library/components/SortBy/SortBy.types.d.ts +20 -20
- package/build/library/components/StaticMap/StaticMap.d.ts +7 -7
- package/build/library/components/StaticMap/StaticMap.test.d.ts +1 -0
- package/build/library/components/StaticMap/StaticMap.types.d.ts +52 -52
- package/build/library/components/SummaryList/SummaryList.d.ts +4 -4
- package/build/library/components/SummaryList/SummaryList.test.d.ts +1 -0
- package/build/library/components/SummaryList/SummaryList.types.d.ts +29 -21
- package/build/library/components/TextInput/TextInput.d.ts +7 -7
- package/build/library/components/TextInput/TextInput.types.d.ts +38 -38
- package/build/library/components/icons/ChevronIcon/ChevronIcon.d.ts +4 -4
- package/build/library/components/icons/ChevronIcon/ChevronIcon.types.d.ts +10 -10
- package/build/library/components/icons/CloseIcon/CloseIcon.d.ts +4 -4
- package/build/library/components/icons/CloseIcon/CloseIcon.types.d.ts +6 -6
- package/build/library/components/icons/DownloadFileIcon/DownloadFileIcon.d.ts +4 -4
- package/build/library/components/icons/DownloadFileIcon/DownloadFileIcon.types.d.ts +6 -6
- package/build/library/components/icons/EmailIcon/EmailIcon.d.ts +4 -4
- package/build/library/components/icons/EmailIcon/EmailIcon.types.d.ts +6 -6
- package/build/library/components/icons/FacebookIcon/Icon.d.ts +4 -4
- package/build/library/components/icons/HeartIcon/HeartIcon.d.ts +7 -7
- package/build/library/components/icons/HeartIcon/HeartIcon.types.d.ts +6 -6
- package/build/library/components/icons/InstagramIcon/Icon.d.ts +4 -4
- package/build/library/components/icons/LinkIcon/LinkIcon.d.ts +4 -4
- package/build/library/components/icons/LinkIcon/LinkIcon.types.d.ts +6 -6
- package/build/library/components/icons/LinkedInIcon/Icon.d.ts +4 -4
- package/build/library/components/icons/PhoneIcon/PhoneIcon.d.ts +4 -4
- package/build/library/components/icons/PhoneIcon/PhoneIcon.types.d.ts +6 -6
- package/build/library/components/icons/PinIcon/PinIcon.d.ts +7 -7
- package/build/library/components/icons/PinIcon/PinIcon.types.d.ts +6 -6
- package/build/library/components/icons/SearchIcon/SearchIcon.d.ts +4 -4
- package/build/library/components/icons/SearchIcon/SearchIcon.types.d.ts +6 -6
- package/build/library/components/icons/TwitterIcon/Icon.d.ts +4 -4
- package/build/library/components/icons/WebsiteIcon/WebsiteIcon.d.ts +4 -4
- package/build/library/components/icons/WebsiteIcon/WebsiteIcon.types.d.ts +6 -6
- package/build/library/components/icons/YouTubeIcon/Icon.d.ts +4 -4
- package/build/library/components/icons/services/AccessibleParking/Icon.d.ts +4 -4
- package/build/library/components/icons/services/AccessibleParking/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Address/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Address/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/AddressChange/Icon.d.ts +4 -4
- package/build/library/components/icons/services/AddressChange/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Adults/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Adults/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/AssistiveTechnology/Icon.d.ts +4 -4
- package/build/library/components/icons/services/AssistiveTechnology/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Benefits/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Benefits/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/BinDay/Icon.d.ts +4 -4
- package/build/library/components/icons/services/BinDay/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Bins/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Bins/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/BirthCertificate/Icon.d.ts +4 -4
- package/build/library/components/icons/services/BirthCertificate/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Births/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Births/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Bollard/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Bollard/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/BulkWaste/Icon.d.ts +4 -4
- package/build/library/components/icons/services/BulkWaste/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Bus/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Bus/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/BusPass/Icon.d.ts +4 -4
- package/build/library/components/icons/services/BusPass/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Business/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Business/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Careers/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Careers/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Cash/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Cash/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Catalogue/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Catalogue/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Ceremony/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Ceremony/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Charity/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Charity/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Children/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Children/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Computer/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Computer/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/CondolenceBook/Icon.d.ts +4 -4
- package/build/library/components/icons/services/CondolenceBook/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Cooking/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Cooking/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Council/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Council/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/CouncilTax/Icon.d.ts +4 -4
- package/build/library/components/icons/services/CouncilTax/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Covid/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Covid/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Culture/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Culture/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/CultureNorth/Icon.d.ts +4 -4
- package/build/library/components/icons/services/CultureNorth/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/CultureWest/Icon.d.ts +4 -4
- package/build/library/components/icons/services/CultureWest/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/DOLS/Icon.d.ts +4 -4
- package/build/library/components/icons/services/DOLS/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/DeathCertificate/Icon.d.ts +4 -4
- package/build/library/components/icons/services/DeathCertificate/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Democracy/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Democracy/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/DogFouling/Icon.d.ts +4 -4
- package/build/library/components/icons/services/DogFouling/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Ebook/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Ebook/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Edit/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Edit/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Environment/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Environment/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Events/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Events/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Finance/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Finance/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Flower/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Flower/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/FlyTip/Icon.d.ts +4 -4
- package/build/library/components/icons/services/FlyTip/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/FoodWaste/Icon.d.ts +4 -4
- package/build/library/components/icons/services/FoodWaste/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/GiveNotice/Icon.d.ts +4 -4
- package/build/library/components/icons/services/GiveNotice/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/GovUK/Icon.d.ts +4 -4
- package/build/library/components/icons/services/GovUK/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Graffiti/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Graffiti/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Highway/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Highway/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/HouseMoney/Icon.d.ts +4 -4
- package/build/library/components/icons/services/HouseMoney/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Housing/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Housing/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Icon.types.d.ts +6 -6
- package/build/library/components/icons/services/Independence/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Independence/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/KeepingHealthy/Icon.d.ts +4 -4
- package/build/library/components/icons/services/KeepingHealthy/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Libraries/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Libraries/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Litter/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Litter/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/LookingAfterYourself/Icon.d.ts +4 -4
- package/build/library/components/icons/services/LookingAfterYourself/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/MapPin/Icon.d.ts +4 -4
- package/build/library/components/icons/services/MapPin/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Member/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Member/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/MentalHealth/Icon.d.ts +4 -4
- package/build/library/components/icons/services/MentalHealth/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/MissedBin/Icon.d.ts +4 -4
- package/build/library/components/icons/services/MissedBin/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/New/Icon.d.ts +4 -4
- package/build/library/components/icons/services/New/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/OccupationalTherapy/Icon.d.ts +4 -4
- package/build/library/components/icons/services/OccupationalTherapy/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/ParkEvent/Icon.d.ts +4 -4
- package/build/library/components/icons/services/ParkEvent/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Parking/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Parking/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/ParkingTicket/Icon.d.ts +4 -4
- package/build/library/components/icons/services/ParkingTicket/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Pay/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Pay/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/PhonePay/Icon.d.ts +4 -4
- package/build/library/components/icons/services/PhonePay/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Planning/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Planning/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Pothole/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Pothole/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/PreventingFalls/Icon.d.ts +4 -4
- package/build/library/components/icons/services/PreventingFalls/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Protect/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Protect/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/RatePay/Icon.d.ts +4 -4
- package/build/library/components/icons/services/RatePay/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/RegisterBirth/Icon.d.ts +4 -4
- package/build/library/components/icons/services/RegisterBirth/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/RegisterDeath/Icon.d.ts +4 -4
- package/build/library/components/icons/services/RegisterDeath/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Report/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Report/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Restrict/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Restrict/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/RoadWorks/Icon.d.ts +4 -4
- package/build/library/components/icons/services/RoadWorks/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Roads/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Roads/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/RoyalWebsite/Icon.d.ts +4 -4
- package/build/library/components/icons/services/RoyalWebsite/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/SEND/Icon.d.ts +4 -4
- package/build/library/components/icons/services/SEND/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Safety/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Safety/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/SchoolAdmissions/Icon.d.ts +4 -4
- package/build/library/components/icons/services/SchoolAdmissions/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Schools/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Schools/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/ServicesIcons.d.ts +173 -174
- package/build/library/components/icons/services/SinglePerson/Icon.d.ts +4 -4
- package/build/library/components/icons/services/SinglePerson/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Sports/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Sports/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Valuation/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Valuation/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/Venue/Icon.d.ts +4 -4
- package/build/library/components/icons/services/Venue/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/WasteChecklist/Icon.d.ts +4 -4
- package/build/library/components/icons/services/WasteChecklist/IconHover.d.ts +4 -4
- package/build/library/components/icons/services/WasteSorting/Icon.d.ts +4 -4
- package/build/library/components/icons/services/WasteSorting/IconHover.d.ts +4 -4
- package/build/library/components/logos/GDSLogo/logo.d.ts +4 -4
- package/build/library/components/logos/GDSLogo/logo.types.d.ts +2 -2
- package/build/library/components/logos/NorthColouredLogo/logo.d.ts +4 -4
- package/build/library/components/logos/NorthColouredLogo/logo.types.d.ts +2 -2
- package/build/library/components/logos/NorthWhiteLogo/logo.d.ts +4 -4
- package/build/library/components/logos/NorthWhiteLogo/logo.types.d.ts +2 -2
- package/build/library/components/logos/WestColouredLogo/logo.d.ts +4 -4
- package/build/library/components/logos/WestColouredLogo/logo.types.d.ts +2 -2
- package/build/library/components/logos/WestWhiteLogo/logo.d.ts +4 -4
- package/build/library/components/logos/WestWhiteLogo/logo.types.d.ts +2 -2
- package/build/library/contexts/DirectoryShortListProvider/DirectoryShortListProvider.d.ts +4 -4
- package/build/library/contexts/DirectoryShortListProvider/DirectoryShortListProvider.types.d.ts +55 -41
- package/build/library/contexts/PostCodeAddressProvider/PostCodeAddressProvider.d.ts +6 -6
- package/build/library/contexts/PostCodeAddressProvider/PostCodeAddressProvider.types.d.ts +18 -18
- package/build/library/directory/DirectoryAddToShortList/DirectoryAddToShortList.d.ts +4 -4
- package/build/library/directory/DirectoryAddToShortList/DirectoryAddToShortList.test.d.ts +1 -0
- package/build/library/directory/DirectoryAddToShortList/DirectoryAddToShortList.types.d.ts +35 -26
- package/build/library/directory/DirectoryDocumentList/DirectoryDocumentList.d.ts +4 -4
- package/build/library/directory/DirectoryDocumentList/DirectoryDocumentList.storydata.d.ts +4 -4
- package/build/library/directory/DirectoryDocumentList/DirectoryDocumentList.test.d.ts +1 -0
- package/build/library/directory/DirectoryDocumentList/DirectoryDocumentList.types.d.ts +67 -63
- package/build/library/directory/DirectoryMap/DirectoryMap.d.ts +4 -4
- package/build/library/directory/DirectoryMap/DirectoryMap.types.d.ts +11 -11
- package/build/library/directory/DirectoryService/DirectoryService.d.ts +4 -4
- package/build/library/directory/DirectoryService/DirectoryService.storydata.d.ts +5 -4
- package/build/library/directory/DirectoryService/DirectoryService.test.d.ts +1 -0
- package/build/library/directory/DirectoryService/DirectoryService.types.d.ts +282 -278
- package/build/library/directory/DirectoryService/DirectoryServiceTransform.d.ts +8 -8
- package/build/library/directory/DirectoryService/DirectoryServiceTransform.test.d.ts +1 -0
- package/build/library/directory/DirectoryServiceList/DirectoryServiceList.d.ts +4 -4
- package/build/library/directory/DirectoryServiceList/DirectoryServiceList.storydata.d.ts +6 -6
- package/build/library/directory/DirectoryServiceList/DirectoryServiceList.test.d.ts +1 -0
- package/build/library/directory/DirectoryServiceList/DirectoryServiceList.types.d.ts +148 -136
- package/build/library/directory/DirectoryShortList/DirectoryShortList.d.ts +4 -4
- package/build/library/directory/DirectoryShortList/DirectoryShortList.test.d.ts +1 -0
- package/build/library/directory/DirectoryShortList/DirectoryShortList.types.d.ts +6 -6
- package/build/library/directory/ServiceContact/ServiceContact.d.ts +4 -4
- package/build/library/directory/ServiceContact/ServiceContact.test.d.ts +1 -0
- package/build/library/directory/ServiceContact/ServiceContact.types.d.ts +46 -42
- package/build/library/directory/ServiceSocialLinks/ServiceSocialLinks.d.ts +4 -4
- package/build/library/directory/ServiceSocialLinks/ServiceSocialLinks.storydata.d.ts +2 -2
- package/build/library/directory/ServiceSocialLinks/ServiceSocialLinks.test.d.ts +1 -0
- package/build/library/directory/ServiceSocialLinks/ServiceSocialLinks.types.d.ts +24 -24
- package/build/library/events/Event/Event.d.ts +4 -0
- package/build/library/events/Event/Event.storydata.d.ts +4 -0
- package/build/library/events/Event/Event.types.d.ts +206 -0
- package/build/library/events/Event/index.d.ts +3 -0
- package/build/library/events/EventList/EventList.d.ts +4 -0
- package/build/library/events/EventList/EventList.storydata.d.ts +3 -0
- package/build/library/events/EventList/EventList.types.d.ts +152 -0
- package/build/library/events/EventList/index.d.ts +3 -0
- package/build/library/events/index.d.ts +5 -0
- package/build/library/events/utils/EventFilters.d.ts +57 -0
- package/build/library/events/utils/index.d.ts +1 -0
- package/build/library/helpers/UseLocalStorage.d.ts +2 -2
- package/build/library/helpers/api-helpers.d.ts +120 -120
- package/build/library/pages/ContentPage/ContentPage.d.ts +4 -4
- package/build/library/pages/ContentPage/ContentPage.storydata.d.ts +10 -10
- package/build/library/pages/CouncilTaxPageExample/CouncilTaxPageExample.d.ts +5 -5
- package/build/library/pages/CouncilTaxParishPageExample/CouncilTaxParishPageExample.d.ts +5 -5
- package/build/library/pages/DirectoryServicePage/DirectoryServicePage.d.ts +2 -2
- package/build/library/pages/ErrorPage/ErrorPage.d.ts +6 -6
- package/build/library/pages/EventPage/EventPage.d.ts +13 -0
- package/build/library/pages/EventPage/index.d.ts +1 -0
- package/build/library/pages/Home/HomePage.d.ts +8 -8
- package/build/library/pages/Home/HomePage.types.d.ts +60 -60
- package/build/library/pages/MemorialPage/MemorialPage.d.ts +8 -8
- package/build/library/pages/MemorialPage/MemorialPage.types.d.ts +59 -59
- package/build/library/pages/News/News.d.ts +5 -5
- package/build/library/pages/NewsArticle/NewsArticle.d.ts +7 -7
- package/build/library/pages/SearchResultsPageExample/SearchResultsPageExample.d.ts +29 -29
- package/build/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.d.ts +3 -3
- package/build/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.storydata.d.ts +30 -30
- package/build/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.types.d.ts +52 -52
- package/build/library/pages/ServicePageExample/ServicePageExample.d.ts +7 -7
- package/build/library/pages/SignpostPageExample/SignpostPageExample.d.ts +7 -7
- package/build/library/pages/Templates/Templates.d.ts +8 -8
- package/build/library/slices/Accordion/Accordion.d.ts +4 -4
- package/build/library/slices/Accordion/Accordion.test.d.ts +1 -0
- package/build/library/slices/Accordion/Accordion.types.d.ts +52 -53
- package/build/library/slices/Accordion/AccordionSection.d.ts +4 -4
- package/build/library/slices/BlockQuote/BlockQuote.d.ts +4 -4
- package/build/library/slices/BlockQuote/BlockQuote.types.d.ts +10 -11
- package/build/library/slices/CallToAction/CallToAction.d.ts +7 -7
- package/build/library/slices/Cards/Cards.d.ts +7 -7
- package/build/library/slices/Cards/Cards.test.d.ts +1 -0
- package/build/library/slices/Cards/Cards.types.d.ts +7 -7
- package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.d.ts +7 -7
- package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.storydata.d.ts +4 -4
- package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.test.d.ts +1 -0
- package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.types.d.ts +81 -81
- package/build/library/slices/Divider/Divider.d.ts +4 -4
- package/build/library/slices/Divider/Divider.types.d.ts +2 -2
- package/build/library/slices/DownloadableFiles/DownloadableFiles.d.ts +4 -4
- package/build/library/slices/DownloadableFiles/DownloadableFiles.types.d.ts +7 -7
- package/build/library/slices/GoogleMap/GoogleMap.d.ts +7 -7
- package/build/library/slices/GoogleMap/GoogleMap.storydata.d.ts +44 -44
- package/build/library/slices/GoogleMap/GoogleMap.test.d.ts +1 -0
- package/build/library/slices/GoogleMap/GoogleMap.types.d.ts +28 -28
- package/build/library/slices/Image/Image.d.ts +8 -8
- package/build/library/slices/Image/Image.storydata.d.ts +2 -2
- package/build/library/slices/Image/Image.test.d.ts +1 -0
- package/build/library/slices/Image/Image.types.d.ts +26 -26
- package/build/library/slices/ImageAndText/ImageAndText.d.ts +7 -7
- package/build/library/slices/ImageAndText/ImageAndText.storydata.d.ts +2 -2
- package/build/library/slices/ImageAndText/ImageAndText.test.d.ts +1 -0
- package/build/library/slices/ImageAndText/ImageAndText.types.d.ts +15 -15
- package/build/library/slices/InquestSchedule/InquestSchedule.d.ts +7 -7
- package/build/library/slices/InquestSchedule/InquestSchedule.storydata.d.ts +3 -2
- package/build/library/slices/InquestSchedule/InquestSchedule.test.d.ts +1 -0
- package/build/library/slices/InquestSchedule/InquestSchedule.types.d.ts +32 -24
- package/build/library/slices/Promotions/Promotions.d.ts +7 -7
- package/build/library/slices/RoadworksList/RoadworksList.d.ts +7 -0
- package/build/library/slices/RoadworksList/RoadworksList.storydata.d.ts +4 -0
- package/build/library/slices/RoadworksList/RoadworksList.test.d.ts +1 -0
- package/build/library/slices/RoadworksList/RoadworksList.types.d.ts +52 -0
- package/build/library/slices/SearchBox/SearchBox.d.ts +4 -4
- package/build/library/slices/SearchBox/SearchBox.storydata.d.ts +2 -2
- package/build/library/slices/SearchBox/SearchBox.test.d.ts +1 -0
- package/build/library/slices/SearchBox/SearchBox.types.d.ts +41 -41
- package/build/library/slices/Video/Video.d.ts +7 -7
- package/build/library/slices/Video/Video.test.d.ts +1 -0
- package/build/library/slices/Video/Video.types.d.ts +22 -22
- package/build/library/slices/WarningText/WarningText.d.ts +7 -7
- package/build/library/slices/WarningText/WarningText.test.d.ts +1 -0
- package/build/library/slices/WarningText/WarningText.types.d.ts +14 -15
- package/build/library/slices/WarningTextDisclaimer/WarningTextDisclaimer.d.ts +4 -4
- package/build/library/slices/WarningTextDisclaimer/WarningTextDisclaimer.types.d.ts +2 -2
- package/build/library/structure/AccessibleLinks/AccessibleLinks.d.ts +4 -4
- package/build/library/structure/AccessibleLinks/AccessibleLinks.types.d.ts +22 -22
- package/build/library/structure/AlertBanner/AlertBanner.d.ts +7 -7
- package/build/library/structure/AlertBanner/AlertBanner.test.d.ts +1 -0
- package/build/library/structure/AlertBanner/AlertBanner.types.d.ts +18 -19
- package/build/library/structure/AlertBannerService/AlertBannerService.d.ts +8 -8
- package/build/library/structure/AlertBannerService/AlertBannerService.test.d.ts +1 -0
- package/build/library/structure/AlertBannerService/AlertBannerService.types.d.ts +18 -19
- package/build/library/structure/BackLink/BackLink.d.ts +7 -7
- package/build/library/structure/BackLink/BackLink.test.d.ts +1 -0
- package/build/library/structure/BackLink/BackLink.types.d.ts +10 -10
- package/build/library/structure/Breadcrumbs/Breadcrumbs.d.ts +4 -4
- package/build/library/structure/Breadcrumbs/Breadcrumbs.test.d.ts +1 -0
- package/build/library/structure/Breadcrumbs/Breadcrumbs.types.d.ts +20 -20
- package/build/library/structure/Contents/Contents.d.ts +4 -4
- package/build/library/structure/Contents/Contents.storydata.d.ts +2 -2
- package/build/library/structure/Contents/Contents.test.d.ts +1 -0
- package/build/library/structure/Contents/Contents.types.d.ts +24 -24
- package/build/library/structure/ContentsNavigation/ContentsNavigation.d.ts +4 -4
- package/build/library/structure/ContentsNavigation/ContentsNavigation.test.d.ts +1 -0
- package/build/library/structure/CookieBanner/CookieBanner.d.ts +6 -6
- package/build/library/structure/CookieBanner/CookieBanner.types.d.ts +30 -31
- package/build/library/structure/CookieBanner/CookieClear.d.ts +5 -5
- package/build/library/structure/DisplayDate/DisplayDate.d.ts +7 -7
- package/build/library/structure/DisplayDate/DisplayDate.types.d.ts +18 -18
- package/build/library/structure/Footer/Footer.d.ts +4 -4
- package/build/library/structure/Footer/Footer.test.d.ts +1 -0
- package/build/library/structure/Footer/Footer.types.d.ts +24 -24
- package/build/library/structure/FullWidthContainer/FullWidthContainer.d.ts +7 -7
- package/build/library/structure/FullWidthContainer/FullWidthContainer.test.d.ts +1 -0
- package/build/library/structure/FullWidthContainer/FullWidthContainer.types.d.ts +15 -15
- package/build/library/structure/Header/Header.d.ts +7 -7
- package/build/library/structure/Header/Header.test.d.ts +1 -0
- package/build/library/structure/Header/Header.types.d.ts +30 -31
- package/build/library/structure/HeroImage/HeroImage.d.ts +8 -8
- package/build/library/structure/HeroImage/HeroImage.storydata.d.ts +6 -6
- package/build/library/structure/HeroImage/HeroImage.test.d.ts +1 -0
- package/build/library/structure/HeroImage/HeroImage.types.d.ts +52 -48
- package/build/library/structure/HomeHero/HomeHero.d.ts +7 -7
- package/build/library/structure/HomeHero/HomeHero.storydata.d.ts +14 -14
- package/build/library/structure/HomeHero/HomeHero.test.d.ts +1 -0
- package/build/library/structure/HomeHero/HomeHero.types.d.ts +54 -54
- package/build/library/structure/MaxWidthContainer/MaxWidthContainer.d.ts +7 -7
- package/build/library/structure/MaxWidthContainer/MaxWidthContainer.types.d.ts +22 -23
- package/build/library/structure/MemorialHero/MemorialHero.d.ts +4 -4
- package/build/library/structure/MemorialHero/MemorialHero.types.d.ts +27 -27
- package/build/library/structure/NewsArticleDate/NewsArticleDate.d.ts +7 -7
- package/build/library/structure/NewsArticleDate/NewsArticleDate.types.d.ts +10 -10
- package/build/library/structure/NewsArticleFeaturedBlock/NewsArticleFeaturedBlock.d.ts +7 -7
- package/build/library/structure/NewsArticleFeaturedBlock/NewsArticleFeaturedBlock.test.d.ts +1 -0
- package/build/library/structure/NewsArticleFeaturedBlock/NewsArticleFeaturedBlock.types.d.ts +23 -23
- package/build/library/structure/NewsArticleFilterAccordion/NewsArticleFilterAccordion.d.ts +4 -4
- package/build/library/structure/NewsArticleFilterAccordion/NewsArticleFilterAccordion.types.d.ts +7 -7
- package/build/library/structure/NewsArticleImage/NewsArticleImage.d.ts +7 -7
- package/build/library/structure/NewsArticleImage/NewsArticleImage.types.d.ts +18 -18
- package/build/library/structure/NewsArticleList/NewsArticleData.d.ts +7 -7
- package/build/library/structure/NewsArticleList/NewsArticleList.d.ts +4 -4
- package/build/library/structure/NewsArticleList/NewsArticleList.test.d.ts +1 -0
- package/build/library/structure/NewsArticleList/NewsArticleList.types.d.ts +28 -28
- package/build/library/structure/NewsArticleListHeader/NewsArticleListHeader.d.ts +4 -4
- package/build/library/structure/NewsArticleListHeader/NewsArticleListHeader.types.d.ts +6 -6
- package/build/library/structure/NewsArticleOldBanner/NewsArticleOldBanner.d.ts +7 -7
- package/build/library/structure/NewsArticleOldBanner/NewsArticleOldBanner.types.d.ts +2 -2
- package/build/library/structure/PageMain/PageMain.d.ts +7 -7
- package/build/library/structure/PageMain/PageMain.test.d.ts +1 -0
- package/build/library/structure/PageMain/PageMain.types.d.ts +14 -15
- package/build/library/structure/PageSidebar/PageSidebar.d.ts +7 -7
- package/build/library/structure/PageSidebar/PageSidebar.types.d.ts +6 -7
- package/build/library/structure/PageStructures.d.ts +42 -42
- package/build/library/structure/PageTitle/PageTitle.d.ts +7 -7
- package/build/library/structure/PageTitle/PageTitle.types.d.ts +11 -11
- package/build/library/structure/PageWithSidebarContainer/PageWithSidebarContainer.d.ts +7 -7
- package/build/library/structure/PageWithSidebarContainer/PageWithSidebarContainer.types.d.ts +10 -11
- package/build/library/structure/PageWrapper/PageWrapper.d.ts +4 -4
- package/build/library/structure/PageWrapper/PageWrapper.types.d.ts +11 -11
- package/build/library/structure/PhaseBanner/PhaseBanner.d.ts +4 -4
- package/build/library/structure/PhaseBanner/PhaseBanner.types.d.ts +3 -3
- package/build/library/structure/PromoBanner/PromoBanner.d.ts +8 -8
- package/build/library/structure/PromoBanner/PromoBanner.storydata.d.ts +9 -10
- package/build/library/structure/PromoBanner/PromoBanner.test.d.ts +1 -0
- package/build/library/structure/PromoBanner/PromoBanner.types.d.ts +26 -27
- package/build/library/structure/PromoBlock/PromoBlock.d.ts +8 -8
- package/build/library/structure/PromoBlock/PromoBlock.storydata.d.ts +5 -5
- package/build/library/structure/PromoBlock/PromoBlock.test.d.ts +1 -0
- package/build/library/structure/PromoBlock/PromoBlock.types.d.ts +36 -36
- package/build/library/structure/SearchHeader/SearchHeader.d.ts +4 -4
- package/build/library/structure/SearchHeader/SearchHeader.types.d.ts +2 -2
- package/build/library/structure/SearchResultsList/NoResultsMessage.d.ts +3 -3
- package/build/library/structure/SearchResultsList/SearchResultsList.d.ts +4 -4
- package/build/library/structure/SearchResultsList/SearchResultsList.test.d.ts +1 -0
- package/build/library/structure/SearchResultsList/SearchResultsList.types.d.ts +46 -46
- package/build/library/structure/Searchbar/Searchbar.d.ts +4 -4
- package/build/library/structure/Searchbar/Searchbar.test.d.ts +1 -0
- package/build/library/structure/Searchbar/Searchbar.types.d.ts +48 -48
- package/build/library/structure/SectionLinks/SectionLinks.d.ts +7 -7
- package/build/library/structure/SectionLinks/SectionLinks.storydata.d.ts +2 -2
- package/build/library/structure/SectionLinks/SectionLinks.test.d.ts +1 -0
- package/build/library/structure/SectionLinks/SectionLinks.types.d.ts +52 -52
- package/build/library/structure/SectionLinksMobileContents/SectionLinksMobileContents.d.ts +4 -4
- package/build/library/structure/SectionLinksMobileContents/SectionLinksMobileContents.types.d.ts +16 -16
- package/build/library/structure/SectionLinksSidebar/SectionLinksSidebar.d.ts +4 -4
- package/build/library/structure/SectionLinksSidebar/SectionLinksSidebar.test.d.ts +1 -0
- package/build/library/structure/SectionLinksSidebar/SectionLinksSidebar.types.d.ts +34 -34
- package/build/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.d.ts +4 -4
- package/build/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.storydata.d.ts +9 -9
- package/build/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.test.d.ts +1 -0
- package/build/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.types.d.ts +53 -53
- package/build/library/structure/ServicesLinksList/ServicesLinksList.d.ts +4 -4
- package/build/library/structure/ServicesLinksList/ServicesLinksList.test.d.ts +1 -0
- package/build/library/structure/ServicesLinksList/ServicesLinksList.types.d.ts +68 -68
- package/build/library/structure/SignpostLinks/SignpostLinks.d.ts +4 -4
- package/build/library/structure/SignpostLinks/SignpostLinks.types.d.ts +32 -32
- package/build/library/structure/SkipToMainContent/SkipToMainContent.d.ts +4 -4
- package/build/library/structure/SkipToMainContent/SkipToMainContent.test.d.ts +1 -0
- package/build/library/structure/SkipToMainContent/SkipToMainContent.types.d.ts +2 -2
- package/build/library/structure/Summary/Summary.d.ts +4 -4
- package/build/library/structure/Summary/Summary.test.d.ts +1 -0
- package/build/library/structure/Summary/Summary.types.d.ts +15 -15
- package/build/src/index.d.ts +2 -1
- package/build/src/library/components/SummaryList/SummaryList.types.d.ts +8 -0
- package/build/src/library/directory/DirectoryAddToShortList/DirectoryAddToShortList.types.d.ts +9 -0
- package/build/src/library/directory/DirectoryDocumentList/DirectoryDocumentList.types.d.ts +4 -0
- package/build/src/library/directory/DirectoryService/DirectoryService.storydata.d.ts +1 -0
- package/build/src/library/directory/DirectoryService/DirectoryService.types.d.ts +4 -0
- package/build/src/library/directory/DirectoryService/DirectoryServiceTransform.d.ts +1 -1
- package/build/src/library/directory/DirectoryService/DirectoryServiceTransform.test.d.ts +1 -0
- package/build/src/library/directory/DirectoryServiceList/DirectoryServiceList.types.d.ts +12 -0
- package/build/src/library/directory/ServiceContact/ServiceContact.types.d.ts +4 -0
- package/build/src/library/events/Event/Event.d.ts +4 -0
- package/build/src/library/events/Event/Event.storydata.d.ts +4 -0
- package/build/src/library/events/Event/Event.types.d.ts +206 -0
- package/build/src/library/events/Event/index.d.ts +3 -0
- package/build/src/library/events/EventList/EventList.d.ts +4 -0
- package/build/src/library/events/EventList/EventList.storydata.d.ts +3 -0
- package/build/src/library/events/EventList/EventList.types.d.ts +152 -0
- package/build/src/library/events/EventList/index.d.ts +3 -0
- package/build/src/library/events/index.d.ts +5 -0
- package/build/src/library/events/utils/EventFilters.d.ts +57 -0
- package/build/src/library/events/utils/index.d.ts +1 -0
- package/build/src/library/pages/EventPage/EventPage.d.ts +13 -0
- package/build/src/library/pages/EventPage/index.d.ts +1 -0
- package/build/src/library/slices/InquestSchedule/InquestSchedule.storydata.d.ts +1 -0
- package/build/src/library/slices/InquestSchedule/InquestSchedule.types.d.ts +8 -0
- package/build/src/library/slices/RoadworksList/RoadworksList.d.ts +7 -0
- package/build/src/library/slices/RoadworksList/RoadworksList.storydata.d.ts +4 -0
- package/build/src/library/slices/RoadworksList/RoadworksList.test.d.ts +1 -0
- package/build/src/library/slices/RoadworksList/RoadworksList.types.d.ts +52 -0
- package/build/src/library/structure/HeroImage/HeroImage.types.d.ts +6 -2
- package/build/themes/ThemeVars.types.d.ts +60 -0
- package/package.json +1 -1
|
@@ -0,0 +1,152 @@
|
|
|
1
|
+
import { Dispatch, SetStateAction } from 'react';
|
|
2
|
+
import { EventProps } from '../Event/Event.types';
|
|
3
|
+
export interface EventListProps {
|
|
4
|
+
/**
|
|
5
|
+
* The base url for the events directory
|
|
6
|
+
*/
|
|
7
|
+
eventsPath: string;
|
|
8
|
+
/**
|
|
9
|
+
* The url to the shortlist
|
|
10
|
+
*/
|
|
11
|
+
shortListPath: string;
|
|
12
|
+
/**
|
|
13
|
+
* An array of Events
|
|
14
|
+
*/
|
|
15
|
+
events: EventProps[];
|
|
16
|
+
/**
|
|
17
|
+
* The search term string
|
|
18
|
+
*/
|
|
19
|
+
search?: string;
|
|
20
|
+
/**
|
|
21
|
+
* Function prop passed in to handle updating search
|
|
22
|
+
*/
|
|
23
|
+
setSearch: Dispatch<SetStateAction<string>>;
|
|
24
|
+
/**
|
|
25
|
+
* The optional proximity the postcode will search. Defaults to 2 miles.
|
|
26
|
+
*/
|
|
27
|
+
proximity?: number;
|
|
28
|
+
/**
|
|
29
|
+
* Should the postcode search be shown? Defaults to true.
|
|
30
|
+
*/
|
|
31
|
+
showPostcodeSearch?: boolean;
|
|
32
|
+
/**
|
|
33
|
+
* The postcode search term
|
|
34
|
+
*/
|
|
35
|
+
postcode?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Function prop passed in to handle updating postcode
|
|
38
|
+
*/
|
|
39
|
+
setPostcode: Dispatch<SetStateAction<string>>;
|
|
40
|
+
/**
|
|
41
|
+
* The total amount of results
|
|
42
|
+
*/
|
|
43
|
+
totalResults?: number;
|
|
44
|
+
/**
|
|
45
|
+
* The current page number
|
|
46
|
+
*/
|
|
47
|
+
pageNumber?: number;
|
|
48
|
+
/**
|
|
49
|
+
* Function prop passed in to handle the update page number
|
|
50
|
+
*/
|
|
51
|
+
setPageNumber: Dispatch<SetStateAction<number>>;
|
|
52
|
+
/**
|
|
53
|
+
* The number of results per page
|
|
54
|
+
*/
|
|
55
|
+
perPage?: number;
|
|
56
|
+
/**
|
|
57
|
+
* The max length of each event description extract
|
|
58
|
+
*/
|
|
59
|
+
extractLength?: number;
|
|
60
|
+
/**
|
|
61
|
+
* The event type categories
|
|
62
|
+
*/
|
|
63
|
+
eventTypes?: EventCategory[];
|
|
64
|
+
/**
|
|
65
|
+
* Function prop passed in to handle updating event types
|
|
66
|
+
*/
|
|
67
|
+
setEventTypes: Dispatch<SetStateAction<EventCategory[]>>;
|
|
68
|
+
/**
|
|
69
|
+
* The audience categories
|
|
70
|
+
*/
|
|
71
|
+
audiences?: EventCategory[];
|
|
72
|
+
/**
|
|
73
|
+
* Function prop passed in to handle updating audiences
|
|
74
|
+
*/
|
|
75
|
+
setAudiences: Dispatch<SetStateAction<EventCategory[]>>;
|
|
76
|
+
/**
|
|
77
|
+
* The selected month filter (1-12)
|
|
78
|
+
*/
|
|
79
|
+
selectedMonth?: number;
|
|
80
|
+
/**
|
|
81
|
+
* Function prop passed in to handle updating selected month
|
|
82
|
+
*/
|
|
83
|
+
setSelectedMonth: Dispatch<SetStateAction<number | undefined>>;
|
|
84
|
+
/**
|
|
85
|
+
* The selected year filter
|
|
86
|
+
*/
|
|
87
|
+
selectedYear?: number;
|
|
88
|
+
/**
|
|
89
|
+
* Function prop passed in to handle updating selected year
|
|
90
|
+
*/
|
|
91
|
+
setSelectedYear: Dispatch<SetStateAction<number | undefined>>;
|
|
92
|
+
/**
|
|
93
|
+
* Where to centre the map, in the format 'lat,lng'
|
|
94
|
+
*/
|
|
95
|
+
mapCenter?: string;
|
|
96
|
+
/**
|
|
97
|
+
* The optional zoom level, between 1 and 20. 1 = world, 20 = buildings
|
|
98
|
+
*/
|
|
99
|
+
mapZoom?: number;
|
|
100
|
+
/**
|
|
101
|
+
* Is the data loading
|
|
102
|
+
*/
|
|
103
|
+
isLoading: boolean;
|
|
104
|
+
/**
|
|
105
|
+
* Is the component in error state
|
|
106
|
+
*/
|
|
107
|
+
isError?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Should old events be hidden automatically? Defaults to true.
|
|
110
|
+
*/
|
|
111
|
+
hideOldEvents?: boolean;
|
|
112
|
+
}
|
|
113
|
+
export interface EventCategory {
|
|
114
|
+
/**
|
|
115
|
+
* The category label
|
|
116
|
+
*/
|
|
117
|
+
label: string;
|
|
118
|
+
/**
|
|
119
|
+
* The vocabulary name
|
|
120
|
+
*/
|
|
121
|
+
vocabulary: string;
|
|
122
|
+
/**
|
|
123
|
+
* An array of taxonomies
|
|
124
|
+
*/
|
|
125
|
+
options: EventTaxonomy[];
|
|
126
|
+
/**
|
|
127
|
+
* Should multiple options be allowed
|
|
128
|
+
*/
|
|
129
|
+
singleSelection: boolean;
|
|
130
|
+
}
|
|
131
|
+
export interface EventTaxonomy {
|
|
132
|
+
/**
|
|
133
|
+
* Unique taxonomy identifier in curie format (e.g. eventType1)
|
|
134
|
+
*/
|
|
135
|
+
id: string;
|
|
136
|
+
/**
|
|
137
|
+
* The name of the taxonomy
|
|
138
|
+
*/
|
|
139
|
+
name: string;
|
|
140
|
+
/**
|
|
141
|
+
* The vocabulary name
|
|
142
|
+
*/
|
|
143
|
+
vocabulary: string;
|
|
144
|
+
/**
|
|
145
|
+
* The optional parent taxonomy
|
|
146
|
+
*/
|
|
147
|
+
parent?: string | null;
|
|
148
|
+
/**
|
|
149
|
+
* Is the option checked
|
|
150
|
+
*/
|
|
151
|
+
checked: boolean;
|
|
152
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { EventProps } from '../Event/Event.types';
|
|
2
|
+
/**
|
|
3
|
+
* Filters out events that have already ended based on their end date/time
|
|
4
|
+
* @param events Array of events to filter
|
|
5
|
+
* @param hideOldEvents Whether to hide old events (defaults to true)
|
|
6
|
+
* @returns Filtered array of events
|
|
7
|
+
*/
|
|
8
|
+
export declare const filterOldEvents: (events: EventProps[], hideOldEvents?: boolean) => EventProps[];
|
|
9
|
+
/**
|
|
10
|
+
* Filters events by month and year
|
|
11
|
+
* @param events Array of events to filter
|
|
12
|
+
* @param selectedMonth Month (1-12) or undefined for all months
|
|
13
|
+
* @param selectedYear Year or undefined for all years
|
|
14
|
+
* @returns Filtered array of events
|
|
15
|
+
*/
|
|
16
|
+
export declare const filterEventsByDate: (events: EventProps[], selectedMonth?: number, selectedYear?: number) => EventProps[];
|
|
17
|
+
/**
|
|
18
|
+
* Filters events by event type
|
|
19
|
+
* @param events Array of events to filter
|
|
20
|
+
* @param selectedEventTypes Array of selected event type IDs
|
|
21
|
+
* @returns Filtered array of events
|
|
22
|
+
*/
|
|
23
|
+
export declare const filterEventsByType: (events: EventProps[], selectedEventTypes: string[]) => EventProps[];
|
|
24
|
+
/**
|
|
25
|
+
* Filters events by audience
|
|
26
|
+
* @param events Array of events to filter
|
|
27
|
+
* @param selectedAudiences Array of selected audience IDs
|
|
28
|
+
* @returns Filtered array of events
|
|
29
|
+
*/
|
|
30
|
+
export declare const filterEventsByAudience: (events: EventProps[], selectedAudiences: string[]) => EventProps[];
|
|
31
|
+
/**
|
|
32
|
+
* Filters events by search term (searches in name and description)
|
|
33
|
+
* @param events Array of events to filter
|
|
34
|
+
* @param searchTerm Search term to look for
|
|
35
|
+
* @returns Filtered array of events
|
|
36
|
+
*/
|
|
37
|
+
export declare const filterEventsBySearch: (events: EventProps[], searchTerm: string) => EventProps[];
|
|
38
|
+
/**
|
|
39
|
+
* Sorts events by date (earliest first)
|
|
40
|
+
* @param events Array of events to sort
|
|
41
|
+
* @returns Sorted array of events
|
|
42
|
+
*/
|
|
43
|
+
export declare const sortEventsByDate: (events: EventProps[]) => EventProps[];
|
|
44
|
+
/**
|
|
45
|
+
* Comprehensive filter function that applies all filters
|
|
46
|
+
* @param events Array of events to filter
|
|
47
|
+
* @param filters Object containing all filter criteria
|
|
48
|
+
* @returns Filtered and sorted array of events
|
|
49
|
+
*/
|
|
50
|
+
export declare const applyAllEventFilters: (events: EventProps[], filters: {
|
|
51
|
+
hideOldEvents?: boolean;
|
|
52
|
+
selectedMonth?: number;
|
|
53
|
+
selectedYear?: number;
|
|
54
|
+
selectedEventTypes?: string[];
|
|
55
|
+
selectedAudiences?: string[];
|
|
56
|
+
searchTerm?: string;
|
|
57
|
+
}) => EventProps[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './EventFilters';
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { EventProps } from '../../events/Event/Event.types';
|
|
3
|
+
import { BreadcrumbProp } from '../../structure/Breadcrumbs/Breadcrumbs.types';
|
|
4
|
+
interface EventPageProps {
|
|
5
|
+
event: EventProps;
|
|
6
|
+
breadcrumbs?: BreadcrumbProp[];
|
|
7
|
+
footerLinks?: Array<{
|
|
8
|
+
title: string;
|
|
9
|
+
url: string;
|
|
10
|
+
}>;
|
|
11
|
+
}
|
|
12
|
+
export declare const EventPage: React.FunctionComponent<EventPageProps>;
|
|
13
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { EventPage } from './EventPage';
|
|
@@ -21,4 +21,12 @@ export interface CaseAppointmentProps {
|
|
|
21
21
|
courtroomFullAddress: string;
|
|
22
22
|
appointmentType: string;
|
|
23
23
|
startDateTime: string;
|
|
24
|
+
endDateTime?: string | null;
|
|
25
|
+
}
|
|
26
|
+
export declare enum CaseAppointmentType {
|
|
27
|
+
Formal = "formal",
|
|
28
|
+
Hearing = "inquest hearing",
|
|
29
|
+
Opening = "opening",
|
|
30
|
+
PreInquest = "pre-inquest review",
|
|
31
|
+
Writing = "writing"
|
|
24
32
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export interface RoadworksListProps {
|
|
2
|
+
/**
|
|
3
|
+
* A list of roadworks
|
|
4
|
+
*/
|
|
5
|
+
roadworks: Roadwork[];
|
|
6
|
+
/**
|
|
7
|
+
* The title tag
|
|
8
|
+
*/
|
|
9
|
+
title: string;
|
|
10
|
+
}
|
|
11
|
+
export interface Roadwork {
|
|
12
|
+
/**
|
|
13
|
+
* The road name
|
|
14
|
+
*/
|
|
15
|
+
location: string;
|
|
16
|
+
/**
|
|
17
|
+
* The detailed location
|
|
18
|
+
*/
|
|
19
|
+
detailedLocation: string;
|
|
20
|
+
/**
|
|
21
|
+
* The optional latitude
|
|
22
|
+
*/
|
|
23
|
+
latitude?: string;
|
|
24
|
+
/**
|
|
25
|
+
* The optional longitude
|
|
26
|
+
*/
|
|
27
|
+
longitude?: string;
|
|
28
|
+
/**
|
|
29
|
+
* The start date and time of the roadworks
|
|
30
|
+
*/
|
|
31
|
+
startTime: string;
|
|
32
|
+
/**
|
|
33
|
+
* The end date and time of the roadworks
|
|
34
|
+
*/
|
|
35
|
+
endTime: string;
|
|
36
|
+
/**
|
|
37
|
+
* The description of the roadworks
|
|
38
|
+
*/
|
|
39
|
+
description: string;
|
|
40
|
+
/**
|
|
41
|
+
* The traffic management information
|
|
42
|
+
*/
|
|
43
|
+
trafficManagement: string;
|
|
44
|
+
/**
|
|
45
|
+
* The responsible organisation
|
|
46
|
+
*/
|
|
47
|
+
responsibility: string;
|
|
48
|
+
/**
|
|
49
|
+
* Optional URL link for more information about the roadworks
|
|
50
|
+
*/
|
|
51
|
+
urlLinkAddress?: string;
|
|
52
|
+
}
|
|
@@ -12,11 +12,15 @@ export interface HeroImageProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* URL of the hero image (min 400pix high)
|
|
14
14
|
*/
|
|
15
|
-
imageLarge
|
|
15
|
+
imageLarge?: string;
|
|
16
16
|
/**
|
|
17
17
|
* URL of the a smaller version of the image for lazy loading
|
|
18
18
|
*/
|
|
19
|
-
imageSmall
|
|
19
|
+
imageSmall?: string;
|
|
20
|
+
/**
|
|
21
|
+
* URL of the hero video
|
|
22
|
+
*/
|
|
23
|
+
heroVideoUrl?: string;
|
|
20
24
|
/**
|
|
21
25
|
* Optional alt text for the image - ideally the image should be decorative only and not require a long description
|
|
22
26
|
*/
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
export interface ThemeVars {
|
|
2
|
+
theme_name: string;
|
|
3
|
+
full_name: string;
|
|
4
|
+
cardinal_name: string;
|
|
5
|
+
is_memorial: boolean;
|
|
6
|
+
council_link?: string;
|
|
7
|
+
other_council_link?: string;
|
|
8
|
+
other_council_name?: string;
|
|
9
|
+
other_council_action?: string;
|
|
10
|
+
twitter_link?: string;
|
|
11
|
+
linkedin_link?: string;
|
|
12
|
+
facebook_link?: string;
|
|
13
|
+
instagram_link?: string;
|
|
14
|
+
youtube_link?: string;
|
|
15
|
+
breakpointsVals: ThemeBreakpointTypes;
|
|
16
|
+
breakpoints: ThemeBreakpointTypes;
|
|
17
|
+
fontstack: string;
|
|
18
|
+
colours: ThemeColourTypes;
|
|
19
|
+
fontSizes: ThemeSizeTypes;
|
|
20
|
+
border_width: string;
|
|
21
|
+
border_width_error: string;
|
|
22
|
+
border_width_thin: string;
|
|
23
|
+
border_radius: string;
|
|
24
|
+
border_radius_large: string;
|
|
25
|
+
spacingSizes: ThemeSizeTypes;
|
|
26
|
+
h1: string;
|
|
27
|
+
h2: string;
|
|
28
|
+
h3: string;
|
|
29
|
+
h4: string;
|
|
30
|
+
}
|
|
31
|
+
export interface ThemeBreakpointTypes {
|
|
32
|
+
s: string;
|
|
33
|
+
m: string;
|
|
34
|
+
l: string;
|
|
35
|
+
xl: string;
|
|
36
|
+
}
|
|
37
|
+
export interface ThemeColourTypes {
|
|
38
|
+
black: string;
|
|
39
|
+
grey_darkest: string;
|
|
40
|
+
grey_dark: string;
|
|
41
|
+
grey: string;
|
|
42
|
+
grey_light: string;
|
|
43
|
+
white: string;
|
|
44
|
+
action: string;
|
|
45
|
+
action_light: string;
|
|
46
|
+
action_dark: string;
|
|
47
|
+
positive: string;
|
|
48
|
+
negative: string;
|
|
49
|
+
visited?: string;
|
|
50
|
+
focus: string;
|
|
51
|
+
placeholder: string;
|
|
52
|
+
secondary?: string;
|
|
53
|
+
}
|
|
54
|
+
export interface ThemeSizeTypes {
|
|
55
|
+
extra_small: string;
|
|
56
|
+
small: string;
|
|
57
|
+
medium: string;
|
|
58
|
+
large: string;
|
|
59
|
+
x_large?: string;
|
|
60
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nnc-digital/nnc-design-system",
|
|
3
|
-
"version": "1.0.0-
|
|
3
|
+
"version": "1.0.0-beta10",
|
|
4
4
|
"description": "Design system for West & North Northamptonshire Councils, two unitary councils encompassing Wellingborough, Corby, Daventry, East Northants, Kettering, Northampton, Northamptonshire County and South Northants.",
|
|
5
5
|
"main": "build/index.js",
|
|
6
6
|
"repository": {
|