@carefirst/library 3.2.1 → 3.2.3
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/esm2022/lib/components/alert/alert.component.mjs +4 -4
- package/esm2022/lib/components/badge/badge.component.mjs +11 -19
- package/esm2022/lib/components/button/button.component.mjs +4 -4
- package/esm2022/lib/components/calendar/calendar.component.mjs +4 -4
- package/esm2022/lib/components/chat-bubble/chat-bubble.component.mjs +4 -4
- package/esm2022/lib/components/form-input/form-input.component.mjs +4 -4
- package/esm2022/lib/components/form-input-select/form-input-select.component.mjs +4 -4
- package/esm2022/lib/components/form-input-text-area/form-input-text-area.component.mjs +4 -4
- package/esm2022/lib/components/form-validation/form-validation.component.mjs +4 -4
- package/esm2022/lib/components/icon/icon.component.mjs +4 -4
- package/esm2022/lib/components/logo/logo.component.mjs +4 -4
- package/esm2022/lib/components/mix-p/mix-p.component.mjs +4 -4
- package/esm2022/lib/components/notification/notification.component.mjs +4 -4
- package/esm2022/lib/components/page/page.component.mjs +4 -4
- package/esm2022/lib/components/spacer/spacer.component.mjs +4 -4
- package/esm2022/lib/components/spinner/spinner.component.mjs +4 -4
- package/esm2022/lib/components/verification-code/verification-code.component.mjs +4 -4
- package/esm2022/lib/directives/button-loader.directive.mjs +7 -7
- package/esm2022/lib/interfaces/badge.interface.mjs +15 -0
- package/esm2022/lib/library.module.mjs +5 -5
- package/esm2022/public-api.mjs +2 -1
- package/fesm2022/carefirst-library.mjs +74 -63
- 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/package.json +3 -3
- 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 {};
|
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@carefirst/library",
|
3
|
-
"version": "3.2.
|
3
|
+
"version": "3.2.3",
|
4
4
|
"author": "Jacques Francois Coetzee",
|
5
5
|
"private": false,
|
6
6
|
"peerDependencies": {
|
7
|
-
"@angular/common": "^17.3.8",
|
8
|
-
"@angular/core": "^17.3.8",
|
7
|
+
"@angular/common": "^17.3.8 || ^18.0.0",
|
8
|
+
"@angular/core": "^17.3.8 || ^18.0.0",
|
9
9
|
"@ionic/angular": "^8.1.1",
|
10
10
|
"dayjs": "^1.11.10",
|
11
11
|
"password-validator": "^5.3.0"
|
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';
|