@threadlabs/looma 0.22.0 → 0.22.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@threadlabs/looma",
3
- "version": "0.22.0",
3
+ "version": "0.22.1",
4
4
  "type": "module",
5
5
  "description": "Looma components as HTML, Vue, and plain DOM, with design tokens.",
6
6
  "license": "MIT",
@@ -1,6 +1,6 @@
1
1
  import { computed, defineComponent, h, nextTick, onBeforeUnmount, onMounted, reactive, ref, useId, watch } from "vue";
2
2
  import { DEFAULT_MENTION_RESULT_LIMIT, LOOMA_CHIP_COLORS, LOOMA_ICONS, createLoomaMentionExtension, createLoomaSlashCommandExtension, getActiveTableUiState, getDefaultEditorExtensions, getVisualViewportRect, handleTableAction, handleTableOverlayAction, measureTableOverlayGeometry, normalizeActiveTableColumnWidths, normalizeLoomaChipColor, resolveTableCellAt, shouldShowTextFormattingToolbar } from "@threadlabs/looma/editor";
3
- import { Combobox, EditorInsertTableGrid, EditorMentionMenu, EditorSlashMenu, EditorTableContextMenu, EditorTableOverlay, EditorTableToolbar, EditorToolbar, IconButton, Menu, MenuItem, Popover, Tooltip } from "@threadlabs/looma/vue";
3
+ import { Combobox, EditorInsertTableGrid, EditorMentionMenu, EditorMentionMenuItem, EditorSlashMenu, EditorSlashMenuGroup, EditorSlashMenuItem, EditorTableContextMenu, EditorTableOverlay, EditorTableToolbar, EditorToolbar, IconButton, Menu, MenuItem, Popover, Tooltip } from "@threadlabs/looma/vue";
4
4
  import { BubbleMenu, EditorContent, useEditor } from "@tiptap/vue-3";
5
5
  import { closeHistory } from "@tiptap/pm/history";
6
6
  import { createLowlight } from "lowlight";
@@ -14,6 +14,9 @@ var EDITOR_ADAPTER_COMPONENT_TAG_MAP = {
14
14
  EditorToolbar: "ui-editor-toolbar",
15
15
  EditorSlashMenu: "ui-editor-slash-menu",
16
16
  EditorMentionMenu: "ui-editor-mention-menu",
17
+ EditorMentionMenuItem: "ui-editor-mention-menu-item",
18
+ EditorSlashMenuGroup: "ui-editor-slash-menu-group",
19
+ EditorSlashMenuItem: "ui-editor-slash-menu-item",
17
20
  EditorTableContextMenu: "ui-editor-table-context-menu",
18
21
  EditorTableToolbar: "ui-editor-table-toolbar",
19
22
  EditorInsertTableGrid: "ui-editor-insert-table-grid",
@@ -1975,4 +1978,4 @@ var LoomaEditor = defineComponent({
1975
1978
  }
1976
1979
  });
1977
1980
  //#endregion
1978
- export { EDITOR_ADAPTER_COMPONENT_TAG_MAP, EditorInsertTableGrid, EditorMentionMenu, EditorSlashMenu, EditorTableContextMenu, EditorTableOverlay, EditorTableToolbar, EditorToolbar, LoomaEditor };
1981
+ export { EDITOR_ADAPTER_COMPONENT_TAG_MAP, EditorInsertTableGrid, EditorMentionMenu, EditorMentionMenuItem, EditorSlashMenu, EditorSlashMenuGroup, EditorSlashMenuItem, EditorTableContextMenu, EditorTableOverlay, EditorTableToolbar, EditorToolbar, LoomaEditor };
@@ -3,7 +3,7 @@
3
3
  * `@threadlabs/looma/vue`, re-exported beside the editor that composes them.
4
4
  */
5
5
  import type { InsertTableEventDetail, MentionMenuHighlightEventDetail, MentionMenuSelectEventDetail, SlashMenuHighlightEventDetail, SlashMenuSelectEventDetail, TableContextMenuActionEventDetail } from "@threadlabs/looma/editor";
6
- export { EditorInsertTableGrid, EditorMentionMenu, EditorSlashMenu, EditorTableContextMenu, EditorTableOverlay, EditorTableToolbar, EditorToolbar, } from "@threadlabs/looma/vue";
6
+ export { EditorInsertTableGrid, EditorMentionMenu, EditorMentionMenuItem, EditorSlashMenu, EditorSlashMenuGroup, EditorSlashMenuItem, EditorTableContextMenu, EditorTableOverlay, EditorTableToolbar, EditorToolbar, } from "@threadlabs/looma/vue";
7
7
  /** The editor components' event details, by event name. */
8
8
  export interface VueEditorAdapterEventMap {
9
9
  highlight: MentionMenuHighlightEventDetail | SlashMenuHighlightEventDetail;
@@ -66,6 +66,9 @@ export declare const EDITOR_ADAPTER_COMPONENT_TAG_MAP: {
66
66
  readonly EditorToolbar: "ui-editor-toolbar";
67
67
  readonly EditorSlashMenu: "ui-editor-slash-menu";
68
68
  readonly EditorMentionMenu: "ui-editor-mention-menu";
69
+ readonly EditorMentionMenuItem: "ui-editor-mention-menu-item";
70
+ readonly EditorSlashMenuGroup: "ui-editor-slash-menu-group";
71
+ readonly EditorSlashMenuItem: "ui-editor-slash-menu-item";
69
72
  readonly EditorTableContextMenu: "ui-editor-table-context-menu";
70
73
  readonly EditorTableToolbar: "ui-editor-table-toolbar";
71
74
  readonly EditorInsertTableGrid: "ui-editor-insert-table-grid";