Releases: primer/view_components
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.
v0.12.0
Minor Changes
-
#2283
da3bdb26
Thanks @mperrotti! - Adds an 'inactive' state to buttons. An inactive button looks disabled and has aria-disabled, but it can still be clicked and focused. This was added to support buttons that are broken due to availability issues, but can't be removed from the page. -
#2278
83b70dd7
Thanks @gwwar! - Add optional with_trailing_visual_label slot to Primer::Alpha::SegmentedControl::Item. Filling the slot will add a Primer::Beta::Label to the right of the item.
Patch Changes
- #2281
46d5d9cb
Thanks @keithamus! - Fix tooltips opening when focus is removed while displaying
v0.11.0
Minor Changes
-
#2276
7184d76e
Thanks @jonrohan! - Adding option item_arguments hash argument to ActionBar::Item that will control the item system arguments -
#2259
a2fe6134
Thanks @TylerJDev! - * Includes ActionMenu in ActionBar focus trap when present.- Adjusts
focus_group.ts
to settabindex="0"
back to invoker if it is non-focusable. - Prevents popover invokers from being triggered with 'left' and 'right' arrow keys.
- Adjusts
Patch Changes
-
#2260
b584a6b5
Thanks @camertron! - ActionMenu: hide the menu when focus leaves the component; focus the first list item when the menu is activated with the mouse; allow disabling list items while still permitting them to be focused with the keyboard
v0.10.0
Minor Changes
-
#2240
512fc39e
Thanks @camertron! - Allow anonymous forms, mostly useful for tests -
#2241
3f7e6198
Thanks @camertron! - Enable validation messages on radio button and check box groups -
#2247
09648632
Thanks @jonrohan! - Graduate NavList to beta status -
#2251
4a51102d
Thanks @camertron! - Add header variant to Dialog
Patch Changes
-
#2256
fd17adfd
Thanks @langermank! - Fix disabled styles for radio -
#2250
66c4dd69
Thanks @langermank! - - Improve contrast for icons ininvisible
button on hover in dark mode (within v8 colors)- Fix disabled button styles (v8 colors)
- Bump Primitives to latest
-
#2242
bc254f13
Thanks @keithamus! - Remove background from anchored-position -
#2249
1209d241
Thanks @camertron! - Fix underline behavior in Link component -
#2254
cdb9fe4d
Thanks @keithamus! - Only supply aria-label on Overlays with a role assigned -
#2245
495f911c
Thanks @TylerJDev! - Fix bug in ActionMenu keyboard navigation, where items aren't skipped when they're functionally[hidden]
. -
#2244
3c5fb3a7
Thanks @camertron! - Fix race condition causing dotcom axe check failures for icon button tooltips -
#2248
9885a5d8
Thanks @keithamus! - Update popover support in older browsers.