Extract independent MIT Mortar kit and contribution workflow
Mortar contribution checks / Mortar baseline and browser checks (push) Successful in 3m15s
Mortar contribution checks / Mortar baseline and browser checks (push) Successful in 3m15s
This commit is contained in:
commit
43fe76158c
108 files changed
+10081
No files matched your search
@@ -0,0 +1,40 @@
|
||||
{
|
||||
"id": "mortar-checkbox",
|
||||
"logicalId": "checkbox",
|
||||
"name": "Checkbox",
|
||||
"description": "Mortar foundation checkbox, using central semantic tokens.",
|
||||
"stack": "react-tailwind",
|
||||
"package": "@tony-ui/mortar",
|
||||
"version": "0.1.0",
|
||||
"export": "Checkbox",
|
||||
"source": "src/primitives.tsx",
|
||||
"capabilities": ["theme", "foundation", "input", "validation", "keyboard"],
|
||||
"owner": "Mortar maintainers",
|
||||
"kitId": "foundation",
|
||||
"provenance": {
|
||||
"kitId": "foundation",
|
||||
"exampleId": "mortar-foundation-reference",
|
||||
"sourceDigest": "f132052b4ac52f3909ac437073c076b9f615849effea14dabf7d30759d714c2d"
|
||||
},
|
||||
"contract": {
|
||||
"props": {
|
||||
"label": "string",
|
||||
"checked": "boolean",
|
||||
"onChange": "ChangeEventHandler<HTMLInputElement>"
|
||||
},
|
||||
"states": [
|
||||
"Light",
|
||||
"Dark",
|
||||
"Neutral brand",
|
||||
"Green brand",
|
||||
"Keyboard and focus"
|
||||
],
|
||||
"usage": "Import { Checkbox } 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/CheckboxPreview.tsx"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user