Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version Packages #176

Merged
merged 2 commits into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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/[email protected]
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/[email protected]
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/[email protected]
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/[email protected]

## 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/[email protected]
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