@energycap/components 0.38.8-ECAP-19394-form-branding-updates.20231103-1409 → 0.39.1-ECAP-19153-carbonhub-tours.20231103-1450
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/energycap-components.min.css +1 -1
- package/esm2020/lib/display/tooltip/tooltip.component.mjs +6 -3
- package/esm2020/lib/display/tooltip/tooltip.service.mjs +2 -1
- package/esm2020/lib/display/tour/tour.component.mjs +3 -2
- package/fesm2015/energycap-components.mjs +8 -3
- package/fesm2015/energycap-components.mjs.map +1 -1
- package/fesm2020/energycap-components.mjs +8 -3
- package/fesm2020/energycap-components.mjs.map +1 -1
- package/lib/display/tooltip/tooltip.component.d.ts +6 -1
- package/package.json +1 -1
- package/src/styles/_global-variables.scss +2 -0
@@ -39,9 +39,13 @@ export interface TooltipOptions {
|
|
39
39
|
*/
|
40
40
|
maxWidth?: number;
|
41
41
|
/**
|
42
|
-
* Customize the background color. Can be any color value or css
|
42
|
+
* Customize the background color. Can be any color value or css variable with var() function. For example: var(--ec-background-color-success);
|
43
43
|
*/
|
44
44
|
backgroundColor?: string;
|
45
|
+
/**
|
46
|
+
* Customize the color of the title text. Can be any color value or css variable with var() function. For example: var(--ec-color-primary-light);
|
47
|
+
*/
|
48
|
+
titleColor?: string;
|
45
49
|
/**
|
46
50
|
* Flag to hide the arrow of the tooltip. Showing the arrow is the default.
|
47
51
|
*/
|
@@ -58,6 +62,7 @@ export declare class TooltipComponent implements TooltipOptions {
|
|
58
62
|
overlayRef?: OverlayRef;
|
59
63
|
hideArrow?: boolean;
|
60
64
|
backgroundColor?: string;
|
65
|
+
titleColor?: string;
|
61
66
|
onHide: EventEmitter<void>;
|
62
67
|
hide(): void;
|
63
68
|
static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
|
package/package.json
CHANGED
@@ -138,6 +138,8 @@
|
|
138
138
|
|
139
139
|
// TODO: where is this used and what would the new value be
|
140
140
|
--ec-color-accrual: #{$ec-color-accrual};
|
141
|
+
|
142
|
+
--ec-color-tour-title: var(--ec-color-primary-light);
|
141
143
|
|
142
144
|
--ec-background-color: rgb(255, 255, 255);
|
143
145
|
--ec-background-color-overlay: rgba(255, 255, 255, .7);
|