@girs/clutter-16 5.3.0 → 5.5.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/clutter-16)
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/clutter-16)
6
6
 
7
- GJS TypeScript type definitions for Clutter-16 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.3.0.
7
+ GJS TypeScript type definitions for Clutter-16 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.5.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.
@@ -1512,6 +1512,19 @@ export const FLAG_VALUES_UNREADABLE: Readonly<Record<string, string>>;
1512
1512
  */
1513
1513
  export const PROP_ENUMS: Readonly<Record<string, string>>;
1514
1514
 
1515
+ /**
1516
+ * `<declaration GType>.<property>` -> the GType of that property's own type.
1517
+ *
1518
+ * `PROP_ENUMS` one case wider, and separate on purpose: that table promises the GType it names
1519
+ * has NUMBERS, and this one promises only that the GType is the property's. A host inferring a
1520
+ * type from a property — the middle of an uncast lookup chain, an uncast closure's return type —
1521
+ * reads this one; a host resolving a nick to a number reads that one.
1522
+ *
1523
+ * Absent means no GType can be stated, not that the property is scalar: `gchararray` is carried
1524
+ * like any other, so absence is readable as "unknown".
1525
+ */
1526
+ export const PROP_TYPES: Readonly<Record<string, string>>;
1527
+
1515
1528
  /**
1516
1529
  * The kinds of value a GTK accessible property, relation or state takes.
1517
1530
  *
@@ -849,6 +849,194 @@ export const PROP_ENUMS = {
849
849
  'ClutterVirtualInputDevice.device-type': 'ClutterInputDeviceType',
850
850
  };
851
851
 
852
+ // `<declaration GType>.<property>` -> the GType of that property's own type.
853
+ //
854
+ // `PROP_ENUMS` one case wider, and a SEPARATE table on purpose. That one is a join with a
855
+ // contract — the GType it names has numbers, in this vocabulary or the owner's — and folding a
856
+ // plain type table in would mix "resolvable to numbers" with "not" and hand the distinction to
857
+ // the consumer. `ARIA_VALUE_ENUMS` beside `ARIA_VALUE_TYPES` is the same split.
858
+ //
859
+ // A row is ABSENT where no GType can be stated: a fundamental spelling outside the generator's
860
+ // closed map, a registered type with no `glib:type-name`, or a property with no `<type>`
861
+ // child. Absence therefore reads as "unknown" and never as "scalar".
862
+ export const PROP_TYPES = {
863
+ 'ClutterActor.accessible-name': 'gchararray',
864
+ 'ClutterActor.accessible-role': 'AtkRole',
865
+ 'ClutterActor.actions': 'ClutterAction',
866
+ 'ClutterActor.clip-to-allocation': 'gboolean',
867
+ 'ClutterActor.color-state': 'ClutterColorState',
868
+ 'ClutterActor.constraints': 'ClutterConstraint',
869
+ 'ClutterActor.content': 'ClutterContent',
870
+ 'ClutterActor.content-gravity': 'ClutterContentGravity',
871
+ 'ClutterActor.content-repeat': 'ClutterContentRepeat',
872
+ 'ClutterActor.context': 'ClutterContext',
873
+ 'ClutterActor.effect': 'ClutterEffect',
874
+ 'ClutterActor.fixed-position-set': 'gboolean',
875
+ 'ClutterActor.fixed-x': 'gfloat',
876
+ 'ClutterActor.fixed-y': 'gfloat',
877
+ 'ClutterActor.height': 'gfloat',
878
+ 'ClutterActor.layout-manager': 'ClutterLayoutManager',
879
+ 'ClutterActor.magnification-filter': 'ClutterScalingFilter',
880
+ 'ClutterActor.margin-bottom': 'gfloat',
881
+ 'ClutterActor.margin-left': 'gfloat',
882
+ 'ClutterActor.margin-right': 'gfloat',
883
+ 'ClutterActor.margin-top': 'gfloat',
884
+ 'ClutterActor.min-height': 'gfloat',
885
+ 'ClutterActor.min-height-set': 'gboolean',
886
+ 'ClutterActor.min-width': 'gfloat',
887
+ 'ClutterActor.min-width-set': 'gboolean',
888
+ 'ClutterActor.minification-filter': 'ClutterScalingFilter',
889
+ 'ClutterActor.name': 'gchararray',
890
+ 'ClutterActor.natural-height': 'gfloat',
891
+ 'ClutterActor.natural-height-set': 'gboolean',
892
+ 'ClutterActor.natural-width': 'gfloat',
893
+ 'ClutterActor.natural-width-set': 'gboolean',
894
+ 'ClutterActor.offscreen-redirect': 'ClutterOffscreenRedirect',
895
+ 'ClutterActor.opacity': 'guint',
896
+ 'ClutterActor.pivot-point-z': 'gfloat',
897
+ 'ClutterActor.reactive': 'gboolean',
898
+ 'ClutterActor.request-mode': 'ClutterRequestMode',
899
+ 'ClutterActor.rotation-angle-x': 'gdouble',
900
+ 'ClutterActor.rotation-angle-y': 'gdouble',
901
+ 'ClutterActor.rotation-angle-z': 'gdouble',
902
+ 'ClutterActor.scale-x': 'gdouble',
903
+ 'ClutterActor.scale-y': 'gdouble',
904
+ 'ClutterActor.scale-z': 'gdouble',
905
+ 'ClutterActor.show-on-set-parent': 'gboolean',
906
+ 'ClutterActor.text-direction': 'ClutterTextDirection',
907
+ 'ClutterActor.translation-x': 'gfloat',
908
+ 'ClutterActor.translation-y': 'gfloat',
909
+ 'ClutterActor.translation-z': 'gfloat',
910
+ 'ClutterActor.visible': 'gboolean',
911
+ 'ClutterActor.width': 'gfloat',
912
+ 'ClutterActor.x': 'gfloat',
913
+ 'ClutterActor.x-align': 'ClutterActorAlign',
914
+ 'ClutterActor.x-expand': 'gboolean',
915
+ 'ClutterActor.y': 'gfloat',
916
+ 'ClutterActor.y-align': 'ClutterActorAlign',
917
+ 'ClutterActor.y-expand': 'gboolean',
918
+ 'ClutterActor.z-position': 'gfloat',
919
+ 'ClutterActorMeta.enabled': 'gboolean',
920
+ 'ClutterActorMeta.name': 'gchararray',
921
+ 'ClutterAlignConstraint.align-axis': 'ClutterAlignAxis',
922
+ 'ClutterAlignConstraint.factor': 'gfloat',
923
+ 'ClutterAlignConstraint.source': 'ClutterActor',
924
+ 'ClutterBindConstraint.coordinate': 'ClutterBindCoordinate',
925
+ 'ClutterBindConstraint.offset': 'gfloat',
926
+ 'ClutterBindConstraint.source': 'ClutterActor',
927
+ 'ClutterBindingPool.name': 'gchararray',
928
+ 'ClutterBoxLayout.homogeneous': 'gboolean',
929
+ 'ClutterBoxLayout.orientation': 'ClutterOrientation',
930
+ 'ClutterBoxLayout.spacing': 'guint',
931
+ 'ClutterClickAction.long-press-duration': 'gint',
932
+ 'ClutterClickAction.long-press-threshold': 'gint',
933
+ 'ClutterClone.source': 'ClutterActor',
934
+ 'ClutterColorManager.context': 'ClutterContext',
935
+ 'ClutterColorState.context': 'ClutterContext',
936
+ 'ClutterDeformEffect.back-pipeline': 'CoglPipeline',
937
+ 'ClutterDeformEffect.x-tiles': 'guint',
938
+ 'ClutterDeformEffect.y-tiles': 'guint',
939
+ 'ClutterDesaturateEffect.factor': 'gdouble',
940
+ 'ClutterFlowLayout.column-spacing': 'gfloat',
941
+ 'ClutterFlowLayout.homogeneous': 'gboolean',
942
+ 'ClutterFlowLayout.max-column-width': 'gfloat',
943
+ 'ClutterFlowLayout.max-row-height': 'gfloat',
944
+ 'ClutterFlowLayout.min-column-width': 'gfloat',
945
+ 'ClutterFlowLayout.min-row-height': 'gfloat',
946
+ 'ClutterFlowLayout.orientation': 'ClutterOrientation',
947
+ 'ClutterFlowLayout.row-spacing': 'gfloat',
948
+ 'ClutterFlowLayout.snap-to-grid': 'gboolean',
949
+ 'ClutterGestureAction.n-touch-points': 'gint',
950
+ 'ClutterGestureAction.threshold-trigger-distance-x': 'gfloat',
951
+ 'ClutterGestureAction.threshold-trigger-distance-y': 'gfloat',
952
+ 'ClutterGestureAction.threshold-trigger-edge': 'ClutterGestureTriggerEdge',
953
+ 'ClutterGridLayout.column-homogeneous': 'gboolean',
954
+ 'ClutterGridLayout.column-spacing': 'guint',
955
+ 'ClutterGridLayout.orientation': 'ClutterOrientation',
956
+ 'ClutterGridLayout.row-homogeneous': 'gboolean',
957
+ 'ClutterGridLayout.row-spacing': 'guint',
958
+ 'ClutterInputDevice.capabilities': 'ClutterInputCapabilities',
959
+ 'ClutterInputDevice.device-mode': 'ClutterInputMode',
960
+ 'ClutterInputDevice.device-node': 'gchararray',
961
+ 'ClutterInputDevice.device-type': 'ClutterInputDeviceType',
962
+ 'ClutterInputDevice.has-cursor': 'gboolean',
963
+ 'ClutterInputDevice.n-buttons': 'gint',
964
+ 'ClutterInputDevice.n-mode-groups': 'gint',
965
+ 'ClutterInputDevice.n-rings': 'gint',
966
+ 'ClutterInputDevice.n-strips': 'gint',
967
+ 'ClutterInputDevice.name': 'gchararray',
968
+ 'ClutterInputDevice.product-id': 'gchararray',
969
+ 'ClutterInputDevice.seat': 'ClutterSeat',
970
+ 'ClutterInputDevice.vendor-id': 'gchararray',
971
+ 'ClutterInterval.value-type': 'GType',
972
+ 'ClutterPageTurnEffect.angle': 'gdouble',
973
+ 'ClutterPageTurnEffect.period': 'gdouble',
974
+ 'ClutterPageTurnEffect.radius': 'gfloat',
975
+ 'ClutterPanAction.acceleration-factor': 'gdouble',
976
+ 'ClutterPanAction.deceleration': 'gdouble',
977
+ 'ClutterPanAction.interpolate': 'gboolean',
978
+ 'ClutterPanAction.pan-axis': 'ClutterPanAxis',
979
+ 'ClutterPropertyTransition.property-name': 'gchararray',
980
+ 'ClutterSettings.dnd-drag-threshold': 'gint',
981
+ 'ClutterSettings.double-click-distance': 'gint',
982
+ 'ClutterSettings.double-click-time': 'gint',
983
+ 'ClutterSettings.font-dpi': 'gint',
984
+ 'ClutterSettings.font-name': 'gchararray',
985
+ 'ClutterSettings.long-press-duration': 'gint',
986
+ 'ClutterSettings.password-hint-time': 'guint',
987
+ 'ClutterShaderEffect.shader-type': 'CoglShaderType',
988
+ 'ClutterSnapConstraint.from-edge': 'ClutterSnapEdge',
989
+ 'ClutterSnapConstraint.offset': 'gfloat',
990
+ 'ClutterSnapConstraint.source': 'ClutterActor',
991
+ 'ClutterSnapConstraint.to-edge': 'ClutterSnapEdge',
992
+ 'ClutterStage.key-focus': 'ClutterActor',
993
+ 'ClutterStageView.color-state': 'ClutterColorState',
994
+ 'ClutterStageView.framebuffer': 'CoglFramebuffer',
995
+ 'ClutterStageView.name': 'gchararray',
996
+ 'ClutterStageView.output-color-state': 'ClutterColorState',
997
+ 'ClutterStageView.refresh-rate': 'gfloat',
998
+ 'ClutterStageView.scale': 'gfloat',
999
+ 'ClutterStageView.stage': 'ClutterStage',
1000
+ 'ClutterStageView.transform': 'guint',
1001
+ 'ClutterStageView.use-shadowfb': 'gboolean',
1002
+ 'ClutterStageView.vblank-duration-us': 'gint64',
1003
+ 'ClutterText.activatable': 'gboolean',
1004
+ 'ClutterText.buffer': 'ClutterTextBuffer',
1005
+ 'ClutterText.cursor-position': 'gint',
1006
+ 'ClutterText.cursor-size': 'gint',
1007
+ 'ClutterText.cursor-visible': 'gboolean',
1008
+ 'ClutterText.editable': 'gboolean',
1009
+ 'ClutterText.ellipsize': 'PangoEllipsizeMode',
1010
+ 'ClutterText.font-name': 'gchararray',
1011
+ 'ClutterText.input-hints': 'ClutterInputContentHintFlags',
1012
+ 'ClutterText.input-purpose': 'ClutterInputContentPurpose',
1013
+ 'ClutterText.justify': 'gboolean',
1014
+ 'ClutterText.line-alignment': 'PangoAlignment',
1015
+ 'ClutterText.line-wrap': 'gboolean',
1016
+ 'ClutterText.line-wrap-mode': 'PangoWrapMode',
1017
+ 'ClutterText.max-length': 'gint',
1018
+ 'ClutterText.password-char': 'guint',
1019
+ 'ClutterText.selectable': 'gboolean',
1020
+ 'ClutterText.selection-bound': 'gint',
1021
+ 'ClutterText.single-line-mode': 'gboolean',
1022
+ 'ClutterText.text': 'gchararray',
1023
+ 'ClutterText.use-markup': 'gboolean',
1024
+ 'ClutterTextBuffer.max-length': 'gint',
1025
+ 'ClutterTimeline.actor': 'ClutterActor',
1026
+ 'ClutterTimeline.auto-reverse': 'gboolean',
1027
+ 'ClutterTimeline.delay': 'guint',
1028
+ 'ClutterTimeline.direction': 'ClutterTimelineDirection',
1029
+ 'ClutterTimeline.duration': 'guint',
1030
+ 'ClutterTimeline.frame-clock': 'ClutterFrameClock',
1031
+ 'ClutterTimeline.progress-mode': 'ClutterAnimationMode',
1032
+ 'ClutterTimeline.repeat-count': 'gint',
1033
+ 'ClutterTransition.animatable': 'ClutterAnimatable',
1034
+ 'ClutterTransition.interval': 'ClutterInterval',
1035
+ 'ClutterTransition.remove-on-complete': 'gboolean',
1036
+ 'ClutterVirtualInputDevice.device-type': 'ClutterInputDeviceType',
1037
+ 'ClutterVirtualInputDevice.seat': 'ClutterSeat',
1038
+ };
1039
+
852
1040
  // `<enum GType>.<nick>` -> the kind of value that ARIA slot takes.
853
1041
  //
854
1042
  // The one table here that is not about a ParamSpec. A GtkBuilder or Blueprint
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/clutter-16",
3
- "version": "5.3.0",
3
+ "version": "5.5.0",
4
4
  "description": "GJS TypeScript type definitions for Clutter-16",
5
5
  "type": "module",
6
6
  "module": "clutter-16.js",
@@ -36,21 +36,21 @@
36
36
  "test": "tsc --project tsconfig.json"
37
37
  },
38
38
  "dependencies": {
39
- "@girs/gjs": "^5.3.0",
40
- "@girs/pango-1.0": "^5.3.0",
41
- "@girs/cairo-1.0": "^5.3.0",
42
- "@girs/gobject-2.0": "^5.3.0",
43
- "@girs/glib-2.0": "^5.3.0",
44
- "@girs/harfbuzz-0.0": "^5.3.0",
45
- "@girs/freetype2-2.0": "^5.3.0",
46
- "@girs/gio-2.0": "^5.3.0",
47
- "@girs/gmodule-2.0": "^5.3.0",
48
- "@girs/mtk-16": "^5.3.0",
49
- "@girs/graphene-1.0": "^5.3.0",
50
- "@girs/gl-1.0": "^5.3.0",
51
- "@girs/cogl-16": "^5.3.0",
52
- "@girs/xlib-2.0": "^5.3.0",
53
- "@girs/atk-1.0": "^5.3.0" },
39
+ "@girs/gjs": "^5.5.0",
40
+ "@girs/pango-1.0": "^5.5.0",
41
+ "@girs/cairo-1.0": "^5.5.0",
42
+ "@girs/gobject-2.0": "^5.5.0",
43
+ "@girs/glib-2.0": "^5.5.0",
44
+ "@girs/harfbuzz-0.0": "^5.5.0",
45
+ "@girs/freetype2-2.0": "^5.5.0",
46
+ "@girs/gio-2.0": "^5.5.0",
47
+ "@girs/gmodule-2.0": "^5.5.0",
48
+ "@girs/mtk-16": "^5.5.0",
49
+ "@girs/graphene-1.0": "^5.5.0",
50
+ "@girs/gl-1.0": "^5.5.0",
51
+ "@girs/cogl-16": "^5.5.0",
52
+ "@girs/xlib-2.0": "^5.5.0",
53
+ "@girs/atk-1.0": "^5.5.0" },
54
54
  "devDependencies": {
55
55
  "typescript": "*"
56
56
  },