0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-12-01 11:41:20 +01:00
wagtail/client
LB Johnston 76a0c4968a Adopt classname instead of classnames in all MenuItem/Sidebar usage
- Adds a deprecation path, including documentation to further remove unpredictable naming of adding `classname` in Python APIs
- Intentionally keeps `classNames` in Telepath adaptor inner usage as this convention is not set, however, the server side value passed in will use `classname`
- See https://docs.wagtail.org/en/stable/contributing/general_guidelines.html#use-classname-in-python-html-template-tag-variables
- See #9769 & #9770
2023-10-04 08:05:52 +11:00
..
scss Set title line-height in em rather than rem 2023-09-21 09:51:51 +01:00
src Adopt classname instead of classnames in all MenuItem/Sidebar usage 2023-10-04 08:05:52 +11: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 Do not use jest inside stubs.js to prevent Storybook from crashing 2023-09-13 15:04:04 +01: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 Add tests to help with maintenance of theme color tokens 2023-06-12 10:55:12 +01:00
webpack.config.js Remove unused WorkflowStatus view, urlpattern, and workflow-status.js 2023-08-03 15:16:08 +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.