Releases: opf/primer_view_components
Release list
v0.44.2
v0.44.1
v0.44.0
v0.43.1
v0.43.0
Minor Changes
- #3009
8f06f7aThanks @camertron! - Include value in event metadata when SelectPanel items are activated
Patch Changes
-
#2983
5d68193Thanks @keithamus! - Ensure ActionMenu restores focus on close of a dialog, if a menu item opened that dialog -
#3010
ebab85aThanks @camertron! - Fixes several SelectPanel bugs:- If multiple server-rendered items are checked, the panel will only show one item checked.
- If no
data-valueattributes are provided, panels in single-select mode will allow multiple items to be checked.
-
#3011
9507093Thanks @JoyceZhu! - Remove "loading" screenreader-only text after Spinner load for
eventually_localSelectPanels -
#3012
adcddddThanks @orhantoy! - Fix a bug where all requests from theToggleSwitchview component are being made with a Turbo Accept header.
This started happening after the change in primer#2964 becausedata-turbo=falsegets interpreted as a truthy value.
v0.42.0
Minor Changes
- #2984
c56f325Thanks @camertron! - Add ability to attach a test selector to ActionList items
Patch Changes
-
#2995
0647fedThanks @camertron! - Allow ActionList item content to be supplied by positional arg -
#2979
ae6e3d7Thanks @langermank! - Prep for high contrast theme updates -
#2986
4d8ec0cThanks @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
82f0267Thanks @kendallgassner! - Ensure focus is set on SelectPanel item when arrowing down from input -
#2997
0d0b5bcThanks @camertron! - Prevent an empty list of custom regexes in the DetailsMenuMigration linter from reporting false-positives -
#2978
fac1ec9Thanks @camertron! - Ensure pressing 'Enter' in SelectPanel filter input causes navigation if first item is link. -
#2996
53abaa6Thanks @kendallgassner! - Remove tabindex="-1" from li elements labelled as role="none" since tabindex's remove/negate role presentation -
#2989
36a044aThanks @JoyceZhu! - Addaria-haspopupandaria-expandedtoSelectPanelstate -
#2994
3bf8fd4Thanks @kendallgassner! - Add aria-labelledby on the SelectPanel dialog -
#2985
868b49eThanks @jamieshark! - Adds custom config for DetailsMenuMigration linter. -
#2988
a5eefd9Thanks @gjtorikian! - Fix documentation comments in relative_time.rb
v0.41.1
Patch Changes
- #159
f2517d6Thanks @oliverguenther! - Allow input_width on text_area
v0.41.0
v0.40.0
Minor Changes
-
#2964
91f5a57Thanks @klaustopher! - Addturbo: trueas an parameter for theToggleSwitchcomponent and treat the respoonse (when it has the correct MIME type) as a Turbo Stream. The newturboparamater defaults to false
and with that the HTTP response is simply ignored as is the current behavior. -
#2966
05172faThanks @camertron! - Ensure Down, Home, and End behave as expected when a SelectPanel's input field has focus
Patch Changes
- #2972
9b675a7Thanks @TylerJDev! - Replacealign-itemswithalign-selfand apply it onActionListgroup headings directly.