0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 05:02:57 +01:00
wagtail/client
LB Johnston ba8a975273 SyncController - add better performance & enhance
- Add support for a default 100ms debounce on apply calls so that multiple events (e.g. keyup) do not impact performance
- Refine the delay for updating the field to not use setTimeout by default as this async behaviour is no longer needed for basic usage
- Add unit tests for debounce functionality and clean up unit testing to ensure each test can run in isolation
- Add explicit tests for non-inpu fields such as select (update code to ensure we use setter not setAttribute to support these)
- Add ability to support an action param for a fixed value being synced to another field
- Relates to #10517
2023-06-15 12:22:55 +01:00
..
scss Remove usage of color tokens which are duplicates 2023-06-12 10:55:12 +01:00
src SyncController - add better performance & enhance 2023-06-15 12:22:55 +01:00
storybook Fix Storybook rendering of body element 2023-04-19 13:38:23 +01:00
tests Fix Storybook stories intialisation broken due to script config dependencies 2023-02-15 22:52: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
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.