Skip to content

Commit c518fb1

Browse files
committedSep 7, 2018
v1.0.0-beta.8
1 parent 05498d3 commit c518fb1

File tree

11 files changed

+198
-186
lines changed

11 files changed

+198
-186
lines changed
 

‎CHANGELOG.md

+107-107
Original file line numberDiff line numberDiff line change
@@ -1,162 +1,162 @@
11
# Changelog
22

3-
## v1.0.0-beta.8 - ?
4-
5-
### Added
3+
## v1.0.0-beta.8 - 2018-09-07
64

75
### Changed
86

7+
- Announcement plugin to use `textContent` instead of `innerHTML`
8+
99
## v1.0.0-beta.7 - 2018-04-28
1010

1111
### Added
1212

13-
* ResizeMirror plugin
13+
- ResizeMirror plugin
1414

1515
### Changed
1616

17-
* Fixed native drag events with draggable
18-
* Mouse position bug in scrollable
17+
- Fixed native drag events with draggable
18+
- Mouse position bug in scrollable
1919

2020
## v1.0.0-beta.6 - 2018-04-04
2121

2222
### Added
2323

24-
* Focusable plugin
25-
* Added DroppableStart event for `Droppable`
26-
* Added DroppableStop event for `Droppable`
27-
* Added recommended VSCode settings
24+
- Focusable plugin
25+
- Added DroppableStart event for `Droppable`
26+
- Added DroppableStop event for `Droppable`
27+
- Added recommended VSCode settings
2828

2929
### Changed
3030

31-
* Fixed `addContainer`/`removeContainer` api
32-
* Touch sensor fixes (including iOS 11.3 issues)
33-
* Renames `DroppableOver` to `DroppableDropped`
34-
* Renames `DroppableOut` to `DroppableReturned`
35-
* Fix legacy bundle
36-
* Improved webpack building
37-
* Using `console.error` instead of throwing error
31+
- Fixed `addContainer`/`removeContainer` api
32+
- Touch sensor fixes (including iOS 11.3 issues)
33+
- Renames `DroppableOver` to `DroppableDropped`
34+
- Renames `DroppableOut` to `DroppableReturned`
35+
- Fix legacy bundle
36+
- Improved webpack building
37+
- Using `console.error` instead of throwing error
3838

3939
## v1.0.0-beta.5 - 2018-03-02
4040

4141
### Added
4242

43-
* Increased Documentation coverage
44-
* Increased Test coverage, including better testing environment
45-
* Increased JSDoc coverage
46-
* Added docblock section to `CONTRIBUTING.md`
47-
* Added greenkeeper as integration for package dependency management
48-
* Added codecov as integration for tracking test coverage
49-
* Added github template issue
50-
* Added github template PR
51-
* Added yarn scripts for examples
52-
* Added SensorEvent to exports
53-
* Added yarn scripts for esdoc
54-
* Added `Announcement` plugin for screen reader support
55-
* Added cursor offset option for `Mirror` plugin
56-
* Added `scrollableElements` option to `Scrollable` plugin
57-
* Added `snappableElement` to `SnapEvent`
58-
* Added examples to published package
59-
* Added `Emitter` class for event emitting for draggable
43+
- Increased Documentation coverage
44+
- Increased Test coverage, including better testing environment
45+
- Increased JSDoc coverage
46+
- Added docblock section to `CONTRIBUTING.md`
47+
- Added greenkeeper as integration for package dependency management
48+
- Added codecov as integration for tracking test coverage
49+
- Added github template issue
50+
- Added github template PR
51+
- Added yarn scripts for examples
52+
- Added SensorEvent to exports
53+
- Added yarn scripts for esdoc
54+
- Added `Announcement` plugin for screen reader support
55+
- Added cursor offset option for `Mirror` plugin
56+
- Added `scrollableElements` option to `Scrollable` plugin
57+
- Added `snappableElement` to `SnapEvent`
58+
- Added examples to published package
59+
- Added `Emitter` class for event emitting for draggable
6060

6161
### Changed
6262

