alternera_ui_kit

Alternera's look as function components a package can draw with no proxy around: Alternera.UIKit holds icon/1, callout/1, badge/1, copy_button/1, disclosure/1 and chart/1. The proxy's own <.callout>, <.alternera_badge> and <.chart> call these, so a package draws the same markup as the proxy.

Both UI contracts are built on it: alternera_plugin_editor (a step's editor, whose Alternera.Plugin.Editor delegates to it) and alternera_resource_ui (a resource package's own UI). It depends on LiveView alone and calls nothing of the proxy; the proxy's mix alternera.plugin_assets always lists its lib among the Tailwind sources and bundles its colocated hook.

Alternera's own tests cover it through the proxy components that call it.

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.