@ceedcv-maya/shared-dashboard-react

v0.14.0

Published

Dashboard primitives for React: configurable widget grid (react-grid-layout), widget registry, persistence helpers.

Readme

@ceedcv-maya/shared-dashboard-react

Dashboard primitives for React: configurable widget grid (react-grid-layout), widget registry, persistence helpers.

Part of the ceedcv-maya/maya_platform mono-repo. Distributed independently for reuse outside the Maya ecosystem.

Installation

npm install @ceedcv-maya/shared-dashboard-react react-grid-layout
import { DashboardGrid, registerWidget } from '@ceedcv-maya/shared-dashboard-react'

registerWidget('weather', WeatherWidget)

export function Home() {
  return <DashboardGrid layout={savedLayout} onChange={persist} />
}

TypeScript / build notes

This package ships TypeScript source (src/index.ts as entry). Consumers using Vite or Webpack with ts-loader work out of the box. Next.js consumers must add this package to transpilePackages in next.config.js.

License

MIT — see LICENSE.

Reporting issues

The canonical source lives in Maya-AQSS/maya_platform. File issues there; this read-only split repo is only the published artifact.