@tedi-design-system/angular 9.1.0-rc.1 → 9.1.0-rc.2
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.
|
@@ -24397,42 +24397,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImpo
|
|
|
24397
24397
|
}], ctorParameters: () => [], propDecorators: { tediPrint: [{ type: i0.Input, args: [{ isSignal: true, alias: "tediPrint", required: false }] }], breakBefore: [{ type: i0.Input, args: [{ isSignal: true, alias: "breakBefore", required: false }] }], breakAfter: [{ type: i0.Input, args: [{ isSignal: true, alias: "breakAfter", required: false }] }], breakInside: [{ type: i0.Input, args: [{ isSignal: true, alias: "breakInside", required: false }] }] } });
|
|
24398
24398
|
|
|
24399
24399
|
class VerticalSpacingItemDirective {
|
|
24400
|
-
el = inject(ElementRef);
|
|
24401
|
-
renderer = inject(Renderer2);
|
|
24402
24400
|
tediVerticalSpacingItem = input(0, ...(ngDevMode ? [{ debugName: "tediVerticalSpacingItem" }] : []));
|
|
24403
|
-
|
|
24404
|
-
this.renderer.addClass(this.el.nativeElement, "tedi-vertical-spacing__item");
|
|
24405
|
-
const spacingValue = `${this.tediVerticalSpacingItem()}em`;
|
|
24406
|
-
this.renderer.setAttribute(this.el.nativeElement, "style", `--vertical-spacing-internal: ${spacingValue}`);
|
|
24407
|
-
}
|
|
24401
|
+
spacingValue = computed(() => `${this.tediVerticalSpacingItem()}em`, ...(ngDevMode ? [{ debugName: "spacingValue" }] : []));
|
|
24408
24402
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: VerticalSpacingItemDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
24409
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.24", type: VerticalSpacingItemDirective, isStandalone: true, selector: "[tediVerticalSpacingItem]", inputs: { tediVerticalSpacingItem: { classPropertyName: "tediVerticalSpacingItem", publicName: "tediVerticalSpacingItem", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
24403
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.24", type: VerticalSpacingItemDirective, isStandalone: true, selector: "[tediVerticalSpacingItem]", inputs: { tediVerticalSpacingItem: { classPropertyName: "tediVerticalSpacingItem", publicName: "tediVerticalSpacingItem", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.--vertical-spacing-internal": "spacingValue()" }, classAttribute: "tedi-vertical-spacing__item" }, ngImport: i0 });
|
|
24410
24404
|
}
|
|
24411
24405
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: VerticalSpacingItemDirective, decorators: [{
|
|
24412
24406
|
type: Directive,
|
|
24413
24407
|
args: [{
|
|
24414
24408
|
selector: "[tediVerticalSpacingItem]",
|
|
24415
24409
|
standalone: true,
|
|
24410
|
+
host: {
|
|
24411
|
+
class: "tedi-vertical-spacing__item",
|
|
24412
|
+
"[style.--vertical-spacing-internal]": "spacingValue()",
|
|
24413
|
+
},
|
|
24416
24414
|
}]
|
|
24417
24415
|
}], propDecorators: { tediVerticalSpacingItem: [{ type: i0.Input, args: [{ isSignal: true, alias: "tediVerticalSpacingItem", required: false }] }] } });
|
|
24418
24416
|
|
|
24419
24417
|
class VerticalSpacingDirective {
|
|
24420
|
-
el = inject(ElementRef);
|
|
24421
|
-
renderer = inject(Renderer2);
|
|
24422
24418
|
tediVerticalSpacing = input(0, ...(ngDevMode ? [{ debugName: "tediVerticalSpacing" }] : []));
|
|
24423
|
-
|
|
24424
|
-
this.renderer.addClass(this.el.nativeElement, "tedi-vertical-spacing");
|
|
24425
|
-
const spacingValue = `${this.tediVerticalSpacing()}em`;
|
|
24426
|
-
this.renderer.setAttribute(this.el.nativeElement, "style", `--vertical-spacing-internal: ${spacingValue}`);
|
|
24427
|
-
}
|
|
24419
|
+
spacingValue = computed(() => `${this.tediVerticalSpacing()}em`, ...(ngDevMode ? [{ debugName: "spacingValue" }] : []));
|
|
24428
24420
|
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: VerticalSpacingDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
|
|
24429
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.24", type: VerticalSpacingDirective, isStandalone: true, selector: "[tediVerticalSpacing]", inputs: { tediVerticalSpacing: { classPropertyName: "tediVerticalSpacing", publicName: "tediVerticalSpacing", isSignal: true, isRequired: false, transformFunction: null } }, ngImport: i0 });
|
|
24421
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "17.1.0", version: "20.3.24", type: VerticalSpacingDirective, isStandalone: true, selector: "[tediVerticalSpacing]", inputs: { tediVerticalSpacing: { classPropertyName: "tediVerticalSpacing", publicName: "tediVerticalSpacing", isSignal: true, isRequired: false, transformFunction: null } }, host: { properties: { "style.--vertical-spacing-internal": "spacingValue()" }, classAttribute: "tedi-vertical-spacing" }, ngImport: i0 });
|
|
24430
24422
|
}
|
|
24431
24423
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.24", ngImport: i0, type: VerticalSpacingDirective, decorators: [{
|
|
24432
24424
|
type: Directive,
|
|
24433
24425
|
args: [{
|
|
24434
24426
|
selector: "[tediVerticalSpacing]",
|
|
24435
24427
|
standalone: true,
|
|
24428
|
+
host: {
|
|
24429
|
+
class: "tedi-vertical-spacing",
|
|
24430
|
+
"[style.--vertical-spacing-internal]": "spacingValue()",
|
|
24431
|
+
},
|
|
24436
24432
|
}]
|
|
24437
24433
|
}], propDecorators: { tediVerticalSpacing: [{ type: i0.Input, args: [{ isSignal: true, alias: "tediVerticalSpacing", required: false }] }] } });
|
|
24438
24434
|
|