@carefirst/library 1.2.10 → 1.2.12

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.
@@ -11,7 +11,6 @@ export declare class FormInputComponent implements OnChanges {
11
11
  label: string;
12
12
  min: number | string;
13
13
  max: number | string;
14
- disabled?: boolean | string | undefined;
15
14
  labelPlacement?: (typeof inputsC.labelPlacement)[number];
16
15
  inputMode?: (typeof inputsC.inputMode)[number];
17
16
  autoCapitalize?: (typeof inputsC.autoCapitalize)[number];
@@ -25,13 +24,12 @@ export declare class FormInputComponent implements OnChanges {
25
24
  inputLabelPlacement: typeof this.labelPlacement;
26
25
  localInputMode: typeof this.inputMode;
27
26
  inputClear: boolean;
28
- inputDisabled: boolean;
29
27
  inputTextCenter: boolean;
30
28
  inputType: typeof this.type;
31
29
  inputAutoCapitalize: typeof this.autoCapitalize;
32
30
  inputGreyBackground: boolean;
33
31
  ngOnChanges(changes: SimpleChanges): void;
34
32
  static ɵfac: i0.ɵɵFactoryDeclaration<FormInputComponent, 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
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormInputComponent, "cf-form-input", never, { "label": { "alias": "label"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "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>;
36
34
  }
37
35
  export {};
@@ -5,13 +5,11 @@ import * as i0 from "@angular/core";
5
5
  export declare class FormInputSelectComponent implements OnChanges {
6
6
  label: string;
7
7
  options: FormInputSelectOptionsI[];
8
- disabled?: boolean | string | undefined;
9
8
  labelPlacement?: 'fixed' | 'floating' | 'stacked';
10
9
  control?: FormControl | null;
11
10
  value: EventEmitter<any>;
12
11
  inputLabelPlacement: typeof this.labelPlacement;
13
- inputDisabled: boolean;
14
12
  ngOnChanges(changes: SimpleChanges): void;
15
13
  static ɵfac: i0.ɵɵFactoryDeclaration<FormInputSelectComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<FormInputSelectComponent, "cf-form-input-select", never, { "label": { "alias": "label"; "required": false; }; "options": { "alias": "options"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, { "value": "value"; }, never, never, false, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormInputSelectComponent, "cf-form-input-select", never, { "label": { "alias": "label"; "required": false; }; "options": { "alias": "options"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "control": { "alias": "control"; "required": false; }; }, { "value": "value"; }, never, never, false, never>;
17
15
  }
@@ -3,7 +3,6 @@ import type { FormControl } from '@angular/forms';
3
3
  import * as i0 from "@angular/core";
4
4
  export declare class FormInputTextAreaComponent implements OnChanges {
5
5
  label: string;
6
- disabled?: boolean | string | undefined;
7
6
  labelPlacement?: 'fixed' | 'floating' | 'stacked';
8
7
  autoCapitalize?: 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
9
8
  control?: FormControl | null;
@@ -11,10 +10,9 @@ export declare class FormInputTextAreaComponent implements OnChanges {
11
10
  value: EventEmitter<any>;
12
11
  inputLabelPlacement: typeof this.labelPlacement;
13
12
  inputClear: boolean;
14
- inputDisabled: boolean;
15
13
  inputTextCenter: boolean;
16
14
  inputAutoCapitalize: typeof this.autoCapitalize;
17
15
  ngOnChanges(changes: SimpleChanges): void;
18
16
  static ɵfac: i0.ɵɵFactoryDeclaration<FormInputTextAreaComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<FormInputTextAreaComponent, "cf-form-input-text-area", never, { "label": { "alias": "label"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "autoCapitalize": { "alias": "autoCapitalize"; "required": false; }; "control": { "alias": "control"; "required": false; }; "textCenter": { "alias": "textCenter"; "required": false; }; }, { "value": "value"; }, never, never, false, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormInputTextAreaComponent, "cf-form-input-text-area", never, { "label": { "alias": "label"; "required": false; }; "labelPlacement": { "alias": "labelPlacement"; "required": false; }; "autoCapitalize": { "alias": "autoCapitalize"; "required": false; }; "control": { "alias": "control"; "required": false; }; "textCenter": { "alias": "textCenter"; "required": false; }; }, { "value": "value"; }, never, never, false, never>;
20
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carefirst/library",
3
- "version": "1.2.10",
3
+ "version": "1.2.12",
4
4
  "author": "Jacques Francois Coetzee",
5
5
  "private": false,
6
6
  "peerDependencies": {
@@ -15,5 +15,4 @@ $desktop-breakpoint: 768px; //--- Same as ionic md breakpoint
15
15
  @import './app.scss';
16
16
  @import './colors.scss';
17
17
  @import './font.scss';
18
- @import './forms.scss';
19
18
  @import './scrollbar.scss';
@@ -1,61 +0,0 @@
1
- /*===============================================
2
- ================== Form Items ===================
3
- ===============================================*/
4
- ion-input,
5
- ion-textarea,
6
- ion-select,
7
- ion-radio {
8
- font-family: 'Roboto', sans-serif;
9
- font-weight: 400;
10
- font-style: normal;
11
- font-size: 1.6rem;
12
- color: var(--cf-app-color-primary);
13
- text-align: start;
14
- --border-radius: 8px !important; //--- important overrides the fill option
15
- --highlight-color-focused: var(--cf-app-color-primary);
16
- --highlight-color-invalid: var(--cf-app-system-color-error);
17
- --highlight-color-valid: var(--cf-app-color-primary);
18
-
19
- label {
20
- font-family: 'Roboto', sans-serif;
21
- font-weight: 400;
22
- font-style: normal;
23
- font-size: 1.6rem;
24
- color: var(--cf-app-color-primary);
25
- text-align: start;
26
- }
27
- }
28
-
29
- ion-input.text-center,
30
- ion-textarea.text-center,
31
- ion-select.text-center,
32
- ion-radio.text-center {
33
- text-align: center;
34
- label {
35
- text-align: center;
36
- }
37
- }
38
-
39
- ion-input.grey-background {
40
- --background: var(--cf-app-system-color-outline);
41
- }
42
-
43
- /*===============================================
44
- ================ Select Popovers ================
45
- ===============================================*/
46
-
47
- ion-popover {
48
- ion-select-popover {
49
- ion-list[class*='popover'] {
50
- background: var(--cf-app-background-light);
51
- ion-item[class*='popover'] {
52
- --background: transparent;
53
- --border-radius: 8px;
54
- --background-focused: var(--cf-app-color-accent);
55
- --background-focused-opacity: 0.5;
56
- --background-hover: var(--cf-app-color-primary);
57
- --background-hover-opacity: 0.1;
58
- }
59
- }
60
- }
61
- }