siyuan 0.7.5 → 0.7.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 CHANGED
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## v0.7.6
4
+
5
+ * [Add plugin name to command palette](https://github.com/siyuan-note/siyuan/issues/8644)
6
+ * [Add `open-menu-xxx` event bus for plugins](https://github.com/siyuan-note/siyuan/issues/8617)
7
+
3
8
  ## v0.7.5
4
9
 
5
10
  * [Add protyleSlash to the plugin](https://github.com/siyuan-note/siyuan/issues/8599)
package/package.json CHANGED
@@ -2,6 +2,6 @@
2
2
  "name": "siyuan",
3
3
  "contributors": ["zuoez02", "Vanessa"],
4
4
  "types": "siyuan.d.ts",
5
- "version": "0.7.5",
5
+ "version": "0.7.6",
6
6
  "repository": "https://github.com/siyuan-note/petal"
7
7
  }
package/siyuan.d.ts CHANGED
@@ -1,5 +1,9 @@
1
- type TEventBus = "ws-main" | "click-blockicon" | "click-editorcontent" | "click-pdf" |
2
- "click-editortitleicon" | "open-noneditableblock" | "loaded-protyle"
1
+ type TEventBus = "ws-main" |
2
+ "click-blockicon" | "click-editorcontent" | "click-pdf" | "click-editortitleicon" |
3
+ "open-noneditableblock" |
4
+ "open-menu-blockref" | "open-menu-fileannotationref" | "open-menu-tag" | "open-menu-link" | "open-menu-image" |
5
+ "open-menu-av" | "open-menu-content" |
6
+ "loaded-protyle"
3
7
 
4
8
  type TCardType = "doc" | "notebook" | "all"
5
9
 
@@ -221,6 +225,7 @@ export abstract class Plugin {
221
225
  eventBus: EventBus;
222
226
  i18n: I18N;
223
227
  data: any;
228
+ displayName: string;
224
229
  name: string;
225
230
  app: App;
226
231
  commands: ICommandOption[];