@spectrum-web-components/accordion
Advanced tools
Comparing version 0.0.2-alpha.1038 to 0.1.0
@@ -21,3 +21,3 @@ { | ||
], | ||
"version": "0.0.2-alpha.1038+1e82c26e", | ||
"version": "0.1.0", | ||
"description": "", | ||
@@ -56,8 +56,8 @@ "main": "src/index.js", | ||
"dependencies": { | ||
"@spectrum-web-components/base": "^0.0.2-alpha.1038+1e82c26e", | ||
"@spectrum-web-components/icons-ui": "^0.2.2-alpha.77+1e82c26e", | ||
"@spectrum-web-components/shared": "^0.6.1-alpha.71+1e82c26e", | ||
"@spectrum-web-components/base": "^0.1.0", | ||
"@spectrum-web-components/icons-ui": "^0.3.0", | ||
"@spectrum-web-components/shared": "^0.7.0", | ||
"tslib": "^2.0.0" | ||
}, | ||
"gitHead": "1e82c26ee95e858f3c97afd070e1fc9e3905cebd" | ||
"gitHead": "51706b5f7aeec990c6323501aa22f8aee5827e31" | ||
} |
@@ -13,4 +13,3 @@ /* | ||
import { __decorate } from "tslib"; | ||
import { html, property, } from '@spectrum-web-components/base'; | ||
import { ifDefined } from 'lit-html/directives/if-defined.js'; | ||
import { html, property, ifDefined, } from '@spectrum-web-components/base'; | ||
import { Focusable } from '@spectrum-web-components/shared/src/focusable.js'; | ||
@@ -41,3 +40,3 @@ import { ChevronRightMediumIcon } from '@spectrum-web-components/icons-ui'; | ||
} | ||
if (event.key === 'Enter' || event.key === ' ') { | ||
if (event.code === 'Enter' || event.code === 'Space') { | ||
event.preventDefault(); | ||
@@ -44,0 +43,0 @@ this.dispatchEvent(new CustomEvent('sp-accordion-item-toggle', { |
@@ -19,4 +19,4 @@ /* | ||
PropertyValues, | ||
ifDefined, | ||
} from '@spectrum-web-components/base'; | ||
import { ifDefined } from 'lit-html/directives/if-defined.js'; | ||
import { Focusable } from '@spectrum-web-components/shared/src/focusable.js'; | ||
@@ -60,3 +60,3 @@ | ||
} | ||
if (event.key === 'Enter' || event.key === ' ') { | ||
if (event.code === 'Enter' || event.code === 'Space') { | ||
event.preventDefault(); | ||
@@ -63,0 +63,0 @@ this.dispatchEvent( |
@@ -13,3 +13,3 @@ /* | ||
module.exports = { | ||
const config = { | ||
spectrum: 'accordion', | ||
@@ -80,1 +80,3 @@ components: [ | ||
}; | ||
export default config; |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
113846
45
1364
0
+ Added@spectrum-web-components/icons-ui@0.3.3(transitive)
+ Added@spectrum-web-components/shared@0.7.4(transitive)
- Removed@spectrum-web-components/base@0.0.2-alpha.1038(transitive)
- Removed@spectrum-web-components/icons-ui@0.2.2(transitive)
- Removed@spectrum-web-components/shared@0.6.1-alpha.71(transitive)