0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-25 05:02:57 +01:00
wagtail/client
LB Johnston 015c4339d7 Slug Controller - enhance default compare function
- Allow compareAs behaviour to be overridden via the event detail OR a param
- Enhance types to be more strict, refine JSDoc to be clearer about the default behaviour
- Add unit tests for default compare function and make logic a bit easier to read in regards to how the slugify/urilify methods are conditionally called
- Relates to #10532
2023-06-14 18:50:43 +01:00
..
scss Remove usage of color tokens which are duplicates 2023-06-12 10:55:12 +01:00
src Slug Controller - enhance default compare function 2023-06-14 18:50:43 +01:00
storybook
tests
extract-translatable-strings.js
package-lock.json
README.md
tailwind.config.js Add tests to help with maintenance of theme color tokens 2023-06-12 10:55:12 +01:00
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.