0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 05:02:57 +01:00
wagtail/client
Sage Abdullah 014ffb5ce9 Ensure the side panel's show event is dispatched after any hide events
If the event is dispatched in the loop, then the show event may be
dispatched before the hide event is dispatched. For example, if you're
switching from the checks panel to the preview panel, as the preview
panel is ordered before the checks panel in the DOM.

This could cause an issue with the preview panel code, where we listen
for the show event to activate the auto update, and listen to the hide
event to deactivate it. We're listening to both the preview and checks
side panels.

Without this fix, the preview auto-update will get deactivated upon
switching from the checks panel to the preview panel, as the hide event
is dispatched after the show event.
2024-09-19 08:22:54 +10:00
..
scss Fix text alignment of model names in object permissions section 2024-08-13 19:14:54 +01:00
src Ensure the side panel's show event is dispatched after any hide events 2024-09-19 08:22:54 +10:00
storybook Remove Safari 14 support in Wagtail admin – update browserslist and TypeScript (#11258) 2023-12-12 10:54:41 +00:00
tests Upgrade puppeteer to 22.x 2024-09-06 11:46:43 +01:00
extract-translatable-strings.js
package-lock.json
README.md
tailwind.config.js Add new global CSS variable --w-density-factor 2024-04-18 13:04:25 +01:00
webpack.config.js Remove non-Stimulus usage of Mousetrap 2024-04-07 21:05:28 +10: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.