Schema v25: a button takes an optional icon (any name from the shared set or "none") and an icon position (start or end). Without a choice it keeps the diagonal arrow behind the text, still with the button-arrow class, so stored pages and their own CSS look exactly as before. Thirteen everyday icons join the set (arrow down, chevron, calendar, message, send, download, document, play, search, heart, info, plus, person). Button, icon and icon card choose from a tile picker with a drawing per icon, grouped, keyboard navigable, instead of a select with English keys. icons.js holds the paths for the editor; a test keeps them equal to the Twig drawings and the validator list. ADR 108. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
34 lines
1.4 KiB
JSON
34 lines
1.4 KiB
JSON
{
|
|
"name": "kantsites-quality",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build:buttons": "node scripts/build-buttons.mjs",
|
|
"test:buttons": "node scripts/button-check.mjs",
|
|
"test:button-icons": "node scripts/button-icon-check.mjs",
|
|
"test:navigation-ux": "node scripts/navigation-ux-check.mjs",
|
|
"test:responsive-navigation": "node scripts/responsive-navigation-check.mjs",
|
|
"build:design": "node scripts/build-design.mjs",
|
|
"test": "node --test tests/*.test.mjs",
|
|
"test:editor": "node scripts/editor-check.mjs",
|
|
"test:browser": "node scripts/browser-check.mjs",
|
|
"test:links": "node scripts/link-check.mjs",
|
|
"audit": "node scripts/audit.mjs",
|
|
"test:admin": "node scripts/admin-quality-check.mjs",
|
|
"test:search": "node scripts/live-search-check.mjs",
|
|
"test:image-size": "node scripts/image-size-check.mjs",
|
|
"test:image-alignment": "node scripts/image-alignment-check.mjs",
|
|
"test:link-media": "node scripts/link-media-check.mjs",
|
|
"test:404": "node scripts/not-found-check.mjs",
|
|
"test:colors": "node scripts/color-picker-check.mjs",
|
|
"test:accordion": "node scripts/accordion-check.mjs",
|
|
"test:motion": "node scripts/motion-check.mjs",
|
|
"test:archive-update": "node scripts/archive-update-check.mjs"
|
|
},
|
|
"devDependencies": {
|
|
"@axe-core/playwright": "^4.10.0",
|
|
"playwright": "^1.55.0",
|
|
"lighthouse": "^13.0.0"
|
|
}
|
|
}
|