Commit 144c5a7
authored
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 issues1 parent af44420 commit 144c5a7
File tree
289 files changed
+9663
-7195
lines changed- .github/workflows
- .storybook
- .vscode
- docs
- src
- __tests__
- components
- content-presentation
- details
- __tests__
- __snapshots__
- do-and-dont-list
- __tests__
- __snapshots__
- hero
- __tests__
- icons
- __tests__
- __snapshots__
- individual
- images
- __tests__
- __snapshots__
- inset-text
- __tests__
- summary-list
- __tests__
- table
- components
- __tests__
- __snapshots__
- tabs
- __tests__
- __snapshots__
- tag
- __tests__
- warning-callout
- __tests__
- __snapshots__
- form-elements
- button
- __tests__
- __snapshots__
- character-count
- __tests__
- __snapshots__
- checkboxes
- __tests__
- __snapshots__
- components
- date-input
- __tests__
- __snapshots__
- components
- error-message
- __tests__
- __snapshots__
- error-summary
- __tests__
- __snapshots__
- fieldset
- __tests__
- __snapshots__
- form
- hint-text
- __tests__
- label
- __tests__
- legend
- __tests__
- __snapshots__
- radios
- __tests__
- __snapshots__
- components
- select
- __tests__
- __snapshots__
- text-input
- __tests__
- __snapshots__
- textarea
- __tests__
- __snapshots__
- layout
- typography
- utils
- __tests__
- __snapshots__
- patterns
- panel
- __tests__
- __snapshots__
- review-date
- __tests__/__snapshots__
- resources
- util
- components
- hooks
- types
- stories
- Content Presentation
- Form Elements
- Migration Guides
- Patterns
- Utils
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
289 files changed
+9663
-7195
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
14 | 13 | | |
15 | | - | |
| 14 | + | |
16 | 15 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
4 | 10 | | |
5 | 11 | | |
6 | 12 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
| 26 | + | |
28 | 27 | | |
29 | 28 | | |
30 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | | - | |
66 | | - | |
| 65 | + | |
| 66 | + | |
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
| |||
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | | - | |
| 76 | + | |
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
0 commit comments