Releases: City-of-Helsinki/react-helsinki-headless-cms
Releases · City-of-Helsinki/react-helsinki-headless-cms
v1.0.0
Added:
Apollo components:
- [Navigation] HDS Navigation wrapper with CMS data handling
- [Notification] HDS Notification wrapper with CMS data handling
- [Page] Custom Page component with CMS data handling
- [PageContent] Custom PageContent component with CMS data handling, used by Page component or custom page layout
Common components:
- [Container] Custom wrapper for the React components
- [Grid] Configurable Grid component
- [HtmlToReact] Component which transforms plain HTML string to React components
- [Icons] Import of the HDS icons, used for the lazy loading
- [List] Configurable List component
- [Tag] Configurable Tag component
- [Text] Configurable Text component (Typography)
Services:
- [Events service] Generated and exported types and utils used for the linked-events
- [Headless service] Generated and exported types and utils used for the Wordpress Headless CMS
- [Venues service] Generated and exported types and utils used for the Venues search
- [Utils] Shared utilities: dates, getIsValidHttpUrl, hash, getLocaleStorageValue, testImage, testingLibrary
- [Constants] Shared constants
Core components:
- [ArchiveSearchPage] Configurable Archive Search Page layout
- [ArchiveSearchPageContent] Configurable Archive Search Page Content component
- [Card] Configurable Card component
- [CardsList] Configurable Card List component
- [Carousel] Configurable Carousel component
- [Collection] Configurable Collection component for displaying collections of data
- [ConfigProvider] HCRC Configuration context and provider
- [ContentContainer] Configurable ContentContainer component
- [Hero] Configurable ContentContainer component for pages and articles
- [hooks] Reusable hooks for Core component
- [Image] Configurable Image component (with Modal preview)
- [ImageGallery] Configurable ImageGallery component, shows list of images with configurations (show as modal, next, previous)
- [languages] Utility functions and types for language options
- [Link] Configurable Link component
- [LinkBox] Configurable LinkBox component
- [Navigation] Configurable Image component
- [Notification] Core HDS Navigation wrapper with NO CMS data handling
- [Page] Custom Page component with NO CMS data handling
- [PageContent] Custom PageContent component with NO CMS data handling
- [ContentModules->CardModule] Custom CardModule component to render the Card CMS Module on the page
- [ContentModules->CardsModule] Custom CardsModule component to render the Cards CMS Module on the page
- [ContentModules->ContentModule] Custom ContentModule component to render the Content CMS Module on the page
- [ContentModules->ImageGalleryModule] Custom ImageGalleryModule component to render the ImageGallery CMS Module on the page
- [ContentModules->SocialMediaFeedModule] Custom SocialMediaFeedModule component to render the SocialMediaFeed CMS Module on the page
- [ContentModules->StepsModule] Custom StepsModule component to render the Steps CMS Module on the page
- [constants] Reusable core components constants
Storybook:
- [Storybook 8] Upgrade to Storybook 8
- [Plugins->a11y] Accessibility tests plugin added
- [storybook-common] Shared constants and hooks
Dependences:
- Upgraded project dependences to the latest versions
Docker:
- [DockerFile] Fixed the docker file so now the project works in docker and podman
- [docker-compose] Fixed the docker file so now the project works in docker and podman
- Added missing mocks and fixed tests
Refactored:
- Upgraded dependences, fixed SASS to Dart 3 Standard
Documentation:
- Inline components documentation
- Extended README with up-to-date information
1.0.0-alpha2
1.0.0-alpha2
Added
- Notification component
- Handle injection of page meta when lib consumer provides an interface for it
1.0.0-alpha1
1.0.0-alpha1
Added
- Page component
- PageContent component
- Navigation component
- Navigation component that can request its own data in an Apollo project
- NextJS getLanguageStaticProps and getMenuStaticProps utilities that can be used to fetch hydrated data when using static page generation
- PageContent component that can request its own data in an Apollo project
- NextJS getLanguageStaticProps that can be used to fetch data when generating static pages
- Link component for easy interoperability between anchor props and HDS Link component
Fixed
- Canary publish script