diff --git a/package.json b/package.json index 63b1dc9..d172194 100644 --- a/package.json +++ b/package.json @@ -10,7 +10,7 @@ "@heroicons/react": "^2.1.4", "@tailwindcss/forms": "^0.5.7", "@tiptap/pm": "^2.14.0", - "@tiptap/react": "^2.14.0", + "@tiptap/react": "^3.0.0", "@tiptap/starter-kit": "^2.14.0", "autoprefixer": "10.4.21", "bcrypt": "^6.0.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 73f6416..cabb833 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -21,8 +21,8 @@ importers: specifier: ^2.14.0 version: 2.25.0 '@tiptap/react': - specifier: ^2.14.0 - version: 2.25.0(@tiptap/core@2.26.1(@tiptap/pm@2.25.0))(@tiptap/pm@2.25.0)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704) + specifier: ^3.0.0 + version: 3.0.1(@floating-ui/dom@1.7.2)(@tiptap/core@2.26.1(@tiptap/pm@2.25.0))(@tiptap/pm@2.25.0)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704) '@tiptap/starter-kit': specifier: ^2.14.0 version: 2.26.1 @@ -124,6 +124,15 @@ packages: '@emnapi/runtime@1.4.0': resolution: {integrity: sha512-64WYIf4UYcdLnbKn/umDlNjQDSS8AgZrI/R9+x5ilkUVFxXcA1Ebl+gQLc/6mERA4407Xof0R7wEyEuj091CVw==} + '@floating-ui/core@1.7.2': + resolution: {integrity: sha512-wNB5ooIKHQc+Kui96jE/n69rHFWAVoxn5CAzL1Xdd8FG03cgY3MLO+GF9U3W737fYDSgPWA6MReKhBQBop6Pcw==} + + '@floating-ui/dom@1.7.2': + resolution: {integrity: sha512-7cfaOQuCS27HD7DX+6ib2OrnW+b4ZBwDNnCcT0uTyidcmyWb03FnQqJybDBoCnpdxwBSfA94UAYlRCt7mV+TbA==} + + '@floating-ui/utils@0.2.10': + resolution: {integrity: sha512-aGTxbpbg8/b5JfU1HXSrbH3wXZuLPJcNEcZQFMxLs3oSzgtVu6nFPkbbGGUvBcUjKV2YyB9Wxxabo+HEH9tcRQ==} + '@hapi/hoek@9.3.0': resolution: {integrity: sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==} @@ -342,9 +351,6 @@ packages: engines: {node: '>=18'} hasBin: true - '@popperjs/core@2.11.8': - resolution: {integrity: sha512-P1st0aksCrn9sGZhp8GMYwBnQsbvAWsZAX44oXNNvLHGqAOcoVxmjZiohstwQ7SqKnbR47akdNi+uleWD8+g6A==} - '@remirror/core-constants@3.0.0': resolution: {integrity: sha512-42aWfPrimMfDKDi4YegyS7x+/0tlzaqwPQCULLanv3DMIlu96KTJR0fM5isWX2UViOqlGnX6YFgqWepcX+XMNg==} @@ -383,11 +389,11 @@ packages: peerDependencies: '@tiptap/core': ^2.7.0 - '@tiptap/extension-bubble-menu@2.25.0': - resolution: {integrity: sha512-BnbfQWRXJDDy9/x/0Atu2Nka5ZAMyXLDFqzSLMAXqXSQcG6CZRTSNRgOCnjpda6Hq2yCtq7l/YEoXkbHT1ZZdQ==} + '@tiptap/extension-bubble-menu@3.0.1': + resolution: {integrity: sha512-+5aoGSemFbpVRJGbd5jdiHbCzUU63UbPkjK4rgmgvvGUvT+g51LiOYxzoGtTg3DAcSDFTtJ6bAq3TDSr+5GIVA==} peerDependencies: - '@tiptap/core': ^2.7.0 - '@tiptap/pm': ^2.7.0 + '@tiptap/core': ^3.0.1 + '@tiptap/pm': ^3.0.1 '@tiptap/extension-bullet-list@2.26.1': resolution: {integrity: sha512-HHakuV4ckYCDOnBbne088FvCEP4YICw+wgPBz/V2dfpiFYQ4WzT0LPK9s7OFMCN+ROraoug+1ryN1Z1KdIgujQ==} @@ -416,11 +422,12 @@ packages: '@tiptap/core': ^2.7.0 '@tiptap/pm': ^2.7.0 - '@tiptap/extension-floating-menu@2.25.0': - resolution: {integrity: sha512-hPZ5SNpI14smTz4GpWQXTnxmeICINYiABSgXcsU5V66tik9OtxKwoCSR/gpU35esaAFUVRdjW7+sGkACLZD5AQ==} + '@tiptap/extension-floating-menu@3.0.1': + resolution: {integrity: sha512-V5eFIZ/L3rNKltG6m96BelMKa5Fjhg0BnqHWVOXulfWAqv9BzW2CrFqwmM4da0KA0OntYqZMKeQf0WsVoiRe7Q==} peerDependencies: - '@tiptap/core': ^2.7.0 - '@tiptap/pm': ^2.7.0 + '@floating-ui/dom': ^1.0.0 + '@tiptap/core': ^3.0.1 + '@tiptap/pm': ^3.0.1 '@tiptap/extension-gapcursor@2.26.1': resolution: {integrity: sha512-KOiMZc3PwJS3hR0nSq5d0TJi2jkNZkLZElcT6pCEnhRHzPH6dRMu9GM5Jj798ZRUy0T9UFcKJalFZaDxnmRnpg==} @@ -491,11 +498,11 @@ packages: '@tiptap/pm@2.26.1': resolution: {integrity: sha512-8aF+mY/vSHbGFqyG663ds84b+vca5Lge3tHdTMTKazxCnhXR9dn2oQJMnZ78YZvdRbkPkMJJHti9h3K7u2UQvw==} - '@tiptap/react@2.25.0': - resolution: {integrity: sha512-Fc7uj/+goEhvJkH2vYJxXLH1GsUkOcsIR3kUyL0vejNRvpzzd87CI/EiSD2ESJO43czQcsJkiYzY4EC+p8NF9w==} + '@tiptap/react@3.0.1': + resolution: {integrity: sha512-486f8iJ9apMC/cDuYi3eRNPNYshao8yF/maSnl8aTVsuW1Eby+Z9Poocf3OvWatgFkNx4cOOq978cBqhiSzJbQ==} peerDependencies: - '@tiptap/core': ^2.7.0 - '@tiptap/pm': ^2.7.0 + '@tiptap/core': ^3.0.1 + '@tiptap/pm': ^3.0.1 react: ^17.0.0 || ^18.0.0 || ^19.0.0 react-dom: ^17.0.0 || ^18.0.0 || ^19.0.0 @@ -1312,9 +1319,6 @@ packages: thenify@3.3.1: resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} - tippy.js@6.3.7: - resolution: {integrity: sha512-E1d3oP2emgJ9dRQZdf3Kkn0qJgI6ZLpyS5z6ZkY1DF3kaQaBsGZsndEpHwx+eC+tYM41HaSNvNtLx8tU57FzTQ==} - to-regex-range@5.0.1: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} engines: {node: '>=8.0'} @@ -1414,6 +1418,20 @@ snapshots: tslib: 2.8.1 optional: true + '@floating-ui/core@1.7.2': + dependencies: + '@floating-ui/utils': 0.2.10 + optional: true + + '@floating-ui/dom@1.7.2': + dependencies: + '@floating-ui/core': 1.7.2 + '@floating-ui/utils': 0.2.10 + optional: true + + '@floating-ui/utils@0.2.10': + optional: true + '@hapi/hoek@9.3.0': {} '@hapi/topo@5.1.0': @@ -1575,8 +1593,6 @@ snapshots: dependencies: playwright: 1.54.1 - '@popperjs/core@2.11.8': {} - '@remirror/core-constants@3.0.0': {} '@sideway/address@4.1.5': @@ -1610,11 +1626,12 @@ snapshots: dependencies: '@tiptap/core': 2.26.1(@tiptap/pm@2.26.1) - '@tiptap/extension-bubble-menu@2.25.0(@tiptap/core@2.26.1(@tiptap/pm@2.25.0))(@tiptap/pm@2.25.0)': + '@tiptap/extension-bubble-menu@3.0.1(@tiptap/core@2.26.1(@tiptap/pm@2.25.0))(@tiptap/pm@2.25.0)': dependencies: + '@floating-ui/dom': 1.7.2 '@tiptap/core': 2.26.1(@tiptap/pm@2.26.1) '@tiptap/pm': 2.25.0 - tippy.js: 6.3.7 + optional: true '@tiptap/extension-bullet-list@2.26.1(@tiptap/core@2.26.1(@tiptap/pm@2.26.1))': dependencies: @@ -1638,11 +1655,12 @@ snapshots: '@tiptap/core': 2.26.1(@tiptap/pm@2.26.1) '@tiptap/pm': 2.26.1 - '@tiptap/extension-floating-menu@2.25.0(@tiptap/core@2.26.1(@tiptap/pm@2.25.0))(@tiptap/pm@2.25.0)': + '@tiptap/extension-floating-menu@3.0.1(@floating-ui/dom@1.7.2)(@tiptap/core@2.26.1(@tiptap/pm@2.25.0))(@tiptap/pm@2.25.0)': dependencies: + '@floating-ui/dom': 1.7.2 '@tiptap/core': 2.26.1(@tiptap/pm@2.26.1) '@tiptap/pm': 2.25.0 - tippy.js: 6.3.7 + optional: true '@tiptap/extension-gapcursor@2.26.1(@tiptap/core@2.26.1(@tiptap/pm@2.26.1))(@tiptap/pm@2.26.1)': dependencies: @@ -1737,17 +1755,20 @@ snapshots: prosemirror-transform: 1.10.4 prosemirror-view: 1.40.0 - '@tiptap/react@2.25.0(@tiptap/core@2.26.1(@tiptap/pm@2.25.0))(@tiptap/pm@2.25.0)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704)': + '@tiptap/react@3.0.1(@floating-ui/dom@1.7.2)(@tiptap/core@2.26.1(@tiptap/pm@2.25.0))(@tiptap/pm@2.25.0)(react-dom@19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704))(react@19.0.0-rc-f38c22b244-20240704)': dependencies: '@tiptap/core': 2.26.1(@tiptap/pm@2.26.1) - '@tiptap/extension-bubble-menu': 2.25.0(@tiptap/core@2.26.1(@tiptap/pm@2.25.0))(@tiptap/pm@2.25.0) - '@tiptap/extension-floating-menu': 2.25.0(@tiptap/core@2.26.1(@tiptap/pm@2.25.0))(@tiptap/pm@2.25.0) '@tiptap/pm': 2.25.0 '@types/use-sync-external-store': 0.0.6 fast-deep-equal: 3.1.3 react: 19.0.0-rc-f38c22b244-20240704 react-dom: 19.0.0-rc-f38c22b244-20240704(react@19.0.0-rc-f38c22b244-20240704) use-sync-external-store: 1.5.0(react@19.0.0-rc-f38c22b244-20240704) + optionalDependencies: + '@tiptap/extension-bubble-menu': 3.0.1(@tiptap/core@2.26.1(@tiptap/pm@2.25.0))(@tiptap/pm@2.25.0) + '@tiptap/extension-floating-menu': 3.0.1(@floating-ui/dom@1.7.2)(@tiptap/core@2.26.1(@tiptap/pm@2.25.0))(@tiptap/pm@2.25.0) + transitivePeerDependencies: + - '@floating-ui/dom' '@tiptap/starter-kit@2.26.1': dependencies: @@ -2617,10 +2638,6 @@ snapshots: dependencies: any-promise: 1.3.0 - tippy.js@6.3.7: - dependencies: - '@popperjs/core': 2.11.8 - to-regex-range@5.0.1: dependencies: is-number: 7.0.0