Wagtail-nhsuk-frontend

Latest version: v1.5.2

Safety actively analyzes 629678 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

1.0.0

Upgrade Considerations
- Deprecated blocks `PanelBlock`, `PanelList`, `GreyPanelBlock`, `PromoBlock`, `PromoGroupBlock` have been removed from the plugin.
- In order to replace these blocks with the recommended `CardBasicBlock`-type blocks, you should:
- Upgrade to v0.8.0 or v0.7.0 where the deprecated blocks exist alongside the Card blocks.
- Migrate `PanelBlock` and `GreyPanelBlock` to `CardFeatureBlock` as follows:

label -> feature_heading
heading_level -> heading_level
body -> body

- Migrate `PanelList` to `CardGroupBlock` by mapping `panels` to `body` with the `BodyStreamBlock` class and setting `columns` as `'one-half'`.
- Migrate `PromoBlock` to `CardImageBlock` as follows:

url -> url
heading -> heading
description -> body
content_image -> content_image
alt_text -> alt_text
size -> heading_size
heading_level -> heading_level

- Migrate `PromoGroupBlock` to `CardGroupBlock` by mapping `promos` to `body` using the `BodyStreamBlock` class, `column` maps to `column`. `size` and `heading_level` map to their respective fields in the child Card blocks.
- After all deprecated blocks have been migrated, you can upgrade to v1.0.0 without any loss of data.

Changes
- Add the organisational header variant
- Add form component
- Remove `PanelBlock`, `PanelList`, `GreyPanelBlock`, `PromoBlock`, `PromoGroupBlock`
- Improve test coverage

0.8.0

- Use the latest version of the NHS.UK frontend library ([v5.1.0](https://github.com/nhsuk/nhsuk-frontend/blob/master/CHANGELOG.md#510---14-may-2021))

0.7.0

- Use the latest version of the NHS.UK frontend library ([v5.0.0](https://github.com/nhsuk/nhsuk-frontend/blob/master/CHANGELOG.md#500---26-march-2021))

0.6.0

- Use the latest version of the NHS.UK frontend library ([v4.1.0](https://github.com/nhsuk/nhsuk-frontend/blob/master/CHANGELOG.md#410---21-january-2021))
- Add internal page link option to ActionLink and Card blocks

0.5.0

- Use the latest version of the NHS.UK frontend library ([v4.0.0](https://github.com/nhsuk/nhsuk-frontend/blob/master/CHANGELOG.md#400---26-october-2020))
- Add Card blocks
- Add deprecation notice to Panel and Promo blocks
- Add visually_hidden_prefix to warning callout blocks to enable hidden text for screenreaders
- Rename the label for the Don't list in the admin panel

0.4.4

- Allow h5 and h6 heading level inside all blocks that contain headings.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.