Skip to content

Commit 95de149

Browse files
chore(release): 3.0.0 [skip ci]
# [3.0.0](v2.3.0...v3.0.0) (2020-12-28) ### Bug Fixes * remove padding wrappers ([#57](#57)) ([60657fb](60657fb)) ### BREAKING CHANGES * The resize observer logic is rewritten to no longer require wrapper elements like `[data-rsbs-footer-padding]`. If you're not using custom CSS and are simply importing `react-spring-bottom-sheet/dist/style.css` in your app then this isn't a breaking change for you. If you're using custom CSS, here's the breaking changes: - `[data-rsbs-header-padding]` removed, update selectors to `[data-rsbs-header]` - `[data-rsbs-content-padding]` removed, update selectors to `[data-rsbs-scroll]` - `[data-rsbs-footer-padding]` removed, update selectors to `[data-rsbs-footer]` - `[data-rsbs-antigap]` removed, update selectors to `[data-rsbs-root]:after` and make sure to add `content: '';`. - `[data-rsbs-content]` is changed, update selectors to `[data-rsbs-scroll]`. - The `<div style="overflow:hidden;">` wrapper that used to be between `[data-rsbs-content]` and `[data-rsbs-content-padding]` is now within `[data-rsbs-scroll]`, and no longer hardcode `overflow: hidden`, add `[data-rsbs-content] { overflow: hidden; }` to your CSS.
1 parent 60657fb commit 95de149

File tree

3 files changed

+23
-2
lines changed

3 files changed

+23
-2
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,24 @@
1+
# [3.0.0](https://github.com/stipsan/react-spring-bottom-sheet/compare/v2.3.0...v3.0.0) (2020-12-28)
2+
3+
4+
### Bug Fixes
5+
6+
* remove padding wrappers ([#57](https://github.com/stipsan/react-spring-bottom-sheet/issues/57)) ([60657fb](https://github.com/stipsan/react-spring-bottom-sheet/commit/60657fbe752abbf07ee77264ad9e2aaff7a32db4))
7+
8+
9+
### BREAKING CHANGES
10+
11+
* The resize observer logic is rewritten to no longer require wrapper elements like `[data-rsbs-footer-padding]`. If you're not using custom CSS and are simply importing `react-spring-bottom-sheet/dist/style.css` in your app then this isn't a breaking change for you.
12+
13+
14+
If you're using custom CSS, here's the breaking changes:
15+
- `[data-rsbs-header-padding]` removed, update selectors to `[data-rsbs-header]`
16+
- `[data-rsbs-content-padding]` removed, update selectors to `[data-rsbs-scroll]`
17+
- `[data-rsbs-footer-padding]` removed, update selectors to `[data-rsbs-footer]`
18+
- `[data-rsbs-antigap]` removed, update selectors to `[data-rsbs-root]:after` and make sure to add `content: '';`.
19+
- `[data-rsbs-content]` is changed, update selectors to `[data-rsbs-scroll]`.
20+
- The `<div style="overflow:hidden;">` wrapper that used to be between `[data-rsbs-content]` and `[data-rsbs-content-padding]` is now within `[data-rsbs-scroll]`, and no longer hardcode `overflow: hidden`, add `[data-rsbs-content] { overflow: hidden; }` to your CSS.
21+
122
# [2.3.0](https://github.com/stipsan/react-spring-bottom-sheet/compare/v2.2.7...v2.3.0) (2020-12-28)
223

324

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"bugs": {
99
"url": "https://github.com/stipsan/react-spring-bottom-sheet/issues"
1010
},
11-
"version": "2.3.0",
11+
"version": "3.0.0",
1212
"main": "dist/index.js",
1313
"module": "dist/index.es.js",
1414
"files": [

0 commit comments

Comments
 (0)