Skip to content

Commit

Permalink
chore: Release 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
malangfox committed Jun 2, 2022
1 parent 4dedd8a commit 7ab44c8
Show file tree
Hide file tree
Showing 78 changed files with 20,452 additions and 61 deletions.
44 changes: 44 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.2.0](https://github.com/naver/egjs-conveyer/compare/1.1.0...1.2.0) (2022-06-02)
### :sparkles: Packages
* `@egjs/conveyer` 1.2.0
* `@egjs/react-conveyer` 1.2.0
* `@egjs/svelte-conveyer` 1.2.0
* `@egjs/vue-conveyer` 1.2.0
* `@egjs/vue2-conveyer` 1.2.0
* `@egjs/ngx-conveyer` 1.2.0


### :rocket: New Features

* `@egjs/conveyer`
* add nested option (#11) ([f4bd222](https://github.com/naver/egjs-conveyer/commit/f4bd2221d0d3dd1432ce9e9e2ed0874ce0783061))


### :bug: Bug Fix

* `@egjs/conveyer`
* set isReachEnd (#13) ([5ad7ee0](https://github.com/naver/egjs-conveyer/commit/5ad7ee07e32c9ca1f4765ebc2d62a2b2e5a19c94))


### :memo: Documentation

* fix trailingSlash (#9) ([a56cd37](https://github.com/naver/egjs-conveyer/commit/a56cd3748eb3a2857ab3d6178d852c500bb61173))


### :house: Code Refactoring

* `@egjs/conveyer`
* apply lerna (#10) ([ec71888](https://github.com/naver/egjs-conveyer/commit/ec7188889b9de84a8333b7365920ef6d9f6d635a))


### :mega: Other

* All
* update packages versions ([4dedd8a](https://github.com/naver/egjs-conveyer/commit/4dedd8afdc77d40220e209c1516a0f6cbe0a2e3a))
* Other
* **release:** Release 1.1.0 ([cf4be00](https://github.com/naver/egjs-conveyer/commit/cf4be00e5a46c58d78b29d9b3f20644f5a1ec42d))
26 changes: 26 additions & 0 deletions packages/conveyer/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## 1.2.0 (2022-06-02)


### :rocket: New Features

* add nested option (#11) ([f4bd222](https://github.com/naver/egjs-conveyer/commit/f4bd2221d0d3dd1432ce9e9e2ed0874ce0783061))


### :bug: Bug Fix

* set isReachEnd (#13) ([5ad7ee0](https://github.com/naver/egjs-conveyer/commit/5ad7ee07e32c9ca1f4765ebc2d62a2b2e5a19c94))


### :house: Code Refactoring

* apply lerna (#10) ([ec71888](https://github.com/naver/egjs-conveyer/commit/ec7188889b9de84a8333b7365920ef6d9f6d635a))


### :mega: Other

* update packages versions ([4dedd8a](https://github.com/naver/egjs-conveyer/commit/4dedd8afdc77d40220e209c1516a0f6cbe0a2e3a))
5 changes: 5 additions & 0 deletions packages/docs/docs/api/Component.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ custom_edit_url: null
```ts
class Component
```

<div>

</div>

<p>A class used to manage events in a component</p>

<div className="container">
Expand Down
25 changes: 24 additions & 1 deletion packages/docs/docs/api/Conveyer.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,45 @@ custom_edit_url: null
```ts
class Conveyer extends Component
```
<div>
</div>
<p>Conveyer adds Drag gestures to your Native Scroll.</p>
<div className="container">
<div className="row mb-2"><div className="col col--4"><strong>Properties</strong></div><div className="col col--4"><strong>Methods</strong></div><div className="col col--4"><strong>Events</strong></div></div>
<div className="row"><div className="col col--4"><a href="#isReachStart">isReachStart</a><br/><a href="#isReachEnd">isReachEnd</a><br/><a href="#scrollPos">scrollPos</a></div><div className="col col--4"><a href="#findElement">findElement</a><br/><a href="#findItem">findItem</a><br/><a href="#scrollIntoView">scrollIntoView</a><br/><a href="#scrollBy">scrollBy</a><br/><a href="#scrollTo">scrollTo</a><br/><a href="#setItems">setItems</a><br/><a href="#updateItems">updateItems</a><br/><a href="#updateContainer">updateContainer</a><br/><a href="#update">update</a><br/><a href="#init">init</a><br/><a href="#destroy">destroy</a><br/><a href="#trigger">trigger</a><br/><a href="#once">once</a><br/><a href="#hasOn">hasOn</a><br/><a href="#on">on</a><br/><a href="#off">off</a></div><div className="col col--4"><a href="#event-reachStart">reachStart</a><br/><a href="#event-leaveStart">leaveStart</a><br/><a href="#event-reachEnd">reachEnd</a><br/><a href="#event-leaveEnd">leaveEnd</a><br/><a href="#event-beginScroll">beginScroll</a><br/><a href="#event-finishScroll">finishScroll</a></div></div>
</div>
## Constructor
## constructor
```ts
new Conveyer(scrollArea, options)
```
<div>
</div>
|PARAMETER|TYPE|OPTIONAL|DEFAULT|DESCRIPTION|
|:---:|:---:|:---:|:---:|:---:|
|scrollArea|string \| HTMLElement \| Ref&lt;HTMLElement&gt;|||<p>A base element for a module </p>|
|options|[ConveyerOptions](ConveyerOptions)|✔️|{}|<p>The option object of the InfiniteGrid module </p>|
```html
<div class="items">
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
<script>
import Conveyer from "@egjs/conveyer";

const conveyer = new Conveyer(".items");
</script>
```
## Properties
### isReachStart {#isReachStart}
Expand Down
1 change: 1 addition & 0 deletions packages/docs/docs/api/ConveyerOptions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ custom_edit_url: null
|preventDefault|boolean|<p>Whether to prevent being selected. (default: true) </p>|
|preventClickOnDrag|boolean|<p>Whether to prevent click event when dragging. (default: false) </p>|
|autoInit|boolean|<p>Whether to automatically initialize when an instance is created. If set to false, initialization is possible while calling the init method. (default: true) </p>|
|nested|boolean|<p>If this option is enabled on a Conveyer placed inside an egjs component that has the same scroll direction including the Conveyer itself. The parent component moves in the same direction after the Conveyer reaches the first/last scroll position. </p>|

Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@ custom_edit_url: null
```ts
class Component
```

<div>

</div>

컴포넌트의 이벤트을 관리할 수 있게 하는 클래스

<div className="container">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,45 @@ custom_edit_url: null
```ts
class Conveyer extends Component
```
<div>
</div>
Conveyer는 네이티브 스크롤에 드래그 제스처를 추가합니다.
<div className="container">
<div className="row mb-2"><div className="col col--4"><strong>Properties</strong></div><div className="col col--4"><strong>Methods</strong></div><div className="col col--4"><strong>Events</strong></div></div>
<div className="row"><div className="col col--4"><a href="#isReachStart">isReachStart</a><br/><a href="#isReachEnd">isReachEnd</a><br/><a href="#scrollPos">scrollPos</a></div><div className="col col--4"><a href="#findElement">findElement</a><br/><a href="#findItem">findItem</a><br/><a href="#scrollIntoView">scrollIntoView</a><br/><a href="#scrollBy">scrollBy</a><br/><a href="#scrollTo">scrollTo</a><br/><a href="#setItems">setItems</a><br/><a href="#updateItems">updateItems</a><br/><a href="#updateContainer">updateContainer</a><br/><a href="#update">update</a><br/><a href="#init">init</a><br/><a href="#destroy">destroy</a><br/><a href="#trigger">trigger</a><br/><a href="#once">once</a><br/><a href="#hasOn">hasOn</a><br/><a href="#on">on</a><br/><a href="#off">off</a></div><div className="col col--4"><a href="#event-reachStart">reachStart</a><br/><a href="#event-leaveStart">leaveStart</a><br/><a href="#event-reachEnd">reachEnd</a><br/><a href="#event-leaveEnd">leaveEnd</a><br/><a href="#event-beginScroll">beginScroll</a><br/><a href="#event-finishScroll">finishScroll</a></div></div>
</div>
## Constructor
## constructor
```ts
new Conveyer(scrollArea, options)
```
<div>
</div>
|PARAMETER|TYPE|OPTIONAL|DEFAULT|DESCRIPTION|
|:---:|:---:|:---:|:---:|:---:|
|scrollArea|string \| HTMLElement \| Ref&lt;HTMLElement&gt;|||모듈을 적용할 기준 엘리먼트|
|options|[ConveyerOptions](ConveyerOptions)|✔️|{}|eg.InfiniteGrid 모듈의 옵션 객체|
```html
<div class="items">
<div class="item"></div>
<div class="item"></div>
<div class="item"></div>
</div>
<script>
import Conveyer from "@egjs/conveyer";

const conveyer = new Conveyer(".items");
</script>
```
## Properties
### isReachStart {#isReachStart}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,5 @@ custom_edit_url: null
|preventDefault|boolean|셀렉트가 되는 것을 막을지 여부. (default: true) |
|preventClickOnDrag|boolean|드래그하면 클릭이벤트를 막을지 여부. (default: true)|
|autoInit|boolean|인스턴스를 생성할 때 자동으로 초기화할지 여부. false로 설정하면 init 메서드를 호출하면서 초기화가 가능하다. (default: true)|
|nested|boolean|Conveyer 자신을 포함해서 동일한 스크롤 방향을 가진 egjs 컴포넌트 내부에 배치된 Conveyer에서 이 옵션을 활성화하면 Conveyer가 첫/마지막 스크롤 위치에 도달한 뒤부터 같은 방향으로 상위 컴포넌트가 움직인다.|

Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
custom_edit_url: null
---

```ts
const CONVEYER_METHODS
```

<div>

</div>

<p>egjs-conveyer<br />Copyright (c) 2022-present NAVER Corp.<br />MIT license</p>

Loading

0 comments on commit 7ab44c8

Please sign in to comment.