-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Interactivity API: Create
@wordpress/interactivity-router
module (#…
…57924) * Copy the wp-each implementation * Scaffold files for wp-each e2e tests * Process template nodes inside `toVdom()` * Add tests for several list manipulations * Add a new test to implement * Add SSRed elements in PHP * Add SSRed elements to letters test * Add more test cases * Test support for siblings in template * Implement tests for wp-each on navigation * Update changelog * Add `wp-each` documentation * Separate the router from the rest of the runtime * Import deps from interactivity module * Add an entry point for the router * Register interactivity router module * Add the router module to query block dependencies * Cache regions on DOMContentLoaded * Update query block view * Update e2e tests * Make router module a dynamic dependency in tests * Update tests using navigate * Expose `state` & `actions` from router module * Fix module dependency definition for tests * Fix php lint * Refactor dynamic imports in tests * Attempt to fix webpack config * Update caniuse-lite package * Update snapshots "ReadableJsAssetsWebpackPlugin" snapshots webpack output which changes with the updated caniuse-lite data. function() {} becomes ()=>{} in some places where webpack uses functions internally. * Cleanup DEWP name, ensure no dupe plugin * fixup! Cleanup DEWP name, ensure no dupe plugin * fixup! fixup! Cleanup DEWP name, ensure no dupe plugin * Convert `navigate` and `prefetch` into actions * Do not use generator for `prefetch` * Add changelog entry * Create @wordpress/interactivity-router package * Update package-lock * Add the new package to the DEWP * Use module as the externals default in the experimental module support of wp-scripts * Revert "Update package-lock" This reverts commit d09960e. * Revert "Create @wordpress/interactivity-router package" This reverts commit 7b9e112. * Remove unnecessary DEWP * Refactor for new Script Modules API * Fix router module name inside DEWP * Add DEWP to plugins * Revert "Revert "Create @wordpress/interactivity-router package"" This reverts commit e551609. * Revert "Revert "Update package-lock"" This reverts commit 3e50a84. * Update interactivity-router after reverts * Fix module dependencies in Query block * Add changelog entry * Fix typo * Revert adding externalsType in wp-scripts --------- Co-authored-by: Jon Surrell <[email protected]> Co-authored-by: Luis Herranz <[email protected]>
- Loading branch information
1 parent
fd46752
commit 5b4c751
Showing
28 changed files
with
461 additions
and
221 deletions.
There are no files selected for viewing
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
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
package-lock=false |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<!-- Learn how to maintain this file at https://github.com/WordPress/gutenberg/tree/HEAD/packages#maintaining-changelogs. --> | ||
|
||
## Unreleased | ||
|
||
### Breaking changes | ||
|
||
- Initial version. ([57924](https://github.com/WordPress/gutenberg/pull/57924)) |
Oops, something went wrong.