siyuan 0.9.4 → 0.9.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -1
- package/package.json +1 -1
- package/siyuan.d.ts +6 -1
- package/types/protyle.d.ts +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
-
## 0.9.
|
|
3
|
+
## 0.9.7 2024-03
|
|
4
|
+
|
|
5
|
+
## 0.9.6 2024-03-19
|
|
6
|
+
|
|
7
|
+
* [Add method `getInstance` to IProtyle](https://github.com/siyuan-note/petal/pull/25)
|
|
8
|
+
|
|
9
|
+
## 0.9.5 2024-03-05
|
|
10
|
+
|
|
11
|
+
* [Update `Dialog`](https://github.com/siyuan-note/petal/issues/24)
|
|
4
12
|
|
|
5
13
|
## 0.9.4 2024-02-20
|
|
6
14
|
|
package/package.json
CHANGED
package/siyuan.d.ts
CHANGED
|
@@ -613,16 +613,21 @@ export class EventBus {
|
|
|
613
613
|
export class Dialog {
|
|
614
614
|
|
|
615
615
|
element: HTMLElement;
|
|
616
|
+
editors: { [key: string]: Protyle };
|
|
617
|
+
data: any;
|
|
616
618
|
|
|
617
619
|
constructor(options: {
|
|
620
|
+
positionId?: string,
|
|
618
621
|
title?: string,
|
|
619
622
|
transparent?: boolean,
|
|
620
623
|
content: string,
|
|
621
|
-
width?: string
|
|
624
|
+
width?: string,
|
|
622
625
|
height?: string,
|
|
623
626
|
destroyCallback?: (options?: IObject) => void,
|
|
624
627
|
disableClose?: boolean,
|
|
628
|
+
hideCloseIcon?: boolean,
|
|
625
629
|
disableAnimation?: boolean,
|
|
630
|
+
resizeCallback?: (type: string) => void
|
|
626
631
|
});
|
|
627
632
|
|
|
628
633
|
destroy(options?: IObject): void;
|
package/types/protyle.d.ts
CHANGED