@energycap/components 0.39.9-ECAP-23221-bc-file-upload-dialog.20240229-1206 → 0.39.9-ECAP-23262-add-new-system-tag.20240304-1559
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/esm2020/lib/display/confirm/confirm.component.mjs +3 -5
- package/esm2020/lib/display/tags/tag.mjs +1 -1
- package/esm2020/lib/display/tags/tags.component.mjs +2 -2
- package/esm2020/lib/shared/page/page-view/page-view.component.mjs +3 -7
- package/fesm2015/energycap-components.mjs +6 -12
- package/fesm2015/energycap-components.mjs.map +1 -1
- package/fesm2020/energycap-components.mjs +6 -12
- package/fesm2020/energycap-components.mjs.map +1 -1
- package/lib/display/confirm/confirm.component.d.ts +0 -2
- package/lib/display/tags/tag.d.ts +1 -1
- package/lib/shared/page/page-view/page-view.component.d.ts +1 -3
- package/package.json +1 -1
- package/src/styles/mixins/_tags-base.scss +2 -1
@@ -51,8 +51,6 @@ export declare class ConfirmDialogContext {
|
|
51
51
|
saveButtonType?: ButtonType;
|
52
52
|
/** Optional cancel button label */
|
53
53
|
cancelLabel?: string;
|
54
|
-
/** Optional flag for hiding the cancel (secondary) button */
|
55
|
-
hideCancel?: boolean;
|
56
54
|
/** When true, adds the submit tag to the save button so hitting enter triggers the save */
|
57
55
|
saveOnEnter?: boolean;
|
58
56
|
/** Optional alternate save button label */
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/** Tag type used to style the tag */
|
2
|
-
export type TagType = "info" | "success" | "warning" | "danger" | "accent" | "chargeback" | "accrual" | "inverted";
|
2
|
+
export type TagType = "info" | "success" | "warning" | "danger" | "accent" | "chargeback" | "accrual" | "inverted" | "system";
|
3
3
|
/** Link target options, shared amongst tag, menu and item display */
|
4
4
|
export type LinkTarget = '_self' | '_blank' | '_parent' | '_top';
|
5
5
|
/** Tag contains a label and type. Type is default by default */
|
@@ -50,8 +50,6 @@ export declare class PageViewComponent {
|
|
50
50
|
*/
|
51
51
|
secondaryActionLabel?: string;
|
52
52
|
hideSecondaryAction: boolean;
|
53
|
-
/** Flag for hiding the tiny close button in the top-right corner of dialog while in pending state only */
|
54
|
-
hideCloseOnPending: boolean;
|
55
53
|
/**
|
56
54
|
* Label for the primary button in the header. Default is 'Save'
|
57
55
|
*/
|
@@ -94,5 +92,5 @@ export declare class PageViewComponent {
|
|
94
92
|
secondaryAction(event: any): void;
|
95
93
|
closeDialog(): void;
|
96
94
|
static ɵfac: i0.ɵɵFactoryDeclaration<PageViewComponent, never>;
|
97
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<PageViewComponent, "ec-page-view", never, { "isDialog": "isDialog"; "readonly": "readonly"; "status": "status"; "showHeader": "showHeader"; "errors": "errors"; "breadcrumbs": "breadcrumbs"; "title": "title"; "titleIcon": "titleIcon"; "subTitle": "subTitle"; "subTitleUrl": "subTitleUrl"; "moreActionsLabel": "moreActionsLabel"; "moreActions": "moreActions"; "secondaryActionLabel": "secondaryActionLabel"; "hideSecondaryAction": "hideSecondaryAction"; "
|
95
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<PageViewComponent, "ec-page-view", never, { "isDialog": "isDialog"; "readonly": "readonly"; "status": "status"; "showHeader": "showHeader"; "errors": "errors"; "breadcrumbs": "breadcrumbs"; "title": "title"; "titleIcon": "titleIcon"; "subTitle": "subTitle"; "subTitleUrl": "subTitleUrl"; "moreActionsLabel": "moreActionsLabel"; "moreActions": "moreActions"; "secondaryActionLabel": "secondaryActionLabel"; "hideSecondaryAction": "hideSecondaryAction"; "primaryActionLabel": "primaryActionLabel"; "hidePrimaryAction": "hidePrimaryAction"; "customTitleTemplate": "customTitleTemplate"; "customActionsTemplate": "customActionsTemplate"; "customHeaderTemplate": "customHeaderTemplate"; "footerTemplate": "footerTemplate"; "customErrorBannerTemplate": "customErrorBannerTemplate"; "stickyFooter": "stickyFooter"; "fitContent": "fitContent"; "bgContent": "bgContent"; }, { "onPrimaryAction": "onPrimaryAction"; "onSecondaryAction": "onSecondaryAction"; }, never, ["*"], false, never>;
|
98
96
|
}
|
package/package.json
CHANGED
@@ -7,7 +7,8 @@ $tag-colors: (
|
|
7
7
|
danger: (bg: var(--ec-color-red-1), border: var(--ec-color-danger)),
|
8
8
|
accent: (bg: var(--ec-color-purple-1), border: var(--ec-color-accent)),
|
9
9
|
chargeback: (bg: var(--ec-color-orange-1), border: var(--ec-color-orange-7)),
|
10
|
-
accrual: (bg: var(--ec-color-aqua-1), border: var(--ec-color-aqua-5))
|
10
|
+
accrual: (bg: var(--ec-color-aqua-1), border: var(--ec-color-aqua-5)),
|
11
|
+
system: (bg: var(--ec-color-gray-1), border: var(--ec-color-gray-4)),
|
11
12
|
);
|
12
13
|
|
13
14
|
@mixin tag-type($type) {
|