@tedi-design-system/angular 5.0.1-rc.6 → 5.0.1-rc.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -3368,19 +3368,18 @@ class LabelComponent {
|
|
|
3368
3368
|
if (this.size() === "small") {
|
|
3369
3369
|
classList.push("tedi-label--small");
|
|
3370
3370
|
}
|
|
3371
|
-
if (this.required()) {
|
|
3372
|
-
classList.push("tedi-label--required");
|
|
3373
|
-
}
|
|
3374
3371
|
return classList.join(" ");
|
|
3375
3372
|
});
|
|
3376
3373
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: LabelComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
3377
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.
|
|
3374
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "19.2.15", type: LabelComponent, isStandalone: true, selector: "label[tedi-label]", inputs: { size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null }, required: { classPropertyName: "required", publicName: "required", isSignal: true, isRequired: false, transformFunction: null }, color: { classPropertyName: "color", publicName: "color", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "class": "classes()" } }, ngImport: i0, template: "<ng-content />\n@if (required()) {\n <span class=\"tedi-label--required\" aria-hidden=\"true\">*</span>\n <span class=\"sr-only\">, {{ 'required' | tediTranslate }}</span>\n}\n", styles: [".tedi-label{font-size:var(--body-regular-size);font-family:var(--family-default)}.tedi-label--small{font-size:var(--body-small-regular-size)}.tedi-label--required{color:var(--form-general-feedback-error-border);margin-left:var(--content-label-inner-spacing-x)}.tedi-label--primary{color:var(--general-text-primary)}.tedi-label--secondary{color:var(--general-text-secondary)}.tedi-label:has(input[disabled]),.tedi-label[for]:has(+input[disabled]){color:var(--general-text-disabled)}\n"], dependencies: [{ kind: "pipe", type: TediTranslationPipe, name: "tediTranslate" }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None });
|
|
3378
3375
|
}
|
|
3379
3376
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.15", ngImport: i0, type: LabelComponent, decorators: [{
|
|
3380
3377
|
type: Component,
|
|
3381
|
-
args: [{ selector: "label[tedi-label]",
|
|
3378
|
+
args: [{ selector: "label[tedi-label]", standalone: true, encapsulation: ViewEncapsulation.None, changeDetection: ChangeDetectionStrategy.OnPush, imports: [
|
|
3379
|
+
TediTranslationPipe
|
|
3380
|
+
], host: {
|
|
3382
3381
|
"[class]": "classes()",
|
|
3383
|
-
}, styles: [".tedi-label{font-size:var(--body-regular-size);font-family:var(--family-default)}.tedi-label--small{font-size:var(--body-small-regular-size)}.tedi-label--required
|
|
3382
|
+
}, template: "<ng-content />\n@if (required()) {\n <span class=\"tedi-label--required\" aria-hidden=\"true\">*</span>\n <span class=\"sr-only\">, {{ 'required' | tediTranslate }}</span>\n}\n", styles: [".tedi-label{font-size:var(--body-regular-size);font-family:var(--family-default)}.tedi-label--small{font-size:var(--body-small-regular-size)}.tedi-label--required{color:var(--form-general-feedback-error-border);margin-left:var(--content-label-inner-spacing-x)}.tedi-label--primary{color:var(--general-text-primary)}.tedi-label--secondary{color:var(--general-text-secondary)}.tedi-label:has(input[disabled]),.tedi-label[for]:has(+input[disabled]){color:var(--general-text-disabled)}\n"] }]
|
|
3384
3383
|
}] });
|
|
3385
3384
|
|
|
3386
3385
|
class NumberFieldComponent {
|