@financial-times/o-share
Version:
Provides styling for social media sharing links
65 lines (64 loc) • 1.56 kB
JSON
{
"brands": [
"core",
"internal"
],
"origamiType": "component",
"origamiVersion": "2.0",
"support": "https://github.com/Financial-Times/origami/issues/new?labels=o-share,components",
"supportContact": {
"email": "origami.support@ft.com",
"slack": "financialtimes/origami-support"
},
"supportStatus": "active",
"browserFeatures": {
"required": [
"document.queryselector",
"Element.prototype.closest"
],
"optional": [
"getComputedStyle",
"canvas",
"CustomEvent"
]
},
"demosDefaults": {
"sass": "demos/src/demo.scss",
"js": "demos/src/demo.js",
"data": "demos/src/data.json",
"documentClasses": "demo"
},
"demos": [
{
"title": "Horizontal",
"name": "horizontal",
"template": "demos/src/horizontal.mustache",
"description": "horizontal"
},
{
"title": "Small",
"name": "small",
"template": "demos/src/small.mustache",
"description": "small icons"
},
{
"title": "Inverse",
"name": "inverse",
"template": "demos/src/inverse.mustache",
"documentClasses": "demo demo--inverse",
"description": "inverse share icons"
},
{
"title": "Vertical",
"name": "vertical",
"template": "demos/src/vertical.mustache",
"description": "vertical"
},
{
"title": "Custom Share",
"name": "custom-share",
"template": "demos/src/custom.mustache",
"description": "A custom share action may also be used alongside a form or with custom JavaScript behaviour attached, as shown with this demo. Labels may be added to describe a custom share button."
}
]
}