Releases: primer/view_components
v0.34.0
Minor Changes
- #3062
b45ef04
Thanks @dombesz! - Trigger an input event when the primer-text-field clear button is pressed.
Patch Changes
-
#3054
4434ec0
Thanks @camertron! - [SelectPanel] Disallow passingrole:
argument -
#3077
66488a3
Thanks @camertron! - [SelectPanel] Fix tab index issue in multi-select mode -
#3044
b57b63a
Thanks @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
871c818
Thanks @camertron! - [SelectPanel] Raise an error when remote fetch + hidden filter argument combo -
#3058
269b02f
Thanks @langermank! -Label
padding updates to match PRC -
#3055
ca4eae5
Thanks @camertron! - Remove OpenStruct from primer_octicon cop -
#3057
96b42db
Thanks @owenniblock! - Don't select SelectPanel::Item when item is a link
v0.33.0
Minor Changes
-
#3026
5be0a0f
Thanks @camertron! - Fire an event when banners are dismissed -
#3023
3fb46ed
Thanks @langermank! - Bumpprimer/primitives
v9 -
#3022
01cbbea
Thanks @camertron! - Add a linter for migrating from SelectMenu -> SelectPanel
Patch Changes
-
#3027
5a205cd
Thanks @camertron! - Remove SelectPanel's backdrop -
#3021
8a16336
Thanks @camertron! - When hiding aSpinner
, also hide its screen reader text -
#3040
612307d
Thanks @camertron! - Revert leading/trailing visuals for link component -
#3038
6b4983e
Thanks @jamieshark! - SelectPanel: check for filter input when loading remote items.
v0.32.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 #2964 becausedata-turbo=false
gets interpreted as a truthy value.
v0.31.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.30.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.29.0
v0.28.0
Minor Changes
- #2941
f3b640e
Thanks @camertron! - Upstream the SelectPanel component from dotcom
Patch Changes
-
#2954
15fb8c4
Thanks @camertron! - Small SelectPanel fixes; lots of SelectPanel tests. -
#2951
ac15e65
Thanks @HDinger! - Always align group headers of aPrimer::Alpha::ActionMenu
at the beginning of the line -
#2952
98900f3
Thanks @camertron! - Fix wrapping behavior of toggle switch label -
#2961
b662625
Thanks @camertron! - Ensure condition is checked when mutations occur in SelectPanelElement.
v0.27.0
Minor Changes
- #2922
fb5917d
Thanks @camertron! - Change ActionMenu to accept and forward overlay arguments
Patch Changes
-
#2925
6c730c4
Thanks @kendallgassner! - Update ActionList such that if role='listbox' is passed in the items render as options -
#2924
235544d
Thanks @kendallgassner! - Add a valid selector to focus-group
v0.26.1
v0.26.0
Minor Changes
-
#2884
85f6a01
Thanks @owenniblock! - Adds default sr-only text to spinner component -
#2855
05159ca
Thanks @keithamus! - Upgrade @github/tab-container, using shadowdom -
#2887
5589bcf
Thanks @HDinger! - Add support fortarget
attribute on links of Primer::Beta::Breadcrumbs -
#2895
bb1a15b
Thanks @camertron! - Add a leading spinner to the TextField component.
Patch Changes
-
#2872
5445f2e
Thanks @smockle! - chore: Update '@github/relative-time-element' from 4.4.0 to 4.4.1 -
#2885
37727e3
Thanks @camertron! - Fix ActionMenu item activation by using PointerEvent instead of MouseEvent and KeyboardEvent. -
#2904
96307bf
Thanks @camertron! - Fix CSS issue causing scrollbars to appear in tabs