{"_id":"@cobianzo/gutenberg-post-lookup-component","_rev":"6-07c423b06d733f0aa652a4fc1fff3350","name":"@cobianzo/gutenberg-post-lookup-component","dist-tags":{"latest":"2.0.1"},"versions":{"1.0.1":{"name":"@cobianzo/gutenberg-post-lookup-component","version":"1.0.1","keywords":[],"author":"","license":"ISC","_id":"@cobianzo/gutenberg-post-lookup-component@1.0.1","maintainers":[{"name":"cobianzo","email":"cobianzo@gmail.com"}],"dist":{"shasum":"4954da085a29fb9671cec4ae5647fcbc87ca8234","tarball":"https://registry.npmjs.org/@cobianzo/gutenberg-post-lookup-component/-/gutenberg-post-lookup-component-1.0.1.tgz","fileCount":17,"integrity":"sha512-OoPGulePtrQ0Fk779XK3Hk3wXUUFidZzJ38fn1dil/EBGO6LJgEFJPkXyN0MAzz+8Zg1qIZECkkfV5xwv2vt3g==","signatures":[{"sig":"MEYCIQDYIKrEI1vuPbPCcJbdsxUbVE6lCdK8eF7eqGeLC1EibgIhAM+N2tDm6p5DC+dFViJ/U2y8+C3hvnxRbwNd1ht4LPM9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":420849},"main":"dist/post-lookup.js","style":"dist/post-lookup.css","engines":{"npm":">=10.2.3","node":">=20.10.0"},"gitHead":"7a3a460958be745261b2cf95a47672ed6e155b7c","private":false,"scripts":{"up":"wp-env start","down":"wp-env stop","lint":"npm run lint:js && npm run lint:style && npm run lint:php","build":"wp-scripts build","start":"wp-scripts start","format":"npm run format:js && npm run format:php","wp-env":"wp-env","destroy":"wp-env destroy","lint:js":"wp-scripts lint-js './src/**/*.{js,jsx,ts,tsx}'","lint:php":"wp-scripts lint-php .","test:e2e":"playwright test","format:js":"wp-scripts format-js ./src","test:unit":"wp-scripts test-unit-js","lint:phpcs":"phpcs","lint:style":"wp-scripts lint-style './src/**/*.{css,scss}'","lint:php:fix":"phpcbf","lint:php:stan":"phpstan analyse"},"_npmUser":{"name":"cobianzo","email":"cobianzo@gmail.com"},"_npmVersion":"10.7.0","description":"# What is this project","directories":{},"_nodeVersion":"18.20.4","dependencies":{"@wordpress/api-fetch":"^7.8.0"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.17.1","stylelint":"^16.9.0","ts-loader":"^9.5.1","typescript":"^5.6.0","@types/node":"^22.7.4","@types/react":"^18.3.11","@playwright/test":"^1.47.2","@wordpress/scripts":"^30.0.2","eslint-plugin-import":"^2.31.0","@types/wordpress__data":"^6.0.2","eslint-plugin-prettier":"^5.2.1","@wordpress/eslint-plugin":"^21.1.2","@typescript-eslint/parser":"^8.8.0","@wordpress/prettier-config":"^4.8.1","@types/wordpress__block-editor":"^11.5.15","@typescript-eslint/eslint-plugin":"^8.8.0","eslint-import-resolver-typescript":"^3.6.3"},"peerDependencies":{"@wordpress/element":"^5.0.0","@wordpress/api-fetch":"^7.8.0"},"_npmOperationalInternal":{"tmp":"tmp/gutenberg-post-lookup-component_1.0.1_1728215983617_0.6533681336876482","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@cobianzo/gutenberg-post-lookup-component","version":"1.1.0","keywords":["gutenberg","search post","component"],"author":{"name":"@cobianzo"},"license":"ISC","_id":"@cobianzo/gutenberg-post-lookup-component@1.1.0","maintainers":[{"name":"cobianzo","email":"cobianzo@gmail.com"}],"dist":{"shasum":"22c7ecfa77daf8e3518dfde69245e2543fe8bdcd","tarball":"https://registry.npmjs.org/@cobianzo/gutenberg-post-lookup-component/-/gutenberg-post-lookup-component-1.1.0.tgz","fileCount":17,"integrity":"sha512-spIo8Z+6L41Fqx2kXiijrjhbVb1cUKnhDh6y38Xl+I1/y171E0WMbKNyYT7t4qU/4N1DLLvT/ximEuOzXV96bg==","signatures":[{"sig":"MEQCIAEzH/mMmljkScz0DjyeaHp5GMCwwMN1m2kE/O14LlktAiBm9R+KfkWBAJXEO7PzyMG/HBbkMBUrproIs6DSK0sJxQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":424154},"main":"dist/post-lookup.js","style":"dist/post-lookup.css","engines":{"npm":">=10.7.0","node":">=18.20.4"},"gitHead":"c5d03f60a6a2341330988b6c143b914c91392754","private":false,"scripts":{"up":"WP_ENV_PORT=3333 WP_ENV_TESTS_PORT=3334 wp-env start","down":"wp-env stop","lint":"npm run lint:js && npm run lint:style && npm run lint:php","build":"wp-scripts build","start":"wp-scripts start","format":"npm run format:js && npm run format:php","destroy":"wp-env destroy","lint:js":"wp-scripts lint-js './src/**/*.{js,jsx,ts,tsx}'","lint:php":"wp-scripts lint-php .","test:e2e":"playwright test","format:js":"wp-scripts format-js ./src","test:unit":"wp-scripts test-unit-js","lint:phpcs":"phpcs","lint:style":"wp-scripts lint-style './src/**/*.{css,scss}'","lint:php:fix":"phpcbf","lint:php:stan":"phpstan analyse"},"_npmUser":{"name":"cobianzo","email":"cobianzo@gmail.com"},"_npmVersion":"10.7.0","description":"Code for an npm package that allows searching for posts in the Gutenberg editor","directories":{},"_nodeVersion":"18.20.4","dependencies":{"@wordpress/api-fetch":"^7.8.0"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.17.1","stylelint":"^16.9.0","ts-loader":"^9.5.1","typescript":"^5.6.0","@types/node":"^22.7.4","@types/react":"^18.3.11","@playwright/test":"^1.47.2","@wordpress/scripts":"^30.0.2","eslint-plugin-import":"^2.31.0","@types/wordpress__data":"^6.0.2","eslint-plugin-prettier":"^5.2.1","@wordpress/eslint-plugin":"^21.1.2","@typescript-eslint/parser":"^8.8.0","@wordpress/prettier-config":"^4.8.1","@types/wordpress__block-editor":"^11.5.15","@typescript-eslint/eslint-plugin":"^8.8.0","eslint-import-resolver-typescript":"^3.6.3"},"peerDependencies":{"@wordpress/element":"^5.0.0","@wordpress/api-fetch":"^7.8.0"},"_npmOperationalInternal":{"tmp":"tmp/gutenberg-post-lookup-component_1.1.0_1728284239819_0.3238992496533666","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@cobianzo/gutenberg-post-lookup-component","version":"1.1.1","keywords":["gutenberg","search post","component"],"author":{"name":"@cobianzo"},"license":"ISC","_id":"@cobianzo/gutenberg-post-lookup-component@1.1.1","maintainers":[{"name":"cobianzo","email":"cobianzo@gmail.com"}],"dist":{"shasum":"2d867496f20e27a66a945d3ea19f1962e8776b2b","tarball":"https://registry.npmjs.org/@cobianzo/gutenberg-post-lookup-component/-/gutenberg-post-lookup-component-1.1.1.tgz","fileCount":17,"integrity":"sha512-87hLC7Ed+vqBQiXhdcXTxfHbuKqQjCHbS5Brpcf6vI4mkOIWweEpazcjsvZqXXZWnNxAPu4CDfnEC1Qad+EIsQ==","signatures":[{"sig":"MEYCIQDkAnszMoRNrkYciaSnZ4/dNLXDJplZWTAaMOHnqwZF1AIhAIwxPoPD3Hgestp6O7/d32XY5M8LX2pZGpY0c02Jfvwv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":426250},"main":"dist/post-lookup.js","style":"dist/post-lookup.css","engines":{"npm":">=10.7.0","node":">=18.20.4"},"gitHead":"6e356740719c5d3fb7197c9e7eff85d84aa515c9","private":false,"scripts":{"up":"WP_ENV_PORT=3333 WP_ENV_TESTS_PORT=3334 wp-env start","down":"wp-env stop","lint":"npm run lint:js && npm run lint:css","build":"wp-scripts build","start":"wp-scripts start","destroy":"wp-env destroy","lint:js":"wp-scripts lint-js './src/**/*.{js,jsx,ts,tsx}'","lint:css":"wp-scripts lint-style './src/**/*.{css,scss}'","lint:php":"wp-scripts lint-php .","test:e2e":"playwright test","test:unit":"wp-scripts test-unit-js","lint:phpcs":"phpcs","lint:php:fix":"phpcbf","lint:php:stan":"phpstan analyse"},"_npmUser":{"name":"cobianzo","email":"cobianzo@gmail.com"},"_npmVersion":"10.7.0","description":"Code for an npm package that allows searching for posts in the Gutenberg editor","directories":{},"_nodeVersion":"18.20.4","dependencies":{"@wordpress/api-fetch":"^7.8.0"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.17.1","stylelint":"^16.9.0","ts-loader":"^9.5.1","typescript":"^5.6.0","@types/node":"^22.7.4","@types/react":"^18.3.11","@playwright/test":"^1.47.2","@wordpress/scripts":"^30.0.2","eslint-plugin-import":"^2.31.0","@types/wordpress__data":"^6.0.2","eslint-plugin-prettier":"^5.2.1","@wordpress/eslint-plugin":"^21.1.2","@typescript-eslint/parser":"^8.8.0","@wordpress/prettier-config":"^4.8.1","@types/wordpress__block-editor":"^11.5.15","@typescript-eslint/eslint-plugin":"^8.8.0","eslint-import-resolver-typescript":"^3.6.3"},"peerDependencies":{"@wordpress/element":"^5.0.0","@wordpress/api-fetch":"^7.8.0"},"_npmOperationalInternal":{"tmp":"tmp/gutenberg-post-lookup-component_1.1.1_1728289173867_0.8679836424383633","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@cobianzo/gutenberg-post-lookup-component","version":"1.1.2","keywords":["gutenberg","search post","component"],"author":{"name":"@cobianzo"},"license":"ISC","_id":"@cobianzo/gutenberg-post-lookup-component@1.1.2","maintainers":[{"name":"cobianzo","email":"cobianzo@gmail.com"}],"dist":{"shasum":"77b2c4713440f3f7b79354ae40c10506288c6c61","tarball":"https://registry.npmjs.org/@cobianzo/gutenberg-post-lookup-component/-/gutenberg-post-lookup-component-1.1.2.tgz","fileCount":17,"integrity":"sha512-9N8VXhic3YJHXu8imwbvUvUwRb6HTzmM0eW8ot3dQ13ifHVT436FR0mbBOLXuaIj/PTodE7IqT57AaOanEoZAA==","signatures":[{"sig":"MEQCIHniDC0SjYXuKzjNVaztaibPquOde/V0MpqPBHkqHqRHAiBbpeDkGWfgMmbCoJkwRgv/HBHeHn/0Xed4ZhkCUD4iPg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":426382},"main":"dist/post-lookup.js","style":"dist/post-lookup.css","engines":{"npm":">=10.7.0","node":">=18.20.4"},"gitHead":"d365ad801b95bc3cdc04983fa218b451f89321b8","private":false,"scripts":{"up":"WP_ENV_PORT=3333 WP_ENV_TESTS_PORT=3334 wp-env start","down":"wp-env stop","lint":"npm run lint:js && npm run lint:css","build":"wp-scripts build","start":"wp-scripts start","destroy":"wp-env destroy","lint:js":"wp-scripts lint-js './src/**/*.{js,jsx,ts,tsx}'","lint:css":"wp-scripts lint-style './src/**/*.{css,scss}'","lint:php":"wp-scripts lint-php .","test:e2e":"playwright test","test:unit":"wp-scripts test-unit-js","lint:phpcs":"phpcs","lint:php:fix":"phpcbf","lint:php:stan":"phpstan analyse"},"_npmUser":{"name":"cobianzo","email":"cobianzo@gmail.com"},"_npmVersion":"10.7.0","description":"Code for an npm package that allows searching for posts in the Gutenberg editor","directories":{},"_nodeVersion":"18.20.4","dependencies":{"@wordpress/api-fetch":"^7.8.0"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.17.1","stylelint":"^16.9.0","ts-loader":"^9.5.1","typescript":"^5.6.0","@types/node":"^22.7.4","@types/react":"^18.3.11","@playwright/test":"^1.47.2","@wordpress/scripts":"^30.0.2","eslint-plugin-import":"^2.31.0","@types/wordpress__data":"^6.0.2","eslint-plugin-prettier":"^5.2.1","@wordpress/eslint-plugin":"^21.1.2","@typescript-eslint/parser":"^8.8.0","@wordpress/prettier-config":"^4.8.1","@types/wordpress__block-editor":"^11.5.15","@typescript-eslint/eslint-plugin":"^8.8.0","eslint-import-resolver-typescript":"^3.6.3"},"peerDependencies":{"@wordpress/element":"^5.0.0","@wordpress/api-fetch":"^7.8.0"},"_npmOperationalInternal":{"tmp":"tmp/gutenberg-post-lookup-component_1.1.2_1728290437280_0.6569585582628132","host":"s3://npm-registry-packages"}},"1.1.4":{"name":"@cobianzo/gutenberg-post-lookup-component","version":"1.1.4","keywords":["gutenberg","search post","component"],"author":{"name":"@cobianzo"},"license":"ISC","_id":"@cobianzo/gutenberg-post-lookup-component@1.1.4","maintainers":[{"name":"cobianzo","email":"cobianzo@gmail.com"}],"dist":{"shasum":"762c5938c38f5a799e911a1396d4aa9e061286ba","tarball":"https://registry.npmjs.org/@cobianzo/gutenberg-post-lookup-component/-/gutenberg-post-lookup-component-1.1.4.tgz","fileCount":17,"integrity":"sha512-IfUpokgdQ9DkCj0Q/SdkTGDKWE624A3RRmaFnaijA4HNwpJisTSXimCsYKY3R36v6h3vFlJLNXSSqeREpiCS+Q==","signatures":[{"sig":"MEQCIEv/pE7nL3yu8DW3XXsOTdtPMiGjab+hg+SSCfCKD/DmAiBeSYdMvOxqyYkVcasPVlWSoALEvZYw8LflmcTZwyzFeA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":419625},"main":"dist/post-lookup.js","style":"dist/post-lookup.css","engines":{"npm":">=10.7.0","node":">=18.20.4"},"gitHead":"c63d7ff39f54089dddc7463b2bc36f3e6d557a95","private":false,"scripts":{"up":"WP_ENV_PORT=8888 WP_ENV_TESTS_PORT=8889 wp-env start","down":"wp-env stop","lint":"npm run lint:js && npm run lint:css","build":"wp-scripts build","start":"wp-scripts start","wp-env":"wp-env","destroy":"wp-env destroy","lint:js":"wp-scripts lint-js './src/**/*.{js,jsx,ts,tsx}'","lint:css":"wp-scripts lint-style './src/**/*.{css,scss}'","lint:php":"wp-scripts lint-php .","test:e2e":"playwright test","test:unit":"wp-scripts test-unit-js","lint:phpcs":"phpcs","lint:php:fix":"phpcbf","lint:php:stan":"phpstan analyse"},"_npmUser":{"name":"cobianzo","email":"cobianzo@gmail.com"},"_npmVersion":"10.7.0","description":"Code for an npm package that allows searching for posts in the Gutenberg editor","directories":{},"_nodeVersion":"18.20.4","dependencies":{"@wordpress/api-fetch":"^7.8.0"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.17.1","stylelint":"^16.9.0","ts-loader":"^9.5.1","typescript":"^5.6.0","@types/node":"^22.7.4","@types/react":"^18.3.11","@playwright/test":"^1.47.2","@wordpress/scripts":"^30.0.2","eslint-plugin-import":"^2.31.0","@types/wordpress__data":"^6.0.2","eslint-plugin-prettier":"^5.2.1","@wordpress/eslint-plugin":"^21.1.2","@typescript-eslint/parser":"^8.8.0","@wordpress/prettier-config":"^4.8.1","@types/wordpress__block-editor":"^11.5.15","@typescript-eslint/eslint-plugin":"^8.8.0","eslint-import-resolver-typescript":"^3.6.3"},"peerDependencies":{"@wordpress/element":"^5.0.0","@wordpress/api-fetch":"^7.8.0"},"_npmOperationalInternal":{"tmp":"tmp/gutenberg-post-lookup-component_1.1.4_1728383680469_0.12973214737142658","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@cobianzo/gutenberg-post-lookup-component","version":"2.0.0","keywords":["gutenberg","search post","component"],"author":{"name":"@cobianzo"},"license":"MIT","_id":"@cobianzo/gutenberg-post-lookup-component@2.0.0","maintainers":[{"name":"cobianzo","email":"cobianzo@gmail.com"}],"dist":{"shasum":"7bada0078e5d7caf5b1fdf7ab0dc5d7900cf678e","tarball":"https://registry.npmjs.org/@cobianzo/gutenberg-post-lookup-component/-/gutenberg-post-lookup-component-2.0.0.tgz","fileCount":20,"integrity":"sha512-+drZNRk0X8NtYH/ZkcU/6o1u+DVNh38+ffIs9lH8vzWWe2hIwSYjkeUmwoEefJKOoHmS36Q/WURcRQFOV/jWpw==","signatures":[{"sig":"MEUCIG53ZtavYgjucNKl0U8Zb9VyTs2+HsAzz4DMXDUgkO4JAiEA1ezk0iGARZ2LyQMpysu9HGfAsdyTGofKsoTbezKBZQo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":458116},"main":"dist/post-lookup.js","style":"dist/post-lookup.css","engines":{"npm":">=10.7.0","node":">=18.20.4"},"gitHead":"86fd32e6746536d2f0f25125e75fe15298172687","private":false,"scripts":{"up":"WP_ENV_PORT=8888 WP_ENV_TESTS_PORT=8889 wp-env start","down":"wp-env stop","lint":"npm run lint:js && npm run lint:css","build":"wp-scripts build","start":"wp-scripts start","wp-env":"wp-env","destroy":"wp-env destroy","lint:js":"wp-scripts lint-js './src/**/*.{js,jsx,ts,tsx}'","publish":"npm publish","lint:css":"wp-scripts lint-style './src/**/*.{css,scss}'","test:e2e":"playwright test","prepublishOnly":"cp README.md README.backup.md && cp README.npm.md README.md"},"_npmUser":{"name":"cobianzo","email":"cobianzo@gmail.com"},"_npmVersion":"10.7.0","description":"Code for an npm package that search dynamically for posts in the Gutenberg editor","directories":{},"_nodeVersion":"18.20.4","dependencies":{"@wordpress/api-fetch":"^7.8.0"},"_hasShrinkwrap":false,"devDependencies":{"ajv":"^8.17.1","stylelint":"^16.9.0","ts-loader":"^9.5.1","typescript":"^5.6.0","@types/node":"^22.7.4","@types/react":"^18.3.11","@wordpress/env":"^10.9.0","@playwright/test":"^1.47.2","@wordpress/scripts":"^30.0.2","eslint-plugin-import":"^2.31.0","@types/wordpress__data":"^6.0.2","eslint-plugin-prettier":"^5.2.1","@wordpress/eslint-plugin":"^21.1.2","@typescript-eslint/parser":"^8.8.0","@wordpress/prettier-config":"^4.8.1","@types/wordpress__block-editor":"^11.5.15","@typescript-eslint/eslint-plugin":"^8.8.0","eslint-import-resolver-typescript":"^3.6.3"},"peerDependencies":{"@wordpress/element":"^5.0.0","@wordpress/api-fetch":"^7.8.0"},"_npmOperationalInternal":{"tmp":"tmp/gutenberg-post-lookup-component_2.0.0_1730612804223_0.9833442260044105","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@cobianzo/gutenberg-post-lookup-component","version":"2.0.1","main":"dist/post-lookup.js","style":"dist/post-lookup.css","private":false,"scripts":{"wp-env":"wp-env","up":"WP_ENV_PORT=8888 WP_ENV_TESTS_PORT=8889 wp-env start","down":"wp-env stop","destroy":"wp-env destroy","build":"wp-scripts build","start":"wp-scripts start","test:e2e":"playwright test","lint:js":"wp-scripts lint-js './src/**/*.{js,jsx,ts,tsx}'","lint:css":"wp-scripts lint-style './src/**/*.{css,scss}'","lint":"npm run lint:js && npm run lint:css","prepublishOnly":"cp README.md README.backup.md && cp README.npm.md README.md","publish":"npm publish"},"keywords":["gutenberg","search post","component"],"author":{"name":"@cobianzo"},"license":"MIT","description":"Code for an npm package that search dynamically for posts in the Gutenberg editor","engines":{"node":">=18.20.4","npm":">=10.7.0"},"devDependencies":{"@playwright/test":"^1.47.2","@types/node":"^22.7.4","@types/react":"^18.3.11","@types/wordpress__block-editor":"^11.5.15","@types/wordpress__data":"^6.0.2","@typescript-eslint/eslint-plugin":"^8.8.0","@typescript-eslint/parser":"^8.8.0","@wordpress/env":"^10.9.0","@wordpress/eslint-plugin":"^21.1.2","@wordpress/prettier-config":"^4.8.1","@wordpress/scripts":"^30.0.2","ajv":"^8.17.1","eslint-import-resolver-typescript":"^3.6.3","eslint-plugin-import":"^2.31.0","eslint-plugin-prettier":"^5.2.1","stylelint":"^16.9.0","ts-loader":"^9.5.1","typescript":"^5.6.0"},"dependencies":{"@wordpress/api-fetch":"^7.8.0"},"peerDependencies":{"@wordpress/api-fetch":"^7.8.0","@wordpress/element":"^5.0.0"},"_id":"@cobianzo/gutenberg-post-lookup-component@2.0.1","gitHead":"0886ed3e8c92fc2118c101edf9f78ef1b5e76328","_nodeVersion":"18.20.4","_npmVersion":"10.7.0","dist":{"integrity":"sha512-5Ws4oV5VnYRZx2I/grLdH6ya418cQkFOBshUXaBj/Krh9QLPLSJLT+eRcFXbI9KDfXOV47jEOoLEpKBweBkZdg==","shasum":"ae1aa181ddd727a92d8ef09b221ea1ce82d7882d","tarball":"https://registry.npmjs.org/@cobianzo/gutenberg-post-lookup-component/-/gutenberg-post-lookup-component-2.0.1.tgz","fileCount":8,"unpackedSize":175984,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIBi7dfbWEZxz9UavDUVMU6kp03UNRtTp23uXcEMQPzUjAiEA7pgGldAbcq5a4d0szWLjHjCeJVEadxNUaAG6kUOhz6s="}]},"_npmUser":{"name":"cobianzo","email":"cobianzo@gmail.com"},"directories":{},"maintainers":[{"name":"cobianzo","email":"cobianzo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gutenberg-post-lookup-component_2.0.1_1730634353891_0.385019029094559"},"_hasShrinkwrap":false}},"time":{"created":"2024-10-06T11:59:43.505Z","modified":"2024-11-03T11:45:54.332Z","1.0.1":"2024-10-06T11:59:43.785Z","1.1.0":"2024-10-07T06:57:19.987Z","1.1.1":"2024-10-07T08:19:34.130Z","1.1.2":"2024-10-07T08:40:37.470Z","1.1.4":"2024-10-08T10:34:40.667Z","2.0.0":"2024-11-03T05:46:44.396Z","2.0.1":"2024-11-03T11:45:54.121Z"},"author":{"name":"@cobianzo"},"license":"MIT","keywords":["gutenberg","search post","component"],"description":"Code for an npm package that search dynamically for posts in the Gutenberg editor","maintainers":[{"name":"cobianzo","email":"cobianzo@gmail.com"}],"readme":"# Wordpress Gutenberg Post Lookup\n\n`npm install @cobianzo/gutenberg-post-lookup-component`\n\nin your `Edit.js` or `Edit.tsx` (or equivalent)\n\n`import PostLookup from '@cobianzo/gutenberg-post-lookup-component';`\n\nAssuming that you have a block with an attribute called `favPost` (type number)\n\n## eg block.json : \n```\n\"attributes\": {\n    \"favPost\": {\n      \"type\": \"number\",\n      \"default\": 0,\n    }\n  },\n```\n\n## Entry javascript for your custom block (src/index.js):\n\n```\n\nimport { InspectorControls, useBlockProps } from \"@wordpress/block-editor\";\nimport { Panel, PanelBody } from \"@wordpress/components\";\nimport PostLookup from \"@cobianzo/gutenberg-post-lookup-component\";\n\n\nregisterBlockType(\"namespace/your-block\", {\n\n    // more properties here\n\n    edit: (props) => {\n        return (\n        <div { ...useBlockProps() }>\n            <InspectorControls>\n            <Panel>\n                <PanelBody>\n                <PostLookup\n                    selectedPostId={props.attributes.favPost}\n                    onChange={(newPostId) =>\n                    props.setAttributes({\n                        favPost: newPostId || 0,\n                    })\n                    }\n                />\n                </PanelBody>\n            </Panel>\n            </InspectorControls>\n            <p>The post ID is: {props.attributes.favPost || \"No post selected\"} </p>\n        </div>\n        );\n    },\n    save: () => null \n});\n\n```\n\n\n# Development\n\nRepo for development: \n\nhttps://github.com/cobianzo/gutenberg-post-lookup-component/tree/main\n\nThere are several things in the TODO list. Feel free to collaborate with your PR.","readmeFilename":"README.npm.md"}