Skip to content

Commit

Permalink
Upcoming Release Changes (#375)
Browse files Browse the repository at this point in the history
* chore(release): update monorepo packages versions

* fix: lock file

* ts: fix type tests

* fix: prettier

* fix: manually fix releases

* fix: update lock file

* fix: changelog

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: David Bismut <[email protected]>
  • Loading branch information
3 people authored Sep 2, 2022
1 parent 466f307 commit 5a9b023
Show file tree
Hide file tree
Showing 8 changed files with 18 additions and 27 deletions.
5 changes: 0 additions & 5 deletions .changeset/bright-moose-tap.md

This file was deleted.

1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ function MyComponent() {
)
}
```

NOTE: Using Leva with React 18 will cause a console error about createRoot which you can safely ignore, or fix by following the instructions here: [discussion](https://github.com/pmndrs/leva/issues/358)

### Documentation
Expand Down
8 changes: 7 additions & 1 deletion packages/leva/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# leva

## 0.9.31

### Patch Changes

- 466f307: feat: `useControls` returns a `get` function

## 0.9.30

### Patch Changes
Expand Down Expand Up @@ -97,7 +103,7 @@

- 05ebf42: Upgrade deps and add `disabled` option to button

## 1.0.0
## 0.9.14

### Minor Changes

Expand Down
2 changes: 1 addition & 1 deletion packages/leva/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "leva",
"version": "0.9.30",
"version": "0.9.31",
"main": "dist/leva.cjs.js",
"module": "dist/leva.esm.js",
"types": "dist/leva.cjs.d.ts",
Expand Down
12 changes: 8 additions & 4 deletions packages/leva/src/types/public.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,14 @@ expectType<{ a: number }>(useControls({ a: 3, b: { value: '#fff', onChange: () =
expectType<{ a: number }>(useControls({ a: 3, b: { value: '#fff', transient: true } }))
// b should be returned when transient is false
expectType<{ a: number; b: string }>(useControls({ a: 3, b: { value: '#fff', onChange: () => {}, transient: false } }))
expectType<[{ a: number }, (value: { a?: number }) => void]>(useControls(() => ({ a: 3 })))
expectType<[{ a: number }, (value: { a?: number; color?: string }) => void]>(
useControls(() => ({ a: 3, color: { value: '#fff', onChange: () => {} } }))
)
expectType<[{ a: number }, (value: { a?: number }) => void, (path: 'a') => number]>(useControls(() => ({ a: 3 })))
expectType<
[
{ a: number },
(value: { a?: number; color?: string }) => void,
<T extends 'a' | 'color'>(path: T) => { a: number; color: string }[T]
]
>(useControls(() => ({ a: 3, color: { value: '#fff', onChange: () => {} } })))

/**
* options
Expand Down
7 changes: 1 addition & 6 deletions packages/plugin-bezier/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,12 @@
- Updated dependencies [e45e9de]
- [email protected]

## 1.0.0
## 0.9.14

### Minor Changes

- 1001f25: Fix version for stitches before moving to 1.x

### Patch Changes

- Updated dependencies [1001f25]
- [email protected]

## 0.9.12

### Patch Changes
Expand Down
5 changes: 0 additions & 5 deletions packages/plugin-plot/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,6 @@

- 1001f25: Fix version for stitches before moving to 1.x

### Patch Changes

- Updated dependencies [1001f25]
- [email protected]

## 0.9.12

### Patch Changes
Expand Down
5 changes: 0 additions & 5 deletions packages/plugin-spring/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@

- 1001f25: Fix version for stitches before moving to 1.x

### Patch Changes

- Updated dependencies [1001f25]
- [email protected]

## 0.9.12

### Patch Changes
Expand Down

1 comment on commit 5a9b023

@vercel
Copy link

@vercel vercel bot commented on 5a9b023 Sep 2, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

leva – ./

leva.vercel.app
leva.pmnd.rs
leva-pmndrs.vercel.app
leva-git-main-pmndrs.vercel.app

Please sign in to comment.