@spectrum-web-components/action-group
Advanced tools
Comparing version 0.47.0 to 0.47.1
{ | ||
"name": "@spectrum-web-components/action-group", | ||
"version": "0.47.0", | ||
"version": "0.47.1", | ||
"publishConfig": { | ||
@@ -61,6 +61,6 @@ "access": "public" | ||
"@lit-labs/observers": "^2.0.0", | ||
"@spectrum-web-components/action-button": "^0.47.0", | ||
"@spectrum-web-components/base": "^0.47.0", | ||
"@spectrum-web-components/icons-workflow": "^0.47.0", | ||
"@spectrum-web-components/reactive-controllers": "^0.47.0" | ||
"@spectrum-web-components/action-button": "^0.47.1", | ||
"@spectrum-web-components/base": "^0.47.1", | ||
"@spectrum-web-components/icons-workflow": "^0.47.1", | ||
"@spectrum-web-components/reactive-controllers": "^0.47.1" | ||
}, | ||
@@ -76,3 +76,3 @@ "devDependencies": { | ||
], | ||
"gitHead": "7121f0bbe175ac3c34f17e51aa41429c2c04bd35" | ||
"gitHead": "151a3e21c39150dbc3f3a884b660be0bd352bda1" | ||
} |
@@ -38,2 +38,3 @@ "use strict"; | ||
import "../stories/action-group.stories.js"; | ||
import { isWebKit } from "@spectrum-web-components/shared"; | ||
class QuietActionGroup extends LitElement { | ||
@@ -128,3 +129,3 @@ render() { | ||
expect((_a = document.activeElement) == null ? void 0 : _a.id).to.equal("first"); | ||
expect((_b = el.children[0]) == null ? void 0 : _b.tabIndex).to.equal(-1); | ||
expect((_b = el.children[0]) == null ? void 0 : _b.tabIndex).to.equal(0); | ||
expect((_c = el.children[1]) == null ? void 0 : _c.tabIndex).to.equal(-1); | ||
@@ -185,3 +186,3 @@ expect((_d = el.children[2]) == null ? void 0 : _d.tabIndex).to.equal(-1); | ||
await aTimeout(500); | ||
expect((_a = el.children[0]) == null ? void 0 : _a.tabIndex).to.equal(-1); | ||
expect((_a = el.children[0]) == null ? void 0 : _a.tabIndex).to.equal(0); | ||
expect((_b = el.children[1]) == null ? void 0 : _b.tabIndex).to.equal(-1); | ||
@@ -224,2 +225,12 @@ expect((_c = el.children[2]) == null ? void 0 : _c.tabIndex).to.equal(-1); | ||
await closed; | ||
if (!isWebKit()) { | ||
sendMouse({ | ||
steps: [ | ||
{ | ||
position: [0, 0], | ||
type: "click" | ||
} | ||
] | ||
}); | ||
} | ||
await aTimeout(500); | ||
@@ -226,0 +237,0 @@ expect((_i = el.children[0]) == null ? void 0 : _i.tabIndex).to.equal(0); |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
405840
3368
0