Skip to content

Commit

Permalink
Version Packages (#179)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Dec 23, 2024
1 parent 3e498c4 commit 91ad063
Show file tree
Hide file tree
Showing 7 changed files with 28 additions and 14 deletions.
6 changes: 0 additions & 6 deletions .changeset/dull-crabs-design.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
@@ -1,5 +1,13 @@
# next-app

## 0.1.2

### Patch Changes

- Updated dependencies [3e498c4]
- [email protected]
- @collapsed/react@5.1.0

## 0.1.1

### Patch Changes
Expand Down
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.1",
"version": "0.1.2",
"private": true,
"scripts": {
"dev": "next dev",
Expand Down
16 changes: 11 additions & 5 deletions packages/react-collapsed/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# react-collapsed

## 4.2.0

### Minor Changes

- 3e498c4: Updated react peer dependency versions to include React 19

## 4.1.2

### Patch Changes
Expand Down Expand Up @@ -84,18 +90,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-collapsed/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-collapsed",
"version": "4.1.2",
"version": "4.2.0",
"author": "Rogin Farrer <[email protected]>",
"description": "A React custom-hook for creating flexible and accessible expand/collapse components.",
"license": "MIT",
Expand Down
6 changes: 6 additions & 0 deletions packages/react/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
Changelog has been moved to [the releases tab](https://github.com/roginfarrer/react-collapsed/releases).

## 5.1.0

### Minor Changes

- 3e498c4: Updated react peer dependency versions to include React 19

## 5.0.0

### Major Changes
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": "5.0.0",
"version": "5.1.0",
"author": "Rogin Farrer <[email protected]>",
"description": "A React custom-hook for creating flexible and accessible expand/collapse components.",
"license": "MIT",
Expand Down

0 comments on commit 91ad063

Please sign in to comment.