@primer/view-components
Advanced tools
Comparing version 0.35.0-rc.300b5a03 to 0.35.0-rc.55150c27
@@ -148,3 +148,3 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
if (this && this.offsetParent === null) { | ||
this.dialog.close(); | ||
this.hide(); | ||
} | ||
@@ -258,2 +258,8 @@ if (this.invokerElement) { | ||
this.invokerElement?.setAttribute('aria-expanded', 'false'); | ||
// When we close the dialog, clear the filter input | ||
const fireSearchEvent = this.filterInputTextField.value.length > 0; | ||
this.filterInputTextField.value = ''; | ||
if (fireSearchEvent) { | ||
this.filterInputTextField.dispatchEvent(new Event('input')); | ||
} | ||
this.dispatchEvent(new CustomEvent('panelClosed', { | ||
@@ -260,0 +266,0 @@ detail: { panel: this }, |
{ | ||
"name": "@primer/view-components", | ||
"version": "0.35.0-rc.300b5a03", | ||
"version": "0.35.0-rc.55150c27", | ||
"description": "ViewComponents for the Primer Design System", | ||
@@ -5,0 +5,0 @@ "main": "app/assets/javascripts/primer_view_components.js", |
@@ -601,2 +601,7 @@ { | ||
"Primer::Alpha::SelectPanel": { | ||
"BANNER_SCHEME_OPTIONS": [ | ||
"danger", | ||
"warning" | ||
], | ||
"DEFAULT_BANNER_SCHEME": "danger", | ||
"DEFAULT_FETCH_STRATEGY": "remote", | ||
@@ -603,0 +608,0 @@ "DEFAULT_PRELOAD": false, |
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 not supported yet
Sorry, the diff of this file is not supported yet
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
2321638
38536