0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00
wagtail/client
Coen van der Kamp eed16e0034 Add SVG Icons and include in admin menu
* This commit only covers the migration of the icons in the menu and draftail editor. All
other admin menu icons remain implemented as before.
* Existing font based icon support still exists.
* Convert menu icons to SVG
* This could be considered a breaking change for any Wagtail sites or
packages that are leveraging Wagtail's Button and Icon React components.
* Remove references to unused `submenu-trigger` class
* Prefix icon `id`s with `icon-` to prevent `id` collisions
* Add hooks support (not yet documented) for adding custom icons
2020-05-21 07:36:33 +10:00
..
scss Add SVG Icons and include in admin menu 2020-05-21 07:36:33 +10:00
src Add SVG Icons and include in admin menu 2020-05-21 07:36:33 +10:00
tests Rename Admin API endpoint to "main" 2019-11-28 09:00:35 +00:00
webpack Add JS source maps in production build for packaged Wagtail 2018-03-14 23:03:00 +01:00
package.json Remove unused React component generator 2018-10-10 14:02:29 +01:00
README.md Refactor explorer code with tests using Jest 2017-05-13 23:53:10 +03: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.