react-grid-layout 1.2.4 → 1.3.2

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.
Files changed (52) hide show
  1. package/.babelrc.js +3 -2
  2. package/.eslintignore +3 -0
  3. package/.flowconfig +1 -3
  4. package/.prettierignore +1 -0
  5. package/CHANGELOG.md +371 -236
  6. package/README.md +122 -62
  7. package/build/GridItem.js +12 -12
  8. package/build/ReactGridLayout.js +306 -325
  9. package/build/ReactGridLayoutPropTypes.js +11 -5
  10. package/build/ResponsiveReactGridLayout.js +16 -10
  11. package/build/calculateUtils.js +8 -8
  12. package/build/components/WidthProvider.js +11 -9
  13. package/build/fastRGLPropsEqual.js +1 -1
  14. package/build/responsiveUtils.js +1 -1
  15. package/build/utils.js +48 -53
  16. package/coverage/clover.xml +761 -0
  17. package/coverage/coverage-final.json +15 -0
  18. package/coverage/lcov-report/base.css +224 -0
  19. package/coverage/lcov-report/block-navigation.js +87 -0
  20. package/coverage/lcov-report/favicon.png +0 -0
  21. package/coverage/lcov-report/prettify.css +1 -0
  22. package/coverage/lcov-report/prettify.js +2 -0
  23. package/coverage/lcov-report/react-grid-layout/index-dev.js.html +104 -0
  24. package/coverage/lcov-report/react-grid-layout/lib/GridItem.jsx.html +2099 -0
  25. package/coverage/lcov-report/react-grid-layout/lib/ReactGridLayout.jsx.html +2453 -0
  26. package/coverage/lcov-report/react-grid-layout/lib/ReactGridLayoutPropTypes.js.html +833 -0
  27. package/coverage/lcov-report/react-grid-layout/lib/ResponsiveReactGridLayout.jsx.html +1133 -0
  28. package/coverage/lcov-report/react-grid-layout/lib/calculateUtils.js.html +557 -0
  29. package/coverage/lcov-report/react-grid-layout/lib/components/WidthProvider.jsx.html +410 -0
  30. package/coverage/lcov-report/react-grid-layout/lib/fastRGLPropsEqual.js.html +224 -0
  31. package/coverage/lcov-report/react-grid-layout/lib/responsiveUtils.js.html +440 -0
  32. package/coverage/lcov-report/react-grid-layout/lib/utils.js.html +2456 -0
  33. package/coverage/lcov-report/react-grid-layout/test/examples/0-showcase.jsx.html +521 -0
  34. package/coverage/lcov-report/react-grid-layout/test/examples/1-basic.jsx.html +284 -0
  35. package/coverage/lcov-report/react-grid-layout/test/examples/15-drag-from-outside.jsx.html +506 -0
  36. package/coverage/lcov-report/react-grid-layout/test/util/deepFreeze.js.html +248 -0
  37. package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
  38. package/coverage/lcov-report/sorter.js +196 -0
  39. package/coverage/lcov.info +1584 -0
  40. package/dist/react-grid-layout.min.js +1 -2
  41. package/dist/react-grid-layout.min.js.map +1 -1
  42. package/index.js +4 -2
  43. package/lib/GridItem.jsx +15 -10
  44. package/lib/ReactGridLayout.jsx +101 -62
  45. package/lib/ReactGridLayoutPropTypes.js +38 -17
  46. package/lib/ResponsiveReactGridLayout.jsx +7 -1
  47. package/lib/components/WidthProvider.jsx +2 -2
  48. package/lib/utils.js +45 -40
  49. package/package.json +48 -34
  50. package/.husky/pre-commit +0 -6
  51. package/.travis.yml +0 -9
  52. package/dist/react-grid-layout.min.js.LICENSE.txt +0 -5
package/CHANGELOG.md CHANGED
@@ -1,32 +1,81 @@
1
1
  # Changelog
2
2
 
