Skip to content

Commit

Permalink
chore: release 1.0.0-beta.7
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Apr 22, 2021
1 parent aae9a47 commit a370806
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 12 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
## Version 1.0.0-beta.7 (2021-04-22)

### Features and improvements

* [[`22774f5a`](https://github.com/ckotzbauer/simple-tree-component/commit/22774f5a)] - **feat**: prevent scrolling of a custom element when the dropdown is open

### Bug fixes

* [[`ee003d3b`](https://github.com/ckotzbauer/simple-tree-component/commit/ee003d3b)] - **fix**: keyboard-navigation should scroll to element

### Cleanup and refactoring

* [[`aae9a47a`](https://github.com/ckotzbauer/simple-tree-component/commit/aae9a47a)] - **cleanup**: codestyle

### Documentation

* [[`def2da62`](https://github.com/ckotzbauer/simple-tree-component/commit/def2da62)] - **doc**: preserve dts comments


## Version 1.0.0-beta.6 (2021-04-20)

### Features and improvements
Expand Down
4 changes: 2 additions & 2 deletions dist/simple-tree-component.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* simple-tree-component v1.0.0-beta.6, @license MIT */
/* simple-tree-component v1.0.0-beta.7, @license MIT */
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
typeof define === 'function' && define.amd ? define(factory) :
Expand Down Expand Up @@ -846,7 +846,7 @@
this.dropdownOpen = true;
window.addEventListener("mouseup", this.boundClick);
if (this.options.scrollContainer) {
this.preventScrollListener = e => e.preventDefault();
this.preventScrollListener = (e) => e.preventDefault();
this.options.scrollContainer.addEventListener("wheel", this.preventScrollListener);
}
}
Expand Down
2 changes: 1 addition & 1 deletion dist/simple-tree-component.min.js

Large diffs are not rendered by default.

8 changes: 1 addition & 7 deletions dist/types/rects.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,7 @@ export interface Rect {
* @param maxOverlayHeight The maximum height of the overlay. Defaults to `300`.
* @returns The calculated rectangle of the overlay position.
*/
export declare function calculate(
elementRect: Rect,
availableHeight: number,
overlayHeight: number,
borderWith?: number,
maxOverlayHeight?: number
): Rect;
export declare function calculate(elementRect: Rect, availableHeight: number, overlayHeight: number, borderWith?: number, maxOverlayHeight?: number): Rect;
/**
* Calculates the position of the `overlay` relative to the `element` and sets the values accordingly.
* See the docs of the `calculate` function for more details.
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simple-tree-component",
"version": "1.0.0-beta.6",
"version": "1.0.0-beta.7",
"description": "A simple to use ui-tree javascript component.",
"repository": {
"type": "git",
Expand Down

0 comments on commit a370806

Please sign in to comment.