@webikon/webentor-core 0.15.8 → 0.15.10

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,25 @@
1
1
  # Webentor Core Changelog
2
2
 
3
+ ## 0.15.10
4
+
5
+ - **WordPress 7.1 components.** The Query Loop taxonomy filter hides the `FormTokenField`
6
+ how-to text with `help=""`, since components 37 (WordPress 7.1) deprecates
7
+ `__experimentalShowHowTo`. On WordPress 7.0 the hint text shows again, which is cosmetic.
8
+ - `@wordpress/*` devDependencies now match the WordPress 7.1.2 bundle (block-editor 16,
9
+ components 37, compose 8.4, element 8.3, icons 15.2). They run from `window.wp`, so only
10
+ types and lint change. The exception is `@wordpress/icons`, which is bundled: the editor
11
+ build now ships icons 15. The unused `@wordpress/block-library` is removed.
12
+ - **Node 24 floor** (`engines.node >=24.0.0`). Node 20 is past end of life. pnpm only warns
13
+ about it unless `engine-strict` is set. Dev: `lint-staged` 17.
14
+ - `repository.url` points at the monorepo with a `directory`, so npm provenance matches it.
15
+ - A transparent patch within `^0.15`: `pnpm up @webikon/webentor-core` and
16
+ `composer update webikon/webentor-core`.
17
+
18
+ ## 0.15.9
19
+
20
+ - **WordPress 7.1 responsive viewports follow the Tailwind breakpoints.** WP 7.1 per-viewport block styles and hide-on-viewport visibility read theme.json `settings.viewport` (defaults 480px/782px), which cuts through the `sm`/`md` ranges. Core now derives it from `settings.custom.breakpoints` — mobile = `md` − 1px, tablet = `lg` − 1px — so WP Mobile is below `md`, Tablet is `md`, Desktop is `lg` and up. An explicit `settings.viewport` in theme.json wins; the new `webentor/theme_json_viewport` filter adjusts the derived values. Older WordPress ignores the key.
21
+ - Verified against WordPress 7.1: every block validates, no editor or frontend deprecations. Transparent patch within `^0.15`.
22
+
3
23
  ## 0.15.8
4
24
 
5
25
  - **Fix: the editor script's WordPress dependencies were never applied.** `setup-core.php` reads `public/build/editor.deps.json`, but the build only ever emitted that file hashed under `assets/`, so the path never existed and the core editor bundle enqueued with just `react`/`react-dom` — none of its ten `wp-*` dependencies. It is now emitted, sorted, at the path PHP reads.
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.8",
4
+ "version": "0.15.10",
5
5
  "description": "Core functionality and useful utilities for Webentor Stack",
6
6
  "license": "MIT",
7
7
  "author": "Webikon s.r.o.",
@@ -17,7 +17,8 @@
17
17
  ],
18
18
  "repository": {
19
19
  "type": "git",
20
- "url": "https://github.com/Webikon/webentor-stack/tree/main/packages/webentor-core"
20
+ "url": "git+https://github.com/Webikon/webentor-stack.git",
21
+ "directory": "packages/webentor-core"
21
22
  },
22
23
  "keywords": [
23
24
  "wordpress",
@@ -30,7 +31,7 @@
30
31
  "access": "public"
31
32
  },
32
33
  "engines": {
33
- "node": ">=20.0.0"
34
+ "node": ">=24.0.0"
34
35
  },
35
36
  "type": "module",
36
37
  "exports": {
@@ -153,24 +154,23 @@
153
154
  "@tailwindcss/vite": "^4.3.1",
154
155
  "@types/wordpress__block-editor": "^15.0.6",
155
156
  "@vitejs/plugin-react": "^6.0.0",
156
- "@wordpress/block-editor": "^15.13.2",
157
- "@wordpress/block-library": "^9.40.2",
158
- "@wordpress/blocks": "^15.13.1",
159
- "@wordpress/components": "^32.2.1",
160
- "@wordpress/compose": "^7.40.1",
161
- "@wordpress/data": "^10.40.1",
162
- "@wordpress/element": "^6.40.1",
163
- "@wordpress/hooks": "^4.40.1",
164
- "@wordpress/html-entities": "^4.40.1",
165
- "@wordpress/i18n": "^6.13.1",
166
- "@wordpress/icons": "^11.7.1",
157
+ "@wordpress/block-editor": "^16.0.0",
158
+ "@wordpress/blocks": "^15.24.0",
159
+ "@wordpress/components": "^37.0.0",
160
+ "@wordpress/compose": "^8.4.0",
161
+ "@wordpress/data": "^10.51.0",
162
+ "@wordpress/element": "^8.3.0",
163
+ "@wordpress/hooks": "^4.51.0",
164
+ "@wordpress/html-entities": "^4.51.0",
165
+ "@wordpress/i18n": "^6.24.0",
166
+ "@wordpress/icons": "^15.2.0",
167
167
  "eslint": "^9.39.2",
168
168
  "eslint-config-prettier": "^10.1.8",
169
169
  "eslint-plugin-prettier": "^5.5.6",
170
170
  "eslint-plugin-react": "^7.37.5",
171
171
  "glob": "^13.0.6",
172
172
  "husky": "^9.1.7",
173
- "lint-staged": "^16.4.0",
173
+ "lint-staged": "^17.6.0",
174
174
  "patch-package": "^8.0.1",
175
175
  "postcss": "^8.5.15",
176
176
  "postcss-pxtorem": "^6.1.0",
@@ -186,7 +186,7 @@
186
186
  "typescript-eslint": "^8.61.1",
187
187
  "vite": "^8.0.0",
188
188
  "vite-plugin-external": "^6.2.2",
189
- "@webikon/webentor-configs": "1.1.0"
189
+ "@webikon/webentor-configs": "1.1.1"
190
190
  },
191
191
  "dependencies": {
192
192
  "@alpinejs/collapse": "^3.15.12",