import { elements, html, ref, slotted } from '@ni/fast-element';
import { overflow } from '../../utilities/directive/overflow';
// Avoiding a wrapping <template> and be careful about starting and ending whitespace
// so the template can be composed into other column header templates
export const template = html `<span
    ${overflow('hasOverflow')}
    class="header-content"
    title=${x => (x.hasOverflow && x.headerTextContent ? x.headerTextContent : null)}
>
    <slot ${ref('contentSlot')}></slot>
    <slot ${slotted({ property: 'unitElements', filter: elements() })} name="unit"></slot>
</span>`;
//# sourceMappingURL=template.js.map