Directory-components

Latest version: v40.2.3

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

Scan your dependencies

Page 21 of 30

26.1.1

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

Implemented enhancements
- Display package version on demo homepage

26.1.0

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

Implemented enhancements
- Add overridable blocks to component templates to allow some services to modify them when needed

26.0.0

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

Implemented enhancements
- Can add custom css classes to fields via `Field.container_css_classes`
- Added `forms.field_factory` for streamlining creating augmented django form fields.
- Added `helpers.get_pagination_url`

Breaking changes
- members of `form.widgets`, `form.fields` are now imported from `forms` directly.

25.0.1

[Full Changelog](https://github.com/uktrade/directory-components/pull/240/file)

Bugs fixed
- Update lodash vulnerability

25.0.0

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

Implemented enhancements
- Add lazysizes library, which allows lazy loading of images (and more). Check out the directory-components app for usage notes.

Breaking changes
- Moved the JQuery script tag in `base.html` from block `head_js` to block `vendor_js`

24.0.0

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

Implemented Enhancements
- Pagination component takes in Pagination object from the page it is being used on rather than creating it's own

Breaking Changes
- When pagination component is used the page is required to create it's own Pagination object in the view and pass this in to pagination component

Page 21 of 30

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.