Releases: petalframework/petal_components
Releases Β· petalframework/petal_components
v2.0.0
- a11y improvements by @tylerbarker in #331
- Make Petal Components Accessible by @tylerbarker in #326
- Aligns .icon with latest heroicon method by @mitkins in #340
- Generate list of heroicons if the dependency exists by @mitkins in #345
- Skeleton placeholder to be shown when loading content by @GraphiteSprite in #319
- Hide dropdown when pressing escape by @RobinBoers in #334
- Remove
for
attribute inradio-group
label by @tegon in #333 - Remove for attribute in checkbox-group label by @mitkins in #336
- Use
spans
instead oflabels
if there is nofor
attribute by @mitkins in #344 - Cleanup type of class attrs by @nallwhy in #329
- Add default_js_lib config by @nallwhy in #335
1.9.3
1.9.2
- Adds optional empty states for tables.
- named slot :empty_state
- always rendered at the top of the table into a cell that spans the whole width (the width is derived from the number of :col slots supplied)
- the row that holds the cell has hidden only:table-row Tailwind classes so it's only visible if it's the only row
- the slot takes row_class that is then forwarded to the cell
- renders multiple cells if more than one :empty_state slot is given
1.9.1
v1.9.0
v1.8.0
- Updated deps
- Use new PhoenixHTMLHelpers lib
- Fix bug where the close_modal event gets sent twice to the LiveView if you push_patch from the close_modal handle_event in the LiveView - thanks @axelclark
v1.7.1
v1.7.0
- Added close_on_click_away to
<.slide_over>
(thx @samuelpordeus) - Added close_on_escape to
<.slide_over>
(thx @samuelpordeus) - Added fade in transition to
<.slide_over>
- Cleaned up classes in codebase (deprecated build_class)