Skip to content

Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

fix: packages that import @carbon/react typecheck NavSheet's ?inline CSS imports

aashud794ce22aec8
diff --git a/packages/react/src/NavSheet.tsx b/packages/react/src/NavSheet.tsx
index bd6f50bece..9da28dbf79 100644
--- a/packages/react/src/NavSheet.tsx
+++ b/packages/react/src/NavSheet.tsx
@@ -2,6 +2,10 @@
// Carbon (github.com/crbnos/carbon). Modified or adapted versions of this file,
// including ports, remain AGPLv3; serving them over a network requires releasing their source.
+/// <reference path="./css.d.ts" />
+// Packages that import @carbon/react typecheck this file in their own program,
+// where this package's css.d.ts is not included; the `?inline` imports need it.
+
"use client";
import type { ReactNode } from "react";