@domql/utils 2.28.66 → 2.28.69

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/component.js CHANGED
@@ -197,7 +197,7 @@ export const hasVariantProp = element => {
197
197
  }
198
198
 
199
199
  export function getChildrenComponentsByKey (key) {
200
- if (key === thiskey || this.__ref.__componentKey === key) {
200
+ if (key === this.key || this.__ref.__componentKey === key) {
201
201
  return this
202
202
  }
203
203
 
@@ -195,7 +195,7 @@ const hasVariantProp = (element) => {
195
195
  if ((0, import_types.isObject)(props) && (0, import_types.isString)(props.variant)) return true;
196
196
  };
197
197
  function getChildrenComponentsByKey(key) {
198
- if (key === thiskey || this.__ref.__componentKey === key) {
198
+ if (key === this.key || this.__ref.__componentKey === key) {
199
199
  return this;
200
200
  }
201
201
  if (this.extend) {
@@ -176,7 +176,7 @@ const hasVariantProp = (element) => {
176
176
  if (isObject(props) && isString(props.variant)) return true;
177
177
  };
178
178
  function getChildrenComponentsByKey(key) {
179
- if (key === thiskey || this.__ref.__componentKey === key) {
179
+ if (key === this.key || this.__ref.__componentKey === key) {
180
180
  return this;
181
181
  }
182
182
  if (this.extend) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@domql/utils",
3
- "version": "2.28.66",
3
+ "version": "2.28.69",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "module": "index.js",
@@ -24,7 +24,7 @@
24
24
  "build": "npx rimraf -I dist; npm run build:cjs; npm run build:esm",
25
25
  "prepublish": "npm run build; npm run copy:package:cjs"
26
26
  },
27
- "gitHead": "0cf2fa8ef08893a8abbaeb94463cfc1b459b6399",
27
+ "gitHead": "1f59bb47b71dd8e8d2c0f3fa9fdeb2ff5c6de8d4",
28
28
  "devDependencies": {
29
29
  "@babel/core": "^7.27.1"
30
30
  }