Skip to content

Releases: primer/view_components

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

v0.7.0

17 Aug 22:01
dfb7e2a
Compare
Choose a tag to compare

Minor Changes

Patch Changes

v0.6.0

03 Aug 20:41
64d98e7
Compare
Choose a tag to compare

Minor Changes

Patch Changes

v0.5.1

25 Jul 17:06
5e98ebf
Compare
Choose a tag to compare

Patch Changes

v0.5.0

24 Jul 20:59
0604e5f
Compare
Choose a tag to compare

Minor Changes

  • #2148 cbd5c84d Thanks @keithamus! - Add a linter discouraging use of in favor of Primer::Alpha::ActionMenu

  • #2123 f9119d95 Thanks @langermank! - - Use Primitive v8 color tokens

    • Add tests for compiled CSS to ensure CSS color variables have a fallback

Patch Changes

v0.4.0

12 Jul 21:43
86092d9
Compare
Choose a tag to compare

Minor Changes

  • #2111 6ee6d774 Thanks @keithamus! - refactor Primer::Alpha::Tooltip to use popover

    Changed components: Primer::Alpha::Tooltip

  • #2034 707a1fa3 Thanks @radglob! - Partially address a11y issues in Link component.

    Links can no longer be rendered as <span>s.

  • #1941 a8cc5ba2 Thanks @jonrohan! - 🆕 New component!

    The Primer::Alpha::ActionBar component is used to create a toolbar of buttons that will fold into an ActionMenu when the space is smaller. Design details