From c8bbfb5e6b1b75cb1ad23326d3448e257d99d982 Mon Sep 17 00:00:00 2001 From: Ashish-simpleCoder Date: Fri, 5 Jul 2024 22:24:11 +0530 Subject: [PATCH] release v1 --- .changeset/beige-ladybugs-camp.md | 10 ------- .changeset/eighty-seahorses-laugh.md | 7 ----- .changeset/few-waves-hammer.md | 5 ---- .changeset/gold-wolves-exist.md | 12 -------- .changeset/moody-pumas-grab.md | 5 ---- .changeset/nasty-trees-move.md | 5 ---- .changeset/pre.json | 20 ------------- .changeset/quick-rules-help.md | 5 ---- .changeset/sharp-hornets-heal.md | 9 ------ .changeset/silver-cows-explode.md | 5 ---- .changeset/tiny-tables-switch.md | 7 ----- .changeset/wise-grapes-thank.md | 5 ---- CHANGELOG.md | 43 ++++++++++++++++++++++++++++ package.json | 2 +- 14 files changed, 44 insertions(+), 96 deletions(-) delete mode 100644 .changeset/beige-ladybugs-camp.md delete mode 100644 .changeset/eighty-seahorses-laugh.md delete mode 100644 .changeset/few-waves-hammer.md delete mode 100644 .changeset/gold-wolves-exist.md delete mode 100644 .changeset/moody-pumas-grab.md delete mode 100644 .changeset/nasty-trees-move.md delete mode 100644 .changeset/pre.json delete mode 100644 .changeset/quick-rules-help.md delete mode 100644 .changeset/sharp-hornets-heal.md delete mode 100644 .changeset/silver-cows-explode.md delete mode 100644 .changeset/tiny-tables-switch.md delete mode 100644 .changeset/wise-grapes-thank.md diff --git a/.changeset/beige-ladybugs-camp.md b/.changeset/beige-ladybugs-camp.md deleted file mode 100644 index a9b1fa1..0000000 --- a/.changeset/beige-ladybugs-camp.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -'classic-react-hooks': minor ---- - -Docs and some refactor for logic - -- [c1db97d] docs: remove doc template files -- [d3cdff6] feat: create new copy-to-clipboard function in use-copy-to-clipboard -- [44179bd] test: add test case to handle defaultValue in catch block in use-local-storage -- [d8d5b41] fix: parse logic in use-local-storage diff --git a/.changeset/eighty-seahorses-laugh.md b/.changeset/eighty-seahorses-laugh.md deleted file mode 100644 index b481783..0000000 --- a/.changeset/eighty-seahorses-laugh.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'classic-react-hooks': minor ---- - -- Add use-client directive support -- Turn off cleanUrl config in vitepress doc -- Update test cases for `use-event-listener` hook diff --git a/.changeset/few-waves-hammer.md b/.changeset/few-waves-hammer.md deleted file mode 100644 index 9a6a8a9..0000000 --- a/.changeset/few-waves-hammer.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'classic-react-hooks': minor ---- - -Add initialValue param for use-counter hook diff --git a/.changeset/gold-wolves-exist.md b/.changeset/gold-wolves-exist.md deleted file mode 100644 index 6e6b436..0000000 --- a/.changeset/gold-wolves-exist.md +++ /dev/null @@ -1,12 +0,0 @@ ---- -'classic-react-hooks': minor ---- - -Update documentation and test cases - -- [f7c5939] docs: update overview -- [3e06140] docs: update use-event-listener doc -- [0a8ef61] docs: update js-doc for all of the hooks -- [bb05733] remove: useCallback from hooks -- [a8f50f6] test: add extra test case for use-outside-click for covering the branch - diff --git a/.changeset/moody-pumas-grab.md b/.changeset/moody-pumas-grab.md deleted file mode 100644 index bce67cc..0000000 --- a/.changeset/moody-pumas-grab.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'classic-react-hooks': minor ---- - -Update docs and fix logic issues in hooks diff --git a/.changeset/nasty-trees-move.md b/.changeset/nasty-trees-move.md deleted file mode 100644 index c744b7c..0000000 --- a/.changeset/nasty-trees-move.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'classic-react-hooks': major ---- - -Major release diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index b3ace4d..0000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "mode": "pre", - "tag": "beta", - "initialVersions": { - "classic-react-hooks": "0.1.0" - }, - "changesets": [ - "beige-ladybugs-camp", - "eighty-seahorses-laugh", - "few-waves-hammer", - "gold-wolves-exist", - "moody-pumas-grab", - "nasty-trees-move", - "quick-rules-help", - "sharp-hornets-heal", - "silver-cows-explode", - "tiny-tables-switch", - "wise-grapes-thank" - ] -} diff --git a/.changeset/quick-rules-help.md b/.changeset/quick-rules-help.md deleted file mode 100644 index 0c9ccb3..0000000 --- a/.changeset/quick-rules-help.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'classic-react-hooks': patch ---- - -Fix missing utility type Prettify in build diff --git a/.changeset/sharp-hornets-heal.md b/.changeset/sharp-hornets-heal.md deleted file mode 100644 index c907bf8..0000000 --- a/.changeset/sharp-hornets-heal.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'classic-react-hooks': minor ---- - -- doc: update description for delay in use-debounced-fn -- doc: update use-outside-click hook doc for new option param -- feat: add Options param in use-outside-click hook -- doc: remove return type from use-event-listener doc -- type: export use-event-listener params types diff --git a/.changeset/silver-cows-explode.md b/.changeset/silver-cows-explode.md deleted file mode 100644 index 93852dc..0000000 --- a/.changeset/silver-cows-explode.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'classic-react-hooks': patch ---- - -first beta release diff --git a/.changeset/tiny-tables-switch.md b/.changeset/tiny-tables-switch.md deleted file mode 100644 index fa84477..0000000 --- a/.changeset/tiny-tables-switch.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -'classic-react-hooks': minor ---- - -- Add refs support in use-event-listener -- Update doc for use-event-listener -- Add new test case for testing refs in use-event-listener diff --git a/.changeset/wise-grapes-thank.md b/.changeset/wise-grapes-thank.md deleted file mode 100644 index fb24529..0000000 --- a/.changeset/wise-grapes-thank.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'classic-react-hooks': minor ---- - -Fix working with ref for use-outside-click hook diff --git a/CHANGELOG.md b/CHANGELOG.md index 7730e5b..88a9e1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,48 @@ # classic-react-hooks +## 1.0.0 + +### Major Changes + +- 72681e1: Major release + +### Minor Changes + +- 4a00db0: Docs and some refactor for logic + + - [c1db97d] docs: remove doc template files + - [d3cdff6] feat: create new copy-to-clipboard function in use-copy-to-clipboard + - [44179bd] test: add test case to handle defaultValue in catch block in use-local-storage + - [d8d5b41] fix: parse logic in use-local-storage + +- 8931f18: - Add use-client directive support + - Turn off cleanUrl config in vitepress doc + - Update test cases for `use-event-listener` hook +- a14cd39: Add initialValue param for use-counter hook +- a370a03: Update documentation and test cases + + - [f7c5939] docs: update overview + - [3e06140] docs: update use-event-listener doc + - [0a8ef61] docs: update js-doc for all of the hooks + - [bb05733] remove: useCallback from hooks + - [a8f50f6] test: add extra test case for use-outside-click for covering the branch + +- 20c59ec: Update docs and fix logic issues in hooks +- 4709360: - doc: update description for delay in use-debounced-fn + - doc: update use-outside-click hook doc for new option param + - feat: add Options param in use-outside-click hook + - doc: remove return type from use-event-listener doc + - type: export use-event-listener params types +- 7e65ed2: - Add refs support in use-event-listener + - Update doc for use-event-listener + - Add new test case for testing refs in use-event-listener +- 034f910: Fix working with ref for use-outside-click hook + +### Patch Changes + +- b21e739: Fix missing utility type Prettify in build +- 6fff795: first beta release + ## 1.0.0-beta.10 ### Minor Changes diff --git a/package.json b/package.json index 51091c2..026e1bf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "classic-react-hooks", - "version": "1.0.0-beta.10", + "version": "1.0.0", "description": "A great collection of React utility hooks", "keywords": [ "classic-react-hooks",