@carefirst/library 1.2.7 → 1.2.9

Sign up to get free protection for your applications and to get access to all the features.
@@ -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
- min?: number | string;
21
- max?: number | string;
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; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; }, { "value": "value"; }, never, never, false, never>;
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 {};
@@ -1,4 +1,4 @@
1
- export interface FormInputSelectOptionsI {
1
+ export interface FormInputSelectOptionsI<T = undefined> {
2
2
  displayName: string | number;
3
- value: string | number | boolean | null | undefined;
3
+ value: T | string | number | boolean | null | undefined;
4
4
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carefirst/library",
3
- "version": "1.2.7",
3
+ "version": "1.2.9",
4
4
  "author": "Jacques Francois Coetzee",
5
5
  "private": false,
6
6
  "peerDependencies": {
@@ -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
  ===============================================*/