@vizel/svelte 0.0.1-alpha.1 → 0.0.1-alpha.5
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.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/tiptap-extensions.d.ts +16 -0
- package/dist/tiptap-extensions.d.ts.map +1 -0
- package/dist/tiptap-extensions.js +15 -0
- package/package.json +29 -34
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Svelte 5 components and runes for the Vizel visual editor.
|
|
5
5
|
*/
|
|
6
|
+
import "./tiptap-extensions.ts";
|
|
6
7
|
import "./iconRenderer.ts";
|
|
7
8
|
export { getVizelContext, getVizelContextSafe, getVizelIconContext, setVizelIcons, Vizel, VizelBubbleMenu, VizelBubbleMenuButton, type VizelBubbleMenuButtonProps, VizelBubbleMenuColorPicker, type VizelBubbleMenuColorPickerProps, VizelBubbleMenuDefault, type VizelBubbleMenuDefaultProps, VizelBubbleMenuDivider, type VizelBubbleMenuDividerProps, type VizelBubbleMenuProps, VizelColorPicker, type VizelColorPickerProps, VizelEditor, type VizelEditorProps, VizelEmbedView, type VizelEmbedViewProps, type VizelExposed, VizelIcon, type VizelIconProps, VizelIconProvider, type VizelIconProviderProps, VizelLinkEditor, type VizelLinkEditorProps, VizelNodeSelector, type VizelNodeSelectorProps, VizelPortal, type VizelPortalProps, type VizelProps, VizelProvider, type VizelProviderProps, type VizelRef, VizelSaveIndicator, type VizelSaveIndicatorProps, VizelSlashMenu, VizelSlashMenuEmpty, type VizelSlashMenuEmptyProps, VizelSlashMenuItem, type VizelSlashMenuItemProps, type VizelSlashMenuProps, type VizelSlashMenuRef, VizelThemeProvider, type VizelThemeProviderProps, } from "./components/index.ts";
|
|
8
9
|
export { type CreateVizelAutoSaveResult, type CreateVizelEditorOptions, type CreateVizelMarkdownOptions, type CreateVizelMarkdownResult, createVizelAutoSave, createVizelEditor, createVizelEditorState, createVizelMarkdown, createVizelSlashMenuRenderer, createVizelState, getVizelTheme, getVizelThemeSafe, type VizelSlashMenuRendererOptions, } from "./runes/index.ts";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,mBAAmB,CAAC;AAG3B,OAAO,EACL,eAAe,EACf,mBAAmB,EACnB,mBAAmB,EACnB,aAAa,EAEb,KAAK,EAEL,eAAe,EACf,qBAAqB,EACrB,KAAK,0BAA0B,EAC/B,0BAA0B,EAC1B,KAAK,+BAA+B,EACpC,sBAAsB,EACtB,KAAK,2BAA2B,EAChC,sBAAsB,EACtB,KAAK,2BAA2B,EAChC,KAAK,oBAAoB,EAEzB,gBAAgB,EAChB,KAAK,qBAAqB,EAE1B,WAAW,EACX,KAAK,gBAAgB,EAErB,cAAc,EACd,KAAK,mBAAmB,EACxB,KAAK,YAAY,EAEjB,SAAS,EACT,KAAK,cAAc,EACnB,iBAAiB,EACjB,KAAK,sBAAsB,EAC3B,eAAe,EACf,KAAK,oBAAoB,EAEzB,iBAAiB,EACjB,KAAK,sBAAsB,EAE3B,WAAW,EACX,KAAK,gBAAgB,EACrB,KAAK,UAAU,EACf,aAAa,EACb,KAAK,kBAAkB,EACvB,KAAK,QAAQ,EAEb,kBAAkB,EAClB,KAAK,uBAAuB,EAE5B,cAAc,EACd,mBAAmB,EACnB,KAAK,wBAAwB,EAC7B,kBAAkB,EAClB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,iBAAiB,EACtB,kBAAkB,EAClB,KAAK,uBAAuB,GAC7B,MAAM,uBAAuB,CAAC;AAG/B,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,0BAA0B,EAC/B,KAAK,yBAAyB,EAC9B,mBAAmB,EACnB,iBA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ACjB,sBAAsB,EACtB,mBAAmB,EACnB,4BAA4B,EAC5B,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,KAAK,6BAA6B,GACnC,MAAM,kBAAkB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Svelte 5 components and runes for the Vizel visual editor.
|
|
5
5
|
*/
|
|
6
|
+
// Import Tiptap extension types for ChainedCommands augmentation
|
|
7
|
+
import "./tiptap-extensions.ts";
|
|
6
8
|
// Initialize icon renderer (auto-registers with core)
|
|
7
9
|
import "./iconRenderer.ts";
|
|
8
10
|
// Components
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Import Tiptap extension types to include their module augmentations.
|
|
3
|
+
* These augmentations add extension-specific commands to the ChainedCommands interface.
|
|
4
|
+
*
|
|
5
|
+
* Note: This file must be imported somewhere in the package for TypeScript
|
|
6
|
+
* to include the module augmentations during type checking.
|
|
7
|
+
*/
|
|
8
|
+
import "@tiptap/extension-bold";
|
|
9
|
+
import "@tiptap/extension-code";
|
|
10
|
+
import "@tiptap/extension-color";
|
|
11
|
+
import "@tiptap/extension-highlight";
|
|
12
|
+
import "@tiptap/extension-italic";
|
|
13
|
+
import "@tiptap/extension-strike";
|
|
14
|
+
import "@tiptap/extension-text-style";
|
|
15
|
+
import "@tiptap/extension-underline";
|
|
16
|
+
//# sourceMappingURL=tiptap-extensions.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tiptap-extensions.d.ts","sourceRoot":"","sources":["../src/tiptap-extensions.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,wBAAwB,CAAC;AAChC,OAAO,wBAAwB,CAAC;AAChC,OAAO,yBAAyB,CAAC;AACjC,OAAO,6BAA6B,CAAC;AACrC,OAAO,0BAA0B,CAAC;AAClC,OAAO,0BAA0B,CAAC;AAClC,OAAO,8BAA8B,CAAC;AACtC,OAAO,6BAA6B,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Import Tiptap extension types to include their module augmentations.
|
|
3
|
+
* These augmentations add extension-specific commands to the ChainedCommands interface.
|
|
4
|
+
*
|
|
5
|
+
* Note: This file must be imported somewhere in the package for TypeScript
|
|
6
|
+
* to include the module augmentations during type checking.
|
|
7
|
+
*/
|
|
8
|
+
import "@tiptap/extension-bold";
|
|
9
|
+
import "@tiptap/extension-code";
|
|
10
|
+
import "@tiptap/extension-color";
|
|
11
|
+
import "@tiptap/extension-highlight";
|
|
12
|
+
import "@tiptap/extension-italic";
|
|
13
|
+
import "@tiptap/extension-strike";
|
|
14
|
+
import "@tiptap/extension-text-style";
|
|
15
|
+
import "@tiptap/extension-underline";
|
package/package.json
CHANGED
|
@@ -1,46 +1,33 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vizel/svelte",
|
|
3
|
-
"version": "0.0.1-alpha.
|
|
4
|
-
"
|
|
5
|
-
"keywords": [
|
|
6
|
-
"svelte",
|
|
7
|
-
"svelte5",
|
|
8
|
-
"tiptap",
|
|
9
|
-
"editor",
|
|
10
|
-
"markdown",
|
|
11
|
-
"wysiwyg",
|
|
12
|
-
"rich-text",
|
|
13
|
-
"block-editor"
|
|
14
|
-
],
|
|
15
|
-
"license": "MIT",
|
|
16
|
-
"author": "Seiji Kohara",
|
|
3
|
+
"version": "0.0.1-alpha.5",
|
|
4
|
+
"type": "module",
|
|
17
5
|
"repository": {
|
|
18
6
|
"type": "git",
|
|
19
|
-
"url": "
|
|
7
|
+
"url": "https://github.com/seijikohara/vizel",
|
|
20
8
|
"directory": "packages/svelte"
|
|
21
9
|
},
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"sideEffects": false,
|
|
26
|
-
"engines": {
|
|
27
|
-
"node": ">=18"
|
|
28
|
-
},
|
|
29
|
-
"main": "./dist/index.js",
|
|
30
|
-
"module": "./dist/index.js",
|
|
31
|
-
"types": "./dist/index.d.ts",
|
|
32
|
-
"svelte": "./dist/index.js",
|
|
10
|
+
"main": "./src/index.ts",
|
|
11
|
+
"types": "./src/index.ts",
|
|
12
|
+
"svelte": "./src/index.ts",
|
|
33
13
|
"exports": {
|
|
34
14
|
".": {
|
|
35
|
-
"types": "./
|
|
36
|
-
"svelte": "./
|
|
37
|
-
"import": "./
|
|
38
|
-
|
|
39
|
-
},
|
|
40
|
-
"./package.json": "./package.json"
|
|
15
|
+
"types": "./src/index.ts",
|
|
16
|
+
"svelte": "./src/index.ts",
|
|
17
|
+
"import": "./src/index.ts"
|
|
18
|
+
}
|
|
41
19
|
},
|
|
42
20
|
"publishConfig": {
|
|
43
|
-
"
|
|
21
|
+
"main": "./dist/index.js",
|
|
22
|
+
"types": "./dist/index.d.ts",
|
|
23
|
+
"svelte": "./dist/index.js",
|
|
24
|
+
"exports": {
|
|
25
|
+
".": {
|
|
26
|
+
"types": "./dist/index.d.ts",
|
|
27
|
+
"svelte": "./dist/index.js",
|
|
28
|
+
"import": "./dist/index.js"
|
|
29
|
+
}
|
|
30
|
+
}
|
|
44
31
|
},
|
|
45
32
|
"files": [
|
|
46
33
|
"dist"
|
|
@@ -51,7 +38,7 @@
|
|
|
51
38
|
},
|
|
52
39
|
"dependencies": {
|
|
53
40
|
"@iconify/svelte": "^5",
|
|
54
|
-
"@vizel/core": "^0.0.1-alpha.
|
|
41
|
+
"@vizel/core": "^0.0.1-alpha.5"
|
|
55
42
|
},
|
|
56
43
|
"peerDependencies": {
|
|
57
44
|
"svelte": "^5"
|
|
@@ -59,6 +46,14 @@
|
|
|
59
46
|
"devDependencies": {
|
|
60
47
|
"@sveltejs/package": "^2",
|
|
61
48
|
"@sveltejs/vite-plugin-svelte": "^6",
|
|
49
|
+
"@tiptap/extension-bold": "^3",
|
|
50
|
+
"@tiptap/extension-code": "^3",
|
|
51
|
+
"@tiptap/extension-color": "^3",
|
|
52
|
+
"@tiptap/extension-highlight": "^3",
|
|
53
|
+
"@tiptap/extension-italic": "^3",
|
|
54
|
+
"@tiptap/extension-strike": "^3",
|
|
55
|
+
"@tiptap/extension-text-style": "^3",
|
|
56
|
+
"@tiptap/extension-underline": "^3",
|
|
62
57
|
"svelte-check": "^4"
|
|
63
58
|
}
|
|
64
59
|
}
|