diff --git a/.changeset/five-rocks-bow.md b/.changeset/five-rocks-bow.md deleted file mode 100644 index 577a558..0000000 --- a/.changeset/five-rocks-bow.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@raddix/use-scroll-position': minor -'@raddix/use-window-size': minor ---- - -update the useEventListener hook with the new options diff --git a/.changeset/gentle-terms-mate.md b/.changeset/gentle-terms-mate.md deleted file mode 100644 index 49ebeea..0000000 --- a/.changeset/gentle-terms-mate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@raddix/use-event-listener': major ---- - -Move the target parameter to the bind options and set default to window diff --git a/.changeset/hot-donkeys-shop.md b/.changeset/hot-donkeys-shop.md deleted file mode 100644 index 257af02..0000000 --- a/.changeset/hot-donkeys-shop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@raddix/use-event-listener': major ---- - -Added useEventListener hook diff --git a/.changeset/lazy-ducks-jam.md b/.changeset/lazy-ducks-jam.md deleted file mode 100644 index 3454d93..0000000 --- a/.changeset/lazy-ducks-jam.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@raddix/use-debounce': major ---- - -Added the useDebounce hook diff --git a/.changeset/old-paws-watch.md b/.changeset/old-paws-watch.md deleted file mode 100644 index b35ff1a..0000000 --- a/.changeset/old-paws-watch.md +++ /dev/null @@ -1,8 +0,0 @@ ---- -'@raddix/use-scroll-position': patch -'@raddix/use-event-listener': patch -'@raddix/use-window-size': patch -'@raddix/use-debounce': patch ---- - -Fix documentation link diff --git a/.changeset/stale-mails-mate.md b/.changeset/stale-mails-mate.md deleted file mode 100644 index 769bdd4..0000000 --- a/.changeset/stale-mails-mate.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@raddix/use-window-size': major ---- - -Added the useWindowSize hook diff --git a/.changeset/wild-socks-type.md b/.changeset/wild-socks-type.md deleted file mode 100644 index 118b89e..0000000 --- a/.changeset/wild-socks-type.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@raddix/use-event-listener': minor ---- - -Add null type in first parameter of useEventListener diff --git a/.changeset/yellow-experts-beam.md b/.changeset/yellow-experts-beam.md deleted file mode 100644 index 85c3daf..0000000 --- a/.changeset/yellow-experts-beam.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@raddix/use-scroll-position': major ---- - -Added the useScrollPosition hook diff --git a/packages/hooks/use-debounce/CHANGELOG.md b/packages/hooks/use-debounce/CHANGELOG.md new file mode 100644 index 0000000..dd12b6c --- /dev/null +++ b/packages/hooks/use-debounce/CHANGELOG.md @@ -0,0 +1,11 @@ +# @raddix/use-debounce + +## 1.0.0 + +### Major Changes + +- c704260: Added the useDebounce hook + +### Patch Changes + +- d76cdc5: Fix documentation link diff --git a/packages/hooks/use-debounce/package.json b/packages/hooks/use-debounce/package.json index 9733dfb..6767541 100644 --- a/packages/hooks/use-debounce/package.json +++ b/packages/hooks/use-debounce/package.json @@ -1,7 +1,7 @@ { "name": "@raddix/use-debounce", "description": "A React hook that provides a debounced value of the provided value.", - "version": "0.1.0", + "version": "1.0.0", "license": "MIT", "main": "src/index.ts", "author": "Moises Machuca Valverde (https://www.moisesmachuca.com)", diff --git a/packages/hooks/use-event-listener/CHANGELOG.md b/packages/hooks/use-event-listener/CHANGELOG.md new file mode 100644 index 0000000..17c2ce2 --- /dev/null +++ b/packages/hooks/use-event-listener/CHANGELOG.md @@ -0,0 +1,16 @@ +# @raddix/use-event-listener + +## 1.0.0 + +### Major Changes + +- df1362f: Move the target parameter to the bind options and set default to window +- be45286: Added useEventListener hook + +### Minor Changes + +- 5445202: Add null type in first parameter of useEventListener + +### Patch Changes + +- d76cdc5: Fix documentation link diff --git a/packages/hooks/use-event-listener/package.json b/packages/hooks/use-event-listener/package.json index ad4f151..fb8f1d8 100644 --- a/packages/hooks/use-event-listener/package.json +++ b/packages/hooks/use-event-listener/package.json @@ -1,7 +1,7 @@ { "name": "@raddix/use-event-listener", "description": "A hook that enables you to add event listeners to a target element or document.", - "version": "0.1.0", + "version": "1.0.0", "license": "MIT", "main": "src/index.ts", "author": "Moises Machuca Valverde (https://www.moisesmachuca.com)", diff --git a/packages/hooks/use-scroll-position/CHANGELOG.md b/packages/hooks/use-scroll-position/CHANGELOG.md new file mode 100644 index 0000000..3edc311 --- /dev/null +++ b/packages/hooks/use-scroll-position/CHANGELOG.md @@ -0,0 +1,20 @@ +# @raddix/use-scroll-position + +## 1.0.0 + +### Major Changes + +- 88b7e0d: Added the useScrollPosition hook + +### Minor Changes + +- df1362f: update the useEventListener hook with the new options + +### Patch Changes + +- d76cdc5: Fix documentation link +- Updated dependencies [df1362f] +- Updated dependencies [be45286] +- Updated dependencies [d76cdc5] +- Updated dependencies [5445202] + - @raddix/use-event-listener@1.0.0 diff --git a/packages/hooks/use-scroll-position/package.json b/packages/hooks/use-scroll-position/package.json index 26754df..ce7363f 100644 --- a/packages/hooks/use-scroll-position/package.json +++ b/packages/hooks/use-scroll-position/package.json @@ -1,7 +1,7 @@ { "name": "@raddix/use-scroll-position", "description": "A hook to listen to the scroll position of the current window or element.", - "version": "0.1.0", + "version": "1.0.0", "license": "MIT", "main": "src/index.ts", "author": "Moises Machuca Valverde (https://www.moisesmachuca.com)", diff --git a/packages/hooks/use-window-size/CHANGELOG.md b/packages/hooks/use-window-size/CHANGELOG.md new file mode 100644 index 0000000..92a2a71 --- /dev/null +++ b/packages/hooks/use-window-size/CHANGELOG.md @@ -0,0 +1,20 @@ +# @raddix/use-window-size + +## 1.0.0 + +### Major Changes + +- c705e87: Added the useWindowSize hook + +### Minor Changes + +- df1362f: update the useEventListener hook with the new options + +### Patch Changes + +- d76cdc5: Fix documentation link +- Updated dependencies [df1362f] +- Updated dependencies [be45286] +- Updated dependencies [d76cdc5] +- Updated dependencies [5445202] + - @raddix/use-event-listener@1.0.0 diff --git a/packages/hooks/use-window-size/package.json b/packages/hooks/use-window-size/package.json index 843389e..70de87e 100644 --- a/packages/hooks/use-window-size/package.json +++ b/packages/hooks/use-window-size/package.json @@ -1,7 +1,7 @@ { "name": "@raddix/use-window-size", "description": "A hook that track the dimensions of the browser window.", - "version": "0.1.0", + "version": "1.0.0", "license": "MIT", "main": "src/index.ts", "author": "Moises Machuca Valverde (https://www.moisesmachuca.com)",