{"_id":"@edv4h/usketch-shape-utils","_rev":"19-a1b258f23fc64023d0f7dc14d4a17004","name":"@edv4h/usketch-shape-utils","dist-tags":{"latest":"2.2.10"},"versions":{"1.0.0":{"name":"@edv4h/usketch-shape-utils","version":"1.0.0","license":"MIT","_id":"@edv4h/usketch-shape-utils@1.0.0","maintainers":[{"name":"myuske","email":"circlemountain.ym@gmail.com"}],"homepage":"https://github.com/EdV4H/usketch#readme","bugs":{"url":"https://github.com/EdV4H/usketch/issues"},"dist":{"shasum":"76e7d6321b2e01fe1d696cf1c640cb292f10001e","tarball":"https://registry.npmjs.org/@edv4h/usketch-shape-utils/-/usketch-shape-utils-1.0.0.tgz","fileCount":23,"integrity":"sha512-7N89uj2pnKQBszTkwRzEigIpvnRuYEKdDiPejZ1Ksbgl+G9mZsQy7BUSk8umSnBbEDFNvoe5Zz7hV0QiwwWcNg==","signatures":[{"sig":"MEYCIQDS4F9XtifJuJoG34InkX9utWbHzy7jktguCFgxhbzt9QIhANPGt5kZvE6UeOeuccIn/LcZEtbTPxbc/CTx/GSRsYDl","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20768},"main":"./dist/index.js","type":"module","_from":"file:edv4h-usketch-shape-utils-1.0.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","source":"./src/index.ts"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"myuske","email":"circlemountain.ym@gmail.com"},"_resolved":"/tmp/5ede67e829759ca890428af22346441f/edv4h-usketch-shape-utils-1.0.0.tgz","_integrity":"sha512-7N89uj2pnKQBszTkwRzEigIpvnRuYEKdDiPejZ1Ksbgl+G9mZsQy7BUSk8umSnBbEDFNvoe5Zz7hV0QiwwWcNg==","repository":{"url":"git+https://github.com/EdV4H/usketch.git","type":"git","directory":"packages/usketch-shape-utils"},"_npmVersion":"10.9.7","description":"uSketch v2 の shape プラグインを書くときに使う共通ユーティリティ集。 サードパーティが `@acme/usketch-plugin-shape-foo` のような独自 shape プラグインを実装する際、bounds 計算・ヒットテスト・リサイズ・GPU primitive の差し込みをここから取ってくる想定。","directories":{},"_nodeVersion":"22.22.2","dependencies":{"@edv4h/usketch-shared":"1.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"3.2.4","typescript":"5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/usketch-shape-utils_1.0.0_1776867789918_0.3762189859584182","host":"s3://npm-registry-packages-npm-production"}},"2.0.0":{"name":"@edv4h/usketch-shape-utils","version":"2.0.0","license":"MIT","_id":"@edv4h/usketch-shape-utils@2.0.0","maintainers":[{"name":"myuske","email":"circlemountain.ym@gmail.com"}],"homepage":"https://github.com/EdV4H/usketch#readme","bugs":{"url":"https://github.com/EdV4H/usketch/issues"},"dist":{"shasum":"1258fc1b968f0d56f37e84b9362ecb45dbdf322d","tarball":"https://registry.npmjs.org/@edv4h/usketch-shape-utils/-/usketch-shape-utils-2.0.0.tgz","fileCount":19,"integrity":"sha512-5O+9Gz06PDpfA5iFh6j6y8TYj1S5MYNiGMpFX40trwv2aAm5TSsab9QLWtUC88NUxFBQpuh166VKTXja1s6GyQ==","signatures":[{"sig":"MEYCIQC/eTm+5dyfzTKSyWxVXOL6hL+HyLK0ezHyqq3IiAGgGAIhAOICYurRpHHaTcS3bHA8grxYI9KbRCNvPOesuu5dFLPj","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15438},"main":"./dist/index.js","type":"module","_from":"file:edv4h-usketch-shape-utils-2.0.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","source":"./src/index.ts"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"myuske","email":"circlemountain.ym@gmail.com"},"_resolved":"/tmp/01f65e2e89da5fb19f9f878a154df11d/edv4h-usketch-shape-utils-2.0.0.tgz","_integrity":"sha512-5O+9Gz06PDpfA5iFh6j6y8TYj1S5MYNiGMpFX40trwv2aAm5TSsab9QLWtUC88NUxFBQpuh166VKTXja1s6GyQ==","repository":{"url":"git+https://github.com/EdV4H/usketch.git","type":"git","directory":"packages/usketch-shape-utils"},"_npmVersion":"10.9.8","description":"uSketch v2 の shape プラグインを書くときに使う共通ユーティリティ集。 サードパーティが `@acme/usketch-plugin-shape-foo` のような独自 shape プラグインを実装する際、bounds 計算・ヒットテスト・リサイズ・GPU primitive の差し込みをここから取ってくる想定。","directories":{},"_nodeVersion":"22.22.3","dependencies":{"@edv4h/usketch-shared":"2.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"3.2.4","typescript":"5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/usketch-shape-utils_2.0.0_1779714823515_0.35977724269830635","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@edv4h/usketch-shape-utils","version":"2.0.1","license":"MIT","_id":"@edv4h/usketch-shape-utils@2.0.1","maintainers":[{"name":"myuske","email":"circlemountain.ym@gmail.com"}],"homepage":"https://github.com/EdV4H/usketch#readme","bugs":{"url":"https://github.com/EdV4H/usketch/issues"},"dist":{"shasum":"a71795c93b786ad64dadbbe11f59c830da350554","tarball":"https://registry.npmjs.org/@edv4h/usketch-shape-utils/-/usketch-shape-utils-2.0.1.tgz","fileCount":19,"integrity":"sha512-bR1pu/nT+Q8hc4Zrp+WA+pGju3S3hYnK3hUnt1+nxAEwT7u0GSw/PKPLPZqxqN/XO9/qD12OkeSaLTIHmRx5Bw==","signatures":[{"sig":"MEUCIQDeVg+GYzbIFwExasxd78+blF99Fw2ZjOUvtEju4b8msgIgZMMQU60Z0uCeZ/bB6CeTzLIc0WCGBai6tMBSF4X7vhg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15438},"main":"./dist/index.js","type":"module","_from":"file:edv4h-usketch-shape-utils-2.0.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","source":"./src/index.ts"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"myuske","email":"circlemountain.ym@gmail.com"},"_resolved":"/tmp/df5335624b6236f2f721af3dd557ed52/edv4h-usketch-shape-utils-2.0.1.tgz","_integrity":"sha512-bR1pu/nT+Q8hc4Zrp+WA+pGju3S3hYnK3hUnt1+nxAEwT7u0GSw/PKPLPZqxqN/XO9/qD12OkeSaLTIHmRx5Bw==","repository":{"url":"git+https://github.com/EdV4H/usketch.git","type":"git","directory":"packages/usketch-shape-utils"},"_npmVersion":"10.9.8","description":"uSketch v2 の shape プラグインを書くときに使う共通ユーティリティ集。 サードパーティが `@acme/usketch-plugin-shape-foo` のような独自 shape プラグインを実装する際、bounds 計算・ヒットテスト・リサイズ・GPU primitive の差し込みをここから取ってくる想定。","directories":{},"_nodeVersion":"22.22.3","dependencies":{"@edv4h/usketch-shared":"3.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"3.2.4","typescript":"5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/usketch-shape-utils_2.0.1_1779785854175_0.619252575310548","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@edv4h/usketch-shape-utils","version":"2.0.2","license":"MIT","_id":"@edv4h/usketch-shape-utils@2.0.2","maintainers":[{"name":"myuske","email":"circlemountain.ym@gmail.com"}],"homepage":"https://github.com/EdV4H/usketch#readme","bugs":{"url":"https://github.com/EdV4H/usketch/issues"},"dist":{"shasum":"ef54aa096676ad11a405cb355139976b4359dac9","tarball":"https://registry.npmjs.org/@edv4h/usketch-shape-utils/-/usketch-shape-utils-2.0.2.tgz","fileCount":19,"integrity":"sha512-h7C7Qn9BdJ5fof2kZWD0NJFChgz5/+xWLvcQbcEM8v9Zm2b1sBJ9GyzEMwdr9h0qcZmoFOFpyzfMUNdeWsdfMA==","signatures":[{"sig":"MEYCIQCKBJqYWBdCa5GvrND3/s7IPg8ZrrX5XSvCLkk756tcxwIhANw3SfVy+O5nB2VCf6s8NWUogZsgdu0lK+OWoeGSSTBs","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15438},"main":"./dist/index.js","type":"module","_from":"file:edv4h-usketch-shape-utils-2.0.2.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","source":"./src/index.ts"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"myuske","email":"circlemountain.ym@gmail.com"},"_resolved":"/tmp/f02d10664cf6d6c779d12e0d7869e08b/edv4h-usketch-shape-utils-2.0.2.tgz","_integrity":"sha512-h7C7Qn9BdJ5fof2kZWD0NJFChgz5/+xWLvcQbcEM8v9Zm2b1sBJ9GyzEMwdr9h0qcZmoFOFpyzfMUNdeWsdfMA==","repository":{"url":"git+https://github.com/EdV4H/usketch.git","type":"git","directory":"packages/usketch-shape-utils"},"_npmVersion":"10.9.8","description":"uSketch v2 の shape プラグインを書くときに使う共通ユーティリティ集。 サードパーティが `@acme/usketch-plugin-shape-foo` のような独自 shape プラグインを実装する際、bounds 計算・ヒットテスト・リサイズ・GPU primitive の差し込みをここから取ってくる想定。","directories":{},"_nodeVersion":"22.22.3","dependencies":{"@edv4h/usketch-shared":"4.0.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"3.2.4","typescript":"5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/usketch-shape-utils_2.0.2_1781776771437_0.4586593425929606","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@edv4h/usketch-shape-utils","version":"2.0.3","license":"MIT","_id":"@edv4h/usketch-shape-utils@2.0.3","maintainers":[{"name":"myuske","email":"circlemountain.ym@gmail.com"}],"homepage":"https://github.com/EdV4H/usketch#readme","bugs":{"url":"https://github.com/EdV4H/usketch/issues"},"dist":{"shasum":"9319c85bef680b875fd373d3d96712cd5a90c92b","tarball":"https://registry.npmjs.org/@edv4h/usketch-shape-utils/-/usketch-shape-utils-2.0.3.tgz","fileCount":19,"integrity":"sha512-vImSIIEjvQ7Jj4g/v0rccdvheJ/bqjWd6VJ6M7kNM/1gsC1X2zOMYXc0AhFpQeqdta1CypmgCO/gBh4dTs1ZfQ==","signatures":[{"sig":"MEQCIAs1BZaPBAOlloSpj1Whwnbim0syIIqvKhLywl6CqiIJAiBOV8vEIlAfTJ9y87cYVTHcC5eFsvHiQ5cZLiZSQXCd6g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15438},"main":"./dist/index.js","type":"module","_from":"file:edv4h-usketch-shape-utils-2.0.3.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","source":"./src/index.ts"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"myuske","email":"circlemountain.ym@gmail.com"},"_resolved":"/tmp/b4d257e2475cdf8035afc59b97f840e4/edv4h-usketch-shape-utils-2.0.3.tgz","_integrity":"sha512-vImSIIEjvQ7Jj4g/v0rccdvheJ/bqjWd6VJ6M7kNM/1gsC1X2zOMYXc0AhFpQeqdta1CypmgCO/gBh4dTs1ZfQ==","repository":{"url":"git+https://github.com/EdV4H/usketch.git","type":"git","directory":"packages/usketch-shape-utils"},"_npmVersion":"10.9.8","description":"uSketch v2 の shape プラグインを書くときに使う共通ユーティリティ集。 サードパーティが `@acme/usketch-plugin-shape-foo` のような独自 shape プラグインを実装する際、bounds 計算・ヒットテスト・リサイズ・GPU primitive の差し込みをここから取ってくる想定。","directories":{},"_nodeVersion":"22.22.3","dependencies":{"@edv4h/usketch-shared":"4.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"3.2.4","typescript":"5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/usketch-shape-utils_2.0.3_1782106381036_0.1301097017195374","host":"s3://npm-registry-packages-npm-production"}},"2.1.0":{"name":"@edv4h/usketch-shape-utils","version":"2.1.0","license":"MIT","_id":"@edv4h/usketch-shape-utils@2.1.0","maintainers":[{"name":"myuske","email":"circlemountain.ym@gmail.com"}],"homepage":"https://github.com/EdV4H/usketch#readme","bugs":{"url":"https://github.com/EdV4H/usketch/issues"},"dist":{"shasum":"ff2cb0efddc254935d8687f4bb4a004ba891b0c2","tarball":"https://registry.npmjs.org/@edv4h/usketch-shape-utils/-/usketch-shape-utils-2.1.0.tgz","fileCount":23,"integrity":"sha512-mDDdc/Tj8WtY40ccTpqYs0zyXysuu4NDdTWKEYT0XEML0UJkA6jvNpaVNOzLlJVWubi38s/b8VO5pQ51VHYKDA==","signatures":[{"sig":"MEUCIA48qthdQXVLPutcWkcxcDb/5WbPgbtQGpielvqzyM+fAiEAhdvLke5T82DhYyh8s5reZ5pTklRZ3reVWJGQ9X5uua8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27639},"main":"./dist/index.js","type":"module","_from":"file:edv4h-usketch-shape-utils-2.1.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","source":"./src/index.ts"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"myuske","email":"circlemountain.ym@gmail.com"},"_resolved":"/tmp/b685d2399f69c445580433fb500a4c13/edv4h-usketch-shape-utils-2.1.0.tgz","_integrity":"sha512-mDDdc/Tj8WtY40ccTpqYs0zyXysuu4NDdTWKEYT0XEML0UJkA6jvNpaVNOzLlJVWubi38s/b8VO5pQ51VHYKDA==","repository":{"url":"git+https://github.com/EdV4H/usketch.git","type":"git","directory":"packages/usketch-shape-utils"},"_npmVersion":"10.9.8","description":"uSketch v2 の shape プラグインを書くときに使う共通ユーティリティ集。 サードパーティが `@acme/usketch-plugin-shape-foo` のような独自 shape プラグインを実装する際、bounds 計算・ヒットテスト・リサイズ・GPU primitive の差し込みをここから取ってくる想定。","directories":{},"_nodeVersion":"22.23.1","dependencies":{"@edv4h/usketch-shared":"4.2.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"3.2.4","typescript":"5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/usketch-shape-utils_2.1.0_1783594834975_0.7640554763032166","host":"s3://npm-registry-packages-npm-production"}},"2.1.1":{"name":"@edv4h/usketch-shape-utils","version":"2.1.1","license":"MIT","_id":"@edv4h/usketch-shape-utils@2.1.1","maintainers":[{"name":"myuske","email":"circlemountain.ym@gmail.com"}],"homepage":"https://github.com/EdV4H/usketch#readme","bugs":{"url":"https://github.com/EdV4H/usketch/issues"},"dist":{"shasum":"2091eea33055fa59a77d4793be8e530a52122340","tarball":"https://registry.npmjs.org/@edv4h/usketch-shape-utils/-/usketch-shape-utils-2.1.1.tgz","fileCount":23,"integrity":"sha512-NCh8MSkCJa0TuJcJBAf+d9UxwbdfHEUvufunq6DB48/JcnRtLpFNgxPrzHJqOfGL1o1lE4Q77wlAX69Op5n99g==","signatures":[{"sig":"MEYCIQCXbkjBc9nhGi4M2l2N7BMzzWOWjvqbhDg+hx7P2xT32gIhAP77xinNZGnj7MIMVhd3i9540wM7PX4x+Vjz0/3BkTpB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27639},"main":"./dist/index.js","type":"module","_from":"file:edv4h-usketch-shape-utils-2.1.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","source":"./src/index.ts"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"myuske","email":"circlemountain.ym@gmail.com"},"_resolved":"/tmp/a5d778bf7ede195151a334128f76c02f/edv4h-usketch-shape-utils-2.1.1.tgz","_integrity":"sha512-NCh8MSkCJa0TuJcJBAf+d9UxwbdfHEUvufunq6DB48/JcnRtLpFNgxPrzHJqOfGL1o1lE4Q77wlAX69Op5n99g==","repository":{"url":"git+https://github.com/EdV4H/usketch.git","type":"git","directory":"packages/usketch-shape-utils"},"_npmVersion":"10.9.8","description":"uSketch v2 の shape プラグインを書くときに使う共通ユーティリティ集。 サードパーティが `@acme/usketch-plugin-shape-foo` のような独自 shape プラグインを実装する際、bounds 計算・ヒットテスト・リサイズ・GPU primitive の差し込みをここから取ってくる想定。","directories":{},"_nodeVersion":"22.23.1","dependencies":{"@edv4h/usketch-shared":"4.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"3.2.7","typescript":"5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/usketch-shape-utils_2.1.1_1784040297903_0.77388091374666","host":"s3://npm-registry-packages-npm-production"}},"2.1.2":{"name":"@edv4h/usketch-shape-utils","version":"2.1.2","license":"MIT","_id":"@edv4h/usketch-shape-utils@2.1.2","maintainers":[{"name":"myuske","email":"circlemountain.ym@gmail.com"}],"homepage":"https://github.com/EdV4H/usketch#readme","bugs":{"url":"https://github.com/EdV4H/usketch/issues"},"dist":{"shasum":"5fdd7c220978ff5dcfe394b759dddbe4ed5abecc","tarball":"https://registry.npmjs.org/@edv4h/usketch-shape-utils/-/usketch-shape-utils-2.1.2.tgz","fileCount":23,"integrity":"sha512-5n03RYrCpsxXL5aYIObAXigSJBjrgL9TYtlCWV+A8RSqwqL/OeSlgd2IjMCFTuQhXzX6Zmis7Gf/48wIMvV7Mg==","signatures":[{"sig":"MEYCIQCtPzDKhocin81VPxnEFplV8yjOnGUMgV565qnUdKvK7AIhAPn4IddyVaCoa44JF+19CFSXpl29YeJrU7mnL04VfYkQ","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":27639},"main":"./dist/index.js","type":"module","_from":"file:edv4h-usketch-shape-utils-2.1.2.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","source":"./src/index.ts"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"myuske","email":"circlemountain.ym@gmail.com"},"_resolved":"/tmp/30a21c56560e9a6bab149c636b726e63/edv4h-usketch-shape-utils-2.1.2.tgz","_integrity":"sha512-5n03RYrCpsxXL5aYIObAXigSJBjrgL9TYtlCWV+A8RSqwqL/OeSlgd2IjMCFTuQhXzX6Zmis7Gf/48wIMvV7Mg==","repository":{"url":"git+https://github.com/EdV4H/usketch.git","type":"git","directory":"packages/usketch-shape-utils"},"_npmVersion":"10.9.8","description":"uSketch v2 の shape プラグインを書くときに使う共通ユーティリティ集。 サードパーティが `@acme/usketch-plugin-shape-foo` のような独自 shape プラグインを実装する際、bounds 計算・ヒットテスト・リサイズ・GPU primitive の差し込みをここから取ってくる想定。","directories":{},"_nodeVersion":"22.23.1","dependencies":{"@edv4h/usketch-shared":"4.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"3.2.7","typescript":"5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/usketch-shape-utils_2.1.2_1784049901467_0.4115270389215402","host":"s3://npm-registry-packages-npm-production"}},"2.2.0":{"name":"@edv4h/usketch-shape-utils","version":"2.2.0","license":"MIT","_id":"@edv4h/usketch-shape-utils@2.2.0","maintainers":[{"name":"myuske","email":"circlemountain.ym@gmail.com"}],"homepage":"https://github.com/EdV4H/usketch#readme","bugs":{"url":"https://github.com/EdV4H/usketch/issues"},"dist":{"shasum":"95a30410b27384e41a1da060a68b986b80378e7e","tarball":"https://registry.npmjs.org/@edv4h/usketch-shape-utils/-/usketch-shape-utils-2.2.0.tgz","fileCount":31,"integrity":"sha512-pN8fEHkpHRCcRraK0yfytbS+qzR4unn59Vtlr8keCNwgiG7R22EDlQ+HGASnfVSiD7XoO5fHKvMdZstA6dPgrQ==","signatures":[{"sig":"MEQCIACxnZSVnr5cfYc3dxLXxdtQkS+hoYLa8sEP9ujOkF91AiAwJnv+ONncROlIm4dexkkQEg60Ra38rrmd3l/qfDvQmQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60734},"main":"./dist/index.js","type":"module","_from":"file:edv4h-usketch-shape-utils-2.2.0.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","source":"./src/index.ts"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"myuske","email":"circlemountain.ym@gmail.com"},"_resolved":"/tmp/4d843d725dce49c3a269ab9bd05e19f0/edv4h-usketch-shape-utils-2.2.0.tgz","_integrity":"sha512-pN8fEHkpHRCcRraK0yfytbS+qzR4unn59Vtlr8keCNwgiG7R22EDlQ+HGASnfVSiD7XoO5fHKvMdZstA6dPgrQ==","repository":{"url":"git+https://github.com/EdV4H/usketch.git","type":"git","directory":"packages/usketch-shape-utils"},"_npmVersion":"11.16.0","description":"uSketch v2 の shape プラグインを書くときに使う共通ユーティリティ集。 サードパーティが `@acme/usketch-plugin-shape-foo` のような独自 shape プラグインを実装する際、bounds 計算・ヒットテスト・リサイズ・GPU primitive の差し込みをここから取ってくる想定。","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@zag-js/core":"^1.37.0","@zag-js/vanilla":"^1.37.0","@edv4h/usketch-shared":"4.5.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.10","typescript":"7.0.2","@types/react":"19.2.17"},"peerDependencies":{"react":">=19"},"_npmOperationalInternal":{"tmp":"tmp/usketch-shape-utils_2.2.0_1784277598434_0.5907188258712537","host":"s3://npm-registry-packages-npm-production"}},"2.2.1":{"name":"@edv4h/usketch-shape-utils","version":"2.2.1","license":"MIT","_id":"@edv4h/usketch-shape-utils@2.2.1","maintainers":[{"name":"myuske","email":"circlemountain.ym@gmail.com"}],"homepage":"https://github.com/EdV4H/usketch#readme","bugs":{"url":"https://github.com/EdV4H/usketch/issues"},"dist":{"shasum":"a3ac5c29d90910c2cb2170ddb840f81e3c2a5b66","tarball":"https://registry.npmjs.org/@edv4h/usketch-shape-utils/-/usketch-shape-utils-2.2.1.tgz","fileCount":31,"integrity":"sha512-9MHjDJGYydSHK3MRMxGInIiKzq9bLIBryYwDSPlvkDRkmeoq47sHnT/JXVbW6O2akGY22gLnUvjOfzVbwzPTvA==","signatures":[{"sig":"MEYCIQC9u3CY7rUHEjIqMlNPdcKl6PmChANrfDvLBHBzcl0+twIhAPX85229FA1+EbzZctbZhbsPulPCS1SUqjGhSRx4B60M","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60734},"main":"./dist/index.js","type":"module","_from":"file:edv4h-usketch-shape-utils-2.2.1.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","source":"./src/index.ts"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"myuske","email":"circlemountain.ym@gmail.com"},"_resolved":"/tmp/b7803ea919442ada6bdac894f2d4bc3e/edv4h-usketch-shape-utils-2.2.1.tgz","_integrity":"sha512-9MHjDJGYydSHK3MRMxGInIiKzq9bLIBryYwDSPlvkDRkmeoq47sHnT/JXVbW6O2akGY22gLnUvjOfzVbwzPTvA==","repository":{"url":"git+https://github.com/EdV4H/usketch.git","type":"git","directory":"packages/usketch-shape-utils"},"_npmVersion":"11.16.0","description":"uSketch v2 の shape プラグインを書くときに使う共通ユーティリティ集。 サードパーティが `@acme/usketch-plugin-shape-foo` のような独自 shape プラグインを実装する際、bounds 計算・ヒットテスト・リサイズ・GPU primitive の差し込みをここから取ってくる想定。","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@zag-js/core":"^1.37.0","@zag-js/vanilla":"^1.37.0","@edv4h/usketch-shared":"4.6.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.10","typescript":"7.0.2","@types/react":"19.2.17"},"peerDependencies":{"react":">=19"},"_npmOperationalInternal":{"tmp":"tmp/usketch-shape-utils_2.2.1_1785237759917_0.06682430108470472","host":"s3://npm-registry-packages-npm-production"}},"2.2.2":{"name":"@edv4h/usketch-shape-utils","version":"2.2.2","license":"MIT","_id":"@edv4h/usketch-shape-utils@2.2.2","maintainers":[{"name":"myuske","email":"circlemountain.ym@gmail.com"}],"homepage":"https://github.com/EdV4H/usketch#readme","bugs":{"url":"https://github.com/EdV4H/usketch/issues"},"dist":{"shasum":"1490ef26a24a5cb60bf1b274e038a338de208c90","tarball":"https://registry.npmjs.org/@edv4h/usketch-shape-utils/-/usketch-shape-utils-2.2.2.tgz","fileCount":31,"integrity":"sha512-5dpvjzMQ5oNp/1mck8kPXpljO7dvtfIUF7ggH0wwUBdKgZrsUSjIY8QhnHGjbvCLKsa5NqB4WAGGiT1CGEeLSg==","signatures":[{"sig":"MEQCIHNjEJ0fn3NKQBghbFTxJ7GIg+RAwNsfg2pHFZTRC613AiAGdPvqYqTayqS9W36DvXQSbnjXocZqj4R6+GX/lQvzYg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60734},"main":"./dist/index.js","type":"module","_from":"file:edv4h-usketch-shape-utils-2.2.2.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","source":"./src/index.ts"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"myuske","email":"circlemountain.ym@gmail.com"},"_resolved":"/tmp/eb7a662593c6a1be264caadbda4bd8ca/edv4h-usketch-shape-utils-2.2.2.tgz","_integrity":"sha512-5dpvjzMQ5oNp/1mck8kPXpljO7dvtfIUF7ggH0wwUBdKgZrsUSjIY8QhnHGjbvCLKsa5NqB4WAGGiT1CGEeLSg==","repository":{"url":"git+https://github.com/EdV4H/usketch.git","type":"git","directory":"packages/usketch-shape-utils"},"_npmVersion":"11.16.0","description":"uSketch v2 の shape プラグインを書くときに使う共通ユーティリティ集。 サードパーティが `@acme/usketch-plugin-shape-foo` のような独自 shape プラグインを実装する際、bounds 計算・ヒットテスト・リサイズ・GPU primitive の差し込みをここから取ってくる想定。","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@zag-js/core":"^1.37.0","@zag-js/vanilla":"^1.37.0","@edv4h/usketch-shared":"4.7.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.10","typescript":"7.0.2","@types/react":"19.2.17"},"peerDependencies":{"react":">=19"},"_npmOperationalInternal":{"tmp":"tmp/usketch-shape-utils_2.2.2_1785291290417_0.8474254070261433","host":"s3://npm-registry-packages-npm-production"}},"2.2.3":{"name":"@edv4h/usketch-shape-utils","version":"2.2.3","license":"MIT","_id":"@edv4h/usketch-shape-utils@2.2.3","maintainers":[{"name":"myuske","email":"circlemountain.ym@gmail.com"}],"homepage":"https://github.com/EdV4H/usketch#readme","bugs":{"url":"https://github.com/EdV4H/usketch/issues"},"dist":{"shasum":"c0d7737539909b9f0a6e75c6cbbbc323fa5196ff","tarball":"https://registry.npmjs.org/@edv4h/usketch-shape-utils/-/usketch-shape-utils-2.2.3.tgz","fileCount":31,"integrity":"sha512-Fnx3ggYUdn3Ues2/k+Dahx+PQAR45p5DcWaUg2JZa6MmCUd2Tw/3b8Xxc020H3+34w0IPHOcnHIuVQ0AwzFMvA==","signatures":[{"sig":"MEUCICpV5F8vvYI4VrchsveGGngTbCNwLaE0Ash2yWU7FnFpAiEA/yI9dh2Ed6SU1NzrhwOKQVRAZFTSf84NwyVcFA5zY2k=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":60734},"main":"./dist/index.js","type":"module","_from":"file:edv4h-usketch-shape-utils-2.2.3.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","source":"./src/index.ts"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"myuske","email":"circlemountain.ym@gmail.com"},"_resolved":"/tmp/394c615dfbf0458441af7c030dbe90a8/edv4h-usketch-shape-utils-2.2.3.tgz","_integrity":"sha512-Fnx3ggYUdn3Ues2/k+Dahx+PQAR45p5DcWaUg2JZa6MmCUd2Tw/3b8Xxc020H3+34w0IPHOcnHIuVQ0AwzFMvA==","repository":{"url":"git+https://github.com/EdV4H/usketch.git","type":"git","directory":"packages/usketch-shape-utils"},"_npmVersion":"11.16.0","description":"uSketch v2 の shape プラグインを書くときに使う共通ユーティリティ集。 サードパーティが `@acme/usketch-plugin-shape-foo` のような独自 shape プラグインを実装する際、bounds 計算・ヒットテスト・リサイズ・GPU primitive の差し込みをここから取ってくる想定。","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@zag-js/core":"^1.37.0","@zag-js/vanilla":"^1.37.0","@edv4h/usketch-shared":"4.8.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.10","typescript":"7.0.2","@types/react":"19.2.17"},"peerDependencies":{"react":">=19"},"_npmOperationalInternal":{"tmp":"tmp/usketch-shape-utils_2.2.3_1785303551526_0.8180080625753556","host":"s3://npm-registry-packages-npm-production"}},"2.2.4":{"name":"@edv4h/usketch-shape-utils","version":"2.2.4","license":"MIT","_id":"@edv4h/usketch-shape-utils@2.2.4","maintainers":[{"name":"myuske","email":"circlemountain.ym@gmail.com"}],"homepage":"https://github.com/EdV4H/usketch#readme","bugs":{"url":"https://github.com/EdV4H/usketch/issues"},"dist":{"shasum":"f86443da6a4815305ea88aeb98c294c15e6f18fe","tarball":"https://registry.npmjs.org/@edv4h/usketch-shape-utils/-/usketch-shape-utils-2.2.4.tgz","fileCount":31,"integrity":"sha512-H+WQDWZdjVtgxln/soyE58zOh/u6A2fzopYnkERpq23LoWyuff4KofwXIUP+Wv98ASdi8/PQ3dwRTWGX7QJA5A==","signatures":[{"sig":"MEQCICqQBaMKwkcJhmXcgSCWo9CeBUg4lrI6kOwszj3xpSkgAiBsEyLsz6EZILePr8hzLt+XK/34rlf1wl9fc2zYV0R/bQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61643},"main":"./dist/index.js","type":"module","_from":"file:edv4h-usketch-shape-utils-2.2.4.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","source":"./src/index.ts"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"myuske","email":"circlemountain.ym@gmail.com"},"_resolved":"/tmp/3348912fa93022f7c4330f0827c5e704/edv4h-usketch-shape-utils-2.2.4.tgz","_integrity":"sha512-H+WQDWZdjVtgxln/soyE58zOh/u6A2fzopYnkERpq23LoWyuff4KofwXIUP+Wv98ASdi8/PQ3dwRTWGX7QJA5A==","repository":{"url":"git+https://github.com/EdV4H/usketch.git","type":"git","directory":"packages/usketch-shape-utils"},"_npmVersion":"11.16.0","description":"uSketch v2 の shape プラグインを書くときに使う共通ユーティリティ集。 サードパーティが `@acme/usketch-plugin-shape-foo` のような独自 shape プラグインを実装する際、bounds 計算・ヒットテスト・リサイズ・GPU primitive の差し込みをここから取ってくる想定。","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@zag-js/core":"^1.37.0","@zag-js/vanilla":"^1.37.0","@edv4h/usketch-shared":"4.8.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.10","typescript":"7.0.2","@types/react":"19.2.17"},"peerDependencies":{"react":">=19"},"_npmOperationalInternal":{"tmp":"tmp/usketch-shape-utils_2.2.4_1785398503328_0.5853429021335197","host":"s3://npm-registry-packages-npm-production"}},"2.2.5":{"name":"@edv4h/usketch-shape-utils","version":"2.2.5","license":"MIT","_id":"@edv4h/usketch-shape-utils@2.2.5","maintainers":[{"name":"myuske","email":"circlemountain.ym@gmail.com"}],"homepage":"https://github.com/EdV4H/usketch#readme","bugs":{"url":"https://github.com/EdV4H/usketch/issues"},"dist":{"shasum":"5243aafad4c6e6ad27fceea8ee136f1e168b764c","tarball":"https://registry.npmjs.org/@edv4h/usketch-shape-utils/-/usketch-shape-utils-2.2.5.tgz","fileCount":31,"integrity":"sha512-31PFkC+grG3DtoxXv1klqoWJlVuCVYxzhTHUwKd+A8775n8m3yYHxPOFC5vPP5tCsNgHMhkv0YffrbGv9fp+6g==","signatures":[{"sig":"MEQCIBwN3zpnBH6rtb0Dlmrinde3W5LTwwqgYHsWr3jc9iMGAiA7cyT99RcaS/LC/XOl4ttvkCu7hpsc+vbaYaFaQP7PvQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61643},"main":"./dist/index.js","type":"module","_from":"file:edv4h-usketch-shape-utils-2.2.5.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","source":"./src/index.ts"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"myuske","email":"circlemountain.ym@gmail.com"},"_resolved":"/tmp/a4172243b683eceee3d3183386b8f3b4/edv4h-usketch-shape-utils-2.2.5.tgz","_integrity":"sha512-31PFkC+grG3DtoxXv1klqoWJlVuCVYxzhTHUwKd+A8775n8m3yYHxPOFC5vPP5tCsNgHMhkv0YffrbGv9fp+6g==","repository":{"url":"git+https://github.com/EdV4H/usketch.git","type":"git","directory":"packages/usketch-shape-utils"},"_npmVersion":"11.16.0","description":"uSketch v2 の shape プラグインを書くときに使う共通ユーティリティ集。 サードパーティが `@acme/usketch-plugin-shape-foo` のような独自 shape プラグインを実装する際、bounds 計算・ヒットテスト・リサイズ・GPU primitive の差し込みをここから取ってくる想定。","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@zag-js/core":"^1.37.0","@zag-js/vanilla":"^1.37.0","@edv4h/usketch-shared":"4.9.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.10","typescript":"7.0.2","@types/react":"19.2.18"},"peerDependencies":{"react":">=19"},"_npmOperationalInternal":{"tmp":"tmp/usketch-shape-utils_2.2.5_1785915764132_0.7132596331266037","host":"s3://npm-registry-packages-npm-production"}},"2.2.6":{"name":"@edv4h/usketch-shape-utils","version":"2.2.6","license":"MIT","_id":"@edv4h/usketch-shape-utils@2.2.6","maintainers":[{"name":"myuske","email":"circlemountain.ym@gmail.com"}],"homepage":"https://github.com/EdV4H/usketch#readme","bugs":{"url":"https://github.com/EdV4H/usketch/issues"},"dist":{"shasum":"a5ba3727407eb28ba3c5960dac4aed7ebf1ce19a","tarball":"https://registry.npmjs.org/@edv4h/usketch-shape-utils/-/usketch-shape-utils-2.2.6.tgz","fileCount":31,"integrity":"sha512-4dh/uXfT1haEwKZoGr8J7AdefFalLZkxukmZ7ldrtQ1Lm3DqoJSlMI91ZnyZd9hjRhYDXLbZl6Fb//jCzPfGNQ==","signatures":[{"sig":"MEQCIGCGtA1aaV1TBkSI974hgvsgDz2KNBdZQmvZQdKN8rT0AiA1xTC/i/46wTOujCAPr1ABRcbR7QeO0bcgvjoulT6HaQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61644},"main":"./dist/index.js","type":"module","_from":"file:edv4h-usketch-shape-utils-2.2.6.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","source":"./src/index.ts"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"myuske","email":"circlemountain.ym@gmail.com"},"_resolved":"/tmp/5d63cdd5cb8cc097e4c916bcbfa89aed/edv4h-usketch-shape-utils-2.2.6.tgz","_integrity":"sha512-4dh/uXfT1haEwKZoGr8J7AdefFalLZkxukmZ7ldrtQ1Lm3DqoJSlMI91ZnyZd9hjRhYDXLbZl6Fb//jCzPfGNQ==","repository":{"url":"git+https://github.com/EdV4H/usketch.git","type":"git","directory":"packages/usketch-shape-utils"},"_npmVersion":"11.16.0","description":"uSketch v2 の shape プラグインを書くときに使う共通ユーティリティ集。 サードパーティが `@acme/usketch-plugin-shape-foo` のような独自 shape プラグインを実装する際、bounds 計算・ヒットテスト・リサイズ・GPU primitive の差し込みをここから取ってくる想定。","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@zag-js/core":"^1.37.0","@zag-js/vanilla":"^1.37.0","@edv4h/usketch-shared":"4.10.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.10","typescript":"7.0.2","@types/react":"19.2.18"},"peerDependencies":{"react":">=19"},"_npmOperationalInternal":{"tmp":"tmp/usketch-shape-utils_2.2.6_1785982554347_0.11901949290338032","host":"s3://npm-registry-packages-npm-production"}},"2.2.7":{"name":"@edv4h/usketch-shape-utils","version":"2.2.7","license":"MIT","_id":"@edv4h/usketch-shape-utils@2.2.7","maintainers":[{"name":"myuske","email":"circlemountain.ym@gmail.com"}],"homepage":"https://github.com/EdV4H/usketch#readme","bugs":{"url":"https://github.com/EdV4H/usketch/issues"},"dist":{"shasum":"85b4418648e24ae294edc40a5f39df2132319080","tarball":"https://registry.npmjs.org/@edv4h/usketch-shape-utils/-/usketch-shape-utils-2.2.7.tgz","fileCount":31,"integrity":"sha512-iBM46tJVSus9Ok7EgKoBwF1KTn7mVmn0fBHeVyuht7sex59UOsinBI+LtCqf3KAOnXcIgW92Wjqr5rILFFkgeg==","signatures":[{"sig":"MEUCIQC7Q/Go7zx8Z5vdJQXgC/JhW7zYk5aKfM/i194S33jpDAIgcik4B2/7Qx7uXlkoM+NB899dppgvwwsWQTzYitNCHJE=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61644},"main":"./dist/index.js","type":"module","_from":"file:edv4h-usketch-shape-utils-2.2.7.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","source":"./src/index.ts"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"myuske","email":"circlemountain.ym@gmail.com"},"_resolved":"/tmp/f506a5f36348de96d982139ad0f5618c/edv4h-usketch-shape-utils-2.2.7.tgz","_integrity":"sha512-iBM46tJVSus9Ok7EgKoBwF1KTn7mVmn0fBHeVyuht7sex59UOsinBI+LtCqf3KAOnXcIgW92Wjqr5rILFFkgeg==","repository":{"url":"git+https://github.com/EdV4H/usketch.git","type":"git","directory":"packages/usketch-shape-utils"},"_npmVersion":"11.16.0","description":"uSketch v2 の shape プラグインを書くときに使う共通ユーティリティ集。 サードパーティが `@acme/usketch-plugin-shape-foo` のような独自 shape プラグインを実装する際、bounds 計算・ヒットテスト・リサイズ・GPU primitive の差し込みをここから取ってくる想定。","directories":{},"_nodeVersion":"24.18.0","dependencies":{"@zag-js/core":"^1.37.0","@zag-js/vanilla":"^1.37.0","@edv4h/usketch-shared":"4.11.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.10","typescript":"7.0.2","@types/react":"19.2.18"},"peerDependencies":{"react":">=19"},"_npmOperationalInternal":{"tmp":"tmp/usketch-shape-utils_2.2.7_1786535614602_0.6174587133278391","host":"s3://npm-registry-packages-npm-production"}},"2.2.8":{"name":"@edv4h/usketch-shape-utils","version":"2.2.8","license":"MIT","_id":"@edv4h/usketch-shape-utils@2.2.8","maintainers":[{"name":"myuske","email":"circlemountain.ym@gmail.com"}],"homepage":"https://github.com/EdV4H/usketch#readme","bugs":{"url":"https://github.com/EdV4H/usketch/issues"},"dist":{"shasum":"2c8eab667e6aecc22c76153546cc4970e101dea4","tarball":"https://registry.npmjs.org/@edv4h/usketch-shape-utils/-/usketch-shape-utils-2.2.8.tgz","fileCount":31,"integrity":"sha512-aJC8q3XdLuqOPzTiaZ9rvW33UER7byDCoJ62sTCifYD4n0p2aPdcvv9hsltL/yoDi3vhGlgobKbg1GW0XWjiRw==","signatures":[{"sig":"MEQCIFNwG+pjDh9CvgWcbRSV1zQvmSAPLKNfPKSwMn+av7zTAiAgQhuDkgbYq7XUSpyjTWnlzSILs59IFtEbHQZRU9Yv1g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":61644},"main":"./dist/index.js","type":"module","_from":"file:edv4h-usketch-shape-utils-2.2.8.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","source":"./src/index.ts"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"myuske","email":"circlemountain.ym@gmail.com"},"_resolved":"/tmp/6b2ec9993154d75171e3236ee147bc28/edv4h-usketch-shape-utils-2.2.8.tgz","_integrity":"sha512-aJC8q3XdLuqOPzTiaZ9rvW33UER7byDCoJ62sTCifYD4n0p2aPdcvv9hsltL/yoDi3vhGlgobKbg1GW0XWjiRw==","repository":{"url":"git+https://github.com/EdV4H/usketch.git","type":"git","directory":"packages/usketch-shape-utils"},"_npmVersion":"11.17.0","description":"uSketch v2 の shape プラグインを書くときに使う共通ユーティリティ集。 サードパーティが `@acme/usketch-plugin-shape-foo` のような独自 shape プラグインを実装する際、bounds 計算・ヒットテスト・リサイズ・GPU primitive の差し込みをここから取ってくる想定。","directories":{},"_nodeVersion":"24.19.0","dependencies":{"@zag-js/core":"^1.37.0","@zag-js/vanilla":"^1.37.0","@edv4h/usketch-shared":"4.12.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.11","typescript":"7.0.2","@types/react":"19.2.18"},"peerDependencies":{"react":">=19"},"_npmOperationalInternal":{"tmp":"tmp/usketch-shape-utils_2.2.8_1787292642044_0.45984230928943504","host":"s3://npm-registry-packages-npm-production"}},"2.2.9":{"name":"@edv4h/usketch-shape-utils","version":"2.2.9","license":"MIT","_id":"@edv4h/usketch-shape-utils@2.2.9","maintainers":[{"name":"myuske","email":"circlemountain.ym@gmail.com"}],"homepage":"https://github.com/EdV4H/usketch#readme","bugs":{"url":"https://github.com/EdV4H/usketch/issues"},"dist":{"shasum":"c0eb19d656e85bd40ab6b52411713fd19e9b4817","tarball":"https://registry.npmjs.org/@edv4h/usketch-shape-utils/-/usketch-shape-utils-2.2.9.tgz","fileCount":31,"integrity":"sha512-CZo1z/VAOJYTQP/pjAwov4Gj6sRjbz+QbGmC0ATu7qVQCVxfXyHiCPlrDYXq7VL20vT+hhgmjwLRy/cjlfq9lg==","signatures":[{"sig":"MEUCIQCy1yiXX0fgUiQ3pbmm4qr4akjSCHgz3wYHTOhXuauqJwIgPcySlxj9TXe9QtYz+n4hrrIqxWpJY+BYuCWsUY5W94A=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@edv4h%2fusketch-shape-utils@2.2.9","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":61644},"main":"./dist/index.js","type":"module","_from":"file:edv4h-usketch-shape-utils-2.2.9.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","source":"./src/index.ts"}},"scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:33514a5b-6f3a-42c1-a1b9-e77d407c7517"}},"_resolved":"/tmp/b0b9c7cf8abbc5f8a21a62c0bdfb5619/edv4h-usketch-shape-utils-2.2.9.tgz","_integrity":"sha512-CZo1z/VAOJYTQP/pjAwov4Gj6sRjbz+QbGmC0ATu7qVQCVxfXyHiCPlrDYXq7VL20vT+hhgmjwLRy/cjlfq9lg==","repository":{"url":"git+https://github.com/EdV4H/usketch.git","type":"git","directory":"packages/usketch-shape-utils"},"_npmVersion":"12.0.2","description":"uSketch v2 の shape プラグインを書くときに使う共通ユーティリティ集。 サードパーティが `@acme/usketch-plugin-shape-foo` のような独自 shape プラグインを実装する際、bounds 計算・ヒットテスト・リサイズ・GPU primitive の差し込みをここから取ってくる想定。","directories":{},"_nodeVersion":"24.20.0","dependencies":{"@zag-js/core":"^1.37.0","@zag-js/vanilla":"^1.37.0","@edv4h/usketch-shared":"4.13.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.11","typescript":"7.0.2","@types/react":"19.2.18"},"peerDependencies":{"react":">=19"},"_npmOperationalInternal":{"tmp":"tmp/usketch-shape-utils_2.2.9_1788762583026_0.7923561951508367","host":"s3://npm-registry-packages-npm-production"}},"2.2.10":{"_id":"@edv4h/usketch-shape-utils@2.2.10","bugs":{"url":"https://github.com/EdV4H/usketch/issues"},"dist":{"shasum":"29aa668e16b8573eabd83d320be851c8cb0989d5","tarball":"https://registry.npmjs.org/@edv4h/usketch-shape-utils/-/usketch-shape-utils-2.2.10.tgz","fileCount":31,"integrity":"sha512-l3Gb/htlBUjBOlhyHM0QcLngkAC+hdKBQvFwu05vy9zr2EBr5aRNveBQUtTdbOOK59dOV2b49RJgX239dYuFqQ==","signatures":[{"sig":"MEYCIQCOIjPCeXS9F0JvXEymX/aJHjNLp1LDaERxLzBcLsSYAAIhAOUF7LKSs0ou1umPbhGjtGOHkToVY3S4dYsiN+s+/DiS","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCYDHHnNBk2UIJL0cdE6jD8KhdRD2gxrM6Bk7L0wsq6rQIgJwm+TsxHroyg0zf5MppZEewAfwpxxyYvQe6H3HJ/EHc="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@edv4h%2fusketch-shape-utils@2.2.10","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":61645},"main":"./dist/index.js","name":"@edv4h/usketch-shape-utils","type":"module","_from":"file:edv4h-usketch-shape-utils-2.2.10.tgz","types":"./dist/index.d.ts","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","source":"./src/index.ts"}},"license":"MIT","scripts":{"test":"vitest run --passWithNoTests","build":"tsc -p tsconfig.json","clean":"rm -rf dist","typecheck":"tsc --noEmit"},"version":"2.2.10","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:33514a5b-6f3a-42c1-a1b9-e77d407c7517"}},"homepage":"https://github.com/EdV4H/usketch#readme","_resolved":"/tmp/029d8f1ef0097616791c82658b682ac1/edv4h-usketch-shape-utils-2.2.10.tgz","_integrity":"sha512-l3Gb/htlBUjBOlhyHM0QcLngkAC+hdKBQvFwu05vy9zr2EBr5aRNveBQUtTdbOOK59dOV2b49RJgX239dYuFqQ==","repository":{"url":"git+https://github.com/EdV4H/usketch.git","type":"git","directory":"packages/usketch-shape-utils"},"_npmVersion":"12.1.0","description":"uSketch v2 の shape プラグインを書くときに使う共通ユーティリティ集。 サードパーティが `@acme/usketch-plugin-shape-foo` のような独自 shape プラグインを実装する際、bounds 計算・ヒットテスト・リサイズ・GPU primitive の差し込みをここから取ってくる想定。","directories":{},"maintainers":[{"name":"myuske","email":"circlemountain.ym@gmail.com"}],"_nodeVersion":"24.20.0","dependencies":{"@zag-js/core":"^1.37.0","@zag-js/vanilla":"^1.37.0","@edv4h/usketch-shared":"4.14.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"vitest":"4.1.11","typescript":"7.0.2","@types/react":"19.2.18"},"peerDependencies":{"react":">=19"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/usketch-shape-utils_2.2.10_1790237988919_0.46783903173437436"}}},"time":{"created":"2026-04-22T14:23:09.859Z","modified":"2026-09-24T08:19:49.449Z","1.0.0":"2026-04-22T14:23:10.065Z","2.0.0":"2026-05-25T13:13:43.658Z","2.0.1":"2026-05-26T08:57:34.316Z","2.0.2":"2026-06-18T09:59:31.596Z","2.0.3":"2026-06-22T05:33:01.167Z","2.1.0":"2026-07-09T11:00:35.117Z","2.1.1":"2026-07-14T14:44:58.057Z","2.1.2":"2026-07-14T17:25:01.607Z","2.2.0":"2026-07-17T08:39:58.589Z","2.2.1":"2026-07-28T11:22:40.054Z","2.2.2":"2026-07-29T02:14:51.086Z","2.2.3":"2026-07-29T05:39:11.651Z","2.2.4":"2026-07-30T08:01:43.500Z","2.2.5":"2026-08-05T07:42:44.261Z","2.2.6":"2026-08-06T02:15:54.493Z","2.2.7":"2026-08-12T11:53:34.755Z","2.2.8":"2026-08-21T06:10:42.187Z","2.2.9":"2026-09-07T06:29:43.168Z","2.2.10":"2026-09-24T08:19:49.003Z"},"bugs":{"url":"https://github.com/EdV4H/usketch/issues"},"license":"MIT","homepage":"https://github.com/EdV4H/usketch#readme","repository":{"url":"git+https://github.com/EdV4H/usketch.git","type":"git","directory":"packages/usketch-shape-utils"},"description":"uSketch v2 の shape プラグインを書くときに使う共通ユーティリティ集。 サードパーティが `@acme/usketch-plugin-shape-foo` のような独自 shape プラグインを実装する際、bounds 計算・ヒットテスト・リサイズ・GPU primitive の差し込みをここから取ってくる想定。","maintainers":[{"name":"myuske","email":"circlemountain.ym@gmail.com"}],"readme":"# @edv4h/usketch-shape-utils\n\nuSketch v2 の shape プラグインを書くときに使う共通ユーティリティ集。\nサードパーティが `@acme/usketch-plugin-shape-foo` のような独自 shape プラグインを実装する際、bounds 計算・ヒットテスト・リサイズ・GPU primitive の差し込みをここから取ってくる想定。\n\nReact に依存しない純粋な関数群なので、サーバサイドでの shape データ処理にも使える。\n\n## Install\n\n```bash\npnpm add @edv4h/usketch-shape-utils @edv4h/usketch-shared\n```\n\n## 公開 API\n\n### `getBounds(data: ShapeData): BoundingBox`\n\nshape の AABB を返す。ほとんどの shape はこれをそのまま `ShapeDefinition.getBounds` に指定すれば OK。\n\n### Hit test\n\n| 関数 | 用途 |\n|------|------|\n| `aabbHitTest(data, point)` | 矩形 AABB との当たり判定 |\n| `ellipseHitTest(data, point)` | 楕円との当たり判定 |\n| `lineHitTest(data, point, tolerance?)` | 線分との距離判定（デフォルト tolerance: 4px） |\n| `pointInPolygon(point, polygon)` | 任意多角形との当たり判定（三角形・六角形・星形など） |\n\n回転に対応したい場合は、`@edv4h/usketch-shared` の `withRotation(hitTest)` でラップする。\n\n### `createResize(minW, minH): ResizeFn`\n\n8 方向（`se` / `nw` / `ne` / `sw` / `e` / `w` / `n` / `s`）のリサイズハンドルに対応した resize 関数を生成する。最小幅・最小高を渡す。\n\n### GPU primitive\n\nWebGPU レンダラが有効な場合に使われる低レベル primitive を返すヘルパ。\n\n| 関数 | 返す kind |\n|------|----------|\n| `rectGpuPrimitive(data)` | `rect` |\n| `roundedRectGpuPrimitive(data)` | `rect`（cornerRadius 自動計算） |\n| `ellipseGpuPrimitive(data)` | `ellipse` |\n| `lineGpuPrimitive(data)` | `polyline` |\n\n## 使用例\n\n```tsx\nimport { DEFAULT_STYLE, type ShapeData, withRotation } from \"@edv4h/usketch-shared\";\nimport { createResize, getBounds, pointInPolygon } from \"@edv4h/usketch-shape-utils\";\n\nfunction getHexagonPoints(data: ShapeData) {\n  const cx = data.x + data.width / 2;\n  const cy = data.y + data.height / 2;\n  return Array.from({ length: 6 }, (_, i) => {\n    const angle = (Math.PI / 3) * i - Math.PI / 2;\n    return {\n      x: cx + (data.width / 2) * Math.cos(angle),\n      y: cy + (data.height / 2) * Math.sin(angle),\n    };\n  });\n}\n\nexport const hexagonDefinition = {\n  render: (data: ShapeData) => (\n    <polygon\n      points={getHexagonPoints(data).map((p) => `${p.x},${p.y}`).join(\" \")}\n      fill={data.style.fill}\n    />\n  ),\n  getBounds,\n  hitTest: withRotation((data, point) => pointInPolygon(point, getHexagonPoints(data))),\n  resize: createResize(10, 10),\n  createDefault: ({ id, x, y }) => ({\n    id,\n    type: \"hexagon\",\n    x,\n    y,\n    width: 120,\n    height: 104,\n    style: { ...DEFAULT_STYLE },\n  }),\n};\n```\n\nプラグインとしての組み込み方は [`apps/docs` の Plugin authoring ガイド](https://github.com/EdV4H/usketch/blob/main/apps/docs/src/content/docs/plugins/authoring.md) を参照。\n\n## License\n\nMIT\n","readmeFilename":"README.md"}