@mgdis/core-ui-helpers 1.5.0 → 1.6.1

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.
@@ -10,7 +10,7 @@
10
10
  slotRelocation: true};
11
11
 
12
12
  /*
13
- Stencil Client Platform v4.45.2 | MIT Licensed | https://stenciljs.com
13
+ Stencil Client Platform v4.45.6 | MIT Licensed | https://stenciljs.com
14
14
  */
15
15
 
16
16
 
@@ -80,6 +80,7 @@
80
80
  if (typeof slotName !== "undefined") return slottedNodes;
81
81
  }
82
82
  slottedNodes = [...slottedNodes, ...getHostSlotNodes(internalCall(childNode, "childNodes"), hostName, slotName)];
83
+ if (typeof slotName !== "undefined" && slottedNodes.length) return slottedNodes;
83
84
  }
84
85
  return slottedNodes;
85
86
  }
@@ -277,6 +278,8 @@
277
278
  memberName = memberName.slice(3);
278
279
  } else if (isMemberInElement(win, ln)) {
279
280
  memberName = ln.slice(2);
281
+ } else if (memberName.endsWith(CAPTURE_EVENT_SUFFIX) && isMemberInElement(win, ln.slice(0, -CAPTURE_EVENT_SUFFIX.length))) {
282
+ memberName = ln.slice(2, -CAPTURE_EVENT_SUFFIX.length) + CAPTURE_EVENT_SUFFIX;
280
283
  } else {
281
284
  memberName = ln[2] + memberName.slice(3);
282
285
  }