Skip to content

Releases: primer/view_components

v0.15.0

01 Dec 20:56
3dccb90
Compare
Choose a tag to compare

Minor Changes

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

20 Nov 22:13
d06b532
Compare
Choose a tag to compare

Minor Changes

Patch Changes

v0.13.2

25 Oct 13:55
b65c2fd
Compare
Choose a tag to compare

Patch Changes

v0.13.1

23 Oct 22:43
e7912df
Compare
Choose a tag to compare

Patch Changes

v0.13.0

19 Oct 22:31
683d931
Compare
Choose a tag to compare

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

17 Oct 20:46
3e3d46b
Compare
Choose a tag to compare

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

v0.11.0

09 Oct 17:15
d92acd9
Compare
Choose a tag to compare

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 set tabindex="0" back to invoker if it is non-focusable.
    • Prevents popover invokers from being triggered with 'left' and 'right' arrow keys.

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

28 Sep 14:46
f423db6
Compare
Choose a tag to compare

Minor Changes

Patch Changes

v0.9.0

13 Sep 11:07
a7366c3
Compare
Choose a tag to compare

Minor Changes

Patch Changes

v0.8.0

28 Aug 20:53
c0069fc
Compare
Choose a tag to compare

Minor Changes

Patch Changes