@ishibashi0112/spreadsheet-grid-core 0.59.0 → 0.60.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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +6 -1
package/README.md CHANGED
@@ -9,7 +9,7 @@ Docs and live demos: [datasheet-grid.vercel.app](https://datasheet-grid.vercel.a
9
9
  ## What is in here
10
10
 
11
11
  - Public type definitions with JSDoc. The field docs of `SpreadsheetGridProps`, `GridColumn`, `SpreadsheetGridHandle` and the other option types are in `dist/model/gridTypes.core.d.ts`; they match the tables in `API_REFERENCE.md` of the React package.
12
- - Framework-agnostic modules under subpaths: `@ishibashi0112/spreadsheet-grid-core/<dir>/<module>` (`model` / `logic` / `controllers` / `engine` / `utils` / `testing`). They are building blocks for the framework adapters and are not covered by `API_REFERENCE.md`.
12
+ - Framework-agnostic modules under `@ishibashi0112/spreadsheet-grid-core/internal/<dir>/<module>` (`model` / `logic` / `controllers` / `engine` / `utils`). They are internal building blocks for the framework adapters (the React package uses them, and depends on the core of exactly the same version), are not covered by `API_REFERENCE.md` or semver, and may change in any release. The old subpaths without `internal/` (`@ishibashi0112/spreadsheet-grid-core/<dir>/<module>`) are deprecated since 0.60.0 and will be removed in 0.61.0; import from the entry point `@ishibashi0112/spreadsheet-grid-core` instead. If you use the core directly alongside the React package, install the same version of both (a different version installs a second copy of the core). The public entry points are `@ishibashi0112/spreadsheet-grid-core` and `/testing` ([Versioning](https://datasheet-grid.vercel.app/docs/versioning), Japanese).
13
13
 
14
14
  ## License
15
15
 
@@ -26,4 +26,4 @@ MIT
26
26
  ドキュメントとライブデモ: [datasheet-grid.vercel.app](https://datasheet-grid.vercel.app) · 変更履歴: [CHANGELOG.md](https://github.com/ishibashi0112/datasheet-grid/blob/main/CHANGELOG.md)
27
27
 
28
28
  - 公開型の定義(JSDoc 付き)。`SpreadsheetGridProps` / `GridColumn` / `SpreadsheetGridHandle` などのフィールドの説明は `dist/model/gridTypes.core.d.ts` にあり、React 版パッケージ同梱の `API_REFERENCE.md` の表と同じ内容です。
29
- - サブパス `@ishibashi0112/spreadsheet-grid-core/<dir>/<module>`(`model` / `logic` / `controllers` / `engine` / `utils` / `testing`)のモジュールは各フレームワーク版(アダプタ)向けの部品で、`API_REFERENCE.md` の対象外です。
29
+ - `@ishibashi0112/spreadsheet-grid-core/internal/<dir>/<module>`(`model` / `logic` / `controllers` / `engine` / `utils`)のモジュールは、各フレームワーク版(アダプタ)が使う内部の部品です(React 版が使っていて、同じ版の core に固定で依存します)。`API_REFERENCE.md` と semver の対象外で、どの版でも変わることがあります。`internal/` の無い旧サブパス(`@ishibashi0112/spreadsheet-grid-core/<dir>/<module>`)は 0.60.0 から非推奨で、0.61.0 で消します。代わりに入口 `@ishibashi0112/spreadsheet-grid-core` から import してください。React 版と一緒に core も直接使うときは、両方を同じ版にそろえてください(違う版だと core が 2 つ入ります)。公開の入口は `@ishibashi0112/spreadsheet-grid-core` と `/testing` です([バージョンと互換性](https://datasheet-grid.vercel.app/docs/versioning))。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ishibashi0112/spreadsheet-grid-core",
3
- "version": "0.59.0",
3
+ "version": "0.60.0",
4
4
  "description": "SpreadsheetGrid のフレームワーク非依存コア(状態 / 派生値計算 / コマンド / DOM コントローラ)。React 版 @ishibashi0112/spreadsheet-grid と将来の Solid 版が共有します。",
5
5
  "keywords": [
6
6
  "grid",
@@ -37,6 +37,11 @@
37
37
  "import": "./dist/testing/index.js",
38
38
  "require": "./dist/testing/index.cjs"
39
39
  },
40
+ "./internal/*": {
41
+ "types": "./dist/*.d.ts",
42
+ "import": "./dist/*.js",
43
+ "require": "./dist/*.cjs"
44
+ },
40
45
  "./*": {
41
46
  "types": "./dist/*.d.ts",
42
47
  "import": "./dist/*.js",