@girs/handy-1 4.0.4 → 4.2.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.
@@ -0,0 +1,274 @@
1
+ // The widget vocabulary of Handy-1 as runtime data.
2
+ //
3
+ // GENERATED — do not edit. Provenance: Handy-1 — dropped empty base(s): GObject.InitiallyUnowned GObject.Object Atk.ImplementorIface Gio.ActionGroup Gio.ActionMap
4
+ //
5
+ // The type half of this subpath is the sibling `.d.ts`. This file exists because
6
+ // types are erased: a consumer that wants to ask the installed library whether every
7
+ // name here is real needs values, not declarations.
8
+
9
+ export const SURFACE_PROVENANCE = 'Handy-1 — dropped empty base(s): GObject.InitiallyUnowned GObject.Object Atk.ImplementorIface Gio.ActionGroup Gio.ActionMap';
10
+
11
+ export const OWN_PROPS = {
12
+ HdyActionRow: ['activatable-widget', 'icon-name', 'subtitle', 'subtitle-lines', 'title-lines', 'use-underline'],
13
+ HdyAvatar: ['icon-name', 'loadable-icon', 'show-initials', 'size', 'text'],
14
+ HdyCarousel: ['allow-long-swipes', 'allow-mouse-drag', 'allow-scroll-wheel', 'animation-duration', 'interactive', 'reveal-duration', 'spacing'],
15
+ HdyCarouselIndicatorDots: ['carousel'],
16
+ HdyCarouselIndicatorLines: ['carousel'],
17
+ HdyClamp: ['maximum-size', 'tightening-threshold'],
18
+ HdyComboRow: ['selected-index', 'use-subtitle'],
19
+ HdyDeck: ['can-swipe-back', 'can-swipe-forward', 'hhomogeneous', 'interpolate-size', 'transition-duration', 'transition-type', 'vhomogeneous', 'visible-child', 'visible-child-name'],
20
+ HdyExpanderRow: ['enable-expansion', 'expanded', 'icon-name', 'show-enable-switch', 'subtitle', 'use-underline'],
21
+ HdyFlap: ['content', 'flap', 'flap-position', 'fold-duration', 'fold-policy', 'locked', 'modal', 'reveal-duration', 'reveal-flap', 'separator', 'swipe-to-close', 'swipe-to-open', 'transition-type'],
22
+ HdyHeaderBar: ['centering-policy', 'custom-title', 'decoration-layout', 'decoration-layout-set', 'has-subtitle', 'interpolate-size', 'show-close-button', 'spacing', 'subtitle', 'title', 'transition-duration'],
23
+ HdyKeypad: ['column-spacing', 'end-action', 'entry', 'letters-visible', 'row-spacing', 'start-action', 'symbols-visible'],
24
+ HdyLeaflet: ['can-swipe-back', 'can-swipe-forward', 'child-transition-duration', 'hhomogeneous-folded', 'hhomogeneous-unfolded', 'interpolate-size', 'mode-transition-duration', 'transition-type', 'vhomogeneous-folded', 'vhomogeneous-unfolded', 'visible-child', 'visible-child-name'],
25
+ HdyPreferencesGroup: ['description', 'title', 'use-markup'],
26
+ HdyPreferencesPage: ['icon-name', 'title'],
27
+ HdyPreferencesRow: ['title', 'use-underline'],
28
+ HdyPreferencesWindow: ['can-swipe-back', 'search-enabled'],
29
+ HdySearchBar: ['search-mode-enabled', 'show-close-button'],
30
+ HdySqueezer: ['homogeneous', 'interpolate-size', 'transition-duration', 'transition-type', 'xalign', 'yalign'],
31
+ HdyStatusPage: ['description', 'icon-name', 'title'],
32
+ HdyTabBar: ['autohide', 'end-action-widget', 'expand-tabs', 'extra-drag-dest-targets', 'inverted', 'start-action-widget', 'view'],
33
+ HdyTabView: ['default-icon', 'menu-model', 'selected-page', 'shortcut-widget'],
34
+ HdyTitleBar: ['selection-mode'],
35
+ HdyViewSwitcher: ['narrow-ellipsize', 'policy', 'stack'],
36
+ HdyViewSwitcherBar: ['policy', 'reveal', 'stack'],
37
+ HdyViewSwitcherTitle: ['policy', 'stack', 'subtitle', 'title', 'view-switcher-enabled'],
38
+ };
39
+
40
+ export const OWN_SIGNALS = {
41
+ HdyActionRow: ['activated'],
42
+ HdyCarousel: ['page-changed'],
43
+ HdyTabBar: ['extra-drag-data-received'],
44
+ HdyTabView: ['close-page', 'create-window', 'indicator-activated', 'page-attached', 'page-detached', 'page-reordered', 'setup-menu'],
45
+ };
46
+
47
+ export const DECLS = {
48
+ HdyActionRow: ['HdyActionRow', 'HdyPreferencesRow', 'GtkListBoxRow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkActionable', 'GtkBuildable'],
49
+ HdyApplicationWindow: ['HdyApplicationWindow', 'GtkApplicationWindow', 'GtkWindow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
50
+ HdyAvatar: ['HdyAvatar', 'GtkDrawingArea', 'GtkWidget', 'GtkBuildable'],
51
+ HdyCarousel: ['HdyCarousel', 'GtkEventBox', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable', 'GtkOrientable', 'HdySwipeable'],
52
+ HdyCarouselIndicatorDots: ['HdyCarouselIndicatorDots', 'GtkDrawingArea', 'GtkWidget', 'GtkBuildable', 'GtkOrientable'],
53
+ HdyCarouselIndicatorLines: ['HdyCarouselIndicatorLines', 'GtkDrawingArea', 'GtkWidget', 'GtkBuildable', 'GtkOrientable'],
54
+ HdyClamp: ['HdyClamp', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable', 'GtkOrientable'],
55
+ HdyComboRow: ['HdyComboRow', 'HdyActionRow', 'HdyPreferencesRow', 'GtkListBoxRow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkActionable', 'GtkBuildable'],
56
+ HdyDeck: ['HdyDeck', 'GtkContainer', 'GtkWidget', 'GtkBuildable', 'GtkOrientable', 'HdySwipeable'],
57
+ HdyExpanderRow: ['HdyExpanderRow', 'HdyPreferencesRow', 'GtkListBoxRow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkActionable', 'GtkBuildable'],
58
+ HdyFlap: ['HdyFlap', 'GtkContainer', 'GtkWidget', 'GtkBuildable', 'GtkOrientable', 'HdySwipeable'],
59
+ HdyHeaderBar: ['HdyHeaderBar', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
60
+ HdyKeypad: ['HdyKeypad', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
61
+ HdyLeaflet: ['HdyLeaflet', 'GtkContainer', 'GtkWidget', 'GtkBuildable', 'GtkOrientable', 'HdySwipeable'],
62
+ HdyPreferencesGroup: ['HdyPreferencesGroup', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
63
+ HdyPreferencesPage: ['HdyPreferencesPage', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
64
+ HdyPreferencesRow: ['HdyPreferencesRow', 'GtkListBoxRow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkActionable', 'GtkBuildable'],
65
+ HdyPreferencesWindow: ['HdyPreferencesWindow', 'HdyWindow', 'GtkWindow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
66
+ HdySearchBar: ['HdySearchBar', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
67
+ HdySqueezer: ['HdySqueezer', 'GtkContainer', 'GtkWidget', 'GtkBuildable', 'GtkOrientable'],
68
+ HdyStatusPage: ['HdyStatusPage', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
69
+ HdyTabBar: ['HdyTabBar', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
70
+ HdyTabView: ['HdyTabView', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
71
+ HdyTitleBar: ['HdyTitleBar', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
72
+ HdyViewSwitcher: ['HdyViewSwitcher', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
73
+ HdyViewSwitcherBar: ['HdyViewSwitcherBar', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
74
+ HdyViewSwitcherTitle: ['HdyViewSwitcherTitle', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
75
+ HdyWindow: ['HdyWindow', 'GtkWindow', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
76
+ HdyWindowHandle: ['HdyWindowHandle', 'GtkEventBox', 'GtkBin', 'GtkContainer', 'GtkWidget', 'GtkBuildable'],
77
+ };
78
+
79
+ export const ENUM_NICKS = {
80
+ HdyCenteringPolicy: ['loose', 'strict'],
81
+ HdyColorScheme: ['default', 'force-light', 'prefer-light', 'prefer-dark', 'force-dark'],
82
+ HdyDeckTransitionType: ['over', 'under', 'slide'],
83
+ HdyFlapFoldPolicy: ['never', 'always', 'auto'],
84
+ HdyFlapTransitionType: ['over', 'under', 'slide'],
85
+ HdyHeaderGroupChildType: ['header-bar', 'gtk-header-bar', 'header-group'],
86
+ HdyLeafletTransitionType: ['over', 'under', 'slide'],
87
+ HdyNavigationDirection: ['back', 'forward'],
88
+ HdySqueezerTransitionType: ['none', 'crossfade'],
89
+ HdyViewSwitcherPolicy: ['auto', 'narrow', 'wide'],
90
+ PangoEllipsizeMode: ['none', 'start', 'middle', 'end'],
91
+ };
92
+
93
+ export const SLOT_CANDIDATES = {
94
+ HdyActionRow: {
95
+ 'activatable': 'set_activatable_widget',
96
+ 'prefix': 'add_prefix',
97
+ },
98
+ HdyCarouselIndicatorDots: {
99
+ 'carousel': 'set_carousel',
100
+ },
101
+ HdyCarouselIndicatorLines: {
102
+ 'carousel': 'set_carousel',
103
+ },
104
+ HdyDeck: {
105
+ 'visible-child': 'set_visible_child',
106
+ },
107
+ HdyExpanderRow: {
108
+ 'action': 'add_action',
109
+ 'prefix': 'add_prefix',
110
+ },
111
+ HdyFlap: {
112
+ 'content': 'set_content',
113
+ 'flap': 'set_flap',
114
+ 'separator': 'set_separator',
115
+ },
116
+ HdyHeaderBar: {
117
+ 'custom-title': 'set_custom_title',
118
+ 'end': 'pack_end',
119
+ 'start': 'pack_start',
120
+ },
121
+ HdyKeypad: {
122
+ 'end-action': 'set_end_action',
123
+ 'entry': 'set_entry',
124
+ 'start-action': 'set_start_action',
125
+ },
126
+ HdyLeaflet: {
127
+ 'visible-child': 'set_visible_child',
128
+ },
129
+ HdyTabBar: {
130
+ 'end-action': 'set_end_action_widget',
131
+ 'start-action': 'set_start_action_widget',
132
+ 'view': 'set_view',
133
+ },
134
+ HdyTabView: {
135
+ 'shortcut': 'set_shortcut_widget',
136
+ },
137
+ HdyViewSwitcher: {
138
+ 'stack': 'set_stack',
139
+ },
140
+ HdyViewSwitcherBar: {
141
+ 'stack': 'set_stack',
142
+ },
143
+ HdyViewSwitcherTitle: {
144
+ 'stack': 'set_stack',
145
+ },
146
+ };
147
+
148
+ export const SINCE = {
149
+ 'HdyActionRow.activatable-widget': '1.0',
150
+ 'HdyActionRow.icon-name': '1.0',
151
+ 'HdyActionRow.subtitle': '1.0',
152
+ 'HdyActionRow.subtitle-lines': '1.2',
153
+ 'HdyActionRow.title-lines': '1.2',
154
+ 'HdyActionRow.use-underline': '1.0',
155
+ 'HdyAvatar.icon-name': '1.0',
156
+ 'HdyAvatar.loadable-icon': '1.2',
157
+ 'HdyAvatar.show-initials': '1.0',
158
+ 'HdyAvatar.size': '1.0',
159
+ 'HdyAvatar.text': '1.0',
160
+ 'HdyCarousel.allow-long-swipes': '1.2',
161
+ 'HdyCarousel.allow-mouse-drag': '1.0',
162
+ 'HdyCarousel.allow-scroll-wheel': '1.4',
163
+ 'HdyCarousel.animation-duration': '1.0',
164
+ 'HdyCarousel.interactive': '1.0',
165
+ 'HdyCarousel.reveal-duration': '1.0',
166
+ 'HdyCarousel.spacing': '1.0',
167
+ 'HdyCarouselIndicatorDots.carousel': '1.0',
168
+ 'HdyCarouselIndicatorLines.carousel': '1.0',
169
+ 'HdyClamp.maximum-size': '1.0',
170
+ 'HdyClamp.tightening-threshold': '1.0',
171
+ 'HdyComboRow.selected-index': '1.0',
172
+ 'HdyComboRow.use-subtitle': '1.0',
173
+ 'HdyDeck.can-swipe-back': '1.0',
174
+ 'HdyDeck.can-swipe-forward': '1.0',
175
+ 'HdyDeck.hhomogeneous': '1.0',
176
+ 'HdyDeck.interpolate-size': '1.0',
177
+ 'HdyDeck.transition-duration': '1.0',
178
+ 'HdyDeck.transition-type': '1.0',
179
+ 'HdyDeck.vhomogeneous': '1.0',
180
+ 'HdyDeck.visible-child': '1.0',
181
+ 'HdyDeck.visible-child-name': '1.0',
182
+ 'HdyExpanderRow.enable-expansion': '1.0',
183
+ 'HdyExpanderRow.expanded': '1.0',
184
+ 'HdyExpanderRow.icon-name': '1.0',
185
+ 'HdyExpanderRow.show-enable-switch': '1.0',
186
+ 'HdyExpanderRow.subtitle': '1.0',
187
+ 'HdyExpanderRow.use-underline': '1.0',
188
+ 'HdyFlap.content': '1.2',
189
+ 'HdyFlap.flap': '1.2',
190
+ 'HdyFlap.flap-position': '1.2',
191
+ 'HdyFlap.fold-duration': '1.2',
192
+ 'HdyFlap.fold-policy': '1.2',
193
+ 'HdyFlap.locked': '1.2',
194
+ 'HdyFlap.modal': '1.2',
195
+ 'HdyFlap.reveal-duration': '1.2',
196
+ 'HdyFlap.reveal-flap': '1.2',
197
+ 'HdyFlap.separator': '1.2',
198
+ 'HdyFlap.swipe-to-close': '1.2',
199
+ 'HdyFlap.swipe-to-open': '1.2',
200
+ 'HdyFlap.transition-type': '1.2',
201
+ 'HdyHeaderBar.centering-policy': '1.0',
202
+ 'HdyHeaderBar.custom-title': '1.0',
203
+ 'HdyHeaderBar.decoration-layout': '1.0',
204
+ 'HdyHeaderBar.decoration-layout-set': '1.0',
205
+ 'HdyHeaderBar.has-subtitle': '1.0',
206
+ 'HdyHeaderBar.interpolate-size': '1.0',
207
+ 'HdyHeaderBar.show-close-button': '1.0',
208
+ 'HdyHeaderBar.spacing': '1.0',
209
+ 'HdyHeaderBar.subtitle': '1.0',
210
+ 'HdyHeaderBar.title': '1.0',
211
+ 'HdyHeaderBar.transition-duration': '1.0',
212
+ 'HdyKeypad.column-spacing': '1.0',
213
+ 'HdyKeypad.end-action': '1.0',
214
+ 'HdyKeypad.entry': '1.0',
215
+ 'HdyKeypad.letters-visible': '1.0',
216
+ 'HdyKeypad.row-spacing': '1.0',
217
+ 'HdyKeypad.start-action': '1.0',
218
+ 'HdyKeypad.symbols-visible': '1.0',
219
+ 'HdyLeaflet.can-swipe-back': '1.0',
220
+ 'HdyLeaflet.can-swipe-forward': '1.0',
221
+ 'HdyLeaflet.child-transition-duration': '1.0',
222
+ 'HdyLeaflet.hhomogeneous-folded': '1.0',
223
+ 'HdyLeaflet.hhomogeneous-unfolded': '1.0',
224
+ 'HdyLeaflet.interpolate-size': '1.0',
225
+ 'HdyLeaflet.mode-transition-duration': '1.0',
226
+ 'HdyLeaflet.transition-type': '1.0',
227
+ 'HdyLeaflet.vhomogeneous-folded': '1.0',
228
+ 'HdyLeaflet.vhomogeneous-unfolded': '1.0',
229
+ 'HdyLeaflet.visible-child': '1.0',
230
+ 'HdyLeaflet.visible-child-name': '1.0',
231
+ 'HdyPreferencesGroup.description': '1.0',
232
+ 'HdyPreferencesGroup.title': '1.0',
233
+ 'HdyPreferencesGroup.use-markup': '1.4',
234
+ 'HdyPreferencesPage.icon-name': '1.0',
235
+ 'HdyPreferencesPage.title': '1.0',
236
+ 'HdyPreferencesRow.title': '1.0',
237
+ 'HdyPreferencesRow.use-underline': '1.0',
238
+ 'HdyPreferencesWindow.can-swipe-back': '1.0',
239
+ 'HdyPreferencesWindow.search-enabled': '1.0',
240
+ 'HdySearchBar.search-mode-enabled': '1.0',
241
+ 'HdySearchBar.show-close-button': '1.0',
242
+ 'HdySqueezer.homogeneous': '1.0',
243
+ 'HdySqueezer.interpolate-size': '1.0',
244
+ 'HdySqueezer.transition-duration': '1.0',
245
+ 'HdySqueezer.transition-type': '1.0',
246
+ 'HdySqueezer.xalign': '1.0',
247
+ 'HdySqueezer.yalign': '1.0',
248
+ 'HdyStatusPage.description': '1.2',
249
+ 'HdyStatusPage.icon-name': '1.2',
250
+ 'HdyStatusPage.title': '1.2',
251
+ 'HdyTabBar.autohide': '1.2',
252
+ 'HdyTabBar.end-action-widget': '1.2',
253
+ 'HdyTabBar.expand-tabs': '1.2',
254
+ 'HdyTabBar.extra-drag-dest-targets': '1.2',
255
+ 'HdyTabBar.inverted': '1.2',
256
+ 'HdyTabBar.start-action-widget': '1.2',
257
+ 'HdyTabBar.view': '1.2',
258
+ 'HdyTabView.default-icon': '1.2',
259
+ 'HdyTabView.menu-model': '1.2',
260
+ 'HdyTabView.selected-page': '1.2',
261
+ 'HdyTabView.shortcut-widget': '1.2',
262
+ 'HdyTitleBar.selection-mode': '1.0',
263
+ 'HdyViewSwitcher.narrow-ellipsize': '1.0',
264
+ 'HdyViewSwitcher.policy': '1.0',
265
+ 'HdyViewSwitcher.stack': '1.0',
266
+ 'HdyViewSwitcherBar.policy': '1.0',
267
+ 'HdyViewSwitcherBar.reveal': '1.0',
268
+ 'HdyViewSwitcherBar.stack': '1.0',
269
+ 'HdyViewSwitcherTitle.policy': '1.0',
270
+ 'HdyViewSwitcherTitle.stack': '1.0',
271
+ 'HdyViewSwitcherTitle.subtitle': '1.0',
272
+ 'HdyViewSwitcherTitle.title': '1.0',
273
+ 'HdyViewSwitcherTitle.view-switcher-enabled': '1.0',
274
+ };
package/package.json CHANGED
@@ -1,8 +1,7 @@
1
1
  {
2
2
  "name": "@girs/handy-1",
3
- "version": "4.0.4",
4
- "libraryVersion": "1.0.0",
5
- "description": "GJS TypeScript type definitions for Handy-1, generated from library version 1.0.0",
3
+ "version": "4.2.0",
4
+ "description": "GJS TypeScript type definitions for Handy-1",
6
5
  "type": "module",
7
6
  "module": "handy-1.js",
8
7
  "main": "handy-1.js",
@@ -17,6 +16,11 @@
17
16
  "import": "./handy-1-import.js",
18
17
  "default": "./handy-1-import.js"
19
18
  },
19
+ "./surface": {
20
+ "types": "./handy-1-surface.d.ts",
21
+ "import": "./handy-1-surface.js",
22
+ "default": "./handy-1-surface.js"
23
+ },
20
24
  "./handy-1": {
21
25
  "types": "./handy-1.d.ts",
22
26
  "import": "./handy-1.js",
@@ -32,20 +36,20 @@
32
36
  "test": "tsc --project tsconfig.json"
33
37
  },
34
38
  "dependencies": {
35
- "@girs/gjs": "^4.0.4",
36
- "@girs/gtk-3.0": "^4.0.4",
37
- "@girs/xlib-2.0": "^4.0.4",
38
- "@girs/gdk-3.0": "^4.0.4",
39
- "@girs/cairo-1.0": "^4.0.4",
40
- "@girs/gobject-2.0": "^4.0.4",
41
- "@girs/glib-2.0": "^4.0.4",
42
- "@girs/pango-1.0": "^4.0.4",
43
- "@girs/harfbuzz-0.0": "^4.0.4",
44
- "@girs/freetype2-2.0": "^4.0.4",
45
- "@girs/gio-2.0": "^4.0.4",
46
- "@girs/gmodule-2.0": "^4.0.4",
47
- "@girs/gdkpixbuf-2.0": "^4.0.4",
48
- "@girs/atk-1.0": "^4.0.4" },
39
+ "@girs/gjs": "^4.2.0",
40
+ "@girs/gtk-3.0": "^4.2.0",
41
+ "@girs/xlib-2.0": "^4.2.0",
42
+ "@girs/gdk-3.0": "^4.2.0",
43
+ "@girs/cairo-1.0": "^4.2.0",
44
+ "@girs/gobject-2.0": "^4.2.0",
45
+ "@girs/glib-2.0": "^4.2.0",
46
+ "@girs/pango-1.0": "^4.2.0",
47
+ "@girs/harfbuzz-0.0": "^4.2.0",
48
+ "@girs/freetype2-2.0": "^4.2.0",
49
+ "@girs/gio-2.0": "^4.2.0",
50
+ "@girs/gmodule-2.0": "^4.2.0",
51
+ "@girs/gdkpixbuf-2.0": "^4.2.0",
52
+ "@girs/atk-1.0": "^4.2.0" },
49
53
  "devDependencies": {
50
54
  "typescript": "*"
51
55
  },
package/tsconfig.json CHANGED
@@ -62,7 +62,7 @@
62
62
  ]
63
63
  }
64
64
  },
65
- "include": ["./handy-1.d.ts"]
65
+ "include": ["./handy-1.d.ts","./handy-1-surface.d.ts"]
66
66
  }
67
67
 
68
68