import { __decorate } from "tslib";
import { attr } from '@ni/fast-element';
import { DesignSystem, Tooltip as FoundationTooltip } from '@ni/fast-foundation';
import { styles } from './styles';
import { template } from './template';
/**
 * A nimble-styled tooltip control.
 */
export class Tooltip extends FoundationTooltip {
    constructor() {
        super(...arguments);
        this.iconVisible = false;
    }
}
__decorate([
    attr
], Tooltip.prototype, "severity", void 0);
__decorate([
    attr({ attribute: 'icon-visible', mode: 'boolean' })
], Tooltip.prototype, "iconVisible", void 0);
const nimbleTooltip = Tooltip.compose({
    baseName: 'tooltip',
    baseClass: FoundationTooltip,
    template,
    styles
});
DesignSystem.getOrCreate().withPrefix('nimble').register(nimbleTooltip());
export const tooltipTag = 'nimble-tooltip';
//# sourceMappingURL=index.js.map