@carefirst/library 1.3.7 → 1.3.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. package/esm2022/lib/components/badge/badge.component.mjs +39 -0
  2. package/esm2022/lib/components/button/button.component.mjs +3 -3
  3. package/esm2022/lib/components/calendar/calendar.component.mjs +2 -2
  4. package/esm2022/lib/components/chat-bubble/chat-bubble.component.mjs +31 -0
  5. package/esm2022/lib/components/form-input/form-input.component.mjs +2 -2
  6. package/esm2022/lib/components/form-input-select/form-input-select.component.mjs +2 -2
  7. package/esm2022/lib/components/form-input-text-area/form-input-text-area.component.mjs +2 -2
  8. package/esm2022/lib/components/icon/icon.component.mjs +2 -2
  9. package/esm2022/lib/components/notification/notification.component.mjs +2 -2
  10. package/esm2022/lib/components/spinner/spinner.component.mjs +19 -0
  11. package/esm2022/lib/directives/button-loader.directive.mjs +3 -3
  12. package/esm2022/lib/interfaces/icon.interface.mjs +2 -2
  13. package/esm2022/lib/library.module.mjs +18 -3
  14. package/esm2022/lib/utils/attribute.util.mjs +1 -1
  15. package/esm2022/public-api.mjs +4 -1
  16. package/fesm2022/carefirst-library.mjs +110 -24
  17. package/fesm2022/carefirst-library.mjs.map +1 -1
  18. package/lib/components/badge/badge.component.d.ts +15 -0
  19. package/lib/components/chat-bubble/chat-bubble.component.d.ts +13 -0
  20. package/lib/components/spinner/spinner.component.d.ts +9 -0
  21. package/lib/interfaces/icon.interface.d.ts +1 -1
  22. package/lib/library.module.d.ts +7 -4
  23. package/package.json +1 -1
  24. package/public/styles/colors.scss +2 -2
  25. package/public/styles/font.scss +2 -2
  26. package/public-api.d.ts +3 -0
