@softheon/armature 17.10.0 → 17.10.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.
- package/assets/styles/arm-theme.scss +39 -36
- package/esm2022/lib/base-components/sof-alert/sof-alert.component.mjs +3 -3
- package/esm2022/lib/base-components/sof-badge/sof-badge.component.mjs +77 -15
- package/esm2022/lib/base-components/sof-banner/sof-banner.component.mjs +2 -2
- package/esm2022/lib/base-components/sof-button-toggle-group/sof-button-toggle-group.component.mjs +3 -3
- package/esm2022/lib/base-components/sof-confirm-address/sof-confirm-address.component.mjs +2 -2
- package/esm2022/lib/base-components/sof-handle/sof-handle.component.mjs +2 -2
- package/esm2022/lib/base-components/sof-image-checkbox/sof-image-checkbox.component.mjs +2 -2
- package/esm2022/lib/base-components/sof-input-stepper/sof-input-stepper.component.mjs +2 -2
- package/esm2022/lib/base-components/sof-progress-bar/sof-progress-bar.component.mjs +2 -2
- package/esm2022/lib/base-components/sof-simple-alert/sof-simple-alert.component.mjs +2 -2
- package/esm2022/lib/base-components/sof-star-rating/sof-star-rating.component.mjs +2 -2
- package/esm2022/lib/base-components/sof-sub-navigation/sof-sub-navigation.component.mjs +3 -3
- package/esm2022/lib/base-components/sof-tabs/sof-tabs.component.mjs +2 -2
- package/esm2022/lib/feedback-tool/components/feedback-tool/feedback-tool.component.mjs +2 -2
- package/esm2022/lib/header/components/header/header.component.mjs +2 -2
- package/esm2022/lib/navigation/components/navigation/navigation.component.mjs +2 -2
- package/fesm2022/softheon-armature.mjs +107 -45
- package/fesm2022/softheon-armature.mjs.map +1 -1
- package/lib/base-components/sof-badge/sof-badge.component.d.ts +28 -8
- package/lib/base-components/sof-sub-navigation/sof-sub-navigation.component.d.ts +2 -2
- package/package.json +1 -1
|
@@ -1,30 +1,50 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
export declare class SofBadgeComponent {
|
|
3
|
-
/** Whether to show background color not */
|
|
4
|
-
|
|
5
|
-
/** Whether to show background color not */
|
|
6
|
-
noOutline: boolean;
|
|
3
|
+
/** Whether to show bold background color not */
|
|
4
|
+
bold: boolean;
|
|
7
5
|
/** The language text or a key that will be shown in this component */
|
|
8
6
|
badgeText: string;
|
|
9
7
|
/**
|
|
10
8
|
* The alert color
|
|
11
|
-
* Possible Values: 'info, 'success', 'warn', 'error', 'theme'
|
|
9
|
+
* Possible Values: 'default', 'info, 'success', 'warn', 'error', 'theme'
|
|
12
10
|
*/
|
|
13
11
|
badgeColor: string;
|
|
12
|
+
/** Whether or not to use default icons */
|
|
13
|
+
useIcon: boolean;
|
|
14
14
|
/** The icon class- this should be a font awesome class */
|
|
15
15
|
iconClass: string;
|
|
16
|
-
/**Whether to show colored label */
|
|
17
|
-
coloredLabel: boolean;
|
|
18
16
|
/** The badge aria label */
|
|
19
17
|
badgeAria: string;
|
|
20
18
|
/** The icon aria label */
|
|
21
19
|
iconAria: string;
|
|
20
|
+
/** Whether or not the component has been init */
|
|
21
|
+
initialized: boolean;
|
|
22
22
|
/**
|
|
23
23
|
* The constructor
|
|
24
24
|
*/
|
|
25
25
|
constructor();
|
|
26
26
|
/** On component init */
|
|
27
27
|
ngOnInit(): void;
|
|
28
|
+
/**
|
|
29
|
+
* On component changes
|
|
30
|
+
* This method is used to help show the toggle in the Armature documentation
|
|
31
|
+
* TODO: Implement using signals
|
|
32
|
+
*/
|
|
33
|
+
ngOnChanges(changes: any): void;
|
|
34
|
+
/** Sets the icon based on badge type */
|
|
35
|
+
private setIcon;
|
|
28
36
|
static ɵfac: i0.ɵɵFactoryDeclaration<SofBadgeComponent, never>;
|
|
29
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<SofBadgeComponent, "sof-badge", never, { "
|
|
37
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SofBadgeComponent, "sof-badge", never, { "bold": { "alias": "bold"; "required": false; }; "badgeText": { "alias": "badgeText"; "required": false; }; "badgeColor": { "alias": "badgeColor"; "required": false; }; "useIcon": { "alias": "useIcon"; "required": false; }; "iconClass": { "alias": "iconClass"; "required": false; }; "badgeAria": { "alias": "badgeAria"; "required": false; }; "iconAria": { "alias": "iconAria"; "required": false; }; }, {}, never, never, false, never>;
|
|
38
|
+
}
|
|
39
|
+
export declare enum STATUS {
|
|
40
|
+
INFO = "info",
|
|
41
|
+
SUCCESS = "success",
|
|
42
|
+
WARNING = "warn",
|
|
43
|
+
ERROR = "error"
|
|
44
|
+
}
|
|
45
|
+
export declare enum LINE_OF_COVERAGE {
|
|
46
|
+
MEDICAL = "medical",
|
|
47
|
+
DENTAL = "dental",
|
|
48
|
+
VISION = "vision",
|
|
49
|
+
MEDICARE = "medicare"
|
|
30
50
|
}
|
|
@@ -36,7 +36,7 @@ export declare class SofSubNavigationComponent {
|
|
|
36
36
|
* @property path (optional): string, The URL to navigate to
|
|
37
37
|
* @property disabled (optional): boolean, Is the nav link disabled
|
|
38
38
|
* @property queryParams (optional): Object, The queryParams to add to the path
|
|
39
|
-
* @property
|
|
39
|
+
* @property icon (optional): string, The icon class tag to define the icon
|
|
40
40
|
* */
|
|
41
41
|
export interface SubNavigationData {
|
|
42
42
|
label: string;
|
|
@@ -45,5 +45,5 @@ export interface SubNavigationData {
|
|
|
45
45
|
queryParams?: {
|
|
46
46
|
[key: string]: string | string[];
|
|
47
47
|
};
|
|
48
|
-
|
|
48
|
+
icon?: string;
|
|
49
49
|
}
|