@iyulab/modern-app 0.44.0 → 0.44.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,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.44.1] - 2026-10-07
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
|
|
7
|
+
- The master›detail examples (`docs/lob-primitives.md` and the `u-master-detail-layout` skill reference) read the
|
|
8
|
+
selection from `e.detail.selected`, which `u-rich-table`'s `selection-change` does not carry, and typed the event as
|
|
9
|
+
a `SelectionChangeEvent` that no package exports. They read `e.detail.selectedRows[0]`, typed by `RichTableEventMap`.
|
|
10
|
+
|
|
3
11
|
## [0.44.0] - 2026-10-07
|
|
4
12
|
|
|
5
13
|
### Added
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@ Swap the `detail` slot's content when the selection changes:
|
|
|
13
13
|
|
|
14
14
|
```html
|
|
15
15
|
<u-master-detail-layout>
|
|
16
|
-
<u-rich-table @selection-change=${e => (detail = renderRecord(e.detail.
|
|
16
|
+
<u-rich-table @selection-change=${e => (detail = renderRecord(e.detail.selectedRows[0]))}>
|
|
17
17
|
…
|
|
18
18
|
</u-rich-table>
|
|
19
19
|
<div slot="detail">${detail}</div>
|