63-
* Changed esdoc config
64-
* Changed node version `8.9.1` to `8.9.4`
65-
* Updated package dependencies
66-
* Updated roadmap section in README
67-
* Changed export statements
68-
* Fixes draggable state after canceling `drag:start`
69-
* Fixes `constrainDimensions` option for `Mirror` plugin
70-
* Fixes mirror position with touch devices and `Scrollable`
71-
* `AutoScroll` plugin has been renamed to `Scrollable`
72-
* Fixes scrolling edge cases with `Scrollable`
73-
* Fixes scrolling offset for touch devices in `Scrollable`
74-
* Fixes npm install issue
75-
* Fixes `overContainer` property for `DragOutContainerEvent`
63+
- Changed esdoc config
64+
- Changed node version `8.9.1` to `8.9.4`
65+
- Updated package dependencies
66+
- Updated roadmap section in README
67+
- Changed export statements
68+
- Fixes draggable state after canceling `drag:start`
69+
- Fixes `constrainDimensions` option for `Mirror` plugin
70+
- Fixes mirror position with touch devices and `Scrollable`
71+
- `AutoScroll` plugin has been renamed to `Scrollable`
72+
- Fixes scrolling edge cases with `Scrollable`
73+
- Fixes scrolling offset for touch devices in `Scrollable`
74+
- Fixes npm install issue
75+
- Fixes `overContainer` property for `DragOutContainerEvent`
7676

7777
## v1.0.0-beta.4 - 2018-01-15
7878

7979
### Added
8080

81-
* Default `Draggable` plugins get exposed statically on `Draggable.Plugins`
82-
* Default `Scrollable` plugin for Draggable, which auto scrolls containers/viewport while dragging
83-
* `yarn watch` task for auto-building the library
84-
* `source:original` class option for Draggable
85-
* `Draggable#getDraggableElementsForContainer` method, which returns all draggable elements for a given container
86-
* `MirrorCreateEvent`, which allows for canceling mirror creation
87-
* `AbstractPlugin` to use as Base class for all Draggable plugins
88-
* More test coverage
81+
- Default `Draggable` plugins get exposed statically on `Draggable.Plugins`
82+
- Default `Scrollable` plugin for Draggable, which auto scrolls containers/viewport while dragging
83+
- `yarn watch` task for auto-building the library
84+
- `source:original` class option for Draggable
85+
- `Draggable#getDraggableElementsForContainer` method, which returns all draggable elements for a given container
86+
- `MirrorCreateEvent`, which allows for canceling mirror creation
87+
- `AbstractPlugin` to use as Base class for all Draggable plugins
88+
- More test coverage
8989

9090
### Changed
9191

92-
* Fixed `Sortable` sort logic by excluding mirror and original source elements in calculations
93-
* `Draggable` `appendTo` option now uses sources parent element as default, instead of `document.body`
94-
* `Draggable` appends over classes _after_ triggering over/out events
95-
* `Draggable` appends source into empty containers
96-
* Mirrors margin gets removed on creation in the mirror plugin
97-
* Fix for mirror when drag start gets canceled
98-
* Fixes memory leak in Draggable when calling `destroy()`
99-
* Fixes race condition for the `source:placed` class
100-
* Changed `AbstractEvent#_canceled` to use symbols for private instance variables
101-
* Some fixes for the documentation READMEs
92+
- Fixed `Sortable` sort logic by excluding mirror and original source elements in calculations
93+
- `Draggable` `appendTo` option now uses sources parent element as default, instead of `document.body`
94+
- `Draggable` appends over classes _after_ triggering over/out events
95+
- `Draggable` appends source into empty containers
96+
- Mirrors margin gets removed on creation in the mirror plugin
97+
- Fix for mirror when drag start gets canceled
98+
- Fixes memory leak in Draggable when calling `destroy()`
99+
- Fixes race condition for the `source:placed` class
100+
- Changed `AbstractEvent#_canceled` to use symbols for private instance variables
101+
- Some fixes for the documentation READMEs
102102

103103
## v1.0.0-beta.3 - 2017-11-01
104104

105105
### Added
106106

