Releases: primer/view_components
v0.42.0
Minor Changes
- #3428
1ab1b06
Thanks @manuelpuyol! - Create IncludeFragment component. Allow ConditionalWrapper to render components other than BaseComponent
Patch Changes
- #3429
6ea9fd5
Thanks @manuelpuyol! - Create IncludeFragment linter to migrate uses
v0.41.0
Minor Changes
-
#3433
1b583f4
Thanks @joelhawksley! - Clean up warnings when running tests, limit Ruby support to >= 3.2 and Rails support to >= 7.1. -
#3406
5176617
Thanks @joelhawksley! - Use auto-check-element v6, which only validates on blur vs. every keystroke.
v0.40.0
v0.39.0
v0.38.0
Minor Changes
- #3321
de2397d
Thanks @kendallgassner! - [Primer::Beta::Autocomplete] Added a new component to render inside the the Autocomplete dropdown: Primer::Beta::AutoComplete::NoResultItem. This new component can be used to display a message to indicate that there are no available results. This component is marked upas role='presentation' as the autocomplete component already uses aria-live to announce if there are no results.
Patch Changes
v0.37.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! - Prevent scroll when openingActionMenu
s. -
#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.36.5
v0.36.4
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.36.3
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
v0.36.2
Patch Changes
-
#3224
3140ad9
Thanks @camertron! - Update check box styles for ActionList to match the rest of Primer -
#3236
eea9da6
Thanks @camertron! - Improve template path detection for forms -
#3235
c765093
Thanks @TylerJDev! - Addsrole="radiogroup"
onfieldset
in radio group component -
#3207
5880922
Thanks @camertron! - Fix ActionMenu position issue when container is scrollable