From 5a399700a8caaf0db646ee8fbcc394c35e281071 Mon Sep 17 00:00:00 2001 From: Dan Cormier Date: Tue, 24 Feb 2026 18:58:31 -0500 Subject: [PATCH] fix(expandable): expose expandable controller for legacy UI --- packages/stacks-classic/lib/components/expandable/expandable.ts | 1 + packages/stacks-classic/lib/controllers.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/packages/stacks-classic/lib/components/expandable/expandable.ts b/packages/stacks-classic/lib/components/expandable/expandable.ts index 611fb19168..6a8bbbdd1e 100644 --- a/packages/stacks-classic/lib/components/expandable/expandable.ts +++ b/packages/stacks-classic/lib/components/expandable/expandable.ts @@ -1,3 +1,4 @@ +// NOTE: This controller is deprecated and is only kept for backwards compatibility. It will be removed in a future version. import * as Stacks from "../../stacks"; // Radio buttons only trigger a change event when they're *checked*, but not when diff --git a/packages/stacks-classic/lib/controllers.ts b/packages/stacks-classic/lib/controllers.ts index 93fa1116dc..ca8fd670cd 100644 --- a/packages/stacks-classic/lib/controllers.ts +++ b/packages/stacks-classic/lib/controllers.ts @@ -4,6 +4,8 @@ export { hideBanner, showBanner, } from "./components/banner/banner"; +// NOTE: The ExpandableController is deprecated and is only kept for backwards compatibility. It will be removed in a future version. +export { ExpandableController } from "./components/expandable/expandable"; export { ModalController, hideModal,