@vallift/ngl 0.0.12 → 0.0.14
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/components/button/button.component.d.ts +1 -1
- package/components/color-picker/color-picker.component.d.ts +1 -1
- package/fesm2022/vallift-ngl.mjs +4 -4
- package/fesm2022/vallift-ngl.mjs.map +1 -1
- package/inputs/_base/base-input/base-input.component.d.ts +1 -1
- package/inputs/text-area-input/text-area-input.component.d.ts +2 -2
- package/inputs/text-input/text-input.component.d.ts +2 -2
- package/package.json +1 -1
|
@@ -8,7 +8,7 @@ export declare class ButtonComponent {
|
|
|
8
8
|
type: import("@angular/core").InputSignal<"submit" | "button" | "reset">;
|
|
9
9
|
disabled: import("@angular/core").InputSignal<boolean>;
|
|
10
10
|
fullWidth: import("@angular/core").InputSignal<boolean>;
|
|
11
|
-
appearance: import("@angular/core").InputSignal<"
|
|
11
|
+
appearance: import("@angular/core").InputSignal<"textType" | "primary" | "outline" | "primaryRounded" | "outlineRounded">;
|
|
12
12
|
loading: import("@angular/core").InputSignal<boolean>;
|
|
13
13
|
iconSize: import("@angular/core").InputSignal<number>;
|
|
14
14
|
iconSrc: import("@angular/core").InputSignal<string | null | undefined>;
|
|
@@ -40,7 +40,7 @@ export declare class ColorPickerComponent extends BaseControlValueAccessorV3<str
|
|
|
40
40
|
ngOnInit(): void;
|
|
41
41
|
ngOnChanges(changes: any): void;
|
|
42
42
|
ngAfterViewInit(): void;
|
|
43
|
-
setHexColor(hexColor: string): void;
|
|
43
|
+
setHexColor(hexColor: string, emit?: boolean): void;
|
|
44
44
|
mapRange(value: number): number;
|
|
45
45
|
onSliderChange(type: string, event: any): void;
|
|
46
46
|
setColor(color: Hsva): void;
|
package/fesm2022/vallift-ngl.mjs
CHANGED
|
@@ -2177,11 +2177,11 @@ class ColorPickerComponent extends BaseControlValueAccessorV3 {
|
|
|
2177
2177
|
}
|
|
2178
2178
|
}
|
|
2179
2179
|
ngOnInit() {
|
|
2180
|
-
this.setHexColor(this.hexColor());
|
|
2180
|
+
this.setHexColor(this.hexColor(), false);
|
|
2181
2181
|
}
|
|
2182
2182
|
ngOnChanges(changes) {
|
|
2183
2183
|
if (changes?.hexColor?.currentValue) {
|
|
2184
|
-
this.setHexColor(changes.hexColor.currentValue);
|
|
2184
|
+
this.setHexColor(changes.hexColor.currentValue, false);
|
|
2185
2185
|
}
|
|
2186
2186
|
}
|
|
2187
2187
|
ngAfterViewInit() {
|
|
@@ -2191,7 +2191,7 @@ class ColorPickerComponent extends BaseControlValueAccessorV3 {
|
|
|
2191
2191
|
this.sliderDimMax.set(sliderDimensionMax);
|
|
2192
2192
|
this.update();
|
|
2193
2193
|
}
|
|
2194
|
-
setHexColor(hexColor) {
|
|
2194
|
+
setHexColor(hexColor, emit = true) {
|
|
2195
2195
|
if (!this.enableAlpha()) {
|
|
2196
2196
|
hexColor = this.converterService.removeAlpha(hexColor);
|
|
2197
2197
|
}
|
|
@@ -2795,7 +2795,7 @@ class TextInputComponent extends BaseControlValueAccessor {
|
|
|
2795
2795
|
return cls;
|
|
2796
2796
|
}
|
|
2797
2797
|
sizeMap = {
|
|
2798
|
-
small: '
|
|
2798
|
+
small: '36px',
|
|
2799
2799
|
medium: '46px',
|
|
2800
2800
|
large: '50px',
|
|
2801
2801
|
};
|