@springernature/global-expander
Advanced tools
Comparing version 4.0.2 to 4.1.0
# History | ||
## 4.1.0 (2021-09-20) | ||
* Demo created with consumable handlebars template | ||
## 4.0.2 (2021-04-15) | ||
@@ -4,0 +7,0 @@ * Bump `global-javascript` to 3.0.2 |
@@ -231,4 +231,10 @@ import {makeArray, createEvent} from '@springernature/global-javascript/src/helpers'; | ||
this._triggerEl.setAttribute('href', 'javascript:;'); | ||
this._triggerEl.setAttribute('role', 'button'); | ||
} | ||
// Warn screen reader users when you are stealing focus | ||
if (this._options.AUTOFOCUS) { | ||
this._triggerEl.setAttribute('aria-haspopup', 'true'); | ||
} | ||
this._updateTriggerLabel(); | ||
@@ -235,0 +241,0 @@ this._updateAttributes(); |
{ | ||
"name": "@springernature/global-expander", | ||
"version": "4.0.2", | ||
"version": "4.1.0", | ||
"description": "Frontend package for expanding a target when clicking a toggle", | ||
"license": "MIT", | ||
"brandContext": "^15.0.0", | ||
"dependencies": { | ||
"@springernature/global-javascript": "^3.0.2" | ||
"@springernature/global-javascript": "^3.0.2", | ||
"@springernature/brand-context": "^15.0.0" | ||
}, | ||
"scripts": { | ||
"postinstall": "npm_config_registry=https://registry.npmjs.org/ npx @springernature/util-context-warning@0.0.5 -p @springernature/global-expander@4.1.0 -v 15.0.0" | ||
} | ||
} |
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
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
60804
12
854
2
1
+ Added@springernature/brand-context@15.0.0(transitive)