Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
refactor: rename current editor
Brad Barbinbfdb8d2f6a47
diff --git a/apps/carbon/app/components/Form/RichText.tsx b/apps/carbon/app/components/Form/RichText.tsxindex 2a7da5b65a..4aecabc0a4 100644--- a/apps/carbon/app/components/Form/RichText.tsx+++ b/apps/carbon/app/components/Form/RichText.tsx@@ -1,14 +1,14 @@import {- Editor,FormControl,FormErrorMessage,- useEditor,+ RichText as RichTextBase,+ useRichText,} from "@carbon/react";import { useControlField, useField } from "@carbon/remix-validated-form";import type { ComponentProps } from "react";import { useEffect } from "react";-type RichTextProps = Omit<ComponentProps<typeof Editor>, "editor"> & {+type RichTextProps = Omit<ComponentProps<typeof RichTextBase>, "editor"> & {name: string;output?: "html" | "json" | "text";};@@ -16,44 +16,44 @@ type RichTextProps = Omit<ComponentProps<typeof Editor>, "editor"> & {const RichText = ({ name, output = "html", ...props }: RichTextProps) => {const { getInputProps, error, defaultValue } = useField(name);const [value, setValue] = useControlField<string>(name);- const editor = useEditor(defaultValue);+ const richText = useRichText(defaultValue);useEffect(() => {if (!value) {- editor?.commands.clearContent(true);+ richText?.commands.clearContent(true);}- }, [value, editor]);+ }, [value, richText]);useEffect(() => {- if (editor) {- editor.on("update", () => {+ if (richText) {+ richText.on("update", () => {switch (output) {case "html":- setValue(editor.getHTML());+ setValue(richText.getHTML());break;case "json":- setValue(JSON.stringify(editor.getJSON()));+ setValue(JSON.stringify(richText.getJSON()));break;case "text":- setValue(editor.getText());+ setValue(richText.getText());break;default:- setValue(editor.getHTML());+ setValue(richText.getHTML());break;}});}return () => {- if (editor) {- editor.off("update");+ if (richText) {+ richText.off("update");}};- }, [editor, output, setValue]);+ }, [richText, output, setValue]);return (<FormControl isInvalid={!!error}>- <Editor {...props} editor={editor} />+ <RichTextBase {...props} editor={richText} /><input{...getInputProps({// @ts-ignorediff --git a/package-lock.json b/package-lock.jsonindex 32386638c3..2a4fd1bd96 100644--- a/package-lock.json+++ b/package-lock.json@@ -4,6 +4,7 @@"requires": true,"packages": {"": {+ "license": "MIT","workspaces": ["apps/*","packages/*"@@ -26,6 +27,7 @@}},"apps/carbon": {+ "license": "MIT","dependencies": {"@carbon/database": "*","@carbon/documents": "*",@@ -1289,6 +1291,14 @@"resolved": "packages/utils","link": true},+ "node_modules/@cfcs/core": {+ "version": "0.0.6",+ "resolved": "https://registry.npmjs.org/@cfcs/core/-/core-0.0.6.tgz",+ "integrity": "sha512-FxfJMwoLB8MEMConeXUCqtMGqxdtePQxRBOiGip9ULcYYam3WfCgoY6xdnMaSkYvRvmosp5iuG+TiPofm65+Pw==",+ "dependencies": {+ "@egjs/component": "^3.0.2"+ }+ },"node_modules/@cnakazawa/watch": {"version": "1.0.4","resolved": "https://registry.npmjs.org/@cnakazawa/watch/-/watch-1.0.4.tgz",@@ -1313,6 +1323,11 @@"node": ">=0.1.90"}},+ "node_modules/@daybrush/utils": {+ "version": "1.13.0",+ "resolved": "https://registry.npmjs.org/@daybrush/utils/-/utils-1.13.0.tgz",+ "integrity": "sha512-ALK12C6SQNNHw1enXK+UO8bdyQ+jaWNQ1Af7Z3FNxeAwjYhQT7do+TRE4RASAJ3ObaS2+TJ7TXR3oz2Gzbw0PQ=="+ },"node_modules/@dnd-kit/accessibility": {"version": "3.1.0","resolved": "https://registry.npmjs.org/@dnd-kit/accessibility/-/accessibility-3.1.0.tgz",@@ -1362,6 +1377,29 @@"react": ">=16.8.0"}},+ "node_modules/@egjs/agent": {+ "version": "2.4.3",+ "resolved": "https://registry.npmjs.org/@egjs/agent/-/agent-2.4.3.tgz",+ "integrity": "sha512-XvksSENe8wPeFlEVouvrOhKdx8HMniJ3by7sro2uPF3M6QqWwjzVcmvwoPtdjiX8O1lfRoLhQMp1a7NGlVTdIA=="+ },+ "node_modules/@egjs/children-differ": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/@egjs/children-differ/-/children-differ-1.0.1.tgz",+ "integrity": "sha512-DRvyqMf+CPCOzAopQKHtW+X8iN6Hy6SFol+/7zCUiE5y4P/OB8JP8FtU4NxtZwtafvSL4faD5KoQYPj3JHzPFQ==",+ "dependencies": {+ "@egjs/list-differ": "^1.0.0"+ }+ },+ "node_modules/@egjs/component": {+ "version": "3.0.5",+ "resolved": "https://registry.npmjs.org/@egjs/component/-/component-3.0.5.tgz",+ "integrity": "sha512-cLcGizTrrUNA2EYE3MBmEDt2tQv1joVP1Q3oDisZ5nw0MZDx2kcgEXM+/kZpfa/PAkFvYVhRUZwytIQWoN3V/w=="+ },+ "node_modules/@egjs/list-differ": {+ "version": "1.0.1",+ "resolved": "https://registry.npmjs.org/@egjs/list-differ/-/list-differ-1.0.1.tgz",+ "integrity": "sha512-OTFTDQcWS+1ZREOdCWuk5hCBgYO4OsD30lXcOCyVOAjXMhgL5rBRDnt/otb6Nz8CzU0L/igdcaQBDLWc4t9gvg=="+ },"node_modules/@emotion/hash": {"version": "0.9.1","resolved": "https://registry.npmjs.org/@emotion/hash/-/hash-0.9.1.tgz",@@ -8835,6 +8873,31 @@"resolved": "https://registry.npmjs.org/@rushstack/eslint-patch/-/eslint-patch-1.10.2.tgz","integrity": "sha512-hw437iINopmQuxWPSUEvqE56NCPsiU8N4AYtfHmJFckclktzK9YQJieD3XkDCDH4OjL+C7zgPUh73R/nrcHrqw=="},+ "node_modules/@scena/dragscroll": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/@scena/dragscroll/-/dragscroll-1.4.0.tgz",+ "integrity": "sha512-3O8daaZD9VXA9CP3dra6xcgt/qrm0mg0xJCwiX6druCteQ9FFsXffkF8PrqxY4Z4VJ58fFKEa0RlKqbsi/XnRA==",+ "dependencies": {+ "@daybrush/utils": "^1.6.0",+ "@scena/event-emitter": "^1.0.2"+ }+ },+ "node_modules/@scena/event-emitter": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/@scena/event-emitter/-/event-emitter-1.0.5.tgz",+ "integrity": "sha512-AzY4OTb0+7ynefmWFQ6hxDdk0CySAq/D4efljfhtRHCOP7MBF9zUfhKG3TJiroVjASqVgkRJFdenS8ArZo6Olg==",+ "dependencies": {+ "@daybrush/utils": "^1.1.1"+ }+ },+ "node_modules/@scena/matrix": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/@scena/matrix/-/matrix-1.1.1.tgz",+ "integrity": "sha512-JVKBhN0tm2Srl+Yt+Ywqu0oLgLcdemDQlD1OxmN9jaCTwaFPZ7tY8n6dhVgMEaR9qcR7r+kAlMXnSfNyYdE+Vg==",+ "dependencies": {+ "@daybrush/utils": "^1.4.0"+ }+ },"node_modules/@selderee/plugin-htmlparser2": {"version": "0.11.0","resolved": "https://registry.npmjs.org/@selderee/plugin-htmlparser2/-/plugin-htmlparser2-0.11.0.tgz",@@ -9317,6 +9380,19 @@"@tiptap/core": "^2.0.0"}},+ "node_modules/@tiptap/extension-character-count": {+ "version": "2.4.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-character-count/-/extension-character-count-2.4.0.tgz",+ "integrity": "sha512-IA3Fubvag5N/7m2xS/T8D1nH26UyebBL9CtZ3/4de4faKgvDQLlILsSI2Hefi7j7rUCYCYzgF2S0Gny+Z76ulw==",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.0.0",+ "@tiptap/pm": "^2.0.0"+ }+ },"node_modules/@tiptap/extension-code": {"version": "2.3.0","resolved": "https://registry.npmjs.org/@tiptap/extension-code/-/extension-code-2.3.0.tgz",@@ -9342,6 +9418,20 @@"@tiptap/pm": "^2.0.0"}},+ "node_modules/@tiptap/extension-code-block-lowlight": {+ "version": "2.4.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-code-block-lowlight/-/extension-code-block-lowlight-2.4.0.tgz",+ "integrity": "sha512-j0SdFq66A97Cn7bQOMqFYBaYsmOltZZ6o4uDZH6fdTvEFbfXTdtTYs2awsNSbW+w/DtivKZCvAX1FRLR3/g/5A==",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.0.0",+ "@tiptap/extension-code-block": "^2.0.0",+ "@tiptap/pm": "^2.0.0"+ }+ },"node_modules/@tiptap/extension-color": {"version": "2.3.0","resolved": "https://registry.npmjs.org/@tiptap/extension-color/-/extension-color-2.3.0.tgz",@@ -9433,6 +9523,18 @@"@tiptap/core": "^2.0.0"}},+ "node_modules/@tiptap/extension-highlight": {+ "version": "2.4.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-highlight/-/extension-highlight-2.4.0.tgz",+ "integrity": "sha512-p2I/CaMrs6hzpj/dSw6UNobOWTV38yTjPK+B4ShJQ7IN2u/C82KOTOeFfJoFd9KykmpVOVW3w3nKG3ad0HXPuQ==",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.0.0"+ }+ },"node_modules/@tiptap/extension-history": {"version": "2.3.0","resolved": "https://registry.npmjs.org/@tiptap/extension-history/-/extension-history-2.3.0.tgz",@@ -9459,6 +9561,18 @@"@tiptap/pm": "^2.0.0"}},+ "node_modules/@tiptap/extension-image": {+ "version": "2.4.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-image/-/extension-image-2.4.0.tgz",+ "integrity": "sha512-NIVhRPMO/ONo8OywEd+8zh0Q6Q7EbFHtBxVsvfOKj9KtZkaXQfUO4MzONTyptkvAchTpj9pIzeaEY5fyU87gFA==",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.0.0"+ }+ },"node_modules/@tiptap/extension-italic": {"version": "2.3.0","resolved": "https://registry.npmjs.org/@tiptap/extension-italic/-/extension-italic-2.3.0.tgz",@@ -9471,6 +9585,22 @@"@tiptap/core": "^2.0.0"}},+ "node_modules/@tiptap/extension-link": {+ "version": "2.4.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-link/-/extension-link-2.4.0.tgz",+ "integrity": "sha512-r3PjT0bjSKAorHAEBPA0icSMOlqALbxVlWU9vAc+Q3ndzt7ht0CTPNewzFF9kjzARABVt1cblXP/2+c0qGzcsg==",+ "dependencies": {+ "linkifyjs": "^4.1.0"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.0.0",+ "@tiptap/pm": "^2.0.0"+ }+ },"node_modules/@tiptap/extension-list-item": {"version": "2.3.0","resolved": "https://registry.npmjs.org/@tiptap/extension-list-item/-/extension-list-item-2.3.0.tgz",@@ -9507,6 +9637,19 @@"@tiptap/core": "^2.0.0"}},+ "node_modules/@tiptap/extension-placeholder": {+ "version": "2.0.3",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-placeholder/-/extension-placeholder-2.0.3.tgz",+ "integrity": "sha512-Z42jo0termRAf0S0L8oxrts94IWX5waU4isS2CUw8xCUigYyCFslkhQXkWATO1qRbjNFLKN2C9qvCgGf4UeBrw==",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.0.0",+ "@tiptap/pm": "^2.0.0"+ }+ },"node_modules/@tiptap/extension-strike": {"version": "2.3.0","resolved": "https://registry.npmjs.org/@tiptap/extension-strike/-/extension-strike-2.3.0.tgz",@@ -9519,6 +9662,31 @@"@tiptap/core": "^2.0.0"}},+ "node_modules/@tiptap/extension-task-item": {+ "version": "2.4.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-task-item/-/extension-task-item-2.4.0.tgz",+ "integrity": "sha512-x40vdHnmDiBbA2pjWR/92wVGb6jT13Nk2AhRUI/oP/r4ZGKpTypoB7heDnvLBgH0Y5a51dFqU+G1SFFL30u5uA==",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.0.0",+ "@tiptap/pm": "^2.0.0"+ }+ },+ "node_modules/@tiptap/extension-task-list": {+ "version": "2.4.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-task-list/-/extension-task-list-2.4.0.tgz",+ "integrity": "sha512-vmUB3wEJU81QbiHUygBlselQW8YIW8/85UTwANvWx8+KEWyM7EUF4utcm5R2UobIprIcWb4hyVkvW/5iou25gg==",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.0.0"+ }+ },"node_modules/@tiptap/extension-text": {"version": "2.3.0","resolved": "https://registry.npmjs.org/@tiptap/extension-text/-/extension-text-2.3.0.tgz",@@ -9543,6 +9711,30 @@"@tiptap/core": "^2.0.0"}},+ "node_modules/@tiptap/extension-underline": {+ "version": "2.4.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-underline/-/extension-underline-2.4.0.tgz",+ "integrity": "sha512-guWojb7JxUwLz4OKzwNExJwOkhZjgw/ttkXCMBT0PVe55k998MMYe1nvN0m2SeTW9IxurEPtScH4kYJ0XuSm8Q==",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.0.0"+ }+ },+ "node_modules/@tiptap/extension-youtube": {+ "version": "2.4.0",+ "resolved": "https://registry.npmjs.org/@tiptap/extension-youtube/-/extension-youtube-2.4.0.tgz",+ "integrity": "sha512-Ew6Oik9DaqP0xgQSUIWwozqeToJVOY4nqjRoKExGRuLdzgZeS+SmEA22ITBMcnZSJj8XBMgGBLcCWi+A7x1KAg==",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.0.0"+ }+ },"node_modules/@tiptap/pm": {"version": "2.0.4","resolved": "https://registry.npmjs.org/@tiptap/pm/-/pm-2.0.4.tgz",@@ -9624,6 +9816,19 @@"url": "https://github.com/sponsors/ueberdosis"}},+ "node_modules/@tiptap/suggestion": {+ "version": "2.4.0",+ "resolved": "https://registry.npmjs.org/@tiptap/suggestion/-/suggestion-2.4.0.tgz",+ "integrity": "sha512-6dCkjbL8vIzcLWtS6RCBx0jlYPKf2Beuyq5nNLrDDZZuyJow5qJAY0eGu6Xomp9z0WDK/BYOxT4hHNoGMDkoAg==",+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.0.0",+ "@tiptap/pm": "^2.0.0"+ }+ },"node_modules/@tootallnate/once": {"version": "1.1.2","resolved": "https://registry.npmjs.org/@tootallnate/once/-/once-1.1.2.tgz",@@ -10306,6 +10511,11 @@"@types/node": "*"}},+ "node_modules/@types/linkify-it": {+ "version": "3.0.5",+ "resolved": "https://registry.npmjs.org/@types/linkify-it/-/linkify-it-3.0.5.tgz",+ "integrity": "sha512-yg6E+u0/+Zjva+buc3EIb+29XEg4wltq7cSmd4Uc2EE/1nUVmxyzpX6gUXD0V8jIrG0r7YeOGVIbYRkxeooCtw=="+ },"node_modules/@types/lodash": {"version": "4.17.0","resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.17.0.tgz",@@ -10329,6 +10539,15 @@"@types/lodash": "*"}},+ "node_modules/@types/markdown-it": {+ "version": "13.0.8",+ "resolved": "https://registry.npmjs.org/@types/markdown-it/-/markdown-it-13.0.8.tgz",+ "integrity": "sha512-V+KmpgiipS+zoypeUSS9ojesWtY/0k4XfqcK2fnVrX/qInJhX7rsCxZ/rygiPH2zxlPPrhfuW0I6ddMcWTKLsg==",+ "dependencies": {+ "@types/linkify-it": "^3",+ "@types/mdurl": "^1"+ }+ },"node_modules/@types/mdast": {"version": "4.0.3","resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-4.0.3.tgz",@@ -10337,6 +10556,11 @@"@types/unist": "*"}},+ "node_modules/@types/mdurl": {+ "version": "1.0.5",+ "resolved": "https://registry.npmjs.org/@types/mdurl/-/mdurl-1.0.5.tgz",+ "integrity": "sha512-6L6VymKTzYSrEf4Nev4Xa1LCHKrlTlYCBMTlQKFuddo1CvQcE52I0mwfOJayueUC7MJuXOeHTcIU683lzd0cUA=="+ },"node_modules/@types/mdx": {"version": "2.0.13","resolved": "https://registry.npmjs.org/@types/mdx/-/mdx-2.0.13.tgz",@@ -13661,6 +13885,23 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/css-styled": {+ "version": "1.0.8",+ "resolved": "https://registry.npmjs.org/css-styled/-/css-styled-1.0.8.tgz",+ "integrity": "sha512-tCpP7kLRI8dI95rCh3Syl7I+v7PP+2JYOzWkl0bUEoSbJM+u8ITbutjlQVf0NC2/g4ULROJPi16sfwDIO8/84g==",+ "dependencies": {+ "@daybrush/utils": "^1.13.0"+ }+ },+ "node_modules/css-to-mat": {+ "version": "1.1.1",+ "resolved": "https://registry.npmjs.org/css-to-mat/-/css-to-mat-1.1.1.tgz",+ "integrity": "sha512-kvpxFYZb27jRd2vium35G7q5XZ2WJ9rWjDUMNT36M3Hc41qCrLXFM5iEKMGXcrPsKfXEN+8l/riB4QzwwwiEyQ==",+ "dependencies": {+ "@daybrush/utils": "^1.13.0",+ "@scena/matrix": "^1.0.0"+ }+ },"node_modules/css-what": {"version": "6.1.0","resolved": "https://registry.npmjs.org/css-what/-/css-what-6.1.0.tgz",@@ -16733,6 +16974,11 @@}}},+ "node_modules/framework-utils": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/framework-utils/-/framework-utils-1.1.0.tgz",+ "integrity": "sha512-KAfqli5PwpFJ8o3psRNs8svpMGyCSAe8nmGcjQ0zZBWN2H6dZDnq+ABp3N3hdUmFeMrLtjOCTXD4yplUJIWceg=="+ },"node_modules/fresh": {"version": "0.5.2","resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz",@@ -16900,6 +17146,15 @@"node": ">=6.9.0"}},+ "node_modules/gesto": {+ "version": "1.19.4",+ "resolved": "https://registry.npmjs.org/gesto/-/gesto-1.19.4.tgz",+ "integrity": "sha512-hfr/0dWwh0Bnbb88s3QVJd1ZRJeOWcgHPPwmiH6NnafDYvhTsxg+SLYu+q/oPNh9JS3V+nlr6fNs8kvPAtcRDQ==",+ "dependencies": {+ "@daybrush/utils": "^1.13.0",+ "@scena/event-emitter": "^1.0.2"+ }+ },"node_modules/get-caller-file": {"version": "2.0.5","resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz",@@ -20116,6 +20371,26 @@"@sideway/pinpoint": "^2.0.0"}},+ "node_modules/jotai": {+ "version": "2.8.1",+ "resolved": "https://registry.npmjs.org/jotai/-/jotai-2.8.1.tgz",+ "integrity": "sha512-Gmk5Y3yJL/vN5S0rQ6AaWpXH5Q+HBGHThMHXfylVzXGVuO8YxPRtZf8Y9XYvl+h7ZMQXoHNdFi37vNsJFsiszQ==",+ "engines": {+ "node": ">=12.20.0"+ },+ "peerDependencies": {+ "@types/react": ">=17.0.0",+ "react": ">=17.0.0"+ },+ "peerDependenciesMeta": {+ "@types/react": {+ "optional": true+ },+ "react": {+ "optional": true+ }+ }+ },"node_modules/joycon": {"version": "3.1.1","resolved": "https://registry.npmjs.org/joycon/-/joycon-3.1.1.tgz",@@ -20418,6 +20693,22 @@"node": ">= 12"}},+ "node_modules/keycode": {+ "version": "2.2.1",+ "resolved": "https://registry.npmjs.org/keycode/-/keycode-2.2.1.tgz",+ "integrity": "sha512-Rdgz9Hl9Iv4QKi8b0OlCRQEzp4AgVxyCtz5S/+VIHezDmrDhkp2N2TqBWOLz0/gbeREXOOiI9/4b8BY9uw2vFg=="+ },+ "node_modules/keycon": {+ "version": "1.4.0",+ "resolved": "https://registry.npmjs.org/keycon/-/keycon-1.4.0.tgz",+ "integrity": "sha512-p1NAIxiRMH3jYfTeXRs2uWbVJ1WpEjpi8ktzUyBJsX7/wn2qu2VRXktneBLNtKNxJmlUYxRi9gOJt1DuthXR7A==",+ "dependencies": {+ "@cfcs/core": "^0.0.6",+ "@daybrush/utils": "^1.7.1",+ "@scena/event-emitter": "^1.0.2",+ "keycode": "^2.2.0"+ }+ },"node_modules/keyv": {"version": "4.5.4","resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz",@@ -20558,6 +20849,11 @@"uc.micro": "^2.0.0"}},+ "node_modules/linkifyjs": {+ "version": "4.1.3",+ "resolved": "https://registry.npmjs.org/linkifyjs/-/linkifyjs-4.1.3.tgz",+ "integrity": "sha512-auMesunaJ8yfkHvK4gfg1K0SaKX/6Wn9g2Aac/NwX+l5VdmFZzo/hdPGxEOETj+ryRa4/fiOPjeeKURSAJx1sg=="+ },"node_modules/lint-staged": {"version": "13.3.0","resolved": "https://registry.npmjs.org/lint-staged/-/lint-staged-13.3.0.tgz",@@ -21228,6 +21524,11 @@"markdown-it": "bin/markdown-it.mjs"}},+ "node_modules/markdown-it-task-lists": {+ "version": "2.1.1",+ "resolved": "https://registry.npmjs.org/markdown-it-task-lists/-/markdown-it-task-lists-2.1.1.tgz",+ "integrity": "sha512-TxFAc76Jnhb2OUu+n3yz9RMu4CwGfaT788br6HhEDlvWfdeJcLUsxk1Hgw2yJio0OXsxv7pyIPmvECY7bMbluA=="+ },"node_modules/markdown-table": {"version": "3.0.3","resolved": "https://registry.npmjs.org/markdown-table/-/markdown-table-3.0.3.tgz",@@ -29469,6 +29770,79 @@"url": "https://github.com/sponsors/sindresorhus"}},+ "node_modules/novel": {+ "version": "0.4.2",+ "resolved": "https://registry.npmjs.org/novel/-/novel-0.4.2.tgz",+ "integrity": "sha512-4kBgZNe+njncxasay1NSzZnuuWCovoO1NuGfAGFEi5drVY2FB7PmTxUzNZvMqTA2yGBz8qqOR39s1pQ/9XLpyQ==",+ "dependencies": {+ "@radix-ui/react-slot": "^1.0.2",+ "@tiptap/core": "^2.1.7",+ "@tiptap/extension-character-count": "^2.3.0",+ "@tiptap/extension-code-block-lowlight": "^2.2.6",+ "@tiptap/extension-color": "^2.1.7",+ "@tiptap/extension-highlight": "^2.1.7",+ "@tiptap/extension-horizontal-rule": "^2.1.7",+ "@tiptap/extension-image": "^2.1.7",+ "@tiptap/extension-link": "^2.1.7",+ "@tiptap/extension-placeholder": "2.0.3",+ "@tiptap/extension-task-item": "^2.1.7",+ "@tiptap/extension-task-list": "^2.1.7",+ "@tiptap/extension-text-style": "^2.1.7",+ "@tiptap/extension-underline": "^2.1.7",+ "@tiptap/extension-youtube": "^2.4.0",+ "@tiptap/pm": "^2.1.7",+ "@tiptap/react": "^2.1.7",+ "@tiptap/starter-kit": "^2.1.7",+ "@tiptap/suggestion": "^2.1.7",+ "@types/node": "18.15.3",+ "cmdk": "^0.2.1",+ "jotai": "^2.6.4",+ "react-markdown": "^8.0.7",+ "react-moveable": "^0.56.0",+ "tippy.js": "^6.3.7",+ "tiptap-extension-global-drag-handle": "^0.1.7",+ "tiptap-markdown": "^0.8.9",+ "tunnel-rat": "^0.1.2"+ },+ "peerDependencies": {+ "react": "^18.0.0",+ "react-dom": "^18.0.0"+ }+ },+ "node_modules/novel/node_modules/@tiptap/pm": {+ "version": "2.4.0",+ "resolved": "https://registry.npmjs.org/@tiptap/pm/-/pm-2.4.0.tgz",+ "integrity": "sha512-B1HMEqGS4MzIVXnpgRZDLm30mxDWj51LkBT/if1XD+hj5gm8B9Q0c84bhvODX6KIs+c6z+zsY9VkVu8w9Yfgxg==",+ "dependencies": {+ "prosemirror-changeset": "^2.2.1",+ "prosemirror-collab": "^1.3.1",+ "prosemirror-commands": "^1.5.2",+ "prosemirror-dropcursor": "^1.8.1",+ "prosemirror-gapcursor": "^1.3.2",+ "prosemirror-history": "^1.3.2",+ "prosemirror-inputrules": "^1.3.0",+ "prosemirror-keymap": "^1.2.2",+ "prosemirror-markdown": "^1.12.0",+ "prosemirror-menu": "^1.2.4",+ "prosemirror-model": "^1.19.4",+ "prosemirror-schema-basic": "^1.2.2",+ "prosemirror-schema-list": "^1.3.0",+ "prosemirror-state": "^1.4.3",+ "prosemirror-tables": "^1.3.5",+ "prosemirror-trailing-node": "^2.0.7",+ "prosemirror-transform": "^1.8.0",+ "prosemirror-view": "^1.32.7"+ },+ "funding": {+ "type": "github",+ "url": "https://github.com/sponsors/ueberdosis"+ }+ },+ "node_modules/novel/node_modules/@types/node": {+ "version": "18.15.3",+ "resolved": "https://registry.npmjs.org/@types/node/-/node-18.15.3.tgz",+ "integrity": "sha512-p6ua9zBxz5otCmbpb5D3U4B5Nanw6Pk3PPyX05xnxbB/fRv71N7CPmORg7uAD5P70T0xmx1pzAx/FUfa5X+3cw=="+ },"node_modules/npm-bundled": {"version": "3.0.0","resolved": "https://registry.npmjs.org/npm-bundled/-/npm-bundled-3.0.0.tgz",@@ -30464,6 +30838,14 @@"resolved": "https://registry.npmjs.org/outdent/-/outdent-0.8.0.tgz","integrity": "sha512-KiOAIsdpUTcAXuykya5fnVVT+/5uS0Q1mrkRHcF89tpieSmY33O/tmc54CqwA+bfhbtEfZUNLHaPUiB9X3jt1A=="},+ "node_modules/overlap-area": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/overlap-area/-/overlap-area-1.1.0.tgz",+ "integrity": "sha512-3dlJgJCaVeXH0/eZjYVJvQiLVVrPO4U1ZGqlATtx6QGO3b5eNM6+JgUKa7oStBTdYuGTk7gVoABCW6Tp+dhRdw==",+ "dependencies": {+ "@daybrush/utils": "^1.7.1"+ }+ },"node_modules/p-cancelable": {"version": "2.1.1","resolved": "https://registry.npmjs.org/p-cancelable/-/p-cancelable-2.1.1.tgz",@@ -32262,6 +32644,15 @@"react-dom": ">=16.8.0"}},+ "node_modules/react-css-styled": {+ "version": "1.1.9",+ "resolved": "https://registry.npmjs.org/react-css-styled/-/react-css-styled-1.1.9.tgz",+ "integrity": "sha512-M7fJZ3IWFaIHcZEkoFOnkjdiUFmwd8d+gTh2bpqMOcnxy/0Gsykw4dsL4QBiKsxcGow6tETUa4NAUcmJF+/nfw==",+ "dependencies": {+ "css-styled": "~1.0.8",+ "framework-utils": "^1.1.0"+ }+ },"node_modules/react-dom": {"version": "18.3.1","resolved": "https://registry.npmjs.org/react-dom/-/react-dom-18.3.1.tgz",@@ -32319,6 +32710,715 @@"resolved": "https://registry.npmjs.org/react-is/-/react-is-17.0.2.tgz","integrity": "sha512-w2GsyukL62IJnlaff/nRegPQR94C/XXamvMWmSHRJ4y7Ts/4ocGRmTHvOs8PSE6pB3dWOrD/nueuU5sduBsQ4w=="},+ "node_modules/react-markdown": {+ "version": "8.0.7",+ "resolved": "https://registry.npmjs.org/react-markdown/-/react-markdown-8.0.7.tgz",+ "integrity": "sha512-bvWbzG4MtOU62XqBx3Xx+zB2raaFFsq4mYiAzfjXJMEz2sixgeAfraA3tvzULF02ZdOMUOKTBFFaZJDDrq+BJQ==",+ "dependencies": {+ "@types/hast": "^2.0.0",+ "@types/prop-types": "^15.0.0",+ "@types/unist": "^2.0.0",+ "comma-separated-tokens": "^2.0.0",+ "hast-util-whitespace": "^2.0.0",+ "prop-types": "^15.0.0",+ "property-information": "^6.0.0",+ "react-is": "^18.0.0",+ "remark-parse": "^10.0.0",+ "remark-rehype": "^10.0.0",+ "space-separated-tokens": "^2.0.0",+ "style-to-object": "^0.4.0",+ "unified": "^10.0.0",+ "unist-util-visit": "^4.0.0",+ "vfile": "^5.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ },+ "peerDependencies": {+ "@types/react": ">=16",+ "react": ">=16"+ }+ },+ "node_modules/react-markdown/node_modules/@types/hast": {+ "version": "2.3.10",+ "resolved": "https://registry.npmjs.org/@types/hast/-/hast-2.3.10.tgz",+ "integrity": "sha512-McWspRw8xx8J9HurkVBfYj0xKoE25tOFlHGdx4MJ5xORQrMGZNqJhVQWaIbm6Oyla5kYOXtDiopzKRJzEOkwJw==",+ "dependencies": {+ "@types/unist": "^2"+ }+ },+ "node_modules/react-markdown/node_modules/@types/mdast": {+ "version": "3.0.15",+ "resolved": "https://registry.npmjs.org/@types/mdast/-/mdast-3.0.15.tgz",+ "integrity": "sha512-LnwD+mUEfxWMa1QpDraczIn6k0Ee3SMicuYSSzS6ZYl2gKS09EClnJYGd8Du6rfc5r/GZEk5o1mRb8TaTj03sQ==",+ "dependencies": {+ "@types/unist": "^2"+ }+ },+ "node_modules/react-markdown/node_modules/@types/unist": {+ "version": "2.0.10",+ "resolved": "https://registry.npmjs.org/@types/unist/-/unist-2.0.10.tgz",+ "integrity": "sha512-IfYcSBWE3hLpBg8+X2SEa8LVkJdJEkT2Ese2aaLs3ptGdVtABxndrMaxuFlQ1qdFf9Q5rDvDpxI3WwgvKFAsQA=="+ },+ "node_modules/react-markdown/node_modules/hast-util-whitespace": {+ "version": "2.0.1",+ "resolved": "https://registry.npmjs.org/hast-util-whitespace/-/hast-util-whitespace-2.0.1.tgz",+ "integrity": "sha512-nAxA0v8+vXSBDt3AnRUNjyRIQ0rD+ntpbAp4LnPkumc5M9yUbSMa4XDU9Q6etY4f1Wp4bNgvc1yjiZtsTTrSng==",+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/react-markdown/node_modules/is-plain-obj": {+ "version": "4.1.0",+ "resolved": "https://registry.npmjs.org/is-plain-obj/-/is-plain-obj-4.1.0.tgz",+ "integrity": "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg==",+ "engines": {+ "node": ">=12"+ },+ "funding": {+ "url": "https://github.com/sponsors/sindresorhus"+ }+ },+ "node_modules/react-markdown/node_modules/mdast-util-from-markdown": {+ "version": "1.3.1",+ "resolved": "https://registry.npmjs.org/mdast-util-from-markdown/-/mdast-util-from-markdown-1.3.1.tgz",+ "integrity": "sha512-4xTO/M8c82qBcnQc1tgpNtubGUW/Y1tBQ1B0i5CtSoelOLKFYlElIr3bvgREYYO5iRqbMY1YuqZng0GVOI8Qww==",+ "dependencies": {+ "@types/mdast": "^3.0.0",+ "@types/unist": "^2.0.0",+ "decode-named-character-reference": "^1.0.0",+ "mdast-util-to-string": "^3.1.0",+ "micromark": "^3.0.0",+ "micromark-util-decode-numeric-character-reference": "^1.0.0",+ "micromark-util-decode-string": "^1.0.0",+ "micromark-util-normalize-identifier": "^1.0.0",+ "micromark-util-symbol": "^1.0.0",+ "micromark-util-types": "^1.0.0",+ "unist-util-stringify-position": "^3.0.0",+ "uvu": "^0.5.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/react-markdown/node_modules/mdast-util-to-hast": {+ "version": "12.3.0",+ "resolved": "https://registry.npmjs.org/mdast-util-to-hast/-/mdast-util-to-hast-12.3.0.tgz",+ "integrity": "sha512-pits93r8PhnIoU4Vy9bjW39M2jJ6/tdHyja9rrot9uujkN7UTU9SDnE6WNJz/IGyQk3XHX6yNNtrBH6cQzm8Hw==",+ "dependencies": {+ "@types/hast": "^2.0.0",+ "@types/mdast": "^3.0.0",+ "mdast-util-definitions": "^5.0.0",+ "micromark-util-sanitize-uri": "^1.1.0",+ "trim-lines": "^3.0.0",+ "unist-util-generated": "^2.0.0",+ "unist-util-position": "^4.0.0",+ "unist-util-visit": "^4.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/react-markdown/node_modules/mdast-util-to-string": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/mdast-util-to-string/-/mdast-util-to-string-3.2.0.tgz",+ "integrity": "sha512-V4Zn/ncyN1QNSqSBxTrMOLpjr+IKdHl2v3KVLoWmDPscP4r9GcCi71gjgvUV1SFSKh92AjAG4peFuBl2/YgCJg==",+ "dependencies": {+ "@types/mdast": "^3.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/react-markdown/node_modules/micromark": {+ "version": "3.2.0",+ "resolved": "https://registry.npmjs.org/micromark/-/micromark-3.2.0.tgz",+ "integrity": "sha512-uD66tJj54JLYq0De10AhWycZWGQNUvDI55xPgk2sQM5kn1JYlhbCMTtEeT27+vAhW2FBQxLlOmS3pmA7/2z4aA==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "dependencies": {+ "@types/debug": "^4.0.0",+ "debug": "^4.0.0",+ "decode-named-character-reference": "^1.0.0",+ "micromark-core-commonmark": "^1.0.1",+ "micromark-factory-space": "^1.0.0",+ "micromark-util-character": "^1.0.0",+ "micromark-util-chunked": "^1.0.0",+ "micromark-util-combine-extensions": "^1.0.0",+ "micromark-util-decode-numeric-character-reference": "^1.0.0",+ "micromark-util-encode": "^1.0.0",+ "micromark-util-normalize-identifier": "^1.0.0",+ "micromark-util-resolve-all": "^1.0.0",+ "micromark-util-sanitize-uri": "^1.0.0",+ "micromark-util-subtokenize": "^1.0.0",+ "micromark-util-symbol": "^1.0.0",+ "micromark-util-types": "^1.0.1",+ "uvu": "^0.5.0"+ }+ },+ "node_modules/react-markdown/node_modules/micromark-core-commonmark": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/micromark-core-commonmark/-/micromark-core-commonmark-1.1.0.tgz",+ "integrity": "sha512-BgHO1aRbolh2hcrzL2d1La37V0Aoz73ymF8rAcKnohLy93titmv62E0gP8Hrx9PKcKrqCZ1BbLGbP3bEhoXYlw==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "dependencies": {+ "decode-named-character-reference": "^1.0.0",+ "micromark-factory-destination": "^1.0.0",+ "micromark-factory-label": "^1.0.0",+ "micromark-factory-space": "^1.0.0",+ "micromark-factory-title": "^1.0.0",+ "micromark-factory-whitespace": "^1.0.0",+ "micromark-util-character": "^1.0.0",+ "micromark-util-chunked": "^1.0.0",+ "micromark-util-classify-character": "^1.0.0",+ "micromark-util-html-tag-name": "^1.0.0",+ "micromark-util-normalize-identifier": "^1.0.0",+ "micromark-util-resolve-all": "^1.0.0",+ "micromark-util-subtokenize": "^1.0.0",+ "micromark-util-symbol": "^1.0.0",+ "micromark-util-types": "^1.0.1",+ "uvu": "^0.5.0"+ }+ },+ "node_modules/react-markdown/node_modules/micromark-factory-destination": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/micromark-factory-destination/-/micromark-factory-destination-1.1.0.tgz",+ "integrity": "sha512-XaNDROBgx9SgSChd69pjiGKbV+nfHGDPVYFs5dOoDd7ZnMAE+Cuu91BCpsY8RT2NP9vo/B8pds2VQNCLiu0zhg==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "dependencies": {+ "micromark-util-character": "^1.0.0",+ "micromark-util-symbol": "^1.0.0",+ "micromark-util-types": "^1.0.0"+ }+ },+ "node_modules/react-markdown/node_modules/micromark-factory-label": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/micromark-factory-label/-/micromark-factory-label-1.1.0.tgz",+ "integrity": "sha512-OLtyez4vZo/1NjxGhcpDSbHQ+m0IIGnT8BoPamh+7jVlzLJBH98zzuCoUeMxvM6WsNeh8wx8cKvqLiPHEACn0w==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "dependencies": {+ "micromark-util-character": "^1.0.0",+ "micromark-util-symbol": "^1.0.0",+ "micromark-util-types": "^1.0.0",+ "uvu": "^0.5.0"+ }+ },+ "node_modules/react-markdown/node_modules/micromark-factory-space": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/micromark-factory-space/-/micromark-factory-space-1.1.0.tgz",+ "integrity": "sha512-cRzEj7c0OL4Mw2v6nwzttyOZe8XY/Z8G0rzmWQZTBi/jjwyw/U4uqKtUORXQrR5bAZZnbTI/feRV/R7hc4jQYQ==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "dependencies": {+ "micromark-util-character": "^1.0.0",+ "micromark-util-types": "^1.0.0"+ }+ },+ "node_modules/react-markdown/node_modules/micromark-factory-title": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/micromark-factory-title/-/micromark-factory-title-1.1.0.tgz",+ "integrity": "sha512-J7n9R3vMmgjDOCY8NPw55jiyaQnH5kBdV2/UXCtZIpnHH3P6nHUKaH7XXEYuWwx/xUJcawa8plLBEjMPU24HzQ==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "dependencies": {+ "micromark-factory-space": "^1.0.0",+ "micromark-util-character": "^1.0.0",+ "micromark-util-symbol": "^1.0.0",+ "micromark-util-types": "^1.0.0"+ }+ },+ "node_modules/react-markdown/node_modules/micromark-factory-whitespace": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/micromark-factory-whitespace/-/micromark-factory-whitespace-1.1.0.tgz",+ "integrity": "sha512-v2WlmiymVSp5oMg+1Q0N1Lxmt6pMhIHD457whWM7/GUlEks1hI9xj5w3zbc4uuMKXGisksZk8DzP2UyGbGqNsQ==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "dependencies": {+ "micromark-factory-space": "^1.0.0",+ "micromark-util-character": "^1.0.0",+ "micromark-util-symbol": "^1.0.0",+ "micromark-util-types": "^1.0.0"+ }+ },+ "node_modules/react-markdown/node_modules/micromark-util-character": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/micromark-util-character/-/micromark-util-character-1.2.0.tgz",+ "integrity": "sha512-lXraTwcX3yH/vMDaFWCQJP1uIszLVebzUa3ZHdrgxr7KEU/9mL4mVgCpGbyhvNLNlauROiNUq7WN5u7ndbY6xg==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "dependencies": {+ "micromark-util-symbol": "^1.0.0",+ "micromark-util-types": "^1.0.0"+ }+ },+ "node_modules/react-markdown/node_modules/micromark-util-chunked": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/micromark-util-chunked/-/micromark-util-chunked-1.1.0.tgz",+ "integrity": "sha512-Ye01HXpkZPNcV6FiyoW2fGZDUw4Yc7vT0E9Sad83+bEDiCJ1uXu0S3mr8WLpsz3HaG3x2q0HM6CTuPdcZcluFQ==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "dependencies": {+ "micromark-util-symbol": "^1.0.0"+ }+ },+ "node_modules/react-markdown/node_modules/micromark-util-classify-character": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/micromark-util-classify-character/-/micromark-util-classify-character-1.1.0.tgz",+ "integrity": "sha512-SL0wLxtKSnklKSUplok1WQFoGhUdWYKggKUiqhX+Swala+BtptGCu5iPRc+xvzJ4PXE/hwM3FNXsfEVgoZsWbw==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "dependencies": {+ "micromark-util-character": "^1.0.0",+ "micromark-util-symbol": "^1.0.0",+ "micromark-util-types": "^1.0.0"+ }+ },+ "node_modules/react-markdown/node_modules/micromark-util-combine-extensions": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/micromark-util-combine-extensions/-/micromark-util-combine-extensions-1.1.0.tgz",+ "integrity": "sha512-Q20sp4mfNf9yEqDL50WwuWZHUrCO4fEyeDCnMGmG5Pr0Cz15Uo7KBs6jq+dq0EgX4DPwwrh9m0X+zPV1ypFvUA==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "dependencies": {+ "micromark-util-chunked": "^1.0.0",+ "micromark-util-types": "^1.0.0"+ }+ },+ "node_modules/react-markdown/node_modules/micromark-util-decode-numeric-character-reference": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/micromark-util-decode-numeric-character-reference/-/micromark-util-decode-numeric-character-reference-1.1.0.tgz",+ "integrity": "sha512-m9V0ExGv0jB1OT21mrWcuf4QhP46pH1KkfWy9ZEezqHKAxkj4mPCy3nIH1rkbdMlChLHX531eOrymlwyZIf2iw==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "dependencies": {+ "micromark-util-symbol": "^1.0.0"+ }+ },+ "node_modules/react-markdown/node_modules/micromark-util-decode-string": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/micromark-util-decode-string/-/micromark-util-decode-string-1.1.0.tgz",+ "integrity": "sha512-YphLGCK8gM1tG1bd54azwyrQRjCFcmgj2S2GoJDNnh4vYtnL38JS8M4gpxzOPNyHdNEpheyWXCTnnTDY3N+NVQ==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "dependencies": {+ "decode-named-character-reference": "^1.0.0",+ "micromark-util-character": "^1.0.0",+ "micromark-util-decode-numeric-character-reference": "^1.0.0",+ "micromark-util-symbol": "^1.0.0"+ }+ },+ "node_modules/react-markdown/node_modules/micromark-util-encode": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/micromark-util-encode/-/micromark-util-encode-1.1.0.tgz",+ "integrity": "sha512-EuEzTWSTAj9PA5GOAs992GzNh2dGQO52UvAbtSOMvXTxv3Criqb6IOzJUBCmEqrrXSblJIJBbFFv6zPxpreiJw==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ]+ },+ "node_modules/react-markdown/node_modules/micromark-util-html-tag-name": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/micromark-util-html-tag-name/-/micromark-util-html-tag-name-1.2.0.tgz",+ "integrity": "sha512-VTQzcuQgFUD7yYztuQFKXT49KghjtETQ+Wv/zUjGSGBioZnkA4P1XXZPT1FHeJA6RwRXSF47yvJ1tsJdoxwO+Q==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ]+ },+ "node_modules/react-markdown/node_modules/micromark-util-normalize-identifier": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/micromark-util-normalize-identifier/-/micromark-util-normalize-identifier-1.1.0.tgz",+ "integrity": "sha512-N+w5vhqrBihhjdpM8+5Xsxy71QWqGn7HYNUvch71iV2PM7+E3uWGox1Qp90loa1ephtCxG2ftRV/Conitc6P2Q==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "dependencies": {+ "micromark-util-symbol": "^1.0.0"+ }+ },+ "node_modules/react-markdown/node_modules/micromark-util-resolve-all": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/micromark-util-resolve-all/-/micromark-util-resolve-all-1.1.0.tgz",+ "integrity": "sha512-b/G6BTMSg+bX+xVCshPTPyAu2tmA0E4X98NSR7eIbeC6ycCqCeE7wjfDIgzEbkzdEVJXRtOG4FbEm/uGbCRouA==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "dependencies": {+ "micromark-util-types": "^1.0.0"+ }+ },+ "node_modules/react-markdown/node_modules/micromark-util-sanitize-uri": {+ "version": "1.2.0",+ "resolved": "https://registry.npmjs.org/micromark-util-sanitize-uri/-/micromark-util-sanitize-uri-1.2.0.tgz",+ "integrity": "sha512-QO4GXv0XZfWey4pYFndLUKEAktKkG5kZTdUNaTAkzbuJxn2tNBOr+QtxR2XpWaMhbImT2dPzyLrPXLlPhph34A==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "dependencies": {+ "micromark-util-character": "^1.0.0",+ "micromark-util-encode": "^1.0.0",+ "micromark-util-symbol": "^1.0.0"+ }+ },+ "node_modules/react-markdown/node_modules/micromark-util-subtokenize": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/micromark-util-subtokenize/-/micromark-util-subtokenize-1.1.0.tgz",+ "integrity": "sha512-kUQHyzRoxvZO2PuLzMt2P/dwVsTiivCK8icYTeR+3WgbuPqfHgPPy7nFKbeqRivBvn/3N3GBiNC+JRTMSxEC7A==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ],+ "dependencies": {+ "micromark-util-chunked": "^1.0.0",+ "micromark-util-symbol": "^1.0.0",+ "micromark-util-types": "^1.0.0",+ "uvu": "^0.5.0"+ }+ },+ "node_modules/react-markdown/node_modules/micromark-util-symbol": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/micromark-util-symbol/-/micromark-util-symbol-1.1.0.tgz",+ "integrity": "sha512-uEjpEYY6KMs1g7QfJ2eX1SQEV+ZT4rUD3UcF6l57acZvLNK7PBZL+ty82Z1qhK1/yXIY4bdx04FKMgR0g4IAag==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ]+ },+ "node_modules/react-markdown/node_modules/micromark-util-types": {+ "version": "1.1.0",+ "resolved": "https://registry.npmjs.org/micromark-util-types/-/micromark-util-types-1.1.0.tgz",+ "integrity": "sha512-ukRBgie8TIAcacscVHSiddHjO4k/q3pnedmzMQ4iwDcK0FtFCohKOlFbaOL/mPgfnPsL3C1ZyxJa4sbWrBl3jg==",+ "funding": [+ {+ "type": "GitHub Sponsors",+ "url": "https://github.com/sponsors/unifiedjs"+ },+ {+ "type": "OpenCollective",+ "url": "https://opencollective.com/unified"+ }+ ]+ },+ "node_modules/react-markdown/node_modules/react-is": {+ "version": "18.3.1",+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz",+ "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg=="+ },+ "node_modules/react-markdown/node_modules/remark-parse": {+ "version": "10.0.2",+ "resolved": "https://registry.npmjs.org/remark-parse/-/remark-parse-10.0.2.tgz",+ "integrity": "sha512-3ydxgHa/ZQzG8LvC7jTXccARYDcRld3VfcgIIFs7bI6vbRSxJJmzgLEIIoYKyrfhaY+ujuWaf/PJiMZXoiCXgw==",+ "dependencies": {+ "@types/mdast": "^3.0.0",+ "mdast-util-from-markdown": "^1.0.0",+ "unified": "^10.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/react-markdown/node_modules/remark-rehype": {+ "version": "10.1.0",+ "resolved": "https://registry.npmjs.org/remark-rehype/-/remark-rehype-10.1.0.tgz",+ "integrity": "sha512-EFmR5zppdBp0WQeDVZ/b66CWJipB2q2VLNFMabzDSGR66Z2fQii83G5gTBbgGEnEEA0QRussvrFHxk1HWGJskw==",+ "dependencies": {+ "@types/hast": "^2.0.0",+ "@types/mdast": "^3.0.0",+ "mdast-util-to-hast": "^12.1.0",+ "unified": "^10.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/react-markdown/node_modules/unified": {+ "version": "10.1.2",+ "resolved": "https://registry.npmjs.org/unified/-/unified-10.1.2.tgz",+ "integrity": "sha512-pUSWAi/RAnVy1Pif2kAoeWNBa3JVrx0MId2LASj8G+7AiHWoKZNTomq6LG326T68U7/e263X6fTdcXIy7XnF7Q==",+ "dependencies": {+ "@types/unist": "^2.0.0",+ "bail": "^2.0.0",+ "extend": "^3.0.0",+ "is-buffer": "^2.0.0",+ "is-plain-obj": "^4.0.0",+ "trough": "^2.0.0",+ "vfile": "^5.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/react-markdown/node_modules/unist-util-is": {+ "version": "5.2.1",+ "resolved": "https://registry.npmjs.org/unist-util-is/-/unist-util-is-5.2.1.tgz",+ "integrity": "sha512-u9njyyfEh43npf1M+yGKDGVPbY/JWEemg5nH05ncKPfi+kBbKBJoTdsogMu33uhytuLlv9y0O7GH7fEdwLdLQw==",+ "dependencies": {+ "@types/unist": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/react-markdown/node_modules/unist-util-position": {+ "version": "4.0.4",+ "resolved": "https://registry.npmjs.org/unist-util-position/-/unist-util-position-4.0.4.tgz",+ "integrity": "sha512-kUBE91efOWfIVBo8xzh/uZQ7p9ffYRtUbMRZBNFYwf0RK8koUMx6dGUfwylLOKmaT2cs4wSW96QoYUSXAyEtpg==",+ "dependencies": {+ "@types/unist": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/react-markdown/node_modules/unist-util-stringify-position": {+ "version": "3.0.3",+ "resolved": "https://registry.npmjs.org/unist-util-stringify-position/-/unist-util-stringify-position-3.0.3.tgz",+ "integrity": "sha512-k5GzIBZ/QatR8N5X2y+drfpWG8IDBzdnVj6OInRNWm1oXrzydiaAT2OQiA8DPRRZyAKb9b6I2a6PxYklZD0gKg==",+ "dependencies": {+ "@types/unist": "^2.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/react-markdown/node_modules/unist-util-visit": {+ "version": "4.1.2",+ "resolved": "https://registry.npmjs.org/unist-util-visit/-/unist-util-visit-4.1.2.tgz",+ "integrity": "sha512-MSd8OUGISqHdVvfY9TPhyK2VdUrPgxkUtWSuMHF6XAAFuL4LokseigBnZtPnJMu+FbynTkFNnFlyjxpVKujMRg==",+ "dependencies": {+ "@types/unist": "^2.0.0",+ "unist-util-is": "^5.0.0",+ "unist-util-visit-parents": "^5.1.1"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/react-markdown/node_modules/unist-util-visit-parents": {+ "version": "5.1.3",+ "resolved": "https://registry.npmjs.org/unist-util-visit-parents/-/unist-util-visit-parents-5.1.3.tgz",+ "integrity": "sha512-x6+y8g7wWMyQhL1iZfhIPhDAs7Xwbn9nRosDXl7qoPTSCy0yNxnKc+hWokFifWQIDGi154rdUqKvbCa4+1kLhg==",+ "dependencies": {+ "@types/unist": "^2.0.0",+ "unist-util-is": "^5.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/react-markdown/node_modules/vfile": {+ "version": "5.3.7",+ "resolved": "https://registry.npmjs.org/vfile/-/vfile-5.3.7.tgz",+ "integrity": "sha512-r7qlzkgErKjobAmyNIkkSpizsFPYiUPuJb5pNW1RB4JcYVZhs4lIbVqk8XPk033CV/1z8ss5pkax8SuhGpcG8g==",+ "dependencies": {+ "@types/unist": "^2.0.0",+ "is-buffer": "^2.0.0",+ "unist-util-stringify-position": "^3.0.0",+ "vfile-message": "^3.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/react-markdown/node_modules/vfile-message": {+ "version": "3.1.4",+ "resolved": "https://registry.npmjs.org/vfile-message/-/vfile-message-3.1.4.tgz",+ "integrity": "sha512-fa0Z6P8HUrQN4BZaX05SIVXic+7kE3b05PWAtPuYP9QLHsLKYR7/AlLW3NtOrpXRLeawpDLMsVkmk5DG0NXgWw==",+ "dependencies": {+ "@types/unist": "^2.0.0",+ "unist-util-stringify-position": "^3.0.0"+ },+ "funding": {+ "type": "opencollective",+ "url": "https://opencollective.com/unified"+ }+ },+ "node_modules/react-moveable": {+ "version": "0.56.0",+ "resolved": "https://registry.npmjs.org/react-moveable/-/react-moveable-0.56.0.tgz",+ "integrity": "sha512-FmJNmIOsOA36mdxbrc/huiE4wuXSRlmon/o+/OrfNhSiYYYL0AV5oObtPluEhb2Yr/7EfYWBHTxF5aWAvjg1SA==",+ "dependencies": {+ "@daybrush/utils": "^1.13.0",+ "@egjs/agent": "^2.2.1",+ "@egjs/children-differ": "^1.0.1",+ "@egjs/list-differ": "^1.0.0",+ "@scena/dragscroll": "^1.4.0",+ "@scena/event-emitter": "^1.0.5",+ "@scena/matrix": "^1.1.1",+ "css-to-mat": "^1.1.1",+ "framework-utils": "^1.1.0",+ "gesto": "^1.19.3",+ "overlap-area": "^1.1.0",+ "react-css-styled": "^1.1.9",+ "react-selecto": "^1.25.0"+ }+ },"node_modules/react-pdf": {"version": "7.7.1","resolved": "https://registry.npmjs.org/react-pdf/-/react-pdf-7.7.1.tgz",@@ -32440,6 +33540,14 @@"react-dom": ">=16.8"}},+ "node_modules/react-selecto": {+ "version": "1.26.3",+ "resolved": "https://registry.npmjs.org/react-selecto/-/react-selecto-1.26.3.tgz",+ "integrity": "sha512-Ubik7kWSnZyQEBNro+1k38hZaI1tJarE+5aD/qsqCOA1uUBSjgKVBy3EWRzGIbdmVex7DcxznFZLec/6KZNvwQ==",+ "dependencies": {+ "selecto": "~1.26.3"+ }+ },"node_modules/react-stately": {"version": "3.30.1","resolved": "https://registry.npmjs.org/react-stately/-/react-stately-3.30.1.tgz",@@ -34151,6 +35259,23 @@"url": "https://ko-fi.com/killymxi"}},+ "node_modules/selecto": {+ "version": "1.26.3",+ "resolved": "https://registry.npmjs.org/selecto/-/selecto-1.26.3.tgz",+ "integrity": "sha512-gZHgqMy5uyB6/2YDjv3Qqaf7bd2hTDOpPdxXlrez4R3/L0GiEWDCFaUfrflomgqdb3SxHF2IXY0Jw0EamZi7cw==",+ "dependencies": {+ "@daybrush/utils": "^1.13.0",+ "@egjs/children-differ": "^1.0.1",+ "@scena/dragscroll": "^1.4.0",+ "@scena/event-emitter": "^1.0.5",+ "css-styled": "^1.0.8",+ "css-to-mat": "^1.1.1",+ "framework-utils": "^1.1.0",+ "gesto": "^1.19.4",+ "keycon": "^1.2.0",+ "overlap-area": "^1.1.0"+ }+ },"node_modules/semver": {"version": "5.7.2","resolved": "https://registry.npmjs.org/semver/-/semver-5.7.2.tgz",@@ -35858,6 +36983,28 @@"@popperjs/core": "^2.9.0"}},+ "node_modules/tiptap-extension-global-drag-handle": {+ "version": "0.1.7",+ "resolved": "https://registry.npmjs.org/tiptap-extension-global-drag-handle/-/tiptap-extension-global-drag-handle-0.1.7.tgz",+ "integrity": "sha512-7jkXd1ldTOTQxjKxSZ7X2bIZmSNig/kWGz4Img+qoSeLG62iKDpzuNlhjS/l699wpKI8CcxzrHSHVpifUXSTKA=="+ },+ "node_modules/tiptap-markdown": {+ "version": "0.8.10",+ "resolved": "https://registry.npmjs.org/tiptap-markdown/-/tiptap-markdown-0.8.10.tgz",+ "integrity": "sha512-iDVkR2BjAqkTDtFX0h94yVvE2AihCXlF0Q7RIXSJPRSR5I0PA1TMuAg6FHFpmqTn4tPxJ0by0CK7PUMlnFLGEQ==",+ "workspaces": [+ "example"+ ],+ "dependencies": {+ "@types/markdown-it": "^13.0.7",+ "markdown-it": "^14.1.0",+ "markdown-it-task-lists": "^2.1.1",+ "prosemirror-markdown": "^1.11.1"+ },+ "peerDependencies": {+ "@tiptap/core": "^2.0.3"+ }+ },"node_modules/title": {"version": "3.5.3","resolved": "https://registry.npmjs.org/title/-/title-3.5.3.tgz",@@ -37006,6 +38153,14 @@"node": "^14.17.0 || ^16.13.0 || >=18.0.0"}},+ "node_modules/tunnel-rat": {+ "version": "0.1.2",+ "resolved": "https://registry.npmjs.org/tunnel-rat/-/tunnel-rat-0.1.2.tgz",+ "integrity": "sha512-lR5VHmkPhzdhrM092lI2nACsLO4QubF0/yoOhzX7c+wIpbN1GjHNzCc91QlpxBi+cnx8vVJ+Ur6vL5cEoQPFpQ==",+ "dependencies": {+ "zustand": "^4.3.2"+ }+ },"node_modules/turbo": {"version": "1.13.2","resolved": "https://registry.npmjs.org/turbo/-/turbo-1.13.2.tgz",@@ -39231,6 +40386,7 @@"packages/database": {"name": "@carbon/database","version": "*",+ "license": "MIT","devDependencies": {"@carbon/tsconfig": "*","@supabase/supabase-js": "^2.40.0",@@ -39351,6 +40507,7 @@"packages/documents": {"name": "@carbon/documents","version": "*",+ "license": "MIT","dependencies": {"@hookform/resolvers": "^3.3.4","@react-email/components": "0.0.16",@@ -39377,6 +40534,7 @@},"packages/eslint-config-carbon": {"version": "*",+ "license": "MIT","dependencies": {"@babel/eslint-parser": "7.22.9","@babel/preset-react": "7.22.5",@@ -39400,6 +40558,7 @@"packages/jest": {"name": "@carbon/jest","version": "*",+ "license": "MIT","dependencies": {"ts-jest": "^26.5.0"},@@ -39423,6 +40582,7 @@"packages/react": {"name": "@carbon/react","version": "*",+ "license": "MIT","dependencies": {"@radix-ui/react-avatar": "^1.0.3","@radix-ui/react-checkbox": "^1.0.4",@@ -39468,6 +40628,7 @@"cmdk": "^0.2.0","dompurify": "3.0.5","is-hotkey": "^0.2.0",+ "novel": "^0.4.2","react-aria-components": "1.0.1","react-colorful": "^5.6.1","react-resizable-panels": "^2.0.9",@@ -39503,6 +40664,7 @@"packages/redis": {"name": "@carbon/redis","version": "*",+ "license": "MIT","dependencies": {"@upstash/redis": "1.28.4","ioredis": "^5.2.4"@@ -39523,6 +40685,7 @@"packages/remix-validated-form": {"name": "@carbon/remix-validated-form","version": "*",+ "license": "MIT","dependencies": {"immer": "^9.0.12","lodash.get": "^4.4.2",@@ -39549,6 +40712,7 @@"packages/tailwind": {"name": "@carbon/tailwind","version": "*",+ "license": "MIT","peerDependencies": {"@tailwindcss/container-queries": "^0.1.1","@tailwindcss/forms": "^0.5.7",@@ -39566,11 +40730,13 @@},"packages/tsconfig": {"name": "@carbon/tsconfig",- "version": "*"+ "version": "*",+ "license": "MIT"},"packages/utils": {"name": "@carbon/utils","version": "*",+ "license": "MIT","dependencies": {"lodash.template": "^4.5.0"},diff --git a/packages/react/package.json b/packages/react/package.jsonindex 20845898f4..8493bf8d9e 100644--- a/packages/react/package.json+++ b/packages/react/package.json@@ -45,6 +45,7 @@"cmdk": "^0.2.0","dompurify": "3.0.5","is-hotkey": "^0.2.0",+ "novel": "^0.4.2","react-aria-components": "1.0.1","react-colorful": "^5.6.1","react-resizable-panels": "^2.0.9",diff --git a/packages/react/src/Editor/index.tsx b/packages/react/src/Editor/index.tsxdeleted file mode 100644index 089ce78ee6..0000000000--- a/packages/react/src/Editor/index.tsx+++ /dev/null@@ -1,3 +0,0 @@-import { Editor, useEditor } from "./Editor";--export { Editor, useEditor };diff --git a/packages/react/src/Editor/Editor.tsx b/packages/react/src/RichText/RichText.tsxsimilarity index 86%rename from packages/react/src/Editor/Editor.tsxrename to packages/react/src/RichText/RichText.tsxindex eedc1f91a0..7dfae09c9e 100644--- a/packages/react/src/Editor/Editor.tsx+++ b/packages/react/src/RichText/RichText.tsx@@ -1,15 +1,15 @@import { Color } from "@tiptap/extension-color";import ListItem from "@tiptap/extension-list-item";import TextStyle from "@tiptap/extension-text-style";-import { EditorContent, useEditor as useEditorInternal } from "@tiptap/react";+import { EditorContent, useEditor } from "@tiptap/react";import StarterKit from "@tiptap/starter-kit";import type { ComponentProps } from "react";import { VStack } from "../VStack";import { cn } from "../utils/cn";import { Toolbar } from "./Toolbar";-export const useEditor = (content: string) => {- const editor = useEditorInternal({+export const useRichText = (content: string) => {+ const richText = useEditor({extensions: [Color.configure({ types: [TextStyle.name, ListItem.name] }),TextStyle,@@ -27,17 +27,17 @@ export const useEditor = (content: string) => {content,});- return editor;+ return richText;};-export type EditorProps = Omit<+export type RichTextProps = Omit<ComponentProps<typeof EditorContent>,"onChange"> & {- editor: ReturnType<typeof useEditor>;+ editor: ReturnType<typeof useRichText>;};-export const Editor = ({ editor, className, ...props }: EditorProps) => {+export const RichText = ({ editor, className, ...props }: RichTextProps) => {if (!editor) {return null;}diff --git a/packages/react/src/Editor/Toolbar/BlockQuote.tsx b/packages/react/src/RichText/Toolbar/BlockQuote.tsxsimilarity index 100%rename from packages/react/src/Editor/Toolbar/BlockQuote.tsxrename to packages/react/src/RichText/Toolbar/BlockQuote.tsxdiff --git a/packages/react/src/Editor/Toolbar/Bold.tsx b/packages/react/src/RichText/Toolbar/Bold.tsxsimilarity index 100%rename from packages/react/src/Editor/Toolbar/Bold.tsxrename to packages/react/src/RichText/Toolbar/Bold.tsxdiff --git a/packages/react/src/Editor/Toolbar/Code.tsx b/packages/react/src/RichText/Toolbar/Code.tsxsimilarity index 100%rename from packages/react/src/Editor/Toolbar/Code.tsxrename to packages/react/src/RichText/Toolbar/Code.tsxdiff --git a/packages/react/src/Editor/Toolbar/CodeBlock.tsx b/packages/react/src/RichText/Toolbar/CodeBlock.tsxsimilarity index 100%rename from packages/react/src/Editor/Toolbar/CodeBlock.tsxrename to packages/react/src/RichText/Toolbar/CodeBlock.tsxdiff --git a/packages/react/src/Editor/Toolbar/Heading.tsx b/packages/react/src/RichText/Toolbar/Heading.tsxsimilarity index 100%rename from packages/react/src/Editor/Toolbar/Heading.tsxrename to packages/react/src/RichText/Toolbar/Heading.tsxdiff --git a/packages/react/src/Editor/Toolbar/HorizontalRule.tsx b/packages/react/src/RichText/Toolbar/HorizontalRule.tsxsimilarity index 100%rename from packages/react/src/Editor/Toolbar/HorizontalRule.tsxrename to packages/react/src/RichText/Toolbar/HorizontalRule.tsxdiff --git a/packages/react/src/Editor/Toolbar/Italic.tsx b/packages/react/src/RichText/Toolbar/Italic.tsxsimilarity index 100%rename from packages/react/src/Editor/Toolbar/Italic.tsxrename to packages/react/src/RichText/Toolbar/Italic.tsxdiff --git a/packages/react/src/Editor/Toolbar/OrderedList.tsx b/packages/react/src/RichText/Toolbar/OrderedList.tsxsimilarity index 100%rename from packages/react/src/Editor/Toolbar/OrderedList.tsxrename to packages/react/src/RichText/Toolbar/OrderedList.tsxdiff --git a/packages/react/src/Editor/Toolbar/Paragraph.tsx b/packages/react/src/RichText/Toolbar/Paragraph.tsxsimilarity index 100%rename from packages/react/src/Editor/Toolbar/Paragraph.tsxrename to packages/react/src/RichText/Toolbar/Paragraph.tsxdiff --git a/packages/react/src/Editor/Toolbar/Strike.tsx b/packages/react/src/RichText/Toolbar/Strike.tsxsimilarity index 100%rename from packages/react/src/Editor/Toolbar/Strike.tsxrename to packages/react/src/RichText/Toolbar/Strike.tsxdiff --git a/packages/react/src/Editor/Toolbar/Toolbar.tsx b/packages/react/src/RichText/Toolbar/Toolbar.tsxsimilarity index 100%rename from packages/react/src/Editor/Toolbar/Toolbar.tsxrename to packages/react/src/RichText/Toolbar/Toolbar.tsxdiff --git a/packages/react/src/Editor/Toolbar/ToolbarButton.tsx b/packages/react/src/RichText/Toolbar/ToolbarButton.tsxsimilarity index 100%rename from packages/react/src/Editor/Toolbar/ToolbarButton.tsxrename to packages/react/src/RichText/Toolbar/ToolbarButton.tsxdiff --git a/packages/react/src/Editor/Toolbar/UnorderedList.tsx b/packages/react/src/RichText/Toolbar/UnorderedList.tsxsimilarity index 100%rename from packages/react/src/Editor/Toolbar/UnorderedList.tsxrename to packages/react/src/RichText/Toolbar/UnorderedList.tsxdiff --git a/packages/react/src/Editor/Toolbar/index.ts b/packages/react/src/RichText/Toolbar/index.tssimilarity index 100%rename from packages/react/src/Editor/Toolbar/index.tsrename to packages/react/src/RichText/Toolbar/index.tsdiff --git a/packages/react/src/RichText/index.tsx b/packages/react/src/RichText/index.tsxnew file mode 100644index 0000000000..762c82ac4e--- /dev/null+++ b/packages/react/src/RichText/index.tsx@@ -0,0 +1,3 @@+import { RichText, useRichText } from "./RichText";++export { RichText, useRichText };diff --git a/packages/react/src/Editor/types.ts b/packages/react/src/RichText/types.tssimilarity index 100%rename from packages/react/src/Editor/types.tsrename to packages/react/src/RichText/types.tsdiff --git a/packages/react/src/index.tsx b/packages/react/src/index.tsxindex 5801a13c95..c4f4fee7fa 100644--- a/packages/react/src/index.tsx+++ b/packages/react/src/index.tsx@@ -92,7 +92,6 @@ import {DropdownMenuSubTrigger,DropdownMenuTrigger,} from "./Dropdown";-import { Editor, useEditor } from "./Editor";import { Enumerable } from "./Enumerable";import { File } from "./File";import {@@ -105,6 +104,7 @@ import { HStack } from "./HStack";import { HTML } from "./HTML";import { Heading } from "./Heading";import { HoverCard, HoverCardContent, HoverCardTrigger } from "./HoverCard";+import { RichText, useRichText } from "./RichText";import { IconButton } from "./IconButton";import type { InputProps } from "./Input";@@ -309,7 +309,6 @@ export {DropdownMenuSubContent,DropdownMenuSubTrigger,DropdownMenuTrigger,- Editor,Enumerable,File,FormControl,@@ -394,6 +393,7 @@ export {ResizableHandle,ResizablePanel,ResizablePanelGroup,+ RichText,ScrollArea,ScrollBar,Select,@@ -437,9 +437,9 @@ export {multiSelectTriggerVariants,reactNodeToString,toast,- useEditor,useModalCardType,useModalDrawerType,+ useRichText,};export type {AvatarProps,