Releases: primer/view_components
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.
v0.9.0
Minor Changes
-
#2205
88ac3095
Thanks @TylerJDev! - Add rubocop linter forIconButton
component -
#2223
00b7d5d7
Thanks @jonrohan! - Moving the render for the ActionBar::Item from the slot initializer to the call method.
Patch Changes
-
#2227
bb336bb6
Thanks @jonrohan! - [Bug] Don't fill in the spinner circle svg path -
#2237
70a8336f
Thanks @jonrohan! - Fixing ActionBar more menu items including buttons with no type -
#2204
ed1644a2
Thanks @keithamus! - Fix errors in older browsers with :popover-open -
#2236
d663e450
Thanks @keithamus! - Centre anchored-position elements when their anchor is not present
v0.8.0
Minor Changes
-
#2215
827634e9
Thanks @mjimenez98! - Support SVGs as leading visuals inButton
component -
#2222
e196af7b
Thanks @jonrohan! - Replace dismiss button in Flash with IconButton
Patch Changes
-
#2213
bc4b3340
Thanks @camertron! - Support Rails edge's custom deprecators -
#2212
3d0036ae
Thanks @keithamus! - Fix dialog invocation within deferred ActionMenus