{"_id":"@bitfo/sanity-plugin-portable-table","_rev":"2-c454ec456e3d68aa6f032bb442c28a02","name":"@bitfo/sanity-plugin-portable-table","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@bitfo/sanity-plugin-portable-table","version":"1.0.0","description":"A table plugin for Sanity that supports PortableText cells","keywords":["sanity","table"],"homepage":"https://github.com/bitfo/sanity-portable-table#readme","bugs":{"url":"https://github.com/bitfo/sanity-portable-table/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/bitfo/sanity-portable-table.git"},"license":"Apache-2.0","author":{"name":"Dave Lucia","email":"dave@bitfo.com"},"exports":{".":{"types":"./lib/src/index.d.ts","source":"./src/index.ts","import":"./lib/index.esm.js","require":"./lib/index.js","default":"./lib/index.esm.js"},"./package.json":"./package.json"},"main":"./lib/index.js","module":"./lib/index.esm.js","source":"./src/index.ts","types":"./lib/src/index.d.ts","directories":{"lib":"lib"},"scripts":{"prebuild":"npm run clean && plugin-kit verify-package --silent && pkg-utils","build":"pkg-utils build","clean":"rimraf lib","format":"prettier -w .","format:check":"prettier -c .","link-watch":"plugin-kit link-watch","lint":"eslint .","prepublishOnly":"npm run build","typecheck":"tsc --pretty --noEmit","watch":"pkg-utils watch"},"dependencies":{"@portabletext/toolkit":"^2.0.1","@sanity/icons":"^2.2.2","@sanity/incompatible-plugin":"^1.0.4","@sanity/ui":"^1.2.2","react":"^18.2.0","sanity":"^3.2.6"},"devDependencies":{"@sanity/pkg-utils":"^2.2.3","@sanity/plugin-kit":"^3.1.4","@typescript-eslint/eslint-plugin":"^5.50.0","@typescript-eslint/parser":"^5.50.0","eslint":"^8.33.0","eslint-config-prettier":"^8.6.0","eslint-config-sanity":"^6.0.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-react":"^7.32.2","eslint-plugin-react-hooks":"^4.6.0","prettier":"^2.8.3","prettier-plugin-packagejson":"^2.4.2","rimraf":"^4.1.2","typescript":"^4.9.5"},"peerDependencies":{"react":"^18","sanity":"dev-preview || 3.0.0-rc.2"},"engines":{"node":">=14"},"sanityPlugin":{"verifyPackage":{"scripts":false,"tsconfig":false}},"gitHead":"229fdf55153acc9c3f8a837e88588b59244b1e47","_id":"@bitfo/sanity-plugin-portable-table@1.0.0","_nodeVersion":"18.2.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-tAr7Rl7Mhnw4VUXnW+K68NNvjtAG/GPlncJ1aBsSDAfe+qrnPZAzS91alLyz/S9tc/mE6NzlBxrTEwUxWizdQA==","shasum":"29c2267aecf31ea372cdb8e1d9d1f84d4e1e7c67","tarball":"https://registry.npmjs.org/@bitfo/sanity-plugin-portable-table/-/sanity-plugin-portable-table-1.0.0.tgz","fileCount":24,"unpackedSize":72174,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCdhHJV3EO8rhSaWYgeM5hUxMxgL8Q0+BZghXRV+UbCrgIgMH//ejbxL5y7+VsGJIiKbzmbvAX62R0KlyOJT5Hc5Q4="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4AEPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmp0bQ/9G/w//wG2/4zkg1Ho2t43lrMpxSApkuiUBTK9UTr55nujfVue\r\nXqHe4Km6CQrFPicqfJYcRfhibRiYr413FidfXh0r5oA9/16YpCyD5p9r5Ol5\r\nU7NWoAd+G78kRQxTHjpxus/gk1s5tthcn/CkmbMMUOyC10+7yQgNrbv/9tnR\r\n/5WN70Z9/2U+l+LNErQ1btKe5u7feFvIjjAZKbE7lQSBjVk/62kbPccJ8kqs\r\nhruJTuXWdWa24Kpv3eV6pMrlOOiB8GLSsWN2ipe7F8shoySblPQByDQVXC2w\r\nOKZnvLEwXbe1y8+mf0+i61WwYgwtgSqbceZhD584h4K6vtIfZ4qIZPhYACp6\r\n7mfSnpW0bBRh3Cd9CuckH7jOdbFnqIhbhUhnDpRmfHD1u6XCgiRnnG2lD/xf\r\n1rKt7Blo15oWCCE1Xa+wZ+PMKMaf3wv6Sr90GpREPopoPQbiKHgMo5KXwfQF\r\nSzRkLFcxyJRuuG6kCCi8+YzN5C0A5vckuKfyFFowww2gq45oJzb1usQa889d\r\nrU1GzIPDdGMTgthTzBL3K7wxOzydvrYIWMEpatQ9E6mYe76EKm1ZxQE31jFa\r\nr1g27tgzU71VPcg7l57QjCSzKF+xwwVNbcIXJgd6SNPGfpu5upJGSsYB/OMJ\r\nNwFwS2ZXQlsHBLK3tDbwy9LPZrELQRmOmgY=\r\n=L1vJ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"davydog187","email":"davelucianyc@gmail.com"},"maintainers":[{"name":"davydog187","email":"davelucianyc@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sanity-plugin-portable-table_1.0.0_1675624719286_0.9426014517757881"},"_hasShrinkwrap":false},"1.0.1":{"name":"@bitfo/sanity-plugin-portable-table","version":"1.0.1","description":"A table plugin for Sanity that supports PortableText cells","keywords":["sanity","table"],"homepage":"https://github.com/bitfo/sanity-portable-table#readme","bugs":{"url":"https://github.com/bitfo/sanity-portable-table/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/bitfo/sanity-portable-table.git"},"license":"Apache-2.0","author":{"name":"Dave Lucia","email":"dave@bitfo.com"},"exports":{".":{"types":"./lib/src/index.d.ts","source":"./src/index.ts","import":"./lib/index.esm.js","require":"./lib/index.js","default":"./lib/index.esm.js"},"./package.json":"./package.json"},"main":"./lib/index.js","module":"./lib/index.esm.js","source":"./src/index.ts","types":"./lib/src/index.d.ts","directories":{"lib":"lib"},"scripts":{"prebuild":"npm run clean && plugin-kit verify-package --silent && pkg-utils","build":"pkg-utils build","clean":"rimraf lib","format":"prettier -w .","format:check":"prettier -c .","link-watch":"plugin-kit link-watch","lint":"eslint .","prepublishOnly":"npm run build","typecheck":"tsc --pretty --noEmit","watch":"pkg-utils watch"},"dependencies":{"@portabletext/toolkit":"^2.0.1","@sanity/icons":"^2.2.2","@sanity/incompatible-plugin":"^1.0.4","@sanity/ui":"^1.2.2","react":"^18.2.0","sanity":"^3.2.6"},"devDependencies":{"@sanity/pkg-utils":"^2.2.3","@sanity/plugin-kit":"^3.1.4","@typescript-eslint/eslint-plugin":"^5.50.0","@typescript-eslint/parser":"^5.50.0","eslint":"^8.33.0","eslint-config-prettier":"^8.6.0","eslint-config-sanity":"^6.0.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-react":"^7.32.2","eslint-plugin-react-hooks":"^4.6.0","prettier":"^2.8.3","prettier-plugin-packagejson":"^2.4.2","rimraf":"^4.1.2","typescript":"^4.9.5"},"peerDependencies":{"react":"^18","sanity":"dev-preview || 3.0.0-rc.2"},"engines":{"node":">=14"},"sanityPlugin":{"verifyPackage":{"scripts":false,"tsconfig":false}},"gitHead":"5147f33a4d84e4a20c213108f5c97bf5afd08dd7","_id":"@bitfo/sanity-plugin-portable-table@1.0.1","_nodeVersion":"18.2.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-L2BgJJs9ATiSfAqz80Jyj9mgYvuE6S4yFDmM4u8ifNCfyeEab1w2A5eqo/W4G9oDg4ODucAFOya8+yuXWsArkA==","shasum":"2b701fcaa506d3f091695cc866655af5728cae5e","tarball":"https://registry.npmjs.org/@bitfo/sanity-plugin-portable-table/-/sanity-plugin-portable-table-1.0.1.tgz","fileCount":24,"unpackedSize":72863,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD90sTu3FHTs1hIOl/cTFNhuoAbY8Fey4feaqrZedYMiAIgO2MmJSbNcurtQsbFLZucjLIDjSM/U85RBul71lI+Bng="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj4PrOACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoj+g//S2Q3aa5xWSZzU1/Zf5itfJzv6oF0LAfyI9YKISAlKDSWlwQR\r\nauoMaRwG3/Bx1wbTqeB5YsAQvPLejrpGkGzzdqopXRWB+rS+ycPmP9TsB/7q\r\nw/bDEv8FDCxscfDIFqTjlqtNaK3YgV13aglUVQ9V1+ADkI4WCRj9A1fsqxGC\r\ntvjcaitDf37YhDeBwdTi/XHiit/64bVWD1FgsJo8F752cvDC7Y/SssBq37dy\r\nisDUZ0CFnMY6OKnhDflLNwco7bnstNVvCwDAL+RyepRZPV9AMe9NDJpWvyVv\r\nYJYmx0zCmx41UvNWySRelm60NwGNab+eAaRtIWpQjG8uc1jkgl7J3aPqh2cu\r\nnrabsxuNy93TVYVD12eWlphzknCZwAnBuPubB+Tq24nXA7H/kQWW5xcSdiFC\r\nlFPuOMScoYB5JOWhsEdoDlF0DUJaNETLimfgb8LRPbyin+aqykP3LTi/4N2S\r\nFFMNwprPMWIDw0N9i2g5KwbXKYwwxQ2Cz/8PvDNEotW6hhPBUgtjnUZrkLU4\r\nTmgFi4mFyeMH8pbJXS4tGkcvCQfGVHB3hJOskQt9lqO2T0sbrKsPNOKqsgTn\r\nsAGPXDNujWoK2SrQ+ehgv+MWbpCccCWHUkFzUBhG9/nY8VsDJ2om9zNYNTKJ\r\nq+IJ/dPf60vxuIdKsJflQ9McKl72til4Nn0=\r\n=MmBG\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"davydog187","email":"davelucianyc@gmail.com"},"maintainers":[{"name":"davydog187","email":"davelucianyc@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sanity-plugin-portable-table_1.0.1_1675688654055_0.6204074215820865"},"_hasShrinkwrap":false},"1.0.2":{"name":"@bitfo/sanity-plugin-portable-table","version":"1.0.2","description":"A table plugin for Sanity that supports PortableText cells","keywords":["sanity","table"],"homepage":"https://github.com/bitfo/sanity-portable-table#readme","bugs":{"url":"https://github.com/bitfo/sanity-portable-table/issues"},"repository":{"type":"git","url":"git+ssh://git@github.com/bitfo/sanity-portable-table.git"},"license":"Apache-2.0","author":{"name":"Dave Lucia","email":"dave@bitfo.com"},"exports":{".":{"types":"./lib/src/index.d.ts","source":"./src/index.ts","import":"./lib/index.esm.js","require":"./lib/index.js","default":"./lib/index.esm.js"},"./package.json":"./package.json"},"main":"./lib/index.js","module":"./lib/index.esm.js","source":"./src/index.ts","types":"./lib/src/index.d.ts","directories":{"lib":"lib"},"scripts":{"prebuild":"npm run clean && plugin-kit verify-package --silent && pkg-utils","build":"pkg-utils build","clean":"rimraf lib","format":"prettier -w .","format:check":"prettier -c .","link-watch":"plugin-kit link-watch","lint":"eslint .","prepublishOnly":"npm run build","typecheck":"tsc --pretty --noEmit","watch":"pkg-utils watch"},"dependencies":{"@portabletext/toolkit":"^2.0.1","@sanity/icons":"^2.2.2","@sanity/incompatible-plugin":"^1.0.4","@sanity/ui":"^1.2.2","react":"^18.2.0","sanity":"^3.2.6"},"devDependencies":{"@sanity/pkg-utils":"^2.2.3","@sanity/plugin-kit":"^3.1.4","@typescript-eslint/eslint-plugin":"^5.50.0","@typescript-eslint/parser":"^5.50.0","eslint":"^8.33.0","eslint-config-prettier":"^8.6.0","eslint-config-sanity":"^6.0.0","eslint-plugin-prettier":"^4.2.1","eslint-plugin-react":"^7.32.2","eslint-plugin-react-hooks":"^4.6.0","prettier":"^2.8.3","prettier-plugin-packagejson":"^2.4.2","rimraf":"^4.1.2","typescript":"^4.9.5"},"peerDependencies":{"react":"^18","sanity":"dev-preview || 3.0.0-rc.2"},"engines":{"node":">=14"},"sanityPlugin":{"verifyPackage":{"scripts":false,"tsconfig":false}},"gitHead":"08802828b110e499f529114f711a3bc5b5411bfc","_id":"@bitfo/sanity-plugin-portable-table@1.0.2","_nodeVersion":"18.2.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-ksVvfTXm0UFuUL8C8rQL1cGZU4d7WerQEiKkhnpBQZtdo+tYNPn6Xy0WG/9xb5u0boFBpzj79Q4evxYCzYzm+A==","shasum":"3c3c06f501fcce1a6b4c69abe24bfda20c91ab9e","tarball":"https://registry.npmjs.org/@bitfo/sanity-plugin-portable-table/-/sanity-plugin-portable-table-1.0.2.tgz","fileCount":24,"unpackedSize":73430,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDxPj51jcIhZqRCWpTtaJyXQGgWIk6b7Rnfy1/7eRKg0AiBJP+lUNrRzL/gR2k9LQfqpowWLsCL0QBGhWrPZ9w54wA=="}]},"_npmUser":{"name":"davydog187","email":"davelucianyc@gmail.com"},"maintainers":[{"name":"davydog187","email":"davelucianyc@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sanity-plugin-portable-table_1.0.2_1689536574130_0.8195680782770609"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-05T19:18:39.236Z","1.0.0":"2023-02-05T19:18:39.532Z","modified":"2023-07-16T19:42:54.535Z","1.0.1":"2023-02-06T13:04:14.172Z","1.0.2":"2023-07-16T19:42:54.339Z"},"maintainers":[{"name":"davydog187","email":"davelucianyc@gmail.com"}],"description":"A table plugin for Sanity that supports PortableText cells","homepage":"https://github.com/bitfo/sanity-portable-table#readme","keywords":["sanity","table"],"repository":{"type":"git","url":"git+ssh://git@github.com/bitfo/sanity-portable-table.git"},"author":{"name":"Dave Lucia","email":"dave@bitfo.com"},"bugs":{"url":"https://github.com/bitfo/sanity-portable-table/issues"},"license":"Apache-2.0","readme":"# sanity-plugin-portable-table\n\nA table plugin for [Sanity Studio v3]() that supports [Portable Text](https://www.sanity.io/docs/presenting-block-text) cells.\n\nThis plugin is inspired by the official [@sanity/table](https://github.com/sanity-io/table) plugin, but allows you to define a Portable Text configuration in your cells.\n\n## Installation\n\n```bash\n$ npm install --save @bitfo/sanity-plugin-portable-table\n```\n\nor\n\n```bash\n$ yarn add @bitfo/sanity-plugin-portable-table\n```\n\n## Usage\n\nAdd it as a plugin in sanity.config.ts (or .js):\n\n```typescript\nimport {defineConfig} from 'sanity'\nimport {portableTable} from '@bitfo/sanity-plugin-portable-table'\n\nexport const defineConfig({\n  ...\n  plugins: [\n    portableTable({\n      // Optional: default name is \"table\"\n      name: \"my-table\",\n\n      // Optional: default title is \"Table\"\n      title: \"Portable Table\",\n\n      // Required: must provide a block definition\n      cellSchema: {\n        name: \"my-block\",\n        type: \"block\",\n        styles: [],\n        lists: [],\n        marks: {\n          decorators: [{ title: \"Strong\", value: \"strong\" }],\n          annotations: [],\n        },\n      },\n    }),\n  ]\n})\n```\n\n## License\n\nApache License 2.0 © Dave Lucia\nSee LICENSE\n","readmeFilename":"README.md"}