Skip to content

Releases: studiometa/js-toolkit

v2.4.4

05 Sep 07:14
2.4.4
1e7e3b1
Compare
Choose a tag to compare

Changed

v2.4.3

19 Aug 19:21
2.4.3
ecd5acc
Compare
Choose a tag to compare

Changed

v2.4.2

18 Aug 20:35
2.4.2
8d45fa1
Compare
Choose a tag to compare

Fixed

  • withScrolledInView
    • Use damping on the current value instead of the progress (dd51924, #270)
    • Fix a bug where damped values were not updated on destroy (ba93c1b, #270)
  • transition
    • Fix transition utility waiting too long between updates (74db79a)

Changed

  • Types
    • Improve types definition for components (#271)
    • Add service props types to the main entrypoint (23b6fe2)
  • Update NPM dependencies (1e5fdfa, f6b0e52)

v2.4.1

18 Jul 09:02
2.4.1
d8e31e0
Compare
Choose a tag to compare

Fixed

v2.4.0

18 Jul 08:49
2.4.0
65b39d3
Compare
Choose a tag to compare

Added

  • Add a getDirectChildren(parentInstance, parentName, childrenName) helper function (#253, c89e123)
  • Add a isDirectChild(parentInstance, parentName, childInstance, childName) helper function (#253, 04693b0)

Fixed

  • Revert "Change build target to ES2022" (c51f580)

v2.3.0

14 Jul 16:36
2.3.0
aabd60d
Compare
Choose a tag to compare

Added

  • Add a tween utility function (#249)
  • Add support for native event methods on child components (fix #248, #247, 3b6026d)
  • Add is... utility functions: isObject, isBoolean, isString, isNumber, isArray and hasWindow (#247)
  • Add an export of the isDev constant (#247)

Changed

  • Limit errors and warnings to dev environements (presence of a __DEV__ global var) (#247)
  • Refactor is... and has... test functions (#247)
  • Change build target to ES2022 (fa4ebd6)

Fixed

  • Add missing support for access to the event.detail data when working with CustomEvent with the event hooks (#250)
  • Only bind event methods to the root element for defined or native events (#247, 0e202c4)

v2.2.3

23 Jun 13:57
2.2.3
c8ee987
Compare
Choose a tag to compare

Changed

  • Refactor services (#244)
  • Export noop, noopValue and useService internal functions (#244)
  • Reduce log messages lengths (#244, 8492038)

v2.2.2

14 Jun 11:30
2.2.2
c2d5758
Compare
Choose a tag to compare

Fixed

Documentation

  • Add example on how to pass a component option as a prop withVue2 decorator (#238)

v2.2.1

13 Jun 10:06
2.2.1
4fc2a0f
Compare
Choose a tag to compare

Fixed

  • Fix ease export to contain only easing functions (#239, d6720f9)

v2.2.0

26 May 14:46
2.2.0
9f3d08b
Compare
Choose a tag to compare

Added

  • Add a useScheduler utility function to create schedulers (#232)
  • Add a domScheduler utility scheduler object to group read and write DOM interactions (#232)
  • Add support for scheduled actions for the useRaf service by returning a function inside callbacks (#232)

Changed

  • Improve performance of the animate function (#232)
  • Improve EventsManager performance by caching function results (#235)