@energycap/components 0.39.0 → 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.
@@ -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 varialbe with var() function. For example: var(--ec-background-color-success);
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@energycap/components",
3
- "version": "0.39.0",
3
+ "version": "0.39.1-ECAP-19153-carbonhub-tours.20231103-1450",
4
4
  "dependencies": {
5
5
  "tslib": "^2.0.0"
6
6
  },
@@ -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);