Files
dashgui/package.json
seb 5f676ca43f feat: add FillSpace viewport-height spacer with repeating measureElement
Adds a reusable FillSpace component to dashgui that fills the remaining
viewport height between an aboveRef and optional belowRef, with a
scrollable middle section. Supports an optional measureElement that is
repeated top-to-bottom to fill the leftover space below children (rows
are rendered first, units fill height - contentHeight).

Includes mock page, docs wiring, and screenshot references.
2026-08-12 02:42:38 +02:00

50 lines
1.4 KiB
JSON

{
"name": "dashgui",
"version": "0.1.0",
"description": "Reusable custom GUI class components shared across dash* apps. Outsource target for dashfront's GUI primitives.",
"type": "module",
"main": "src/index.js",
"module": "src/index.js",
"exports": {
".": "./src/index.js",
"./panels": "./src/panels/index.js",
"./panels/panelTileLayout": "./src/panels/panelTileLayout.js",
"./lists": "./src/lists/index.js",
"./tiles": "./src/tiles/index.js",
"./ElevatedPill": "./src/ElevatedPill.jsx",
"./SingleLineTextEdit": "./src/SingleLineTextEdit.jsx",
"./FillSpace": "./src/FillSpace.jsx",
"./package.json": "./package.json"
},
"files": [
"src"
],
"scripts": {
"dev": "vite",
"build": "vite build",
"preview": "vite preview",
"lint": "eslint .",
"test:screenshots": "playwright test",
"test:screenshots:update": "playwright test --update-snapshots"
},
"peerDependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@mui/icons-material": "^9.0.0",
"@mui/material": "^9.0.0",
"react": "^19.0.0",
"react-dom": "^19.0.0"
},
"devDependencies": {
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.1",
"@mui/icons-material": "^9.3.1",
"@mui/material": "^9.3.1",
"@playwright/test": "^1.62.1",
"@vitejs/plugin-react": "6.0.5",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"vite": "^8.2.1"
}
}