Releases: ingmarh/scroll-shadow-element
Releases · ingmarh/scroll-shadow-element
2.0.6
Changelog
- Added JSX intrinsic element types for React 19, Preact and SolidJS (see commit)
Update hint
Only if you use React and TypeScript, and set classes on <scroll-shadow>
:
- React < 19:
<scroll-shadow class="my-class">
- React 19:
<scroll-shadow className="my-class">
React 19 adds full support for custom elements. Setting classes with class
works but is only typed for React < 19.
2.0.5
Optimized
- Improved JSX intrinsic element types (see commit)
- Improved code for a smaller file size (see commit)
2.0.4
Fixed
- Enable direct use on scrollable table elements (see commit)
- Use correct indicators in case of differing size (see commit)
2.0.3
Optimized
- Improved setting the scroll indicator size values, and file size (see commit)
2.0.2
Optimized
- Improved setting the internal inline style declaration (see commit)
- Removed unnecessary code, and improved file size (see commit)
2.0.1
Fixed
- Scroll indicators did not update after readding the element to the DOM (see commit)
- The Custom Elements Manifest file included incorrect paths (see commit)
Optimized
- Simplified code for improved file size (see commit)
2.0.0
Removed
- Removed "el" attribute in favor of auto-detecting tbody use case (see commit)
- Removed legacy exports entry and file (see commit)
Changed
- Changed the used file extension from .mjs to .js (see commit)
1.1.6
Fixed
- Scroll element inner size change only didn’t trigger update (see commit)
1.1.5
Fixed
- Removed customElements entry point from export map (see commit)
1.1.4
Added
- Custom Elements Manifest file (see commit)
Optimized
- Distribution build with minified HTML and CSS (see commit)
- Shorthand hexadecimal notation for RGBA colors (see commit)
- Export map in package.json (see commit and new hint for using with Jest)