@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.
@@ -4,7 +4,7 @@ var BUILD = {
4
4
  slotRelocation: true};
5
5
 
6
6
  /*
7
- Stencil Client Platform v4.45.2 | MIT Licensed | https://stenciljs.com
7
+ Stencil Client Platform v4.45.6 | MIT Licensed | https://stenciljs.com
8
8
  */
9
9
 
10
10
 
@@ -74,6 +74,7 @@ function getHostSlotNodes(childNodes, hostName, slotName) {
74
74
  if (typeof slotName !== "undefined") return slottedNodes;
75
75
  }
76
76
  slottedNodes = [...slottedNodes, ...getHostSlotNodes(internalCall(childNode, "childNodes"), hostName, slotName)];
77
+ if (typeof slotName !== "undefined" && slottedNodes.length) return slottedNodes;
77
78
  }
78
79
  return slottedNodes;
79
80
  }
@@ -271,6 +272,8 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags, initialRen
271
272
  memberName = memberName.slice(3);
272
273
  } else if (isMemberInElement(win, ln)) {
273
274
  memberName = ln.slice(2);
275
+ } else if (memberName.endsWith(CAPTURE_EVENT_SUFFIX) && isMemberInElement(win, ln.slice(0, -CAPTURE_EVENT_SUFFIX.length))) {
276
+ memberName = ln.slice(2, -CAPTURE_EVENT_SUFFIX.length) + CAPTURE_EVENT_SUFFIX;
274
277
  } else {
275
278
  memberName = ln[2] + memberName.slice(3);
276
279
  }