Skip to content

Releases: ArthurClemens/primer_live

0.7.0

07 Apr 12:14
7cafe4f
Compare
Choose a tag to compare

Updated dependencies:

  • phoenix_ecto to 4.5
  • phoenix_html to 4.1
    • Added phoenix_html_helpers
  • phoenix_live_view to 0.20
  • @primer/css to 21.2.2

Removed support for Ash Framework due to incompatible dependencies.

0.6.4

21 Dec 09:01
b8ad7d4
Compare
Choose a tag to compare

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

21 Dec 08:51
e8a55cd
Compare
Choose a tag to compare

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

17 Dec 14:13
9d66a8a
Compare
Choose a tag to compare

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

14 Oct 22:28
4974be2
Compare
Choose a tag to compare

0.6.1

Fixes reading the required state of input fields.

0.6.0

08 Oct 14:00
5479dec
Compare
Choose a tag to compare

0.6.0

Added support for forms created with Ash Framework. See test/frameworks/ash/form_test.exs for an example.

0.5.4

07 Oct 18:55
716d3fc
Compare
Choose a tag to compare

0.5.4

Fixed a bug where the required marker would always be displayed, regardless of the field's required state.

0.5.3

01 Oct 21:17
b9df575
Compare
Choose a tag to compare

0.5.3

Downgraded phoenix_live_view version to 0.19; both 0.19 and 0.20 should be compatible.

0.5.2

01 Oct 20:31
7899fce
Compare
Choose a tag to compare

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

24 Sep 10:09
b701699
Compare
Choose a tag to compare

Deprecated

  • Component avatar_pair: renamed parent_child_avatar to avatar_pair.
  • Components action_menu and select_menu: renamed is_right_aligned to is_aligned_end (added RTL support).
  • Component spinner: renamed gap_color to highlight_color.

New component

  • toggle_switch: Toggle switch is used to immediately toggle a setting on or off.

Updated components

  • avatar: Added attr is_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.