Mortar contribution checks / Mortar baseline and browser checks (push) Successful in 3m15s
40 lines
1.3 KiB
JSON
40 lines
1.3 KiB
JSON
{
|
|
"id": "mortar-metric-group",
|
|
"logicalId": "metric-group",
|
|
"name": "MetricGroup",
|
|
"description": "Mortar application metric group, using central semantic tokens.",
|
|
"stack": "react-tailwind",
|
|
"package": "@tony-ui/mortar",
|
|
"version": "0.1.0",
|
|
"export": "MetricGroup",
|
|
"source": "src/application.tsx",
|
|
"capabilities": ["theme", "application", "summary"],
|
|
"owner": "Mortar maintainers",
|
|
"kitId": "application",
|
|
"provenance": {
|
|
"kitId": "application",
|
|
"exampleId": "mortar-application-reference",
|
|
"sourceDigest": "9c3a1c251ac5dcf28a566a4a6ee4ae6724296996e47b7eb3ccacad1517668ef3"
|
|
},
|
|
"contract": {
|
|
"props": {
|
|
"label": "string",
|
|
"items": "{ label: string; value: string; change?: string; tone?: Tone }[]"
|
|
},
|
|
"states": [
|
|
"Light",
|
|
"Dark",
|
|
"Neutral brand",
|
|
"Green brand",
|
|
"Keyboard and focus"
|
|
],
|
|
"usage": "Import { MetricGroup } 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": []
|
|
},
|
|
"preview": {
|
|
"source": "previews/MetricGroupPreview.tsx"
|
|
}
|
|
}
|