haori 0.18.0 → 0.18.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/README.ja.md +1 -2
- package/README.md +1 -2
- package/dist/haori.cjs.js +8 -8
- package/dist/haori.es.js +270 -258
- package/dist/haori.iife.js +4 -4
- package/package.json +1 -1
package/README.ja.md
CHANGED
|
@@ -105,7 +105,7 @@ Haori.mount(document.body, {items: [{name: 'りんご'}, {name: 'みかん'}]});
|
|
|
105
105
|
|
|
106
106
|
追加のバインディング補助:
|
|
107
107
|
|
|
108
|
-
- `data-derive` / `data-derive-name` —
|
|
108
|
+
- `data-derive` / `data-derive-name` — 要素上で派生値を定義し、その要素の子孫にだけ公開します。親子プルダウンのような用途で使えます。
|
|
109
109
|
- `data-*-bind-merge`(例: `data-click-bind-merge`・`data-fetch-bind-merge`)— 結果をバインド先要素へ反映する際、`data-bind` を全置換せず、既存の値を保持したまま浅くマージします(新しいデータに無いキーは保持)。`selectedId={{items[0].id}}` のような計算値を既存 state に追記したい場合に有用です。
|
|
110
110
|
|
|
111
111
|
イベント駆動アクション:
|
|
@@ -219,7 +219,6 @@ git push origin --tags
|
|
|
219
219
|
|
|
220
220
|
- `docs/ja/guide.md` — 利用ガイド(サンプル多数)
|
|
221
221
|
- `docs/ja/specs.md` — 技術仕様書(内部設計・API など)
|
|
222
|
-
- `docs/ja/data-derive-confirmation-draft.md` — 派生値スコープと親子プルダウン構成に関する設計経緯
|
|
223
222
|
|
|
224
223
|
---
|
|
225
224
|
|
package/README.md
CHANGED
|
@@ -105,7 +105,7 @@ Haori.mount(document.body, {items: [{name: 'apple'}, {name: 'orange'}]});
|
|
|
105
105
|
|
|
106
106
|
Additional binding helpers:
|
|
107
107
|
|
|
108
|
-
- `data-derive` / `data-derive-name` — define a derived value on an element and expose it to descendants only. This is useful for cases such as parent-child selects
|
|
108
|
+
- `data-derive` / `data-derive-name` — define a derived value on an element and expose it to descendants only. This is useful for cases such as parent-child selects.
|
|
109
109
|
- `data-*-bind-merge` (e.g. `data-click-bind-merge`, `data-fetch-bind-merge`) — when binding a result to a target element, shallow-merge it into the target's existing `data-bind` (keys not present in the new data are preserved) instead of replacing the whole binding. Useful for patching a single computed key (such as `selectedId={{items[0].id}}`) into existing state.
|
|
110
110
|
|
|
111
111
|
Event-driven actions:
|
|
@@ -219,7 +219,6 @@ For more detailed usage, attribute specs, and internal design, see:
|
|
|
219
219
|
|
|
220
220
|
- `docs/ja/guide.md` — User guide (many examples)
|
|
221
221
|
- `docs/ja/specs.md` — Technical specifications (internal design, API)
|
|
222
|
-
- `docs/ja/data-derive-confirmation-draft.md` — Design background for scoped derived bindings and stable parent-child select composition
|
|
223
222
|
|
|
224
223
|
---
|
|
225
224
|
|