Skip to content

Commit

Permalink
Vertical Collection 4 (#372)
Browse files Browse the repository at this point in the history
Co-authored-by: Alex Navasardyan <[email protected]>
  • Loading branch information
mixonic and twokul authored Sep 12, 2022
1 parent fc6c710 commit e4406f0
Show file tree
Hide file tree
Showing 44 changed files with 741 additions and 1,156 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,16 +50,11 @@ jobs:
matrix:
ember-version:
[
ember-lts-2.18,
ember-lts-3.4,
ember-lts-3.8,
ember-lts-3.12,
ember-lts-3.16,
ember-lts-3.20,
ember-lts-3.24,
ember-lts-3.28,
ember-lts-4.4,
ember-4.5,
ember-release,
ember-beta,
ember-canary,
Expand Down
27 changes: 27 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,33 @@ Changelog
=========


## v4.0.0 (2022-09-12)

* Drops support for Ember < 3.12-LTS.
* Drops support for Ember CLI 2.x. https://github.com/html-next/vertical-collection/pull/379
* No change in Node support.
* Drop the positional param for `items` on the vertical collection component.
* Drop ember-compatibility-helpers https://github.com/html-next/vertical-collection/pull/375
* Refactor a bunch of debug code to DEBUG https://github.com/html-next/vertical-collection/pull/388
* Adopt angle bracket invocation
* Adopt native getters


## v4.0.0-beta.2 (2022-09-08)


## v4.0.0-beta.1 (2022-09-07)


## v4.0.0-beta.0 (2022-08-28)

* Drop support for Ember versions prior to 3.12
* Drop support for Ember CLI 2.x
* Adopt native getters
* Adopt angle bracket invocation
* Drop positional param argument for `item`


## v3.1.0 (2022-08-04)

#### :rocket: Enhancement
Expand Down
31 changes: 16 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,24 +30,24 @@ ember install @html-next/vertical-collection
## Usage

```htmlbars
{{#vertical-collection
items
tagName='ul'
estimateHeight=50
staticHeight=false
bufferSize=1
renderAll=false
renderFromLast=false
idForFirstItem=idForFirstItem
firstReached=(action firstReached)
lastReached=(action lastReached)
firstVisibleChanged=(action firstVisibleChanged)
lastVisibleChanged=(action lastVisibleChanged)
as |item i|}}
<VerticalCollection
@items={{items}}
@tagName="ul"
@estimateHeight={{50}}
@staticHeight={{false}}
@bufferSize={{1}}
@renderAll={{false}}
@renderFromLast={{false}}
@idForFirstItem={{idForFirstItem}}
@firstReached={{firstReachedCallback}}
@lastReached={{lastReachedCallback}}
@firstVisibleChanged={{firstVisibleChangedCallback}}
@lastVisibleChanged={{lastVisibleChangedCallback}}
as |item i|>
<li>
{{item.number}} {{i}}
</li>
{{/vertical-collection}}
</VerticalCollection>
```

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

## Support, Questions, Collaboration

Expand Down
14 changes: 14 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,3 +58,17 @@ release process. It will prompt you to to choose the version number after which
you will have the chance to hand tweak the changelog to be used (for the
`CHANGELOG.md` and GitHub release), then `release-it` continues on to tagging,
pushing the tag and commits, etc.

To start a prerelease branch for a new major use:

```sh
npx release-it major --preRelease=beta
```

On subsequent prerelease run:

```sh
npx release-it --preRelease
```

For more guidance see https://github.com/release-it/release-it/blob/master/docs/pre-releases.md
93 changes: 0 additions & 93 deletions addon/-debug/edge-visualization/debug-mixin.js

This file was deleted.

134 changes: 0 additions & 134 deletions addon/-debug/edge-visualization/visualization.js

This file was deleted.

4 changes: 0 additions & 4 deletions addon/-debug/index.js

This file was deleted.

12 changes: 0 additions & 12 deletions addon/-debug/utils/validate-css.js

This file was deleted.

13 changes: 0 additions & 13 deletions addon/-debug/utils/validate-rect.js

This file was deleted.

Loading

0 comments on commit e4406f0

Please sign in to comment.