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

basic-arrow-selection

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

basic-arrow-selection - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

13

package.json
{
"name": "basic-arrow-selection",
"version": "0.0.2",
"version": "0.0.3",
"description": "Mixin used to add prominent left and right arrow buttons to a wrapped child. Clicking the left/right buttons selects the previous/next item.",
"homepage": "https://component.kitchen",
"license": "MIT",
"repository": "https://github.com/basic-web-components/basic-web-components/tree/master/packages/basic-arrow-selection/",
"repository": "https://github.com/basic-web-components/basic-web-components/tree/master/packages/basic-arrow-selection",
"keywords": [

@@ -15,5 +15,8 @@ "basic-web-components",

"dependencies": {
"basic-element-base": "^0.0.1",
"basic-component-mixins": "^0.0.1"
"basic-element-base": "^0.0.3",
"basic-component-mixins": "^0.0.3"
},
"browserify": {
"transform": ["babelify"]
}
}
}
/*
* Mixin used to add prominent left and right arrow buttons to a wrapped child.
* @class ArrowSelection
* @classdesc Component which adds prominent left and right arrow buttons to a
* wrapped child such as a carousel
*
* Clicking the left/right buttons selects the previous/next item.
*
* Typical usage:
*
* <basic-arrow-selection>
* <basic-carousel>
* ... images, etc. ...
* </basic-carousel>
* </basic-arrow-selection>
*
* By default, the arrow buttons are shown on devices with a mouse or mouse-like
* point device; they are not shown on a touch-capable device unless mouse
* point device. They are not shown on a touch-capable device unless mouse
* movement is detected. To cause the buttons to always appear, apply the
* 'showArrows' CSS class.
*
* @class basic-arrow-direction
* @mixes ChildrenContent
* @mixes CollectiveMember
* @mixes ContentFirstChildTarget
* @mixes ItemsSelection
* @mixes Keyboard
* @mixes TargetSelection
*/
import ElementBase from '../../basic-element-base/src/ElementBase';
import ChildrenContent from '../../basic-component-mixins/src/ChildrenContent';
import CollectiveElement from '../../basic-component-mixins/src/CollectiveElement';
import CollectiveMember from '../../basic-component-mixins/src/CollectiveMember';
import ContentFirstChildTarget from '../../basic-component-mixins/src/ContentFirstChildTarget';
import ItemSelection from '../../basic-component-mixins/src/ItemSelection';
import ItemsSelection from '../../basic-component-mixins/src/ItemsSelection';
import Keyboard from '../../basic-component-mixins/src/Keyboard';

@@ -25,5 +42,5 @@ import TargetSelection from '../../basic-component-mixins/src/TargetSelection';

ChildrenContent,
CollectiveElement,
CollectiveMember,
ContentFirstChildTarget,
ItemSelection,
ItemsSelection,
Keyboard,

@@ -30,0 +47,0 @@ TargetSelection

Sorry, the diff of this file is too big to display

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