@girs/gtksource-4 4.5.0 → 4.7.0

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 CHANGED
@@ -4,7 +4,7 @@
4
4
  ![version](https://img.shields.io/npm/v/@girs/gtksource-4)
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/gtksource-4)
6
6
 
7
- GJS TypeScript type definitions for GtkSource-4 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.5.0.
7
+ GJS TypeScript type definitions for GtkSource-4 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v4.7.0.
8
8
 
9
9
  This package contains type declarations only. It ships no runtime code, so it adds
10
10
  nothing to your program and works with any bundler or none at all.
package/gtksource-4.d.ts CHANGED
@@ -2151,7 +2151,7 @@ export namespace GtkSource {
2151
2151
 
2152
2152
  namespace CompletionItem {
2153
2153
  // Signal signatures
2154
- interface SignalSignatures extends GObject.Object.SignalSignatures {
2154
+ interface SignalSignatures extends GObject.Object.SignalSignatures, CompletionProposal.SignalSignatures {
2155
2155
  "notify::gicon": (pspec: GObject.ParamSpec) => void;
2156
2156
  "notify::icon": (pspec: GObject.ParamSpec) => void;
2157
2157
  "notify::icon-name": (pspec: GObject.ParamSpec) => void;
@@ -9761,6 +9761,17 @@ export namespace GtkSource {
9761
9761
 
9762
9762
 
9763
9763
  namespace CompletionProposal {
9764
+ // Signal signatures
9765
+ interface SignalSignatures {
9766
+ /**
9767
+ * Emitted when the proposal has changed. The completion popup
9768
+ * will react to this by updating the shown information.
9769
+ * @signal
9770
+ * @action
9771
+ * @run-last
9772
+ */
9773
+ changed: () => void;
9774
+ }
9764
9775
  /**
9765
9776
  * Interface for implementing CompletionProposal.
9766
9777
  * Contains only the virtual methods that need to be implemented.
@@ -10339,6 +10350,25 @@ export namespace GtkSource {
10339
10350
  };
10340
10351
 
10341
10352
  namespace UndoManager {
10353
+ // Signal signatures
10354
+ interface SignalSignatures {
10355
+ /**
10356
+ * Emitted when the ability to redo has changed.
10357
+ * @signal
10358
+ * @since 2.10
10359
+ * @action
10360
+ * @run-last
10361
+ */
10362
+ "can-redo-changed": () => void;
10363
+ /**
10364
+ * Emitted when the ability to undo has changed.
10365
+ * @signal
10366
+ * @since 2.10
10367
+ * @action
10368
+ * @run-last
10369
+ */
10370
+ "can-undo-changed": () => void;
10371
+ }
10342
10372
  /**
10343
10373
  * Interface for implementing UndoManager.
10344
10374
  * Contains only the virtual methods that need to be implemented.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/gtksource-4",
3
- "version": "4.5.0",
3
+ "version": "4.7.0",
4
4
  "description": "GJS TypeScript type definitions for GtkSource-4",
5
5
  "type": "module",
6
6
  "module": "gtksource-4.js",
@@ -36,20 +36,20 @@
36
36
  "test": "tsc --project tsconfig.json"
37
37
  },
38
38
  "dependencies": {
39
- "@girs/gjs": "^4.5.0",
40
- "@girs/gtk-3.0": "^4.5.0",
41
- "@girs/xlib-2.0": "^4.5.0",
42
- "@girs/gdk-3.0": "^4.5.0",
43
- "@girs/cairo-1.0": "^4.5.0",
44
- "@girs/gobject-2.0": "^4.5.0",
45
- "@girs/glib-2.0": "^4.5.0",
46
- "@girs/pango-1.0": "^4.5.0",
47
- "@girs/harfbuzz-0.0": "^4.5.0",
48
- "@girs/freetype2-2.0": "^4.5.0",
49
- "@girs/gio-2.0": "^4.5.0",
50
- "@girs/gmodule-2.0": "^4.5.0",
51
- "@girs/gdkpixbuf-2.0": "^4.5.0",
52
- "@girs/atk-1.0": "^4.5.0" },
39
+ "@girs/gjs": "^4.7.0",
40
+ "@girs/gtk-3.0": "^4.7.0",
41
+ "@girs/xlib-2.0": "^4.7.0",
42
+ "@girs/gdk-3.0": "^4.7.0",
43
+ "@girs/cairo-1.0": "^4.7.0",
44
+ "@girs/gobject-2.0": "^4.7.0",
45
+ "@girs/glib-2.0": "^4.7.0",
46
+ "@girs/pango-1.0": "^4.7.0",
47
+ "@girs/harfbuzz-0.0": "^4.7.0",
48
+ "@girs/freetype2-2.0": "^4.7.0",
49
+ "@girs/gio-2.0": "^4.7.0",
50
+ "@girs/gmodule-2.0": "^4.7.0",
51
+ "@girs/gdkpixbuf-2.0": "^4.7.0",
52
+ "@girs/atk-1.0": "^4.7.0" },
53
53
  "devDependencies": {
54
54
  "typescript": "*"
55
55
  },