Skip to content

Commit e4406f0

Browse files
mixonictwokul
andauthored
Vertical Collection 4 (#372)
Co-authored-by: Alex Navasardyan <[email protected]>
1 parent fc6c710 commit e4406f0

File tree

44 files changed

+741
-1156
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+741
-1156
lines changed

.github/workflows/ci.yml

-5
Original file line numberDiff line numberDiff line change
@@ -50,16 +50,11 @@ jobs:
5050
matrix:
5151
ember-version:
5252
[
53-
ember-lts-2.18,
54-
ember-lts-3.4,
55-
ember-lts-3.8,
5653
ember-lts-3.12,
5754
ember-lts-3.16,
5855
ember-lts-3.20,
59-
ember-lts-3.24,
6056
ember-lts-3.28,
6157
ember-lts-4.4,
62-
ember-4.5,
6358
ember-release,
6459
ember-beta,
6560
ember-canary,

CHANGELOG.md

+27
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,33 @@ Changelog
22
=========
33

44

5+
## v4.0.0 (2022-09-12)
6+
7+
* Drops support for Ember < 3.12-LTS.
8+
* Drops support for Ember CLI 2.x. https://github.com/html-next/vertical-collection/pull/379
9+
* No change in Node support.
10+
* Drop the positional param for `items` on the vertical collection component.
11+
* Drop ember-compatibility-helpers https://github.com/html-next/vertical-collection/pull/375
12+
* Refactor a bunch of debug code to DEBUG https://github.com/html-next/vertical-collection/pull/388
13+
* Adopt angle bracket invocation
14+
* Adopt native getters
15+
16+
17+
## v4.0.0-beta.2 (2022-09-08)
18+
19+
20+
## v4.0.0-beta.1 (2022-09-07)
21+
22+
23+
## v4.0.0-beta.0 (2022-08-28)
24+
25+
* Drop support for Ember versions prior to 3.12
26+
* Drop support for Ember CLI 2.x
27+
* Adopt native getters
28+
* Adopt angle bracket invocation
29+
* Drop positional param argument for `item`
30+
31+
532
## v3.1.0 (2022-08-04)
633

734
#### :rocket: Enhancement

README.md

+16-15
Original file line numberDiff line numberDiff line change
@@ -30,24 +30,24 @@ ember install @html-next/vertical-collection
3030
## Usage
3131

3232
```htmlbars
33-
{{#vertical-collection
34-
items
35-
tagName='ul'
36-
estimateHeight=50
37-
staticHeight=false
38-
bufferSize=1
39-
renderAll=false
40-
renderFromLast=false
41-
idForFirstItem=idForFirstItem
42-
firstReached=(action firstReached)
43-
lastReached=(action lastReached)
44-
firstVisibleChanged=(action firstVisibleChanged)
45-
lastVisibleChanged=(action lastVisibleChanged)
46-
as |item i|}}
33+
<VerticalCollection
34+
@items={{items}}
35+
@tagName="ul"
36+
@estimateHeight={{50}}
37+
@staticHeight={{false}}
38+
@bufferSize={{1}}
39+
@renderAll={{false}}
40+
@renderFromLast={{false}}
41+
@idForFirstItem={{idForFirstItem}}
42+
@firstReached={{firstReachedCallback}}
43+
@lastReached={{lastReachedCallback}}
44+
@firstVisibleChanged={{firstVisibleChangedCallback}}
45+
@lastVisibleChanged={{lastVisibleChangedCallback}}
46+
as |item i|>
4747
<li>
4848
{{item.number}} {{i}}
4949
</li>
50-
{{/vertical-collection}}
50+
</VerticalCollection>
5151
```
5252

5353
### Actions
@@ -67,6 +67,7 @@ ember install @html-next/vertical-collection
6767
| `^v1.x.x` | `v1.12.0 - v3.8.x` | `?` |
6868
| `^v2.x.x` | `v2.8.0 - v3.26.x` | `v12 - ?` |
6969
| `^v3.x.x` | `v2.18.0+` | `v14+` |
70+
| `^v4.x.x` | `v3.12.0+` | `v14+` |
7071

7172
## Support, Questions, Collaboration
7273

RELEASE.md

+14
Original file line numberDiff line numberDiff line change
@@ -58,3 +58,17 @@ release process. It will prompt you to to choose the version number after which
5858
you will have the chance to hand tweak the changelog to be used (for the
5959
`CHANGELOG.md` and GitHub release), then `release-it` continues on to tagging,
6060
pushing the tag and commits, etc.
61+
62+
To start a prerelease branch for a new major use:
63+
64+
```sh
65+
npx release-it major --preRelease=beta
66+
```
67+
68+
On subsequent prerelease run:
69+
70+
```sh
71+
npx release-it --preRelease
72+
```
73+
74+
For more guidance see https://github.com/release-it/release-it/blob/master/docs/pre-releases.md

addon/-debug/edge-visualization/debug-mixin.js

-93
This file was deleted.

addon/-debug/edge-visualization/visualization.js

-134
This file was deleted.

addon/-debug/index.js

-4
This file was deleted.

addon/-debug/utils/validate-css.js

-12
This file was deleted.

addon/-debug/utils/validate-rect.js

-13
This file was deleted.

0 commit comments

Comments
 (0)