@webikon/webentor-core 0.15.0 → 0.15.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Webentor Core Changelog
2
2
 
3
+ ## 0.15.1
4
+
5
+ - **Fix focal-point cropping in responsive `<source srcset>`.** `get_resized_image_object()` re-derived its `src` via `bis_get_attachment_image_src()` without the `$crop` flag, so Better Image Sizes never read the attachment's `focal_point` meta for the srcset — the `<picture>` `<source>` entries (1x/2x) loaded the center-fit file while only the fallback `<img>` honored the focal point. It now passes `$crop` through, matching `get_resized_image_url()`, so focal-point crops apply at every breakpoint. Also stops generating the redundant crop-less duplicate file. No API change for consumers.
6
+
3
7
  ## 0.15.0
4
8
 
5
9
  - **Vite 8 / Rolldown build toolchain.** Migrate the package build from Vite 7 to Vite 8 (Rolldown). Editor, app, and slider bundles are rebuilt under Rolldown; the manifest contract is unchanged, so consumers consume assets exactly as before.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@webikon/webentor-core",
3
3
  "homepage": "https://webikon.sk",
4
- "version": "0.15.0",
4
+ "version": "0.15.1",
5
5
  "description": "Core functionality and useful utilities for Webentor Stack",
6
6
  "license": "MIT",
7
7
  "author": "Webikon s.r.o.",
@@ -1,12 +1,12 @@
1
1
  [
2
+ "wp-i18n",
2
3
  "wp-block-editor",
3
4
  "wp-blocks",
4
5
  "wp-components",
6
+ "wp-hooks",
5
7
  "wp-compose",
6
8
  "wp-data",
7
9
  "wp-element",
8
- "wp-hooks",
9
- "wp-i18n",
10
10
  "wp-html-entities",
11
11
  "wp-primitives"
12
12
  ]
@@ -4,7 +4,7 @@
4
4
  "name": "_utils"
5
5
  },
6
6
  "editor.deps.json": {
7
- "file": "assets/editor.deps-D8M5pYds.json",
7
+ "file": "assets/editor.deps-mcEs1sHu.json",
8
8
  "src": "editor.deps.json"
9
9
  },
10
10
  "resources/blocks/e-accordion/script.ts": {