Skip to content

Latest commit

 

History

History
74 lines (45 loc) · 1.94 KB

CHANGELOG.md

File metadata and controls

74 lines (45 loc) · 1.94 KB

Changelog

All notable changes to this project will be documented in this file. The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

Unreleased

Added

  • Spinner component.
  • languages option to generateRoutes function, that allows to generate routes for multiple languages.
  • InferRouteKey type utility that infers the RouteKey type from the route object.
  • useSwitchPathLang hook, returned by generatePath. It allows to switch between languages keeping the language path synchronized.
  • Tests for routing.
  • InferRouteKey type utility that infers the RouteKey type from the route object.

Changed

  • Bumped dev dependencies.
  • Renamed generateTypedReactRoutedDOM to generateRoutes
  • Moved generateRoutes declaration.
  • generatePath funcition util returned by generateRoutes is now a hook useGeneratePath. This is needed to be able to check for the current language.

Deprecated

Removed

Fixed

  • Missing initial forward slash in RouteKey's generated paths.

Security

v1.0.0 - 17-04-2023

Added

  • Added CodeBlock component.
  • Added rightContent prop to Filters component.

Changed

  • Storybook bumped to v7

Fixed

  • Fixed router typing declarations.

v0.1.0 - 27-03-2023

Added

  • Added CodeBlock component.
  • Added JSDoc comments to most of the components and hooks.
  • Added README.md file with examples of usage for all the components and hooks.
  • Added more tests.
  • Added Storybook to the project.
  • Added confirm button on datepicker filter field.

Changed

  • Changed the way useFilters updates the search params. Now it takes the previous search params state from the useSearchParams hook callback.

v0.0.3 - 23-03-2023

Added

  • Added two new types of filter fields, numeric and autocomplete-single.
  • Added useAutocompleteTextInput hook.