Releases: opf/primer_view_components
v0.56.0
v0.55.0
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
-
#3327
e3e29b0
Thanks @acbreton! - Add preventScroll to focus call in Action Menu -
#3319
42db9dd
Thanks @ktravers! - Adds optional autofocus to ToggleSwitch -
#3291
aeaeb96
Thanks @francinelucca! - fix(ToggleSwitch): add X-Requested-With header -
#3318
081e5dd
Thanks @kendallgassner! - [ActionMenuForm] Add aria-describedby to the ActionMenuForm's button so that the label is describing the button -
#3316
4552438
Thanks @camertron! - Correct accessibility issues in FormControl examples and address missing aria attributes -
#3303
7fbd8da
Thanks @camertron! - Do not populate dynamic label with active item in multi-select mode
v0.54.1
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
v0.53.1
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
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:- the default (or "warning") variant, requiring the user to click the dialog confirmation button to continue.
- 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
toDangerDialog
. 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 aconfirmation_check_box
slot.
Patch Changes
v0.52.4
v0.52.3
v0.52.2
Patch Changes
-
#3260
87b0ddb
Thanks @joelhawksley! - Add more support for ruby 3.4 in tests -
#3267
7378b29
Thanks @camertron! - Add trailing visuals to the text field -
#3265
3c2454a
Thanks @myabc! - Fix incorrect classname keys when generatinglib/primer/classify/utilities.yml
withbundle exec rake utilities:build
. -
#3268
43e621e
Thanks @camertron! - Ensure ActionMenu's itemActivated event bubbles -
#3266
73d64d9
Thanks @camertron! - Fix memory leak in forms framework causing form templates to be compiled on each render in development -
#3257
9f87ab1
Thanks @joelhawksley! - add support for Ruby 3.4 in test suite
v0.52.1
Patch Changes
-
#3254
1bb7ad7
Thanks @camertron! - FixNoMethodError
when checking ifActionList::Divider
s 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"