Releases: BrianMitchL/svelte-compare-image
Releases · BrianMitchL/svelte-compare-image
v3.0.0
What's Changed
- Update dependencies, notably SvelteKit 2
- Drop support for Svelte 3
- Drop support for Node 16
- Update dependencies and drop Svelte 3 and Node 16 by @BrianMitchL in #12
There should be zero runtime changes as long as you're running Svelte 4 and Node 18+
Full Changelog: v2.0.2...v3.0.0
v2.0.2
- Set
engines.node
in package.json to be>=16.15.0
instead of>=18.15.0
- Run CI on Node 16 and Node 18
v2.0.1
- Add a few CSS resets for eager global styles on
img
andinput[type="range"]
elements
Full Changelog: v2.0.0...v2.0.1
v2.0.0
Breaking Changes
- Add support for Svelte 4 in
peerDependencies
(Svelte 3 should still work and the lowest peer version has not changed) - Update all tooling to use latest versions and Svelte 4
- Most of the component has been rewritten
- Improved performance with use of
requestAnimationFrame
- Most JavaScript removed
- Uses an HTML
input[type="range"]
under the hood - CSS and markup changes
- Uses CSS
clip-path
andpolygon()
overclip
andrect()
- Improved performance with use of
- Dynamic resizing, loading logic, and use of
object-fit
has been removed - More configurable with an updated set of CSS Custom Property props
Property | Default Value |
---|---|
--handle-size |
2.5rem |
--handle-background-color |
rgba(0, 0, 0, 0.6) |
--handle-background-image |
an embedded SVG url() |
--handle-border-width |
0.125rem |
--slider-color |
#ffffff |
--slider-width |
0.125rem |
- There is a new
slider-label
named slot for customizing the accessible label for the slider - Enhanced live updating documentation website and example
Full Changelog: v1.0.4...v2.0.0
v1.0.4
No runtime changes, docs and tooling updates.
What's Changed
- Update deps by @BrianMitchL in #5
- Add live code snippet to the example by @BrianMitchL in #6
Full Changelog: v1.0.3...v1.0.4
v1.0.3
What's Changed
- Update to SvelteKit v1 and other dependencies by @BrianMitchL in #4
Full Changelog: v1.0.2...v1.0.3
v1.0.2
There should be no breaking changes, only tooling was updated.
What's Changed
- Upgrade SvelteKit by @BrianMitchL in #2
- Update deps by @BrianMitchL in #3
Full Changelog: v1.0.1...v1.0.2
v1.0.1
What's Changed
- Tooling updates by @BrianMitchL in #1
Nothing should have changed when consuming it.
Full Changelog: v1.0.0...v1.0.1
v1.0.0-1
No code changes, add homepage and repository fields to the package.json
Full Changelog: v1.0.0...v1.0.0-1
v1.0.0
Initial Release!