lib.cockpit-kit-web
Web lane for cockpit primitives — re-exports cockpit-kit types with web-specific ui/ subpath convention
@lssm-tech/lib.cockpit-kit-webbun add @lssm-tech/lib.cockpit-kit-webManifest 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
| Import | What you get |
|---|---|
@lssm-tech/lib.cockpit-kit-web | All types + variants |
@lssm-tech/lib.cockpit-kit-web/variants | Density, Expansion + schema descriptors |
@lssm-tech/lib.cockpit-kit-web/types | Component prop interfaces |
Phase 1 will add:
| Import | What you get |
|---|---|
@lssm-tech/lib.cockpit-kit-web/ui/CockpitFrame | Web CockpitFrame component |
@lssm-tech/lib.cockpit-kit-web/ui/NavRail | Web NavRail component |
@lssm-tech/lib.cockpit-kit-web/ui/GraphCanvas | Web GraphCanvas component |
@lssm-tech/lib.cockpit-kit-web/ui/MetricPanel | Web MetricPanel component |
Usage
// 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-webdepends oncockpit-kit— not the reverseDensityandExpansionunions are owned bycockpit-kit; this package re-exports them- Do not add native/React Native code here
Relationships
Arrows point from a package to its direct dependency. Counts are derived from captured workspace manifests.
5 declarations
@lssm-tech/lib.cockpit-kitworkspace:^
Read the package manual ↗@lssm-tech/lib.contracts-spec-coreworkspace:^
Read the package manual ↗@lssm-tech/lib.ui-kit-coreworkspace:^
Read the package manual ↗class-variance-authoritycatalog:ui
lucide-reactcatalog:ui
Declared capabilities
Web lane for cockpit primitives — re-exports cockpit-kit types with web-specific ui/ subpath convention
Scripts
publish:pkgbun publish --tolerate-republish --ignore-scripts --verbosepublish:pkg:canarybun publish:pkg --tag canarybuildcontractspec-bun-build buildbuild:bundlecontractspec-bun-build transpilebuild:typescontractspec-bun-build typesdevcontractspec-bun-build devcleanrm -rf distlintbun run lint:fixlint: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-testsprebuildcontractspec-bun-build prebuildtypechecktsgo --noEmit