rd-outer-component 0.1.11 → 0.1.13

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,9 +1,11 @@
1
1
  import { EventEmitter, ChangeDetectorRef } from '@angular/core';
2
2
  import { AbstractControl, ControlValueAccessor, ValidationErrors, Validator, ValidatorFn } from '@angular/forms';
3
3
  import { CdkTextareaAutosize } from '@angular/cdk/text-field';
4
+ import { TranslateService } from '@ngx-translate/core';
4
5
  import * as i0 from "@angular/core";
5
6
  export declare class CustomTextareaComponent implements ControlValueAccessor, Validator {
6
7
  private cdr;
8
+ private translate;
7
9
  lang: string;
8
10
  label: string;
9
11
  name: string;
@@ -30,7 +32,7 @@ export declare class CustomTextareaComponent implements ControlValueAccessor, Va
30
32
  private onValidatorChange;
31
33
  get currentErrorMessage(): string;
32
34
  get showError(): boolean;
33
- constructor(cdr: ChangeDetectorRef);
35
+ constructor(cdr: ChangeDetectorRef, translate: TranslateService);
34
36
  writeValue(value: string): void;
35
37
  registerOnChange(fn: (value: string) => void): void;
36
38
  registerOnTouched(fn: () => void): void;
@@ -3,8 +3,9 @@ import * as i1 from "./custom-textarea.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "@angular/forms";
5
5
  import * as i4 from "ng-zorro-antd/input";
6
+ import * as i5 from "@ngx-translate/core";
6
7
  export declare class RdTextareaModule {
7
8
  static ɵfac: i0.ɵɵFactoryDeclaration<RdTextareaModule, never>;
8
- static ɵmod: i0.ɵɵNgModuleDeclaration<RdTextareaModule, [typeof i1.CustomTextareaComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i3.FormsModule, typeof i4.NzInputModule], [typeof i1.CustomTextareaComponent]>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<RdTextareaModule, [typeof i1.CustomTextareaComponent], [typeof i2.CommonModule, typeof i3.ReactiveFormsModule, typeof i3.FormsModule, typeof i4.NzInputModule, typeof i5.TranslateModule], [typeof i1.CustomTextareaComponent]>;
9
10
  static ɵinj: i0.ɵɵInjectorDeclaration<RdTextareaModule>;
10
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "rd-outer-component",
3
- "version": "0.1.11",
3
+ "version": "0.1.13",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "15.2.10",
6
6
  "@angular/core": "15.2.10",
@@ -146,6 +146,7 @@ textarea[disabled] {
146
146
  font-weight: 600;
147
147
  line-height: 48px;
148
148
  color: var(--rd-copy-primary);
149
+ background-color: var(--rd-input-bg-default);
149
150
  border: none;
150
151
  padding: 4px 0;
151
152