@financial-times/o-toggle
Version:
Utility that provides toggle (show/hide) behaviour to a <button> or <a> tag and a target.
37 lines (36 loc) • 1.11 kB
JSON
{
"name": "@financial-times/o-toggle",
"version": "3.2.6",
"description": "Utility that provides toggle (show/hide) behaviour to a <button> or <a> tag and a target.",
"keywords": [
"toggle",
"show",
"hide"
],
"homepage": "https://registry.origami.ft.com/components/o-toggle",
"bugs": {
"url": "https://github.com/Financial-Times/origami/issues/new?labels=o-toggle,components",
"email": "origami.support@ft.com"
},
"license": "MIT",
"type": "module",
"browser": "main.js",
"scripts": {
"start": "npx serve ./demos/local",
"build": "bash ../../scripts/component/build.bash",
"test": "bash ../../scripts/component/test.bash",
"debug:js": "bash ../../scripts/component/debug-js.bash",
"lint": "bash ../../scripts/component/lint.bash",
"watch": "bash ../../scripts/component/watch.bash"
},
"devDependencies": {
"@financial-times/o-buttons": "^7.8.0",
"@financial-times/o-fonts": "^5.2.0",
"@financial-times/o-normalise": "^3.3.0",
"@financial-times/o-spacing": "^3.2.0"
},
"engines": {
"npm": ">7"
},
"private": false
}