0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 05:02:57 +01:00
wagtail/client
LB Johnston aa3863f17c DropdownController - fix test & refine events & methods
- Test that uses setTimeout never ran as Tippy relies on `transitionend` events, which JSDom will not dispatch. Rework tests to correctly test this custom event gets dispatched
- Use Stimulus dispatch method for custom event dispatching as the controller name (e.g. 'w-dropdown') will automatically be added, work around TypeScript bug in Stimulus which should be fixed in a future release https://github.com/hotwired/stimulus/issues/642
- Add show/hide methods, pull out options to own get method
- Add unit tests for show/hide, content being in dropdown
- Relates to #10557
2023-07-18 21:46:07 +10:00
..
scss Use inactive field border styles for read-only FieldPanel 2023-07-18 10:42:05 +01:00
src DropdownController - fix test & refine events & methods 2023-07-18 21:46:07 +10:00
storybook Allow all stories within subfolders of shared templates to appear in the same section 2023-06-26 13:55:07 +01:00
tests Bump tough-cookie from 4.0.0 to 4.1.3 in /client/tests/integration 2023-07-13 18:07:49 +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
README.md auto-format core markdown files (#8603) 2022-06-01 23:08:56 +10:00
tailwind.config.js Add tests to help with maintenance of theme color tokens 2023-06-12 10:55:12 +01:00
webpack.config.js Always set Sass output to expanded so CSS process is identical in dev and prod builds (#10347) 2023-04-18 15:32:05 +01: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.