Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

bucket-duck

agonza4014MIT0.0.3TypeScript support: included

A redux module containing a reducer and actions for a bucket widget.

readme

bucket-duck

Based on this Modular Reducer Proposal

Actions

Action Name Intended usage
SELECT_ITEM An item is selected by its index
HOVER_SELECTED Hover a selected item by its index
HOVER_NON_SELECTED Hover a non-selected item by its index
DESELECT_ITEM A selected item is deselected by its index
HOVER_NEXT_ITEM Hover the next item in the list
HOVER_PREV_ITEM Hover the previous item in the list
CLEAR_HOVER Clears the currently hovered item
SELECT_ITEM Moves the currently hovered item to the opposite list
REORDER_ITEMS Reorder the selected items
RECEIVED_STATE Set the state externally from the consuming component