Releases: phenixdigital/phoenix_storybook
Releases · phenixdigital/phoenix_storybook
v0.5.7
- improvement: bumped to `phoenix_live_view 0.20.0``
- improvement: bumped to Erlang 26 / Elixir 1.15
- improvement: better router formatting and exporting formatting configuration
- bugfix: fixed theme attributes being stripped out from code preview even when themes aren't being used
- bugfix: updated generated story to the latest phoenix core components
- bugfix: fixed white bar in code preview
v0.5.6
v0.5.5
- improvement: make it work with FontAwesome webfont. You need to set the
font_awesome_rendering
to:webfont
if you are not using fontawesome with
svg icons. - improvement: fixed Elixir 1.15 deprecations
v0.5.4
v0.5.3
bugfix: fixed hooks not being initialized.
v0.5.2
v0.5.2 (2022-03-16)
- improvement: improved mix phx.gen.storybook instructions
- bugfix: fixed issue with nested story modules.
- bugfix: fixed broken generated stories.
- bugfix: fixed theme strategy function not being called from Playground process.
v0.5.1
v0.5.0
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
v0.4.5
v0.4.4
- feature: you can now customize your story div container
- improvement: removed routes helpers
(will help transition to Phoenix 1.7) - improvement: pass connect params to story page
- bugfix: add :live_session and :as options to router
- bugfix: missing playground tab icons