0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-27 15:56:30 +01:00
wagtail/client
Matt Westcott e97449dc5f Funnel all invocations of wagtailadmin/shared/field.html through the formattedfield tag
At this point wagtailadmin/shared/field.html is still used by FieldPanel, as well as third-party code. Replace this by a template that simply pulls the relevant context variables from the template and passes them on to `{% formattedfield %}` (which renders them using the old template, now renamed formatted_field.html). This will allow us to move logic from the template to the tag function without breaking the existing wagtailadmin/shared/field.html API.
2023-12-12 14:58:27 +00:00
..
scss Remove Safari 14 support in Wagtail admin – update browserslist and TypeScript (#11258) 2023-12-12 10:54:41 +00:00
src Funnel all invocations of wagtailadmin/shared/field.html through the formattedfield tag 2023-12-12 14:58:27 +00:00
storybook Remove Safari 14 support in Wagtail admin – update browserslist and TypeScript (#11258) 2023-12-12 10:54:41 +00:00
tests Bump @babel/traverse from 7.17.3 to 7.23.2 in /client/tests/integration 2023-10-18 08:50:47 +11:00
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 Remove webpack rule for .woff 2023-11-09 08:57:56 +00: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.