add changelogs

This commit is contained in:
Rene Haas
2022-11-09 13:58:00 +01:00
parent 81ce0a2474
commit 98a7183324
5 changed files with 55 additions and 2 deletions
@@ -0,0 +1,17 @@
# Changelog
## 0.4.0
Depends on `OverlayScrollbars` version `^2.0.0` and `React` version `>=16.8.0`.
### Features
- `OverlayScrollbarsComponent` has now the `events` property
- `OverlayScrollbarsComponent` has now the `element` property
- The `useOverlayScrollbars` hook was added for advanced usage
### Breaking Changes
- The `extensions` property is removed from `OverlayScrollbarsComponent`
- The `osInstance()` function from the `OverlayScrollbarsComponent` `ref` is renamed to `instance()`
- The `osTarget()` function from the `OverlayScrollbarsComponent` `ref` is renamed to `element()`
@@ -23,7 +23,7 @@ export default defineConfig({
},
},
plugins: [
rollupPluginCopy({ paths: ['README.md'] }),
rollupPluginCopy({ paths: ['README.md', 'CHANGELOG.md'] }),
rollupPluginPackageJson({
json: ({
name,