@nnc-digital/nnc-design-system 0.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +674 -0
- package/README.md +232 -0
- package/build/index.d.ts +41 -0
- package/build/index.esm.js +31663 -0
- package/build/index.esm.js.map +1 -0
- package/build/index.js +31760 -0
- package/build/index.js.map +1 -0
- package/build/library/components/AlphabeticalDirectory/AlphabeticalDirectory.d.ts +4 -0
- package/build/library/components/AlphabeticalDirectory/AlphabeticalDirectory.types.d.ts +26 -0
- package/build/library/components/Autocomplete/Autocomplete.d.ts +9 -0
- package/build/library/components/Autocomplete/Autocomplete.storydata.d.ts +47 -0
- package/build/library/components/Autocomplete/Autocomplete.types.d.ts +70 -0
- package/build/library/components/BackToTop/BackToTop.d.ts +4 -0
- package/build/library/components/BackToTop/BackToTop.types.d.ts +6 -0
- package/build/library/components/Button/Button.d.ts +7 -0
- package/build/library/components/Button/Button.types.d.ts +43 -0
- package/build/library/components/Card/Card.d.ts +7 -0
- package/build/library/components/Card/Card.types.d.ts +36 -0
- package/build/library/components/CheckboxListFilter/CheckboxListFilter.d.ts +4 -0
- package/build/library/components/CheckboxListFilter/CheckboxListFilter.types.d.ts +36 -0
- package/build/library/components/Column/Column.d.ts +4 -0
- package/build/library/components/Column/Column.types.d.ts +36 -0
- package/build/library/components/CustomSearch/CustomSearch.d.ts +4 -0
- package/build/library/components/CustomSearch/CustomSearch.storydata.d.ts +2 -0
- package/build/library/components/CustomSearch/CustomSearch.types.d.ts +34 -0
- package/build/library/components/DropDownFilter/DropDownFilter.d.ts +4 -0
- package/build/library/components/DropDownFilter/DropDownFilter.types.d.ts +32 -0
- package/build/library/components/DropDownSelect/DropDownSelect.d.ts +4 -0
- package/build/library/components/DropDownSelect/DropDownSelect.types.d.ts +36 -0
- package/build/library/components/DynamicIcon/DynamicIcon.d.ts +7 -0
- package/build/library/components/DynamicIcon/DynamicIcon.types.d.ts +10 -0
- package/build/library/components/FileDownload/FileDownload.d.ts +7 -0
- package/build/library/components/FileDownload/FileDownload.types.d.ts +22 -0
- package/build/library/components/FormButton/FormButton.d.ts +7 -0
- package/build/library/components/FormButton/FormButton.types.d.ts +27 -0
- package/build/library/components/FormWithLine/FormWithLine.d.ts +7 -0
- package/build/library/components/FormWithLine/FormWithLine.types.d.ts +39 -0
- package/build/library/components/Heading/Heading.d.ts +7 -0
- package/build/library/components/Heading/Heading.types.d.ts +10 -0
- package/build/library/components/HeadingWithIcon/HeadingWithIcon.d.ts +7 -0
- package/build/library/components/HeadingWithIcon/HeadingWithIcon.types.d.ts +18 -0
- package/build/library/components/HeadingWithIconLink/HeadingWithIconLink.d.ts +4 -0
- package/build/library/components/HeadingWithIconLink/HeadingWithIconLink.types.d.ts +14 -0
- package/build/library/components/HintText/HintText.d.ts +7 -0
- package/build/library/components/HintText/HintText.types.d.ts +6 -0
- package/build/library/components/Input/Input.d.ts +8 -0
- package/build/library/components/Input/Input.types.d.ts +45 -0
- package/build/library/components/LoadingSpinner/LoadingSpinner.d.ts +4 -0
- package/build/library/components/LoadingSpinner/LoadingSpinner.types.d.ts +2 -0
- package/build/library/components/Map/Map.d.ts +7 -0
- package/build/library/components/Map/Map.types.d.ts +16 -0
- package/build/library/components/MapMarker/MapMarker.d.ts +7 -0
- package/build/library/components/Pagination/Pagination.d.ts +4 -0
- package/build/library/components/Pagination/Pagination.types.d.ts +23 -0
- package/build/library/components/PostCodeAddressDropdown/PostCodeAddressDropdown.d.ts +7 -0
- package/build/library/components/PostCodeAddressDropdown/PostCodeAddressDropdown.types.d.ts +2 -0
- package/build/library/components/PostCodeAddressSearch/PostCodeAddressSearch.d.ts +7 -0
- package/build/library/components/PostCodeAddressSearch/PostCodeAddressSearch.types.d.ts +23 -0
- package/build/library/components/PostCodeAddressTable/PostCodeAddressTable.d.ts +4 -0
- package/build/library/components/PostCodeAddressTable/PostCodeAddressTable.types.d.ts +2 -0
- package/build/library/components/PostCodeSearch/PostCodeSearch.d.ts +7 -0
- package/build/library/components/PostCodeSearch/PostCodeSearch.types.d.ts +52 -0
- package/build/library/components/PromotedLinks/PromotedLinks.d.ts +4 -0
- package/build/library/components/PromotedLinks/PromotedLinks.types.d.ts +20 -0
- package/build/library/components/RadioCheckboxInput/RadioCheckboxInput.d.ts +4 -0
- package/build/library/components/RadioCheckboxInput/RadioCheckboxInput.types.d.ts +27 -0
- package/build/library/components/RemovableTag/RemovableTag.d.ts +4 -0
- package/build/library/components/RemovableTag/RemovableTag.types.d.ts +8 -0
- package/build/library/components/RemoveAllFilters/RemoveAllFilters.d.ts +4 -0
- package/build/library/components/RemoveAllFilters/RemoveAllFilters.types.d.ts +3 -0
- package/build/library/components/Row/Row.d.ts +4 -0
- package/build/library/components/Row/Row.types.d.ts +20 -0
- package/build/library/components/SignpostLinksList/SignpostLinksList.d.ts +4 -0
- package/build/library/components/SignpostLinksList/SignpostLinksList.types.d.ts +24 -0
- package/build/library/components/SortBy/SortBy.d.ts +4 -0
- package/build/library/components/SortBy/SortBy.types.d.ts +20 -0
- package/build/library/components/StaticMap/StaticMap.d.ts +7 -0
- package/build/library/components/StaticMap/StaticMap.types.d.ts +52 -0
- package/build/library/components/SummaryList/SummaryList.d.ts +4 -0
- package/build/library/components/SummaryList/SummaryList.types.d.ts +21 -0
- package/build/library/components/TextInput/TextInput.d.ts +7 -0
- package/build/library/components/TextInput/TextInput.types.d.ts +34 -0
- package/build/library/components/icons/ChevronIcon/ChevronIcon.d.ts +4 -0
- package/build/library/components/icons/ChevronIcon/ChevronIcon.types.d.ts +10 -0
- package/build/library/components/icons/CloseIcon/CloseIcon.d.ts +4 -0
- package/build/library/components/icons/CloseIcon/CloseIcon.types.d.ts +6 -0
- package/build/library/components/icons/DownloadFileIcon/DownloadFileIcon.d.ts +4 -0
- package/build/library/components/icons/DownloadFileIcon/DownloadFileIcon.types.d.ts +6 -0
- package/build/library/components/icons/EmailIcon/EmailIcon.d.ts +4 -0
- package/build/library/components/icons/EmailIcon/EmailIcon.types.d.ts +6 -0
- package/build/library/components/icons/FacebookIcon/Icon.d.ts +4 -0
- package/build/library/components/icons/HeartIcon/HeartIcon.d.ts +7 -0
- package/build/library/components/icons/HeartIcon/HeartIcon.types.d.ts +6 -0
- package/build/library/components/icons/InstagramIcon/Icon.d.ts +4 -0
- package/build/library/components/icons/LinkIcon/LinkIcon.d.ts +4 -0
- package/build/library/components/icons/LinkIcon/LinkIcon.types.d.ts +6 -0
- package/build/library/components/icons/LinkedInIcon/Icon.d.ts +4 -0
- package/build/library/components/icons/PhoneIcon/PhoneIcon.d.ts +4 -0
- package/build/library/components/icons/PhoneIcon/PhoneIcon.types.d.ts +6 -0
- package/build/library/components/icons/PinIcon/PinIcon.d.ts +7 -0
- package/build/library/components/icons/PinIcon/PinIcon.types.d.ts +6 -0
- package/build/library/components/icons/SearchIcon/SearchIcon.d.ts +4 -0
- package/build/library/components/icons/SearchIcon/SearchIcon.types.d.ts +6 -0
- package/build/library/components/icons/TwitterIcon/Icon.d.ts +4 -0
- package/build/library/components/icons/WebsiteIcon/WebsiteIcon.d.ts +4 -0
- package/build/library/components/icons/WebsiteIcon/WebsiteIcon.types.d.ts +6 -0
- package/build/library/components/icons/YouTubeIcon/Icon.d.ts +4 -0
- package/build/library/components/icons/services/AccessibleParking/Icon.d.ts +4 -0
- package/build/library/components/icons/services/AccessibleParking/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Address/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Address/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/AddressChange/Icon.d.ts +4 -0
- package/build/library/components/icons/services/AddressChange/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Adults/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Adults/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Benefits/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Benefits/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/BinDay/Icon.d.ts +4 -0
- package/build/library/components/icons/services/BinDay/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Bins/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Bins/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/BirthCertificate/Icon.d.ts +4 -0
- package/build/library/components/icons/services/BirthCertificate/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Births/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Births/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Bollard/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Bollard/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/BulkWaste/Icon.d.ts +4 -0
- package/build/library/components/icons/services/BulkWaste/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Bus/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Bus/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/BusPass/Icon.d.ts +4 -0
- package/build/library/components/icons/services/BusPass/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Business/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Business/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Careers/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Careers/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Cash/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Cash/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Catalogue/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Catalogue/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Ceremony/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Ceremony/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Charity/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Charity/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Children/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Children/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Computer/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Computer/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/CondolenceBook/Icon.d.ts +4 -0
- package/build/library/components/icons/services/CondolenceBook/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Cooking/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Cooking/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Council/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Council/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/CouncilTax/Icon.d.ts +4 -0
- package/build/library/components/icons/services/CouncilTax/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Covid/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Covid/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Culture/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Culture/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/CultureNorth/Icon.d.ts +4 -0
- package/build/library/components/icons/services/CultureNorth/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/CultureWest/Icon.d.ts +4 -0
- package/build/library/components/icons/services/CultureWest/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/DOLS/Icon.d.ts +4 -0
- package/build/library/components/icons/services/DOLS/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/DeathCertificate/Icon.d.ts +4 -0
- package/build/library/components/icons/services/DeathCertificate/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Democracy/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Democracy/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/DogFouling/Icon.d.ts +4 -0
- package/build/library/components/icons/services/DogFouling/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Ebook/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Ebook/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Edit/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Edit/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Environment/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Environment/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Events/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Events/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Finance/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Finance/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Flower/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Flower/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/FlyTip/Icon.d.ts +4 -0
- package/build/library/components/icons/services/FlyTip/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/FoodWaste/Icon.d.ts +4 -0
- package/build/library/components/icons/services/FoodWaste/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/GiveNotice/Icon.d.ts +4 -0
- package/build/library/components/icons/services/GiveNotice/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/GovUK/Icon.d.ts +4 -0
- package/build/library/components/icons/services/GovUK/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Graffiti/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Graffiti/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Highway/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Highway/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/HouseMoney/Icon.d.ts +4 -0
- package/build/library/components/icons/services/HouseMoney/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Housing/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Housing/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Icon.types.d.ts +6 -0
- package/build/library/components/icons/services/Independence/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Independence/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Libraries/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Libraries/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Litter/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Litter/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/MapPin/Icon.d.ts +4 -0
- package/build/library/components/icons/services/MapPin/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Member/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Member/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/MissedBin/Icon.d.ts +4 -0
- package/build/library/components/icons/services/MissedBin/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/New/Icon.d.ts +4 -0
- package/build/library/components/icons/services/New/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/OccupationalTherapy/Icon.d.ts +4 -0
- package/build/library/components/icons/services/OccupationalTherapy/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/ParkEvent/Icon.d.ts +4 -0
- package/build/library/components/icons/services/ParkEvent/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Parking/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Parking/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/ParkingTicket/Icon.d.ts +4 -0
- package/build/library/components/icons/services/ParkingTicket/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Pay/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Pay/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/PhonePay/Icon.d.ts +4 -0
- package/build/library/components/icons/services/PhonePay/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Planning/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Planning/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Pothole/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Pothole/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Protect/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Protect/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/RatePay/Icon.d.ts +4 -0
- package/build/library/components/icons/services/RatePay/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/RegisterBirth/Icon.d.ts +4 -0
- package/build/library/components/icons/services/RegisterBirth/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/RegisterDeath/Icon.d.ts +4 -0
- package/build/library/components/icons/services/RegisterDeath/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Report/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Report/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Restrict/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Restrict/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/RoadWorks/Icon.d.ts +4 -0
- package/build/library/components/icons/services/RoadWorks/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Roads/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Roads/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/RoyalWebsite/Icon.d.ts +4 -0
- package/build/library/components/icons/services/RoyalWebsite/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Safety/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Safety/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Schools/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Schools/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/ServicesIcons.d.ts +160 -0
- package/build/library/components/icons/services/SinglePerson/Icon.d.ts +4 -0
- package/build/library/components/icons/services/SinglePerson/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Sports/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Sports/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Valuation/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Valuation/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/Venue/Icon.d.ts +4 -0
- package/build/library/components/icons/services/Venue/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/WasteChecklist/Icon.d.ts +4 -0
- package/build/library/components/icons/services/WasteChecklist/IconHover.d.ts +4 -0
- package/build/library/components/icons/services/WasteSorting/Icon.d.ts +4 -0
- package/build/library/components/icons/services/WasteSorting/IconHover.d.ts +4 -0
- package/build/library/components/logos/GDSLogo/logo.d.ts +4 -0
- package/build/library/components/logos/GDSLogo/logo.types.d.ts +2 -0
- package/build/library/components/logos/NorthColouredLogo/logo.d.ts +4 -0
- package/build/library/components/logos/NorthColouredLogo/logo.types.d.ts +2 -0
- package/build/library/components/logos/NorthWhiteLogo/logo.d.ts +4 -0
- package/build/library/components/logos/NorthWhiteLogo/logo.types.d.ts +2 -0
- package/build/library/components/logos/WestColouredLogo/logo.d.ts +4 -0
- package/build/library/components/logos/WestColouredLogo/logo.types.d.ts +2 -0
- package/build/library/components/logos/WestWhiteLogo/logo.d.ts +4 -0
- package/build/library/components/logos/WestWhiteLogo/logo.types.d.ts +2 -0
- package/build/library/contexts/DirectoryShortListProvider/DirectoryShortListProvider.d.ts +4 -0
- package/build/library/contexts/DirectoryShortListProvider/DirectoryShortListProvider.types.d.ts +41 -0
- package/build/library/contexts/PostCodeAddressProvider/PostCodeAddressProvider.d.ts +6 -0
- package/build/library/contexts/PostCodeAddressProvider/PostCodeAddressProvider.types.d.ts +18 -0
- package/build/library/directory/DirectoryAddToShortList/DirectoryAddToShortList.d.ts +4 -0
- package/build/library/directory/DirectoryAddToShortList/DirectoryAddToShortList.types.d.ts +26 -0
- package/build/library/directory/DirectoryDocumentList/DirectoryDocumentList.d.ts +4 -0
- package/build/library/directory/DirectoryDocumentList/DirectoryDocumentList.storydata.d.ts +4 -0
- package/build/library/directory/DirectoryDocumentList/DirectoryDocumentList.types.d.ts +63 -0
- package/build/library/directory/DirectoryMap/DirectoryMap.d.ts +4 -0
- package/build/library/directory/DirectoryMap/DirectoryMap.types.d.ts +11 -0
- package/build/library/directory/DirectoryService/DirectoryService.d.ts +4 -0
- package/build/library/directory/DirectoryService/DirectoryService.storydata.d.ts +4 -0
- package/build/library/directory/DirectoryService/DirectoryService.types.d.ts +278 -0
- package/build/library/directory/DirectoryService/DirectoryServiceTransform.d.ts +8 -0
- package/build/library/directory/DirectoryServiceList/DirectoryServiceList.d.ts +4 -0
- package/build/library/directory/DirectoryServiceList/DirectoryServiceList.storydata.d.ts +6 -0
- package/build/library/directory/DirectoryServiceList/DirectoryServiceList.types.d.ts +136 -0
- package/build/library/directory/DirectoryShortList/DirectoryShortList.d.ts +4 -0
- package/build/library/directory/DirectoryShortList/DirectoryShortList.types.d.ts +6 -0
- package/build/library/directory/ServiceContact/ServiceContact.d.ts +4 -0
- package/build/library/directory/ServiceContact/ServiceContact.types.d.ts +42 -0
- package/build/library/directory/ServiceSocialLinks/ServiceSocialLinks.d.ts +4 -0
- package/build/library/directory/ServiceSocialLinks/ServiceSocialLinks.storydata.d.ts +2 -0
- package/build/library/directory/ServiceSocialLinks/ServiceSocialLinks.types.d.ts +24 -0
- package/build/library/helpers/UseLocalStorage.d.ts +2 -0
- package/build/library/helpers/api-helpers.d.ts +120 -0
- package/build/library/pages/ContentPage/ContentPage.d.ts +4 -0
- package/build/library/pages/ContentPage/ContentPage.storydata.d.ts +10 -0
- package/build/library/pages/CouncilTaxPageExample/CouncilTaxPageExample.d.ts +5 -0
- package/build/library/pages/CouncilTaxParishPageExample/CouncilTaxParishPageExample.d.ts +5 -0
- package/build/library/pages/DirectoryServicePage/DirectoryServicePage.d.ts +2 -0
- package/build/library/pages/ErrorPage/ErrorPage.d.ts +6 -0
- package/build/library/pages/Home/HomePage.d.ts +8 -0
- package/build/library/pages/Home/HomePage.types.d.ts +60 -0
- package/build/library/pages/MemorialPage/MemorialPage.d.ts +8 -0
- package/build/library/pages/MemorialPage/MemorialPage.types.d.ts +59 -0
- package/build/library/pages/News/News.d.ts +5 -0
- package/build/library/pages/NewsArticle/NewsArticle.d.ts +7 -0
- package/build/library/pages/SearchResultsPageExample/SearchResultsPageExample.d.ts +29 -0
- package/build/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.d.ts +3 -0
- package/build/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.storydata.d.ts +30 -0
- package/build/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.types.d.ts +52 -0
- package/build/library/pages/ServicePageExample/ServicePageExample.d.ts +7 -0
- package/build/library/pages/SignpostPageExample/SignpostPageExample.d.ts +7 -0
- package/build/library/pages/Templates/Templates.d.ts +8 -0
- package/build/library/slices/Accordion/Accordion.d.ts +4 -0
- package/build/library/slices/Accordion/Accordion.types.d.ts +53 -0
- package/build/library/slices/Accordion/AccordionSection.d.ts +4 -0
- package/build/library/slices/BlockQuote/BlockQuote.d.ts +4 -0
- package/build/library/slices/BlockQuote/BlockQuote.types.d.ts +11 -0
- package/build/library/slices/CallToAction/CallToAction.d.ts +7 -0
- package/build/library/slices/Cards/Cards.d.ts +7 -0
- package/build/library/slices/Cards/Cards.types.d.ts +7 -0
- package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.d.ts +7 -0
- package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.storydata.d.ts +4 -0
- package/build/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.types.d.ts +81 -0
- package/build/library/slices/Divider/Divider.d.ts +4 -0
- package/build/library/slices/Divider/Divider.types.d.ts +2 -0
- package/build/library/slices/DownloadableFiles/DownloadableFiles.d.ts +4 -0
- package/build/library/slices/DownloadableFiles/DownloadableFiles.types.d.ts +7 -0
- package/build/library/slices/GoogleMap/GoogleMap.d.ts +7 -0
- package/build/library/slices/GoogleMap/GoogleMap.storydata.d.ts +44 -0
- package/build/library/slices/GoogleMap/GoogleMap.types.d.ts +28 -0
- package/build/library/slices/Image/Image.d.ts +8 -0
- package/build/library/slices/Image/Image.storydata.d.ts +2 -0
- package/build/library/slices/Image/Image.types.d.ts +26 -0
- package/build/library/slices/ImageAndText/ImageAndText.d.ts +7 -0
- package/build/library/slices/ImageAndText/ImageAndText.storydata.d.ts +2 -0
- package/build/library/slices/ImageAndText/ImageAndText.types.d.ts +15 -0
- package/build/library/slices/InquestSchedule/InquestSchedule.d.ts +7 -0
- package/build/library/slices/InquestSchedule/InquestSchedule.storydata.d.ts +2 -0
- package/build/library/slices/InquestSchedule/InquestSchedule.types.d.ts +24 -0
- package/build/library/slices/Promotions/Promotions.d.ts +7 -0
- package/build/library/slices/SearchBox/SearchBox.d.ts +4 -0
- package/build/library/slices/SearchBox/SearchBox.storydata.d.ts +2 -0
- package/build/library/slices/SearchBox/SearchBox.types.d.ts +41 -0
- package/build/library/slices/Video/Video.d.ts +7 -0
- package/build/library/slices/Video/Video.types.d.ts +22 -0
- package/build/library/slices/WarningText/WarningText.d.ts +7 -0
- package/build/library/slices/WarningText/WarningText.types.d.ts +15 -0
- package/build/library/slices/WarningTextDisclaimer/WarningTextDisclaimer.d.ts +4 -0
- package/build/library/slices/WarningTextDisclaimer/WarningTextDisclaimer.types.d.ts +2 -0
- package/build/library/structure/AccessibleLinks/AccessibleLinks.d.ts +4 -0
- package/build/library/structure/AccessibleLinks/AccessibleLinks.types.d.ts +20 -0
- package/build/library/structure/AlertBanner/AlertBanner.d.ts +7 -0
- package/build/library/structure/AlertBanner/AlertBanner.types.d.ts +19 -0
- package/build/library/structure/AlertBannerService/AlertBannerService.d.ts +8 -0
- package/build/library/structure/AlertBannerService/AlertBannerService.types.d.ts +19 -0
- package/build/library/structure/BackLink/BackLink.d.ts +4 -0
- package/build/library/structure/BackLink/BackLink.types.d.ts +6 -0
- package/build/library/structure/Breadcrumbs/Breadcrumbs.d.ts +4 -0
- package/build/library/structure/Breadcrumbs/Breadcrumbs.types.d.ts +20 -0
- package/build/library/structure/Contents/Contents.d.ts +4 -0
- package/build/library/structure/Contents/Contents.storydata.d.ts +2 -0
- package/build/library/structure/Contents/Contents.types.d.ts +24 -0
- package/build/library/structure/ContentsNavigation/ContentsNavigation.d.ts +4 -0
- package/build/library/structure/CookieBanner/CookieBanner.d.ts +4 -0
- package/build/library/structure/CookieBanner/CookieBanner.types.d.ts +31 -0
- package/build/library/structure/CookieBanner/CookieClear.d.ts +5 -0
- package/build/library/structure/DisplayDate/DisplayDate.d.ts +7 -0
- package/build/library/structure/DisplayDate/DisplayDate.types.d.ts +18 -0
- package/build/library/structure/Footer/Footer.d.ts +4 -0
- package/build/library/structure/Footer/Footer.types.d.ts +24 -0
- package/build/library/structure/FullWidthContainer/FullWidthContainer.d.ts +7 -0
- package/build/library/structure/FullWidthContainer/FullWidthContainer.types.d.ts +15 -0
- package/build/library/structure/Header/Header.d.ts +7 -0
- package/build/library/structure/Header/Header.types.d.ts +31 -0
- package/build/library/structure/HeroImage/HeroImage.d.ts +8 -0
- package/build/library/structure/HeroImage/HeroImage.storydata.d.ts +6 -0
- package/build/library/structure/HeroImage/HeroImage.types.d.ts +48 -0
- package/build/library/structure/HomeHero/HomeHero.d.ts +7 -0
- package/build/library/structure/HomeHero/HomeHero.storydata.d.ts +14 -0
- package/build/library/structure/HomeHero/HomeHero.types.d.ts +54 -0
- package/build/library/structure/MaxWidthContainer/MaxWidthContainer.d.ts +7 -0
- package/build/library/structure/MaxWidthContainer/MaxWidthContainer.types.d.ts +23 -0
- package/build/library/structure/MemorialHero/MemorialHero.d.ts +4 -0
- package/build/library/structure/MemorialHero/MemorialHero.types.d.ts +27 -0
- package/build/library/structure/NewsArticleDate/NewsArticleDate.d.ts +7 -0
- package/build/library/structure/NewsArticleDate/NewsArticleDate.types.d.ts +10 -0
- package/build/library/structure/NewsArticleFeaturedBlock/NewsArticleFeaturedBlock.d.ts +7 -0
- package/build/library/structure/NewsArticleFeaturedBlock/NewsArticleFeaturedBlock.types.d.ts +23 -0
- package/build/library/structure/NewsArticleFilterAccordion/NewsArticleFilterAccordion.d.ts +4 -0
- package/build/library/structure/NewsArticleFilterAccordion/NewsArticleFilterAccordion.types.d.ts +7 -0
- package/build/library/structure/NewsArticleImage/NewsArticleImage.d.ts +7 -0
- package/build/library/structure/NewsArticleImage/NewsArticleImage.types.d.ts +18 -0
- package/build/library/structure/NewsArticleList/NewsArticleData.d.ts +7 -0
- package/build/library/structure/NewsArticleList/NewsArticleList.d.ts +4 -0
- package/build/library/structure/NewsArticleList/NewsArticleList.types.d.ts +28 -0
- package/build/library/structure/NewsArticleListHeader/NewsArticleListHeader.d.ts +4 -0
- package/build/library/structure/NewsArticleListHeader/NewsArticleListHeader.types.d.ts +6 -0
- package/build/library/structure/NewsArticleOldBanner/NewsArticleOldBanner.d.ts +7 -0
- package/build/library/structure/NewsArticleOldBanner/NewsArticleOldBanner.types.d.ts +2 -0
- package/build/library/structure/PageMain/PageMain.d.ts +7 -0
- package/build/library/structure/PageMain/PageMain.types.d.ts +15 -0
- package/build/library/structure/PageSidebar/PageSidebar.d.ts +7 -0
- package/build/library/structure/PageSidebar/PageSidebar.types.d.ts +7 -0
- package/build/library/structure/PageStructures.d.ts +42 -0
- package/build/library/structure/PageTitle/PageTitle.d.ts +7 -0
- package/build/library/structure/PageTitle/PageTitle.types.d.ts +11 -0
- package/build/library/structure/PageWithSidebarContainer/PageWithSidebarContainer.d.ts +7 -0
- package/build/library/structure/PageWithSidebarContainer/PageWithSidebarContainer.types.d.ts +11 -0
- package/build/library/structure/PageWrapper/PageWrapper.d.ts +4 -0
- package/build/library/structure/PageWrapper/PageWrapper.types.d.ts +11 -0
- package/build/library/structure/PhaseBanner/PhaseBanner.d.ts +4 -0
- package/build/library/structure/PhaseBanner/PhaseBanner.types.d.ts +3 -0
- package/build/library/structure/PromoBanner/PromoBanner.d.ts +8 -0
- package/build/library/structure/PromoBanner/PromoBanner.storydata.d.ts +10 -0
- package/build/library/structure/PromoBanner/PromoBanner.types.d.ts +27 -0
- package/build/library/structure/PromoBlock/PromoBlock.d.ts +8 -0
- package/build/library/structure/PromoBlock/PromoBlock.storydata.d.ts +5 -0
- package/build/library/structure/PromoBlock/PromoBlock.types.d.ts +36 -0
- package/build/library/structure/SearchHeader/SearchHeader.d.ts +4 -0
- package/build/library/structure/SearchHeader/SearchHeader.types.d.ts +2 -0
- package/build/library/structure/SearchResultsList/SearchResultsList.d.ts +4 -0
- package/build/library/structure/SearchResultsList/SearchResultsList.types.d.ts +45 -0
- package/build/library/structure/Searchbar/Searchbar.d.ts +4 -0
- package/build/library/structure/Searchbar/Searchbar.types.d.ts +48 -0
- package/build/library/structure/SectionLinks/SectionLinks.d.ts +7 -0
- package/build/library/structure/SectionLinks/SectionLinks.storydata.d.ts +2 -0
- package/build/library/structure/SectionLinks/SectionLinks.types.d.ts +52 -0
- package/build/library/structure/SectionLinksMobileContents/SectionLinksMobileContents.d.ts +4 -0
- package/build/library/structure/SectionLinksMobileContents/SectionLinksMobileContents.types.d.ts +16 -0
- package/build/library/structure/SectionLinksSidebar/SectionLinksSidebar.d.ts +4 -0
- package/build/library/structure/SectionLinksSidebar/SectionLinksSidebar.types.d.ts +34 -0
- package/build/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.d.ts +4 -0
- package/build/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.storydata.d.ts +9 -0
- package/build/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.types.d.ts +53 -0
- package/build/library/structure/ServicesLinksList/ServicesLinksList.d.ts +4 -0
- package/build/library/structure/ServicesLinksList/ServicesLinksList.types.d.ts +68 -0
- package/build/library/structure/SignpostLinks/SignpostLinks.d.ts +4 -0
- package/build/library/structure/SignpostLinks/SignpostLinks.types.d.ts +32 -0
- package/build/library/structure/SkipToMainContent/SkipToMainContent.d.ts +4 -0
- package/build/library/structure/SkipToMainContent/SkipToMainContent.types.d.ts +2 -0
- package/build/library/structure/Summary/Summary.d.ts +4 -0
- package/build/library/structure/Summary/Summary.types.d.ts +15 -0
- package/package.json +117 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface AlphabeticalDirectoryProps {
|
|
2
|
+
/**
|
|
3
|
+
* What is this?
|
|
4
|
+
*/
|
|
5
|
+
data: Array<AlphabeticalDirectoryLetterProps>;
|
|
6
|
+
}
|
|
7
|
+
export interface AlphabeticalDirectoryLetterProps {
|
|
8
|
+
/**
|
|
9
|
+
* What is this?
|
|
10
|
+
*/
|
|
11
|
+
group: string;
|
|
12
|
+
/**
|
|
13
|
+
* Data to show in directory
|
|
14
|
+
*/
|
|
15
|
+
children: Array<AlphabeticalDirectoryDataProps>;
|
|
16
|
+
}
|
|
17
|
+
export interface AlphabeticalDirectoryDataProps {
|
|
18
|
+
/**
|
|
19
|
+
* What is this?
|
|
20
|
+
*/
|
|
21
|
+
title: string;
|
|
22
|
+
/**
|
|
23
|
+
* Data to show in directory
|
|
24
|
+
*/
|
|
25
|
+
url: string;
|
|
26
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AutocompleteProps } from './Autocomplete.types';
|
|
3
|
+
/**
|
|
4
|
+
* Autocomplete input; Downshift wrapped around our Input component but with the capability to
|
|
5
|
+
* accept a list of suggestions which are presented to the user as they type and which they can
|
|
6
|
+
* click on to select. If viewing in Storybook, try typing the name of a fruit in the story examples.
|
|
7
|
+
*/
|
|
8
|
+
declare const Autocomplete: React.FunctionComponent<AutocompleteProps>;
|
|
9
|
+
export default Autocomplete;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
export declare const EmptyWithHiddenLabelData: {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
labelText: string;
|
|
5
|
+
hasHiddenLabel: boolean;
|
|
6
|
+
placeholder: string;
|
|
7
|
+
suggestions: string[];
|
|
8
|
+
minimumMatchLength: number;
|
|
9
|
+
};
|
|
10
|
+
export declare const NoMatchingSuggestionEnlargedWithHiddenLabelData: {
|
|
11
|
+
id: string;
|
|
12
|
+
name: string;
|
|
13
|
+
labelText: string;
|
|
14
|
+
value: string;
|
|
15
|
+
isLarge: boolean;
|
|
16
|
+
hasHiddenLabel: boolean;
|
|
17
|
+
placeholder: string;
|
|
18
|
+
suggestions: string[];
|
|
19
|
+
minimumMatchLength: number;
|
|
20
|
+
};
|
|
21
|
+
export declare const DisplayingSuggestionsData: {
|
|
22
|
+
id: string;
|
|
23
|
+
name: string;
|
|
24
|
+
value: string;
|
|
25
|
+
showSuggestions: boolean;
|
|
26
|
+
placeholder: string;
|
|
27
|
+
suggestions: string[];
|
|
28
|
+
minimumMatchLength: number;
|
|
29
|
+
};
|
|
30
|
+
export declare const DisplayingSuggestionsLargeData: {
|
|
31
|
+
id: string;
|
|
32
|
+
name: string;
|
|
33
|
+
value: string;
|
|
34
|
+
showSuggestions: boolean;
|
|
35
|
+
isLarge: boolean;
|
|
36
|
+
placeholder: string;
|
|
37
|
+
suggestions: string[];
|
|
38
|
+
minimumMatchLength: number;
|
|
39
|
+
};
|
|
40
|
+
export declare const SuggestionChosenData: {
|
|
41
|
+
id: string;
|
|
42
|
+
name: string;
|
|
43
|
+
value: string;
|
|
44
|
+
placeholder: string;
|
|
45
|
+
suggestions: string[];
|
|
46
|
+
minimumMatchLength: number;
|
|
47
|
+
};
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
export interface AutocompleteProps {
|
|
2
|
+
/**
|
|
3
|
+
* ID attribute of the Downshift control (subsidiary label/input/menu list get IDs based upon this)
|
|
4
|
+
*/
|
|
5
|
+
id?: string;
|
|
6
|
+
/**
|
|
7
|
+
* Name attribute of the input control
|
|
8
|
+
*/
|
|
9
|
+
name?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Text content of the label for the control, if empty will use placeholder
|
|
12
|
+
*/
|
|
13
|
+
labelText?: string;
|
|
14
|
+
/**
|
|
15
|
+
* If you want the label visually hidden (but available for screen readers)
|
|
16
|
+
*/
|
|
17
|
+
hasHiddenLabel?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Default value of the input control
|
|
20
|
+
*/
|
|
21
|
+
value?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Size of the input control
|
|
24
|
+
*/
|
|
25
|
+
size?: number;
|
|
26
|
+
/**
|
|
27
|
+
* Placeholder within the input control
|
|
28
|
+
*/
|
|
29
|
+
placeholder?: string;
|
|
30
|
+
/**
|
|
31
|
+
* For slightly larger display in some circumstances
|
|
32
|
+
*/
|
|
33
|
+
isLarge?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Set to true if there will be a button adjacent on the right (affects right-hand border radii)
|
|
36
|
+
*/
|
|
37
|
+
hasAdjacentButton?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Controls the input control's error state
|
|
40
|
+
*/
|
|
41
|
+
isErrored?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Text to display if input control is in error state
|
|
44
|
+
*/
|
|
45
|
+
errorText?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Array of suggestion strings
|
|
48
|
+
*/
|
|
49
|
+
suggestions?: string[];
|
|
50
|
+
/**
|
|
51
|
+
* Controls whether suggestions are shown immediately (if value set also)
|
|
52
|
+
*/
|
|
53
|
+
showSuggestions?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* The minimum number of characters that need to be typed before matches in the suggestions list are looked for
|
|
56
|
+
*/
|
|
57
|
+
minimumMatchLength?: number;
|
|
58
|
+
/**
|
|
59
|
+
* The maximum number of matched suggestions shown in the dropdown list
|
|
60
|
+
*/
|
|
61
|
+
maximumMatchesShown?: number;
|
|
62
|
+
/**
|
|
63
|
+
* Callback function for when a suggestion is selected
|
|
64
|
+
*/
|
|
65
|
+
onSelect?: (selectedValue: string) => void;
|
|
66
|
+
/**
|
|
67
|
+
* Callback function for when input value changes
|
|
68
|
+
*/
|
|
69
|
+
onChange?: (inputValue: string) => void;
|
|
70
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ButtonProps {
|
|
3
|
+
/**
|
|
4
|
+
* Is this the principal Button on the page?
|
|
5
|
+
*/
|
|
6
|
+
primary?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* How large should the Button be?
|
|
9
|
+
*/
|
|
10
|
+
size?: 'small' | 'medium' | 'large';
|
|
11
|
+
/**
|
|
12
|
+
* Button label
|
|
13
|
+
*/
|
|
14
|
+
text?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Button title optional
|
|
17
|
+
*/
|
|
18
|
+
title?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The URL for where to load when a user clicks on the Button
|
|
21
|
+
*/
|
|
22
|
+
url: string;
|
|
23
|
+
/**
|
|
24
|
+
* Is the link to an external page?
|
|
25
|
+
*/
|
|
26
|
+
isExternal?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Is the button disabled?
|
|
29
|
+
*/
|
|
30
|
+
isDisabled?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* onClick
|
|
33
|
+
*/
|
|
34
|
+
onClick?: Function;
|
|
35
|
+
/**
|
|
36
|
+
* Optional override for the colour
|
|
37
|
+
*/
|
|
38
|
+
colourOverride?: string;
|
|
39
|
+
/**
|
|
40
|
+
* Button contents
|
|
41
|
+
*/
|
|
42
|
+
children?: React.ReactNode;
|
|
43
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export interface CardProps {
|
|
2
|
+
/**
|
|
3
|
+
* Optional card header
|
|
4
|
+
*/
|
|
5
|
+
header?: string | null;
|
|
6
|
+
/**
|
|
7
|
+
* The card content as a string of html
|
|
8
|
+
*/
|
|
9
|
+
content?: string | null;
|
|
10
|
+
/**
|
|
11
|
+
* Optional large image
|
|
12
|
+
* */
|
|
13
|
+
imageLarge?: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* Optional small image
|
|
16
|
+
*/
|
|
17
|
+
imageSmall?: string | null;
|
|
18
|
+
/**
|
|
19
|
+
* Optional image alt text
|
|
20
|
+
*/
|
|
21
|
+
imageAltText?: string | null;
|
|
22
|
+
/**
|
|
23
|
+
* The optional footer link
|
|
24
|
+
*/
|
|
25
|
+
footerLink?: CardFooterLinkProps | null;
|
|
26
|
+
}
|
|
27
|
+
export interface CardFooterLinkProps {
|
|
28
|
+
/**
|
|
29
|
+
* The url for the link
|
|
30
|
+
*/
|
|
31
|
+
url: string;
|
|
32
|
+
/**
|
|
33
|
+
* The text for the link
|
|
34
|
+
*/
|
|
35
|
+
title: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export interface CheckboxListFilterProps {
|
|
2
|
+
/**
|
|
3
|
+
* What to show in the checkboxes
|
|
4
|
+
*/
|
|
5
|
+
options: Array<CheckboxValsProps>;
|
|
6
|
+
/**
|
|
7
|
+
* Which fields are checked
|
|
8
|
+
*/
|
|
9
|
+
checked: Array<string>;
|
|
10
|
+
/**
|
|
11
|
+
* The label text
|
|
12
|
+
*/
|
|
13
|
+
label: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* The hint text
|
|
16
|
+
*/
|
|
17
|
+
hint: string | null;
|
|
18
|
+
/**
|
|
19
|
+
* The id for the hint aria-describedby
|
|
20
|
+
*/
|
|
21
|
+
hintId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* Should the legend be displayed
|
|
24
|
+
*/
|
|
25
|
+
displayLegend: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface CheckboxValsProps {
|
|
28
|
+
/**
|
|
29
|
+
* Text shown in dropdown
|
|
30
|
+
*/
|
|
31
|
+
title: string;
|
|
32
|
+
/**
|
|
33
|
+
* Filter sent to the all seeing server
|
|
34
|
+
*/
|
|
35
|
+
value: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface ColumnProps {
|
|
3
|
+
/**
|
|
4
|
+
* Available column sizes for small screen
|
|
5
|
+
*/
|
|
6
|
+
small?: 'full' | 'one-half' | 'one-third' | 'two-thirds' | 'one-quarter' | 'three-quarters' | 'auto';
|
|
7
|
+
/**
|
|
8
|
+
* Available column sizes for small screen
|
|
9
|
+
*/
|
|
10
|
+
medium?: 'full' | 'one-half' | 'one-third' | 'two-thirds' | 'one-quarter' | 'three-quarters' | 'auto';
|
|
11
|
+
/**
|
|
12
|
+
* Available column sizes for small screen
|
|
13
|
+
*/
|
|
14
|
+
large?: 'full' | 'one-half' | 'one-third' | 'two-thirds' | 'one-quarter' | 'three-quarters' | 'auto';
|
|
15
|
+
/**
|
|
16
|
+
* Should the column have padding
|
|
17
|
+
*/
|
|
18
|
+
hasPadding?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* Option to display the border
|
|
21
|
+
* Should only used for demonstrating grid
|
|
22
|
+
*/
|
|
23
|
+
hasBorder?: boolean;
|
|
24
|
+
/**
|
|
25
|
+
* Is the column within a list
|
|
26
|
+
*/
|
|
27
|
+
isList?: boolean;
|
|
28
|
+
/**
|
|
29
|
+
* Any optional classes to add to the column
|
|
30
|
+
*/
|
|
31
|
+
classes?: string;
|
|
32
|
+
/**
|
|
33
|
+
* The contents of the column
|
|
34
|
+
*/
|
|
35
|
+
children?: React.ReactNode;
|
|
36
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
export interface CustomSearchProps {
|
|
2
|
+
/**
|
|
3
|
+
* Field name for search box
|
|
4
|
+
*/
|
|
5
|
+
fieldName: string;
|
|
6
|
+
/**
|
|
7
|
+
* The search box id
|
|
8
|
+
*/
|
|
9
|
+
id?: string;
|
|
10
|
+
/**
|
|
11
|
+
* The search box label
|
|
12
|
+
*/
|
|
13
|
+
label: string;
|
|
14
|
+
/**
|
|
15
|
+
* Should the label be visible
|
|
16
|
+
*/
|
|
17
|
+
hasHiddenLabel?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* Form submission method
|
|
20
|
+
*/
|
|
21
|
+
method: string;
|
|
22
|
+
/**
|
|
23
|
+
* Where to submit the form
|
|
24
|
+
*/
|
|
25
|
+
path: string;
|
|
26
|
+
/**
|
|
27
|
+
* Optional placeholder text
|
|
28
|
+
*/
|
|
29
|
+
placeholder?: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* The search button text
|
|
32
|
+
*/
|
|
33
|
+
searchText: string;
|
|
34
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export interface DropDownFilterProps {
|
|
2
|
+
/**
|
|
3
|
+
* ID of the select
|
|
4
|
+
*/
|
|
5
|
+
id?: string;
|
|
6
|
+
/**
|
|
7
|
+
* What question are we asking?
|
|
8
|
+
*/
|
|
9
|
+
label: string;
|
|
10
|
+
/**
|
|
11
|
+
* What to show in the dropdown
|
|
12
|
+
*/
|
|
13
|
+
options: Array<DropDownFilterOptionsProps>;
|
|
14
|
+
/**
|
|
15
|
+
* Which value is auto selected
|
|
16
|
+
*/
|
|
17
|
+
selected: string;
|
|
18
|
+
/**
|
|
19
|
+
* Hide label, but visible for screen readers (totally optional)
|
|
20
|
+
*/
|
|
21
|
+
hideLabel?: boolean;
|
|
22
|
+
}
|
|
23
|
+
export interface DropDownFilterOptionsProps {
|
|
24
|
+
/**
|
|
25
|
+
* Text shown in dropdown
|
|
26
|
+
*/
|
|
27
|
+
title: string;
|
|
28
|
+
/**
|
|
29
|
+
* Filter sent to the all seeing server
|
|
30
|
+
*/
|
|
31
|
+
value: string;
|
|
32
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export interface DropDownSelectProps {
|
|
2
|
+
/**
|
|
3
|
+
* ID for the dropdown
|
|
4
|
+
*/
|
|
5
|
+
id?: string;
|
|
6
|
+
/**
|
|
7
|
+
* What question are we asking?
|
|
8
|
+
*/
|
|
9
|
+
label: string;
|
|
10
|
+
/**
|
|
11
|
+
* Which value is auto selected
|
|
12
|
+
*/
|
|
13
|
+
selected?: string;
|
|
14
|
+
/**
|
|
15
|
+
* What to show in the dropdown
|
|
16
|
+
*/
|
|
17
|
+
options: Array<DropDownSelectOptionsProps>;
|
|
18
|
+
/**
|
|
19
|
+
* A function tfor what happnens if the select is changed (totally optional)
|
|
20
|
+
*/
|
|
21
|
+
onChange?: (e: any) => void;
|
|
22
|
+
/**
|
|
23
|
+
* Hide label, but visible for screen readers (totally optional)
|
|
24
|
+
*/
|
|
25
|
+
hideLabel?: boolean;
|
|
26
|
+
}
|
|
27
|
+
export interface DropDownSelectOptionsProps {
|
|
28
|
+
/**
|
|
29
|
+
* Text shown in dropdown
|
|
30
|
+
*/
|
|
31
|
+
title: string;
|
|
32
|
+
/**
|
|
33
|
+
* Filter sent to the all seeing server
|
|
34
|
+
*/
|
|
35
|
+
value: string;
|
|
36
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface FileDownloadProps {
|
|
2
|
+
/**
|
|
3
|
+
* The title of the file, not including the file extension
|
|
4
|
+
**/
|
|
5
|
+
title: string;
|
|
6
|
+
/**
|
|
7
|
+
* The type of file
|
|
8
|
+
**/
|
|
9
|
+
type: string;
|
|
10
|
+
/**
|
|
11
|
+
* A URL to download the file
|
|
12
|
+
**/
|
|
13
|
+
url: string;
|
|
14
|
+
/**
|
|
15
|
+
* The size of the file in KB or MB
|
|
16
|
+
**/
|
|
17
|
+
size: string;
|
|
18
|
+
/**
|
|
19
|
+
* Should the file be marked as archived
|
|
20
|
+
*/
|
|
21
|
+
archived: boolean;
|
|
22
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface FormButtonProps {
|
|
3
|
+
/**
|
|
4
|
+
* Button label
|
|
5
|
+
*/
|
|
6
|
+
text: string;
|
|
7
|
+
/**
|
|
8
|
+
* Is this the principal Button on the page?
|
|
9
|
+
*/
|
|
10
|
+
primary?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* How large should the Button be?
|
|
13
|
+
*/
|
|
14
|
+
size?: 'small' | 'medium' | 'large';
|
|
15
|
+
/**
|
|
16
|
+
* Button type, defaults to submit
|
|
17
|
+
*/
|
|
18
|
+
type?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Is the button disabled?
|
|
21
|
+
*/
|
|
22
|
+
isDisabled?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
* Is the button disabled?
|
|
25
|
+
*/
|
|
26
|
+
onClick?: React.ReactNode | ((e: any) => void);
|
|
27
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface FormWithLineProps {
|
|
3
|
+
/**
|
|
4
|
+
* The colour of the line
|
|
5
|
+
*/
|
|
6
|
+
lineColour?: string;
|
|
7
|
+
/**
|
|
8
|
+
* An optional boolean to hide the line
|
|
9
|
+
*/
|
|
10
|
+
hideLine?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* The role of the form
|
|
13
|
+
*/
|
|
14
|
+
formRole?: string;
|
|
15
|
+
/**
|
|
16
|
+
* The method of the form
|
|
17
|
+
*/
|
|
18
|
+
formMethod?: string;
|
|
19
|
+
/**
|
|
20
|
+
* The url of the form
|
|
21
|
+
*/
|
|
22
|
+
formURL?: string;
|
|
23
|
+
/**
|
|
24
|
+
* An optional boolean to set the form as an error - if true, the lineColour will be replaced with red
|
|
25
|
+
*/
|
|
26
|
+
isError?: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* An optional string to explain the error
|
|
29
|
+
*/
|
|
30
|
+
errorSummary?: string;
|
|
31
|
+
/**
|
|
32
|
+
* An optional function to be called on the submit of the form
|
|
33
|
+
*/
|
|
34
|
+
onSubmit?: React.ReactNode | ((e: any) => void);
|
|
35
|
+
/**
|
|
36
|
+
* The FormWithLine contents
|
|
37
|
+
*/
|
|
38
|
+
children: React.ReactNode;
|
|
39
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { HeadingWithIconProps } from './HeadingWithIcon.types';
|
|
3
|
+
/**
|
|
4
|
+
* A Heading With an Icon - used for service landing pages
|
|
5
|
+
*/
|
|
6
|
+
declare const HeadingWithIcon: React.FunctionComponent<HeadingWithIconProps>;
|
|
7
|
+
export default HeadingWithIcon;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
export interface HeadingWithIconProps {
|
|
2
|
+
/**
|
|
3
|
+
* What level of heading is this?
|
|
4
|
+
*/
|
|
5
|
+
level?: number;
|
|
6
|
+
/**
|
|
7
|
+
* The text of the title
|
|
8
|
+
*/
|
|
9
|
+
text: string;
|
|
10
|
+
/**
|
|
11
|
+
* The icon
|
|
12
|
+
*/
|
|
13
|
+
icon: string;
|
|
14
|
+
/**
|
|
15
|
+
* Should there be a hover effect on the icon
|
|
16
|
+
*/
|
|
17
|
+
hasHover?: boolean;
|
|
18
|
+
}
|