@@ -0,0 +1,15 @@
1
+ import { type OnChanges, type SimpleChanges } from '@angular/core';
2
+ import { type IconsT } from '../../interfaces/icon.interface';
3
+ import * as i0 from "@angular/core";
4
+ declare const badgeTypeC: readonly ["primary", "alert", "accent", "warning", "disabled", "feedback-success", "feedback-error", "feedback-warning", "feedback-busy"];
5
+ type BadgeTypeT = (typeof badgeTypeC)[number];
6
+ export declare class BadgeComponent implements OnChanges {
7
+ type: BadgeTypeT;
8
+ icon?: IconsT | undefined;
9
+ inputType: typeof this.type;
10
+ inputIcon: typeof this.icon | undefined;
11
+ ngOnChanges(changes: SimpleChanges): void;
12
+ static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
13
+ static ɵcmp: i0.ɵɵComponentDeclaration<BadgeComponent, "cf-badge", never, { "type": { "alias": "type"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, {}, never, ["*"], false, never>;
14
+ }
15
+ export {};
@@ -0,0 +1,13 @@
1
+ import { type OnChanges, type SimpleChanges } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class ChatBubbleComponent implements OnChanges {
4
+ type: 'outgoing' | 'incoming';
5
+ date: string;
6
+ message: string;
7
+ inputType: typeof this.type;
8
+ inputDate: typeof this.date;
9
+ inputMessage: typeof this.message;
10
+ ngOnChanges(changes: SimpleChanges): void;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<ChatBubbleComponent, never>;
12
+ static ɵcmp: i0.ɵɵComponentDeclaration<ChatBubbleComponent, "cf-chat-bubble", never, { "type": { "alias": "type"; "required": false; }; "date": { "alias": "date"; "required": false; }; "message": { "alias": "message"; "required": false; }; }, {}, never, never, false, never>;
13
+ }
@@ -0,0 +1,9 @@
1
+ import { type OnChanges, type SimpleChanges } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class SpinnerComponent implements OnChanges {
4
+ size: number | string;
5
+ inputSize: number;
6
+ ngOnChanges(changes: SimpleChanges): void;
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<SpinnerComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<SpinnerComponent, "cf-spinner", never, { "size": { "alias": "size"; "required": false; }; }, {}, never, never, false, never>;
9
+ }
@@ -1,4 +1,4 @@
1
1
  export 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", "lock", "show-password", "hide-password", "circle-check", "circle-alert", "direction-switch", "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", "open-back-arrow", "open-forward-arrow", "open-up-arrow", "open-down-arrow", "single-document", "lightning", "microsoft-365", "user-dependent", "plus"];
2
2
  export type IconsT = (typeof iconsC)[number];
3
- export declare const iconColorC: readonly ["primary", "secondary", "success", "warning", "error", "white"];
3
+ export declare const iconColorC: readonly ["primary", "secondary", "success", "warning", "error", "white", "accent"];
4
4
  export type IconColorT = (typeof iconColorC)[number];
@@ -12,11 +12,14 @@ import * as i10 from "./components/form-validation/form-validation.component";
12
12
  import * as i11 from "./components/form-input/form-input.component";
13
13
  import * as i12 from "./components/form-input-select/form-input-select.component";
14
14
  import * as i13 from "./components/form-input-text-area/form-input-text-area.component";
15
- import * as i14 from "@ionic/angular";
16
- import * as i15 from "@angular/common";
17
- import * as i16 from "@angular/forms";
15
+ import * as i14 from "./components/chat-bubble/chat-bubble.component";
16
+ import * as i15 from "./components/badge/badge.component";
17
+ import * as i16 from "./components/spinner/spinner.component";
18
+ import * as i17 from "@ionic/angular";
19
+ import * as i18 from "@angular/common";
20
+ import * as i19 from "@angular/forms";
18
21
  export declare class CareFirstLibraryModule {
19
22
  static ɵfac: i0.ɵɵFactoryDeclaration<CareFirstLibraryModule, never>;
20
- static ɵmod: i0.ɵɵNgModuleDeclaration<CareFirstLibraryModule, [typeof i1.PageComponent, typeof i2.ButtonComponent, typeof i3.SpacerComponent, typeof i4.IconComponent, typeof i5.ButtonLoaderDirective, typeof i6.NotificationComponent, typeof i7.AlertComponent, typeof i8.LogoComponent, typeof i9.CalendarComponent, typeof i10.FormValidationComponent, typeof i11.FormInputComponent, typeof i12.FormInputSelectComponent, typeof i13.FormInputTextAreaComponent], [typeof i14.IonicModule, typeof i15.CommonModule, typeof i16.ReactiveFormsModule], [typeof i1.PageComponent, typeof i2.ButtonComponent, typeof i3.SpacerComponent, typeof i4.IconComponent, typeof i5.ButtonLoaderDirective, typeof i6.NotificationComponent, typeof i7.AlertComponent, typeof i8.LogoComponent, typeof i9.CalendarComponent, typeof i10.FormValidationComponent, typeof i11.FormInputComponent, typeof i12.FormInputSelectComponent, typeof i13.FormInputTextAreaComponent]>;
23
+ static ɵmod: i0.ɵɵNgModuleDeclaration<CareFirstLibraryModule, [typeof i1.PageComponent, typeof i2.ButtonComponent, typeof i3.SpacerComponent, typeof i4.IconComponent, typeof i5.ButtonLoaderDirective, typeof i6.NotificationComponent, typeof i7.AlertComponent, typeof i8.LogoComponent, typeof i9.CalendarComponent, typeof i10.FormValidationComponent, typeof i11.FormInputComponent, typeof i12.FormInputSelectComponent, typeof i13.FormInputTextAreaComponent, typeof i14.ChatBubbleComponent, typeof i15.BadgeComponent, typeof i16.SpinnerComponent], [typeof i17.IonicModule, typeof i18.CommonModule, typeof i19.ReactiveFormsModule], [typeof i1.PageComponent, typeof i2.ButtonComponent, typeof i3.SpacerComponent, typeof i4.IconComponent, typeof i5.ButtonLoaderDirective, typeof i6.NotificationComponent, typeof i7.AlertComponent, typeof i8.LogoComponent, typeof i9.CalendarComponent, typeof i10.FormValidationComponent, typeof i11.FormInputComponent, typeof i12.FormInputSelectComponent, typeof i13.FormInputTextAreaComponent, typeof i14.ChatBubbleComponent, typeof i15.BadgeComponent, typeof i16.SpinnerComponent]>;
21
24
  static ɵinj: i0.ɵɵInjectorDeclaration<CareFirstLibraryModule>;
22
25
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carefirst/library",
3
- "version": "1.3.7",
3
+ "version": "1.3.9",
4
4
  "author": "Jacques Francois Coetzee",
5
5
  "private": false,
6
6
  "peerDependencies": {
@@ -14,7 +14,7 @@
14
14
  --cf-app-system-color-grey: #e1e1e1;
15
15
  --cf-app-system-color-outline: #bdbdbd;
16
16
  --cf-app-system-color-disabled: #d9d9d9de;
17
- --cf-app-system-color-light-green: #e1eee4;
18
- --cf-app-system-color-light-red: #f6d0d9;
17
+ --cf-app-system-color-light-success: #e1eee4;
18
+ --cf-app-system-color-light-error: #f6d0d9;
19
19
  --cf-app-system-color-light-warning: #fae0ab;
20
20
  }
@@ -198,7 +198,7 @@ p.body-standard {
198
198
 
199
199
  p.body-medium {
200
200
  font-size: 1.4rem;
201
- line-height: 1.6rem;
201
+ line-height: 2rem;
202
202
  }
203
203
 
204
204
  p.body-small {
@@ -226,7 +226,7 @@ p.body-extra-extra-small {
226
226
 
227
227
  p.body-standard {
228
228
  font-size: 1.8rem;
229
- line-height: 2.4rem;
229
+ line-height: 2.6rem;
230
230
  }
231
231
 
232
232
  p.body-medium {
package/public-api.d.ts CHANGED
@@ -13,6 +13,9 @@ export * from './lib/components/form-validation/form-validation.component';
13
13
  export * from './lib/components/form-input/form-input.component';
14
14
  export * from './lib/components/form-input-select/form-input-select.component';
15
15
  export * from './lib/components/form-input-text-area/form-input-text-area.component';
16
+ export * from './lib/components/chat-bubble/chat-bubble.component';
17
+ export * from './lib/components/badge/badge.component';
18
+ export * from './lib/components/spinner/spinner.component';
16
19
  export * as CFAlertI from './lib/interfaces/alert.interface';
17
20
  export * as CFIconI from './lib/interfaces/icon.interface';
18
21
  export * as CFSpacerI from './lib/interfaces/spacer.interface';