New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@financial-times/o-toggle

Package Overview
Dependencies
Maintainers
17
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@financial-times/o-toggle - npm Package Compare versions

Comparing version 3.0.0 to 3.0.1

CHANGELOG.md

86

origami.json
{
"brands": [
"master",
"internal",
"whitelabel"
],
"origamiType": "component",
"origamiVersion": "2.0",
"support": "https://github.com/Financial-Times/o-toggle/issues",
"supportContact": {
"email": "origami.support@ft.com",
"slack": "financialtimes/origami-support"
},
"supportStatus": "active",
"demosDefaults": {
"js": "demos/src/demo.js",
"sass": "demos/src/demo.scss",
"dependencies": [
"o-spacing@^3.0.0",
"o-fonts@^5.0.0",
"o-normalise@^3.0.0",
"o-buttons@^7.0.0"
]
},
"demos": [
{
"title": "Toggle display on/off.",
"name": "display-toggle",
"template": "demos/src/demo.mustache",
"data": {
"type": "display"
},
"description": "This toggle target has a class \"o-toggle-display\" which hides it until clicking the toggle updates its aria attributes and adds the \"o-toggle--active\" class."
},
{
"title": "Toggle visibility.",
"name": "visibility-toggle",
"template": "demos/src/demo.mustache",
"data": {
"type": "visibility"
},
"description": "This toggle target has a class \"o-toggle-visibility\" which visually hides it, whilst still occupying space, until clicking the toggle updates its aria attributes and adds the \"o-toggle--active\" class."
},
"brands": [
"master",
"internal",
"whitelabel"
],
"origamiType": "component",
"origamiVersion": "2.0",
"support": "https://github.com/Financial-Times/origami/issues/new?labels=o-toggle,components",
"supportContact": {
"email": "origami.support@ft.com",
"slack": "financialtimes/origami-support"
},
"supportStatus": "active",
"demosDefaults": {
"js": "demos/src/demo.js",
"sass": "demos/src/demo.scss",
"dependencies": [
"o-spacing@^3.0.0",
"o-fonts@^5.0.0",
"o-normalise@^3.0.0",
"o-buttons@^7.0.0"
]
},
"demos": [
{
"title": "Toggle display on/off.",
"name": "display-toggle",
"template": "demos/src/demo.mustache",
"data": {
"type": "display"
},
"description": "This toggle target has a class \"o-toggle-display\" which hides it until clicking the toggle updates its aria attributes and adds the \"o-toggle--active\" class."
},
{
"title": "Toggle visibility.",
"name": "visibility-toggle",
"template": "demos/src/demo.mustache",
"data": {
"type": "visibility"
},
"description": "This toggle target has a class \"o-toggle-visibility\" which visually hides it, whilst still occupying space, until clicking the toggle updates its aria attributes and adds the \"o-toggle--active\" class."
},
{
"hidden": true,

@@ -51,3 +51,3 @@ "title": "Anchor toggle",

}
]
]
}
{
"name": "@financial-times/o-toggle",
"version": "3.0.0",
"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://registry.origami.ft.com/components/o-toggle"
},
"license": "MIT",
"type": "module",
"browser": "main.js",
"scripts": {
"start": "npx serve ./demos/local",
"build": "npm_config_yes=true npx \"origami-build-tools@^11\" install && npm_config_yes=true npx \"origami-build-tools@^11\" demo"
},
"devDependencies": {
"eslint": "^7.24.0",
"eslint-config-origami-component": "^2.1.1",
"remark": "^13.0.0",
"remark-lint": "^7.0.1",
"remark-preset-lint-origami-component": "^2.0.0",
"stylelint": "^13.12.0",
"stylelint-config-origami-component": "^1.0.4"
},
"engines": {
"npm": "^7"
},
"volta": {
"node": "14.16.1",
"npm": "7.11.1"
}
"name": "@financial-times/o-toggle",
"version": "3.0.1",
"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": "npm_config_yes=true npx \"origami-build-tools@^11\" install && npm_config_yes=true npx \"origami-build-tools@^11\" demo"
},
"engines": {
"npm": "^7"
},
"volta": {
"node": "14.16.1",
"npm": "7.11.1"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc