{"_id":"@lullabot/storybook-drupal-addon","_rev":"90-75cc6d075d58aee913a658293d75aefb","name":"@lullabot/storybook-drupal-addon","dist-tags":{"latest":"2.0.6","canary":"2.0.7--canary.49.b2736bf.0"},"versions":{"1.0.1":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.1","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.1","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"f45d01d86df26086e6723e9bb277d7b0c81bc8d3","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.1.tgz","fileCount":27,"integrity":"sha512-kwjMDZGLTWXNY0vQjNfJCTuPpMY4DfSchjbm9rEeuQh5DVZtm/FIuMFEaWcLEkNjKHVTYqfe4nq2fuTm1NIG+A==","signatures":[{"sig":"MEUCIQCptP+QpHUDLmytzZST7hHwA1nkzp5nVmz8aKYVKp7oPwIgENgH9ZKgPOr//06RW295Lc9HZ3ipc0rsuvwgytD+OC0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25165,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzduxCRA9TVsSAnZWagAAiAQP/i3CbPslR2sVHSsXBohp\nvyKYkzynAm2ZN+WvTkgIdjIMD8yCRdRKvJEKd4Oo7nZmq820JJ8qKCexMi9q\n9J7avC2ViSm0jMExb2jJOUoB2NhP7iUwBUKFgPu2QrkDg05e9O9UvqQjnbk7\n7RMTDWwhgBGtcAwqWhJ6I4+7hhz6wk/8+HbLCFAW0ZmmYUz1bH94UIiN3gUf\naEdqO9rEaZF1qtTd0sn1+u2o3XIOWJhHzRsYaqx+05xh96fWYmOK7oVPP2n4\nwvjjsZbT3X774/UsrGusERjXR4L7vUJisHuUhUEiDSDXtJjbqzSdTXaNPCzh\n4xbiq2AeEfykNwCkMXTGbXVcXbak/+YdljV6ZROHWwwkYy/VLFSuPDsIeRtQ\nT1fHTPT0bL5hA21se82at7SMXyd3Eoanb2OJYvJgwqzuWhh0bENLehwAuIj3\njQ51pVGHGEauPAOxq6VCa4eJa4JdYXe+HzkJW4D1UqSCPqP9xX6ysQQjlFS/\n7XF4DizjzjYQpf39RmUhJjPtfys/7NVRGGnExb1Ub6kQdW/MKvdjOjjMs/LW\n9ZUBqICXAfAsLj0gB3++rju4GdzbuWL5HRHnRE2ONYcQmXkDwRu3nibPbURI\n5yD7K8eHLJbOvko6AwnoR6PQI1EFdQNuIhybe9gvTWlWpsQlMnXJEjGjBge4\n58WT\r\n=ssie\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"7a8b09fa9eda88a2b70153f772b9ff3a915224bd","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.1.2","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.13.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.1_1640881073715_0.20246263513379015","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.2","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.2","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"e577b7d43f06c71a716f2d86b9032411ac6bc4fd","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.2.tgz","fileCount":27,"integrity":"sha512-dAIAD5n1P5EciFQocI/tIi4qojB9sPF1cOz8E3L/7gFyzOQ9/DsTpwzl+P3qj5NoamIieurwK0Uo9zTxBUAITA==","signatures":[{"sig":"MEQCIArHbjRacKn7/R+lcsmHJyNv6erGAnWdd/qhZ8f78F3AAiBtBqAz7vlW5gFH5eVIz0eYBBnSkoEJHyJqOIIQYRRxIw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25205,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzd2pCRA9TVsSAnZWagAAmysP/ikhvoBAiQ8pHEWK2Hlb\n75ybhzl73O8vlgYQSrtRx9x7LT1dBPM+HaS6uKHANQa0fIg1dsCIvstSdKLv\nAUuWbuMq40Pmr3/RJcmOvlUiwXuUKv47box4xqf4VTKnc8XrPMFImwTQBY1Q\nmpAqXlh72x2egy7YIq3s916QvOgkuf7c29KAMgalaDelVRoNLBWhNbU7Eqw2\nQA2Ej987fzhP8j+7kIbLOaMaF9xZxHqrU6JKMGNUQy2YM8tadBF/179i40hI\nzEyLe2Ozk4BLa+me/FJcZk6blwHJjsFpn8Rzqy0tGKlm0tDQHbpnltbSAB4s\naREm1r6K8iFGlkc56qhAblIGZv+6q0HIcbq+KqOAYAMCVhrgGeeWf/qFvbyG\nPaU0g+iTh0XiUwuFrPQ6TkuIaa4JctNpDzJrIHIU2DgpWO0y0tbrvP5bOK5U\nfEcXFS/8XyfbEq5nHTtvDZpsydomfFPZo8z+S96Kz5j9AC062PnTIzRzhJ5S\n12cy2SWGs7N9btj/vdOwrBeUbTU8lwoZUXTjeDr9ngi0JaX18EG6+6a455dP\nQrUyO/TDICQSOjwOiCicjSZMi49A7OPbPD1bMAjHVPxRBjQwx8VHQTUE5k2+\n8iB6YAUk8w93JA49j7cHGhJ5EinraqXJrQSOpAo81G8o+JzPZN5SEWv4e+4e\nDvyO\r\n=M3Vb\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"26848ac0e2e78e243cb088de35fef1034962b420","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.1.2","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.13.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.2_1640881577140_0.8824372995789147","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.3","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.3","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"61c49c1a48577fa76806989addfe0d6051ded16e","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.3.tgz","fileCount":27,"integrity":"sha512-o/MG6nh589Sc9tNeq5suqeyJWu4NnlWOuxACjt1Pf0w3/PFVPt5tNkOO21FTu/Fmf+6uTOQ0f/VCV2yOQ39pSA==","signatures":[{"sig":"MEUCIENZOWU2C6bQ8GXCL9lv8ytQtMcoDD3xDMS+EjO/xjNPAiEA2mxU18le75Pziszs/1zobQcoEtzNvsvsL4AcGN1n6kY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":25205,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzd9RCRA9TVsSAnZWagAALl8P/j0g1DIQmeYidYk/shzq\nGT3zYCAAnqn+NF5vNFgPoupLX17LvTveIQWX4Tp0P5x9gIJlmNDikSQRzihL\nHKVQo7kfuliV5pMppFCtYsRsG+gNI+mBgbvNyX27Hm5NM3EUMj4L4UxxY5Xm\n6M3/xIjua6JsQkaHo2nfmV5yCxVTlQBRaIu27soKOQNuMdKw4QkGlY2aljGI\n0zU+/ilL96u/xQpFzaZRf61+nRFSLRzqojIVWQroKA+FZRlQbhQZO/CjoLcg\nqCj84rKZHk/sHmkGetPTkHOr3wrm/Xi29cck1dYTlAIzlsmcLebXHEHTUL+U\nuAPJ6BQaM9XQo8xhzF+HRIb4IXUuy2EEEt3KsRnRZQy0KMZ5zJx67mPdzsS6\n/XjL1VZchaQS3OG18Occ+C6kGYvkejHOgYzWW6krPZ4uPGCBylOLrs1MiAyo\n3RzRNlbcK+DKpcRWOJwCe3ooOMRxb0Hg/u/UCGl0QOoL2ejvdw+C69gWdA2/\nZWfP1lHqrfIwnKAceMR1BJDRIUjR9t3j9g4ct3o7rlTH7inSfznbFd0oB49L\n2PStKLtrXG8FG+zXWrwbyW4aPAn55SmiePtXMNTN/e5JSmgCEznKh/ijurGe\nVKfDMxC7wi8GnF/ZlNtdhOt543l8sjRd+1yndPp5FOfPA3g1/MHgbZW3KPxc\nEd3Q\r\n=TfcZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"caa44640d0c6836126c138c96437ad88ec7d5e8b","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.1.2","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.13.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.3_1640882001402_0.3740311872030433","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.4","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.4","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"a53c2b034ce9bf2df6f6b4ca24ce23520a32cf51","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.4.tgz","fileCount":30,"integrity":"sha512-61YX/2IhqEqxblxOTHcpPe+7S8sTYrh1/ouQZvW8K5q3/jYTmLGniMZHZXg6pB141oJxdp9ALBVxNraemEi2Tg==","signatures":[{"sig":"MEYCIQCgnHXROvmLTfkHskYO716mga8yNo+HWsVjmNAaHrPWggIhAM3Kf/XoGWMDcg1lkpEam7jA0yIZRNXC/UuV7BuiB0bB","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40238,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzfs7CRA9TVsSAnZWagAAuLkQAIfe/l6f8TCUyyJKUEKN\nOC+QNC3LieaxWbYySVw4Ck8JguOJYZkrBZnuLVWK01sVnColEHySzFDh6An/\nds+UNeM8sQCFRyUviWcsFWa8D9hBLH7IdPVk3I5BdJLjStEJ8qsAQRcveSpF\nyjJS9UQCfDaE1BCkoKXHl4b+72rzAnGp8jd94COz7PmHQwExIJ/8UqaX7M0n\nk8CW9kTfG/UdrWWszLXzasszQ8KoDaK7PjrnMPU0DThbjVeTVcLFq3YCgN3f\nVrZXH+ZMH3f/bsJLawT1ZUwvqUopB30M7/2DNeoPAZnAb7jjcXKll6hAIQPi\nATA0hlH/MVugE46PBxXYnrKIS6dQ0om2uF/8SjCZb244ilBAq+ruMRQVPuYC\n/H0i+mlU77V2iA/X6RzoJEqUfgXXF1eNd6FrRyjqTyWIS4KcZHTh/bTm+Vrf\noGdO9OXEDXRDZZhW8FhHGHHi1vy67oylQgQwiPLN+XL3JNl54xw1/8ofKAcf\nRBPl1D3+v8z/MO3pM3qQXZxElG7yElHYYtOM5B9oBIIprSELQCTqkpmzjiP+\nqkjrgCMlRV+WxePh1LnhSjmzM0nP1n0Sb++D0665OYXMytC5BsHr1ivmS2Tl\nkDrf4rrWE0y4n8vdwUu56N8CM6gNoyVIvtRT+nAoKF97ai5ZUiM+xKI8dzWS\n0X3T\r\n=dedG\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"7abadf75fc430713a90727758fd2ed38f4165871","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.1.2","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.13.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.4_1640889147078_0.06301223534396327","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.5","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.5","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"210cdbbd3a75037d1aaa42abd3a9cd9018a27bfc","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.5.tgz","fileCount":30,"integrity":"sha512-8V3riFNDvBx6Kl3yw5prLixO0EpMidXwIKEBNC/fWK4RwaBrxWNU9Jew9wawBxoxiFDpn2ZHzDmdgt9TY93Oxw==","signatures":[{"sig":"MEUCIGfjZPP0WBrZjuLl3WMZ4jqJD1bHpOsTQb5DMkUseXmHAiEA4Czrb+eF4qRCgmH1Pi+OMvtkMKIbChqO046kycczWfs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38233,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzf9zCRA9TVsSAnZWagAA+fIQAIQiPY/06XeNedOGPrFx\nfuQIdDr90wziargrnHdxBZsI7y5k3lax3o6Qz5SDwoaEWxuCnJC0EwDKrnz3\nzWqTN0zOZrEtiitJDkjH//V3FWC2tAc1uPAh0Ns4sMg88ztinruu+POK+ScB\n99uNEYSrxVJa9hKpxMiK4DqPoqVBMalCjetUzwsvwmwDQjGdrfKz0zM0RSHI\ns5DEPxibJnWeEsziQUTFz4hZHC9S18h4v4kxYw2yd8qRDH9GRNheWk3/nKcA\nYVmbBONq/+gYJkYx9HRzoyXzhkomYuIbsmJNSFHrnqnJwHuVH4X3bv1j1aeO\nB9650gVorRMGvQYWvG6gBEIUL7xdKN4YF+AhAWHWVV0Pc+Nyb262IbEUGDm2\nevR2lAoE39asQGq80xL+dAGsOVqQV60KABH3bVNjNaW6wunSILkOia4Kzpo4\nOGjyTri0j45N+kqAq1gonWB96l/HDEm/TZmDgEDTBimU4Zs5pV4Ny/8ByaEd\nguyy3vCJRaI81O9CsTv09sB0k2fqnpIRmGjRTgP0Rv69Nk2OKhSooAFLeyB7\nRmkbSRXs06S+/nY9YrIKXGWkTde7bhRk1L9ahUn7gOh0m8XlcxSO0dJjDETF\naAVIhixKZ0pM+Gtm8JOBQ+hTiNZDM7ulkG5y/m8FcpT5Kwwxa1q1yoju4G2d\nkuK3\r\n=Hwfw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"b11d585aae47716d86dc3570d55427d8fa1e837a","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.1.2","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.13.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.5_1640890227579_0.09091561725225139","host":"s3://npm-registry-packages"}},"1.0.6-canary.eadcf2d.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.6-canary.eadcf2d.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.6-canary.eadcf2d.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"45a00ccf59a7ecad7b1dbe62f8277bf10d94dff7","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.6-canary.eadcf2d.0.tgz","fileCount":30,"integrity":"sha512-S369Z85quvvLm8lUKPHF3oqzpe7jhPtka3hHslFOzsl2Hp4lejAtdwMM9/7/YbIJorolmKajDrPk167gjSb+mw==","signatures":[{"sig":"MEQCIF8Us7kSOzzXeGkVGzzcIVOCEwHWb4hh2cbtKc4Db54+AiBPS+sTMbYpIghQkmtu5noLkt1G/vlmK1QyrJDLmaFreQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38440,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhziDLCRA9TVsSAnZWagAApcsP/iNkyhEzizt68sb5wEEU\nAuNOFOJ3Nr//DEoYOCPQGvU3Q7FS2F0IeD/v7ut5fRreeF3QfqGP/h8O4C19\nFfA5LgEnG3F/eMfZVnw5mmCBt7HMPJwu050TRGb/NmoXf1r0xKPy2XfveMQG\nHDkD+k5LquOh40/h3PK0dgBBgqyoiI0ZOS96xJp+jFQT1lU7Q7Ij7YBe6lId\np9R8ibjSZAdhi9NcgYtlY1OokiguFWQoxraBnFcYj4DKuEuqqL2R8hT60EbB\nUXmJVA+OYT8mk3bnpVgZN/3e87AaJg7ApQmAwQ9AuYUn6vt7Oq+htZnp6sDa\nNovGe/lIvjuN8tKcWgqWU2X5Ppzpc04v3g4/JQQKrvguf3to6D3v488zYlyS\n5z6qsKl7nrBh/77PnwH1XgpDdu7YDv53n26g+Q50Hs2BmwLgtk+NxgFEa1rp\nScP7s52dz4ql79IqSe/XFIYeqLI0QEf7LsI8EPXybv3tvc+BuNworotaeKIm\na/j+UdyWtriIWfP7GwymRfxeUAwXT37G9dNimnPd+/9iGpGHyfgN3Z9CQn7T\nD3VWlVuBlGFuAzHDu9EJ8xgFVERgNouoshipCHsaXqF7fcSzcOThbuEELarQ\nBijT/exSNQaM/zR4x+RAuvDFHcDn6e8q37BEFDUDP6XUhyHflnhMD8heUXjV\nle1i\r\n=Fp/D\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use locale configuration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = {config, managerEntries};\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it in a decorator using the following snippet:\n\n```js\nimport { MyProvider } from 'your-drupal-library';\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  return <MyProvider theme={drupalTheme}>;\n};\n```\n\n## End users\n\nEnd users configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\nexport const parameters = {\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: {title: 'Umami'},\n    bartik: {title: 'Bartik'},\n    claro: {title: 'Claro'},\n    seven: {title: 'Seven'},\n  }\n};\n```\n","gitHead":"eadcf2d921b4c4c8745accffd5f802d949e25e31","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.1.2","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.13.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.6-canary.eadcf2d.0_1640898763684_0.41025280134657516","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.6","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.6","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"87f1c468b4a3fa6bd695d8baf47a3226a4d9f05e","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.6.tgz","fileCount":30,"integrity":"sha512-T7rwcxjyOt/r9y649RJRNebtORpiRRvQiRtdFBemJ1Q+2ohufU5rhCHRJKcACNzC/lFZXDBZa8GVqfWrhQq6sg==","signatures":[{"sig":"MEUCIDC8F1QO+CcIeLSaLBfHgCC6KVCpEur46Z0TiHKQ4Ne8AiEAiRvJ3pvpinB3bDLhDenGLMRDxHYbMDpLPkn+YgbqcXE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38423,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhziELCRA9TVsSAnZWagAA2FwQAJJTFHvlF4jB2zX2OX3I\nIXpsX58O7i0GRvpJxSFrTwYrFlVbhXS1+vVCBN0LX2rCVYAtBoSn4+pC658p\n6Q/76D9GR7LGkc2iLArNmhdHCZ05Wxozc/oHp4/CuGD9mUH8BpOV0TbGAVgI\nQkaiXL4xUwF+yr7F6C9JG52M1JsgRk7tVO3KUHzIkt6v9wP9hPx6BLCN5YQR\nFvGdszkavbxOk8VEHlrRaH6V859/kdhUN/OgHaH13Yum84dkcUu3PWjTwDtD\nw5U1w3kfGuxJqh7AmYrpdM90TyZwDo5jwfev6q4JrWhWj7zcxClYFaYCySfm\n01F93xkmrXq8SkGLtqqJRqTET5/VqZuVVePl6ae0LTt4EKysYD6XiI4Oo9Jd\n7BX/d8jKSPBHNwEaUiWxkctlUNY5DM13VVMxA4BpCnYb7b5sRwgibJUDByhv\nuEuO9X2hSV6z4eTuybA//kRaHVn/08EPLSWPyx/HRdI1DubiP43ZfwzAyMJ0\nC3lwcYTh7/IO1FK0NYlj19kK5YisWuP6GGjs2vJFPc5Q/mYyLjzSWxnF74OB\nsMJObrISP+aQvHnZ8uj9lIvzc94y41ru7zm6Vp30A3Kjk95BfvgmDMVj/B4S\npNqjtOHX0ciAwl++cS9LQG1CWZznVocIfmEZuWUmP+0WfbF10x+QSRXPH+a1\nPLAD\r\n=l+dr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"8b858761aac8d2c157e810d2af30c4eb2be9099d","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.1.2","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.13.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.6_1640898827297_0.8489224981747476","host":"s3://npm-registry-packages"}},"1.0.7-canary.3.c80fb4c.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.7-canary.3.c80fb4c.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.7-canary.3.c80fb4c.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"e670ae5584a62d2c3ada16c66a9349e641ae223c","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.7-canary.3.c80fb4c.0.tgz","fileCount":30,"integrity":"sha512-e09yjHI5WpKKzeatIYUO8G8zv4tfbDZB/spiBIjO7NiXo7RFB61NOMxvWqhGh0nLR/YS6wE2ZjXB5e0yn7ojlg==","signatures":[{"sig":"MEYCIQDjQ7lWRh8X/hnmSlR5hZ9i0ck7JNveQiPUOixjDY2OaAIhAP3vcjIodqydHQFSjgg+97sFLAQBlxbHsSptifYO2wJv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38400,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh01lsCRA9TVsSAnZWagAAyegP/2PbN3KKK1T1WyXhI6CR\n1KM8RYQC9BuYwJXWCJpXIdSm5/q+SUejnIAH+R69+9lAakNJO1okB/NdUq6y\n5KnWItuln10XicnvT4tP1lZktcAv/Z4+UEZrq+y1Y27OdxS+kERJFrReAYCt\nZktgt7CO5BxX4XvssNqEJ61iieG8lZMVz06oi6XVLzGwZfNfSssCdM39b4U2\nYxlhSgN9j9IrqFI2PTYW00nVdfphiVfkaH6i+wKKEsDPcj4HtzwysRKjuTSU\ntldGtaEBRE118gf8lJi0mf5y8K4slzLaXL10BtQJGYzYMwsRbYV/jpDLG/2f\nkKfiAry3TDbp02qKrFq7WU01ebZLq8aUxJ3hWOX06vcQmVpzhT3GLfcsSxCw\nnQCQTEnDkC+nAeWeRzRA/iq26rZzLYyXnH7yDhMGnJUbZS+9lqoE4+pRsTZF\nsUjqjbSWWbL7YLF1rWn93w9wOwOz8rYAolraTnvfeJUlLTkZCv8nQoXN1qPd\nDFTrY/5gCvvTFFyACY4YX6tfAD70ofdwpFQ+4/5WIIblaYQnyCRbbK1j799O\nO+jFxoGtGzhsjzHSpJbiCrGUljz+YDewf9z7D2XN6bHV7Wti5zu+Gpooz9Da\n/zUMGVm4Qb+8JkPhpQM6L3YW6vXUBnys7k5lKXCO5GfsjY8cIX++9CoTM0Zj\njpIJ\r\n=fFMY\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use locale configuration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = {config, managerEntries};\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it in a decorator using the following snippet:\n\n```js\nimport { MyProvider } from 'your-drupal-library';\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  return <MyProvider theme={drupalTheme}>;\n};\n```\n\n## End users\n\nEnd users configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\nexport const parameters = {\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: {title: 'Umami'},\n    bartik: {title: 'Bartik'},\n    claro: {title: 'Claro'},\n    seven: {title: 'Seven'},\n  }\n};\n```\n","gitHead":"c80fb4cc17445f5a46aa61acb77fea4cd0dceb45","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.1.2","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.13.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.7-canary.3.c80fb4c.0_1641240940072_0.41193228225113665","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.7","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.7","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"e4d93ef72f080fa3dd5a33f5fa9580018bd61d38","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.7.tgz","fileCount":30,"integrity":"sha512-ZrDVhxS9pNztwrWnfi0wjTZ6Of9BqD0PlmhGb97+TOFQmcwq/4xib/Y8eazdL1coMuDowgamiGVw3o02s4HNcg==","signatures":[{"sig":"MEUCIFKXY6bUMJf+qXfEWYnXfdGfNjOVG0mbUfiy5+s+cdIqAiEA2c8lPMYxsi3DIleCEb4m9S11opR2VfIVsU9PT7KnorQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38381,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh01+FCRA9TVsSAnZWagAAh0MP/2nGFcTqDQpVSt6ATp4a\nPzCY2S6wraKC25d2ElUgSj+Np41KQkc5szZNMbxbmHSuKnePRvUMlsuF4YKs\n5A/KMphXoYj6mVii60MXOsq/eFllKFhwNWHV3gHI9s0dmdYqzK1LSvvS795T\nK8dlbzakv98mkEGC1ZHRKXge7eDrPfH7A8muDAzuAZQ1fK96OfaoqEBxW+Ve\nMbvwx/+Kg+jd3/yVLsSWYYhdlL3siWkDdAjtVi4KylhrtAJVdexHcGQQPVl8\nuSC2KK5YPhx9Qt6/p7iPOxEACNHSw0PRjrxXBTIoZJ0m5u7amSmm1fPxXwub\n8qBZ/rkGRlRYielxm50dM3rjpH1h8IFsLivHcjbjJttgxA8/nGKV4QC7Vrxm\nX9lNE9ONEfdLNgOkfGZshudivDwlSQ4woKc9vjRm2ruAxFfw/qwjKqXLt8jw\nq8yywCpoAa/A+xT32VF5Vbzxptgsg2X2lOK0mPnBAOG6rCliNyWjGFfcHbiR\nYnR453scy0otC7ZJeXtWHU7VMe6acVX5gf4tSKrcno1H32d5qIp9vyLZAIhZ\nX1xNxkma70va4EcQGFM4bHesP6fWRXm3tJZP2NQxEEHFoFI1SfTHRDJqj7bb\nZEyVgoQW/rDcnJAs+3HUFLNmnkKOV5IpYXTN9fBgM1jjtXRKiCF57aHFYIt2\nJrzP\r\n=ekza\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"e35867776806f820675d75b6cfa1f7b477ab1c73","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.1.2","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.13.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.7_1641242500806_0.5914361829648085","host":"s3://npm-registry-packages"}},"1.0.8-canary.b8f1e52.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.8-canary.b8f1e52.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.8-canary.b8f1e52.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"1864bb630bbfc3a10378bfbae4269a7c5600aa67","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.8-canary.b8f1e52.0.tgz","fileCount":42,"integrity":"sha512-SqZnfXLCwJXG4cFIo+6UEDoEC+TD/ro0soPzsSNBtEq4eXygDl7+rQ3Ol29JFwhznOG8TjKb8kFk0O1Qwo8l5g==","signatures":[{"sig":"MEYCIQCkWYa1LrXHI+u+st2EmtsYqWrgT4gFLm1cBiTBoM22DgIhAI9T5CPBUeKqcNSHr5N+uKx8S+S+XZNEHf3TxDLhp5Gt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81447,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh0+FbCRA9TVsSAnZWagAAli8P/0xH2XYsRVerIsCxOsMB\nAXPTDttIvxgWpfAgMDpDliI1iz8awng+hEIpOesxZt7r8voUCENQCeRN1L/a\nlYe/dyOMBMwtEWmkJ2L0O1wepbyqbN/iLwC4XkznN55xw9PUbhCL4nmspwZ/\nkKj+vt1L7l3Ge+fox1ooacdvH2JIpEsxcxWhYMnqZbgOZmFGp0PMlANSoAZx\nz/YdeCW20fxQYppmAcHxrGy6xX9s9dSbHyEKni3+D/ZaK0KIVxdlcC0uDMQ5\nafcXfXd4Atfp6ZtTsPm/JrzynIuxlo0ZgEBTzNFQ2EYIbgpsC7hzKnJiAEhz\nwt09BRFZUAbb9brgZv0y/NTEe2zsCqjpjHVWT9KJO3/c+VyWfbxaUfkmMBRJ\nzDm7mOVRnOL7Sy4OOzM8s27YX1DeYVTyXIXX2vuq+HWQd1gt7b2pz6wLADbS\nTunQR2ZnRxzs9w+dR7jLSi/sRiKrUwhpe/FBx/ra5ytpEv23oQMymev++Nn6\ngoF0+SXGXMCNF5yq42IB/yeQgKJaTfEqSYwISeytwydyoJ4cNLuptHStHy/p\nNlizSNEA7+elik+5anecFmUMFJuvHHXfXaI9TD2Go1tdXNgbl9vgSS6aIUph\nRWpCA5FAbPmPjKp5sKk3o7JBWeyE2m8Vl9HjkCsYUdXJ+PlQoE0+DW4NeQ5X\nvvyu\r\n=DF1T\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use locale configuration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = {config, managerEntries};\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it in a decorator using the following snippet:\n\n```js\nimport { MyProvider } from 'your-drupal-library';\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  return <MyProvider theme={drupalTheme}>;\n};\n```\n\n## End users\n\nEnd users configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\nexport const parameters = {\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: {title: 'Umami'},\n    bartik: {title: 'Bartik'},\n    claro: {title: 'Claro'},\n    seven: {title: 'Seven'},\n  }\n};\n```\n","gitHead":"b8f1e52276760473c420acc10be5d0f51ce83fb1","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.1.2","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.13.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.8-canary.b8f1e52.0_1641275739172_0.965198732633783","host":"s3://npm-registry-packages"}},"1.0.8-canary.f156773.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.8-canary.f156773.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.8-canary.f156773.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"a0e63b4f65529427f4b4eb58ae41fb422b30b78a","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.8-canary.f156773.0.tgz","fileCount":30,"integrity":"sha512-2rzLMDMHKfZYTN7NfQAQFGIV6245gpHBlakbgExD/2H+/iBklDUBsxuDJu2HkWfVkVKnxpFr4Hn9B0OThJWVcA==","signatures":[{"sig":"MEYCIQCGsupnwuigMTm+L+NHdhmh3CnK8xY4yoKqN9N9s9pDZgIhAIomTjBwgPgjsyzOf/+Mr8KWd08ECj+ftOXIxcnJ7zWu","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38398,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1bU7CRA9TVsSAnZWagAAYVYP+wY6aW262NS3vqrMWgEP\nRZbuZUFItzGtbpqUphifXqxRj1POk0zog+rxxVzKR1wUPCsRig1zRBMy1duz\nbQOIG43HPrdEOihE+9t0OMwpDJClMGMWFFMjR2sJIQFJJHAtfYcFrq1klwJt\nzqd9kBSbS4lDx7DpAv4W6Y8bhAqt0JPUpjbagp9gL5CQMif66aekuPjoUR6T\nlKJ0kFH2hhhjFhlnZ8RrG03OZMtWMhQ7gdd3o0mMOQTY1ITWbfbN2K9VVZsC\n5/qaqC8//PL4v5nW10gmsvlIEeei8OWwkYiyps2VsCa2VHuEBFKJnHGX0TC8\nQhQHXPZi6fJhBkGV+DCGSkqYqpKBjifMl3/yBLCUa7v7mFnAUekXhELmXXpG\ng3mjWMUWhekzKRv5yL0GtQBPJSIZR+s8KRrSusNF3NOf+tWUo5mCaQf3CM+a\nenVAtjQriOWtFufHdlKW5F0vas2RhBTUBNme4VI31ALDB28Y+9gXjX83d6zc\nHUiYg4b5M/BoIUYbD1znCskOmJqTEb0U0PJfZYJt23QgiW7RQ887jbtK0uaL\nRUbBuIk0rtPj7skMmSV3WNIMyR9DYIDOaPL5HF+MAYlwuG9F5Wom5mAuNnAj\nPHx9ZVk8FKhz9jiQwgPAPkW2N3N7H8FitYrVrodTWIpUZuhE4x9hTungT5GW\n/mX8\r\n=wtI+\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use locale configuration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = {config, managerEntries};\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it in a decorator using the following snippet:\n\n```js\nimport { MyProvider } from 'your-drupal-library';\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  return <MyProvider theme={drupalTheme}>;\n};\n```\n\n## End users\n\nEnd users configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\nexport const parameters = {\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: {title: 'Umami'},\n    bartik: {title: 'Bartik'},\n    claro: {title: 'Claro'},\n    seven: {title: 'Seven'},\n  }\n};\n```\n","gitHead":"f15677383aea0576cd5443bedcd2148fc32c55b1","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.1.2","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.13.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.8-canary.f156773.0_1641395514879_0.3699178150042344","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.8","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.8","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"92047c725ffd0fb9f11b2aee13c56c2937275ef8","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.8.tgz","fileCount":30,"integrity":"sha512-QeMt6g5Y8H8YcgFQqQFirjDiq2boyzf/3qPxpRxnMJ8E05TL7GU5SPHhCqS0LrCOYkc3jXWIyYKjkN9VvqZB6w==","signatures":[{"sig":"MEUCIQCru3LJnHcuuyf3Dvi9e6bvzb9F9BJ0vw8b+LIzhDERQAIgIc7r8ynhDQ7au1I6qJGqttqLCPqO0/dlZt0qj+eJbdI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38381,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh1bbzCRA9TVsSAnZWagAA7zAP/3eWZNEAH2tKGOWD+WxA\nG7ZLvWr2IhKiOUSUe0ZoeHBJGCzZUuSKl7gHl0W0n9EB6LG9mBpGN9JBqRCX\nElHndgygfr19eW3AWxijZaolXF53+ceGr2HpghZ3pIvDbWwX822BS84zNmy9\nyoQ1u+uReo6+4XTTmqIr4oEBSpX6+4ScBPOgLfTXwBMuTVz+ooYWxh4Y87xc\nQoFwasvkMEaTSISI4ibqdvTLtNQrErzn5FsMCLeY57/9azMJDOlfZCH1mK9A\nWKbo+yr4xRVB4kzJtYHxYBXt1KXCBpXdTVB0aqwksn4YUPW9aBKcF0jLSlFp\nTAbERThH1sk+fSMye8uB9xZV8hn6zKlPIabloYAlQWuigHIDtilFOGvOOCds\nQPu7V0cDLNATdjftUwtkcZI2Vc16CgKQ1HWmWLFPRS+Ns1hmeNs6xOzlcPwC\nrfKM83cOFnXpoenJLiod18twwfeyiCLaZGwieJBXw4FJBWsRbmR/TECVGYBA\nOSKfWyhzvo3BAul90DxhGvQJ8UdZgzYQ+N4P543XMH4mdMNJHCKFaiLx7WRu\nM6UaFqs1HONjFyy/qAAm1MT801F5Q4PnDlgRUeJvEa0fn6mIPO4eoyJ2wQM5\nZztVpnebt9UOE4VDqxJPEkhMZEsPA067sbNJ5+HvsH8g6qfx8R33snvtZsvX\nbEKt\r\n=PXHm\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"75708df39a8351e93d8d95ce2e67a8240a550bea","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.1.2","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.13.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.8_1641395955359_0.22061001456765883","host":"s3://npm-registry-packages"}},"1.0.9-canary.5.fb87dd3.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.9-canary.5.fb87dd3.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.9-canary.5.fb87dd3.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"fc9a4e3b5369811e748c0c77ecbc7ef9ad092cf5","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.9-canary.5.fb87dd3.0.tgz","fileCount":30,"integrity":"sha512-hpBX+AXkkyMDLQSNTW+0uim1GwD1KWVwS5Tzim871MCi3h5uvWxFr/YBzChgTAsmJHab9X/TXw0jc8uxXpPuJA==","signatures":[{"sig":"MEYCIQClj570Uuwl1RWGsQ3xm7NQCh3CMlcqclDdbPyiDYOe7gIhANw5HhfPY1g02SdIzYI5hK/oXlIKSH2SHb31wuegZKS1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39286,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4m0JCRA9TVsSAnZWagAADpgP/172iUE43VqZE9o5Cc82\nqUnvMwE6tRXBzaJ1Ekzgts7KJh/tAzKfb93f/f+unMc2gvyb02d1f4DZFsYI\nWlOZ5SubbQfNjGufD3CNfSFr6KRtae/SYDx7IfysSgVIt2QfFv/kvUxUlsbI\nJx6PrPvBuYw3+5EYHC+uy6XQTH05eKjONOZJpVi9OEUauux0s8sIaa0WEt/M\nDAUs41+QzSe2MbBXwJdcGa5dhSv6YB0s448DDL42zFE1oQL8XZfIGJE33gT4\ni5+JRdCKMJWAJgOpE2f4QpX1VA9AzBKn1Qof/ZIWTrqfFgQo1QAtInoLXPPb\nfp5HDiCCy2/ZPnp154hJbCPEK9F2E8JtB46MfXFjzVhssscLiaSj7oERi+LM\nk6up9u7949Yi6UrGPIHv07N017hF2QoPUFkQhmf7jkEwUIWCSCAYhFzOa5sX\nFJIB+qEIgX81NPXLC1celoJFEXLdbEyjB/u8WgOQe0X1mdQMgvjsqePkdsOY\nr0rvfJIwJTAzCC+i4bIUevogg3N/smSA3n5vUn7F9RX4DBph8aBzLd6e23qe\ngzyohLNm+bu5Y0pHlRnDFvJg5DsaVzwLyYlpHIg9lF9t3Of5FlAv+qyQaRYN\nzSJEixEqVPo9aKwZTt3dEHXkJFRrr3STkQYZQEMhCnKQ3TQVehmIXPecPF9s\nXOqt\r\n=NiTr\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use locale configuration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = {config, managerEntries};\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it in a decorator using the following snippet:\n\n```js\nimport { MyProvider } from 'your-drupal-library';\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  return <MyProvider theme={drupalTheme}>;\n};\n```\n\n## End users\n\nEnd users configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\nexport const parameters = {\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: {title: 'Umami'},\n    bartik: {title: 'Bartik'},\n    claro: {title: 'Claro'},\n    seven: {title: 'Seven'},\n  }\n};\n```\n","gitHead":"fb87dd3e7a57839992c58e02ee717adfbae060f0","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.1.2","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.13.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.9-canary.5.fb87dd3.0_1642229001202_0.5602185717945591","host":"s3://npm-registry-packages"}},"1.0.9-canary.5.c9a6b8f.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.9-canary.5.c9a6b8f.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.9-canary.5.c9a6b8f.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"e8728e0c2b64a1a87fae9e81cd3c4ee34d37b8f0","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.9-canary.5.c9a6b8f.0.tgz","fileCount":30,"integrity":"sha512-c+Q/YLZpcz5KHxso97y16CV7y86gdt2RPB4+4zkMDVcPsFijDxO9mqd/ZYrWu8iaxkGpfoHHbsj9u1Q1gHfGWw==","signatures":[{"sig":"MEUCIH+XmeeSiECugzyUgY6KbuJ6xYmrI0XzCI3+P0dYEq86AiEAgN3dDlc7c9FzEieVZwFS2kjmT2UjCyGn2awyRGKDNbk=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":39986,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4nBeCRA9TVsSAnZWagAAcu0P/jM0YCIF++9DiqISSdgu\neeUSWOyhMqmZCHCB6Pv4EU7c5P7fuaYb0wQ7C/neBXgitePm6/Ngo96WcBzo\neMoHncD8Gl4x5T1ULHIRIEQUqmFA0UvNEPLkvIfU2CTXE6hpEZ+oAOP4G8jG\nPJeQkegL4XLv/1m6dssElqtUXaUUeE989fqUMYEgfAB7YZJw5GufUEi9OW2p\n7HDaeHjkugYtrhYCnt/McbAjlS2Wb+3yp3S9Zal44p4Ll0CjNPJvh/Q0Z9Dg\ndsoklQB6HHKzbH5u94JSsUGzC3CmmZQBNapQqUfvYKnNmd3nEF6KnI2l2TwA\nNp3sl5JBnuRXw9OCLurNoeugIw2UPLcvwYVTS7jKzwCuy7ATDIKy6eJYD7uo\neqSkwWNgPWvbvv3dLW1sf49QA3l2POJOkavbttjLiHcURxCgR5jZ+bMWNse0\nA1UvrDZHOaHqge5qC1DhriyXkaKB9vMix2d5w+bGS7aaBq8mMYdw7twdzSp2\nx4gJMb4Zb5awqeTtQWEIoRE6QI6o5URFUyz0xMbJlAVtDeScfzWeveYUbL1z\nyTKW9e1ooZju4VebzpoTGcHXZjSV0L4AC2uX2rMf9kJDt0LyGoeLS8QFwgjC\nylh7hc9DaseDjpS1TSU2X9Ok4vYN2Em/fCufH3PaB4LhjnST+ftzfCM2rE4P\nBYWK\r\n=UnHi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use locale configuration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = {config, managerEntries};\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it in a decorator using the following snippet:\n\n```js\nimport { MyProvider } from 'your-drupal-library';\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  return <MyProvider theme={drupalTheme}>;\n};\n```\n\n## End users\n\nEnd users configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\nexport const parameters = {\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: {title: 'Umami'},\n    bartik: {title: 'Bartik'},\n    claro: {title: 'Claro'},\n    seven: {title: 'Seven'},\n  }\n};\n```\n","gitHead":"c9a6b8fee356ad14a8770ffc239490bfcf76dcc4","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.1.2","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.13.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.9-canary.5.c9a6b8f.0_1642229854075_0.09686971149546908","host":"s3://npm-registry-packages"}},"1.0.9-canary.5.9732044.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.9-canary.5.9732044.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.9-canary.5.9732044.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"9056a8c68ea25e350872901af05799c09aaf56b5","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.9-canary.5.9732044.0.tgz","fileCount":30,"integrity":"sha512-dvo/RBL44WtUL6cap/nkDaYJP4EzoAfD9aKo9/5WB6qgrWQFXNFLj68SfVYdIFEjF7eIBB7C9O2AMswZalIEsg==","signatures":[{"sig":"MEQCIDqw3EExMP7xfBPYObdjsjLvOJWSo8FF3r9TBBo7tBs9AiA/PFL3I+LrobpsIwMGq3w1XMX1hc6goOwsdNCdbfVKkQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40152,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4nHiCRA9TVsSAnZWagAAAmAP/RyzsfQxrc3KPg5Zw1dD\naWCPoSF8HQTX7SFYZ4mLIhPplcP2AFSLp7X28KTcv2aclwia+M60F0Kwn8sw\nzvjBeDsFatZxn3EUcfrUQUaFEtz8lX8BIlmWx0C8PpNuK9Lc0BNO3kXOphiK\nOKr5NX7HfOIfHvoiwxT4+9Twct6BLMCynjD7HvVLwo65ggfXE10UMeLqLSTQ\nGx70+txrmR+QMRXgfgqeNlyxIy/IHgzatOScsqmteCaxIeGKaOGFlihxXORR\nG2nqrptThkeApj1xgKwL68rpBnDe0QQqtUreFuGNvtx1M/mrqKSIobKjpmjE\nAGinlKuyGvRY7Rwztn5iYgaaa6s12VHrcjJcyP+ql8zEVyrOhuqspF9qqdNa\nliBoqdZi85yPTtKFh0TSPqYXvLs2IlbOZ+w22iciVaJf5fRSFE1udfg3DrTL\n82k/6RgcAkrg3H4CS6rTwFr9hSZNTx6EMfqMOFFGUdrbFFfio0WlVJAxe9Df\nhsHQT+l+OSG9eL5kCCTjphnPYkHIkXYY07Zb8eh1NF2lZGZvdVACwGsEOyGR\nMfqVN/zaPGDaYpCF7YSmvHmNc9SvTG6snx6jBDKaaW7SI01jya1wiHrOFYrC\nb34X6JDN/ihvDA3x/ORkwp9STeFQ7wFM5ROydoPLLTJYSB1DZnM8HyryajZ9\nCbbN\r\n=ekD/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use locale configuration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = {config, managerEntries};\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it in a decorator using the following snippet:\n\n```js\nimport { MyProvider } from 'your-drupal-library';\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  return <MyProvider theme={drupalTheme}>;\n};\n```\n\n## End users\n\nEnd users configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\nexport const parameters = {\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: {title: 'Umami'},\n    bartik: {title: 'Bartik'},\n    claro: {title: 'Claro'},\n    seven: {title: 'Seven'},\n  }\n};\n```\n","gitHead":"9732044a13a8b1427d5d3c0d19ee9b8e40ed44d1","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.1.2","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.13.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.9-canary.5.9732044.0_1642230241888_0.5536620364343827","host":"s3://npm-registry-packages"}},"1.0.9-canary.5.7c35066.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.9-canary.5.7c35066.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.9-canary.5.7c35066.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"63c5265598c5494d18ed1bb9f44d4831582cd3a0","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.9-canary.5.7c35066.0.tgz","fileCount":30,"integrity":"sha512-4V4Pp9qMH5xQVfzrAfGSKNGHeWN46iINXBSQdmqU8ypFd9S1BT+ZgKets/NeLeMfPqoSW0feyO+BQAZ2/7N5AQ==","signatures":[{"sig":"MEUCIQDsi7wc76moh9qNHXdrjN94MPo22YUqhrApt21mtKO8UQIgYA9uyI6PXGGkokd4U14jU6XWzM4lVRU/trQ9v0WnHhE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40180,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4nKyCRA9TVsSAnZWagAAE28QAJWWnuPpX0XrlAVUrDMM\ns2Nr8ItnI61/IrjtmLpEnZBRMe4gMlkmE7ECJoa1AcPfC85Lnnwn5KmsUifa\nZz3bk68h7nNPdwMrw8OtcNM0FpbLArcWgQv7k5VGN2WU1rYtAfoWyDOzb+mR\n5Jy21+mn7Dv+Pgqf1rLWGwtM0oPJUSHpqIoI+yY8mtTXH1dTCc9s378rdUAU\njBl7mWewfevFeuiy+tJhP+KpUfjJ4sfGHhwNqE/uF9WdMwbCReWLGzFLLdke\nCkdnKnNzfm+0OcQZbVw8mJs8eCy5a/TB9yzvv8ZH7Rcw6Dzf9s+Teld9CwPa\n8NRGR/u9vWzBNFAGO8HjLJ2O0sW7txlPse3ZCBJ1i2ZM+n5sNbrmgPB3Vgak\nX2EYdArT1nrgwkZMfEOYMhwshAGAR4ZGpCcyin9SAg3d29cCSYGcQGQvfZ8K\ncyXQnT41F+FGBfDUw8ALMTX3Q8VMXd5QShxm4FyEzz+Dsrn/mM77gU4WPpvp\nHK4TXh1z3yiULHNJBdAYbBDkJiNP7PZnO2xZCZtMKba4rqp5Y0EfCpnOUoEz\nPuspWBp2c9yup+1bpjGURzVeSsKKlAq9M8n17tin8IQc2Q8DOsU38FvjndsB\neDC7ZTd78/qmVLM5wKiegTbiJ9/Jrmm7x8vguaFOTDqowPwDN2B4pX2aDn8A\nyyeq\r\n=2b6Q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use locale configuration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = {config, managerEntries};\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it in a decorator using the following snippet:\n\n```js\nimport { MyProvider } from 'your-drupal-library';\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  return <MyProvider theme={drupalTheme}>;\n};\n```\n\n## End users\n\nEnd users configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\nexport const parameters = {\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: {title: 'Umami'},\n    bartik: {title: 'Bartik'},\n    claro: {title: 'Claro'},\n    seven: {title: 'Seven'},\n  }\n};\n```\n","gitHead":"7c350664eb04aed8d8a74c245e2d640488d6ce2d","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.1.2","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.13.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.9-canary.5.7c35066.0_1642230450080_0.9258948402035005","host":"s3://npm-registry-packages"}},"1.0.9":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.9","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.9","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"06c03963e3e82ccb2a7d850931fc92f0de8d7123","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.9.tgz","fileCount":30,"integrity":"sha512-cidwXnPDgu7MDenZ2f8qhxjThKoeTb6svvdtRUwv43LB5Si7vIoI08sK1iPNVqbosIGo8HRQ88VItCYtaH2cMQ==","signatures":[{"sig":"MEUCIQDd3Cf4ado2eINovceXMafuOkR3VWuHMgXXtYiuQlS+uQIgCQO4sH7Btk69f5Fu83N8cfo0wbFBW3qiz+f6ot+AE7g=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40161,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh4nLtCRA9TVsSAnZWagAA/0cP/AhGam09CYm82EhYJZW2\n4n/3XhWcsVND9wPEQAPFQW33goz9v5ehvM2FQnxdL5tZqffT3c87Ey1fiXYw\ntyYR6rU28w6cA753FnJrZCRVrB+XrcYscYvYYqHr7ul7AS3D2fiLrePI7RNl\nZ2g7gv4vg1wNbZy65blTyvg8hiRfdZMM2f+1eBZjMb0yfhPfHUUPhpZrCdZO\nF1eaA+Suuno/Y/SxpVdSew1w2wU70bkk/ODiXXMMMFhwyeVKGBe9Z5rHUaVm\n/O5VF1mv3JsHHzS6NQ2qcnqMH0PiXg4q4WZpHVSR7tLRI2WYrkOZRrIeAQPS\nO85l/FaFoYrgn0dnENxzO87EJP4Gms0LGxfj7Iu/B6+j+AgOO6fDtwsHcf0N\n+FQipb37pofhG3IAZwQNc+k/1maj9AiKRQFgQ2M1sJHYZ4O+Del7YoBcmqmt\nLA2MGI0EiAblgKlff2HsPUxkk5IQ6Eo3VRbTVjwB2XY4CUbLxJhApHhEmsD7\njeQdbZHsGZkg9YeBCB4s8MM4j3XVcamDxZk6orqfZecg/7wCLiMf+ZI9w+yJ\nHPahawTFEKJvMzrh6DBGqproZAGKvqRyN+H8bWBtZLpUxY7NDtM/ipjXqMgU\nBVkwNZAktzyyEW5S9t6DN4SEVtIQwDzJC/G0DG6x+cRpXgtHnZ6Sq+oZV0SE\nvAxd\r\n=P0k5\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"11b2f4fd229b56d9c22a9a991931672968901aef","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.1.2","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.13.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.9_1642230509004_0.27129861449242965","host":"s3://npm-registry-packages"}},"1.0.10-canary.6.414b7c2.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.10-canary.6.414b7c2.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.10-canary.6.414b7c2.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"837b29b5101ff6bb3a9b7afddb7df2e5e64e8849","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.10-canary.6.414b7c2.0.tgz","fileCount":30,"integrity":"sha512-pNXxuWNEeJ60kwp/Or9uZ7HS9undH0LLx3k1Tfr9PvposKe/xMRWo76j+gu/ZzIgrwOJnSGo0NSXshBk3d6O3A==","signatures":[{"sig":"MEYCIQDtxR26Z4OLLpPZ7ZFQ99oHoEwehqKkN8fwvNqLrfoMBAIhAIbGoHYyYRwqO//krHer+ZpJRkXMBw3TqC/gLOAclphz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40855,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh5eEUCRA9TVsSAnZWagAAY8sP/33dcZXOwR1C1kLF0vhO\n1F3h2qu4vSc2eAFOX/nveSebsSp4iSm9W6uTEKHk+IyyqGu4Zr3KZl0c9ffX\nk/imtFUEhnY9DgLXcOW66Y6/DW+PSFulkoGNPRjp829O3nui9JatFc+2sgvm\nH1X4QR1evUBjAJcmYeHeEfeCRqWXVaK/c6dW2HkxYXYDVShQlX1RXXK2nBOb\nexheKbPtAZqNICNQ1yI8qMiHhBABTmingxVVxkfRh2hM/9l7TKcIh7NYveJf\n7CWm+cqKlIjuvLyRBGV7TwPczTAB/gltZot/77byhAlsMr/saJnvW4hRALrf\nfvlZMNpokAguig7uhu8JtCEHaITweSmdJKlpvElDhTcuPD69e3mr45KLCBqR\nKwhGfxTmBcaNOUEGdpwpAYPzfJ+tkd94lddX7qppOswEtzE1MG/C+CkVE07P\n/XEmnr0NluFZ3j0s5JeIZ3POKsPhDBiss8XNhhhrQ4XMPbvM0FYyFJJlEVZs\nSGQTSOpV+TDhyBgdcE4YkKqrk7dnQuFbdrUpoL2iNW7znvtbHxI2ZsMF2VHo\nyUOmljhPoi3QWPNa1llDqosV5TUBdePTzHM/JCpHKtesObqoFkC+5n8wYSlw\nI5uEVulIvqoARHDqKK7MVgv4Capd6dNgBJTTzl1br5KvrMIkucbMCREAPyjj\nWeiN\r\n=wdAD\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use locale configuration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = {config, managerEntries};\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it in a decorator using the following snippet:\n\n```js\nimport { MyProvider } from 'your-drupal-library';\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  return <MyProvider theme={drupalTheme}>;\n};\n```\n\n## End users\n\nEnd users configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\nexport const parameters = {\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: {title: 'Umami'},\n    bartik: {title: 'Bartik'},\n    claro: {title: 'Claro'},\n    seven: {title: 'Seven'},\n  }\n};\n```\n","gitHead":"414b7c20eae3570d2ab37f961c6ce3d678f0c5ad","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.1.2","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.13.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.10-canary.6.414b7c2.0_1642455316090_0.9684234160421763","host":"s3://npm-registry-packages"}},"1.0.10":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.10","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.10","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"532d4305cfc929fa1ddf784e3c54f867b80c8038","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.10.tgz","fileCount":30,"integrity":"sha512-CaM/JXcxqSqWnuEY36bv0L/w+y+dFZ8/tEPTO6UyQlbY8vredQQ4XOgORElWtPX7mkYsNg9gu8rUcSfFgBODiw==","signatures":[{"sig":"MEUCIFg3ANhZHkVmguRl1LcBBGRrndPDxFop5hwGXsLYDd2uAiEA3IGs55BHMbJ45CG+Sj45XDBVoq/onFsyTGiMgnnBuGY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":40836,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh5eGjCRA9TVsSAnZWagAA8qoQAI+BMLXHUXDL+0Q8uQ4+\n4SiGSjzZ9FYxhOIULcIS2ZzKOjfWapCyDdwVtnb28LwCxvxNgM8pS/eAekwS\nGROZF/eqSRjq2JI6sFbOLftVZzthGz4etoGFwm+/B9sVWSjvXTf53B0ybgD4\n3Lml5/dU9Kf8/zYHnGjbt/fk3McLHkafymwQftKXS1m2lgPS9beUcfnpSqWX\n+r0DU3rQc6IpfRRKI4o2qhcY6bHELhuGaDJr0gmBNC2+mvDFDCxgL+t30l9z\nGcGogmbgPPL7VMvhClmIpXsAoPpGzKkC1fr8cipfBhlYZPTiamqaxIZLzfl0\naP3qbOaztUdluorMEHeD5v0SGq85wyXtZrjD5SYAsKIkFO5sU315Nhy3ceY0\n243Yaf42kVK9HyKDgLvJAT/OGZOcuSUNJ3l6bTEoE4p1jmqM6AdZiUsEpgKu\ngUSPrWAc0wyLLQ4uYGN863c+qEpqstqRJMuGAFnPymlenNJqOxLjm1nJKySh\ntlNF7P3ChDJpuyhY/HXlIeukSKvqi63DB+OWeV/xoryTDaYNuaN5Ao0clbut\n1L6mXhEzncJwJ/K2w1LghqlNcfHYg15N4OwqTI8V2pGk7AeHeNWsF5yFtTfi\n7kNes1o+HKCQL6XrhJ4+VFUzLP69s8aG12/tGY/I/R8ZDbp2elzM30ubwKrB\ns0ZV\r\n=+pkh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"72a2284857a61f0f9dac488a5daec5234739152b","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.1.2","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.13.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.10_1642455459431_0.9644373168490719","host":"s3://npm-registry-packages"}},"1.0.11-canary.7.18a8f91.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.11-canary.7.18a8f91.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.11-canary.7.18a8f91.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"c4d3926c3ea2c888772ce6ad66c127c400e2e620","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.11-canary.7.18a8f91.0.tgz","fileCount":30,"integrity":"sha512-N4WmnCF9nOOIbQu0WXBStzps3yNghCdRyXMCVHIJ69R7pFHVwvJ3WRCpYrsnjxYJCLmRYuu4l9muXiqYBSh9GQ==","signatures":[{"sig":"MEUCIQCIyQ+66xov06oUYCv65Ur7OfjiNH2FfNpcwPsg9k9JHwIgG22fXU3Ypa1uzkGyqfh7hFzCku++q/vDVdMU7NCxrB0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":38951,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHHQFACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoPgQ/9F54lpz0NxEQqgbuVZ9YznvfVrpYeslOKfdv3EIrjUWOcXmAK\r\nKagPjZs9Yb58R/8DJhv+cxI/SKE83XVQ4XZsOQbassyukN/Sugz8yt77lCA2\r\n5jppi0ndq9xyKoJw2E1ptFhDHqyo74jK0YCmtAY9jDLg1mYxHG1N8O8p52E3\r\naeR8f33DiR58NPYo5uBEnhs924H/Xk0f+JunBr5dd7Mmop34QIgZlmRJDf6r\r\nQNTxow0NLMGxvLLV9FJ6rVDCLay3TGkxrDezJdoTdp6SI/csYU2slZr1VGAo\r\nFEy2HUHa/sfkl9EH74BVFas4m9JcM79X2OgvtcVNnwUCMeNtCbwhLSPDcP/J\r\nU2RRmuIHFahsscFfa5M8btpHQC7o+4B0RcTY8VnrSFNfa5dK39s18U6VMz+z\r\nbFsN8C3DgpyaKCXSvDhMus93aXMmDkdGMaIKc2/AjPZDIqwBCqN+3Wg5nWy/\r\nhpkBKgJVB96Xo5Pm0BrT5GWgqRmgyJM7XxkLamol+fWQUws0w+6KphA0OCwg\r\nGc8JCyQNJqNStVMPyV/+gA/t0/Tf522hB//9DtiQJaRiRTTUMYrOJgiwUQfv\r\n9o9l/4v2hLF5yKgWqL8RUuHLzaC/RuWWt4+fB59jj4ehuHegMap/6Q5C8mKV\r\nA0ZV5U+9A9jUadqHmVI+b49/lE6NKTT7a/4=\r\n=OM3q\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use locale configuration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = {config, managerEntries};\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it in a decorator using the following snippet:\n\n```js\nimport { MyProvider } from 'your-drupal-library';\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  return <MyProvider theme={drupalTheme}>;\n};\n```\n\n## End users\n\nEnd users configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\nexport const parameters = {\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: {title: 'Umami'},\n    bartik: {title: 'Bartik'},\n    claro: {title: 'Claro'},\n    seven: {title: 'Seven'},\n  }\n};\n```\n","gitHead":"18a8f9116ad8dff53842aaff86551b69401c6ee6","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.3.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.11-canary.7.18a8f91.0_1646031877730_0.7960565495021343","host":"s3://npm-registry-packages"}},"1.0.11-canary.7.28ba2dd.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.11-canary.7.28ba2dd.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.11-canary.7.28ba2dd.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"875d601e87c3a4b03bb1a4b92603e571b69d2863","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.11-canary.7.28ba2dd.0.tgz","fileCount":30,"integrity":"sha512-ARQBy4iVa2nB3qtlZ61JTsjiOl+jNZFATKr+xb8Tu3+fC4/7WNGJkeA+i3F08HX4s1F6s/XB46sw63AS7/Xf+Q==","signatures":[{"sig":"MEUCIFuLgYgqCc75Z7/tSObpwGEGuHNup5QU2Y9Dtsrcaz2VAiEAl4Z4IHB32NAM4tUbxKj5I4tAISr2TSw8HS9AfjVieGM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41395,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHHUVACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrpVA//aDn/Lkzuth44enEmDCw/Ds3pYBB91Y5xDAtgAq1v9ookyJzq\r\nDTwqbnIhcY/tnESyrD/1cbq9AeBHUF+O7A5TT+/1eUUfTTJ32xmpo+MutRcp\r\nfz0y1I7tiiGdm2m1buGq40LlLrRQ065mM1ssvJYZtT6DlHijyAsRbGsNuy2f\r\nM9nw5VWEO7AjOEj0oxxvLZsyqzAsVYDdpngK71QCG+r8ozMyWI5rRLSsUerZ\r\ng7vE4Ti3lID94S1TEntEavTeOSTcjWQSIee2hl5QSiIVN+PMmDL3SEu0nbz7\r\njJ1WKNzTHwA1lLznO9+E4kFLcS5JcQ5EpUEDKlopGrcfsjOxD3Lx2GAXgT+K\r\nmk3PWfrNJWj/xcOE51Gbo7a6gVx/VYmF3mbv9WMZZ37nmusPNzdZfqw7Lx9b\r\nQrR4xwFPm7OhIH0jbz6ehXtX7QhMfTnKIuqMk9UT9Ec54qDuPn6wvdk4eynb\r\nJWlzjAc0foNBTUckFiwGDsq2vtvdkQ02ISsKfbV76bhEqU0SghA0dH4h3IbU\r\nAURPxvkB42hVXyPt06f0Rip/b4XUZ1OveQLGWCwTMuRJHhPhOj2uaenjDvGL\r\nPG6dvvBXd0N1S0aUfm7vhNB+0X26NJH9EJ9jK5CTYC2mqaeXT7NKMDNChfZA\r\nyHtovNfSIn8RL6w9Ptj84ykTs/L8p+FlkXY=\r\n=2bMU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use locale configuration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = {config, managerEntries};\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it in a decorator using the following snippet:\n\n```js\nimport { MyProvider } from 'your-drupal-library';\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  return <MyProvider theme={drupalTheme}>;\n};\n```\n\n## End users\n\nEnd users configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\nexport const parameters = {\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: {title: 'Umami'},\n    bartik: {title: 'Bartik'},\n    claro: {title: 'Claro'},\n    seven: {title: 'Seven'},\n  }\n};\n```\n","gitHead":"28ba2dddf9cf8bb51fe2c6564d79d804234f8f6b","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.3.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.11-canary.7.28ba2dd.0_1646032148915_0.7758036068460439","host":"s3://npm-registry-packages"}},"1.0.11-canary.7.00c44ad.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.11-canary.7.00c44ad.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.11-canary.7.00c44ad.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"895c978740005f9a571b355626313e1d4326e923","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.11-canary.7.00c44ad.0.tgz","fileCount":30,"integrity":"sha512-ny4FAbyAzfWUHWk6v1mn23MYHfZ1eYSz5e3BtlJU/DSDIKskNHBK6ogfn1xFbzZnOlLM84h/Bz+FkOKbixCM4Q==","signatures":[{"sig":"MEUCIGdoCy2wWd0B4b/N/YcWL0sbW+14+K5Alcqz5jMV9slaAiEAz31hGMjk7AgdQYsopZr5HxNGgxxOjjSYrCMsiXN1SAo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43971,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHHctACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmojFA//SdSGfa/vSwkshC9maj2NUgc69fVGzaE6f21KTzLyEujck77l\r\n15dMP8dyrBrdFLakgWjPO/kUqSKFM9GQq6Bz5mYyReL3ZcFnhm2FuE16VCxC\r\nLCCWrUp1AYUMIerIqWJaWO71uFFTRNqY9KhC0rt8k5wr0e99ylGAhuNF91n9\r\nW8hIcaR7ugbHMzRFNed7n1P8soLBXaynfUVZJjX2yNGNga+MMfXyD0RTgA5b\r\nswyjn5mUZjC8KOhEQChUx08rS1DRyR+lcZy7WGNJrdYNUR41zAty05Yd67oK\r\nkomcrEjr49ntVnWvZe+hyGOdmRXmhjpApBLiAaJKfFb+lhaCMZcH+Q2K8ywj\r\nlxXeHBd/U+iRZfZKnOoxQ9k32O+jsSM4kdWeftG9fU9EPt738RgiYodKuZk9\r\nAgb/EZpO9KqAdIvuYGkdz+ZKMP0Wxoa5S+txWe8/f9BrZYOCO99gNNmOzOOJ\r\nu4J3Ca5YvfP4t99aRXIoiLYnkUjCgBgfBQ/F1TOjCEXJMsOVmQTpKhRRKrcK\r\nZLh8TRhanNk3R4P0ED2X1YDqv3smyt1wkHfOXZaszKIuFblj/PLqnnzc2uQg\r\nLMaCn2QnfgFuhwOuWFz/t85aecokkXN5nlEhhgQLABB0wdV8BLkEN3a2WF6E\r\nRtimEec2fjTm/YchKKncw452GNWPRPmDjlQ=\r\n=Dqtn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use locale configuration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = {config, managerEntries};\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it in a decorator using the following snippet:\n\n```js\nimport { MyProvider } from 'your-drupal-library';\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  return <MyProvider theme={drupalTheme}>;\n};\n```\n\n## End users\n\nEnd users configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\nexport const parameters = {\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: {title: 'Umami'},\n    bartik: {title: 'Bartik'},\n    claro: {title: 'Claro'},\n    seven: {title: 'Seven'},\n  }\n};\n```\n","gitHead":"00c44ad1c5a4172f659bb51c75b91bc260697896","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.3.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.11-canary.7.00c44ad.0_1646032685538_0.8310095042294208","host":"s3://npm-registry-packages"}},"1.0.11-canary.7.b18c760.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.11-canary.7.b18c760.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.11-canary.7.b18c760.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"00c59cb39abf5663b7f9a0cda4f0c2fba725ddcb","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.11-canary.7.b18c760.0.tgz","fileCount":30,"integrity":"sha512-9DU89Q7m5T7UxhLD0TXlWV83hXSvx+dnIULNslywtsAG6qQoREzvDmZ2qaaQx5mj3cTZll9oUx93bvUUPpW3Hg==","signatures":[{"sig":"MEUCIGcPLbFRSAsYafFOZNm1j0Am2gbh21WVGlVJ0RVrzElZAiEAgHLKFmY4W4i8eSE8A4wKIAEGavqdM+t/HjIb3DlvpEo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41553,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHHjJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRlg/+Jme5xv4br9e/mnRFHUcijzJ8WwlGook/B1DsDcKRm1wMPZLX\r\nREjtKxbyoORd3f9/RRUtPWF7f6fqJmZjZjPNgAG7vex7RykHBgcFLUl4LZ79\r\nnS4gnsk9FqxOTwwmjuBTS6tHCck2vcWS6PCFFrdpX94w+Z/omVKvcYuPGhbV\r\nHmgLi9KhKEUxSb9+VMXL+7T1jmmS0sCo1I1BsmRTaGkvZFK7OdjafE8waMO6\r\nDB/K8XZOHwFxBvp6dB2QqjYR0BziLoFO1CT+J8/8F0GXIxYUw428WYYwgT7W\r\nd/E+df3EcX3thbRWdf3xQ6VNJwGDVouwV56NJQcqft6kSUY+2OcuT5HyPyp0\r\nS4EOjkQ8/crggqV+rj38ImMGh9DNiBqBhaqcL3MOJ1vk8wPKCcxWONzjaBpq\r\n6rVbRFbrLXthILHu7B7zTYrCZmyywhHCrEIAp3ue8pS+RVWBJWf0oKaXSL/P\r\n9ZxNvScOKL+rCk05CqjY6AOqSjYHKWcGJZkNHyRJd4xK+zPcSluoXeoZw6oA\r\nqZ234ZLZH9q66jNKNRjnAH33a51debzWdavDMuUKKyHm4ELcIAuFqk7Ge0Rw\r\n9X8eqPb9WLhNmnoXWMWSogxPaQ3jICUzOWjTSmlL3PPlyFobxig/PA9UDci6\r\n5GwyH/X8w/4PXBplya1LLUo31fFVASFI40w=\r\n=8bVO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use locale configuration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = {config, managerEntries};\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it in a decorator using the following snippet:\n\n```js\nimport { MyProvider } from 'your-drupal-library';\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  return <MyProvider theme={drupalTheme}>;\n};\n```\n\n## End users\n\nEnd users configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\nexport const parameters = {\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: {title: 'Umami'},\n    bartik: {title: 'Bartik'},\n    claro: {title: 'Claro'},\n    seven: {title: 'Seven'},\n  }\n};\n```\n","gitHead":"b18c7603f2ccf53818122676d80e279283cb61c1","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.3.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.11-canary.7.b18c760.0_1646033097469_0.8770050184390741","host":"s3://npm-registry-packages"}},"1.0.11-canary.7.8a91aa7.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.11-canary.7.8a91aa7.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.11-canary.7.8a91aa7.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"2fd7a4d8d67cfece09b792e09589d52ca6cdd1b9","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.11-canary.7.8a91aa7.0.tgz","fileCount":30,"integrity":"sha512-GDybq71t46BHciZYFQDo+qPCEqciO2+fV4JNYMMMwXV7QrUuLw3nIUeZArFEzaHsu9Hw9wiZb5W4KAwr7YRPYA==","signatures":[{"sig":"MEQCICDBZwu95zFu+jHy7NLjV0/EY1zbrVsXYufg9+xYvVBpAiAx4cy+pTNyu7Q1I6Mu0DYcoNPOvyLI0BT2Y652SmEBDw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44097,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHHmHACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrTxA//YjGkbdbqH3zDt7tpHJfqK1peN4+RWWTqYgUoYrkz0vOXSje2\r\nm4/QKXNzhxwUrBIfzPGpCqtzI/C73HoVCVbCLsHisLMUIR9xbMLTQ2OxWl71\r\nGcbOVqoNJ5JpzDABJmEekUMo9Q8x7KWgoKPs5x2P8n3wuO66GoSEmDRJRiCD\r\nSme9fqANIbOq8G56280jsb8KTMzxxabxiWBKaZLw5++7Sjy1uxdJNPDgXC9H\r\nrDwjWF2zTyWjCvm3xWOG09e2Xs0jzSrkicVJG+EE1a+XJlBKZ1/jtw6eQ04p\r\ngfb8IEb5mqrfgnvIrwLV+XAryprqqf9snGlsiF9Olo8chgo5mIaAD1vdQrFy\r\n7yDPcFKrH5IHKPsA4PLXNx71NUQoQUvY0IzR5qG+BUBUr0Gofdrm0n9/bnsH\r\nvO1wJx85ETh694edrG3ODpGdLeFogmE5+jASNDl7EEB2B/n6Nnw8Cp8gRfdJ\r\n29B5CGosP/5nCDRlPeiqnM7PdzfDCYFZbUSj94lnDtABHbBuK65mFZbzip8A\r\nPDClVBuu1i+d6WYLSdXOy+SSWcP1XegGU3nKVZ1SAaVoJh9Z6QMsEMCZhlcF\r\n6VtNv3wUKXMmfsoNw5K/ixIBJCc3O2/pirGbdq3UzBTg3voTyheu+n2a2IL9\r\n7aU0reVuGyHX0jVbxi055HLm68M3Vp52Q7I=\r\n=bTeP\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use locale configuration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = {config, managerEntries};\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it in a decorator using the following snippet:\n\n```js\nimport { MyProvider } from 'your-drupal-library';\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  return <MyProvider theme={drupalTheme}>;\n};\n```\n\n## End users\n\nEnd users configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\nexport const parameters = {\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: {title: 'Umami'},\n    bartik: {title: 'Bartik'},\n    claro: {title: 'Claro'},\n    seven: {title: 'Seven'},\n  }\n};\n```\n","gitHead":"8a91aa73a0ee76d0d902214b2455c324cd040b65","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.3.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.11-canary.7.8a91aa7.0_1646033286875_0.18347895573412276","host":"s3://npm-registry-packages"}},"1.0.11-canary.7.8346fc6.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.11-canary.7.8346fc6.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.11-canary.7.8346fc6.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"26c919ba1a13c02d25a55ed726fca4da8b649dba","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.11-canary.7.8346fc6.0.tgz","fileCount":30,"integrity":"sha512-jduzh+MOt8aGPyiklVYg3NRas3d7bwEC7pGWAJA5MzkUhXBrzxc/Nbaqp/vq2F0VYix5atquLDjXFwN+i1/+9g==","signatures":[{"sig":"MEQCIAsW8mwF9loN5JNFbcQTo/sakA/yO1TpkLb3QdZJpMFSAiB/0fZhejbNcExvaJ0a91JAvnbVhReAhHmnd4SGuikAKA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41407,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHHsqACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr3+xAAkOBqHEEaSavBTEzfHbYxET38QzxmvNyDPfyWVh4+yL6Vc7Zn\r\nrUIMZIE2fc0NAhIyV57IBFJWPw/KZbypS9dGAZdjZ94hdgMANftdo3WUiI8w\r\n9yRZz+wlsqyvgMInjIq6+npazEbu2qnB78pGJ0k5aVZIfz30gLuqxUG7f7qg\r\nNTvzAWo6ZoMROStEpYVHAfHlyNQh+Vb/K9AkWMu8tpVmi0PajOPyo52PpxO4\r\nVfmeE5JSccrSuEeoGJVdpe0G66sOxtWQdiTvEAOKI/VBaidTP2LwoUsnChTM\r\n4fgEmlQJ3SEvxrF3QsloVcYebG+gfNDTRODpbPLd+G2r7Q5bhoLE1CZN5qTX\r\nlZdt0698GnD9e+O5m19u8Xbqmfix6R49JwfXyJHYuBsKPLrknM/XBdl32R99\r\n8+m1AdLf6Rp9DacVUH/Sexfy0GZjD7i/PYMVCZWENrh8RH9yLRw38/uaK4lO\r\nd9+hlngxbMxczx78cVROAH0rNI9Ser6ktbCiej6fCvm0gA7Q17zxn/TtzFNs\r\nJ9DPDZizLv07b8OeWDYsrrmqLLs1EZZof4AUTl7d2/2tsK50fC9s2QwqDQEh\r\nz0X3LTlzRphCj6hT0I/qYmlD4acBMZO0X0eGOWagHvPyzn2zeq9eksnepEA6\r\nLVOvlu1KKgxav/LDpc51op1YjpNmY5ORMBU=\r\n=5p9J\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use locale configuration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = {config, managerEntries};\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it in a decorator using the following snippet:\n\n```js\nimport { MyProvider } from 'your-drupal-library';\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  return <MyProvider theme={drupalTheme}>;\n};\n```\n\n## End users\n\nEnd users configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\nexport const parameters = {\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: {title: 'Umami'},\n    bartik: {title: 'Bartik'},\n    claro: {title: 'Claro'},\n    seven: {title: 'Seven'},\n  }\n};\n```\n","gitHead":"8346fc6cfb39df9caee141d8cada3553088d9aa8","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.3.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.11-canary.7.8346fc6.0_1646033706792_0.7867540736249699","host":"s3://npm-registry-packages"}},"1.0.11-canary.7.29610ea.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.11-canary.7.29610ea.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.11-canary.7.29610ea.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"d805d3380a4587ccca1306eaf314bfc4b85f7a28","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.11-canary.7.29610ea.0.tgz","fileCount":30,"integrity":"sha512-re2ECVJjNYqQMM3q9GrDDJ+so0UnH+fVnQc4cx+KXPWpgeRV8iCwjpH6Bk0+9tQjH9VApbvJwqT8gxMgZsFcZw==","signatures":[{"sig":"MEUCIC/bVLDam0fk+Wzcw6EzLQNC0IpfWXRZyPtQqn+4mNyUAiEA9cCIFimOb4pe3K7lKl2BXu5AL/B1eOPoVWxL1hwBajc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41221,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHHzjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmrqow//bJDzGEeu+VZWwYKKxAzaDco2B5IUPBo/HkLIAG06s4kbCmkz\r\noDikAiA3B2zpRmrDxcRsKCgE/yzw3EGc+Q2rJ2OzMPr8HE89su6Gj1kRMIJo\r\nzUy75PJrmm2q5Li/7xNm3Y5FVlQd/q/SN+puEVXEClKV18SgWG/zGaaPGRVx\r\nMTEN56JzoB9MO4wmFBO/XpL4CuePcEys3/GmwomLwrpH5UcYJidPH718c0ii\r\nDTnG8ryHdSbxKY4JLoBM6OdhLuc9stkRkkzHd7K8XwxD5U6NpsHc13nfQjrH\r\n6RdJuUELmiqpuKH3Gkfgk0643rF320CjGWPQ9Om3BaSx/2NZhzJOIsiT2I9L\r\nNMKDFfsdH/pTg/16dmju/XTlPGJex/LyN4c6WRzrFsYflkLkkk0k9YzTAET5\r\n4zyEct1huPWSppwGb99XuW4xaILMNQErKDgyEhtop4urE4eHXEI5WBUURqS3\r\nRj6mBIEyOTC8GK91FKqXHrwTFB80xnSd2uzG7MAjW5BYA+t7Brob4FUzRhFw\r\nmVEd3y3wyuxnmbGvnCaA08DPA7sb5pNHTJk7fZJrcuiwppiru6ML4XKpxUY7\r\nuwvJNkWDpAW3GrPUPepxyVBcGHajWSsZId9oNBbYEBeHxtkPDWR65PeXUkS/\r\n6JwEJEgGHsrlw5CjEFEe8KEkUywrInU3dxE=\r\n=f0Hs\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use locale configuration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = {config, managerEntries};\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it in a decorator using the following snippet:\n\n```js\nimport { MyProvider } from 'your-drupal-library';\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  return <MyProvider theme={drupalTheme}>;\n};\n```\n\n## End users\n\nEnd users configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\nexport const parameters = {\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: {title: 'Umami'},\n    bartik: {title: 'Bartik'},\n    claro: {title: 'Claro'},\n    seven: {title: 'Seven'},\n  }\n};\n```\n","gitHead":"29610ea0b44d429cbe8685b784b532042bbb39ba","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.3.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.11-canary.7.29610ea.0_1646034146901_0.8582741196446892","host":"s3://npm-registry-packages"}},"1.0.11":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.11","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.11","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"bchavet","email":"ben.chavet@lullabot.com"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"jhannah","email":"john.hannah@lullabot.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"sirkitree","email":"sirkitree@gmail.com"},{"name":"davereid","email":"dave@davereid.net"},{"name":"mdrummond","email":"mdrummond@mac.com"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"fc94fdd0e86673576b83f65e015d9ac644c4ad4a","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.11.tgz","fileCount":30,"integrity":"sha512-Ceo8/39ffOVuYPO/d6+dJzP/nhOMCrWNNHbTmckSWtI7h8x8z4TOw4tW4H75AIiATEFxb63FwMn+CXxEGzSECw==","signatures":[{"sig":"MEYCIQC+uiOsVRCT2r4P0Yo7Ap76HDu6dzI13Ec1JDdoqTmeYQIhAI2KA0fno1Y7fWDeEp8BjIOgMjK9ruXiYBvphjnsJAgP","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41202,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiHH4FACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqRnxAAoEia2XEuAp93hc12GYZi+R4GO3tMimHx03Q7FTrMR9mXuHEx\r\np/Kw0zlVjfp5aLifFhF9FfuQ7oYDyuimrjDBiD1MSea5nIoYogiZhtVIbpUd\r\nD4KZlmYj1tEjLRpzJg6sRIzUHFpdTtGIdaFzNfgaK3JslpySXB7YUsdXPhaD\r\nfzrYzkj7XWyNc1jAeuaRABXEXLnk8tuZ1QGVqW1Uzf3GsLWwlEn+NFoZNvUY\r\nSv4o+khXiwSMk/SYUcRaXIyx25sMP3ztIqCBB2oIBYgmgNghJ9SXSUAms9Wf\r\npmnCt4iOYvou2qAnoNPVt3qt3DGumPPKw6j4PLWTBy6yn0TTyVYfiCLUg2hB\r\n3HGZUkwu7mmM5+KYAWY4FN4/cCqCSDZfsP9TgsbwEiBDhVmBcVvE8b3nlPVz\r\n3TyleIr7/Rd91SyUXXpXXqrgOBO9KhvY9pcjItxgQvMuMLu+vudlp1gnzZ3Q\r\nSnEhjIUrSqNS5NOv7Jy+A4SQWEFqhxZTQ6Uo+6RAmr5x07DLKz9ixOo7moDZ\r\nPxgPF4VI7CWuZg+xHu3mjZSCLb54nG4RmcHQMK5ywVx4k1LEmtqiCZQ3lQLz\r\nuZMAM8GJyUgCNeen5Xh12pdRXJwyg4JEgzKmDoLZGGt0p4IcVf5yPH5XGm+q\r\ntm3hPosVcB6ZTZrIaZ9+FSiuyGbEtsAr2cM=\r\n=0FUw\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"597895023a734938a0cf910a20c4b7c27e55bc47","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.3.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.11_1646034437568_0.38687734159541876","host":"s3://npm-registry-packages"}},"1.0.12-canary.8.1c66b5a.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.12-canary.8.1c66b5a.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.12-canary.8.1c66b5a.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"3455a78d10f7bb0f6e8c45f1639e5a03752876cb","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.12-canary.8.1c66b5a.0.tgz","fileCount":30,"integrity":"sha512-cksH75vCKjqyHNyVhoz82Ir64TQIbK+W2+kT980OGjgDrSaAqO8z2GnqDRemQ/A4t5nVwgC4amEc9lrCqRt7Ow==","signatures":[{"sig":"MEUCIEJ1usDuce0TSwc2VT8KtLpmUPi3ZHib5n1tTLY6wK2MAiEA+fRA5NC5PGmFj1FsMQIXJ5AzcfY2nmvOvLTuHGeEgCY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41285,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiLtnZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoZvQ/+NVtm3bAa3L4TFun6eMglLYN6mh2DYwrNbY0HGRthpGFIAwhZ\r\n89V0r1inOSq9+nvnm9F+cAIeWHvX4cfD52bGP90Fe6LkVNpeRZJi6A8vXyt2\r\n4AJE+rJnoHPWtnNnl4tlVj8DKg2cTZml+/ybWCIIIhNVY0xOVVQf1Co8C7Hf\r\nSbWeerIGvSFELAEOpU8qExvnxcyXE8haYyRWNgOfkXD8tCicC4Xb7tbjhUXE\r\ngwzt/cCEQK1lx9lf8XknuCbuvNG+ZCxL1Z+Nim3FsBf6B8KEohWDtNPu6ivW\r\n1ghObiqVmNX8CPzt8yfE9GJlfBrWGkgxw4LfeYhtImR9gpJCEYhqV3kzGxjK\r\nKCMIMI2A/RH804Bnr47pfCUAfeTV2vkarbGLHMqTGSv+5JXXO26Ofknw6Aww\r\ngQJ5FRilW9yn9vOl8037wHx9QUQVh3VjknPnyf+pk/BFd6sgRRGzX9X/FKj5\r\nXUJeID3mjyEQfoAqYwAz6LTE2++qzPtIKkHSSbb6EKNUBMz4atDZ9CaswBkp\r\nCIaWgadzTcJCkw1+3DF0piWtJP6+nGx4g3FyQnmZR6XPidP5HXNSGfNM5UrY\r\nsJg5F1d7uVeo1hfUz33C75UgUIhk/fcL62Igaz0UeDv4oLgCuEswfkZIa4Ii\r\necNphzsgfePx+H4EoYOjtm5iP68OHePTsLg=\r\n=1lug\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use locale configuration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = {config, managerEntries};\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it in a decorator using the following snippet:\n\n```js\nimport { MyProvider } from 'your-drupal-library';\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  return <MyProvider theme={drupalTheme}>;\n};\n```\n\n## End users\n\nEnd users configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\nexport const parameters = {\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: {title: 'Umami'},\n    bartik: {title: 'Bartik'},\n    claro: {title: 'Claro'},\n    seven: {title: 'Seven'},\n  }\n};\n```\n","gitHead":"1c66b5aa8ff08f72a20b8028740119a47b73dacd","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.3.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.12-canary.8.1c66b5a.0_1647237593460_0.995338226074963","host":"s3://npm-registry-packages"}},"1.0.12":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.12","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.12","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"f67902ef4581d444ec5edc9ca29da64d65e28ea6","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.12.tgz","fileCount":30,"integrity":"sha512-4z4sQoLlLYKgXoRy3ZftO/LdfFoNRbljun9zvCFs0wiephOAzE7TU2W2JuvltDt+BN9Z8569v1YJPcBYrPR1Jw==","signatures":[{"sig":"MEUCIQDSYKjjYR5iH+G8/56oA09LQaigE3gp4a5C6qY4XqNh/AIgJBtaGCye9v6DJfQs6Z6MDhi5bHU2jNFAG+fuj0IgzsU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41266,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiLto8ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpgQw/+JkSncs71/AeAySulbtd75Z9iLcM91VnrYFeRymhaULByZRAQ\r\nO4q0v1dqQIhV7H3YSgE4wKIL7uNSduUPWl57pBUGR+96MoOj3OSyghFbRXUm\r\nAX4j8P4nNR+qi6a0m97n4BJM5u+TJWATNCC4dEYc8V5/aWCfuqvgozRk1mfq\r\n21mtzUzc7ycXdcGEelo090pTSN+JGF8BNwzmGKbjWVh/e4Kil6Rgwq2Hy5WT\r\noZXZsAMuJpnZNZXUivnPdElci4fpYlCQQUZYAeKmnE8MxhdJ9z7EzYmLj7j6\r\nL7WQvy+E0XX3s1xXY9mSwfOpb3KmblCqbpNaWjnQKAm1WMQq0ltB7h0AvnaL\r\n0StxI17/myP9nyb8xqqaYAu6uDlk+r+NVQn9V+ttW/MRpwilJboW7tx/vRzw\r\n4/nZ7jRf0Mpd+8AkTZALS/rSeIWb9cGa4afJsmFJJI+TCxsAUpa37oBy/wkq\r\nKNUrvW3dRiHEGW7stsn42fDc6f2Hp5n8CcYwxM3sP/Vg5m2NieqqtkXptIP3\r\nTsAb4WWjxRkeHzcQaeZ4HA1oWTLotlym4HMZfnIOq6KBPRr5utJYG/I0bRnB\r\nOQ+wRQYGii320wbAHdDNiQaTpryiVR9TFUooEvmhc2r9wBQ4qVNfDViUqRAl\r\nzQ0Z9T1S2Lrd6+gwJMPhuKe23ys/g9er3ZQ=\r\n=k6YZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"c8224481b105ab5b8c38fc4896207f2b975e4271","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.3.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.12_1647237691875_0.890855258408596","host":"s3://npm-registry-packages"}},"1.0.13-canary.9.adabcb9.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.13-canary.9.adabcb9.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.13-canary.9.adabcb9.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"a54e524ad9abd84e2c0cb6a8a0e1e12be779290e","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.13-canary.9.adabcb9.0.tgz","fileCount":30,"integrity":"sha512-InTG9Vo9H5c1WyJO0/A/CFMk10CCfhfIbxYhYT+NhyKdEkiPF+cEUbzpgf+SeWIW/KgH8h9dw9ICzn71mYWCBQ==","signatures":[{"sig":"MEYCIQD1nnudSgXWgoEO5g5XjhF4TuVlVTlO6pGoJY1JeWnQhwIhAJWgt+z6gqZewA9z4ue4ZPFy46UkcVydEnRwZ5fqEKKZ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41226,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiLttnACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqOmA/+MAE3LZSxoc0sgB9ejrRwZhOP32T71nIVjf28SMETFwzwk5VC\r\nbBBTXsR4XtZGRb4geCE7YngMnSDZBnIVk3qgmlLPIfb/mJm/0uzD229VJ/8t\r\nCdS94GsA5peMloVJ7Mp6FFObWKYqXVZG9TSh9lTL6kgC5J7Rly0ZscjzTrAL\r\nTgeD+l4q4qhw7WAOJaY2C7kfArGJNj5yAO/i/CGGHwUwRMaBkjI0RgfOHTbe\r\nm2AkIV09pQDRlqPgHCcgo6UGJFz+4M4uCg++AmUGhVDh8Zctpp6cq+a9zuD6\r\npfCUM1vUst28iL4JKYF+Hc5gWLaJK2g7/4fDXS2OChCQz3CqDbjFJYZfxPVY\r\nhWr7ozWcvrb8b5Mct+g933vI6eqPIxMg8Otn+BZ2qXX0i9nt+/dKaTP11j8J\r\nT+5vTbHiR8tj7Plry+edjnmfXcxtdv3HLpMhKBLRKl8xA3rel42fz04GY5af\r\nkuzT1gijT7RMxEhxOIAsm129pGFy9iyMf5TQeIkZYRnwRxgiCbZjOIHuzhV4\r\nfvILNMZo+KpFidhVbp1Q/trGk7SnpYud8nM0ZHzWNrFpJubwFhliWIapBvKn\r\n4t+3bptr6qSJODqqm1kaPhgO/MX0Ah0NSouSFvebYPHMeBHyB/Wu4GO6RHHT\r\neiCGhLSNRSQe8PTB16+hFG1gvXZePuh2mjM=\r\n=zsQW\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## End users\n\nEnd users configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\nexport const parameters = {\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: {title: 'Umami'},\n    bartik: {title: 'Bartik'},\n    claro: {title: 'Claro'},\n    seven: {title: 'Seven'},\n  }\n};\n```\n\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = {config, managerEntries};\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it using the following snippet:\n\n```js\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  // Do something with the Drupal theme.\n};\n```\n","gitHead":"adabcb9ea3513c716728bd3c9d2e6d4a1974e027","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.3.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.13-canary.9.adabcb9.0_1647237991822_0.329452108175216","host":"s3://npm-registry-packages"}},"1.0.13":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.13","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.13","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"6d0c870d7c0fdfcb936df3ce447a5994c7c4717e","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.13.tgz","fileCount":30,"integrity":"sha512-CoCLmRG7Uw13x+ExEk9z29Fjlt/mnaBF3U3Psv1azlsMZ877RnQtQQ+MRtamSsN+TZ+SLQQPqSblSaE/CyTHvA==","signatures":[{"sig":"MEUCIEZGtl2nAO+D1osvkCGtR1kJCVXTUR0NYeExwUT0IXy2AiEA4OAD46UzRwb+CtMvQM7SeFsdBxWGim7e12HWC1kyCXA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41207,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiLtt0ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrxVw//YdoX6kkgswHtvHKbnP+E5Q+U1BuH16esyYa4ZK6KIeTH6Z7g\r\nIaZb0kVI5TIfaT6yW5sj1Tz5L/GAhVFOJ8Ypvd9srRdwekIW8ySwbAXBzNou\r\nBY2rBlpF9ZpTyje/KO1UksRXip6yvW7uLUfxgogM6dbXujQ+WUD2xG9WONBz\r\nhXT/Jio6qmTsKeHmPhrgO0KRwKrLNlcUr/ytZ9d434wO6ClwMvGcyFBpaTbT\r\nBI5jx7rZxwus0XlSvdrEFSeF0sVgxdNsn2nJKmxbLl1KlJqPTX2HJcSgw+uY\r\nsHpRMiwsVdj1w4DvCVNfJO4gDiLAThcTa+A2maMsq7NFacf8zN6VCu5Lht4O\r\n+XHhZtfLF2SIjvlv/4ldpYr0LeFk73xUE4RGn211G5ThElkOGi1TK2EYSb2o\r\nagwuilN1n8/EcDNX+GkCkOn+EVxU/l2SMwgCzZWdDytEa1WoUgWAVF5Rj9kH\r\n6woJnRmldxiALbxE1xevJUQGVCv7MyR0NX0eSY4krdeUow950iBw9zF3SsZv\r\nKa4SXG+8wYZrm7hrfMc0cKFLWW170jlmGqXu+YL76xAosJw/sGdlIYH8PaHs\r\nt2AWkDGzowg7/OtkXFF3VmSEaE72vydq04M78hHbvV+cRZVGa++IDUyUsszw\r\nGej+uw8yRHd3Up2HWihKaybN/6aDV7ww6eQ=\r\n=iOKo\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"e7acee86185104c169f1cca88c449a3eec4c4d56","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.3.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.13_1647238004240_0.323450258433543","host":"s3://npm-registry-packages"}},"1.0.14":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.14","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.14","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"958e60d2971ebefd0b3e91f786544d7a0a1b6280","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.14.tgz","fileCount":30,"integrity":"sha512-N10WBm6cCbtWfLEofR9eYd1ylnEuTMQaZYRwSDAcC6tOV11VaRo+j05zP3m4Sk9pynoPkrGa+FvIR4Z5nEBDHw==","signatures":[{"sig":"MEQCIE9RgJ3OO2kvvvZrsRYexmWbx89KUZaNzN4SgM08Xfr4AiB3VCDt724t0BwUPkBowTyxeYefnU+rfUi4d0l86k4Fyw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":41308,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiMDFUACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpTVxAAiZfNpVMJbDpgnuYNyLyu+bNck3jgMvwtn3H5mgT2mNjvmlYm\r\nx5VwLueocXg59Nt92QmQK9ctsvCtp/pwBn49liudS7ssQaNhoCaJv2Gc/4oX\r\nN56HuwX3hLQb7OZl2TMx5aHe4m1uoRIwfq1UjuGaDgts6IwQji/0ED6SI3b6\r\nhlKbAjT0xIASAlwYoOl+u2WuwBxxNn1BBXxwC3OcDLXfl0YZAMR5f6dCBOfl\r\njFTPi1gjrWBLeTzH/WkmBvUEL4W00n6M13L4G6HFM8p+1g336lX7uqwo4Rwm\r\nH8hK8+vnax6Hg8tg0j93f61Oh+5ESa8AiOrZF8Mrms2htrCvvdthMWansoSS\r\n76D2RyL+MALnPOlr3MQu7Hc02dFl3eYr1f9Z9R6l6bYs2N65Nz0Yp91IV9Z7\r\nEuapetFH6QZnM5b8soELsOiSAgbuOoH4wcVExestTPqggILah08QRcbQnxGI\r\nuiDdlRKJqmKLjOQTLl4ovyD6rIXC79UhbgXjW/cVOyqOOuUjNmT+g65Q42ei\r\nKC9ZOZuQ8Jvcbb5tlJXwRwoRTaXtfxgKeTf1bxe4TrlQuVY0VZCRbvNC46zC\r\nsmun9ZvbiDdJzQMqcDL3Lsr75PSWbaxlKcGlHBS9gOJv2Jo27JdN0ADgkxnx\r\naLf51os5R7X8MXIPzRw1sMdI89bFM2dn2Yw=\r\n=C7/7\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"7d89d98c0b58fd25c892df2ee7b94f1b10077173","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.3.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.14_1647325524478_0.855038461012464","host":"s3://npm-registry-packages"}},"1.0.15":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.15","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.15","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"0d4ee0e71521c755782cb157b3a402b9c3a79c34","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.15.tgz","fileCount":30,"integrity":"sha512-q8VYyNmzn4tcP1kegSnogfDCvZVX+NtQmS99wiR3uS0hEaADdoU2YkBpguzlydXXcRO9DWGH1PVkl0IMJgGnoQ==","signatures":[{"sig":"MEUCIQCB3lF9n83WfQPIZyJqP9mAq8Fovh8JL9prc9BEgXWq8QIgdyjoGjBH2P2BJV9XUfWTbYtvy92S+7a6Tgnh2BXlAWw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":45707,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiNOsZACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoJzQ//Um39C8fX4cFYPOZLUYDpxsbwtHJtK7fcLzfaoImk47OIHjgB\r\nQtI9a5V5fWiAnewm/3W5/l3UCCkziK7Cw+8Y3Nggq5PmijtWq41rGX/PMmky\r\nOzexuNJ8r7+l3OoOtVQumcbsWTfOgynI3QMHXObce+B1ILXIhZWg9H4trt39\r\nog1rAcgVu+Y9ZoiEElZxbvNT0TEi46rUYod5E6O5IN+aFshe3MAcNkRq2nMq\r\n3TE4NPr8ODQl5Hr+rgs+PAxZ54hzH7lNBNnGAgu4ofht13UiVjr0qJSFM1gM\r\naIFf+50naxyTi/qbFm/kYP67Tmqu7rsv0EscN0H/bI2rTUj30nDolgxPRDto\r\n49wyb/7G+lVmkOrXTFXU1I1gM78JpLGd7c752g2cTRyXlUJkXV2ONcFpaUeh\r\nFfajD2s9md3AfNY3kz6CmAUY8hPwhUCJXfMJqzFa2GkTKaCdV9756JWW932Q\r\nH42v65KDMfU1K5F3SMi3IUoVbIWXiDtib3XjRexETxyy/Pi4KtWVbwWrdEf4\r\nbUNVO0eSbgD0H8B5b2ewNOu9yiJNa8pa5c3uZk6Axjk2ApR7srnbvKHhbZpo\r\n1fs1ju4gmSSL0ujNpJ4JamWwLjYcIS38NnY68VVgCA3BTlM+yB0ZfHEOmtac\r\nq9NRumCWyy5dVHgiVH/kQWgKKHKHKt/o+rM=\r\n=T4zO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"7c0c6f06b1fc10325fa24ed9b9d489cda4b55a44","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.3.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.15_1647635225167_0.7063989915142805","host":"s3://npm-registry-packages"}},"1.0.16":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.16","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.16","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"3ad79f3ffcba34d4bec048b1bebb387c22530925","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.16.tgz","fileCount":30,"integrity":"sha512-ueXrYWc0Gipp1bGP2KDr0qRvtcC3XNORJAppwq7Z5EkuXa7weoOOnBA6ox8dLyO+rX08nUxoO3KYb3f1hmxugQ==","signatures":[{"sig":"MEUCIDX7IEXFidsKcToT/9WTlgG1AAUlfxMG9hGhoitBC0qmAiEAvCMTo59uwPpVmA1pcnnkjAqq6ye+ypS5aNsSN4R7h5Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":46696,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiNPYkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmoe0w//Xhcl3P7c4m/xBiJuArNI+H7aHtfnCsHZuo495iusjRcLCuKy\r\nA/dD0rxRq5B/tXesEXFCCzulWKeW5Tn/Gpttzid9E1z8sLybJj/nzXVuVFi/\r\nn3u7CP0lAzHGLKPRxuVOk8p5VR14YOCivYXUpVzy1FyrA6+HFFwXhk0o/8s7\r\nbCgAQkRjLIwBBGDsJBCp+izV+sqmh+8GTIRtC5ige+zBofwCIZuNYa+4DLaT\r\n9rTAB7bPQWxWUh35CICB+lb+cWwJ4r1mvgS7iuUaPky8u3dV3bMhN8isQwlP\r\ndJMdUiOOZimjlVXVZx0Qs4U1Xy35R61nX34nSaIH5Y/pgqXXh7Nq56xwGJyE\r\nS0A+okpPXvB6z9xjHQgme6XPuV4d6wqEYO5FM/r7wp3h4W8mz/xPwkcIVhcM\r\nnVHaVAP1HhXGuVL7mtgEd2lOr93jWlW4vDPQB0WbjplF5hn8bAwQVepMwbkS\r\nKRWs0mtwoijqPci8o54RyfrJx0GsD8wY4xypUNUPSWXW+JqqAyE9Rxc+O28s\r\nyngHqBw0HDy6IZChAXMou7pEM2KnzvYxz80/nCY8sjvUPRHNo5Ik8yU+Eh/g\r\neNzGtFGA+c5OtOYBp28y8x8FL47dclZm6/cd9QgkVIwYtrftFJ8GbtNhG5YF\r\npNr1mYUYjZcMRwaulhX9wL8XcEtM7pN2deI=\r\n=mHAZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"a0b3f35b0314516261ca73ff1afe4ea8c96887ce","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.3.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.16_1647638052398_0.6943387097420135","host":"s3://npm-registry-packages"}},"1.0.17-canary.11.0b44443.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.17-canary.11.0b44443.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.17-canary.11.0b44443.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"7ca8110284e850a7a364e79a79b01f0e2c8dec00","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.17-canary.11.0b44443.0.tgz","fileCount":30,"integrity":"sha512-bk3X4KR5gqKM5uBPi0/QzFR0b3c2f0nesj/HpfK3qFVBqpRWOHM+5CEcITzbjmOSbhB+BJLLeRczL4A4m4kOGw==","signatures":[{"sig":"MEYCIQCzoMwJULEh47eKPcS9jOR+VwV/5/qVJHDShhQoJ+6GCgIhAOSP7DgY8izw8E+1FOzaQ3eMWWu8W+tjzp4oydH/fdkx","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44530,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQ29NACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpUnxAAoz2obdFTUUcFWkF6rvziP+IeCN7WD/R0cpgN6EbzIT1irmN2\r\nQU9pgjc12SZxpu8P7fp0B7uBQyEgOe54KyCQcwvM9ARv+Aza2yzjvmrzvE93\r\npPU+4sMoPTwUHI1bSMgxISqbSyLLPHvkAhsV6Os0kaub3hIfdPDXTAoldOp8\r\nrun9GP4KfxvB6LIaOemaIt2+Y8IBeafnw4zzVJpRjfgUuby7qK4cwZxBOzyz\r\nAn8nT78hMu46Mxz02GJ4eIzWjnrM9IFhOL4sBaYe02b7TaTwFJGJnenk3Ugm\r\nqKpRBG5plrsMQwPEhg/XpZnxqiTHEgjVAQBRlwzRYKUXD1X3MmZhRKv601Fc\r\n3G+Ag4mcX30Eb11bMgtUzhmVLem23iKB0E+pPGqO4kYXTsPX03ARawKWvMnQ\r\nMUU3zBtLxDO+/pqalxsexzvpiEKBfks82JWte+y5b9V4qMK0nAubgPyd3rvH\r\noKrednOP49PCarJp7T5IEiKbhXEUreQUmXn4ki+bACfIN2zPDLUWUu8u+UIp\r\nxm0Ut15/WJOLagVpkoL2nXE7RNM7jH+nOoY41V6nKZv0FG6PTI8IIqZ7Tnic\r\nx9IGZiWT2xmj0VAGQWiVZQjeg4Y/tMFwTEi6DnlD/S7eb1su4lQ2hdWN27Hr\r\n2igKNDS5QgJCyg2OJTsJwO6u4KS50TmLk9k=\r\n=tSbk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Configure your Drupal site \n\n### 🌳 Install the Drupal module\nInstall and enable the Drupal module:\n\n```console\ncomposer require drupal/cl_server;\ndrush pm:enable --yes cl_server;\n```\n\n### 🌴 Add Storybook to your Drupal repo\nFrom the root of your repo:\n\n```console\nyarn global add sb@latest;\nsb init --builder webpack5 --type server\n# If you have a reason to use Webpack4 use the following instead:\n# sb init --type server\nyarn add -D @lullabot/storybook-drupal-addon\n```\n### 🌵 Configure Storybook\nFirst enable the addon. Add it to the `addons` in the `.storybook/main.js`.\n\n```javascript\n// .storybook/main.js\nmodule.exports = {\n  // ...\n  addons: [\n    // ...\n    '@lullabot/storybook-drupal-addon',\n  ],\n  // ...\n}\n```\nThen, configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\n// .storybook/preview.js\nexport const parameters = {\n  // ...\n  server: {\n    // Replace this with your Drupal site URL, or an environment variable.\n    url: 'http://local.contrib.com',\n  },\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: {title: 'Umami'},\n    bartik: {title: 'Bartik'},\n    claro: {title: 'Claro'},\n    seven: {title: 'Seven'},\n  },\n  // ...\n};\n```\n\n## Start Storybook\nStart the development server Storybook server:\n\n```console\nyarn storybook\n```\n---\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = {config, managerEntries};\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it using the following snippet:\n\n```js\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  // Do something with the Drupal theme.\n};\n```\n","gitHead":"0b44443a9adee097338266958a73eb2d9384a9fb","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.3.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.17-canary.11.0b44443.0_1648586573075_0.9180528230021048","host":"s3://npm-registry-packages"}},"1.0.17":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.17","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.17","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"e5b9ffcb82baf602115780cab404ad4ee0f423e6","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.17.tgz","fileCount":30,"integrity":"sha512-ThwmcvRah2DU6aTt+DDhqx9pCyGOVusJ0ZWkTwxsjcSgBvDE1Ay13X90csNdYwNZPe1mBPSPCOT6QIqhGAI4dg==","signatures":[{"sig":"MEYCIQCRIN7Va7GRhT+HloEZweNnE+KCqq0mHkndfLn0NteUjAIhANIaAWvuvMaYD4+DKu0FS1KpLGCzTVIzhIexwuHjP74Q","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44510,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiQ295ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrcshAAhVSTFEc0nt/HGOmdcSRE4TWlLZuyDFbsJp6GDDIA1vJnkGLS\r\n09GJVtbQ7IfC/6uKDsXXZ8F6zhIbyrU5lzzBtye68XutbxvaxR/hLc9Mf7rf\r\neXhd3Vc75+etz7jO6gjhV23jsOk51BPMDjGdySJAVjlHkMKVk2eCeJGlaoWc\r\ncHy4kHDjP+r2Kkwo1bY31/p4DSANGrrUkXGToedRx59rQv/cDRHU1S32fzWe\r\niBPsejbeH9AnTH/Ip7fat42MMkA5z1iPNjhlLmJ5w4E5qjeCpq1DH3ESHE+V\r\ng65uUm9qc42qU5X8SZGvuHRzX/iRaqRU2IcFIkxxI81QvO22Krvme6SA94A0\r\nmGtrgMBGIUepids020F7hCSVZJhD6/PNxCQOZvdvT3lXC+TGaR1rOmB6xIUL\r\npsJ7X3do8xR/dFFB9jZM3C08nBp7MJ2NiYwQiOpUCKnjppWXi84UcHJwSEy2\r\nxfR2/Qe9JYc140NcSM/upteoZH1+b7KnnAkxExicPIA2Ow+mSHG6Bk0f/sdD\r\nsxhz+fWObhJkhYIxDhKivaQ2QJSBV2WyprWayT/Eqh2NqPkcXG2U/oAdW3Gw\r\n2lOXN/I8USg/EE7pjK4wHtxeSJiAfdo/ANUY+aMpSV9MLOidzyPz/TZZKfyH\r\nuLeC/CqbRG7Cc1Z1H7h9Nft6xu0TicFiDqU=\r\n=r0sA\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"b9766da529e204f4199ed29912a5df716c8640a9","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.3.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.17_1648586617464_0.47342373671324567","host":"s3://npm-registry-packages"}},"1.0.18-canary.13.37fbe76.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.18-canary.13.37fbe76.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.18-canary.13.37fbe76.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"3b07e39e08ed46207cc3b0f1028100b0657a5039","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.18-canary.13.37fbe76.0.tgz","fileCount":30,"integrity":"sha512-yPDjQ1BkKXZ1KZQZC/PEGKIieKjp9pXR8vSdYWuvkhseLCvlrao9DU/3YcrbOLWQ2sQErJSIeuIG/piRvGqEGA==","signatures":[{"sig":"MEUCIGr9zhdzI0vt4mF+1ojVOnmhxi73SBnHg9RzKXtxMB+OAiEA6IwMnzS7vMI8PG33FBGEqB5opOO7XoDTe+0+yjIBf90=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44602,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiZXZjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoNoxAAj6PTiCiNI7+McqMp2FcZqyKUbahN5EmHg8Fx2hTDaN0yVdRw\r\nVX36k99QynZlcoTxQbd+Bphya9Z7Vsa1z3Y6o8NZmTtEV/9fPaCzPxnToMch\r\nVHYlsvhMobnXBkwKfOJWq1FOdig9jvrYCZfYjGXJZOwXcBa3OdxVysmmJC/b\r\n6RVVq0YDs7gmzzTNMhTJeBw7tUbDQ9sC0hoES939IrePyTIor+xB9v9/eSYS\r\nISncH23Vxd6Z4PCq/M9IEbPkPNmcVoXEjHZBCJ0Phd4PyInTt6XMZ9amQYly\r\nWFqgki3GvtYxaBb8N76T3YuN4LNouydSfjG01Pc2hxn9D+9+Y0D0cGxxGpex\r\n+a6/2PFC5LGhPn63TECvBmcjESfTaYPjIXkIqNnTGxePKg4nLmAt6WCohijA\r\nMkMe9q45ySst6mzdfY7Q8LP/Ac4DC3SEekgXTM+WPRLwsNsWVlBHHkGspU6O\r\nYT38nC0zicBArMRzQGEoM3dCYkzw30HsFi3HA5xMZVNUlT6RrvgPRXbAU0CW\r\n6Ah/+MABMAHZUZZbBV7zy5TLLoCifj3R6nXzQ0HzCfJ9Ouq6YHy85Rhdq83H\r\nv5m9eHbvheTMyvMaQ0cgg2dbwv3T1umlx5SmKKzOJZU/hWvMXq+869QeJwN7\r\nnvQrtMbsp/K7NLG2hGXMJTUWBgFHAF9nPlE=\r\n=jh3n\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Configure your Drupal site \n\n### 🌳 Install the Drupal module\nInstall and enable the Drupal module:\n\n```console\ncomposer require drupal/cl_server;\ndrush pm:enable --yes cl_server;\n```\n\n### 🌴 Add Storybook to your Drupal repo\nFrom the root of your repo:\n\n```console\nyarn global add sb@latest;\nsb init --builder webpack5 --type server\n# If you have a reason to use Webpack4 use the following instead:\n# sb init --type server\nyarn add -D @lullabot/storybook-drupal-addon\n```\n### 🌵 Configure Storybook\nFirst enable the addon. Add it to the `addons` in the `.storybook/main.js`.\n\n```javascript\n// .storybook/main.js\nmodule.exports = {\n  // ...\n  addons: [\n    // ...\n    '@lullabot/storybook-drupal-addon',\n  ],\n  // ...\n}\n```\nThen, configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\n// .storybook/preview.js\nexport const parameters = {\n  // ...\n  server: {\n    // Replace this with your Drupal site URL, or an environment variable.\n    url: 'http://local.contrib.com',\n  },\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: {title: 'Umami'},\n    bartik: {title: 'Bartik'},\n    claro: {title: 'Claro'},\n    seven: {title: 'Seven'},\n  },\n  // ...\n};\n```\n\n## Start Storybook\nStart the development server Storybook server:\n\n```console\nyarn storybook\n```\n---\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = {config, managerEntries};\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it using the following snippet:\n\n```js\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  // Do something with the Drupal theme.\n};\n```\n","gitHead":"37fbe767a7a8f17a79e6385691f2571e5a28529d","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.5.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.14.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.18-canary.13.37fbe76.0_1650816610801_0.11679973310736225","host":"s3://npm-registry-packages"}},"1.0.18":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.18","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.18","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"e95e28dbfe44ca88b0490e25cac0dcc991cfec2e","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.18.tgz","fileCount":30,"integrity":"sha512-O7dXqg5irBAHyMRTcCnuvrlX+n3zcED52Hr8k0J0d+XSO4VBXDM2a/YFleMOiNikRBAUii7svdwrmLhC1YC5uA==","signatures":[{"sig":"MEQCIAdjztON2/kN1mFYmcluTHzf6xrfg2xyTN2m+OEUfjsUAiA8gPV24e6Us/FZBGtivksotG2b8V4DQYTzlbDUfdy20w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":44582,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiZXZ4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpRqxAAkbIpOhb9rsGr0g44oN9w7GepSpPbWv/upBNLeWkUbd2y8ByT\r\npkg2YH0YyeZK1H6RUH1qVoVPT7fewdlZpRJgjirw+2H3nXD1w/Zz8UoCTl2/\r\nbPY8a/qGn1wB3D2QMAwiIkvFX6vHBmLlaBOLOemoKENFfuzli9umK5bIM0y2\r\npw1t+URRVFwoEEwk/+krlK/8+HkFenkcDm7qpvKk2Z00+ymwCI8LTkyFlJ0z\r\n6W7xEDtifaCPta2nroRnLJ0kmYR+474QVI8gU5F4yP9iascRYeAoGzYVgXtV\r\nGngbnjFrfWkON4UM1mg6c6XwW93InIHOSh6G+rCCEezumQB3JACLscZN+aWB\r\nLekSyMxGsIBhLEdazrWl9ZvFACJxkSSqr5TZ40YhTqn6iGm27vrE3/hkB+3M\r\nxJJiqSVUpjJmDG4hgEhiWPkvtxU9YILHflhmQppEG3I/VEVCFbXIF1NuQzM/\r\njn+K9g4PVWQGMmCkIziYoyKF5cCdoXB/lXoDwIAYxnGchazyi5LMYjoURorp\r\n/hfWz8j7LPXMhG/xe11cpNsUBdoGeOFPjjvarOWdh0D6jdZV6zCdcoKBRMxF\r\nVOyimyTFJMRoIVXCa+oab/xGc0IIdrfJHN8EEhgjnqiYRFmMRyDoS/jjRxH7\r\n26YsaPh1ZSSqEQvbAtEas1Qal2HA2Bj746o=\r\n=Mi7S\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"14d66c31be077b68c5dcd493727c2aadae245929","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.5.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.14.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.18_1650816631894_0.6015556881924","host":"s3://npm-registry-packages"}},"1.0.19-canary.14.8697e0f.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.19-canary.14.8697e0f.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.19-canary.14.8697e0f.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"79ba3e82338b15b856c2e604d8ce380e757a14eb","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.19-canary.14.8697e0f.0.tgz","fileCount":30,"integrity":"sha512-Qch+KQDN1BORZhqym2qqwMhnvSlDc12PYDUI5PCkkqdc8N1yMQy3FQdf5JJLUAlpHV6GZfZKMGnrQ05IOCtq5A==","signatures":[{"sig":"MEYCIQD7I4DJQYuUyYee2O/B/mlOcDycOuvjC1R9RgpcQUS9RQIhAODpu+BNe+xLLHtW9zFOWBziwhcUhoa3oV5pl8E5ZrVt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43003,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihiHEACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqGAA//a+5kmR6CMnD3GL5VcSQJfblo7D6L2Fokwh/d5PwYJcPtAWXq\r\n9x0wPh9KRs2qeP+7KKJWcO3E415+f/TLNKE5lE/G7nUspJFQVZpZWBwg2siC\r\nJwCO4rpx0uYeIDFsdrzWZvTcV0Sf52coVkKwT46K/bT8zWBt3CNCuDIQXDp8\r\n9xP1fPvUcOlK2K7Po+XEIYy8RV5JoUK9ESa/dOJ99sHEkVSkbm/BpTAZrri0\r\n+PnBYN8bk8Ro/WqMbq00Gp4Id21X7k/1RPPBhbRLe7VRoR5h3K5mbHUDNHsr\r\nt19+pkvIdi6cPGc4qVAHgit+qb8J2lDVImD8jSbaw9I4utOhgjpOu/wE3tJN\r\nHUCXMwq+8BTWaeOxvPe2cCTrzK2g7RUu58BGBif6d4C6neQiaxHvuA2vU7nA\r\n3zzEaZ3Oopm+J+MPKFPTiX9DJ3V0i74rn6GK2YHzmjNRjK7dQN3U8HfyhTk4\r\niAJwHGPZoS4X6TDNKJJAkbN95q4/vIWffRIraWZSdBhhxFysEdrvDc9tLZWY\r\nHlQIy65SL7+9trQcAIZ6BwG+uldrtEB7cDhLbtHZkQTERCXtT/E20TnJjvea\r\nHrBRJpqzRyqR6CdU1k+yqOpNXyO6fKvYNzAYrbI+1GMLy9vAYJKtNu0nl2jq\r\nx9cOzWjZgOmO3pNn+0ML34+x16RPXXyadcc=\r\n=xTjf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Configure your Drupal site \n\n### 🌳 Install the Drupal module\nInstall and enable the Drupal module:\n\n```console\ncomposer require drupal/cl_server;\ndrush pm:enable --yes cl_server;\n```\n\n### 🌴 Add Storybook to your Drupal repo\nFrom the root of your repo:\n\n```console\nyarn global add sb@latest;\nsb init --builder webpack5 --type server\n# If you have a reason to use Webpack4 use the following instead:\n# sb init --type server\nyarn add -D @lullabot/storybook-drupal-addon\n```\n### 🌵 Configure Storybook\nFirst enable the addon. Add it to the `addons` in the `.storybook/main.js`.\n\n```javascript\n// .storybook/main.js\nmodule.exports = {\n  // ...\n  addons: [\n    // ...\n    '@lullabot/storybook-drupal-addon',\n  ],\n  // ...\n}\n```\nThen, configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\n// .storybook/preview.js\nexport const parameters = {\n  // ...\n  server: {\n    // Replace this with your Drupal site URL, or an environment variable.\n    url: 'http://local.contrib.com',\n  },\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: {title: 'Umami'},\n    bartik: {title: 'Bartik'},\n    claro: {title: 'Claro'},\n    seven: {title: 'Seven'},\n  },\n  // ...\n};\n```\n\n## Start Storybook\nStart the development server Storybook server:\n\n```console\nyarn storybook\n```\n---\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = {config, managerEntries};\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it using the following snippet:\n\n```js\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  // Do something with the Drupal theme.\n};\n```\n","gitHead":"8697e0f67cc82560560182499188bcaa6a40947b","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.5.5","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.19-canary.14.8697e0f.0_1652957636010_0.8121338735710018","host":"s3://npm-registry-packages"}},"1.0.19":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.19","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.19","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"0736d68d83b377f6784e8f65885c7db7f4e15cc1","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.19.tgz","fileCount":30,"integrity":"sha512-i0NKL+6sQkHnkto7tuXTXghaswwZn8zgLLfbuvwfijo2hgL8BBXxx/u9ouRDMTWF4R1cQKaNyqIJtm8+FUOEfw==","signatures":[{"sig":"MEUCIQCqgGREtpdWBVeuz7CUHUN1Z6iCc7ui6SypSAvaRbpphAIgazcWr00DwnAxR/umsfcToWXAkizShmZKfdz0guvsj7o=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42983,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJihiJmACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrcJw/7BDoOMqIPSHAekbpv5l+O51m3Zjg1Ev4FgTZT4enKGVgJTAIO\r\nE9cY7DgYEc74PECmfNvbcu1hq/jpCWDkE8/NsqLtL0ebi3NngAbXHTDzBCOo\r\n0IV8UmdD9RkV12krLyUCnKl5KjNEq2AV+HDKsRx0EmjwEkm5Ft5AIpYLcLBA\r\nGvK3CZ+bVsavKdrEg8klZeKdd88amnIhTrn5Cq5sp1gRSC4DBQRdJ9mhCw8E\r\n3KAce59yLshoFjZjaJNujFyco+Zg44x+clBvFh6fRSmLYhi0fqRi5WY5vaJH\r\noe0o6DgWnPOmmmt7TPtPQ1GvFySZlRGHkOdsqX7hSlMUyJy8HIvQidjDLJV/\r\n/0UzQkDbCfwA/YzbDRUQy4cnyfSdpj6VosLo37xSXbSF9lMgh0eDdy+EnsCh\r\nfrompQY67ZgOvgMH7OA4sH0IUXnpGdkblwpfgql8V20c6GNWn5jFV+/faTnt\r\nNKBuB1wYeayqG/9JJmSsaV3sVvPaph6U1StXPG9Uw0yHdvc7uZDm4UReINuX\r\nR7e9uvAPHZ8ziSiGIhBPQwM+LcNCAQWJD+U7hSWucUpHIkQzEOVjgYu7U4uY\r\nO2Vv5nNm1A1+fXdiTIN/semCPtf4kne5HxdzebQbmQAz+bz7nfmBtEx4zr/n\r\nqeEZ6zxLF8nuFCXe/om7ED9S+DddJS1Jm+o=\r\n=QXZf\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"737e304ad676c2c4819a82c6da05077a149d6b6c","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.5.5","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.15.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.19_1652957798331_0.48571191388904755","host":"s3://npm-registry-packages"}},"1.0.20-canary.15.df5d0f3.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.20-canary.15.df5d0f3.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.20-canary.15.df5d0f3.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"0bd43a2fb6fdae5a80eb98d085aa51532a836aaf","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.20-canary.15.df5d0f3.0.tgz","fileCount":33,"integrity":"sha512-Y19Mx0nn5T9tMqXjO9qy1TwFGdB1MmRwohndDMYwjsOtFzrCFQPd0xdaunU+5vL5ONaJwuPl+K7CNY2b5VLA4w==","signatures":[{"sig":"MEUCIQDlVArP7jRm5oHZWqXl3NCuA2tbUoRRrgFgsXD18ai1fQIgbZ3U83CfEa1rYSJVJDFRnXNTTeFqiBN2jEE8Bku9FVo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43856,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJix0XcACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr0qw/8CP30H7zMn4BzaDXqZJV5BFtxRHvhLTTnEc4ED8Lbc7Ro7kvf\r\nuyxJVawGU3PdtvfPNWo2BSlvAhgQ/ssIR1bNfvtHyWcZV2i4bGJbRj9r3nYf\r\npVIkmBaZ1GvUxle/uMjQaBngPgI28LVU4oliF+G6Mk4c+mX0LO7C2rLsvX34\r\n7L/Op+jpq1hasDmthbKiyv+bwwL2UqqDsvKojRdEk3mzL2BilJK4IBuY3m3U\r\nKuHZ9FZiXzi8uJL0zOTtVFt1Xg5NX1QdkfBlFf+Sj+WxqQFOnxJWUSB1Lj5S\r\nfvv2aAMxlR8yO8kd7UMkcSuxAh6JjTWMf1LXq/0lzgUIxuFy4+F8AsfOOtvU\r\ntRIFpCgIEWQlOAd6ohAv51yT9FMHkVuZENRILtHMBDVO0S7P58aOFQT5LAYc\r\nA+P7nCAMP935Kq9vVjLlo3s/L9cYqiFo9BAH/NiQwQomTmeHw+9ddYcXevbv\r\njweIFQqEos0/bqgpufTOq9SbOH9I61kqWFHQxeCv4p+sKQZb94YeUzz71alD\r\n9I1yL3tmymWlXiT654aFQHLmMwR6YhyEkpsCDE4dUmFT/49GCGb3ndET7nRy\r\nwDE7TwG6bEZ5dbv8MlPYkvCbSZaankyHhqTV557DkNecdXcKIqKHWnJMMlM0\r\nKRDljJaZmIuQEIehAIzx3vvj9h0zQPVmZvg=\r\n=QfY2\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Configure your Drupal site \n\n### 🌳 Install the Drupal module\nInstall and enable the Drupal module:\n\n```console\ncomposer require drupal/cl_server;\ndrush pm:enable --yes cl_server;\n```\n\n### 🌴 Add Storybook to your Drupal repo\nFrom the root of your repo:\n\n```console\nyarn global add sb@latest;\nsb init --builder webpack5 --type server\n# If you have a reason to use Webpack4 use the following instead:\n# sb init --type server\nyarn add -D @lullabot/storybook-drupal-addon\n```\n### 🌵 Configure Storybook\nFirst enable the addon. Add it to the `addons` in the `.storybook/main.js`.\n\n```javascript\n// .storybook/main.js\nmodule.exports = {\n  // ...\n  addons: [\n    // ...\n    '@lullabot/storybook-drupal-addon',\n  ],\n  // ...\n}\n```\nThen, configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\n// .storybook/preview.js\nexport const parameters = {\n  // ...\n  server: {\n    // Replace this with your Drupal site URL, or an environment variable.\n    url: 'http://local.contrib.com',\n  },\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: {title: 'Umami'},\n    bartik: {title: 'Bartik'},\n    claro: {title: 'Claro'},\n    seven: {title: 'Seven'},\n  },\n  // ...\n};\n```\n\n## Start Storybook\nStart the development server Storybook server:\n\n```console\nyarn storybook\n```\n---\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = {config, managerEntries};\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it using the following snippet:\n\n```js\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  // Do something with the Drupal theme.\n};\n```\n","gitHead":"df5d0f3515a1b43142bb451231d5b9a779f4c683","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.11.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.15.1","dependencies":{},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.20-canary.15.df5d0f3.0_1657226716367_0.06444866583599929","host":"s3://npm-registry-packages"}},"1.0.20--canary.16.7df1b33.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.20--canary.16.7df1b33.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.20--canary.16.7df1b33.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"d4932733041253b09b4cdf36c16ee2c94d6abf92","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.20--canary.16.7df1b33.0.tgz","fileCount":30,"integrity":"sha512-CREnk4tqUEufHPb1LqhGqNcCOhIK52jvl2KR7CxjzWPzXyCNWBFsrnGgOR+mb6Wse/uGPWDGLdL9552oPEXe/w==","signatures":[{"sig":"MEYCIQDdhNnEXO4KtfgAR4kttGriLvN3Uyx8/E4lNSJ4lWcqSAIhANl/9zh20j1AbJi6HLw6K8agjTsEz7DCe6Px/WXCSKf9","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67332,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJix08sACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqIdA//X4oijXr/l/axHyTt/9/v+dOvElSUuTDJSNkksdHG6pO0NzEa\r\nFZVRjmm934v89GAFWS0/TjccNYoe1qbeNjSWXbtwapr8RCYDuRSEnyE1x4Et\r\n3paVB0OWaiic0HD0qW7s79AmOM6vfniI3RtNdUk4OLKd9ldtb9pSeqJ5DMWF\r\nF0rfLs7lpoDjWFd/6v1nybowCPlx77oY5faPlFqTMngSUdbTHkE1wd+uf3Wn\r\nwmh+bIgl39QPgynXywwQw/5L7ZXPHZqCl3/8UJJW7rOSpFLpNZFi34KwTizc\r\nFO+d+s24XYXuIi0T3MA3fJJXyfBzQtW19Oa5JfLyANRPdwjr7Om/TnIM+j6p\r\nVhnsOWCCj/chrESMa3pDgmTB/Vu65OhxT8hQuCN6TrZGM0yaXf3ljjeqg5yo\r\nBdqUfSIVx37jMHbmfQ8S+FvHxLeVhbPuBvhqhxacIqcAvVzatTlAwBsRu1qZ\r\nvMc2AkwxXE14+QFyIK0tcDf/TK5vjtjFyWBI68j6OjGaoa7g/hXSGv4bggH5\r\ne3/+oJuSlwwWUuAXd4AAJrPmjRXNfCA5+6yBpRqm4kKB33bJwVRn1psrMxzX\r\ngiyZPTxSL7g7YWjVwx5089MWsb1yEDW98L7V+lcEMJrbBgwkrgylN03z4hhG\r\nm0B2b/7XLRH0b5URD6BkCqT/IiHbREmnv5M=\r\n=1mro\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Configure your Drupal site\n\n### 🌳 Install the Drupal module\n\nInstall and enable the Drupal module:\n\n```console\ncomposer require drupal/cl_server;\ndrush pm:enable --yes cl_server;\n```\n\n### 🌴 Add Storybook to your Drupal repo\n\nFrom the root of your repo:\n\n```console\nyarn global add sb@latest;\nsb init --builder webpack5 --type server\n# If you have a reason to use Webpack4 use the following instead:\n# sb init --type server\nyarn add -D @lullabot/storybook-drupal-addon\n```\n\n### 🌵 Configure Storybook\n\nFirst enable the addon. Add it to the `addons` in the `.storybook/main.js`.\n\n```javascript\n// .storybook/main.js\nmodule.exports = {\n  // ...\n  addons: [\n    // ...\n    '@lullabot/storybook-drupal-addon',\n  ],\n  // ...\n};\n```\n\nThen, configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\n// .storybook/preview.js\nexport const parameters = {\n  // ...\n  server: {\n    // Replace this with your Drupal site URL, or an environment variable.\n    url: 'http://local.contrib.com',\n  },\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: { title: 'Umami' },\n    bartik: { title: 'Bartik' },\n    claro: { title: 'Claro' },\n    seven: { title: 'Seven' },\n  },\n  // ...\n};\n```\n\n## Start Storybook\n\nStart the development server Storybook server:\n\n```console\nyarn storybook\n```\n\n---\n\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = { config, managerEntries };\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it using the following snippet:\n\n```js\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{ drupalTheme }] = useGlobals();\n  // Do something with the Drupal theme.\n};\n```\n","gitHead":"7df1b33f4d1840b307a104cfe17c1f8666979285","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.11.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.15.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.20--canary.16.7df1b33.0_1657229099977_0.21796066129463054","host":"s3://npm-registry-packages"}},"1.0.20":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.20","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.20","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"d922462f7bda62eb15d2ab0c64fc65ccc923b6f0","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.20.tgz","fileCount":30,"integrity":"sha512-q9pfGnIzGBcYv4w8cJAsZ41SeyeGeF9cLN8OjEOypdJdiffhcOXDp0I/pW0NziMZSq52El7f/r4pBdoIiNXRfw==","signatures":[{"sig":"MEQCIE3ZMh1T4ZBeebQf055Ytd0CnqqRYgRO9b9mcPWYECdQAiB/pgeqwyNxOQ+EAqO+9KEvEylsJ6/0E3M1MvvxMnwJLw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67311,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJix1ANACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrTjA/8DA1VsT2ZAblBPCO80sF1SJeCiYEc4ZMJdwKRsyqdyJi8Oujw\r\nQ3CtwDL9ww5s+mkrYk7eFqoskE4pw3g4ykRTGojAN41hFx1ThicfEdZJXWlr\r\nLJe9JbYel7bmMOTy+Uba0Xh3qRk9UGr4NskXPrj2NhSGBud7Q9dHbJIUbeC0\r\nXWMMx4C7Pu18NsRse66wUZWL6/ASVMQiLzNXOmZlo3KQ8qjzNn2oD7OBPJmV\r\nfVB7uADgo4/CD5TP2Juv8ketqfGfFYQRsLdsV7xvAK6uOlaYVcCXvy/2hjtc\r\nwxvrSevzY8LIs2rxoH/Lueq5jBfkTNejXe8E28pcy2uUqreEdqgJsCs4jkVs\r\nqBZVhEpX8zZoypUcISrom5LA7tLPdNy69FU3RnmSJV3bdoeDg33iLBrKEdn5\r\nu59AYNerEYhqNG3MaD6Ovm7Mm7x3NipxjcOd/whYv27nvrHjQ8M/p+q3pTHW\r\nhk5gFwv2g73qkPmzs/Gg+goJ/6MhckbP9eNzk9W2/nsL7zJgJzsaGV85nYpx\r\nPHu6xAPnPustjBHgAa65BNyJWpAAoLqldit3vOn+9Tx83Zd5CI3I+3frj9df\r\nuujCUuFEJP8gYebEUTTQiY+nZkBeWLe+qZHLQWr3AydkvpaYWo+e4S+iJ1v4\r\nCi6puT9U4zB/kHVgt/Bx4DeiDkO79bsmhyc=\r\n=0w/A\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"7afae8c2cc8a7ef6c5fc2824d676d382948f94f3","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.11.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.15.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.20_1657229325422_0.36833564129646623","host":"s3://npm-registry-packages"}},"1.0.21":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.21","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.21","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"16c5c42677f4777d794a268b27c239816cfb40d2","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.21.tgz","fileCount":30,"integrity":"sha512-nzLRJLXR74Jbv5/0lvZXUFLpPSAvHkhPx5pL2rAYBVJTvHXFG5IosHUV/nJjZEeb+fA+gpIw5pEl2eSSoBOL5Q==","signatures":[{"sig":"MEQCIDmq1G9A+2UXuL2IN2gqwoNVbnMDst3Jf8Q5IhyrH+aYAiBN9FqGK3OGxY5E53GLKFD9hJtkkY8TejotRou0Fjswfw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67311,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJix1DbACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrlOw//V/klxThPMlZtId+qy+VeaFSgrYQGz2ihgkCUfexWsYWAmqND\r\n6MvUnAqM2wc4DvEBPMjYAtQLM9cAPt3RYfaqGyOLNK5CcMTWG68XTnimuon5\r\nbgWqZtjZ9A3YdWwM/fzzF5dWgy1RBqsETeMGGu8ppvxOnUXX8LMGBtIsY2+L\r\nPaRH+JSwdzRMfevyHS+96z6lk4ZMQT5CsI9r7Y7D38C7M4Oxl6IamoZ7htnT\r\nvQ+xAgw/msO4KLCYt7FjGNVQBqhhOrQB8PASetqQbZq9O3mngf4H4/YlkZaT\r\n6JStFrEV+ZciVMb9dO2BYL4Ab7Y/umeKodXeGQXfZGnFoYoYj++FSklUGMUL\r\niaaS2w5yAkXoLgEuTRWg5GucXQQp61lLCupj/f83o9eM57Wyyn5mWzZH1rI6\r\n4xjrtqcoOR5Q0PooqQpBzt6RsZRXYCPP26BTtyuRqs3UmKreVUD6m6SDtzBw\r\n5uNVbnOSzWuYe2Wb1TfoobRg0Js+/g1PdviiffCXwveqWA4lniTgqMzwKY4m\r\npctdw7bmoxMfoGIXIhPmCaZfS82d8TsWgY2jtGx06qwvAobt0AVICiHb5Q9G\r\nTx+9iPnwPlQeXBpt/oSKbacWOt9NfocOEfHcFWetdV1TPHiXqjOOMhZP7Fss\r\nI3B8Tg4v4jQXrnuiv0B9TfSNw0rt6JGSsjM=\r\n=zXH3\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"4c95f94f0d6217f236d86c8f1260324908efa397","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.11.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.15.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.21_1657229530825_0.7569888599566583","host":"s3://npm-registry-packages"}},"1.0.22--canary.19.62f64f8.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.22--canary.19.62f64f8.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.22--canary.19.62f64f8.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"7985aa83d3fff9d74ab04522bd876b37c16224f5","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.22--canary.19.62f64f8.0.tgz","fileCount":30,"integrity":"sha512-kEMagrIoxVby+hEBaTS3UmB+SWcTCSwz73+7jJxil9FOVlQkFeZgY4BkQTu6pDj4r1hHKJ5EyTe1yneot8RrtQ==","signatures":[{"sig":"MEUCIDc3hiMbco2L+2byz4HFEo+qpH5j9PYgeAuE+SWNd3gyAiEAwpAWZNguULuf6pM7fcZ9jefTRFzjWOC7DmhQuEugU8A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67544,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6YcrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoV+g/9HM32q/MuouuQsOytiR4iGUbmPA4afxEi52blqujEuVwUwrDQ\r\nkAfO5AxdmivfvDbJaADyxUT0eHxEahEnjkMTiFubcUyNfcZyOSsyhksIBuIw\r\nub/Ah30yp4s7izL0hUt/ke7aFpHg3edomHI3pNUx9h23ir/Yr41pcBx0BjKU\r\nwWg1cw8Fwq1voMZbyMAjgRJHoD8+jixQNf6vpDgO1kqK7x2enqsKz8UXjV1Q\r\nletL+40L4GgLKna5L8GgIxcBCZ8B3Q52rfI6x7zeHATu8ucvuSccmUmzka/i\r\nm1JfWJC4Sq4bE+ufMG5616eFyqX64KJPH1+yk9RBW3auwxFyVdVLnHaxUtsB\r\nSS5nnWr+02DuQFnMz67+bj0CDqFvL4mu3a6Z4eF12RHYdBgxqDeFhne5nx/K\r\nKyv1rTYxPsfTwt0LyuF2+ntSV9p0yXVPtSxxSI3fRG39fEMnuLk5kbJvncq+\r\ncCNVIUR5kiWos6tnV8FUJgCNdMOdboYop/w2v6pwJ+FOGdI4MnlQJsug7IQm\r\nwxkAvbm0NyMnOkuA0Bd/zj+wpmgNdnIny9g0/PWv3W1PrzImy+m0koxlwfUM\r\nO864akvfc2fjkqgNcnfMiyMgh4DfKIUmHmNAlFDfVPt4LquotnZMQJ5Uo4v6\r\nXjrgNgL2suNLb7K1hp6H30XUOYDbLXvX3Is=\r\n=Nz82\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Configure your Drupal site\n\n### 🌳 Install the Drupal module\n\nInstall and enable the Drupal module:\n\n```console\ncomposer require drupal/cl_server;\ndrush pm:enable --yes cl_server;\n```\n\n### 🌴 Add Storybook to your Drupal repo\n\nFrom the root of your repo:\n\n```console\nyarn global add sb@latest;\nsb init --builder webpack5 --type server\n# If you have a reason to use Webpack4 use the following instead:\n# sb init --type server\nyarn add -D @lullabot/storybook-drupal-addon\n```\n\n### 🌵 Configure Storybook\n\nFirst enable the addon. Add it to the `addons` in the `.storybook/main.js`.\n\n```javascript\n// .storybook/main.js\nmodule.exports = {\n  // ...\n  addons: [\n    // ...\n    '@lullabot/storybook-drupal-addon',\n  ],\n  // ...\n};\n```\n\nThen, configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\n// .storybook/preview.js\nexport const parameters = {\n  // ...\n  server: {\n    // Replace this with your Drupal site URL, or an environment variable.\n    url: 'http://local.contrib.com',\n  },\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: { title: 'Umami' },\n    bartik: { title: 'Bartik' },\n    claro: { title: 'Claro' },\n    seven: { title: 'Seven' },\n  },\n  // ...\n};\n```\n\n## Start Storybook\n\nStart the development server Storybook server:\n\n```console\nyarn storybook\n```\n\n---\n\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = { config, managerEntries };\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it using the following snippet:\n\n```js\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{ drupalTheme }] = useGlobals();\n  // Do something with the Drupal theme.\n};\n```\n","gitHead":"62f64f89de17cf6888e17317376065ef63451257","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.11.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.22--canary.19.62f64f8.0_1659471659173_0.4418301921002401","host":"s3://npm-registry-packages"}},"1.0.22":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.22","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.22","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"2e76dfae2923f273451987891aa2bf69fc2f171e","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.22.tgz","fileCount":30,"integrity":"sha512-YbE1hMmjtHhWi6Eh982649kbqFEXoLggNrhND2barwrkGvqP0Vso3nGQgp6cMaWdXh1KuHNrPLP1Ri4SfJvt8A==","signatures":[{"sig":"MEUCIANzrL2tNgyO2XSpHA+Gpl+ToNA6xW7OE+G93OenDv9VAiEAo18DI9K+3fOD9ssZYmdqXX2jn3KzlT06+94hUK0HMyc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67523,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi6Yl3ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoTnQ/+IbWBtw63d9wglm7Ej5NQzzQnuPyq9sDVVjpuZcacMw3NxI0B\r\naj8fJpcR1Wm8D77PXHhbeczL49UDVIEaHDghPjWRgKA4fg2Qd8Mgp41KqjFG\r\n6BMEvSRbErX7DyXdvSUgIo0NSZ4QWFZ7VXwkiROdth2b497nQByOrHCeZOYR\r\nZYgsjlGPQuIl/29viuTVMR7zO9oB0rhWm9XqcpL9IjvuKTdpr5ET1S0sgKHJ\r\nXaiGOaPHytYQhXvjqypBp1P8+zBmJVhaO52sFh35RnvIjvndah5P0tiSjQSD\r\n9c5/EHafaAnwJCJYBV0eeJzNEuXqbnAifsk5vKENitTiPQ+2aBDmtvNLW8CE\r\nSFICWC4nCA6nQumWFr4atNeFlShWQ3x5NbKpLQRc0YE2XYzFwlfZkzUJFpjY\r\nGqa/T1LOAqgsKnD3bMQ2jj7CuUEJrwMKR1p41Zt3KFGYWnW2p8NXSN1tP/eS\r\np+tnIujizEbx+U4FSAvPRJxphfp+VlP9ZuEzxwxRBil12MlZ5y2bWtMSjJPX\r\n2sPmZBWqTjKiN69wuh5FvorhVdDCjmGMvl1JFnpbAEQpwe9COvWZUHkTOzgN\r\nuv2FdEWM/b3m+26p9rKr9Vrec3GBuKfu8c1hXlERlm0OKzQTgtw5z76IfxpU\r\nLtQwgjTETAOk+/2+COeE2HUdpf3lf/0QJX4=\r\n=iwl6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"9f1e4c25e29eef918787efb39b6b363647af26ce","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.11.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.22_1659472246881_0.7750577275569048","host":"s3://npm-registry-packages"}},"1.0.23--canary.22.bdbeef7.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.23--canary.22.bdbeef7.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.23--canary.22.bdbeef7.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"43ff5e693ba7779ff189eb99609d3fa3a2dd9077","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.23--canary.22.bdbeef7.0.tgz","fileCount":30,"integrity":"sha512-FnO49vQPBor0Gn7qJqo1LRNrnTUg6jTXj6b26jI9YMOBT72K5GMQIKaJGV59TupieiGimerVKZ6LwBUh8Q5gjw==","signatures":[{"sig":"MEYCIQDLAzOvs8zxZXwHEV0DQvIJ2Uqc45SLbSbCRw4/eGn3bAIhAJIzmX2UJsdZDsuy44Me98FA/vwxaWfXK2fYhkkg6SQt","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68116,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJFDkACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmphRA//chz9MCRUyMvlG0GoA4C9fMtdDCgLdpz9odH6Px6vqP+gzbj7\r\nQFa0XSseFrDBqjhvEd9A2/NCBNYA676Y+i4s8bCjKUlP72RwNzCs4b+GVbiG\r\nVxFKmSwMGgs11E3Snq9fnaQlalNBRjsULaIY6zB7F7GEDhzOxSzZ8SU9dT69\r\nKtvJxqu+6WxI18ImCkiNC2KUpnLR8W7GDO4GW8lh7FpSVKDvrAluS+0GXBWb\r\n66gaIkxKAnTIurwQ76tgsWFuownLD58hVtSL6WbZAoApHjNJNXrucKQeS1w4\r\n7E6GzkCEbhZOsKFWpCzKouw3YJcR3IaxXRJqGDoSzVGCnQrgHjgWYqoUO8MT\r\nIEEMyLBOaYQpawDaCY1daikXEtaEfM5Mhf2ZeMgsLBcKWdaaOnf8MLfN1HFr\r\n0BBSZnhCeuHvTjKBpMPv+tySPDUURz5Gz1H9KhVa1gMoA+c8QitUbTt3movH\r\nKBwdWOZE6uFzlqYI6170QdboXSskBsNIGWIyVQdsv/TPb6H/cCE+WxbSm+F4\r\nx0SLv+OE3103XbWUo3favXVSoAsM+yk6wz+VHHRYXJ14c5yWsf06szTrfFOl\r\niZZ8yJpWMSsaQ1/G6JSVN0oVwJL2Yy0dprT4q1vW91N8/INIK6D0FAFliIEI\r\naoBM/g8jPQd26hc4pJJ129//pJ+RblkEXZc=\r\n=mCmn\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Configure your Drupal site\n\n### 🌳 Install the Drupal module\n\nInstall and enable the Drupal module:\n\n```console\ncomposer require drupal/cl_server;\ndrush pm:enable --yes cl_server;\n```\n\n### 🌴 Add Storybook to your Drupal repo\n\nFrom the root of your repo:\n\n```console\nyarn global add sb@latest;\nsb init --builder webpack5 --type server\n# If you have a reason to use Webpack4 use the following instead:\n# sb init --type server\nyarn add -D @lullabot/storybook-drupal-addon\n```\n\n### 🌵 Configure Storybook\n\nFirst enable the addon. Add it to the `addons` in the `.storybook/main.js`.\n\n```javascript\n// .storybook/main.js\nmodule.exports = {\n  // ...\n  addons: [\n    // ...\n    '@lullabot/storybook-drupal-addon',\n  ],\n  // ...\n};\n```\n\nThen, configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\n// .storybook/preview.js\nexport const parameters = {\n  // ...\n  server: {\n    // Replace this with your Drupal site URL, or an environment variable.\n    url: 'http://local.contrib.com',\n  },\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: { title: 'Umami' },\n    bartik: { title: 'Bartik' },\n    claro: { title: 'Claro' },\n    seven: { title: 'Seven' },\n  },\n  // ...\n};\n```\n\n## Start Storybook\n\nStart the development server Storybook server:\n\n```console\nyarn storybook\n```\n\n---\n\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = { config, managerEntries };\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it using the following snippet:\n\n```js\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{ drupalTheme }] = useGlobals();\n  // Do something with the Drupal theme.\n};\n```\n","gitHead":"bdbeef78fd84bcea2ffd0846e9f0a2f275cd330a","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.15.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.23--canary.22.bdbeef7.0_1663324388295_0.2995496526437307","host":"s3://npm-registry-packages"}},"1.0.23--canary.22.7128684.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.23--canary.22.7128684.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.23--canary.22.7128684.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"3347045f4a55e6a210ce1ef4609ef9dad6ed5ceb","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.23--canary.22.7128684.0.tgz","fileCount":30,"integrity":"sha512-ueGbMuIbfr1Q7MtGTTk1/EbdURNEJzrOQfLyXWve5b+jIRpKmY3g6Qm7qllQIHAJAzDDWuvCUamVVOpC4aXsKw==","signatures":[{"sig":"MEYCIQCbBSUwJyDZQ9ch6lGVt+ygoZbN2dz+6HjBHuh8jo/l4AIhAO74GZfqr6K1ODmVyAMvgMqpiqSC6Xy7vD3erP76c6Ta","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":68128,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJFRuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoIpBAAoAraiXbsogFdnxrlJIXkzQQo1cNWkU0ppZ6ufai29BOE5TYz\r\n9nBxZ7dtAwLlcp8H9v1DqlmNX/p3WmStvdU621OCnccJeYZF791RdmcMMzrP\r\nHXNoiWjFPMoN6ky2/qSTaY6La8J5v8Q3K2sjBVz4+H6K4pwKK99WLnzFkxeN\r\n7PbahX/OMXkIFw+B81yPFW9Q8Snx7K6Ao+g98v7+/6aCTg/u93vLPVVMexWx\r\njA8BUBAinCGFgUed+53vLQXeKAXNXEso5ckFsih5BlNADlMCOOw+Fvz8nArL\r\nYTBhq7mzOfhgBUcJM5Bc25106s6N5m0llRP0jA9AItpijZ6Rh6mfVxpmUVxi\r\nfqoXU3rLsL8COYeR2rXBty1kUA7fCY5JX77wUr7pxHr7E12Fdz+8DxvQffTU\r\nrIMl2Puh7cnY5Tla0iH4S5sOc7qkr6rTLAIqXBDbElx2hpOrozXGwzfVx8tV\r\nhaQHYYPAPX8u88cQWOL6yfxKT2EWtNC0md77e0Bz8LsDQz+8Lo+lLpmRivzU\r\nl2nohdZlEgc8X7OKUU2LA4sJal004AEAgu/gsMBmfhD+nhFpyjjNddY9IzZW\r\na6w086jKtEx9KT/szjnQpTi1e7gqn12tzzsxVzRS6HmPjuyaHRiYoQAZnsHC\r\nGpY5GcEv8VS1nKRkCdKLBYH2as8tXU22pXU=\r\n=j3mh\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Configure your Drupal site\n\n### 🌳 Install the Drupal module\n\nInstall and enable the Drupal module:\n\n```console\ncomposer require drupal/cl_server;\ndrush pm:enable --yes cl_server;\n```\n\n### 🌴 Add Storybook to your Drupal repo\n\nFrom the root of your repo:\n\n```console\nyarn global add sb@latest;\nsb init --builder webpack5 --type server\n# If you have a reason to use Webpack4 use the following instead:\n# sb init --type server\nyarn add -D @lullabot/storybook-drupal-addon\n```\n\n### 🌵 Configure Storybook\n\nFirst enable the addon. Add it to the `addons` in the `.storybook/main.js`.\n\n```javascript\n// .storybook/main.js\nmodule.exports = {\n  // ...\n  addons: [\n    // ...\n    '@lullabot/storybook-drupal-addon',\n  ],\n  // ...\n};\n```\n\nThen, configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\n// .storybook/preview.js\nexport const parameters = {\n  // ...\n  server: {\n    // Replace this with your Drupal site URL, or an environment variable.\n    url: 'http://local.contrib.com',\n  },\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: { title: 'Umami' },\n    bartik: { title: 'Bartik' },\n    claro: { title: 'Claro' },\n    seven: { title: 'Seven' },\n  },\n  // ...\n};\n```\n\n## Start Storybook\n\nStart the development server Storybook server:\n\n```console\nyarn storybook\n```\n\n---\n\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = { config, managerEntries };\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it using the following snippet:\n\n```js\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{ drupalTheme }] = useGlobals();\n  // Do something with the Drupal theme.\n};\n```\n","gitHead":"7128684dc0d843009455c75de78091ff0659669e","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.15.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.23--canary.22.7128684.0_1663325294045_0.9178312214778306","host":"s3://npm-registry-packages"}},"1.0.23--canary.22.fd8a043.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.23--canary.22.fd8a043.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.23--canary.22.fd8a043.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"9c7021c08675f5f5281dd1359952576ddbcce25e","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.23--canary.22.fd8a043.0.tgz","fileCount":30,"integrity":"sha512-xenY5oIGdjGgnFsQ9tJUNnBxFd4/Fof8n82b1XizBFU7xFm0EuBfg9WimkC7Nv+/ltmMDusZGOnrnTWLV/chjg==","signatures":[{"sig":"MEYCIQCU7c2IMVUt6Kja0u/cZPklGiZABUvSUW/3yU9mPDpw1QIhAO+Rsw/ovNd00dAvlgN8dUuInYXUynC38jcYU30krju/","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67868,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJFalACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqpow//a6/zsm+MpIG0wfF8QkVIBCRjk6vwGWXzNpiHs9owolLNPi6p\r\nqbedcqSR5yielurweKNycY6LDU89agBir/972R7t8tbkrphrwEU/esIcN7By\r\nI5VYtgDU0hVN5RKzJtUsTZLl04re4CRWT3GoJ78QNs5WU0Lo+mWHwhZtvrIA\r\nPGu+1qeKXdZ2Vh9Dj95dtBp8R03n0x5XUx1oQ0sh95ID7vh5xn6qUy6VnpVu\r\nkZ/5D2a7UycwXnvBEHWwF3TDNaG4K8WUhyFq+vWmYqCcEhXRI7xR17GpkFXQ\r\n5pvE9u7G2G6sc3unHQSsCMpoHeMSL1Js8lsKp+5nQHc7OBIsuBct/pcD5idA\r\n0KvFSRp05acji7pJJbuxurBpHYv7HM7ShV6VRn+CEOAQrDnuhc1X8uG7ZJ7i\r\nbEg4Q6OdjJa49h1goK0laUTjp6H3xtFw1iOrE/7BUelUS+DpCT6k0BTx/s/E\r\nUXdYjJd89GvxZ4ThlhrJF6DjsNLlRINyu8LNoKj9NIEQ5ZNBK5dbnWcln8u3\r\nFs8hwFNrULiRycFe8O+Xvtkg2X86cPJSNB46bwxP/7L9z0KvsbuKLrOKrn0S\r\nvUE4n5UcsuU2DojFkU5n18ZCEDnoCPMtaX9dGRgq82y2hvA7Hw6adm8wVz6N\r\nGBWu8+VC62lNwgQRkX/dLyf4D96nl1lHVwA=\r\n=u2dk\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Configure your Drupal site\n\n### 🌳 Install the Drupal module\n\nInstall and enable the Drupal module:\n\n```console\ncomposer require drupal/cl_server;\ndrush pm:enable --yes cl_server;\n```\n\n### 🌴 Add Storybook to your Drupal repo\n\nFrom the root of your repo:\n\n```console\nyarn global add sb@latest;\nsb init --builder webpack5 --type server\n# If you have a reason to use Webpack4 use the following instead:\n# sb init --type server\nyarn add -D @lullabot/storybook-drupal-addon\n```\n\n### 🌵 Configure Storybook\n\nFirst enable the addon. Add it to the `addons` in the `.storybook/main.js`.\n\n```javascript\n// .storybook/main.js\nmodule.exports = {\n  // ...\n  addons: [\n    // ...\n    '@lullabot/storybook-drupal-addon',\n  ],\n  // ...\n};\n```\n\nThen, configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\n// .storybook/preview.js\nexport const parameters = {\n  // ...\n  server: {\n    // Replace this with your Drupal site URL, or an environment variable.\n    url: 'http://local.contrib.com',\n  },\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: { title: 'Umami' },\n    bartik: { title: 'Bartik' },\n    claro: { title: 'Claro' },\n    seven: { title: 'Seven' },\n  },\n  // ...\n};\n```\n\n## Start Storybook\n\nStart the development server Storybook server:\n\n```console\nyarn storybook\n```\n\n---\n\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = { config, managerEntries };\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it using the following snippet:\n\n```js\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{ drupalTheme }] = useGlobals();\n  // Do something with the Drupal theme.\n};\n```\n","gitHead":"fd8a043f5f570d022566f973ce953e4c28f83d77","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.15.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.23--canary.22.fd8a043.0_1663325861413_0.2274347918779367","host":"s3://npm-registry-packages"}},"1.0.23--canary.22.7ab4c0f.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.23--canary.22.7ab4c0f.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.23--canary.22.7ab4c0f.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"38462db279df28f710e61bfecca970a8f2c03c30","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.23--canary.22.7ab4c0f.0.tgz","fileCount":30,"integrity":"sha512-94h7zMl7iid8PIjD0nbPaMe8cfEYBXcgFRIE4sNQl10GYYywDcSzpfBLFQmCq1pOUY+l/SfmQruv6et6qCKXbw==","signatures":[{"sig":"MEUCIQCaDQINe2/LrR/pWfbFac9fyuIS/ZxSb9u0ctBEavuo+gIgV/shcUQ0v12EHrPyJEaCn/6GXI/gHTUtN7mSdCVPN2Y=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67874,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJFeJACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrlexAAjP5ud4V3ToaoKxbyRW27QLyBjG5dBnyq1tk54IixHn1tOV4N\r\n1FKhb/clo+ZjNR8m80QnganS+b/YlYHScs7ez1jTq383MOaqQdz+LFWkMsX6\r\nlhYyZh8/wzry1E3yLhP7jqFlLMKd2uzU3eSxK5Uj4ZzcQWZTV8O7IP6mG0TV\r\n3/3iP9fny6DT5F6LDArt+gSxAJDjWhsdeVUcJQ7KccEDZL+8EsvNWpEpUP8J\r\nDXKPplpK4CYwfzlYGRV3GNVhWADUfRpABI/YrGXOT0FQqCok8mcytxLLWWXx\r\nI6W1EnpypG7QtedQ43bmoXaqdYM+GoT/ePeGN2vPgsLwlhU5wK/STQ2/v1HI\r\nnHWyj4eBjv8iPSK1FxS3Mtm01p1wSfgvXT3tAmxIKp6wXeQTZKvNjQF6Nh/F\r\nhIVZWg2UvtXkG7ByS3ma3mdWjwsJNVWHPp/0idCnsllRfN7UmljNNlOHpmAr\r\nSy7JghbgWkwdOLKaktvLvU0f73hen+xmDQsWd7gOHdHa/MWsIiAvAvkLi81E\r\n7yiBq4uYoEooaPp0gIzQu0pdFcdnd/45DiMEGpniNEBtNqCTSdnnbQy1RVwW\r\nDqYh6B19fGsjbG0hzdfRyB9mS1vZecF0rbZ6mxQNN83CkYYituiZWxhh8svR\r\nYCFUo7O6G9jRin9eVoLenaRtWyX41yyh5oA=\r\n=JEpB\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Configure your Drupal site\n\n### 🌳 Install the Drupal module\n\nInstall and enable the Drupal module:\n\n```console\ncomposer require drupal/cl_server;\ndrush pm:enable --yes cl_server;\n```\n\n### 🌴 Add Storybook to your Drupal repo\n\nFrom the root of your repo:\n\n```console\nyarn global add sb@latest;\nsb init --builder webpack5 --type server\n# If you have a reason to use Webpack4 use the following instead:\n# sb init --type server\nyarn add -D @lullabot/storybook-drupal-addon\n```\n\n### 🌵 Configure Storybook\n\nFirst enable the addon. Add it to the `addons` in the `.storybook/main.js`.\n\n```javascript\n// .storybook/main.js\nmodule.exports = {\n  // ...\n  addons: [\n    // ...\n    '@lullabot/storybook-drupal-addon',\n  ],\n  // ...\n};\n```\n\nThen, configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\n// .storybook/preview.js\nexport const parameters = {\n  // ...\n  server: {\n    // Replace this with your Drupal site URL, or an environment variable.\n    url: 'http://local.contrib.com',\n  },\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: { title: 'Umami' },\n    bartik: { title: 'Bartik' },\n    claro: { title: 'Claro' },\n    seven: { title: 'Seven' },\n  },\n  // ...\n};\n```\n\n## Start Storybook\n\nStart the development server Storybook server:\n\n```console\nyarn storybook\n```\n\n---\n\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = { config, managerEntries };\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it using the following snippet:\n\n```js\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{ drupalTheme }] = useGlobals();\n  // Do something with the Drupal theme.\n};\n```\n","gitHead":"7ab4c0fb1daaf1ce00d30d9d1f76cf8687a31456","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.15.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.23--canary.22.7ab4c0f.0_1663326089132_0.27216939450407396","host":"s3://npm-registry-packages"}},"1.0.23--canary.22.ebd4687.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.23--canary.22.ebd4687.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.23--canary.22.ebd4687.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"f26b45a0c685111df99e61805995dabfb0063df0","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.23--canary.22.ebd4687.0.tgz","fileCount":30,"integrity":"sha512-RL7Z/NAsfyEhYwsLLTiACFeVw2FOsncwmv05RX91f2HiQqIps2iJYwG8hPvY5ceXNECGGqgG8EtAlE+VVhk3dg==","signatures":[{"sig":"MEQCICGYmfwPId2gAM+6Ecb5T/guEsn0YHTe6QywCYxVrKzFAiA6M/RbG4mcZ/o5BGEHp/1LV294NiuVW+rHp3Czf4Gsyw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67930,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJFpPACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmo+Xg/9G1iXCXBuiAVeOZ2rUKU998Zyr52zcmyPdOGGnZG+quybABe0\r\nJqv0LUHdJ44Lz8hpHwEYwhi/vBDLFKvMGKqpGSBiq+KaCVIQsOmUWNYmqbo4\r\n2JSsOxXLwiRkg50MpW/VsDSjK7Q5PlILRrj5qI8AXLaINAJNsNoKziM40PwP\r\nvi3HbkvxH1sKuyClR51FVfWMszlHAs8vqSm7eAxBNXHiUF0FxiDkZQjyP/cM\r\n2JC/JNLOSSKPBNgYjblg65TAR/J1quy3/upbb034K8Y7W6rZnG1ZIWRiWQYG\r\neQ3rFYD0WmehA6wRKHru7ZGlOa43hQHQ+yANEPbtjEvOPpJa//rjf/DNUgM6\r\nPe80eUIW4gi6ROHqVaGhN+dGtLC2VtMbxE7H4KxleSnlT6BBIro5TLqg6OFa\r\nkdF2hoTSli+HSm0GBkVyMzwlrnR0pk0pJfBDyiIbmTuemY7kcX7By7n+AvET\r\nnjC9UPZ0303uE/2TSH2YRj2tB9tfqRyPimJKlHukphRoz17uAkBnFOl0PLoJ\r\nhOGhuz4F34hWWqhxgpeq0dsf/JPanejgmW/FFvF8rtnqkmc1EcnNEgTdouo1\r\npllcNrC2O3jAPNAYZMac90IaK9CuYB/WaNFLXC5GyIzXMicnsWADgh0ZKnTi\r\nvYcISksf7uUR8NciZzjtqjohEtocgKd5DcE=\r\n=kL8l\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Configure your Drupal site\n\n### 🌳 Install the Drupal module\n\nInstall and enable the Drupal module:\n\n```console\ncomposer require drupal/cl_server;\ndrush pm:enable --yes cl_server;\n```\n\n### 🌴 Add Storybook to your Drupal repo\n\nFrom the root of your repo:\n\n```console\nyarn global add sb@latest;\nsb init --builder webpack5 --type server\n# If you have a reason to use Webpack4 use the following instead:\n# sb init --type server\nyarn add -D @lullabot/storybook-drupal-addon\n```\n\n### 🌵 Configure Storybook\n\nFirst enable the addon. Add it to the `addons` in the `.storybook/main.js`.\n\n```javascript\n// .storybook/main.js\nmodule.exports = {\n  // ...\n  addons: [\n    // ...\n    '@lullabot/storybook-drupal-addon',\n  ],\n  // ...\n};\n```\n\nThen, configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\n// .storybook/preview.js\nexport const parameters = {\n  // ...\n  server: {\n    // Replace this with your Drupal site URL, or an environment variable.\n    url: 'http://local.contrib.com',\n  },\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: { title: 'Umami' },\n    bartik: { title: 'Bartik' },\n    claro: { title: 'Claro' },\n    seven: { title: 'Seven' },\n  },\n  // ...\n};\n```\n\n## Start Storybook\n\nStart the development server Storybook server:\n\n```console\nyarn storybook\n```\n\n---\n\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = { config, managerEntries };\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it using the following snippet:\n\n```js\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{ drupalTheme }] = useGlobals();\n  // Do something with the Drupal theme.\n};\n```\n","gitHead":"ebd46873ab25b5209758dfff3a4f46267caed9f9","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.15.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.23--canary.22.ebd4687.0_1663326799440_0.34820648078067995","host":"s3://npm-registry-packages"}},"1.0.23--canary.22.af5219b.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.23--canary.22.af5219b.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.23--canary.22.af5219b.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"2f57e382e7b843202db57e7009e4691c0ad6d784","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.23--canary.22.af5219b.0.tgz","fileCount":30,"integrity":"sha512-pdvL2AKTw/Z38/lsU5xiAPNMdWRA5bdda+UvawKIQhs/wLFy6TZ7J+uxfCHLZ6CO85fykaPIpbq2XCSW+sg1RQ==","signatures":[{"sig":"MEUCIQCWlz07fT2lcnhCqXFWFuYwA5OEhqgSNC5Fd0OwnGcvjgIgI29VW/FV8hrS3JDNndZZPeQVEwbct1auD2e8yweUpm4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":64164,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJFxAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoffRAAhsuNoE8fwtAFS1n06iJFSxrIb6EJnbDxFlaU+xvxd4k4qANT\r\n4C2nrypkbcgn+pG4UQFpuLucRkOGlzZU00e/gZgcKQjFg0fKMIxCAMFwe4Tc\r\nxm+br0BwIpPgojoWOStjEv+UZ4xXTWhfGcZpYmg1O4VodSZTv4+WZg10GNK3\r\nbOviBkH7MMF5wcFf1h8ONCAQGJXw9H8EZQVV7wk9/14qxc6bT1PPX6OYequ1\r\nMDkhj4509GHX5qINUcP+qTb45EX6zktDouXTGSq8XEmvdWGUijyc7+8O1azb\r\nhAMIKvwvMG5eu4Wai14waVZcGxShbt854XJ0twWqwQ1pO2LqZbORIClYNOEu\r\n+g1XdT/mqtiHfSDPzgbOjvNfKrHTogucDEVxBmqMufgO5NEr3cs5zJf91O1L\r\n1vrLpGyEGTyM8xOivZxKIXgaa7M3EDEtTJP+i1nYNowPFzRZXoFBPj86+PeH\r\noVohHRYzVaJ2R7SgYJ1vyoQkpP4U+8BMIC8eqVzf25uFGLMLZXfJLbiyhwdz\r\nnRxoHtDwyF8Gdx0RWbVvba3VjZUNXnfpB42A0JoVcHnWUvDFrLJl22iiBG1a\r\nz9zCWlplo15Lv56h89oIs0FgiciJxA67wYrzdeQb9dK6GRhNKN4qkTKYQbam\r\n/yHtz+BoOwJGbldYedhLwx1e6UuIgHzGOr8=\r\n=Jcvv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Configure your Drupal site\n\n### 🌳 Install the Drupal module\n\nInstall and enable the Drupal module:\n\n```console\ncomposer require drupal/cl_server;\ndrush pm:enable --yes cl_server;\n```\n\n### 🌴 Add Storybook to your Drupal repo\n\nFrom the root of your repo:\n\n```console\nyarn global add sb@latest;\nsb init --builder webpack5 --type server\n# If you have a reason to use Webpack4 use the following instead:\n# sb init --type server\nyarn add -D @lullabot/storybook-drupal-addon\n```\n\n### 🌵 Configure Storybook\n\nFirst enable the addon. Add it to the `addons` in the `.storybook/main.js`.\n\n```javascript\n// .storybook/main.js\nmodule.exports = {\n  // ...\n  addons: [\n    // ...\n    '@lullabot/storybook-drupal-addon',\n  ],\n  // ...\n};\n```\n\nThen, configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\n// .storybook/preview.js\nexport const parameters = {\n  // ...\n  server: {\n    // Replace this with your Drupal site URL, or an environment variable.\n    url: 'http://local.contrib.com',\n  },\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: { title: 'Umami' },\n    bartik: { title: 'Bartik' },\n    claro: { title: 'Claro' },\n    seven: { title: 'Seven' },\n  },\n  // ...\n};\n```\n\n## Start Storybook\n\nStart the development server Storybook server:\n\n```console\nyarn storybook\n```\n\n---\n\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = { config, managerEntries };\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it using the following snippet:\n\n```js\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{ drupalTheme }] = useGlobals();\n  // Do something with the Drupal theme.\n};\n```\n","gitHead":"af5219be6e73f7a956980c4f90c07bbf5839cc11","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.15.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.23--canary.22.af5219b.0_1663327296714_0.4866752084083199","host":"s3://npm-registry-packages"}},"1.0.23--canary.22.6b0b497.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.23--canary.22.6b0b497.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.23--canary.22.6b0b497.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"c629a75d16dd9dca56a1b7f251b1333ff61c7fd9","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.23--canary.22.6b0b497.0.tgz","fileCount":30,"integrity":"sha512-8YfYqgzhnDnbss5TbqtG0CJfiz6dcoWo3/WTxAmlN/c7B2RN3k/BTyd6mRi8SDY03rGWfqmbS5lLsH4b/Opi7w==","signatures":[{"sig":"MEYCIQDISo+eS8iSbNqo0XPc7l2392vFGUmF4dtJUEKGy+pVMAIhAJeqZQKezs7Xla/RQEL/2UduszjRDXFZELEi8xXVGKys","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67930,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJF2pACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoGbRAAlnFok4QaUFSiVsulWvZ03aVdvyw2KJvjAgdtEa6UdVCWVVlA\r\nd20EpUgqywYzJvbGqerq1XZ83fyEyg9YOzGqoC2zB+z5UOxNoztDILHddHbe\r\n1BbidtrzzQCvEvPrRZd3xZ6RVw+2HdbaVh33G7Mwo0g1o70RjEz2X2WvAN9/\r\nr5SdVab6DiO+wzNlMmXtHdD2wu8ETELx07O5786HNqzi2ZoiXXPTj7EwA0Ie\r\nuv6P50X1X9YBYOYlmCrACSg4ZWKRMPoFb2TwzJZbZAvyN6+ygH+DZ5TM157l\r\nFMMhO2GIUOYHgYmXS+cIFQKXi3CB6B7yviyR5mM/t8RYVW6C2lanl8ghIyxG\r\nqPJfrdVRA8qpcxLR3RuUjRWHkb4cAsk+KzTSRjJPDS3AlE80ZMV13xGCn9GM\r\nFZ6b+G8htFb/ehOwFbWeslIrmaplQ8QSGP8K2IhTmqsq+Oyozt12IcLQ/XvY\r\nzNOFfF6PI5HGnSoKSxIxQ0/Z3gMOy1t0qpntqrU0riEN3wvZLIiUvSkMo9Qq\r\n3ghEXwAjA4FUhhcTYw9UoYpyIu8yPVY8AQdgHc0WP1ZE3I8H7e1thYCqUM05\r\nq0ZqNK3hFhxCYHDWo0G057oN2SQ+rZoyFS2UCBE+/3IRHkrY/19xJ3UUQoUZ\r\nKU90+hXBajJfVvRR1vIqavnG5IbDG5pTWhA=\r\n=u4DO\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Configure your Drupal site\n\n### 🌳 Install the Drupal module\n\nInstall and enable the Drupal module:\n\n```console\ncomposer require drupal/cl_server;\ndrush pm:enable --yes cl_server;\n```\n\n### 🌴 Add Storybook to your Drupal repo\n\nFrom the root of your repo:\n\n```console\nyarn global add sb@latest;\nsb init --builder webpack5 --type server\n# If you have a reason to use Webpack4 use the following instead:\n# sb init --type server\nyarn add -D @lullabot/storybook-drupal-addon\n```\n\n### 🌵 Configure Storybook\n\nFirst enable the addon. Add it to the `addons` in the `.storybook/main.js`.\n\n```javascript\n// .storybook/main.js\nmodule.exports = {\n  // ...\n  addons: [\n    // ...\n    '@lullabot/storybook-drupal-addon',\n  ],\n  // ...\n};\n```\n\nThen, configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\n// .storybook/preview.js\nexport const parameters = {\n  // ...\n  server: {\n    // Replace this with your Drupal site URL, or an environment variable.\n    url: 'http://local.contrib.com',\n  },\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: { title: 'Umami' },\n    bartik: { title: 'Bartik' },\n    claro: { title: 'Claro' },\n    seven: { title: 'Seven' },\n  },\n  // ...\n};\n```\n\n## Start Storybook\n\nStart the development server Storybook server:\n\n```console\nyarn storybook\n```\n\n---\n\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = { config, managerEntries };\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it using the following snippet:\n\n```js\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{ drupalTheme }] = useGlobals();\n  // Do something with the Drupal theme.\n};\n```\n","gitHead":"6b0b497c6003931b3d67c60f59a6d3e8da9574ba","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.15.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.23--canary.22.6b0b497.0_1663327657729_0.6361026803702685","host":"s3://npm-registry-packages"}},"1.0.23--canary.22.3b18d07.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.23--canary.22.3b18d07.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.23--canary.22.3b18d07.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"fb37fb4b9421c81be8076c9e432ad89f2e2dd2ad","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.23--canary.22.3b18d07.0.tgz","fileCount":30,"integrity":"sha512-HdPwX2EH/UVETlotkZBMZvNp9XeR00Xq+Bihh6cKTFrOC9FxnhXFsW4mTxlK7nG7shKsY+mCKDZ8Q/rUQ93M1Q==","signatures":[{"sig":"MEYCIQDGYBeCQYqktmJWWwaxdzb2QeZOrszSIQU/RCsLEh0zngIhAJCdMQlE0cBWK0cgBDfGuswL2N1ni3t+600zhlqXoXVz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":66388,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJF4JACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpA8RAAgYkZHfQuqc6ccg419NYS4+VeQ0dw97S0AN9DC27qFz6Tge7b\r\nzWzUhUmPeg3uwcEc0mybgxQS2pZQqSmH5uI952sKma5QW7WnChrKn8zSB2IE\r\ni2+VxFQYcncG8vN+4qZPy7tzZleFGVOkHm8SfjiPfS2w3GboEAMyi/MIb3Jg\r\nhnZ5/SSgBv3cLRS4LvzNj/hPFkRbobZYGEtMN7yExMfOHp9WiOZm9eljMAHv\r\n4V4P7hgOHN8AzToNxk+2zeNsZzAOPZtZi2UyUgvRfGlqaTcWZt3FBuM5NDwH\r\ntnsAKz1cSOuvHv1txtUbjjqkGr63kd36W/rw8QNsOZrCkGRqzqzz+3utqEZn\r\nUa5sqmERljNeIt4EKxYzhqdEQHRzzYllwlzFOR68t0hAwGJU6FGmsMu4FMqE\r\n3/1ra7JbSiQ4yegZNH1xQmeifbbCf0Xl3T9UH3eZVEr111/I1dvaiBXEs3Q5\r\nBahTCCOKGBQl4pimFZUjkhomtw3G370LMWeniZWko5kWhzMA1IyVemZgwdOK\r\nQU2a8B6wojHaJRe9QpKK9JBELHcACKJbdZgRO2QXxzVWAFXuiPUpLR9tZyiD\r\nmw9CcalDgXpQp8INSrjyxyZKhRMqnrszvVzIX6HNdUwVs40g8MDq9WyeWukc\r\nyONzjdQzSrpdUG8wBwwoU1UZzB8R21fHnZU=\r\n=KF96\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Configure your Drupal site\n\n### 🌳 Install the Drupal module\n\nInstall and enable the Drupal module:\n\n```console\ncomposer require drupal/cl_server;\ndrush pm:enable --yes cl_server;\n```\n\n### 🌴 Add Storybook to your Drupal repo\n\nFrom the root of your repo:\n\n```console\nyarn global add sb@latest;\nsb init --builder webpack5 --type server\n# If you have a reason to use Webpack4 use the following instead:\n# sb init --type server\nyarn add -D @lullabot/storybook-drupal-addon\n```\n\n### 🌵 Configure Storybook\n\nFirst enable the addon. Add it to the `addons` in the `.storybook/main.js`.\n\n```javascript\n// .storybook/main.js\nmodule.exports = {\n  // ...\n  addons: [\n    // ...\n    '@lullabot/storybook-drupal-addon',\n  ],\n  // ...\n};\n```\n\nThen, configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\n// .storybook/preview.js\nexport const parameters = {\n  // ...\n  server: {\n    // Replace this with your Drupal site URL, or an environment variable.\n    url: 'http://local.contrib.com',\n  },\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: { title: 'Umami' },\n    bartik: { title: 'Bartik' },\n    claro: { title: 'Claro' },\n    seven: { title: 'Seven' },\n  },\n  // ...\n};\n```\n\n## Start Storybook\n\nStart the development server Storybook server:\n\n```console\nyarn storybook\n```\n\n---\n\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = { config, managerEntries };\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it using the following snippet:\n\n```js\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{ drupalTheme }] = useGlobals();\n  // Do something with the Drupal theme.\n};\n```\n","gitHead":"3b18d07c7a8f03d89c2c1c9b3fba718a9011a6ec","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.15.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.23--canary.22.3b18d07.0_1663327753341_0.48440654441123265","host":"s3://npm-registry-packages"}},"1.0.23--canary.22.6a0b245.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.23--canary.22.6a0b245.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.23--canary.22.6a0b245.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"0a8eb3d5fea4263579a5b774878ea299761e4846","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.23--canary.22.6a0b245.0.tgz","fileCount":30,"integrity":"sha512-Gs/1bV0eYA0dM8REotqQEGQ2//73wko8jGiwohlL6QbeMEr7WaBdL5oXZqKEa8wkgPfGER7dCpun0UsOhewpMw==","signatures":[{"sig":"MEYCIQDytX49W1AcyhytWPPdA8p7MKj8AQt9Gh9NB2Q7xqevzgIhAPoaeJ0X5nemolfAoA4QkRklx0IzwTlelQvhWmj8X06E","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67936,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJF8XACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq46w/+MOkhROsmNPP6NuWkwP5can5+rpmT0SRPEliQXxXdleLL7Zna\r\niCRMrVc+6OBhSGNSLdc5e1Z8e4/Vv4ZLhAMqPHsxrbtsRxcgJFt5bcxVsF7I\r\nR91VtcMv3x+BrxpPAFGGZmJxoOmjHyLkCIBS9H1nvZ9/siZl1y8ErsVBKWvQ\r\n9t/lx/uX2mwdj9oQ2D+zWa38oO7cOL/wJLCa16ay+KBx1MuAfwUf94X5IzZ2\r\nekyUKLBnZcpi6gDKRTd5fcqKJER2nB8y1fWBK5ar2ubyJqFjSDjZpnBsKobH\r\n1YwLub42M9h2NAygEL0C3BXau0bJPQTBaGLK5goQ3fUZ0lAmjspDEvvH3uXQ\r\nJk8WS6LarOFwPq7pYOwjA+35L3vPyWiTgL8QhSoJFNVIgb6NPOFdxaIXrlkO\r\nIkaZzeWO1/A/GOZaeEuQOdebxU6JCu9JLSr7LNPUNDtTL7lGK2S1mvaDHlkW\r\n2COXy3t5BTUpz+aEZcs9jFZnOvieAhv3LVxVquAjGPmQM36gFZ80POdW0eGN\r\nPHj5KJJvtglvlJpnuJSkhICq0TC5Ek8dYbyHYdvJEthVr3PmRoIu2cg/XTUR\r\nrm94M1NvUEvSG8F7qqnQVa5t8JorF81TlJ1AmRmof1WuZi2OTHz/C6kdbDLK\r\nzRofE3hyWrhXmSh+dii29liqMyr1HHd42VY=\r\n=0n5A\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Configure your Drupal site\n\n### 🌳 Install the Drupal module\n\nInstall and enable the Drupal module:\n\n```console\ncomposer require drupal/cl_server;\ndrush pm:enable --yes cl_server;\n```\n\n### 🌴 Add Storybook to your Drupal repo\n\nFrom the root of your repo:\n\n```console\nyarn global add sb@latest;\nsb init --builder webpack5 --type server\n# If you have a reason to use Webpack4 use the following instead:\n# sb init --type server\nyarn add -D @lullabot/storybook-drupal-addon\n```\n\n### 🌵 Configure Storybook\n\nFirst enable the addon. Add it to the `addons` in the `.storybook/main.js`.\n\n```javascript\n// .storybook/main.js\nmodule.exports = {\n  // ...\n  addons: [\n    // ...\n    '@lullabot/storybook-drupal-addon',\n  ],\n  // ...\n};\n```\n\nThen, configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\n// .storybook/preview.js\nexport const parameters = {\n  // ...\n  server: {\n    // Replace this with your Drupal site URL, or an environment variable.\n    url: 'http://local.contrib.com',\n  },\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: { title: 'Umami' },\n    bartik: { title: 'Bartik' },\n    claro: { title: 'Claro' },\n    seven: { title: 'Seven' },\n  },\n  // ...\n};\n```\n\n## Start Storybook\n\nStart the development server Storybook server:\n\n```console\nyarn storybook\n```\n\n---\n\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = { config, managerEntries };\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it using the following snippet:\n\n```js\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{ drupalTheme }] = useGlobals();\n  // Do something with the Drupal theme.\n};\n```\n","gitHead":"6a0b245cf2708f450c51f854f243d7129690427d","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.15.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.23--canary.22.6a0b245.0_1663328023269_0.29733800543028055","host":"s3://npm-registry-packages"}},"1.0.23--canary.22.18cfa06.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.23--canary.22.18cfa06.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.23--canary.22.18cfa06.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"95328455d813ced5db5bda9eef32863fd7f5e5cb","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.23--canary.22.18cfa06.0.tgz","fileCount":30,"integrity":"sha512-adAJ8QvaAQdSYD/XYQBrFTqGGQ4cKHgp0Qi3A0F+4sHxL1YVopnUOXLiXLpbg0g2HQz8sVu1qqahA8QnQF8G0A==","signatures":[{"sig":"MEUCIQD6ocU5UY5UlI3zm7Aq6syg6l5nLXq4u9AWrNUwMCSJEgIgM9Wj5HQrQ+nrG99eIVYVsAyJnXxcPI1MiCw8ghwaO/c=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67154,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJOoQACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpjfQ//WzHyDe/P/EYdMmg5NXq+RMZ2jLxmUYRF5JsnFpN/j6/PRxzo\r\nNslj/AcxAcjlm3SG6f2xPKYy461qcGEg8LxWARwgyGJE6fadmrSG7wcS5Tjm\r\n4Mmx82qIyePgu69hG7Ar4ahrg8jbIP5P9fLEaEcGa4qu5Vn8vYbGImjcUdu6\r\nAZS6cDNJIyypNLaM/CAymDIZ5RQDIf5zjggNGtBHSnWEJuGBFG3dghJEfte/\r\n68/cikMd88UCd2rzjpbCafdy0xeYNLl40nEsY3lbKzF5DB4j+y5F6kzGG0WI\r\ncxFeEKclbSU7OWy20O0QtOCWLW+5OjfZkWl7PcnN9bLxThqMTS4KTkepOW0Q\r\n6nFkMi/9YQKDUUQd9ErrD10WmWWru+7HZUzwKRhi7aYtOShJcTAxidjMDnO8\r\nsfqZTHijrtr6T9Sj3UsJfBbnZXiYxN6mpyn/NM397yzwUDBtOM2Xh7EHa3o7\r\nXzJ2qxY5sVs1RyNNtL6ZQ7dbIFEDKe1ybUvCLOAUe9D7/SRLfmnCrbB7cpZ8\r\n87o812Tmmbo4zlNd1qwCnEkR/pMQNsq/qaGeLyn83SUrTRku9GQQIhS4MuYW\r\nUggT+uOqLartMcb12yr2x9UgpHiqD16ZCOlGcn8Dvd8w49qF3Wo7yBH0epe7\r\nT1aprC3V/bCATkSGht/PtQRa4kPqMYS05ig=\r\n=4o5g\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Configure your Drupal site\n\n### 🌳 Install the Drupal module\n\nInstall and enable the Drupal module:\n\n```console\ncomposer require drupal/cl_server;\ndrush pm:enable --yes cl_server;\n```\n\n### 🌴 Add Storybook to your Drupal repo\n\nFrom the root of your repo:\n\n```console\nyarn global add sb@latest;\nsb init --builder webpack5 --type server\n# If you have a reason to use Webpack4 use the following instead:\n# sb init --type server\nyarn add -D @lullabot/storybook-drupal-addon\n```\n\n### 🌵 Configure Storybook\n\nFirst enable the addon. Add it to the `addons` in the `.storybook/main.js`.\n\n```javascript\n// .storybook/main.js\nmodule.exports = {\n  // ...\n  addons: [\n    // ...\n    '@lullabot/storybook-drupal-addon',\n  ],\n  // ...\n};\n```\n\nThen, configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\n// .storybook/preview.js\nexport const parameters = {\n  // ...\n  server: {\n    // Replace this with your Drupal site URL, or an environment variable.\n    url: 'http://local.contrib.com',\n  },\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: { title: 'Umami' },\n    bartik: { title: 'Bartik' },\n    claro: { title: 'Claro' },\n    seven: { title: 'Seven' },\n  },\n  // ...\n};\n```\n\n## Start Storybook\n\nStart the development server Storybook server:\n\n```console\nyarn storybook\n```\n\n---\n\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = { config, managerEntries };\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it using the following snippet:\n\n```js\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{ drupalTheme }] = useGlobals();\n  // Do something with the Drupal theme.\n};\n```\n","gitHead":"18cfa06b49916334834e6e643769effffe067949","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.15.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.23--canary.22.18cfa06.0_1663363600756_0.37125543393915716","host":"s3://npm-registry-packages"}},"1.0.23":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.23","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.23","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"005573063212220cdc7c9e6257faf1e0348a37b7","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.23.tgz","fileCount":30,"integrity":"sha512-UbcTW5cZl/I0YFl1FIzONpLjYu1kze9l69tS6J+LNuILOwoZ37iMl83EtHQXYkK0QJoSgpJWFxIRCq1qFvk7VQ==","signatures":[{"sig":"MEYCIQDtuE6CitN8I35Jv/Th8tnduL7nT7Oeg/3kJcE64uC7BQIhAMm5whDcMIK+MQxI2wJfN/G+edzY6yk8Em070kKCA28a","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67133,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjJO1nACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoMfBAAicvf4F4Yz55mDjbAKdJCbETYb7LjoleXYMTn4827tk7ic6TZ\r\nj//tok0APP5u5Dghu6Ni5VxJo9gGp/aHfv+8chd/Syy87b+ckPDCOM4fZr1E\r\n4Bk3vI9DHT74Ue9/pRUqSvNwyENax1pSgUIqjA9LM/vuBu6sjzLmF0g9oj72\r\nh3ngmcGJEO+9fA3ieAs9JmuWQfYXQ/dAzVvj8dtIIinISSFqAnkp2bahd7B1\r\ncf4fnDjVVpWb1JJh2OHw9xDsWrWwaUes1SlArKU4+ndq0osxPz0wiZuBMlRL\r\n8NAHiabU5sSSZyvgjWcJj7ycosd2EQLAI1N8H39iv8eKNZwjTO7k6/6CHCFY\r\nCD4D9mf6yQuJ+Gc1tCO7vcMChOmDT1ej6IcOfQFIkV07vqpdS8tt/tkcr73e\r\n9ZZkn5aI5CtPzi51wYXC6cnHocDHaoGvDQVsFldngPrpcHeUKOStiPYQ6xdS\r\ngfQMHoXSIiS2wi3l+BZJZbbh/HiDzO29/PbyHz2nySNQFINANb84e7XfC7Pq\r\ngYwGQhnnGafqzC4wkOrJLdWW98znn3e12ClF3xtUCOKxNCmcmCybCSMX1EZg\r\nuz2XlEQQdXfsf7ivqYYEkLe73Ho/jsVBLeK3rhsyZBVD0SctQZGncf9g7tbh\r\n9pVoSmeBRpI8Tmp7MHwHUeK6KN8qyk27XKg=\r\n=RBzF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"350ccc2f01fe1d59ace7e527fa3043dd64a6fc94","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.15.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.23_1663364455212_0.6755559910979805","host":"s3://npm-registry-packages"}},"1.0.24--canary.23.9585579.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.24--canary.23.9585579.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.24--canary.23.9585579.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"e8fcb13aa74176b353ee190922c26299425a89fb","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.24--canary.23.9585579.0.tgz","fileCount":30,"integrity":"sha512-YJBf36aYnoHLmDTmIa7M9mVEmYt+wmEagXitLBbpmtqQcxcxhChP0hbH6+QdLbQin1EHbgxUpWTsilk/V4/aHQ==","signatures":[{"sig":"MEQCIEfkRczXnuit/XqkRSZdkGGm3V1emGmJG/i4P+mTc899AiBu0F/wZHf0SrdaBTvWQGLMeIh5puzyKuO0i7xnTcizOw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67244,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNLbWACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqD/g/5AbLoCBfTqX5wqlZOUed9qGxShBQn8WrzcsH+zd0JneCmF2Px\r\nRw09kL7Lbo8+mIRXtRAF1PKDoVgjIwA3bKXCIA9SfYtxbxnF0twu0t9Exnf0\r\n6JlbZjzLTgGOjVM3BqWizGCLnNGFoPBu/j/Al03KYyzydRDED6WZcAqn5LfI\r\nD/LyCbxtVHbgMzXOOKrieiX90UBgbECXiwcE6QQRncE8K+5fMMzFlD14oGaa\r\nZAbllR/fmIno9cVnSXI0PA/k6XTgeF1ZxkJupUxZU/7M7Y2j8+YGzc7ZDkVk\r\noSK3EFVISkkbd8ISJuD9+P+OarGPNKSYbsc2U+bdpLsHkasr87dQsHHI2QII\r\n4kgpEi5Ee6GrsVNVaXYLyzOVWid+yt0zsHEkAcz2wOJ7p7Le7eS0aNaYf38x\r\niSxHuFZherVIP0C39bQl7QXGtr7vRZOKavFU1ouOOWObQdfgNuFtznQwcJIJ\r\nzGd4dspJnBdRH1xAQ5mK+4URE8LKs4WPzkJNJiWfeEwEI8/0KEH/sthCJKko\r\n9Gzru5smFBNf6mgAgKwB5fjvIwuSI9C1UrRKjezWfOPlUx3mKAnxH5/4GGnc\r\nGIW72hIYAzdEnc3/zNtGM1AatJ+cnzdmHG3qEcazHTrbU/bdYpIUgPht7jAQ\r\nhMNAC/wWM4hlVEQJRcHKbiCDxH9XMsV0pvk=\r\n=LiYl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Configure your Drupal site\n\n### 🌳 Install the Drupal module\n\nInstall and enable the Drupal module:\n\n```console\ncomposer require drupal/cl_server;\ndrush pm:enable --yes cl_server;\n```\n\n### 🌴 Add Storybook to your Drupal repo\n\nFrom the root of your repo:\n\n```console\nyarn global add sb@latest;\nsb init --builder webpack5 --type server\n# If you have a reason to use Webpack4 use the following instead:\n# sb init --type server\nyarn add -D @lullabot/storybook-drupal-addon\n```\n\n### 🌵 Configure Storybook\n\nFirst enable the addon. Add it to the `addons` in the `.storybook/main.js`.\n\n```javascript\n// .storybook/main.js\nmodule.exports = {\n  // ...\n  addons: [\n    // ...\n    '@lullabot/storybook-drupal-addon',\n  ],\n  // ...\n};\n```\n\nThen, configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\n// .storybook/preview.js\nexport const parameters = {\n  // ...\n  server: {\n    // Replace this with your Drupal site URL, or an environment variable.\n    url: 'http://local.contrib.com',\n  },\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: { title: 'Umami' },\n    bartik: { title: 'Bartik' },\n    claro: { title: 'Claro' },\n    seven: { title: 'Seven' },\n  },\n  // ...\n};\n```\n\n## Start Storybook\n\nStart the development server Storybook server:\n\n```console\nyarn storybook\n```\n\n---\n\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = { config, managerEntries };\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it using the following snippet:\n\n```js\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{ drupalTheme }] = useGlobals();\n  // Do something with the Drupal theme.\n};\n```\n","gitHead":"9585579e5e28b69d4d554dacee341c4905a24f07","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.15.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.24--canary.23.9585579.0_1664399062114_0.40584442684854793","host":"s3://npm-registry-packages"}},"1.0.24":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.24","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.24","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"fff0ea996f5d0c1854164fc846db839feaa8b17c","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.24.tgz","fileCount":30,"integrity":"sha512-VLWRrynl6MwQNkqL8+rjpHKXAOYWuCMRfhq9p+R3xwtlP7nhrPp7KdgbjoifBwbTbfJUSHEp4h68h0V4UUmdFQ==","signatures":[{"sig":"MEQCIBONyGHdKIlE3wdBQotiNvBE0bpdxZ6vkzAGgZ6xOxO7AiAI7oaNDIkaeuSVdkl23UuT6wecZUCSBJR0DMlz4Q/ugA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67223,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjNLd+ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpyXQ/7B1Dcr2E2fyF7WMwgt0V58wVBnyGYb8Dep4bg+lJ9BloErr3Q\r\nBK65aYFK36A2Vrtf+eOcQ76fjx9YkrTO719t/58K4Na5PyVyiafpDsgd0IAd\r\n1qi5U51fDE7oODanlN892naSORpzppp1m0bxIVbFHB12Zv1GtVR5NpZ/Aflj\r\nfKn0sPrQSyYabz5uxeDg/+Nzzx/eHrHIwYp53G9SWRinvNwLvF60SryqzK57\r\nHk8URNno2B9pLuHWrvDz59Yv829XWdALR+lWdRd7lRK88km885VgBkkj3zpq\r\nAO2OZD5OVum+ZVqeh6gmxatQ0XLe8hiPv4MbPLHT1lJ6KDOfa8my56Bobpea\r\n3ngGWUAbSbmb46uVJQ6L/mTJG/TuZQ4iEYjuc6J/5bovKnIvLOqks2/AGiiz\r\nBhqWWrn4NwO+M2RBhKEI694BWUR3BZcYVHvaWPy/fvAw4Ow+Go9ThemrtIKF\r\nnfP2Fxt6U21hYVaTn8nIJ7z04GrPxddRPRs6WNl4xJh+QgeAbum/IYu6xEH4\r\nWNOWy8XrNi90CSaN8GhOQNacQpJUkC/j6HoBPtGoM2DOVfMfSnjnvEcmmKha\r\np0I+7xeDYTR+GezWPaSu4gALFZfBOBQb9EiA7IANzCHfLAVxkdywXkwP+cue\r\nAwBJ7HLGQCPX89vJ6NTe8clrXgYCuWthSlE=\r\n=AEDg\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"34763ea318329c18e6572016ae3e6c0a87864391","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.15.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.17.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.24_1664399230192_0.4825498885901507","host":"s3://npm-registry-packages"}},"1.0.25--canary.9ade69e.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.25--canary.9ade69e.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.25--canary.9ade69e.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"0bfad3b1b5de98948a4d846b9298e614074349c3","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.25--canary.9ade69e.0.tgz","fileCount":30,"integrity":"sha512-O183/CN9LfRbvDRTicerhs4cu6dbLKaExJi7gY1pCxStwoSXUinB1teEPiI5dR7KMT37laCviwtt2+VLK+BjAQ==","signatures":[{"sig":"MEYCIQCJXcsjMwnV57WBFHlCV00GoX2TVneUFwbHu018ndHNzgIhAIxpAcdewAWrTzhx6MUwyH5pP5pQjmoFLMI3QzXzeD2H","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67189,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQlJuACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrHXA/8Co68HS0eNk/lDZhkYM6gp2xq2cERNzUdq8i1KB0pyUtZe9NC\r\nL35lPTvWRdrXuSwIZXCy+Dp+lSIpeXKeMHPfmbguX1mVDyUi+em8ScWApYnk\r\nihHE3TV3ocLGjp2sLBayC4d/fFhBTKN5lw06azKqCIVGFD7CotL/LHc6hsNF\r\nyKyb6xYUXVGrUTzVTmAYa0LuYq3n4rlVBGYPHxAktdBtqX6hNUK4Jj+sULhA\r\n+xPUYg2R07q18lcjklF4esS6cQJkKUdSO402zeAJX7xvi/rmr4uA2eDE5Qsm\r\ngmNC+485vgwNSftGnLJcqxKKmvfUlALivdoR7TSaWZblPAjBxRqmrFdo7zBB\r\nRPCVhVmwKoVlv8vWXZ/M/nsvfKBBap0qqpyxPNaeWDUOFdKjKogNSnsn2QzD\r\nDC9xlIkzUyhmMQY3+iaAO8xXZNIgWfIIvAm7K8zaeTY1R8+88hKzfDCmyeOZ\r\nygtnA3UQt4krH9XoWkJiV1SZKWwXxxqJUjkTujpP/gcyui/HD+gZYGRHtlYb\r\nVs5u+elMKiNa8wt3waWdbfTlLDKQ3iJJPEvJCifHxhumt/0nVDSldCuRUPdg\r\nyz88gMK0YpcMnm8V/C7nAfQkjrUcRNpFvqcK6Kmp920YrvSwDDqgnDzfyLUT\r\nmBdEE7OqCZSFAlT4oPOBqeJ+Qxu4Ijh0O+M=\r\n=z9z/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Configure your Drupal site\n\n### 🌳 Install the Drupal module\n\nInstall and enable the Drupal module:\n\n```console\ncomposer require drupal/cl_server;\ndrush pm:enable --yes cl_server;\n```\n\n### 🌴 Add Storybook to your Drupal repo\n\nFrom the root of your repo:\n\n```console\nyarn global add sb@latest;\nsb init --builder webpack5 --type server\n# If you have a reason to use Webpack4 use the following instead:\n# sb init --type server\nyarn add -D @lullabot/storybook-drupal-addon\n```\n\n### 🌵 Configure Storybook\n\nFirst enable the addon. Add it to the `addons` in the `.storybook/main.js`.\n\n```javascript\n// .storybook/main.js\nmodule.exports = {\n  // ...\n  addons: [\n    // ...\n    '@lullabot/storybook-drupal-addon',\n  ],\n  // ...\n};\n```\n\nThen, configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\n// .storybook/preview.js\nexport const parameters = {\n  // ...\n  server: {\n    // Replace this with your Drupal site URL, or an environment variable.\n    url: 'http://local.contrib.com',\n  },\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: { title: 'Umami' },\n    bartik: { title: 'Bartik' },\n    claro: { title: 'Claro' },\n    seven: { title: 'Seven' },\n  },\n  // ...\n};\n```\n\n## Start Storybook\n\nStart the development server Storybook server:\n\n```console\nyarn storybook\n```\n\n---\n\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = { config, managerEntries };\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it using the following snippet:\n\n```js\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{ drupalTheme }] = useGlobals();\n  // Do something with the Drupal theme.\n};\n```\n","gitHead":"9ade69e7cfce019121d633a269cc475ae89d24f6","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.15.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.17.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.25--canary.9ade69e.0_1665290862536_0.1546050431125714","host":"s3://npm-registry-packages"}},"1.0.25":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.25","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.25","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"9919caaa11063d40431929c71a65b68a83fab91b","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.25.tgz","fileCount":30,"integrity":"sha512-mY/+PmvYZJB6FIkne7p/GmF6QdLf6m7iMwlBWpIX3tA7oDwvuLTukrEEH3MRvexdhDMPX6ayq683+750cVyMsA==","signatures":[{"sig":"MEQCIFeMCX4dCRSmUBBYPO6m9M2/rSwJyjXAaOwnyuKEfRs+AiAA+of2t0WdlHxNlF3U62C3GK80FTWWjivkQ29jft0VeA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67171,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQlK5ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoGnA/9GqxAH2Og328UCjj0I60rerUwy/4q7Ky6MfF9WKoKyPIE/08W\r\nCYvfAhxBY+CMrjqdyX3qGBdvFbkmxajQTqNkGVomFEp2I98NvaGSME28GVmV\r\nOHJulOfy3dMqAzyrTBrFgusGORYjbMz8d3Qm3xo67uMlDGAAXHR8QKWe9LAu\r\nCDDBgRXuKgT3FetDgDn2LcArzbCCUTiJ53PlOXJ5cmM72y1M6ZjLvQsy9m8S\r\ndk29X8N5cW3wIo2mAaAPEEHWhcB0T48OTVubT7kd58tdo+3Miiw/MvosKfSL\r\nnDoVE+h8nrimHAlXEA/3uovWuEqBjlA/dGxfikYM/nQ1WFI8w6SMqyZQMmbv\r\nfb2fVX+0YrQ5WAlW8Hkw7iD6rJ7mpgeaoqGOPTGHXO1zu6SVgwUcBBLrdW/t\r\nwZYbKs26+EJ9U2BduvRjLznKS10MYAOZej/bXZIxe/Rz/bK8y37karwIZapU\r\nPWXiKBRyKjgczCdmAtGf903/mqXdEKF6sUmdfb45s8UFu6Uq+a8Q/RITa3ej\r\nitJNUwBhS8GA4S9cDHVpyHUYLKG54pweG3KY50SV5Vbox1nxQMwVcfrwrh3r\r\nCD/eSLQVf+rC6kXiRkW0mcB9HeRu4zFnh1d5uhkAvM0k1ux78rHTO47tJWVh\r\nK+nuHoQmBucFtVWfzVBAz/NXgTZFRFfSrdk=\r\n=qiUl\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"9401db817e4dac42ee51a5bd7be1beea9726966a","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.15.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.17.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.25_1665290937353_0.7166325835563119","host":"s3://npm-registry-packages"}},"1.0.26":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.26","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.26","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"e764630621351758fc547a1ef9a9a766f15c9bad","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.26.tgz","fileCount":30,"integrity":"sha512-w2HmLtteslUWSPby23nP3uw1OABqoSzOzfZteUfo6j08XDPWGo19u0DRM3Y+kXzbHjW/7HPFdicJu+DRXjqvOw==","signatures":[{"sig":"MEUCIDkJ77nMM/oqAVtUphJk6vCEYjwsyagABW0bztRrv+7lAiEAkYTPtZhJzrEvqF9OcjoBBw3kOTnYqtpqxx7WY6PNiKg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67171,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQyFLACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrDnA/9EpwG3XdUDmpMZDwUWuJgVmG0JlJtUQtSig9C+V/PpxBZ9/dp\r\nPG680UTDLu8CzEmCqRKw6gBXQ6NdDrosO6Ut6Zec2oaNHNKbb+A+XMOFDq42\r\ndTzFv+7PZVoYmfPHb8PB76Yjjcp4xjR/7cqeZMDjwIsTdC3x90FE0IMpG5k1\r\nOwX7n+qzfgX5bmGxNUdZCHP6lRaDz1RuuBFAlD1L1szsXlyUQvUOLdCDhpGs\r\nWqRzp7Cyu07Dix6pN5ZvF9P/Pez3hOVh0pr0epQLH37smdaBSsMfEqa/lruW\r\nGFbiuYTsl0ZuBnCf/ZusApn/bSMQ4b1jWghWIX2pvmhWuI7sk97Qfann64IY\r\n9UB5ov5YJQt/U1lyMvbT18qk9bcYLAVyAKTdytcs28cbyC9Eo7oX9Y6iup2D\r\ncrq09TboHiwJTzJ6RK0lOWhivx0pe8REi5bsdJD51UoNdHZ7WAVe9i7cFzUr\r\nWx3HP95lQIz08qdGHZIb7T3A38noRSdWgG9G0bdc7OCxJDWUfFoJG4ByWWnR\r\nFBsS2ce9/aiRZV58mlwLERxZPU8DliB+DbmjhVpmKKBToWjcI3CpVxicVRih\r\n6TduhavvrkkQVqJ+AHY1Y2g7rHu5EZFyq+nz7ZpUBFwONswH9e0Q6gpNXYkn\r\nn6cE7ZxwLnxllTOuuieXLnp1ozZFPhiBfiA=\r\n=MEx6\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"1736a2cf43db9984f372682c858140114eae936b","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.15.0","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.17.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.26_1665343819113_0.9053823869439852","host":"s3://npm-registry-packages"}},"1.0.27--canary.5c2b85d.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.27--canary.5c2b85d.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.27--canary.5c2b85d.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"506f13e423669fb551397bfe6764535581574992","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.27--canary.5c2b85d.0.tgz","fileCount":30,"integrity":"sha512-sDLrk4Gqi8qcav3gkVK47chploirwDYqF+04ogmQHqmxxL+1WcZ46l+I2V4REBfHdb7XadUPGbT/0Ho5O4Z6Sw==","signatures":[{"sig":"MEUCIAIp3oFB5PXnmYDAX07CiDb1z/ElpFcGbMhtljPEHyM6AiEA1MkeovDwYDhOHfPS1/WC+tgpO3ws47X2lCqF07bHlGE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67063,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj/4pXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmqtmw//Wtg2emR0p1ojBpGp1Y/bLTrfhmGRRP51LTM47vZ3B3TdYfaW\r\nFh53q2pniGJczIIpgThC2YODSjSfl3U26I4pAguhK1aT4llfpHUyKuCjDrAk\r\nOiLuU0WujlqxPT1mrfZHEWvN7Hq9D1NSXbUnWDARiKe1vNC8T3hICdI4/8DG\r\n8436V7EiFxY6Hh0mS+zFlW4P6QNSMki8oZ4gzLfBDPWS6N14RFDVQCMHyTsC\r\nKQrtTmyXf6Psziv0h9OKPmhK2EI3DNsikZdElRz6G5OaVhGV5uBZSoo4Hr4S\r\n2RSPR9HphKgbL0uo6Iae7e3FSt3iTQUg9D51TY8O2lhfKEkqsRV+q56w29Wk\r\n9a8oaOx+vnwfdJNjDgRw4gOBaq+Z+jszG77GQsMQ1rZVVzf93+3whGsgF4EB\r\nu4TsEFdgDJLDGg5YxHgFSng27WroOBgl7WgOn59GcztOMyryn5+4nM9RS8PX\r\nKEfHwHtM595bsqxJ8VO+609okhSAxe0tW6zpX/bT78RP3BSsb6cMmaCUvris\r\nNcnXVu2cFQgpfQAGFCd76OpI8O3pzA04WuZBBXr8tXMoR+6IypypY+xQgQTJ\r\nZhY9/f+Pz08tJl1p67MtLce5RXvXGoZPhvk4k29KwbhR2IrDk+MTflxdIb+9\r\nQqDZft0+4sG+mJa3bkAHkM8Fvhavlgeewfw=\r\n=vSIc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Configure your Drupal site\n\n### 🌳 Install the Drupal module\n\nInstall and enable the Drupal module:\n\n```console\ncomposer require drupal/cl_server;\ndrush pm:enable --yes cl_server;\n```\n\n### 🌴 Add Storybook to your Drupal repo\n\nFrom the root of your repo:\n\n```console\nyarn global add sb@latest;\nsb init --builder webpack5 --type server\n# If you have a reason to use Webpack4 use the following instead:\n# sb init --type server\nyarn add -D @lullabot/storybook-drupal-addon\n```\n\n### 🌵 Configure Storybook\n\nFirst enable the addon. Add it to the `addons` in the `.storybook/main.js`.\n\n```javascript\n// .storybook/main.js\nmodule.exports = {\n  // ...\n  addons: [\n    // ...\n    '@lullabot/storybook-drupal-addon',\n  ],\n  // ...\n};\n```\n\nThen, configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\n// .storybook/preview.js\nexport const parameters = {\n  // ...\n  server: {\n    // Replace this with your Drupal site URL, or an environment variable.\n    url: 'http://local.contrib.com',\n  },\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: { title: 'Umami' },\n    bartik: { title: 'Bartik' },\n    claro: { title: 'Claro' },\n    seven: { title: 'Seven' },\n  },\n  // ...\n};\n```\n\n## Start Storybook\n\nStart the development server Storybook server:\n\n```console\nyarn storybook\n```\n\n---\n\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = { config, managerEntries };\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it using the following snippet:\n\n```js\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{ drupalTheme }] = useGlobals();\n  // Do something with the Drupal theme.\n};\n```\n","gitHead":"5c2b85d5a29f1318c804b4f66d736aa9dbd230ce","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.19.3","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.19.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.27--canary.5c2b85d.0_1677691479056_0.0642502765543802","host":"s3://npm-registry-packages"}},"1.0.27":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.27","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.27","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"c168d748cb02ee555417b129c5e9e40158df57b5","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.27.tgz","fileCount":30,"integrity":"sha512-fZcuHFxFlby2mvC1rv00nxIFqclPnCpfLwd43Qkc7EsqzcVnlath4L7Ogwjb5xl6ddX1xHLAG4YsK/4xwU9AlQ==","signatures":[{"sig":"MEUCIAHzNGBqpRGuc7/6+61FFAwNIACbLqf1mutJPoRvOqWuAiEA0AwJjfXs62SffW1E+ySDNe3gnDvZ76TLmj2/LtV0RBM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":67045,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAC9lACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoYQBAAnEJqdNhg7tEHqxrJc0NIDC9fGlu4BqcN3zWv4xFXa3717SJo\r\neUB/KG0ISju5tuj6z8JNLvmRqAHDV66ZJuzlrn/4FjVyrR4/9TnsjtAXeIre\r\nL20MUIMCD1ItYeFrPlb6ODCb0n1NUh9QKnD8pQ3/5IcE36C+WwKip39w/onE\r\nR2zdsx1mLjPomxjP8GoKSqfuwx20Q0gmd2AYShvSXaBfZpPjmNqqvfX3w6Hk\r\nJ5/dJjzD1f9IzpwvYlVOh8ih98PX+zr2w8nYIDNBrTkaSHyATXQEGl5O3Ebv\r\n0oT5UWgQkNvc/3QaYp6iIzOGmgWazNCWnz5RK/VuCQ1SzHNak2NzjyZ9aU6p\r\nLQepcNEbo/o5E2Np6reDJcixgTRCC8VjU/60n04rCXuU6EwHBIMN//4t41Sg\r\nNrLSanwfiyw7LyWDq4CveKFJB+Ok34JBJN/uixgrAHGsROBE7rim2Qm7xMX3\r\nqqemTi5XzFjJco/AepSFi+aD+ANDSXo/b6WqlJRQSO/kHb2zkVS4uSKQb0ix\r\nRNUWIhR5WKoTAzGoKBhjkC1kcBRsZbfr2a+nAVmTZBPJbu1sONpnopgWRYl8\r\nFjxdFd2xr6AoiqpOnKrqY6O1iLRnfeUkgKioqPy5gj43wb9lHtpKOzY7+RCM\r\n6TgdAhaRGI5CrjS/PeEDcrNSbpVUlsBSyFw=\r\n=3kdZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/cjs/index.js","types":"dist/ts/index.d.ts","module":"dist/esm/index.js","gitHead":"e13b9c5c2520c1131237aa8cfe39f2eaafd1d5c0","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"concurrently \"yarn buildBabel\" \"yarn buildTsc\"","clean":"rimraf ./dist","start":"concurrently \"yarn build:watch\" \"yarn storybook -- --no-manager-cache --quiet\"","release":"yarn build && auto shipit","buildTsc":"tsc --declaration --emitDeclarationOnly --outDir ./dist/ts","prebuild":"yarn clean","storybook":"start-storybook -p 6006","buildBabel":"concurrently \"yarn buildBabel:cjs\" \"yarn buildBabel:esm\"","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"concurrently \"yarn buildBabel:esm -- --watch\" \"yarn buildTsc -- --watch\"","buildBabel:cjs":"babel ./src -d ./dist/cjs --extensions \".js,.jsx,.ts,.tsx\"","buildBabel:esm":"babel ./src -d ./dist/esm --env-name esm --extensions \".js,.jsx,.ts,.tsx\"","build-storybook":"build-storybook"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["react","server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.19.3","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.19.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","boxen":"^5.0.1","react":"^17.0.1","dedent":"^0.7.0","rimraf":"^3.0.2","prettier":"^2.3.1","react-dom":"^17.0.1","@babel/cli":"^7.12.1","prop-types":"^15.7.2","typescript":"^4.2.4","@babel/core":"^7.12.3","babel-loader":"^8.1.0","concurrently":"^6.2.0","@storybook/react":"^6.4.9","@babel/preset-env":"^7.12.1","@babel/preset-react":"^7.12.5","@babel/preset-typescript":"^7.13.0","@storybook/addon-essentials":"^6.4.9"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0","react-dom":"^16.8.0 || ^17.0.0","@storybook/api":"^6.4.0","@storybook/addons":"^6.4.0","@storybook/theming":"^6.4.0","@storybook/components":"^6.4.0","@storybook/core-events":"^6.4.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.27_1677733733227_0.6947241161151692","host":"s3://npm-registry-packages"}},"1.0.28--canary.30.e7cf41b.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.28--canary.30.e7cf41b.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.28--canary.30.e7cf41b.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"30abc09073d0b271459c5500cef4a4c222085767","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.28--canary.30.e7cf41b.0.tgz","fileCount":12,"integrity":"sha512-GfooaCLpsWGz5CXY2hnOHsc1iBJpiH1zW5Nfq1lOMH3ns9bXeThMU5s5pIEWq/vTQHliuv38hfSznyzC1NvUMw==","signatures":[{"sig":"MEYCIQC06x8SKitpBYz9wlZ2MJkjL26b1omOvaUPh6eHLD6BiwIhAMIxU5Vt0ImfiVF/R3/hbBoKEpC29ZTDm3ebE5rFetsA","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8646,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkRVghACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmonxg//f8MoS0+TV7sr8EwXGec8wh3T35753vw4CaeYqVRoyky5TJfH\r\n12ZjvJadQYW/wHdxbjaCwCW4tbjVf+OKxDCcoFdfq7rXx4z/TVv+UorCZgo1\r\nKSx3lpSoqX2onOy11Au+B5FU8nmgFN57Hs+0RlYT/oci1u2LBoFxuO+3GLFf\r\nGltDbDENzZwZEx1hpxY1Yma6iQUw7YnYB0POWe/WaFbwRCPZcQuyPHCjpmY2\r\nUyNIDr/t1a1LYXAbZSTogr8C7gnKxplmz6uSZt7ufbm3hyEmnNhHUi2FW1H3\r\n41Y8ZIBh0h1S+M8AMMm2TVRN0gkRFQJccAjhc6fY88tDJQtwWHNJ5rPg8bPc\r\n8zFhcY8vWoVatibtiiTkEwT5l4ihLLdUEFddIAkNFiw05hnGQq8nxd3NDlbd\r\nIyxRgl64QFOjH2pSQ6VvIag1dPUBDw6GPDYlNIQC45WToGp9R5CC1SFe7bYf\r\nLxXA+4LVJyhLcX9JALmyGR7AXOtNNrpwEUmWMOxsK7cIayLDP+LrGxBzQ0Md\r\nG9nfZA654dsUj3ZBNja2M1K0mRUEKu1rb30R+Kko8p9CRNLRwQwonYNJGmsW\r\ns6hj0IGHCRCGNn7YquEXPGq3SWDh1d4iGF8rytonQxD19MO5jvmXxJji3CQY\r\n3O0s/yMt1rZkZbKBsUt8rvFk0lRx2KDHVfY=\r\n=SQ4o\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Configure your Drupal site\n\n### 🌳 Install the Drupal module\n\nInstall and enable the Drupal module:\n\n```console\ncomposer require drupal/cl_server;\ndrush pm:enable --yes cl_server;\n```\n\n### 🌴 Add Storybook to your Drupal repo\n\nFrom the root of your repo:\n\n```console\nyarn global add sb@latest;\nsb init --builder webpack5 --type server\n# If you have a reason to use Webpack4 use the following instead:\n# sb init --type server\nyarn add -D @lullabot/storybook-drupal-addon\n```\n\n### 🌵 Configure Storybook\n\nFirst enable the addon. Add it to the `addons` in the `.storybook/main.js`.\n\n```javascript\n// .storybook/main.js\nmodule.exports = {\n  // ...\n  addons: [\n    // ...\n    '@lullabot/storybook-drupal-addon',\n  ],\n  // ...\n};\n```\n\nThen, configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\n// .storybook/preview.js\nexport const parameters = {\n  // ...\n  server: {\n    // Replace this with your Drupal site URL, or an environment variable.\n    url: 'http://local.contrib.com',\n  },\n  drupalTheme: 'umami',\n  supportedDrupalThemes: {\n    umami: { title: 'Umami' },\n    bartik: { title: 'Bartik' },\n    claro: { title: 'Claro' },\n    seven: { title: 'Seven' },\n  },\n  // ...\n};\n```\n\n## Start Storybook\n\nStart the development server Storybook server:\n\n```console\nyarn storybook\n```\n\n---\n\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `/preset.js` file:\n\n```js\nfunction config(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/preview'), // <-- library's preview preset\n    require.resolve('./dist/esm/preset/preview'), // <-- your addon's preview preset (if present)\n  ];\n}\n\nfunction managerEntries(entry = []) {\n  return [\n    ...entry,\n    require.resolve('@lullabot/storybook-drupal-addon/manager'),\n    require.resolve('./dist/esm/preset/manager'), // <-- your addon's manager (if present)\n  ];\n}\n\nmodule.exports = { config, managerEntries };\n```\n\nThe currently selected theme is available in the `drupalTheme` global, so you can access it using the following snippet:\n\n```js\nimport { useGlobals } from '@storybook/client-api';\n\nconst myDecorator = (story, context) => {\n  const [{ drupalTheme }] = useGlobals();\n  // Do something with the Drupal theme.\n};\n```\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./manager":{"types":"./dist/manager.d.ts","import":"./dist/manager.mjs","require":"./dist/manager.js"},"./preview":{"types":"./dist/preview.d.ts","import":"./dist/preview.mjs","require":"./dist/preview.js"},"./package.json":"./package.json"},"gitHead":"e7cf41bae64289b06e1c3c6fddec37dd8ff69da1","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup","clean":"rimraf ./dist","start":"run-p build:watch 'storybook --quiet'","release":"yarn build && auto shipit","eject-ts":"zx scripts/eject-typescript.mjs","prebuild":"yarn clean","storybook":"storybook dev -p 6006","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"yarn build --watch","build-storybook":"storybook build"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.19.4","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","tsup":"^6.6.3","vite":"^4.1.4","boxen":"^5.0.1","react":"^18.0.0","dedent":"^0.7.0","rimraf":"^3.0.2","prompts":"^2.4.2","prettier":"^2.3.1","react-dom":"^18.0.0","storybook":"^7.0.0","prop-types":"^15.8.1","typescript":"^4.9.5","@types/node":"^18.15.0","npm-run-all":"^4.1.5","@types/react":"^18.0.34","@storybook/server":"^7.0.0","@types/webpack-env":"^1.18.0","@vitejs/plugin-react":"^3.1.0","@storybook/addon-links":"^7.0.0","@storybook/server-webpack5":"^7.0.0","@storybook/testing-library":"^0.0.14-next.1","@storybook/addon-essentials":"^7.0.0","@storybook/addon-interactions":"^7.0.0"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0","react-dom":"^16.8.0 || ^17.0.0 || ^18.0.0","@storybook/types":"^7.0.0","@storybook/blocks":"^7.0.0","@storybook/theming":"^7.0.0","@storybook/components":"^7.0.0","@storybook/core-events":"^7.0.0","@storybook/manager-api":"^7.0.0","@storybook/preview-api":"^7.0.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.28--canary.30.e7cf41b.0_1682266145587_0.04120108744689044","host":"s3://npm-registry-packages"}},"1.0.28--canary.30.3107b37.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.28--canary.30.3107b37.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.28--canary.30.3107b37.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"3e0545c6edfbc02c420bec0a0695be5c367e0e84","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.28--canary.30.3107b37.0.tgz","fileCount":20,"integrity":"sha512-80BZS8Th9JGZS5XEluK3++8mCRbQgMlsaT2AS34cQzkaA3OqcUsjcCo3PFUJATUxhB93nMCYdyzVm34FMoAdkw==","signatures":[{"sig":"MEQCIEmXcdjKRXDLXZS8AdikuRulP77g1UnMswQxH+yTeByZAiAh+vLM5bBPyvwgMwQU1lvX1htLHrZn5EnKShLgfx0EOw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43466,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkRZJrACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmr9ShAAnu8zDtCe5sUqYlEVuhyCWJY0cUW5hzdOvXRLk5gDavClLo7+\r\nNaY5YObl/YOFiWNI25qRnIMFxe50eEpgCZjrginv/OUGZ1ayg2zU2LWUMNHn\r\n1U39fi5KfeiXCPZzsNSH3mt6jTuM45Sc1FgS4wyX/5y5LwBhyEtYvnMaWkb6\r\nANIywxIf4kFmQEAXKrn1k9B8hrGOr19skCO3zacGxKZhh+0nCkMDne4ccTgA\r\nPxWNhWxddN/sfIbT1v1UMd103tVLpVkU0iMf4VOv+1QIEtfMTyTEWZL1d1dL\r\nQ57jSa8zEAwEdHjXFkHGnVawiVb64kgzFV5EdeiIHVKPSgTxu0/rDt+LT0Ha\r\nPaq3Vf7s+FBGAO27Nhr3lSEl4P/04C2Az+tof8Vm5ZuR/Zrq1gPcnLRBpCA8\r\npxcMR8SKodFh2hT9bneHdStz089o6cKrRGBgooqCwYsGNENSYn/fsz4t8vWG\r\n7N5KHHNcpjQXTMrX8TjTfHlNPV/KsGEdmm3rM7BmjEp1Nt23gA3uT75BtjqF\r\nbcheq6/STaCOqosyJ77w/a4xwIOcUcUWjEq7JZ/T6xufAst1oSxd1OsjbDsQ\r\nGN/ipWBEXGQRfb5SdBta5V9lX+k9RgmDwwgGCNr0t6xQa0VZhoaWAZGiV5UU\r\nVp7eu0P6UUZ/gZcRyiorVi8IgY/rfaLbXSw=\r\n=CQAZ\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Configure your Drupal site\n\n### 🌳 Install the Drupal module\n\nInstall and enable the Drupal module:\n\n```console\ncomposer require drupal/cl_server;\ndrush pm:enable --yes cl_server;\n```\n\n### 🌴 Add Storybook to your Drupal repo\n\nFrom the root of your repo:\n\n```console\nyarn global add sb@latest;\nsb init --builder webpack5 --type server\n# If you have a reason to use Webpack4 use the following instead:\n# sb init --type server\nyarn add -D @lullabot/storybook-drupal-addon\n```\n\n### 🌵 Configure Storybook\n\nFirst enable the addon. Add it to the `addons` in the `.storybook/main.js`.\n\n```javascript\n// .storybook/main.js\nmodule.exports = {\n  // ...\n  addons: [\n    // ...\n    '@lullabot/storybook-drupal-addon',\n  ],\n  // ...\n};\n```\n\nThen, configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\n// .storybook/preview.js\nconst preview: Preview = {\n  // ...\n  globals: {\n    // ...\n    drupalTheme: 'umami',\n    supportedDrupalThemes: {\n      umami: {title: 'Umami'},\n      bartik: {title: 'Bartik'},\n      claro: {title: 'Claro'},\n      seven: {title: 'Seven'},\n    },\n  },\n  parameters: {\n    server: {\n      // Replace this with your Drupal site URL, or an environment variable.\n      url: 'http://local.contrib.com',\n    },\n    // ...\n  },\n  // ...\n};\n\nexport default preview;\n```\n\n## Start Storybook\n\nStart the development server Storybook server:\n\n```console\nyarn storybook\n```\n\n---\n\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `src/manager.ts` and `src/preview.ts` files:\n\n*src/manager.ts*\n```typescript\nexport * from '@lullabot/storybook-drupal-addon/manager';\n```\n\n*src/preview.ts*\n```typescript\nimport type { Renderer, ProjectAnnotations } from '@storybook/types';\nimport drupalPreview from '@lullabot/storybook-drupal-addon/preview';\nimport { withYourDrupalDecorator } from './withYourDecorator';\n\n// @ts-ignore\nconst drupalDecorators = drupalPreview?.decorators || [];\n\nconst preview: ProjectAnnotations<Renderer> = {\n    ...drupalPreview,\n    decorators: [...drupalDecorators, withYourI18nDecorator],\n}\n\nexport default preview;\n```\n\nThe currently selected drupal theme is available in the `drupalTheme` global, so you can access it in a decorator using the following snippet:\n\n```typescript\nimport { MyProvider } from 'your-drupal-library';\nimport { useGlobals } from '@storybook/manager-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  \n  return <MyProvider drupalTheme={drupalTheme}>;\n}\n```\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./manager":{"types":"./dist/manager.d.ts","import":"./dist/manager.mjs","require":"./dist/manager.js"},"./preview":{"types":"./dist/preview.d.ts","import":"./dist/preview.mjs","require":"./dist/preview.js"},"./package.json":"./package.json"},"gitHead":"3107b373172739f15dc58e0bbc1a3448b5a4ab4c","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup","clean":"rimraf ./dist","start":"run-p build:watch 'storybook --quiet'","release":"yarn build && auto shipit","eject-ts":"zx scripts/eject-typescript.mjs","prebuild":"yarn clean","storybook":"storybook dev -p 6006","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"yarn build --watch","build-storybook":"storybook build"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"8.19.4","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"16.20.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","tsup":"^6.6.3","vite":"^4.1.4","boxen":"^5.0.1","react":"^18.0.0","dedent":"^0.7.0","rimraf":"^3.0.2","prompts":"^2.4.2","prettier":"^2.3.1","react-dom":"^18.0.0","storybook":"^7.0.0","prop-types":"^15.8.1","typescript":"^4.9.5","@types/node":"^18.15.0","npm-run-all":"^4.1.5","@types/react":"^18.0.34","@storybook/react":"^7.0.0","@types/webpack-env":"^1.18.0","@vitejs/plugin-react":"^3.1.0","@storybook/react-vite":"^7.0.0","@storybook/addon-links":"^7.0.0","@storybook/testing-library":"^0.0.14-next.1","@storybook/addon-essentials":"^7.0.0","@storybook/addon-interactions":"^7.0.0"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0","react-dom":"^16.8.0 || ^17.0.0 || ^18.0.0","@storybook/types":"^7.0.0","@storybook/blocks":"^7.0.0","@storybook/theming":"^7.0.0","@storybook/components":"^7.0.0","@storybook/core-events":"^7.0.0","@storybook/manager-api":"^7.0.0","@storybook/preview-api":"^7.0.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.28--canary.30.3107b37.0_1682281067240_0.5777326777300602","host":"s3://npm-registry-packages"}},"1.0.28--canary.30.1f73a32.0":{"name":"@lullabot/storybook-drupal-addon","version":"1.0.28--canary.30.1f73a32.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@1.0.28--canary.30.1f73a32.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"f024b4b94ede7cfd64d8ab0adcec7b58509fc231","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-1.0.28--canary.30.1f73a32.0.tgz","fileCount":20,"integrity":"sha512-P/7awJaVQsi4eJAfUpvzFrq0bwicQhNdwPh/tNM0arI6S2tiA5vTC7LDa+1dg1CluyjTBAAj4tK1JPWTCgBC/A==","signatures":[{"sig":"MEUCIFiB3wyqbUI8dL/HQJCd1mXVP3ajAScYit5/uAKE6g/0AiEAuJjdGATNOt9Mp8Bz/wIhr8jj0PwRj1esCGL82MOcXmo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43466,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkRZKjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrjHw/+LO+iZvh//83tRjtaU0KzyWVvGTMVmu+2VE4fFTFkORB1YFP6\r\nHR1p4sKs81ZvQZU1F2VMgBnyUxdoFFRrKZlP2d5lPxbgzTKac9cycbyM4qXD\r\n855qzeFj8dVy3ps9IBZlux/AeviFJhhoPRQSXwQBFkf8mDwbTmO9SPe6Efti\r\n2ByufItqNHFjsL40GQx8jEokUps6D2Mf4MSFnYQnTnxWe9xmoShMXwZPW88S\r\nn3I+I1LDOxDrQwU5dC8OlclKE9xQ3EC5Dky25MdtoETPB5EunrE3dYvKEVX/\r\nnFclnk8Th9cdrG6W66Mu07UibGPgtflZ5+qZS9PD9e8AVKK57eeK93kvZGGr\r\ntuL0WUu/TKb4BoKOEhKFryI6kSbVfSNuZ6Y+1MJu2r3Lvt8gOjvNOKnxcEWd\r\nEPTmeZ20o7UmI/HpAURQtsrN91eXbQMrG2QMJT6IAd0g0s9KjjcvQKhVo+5b\r\nzv+dmm9CtP2WPdmYGu+LUqJ/6GhO2t+KQaosBEZOqnQi3l+RTzlOr30EYIUE\r\nM4VyNStF1HmM78Bv8veY3ne+TaebscqR3R9vPGkx4gWmkV72zk3X/udVlwNO\r\ncgti74OCCNph5Y7UDAiuWeyRf/n+chhvjGpIPJdJFWlVZdqbHrjvKKIPtBTz\r\nT9iZ7D2Q4yScbT4m/u/FmD9XOyydPdwugbY=\r\n=lSUK\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\n## Configure your Drupal site\n\n### 🌳 Install the Drupal module\n\nInstall and enable the Drupal module:\n\n```console\ncomposer require drupal/cl_server;\ndrush pm:enable --yes cl_server;\n```\n\n### 🌴 Add Storybook to your Drupal repo\n\nFrom the root of your repo:\n\n```console\nyarn global add sb@latest;\nsb init --builder webpack5 --type server\n# If you have a reason to use Webpack4 use the following instead:\n# sb init --type server\nyarn add -D @lullabot/storybook-drupal-addon\n```\n\n### 🌵 Configure Storybook\n\nFirst enable the addon. Add it to the `addons` in the `.storybook/main.js`.\n\n```javascript\n// .storybook/main.js\nmodule.exports = {\n  // ...\n  addons: [\n    // ...\n    '@lullabot/storybook-drupal-addon',\n  ],\n  // ...\n};\n```\n\nThen, configure the `supportedDrupalThemes` and `drupalTheme` parameters in `.storybook/preview.js`.\n\n`supportedDrupalThemes` is an object where the keys are the machine name of the Drupal themes and the values are the plain text name of that Drupal theme you want to use. This is what will appear in the dropdown in the toolbar.\n\n```javascript\n// .storybook/preview.js\nconst preview: Preview = {\n  // ...\n  globals: {\n    // ...\n    drupalTheme: 'umami',\n    supportedDrupalThemes: {\n      umami: {title: 'Umami'},\n      bartik: {title: 'Bartik'},\n      claro: {title: 'Claro'},\n      seven: {title: 'Seven'},\n    },\n  },\n  parameters: {\n    server: {\n      // Replace this with your Drupal site URL, or an environment variable.\n      url: 'http://local.contrib.com',\n    },\n    // ...\n  },\n  // ...\n};\n\nexport default preview;\n```\n\n## Start Storybook\n\nStart the development server Storybook server:\n\n```console\nyarn storybook\n```\n\n---\n\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `src/manager.ts` and `src/preview.ts` files:\n\n*src/manager.ts*\n```typescript\nexport * from '@lullabot/storybook-drupal-addon/manager';\n```\n\n*src/preview.ts*\n```typescript\nimport type { Renderer, ProjectAnnotations } from '@storybook/types';\nimport drupalPreview from '@lullabot/storybook-drupal-addon/preview';\nimport { withYourDrupalDecorator } from './withYourDecorator';\n\n// @ts-ignore\nconst drupalDecorators = drupalPreview?.decorators || [];\n\nconst preview: ProjectAnnotations<Renderer> = {\n    ...drupalPreview,\n    decorators: [...drupalDecorators, withYourI18nDecorator],\n}\n\nexport default preview;\n```\n\nThe currently selected drupal theme is available in the `drupalTheme` global, so you can access it in a decorator using the following snippet:\n\n```typescript\nimport { MyProvider } from 'your-drupal-library';\nimport { useGlobals } from '@storybook/manager-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  \n  return <MyProvider drupalTheme={drupalTheme}>;\n}\n```\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./manager":{"types":"./dist/manager.d.ts","import":"./dist/manager.mjs","require":"./dist/manager.js"},"./preview":{"types":"./dist/preview.d.ts","import":"./dist/preview.mjs","require":"./dist/preview.js"},"./package.json":"./package.json"},"gitHead":"1f73a32506530997386b766deb78afaa260043bb","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup","clean":"rimraf ./dist","start":"run-p build:watch 'storybook --quiet'","release":"yarn build && auto shipit","eject-ts":"zx scripts/eject-typescript.mjs","prebuild":"yarn clean","storybook":"storybook dev -p 6006","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"yarn build --watch","build-storybook":"storybook build"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"9.5.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"18.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","tsup":"^6.6.3","vite":"^4.1.4","boxen":"^5.0.1","react":"^18.0.0","dedent":"^0.7.0","rimraf":"^3.0.2","prompts":"^2.4.2","prettier":"^2.3.1","react-dom":"^18.0.0","storybook":"^7.0.0","prop-types":"^15.8.1","typescript":"^4.9.5","@types/node":"^18.15.0","npm-run-all":"^4.1.5","@types/react":"^18.0.34","@storybook/react":"^7.0.0","@types/webpack-env":"^1.18.0","@vitejs/plugin-react":"^3.1.0","@storybook/react-vite":"^7.0.0","@storybook/addon-links":"^7.0.0","@storybook/testing-library":"^0.0.14-next.1","@storybook/addon-essentials":"^7.0.0","@storybook/addon-interactions":"^7.0.0"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0","react-dom":"^16.8.0 || ^17.0.0 || ^18.0.0","@storybook/types":"^7.0.0","@storybook/blocks":"^7.0.0","@storybook/theming":"^7.0.0","@storybook/components":"^7.0.0","@storybook/core-events":"^7.0.0","@storybook/manager-api":"^7.0.0","@storybook/preview-api":"^7.0.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_1.0.28--canary.30.1f73a32.0_1682281123308_0.09110817138360505","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@lullabot/storybook-drupal-addon","version":"2.0.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@2.0.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"4dd84dfe7b00fde09f20cfa2cc83904acf4f9987","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-2.0.0.tgz","fileCount":5,"integrity":"sha512-s8Brk4aVO/gvyK67jSBuppvVbCPEGL6e2UOEluU+zQiP7f0aDXHTX0YTuGuiISjJQXnpyrHrNlaWLhW4V/4eag==","signatures":[{"sig":"MEQCICO7EaOSmB8TIWYBiortyAW/r3OJd7LucEzD3kbaWBAcAiBfzg89href1MVMHym4rqhAWPTxWZ1qbGStnWH38jz0QQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7410},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./manager":{"types":"./dist/manager.d.ts","import":"./dist/manager.mjs","require":"./dist/manager.js"},"./preview":{"types":"./dist/preview.d.ts","import":"./dist/preview.mjs","require":"./dist/preview.js"},"./package.json":"./package.json"},"gitHead":"6272abe4894741a6f94b7ba14f4735701469ba36","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup","clean":"rimraf ./dist","start":"run-p build:watch 'storybook --quiet'","release":"yarn build && auto shipit","eject-ts":"zx scripts/eject-typescript.mjs","prebuild":"yarn clean","storybook":"storybook dev -p 6006","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"yarn build --watch","build-storybook":"storybook build"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"9.5.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"18.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","tsup":"^6.6.3","vite":"^4.1.4","boxen":"^5.0.1","react":"^18.0.0","dedent":"^0.7.0","rimraf":"^3.0.2","prompts":"^2.4.2","prettier":"^2.3.1","react-dom":"^18.0.0","storybook":"^7.0.0","prop-types":"^15.8.1","typescript":"^4.9.5","@types/node":"^18.15.0","npm-run-all":"^4.1.5","@types/react":"^18.0.34","@storybook/react":"^7.0.0","@types/webpack-env":"^1.18.0","@vitejs/plugin-react":"^3.1.0","@storybook/react-vite":"^7.0.0","@storybook/addon-links":"^7.0.0","@storybook/testing-library":"^0.0.14-next.1","@storybook/addon-essentials":"^7.0.0","@storybook/addon-interactions":"^7.0.0"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0","react-dom":"^16.8.0 || ^17.0.0 || ^18.0.0","@storybook/types":"^7.0.0","@storybook/blocks":"^7.0.0","@storybook/theming":"^7.0.0","@storybook/components":"^7.0.0","@storybook/core-events":"^7.0.0","@storybook/manager-api":"^7.0.0","@storybook/preview-api":"^7.0.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_2.0.0_1686258260409_0.15338018702194112","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@lullabot/storybook-drupal-addon","version":"2.0.1","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@2.0.1","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"576b2374b0598b903fbf4fed04eae40dc8b23c88","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-2.0.1.tgz","fileCount":20,"integrity":"sha512-gfUmn+4AieWkAb3jMu0Kv95hoJdUPQ73iY3CZBCfXjDNGTI+maMfyAlDGs/nlJ1/FeLbAHpkFpIWwFW6LmZiIw==","signatures":[{"sig":"MEYCIQCCXoRHtqGLEBe+WQ5dDWsvgQPmnACD2DtBhX8pylltXgIhAKuZ0VlKhYHNy5awx+2YpSBbIGQF5ksPH3BhBgQUHz1D","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43444},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./manager":{"types":"./dist/manager.d.ts","import":"./dist/manager.mjs","require":"./dist/manager.js"},"./preview":{"types":"./dist/preview.d.ts","import":"./dist/preview.mjs","require":"./dist/preview.js"},"./package.json":"./package.json"},"gitHead":"68c7a26497f509a07e72c6e2c7b00827eed97aac","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup","clean":"rimraf ./dist","start":"run-p build:watch 'storybook --quiet'","release":"yarn build && auto shipit","eject-ts":"zx scripts/eject-typescript.mjs","prebuild":"yarn clean","storybook":"storybook dev -p 6006","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"yarn build --watch","build-storybook":"storybook build"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Dupal Addon","supportedFrameworks":["server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"9.5.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"18.16.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","tsup":"^6.6.3","vite":"^4.1.4","boxen":"^5.0.1","react":"^18.0.0","dedent":"^0.7.0","rimraf":"^3.0.2","prompts":"^2.4.2","prettier":"^2.3.1","react-dom":"^18.0.0","storybook":"^7.0.0","prop-types":"^15.8.1","typescript":"^4.9.5","@types/node":"^18.15.0","npm-run-all":"^4.1.5","@types/react":"^18.0.34","@storybook/react":"^7.0.0","@types/webpack-env":"^1.18.0","@vitejs/plugin-react":"^3.1.0","@storybook/react-vite":"^7.0.0","@storybook/addon-links":"^7.0.0","@storybook/testing-library":"^0.0.14-next.1","@storybook/addon-essentials":"^7.0.0","@storybook/addon-interactions":"^7.0.0"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0","react-dom":"^16.8.0 || ^17.0.0 || ^18.0.0","@storybook/types":"^7.0.0","@storybook/blocks":"^7.0.0","@storybook/theming":"^7.0.0","@storybook/components":"^7.0.0","@storybook/core-events":"^7.0.0","@storybook/manager-api":"^7.0.0","@storybook/preview-api":"^7.0.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_2.0.1_1686258443529_0.9624789531706526","host":"s3://npm-registry-packages"}},"2.0.2":{"name":"@lullabot/storybook-drupal-addon","version":"2.0.2","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@2.0.2","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"76a8542a4012014cd043535af8bad7262dbac9fe","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-2.0.2.tgz","fileCount":20,"integrity":"sha512-EgmNMW1WUEyamZ1PUiUYb6f70khcGC2iAS4JXyXnLFpdqaZN4AmVCAMG+pHaU0l8vFkf9a10U40cs9yfNBZjsw==","signatures":[{"sig":"MEUCIQDJcS7wnfDhRbWqDzxHlI+2yrwO9qMHIxUUxC84skbDIgIgSe9abtenh/nrOtrt5ADAFb3CfUGlP3wgodcNNzub8T0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43445},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./manager":{"types":"./dist/manager.d.ts","import":"./dist/manager.mjs","require":"./dist/manager.js"},"./preview":{"types":"./dist/preview.d.ts","import":"./dist/preview.mjs","require":"./dist/preview.js"},"./package.json":"./package.json"},"gitHead":"fe2da065d6f96c72e2b68928a89b1088907538bb","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup","clean":"rimraf ./dist","start":"run-p build:watch 'storybook --quiet'","release":"yarn build && auto shipit","eject-ts":"zx scripts/eject-typescript.mjs","prebuild":"yarn clean","storybook":"storybook dev -p 6006","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"yarn build --watch","build-storybook":"storybook build"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Drupal Addon","supportedFrameworks":["server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"9.6.7","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"18.17.1","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","tsup":"^6.6.3","vite":"^4.1.4","boxen":"^5.0.1","react":"^18.0.0","dedent":"^0.7.0","rimraf":"^3.0.2","prompts":"^2.4.2","prettier":"^2.3.1","react-dom":"^18.0.0","storybook":"^7.0.0","prop-types":"^15.8.1","typescript":"^4.9.5","@types/node":"^18.15.0","npm-run-all":"^4.1.5","@types/react":"^18.0.34","@storybook/react":"^7.0.0","@types/webpack-env":"^1.18.0","@vitejs/plugin-react":"^3.1.0","@storybook/react-vite":"^7.0.0","@storybook/addon-links":"^7.0.0","@storybook/testing-library":"^0.0.14-next.1","@storybook/addon-essentials":"^7.0.0","@storybook/addon-interactions":"^7.0.0"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0","react-dom":"^16.8.0 || ^17.0.0 || ^18.0.0","@storybook/types":"^7.0.0","@storybook/blocks":"^7.0.0","@storybook/theming":"^7.0.0","@storybook/components":"^7.0.0","@storybook/core-events":"^7.0.0","@storybook/manager-api":"^7.0.0","@storybook/preview-api":"^7.0.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_2.0.2_1695027985959_0.523046588581755","host":"s3://npm-registry-packages"}},"2.0.3":{"name":"@lullabot/storybook-drupal-addon","version":"2.0.3","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@2.0.3","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"c0e0a9112005a4323f77ed7f28691fd6f0ef1a26","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-2.0.3.tgz","fileCount":20,"integrity":"sha512-dr9kG7TiaJ5D0kz1QrZ3DIszyzxrrAQP+QrVz9PCey9nQjMgAcYQ1raPPDK0U6bJV2p8r7GCIbfDwz+RjDPJUw==","signatures":[{"sig":"MEUCIQDmuWoWQF+VQrs7bOuZ5SIsqTTR8Wc34lpm1YKYSmHWuAIgfYm6c8C3jkRYCApFHd/+/9ZEbXfdXpLXhQngB4AIAzg=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":43557},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./manager":{"types":"./dist/manager.d.ts","import":"./dist/manager.mjs","require":"./dist/manager.js"},"./preview":{"types":"./dist/preview.d.ts","import":"./dist/preview.mjs","require":"./dist/preview.js"},"./package.json":"./package.json"},"gitHead":"997f4091339accf04b760b2450676fd15e988ea1","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup","clean":"rimraf ./dist","start":"run-p build:watch 'storybook --quiet'","release":"yarn build && auto shipit","eject-ts":"zx scripts/eject-typescript.mjs","prebuild":"yarn clean","storybook":"storybook dev -p 6006","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"yarn build --watch","build-storybook":"storybook build"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Drupal Addon","supportedFrameworks":["server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"9.8.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"18.18.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","tsup":"^6.6.3","vite":"^4.1.4","boxen":"^5.0.1","react":"^18.0.0","dedent":"^0.7.0","rimraf":"^3.0.2","prompts":"^2.4.2","prettier":"^2.3.1","react-dom":"^18.0.0","storybook":"^7.0.0","prop-types":"^15.8.1","typescript":"^4.9.5","@types/node":"^18.15.0","npm-run-all":"^4.1.5","@types/react":"^18.0.34","@storybook/react":"^7.0.0","@types/webpack-env":"^1.18.0","@vitejs/plugin-react":"^3.1.0","@storybook/react-vite":"^7.0.0","@storybook/addon-links":"^7.0.0","@storybook/testing-library":"^0.0.14-next.1","@storybook/addon-essentials":"^7.0.0","@storybook/addon-interactions":"^7.0.0"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0","react-dom":"^16.8.0 || ^17.0.0 || ^18.0.0","@storybook/types":"^7.0.0","@storybook/blocks":"^7.0.0","@storybook/theming":"^7.0.0","@storybook/components":"^7.0.0","@storybook/core-events":"^7.0.0","@storybook/manager-api":"^7.0.0","@storybook/preview-api":"^7.0.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_2.0.3_1700778102798_0.5119701721634451","host":"s3://npm-registry-packages"}},"2.0.4":{"name":"@lullabot/storybook-drupal-addon","version":"2.0.4","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@2.0.4","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"16b2ce1b161a83eaa56c637525b99a1d77ee52ba","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-2.0.4.tgz","fileCount":20,"integrity":"sha512-cAll4nome3wnBTT98PS/wOgLlilIsIKL25TF0/1KsgmZcnl274Ui+lDnFZyGFPD4kyAxntabCDGfwa7auDWj7A==","signatures":[{"sig":"MEUCIQCx4qyjTOzdW0EL1NXch0s3oc7OIeNTSvzMVWxUV6uKrwIgdd7tabAMnysp6HFD+AP9PUBLw+HVQImLzNxC5V6ABLU=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42156},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./manager":{"types":"./dist/manager.d.ts","import":"./dist/manager.mjs","require":"./dist/manager.js"},"./preview":{"types":"./dist/preview.d.ts","import":"./dist/preview.mjs","require":"./dist/preview.js"},"./package.json":"./package.json"},"gitHead":"d040d17a54580d06d8ea2b6c72c0094ebd1de5c5","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup","clean":"rimraf ./dist","start":"run-p build:watch 'storybook --quiet'","release":"yarn build && auto shipit","eject-ts":"zx scripts/eject-typescript.mjs","prebuild":"yarn clean","storybook":"storybook dev -p 6006","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"yarn build --watch","build-storybook":"storybook build"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Drupal Addon","supportedFrameworks":["server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"9.8.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"18.18.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","tsup":"^6.6.3","vite":"^4.1.4","boxen":"^5.0.1","react":"^18.0.0","dedent":"^0.7.0","rimraf":"^3.0.2","prompts":"^2.4.2","prettier":"^2.3.1","react-dom":"^18.0.0","storybook":"^7.0.0","prop-types":"^15.8.1","typescript":"^4.9.5","@types/node":"^18.15.0","npm-run-all":"^4.1.5","@types/react":"^18.0.34","@storybook/react":"^7.0.0","@types/webpack-env":"^1.18.0","@vitejs/plugin-react":"^3.1.0","@storybook/react-vite":"^7.0.0","@storybook/addon-links":"^7.0.0","@storybook/testing-library":"^0.0.14-next.1","@storybook/addon-essentials":"^7.0.0","@storybook/addon-interactions":"^7.0.0"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0","react-dom":"^16.8.0 || ^17.0.0 || ^18.0.0","@storybook/types":"^7.0.0","@storybook/blocks":"^7.0.0","@storybook/theming":"^7.0.0","@storybook/components":"^7.0.0","@storybook/core-events":"^7.0.0","@storybook/manager-api":"^7.0.0","@storybook/preview-api":"^7.0.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_2.0.4_1700840253170_0.6769624897872057","host":"s3://npm-registry-packages"}},"2.0.5":{"name":"@lullabot/storybook-drupal-addon","version":"2.0.5","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@2.0.5","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"a2b5aaf07a4896ec1ecff051b4e479c961d0900c","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-2.0.5.tgz","fileCount":20,"integrity":"sha512-7+8+7/KdcQ4jiEtzj/1Y5BB7gWTwXv5QkjfFaV3jsKXA7tetbtrAOctxf9RFDOsZjJBrDqZWPWtZPVy7jaeqpQ==","signatures":[{"sig":"MEYCIQDurJpOwWJeLU4bGtmHsF5rYVFsmz0LELy9wtVJL7jJRwIhANDs59BNG1o3s4rCdSLvZeIMAGurgZ3/4PoNC/PJuMYY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42392},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./manager":{"types":"./dist/manager.d.ts","import":"./dist/manager.mjs","require":"./dist/manager.js"},"./preview":{"types":"./dist/preview.d.ts","import":"./dist/preview.mjs","require":"./dist/preview.js"},"./package.json":"./package.json"},"gitHead":"8936233e51989601c53b25f152e84779855f242c","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup","clean":"rimraf ./dist","start":"run-p build:watch 'storybook --quiet'","release":"yarn build && auto shipit","eject-ts":"zx scripts/eject-typescript.mjs","prebuild":"yarn clean","storybook":"storybook dev -p 6006","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"yarn build --watch","build-storybook":"storybook build"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Drupal Addon","supportedFrameworks":["server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"9.8.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"18.18.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","tsup":"^6.6.3","vite":"^4.1.4","boxen":"^5.0.1","react":"^18.0.0","dedent":"^0.7.0","rimraf":"^3.0.2","prompts":"^2.4.2","prettier":"^2.3.1","react-dom":"^18.0.0","storybook":"^7.0.0","prop-types":"^15.8.1","typescript":"^4.9.5","@types/node":"^18.15.0","npm-run-all":"^4.1.5","@types/react":"^18.0.34","@storybook/react":"^7.0.0","@types/webpack-env":"^1.18.0","@vitejs/plugin-react":"^3.1.0","@storybook/react-vite":"^7.0.0","@storybook/addon-links":"^7.0.0","@storybook/testing-library":"^0.0.14-next.1","@storybook/addon-essentials":"^7.0.0","@storybook/addon-interactions":"^7.0.0"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0","react-dom":"^16.8.0 || ^17.0.0 || ^18.0.0","@storybook/types":"^7.0.0","@storybook/blocks":"^7.0.0","@storybook/theming":"^7.0.0","@storybook/components":"^7.0.0","@storybook/core-events":"^7.0.0","@storybook/manager-api":"^7.0.0","@storybook/preview-api":"^7.0.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_2.0.5_1700841065161_0.4938673806989464","host":"s3://npm-registry-packages"}},"2.0.6":{"name":"@lullabot/storybook-drupal-addon","version":"2.0.6","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@2.0.6","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"517e9f833cebd6951e39bad065f8860ced4fd898","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-2.0.6.tgz","fileCount":20,"integrity":"sha512-xJSQSir/haaWCG2YqzOx7fqKh29P2s2fwTxZg2W4Hogaou1IKQkOrZSOpuTk1CrC0ninY/T98+h+cj0zsZLlJA==","signatures":[{"sig":"MEYCIQD/f/riv6UIFJ8+uFoO0mAAHrzaHYfNdPsSlVQtzl6s5gIhAJb4SKopDev6IMxkPpVF2NKsu6fRxqkO0U0dJxObWNKc","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42393},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./manager":{"types":"./dist/manager.d.ts","import":"./dist/manager.mjs","require":"./dist/manager.js"},"./preview":{"types":"./dist/preview.d.ts","import":"./dist/preview.mjs","require":"./dist/preview.js"},"./package.json":"./package.json"},"gitHead":"8a6690e09f6471b9aae703f79b4ae830c8088207","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup","clean":"rimraf ./dist","start":"run-p build:watch 'storybook --quiet'","release":"yarn build && auto shipit","eject-ts":"zx scripts/eject-typescript.mjs","prebuild":"yarn clean","storybook":"storybook dev -p 6006","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"yarn build --watch","build-storybook":"storybook build"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Drupal Addon","supportedFrameworks":["server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"9.8.1","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"18.18.2","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","tsup":"^6.6.3","vite":"^4.1.4","boxen":"^5.0.1","react":"^18.0.0","dedent":"^0.7.0","rimraf":"^3.0.2","prompts":"^2.4.2","prettier":"^2.3.1","react-dom":"^18.0.0","storybook":"^7.0.0","prop-types":"^15.8.1","typescript":"^4.9.5","@types/node":"^18.15.0","npm-run-all":"^4.1.5","@types/react":"^18.0.34","@storybook/react":"^7.0.0","@types/webpack-env":"^1.18.0","@vitejs/plugin-react":"^3.1.0","@storybook/react-vite":"^7.0.0","@storybook/addon-links":"^7.0.0","@storybook/testing-library":"^0.0.14-next.1","@storybook/addon-essentials":"^7.0.0","@storybook/addon-interactions":"^7.0.0"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0","react-dom":"^16.8.0 || ^17.0.0 || ^18.0.0","@storybook/types":"^7.0.0","@storybook/blocks":"^7.0.0","@storybook/theming":"^7.0.0","@storybook/components":"^7.0.0","@storybook/core-events":"^7.0.0","@storybook/manager-api":"^7.0.0","@storybook/preview-api":"^7.0.0"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_2.0.6_1700841143939_0.9115082914225319","host":"s3://npm-registry-packages"}},"2.0.7--canary.49.b2736bf.0":{"name":"@lullabot/storybook-drupal-addon","version":"2.0.7--canary.49.b2736bf.0","keywords":["storybook-addons","style","drupal"],"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","_id":"@lullabot/storybook-drupal-addon@2.0.7--canary.49.b2736bf.0","maintainers":[{"name":"justafish","email":"npm@justa.fish"},{"name":"dannyjoris","email":"mail@dannyjoris.ca"},{"name":"e0ipso","email":"mateu@mateuaguilo.com"},{"name":"juampynr","email":"juampynr@gmail.com"},{"name":"davereid","email":"dave@davereid.net"}],"homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"dist":{"shasum":"9c99531861497108858cf9d583f895322026cbdd","tarball":"https://registry.npmjs.org/@lullabot/storybook-drupal-addon/-/storybook-drupal-addon-2.0.7--canary.49.b2736bf.0.tgz","fileCount":20,"integrity":"sha512-rpxE6caGTaC8aGyJ6Z+AIo+lQShIusDExD51VNr99bGumfch5FWP/Tb8yOTxO5Nh10aMc3TwEBoSfkoG3GxM9w==","signatures":[{"sig":"MEQCIH7r8pDZR+HIkEjw+pVHAXr5u5hNOnvp5doTNwRxXs6gAiBgRj0WaRQV8X3oIwGH2CIOW65TFjpTw2ep6dW7Evlamw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":42306},"main":"dist/index.js","types":"dist/index.d.ts","module":"dist/index.mjs","readme":"# Drupal Storybook Addon\n\nA library for best-practice Drupal integration addons in Storybook:\n\n- Easy-to-use Drupal integration\n- Simple drop-down menu\n- URL-linkable state for sharing\n\n![Screenshot](./assets/screenshot.png)\n\nFollow the instructions in the documentation for the Drupal module [CL Server](https://git.drupalcode.org/project/cl_server/-/blob/2.x/docs/storybook.md?ref_type=heads).\n\n## Start Storybook\n\nStart the development server Storybook server:\n\n```console\nyarn storybook\n```\n\n## Tips for writing YML stories\n\n- Anotated example with the different options for writing stories: https://gitlab.com/-/snippets/2556203\n- Closed issue with some nifty tips: https://github.com/Lullabot/storybook-drupal-addon/issues/34\n\n---\n\n## Storybook addon authors\n\nAs an addon author, you can use this library by adding it as a dependency and adding the following to your `src/manager.ts` and `src/preview.ts` files:\n\n*src/manager.ts*\n```typescript\nexport * from '@lullabot/storybook-drupal-addon/manager';\n```\n\n*src/preview.ts*\n```typescript\nimport type { Renderer, ProjectAnnotations } from '@storybook/types';\nimport drupalPreview from '@lullabot/storybook-drupal-addon/preview';\nimport { withYourDrupalDecorator } from './withYourDecorator';\n\n// @ts-ignore\nconst drupalDecorators = drupalPreview?.decorators || [];\n\nconst preview: ProjectAnnotations<Renderer> = {\n    ...drupalPreview,\n    decorators: [...drupalDecorators, withYourI18nDecorator],\n}\n\nexport default preview;\n```\n\nThe currently selected drupal theme is available in the `drupalTheme` global, so you can access it in a decorator using the following snippet:\n\n```typescript\nimport { MyProvider } from 'your-drupal-library';\nimport { useGlobals } from '@storybook/manager-api';\n\nconst myDecorator = (story, context) => {\n  const [{drupalTheme}] = useGlobals();\n  \n  return <MyProvider drupalTheme={drupalTheme}>;\n}\n```\n","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.mjs","require":"./dist/index.js"},"./manager":{"types":"./dist/manager.d.ts","import":"./dist/manager.mjs","require":"./dist/manager.js"},"./preview":{"types":"./dist/preview.d.ts","import":"./dist/preview.mjs","require":"./dist/preview.js"},"./package.json":"./package.json"},"gitHead":"b2736bf45217059dc8ffa78c001e9367288e7e5b","scripts":{"test":"echo \"Error: no test specified\" && exit 1","build":"tsup","clean":"rimraf ./dist","start":"run-p build:watch 'storybook --quiet'","release":"yarn build && auto shipit","eject-ts":"zx scripts/eject-typescript.mjs","prebuild":"yarn clean","storybook":"storybook dev -p 6006","prerelease":"zx scripts/prepublish-checks.mjs","build:watch":"yarn build --watch","build-storybook":"storybook build"},"_npmUser":{"name":"e0ipso","email":"mateu@mateuaguilo.com"},"storybook":{"icon":"https://user-images.githubusercontent.com/321738/63501763-88dbf600-c4cc-11e9-96cd-94adadc2fd72.png","displayName":"Drupal Addon","supportedFrameworks":["server"]},"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"_npmVersion":"10.2.3","description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","directories":{},"_nodeVersion":"18.19.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.0.2","readmeFilename":"README.md","devDependencies":{"zx":"^1.14.1","auto":"^10.3.0","tsup":"^6.6.3","vite":"^4.1.4","boxen":"^5.0.1","react":"^18.0.0","dedent":"^0.7.0","rimraf":"^3.0.2","prompts":"^2.4.2","prettier":"^2.3.1","react-dom":"^18.0.0","storybook":"^7.6.6","prop-types":"^15.8.1","typescript":"^4.9.5","@types/node":"^18.15.0","npm-run-all":"^4.1.5","@types/react":"^18.0.34","@storybook/react":"^7.6.6","@types/webpack-env":"^1.18.0","@vitejs/plugin-react":"^3.1.0","@storybook/react-vite":"^7.6.6","@storybook/addon-links":"^7.6.6","@storybook/manager-api":"^7.6.6","@storybook/testing-library":"^0.2.2","@storybook/addon-essentials":"^7.6.6","@storybook/addon-interactions":"^7.6.6"},"peerDependencies":{"react":"^16.8.0 || ^17.0.0 || ^18.0.0","react-dom":"^16.8.0 || ^17.0.0 || ^18.0.0","@storybook/types":"^7.6.6","@storybook/blocks":"^7.6.6","@storybook/theming":"^7.6.6","@storybook/components":"^7.6.6","@storybook/core-events":"^7.6.6","@storybook/manager-api":"^7.6.6","@storybook/preview-api":"^7.6.6"},"peerDependenciesMeta":{"react":{"optional":true},"react-dom":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/storybook-drupal-addon_2.0.7--canary.49.b2736bf.0_1703239376470_0.9662804216724028","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-12-30T16:17:53.657Z","modified":"2026-09-24T13:53:54.475Z","1.0.1":"2021-12-30T16:17:53.862Z","1.0.2":"2021-12-30T16:26:17.289Z","1.0.3":"2021-12-30T16:33:21.610Z","1.0.4":"2021-12-30T18:32:27.536Z","1.0.5":"2021-12-30T18:50:27.788Z","1.0.6-canary.eadcf2d.0":"2021-12-30T21:12:43.885Z","1.0.6":"2021-12-30T21:13:47.452Z","1.0.7-canary.3.c80fb4c.0":"2022-01-03T20:15:40.408Z","1.0.7":"2022-01-03T20:41:41.149Z","1.0.8-canary.b8f1e52.0":"2022-01-04T05:55:39.357Z","1.0.8-canary.f156773.0":"2022-01-05T15:11:55.137Z","1.0.8":"2022-01-05T15:19:15.503Z","1.0.9-canary.5.fb87dd3.0":"2022-01-15T06:43:21.381Z","1.0.9-canary.5.c9a6b8f.0":"2022-01-15T06:57:34.256Z","1.0.9-canary.5.9732044.0":"2022-01-15T07:04:02.072Z","1.0.9-canary.5.7c35066.0":"2022-01-15T07:07:30.349Z","1.0.9":"2022-01-15T07:08:29.208Z","1.0.10-canary.6.414b7c2.0":"2022-01-17T21:35:16.222Z","1.0.10":"2022-01-17T21:37:39.583Z","1.0.11-canary.7.18a8f91.0":"2022-02-28T07:04:37.918Z","1.0.11-canary.7.28ba2dd.0":"2022-02-28T07:09:09.071Z","1.0.11-canary.7.00c44ad.0":"2022-02-28T07:18:05.725Z","1.0.11-canary.7.b18c760.0":"2022-02-28T07:24:57.623Z","1.0.11-canary.7.8a91aa7.0":"2022-02-28T07:28:07.115Z","1.0.11-canary.7.8346fc6.0":"2022-02-28T07:35:06.969Z","1.0.11-canary.7.29610ea.0":"2022-02-28T07:42:27.083Z","1.0.11":"2022-02-28T07:47:17.764Z","1.0.12-canary.8.1c66b5a.0":"2022-03-14T05:59:53.618Z","1.0.12":"2022-03-14T06:01:32.021Z","1.0.13-canary.9.adabcb9.0":"2022-03-14T06:06:31.951Z","1.0.13":"2022-03-14T06:06:44.438Z","1.0.14":"2022-03-15T06:25:24.639Z","1.0.15":"2022-03-18T20:27:05.332Z","1.0.16":"2022-03-18T21:14:12.531Z","1.0.17-canary.11.0b44443.0":"2022-03-29T20:42:53.200Z","1.0.17":"2022-03-29T20:43:37.626Z","1.0.18-canary.13.37fbe76.0":"2022-04-24T16:10:11.013Z","1.0.18":"2022-04-24T16:10:32.126Z","1.0.19-canary.14.8697e0f.0":"2022-05-19T10:53:56.224Z","1.0.19":"2022-05-19T10:56:38.493Z","1.0.20-canary.15.df5d0f3.0":"2022-07-07T20:45:16.545Z","1.0.20--canary.16.7df1b33.0":"2022-07-07T21:25:00.139Z","1.0.20":"2022-07-07T21:28:45.629Z","1.0.21":"2022-07-07T21:32:11.028Z","1.0.22--canary.19.62f64f8.0":"2022-08-02T20:20:59.341Z","1.0.22":"2022-08-02T20:30:47.063Z","1.0.23--canary.22.bdbeef7.0":"2022-09-16T10:33:08.507Z","1.0.23--canary.22.7128684.0":"2022-09-16T10:48:14.188Z","1.0.23--canary.22.fd8a043.0":"2022-09-16T10:57:41.563Z","1.0.23--canary.22.7ab4c0f.0":"2022-09-16T11:01:29.308Z","1.0.23--canary.22.ebd4687.0":"2022-09-16T11:13:19.641Z","1.0.23--canary.22.af5219b.0":"2022-09-16T11:21:36.916Z","1.0.23--canary.22.6b0b497.0":"2022-09-16T11:27:37.863Z","1.0.23--canary.22.3b18d07.0":"2022-09-16T11:29:13.499Z","1.0.23--canary.22.6a0b245.0":"2022-09-16T11:33:43.468Z","1.0.23--canary.22.18cfa06.0":"2022-09-16T21:26:40.952Z","1.0.23":"2022-09-16T21:40:55.380Z","1.0.24--canary.23.9585579.0":"2022-09-28T21:04:22.376Z","1.0.24":"2022-09-28T21:07:10.376Z","1.0.25--canary.9ade69e.0":"2022-10-09T04:47:42.732Z","1.0.25":"2022-10-09T04:48:57.532Z","1.0.26":"2022-10-09T19:30:19.316Z","1.0.27--canary.5c2b85d.0":"2023-03-01T17:24:39.255Z","1.0.27":"2023-03-02T05:08:53.401Z","1.0.28--canary.30.e7cf41b.0":"2023-04-23T16:09:05.748Z","1.0.28--canary.30.3107b37.0":"2023-04-23T20:17:47.436Z","1.0.28--canary.30.1f73a32.0":"2023-04-23T20:18:43.533Z","1.0.28":"2023-06-06T13:51:42.820Z","2.0.0":"2023-06-08T21:04:20.587Z","2.0.1":"2023-06-08T21:07:23.760Z","2.0.2":"2023-09-18T09:06:26.174Z","2.0.3":"2023-11-23T22:21:43.024Z","2.0.4":"2023-11-24T15:37:33.369Z","2.0.5":"2023-11-24T15:51:05.333Z","2.0.6":"2023-11-24T15:52:24.189Z","2.0.7--canary.49.b2736bf.0":"2023-12-22T10:02:56.660Z"},"bugs":{"url":"https://github.com/Lullabot/storybook-drupal-addon/issues"},"author":{"url":"e0ipso","name":"Mateu Aguiló Bosch","email":"mateu@mateuaguilo.com"},"license":"MIT","homepage":"https://github.com/Lullabot/storybook-drupal-addon#readme","keywords":["storybook-addons","style","drupal"],"repository":{"url":"git+https://github.com/Lullabot/storybook-drupal-addon.git","type":"git"},"description":"Storybook addon to facilitate integrating Storybook with Drupal projects.","maintainers":[{"email":"mateu@mateuaguilo.com","name":"e0ipso"},{"email":"dave@davereid.net","name":"davereid"},{"email":"javier.reartes@lullabot.com","name":"javi-er"},{"email":"deviantintegral@gmail.com","name":"deviantintegral"},{"email":"andy.blum.01@gmail.com","name":"andy-blum"}],"readme":"","readmeFilename":""}