107-
* Bundle split, draggable now exports multiple bundles
108-
* Adds JS bundle per module
109-
* Adds legacy bundle for IE11
110-
* Adds axis & dimension constraint options for mirror plugin
111-
* Basic swap animation plugin
112-
* Draggables API is now accessible via inheritance for `Sortable`, `Swappable` and `Droppable`
113-
* Draggables API extended
114-
* `addSensor` to add sensor dynamically
115-
* `removeSensor` to remove a sensor dynamically
116-
* `addPlugin` to add a plugin dynamically
117-
* `removePlugin` to remove a plugin dynamically
118-
* `addContainer` to add a container dynamically
119-
* `removeContainer` to remove a container dynamically
120-
* `isDragging` to check if instance is currently dragging
121-
* New `sortable:sort` event that can be canceled to prevent sorting
122-
* New `swappable:swap` event that can be canceled to prevent swapping
123-
* Added more documentation
107+
- Bundle split, draggable now exports multiple bundles
108+
- Adds JS bundle per module
109+
- Adds legacy bundle for IE11
110+
- Adds axis & dimension constraint options for mirror plugin
111+
- Basic swap animation plugin
112+
- Draggables API is now accessible via inheritance for `Sortable`, `Swappable` and `Droppable`
113+
- Draggables API extended
114+
- `addSensor` to add sensor dynamically
115+
- `removeSensor` to remove a sensor dynamically
116+
- `addPlugin` to add a plugin dynamically
117+
- `removePlugin` to remove a plugin dynamically
118+
- `addContainer` to add a container dynamically
119+
- `removeContainer` to remove a container dynamically
120+
- `isDragging` to check if instance is currently dragging
121+
- New `sortable:sort` event that can be canceled to prevent sorting
122+
- New `swappable:swap` event that can be canceled to prevent swapping
123+
- Added more documentation
124124

125125
### Changes
126126

127-
* `SortableSortedEvent` (`sortable:sorted`) now returns correct indexes
128-
* `SortableStartEvent` gets fired now
129-
* Plugins and Sensors are exported with namespace
130-
* Removes reflow by removing unused lookup of next scroll parent
131-
* Draggable delay option is now `100` by default, instead of `0`
132-
* Draggables private methods are now really private
133-
* Sensor improvements
134-
* `TouchSensor` now prevents scrolling without preventDefault
135-
* `MouseSensor` now prevents native elements to start dragging during delay
136-
* All sensors now listen to document rather than each container
127+
- `SortableSortedEvent` (`sortable:sorted`) now returns correct indexes
128+
- `SortableStartEvent` gets fired now
129+
- Plugins and Sensors are exported with namespace
130+
- Removes reflow by removing unused lookup of next scroll parent
131+
- Draggable delay option is now `100` by default, instead of `0`
132+
- Draggables private methods are now really private
133+
- Sensor improvements
134+
- `TouchSensor` now prevents scrolling without preventDefault
135+
- `MouseSensor` now prevents native elements to start dragging during delay
136+
- All sensors now listen to document rather than each container
137137

138138
## v1.0.0-beta.2 - 2017-10-10
139139

140140
### Added
141141

142-
* Code of Conduct
143-
* Contribution guidelines
144-
* Documentation on `appendTo` option for `Draggable`
145-
* Added concept of `originalSource`
146-
* Fix for text selection issue
147-
* Fix for native drag events firing for the `MouseSensor`
148-
* Fix for missing `classes` option
142+
- Code of Conduct
143+
- Contribution guidelines
144+
- Documentation on `appendTo` option for `Draggable`
145+
- Added concept of `originalSource`
146+
- Fix for text selection issue
147+
- Fix for native drag events firing for the `MouseSensor`
148+
- Fix for missing `classes` option
149149

150150
### Changes
151151

152-
* README updates
153-
* Touch improvements
154-
* ForceTouchSensor is not included by default anymore
155-
* Folder/File restructure
156-
* Exports `AbstractEvent` as `BaseEvent`
157-
* Update node version from `8.2.1` to `8.6.0`
158-
* Clones event callbacks before triggering (to prevent mutation during iterations)
159-
* Improvements to `closest` utils helper
152+
- README updates
153+
- Touch improvements
154+
- ForceTouchSensor is not included by default anymore
155+
- Folder/File restructure
156+
- Exports `AbstractEvent` as `BaseEvent`
157+
- Update node version from `8.2.1` to `8.6.0`
158+
- Clones event callbacks before triggering (to prevent mutation during iterations)
159+
- Improvements to `closest` utils helper
160160

