@carefirst/library 6.0.0 → 6.2.0

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.
@@ -797,7 +797,9 @@ declare class BadgeComponent implements OnChanges {
797
797
 
798
798
  declare class SpinnerComponent implements OnChanges {
799
799
  size: number | string;
800
+ primaryColor: boolean | string | undefined;
800
801
  inputSize: number;
802
+ primaryColorValue: boolean;
801
803
  /**----------------------------------------------------------------
802
804
  * @name ngOnChanges
803
805
  * @description Update various values on input changes
@@ -805,7 +807,7 @@ declare class SpinnerComponent implements OnChanges {
805
807
  */
806
808
  ngOnChanges(changes: SimpleChanges): void;
807
809
  static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, never>;
808
- static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "cf-spinner", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
810
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "cf-spinner", never, { "size": { "alias": "size"; "required": false; }; "primaryColor": { "alias": "primaryColor"; "required": false; }; }, {}, never, never, false, never>;
809
811
  }
810
812
 
811
813
  /**==============================================
package/package.json CHANGED
@@ -1,25 +1,26 @@
1
1
  {
2
2
  "name": "@carefirst/library",
3
- "version": "6.0.0",
3
+ "version": "6.2.0",
4
4
  "author": "FCS Dev Team",
5
5
  "private": false,
6
6
  "peerDependencies": {
7
- "@angular/common": "^21.0.1",
8
- "@angular/core": "^21.0.1",
9
- "@angular/forms": "^21.0.1",
7
+ "@angular/common": "^20.3.9",
8
+ "@angular/core": "^20.3.9",
9
+ "@angular/forms": "^20.3.9",
10
+ "@angular/router": "^20.3.9",
10
11
  "@ionic/angular": "^8.7.5",
11
- "dayjs": "^1.11.19",
12
+ "dayjs": "^1.11.18",
12
13
  "password-validator": "^5.3.0"
13
14
  },
14
15
  "sideEffects": false,
15
16
  "module": "fesm2022/carefirst-library.mjs",
16
- "typings": "types/carefirst-library.d.ts",
17
+ "typings": "index.d.ts",
17
18
  "exports": {
18
19
  "./package.json": {
19
20
  "default": "./package.json"
20
21
  },
21
22
  ".": {
22
- "types": "./types/carefirst-library.d.ts",
23
+ "types": "./index.d.ts",
23
24
  "default": "./fesm2022/carefirst-library.mjs"
24
25
  }
25
26
  },
@@ -17,7 +17,7 @@ ion-modal {
17
17
  ================== Radio Button =================
18
18
  ===============================================*/
19
19
  ion-radio {
20
- --color: var(--cf-app-system-color-outline);
20
+ --color: var(--cf-app-system-color-grey-outline);
21
21
  --color-checked: var(--cf-app-color-accent);
22
22
 
23
23
  &::part(container) {
@@ -26,7 +26,7 @@ ion-radio {
26
26
  }
27
27
 
28
28
  &.radio-checked::part(container) {
29
- border-color: var(--cf-app-system-color-outline);
29
+ border-color: var(--cf-app-system-color-grey-outline);
30
30
  }
31
31
 
32
32
  //--- cf-radio-border
@@ -148,7 +148,7 @@ cf-badge:has(div.stretch) {
148
148
  ============== Opacity Background ==============
149
149
  ===============================================*/
150
150
  @mixin opacity($percentage) {
151
- background-color: color-mix(in srgb, var(--cf-app-color-accent) $percentage, var(--cf-app-background-light)) !important;
151
+ background-color: color-mix(in srgb, var(--cf-app-color-accent) $percentage, var(--cf-app-color-white)) !important;
152
152
  border: 1px solid var(--cf-app-color-accent) !important;
153
153
  }
154
154
 
@@ -5,17 +5,21 @@
5
5
  --cf-app-color-primary: #000;
6
6
  --cf-app-color-secondary: #80858a;
7
7
  --cf-app-color-off-white: #fcfaf9;
8
+ --cf-app-color-white: #fff;
8
9
  --cf-app-color-accent: #3fa3db;
9
10
  --cf-app-background-dark: #252525;
10
- --cf-app-background-light: #fff;
11
11
  //--- System Colors
12
- --cf-app-system-color-success: #63ad0e;
13
- --cf-app-system-color-error: #ff003c;
14
- --cf-app-system-color-warning: #ffc000;
15
- --cf-app-system-color-grey: #e1e1e1;
16
- --cf-app-system-color-outline: #bdbdbd;
17
- --cf-app-system-color-disabled: #d9d9d9de;
18
- --cf-app-system-color-light-success: #e1eee4;
19
- --cf-app-system-color-light-error: #f6d0d9;
20
- --cf-app-system-color-light-warning: #fae0ab;
12
+ --cf-app-system-color-success-100: #63ad0e;
13
+ --cf-app-system-color-success-25: #e6ffe3;
14
+ --cf-app-system-color-success-50: #e1eee4;
15
+ --cf-app-system-color-error-100: #ff003c;
16
+ --cf-app-system-color-error-50: #f6d0d9;
17
+ --cf-app-system-color-error-25: #ffd8e1;
18
+ --cf-app-system-color-warning-100: #ffc000;
19
+ --cf-app-system-color-warning-50: #fae0ab;
20
+ --cf-app-system-color-warning-25: #fdedc2;
21
+ //--- Greys
22
+ --cf-app-system-color-grey-background: #e1e1e1;
23
+ --cf-app-system-color-grey-outline: #bdbdbd;
24
+ --cf-app-system-color-grey-disabled: #d9d9d9de;
21
25
  }
@@ -79,7 +79,10 @@
79
79
  :root {
80
80
  --cf-app-text-color-default: #000;
81
81
  --cf-app-text-color-light: #fff;
82
- --cf-app-text-color-grey: #6b6b6b;
82
+ --cf-app-text-color-grey: #80858a;
83
+ --cf-app-text-color-dark-green: #118600;
84
+ --cf-app-text-color-dark-red: #d60032;
85
+ --cf-app-text-color-dark-yellow: #c39406;
83
86
  }
84
87
 
85
88
  /*===============================================
@@ -1,18 +0,0 @@
1
- /**
2
- * Forms Interfaces
3
- * @description Various interfaces concerning Forms used throughout the app
4
- */
5
-
6
- import { FormArray, FormControl, FormGroup } from '@angular/forms';
7
-
8
- /** =============================================
9
- * @description Generic form interface generator
10
- */
11
- type FCSFormBuilderContentT<T extends Record<string, unknown>> = {
12
- [K in keyof T]: T[K] extends unknown[]
13
- ? FormArray<T[K][number] extends Record<string, unknown> ? FCSFormBuilderT<T[K][number]> : FormControl<T[K][number]>>
14
- : T[K] extends Record<string, unknown>
15
- ? FCSFormBuilderT<T[K]>
16
- : FormControl<T[K]>;
17
- };
18
- export type FCSFormBuilderT<T extends object> = FormGroup<FCSFormBuilderContentT<Required<T>>>;