Directory-components

Latest version: v40.2.3

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

Scan your dependencies

Page 24 of 30

18.1.0

Not secure
Implemented enhancements
- Breadcrumbs template tag now supports context variables as first argument.

18.0.0

Not secure
Implemented enhancements
- Breadcrumbs template tag now is more flexible: supports any number of levels simplifies most usecases.

Breaking changes
- Remove support for python 3.5
- breadcrumbs template tag interface has changed:

before
1. `{% breadcrumbs left_url='/' left_label='Home' right_label='Statistics' %}`
2. `{% breadcrumbs left_url='/' left_label='Home' middle_url='/middle/' middle_label='middle' right_label='Statistics' %}`

after
1. `{% breadcrumbs 'Statistics' %}<a href="/">Home</a>{% endbreadcrumbs %}`
2. `{% breadcrumbs 'Statistics' %}<a href="/">Home</a><a href="/middle/">middle</a>{% endbreadcrumbs %}`

17.0.0

Not secure
Implemented enhancements
- Removed Overpass semibold (600) weight from font imports
- Add CSS sourcemaps to aid style debugging in local dev

Bug fixes
- Fixed margins on .underline class when used in the stats component

Breaking changes
- `card-grid` CSS class has been removed in favour of the more descriptive `flex-grid`
- Images used in card components (excluding `labelled_image_card`) now use the image's original aspect ratio. If the aspect ratios of multiple images used in a grid of cards do not match, their heights will no longer be aligned. In this case, please update your images to all be the same aspect ratio

16.5.0

Not secure
[Full Changelog](https://github.com/uktrade/directory-components/pull/218/files)

Implemented enhancements
- Added `handler404` so 404 pages render urls correctly.
- Added `handler500` so 500 pages render urls correctly.

16.4.0

Not secure
[Full Changelog](https://github.com/uktrade/directory-components/pull/216/files)

Implemented enhancements
- Added message box with icon component
- Improved mobile style of message box
- Updated documentation
- Added 500 error page template based on [gov.uk design system](https://design-system.service.gov.uk/patterns/problem-with-the-service-pages/)

Bug fixes
- Fixed invalid property values

16.3.0

Not secure
[Full Changelog](https://github.com/uktrade/directory-components/pull/215/files)

Implemented enhancements
- Added support for Django 2 -> 2.2

Page 24 of 30

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.