@progress/kendo-angular-inputs 8.0.1 → 8.0.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.
- package/dist/cdn/js/kendo-angular-inputs.js +1 -1
- package/dist/cdn/main.js +1 -1
- package/dist/es/colorpicker/color-input.component.js +1 -1
- package/dist/es/colorpicker/colorpicker.component.js +12 -10
- package/dist/es/colorpicker/flatcolorpicker-actions.component.js +1 -1
- package/dist/es/colorpicker/flatcolorpicker-header.component.js +1 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/textarea/textarea-suffix.component.js +1 -1
- package/dist/es/textarea/textarea.component.js +17 -3
- package/dist/es2015/colorpicker/color-input.component.js +1 -0
- package/dist/es2015/colorpicker/colorpicker.component.d.ts +0 -4
- package/dist/es2015/colorpicker/colorpicker.component.js +12 -11
- package/dist/es2015/colorpicker/flatcolorpicker-actions.component.js +2 -0
- package/dist/es2015/colorpicker/flatcolorpicker-header.component.js +2 -0
- package/dist/es2015/index.metadata.json +1 -1
- package/dist/es2015/package-metadata.js +1 -1
- package/dist/es2015/textarea/textarea-suffix.component.js +1 -1
- package/dist/es2015/textarea/textarea.component.d.ts +1 -0
- package/dist/es2015/textarea/textarea.component.js +18 -7
- package/dist/fesm2015/index.js +37 -20
- package/dist/fesm5/index.js +34 -18
- package/dist/npm/colorpicker/color-input.component.js +1 -1
- package/dist/npm/colorpicker/colorpicker.component.js +12 -10
- package/dist/npm/colorpicker/flatcolorpicker-actions.component.js +1 -1
- package/dist/npm/colorpicker/flatcolorpicker-header.component.js +1 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/textarea/textarea-suffix.component.js +1 -1
- package/dist/npm/textarea/textarea.component.js +17 -3
- package/dist/systemjs/kendo-angular-inputs.js +1 -1
- package/package.json +1 -1
|
@@ -87,7 +87,7 @@ var FlatColorPickerHeaderComponent = /** @class */ (function () {
|
|
|
87
87
|
FlatColorPickerHeaderComponent = tslib_1.__decorate([
|
|
88
88
|
core_1.Component({
|
|
89
89
|
selector: '[kendoFlatColorPickerHeader]',
|
|
90
|
-
template: "\n <div class=\"k-coloreditor-header-actions k-hstack\">\n <div *ngIf=\"viewButtons\" class=\"k-button-group k-button-group-flat\">\n <button *ngFor=\"let view of views\"\n #viewButtons\n (click)=\"onViewButtonClick(view)\"\n class=\"k-button k-button-md k-button-flat k-button-flat-base k-icon-button\"\n [attr.title]=\"getText(view === 'gradient' ? 'gradientView' : 'paletteView')\"\n [attr.aria-label]=\"getText(view === 'gradient' ? 'gradientView' : 'paletteView')\"\n [attr.aria-pressed]=\"activeView === view\"\n [ngClass]=\"activeView === view ? 'k-state-selected' : ''\"\n >\n <span\n class=\"k-button-icon k-icon\"\n [ngClass]=\"getViewButtonIcon(view)\">\n </span>\n </button>\n </div>\n </div>\n <div class=\"k-spacer\"></div>\n <div class=\"k-coloreditor-header-actions k-hstack\">\n <button *ngIf=\"clearButton\"\n #clearButton\n class=\"k-button k-button-md k-button-flat k-button-flat-base k-icon-button k-coloreditor-reset\"\n [attr.aria-label]=\"getText('clearButton')\"\n [attr.title]=\"getText('clearButton')\"\n (click)=\"clearButtonClick.emit()\">\n <span class=\"k-button-icon k-icon k-i-reset-color\"></span>\n </button>\n <div class=\"k-coloreditor-preview k-vstack\" *ngIf=\"preview\">\n <span\n class=\"k-coloreditor-preview-color k-color-preview\"\n [attr.title]=\"getText('previewColor')\"\n [style.background-color]=\"selection\">\n </span>\n <span class=\"k-coloreditor-current-color k-color-preview\"\n [style.background-color]=\"value\"\n [attr.title]=\"getText('revertSelection')\"\n (click)=\"valuePaneClick.emit($event)\">\n </span>\n </div>\n </div>\n "
|
|
90
|
+
template: "\n <div class=\"k-coloreditor-header-actions k-hstack\">\n <div *ngIf=\"viewButtons\" class=\"k-button-group k-button-group-flat\">\n <button *ngFor=\"let view of views\"\n #viewButtons\n type=\"button\"\n (click)=\"onViewButtonClick(view)\"\n class=\"k-button k-button-md k-button-flat k-button-flat-base k-icon-button\"\n [attr.title]=\"getText(view === 'gradient' ? 'gradientView' : 'paletteView')\"\n [attr.aria-label]=\"getText(view === 'gradient' ? 'gradientView' : 'paletteView')\"\n [attr.aria-pressed]=\"activeView === view\"\n [ngClass]=\"activeView === view ? 'k-state-selected' : ''\"\n >\n <span\n class=\"k-button-icon k-icon\"\n [ngClass]=\"getViewButtonIcon(view)\">\n </span>\n </button>\n </div>\n </div>\n <div class=\"k-spacer\"></div>\n <div class=\"k-coloreditor-header-actions k-hstack\">\n <button *ngIf=\"clearButton\"\n #clearButton\n type=\"button\"\n class=\"k-button k-button-md k-button-flat k-button-flat-base k-icon-button k-coloreditor-reset\"\n [attr.aria-label]=\"getText('clearButton')\"\n [attr.title]=\"getText('clearButton')\"\n (click)=\"clearButtonClick.emit()\">\n <span class=\"k-button-icon k-icon k-i-reset-color\"></span>\n </button>\n <div class=\"k-coloreditor-preview k-vstack\" *ngIf=\"preview\">\n <span\n class=\"k-coloreditor-preview-color k-color-preview\"\n [attr.title]=\"getText('previewColor')\"\n [style.background-color]=\"selection\">\n </span>\n <span class=\"k-coloreditor-current-color k-color-preview\"\n [style.background-color]=\"value\"\n [attr.title]=\"getText('revertSelection')\"\n (click)=\"valuePaneClick.emit($event)\">\n </span>\n </div>\n </div>\n "
|
|
91
91
|
}),
|
|
92
92
|
tslib_1.__metadata("design:paramtypes", [kendo_angular_l10n_1.LocalizationService])
|
|
93
93
|
], FlatColorPickerHeaderComponent);
|
|
@@ -11,7 +11,7 @@ exports.packageMetadata = {
|
|
|
11
11
|
name: '@progress/kendo-angular-inputs',
|
|
12
12
|
productName: 'Kendo UI for Angular',
|
|
13
13
|
productCodes: ['KENDOUIANGULAR', 'KENDOUICOMPLETE'],
|
|
14
|
-
publishDate:
|
|
14
|
+
publishDate: 1643126640,
|
|
15
15
|
version: '',
|
|
16
16
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/?utm_medium=product&utm_source=kendoangular&utm_campaign=kendo-ui-angular-purchase-license-keys-warning'
|
|
17
17
|
};
|
|
@@ -28,7 +28,7 @@ var TextAreaSuffixComponent = /** @class */ (function () {
|
|
|
28
28
|
this.hostClass = true;
|
|
29
29
|
}
|
|
30
30
|
tslib_1.__decorate([
|
|
31
|
-
core_1.HostBinding('class.k-
|
|
31
|
+
core_1.HostBinding('class.k-input-suffix'),
|
|
32
32
|
tslib_1.__metadata("design:type", Boolean)
|
|
33
33
|
], TextAreaSuffixComponent.prototype, "hostClass", void 0);
|
|
34
34
|
TextAreaSuffixComponent = tslib_1.__decorate([
|
|
@@ -297,6 +297,7 @@ var TextAreaComponent = /** @class */ (function (_super) {
|
|
|
297
297
|
tabbing = false;
|
|
298
298
|
}
|
|
299
299
|
}));
|
|
300
|
+
_this.handleFlow();
|
|
300
301
|
});
|
|
301
302
|
var stylingInputs = ['size', 'rounded', 'fillMode'];
|
|
302
303
|
stylingInputs.forEach(function (input) {
|
|
@@ -322,6 +323,9 @@ var TextAreaComponent = /** @class */ (function (_super) {
|
|
|
322
323
|
TextAreaComponent.prototype.ngOnChanges = function (changes) {
|
|
323
324
|
var hostElement = this.hostElement.nativeElement;
|
|
324
325
|
var element = this.input.nativeElement;
|
|
326
|
+
if (changes.flow) {
|
|
327
|
+
this.handleFlow();
|
|
328
|
+
}
|
|
325
329
|
if (changes.resizable) {
|
|
326
330
|
if (this.resizable === 'auto') {
|
|
327
331
|
this.initialHeight = element.offsetHeight;
|
|
@@ -485,6 +489,16 @@ var TextAreaComponent = /** @class */ (function (_super) {
|
|
|
485
489
|
this.renderer.addClass(elem, classes.toAdd);
|
|
486
490
|
}
|
|
487
491
|
};
|
|
492
|
+
TextAreaComponent.prototype.handleFlow = function () {
|
|
493
|
+
var isVertical = this.flow === 'vertical';
|
|
494
|
+
var hostElement = this.hostElement.nativeElement;
|
|
495
|
+
var element = this.input.nativeElement;
|
|
496
|
+
var suffix = hostElement.children[1];
|
|
497
|
+
this.renderer.setStyle(element, 'flex', isVertical ? 'none' : '1');
|
|
498
|
+
if (suffix) {
|
|
499
|
+
this.renderer.setStyle(suffix, 'align-items', isVertical ? 'center' : 'start');
|
|
500
|
+
}
|
|
501
|
+
};
|
|
488
502
|
var TextAreaComponent_1;
|
|
489
503
|
tslib_1.__decorate([
|
|
490
504
|
core_1.Input(),
|
|
@@ -496,12 +510,12 @@ var TextAreaComponent = /** @class */ (function (_super) {
|
|
|
496
510
|
tslib_1.__metadata("design:type", Boolean)
|
|
497
511
|
], TextAreaComponent.prototype, "hostClasses", void 0);
|
|
498
512
|
tslib_1.__decorate([
|
|
499
|
-
core_1.HostBinding('class
|
|
513
|
+
core_1.HostBinding('class.\!k-flex-col'),
|
|
500
514
|
tslib_1.__metadata("design:type", Boolean),
|
|
501
515
|
tslib_1.__metadata("design:paramtypes", [])
|
|
502
516
|
], TextAreaComponent.prototype, "flowCol", null);
|
|
503
517
|
tslib_1.__decorate([
|
|
504
|
-
core_1.HostBinding('class
|
|
518
|
+
core_1.HostBinding('class.\!k-flex-row'),
|
|
505
519
|
tslib_1.__metadata("design:type", Boolean),
|
|
506
520
|
tslib_1.__metadata("design:paramtypes", [])
|
|
507
521
|
], TextAreaComponent.prototype, "flowRow", null);
|
|
@@ -576,7 +590,7 @@ var TextAreaComponent = /** @class */ (function (_super) {
|
|
|
576
590
|
],
|
|
577
591
|
selector: 'kendo-textarea',
|
|
578
592
|
template: "\n <textarea\n #input\n [attr.aria-multiline]=\"true\"\n [attr.aria-disabled]=\"disabled ? true : undefined\"\n [attr.aria-readonly]=\"readonly ? true : undefined\"\n class=\"k-input-inner\"\n [ngClass]=\"resizableClass\"\n [id]=\"focusableId\"\n [value]=\"value\"\n [attr.placeholder]=\"placeholder\"\n [disabled]=\"disabled\"\n [readonly]=\"readonly\"\n [attr.rows]=\"rows\"\n [attr.cols]=\"cols\"\n [attr.tabindex]=\"tabIndex\"\n [attr.title]=\"title\"\n [attr.maxlength]=\"maxlength\"\n [kendoEventsOutsideAngular]=\"{\n focus: handleInputFocus,\n blur: handleInputBlur,\n input: handleInput}\">\n </textarea>\n <ng-content select=\"kendo-textarea-suffix\"></ng-content>\n ",
|
|
579
|
-
styles: ["\n :host
|
|
593
|
+
styles: ["\n :host {\n display: inline-flex;\n }\n "]
|
|
580
594
|
}),
|
|
581
595
|
tslib_1.__metadata("design:paramtypes", [kendo_angular_l10n_1.LocalizationService,
|
|
582
596
|
core_1.NgZone,
|