@primer/view-components 0.12.1-rc.da91b0e4 → 0.13.0-rc.110178de
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -249,11 +249,6 @@ _ActionMenuElement_abortController = new WeakMap(), _ActionMenuElement_originalL
|
|
249
249
|
item.setAttribute('aria-checked', `${checked}`);
|
250
250
|
}
|
251
251
|
__classPrivateFieldGet(this, _ActionMenuElement_instances, "m", _ActionMenuElement_updateInput).call(this);
|
252
|
-
if (event instanceof KeyboardEvent && event.target instanceof HTMLButtonElement) {
|
253
|
-
// prevent buttons from being clicked twice
|
254
|
-
event.preventDefault();
|
255
|
-
return;
|
256
|
-
}
|
257
252
|
}, _ActionMenuElement_activateItem = function _ActionMenuElement_activateItem(event, item) {
|
258
253
|
const eventWillActivateByDefault = (event instanceof MouseEvent && event.type === 'click') ||
|
259
254
|
(event instanceof KeyboardEvent &&
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@primer/view-components",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.13.0-rc.110178de",
|
4
4
|
"description": "ViewComponents for the Primer Design System",
|
5
5
|
"main": "app/assets/javascripts/primer_view_components.js",
|
6
6
|
"module": "app/components/primer/primer.js",
|