@gettrx/core-components-angular 1.0.45 → 1.0.47
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/esm2022/helpers/color.helper.mjs +21 -0
- package/esm2022/lib/molecules/input-color/gtr-input-color.component.mjs +30 -19
- package/esm2022/parameters/colors.parameter.mjs +11 -0
- package/esm2022/parameters/variables.parameters.mjs +8 -0
- package/esm2022/public-api.mjs +3 -1
- package/fesm2022/gettrx-core-components-angular.mjs +66 -19
- package/fesm2022/gettrx-core-components-angular.mjs.map +1 -1
- package/helpers/color.helper.d.ts +4 -0
- package/lib/molecules/input-color/gtr-input-color.component.d.ts +5 -1
- package/package.json +2 -2
- package/parameters/colors.parameter.d.ts +8 -0
- package/parameters/variables.parameters.d.ts +7 -0
- package/public-api.d.ts +2 -0
|
@@ -6,9 +6,12 @@ export declare class GtrInputColorComponent implements ControlValueAccessor, OnI
|
|
|
6
6
|
touched: boolean;
|
|
7
7
|
inputControl: FormControl<string | null>;
|
|
8
8
|
colorControl: FormControl<string | null>;
|
|
9
|
+
hasBorder: boolean;
|
|
9
10
|
inputLabel: string;
|
|
10
11
|
invalid: boolean;
|
|
11
12
|
placeholder: string;
|
|
13
|
+
colorPickerControls: 'default' | 'only-alpha' | 'no-alpha';
|
|
14
|
+
hideColorPicker: boolean;
|
|
12
15
|
hidePickerTextInput: boolean;
|
|
13
16
|
hideErrorMessage: boolean;
|
|
14
17
|
set disabled(value: boolean);
|
|
@@ -18,6 +21,7 @@ export declare class GtrInputColorComponent implements ControlValueAccessor, OnI
|
|
|
18
21
|
set inputValue(value: string);
|
|
19
22
|
set colorValue(value: string);
|
|
20
23
|
valueChange: EventEmitter<string>;
|
|
24
|
+
constructor();
|
|
21
25
|
ngOnInit(): void;
|
|
22
26
|
private onChange;
|
|
23
27
|
private onTouched;
|
|
@@ -28,5 +32,5 @@ export declare class GtrInputColorComponent implements ControlValueAccessor, OnI
|
|
|
28
32
|
writeValue(obj: any): void;
|
|
29
33
|
handleTouch(): void;
|
|
30
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<GtrInputColorComponent, never>;
|
|
31
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<GtrInputColorComponent, "gtr-input-color", never, { "inputLabel": { "alias": "inputLabel"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "hidePickerTextInput": { "alias": "hidePickerTextInput"; "required": false; }; "hideErrorMessage": { "alias": "hideErrorMessage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "inputValue": { "alias": "inputValue"; "required": false; }; "colorValue": { "alias": "colorValue"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<GtrInputColorComponent, "gtr-input-color", never, { "inputLabel": { "alias": "inputLabel"; "required": false; }; "invalid": { "alias": "invalid"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "colorPickerControls": { "alias": "colorPickerControls"; "required": false; }; "hideColorPicker": { "alias": "hideColorPicker"; "required": false; }; "hidePickerTextInput": { "alias": "hidePickerTextInput"; "required": false; }; "hideErrorMessage": { "alias": "hideErrorMessage"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "value": { "alias": "value"; "required": false; }; "inputValue": { "alias": "inputValue"; "required": false; }; "colorValue": { "alias": "colorValue"; "required": false; }; }, { "valueChange": "valueChange"; }, never, never, false, never>;
|
|
32
36
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gettrx/core-components-angular",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.47",
|
|
4
4
|
"description": "Angular specific wrappers for @gettrx/core-components",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"gettrx",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"peerDependencies": {
|
|
21
21
|
"@angular/common": "^16.1.0",
|
|
22
22
|
"@angular/core": "^16.1.0",
|
|
23
|
-
"@gettrx/core-styles": "1.0.
|
|
23
|
+
"@gettrx/core-styles": "1.0.47",
|
|
24
24
|
"ngx-colors": "^3.6.0"
|
|
25
25
|
},
|
|
26
26
|
"module": "fesm2022/gettrx-core-components-angular.mjs",
|
package/public-api.d.ts
CHANGED