dochub-sdk 0.1.144 → 0.1.145

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.
Files changed (2) hide show
  1. package/interfaces/ui.ts +6 -0
  2. package/package.json +1 -1
package/interfaces/ui.ts CHANGED
@@ -108,6 +108,12 @@ export interface IDocHubUICopyClipboardOptions {
108
108
  * Интерфейс управления UI компонентами для предопределенных слотов
109
109
  */
110
110
  export interface IDocHubUI {
111
+ /**
112
+ * Короткое всплывающее сообщение
113
+ * @param message - Сообщение.
114
+ * @param timeout - Задержка в мс по умолчанию 3000
115
+ */
116
+ toast(message: string, timeout?: number);
111
117
  /**
112
118
  * Регистрирует UI компонент в слоте
113
119
  * @param slot - Идентификатор слота DocHubUISlot или произвольный для кастомных слотов
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dochub-sdk",
3
- "version": "0.1.144",
3
+ "version": "0.1.145",
4
4
  "description": "The DocHub System Development Kit.",
5
5
  "private": false,
6
6
  "main": "index.ts",