{"_id":"@dmn-arc-core-components/feature_global-amp-nav","_rev":"4-a9b60a905ffaa6cc933c289d17ba7a6c","name":"@dmn-arc-core-components/feature_global-amp-nav","dist-tags":{"latest":"1.0.1-alpha"},"versions":{"1.0.0-alpha":{"name":"@dmn-arc-core-components/feature_global-amp-nav","version":"1.0.0-alpha","description":"Core component for the amp-sidebar in a Fusion implementation.","main":"build/index.js","repository":{"type":"git","url":"https://github.com/dallasnews/dmn-arc-core-components/packages/feature_global-amp-nav"},"keywords":[],"author":{"name":"Matt Nelson"},"license":"ISC","peerDependencies":{"prop-types":">=15","react":">=16.2"},"publishConfig":{"access":"public"},"devDependencies":{"@dmn-arc-core-components/tools_mock-ans":"^1.0.0-alpha"},"dependencies":{"@babel/runtime":"^7.4.3"},"_id":"@dmn-arc-core-components/feature_global-amp-nav@1.0.0-alpha","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-lUOMRIE+BSVguddFpVOXcase1/dAH7x+RF/eAJX9/yBVHxMnjdmT13XI0coPKNhj+8Jy2PqVLPLClJpYWMHjbw==","shasum":"d8452ca814f362c1d39ba0b3dfb605d4b7a9deae","tarball":"https://registry.npmjs.org/@dmn-arc-core-components/feature_global-amp-nav/-/feature_global-amp-nav-1.0.0-alpha.tgz","fileCount":7,"unpackedSize":25665,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC78pzIvdUT1/Ogxjbjl/Ac3rhHl3zegD2b5K6xCT7IQAIgKkwsqpdNQ6fmSWGWTNEc3I2Z98hxYmGgfPpTqdnnjK0="}]},"_npmUser":{"name":"jfoxworth","email":"jfoxworth@cadwolf.com"},"directories":{},"maintainers":[{"name":"jfoxworth","email":"jfoxworth@cadwolf.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/feature_global-amp-nav_1.0.0-alpha_1636079211482_0.15831044192810606"},"_hasShrinkwrap":false},"1.0.1-alpha":{"name":"@dmn-arc-core-components/feature_global-amp-nav","version":"1.0.1-alpha","description":"Core component for the amp-sidebar in a Fusion implementation.","main":"build/index.js","repository":{"type":"git","url":"https://github.com/dallasnews/dmn-arc-core-components/packages/feature_global-amp-nav"},"keywords":[],"author":{"name":"Matt Nelson"},"license":"ISC","peerDependencies":{"prop-types":">=15","react":">=16.2"},"publishConfig":{"access":"public"},"devDependencies":{"@dmn-arc-core-components/tools_mock-ans":"^1.0.0-alpha"},"dependencies":{"@babel/runtime":"^7.4.3"},"_id":"@dmn-arc-core-components/feature_global-amp-nav@1.0.1-alpha","_nodeVersion":"15.14.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-9uB/49Xz0gES1QOesCWH2BWs40SurNGKoAyTa9Ulc5R3dS+NQv5axr7cMQ3VoBMmd/H5+l61n+npctYwUp/wPw==","shasum":"26e5d86873b5205437f4e127e92f6d745bf73a9e","tarball":"https://registry.npmjs.org/@dmn-arc-core-components/feature_global-amp-nav/-/feature_global-amp-nav-1.0.1-alpha.tgz","fileCount":7,"unpackedSize":25673,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzw5xCRA9TVsSAnZWagAAGQ0P/A5yQ13kJrtvRNOFBNJt\nf5dkohjVmCy8xOIs0rPvPc2gbe74JY9ibjY8Mtn28PplfTyzyxmH20I1BHO2\nU1ZyTs5HPioBfa0Rrn+oGcKsuM91br6UxovgFIy8ubdA3wzYEvVEhymkbY0C\ngDIqWaQMBvs5aoGNiTj3gLSUJiT8hXgwbtkkzT1+5PCT/rkTTmlcOmLIaNxf\nf4rLZBWTj91OoYzrn7mncHr1ujkWZHVUB8c84Xmv98OGnVDNNIb39UvEO8dR\nYMbeSfKdxN8bAy+9anJwZZ63aMnQ0BwyrC3ZaVH14c5M/dqfDM98AG3x0UKU\ngtAM7i3mHHEhPCvTts/+Y8PzO1JbJM9cMrUWfsdbVUfFdV7oYNlxNc+07Xy4\nTIv+2zBocCiLGBwTcgaZr3KL5psVq45sEFc9JUavTl3vW40bHCtb73Z+wdWo\nHY5nuhtVrQaTxlK+4iK3lF76muO8Fvr4p5k9VgzcvqRTYRc+53+9vhILqq72\nMoccFTkoqSHp5/X0W3E88g8or/L801VXiZO21dmHH84SoCYErgg3c8MSjqNF\n1utzDQW1klzuH0dpD1rrUoBkypKkuyBJejFzM/GNbmLjGx8f2DqBJIo4R0j3\nqRWlK+NI/5+9e1Gtu8Oh9tONDn1A7V2/g/5J/FqdUMtQrZYMqbSGu0LppfMi\n7l5t\r\n=P3av\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBNFsTVqD0KwFbgfDRgIzYyTrpkFtwD9+bpTAcjFqrtRAiAp1gcz+r9dqYgOoEkGsyvBNeAeRRrjlfm8oZXlIcHTzg=="}]},"_npmUser":{"name":"jfoxworth","email":"jfoxworth@cadwolf.com"},"directories":{},"maintainers":[{"name":"jfoxworth","email":"jfoxworth@cadwolf.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/feature_global-amp-nav_1.0.1-alpha_1636124531710_0.2416956457498214"},"_hasShrinkwrap":false}},"time":{"created":"2021-11-05T02:26:51.444Z","1.0.0-alpha":"2021-11-05T02:26:51.621Z","modified":"2022-04-05T05:00:15.688Z","1.0.1-alpha":"2021-11-05T15:02:11.937Z"},"maintainers":[{"email":"mike.dilley@gmail.com","name":"mddilley"},{"email":"jfoxworth@cadwolf.com","name":"jfoxworth"}],"description":"Core component for the amp-sidebar in a Fusion implementation.","keywords":[],"repository":{"type":"git","url":"https://github.com/dallasnews/dmn-arc-core-components/packages/feature_global-amp-nav"},"author":{"name":"Matt Nelson"},"license":"ISC","readme":"## Feature: Amp Nav\n\n# What does this do?\n\nWhen used in a Fusion Project, this Core Component can be used to render a\nnavigation bar that is compliant with amp, using the `amp-sidebar` component.\n\n_The Story Card requires the following information as props:_\n\n- data\n  - Array of sites -- the `children` returned from the Site Service content\n    source.\n- elementClasses\n  - Object of classes you can pass through to your markup.\n- sidebarConfig\n  - Determines what side of the page your sidebar will render from, and allows\n    you to pass classes to it.\n- logoConfig\n  - Allows you to pass in a logo element, and allows it to go to the right or\n    left side.\n- closeButtonConfig\n  - Allows you to pass in a custom icon, along with classes.\n- openButtonConfig\n  - Allows you to pass in a custom icon, along with classes\n\n# How do I use it?\n\n```jsx\n  import AMPNav from '@dmn-arc-core-components/feature_global-amp-nav'\n\n  <AMPNav {..yourProps}></AMPNav>\n```\n\nTake a look in the `src` file to see a suggested implementation, in\n[index.mdx](./index.mdx)\n\n# How can I view what's in there quickly?\n\nRun `npm i && npm run docz:dev` after cloning to see what is within.\n\n# Amp Notes:\n\nRead the `amp-sidebar`\n[documentation](https://www.ampproject.org/docs/reference/components/amp-sidebar)\n\n# Testing & Linting\n\nWe are using Jest and XO for testing and linting.\n\nWe are using Husky to run a pre-push hook, preventing un-linted or code that\nfails tests from making it into the repo.\n\n**To test:** `npm test`\n\n**To lint:** `npm run lint` - This will also fix any simple linter errors\nautomatically.\n\n**To push without testing or linting**: `git push --no-verify` - This can often\nbe helpful if you just need to push a branch for demonstration purposes or for\nhelp.\n","readmeFilename":"README.md"}