@gjsify/adwaita-core 0.64.14 → 0.64.15-next.287
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/lib/types/gio-menu.d.ts +9 -0
- package/package.json +5 -4
package/lib/types/gio-menu.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { Variant } from './glib-variant.js';
|
|
2
2
|
import { GIR_TYPE, GObjectObject } from './gobject.js';
|
|
3
|
+
import type { GType } from './gobject.js';
|
|
3
4
|
import type { AdwMenuInput, AdwMenuTree } from './menu.js';
|
|
4
5
|
/** `G_MENU_ATTRIBUTE_ACTION`. */
|
|
5
6
|
export declare const MENU_ATTRIBUTE_ACTION = "action";
|
|
@@ -131,6 +132,14 @@ export declare class GioMenuLinkIter extends GObjectObject {
|
|
|
131
132
|
*/
|
|
132
133
|
export declare abstract class GioMenuModel extends GObjectObject {
|
|
133
134
|
static [GIR_TYPE]: string;
|
|
135
|
+
/**
|
|
136
|
+
* `Gio.MenuModel.$gtype` — installed by the `registerBaseClass` below, declared here so a
|
|
137
|
+
* caller can NAME the type. It is the `valueType` a widget declaring a `menu-model` property
|
|
138
|
+
* passes (`ForeignObjectProperty`), which is why this one needs a type where the other
|
|
139
|
+
* registered base classes do not: `Gtk.FileFilter.$gtype` is declared for the same reason,
|
|
140
|
+
* a `Gio.ListStore`'s `item_type`.
|
|
141
|
+
*/
|
|
142
|
+
static readonly $gtype: GType;
|
|
134
143
|
constructor();
|
|
135
144
|
/** `g_menu_model_is_mutable`. */
|
|
136
145
|
is_mutable(): boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gjsify/adwaita-core",
|
|
3
|
-
"version": "0.64.
|
|
3
|
+
"version": "0.64.15-next.287",
|
|
4
4
|
"description": "Headless Adwaita widget behavior (breakpoint condition grammar + apply/unapply state machine, color-scheme observable, avatar derivation) shared by the web and NativeScript Adwaita renderers — pure TS, no platform imports",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "lib/esm/index.js",
|
|
@@ -67,9 +67,9 @@
|
|
|
67
67
|
"headless"
|
|
68
68
|
],
|
|
69
69
|
"devDependencies": {
|
|
70
|
-
"@gjsify/cli": "
|
|
70
|
+
"@gjsify/cli": "0.64.15-next.287",
|
|
71
71
|
"@gjsify/node-gi": "file:../../../packages/node-gi/node-gi",
|
|
72
|
-
"@gjsify/unit": "
|
|
72
|
+
"@gjsify/unit": "0.64.15-next.287",
|
|
73
73
|
"@types/node": "^25.9.2",
|
|
74
74
|
"typescript": "^6.0.3"
|
|
75
75
|
},
|
|
@@ -92,5 +92,6 @@
|
|
|
92
92
|
"bugs": {
|
|
93
93
|
"url": "https://github.com/gjsify/gjsify/issues"
|
|
94
94
|
},
|
|
95
|
-
"homepage": "https://github.com/gjsify/gjsify/tree/main/packages/web/adwaita-core#readme"
|
|
95
|
+
"homepage": "https://github.com/gjsify/gjsify/tree/main/packages/web/adwaita-core#readme",
|
|
96
|
+
"gitHead": "5742b282a8a2bc8633dd8384ef436768447f6a83"
|
|
96
97
|
}
|