Mortar contribution checks / Mortar baseline and browser checks (push) Successful in 3m15s
43 lines
1.4 KiB
JSON
43 lines
1.4 KiB
JSON
{
|
|
"id": "mortar-marketing-header",
|
|
"logicalId": "marketing-header",
|
|
"name": "MarketingHeader",
|
|
"description": "Mortar marketing marketing header, using central semantic tokens.",
|
|
"stack": "react-tailwind",
|
|
"package": "@tony-ui/mortar",
|
|
"version": "0.1.0",
|
|
"export": "MarketingHeader",
|
|
"source": "src/marketing.tsx",
|
|
"capabilities": ["theme", "marketing"],
|
|
"owner": "Mortar maintainers",
|
|
"kitId": "marketing",
|
|
"provenance": {
|
|
"kitId": "marketing",
|
|
"exampleId": "mortar-marketing-reference",
|
|
"sourceDigest": "4ec7866f2bbb06475a555bfde970c052111c84efde4ce0f38134e7fb400733d2"
|
|
},
|
|
"contract": {
|
|
"props": {
|
|
"brand": "string",
|
|
"homeHref": "string",
|
|
"links": "LinkAction[]",
|
|
"action": "LinkAction",
|
|
"controls": "ReactNode"
|
|
},
|
|
"states": [
|
|
"Light",
|
|
"Dark",
|
|
"Neutral brand",
|
|
"Green brand",
|
|
"Keyboard and focus"
|
|
],
|
|
"usage": "Import { MarketingHeader } from @tony-ui/mortar. Compose with the public typed props.",
|
|
"avoid": "Do not copy implementations, override central colours or grant component approval.",
|
|
"accessibility": "Verify accessible names, keyboard interaction, visible focus, responsive layout and supported states.",
|
|
"dependencies": ["mortar-button", "mortar-action-link"]
|
|
},
|
|
"preview": {
|
|
"source": "previews/MarketingHeaderPreview.tsx"
|
|
}
|
|
}
|