@carefirst/library 6.2.8 → 6.3.1
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 +168 -86
- package/fesm2022/carefirst-library.mjs.map +1 -1
- package/index.d.ts +41 -8
- 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
|
*
|
|
@@ -761,6 +791,7 @@ declare namespace badge_interface_d {
|
|
|
761
791
|
* @usage <cf-badge
|
|
762
792
|
* type="BadgeTypeT"
|
|
763
793
|
* %icon%="IconsT"
|
|
794
|
+
* %emoji%="EmojisT"
|
|
764
795
|
* %small%
|
|
765
796
|
* %large%
|
|
766
797
|
* style="
|
|
@@ -776,11 +807,13 @@ declare namespace badge_interface_d {
|
|
|
776
807
|
declare class BadgeComponent implements OnChanges {
|
|
777
808
|
type: BadgeTypeT;
|
|
778
809
|
icon?: IconsT | undefined;
|
|
810
|
+
emoji?: EmojisT | undefined;
|
|
779
811
|
small?: boolean | string | undefined;
|
|
780
812
|
large?: boolean | string | undefined;
|
|
781
813
|
stretch?: boolean | string | undefined;
|
|
782
814
|
inputType: typeof this.type;
|
|
783
815
|
inputIcon: typeof this.icon | undefined;
|
|
816
|
+
inputEmoji: typeof this.emoji | undefined;
|
|
784
817
|
fontsize: number;
|
|
785
818
|
inputSmall: boolean;
|
|
786
819
|
inputLarge: boolean;
|
|
@@ -792,7 +825,7 @@ declare class BadgeComponent implements OnChanges {
|
|
|
792
825
|
*/
|
|
793
826
|
ngOnChanges(changes: SimpleChanges): void;
|
|
794
827
|
static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
|
|
795
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "cf-badge", never, { "type": { "alias": "type"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "small": { "alias": "small"; "required": false; }; "large": { "alias": "large"; "required": false; }; "stretch": { "alias": "stretch"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
828
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "cf-badge", never, { "type": { "alias": "type"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "emoji": { "alias": "emoji"; "required": false; }; "small": { "alias": "small"; "required": false; }; "large": { "alias": "large"; "required": false; }; "stretch": { "alias": "stretch"; "required": false; }; }, {}, never, ["*"], false, never>;
|
|
796
829
|
}
|
|
797
830
|
|
|
798
831
|
declare class SpinnerComponent implements OnChanges {
|
|
@@ -959,7 +992,7 @@ declare class MixPComponent implements OnInit, OnChanges {
|
|
|
959
992
|
|
|
960
993
|
declare class CareFirstLibraryModule {
|
|
961
994
|
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
|
|
995
|
+
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
996
|
static ɵinj: i0.ɵɵInjectorDeclaration<CareFirstLibraryModule>;
|
|
964
997
|
}
|
|
965
998
|
|
|
@@ -1032,4 +1065,4 @@ declare class CFPFormValidators {
|
|
|
1032
1065
|
static isValidCellNumber(dialCodes?: string[]): ValidatorFn;
|
|
1033
1066
|
}
|
|
1034
1067
|
|
|
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 };
|
|
1068
|
+
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.1",
|
|
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
|
+
// }
|