@wdio/image-comparison-core 1.0.1 → 1.0.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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @wdio/image-comparison-core
2
2
 
3
+ ## 1.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 8ff1bc3: # 🐛 BugFix
8
+
9
+ ## #1078: Cursor inside shadow is shown, even with disableBlinkingCursor
10
+
11
+ Fix option "disableBlinkingCursor" to also work within shadowdom
12
+
13
+ # Committers: 1
14
+
15
+ - Carlo Jeske ([@plusgut](https://github.com/plusgut))
16
+
3
17
  ## 1.0.1
4
18
 
5
19
  ### Patch Changes
@@ -23,7 +23,7 @@ export default function setCustomCss(cssOptions) {
23
23
  const { addressBarPadding, disableBlinkingCursor, disableCSSAnimation, id, toolBarPadding } = cssOptions;
24
24
  const bodyTopPadding = addressBarPadding === 0 ? '' : `body{padding-top:${addressBarPadding}px !important}`;
25
25
  const bodyBottomPadding = toolBarPadding === 0 ? '' : `body{padding-bottom:${toolBarPadding}px !important}`;
26
- const disableBlinkingCursorCss = disableBlinkingCursor ? ' input, textarea, [contenteditable]{caret-color: transparent !important;}' : '';
26
+ const disableBlinkingCursorCss = disableBlinkingCursor ? ' *{caret-color: transparent !important;}' : '';
27
27
  const css = (disableCSSAnimation ? disableTransformationsTransitionsAnimations : '') +
28
28
  bodyTopPadding +
29
29
  bodyBottomPadding +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wdio/image-comparison-core",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "author": "Wim Selles - wswebcreation",
5
5
  "description": "Image comparison core module for @wdio/visual-service - WebdriverIO visual testing framework",
6
6
  "keywords": [