Describe the solution you'd like
The code in outline-element.ts for the _conditionalSlotTemplate would probably be better as a controller we can use at will, and not include in every component we extend unless we want to. It is possible we also just add it AS a controller in outline-element so that every component still has it.
Reasoning
Eventually, we'd like to be able to individually package many of our controllers so that someone who isn't using the entire Outline package to utilize a handful of our very compelling controllers.
Describe the solution you'd like The code in
outline-element.ts
for the_conditionalSlotTemplate
would probably be better as a controller we can use at will, and not include in every component we extend unless we want to. It is possible we also just add it AS a controller inoutline-element
so that every component still has it.Find a way to make the code at https://github.com/phase2/outline/blob/next/src/components/base/outline-element/outline-element.ts#L18-L52 become a Reactive Controller.
Reasoning Eventually, we'd like to be able to individually package many of our controllers so that someone who isn't using the entire Outline package to utilize a handful of our very compelling controllers.