basalt-win32 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.
|
@@ -16,6 +16,8 @@
|
|
|
16
16
|
#include "ComponentRegistry.h"
|
|
17
17
|
#include "SafeAreaComponent.h"
|
|
18
18
|
#include "ScreensComponent.h"
|
|
19
|
+
#include "SkiaPictureViewComponent.h"
|
|
20
|
+
#include "SkiaViewComponent.h"
|
|
19
21
|
|
|
20
22
|
#include <react/renderer/componentregistry/ComponentDescriptorProviderRegistry.h>
|
|
21
23
|
#include <react/renderer/components/FBReactNativeSpec/ComponentDescriptors.h>
|
|
@@ -87,6 +89,16 @@ ComponentRegistryFactory getDefaultComponentRegistryFactory() {
|
|
|
87
89
|
// RCTSinglelineTextInputView to, so nothing here renames anything.
|
|
88
90
|
registry->add(concreteComponentDescriptorProvider<TextInputComponentDescriptor>());
|
|
89
91
|
|
|
92
|
+
// React Native Skia's <Canvas>, under both of its names: 2.x mounts a
|
|
93
|
+
// "SkiaPictureView" and 3.x a "SkiaView". Neither was registered here
|
|
94
|
+
// until 2026-10-11, which was an oversight rather than a decision and a
|
|
95
|
+
// quiet one: this host has had a Skia peer since the canvas landed, and
|
|
96
|
+
// that peer matches on the component name, so a <Canvas> mounted as an
|
|
97
|
+
// unregistered component and the peer that would have drawn into it
|
|
98
|
+
// never saw it. The AppKit registry had the line and these two did not.
|
|
99
|
+
registry->add(concreteComponentDescriptorProvider<SkiaPictureViewComponentDescriptor>());
|
|
100
|
+
registry->add(concreteComponentDescriptorProvider<SkiaViewComponentDescriptor>());
|
|
101
|
+
|
|
90
102
|
// Deliberately absent, and the absence is a decision rather than an
|
|
91
103
|
// oversight: ExpoImage's seam exists in core/ExpoImageComponent.h and its
|
|
92
104
|
// props class is portable, but nothing here mounts one yet.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "basalt-win32",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "The Windows view layer for basalt-core: a Win32 and Direct2D view 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.
|
|
25
|
+
"basalt-core": "0.2.0"
|
|
26
26
|
}
|
|
27
27
|
}
|