@primer/view-components
Advanced tools
Comparing version 0.27.0-rc.d62dbfed to 0.27.0
@@ -14,3 +14,3 @@ var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { | ||
import '@oddbird/popover-polyfill'; | ||
const validSelectors = ['[role="menuitem"]', '[role="menuitemcheckbox"]', '[role="menuitemradio"]']; | ||
const validSelectors = ['[role="menuitem"]', '[role="menuitemcheckbox"]', '[role="menuitemradio"]', '[role="option"]']; | ||
const menuItemSelector = validSelectors.map(selector => `:not([hidden]) > ${selector}`).join(', '); | ||
@@ -17,0 +17,0 @@ const getMnemonicFor = (item) => item.textContent?.trim()[0].toLowerCase(); |
{ | ||
"name": "@primer/view-components", | ||
"version": "0.27.0-rc.d62dbfed", | ||
"version": "0.27.0", | ||
"description": "ViewComponents for the Primer Design System", | ||
@@ -5,0 +5,0 @@ "main": "app/assets/javascripts/primer_view_components.js", |
@@ -22,2 +22,7 @@ { | ||
"Primer::Alpha::ActionList": { | ||
"ARIA_SELECTION_VARIANT_OPTIONS": [ | ||
"selected", | ||
"checked" | ||
], | ||
"DEFAULT_ARIA_SELECTION_VARIANT": "checked", | ||
"DEFAULT_MENU_ITEM_ROLE": "menuitem", | ||
@@ -31,2 +36,3 @@ "DEFAULT_ROLE": "list", | ||
"Item": "Primer::Alpha::ActionList::Item", | ||
"LIST_BOX_ITEM_ROLE": "option", | ||
"MENU_ROLE": "menu", | ||
@@ -33,0 +39,0 @@ "SCHEME_MAPPINGS": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2114967
35765