Releases: phenixdigital/phoenix_storybook
Releases · phenixdigital/phoenix_storybook
v0.6.1
v0.6.0
- change (breaking!): all css
lsb-
prefixes have been renamed topsb-
(matchinglive storybook
renaming tophoenix storybook
). - change (breaking!):
assign
andtoggle
events have been prefixed withpsb-
(cf.components.md
guide) - feature: render any stories with the new :one_column layout
- improvement: fixed compatibility with phoenix_html_helpers
- improvement: function components use iframe srcdoc.
- improvement: Content-Security-Policy (CSP) support. Special thanks to Gaia for the PR 🙏
- improvement: CSRF token is optional
- bugfix: generating stories without Elixir. prefix in module names
- bugfix: fixed potential import module clashes
- bugfix: generated story for flash core_component has been updated (flash was no longer supporting the
autoshow
option) - bugfix:
mix phx.gen.storybook
now prints how to set the important sandbox strategy - bugfix:
mix phx.gen.storybook
no longer prints Docker instructions when no Docker file is present. - bugfix: dialyxir has been restored
- bugfix: fixed multiple imports issue
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