{"_id":"@domternal/extension-block-controls","_rev":"16-9f019db92b0875da3ae65fbd6586e79c","name":"@domternal/extension-block-controls","dist-tags":{"latest":"1.2.0"},"versions":{"0.10.0":{"name":"@domternal/extension-block-controls","version":"0.10.0","keywords":["prosemirror","editor","block-controls","block-menu","floating-menu","slash-command","block-handle","drag-handle","notion","domternal"],"author":{"name":"https://github.com/ThomasNowHere"},"license":"MIT","_id":"@domternal/extension-block-controls@0.10.0","maintainers":[{"name":"thomasnowhere","email":"tomislav25x@hotmail.com"}],"homepage":"https://domternal.dev","bugs":{"url":"https://github.com/domternal/domternal/issues"},"dist":{"shasum":"d33987f0815f3fa720f95e0875da85402757dfac","tarball":"https://registry.npmjs.org/@domternal/extension-block-controls/-/extension-block-controls-0.10.0.tgz","fileCount":8,"integrity":"sha512-dmf1dyakr1g1iXUzEKODeRafvpeGUgD/bINeTTLl9ZjD0Z7yQ9Nw6ysbf7K1iE6oDGUZicQ4fMcS/z55Mx0xGw==","signatures":[{"sig":"MEYCIQCiNW2etzX8zjV7MAz9mjDk5S4SjNOOR83hElY0bHTNKAIhANvfGstWOVBxCjLBkx5dm0FjVrf80b1FNvzYjO5jTv0Z","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":918101},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"92d066f2d30134924b3c1b408a3fe2d032f6d4cd","scripts":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup --clean","typecheck":"tsc --noEmit","test:watch":"vitest","postpublish":"git checkout package.json","prepublishOnly":"pnpm build && node -e \"const p=JSON.parse(require('fs').readFileSync('package.json','utf8'));delete p.devDependencies;if(p.dependencies){for(const[k,v]of Object.entries(p.dependencies)){if(v==='workspace:*')p.dependencies[k]='>=0.10.0'}}require('fs').writeFileSync('package.json',JSON.stringify(p,null,2)+'\\n')\""},"_npmUser":{"name":"thomasnowhere","email":"tomislav25x@hotmail.com"},"repository":{"url":"git+https://github.com/domternal/domternal.git","type":"git","directory":"packages/extension-block-controls"},"_npmVersion":"11.6.2","description":"Notion-style block controls for the Domternal editor: BlockHandle (hover gutter + drag), SlashCommand, FloatingMenu, ContextMenu, keyboard reorder, and SmartPaste","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"peerDependencies":{"@domternal/pm":">=0.10.0","@domternal/core":">=0.10.0"},"_npmOperationalInternal":{"tmp":"tmp/extension-block-controls_0.10.0_1782081953297_0.7695347918076347","host":"s3://npm-registry-packages-npm-production"}},"0.11.0":{"name":"@domternal/extension-block-controls","version":"0.11.0","keywords":["prosemirror","editor","block-controls","block-menu","floating-menu","slash-command","block-handle","drag-handle","notion","domternal"],"author":{"name":"https://github.com/ThomasNowHere"},"license":"MIT","_id":"@domternal/extension-block-controls@0.11.0","maintainers":[{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"}],"homepage":"https://domternal.dev","bugs":{"url":"https://github.com/domternal/domternal/issues"},"dist":{"shasum":"356c75acb9dca2e6f37996a699237df441d66ff7","tarball":"https://registry.npmjs.org/@domternal/extension-block-controls/-/extension-block-controls-0.11.0.tgz","fileCount":8,"integrity":"sha512-9MEhSrBo6N09cxAqefH4qa8DkIsLHwuZ0vr2QQ7ZFwrunL0N6wpSsIMJrfjjrmvaOomAJY8v/yhxhsMP9zGfBg==","signatures":[{"sig":"MEUCID+9oc6+3m0aNZkZyt/QO2goOEHzyp8bvYO7LbZl15gZAiEAppkunYPoWk1nIL2QaiGyW5OipPkkOq3VZBS3qhoZw7E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":918101},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"7d94c61c20270aacb8e0c49ccfcc0e4a076974cd","scripts":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup --clean","typecheck":"tsc --noEmit","test:watch":"vitest","postpublish":"git checkout package.json","prepublishOnly":"pnpm build && node -e \"const p=JSON.parse(require('fs').readFileSync('package.json','utf8'));delete p.devDependencies;if(p.dependencies){for(const[k,v]of Object.entries(p.dependencies)){if(v==='workspace:*')p.dependencies[k]='>=0.11.0'}}require('fs').writeFileSync('package.json',JSON.stringify(p,null,2)+'\\n')\""},"_npmUser":{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"},"repository":{"url":"git+https://github.com/domternal/domternal.git","type":"git","directory":"packages/extension-block-controls"},"_npmVersion":"11.6.2","description":"Notion-style block controls for the Domternal editor: BlockHandle (hover gutter + drag), SlashCommand, FloatingMenu, ContextMenu, keyboard reorder, and SmartPaste","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"peerDependencies":{"@domternal/pm":">=0.11.0","@domternal/core":">=0.11.0"},"_npmOperationalInternal":{"tmp":"tmp/extension-block-controls_0.11.0_1782384042149_0.13393198522746808","host":"s3://npm-registry-packages-npm-production"}},"0.11.1":{"name":"@domternal/extension-block-controls","version":"0.11.1","keywords":["prosemirror","editor","block-controls","block-menu","floating-menu","slash-command","block-handle","drag-handle","notion","domternal"],"author":{"name":"https://github.com/ThomasNowHere"},"license":"MIT","_id":"@domternal/extension-block-controls@0.11.1","maintainers":[{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"}],"homepage":"https://domternal.dev","bugs":{"url":"https://github.com/domternal/domternal/issues"},"dist":{"shasum":"80dac08e7bc6baccdf1f8540493532e55fbf28e7","tarball":"https://registry.npmjs.org/@domternal/extension-block-controls/-/extension-block-controls-0.11.1.tgz","fileCount":8,"integrity":"sha512-rXm+qDOP33krUR2p2HdMGreaSsk0rD4c919r2+9+Ccy2sGhQs/C2FrFE87ozlf6NP+mSf2FoW2pfKyERI9DMOg==","signatures":[{"sig":"MEYCIQCr6eelwpsVzWWQX1sz6wFwWebna+oKDMsz4FZtLCeF5QIhALMtAud20W6wORTBzhEU+XLQ9mJzke5gkTzZNgjSftFu","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":918101},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"bad4aefa6b83f7c628978f4bbef77f3e5c4079e7","scripts":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup --clean","typecheck":"tsc --noEmit","test:watch":"vitest","postpublish":"git checkout package.json","prepublishOnly":"pnpm build && node -e \"const p=JSON.parse(require('fs').readFileSync('package.json','utf8'));delete p.devDependencies;if(p.dependencies){for(const[k,v]of Object.entries(p.dependencies)){if(v==='workspace:*')p.dependencies[k]='>=0.11.0'}}require('fs').writeFileSync('package.json',JSON.stringify(p,null,2)+'\\n')\""},"_npmUser":{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"},"repository":{"url":"git+https://github.com/domternal/domternal.git","type":"git","directory":"packages/extension-block-controls"},"_npmVersion":"11.6.2","description":"Notion-style block controls for the Domternal editor: BlockHandle (hover gutter + drag), SlashCommand, FloatingMenu, ContextMenu, keyboard reorder, and SmartPaste","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"peerDependencies":{"@domternal/pm":">=0.11.0","@domternal/core":">=0.11.0"},"_npmOperationalInternal":{"tmp":"tmp/extension-block-controls_0.11.1_1782826871632_0.3106270536171134","host":"s3://npm-registry-packages-npm-production"}},"0.11.2":{"name":"@domternal/extension-block-controls","version":"0.11.2","keywords":["prosemirror","editor","block-controls","block-menu","floating-menu","slash-command","block-handle","drag-handle","notion","domternal"],"author":{"name":"https://github.com/ThomasNowHere"},"license":"MIT","_id":"@domternal/extension-block-controls@0.11.2","maintainers":[{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"}],"homepage":"https://domternal.dev","bugs":{"url":"https://github.com/domternal/domternal/issues"},"dist":{"shasum":"999b0061426692ae7fac4bf3a5014381244dc7fd","tarball":"https://registry.npmjs.org/@domternal/extension-block-controls/-/extension-block-controls-0.11.2.tgz","fileCount":8,"integrity":"sha512-0tsfpGfy+L71LDpiZrvpnvkEqOfFOQ0HdR+e9KcMTA68GZO7XZKhGqF/n0T+2lPFHIpVOz/8f8ESnSODSBiTMg==","signatures":[{"sig":"MEUCIQDRwOG0QblPX9YHiRfPKOzUl4OX1riNKZWWOZC71TN3mwIgGfyk+CiPI5jXwAtKiqDFAUY8TrN7zRdSi+fcokw5St4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":917430},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"b2dc75ffdf99aebd58e8b108e7334a47046f8517","scripts":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup --clean","typecheck":"tsc --noEmit","test:watch":"vitest","postpublish":"git checkout package.json","prepublishOnly":"pnpm build && node -e \"const p=JSON.parse(require('fs').readFileSync('package.json','utf8'));delete p.devDependencies;if(p.dependencies){for(const[k,v]of Object.entries(p.dependencies)){if(v==='workspace:*')p.dependencies[k]='>=0.11.0'}}require('fs').writeFileSync('package.json',JSON.stringify(p,null,2)+'\\n')\""},"_npmUser":{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"},"repository":{"url":"git+https://github.com/domternal/domternal.git","type":"git","directory":"packages/extension-block-controls"},"_npmVersion":"11.6.2","description":"Notion-style block controls for the Domternal editor: BlockHandle (hover gutter + drag), SlashCommand, FloatingMenu, ContextMenu, keyboard reorder, and SmartPaste","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"peerDependencies":{"@domternal/pm":">=0.11.0","@domternal/core":">=0.11.0"},"_npmOperationalInternal":{"tmp":"tmp/extension-block-controls_0.11.2_1782861839134_0.4903740348200365","host":"s3://npm-registry-packages-npm-production"}},"0.12.0":{"name":"@domternal/extension-block-controls","version":"0.12.0","keywords":["prosemirror","editor","block-controls","block-menu","floating-menu","slash-command","block-handle","drag-handle","notion","domternal"],"author":{"name":"https://github.com/ThomasNowHere"},"license":"MIT","_id":"@domternal/extension-block-controls@0.12.0","maintainers":[{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"}],"homepage":"https://domternal.dev","bugs":{"url":"https://github.com/domternal/domternal/issues"},"dist":{"shasum":"efc9c9edc8f09e69b83fdeeb2c3440c1af1661fc","tarball":"https://registry.npmjs.org/@domternal/extension-block-controls/-/extension-block-controls-0.12.0.tgz","fileCount":9,"integrity":"sha512-Z2/5aoRkZ3/Oo3HqxnWmamVZNDxxNM1lNEbadN1QRZiLPqmMHvXsvP6vXxcDgGH3h0qPRBZ1d+ucTGhxAzlFOg==","signatures":[{"sig":"MEYCIQCd89y23B+abICEAx20GSJzGzHHJiisTHbGHpMVePaQ/wIhAPE2Dvdnv4g0nfVK2udH2K34680YPsEE/PZdeXWrpBbz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":918509},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"1d07b9cc3d5629a67327a687b7089d2940b76357","scripts":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup --clean","typecheck":"tsc --noEmit","test:watch":"vitest","postpublish":"git checkout package.json","prepublishOnly":"pnpm build && node -e \"const p=JSON.parse(require('fs').readFileSync('package.json','utf8'));delete p.devDependencies;if(p.dependencies){for(const[k,v]of Object.entries(p.dependencies)){if(v==='workspace:*')p.dependencies[k]='>=0.12.0'}}require('fs').writeFileSync('package.json',JSON.stringify(p,null,2)+'\\n')\""},"_npmUser":{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"},"repository":{"url":"git+https://github.com/domternal/domternal.git","type":"git","directory":"packages/extension-block-controls"},"_npmVersion":"11.6.2","description":"Notion-style block controls for the Domternal editor: BlockHandle (hover gutter + drag), SlashCommand, FloatingMenu, ContextMenu, keyboard reorder, and SmartPaste","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"peerDependencies":{"@domternal/pm":">=0.12.0","@domternal/core":">=0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/extension-block-controls_0.12.0_1783691981884_0.8735703964158525","host":"s3://npm-registry-packages-npm-production"}},"0.12.1":{"name":"@domternal/extension-block-controls","version":"0.12.1","keywords":["prosemirror","editor","block-controls","block-menu","floating-menu","slash-command","block-handle","drag-handle","notion","domternal"],"author":{"name":"https://github.com/ThomasNowHere"},"license":"MIT","_id":"@domternal/extension-block-controls@0.12.1","maintainers":[{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"}],"homepage":"https://domternal.dev","bugs":{"url":"https://github.com/domternal/domternal/issues"},"dist":{"shasum":"0478bbad3ffd8fae3f5b53b96b9d7e8f60d16d09","tarball":"https://registry.npmjs.org/@domternal/extension-block-controls/-/extension-block-controls-0.12.1.tgz","fileCount":9,"integrity":"sha512-khIaIPqzvbpHSX8N4ytde2/auXU6oRyjZmt7JRFRYjNZhnsm5QHrYwL2QuBf9AvvgKwFh9zoPr9b4ET1pHBm6A==","signatures":[{"sig":"MEQCIHxOG90sZFRbCpI216SeK3nUf3SGY12qegMm16Xeeq5IAiAmU3Wr62HF2/pLxP4AsUm5mzJ92kd6GmDD6H1rdkxzfw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":918509},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"5efff061351e764f7d5b49223e0509b807cd6f7e","scripts":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup --clean","typecheck":"tsc --noEmit","test:watch":"vitest","postpublish":"git checkout package.json","prepublishOnly":"pnpm build && node -e \"const p=JSON.parse(require('fs').readFileSync('package.json','utf8'));delete p.devDependencies;if(p.dependencies){for(const[k,v]of Object.entries(p.dependencies)){if(v==='workspace:*')p.dependencies[k]='>=0.12.0'}}require('fs').writeFileSync('package.json',JSON.stringify(p,null,2)+'\\n')\""},"_npmUser":{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"},"repository":{"url":"git+https://github.com/domternal/domternal.git","type":"git","directory":"packages/extension-block-controls"},"_npmVersion":"11.6.2","description":"Notion-style block controls for the Domternal editor: BlockHandle (hover gutter + drag), SlashCommand, FloatingMenu, ContextMenu, keyboard reorder, and SmartPaste","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"peerDependencies":{"@domternal/pm":">=0.12.0","@domternal/core":">=0.12.0"},"_npmOperationalInternal":{"tmp":"tmp/extension-block-controls_0.12.1_1783799524727_0.11682272936423099","host":"s3://npm-registry-packages-npm-production"}},"0.13.0":{"name":"@domternal/extension-block-controls","version":"0.13.0","keywords":["prosemirror","editor","block-controls","block-menu","floating-menu","slash-command","block-handle","drag-handle","notion","domternal"],"author":{"name":"https://github.com/ThomasNowHere"},"license":"MIT","_id":"@domternal/extension-block-controls@0.13.0","maintainers":[{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"}],"homepage":"https://domternal.dev","bugs":{"url":"https://github.com/domternal/domternal/issues"},"dist":{"shasum":"17b8d3e614dce66173e50c1445dcb28feb090c3f","tarball":"https://registry.npmjs.org/@domternal/extension-block-controls/-/extension-block-controls-0.13.0.tgz","fileCount":9,"integrity":"sha512-/7/FBkpo3AQrOgbvGUczZ5ciila6inPqYohTph5WcznHJAORZpLjPwB1UqJ45+JCEx3OwxHSv+MZJiZIULjiOw==","signatures":[{"sig":"MEYCIQDqaTRUuGsran4ozckBbSBShvjnHiW/ThAOcz9keIsiLAIhAK/jUe275+XhpGZUuWCzPuvtrGGRhBkTlXvmHK7SDFnl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1009989},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"2044ee13e2414fb8851a95281cca2c26ec924049","scripts":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup --clean","typecheck":"tsc --noEmit","test:watch":"vitest","postpublish":"git checkout package.json","prepublishOnly":"pnpm build && node -e \"const p=JSON.parse(require('fs').readFileSync('package.json','utf8'));delete p.devDependencies;if(p.dependencies){for(const[k,v]of Object.entries(p.dependencies)){if(v==='workspace:*')p.dependencies[k]='>=0.13.0'}}require('fs').writeFileSync('package.json',JSON.stringify(p,null,2)+'\\n')\""},"_npmUser":{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"},"repository":{"url":"git+https://github.com/domternal/domternal.git","type":"git","directory":"packages/extension-block-controls"},"_npmVersion":"11.6.2","description":"Notion-style block controls for the Domternal editor: BlockHandle (hover gutter + drag), SlashCommand, FloatingMenu, ContextMenu, keyboard reorder, and SmartPaste","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"peerDependencies":{"@domternal/pm":">=0.13.0","@domternal/core":">=0.13.0"},"_npmOperationalInternal":{"tmp":"tmp/extension-block-controls_0.13.0_1784468565662_0.9203252190460605","host":"s3://npm-registry-packages-npm-production"}},"0.14.0":{"name":"@domternal/extension-block-controls","version":"0.14.0","keywords":["prosemirror","editor","block-controls","block-menu","floating-menu","slash-command","block-handle","drag-handle","notion","domternal"],"author":{"name":"https://github.com/ThomasNowHere"},"license":"MIT","_id":"@domternal/extension-block-controls@0.14.0","maintainers":[{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"}],"homepage":"https://domternal.dev","bugs":{"url":"https://github.com/domternal/domternal/issues"},"dist":{"shasum":"8c85b934cf6c07e61154938f96d1df32d79394fe","tarball":"https://registry.npmjs.org/@domternal/extension-block-controls/-/extension-block-controls-0.14.0.tgz","fileCount":9,"integrity":"sha512-7xedc4a2mIIHpYHJGSf5D4C5HnZ4VWTQfxikUfQDXtYMF9dGrA/8qTrp3WEcRrXIlkEE2m+y9bG621Y9Vkva+g==","signatures":[{"sig":"MEQCIEG2996BABNf5vMJ12l8/o4d7ALESA66WFSx2D0WMww9AiABp7cK6BvfQzbXPj4gTpubpUDGUjxEuNI40eGs14Fo7w==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1044039},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"68c0046cd44414ca03ba694809f56ac3ac29b4f8","scripts":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup --clean","typecheck":"tsc --noEmit","test:watch":"vitest","postpublish":"git checkout package.json","prepublishOnly":"pnpm build && node -e \"const p=JSON.parse(require('fs').readFileSync('package.json','utf8'));delete p.devDependencies;if(p.dependencies){for(const[k,v]of Object.entries(p.dependencies)){if(v==='workspace:*')p.dependencies[k]='>=0.14.0'}}require('fs').writeFileSync('package.json',JSON.stringify(p,null,2)+'\\n')\""},"_npmUser":{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"},"repository":{"url":"git+https://github.com/domternal/domternal.git","type":"git","directory":"packages/extension-block-controls"},"_npmVersion":"11.6.2","description":"Notion-style block controls for the Domternal editor: BlockHandle (hover gutter + drag), SlashCommand, FloatingMenu, ContextMenu, keyboard reorder, and SmartPaste","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"peerDependencies":{"@domternal/pm":">=0.14.0","@domternal/core":">=0.14.0"},"_npmOperationalInternal":{"tmp":"tmp/extension-block-controls_0.14.0_1785078685267_0.08075063237226177","host":"s3://npm-registry-packages-npm-production"}},"0.15.0":{"name":"@domternal/extension-block-controls","version":"0.15.0","keywords":["prosemirror","editor","block-controls","block-menu","floating-menu","slash-command","block-handle","drag-handle","notion","domternal"],"author":{"name":"https://github.com/ThomasNowHere"},"license":"MIT","_id":"@domternal/extension-block-controls@0.15.0","maintainers":[{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"}],"homepage":"https://domternal.dev","bugs":{"url":"https://github.com/domternal/domternal/issues"},"dist":{"shasum":"0954e515e04504fef426212656cce8592f7f3d66","tarball":"https://registry.npmjs.org/@domternal/extension-block-controls/-/extension-block-controls-0.15.0.tgz","fileCount":9,"integrity":"sha512-IbUqXfMgSLjDo6T/kU4pKKOxaVOanCVgAedt/WmpIXCPLg0SUjbdDht+LITd7mDtr1XNZu3B5Cn9nzwLZIBRjA==","signatures":[{"sig":"MEQCIEWB0cyaMskKIB+4NgN2pGr2YjwpSVBydvQpI73NUwcRAiBoa2RKkv/fc5NlCJH8dVcZbsZjGrxGw7G5uuGlJ0uEVg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1058456},"main":"./dist/index.cjs","type":"module","_from":"file:domternal-extension-block-controls-0.15.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup --clean","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"},"_resolved":"/private/var/folders/gt/83tj4xrs0v31bq6qd__42lwc0000gn/T/758e69e1f49d1b62635c9ad67e382cbc/domternal-extension-block-controls-0.15.0.tgz","_integrity":"sha512-IbUqXfMgSLjDo6T/kU4pKKOxaVOanCVgAedt/WmpIXCPLg0SUjbdDht+LITd7mDtr1XNZu3B5Cn9nzwLZIBRjA==","repository":{"url":"git+https://github.com/domternal/domternal.git","type":"git","directory":"packages/extension-block-controls"},"_npmVersion":"11.6.2","description":"Notion-style block controls for the Domternal editor: BlockHandle (hover gutter + drag), SlashCommand, FloatingMenu, ContextMenu, keyboard reorder, and SmartPaste","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"peerDependencies":{"@domternal/pm":">=0.15.0","@domternal/core":">=0.15.0"},"_npmOperationalInternal":{"tmp":"tmp/extension-block-controls_0.15.0_1786912940923_0.9406315210903953","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@domternal/extension-block-controls","version":"1.0.0","keywords":["prosemirror","editor","block-controls","block-menu","floating-menu","slash-command","block-handle","drag-handle","notion","domternal"],"author":{"name":"https://github.com/ThomasNowHere"},"license":"MIT","_id":"@domternal/extension-block-controls@1.0.0","maintainers":[{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"}],"homepage":"https://domternal.dev","bugs":{"url":"https://github.com/domternal/domternal/issues"},"dist":{"shasum":"e19f23da475dda384d6bfc01b9773ee88280fad9","tarball":"https://registry.npmjs.org/@domternal/extension-block-controls/-/extension-block-controls-1.0.0.tgz","fileCount":9,"integrity":"sha512-EJOUFgFdSLW+QTWxZRiLNpKX4hjTAUgHeSimTRWZRtaaeqEtHeLObW0LdnHcUmgLYVC9hbHpHjn9pLk/5pWvkg==","signatures":[{"sig":"MEUCIBgNGpjS6IGR2mnvAX3FjQX+hgGiiguLUCCzunYw3BZJAiEA+5ODQczGooi/L8cO6+TnpWT70nqBB3SLqbH+2xUwdxY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1064863},"main":"./dist/index.cjs","type":"module","_from":"file:domternal-extension-block-controls-1.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup --clean","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"},"_resolved":"/private/var/folders/gt/83tj4xrs0v31bq6qd__42lwc0000gn/T/9d9e0785d7622608c830cc7a72959f9c/domternal-extension-block-controls-1.0.0.tgz","_integrity":"sha512-EJOUFgFdSLW+QTWxZRiLNpKX4hjTAUgHeSimTRWZRtaaeqEtHeLObW0LdnHcUmgLYVC9hbHpHjn9pLk/5pWvkg==","repository":{"url":"git+https://github.com/domternal/domternal.git","type":"git","directory":"packages/extension-block-controls"},"_npmVersion":"10.9.8","description":"Notion-style block controls for the Domternal editor: BlockHandle (hover gutter + drag), SlashCommand, FloatingMenu, ContextMenu, keyboard reorder, and SmartPaste","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"peerDependencies":{"@domternal/pm":">=1.0.0","@domternal/core":">=1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/extension-block-controls_1.0.0_1787656963235_0.5397428849279877","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@domternal/extension-block-controls","version":"1.0.1","keywords":["prosemirror","editor","block-controls","block-menu","floating-menu","slash-command","block-handle","drag-handle","notion","domternal"],"author":{"name":"https://github.com/ThomasNowHere"},"license":"MIT","_id":"@domternal/extension-block-controls@1.0.1","maintainers":[{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"}],"homepage":"https://domternal.dev","bugs":{"url":"https://github.com/domternal/domternal/issues"},"dist":{"shasum":"20d8f7b9dddc152216e01b32ec62c613d65a6179","tarball":"https://registry.npmjs.org/@domternal/extension-block-controls/-/extension-block-controls-1.0.1.tgz","fileCount":9,"integrity":"sha512-S37NAuBTCsQOjZteviq+1+Q6ygEKDFzKJRjV9H0fS9107jlFgghoCx+xqe3FOi1+3A57Iz+3iofYJu8lqw6Nsg==","signatures":[{"sig":"MEUCIAfoW463EDxzyUchvjQidmfwyfRCeeRdkRckj78pq63TAiEA4MCiNotDHIN+cJm2LIsvZmXxH5I1jslqvE/dry3uots=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1064863},"main":"./dist/index.cjs","type":"module","_from":"file:domternal-extension-block-controls-1.0.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup --clean","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"},"_resolved":"/private/var/folders/gt/83tj4xrs0v31bq6qd__42lwc0000gn/T/bf5d450886062361e5876113a6132f7b/domternal-extension-block-controls-1.0.1.tgz","_integrity":"sha512-S37NAuBTCsQOjZteviq+1+Q6ygEKDFzKJRjV9H0fS9107jlFgghoCx+xqe3FOi1+3A57Iz+3iofYJu8lqw6Nsg==","repository":{"url":"git+https://github.com/domternal/domternal.git","type":"git","directory":"packages/extension-block-controls"},"_npmVersion":"10.9.8","description":"Notion-style block controls for the Domternal editor: BlockHandle (hover gutter + drag), SlashCommand, FloatingMenu, ContextMenu, keyboard reorder, and SmartPaste","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"peerDependencies":{"@domternal/pm":">=1.0.0","@domternal/core":">=1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/extension-block-controls_1.0.1_1787663260551_0.9555030523703081","host":"s3://npm-registry-packages-npm-production"}},"1.0.2":{"name":"@domternal/extension-block-controls","version":"1.0.2","keywords":["prosemirror","editor","rich-text-editor","typescript","block-controls","block-menu","floating-menu","slash-command","block-handle","drag-handle","notion","domternal"],"author":{"name":"https://github.com/ThomasNowHere"},"license":"MIT","_id":"@domternal/extension-block-controls@1.0.2","maintainers":[{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"}],"homepage":"https://domternal.dev","bugs":{"url":"https://github.com/domternal/domternal/issues"},"dist":{"shasum":"b9288f9121ea5f796f7e9cd27d7a2ddf68a538ae","tarball":"https://registry.npmjs.org/@domternal/extension-block-controls/-/extension-block-controls-1.0.2.tgz","fileCount":9,"integrity":"sha512-G85UrAoJTJtN9zUXjwC/kcgOxOQ4lCuqs5I3TZxbFUQgIV4FiAWZ/3crq0rGvttOtpvwOg0zX0dJsKMA5TQrWg==","signatures":[{"sig":"MEYCIQDKchOLBRHWNJnKLpBUA0bU1JNtc/W6JlWi66MKS9SLdwIhAIJLxQUDFBjv94eP10slPg6u/xvg9tZHWe/tA7c1Vz7Q","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1065055},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"1baaeb444abe1b5b75c783da24090eb297cb0af9","scripts":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup --clean","typecheck":"tsc --noEmit","test:watch":"vitest","postpublish":"git checkout package.json","prepublishOnly":"pnpm build && node ../../scripts/prepare-publish-manifest.mjs"},"_npmUser":{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"},"repository":{"url":"git+https://github.com/domternal/domternal.git","type":"git","directory":"packages/extension-block-controls"},"_npmVersion":"11.6.2","description":"Notion-style block controls for the Domternal editor: BlockHandle (hover gutter + drag), SlashCommand, FloatingMenu, ContextMenu, keyboard reorder, and SmartPaste","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"peerDependencies":{"@domternal/pm":">=1.0.0 <2.0.0","@domternal/core":">=1.0.0 <2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/extension-block-controls_1.0.2_1788685359352_0.15484103441968977","host":"s3://npm-registry-packages-npm-production"}},"1.0.3":{"name":"@domternal/extension-block-controls","version":"1.0.3","keywords":["prosemirror","editor","rich-text-editor","typescript","block-controls","block-menu","floating-menu","slash-command","block-handle","drag-handle","notion","domternal"],"author":{"name":"https://github.com/ThomasNowHere"},"license":"MIT","_id":"@domternal/extension-block-controls@1.0.3","maintainers":[{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"}],"homepage":"https://domternal.dev","bugs":{"url":"https://github.com/domternal/domternal/issues"},"dist":{"shasum":"bab0ad5d26b052f96fd0c946165e260b9ccaba5a","tarball":"https://registry.npmjs.org/@domternal/extension-block-controls/-/extension-block-controls-1.0.3.tgz","fileCount":9,"integrity":"sha512-cazQgSbDFOgGqoV11Vh1fBMb9B0ocJGhApvHefTGV/HYf4VUqwZaCUa0+pI9blFqgVOKAyN+yM1XuwzD2hV9pw==","signatures":[{"sig":"MEUCIQDd+h3YJGyDc7wR3Nng/x6KxLVsoFRSkukX1JK+d/FHjwIgXS1S8JxXjkkfVj+lLKnFp/0BN5rv6baAVdbkHuDXgY8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1065055},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"gitHead":"3922361c762ac470ff179d4a13b82215a2784995","scripts":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup --clean","typecheck":"tsc --noEmit","test:watch":"vitest","postpublish":"git checkout package.json","prepublishOnly":"pnpm build && node ../../scripts/prepare-publish-manifest.mjs"},"_npmUser":{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"},"repository":{"url":"git+https://github.com/domternal/domternal.git","type":"git","directory":"packages/extension-block-controls"},"_npmVersion":"11.6.2","description":"Notion-style block controls for the Domternal editor: BlockHandle (hover gutter + drag), SlashCommand, FloatingMenu, ContextMenu, keyboard reorder, and SmartPaste","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"peerDependencies":{"@domternal/pm":">=1.0.0 <2.0.0","@domternal/core":">=1.0.0 <2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/extension-block-controls_1.0.3_1788729191921_0.42366777581719495","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@domternal/extension-block-controls","version":"1.1.0","keywords":["prosemirror","editor","rich-text-editor","typescript","block-controls","block-menu","floating-menu","slash-command","block-handle","drag-handle","notion","domternal"],"author":{"name":"https://github.com/ThomasNowHere"},"license":"MIT","_id":"@domternal/extension-block-controls@1.1.0","maintainers":[{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"}],"homepage":"https://domternal.dev","bugs":{"url":"https://github.com/domternal/domternal/issues"},"dist":{"shasum":"271d07beddf11a8a77ed85353040c59f78f6ca1e","tarball":"https://registry.npmjs.org/@domternal/extension-block-controls/-/extension-block-controls-1.1.0.tgz","fileCount":9,"integrity":"sha512-uWzMdQAlbtwWmXVFFXJmCpYCRzu48oGbWLdiYwqBw0vIi68gcy8t2C1x4hqLt8wsB03gaWuWLxMqsbTcSBlEkA==","signatures":[{"sig":"MEUCIFegBbfndbq6oi7v4x3zpAAcwRZM/77WeZzOTfUgitGWAiEA3eDy4mzG5OhP8RvbUJHVRNz/pWJii201DUOdD8cWs9g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1071027},"main":"./dist/index.cjs","type":"module","_from":"file:domternal-extension-block-controls-1.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup --clean","typecheck":"tsc --noEmit","test:watch":"vitest"},"_npmUser":{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"},"_resolved":"/private/var/folders/gt/83tj4xrs0v31bq6qd__42lwc0000gn/T/b65217aad55c3c27316dfaea0765549f/domternal-extension-block-controls-1.1.0.tgz","_integrity":"sha512-uWzMdQAlbtwWmXVFFXJmCpYCRzu48oGbWLdiYwqBw0vIi68gcy8t2C1x4hqLt8wsB03gaWuWLxMqsbTcSBlEkA==","repository":{"url":"git+https://github.com/domternal/domternal.git","type":"git","directory":"packages/extension-block-controls"},"_npmVersion":"10.9.8","description":"Notion-style block controls for the Domternal editor: BlockHandle (hover gutter + drag), SlashCommand, FloatingMenu, ContextMenu, keyboard reorder, and SmartPaste","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"peerDependencies":{"@domternal/pm":">=1.1.0 <2.0.0","@domternal/core":">=1.1.0 <2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/extension-block-controls_1.1.0_1788975917645_0.3848515623391051","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@domternal/extension-block-controls","version":"1.1.1","keywords":["prosemirror","editor","rich-text-editor","typescript","block-controls","block-menu","floating-menu","slash-command","block-handle","drag-handle","notion","domternal"],"author":{"name":"https://github.com/ThomasNowHere"},"license":"MIT","_id":"@domternal/extension-block-controls@1.1.1","maintainers":[{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"}],"homepage":"https://domternal.dev","bugs":{"url":"https://github.com/domternal/domternal/issues"},"dist":{"shasum":"e487954796fac570a14b53b268ad797dc958ceb3","tarball":"https://registry.npmjs.org/@domternal/extension-block-controls/-/extension-block-controls-1.1.1.tgz","fileCount":9,"integrity":"sha512-Jxr3xxA+h/SC1jVCZaL9Nexlnprl5K0ZLalHBBsBCFhtJOF18hs2t0O56kdes3c63NfnrwER9J+y5T9nDw8n5Q==","signatures":[{"sig":"MEQCIB0/te86JMBeVD5WOyyDsZ90VqEE/e72yQgHzhgsXSpOAiBfD6a+nxEiXMFBcQ7Pwr7orD99vyZozLoxtZyLPZw82g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIQCTD4zsmmH5tBmPOWOCCsEOuTOCOfsmAtgs+jdMuOxWVgIgJvSNyGJyJ1NPo/Yv+/zduTRAKSZsUPq0LkslVUbu+pw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1071165},"main":"./dist/index.cjs","type":"module","_from":"file:/private/tmp/domternal-publish-1.1.1/extension-block-controls/domternal-extension-block-controls-1.1.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"tsup --clean","typecheck":"tsc --noEmit","test:watch":"vitest","postpublish":"git checkout package.json","prepublishOnly":"pnpm build && node ../../scripts/prepare-publish-manifest.mjs"},"_npmUser":{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"},"_resolved":"/private/tmp/domternal-publish-1.1.1/extension-block-controls/domternal-extension-block-controls-1.1.1.tgz","_integrity":"sha512-Jxr3xxA+h/SC1jVCZaL9Nexlnprl5K0ZLalHBBsBCFhtJOF18hs2t0O56kdes3c63NfnrwER9J+y5T9nDw8n5Q==","repository":{"url":"git+https://github.com/domternal/domternal.git","type":"git","directory":"packages/extension-block-controls"},"_npmVersion":"10.9.8","description":"Notion-style block controls for the Domternal editor: BlockHandle (hover gutter + drag), SlashCommand, FloatingMenu, ContextMenu, keyboard reorder, and SmartPaste","directories":{},"sideEffects":false,"_nodeVersion":"22.23.2","_hasShrinkwrap":false,"peerDependencies":{"@domternal/pm":">=1.1.0 <2.0.0","@domternal/core":">=1.1.0 <2.0.0"},"_npmOperationalInternal":{"tmp":"tmp/extension-block-controls_1.1.1_1789329368629_0.9514606198471076","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"_id":"@domternal/extension-block-controls@1.2.0","bugs":{"url":"https://github.com/domternal/domternal/issues"},"dist":{"shasum":"10c4c2644411581c97e7ea4e73e8e19c42e87721","tarball":"https://registry.npmjs.org/@domternal/extension-block-controls/-/extension-block-controls-1.2.0.tgz","fileCount":15,"integrity":"sha512-WtUlQ6/6YLBTYuVBqay9hYRf/tfkzqlHDauHMOq3BG/FNADJlDSaOLMSMXRkODCG33nnINZWYZ7mB8iJDw76Vg==","signatures":[{"sig":"MEQCIGhEtuaO6gcoHppNrszfGYWwz6cKPo15hZ+lAGw5wblpAiBAMXpO3xIdd5WXrNvXobMx3Li2w8kKeG2PiOkxmKvDDQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDasPagFgg7YWFLMf7sWLgx9WoNPmGxm3oFRU0bM/gLzwIgHSaSFGAXUGnlQz13ExJkIKGNHeVuzwjuJoOJDYL1yEY="}],"unpackedSize":1169519},"main":"./dist/index.cjs","name":"@domternal/extension-block-controls","type":"module","_from":"file:domternal-extension-block-controls-1.2.0.tgz","types":"./dist/index.d.ts","author":{"name":"https://github.com/ThomasNowHere"},"module":"./dist/index.js","engines":{"node":">=22"},"exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}},"./locales/de":{"import":{"types":"./dist/locales/de.d.ts","default":"./dist/locales/de.js"},"require":{"types":"./dist/locales/de.d.cts","default":"./dist/locales/de.cjs"}}},"license":"MIT","scripts":{"dev":"tsup --watch","lint":"eslint src","test":"vitest run","build":"node ../../scripts/locale-build.mjs","typecheck":"tsc --noEmit","test:watch":"vitest"},"version":"1.2.0","_npmUser":{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"},"homepage":"https://domternal.dev","keywords":["prosemirror","editor","rich-text-editor","typescript","block-controls","block-menu","floating-menu","slash-command","block-handle","drag-handle","notion","domternal"],"_resolved":"/private/var/folders/gt/83tj4xrs0v31bq6qd__42lwc0000gn/T/ebab22603c02cd3cec7a41e00e1e4a23/domternal-extension-block-controls-1.2.0.tgz","_integrity":"sha512-WtUlQ6/6YLBTYuVBqay9hYRf/tfkzqlHDauHMOq3BG/FNADJlDSaOLMSMXRkODCG33nnINZWYZ7mB8iJDw76Vg==","repository":{"url":"git+https://github.com/domternal/domternal.git","type":"git","directory":"packages/extension-block-controls"},"_npmVersion":"11.6.2","description":"Notion-style block controls for the Domternal editor: BlockHandle (hover gutter + drag), SlashCommand, FloatingMenu, ContextMenu, keyboard reorder, and SmartPaste","directories":{},"maintainers":[{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"}],"sideEffects":false,"_nodeVersion":"24.13.0","typesVersions":{"*":{"locales/*":["dist/locales/*"]}},"_hasShrinkwrap":false,"peerDependencies":{"@domternal/pm":">=1.2.0 <2.0.0","@domternal/core":">=1.2.0 <2.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/extension-block-controls_1.2.0_1790024056641_0.6123335566768258"}}},"time":{"created":"2026-06-21T22:45:53.076Z","modified":"2026-09-21T20:54:16.926Z","0.10.0":"2026-06-21T22:45:53.441Z","0.11.0":"2026-06-25T10:40:42.278Z","0.11.1":"2026-06-30T13:41:11.828Z","0.11.2":"2026-06-30T23:23:59.306Z","0.12.0":"2026-07-10T13:59:42.070Z","0.12.1":"2026-07-11T19:52:04.871Z","0.13.0":"2026-07-19T13:42:45.841Z","0.14.0":"2026-07-26T15:11:25.418Z","0.15.0":"2026-08-16T20:42:21.093Z","1.0.0":"2026-08-25T11:22:43.381Z","1.0.1":"2026-08-25T13:07:40.752Z","1.0.2":"2026-09-06T09:02:39.515Z","1.0.3":"2026-09-06T21:13:12.104Z","1.1.0":"2026-09-09T17:45:17.780Z","1.1.1":"2026-09-13T19:56:08.730Z","1.2.0":"2026-09-21T20:54:16.750Z"},"bugs":{"url":"https://github.com/domternal/domternal/issues"},"author":{"name":"https://github.com/ThomasNowHere"},"license":"MIT","homepage":"https://domternal.dev","keywords":["prosemirror","editor","rich-text-editor","typescript","block-controls","block-menu","floating-menu","slash-command","block-handle","drag-handle","notion","domternal"],"repository":{"url":"git+https://github.com/domternal/domternal.git","type":"git","directory":"packages/extension-block-controls"},"description":"Notion-style block controls for the Domternal editor: BlockHandle (hover gutter + drag), SlashCommand, FloatingMenu, ContextMenu, keyboard reorder, and SmartPaste","maintainers":[{"name":"thomasnowhere","email":"thomasnowhere@hotmail.com"}],"readme":"# @domternal/extension-block-controls\n\n[![Version](https://img.shields.io/npm/v/@domternal/extension-block-controls.svg)](https://www.npmjs.com/package/@domternal/extension-block-controls)\n[![MIT License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/domternal/domternal/blob/main/LICENSE)\n\nNotion-style block controls for the [Domternal](https://domternal.dev) editor. Ships\nsix coordinated extensions: `BlockHandle`, `BlockContextMenu`, `SlashCommand`,\n`SmartPaste`, `KeyboardReorder`, and `FloatingMenu` (each described under\n[Extensions](#extensions) below). They cooperate through DOM events, so opening one\noverlay closes the others.\n\n## Links\n\n<u>[Website](https://domternal.dev)</u> &nbsp;&nbsp;&nbsp;•&nbsp;&nbsp;&nbsp; <u>[Documentation](https://domternal.dev/v1/extensions/block-controls)</u> &nbsp;&nbsp;&nbsp;•&nbsp;&nbsp;&nbsp; <u>[Live examples](https://domternal.dev/examples)</u>\n\n## Install\n\n```bash\npnpm add @domternal/extension-block-controls\n```\n\n`@domternal/core` and `@domternal/pm` are peer dependencies and are pulled in by any\nDomternal editor setup.\n\nVersion 1.2.0 requires both `@domternal/core` and `@domternal/pm` in the range\n`>=1.2.0 <2.0.0`. Upgrade these packages together with this extension.\n\n## Usage\n\nAdd the extensions you want to your editor's extension list. Most apps use the full set\ntogether for the Notion experience:\n\n```ts\nimport { Editor, StarterKit } from '@domternal/core';\nimport {\n  BlockHandle,\n  BlockContextMenu,\n  SlashCommand,\n  SmartPaste,\n  KeyboardReorder,\n  FloatingMenu,\n} from '@domternal/extension-block-controls';\nimport '@domternal/theme';\n\nconst editor = new Editor({\n  element: document.getElementById('editor')!,\n  extensions: [\n    StarterKit,\n    BlockHandle.configure({ nested: true }),\n    BlockContextMenu,\n    SlashCommand,\n    SmartPaste,\n    KeyboardReorder,\n    FloatingMenu.configure({\n      element: document.getElementById('floating-menu')!,\n      requireExplicitTrigger: true,\n    }),\n  ],\n});\n```\n\nThe `SlashCommand` and `FloatingMenu` popups draw their items from\n`editor.floatingMenuItems` (collected from every extension's `addFloatingMenuItems()`\nhook), so installed extensions register their own insert actions automatically.\n\nFor custom slash-menu icons, pass an `IconSet` to `SlashCommand.configure({ icons })`.\nIts keys override `defaultIcons`; omitted keys keep their built-in SVG. Toolbar and\nfloating-menu icon props are separate, so pass the same map to each surface that\nneeds it. A custom `render` factory owns icon rendering; the exported\n`createSlashSuggestionRenderer(icons)` accepts the same optional map. Icon SVG\nvalues must be trusted application constants, never user-supplied content.\n\n## Extensions\n\n- **`BlockHandle`** - hover gutter with a `+` insert button and a drag handle. The `+`\n  button inserts an empty paragraph and opens the `FloatingMenu`; the drag handle opens\n  the context menu on click and reorders with a nesting-aware drop indicator on drag.\n  Two experimental extension points serve side-by-side layout extensions:\n  `dropZoneProviders` (claim pointer positions during a handle drag and own the drop)\n  and `nested.anchorContainers` (per-block handles inside listed containers, anchored\n  to the container's edge). They are two halves of one containment model: always ship\n  both together, or moves out of the container become irreversible.\n- **`BlockContextMenu`** - Delete / Duplicate / Turn into actions, opened from the drag\n  handle. Also shows a \"Copy link\" item when the block has an id (and `UniqueID` is\n  loaded), and a \"Colors\" section when the `BlockColor` extension is loaded; each is\n  toggleable via `turnIntoEnabled` / `copyLinkEnabled` / `blockColorEnabled`.\n  `turnIntoTargets` curates the block types offered by \"Turn into\", and `onCopyLink`\n  builds the URL written to the clipboard. Other extensions add their own entries\n  through `addBlockMenuItems()` (see [Extension points](#extension-points)).\n- **`SlashCommand`** - typing `/` opens a filtered, ranked popup of insertable blocks;\n  selecting one replaces the `/query` range and runs the item's command.\n- **`SmartPaste`** - keeps block-level formatting intact when pasting at an inline cursor.\n- **`KeyboardReorder`** - `Mod-Shift-ArrowUp` / `Mod-Shift-ArrowDown` move the current\n  top-level block.\n- **`FloatingMenu`** - the empty-line insert menu; `requireExplicitTrigger` gates it\n  behind the `+` button for Notion mode.\n\n## Extension points\n\n- `addBlockMenuItems()` - any extension contributes entries to the block handle menu,\n  the same shape `addToolbarItems()` uses. An item declares `id`, `label`, `icon`,\n  `group` (`primary`, `colors`, `turnInto`, `collaboration`), an optional `order`, and\n  `run`; `isAvailable` hides it, `isEnabled` renders it inert with a reason. This\n  package builds the button, so a contributed entry keeps the menu's `role=\"menuitem\"`,\n  roving tabindex, and arrow-key navigation. `BlockMenuItem`, `BlockMenuItemContext`,\n  and `BlockMenuItemGroup` are exported for the declaration; the full contract is in\n  the [documentation](https://domternal.dev/v1/extensions/block-controls/#contributed-items-addblockmenuitems).\n- `keepOnDuplicate: false` on a mark (`Mark.create()` in `@domternal/core`) drops that\n  mark from the copy Duplicate inserts, throughout the subtree. Set it on marks that\n  reference identity living outside the document, such as a comment thread anchor.\n- `dropZoneProviders` and `nested.anchorContainers` on `BlockHandle` are two more, both\n  experimental and described under [Extensions](#extensions).\n\n## Localization\n\nThis package exports `blockControlsMessages` for typed custom catalogs. Optional German\nUI messages are available from `@domternal/extension-block-controls/locales/de` as\n`deMessages` and `deSearchAliases`. Merge them with the core and other enabled feature\ncatalogs. Missing entries fall back to English, while custom contributed item labels\nremain application-owned.\n","readmeFilename":"README.md"}