-
Notifications
You must be signed in to change notification settings - Fork 0
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
Update dependency @atomico/hooks to v4 #325
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/atomico-hooks-4.x
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
force-pushed
the
renovate/atomico-hooks-4.x
branch
5 times, most recently
from
March 1, 2024 06:31
be00e9b
to
75a825f
Compare
renovate
bot
force-pushed
the
renovate/atomico-hooks-4.x
branch
4 times, most recently
from
March 9, 2024 06:19
2218cf4
to
ec938ba
Compare
renovate
bot
force-pushed
the
renovate/atomico-hooks-4.x
branch
3 times, most recently
from
March 22, 2024 07:43
f301fd2
to
14a11a1
Compare
renovate
bot
force-pushed
the
renovate/atomico-hooks-4.x
branch
3 times, most recently
from
April 2, 2024 04:26
2c50a44
to
419c610
Compare
renovate
bot
force-pushed
the
renovate/atomico-hooks-4.x
branch
4 times, most recently
from
April 9, 2024 21:52
7821ce2
to
b724c59
Compare
renovate
bot
force-pushed
the
renovate/atomico-hooks-4.x
branch
4 times, most recently
from
April 24, 2024 10:18
1d3a945
to
cc06418
Compare
renovate
bot
force-pushed
the
renovate/atomico-hooks-4.x
branch
4 times, most recently
from
May 1, 2024 18:07
f01714b
to
0245821
Compare
renovate
bot
force-pushed
the
renovate/atomico-hooks-4.x
branch
3 times, most recently
from
May 14, 2024 21:31
41ffdb3
to
1c41b71
Compare
renovate
bot
force-pushed
the
renovate/atomico-hooks-4.x
branch
2 times, most recently
from
May 30, 2024 22:52
13aea9c
to
36aa513
Compare
renovate
bot
force-pushed
the
renovate/atomico-hooks-4.x
branch
from
June 5, 2024 17:29
36aa513
to
4ee4478
Compare
renovate
bot
force-pushed
the
renovate/atomico-hooks-4.x
branch
from
June 13, 2024 13:34
4ee4478
to
477e8b0
Compare
renovate
bot
force-pushed
the
renovate/atomico-hooks-4.x
branch
from
June 24, 2024 15:42
477e8b0
to
43c7970
Compare
renovate
bot
force-pushed
the
renovate/atomico-hooks-4.x
branch
7 times, most recently
from
July 15, 2024 19:31
a58e4d6
to
de7815f
Compare
renovate
bot
force-pushed
the
renovate/atomico-hooks-4.x
branch
2 times, most recently
from
July 30, 2024 06:02
e70d828
to
10940c4
Compare
renovate
bot
force-pushed
the
renovate/atomico-hooks-4.x
branch
from
September 16, 2024 18:15
10940c4
to
d11c18c
Compare
renovate
bot
force-pushed
the
renovate/atomico-hooks-4.x
branch
2 times, most recently
from
October 2, 2024 18:58
68bef3f
to
b21a029
Compare
renovate
bot
force-pushed
the
renovate/atomico-hooks-4.x
branch
2 times, most recently
from
October 15, 2024 22:31
1a5e74e
to
cb01f82
Compare
renovate
bot
force-pushed
the
renovate/atomico-hooks-4.x
branch
2 times, most recently
from
October 25, 2024 17:24
048a207
to
caf1a6d
Compare
renovate
bot
force-pushed
the
renovate/atomico-hooks-4.x
branch
6 times, most recently
from
November 21, 2024 04:43
2bd15c4
to
df4b9ab
Compare
renovate
bot
force-pushed
the
renovate/atomico-hooks-4.x
branch
from
December 6, 2024 02:01
df4b9ab
to
1bc39bd
Compare
renovate
bot
force-pushed
the
renovate/atomico-hooks-4.x
branch
from
December 18, 2024 22:01
1bc39bd
to
d24bed7
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
None yet
0 participants
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^3.29.0
->^4.0.0
Release Notes
atomicojs/hooks (@atomico/hooks)
v4.4.1
Compare Source
v4.4.0
: @atomico/[email protected]Compare Source
Add a second parameter to useRouter with the intention of regenerating the hook's return.
v4.3.0
: @atomico/[email protected]Compare Source
@atomico/use-router@1.1.0
Now this hook is simpler, it only exposes the following utilities as a module:
Example of useRouter
v4.2.0
: @atomico/[email protected]Compare Source
In this version, the useRefValues hook is removed in favor of Atomico's core hook useRefEffect, as it serves the same purpose. This has required updating packages that depended on this hook at the monorepo level.
v4.1.2
: Fix: MIT OSS license addedCompare Source
v4.1.1
: fix useRefMutationObserver when using references without currentCompare Source
v4.1.0
: Support from [email protected]Compare Source
@atomico/use-mutation-observer
useMutationObserver
no necesita referencia y observa el host.useRefMutationObserver
permite asociar una referencia.@atomico/use-child-nodes
Es agregado, pero ahora este por defecto observa los niños con useMutationObserver
@atomico/use-disabled
Actualiza al formato actual de @atomico/use-mutation-observer
@atomico/use-render
Simplifica su codigo.
@atomico/use-parent
Permite capturar por string e instancias.
v4.0.1
: fix useSlot versionCompare Source
v4.0.0
: 🚀 Say hello to @atomico/hooks@4, Improvements for better maintenance.Compare Source
Maintenance improvement
starting from version 4, @atomico/hooks will be managed as a monorepo. This is done with the aim of:
This version breaks some hooks from version 3, such as:
Removed Hooks
Renamed Hooks
Message from the author @UpperCod
v3.50.4
: Fix default export and use-router typesCompare Source
Issue: https://github.com/atomicojs/hooks/issues/13
This version fixes the use of @atomico/hooks in webpack
v3.50.3
: Fix typesCompare Source
Resolved: Reference to TS compilation error
v3.50.2
: Fixes the dependency ondollars.js
.Compare Source
The dollars.js dependency must be installed if you want to use the useDollars hook
v3.50.1
: Fixes lost dependencies.Compare Source
v3.50.0
: New version 🚀, compatible with NodeNext🎉Compare Source
The next version has improvements thanks to @Saul-Mirone. Now, the version of
@atomico/[email protected]
supports:@atomico/hooks
, This seeks to approximate part of the approach of version 4 that considers a monorepo structurev3.49.1
: Fix useSlotCompare Source
Correctly regenerates the reference
v3.49.0
: update only for [email protected]Compare Source
v3.48.0
: Improved typing for useSlot and useProxySlotCompare Source
Atomico components do not require the use of
InstanceType
foruseSlot
anduseProxySlot
Before
After
v3.47.0
: new parameter for useSlotCompare Source
useSlot
useSlot is a really useful hook since it allows us to capture the ChildNodes associated with the slot, sometimes we filter these nodes on the return of this hook, to improve the performance of useSlot we have added a second parameter that will only be called if the slots change, this second parameter has the purpose of filtering the ChildNodes, example:
v3.46.1
: fix for export types for TSCompare Source
The Ts configuration had ignored subpaths to generate class type declarations.
v3.46.0
: add useDragResize hookCompare Source
useDragResize
allows to capture the drag and drop of an element in order to execute its resizing, the return of X and Y corresponds to the percentage of the cartesian quadrant coordinate 4, (0...1, 0...1)
Module
Syntax
v3.45.0
: Resets the coordinate to the observed frequencyCompare Source
This modification alters the return of x and y, depending on the reference to be observed as a container.
v3.44.0
: Update @atomico/exports and add use-parallaxCompare Source
Update @atomico/exports
Before the @atomico/exports configuration did not generate compilation of the files, since the code of atomico/hooks was only JS, now the compilation step has been added to allow the use of TS, this does not generate side effects if your project export the hooks according to the package.json#exports.
use-parallax
returns the mouse coordinates based on a 4 quadrant cartesian plane, this allows to achieve mouse position sensitive effects, this hook is optimized to work only if the hook is intercepted.
where:
refHost
: reference to the container to observe the movement of the mouse{ x, y }
: coordinates, from 0 to 1 according to the location of the Cartesian quadrantv3.43.1
: fix use-responsive-state allowing regenerate stateCompare Source
v3.43.0
: enhancement for useRedirectCompare Source
Now the target attribute, allows useRedirect to ignore the redirect.
v3.42.2
: Fix ts spread typesCompare Source
v3.42.1
: Fixes the time to observe the resizing of referencesCompare Source
v3.42.0
: Add third parameter for useRefValuesCompare Source
this parameter moves the effect from the useLayoutEffect cycle to the useEffect cycle.
Example
v3.41.0
: add the useRefIntersectionObserver hookCompare Source
https://atomico.gitbook.io/doc/atomico/atomico-hooks/use-intersection-observer
v3.40.0
: improve the useResponsiveState and useResizeState apiCompare Source
template string mode
useResponsiveState
this hook watches the media query
useResizeState
this hook observes the width of the webcomponent
v3.39.0
Compare Source
Changes
"atomico": "^1.58.0"
, avoid updating no you are not working with a version equal to or greater than the commented one.v3.38.0
: Add modes for useDebounceStateCompare Source
useDebounceState
Example mode timeout
default mode based on setTimeout
Example mode fps
mode based on requestAnimationFrame
Example mode idle
mode based on requestIdleCallback
v3.37.0
: Use render now check if it is in ssr modeCompare Source
this does not break the above code, but if you want to disable useRender in ssr mode, you must have a version of Atomico greater than or equal to 1.56.0
v3.36.2
: Fix peerDependencies of subpackagesCompare Source
v3.36.1
: Fix the import of the sub package.jsonCompare Source
v3.36.0
: new hooks useScript and useAttributesCompare Source
useScript
where:
src
: javascript type resource to inject into document.headdone
: optional , callback when called at the end of the script loadstatus
: script load statususeAttributes
Where:
attrs
: all the attributes defined on the webcomponent but that are not props, to facilitate reading this hook transforms the index to camelCasev3.35.1
: fix null for usePropProxyCompare Source
v3.35.0
: add the usePropProxy hookCompare Source
usePropProxy
create a proxy as setter and getter on a property associated to the webcomponent instance
this is useful for communicating values from references or watching for mutations before updates
Example
v3.34.0
: internal enhancement of useCssLightDomCompare Source
add dependency @atomico/design-tokens to extend support to firefox and safari
v3.33.6
: fix the error by unmounting the style tagCompare Source
v3.33.5
: Fix type usePromiseCompare Source
v3.33.4
: fix useHistory, useRouter and useReflectEventCompare Source
useHistory: remove the use of Array.at.
useRouter: fix use of composite, to prevent events from nested shadow dom.
useReflectEvent: improves the analysis of reflect events.
v3.33.3
: Fix the listener in the useClickCoordinates hookCompare Source
v3.33.2
: fix type of useRedirectCompare Source
v3.33.1
: fix useHistoryCompare Source
v3.33.0
: add the useHistory hookCompare Source
useHistory
stores the first parameter in a list, to keep a history of the values between renders
Example
v3.32.0
: Now the parameter for useCssLightDom is of type SheetsCompare Source
This aligns the behavior of Atomico style sheets from shadowDOM to LightDOM
Example
v3.31.0
: add the useMediaQuery hookCompare Source
useMediaQuery
Listen and set the state of a media query expression.
Example
v3.30.2
: correctly synchronizes the lists associated to the dynamic slotsCompare Source
v3.30.1
: Fix var useHostCompare Source
v3.30.0
: add useProxySlotCompare Source
useProxySlot
useProxySlot allows you to observe the nodes assigned to a slot and reassign them to another slot dynamically, example:
Input: Suppose we have a component that observe the slot[name="slide"] node
output: thanks to useProxySlot you will be able to modify the assignment of the list nodes without losing the nodes in the process as normally happens with useSlot, example:
Syntax and example
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.