@carefirst/library 1.2.7 → 1.2.9
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/lib/components/form-input/form-input.component.mjs +15 -7
- package/esm2022/lib/interfaces/input.interface.mjs +1 -1
- package/fesm2022/carefirst-library.mjs +14 -6
- package/fesm2022/carefirst-library.mjs.map +1 -1
- package/lib/components/form-input/form-input.component.d.ts +6 -3
- package/lib/interfaces/input.interface.d.ts +2 -2
- package/package.json +1 -1
- package/public/styles/forms.scss +4 -0
@@ -9,6 +9,8 @@ declare const inputsC: {
|
|
9
9
|
};
|
10
10
|
export declare class FormInputComponent implements OnChanges {
|
11
11
|
label: string;
|
12
|
+
min: number | string;
|
13
|
+
max: number | string;
|
12
14
|
disabled?: boolean | string | undefined;
|
13
15
|
labelPlacement?: (typeof inputsC.labelPlacement)[number];
|
14
16
|
inputMode?: (typeof inputsC.inputMode)[number];
|
@@ -17,8 +19,8 @@ export declare class FormInputComponent implements OnChanges {
|
|
17
19
|
noClearButton?: boolean | string | undefined;
|
18
20
|
control?: FormControl | null;
|
19
21
|
textCenter?: boolean | string | undefined;
|
20
|
-
|
21
|
-
|
22
|
+
maxLength?: number | string;
|
23
|
+
greyBackground?: boolean | string | undefined;
|
22
24
|
value: EventEmitter<any>;
|
23
25
|
inputLabelPlacement: typeof this.labelPlacement;
|
24
26
|
localInputMode: typeof this.inputMode;
|
@@ -27,8 +29,9 @@ export declare class FormInputComponent implements OnChanges {
|
|
27
29
|
inputTextCenter: boolean;
|
28
30
|
inputType: typeof this.type;
|
29
31
|
inputAutoCapitalize: typeof this.autoCapitalize;
|
32
|
+
inputGreyBackground: boolean;
|
30
33
|
ngOnChanges(changes: SimpleChanges): void;
|
31
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<FormInputComponent, never>;
|
32
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<FormInputComponent, "cf-form-input", never, { "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "inputMode": { "alias": "inputMode"; "required": false; }; "autoCapitalize": { "alias": "autoCapitalize"; "required": false; }; "type": { "alias": "type"; "required": false; }; "noClearButton": { "alias": "noClearButton"; "required": false; }; "control": { "alias": "control"; "required": false; }; "textCenter": { "alias": "textCenter"; "required": false; }; "
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<FormInputComponent, "cf-form-input", never, { "label": { "alias": "label"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "inputMode": { "alias": "inputMode"; "required": false; }; "autoCapitalize": { "alias": "autoCapitalize"; "required": false; }; "type": { "alias": "type"; "required": false; }; "noClearButton": { "alias": "noClearButton"; "required": false; }; "control": { "alias": "control"; "required": false; }; "textCenter": { "alias": "textCenter"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "greyBackground": { "alias": "greyBackground"; "required": false; }; }, { "value": "value"; }, never, never, false, never>;
|
33
36
|
}
|
34
37
|
export {};
|
package/package.json
CHANGED
package/public/styles/forms.scss
CHANGED
@@ -36,6 +36,10 @@ ion-radio.text-center {
|
|
36
36
|
}
|
37
37
|
}
|
38
38
|
|
39
|
+
ion-input.grey-background {
|
40
|
+
--background: var(--cf-app-system-color-outline);
|
41
|
+
}
|
42
|
+
|
39
43
|
/*===============================================
|
40
44
|
================ Select Popovers ================
|
41
45
|
===============================================*/
|