* feat: Add mathematics extension and toolbar commands This commit introduces the mathematics extension for inline and block expressions. It also adds corresponding toolbar commands and updates the drag handle menu to include "Turn Into" and "Add Node" options. The placeholder styling and blockquote styles have also been refined. Co-authored-by: best <[email protected]> * Update Tiptap and KaTeX dependencies Co-authored-by: best <[email protected]> * Downgrade svelte-tiptap to v2.2.0 Co-authored-by: best <[email protected]> --------- Co-authored-by: Cursor Agent <[email protected]>
72 lines
2.3 KiB
JSON
72 lines
2.3 KiB
JSON
{
|
|
"name": "@cio/ui",
|
|
"version": "0.0.1",
|
|
"type": "module",
|
|
"scripts": {
|
|
"generate-css": "echo 'generating CSS' && pnpx @tailwindcss/cli -i ./src/index.css -o ./src/output.css --minify",
|
|
"build": "pnpm generate-css",
|
|
"dev": "pnpm generate-css --watch",
|
|
"format": "prettier --write .",
|
|
"prefix:list": "node add-ui-prefix.cjs --dry-run",
|
|
"prefix": "node add-ui-prefix.cjs && pnpm format"
|
|
},
|
|
"devDependencies": {
|
|
"@internationalized/date": "^3.8.1",
|
|
"@lucide/svelte": "^0.544.0",
|
|
"@sveltejs/adapter-auto": "^3.0.0",
|
|
"@sveltejs/kit": "^2.5.27",
|
|
"@sveltejs/vite-plugin-svelte": "^6.2.1",
|
|
"@tailwindcss/typography": "^0.5.18",
|
|
"@types/dompurify": "^3.2.0",
|
|
"@zxcvbn-ts/core": "^3.0.4",
|
|
"@zxcvbn-ts/language-common": "^3.0.4",
|
|
"@zxcvbn-ts/language-en": "^3.0.2",
|
|
"bits-ui": "^2.14.4",
|
|
"clsx": "^2.1.1",
|
|
"layerchart": "2.0.0-next.27",
|
|
"mode-watcher": "^1.1.0",
|
|
"runed": "^0.36.0",
|
|
"svelte": "^5.39.11",
|
|
"svelte-easy-crop": "^5.0.0",
|
|
"svelte-sonner": "^1.0.5",
|
|
"svelte-toolbelt": "^0.10.6",
|
|
"tailwind-merge": "^3.4.0",
|
|
"tailwind-variants": "^3.2.2",
|
|
"tailwindcss": "^4.1.14",
|
|
"tw-animate-css": "^1.4.0",
|
|
"vaul-svelte": "1.0.0-next.7"
|
|
},
|
|
"dependencies": {
|
|
"@floating-ui/dom": "^1.7.4",
|
|
"@tiptap/core": "^3.10.7",
|
|
"@tiptap/extension-bubble-menu": "^3.10.7",
|
|
"@tiptap/extension-code-block-lowlight": "^3.10.7",
|
|
"@tiptap/extension-highlight": "^3.10.7",
|
|
"@tiptap/extension-image": "^3.10.7",
|
|
"@tiptap/extension-list": "^3.10.7",
|
|
"@tiptap/extension-mathematics": "^3.10.7",
|
|
"@tiptap/extension-subscript": "^3.10.7",
|
|
"@tiptap/extension-superscript": "^3.10.7",
|
|
"@tiptap/extension-table": "^3.10.7",
|
|
"@tiptap/extension-text-align": "^3.10.7",
|
|
"@tiptap/extension-text-style": "^3.10.7",
|
|
"@tiptap/extension-typography": "^3.10.7",
|
|
"@tiptap/extensions": "^3.10.7",
|
|
"@tiptap/markdown": "^3.10.7",
|
|
"@tiptap/pm": "^3.10.7",
|
|
"@tiptap/starter-kit": "^3.10.7",
|
|
"@tiptap/suggestion": "^3.10.7",
|
|
"d3-array": "^3.2.4",
|
|
"d3-scale": "^4.0.2",
|
|
"dompurify": "^3.3.0",
|
|
"katex": "^0.16.25",
|
|
"lowlight": "^3.3.0",
|
|
"svelte-tiptap": "^2.2.0",
|
|
"tippy.js": "^6.3.7",
|
|
"tiptap-extension-auto-joiner": "^0.1.3"
|
|
},
|
|
"peerDependencies": {
|
|
"bits-ui": "^2.14.4"
|
|
}
|
|
}
|