@orkestrel/table 0.0.8 → 0.0.10
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 +9 -2
- package/dist/src/browser/index.d.ts +926 -0
- package/dist/src/browser/index.js +1058 -0
- package/dist/src/browser/index.js.map +1 -0
- package/dist/src/core/index.cjs +43 -6
- package/dist/src/core/index.cjs.map +1 -1
- package/dist/src/core/index.d.cts +20 -0
- package/dist/src/core/index.d.ts +20 -0
- package/dist/src/core/index.js +43 -7
- package/dist/src/core/index.js.map +1 -1
- package/package.json +27 -14
package/README.md
CHANGED
|
@@ -68,6 +68,13 @@ table.selection.keys.has('1') // true — a key, so it survives the next sort
|
|
|
68
68
|
|
|
69
69
|
## Guide
|
|
70
70
|
|
|
71
|
+
The `@orkestrel/table/browser` entry binds native rows, sort buttons, page selection, visible-row
|
|
72
|
+
expansion, and pager controls to the core document. Use `data-table-limit`,
|
|
73
|
+
`data-table-move="previous|next"`, and `output[data-table-range]` inside a dedicated binding scope.
|
|
74
|
+
Use `data-table-expand="page"` for a fixed-label page expansion button. The `describe.range` and
|
|
75
|
+
`describe.sort` options customize range and sort-priority wording; see the
|
|
76
|
+
[native binding guide](./guides/table.md#native-binding) for markup and lifecycle behavior.
|
|
77
|
+
|
|
71
78
|
See [guides/table.md](./guides/table.md) for the documented surface — the column cells and what
|
|
72
79
|
each one fixes, the required identity column and the refusals built on it, the lens of sort, filter,
|
|
73
80
|
and page and the order it applies in, the events and when each one stays silent, the serialize/parse
|
|
@@ -76,8 +83,8 @@ of what this package leaves to the layer above.
|
|
|
76
83
|
|
|
77
84
|
## Package
|
|
78
85
|
|
|
79
|
-
Published
|
|
80
|
-
|
|
86
|
+
Published through the `exports` field in `package.json`: `.` is the host-independent core with
|
|
87
|
+
ESM and CJS builds, and `./browser` is the native DOM binding with an ESM build. Both carry declarations.
|
|
81
88
|
|
|
82
89
|
## Development
|
|
83
90
|
|