aeb-ui-kit 9.0.0-preview.953 → 9.0.0-preview.966
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/fesm2022/aeb-ui-kit.mjs +9 -9
- package/fesm2022/aeb-ui-kit.mjs.map +1 -1
- package/lib/checkbox/checkbox.component.d.ts +4 -4
- package/package.json +1 -1
- package/styles.css +89 -144
package/fesm2022/aeb-ui-kit.mjs
CHANGED
|
@@ -262,17 +262,17 @@ class CheckboxComponent {
|
|
|
262
262
|
this.name = null;
|
|
263
263
|
// eslint-disable-next-line @angular-eslint/no-output-native
|
|
264
264
|
this.change = new EventEmitter();
|
|
265
|
-
this.
|
|
265
|
+
this.cssClass = true;
|
|
266
266
|
this._onChangeFn = () => { };
|
|
267
267
|
this._onTouched = () => { };
|
|
268
268
|
}
|
|
269
|
-
get
|
|
269
|
+
get checked() {
|
|
270
270
|
return this.isChecked;
|
|
271
271
|
}
|
|
272
|
-
get
|
|
272
|
+
get disabled() {
|
|
273
273
|
return this.isDisabled;
|
|
274
274
|
}
|
|
275
|
-
get
|
|
275
|
+
get error() {
|
|
276
276
|
return !this.isValid;
|
|
277
277
|
}
|
|
278
278
|
handleChange(event) {
|
|
@@ -308,7 +308,7 @@ class CheckboxComponent {
|
|
|
308
308
|
}
|
|
309
309
|
}
|
|
310
310
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.0", ngImport: i0, type: CheckboxComponent, deps: [{ token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
311
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0", type: CheckboxComponent, isStandalone: false, selector: "aeb-checkbox", inputs: { id: "id", isChecked: "isChecked", isDisabled: "isDisabled", isValid: "isValid", hasText: "hasText", name: "name" }, outputs: { change: "change" }, host: { properties: { "class.aeb-checkbox": "this.
|
|
311
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.0", type: CheckboxComponent, isStandalone: false, selector: "aeb-checkbox", inputs: { id: "id", isChecked: "isChecked", isDisabled: "isDisabled", isValid: "isValid", hasText: "hasText", name: "name" }, outputs: { change: "change" }, host: { properties: { "class.aeb-checkbox": "this.cssClass", "class.aeb-checkbox--checked": "this.checked", "class.aeb-checkbox--disabled": "this.disabled", "class.aeb-checkbox--error": "this.error" } }, providers: [
|
|
312
312
|
{
|
|
313
313
|
provide: NG_VALUE_ACCESSOR,
|
|
314
314
|
useExisting: forwardRef(() => CheckboxComponent),
|
|
@@ -342,16 +342,16 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.0", ngImpor
|
|
|
342
342
|
type: Input
|
|
343
343
|
}], change: [{
|
|
344
344
|
type: Output
|
|
345
|
-
}],
|
|
345
|
+
}], cssClass: [{
|
|
346
346
|
type: HostBinding,
|
|
347
347
|
args: ['class.aeb-checkbox']
|
|
348
|
-
}],
|
|
348
|
+
}], checked: [{
|
|
349
349
|
type: HostBinding,
|
|
350
350
|
args: ['class.aeb-checkbox--checked']
|
|
351
|
-
}],
|
|
351
|
+
}], disabled: [{
|
|
352
352
|
type: HostBinding,
|
|
353
353
|
args: ['class.aeb-checkbox--disabled']
|
|
354
|
-
}],
|
|
354
|
+
}], error: [{
|
|
355
355
|
type: HostBinding,
|
|
356
356
|
args: ['class.aeb-checkbox--error']
|
|
357
357
|
}] } });
|