Skip to content

Releases: renatorib/react-powerplug

v1.0.0-rc.1

02 Jul 21:30
Compare
Choose a tag to compare

Improvements

  • PowerPlug now provides typescript defintions (thanks to @theKashey)
  • <FocusManager /> .blur() function now provide natural blur of focused elements not only state change (thanks to @TrySound)

Chore & bugs

  • Prevent changing composed component order after rerender (thanks to @jeetiss)
  • Added missing functions to <FocusManager /> children props in flow definitions (thanks to @TrySound)
  • Added <Set /> docs (thanks to @denisborovikov)
  • Various docs fixes (thanks to @kpman and @LinusU)

v1.0.0-rc.0

11 Jun 12:12
Compare
Choose a tag to compare

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.

Chore & bugs

v1.0.0-alpha.5

23 May 09:32
Compare
Choose a tag to compare

Features

  • Added <Interval /> component (thanks to @jedwards1211 and @TrySound)
  • Allow to push multiple values in <List /> component (thanks to @TrySound)
  • <FocusManager /> is now more stable. setTimeout is replaced with mouse events (thanks to @souporserious)

Chore & bugs

  • Fixed Updater<T> (set functions) inference in flow (thanks to @istarkov)
  • Improved warning about unstable master (thanks to @souporserious)
  • Added tests for onChange for a bunch of components (thanks to @TrySound)
  • PowerPlug is now fully treeshakable so it can be safely used by libraries without worrying that user bundle will have unused code (thanks to @TrySound)

v1.0.0-alpha.4

11 Apr 01:52
Compare
Choose a tag to compare
v1.0.0-alpha.4 Pre-release
Pre-release

Features

Chore & bugs

  • Standardize bundle names (thanks to @TrySound)
  • Improves in build scripts (thanks to @TrySound)
  • Improves in readme & docs

v1.0.0-alpha.3

11 Apr 01:55
Compare
Choose a tag to compare
v1.0.0-alpha.3 Pre-release
Pre-release

Chore & bugs

  • Improves in flow types (thanks to @TrySound)

v1.0.0-alpha.2

11 Apr 02:03
Compare
Choose a tag to compare
v1.0.0-alpha.2 Pre-release
Pre-release

Features

  • Added Touch component (thanks to @farskid)
  • Added Input component

BREAKING CHANGES FROM v0.1

  • Refac Hover, Focus, Active components API
  • Refac Toggle component API
  • Refac List component API (thanks to @TrySound)
  • Refac Value component API
  • Refac Form component API
  • Refac Compose/compose API/beheavior (thanks to @gnapse)
  • Removed BindInput component in favor of Input

v0.1.0

02 Oct 17:33
Compare
Choose a tag to compare

Features

  • add Value component
  • add Index component
  • add Hover component
  • add Active component
  • add Focus component
  • add Form component