Files
xenia-pos-local/waiter_pwa/package.json
T
bonaminandClaude Opus 5.5 3580f2815c feat(ui): @xenia/ui design tokens, Tailwind preset and base components
Platform-v2 step 2.3 (APPS_PLATFORM D-15 §9):
- tokens.css: --x- prefixed colours (light/dark/system + 5 venue accent themes),
  spacing, radius, type scale, shadows, motion, z-index; variables only
- components.css: .x-* classes only, no element selectors (new rule CS-16)
- Button, IconButton, Dialog, Sheet, Toast, PinPad, InfoTip, EmptyState,
  Spinner, Field/Input/Textarea/Select, Switch (accessible: focus trap and
  restore, ARIA wiring, 44px targets)
- tailwind-preset.js (adds names only); manager uses it + styles.css, the
  waiter imports tokens.css; existing screens unchanged
- dev-only /ui-gallery in the manager; e2e suite tests/e2e/ui.mjs; unit tests
  for PIN rules and WCAG AA contrast of every token pair, both in run-all

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 19:33:58 +02:00

47 lines
1.3 KiB
JSON

{
"name": "waiter_pwa",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"lint": "eslint .",
"preview": "vite preview",
"build:native": "vite build --mode native && cap sync android",
"apk:debug": "npm run build:native && node scripts/build-apk.mjs debug",
"apk:release": "npm run build:native && node scripts/build-apk.mjs release",
"test": "node --test \"tests/*.test.mjs\""
},
"dependencies": {
"@capacitor/android": "8.5.2",
"@capacitor/app": "8.1.1",
"@capacitor/core": "8.5.2",
"@capgo/capacitor-updater": "8.51.25",
"@tanstack/react-query": "^5.100.11",
"@xenia/ui": "^0.0.0",
"axios": "^1.15.1",
"dexie": "^4.4.2",
"qr-scanner": "^1.4.2",
"react": "^19.2.5",
"react-dom": "^19.2.5",
"react-router-dom": "^7.14.1",
"vite-plugin-pwa": "^1.2.0",
"workbox-window": "^7.4.0",
"zustand": "^5.0.12"
},
"devDependencies": {
"@capacitor/cli": "8.5.2",
"@eslint/js": "^9.39.4",
"@types/react": "^19.2.14",
"@types/react-dom": "^19.2.3",
"@vitejs/plugin-react": "^6.0.1",
"eslint": "^9.39.4",
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.2",
"fflate": "^0.8.3",
"globals": "^17.5.0",
"vite": "^8.0.9"
}
}