@messaia/cdk 22.0.1-rc.2 → 22.0.1-rc.22
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.md +8 -0
- package/fesm2022/messaia-cdk.mjs +546 -310
- package/fesm2022/messaia-cdk.mjs.map +1 -1
- package/lib/common/styles/utilities/_general.scss +6 -0
- package/package.json +1 -1
- package/types/messaia-cdk.d.ts +429 -106
package/README.md
CHANGED
|
@@ -40,6 +40,14 @@ Once the project is built, you can publish your library by following these steps
|
|
|
40
40
|
npm publish
|
|
41
41
|
```
|
|
42
42
|
|
|
43
|
+
## Table row selection
|
|
44
|
+
|
|
45
|
+
`TableDataSource` matches selected rows by their non-null `id`, so selections remain
|
|
46
|
+
checked when server-side pagination or `reload(false)` returns new row instances.
|
|
47
|
+
IDs must be unique and stable across pages. Rows without an ID use reference equality.
|
|
48
|
+
Toggling a reloaded row removes its existing selection instead of adding a duplicate.
|
|
49
|
+
`reload()` still clears selection by default.
|
|
50
|
+
|
|
43
51
|
## Running unit tests
|
|
44
52
|
|
|
45
53
|
To execute unit tests with the [Karma](https://karma-runner.github.io) test runner, use the following command:
|