@casoon/opengrid 0.8.0 → 0.8.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 +12 -0
- package/engine/opengrid_wasm_bg.wasm +0 -0
- package/loader.d.ts +5 -3
- package/package.json +1 -1
- package/pkg/opengrid_web_components.js +8 -8
- package/pkg/opengrid_web_components_bg.wasm +0 -0
- /package/pkg/snippets/{opengrid-web-core-e69c5e78cdf8dd2b → opengrid-web-core-df12892104a61710}/inline0.js +0 -0
- /package/pkg/snippets/{opengrid-web-core-e69c5e78cdf8dd2b → opengrid-web-core-df12892104a61710}/inline1.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -18,6 +18,18 @@ Two things belong in every release entry and are easy to leave out:
|
|
|
18
18
|
|
|
19
19
|
## [Unreleased]
|
|
20
20
|
|
|
21
|
+
## [0.8.1] — 2026-09-30
|
|
22
|
+
|
|
23
|
+
**Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
|
|
24
|
+
**Browsers:** Chromium, the whole e2e suite. A fix to the types; nothing breaks.
|
|
25
|
+
|
|
26
|
+
### Fixed
|
|
27
|
+
|
|
28
|
+
- **`get_view` no longer widens a grid's view** ([#117](https://github.com/casoon/opengrid/issues/117)).
|
|
29
|
+
0.8.0 made it generic, and where its result flowed into a typed place TypeScript inferred
|
|
30
|
+
`View | PivotView`. It is two overloads now: without a type argument the grid's `View`,
|
|
31
|
+
with one (`get_view<PivotView>(pivot)`) the pivot's.
|
|
32
|
+
|
|
21
33
|
## [0.8.0] — 2026-09-30
|
|
22
34
|
|
|
23
35
|
**Screen-reader pairings tested: none yet** ([issue #5](https://github.com/casoon/opengrid/issues/5)).
|
|
Binary file
|
package/loader.d.ts
CHANGED
|
@@ -44,11 +44,13 @@ export interface OpengridModule {
|
|
|
44
44
|
set_formats(host: HTMLElement, formats: Formats): void;
|
|
45
45
|
/** Per-column editor choices: `{ customer: ["Alpha", "Beta"] }`. */
|
|
46
46
|
set_choices(host: HTMLElement, choices: Choices): void;
|
|
47
|
+
/** The whole view as one value; `null` before the element is connected. */
|
|
48
|
+
get_view(host: HTMLElement): View | null;
|
|
47
49
|
/**
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
+
* A pivot's view: `get_view<PivotView>(pivot)`. An overload of its own, so
|
|
51
|
+
* a grid's view is never widened to either kind.
|
|
50
52
|
*/
|
|
51
|
-
get_view<V extends
|
|
53
|
+
get_view<V extends PivotView>(host: HTMLElement): V | null;
|
|
52
54
|
/** Applies a view in one step and one query. Parts left out keep their default. */
|
|
53
55
|
set_view(host: HTMLElement, view: ViewInput): void;
|
|
54
56
|
/** A pivot's view: `rows`, `columns` and `values` at once, one query. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@casoon/opengrid",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Accessible data grid, table and pivot as web components, driven by a portable Rust/WASM query engine — with React, Vue and Svelte components.",
|
|
6
6
|
"keywords": [
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/* @ts-self-types="./opengrid_web_components.d.ts" */
|
|
2
|
-
import { __opengrid_define_element } from './snippets/opengrid-web-core-
|
|
3
|
-
import * as import1 from "./snippets/opengrid-web-core-
|
|
4
|
-
import * as import2 from "./snippets/opengrid-web-core-
|
|
5
|
-
import * as import3 from "./snippets/opengrid-web-core-
|
|
2
|
+
import { __opengrid_define_element } from './snippets/opengrid-web-core-df12892104a61710/inline1.js';
|
|
3
|
+
import * as import1 from "./snippets/opengrid-web-core-df12892104a61710/inline0.js"
|
|
4
|
+
import * as import2 from "./snippets/opengrid-web-core-df12892104a61710/inline0.js"
|
|
5
|
+
import * as import3 from "./snippets/opengrid-web-core-df12892104a61710/inline0.js"
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -272,7 +272,7 @@ function __wbg_get_imports() {
|
|
|
272
272
|
const ret = Error(getStringFromWasm0(arg0, arg1));
|
|
273
273
|
return ret;
|
|
274
274
|
},
|
|
275
|
-
|
|
275
|
+
__wbg___opengrid_define_element_904842d97080c84a: function(arg0, arg1, arg2, arg3, arg4, arg5) {
|
|
276
276
|
__opengrid_define_element(getStringFromWasm0(arg0, arg1), arg2, arg3, arg4, arg5);
|
|
277
277
|
},
|
|
278
278
|
__wbg___wbindgen_boolean_get_fa956cfa2d1bd751: function(arg0) {
|
|
@@ -1014,9 +1014,9 @@ function __wbg_get_imports() {
|
|
|
1014
1014
|
return {
|
|
1015
1015
|
__proto__: null,
|
|
1016
1016
|
"./opengrid_web_components_bg.js": import0,
|
|
1017
|
-
"./snippets/opengrid-web-core-
|
|
1018
|
-
"./snippets/opengrid-web-core-
|
|
1019
|
-
"./snippets/opengrid-web-core-
|
|
1017
|
+
"./snippets/opengrid-web-core-df12892104a61710/inline0.js": import1,
|
|
1018
|
+
"./snippets/opengrid-web-core-df12892104a61710/inline0.js": import2,
|
|
1019
|
+
"./snippets/opengrid-web-core-df12892104a61710/inline0.js": import3,
|
|
1020
1020
|
};
|
|
1021
1021
|
}
|
|
1022
1022
|
|
|
Binary file
|
|
File without changes
|
|
File without changes
|