@progress/kendo-angular-label 13.0.0-develop.1 → 13.0.0-develop.10
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.
- package/esm2020/label/label.component.mjs +14 -4
- package/esm2020/label.directive.mjs +8 -1
- package/esm2020/package-metadata.mjs +2 -2
- package/fesm2015/progress-kendo-angular-label.mjs +24 -7
- package/fesm2020/progress-kendo-angular-label.mjs +24 -7
- package/label/label.component.d.ts +11 -1
- package/label.directive.d.ts +6 -1
- package/package.json +5 -5
|
@@ -95,7 +95,7 @@ export class LabelComponent {
|
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
97
|
LabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LabelComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
98
|
-
LabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: LabelComponent, selector: "kendo-label", inputs: { text: "text", for: "for", optional: "optional" }, host: { properties: { "attr.dir": "this.direction" } }, providers: [
|
|
98
|
+
LabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: LabelComponent, selector: "kendo-label", inputs: { text: "text", for: "for", optional: "optional", labelCssStyle: "labelCssStyle", labelCssClass: "labelCssClass" }, host: { properties: { "attr.dir": "this.direction" } }, providers: [
|
|
99
99
|
LocalizationService,
|
|
100
100
|
{
|
|
101
101
|
provide: L10N_PREFIX,
|
|
@@ -109,11 +109,14 @@ LabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version
|
|
|
109
109
|
</ng-container>
|
|
110
110
|
<label
|
|
111
111
|
[for]="control"
|
|
112
|
-
[class.k-label-empty]="!text"
|
|
112
|
+
[class.k-label-empty]="!text"
|
|
113
|
+
[ngClass]="labelCssClass"
|
|
114
|
+
[ngStyle]="labelCssStyle"
|
|
115
|
+
>
|
|
113
116
|
{{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor('optional')}})</span>
|
|
114
117
|
</label>
|
|
115
118
|
<ng-content></ng-content>
|
|
116
|
-
`, isInline: true, directives: [{ type: i2.LocalizedMessagesDirective, selector: "\n [kendoLabelLocalizedMessages],\n [kendoFloatingLabelLocalizedMessages]\n " }, { type: i3.LabelDirective, selector: "label[for]", inputs: ["for"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
119
|
+
`, isInline: true, directives: [{ type: i2.LocalizedMessagesDirective, selector: "\n [kendoLabelLocalizedMessages],\n [kendoFloatingLabelLocalizedMessages]\n " }, { type: i3.LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }, { type: i4.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i4.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i4.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
117
120
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LabelComponent, decorators: [{
|
|
118
121
|
type: Component,
|
|
119
122
|
args: [{
|
|
@@ -134,7 +137,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
134
137
|
</ng-container>
|
|
135
138
|
<label
|
|
136
139
|
[for]="control"
|
|
137
|
-
[class.k-label-empty]="!text"
|
|
140
|
+
[class.k-label-empty]="!text"
|
|
141
|
+
[ngClass]="labelCssClass"
|
|
142
|
+
[ngStyle]="labelCssStyle"
|
|
143
|
+
>
|
|
138
144
|
{{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor('optional')}})</span>
|
|
139
145
|
</label>
|
|
140
146
|
<ng-content></ng-content>
|
|
@@ -149,6 +155,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
149
155
|
type: Input
|
|
150
156
|
}], optional: [{
|
|
151
157
|
type: Input
|
|
158
|
+
}], labelCssStyle: [{
|
|
159
|
+
type: Input
|
|
160
|
+
}], labelCssClass: [{
|
|
161
|
+
type: Input
|
|
152
162
|
}], labelDirective: [{
|
|
153
163
|
type: ViewChild,
|
|
154
164
|
args: [LabelDirective, { static: true }]
|
|
@@ -42,6 +42,11 @@ export class LabelDirective {
|
|
|
42
42
|
this.label = label;
|
|
43
43
|
this.renderer = renderer;
|
|
44
44
|
this.zone = zone;
|
|
45
|
+
/**
|
|
46
|
+
* @hidden
|
|
47
|
+
*
|
|
48
|
+
* Allows the user to specify if the label CSS class should be rendered or not.
|
|
49
|
+
*/
|
|
45
50
|
this.labelClass = true;
|
|
46
51
|
this.handleClick = () => {
|
|
47
52
|
const component = this.getFocusableComponent();
|
|
@@ -120,7 +125,7 @@ export class LabelDirective {
|
|
|
120
125
|
}
|
|
121
126
|
}
|
|
122
127
|
LabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LabelDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
123
|
-
LabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: LabelDirective, selector: "label[for]", inputs: { for: "for" }, host: { properties: { "attr.for": "this.labelFor", "class.k-label": "this.labelClass" } }, ngImport: i0 });
|
|
128
|
+
LabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: LabelDirective, selector: "label[for]", inputs: { for: "for", labelClass: "labelClass" }, host: { properties: { "attr.for": "this.labelFor", "class.k-label": "this.labelClass" } }, ngImport: i0 });
|
|
124
129
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LabelDirective, decorators: [{
|
|
125
130
|
type: Directive,
|
|
126
131
|
args: [{
|
|
@@ -133,6 +138,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
133
138
|
type: HostBinding,
|
|
134
139
|
args: ['attr.for']
|
|
135
140
|
}], labelClass: [{
|
|
141
|
+
type: Input
|
|
142
|
+
}, {
|
|
136
143
|
type: HostBinding,
|
|
137
144
|
args: ['class.k-label']
|
|
138
145
|
}] } });
|
|
@@ -9,7 +9,7 @@ export const packageMetadata = {
|
|
|
9
9
|
name: '@progress/kendo-angular-label',
|
|
10
10
|
productName: 'Kendo UI for Angular',
|
|
11
11
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
12
|
-
publishDate:
|
|
13
|
-
version: '13.0.0-develop.
|
|
12
|
+
publishDate: 1685119659,
|
|
13
|
+
version: '13.0.0-develop.10',
|
|
14
14
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
15
15
|
};
|
|
@@ -75,6 +75,11 @@ class LabelDirective {
|
|
|
75
75
|
this.label = label;
|
|
76
76
|
this.renderer = renderer;
|
|
77
77
|
this.zone = zone;
|
|
78
|
+
/**
|
|
79
|
+
* @hidden
|
|
80
|
+
*
|
|
81
|
+
* Allows the user to specify if the label CSS class should be rendered or not.
|
|
82
|
+
*/
|
|
78
83
|
this.labelClass = true;
|
|
79
84
|
this.handleClick = () => {
|
|
80
85
|
const component = this.getFocusableComponent();
|
|
@@ -153,7 +158,7 @@ class LabelDirective {
|
|
|
153
158
|
}
|
|
154
159
|
}
|
|
155
160
|
LabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LabelDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
156
|
-
LabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: LabelDirective, selector: "label[for]", inputs: { for: "for" }, host: { properties: { "attr.for": "this.labelFor", "class.k-label": "this.labelClass" } }, ngImport: i0 });
|
|
161
|
+
LabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: LabelDirective, selector: "label[for]", inputs: { for: "for", labelClass: "labelClass" }, host: { properties: { "attr.for": "this.labelFor", "class.k-label": "this.labelClass" } }, ngImport: i0 });
|
|
157
162
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LabelDirective, decorators: [{
|
|
158
163
|
type: Directive,
|
|
159
164
|
args: [{
|
|
@@ -166,6 +171,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
166
171
|
type: HostBinding,
|
|
167
172
|
args: ['attr.for']
|
|
168
173
|
}], labelClass: [{
|
|
174
|
+
type: Input
|
|
175
|
+
}, {
|
|
169
176
|
type: HostBinding,
|
|
170
177
|
args: ['class.k-label']
|
|
171
178
|
}] } });
|
|
@@ -282,8 +289,8 @@ const packageMetadata = {
|
|
|
282
289
|
name: '@progress/kendo-angular-label',
|
|
283
290
|
productName: 'Kendo UI for Angular',
|
|
284
291
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
285
|
-
publishDate:
|
|
286
|
-
version: '13.0.0-develop.
|
|
292
|
+
publishDate: 1685119659,
|
|
293
|
+
version: '13.0.0-develop.10',
|
|
287
294
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
288
295
|
};
|
|
289
296
|
|
|
@@ -749,7 +756,7 @@ class LabelComponent {
|
|
|
749
756
|
}
|
|
750
757
|
}
|
|
751
758
|
LabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LabelComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
752
|
-
LabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: LabelComponent, selector: "kendo-label", inputs: { text: "text", for: "for", optional: "optional" }, host: { properties: { "attr.dir": "this.direction" } }, providers: [
|
|
759
|
+
LabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: LabelComponent, selector: "kendo-label", inputs: { text: "text", for: "for", optional: "optional", labelCssStyle: "labelCssStyle", labelCssClass: "labelCssClass" }, host: { properties: { "attr.dir": "this.direction" } }, providers: [
|
|
753
760
|
LocalizationService,
|
|
754
761
|
{
|
|
755
762
|
provide: L10N_PREFIX,
|
|
@@ -763,11 +770,14 @@ LabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version
|
|
|
763
770
|
</ng-container>
|
|
764
771
|
<label
|
|
765
772
|
[for]="control"
|
|
766
|
-
[class.k-label-empty]="!text"
|
|
773
|
+
[class.k-label-empty]="!text"
|
|
774
|
+
[ngClass]="labelCssClass"
|
|
775
|
+
[ngStyle]="labelCssStyle"
|
|
776
|
+
>
|
|
767
777
|
{{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor('optional')}})</span>
|
|
768
778
|
</label>
|
|
769
779
|
<ng-content></ng-content>
|
|
770
|
-
`, isInline: true, directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoLabelLocalizedMessages],\n [kendoFloatingLabelLocalizedMessages]\n " }, { type: LabelDirective, selector: "label[for]", inputs: ["for"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
780
|
+
`, isInline: true, directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoLabelLocalizedMessages],\n [kendoFloatingLabelLocalizedMessages]\n " }, { type: LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
771
781
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LabelComponent, decorators: [{
|
|
772
782
|
type: Component,
|
|
773
783
|
args: [{
|
|
@@ -788,7 +798,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
788
798
|
</ng-container>
|
|
789
799
|
<label
|
|
790
800
|
[for]="control"
|
|
791
|
-
[class.k-label-empty]="!text"
|
|
801
|
+
[class.k-label-empty]="!text"
|
|
802
|
+
[ngClass]="labelCssClass"
|
|
803
|
+
[ngStyle]="labelCssStyle"
|
|
804
|
+
>
|
|
792
805
|
{{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor('optional')}})</span>
|
|
793
806
|
</label>
|
|
794
807
|
<ng-content></ng-content>
|
|
@@ -803,6 +816,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
803
816
|
type: Input
|
|
804
817
|
}], optional: [{
|
|
805
818
|
type: Input
|
|
819
|
+
}], labelCssStyle: [{
|
|
820
|
+
type: Input
|
|
821
|
+
}], labelCssClass: [{
|
|
822
|
+
type: Input
|
|
806
823
|
}], labelDirective: [{
|
|
807
824
|
type: ViewChild,
|
|
808
825
|
args: [LabelDirective, { static: true }]
|
|
@@ -75,6 +75,11 @@ class LabelDirective {
|
|
|
75
75
|
this.label = label;
|
|
76
76
|
this.renderer = renderer;
|
|
77
77
|
this.zone = zone;
|
|
78
|
+
/**
|
|
79
|
+
* @hidden
|
|
80
|
+
*
|
|
81
|
+
* Allows the user to specify if the label CSS class should be rendered or not.
|
|
82
|
+
*/
|
|
78
83
|
this.labelClass = true;
|
|
79
84
|
this.handleClick = () => {
|
|
80
85
|
const component = this.getFocusableComponent();
|
|
@@ -153,7 +158,7 @@ class LabelDirective {
|
|
|
153
158
|
}
|
|
154
159
|
}
|
|
155
160
|
LabelDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LabelDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Directive });
|
|
156
|
-
LabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: LabelDirective, selector: "label[for]", inputs: { for: "for" }, host: { properties: { "attr.for": "this.labelFor", "class.k-label": "this.labelClass" } }, ngImport: i0 });
|
|
161
|
+
LabelDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.3.12", type: LabelDirective, selector: "label[for]", inputs: { for: "for", labelClass: "labelClass" }, host: { properties: { "attr.for": "this.labelFor", "class.k-label": "this.labelClass" } }, ngImport: i0 });
|
|
157
162
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LabelDirective, decorators: [{
|
|
158
163
|
type: Directive,
|
|
159
164
|
args: [{
|
|
@@ -166,6 +171,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
166
171
|
type: HostBinding,
|
|
167
172
|
args: ['attr.for']
|
|
168
173
|
}], labelClass: [{
|
|
174
|
+
type: Input
|
|
175
|
+
}, {
|
|
169
176
|
type: HostBinding,
|
|
170
177
|
args: ['class.k-label']
|
|
171
178
|
}] } });
|
|
@@ -282,8 +289,8 @@ const packageMetadata = {
|
|
|
282
289
|
name: '@progress/kendo-angular-label',
|
|
283
290
|
productName: 'Kendo UI for Angular',
|
|
284
291
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
285
|
-
publishDate:
|
|
286
|
-
version: '13.0.0-develop.
|
|
292
|
+
publishDate: 1685119659,
|
|
293
|
+
version: '13.0.0-develop.10',
|
|
287
294
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
288
295
|
};
|
|
289
296
|
|
|
@@ -749,7 +756,7 @@ class LabelComponent {
|
|
|
749
756
|
}
|
|
750
757
|
}
|
|
751
758
|
LabelComponent.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LabelComponent, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }, { token: i1.LocalizationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
752
|
-
LabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: LabelComponent, selector: "kendo-label", inputs: { text: "text", for: "for", optional: "optional" }, host: { properties: { "attr.dir": "this.direction" } }, providers: [
|
|
759
|
+
LabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.3.12", type: LabelComponent, selector: "kendo-label", inputs: { text: "text", for: "for", optional: "optional", labelCssStyle: "labelCssStyle", labelCssClass: "labelCssClass" }, host: { properties: { "attr.dir": "this.direction" } }, providers: [
|
|
753
760
|
LocalizationService,
|
|
754
761
|
{
|
|
755
762
|
provide: L10N_PREFIX,
|
|
@@ -763,11 +770,14 @@ LabelComponent.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version
|
|
|
763
770
|
</ng-container>
|
|
764
771
|
<label
|
|
765
772
|
[for]="control"
|
|
766
|
-
[class.k-label-empty]="!text"
|
|
773
|
+
[class.k-label-empty]="!text"
|
|
774
|
+
[ngClass]="labelCssClass"
|
|
775
|
+
[ngStyle]="labelCssStyle"
|
|
776
|
+
>
|
|
767
777
|
{{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor('optional')}})</span>
|
|
768
778
|
</label>
|
|
769
779
|
<ng-content></ng-content>
|
|
770
|
-
`, isInline: true, directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoLabelLocalizedMessages],\n [kendoFloatingLabelLocalizedMessages]\n " }, { type: LabelDirective, selector: "label[for]", inputs: ["for"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
780
|
+
`, isInline: true, directives: [{ type: LocalizedMessagesDirective, selector: "\n [kendoLabelLocalizedMessages],\n [kendoFloatingLabelLocalizedMessages]\n " }, { type: LabelDirective, selector: "label[for]", inputs: ["for", "labelClass"] }, { type: i3.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { type: i3.NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }] });
|
|
771
781
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImport: i0, type: LabelComponent, decorators: [{
|
|
772
782
|
type: Component,
|
|
773
783
|
args: [{
|
|
@@ -788,7 +798,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
788
798
|
</ng-container>
|
|
789
799
|
<label
|
|
790
800
|
[for]="control"
|
|
791
|
-
[class.k-label-empty]="!text"
|
|
801
|
+
[class.k-label-empty]="!text"
|
|
802
|
+
[ngClass]="labelCssClass"
|
|
803
|
+
[ngStyle]="labelCssStyle"
|
|
804
|
+
>
|
|
792
805
|
{{ text }}<span *ngIf="optional" class="k-label-optional">({{textFor('optional')}})</span>
|
|
793
806
|
</label>
|
|
794
807
|
<ng-content></ng-content>
|
|
@@ -803,6 +816,10 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.3.12", ngImpo
|
|
|
803
816
|
type: Input
|
|
804
817
|
}], optional: [{
|
|
805
818
|
type: Input
|
|
819
|
+
}], labelCssStyle: [{
|
|
820
|
+
type: Input
|
|
821
|
+
}], labelCssClass: [{
|
|
822
|
+
type: Input
|
|
806
823
|
}], labelDirective: [{
|
|
807
824
|
type: ViewChild,
|
|
808
825
|
args: [LabelDirective, { static: true }]
|
|
@@ -51,6 +51,16 @@ export declare class LabelComponent implements AfterContentInit {
|
|
|
51
51
|
* The default value is `false`.
|
|
52
52
|
*/
|
|
53
53
|
optional: boolean;
|
|
54
|
+
/**
|
|
55
|
+
* Sets the CSS Styles that will be rendered on the actual label element.
|
|
56
|
+
* Supports the type of values that are supported by [ngStyle](link:site.data.urls.angular['ngstyleapi']) directive.
|
|
57
|
+
*/
|
|
58
|
+
labelCssStyle: any;
|
|
59
|
+
/**
|
|
60
|
+
* Sets the CSS Classes that will be rendered on the actual label element.
|
|
61
|
+
* Supports the type of values that are supported by [ngClass](link:site.data.urls.angular['ngclassapi']) directive.
|
|
62
|
+
*/
|
|
63
|
+
labelCssClass: any;
|
|
54
64
|
labelDirective: LabelDirective;
|
|
55
65
|
kendoInput: any;
|
|
56
66
|
/**
|
|
@@ -82,5 +92,5 @@ export declare class LabelComponent implements AfterContentInit {
|
|
|
82
92
|
*/
|
|
83
93
|
textFor(key: string): string;
|
|
84
94
|
static ɵfac: i0.ɵɵFactoryDeclaration<LabelComponent, never>;
|
|
85
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<LabelComponent, "kendo-label", ["kendoLabel"], { "text": "text"; "for": "for"; "optional": "optional"; }, {}, ["kendoInput"], ["*"]>;
|
|
95
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LabelComponent, "kendo-label", ["kendoLabel"], { "text": "text"; "for": "for"; "optional": "optional"; "labelCssStyle": "labelCssStyle"; "labelCssClass": "labelCssClass"; }, {}, ["kendoInput"], ["*"]>;
|
|
86
96
|
}
|
package/label.directive.d.ts
CHANGED
|
@@ -48,6 +48,11 @@ export declare class LabelDirective {
|
|
|
48
48
|
focus: Function;
|
|
49
49
|
};
|
|
50
50
|
get labelFor(): string;
|
|
51
|
+
/**
|
|
52
|
+
* @hidden
|
|
53
|
+
*
|
|
54
|
+
* Allows the user to specify if the label CSS class should be rendered or not.
|
|
55
|
+
*/
|
|
51
56
|
labelClass: boolean;
|
|
52
57
|
private clickListener;
|
|
53
58
|
constructor(label: ElementRef<HTMLLabelElement>, renderer: Renderer2, zone: NgZone);
|
|
@@ -66,5 +71,5 @@ export declare class LabelDirective {
|
|
|
66
71
|
private getFocusableComponent;
|
|
67
72
|
private handleClick;
|
|
68
73
|
static ɵfac: i0.ɵɵFactoryDeclaration<LabelDirective, never>;
|
|
69
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<LabelDirective, "label[for]", never, { "for": "for"; }, {}, never>;
|
|
74
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<LabelDirective, "label[for]", never, { "for": "for"; "labelClass": "labelClass"; }, {}, never>;
|
|
70
75
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-angular-label",
|
|
3
|
-
"version": "13.0.0-develop.
|
|
3
|
+
"version": "13.0.0-develop.10",
|
|
4
4
|
"description": "Kendo UI Label for Angular",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"author": "Progress",
|
|
@@ -23,14 +23,14 @@
|
|
|
23
23
|
"@angular/core": "13 - 16",
|
|
24
24
|
"@angular/platform-browser": "13 - 16",
|
|
25
25
|
"@progress/kendo-licensing": "^1.0.2",
|
|
26
|
-
"@progress/kendo-angular-common": "13.0.0-develop.
|
|
27
|
-
"@progress/kendo-angular-l10n": "13.0.0-develop.
|
|
26
|
+
"@progress/kendo-angular-common": "13.0.0-develop.10",
|
|
27
|
+
"@progress/kendo-angular-l10n": "13.0.0-develop.10",
|
|
28
28
|
"rxjs": "^6.5.3 || ^7.0.0",
|
|
29
|
-
"@progress/kendo-angular-inputs": "13.0.0-develop.
|
|
29
|
+
"@progress/kendo-angular-inputs": "13.0.0-develop.10"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
32
|
"tslib": "^2.3.1",
|
|
33
|
-
"@progress/kendo-angular-schematics": "13.0.0-develop.
|
|
33
|
+
"@progress/kendo-angular-schematics": "13.0.0-develop.10"
|
|
34
34
|
},
|
|
35
35
|
"schematics": "./schematics/collection.json",
|
|
36
36
|
"module": "fesm2015/progress-kendo-angular-label.mjs",
|