Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@spectrum-web-components/field-label

Package Overview
Dependencies
Maintainers
7
Versions
250
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spectrum-web-components/field-label - npm Package Compare versions

Comparing version 0.39.3 to 0.39.4

14

package.json
{
"name": "@spectrum-web-components/field-label",
"version": "0.39.3",
"version": "0.39.4",
"publishConfig": {

@@ -60,7 +60,7 @@ "access": "public"

"dependencies": {
"@spectrum-web-components/base": "^0.39.3",
"@spectrum-web-components/icon": "^0.39.3",
"@spectrum-web-components/icons-ui": "^0.39.3",
"@spectrum-web-components/reactive-controllers": "^0.39.3",
"@spectrum-web-components/shared": "^0.39.3"
"@spectrum-web-components/base": "^0.39.4",
"@spectrum-web-components/icon": "^0.39.4",
"@spectrum-web-components/icons-ui": "^0.39.4",
"@spectrum-web-components/reactive-controllers": "^0.39.4",
"@spectrum-web-components/shared": "^0.39.4"
},

@@ -76,3 +76,3 @@ "devDependencies": {

],
"gitHead": "d7840b3a9b99db4de62c44e3fb91b69dec7319af"
"gitHead": "f745c90e8e9ea85ff10be025e058b14cc925ec9f"
}

@@ -139,2 +139,17 @@ "use strict";

});
it('associates via "id" starting with number', async () => {
const test = await fixture(
html`
<div>
<sp-field-label required for="1"></sp-field-label>
<input id="1" />
</div>
`
);
const el = test.querySelector("sp-field-label");
const input = test.querySelector("input");
await elementUpdated(el);
expect(input.hasAttribute("aria-labelledby"));
expect(input.getAttribute("aria-labelledby")).to.equal(el.id);
});
it("passed clicks to assiciated form element as focus", async () => {

@@ -141,0 +156,0 @@ const test = await fixture(

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc