Skip to content

Commit

Permalink
chore(release): update monorepo packages versions (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] authored Apr 10, 2021
1 parent 8501f0f commit c9696b5
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 30 deletions.
6 changes: 0 additions & 6 deletions .changeset/nasty-walls-brake.md

This file was deleted.

20 changes: 0 additions & 20 deletions .changeset/serious-jeans-hug.md

This file was deleted.

29 changes: 26 additions & 3 deletions packages/leva/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# leva

## 0.9.4

### Patch Changes

- 50e8096: fix: sanitize step should behave better.
improvement: expand panel when filter changes.
- 09a1a38: Allow specifying the explicit input type via the `type` option. This is handy when you want to prevent your string value being casted to a color or number.

```tsx
import { LevaInputs, useControls } from 'leva'

useControls({
color: {
type: LevaInputs.STRING,
value: '#f00',
},
number: {
type: LevaInputs.STRING,
value: '1',
},
})
```

## 0.9.3

### Patch Changes
Expand All @@ -16,7 +39,7 @@
const data = useControls({
color: {
value: '#7c3d3d',
onChange: value => {
onChange: (value) => {
console.log(value)
},
transient: false,
Expand All @@ -30,7 +53,7 @@
const data = useControls({
color: {
value: '#7c3d3d',
onChange: value => {
onChange: (value) => {
console.log(value)
},
transient: true,
Expand Down Expand Up @@ -218,7 +241,7 @@
- f323cfc: Feat: `onChange` callback for transient updates

```js
useControls({ color: { value: 'red', onChange: v => console.log(v) } })
useControls({ color: { value: 'red', onChange: (v) => console.log(v) } })
```

## 0.6.3
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.3",
"version": "0.9.4",
"main": "dist/leva.cjs.js",
"module": "dist/leva.esm.js",
"types": "dist/leva.cjs.d.ts",
Expand Down

1 comment on commit c9696b5

@vercel
Copy link

@vercel vercel bot commented on c9696b5 Apr 10, 2021

Choose a reason for hiding this comment

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

Please sign in to comment.