Skip to content

Releases: bigdatr/stampy

Allow PropChangeHock to getIn class instance properties in its prop keys

31 Aug 06:53

Choose a tag to compare

  • PropChangeHock
    • PropChangeHock paths can now contain class instances
    • BREAKING CHANGE PropChangeHock checks each data at each path in paths. Commonly the data at these paths are just primitives, but they can be deep data types too. Previously if the data at each of these paths were objects or arrays then these would be compared strictly, but now they are checked deeply. This brings the equality checking of object and arrays in line with the equality checking of Immutable.js Maps and Lists.

v0.41.0

20 Jun 03:33

Choose a tag to compare

Minor Changes

  • Feat: add box component: ff7c5d9
  • Fix: make box margin/padding rem only: 403270a

Cooperative Chameleon

09 Nov 01:26

Choose a tag to compare

Breaking changes

  • Remove named exports. Get your components by going stampy/lib/whatever now
  • Files have all moved, stay on your toes
  • immutable, moment, numeral and react-select are now peer / dev deps, install them yourself if you need them. If you're using Text or Select directly in an app, consider moving them to the app-style repo for your app.
  • All SASS removed
  • Hock util has been added for creating standard hocks
  • StateHock and ElementQueryHock now use the new standard Hock pattern
  • Pipes, CollectionUtils and ConfigureHock have been deprecated, are in the deprecated folder
  • RemoveProps util has been deleted

New stuff

  • Spruce peer props and style props are now on:
    • Button
    • Input
    • Label
    • Select
    • Table
    • Text
    • Textarea
    • Toggle
    • ToggleSet
  • Textarea has new props
    • placeholder
    • name

Internal stuff

  • Move test files as per #56
  • Proto blueflag test is now being used.
    • Flow has been upgraded
    • Linting is working
    • Flow and linting is now being used on test files
  • Some more dependencies have been sorted out
    • Babel upgrades
  • ShowHideStateful uses StateHock
  • Pullapprove yaml updated
  • Jsdoc comments have been retained for when reimplement docs
  • ElementQueryHock has been upgraded to use refs
  • Hock util has been added for creating standard hocks
  • Components have a standard set of checks for class names / spruce names, although this hasn't been deduped yet

Add CollectionUtils isKeyed and isIndexed

29 Jun 22:54

Choose a tag to compare

  • Fix bug in querystringhock that caused empty location.search to not apply config.defaultQuery
  • Add better error message in SpreadPipe when accidentally providing non-keyed values

Add Debounce Pipe

23 Jun 02:44

Choose a tag to compare

  • Added Debounce pipe
  • ConfigureHock will not break when first argument is given null instead of a function.
  • SplitIndexPipe now doesn't needlessly recreate its onChange functions on render

Add IndexSplitterPipe

25 May 01:09

Choose a tag to compare

Breaking changes include all pipes now use config function instead of config object

Performance Upgrade to PropChangeHock

22 May 00:51

Choose a tag to compare

  • BREAKING: PropChangeHock now uses a config function
// old
const withPropChange = PropChangeHock(['id'], requestData);

// new
const withPropChange = PropChangeHock(() => {
    paths: ['id'],
    onPropChange: requestData
});
  • NEW: PropChangeHock can pass config.onPropChange function to child by setting config.passOnPropChange to true.

Added UpPipe, changed all pipes to use standard config function

17 May 02:48

Choose a tag to compare

  • New UpPipe
  • Breaking changes to all other pipes

Added KeyedSplitterPipe, Compose, ConfigureHock, DownPipe

12 May 06:53

Choose a tag to compare

Breaking changes

  • KeyedStatePipenow called SpreadPipe
  • FormHock removed

Added FormHock and CollectionUtils

26 Apr 23:52

Choose a tag to compare