161161
## v1.0.0-beta - 2017-09-27
162162

‎README.md

+45-45
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,18 @@ interface, for more information read the documentation below.
2020

2121
**Features**
2222

23-
* Works with native drag, mouse, touch and force touch events
24-
* Can extend dragging behaviour by hooking into draggables event life cycle
25-
* Can extend drag detection by adding sensors to draggable
26-
* The library is targeted ES6 first
23+
- Works with native drag, mouse, touch and force touch events
24+
- Can extend dragging behaviour by hooking into draggables event life cycle
25+
- Can extend drag detection by adding sensors to draggable
26+
- The library is targeted ES6 first
2727

2828
## Table of Contents
2929

30-
* [Install](#install)
31-
* [Documentation](#documentation)
32-
* [Contributing](#contributing)
33-
* [Roadmap](#roadmap)
34-
* [Copyright](#copyright)
30+
- [Install](#install)
31+
- [Documentation](#documentation)
32+
- [Contributing](#contributing)
33+
- [Roadmap](#roadmap)
34+
- [Copyright](#copyright)
3535

3636
## Install
3737

@@ -51,19 +51,19 @@ or via CDN
5151

5252
```html
5353
<!-- Entire bundle -->
54-
<script src="https://cdn.jsdelivr.net/npm/@shopify/draggable@1.0.0-beta.7/lib/draggable.bundle.js"></script>
54+
<script src="https://cdn.jsdelivr.net/npm/@shopify/draggable@1.0.0-beta.8/lib/draggable.bundle.js"></script>
5555
<!-- legacy bundle for older browsers (IE11) -->
56-
<script src="https://cdn.jsdelivr.net/npm/@shopify/draggable@1.0.0-beta.7/lib/draggable.bundle.legacy.js"></script>
56+
<script src="https://cdn.jsdelivr.net/npm/@shopify/draggable@1.0.0-beta.8/lib/draggable.bundle.legacy.js"></script>
5757
<!-- Draggable only -->
58-
<script src="https://cdn.jsdelivr.net/npm/@shopify/draggable@1.0.0-beta.7/lib/draggable.js"></script>
58+
<script src="https://cdn.jsdelivr.net/npm/@shopify/draggable@1.0.0-beta.8/lib/draggable.js"></script>
5959
<!-- Sortable only -->
60-
<script src="https://cdn.jsdelivr.net/npm/@shopify/draggable@1.0.0-beta.7/lib/sortable.js"></script>
60+
<script src="https://cdn.jsdelivr.net/npm/@shopify/draggable@1.0.0-beta.8/lib/sortable.js"></script>
6161
<!-- Droppable only -->
62-
<script src="https://cdn.jsdelivr.net/npm/@shopify/draggable@1.0.0-beta.7/lib/droppable.js"></script>
62+
<script src="https://cdn.jsdelivr.net/npm/@shopify/draggable@1.0.0-beta.8/lib/droppable.js"></script>
6363
<!-- Swappable only -->
64-
<script src="https://cdn.jsdelivr.net/npm/@shopify/draggable@1.0.0-beta.7/lib/swappable.js"></script>
64+
<script src="https://cdn.jsdelivr.net/npm/@shopify/draggable@1.0.0-beta.8/lib/swappable.js"></script>
6565
<!-- Plugins only -->
66-
<script src="https://cdn.jsdelivr.net/npm/@shopify/draggable@1.0.0-beta.7/lib/plugins.js"></script>
66+
<script src="https://cdn.jsdelivr.net/npm/@shopify/draggable@1.0.0-beta.8/lib/plugins.js"></script>
6767
```
6868

6969
## Browser Compatibility
@@ -91,33 +91,33 @@ or via CDN
9191

9292
You can find the documentation for each module within their respective directories.
9393

94-
* [Draggable](src/Draggable)
95-
* [DragEvent](src/Draggable/DragEvent)
96-
* [DraggableEvent](src/Draggable/DraggableEvent)
97-
* [MirrorEvent](src/Draggable/MirrorEvent)
98-
* [Plugins](src/Draggable/Plugins)
99-
* [Announcement](src/Draggable/Plugins/Announcement)
100-
* [Focusable](src/Draggable/Plugins/Focusable)
101-
* [Mirror](src/Draggable/Plugins/Mirror)
102-
* [Scrollable](src/Draggable/Plugins/Scrollable)
103-
* [Sensors](src/Draggable/Sensors)
104-
* [DragSensor](src/Draggable/Sensors/DragSensor)
105-
* [ForceTouchSensor](src/Draggable/Sensors/ForceTouchSensor)
106-
* [MouseSensor](src/Draggable/Sensors/MouseSensor)
107-
* [Sensor](src/Draggable/Sensors/Sensor)
108-
* [SensorEvent](src/Draggable/Sensors/SensorEvent)
109-
* [TouchSensor](src/Draggable/Sensors/TouchSensor)
110-
* [Droppable](src/Droppable)
111-
* [DroppableEvent](src/Droppable/DroppableEvent)
112-
* [Plugins](src/Plugins)
113-
* [Collidable](src/Plugins/Collidable)
114-
* [ResizeMirror](src/Plugins/ResizeMirror)
115-
* [Snappable](src/Plugins/Snappable)
116-
* [SwapAnimation](src/Plugins/SwapAnimation)
117-
* [Sortable](src/Sortable)
118-
* [SortableEvent](src/Sortable/SortableEvent)
119-
* [Swappable](src/Swappable)
120-
* [SwappableEvent](src/Swappable/SwappableEvent)
94+
- [Draggable](src/Draggable)
95+
- [DragEvent](src/Draggable/DragEvent)
96+
- [DraggableEvent](src/Draggable/DraggableEvent)
97+
- [MirrorEvent](src/Draggable/MirrorEvent)
98+
- [Plugins](src/Draggable/Plugins)
99+
- [Announcement](src/Draggable/Plugins/Announcement)
100+
- [Focusable](src/Draggable/Plugins/Focusable)
101+
- [Mirror](src/Draggable/Plugins/Mirror)
102+
- [Scrollable](src/Draggable/Plugins/Scrollable)
103+
- [Sensors](src/Draggable/Sensors)
104+
- [DragSensor](src/Draggable/Sensors/DragSensor)
105+
- [ForceTouchSensor](src/Draggable/Sensors/ForceTouchSensor)
106+
- [MouseSensor](src/Draggable/Sensors/MouseSensor)
107+
- [Sensor](src/Draggable/Sensors/Sensor)
108+
- [SensorEvent](src/Draggable/Sensors/SensorEvent)
109+
- [TouchSensor](src/Draggable/Sensors/TouchSensor)
110+
- [Droppable](src/Droppable)
111+
- [DroppableEvent](src/Droppable/DroppableEvent)
112+
- [Plugins](src/Plugins)
113+
- [Collidable](src/Plugins/Collidable)
114+
- [ResizeMirror](src/Plugins/ResizeMirror)
115+
- [Snappable](src/Plugins/Snappable)
116+
- [SwapAnimation](src/Plugins/SwapAnimation)
117+
- [Sortable](src/Sortable)
118+
- [SortableEvent](src/Sortable/SortableEvent)
119+
- [Swappable](src/Swappable)
120+
- [SwappableEvent](src/Swappable/SwappableEvent)
121121

122122
## Running examples
123123

@@ -142,8 +142,8 @@ We are currently working on `v1.0.0-beta.8`. Check out the [project board](https
142142

143143
## Related resources
144144

145-
* [Ember CLI Shim](https://github.com/timrourke/ember-cli-shopify-draggable-shim) on Github by [@timrourke](https://github.com/timrourke)
146-
* [Ember CLI Shim](https://www.npmjs.com/package/ember-cli-shopify-draggable-shim) on NPM by [@timrourke](https://github.com/timrourke)
145+
- [Ember CLI Shim](https://github.com/timrourke/ember-cli-shopify-draggable-shim) on Github by [@timrourke](https://github.com/timrourke)
146+
- [Ember CLI Shim](https://www.npmjs.com/package/ember-cli-shopify-draggable-shim) on NPM by [@timrourke](https://github.com/timrourke)
147147

148148
## Copyright
149149

0 commit comments

Comments
 (0)
Failed to load comments.