Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 1.14.0 #250

Merged
merged 29 commits into from
Jan 6, 2025
Merged

Release 1.14.0 #250

merged 29 commits into from
Jan 6, 2025

Conversation

michielvandergeest
Copy link
Collaborator

  • Added ability to deregister listeners (this.$unlisten())
  • Added autosize to images without w and h attributes
  • Fixed cleanup of transitions and end-callbacks when Elements are destroyed
  • Added support for reactively updating an entire object (instead of having to update each object key individually)
  • Added this.$size() method to set the dimensions of a Component
  • Added intercept input method to handle key presses before they reach the currently focused Component
  • Added support for query-parameters in routes (in addition to regular query params)

AndresMonk and others added 29 commits December 10, 2024 10:42
Feat: Adding the ability to deregister event listeners
Signed-off-by: Suresh Kumar Gangumalla <sureshkumar.gangumalla@invecas.com>
When complete object is assiged to state variable with equal operator
then effects associated with in template on assining object properties
are not triggering.

Here Object.assign is working as expected but users feels this is odd
to do instead of assignment operator

Moved the object.assign operation to reactive proxy set trap so that
it will invoke set traps of indiviual key

Signed-off-by: Suresh Kumar Gangumalla <sureshkumar.gangumalla@invecas.com>
Input index singature Type is a function which returns void | undefined
and all other custom properties Types should align with the index
signature Type (including function return types as well). Here, the
custom property intercept Type is a function that return value like
KeyboardEvent, any, which are not part of index signature function
return type so adding unknown as additional return type

Signed-off-by: Suresh Kumar Gangumalla <sureshkumar.gangumalla@invecas.com>
Object.assing is only required for pure objects as arrays
direct assignment is triggering effects without an issue

Signed-off-by: Suresh Kumar Gangumalla <sureshkumar.gangumalla@invecas.com>
…ator-effects

Fixes effects issues with direct obj assingment
…n-end-callback

Remove transition end callbacks on destroy
Adding unknown for Index signature return type
Dynamically set the width and height of a component
@michielvandergeest michielvandergeest merged commit a014e20 into master Jan 6, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants