Skip to content

Commit

Permalink
Version Packages (#176)
Browse files Browse the repository at this point in the history
* Version Packages

* Apply suggestions from code review

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Rogin Farrer <[email protected]>
  • Loading branch information
3 people authored Jun 21, 2024
1 parent 42793ee commit 6d5e207
Show file tree
Hide file tree
Showing 16 changed files with 65 additions and 33 deletions.
5 changes: 0 additions & 5 deletions .changeset/silver-bugs-foo.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/silver-bugs-invite.md

This file was deleted.

7 changes: 0 additions & 7 deletions .changeset/silver-bugs-react.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/slimy-numbers-fry.md

This file was deleted.

8 changes: 8 additions & 0 deletions apps/next-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# next-app

## 0.1.1

### Patch Changes

- Updated dependencies [42793ee]
- @collapsed/react@5.0.0
2 changes: 1 addition & 1 deletion apps/next-app/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "next-app",
"version": "0.1.0",
"version": "0.1.1",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
8 changes: 8 additions & 0 deletions apps/solid-app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# solid-app

## 0.1.0

### Patch Changes

- Updated dependencies [42793ee]
- @collapsed/solid@0.0.1
3 changes: 2 additions & 1 deletion apps/solid-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,6 @@
"solid-js": "^1.8.17",
"@collapsed/solid": "workspace:*",
"vinxi": "^0.3.11"
}
},
"version": "0.1.0"
}
6 changes: 6 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@collapsed/core",
"version": "4.0.1",
"version": "5.0.0",
"type": "module",
"author": "Rogin Farrer <[email protected]>",
"description": "A framework-agnostic utility for creating flexible and accessible expand/collapse elements.",
Expand Down
9 changes: 9 additions & 0 deletions packages/lit/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion packages/lit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@collapsed/lit",
"version": "0.0.0",
"version": "0.0.1",
"type": "module",
"license": "MIT",
"main": "./dist/collapsed-disclosure.cjs",
Expand Down
23 changes: 18 additions & 5 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -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 (
<>
<button {...getToggleProps()}>{isOpen ? 'Collapse' : 'Expand'}</button>
<button {...getToggleProps()}>{isOpen ? "Collapse" : "Expand"}</button>
<section {...getCollapseProps()}>Collapsed content 🙈</section>
</>
)
);
}
```

Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@collapsed/react",
"version": "4.0.1",
"version": "5.0.0",
"author": "Rogin Farrer <[email protected]>",
"description": "A React custom-hook for creating flexible and accessible expand/collapse components.",
"license": "MIT",
Expand Down
9 changes: 9 additions & 0 deletions packages/solid/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion packages/solid/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@collapsed/solid",
"version": "0.0.0",
"version": "0.0.1",
"type": "module",
"license": "MIT",
"main": "./dist/index.cjs",
Expand Down

0 comments on commit 6d5e207

Please sign in to comment.