ember-sortable 3.0.0 → 3.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,24 @@ Version 9 of Highlight.js has reached EOL and is no longer supported.
2
2
  Please upgrade or ask whatever dependency you are using to upgrade.
3
3
  https://github.com/highlightjs/highlight.js/issues/2877
4
4
 
5
+
6
+ ## v3.0.1 (2022-03-16)
7
+
8
+ #### :bug: Bug Fix
9
+ * [#461](https://github.com/adopted-ember-addons/ember-sortable/pull/461) bugfix: Ensure horizontal scrolling can go negative ([@snewcomer](https://github.com/snewcomer))
10
+
11
+ #### :memo: Documentation
12
+ * [#458](https://github.com/adopted-ember-addons/ember-sortable/pull/458) Fix README.md typo ([@charlesfries](https://github.com/charlesfries))
13
+
14
+ #### :house: Internal
15
+ * [#456](https://github.com/adopted-ember-addons/ember-sortable/pull/456) Upgrade `release-it` packages ([@alexlafroscia](https://github.com/alexlafroscia))
16
+ * [#446](https://github.com/adopted-ember-addons/ember-sortable/pull/446) Bump ember-test-selectors v6.0.0 ([@snewcomer](https://github.com/snewcomer))
17
+
18
+ #### Committers: 3
19
+ - Alex LaFroscia ([@alexlafroscia](https://github.com/alexlafroscia))
20
+ - Charles Fries ([@charlesfries](https://github.com/charlesfries))
21
+ - Scott Newcomer ([@snewcomer](https://github.com/snewcomer))
22
+
5
23
  ## v3.0.0 (2021-11-29)
6
24
 
7
25
  #### :rocket: Enhancement
package/README.md CHANGED
@@ -202,7 +202,7 @@ export default class MyRoute extends Route {
202
202
  ```
203
203
 
204
204
  ```hbs
205
- <li {{#sortable-item
205
+ <li {{sortable-item
206
206
  onDragStart=this.dragStarted
207
207
  onDragStop=this.dragStopped
208
208
  model=modelItem
@@ -570,7 +570,7 @@ export default class SortableItemModifier extends Modifier {
570
570
  let x = this.x;
571
571
  let dx = x - this.element.offsetLeft + parseFloat(getComputedStyle(this.element).marginLeft);
572
572
 
573
- this.element.style.transform = `translateX(${Math.max(0, dx)}px)`;
573
+ this.element.style.transform = `translateX(${dx}px)`;
574
574
  }
575
575
  if (groupDirection === 'y') {
576
576
  let y = this.y;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-sortable",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "Sortable UI primitives for Ember.",
5
5
  "keywords": [
6
6
  "ember-addon",
@@ -31,7 +31,7 @@
31
31
  "ember-cli-version-checker": "^5.1.2",
32
32
  "ember-get-config": "^0.3.0",
33
33
  "ember-modifier": "^2.1.0",
34
- "ember-test-selectors": "^5.0.0"
34
+ "ember-test-selectors": "^6.0.0"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@ember/optional-features": "^2.0.0",
@@ -71,8 +71,8 @@
71
71
  "prettier": "^2.3.2",
72
72
  "qunit": "^2.16.0",
73
73
  "qunit-dom": "^1.6.0",
74
- "release-it": "^12.4.3",
75
- "release-it-lerna-changelog": "^1.0.3"
74
+ "release-it": "^14.11.8",
75
+ "release-it-lerna-changelog": "^4.0.1"
76
76
  },
77
77
  "engines": {
78
78
  "node": "12.* || 14.* || >= 16"