- QrCode (a QR on a light tile, optional caption; framed or not) in packages/ui, on its own subpath so only the apps that show one need qrcode.react (an optional peer); x-qr styles keep the code dark on light in dark themes - used by the terminal's customer display, the manager's online-ordering link, table QR codes and Settings' pairing QR (four copies of the same markup gone) - the money pad and the order line row stay where they are: the manager's payment is the phones' cash / card choice (no cash given, change or split) and its order lines are not the counter's cart lines, so neither has a second user; the signage slides keep their own QR (inline styles scaled to the TV) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
33 lines
778 B
JSON
33 lines
778 B
JSON
{
|
|
"name": "@xenia/ui",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"type": "module",
|
|
"description": "Design tokens (CSS variables), the Tailwind preset and base components (plan step 2.3).",
|
|
"main": "src/index.js",
|
|
"exports": {
|
|
".": "./src/index.js",
|
|
"./tokens.css": "./src/tokens.css",
|
|
"./styles.css": "./src/styles.css",
|
|
"./tailwind-preset": "./tailwind-preset.js",
|
|
"./gallery": "./gallery/Gallery.jsx",
|
|
"./qr": "./src/components/QrCode.jsx"
|
|
},
|
|
"sideEffects": [
|
|
"*.css"
|
|
],
|
|
"scripts": {
|
|
"test": "node --test \"tests/*.test.mjs\""
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^19.0.0",
|
|
"react-dom": "^19.0.0",
|
|
"qrcode.react": "^4.2.0"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"qrcode.react": {
|
|
"optional": true
|
|
}
|
|
}
|
|
}
|