@kedataindo/docflow-core 0.0.81 → 0.0.82

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/dist/index.d.cts CHANGED
@@ -18,6 +18,16 @@ interface ToolbarItem {
18
18
  label?: string;
19
19
  action: string;
20
20
  args?: unknown[];
21
+ /**
22
+ * Group this item into the toolbar's compact groups instead of rendering it
23
+ * as a flat button. Currently only `'insert'` (the "+" / Sisipkan dropdown)
24
+ * is supported; built-in insert actions (link, image, table, footnote, page
25
+ * break, …) are grouped automatically, so plugins only need this flag for
26
+ * their OWN actions.
27
+ *
28
+ * Defaults to `undefined` → flat toolbar button (previous behaviour).
29
+ */
30
+ menu?: 'insert';
21
31
  }
22
32
  interface SlashCommand {
23
33
  name: string;
package/dist/index.d.ts CHANGED
@@ -18,6 +18,16 @@ interface ToolbarItem {
18
18
  label?: string;
19
19
  action: string;
20
20
  args?: unknown[];
21
+ /**
22
+ * Group this item into the toolbar's compact groups instead of rendering it
23
+ * as a flat button. Currently only `'insert'` (the "+" / Sisipkan dropdown)
24
+ * is supported; built-in insert actions (link, image, table, footnote, page
25
+ * break, …) are grouped automatically, so plugins only need this flag for
26
+ * their OWN actions.
27
+ *
28
+ * Defaults to `undefined` → flat toolbar button (previous behaviour).
29
+ */
30
+ menu?: 'insert';
21
31
  }
22
32
  interface SlashCommand {
23
33
  name: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@kedataindo/docflow-core",
3
3
  "license": "UNLICENSED",
4
- "version": "0.0.81",
4
+ "version": "0.0.82",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",