@genesislcap/foundation-utils 14.78.0 → 14.78.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.
@@ -341,6 +341,59 @@
341
341
  }
342
342
  ]
343
343
  },
344
+ {
345
+ "kind": "javascript-module",
346
+ "path": "src/decorators/index.ts",
347
+ "declarations": [],
348
+ "exports": [
349
+ {
350
+ "kind": "js",
351
+ "name": "*",
352
+ "declaration": {
353
+ "name": "*",
354
+ "package": "./renderOnChange"
355
+ }
356
+ }
357
+ ]
358
+ },
359
+ {
360
+ "kind": "javascript-module",
361
+ "path": "src/decorators/renderOnChange.ts",
362
+ "declarations": [
363
+ {
364
+ "kind": "function",
365
+ "name": "renderOnChange",
366
+ "parameters": [
367
+ {
368
+ "name": "target",
369
+ "type": {
370
+ "text": "FASTElement & { render(): void }"
371
+ },
372
+ "description": "The target to define the property change handler on."
373
+ },
374
+ {
375
+ "name": "name",
376
+ "type": {
377
+ "text": "string"
378
+ },
379
+ "description": "The property name."
380
+ }
381
+ ],
382
+ "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
383
+ "privacy": "public"
384
+ }
385
+ ],
386
+ "exports": [
387
+ {
388
+ "kind": "js",
389
+ "name": "renderOnChange",
390
+ "declaration": {
391
+ "name": "renderOnChange",
392
+ "module": "src/decorators/renderOnChange.ts"
393
+ }
394
+ }
395
+ ]
396
+ },
344
397
  {
345
398
  "kind": "javascript-module",
346
399
  "path": "src/design-system/design-system.ts",
@@ -413,59 +466,6 @@
413
466
  }
414
467
  ]
415
468
  },
416
- {
417
- "kind": "javascript-module",
418
- "path": "src/decorators/index.ts",
419
- "declarations": [],
420
- "exports": [
421
- {
422
- "kind": "js",
423
- "name": "*",
424
- "declaration": {
425
- "name": "*",
426
- "package": "./renderOnChange"
427
- }
428
- }
429
- ]
430
- },
431
- {
432
- "kind": "javascript-module",
433
- "path": "src/decorators/renderOnChange.ts",
434
- "declarations": [
435
- {
436
- "kind": "function",
437
- "name": "renderOnChange",
438
- "parameters": [
439
- {
440
- "name": "target",
441
- "type": {
442
- "text": "FASTElement & { render(): void }"
443
- },
444
- "description": "The target to define the property change handler on."
445
- },
446
- {
447
- "name": "name",
448
- "type": {
449
- "text": "string"
450
- },
451
- "description": "The property name."
452
- }
453
- ],
454
- "description": "Defines a property changed handler that calls a render() method on the target as an internal observation enhancement.",
455
- "privacy": "public"
456
- }
457
- ],
458
- "exports": [
459
- {
460
- "kind": "js",
461
- "name": "renderOnChange",
462
- "declaration": {
463
- "name": "renderOnChange",
464
- "module": "src/decorators/renderOnChange.ts"
465
- }
466
- }
467
- ]
468
- },
469
469
  {
470
470
  "kind": "javascript-module",
471
471
  "path": "src/env/index.ts",
@@ -170,7 +170,7 @@ export const LifecycleMixin = (Base) => { var _instances, __container, __latestT
170
170
  return { _key: 'dom' };
171
171
  }
172
172
  const shadowHost = e.getRootNode().host;
173
- if (shadowHost.constructor.name === 'FoundationLayout') {
173
+ if (shadowHost.class === 'FoundationLayoutMain') {
174
174
  const layoutHost = shadowHost;
175
175
  layoutHost._key = 'foundation-layout';
176
176
  return layoutHost;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@genesislcap/foundation-utils",
3
3
  "description": "Genesis Foundation Utils",
4
- "version": "14.78.0",
4
+ "version": "14.78.1",
5
5
  "sideEffects": false,
6
6
  "license": "SEE LICENSE IN license.txt",
7
7
  "main": "dist/esm/index.js",
@@ -41,5 +41,5 @@
41
41
  "access": "public"
42
42
  },
43
43
  "customElements": "dist/custom-elements.json",
44
- "gitHead": "584ca63fcfc3786d84e4c062252f8a1a28be3a87"
44
+ "gitHead": "8a551336faba5c35eaadecd33f073de0f8e182b8"
45
45
  }