Skip to content

Commit ad6211e

Browse files
committed
chore: release 1.3.0
1 parent a9f68c7 commit ad6211e

File tree

7 files changed

+97
-33
lines changed

7 files changed

+97
-33
lines changed

CHANGELOG.md

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,87 @@
1+
## Version 1.3.0 (2021-11-09)
2+
3+
### Features and improvements
4+
5+
* [[`0d5853c9`](https://github.com/ckotzbauer/simple-tree-component/commit/0d5853c9)] - **feat**: add draggable flag; only on non-readonly
6+
* [[`538770ed`](https://github.com/ckotzbauer/simple-tree-component/commit/538770ed)] - **feat**: add setNodes method close #798
7+
* [[`2920e09a`](https://github.com/ckotzbauer/simple-tree-component/commit/2920e09a)] - **feat**: add nodeIndexChanged event
8+
* [[`d412c227`](https://github.com/ckotzbauer/simple-tree-component/commit/d412c227)] - **feat**: add drag-and-drop feature
9+
* [[`ce35a49d`](https://github.com/ckotzbauer/simple-tree-component/commit/ce35a49d)] - **feat**: add css-class to tree-node close #845
10+
* [[`2f487dc5`](https://github.com/ckotzbauer/simple-tree-component/commit/2f487dc5)] - **feat**: add collapse-api close #844
11+
* [[`25b3f968`](https://github.com/ckotzbauer/simple-tree-component/commit/25b3f968)] - **feat**: improve tree-node typings on initialization; fix missing normalization for addNode api
12+
13+
### Bug fixes
14+
15+
* [[`141bc9cd`](https://github.com/ckotzbauer/simple-tree-component/commit/141bc9cd)] - **fix**: also add events here
16+
* [[`6ba1f02d`](https://github.com/ckotzbauer/simple-tree-component/commit/6ba1f02d)] - **fix**: disable key-events on read-only
17+
* [[`47a1904e`](https://github.com/ckotzbauer/simple-tree-component/commit/47a1904e)] - **fix**: also export InitTreeNode
18+
* [[`4842262d`](https://github.com/ckotzbauer/simple-tree-component/commit/4842262d)] - **fix**: don't reset ui-state on re-call
19+
* [[`af8e4aed`](https://github.com/ckotzbauer/simple-tree-component/commit/af8e4aed)] - **fix**: remove displayedNodes and rerender tree on api-calls
20+
21+
### Cleanup and refactoring
22+
23+
* [[`5527e62e`](https://github.com/ckotzbauer/simple-tree-component/commit/5527e62e)] - **cleanup**: removed NodeOrderChanged event
24+
25+
### Build and testing
26+
27+
* [[`004d22d7`](https://github.com/ckotzbauer/simple-tree-component/commit/004d22d7)] - **test**: more tests
28+
* [[`e086a3ab`](https://github.com/ckotzbauer/simple-tree-component/commit/e086a3ab)] - **test**: several improvements
29+
* [[`ec2734a0`](https://github.com/ckotzbauer/simple-tree-component/commit/ec2734a0)] - **test**: fix test
30+
* [[`b00a97f5`](https://github.com/ckotzbauer/simple-tree-component/commit/b00a97f5)] - **test**: some test improvements
31+
* [[`67a0963d`](https://github.com/ckotzbauer/simple-tree-component/commit/67a0963d)] - **test**: more edge-cases
32+
* [[`e7746d08`](https://github.com/ckotzbauer/simple-tree-component/commit/e7746d08)] - **test**: add drag-and-drop test
33+
* [[`3273dcba`](https://github.com/ckotzbauer/simple-tree-component/commit/3273dcba)] - **test**: test several api methods
34+
* [[`a15fd016`](https://github.com/ckotzbauer/simple-tree-component/commit/a15fd016)] - **test**: add setNodeIndex tests
35+
* [[`1e4d3eef`](https://github.com/ckotzbauer/simple-tree-component/commit/1e4d3eef)] - **test**: add node-css test
36+
* [[`4487a2b9`](https://github.com/ckotzbauer/simple-tree-component/commit/4487a2b9)] - **test**: check unsupported api methods
37+
* [[`cd5c515e`](https://github.com/ckotzbauer/simple-tree-component/commit/cd5c515e)] - **test**: use new codecov uploader
38+
39+
### Documentation
40+
41+
* [[`62aea2b1`](https://github.com/ckotzbauer/simple-tree-component/commit/62aea2b1)] - **doc**: updated docs for 1.3.0
42+
43+
### Dependency updates
44+
45+
* [[`88b4b049`](https://github.com/ckotzbauer/simple-tree-component/commit/88b4b049)] - **deps**: update dependency typedoc to v0.22.8 (#858)
46+
* [[`73601e8a`](https://github.com/ckotzbauer/simple-tree-component/commit/73601e8a)] - **deps**: update dependency eslint to v8.2.0 (#857)
47+
* [[`4b59d5ec`](https://github.com/ckotzbauer/simple-tree-component/commit/4b59d5ec)] - **deps**: update dependency rollup to v2.59.0 (#855)
48+
* [[`197aae4e`](https://github.com/ckotzbauer/simple-tree-component/commit/197aae4e)] - **deps**: update typescript-eslint monorepo to v5.3.0 (#856)
49+
* [[`9e2f8d0c`](https://github.com/ckotzbauer/simple-tree-component/commit/9e2f8d0c)] - **deps**: update dependency @types/node to v16
50+
* [[`20e08694`](https://github.com/ckotzbauer/simple-tree-component/commit/20e08694)] - **deps**: update dependency autoprefixer to v10.4.0 (#852)
51+
* [[`6fcfbac6`](https://github.com/ckotzbauer/simple-tree-component/commit/6fcfbac6)] - **deps**: update dependency sass to v1.43.4 (#850)
52+
* [[`26e7d79e`](https://github.com/ckotzbauer/simple-tree-component/commit/26e7d79e)] - **deps**: update dependency @types/node to v14.17.32 (#848)
53+
* [[`723241d0`](https://github.com/ckotzbauer/simple-tree-component/commit/723241d0)] - **deps**: update dependency rollup to v2.58.3 (#849)
54+
* [[`888dd8bb`](https://github.com/ckotzbauer/simple-tree-component/commit/888dd8bb)] - **deps**: update dependency typedoc to v0.22.7 (#851)
55+
* [[`1339db51`](https://github.com/ckotzbauer/simple-tree-component/commit/1339db51)] - **deps**: update typescript-eslint monorepo to v5.2.0 (#853)
56+
* [[`3666f473`](https://github.com/ckotzbauer/simple-tree-component/commit/3666f473)] - **deps**: update dependency ts-jest to v27.0.7
57+
* [[`581b79c6`](https://github.com/ckotzbauer/simple-tree-component/commit/581b79c6)] - **deps**: update dependency @types/node to v14.17.29 (#834)
58+
* [[`73609284`](https://github.com/ckotzbauer/simple-tree-component/commit/73609284)] - **deps**: update dependency postcss to v8.3.11 (#835)
59+
* [[`76229033`](https://github.com/ckotzbauer/simple-tree-component/commit/76229033)] - **deps**: update dependency sass to v1.43.3 (#836)
60+
* [[`b0c9ef1a`](https://github.com/ckotzbauer/simple-tree-component/commit/b0c9ef1a)] - **deps**: update dependency typedoc to v0.22.6 (#838)
61+
* [[`cfa16834`](https://github.com/ckotzbauer/simple-tree-component/commit/cfa16834)] - **deps**: update dependency eslint to v8.1.0 (#839)
62+
* [[`f5f1a694`](https://github.com/ckotzbauer/simple-tree-component/commit/f5f1a694)] - **deps**: update dependency jest to v27.3.1 (#840)
63+
* [[`aa593a70`](https://github.com/ckotzbauer/simple-tree-component/commit/aa593a70)] - **deps**: update dependency ts-node to v10.4.0 (#841)
64+
* [[`6f54bc70`](https://github.com/ckotzbauer/simple-tree-component/commit/6f54bc70)] - **deps**: update typescript-eslint monorepo to v5.1.0 (#842)
65+
* [[`85ff61ee`](https://github.com/ckotzbauer/simple-tree-component/commit/85ff61ee)] - **deps**: update dependency eslint to v8
66+
* [[`cef90c6f`](https://github.com/ckotzbauer/simple-tree-component/commit/cef90c6f)] - **deps**: update typescript-eslint monorepo to v5
67+
* [[`abf3e298`](https://github.com/ckotzbauer/simple-tree-component/commit/abf3e298)] - **deps**: update dependency ts-jest to v27.0.6 (#828)
68+
* [[`889d02ef`](https://github.com/ckotzbauer/simple-tree-component/commit/889d02ef)] - **deps**: update dependency @types/node to v14.17.27 (#827)
69+
* [[`b39347ac`](https://github.com/ckotzbauer/simple-tree-component/commit/b39347ac)] - **deps**: update dependency typescript to v4.4.4 (#829)
70+
* [[`3dc200d7`](https://github.com/ckotzbauer/simple-tree-component/commit/3dc200d7)] - **deps**: update dependency @rollup/plugin-typescript to v8.3.0 (#830)
71+
* [[`a5ead50e`](https://github.com/ckotzbauer/simple-tree-component/commit/a5ead50e)] - **deps**: update dependency sass to v1.43.2 (#831)
72+
* [[`3df33b54`](https://github.com/ckotzbauer/simple-tree-component/commit/3df33b54)] - **deps**: update dependency ts-node to v10.3.0 (#832)
73+
* [[`2adebc38`](https://github.com/ckotzbauer/simple-tree-component/commit/2adebc38)] - **deps**: update dependency autoprefixer to v10.3.7 (#820)
74+
* [[`6416dce8`](https://github.com/ckotzbauer/simple-tree-component/commit/6416dce8)] - **deps**: update dependency @types/node to v14.17.21 (#819)
75+
* [[`e3bf4738`](https://github.com/ckotzbauer/simple-tree-component/commit/e3bf4738)] - **deps**: update dependency jest to v27.2.5 (#821)
76+
* [[`6b7b874b`](https://github.com/ckotzbauer/simple-tree-component/commit/6b7b874b)] - **deps**: update dependency postcss to v8.3.9 (#822)
77+
* [[`43f8d359`](https://github.com/ckotzbauer/simple-tree-component/commit/43f8d359)] - **deps**: update dependency typedoc-plugin-markdown to v3.11.3 (#823)
78+
* [[`59e9c79e`](https://github.com/ckotzbauer/simple-tree-component/commit/59e9c79e)] - **deps**: update typescript-eslint monorepo to v4.33.0 (#824)
79+
80+
### Common changes
81+
82+
* [[`a9f68c7f`](https://github.com/ckotzbauer/simple-tree-component/commit/a9f68c7f)] - **chore**: final rebuild
83+
84+
185
## Version 1.2.0 (2021-10-08)
286

387
### Features and improvements

dist/simple-tree-component.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/* simple-tree-component v1.2.0, @license MIT */
1+
/* simple-tree-component v1.3.0, @license MIT */
22
(function (global, factory) {
33
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
44
typeof define === 'function' && define.amd ? define(factory) :

dist/simple-tree-component.min.js

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

dist/types/instance.d.ts

Lines changed: 8 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -115,17 +115,10 @@ export interface TreeInstance<K extends keyof TreeModeNameMap> {
115115
*/
116116
subscribe(event: "selectionChanged", handler: (d: TreeModeNameMap[K], evt: string, e?: Event) => void): Subscription;
117117
subscribe(event: "selectionChanging", handler: (d: TreeModeNameMap[K], evt: string, e?: Event) => void): Subscription;
118-
subscribe(
119-
event: "nodeIndexChanged",
120-
handler: (
121-
d: {
122-
node: TreeNode;
123-
newIndex: number;
124-
},
125-
evt: string,
126-
e?: Event
127-
) => void
128-
): Subscription;
118+
subscribe(event: "nodeIndexChanged", handler: (d: {
119+
node: TreeNode;
120+
newIndex: number;
121+
}, evt: string, e?: Event) => void): Subscription;
129122
/**
130123
* Add a listener to handle "selectionChanged" "selectionChanging" or "nodeIndexChanged" events. When the event is emitted for the first time, the subscription ends automatically.
131124
*
@@ -135,17 +128,10 @@ export interface TreeInstance<K extends keyof TreeModeNameMap> {
135128
*/
136129
subscribeOnce(event: "selectionChanged", handler: (d: TreeModeNameMap[K], evt: string, e?: Event) => void): Subscription;
137130
subscribeOnce(event: "selectionChanging", handler: (d: TreeModeNameMap[K], evt: string, e?: Event) => void): Subscription;
138-
subscribeOnce(
139-
event: "nodeIndexChanged",
140-
handler: (
141-
d: {
142-
node: TreeNode;
143-
newIndex: number;
144-
},
145-
evt: string,
146-
e?: Event
147-
) => void
148-
): Subscription;
131+
subscribeOnce(event: "nodeIndexChanged", handler: (d: {
132+
node: TreeNode;
133+
newIndex: number;
134+
}, evt: string, e?: Event) => void): Subscription;
149135
}
150136
export declare type SimpleTree = TreeInstance<"singleSelectDropdown" | "multiSelectDropdown" | "tree">;
151137
export interface SimpleTreeFn {

dist/types/rects.d.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,7 @@ export interface Rect {
3636
* @param maxOverlayHeight The maximum height of the overlay. Defaults to `300`.
3737
* @returns The calculated rectangle of the overlay position.
3838
*/
39-
export declare function calculate(
40-
elementRect: Rect,
41-
availableHeight: number,
42-
overlayHeight: number,
43-
borderWith?: number,
44-
maxOverlayHeight?: number
45-
): Rect;
39+
export declare function calculate(elementRect: Rect, availableHeight: number, overlayHeight: number, borderWith?: number, maxOverlayHeight?: number): Rect;
4640
/**
4741
* Calculates the position of the `overlay` relative to the `element` and sets the values accordingly.
4842
* See the docs of the `calculate` function for more details.

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
@@ -1,6 +1,6 @@
11
{
22
"name": "simple-tree-component",
3-
"version": "1.2.0",
3+
"version": "1.3.0",
44
"description": "A simple to use ui-tree javascript component.",
55
"repository": {
66
"type": "git",

0 commit comments

Comments
 (0)