wagtail/client
Matt Westcott 6395f4bcc1 Fix BooleanBlock for telepath
Fixes #7083. Override default FieldBlock / BoundWidget behaviour so that:

* BooleanBlock.get_form_state bypasses CheckboxInput.format_value (which Django uses to determine the 'value' HTML attribute rather than the checked state)
* BoundCheckboxInput.get_state / set_state / get_value work with the 'checked' attribute rather than 'value'
2021-04-26 12:39:04 +01:00
..
scss Feature/commenting responsive layout (#7091) 2021-04-26 11:53:04 +01:00
src Fix BooleanBlock for telepath 2021-04-26 12:39:04 +01:00
tests Add warning to bottom of draft comments (#7089) 2021-04-23 17:53:54 +01:00
README.md Refactor explorer code with tests using Jest 2017-05-13 23:53:10 +03:00
package-lock.json Feature/field comment frontend (#6530) 2021-04-20 18:25:30 +01:00
webpack.config.js Feature/field comment frontend (#6530) 2021-04-20 18:25:30 +01:00

README.md

Wagtail client-side components

This library aims to give developers the ability to subclass and configure Wagtail's UI components.

Usage

npm install wagtail
import { Explorer } from 'wagtail';
// [...]
<Explorer />

Development

# From the project root, start the webpack + styles compilation.
npm run start

You will also need:

Releases

The front-end is bundled at the same time as the Wagtail project. This package also aims to be available separately on npm as wagtail.