Skip to content

Releases: Temzasse/react-modal-sheet

v4.0.1

02 Jan 08:07
Compare
Choose a tag to compare
  • Update package-lock.json 235ced9
  • Change min node version in engines back to 18 acb92fa

v4.0.0...v4.0.1

v4.0.0

27 Dec 11:33
Compare
Choose a tag to compare
  • Merge pull request #184 from Temzasse/feat/migrate-to-motion d2c93ff
  • Fix dts generation in dev mode 67f2183
  • Export individual types for sheet component props 456062a
  • Merge cleanup 54eed9d
  • Update lock files b8466d4
  • Improve dev setup 4ea90aa
  • Remove backdrop tap highlight color on ios b129b6f
  • Omit lib from example's vite deps optimization 458ac28
  • Use zIndex from props if given 79b60bb
  • Add mention to docs about strictmode and framer-motion 3428052
  • Update ssr example 725ef9f
  • Update csr example app 6c199bf
  • Replace framer-motion with motion 72867e4
  • Update github actions to run checks for PRs 89636fb
  • Add vscode workspace settings b54847d
  • Update .npmrc 89166c2
  • Add pre-push git hook dd5aa5c
  • Replace eslint and prettier with biome 6c44151

v3.5.0...v4.0.0

v3.5.0

27 Dec 10:45
Compare
Choose a tag to compare
  • Add Shadow DOM example f8ed161
  • Use composedPath in scroll prevention to support Shadow DOM 8c95dbc

v3.4.1...v3.5.0

v3.4.1

27 Dec 09:53
Compare
Choose a tag to compare
  • Merge pull request #182 from marcinbittel/main 84482ea
  • fix: enable sheetscroller to handle onScroll and onTouchStart on touch devices fe0b8ed

v3.4.0...v3.4.1

v3.4.0

26 Dec 10:33
Compare
Choose a tag to compare
  • Fix ssr issue in modal effect 3eeae3c
  • Make modal effect animated based on drag 5ef080b
  • Update example app 2e5d366
  • Remove @react-aria/utils dependency 3031ff4
  • Revert "Update usePreventScroll hook" d97061c
  • Update usePreventScroll hook 11f7d8b
  • Simplify content height example 47fc296
  • Add layout animation to content height example f2fb875
  • Update vite cache dir e5f8bd2

v3.3.0...v3.4.0

v3.3.0

27 Oct 11:38
Compare
Choose a tag to compare
  • Don't modify snapPoints prop value and update y initial value 7018321
  • Fix useDimensions initial value issue 1dc8c88
  • Switch from parcel to vite for example app b88687a
  • Merge pull request #171 from rogorman9/main 95c2a7a
  • allow overriding drag behavior 372c6c2

v3.2.0...v3.3.0

v3.2.0

27 Oct 10:31
Compare
Choose a tag to compare
  • Update dependencies 4d7c6e2
  • Simplify useVirtualKeyboard hook 1c0ddb7

v3.1.0...v3.2.0

v3.1.0

13 May 20:32
Compare
Choose a tag to compare
  • Add keyboard avoidance guide and refine docs bdd132d
  • Fix ghost caret issue by blurring focused inputs upon drag start 9f34270
  • Add tolerance to value comparisons d51acb1
  • Cleanup code e4d7b71
  • Fix example dev linking setup ed6265a
  • Add virtual keyboard avoidance example c9aee7d
  • Cleanup examples 9fcb798

v3.0.0...v3.1.0

v3.0.0

11 May 12:05
Compare
Choose a tag to compare

⚠️ Breaking changes

The default export of Sheet has been changed to named export:

// ❌ OLD
import Sheet from 'react-modal-sheet';

// ✅ NEW
import { Sheet } from 'react-modal-sheet';

There shouldn't be any other breaking changes (🤞🏻) but some fields in package.json have changed that might affect the way your bundler imports the library so there might be some breaking changes for you depending on what bundler you use.

🦋 Full changelog

v2.2.1...v3.0.0

v2.2.1

11 May 11:33
Compare
Choose a tag to compare
  • Fix the error when touching the screen before <Sheet> is mounted (#152) 14d4585
  • Update disableScrollLocking docs a25d023

v2.2.0...v2.2.1