Skip to content

Releases: opf/primer_view_components

v0.56.0

27 Feb 06:40
4cad42b
Compare
Choose a tag to compare

Minor Changes

v0.55.0

20 Feb 14:09
2e76059
Compare
Choose a tag to compare

Minor Changes

  • #3292 66637a4 Thanks @ktravers! - Improve Details component accessibility by setting aria-label and aria-expanded attributes correctly on initial render and when toggled open/closed.

Patch Changes

v0.54.1

20 Feb 13:05
dc3ddc2
Compare
Choose a tag to compare

Patch Changes

  • #246 26fdce6 Thanks @myabc! - DangerDialog now uses the "alertdialog" ARIA role

  • #245 27b6af1 Thanks @myabc! - Fix broken FeedbackDialog aria-describedby value - was referencing non-existent id.

  • #243 79986c4 Thanks @myabc! - Fix DangerDialog body scroll behaviour when containing a form: the dialog's confirm and cancel buttons should now always be visible in the viewport, never scrolling with the other dialog content.

  • #245 27b6af1 Thanks @myabc! - Fix broken DangerDialog aria-describedby value - was referencing non-existent id.

v0.54.0

11 Feb 07:54
e5eea78
Compare
Choose a tag to compare

Minor Changes

  • #239 2724f0c Thanks @HDinger! - Create Primer::OpenProject::Heading for OpenProject specific (content) headers. At the same time, increase font-weight for Primer::OpenProject::PageHeader to gain more visibility in the page structure

v0.53.1

04 Feb 12:01
54762ad
Compare
Choose a tag to compare

Patch Changes

  • #236 de1a205 Thanks @myabc! - Fix regression: callers unable to set custom button text

  • #237 c2c98cf Thanks @myabc! - Make DangerDialog title param required: Axe will raise accessibility violations in the absence of a title. We want to ensure best a11y practice, so this change makes it a required param and documents it.

    This is a BREAKING change.

  • #237 694bdae Thanks @myabc! - Make FeedbackDialog title param required: Axe will raise accessibility violations in the absence of a title. We want to ensure best a11y practice, so this change makes it a required param and documents it.

    This is a BREAKING change.

v0.53.0

04 Feb 09:18
1d2a349
Compare
Choose a tag to compare

Minor Changes

  • #234 cdb335c Thanks @myabc! - [#60588] Implementation of Danger Dialog, a generalised dialog for "potentially dangerous" actions such as item deletion.
    There are two variants:

    1. the default (or "warning") variant, requiring the user to click the dialog confirmation button to continue.
    2. the second confirmation variant, which requires the user to check a check box AND click confirm to continue with the operation.

    This is a BREAKING change, which renames DangerConfirmationDialog to DangerDialog. Callers will need to update the class name and consider which behaviour they wish to present to the end user. The confirmation variant behaviour is enabled by defining a confirmation_check_box slot.

Patch Changes

  • #234 de20e6d Thanks @myabc! - Fix DangerDialog body scroll behaviour: the dialog's body scroll behaviour should be in parity with that of the underlying Primer::Alpha::Dialog component.

v0.52.4

30 Jan 07:26
6b37e5a
Compare
Choose a tag to compare

Patch Changes

v0.52.3

28 Jan 13:27
0592b35
Compare
Choose a tag to compare

Patch Changes

v0.52.2

17 Jan 10:47
22cb647
Compare
Choose a tag to compare

Patch Changes

v0.52.1

16 Jan 06:44
6652368
Compare
Choose a tag to compare

Patch Changes

  • #3254 1bb7ad7 Thanks @camertron! - Fix NoMethodError when checking if ActionList::Dividers are active

  • #3253 3a63cf0 Thanks @joshblack! - Add top spacing to Dialog::Body to avoid it being glued to the divider

  • #225 acf202b Thanks @myabc! - Changes button text to dismiss Danger Dialog from "Close" to "Cancel"