0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 05:02:57 +01:00
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
tests
extract-translatable-strings.js
package-lock.json
README.md
tailwind.config.js
webpack.config.js

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.