Skip to content

v2.1.1

Latest
Compare
Choose a tag to compare
@baseten baseten released this 30 Apr 11:37

What's Changed

  • Update API by @baseten in #2
    • Expose Transform2d internals as use2dTransformations hook
    • Expose Transform3d internals as use3dTransformations hook
    • Expose get2dCSSMatrixString, get3dCSSMatrixString, getCSSMatrixString, merge2dMatrixWithStyles, merge3dMatrixWithStyles utilities publicly
  • Improve 3D Cubes Example by @baseten in #3
    • Use new exposed hooks for less magic matrix code
    • Add useFlatShading hook and use in new Face Component replacing old FlatMaterial
    • Add React Context for window width/height and lighting state

Full Changelog: v2.0.1...v2.1.1