@octane-xplat/gif 0.11.1 → 0.13.0

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.
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
- "buildId": "2aeebf52-3b47-473e-8519-9eb628f641fb",
3
+ "buildId": "79b183f1-8d79-4679-92b8-f96c758393d6",
4
4
  "mode": "production",
5
5
  "capabilities": {
6
6
  "independentHydration": false
@@ -1,8 +1,7 @@
1
1
  import { applyEscapeProps } from "./escape-props.web.js";
2
2
  import { __s, bag7, clone, queueRefAttach, queueRefDetach, setStyle, template } from "octane";
3
- import { bindSignalAttribute, enableSignalBindings, replaceRef, setPlainAttribute, setURLAttribute } from "octane/internal/client";
3
+ import { replaceRef, setClassNameIfChanged, setPlainAttributeIfChanged, setURLAttributeIfChanged } from "octane/internal/client";
4
4
  //#region src/AnimatedImage.web.tsrx
5
- enableSignalBindings(1, true);
6
5
  var _t$0 = /* @__PURE__ */ template("<img/>");
7
6
  var _rm$0 = [
8
7
  "r",
@@ -18,18 +17,18 @@ var OBJECT_FIT = {
18
17
  var AnimatedImage = /* @__PURE__ */ __s(function AnimatedImage(props, __s, __extra) {
19
18
  let _b = __s.slots[0];
20
19
  if (_b === void 0) {
21
- let _m0, _m1;
20
+ let _m1;
22
21
  const _root = clone(_t$0);
23
- queueRefAttach(__s, _m1 = (e) => applyEscapeProps(e, props), _m0 = _root);
22
+ queueRefAttach(__s, _m1 = (e) => applyEscapeProps(e, props), _root);
24
23
  (__s.cleanups ??= []).push(() => _b && queueRefDetach(_b.b, _b.a));
25
- _b = bag7(__s, _root, _m0, _m1, void 0, void 0, void 0, void 0, void 0);
24
+ _b = bag7(__s, _root, _root, _m1);
26
25
  __s.refFields = _rm$0;
27
26
  } else {
28
27
  const _r = (e) => applyEscapeProps(e, props);
29
28
  if (_r !== _b.b) _b.b = replaceRef(__s, _b.b, _r, _b.a);
30
29
  }
31
- _b.c = bindSignalAttribute(__s, _b.c, _b.a, "id", props.id, "b:524dc1ba", setPlainAttribute);
32
- _b.d = bindSignalAttribute(__s, _b.d, _b.a, "class", props.className, "b:0279b906", "class");
30
+ _b.c = setPlainAttributeIfChanged(props.id, _b.c, _b.a, "id");
31
+ _b.d = setClassNameIfChanged(props.className, _b.d, _b.a);
33
32
  {
34
33
  const _v = {
35
34
  objectFit: OBJECT_FIT[props.stretch ?? "aspectFit"],
@@ -42,8 +41,8 @@ var AnimatedImage = /* @__PURE__ */ __s(function AnimatedImage(props, __s, __ext
42
41
  _b.e = _v;
43
42
  }
44
43
  }
45
- _b.f = bindSignalAttribute(__s, _b.f, _b.a, "src", props.src, "b:f8b000cf", setURLAttribute);
46
- _b.g = bindSignalAttribute(__s, _b.g, _b.a, "alt", props.alt, "b:29df9938", setPlainAttribute);
44
+ _b.f = setURLAttributeIfChanged(props.src, _b.f, _b.a, "src");
45
+ _b.g = setPlainAttributeIfChanged(props.alt, _b.g, _b.a, "alt");
47
46
  });
48
47
  //#endregion
49
48
  export { AnimatedImage };
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 1,
3
- "buildId": "0940d223-5435-4ff5-98b9-95158ea69208",
3
+ "buildId": "53ce7bbf-08be-4b4b-a1c4-2079abc06507",
4
4
  "mode": "production",
5
5
  "capabilities": {
6
6
  "independentHydration": false
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octane-xplat/gif",
3
- "version": "0.11.1",
3
+ "version": "0.13.0",
4
4
  "description": "Animated images (GIF/animated webp) for Octane xplat — web <img> + @nativescript-community/ui-image",
5
5
  "keywords": [
6
6
  "android",
@@ -54,10 +54,10 @@
54
54
  },
55
55
  "devDependencies": {
56
56
  "@nativescript-community/octane": "0.2.4",
57
- "@nativescript/core": "9.1.2",
57
+ "@nativescript/core": "9.1.3",
58
58
  "@octanejs/vite-plugin": "0.1.61",
59
59
  "@tsrx/typescript-plugin": "0.4.11",
60
- "octane": "0.6.3",
60
+ "octane": "0.11.0",
61
61
  "tsrx-typegen": "0.2.2",
62
62
  "typescript": "5.9.3",
63
63
  "vite": "8.3.0"