@primer/view-components
Advanced tools
Comparing version 0.0.0-20240920024043 to 0.0.0-20240920151434
@@ -38,5 +38,8 @@ 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"; | ||
@@ -43,0 +46,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 }, |
{ | ||
"name": "@primer/view-components", | ||
"version": "0.0.0-20240920024043", | ||
"version": "0.0.0-20240920151434", | ||
"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": "^13.0.1", | ||
"@primer/stylelint-config": "^12.7.2", | ||
"@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,2 +94,4 @@ "prettier": "^3.3.2", | ||
"rollup-plugin-terser": "^7.0.2", | ||
"stylelint": "^16.1.0", | ||
"stylelint-config-standard": "^36.0.0", | ||
"tslib": "^2.4.0", | ||
@@ -96,0 +98,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
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
38536
2321640
38