@primer/view-components
Advanced tools
Comparing version 0.35.0-rc.8db9f2a2 to 0.35.0-rc.9bea5b2d
@@ -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.8db9f2a2", | ||
"version": "0.35.0-rc.9bea5b2d", | ||
"description": "ViewComponents for the Primer Design System", | ||
@@ -29,2 +29,4 @@ "main": "app/assets/javascripts/primer_view_components.js", | ||
"app/components/primer/**/*.d.ts", | ||
"app/lib/primer/forms/**/*.js", | ||
"app/lib/primer/forms/**/*.d.ts", | ||
"lib/primer/forms/**/*.js", | ||
@@ -70,3 +72,3 @@ "lib/primer/forms/**/*.d.ts" | ||
"@primer/primitives": "^9.0.2", | ||
"@primer/stylelint-config": "^12.7.2", | ||
"@primer/stylelint-config": "^13.0.1", | ||
"@rollup/plugin-node-resolve": "^15.2.3", | ||
@@ -89,3 +91,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", | ||
@@ -95,4 +97,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", | ||
@@ -99,0 +100,0 @@ "typescript": "^5.2.2", |
@@ -504,2 +504,8 @@ { | ||
], | ||
"Stack": [ | ||
"Primer::Alpha::Stack" | ||
], | ||
"StackItem": [ | ||
"Primer::Alpha::StackItem" | ||
], | ||
"State": [ | ||
@@ -506,0 +512,0 @@ "Primer::Beta::State" |
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
2343310
37
148
38268