Releases: ArthurClemens/primer_live
Releases · ArthurClemens/primer_live
0.7.0
0.6.4
Reverted dependency @primer/css
to 21.0.9
because of an excessively increased file size in later versions.
Upstream bug report: primer/css#2567
0.6.3
Changes
- Class attrs now support class notation from Surface. Thanks @tunchamroeun!
- Component
pagination
: added class entry for "current_page" which now can receive a custom class.
0.6.2
Bug fixes
- Pagination: fixes the calculation when a gap between page numbers should be shown.
Other changes
- Pagination: added
role
and improved ARIA labels.
0.6.1
0.6.1
Fixes reading the required state of input fields.
0.6.0
0.6.0
Added support for forms created with Ash Framework. See test/frameworks/ash/form_test.exs for an example.
0.5.4
0.5.4
Fixed a bug where the required marker would always be displayed, regardless of the field's required state.
0.5.3
0.5.3
Downgraded phoenix_live_view
version to 0.19
; both 0.19
and 0.20
should be compatible.
0.5.2
0.5.2
Added JS and CSS exports for Prompt functionality only. This is useful when you want to use menu/dialog/drawer behavior without Primer Design CSS. See the installation documentation for details.
0.5.1
Deprecated
- Component
avatar_pair
: renamedparent_child_avatar
toavatar_pair
. - Components
action_menu
andselect_menu
: renamedis_right_aligned
tois_aligned_end
(added RTL support). - Component
spinner
: renamedgap_color
tohighlight_color
.
New component
toggle_switch
: Toggle switch is used to immediately toggle a setting on or off.
Updated components
avatar
: Added attris_round
.avatar_pair
: Improved styling: support display inside flex container, add inner border to child avatar.button
- Improved dimensions according to Primer Style specs, including placing a trailing icon.
- Added attr
is_aligned_start
. Aligns contents to the start (at the left in left-to-right languages), while the dropdown caret (if any) is placed at the far end.
spinner
: Updated to latest Primer Style design.