@carefirst/library 6.2.7 → 6.3.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.
- package/fesm2022/carefirst-library.mjs +160 -85
- package/fesm2022/carefirst-library.mjs.map +1 -1
- package/index.d.ts +37 -7
- package/package.json +1 -6
- package/public/styles/app.scss +6 -7
- package/public/styles/colors.scss +21 -2
package/index.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { OnChanges, EventEmitter, SimpleChanges, TemplateRef, Renderer2, ViewContainerRef, ElementRef, OnInit } from '@angular/core';
|
|
3
3
|
import { IonContentCustomEvent, ScrollDetail } from '@ionic/core';
|
|
4
|
-
import * as
|
|
4
|
+
import * as i23 from '@ionic/angular';
|
|
5
5
|
import { IonPopover, IonInput, InputCustomEvent } from '@ionic/angular';
|
|
6
|
-
import * as
|
|
6
|
+
import * as i25 from '@angular/forms';
|
|
7
7
|
import { ValidatorFn, FormGroup, FormControl } from '@angular/forms';
|
|
8
8
|
import { BehaviorSubject, Subscription } from 'rxjs';
|
|
9
|
-
import * as
|
|
9
|
+
import * as i24 from '@angular/common';
|
|
10
10
|
|
|
11
11
|
declare class PageComponent implements OnChanges {
|
|
12
12
|
centerH?: boolean | string | undefined;
|
|
@@ -42,9 +42,9 @@ declare class PageComponent implements OnChanges {
|
|
|
42
42
|
|
|
43
43
|
/**==============================================
|
|
44
44
|
* @interface IconsT
|
|
45
|
-
* @description
|
|
45
|
+
* @description List of all the available icons
|
|
46
46
|
*/
|
|
47
|
-
declare const iconsC: readonly ["home", "cog", "profile", "scan", "person", "appointment", "clock", "calendar", "email", "phone", "sign-out", "sign-in", "close", "check-mark", "rating-star-blank", "rating-star-filled", "back-arrow", "diagonal-up-arrow", "copy", "bell", "lock", "show-password", "hide-password", "circle-check", "circle-alert", "circle-close", "direction-switch", "direction-switch-flat", "direction-switch-block", "chat-bubbles", "phone-down", "mic", "no-mic", "button-forward-arrow", "button-check-box", "social-media-whatsapp", "social-media-facebook", "social-media-linkedin", "social-media-instagram", "social-media-google-mail", "instant-video-service", "instant-telephonic-service", "scheduled-video-service", "scheduled-telephonic-service", "vital-scan-service", "skin-scan-service", "acne-scan-service", "open-back-arrow", "open-forward-arrow", "open-up-arrow", "open-down-arrow", "single-document", "lightning", "
|
|
47
|
+
declare const iconsC: readonly ["home", "cog", "profile", "scan", "person", "appointment", "clock", "calendar", "email", "phone", "sign-out", "sign-in", "close", "check-mark", "rating-star-blank", "rating-star-filled", "back-arrow", "diagonal-up-arrow", "copy", "bell", "lock", "show-password", "hide-password", "circle-check", "circle-alert", "circle-close", "direction-switch", "direction-switch-flat", "direction-switch-block", "chat-bubbles", "phone-down", "mic", "no-mic", "button-forward-arrow", "button-check-box", "social-media-whatsapp", "social-media-facebook", "social-media-linkedin", "social-media-instagram", "social-media-google-mail", "instant-video-service", "instant-telephonic-service", "scheduled-video-service", "scheduled-telephonic-service", "vital-scan-service", "skin-scan-service", "acne-scan-service", "open-back-arrow", "open-forward-arrow", "open-up-arrow", "open-down-arrow", "single-document", "lightning", "user-dependent", "plus", "minus", "close-box", "speech-bubble", "camera-switch", "retry", "download", "upload", "upload-document", "print", "search", "bank-cards", "bank-card", "swipe-bank-card", "coin", "sign-out-curved", "sign-in-curved", "calendar-blank", "wallet", "info", "three-dot-colon", "adjustment", "triangle-alert", "shield-check", "basic-phone", "send"];
|
|
48
48
|
type IconsT = (typeof iconsC)[number];
|
|
49
49
|
/**==============================================
|
|
50
50
|
* @interface IconColorT
|
|
@@ -157,6 +157,36 @@ declare class IconComponent implements OnChanges {
|
|
|
157
157
|
static ɵcmp: i0.ɵɵComponentDeclaration<IconComponent, "cf-icon", never, { "icon": { "alias": "icon"; "required": false; }; "height": { "alias": "height"; "required": false; }; "heightMobile": { "alias": "heightMobile"; "required": false; }; "heightDesktop": { "alias": "heightDesktop"; "required": false; }; "iconColor": { "alias": "iconColor"; "required": false; }; "iconColorCustom": { "alias": "iconColorCustom"; "required": false; }; }, {}, never, never, false, never>;
|
|
158
158
|
}
|
|
159
159
|
|
|
160
|
+
/**==============================================
|
|
161
|
+
* @interface EmojisT
|
|
162
|
+
* @description List of all the available emojis
|
|
163
|
+
*/
|
|
164
|
+
declare const emojisC: readonly ["google", "facebook", "m365", "microsoft-365", "trophy", "party-popper", "flame", "black-circle", "white-circle", "red-circle", "high-voltage", "red-heart", "collision", "cherry-blossom", "pill", "yellow-heart", "microscope", "drop-of-blood", "man-health-worker", "check-mark-button"];
|
|
165
|
+
type EmojisT = (typeof emojisC)[number];
|
|
166
|
+
|
|
167
|
+
type emoji_interface_d_EmojisT = EmojisT;
|
|
168
|
+
declare const emoji_interface_d_emojisC: typeof emojisC;
|
|
169
|
+
declare namespace emoji_interface_d {
|
|
170
|
+
export { emoji_interface_d_emojisC as emojisC };
|
|
171
|
+
export type { emoji_interface_d_EmojisT as EmojisT };
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
declare class EmojiComponent implements OnChanges {
|
|
175
|
+
emoji: EmojisT;
|
|
176
|
+
height?: number;
|
|
177
|
+
heightMobile?: number;
|
|
178
|
+
heightDesktop?: number;
|
|
179
|
+
inputEmoji: typeof this.emoji | undefined;
|
|
180
|
+
/**----------------------------------------------------------------
|
|
181
|
+
* @name ngOnChanges
|
|
182
|
+
* @description Update various values on input changes
|
|
183
|
+
* @returns {void}
|
|
184
|
+
*/
|
|
185
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
186
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EmojiComponent, never>;
|
|
187
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EmojiComponent, "cf-emoji", never, { "emoji": { "alias": "emoji"; "required": false; }; "height": { "alias": "height"; "required": false; }; "heightMobile": { "alias": "heightMobile"; "required": false; }; "heightDesktop": { "alias": "heightDesktop"; "required": false; }; }, {}, never, never, false, never>;
|
|
188
|
+
}
|
|
189
|
+
|
|
160
190
|
/**
|
|
161
191
|
* Button Loader Directive
|
|
162
192
|
*
|
|
@@ -959,7 +989,7 @@ declare class MixPComponent implements OnInit, OnChanges {
|
|
|
959
989
|
|
|
960
990
|
declare class CareFirstLibraryModule {
|
|
961
991
|
static ɵfac: i0.ɵɵFactoryDeclaration<CareFirstLibraryModule, never>;
|
|
962
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<CareFirstLibraryModule, [typeof PageComponent, typeof ButtonComponent, typeof SpacerComponent, typeof IconComponent, typeof ButtonLoaderDirective, typeof NotificationComponent, typeof AlertComponent, typeof LogoComponent, typeof CalendarComponent, typeof FormValidationComponent, typeof FormInputComponent, typeof FormInputCurrencyComponent, typeof FormInputSelectComponent, typeof FormInputStringDateComponent, typeof FormInputTextAreaComponent, typeof FormInputSearchComponent, typeof ChatBubbleComponent, typeof BadgeComponent, typeof SpinnerComponent, typeof VerificationCodeComponent, typeof MixPComponent], [typeof
|
|
992
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<CareFirstLibraryModule, [typeof PageComponent, typeof ButtonComponent, typeof SpacerComponent, typeof IconComponent, typeof EmojiComponent, typeof ButtonLoaderDirective, typeof NotificationComponent, typeof AlertComponent, typeof LogoComponent, typeof CalendarComponent, typeof FormValidationComponent, typeof FormInputComponent, typeof FormInputCurrencyComponent, typeof FormInputSelectComponent, typeof FormInputStringDateComponent, typeof FormInputTextAreaComponent, typeof FormInputSearchComponent, typeof ChatBubbleComponent, typeof BadgeComponent, typeof SpinnerComponent, typeof VerificationCodeComponent, typeof MixPComponent], [typeof i23.IonicModule, typeof i24.CommonModule, typeof i25.ReactiveFormsModule], [typeof PageComponent, typeof ButtonComponent, typeof SpacerComponent, typeof IconComponent, typeof EmojiComponent, typeof ButtonLoaderDirective, typeof NotificationComponent, typeof AlertComponent, typeof LogoComponent, typeof CalendarComponent, typeof FormValidationComponent, typeof FormInputComponent, typeof FormInputCurrencyComponent, typeof FormInputSelectComponent, typeof FormInputStringDateComponent, typeof FormInputTextAreaComponent, typeof FormInputSearchComponent, typeof ChatBubbleComponent, typeof BadgeComponent, typeof SpinnerComponent, typeof VerificationCodeComponent, typeof MixPComponent]>;
|
|
963
993
|
static ɵinj: i0.ɵɵInjectorDeclaration<CareFirstLibraryModule>;
|
|
964
994
|
}
|
|
965
995
|
|
|
@@ -1032,4 +1062,4 @@ declare class CFPFormValidators {
|
|
|
1032
1062
|
static isValidCellNumber(dialCodes?: string[]): ValidatorFn;
|
|
1033
1063
|
}
|
|
1034
1064
|
|
|
1035
|
-
export { AlertComponent, BadgeComponent, ButtonComponent, ButtonLoaderDirective, alert_interface_d as CFAlertI, badge_interface_d as CFBadgeI, verificationCode_interface_d as CFCodeInputI, icon_interface_d as CFIconI, input_interface_d as CFInputI, notification_interface_d as CFNotificationI, CFPFormValidators, spacer_interface_d as CFSpacerI, CalendarComponent, CareFirstLibraryModule, ChatBubbleComponent, FormInputComponent, FormInputCurrencyComponent, FormInputSearchComponent, FormInputSelectComponent, FormInputStringDateComponent, FormInputTextAreaComponent, FormValidationComponent, IconComponent, LogoComponent, MixPComponent, NotificationComponent, PageComponent, SpacerComponent, SpinnerComponent, VerificationCodeComponent };
|
|
1065
|
+
export { AlertComponent, BadgeComponent, ButtonComponent, ButtonLoaderDirective, alert_interface_d as CFAlertI, badge_interface_d as CFBadgeI, verificationCode_interface_d as CFCodeInputI, emoji_interface_d as CFEmojiI, icon_interface_d as CFIconI, input_interface_d as CFInputI, notification_interface_d as CFNotificationI, CFPFormValidators, spacer_interface_d as CFSpacerI, CalendarComponent, CareFirstLibraryModule, ChatBubbleComponent, EmojiComponent, FormInputComponent, FormInputCurrencyComponent, FormInputSearchComponent, FormInputSelectComponent, FormInputStringDateComponent, FormInputTextAreaComponent, FormValidationComponent, IconComponent, LogoComponent, MixPComponent, NotificationComponent, PageComponent, SpacerComponent, SpinnerComponent, VerificationCodeComponent };
|
package/package.json
CHANGED
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carefirst/library",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.3.0",
|
|
4
4
|
"author": "FCS Dev Team",
|
|
5
5
|
"private": false,
|
|
6
6
|
"peerDependencies": {
|
|
7
|
-
"@angular/common": "^20.3.9",
|
|
8
|
-
"@angular/core": "^20.3.9",
|
|
9
|
-
"@angular/forms": "^20.3.9",
|
|
10
|
-
"@angular/router": "^20.3.9",
|
|
11
|
-
"@ionic/angular": "^8.7.5",
|
|
12
7
|
"dayjs": "^1.11.18",
|
|
13
8
|
"password-validator": "^5.3.0"
|
|
14
9
|
},
|
package/public/styles/app.scss
CHANGED
|
@@ -147,16 +147,15 @@ cf-badge:has(div.stretch) {
|
|
|
147
147
|
/*===============================================
|
|
148
148
|
============== Opacity Background ==============
|
|
149
149
|
===============================================*/
|
|
150
|
+
@mixin opacity($percentage) {
|
|
151
|
+
background-color: color-mix(in srgb, var(--cf-app-color-accent) $percentage, var(--cf-app-background-light)) !important;
|
|
152
|
+
border: 1px solid var(--cf-app-color-accent) !important;
|
|
153
|
+
}
|
|
150
154
|
|
|
151
155
|
.accent-background-opacity-25 {
|
|
152
|
-
|
|
156
|
+
@include opacity(25%);
|
|
153
157
|
}
|
|
154
158
|
|
|
155
159
|
.accent-background-opacity-50 {
|
|
156
|
-
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
//--- Add .accent-border to add a border to the element with the accent color opacity background
|
|
160
|
-
[class^='accent-background-opacity-'].accent-border {
|
|
161
|
-
border: 1px solid var(--cf-app-color-accent) !important;
|
|
160
|
+
@include opacity(50%);
|
|
162
161
|
}
|
|
@@ -11,11 +11,11 @@
|
|
|
11
11
|
--cf-app-color-accent-25: color-mix(in srgb, var(--cf-app-color-accent) 25%, #fff);
|
|
12
12
|
--cf-app-color-accent-50: color-mix(in srgb, var(--cf-app-color-accent) 50%, #fff);
|
|
13
13
|
//--- System Colors
|
|
14
|
-
--cf-app-system-color-success-100: #
|
|
14
|
+
--cf-app-system-color-success-100: #61c453;
|
|
15
15
|
--cf-app-system-color-success-50: #c1f4bb;
|
|
16
16
|
--cf-app-system-color-success-25: #e6ffe3;
|
|
17
17
|
--cf-app-system-color-error-100: #ff3a69;
|
|
18
|
-
--cf-app-system-color-error-50: #
|
|
18
|
+
--cf-app-system-color-error-50: #ffc4d2;
|
|
19
19
|
--cf-app-system-color-error-25: #ffd8e1;
|
|
20
20
|
--cf-app-system-color-warning-100: #ffc71f;
|
|
21
21
|
--cf-app-system-color-warning-50: #fde18c;
|
|
@@ -25,3 +25,22 @@
|
|
|
25
25
|
--cf-app-system-color-grey-outline: #bdbdbd;
|
|
26
26
|
--cf-app-system-color-grey-disabled: #d9d9d9de;
|
|
27
27
|
}
|
|
28
|
+
|
|
29
|
+
/*===============================================
|
|
30
|
+
============== Opacity Background ==============
|
|
31
|
+
===============================================*/
|
|
32
|
+
|
|
33
|
+
//---<>
|
|
34
|
+
|
|
35
|
+
// .accent-background-opacity-25 {
|
|
36
|
+
// background-color: var(--cf-app-color-accent-25) !important;
|
|
37
|
+
// }
|
|
38
|
+
|
|
39
|
+
// .accent-background-opacity-50 {
|
|
40
|
+
// background-color: var(--cf-app-color-accent-50) !important;
|
|
41
|
+
// }
|
|
42
|
+
|
|
43
|
+
// //--- Add .accent-border to add a border to the element with the accent color opacity background
|
|
44
|
+
// [class^='accent-background-opacity-'].accent-border {
|
|
45
|
+
// border: 1px solid var(--cf-app-color-accent) !important;
|
|
46
|
+
// }
|