pixi-effects 0.28.1 → 0.28.2

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.
Files changed (33) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +6 -6
  3. package/ai/chat-template.html +3 -3
  4. package/ai/tools/view.mjs +102 -14
  5. package/dist/Composition-H7UNR5F5.js +7 -0
  6. package/dist/{Composition-HFEVIYHN.js.map → Composition-H7UNR5F5.js.map} +1 -1
  7. package/dist/Composition-K6B3APM5.cjs +16 -0
  8. package/dist/{Composition-NI74UJT3.cjs.map → Composition-K6B3APM5.cjs.map} +1 -1
  9. package/dist/{chunk-WEJAQAFX.js → chunk-5MZWXVTT.js} +3 -3
  10. package/dist/{chunk-WEJAQAFX.js.map → chunk-5MZWXVTT.js.map} +1 -1
  11. package/dist/{chunk-AK54FIWM.js → chunk-7VN2KI3U.js} +6 -3
  12. package/dist/chunk-7VN2KI3U.js.map +1 -0
  13. package/dist/{chunk-SBOVUZZY.cjs → chunk-KBH33IQX.cjs} +61 -61
  14. package/dist/{chunk-SBOVUZZY.cjs.map → chunk-KBH33IQX.cjs.map} +1 -1
  15. package/dist/{chunk-MZCDBRTY.cjs → chunk-MJW7KILM.cjs} +6 -3
  16. package/dist/chunk-MJW7KILM.cjs.map +1 -0
  17. package/dist/index.cjs +35 -33
  18. package/dist/index.cjs.map +1 -1
  19. package/dist/index.js +7 -5
  20. package/dist/index.js.map +1 -1
  21. package/dist/loader.css +1 -1
  22. package/dist/three.cjs +5 -5
  23. package/dist/three.js +1 -1
  24. package/llms-full.txt +5 -4
  25. package/package.json +1 -1
  26. package/skills/pixi-effects/SKILL.md +2 -2
  27. package/skills/pixi-effects/reference/direction.md +2 -2
  28. package/skills/pixi-effects/reference/pitfalls.md +1 -0
  29. package/skills/pixi-effects/template.html +6 -6
  30. package/dist/Composition-HFEVIYHN.js +0 -7
  31. package/dist/Composition-NI74UJT3.cjs +0 -16
  32. package/dist/chunk-AK54FIWM.js.map +0 -1
  33. package/dist/chunk-MZCDBRTY.cjs.map +0 -1
@@ -3469,7 +3469,10 @@ var TextSequence = class extends Sequence {
3469
3469
  scope2,
3470
3470
  { skipKeys: STYLE_OPAQUE_KEYS }
3471
3471
  );
3472
+ const unset = Object.keys(resolved).filter((k) => resolved[k] === void 0);
3473
+ if (unset.length) console.warn(`pixi-effects: ${describeLayer(this.spec)}: ${unset.map((k) => `style.${k}`).join(", ")} ${unset.length > 1 ? "are" : "is"} undefined (a variable that was never set?), so ${unset.length > 1 ? "they are" : "it is"} ignored and the default is used: omit the key instead`);
3472
3474
  for (const k of Object.keys(resolved)) {
3475
+ if (unset.includes(k)) continue;
3473
3476
  text.style[k] = resolved[k];
3474
3477
  }
3475
3478
  this.intrinsicWidth = text.width;
@@ -5387,7 +5390,7 @@ function resolveDim(v, scope) {
5387
5390
  var _CompositionSequence = null;
5388
5391
  async function getCompositionSequence() {
5389
5392
  if (!_CompositionSequence) {
5390
- _CompositionSequence = (await import('./Composition-HFEVIYHN.js')).CompositionSequence;
5393
+ _CompositionSequence = (await import('./Composition-H7UNR5F5.js')).CompositionSequence;
5391
5394
  }
5392
5395
  return _CompositionSequence;
5393
5396
  }
@@ -5430,5 +5433,5 @@ async function buildSequenceTree(specs, parent, root) {
5430
5433
  }
5431
5434
 
5432
5435
  export { CameraSequence, DEFAULT_FOV, DEG3 as DEG, FALLOFFS, LIGHT_KINDS, LIGHT_PROPS, LightSequence, MANY_BLURRED, MAX_BLUR, MAX_CASTERS, MAX_LIGHTS, MIN_BLUR, NEAR, NullSequence, SHADOW_TAPS, Sequence, bindClock, blurRadius, buildScope, buildSequenceTree, cameraBasis, checkEase, clockTable, contentLength, createTimeline, ensureFilterLibrary, evaluateExpr, flattenSvgPath, focusProblems, homeCamera, homeDistance, layerInitialZ, layerToWorld, lengthen, lightLevel, noise, packLights, parseEase, projectLayer, projectPoint, rand, random, registerSequenceType, remapOf, resolveAt, timeRemapOf };
5433
- //# sourceMappingURL=chunk-AK54FIWM.js.map
5434
- //# sourceMappingURL=chunk-AK54FIWM.js.map
5436
+ //# sourceMappingURL=chunk-7VN2KI3U.js.map
5437
+ //# sourceMappingURL=chunk-7VN2KI3U.js.map