Releases: phenixdigital/phoenix_storybook
Releases · phenixdigital/phoenix_storybook
v0.8.1
- improvement: better formatting of playground's HTML - 🙏 @xxdavid
- improvement: highlight code blocks in components doc - 🙏 @xxdavid
- improvement: support ESM imports for scripts - 🙏 @cschmatzler
- improvement: UX tweaks - 🙏 @sodapopcan
v0.8.0
- change (breaking!): requires
phoenix_live_view ~> 1.0.x
- feature: new tab to preview function components HTML
- improvement: component documentation's markdown is properly formatted
- improvement: component documentation's attribute stripping can be opted out by configuration
- improvement: playground attribute documentation is properly formatted and can be expanded
when written on multiple lines. - improvement: nested slot attributes are properly displayed in the playground
- improvement: render only component function's source code for component stories
- improvement: updated generator with improved core_components' stories
- improvement: generated code markup is properly wrapped
- improvement: storybook can be disabled per environment
- bugfix: fixed broken playground for stories using templating features
v0.7.2
Kudos to Jace Warren for his contribution on local icons 🙏
- feature: support for local icons (read the updated
icons.md
guide for details) - bugfix: fixed missing color mode icons
- bugfix: fixed active dark mode when color_mode is disabled
- change (breaking!): FontAwesome icons are now CSS loaded (cf.
icons.md
guide)
v0.7.1
v0.7.0
- feature: support for dark mode
v0.6.4
- improvement: :compilation_debug config option was added in
storybook.ex
to show/hide story compilation logs - improvement: fixed Elixir 1.7 related warnings
v0.6.3
v0.6.2
- improvement: fixed Elixir 1.17 related warnings
- bugfix: fixed nofile_error_due_to_missing_env issue
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