Releases: primer/view_components
Release list
v0.36.0
Minor Changes
-
#3041
14dd0d3Thanks @HDinger! - Support leading and trailing icons for Links -
#3219
633bd05Thanks @camertron! - Removing the validate classname check that forces system arguments instead of utility classes
Patch Changes
-
#3217
0bbb076Thanks @camertron! - Fix issue causing AutoComplete elements to overflow their container -
#3205
79ca4f9Thanks @camertron! - Ensurefull_width:option is respected by the auto_complete input -
#3202
a574b0eThanks @camertron! - Prevent hidden inputs from taking up space on the page -
#3216
23dd4faThanks @keithamus! - Remove redundant code for better performance.
v0.35.2
Patch Changes
-
#3204
f24feabThanks @joshblack! - Update caret styles for Popover to correctly position caret in different orientations -
#3187
a91aa93Thanks @camertron! - [SelectPanel] Fix result count in screen reader announcements
v0.35.1
Patch Changes
-
#3177
308a56bThanks @mathias! - Switch Ruby match from Regexps to String's starts_with method -
#3186
4d46a3aThanks @camertron! - [SelectPanel] Don't clear selection if input field doesn't exist -
#3179
93297d2Thanks @langermank! - Update the primer/primitives dependency to be 9.x || 10.x and move it to peer
v0.35.0
Minor Changes
-
#3158
683abd2Thanks @jonrohan! - Delete Primer::Alpha::ImageCrop -
#3074
25109d0Thanks @owenniblock! - [SelectPanel] replace loading label using parameter loading_label
[SelectPanel] show additional loading content with loading_description -
#3072
18b2074Thanks @camertron! - [Forms] Fix position of caption for checkbox and radio groups -
#3145
a6bacb5Thanks @camertron! - Add option to Dialog to permit/disable page scrolling -
#3160
3cb826aThanks @camertron! - Bump primer/css -
#3149
b9cce66Thanks @camertron! - Allow form groups to accept system arguments -
#3071
e043069Thanks @camertron! - [SelectPanel] Use checkboxes for multi-select -
#3126
89052caThanks @francinelucca! - Introduce the Stack and StackItem components. -
#3083
5907105Thanks @jamieshark! - [SelectPanel] Adds banner scheme as param.
Patch Changes
-
#3103
6033c86Thanks @owenniblock! - Moves the loading and "no results" messages on the SelectPanel to the top of the container. -
#3141
37e78c0Thanks @camertron! - Allow setting custom values on submit buttons. -
#3153
cc1ce7aThanks @camertron! - Fix problem introduced by #3141 that causes template captions not to render for certain input types if the input is configured with avalue:. -
#3076
7e7a60fThanks @HDinger! - Add "action" to the list of data attributes that accept multiple values in themerge_datahelper -
#3139
b650344Thanks @jamieshark! - Adjusts config for DetailsMenuMigration linter to take in an array of strings instead of array of regexp -
#3168
82c2b0aThanks @camertron! - [SelectPanel] Fix issue causing no error banner to appear when there are no matches -
#3095
26f1fbcThanks @owenniblock! - Clear input on SelectPanel when dialog closed -
#3152
3611f9cThanks @joelhawksley! - Fix bug where checkboxes were broken with prefers-reduced-motion -
#3159
5bc179dThanks @camertron! - Increase space between form elements -
#3144
978e867Thanks @keithamus! - Remove dialog-scrollgutter setting from hot-path, for improved performance
v0.34.0
Minor Changes
- #3062
b45ef04Thanks @dombesz! - Trigger an input event when the primer-text-field clear button is pressed.
Patch Changes
-
#3054
4434ec0Thanks @camertron! - [SelectPanel] Disallow passingrole:argument -
#3077
66488a3Thanks @camertron! - [SelectPanel] Fix tab index issue in multi-select mode -
#3044
b57b63aThanks @jamieshark! - SelectPanel - design bug fixes. Adds a divider below the filter, adjusts min height for loading and error states, moves banner error above input filter." -
#3053
871c818Thanks @camertron! - [SelectPanel] Raise an error when remote fetch + hidden filter argument combo -
#3058
269b02fThanks @langermank! -Labelpadding updates to match PRC -
#3055
ca4eae5Thanks @camertron! - Remove OpenStruct from primer_octicon cop -
#3057
96b42dbThanks @owenniblock! - Don't select SelectPanel::Item when item is a link
v0.33.0
Minor Changes
-
#3026
5be0a0fThanks @camertron! - Fire an event when banners are dismissed -
#3023
3fb46edThanks @langermank! - Bumpprimer/primitivesv9 -
#3022
01cbbeaThanks @camertron! - Add a linter for migrating from SelectMenu -> SelectPanel
Patch Changes
-
#3027
5a205cdThanks @camertron! - Remove SelectPanel's backdrop -
#3021
8a16336Thanks @camertron! - When hiding aSpinner, also hide its screen reader text -
#3040
612307dThanks @camertron! - Revert leading/trailing visuals for link component -
#3038
6b4983eThanks @jamieshark! - SelectPanel: check for filter input when loading remote items.
v0.32.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 #2964 becausedata-turbo=falsegets interpreted as a truthy value.
v0.31.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.30.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.