Releases: nerdyman/react-compare-slider
Releases · nerdyman/react-compare-slider
v2.0.1 🥳
- docs: update handles gif link in readme 8ac2276
- docs: update example gifs 855d593
- docs: update examples and stories 94635c6
- refactor: remove superfluous
isDragging
check inhandlePointerMove
callback 141b8a6 - build(deps): upgrade all packages 2637ca6
- test: improve tests, ensure isomorphic effect is used on server 980e26e
- perf: use static EventListener options 9cab1ee
- chore: update storybook theme configs 23b1dcb
- docs: add new handles docs e767a2d
- feat(handle):
lineHeight
->linesHeight
6cb2ba5 - refactor: use
This
prefix for internal components fa1858a - build: update dev deps, add rollup analyzer config af254cf
- feat: update default handle to include central button element a1bfc6f
- perf: add terser plugin for production builds 9ea26fd
- BREAKING CHANGE: drop IE support, use specific browserslist 36f4822
- chore: use strict file permissions 00d9493
- style: use 90 char ruler 707b9d1
- BREAKING CHANGE: remove
ResizeObserver
ponyfill d173cfb - refactor: split components into individual modules - use pascal case for component files 3c1bc0b
- ci: replace build and test actions with ci action, add size action 2e5fb61
- BREAKING CHANGE: remove
supportsCssObjectFit
util and remove object-fit fallback detection fromReactCompareSliderImage
4895012
A release with version 2.0.0 was erroneously published over a year ago and removed due to a botched release script. However, package versions can't be recycled... so 2.0.1 it is.
v1.2.1
- fix: ensure current portrait value is passed to
useResizeObserver
when portrait prop is toggled.
v1.2.0
- docs: add dedicated story for each prop, normalise storybook props c3808df
- docs: restructure docs, use vercel links, add google maps demo 883bc94
- feat: bump default slider handle size to 4px ef3043d
- build(deps): upgrade dev dependencies 348181c
- perf: replace
will-change
on handle container withtranslate3d
to avoid stacking context issues with custom handles edb757e - docs: add standalone demo for
onlyHandleDraggable
prop 30fb19d - test: use test IDs instead of container in react-compare-slider-image tests d489ec8
- docs: simplify docs structure - add demo for
onlyHandleDraggable
a82ae29 - feat: add optional ability to make only slider handle draggable instead of entire container closes #16 869da60
v1.1.0
- chore: update badge links, comments and remove image component link from bounds padding docs 32c11ac
- chore: replace coverage badge with test status badge for vanity 💅 c345321
- docs: add
boundsPadding
documentation and examples 7f45dae - perf: do not trigger position updates when position is the same while sliding outside the root container 630a5c7
- feat: add
boundsPadding
prop to limit handle bounds 6250dd2 - docs: use correct link for handles in readme 027b4b4
v1.0.6
v1.0.5
- docs: remove codesandbox embeds chrome by default 7d1e444
- docs: simplify readme structure 7cd7da5
- style(linter): update eslint config 65c2ece
- refactor: simplify bounds and position prop logic c152dff
- build(docs): upgrade storybook and update examples d3a3769
- docs: update readme, add gifs bd29120
- build(deps): update and dedupe @types/react 2fdd973
- test: add comprehensive unit tests, closes #1 9ea2868
v1.0.4
v1.0.3 - SSR Support
- Merge pull request #7 from nerdyman/next adc1e24
- chore: add code preview to images docs 8986ac8
- build: upgrade dependencies fb76bd0
- fix: store support for object-fit in ref to prevent slider from always using fallback in SSR scenarios f0352ac
- build: remove unused default prop from useEventListenerHook 96a3c1a
- fix: remove document references to fix SSR closes #6 0e922b8
- build: explicitly define module exports in index to try and appease the tree shaking gods 2b20ed6
v1.0.2
- Merge pull request #5 from nerdyman/dependabot/npm_and_yarn/example/acorn-5.7.4 0729b0b
- build(deps): bump acorn from 5.7.3 to 5.7.4 in /example 1b2f763
- docs: update netlify docs 0ef2fa0
- chore: upgrade dependencies 8bec658
- fix: ensure existing position is maintained when portrait prop changes dabb351
- perf: use distinct pattern for usePrevious hook 0eee178
- fix: prevent slider handle exceeding the bounds of its container c37b528
- fix: ensure latest previous position value is used to determine when to use position prop fb8d7cd
- chore: update readme and storybook styles 1604a0f
- fix: ensure position is updated on resize when slider is mounted outside of viewport a3343a8
- chore: use consistent comment formatting in docblocks 2b232d6
- chore: pretty names for workflow steps 750b682
- docs: add detailed documentation and demos for images 5d0b268
- fix: fix missing objectPosition from in styleFitContainer util 787ffac
- ci: add codeclimate workflow a9798f5
- build: add .nvmrc a1faca1
- chore: allow debugger in default eslint, disallow in precommit eslint da7ef02
- build: set sideEffects to false in package json bc1731a
- docs: upgrade storybook, update doc structure and order 24c34e5
- fix: only allow position prop to override internal position if it has changed 9be371a
- chore: add description to package.json 701ef06
v1.0.0
- chore: add storybook links to readme fdb13ad
- fix: add mouseup listener to doucment to allow mouseup outside browser without slider position sticking to pointer position on rentry 69541ed
- fix: pass percentage slider position to onPositionChange callback 969abbb
- Merge branch 'master' of github.com:nerdyman/react-compare-slider 2d5c77d
- fix: remove mousemove handler from container to prevent onPositionChange being called twice 2ce0840
- fix: touch devices - allow pointer to leave container and continue dragging while pointer is down 9488766
- feat: allow pointer to leave container and continue dragging while pointer is down c5d6dfd
- chore: update readme 441ad38
- perf: refactor code into reusable hooks 684c8b3
- chore: use stricter eslint config for precommit, disable noUnusedLocals, handle unused locals with eslint b104f14
- docs: make intro link target blank to force storybook to not prepend current url 1adbd36
- docs: merge storybook branch 5f1935a
- docs: update link to license in intro doc bcb8307
- build: consistent naming for build scripts be1c24c
- chore: upgrade example deps 51d95b9
- docs: configure storybook to show story code 2af3fef
- Merge pull request #3 from nerdyman/dependabot/npm_and_yarn/handlebars-4.5.3 1f978fb
- build(deps): bump handlebars from 4.1.2 to 4.5.3 9ee6f72
- chore: replace custom docs webpack setup with storybook preset, add more docs pages b033737
- chore: add basic storybook docs set up a2b018d
- chore: upgrade workflow node version, rename build step a531116
- chore: add badge links and requirements to readme b82ea17