@carefirst/library 3.2.0 → 3.2.2

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.
@@ -1,20 +1,20 @@
1
1
  import { type OnChanges, type SimpleChanges } from '@angular/core';
2
2
  import { type IconsT } from '../../interfaces/icon.interface';
3
+ import { type BadgeTypeT } from '../../interfaces/badge.interface';
3
4
  import * as i0 from "@angular/core";
4
- declare const badgeTypeC: readonly ["primary", "white", "success", "alert", "accent", "warning", "disabled", "feedback-success", "feedback-error", "feedback-warning", "feedback-busy", "custom-color"];
5
- type BadgeTypeT = (typeof badgeTypeC)[number];
6
5
  export declare class BadgeComponent implements OnChanges {
7
6
  type: BadgeTypeT;
8
7
  icon?: IconsT | undefined;
9
8
  small?: boolean | string | undefined;
10
9
  large?: boolean | string | undefined;
10
+ stretch?: boolean | string | undefined;
11
11
  inputType: typeof this.type;
12
12
  inputIcon: typeof this.icon | undefined;
13
13
  fontsize: number;
14
14
  inputSmall: boolean;
15
15
  inputLarge: boolean;
16
+ inputStretch: boolean;
16
17
  ngOnChanges(changes: SimpleChanges): void;
17
18
  static ɵfac: i0.ɵɵFactoryDeclaration<BadgeComponent, never>;
18
- 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; }; }, {}, never, ["*"], false, never>;
19
+ 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>;
19
20
  }
20
- export {};
@@ -0,0 +1,2 @@
1
+ export declare const badgeTypeC: readonly ["primary", "white", "success", "alert", "accent", "warning", "disabled", "feedback-success", "feedback-error", "feedback-warning", "feedback-busy", "custom-color"];
2
+ export type BadgeTypeT = (typeof badgeTypeC)[number];
@@ -1,4 +1,4 @@
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", "bell", "lock", "show-password", "hide-password", "circle-check", "circle-alert", "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", "open-back-arrow", "open-forward-arrow", "open-up-arrow", "open-down-arrow", "single-document", "lightning", "microsoft-365", "user-dependent", "plus", "close-box", "speech-bubble", "camera-switch", "retry", "download", "upload", "print"];
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", "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", "open-back-arrow", "open-forward-arrow", "open-up-arrow", "open-down-arrow", "single-document", "lightning", "microsoft-365", "user-dependent", "plus", "close-box", "speech-bubble", "camera-switch", "retry", "download", "upload", "upload-document", "print"];
2
2
  export type IconsT = (typeof iconsC)[number];
3
3
  export declare const iconColorC: readonly ["primary", "secondary", "success", "warning", "error", "white", "accent"];
4
4
  export type IconColorT = (typeof iconColorC)[number];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@carefirst/library",
3
- "version": "3.2.0",
3
+ "version": "3.2.2",
4
4
  "author": "Jacques Francois Coetzee",
5
5
  "private": false,
6
6
  "peerDependencies": {
@@ -119,3 +119,11 @@ cf-icon {
119
119
  display: block;
120
120
  width: fit-content;
121
121
  }
122
+
123
+ /*===============================================
124
+ =================== CF Badges ==================
125
+ ===============================================*/
126
+ cf-badge:has(div.stretch) {
127
+ width: 100%;
128
+ display: block;
129
+ }
package/public-api.d.ts CHANGED
@@ -24,3 +24,4 @@ export * as CFSpacerI from './lib/interfaces/spacer.interface';
24
24
  export * as CFNotificationI from './lib/interfaces/notification.interface';
25
25
  export * as CFInputI from './lib/interfaces/input.interface';
26
26
  export * as CFCodeInputI from './lib/interfaces/verification-code.interface';
27
+ export * as CFBadgeI from './lib/interfaces/badge.interface';