v1.0.0-rc.0
Breaking changes
onChange
callbacks accepts the value equal to initial (thanks to @renatorib)
-<Value initial={0} onChange={({ value }) => console.log(value)}>
+<Value initial={0} onChange={value => console.log(value)}>
Affected components: Active
, Counter
, Focus
, FocusManager
, Hover
, Input
, List
, Set
, Toggle
, Touch
, Value
.
is
prefix in values is removed (thanks to @TrySound)
<Hover>
- {({ isHovered, bind }) => null}
+ {({ hovered, bind }) => null}
</Hover>;
<Active>
- {({ isActive, bind }) => null}
+ {({ active, bind }) => null}
</Active>
Affected components: Active
, Focus
, FocusManager
, Hover
, Touch
.