@brightspace-ui-labs/navigation
Advanced tools
Comparing version 6.5.1 to 6.5.2
@@ -20,6 +20,2 @@ import { css, html, LitElement } from 'lit'; | ||
getOpenerElement() { | ||
return this.shadowRoot && this.shadowRoot.querySelector('button'); | ||
} | ||
render() { | ||
@@ -35,4 +31,7 @@ return html` | ||
getOpenerElement() { | ||
return this.shadowRoot?.querySelector('button'); | ||
} | ||
} | ||
customElements.define('d2l-navigation-dropdown-button-custom', NavigationDropdownButtonCustom); |
@@ -47,6 +47,2 @@ import '@brightspace-ui/core/components/icons/icon.js'; | ||
getOpenerElement() { | ||
return this.shadowRoot && this.shadowRoot.querySelector('button'); | ||
} | ||
render() { | ||
@@ -69,2 +65,6 @@ const { ariaDescribedBy, ariaDescription, contents } = this._getRenderSettings(); | ||
getOpenerElement() { | ||
return this.shadowRoot?.querySelector('button'); | ||
} | ||
_getRenderSettings() { | ||
@@ -71,0 +71,0 @@ const icon = html`<d2l-icon icon="${this.icon}"></d2l-icon>`; |
{ | ||
"name": "@brightspace-ui-labs/navigation", | ||
"version": "6.5.1", | ||
"version": "6.5.2", | ||
"type": "module", | ||
@@ -8,3 +8,3 @@ "repository": "https://github.com/BrightspaceUILabs/navigation.git", | ||
"lint": "npm run lint:eslint && npm run lint:style", | ||
"lint:eslint": "eslint . --ext .js,.html", | ||
"lint:eslint": "eslint .", | ||
"lint:style": "stylelint \"**/*.{js,html}\"", | ||
@@ -45,8 +45,8 @@ "start": "web-dev-server --node-resolve --watch --open --app-index demo/index.html", | ||
"devDependencies": { | ||
"@brightspace-ui/stylelint-config": "^0.8", | ||
"@brightspace-ui/stylelint-config": "^1", | ||
"@brightspace-ui/testing": "^1", | ||
"@web/dev-server": "^0.3", | ||
"eslint": "^8", | ||
"eslint-config-brightspace": "^0.25", | ||
"stylelint": "^15" | ||
"@web/dev-server": "^0.4", | ||
"eslint": "^9", | ||
"eslint-config-brightspace": "^2", | ||
"stylelint": "^16" | ||
}, | ||
@@ -53,0 +53,0 @@ "dependencies": { |
64840