{"_id":"@caroainc/canvas","_rev":"8-c11926be530663e1199e0850fed95a16","name":"@caroainc/canvas","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.2":{"name":"@caroainc/canvas","version":"0.1.2","license":"UNLICENSED","_id":"@caroainc/canvas@0.1.2","maintainers":[{"name":"haguri","email":"haguri@caroa.jp"}],"dist":{"shasum":"01fa23c0a8aa42065ba1889c81e17d0df0c75715","tarball":"https://registry.npmjs.org/@caroainc/canvas/-/canvas-0.1.2.tgz","fileCount":24,"integrity":"sha512-fHA8bvqI/QyjvMlNXTxndgbadwxbDOitwh6k7htJzTBziHWvZ4WfJtKSde7k6WdJKiwR57cAy3bp1gDDgDdd3Q==","signatures":[{"sig":"MEYCIQD5rEqe95M8WK2fluijE5ugYmIj5puQdEwkCL6Uz3MJJAIhAKw1YgO9nI56r7pv2lvIvPsOLxmEQlrFpwcalc2AXHl+","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1440211},"type":"module","_from":"file:caroainc-canvas-0.1.2.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js"},"./core":{"types":"./dist/core.d.ts","import":"./dist/core.esm.js"},"./utils":{"types":"./dist/utils.d.ts","import":"./dist/utils.esm.js"},"./schema":{"types":"./dist/schema.d.ts","import":"./dist/schema.esm.js"},"./styles":"./dist/sticky-tokens.css","./toolbar":{"types":"./dist/toolbar.d.ts","import":"./dist/toolbar.esm.js"},"./elements":{"types":"./dist/elements.d.ts","import":"./dist/elements.esm.js"},"./constants":{"types":"./dist/constants.d.ts","import":"./dist/constants.esm.js"}},"scripts":{"dev":"rollup -c --watch","build":"rollup -c","typecheck":"tsc --noEmit"},"_npmUser":{"name":"haguri","email":"haguri@caroa.jp"},"_resolved":"/tmp/4394f337fbbf39784f7daf8a94df26cc/caroainc-canvas-0.1.2.tgz","_integrity":"sha512-fHA8bvqI/QyjvMlNXTxndgbadwxbDOitwh6k7htJzTBziHWvZ4WfJtKSde7k6WdJKiwR57cAy3bp1gDDgDdd3Q==","_npmVersion":"10.8.2","description":"FigJam-like canvas UI components for caroainc products","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@use-gesture/react":"^10"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4","typescript":"^5","@types/react":"^19","@types/react-dom":"^19","rollup-plugin-dts":"^6","rollup-plugin-copy":"^3","@rollup/plugin-typescript":"^11","@rollup/plugin-node-resolve":"^15"},"peerDependencies":{"zod":"^4","react":"^19","zustand":"^5","react-dom":"^19","tailwindcss":"^4","@caroainc/ui-components":">=0.20.0"},"_npmOperationalInternal":{"tmp":"tmp/canvas_0.1.2_1777268489770_0.7792111082159463","host":"s3://npm-registry-packages-npm-production"}},"0.1.3":{"name":"@caroainc/canvas","version":"0.1.3","license":"UNLICENSED","_id":"@caroainc/canvas@0.1.3","maintainers":[{"name":"haguri","email":"haguri@caroa.jp"}],"dist":{"shasum":"a7b3100554f6d1adbb3578778cb6b8a9c4286d2c","tarball":"https://registry.npmjs.org/@caroainc/canvas/-/canvas-0.1.3.tgz","fileCount":25,"integrity":"sha512-s+4fZfVmXFc+N8As4KfKWdZ7tgEhCpK13W/XBRNsR5WDxdkdFknF7SiOT/zvyT7KADkjw7OI7ssRV+02dnXLUA==","signatures":[{"sig":"MEUCIQCl8QtE16fwnMJ7chzLv0PLGzT/zwqXlO1whSjuu2uOawIgbhxOvlI1HgWyuIK26cOL5xXNAEN+rsxEqydnYV+HA7c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1462706},"type":"module","_from":"file:caroainc-canvas-0.1.3.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js"},"./core":{"types":"./dist/core.d.ts","import":"./dist/core.esm.js"},"./utils":{"types":"./dist/utils.d.ts","import":"./dist/utils.esm.js"},"./schema":{"types":"./dist/schema.d.ts","import":"./dist/schema.esm.js"},"./styles":"./dist/sticky-tokens.css","./toolbar":{"types":"./dist/toolbar.d.ts","import":"./dist/toolbar.esm.js"},"./elements":{"types":"./dist/elements.d.ts","import":"./dist/elements.esm.js"},"./constants":{"types":"./dist/constants.d.ts","import":"./dist/constants.esm.js"}},"scripts":{"dev":"rollup -c --watch","build":"rollup -c","typecheck":"tsc --noEmit"},"_npmUser":{"name":"haguri","email":"haguri@caroa.jp"},"_resolved":"/tmp/2e4de124a8ec595b0c5b3525e8585237/caroainc-canvas-0.1.3.tgz","_integrity":"sha512-s+4fZfVmXFc+N8As4KfKWdZ7tgEhCpK13W/XBRNsR5WDxdkdFknF7SiOT/zvyT7KADkjw7OI7ssRV+02dnXLUA==","_npmVersion":"10.8.2","description":"FigJam-like canvas UI components for caroainc products","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@use-gesture/react":"^10"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4","typescript":"^5","@types/react":"^19","@types/react-dom":"^19","rollup-plugin-dts":"^6","rollup-plugin-copy":"^3","@rollup/plugin-typescript":"^11","@rollup/plugin-node-resolve":"^15"},"peerDependencies":{"zod":"^4","react":"^19","zustand":"^5","react-dom":"^19","tailwindcss":"^4","@caroainc/ui-components":">=0.20.0"},"_npmOperationalInternal":{"tmp":"tmp/canvas_0.1.3_1777274549306_0.19749236593013997","host":"s3://npm-registry-packages-npm-production"}},"0.1.4":{"name":"@caroainc/canvas","version":"0.1.4","license":"UNLICENSED","_id":"@caroainc/canvas@0.1.4","maintainers":[{"name":"haguri","email":"haguri@caroa.jp"}],"dist":{"shasum":"9eb1950bb1f4c6f3901586e9afcf7c5cc2bc354a","tarball":"https://registry.npmjs.org/@caroainc/canvas/-/canvas-0.1.4.tgz","fileCount":25,"integrity":"sha512-UiAZEGZ5+jijpE+jB/S8JM8Ik0q21A+gD1D6tUO/TxMdHJOMrZSUSnSOAE4fKmJMJfzogcvvHKHoT8/iGVaK4Q==","signatures":[{"sig":"MEQCIEoCyenRrNyRhncg0xqvqDRwTZeserVdCiYa5gE7bp1dAiBepC91iR5zZfHRe/CqA8ganPIuvcJ8xLcA//M2XdOqjg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":572309},"type":"module","_from":"file:caroainc-canvas-0.1.4.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js"},"./core":{"types":"./dist/core.d.ts","import":"./dist/core.esm.js"},"./utils":{"types":"./dist/utils.d.ts","import":"./dist/utils.esm.js"},"./schema":{"types":"./dist/schema.d.ts","import":"./dist/schema.esm.js"},"./styles":"./dist/sticky-tokens.css","./toolbar":{"types":"./dist/toolbar.d.ts","import":"./dist/toolbar.esm.js"},"./elements":{"types":"./dist/elements.d.ts","import":"./dist/elements.esm.js"},"./constants":{"types":"./dist/constants.d.ts","import":"./dist/constants.esm.js"}},"scripts":{"dev":"rollup -c --watch","build":"rollup -c","typecheck":"tsc --noEmit"},"_npmUser":{"name":"haguri","email":"haguri@caroa.jp"},"_resolved":"/tmp/8d68b718415480f59c1ecf07b34fdd65/caroainc-canvas-0.1.4.tgz","_integrity":"sha512-UiAZEGZ5+jijpE+jB/S8JM8Ik0q21A+gD1D6tUO/TxMdHJOMrZSUSnSOAE4fKmJMJfzogcvvHKHoT8/iGVaK4Q==","_npmVersion":"10.8.2","description":"FigJam-like canvas UI components for caroainc products","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@use-gesture/react":"^10"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4","typescript":"^5","@types/react":"^19","@types/react-dom":"^19","rollup-plugin-dts":"^6","rollup-plugin-copy":"^3","@rollup/plugin-typescript":"^11","@rollup/plugin-node-resolve":"^15"},"peerDependencies":{"zod":"^4","react":"^19","zustand":"^5","react-dom":"^19","tailwindcss":"^4","@caroainc/ui-components":">=0.20.0"},"_npmOperationalInternal":{"tmp":"tmp/canvas_0.1.4_1777276280036_0.7630408391742434","host":"s3://npm-registry-packages-npm-production"}},"0.1.5":{"name":"@caroainc/canvas","version":"0.1.5","license":"UNLICENSED","_id":"@caroainc/canvas@0.1.5","maintainers":[{"name":"haguri","email":"haguri@caroa.jp"}],"dist":{"shasum":"68c27e1e72d615d74aaa90bae21f58d1bca36c6e","tarball":"https://registry.npmjs.org/@caroainc/canvas/-/canvas-0.1.5.tgz","fileCount":25,"integrity":"sha512-lVW0VB1jdgVpMCvubkhB8Hdxn9XxOroGJP5ggkSz5DUZ/JwWtw7TfgEIiF4vJvoqhBLltnt2/EshCLCzrf1nFw==","signatures":[{"sig":"MEUCIQDNzM/qi5SQolkhiVOJ9XZOQ9Wwiuwah4s9+DYzRQD1ugIgSwJcnQaLYTZwEhiCEk0L2YO/RF2c4D9wgk+3FWqZA0c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":572347},"type":"module","_from":"file:caroainc-canvas-0.1.5.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js"},"./core":{"types":"./dist/core.d.ts","import":"./dist/core.esm.js"},"./utils":{"types":"./dist/utils.d.ts","import":"./dist/utils.esm.js"},"./schema":{"types":"./dist/schema.d.ts","import":"./dist/schema.esm.js"},"./styles":"./dist/sticky-tokens.css","./toolbar":{"types":"./dist/toolbar.d.ts","import":"./dist/toolbar.esm.js"},"./elements":{"types":"./dist/elements.d.ts","import":"./dist/elements.esm.js"},"./constants":{"types":"./dist/constants.d.ts","import":"./dist/constants.esm.js"}},"scripts":{"dev":"rollup -c --watch","build":"rollup -c","typecheck":"tsc --noEmit"},"_npmUser":{"name":"haguri","email":"haguri@caroa.jp"},"_resolved":"/tmp/6cd14b998e4ace8db9f5436d536a204d/caroainc-canvas-0.1.5.tgz","_integrity":"sha512-lVW0VB1jdgVpMCvubkhB8Hdxn9XxOroGJP5ggkSz5DUZ/JwWtw7TfgEIiF4vJvoqhBLltnt2/EshCLCzrf1nFw==","_npmVersion":"10.8.2","description":"FigJam-like canvas UI components for caroainc products","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@use-gesture/react":"^10"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4","typescript":"^5","@types/react":"^19","@types/react-dom":"^19","rollup-plugin-dts":"^6","rollup-plugin-copy":"^3","@rollup/plugin-typescript":"^11","@rollup/plugin-node-resolve":"^15"},"peerDependencies":{"zod":"^4","react":"^19","zustand":"^5","react-dom":"^19","tailwindcss":"^4","@caroainc/ui-components":">=0.20.0"},"_npmOperationalInternal":{"tmp":"tmp/canvas_0.1.5_1777276792199_0.1999050962415272","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@caroainc/canvas","version":"0.2.0","license":"UNLICENSED","_id":"@caroainc/canvas@0.2.0","maintainers":[{"name":"haguri","email":"haguri@caroa.jp"}],"dist":{"shasum":"b72250f2c90efedef80cf87feca4b5db9a1c059e","tarball":"https://registry.npmjs.org/@caroainc/canvas/-/canvas-0.2.0.tgz","fileCount":25,"integrity":"sha512-yp6jWgBxVL5Kcdz3tbQawuQ5xE/tfQ9538ynImaR2HaZkdqZjFzXuajw7//fBX1GzXy7ekDYNQeE1y+dc0N1UQ==","signatures":[{"sig":"MEUCIGT2D2gTt/qfclQbnYAJp/UIkY8WfJvVJXkYKvDgQGJeAiEAs3k5efG4t45CvA1PoeyfviRSsQiUzQ1g4dkiRDV4Jjo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":796351},"type":"module","_from":"file:caroainc-canvas-0.2.0.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js"},"./core":{"types":"./dist/core.d.ts","import":"./dist/core.esm.js"},"./utils":{"types":"./dist/utils.d.ts","import":"./dist/utils.esm.js"},"./schema":{"types":"./dist/schema.d.ts","import":"./dist/schema.esm.js"},"./styles":"./dist/sticky-tokens.css","./toolbar":{"types":"./dist/toolbar.d.ts","import":"./dist/toolbar.esm.js"},"./elements":{"types":"./dist/elements.d.ts","import":"./dist/elements.esm.js"},"./constants":{"types":"./dist/constants.d.ts","import":"./dist/constants.esm.js"}},"scripts":{"dev":"rollup -c --watch","build":"rollup -c","typecheck":"tsc --noEmit"},"_npmUser":{"name":"haguri","email":"haguri@caroa.jp"},"_resolved":"/tmp/d8e9479195ab826a4123b432de317150/caroainc-canvas-0.2.0.tgz","_integrity":"sha512-yp6jWgBxVL5Kcdz3tbQawuQ5xE/tfQ9538ynImaR2HaZkdqZjFzXuajw7//fBX1GzXy7ekDYNQeE1y+dc0N1UQ==","_npmVersion":"10.8.2","description":"FigJam-like canvas UI components for caroainc products","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@use-gesture/react":"^10"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4","typescript":"^5","@types/react":"^19","@types/react-dom":"^19","rollup-plugin-dts":"^6","rollup-plugin-copy":"^3","@rollup/plugin-typescript":"^11","@rollup/plugin-node-resolve":"^15"},"peerDependencies":{"zod":"^4","react":"^19","zustand":"^5","react-dom":"^19","tailwindcss":"^4","@caroainc/ui-components":">=0.20.0"},"_npmOperationalInternal":{"tmp":"tmp/canvas_0.2.0_1777293686992_0.9191225375977861","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@caroainc/canvas","version":"0.2.1","license":"UNLICENSED","_id":"@caroainc/canvas@0.2.1","maintainers":[{"name":"haguri","email":"haguri@caroa.jp"}],"dist":{"shasum":"81ce2e4826b939d431ce66e6af092260e71800ea","tarball":"https://registry.npmjs.org/@caroainc/canvas/-/canvas-0.2.1.tgz","fileCount":25,"integrity":"sha512-kz35tCBXi56XWvSdAj2EzyWwZkMb5R1kNyZmTyYPHf9qBkFrAJDL7F8JOYtLaVz8qVTBjy5gRJ49ZL5StZEHpQ==","signatures":[{"sig":"MEQCIF1G5oqK2W5NRXAuAnd/y7rN54cBUdz4FYVcq1AU6Kf/AiA0x0OANFqRmpa8/xJFCxmvNqPr4TRwgWxt1fyiqRA9XQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":799967},"type":"module","_from":"file:caroainc-canvas-0.2.1.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js"},"./core":{"types":"./dist/core.d.ts","import":"./dist/core.esm.js"},"./utils":{"types":"./dist/utils.d.ts","import":"./dist/utils.esm.js"},"./schema":{"types":"./dist/schema.d.ts","import":"./dist/schema.esm.js"},"./styles":"./dist/sticky-tokens.css","./toolbar":{"types":"./dist/toolbar.d.ts","import":"./dist/toolbar.esm.js"},"./elements":{"types":"./dist/elements.d.ts","import":"./dist/elements.esm.js"},"./constants":{"types":"./dist/constants.d.ts","import":"./dist/constants.esm.js"}},"scripts":{"dev":"rollup -c --watch","build":"rollup -c","typecheck":"tsc --noEmit"},"_npmUser":{"name":"haguri","email":"haguri@caroa.jp"},"_resolved":"/tmp/56862d0f404475204e4deef1a0dcf915/caroainc-canvas-0.2.1.tgz","_integrity":"sha512-kz35tCBXi56XWvSdAj2EzyWwZkMb5R1kNyZmTyYPHf9qBkFrAJDL7F8JOYtLaVz8qVTBjy5gRJ49ZL5StZEHpQ==","_npmVersion":"10.8.2","description":"FigJam-like canvas UI components for caroainc products","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@use-gesture/react":"^10"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4","typescript":"^5","@types/react":"^19","@types/react-dom":"^19","rollup-plugin-dts":"^6","rollup-plugin-copy":"^3","@rollup/plugin-typescript":"^11","@rollup/plugin-node-resolve":"^15"},"peerDependencies":{"zod":"^4","react":"^19","zustand":"^5","react-dom":"^19","tailwindcss":"^4","@caroainc/ui-components":">=0.20.0"},"_npmOperationalInternal":{"tmp":"tmp/canvas_0.2.1_1777331076085_0.5607891661543869","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@caroainc/canvas","version":"0.2.2","license":"UNLICENSED","_id":"@caroainc/canvas@0.2.2","maintainers":[{"name":"haguri","email":"haguri@caroa.jp"}],"dist":{"shasum":"ca8244fd2d9846c8c13aa5bf2c9d11672c1a1c6f","tarball":"https://registry.npmjs.org/@caroainc/canvas/-/canvas-0.2.2.tgz","fileCount":25,"integrity":"sha512-SDx9seX6sYRCBk6gga5u2Ei9mTmJBTW7qbuOoQilY/BptpOgy8fIhsXyedjgUBH5tebmxxKXfvrsF0Cbuat1yA==","signatures":[{"sig":"MEUCIGNorMbLjnVMISbnK78Fj4IHARPIsSnhN4IZodK5EHGRAiEAwPV6bygkvoKErH+ZZ/NJKn9jGOTk/XO5wQe7zqE+rY0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":793538},"type":"module","_from":"file:caroainc-canvas-0.2.2.tgz","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js"},"./core":{"types":"./dist/core.d.ts","import":"./dist/core.esm.js"},"./utils":{"types":"./dist/utils.d.ts","import":"./dist/utils.esm.js"},"./schema":{"types":"./dist/schema.d.ts","import":"./dist/schema.esm.js"},"./styles":"./dist/sticky-tokens.css","./toolbar":{"types":"./dist/toolbar.d.ts","import":"./dist/toolbar.esm.js"},"./elements":{"types":"./dist/elements.d.ts","import":"./dist/elements.esm.js"},"./constants":{"types":"./dist/constants.d.ts","import":"./dist/constants.esm.js"}},"scripts":{"dev":"rollup -c --watch","build":"rollup -c","typecheck":"tsc --noEmit"},"_npmUser":{"name":"haguri","email":"haguri@caroa.jp"},"_resolved":"/tmp/822b28834fc280e778ce935997685525/caroainc-canvas-0.2.2.tgz","_integrity":"sha512-SDx9seX6sYRCBk6gga5u2Ei9mTmJBTW7qbuOoQilY/BptpOgy8fIhsXyedjgUBH5tebmxxKXfvrsF0Cbuat1yA==","_npmVersion":"10.8.2","description":"FigJam-like canvas UI components for caroainc products","directories":{},"_nodeVersion":"20.20.2","dependencies":{"@use-gesture/react":"^10"},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"_hasShrinkwrap":false,"devDependencies":{"rollup":"^4","typescript":"^5","@types/react":"^19","@types/react-dom":"^19","rollup-plugin-dts":"^6","rollup-plugin-copy":"^3","@rollup/plugin-typescript":"^11","@rollup/plugin-node-resolve":"^15"},"peerDependencies":{"zod":"^4","react":"^19","zustand":"^5","react-dom":"^19","tailwindcss":"^4","@caroainc/ui-components":">=0.20.0"},"_npmOperationalInternal":{"tmp":"tmp/canvas_0.2.2_1777350944845_0.8660407918922519","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@caroainc/canvas","version":"0.3.0","description":"FigJam-like canvas UI components for caroainc products","license":"UNLICENSED","publishConfig":{"access":"public","registry":"https://registry.npmjs.org"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.esm.js"},"./core":{"types":"./dist/core.d.ts","import":"./dist/core.esm.js"},"./elements":{"types":"./dist/elements.d.ts","import":"./dist/elements.esm.js"},"./toolbar":{"types":"./dist/toolbar.d.ts","import":"./dist/toolbar.esm.js"},"./schema":{"types":"./dist/schema.d.ts","import":"./dist/schema.esm.js"},"./utils":{"types":"./dist/utils.d.ts","import":"./dist/utils.esm.js"},"./constants":{"types":"./dist/constants.d.ts","import":"./dist/constants.esm.js"},"./registry":{"types":"./dist/registry.d.ts","import":"./dist/registry.esm.js"},"./styles":"./dist/sticky-tokens.css"},"peerDependencies":{"react":"^19","react-dom":"^19","@caroainc/ui-components":">=0.20.0","tailwindcss":"^4","zustand":"^5","zod":"^4"},"dependencies":{"@use-gesture/react":"^10"},"devDependencies":{"typescript":"^5","@types/react":"^19","@types/react-dom":"^19","rollup":"^4","rollup-plugin-dts":"^6","@rollup/plugin-node-resolve":"^15","@rollup/plugin-typescript":"^11","rollup-plugin-copy":"^3"},"type":"module","scripts":{"build":"rollup -c","dev":"rollup -c --watch","typecheck":"tsc --noEmit"},"_id":"@caroainc/canvas@0.3.0","_integrity":"sha512-kAVDs0r8aI8JSITNzf9oUecGLjeP8FnghOXHR1mUTBtXO05426QFDRqfIJVVE6+cbV5vyk6BXtPRJtvTJXrUUg==","_resolved":"/tmp/b90b5741a7fffe4e053784a9989ab4f9/caroainc-canvas-0.3.0.tgz","_from":"file:caroainc-canvas-0.3.0.tgz","_nodeVersion":"20.20.2","_npmVersion":"10.8.2","dist":{"integrity":"sha512-kAVDs0r8aI8JSITNzf9oUecGLjeP8FnghOXHR1mUTBtXO05426QFDRqfIJVVE6+cbV5vyk6BXtPRJtvTJXrUUg==","shasum":"6c2317a3665c7e92b0668d11b72ceff940254157","tarball":"https://registry.npmjs.org/@caroainc/canvas/-/canvas-0.3.0.tgz","fileCount":28,"unpackedSize":946038,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQChPp7xeMqF1CofasEFazeXzOgSw4Op7WNDDFJunHYwzQIhAL4fVbBS3e1q6omVoZGCctMnFOzUCjNIBY0eGuDK05t8"}]},"_npmUser":{"name":"haguri","email":"haguri@caroa.jp"},"directories":{},"maintainers":[{"name":"haguri","email":"haguri@caroa.jp"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/canvas_0.3.0_1777387720722_0.9199852999518006"},"_hasShrinkwrap":false}},"time":{"created":"2026-04-27T05:41:29.629Z","modified":"2026-04-28T14:48:41.002Z","0.1.2":"2026-04-27T05:41:29.901Z","0.1.3":"2026-04-27T07:22:29.590Z","0.1.4":"2026-04-27T07:51:20.165Z","0.1.5":"2026-04-27T07:59:52.340Z","0.2.0":"2026-04-27T12:41:27.148Z","0.2.1":"2026-04-27T23:04:36.249Z","0.2.2":"2026-04-28T04:35:45.009Z","0.3.0":"2026-04-28T14:48:40.888Z"},"license":"UNLICENSED","description":"FigJam-like canvas UI components for caroainc products","maintainers":[{"name":"haguri","email":"haguri@caroa.jp"}],"readme":"# @caroainc/canvas\n\nFigJam ライクな無限キャンバス UI コンポーネントライブラリ。\ncaroaship（プロジェクト管理ツール）のキャンバス UI を、他の caroainc プロダクトでも再利用できるよう独立 npm パッケージとして抽出したものです。\n\n**v0.3〜**: NODE / EDGE 要素 + Variant Registry を追加。サイトマップ・フローチャート・組織図など「ノードグラフ系ツール」も構築できるようになりました（caroa-tools/sitemap-maker で利用）。\n\n> **AI コーディングアシスタント（Claude Code / Cursor 等）向け**: 統合の包括ガイドは [`AGENTS.md`](./AGENTS.md) を参照してください。npm パッケージにも同梱されているので、消費アプリ側で `node_modules/@caroainc/canvas/AGENTS.md` を読み込めます。\n\n## 命名について\n\n| 種別 | 名前 |\n|------|------|\n| GitHub repo | `caroainc/caroa-canvas` |\n| npm パッケージ | `@caroainc/canvas` |\n\nrepo 名（`caroa-canvas`）と npm 名（`@caroainc/canvas`）が異なりますが、これは `caroa-ui`（repo）と `@caroainc/ui-components`（npm）が異なる既存パターンに合わせています。\n\n## インストール\n\n```bash\npnpm add @caroainc/canvas\n```\n\n### 必須 peerDependencies\n\n以下をすべてインストールしてください:\n\n```bash\npnpm add react react-dom @caroainc/ui-components tailwindcss zustand zod\n```\n\n| パッケージ | バージョン | 備考 |\n|-----------|-----------|------|\n| `react` | ^19 | |\n| `react-dom` | ^19 | |\n| `@caroainc/ui-components` | >=0.20.0 | `IconName` 型を使うため必須 |\n| `tailwindcss` | ^4 | |\n| `zustand` | ^5 | インスタンス分裂防止のため peer |\n| `zod` | ^4 | 型互換のため peer |\n\n`@use-gesture/react` は `dependencies` に含まれるため、個別インストール不要です。\n\n## CSS 変数の読み込み（必須）\n\n付箋（Sticky）の色定義（`--sticky-*` CSS 変数）を読み込むため、アプリの `globals.css` に以下を追加してください:\n\n```css\n@import \"@caroainc/canvas/styles\";\n```\n\n### Tailwind v4 の `@source` 設定\n\nTailwind v4 を使っている場合、canvas パッケージ内のクラスを scan 対象にするため `globals.css` に以下も追加してください:\n\n```css\n/* npm install 後 */\n@source \"../../node_modules/@caroainc/canvas/dist/**/*.js\";\n\n/* pnpm link 期間中（開発時） */\n@source \"../../../caroa-canvas/dist/**/*.js\";\n```\n\n## サブパス import（推奨）\n\nツリーシェイキング効率のため、サブパスからの import を推奨します:\n\n```ts\n// ルートエントリ（全 re-export）\nimport { ... } from \"@caroainc/canvas\";\n\n// store + hooks + adapter + コンテナ系\nimport { ... } from \"@caroainc/canvas/core\";\n\n// 自由要素（Text / Sticky / Image / Section / Embed）\nimport { ... } from \"@caroainc/canvas/elements\";\n\n// ツールバー（TextFormat / StickyColor / SectionStyle 等）\nimport { ... } from \"@caroainc/canvas/toolbar\";\n\n// zod スキーマ + TypeScript 型\nimport { ... } from \"@caroainc/canvas/schema\";\n\n// 座標変換・クリップボード等のユーティリティ\nimport { ... } from \"@caroainc/canvas/utils\";\n\n// CANVAS_ZOOM_RANGE 等の定数\nimport { ... } from \"@caroainc/canvas/constants\";\n\n// NodeVariant / EdgeVariant 登録 + 要素作成ヘルパー（v0.3〜）\nimport { ... } from \"@caroainc/canvas/registry\";\n\n// CSS: @import \"@caroainc/canvas/styles\"; （JS の import ではなく CSS の @import）\n```\n\n## 使用例\n\n最小完成例は **`caroa-tools/src/app/canvas-test/`** を参照（NodeVariant + EdgeVariant 登録 + LocalStorage adapter + Provider 階層 + ElementRenderer の全部が揃った動く実装）。\n\n統合手順の詳細は [`AGENTS.md`](./AGENTS.md) の「統合ステップ詳細」「NODE / EDGE 要素（v0.3〜）」セクションを参照。\n\n## 互換ポリシー\n\n- `@caroainc/ui-components` の破壊的変更時は canvas も同期バージョンアップが必要です\n- v0.x 系では breaking changes が発生することがあります\n- v0.1.0 以降の安定版から semver を遵守します\n\n## 開発（pnpm link）\n\n```bash\n# canvas パッケージ側でビルド（watch）\ncd apps/caroa-canvas\npnpm install\npnpm dev\n\n# caroaship 側で link\ncd apps/caroaship\npnpm link ../caroa-canvas\n```\n","readmeFilename":"README.md"}