Skip to content

Commit

Permalink
release: v1.0.0-beta.3
Browse files Browse the repository at this point in the history
  • Loading branch information
pikax committed Jul 27, 2020
1 parent a29ea55 commit b418d96
Show file tree
Hide file tree
Showing 5 changed files with 58 additions and 13 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# [1.0.0-beta.3](https://github.com/pikax/vue-composable/compare/v1.0.0-beta.2...v1.0.0-beta.3) (2020-07-27)

### Features

- **useInterval:** add `useInterval` composable ([#343](https://github.com/pikax/vue-composable/issues/343)) ([499908e](https://github.com/pikax/vue-composable/commit/499908eb053c78c1eabfc9856a977f43ae312c83))
- **useOnOutsidePress:** add `useOnOutsidePress` composable ([#383](https://github.com/pikax/vue-composable/issues/383)) ([b8fa41f](https://github.com/pikax/vue-composable/commit/b8fa41f2ffaecd6133562aab77285d559830e032))
- **useScrollLock:** add useScrollLock composable ([#330](https://github.com/pikax/vue-composable/issues/330)) ([0da2f44](https://github.com/pikax/vue-composable/commit/0da2f44adaaecedcc6336d08264d4984b5d23333))
- **useTimeline:** add `useTimeline` composable ([#342](https://github.com/pikax/vue-composable/issues/342)) ([618842b](https://github.com/pikax/vue-composable/commit/618842be6aeb3d195dd57b31e1586f550655104b))
- **useValueSync:** add `useValueSync` composable ([#348](https://github.com/pikax/vue-composable/issues/348)) ([04f4bbf](https://github.com/pikax/vue-composable/commit/04f4bbf5ea211419ed729a9cd506ed5ea553956d))

# [1.0.0-beta.2](https://github.com/pikax/vue-composable/compare/v1.0.0-beta.1...v1.0.0-beta.2) (2020-07-24)

### Features
Expand Down
42 changes: 42 additions & 0 deletions docs/api/vue-composable.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1418,6 +1418,48 @@ export function useIntersectionObserver(
options: RefTyped<IntersectionObserverOptions>
): IntersectionObserverResult;

// @public (undocumented)
export function useInterval<TArgs extends Array<any>>(
callback: (...args: TArgs) => void,
ms?: false,
...args: TArgs
): UseIntervalReturn<TArgs>;

// @public (undocumented)
export function useInterval<TArgs extends Array<any>>(
callback: (...args: TArgs) => void,
ms?: false
): UseIntervalReturn<TArgs>;

// @public (undocumented)
export function useInterval<TArgs extends Array<any>>(
callback: (...args: TArgs) => void,
ms: number,
...args: TArgs
): UseIntervalReturn<TArgs> &
UseIntervalReturnMs &
UseIntervalReturnArgs<TArgs>;

// @public (undocumented)
export interface UseIntervalReturn<TArgs extends Array<any> = []> {
// (undocumented)
remove(): void;
// (undocumented)
start(ms: number, ...args: TArgs): number;
}

// @public (undocumented)
export interface UseIntervalReturnArgs<TArgs extends Array<any>> {
// (undocumented)
start(_: undefined, ...args: TArgs): number;
}

// @public (undocumented)
export interface UseIntervalReturnMs {
// (undocumented)
start(): number;
}

// @public (undocumented)
export function useIntlDateTimeFormat(): DateTimeFormatReturn;

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"name": "vue-composable-monorepo",
"workspaces": [
"packages/*"
Expand Down
10 changes: 3 additions & 7 deletions packages/axios/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vue-composable/axios",
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"description": "@vue-composable/axios",
"main": "index.js",
"module": "dist/axios.esm-bundler.js",
Expand Down Expand Up @@ -44,7 +44,7 @@
"vue-composable-axios-fix": "./scripts/postinstall.js"
},
"dependencies": {
"vue-composable": "^1.0.0-beta.2"
"vue-composable": "^1.0.0-beta.3"
},
"peerDependencies2": {
"@vue/composition-api": "^1.0.0-beta.2",
Expand All @@ -59,9 +59,5 @@
"@types/node": "^14.0.26",
"@vue/runtime-core": "^3.0.0-rc.4",
"typescript": "^3.9.7"
},
"peerDependencies": {
"@vue/runtime-core": "^3.0.0-rc.2",
"axios": "^0.19.2"
}
}
}
7 changes: 2 additions & 5 deletions packages/vue-composable/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue-composable",
"version": "1.0.0-beta.2",
"version": "1.0.0-beta.3",
"description": "vue-composable",
"main": "index.js",
"module": "dist/vue-composable.esm-bundler.js",
Expand Down Expand Up @@ -49,8 +49,5 @@
"peerDependencies2": {
"@vue/composition-api": "^1.0.0-beta.2",
"vue": "^2.6.10"
},
"peerDependencies": {
"@vue/runtime-core": "^3.0.0-rc.2"
}
}
}

0 comments on commit b418d96

Please sign in to comment.