{"_id":"@barocss/math-editor-slate","_rev":"3-40e9ae158ef58b234d3deedede14ba48","name":"@barocss/math-editor-slate","dist-tags":{"latest":"1.0.1"},"versions":{"0.1.0":{"name":"@barocss/math-editor-slate","version":"0.1.0","keywords":["math","math-editor","latex","slate"],"license":"MIT","_id":"@barocss/math-editor-slate@0.1.0","maintainers":[{"name":"easylogic","email":"cyberuls@gmail.com"}],"homepage":"https://math-editor.barocss.com/docs/integrations/slate.html","dist":{"shasum":"0ce229a7d0969447c78bfdb6fa299387b50ea409","tarball":"https://registry.npmjs.org/@barocss/math-editor-slate/-/math-editor-slate-0.1.0.tgz","fileCount":14,"integrity":"sha512-dstMcxDTeUNTATIZrWZLyJCqiWNNEfXEGVm6ppEt4Fn/aXoxDmyO+uK8LMr8TEZLrxA3g12QjRh+6IHYvjvpjQ==","signatures":[{"sig":"MEQCIAcqCB1SiUAte4XUEg9BUv5peCzYc+UEeP1gKKevbAhVAiA9YeMoizQQD65EaJfYtyCDqJI4E/TpJP577szOqlSW1g==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29719},"main":"./dist/index.js","type":"module","_from":"file:/Users/user/github/barocss/barocss-editor/output/math-plugin-releases/release-MtPMqo/barocss-math-editor-slate-0.1.0.tgz","types":"./dist/slate.d.ts","exports":{".":{"types":"./dist/slate.d.ts","import":"./dist/index.js"},"./shared":{"types":"./dist/shared.d.ts","import":"./dist/shared.js"},"./style.css":"./dist/style.css"},"private":false,"_npmUser":{"name":"easylogic","email":"cyberuls@gmail.com"},"_resolved":"/Users/user/github/barocss/barocss-editor/output/math-plugin-releases/release-MtPMqo/barocss-math-editor-slate-0.1.0.tgz","_integrity":"sha512-dstMcxDTeUNTATIZrWZLyJCqiWNNEfXEGVm6ppEt4Fn/aXoxDmyO+uK8LMr8TEZLrxA3g12QjRh+6IHYvjvpjQ==","_npmVersion":"10.9.4","description":"Barocss math editing integration for Slate.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.22.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=18.2.0","slate":"^0.126.2","react-dom":">=18.2.0","slate-dom":"^0.126.0","slate-react":"^0.126.4","slate-history":"^0.113.1","@barocss/math-editor":"^0.4.0"},"_npmOperationalInternal":{"tmp":"tmp/math-editor-slate_0.1.0_1788950141019_0.8942019923004714","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@barocss/math-editor-slate","version":"1.0.0","keywords":["math","math-editor","latex","slate"],"license":"MIT","_id":"@barocss/math-editor-slate@1.0.0","maintainers":[{"name":"easylogic","email":"cyberuls@gmail.com"}],"homepage":"https://math-editor.barocss.com/docs/integrations/slate.html","dist":{"shasum":"a29e00e2c5528092b9c586afa7401a4670c56cb7","tarball":"https://registry.npmjs.org/@barocss/math-editor-slate/-/math-editor-slate-1.0.0.tgz","fileCount":15,"integrity":"sha512-KeYjIG0jMubxQHGKdLQyOyUN34rEY1Q/6ol7nLktgm7WknsJgOr6XiwYSueL/N8nVqiMkiB36LFhZ0l0kzublA==","signatures":[{"sig":"MEQCIE3HkBHHPlUYO3WZ2wtUAXPvDnRtJdxOu+ztH9uNpmtKAiBRPrG0tvQK0Yi5oVvdD7TZyOr43USRR4XXoS712rhbzQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEQCIA+KNQpZCWsV8HdF5/+q2OG4UVbtTMzaDf0O7pMBPQBYAiA9Ft+qSBO3LI14pnBTSBiZLkrSXjmQHtqZgx/olRSjvA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":29898},"main":"./dist/index.js","type":"module","_from":"file:barocss-math-editor-slate-1.0.0.tgz","types":"./dist/slate.d.ts","exports":{".":{"types":"./dist/slate.d.ts","import":"./dist/index.js"},"./shared":{"types":"./dist/shared.d.ts","import":"./dist/shared.js"},"./style.css":"./dist/style.css"},"gitHead":"f88eb216c01e2c5a1800e269f704fdd977d53a62","private":false,"_npmUser":{"name":"easylogic","email":"cyberuls@gmail.com"},"_resolved":"/private/var/folders/kd/q2hh9cdj51zblmfh_3pd0p_h0000gn/T/8e8d22feda7f2ab71e974d1312fe2f9b/barocss-math-editor-slate-1.0.0.tgz","_integrity":"sha512-KeYjIG0jMubxQHGKdLQyOyUN34rEY1Q/6ol7nLktgm7WknsJgOr6XiwYSueL/N8nVqiMkiB36LFhZ0l0kzublA==","_npmVersion":"10.9.4","description":"Barocss math editing integration for Slate.","directories":{},"sideEffects":["**/*.css"],"_nodeVersion":"22.22.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=18.2.0","slate":"^0.126.2","react-dom":">=18.2.0","slate-dom":"^0.126.0","slate-react":"^0.126.4","slate-history":"^0.113.1","@barocss/math-editor":"^0.5.0"},"_npmOperationalInternal":{"tmp":"tmp/math-editor-slate_1.0.0_1789016274200_0.32019592058371127","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"_id":"@barocss/math-editor-slate@1.0.1","dist":{"shasum":"0aba540451710d6d9c5e79da080264313a29256e","tarball":"https://registry.npmjs.org/@barocss/math-editor-slate/-/math-editor-slate-1.0.1.tgz","fileCount":15,"integrity":"sha512-N3kSgpaIBCbHp3ZEVJKoIiAVeqHQGS0yX4MhSAz8VxUEPl/PlM6K9GX5p2kXTic3L88FSzHEuv7hmgXhF/Me9w==","signatures":[{"sig":"MEUCIQC/x6Z4cnlYekrkfKNVjf0nvkfPm8m1qmx9ZDLygqYhLgIgTYyq+0Tp8bGtBM73wcZCmw9DCHJkNF0+M7XOPguFG/4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFQH0AUxNUVjID7Em5ubGzszYpSoZGp4EhI7I2yeNJ/0AiAbSbAUNAb4BqYX90H3o7rfDZWtx4DHUDkhmVhLvt/L/w=="}],"unpackedSize":30108},"main":"./dist/index.js","name":"@barocss/math-editor-slate","type":"module","_from":"file:barocss-math-editor-slate-1.0.1.tgz","types":"./dist/slate.d.ts","exports":{".":{"types":"./dist/slate.d.ts","import":"./dist/index.js"},"./shared":{"types":"./dist/shared.d.ts","import":"./dist/shared.js"},"./style.css":"./dist/style.css"},"gitHead":"b7d2d54c15e2a15d9fdf382ec8ce764d7b8eca59","license":"MIT","private":false,"version":"1.0.1","_npmUser":{"name":"easylogic","email":"cyberuls@gmail.com"},"homepage":"https://math-editor.barocss.com/docs/integrations/slate.html","keywords":["math","math-editor","latex","slate"],"_resolved":"/private/var/folders/kd/q2hh9cdj51zblmfh_3pd0p_h0000gn/T/93d1b1458ad01702482f3ae588300e4c/barocss-math-editor-slate-1.0.1.tgz","_integrity":"sha512-N3kSgpaIBCbHp3ZEVJKoIiAVeqHQGS0yX4MhSAz8VxUEPl/PlM6K9GX5p2kXTic3L88FSzHEuv7hmgXhF/Me9w==","_npmVersion":"10.9.4","description":"Barocss math editing integration for Slate.","directories":{},"maintainers":[{"name":"easylogic","email":"cyberuls@gmail.com"}],"sideEffects":["**/*.css"],"_nodeVersion":"22.22.0","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"peerDependencies":{"react":">=18.2.0","slate":"^0.126.2","react-dom":">=18.2.0","slate-dom":"^0.126.0","slate-react":"^0.126.4","slate-history":"^0.113.1","@barocss/math-editor":"^0.5.0 || ^0.6.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/math-editor-slate_1.0.1_1789360106139_0.13360464594887822"}}},"time":{"created":"2026-09-09T10:35:40.841Z","modified":"2026-09-14T04:28:26.366Z","0.1.0":"2026-09-09T10:35:41.175Z","1.0.0":"2026-09-10T04:57:54.292Z","1.0.1":"2026-09-14T04:28:26.220Z"},"license":"MIT","homepage":"https://math-editor.barocss.com/docs/integrations/slate.html","keywords":["math","math-editor","latex","slate"],"description":"Barocss math editing integration for Slate.","maintainers":[{"name":"easylogic","email":"cyberuls@gmail.com"}],"readme":"# @barocss/math-editor-slate\n\nMath editing for Slate. Install alongside `@barocss/math-editor` and the host editor SDK.\n\nThis workspace package owns its source and tests. This package ships generated JavaScript, TypeScript declarations, and styles. Its host SDK and `@barocss/math-editor` remain external peers.\n\n## Install\n\n```sh\nnpm install @barocss/math-editor-slate @barocss/math-editor \\\n  slate slate-react slate-dom slate-history react react-dom\n```\n\nInstall this package, the core, and the host dependencies listed in `peerDependencies`. Import the adapter from `@barocss/math-editor-slate`, common helpers from `@barocss/math-editor-slate/shared`, and styles from `@barocss/math-editor-slate/style.css`. Also load `@barocss/math-editor/style.css`.\n\n[All math editor packages](https://math-editor.barocss.com/docs/index.html#packages) · [Integration guide](https://math-editor.barocss.com/docs/integrations/slate.html) · [Release preparation](https://math-editor.barocss.com/docs/integrations/releasing.html)\n\nThe documentation and unified editor samples are hosted at [math-editor.barocss.com](https://math-editor.barocss.com). Host SDK versions are listed in `peerDependencies`.\n\n## Development\n\nWorkspace `exports`, `main` and `types` point to `src/`, so apps import this\npackage without building it first. `publishConfig` overrides those fields with\n`dist/` paths for npm consumers. The release pipeline validates the packed paths.\n\nThis package owns its host implementation in `src/slate.tsx`, its tests in\n`test/`, and its TypeScript build configuration. From the repository root:\n\n```sh\npnpm --filter @barocss/math-editor-slate build\npnpm --filter @barocss/math-editor-slate type-check\npnpm --filter @barocss/math-editor-slate test\n```\n\nThe build includes private common helpers and their declarations while keeping\nthe math core and host SDKs external. Add a Changeset for this package when its\npublished behavior changes. Shared-helper changes must name every affected plugin.\nThe local `pnpm release:math` command publishes only new math package versions.\n\n## License\n\nMIT. Copyright (c) 2026 barocss.com. See [LICENSE](LICENSE), included in this package. The math-editor core is also MIT licensed. Host editor SDKs retain their own licenses.\n","readmeFilename":"README.md"}