0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-29 01:22:07 +01:00
wagtail/client
Matt Westcott 4468b55d2d Enforce max_num on MultipleChooserPanel
Enable / disable the open-modal button on reaching the limit, as we do for InlinePanel's standard add button; and when handling the response from the modal, stop adding new items when max_num is reached
2023-01-18 14:31:08 +00:00
..
scss Make title into a label rather than a link when in multiple choice mode 2023-01-18 14:31:08 +00:00
src Enforce max_num on MultipleChooserPanel 2023-01-18 14:31:08 +00:00
storybook Set up initial stimulus application integration 2022-12-19 14:00:11 +00:00
tests Add a higher-level API for chooser modals 2023-01-18 14:31:07 +00:00
extract-translatable-strings.js Ignore test files from extract-translatable-strings 2022-11-07 19:51:13 +10:00
package-lock.json
README.md
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

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.