Skip to content

Tags: NHSDigital/nhsuk-react-components

Tags

v6.0.1

Toggle v6.0.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
NHS.UK React components v6.0.1 (#381)

* Bump version number for v6.0.1 release

* Bump changelog for v6.0.1 release

v6.0.0

Toggle v6.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
NHS.UK React components v6.0.0 (#348)

* Update README examples

* Bump version number for v6.0.0 release

* Update changelog for v6.0.0 release

v6.0.0-beta.5

Toggle v6.0.0-beta.5's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add missing package.json `respository.url` fields (#331)

* Add missing package.json `respository.url` fields

* Switch to `git+https://` for repo URL

Co-authored-by: Frankie Roberto <[email protected]>

---------

Co-authored-by: Frankie Roberto <[email protected]>

v6.0.0-beta.4

Toggle v6.0.0-beta.4's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Support HTML in legend, label and error props, prepare beta release (#…

…294)

* Update FormTypes.ts

This will hopefully fix that the hint text can be string as well as an element (which is supported).

* review update

* Update src/components/form-elements/error-message/ErrorMessage.tsx

Co-authored-by: Colin Rotherham <[email protected]>

* Update stories/Form Elements/Fieldset.stories.tsx

Co-authored-by: Colin Rotherham <[email protected]>

* review update

* Update stories/Form Elements/Fieldset.stories.tsx

Co-authored-by: Colin Rotherham <[email protected]>

* Update stories/Form Elements/ErrorMessage.stories.tsx

Co-authored-by: Colin Rotherham <[email protected]>

* review update

* Lint

* review change

* lint

* bumping

* snapshot

* review updates

* failed conflict fix (I do not think I will use GitHub in the future to fix merge conflicts)

* Remove HTML examples

* Prefer `string | ReactElement` to avoid null, boolean etc

* Add simple snapshot tests for new types

* Add examples with captions

* Make sure `headingLevel` automatically assumes `isPageHeading`

* Prepare beta release

---------

Co-authored-by: Colin Rotherham <[email protected]>

v6.0.0-beta.3

Toggle v6.0.0-beta.3's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Support React strict mode, prepare beta release (#296)

* Run all tests in React strict mode

* Add support for React strict mode

* Add changelog entry

* Update package version to v6.0.0-beta.3

v6.0.0-beta.2

Toggle v6.0.0-beta.2's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Bump the lint group across 1 directory with 3 updates (#288)

* Bump the lint group across 1 directory with 3 updates

Bumps the lint group with 3 updates in the / directory: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node), [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) and [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint).


Updates `@types/node` from 24.6.2 to 24.7.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

Updates `eslint-plugin-react-hooks` from 6.1.1 to 7.0.0
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/packages/eslint-plugin-react-hooks/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks)

Updates `typescript-eslint` from 8.46.0 to 8.46.1
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.46.1/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-version: 24.7.2
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: lint
- dependency-name: eslint-plugin-react-hooks
  dependency-version: 7.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: lint
- dependency-name: typescript-eslint
  dependency-version: 8.46.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: lint
...

Signed-off-by: dependabot[bot] <[email protected]>

* Fix ESLint React hooks plugin

* Move registry URL into GitHub Actions

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Colin Rotherham <[email protected]>

v6.0.0-beta.1

Toggle v6.0.0-beta.1's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Remove duplicate publish checks (#282)

v6.0.0-beta.0

Toggle v6.0.0-beta.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Upgrade to NHS.UK frontend v10.0.0 and support SSR (#267)

* Upgrade to NHS.UK frontend v10.0.0

* Set up environments for NHS.UK frontend v10.0.0

* Prevent clashes with NHS.UK frontend exports

* Replace NHS.UK frontend CommonJS workarounds

* Prevent unnecessary Babel transforms

* Prevent duplicate initialisation

* Run Prettier `--write`

* Fix Storybook path to Sass

* Fix links to NHS.UK frontend repo

* Update back link for NHS.UK frontend v10.0.0

* Remove support for `nhsuk-button--disabled` class on buttons

* Remove support for `disabled` attribute on button links

* Remove support for `debounceTimeout` param on buttons

* Update button for NHS.UK frontend v10.0.0

* Change to new "colour" spelling in NHS.UK frontend v10.0.0

* Remove icons not in NHS.UK frontend v10.0.0

* Update icons for NHS.UK frontend v10.0.0

* Update skip link for NHS.UK frontend v10.0.0

* Update action link for NHS.UK frontend v10.0.0

* Remove support for breadcrumb back link `accessiblePrefix`

* Update breadcrumb for NHS.UK frontend v10.0.0

* Update radios for NHS.UK frontend v10.0.0

* Update checkboxes for NHS.UK frontend v10.0.0

* Update footer for NHS.UK frontend v10.0.0

* Update header for NHS.UK frontend v10.0.0

* Fix React warning "Use the `defaultValue` or `value` props instead of setting children on <textarea>"

* Align character count with NHS.UK frontend

* Align warning callout with NHS.UK frontend

* Align error message with NHS.UK frontend

* Align error summary with NHS.UK frontend

* Remove unnecessary comment

* Remove support for contents list optional visually hidden text

* Remove support for inset text optional visually hidden text

* Remove support for care card optional visually hidden text

* Remove support for warning callout custom visually hidden text

* Fix contents list missing ARIA attributes

* Avoid casting date input change event

* Always update date input value without change handler

* Remove unsupported `autoSelectNext` date input feature

* Remove incorrect `pattern` from date inputs

* Split out separate `Legend` component

* Skip rendering empty form elements

* Remove wrapping form groups around fieldsets

* Fix date input missing `role="group"` accessibility issue

* Consolidate `<FormGroup>` to support fieldsets and legends

* Add missing migration guides to storybook

* Move display names to exported components

* Remove legacy list panel component

* Remove automatic sizing from labels and legends

* Remove unused `LabelBlock` component

* Update types from `HTMLProps` to `ComponentProps`

* Remove support for uppercase heading levels

* Add default images `alt=""` when not set

* Align table caption with NHS.UK frontend

* Widen support for `ref`, `as` and `asElement` props

* Polyfill TextEncoder/TextDecoder for ReactDOM

* Document breaking changes

* Allow server-side rendering (SSR) in all components

* Add React DOM render tests

* Remove support for error lines without error messages

* Align table with NHS.UK frontend

* Update changelog

* Remove Jest globals from utils

* Update package version to v6.0.0-beta.0

* Resolve various Sonar issues

v5.0.0

Toggle v5.0.0's commit message

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Migrate to nhsuk-frontend v9 (#258)

v5.0.0-beta.3

Toggle v5.0.0-beta.3's commit message
Migrate to nhsuk-frontend v9