Releases: pmndrs/leva
Releases · pmndrs/leva
@leva-ui/[email protected]
@leva-ui/plugin-plot
1.0.0
Minor Changes
- 1001f25: Fix version for stitches before moving to 1.x
Patch Changes
- Updated dependencies [1001f25]
0.9.12
Patch Changes
- d5a5dd2: - Fix: prevent selection on Firefox when closing the Color picker.
- Fix: add suffix to Number plugin initial value.
- Feat: add
title
attribute to Labels when there is nohint
prop.
- Updated dependencies [4f51de7]
- Updated dependencies [dd17591]
- Updated dependencies [ac99a90]
- Updated dependencies [d5a5dd2]
0.9.10
Patch Changes
0.9.8
Patch Changes
0.0.3
Patch Changes
0.0.2
Patch Changes
-
c997410: Plugin: add the Bezier plugin
import { bezier } from '@leva-ui/plugin-bezier' useControls({ curve: bezier([0.25, 0.1, 0.25, 1]) })
-
Updated dependencies [c997410]
0.0.1
Patch Changes
-
edc8847: Breaking: change how
leva/plugin
exports components.// before import { Row, Label, String } from 'leva/plugin' // after import { Components } from 'leva/plugin' const { Row, Label, String } = Components
Feat: add
useValue
/useValues
hooks that let an input query other inputs values.Feat:
normalize
has additional arguments to its signature:/** * @path the path of the input * @data the data available in the store */ const normalize = (input: Input, path: string, data: Data)
Feat:
sanitize
has additional arguments to its signature:/** * @path the path of the input * @store the store */ const sanitize = ( value: any, settings: Settings, prevValue: any, path: string, store: StoreType )
Styles: better feedback when dragging number from inner label.
Plugin: add the Plot plugin 📈
import { plot } from '@leva-ui/plugin-plot' useControls({ y: plot({ expression: 'cos(x)', graph: true, boundsX: [-10, 10], boundsY: [0, 100] }) })
-
Updated dependencies [edc8847]
@leva-ui/[email protected]
@leva-ui/plugin-bezier
1.0.0
Minor Changes
- 1001f25: Fix version for stitches before moving to 1.x
Patch Changes
- Updated dependencies [1001f25]
0.9.12
Patch Changes
- Updated dependencies
0.9.10
Patch Changes
0.9.8
Patch Changes
0.0.4
Patch Changes
0.0.3
Patch Changes
- 26ead12: Feat: add cssEasing to returned prop
0.0.2
Patch Changes
[email protected]
Patch Changes
-
8aba17c: Allow controlling the collapsed state of LevaPanel via object overload for the
controlled
property.const [collapsed, setCollapsed] = React.useState(false) const leva = <Leva collapsed={{ collapsed, onChange: (collapsed) => setCollapsed(collapsed) }} />
[email protected]
Patch Changes
- 4f51de7: Switch from tinycolor to colord
- dd17591: chore: update to stitches 0.2.0
- ac99a90: feat: add
color
option to folders - d5a5dd2: - Fix: prevent selection on Firefox when closing the Color picker.
- Fix: add suffix to Number plugin initial value.
- Feat: add
title
attribute to Labels when there is nohint
prop.
@leva-ui/[email protected]
Patch Changes
- 4f51de7: Switch from tinycolor to colord
- d5a5dd2: - Fix: prevent selection on Firefox when closing the Color picker.
- Fix: add suffix to Number plugin initial value.
- Feat: add
title
attribute to Labels when there is nohint
prop.
- Updated dependencies [4f51de7]
- Updated dependencies [dd17591]
- Updated dependencies [ac99a90]
- Updated dependencies [d5a5dd2]
@leva-ui/[email protected]
Patch Changes
- d5a5dd2: - Fix: prevent selection on Firefox when closing the Color picker.
- Fix: add suffix to Number plugin initial value.
- Feat: add
title
attribute to Labels when there is nohint
prop.
- Updated dependencies [4f51de7]
- Updated dependencies [dd17591]
- Updated dependencies [ac99a90]
- Updated dependencies [d5a5dd2]
@leva-ui/[email protected]
Patch Changes
- Updated dependencies
[email protected]
Patch Changes
- cedd742: chore: update deps
[email protected]
Patch Changes
- 16e3c14: feat: add clamp Range and Interval initial values to bounds.
feat: when title is empty show the drag dots.