Skip to content
ContractSpec
Start here

Package manual · platform

·Interfaces, presentations and design

lib.cockpit-kit-web

Web lane for cockpit primitives — re-exports cockpit-kit types with web-specific ui/ subpath convention

platformlibraryv2.0.4experimentalservernode
@lssm-tech/lib.cockpit-kit-web
bun add @lssm-tech/lib.cockpit-kit-web
Package source ↗Manifest ↗

Manifest declarations describe the current workspace; they do not verify registry publication or runtime execution.

Package guide

Web lane for cockpit UI primitives. Mirrors @lssm-tech/lib.ui-kit-web in structure.

Overview

cockpit-kit-web provides the web-specific surface for cockpit primitives, re-exporting type contracts from @lssm-tech/lib.cockpit-kit and (in Phase 1) adding React/DOM component implementations.

Subpath exports

ImportWhat you get
@lssm-tech/lib.cockpit-kit-webAll types + variants
@lssm-tech/lib.cockpit-kit-web/variantsDensity, Expansion + schema descriptors
@lssm-tech/lib.cockpit-kit-web/typesComponent prop interfaces

Phase 1 will add:

ImportWhat you get
@lssm-tech/lib.cockpit-kit-web/ui/CockpitFrameWeb CockpitFrame component
@lssm-tech/lib.cockpit-kit-web/ui/NavRailWeb NavRail component
@lssm-tech/lib.cockpit-kit-web/ui/GraphCanvasWeb GraphCanvas component
@lssm-tech/lib.cockpit-kit-web/ui/MetricPanelWeb MetricPanel component

Usage

ts
// Types (scaffold — Phase 1 adds implementations)
import type { CockpitFrameProps } from '@lssm-tech/lib.cockpit-kit-web';

// Canonical variants (owned by cockpit-kit, re-exported here)
import { Density, densityVariantSchema } from '@lssm-tech/lib.cockpit-kit-web/variants';

Dependency rules

  • cockpit-kit-web depends on cockpit-kit — not the reverse
  • Density and Expansion unions are owned by cockpit-kit; this package re-exports them
  • Do not add native/React Native code here

Relationships

THIS PACKAGElib.cockpit-kit-web31 import paths

Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.

5 declarations

Declared capabilities

Lib Cockpit Kit Web

Web lane for cockpit primitives — re-exports cockpit-kit types with web-specific ui/ subpath convention

Scripts

  • publish:pkgbun publish --tolerate-republish --ignore-scripts --verbose
  • publish:pkg:canarybun publish:pkg --tag canary
  • buildcontractspec-bun-build build
  • build:bundlecontractspec-bun-build transpile
  • build:typescontractspec-bun-build types
  • devcontractspec-bun-build dev
  • cleanrm -rf dist
  • lintbun run lint:fix
  • lint:fixnode ../../../../scripts/biome.cjs check --write --unsafe --only=nursery/useSortedClasses . && node ../../../../scripts/biome.cjs check --write .
  • lint:checknode ../../../../scripts/biome.cjs check .
  • testbun test --pass-with-no-tests
  • prebuildcontractspec-bun-build prebuild
  • typechecktsgo --noEmit