Govuk React Versions Save

An implementation of the GOV.UK Design System in React using CSSinJS

v0.10.7

2 days ago

What's Changed

New Contributors

Full Changelog: https://github.com/govuk-react/govuk-react/compare/v0.10.6...v0.10.7

v0.10.6

7 months ago

What's Changed

New Contributors

Full Changelog: https://github.com/govuk-react/govuk-react/compare/v0.10.5...v0.10.6

v0.10.5

1 year ago
  • accessibility: set StyledErrorText tabindex to 0 by @dmoore04

v0.10.4

1 year ago
  • Add props for children to headers
  • Removed inline styling for SVGBase, Spinner, and DocumentFooterMetadata components. These have been replaced with styled-components based styling to prevent inline styling breaking strict CSPs
  • Update known projects

Thanks to @linusnorton and @tomvaughan77 for their contributions!

v0.10.3

1 year ago

Releasing patch version due to publish error with 0.10.2 which seems to have come from npm and is not recoverable

Related:

v0.10.2

1 year ago
  • Allow footer licence customization (#1072)
  • Improve doc generation (#1076)
  • Fix radio button white-dot bug (#1078)
  • Explain docs command in CONTRIBUTING.md (#1074)
  • Add DEFRA to known users (#1082)
  • Fix Netlify errors by migrating to bundlesize2 (#1075)
  • Date - per field props (e.g. autocomplete and id) (#1118)
  • Add support for Tag tints (#1077)
  • Remove jimp dependency (#1101)
  • Yarn 2 support for dependabot (#1100)
  • Support as= with strict TypeScript (#1079)

Special thanks to @domdomegg for most of the contributions in this release!

v0.10.0

2 years ago

Significant changes

This release is mainly about finishing the conversion to TypeScript and publishing types.

A few things were removed in the process, hence the version bump:

  • Remove ListNavigation (#1019)
  • Remove @govuk-react/storybook-components (#1005)
  • Remove deprecate HOC (#980)

Other changes of note

  • Remove use of PropTypes (#978)
  • Build using preconstruct, Export and Publish types (#992)
  • Move from storybook knobs to storybook controls (#1017)
  • Note on GlobalStyle and CSS reset in readme (#1038)
  • Migrate from Lerna to yarn 2 (#850, #1039)

v0.9.1

2 years ago

Significant changes

The main thing to note is that the code is now in TypeScript. Though this compiles, some validation issues remain that intend to be addressed in 0.9.2. We hope to also publish types in 0.9.2 once the validation issues have been resolved.

Some changes have also been made to form components, particularly FileUpload, though we don't expect these to be breaking changes.

  • Convert to TypeScript (#875)
  • Add React.forwardRef to some form components (#923, #938)
  • Improvements to FileUpload (#924)

Enhancements

  • Fix typings on backLink (#920)
  • Migrate more tests to @testing-library/react (#909)

Bug fixes

  • LabelText should not be bold on error (#939)

Documentation

  • Add all form components to example application (#880)
  • Add Final Form example and Cypress tests (#887)
  • Add Formik to example application (#893)
  • Add react-hook-form to example application (#916)
  • react-jsonschema-form example (#935)
  • Make example forms only validate on submit (#928)
  • Why is this a monorepo in readme (#937)
  • Misc improvements to forms examples and fixes to forward refs (#923)
  • Fix docs (#878)
  • Add file uploads to example application and Cypress tests (#924)

Testing/CI/Misc

  • Add jetbrains config to gitignore (#904)
  • Reenable Chromatic (#903)
  • Merge unit and regression coverage (#906)
  • Add storyshots config (#902)

Dependencies

  • Bump react-transition-group from 4.4.1 to 4.4.2 (#934)
  • Bump cross-env from 5.2.1 to 7.0.3 (#932)
  • Bump @babel/plugin-proposal-export-default-from from 7.12.13 to 7.14.5 (#933)
  • Bump actions/setup-node from 2.3.0 to 2.4.0 (#930)
  • Bump JamesIves/github-pages-deploy-action from 4.1.4 to 4.1.5 (#929)
  • Bump fastify/github-action-merge-dependabot from 2.2.0 to 2.4.0 (#931)
  • Bump @storybook/addons from 6.3.5 to 6.3.7 (#919)
  • Bump @storybook/react from 6.3.5 to 6.3.6 (#914)
  • Bump @testing-library/jest-dom from 5.12.0 to 5.14.1 (#913)
  • Bump fastify/github-action-merge-dependabot from 2.1.1 to 2.2.0 (#911)
  • Bump actions/setup-node from 2.2.0 to 2.3.0 (#912)
  • Bump @storybook/react from 6.2.9 to 6.3.5 (#905)
  • Bump @storybook/addon-links from 6.2.9 to 6.3.2 (#898)
  • Bump @typescript-eslint/parser from 4.25.0 to 4.28.1 (#897)
  • Bump actions/setup-node from 2.1.5 to 2.2.0 (#895)
  • Bump JamesIves/github-pages-deploy-action from 4.1.3 to 4.1.4 (#896)
  • Bump eslint-plugin-import from 2.23.2 to 2.23.4 (#883)
  • Bump react-final-form from 4.1.0 to 6.5.3 (#884)
  • Bump glob-promise from 4.1.0 to 4.2.0 (#882)

v0.9.0

2 years ago

Breaking Changes

The following have been deprecated and/or removed:

  • Layout (#869) - use GridRow and GridCol
  • Breadcrumb (#814) - use Breadcrumbs
  • Header (#814) - use Heading
  • Supporting Header (#814) - use Caption
  • asAnchor (#814) - use as prop, e.g. <Link as={Link} />
  • withWhiteSpace (#814) - use spacing.withWhiteSpace(config)
  • asPaginationItem (#843) - use as prop
  • asNavLinkAnchor, asTopNavAnchor (#842) - use as prop

New Features

  • GlobalStyle component (#834)

Enhancements

  • Only underline backlink if it has an href (#845)
  • Allow Date Input and Container to be used standalone (#838)
  • Example application (#826)

Bug Fixes

  • Update to react-markdown 5 and make direct dependency of paragraph (#846)
  • Add missing input proptypes (#839)