@nnc-digital/nnc-design-system 0.4.39 → 1.0.0-alpha10
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/README.md +9 -32
- package/build/index.js +9255 -8597
- package/build/index.js.map +1 -1
- package/build/index.mjs.js +33037 -0
- package/build/index.mjs.js.map +1 -0
- package/build/jest.setup.d.ts +2 -0
- package/build/src/index.d.ts +42 -0
- package/build/src/library/components/AlphabeticalDirectory/AlphabeticalDirectory.d.ts +4 -0
- package/build/src/library/components/AlphabeticalDirectory/AlphabeticalDirectory.types.d.ts +26 -0
- package/build/src/library/components/Autocomplete/Autocomplete.d.ts +9 -0
- package/build/src/library/components/Autocomplete/Autocomplete.storydata.d.ts +47 -0
- package/build/src/library/components/Autocomplete/Autocomplete.test.d.ts +1 -0
- package/build/src/library/components/Autocomplete/Autocomplete.types.d.ts +78 -0
- package/build/src/library/components/BackToTop/BackToTop.d.ts +4 -0
- package/build/src/library/components/BackToTop/BackToTop.test.d.ts +1 -0
- package/build/src/library/components/BackToTop/BackToTop.types.d.ts +6 -0
- package/build/src/library/components/BinCollection/BinCollection.d.ts +7 -0
- package/build/src/library/components/BinCollection/BinCollection.styles.d.ts +2937 -0
- package/build/src/library/components/BinCollection/BinCollection.test.d.ts +1 -0
- package/build/src/library/components/BinCollection/BinCollection.testdata.d.ts +34 -0
- package/build/src/library/components/BinCollection/BinCollection.types.d.ts +68 -0
- package/build/src/library/components/Button/Button.d.ts +7 -0
- package/build/src/library/components/Button/Button.types.d.ts +43 -0
- package/build/src/library/components/Card/Card.d.ts +7 -0
- package/build/src/library/components/Card/Card.test.d.ts +1 -0
- package/build/src/library/components/Card/Card.types.d.ts +36 -0
- package/build/src/library/components/CheckboxListFilter/CheckboxListFilter.d.ts +4 -0
- package/build/src/library/components/CheckboxListFilter/CheckboxListFilter.test.d.ts +1 -0
- package/build/src/library/components/CheckboxListFilter/CheckboxListFilter.types.d.ts +36 -0
- package/build/src/library/components/Column/Column.d.ts +4 -0
- package/build/src/library/components/Column/Column.test.d.ts +1 -0
- package/build/src/library/components/Column/Column.types.d.ts +35 -0
- package/build/src/library/components/CustomSearch/CustomSearch.d.ts +4 -0
- package/build/src/library/components/CustomSearch/CustomSearch.storydata.d.ts +2 -0
- package/build/src/library/components/CustomSearch/CustomSearch.test.d.ts +1 -0
- package/build/src/library/components/CustomSearch/CustomSearch.types.d.ts +34 -0
- package/build/src/library/components/DropDownFilter/DropDownFilter.d.ts +4 -0
- package/build/src/library/components/DropDownFilter/DropDownFilter.types.d.ts +32 -0
- package/build/src/library/components/DropDownSelect/DropDownSelect.d.ts +4 -0
- package/build/src/library/components/DropDownSelect/DropDownSelect.types.d.ts +36 -0
- package/build/src/library/components/DynamicIcon/DynamicIcon.d.ts +7 -0
- package/build/src/library/components/DynamicIcon/DynamicIcon.test.d.ts +1 -0
- package/build/src/library/components/DynamicIcon/DynamicIcon.types.d.ts +10 -0
- package/build/src/library/components/FileDownload/FileDownload.d.ts +7 -0
- package/build/src/library/components/FileDownload/FileDownload.test.d.ts +1 -0
- package/build/src/library/components/FileDownload/FileDownload.types.d.ts +22 -0
- package/build/src/library/components/FormButton/FormButton.d.ts +7 -0
- package/build/src/library/components/FormButton/FormButton.types.d.ts +26 -0
- package/build/src/library/components/FormWithLine/FormWithLine.d.ts +7 -0
- package/build/src/library/components/FormWithLine/FormWithLine.types.d.ts +39 -0
- package/build/src/library/components/Heading/Heading.d.ts +7 -0
- package/build/src/library/components/Heading/Heading.types.d.ts +10 -0
- package/build/src/library/components/HeadingWithIcon/HeadingWithIcon.d.ts +7 -0
- package/build/src/library/components/HeadingWithIcon/HeadingWithIcon.test.d.ts +1 -0
- package/build/src/library/components/HeadingWithIcon/HeadingWithIcon.types.d.ts +18 -0
- package/build/src/library/components/HeadingWithIconLink/HeadingWithIconLink.d.ts +4 -0
- package/build/src/library/components/HeadingWithIconLink/HeadingWithIconLink.test.d.ts +1 -0
- package/build/src/library/components/HeadingWithIconLink/HeadingWithIconLink.types.d.ts +14 -0
- package/build/src/library/components/HintText/HintText.d.ts +7 -0
- package/build/src/library/components/HintText/HintText.types.d.ts +6 -0
- package/build/src/library/components/Input/Input.d.ts +8 -0
- package/build/src/library/components/Input/Input.types.d.ts +52 -0
- package/build/src/library/components/LoadingSpinner/LoadingSpinner.d.ts +4 -0
- package/build/src/library/components/LoadingSpinner/LoadingSpinner.types.d.ts +2 -0
- package/build/src/library/components/Map/Map.d.ts +7 -0
- package/build/src/library/components/Map/Map.types.d.ts +15 -0
- package/build/src/library/components/MapMarker/MapMarker.d.ts +6 -0
- package/build/src/library/components/Pagination/Pagination.d.ts +4 -0
- package/build/src/library/components/Pagination/Pagination.test.d.ts +1 -0
- package/build/src/library/components/Pagination/Pagination.types.d.ts +23 -0
- package/build/src/library/components/PostCodeAddressDropdown/PostCodeAddressDropdown.d.ts +7 -0
- package/build/src/library/components/PostCodeAddressDropdown/PostCodeAddressDropdown.types.d.ts +2 -0
- package/build/src/library/components/PostCodeAddressSearch/PostCodeAddressSearch.d.ts +7 -0
- package/build/src/library/components/PostCodeAddressSearch/PostCodeAddressSearch.types.d.ts +23 -0
- package/build/src/library/components/PostCodeAddressTable/PostCodeAddressTable.d.ts +4 -0
- package/build/src/library/components/PostCodeAddressTable/PostCodeAddressTable.types.d.ts +2 -0
- package/build/src/library/components/PostCodeSearch/PostCodeSearch.d.ts +7 -0
- package/build/src/library/components/PostCodeSearch/PostCodeSearch.test.d.ts +1 -0
- package/build/src/library/components/PostCodeSearch/PostCodeSearch.types.d.ts +52 -0
- package/build/src/library/components/PromotedLinks/PromotedLinks.d.ts +4 -0
- package/build/src/library/components/PromotedLinks/PromotedLinks.test.d.ts +1 -0
- package/build/src/library/components/PromotedLinks/PromotedLinks.types.d.ts +20 -0
- package/build/src/library/components/RadioCheckboxInput/RadioCheckboxInput.d.ts +4 -0
- package/build/src/library/components/RadioCheckboxInput/RadioCheckboxInput.test.d.ts +1 -0
- package/build/src/library/components/RadioCheckboxInput/RadioCheckboxInput.types.d.ts +26 -0
- package/build/src/library/components/RemovableTag/RemovableTag.d.ts +4 -0
- package/build/src/library/components/RemovableTag/RemovableTag.types.d.ts +8 -0
- package/build/src/library/components/RemoveAllFilters/RemoveAllFilters.d.ts +4 -0
- package/build/src/library/components/RemoveAllFilters/RemoveAllFilters.types.d.ts +3 -0
- package/build/src/library/components/Row/Row.d.ts +4 -0
- package/build/src/library/components/Row/Row.test.d.ts +1 -0
- package/build/src/library/components/Row/Row.types.d.ts +20 -0
- package/build/src/library/components/SignpostLinksList/SignpostLinksList.d.ts +4 -0
- package/build/src/library/components/SignpostLinksList/SignpostLinksList.types.d.ts +24 -0
- package/build/src/library/components/SortBy/SortBy.d.ts +4 -0
- package/build/src/library/components/SortBy/SortBy.types.d.ts +20 -0
- package/build/src/library/components/StaticMap/StaticMap.d.ts +7 -0
- package/build/src/library/components/StaticMap/StaticMap.test.d.ts +1 -0
- package/build/src/library/components/StaticMap/StaticMap.types.d.ts +52 -0
- package/build/src/library/components/SummaryList/SummaryList.d.ts +4 -0
- package/build/src/library/components/SummaryList/SummaryList.test.d.ts +1 -0
- package/build/src/library/components/SummaryList/SummaryList.types.d.ts +21 -0
- package/build/src/library/components/TextInput/TextInput.d.ts +7 -0
- package/build/src/library/components/TextInput/TextInput.types.d.ts +38 -0
- package/build/src/library/components/icons/ChevronIcon/ChevronIcon.d.ts +4 -0
- package/build/src/library/components/icons/ChevronIcon/ChevronIcon.types.d.ts +10 -0
- package/build/src/library/components/icons/CloseIcon/CloseIcon.d.ts +4 -0
- package/build/src/library/components/icons/CloseIcon/CloseIcon.types.d.ts +6 -0
- package/build/src/library/components/icons/DownloadFileIcon/DownloadFileIcon.d.ts +4 -0
- package/build/src/library/components/icons/DownloadFileIcon/DownloadFileIcon.types.d.ts +6 -0
- package/build/src/library/components/icons/EmailIcon/EmailIcon.d.ts +4 -0
- package/build/src/library/components/icons/EmailIcon/EmailIcon.types.d.ts +6 -0
- package/build/src/library/components/icons/FacebookIcon/Icon.d.ts +4 -0
- package/build/src/library/components/icons/HeartIcon/HeartIcon.d.ts +7 -0
- package/build/src/library/components/icons/HeartIcon/HeartIcon.types.d.ts +6 -0
- package/build/src/library/components/icons/InstagramIcon/Icon.d.ts +4 -0
- package/build/src/library/components/icons/LinkIcon/LinkIcon.d.ts +4 -0
- package/build/src/library/components/icons/LinkIcon/LinkIcon.types.d.ts +6 -0
- package/build/src/library/components/icons/LinkedInIcon/Icon.d.ts +4 -0
- package/build/src/library/components/icons/PhoneIcon/PhoneIcon.d.ts +4 -0
- package/build/src/library/components/icons/PhoneIcon/PhoneIcon.types.d.ts +6 -0
- package/build/src/library/components/icons/PinIcon/PinIcon.d.ts +7 -0
- package/build/src/library/components/icons/PinIcon/PinIcon.types.d.ts +6 -0
- package/build/src/library/components/icons/SearchIcon/SearchIcon.d.ts +4 -0
- package/build/src/library/components/icons/SearchIcon/SearchIcon.types.d.ts +6 -0
- package/build/src/library/components/icons/TwitterIcon/Icon.d.ts +4 -0
- package/build/src/library/components/icons/WebsiteIcon/WebsiteIcon.d.ts +4 -0
- package/build/src/library/components/icons/WebsiteIcon/WebsiteIcon.types.d.ts +6 -0
- package/build/src/library/components/icons/YouTubeIcon/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/AccessibleParking/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/AccessibleParking/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Address/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Address/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/AddressChange/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/AddressChange/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Adults/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Adults/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/AssistiveTechnology/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/AssistiveTechnology/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Benefits/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Benefits/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/BinDay/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/BinDay/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Bins/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Bins/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/BirthCertificate/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/BirthCertificate/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Births/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Births/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Bollard/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Bollard/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/BulkWaste/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/BulkWaste/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Bus/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Bus/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/BusPass/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/BusPass/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Business/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Business/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Careers/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Careers/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Cash/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Cash/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Catalogue/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Catalogue/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Ceremony/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Ceremony/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Charity/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Charity/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Children/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Children/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Computer/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Computer/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/CondolenceBook/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/CondolenceBook/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Cooking/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Cooking/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Council/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Council/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/CouncilTax/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/CouncilTax/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Covid/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Covid/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Culture/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Culture/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/CultureNorth/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/CultureNorth/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/CultureWest/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/CultureWest/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/DOLS/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/DOLS/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/DeathCertificate/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/DeathCertificate/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Democracy/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Democracy/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/DogFouling/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/DogFouling/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Ebook/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Ebook/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Edit/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Edit/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Environment/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Environment/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Events/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Events/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Finance/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Finance/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Flower/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Flower/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/FlyTip/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/FlyTip/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/FoodWaste/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/FoodWaste/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/GiveNotice/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/GiveNotice/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/GovUK/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/GovUK/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Graffiti/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Graffiti/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Highway/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Highway/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/HouseMoney/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/HouseMoney/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Housing/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Housing/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Icon.types.d.ts +6 -0
- package/build/src/library/components/icons/services/Independence/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Independence/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/KeepingHealthy/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/KeepingHealthy/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Libraries/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Libraries/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Litter/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Litter/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/LookingAfterYourself/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/LookingAfterYourself/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/MapPin/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/MapPin/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Member/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Member/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/MentalHealth/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/MentalHealth/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/MissedBin/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/MissedBin/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/New/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/New/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/OccupationalTherapy/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/OccupationalTherapy/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/ParkEvent/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/ParkEvent/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Parking/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Parking/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/ParkingTicket/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/ParkingTicket/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Pay/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Pay/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/PhonePay/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/PhonePay/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Planning/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Planning/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Pothole/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Pothole/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/PreventingFalls/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/PreventingFalls/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Protect/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Protect/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/RatePay/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/RatePay/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/RegisterBirth/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/RegisterBirth/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/RegisterDeath/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/RegisterDeath/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Report/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Report/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Restrict/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Restrict/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/RoadWorks/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/RoadWorks/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Roads/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Roads/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/RoyalWebsite/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/RoyalWebsite/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/SEND/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/SEND/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Safety/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Safety/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/SchoolAdmissions/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/SchoolAdmissions/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Schools/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Schools/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/ServicesIcons.d.ts +173 -0
- package/build/src/library/components/icons/services/SinglePerson/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/SinglePerson/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Sports/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Sports/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Valuation/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Valuation/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/Venue/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/Venue/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/WasteChecklist/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/WasteChecklist/IconHover.d.ts +4 -0
- package/build/src/library/components/icons/services/WasteSorting/Icon.d.ts +4 -0
- package/build/src/library/components/icons/services/WasteSorting/IconHover.d.ts +4 -0
- package/build/src/library/components/logos/GDSLogo/logo.d.ts +4 -0
- package/build/src/library/components/logos/GDSLogo/logo.types.d.ts +2 -0
- package/build/src/library/components/logos/NorthColouredLogo/logo.d.ts +4 -0
- package/build/src/library/components/logos/NorthColouredLogo/logo.types.d.ts +2 -0
- package/build/src/library/components/logos/NorthWhiteLogo/logo.d.ts +4 -0
- package/build/src/library/components/logos/NorthWhiteLogo/logo.types.d.ts +2 -0
- package/build/src/library/components/logos/WestColouredLogo/logo.d.ts +4 -0
- package/build/src/library/components/logos/WestColouredLogo/logo.types.d.ts +2 -0
- package/build/src/library/components/logos/WestWhiteLogo/logo.d.ts +4 -0
- package/build/src/library/components/logos/WestWhiteLogo/logo.types.d.ts +2 -0
- package/build/src/library/contexts/DirectoryShortListProvider/DirectoryShortListProvider.d.ts +4 -0
- package/build/src/library/contexts/DirectoryShortListProvider/DirectoryShortListProvider.types.d.ts +55 -0
- package/build/src/library/contexts/PostCodeAddressProvider/PostCodeAddressProvider.d.ts +6 -0
- package/build/src/library/contexts/PostCodeAddressProvider/PostCodeAddressProvider.types.d.ts +18 -0
- package/build/src/library/directory/DirectoryAddToShortList/DirectoryAddToShortList.d.ts +4 -0
- package/build/src/library/directory/DirectoryAddToShortList/DirectoryAddToShortList.test.d.ts +1 -0
- package/build/src/library/directory/DirectoryAddToShortList/DirectoryAddToShortList.types.d.ts +26 -0
- package/build/src/library/directory/DirectoryDocumentList/DirectoryDocumentList.d.ts +4 -0
- package/build/src/library/directory/DirectoryDocumentList/DirectoryDocumentList.storydata.d.ts +4 -0
- package/build/src/library/directory/DirectoryDocumentList/DirectoryDocumentList.test.d.ts +1 -0
- package/build/src/library/directory/DirectoryDocumentList/DirectoryDocumentList.types.d.ts +63 -0
- package/build/src/library/directory/DirectoryMap/DirectoryMap.d.ts +4 -0
- package/build/src/library/directory/DirectoryMap/DirectoryMap.types.d.ts +11 -0
- package/build/src/library/directory/DirectoryService/DirectoryService.d.ts +4 -0
- package/build/src/library/directory/DirectoryService/DirectoryService.storydata.d.ts +4 -0
- package/build/src/library/directory/DirectoryService/DirectoryService.test.d.ts +1 -0
- package/build/src/library/directory/DirectoryService/DirectoryService.types.d.ts +278 -0
- package/build/src/library/directory/DirectoryService/DirectoryServiceTransform.d.ts +8 -0
- package/build/src/library/directory/DirectoryServiceList/DirectoryServiceList.d.ts +4 -0
- package/build/src/library/directory/DirectoryServiceList/DirectoryServiceList.storydata.d.ts +6 -0
- package/build/src/library/directory/DirectoryServiceList/DirectoryServiceList.test.d.ts +1 -0
- package/build/src/library/directory/DirectoryServiceList/DirectoryServiceList.types.d.ts +136 -0
- package/build/src/library/directory/DirectoryShortList/DirectoryShortList.d.ts +4 -0
- package/build/src/library/directory/DirectoryShortList/DirectoryShortList.test.d.ts +1 -0
- package/build/src/library/directory/DirectoryShortList/DirectoryShortList.types.d.ts +6 -0
- package/build/src/library/directory/ServiceContact/ServiceContact.d.ts +4 -0
- package/build/src/library/directory/ServiceContact/ServiceContact.test.d.ts +1 -0
- package/build/src/library/directory/ServiceContact/ServiceContact.types.d.ts +42 -0
- package/build/src/library/directory/ServiceSocialLinks/ServiceSocialLinks.d.ts +4 -0
- package/build/src/library/directory/ServiceSocialLinks/ServiceSocialLinks.storydata.d.ts +2 -0
- package/build/src/library/directory/ServiceSocialLinks/ServiceSocialLinks.test.d.ts +1 -0
- package/build/src/library/directory/ServiceSocialLinks/ServiceSocialLinks.types.d.ts +24 -0
- package/build/src/library/helpers/UseLocalStorage.d.ts +2 -0
- package/build/src/library/helpers/api-helpers.d.ts +120 -0
- package/build/src/library/pages/ContentPage/ContentPage.d.ts +4 -0
- package/build/src/library/pages/ContentPage/ContentPage.storydata.d.ts +10 -0
- package/build/src/library/pages/CouncilTaxPageExample/CouncilTaxPageExample.d.ts +5 -0
- package/build/src/library/pages/CouncilTaxParishPageExample/CouncilTaxParishPageExample.d.ts +5 -0
- package/build/src/library/pages/DirectoryServicePage/DirectoryServicePage.d.ts +2 -0
- package/build/src/library/pages/ErrorPage/ErrorPage.d.ts +6 -0
- package/build/src/library/pages/Home/HomePage.d.ts +8 -0
- package/build/src/library/pages/Home/HomePage.types.d.ts +60 -0
- package/build/src/library/pages/MemorialPage/MemorialPage.d.ts +8 -0
- package/build/src/library/pages/MemorialPage/MemorialPage.types.d.ts +59 -0
- package/build/src/library/pages/News/News.d.ts +5 -0
- package/build/src/library/pages/NewsArticle/NewsArticle.d.ts +7 -0
- package/build/src/library/pages/SearchResultsPageExample/SearchResultsPageExample.d.ts +29 -0
- package/build/src/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.d.ts +3 -0
- package/build/src/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.storydata.d.ts +30 -0
- package/build/src/library/pages/ServiceLandingPageExample/ServiceLandingPageExample.types.d.ts +52 -0
- package/build/src/library/pages/ServicePageExample/ServicePageExample.d.ts +7 -0
- package/build/src/library/pages/SignpostPageExample/SignpostPageExample.d.ts +7 -0
- package/build/src/library/pages/Templates/Templates.d.ts +8 -0
- package/build/src/library/slices/Accordion/Accordion.d.ts +4 -0
- package/build/src/library/slices/Accordion/Accordion.test.d.ts +1 -0
- package/build/src/library/slices/Accordion/Accordion.types.d.ts +52 -0
- package/build/src/library/slices/Accordion/AccordionSection.d.ts +4 -0
- package/build/src/library/slices/BlockQuote/BlockQuote.d.ts +4 -0
- package/build/src/library/slices/BlockQuote/BlockQuote.types.d.ts +10 -0
- package/build/src/library/slices/CallToAction/CallToAction.d.ts +7 -0
- package/build/src/library/slices/Cards/Cards.d.ts +7 -0
- package/build/src/library/slices/Cards/Cards.test.d.ts +1 -0
- package/build/src/library/slices/Cards/Cards.types.d.ts +7 -0
- package/build/src/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.d.ts +7 -0
- package/build/src/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.storydata.d.ts +4 -0
- package/build/src/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.test.d.ts +1 -0
- package/build/src/library/slices/CouncilTaxAlphabeticalDirectory/CouncilTaxAlphabeticalDirectory.types.d.ts +81 -0
- package/build/src/library/slices/Divider/Divider.d.ts +4 -0
- package/build/src/library/slices/Divider/Divider.types.d.ts +2 -0
- package/build/src/library/slices/DownloadableFiles/DownloadableFiles.d.ts +4 -0
- package/build/src/library/slices/DownloadableFiles/DownloadableFiles.types.d.ts +7 -0
- package/build/src/library/slices/GoogleMap/GoogleMap.d.ts +7 -0
- package/build/src/library/slices/GoogleMap/GoogleMap.storydata.d.ts +44 -0
- package/build/src/library/slices/GoogleMap/GoogleMap.test.d.ts +1 -0
- package/build/src/library/slices/GoogleMap/GoogleMap.types.d.ts +28 -0
- package/build/src/library/slices/Image/Image.d.ts +8 -0
- package/build/src/library/slices/Image/Image.storydata.d.ts +2 -0
- package/build/src/library/slices/Image/Image.test.d.ts +1 -0
- package/build/src/library/slices/Image/Image.types.d.ts +26 -0
- package/build/src/library/slices/ImageAndText/ImageAndText.d.ts +7 -0
- package/build/src/library/slices/ImageAndText/ImageAndText.storydata.d.ts +2 -0
- package/build/src/library/slices/ImageAndText/ImageAndText.test.d.ts +1 -0
- package/build/src/library/slices/ImageAndText/ImageAndText.types.d.ts +15 -0
- package/build/src/library/slices/InquestSchedule/InquestSchedule.d.ts +7 -0
- package/build/src/library/slices/InquestSchedule/InquestSchedule.storydata.d.ts +2 -0
- package/build/src/library/slices/InquestSchedule/InquestSchedule.test.d.ts +1 -0
- package/build/src/library/slices/InquestSchedule/InquestSchedule.types.d.ts +24 -0
- package/build/src/library/slices/Promotions/Promotions.d.ts +7 -0
- package/build/src/library/slices/SearchBox/SearchBox.d.ts +4 -0
- package/build/src/library/slices/SearchBox/SearchBox.storydata.d.ts +2 -0
- package/build/src/library/slices/SearchBox/SearchBox.test.d.ts +1 -0
- package/build/src/library/slices/SearchBox/SearchBox.types.d.ts +41 -0
- package/build/src/library/slices/Video/Video.d.ts +7 -0
- package/build/src/library/slices/Video/Video.test.d.ts +1 -0
- package/build/src/library/slices/Video/Video.types.d.ts +22 -0
- package/build/src/library/slices/WarningText/WarningText.d.ts +7 -0
- package/build/src/library/slices/WarningText/WarningText.test.d.ts +1 -0
- package/build/src/library/slices/WarningText/WarningText.types.d.ts +14 -0
- package/build/src/library/slices/WarningTextDisclaimer/WarningTextDisclaimer.d.ts +4 -0
- package/build/src/library/slices/WarningTextDisclaimer/WarningTextDisclaimer.types.d.ts +2 -0
- package/build/src/library/structure/AccessibleLinks/AccessibleLinks.d.ts +4 -0
- package/build/src/library/structure/AccessibleLinks/AccessibleLinks.types.d.ts +22 -0
- package/build/src/library/structure/AlertBanner/AlertBanner.d.ts +7 -0
- package/build/src/library/structure/AlertBanner/AlertBanner.test.d.ts +1 -0
- package/build/src/library/structure/AlertBanner/AlertBanner.types.d.ts +18 -0
- package/build/src/library/structure/AlertBannerService/AlertBannerService.d.ts +8 -0
- package/build/src/library/structure/AlertBannerService/AlertBannerService.test.d.ts +1 -0
- package/build/src/library/structure/AlertBannerService/AlertBannerService.types.d.ts +18 -0
- package/build/src/library/structure/BackLink/BackLink.d.ts +7 -0
- package/build/src/library/structure/BackLink/BackLink.test.d.ts +1 -0
- package/build/src/library/structure/BackLink/BackLink.types.d.ts +10 -0
- package/build/src/library/structure/Breadcrumbs/Breadcrumbs.d.ts +4 -0
- package/build/src/library/structure/Breadcrumbs/Breadcrumbs.test.d.ts +1 -0
- package/build/src/library/structure/Breadcrumbs/Breadcrumbs.types.d.ts +20 -0
- package/build/src/library/structure/Contents/Contents.d.ts +4 -0
- package/build/src/library/structure/Contents/Contents.storydata.d.ts +2 -0
- package/build/src/library/structure/Contents/Contents.test.d.ts +1 -0
- package/build/src/library/structure/Contents/Contents.types.d.ts +24 -0
- package/build/src/library/structure/ContentsNavigation/ContentsNavigation.d.ts +4 -0
- package/build/src/library/structure/ContentsNavigation/ContentsNavigation.test.d.ts +1 -0
- package/build/src/library/structure/CookieBanner/CookieBanner.d.ts +6 -0
- package/build/src/library/structure/CookieBanner/CookieBanner.types.d.ts +30 -0
- package/build/src/library/structure/CookieBanner/CookieClear.d.ts +5 -0
- package/build/src/library/structure/DisplayDate/DisplayDate.d.ts +7 -0
- package/build/src/library/structure/DisplayDate/DisplayDate.types.d.ts +18 -0
- package/build/src/library/structure/Footer/Footer.d.ts +4 -0
- package/build/src/library/structure/Footer/Footer.test.d.ts +1 -0
- package/build/src/library/structure/Footer/Footer.types.d.ts +24 -0
- package/build/src/library/structure/FullWidthContainer/FullWidthContainer.d.ts +7 -0
- package/build/src/library/structure/FullWidthContainer/FullWidthContainer.test.d.ts +1 -0
- package/build/src/library/structure/FullWidthContainer/FullWidthContainer.types.d.ts +15 -0
- package/build/src/library/structure/Header/Header.d.ts +7 -0
- package/build/src/library/structure/Header/Header.test.d.ts +1 -0
- package/build/src/library/structure/Header/Header.types.d.ts +30 -0
- package/build/src/library/structure/HeroImage/HeroImage.d.ts +8 -0
- package/build/src/library/structure/HeroImage/HeroImage.storydata.d.ts +6 -0
- package/build/src/library/structure/HeroImage/HeroImage.test.d.ts +1 -0
- package/build/src/library/structure/HeroImage/HeroImage.types.d.ts +48 -0
- package/build/src/library/structure/HomeHero/HomeHero.d.ts +7 -0
- package/build/src/library/structure/HomeHero/HomeHero.storydata.d.ts +14 -0
- package/build/src/library/structure/HomeHero/HomeHero.test.d.ts +1 -0
- package/build/src/library/structure/HomeHero/HomeHero.types.d.ts +54 -0
- package/build/src/library/structure/MaxWidthContainer/MaxWidthContainer.d.ts +7 -0
- package/build/src/library/structure/MaxWidthContainer/MaxWidthContainer.types.d.ts +22 -0
- package/build/src/library/structure/MemorialHero/MemorialHero.d.ts +4 -0
- package/build/src/library/structure/MemorialHero/MemorialHero.types.d.ts +27 -0
- package/build/src/library/structure/NewsArticleDate/NewsArticleDate.d.ts +7 -0
- package/build/src/library/structure/NewsArticleDate/NewsArticleDate.types.d.ts +10 -0
- package/build/src/library/structure/NewsArticleFeaturedBlock/NewsArticleFeaturedBlock.d.ts +7 -0
- package/build/src/library/structure/NewsArticleFeaturedBlock/NewsArticleFeaturedBlock.test.d.ts +1 -0
- package/build/src/library/structure/NewsArticleFeaturedBlock/NewsArticleFeaturedBlock.types.d.ts +23 -0
- package/build/src/library/structure/NewsArticleFilterAccordion/NewsArticleFilterAccordion.d.ts +4 -0
- package/build/src/library/structure/NewsArticleFilterAccordion/NewsArticleFilterAccordion.types.d.ts +7 -0
- package/build/src/library/structure/NewsArticleImage/NewsArticleImage.d.ts +7 -0
- package/build/src/library/structure/NewsArticleImage/NewsArticleImage.types.d.ts +18 -0
- package/build/src/library/structure/NewsArticleList/NewsArticleData.d.ts +7 -0
- package/build/src/library/structure/NewsArticleList/NewsArticleList.d.ts +4 -0
- package/build/src/library/structure/NewsArticleList/NewsArticleList.test.d.ts +1 -0
- package/build/src/library/structure/NewsArticleList/NewsArticleList.types.d.ts +28 -0
- package/build/src/library/structure/NewsArticleListHeader/NewsArticleListHeader.d.ts +4 -0
- package/build/src/library/structure/NewsArticleListHeader/NewsArticleListHeader.types.d.ts +6 -0
- package/build/src/library/structure/NewsArticleOldBanner/NewsArticleOldBanner.d.ts +7 -0
- package/build/src/library/structure/NewsArticleOldBanner/NewsArticleOldBanner.types.d.ts +2 -0
- package/build/src/library/structure/PageMain/PageMain.d.ts +7 -0
- package/build/src/library/structure/PageMain/PageMain.test.d.ts +1 -0
- package/build/src/library/structure/PageMain/PageMain.types.d.ts +14 -0
- package/build/src/library/structure/PageSidebar/PageSidebar.d.ts +7 -0
- package/build/src/library/structure/PageSidebar/PageSidebar.types.d.ts +6 -0
- package/build/src/library/structure/PageStructures.d.ts +42 -0
- package/build/src/library/structure/PageTitle/PageTitle.d.ts +7 -0
- package/build/src/library/structure/PageTitle/PageTitle.types.d.ts +11 -0
- package/build/src/library/structure/PageWithSidebarContainer/PageWithSidebarContainer.d.ts +7 -0
- package/build/src/library/structure/PageWithSidebarContainer/PageWithSidebarContainer.types.d.ts +10 -0
- package/build/src/library/structure/PageWrapper/PageWrapper.d.ts +4 -0
- package/build/src/library/structure/PageWrapper/PageWrapper.types.d.ts +11 -0
- package/build/src/library/structure/PhaseBanner/PhaseBanner.d.ts +4 -0
- package/build/src/library/structure/PhaseBanner/PhaseBanner.types.d.ts +3 -0
- package/build/src/library/structure/PromoBanner/PromoBanner.d.ts +8 -0
- package/build/src/library/structure/PromoBanner/PromoBanner.storydata.d.ts +9 -0
- package/build/src/library/structure/PromoBanner/PromoBanner.test.d.ts +1 -0
- package/build/src/library/structure/PromoBanner/PromoBanner.types.d.ts +26 -0
- package/build/src/library/structure/PromoBlock/PromoBlock.d.ts +8 -0
- package/build/src/library/structure/PromoBlock/PromoBlock.storydata.d.ts +5 -0
- package/build/src/library/structure/PromoBlock/PromoBlock.test.d.ts +1 -0
- package/build/src/library/structure/PromoBlock/PromoBlock.types.d.ts +36 -0
- package/build/src/library/structure/SearchHeader/SearchHeader.d.ts +4 -0
- package/build/src/library/structure/SearchHeader/SearchHeader.types.d.ts +2 -0
- package/build/src/library/structure/SearchResultsList/NoResultsMessage.d.ts +3 -0
- package/build/src/library/structure/SearchResultsList/SearchResultsList.d.ts +4 -0
- package/build/src/library/structure/SearchResultsList/SearchResultsList.test.d.ts +1 -0
- package/build/src/library/structure/SearchResultsList/SearchResultsList.types.d.ts +46 -0
- package/build/src/library/structure/Searchbar/Searchbar.d.ts +4 -0
- package/build/src/library/structure/Searchbar/Searchbar.test.d.ts +1 -0
- package/build/src/library/structure/Searchbar/Searchbar.types.d.ts +48 -0
- package/build/src/library/structure/SectionLinks/SectionLinks.d.ts +7 -0
- package/build/src/library/structure/SectionLinks/SectionLinks.storydata.d.ts +2 -0
- package/build/src/library/structure/SectionLinks/SectionLinks.test.d.ts +1 -0
- package/build/src/library/structure/SectionLinks/SectionLinks.types.d.ts +52 -0
- package/build/src/library/structure/SectionLinksMobileContents/SectionLinksMobileContents.d.ts +4 -0
- package/build/src/library/structure/SectionLinksMobileContents/SectionLinksMobileContents.types.d.ts +16 -0
- package/build/src/library/structure/SectionLinksSidebar/SectionLinksSidebar.d.ts +4 -0
- package/build/src/library/structure/SectionLinksSidebar/SectionLinksSidebar.test.d.ts +1 -0
- package/build/src/library/structure/SectionLinksSidebar/SectionLinksSidebar.types.d.ts +34 -0
- package/build/src/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.d.ts +4 -0
- package/build/src/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.storydata.d.ts +9 -0
- package/build/src/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.test.d.ts +1 -0
- package/build/src/library/structure/ServicesLinksBoxed/ServicesLinksBoxed.types.d.ts +53 -0
- package/build/src/library/structure/ServicesLinksList/ServicesLinksList.d.ts +4 -0
- package/build/src/library/structure/ServicesLinksList/ServicesLinksList.test.d.ts +1 -0
- package/build/src/library/structure/ServicesLinksList/ServicesLinksList.types.d.ts +68 -0
- package/build/src/library/structure/SignpostLinks/SignpostLinks.d.ts +4 -0
- package/build/src/library/structure/SignpostLinks/SignpostLinks.types.d.ts +32 -0
- package/build/src/library/structure/SkipToMainContent/SkipToMainContent.d.ts +4 -0
- package/build/src/library/structure/SkipToMainContent/SkipToMainContent.test.d.ts +1 -0
- package/build/src/library/structure/SkipToMainContent/SkipToMainContent.types.d.ts +2 -0
- package/build/src/library/structure/Summary/Summary.d.ts +4 -0
- package/build/src/library/structure/Summary/Summary.test.d.ts +1 -0
- package/build/src/library/structure/Summary/Summary.types.d.ts +15 -0
- package/build/src/themes/ThemeVars.types.d.ts +60 -0
- package/package.json +28 -26
package/README.md
CHANGED
|
@@ -6,17 +6,19 @@
|
|
|
6
6
|
|
|
7
7
|
The design system for North Northamptonshire & West Northamptonshire, two brand new unitary councils encompassing Wellingborough, Corby, Daventry, East Northants, Kettering, Northampton, Northamptonshire County and South Northants.
|
|
8
8
|
|
|
9
|
+
## Requirements
|
|
10
|
+
|
|
11
|
+
Requires node v18 for Storybook v7. If you have nvm installed then you can run `nvm use` and it will autodetect the correct version of node to use.
|
|
9
12
|
|
|
10
13
|
## Installation
|
|
11
14
|
|
|
12
|
-
### Installation and development of the Design System
|
|
15
|
+
### Installation and development of the Design System
|
|
13
16
|
|
|
14
17
|
You need `node` and `npm` installed.
|
|
15
18
|
|
|
16
19
|
1. Clone the repo and `npm i`
|
|
17
20
|
2. `npm run dev` will start up the Storybook playground and start `rollup` watching for changes.
|
|
18
21
|
|
|
19
|
-
|
|
20
22
|
### Installation using docker
|
|
21
23
|
|
|
22
24
|
This option is recommended if your using a windows machine
|
|
@@ -38,10 +40,8 @@ docker ps
|
|
|
38
40
|
docker-compose stop
|
|
39
41
|
```
|
|
40
42
|
|
|
41
|
-
|
|
42
43
|
## Documentation
|
|
43
44
|
|
|
44
|
-
|
|
45
45
|
This design system is made up from a combination of these libraries:
|
|
46
46
|
|
|
47
47
|
- [Rollup](https://github.com/rollup/rollup)
|
|
@@ -49,22 +49,14 @@ This design system is made up from a combination of these libraries:
|
|
|
49
49
|
- [TypeScript](https://www.typescriptlang.org/)
|
|
50
50
|
- [Jest](https://jestjs.io/) and [React Testing Library](https://github.com/testing-library/react-testing-library) enabling testing of the components
|
|
51
51
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
52
|
## Examples
|
|
56
53
|
|
|
57
|
-
|
|
58
54
|
👉 **[You can view the design system here](https://northants-design-system.netlify.app)**
|
|
59
55
|
|
|
60
56
|
This is a living documentation powered by [Storybook](https://storybook.js.org/), where you can see all the available components, their variations and documentation.
|
|
61
57
|
|
|
62
|
-
|
|
63
|
-
|
|
64
58
|
### Using the design system in your project
|
|
65
59
|
|
|
66
|
-
|
|
67
|
-
|
|
68
60
|
You can find the design system [here on NPM](https://www.npmjs.com/package/northants-design-system).
|
|
69
61
|
|
|
70
62
|
```
|
|
@@ -74,7 +66,7 @@ npm install nnc-design-system
|
|
|
74
66
|
npm install react react-dom styled-components @reach/router
|
|
75
67
|
```
|
|
76
68
|
|
|
77
|
-
This design system uses theming - **it will not work without a theme wrapped around the components** - to use a theme you will need to include a `ThemeProvider` from styled components, [you can find out more about how this works here](https://styled-components.com/docs/advanced#theming). Then you will need to import one of the three themes from the design system, or create your own. The three avaliable are `GDS_theme` (a basic style based on the [GDS design system](https://design-system.service.gov.uk/)), `west_theme` and `north_theme` (themes for North and West Northamptonshire styled components).
|
|
69
|
+
This design system uses theming - **it will not work without a theme wrapped around the components** - to use a theme you will need to include a `ThemeProvider` from styled components, [you can find out more about how this works here](https://styled-components.com/docs/advanced#theming). Then you will need to import one of the three themes from the design system, or create your own. The three avaliable are `GDS_theme` (a basic style based on the [GDS design system](https://design-system.service.gov.uk/)), `west_theme` and `north_theme` (themes for North and West Northamptonshire styled components).
|
|
78
70
|
|
|
79
71
|
This `ThemeProvider` can be wrapped around the entire app, or around a single component
|
|
80
72
|
|
|
@@ -112,10 +104,8 @@ const MyComponent = () =>
|
|
|
112
104
|
</ThemeProvider>
|
|
113
105
|
```
|
|
114
106
|
|
|
115
|
-
|
|
116
107
|
## Documentation
|
|
117
108
|
|
|
118
|
-
|
|
119
109
|
### Creating and generating new components
|
|
120
110
|
|
|
121
111
|
There is a util file under `util` called `create-component.js`. Instead of copy pasting components to create a new component, you can just run this command to generate all the files you need to start building out a new component. To use it:
|
|
@@ -140,10 +130,8 @@ The default templates for each file can be modified under `util/templates`.
|
|
|
140
130
|
|
|
141
131
|
Don't forget to add the component to your `index.ts` exports if you want the library to export the component.
|
|
142
132
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
133
|
### How to publish a new version to NPM
|
|
134
|
+
|
|
147
135
|
First, make sure you have an NPM account and are [logged into NPM using the `npm login` command.](https://docs.npmjs.com/creating-a-new-npm-user-account)
|
|
148
136
|
|
|
149
137
|
1. **information about testing needed here**
|
|
@@ -155,19 +143,15 @@ First, make sure you have an NPM account and are [logged into NPM using the `npm
|
|
|
155
143
|
- Create and publish a tarball to NPM
|
|
156
144
|
4. If you are wanting to utilise the updated design system you will then need to update the version number of the design system in the `package.json` file within that repo.
|
|
157
145
|
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
146
|
### Installing component library locally for IE11 (or other uses) but this is easier and less buggy
|
|
162
147
|
|
|
163
148
|
https://www.viget.com/articles/how-to-use-local-unpublished-node-packages-as-project-dependencies/
|
|
164
149
|
|
|
165
|
-
|
|
166
150
|
Good article on this can be found [here](https://www.viget.com/articles/how-to-use-local-unpublished-node-packages-as-project-dependencies/)
|
|
167
151
|
|
|
168
|
-
Install yalc **globally**
|
|
169
|
-
Using NPM: `npm i yalc -g`
|
|
170
|
-
Using Yarn: `yarn global add yalc`
|
|
152
|
+
Install yalc **globally**
|
|
153
|
+
Using NPM: `npm i yalc -g`
|
|
154
|
+
Using Yarn: `yarn global add yalc`
|
|
171
155
|
|
|
172
156
|
In the **nnc-design-system**
|
|
173
157
|
You will need node v14.17.3 > to build on windows
|
|
@@ -179,8 +163,6 @@ run `yalc add nnc-design-system` then run `npm install` or `yarn`
|
|
|
179
163
|
|
|
180
164
|
Then run `npm run start` to run the application.
|
|
181
165
|
|
|
182
|
-
|
|
183
|
-
|
|
184
166
|
You will need node v14.17.3 > to build on windows
|
|
185
167
|
|
|
186
168
|
Install yalc
|
|
@@ -192,12 +174,10 @@ Using Yarn:
|
|
|
192
174
|
|
|
193
175
|
`yarn global add yalc`
|
|
194
176
|
|
|
195
|
-
|
|
196
177
|
run `yalc publish` in the design system folder
|
|
197
178
|
|
|
198
179
|
run `yalc add nnc-design-system` in ie11-test-folder
|
|
199
180
|
|
|
200
|
-
|
|
201
181
|
`npm install`
|
|
202
182
|
|
|
203
183
|
to make changes and update them
|
|
@@ -206,9 +186,6 @@ in design system `yalc push` (this automatically updates all dependencies on all
|
|
|
206
186
|
|
|
207
187
|
or `yalc publish` in design system and `yalc update` in your projects repo
|
|
208
188
|
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
189
|
### Installing Component Library Locally
|
|
213
190
|
|
|
214
191
|
Let's say you have another project (`test-app`) on your machine that you want to try installing the component library into without having to first publish the component library. In the `test-app` directory, you can run:
|