From 6d5e2077a72b3140ec16c146cf15f821bbf86f19 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 21 Jun 2024 15:48:26 -0700 Subject: [PATCH] Version Packages (#176) * Version Packages * Apply suggestions from code review --------- Co-authored-by: github-actions[bot] Co-authored-by: Rogin Farrer --- .changeset/silver-bugs-foo.md | 5 ----- .changeset/silver-bugs-invite.md | 5 ----- .changeset/silver-bugs-react.md | 7 ------- .changeset/slimy-numbers-fry.md | 5 ----- apps/next-app/CHANGELOG.md | 8 ++++++++ apps/next-app/package.json | 2 +- apps/solid-app/CHANGELOG.md | 8 ++++++++ apps/solid-app/package.json | 3 ++- packages/core/CHANGELOG.md | 6 ++++++ packages/core/package.json | 2 +- packages/lit/CHANGELOG.md | 9 +++++++++ packages/lit/package.json | 2 +- packages/react/CHANGELOG.md | 23 ++++++++++++++++++----- packages/react/package.json | 2 +- packages/solid/CHANGELOG.md | 9 +++++++++ packages/solid/package.json | 2 +- 16 files changed, 65 insertions(+), 33 deletions(-) delete mode 100644 .changeset/silver-bugs-foo.md delete mode 100644 .changeset/silver-bugs-invite.md delete mode 100644 .changeset/silver-bugs-react.md delete mode 100644 .changeset/slimy-numbers-fry.md create mode 100644 apps/next-app/CHANGELOG.md create mode 100644 apps/solid-app/CHANGELOG.md create mode 100644 packages/lit/CHANGELOG.md create mode 100644 packages/solid/CHANGELOG.md diff --git a/.changeset/silver-bugs-foo.md b/.changeset/silver-bugs-foo.md deleted file mode 100644 index bd13438..0000000 --- a/.changeset/silver-bugs-foo.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@collapsed/solid": patch ---- - -New implementation of collapsed as a Solid component. diff --git a/.changeset/silver-bugs-invite.md b/.changeset/silver-bugs-invite.md deleted file mode 100644 index 6f0f286..0000000 --- a/.changeset/silver-bugs-invite.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@collapsed/lit": patch ---- - -New implementation of collapsed as a Lit web component. diff --git a/.changeset/silver-bugs-react.md b/.changeset/silver-bugs-react.md deleted file mode 100644 index f88f757..0000000 --- a/.changeset/silver-bugs-react.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@collapsed/react": major ---- - -NOTE: See `packages/react-collapsed` for stable API. - -Complete rewrite using rewritten `@collapsed/core`. API remains the same. diff --git a/.changeset/slimy-numbers-fry.md b/.changeset/slimy-numbers-fry.md deleted file mode 100644 index e0f5122..0000000 --- a/.changeset/slimy-numbers-fry.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@collapsed/core": major ---- - -Full rewrite to narrow API to collapse animation and remove internal state. Inteded for use with framework wrappers. diff --git a/apps/next-app/CHANGELOG.md b/apps/next-app/CHANGELOG.md new file mode 100644 index 0000000..125fd54 --- /dev/null +++ b/apps/next-app/CHANGELOG.md @@ -0,0 +1,8 @@ +# next-app + +## 0.1.1 + +### Patch Changes + +- Updated dependencies [42793ee] + - @collapsed/react@5.0.0 diff --git a/apps/next-app/package.json b/apps/next-app/package.json index e45693c..69236da 100644 --- a/apps/next-app/package.json +++ b/apps/next-app/package.json @@ -1,6 +1,6 @@ { "name": "next-app", - "version": "0.1.0", + "version": "0.1.1", "private": true, "scripts": { "dev": "next dev", diff --git a/apps/solid-app/CHANGELOG.md b/apps/solid-app/CHANGELOG.md new file mode 100644 index 0000000..9d38b40 --- /dev/null +++ b/apps/solid-app/CHANGELOG.md @@ -0,0 +1,8 @@ +# solid-app + +## 0.1.0 + +### Patch Changes + +- Updated dependencies [42793ee] + - @collapsed/solid@0.0.1 diff --git a/apps/solid-app/package.json b/apps/solid-app/package.json index 02276a6..4a0c554 100644 --- a/apps/solid-app/package.json +++ b/apps/solid-app/package.json @@ -12,5 +12,6 @@ "solid-js": "^1.8.17", "@collapsed/solid": "workspace:*", "vinxi": "^0.3.11" - } + }, + "version": "0.1.0" } diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index 0738495..90d63b3 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,11 @@ # @collapsed/core +## 5.0.0 + +### Major Changes + +- 42793ee: Full rewrite to narrow API to collapse animation and remove internal state. Intended for use with framework wrappers. + ## 4.0.1 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 3e6bbee..18c18ef 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@collapsed/core", - "version": "4.0.1", + "version": "5.0.0", "type": "module", "author": "Rogin Farrer ", "description": "A framework-agnostic utility for creating flexible and accessible expand/collapse elements.", diff --git a/packages/lit/CHANGELOG.md b/packages/lit/CHANGELOG.md new file mode 100644 index 0000000..134cea8 --- /dev/null +++ b/packages/lit/CHANGELOG.md @@ -0,0 +1,9 @@ +# @collapsed/lit + +## 0.0.1 + +### Patch Changes + +- 42793ee: New implementation of collapsed as a Lit web component. +- Updated dependencies [42793ee] + - @collapsed/core@5.0.0 diff --git a/packages/lit/package.json b/packages/lit/package.json index de1803a..4762db2 100644 --- a/packages/lit/package.json +++ b/packages/lit/package.json @@ -1,6 +1,6 @@ { "name": "@collapsed/lit", - "version": "0.0.0", + "version": "0.0.1", "type": "module", "license": "MIT", "main": "./dist/collapsed-disclosure.cjs", diff --git a/packages/react/CHANGELOG.md b/packages/react/CHANGELOG.md index f947e10..bea22a8 100644 --- a/packages/react/CHANGELOG.md +++ b/packages/react/CHANGELOG.md @@ -1,5 +1,18 @@ Changelog has been moved to [the releases tab](https://github.com/roginfarrer/react-collapsed/releases). +## 5.0.0 + +### Major Changes + +- 42793ee: NOTE: See `packages/react-collapsed` for stable API. + + Complete rewrite using rewritten `@collapsed/core`. API remains the same. + +### Patch Changes + +- Updated dependencies [42793ee] + - @collapsed/core@5.0.0 + ## 4.0.1 ### Patch Changes @@ -41,18 +54,18 @@ Complete rewrite using React hooks! - Adds support for unmounting the contents of the Collapse element when closed ```js -import React from 'react' -import useCollapse from 'react-collapsed' +import React from "react"; +import useCollapse from "react-collapsed"; function Demo() { - const { getCollapseProps, getToggleProps, isOpen } = useCollapse() + const { getCollapseProps, getToggleProps, isOpen } = useCollapse(); return ( <> - +
Collapsed content 🙈
- ) + ); } ``` diff --git a/packages/react/package.json b/packages/react/package.json index b9cc263..bab2ff3 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -1,6 +1,6 @@ { "name": "@collapsed/react", - "version": "4.0.1", + "version": "5.0.0", "author": "Rogin Farrer ", "description": "A React custom-hook for creating flexible and accessible expand/collapse components.", "license": "MIT", diff --git a/packages/solid/CHANGELOG.md b/packages/solid/CHANGELOG.md new file mode 100644 index 0000000..bcf8495 --- /dev/null +++ b/packages/solid/CHANGELOG.md @@ -0,0 +1,9 @@ +# @collapsed/solid + +## 0.0.1 + +### Patch Changes + +- 42793ee: New implementation of collapsed as a Solid component. +- Updated dependencies [42793ee] + - @collapsed/core@5.0.0 diff --git a/packages/solid/package.json b/packages/solid/package.json index 20d20bc..4ced5c7 100644 --- a/packages/solid/package.json +++ b/packages/solid/package.json @@ -1,6 +1,6 @@ { "name": "@collapsed/solid", - "version": "0.0.0", + "version": "0.0.1", "type": "module", "license": "MIT", "main": "./dist/index.cjs",