basic-arrow-selection
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"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
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
197611
2084
1
+ Addedbasic-component-mixins@0.0.3(transitive)
+ Addedbasic-element-base@0.0.3(transitive)
- Removedbasic-component-mixins@0.0.1(transitive)
- Removedbasic-element-base@0.0.1(transitive)
Updatedbasic-element-base@^0.0.3