@frybynite/image-cloud 0.2.1 → 0.2.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.
package/README.md CHANGED
@@ -30,21 +30,21 @@ No install needed — load directly from a CDN:
30
30
 
31
31
  **jsDelivr**
32
32
  ```
33
- https://cdn.jsdelivr.net/npm/@frybynite/image-cloud@0.1.0/dist/image-cloud.js (ESM)
34
- https://cdn.jsdelivr.net/npm/@frybynite/image-cloud@0.1.0/dist/image-cloud.umd.js (UMD)
35
- https://cdn.jsdelivr.net/npm/@frybynite/image-cloud@0.1.0/dist/image-cloud-auto-init.js
36
- https://cdn.jsdelivr.net/npm/@frybynite/image-cloud@0.1.0/dist/style.css
33
+ https://cdn.jsdelivr.net/npm/@frybynite/image-cloud@latest/dist/image-cloud.js (ESM)
34
+ https://cdn.jsdelivr.net/npm/@frybynite/image-cloud@latest/dist/image-cloud.umd.js (UMD)
35
+ https://cdn.jsdelivr.net/npm/@frybynite/image-cloud@latest/dist/image-cloud-auto-init.js
36
+ https://cdn.jsdelivr.net/npm/@frybynite/image-cloud@latest/dist/style.css
37
37
  ```
38
38
 
39
39
  **unpkg**
40
40
  ```
41
- https://unpkg.com/@frybynite/image-cloud@0.1.0/dist/image-cloud.js (ESM)
42
- https://unpkg.com/@frybynite/image-cloud@0.1.0/dist/image-cloud.umd.js (UMD)
43
- https://unpkg.com/@frybynite/image-cloud@0.1.0/dist/image-cloud-auto-init.js
44
- https://unpkg.com/@frybynite/image-cloud@0.1.0/dist/style.css
41
+ https://unpkg.com/@frybynite/image-cloud@latest/dist/image-cloud.js (ESM)
42
+ https://unpkg.com/@frybynite/image-cloud@latest/dist/image-cloud.umd.js (UMD)
43
+ https://unpkg.com/@frybynite/image-cloud@latest/dist/image-cloud-auto-init.js
44
+ https://unpkg.com/@frybynite/image-cloud@latest/dist/style.css
45
45
  ```
46
46
 
47
- Replace `@0.1.0` with the desired version, or use `@latest` for the most recent release.
47
+ Replace `@latest` with a specific version (e.g., `@0.2.1`) to pin to that release.
48
48
 
49
49
  ## Quick Start
50
50
 
@@ -1778,7 +1778,7 @@ function ft(n) {
1778
1778
  } else n.border && (t.border = ct(n.border));
1779
1779
  n.shadow !== void 0 && (t.boxShadow = xe(n.shadow));
1780
1780
  const o = Se(n.filter);
1781
- if (o && (t.filter = o), n.opacity !== void 0 && (t.opacity = String(n.opacity)), n.cursor !== void 0 && (t.cursor = n.cursor), n.outline && n.outline.style !== "none" && (n.outline.width ?? 0) > 0) {
1781
+ if (t.filter = o || "none", n.opacity !== void 0 && (t.opacity = String(n.opacity)), n.cursor !== void 0 && (t.cursor = n.cursor), n.outline && n.outline.style !== "none" && (n.outline.width ?? 0) > 0) {
1782
1782
  const s = n.outline.width ?? 0, h = n.outline.style ?? "solid", l = n.outline.color ?? "#000000";
1783
1783
  t.outline = `${s}px ${h} ${l}`, n.outline.offset !== void 0 && (t.outlineOffset = `${n.outline.offset}px`);
1784
1784
  }