Releases: primer/view_components
v0.18.0
Minor Changes
Patch Changes
-
#2527
1d20198
Thanks @keithamus! - Remove animations on actionlist checkmark -
#2549
1259249
Thanks @keithamus! - Ensure dialogs do not close when a child menu item (or similar) is clicked
v0.17.0
Minor Changes
-
#2539
9985fc0
Thanks @camertron! - Use latest version of @primer/primitives -
#2496
983e3a5
Thanks @keithamus! - Primer::Alpha::Dialog uses<dialog>
internally
Patch Changes
-
#2495
fbaea76
Thanks @antn! - Allow settingtest_selector
on select list options -
#2538
35e5d06
Thanks @camertron! - Prevent ActionMenu's show_button slot from rendering its content more than once -
#2541
116a343
Thanks @khiga8! - AllowBanner
to be rendered as a section -
#2530
1d14d5c
Thanks @camertron! - Update @oddbird/popover-polyfill to v0.3.8 -
#2491
11b1eec
Thanks @jonrohan! - Fixing the utilities build not matching properly forfont_size
-
#2511
15a090a
Thanks @camertron! - Only attach validation IDs to form elements that support validation
v0.16.1
v0.16.0
Minor Changes
-
#2445
da60c73
Thanks @camertron! - Always convert CSS classes to system arguments in linters -
#2447
08a8e01
Thanks @kenyonj! - Support font_size and border_radius in classify/utilities
Patch Changes
-
#2452
87e03ea
Thanks @nicolleromero! - Ensure tooltip does not reopen errantly unless focus is visible -
#2456
fd38b17
Thanks @TylerJDev! - Adds visible outlines toOverlay
andTooltip
in high contrast mode. -
#2432
c162880
Thanks @dylanatsmith! - Removeuser-select: none
to allow users to select form label text -
#2428
4cb9a57
Thanks @strackoverflow! - Fix an accessibility issue where the Dialog body could not be reached via keyboard navigation -
#2411
58e700a
Thanks @keithamus! - Ensure scroll position does not change when opening ActionMenus -
#2425
65f418f
Thanks @camertron! - Use floats to hide ActionBar items to address Android Chrome overflow issue -
#2455
6ca4ac4
Thanks @HDinger! - Make dismiss action on Banner translatable -
#2434
dc87edf
Thanks @langermank! - Add missingbox-shadow
to text field
v0.15.1
v0.15.0
Minor Changes
-
#2378
81b5acc6
Thanks @keithamus! - Primer::Alpha::ActionList now uses popover -
#2340
b8d05407
Thanks @camertron! - Add group support to ActionMenu -
#2393
745eae0d
Thanks @camertron! - [ActionMenu] Don't allow previously hidden items to be checkable; add JavaScript API
Patch Changes
-
#2414
48a2405a
Thanks @keithamus! - Prevent other Overlays closing when Escape is pressed while Tooltips are open -
#2379
2c59c33b
Thanks @mperrotti! - Updates 'inactive' state for buttons based on feedback from the a11y team:- inactive buttons need to meet the color contrast ratio minimum
- inactive buttons shouldn't have aria-disabled since they can still accept interactions such as:
- hover/focus to show a tooltip
- click/activate to show a dialog with more detailed info on why it's inactive
-
#2408
57586da4
Thanks @HDinger! - Fix: Allow month attribute for Primer::Beta::RelativeTime -
#2406
fb9bf257
Thanks @strackoverflow! - Fix an issue where multiple groups could not be paginated within the same NavList -
#2412
e7c9a6c6
Thanks @camertron! - Prevent Blankslates from having a zero width inside flex containers
v0.14.0
Minor Changes
-
#2367
b2acc97d
Thanks @camertron! - Add an ActionMenu form input -
#2335
684f9a51
Thanks @camertron! - Add a ClipboardCopyButton component -
#2365
314c0f1f
Thanks @camertron! - Remove touch target gaps between ActionBar items -
#2296
3374555e
Thanks @jonrohan! - Removing the button wrapperButton--withTooltip
when using a tooltip with a button. -
#2330
6bf8da54
Thanks @camertron! - Allow several font sizes for Subhead headings -
#2336
94db2c4b
Thanks @camertron! - Add Rails 7.1 support -
#2366
73d05613
Thanks @camertron! - Add missing 64px Avatar size -
#2377
482152ae
Thanks @gwwar! - Updates Primer::Alpha::TextField to support success inline validation messages and allows validation messages to contain html fragments.
Patch Changes
-
#2360
94b7a445
Thanks @TylerJDev! - Removes redundantaria-disabled
from list item withinActionMenu
. -
#2337
0189b553
Thanks @mperrotti! - Adapts Blankslate to render proportionally in narrow areas -
#2383
7c2e6f6c
Thanks @strackoverflow! - Fix an issue where ActionMenu wouldn't scroll its contents -
#2384
2c778661
Thanks @camertron! - Re-introduce require 'primer/form_helper' for setups that rely on Rails eager load paths
v0.13.2
Patch Changes
-
#2331
4f8af24f
Thanks @camertron! - Prevent scrolling when activating ActionMenu form items via space -
#2323
c481ed2d
Thanks @keithamus! - Fix bug in ActionMenu/Tooltip/Overlay being always visible in Firefox on ios 17
v0.13.1
Patch Changes
-
#2326
4e05b7ec
Thanks @camertron! - Prevent scrolling when activating ActionMenu items via space -
#2324
cc44952c
Thanks @langermank! - Revert Tooltip caret removal
v0.13.0
Minor Changes
-
#2284
374d10fd
Thanks @langermank! - Update tooltip design- Removes caret
- Decrease offset
- Remove animation delay
- Use v8 color tokens
-
#2293
d7eafca0
Thanks @camertron! - Fix multi-select behavior when ActionMenus are embedded in dialogs -
#2291
725bbd95
Thanks @camertron! - Allow ActionMenu items to submit multiple values on form submission; fix keyboard handling for submit items
Patch Changes
-
#2286
02e7f785
Thanks @langermank! - fix SegmentedControl alignment issues -
#2288
caf09967
Thanks @TylerJDev! - Fixes issue where sometimes a dialog cannot be closed if another is open -
#2292
46e3ff02
Thanks @jonrohan! - Fix ActionBar issue where left and end key don't loop around to end of the action bar items. -
#2290
f33eed35
Thanks @jonrohan! - Bug fix: Respect autofocus attributes inside of a Dialog when opening a modal-dialog. When the dialog was opening before it was always focusing the first focusable element which was always the close button.