Commit bb52a6e
[Release]: Publish new version 2.0.0 by merging develop into main (#123)
* 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>1 parent 92a6662 commit bb52a6e
77 files changed
Lines changed: 2643 additions & 5384 deletions
File tree
- .github
- ISSUE_TEMPLATE
- workflows
- docs
- examples
- data
- patterns
- inc
- Traits
- languages
- src
- blocks/carousel
- __tests__
- controls
- components
- dots
- progress
- slide
- styles
- viewport
- tests
- js
- phpstan
- php
- Unit
- Traits
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
1 | 26 | | |
2 | 27 | | |
3 | 28 | | |
| |||
60 | 85 | | |
61 | 86 | | |
62 | 87 | | |
63 | | - | |
| 88 | + | |
64 | 89 | | |
65 | 90 | | |
66 | 91 | | |
67 | 92 | | |
68 | 93 | | |
69 | 94 | | |
70 | | - | |
| 95 | + | |
71 | 96 | | |
72 | 97 | | |
73 | 98 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
15 | 61 | | |
16 | 62 | | |
17 | 63 | | |
| |||
48 | 94 | | |
49 | 95 | | |
50 | 96 | | |
51 | | - | |
| 97 | + | |
52 | 98 | | |
53 | 99 | | |
54 | 100 | | |
| |||
69 | 115 | | |
70 | 116 | | |
71 | 117 | | |
72 | | - | |
| 118 | + | |
73 | 119 | | |
74 | 120 | | |
75 | 121 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
64 | | - | |
65 | | - | |
66 | 64 | | |
67 | 65 | | |
68 | 66 | | |
| |||
0 commit comments