wagtail/client
4the4ryushin eb5bb5a9c8 Migrate `window.addMessage` to a Stimulus Controller `w-message`
- Introduce a new controller `MessagesController` to contain the dynamic updating of messages
- Ensure the document updated label does not repeat every time a document is updated
- Using the Stimulus controller with templates approach, icons can easily be pre-loaded for each message type
- Ensure that messages are consistently cleared when new ones are added (this was done ad-hoc across some usage and not others)
- Fixes #9493
2023-03-08 21:35:34 +10:00
..
scss Fix dialog component's message to have rounded corners at the top side 2023-03-07 18:36:02 +00:00
src Migrate `window.addMessage` to a Stimulus Controller `w-message` 2023-03-08 21:35:34 +10:00
storybook Rename AutoFieldController to SubmitController 2023-02-16 07:23:03 +10:00
tests Fix Storybook stories intialisation broken due to script config dependencies 2023-02-15 22:52:49 +10:00
README.md auto-format core markdown files (#8603) 2022-06-01 23:08:56 +10:00
extract-translatable-strings.js Ignore test files from extract-translatable-strings 2022-11-07 19:51:13 +10:00
package-lock.json Feature/field comment frontend (#6530) 2021-04-20 18:25:30 +01:00
tailwind.config.js Refactor Wagtail userbar as a web component (#9816) 2022-12-27 16:55:19 +00:00
webpack.config.js Move PageChooserFactory to its own JS endpoint 2023-01-18 14:31:07 +00: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.