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

@spectrum-web-components/accordion

Package Overview
Dependencies
Maintainers
5
Versions
275
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@spectrum-web-components/accordion - npm Package Compare versions

Comparing version 0.0.2-alpha.1038 to 0.1.0

CHANGELOG.md

10

package.json

@@ -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

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