@girs/clutter-14 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-14)
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/clutter-14)
6
6
 
7
- GJS TypeScript type definitions for Clutter-14 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v5.3.0.
7
+ GJS TypeScript type definitions for Clutter-14 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.
@@ -1521,6 +1521,19 @@ export const FLAG_VALUES_UNREADABLE: Readonly<Record<string, string>>;
1521
1521
  */
1522
1522
  export const PROP_ENUMS: Readonly<Record<string, string>>;
1523
1523
 
1524
+ /**
1525
+ * `<declaration GType>.<property>` -> the GType of that property's own type.
1526
+ *
1527
+ * `PROP_ENUMS` one case wider, and separate on purpose: that table promises the GType it names
1528
+ * has NUMBERS, and this one promises only that the GType is the property's. A host inferring a
1529
+ * type from a property — the middle of an uncast lookup chain, an uncast closure's return type —
1530
+ * reads this one; a host resolving a nick to a number reads that one.
1531
+ *
1532
+ * Absent means no GType can be stated, not that the property is scalar: `gchararray` is carried
1533
+ * like any other, so absence is readable as "unknown".
1534
+ */
1535
+ export const PROP_TYPES: Readonly<Record<string, string>>;
1536
+
1524
1537
  /**
1525
1538
  * The kinds of value a GTK accessible property, relation or state takes.
1526
1539
  *
@@ -707,6 +707,196 @@ export const PROP_ENUMS = {
707
707
  'ClutterVirtualInputDevice.device-type': 'ClutterInputDeviceType',
708
708
  };
709
709
 
710
+ // `<declaration GType>.<property>` -> the GType of that property's own type.
711
+ //
712
+ // `PROP_ENUMS` one case wider, and a SEPARATE table on purpose. That one is a join with a
713
+ // contract — the GType it names has numbers, in this vocabulary or the owner's — and folding a
714
+ // plain type table in would mix "resolvable to numbers" with "not" and hand the distinction to
715
+ // the consumer. `ARIA_VALUE_ENUMS` beside `ARIA_VALUE_TYPES` is the same split.
716
+ //
717
+ // A row is ABSENT where no GType can be stated: a fundamental spelling outside the generator's
718
+ // closed map, a registered type with no `glib:type-name`, or a property with no `<type>`
719
+ // child. Absence therefore reads as "unknown" and never as "scalar".
720
+ export const PROP_TYPES = {
721
+ 'ClutterActor.actions': 'ClutterAction',
722
+ 'ClutterActor.clip-to-allocation': 'gboolean',
723
+ 'ClutterActor.color-state': 'ClutterColorState',
724
+ 'ClutterActor.constraints': 'ClutterConstraint',
725
+ 'ClutterActor.content': 'ClutterContent',
726
+ 'ClutterActor.content-gravity': 'ClutterContentGravity',
727
+ 'ClutterActor.content-repeat': 'ClutterContentRepeat',
728
+ 'ClutterActor.effect': 'ClutterEffect',
729
+ 'ClutterActor.fixed-position-set': 'gboolean',
730
+ 'ClutterActor.fixed-x': 'gfloat',
731
+ 'ClutterActor.fixed-y': 'gfloat',
732
+ 'ClutterActor.height': 'gfloat',
733
+ 'ClutterActor.layout-manager': 'ClutterLayoutManager',
734
+ 'ClutterActor.magnification-filter': 'ClutterScalingFilter',
735
+ 'ClutterActor.margin-bottom': 'gfloat',
736
+ 'ClutterActor.margin-left': 'gfloat',
737
+ 'ClutterActor.margin-right': 'gfloat',
738
+ 'ClutterActor.margin-top': 'gfloat',
739
+ 'ClutterActor.min-height': 'gfloat',
740
+ 'ClutterActor.min-height-set': 'gboolean',
741
+ 'ClutterActor.min-width': 'gfloat',
742
+ 'ClutterActor.min-width-set': 'gboolean',
743
+ 'ClutterActor.minification-filter': 'ClutterScalingFilter',
744
+ 'ClutterActor.name': 'gchararray',
745
+ 'ClutterActor.natural-height': 'gfloat',
746
+ 'ClutterActor.natural-height-set': 'gboolean',
747
+ 'ClutterActor.natural-width': 'gfloat',
748
+ 'ClutterActor.natural-width-set': 'gboolean',
749
+ 'ClutterActor.offscreen-redirect': 'ClutterOffscreenRedirect',
750
+ 'ClutterActor.opacity': 'guint',
751
+ 'ClutterActor.pivot-point-z': 'gfloat',
752
+ 'ClutterActor.reactive': 'gboolean',
753
+ 'ClutterActor.request-mode': 'ClutterRequestMode',
754
+ 'ClutterActor.rotation-angle-x': 'gdouble',
755
+ 'ClutterActor.rotation-angle-y': 'gdouble',
756
+ 'ClutterActor.rotation-angle-z': 'gdouble',
757
+ 'ClutterActor.scale-x': 'gdouble',
758
+ 'ClutterActor.scale-y': 'gdouble',
759
+ 'ClutterActor.scale-z': 'gdouble',
760
+ 'ClutterActor.show-on-set-parent': 'gboolean',
761
+ 'ClutterActor.text-direction': 'ClutterTextDirection',
762
+ 'ClutterActor.translation-x': 'gfloat',
763
+ 'ClutterActor.translation-y': 'gfloat',
764
+ 'ClutterActor.translation-z': 'gfloat',
765
+ 'ClutterActor.visible': 'gboolean',
766
+ 'ClutterActor.width': 'gfloat',
767
+ 'ClutterActor.x': 'gfloat',
768
+ 'ClutterActor.x-align': 'ClutterActorAlign',
769
+ 'ClutterActor.x-expand': 'gboolean',
770
+ 'ClutterActor.y': 'gfloat',
771
+ 'ClutterActor.y-align': 'ClutterActorAlign',
772
+ 'ClutterActor.y-expand': 'gboolean',
773
+ 'ClutterActor.z-position': 'gfloat',
774
+ 'ClutterActorMeta.enabled': 'gboolean',
775
+ 'ClutterActorMeta.name': 'gchararray',
776
+ 'ClutterAlignConstraint.align-axis': 'ClutterAlignAxis',
777
+ 'ClutterAlignConstraint.factor': 'gfloat',
778
+ 'ClutterAlignConstraint.source': 'ClutterActor',
779
+ 'ClutterBindConstraint.coordinate': 'ClutterBindCoordinate',
780
+ 'ClutterBindConstraint.offset': 'gfloat',
781
+ 'ClutterBindConstraint.source': 'ClutterActor',
782
+ 'ClutterBindingPool.name': 'gchararray',
783
+ 'ClutterBoxLayout.homogeneous': 'gboolean',
784
+ 'ClutterBoxLayout.orientation': 'ClutterOrientation',
785
+ 'ClutterBoxLayout.spacing': 'guint',
786
+ 'ClutterClickAction.long-press-duration': 'gint',
787
+ 'ClutterClickAction.long-press-threshold': 'gint',
788
+ 'ClutterClone.source': 'ClutterActor',
789
+ 'ClutterColorState.colorspace': 'ClutterColorspace',
790
+ 'ClutterDeformEffect.back-material': 'CoglPipeline',
791
+ 'ClutterDeformEffect.x-tiles': 'guint',
792
+ 'ClutterDeformEffect.y-tiles': 'guint',
793
+ 'ClutterDesaturateEffect.factor': 'gdouble',
794
+ 'ClutterFlowLayout.column-spacing': 'gfloat',
795
+ 'ClutterFlowLayout.homogeneous': 'gboolean',
796
+ 'ClutterFlowLayout.max-column-width': 'gfloat',
797
+ 'ClutterFlowLayout.max-row-height': 'gfloat',
798
+ 'ClutterFlowLayout.min-column-width': 'gfloat',
799
+ 'ClutterFlowLayout.min-row-height': 'gfloat',
800
+ 'ClutterFlowLayout.orientation': 'ClutterOrientation',
801
+ 'ClutterFlowLayout.row-spacing': 'gfloat',
802
+ 'ClutterFlowLayout.snap-to-grid': 'gboolean',
803
+ 'ClutterGestureAction.n-touch-points': 'gint',
804
+ 'ClutterGestureAction.threshold-trigger-distance-x': 'gfloat',
805
+ 'ClutterGestureAction.threshold-trigger-distance-y': 'gfloat',
806
+ 'ClutterGestureAction.threshold-trigger-edge': 'ClutterGestureTriggerEdge',
807
+ 'ClutterGridLayout.column-homogeneous': 'gboolean',
808
+ 'ClutterGridLayout.column-spacing': 'guint',
809
+ 'ClutterGridLayout.orientation': 'ClutterOrientation',
810
+ 'ClutterGridLayout.row-homogeneous': 'gboolean',
811
+ 'ClutterGridLayout.row-spacing': 'guint',
812
+ 'ClutterInputDevice.capabilities': 'ClutterInputCapabilities',
813
+ 'ClutterInputDevice.device-mode': 'ClutterInputMode',
814
+ 'ClutterInputDevice.device-node': 'gchararray',
815
+ 'ClutterInputDevice.device-type': 'ClutterInputDeviceType',
816
+ 'ClutterInputDevice.has-cursor': 'gboolean',
817
+ 'ClutterInputDevice.n-buttons': 'gint',
818
+ 'ClutterInputDevice.n-mode-groups': 'gint',
819
+ 'ClutterInputDevice.n-rings': 'gint',
820
+ 'ClutterInputDevice.n-strips': 'gint',
821
+ 'ClutterInputDevice.name': 'gchararray',
822
+ 'ClutterInputDevice.product-id': 'gchararray',
823
+ 'ClutterInputDevice.seat': 'ClutterSeat',
824
+ 'ClutterInputDevice.vendor-id': 'gchararray',
825
+ 'ClutterInterval.value-type': 'GType',
826
+ 'ClutterPageTurnEffect.angle': 'gdouble',
827
+ 'ClutterPageTurnEffect.period': 'gdouble',
828
+ 'ClutterPageTurnEffect.radius': 'gfloat',
829
+ 'ClutterPanAction.acceleration-factor': 'gdouble',
830
+ 'ClutterPanAction.deceleration': 'gdouble',
831
+ 'ClutterPanAction.interpolate': 'gboolean',
832
+ 'ClutterPanAction.pan-axis': 'ClutterPanAxis',
833
+ 'ClutterPropertyTransition.property-name': 'gchararray',
834
+ 'ClutterScrollActor.scroll-mode': 'ClutterScrollMode',
835
+ 'ClutterSettings.dnd-drag-threshold': 'gint',
836
+ 'ClutterSettings.double-click-distance': 'gint',
837
+ 'ClutterSettings.double-click-time': 'gint',
838
+ 'ClutterSettings.font-antialias': 'gint',
839
+ 'ClutterSettings.font-dpi': 'gint',
840
+ 'ClutterSettings.font-hint-style': 'gchararray',
841
+ 'ClutterSettings.font-hinting': 'gint',
842
+ 'ClutterSettings.font-name': 'gchararray',
843
+ 'ClutterSettings.font-subpixel-order': 'gchararray',
844
+ 'ClutterSettings.fontconfig-timestamp': 'guint',
845
+ 'ClutterSettings.long-press-duration': 'gint',
846
+ 'ClutterSettings.password-hint-time': 'guint',
847
+ 'ClutterSettings.unscaled-font-dpi': 'gint',
848
+ 'ClutterShaderEffect.shader-type': 'ClutterShaderType',
849
+ 'ClutterSnapConstraint.from-edge': 'ClutterSnapEdge',
850
+ 'ClutterSnapConstraint.offset': 'gfloat',
851
+ 'ClutterSnapConstraint.source': 'ClutterActor',
852
+ 'ClutterSnapConstraint.to-edge': 'ClutterSnapEdge',
853
+ 'ClutterStage.key-focus': 'ClutterActor',
854
+ 'ClutterStage.title': 'gchararray',
855
+ 'ClutterStageView.framebuffer': 'CoglFramebuffer',
856
+ 'ClutterStageView.name': 'gchararray',
857
+ 'ClutterStageView.offscreen': 'CoglOffscreen',
858
+ 'ClutterStageView.refresh-rate': 'gfloat',
859
+ 'ClutterStageView.scale': 'gfloat',
860
+ 'ClutterStageView.stage': 'ClutterStage',
861
+ 'ClutterStageView.use-shadowfb': 'gboolean',
862
+ 'ClutterStageView.vblank-duration-us': 'gint64',
863
+ 'ClutterText.activatable': 'gboolean',
864
+ 'ClutterText.buffer': 'ClutterTextBuffer',
865
+ 'ClutterText.cursor-position': 'gint',
866
+ 'ClutterText.cursor-size': 'gint',
867
+ 'ClutterText.cursor-visible': 'gboolean',
868
+ 'ClutterText.editable': 'gboolean',
869
+ 'ClutterText.ellipsize': 'PangoEllipsizeMode',
870
+ 'ClutterText.font-name': 'gchararray',
871
+ 'ClutterText.input-hints': 'ClutterInputContentHintFlags',
872
+ 'ClutterText.input-purpose': 'ClutterInputContentPurpose',
873
+ 'ClutterText.justify': 'gboolean',
874
+ 'ClutterText.line-alignment': 'PangoAlignment',
875
+ 'ClutterText.line-wrap': 'gboolean',
876
+ 'ClutterText.line-wrap-mode': 'PangoWrapMode',
877
+ 'ClutterText.max-length': 'gint',
878
+ 'ClutterText.password-char': 'guint',
879
+ 'ClutterText.selectable': 'gboolean',
880
+ 'ClutterText.selection-bound': 'gint',
881
+ 'ClutterText.single-line-mode': 'gboolean',
882
+ 'ClutterText.text': 'gchararray',
883
+ 'ClutterText.use-markup': 'gboolean',
884
+ 'ClutterTextBuffer.max-length': 'gint',
885
+ 'ClutterTimeline.actor': 'ClutterActor',
886
+ 'ClutterTimeline.auto-reverse': 'gboolean',
887
+ 'ClutterTimeline.delay': 'guint',
888
+ 'ClutterTimeline.direction': 'ClutterTimelineDirection',
889
+ 'ClutterTimeline.duration': 'guint',
890
+ 'ClutterTimeline.frame-clock': 'ClutterFrameClock',
891
+ 'ClutterTimeline.progress-mode': 'ClutterAnimationMode',
892
+ 'ClutterTimeline.repeat-count': 'gint',
893
+ 'ClutterTransition.animatable': 'ClutterAnimatable',
894
+ 'ClutterTransition.interval': 'ClutterInterval',
895
+ 'ClutterTransition.remove-on-complete': 'gboolean',
896
+ 'ClutterVirtualInputDevice.device-type': 'ClutterInputDeviceType',
897
+ 'ClutterVirtualInputDevice.seat': 'ClutterSeat',
898
+ };
899
+
710
900
  // `<enum GType>.<nick>` -> the kind of value that ARIA slot takes.
711
901
  //
712
902
  // 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-14",
3
- "version": "5.3.0",
3
+ "version": "5.5.0",
4
4
  "description": "GJS TypeScript type definitions for Clutter-14",
5
5
  "type": "module",
6
6
  "module": "clutter-14.js",
@@ -36,23 +36,23 @@
36
36
  "test": "tsc --project tsconfig.json"
37
37
  },
38
38
  "dependencies": {
39
- "@girs/gjs": "^5.3.0",
40
- "@girs/cairo-1.0": "^5.3.0",
41
- "@girs/gobject-2.0": "^5.3.0",
42
- "@girs/glib-2.0": "^5.3.0",
43
- "@girs/mtk-14": "^5.3.0",
44
- "@girs/graphene-1.0": "^5.3.0",
45
- "@girs/gio-2.0": "^5.3.0",
46
- "@girs/gmodule-2.0": "^5.3.0",
47
- "@girs/gl-1.0": "^5.3.0",
48
- "@girs/coglpango-14": "^5.3.0",
49
- "@girs/pangocairo-1.0": "^5.3.0",
50
- "@girs/pango-1.0": "^5.3.0",
51
- "@girs/harfbuzz-0.0": "^5.3.0",
52
- "@girs/freetype2-2.0": "^5.3.0",
53
- "@girs/cogl-14": "^5.3.0",
54
- "@girs/xlib-2.0": "^5.3.0",
55
- "@girs/atk-1.0": "^5.3.0" },
39
+ "@girs/gjs": "^5.5.0",
40
+ "@girs/cairo-1.0": "^5.5.0",
41
+ "@girs/gobject-2.0": "^5.5.0",
42
+ "@girs/glib-2.0": "^5.5.0",
43
+ "@girs/mtk-14": "^5.5.0",
44
+ "@girs/graphene-1.0": "^5.5.0",
45
+ "@girs/gio-2.0": "^5.5.0",
46
+ "@girs/gmodule-2.0": "^5.5.0",
47
+ "@girs/gl-1.0": "^5.5.0",
48
+ "@girs/coglpango-14": "^5.5.0",
49
+ "@girs/pangocairo-1.0": "^5.5.0",
50
+ "@girs/pango-1.0": "^5.5.0",
51
+ "@girs/harfbuzz-0.0": "^5.5.0",
52
+ "@girs/freetype2-2.0": "^5.5.0",
53
+ "@girs/cogl-14": "^5.5.0",
54
+ "@girs/xlib-2.0": "^5.5.0",
55
+ "@girs/atk-1.0": "^5.5.0" },
56
56
  "devDependencies": {
57
57
  "typescript": "*"
58
58
  },