basalt-gtk 0.1.0 → 0.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.
@@ -3,6 +3,8 @@
3
3
 
4
4
  #include "ComponentRegistry.h"
5
5
  #include "ExpoImageComponent.h"
6
+ #include "SkiaPictureViewComponent.h"
7
+ #include "SkiaViewComponent.h"
6
8
  #include "SafeAreaComponent.h"
7
9
  #include "ScreensComponent.h"
8
10
 
@@ -66,6 +68,15 @@ ComponentRegistryFactory getDefaultComponentRegistryFactory() {
66
68
  // through a TextLayoutManager, which here is the Pango one. Android's
67
69
  // needs fbjni. Its component name is "TextInput".
68
70
  registry->add(concreteComponentDescriptorProvider<TextInputComponentDescriptor>());
71
+ // React Native Skia's <Canvas>, under both of its names: 2.x mounts a
72
+ // "SkiaPictureView" and 3.x a "SkiaView". Neither was registered here
73
+ // until 2026-10-11, which was an oversight rather than a decision and a
74
+ // quiet one: this host has had a Skia peer since the canvas landed, and
75
+ // that peer matches on the component name, so a <Canvas> mounted as an
76
+ // unregistered component and the peer that would have drawn into it
77
+ // never saw it. The AppKit registry had the line and these two did not.
78
+ registry->add(concreteComponentDescriptorProvider<SkiaPictureViewComponentDescriptor>());
79
+ registry->add(concreteComponentDescriptorProvider<SkiaViewComponentDescriptor>());
69
80
  // expo-image's view. Registered whether or not the build has Expo in it:
70
81
  // the descriptor is ordinary Fabric C++, and an app that never renders
71
82
  // one pays a registry entry. See core/ExpoImageComponent.h.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "basalt-gtk",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "description": "The Linux view layer for basalt-core: a GTK4 widget layer, a Fabric mounting manager, and a host. Everything behind them is in basalt-core.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -22,6 +22,6 @@
22
22
  "react-native": "*"
23
23
  },
24
24
  "dependencies": {
25
- "basalt-core": "0.1.0"
25
+ "basalt-core": "0.2.0"
26
26
  }
27
27
  }