{"_id":"@akojic27/react-beautiful-dnd","name":"@akojic27/react-beautiful-dnd","dist-tags":{"latest":"13.1.0"},"versions":{"13.1.0":{"name":"@akojic27/react-beautiful-dnd","version":"13.1.0","description":"Beautiful and accessible drag and drop for lists with React","author":{"name":"Alex Reardon","email":"areardon@atlassian.com"},"keywords":["drag and drop","dnd","sortable","reorder","reorderable","react","react.js","natural","beautiful","accessible"],"repository":{"type":"git","url":"git+https://github.com/atlassian/react-beautiful-dnd.git"},"bugs":{"url":"https://github.com/atlassian/react-beautiful-dnd/issues"},"main":"dist/react-beautiful-dnd.cjs.js","module":"dist/react-beautiful-dnd.esm.js","sideEffects":false,"config":{"prettier_target":"*.{js,jsx,md,json} src/**/*.{js,jsx,md,json} test/**/*.{js,jsx,md,json} docs/**/*.{js,jsx,md,json} stories/**/*.{js,jsx,md,json} cypress/**/*.{js,jsx,md,json} csp-server/**/*.{js,jsx,md,json}"},"scripts":{"test:accessibility":"lighthouse http://localhost:9002/iframe.html?id=single-vertical-list--basic --chrome-flags='--headless' --output=json --output=html --output-path=./test-reports/lighthouse/a11y.json && node a11y-audit-parse.js","test":"jest --config ./jest.config.js","test:ci":"jest test --maxWorkers=2","test:browser":"cypress open","test:browser:ci":"cypress run","test:coverage":"yarn test --coverage --coveragePathIgnorePatterns=/debug","validate":"yarn prettier:check && yarn lint:eslint && yarn lint:css && yarn typecheck","prettier:check":"yarn prettier --debug-check $npm_package_config_prettier_target","prettier:write":"yarn prettier --write $npm_package_config_prettier_target","lint:eslint":"yarn eslint \"./**/*.{js,jsx}\"","lint:css":"stylelint \"stories/**/*.{js,jsx}\"","typecheck":"flow check --max-warnings=0","bundle-size:check":"cross-env SNAPSHOT=match yarn bundle-size:update","bundle-size:update":"yarn build:clean && yarn build:dist && yarn build:clean","build":"yarn build:clean && yarn build:dist && yarn build:flow --openssl-legacy-provider","build:clean":"rimraf dist","build:dist":"rollup -c","build:flow":"echo \"// @flow\n\nexport * from '../src';\" > dist/react-beautiful-dnd.cjs.js.flow","storybook":"start-storybook -p 9002","build-storybook":"build-storybook -c .storybook -o site","prepublishOnly":"yarn build"},"dependencies":{"@babel/runtime":"^7.9.2","css-box-model":"^1.2.0","memoize-one":"^5.1.1","raf-schd":"^4.0.2","react-redux":"^7.2.0","redux":"^4.0.4","use-memo-one":"^1.1.1"},"devDependencies":{"@atlaskit/css-reset":"^6.5.3","@atlaskit/theme":"9.5.6","@babel/core":"7.9.0","@babel/plugin-proposal-class-properties":"7.8.3","@babel/plugin-transform-modules-commonjs":"7.9.0","@babel/plugin-transform-object-assign":"7.8.3","@babel/plugin-transform-runtime":"7.9.0","@babel/preset-env":"7.9.5","@babel/preset-flow":"7.9.0","@babel/preset-react":"7.9.4","@emotion/babel-preset-css-prop":"10.0.27","@emotion/core":"10.0.28","@emotion/styled":"10.0.27","@storybook/addon-storysource":"^7.0.27","@storybook/react":"^7.0.27","@storybook/theming":"5.3.21","@testing-library/react":"10.4.9","babel-core":"7.0.0-bridge.0","babel-eslint":"10.1.0","babel-jest":"25.5.1","babel-loader":"8.1.0","babel-plugin-dev-expression":"0.2.2","babel-plugin-emotion":"10.0.33","cross-env":"7.0.3","cypress":"^4.2.0","emotion-theming":"10.0.27","enzyme":"3.11.0","enzyme-adapter-react-16":"1.15.2","eslint":"^8.45.0","eslint-config-airbnb":"18.1.0","eslint-config-prettier":"6.15.0","eslint-plugin-cypress":"2.11.3","eslint-plugin-emotion":"10.0.27","eslint-plugin-es5":"1.5.0","eslint-plugin-flowtype":"4.7.0","eslint-plugin-import":"2.22.1","eslint-plugin-jest":"23.20.0","eslint-plugin-jsx-a11y":"6.4.1","eslint-plugin-prettier":"3.3.1","eslint-plugin-react":"7.19.0","eslint-plugin-react-hooks":"3.0.0","flow-bin":"0.110.1","fs-extra":"9.1.0","globby":"11.0.3","jest":"^29.6.1","jest-axe":"3.5.0","jest-junit":"10.0.0","jest-watch-typeahead":"0.6.1","lighthouse":"^10.4.0","markdown-it":"^13.0.1","prettier":"2.0.4","raf-stub":"3.0.0","react":"16.13.1","react-dom":"16.13.1","react-test-renderer":"16.13.1","react-virtualized":"9.21.2","react-window":"1.8.6","require-from-string":"2.0.2","rimraf":"3.0.2","rollup":"2.6.1","rollup-plugin-babel":"4.4.0","rollup-plugin-commonjs":"10.1.0","rollup-plugin-json":"4.0.0","rollup-plugin-node-resolve":"5.2.0","rollup-plugin-replace":"2.2.0","rollup-plugin-size-snapshot":"0.11.0","rollup-plugin-strip":"1.2.2","rollup-plugin-terser":"5.3.1","storybook-addon-performance":"^0.17.1","styled-components":"5.1.0","stylelint":"13.13.1","stylelint-config-prettier":"8.0.2","stylelint-config-recommended":"3.0.0","stylelint-config-standard":"20.0.0","stylelint-config-styled-components":"0.1.1","stylelint-processor-styled-components":"1.10.0","wait-port":"0.2.9","webpack":"4.42.1"},"peerDependencies":{"react":"^16.8.5 || ^17.0.0","react-dom":"^16.8.5 || ^17.0.0"},"license":"Apache-2.0","jest-junit":{"output":"test-reports/junit/js-test-results.xml"},"gitHead":"b19feeea6583da06dcf3fdae765f895825f99387","homepage":"https://github.com/atlassian/react-beautiful-dnd#readme","_id":"@akojic27/react-beautiful-dnd@13.1.0","_nodeVersion":"18.15.0","_npmVersion":"9.5.0","dist":{"integrity":"sha512-Y/mm7THrvvLlA430gjBKt6Yjf3tZTzJs6FvdExkIwM6vlKXzKylQ95lRcyMFYzs7FbRoXi5ukHyJqoeZVfM5WA==","shasum":"595ab26e31890e387ed5341478d1caa2d7e85b7d","tarball":"https://registry.npmjs.org/@akojic27/react-beautiful-dnd/-/react-beautiful-dnd-13.1.0.tgz","fileCount":239,"unpackedSize":1388839,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICmchVZD8dRxeyoNe0GU9KcSviw0IqSWbdcZDcmHluvkAiBkqcHAUTZmATofAznJW+64HpWmD1Ij6XKgb7cIU4wnUg=="}]},"_npmUser":{"name":"akojic27","email":"a.kojic12@gmail.com"},"directories":{},"maintainers":[{"name":"akojic27","email":"a.kojic12@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-beautiful-dnd_13.1.0_1689668156219_0.4151206383319772"},"_hasShrinkwrap":false}},"time":{"created":"2023-07-18T08:15:56.108Z","13.1.0":"2023-07-18T08:15:56.456Z","modified":"2023-07-18T08:15:56.783Z"},"maintainers":[{"name":"akojic27","email":"a.kojic12@gmail.com"}],"description":"Beautiful and accessible drag and drop for lists with React","homepage":"https://github.com/atlassian/react-beautiful-dnd#readme","keywords":["drag and drop","dnd","sortable","reorder","reorderable","react","react.js","natural","beautiful","accessible"],"repository":{"type":"git","url":"git+https://github.com/atlassian/react-beautiful-dnd.git"},"author":{"name":"Alex Reardon","email":"areardon@atlassian.com"},"bugs":{"url":"https://github.com/atlassian/react-beautiful-dnd/issues"},"license":"Apache-2.0","readme":"<p align=\"center\">\n  <img src=\"https://user-images.githubusercontent.com/2182637/53611918-54c1ff80-3c24-11e9-9917-66ac3cef513d.png\" alt=\"react beautiful dnd logo\" />\n</p>\n<h1 align=\"center\">react-beautiful-dnd <small><sup>(rbd)</sup></small></h1>\n\n<div align=\"center\">\n\n**Beautiful** and **accessible** drag and drop for lists with [`React`](https://facebook.github.io/react/)\n\n[![CircleCI branch](https://img.shields.io/circleci/project/github/atlassian/react-beautiful-dnd/master.svg)](https://circleci.com/gh/atlassian/react-beautiful-dnd/tree/master)\n[![npm](https://img.shields.io/npm/v/react-beautiful-dnd.svg)](https://www.npmjs.com/package/react-beautiful-dnd)\n\n![quote application example](https://user-images.githubusercontent.com/2182637/53614150-efbed780-3c2c-11e9-9204-a5d2e746faca.gif)\n\n[Play with this example if you want!](https://react-beautiful-dnd.netlify.com/iframe.html?selectedKind=board&selectedStory=simple)\n\n</div>\n\n## Core characteristics\n\n- Beautiful and [natural movement](/docs/about/animations.md) of items 💐\n- [Accessible](/docs/about/accessibility.md): powerful keyboard and screen reader support ♿️\n- [Extremely performant](/docs/support/media.md) 🚀\n- Clean and powerful api which is simple to get started with\n- Plays extremely well with standard browser interactions\n- [Unopinionated styling](/docs/guides/preset-styles.md)\n- No creation of additional wrapper dom nodes - flexbox and focus management friendly!\n\n## Get started 👩‍🏫\n\nWe have created [a free course on `egghead.io` 🥚](https://egghead.io/courses/beautiful-and-accessible-drag-and-drop-with-react-beautiful-dnd) to help you get started with `react-beautiful-dnd` as quickly as possible.\n\n[![course-logo](https://user-images.githubusercontent.com/2182637/43372837-8c72d3f8-93e8-11e8-9d92-a82adde7718f.png)](https://egghead.io/courses/beautiful-and-accessible-drag-and-drop-with-react-beautiful-dnd)\n\n## Currently supported feature set ✅\n\n- Vertical lists ↕\n- Horizontal lists ↔\n- Movement between lists (▤ ↔ ▤)\n- [Virtual list support 👾](/docs/patterns/virtual-lists.md) - unlocking 10,000 items @ 60fps\n- [Combining items](/docs/guides/combining.md)\n- Mouse 🐭, keyboard 🎹♿️ and touch 👉📱 (mobile, tablet and so on) support\n- [Multi drag support](/docs/patterns/multi-drag.md)\n- Incredible screen reader support ♿️ - we provide an amazing experience for english screen readers out of the box 📦. We also provide complete customisation control and internationalisation support for those who need it 💖\n- [Conditional dragging](/docs/api/draggable.md#optional-props) and [conditional dropping](/docs/api/droppable.md#conditionally-dropping)\n- Multiple independent lists on the one page\n- Flexible item sizes - the draggable items can have different heights (vertical lists) or widths (horizontal lists)\n- [Add and remove items during a drag](/docs/guides/changes-while-dragging.md)\n- Compatible with semantic `<table>` reordering - [table pattern](/docs/patterns/tables.md)\n- [Auto scrolling](/docs/guides/auto-scrolling.md) - automatically scroll containers and the window as required during a drag (even with keyboard 🔥)\n- Custom drag handles - you can drag a whole item by just a part of it\n- Able to move the dragging item to another element while dragging (clone, portal) - [Reparenting your `<Draggable />`](/docs/guides/reparenting.md)\n- [Create scripted drag and drop experiences 🎮](/docs/sensors/sensor-api.md)\n- Allows extensions to support for [any input type you like 🕹](/docs/sensors/sensor-api.md)\n- 🌲 Tree support through the [`@atlaskit/tree`](https://atlaskit.atlassian.com/packages/confluence/tree) package\n- A `<Droppable />` list can be a scroll container (without a scrollable parent) or be the child of a scroll container (that also does not have a scrollable parent)\n- Independent nested lists - a list can be a child of another list, but you cannot drag items from the parent list into a child list\n- Server side rendering (SSR) compatible - see [resetServerContext()](/docs/api/reset-server-context.md)\n- Plays well with [nested interactive elements](/docs/api/draggable.md#interactive-child-elements-within-a-draggable-) by default\n\n## Motivation 🤔\n\n`react-beautiful-dnd` exists to create beautiful drag and drop for lists that anyone can use - even people who cannot see. For a good overview of the history and motivations of the project you can take a look at these external resources:\n\n- 📖 [Rethinking drag and drop](https://medium.com/@alexandereardon/rethinking-drag-and-drop-d9f5770b4e6b)\n- 🎧 [React podcast: fast, accessible and beautiful drag and drop](https://reactpodcast.simplecast.fm/17)\n\n## Not for everyone ✌️\n\nThere are a lot of libraries out there that allow for drag and drop interactions within React. Most notable of these is the amazing [`react-dnd`](https://github.com/react-dnd/react-dnd). It does an incredible job at providing a great set of drag and drop primitives which work especially well with the [wildly inconsistent](https://www.quirksmode.org/blog/archives/2009/09/the_html5_drag.html) html5 drag and drop feature. `react-beautiful-dnd` is a higher level abstraction specifically built for lists (vertical, horizontal, movement between lists, nested lists and so on). Within that subset of functionality `react-beautiful-dnd` offers a powerful, natural and beautiful drag and drop experience. However, it does not provide the breadth of functionality offered by `react-dnd`. So `react-beautiful-dnd` might not be for you depending on what your use case is.\n\n## Documentation 📖\n\n### About 👋\n\n- [Installation](/docs/about/installation.md)\n- [Examples and samples](/docs/about/examples.md)\n- [Get started](https://egghead.io/courses/beautiful-and-accessible-drag-and-drop-with-react-beautiful-dnd)\n- [Design principles](/docs/about/design-principles.md)\n- [Animations](/docs/about/animations.md)\n- [Accessibility](/docs/about/accessibility.md)\n- [Browser support](/docs/about/browser-support.md)\n\n### Sensors 🔉\n\n> The ways in which somebody can start and control a drag\n\n- [Mouse dragging 🐭](/docs/sensors/mouse.md)\n- [Touch dragging 👉📱](/docs/sensors/touch.md)\n- [Keyboard dragging 🎹♿️](/docs/sensors/keyboard.md)\n- [Create your own sensor](/docs/sensors/sensor-api.md) (allows for any input type as well as scripted experiences)\n\n### API 🏋️‍\n\n![diagram](https://user-images.githubusercontent.com/2182637/53607406-c8f3a780-3c12-11e9-979c-7f3b5bd1bfbd.gif)\n\n- [`<DragDropContext />`](/docs/api/drag-drop-context.md) - _Wraps the part of your application you want to have drag and drop enabled for_\n- [`<Droppable />`](/docs/api/droppable.md) - _An area that can be dropped into. Contains `<Draggable />`s_\n- [`<Draggable />`](/docs/api/draggable.md) - _What can be dragged around_\n- [`resetServerContext()`](/docs/api/reset-server-context.md) - _Utility for server side rendering (SSR)_\n\n### Guides 🗺\n\n- [`<DragDropContext />` responders](/docs/guides/responders.md) - _`onDragStart`, `onDragUpdate`, `onDragEnd` and `onBeforeDragStart`_\n- [Combining `<Draggable />`s](/docs/guides/combining.md)\n- [Common setup issues](/docs/guides/common-setup-issues.md)\n- [Using `innerRef`](/docs/guides/using-inner-ref.md)\n- [Setup problem detection and error recovery](/docs/guides/setup-problem-detection-and-error-recovery.md)\n- [Rules for `draggableId` and `droppableId`s](/docs/guides/identifiers.md)\n- [Browser focus retention](/docs/guides/browser-focus.md)\n- [Customising or skipping the drop animation](/docs/guides/drop-animation.md)\n- [Auto scrolling](/docs/guides/auto-scrolling.md)\n- [Controlling the screen reader](/docs/guides/screen-reader.md)\n- [Use the html5 `doctype`](/docs/guides/doctype.md)\n- [`TypeScript` and `flow`: type information](/docs/guides/types.md)\n- [Dragging `<svg>`s](/docs/guides/dragging-svgs.md)\n- [Avoiding image flickering](/docs/guides/avoiding-image-flickering.md)\n- [Non-visible preset styles](/docs/guides/preset-styles.md)\n- [How we detect scroll containers](/docs/guides/how-we-detect-scroll-containers.md)\n- [How we use dom events](/docs/guides/how-we-use-dom-events.md) - _Useful if you need to build on top of `react-beautiful-dnd`_\n- [Adding `<Draggable />`s during a drag (11.x behaviour)](/docs/guides/changes-while-dragging.md) - _⚠️ Advanced_\n- [Setting up Content Security Policy](/docs/guides/content-security-policy.md)\n\n### Patterns 👷‍\n\n- [Virtual lists 👾](/docs/patterns/virtual-lists.md)\n- [Multi drag](/docs/patterns/multi-drag.md)\n- [Tables](/docs/patterns/tables.md)\n- [Reparenting a `<Draggable />`](/docs/guides/reparenting.md) - _Using our cloning API or your own portal_\n\n### Support 👩‍⚕️\n\n- [Engineering health](/docs/support/engineering-health.md)\n- [Community and addons](/docs/support/community-and-addons.md)\n- [Release notes and changelog](https://github.com/atlassian/react-beautiful-dnd/releases)\n- [Upgrading](/docs/support/upgrading.md)\n- [Road map](https://github.com/atlassian/react-beautiful-dnd/issues)\n- [Media](/docs/support/media.md)\n\n## Read this in other languages 🌎\n\n- [![kr](https://raw.githubusercontent.com/gosquared/flags/master/flags/flags/shiny/24/South-Korea.png) **한글/Korean**](https://github.com/LeeHyungGeun/react-beautiful-dnd-kr)\n- [![ru](https://raw.githubusercontent.com/gosquared/flags/master/flags/flags/shiny/24/Russia.png) **На русском/Russian**](https://github.com/vtereshyn/react-beautiful-dnd-ru)\n- [![pt](https://raw.githubusercontent.com/gosquared/flags/master/flags/flags/shiny/24/Brazil.png) **Português/Portuguese**](https://github.com/dudestein/react-beautiful-dnd-pt)\n- [![gr](https://raw.githubusercontent.com/gosquared/flags/master/flags/flags/shiny/24/Greece.png) **Ελληνικά/Greek**](https://github.com/hdks55l/react-beautiful-dnd-gr)\n\n## Author ✍️\n\nAlex Reardon [@alexandereardon](https://twitter.com/alexandereardon)\n\n## Collaborators 🤝\n\n- Bogdan Chadkin [@IAmTrySound](https://twitter.com/IAmTrySound)\n- Luke Batchelor [@alukebatchelor](https://twitter.com/alukebatchelor)\n- Jared Crowe [@jaredjcrowe](https://twitter.com/jaredjcrowe)\n- Many other [@Atlassian](https://twitter.com/Atlassian)'s!\n","readmeFilename":"README.md"}