UNPKG

@blackbaud/skyux

Version:
20 lines 1.04 kB
import { Component, Input } from '@angular/core'; var SkyLabelComponent = (function () { function SkyLabelComponent() { } return SkyLabelComponent; }()); export { SkyLabelComponent }; SkyLabelComponent.decorators = [ { type: Component, args: [{ selector: 'sky-label', template: "<span class=\"sky-label\" [ngClass]=\"labelType ? 'sky-label-' + labelType : 'sky-label-info'\">\n <ng-content></ng-content>\n</span>\n", styles: [".sky-label{color:#282b31;display:inline;border-radius:10rem;font-weight:400;line-height:2.2;margin:0 3px;padding:.3em .6em .3em .6em;white-space:nowrap}.sky-label-success{background-color:#b7da9b}.sky-label-info{background-color:#81d4f7}.sky-label-warning{background-color:#ffd597}.sky-label-danger{background-color:#f7a08f}\n"] },] }, ]; /** @nocollapse */ SkyLabelComponent.ctorParameters = function () { return []; }; SkyLabelComponent.propDecorators = { 'labelType': [{ type: Input },], }; //# sourceMappingURL=label.component.js.map