@gtkx/testing 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/dist/traversal.d.ts +7 -0
- package/package.json +4 -4
package/dist/traversal.d.ts
CHANGED
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import * as Gtk from "@gtkx/ffi/gtk";
|
|
2
|
+
/**
|
|
3
|
+
* Root element for scoping queries.
|
|
4
|
+
*
|
|
5
|
+
* When a `Gtk.Application` is provided, queries search across all toplevel
|
|
6
|
+
* windows. When a `Gtk.Widget` is provided, queries are scoped to that
|
|
7
|
+
* widget's subtree.
|
|
8
|
+
*/
|
|
2
9
|
export type Container = Gtk.Application | Gtk.Widget;
|
|
3
10
|
export declare const isApplication: (container: Container) => container is Gtk.Application;
|
|
4
11
|
export declare const traverse: (container: Container) => Generator<Gtk.Widget>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gtkx/testing",
|
|
3
|
-
"version": "0.18.
|
|
3
|
+
"version": "0.18.1",
|
|
4
4
|
"description": "Testing utilities for GTKX applications",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"gtkx",
|
|
@@ -36,13 +36,13 @@
|
|
|
36
36
|
"dist"
|
|
37
37
|
],
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@gtkx/ffi": "0.18.
|
|
40
|
-
"@gtkx/react": "0.18.
|
|
39
|
+
"@gtkx/ffi": "0.18.1",
|
|
40
|
+
"@gtkx/react": "0.18.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@types/react-reconciler": "^0.33.0",
|
|
44
44
|
"react-reconciler": "^0.33.0",
|
|
45
|
-
"@gtkx/vitest": "0.18.
|
|
45
|
+
"@gtkx/vitest": "0.18.1"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "tsc -b && cp ../../README.md .",
|