tiptapify 0.0.27 → 0.0.28

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/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import { Editor } from "@tiptap/vue-3";
2
2
  import type { DefineComponent } from 'vue'
3
- import { toolbarTypes } from "./src/types/toolbarTypes";
3
+ import { toolbarSections } from "./src/types/toolbarTypes";
4
4
 
5
5
  export interface TiptapifyProps {
6
6
  content: string|object
@@ -18,7 +18,7 @@ export interface TiptapifyProps {
18
18
  defaultFontFamily: string
19
19
  fontMeasure: string
20
20
  rounded: string
21
- customExtensions: toolbarTypes
21
+ customExtensions: toolbarSections
22
22
  }
23
23
 
24
24
  export interface TiptapifyEmits {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tiptapify",
3
3
  "types": "./index.d.ts",
4
- "version": "0.0.27",
4
+ "version": "0.0.28",
5
5
  "description": "Tiptap3 editor with Vuetify3 menu implementation",
6
6
  "exports": {
7
7
  ".": {
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import { Editor } from "@tiptap/vue-3";
3
- import { computed, defineProps, inject, Ref, ref } from "vue";
3
+ import { computed, inject, Ref, ref } from "vue";
4
4
  import { BubbleMenu } from '@tiptap/vue-3/menus'
5
5
  import * as mdi from '@mdi/js'
6
6
 
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import { Editor } from "@tiptap/vue-3";
3
- import { defineProps, inject, Ref } from "vue";
3
+ import { inject, Ref } from "vue";
4
4
  import { FloatingMenu } from '@tiptap/vue-3/menus'
5
5
  import * as mdi from '@mdi/js'
6
6
 
@@ -2,7 +2,7 @@
2
2
  import { Editor } from "@tiptap/vue-3";
3
3
  import Items from "@tiptapify/components/Toolbar/Items.vue";
4
4
  import defaults from "@tiptapify/constants/defaults";
5
- import { computed, defineProps, inject, PropType, Ref } from 'vue'
5
+ import { computed, inject, PropType, Ref } from 'vue'
6
6
  import { itemsPropType, toolbarSections } from '@tiptapify/types/toolbarTypes'
7
7
 
8
8
  import { default as items, availableItems } from "@tiptapify/components/Toolbar/items";
@@ -1,7 +1,7 @@
1
1
  <script setup lang="ts">
2
2
 
3
3
  import defaults from "@tiptapify/constants/defaults";
4
- import { defineProps, PropType } from 'vue'
4
+ import { PropType } from 'vue'
5
5
 
6
6
  import { toolbarSections } from "@tiptapify/types/toolbarTypes";
7
7
 
@@ -1,5 +1,4 @@
1
1
  <script setup lang="ts">
2
- import { defineProps } from 'vue'
3
2
  import * as mdi from '@mdi/js'
4
3
 
5
4
  defineProps({