ng-smooth-carousel
Version:
A smooth, customizable carousel component for Angular 14 applications
119 lines (92 loc) • 4.18 kB
Markdown
# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [14.1.0] - 2025-04-20
### Added
- Added individual position styling for prev and next buttons
- Each button can now have its own position properties (top, bottom, left, right, position, transform, zIndex)
- Position properties can be specified directly in the nextButton and prevButton objects
## [14.0.9] - 2025-04-18
### Added
- Hide navigation buttons when empty state is displayed
## [14.0.6] - 2025-04-18
### Fixed
- Improved empty state styling to ensure it takes full width of the carousel container
- Fixed custom empty state template display for better customization
- Improved documentation for empty state template usage
- Added warning about not wrapping the carousel component in `*ngIf` conditions when using empty state templates
- Enhanced examples to demonstrate proper usage of empty state templates
## [14.0.5] - 2025-04-17
### Added
- Custom empty state template support via `<ng-template #emptyState>` to display custom content when no items are found
- Updated documentation with examples for using custom empty state templates
### Fixed
- Fixed linting errors in template handling
- Improved null handling with optional chaining for filtered items
## [14.0.3] - 2025-04-16
### Fixed
- Fixed issue with navigation buttons disappearing when switching tabs
- Improved memory management and cleanup to prevent memory leaks
- Added proper handling of carousel visibility in tabbed interfaces
- Fixed vertical orientation issues with one-item scrolling feature
- Fixed border radius display issues on carousel items
- Improved dimension calculations for carousel items
### Added
- Added IntersectionObserver to detect when carousel becomes visible
- Added ResizeObserver to detect size changes in carousel container
- Added better event cleanup in component destruction
## [14.0.0] - 2025-04-16
### Added
- Angular 14 compatibility & it's initial release
### Changed
- Optimized package size by removing test dependencies (Karma, Jasmine)
- Cleaned up project structure
## [1.0.3] - 2025-04-15
### Fixed
- Angular 14 compatibility issues
- Module import issues in feature modules
- Added proper peer dependencies for Angular 14-17 support
- Ensured all necessary exports in public API
## [1.0.2] - 2025-04-15
### Changed
- Default navigation icons changed to chevron arrows (❮❯)
- `showNavigation` now defaults to true and completely removes navigation buttons from DOM when false
- Navigation buttons now properly disable at the start/end of content
- Improved disabled button styling with not-allowed cursor
- Added smooth transitions for button states
- Fixed vertical mode navigation with proper icon rotation
### Fixed
- Navigation button states now correctly update when reaching content boundaries
- Search dropdown positioning in vertical mode
- Button hover effects in vertical orientation
### Added
- Autoplay functionality with configurable delay
- Search functionality with filtering
- Custom item templates
- Responsive design
- Loop functionality
## [1.0.0] - 2025-04-14
### Added
- New `itemsToShow` configuration option to control the number of visible items
- Improved navigation buttons with customizable styling
- Proper item sizing and gap handling
- Container padding and responsive layout
- TypeScript type definitions for better development experience
- Comprehensive documentation and examples
### Changed
- Enhanced carousel configuration interface with new options
- Improved item sizing calculation for better responsiveness
- Updated navigation button positioning and styling
### Fixed
- Item sizing and padding calculations
- Navigation button positioning
- Container layout and spacing issues
- TypeScript type definitions and interfaces
## [0.1.0] - 2025-04-15
### Added
- Initial release with basic carousel functionality
- Support for horizontal scrolling
- Basic navigation buttons
- Simple configuration options
- Angular 17+ compatibility