@girs/handy-1 5.2.0 → 5.3.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/handy-1)
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/handy-1)
6
6
 
7
- GJS TypeScript type definitions for Handy-1 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.2.0.
7
+ GJS TypeScript type definitions for Handy-1 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.3.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.
@@ -1,9 +1,9 @@
1
1
  /**
2
2
  * The GIR-derived widget VOCABULARY for Handy-1.
3
3
  *
4
- * GENERATED — do not edit. Provenance: Handy-1 — dropped empty base(s): GObject.InitiallyUnowned GObject.Object Atk.ImplementorIface Gio.ActionGroup Gio.ActionMap
4
+ * GENERATED — do not edit. Provenance: Handy-1 — dropped empty base(s): Atk.ImplementorIface
5
5
  *
6
- * 37 instantiable GTypes (of which 29 concrete widgets), 38 declarations, 11 enum nick unions, 24 slot candidates.
6
+ * 37 instantiable GTypes (of which 29 concrete widgets), 38 declarations, 10 enum nick unions, 24 slot candidates.
7
7
  *
8
8
  * Module-scoped exports only. There is no `JSX` namespace here, no tag spelling and
9
9
  * no `on<Signal>` prop name: those are DIALECT, and every framework answers them
@@ -30,7 +30,10 @@ import type Gio from '@girs/gio-2.0';
30
30
  import type Gtk from '@girs/gtk-3.0';
31
31
  import type Handy from './handy-1.js';
32
32
  import type Pango from '@girs/pango-1.0';
33
+ import type { GActionGroupConstructOnly, GActionGroupProps, GActionMapConstructOnly, GActionMapProps } from '@girs/gio-2.0/vocabulary';
34
+ import type { GInitiallyUnownedConstructOnly, GInitiallyUnownedProps, GObjectConstructOnly, GObjectProps } from '@girs/gobject-2.0/vocabulary';
33
35
  import type { GtkActionableConstructOnly, GtkActionableProps, GtkApplicationWindowConstructOnly, GtkApplicationWindowProps, GtkBinConstructOnly, GtkBinProps, GtkBuildableConstructOnly, GtkBuildableProps, GtkContainerConstructOnly, GtkContainerProps, GtkDrawingAreaConstructOnly, GtkDrawingAreaProps, GtkEventBoxConstructOnly, GtkEventBoxProps, GtkListBoxRowConstructOnly, GtkListBoxRowProps, GtkOrientableConstructOnly, GtkOrientableProps, GtkPackTypeNick, GtkWidgetConstructOnly, GtkWidgetProps, GtkWindowConstructOnly, GtkWindowProps } from '@girs/gtk-3.0/vocabulary';
36
+ import type { PangoEllipsizeModeNick } from '@girs/pango-1.0/vocabulary';
34
37
 
35
38
  // ---------------------------------------------------------------------------
36
39
  // Enum nicks — the string vocabulary GObject registered, from GIR's `glib:nick`.
@@ -52,7 +55,6 @@ export type HdyLeafletTransitionTypeNick = 'over' | 'under' | 'slide';
52
55
  export type HdyNavigationDirectionNick = 'back' | 'forward';
53
56
  export type HdySqueezerTransitionTypeNick = 'none' | 'crossfade';
54
57
  export type HdyViewSwitcherPolicyNick = 'auto' | 'narrow' | 'wide';
55
- export type PangoEllipsizeModeNick = 'none' | 'start' | 'middle' | 'end';
56
58
 
57
59
  // ---------------------------------------------------------------------------
58
60
  // Property surfaces — one interface per GIR DECLARATION, mirroring GIR's own
@@ -104,10 +106,10 @@ export interface HdyActionRowProps extends HdyPreferencesRowProps, GtkActionable
104
106
  export type HdyActionRowConstructOnly = HdyPreferencesRowConstructOnly | GtkActionableConstructOnly | GtkBuildableConstructOnly;
105
107
 
106
108
  /** A freeform application window. */
