@domql/element 2.5.163 → 2.5.165

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/dist/cjs/set.js CHANGED
@@ -79,7 +79,7 @@ const set = function(params, options = {}, el) {
79
79
  if (!childProps && element.childProps)
80
80
  params.childProps = element.childProps;
81
81
  if (!(props == null ? void 0 : props.childProps) && ((_a = element.props) == null ? void 0 : _a.childProps)) {
82
- params.props.childProps = element.props.childProps;
82
+ props.childProps = element.props.childProps;
83
83
  }
84
84
  if (lazyLoad) {
85
85
  window.requestAnimationFrame(() => resetElement(params, element, options));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domql/element",
3
- "version": "2.5.163",
3
+ "version": "2.5.165",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "index.js",
@@ -26,12 +26,12 @@
26
26
  "prepublish": "rimraf -I dist && npm run build && npm run copy:package:cjs"
27
27
  },
28
28
  "dependencies": {
29
- "@domql/event": "^2.5.162",
30
- "@domql/render": "^2.5.162",
31
- "@domql/state": "^2.5.162",
32
- "@domql/utils": "^2.5.162"
29
+ "@domql/event": "^2.5.164",
30
+ "@domql/render": "^2.5.164",
31
+ "@domql/state": "^2.5.164",
32
+ "@domql/utils": "^2.5.164"
33
33
  },
34
- "gitHead": "3167e416b9637034d945ce135fa8002755b6d27a",
34
+ "gitHead": "6ec2d38d8a1271e354de2e91bf79615fbc9518c2",
35
35
  "devDependencies": {
36
36
  "@babel/core": "^7.12.0"
37
37
  }
package/props/inherit.js CHANGED
@@ -28,6 +28,7 @@ export const inheritParentProps = (element, parent) => {
28
28
  propsStack.push(objectizeStringProperty(matchParent))
29
29
  }
30
30
  }
31
+
31
32
  if (matchParentChildProps && !element?.props?.ignoreChildProps) propsStack.push(matchParentChildProps)
32
33
 
33
34
  return propsStack
package/set.js CHANGED
@@ -55,7 +55,7 @@ export const set = function (params, options = {}, el) {
55
55
  if (!childExtend && element.childExtend) params.childExtend = element.childExtend
56
56
  if (!childProps && element.childProps) params.childProps = element.childProps
57
57
  if (!props?.childProps && element.props?.childProps) {
58
- params.props.childProps = element.props.childProps
58
+ props.childProps = element.props.childProps
59
59
  }
60
60
 
61
61
  if (lazyLoad) {