{"_id":"@cagov/ds-content-navigation","_rev":"21-de6b98e170ac7bc83acf5ba8a4b4931e","name":"@cagov/ds-content-navigation","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"name":"@cagov/ds-content-navigation","version":"1.0.0","keywords":[],"author":"","license":"ISC","_id":"@cagov/ds-content-navigation@1.0.0","maintainers":[{"name":"timothyshambra","email":"timothy.shambra@gmail.com"},{"name":"aaronhans","email":"aaronhans@gmail.com"},{"name":"chacha-california","email":"chach.sikes@digital.ca.gov"},{"name":"kkoryaka","email":"konstantin.koryaka@state.ca.gov"}],"dist":{"shasum":"047436c1175a674164b9414694546c61d680391b","tarball":"https://registry.npmjs.org/@cagov/ds-content-navigation/-/ds-content-navigation-1.0.0.tgz","fileCount":7,"integrity":"sha512-SkcB3YvtDIBM/jS62E4yd2zAZBWlLsaVB7jy1U8MMppGz4ijV3ZGnkekJTOaDcu3tj8Ph+ghh4kfupgWD8vrGg==","signatures":[{"sig":"MEUCIQCHGDvykjLIiKj0bCiSa30N6G1ztH6dQmE8aLDQByFIMAIgA5oCg3+CNdZnViSU6fVqgUZcaGil1mHh+71Mg1SCD68=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":73731,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhAdQ8CRA9TVsSAnZWagAAKV4P/ixurIdyoPmyyVHL1q0n\nDrGR5A9EtgvxWe0uIRP4e1jyioltGd6kV8FG/U/w4iNYKMrROQj6FUvmAEmB\nt2VQEa9yK2E/Tg9CRs5GEodGXNjjKNISHGMIEwn8kPHSX8FwnNYgDWxfp8QV\nTppWV/NKpBUULVhIYbcQTF8fGOA69W1RVP1DzRYz/1m5ToyIsnIdWy1/vlOd\nss69O0XQ6bAztnEshSADcCAQWqfc4zpD9c/vTB7d1cjlzdLcnqD63r/Q71sZ\nHj29etrRACx6tGXlXaI38gC8GB4/LBWPbRmDaX4Em44WZDNpJj9YIGP012Zp\nC9FEJk2cYYU8HLcTZefG9heiOMteNEOWblO921Yk9eI6z3bYfc615mORIIVz\nDpC5U0kqGN30yGZPfQhMLqja6IbVFTcMD7Xhx5zi8pi2bk59frUh9O96M4G4\n2e7qDsEeq028YzLBDdOdrDavcqwo/birWQVkswgcWJ1FmnbDsiJt5Q15eJyo\nYHlL26mMG9NqcAdv58KhcLWv+kmZXYaueuUvcLkvXQTr/0sPHzZLrHxDCRF3\n3pG9w1sl8CfV3Lr2KUc63N5b7aKpMIEhJjYLvxovm5Kvhxr4jpyhjohinCCi\ny0GUbwxJibnUGBNvL7nHD7E2s6P36d/yhsJRPLLoWA81SsqOEeh3fzsF7B8L\naYij\r\n=l8Ft\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"aaronhans","email":"aaronhans@gmail.com"},"_npmVersion":"7.18.1","description":"The content navigation component creates a set of anchor links based on the h2 headers available in the page and writes this list of links as its custom element contents.","directories":{},"_nodeVersion":"14.17.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ds-content-navigation_1.0.0_1627509820827_0.4544423972547471","host":"s3://npm-registry-packages"}},"1.0.1":{"name":"@cagov/ds-content-navigation","version":"1.0.1","keywords":[],"author":"","license":"ISC","_id":"@cagov/ds-content-navigation@1.0.1","maintainers":[{"name":"timothyshambra","email":"timothy.shambra@gmail.com"},{"name":"aaronhans","email":"aaronhans@gmail.com"},{"name":"chacha-california","email":"chach.sikes@digital.ca.gov"},{"name":"kkoryaka","email":"konstantin.koryaka@state.ca.gov"}],"dist":{"shasum":"36ef7883c495cb0aa96c5ccf891eded22c9d8b19","tarball":"https://registry.npmjs.org/@cagov/ds-content-navigation/-/ds-content-navigation-1.0.1.tgz","fileCount":7,"integrity":"sha512-jPkK5RhKqtvrAww3moqPk4pIpa4fRxUxoDIHUKhLXtnycuSB2PH5Hx9h5uqq5Z/tbZ3AIWIgmxdzTY7eSWQVjQ==","signatures":[{"sig":"MEUCIC4LdBnCXxW26JcGGp1sIGzPSqO4YoxvTNOu1ycP6WpMAiEA+qw6wsHCWtqhuyVBo2W3UbmTPfoEVv1RE9JpYrir0lQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74302,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDc9lCRA9TVsSAnZWagAAwjIQAIGqlljcCcryXqcIsdcX\njhWQr3UDcwXup3q6//rhW7bT/8W/aIUMc2tPu9JS1DfXJ2mhTn6NnnJqh8De\nxKvFN2LTb768ZlYPMsUFr8fzp+xnYwotWcyA7UO/2Y8uRzeAk0e6UEaWstBV\ni32Uz5MINbNuHurYH/BMr29SX1bonREc+IxPbdkpmm/sdCp1G2wHvXPbyzh9\njDrvFUUDS36IyEE5eEkmwiRNr6Ofhem/JptIzPTDOXfPE6puv3MdyIXW2gvl\nOhbgx9Cm/kOug68hSt1uIqjDxKlRklkHhy6F2xdnpb9IPX6x185BxmrBRdAw\n4s61rnZPxSSynlOK1lvH4YHfTsO9Olp2udNrXlbtqTMDENmU7IDrah04xnZ2\njB2X4G0N/6S7htFw9D94/JrlRD3DFVAOo2HYDjmMajM3TKRnd4N7qpi7rmxT\npLIL3mJ/ALFs74UKxwDUWQaC041eGfgcHaCEsZ/DH2l90+az0b7+GYY63RLs\nIde/ocb7q9SyQkn+TL9LIvnVF2RJXSeacKml08EDHmEEC9ceVHCVvidY7hOX\nxnLEeYIbRJ0MrsURS24WoxI6ORMR/wHyNJRsBCl9SXv4PFPyRiCs9JmCl6qb\nNVIFLJowsu2f6bZyzDUZTFIgAefNZQEDcKOpB84PIU4BjLAZb0Hm0FvA27Q0\n4SsD\r\n=DMmF\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"aaronhans","email":"aaronhans@gmail.com"},"_npmVersion":"7.18.1","description":"The content navigation component creates a set of anchor links based on the h2 headers available in the page and writes this list of links as its custom element contents.","directories":{},"_nodeVersion":"14.17.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ds-content-navigation_1.0.1_1628295013824_0.697529571909544","host":"s3://npm-registry-packages"}},"1.0.2":{"name":"@cagov/ds-content-navigation","version":"1.0.2","keywords":[],"author":"","license":"ISC","_id":"@cagov/ds-content-navigation@1.0.2","maintainers":[{"name":"timothyshambra","email":"timothy.shambra@gmail.com"},{"name":"aaronhans","email":"aaronhans@gmail.com"},{"name":"chacha-california","email":"chach.sikes@digital.ca.gov"},{"name":"kkoryaka","email":"konstantin.koryaka@state.ca.gov"}],"dist":{"shasum":"35601ad3d8d7918df3c344a8f1623dcf9e7ef6f2","tarball":"https://registry.npmjs.org/@cagov/ds-content-navigation/-/ds-content-navigation-1.0.2.tgz","fileCount":7,"integrity":"sha512-UEBZPJ+qy8Kj64xv11rJ1aTatqhVLapaaUBc/MyD1p8ANL68WETLgL+9bueBykjCLodXJKbZS0hfU9bDgaO9Bw==","signatures":[{"sig":"MEYCIQDsfSexnPeaOjURTZnytQFx/iJdQviAnj6IzBDuNqplfgIhAKyOnO8ZYDxzJXn4T9qKHPdFGoQs7obb8Oo3/46h0A7D","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74443,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhDdBaCRA9TVsSAnZWagAAycoP/RBTTARh7LB+4zQkTwwZ\nITd3JLk+nbQrgvxh4PlNATE/K4i5JEOZ6KxE9YSwmL5w95F6gg+08YtDTeFc\n6GcKMIutxZ0Kux6Q0h27TlGalURtUsi3xhAlIOcCGA6tpngejGUw+Dpl06bJ\n51X2TUca4Gv9S0FdDsYil+Em4lgRUX70TSPIsuztlEIhT0wxCaQ/C5NNYqWB\nDYeMZRW+ZyAhSvNnkTaRVaduXae9vTFHFi6cLTfN2iIIpRsUC4QS98jcFys8\nynXEhjmrO6uaiYBA1wARj4XkyLJtdFVhF6dl/bNqAOzc8kWF8NN6cuOuBoZS\n2A3nierQAOwUjJW8+cVPAxc3jYvrTRusUXxSo4VUBf26MR0bYrpi53F9Dxyq\nCvI96LebNS/2Mz4lY7X2kycHLMc2/C9y8/NpESm6dz6CqxduJzKqmjRBHYzd\n2D4AMCvqksJnVbQ23Gm8Fy9oi4T7HW8dTWY2XByI0xTttefhqRo1jHhp07ff\nd/LPxv3hx77hnT8K/IzT5o/JLGfQ3JjQqFYXuRRXeZ282cMpiS6dTGm4OeSe\nGnbgv80O+0r2wj3Sv6h5aRlJ5OCa+B3qLMkkZBCvACTPbd+TjTGgTckY3klt\nNPkH/fuiQrL4CBdSnRgDKpO5LdUeAUBzpmYfSpclC9cVCsMlnzu1D0YBCTD4\nxtwI\r\n=rfSU\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"aaronhans","email":"aaronhans@gmail.com"},"_npmVersion":"7.18.1","description":"The content navigation component creates a set of anchor links based on the h2 headers available in the page and writes this list of links as its custom element contents.","directories":{},"_nodeVersion":"14.17.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ds-content-navigation_1.0.2_1628295258396_0.6866907026054527","host":"s3://npm-registry-packages"}},"1.0.3":{"name":"@cagov/ds-content-navigation","version":"1.0.3","keywords":[],"author":"","license":"ISC","_id":"@cagov/ds-content-navigation@1.0.3","maintainers":[{"name":"xjensen","email":"github@id.xjensen.com"},{"name":"carter.medlin","email":"carter.medlin@gmail.com"},{"name":"timothyshambra","email":"timothy.shambra@gmail.com"},{"name":"aaronhans","email":"aaronhans@gmail.com"},{"name":"chacha-california","email":"chach.sikes@digital.ca.gov"},{"name":"kkoryaka","email":"konstantin.koryaka@state.ca.gov"}],"dist":{"shasum":"e9cf8cedd03ca9a07d033a688766fef0e6085cff","tarball":"https://registry.npmjs.org/@cagov/ds-content-navigation/-/ds-content-navigation-1.0.3.tgz","fileCount":8,"integrity":"sha512-9jsqJ7ECtBxdQjKWODeuHHoVokm/yr+jDocB8FcIBNThMLla+rqIVWcvf7/HgOkh2GP3gt/cxFXs49xZwx9b2Q==","signatures":[{"sig":"MEYCIQCc1ZVWSRxtEnDfmZhQl9XMVrFZSJj3x2rKKXmnEH0ivAIhAPAghNDTJWC3FS5IXYAF6avtcBN3TTWnmEQS8XIR/us+","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74531,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhOmk0CRA9TVsSAnZWagAAkGwP/3AwApQkRNZ3ddbAuAft\nr4O3iaAJ9YzrfbYeEtQmz+O2FXqsBg1uaK9uyh+zMB7NZW4BvFJdnWevUKiZ\n0Jg/uifMPPakzbn9Ct7JYrP7QkvaXEt2WmLfs+OLL2SWytMJQ7vXpSCB4yNx\nC8vBTZzNlqMnjtU1ZHyr/B5Ga7d4DJ0bVXMxruKc1knfPey7+01V2XJdlVaX\n3Dhk//Gfmmi80JeUDnnNlMrr1US2m40cVn+f5aJf1beZSU8NN9igMMc6LYah\ndAelKbg2kQ0X+k2C1/nkmUlpyx/fzt4mZQXgj4UhPjKyfhBcYtmkCDVi5BBA\nT9DLZuk0KC5Krx5jqUJTmHq+/bAYuEhudL4i1bD7kRfjmItAl1gb0S+eKln1\n4rHfa9B0JThkRhRRcl0Wqe4enQ1uWrXUJUxq7/GPO2xCZMIOfzdMMiYKMbFC\nJ0PnNbird9rFIkVh4X8WXyBRy+ww7gh3FN52EpA4RYy9D+fkTXBB6wv5Q5tQ\nXCwa2LudMKDQfZ8GcLOzhQXsgdGYn/9Hf0CV4aAOmbG/n6M60/GCXgAmLgC/\n+PrvDjFY4grn0aQCA3ZaDljzPvdieDwmykYOcAtqj9Gz/o347rKboCnnkZlJ\nUlLCWMfCGpgVZpB8Jn1eUwPE0XdImFLbOA1HpzTorhjdova+nAqoDNHNpwuS\nEQrP\r\n=voN8\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"kkoryaka","email":"konstantin.koryaka@state.ca.gov"},"_npmVersion":"7.12.0","description":"The content navigation component creates a set of anchor links based on the h2 headers available in the page and writes this list of links as its custom element contents.","directories":{},"_nodeVersion":"14.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ds-content-navigation_1.0.3_1631217972308_0.48771646956693027","host":"s3://npm-registry-packages"}},"1.0.4":{"name":"@cagov/ds-content-navigation","version":"1.0.4","keywords":[],"author":"","license":"ISC","_id":"@cagov/ds-content-navigation@1.0.4","maintainers":[{"name":"timothyshambra","email":"timothy.shambra@gmail.com"},{"name":"xjensen","email":"github@id.xjensen.com"},{"name":"carter.medlin","email":"carter.medlin@gmail.com"},{"name":"aaronhans","email":"aaronhans@gmail.com"},{"name":"chacha-california","email":"chach.sikes@digital.ca.gov"},{"name":"kkoryaka","email":"konstantin.koryaka@state.ca.gov"}],"dist":{"shasum":"30da85c0ea624cecd1c8a73b22b8497110642ef4","tarball":"https://registry.npmjs.org/@cagov/ds-content-navigation/-/ds-content-navigation-1.0.4.tgz","fileCount":8,"integrity":"sha512-Vabu0tKIY1CZa5SsnOfZ5qwFUo2veccxWY5y2ecBmSznazlekpbS4K43opZGrw3aXbioQAvLY9HQ1Wupn6h2dQ==","signatures":[{"sig":"MEUCIHvebpwXS+/iVW9pKHgdi1rjWCCUgQQclMZTJg2ADjd0AiEAuLON3X59OL//q7na43jz1vBBeFZQoTnaliV02HSZ7UM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74854},"main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"kkoryaka","email":"konstantin.koryaka@state.ca.gov"},"_npmVersion":"7.21.0","description":"The content navigation component creates a set of anchor links based on the h2 headers available in the page and writes this list of links as its custom element contents.","directories":{},"_nodeVersion":"14.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ds-content-navigation_1.0.4_1632857752319_0.06267246430190743","host":"s3://npm-registry-packages"}},"1.0.5":{"name":"@cagov/ds-content-navigation","version":"1.0.5","keywords":[],"author":"","license":"ISC","_id":"@cagov/ds-content-navigation@1.0.5","maintainers":[{"name":"timothyshambra","email":"timothy.shambra@gmail.com"},{"name":"xjensen","email":"github@id.xjensen.com"},{"name":"carter.medlin","email":"carter.medlin@gmail.com"},{"name":"aaronhans","email":"aaronhans@gmail.com"},{"name":"chacha-california","email":"chach.sikes@digital.ca.gov"},{"name":"kkoryaka","email":"konstantin.koryaka@state.ca.gov"}],"dist":{"shasum":"96331b6e333c784f46c72959d9af88c323fdbb60","tarball":"https://registry.npmjs.org/@cagov/ds-content-navigation/-/ds-content-navigation-1.0.5.tgz","fileCount":8,"integrity":"sha512-x0zQq7Mgs91G09lpzB3DERuXzH5F9m/u4mSy8h+/0eAiXV17W60NAtcfvzd4vb3mzIKwoAakX7RQVJkECtAQxA==","signatures":[{"sig":"MEYCIQC+F9ILZ2zS6+2hdU3mYzOx7rBpNdx7eBIM4L/atdDqdwIhALLt5btdGqdZkhkoVLxN/vz438UwnIlU0tnImKwfKt3F","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74799},"main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"kkoryaka","email":"konstantin.koryaka@state.ca.gov"},"_npmVersion":"7.21.0","description":"The content navigation component creates a set of anchor links based on the h2 headers available in the page and writes this list of links as its custom element contents.","directories":{},"_nodeVersion":"14.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ds-content-navigation_1.0.5_1632936824087_0.03690930169921347","host":"s3://npm-registry-packages"}},"1.0.6":{"name":"@cagov/ds-content-navigation","version":"1.0.6","keywords":[],"author":"","license":"ISC","_id":"@cagov/ds-content-navigation@1.0.6","maintainers":[{"name":"zakiyak","email":"zakiya.khabir@digital.ca.gov"},{"name":"timothyshambra","email":"timothy.shambra@gmail.com"},{"name":"xjensen","email":"github@id.xjensen.com"},{"name":"carter.medlin","email":"carter.medlin@gmail.com"},{"name":"aaronhans","email":"aaronhans@gmail.com"},{"name":"chacha-california","email":"chach.sikes@digital.ca.gov"},{"name":"kkoryaka","email":"konstantin.koryaka@state.ca.gov"}],"dist":{"shasum":"5d434d85efdcb35700e19d08c973213c6ae7fcfc","tarball":"https://registry.npmjs.org/@cagov/ds-content-navigation/-/ds-content-navigation-1.0.6.tgz","fileCount":8,"integrity":"sha512-kx8JSAtQ0V8499u3uqUDoJ3H04NgTdDh/BOS9scZY8HLaSgLfUZETF/ouzsw2hMM6LYzKlgR0VxzblZGAafR4g==","signatures":[{"sig":"MEUCIDxB2eLxrlalsQbG9qjXTyqtzO6ksfd8SqHT7lsJLnbJAiEAlkLxiile5h7UTNfSVXCmsrL2n1zg/dDN5vqxjCTK4T4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":74863},"main":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"_npmUser":{"name":"kkoryaka","email":"konstantin.koryaka@state.ca.gov"},"_npmVersion":"7.21.0","description":"The content navigation component creates a set of anchor links based on the h2 headers available in the page and writes this list of links as its custom element contents.","directories":{},"_nodeVersion":"14.16.1","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/ds-content-navigation_1.0.6_1634759607501_0.11848407890737378","host":"s3://npm-registry-packages"}},"1.0.7":{"name":"@cagov/ds-content-navigation","version":"1.0.7","keywords":[],"author":"","license":"ISC","_id":"@cagov/ds-content-navigation@1.0.7","maintainers":[{"name":"zakiyak","email":"zakiya.khabir@digital.ca.gov"},{"name":"timothyshambra","email":"timothy.shambra@gmail.com"},{"name":"xjensen","email":"github@id.xjensen.com"},{"name":"carter.medlin","email":"carter.medlin@gmail.com"},{"name":"aaronhans","email":"aaronhans@gmail.com"},{"name":"chacha-california","email":"chach.sikes@digital.ca.gov"},{"name":"kkoryaka","email":"konstantin.koryaka@state.ca.gov"}],"homepage":"https://github.com/cagov/design-system/tree/main#readme","bugs":{"url":"https://github.com/cagov/design-system/issues"},"dist":{"shasum":"b59fac5e46d49f3e209401c9e4280fbca72d1b69","tarball":"https://registry.npmjs.org/@cagov/ds-content-navigation/-/ds-content-navigation-1.0.7.tgz","fileCount":10,"integrity":"sha512-o0/uEOMNZqwfCHfKlM4iApt/e5N/Hm1e4gpNtCtYT10eodoHODSSeu9eXBDymrT1FzUXo3Y7zjXVF0FmVlTG4w==","signatures":[{"sig":"MEQCICGDJh89lUhQfNxVO+ydUSskyVUoakre3+SmhWMkKqKYAiAxx2P+A5SpH+tw7fT+EVHGhKH4WT9SyfgduTtopOw1LQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":81808},"main":"src/index.js","type":"module","readme":"# Content navigation\n\nThe content navigation component creates a set of anchor links based on the h2 headers available in the page and writes this list of links as its custom element contents.\n\n\n<img src=\"https://raw.githubusercontent.com/cagov/design-system/main/components/content-navigation/content-navigation-screenshot.png\" alt=\"content navigation component screenhsot\"  />\n\n\n## Sample markup\n\n```\n<cagov-content-navigation \n  data-selector=\"main\" \n  data-type=\"wordpress\" \n  data-label=\"On this page\"\n>\n</cagov-content-navigation>\n```\n\n### Attributes\n\nThe following data attributes are used:\n\n- data-selector: The query selector value to use to limit the search for headers to link\n- data-type: If wordpress is provided here the component will wait for the DOMContentLoaded event before assembling list of headers\n- data-label: The header value written above the list of links\n\n## Docs\n\nRun: ```npm run start``` at the repository root to preview elements. This will launch local server with links to component demo pages.\n\nThe documentation is generated using the <a href=\"https://github.com/webcomponents/custom-elements-manifest\">custom elements manifest schema</a> draft standard <a href=\"https://github.com/runem/web-component-analyzer\">analyzer</a> command. Here is an example run outside the accordion directory:\n\n```\nwca analyze src --format json --outFile custom-elements.json\n```\n\n## CSS Variables\n\n- var(--gray-200, #ededef)","scripts":{"test":"web-test-runner \"test/**/*.js\" --node-resolve","build":"echo \"No build specified.\"","test:visual":"web-test-runner \"test/**/*.js\" --node-resolve --config test-config.js"},"_npmUser":{"name":"aaronhans","email":"aaronhans@gmail.com"},"repository":{"url":"git+https://github.com/cagov/design-system.git#main","type":"git"},"_npmVersion":"7.18.1","description":"The content navigation component creates a set of anchor links based on the h2 headers available in the page and writes this list of links as its custom element contents.","directories":{},"_nodeVersion":"14.17.0","_hasShrinkwrap":false,"readmeFilename":"readme.md","devDependencies":{"@open-wc/testing":"^3.0.1","@web/test-runner-puppeteer":"^0.10.2"},"_npmOperationalInternal":{"tmp":"tmp/ds-content-navigation_1.0.7_1636145524319_0.7887250863293567","host":"s3://npm-registry-packages"}},"1.0.8":{"name":"@cagov/ds-content-navigation","version":"1.0.8","keywords":[],"author":"","license":"ISC","_id":"@cagov/ds-content-navigation@1.0.8","maintainers":[{"name":"zakiyak","email":"zakiya.khabir@digital.ca.gov"},{"name":"timothyshambra","email":"timothy.shambra@gmail.com"},{"name":"xjensen","email":"github@id.xjensen.com"},{"name":"carter.medlin","email":"carter.medlin@gmail.com"},{"name":"aaronhans","email":"aaronhans@gmail.com"},{"name":"chacha-california","email":"chach.sikes@digital.ca.gov"},{"name":"kkoryaka","email":"konstantin.koryaka@state.ca.gov"}],"homepage":"https://github.com/cagov/design-system/tree/main#readme","bugs":{"url":"https://github.com/cagov/design-system/issues"},"dist":{"shasum":"8a1fa3511a274f5389f9d95394d773ce4c0e848c","tarball":"https://registry.npmjs.org/@cagov/ds-content-navigation/-/ds-content-navigation-1.0.8.tgz","fileCount":10,"integrity":"sha512-duuTHKtv36/8p2/zNkX3iLJp2KtmVj7udkNU1rpN/xBOoCFlZjzAAZ3FupRlud6xa7K/KdPoCVucXFncFsIwTQ==","signatures":[{"sig":"MEQCIAsNlxUAi1xs310UfUte9kEwqSNwAW1OipjvcARZEuJIAiAu/mMS3t2WC3zkAAOPCdOhodbQUNeO9IreR4qrTXrWrQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":82826,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh34wFCRA9TVsSAnZWagAAdbwP/jek9HqK41a7c90JQkzV\nIjnz4T+qtYN7t1rQl/hOo/92ZquMc/QIMlsoyYemrMTIkQIX2vt5scIzQJJv\nrm6jasCgCcYPeTGYwESFt7RAje+WmRYiZZZllYpsxzpP/ZOkvGHrJ33PA1pR\nYa5i/2UQPvosGAUeOJxWqd2U0prIqk+ewDqmkvFTHrjwzxPTnmm+iG58qyEE\n2UAXkLVcyXqjDWWv1mN4ZEnMpPb0PHnmyimF+vCCnkqnZfLUHe9FyKYnNMSF\nZFETnaJaQr45U4G0bOeOPDQlzsaM7nYjDB4DMQCMmlp6ZZZn6PkGEtK4+q/N\nag47VOv4+M/7+Xs+WZ1TonLDYiQL+fIMNVsOSYNfopStQ723sD4wxtbudhPz\nSTTawCkS+dECoiwV3K2sN6Xw1TZK45KMh7mSTmfZ70XnVzNv+waYA5U8a3gH\nr/udiyNvl03FGj+IUasXJ4B2D+EBL0MdOrctJxPrCy/rIKjRcBVsN+FmSP5i\nRlfAaiPBTJt8R3FKDDy5pBy+NZPkMyFdnVkdbVQqljecXK2ahYpfQ9RIRS0c\n7SZ7uyDx24E4ayG2Y2E5HcEWnfycjsdcGEf1VvPDx+g7iVYmN8L40SSSEDoo\nwG7EON7JBBnYCJqsm1ljimCRPezOeIztn7UW6Uc8/Tir7tJPHnzahovFfB5R\n8vmh\r\n=psZv\r\n-----END PGP SIGNATURE-----\r\n"},"main":"src/index.js","type":"module","gitHead":"9677a4a5e28c615fe076fb65a781e85f209cba66","scripts":{"test":"web-test-runner \"test/**/*.js\" --node-resolve","build":"echo \"No build specified.\"","test:visual":"web-test-runner \"test/**/*.js\" --node-resolve --config test-config.js"},"_npmUser":{"name":"zakiyak","email":"zakiya.khabir@digital.ca.gov"},"repository":{"url":"git+https://github.com/cagov/design-system.git#main","type":"git"},"_npmVersion":"8.1.4","description":"The content navigation component creates a set of anchor links based on the h2 headers available in the page and writes this list of links as its custom element contents.","directories":{},"_nodeVersion":"14.17.0","_hasShrinkwrap":false,"devDependencies":{"@open-wc/testing":"^3.0.1","@web/test-runner-puppeteer":"^0.10.2"},"_npmOperationalInternal":{"tmp":"tmp/ds-content-navigation_1.0.8_1642040325123_0.08767930570956795","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@cagov/ds-content-navigation","version":"2.0.0","keywords":[],"author":"","license":"ISC","_id":"@cagov/ds-content-navigation@2.0.0","maintainers":[{"name":"zakiyak","email":"zakiya.khabir@digital.ca.gov"},{"name":"timothyshambra","email":"timothy.shambra@gmail.com"},{"name":"xjensen","email":"github@id.xjensen.com"},{"name":"carter.medlin","email":"carter.medlin@gmail.com"},{"name":"aaronhans","email":"aaronhans@gmail.com"},{"name":"chacha-california","email":"chach.sikes@digital.ca.gov"},{"name":"kkoryaka","email":"konstantin.koryaka@state.ca.gov"}],"homepage":"https://github.com/cagov/design-system/tree/main#readme","bugs":{"url":"https://github.com/cagov/design-system/issues"},"dist":{"shasum":"76943f875a6411cd6bb7586accf8e52f67d30a40","tarball":"https://registry.npmjs.org/@cagov/ds-content-navigation/-/ds-content-navigation-2.0.0.tgz","fileCount":15,"integrity":"sha512-dYD7AA3plm7CP3f5KT3M+LjUnX9p2FI3LZ5Wj9WLXmvzgoa7pmBt5Euv0s749VrJHuOb0yQQHTMNna1PIcK1uQ==","signatures":[{"sig":"MEUCIQDLswBy+3wzK6ioyJ+is3gNKOxbAKMzyqtciB5YWw3UrQIgDim9/maPa3nD5pbRz8qee3qEFBLvZkeHWCZ4vMfpr5E=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":105296,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh5amCCRA9TVsSAnZWagAAw+MP/jilEL5wOEXCCawBM5EA\nbLrb1OkjpiVxNTAedrWCVSw2wIsEzSPUwjV5P+LU5vi+vO3aSXdlhIfwQqv6\nfo3zVSi03NBPDSNs6QeXihdo9VPdYlM7c44DJA0ZTCCM59CJ277mD0TTJVlI\nsIJadMkh6Rs1v0hd/OLg4sFLpHUkF00+FihqRya4zyu9CGpxHmPV+b//CtPG\nGqjtWyEP71/oc406Kr3un49TcAg7olA7yK4lik9/qImtgSxVbAb5+Bm2LKmO\netU5ofAR1skLsI9HG2k4AZ8IcCg1pVSbpbMtLxtVKlI4ldy4yF2onkw8olnL\nPHhk9St561qzvaoIruLEIguMkk/s4oa8BSayzaK5clztgyhmOiUnsJ1RCLKZ\nd5PePiM3s+B1O4eQ+l5iXLJN8SckvOa5FHCt7Rd19KLZjY7ZoEpRHoqfU9nO\n1YejCX1m0mAUaISn8v5dxAjV+SliwovgdsYgFfztXhiQ30G9KD+0iw61aCYX\naohEu3P4kX0CUcz9/7O6qsyZXuGIi3MV2hiy9dzIBNkAI/WNDIdvE2k8hUx/\ngQSHzCybLqsy4lYBqMui5QkovuPdqmZgxe33l7ptT1ZhiikbLDjuO1Kv0CWf\nUjWTSx7BMj2x7xwgi4WTo4xB67sTv4P0yv7Xh59tyEC0EGvk0sG9i5JXnSIL\n7SPY\r\n=7UK4\r\n-----END PGP SIGNATURE-----\r\n"},"main":"dist/index.js","type":"module","gitHead":"c9560dbfecc45cf829604966233d5f7422ba43b0","scripts":{"test":"web-test-runner \"test/**/*.js\" --node-resolve","build":"sass src/index.scss index.css && npm run build:js","build:js":"rollup --config rollup.config.js","cdn:publish":"node ../../docs/src/publish/cdn-deploy.js","test:visual":"web-test-runner \"test/**/*.js\" --node-resolve --config test-config.js","html:preview":"node ../../docs/src/publish/dynamic-html.js","prepublishOnly":"npm run html:preview && npm run build && npm test && npm run cdn:publish"},"_npmUser":{"name":"aaronhans","email":"aaronhans@gmail.com"},"repository":{"url":"git+https://github.com/cagov/design-system.git#main","type":"git"},"_npmVersion":"8.1.2","description":"Page navigation lists and links to the level 2 headings (H2) of a webpage. It is placed at the top of the page on the left. People can select a link to go directly to that section. The links are introduced by the text **On this page** by default. The page","directories":{},"_nodeVersion":"16.13.1","dependencies":{"rollup-plugin-import-css":"^3.0.2"},"_hasShrinkwrap":false,"devDependencies":{"@open-wc/testing":"^3.0.1","@web/test-runner-puppeteer":"^0.10.2"},"_npmOperationalInternal":{"tmp":"tmp/ds-content-navigation_2.0.0_1642441090073_0.8460668445551374","host":"s3://npm-registry-packages"}}},"time":{"created":"2021-07-28T22:03:40.780Z","modified":"2026-04-01T19:54:36.484Z","1.0.0":"2021-07-28T22:03:40.998Z","1.0.1":"2021-08-07T00:10:13.978Z","1.0.2":"2021-08-07T00:14:18.532Z","1.0.3":"2021-09-09T20:06:12.494Z","1.0.4":"2021-09-28T19:35:52.529Z","1.0.5":"2021-09-29T17:33:44.248Z","1.0.6":"2021-10-20T19:53:27.716Z","1.0.7":"2021-11-05T20:52:04.499Z","1.0.8":"2022-01-13T02:18:45.332Z","2.0.0":"2022-01-17T17:38:10.257Z"},"bugs":{"url":"https://github.com/cagov/design-system/issues"},"license":"ISC","homepage":"https://github.com/cagov/design-system/tree/main#readme","keywords":[],"repository":{"url":"git+https://github.com/cagov/design-system.git#main","type":"git"},"description":"Page navigation lists and links to the level 2 headings (H2) of a webpage. It is placed at the top of the page on the left. People can select a link to go directly to that section. The links are introduced by the text **On this page** by default. The page","maintainers":[{"email":"github@id.xjensen.com","name":"xjensen"},{"email":"jbum@jbum.com","name":"jbum"},{"email":"chach.sikes@innovation.ca.gov","name":"chacha-california"},{"email":"zakiya@innovation.ca.gov","name":"zakiyak"}],"readme":"# Page navigation\n\nPage navigation lists and links to the level 2 headings (H2) of a webpage. It is placed at the top of the page on the left. People can select a link to go directly to that section. The links are introduced by the text **On this page** by default. The page navigation does not show if there are zero or one H2’s on the page.\n\nPage navigation makes it easy to see what’s on a page. It allows people to scan a page and know if they’re in the right place.\n\n## When and how to use it\n\nUse this component on pages with two or more H2’s. You’ll probably use page navigation on most of your pages.\n\n### How not to use it\n\nDo not use this component to replace or duplicate site navigation.\n\n## Demo and sample markup\n\n<html-preview>\n\n```html preview\n<cagov-content-navigation data-selector=\".main\" data-type=\"wordpress\" data-label=\"On this page\"></cagov-content-navigation>\n```\n\n</html-preview>\n\n## Specs\n\n| Property     | Value                 |\n| ------------ | --------------------- |\n| Machine name | ds-content-navigation |\n| JavaScript   | yes                   |\n| SCSS         | ./src/index.scss      |\n\n## Project installation\n\nThe instructions assume familiarity with [npm](https://npmjs.com) package management tool, modern JavaScript techniques, and [Sass](https://sass-lang.com/).\n\n1. `npm i @cagov/[machine-name]`\n2. Use `import`[¹](/footnotes/#footnote1) or `require` to include the component’s **\\*JavaScript\\*\\*** in your page or compiler.\n3. Include **SCSS** in your Sass compiler.\n4. Add the **Sample markup** to your HTML.\n5. Refer to the Content model section for notes on mapping your data to the **Sample markup**.\n\n## CSS variables\n\nThe following [CSS variables](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties) are used in this component\n\n- `--gray-300`\n\nAll CSS variables define their own fallback value so you do not have to use additional CSS unless you want to change them. You may define your own value for the variable by adding your own style rules. Here is an example defining the global hex value for a CSS variable named “—primary-color”:\n\n```css\n:root {\n  --primary-color: #064e66;\n}\n```\n\n## Accessibility\n\n### Review items specific to the page navigation accessibility\n\n- Make sure that content navigation component is using a navigation landmark (enclosed into `nav` tag) and has ARIA label (has `aria-labelledby` attribute).\n- Make sure that content menu’s visual heading (which is usually “On this page”) has `id` attribute that is referenced in nav’s `aria-labelledby` attribute.\n- Ensure that menu items are keyboard operable and focus is never hidden from users.\n- Make sure that each nav item has solid, 2px outline that is using `—-highlight-color` variable on focused state.\n\n### Standard accessibility review\n\nComponents in Alpha status must pass the following accessibility reviews every time a new version is published:\n\n- Tested with the `[axe](https://www.deque.com/axe/)` accessibility tool and passes all automated [WCAG](https://www.w3.org/TR/WCAG21/) Level AA checks\n- Reviewed with the [VoiceOver](https://www.apple.com/voiceover/info/guide/_1121.html) screen reader on desktop\n- Verified keyboard navigation and that all actionable elements of the component are reachable via keyboard commands only\n- Reviewed component layout on a variety of screen sizes\n\nComponents in Beta status must pass the following accessibility reviews every time a new version is published:\n\n- Tested with the `[axe](https://www.deque.com/axe/)` accessibility tool and passes all automated [WCAG](https://www.w3.org/TR/WCAG21/) Level AA checks\n- Reviewed with the VoiceOver screen reader on desktop\n- Reviewed with the [TalkBack](https://support.google.com/accessibility/android/answer/6283677?hl=en) screen reader on mobile.\n- Verified keyboard navigation and that all actionable elements of the component are reachable via keyboard commands only\n- Reviewed component layout on a variety of screen sizes\n- Reviewed component display using content in English, Spanish, Simplified Chinese, German, and Arabic (using right to left display (RTL))\n\n## Progressive enhancement\n\nThis component uses a [custom element](https://developer.mozilla.org/en-US/docs/Web/Web_Components/Using_custom_elements) defined in JavaScript in addition to HTML and CSS. Edge, Firefox, Safari, and Chrome support custom elements. If the JavaScript for this component is not delivered or supported, the component will not display. This is the desired behavior because this component is not critical for site interaction. It uses [CSS variables](<https://developer.mozilla.org/en-US/docs/Web/CSS/var()#syntax>) to inherit design token values. Token definitions are not required because these style rules provide fallback values.\n\n## Content model\n\nThis component uses the following data attributes. We provide this information to help with integrating the component into backend publishing systems or identifying content that may require translation.\n\n| Name        | Attribute name | Description                                  | Data type | Field type | Default                                      |\n| ----------- | -------------- | -------------------------------------------- | --------- | ---------- | -------------------------------------------- |\n| Label       | data-label     | Label for the page index                     | string    | Plain text | “On this page”                               |\n| Selector    | data-selector  | HTML selector to parse to locate H2 elements | string    | Plain text | main                                         |\n| Editor type | data-type      | Editor                                       | string    | Plain text | wordpress (currenly only supports WordPress) |\n\n- Index is auto-generated by JavaScript using H2 elements found within the `data-selector`.\n\n## Contributor/developer documenation\n\nRun: `npm run start` at the repository root to preview elements. This will launch local server with links to component demo pages.\n\nThe documentation is generated using the <a href=\"https://github.com/webcomponents/custom-elements-manifest\">custom elements manifest schema</a> draft standard <a href=\"https://github.com/runem/web-component-analyzer\">analyzer</a> command. Here is an example run outside the accordion directory:\n\n```html preview\nwca analyze src --format json --outFile custom-elements.json\n```\n","readmeFilename":"readme.md"}