Packages
alternera_plugin_editor
0.9.0
The contract of an Alternera plugin's step editor, a Phoenix LiveComponent the pipeline editor renders.
Current section
Files
Jump to
Current section
Files
alternera_plugin_editor
README.md
README.md
# alternera_plugin_editor
What an Alternera plugin's step
editor builds on: `Alternera.Plugin.Editor`, which holds the way back to the
pipeline editor, the props every step editor gets and `<.icon>`. It is apart
from `alternera_plugin_sdk` so that the runtime SDK stays free of LiveView; a
plugin that brings a step editor depends on both.
{:alternera_plugin_sdk, "~> 0.9.0"},
{:alternera_plugin_editor, "~> 0.9.0"}
A step editor is a LiveComponent, and the plugin's `editor/0` returns its
module. The proxy's `mix alternera.plugin_assets` adds a plugin package's
`lib` to Tailwind's sources and bundles its colocated hooks, so a utility
class or a `hero-*` icon named in a package is generated like one named in
the proxy. [Writing a plugin](https://github.com/10e-ab/alternera-sdk/blob/main/docs/writing-plugins.md) is the guide.
## Licence
Licensed under the Apache License, Version 2.0 (`LICENSE`, `NOTICE`).
Alternera itself, the proxy this package plugs into, is under the Elastic
License 2.0.