@kurot/ui 2.1.4 → 3.0.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.
package/CHANGELOG.md CHANGED
@@ -4,6 +4,19 @@ All notable changes to `@kurot/ui` are documented here.
4
4
 
5
5
  ---
6
6
 
7
+ ## [3.0.0] — 2026-10-03
8
+
9
+ ### Breaking
10
+
11
+ - Require `@kurot/core@^2.0.0` in peer and development dependencies.
12
+ Applications must upgrade Core and convert string-valued sheet `subkeys`
13
+ to metadata maps by refreshing legacy sheets in Kurot Editor.
14
+ Component APIs and the skin lifecycle retain their existing contracts.
15
+
16
+ ### Tests
17
+
18
+ - Built and ran the UI suite against the local Core 2.0.0 source.
19
+
7
20
  ## [2.1.4] — 2026-10-02
8
21
 
9
22
  ### Fixed
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  UI component framework for [@kurot/core](https://github.com/kurot-engine/kurot/tree/main/packages/core). Migrated from Egret EUI, rewritten in modern TypeScript with clean class inheritance — no namespace hacks, no prototype manipulation.
4
4
 
5
- > **Current release: 2.1.4.** Requires `@kurot/core@^1.0.12`. Targets ES2022 + evergreen browsers, same as core.
5
+ > **Prepared release: 3.0.0.** Requires `@kurot/core@^2.0.0`. Targets ES2022 + evergreen browsers, same as core.
6
6
 
7
7
  For the full list of changes in this release, see [CHANGELOG.md](./CHANGELOG.md).
8
8
 
@@ -14,6 +14,10 @@ pnpm add @kurot/ui @kurot/core
14
14
 
15
15
  `@kurot/ui` declares `@kurot/core` as a peer dependency. Install both packages explicitly so the application controls the resolved core version.
16
16
 
17
+ Upgrade Core to 2.x together with UI 3.x. Refresh old sheet manifests with
18
+ string-valued `subkeys` in Kurot Editor before launching the application.
19
+ See the [resource migration guide](../ui-document/docs/resource-nine-slice.md).
20
+
17
21
  ## Quick Start
18
22
 
19
23
  ```ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kurot/ui",
3
- "version": "2.1.4",
3
+ "version": "3.0.0",
4
4
  "description": "EUI-compatible UI component framework for the Kurot game engine — skin-based components, layouts, data binding, view states",
5
5
  "author": "Kelvin <kyia.x52@gmail.com>",
6
6
  "license": "MIT",
@@ -32,10 +32,10 @@
32
32
  "prepublishOnly": "npm run clean && npm run build"
33
33
  },
34
34
  "peerDependencies": {
35
- "@kurot/core": "^1.0.12"
35
+ "@kurot/core": "^2.0.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@kurot/core": "^1.0.12",
38
+ "@kurot/core": "^2.0.0",
39
39
  "@playwright/test": "1.62.1",
40
40
  "@types/node": "^22.0.0",
41
41
  "happy-dom": "^20.8.9",