Sync main back into develop after release of v2.0.0#128
Sync main back into develop after release of v2.0.0#128theMasudRana wants to merge 1 commit intodevelopfrom
main back into develop after release of v2.0.0#128Conversation
* refactor: update changelog script to use npx and remove conventional-changelog-cli dependency - Changed the changelog script in package.json to use npx for conventional-changelog-cli. - Removed conventional-changelog-cli from dependencies in package-lock.json. - Cleaned up unnecessary dependencies related to conventional changelog generation. * chore: update CHANGELOG for version 1.0.1 with bug fixes and new features * chore: remove unused dependency scrivo/highlight.php from composer files * feat: add .distignore file to exclude unnecessary files from WordPress.org distribution * feat: add localization support and update package.json for repository and bugs metadata * feat: add readme.txt with plugin details and installation instructions * feat: update license and version in carousel-kit.php; add index.php for plugin structure * feat: add screenshot for plugin preview in WordPress.org * feat: update .distignore to refine exclusions for WordPress.org distribution * fix(styles): remove unnecessary grid-template-columns property * refactor(styles): improve transition effects and clean up unused properties * fix: CSS linting issues * refactor: Remove unrelated changes from current PR * feat: add placeholder logos and update hero carousel pattern * feat: update .distignore to exclude README.md and enhance carousel-kit.php for direct access protection * feat: Updated pot file * feat: update PHP requirement to 8.2, bump stable tag to 1.0.3, and add changelog entries for fixes * chore: format package.json for consistency in spacing * chore: remove upgrade notice section from readme.txt * chore: remove version field from package.json * feat: update PHP requirement to 8.2 and reorder contributors in plugin header * chore: remove version field from package-lock.json * docs: add link to full changelog in readme.txt * chore: remove version field from package-lock.json * fix: update file paths in phpcs and phpstan configuration * feat: implement autoloader for PHP classes and refactor constant definitions * fix: ignore phpcs warning for including pattern file from a fixed directory * fix: update script paths in composer.json and improve constant definitions in tests * fix: update POT-Creation-Date and add missing autoloader error message * chore: update @wordpress/scripts to version 31.5.0 * feat: add new screenshot image and remove outdated PNG file * fix: clean up .distignore by removing unnecessary files and directories * fix: remove outdated screenshots description from readme * fix: update dist target to exclude additional configuration and development files * fix: ensure direct access to Autoloader.php exits gracefully * fix: update package dependencies for minimatch and serialize-javascript * fix: update script paths in composer.json to use local binaries * feat: update README with minimum requirements and add uninstall functionality * fix: update WordPress minimum requirement to 6.6 in README, INSTALLATION, and readme.txt * fix: update contributors list in plugin header and readme.txt * fix: update package-lock.json to remove unused dependency and upgrade svgo and immutable versions * fix: update tested up to version in readme.txt from 6.9.1 to 6.9 * fix: correct release link in INSTALLATION.md and update node_modules exclusion in phpstan.neon.dist * fix: update @wordpress/scripts version to allow minor updates * chore(release): Prepare v1.0.4 release (#76) * chore: update version to 1.0.4 and enhance readme with changelog details * fix: update stable tag in readme.txt to 1.0.4 * fix: update changelog links to point to the correct repository * fix: update contributors list in README and readme.txt * docs: update Composer installation instructions in INSTALLATION.md * docs: fix formatting in Composer installation instructions in INSTALLATION.md * fix: correct release link format in CHANGELOG.md for version 1.0.1 * fix: remove hardcoded plugin version from Makefile and update installation instructions in INSTALLATION.md * docs: update note on WPackagist availability in INSTALLATION.md Co-authored-by: Utsav Patel <75293077+up1512001@users.noreply.github.com> * Fix: Wide Alignment + Block Tree Selection (#70) * fix: resolve slide translation and Block Tree selection issues with wide alignment * feat: add hooks for observing DOM mutations and resize events in carousel * fix: adjust full and wide alignment styles for carousel container * fix: clarify comment on full alignment breaking out of container * fix: refactor slide count change detection logic in useEmblaQueryLoopObserver * fix: improve slide count detection and optimize viewport scroll handling * fix: add BlockEditorSelectors interface for improved type safety in edit component * fix: ensure viewportEl is set only when node is not null to avoid state updates during unmount * fix: add box-sizing property to ensure no horizontal scroll bar in editor * fix: improve resize observer logic to prevent unnecessary reinitializations * fix: refactor viewportEl state management to prevent unnecessary reinitializations * fix: update documentation for Embla observers to clarify initialization logic * fix: enhance resize observer to track column size changes * fix: improve first slide observation logic to prevent unnecessary re-observations * fix: consolidate resize and mutation observers into a unified hook for improved carousel init * fix: update comment to reflect change from manual debounced ResizeObserver in useCarouselObservers * fix: handle empty template case by destroying Embla instance to prevent stale references Co-authored-by: Aviral Mittal aviral.ideabox@gmail.com Co-authored-by: Vishal Kotak vishalkotak200@gmail.com Co-authored-by: Aishwarrya Pande <169024277+AishwarryaPande@users.noreply.github.com> Co-authored-by: Raj Patel <71687258+imrraaj@users.noreply.github.com> Co-authored-by: Sanket Parmar <7807348+sanketio@users.noreply.github.com> * fix: add direct access protection to example pattern files (#84) Co-authored-by: rtCamp <1128395+rtCamp@users.noreply.github.com> Co-authored-by: Gagan Deep Singh <1535505+gagan0123@users.noreply.github.com> Co-authored-by: Sagar Tamang <8264719+mi5t4n@users.noreply.github.com> Co-authored-by: Aviral Mittal <68884287+aviral-mittal@users.noreply.github.com> Co-authored-by: Vishal Kotak <34092861+vishal4669@users.noreply.github.com> * feat: add new asset images and replace old screenshot (#86) * build(deps-dev): bump basic-ftp from 5.1.0 to 5.2.0 (#64) Bumps [basic-ftp](https://github.com/patrickjuchli/basic-ftp) from 5.1.0 to 5.2.0. - [Release notes](https://github.com/patrickjuchli/basic-ftp/releases) - [Changelog](https://github.com/patrickjuchli/basic-ftp/blob/master/CHANGELOG.md) - [Commits](patrickjuchli/basic-ftp@v5.1.0...v5.2.0) --- updated-dependencies: - dependency-name: basic-ftp dependency-version: 5.2.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump flatted from 3.3.3 to 3.4.2 (#91) Bumps [flatted](https://github.com/WebReflection/flatted) from 3.3.3 to 3.4.2. - [Commits](WebReflection/flatted@v3.3.3...v3.4.2) --- updated-dependencies: - dependency-name: flatted dependency-version: 3.4.2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Add Issue and PR templates. (#81) * chore: add GitHub issue form templates * chore: add pull request template * chore: update issue templates for consistency and clarity * Update incorrect link * chore: enhance pull request template with breaking changes section * chore: disable blank issues and update pull request template placeholders --------- Co-authored-by: Masud Rana <mr.masudrana00@gmail.com> * fix: add initialized state to CarouselContext to track carousel initialization (#92) * fix: add initialized state to CarouselContext to track carousel initialization Resolves: #78 * fix: use context directly to check selected index in isSlideActive * Support Vertical Alignment on Carousel Slide (#89) * build(deps): bump picomatch (#94) Bumps and [picomatch](https://github.com/micromatch/picomatch). These dependencies needed to be updated together. Updates `picomatch` from 2.3.1 to 2.3.2 - [Release notes](https://github.com/micromatch/picomatch/releases) - [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md) - [Commits](micromatch/picomatch@2.3.1...2.3.2) Updates `picomatch` from 4.0.3 to 4.0.4 - [Release notes](https://github.com/micromatch/picomatch/releases) - [Changelog](https://github.com/micromatch/picomatch/blob/master/CHANGELOG.md) - [Commits](micromatch/picomatch@2.3.1...2.3.2) --- updated-dependencies: - dependency-name: picomatch dependency-version: 2.3.2 dependency-type: indirect - dependency-name: picomatch dependency-version: 4.0.4 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps): bump yaml from 1.10.2 to 1.10.3 (#96) Bumps [yaml](https://github.com/eemeli/yaml) from 1.10.2 to 1.10.3. - [Release notes](https://github.com/eemeli/yaml/releases) - [Commits](eemeli/yaml@v1.10.2...v1.10.3) --- updated-dependencies: - dependency-name: yaml dependency-version: 1.10.3 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * fix: exclude composer.json and composer.lock from distribution package (#99) * build(deps-dev): bump lodash-es from 4.17.23 to 4.18.1 (#102) Bumps [lodash-es](https://github.com/lodash/lodash) from 4.17.23 to 4.18.1. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.23...4.18.1) --- updated-dependencies: - dependency-name: lodash-es dependency-version: 4.18.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump lodash from 4.17.23 to 4.18.1 (#105) Bumps [lodash](https://github.com/lodash/lodash) from 4.17.23 to 4.18.1. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.23...4.18.1) --- updated-dependencies: - dependency-name: lodash dependency-version: 4.18.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Fix[Controls]: Block Toolbar persists when selected block moves out of view in carousel (#107) * fix(controls): clear selected block on scroll * fix(controls): conditionally clear selected block when navigating slides in carousel * refactor(controls): merge block refs to controls block - Fixes block toolbar visible, and out of viewport, even after selecting/focusing the control block. * feat: add wp-env configuration for WP development setup (#109) * feat: add wp-env script - Added a new script "wp-env" for easier local development. - Added "@wordpress/env" dependency. - Will make local dev/test setup easier. * fix: escape pipe character in npm version command description * docs: setting up local WordPress environment using Docker and wp-env * chore(refactor): use global wp-env - Uses the global installation for wp-env due to large, and unnecessary dependency tree * docs: update installation command for wp-env in DEVELOPMENT.md * chore(docs): format URLs in DEVELOPMENT.md, and improve grammar * [Refactor]: Rename plugin name from Carousel Kit to rtCarousel (#101) * Refactor carousel block to rename from "carousel-kit" to "rt-carousel" - Updated context variable names in editor context and types. - Changed CSS class names in SCSS files to reflect new naming convention. - Modified block registration and attributes in block.json files for carousel and slide blocks. - Adjusted save and edit components to use new class names and context. - Updated test cases and bootstrap files to align with the new naming. - Ensured all references to "carousel-kit" are replaced with "rt-carousel" across the codebase. * feat: implement migration class to transition data from "carousel-kit" to "rt-carousel" * fix: rename variable for active dot size to active scale in THEMING.md * fix: ensure 'carousel_kit_patterns_cache' transient is deleted on plugin uninstall * fix: update carousel control radius and active dot scale in THEMING.md * refactor: improve migration class documentation and logic for post content updates * fix: implement atomic locking during migration and clean up lock option on uninstall * fix: update plugin name and deactivate legacy "Carousel Kit" plugin if active * fix: improve legacy "Carousel Kit" plugin deactivation logic for single-site and network-wide activations * fix: simplify lock timeout condition in migration process * fix: prevent infinite retries during migration by breaking on no changes and flush post caches * fix: update code snippet in usage guide to use HTML format for allowedSlideBlocks attribute * fix: enhance migration process to handle collation mismatches and log errors * fix: restore vertical scroll for Query Loop carousel (#104) Co-authored-by: Masud Rana <mr.masudrana00@gmail.com> * Add support for the progress bar. (#90) * Add support for the progress bar. This would support issue #88 - Add support for progress bar. * feat: implement scroll progress tracking for carousel component * feat: enhance carousel progress tracking with selected index and slide count * feat: add scroll progress and slide count to carousel context tests and implement progress bar logic * feat: initialize scroll progress and slide count in carousel context * refactor: update block name and class references from carousel-kit to rt-carousel --------- Co-authored-by: Masud Rana <mr.masudrana00@gmail.com> * build(deps-dev): bump basic-ftp from 5.2.0 to 5.2.1 (#111) Bumps [basic-ftp](https://github.com/patrickjuchli/basic-ftp) from 5.2.0 to 5.2.1. - [Release notes](https://github.com/patrickjuchli/basic-ftp/releases) - [Changelog](https://github.com/patrickjuchli/basic-ftp/blob/master/CHANGELOG.md) - [Commits](patrickjuchli/basic-ftp@v5.2.0...v5.2.1) --- updated-dependencies: - dependency-name: basic-ftp dependency-version: 5.2.1 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * build(deps-dev): bump basic-ftp from 5.2.1 to 5.2.2 (#112) Bumps [basic-ftp](https://github.com/patrickjuchli/basic-ftp) from 5.2.1 to 5.2.2. - [Release notes](https://github.com/patrickjuchli/basic-ftp/releases) - [Changelog](https://github.com/patrickjuchli/basic-ftp/blob/master/CHANGELOG.md) - [Commits](patrickjuchli/basic-ftp@v5.2.1...v5.2.2) --- updated-dependencies: - dependency-name: basic-ftp dependency-version: 5.2.2 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * [Chore]: Preparation for 1.1.0 version release (#110) * chore: bump version to 1.1.0 and update changelog - Updated version in package.json, readme.txt, and rt-carousel.php to 1.1.0 - Added new features: carousel progress bar block, vertical alignment support, and wp-env configuration - Fixed issues with navigation buttons, block toolbar visibility, and carousel initialization state - Refactored plugin name from "Carousel Kit" to "rtCarousel" - Removed development files from distribution package * fix: Fix NPM audit security issues * chore: Update README and CHANGELOG to reflect plugin renaming and automatic content migration * chore: Update package dependencies and fix changelog command * docs: Update upgrade instructions for Carousel Kit to reflect new plugin name * docs: Update changelog formatting for consistency and clarity * chore: Update package dependencies to remove path-to-regexp * fix: Add error logging for migration failures due to collation mismatches * fix: Update carousel attributes for improved functionality and consistency across patterns * fix: Update carousel attributes to include scrollProgress and slideCount for improved functionality * fix: Update axios and basic-ftp versions for improved stability and security * [Fix]: Merge conflicts with main v1.1.0 (#114) * Release `v1.0.4` (#85) * refactor: update changelog script to use npx and remove conventional-changelog-cli dependency - Changed the changelog script in package.json to use npx for conventional-changelog-cli. - Removed conventional-changelog-cli from dependencies in package-lock.json. - Cleaned up unnecessary dependencies related to conventional changelog generation. * chore: update CHANGELOG for version 1.0.1 with bug fixes and new features * chore: remove unused dependency scrivo/highlight.php from composer files * feat: add .distignore file to exclude unnecessary files from WordPress.org distribution * feat: add localization support and update package.json for repository and bugs metadata * feat: add readme.txt with plugin details and installation instructions * feat: update license and version in carousel-kit.php; add index.php for plugin structure * feat: add screenshot for plugin preview in WordPress.org * feat: update .distignore to refine exclusions for WordPress.org distribution * fix(styles): remove unnecessary grid-template-columns property * refactor(styles): improve transition effects and clean up unused properties * fix: CSS linting issues * refactor: Remove unrelated changes from current PR * feat: add placeholder logos and update hero carousel pattern * feat: update .distignore to exclude README.md and enhance carousel-kit.php for direct access protection * feat: Updated pot file * feat: update PHP requirement to 8.2, bump stable tag to 1.0.3, and add changelog entries for fixes * chore: format package.json for consistency in spacing * chore: remove upgrade notice section from readme.txt * chore: remove version field from package.json * feat: update PHP requirement to 8.2 and reorder contributors in plugin header * chore: remove version field from package-lock.json * docs: add link to full changelog in readme.txt * chore: remove version field from package-lock.json * fix: update file paths in phpcs and phpstan configuration * feat: implement autoloader for PHP classes and refactor constant definitions * fix: ignore phpcs warning for including pattern file from a fixed directory * fix: update script paths in composer.json and improve constant definitions in tests * fix: update POT-Creation-Date and add missing autoloader error message * chore: update @wordpress/scripts to version 31.5.0 * feat: add new screenshot image and remove outdated PNG file * fix: clean up .distignore by removing unnecessary files and directories * fix: remove outdated screenshots description from readme * fix: update dist target to exclude additional configuration and development files * fix: ensure direct access to Autoloader.php exits gracefully * fix: update package dependencies for minimatch and serialize-javascript * fix: update script paths in composer.json to use local binaries * feat: update README with minimum requirements and add uninstall functionality * fix: update WordPress minimum requirement to 6.6 in README, INSTALLATION, and readme.txt * fix: update contributors list in plugin header and readme.txt * fix: update package-lock.json to remove unused dependency and upgrade svgo and immutable versions * fix: update tested up to version in readme.txt from 6.9.1 to 6.9 * fix: correct release link in INSTALLATION.md and update node_modules exclusion in phpstan.neon.dist * fix: update @wordpress/scripts version to allow minor updates * chore(release): Prepare v1.0.4 release (#76) * chore: update version to 1.0.4 and enhance readme with changelog details * fix: update stable tag in readme.txt to 1.0.4 * fix: update changelog links to point to the correct repository * fix: update contributors list in README and readme.txt * docs: update Composer installation instructions in INSTALLATION.md * docs: fix formatting in Composer installation instructions in INSTALLATION.md * fix: correct release link format in CHANGELOG.md for version 1.0.1 * fix: remove hardcoded plugin version from Makefile and update installation instructions in INSTALLATION.md * docs: update note on WPackagist availability in INSTALLATION.md Co-authored-by: Utsav Patel <75293077+up1512001@users.noreply.github.com> * Fix: Wide Alignment + Block Tree Selection (#70) * fix: resolve slide translation and Block Tree selection issues with wide alignment * feat: add hooks for observing DOM mutations and resize events in carousel * fix: adjust full and wide alignment styles for carousel container * fix: clarify comment on full alignment breaking out of container * fix: refactor slide count change detection logic in useEmblaQueryLoopObserver * fix: improve slide count detection and optimize viewport scroll handling * fix: add BlockEditorSelectors interface for improved type safety in edit component * fix: ensure viewportEl is set only when node is not null to avoid state updates during unmount * fix: add box-sizing property to ensure no horizontal scroll bar in editor * fix: improve resize observer logic to prevent unnecessary reinitializations * fix: refactor viewportEl state management to prevent unnecessary reinitializations * fix: update documentation for Embla observers to clarify initialization logic * fix: enhance resize observer to track column size changes * fix: improve first slide observation logic to prevent unnecessary re-observations * fix: consolidate resize and mutation observers into a unified hook for improved carousel init * fix: update comment to reflect change from manual debounced ResizeObserver in useCarouselObservers * fix: handle empty template case by destroying Embla instance to prevent stale references Co-authored-by: Aviral Mittal aviral.ideabox@gmail.com Co-authored-by: Vishal Kotak vishalkotak200@gmail.com Co-authored-by: Aishwarrya Pande <169024277+AishwarryaPande@users.noreply.github.com> Co-authored-by: Raj Patel <71687258+imrraaj@users.noreply.github.com> Co-authored-by: Sanket Parmar <7807348+sanketio@users.noreply.github.com> * fix: add direct access protection to example pattern files (#84) Co-authored-by: rtCamp <1128395+rtCamp@users.noreply.github.com> Co-authored-by: Gagan Deep Singh <1535505+gagan0123@users.noreply.github.com> Co-authored-by: Sagar Tamang <8264719+mi5t4n@users.noreply.github.com> Co-authored-by: Aviral Mittal <68884287+aviral-mittal@users.noreply.github.com> Co-authored-by: Vishal Kotak <34092861+vishal4669@users.noreply.github.com> * feat: add new asset images and replace old screenshot (#86) --------- Co-authored-by: Utsav Patel <75293077+up1512001@users.noreply.github.com> Co-authored-by: Aishwarrya Pande <169024277+AishwarryaPande@users.noreply.github.com> Co-authored-by: Raj Patel <71687258+imrraaj@users.noreply.github.com> Co-authored-by: Sanket Parmar <7807348+sanketio@users.noreply.github.com> Co-authored-by: rtCamp <1128395+rtCamp@users.noreply.github.com> Co-authored-by: Gagan Deep Singh <1535505+gagan0123@users.noreply.github.com> Co-authored-by: Sagar Tamang <8264719+mi5t4n@users.noreply.github.com> Co-authored-by: Aviral Mittal <68884287+aviral-mittal@users.noreply.github.com> Co-authored-by: Vishal Kotak <34092861+vishal4669@users.noreply.github.com> * build(deps-dev): update package-lock.json with new dependencies * fix: update POT-Creation-Date and add carousel progress translations * fix: remove obsolete POT file for carousel translations * fix: update changelog command and remove obsolete BlockEditorSelectors interface --------- Co-authored-by: Danish Shakeel <danish.shakeel@rtcamp.com> Co-authored-by: Utsav Patel <75293077+up1512001@users.noreply.github.com> Co-authored-by: Aishwarrya Pande <169024277+AishwarryaPande@users.noreply.github.com> Co-authored-by: Raj Patel <71687258+imrraaj@users.noreply.github.com> Co-authored-by: Sanket Parmar <7807348+sanketio@users.noreply.github.com> Co-authored-by: rtCamp <1128395+rtCamp@users.noreply.github.com> Co-authored-by: Gagan Deep Singh <1535505+gagan0123@users.noreply.github.com> Co-authored-by: Sagar Tamang <8264719+mi5t4n@users.noreply.github.com> Co-authored-by: Aviral Mittal <68884287+aviral-mittal@users.noreply.github.com> Co-authored-by: Vishal Kotak <34092861+vishal4669@users.noreply.github.com> * Release `v1.0.4` (#85) (#116) * refactor: update changelog script to use npx and remove conventional-changelog-cli dependency - Changed the changelog script in package.json to use npx for conventional-changelog-cli. - Removed conventional-changelog-cli from dependencies in package-lock.json. - Cleaned up unnecessary dependencies related to conventional changelog generation. * chore: update CHANGELOG for version 1.0.1 with bug fixes and new features * chore: remove unused dependency scrivo/highlight.php from composer files * feat: add .distignore file to exclude unnecessary files from WordPress.org distribution * feat: add localization support and update package.json for repository and bugs metadata * feat: add readme.txt with plugin details and installation instructions * feat: update license and version in carousel-kit.php; add index.php for plugin structure * feat: add screenshot for plugin preview in WordPress.org * feat: update .distignore to refine exclusions for WordPress.org distribution * fix(styles): remove unnecessary grid-template-columns property * refactor(styles): improve transition effects and clean up unused properties * fix: CSS linting issues * refactor: Remove unrelated changes from current PR * feat: add placeholder logos and update hero carousel pattern * feat: update .distignore to exclude README.md and enhance carousel-kit.php for direct access protection * feat: Updated pot file * feat: update PHP requirement to 8.2, bump stable tag to 1.0.3, and add changelog entries for fixes * chore: format package.json for consistency in spacing * chore: remove upgrade notice section from readme.txt * chore: remove version field from package.json * feat: update PHP requirement to 8.2 and reorder contributors in plugin header * chore: remove version field from package-lock.json * docs: add link to full changelog in readme.txt * chore: remove version field from package-lock.json * fix: update file paths in phpcs and phpstan configuration * feat: implement autoloader for PHP classes and refactor constant definitions * fix: ignore phpcs warning for including pattern file from a fixed directory * fix: update script paths in composer.json and improve constant definitions in tests * fix: update POT-Creation-Date and add missing autoloader error message * chore: update @wordpress/scripts to version 31.5.0 * feat: add new screenshot image and remove outdated PNG file * fix: clean up .distignore by removing unnecessary files and directories * fix: remove outdated screenshots description from readme * fix: update dist target to exclude additional configuration and development files * fix: ensure direct access to Autoloader.php exits gracefully * fix: update package dependencies for minimatch and serialize-javascript * fix: update script paths in composer.json to use local binaries * feat: update README with minimum requirements and add uninstall functionality * fix: update WordPress minimum requirement to 6.6 in README, INSTALLATION, and readme.txt * fix: update contributors list in plugin header and readme.txt * fix: update package-lock.json to remove unused dependency and upgrade svgo and immutable versions * fix: update tested up to version in readme.txt from 6.9.1 to 6.9 * fix: correct release link in INSTALLATION.md and update node_modules exclusion in phpstan.neon.dist * fix: update @wordpress/scripts version to allow minor updates * chore(release): Prepare v1.0.4 release (#76) * chore: update version to 1.0.4 and enhance readme with changelog details * fix: update stable tag in readme.txt to 1.0.4 * fix: update changelog links to point to the correct repository * fix: update contributors list in README and readme.txt * docs: update Composer installation instructions in INSTALLATION.md * docs: fix formatting in Composer installation instructions in INSTALLATION.md * fix: correct release link format in CHANGELOG.md for version 1.0.1 * fix: remove hardcoded plugin version from Makefile and update installation instructions in INSTALLATION.md * docs: update note on WPackagist availability in INSTALLATION.md * Fix: Wide Alignment + Block Tree Selection (#70) * fix: resolve slide translation and Block Tree selection issues with wide alignment * feat: add hooks for observing DOM mutations and resize events in carousel * fix: adjust full and wide alignment styles for carousel container * fix: clarify comment on full alignment breaking out of container * fix: refactor slide count change detection logic in useEmblaQueryLoopObserver * fix: improve slide count detection and optimize viewport scroll handling * fix: add BlockEditorSelectors interface for improved type safety in edit component * fix: ensure viewportEl is set only when node is not null to avoid state updates during unmount * fix: add box-sizing property to ensure no horizontal scroll bar in editor * fix: improve resize observer logic to prevent unnecessary reinitializations * fix: refactor viewportEl state management to prevent unnecessary reinitializations * fix: update documentation for Embla observers to clarify initialization logic * fix: enhance resize observer to track column size changes * fix: improve first slide observation logic to prevent unnecessary re-observations * fix: consolidate resize and mutation observers into a unified hook for improved carousel init * fix: update comment to reflect change from manual debounced ResizeObserver in useCarouselObservers * fix: handle empty template case by destroying Embla instance to prevent stale references Co-authored-by: Aviral Mittal aviral.ideabox@gmail.com Co-authored-by: Vishal Kotak vishalkotak200@gmail.com * fix: add direct access protection to example pattern files (#84) * feat: add new asset images and replace old screenshot (#86) --------- Co-authored-by: Danish Shakeel <danish.shakeel@rtcamp.com> Co-authored-by: Utsav Patel <75293077+up1512001@users.noreply.github.com> Co-authored-by: Aishwarrya Pande <169024277+AishwarryaPande@users.noreply.github.com> Co-authored-by: Raj Patel <71687258+imrraaj@users.noreply.github.com> Co-authored-by: Sanket Parmar <7807348+sanketio@users.noreply.github.com> Co-authored-by: rtCamp <1128395+rtCamp@users.noreply.github.com> Co-authored-by: Gagan Deep Singh <1535505+gagan0123@users.noreply.github.com> Co-authored-by: Sagar Tamang <8264719+mi5t4n@users.noreply.github.com> Co-authored-by: Aviral Mittal <68884287+aviral-mittal@users.noreply.github.com> Co-authored-by: Vishal Kotak <34092861+vishal4669@users.noreply.github.com> * chore: update version to 2.0.0 and prepare for release (#117) * Sync `develop` with `main` to resolve conflicts (#119) * Release `v1.0.4` (#85) * refactor: update changelog script to use npx and remove conventional-changelog-cli dependency - Changed the changelog script in package.json to use npx for conventional-changelog-cli. - Removed conventional-changelog-cli from dependencies in package-lock.json. - Cleaned up unnecessary dependencies related to conventional changelog generation. * chore: update CHANGELOG for version 1.0.1 with bug fixes and new features * chore: remove unused dependency scrivo/highlight.php from composer files * feat: add .distignore file to exclude unnecessary files from WordPress.org distribution * feat: add localization support and update package.json for repository and bugs metadata * feat: add readme.txt with plugin details and installation instructions * feat: update license and version in carousel-kit.php; add index.php for plugin structure * feat: add screenshot for plugin preview in WordPress.org * feat: update .distignore to refine exclusions for WordPress.org distribution * fix(styles): remove unnecessary grid-template-columns property * refactor(styles): improve transition effects and clean up unused properties * fix: CSS linting issues * refactor: Remove unrelated changes from current PR * feat: add placeholder logos and update hero carousel pattern * feat: update .distignore to exclude README.md and enhance carousel-kit.php for direct access protection * feat: Updated pot file * feat: update PHP requirement to 8.2, bump stable tag to 1.0.3, and add changelog entries for fixes * chore: format package.json for consistency in spacing * chore: remove upgrade notice section from readme.txt * chore: remove version field from package.json * feat: update PHP requirement to 8.2 and reorder contributors in plugin header * chore: remove version field from package-lock.json * docs: add link to full changelog in readme.txt * chore: remove version field from package-lock.json * fix: update file paths in phpcs and phpstan configuration * feat: implement autoloader for PHP classes and refactor constant definitions * fix: ignore phpcs warning for including pattern file from a fixed directory * fix: update script paths in composer.json and improve constant definitions in tests * fix: update POT-Creation-Date and add missing autoloader error message * chore: update @wordpress/scripts to version 31.5.0 * feat: add new screenshot image and remove outdated PNG file * fix: clean up .distignore by removing unnecessary files and directories * fix: remove outdated screenshots description from readme * fix: update dist target to exclude additional configuration and development files * fix: ensure direct access to Autoloader.php exits gracefully * fix: update package dependencies for minimatch and serialize-javascript * fix: update script paths in composer.json to use local binaries * feat: update README with minimum requirements and add uninstall functionality * fix: update WordPress minimum requirement to 6.6 in README, INSTALLATION, and readme.txt * fix: update contributors list in plugin header and readme.txt * fix: update package-lock.json to remove unused dependency and upgrade svgo and immutable versions * fix: update tested up to version in readme.txt from 6.9.1 to 6.9 * fix: correct release link in INSTALLATION.md and update node_modules exclusion in phpstan.neon.dist * fix: update @wordpress/scripts version to allow minor updates * chore(release): Prepare v1.0.4 release (#76) * chore: update version to 1.0.4 and enhance readme with changelog details * fix: update stable tag in readme.txt to 1.0.4 * fix: update changelog links to point to the correct repository * fix: update contributors list in README and readme.txt * docs: update Composer installation instructions in INSTALLATION.md * docs: fix formatting in Composer installation instructions in INSTALLATION.md * fix: correct release link format in CHANGELOG.md for version 1.0.1 * fix: remove hardcoded plugin version from Makefile and update installation instructions in INSTALLATION.md * docs: update note on WPackagist availability in INSTALLATION.md Co-authored-by: Utsav Patel <75293077+up1512001@users.noreply.github.com> * Fix: Wide Alignment + Block Tree Selection (#70) * fix: resolve slide translation and Block Tree selection issues with wide alignment * feat: add hooks for observing DOM mutations and resize events in carousel * fix: adjust full and wide alignment styles for carousel container * fix: clarify comment on full alignment breaking out of container * fix: refactor slide count change detection logic in useEmblaQueryLoopObserver * fix: improve slide count detection and optimize viewport scroll handling * fix: add BlockEditorSelectors interface for improved type safety in edit component * fix: ensure viewportEl is set only when node is not null to avoid state updates during unmount * fix: add box-sizing property to ensure no horizontal scroll bar in editor * fix: improve resize observer logic to prevent unnecessary reinitializations * fix: refactor viewportEl state management to prevent unnecessary reinitializations * fix: update documentation for Embla observers to clarify initialization logic * fix: enhance resize observer to track column size changes * fix: improve first slide observation logic to prevent unnecessary re-observations * fix: consolidate resize and mutation observers into a unified hook for improved carousel init * fix: update comment to reflect change from manual debounced ResizeObserver in useCarouselObservers * fix: handle empty template case by destroying Embla instance to prevent stale references Co-authored-by: Aviral Mittal aviral.ideabox@gmail.com Co-authored-by: Vishal Kotak vishalkotak200@gmail.com Co-authored-by: Aishwarrya Pande <169024277+AishwarryaPande@users.noreply.github.com> Co-authored-by: Raj Patel <71687258+imrraaj@users.noreply.github.com> Co-authored-by: Sanket Parmar <7807348+sanketio@users.noreply.github.com> * fix: add direct access protection to example pattern files (#84) Co-authored-by: rtCamp <1128395+rtCamp@users.noreply.github.com> Co-authored-by: Gagan Deep Singh <1535505+gagan0123@users.noreply.github.com> Co-authored-by: Sagar Tamang <8264719+mi5t4n@users.noreply.github.com> Co-authored-by: Aviral Mittal <68884287+aviral-mittal@users.noreply.github.com> Co-authored-by: Vishal Kotak <34092861+vishal4669@users.noreply.github.com> * feat: add new asset images and replace old screenshot (#86) --------- Co-authored-by: Utsav Patel <75293077+up1512001@users.noreply.github.com> Co-authored-by: Aishwarrya Pande <169024277+AishwarryaPande@users.noreply.github.com> Co-authored-by: Raj Patel <71687258+imrraaj@users.noreply.github.com> Co-authored-by: Sanket Parmar <7807348+sanketio@users.noreply.github.com> Co-authored-by: rtCamp <1128395+rtCamp@users.noreply.github.com> Co-authored-by: Gagan Deep Singh <1535505+gagan0123@users.noreply.github.com> Co-authored-by: Sagar Tamang <8264719+mi5t4n@users.noreply.github.com> Co-authored-by: Aviral Mittal <68884287+aviral-mittal@users.noreply.github.com> Co-authored-by: Vishal Kotak <34092861+vishal4669@users.noreply.github.com> * chore: update POT creation date and package dependencies --------- Co-authored-by: Danish Shakeel <danish.shakeel@rtcamp.com> Co-authored-by: Utsav Patel <75293077+up1512001@users.noreply.github.com> Co-authored-by: Aishwarrya Pande <169024277+AishwarryaPande@users.noreply.github.com> Co-authored-by: Raj Patel <71687258+imrraaj@users.noreply.github.com> Co-authored-by: Sanket Parmar <7807348+sanketio@users.noreply.github.com> Co-authored-by: rtCamp <1128395+rtCamp@users.noreply.github.com> Co-authored-by: Gagan Deep Singh <1535505+gagan0123@users.noreply.github.com> Co-authored-by: Sagar Tamang <8264719+mi5t4n@users.noreply.github.com> Co-authored-by: Aviral Mittal <68884287+aviral-mittal@users.noreply.github.com> Co-authored-by: Vishal Kotak <34092861+vishal4669@users.noreply.github.com> * build(deps-dev): bump follow-redirects from 1.15.11 to 1.16.0 (#120) Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.11 to 1.16.0. - [Release notes](https://github.com/follow-redirects/follow-redirects/releases) - [Commits](follow-redirects/follow-redirects@v1.15.11...v1.16.0) --- updated-dependencies: - dependency-name: follow-redirects dependency-version: 1.16.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: Utsav Patel <75293077+up1512001@users.noreply.github.com> Co-authored-by: Aishwarrya Pande <169024277+AishwarryaPande@users.noreply.github.com> Co-authored-by: Raj Patel <71687258+imrraaj@users.noreply.github.com> Co-authored-by: Sanket Parmar <7807348+sanketio@users.noreply.github.com> Co-authored-by: rtCamp <1128395+rtCamp@users.noreply.github.com> Co-authored-by: Gagan Deep Singh <1535505+gagan0123@users.noreply.github.com> Co-authored-by: Sagar Tamang <8264719+mi5t4n@users.noreply.github.com> Co-authored-by: Aviral Mittal <68884287+aviral-mittal@users.noreply.github.com> Co-authored-by: Vishal Kotak <34092861+vishal4669@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Deepak Lalwani <deepak.lalwani81@gmail.com> Co-authored-by: Sagar Tamang <mi5t4n@gmail.com> Co-authored-by: Brandon Hubbard <bhubbard@users.noreply.github.com> Co-authored-by: Yogesh Bhutkar <yogesh.bhutkar@rtcamp.com> Co-authored-by: Sukhendu Sekhar Guria <sukhendu.guria@rtcamp.com> Co-authored-by: Danish Shakeel <danish.shakeel@rtcamp.com> Co-authored-by: Danish Shakeel <danishshakeel54@gmail.com>
There was a problem hiding this comment.
Pull request overview
Syncs main back into develop after the v2.0.0 release, primarily reflecting the plugin rename to rtCarousel, new carousel capabilities (progress bar + vertical alignment), and associated tooling/docs/test updates.
Changes:
- Renames plugin identifiers across PHP/JS/CSS/docs (namespace, textdomain, block names, CSS vars/classes, repo links).
- Adds carousel progress bar block + slide vertical-alignment support, and extends carousel context/state to support them.
- Introduces/updates migration + uninstall cleanup, release packaging, and test/tooling configs.
Reviewed changes
Copilot reviewed 72 out of 77 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| uninstall.php | Updates namespace/package and expands uninstall cleanup (new transients/options). |
| tests/phpstan/constants.php | Renames PHPStan constants to RT_CAROUSEL_*. |
| tests/php/bootstrap.php | Renames test bootstrap namespace/constants to RT_CAROUSEL_*. |
| tests/php/Unit/UnitTestCase.php | Updates PHPUnit namespaces/docs for rtCarousel. |
| tests/php/Unit/Traits/SingletonTest.php | Updates namespaces/imports and expected hook names for Singleton init. |
| tests/php/Unit/PluginTest.php | Updates plugin category/pattern expectations + cache key + slugs/titles. |
| tests/js/setup.ts | Updates Jest setup header comment for rtCarousel. |
| src/types.d.ts | Renames global context handle to __RT_CAROUSEL_CONTEXT__. |
| src/blocks/carousel/viewport/edit.tsx | Updates block names/classes/textdomain and allowed blocks for viewport UI. |
| src/blocks/carousel/viewport/block.json | Renames block name/category/parent/textdomain for viewport block. |
| src/blocks/carousel/view.ts | Renames store namespace and adds progress + initialized handling + new callbacks. |
| src/blocks/carousel/types.ts | Extends types for vertical alignment + progress context fields. |
| src/blocks/carousel/styles/_variants.scss | Renames wrapper class and CSS vars for column variants. |
| src/blocks/carousel/styles/_core.scss | Renames wrapper/vars and adds vertical alignment styling + vertical Query Loop fixes. |
| src/blocks/carousel/slide/save.tsx | Adds vertical-alignment class output + updates interactive namespace. |
| src/blocks/carousel/slide/edit.tsx | Adds vertical alignment toolbar + updates provided context key. |
| src/blocks/carousel/slide/block.json | Renames slide block + adds verticalAlignment attribute + updates usesContext. |
| src/blocks/carousel/save.tsx | Updates wrapper class, textdomain, context defaults (progress fields), and CSS vars. |
| src/blocks/carousel/progress/style.scss | Adds frontend styles for the new progress bar block. |
| src/blocks/carousel/progress/save.tsx | Implements progress bar markup wired to interactivity callbacks. |
| src/blocks/carousel/progress/index.ts | Registers new carousel-progress block. |
| src/blocks/carousel/progress/edit.tsx | Adds editor rendering for progress bar using editor context. |
| src/blocks/carousel/progress/block.json | Declares new progress bar block metadata/supports. |
| src/blocks/carousel/index.ts | Updates block style labels to new textdomain. |
| src/blocks/carousel/editor.scss | Renames editor-only classes from carousel-kit to rt-carousel. |
| src/blocks/carousel/editor-context.ts | Adds progress/slideCount/selectedIndex to editor context + renames window key. |
| src/blocks/carousel/edit.tsx | Renames blocks/classes/textdomain and adds Embla subscriptions for progress/slide count/index. |
| src/blocks/carousel/dots/style.scss | Renames dots classes and CSS vars. |
| src/blocks/carousel/dots/save.tsx | Renames dots wrapper/button classes. |
| src/blocks/carousel/dots/edit.tsx | Updates Embla symbol key + wrapper class/textdomain for editor dots. |
| src/blocks/carousel/dots/block.json | Renames dots block name/category/ancestor/textdomain. |
| src/blocks/carousel/controls/style.scss | Renames controls classes and CSS vars + RTL/vertical selectors. |
| src/blocks/carousel/controls/save.tsx | Renames controls wrapper/button classes and textdomain. |
| src/blocks/carousel/controls/edit.tsx | Renames wrapper/buttons and merges refs for editor UX. |
| src/blocks/carousel/controls/components/icons.tsx | Renames icon class names. |
| src/blocks/carousel/controls/block.json | Renames controls block name/category/ancestor/textdomain. |
| src/blocks/carousel/block.json | Renames carousel block name/category/textdomain and provided context key. |
| src/blocks/carousel/tests/view.test.ts | Updates store namespace/key/classes and adds tests for progress callbacks + initialized flag. |
| src/blocks/carousel/tests/types.test.ts | Extends context type tests for new fields. |
| rt-carousel.php | Adds new plugin bootstrap file (rtCarousel) + runs migration + loads plugin. |
| readme.txt | Updates WP.org readme for rtCarousel rename + adds 2.0.0 changelog + upgrade notice. |
| phpunit.xml.dist | Updates PHP unit test source include to new plugin file. |
| phpstan.neon.dist | Updates PHPStan paths to new plugin file. |
| phpcs.xml.dist | Updates ruleset naming, scanned file, and textdomain. |
| package.json | Renames package + bumps version + updates repo links + updates changelog/i18n scripts and deps. |
| languages/rt-carousel.pot | Updates project metadata, textdomain, and adds new strings (progress + deactivation notice). |
| jest.config.js | Updates Jest display name and header comments. |
| index.php | Updates package tag in header comment. |
| inc/Traits/Singleton.php | Renames namespace/package and singleton hook prefix. |
| inc/Plugin.php | Renames namespace, adds legacy plugin deactivation, updates block registration and pattern cache key. |
| inc/Migration.php | Adds one-time content migration from carousel-kit to rt-carousel with locking + cleanup. |
| inc/Autoloader.php | Renames namespace/constants/textdomain and updates missing-autoloader message. |
| examples/patterns/testimonial-carousel.php | Renames pattern headers + block markup to new block names/classes/context vars. |
| examples/patterns/query-loop.php | Renames pattern headers + block markup to new block names/classes/context vars. |
| examples/patterns/logo-showcase.php | Renames pattern headers + updates constants usage + block markup identifiers. |
| examples/patterns/hero-carousel.php | Renames pattern headers + updates constants usage + block markup identifiers. |
| docs/USAGE.md | Updates block names and example markup for allowedSlideBlocks. |
| docs/THEMING.md | Renames documented CSS variables and block names to rt-carousel equivalents. |
| docs/INSTALLATION.md | Updates release links, repo URL, and Composer package name/version. |
| docs/CONTRIBUTING.md | Renames project references and expected ZIP output name. |
| docs/API.md | Updates store namespace and symbol key/docs to rt-carousel equivalents. |
| composer.json | Renames Composer package and PSR-4 namespaces and sets autoloader suffix. |
| carousel-kit.php | Removes legacy plugin bootstrap entrypoint. |
| blueprint.json | Updates Playground blueprint URLs and demo site name for rtCarousel. |
| README.md | Updates repo badges/links and rename references. |
| Makefile | Renames plugin slug and adjusts dist packaging exclude list. |
| DEVELOPMENT.md | Adds wp-env local environment setup and updates docs for rtCarousel PSR-4 namespace. |
| CHANGELOG.md | Adds 2.0.0 release notes and normalizes headings for older versions. |
| .wp-env.json | Adds wp-env configuration for local WordPress dev. |
| .gitignore | Renames ignored ZIP artifact to rt-carousel.zip. |
| .github/workflows/release.yml | Updates release asset name to rt-carousel.zip. |
| .github/pull_request_template.md | Adds PR template file. |
| .github/ISSUE_TEMPLATE/enhancement.yml | Adds enhancement issue form template. |
| .github/ISSUE_TEMPLATE/config.yml | Disables blank issues and adds security contact link. |
| .github/ISSUE_TEMPLATE/bug_report.yml | Adds bug report issue form template. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| const EMBLA_KEY = Symbol.for( 'carousel-system.carousel' ); | ||
|
|
There was a problem hiding this comment.
EMBLA_KEY is still using Symbol.for('carousel-system.carousel'), but src/blocks/carousel/dots/edit.tsx and the frontend store (src/blocks/carousel/view.ts) use Symbol.for('rt-carousel.carousel'). This mismatch breaks the DOM fallback (getEmblaFromDOM) when the viewport attaches the Embla instance under a different symbol key. Use a single shared symbol key across viewport/controls/dots (preferably rt-carousel.carousel to match the frontend) so the editor fallback can reliably find the instance.
| const EMBLA_KEY = Symbol.for( 'rt-carousel.carousel' ); | ||
|
|
There was a problem hiding this comment.
getEmblaFromDOM() reads the Embla instance from the viewport using EMBLA_KEY. In this PR EMBLA_KEY is Symbol.for('rt-carousel.carousel'), but the editor viewport/controls still use Symbol.for('carousel-system.carousel') (see src/blocks/carousel/viewport/edit.tsx and src/blocks/carousel/controls/edit.tsx). That means the DOM fallback can fail when React context is unavailable. Standardize all editor modules to the same symbol key (ideally rt-carousel.carousel, matching src/blocks/carousel/view.ts).
| --exclude='jest.config.js' \ | ||
| --exclude='webpack.config.js' \ | ||
| --exclude='package.json' \ | ||
| --exclude='package-lock.json' \ | ||
| --exclude='blueprint.json' \ | ||
| --exclude='tsconfig.json' \ | ||
| --exclude='composer.json' \ | ||
| --exclude='composer.lock' \ | ||
| --exclude='Makefile' \ | ||
| --exclude='CHANGELOG.md' \ | ||
| --exclude='DEVELOPMENT.md' \ |
There was a problem hiding this comment.
The release workflow runs make zip, which uses this rsync exclude list to build the distributable ZIP. composer.json and composer.lock are no longer excluded here, so they will be shipped in the GitHub release ZIP even though .distignore excludes them for WP.org. If the intent is to keep Composer files out of the distribution package (per the earlier WP.org guidance), add --exclude='composer.json' and --exclude='composer.lock' back to the rsync excludes.
chore: update CHANGELOG for version 1.0.1 with bug fixes and new features
chore: remove unused dependency scrivo/highlight.php from composer files
feat: add .distignore file to exclude unnecessary files from WordPress.org distribution
feat: add localization support and update package.json for repository and bugs metadata
feat: add readme.txt with plugin details and installation instructions
feat: update license and version in carousel-kit.php; add index.php for plugin structure
feat: add screenshot for plugin preview in WordPress.org
feat: update .distignore to refine exclusions for WordPress.org distribution
fix(styles): remove unnecessary grid-template-columns property
refactor(styles): improve transition effects and clean up unused properties
fix: CSS linting issues
refactor: Remove unrelated changes from current PR
feat: add placeholder logos and update hero carousel pattern
feat: update .distignore to exclude README.md and enhance carousel-kit.php for direct access protection
feat: Updated pot file
feat: update PHP requirement to 8.2, bump stable tag to 1.0.3, and add changelog entries for fixes
chore: format package.json for consistency in spacing
chore: remove upgrade notice section from readme.txt
chore: remove version field from package.json
feat: update PHP requirement to 8.2 and reorder contributors in plugin header
chore: remove version field from package-lock.json
docs: add link to full changelog in readme.txt
chore: remove version field from package-lock.json
fix: update file paths in phpcs and phpstan configuration
feat: implement autoloader for PHP classes and refactor constant definitions
fix: ignore phpcs warning for including pattern file from a fixed directory
fix: update script paths in composer.json and improve constant definitions in tests
fix: update POT-Creation-Date and add missing autoloader error message
chore: update @wordpress/scripts to version 31.5.0
feat: add new screenshot image and remove outdated PNG file
fix: clean up .distignore by removing unnecessary files and directories
fix: remove outdated screenshots description from readme
fix: update dist target to exclude additional configuration and development files
fix: ensure direct access to Autoloader.php exits gracefully
fix: update package dependencies for minimatch and serialize-javascript
fix: update script paths in composer.json to use local binaries
feat: update README with minimum requirements and add uninstall functionality
fix: update WordPress minimum requirement to 6.6 in README, INSTALLATION, and readme.txt
fix: update contributors list in plugin header and readme.txt
fix: update package-lock.json to remove unused dependency and upgrade svgo and immutable versions
fix: update tested up to version in readme.txt from 6.9.1 to 6.9
fix: correct release link in INSTALLATION.md and update node_modules exclusion in phpstan.neon.dist
fix: update @wordpress/scripts version to allow minor updates
chore(release): Prepare v1.0.4 release (chore(release): Prepare v1.0.4 release #76)
chore: update version to 1.0.4 and enhance readme with changelog details
fix: update stable tag in readme.txt to 1.0.4
fix: update changelog links to point to the correct repository
fix: update contributors list in README and readme.txt
docs: update Composer installation instructions in INSTALLATION.md
docs: fix formatting in Composer installation instructions in INSTALLATION.md
fix: correct release link format in CHANGELOG.md for version 1.0.1
fix: remove hardcoded plugin version from Makefile and update installation instructions in INSTALLATION.md
docs: update note on WPackagist availability in INSTALLATION.md
Fix: Wide Alignment + Block Tree Selection (Fix: Wide Alignment + Block Tree Selection #70)
fix: resolve slide translation and Block Tree selection issues with wide alignment
feat: add hooks for observing DOM mutations and resize events in carousel
fix: adjust full and wide alignment styles for carousel container
fix: clarify comment on full alignment breaking out of container
fix: refactor slide count change detection logic in useEmblaQueryLoopObserver
fix: improve slide count detection and optimize viewport scroll handling
fix: add BlockEditorSelectors interface for improved type safety in edit component
fix: ensure viewportEl is set only when node is not null to avoid state updates during unmount
fix: add box-sizing property to ensure no horizontal scroll bar in editor
fix: improve resize observer logic to prevent unnecessary reinitializations
fix: refactor viewportEl state management to prevent unnecessary reinitializations
fix: update documentation for Embla observers to clarify initialization logic
fix: enhance resize observer to track column size changes
fix: improve first slide observation logic to prevent unnecessary re-observations
fix: consolidate resize and mutation observers into a unified hook for improved carousel init
fix: update comment to reflect change from manual debounced ResizeObserver in useCarouselObservers
fix: handle empty template case by destroying Embla instance to prevent stale references
Co-authored-by: Aviral Mittal aviral.ideabox@gmail.com
Co-authored-by: Vishal Kotak vishalkotak200@gmail.com
fix: add direct access protection to example pattern files ([Fix]: Add direct access protection to example pattern files #84)
feat: add new asset images and replace old screenshot (Add new asset images and replace old screenshot #86)
build(deps-dev): bump basic-ftp from 5.1.0 to 5.2.0 (build(deps-dev): bump basic-ftp from 5.1.0 to 5.2.0 #64)
Bumps basic-ftp from 5.1.0 to 5.2.0.
updated-dependencies:
Bumps flatted from 3.3.3 to 3.4.2.
updated-dependencies:
Add Issue and PR templates. (Add Issue and PR templates. #81)
chore: add GitHub issue form templates
chore: add pull request template
chore: update issue templates for consistency and clarity
Update incorrect link
chore: enhance pull request template with breaking changes section
chore: disable blank issues and update pull request template placeholders
fix: add initialized state to CarouselContext to track carousel initialization (fix: add initialized state to CarouselContext to track carousel initialization #92)
fix: add initialized state to CarouselContext to track carousel initialization
Resolves: #78
fix: use context directly to check selected index in isSlideActive
Support Vertical Alignment on Carousel Slide (Support Vertical Alignment on Carousel Slide #89)
build(deps): bump picomatch (build(deps): bump picomatch #94)
Bumps and picomatch. These dependencies needed to be updated together.
Updates
picomatchfrom 2.3.1 to 2.3.2Updates
picomatchfrom 4.0.3 to 4.0.4updated-dependencies:
Bumps yaml from 1.10.2 to 1.10.3.
updated-dependencies:
fix: exclude composer.json and composer.lock from distribution package ([Chore]: Exclude composer.json and composer.lock from distribution package #99)
build(deps-dev): bump lodash-es from 4.17.23 to 4.18.1 (build(deps-dev): bump lodash-es from 4.17.23 to 4.18.1 #102)
Bumps lodash-es from 4.17.23 to 4.18.1.
updated-dependencies:
Bumps lodash from 4.17.23 to 4.18.1.
updated-dependencies:
Fix[Controls]: Block Toolbar persists when selected block moves out of view in carousel (Fix[Controls]: Block Toolbar persists when selected block moves out of view in carousel #107)
fix(controls): clear selected block on scroll
fix(controls): conditionally clear selected block when navigating slides in carousel
refactor(controls): merge block refs to controls block
feat: add wp-env configuration for WP development setup (feat: add wp-env configuration for WP development setup #109)
feat: add wp-env script
fix: escape pipe character in npm version command description
docs: setting up local WordPress environment using Docker and wp-env
chore(refactor): use global wp-env
docs: update installation command for wp-env in DEVELOPMENT.md
chore(docs): format URLs in DEVELOPMENT.md, and improve grammar
[Refactor]: Rename plugin name from Carousel Kit to rtCarousel ([Refactor]: Rename plugin name from Carousel Kit to rtCarousel #101)
Refactor carousel block to rename from "carousel-kit" to "rt-carousel"
feat: implement migration class to transition data from "carousel-kit" to "rt-carousel"
fix: rename variable for active dot size to active scale in THEMING.md
fix: ensure 'carousel_kit_patterns_cache' transient is deleted on plugin uninstall
fix: update carousel control radius and active dot scale in THEMING.md
refactor: improve migration class documentation and logic for post content updates
fix: implement atomic locking during migration and clean up lock option on uninstall
fix: update plugin name and deactivate legacy "Carousel Kit" plugin if active
fix: improve legacy "Carousel Kit" plugin deactivation logic for single-site and network-wide activations
fix: simplify lock timeout condition in migration process
fix: prevent infinite retries during migration by breaking on no changes and flush post caches
fix: update code snippet in usage guide to use HTML format for allowedSlideBlocks attribute
fix: enhance migration process to handle collation mismatches and log errors
fix: restore vertical scroll for Query Loop carousel (fix: restore vertical scroll for Query Loop carousel #104)
Add support for the progress bar. (Add support for the progress bar. #90)
Add support for the progress bar.
This would support issue #88 - Add support for progress bar.
feat: implement scroll progress tracking for carousel component
feat: enhance carousel progress tracking with selected index and slide count
feat: add scroll progress and slide count to carousel context tests and implement progress bar logic
feat: initialize scroll progress and slide count in carousel context
refactor: update block name and class references from carousel-kit to rt-carousel
Bumps basic-ftp from 5.2.0 to 5.2.1.
updated-dependencies:
Bumps basic-ftp from 5.2.1 to 5.2.2.
updated-dependencies:
[Chore]: Preparation for 1.1.0 version release ([Chore]: Preparation for 1.1.0 version release #110)
chore: bump version to 1.1.0 and update changelog
fix: Fix NPM audit security issues
chore: Update README and CHANGELOG to reflect plugin renaming and automatic content migration
chore: Update package dependencies and fix changelog command
docs: Update upgrade instructions for Carousel Kit to reflect new plugin name
docs: Update changelog formatting for consistency and clarity
chore: Update package dependencies to remove path-to-regexp
fix: Add error logging for migration failures due to collation mismatches
fix: Update carousel attributes for improved functionality and consistency across patterns
fix: Update carousel attributes to include scrollProgress and slideCount for improved functionality
fix: Update axios and basic-ftp versions for improved stability and security
[Fix]: Merge conflicts with main v1.1.0 ([Fix]: Merge conflicts with main v1.1.0 #114)
Release
v1.0.4(Releasev1.0.4#85)refactor: update changelog script to use npx and remove conventional-changelog-cli dependency
chore: update CHANGELOG for version 1.0.1 with bug fixes and new features
chore: remove unused dependency scrivo/highlight.php from composer files
feat: add .distignore file to exclude unnecessary files from WordPress.org distribution
feat: add localization support and update package.json for repository and bugs metadata
feat: add readme.txt with plugin details and installation instructions
feat: update license and version in carousel-kit.php; add index.php for plugin structure
feat: add screenshot for plugin preview in WordPress.org
feat: update .distignore to refine exclusions for WordPress.org distribution
fix(styles): remove unnecessary grid-template-columns property
refactor(styles): improve transition effects and clean up unused properties
fix: CSS linting issues
refactor: Remove unrelated changes from current PR
feat: add placeholder logos and update hero carousel pattern
feat: update .distignore to exclude README.md and enhance carousel-kit.php for direct access protection
feat: Updated pot file
feat: update PHP requirement to 8.2, bump stable tag to 1.0.3, and add changelog entries for fixes
chore: format package.json for consistency in spacing
chore: remove upgrade notice section from readme.txt
chore: remove version field from package.json
feat: update PHP requirement to 8.2 and reorder contributors in plugin header
chore: remove version field from package-lock.json
docs: add link to full changelog in readme.txt
chore: remove version field from package-lock.json
fix: update file paths in phpcs and phpstan configuration
feat: implement autoloader for PHP classes and refactor constant definitions
fix: ignore phpcs warning for including pattern file from a fixed directory
fix: update script paths in composer.json and improve constant definitions in tests
fix: update POT-Creation-Date and add missing autoloader error message
chore: update @wordpress/scripts to version 31.5.0
feat: add new screenshot image and remove outdated PNG file
fix: clean up .distignore by removing unnecessary files and directories
fix: remove outdated screenshots description from readme
fix: update dist target to exclude additional configuration and development files
fix: ensure direct access to Autoloader.php exits gracefully
fix: update package dependencies for minimatch and serialize-javascript
fix: update script paths in composer.json to use local binaries
feat: update README with minimum requirements and add uninstall functionality
fix: update WordPress minimum requirement to 6.6 in README, INSTALLATION, and readme.txt
fix: update contributors list in plugin header and readme.txt
fix: update package-lock.json to remove unused dependency and upgrade svgo and immutable versions
fix: update tested up to version in readme.txt from 6.9.1 to 6.9
fix: correct release link in INSTALLATION.md and update node_modules exclusion in phpstan.neon.dist
fix: update @wordpress/scripts version to allow minor updates
chore(release): Prepare v1.0.4 release (chore(release): Prepare v1.0.4 release #76)
chore: update version to 1.0.4 and enhance readme with changelog details
fix: update stable tag in readme.txt to 1.0.4
fix: update changelog links to point to the correct repository
fix: update contributors list in README and readme.txt
docs: update Composer installation instructions in INSTALLATION.md
docs: fix formatting in Composer installation instructions in INSTALLATION.md
fix: correct release link format in CHANGELOG.md for version 1.0.1
fix: remove hardcoded plugin version from Makefile and update installation instructions in INSTALLATION.md
docs: update note on WPackagist availability in INSTALLATION.md
Fix: Wide Alignment + Block Tree Selection (Fix: Wide Alignment + Block Tree Selection #70)
fix: resolve slide translation and Block Tree selection issues with wide alignment
feat: add hooks for observing DOM mutations and resize events in carousel
fix: adjust full and wide alignment styles for carousel container
fix: clarify comment on full alignment breaking out of container
fix: refactor slide count change detection logic in useEmblaQueryLoopObserver
fix: improve slide count detection and optimize viewport scroll handling
fix: add BlockEditorSelectors interface for improved type safety in edit component
fix: ensure viewportEl is set only when node is not null to avoid state updates during unmount
fix: add box-sizing property to ensure no horizontal scroll bar in editor
fix: improve resize observer logic to prevent unnecessary reinitializations
fix: refactor viewportEl state management to prevent unnecessary reinitializations
fix: update documentation for Embla observers to clarify initialization logic
fix: enhance resize observer to track column size changes
fix: improve first slide observation logic to prevent unnecessary re-observations
fix: consolidate resize and mutation observers into a unified hook for improved carousel init
fix: update comment to reflect change from manual debounced ResizeObserver in useCarouselObservers
fix: handle empty template case by destroying Embla instance to prevent stale references
Co-authored-by: Aviral Mittal aviral.ideabox@gmail.com
Co-authored-by: Vishal Kotak vishalkotak200@gmail.com
fix: add direct access protection to example pattern files ([Fix]: Add direct access protection to example pattern files #84)
feat: add new asset images and replace old screenshot (Add new asset images and replace old screenshot #86)
build(deps-dev): update package-lock.json with new dependencies
fix: update POT-Creation-Date and add carousel progress translations
fix: remove obsolete POT file for carousel translations
fix: update changelog command and remove obsolete BlockEditorSelectors interface
Release
v1.0.4(Releasev1.0.4#85) ([Fix]: Merge conflicts resolves 2.0.0 #116)refactor: update changelog script to use npx and remove conventional-changelog-cli dependency
chore: update CHANGELOG for version 1.0.1 with bug fixes and new features
chore: remove unused dependency scrivo/highlight.php from composer files
feat: add .distignore file to exclude unnecessary files from WordPress.org distribution
feat: add localization support and update package.json for repository and bugs metadata
feat: add readme.txt with plugin details and installation instructions
feat: update license and version in carousel-kit.php; add index.php for plugin structure
feat: add screenshot for plugin preview in WordPress.org
feat: update .distignore to refine exclusions for WordPress.org distribution
fix(styles): remove unnecessary grid-template-columns property
refactor(styles): improve transition effects and clean up unused properties
fix: CSS linting issues
refactor: Remove unrelated changes from current PR
feat: add placeholder logos and update hero carousel pattern
feat: update .distignore to exclude README.md and enhance carousel-kit.php for direct access protection
feat: Updated pot file
feat: update PHP requirement to 8.2, bump stable tag to 1.0.3, and add changelog entries for fixes
chore: format package.json for consistency in spacing
chore: remove upgrade notice section from readme.txt
chore: remove version field from package.json
feat: update PHP requirement to 8.2 and reorder contributors in plugin header
chore: remove version field from package-lock.json
docs: add link to full changelog in readme.txt
chore: remove version field from package-lock.json
fix: update file paths in phpcs and phpstan configuration
feat: implement autoloader for PHP classes and refactor constant definitions
fix: ignore phpcs warning for including pattern file from a fixed directory
fix: update script paths in composer.json and improve constant definitions in tests
fix: update POT-Creation-Date and add missing autoloader error message
chore: update @wordpress/scripts to version 31.5.0
feat: add new screenshot image and remove outdated PNG file
fix: clean up .distignore by removing unnecessary files and directories
fix: remove outdated screenshots description from readme
fix: update dist target to exclude additional configuration and development files
fix: ensure direct access to Autoloader.php exits gracefully
fix: update package dependencies for minimatch and serialize-javascript
fix: update script paths in composer.json to use local binaries
feat: update README with minimum requirements and add uninstall functionality
fix: update WordPress minimum requirement to 6.6 in README, INSTALLATION, and readme.txt
fix: update contributors list in plugin header and readme.txt
fix: update package-lock.json to remove unused dependency and upgrade svgo and immutable versions
fix: update tested up to version in readme.txt from 6.9.1 to 6.9
fix: correct release link in INSTALLATION.md and update node_modules exclusion in phpstan.neon.dist
fix: update @wordpress/scripts version to allow minor updates
chore(release): Prepare v1.0.4 release (chore(release): Prepare v1.0.4 release #76)
chore: update version to 1.0.4 and enhance readme with changelog details
fix: update stable tag in readme.txt to 1.0.4
fix: update changelog links to point to the correct repository
fix: update contributors list in README and readme.txt
docs: update Composer installation instructions in INSTALLATION.md
docs: fix formatting in Composer installation instructions in INSTALLATION.md
fix: correct release link format in CHANGELOG.md for version 1.0.1
fix: remove hardcoded plugin version from Makefile and update installation instructions in INSTALLATION.md
docs: update note on WPackagist availability in INSTALLATION.md
Fix: Wide Alignment + Block Tree Selection (Fix: Wide Alignment + Block Tree Selection #70)
fix: resolve slide translation and Block Tree selection issues with wide alignment
feat: add hooks for observing DOM mutations and resize events in carousel
fix: adjust full and wide alignment styles for carousel container
fix: clarify comment on full alignment breaking out of container
fix: refactor slide count change detection logic in useEmblaQueryLoopObserver
fix: improve slide count detection and optimize viewport scroll handling
fix: add BlockEditorSelectors interface for improved type safety in edit component
fix: ensure viewportEl is set only when node is not null to avoid state updates during unmount
fix: add box-sizing property to ensure no horizontal scroll bar in editor
fix: improve resize observer logic to prevent unnecessary reinitializations
fix: refactor viewportEl state management to prevent unnecessary reinitializations
fix: update documentation for Embla observers to clarify initialization logic
fix: enhance resize observer to track column size changes
fix: improve first slide observation logic to prevent unnecessary re-observations
fix: consolidate resize and mutation observers into a unified hook for improved carousel init
fix: update comment to reflect change from manual debounced ResizeObserver in useCarouselObservers
fix: handle empty template case by destroying Embla instance to prevent stale references
Co-authored-by: Aviral Mittal aviral.ideabox@gmail.com
Co-authored-by: Vishal Kotak vishalkotak200@gmail.com
fix: add direct access protection to example pattern files ([Fix]: Add direct access protection to example pattern files #84)
feat: add new asset images and replace old screenshot (Add new asset images and replace old screenshot #86)
chore: update version to 2.0.0 and prepare for release ([Chore]: Update version to 2.0.0 and prepare for release #117)
Sync
developwithmainto resolve conflicts (Syncdevelopwithmainto resolve conflicts #119)Release
v1.0.4(Releasev1.0.4#85)refactor: update changelog script to use npx and remove conventional-changelog-cli dependency
chore: update CHANGELOG for version 1.0.1 with bug fixes and new features
chore: remove unused dependency scrivo/highlight.php from composer files
feat: add .distignore file to exclude unnecessary files from WordPress.org distribution
feat: add localization support and update package.json for repository and bugs metadata
feat: add readme.txt with plugin details and installation instructions
feat: update license and version in carousel-kit.php; add index.php for plugin structure
feat: add screenshot for plugin preview in WordPress.org
feat: update .distignore to refine exclusions for WordPress.org distribution
fix(styles): remove unnecessary grid-template-columns property
refactor(styles): improve transition effects and clean up unused properties
fix: CSS linting issues
refactor: Remove unrelated changes from current PR
feat: add placeholder logos and update hero carousel pattern
feat: update .distignore to exclude README.md and enhance carousel-kit.php for direct access protection
feat: Updated pot file
feat: update PHP requirement to 8.2, bump stable tag to 1.0.3, and add changelog entries for fixes
chore: format package.json for consistency in spacing
chore: remove upgrade notice section from readme.txt
chore: remove version field from package.json
feat: update PHP requirement to 8.2 and reorder contributors in plugin header
chore: remove version field from package-lock.json
docs: add link to full changelog in readme.txt
chore: remove version field from package-lock.json
fix: update file paths in phpcs and phpstan configuration
feat: implement autoloader for PHP classes and refactor constant definitions
fix: ignore phpcs warning for including pattern file from a fixed directory
fix: update script paths in composer.json and improve constant definitions in tests
fix: update POT-Creation-Date and add missing autoloader error message
chore: update @wordpress/scripts to version 31.5.0
feat: add new screenshot image and remove outdated PNG file
fix: clean up .distignore by removing unnecessary files and directories
fix: remove outdated screenshots description from readme
fix: update dist target to exclude additional configuration and development files
fix: ensure direct access to Autoloader.php exits gracefully
fix: update package dependencies for minimatch and serialize-javascript
fix: update script paths in composer.json to use local binaries
feat: update README with minimum requirements and add uninstall functionality
fix: update WordPress minimum requirement to 6.6 in README, INSTALLATION, and readme.txt
fix: update contributors list in plugin header and readme.txt
fix: update package-lock.json to remove unused dependency and upgrade svgo and immutable versions
fix: update tested up to version in readme.txt from 6.9.1 to 6.9
fix: correct release link in INSTALLATION.md and update node_modules exclusion in phpstan.neon.dist
fix: update @wordpress/scripts version to allow minor updates
chore(release): Prepare v1.0.4 release (chore(release): Prepare v1.0.4 release #76)
chore: update version to 1.0.4 and enhance readme with changelog details
fix: update stable tag in readme.txt to 1.0.4
fix: update changelog links to point to the correct repository
fix: update contributors list in README and readme.txt
docs: update Composer installation instructions in INSTALLATION.md
docs: fix formatting in Composer installation instructions in INSTALLATION.md
fix: correct release link format in CHANGELOG.md for version 1.0.1
fix: remove hardcoded plugin version from Makefile and update installation instructions in INSTALLATION.md
docs: update note on WPackagist availability in INSTALLATION.md
Fix: Wide Alignment + Block Tree Selection (Fix: Wide Alignment + Block Tree Selection #70)
fix: resolve slide translation and Block Tree selection issues with wide alignment
feat: add hooks for observing DOM mutations and resize events in carousel
fix: adjust full and wide alignment styles for carousel container
fix: clarify comment on full alignment breaking out of container
fix: refactor slide count change detection logic in useEmblaQueryLoopObserver
fix: improve slide count detection and optimize viewport scroll handling
fix: add BlockEditorSelectors interface for improved type safety in edit component
fix: ensure viewportEl is set only when node is not null to avoid state updates during unmount
fix: add box-sizing property to ensure no horizontal scroll bar in editor
fix: improve resize observer logic to prevent unnecessary reinitializations
fix: refactor viewportEl state management to prevent unnecessary reinitializations
fix: update documentation for Embla observers to clarify initialization logic
fix: enhance resize observer to track column size changes
fix: improve first slide observation logic to prevent unnecessary re-observations
fix: consolidate resize and mutation observers into a unified hook for improved carousel init
fix: update comment to reflect change from manual debounced ResizeObserver in useCarouselObservers
fix: handle empty template case by destroying Embla instance to prevent stale references
Co-authored-by: Aviral Mittal aviral.ideabox@gmail.com
Co-authored-by: Vishal Kotak vishalkotak200@gmail.com
fix: add direct access protection to example pattern files ([Fix]: Add direct access protection to example pattern files #84)
feat: add new asset images and replace old screenshot (Add new asset images and replace old screenshot #86)
Bumps follow-redirects from 1.15.11 to 1.16.0.
updated-dependencies:
Summary
Describe the change and why it is needed.
Type of change
Related issue(s)
Closes #
Relates to # (if applicable)
What changed
Breaking changes
Does this introduce a breaking change? If yes, describe the impact and migration path below.
Testing
Describe how this was tested.
Test details:
Screenshots / recordings
If applicable, add screenshots or short recordings.
Checklist