107
- export interface HdyApplicationWindowProps extends GtkApplicationWindowProps, GtkBuildableProps {
109
+ export interface HdyApplicationWindowProps extends GtkApplicationWindowProps, GActionGroupProps, GActionMapProps, GtkBuildableProps {
108
110
  }
109
111
  /** Settable only at construction — a renderer must REBUILD, not patch. */
110
- export type HdyApplicationWindowConstructOnly = GtkApplicationWindowConstructOnly | GtkBuildableConstructOnly;
112
+ export type HdyApplicationWindowConstructOnly = GtkApplicationWindowConstructOnly | GActionGroupConstructOnly | GActionMapConstructOnly | GtkBuildableConstructOnly;
111
113
 
112
114
  /** A widget displaying an image, with a generated fallback. */
113
115
  export interface HdyAvatarProps extends GtkDrawingAreaProps, GtkBuildableProps {
@@ -310,10 +312,10 @@ export interface HdyDeckProps extends GtkContainerProps, GtkBuildableProps, GtkO
310
312
  export type HdyDeckConstructOnly = GtkContainerConstructOnly | GtkBuildableConstructOnly | GtkOrientableConstructOnly | HdySwipeableConstructOnly;
311
313
 
312
314
  /** An object representing an [struct@GObject.EnumValue]. */
313
- export interface HdyEnumValueObjectProps {
315
+ export interface HdyEnumValueObjectProps extends GObjectProps {
314
316
  }
315
317
  /** Settable only at construction — a renderer must REBUILD, not patch. */
316
- export type HdyEnumValueObjectConstructOnly = never;
318
+ export type HdyEnumValueObjectConstructOnly = GObjectConstructOnly;
317
319
 
318
320
  /** A [class@Gtk.ListBoxRow] used to reveal widgets. */
319
321
  export interface HdyExpanderRowProps extends HdyPreferencesRowProps, GtkActionableProps, GtkBuildableProps {
@@ -508,7 +510,7 @@ export interface HdyHeaderBarProps extends GtkContainerProps, GtkBuildableProps
508
510
  export type HdyHeaderBarConstructOnly = GtkContainerConstructOnly | GtkBuildableConstructOnly;
509
511
 
510
512
  /** An object handling composite title bars. */
511
- export interface HdyHeaderGroupProps extends GtkBuildableProps {
513
+ export interface HdyHeaderGroupProps extends GObjectProps, GtkBuildableProps {
512
514
  /**
513
515
  * Whether the elements of the group should all receive the full decoration.
514
516
  * @since 1.0
@@ -517,13 +519,13 @@ export interface HdyHeaderGroupProps extends GtkBuildableProps {
517
519
  'decorate-all'?: boolean;
518
520
  }
519
521
  /** Settable only at construction — a renderer must REBUILD, not patch. */
520
- export type HdyHeaderGroupConstructOnly = GtkBuildableConstructOnly;
522
+ export type HdyHeaderGroupConstructOnly = GObjectConstructOnly | GtkBuildableConstructOnly;
521
523
 
522
524
  /** A child object for [class@HeaderGroup]. */
523
- export interface HdyHeaderGroupChildProps {
525
+ export interface HdyHeaderGroupChildProps extends GObjectProps {
524
526
  }
525
527
  /** Settable only at construction — a renderer must REBUILD, not patch. */
526
- export type HdyHeaderGroupChildConstructOnly = never;
528
+ export type HdyHeaderGroupChildConstructOnly = GObjectConstructOnly;
527
529
 
528
530
  /** A keypad for dialing numbers The `HdyKeypad` widget is a keypad for entering numbers such as phone numbers or PIN codes. */
529
531
  export interface HdyKeypadProps extends GtkBinProps, GtkBuildableProps {
@@ -803,7 +805,7 @@ export interface HdyStatusPageProps extends GtkBinProps, GtkBuildableProps {
803
805
  export type HdyStatusPageConstructOnly = GtkBinConstructOnly | GtkBuildableConstructOnly;
804
806
 
805
807
  /** A class for managing application-wide styling. */
806
- export interface HdyStyleManagerProps {
808
+ export interface HdyStyleManagerProps extends GObjectProps {
807
809
  /**
808
810
  * The requested application color scheme.
809
811
  * @since 1.6
@@ -817,16 +819,16 @@ export interface HdyStyleManagerProps {
817
819
  display?: Gdk.Display;
818
820
  }
819
821
  /** Settable only at construction — a renderer must REBUILD, not patch. */
820
- export type HdyStyleManagerConstructOnly = 'display';
822
+ export type HdyStyleManagerConstructOnly = GObjectConstructOnly | 'display';
821
823
 
822
824
  /** An object for syncing swipeable widgets. */
823
- export interface HdySwipeGroupProps extends GtkBuildableProps {
825
+ export interface HdySwipeGroupProps extends GObjectProps, GtkBuildableProps {
824
826
  }
825
827
  /** Settable only at construction — a renderer must REBUILD, not patch. */
826
- export type HdySwipeGroupConstructOnly = GtkBuildableConstructOnly;
828
+ export type HdySwipeGroupConstructOnly = GObjectConstructOnly | GtkBuildableConstructOnly;
827
829
 
828
830
  /** Swipe tracker used in [class@Carousel] and [class@Leaflet]. */
829
- export interface HdySwipeTrackerProps extends GtkOrientableProps {
831
+ export interface HdySwipeTrackerProps extends GObjectProps, GtkOrientableProps {
830
832
  /**
831
833
  * Whether to allow swiping for more than one snap point at a time.
832
834
  * @since 1.2
@@ -858,7 +860,7 @@ export interface HdySwipeTrackerProps extends GtkOrientableProps {
858
860
  swipeable?: Handy.Swipeable;
859
861
  }
860
862
  /** Settable only at construction — a renderer must REBUILD, not patch. */
861
- export type HdySwipeTrackerConstructOnly = GtkOrientableConstructOnly | 'swipeable';
863
+ export type HdySwipeTrackerConstructOnly = GObjectConstructOnly | GtkOrientableConstructOnly | 'swipeable';
862
864
 
863
865
  /** An interface for swipeable widgets. */
864
866
  export interface HdySwipeableProps extends GtkWidgetProps {
@@ -911,7 +913,7 @@ export interface HdyTabBarProps extends GtkBinProps, GtkBuildableProps {
911
913
  export type HdyTabBarConstructOnly = GtkBinConstructOnly | GtkBuildableConstructOnly;
912
914
 
913
915
  /** An auxiliary class used by [class@TabView]. */
914
- export interface HdyTabPageProps {
916
+ export interface HdyTabPageProps extends GObjectProps {
915
917
  /**
916
918
  * The child of the page.
917
919
  * @since 1.2
@@ -964,7 +966,7 @@ export interface HdyTabPageProps {
964
966
  tooltip?: string | null;
965
967
  }
966
968
  /** Settable only at construction — a renderer must REBUILD, not patch. */
967
- export type HdyTabPageConstructOnly = 'child' | 'parent';
969
+ export type HdyTabPageConstructOnly = GObjectConstructOnly | 'child' | 'parent';
968
970
 
969
971
  /** A dynamic tabbed container. */
970
972
  export interface HdyTabViewProps extends GtkBinProps, GtkBuildableProps {
@@ -1006,7 +1008,7 @@ export interface HdyTitleBarProps extends GtkBinProps, GtkBuildableProps {
1006
1008
  export type HdyTitleBarConstructOnly = GtkBinConstructOnly | GtkBuildableConstructOnly;
1007
1009
 
1008
1010
  /** An object representing a [struct@GObject.Value]. */
1009
- export interface HdyValueObjectProps {
1011
+ export interface HdyValueObjectProps extends GObjectProps {
1010
1012
  /**
1011
1013
  * The contained value.
1012
1014
  * @since 1.0
@@ -1014,7 +1016,7 @@ export interface HdyValueObjectProps {
1014
1016
  value?: GObject.Value;
1015
1017
  }
1016
1018
  /** Settable only at construction — a renderer must REBUILD, not patch. */
1017
- export type HdyValueObjectConstructOnly = 'value';
1019
+ export type HdyValueObjectConstructOnly = GObjectConstructOnly | 'value';
1018
1020
 
1019
1021
  /** An adaptive view switcher. */
1020
1022
  export interface HdyViewSwitcherProps extends GtkBinProps, GtkBuildableProps {
@@ -1432,6 +1434,30 @@ export const PROVENANCE: {
1432
1434
  * GIRs disagreeing, which is what the main emitter answers `never` for as well.
1433
1435
  */
1434
1436
  readonly unresolvedProps: readonly string[];
1437
+ /**
1438
+ * `c:identifier-prefixes` from the GIR, verbatim and in order — `['G']` for Gio.
1439
+ *
1440
+ * The C prefix a type REFERENCE needs: resolving `Gio.Icon` means producing `GIcon`,
1441
+ * and nothing else in this package states that `Gio` spells itself `G`. Carried rather
1442
+ * than derived because GIR carries it, and a derivation over the `DECLS` keys is wrong
1443
+ * wherever the C prefix is not a prefix of the type NAMES: gdkx11-4.0 and gdkwayland-4.0
1444
+ * both state `Gdk` while every key they declare begins `GdkX11`/`GdkWayland`.
1445
+ *
1446
+ * Empty where the GIR states none — 17 of the 627 emitting namespaces — because
1447
+ * inventing the namespace name there is a confident wrong answer in place of a missing
1448
+ * one. A LIST because 20 of them state more than one, which no single string expresses.
1449
+ */
1450
+ readonly identifierPrefixes: readonly string[];
1451
+ /**
1452
+ * Sibling vocabularies this one's DECLARATIONS come from, as import specifiers.
1453
+ *
1454
+ * A chain link with no `OWN_PROPS` row is ambiguous on its own — `GtkSeparator` has no
1455
+ * settable property, `GApplication` has its properties in another package — and this
1456
+ * list is what tells the two apart. Enum and bitfield NUMBERS are not here: those are
1457
+ * carried in this file, because a `PROP_ENUMS` row naming a foreign GType gives a
1458
+ * consumer nothing to load and a `.ui` file using the property never names its owner.
1459
+ */
1460
+ readonly requiredVocabularies: readonly string[];
1435
1461
  };
1436
1462
 
1437
1463
  /** Declaration GType -> its own settable properties, as GObject registered them. */
@@ -1,6 +1,6 @@
1
1
  // The widget vocabulary of Handy-1 as runtime data.
2
2
  //
3
- // GENERATED — do not edit. Provenance: Handy-1 — dropped empty base(s): GObject.InitiallyUnowned GObject.Object Atk.ImplementorIface Gio.ActionGroup Gio.ActionMap
3
+ // GENERATED — do not edit. Provenance: Handy-1 — dropped empty base(s): Atk.ImplementorIface
4
4
  //
5
5
  // The type half of this subpath is the sibling `.d.ts`. This file exists because
6
6
  // types are erased: a consumer that wants to ask the installed library whether every
@@ -11,10 +11,12 @@ export const PROVENANCE = {
11
11
  version: '1',
12
12
  libraryVersion: null,
13
13
  childHolders: 0,
14
- droppedBases: ['GObject.InitiallyUnowned', 'GObject.Object', 'Atk.ImplementorIface', 'Gio.ActionGroup', 'Gio.ActionMap'],
14
+ droppedBases: ['Atk.ImplementorIface'],
15
15
  inlinedBases: [],
16
16
  unsettableProps: [],
17
17
  unresolvedProps: [],
18
+ identifierPrefixes: ['Hdy'],
19
+ requiredVocabularies: ['@girs/gio-2.0/vocabulary', '@girs/gobject-2.0/vocabulary', '@girs/gtk-3.0/vocabulary', '@girs/pango-1.0/vocabulary'],
18
20
  };
19
21
 
20
22
  export const OWN_PROPS = {
@@ -69,43 +71,43 @@ export const OWN_SIGNALS = {
69
71
  // `GtkEventController*` and `GtkCellRenderer*`. Use `Widgets` and `CHILD_HOLDERS`
70
72
  // below for the narrower questions; they did not move.
71
73
  export const DECLS = {
72
- HdyActionRow: ['HdyActionRow', 'HdyPreferencesRow', 'GtkListBoxRow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkActionable', 'GtkBuildable'],
73
- HdyApplicationWindow: ['HdyApplicationWindow', 'GtkApplicationWindow', 'GtkWindow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
74
- HdyAvatar: ['HdyAvatar', 'GtkDrawingArea', 'GtkWidget', 'GtkBuildable'],
75
- HdyCarousel: ['HdyCarousel', 'GtkEventBox', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable', 'GtkOrientable', 'HdySwipeable'],
76
- HdyCarouselIndicatorDots: ['HdyCarouselIndicatorDots', 'GtkDrawingArea', 'GtkWidget', 'GtkBuildable', 'GtkOrientable'],
77
- HdyCarouselIndicatorLines: ['HdyCarouselIndicatorLines', 'GtkDrawingArea', 'GtkWidget', 'GtkBuildable', 'GtkOrientable'],
78
- HdyClamp: ['HdyClamp', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable', 'GtkOrientable'],
79
- HdyComboRow: ['HdyComboRow', 'HdyActionRow', 'HdyPreferencesRow', 'GtkListBoxRow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkActionable', 'GtkBuildable'],
80
- HdyDeck: ['HdyDeck', 'GtkContainer', 'GtkWidget', 'GtkBuildable', 'GtkOrientable', 'HdySwipeable'],
81
- HdyEnumValueObject: ['HdyEnumValueObject'],
82
- HdyExpanderRow: ['HdyExpanderRow', 'HdyPreferencesRow', 'GtkListBoxRow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkActionable', 'GtkBuildable'],
83
- HdyFlap: ['HdyFlap', 'GtkContainer', 'GtkWidget', 'GtkBuildable', 'GtkOrientable', 'HdySwipeable'],
84
- HdyHeaderBar: ['HdyHeaderBar', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
85
- HdyHeaderGroup: ['HdyHeaderGroup', 'GtkBuildable'],
86
- HdyHeaderGroupChild: ['HdyHeaderGroupChild'],
87
- HdyKeypad: ['HdyKeypad', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
88
- HdyLeaflet: ['HdyLeaflet', 'GtkContainer', 'GtkWidget', 'GtkBuildable', 'GtkOrientable', 'HdySwipeable'],
89
- HdyPreferencesGroup: ['HdyPreferencesGroup', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
90
- HdyPreferencesPage: ['HdyPreferencesPage', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
91
- HdyPreferencesRow: ['HdyPreferencesRow', 'GtkListBoxRow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkActionable', 'GtkBuildable'],
92
- HdyPreferencesWindow: ['HdyPreferencesWindow', 'HdyWindow', 'GtkWindow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
93
- HdySearchBar: ['HdySearchBar', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
94
- HdySqueezer: ['HdySqueezer', 'GtkContainer', 'GtkWidget', 'GtkBuildable', 'GtkOrientable'],
95
- HdyStatusPage: ['HdyStatusPage', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
96
- HdyStyleManager: ['HdyStyleManager'],
97
- HdySwipeGroup: ['HdySwipeGroup', 'GtkBuildable'],
98
- HdySwipeTracker: ['HdySwipeTracker', 'GtkOrientable'],
99
- HdyTabBar: ['HdyTabBar', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
100
- HdyTabPage: ['HdyTabPage'],
101
- HdyTabView: ['HdyTabView', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
102
- HdyTitleBar: ['HdyTitleBar', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
103
- HdyValueObject: ['HdyValueObject'],
104
- HdyViewSwitcher: ['HdyViewSwitcher', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
105
- HdyViewSwitcherBar: ['HdyViewSwitcherBar', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
106
- HdyViewSwitcherTitle: ['HdyViewSwitcherTitle', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
107
- HdyWindow: ['HdyWindow', 'GtkWindow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
108
- HdyWindowHandle: ['HdyWindowHandle', 'GtkEventBox', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
74
+ HdyActionRow: ['HdyActionRow', 'HdyPreferencesRow', 'GtkListBoxRow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkActionable', 'GtkBuildable'],
75
+ HdyApplicationWindow: ['HdyApplicationWindow', 'GtkApplicationWindow', 'GtkWindow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GActionGroup', 'GActionMap', 'GtkBuildable'],
76
+ HdyAvatar: ['HdyAvatar', 'GtkDrawingArea', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable'],
77
+ HdyCarousel: ['HdyCarousel', 'GtkEventBox', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable', 'GtkOrientable', 'HdySwipeable'],
78
+ HdyCarouselIndicatorDots: ['HdyCarouselIndicatorDots', 'GtkDrawingArea', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable', 'GtkOrientable'],
79
+ HdyCarouselIndicatorLines: ['HdyCarouselIndicatorLines', 'GtkDrawingArea', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable', 'GtkOrientable'],
80
+ HdyClamp: ['HdyClamp', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable', 'GtkOrientable'],
81
+ HdyComboRow: ['HdyComboRow', 'HdyActionRow', 'HdyPreferencesRow', 'GtkListBoxRow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkActionable', 'GtkBuildable'],
82
+ HdyDeck: ['HdyDeck', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable', 'GtkOrientable', 'HdySwipeable'],
83
+ HdyEnumValueObject: ['HdyEnumValueObject', 'GObject'],
84
+ HdyExpanderRow: ['HdyExpanderRow', 'HdyPreferencesRow', 'GtkListBoxRow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkActionable', 'GtkBuildable'],
85
+ HdyFlap: ['HdyFlap', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable', 'GtkOrientable', 'HdySwipeable'],
86
+ HdyHeaderBar: ['HdyHeaderBar', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable'],
87
+ HdyHeaderGroup: ['HdyHeaderGroup', 'GObject', 'GtkBuildable'],
88
+ HdyHeaderGroupChild: ['HdyHeaderGroupChild', 'GObject'],
89
+ HdyKeypad: ['HdyKeypad', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable'],
90
+ HdyLeaflet: ['HdyLeaflet', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable', 'GtkOrientable', 'HdySwipeable'],
91
+ HdyPreferencesGroup: ['HdyPreferencesGroup', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable'],
92
+ HdyPreferencesPage: ['HdyPreferencesPage', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable'],
93
+ HdyPreferencesRow: ['HdyPreferencesRow', 'GtkListBoxRow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkActionable', 'GtkBuildable'],
94
+ HdyPreferencesWindow: ['HdyPreferencesWindow', 'HdyWindow', 'GtkWindow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable'],
95
+ HdySearchBar: ['HdySearchBar', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable'],
96
+ HdySqueezer: ['HdySqueezer', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable', 'GtkOrientable'],
97
+ HdyStatusPage: ['HdyStatusPage', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable'],
98
+ HdyStyleManager: ['HdyStyleManager', 'GObject'],
99
+ HdySwipeGroup: ['HdySwipeGroup', 'GObject', 'GtkBuildable'],
100
+ HdySwipeTracker: ['HdySwipeTracker', 'GObject', 'GtkOrientable'],
101
+ HdyTabBar: ['HdyTabBar', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable'],
102
+ HdyTabPage: ['HdyTabPage', 'GObject'],
103
+ HdyTabView: ['HdyTabView', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable'],
104
+ HdyTitleBar: ['HdyTitleBar', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable'],
105
+ HdyValueObject: ['HdyValueObject', 'GObject'],
106
+ HdyViewSwitcher: ['HdyViewSwitcher', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable'],
107
+ HdyViewSwitcherBar: ['HdyViewSwitcherBar', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable'],
108
+ HdyViewSwitcherTitle: ['HdyViewSwitcherTitle', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable'],
109
+ HdyWindow: ['HdyWindow', 'GtkWindow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable'],
110
+ HdyWindowHandle: ['HdyWindowHandle', 'GtkEventBox', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GInitiallyUnowned', 'GObject', 'GtkBuildable'],
109
111
  };
110
112
 
111
113
  // The GTypes above that ARE widgets are the `Widgets` map in the sibling `.d.ts`; these
@@ -116,6 +118,7 @@ export const DECLS = {
116
118
  export const CHILD_HOLDERS = [];
117
119
 
118
120
  export const ENUM_NICKS = {
121
+ GtkPackType: ['start', 'end'],
119
122
  HdyCenteringPolicy: ['loose', 'strict'],
120
123
  HdyColorScheme: ['default', 'force-light', 'prefer-light', 'prefer-dark', 'force-dark'],
121
124
  HdyDeckTransitionType: ['over', 'under', 'slide'],
@@ -144,6 +147,8 @@ export const ENUM_NICKS = {
144
147
  // vocabulary describes but the host predates then looks like a missing number rather than a
145
148
  // version gap.
146
149
  export const ENUM_VALUES = {
150
+ 'GtkPackType.end': 1,
151
+ 'GtkPackType.start': 0,
147
152
  'HdyCenteringPolicy.loose': 0,
148
153
  'HdyCenteringPolicy.strict': 1,
149
154
  'HdyColorScheme.default': 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/handy-1",
3
- "version": "5.2.0",
3
+ "version": "5.3.0",
4
4
  "description": "GJS TypeScript type definitions for Handy-1",
5
5
  "type": "module",
6
6
  "module": "handy-1.js",
@@ -36,20 +36,20 @@
36
36
  "test": "tsc --project tsconfig.json"
37
37
  },
38
38
  "dependencies": {
39
- "@girs/gjs": "^5.2.0",
40
- "@girs/gtk-3.0": "^5.2.0",
41
- "@girs/xlib-2.0": "^5.2.0",
42
- "@girs/gdk-3.0": "^5.2.0",
43
- "@girs/cairo-1.0": "^5.2.0",
44
- "@girs/gobject-2.0": "^5.2.0",
45
- "@girs/glib-2.0": "^5.2.0",
46
- "@girs/pango-1.0": "^5.2.0",
47
- "@girs/harfbuzz-0.0": "^5.2.0",
48
- "@girs/freetype2-2.0": "^5.2.0",
49
- "@girs/gio-2.0": "^5.2.0",
50
- "@girs/gmodule-2.0": "^5.2.0",
51
- "@girs/gdkpixbuf-2.0": "^5.2.0",
52
- "@girs/atk-1.0": "^5.2.0" },
39
+ "@girs/gjs": "^5.3.0",
40
+ "@girs/gtk-3.0": "^5.3.0",
41
+ "@girs/xlib-2.0": "^5.3.0",
42
+ "@girs/gdk-3.0": "^5.3.0",
43
+ "@girs/cairo-1.0": "^5.3.0",
44
+ "@girs/gobject-2.0": "^5.3.0",
45
+ "@girs/glib-2.0": "^5.3.0",
46
+ "@girs/pango-1.0": "^5.3.0",
47
+ "@girs/harfbuzz-0.0": "^5.3.0",
48
+ "@girs/freetype2-2.0": "^5.3.0",
49
+ "@girs/gio-2.0": "^5.3.0",
50
+ "@girs/gmodule-2.0": "^5.3.0",
51
+ "@girs/gdkpixbuf-2.0": "^5.3.0",
52
+ "@girs/atk-1.0": "^5.3.0" },
53
53
  "devDependencies": {
54
54
  "typescript": "*"
55
55
  },