{"_id":"@aarongustafson/form-show-if","_rev":"10-9f38e2c9fc3834c262b408e9fbddda94","name":"@aarongustafson/form-show-if","dist-tags":{"latest":"3.1.2"},"versions":{"2.0.0":{"name":"@aarongustafson/form-show-if","version":"2.0.0","keywords":["html","custom element","web component","forms","form validation","conditional fields","show-hide","accessibility","a11y"],"author":{"url":"https://www.aaron-gustafson.com/","name":"Aaron Gustafson","email":"aaron@easy-designs.net"},"license":"MIT","_id":"@aarongustafson/form-show-if@2.0.0","maintainers":[{"name":"aarongustafson","email":"aaron@easy-designs.net"}],"homepage":"https://github.com/aarongustafson/form-show-if#readme","bugs":{"url":"https://github.com/aarongustafson/form-show-if/issues"},"dist":{"shasum":"2ea1305ac33f7c9d5384c3fbeba3455ebddfb2ee","tarball":"https://registry.npmjs.org/@aarongustafson/form-show-if/-/form-show-if-2.0.0.tgz","fileCount":7,"integrity":"sha512-l7M2co+1tQI6chTCu3HBICb5xb4vQAoV3LBIoKqbSas8AZnh6VN7XtoxqLBkzXni9ABQgpIZBXVnXhb5OMI08w==","signatures":[{"sig":"MEUCIEZvLMRW89ooi5ES7Qjsq2kgjI1cFCxwLxD+yWJZopJ2AiEAiIb8rYUE/bAQcQzAcn1aVnW/bPtbFKLMFNdkvFS0kek=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14396},"main":"index.js","type":"module","module":"form-show-if.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":"./index.js"},"./define.js":{"import":"./define.js"},"./form-show-if.js":{"import":"./form-show-if.js"},"./custom-elements.json":"./custom-elements.json"},"gitHead":"f6ed23d0d6e8584bb22602f8f57ffdbed17ba8bc","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"vitest","format":"npm run format:eslint && npm run format:prettier","test:ui":"vitest --ui","test:run":"vitest run","lint:eslint":"eslint .","format:eslint":"eslint . --fix","lint:prettier":"prettier \"**/*.js\" --check --ignore-path .gitignore","test:coverage":"vitest run --coverage","format:prettier":"prettier \"**/*.js\" --write --ignore-path .gitignore"},"_npmUser":{"name":"aarongustafson","email":"aaron@easy-designs.net"},"repository":{"url":"git+https://github.com/aarongustafson/form-show-if.git","type":"git"},"_npmVersion":"10.8.2","description":"Web component that enables you to make one HTML form field show (or not) based on the value(s) of another field.","directories":{},"_nodeVersion":"20.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"customElements":"custom-elements.json","devDependencies":{"eslint":"^9.39.1","vitest":"^4.0.10","prettier":"^3.6.2","happy-dom":"^20.0.10","@vitest/ui":"^4.0.10","@vitest/coverage-v8":"^4.0.10","@testing-library/dom":"^10.4.1","@open-wc/eslint-config":"^13.0.0","eslint-config-prettier":"^10.1.8","@testing-library/user-event":"^14.6.1"},"_npmOperationalInternal":{"tmp":"tmp/form-show-if_2.0.0_1763593911025_0.7186159024378651","host":"s3://npm-registry-packages-npm-production"}},"2.0.1":{"name":"@aarongustafson/form-show-if","version":"2.0.1","keywords":["html","custom element","web component","forms","form validation","conditional fields","show-hide","accessibility","a11y"],"author":{"url":"https://www.aaron-gustafson.com/","name":"Aaron Gustafson","email":"aaron@easy-designs.net"},"license":"MIT","_id":"@aarongustafson/form-show-if@2.0.1","maintainers":[{"name":"aarongustafson","email":"aaron@easy-designs.net"}],"homepage":"https://github.com/aarongustafson/form-show-if#readme","bugs":{"url":"https://github.com/aarongustafson/form-show-if/issues"},"dist":{"shasum":"8668b426f5e634e3f20167e47d2313148f2daf97","tarball":"https://registry.npmjs.org/@aarongustafson/form-show-if/-/form-show-if-2.0.1.tgz","fileCount":7,"integrity":"sha512-Nnzui7uFNszaG01Wf1819TCQ8Om9zaAAezdp1zCO4sV7EYZK43FSTUY09E9Z7Bnsx1BEos+78PMAksKyXMpcXA==","signatures":[{"sig":"MEUCIDmh3V2hpU7hGPMDgA1HXE4IpougsFdHADhrseIoUXq7AiEA/seQWY4sKFAzQ+HfvwLP2xCvISjwhrHC0rYiQTywIGw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14749},"main":"index.js","type":"module","module":"form-show-if.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":"./index.js"},"./define.js":{"import":"./define.js"},"./form-show-if.js":{"import":"./form-show-if.js"},"./custom-elements.json":"./custom-elements.json"},"gitHead":"ded5925892fa00e4792a3e89c76a31e52cc43897","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"vitest","format":"npm run format:eslint && npm run format:prettier","test:ui":"vitest --ui","test:run":"vitest run","lint:eslint":"eslint .","format:eslint":"eslint . --fix","lint:prettier":"prettier \"**/*.js\" --check --ignore-path .gitignore","test:coverage":"vitest run --coverage","format:prettier":"prettier \"**/*.js\" --write --ignore-path .gitignore"},"_npmUser":{"name":"aarongustafson","email":"aaron@easy-designs.net"},"repository":{"url":"git+https://github.com/aarongustafson/form-show-if.git","type":"git"},"_npmVersion":"10.8.2","description":"Web component that enables you to make one HTML form field show (or not) based on the value(s) of another field.","directories":{},"_nodeVersion":"20.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"customElements":"custom-elements.json","devDependencies":{"eslint":"^9.39.1","vitest":"^4.0.10","prettier":"^3.6.2","happy-dom":"^20.0.10","@vitest/ui":"^4.0.10","@vitest/coverage-v8":"^4.0.10","@testing-library/dom":"^10.4.1","@open-wc/eslint-config":"^13.0.0","eslint-config-prettier":"^10.1.8","@testing-library/user-event":"^14.6.1"},"_npmOperationalInternal":{"tmp":"tmp/form-show-if_2.0.1_1764221683665_0.7264087842854037","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@aarongustafson/form-show-if","version":"2.0.2","keywords":["html","custom element","web component","forms","form validation","conditional fields","show-hide","accessibility","a11y"],"author":{"url":"https://www.aaron-gustafson.com/","name":"Aaron Gustafson","email":"aaron@easy-designs.net"},"license":"MIT","_id":"@aarongustafson/form-show-if@2.0.2","maintainers":[{"name":"aarongustafson","email":"aaron@easy-designs.net"}],"homepage":"https://github.com/aarongustafson/form-show-if#readme","bugs":{"url":"https://github.com/aarongustafson/form-show-if/issues"},"dist":{"shasum":"9e0f2f8da51adb4b004518552bd3e22650e1acee","tarball":"https://registry.npmjs.org/@aarongustafson/form-show-if/-/form-show-if-2.0.2.tgz","fileCount":7,"integrity":"sha512-jSrB+xEHex8m1ydCbSD9rHm7lJvdEU04ePSyQNlQx/QgEaD6Uj/tBx6w94aZVdND5zi4JuNujOxYq7Xz0hnVIA==","signatures":[{"sig":"MEUCIQCqbVpZFPf3ENskOGzmGXVfZxCNh9UVJZwLfgw4IKHu5AIgLWm2KrXaQDh2s0SKxJhkEwMFM2AjU8cDQUNvjBkWv08=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":14761},"main":"index.js","type":"module","module":"form-show-if.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":"./index.js"},"./define.js":{"import":"./define.js"},"./form-show-if.js":{"import":"./form-show-if.js"},"./custom-elements.json":"./custom-elements.json"},"gitHead":"87f56179c07e5a566f99b8d3ebceded61ed7cf3b","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"vitest","format":"npm run format:eslint && npm run format:prettier","test:ui":"vitest --ui","test:run":"vitest run","lint:eslint":"eslint .","format:eslint":"eslint . --fix","lint:prettier":"prettier \"**/*.js\" --check --ignore-path .gitignore","test:coverage":"vitest run --coverage","format:prettier":"prettier \"**/*.js\" --write --ignore-path .gitignore"},"_npmUser":{"name":"aarongustafson","email":"aaron@easy-designs.net"},"repository":{"url":"git+https://github.com/aarongustafson/form-show-if.git","type":"git"},"_npmVersion":"10.8.2","description":"Web component that enables you to make one HTML form field show (or not) based on the value(s) of another field.","directories":{},"_nodeVersion":"20.18.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"customElements":"custom-elements.json","devDependencies":{"eslint":"^9.39.1","vitest":"^4.0.10","prettier":"^3.6.2","happy-dom":"^20.0.10","@vitest/ui":"^4.0.10","@vitest/coverage-v8":"^4.0.10","@testing-library/dom":"^10.4.1","@open-wc/eslint-config":"^13.0.0","eslint-config-prettier":"^10.1.8","@testing-library/user-event":"^14.6.1"},"_npmOperationalInternal":{"tmp":"tmp/form-show-if_2.0.2_1764221809807_0.6747015044847029","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@aarongustafson/form-show-if","version":"2.0.3","keywords":["html","custom element","web component","forms","form validation","conditional fields","show-hide","accessibility","a11y"],"author":{"url":"https://www.aaron-gustafson.com/","name":"Aaron Gustafson","email":"aaron@easy-designs.net"},"license":"MIT","_id":"@aarongustafson/form-show-if@2.0.3","maintainers":[{"name":"aarongustafson","email":"aaron@easy-designs.net"}],"homepage":"https://github.com/aarongustafson/form-show-if#readme","bugs":{"url":"https://github.com/aarongustafson/form-show-if/issues"},"dist":{"shasum":"75b700cd1c760f798c82bcbf5e4917fff79bb9f5","tarball":"https://registry.npmjs.org/@aarongustafson/form-show-if/-/form-show-if-2.0.3.tgz","fileCount":7,"integrity":"sha512-gRM0qkmY1iDeUz1sQtsa+AZGNEcM7V6ii68KAbZGIpKsuMzCRpFCM3C7+f0aQsvNbh5LzaT6iUAiYba3ixw/8Q==","signatures":[{"sig":"MEYCIQCakyeA2KE69FcRZ3FcjJG2MaRL0+gfusEOCsODywb0sAIhAPW34i6sEtFNusuLgJX3hn6Uc3xO9XU/Wuy+hzkp+6Ch","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aarongustafson%2fform-show-if@2.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":14761},"main":"index.js","type":"module","module":"form-show-if.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":"./index.js"},"./define.js":{"import":"./define.js"},"./form-show-if.js":{"import":"./form-show-if.js"},"./custom-elements.json":"./custom-elements.json"},"gitHead":"fab321d5c408fd98634e4a5ed52e37efc70cf14f","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"vitest","format":"npm run format:eslint && npm run format:prettier","test:ui":"vitest --ui","test:run":"vitest run","lint:eslint":"eslint .","format:eslint":"eslint . --fix","lint:prettier":"prettier \"**/*.js\" --check --ignore-path .gitignore","test:coverage":"vitest run --coverage","format:prettier":"prettier \"**/*.js\" --write --ignore-path .gitignore"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5272e45b-b775-4242-8b6e-daa8778bf929"}},"repository":{"url":"git+https://github.com/aarongustafson/form-show-if.git","type":"git"},"_npmVersion":"11.6.4","description":"Web component that enables you to make one HTML form field show (or not) based on the value(s) of another field.","directories":{},"_nodeVersion":"20.19.5","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"customElements":"custom-elements.json","devDependencies":{"eslint":"^9.39.1","vitest":"^4.0.10","prettier":"^3.6.2","happy-dom":"^20.0.10","@vitest/ui":"^4.0.10","@vitest/coverage-v8":"^4.0.10","@testing-library/dom":"^10.4.1","@open-wc/eslint-config":"^13.0.0","eslint-config-prettier":"^10.1.8","@testing-library/user-event":"^14.6.1"},"_npmOperationalInternal":{"tmp":"tmp/form-show-if_2.0.3_1764439204738_0.25849077576928847","host":"s3://npm-registry-packages-npm-production"}},"2.0.4":{"name":"@aarongustafson/form-show-if","version":"2.0.4","keywords":["html","custom element","web component","forms","form validation","conditional fields","show-hide","accessibility","a11y"],"author":{"url":"https://www.aaron-gustafson.com/","name":"Aaron Gustafson","email":"aaron@easy-designs.net"},"license":"MIT","_id":"@aarongustafson/form-show-if@2.0.4","maintainers":[{"name":"aarongustafson","email":"aaron@easy-designs.net"}],"homepage":"https://github.com/aarongustafson/form-show-if#readme","bugs":{"url":"https://github.com/aarongustafson/form-show-if/issues"},"dist":{"shasum":"eefeef9be905a8acc57fafad6f03bb4f0063f34f","tarball":"https://registry.npmjs.org/@aarongustafson/form-show-if/-/form-show-if-2.0.4.tgz","fileCount":7,"integrity":"sha512-eWCWwFINB6HzUvTyuUKPPpEenL8WY001b3XHWKlm3zJpvxLBaVw7l+poMCKMkdoWXhe+mBjmcWNsnD+TqKHhcQ==","signatures":[{"sig":"MEUCIBD2jq5GjJvp3s2CIDrbiGP351uesmxBtBV74e815xWWAiEAsp04y68sY1qnnsoEaNm3K7xJlyJ55xleuSa6oVVyAPU=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aarongustafson%2fform-show-if@2.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16091},"main":"index.js","type":"module","module":"form-show-if.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":"./index.js"},"./define.js":{"import":"./define.js"},"./form-show-if.js":{"import":"./form-show-if.js"},"./custom-elements.json":"./custom-elements.json"},"gitHead":"a928fdfc3370c2a16e802ee8d7c057d75d7458c7","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"vitest","format":"npm run format:eslint && npm run format:prettier","test:ui":"vitest --ui","test:run":"vitest run","lint:eslint":"eslint .","format:eslint":"eslint . --fix","lint:prettier":"prettier \"**/*.js\" --check --ignore-path .gitignore","test:coverage":"vitest run --coverage","format:prettier":"prettier \"**/*.js\" --write --ignore-path .gitignore"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5272e45b-b775-4242-8b6e-daa8778bf929"}},"repository":{"url":"git+https://github.com/aarongustafson/form-show-if.git","type":"git"},"_npmVersion":"11.6.4","description":"Web component that enables you to make one HTML form field show (or not) based on the value(s) of another field.","directories":{},"_nodeVersion":"20.19.5","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"customElements":"custom-elements.json","devDependencies":{"eslint":"^9.39.1","vitest":"^4.0.10","prettier":"^3.6.2","happy-dom":"^20.0.10","@vitest/ui":"^4.0.10","@vitest/coverage-v8":"^4.0.10","@testing-library/dom":"^10.4.1","@open-wc/eslint-config":"^13.0.0","eslint-config-prettier":"^10.1.8","@testing-library/user-event":"^14.6.1"},"_npmOperationalInternal":{"tmp":"tmp/form-show-if_2.0.4_1764518694197_0.11335895255489392","host":"s3://npm-registry-packages-npm-production"}},"3.0.0":{"name":"@aarongustafson/form-show-if","version":"3.0.0","keywords":["html","custom element","web component","forms","form validation","conditional fields","show-hide","accessibility","a11y"],"author":{"url":"https://www.aaron-gustafson.com/","name":"Aaron Gustafson","email":"aaron@easy-designs.net"},"license":"MIT","_id":"@aarongustafson/form-show-if@3.0.0","maintainers":[{"name":"aarongustafson","email":"aaron@easy-designs.net"}],"homepage":"https://github.com/aarongustafson/form-show-if#readme","bugs":{"url":"https://github.com/aarongustafson/form-show-if/issues"},"dist":{"shasum":"1250d533a231c2340520f8b6d97b943c3444dbba","tarball":"https://registry.npmjs.org/@aarongustafson/form-show-if/-/form-show-if-3.0.0.tgz","fileCount":7,"integrity":"sha512-3tl5QQr1gs2iGUE8kQ3wE3r5/r7dDxhGiDBZgD+VU93i0zZuKFg6uPgljxTstvfsiCC6L69f3XWrcEtnItI6DQ==","signatures":[{"sig":"MEUCIQD7iDJFHs4zhVaTAro8ysZ4OlaU510uijBhpRy6wMc/BgIgeIetSxEieI6hrSn5ygOD69u5UGRDv1PpCKeh9Fh2m7U=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aarongustafson%2fform-show-if@3.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":16332},"main":"index.js","type":"module","module":"form-show-if.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":"./index.js"},"./define.js":{"import":"./define.js"},"./form-show-if.js":{"import":"./form-show-if.js"},"./custom-elements.json":"./custom-elements.json"},"gitHead":"fad252b1e36328b90ebd1a99ac58d12be22de209","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"vitest","format":"npm run format:eslint && npm run format:prettier","test:ui":"vitest --ui","test:run":"vitest run","lint:eslint":"eslint .","format:eslint":"eslint . --fix","lint:prettier":"prettier \"**/*.js\" --check --ignore-path .gitignore","test:coverage":"vitest run --coverage","format:prettier":"prettier \"**/*.js\" --write --ignore-path .gitignore"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5272e45b-b775-4242-8b6e-daa8778bf929"}},"repository":{"url":"git+https://github.com/aarongustafson/form-show-if.git","type":"git"},"_npmVersion":"11.6.4","description":"Web component that enables you to make one HTML form field show (or not) based on the value(s) of another field.","directories":{},"_nodeVersion":"20.19.6","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"customElements":"custom-elements.json","devDependencies":{"eslint":"^9.39.1","vitest":"^4.0.10","prettier":"^3.6.2","happy-dom":"^20.0.10","@vitest/ui":"^4.0.10","@vitest/coverage-v8":"^4.0.10","@testing-library/dom":"^10.4.1","@open-wc/eslint-config":"^13.0.0","eslint-config-prettier":"^10.1.8","@testing-library/user-event":"^14.6.1"},"_npmOperationalInternal":{"tmp":"tmp/form-show-if_3.0.0_1765213215213_0.2652652451594093","host":"s3://npm-registry-packages-npm-production"}},"3.0.1":{"name":"@aarongustafson/form-show-if","version":"3.0.1","keywords":["html","custom element","web component","forms","form validation","conditional fields","show-hide","accessibility","a11y"],"author":{"url":"https://www.aaron-gustafson.com/","name":"Aaron Gustafson","email":"aaron@easy-designs.net"},"license":"MIT","_id":"@aarongustafson/form-show-if@3.0.1","maintainers":[{"name":"aarongustafson","email":"aaron@easy-designs.net"}],"homepage":"https://github.com/aarongustafson/form-show-if#readme","bugs":{"url":"https://github.com/aarongustafson/form-show-if/issues"},"dist":{"shasum":"eec3534f0207191ad25b87cda233e870be2dc2a6","tarball":"https://registry.npmjs.org/@aarongustafson/form-show-if/-/form-show-if-3.0.1.tgz","fileCount":7,"integrity":"sha512-mXmeu0d6RGOwNBtSnOeLWzwEWuRLMdLHZtMxLHhdKugAWIf922dL+9b9YdQCq2IG00Wrh7zWzOmQ2rb/gUesog==","signatures":[{"sig":"MEUCIQCNIUFfzMlbn0FULXbNZ+RRf4OB0SUCLJeIwwo0qvjQ0QIgLwAXHdKxPWkaGiCs0aWzWfGHHFA5O/B0rkQ2An2xZtY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aarongustafson%2fform-show-if@3.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17717},"main":"index.js","type":"module","module":"form-show-if.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":"./index.js"},"./define.js":{"import":"./define.js"},"./form-show-if.js":{"import":"./form-show-if.js"},"./custom-elements.json":"./custom-elements.json"},"gitHead":"ec2d537ba5092a100cc060ce48780e293ee2ec68","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"vitest","format":"npm run format:eslint && npm run format:prettier","test:ui":"vitest --ui","version":"node scripts/update-demo-versions.js && git add demo/esm.html","test:run":"vitest run","lint:eslint":"eslint .","format:eslint":"eslint . --fix","lint:prettier":"prettier \"**/*.js\" --check --ignore-path .gitignore","test:coverage":"vitest run --coverage","format:prettier":"prettier \"**/*.js\" --write --ignore-path .gitignore"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5272e45b-b775-4242-8b6e-daa8778bf929"}},"repository":{"url":"git+https://github.com/aarongustafson/form-show-if.git","type":"git"},"_npmVersion":"11.6.4","description":"Web component that enables you to make one HTML form field show (or not) based on the value(s) of another field.","directories":{},"_nodeVersion":"20.19.6","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"customElements":"custom-elements.json","devDependencies":{"eslint":"^9.39.1","vitest":"^4.0.10","prettier":"^3.6.2","happy-dom":"^20.0.10","@vitest/ui":"^4.0.10","@vitest/coverage-v8":"^4.0.10","@testing-library/dom":"^10.4.1","@open-wc/eslint-config":"^13.0.0","eslint-config-prettier":"^10.1.8","@testing-library/user-event":"^14.6.1"},"_npmOperationalInternal":{"tmp":"tmp/form-show-if_3.0.1_1765306445306_0.37423237487878547","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"@aarongustafson/form-show-if","version":"3.1.0","keywords":["html","custom element","web component","forms","form validation","conditional fields","show-hide","accessibility","a11y"],"author":{"url":"https://www.aaron-gustafson.com/","name":"Aaron Gustafson","email":"aaron@easy-designs.net"},"license":"MIT","_id":"@aarongustafson/form-show-if@3.1.0","maintainers":[{"name":"aarongustafson","email":"aaron@easy-designs.net"}],"homepage":"https://github.com/aarongustafson/form-show-if#readme","bugs":{"url":"https://github.com/aarongustafson/form-show-if/issues"},"dist":{"shasum":"e09d4e4ad96ca2fb06a89732d1f83564ee324534","tarball":"https://registry.npmjs.org/@aarongustafson/form-show-if/-/form-show-if-3.1.0.tgz","fileCount":8,"integrity":"sha512-zKsa20fHtAitdni0IVmysekqgtAaBlFw8HZlXppKpUqBWDlGh4Q2BS7UONmgOPJuGEac47znhsiAUHw1oQDGhQ==","signatures":[{"sig":"MEQCIB1nkAi22vBDBblFnp49cvLi23S7uedP4/XPD26xJXc6AiBSeXca+inbwRHxMn9Hynz6ON5nNwp8uUPQQdFDLWbEpQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aarongustafson%2fform-show-if@3.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21678},"main":"index.js","type":"module","module":"form-show-if.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":"./index.js"},"./define.js":{"import":"./define.js"},"./form-show-if.js":{"types":"./form-show-if.d.ts","import":"./form-show-if.js"},"./custom-elements.json":"./custom-elements.json"},"gitHead":"ce1ee6b2e93fe22b4e884e514b87be6165fe224f","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"vitest","format":"npm run format:eslint && npm run format:prettier","test:ui":"vitest --ui","version":"node scripts/update-demo-versions.js && git add demo/esm.html","test:run":"vitest run","lint:eslint":"eslint .","format:eslint":"eslint . --fix","lint:prettier":"prettier \"**/*.js\" --check --ignore-path .gitignore","test:coverage":"vitest run --coverage","format:prettier":"prettier \"**/*.js\" --write --ignore-path .gitignore"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5272e45b-b775-4242-8b6e-daa8778bf929"}},"repository":{"url":"git+https://github.com/aarongustafson/form-show-if.git","type":"git"},"_npmVersion":"11.7.0","description":"Web component that enables you to make one HTML form field show (or not) based on the value(s) of another field.","directories":{},"_nodeVersion":"20.19.6","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"customElements":"custom-elements.json","devDependencies":{"eslint":"^9.39.1","vitest":"^4.0.10","prettier":"^3.6.2","happy-dom":"^20.0.10","@vitest/ui":"^4.0.10","@vitest/coverage-v8":"^4.0.10","@testing-library/dom":"^10.4.1","@open-wc/eslint-config":"^13.0.0","eslint-config-prettier":"^10.1.8","@testing-library/user-event":"^14.6.1"},"_npmOperationalInternal":{"tmp":"tmp/form-show-if_3.1.0_1765666913944_0.6372428550355635","host":"s3://npm-registry-packages-npm-production"}},"3.1.1":{"name":"@aarongustafson/form-show-if","version":"3.1.1","keywords":["html","custom element","web component","forms","form validation","conditional fields","show-hide","accessibility","a11y"],"author":{"url":"https://www.aaron-gustafson.com/","name":"Aaron Gustafson","email":"aaron@easy-designs.net"},"license":"MIT","_id":"@aarongustafson/form-show-if@3.1.1","maintainers":[{"name":"aarongustafson","email":"aaron@easy-designs.net"}],"homepage":"https://github.com/aarongustafson/form-show-if#readme","bugs":{"url":"https://github.com/aarongustafson/form-show-if/issues"},"dist":{"shasum":"94e7cf5e21211ccdb92aeec4b042ad83b1730055","tarball":"https://registry.npmjs.org/@aarongustafson/form-show-if/-/form-show-if-3.1.1.tgz","fileCount":8,"integrity":"sha512-h8ZyskR3bjpn9fGuCoRgQ4Np9zYQ1/ZHP+r/KYb5aHxJwC4dogXJRt97GrZOdTNCyXoJhqHiCrG6J3sjkiXniw==","signatures":[{"sig":"MEUCIEq8SFgIhq03NKoV4BD7chbpHdr4pCAIf9xaf2HF93cPAiEA9IDZmaocITcoPSu6ZpF8Qf0zEkuQFq4rr2vpOY60uJ0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aarongustafson%2fform-show-if@3.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21752},"main":"index.js","type":"module","types":"form-show-if.d.ts","module":"form-show-if.js","engines":{"node":">=14.0.0"},"exports":{".":{"import":"./index.js"},"./define.js":{"import":"./define.js"},"./form-show-if.js":{"types":"./form-show-if.d.ts","import":"./form-show-if.js"},"./custom-elements.json":"./custom-elements.json"},"gitHead":"eb19d91f7485da4b698d3fdf49c0cb0a3f550761","scripts":{"lint":"npm run lint:eslint && npm run lint:prettier","test":"vitest","format":"npm run format:eslint && npm run format:prettier","test:ui":"vitest --ui","version":"node scripts/update-demo-versions.js && git add demo/esm.html","test:run":"vitest run","lint:eslint":"eslint .","postversion":"git push --follow-tags","format:eslint":"eslint . --fix","lint:prettier":"prettier \"**/*.js\" --check --ignore-path .gitignore","test:coverage":"vitest run --coverage","format:prettier":"prettier \"**/*.js\" --write --ignore-path .gitignore"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5272e45b-b775-4242-8b6e-daa8778bf929"}},"repository":{"url":"git+https://github.com/aarongustafson/form-show-if.git","type":"git"},"_npmVersion":"11.7.0","description":"Web component that enables you to make one HTML form field show (or not) based on the value(s) of another field.","directories":{},"_nodeVersion":"20.19.6","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"customElements":"custom-elements.json","devDependencies":{"eslint":"^9.39.1","vitest":"^4.0.10","prettier":"^3.6.2","happy-dom":"^20.0.10","@vitest/ui":"^4.0.10","@vitest/coverage-v8":"^4.0.10","@testing-library/dom":"^10.4.1","@open-wc/eslint-config":"^13.0.0","eslint-config-prettier":"^10.1.8","@testing-library/user-event":"^14.6.1"},"_npmOperationalInternal":{"tmp":"tmp/form-show-if_3.1.1_1765773988923_0.2696565447153514","host":"s3://npm-registry-packages-npm-production"}},"3.1.2":{"name":"@aarongustafson/form-show-if","version":"3.1.2","description":"Web component that enables you to make one HTML form field show (or not) based on the value(s) of another field.","keywords":["html","custom element","web component","forms","form validation","conditional fields","show-hide","accessibility","a11y"],"author":{"name":"Aaron Gustafson","email":"aaron@easy-designs.net","url":"https://www.aaron-gustafson.com/"},"license":"MIT","homepage":"https://github.com/aarongustafson/form-show-if#readme","repository":{"type":"git","url":"git+https://github.com/aarongustafson/form-show-if.git"},"bugs":{"url":"https://github.com/aarongustafson/form-show-if/issues"},"type":"module","main":"index.js","module":"form-show-if.js","customElements":"custom-elements.json","types":"form-show-if.d.ts","exports":{".":{"import":"./index.js"},"./form-show-if.js":{"import":"./form-show-if.js","types":"./form-show-if.d.ts"},"./define.js":{"import":"./define.js"},"./custom-elements.json":"./custom-elements.json"},"engines":{"node":">=20.0.0"},"scripts":{"test":"vitest","test:ui":"vitest --ui","test:run":"vitest run","test:coverage":"vitest run --coverage","lint":"npm run lint:eslint && npm run lint:prettier","format":"npm run format:eslint && npm run format:prettier","lint:eslint":"eslint .","format:eslint":"eslint . --fix","lint:prettier":"prettier \"**/*.js\" --check --ignore-path .gitignore","format:prettier":"prettier \"**/*.js\" --write --ignore-path .gitignore","version":"node scripts/update-demo-versions.js && git add demo/esm.html","postversion":"git push --follow-tags"},"devDependencies":{"@open-wc/eslint-config":"^13.0.0","@testing-library/dom":"^10.4.1","@testing-library/user-event":"^14.6.1","@vitest/coverage-v8":"^4.0.10","@vitest/ui":"^4.0.10","eslint":"^9.39.1","eslint-config-prettier":"^10.1.8","happy-dom":"^20.0.10","prettier":"^3.6.2","vitest":"^4.0.10"},"publishConfig":{"access":"public"},"gitHead":"fe785516ea37e959385486947c297ccb2666aba4","_id":"@aarongustafson/form-show-if@3.1.2","_nodeVersion":"20.19.6","_npmVersion":"11.7.0","dist":{"integrity":"sha512-9EbvlRUpkZFLALgNuCk/vBYkUjMsYhSzE2JgSy+7zf5QmPEQmRWFyWTG7Ow79dp0N1nspmz//A6CNh48erTLgA==","shasum":"859d9863bbb5f5ca91d623362e653cfb1d3883b1","tarball":"https://registry.npmjs.org/@aarongustafson/form-show-if/-/form-show-if-3.1.2.tgz","fileCount":8,"unpackedSize":21752,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@aarongustafson%2fform-show-if@3.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDKUEmVmWFibcJ3qOO/OjzdkjM3FanAQQz3XctBnfcLWwIgCzVX1A0BVLO5t5WuPyEzbTH2XGycbiXNmnK2dc/TR5U="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:5272e45b-b775-4242-8b6e-daa8778bf929"}},"directories":{},"maintainers":[{"name":"aarongustafson","email":"aaron@easy-designs.net"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/form-show-if_3.1.2_1765862005258_0.3919415280649656"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-19T23:11:50.875Z","modified":"2025-12-16T05:13:25.752Z","2.0.0":"2025-11-19T23:11:51.229Z","2.0.1":"2025-11-27T05:34:43.847Z","2.0.2":"2025-11-27T05:36:50.007Z","2.0.3":"2025-11-29T18:00:04.929Z","2.0.4":"2025-11-30T16:04:54.508Z","3.0.0":"2025-12-08T17:00:15.355Z","3.0.1":"2025-12-09T18:54:05.438Z","3.1.0":"2025-12-13T23:01:54.107Z","3.1.1":"2025-12-15T04:46:29.060Z","3.1.2":"2025-12-16T05:13:25.399Z"},"bugs":{"url":"https://github.com/aarongustafson/form-show-if/issues"},"author":{"name":"Aaron Gustafson","email":"aaron@easy-designs.net","url":"https://www.aaron-gustafson.com/"},"license":"MIT","homepage":"https://github.com/aarongustafson/form-show-if#readme","keywords":["html","custom element","web component","forms","form validation","conditional fields","show-hide","accessibility","a11y"],"repository":{"type":"git","url":"git+https://github.com/aarongustafson/form-show-if.git"},"description":"Web component that enables you to make one HTML form field show (or not) based on the value(s) of another field.","maintainers":[{"name":"aarongustafson","email":"aaron@easy-designs.net"}],"readme":"# Show If Web Component\n\n[![npm version](https://img.shields.io/npm/v/@aarongustafson/form-show-if.svg)](https://www.npmjs.com/package/@aarongustafson/form-show-if) [![Build Status](https://img.shields.io/github/actions/workflow/status/aarongustafson/form-show-if/ci.yml?branch=main)](https://github.com/aarongustafson/form-show-if/actions)\n\nCurrently, HTML provides no mechanism to show & hide dependent fields. Sometimes you only want a field to show when certain other fields have a (particular) value. The `form-show-if` web component enables that.\n\n## TypeScript Support\n\n- Ships with bundled `.d.ts` definitions so editors and TypeScript builds fully understand `FormShowIfElement`.\n- The package export map exposes the types automatically; no extra configuration is required to consume them in TS projects.\n- `HTMLElementTagNameMap` is augmented so `form-show-if` elements are correctly typed when using JSX/TSX or querying via `document.querySelector`.\n\n## Demo\n\n- [Live Demo](https://aarongustafson.github.io/form-show-if/demo/) ([Source](./demo/index.html))\n- [ESM Demo](https://aarongustafson.github.io/form-show-if/demo/esm.html) ([Source](./demo/esm.html))\n- [unpkg Demo](https://aarongustafson.github.io/form-show-if/demo/unpkg.html) ([Source](./demo/unpkg.html))\n\n## Installation\n\n```bash\nnpm install @aarongustafson/form-show-if\n```\n\n## Usage\n\n### Option 1: Import the class and define manually\n\nImport the class and define the custom element with your preferred tag name:\n\n```javascript\nimport { FormShowIfElement } from '@aarongustafson/form-show-if';\n\n// Define with default name\ncustomElements.define('form-show-if', FormShowIfElement);\n\n// Or define with a custom name\ncustomElements.define('my-conditional-field', FormShowIfElement);\n```\n\n### Option 2: Auto-define the custom element (browser environments only)\n\nUse the guarded definition helper to register the element when `customElements` is available:\n\n```javascript\nimport '@aarongustafson/form-show-if/define.js';\n```\n\nIf you prefer to control when the element is registered, call the helper directly:\n\n```javascript\nimport { defineFormShowIf } from '@aarongustafson/form-show-if/define.js';\n\ndefineFormShowIf();\n```\n\nYou can also include the guarded script from HTML:\n\n```html\n<script src=\"./node_modules/@aarongustafson/form-show-if/define.js\" type=\"module\"></script>\n```\n\n### CDN Usage\n\nYou can also use the component directly from a CDN:\n\n```html\n<script src=\"https://unpkg.com/@aarongustafson/form-show-if@latest/define.js\" type=\"module\"></script>\n```\n\n## API\n\n<ul>\n  <li><code>conditions</code><br> A double pipe (||) separated list of <code>name</code>/<code>value</code> pairs. When fields with the provided <code>name</code> values are updated, the value of those fields will be compared against the values you provided (or * for anything). If any resolve to true, the field will be shown, otherwise it will be hidden.</li>\n  <li><code>disabled-class</code> (optional)<br> By default the field & <code>label</code> wrapper will be marked <code>hidden</code> when disabled, but you can apply a custom <code>class</code> to be used instead, when the field is disabled.</li>\n  <li><code>enabled-class</code> (optional)<br> By default the field & <code>label</code> wrapper will not be <code>hidden</code> when enabled, but you can apply a custom <code>class</code> to the wrapper, when the field is enabled.</li>\n</ul>\n\n## Markup Assumptions\n\nThis web component assumes the fields you reference in `conditions` exist in the DOM when the component is loaded. If they don't, they will be ignored.\n\n## Implementation notes\n\nThe \"wrapper\" mentioned below refers to the nearest mutual parent of the field & its label. It may be the `form-show-if` element itself.\n\n1. **Field markup changes.** When the field is hidden (conditions not met), it will receive the `disabled` attribute and all fields within the wrapper are disabled.\n\n2. **Visual state management.** If `disabled-class` and/or `enabled-class` **are not** defined:\n   * When **no** condition is met: The wrapper has a `hidden` attribute\n   * When **any** condition is met: The `hidden` attribute is removed from the wrapper\n\n3. **Custom class management.** If `disabled-class` and/or `enabled-class` **are** defined:\n   * When **no** condition is met:\n     * If `enabled-class` is defined, it is removed from the wrapper\n     * If `disabled-class` is defined, it is added to the wrapper\n   * When **any** condition is met:\n     * If `enabled-class` is defined, it is added to the wrapper\n     * If `disabled-class` is defined, it is removed from the wrapper\n\n## Examples\n\n### Basic Usage\n\n```html\n<form>\n  <label for=\"email\">Email</label>\n  <input type=\"email\" id=\"email\" name=\"email\">\n\n  <form-show-if conditions=\"email=*\">\n    <label for=\"phone\">Phone (shown if email provided)</label>\n    <input type=\"tel\" id=\"phone\" name=\"phone\">\n  </form-show-if>\n\n  <button type=\"submit\">Submit</button>\n</form>\n```\n\n### Multiple Conditions (OR logic)\n\n```html\n<form-show-if conditions=\"email=*||phone=*\">\n  <label for=\"name\">Name (shown if email OR phone provided)</label>\n  <input type=\"text\" id=\"name\" name=\"name\">\n</form-show-if>\n```\n\n### Specific Value Conditions\n\n```html\n<form-show-if conditions=\"contact-method=email\">\n  <label for=\"email\">Email Address</label>\n  <input type=\"email\" id=\"email\" name=\"email\">\n</form-show-if>\n```\n\n### Checkbox Conditions\n\n```html\n<form-show-if conditions=\"newsletter=yes\">\n  <label for=\"email\">Email (shown for newsletter)</label>\n  <input type=\"email\" id=\"email\" name=\"email\">\n</form-show-if>\n```\n\n### Using Custom Classes\n\n```html\n<form-show-if conditions=\"email=*\" disabled-class=\"visually-hidden\" enabled-class=\"is-visible\">\n  <label for=\"phone\">Phone</label>\n  <input type=\"tel\" id=\"phone\" name=\"phone\">\n</form-show-if>\n```\n\n## Browser Support\n\nThis web component works in all modern browsers that support:\n- Custom Elements v1\n- ES Modules (for module usage)\n\nFor older browsers, you may need polyfills for Custom Elements.\n\n## Development\n\n### Testing\n\n```bash\n# Run tests\nnpm test\n\n# Run tests once\nnpm run test:run\n\n# Run tests with UI\nnpm run test:ui\n\n# Run tests with coverage\nnpm run test:coverage\n```\n\n### Linting and Formatting\n\n```bash\n# Lint code\nnpm run lint\n\n# Format code\nnpm run format\n```\n","readmeFilename":"README.md"}