Releases: studiometa/js-toolkit
Releases · studiometa/js-toolkit
v2.4.6
Fixed
- Fix a recursive type definition (90fdf96, #280)
- Fix a bug where refs could be undefined (#279, fixes #278)
v2.4.5
Fixed
- Fix release GitHub Action (20998cf)
v2.4.2
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.0
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
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
Changed
- Refactor services (#244)
- Export
noop
, noopValue
and useService
internal functions (#244)
- Reduce log messages lengths (#244, 8492038)