v0.5.0 (2023-02-27)
- change (breaking!): project has been renamed from
phx_live_storybook
tophoenix_storybook
. In your project:- rename all references of
phx_live_storybook
tophoenix_storybook
- rename all references from
PhxLiveStorybook
toPhoenixStorybook
- rename all references of
- change (breaking!): depends on
phoenix 1.7+
- change (breaking!): component description is no longer a function defined
in your story file but is fetched from your component@doc
or your live_component@moduledoc
comments. - feature: support for Example stories
- feature: visual regression endpoints.
This endpoint can output bare components without the storybook's UI so that you can automate
visual tests screenshots. - improvement: mix phx.gen.storybook now prints formatter instructions
- improvement: new theme strategies. Theming guide has been updated.
- improvement: boolean attributes are rendered with their shorthand notation
- improvement: generating stories for Phoenix 1.7 core components
- bugfix: a project without heroicons will no longer raise on the generated icon story
- bugfix: fixed variation crash with a large binary in a map
- bugfix: fixed slots crash if rendered more than once