ahdjs 0.0.210 → 0.0.212

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.
@@ -158,6 +158,19 @@ export default class GuideChimp {
158
158
  setControlPosition(controlEl: any): GuideChimp;
159
159
  setTooltipPosition(tooltipEl: any, options?: {}): GuideChimp;
160
160
  _tooltipShowTimer: any;
161
+ /**
162
+ * Color the tooltip caret to match the tooltip's rendered background, mirroring
163
+ * the email editor (where the caret takes its canvasColor). Read the inline style
164
+ * first so gradient strings survive, then fall back to the computed background
165
+ * color. The colored border side depends on which tooltip edge the caret sits on
166
+ * (opposite the tooltip's position). Demo and element steps share this so the
167
+ * caret matches the body in every branch.
168
+ *
169
+ * @param {HTMLElement} tooltipEl
170
+ * @param {string} position - resolved position: top | bottom | left | right
171
+ * @returns {this}
172
+ */
173
+ colorTooltipCaret(tooltipEl: HTMLElement, position: string): this;
161
174
  /**
162
175
  * Position the tooltip caret/tail so it points at the center of the target element,
163
176
  * regardless of how the tooltip body has been shifted or clamped within the viewport.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ahdjs",
3
- "version": "0.0.210",
3
+ "version": "0.0.212",
4
4
  "description": "",
5
5
  "main": "build/index.js",
6
6
  "types": "build/types/index.d.ts",