Convenience module bundling the accordion panel + all of its slot directives.
Import this ONE symbol instead of listing the component and each directive
separately:
Why a module (not a bare const [...] array): Angular's AOT compiler can't
statically expand a value-array imported across a compiled-package boundary in
an imports array (NG1010), and as const makes it a readonly tuple the
imports type rejects (TS2322). An NgModule is always a valid imports entry
in both NgModule and standalone consumers. Adding a future accordion directive
here makes it available to every consumer automatically — no per-module churn.
Convenience module bundling the accordion panel + all of its slot directives. Import this ONE symbol instead of listing the component and each directive separately:
Why a module (not a bare
const [...]array): Angular's AOT compiler can't statically expand a value-array imported across a compiled-package boundary in animportsarray (NG1010), andas constmakes it a readonly tuple theimportstype rejects (TS2322). An NgModule is always a validimportsentry in both NgModule and standalone consumers. Adding a future accordion directive here makes it available to every consumer automatically — no per-module churn.