@carefirst/library 3.2.0 → 3.2.2
Sign up to get free protection for your applications and to get access to all the features.
- package/esm2022/lib/components/badge/badge.component.mjs +9 -17
- package/esm2022/lib/components/button/button.component.mjs +2 -2
- package/esm2022/lib/components/icon/icon.component.mjs +3 -3
- package/esm2022/lib/interfaces/badge.interface.mjs +15 -0
- package/esm2022/lib/interfaces/icon.interface.mjs +3 -1
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/carefirst-library.mjs +20 -7
- package/fesm2022/carefirst-library.mjs.map +1 -1
- package/lib/components/badge/badge.component.d.ts +4 -4
- package/lib/interfaces/badge.interface.d.ts +2 -0
- package/lib/interfaces/icon.interface.d.ts +1 -1
- package/package.json +1 -1
- package/public/styles/app.scss +8 -0
- package/public-api.d.ts +1 -0
@@ -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 {};
|
@@ -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
package/public/styles/app.scss
CHANGED
@@ -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';
|