3
- 1.2.4 (Mar 18, 2021)
4
- ---
3
+ ## 1.3.1 (Nov 29, 2021)
4
+
5
+ ### Bugfixes
6
+
7
+ - Fix `allowOverlap` not firing `onLayoutChange()`. [#1620](https://github.com/react-grid-layout/react-grid-layout/pull/1620)
8
+ - This was due to a short-circuiting of internal logic that did not properly clone the `layout` prop.
9
+
10
+ ### Internal Changes
11
+
12
+ - Replace `classnames` with `clsx` for smaller package size. (#1543)
5
13
 
6
- *This version fixes a serious render bug in `<WidthProvider>`. 1.2.3 should not be used.*
14
+ ## 1.3.0 (Aug 27, 2021)
15
+
16
+ ### New Features
17
+
18
+ - `allowOverlap` prop, when `true`, allows overlapping grid items. [#1470](https://github.com/react-grid-layout/react-grid-layout/pull/1470)
19
+ - Add `onDropDragOver` callback. [#1395](https://github.com/react-grid-layout/react-grid-layout/pull/1395)
20
+ - Use this callback to dynamically adjust the `droppingItem` based on what is being dragged over. Return `w` and `h` to adjust the item. It is then [spread into the dropping placeholder](https://github.com/react-grid-layout/react-grid-layout/pull/1395/files#diff-83ab569936bfd4bf0460a4f23653ecbe8bc88509062c95e75c9402218b2b8733R609).
21
+ - This callback has the type:
22
+ - `onDragOver: (e: DragOverEvent) => { w: number, h: number } | false;`
23
+ - Return `false` to short-circuit the dragover.
7
24
 
8
25
  ### Bugfixes
9
- - Fix failure to mount when layout is WidthProvider-wrapped and `measureBeforeMount` is `true`.
10
- - Ref: [#1428](https://github.com/react-grid-layout/react-grid-layout/issues/1428)
11
- - `<WidthProvider>` no longer updates grid with if it has been set to 0. This prevents unnecessary updates
12
- if the grid is set to `display: none;`. Thanks @405go [#1427](https://github.com/react-grid-layout/react-grid-layout/pull/1427)
13
26
 
14
- 1.2.3 (Mar 16, 2021)
15
- ---
27
+ - Remove sorting when `compactType` is `null`. [#1474](https://github.com/react-grid-layout/react-grid-layout/pull/1474)
28
+ - Droppable fixes for Chrome behavior. [#1442](https://github.com/react-grid-layout/react-grid-layout/issues/1442) [#1448](https://github.com/react-grid-layout/react-grid-layout/issues/1442)
29
+ - Allow `null` children as a convenience so that inline expressions don't break the library. [#1296](https://github.com/react-grid-layout/react-grid-layout/pull/1296)
30
+ - Various dependency upgrades.
31
+
32
+ ### Documentation
33
+
34
+ - Add docs on using custom components as grid children.
35
+ - Note required class on resizable handles for proper styling.
36
+
37
+ ## 1.2.5 (May 10, 2021)
38
+
39
+ ### Bugfixes
40
+
41
+ - Ensure no negative positions are possible when compacting
42
+ - Thanks @DonnyLi [#829](https://github.com/react-grid-layout/react-grid-layout/pull/829)
43
+ - Fixes [#535](https://github.com/react-grid-layout/react-grid-layout/issues/535)
44
+ - Fix resizing on mobile. This was caused by the `ref` refactor to remove ReactDOM in 1.2.3.
45
+ - Fixes #[1458](https://github.com/react-grid-layout/react-grid-layout/issues/1458)
46
+ - Note: this upgrades `react-resizable` to `3.0.1`, which like our other deps, is only compatible with `React@>=16.3`.
47
+
48
+ ### Documentation
49
+
50
+ - Document new arity of `resizeHandle` (`(axis: ResizeHandleAxis, ref: ReactRef<HTMLElement>) => React$Element`)
51
+ - Remove references to the deprecated `verticalCompact` prop
52
+
53
+ ## 1.2.4 (Mar 18, 2021)
54
+
55
+ _This version fixes a serious render bug in `<WidthProvider>`. 1.2.3 should not be used._
56
+
57
+ ### Bugfixes
58
+
59
+ - Fix failure to mount when layout is WidthProvider-wrapped and `measureBeforeMount` is `true`.
60
+ - Ref: [#1428](https://github.com/react-grid-layout/react-grid-layout/issues/1428)
61
+ - `<WidthProvider>` no longer updates grid with if it has been set to 0. This prevents unnecessary updates
62
+ if the grid is set to `display: none;`. Thanks @405go [#1427](https://github.com/react-grid-layout/react-grid-layout/pull/1427)
63
+
64
+ ## 1.2.3 (Mar 16, 2021)
16
65
 
17
66
  ### New Features
18
- - React-Grid-Layout is now fully compatible with `<React.StrictMode>`.
19
- - Usage of `ReactDOM` has been removed by using `React.createRef()` inside RGL, and the new [`nodeRef` prop](https://github.com/react-grid-layout/react-draggable/blob/master/CHANGELOG.md#440-may-12-2020) in `react-draggable`.
20
67
 
21
- 1.2.2 (Mar 1, 2021)
22
- ---
68
+ - React-Grid-Layout is now fully compatible with `<React.StrictMode>`.
69
+ - Usage of `ReactDOM` has been removed by using `React.createRef()` inside RGL, and the new [`nodeRef` prop](https://github.com/react-grid-layout/react-draggable/blob/master/CHANGELOG.md#440-may-12-2020) in `react-draggable`.
70
+
71
+ ## 1.2.2 (Mar 1, 2021)
23
72
 
24
73
  ### Bugfixes
25
- - `onResize` as changed in 1.2.1 did not correctly save the layout. This is now fixed.
26
- - As you might guess, we need more test coverage! PRs are very welcome, I'll buy you beers on Cashapp or Patreon or whatever you like.
27
74
 
28
- 1.2.1 (Mar 1, 2021)
29
- ---
75
+ - `onResize` as changed in 1.2.1 did not correctly save the layout. This is now fixed.
76
+ - As you might guess, we need more test coverage! PRs are very welcome, I'll buy you beers on Cashapp or Patreon or whatever you like.
77
+
78
+ ## 1.2.1 (Mar 1, 2021)
30
79
 
31
80
  ## Organization Changes
32
81
 
@@ -36,107 +85,117 @@ We have created the [React-Grid-Layout Organization](https://github.com/react-gr
36
85
  This organization will grow as time goes on, and also contains the dependencies of RGL.
37
86
 
38
87
  ### Bugfixes
39
- - Use `classList` in Firefox onDragOver hack. [#1310](https://github.com/STRML/react-grid-layout/pull/1310)
40
- - Fix `scale` property. As `scale` support was added to dependencies, this caused double-compensation for scale, causing the dragged element not to follow the cursor. [#1393](https://github.com/STRML/react-grid-layout/pull/1393)
41
- - Fix horizontal compact mode issue where it inadventently would compact the bottom of the grid. This is not useful nor intended. Thanks @s4m3. [#1390](https://github.com/STRML/react-grid-layout/pull/1390)
42
- - Fix `onLayoutChange` sometimes not triggering on resize. We weren't cloning the layout item before modifying it. Thanks @xcqwan. [#1289](https://github.com/react-grid-layout/react-grid-layout/pull/1289)
88
+
89
+ - Use `classList` in Firefox onDragOver hack. [#1310](https://github.com/STRML/react-grid-layout/pull/1310)
90
+ - Fix `scale` property. As `scale` support was added to dependencies, this caused double-compensation for scale, causing the dragged element not to follow the cursor. [#1393](https://github.com/STRML/react-grid-layout/pull/1393)
91
+ - Fix horizontal compact mode issue where it inadventently would compact the bottom of the grid. This is not useful nor intended. Thanks @s4m3. [#1390](https://github.com/STRML/react-grid-layout/pull/1390)
92
+ - Fix `onLayoutChange` sometimes not triggering on resize. We weren't cloning the layout item before modifying it. Thanks @xcqwan. [#1289](https://github.com/react-grid-layout/react-grid-layout/pull/1289)
43
93
 
44
94
  ### Internal Refactors
45
- - Updated to the latest versions of all dependencies (enzyme, webpack, jest, flow).
46
- - Held back React@17 as enzyme is [not yet ready](https://github.com/enzymejs/enzyme/issues/2429).
47
95
 
48
- 1.2.0 (Nov 17, 2020)
49
- ---
96
+ - Updated to the latest versions of all dependencies (enzyme, webpack, jest, flow).
97
+ - Held back React@17 as enzyme is [not yet ready](https://github.com/enzymejs/enzyme/issues/2429).
98
+
99
+ ## 1.2.0 (Nov 17, 2020)
50
100
 
51
101
  ### New Features
52
- - You can now customize your resizable handle component as supported by [`react-resizable`](https://github.com/STRML/react-resizable/blob/09fd865c0e1cc570caa8d67e44a2e56172d3d816/examples/ExampleLayout.js#L72). For example:
53
- ```js
54
- <ReactGridLayout resizeHandle={<span className="custom-handle custom-handle-se" />} {...props} />
55
- ````
56
- Thanks @typeetfunc [#1303](https://github.com/STRML/react-grid-layout/pull/1303)
102
+
103
+ - You can now customize your resizable handle component as supported by [`react-resizable`](https://github.com/STRML/react-resizable/blob/09fd865c0e1cc570caa8d67e44a2e56172d3d816/examples/ExampleLayout.js#L72). For example:
104
+
105
+ ```js
106
+ <ReactGridLayout
107
+ resizeHandle={<span className="custom-handle custom-handle-se" />}
108
+ {...props}
109
+ />
110
+ ```
111
+
112
+ Thanks @typeetfunc [#1303](https://github.com/STRML/react-grid-layout/pull/1303)
57
113
 
58
114
  ### Bugfixes
59
- - Fix `onDrop` handler not firing on Firefox if you drop over the placeholder.
60
- - Thanks @Charles-Lamoureux [#1333](https://github.com/STRML/react-grid-layout/pull/1333)
61
- - Various example style fixes [#1283](https://github.com/STRML/react-grid-layout/pull/1283) [#1299](https://github.com/STRML/react-grid-layout/pull/1299)
62
115
 
63
- 1.1.1 (Sep 10, 2020)
64
- ---
116
+ - Fix `onDrop` handler not firing on Firefox if you drop over the placeholder.
117
+ - Thanks @Charles-Lamoureux [#1333](https://github.com/STRML/react-grid-layout/pull/1333)
118
+ - Various example style fixes [#1283](https://github.com/STRML/react-grid-layout/pull/1283) [#1299](https://github.com/STRML/react-grid-layout/pull/1299)
119
+
120
+ ## 1.1.1 (Sep 10, 2020)
65
121
 
66
122
  Republish to add `dist/` folder for unpkg use.
67
123
 
68
- 1.1.0 (Sep 3, 2020)
69
- ---
124
+ ## 1.1.0 (Sep 3, 2020)
70
125
 
71
126
  ### New Features
72
- - You can now place resizable handles on all corners. Use the `resizeHandles` prop, which is default `['se']` (for 'southeast').
73
- - Allowable values are:
74
- * 's' - South handle (bottom-center)
75
- * 'w' - West handle (left-center)
76
- * 'e' - East handle (right-center)
77
- * 'n' - North handle (top-center)
78
- * 'sw' - Southwest handle (bottom-left)
79
- * 'nw' - Northwest handle (top-left)
80
- * 'se' - Southeast handle (bottom-right)
81
- * 'ne' - Northeast handle (top-right)
82
- - These values may be combined, e.g. `['s', 'se', 'e']`, to place three handles on the bottom side, bottom-right corner, and right side.
127
+
128
+ - You can now place resizable handles on all corners. Use the `resizeHandles` prop, which is default `['se']` (for 'southeast').
129
+ - Allowable values are:
130
+ - 's' - South handle (bottom-center)
131
+ - 'w' - West handle (left-center)
132
+ - 'e' - East handle (right-center)
133
+ - 'n' - North handle (top-center)
134
+ - 'sw' - Southwest handle (bottom-left)
135
+ - 'nw' - Northwest handle (top-left)
136
+ - 'se' - Southeast handle (bottom-right)
137
+ - 'ne' - Northeast handle (top-right)
138
+ - These values may be combined, e.g. `['s', 'se', 'e']`, to place three handles on the bottom side, bottom-right corner, and right side.
83
139
 
84
140
  ### Bugfixes
85
- - Revert `containerPadding` change in #1138. This change was meant to be types-only, but it caused a behavioral change where the default value of `containerPadding` became `[0, 0]`, not `margin`, which is default `[10, 10]`.
86
- - Add a few more files to `npmignore` to improve package size.
87
141
 
88
- 1.0.0 (July 20, 2020)
89
- ---
142
+ - Revert `containerPadding` change in #1138. This change was meant to be types-only, but it caused a behavioral change where the default value of `containerPadding` became `[0, 0]`, not `margin`, which is default `[10, 10]`.
143
+ - Add a few more files to `npmignore` to improve package size.
144
+
145
+ ## 1.0.0 (July 20, 2020)
90
146
 
91
147
  React-Grid-Layout has been in `0.x` status for far too long. With the addition of some new features in this version and a breaking change, I thought it was time to move to a stable semver.
92
148
 
93
149
  ### Breaking Changes
94
- - `onDrop` callback now has a form more consistent with other callbacks.
95
- - Previous type: `(elemParams: { x: number, y: number, w: number, h: number, e: Event }) => void`
96
- - New type: `(layout: Layout, item: ?LayoutItem, e: Event) => void`
97
- - Thanks @ceberhar [#1169](https://github.com/STRML/react-grid-layout/pull/1169)
98
- - Dropping Node 8 compatibility and testing due to devDep incompatibilities
150
+
151
+ - `onDrop` callback now has a form more consistent with other callbacks.
152
+ - Previous type: `(elemParams: { x: number, y: number, w: number, h: number, e: Event }) => void`
153
+ - New type: `(layout: Layout, item: ?LayoutItem, e: Event) => void`
154
+ - Thanks @ceberhar [#1169](https://github.com/STRML/react-grid-layout/pull/1169)
155
+ - Dropping Node 8 compatibility and testing due to devDep incompatibilities
99
156
 
100
157
  ### New Features
101
- - Add `innerRef: React.Ref<'div'>` prop to expose a ref for the grid layout's outer div. Thanks @paul-sachs [#1176](https://github.com/STRML/react-grid-layout/pull/1176)
102
- - Add `isBounded` property to prevent dragging items outside of the grid. Thanks @artembykov [#1248](https://github.com/STRML/react-grid-layout/pull/1248)
158
+
159
+ - Add `innerRef: React.Ref<'div'>` prop to expose a ref for the grid layout's outer div. Thanks @paul-sachs [#1176](https://github.com/STRML/react-grid-layout/pull/1176)
160
+ - Add `isBounded` property to prevent dragging items outside of the grid. Thanks @artembykov [#1248](https://github.com/STRML/react-grid-layout/pull/1248)
103
161
 
104
162
  ### Bugfixes
105
- - Fix grid items stuck using percentages on first render. Thanks @rhbg [#1246](https://github.com/STRML/react-grid-layout/pull/1246)
106
163
 
107
- 0.18.3 (Mar 16, 2020)
108
- ----
164
+ - Fix grid items stuck using percentages on first render. Thanks @rhbg [#1246](https://github.com/STRML/react-grid-layout/pull/1246)
165
+
166
+ ## 0.18.3 (Mar 16, 2020)
109
167
 
110
168
  ### Bugfixes
111
- - Fix `shouldComponentUpdate` interfering with droppability ([#1152](https://github.com/STRML/react-grid-layout/issues/1152))
169
+
170
+ - Fix `shouldComponentUpdate` interfering with droppability ([#1152](https://github.com/STRML/react-grid-layout/issues/1152))
112
171
 
113
172
  ### Internal Changes
114
- - New Enzyme test suite added to prevent regression. If you have time, we could really use more test cases that reflect your use cases!
115
173
 
116
- 0.18.2 (Feb 26, 2020)
117
- ----
174
+ - New Enzyme test suite added to prevent regression. If you have time, we could really use more test cases that reflect your use cases!
175
+
176
+ ## 0.18.2 (Feb 26, 2020)
118
177
 
119
178
  ### Bugfixes
120
- - `shouldComponentUpdate`:
121
- - A too-aggressive implementation of `shouldComponentUpdate` was shipped in 0.18.0-0.18.1 ([#1123](https://github.com/STRML/react-grid-layout/pull/1123)), which did not compare the `children` object. While this works well in many simple implementations of RGL, it breaks in more complex applications.
122
- - Reference equality of `props.children` and `nextProps.children` is now added to `<ReactGridLayout>` and `<GridItem>`. If you wish to take advantage of the performance improvements from the `shouldComponentUpdate` work, memoize your children.
123
- - A section has been added to the [README](/README.md#Performance) explaining how this works.
124
- - Fixed [#1150](https://github.com/STRML/react-grid-layout/issues/1150), [#1151](https://github.com/STRML/react-grid-layout/issues/1151).
125
179
 
126
- 0.18.1 (Feb 25, 2020)
127
- ----
180
+ - `shouldComponentUpdate`:
181
+ - A too-aggressive implementation of `shouldComponentUpdate` was shipped in 0.18.0-0.18.1 ([#1123](https://github.com/STRML/react-grid-layout/pull/1123)), which did not compare the `children` object. While this works well in many simple implementations of RGL, it breaks in more complex applications.
182
+ - Reference equality of `props.children` and `nextProps.children` is now added to `<ReactGridLayout>` and `<GridItem>`. If you wish to take advantage of the performance improvements from the `shouldComponentUpdate` work, memoize your children.
183
+ - A section has been added to the [README](/README.md#Performance) explaining how this works.
184
+ - Fixed [#1150](https://github.com/STRML/react-grid-layout/issues/1150), [#1151](https://github.com/STRML/react-grid-layout/issues/1151).
185
+
186
+ ## 0.18.1 (Feb 25, 2020)
128
187
 
129
188
  This release contains typedef changes only.
130
189
 
131
190
  ### Bugfixes
132
- - Flow types:
133
- - Make Props to `<ReactGridLayout>` and `<ResponsiveReactGridLayout>` exact.
134
- - Fix loss of props refinement when passing through `WidthProvider`.
135
- - Fix Flow errors as surfaced in [#1138](https://github.com/STRML/react-grid-layout/pull/1138).
136
- - Modify examples to use types so that the above type error can't resurface
137
191
 
138
- 0.18.0 (Feb 25, 2020)
139
- ----
192
+ - Flow types:
193
+ - Make Props to `<ReactGridLayout>` and `<ResponsiveReactGridLayout>` exact.
194
+ - Fix loss of props refinement when passing through `WidthProvider`.
195
+ - Fix Flow errors as surfaced in [#1138](https://github.com/STRML/react-grid-layout/pull/1138).
196
+ - Modify examples to use types so that the above type error can't resurface
197
+
198
+ ## 0.18.0 (Feb 25, 2020)
140
199
 
141
200
  Thanks to all of our maintainers for this big release. 0.18.0 contains a large number of bugfixes that users have been asking for. Please read the full list so you know what to expect. Some of the biggest improvements include fixing changes of `isResizable`/`isDraggable` without a remount ([#892](https://github.com/STRML/react-grid-layout/pull/892)), fixes to prop changes on `ResponsiveReactGridLayout` ([#1090](https://github.com/STRML/react-grid-layout/pull/1090)), `shouldComponentUpdate` improvements for speed ([#1123](https://github.com/STRML/react-grid-layout/pull/1123)), improvements to droppability ([#1127](https://github.com/STRML/react-grid-layout/pull/1127)), and much more.
142
201
 
@@ -169,17 +228,18 @@ Thanks to all of our maintainers for this big release. 0.18.0 contains a large n
169
228
  - Upgrade devDependencies.
170
229
  - Remove ESPower from test suite (not useful with Jest).
171
230
 
231
+ 0.17.1 (Oct 29, 2019)
172
232
 
173
- 0.17.1 (Oct 29, 2019)
174
- ----
233
+ ---
175
234
 
176
235
  ### Bugfixes
177
236
 
178
237
  - Surround `navigator` check in `try/catch` to avoid problems with mocked navigators [#1057](https://github.com/STRML/react-grid-layout/pull/1054)
179
238
  - TransformScale is not applied properly while dragging an element [#1046](https://github.com/STRML/react-grid-layout/pull/1054)
180
239
 
181
- 0.17.0 (Oct 24, 2019)
182
- ----
240
+ 0.17.0 (Oct 24, 2019)
241
+
242
+ ---
183
243
 
184
244
  It's been 18 months since the last release, and this is a pretty large one! For references on the items below, see https://github.com/STRML/react-grid-layout/milestone/1?closed=1.
185
245
 
@@ -192,7 +252,6 @@ Thanks to @daynin and @n1ghtmare for taking an active role in maintaining RGL, a
192
252
  - `transformScale` prop [#987](https://github.com/STRML/react-grid-layout/pull/987)
193
253
  - `<ResponsiveReactGridLayout>` now supports margin-per-breakpoint [#1016](https://github.com/STRML/react-grid-layout/pull/1016)
194
254
 
195
-
196
255
  ### Bugfixes
197
256
 
198
257
  - `onWidthChange` only called on breakpoint changes [#770](https://github.com/STRML/react-grid-layout/pull/770)
@@ -213,8 +272,9 @@ Thanks to @daynin and @n1ghtmare for taking an active role in maintaining RGL, a
213
272
  - Various build simplifications [#773](https://github.com/STRML/react-grid-layout/pull/773)
214
273
  - Various PR bots - thanks @daynin
215
274
 
216
- 0.16.6 (Mar 8, 2018)
217
- ----
275
+ 0.16.6 (Mar 8, 2018)
276
+
277
+ ---
218
278
 
219
279
  - Fixed collision issue where items below could rearrange on a move.
220
280
  - The root cause was "teleportation", or practically the same bug that leads to Pac-Man going through
@@ -227,84 +287,99 @@ Thanks to @daynin and @n1ghtmare for taking an active role in maintaining RGL, a
227
287
  - Ref: #650, #739
228
288
  - Added a "Toolbox" demo (thanks @jhob)
229
289
 
230
- 0.16.5 (Feb 26, 2018)
231
- ----
290
+ 0.16.5 (Feb 26, 2018)
291
+
292
+ ---
232
293
 
233
294
  - Minor fix to `isUserAction` on certain types of compaction cascades (#714, #720, #729)
234
295
 
235
- 0.16.4 (Feb 15, 2018)
236
- ----
296
+ 0.16.4 (Feb 15, 2018)
297
+
298
+ ---
237
299
 
238
300
  - Skip null items in processGridItem (#578)
239
301
  - Resize is broken for grids with preventCollision: true, fixes #655 (#656)
240
302
  - Minor refactoring
241
303
 
242
- 0.16.3 (Jan 31, 2018)
243
- ----
304
+ 0.16.3 (Jan 31, 2018)
305
+
306
+ ---
244
307
 
245
308
  - Fix overriding of `onStart` behaviour (#707, thanks @ersel)
246
309
  - Fixed Flow type of WidthProvider
247
310
  - Devdep updates
248
311
 
249
- 0.16.2 (Dec 17, 2017)
250
- ----
312
+ 0.16.2 (Dec 17, 2017)
313
+
314
+ ---
251
315
 
252
316
  - Fix `onLayoutChange` not firing properly due to regression introduced in 0.16.1
253
317
  - Ref: https://github.com/STRML/react-grid-layout/issues/683
254
318
  - Simpler resize corner CSS (thanks @TrySound)
255
319
  - Reformat code with Prettier & simplify lint configs (thanks @TrySound)
256
320
 
257
- 0.16.1 (Dec 10, 2017)
258
- ----
321
+ 0.16.1 (Dec 10, 2017)
322
+
323
+ ---
259
324
 
260
325
  - Flow def upgrades (thanks @TrySound)
261
326
  - DevDep upgrades
262
327
  - Fixed WebpackBin demo
263
328
  - Addl test cases (thanks @torkelo)
264
329
 
265
- 0.16.0 (Oct 6, 2017)
266
- ----
330
+ 0.16.0 (Oct 6, 2017)
331
+
332
+ ---
267
333
 
268
334
  - Added horizontal compaction option, `compactType` (thanks @Rhjulskov)
269
335
  - Added `preventCollision` option for static grids (thanks @EmrysMyrddin)
270
336
 
271
- 0.15.2 (Sep 5, 2017)
272
- ----
337
+ 0.15.2 (Sep 5, 2017)
338
+
339
+ ---
273
340
 
274
341
  - Fix missed `import *`
275
342
  - Dependency updates
276
343
 
277
- 0.15.1 (Sep 5, 2017)
278
- ----
344
+ 0.15.1 (Sep 5, 2017)
345
+
346
+ ---
279
347
 
280
348
  - Fix React PropTypes & createClass warnings
349
+
281
350
  - See https://github.com/facebook/react/issues/10583
282
351
 
283
- 0.15.0 (Aug 21, 2017)
284
- ----
352
+ 0.15.0 (Aug 21, 2017)
353
+
354
+ ---
285
355
 
286
356
  - Package upgrades, including Webpack 3
287
357
  - Flow typedef upgrades for the 0.53 rework
288
358
  - Add faulty key value in duplicate key error message (#602)
289
359
 
290
- 0.14.7 (Jul 14, 2017)
291
- ----
360
+ 0.14.7 (Jul 14, 2017)
361
+
362
+ ---
292
363
 
293
364
  - Fixed a dragging bug when the grid container is scrollable. Thanks @chultquist.
365
+
294
366
  - Ref: https://github.com/STRML/react-grid-layout/pull/555
295
367
 
296
- 0.14.6 (Apr 19, 2017)
297
- ----
368
+ 0.14.6 (Apr 19, 2017)
369
+
370
+ ---
298
371
 
299
372
  - Fixed a bad publish (connectivity issue).
300
373
 
301
- 0.14.5 (Apr 19, 2017)
302
- ----
374
+ 0.14.5 (Apr 19, 2017)
375
+
376
+ ---
303
377
 
304
378
  - Moved to `prop-types` package to avoid React.PropTypes deprecation in 15.5. Thanks @inverts!
305
379
 
306
- 0.14.4 (Mar 9, 2017)
307
- ----
380
+ 0.14.4 (Mar 9, 2017)
381
+
382
+ ---
308
383
 
309
384
  #### Fixes:
310
385
 
@@ -314,15 +389,17 @@ Thanks to @daynin and @n1ghtmare for taking an active role in maintaining RGL, a
314
389
 
315
390
  - Update Flow
316
391
 
317
- 0.14.3 (Feb 22, 2017)
318
- ----
392
+ 0.14.3 (Feb 22, 2017)
393
+
394
+ ---
319
395
 
320
396
  #### Fixes:
321
397
 
322
398
  - Reverted #499; `msTransform` is indeed correct. See [discussion](https://github.com/STRML/react-grid-layout/pull/499#issuecomment-281703069).
323
399
 
324
- 0.14.2 (Feb 22, 2017)
325
- ----
400
+ 0.14.2 (Feb 22, 2017)
401
+
402
+ ---
326
403
 
327
404
  #### Fixes:
328
405
 
@@ -333,16 +410,18 @@ Thanks to @daynin and @n1ghtmare for taking an active role in maintaining RGL, a
333
410
 
334
411
  - Update development dependencies and babel version.
335
412
 
336
- 0.14.1 (Feb 20, 2017)
337
- ----
413
+ 0.14.1 (Feb 20, 2017)
414
+
415
+ ---
338
416
 
339
417
  #### Fixes:
340
418
 
341
419
  - Fixed a minor Flow type issue when a `classnames` typedef is present.
342
420
  - Fixed a scoping issue when running `make build-example`.
343
421
 
344
- 0.14.0 (Feb 13, 2017)
345
- -----
422
+ 0.14.0 (Feb 13, 2017)
423
+
424
+ ---
346
425
 
347
426
  #### Features:
348
427
 
@@ -351,24 +430,29 @@ Thanks to @daynin and @n1ghtmare for taking an active role in maintaining RGL, a
351
430
  - Committed yarn.lock
352
431
  - Added `react-draggable` classname to draggable grid items.
353
432
 
354
- 0.13.9 (Oct 13, 2016)
355
- -----
433
+ 0.13.9 (Oct 13, 2016)
434
+
435
+ ---
356
436
 
357
437
  #### Fixes:
358
438
 
359
439
  - Fixed sorting of layout items, which could be different in IE if two items have the same x & y coordinate.
440
+
360
441
  - See [#369](https://github.com/STRML/react-grid-layout/issues/369).
361
442
 
362
- 0.13.8 (Oct 13, 2016)
363
- -----
443
+ 0.13.8 (Oct 13, 2016)
444
+
445
+ ---
364
446
 
365
447
  #### Fixes:
366
448
 
367
449
  - Fixed breakage introduced in `0.13.7` when items are added without a layout or `data-grid` property.
450
+
368
451
  - See [#368](https://github.com/STRML/react-grid-layout/issues/368).
369
452
 
370
- 0.13.7 (Oct 3, 2016)
371
- -----
453
+ 0.13.7 (Oct 3, 2016)
454
+
455
+ ---
372
456
 
373
457
  #### Fixes:
374
458
 
@@ -377,38 +461,44 @@ Thanks to @daynin and @n1ghtmare for taking an active role in maintaining RGL, a
377
461
  - Fixed some issues with input layout items being modified in-place rather than cloned.
378
462
  - Minor typos.
379
463
 
380
- 0.13.6 (Sep 26, 2016)
381
- -----
464
+ 0.13.6 (Sep 26, 2016)
465
+
466
+ ---
382
467
 
383
468
  #### Fixes:
384
469
 
385
470
  - Fixed missing HTMLElement in `onResize*` callbacks.
386
471
 
387
- 0.13.5 (Sep 9, 2016)
388
- -----
472
+ 0.13.5 (Sep 9, 2016)
473
+
474
+ ---
389
475
 
390
476
  #### Fixes:
391
477
 
392
478
  - Fixed a few Flow typing errors in `WidthProvider`.
393
479
 
394
- 0.13.4 (Sep 9, 2016)
395
- -----
480
+ 0.13.4 (Sep 9, 2016)
481
+
482
+ ---
396
483
 
397
484
  #### Fixes:
398
485
 
399
486
  - Fixed potential call to `ReactDOM.findDOMNode(this)` after unmount of `WidthProvider`.
400
487
  - Fixed an issue where layout items using `data-grid` could rearrange on mount depending on how they were ordered.
488
+
401
489
  - See [#342](https://github.com/STRML/react-grid-layout/pull/342) for reference.
402
490
 
403
- 0.13.3 (Aug 31, 2016)
404
- -----
491
+ 0.13.3 (Aug 31, 2016)
492
+
493
+ ---
405
494
 
406
495
  #### Fixes:
407
496
 
408
- - Fixed `lodash.isequal` import, which was ruined by case-insensitive HFS+ *shakes fist*
497
+ - Fixed `lodash.isequal` import, which was ruined by case-insensitive HFS+ _shakes fist_
409
498
 
410
- 0.13.2 (Aug 31, 2016)
411
- -----
499
+ 0.13.2 (Aug 31, 2016)
500
+
501
+ ---
412
502
 
413
503
  #### Fixes:
414
504
 
@@ -418,17 +508,20 @@ Thanks to @daynin and @n1ghtmare for taking an active role in maintaining RGL, a
418
508
  - I'm aware this could be a breaking change if you were relying on this bad behavior. If so, please
419
509
  use your own `WidthProvider`-style HOC.
420
510
  - `babel-plugin-transform-flow-comments` had limited support for defining types like transpiled classes.
511
+
421
512
  - This has been updated to instead copy source to `.js.flow` files, which preserves all type information.
422
513
 
423
- 0.13.1 (Aug 16, 2016)
424
- -----
514
+ 0.13.1 (Aug 16, 2016)
515
+
516
+ ---
425
517
 
426
518
  #### Fixes:
427
519
 
428
520
  - Fix remaining `propTypes` warnings.
429
521
 
430
- 0.13.0 (Aug 3, 2016)
431
- -----
522
+ 0.13.0 (Aug 3, 2016)
523
+
524
+ ---
432
525
 
433
526
  #### Changed:
434
527
 
@@ -440,46 +533,55 @@ Thanks to @daynin and @n1ghtmare for taking an active role in maintaining RGL, a
440
533
 
441
534
  - Fix React 15.3 warning re: propTypes.
442
535
 
443
- 0.12.7 (Jun 29, 2016)
444
- -----
536
+ 0.12.7 (Jun 29, 2016)
537
+
538
+ ---
445
539
 
446
540
  - Prevent extraenous rerenders in `<ResponsiveReactGridLayout>` by using deep equality on layouts.
447
541
 
448
- 0.12.6 (Jun 5, 2016)
449
- -----
542
+ 0.12.6 (Jun 5, 2016)
543
+
544
+ ---
450
545
 
451
546
  - Fix blindingly obvious bug where mounted isn't set to true. Smack forehead.
452
547
 
453
- 0.12.5 (Jun 3, 2016)
454
- -----
548
+ 0.12.5 (Jun 3, 2016)
549
+
550
+ ---
455
551
 
456
552
  - Fixes for server rendering checksum failures.
457
553
 
458
- 0.12.4 (May 22, 2016)
459
- -----
554
+ 0.12.4 (May 22, 2016)
555
+
556
+ ---
460
557
 
461
558
  - Update to React-Draggable v2. Fixes: #241, #239, #24
559
+
462
560
  - v2 contains a number of bugfixes & enhancements for touchscreens, multitouch, and scrolling containers.
463
561
 
464
- 0.12.3 (May 3, 2016)
465
- -----
562
+ 0.12.3 (May 3, 2016)
563
+
564
+ ---
466
565
 
467
566
  - Bugfix: Rendering with new `breakpoints`/`cols` does not refresh the layout.
468
567
  Fixes #208 - thanks @damienleroux
469
568
 
470
- 0.12.2 (May 1, 2016)
471
- ------
569
+ 0.12.2 (May 1, 2016)
570
+
571
+ ---
472
572
 
473
573
  - Bugfix: Fix warning about undefined `useCSSTransforms` when server-rendering.
474
574
 
475
- 0.12.1 (Apr 19, 2016)
476
- ------
575
+ 0.12.1 (Apr 19, 2016)
576
+
577
+ ---
477
578
 
478
579
  - Bugfix: Don't set `layout` twice on width change. See #217 - thanks @damienleroux
479
580
  - Enhancement: Add Flow type comments
480
581
 
481
- 0.12.0 (Apr 14, 2016)
482
- ------
582
+ 0.12.0 (Apr 14, 2016)
583
+
584
+ ---
483
585
 
484
586
  - `<ReactGridLayout>` will no longer animate so severely on mount. See #212.
485
587
  - If you are using `<WidthProvider>`, you may notice that the container's width still shunts on mount.
@@ -490,31 +592,35 @@ Thanks to @daynin and @n1ghtmare for taking an active role in maintaining RGL, a
490
592
  - Set more permissive version ranges for `<Draggable>` and `<Resizable>` dependencies, as they are now stable
491
593
  and will only introduce breaking changes on major version ticks.
492
594
 
493
- 0.11.3 (Apr 8, 2016)
494
- ------
595
+ 0.11.3 (Apr 8, 2016)
596
+
597
+ ---
495
598
 
496
599
  - Officially support React v15.
497
600
 
498
- 0.11.2 (Apr 6, 2016)
499
- ------
601
+ 0.11.2 (Apr 6, 2016)
602
+
603
+ ---
500
604
 
501
605
  - Bugfix: Draggable cancel selectors, see #203 - thanks @RiiD
502
606
  - README fixes, thanks @bravo-kernel & @ro-savage
503
607
 
504
- 0.11.1
505
- ------
608
+ 0.11.1
609
+
610
+ ---
506
611
 
507
612
  - Bugfix: `<ResponsiveReactGridLayout>` was using stale data when synchronizing children with the layout
508
613
  on a breakpoint change.
509
614
 
510
- 0.11.0
511
- ------
615
+ 0.11.0
616
+
617
+ ---
512
618
 
513
619
  This release contains potentially breaking changes so I have updated the minor version (as per semver).
514
620
 
515
621
  **Breaking Changes**:
516
622
 
517
- - Layout items now have a fixed set of properties. Other properties will *not* be merged into the `<GridItem>`, such
623
+ - Layout items now have a fixed set of properties. Other properties will _not_ be merged into the `<GridItem>`, such
518
624
  as `className`. To set a `className` on a child, set it on the child directly and it will be merged.
519
625
  This allows us to make better assumptions about the layout and use a faster cloning mechanism.
520
626
  - Setting individual `handle` and `cancel` selectors per item is no longer supported. If you need this, please
@@ -526,61 +632,71 @@ Other changes:
526
632
  - Bugfix: Range error when building layout solely from `_grid` properties.
527
633
  - This broke a lot of usage and thus `0.10.11` and `0.10.10` have been unpublished.
528
634
  - Removed redundant `isPlaceholder` property from `<GridItem>`.
529
- - README updates to clarify layout/_grid usage.
635
+ - README updates to clarify layout/\_grid usage.
636
+
637
+ 0.10.11
530
638
 
531
- 0.10.11
532
- -------
639
+ ---
533
640
 
534
641
  - Bugfix: `layouts` param on `<ResponsiveReactGridLayout>`'s `onLayoutChange` could have stale data
535
642
  for the current breakpoint.
536
643
 
537
- 0.10.10
538
- -------
644
+ 0.10.10
645
+
646
+ ---
539
647
 
540
648
  - Performance: Prevent V8 deopt in a few methods and add fast layout item cloning.
541
649
 
542
- 0.10.9
543
- ------
650
+ 0.10.9
651
+
652
+ ---
544
653
 
545
654
  - Bugfix: Typo in children comparison in CWRP. See #169.
546
655
  - Bugfix: Missing babel-preset-es2015 in dev.
547
656
 
548
- 0.10.8
549
- ------
657
+ 0.10.8
658
+
659
+ ---
550
660
 
551
661
  - Rebuild using [ES2015 Loose Mode](https://babeljs.algolia.com/docs/advanced/loose/).
552
662
 
553
- 0.10.7
554
- ------
663
+ 0.10.7
664
+
665
+ ---
555
666
 
556
667
  - Bugfix: `className` and `style` props on grid children were being incorrectly dropped, a holdover
557
668
  from when `cloneWithProps()` used to do this merging for us. They are now merged.
558
669
 
559
- 0.10.6
560
- ------
670
+ 0.10.6
671
+
672
+ ---
561
673
 
562
674
  - Bugfix: If both `props.layout` and `props.children.length` change in the same tick,
563
675
  props.layout would be clobbered. See #162
564
676
 
565
- 0.10.5
566
- ------
677
+ 0.10.5
678
+
679
+ ---
567
680
 
568
681
  - Bugfix/Enhancement: Margins were causing subtle error in some of the positioning calculations. This has
569
682
  been fixed.
570
683
 
571
- 0.10.4
572
- ------
684
+ 0.10.4
685
+
686
+ ---
573
687
 
574
688
  - Bugfix: Container height was calculated as less than expected due to improper addition of margin.
575
689
 
576
- 0.10.3
577
- ------
690
+ 0.10.3
691
+
692
+ ---
578
693
 
579
694
  - Bugfix: Round item positions even if they're currently resizing or dragging (#158, regression of #141)
580
695
  - Bugfix: Fix a positioning bug when margins are 0 (#160)
581
696
 
582
- 0.10.2
583
- ------
697
+ 0.10.2
698
+
699
+ ---
584
700
 
585
701
  - Bugfix: <RGL> would synchronize children with layout if the layout in props didn't match the state;
586
702
  this was meant to be a hook for the developer to supply a new layout. The incorrect check could cause the
@@ -592,13 +708,15 @@ Other changes:
592
708
  - Remove unused `offsetX` and `offsetY` from layouts.
593
709
  - Dependency updates.
594
710
 
595
- 0.10.1
596
- ------
711
+ 0.10.1
712
+
713
+ ---
597
714
 
598
715
  - Hotfix for default export incompatibility caused by Babel 6.
599
716
 
600
- 0.10.0
601
- ------
717
+ 0.10.0
718
+
719
+ ---
602
720
 
603
721
  This long-awaited release provides React 0.14 compatibility and a rewrite of the underlying
604
722
  `<Draggable>` functionality.
@@ -612,21 +730,24 @@ This long-awaited release provides React 0.14 compatibility and a rewrite of the
612
730
 
613
731
  Other changes:
614
732
 
615
- - *Finally* compatible with React 0.14! Big thanks to @menelike for his help.
733
+ - _Finally_ compatible with React 0.14! Big thanks to @menelike for his help.
616
734
  - Upgraded to Babel 6.
617
735
  - Full typechecking via Flow.
618
736
  - Lots of misc bugfixes.
737
+
619
738
  - See beta releases below for more details.
620
739
 
621
- 0.10.0-beta1
622
- ------------
740
+ 0.10.0-beta1
741
+
742
+ ---
623
743
 
624
744
  - Fixed a React import bug on ListensToWidth.jsx (#130; thanks @mrblueblue)
625
745
 
626
- 0.10.0-beta0
627
- ------------
746
+ 0.10.0-beta0
628
747
 
629
- *This release is unstable!*
748
+ ---
749
+
750
+ _This release is unstable!_
630
751
 
631
752
  - React 0.14 compatibility.
632
753
  - This release includes a rewrite of much of the project in ES6/7 style with Flow typing.
@@ -635,64 +756,72 @@ Other changes:
635
756
  - 0.10.0 is not yet complete. Use this release at your own risk.
636
757
 
637
758
  Known bugs:
638
- - The placeholder box does not properly follow the mouse and stays pinned to the active drag.
639
759
 
640
- 0.9.2
641
- -----
760
+ - The placeholder box does not properly follow the mouse and stays pinned to the active drag.
761
+
762
+ ## 0.9.2
642
763
 
643
764
  - Update `react-draggable` to `v0.8.0` to fix IE11 issues (#29).
644
765
 
645
- 0.9.1
646
- -----
766
+ 0.9.1
767
+
768
+ ---
647
769
 
648
770
  - Update `react-draggable` to `v0.7.3` to fix a bounds bug (#56).
649
771
 
650
- 0.9.0
651
- -----
772
+ 0.9.0
773
+
774
+ ---
652
775
 
653
776
  - Move off `react-draggable` fork to mainline `v0.7.2`. Incremented minor (major in the case of
654
777
  npm's `^`, since we are pre-v1) version in case of unforeseen conflicts.
655
778
 
656
- 0.8.3
657
- -----
779
+ 0.8.3
780
+
781
+ ---
658
782
 
659
783
  - Add `verticalCompact` toggle.
660
784
 
661
- 0.8.2
662
- -----
785
+ 0.8.2
786
+
787
+ ---
663
788
 
664
789
  - Fix a crash when initializing with no children.
665
790
 
666
- 0.8.1
667
- -----
791
+ 0.8.1
792
+
793
+ ---
668
794
 
669
795
  - Fixed React 0.13 warning about `isMounted()`.
670
796
  - Update to babel 5.
671
797
  - Added browser build for use with a `<script>` tag or in RequireJS builds.
672
798
  - Pinned react-draggable version in anticipation of React 0.13 update.
673
799
 
674
- 0.8.0
675
- -----
800
+ 0.8.0
801
+
802
+ ---
676
803
 
677
804
  - Changed signature on resize/drag callbacks to allow dynamic max/min W/H per item.
678
805
  - Fixed bug in `useCSSTransforms`.
679
806
  - Documentation and example fixes.
680
807
 
681
- 0.7.1
682
- -----
808
+ 0.7.1
809
+
810
+ ---
683
811
 
684
812
  - Added callbacks for resize and drag start/active/stop.
685
813
 
686
- 0.7.0
687
- -----
814
+ 0.7.0
815
+
816
+ ---
688
817
 
689
818
  **Breaking changes:**
690
819
 
691
820
  - `ReactGridLayout.props.handle` renamed to `ReactGridLayout.props.draggableHandle`.
692
821
 
693
822
  > This version contains a CSS update. This fixes a visual bug where you may see items quickly reset position
694
- and animate back to their original position on load, when you are using CSS transforms. To fix this bug,
695
- copy the rules from css/styles.css into your stylesheet.
823
+ > and animate back to their original position on load, when you are using CSS transforms. To fix this bug,
824
+ > copy the rules from css/styles.css into your stylesheet.
696
825
 
697
826
  Other changes:
698
827
 
@@ -700,9 +829,9 @@ Other changes:
700
829
  - Fixed some placement inconsistencies while RGL is mounting, with css transforms and percentages.
701
830
  - Fixed a duplicate className bug.
702
831
 
832
+ 0.6.2
703
833
 
704
- 0.6.2
705
- -----
834
+ ---
706
835
 
707
836
  - Fix #21 (error when passing only a single child).
708
837
  - Add GridItem.props.cancel.
@@ -710,37 +839,44 @@ Other changes:
710
839
  - Allow setting draggable/resizable per grid item, as well as existing `static` property.
711
840
  - Use object.assign to set `_grid` properties so we can more easily merge PRs in the future.
712
841
 
713
- 0.6.1
714
- -----
842
+ 0.6.1
843
+
844
+ ---
845
+
846
+ - Fixed #8 (current layout was not properly being stored when provided via \_grid props).
715
847
 
716
- - Fixed #8 (current layout was not properly being stored when provided via _grid props).
848
+ 0.6.0
717
849
 
718
- 0.6.0
719
- -----
850
+ ---
720
851
 
721
852
  - Optionally use CSS transforms for placement, fallback on position top/left.
722
853
  - Allow parent to set responsive breakpoint directly.
723
854
 
724
- 0.5.2
725
- -----
855
+ 0.5.2
856
+
857
+ ---
726
858
 
727
859
  - Fix Responsive import for node users
728
860
 
729
- 0.5.1
730
- -----
861
+ 0.5.1
862
+
863
+ ---
731
864
 
732
865
  - Add support for min/max dimension attributes.
733
866
  - Example tweak
734
867
 
735
- 0.5.0
736
- -----
868
+ 0.5.0
869
+
870
+ ---
871
+
737
872
  - Refactoring and demo tweaks. Update README with new params.
738
873
  - Add showcase example, tweak template
739
874
  - Refactor: Responsive Grid Layout is a separate element
740
875
  - Auto-generate examples from template rather than edit them individually.
741
876
 
742
- 0.4.0
743
- -----
877
+ 0.4.0
878
+
879
+ ---
744
880
 
745
881
  - Force lodash into commons chunk
746
882
  - More tweaks to grid collisions. This should fix bad swaps once and for all.
@@ -750,7 +886,6 @@ Other changes:
750
886
  - Rework responsive layouts, identify child elements by key rather than index. Added 2 new examples.
751
887
  - Fixup GridItem resizing feel a bit.
752
888
 
753
- < 0.4.0
754
- -------
889
+ ## < 0.4.0
755
890
 
756
891
  - Early development versions, too many changes to list.