Releases: opf/primer_view_components
v0.44.1
v0.44.0
v0.43.1
v0.43.0
Minor Changes
- #3009
8f06f7a
Thanks @camertron! - Include value in event metadata when SelectPanel items are activated
Patch Changes
-
#2983
5d68193
Thanks @keithamus! - Ensure ActionMenu restores focus on close of a dialog, if a menu item opened that dialog -
#3010
ebab85a
Thanks @camertron! - Fixes several SelectPanel bugs:- If multiple server-rendered items are checked, the panel will only show one item checked.
- If no
data-value
attributes are provided, panels in single-select mode will allow multiple items to be checked.
-
#3011
9507093
Thanks @JoyceZhu! - Remove "loading" screenreader-only text after Spinner load for
eventually_local
SelectPanels -
#3012
adcdddd
Thanks @orhantoy! - Fix a bug where all requests from theToggleSwitch
view component are being made with a Turbo Accept header.
This started happening after the change in primer#2964 becausedata-turbo=false
gets interpreted as a truthy value.
v0.42.0
Minor Changes
- #2984
c56f325
Thanks @camertron! - Add ability to attach a test selector to ActionList items
Patch Changes
-
#2995
0647fed
Thanks @camertron! - Allow ActionList item content to be supplied by positional arg -
#2979
ae6e3d7
Thanks @langermank! - Prep for high contrast theme updates -
#2986
4d8ec0c
Thanks @kendallgassner! - Fixes Alpha::SelectPanel remote loading bug where items from the server were overriding the users selections. Additionally, update the #removeSelectedItem function to grab the data-value from the correct element. -
#2987
82f0267
Thanks @kendallgassner! - Ensure focus is set on SelectPanel item when arrowing down from input -
#2997
0d0b5bc
Thanks @camertron! - Prevent an empty list of custom regexes in the DetailsMenuMigration linter from reporting false-positives -
#2978
fac1ec9
Thanks @camertron! - Ensure pressing 'Enter' in SelectPanel filter input causes navigation if first item is link. -
#2996
53abaa6
Thanks @kendallgassner! - Remove tabindex="-1" from li elements labelled as role="none" since tabindex's remove/negate role presentation -
#2989
36a044a
Thanks @JoyceZhu! - Addaria-haspopup
andaria-expanded
toSelectPanel
state -
#2994
3bf8fd4
Thanks @kendallgassner! - Add aria-labelledby on the SelectPanel dialog -
#2985
868b49e
Thanks @jamieshark! - Adds custom config for DetailsMenuMigration linter. -
#2988
a5eefd9
Thanks @gjtorikian! - Fix documentation comments in relative_time.rb
v0.41.1
Patch Changes
- #159
f2517d6
Thanks @oliverguenther! - Allow input_width on text_area
v0.41.0
v0.40.0
Minor Changes
-
#2964
91f5a57
Thanks @klaustopher! - Addturbo: true
as an parameter for theToggleSwitch
component and treat the respoonse (when it has the correct MIME type) as a Turbo Stream. The newturbo
paramater defaults to false
and with that the HTTP response is simply ignored as is the current behavior. -
#2966
05172fa
Thanks @camertron! - Ensure Down, Home, and End behave as expected when a SelectPanel's input field has focus
Patch Changes
- #2972
9b675a7
Thanks @TylerJDev! - Replacealign-items
withalign-self
and apply it onActionList
group headings directly.
v0.39.1
v0.39.0
Minor Changes
- #2963
37ee0f7
Thanks @camertron! - Add defaults to SelectPanel::ItemLists; fix issue showing no results label for local fetch strategy