vue-edit 1.0.0

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.
@@ -0,0 +1,23 @@
1
+ import type { PrimitiveProps } from "reka-ui";
2
+ import type { HTMLAttributes } from "vue";
3
+ import type { ButtonVariants } from ".";
4
+ interface Props extends PrimitiveProps {
5
+ variant?: ButtonVariants["variant"];
6
+ size?: ButtonVariants["size"];
7
+ class?: HTMLAttributes["class"];
8
+ }
9
+ declare var __VLS_7: {};
10
+ type __VLS_Slots = {} & {
11
+ default?: (props: typeof __VLS_7) => any;
12
+ };
13
+ declare const __VLS_base: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
14
+ as: string;
15
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
16
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
17
+ declare const _default: typeof __VLS_export;
18
+ export default _default;
19
+ type __VLS_WithSlots<T, S> = T & {
20
+ new (): {
21
+ $slots: S;
22
+ };
23
+ };
@@ -0,0 +1,7 @@
1
+ import type { VariantProps } from "class-variance-authority";
2
+ export { default as Button } from "./Button.vue";
3
+ export declare const buttonVariants: (props?: {
4
+ variant?: "default" | "destructive" | "outline" | "secondary" | "ghost" | "link";
5
+ size?: "default" | "sm" | "lg" | "icon";
6
+ } & import("class-variance-authority/dist/types.js").ClassProp) => string;
7
+ export type ButtonVariants = VariantProps<typeof buttonVariants>;
@@ -0,0 +1,2 @@
1
+ import { type ClassValue } from 'clsx';
2
+ export declare function cn(...inputs: ClassValue[]): string;
package/package.json ADDED
@@ -0,0 +1,68 @@
1
+ {
2
+ "name": "vue-edit",
3
+ "version": "1.0.0",
4
+ "description": "Text Editor for Vue",
5
+ "keywords": ["editor", "text editor", "vue"],
6
+ "type": "module",
7
+ "main": "dist/index.es.js",
8
+ "types": "dist/src/index.d.ts",
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/index.es.js",
12
+ "types": "./dist/index.d.ts"
13
+ },
14
+ "./index.css": "./dist/index.css"
15
+ },
16
+ "scripts": {
17
+ "lint": "eslint",
18
+ "build:types": "vue-tsc --noEmit false",
19
+ "build:css": "tailwindcss -i ./src/index.css -o ./dist/index.css --minify",
20
+ "build": "vite build && npm run build:types && npm run build:css",
21
+ "prepare": "npm run build"
22
+ },
23
+ "files": [
24
+ "dist/"
25
+ ],
26
+ "author": "Kenny Romanov",
27
+ "license": "MIT",
28
+ "devDependencies": {
29
+ "@babel/cli": "^7.28.3",
30
+ "@babel/core": "^7.28.4",
31
+ "@babel/preset-env": "^7.28.3",
32
+ "@babel/preset-typescript": "^7.27.1",
33
+ "@eslint/js": "^9.37.0",
34
+ "@tailwindcss/cli": "^4.1.14",
35
+ "@tailwindcss/vite": "^4.1.14",
36
+ "@types/minimist": "^1.2.5",
37
+ "@types/node": "^24.7.2",
38
+ "@vitejs/plugin-vue": "^6.0.1",
39
+ "esbuild": "^0.25.10",
40
+ "esbuild-plugin-import-glob": "^0.1.1",
41
+ "eslint-plugin-vue": "^10.5.0",
42
+ "globals": "^16.4.0",
43
+ "typescript": "^5.9.3",
44
+ "typescript-eslint": "^8.46.0",
45
+ "vite": "^7.1.9",
46
+ "vite-plugin-eslint": "^1.8.1",
47
+ "vue-eslint-parser": "^10.2.0",
48
+ "vue-tsc": "^3.1.1"
49
+ },
50
+ "dependencies": {
51
+ "@tiptap/extension-list": "^3.6.6",
52
+ "@tiptap/extension-paragraph": "^3.6.6",
53
+ "@tiptap/extension-text-style": "^3.6.6",
54
+ "@tiptap/extension-underline": "^3.6.6",
55
+ "@tiptap/starter-kit": "^3.6.6",
56
+ "@tiptap/vue-3": "^3.6.6",
57
+ "@vueuse/core": "^13.9.0",
58
+ "class-variance-authority": "^0.7.1",
59
+ "lucide-vue-next": "^0.545.0",
60
+ "reka-ui": "^2.5.1",
61
+ "select": "^1.1.2",
62
+ "shadcn": "^3.4.0",
63
+ "tailwind-merge": "^3.3.1",
64
+ "tailwindcss": "^4.1.14",
65
+ "tw-animate-css": "^1.4.0",
66
+ "vue": "^3.5.22"
67
+ }
68
+ }