@scania/tegel-angular-17 1.31.2 → 1.32.0-accessibility-color-contrast-beta.0
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Component,
|
|
2
|
+
import { ChangeDetectionStrategy, Component, HostListener, Directive, APP_INITIALIZER, NgModule } from '@angular/core';
|
|
3
3
|
import { defineCustomElements } from '@scania/tegel/loader';
|
|
4
4
|
import { __decorate } from 'tslib';
|
|
5
5
|
import { fromEvent } from 'rxjs';
|
|
@@ -266,11 +266,11 @@ let TdsButton = class TdsButton {
|
|
|
266
266
|
this.el = r.nativeElement;
|
|
267
267
|
}
|
|
268
268
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TdsButton, deps: [{ token: i0.ChangeDetectorRef }, { token: i0.ElementRef }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
269
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TdsButton, selector: "tds-button", inputs: { animation: "animation", disabled: "disabled", fullbleed: "fullbleed", modeVariant: "modeVariant", size: "size", tdsAriaLabel: "tdsAriaLabel", text: "text", type: "type", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
269
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "17.3.12", type: TdsButton, selector: "tds-button", inputs: { animation: "animation", disabled: "disabled", fullbleed: "fullbleed", modeVariant: "modeVariant", name: "name", size: "size", tdsAriaLabel: "tdsAriaLabel", text: "text", type: "type", value: "value", variant: "variant" }, ngImport: i0, template: '<ng-content></ng-content>', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
270
270
|
};
|
|
271
271
|
TdsButton = __decorate([
|
|
272
272
|
ProxyCmp({
|
|
273
|
-
inputs: ['animation', 'disabled', 'fullbleed', 'modeVariant', 'size', 'tdsAriaLabel', 'text', 'type', 'variant']
|
|
273
|
+
inputs: ['animation', 'disabled', 'fullbleed', 'modeVariant', 'name', 'size', 'tdsAriaLabel', 'text', 'type', 'value', 'variant']
|
|
274
274
|
})
|
|
275
275
|
], TdsButton);
|
|
276
276
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TdsButton, decorators: [{
|
|
@@ -280,7 +280,7 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImpo
|
|
|
280
280
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
281
281
|
template: '<ng-content></ng-content>',
|
|
282
282
|
// eslint-disable-next-line @angular-eslint/no-inputs-metadata-property
|
|
283
|
-
inputs: ['animation', 'disabled', 'fullbleed', 'modeVariant', 'size', 'tdsAriaLabel', 'text', 'type', 'variant'],
|
|
283
|
+
inputs: ['animation', 'disabled', 'fullbleed', 'modeVariant', 'name', 'size', 'tdsAriaLabel', 'text', 'type', 'value', 'variant'],
|
|
284
284
|
}]
|
|
285
285
|
}], ctorParameters: () => [{ type: i0.ChangeDetectorRef }, { type: i0.ElementRef }, { type: i0.NgZone }] });
|
|
286
286
|
let TdsCard = class TdsCard {
|
|
@@ -321,7 +321,7 @@ let TdsCheckbox = class TdsCheckbox {
|
|
|
321
321
|
TdsCheckbox = __decorate([
|
|
322
322
|
ProxyCmp({
|
|
323
323
|
inputs: ['checkboxId', 'checked', 'disabled', 'indeterminate', 'name', 'required', 'tdsAriaDescribedby', 'tdsAriaLabel', 'value'],
|
|
324
|
-
methods: ['toggleCheckbox']
|
|
324
|
+
methods: ['toggleCheckbox', 'focusElement']
|
|
325
325
|
})
|
|
326
326
|
], TdsCheckbox);
|
|
327
327
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TdsCheckbox, decorators: [{
|
|
@@ -394,7 +394,7 @@ let TdsDatetime = class TdsDatetime {
|
|
|
394
394
|
TdsDatetime = __decorate([
|
|
395
395
|
ProxyCmp({
|
|
396
396
|
inputs: ['autofocus', 'defaultValue', 'disabled', 'helper', 'label', 'labelPosition', 'max', 'min', 'modeVariant', 'name', 'noMinWidth', 'size', 'state', 'tdsAriaLabel', 'type', 'value'],
|
|
397
|
-
methods: ['reset', 'setValue']
|
|
397
|
+
methods: ['reset', 'setValue', 'focusElement']
|
|
398
398
|
})
|
|
399
399
|
], TdsDatetime);
|
|
400
400
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TdsDatetime, decorators: [{
|
|
@@ -1327,7 +1327,8 @@ let TdsRadioButton = class TdsRadioButton {
|
|
|
1327
1327
|
};
|
|
1328
1328
|
TdsRadioButton = __decorate([
|
|
1329
1329
|
ProxyCmp({
|
|
1330
|
-
inputs: ['checked', 'disabled', 'name', 'radioId', 'required', 'tdsAriaLabel', 'tdsTabIndex', 'value']
|
|
1330
|
+
inputs: ['checked', 'disabled', 'name', 'radioId', 'required', 'tdsAriaLabel', 'tdsTabIndex', 'value'],
|
|
1331
|
+
methods: ['focusElement']
|
|
1331
1332
|
})
|
|
1332
1333
|
], TdsRadioButton);
|
|
1333
1334
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TdsRadioButton, decorators: [{
|
|
@@ -1955,7 +1956,8 @@ let TdsTextarea = class TdsTextarea {
|
|
|
1955
1956
|
};
|
|
1956
1957
|
TdsTextarea = __decorate([
|
|
1957
1958
|
ProxyCmp({
|
|
1958
|
-
inputs: ['autofocus', 'cols', 'disabled', 'helper', 'hideReadOnlyIcon', 'label', 'labelPosition', 'maxLength', 'modeVariant', 'name', 'noMinWidth', 'placeholder', 'readOnly', 'rows', 'state', 'tdsAriaLabel', 'value']
|
|
1959
|
+
inputs: ['autofocus', 'cols', 'disabled', 'helper', 'hideReadOnlyIcon', 'label', 'labelPosition', 'maxLength', 'modeVariant', 'name', 'noMinWidth', 'placeholder', 'readOnly', 'rows', 'state', 'tdsAriaLabel', 'value'],
|
|
1960
|
+
methods: ['focusElement']
|
|
1959
1961
|
})
|
|
1960
1962
|
], TdsTextarea);
|
|
1961
1963
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TdsTextarea, decorators: [{
|
|
@@ -2007,7 +2009,7 @@ let TdsToggle = class TdsToggle {
|
|
|
2007
2009
|
TdsToggle = __decorate([
|
|
2008
2010
|
ProxyCmp({
|
|
2009
2011
|
inputs: ['checked', 'disabled', 'headline', 'name', 'required', 'size', 'tdsAriaLabel', 'toggleId'],
|
|
2010
|
-
methods: ['toggle']
|
|
2012
|
+
methods: ['toggle', 'focusElement']
|
|
2011
2013
|
})
|
|
2012
2014
|
], TdsToggle);
|
|
2013
2015
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "17.3.12", ngImport: i0, type: TdsToggle, decorators: [{
|