@primer/view-components
Advanced tools
Comparing version 0.35.0-rc.7f9c6e85 to 0.35.0-rc.85f660f3
@@ -38,8 +38,5 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { | ||
// These are definitely used, but eslint is dumb apparently | ||
// eslint-disable-next-line no-unused-vars | ||
var ItemType; | ||
(function (ItemType) { | ||
// eslint-disable-next-line no-unused-vars | ||
ItemType[ItemType["Item"] = 0] = "Item"; | ||
// eslint-disable-next-line no-unused-vars | ||
ItemType[ItemType["Divider"] = 1] = "Divider"; | ||
@@ -46,0 +43,0 @@ })(ItemType || (ItemType = {})); |
@@ -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 }, |
@@ -24,6 +24,6 @@ import '@github/include-fragment-element'; | ||
import './alpha/tab_container'; | ||
import '../../../lib/primer/forms/primer_multi_input'; | ||
import '../../../lib/primer/forms/primer_text_field'; | ||
import '../../../lib/primer/forms/toggle_switch_input'; | ||
import '../../lib/primer/forms/primer_multi_input'; | ||
import '../../lib/primer/forms/primer_text_field'; | ||
import '../../lib/primer/forms/toggle_switch_input'; | ||
import './alpha/action_menu/action_menu_element'; | ||
import './alpha/select_panel_element'; |
{ | ||
"name": "@primer/view-components", | ||
"version": "0.35.0-rc.7f9c6e85", | ||
"version": "0.35.0-rc.85f660f3", | ||
"description": "ViewComponents for the Primer Design System", | ||
@@ -69,3 +69,3 @@ "main": "app/assets/javascripts/primer_view_components.js", | ||
"@primer/primitives": "^9.0.2", | ||
"@primer/stylelint-config": "^12.7.2", | ||
"@primer/stylelint-config": "^13.0.1", | ||
"@rollup/plugin-node-resolve": "^15.2.3", | ||
@@ -88,3 +88,3 @@ "@rollup/plugin-typescript": "^8.3.3", | ||
"postcss-import": "^16.0.0", | ||
"postcss-mixins": "^10.0.0", | ||
"postcss-mixins": "^11.0.1", | ||
"postcss-preset-env": "^10.0.2", | ||
@@ -94,4 +94,3 @@ "prettier": "^3.3.2", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"stylelint": "^16.1.0", | ||
"stylelint-config-standard": "^36.0.0", | ||
"stylelint-actions-formatters": "^16.3.1", | ||
"tslib": "^2.4.0", | ||
@@ -98,0 +97,0 @@ "typescript": "^5.2.2", |
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 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 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 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 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
37
2310038
138
37922