@shopify/react-native-skia 1.3.11 → 1.3.13
Sign up to get free protection for your applications and to get access to all the features.
- package/android/cpp/jni/JniSkiaManager.cpp +8 -2
- package/cpp/jsi/JsiHostObject.h +9 -15
- package/lib/commonjs/Platform/IPlatform.d.ts +0 -1
- package/lib/commonjs/Platform/IPlatform.js.map +1 -1
- package/lib/commonjs/Platform/Platform.js.map +1 -1
- package/lib/commonjs/Platform/Platform.web.js +5 -1
- package/lib/commonjs/Platform/Platform.web.js.map +1 -1
- package/lib/commonjs/Platform/index.js.map +1 -1
- package/lib/commonjs/__tests__/globalSetup.d.ts +9 -0
- package/lib/commonjs/__tests__/globalTeardown.d.ts +2 -0
- package/lib/commonjs/__tests__/setup.d.ts +18 -0
- package/lib/commonjs/animation/functions/index.js.map +1 -1
- package/lib/commonjs/animation/functions/interpolate.js.map +1 -1
- package/lib/commonjs/animation/functions/interpolateColors.js.map +1 -1
- package/lib/commonjs/animation/functions/interpolatePaths.js.map +1 -1
- package/lib/commonjs/animation/functions/interpolateVector.js.map +1 -1
- package/lib/commonjs/animation/index.js.map +1 -1
- package/lib/commonjs/dom/__tests__/Compose.spec.d.ts +1 -0
- package/lib/commonjs/dom/__tests__/Demos.spec.d.ts +1 -0
- package/lib/commonjs/dom/__tests__/DrawingContext.spec.d.ts +1 -0
- package/lib/commonjs/dom/__tests__/Drawings.spec.d.ts +1 -0
- package/lib/commonjs/dom/__tests__/Group.spec.d.ts +1 -0
- package/lib/commonjs/dom/__tests__/Paint.spec.d.ts +1 -0
- package/lib/commonjs/dom/__tests__/RenderNodes.spec.d.ts +1 -0
- package/lib/commonjs/dom/__tests__/Shaders.spec.d.ts +1 -0
- package/lib/commonjs/dom/nodes/DrawingNode.js +2 -2
- package/lib/commonjs/dom/nodes/DrawingNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/GroupNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/JsiSkDOM.js.map +1 -1
- package/lib/commonjs/dom/nodes/LayerNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/Node.js +2 -2
- package/lib/commonjs/dom/nodes/Node.js.map +1 -1
- package/lib/commonjs/dom/nodes/PaintNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/RenderNode.js +2 -2
- package/lib/commonjs/dom/nodes/RenderNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/datatypes/Circle.js.map +1 -1
- package/lib/commonjs/dom/nodes/datatypes/Enum.js.map +1 -1
- package/lib/commonjs/dom/nodes/datatypes/Fitting.js.map +1 -1
- package/lib/commonjs/dom/nodes/datatypes/Gradient.js.map +1 -1
- package/lib/commonjs/dom/nodes/datatypes/Path.js.map +1 -1
- package/lib/commonjs/dom/nodes/datatypes/Radius.js.map +1 -1
- package/lib/commonjs/dom/nodes/datatypes/Rect.js.map +1 -1
- package/lib/commonjs/dom/nodes/datatypes/Transform.js.map +1 -1
- package/lib/commonjs/dom/nodes/datatypes/index.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/AtlasNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/BackdropFilterNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/Box.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/CircleNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/DiffRectNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/FillNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/ImageNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/ImageSVG.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/LineNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/OvalNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/ParagraphNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/PatchNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/PathNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/PictureNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/PointsNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/RRectNode.js +2 -2
- package/lib/commonjs/dom/nodes/drawings/RRectNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/RectNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/Text.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/VerticesNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/drawings/index.js.map +1 -1
- package/lib/commonjs/dom/nodes/index.js.map +1 -1
- package/lib/commonjs/dom/nodes/paint/BlendNode.js.map +1 -1
- package/lib/commonjs/dom/nodes/paint/ColorFilters.js.map +1 -1
- package/lib/commonjs/dom/nodes/paint/ImageFilters.js.map +1 -1
- package/lib/commonjs/dom/nodes/paint/MaskFilters.js.map +1 -1
- package/lib/commonjs/dom/nodes/paint/PathEffects.js.map +1 -1
- package/lib/commonjs/dom/nodes/paint/Shaders.js.map +1 -1
- package/lib/commonjs/dom/nodes/paint/index.js.map +1 -1
- package/lib/commonjs/dom/types/ColorFilters.js.map +1 -1
- package/lib/commonjs/dom/types/Common.js.map +1 -1
- package/lib/commonjs/dom/types/DeclarationContext.js +2 -2
- package/lib/commonjs/dom/types/DeclarationContext.js.map +1 -1
- package/lib/commonjs/dom/types/DrawingContext.js +2 -2
- package/lib/commonjs/dom/types/DrawingContext.js.map +1 -1
- package/lib/commonjs/dom/types/Drawings.js.map +1 -1
- package/lib/commonjs/dom/types/ImageFilters.js.map +1 -1
- package/lib/commonjs/dom/types/MaskFilters.js.map +1 -1
- package/lib/commonjs/dom/types/Node.js.map +1 -1
- package/lib/commonjs/dom/types/NodeType.js.map +1 -1
- package/lib/commonjs/dom/types/Paragraph.js.map +1 -1
- package/lib/commonjs/dom/types/PathEffects.js.map +1 -1
- package/lib/commonjs/dom/types/Shaders.js.map +1 -1
- package/lib/commonjs/dom/types/SkDOM.js.map +1 -1
- package/lib/commonjs/dom/types/index.js.map +1 -1
- package/lib/commonjs/external/ModuleProxy.js.map +1 -1
- package/lib/commonjs/external/index.js.map +1 -1
- package/lib/commonjs/external/reanimated/ReanimatedProxy.js.map +1 -1
- package/lib/commonjs/external/reanimated/buffers.d.ts +4 -4
- package/lib/commonjs/external/reanimated/buffers.js +1 -1
- package/lib/commonjs/external/reanimated/buffers.js.map +1 -1
- package/lib/commonjs/external/reanimated/index.js.map +1 -1
- package/lib/commonjs/external/reanimated/interpolators.js +1 -1
- package/lib/commonjs/external/reanimated/interpolators.js.map +1 -1
- package/lib/commonjs/external/reanimated/renderHelpers.js +1 -1
- package/lib/commonjs/external/reanimated/renderHelpers.js.map +1 -1
- package/lib/commonjs/external/reanimated/textures.js +1 -1
- package/lib/commonjs/external/reanimated/textures.js.map +1 -1
- package/lib/commonjs/external/reanimated/useAnimatedImageValue.js +1 -1
- package/lib/commonjs/external/reanimated/useAnimatedImageValue.js.map +1 -1
- package/lib/commonjs/external/reanimated/useDerivedValueOnJS.js +1 -1
- package/lib/commonjs/external/reanimated/useDerivedValueOnJS.js.map +1 -1
- package/lib/commonjs/external/reanimated/useVideo.js +1 -1
- package/lib/commonjs/external/reanimated/useVideo.js.map +1 -1
- package/lib/commonjs/external/reanimated/useVideoLoading.js +1 -1
- package/lib/commonjs/external/reanimated/useVideoLoading.js.map +1 -1
- package/lib/commonjs/external/reanimated/useVideoLoading.web.js.map +1 -1
- package/lib/commonjs/headless/index.js.map +1 -1
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/mock/index.js +4 -0
- package/lib/commonjs/mock/index.js.map +1 -1
- package/lib/commonjs/renderer/Canvas.d.ts +2 -2
- package/lib/commonjs/renderer/Canvas.js +2 -2
- package/lib/commonjs/renderer/Canvas.js.map +1 -1
- package/lib/commonjs/renderer/Container.d.ts +1 -0
- package/lib/commonjs/renderer/Container.js +3 -2
- package/lib/commonjs/renderer/Container.js.map +1 -1
- package/lib/commonjs/renderer/DrawingContext.js.map +1 -1
- package/lib/commonjs/renderer/HostComponents.js.map +1 -1
- package/lib/commonjs/renderer/HostConfig.d.ts +0 -1
- package/lib/commonjs/renderer/HostConfig.js +7 -3
- package/lib/commonjs/renderer/HostConfig.js.map +1 -1
- package/lib/commonjs/renderer/Offscreen.js.map +1 -1
- package/lib/commonjs/renderer/Reconciler.js +4 -3
- package/lib/commonjs/renderer/Reconciler.js.map +1 -1
- package/lib/commonjs/renderer/__tests__/Data.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/Drawings.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/FitBox.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/Glyphs.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/Image.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/Paths.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/Picture.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/Simple.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/SkiaDOM.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/Surfaces.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/Text.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/TouchHandler.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/Transform.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/documentation/Group.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/documentation/getting-started/HelloWorld.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/documentation/paint/Overview.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/documentation/shapes/Box.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/AnimatedImages.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Atlas.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/BackdropFilters.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Blending.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Blur.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Box.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/ColorFilters.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Composition/ColorFilterComposition.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/CoonPatch.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/DataEncoding.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Drawings.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/FontMgr.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Gradient.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Group.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Image.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/ImageEncoding.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/ImageFilters.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Mask.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Matrix4.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/NativeBuffer.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Offscreen.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Opacity.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Paint.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/ParagraphPaint.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Paragraphs.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/PathEffects.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Paths.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Picture.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Point.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Rect.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/RuntimeShader.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/SDF.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/SVG.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Shader.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Snapshot.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Surfaces.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Text.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/TextPath.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Transforms.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Vertices.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/Video.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/e2e/setup/Paragraph.d.ts +19 -0
- package/lib/commonjs/renderer/__tests__/e2e/setup/SVG.d.ts +12 -0
- package/lib/commonjs/renderer/__tests__/e2e/setup/SkiaObject.d.ts +11 -0
- package/lib/commonjs/renderer/__tests__/e2e/setup/index.d.ts +3 -0
- package/lib/commonjs/renderer/__tests__/examples/BlendModes.spec.d.ts +1 -0
- package/lib/commonjs/renderer/__tests__/setup.d.ts +66 -0
- package/lib/commonjs/renderer/components/Blend.js +1 -1
- package/lib/commonjs/renderer/components/Blend.js.map +1 -1
- package/lib/commonjs/renderer/components/Group.js +3 -3
- package/lib/commonjs/renderer/components/Group.js.map +1 -1
- package/lib/commonjs/renderer/components/Mask.js +1 -1
- package/lib/commonjs/renderer/components/Mask.js.map +1 -1
- package/lib/commonjs/renderer/components/Paint.js +1 -1
- package/lib/commonjs/renderer/components/Paint.js.map +1 -1
- package/lib/commonjs/renderer/components/Picture.js +1 -1
- package/lib/commonjs/renderer/components/Picture.js.map +1 -1
- package/lib/commonjs/renderer/components/backdrop/BackdropBlur.js +2 -2
- package/lib/commonjs/renderer/components/backdrop/BackdropBlur.js.map +1 -1
- package/lib/commonjs/renderer/components/backdrop/BackdropFilter.js +1 -1
- package/lib/commonjs/renderer/components/backdrop/BackdropFilter.js.map +1 -1
- package/lib/commonjs/renderer/components/backdrop/index.js.map +1 -1
- package/lib/commonjs/renderer/components/colorFilters/BlendColor.js +1 -1
- package/lib/commonjs/renderer/components/colorFilters/BlendColor.js.map +1 -1
- package/lib/commonjs/renderer/components/colorFilters/Lerp.js +1 -1
- package/lib/commonjs/renderer/components/colorFilters/Lerp.js.map +1 -1
- package/lib/commonjs/renderer/components/colorFilters/LinearToSRGBGamma.js +1 -1
- package/lib/commonjs/renderer/components/colorFilters/LinearToSRGBGamma.js.map +1 -1
- package/lib/commonjs/renderer/components/colorFilters/LumaColorFilter.js +1 -1
- package/lib/commonjs/renderer/components/colorFilters/LumaColorFilter.js.map +1 -1
- package/lib/commonjs/renderer/components/colorFilters/Matrix.js +1 -1
- package/lib/commonjs/renderer/components/colorFilters/Matrix.js.map +1 -1
- package/lib/commonjs/renderer/components/colorFilters/SRGBToLinearGamma.js +1 -1
- package/lib/commonjs/renderer/components/colorFilters/SRGBToLinearGamma.js.map +1 -1
- package/lib/commonjs/renderer/components/colorFilters/index.js.map +1 -1
- package/lib/commonjs/renderer/components/image/Image.js +1 -1
- package/lib/commonjs/renderer/components/image/Image.js.map +1 -1
- package/lib/commonjs/renderer/components/image/ImageSVG.js +1 -1
- package/lib/commonjs/renderer/components/image/ImageSVG.js.map +1 -1
- package/lib/commonjs/renderer/components/image/ImageShader.js +2 -2
- package/lib/commonjs/renderer/components/image/ImageShader.js.map +1 -1
- package/lib/commonjs/renderer/components/image/index.js.map +1 -1
- package/lib/commonjs/renderer/components/imageFilters/Blur.js +2 -2
- package/lib/commonjs/renderer/components/imageFilters/Blur.js.map +1 -1
- package/lib/commonjs/renderer/components/imageFilters/DisplacementMap.js +1 -1
- package/lib/commonjs/renderer/components/imageFilters/DisplacementMap.js.map +1 -1
- package/lib/commonjs/renderer/components/imageFilters/Morphology.js +2 -2
- package/lib/commonjs/renderer/components/imageFilters/Morphology.js.map +1 -1
- package/lib/commonjs/renderer/components/imageFilters/Offset.js +2 -2
- package/lib/commonjs/renderer/components/imageFilters/Offset.js.map +1 -1
- package/lib/commonjs/renderer/components/imageFilters/RuntimeShader.js +1 -1
- package/lib/commonjs/renderer/components/imageFilters/RuntimeShader.js.map +1 -1
- package/lib/commonjs/renderer/components/imageFilters/Shadow.js +1 -1
- package/lib/commonjs/renderer/components/imageFilters/Shadow.js.map +1 -1
- package/lib/commonjs/renderer/components/imageFilters/index.js.map +1 -1
- package/lib/commonjs/renderer/components/index.js.map +1 -1
- package/lib/commonjs/renderer/components/maskFilters/Blur.js +2 -2
- package/lib/commonjs/renderer/components/maskFilters/Blur.js.map +1 -1
- package/lib/commonjs/renderer/components/maskFilters/index.js.map +1 -1
- package/lib/commonjs/renderer/components/paragraph/Paragraph.js +1 -1
- package/lib/commonjs/renderer/components/paragraph/Paragraph.js.map +1 -1
- package/lib/commonjs/renderer/components/paragraph/index.js.map +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Corner.js +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Corner.js.map +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Dash.js +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Dash.js.map +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Discrete.js +2 -2
- package/lib/commonjs/renderer/components/pathEffects/Discrete.js.map +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Line2D.js +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Line2D.js.map +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Path1D.js +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Path1D.js.map +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Path2D.js +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Path2D.js.map +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Sum.js +1 -1
- package/lib/commonjs/renderer/components/pathEffects/Sum.js.map +1 -1
- package/lib/commonjs/renderer/components/pathEffects/index.js.map +1 -1
- package/lib/commonjs/renderer/components/shaders/Color.js +1 -1
- package/lib/commonjs/renderer/components/shaders/Color.js.map +1 -1
- package/lib/commonjs/renderer/components/shaders/FractalNoise.js +2 -2
- package/lib/commonjs/renderer/components/shaders/FractalNoise.js.map +1 -1
- package/lib/commonjs/renderer/components/shaders/LinearGradient.js +1 -1
- package/lib/commonjs/renderer/components/shaders/LinearGradient.js.map +1 -1
- package/lib/commonjs/renderer/components/shaders/RadialGradient.js +1 -1
- package/lib/commonjs/renderer/components/shaders/RadialGradient.js.map +1 -1
- package/lib/commonjs/renderer/components/shaders/Shader.js +2 -2
- package/lib/commonjs/renderer/components/shaders/Shader.js.map +1 -1
- package/lib/commonjs/renderer/components/shaders/ShaderLib.js.map +1 -1
- package/lib/commonjs/renderer/components/shaders/SweepGradient.js +1 -1
- package/lib/commonjs/renderer/components/shaders/SweepGradient.js.map +1 -1
- package/lib/commonjs/renderer/components/shaders/Turbulence.js +2 -2
- package/lib/commonjs/renderer/components/shaders/Turbulence.js.map +1 -1
- package/lib/commonjs/renderer/components/shaders/TwoPointConicalGradient.js +1 -1
- package/lib/commonjs/renderer/components/shaders/TwoPointConicalGradient.js.map +1 -1
- package/lib/commonjs/renderer/components/shaders/index.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/Atlas.js +1 -1
- package/lib/commonjs/renderer/components/shapes/Atlas.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/Box.js +1 -1
- package/lib/commonjs/renderer/components/shapes/Box.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/Circle.js +1 -1
- package/lib/commonjs/renderer/components/shapes/Circle.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/DiffRect.js +1 -1
- package/lib/commonjs/renderer/components/shapes/DiffRect.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/Fill.js +1 -1
- package/lib/commonjs/renderer/components/shapes/Fill.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/FitBox.js +1 -1
- package/lib/commonjs/renderer/components/shapes/FitBox.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/Line.js +1 -1
- package/lib/commonjs/renderer/components/shapes/Line.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/Oval.js +1 -1
- package/lib/commonjs/renderer/components/shapes/Oval.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/Patch.js +1 -1
- package/lib/commonjs/renderer/components/shapes/Patch.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/Path.js +2 -2
- package/lib/commonjs/renderer/components/shapes/Path.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/Points.js +2 -2
- package/lib/commonjs/renderer/components/shapes/Points.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/Rect.js +1 -1
- package/lib/commonjs/renderer/components/shapes/Rect.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/RoundedRect.js +1 -1
- package/lib/commonjs/renderer/components/shapes/RoundedRect.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/Vertices.js +2 -2
- package/lib/commonjs/renderer/components/shapes/Vertices.js.map +1 -1
- package/lib/commonjs/renderer/components/shapes/index.js.map +1 -1
- package/lib/commonjs/renderer/components/text/Glyphs.js +2 -2
- package/lib/commonjs/renderer/components/text/Glyphs.js.map +1 -1
- package/lib/commonjs/renderer/components/text/Text.js +2 -2
- package/lib/commonjs/renderer/components/text/Text.js.map +1 -1
- package/lib/commonjs/renderer/components/text/TextBlob.js +2 -2
- package/lib/commonjs/renderer/components/text/TextBlob.js.map +1 -1
- package/lib/commonjs/renderer/components/text/TextPath.js +2 -2
- package/lib/commonjs/renderer/components/text/TextPath.js.map +1 -1
- package/lib/commonjs/renderer/components/text/index.js.map +1 -1
- package/lib/commonjs/renderer/index.js.map +1 -1
- package/lib/commonjs/renderer/processors/Animations/Animations.js.map +1 -1
- package/lib/commonjs/renderer/processors/Animations/index.js.map +1 -1
- package/lib/commonjs/renderer/processors/index.js.map +1 -1
- package/lib/commonjs/renderer/processors/math/Coordinates.js.map +1 -1
- package/lib/commonjs/renderer/processors/math/Math.js.map +1 -1
- package/lib/commonjs/renderer/processors/math/Transforms.js.map +1 -1
- package/lib/commonjs/renderer/processors/math/index.js.map +1 -1
- package/lib/commonjs/renderer/typeddash.js.map +1 -1
- package/lib/commonjs/skia/NativeSetup.js +1 -1
- package/lib/commonjs/skia/NativeSetup.js.map +1 -1
- package/lib/commonjs/skia/Skia.js.map +1 -1
- package/lib/commonjs/skia/Skia.web.js.map +1 -1
- package/lib/commonjs/skia/__tests__/ColorFilter.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/Data.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/Drawings.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/Enums.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/Geometry.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/ImageFilter.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/Mock.spec.d.ts +0 -0
- package/lib/commonjs/skia/__tests__/Paint.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/Path.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/RuntimeEffect.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/Shader.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/Text.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/Transform.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/Vertices.spec.d.ts +1 -0
- package/lib/commonjs/skia/__tests__/setup.d.ts +19 -0
- package/lib/commonjs/skia/core/AnimatedImage.d.ts +1 -1
- package/lib/commonjs/skia/core/AnimatedImage.js.map +1 -1
- package/lib/commonjs/skia/core/Data.d.ts +3 -3
- package/lib/commonjs/skia/core/Data.js.map +1 -1
- package/lib/commonjs/skia/core/Font.d.ts +1 -1
- package/lib/commonjs/skia/core/Font.js.map +1 -1
- package/lib/commonjs/skia/core/Image.d.ts +2 -3
- package/lib/commonjs/skia/core/Image.js.map +1 -1
- package/lib/commonjs/skia/core/Matrix.js.map +1 -1
- package/lib/commonjs/skia/core/Picture.d.ts +1 -1
- package/lib/commonjs/skia/core/Picture.js.map +1 -1
- package/lib/commonjs/skia/core/RRect.js.map +1 -1
- package/lib/commonjs/skia/core/Rect.js.map +1 -1
- package/lib/commonjs/skia/core/SVG.d.ts +1 -1
- package/lib/commonjs/skia/core/SVG.js.map +1 -1
- package/lib/commonjs/skia/core/SVG.web.d.ts +1 -1
- package/lib/commonjs/skia/core/SVG.web.js.map +1 -1
- package/lib/commonjs/skia/core/Typeface.d.ts +1 -1
- package/lib/commonjs/skia/core/Typeface.js.map +1 -1
- package/lib/commonjs/skia/core/Vector.js.map +1 -1
- package/lib/commonjs/skia/core/index.js.map +1 -1
- package/lib/commonjs/skia/index.js.map +1 -1
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImage.js.map +1 -1
- package/lib/commonjs/skia/types/AnimatedImage/AnimatedImageFactory.js.map +1 -1
- package/lib/commonjs/skia/types/AnimatedImage/index.js.map +1 -1
- package/lib/commonjs/skia/types/Canvas.js.map +1 -1
- package/lib/commonjs/skia/types/Color.js.map +1 -1
- package/lib/commonjs/skia/types/ColorFilter/ColorFilter.js.map +1 -1
- package/lib/commonjs/skia/types/ColorFilter/ColorFilterFactory.js.map +1 -1
- package/lib/commonjs/skia/types/ColorFilter/index.js.map +1 -1
- package/lib/commonjs/skia/types/ContourMeasure.js.map +1 -1
- package/lib/commonjs/skia/types/Data/Data.d.ts +1 -1
- package/lib/commonjs/skia/types/Data/Data.js.map +1 -1
- package/lib/commonjs/skia/types/Data/DataFactory.js.map +1 -1
- package/lib/commonjs/skia/types/Data/index.js.map +1 -1
- package/lib/commonjs/skia/types/Font/Font.js.map +1 -1
- package/lib/commonjs/skia/types/Font/FontMgr.js.map +1 -1
- package/lib/commonjs/skia/types/Font/FontMgrFactory.js.map +1 -1
- package/lib/commonjs/skia/types/Font/index.js.map +1 -1
- package/lib/commonjs/skia/types/Image/Image.js.map +1 -1
- package/lib/commonjs/skia/types/Image/ImageFactory.d.ts +16 -16
- package/lib/commonjs/skia/types/Image/ImageFactory.js.map +1 -1
- package/lib/commonjs/skia/types/Image/index.js.map +1 -1
- package/lib/commonjs/skia/types/ImageFilter/ImageFilter.js.map +1 -1
- package/lib/commonjs/skia/types/ImageFilter/ImageFilterFactory.js.map +1 -1
- package/lib/commonjs/skia/types/ImageFilter/index.js.map +1 -1
- package/lib/commonjs/skia/types/JsiInstance.js.map +1 -1
- package/lib/commonjs/skia/types/MaskFilter.d.ts +3 -3
- package/lib/commonjs/skia/types/MaskFilter.js.map +1 -1
- package/lib/commonjs/skia/types/Matrix.js.map +1 -1
- package/lib/commonjs/skia/types/Matrix4.js.map +1 -1
- package/lib/commonjs/skia/types/NativeBuffer/NativeBufferFactory.d.ts +3 -3
- package/lib/commonjs/skia/types/NativeBuffer/NativeBufferFactory.js.map +1 -1
- package/lib/commonjs/skia/types/NativeBuffer/index.js.map +1 -1
- package/lib/commonjs/skia/types/Paint/BlendMode.d.ts +28 -28
- package/lib/commonjs/skia/types/Paint/BlendMode.js.map +1 -1
- package/lib/commonjs/skia/types/Paint/Paint.js.map +1 -1
- package/lib/commonjs/skia/types/Paint/index.js.map +1 -1
- package/lib/commonjs/skia/types/Paragraph/Paragraph.js.map +1 -1
- package/lib/commonjs/skia/types/Paragraph/ParagraphBuilder.js.map +1 -1
- package/lib/commonjs/skia/types/Paragraph/ParagraphStyle.js.map +1 -1
- package/lib/commonjs/skia/types/Paragraph/TextStyle.js.map +1 -1
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProvider.js.map +1 -1
- package/lib/commonjs/skia/types/Paragraph/TypefaceFontProviderFactory.js.map +1 -1
- package/lib/commonjs/skia/types/Paragraph/index.js.map +1 -1
- package/lib/commonjs/skia/types/Path/Path.d.ts +4 -4
- package/lib/commonjs/skia/types/Path/Path.js.map +1 -1
- package/lib/commonjs/skia/types/Path/PathFactory.js.map +1 -1
- package/lib/commonjs/skia/types/Path/index.js.map +1 -1
- package/lib/commonjs/skia/types/PathEffect.js.map +1 -1
- package/lib/commonjs/skia/types/Picture/Picture.js.map +1 -1
- package/lib/commonjs/skia/types/Picture/PictureFactory.js.map +1 -1
- package/lib/commonjs/skia/types/Picture/PictureRecorder.js.map +1 -1
- package/lib/commonjs/skia/types/Picture/index.js.map +1 -1
- package/lib/commonjs/skia/types/Point.js.map +1 -1
- package/lib/commonjs/skia/types/RRect.js.map +1 -1
- package/lib/commonjs/skia/types/RSXform.js.map +1 -1
- package/lib/commonjs/skia/types/Rect.js.map +1 -1
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffect.js.map +1 -1
- package/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffectFactory.js.map +1 -1
- package/lib/commonjs/skia/types/RuntimeEffect/index.js.map +1 -1
- package/lib/commonjs/skia/types/SVG/SVG.js.map +1 -1
- package/lib/commonjs/skia/types/SVG/SVGFactory.js.map +1 -1
- package/lib/commonjs/skia/types/SVG/index.js.map +1 -1
- package/lib/commonjs/skia/types/Shader/Shader.js.map +1 -1
- package/lib/commonjs/skia/types/Shader/ShaderFactory.js.map +1 -1
- package/lib/commonjs/skia/types/Shader/index.js.map +1 -1
- package/lib/commonjs/skia/types/Size.js.map +1 -1
- package/lib/commonjs/skia/types/Skia.js.map +1 -1
- package/lib/commonjs/skia/types/Surface/Surface.js.map +1 -1
- package/lib/commonjs/skia/types/Surface/SurfaceFactory.js.map +1 -1
- package/lib/commonjs/skia/types/Surface/index.js.map +1 -1
- package/lib/commonjs/skia/types/TextBlob.js.map +1 -1
- package/lib/commonjs/skia/types/Typeface/Typeface.js.map +1 -1
- package/lib/commonjs/skia/types/Typeface/TypefaceFactory.js.map +1 -1
- package/lib/commonjs/skia/types/Typeface/index.js.map +1 -1
- package/lib/commonjs/skia/types/Vertices/Vertices.js.map +1 -1
- package/lib/commonjs/skia/types/Vertices/index.js.map +1 -1
- package/lib/commonjs/skia/types/Video/Video.js.map +1 -1
- package/lib/commonjs/skia/types/Video/index.js.map +1 -1
- package/lib/commonjs/skia/types/index.js.map +1 -1
- package/lib/commonjs/skia/web/CanvasKitWebGLBufferImpl.js +2 -2
- package/lib/commonjs/skia/web/CanvasKitWebGLBufferImpl.js.map +1 -1
- package/lib/commonjs/skia/web/Host.js +2 -2
- package/lib/commonjs/skia/web/Host.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkAnimatedImage.js +2 -2
- package/lib/commonjs/skia/web/JsiSkAnimatedImage.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkAnimatedImageFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkCanvas.d.ts +1 -1
- package/lib/commonjs/skia/web/JsiSkCanvas.js +2 -2
- package/lib/commonjs/skia/web/JsiSkCanvas.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkColor.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkColorFilter.js +2 -2
- package/lib/commonjs/skia/web/JsiSkColorFilter.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkColorFilterFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkContourMeasure.js +2 -2
- package/lib/commonjs/skia/web/JsiSkContourMeasure.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkContourMeasureIter.js +2 -2
- package/lib/commonjs/skia/web/JsiSkContourMeasureIter.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkData.js +2 -2
- package/lib/commonjs/skia/web/JsiSkData.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkDataFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkFont.js +2 -2
- package/lib/commonjs/skia/web/JsiSkFont.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkFontMgr.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkFontMgrFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkImage.js +2 -2
- package/lib/commonjs/skia/web/JsiSkImage.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkImageFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkImageFilter.js +2 -2
- package/lib/commonjs/skia/web/JsiSkImageFilter.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkImageFilterFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkMaskFilter.js +2 -2
- package/lib/commonjs/skia/web/JsiSkMaskFilter.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkMaskFilterFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkMatrix.js +2 -2
- package/lib/commonjs/skia/web/JsiSkMatrix.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkNativeBufferFactory.d.ts +1 -1
- package/lib/commonjs/skia/web/JsiSkNativeBufferFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkPaint.js +2 -2
- package/lib/commonjs/skia/web/JsiSkPaint.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkParagraph.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkParagraphBuilder.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkParagraphBuilderFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkParagraphStyle.d.ts +1 -1
- package/lib/commonjs/skia/web/JsiSkParagraphStyle.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkPath.js +2 -2
- package/lib/commonjs/skia/web/JsiSkPath.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkPathEffect.js +2 -2
- package/lib/commonjs/skia/web/JsiSkPathEffect.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkPathEffectFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkPathFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkPicture.js +2 -2
- package/lib/commonjs/skia/web/JsiSkPicture.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkPictureFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkPictureRecorder.js +2 -2
- package/lib/commonjs/skia/web/JsiSkPictureRecorder.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkPoint.js +2 -2
- package/lib/commonjs/skia/web/JsiSkPoint.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkRRect.js +2 -2
- package/lib/commonjs/skia/web/JsiSkRRect.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkRSXform.js +2 -2
- package/lib/commonjs/skia/web/JsiSkRSXform.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkRect.js +2 -2
- package/lib/commonjs/skia/web/JsiSkRect.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkRuntimeEffect.js +2 -2
- package/lib/commonjs/skia/web/JsiSkRuntimeEffect.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkRuntimeEffectFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkSVG.js +2 -2
- package/lib/commonjs/skia/web/JsiSkSVG.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkSVGFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkShader.js +2 -2
- package/lib/commonjs/skia/web/JsiSkShader.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkShaderFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkSurface.js +2 -2
- package/lib/commonjs/skia/web/JsiSkSurface.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkSurfaceFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkTextBlob.js +2 -2
- package/lib/commonjs/skia/web/JsiSkTextBlob.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkTextBlobFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkTextStyle.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkTypeface.js +2 -2
- package/lib/commonjs/skia/web/JsiSkTypeface.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkTypefaceFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProvider.js +2 -2
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProvider.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkTypefaceFontProviderFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkVertices.js +2 -2
- package/lib/commonjs/skia/web/JsiSkVertices.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkVerticesFactory.js.map +1 -1
- package/lib/commonjs/skia/web/JsiSkia.js.map +1 -1
- package/lib/commonjs/skia/web/JsiVideo.js +2 -2
- package/lib/commonjs/skia/web/JsiVideo.js.map +1 -1
- package/lib/commonjs/skia/web/index.js.map +1 -1
- package/lib/commonjs/specs/NativeSkiaModule.js.map +1 -1
- package/lib/commonjs/specs/NativeSkiaModule.web.js.map +1 -1
- package/lib/commonjs/specs/SkiaDomViewNativeComponent.d.ts +0 -1
- package/lib/commonjs/specs/SkiaDomViewNativeComponent.js +1 -1
- package/lib/commonjs/specs/SkiaDomViewNativeComponent.js.map +1 -1
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.d.ts +0 -1
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.js +1 -1
- package/lib/commonjs/specs/SkiaPictureViewNativeComponent.js.map +1 -1
- package/lib/commonjs/views/SkiaBaseWebView.js +4 -4
- package/lib/commonjs/views/SkiaBaseWebView.js.map +1 -1
- package/lib/commonjs/views/SkiaDomView.d.ts +0 -4
- package/lib/commonjs/views/SkiaDomView.js +4 -12
- package/lib/commonjs/views/SkiaDomView.js.map +1 -1
- package/lib/commonjs/views/SkiaDomView.web.js.map +1 -1
- package/lib/commonjs/views/SkiaJSDomView.js +4 -4
- package/lib/commonjs/views/SkiaJSDomView.js.map +1 -1
- package/lib/commonjs/views/SkiaJSDomView.web.js.map +1 -1
- package/lib/commonjs/views/SkiaPictureView.js +4 -4
- package/lib/commonjs/views/SkiaPictureView.js.map +1 -1
- package/lib/commonjs/views/SkiaPictureView.web.js.map +1 -1
- package/lib/commonjs/views/SkiaViewNativeId.js.map +1 -1
- package/lib/commonjs/views/api.js.map +1 -1
- package/lib/commonjs/views/index.js.map +1 -1
- package/lib/commonjs/views/types.js.map +1 -1
- package/lib/commonjs/views/useTouchHandler.js.map +1 -1
- package/lib/commonjs/web/LoadSkiaWeb.js +1 -1
- package/lib/commonjs/web/LoadSkiaWeb.js.map +1 -1
- package/lib/commonjs/web/WithSkiaWeb.js +1 -1
- package/lib/commonjs/web/WithSkiaWeb.js.map +1 -1
- package/lib/commonjs/web/index.js.map +1 -1
- package/lib/module/Platform/IPlatform.d.ts +0 -1
- package/lib/module/Platform/IPlatform.js.map +1 -1
- package/lib/module/Platform/Platform.js.map +1 -1
- package/lib/module/Platform/Platform.web.js +4 -0
- package/lib/module/Platform/Platform.web.js.map +1 -1
- package/lib/module/Platform/index.js.map +1 -1
- package/lib/module/__tests__/globalSetup.d.ts +9 -0
- package/lib/module/__tests__/globalTeardown.d.ts +2 -0
- package/lib/module/__tests__/setup.d.ts +18 -0
- package/lib/module/animation/functions/index.js.map +1 -1
- package/lib/module/animation/functions/interpolate.js.map +1 -1
- package/lib/module/animation/functions/interpolateColors.js.map +1 -1
- package/lib/module/animation/functions/interpolatePaths.js.map +1 -1
- package/lib/module/animation/functions/interpolateVector.js.map +1 -1
- package/lib/module/animation/index.js.map +1 -1
- package/lib/module/dom/__tests__/Compose.spec.d.ts +1 -0
- package/lib/module/dom/__tests__/Demos.spec.d.ts +1 -0
- package/lib/module/dom/__tests__/DrawingContext.spec.d.ts +1 -0
- package/lib/module/dom/__tests__/Drawings.spec.d.ts +1 -0
- package/lib/module/dom/__tests__/Group.spec.d.ts +1 -0
- package/lib/module/dom/__tests__/Paint.spec.d.ts +1 -0
- package/lib/module/dom/__tests__/RenderNodes.spec.d.ts +1 -0
- package/lib/module/dom/__tests__/Shaders.spec.d.ts +1 -0
- package/lib/module/dom/nodes/DrawingNode.js +2 -2
- package/lib/module/dom/nodes/DrawingNode.js.map +1 -1
- package/lib/module/dom/nodes/GroupNode.js.map +1 -1
- package/lib/module/dom/nodes/JsiSkDOM.js.map +1 -1
- package/lib/module/dom/nodes/LayerNode.js.map +1 -1
- package/lib/module/dom/nodes/Node.js +2 -2
- package/lib/module/dom/nodes/Node.js.map +1 -1
- package/lib/module/dom/nodes/PaintNode.js.map +1 -1
- package/lib/module/dom/nodes/RenderNode.js +2 -2
- package/lib/module/dom/nodes/RenderNode.js.map +1 -1
- package/lib/module/dom/nodes/datatypes/Circle.js.map +1 -1
- package/lib/module/dom/nodes/datatypes/Enum.js.map +1 -1
- package/lib/module/dom/nodes/datatypes/Fitting.js.map +1 -1
- package/lib/module/dom/nodes/datatypes/Gradient.js.map +1 -1
- package/lib/module/dom/nodes/datatypes/Path.js.map +1 -1
- package/lib/module/dom/nodes/datatypes/Radius.js.map +1 -1
- package/lib/module/dom/nodes/datatypes/Rect.js.map +1 -1
- package/lib/module/dom/nodes/datatypes/Transform.js.map +1 -1
- package/lib/module/dom/nodes/datatypes/index.js.map +1 -1
- package/lib/module/dom/nodes/drawings/AtlasNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/BackdropFilterNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/Box.js.map +1 -1
- package/lib/module/dom/nodes/drawings/CircleNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/DiffRectNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/FillNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/ImageNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/ImageSVG.js.map +1 -1
- package/lib/module/dom/nodes/drawings/LineNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/OvalNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/ParagraphNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/PatchNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/PathNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/PictureNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/PointsNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/RRectNode.js +2 -2
- package/lib/module/dom/nodes/drawings/RRectNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/RectNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/Text.js.map +1 -1
- package/lib/module/dom/nodes/drawings/VerticesNode.js.map +1 -1
- package/lib/module/dom/nodes/drawings/index.js.map +1 -1
- package/lib/module/dom/nodes/index.js.map +1 -1
- package/lib/module/dom/nodes/paint/BlendNode.js.map +1 -1
- package/lib/module/dom/nodes/paint/ColorFilters.js.map +1 -1
- package/lib/module/dom/nodes/paint/ImageFilters.js.map +1 -1
- package/lib/module/dom/nodes/paint/MaskFilters.js.map +1 -1
- package/lib/module/dom/nodes/paint/PathEffects.js.map +1 -1
- package/lib/module/dom/nodes/paint/Shaders.js.map +1 -1
- package/lib/module/dom/nodes/paint/index.js.map +1 -1
- package/lib/module/dom/types/ColorFilters.js.map +1 -1
- package/lib/module/dom/types/Common.js.map +1 -1
- package/lib/module/dom/types/DeclarationContext.js +2 -2
- package/lib/module/dom/types/DeclarationContext.js.map +1 -1
- package/lib/module/dom/types/DrawingContext.js +2 -2
- package/lib/module/dom/types/DrawingContext.js.map +1 -1
- package/lib/module/dom/types/Drawings.js.map +1 -1
- package/lib/module/dom/types/ImageFilters.js.map +1 -1
- package/lib/module/dom/types/MaskFilters.js.map +1 -1
- package/lib/module/dom/types/Node.js.map +1 -1
- package/lib/module/dom/types/NodeType.js.map +1 -1
- package/lib/module/dom/types/Paragraph.js.map +1 -1
- package/lib/module/dom/types/PathEffects.js.map +1 -1
- package/lib/module/dom/types/Shaders.js.map +1 -1
- package/lib/module/dom/types/SkDOM.js.map +1 -1
- package/lib/module/dom/types/index.js.map +1 -1
- package/lib/module/external/ModuleProxy.js.map +1 -1
- package/lib/module/external/index.js.map +1 -1
- package/lib/module/external/reanimated/ReanimatedProxy.js.map +1 -1
- package/lib/module/external/reanimated/buffers.d.ts +4 -4
- package/lib/module/external/reanimated/buffers.js.map +1 -1
- package/lib/module/external/reanimated/index.js.map +1 -1
- package/lib/module/external/reanimated/interpolators.js.map +1 -1
- package/lib/module/external/reanimated/renderHelpers.js.map +1 -1
- package/lib/module/external/reanimated/textures.js.map +1 -1
- package/lib/module/external/reanimated/useAnimatedImageValue.js.map +1 -1
- package/lib/module/external/reanimated/useDerivedValueOnJS.js.map +1 -1
- package/lib/module/external/reanimated/useVideo.js.map +1 -1
- package/lib/module/external/reanimated/useVideoLoading.js.map +1 -1
- package/lib/module/external/reanimated/useVideoLoading.web.js.map +1 -1
- package/lib/module/headless/index.js.map +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/mock/index.js +4 -0
- package/lib/module/mock/index.js.map +1 -1
- package/lib/module/renderer/Canvas.d.ts +2 -2
- package/lib/module/renderer/Canvas.js +1 -1
- package/lib/module/renderer/Canvas.js.map +1 -1
- package/lib/module/renderer/Container.d.ts +1 -0
- package/lib/module/renderer/Container.js +3 -2
- package/lib/module/renderer/Container.js.map +1 -1
- package/lib/module/renderer/DrawingContext.js.map +1 -1
- package/lib/module/renderer/HostComponents.js.map +1 -1
- package/lib/module/renderer/HostConfig.d.ts +0 -1
- package/lib/module/renderer/HostConfig.js +7 -3
- package/lib/module/renderer/HostConfig.js.map +1 -1
- package/lib/module/renderer/Offscreen.js.map +1 -1
- package/lib/module/renderer/Reconciler.js +3 -2
- package/lib/module/renderer/Reconciler.js.map +1 -1
- package/lib/module/renderer/__tests__/Data.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/Drawings.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/FitBox.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/Glyphs.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/Image.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/Paths.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/Picture.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/Simple.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/SkiaDOM.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/Surfaces.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/Text.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/TouchHandler.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/Transform.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/documentation/Group.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/documentation/getting-started/HelloWorld.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/documentation/paint/Overview.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/documentation/shapes/Box.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/AnimatedImages.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Atlas.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/BackdropFilters.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Blending.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Blur.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Box.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/ColorFilters.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Composition/ColorFilterComposition.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/CoonPatch.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/DataEncoding.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Drawings.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/FontMgr.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Gradient.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Group.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Image.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/ImageEncoding.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/ImageFilters.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Mask.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Matrix4.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/NativeBuffer.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Offscreen.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Opacity.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Paint.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/ParagraphPaint.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Paragraphs.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/PathEffects.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Paths.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Picture.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Point.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Rect.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/RuntimeShader.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/SDF.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/SVG.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Shader.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Snapshot.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Surfaces.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Text.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/TextPath.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Transforms.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Vertices.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/Video.d.ts +1 -0
- package/lib/module/renderer/__tests__/e2e/setup/Paragraph.d.ts +19 -0
- package/lib/module/renderer/__tests__/e2e/setup/SVG.d.ts +12 -0
- package/lib/module/renderer/__tests__/e2e/setup/SkiaObject.d.ts +11 -0
- package/lib/module/renderer/__tests__/e2e/setup/index.d.ts +3 -0
- package/lib/module/renderer/__tests__/examples/BlendModes.spec.d.ts +1 -0
- package/lib/module/renderer/__tests__/setup.d.ts +66 -0
- package/lib/module/renderer/components/Blend.js.map +1 -1
- package/lib/module/renderer/components/Group.js +2 -2
- package/lib/module/renderer/components/Group.js.map +1 -1
- package/lib/module/renderer/components/Mask.js.map +1 -1
- package/lib/module/renderer/components/Paint.js.map +1 -1
- package/lib/module/renderer/components/Picture.js.map +1 -1
- package/lib/module/renderer/components/backdrop/BackdropBlur.js +1 -1
- package/lib/module/renderer/components/backdrop/BackdropBlur.js.map +1 -1
- package/lib/module/renderer/components/backdrop/BackdropFilter.js.map +1 -1
- package/lib/module/renderer/components/backdrop/index.js.map +1 -1
- package/lib/module/renderer/components/colorFilters/BlendColor.js.map +1 -1
- package/lib/module/renderer/components/colorFilters/Lerp.js.map +1 -1
- package/lib/module/renderer/components/colorFilters/LinearToSRGBGamma.js.map +1 -1
- package/lib/module/renderer/components/colorFilters/LumaColorFilter.js.map +1 -1
- package/lib/module/renderer/components/colorFilters/Matrix.js.map +1 -1
- package/lib/module/renderer/components/colorFilters/SRGBToLinearGamma.js.map +1 -1
- package/lib/module/renderer/components/colorFilters/index.js.map +1 -1
- package/lib/module/renderer/components/image/Image.js.map +1 -1
- package/lib/module/renderer/components/image/ImageSVG.js.map +1 -1
- package/lib/module/renderer/components/image/ImageShader.js +1 -1
- package/lib/module/renderer/components/image/ImageShader.js.map +1 -1
- package/lib/module/renderer/components/image/index.js.map +1 -1
- package/lib/module/renderer/components/imageFilters/Blur.js +1 -1
- package/lib/module/renderer/components/imageFilters/Blur.js.map +1 -1
- package/lib/module/renderer/components/imageFilters/DisplacementMap.js.map +1 -1
- package/lib/module/renderer/components/imageFilters/Morphology.js +1 -1
- package/lib/module/renderer/components/imageFilters/Morphology.js.map +1 -1
- package/lib/module/renderer/components/imageFilters/Offset.js +1 -1
- package/lib/module/renderer/components/imageFilters/Offset.js.map +1 -1
- package/lib/module/renderer/components/imageFilters/RuntimeShader.js.map +1 -1
- package/lib/module/renderer/components/imageFilters/Shadow.js.map +1 -1
- package/lib/module/renderer/components/imageFilters/index.js.map +1 -1
- package/lib/module/renderer/components/index.js.map +1 -1
- package/lib/module/renderer/components/maskFilters/Blur.js +1 -1
- package/lib/module/renderer/components/maskFilters/Blur.js.map +1 -1
- package/lib/module/renderer/components/maskFilters/index.js.map +1 -1
- package/lib/module/renderer/components/paragraph/Paragraph.js.map +1 -1
- package/lib/module/renderer/components/paragraph/index.js.map +1 -1
- package/lib/module/renderer/components/pathEffects/Corner.js.map +1 -1
- package/lib/module/renderer/components/pathEffects/Dash.js.map +1 -1
- package/lib/module/renderer/components/pathEffects/Discrete.js +1 -1
- package/lib/module/renderer/components/pathEffects/Discrete.js.map +1 -1
- package/lib/module/renderer/components/pathEffects/Line2D.js.map +1 -1
- package/lib/module/renderer/components/pathEffects/Path1D.js.map +1 -1
- package/lib/module/renderer/components/pathEffects/Path2D.js.map +1 -1
- package/lib/module/renderer/components/pathEffects/Sum.js.map +1 -1
- package/lib/module/renderer/components/pathEffects/index.js.map +1 -1
- package/lib/module/renderer/components/shaders/Color.js.map +1 -1
- package/lib/module/renderer/components/shaders/FractalNoise.js +1 -1
- package/lib/module/renderer/components/shaders/FractalNoise.js.map +1 -1
- package/lib/module/renderer/components/shaders/LinearGradient.js.map +1 -1
- package/lib/module/renderer/components/shaders/RadialGradient.js.map +1 -1
- package/lib/module/renderer/components/shaders/Shader.js +1 -1
- package/lib/module/renderer/components/shaders/Shader.js.map +1 -1
- package/lib/module/renderer/components/shaders/ShaderLib.js.map +1 -1
- package/lib/module/renderer/components/shaders/SweepGradient.js.map +1 -1
- package/lib/module/renderer/components/shaders/Turbulence.js +1 -1
- package/lib/module/renderer/components/shaders/Turbulence.js.map +1 -1
- package/lib/module/renderer/components/shaders/TwoPointConicalGradient.js.map +1 -1
- package/lib/module/renderer/components/shaders/index.js.map +1 -1
- package/lib/module/renderer/components/shapes/Atlas.js.map +1 -1
- package/lib/module/renderer/components/shapes/Box.js.map +1 -1
- package/lib/module/renderer/components/shapes/Circle.js.map +1 -1
- package/lib/module/renderer/components/shapes/DiffRect.js.map +1 -1
- package/lib/module/renderer/components/shapes/Fill.js.map +1 -1
- package/lib/module/renderer/components/shapes/FitBox.js.map +1 -1
- package/lib/module/renderer/components/shapes/Line.js.map +1 -1
- package/lib/module/renderer/components/shapes/Oval.js.map +1 -1
- package/lib/module/renderer/components/shapes/Patch.js.map +1 -1
- package/lib/module/renderer/components/shapes/Path.js +1 -1
- package/lib/module/renderer/components/shapes/Path.js.map +1 -1
- package/lib/module/renderer/components/shapes/Points.js +1 -1
- package/lib/module/renderer/components/shapes/Points.js.map +1 -1
- package/lib/module/renderer/components/shapes/Rect.js.map +1 -1
- package/lib/module/renderer/components/shapes/RoundedRect.js.map +1 -1
- package/lib/module/renderer/components/shapes/Vertices.js +1 -1
- package/lib/module/renderer/components/shapes/Vertices.js.map +1 -1
- package/lib/module/renderer/components/shapes/index.js.map +1 -1
- package/lib/module/renderer/components/text/Glyphs.js +1 -1
- package/lib/module/renderer/components/text/Glyphs.js.map +1 -1
- package/lib/module/renderer/components/text/Text.js +1 -1
- package/lib/module/renderer/components/text/Text.js.map +1 -1
- package/lib/module/renderer/components/text/TextBlob.js +1 -1
- package/lib/module/renderer/components/text/TextBlob.js.map +1 -1
- package/lib/module/renderer/components/text/TextPath.js +1 -1
- package/lib/module/renderer/components/text/TextPath.js.map +1 -1
- package/lib/module/renderer/components/text/index.js.map +1 -1
- package/lib/module/renderer/index.js.map +1 -1
- package/lib/module/renderer/processors/Animations/Animations.js.map +1 -1
- package/lib/module/renderer/processors/Animations/index.js.map +1 -1
- package/lib/module/renderer/processors/index.js.map +1 -1
- package/lib/module/renderer/processors/math/Coordinates.js.map +1 -1
- package/lib/module/renderer/processors/math/Math.js.map +1 -1
- package/lib/module/renderer/processors/math/Transforms.js.map +1 -1
- package/lib/module/renderer/processors/math/index.js.map +1 -1
- package/lib/module/renderer/typeddash.js.map +1 -1
- package/lib/module/skia/NativeSetup.js.map +1 -1
- package/lib/module/skia/Skia.js.map +1 -1
- package/lib/module/skia/Skia.web.js.map +1 -1
- package/lib/module/skia/__tests__/ColorFilter.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/Data.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/Drawings.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/Enums.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/Geometry.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/ImageFilter.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/Mock.spec.d.ts +0 -0
- package/lib/module/skia/__tests__/Paint.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/Path.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/RuntimeEffect.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/Shader.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/Text.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/Transform.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/Vertices.spec.d.ts +1 -0
- package/lib/module/skia/__tests__/setup.d.ts +19 -0
- package/lib/module/skia/core/AnimatedImage.d.ts +1 -1
- package/lib/module/skia/core/AnimatedImage.js.map +1 -1
- package/lib/module/skia/core/Data.d.ts +3 -3
- package/lib/module/skia/core/Data.js.map +1 -1
- package/lib/module/skia/core/Font.d.ts +1 -1
- package/lib/module/skia/core/Font.js.map +1 -1
- package/lib/module/skia/core/Image.d.ts +2 -3
- package/lib/module/skia/core/Image.js.map +1 -1
- package/lib/module/skia/core/Matrix.js.map +1 -1
- package/lib/module/skia/core/Picture.d.ts +1 -1
- package/lib/module/skia/core/Picture.js.map +1 -1
- package/lib/module/skia/core/RRect.js.map +1 -1
- package/lib/module/skia/core/Rect.js.map +1 -1
- package/lib/module/skia/core/SVG.d.ts +1 -1
- package/lib/module/skia/core/SVG.js.map +1 -1
- package/lib/module/skia/core/SVG.web.d.ts +1 -1
- package/lib/module/skia/core/SVG.web.js.map +1 -1
- package/lib/module/skia/core/Typeface.d.ts +1 -1
- package/lib/module/skia/core/Typeface.js.map +1 -1
- package/lib/module/skia/core/Vector.js.map +1 -1
- package/lib/module/skia/core/index.js.map +1 -1
- package/lib/module/skia/index.js.map +1 -1
- package/lib/module/skia/types/AnimatedImage/AnimatedImage.js.map +1 -1
- package/lib/module/skia/types/AnimatedImage/AnimatedImageFactory.js.map +1 -1
- package/lib/module/skia/types/AnimatedImage/index.js.map +1 -1
- package/lib/module/skia/types/Canvas.js.map +1 -1
- package/lib/module/skia/types/Color.js.map +1 -1
- package/lib/module/skia/types/ColorFilter/ColorFilter.js.map +1 -1
- package/lib/module/skia/types/ColorFilter/ColorFilterFactory.js.map +1 -1
- package/lib/module/skia/types/ColorFilter/index.js.map +1 -1
- package/lib/module/skia/types/ContourMeasure.js.map +1 -1
- package/lib/module/skia/types/Data/Data.d.ts +1 -1
- package/lib/module/skia/types/Data/Data.js.map +1 -1
- package/lib/module/skia/types/Data/DataFactory.js.map +1 -1
- package/lib/module/skia/types/Data/index.js.map +1 -1
- package/lib/module/skia/types/Font/Font.js.map +1 -1
- package/lib/module/skia/types/Font/FontMgr.js.map +1 -1
- package/lib/module/skia/types/Font/FontMgrFactory.js.map +1 -1
- package/lib/module/skia/types/Font/index.js.map +1 -1
- package/lib/module/skia/types/Image/Image.js.map +1 -1
- package/lib/module/skia/types/Image/ImageFactory.d.ts +16 -16
- package/lib/module/skia/types/Image/ImageFactory.js.map +1 -1
- package/lib/module/skia/types/Image/index.js.map +1 -1
- package/lib/module/skia/types/ImageFilter/ImageFilter.js.map +1 -1
- package/lib/module/skia/types/ImageFilter/ImageFilterFactory.js.map +1 -1
- package/lib/module/skia/types/ImageFilter/index.js.map +1 -1
- package/lib/module/skia/types/JsiInstance.js.map +1 -1
- package/lib/module/skia/types/MaskFilter.d.ts +3 -3
- package/lib/module/skia/types/MaskFilter.js.map +1 -1
- package/lib/module/skia/types/Matrix.js.map +1 -1
- package/lib/module/skia/types/Matrix4.js.map +1 -1
- package/lib/module/skia/types/NativeBuffer/NativeBufferFactory.d.ts +3 -3
- package/lib/module/skia/types/NativeBuffer/NativeBufferFactory.js.map +1 -1
- package/lib/module/skia/types/NativeBuffer/index.js.map +1 -1
- package/lib/module/skia/types/Paint/BlendMode.d.ts +28 -28
- package/lib/module/skia/types/Paint/BlendMode.js.map +1 -1
- package/lib/module/skia/types/Paint/Paint.js.map +1 -1
- package/lib/module/skia/types/Paint/index.js.map +1 -1
- package/lib/module/skia/types/Paragraph/Paragraph.js.map +1 -1
- package/lib/module/skia/types/Paragraph/ParagraphBuilder.js.map +1 -1
- package/lib/module/skia/types/Paragraph/ParagraphStyle.js.map +1 -1
- package/lib/module/skia/types/Paragraph/TextStyle.js.map +1 -1
- package/lib/module/skia/types/Paragraph/TypefaceFontProvider.js.map +1 -1
- package/lib/module/skia/types/Paragraph/TypefaceFontProviderFactory.js.map +1 -1
- package/lib/module/skia/types/Paragraph/index.js.map +1 -1
- package/lib/module/skia/types/Path/Path.d.ts +4 -4
- package/lib/module/skia/types/Path/Path.js.map +1 -1
- package/lib/module/skia/types/Path/PathFactory.js.map +1 -1
- package/lib/module/skia/types/Path/index.js.map +1 -1
- package/lib/module/skia/types/PathEffect.js.map +1 -1
- package/lib/module/skia/types/Picture/Picture.js.map +1 -1
- package/lib/module/skia/types/Picture/PictureFactory.js.map +1 -1
- package/lib/module/skia/types/Picture/PictureRecorder.js.map +1 -1
- package/lib/module/skia/types/Picture/index.js.map +1 -1
- package/lib/module/skia/types/Point.js.map +1 -1
- package/lib/module/skia/types/RRect.js.map +1 -1
- package/lib/module/skia/types/RSXform.js.map +1 -1
- package/lib/module/skia/types/Rect.js.map +1 -1
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffect.js.map +1 -1
- package/lib/module/skia/types/RuntimeEffect/RuntimeEffectFactory.js.map +1 -1
- package/lib/module/skia/types/RuntimeEffect/index.js.map +1 -1
- package/lib/module/skia/types/SVG/SVG.js.map +1 -1
- package/lib/module/skia/types/SVG/SVGFactory.js.map +1 -1
- package/lib/module/skia/types/SVG/index.js.map +1 -1
- package/lib/module/skia/types/Shader/Shader.js.map +1 -1
- package/lib/module/skia/types/Shader/ShaderFactory.js.map +1 -1
- package/lib/module/skia/types/Shader/index.js.map +1 -1
- package/lib/module/skia/types/Size.js.map +1 -1
- package/lib/module/skia/types/Skia.js.map +1 -1
- package/lib/module/skia/types/Surface/Surface.js.map +1 -1
- package/lib/module/skia/types/Surface/SurfaceFactory.js.map +1 -1
- package/lib/module/skia/types/Surface/index.js.map +1 -1
- package/lib/module/skia/types/TextBlob.js.map +1 -1
- package/lib/module/skia/types/Typeface/Typeface.js.map +1 -1
- package/lib/module/skia/types/Typeface/TypefaceFactory.js.map +1 -1
- package/lib/module/skia/types/Typeface/index.js.map +1 -1
- package/lib/module/skia/types/Vertices/Vertices.js.map +1 -1
- package/lib/module/skia/types/Vertices/index.js.map +1 -1
- package/lib/module/skia/types/Video/Video.js.map +1 -1
- package/lib/module/skia/types/Video/index.js.map +1 -1
- package/lib/module/skia/types/index.js.map +1 -1
- package/lib/module/skia/web/CanvasKitWebGLBufferImpl.js +2 -2
- package/lib/module/skia/web/CanvasKitWebGLBufferImpl.js.map +1 -1
- package/lib/module/skia/web/Host.js +2 -2
- package/lib/module/skia/web/Host.js.map +1 -1
- package/lib/module/skia/web/JsiSkAnimatedImage.js +2 -2
- package/lib/module/skia/web/JsiSkAnimatedImage.js.map +1 -1
- package/lib/module/skia/web/JsiSkAnimatedImageFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkCanvas.d.ts +1 -1
- package/lib/module/skia/web/JsiSkCanvas.js +2 -2
- package/lib/module/skia/web/JsiSkCanvas.js.map +1 -1
- package/lib/module/skia/web/JsiSkColor.js.map +1 -1
- package/lib/module/skia/web/JsiSkColorFilter.js +2 -2
- package/lib/module/skia/web/JsiSkColorFilter.js.map +1 -1
- package/lib/module/skia/web/JsiSkColorFilterFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkContourMeasure.js +2 -2
- package/lib/module/skia/web/JsiSkContourMeasure.js.map +1 -1
- package/lib/module/skia/web/JsiSkContourMeasureIter.js +2 -2
- package/lib/module/skia/web/JsiSkContourMeasureIter.js.map +1 -1
- package/lib/module/skia/web/JsiSkData.js +2 -2
- package/lib/module/skia/web/JsiSkData.js.map +1 -1
- package/lib/module/skia/web/JsiSkDataFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkFont.js +2 -2
- package/lib/module/skia/web/JsiSkFont.js.map +1 -1
- package/lib/module/skia/web/JsiSkFontMgr.js.map +1 -1
- package/lib/module/skia/web/JsiSkFontMgrFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkImage.js +2 -2
- package/lib/module/skia/web/JsiSkImage.js.map +1 -1
- package/lib/module/skia/web/JsiSkImageFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkImageFilter.js +2 -2
- package/lib/module/skia/web/JsiSkImageFilter.js.map +1 -1
- package/lib/module/skia/web/JsiSkImageFilterFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkMaskFilter.js +2 -2
- package/lib/module/skia/web/JsiSkMaskFilter.js.map +1 -1
- package/lib/module/skia/web/JsiSkMaskFilterFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkMatrix.js +2 -2
- package/lib/module/skia/web/JsiSkMatrix.js.map +1 -1
- package/lib/module/skia/web/JsiSkNativeBufferFactory.d.ts +1 -1
- package/lib/module/skia/web/JsiSkNativeBufferFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkPaint.js +2 -2
- package/lib/module/skia/web/JsiSkPaint.js.map +1 -1
- package/lib/module/skia/web/JsiSkParagraph.js.map +1 -1
- package/lib/module/skia/web/JsiSkParagraphBuilder.js.map +1 -1
- package/lib/module/skia/web/JsiSkParagraphBuilderFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkParagraphStyle.d.ts +1 -1
- package/lib/module/skia/web/JsiSkParagraphStyle.js.map +1 -1
- package/lib/module/skia/web/JsiSkPath.js +2 -2
- package/lib/module/skia/web/JsiSkPath.js.map +1 -1
- package/lib/module/skia/web/JsiSkPathEffect.js +2 -2
- package/lib/module/skia/web/JsiSkPathEffect.js.map +1 -1
- package/lib/module/skia/web/JsiSkPathEffectFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkPathFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkPicture.js +2 -2
- package/lib/module/skia/web/JsiSkPicture.js.map +1 -1
- package/lib/module/skia/web/JsiSkPictureFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkPictureRecorder.js +2 -2
- package/lib/module/skia/web/JsiSkPictureRecorder.js.map +1 -1
- package/lib/module/skia/web/JsiSkPoint.js +2 -2
- package/lib/module/skia/web/JsiSkPoint.js.map +1 -1
- package/lib/module/skia/web/JsiSkRRect.js +2 -2
- package/lib/module/skia/web/JsiSkRRect.js.map +1 -1
- package/lib/module/skia/web/JsiSkRSXform.js +2 -2
- package/lib/module/skia/web/JsiSkRSXform.js.map +1 -1
- package/lib/module/skia/web/JsiSkRect.js +2 -2
- package/lib/module/skia/web/JsiSkRect.js.map +1 -1
- package/lib/module/skia/web/JsiSkRuntimeEffect.js +2 -2
- package/lib/module/skia/web/JsiSkRuntimeEffect.js.map +1 -1
- package/lib/module/skia/web/JsiSkRuntimeEffectFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkSVG.js +2 -2
- package/lib/module/skia/web/JsiSkSVG.js.map +1 -1
- package/lib/module/skia/web/JsiSkSVGFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkShader.js +2 -2
- package/lib/module/skia/web/JsiSkShader.js.map +1 -1
- package/lib/module/skia/web/JsiSkShaderFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkSurface.js +2 -2
- package/lib/module/skia/web/JsiSkSurface.js.map +1 -1
- package/lib/module/skia/web/JsiSkSurfaceFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkTextBlob.js +2 -2
- package/lib/module/skia/web/JsiSkTextBlob.js.map +1 -1
- package/lib/module/skia/web/JsiSkTextBlobFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkTextStyle.js.map +1 -1
- package/lib/module/skia/web/JsiSkTypeface.js +2 -2
- package/lib/module/skia/web/JsiSkTypeface.js.map +1 -1
- package/lib/module/skia/web/JsiSkTypefaceFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkTypefaceFontProvider.js +2 -2
- package/lib/module/skia/web/JsiSkTypefaceFontProvider.js.map +1 -1
- package/lib/module/skia/web/JsiSkTypefaceFontProviderFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkVertices.js +2 -2
- package/lib/module/skia/web/JsiSkVertices.js.map +1 -1
- package/lib/module/skia/web/JsiSkVerticesFactory.js.map +1 -1
- package/lib/module/skia/web/JsiSkia.js.map +1 -1
- package/lib/module/skia/web/JsiVideo.js +2 -2
- package/lib/module/skia/web/JsiVideo.js.map +1 -1
- package/lib/module/skia/web/index.js.map +1 -1
- package/lib/module/specs/NativeSkiaModule.js.map +1 -1
- package/lib/module/specs/NativeSkiaModule.web.js.map +1 -1
- package/lib/module/specs/SkiaDomViewNativeComponent.d.ts +0 -1
- package/lib/module/specs/SkiaDomViewNativeComponent.js.map +1 -1
- package/lib/module/specs/SkiaPictureViewNativeComponent.d.ts +0 -1
- package/lib/module/specs/SkiaPictureViewNativeComponent.js.map +1 -1
- package/lib/module/views/SkiaBaseWebView.js +3 -3
- package/lib/module/views/SkiaBaseWebView.js.map +1 -1
- package/lib/module/views/SkiaDomView.d.ts +0 -4
- package/lib/module/views/SkiaDomView.js +3 -11
- package/lib/module/views/SkiaDomView.js.map +1 -1
- package/lib/module/views/SkiaDomView.web.js.map +1 -1
- package/lib/module/views/SkiaJSDomView.js +3 -3
- package/lib/module/views/SkiaJSDomView.js.map +1 -1
- package/lib/module/views/SkiaJSDomView.web.js.map +1 -1
- package/lib/module/views/SkiaPictureView.js +3 -3
- package/lib/module/views/SkiaPictureView.js.map +1 -1
- package/lib/module/views/SkiaPictureView.web.js.map +1 -1
- package/lib/module/views/SkiaViewNativeId.js.map +1 -1
- package/lib/module/views/api.js.map +1 -1
- package/lib/module/views/index.js.map +1 -1
- package/lib/module/views/types.js.map +1 -1
- package/lib/module/views/useTouchHandler.js.map +1 -1
- package/lib/module/web/LoadSkiaWeb.js.map +1 -1
- package/lib/module/web/WithSkiaWeb.js.map +1 -1
- package/lib/module/web/index.js.map +1 -1
- package/lib/typescript/jest.config.d.ts +2 -0
- package/lib/typescript/lib/commonjs/Platform/IPlatform.d.ts +1 -0
- package/lib/typescript/lib/commonjs/Platform/Platform.d.ts +9 -0
- package/lib/typescript/lib/commonjs/Platform/Platform.web.d.ts +14 -0
- package/lib/typescript/lib/commonjs/Platform/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/animation/functions/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/animation/functions/interpolate.d.ts +7 -0
- package/lib/typescript/lib/commonjs/animation/functions/interpolateColors.d.ts +3 -0
- package/lib/typescript/lib/commonjs/animation/functions/interpolatePaths.d.ts +18 -0
- package/lib/typescript/lib/commonjs/animation/functions/interpolateVector.d.ts +9 -0
- package/lib/typescript/lib/commonjs/animation/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/nodes/DrawingNode.d.ts +6 -0
- package/lib/typescript/lib/commonjs/dom/nodes/GroupNode.d.ts +6 -0
- package/lib/typescript/lib/commonjs/dom/nodes/JsiSkDOM.d.ts +70 -0
- package/lib/typescript/lib/commonjs/dom/nodes/LayerNode.d.ts +6 -0
- package/lib/typescript/lib/commonjs/dom/nodes/Node.d.ts +20 -0
- package/lib/typescript/lib/commonjs/dom/nodes/PaintNode.d.ts +6 -0
- package/lib/typescript/lib/commonjs/dom/nodes/RenderNode.d.ts +16 -0
- package/lib/typescript/lib/commonjs/dom/nodes/datatypes/Circle.d.ts +3 -0
- package/lib/typescript/lib/commonjs/dom/nodes/datatypes/Enum.d.ts +2 -0
- package/lib/typescript/lib/commonjs/dom/nodes/datatypes/Fitting.d.ts +45 -0
- package/lib/typescript/lib/commonjs/dom/nodes/datatypes/Gradient.d.ts +16 -0
- package/lib/typescript/lib/commonjs/dom/nodes/datatypes/Path.d.ts +3 -0
- package/lib/typescript/lib/commonjs/dom/nodes/datatypes/Radius.d.ts +2 -0
- package/lib/typescript/lib/commonjs/dom/nodes/datatypes/Rect.d.ts +4 -0
- package/lib/typescript/lib/commonjs/dom/nodes/datatypes/Transform.d.ts +2 -0
- package/lib/typescript/lib/commonjs/dom/nodes/datatypes/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/AtlasNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/BackdropFilterNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/Box.d.ts +15 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/CircleNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/DiffRectNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/FillNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/ImageNode.d.ts +13 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/ImageSVG.d.ts +9 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/LineNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/OvalNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/ParagraphNode.d.ts +9 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/PatchNode.d.ts +14 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/PathNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/PictureNode.d.ts +9 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/PointsNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/RRectNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/RectNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/Text.d.ts +34 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/VerticesNode.d.ts +10 -0
- package/lib/typescript/lib/commonjs/dom/nodes/drawings/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/nodes/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/nodes/paint/BlendNode.d.ts +6 -0
- package/lib/typescript/lib/commonjs/dom/nodes/paint/ColorFilters.d.ts +29 -0
- package/lib/typescript/lib/commonjs/dom/nodes/paint/ImageFilters.d.ts +35 -0
- package/lib/typescript/lib/commonjs/dom/nodes/paint/MaskFilters.d.ts +6 -0
- package/lib/typescript/lib/commonjs/dom/nodes/paint/PathEffects.d.ts +34 -0
- package/lib/typescript/lib/commonjs/dom/nodes/paint/Shaders.d.ts +40 -0
- package/lib/typescript/lib/commonjs/dom/nodes/paint/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/types/ColorFilters.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/types/Common.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/types/DeclarationContext.d.ts +26 -0
- package/lib/typescript/lib/commonjs/dom/types/DrawingContext.d.ts +13 -0
- package/lib/typescript/lib/commonjs/dom/types/Drawings.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/types/ImageFilters.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/types/MaskFilters.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/types/Node.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/types/NodeType.d.ts +2 -0
- package/lib/typescript/lib/commonjs/dom/types/Paragraph.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/types/PathEffects.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/types/Shaders.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/types/SkDOM.d.ts +1 -0
- package/lib/typescript/lib/commonjs/dom/types/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/external/ModuleProxy.d.ts +11 -0
- package/lib/typescript/lib/commonjs/external/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/external/reanimated/ReanimatedProxy.d.ts +5 -0
- package/lib/typescript/lib/commonjs/external/reanimated/buffers.d.ts +5 -0
- package/lib/typescript/lib/commonjs/external/reanimated/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/external/reanimated/interpolators.d.ts +6 -0
- package/lib/typescript/lib/commonjs/external/reanimated/renderHelpers.d.ts +4 -0
- package/lib/typescript/lib/commonjs/external/reanimated/textures.d.ts +6 -0
- package/lib/typescript/lib/commonjs/external/reanimated/useAnimatedImageValue.d.ts +2 -0
- package/lib/typescript/lib/commonjs/external/reanimated/useDerivedValueOnJS.d.ts +2 -0
- package/lib/typescript/lib/commonjs/external/reanimated/useVideo.d.ts +9 -0
- package/lib/typescript/lib/commonjs/external/reanimated/useVideoLoading.d.ts +2 -0
- package/lib/typescript/lib/commonjs/external/reanimated/useVideoLoading.web.d.ts +2 -0
- package/lib/typescript/lib/commonjs/headless/index.d.ts +6 -0
- package/lib/typescript/lib/commonjs/index.d.ts +3 -0
- package/lib/typescript/lib/commonjs/mock/index.d.ts +64 -0
- package/lib/typescript/lib/commonjs/renderer/Canvas.d.ts +3 -0
- package/lib/typescript/lib/commonjs/renderer/Container.d.ts +10 -0
- package/lib/typescript/lib/commonjs/renderer/DrawingContext.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/HostComponents.d.ts +3 -0
- package/lib/typescript/lib/commonjs/renderer/HostConfig.d.ts +38 -0
- package/lib/typescript/lib/commonjs/renderer/Offscreen.d.ts +5 -0
- package/lib/typescript/lib/commonjs/renderer/Reconciler.d.ts +10 -0
- package/lib/typescript/lib/commonjs/renderer/components/Blend.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/Group.d.ts +5 -0
- package/lib/typescript/lib/commonjs/renderer/components/Mask.d.ts +7 -0
- package/lib/typescript/lib/commonjs/renderer/components/Paint.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/Picture.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/backdrop/BackdropBlur.d.ts +6 -0
- package/lib/typescript/lib/commonjs/renderer/components/backdrop/BackdropFilter.d.ts +6 -0
- package/lib/typescript/lib/commonjs/renderer/components/backdrop/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/components/colorFilters/BlendColor.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/colorFilters/Lerp.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/colorFilters/LinearToSRGBGamma.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/colorFilters/LumaColorFilter.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/colorFilters/Matrix.d.ts +3 -0
- package/lib/typescript/lib/commonjs/renderer/components/colorFilters/SRGBToLinearGamma.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/colorFilters/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/components/image/Image.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/image/ImageSVG.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/image/ImageShader.d.ts +10 -0
- package/lib/typescript/lib/commonjs/renderer/components/image/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/components/imageFilters/Blur.d.ts +5 -0
- package/lib/typescript/lib/commonjs/renderer/components/imageFilters/DisplacementMap.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/imageFilters/Morphology.d.ts +5 -0
- package/lib/typescript/lib/commonjs/renderer/components/imageFilters/Offset.d.ts +6 -0
- package/lib/typescript/lib/commonjs/renderer/components/imageFilters/RuntimeShader.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/imageFilters/Shadow.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/imageFilters/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/components/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/components/maskFilters/Blur.d.ts +6 -0
- package/lib/typescript/lib/commonjs/renderer/components/maskFilters/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/components/paragraph/Paragraph.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/paragraph/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/components/pathEffects/Corner.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/pathEffects/Dash.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/pathEffects/Discrete.d.ts +5 -0
- package/lib/typescript/lib/commonjs/renderer/components/pathEffects/Line2D.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/pathEffects/Path1D.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/pathEffects/Path2D.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/pathEffects/Sum.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/pathEffects/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/components/shaders/Color.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shaders/FractalNoise.d.ts +7 -0
- package/lib/typescript/lib/commonjs/renderer/components/shaders/LinearGradient.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shaders/RadialGradient.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shaders/Shader.d.ts +5 -0
- package/lib/typescript/lib/commonjs/renderer/components/shaders/ShaderLib.d.ts +8 -0
- package/lib/typescript/lib/commonjs/renderer/components/shaders/SweepGradient.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shaders/Turbulence.d.ts +7 -0
- package/lib/typescript/lib/commonjs/renderer/components/shaders/TwoPointConicalGradient.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shaders/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/Atlas.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/Box.d.ts +3 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/Circle.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/DiffRect.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/Fill.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/FitBox.d.ts +8 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/Line.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/Oval.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/Patch.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/Path.d.ts +6 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/Points.d.ts +5 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/Rect.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/RoundedRect.d.ts +2 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/Vertices.d.ts +5 -0
- package/lib/typescript/lib/commonjs/renderer/components/shapes/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/components/text/Glyphs.d.ts +6 -0
- package/lib/typescript/lib/commonjs/renderer/components/text/Text.d.ts +6 -0
- package/lib/typescript/lib/commonjs/renderer/components/text/TextBlob.d.ts +6 -0
- package/lib/typescript/lib/commonjs/renderer/components/text/TextPath.d.ts +5 -0
- package/lib/typescript/lib/commonjs/renderer/components/text/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/processors/Animations/Animations.d.ts +0 -0
- package/lib/typescript/lib/commonjs/renderer/processors/Animations/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/processors/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/processors/math/Coordinates.d.ts +25 -0
- package/lib/typescript/lib/commonjs/renderer/processors/math/Math.d.ts +10 -0
- package/lib/typescript/lib/commonjs/renderer/processors/math/Transforms.d.ts +5 -0
- package/lib/typescript/lib/commonjs/renderer/processors/math/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/renderer/typeddash.d.ts +4 -0
- package/lib/typescript/lib/commonjs/skia/NativeSetup.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/Skia.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/Skia.web.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/core/AnimatedImage.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/core/Data.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/core/Font.d.ts +8 -0
- package/lib/typescript/lib/commonjs/skia/core/Image.d.ts +6 -0
- package/lib/typescript/lib/commonjs/skia/core/Matrix.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/core/Picture.d.ts +8 -0
- package/lib/typescript/lib/commonjs/skia/core/RRect.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/core/Rect.d.ts +8 -0
- package/lib/typescript/lib/commonjs/skia/core/SVG.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/core/SVG.web.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/core/Typeface.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/core/Vector.d.ts +7 -0
- package/lib/typescript/lib/commonjs/skia/core/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/index.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/types/AnimatedImage/AnimatedImage.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/AnimatedImage/AnimatedImageFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/AnimatedImage/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Canvas.d.ts +3 -0
- package/lib/typescript/lib/commonjs/skia/types/Color.d.ts +0 -0
- package/lib/typescript/lib/commonjs/skia/types/ColorFilter/ColorFilter.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/types/ColorFilter/ColorFilterFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/ColorFilter/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/ContourMeasure.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Data/Data.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/types/Data/DataFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Data/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Font/Font.d.ts +16 -0
- package/lib/typescript/lib/commonjs/skia/types/Font/FontMgr.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Font/FontMgrFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Font/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Image/Image.d.ts +4 -0
- package/lib/typescript/lib/commonjs/skia/types/Image/ImageFactory.d.ts +3 -0
- package/lib/typescript/lib/commonjs/skia/types/Image/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/ImageFilter/ImageFilter.d.ts +3 -0
- package/lib/typescript/lib/commonjs/skia/types/ImageFilter/ImageFilterFactory.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/types/ImageFilter/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/JsiInstance.d.ts +0 -0
- package/lib/typescript/lib/commonjs/skia/types/MaskFilter.d.ts +3 -0
- package/lib/typescript/lib/commonjs/skia/types/Matrix.d.ts +4 -0
- package/lib/typescript/lib/commonjs/skia/types/Matrix4.d.ts +31 -0
- package/lib/typescript/lib/commonjs/skia/types/NativeBuffer/NativeBufferFactory.d.ts +6 -0
- package/lib/typescript/lib/commonjs/skia/types/NativeBuffer/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Paint/BlendMode.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/types/Paint/Paint.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/types/Paint/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Paragraph/Paragraph.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Paragraph/ParagraphBuilder.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/types/Paragraph/ParagraphStyle.d.ts +4 -0
- package/lib/typescript/lib/commonjs/skia/types/Paragraph/TextStyle.d.ts +4 -0
- package/lib/typescript/lib/commonjs/skia/types/Paragraph/TypefaceFontProvider.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Paragraph/TypefaceFontProviderFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Paragraph/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Path/Path.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/types/Path/PathFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Path/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/PathEffect.d.ts +3 -0
- package/lib/typescript/lib/commonjs/skia/types/Picture/Picture.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Picture/PictureFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Picture/PictureRecorder.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Picture/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Point.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/types/RRect.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/types/RSXform.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Rect.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffect.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/RuntimeEffect/RuntimeEffectFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/RuntimeEffect/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/SVG/SVG.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/SVG/SVGFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/SVG/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Shader/Shader.d.ts +3 -0
- package/lib/typescript/lib/commonjs/skia/types/Shader/ShaderFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Shader/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Size.d.ts +0 -0
- package/lib/typescript/lib/commonjs/skia/types/Skia.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Surface/Surface.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Surface/SurfaceFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Surface/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/TextBlob.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Typeface/Typeface.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Typeface/TypefaceFactory.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Typeface/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Vertices/Vertices.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/types/Vertices/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Video/Video.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/Video/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/types/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/skia/web/CanvasKitWebGLBufferImpl.d.ts +8 -0
- package/lib/typescript/lib/commonjs/skia/web/Host.d.ts +18 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkAnimatedImage.d.ts +10 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkAnimatedImageFactory.d.ts +6 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkCanvas.d.ts +45 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkColor.d.ts +2 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkColorFilter.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkColorFilterFactory.d.ts +12 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkContourMeasure.d.ts +11 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkContourMeasureIter.d.ts +7 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkData.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkDataFactory.d.ts +16 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkFont.d.ts +33 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkFontMgr.d.ts +9 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkFontMgrFactory.d.ts +6 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkImage.d.ts +21 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkImageFactory.d.ts +9 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkImageFilter.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkImageFilterFactory.d.ts +17 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkMaskFilter.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkMaskFilterFactory.d.ts +6 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkMatrix.d.ts +18 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkNativeBufferFactory.d.ts +6 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkPaint.d.ts +28 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkParagraph.d.ts +17 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkParagraphBuilder.d.ts +14 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkParagraphBuilderFactory.d.ts +6 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkParagraphStyle.d.ts +4 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkPath.d.ts +56 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkPathEffect.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkPathEffectFactory.d.ts +13 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkPathFactory.d.ts +10 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkPicture.d.ts +8 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkPictureFactory.d.ts +6 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkPictureRecorder.d.ts +9 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkPoint.d.ts +8 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkRRect.d.ts +10 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkRSXform.d.ts +11 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkRect.d.ts +11 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkRuntimeEffect.d.ts +13 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkRuntimeEffectFactory.d.ts +6 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkSVG.d.ts +7 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkSVGFactory.d.ts +7 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkShader.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkShaderFactory.d.ts +13 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkSurface.d.ts +12 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkSurfaceFactory.d.ts +7 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkTextBlob.d.ts +5 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkTextBlobFactory.d.ts +9 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkTextStyle.d.ts +38 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkTypeface.d.ts +8 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkTypefaceFactory.d.ts +6 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkTypefaceFontProvider.d.ts +10 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkTypefaceFontProviderFactory.d.ts +6 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkVertices.d.ts +8 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkVerticesFactory.d.ts +3 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiSkia.d.ts +64 -0
- package/lib/typescript/lib/commonjs/skia/web/JsiVideo.d.ts +23 -0
- package/lib/typescript/lib/commonjs/skia/web/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/specs/NativeSkiaModule.d.ts +4 -0
- package/lib/typescript/lib/commonjs/specs/NativeSkiaModule.web.d.ts +0 -0
- package/lib/typescript/lib/commonjs/specs/SkiaDomViewNativeComponent.d.ts +3 -0
- package/lib/typescript/lib/commonjs/specs/SkiaPictureViewNativeComponent.d.ts +3 -0
- package/lib/typescript/lib/commonjs/views/SkiaBaseWebView.d.ts +53 -0
- package/lib/typescript/lib/commonjs/views/SkiaDomView.d.ts +27 -0
- package/lib/typescript/lib/commonjs/views/SkiaDomView.web.d.ts +5 -0
- package/lib/typescript/lib/commonjs/views/SkiaJSDomView.d.ts +26 -0
- package/lib/typescript/lib/commonjs/views/SkiaJSDomView.web.d.ts +3 -0
- package/lib/typescript/lib/commonjs/views/SkiaPictureView.d.ts +21 -0
- package/lib/typescript/lib/commonjs/views/SkiaPictureView.web.d.ts +5 -0
- package/lib/typescript/lib/commonjs/views/SkiaViewNativeId.d.ts +4 -0
- package/lib/typescript/lib/commonjs/views/api.d.ts +2 -0
- package/lib/typescript/lib/commonjs/views/index.d.ts +1 -0
- package/lib/typescript/lib/commonjs/views/types.d.ts +2 -0
- package/lib/typescript/lib/commonjs/views/useTouchHandler.d.ts +12 -0
- package/lib/typescript/lib/commonjs/web/LoadSkiaWeb.d.ts +3 -0
- package/lib/typescript/lib/commonjs/web/WithSkiaWeb.d.ts +6 -0
- package/lib/typescript/lib/commonjs/web/index.d.ts +1 -0
- package/lib/typescript/lib/module/Platform/IPlatform.d.ts +1 -0
- package/lib/typescript/lib/module/Platform/Platform.d.ts +9 -0
- package/lib/typescript/lib/module/Platform/Platform.web.d.ts +17 -0
- package/lib/typescript/lib/module/Platform/index.d.ts +1 -0
- package/lib/typescript/lib/module/animation/functions/index.d.ts +4 -0
- package/lib/typescript/lib/module/animation/functions/interpolate.d.ts +6 -0
- package/lib/typescript/lib/module/animation/functions/interpolateColors.d.ts +2 -0
- package/lib/typescript/lib/module/animation/functions/interpolatePaths.d.ts +1 -0
- package/lib/typescript/lib/module/animation/functions/interpolateVector.d.ts +8 -0
- package/lib/typescript/lib/module/animation/index.d.ts +1 -0
- package/lib/typescript/lib/module/dom/nodes/DrawingNode.d.ts +5 -0
- package/lib/typescript/lib/module/dom/nodes/GroupNode.d.ts +5 -0
- package/lib/typescript/lib/module/dom/nodes/JsiSkDOM.d.ts +119 -0
- package/lib/typescript/lib/module/dom/nodes/LayerNode.d.ts +5 -0
- package/lib/typescript/lib/module/dom/nodes/Node.d.ts +19 -0
- package/lib/typescript/lib/module/dom/nodes/PaintNode.d.ts +5 -0
- package/lib/typescript/lib/module/dom/nodes/RenderNode.d.ts +15 -0
- package/lib/typescript/lib/module/dom/nodes/datatypes/Circle.d.ts +2 -0
- package/lib/typescript/lib/module/dom/nodes/datatypes/Enum.d.ts +1 -0
- package/lib/typescript/lib/module/dom/nodes/datatypes/Fitting.d.ts +44 -0
- package/lib/typescript/lib/module/dom/nodes/datatypes/Gradient.d.ts +15 -0
- package/lib/typescript/lib/module/dom/nodes/datatypes/Path.d.ts +2 -0
- package/lib/typescript/lib/module/dom/nodes/datatypes/Radius.d.ts +1 -0
- package/lib/typescript/lib/module/dom/nodes/datatypes/Rect.d.ts +3 -0
- package/lib/typescript/lib/module/dom/nodes/datatypes/Transform.d.ts +1 -0
- package/lib/typescript/lib/module/dom/nodes/datatypes/index.d.ts +8 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/AtlasNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/BackdropFilterNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/Box.d.ts +14 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/CircleNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/DiffRectNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/FillNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/ImageNode.d.ts +22 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/ImageSVG.d.ts +8 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/LineNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/OvalNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/ParagraphNode.d.ts +8 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/PatchNode.d.ts +13 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/PathNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/PictureNode.d.ts +8 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/PointsNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/RRectNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/RectNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/Text.d.ts +33 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/VerticesNode.d.ts +9 -0
- package/lib/typescript/lib/module/dom/nodes/drawings/index.d.ts +18 -0
- package/lib/typescript/lib/module/dom/nodes/index.d.ts +3 -0
- package/lib/typescript/lib/module/dom/nodes/paint/BlendNode.d.ts +5 -0
- package/lib/typescript/lib/module/dom/nodes/paint/ColorFilters.d.ts +28 -0
- package/lib/typescript/lib/module/dom/nodes/paint/ImageFilters.d.ts +34 -0
- package/lib/typescript/lib/module/dom/nodes/paint/MaskFilters.d.ts +5 -0
- package/lib/typescript/lib/module/dom/nodes/paint/PathEffects.d.ts +33 -0
- package/lib/typescript/lib/module/dom/nodes/paint/Shaders.d.ts +39 -0
- package/lib/typescript/lib/module/dom/nodes/paint/index.d.ts +6 -0
- package/lib/typescript/lib/module/dom/types/ColorFilters.d.ts +1 -0
- package/lib/typescript/lib/module/dom/types/Common.d.ts +1 -0
- package/lib/typescript/lib/module/dom/types/DeclarationContext.d.ts +25 -0
- package/lib/typescript/lib/module/dom/types/DrawingContext.d.ts +12 -0
- package/lib/typescript/lib/module/dom/types/Drawings.d.ts +1 -0
- package/lib/typescript/lib/module/dom/types/ImageFilters.d.ts +1 -0
- package/lib/typescript/lib/module/dom/types/MaskFilters.d.ts +1 -0
- package/lib/typescript/lib/module/dom/types/Node.d.ts +1 -0
- package/lib/typescript/lib/module/dom/types/NodeType.d.ts +1 -0
- package/lib/typescript/lib/module/dom/types/Paragraph.d.ts +1 -0
- package/lib/typescript/lib/module/dom/types/PathEffects.d.ts +1 -0
- package/lib/typescript/lib/module/dom/types/Shaders.d.ts +1 -0
- package/lib/typescript/lib/module/dom/types/SkDOM.d.ts +1 -0
- package/lib/typescript/lib/module/dom/types/index.d.ts +13 -0
- package/lib/typescript/lib/module/external/ModuleProxy.d.ts +6 -0
- package/lib/typescript/lib/module/external/index.d.ts +1 -0
- package/lib/typescript/lib/module/external/reanimated/ReanimatedProxy.d.ts +4 -0
- package/lib/typescript/lib/module/external/reanimated/buffers.d.ts +4 -0
- package/lib/typescript/lib/module/external/reanimated/index.d.ts +7 -0
- package/lib/typescript/lib/module/external/reanimated/interpolators.d.ts +5 -0
- package/lib/typescript/lib/module/external/reanimated/renderHelpers.d.ts +3 -0
- package/lib/typescript/lib/module/external/reanimated/textures.d.ts +5 -0
- package/lib/typescript/lib/module/external/reanimated/useAnimatedImageValue.d.ts +1 -0
- package/lib/typescript/lib/module/external/reanimated/useDerivedValueOnJS.d.ts +1 -0
- package/lib/typescript/lib/module/external/reanimated/useVideo.d.ts +8 -0
- package/lib/typescript/lib/module/external/reanimated/useVideoLoading.d.ts +1 -0
- package/lib/typescript/lib/module/external/reanimated/useVideoLoading.web.d.ts +1 -0
- package/lib/typescript/lib/module/headless/index.d.ts +6 -0
- package/lib/typescript/lib/module/index.d.ts +10 -0
- package/lib/typescript/lib/module/mock/index.d.ts +474 -0
- package/lib/typescript/lib/module/renderer/Canvas.d.ts +3 -0
- package/lib/typescript/lib/module/renderer/Container.d.ts +10 -0
- package/lib/typescript/lib/module/renderer/DrawingContext.d.ts +1 -0
- package/lib/typescript/lib/module/renderer/HostComponents.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/HostConfig.d.ts +37 -0
- package/lib/typescript/lib/module/renderer/Offscreen.d.ts +4 -0
- package/lib/typescript/lib/module/renderer/Reconciler.d.ts +9 -0
- package/lib/typescript/lib/module/renderer/components/Blend.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/Group.d.ts +5 -0
- package/lib/typescript/lib/module/renderer/components/Mask.d.ts +10 -0
- package/lib/typescript/lib/module/renderer/components/Paint.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/Picture.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/backdrop/BackdropBlur.d.ts +10 -0
- package/lib/typescript/lib/module/renderer/components/backdrop/BackdropFilter.d.ts +6 -0
- package/lib/typescript/lib/module/renderer/components/backdrop/index.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/colorFilters/BlendColor.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/colorFilters/Lerp.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/colorFilters/LinearToSRGBGamma.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/colorFilters/LumaColorFilter.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/colorFilters/Matrix.d.ts +3 -0
- package/lib/typescript/lib/module/renderer/components/colorFilters/SRGBToLinearGamma.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/colorFilters/index.d.ts +6 -0
- package/lib/typescript/lib/module/renderer/components/image/Image.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/image/ImageSVG.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/image/ImageShader.d.ts +10 -0
- package/lib/typescript/lib/module/renderer/components/image/index.d.ts +3 -0
- package/lib/typescript/lib/module/renderer/components/imageFilters/Blur.d.ts +5 -0
- package/lib/typescript/lib/module/renderer/components/imageFilters/DisplacementMap.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/imageFilters/Morphology.d.ts +5 -0
- package/lib/typescript/lib/module/renderer/components/imageFilters/Offset.d.ts +6 -0
- package/lib/typescript/lib/module/renderer/components/imageFilters/RuntimeShader.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/imageFilters/Shadow.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/imageFilters/index.d.ts +6 -0
- package/lib/typescript/lib/module/renderer/components/index.d.ts +16 -0
- package/lib/typescript/lib/module/renderer/components/maskFilters/Blur.d.ts +6 -0
- package/lib/typescript/lib/module/renderer/components/maskFilters/index.d.ts +1 -0
- package/lib/typescript/lib/module/renderer/components/paragraph/Paragraph.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/paragraph/index.d.ts +1 -0
- package/lib/typescript/lib/module/renderer/components/pathEffects/Corner.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/pathEffects/Dash.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/pathEffects/Discrete.d.ts +5 -0
- package/lib/typescript/lib/module/renderer/components/pathEffects/Line2D.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/pathEffects/Path1D.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/pathEffects/Path2D.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/pathEffects/Sum.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/pathEffects/index.d.ts +7 -0
- package/lib/typescript/lib/module/renderer/components/shaders/Color.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shaders/FractalNoise.d.ts +7 -0
- package/lib/typescript/lib/module/renderer/components/shaders/LinearGradient.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shaders/RadialGradient.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shaders/Shader.d.ts +5 -0
- package/lib/typescript/lib/module/renderer/components/shaders/ShaderLib.d.ts +7 -0
- package/lib/typescript/lib/module/renderer/components/shaders/SweepGradient.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shaders/Turbulence.d.ts +7 -0
- package/lib/typescript/lib/module/renderer/components/shaders/TwoPointConicalGradient.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shaders/index.d.ts +9 -0
- package/lib/typescript/lib/module/renderer/components/shapes/Atlas.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shapes/Box.d.ts +3 -0
- package/lib/typescript/lib/module/renderer/components/shapes/Circle.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shapes/DiffRect.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shapes/Fill.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shapes/FitBox.d.ts +34 -0
- package/lib/typescript/lib/module/renderer/components/shapes/Line.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shapes/Oval.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shapes/Patch.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shapes/Path.d.ts +6 -0
- package/lib/typescript/lib/module/renderer/components/shapes/Points.d.ts +5 -0
- package/lib/typescript/lib/module/renderer/components/shapes/Rect.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shapes/RoundedRect.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/components/shapes/Vertices.d.ts +5 -0
- package/lib/typescript/lib/module/renderer/components/shapes/index.d.ts +14 -0
- package/lib/typescript/lib/module/renderer/components/text/Glyphs.d.ts +6 -0
- package/lib/typescript/lib/module/renderer/components/text/Text.d.ts +6 -0
- package/lib/typescript/lib/module/renderer/components/text/TextBlob.d.ts +6 -0
- package/lib/typescript/lib/module/renderer/components/text/TextPath.d.ts +5 -0
- package/lib/typescript/lib/module/renderer/components/text/index.d.ts +4 -0
- package/lib/typescript/lib/module/renderer/index.d.ts +1 -0
- package/lib/typescript/lib/module/renderer/processors/Animations/Animations.d.ts +0 -0
- package/lib/typescript/lib/module/renderer/processors/Animations/index.d.ts +1 -0
- package/lib/typescript/lib/module/renderer/processors/index.d.ts +2 -0
- package/lib/typescript/lib/module/renderer/processors/math/Coordinates.d.ts +24 -0
- package/lib/typescript/lib/module/renderer/processors/math/Math.d.ts +3 -0
- package/lib/typescript/lib/module/renderer/processors/math/Transforms.d.ts +4 -0
- package/lib/typescript/lib/module/renderer/processors/math/index.d.ts +3 -0
- package/lib/typescript/lib/module/renderer/typeddash.d.ts +3 -0
- package/lib/typescript/lib/module/skia/NativeSetup.d.ts +1 -0
- package/lib/typescript/lib/module/skia/Skia.d.ts +4 -0
- package/lib/typescript/lib/module/skia/Skia.web.d.ts +35 -0
- package/lib/typescript/lib/module/skia/core/AnimatedImage.d.ts +1 -0
- package/lib/typescript/lib/module/skia/core/Data.d.ts +4 -0
- package/lib/typescript/lib/module/skia/core/Font.d.ts +4 -0
- package/lib/typescript/lib/module/skia/core/Image.d.ts +2 -0
- package/lib/typescript/lib/module/skia/core/Matrix.d.ts +1 -0
- package/lib/typescript/lib/module/skia/core/Picture.d.ts +1 -0
- package/lib/typescript/lib/module/skia/core/RRect.d.ts +1 -0
- package/lib/typescript/lib/module/skia/core/Rect.d.ts +7 -0
- package/lib/typescript/lib/module/skia/core/SVG.d.ts +1 -0
- package/lib/typescript/lib/module/skia/core/SVG.web.d.ts +1 -0
- package/lib/typescript/lib/module/skia/core/Typeface.d.ts +1 -0
- package/lib/typescript/lib/module/skia/core/Vector.d.ts +6 -0
- package/lib/typescript/lib/module/skia/core/index.d.ts +11 -0
- package/lib/typescript/lib/module/skia/index.d.ts +3 -0
- package/lib/typescript/lib/module/skia/types/AnimatedImage/AnimatedImage.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/AnimatedImage/AnimatedImageFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/AnimatedImage/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/Canvas.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/Color.d.ts +0 -0
- package/lib/typescript/lib/module/skia/types/ColorFilter/ColorFilter.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/ColorFilter/ColorFilterFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/ColorFilter/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/ContourMeasure.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Data/Data.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Data/DataFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Data/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/Font/Font.d.ts +15 -0
- package/lib/typescript/lib/module/skia/types/Font/FontMgr.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Font/FontMgrFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Font/index.d.ts +3 -0
- package/lib/typescript/lib/module/skia/types/Image/Image.d.ts +3 -0
- package/lib/typescript/lib/module/skia/types/Image/ImageFactory.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/Image/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/ImageFilter/ImageFilter.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/ImageFilter/ImageFilterFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/ImageFilter/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/JsiInstance.d.ts +0 -0
- package/lib/typescript/lib/module/skia/types/MaskFilter.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/Matrix.d.ts +3 -0
- package/lib/typescript/lib/module/skia/types/Matrix4.d.ts +15 -0
- package/lib/typescript/lib/module/skia/types/NativeBuffer/NativeBufferFactory.d.ts +5 -0
- package/lib/typescript/lib/module/skia/types/NativeBuffer/index.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Paint/BlendMode.d.ts +28 -0
- package/lib/typescript/lib/module/skia/types/Paint/Paint.d.ts +4 -0
- package/lib/typescript/lib/module/skia/types/Paint/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/Paragraph/Paragraph.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Paragraph/ParagraphBuilder.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Paragraph/ParagraphStyle.d.ts +3 -0
- package/lib/typescript/lib/module/skia/types/Paragraph/TextStyle.d.ts +3 -0
- package/lib/typescript/lib/module/skia/types/Paragraph/TypefaceFontProvider.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Paragraph/TypefaceFontProviderFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Paragraph/index.d.ts +6 -0
- package/lib/typescript/lib/module/skia/types/Path/Path.d.ts +7 -0
- package/lib/typescript/lib/module/skia/types/Path/PathFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Path/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/PathEffect.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/Picture/Picture.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Picture/PictureFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Picture/PictureRecorder.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Picture/index.d.ts +3 -0
- package/lib/typescript/lib/module/skia/types/Point.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/RRect.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/RSXform.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Rect.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/RuntimeEffect/RuntimeEffect.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/RuntimeEffect/RuntimeEffectFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/RuntimeEffect/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/SVG/SVG.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/SVG/SVGFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/SVG/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/Shader/Shader.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/Shader/ShaderFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Shader/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/Size.d.ts +0 -0
- package/lib/typescript/lib/module/skia/types/Skia.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Surface/Surface.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Surface/SurfaceFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Surface/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/TextBlob.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Typeface/Typeface.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Typeface/TypefaceFactory.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Typeface/index.d.ts +2 -0
- package/lib/typescript/lib/module/skia/types/Vertices/Vertices.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Vertices/index.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Video/Video.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/Video/index.d.ts +1 -0
- package/lib/typescript/lib/module/skia/types/index.d.ts +30 -0
- package/lib/typescript/lib/module/skia/web/CanvasKitWebGLBufferImpl.d.ts +8 -0
- package/lib/typescript/lib/module/skia/web/Host.d.ts +17 -0
- package/lib/typescript/lib/module/skia/web/JsiSkAnimatedImage.d.ts +9 -0
- package/lib/typescript/lib/module/skia/web/JsiSkAnimatedImageFactory.d.ts +5 -0
- package/lib/typescript/lib/module/skia/web/JsiSkCanvas.d.ts +44 -0
- package/lib/typescript/lib/module/skia/web/JsiSkColor.d.ts +1 -0
- package/lib/typescript/lib/module/skia/web/JsiSkColorFilter.d.ts +4 -0
- package/lib/typescript/lib/module/skia/web/JsiSkColorFilterFactory.d.ts +11 -0
- package/lib/typescript/lib/module/skia/web/JsiSkContourMeasure.d.ts +10 -0
- package/lib/typescript/lib/module/skia/web/JsiSkContourMeasureIter.d.ts +6 -0
- package/lib/typescript/lib/module/skia/web/JsiSkData.d.ts +4 -0
- package/lib/typescript/lib/module/skia/web/JsiSkDataFactory.d.ts +15 -0
- package/lib/typescript/lib/module/skia/web/JsiSkFont.d.ts +32 -0
- package/lib/typescript/lib/module/skia/web/JsiSkFontMgr.d.ts +8 -0
- package/lib/typescript/lib/module/skia/web/JsiSkFontMgrFactory.d.ts +5 -0
- package/lib/typescript/lib/module/skia/web/JsiSkImage.d.ts +20 -0
- package/lib/typescript/lib/module/skia/web/JsiSkImageFactory.d.ts +8 -0
- package/lib/typescript/lib/module/skia/web/JsiSkImageFilter.d.ts +4 -0
- package/lib/typescript/lib/module/skia/web/JsiSkImageFilterFactory.d.ts +16 -0
- package/lib/typescript/lib/module/skia/web/JsiSkMaskFilter.d.ts +4 -0
- package/lib/typescript/lib/module/skia/web/JsiSkMaskFilterFactory.d.ts +5 -0
- package/lib/typescript/lib/module/skia/web/JsiSkMatrix.d.ts +17 -0
- package/lib/typescript/lib/module/skia/web/JsiSkNativeBufferFactory.d.ts +5 -0
- package/lib/typescript/lib/module/skia/web/JsiSkPaint.d.ts +27 -0
- package/lib/typescript/lib/module/skia/web/JsiSkParagraph.d.ts +16 -0
- package/lib/typescript/lib/module/skia/web/JsiSkParagraphBuilder.d.ts +13 -0
- package/lib/typescript/lib/module/skia/web/JsiSkParagraphBuilderFactory.d.ts +5 -0
- package/lib/typescript/lib/module/skia/web/JsiSkParagraphStyle.d.ts +3 -0
- package/lib/typescript/lib/module/skia/web/JsiSkPath.d.ts +55 -0
- package/lib/typescript/lib/module/skia/web/JsiSkPathEffect.d.ts +4 -0
- package/lib/typescript/lib/module/skia/web/JsiSkPathEffectFactory.d.ts +12 -0
- package/lib/typescript/lib/module/skia/web/JsiSkPathFactory.d.ts +9 -0
- package/lib/typescript/lib/module/skia/web/JsiSkPicture.d.ts +7 -0
- package/lib/typescript/lib/module/skia/web/JsiSkPictureFactory.d.ts +5 -0
- package/lib/typescript/lib/module/skia/web/JsiSkPictureRecorder.d.ts +8 -0
- package/lib/typescript/lib/module/skia/web/JsiSkPoint.d.ts +7 -0
- package/lib/typescript/lib/module/skia/web/JsiSkRRect.d.ts +9 -0
- package/lib/typescript/lib/module/skia/web/JsiSkRSXform.d.ts +10 -0
- package/lib/typescript/lib/module/skia/web/JsiSkRect.d.ts +10 -0
- package/lib/typescript/lib/module/skia/web/JsiSkRuntimeEffect.d.ts +12 -0
- package/lib/typescript/lib/module/skia/web/JsiSkRuntimeEffectFactory.d.ts +5 -0
- package/lib/typescript/lib/module/skia/web/JsiSkSVG.d.ts +6 -0
- package/lib/typescript/lib/module/skia/web/JsiSkSVGFactory.d.ts +6 -0
- package/lib/typescript/lib/module/skia/web/JsiSkShader.d.ts +4 -0
- package/lib/typescript/lib/module/skia/web/JsiSkShaderFactory.d.ts +12 -0
- package/lib/typescript/lib/module/skia/web/JsiSkSurface.d.ts +11 -0
- package/lib/typescript/lib/module/skia/web/JsiSkSurfaceFactory.d.ts +6 -0
- package/lib/typescript/lib/module/skia/web/JsiSkTextBlob.d.ts +4 -0
- package/lib/typescript/lib/module/skia/web/JsiSkTextBlobFactory.d.ts +8 -0
- package/lib/typescript/lib/module/skia/web/JsiSkTextStyle.d.ts +37 -0
- package/lib/typescript/lib/module/skia/web/JsiSkTypeface.d.ts +7 -0
- package/lib/typescript/lib/module/skia/web/JsiSkTypefaceFactory.d.ts +5 -0
- package/lib/typescript/lib/module/skia/web/JsiSkTypefaceFontProvider.d.ts +9 -0
- package/lib/typescript/lib/module/skia/web/JsiSkTypefaceFontProviderFactory.d.ts +5 -0
- package/lib/typescript/lib/module/skia/web/JsiSkVertices.d.ts +7 -0
- package/lib/typescript/lib/module/skia/web/JsiSkVerticesFactory.d.ts +2 -0
- package/lib/typescript/lib/module/skia/web/JsiSkia.d.ts +63 -0
- package/lib/typescript/lib/module/skia/web/JsiVideo.d.ts +22 -0
- package/lib/typescript/lib/module/skia/web/index.d.ts +1 -0
- package/lib/typescript/lib/module/specs/NativeSkiaModule.d.ts +2 -0
- package/lib/typescript/lib/module/specs/NativeSkiaModule.web.d.ts +0 -0
- package/lib/typescript/lib/module/specs/SkiaDomViewNativeComponent.d.ts +2 -0
- package/lib/typescript/lib/module/specs/SkiaPictureViewNativeComponent.d.ts +2 -0
- package/lib/typescript/lib/module/views/SkiaBaseWebView.d.ts +50 -0
- package/lib/typescript/lib/module/views/SkiaDomView.d.ts +24 -0
- package/lib/typescript/lib/module/views/SkiaDomView.web.d.ts +4 -0
- package/lib/typescript/lib/module/views/SkiaJSDomView.d.ts +23 -0
- package/lib/typescript/lib/module/views/SkiaJSDomView.web.d.ts +1 -0
- package/lib/typescript/lib/module/views/SkiaPictureView.d.ts +18 -0
- package/lib/typescript/lib/module/views/SkiaPictureView.web.d.ts +4 -0
- package/lib/typescript/lib/module/views/SkiaViewNativeId.d.ts +3 -0
- package/lib/typescript/lib/module/views/api.d.ts +1 -0
- package/lib/typescript/lib/module/views/index.d.ts +4 -0
- package/lib/typescript/lib/module/views/types.d.ts +1 -0
- package/lib/typescript/lib/module/views/useTouchHandler.d.ts +2 -0
- package/lib/typescript/lib/module/web/LoadSkiaWeb.d.ts +2 -0
- package/lib/typescript/lib/module/web/WithSkiaWeb.d.ts +6 -0
- package/lib/typescript/lib/module/web/index.d.ts +2 -0
- package/lib/typescript/src/Platform/IPlatform.d.ts +0 -1
- package/lib/typescript/src/__tests__/globalSetup.d.ts +9 -0
- package/lib/typescript/src/__tests__/globalTeardown.d.ts +2 -0
- package/lib/typescript/src/__tests__/setup.d.ts +18 -0
- package/lib/typescript/src/dom/__tests__/Compose.spec.d.ts +1 -0
- package/lib/typescript/src/dom/__tests__/Demos.spec.d.ts +1 -0
- package/lib/typescript/src/dom/__tests__/DrawingContext.spec.d.ts +1 -0
- package/lib/typescript/src/dom/__tests__/Drawings.spec.d.ts +1 -0
- package/lib/typescript/src/dom/__tests__/Group.spec.d.ts +1 -0
- package/lib/typescript/src/dom/__tests__/Paint.spec.d.ts +1 -0
- package/lib/typescript/src/dom/__tests__/RenderNodes.spec.d.ts +1 -0
- package/lib/typescript/src/dom/__tests__/Shaders.spec.d.ts +1 -0
- package/lib/typescript/src/external/reanimated/buffers.d.ts +4 -4
- package/lib/typescript/src/renderer/Canvas.d.ts +2 -2
- package/lib/typescript/src/renderer/Container.d.ts +1 -0
- package/lib/typescript/src/renderer/HostConfig.d.ts +0 -1
- package/lib/typescript/src/renderer/__tests__/Data.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/Drawings.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/FitBox.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/Glyphs.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/Image.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/Paths.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/Picture.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/Simple.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/SkiaDOM.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/Surfaces.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/Text.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/TouchHandler.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/Transform.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/documentation/Group.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/documentation/getting-started/HelloWorld.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/documentation/paint/Overview.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/documentation/shapes/Box.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/AnimatedImages.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Atlas.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/BackdropFilters.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Blending.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Blur.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Box.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/ColorFilters.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Composition/ColorFilterComposition.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/CoonPatch.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/DataEncoding.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Drawings.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/FontMgr.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Gradient.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Group.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Image.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/ImageEncoding.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/ImageFilters.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Mask.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Matrix4.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/NativeBuffer.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Offscreen.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Opacity.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Paint.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/ParagraphPaint.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Paragraphs.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/PathEffects.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Paths.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Picture.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Point.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Rect.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/RuntimeShader.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/SDF.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/SVG.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Shader.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Snapshot.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Surfaces.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Text.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/TextPath.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Transforms.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Vertices.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/Video.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/e2e/setup/Paragraph.d.ts +19 -0
- package/lib/typescript/src/renderer/__tests__/e2e/setup/SVG.d.ts +12 -0
- package/lib/typescript/src/renderer/__tests__/e2e/setup/SkiaObject.d.ts +11 -0
- package/lib/typescript/src/renderer/__tests__/e2e/setup/index.d.ts +3 -0
- package/lib/typescript/src/renderer/__tests__/examples/BlendModes.spec.d.ts +1 -0
- package/lib/typescript/src/renderer/__tests__/setup.d.ts +66 -0
- package/lib/typescript/src/skia/__tests__/ColorFilter.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/Data.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/Drawings.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/Enums.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/Geometry.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/ImageFilter.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/Mock.spec.d.ts +0 -0
- package/lib/typescript/src/skia/__tests__/Paint.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/Path.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/RuntimeEffect.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/Shader.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/Text.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/Transform.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/Vertices.spec.d.ts +1 -0
- package/lib/typescript/src/skia/__tests__/setup.d.ts +19 -0
- package/lib/typescript/src/skia/core/AnimatedImage.d.ts +1 -1
- package/lib/typescript/src/skia/core/Data.d.ts +3 -3
- package/lib/typescript/src/skia/core/Font.d.ts +1 -1
- package/lib/typescript/src/skia/core/Image.d.ts +2 -3
- package/lib/typescript/src/skia/core/Picture.d.ts +1 -1
- package/lib/typescript/src/skia/core/SVG.d.ts +1 -1
- package/lib/typescript/src/skia/core/SVG.web.d.ts +1 -1
- package/lib/typescript/src/skia/core/Typeface.d.ts +1 -1
- package/lib/typescript/src/skia/types/Data/Data.d.ts +1 -1
- package/lib/typescript/src/skia/types/Image/ImageFactory.d.ts +16 -16
- package/lib/typescript/src/skia/types/MaskFilter.d.ts +3 -3
- package/lib/typescript/src/skia/types/NativeBuffer/NativeBufferFactory.d.ts +3 -3
- package/lib/typescript/src/skia/types/Paint/BlendMode.d.ts +28 -28
- package/lib/typescript/src/skia/types/Path/Path.d.ts +4 -4
- package/lib/typescript/src/skia/web/JsiSkCanvas.d.ts +1 -1
- package/lib/typescript/src/skia/web/JsiSkNativeBufferFactory.d.ts +1 -1
- package/lib/typescript/src/skia/web/JsiSkParagraphStyle.d.ts +1 -1
- package/lib/typescript/src/specs/SkiaDomViewNativeComponent.d.ts +0 -1
- package/lib/typescript/src/specs/SkiaPictureViewNativeComponent.d.ts +0 -1
- package/lib/typescript/src/views/SkiaDomView.d.ts +0 -4
- package/libs/ios/libskia.xcframework/Info.plist +5 -5
- package/libs/ios/libskia.xcframework/ios-arm64_arm64e/libskia.a +0 -0
- package/libs/ios/libskia.xcframework/ios-arm64_arm64e_x86_64-simulator/libskia.a +0 -0
- package/libs/ios/libskottie.xcframework/Info.plist +5 -5
- package/libs/ios/libskottie.xcframework/ios-arm64_arm64e/libskottie.a +0 -0
- package/libs/ios/libskottie.xcframework/ios-arm64_arm64e_x86_64-simulator/libskottie.a +0 -0
- package/libs/ios/libskparagraph.xcframework/ios-arm64_arm64e/libskparagraph.a +0 -0
- package/libs/ios/libskparagraph.xcframework/ios-arm64_arm64e_x86_64-simulator/libskparagraph.a +0 -0
- package/libs/ios/libsksg.xcframework/Info.plist +5 -5
- package/libs/ios/libsksg.xcframework/ios-arm64_arm64e/libsksg.a +0 -0
- package/libs/ios/libsksg.xcframework/ios-arm64_arm64e_x86_64-simulator/libsksg.a +0 -0
- package/libs/ios/libskshaper.xcframework/ios-arm64_arm64e/libskshaper.a +0 -0
- package/libs/ios/libskshaper.xcframework/ios-arm64_arm64e_x86_64-simulator/libskshaper.a +0 -0
- package/libs/ios/libskunicode.xcframework/Info.plist +5 -5
- package/libs/ios/libskunicode.xcframework/ios-arm64_arm64e/libskunicode.a +0 -0
- package/libs/ios/libskunicode.xcframework/ios-arm64_arm64e_x86_64-simulator/libskunicode.a +0 -0
- package/libs/ios/libsvg.xcframework/Info.plist +5 -5
- package/libs/ios/libsvg.xcframework/ios-arm64_arm64e/libsvg.a +0 -0
- package/libs/ios/libsvg.xcframework/ios-arm64_arm64e_x86_64-simulator/libsvg.a +0 -0
- package/package.json +52 -32
- package/scripts/setup-canvaskit.js +0 -0
- package/src/Platform/Platform.web.tsx +4 -0
- package/src/__tests__/globalSetup.ts +51 -0
- package/src/__tests__/globalTeardown.ts +11 -0
- package/src/__tests__/setup.ts +129 -0
- package/src/__tests__/snapshots/animated-images/bird.png +0 -0
- package/src/__tests__/snapshots/animations/green.png +0 -0
- package/src/__tests__/snapshots/animations/lightblue.png +0 -0
- package/src/__tests__/snapshots/animations/quarter-lightblue.png +0 -0
- package/src/__tests__/snapshots/animations/red.png +0 -0
- package/src/__tests__/snapshots/atlas/identity.png +0 -0
- package/src/__tests__/snapshots/atlas/rsxform.png +0 -0
- package/src/__tests__/snapshots/atlas/rsxform1.png +0 -0
- package/src/__tests__/snapshots/atlas/simple.png +0 -0
- package/src/__tests__/snapshots/atlas/simple2.png +0 -0
- package/src/__tests__/snapshots/box/box-shadow.png +0 -0
- package/src/__tests__/snapshots/box/box-shadow2.png +0 -0
- package/src/__tests__/snapshots/box/box-shadow3.png +0 -0
- package/src/__tests__/snapshots/box/box-stroke.png +0 -0
- package/src/__tests__/snapshots/color-filter/color-filter-composition.png +0 -0
- package/src/__tests__/snapshots/color-filter/matrix1.png +0 -0
- package/src/__tests__/snapshots/color-filter/matrix3.png +0 -0
- package/src/__tests__/snapshots/color-filter/zurich-sepia.png +0 -0
- package/src/__tests__/snapshots/coons-patch/patch-with-opacity.png +0 -0
- package/src/__tests__/snapshots/coons-patch/simple.png +0 -0
- package/src/__tests__/snapshots/cyan-buffer.png +0 -0
- package/src/__tests__/snapshots/data/oslo.png +0 -0
- package/src/__tests__/snapshots/data/red.png +0 -0
- package/src/__tests__/snapshots/data/zurich.png +0 -0
- package/src/__tests__/snapshots/demos/apple-breathe.png +0 -0
- package/src/__tests__/snapshots/demos/apple-breathe1.png +0 -0
- package/src/__tests__/snapshots/demos/breathe.png +0 -0
- package/src/__tests__/snapshots/demos/breathe2.png +0 -0
- package/src/__tests__/snapshots/demos/product.png +0 -0
- package/src/__tests__/snapshots/demos/product2.png +0 -0
- package/src/__tests__/snapshots/demos/skia-neon.png +0 -0
- package/src/__tests__/snapshots/demos/skia-neon1.png +0 -0
- package/src/__tests__/snapshots/drawings/arc.png +0 -0
- package/src/__tests__/snapshots/drawings/blend-mode-multiply.png +0 -0
- package/src/__tests__/snapshots/drawings/blend-modes.png +0 -0
- package/src/__tests__/snapshots/drawings/blur-node.png +0 -0
- package/src/__tests__/snapshots/drawings/blur.png +0 -0
- package/src/__tests__/snapshots/drawings/blur2.png +0 -0
- package/src/__tests__/snapshots/drawings/custom-drawing.png +0 -0
- package/src/__tests__/snapshots/drawings/cyan-circle.png +0 -0
- package/src/__tests__/snapshots/drawings/cyan.png +0 -0
- package/src/__tests__/snapshots/drawings/default-props.png +0 -0
- package/src/__tests__/snapshots/drawings/hello-world.png +0 -0
- package/src/__tests__/snapshots/drawings/image-default-props.png +0 -0
- package/src/__tests__/snapshots/drawings/lightblue-quarter-circle.png +0 -0
- package/src/__tests__/snapshots/drawings/lightblue-rect.png +0 -0
- package/src/__tests__/snapshots/drawings/line.png +0 -0
- package/src/__tests__/snapshots/drawings/multiple-paints.png +0 -0
- package/src/__tests__/snapshots/drawings/nested-shader.png +0 -0
- package/src/__tests__/snapshots/drawings/nested-shader2.png +0 -0
- package/src/__tests__/snapshots/drawings/opacity-image.png +0 -0
- package/src/__tests__/snapshots/drawings/opacity-multiplication.png +0 -0
- package/src/__tests__/snapshots/drawings/opacity-multiplication2.png +0 -0
- package/src/__tests__/snapshots/drawings/points.png +0 -0
- package/src/__tests__/snapshots/drawings/purple.png +0 -0
- package/src/__tests__/snapshots/drawings/rotated-image.png +0 -0
- package/src/__tests__/snapshots/drawings/rotated-scaled-image.png +0 -0
- package/src/__tests__/snapshots/drawings/rrect-aa.png +0 -0
- package/src/__tests__/snapshots/drawings/rrect-no-aa.png +0 -0
- package/src/__tests__/snapshots/drawings/scaled-image.png +0 -0
- package/src/__tests__/snapshots/drawings/scaled-image2.png +0 -0
- package/src/__tests__/snapshots/drawings/shader-opacity-reference.png +0 -0
- package/src/__tests__/snapshots/drawings/skew-transform.png +0 -0
- package/src/__tests__/snapshots/drawings/skew-transform2.png +0 -0
- package/src/__tests__/snapshots/drawings/small-lightblue-rect.png +0 -0
- package/src/__tests__/snapshots/drawings/stroke.png +0 -0
- package/src/__tests__/snapshots/drawings/transform-origin.png +0 -0
- package/src/__tests__/snapshots/drawings/transparent.png +0 -0
- package/src/__tests__/snapshots/drawings/violet.png +0 -0
- package/src/__tests__/snapshots/font/green.png +0 -0
- package/src/__tests__/snapshots/font/red.png +0 -0
- package/src/__tests__/snapshots/glyphs/simple.png +0 -0
- package/src/__tests__/snapshots/gradient/linear-with-opacity.png +0 -0
- package/src/__tests__/snapshots/gradient/linear.png +0 -0
- package/src/__tests__/snapshots/green.png +0 -0
- package/src/__tests__/snapshots/image-filter/blur.png +0 -0
- package/src/__tests__/snapshots/image-filter/test-shadow.png +0 -0
- package/src/__tests__/snapshots/images/bundle-android.png +0 -0
- package/src/__tests__/snapshots/images/bundle-ios.png +0 -0
- package/src/__tests__/snapshots/images/bundle-node.png +0 -0
- package/src/__tests__/snapshots/images/bundle.png +0 -0
- package/src/__tests__/snapshots/images/filter.png +0 -0
- package/src/__tests__/snapshots/leak.png +0 -0
- package/src/__tests__/snapshots/matrix4/perspective.png +0 -0
- package/src/__tests__/snapshots/paint/blend-mode.png +0 -0
- package/src/__tests__/snapshots/paint/circle.png +0 -0
- package/src/__tests__/snapshots/paint/colors.png +0 -0
- package/src/__tests__/snapshots/paint/dither.png +0 -0
- package/src/__tests__/snapshots/paint/path-paint.png +0 -0
- package/src/__tests__/snapshots/paint/without-dither.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-auto-linebreaks-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-auto-linebreaks-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-bounding-box-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-bounding-box-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-bounding-box-node.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-ellipse-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-ellipse-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-linebreaks-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-linebreaks-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-align-center-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-align-center-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-align-justify-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-align-justify-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-align-left-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-align-left-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-align-right-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-align-right-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-align-rtl-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-align-rtl-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-colors-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-colors-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-decoration-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-decoration-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-font-shadow-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-font-shadow-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-font-style-android-box.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-font-style-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-font-style-ios-box.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-font-style-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-in-paragraph-style-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/paragraph-text-style-in-paragraph-style-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/simple-paragraph-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/simple-paragraph-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/simple-paragraph-with-provider-android.png +0 -0
- package/src/__tests__/snapshots/paragraph/simple-paragraph-with-provider-ios.png +0 -0
- package/src/__tests__/snapshots/paragraph/simple-paragraph-with-provider-node.png +0 -0
- package/src/__tests__/snapshots/path/interpolate.png +0 -0
- package/src/__tests__/snapshots/path/logo.png +0 -0
- package/src/__tests__/snapshots/path-effects/discrete.png +0 -0
- package/src/__tests__/snapshots/path-effects/sum.png +0 -0
- package/src/__tests__/snapshots/path-effects/sum2.png +0 -0
- package/src/__tests__/snapshots/paths/arc.png +0 -0
- package/src/__tests__/snapshots/paths/emptyPath.png +0 -0
- package/src/__tests__/snapshots/paths/interpolation1.png +0 -0
- package/src/__tests__/snapshots/paths/oval.png +0 -0
- package/src/__tests__/snapshots/paths/pattern.png +0 -0
- package/src/__tests__/snapshots/paths/poly.png +0 -0
- package/src/__tests__/snapshots/paths/rrect.png +0 -0
- package/src/__tests__/snapshots/paths/skia-trimmed.png +0 -0
- package/src/__tests__/snapshots/paths/skia.png +0 -0
- package/src/__tests__/snapshots/pictures/create-picture.png +0 -0
- package/src/__tests__/snapshots/pictures/green.png +0 -0
- package/src/__tests__/snapshots/pictures/hello-world.png +0 -0
- package/src/__tests__/snapshots/pictures/red.png +0 -0
- package/src/__tests__/snapshots/pictures/simple-picture.png +0 -0
- package/src/__tests__/snapshots/platform-buffer-bgra.png +0 -0
- package/src/__tests__/snapshots/platform-buffer.png +0 -0
- package/src/__tests__/snapshots/points/points.png +0 -0
- package/src/__tests__/snapshots/points/points2.png +0 -0
- package/src/__tests__/snapshots/render-nodes/simple.png +0 -0
- package/src/__tests__/snapshots/render-nodes/simple2.png +0 -0
- package/src/__tests__/snapshots/runtime-effects/blend-color-burn.png +0 -0
- package/src/__tests__/snapshots/runtime-effects/blend-color-burn2.png +0 -0
- package/src/__tests__/snapshots/runtime-effects/blend-color-burn3.png +0 -0
- package/src/__tests__/snapshots/runtime-effects/blend-color-dodge.png +0 -0
- package/src/__tests__/snapshots/runtime-effects/blend-multiply.png +0 -0
- package/src/__tests__/snapshots/runtime-effects/int-uniform.png +0 -0
- package/src/__tests__/snapshots/runtime-effects/linear-gradient.png +0 -0
- package/src/__tests__/snapshots/runtime-effects/linear-gradient2.png +0 -0
- package/src/__tests__/snapshots/runtime-effects/small-spiral.png +0 -0
- package/src/__tests__/snapshots/runtime-effects/spiral.png +0 -0
- package/src/__tests__/snapshots/runtime-shader/scaled-circle.png +0 -0
- package/src/__tests__/snapshots/runtime-shader/scaled-circle2.png +0 -0
- package/src/__tests__/snapshots/runtime-shader/simple.png +0 -0
- package/src/__tests__/snapshots/runtime-shader/spiral.png +0 -0
- package/src/__tests__/snapshots/runtime-shader/unscaled-image.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot1-android-ci.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot1-android.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot1-ios.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot2-android-ci.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot2-android.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot2-ios.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot3-android-ci.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot3-android.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot3-ios.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot4-android-ci.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot4-android.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot4-ios.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot5-android.png +0 -0
- package/src/__tests__/snapshots/screens/snapshot5-ios.png +0 -0
- package/src/__tests__/snapshots/sdf/circle.png +0 -0
- package/src/__tests__/snapshots/sdf/heart.png +0 -0
- package/src/__tests__/snapshots/sdf/line.png +0 -0
- package/src/__tests__/snapshots/sdf/rectangle.png +0 -0
- package/src/__tests__/snapshots/shader/bilinear-interpolation.png +0 -0
- package/src/__tests__/snapshots/shader/hue.png +0 -0
- package/src/__tests__/snapshots/shader/hue2.png +0 -0
- package/src/__tests__/snapshots/shader/shader1.png +0 -0
- package/src/__tests__/snapshots/shader/shader2.png +0 -0
- package/src/__tests__/snapshots/shader/sweep-gradient.png +0 -0
- package/src/__tests__/snapshots/text/text-bounds-android.png +0 -0
- package/src/__tests__/snapshots/text/text-bounds-ios.png +0 -0
- package/src/__tests__/snapshots/text/text-default-font-android.png +0 -0
- package/src/__tests__/snapshots/text/text-default-font-ios.png +0 -0
- package/src/__tests__/snapshots/text/text-path-bug-android.png +0 -0
- package/src/__tests__/snapshots/text/text-path-bug-ios.png +0 -0
- package/src/__tests__/snapshots/text/text-path-bug-node.png +0 -0
- package/src/__tests__/snapshots/text/text-path1-android.png +0 -0
- package/src/__tests__/snapshots/text/text-path1-ios.png +0 -0
- package/src/__tests__/snapshots/text/text-path1-node.png +0 -0
- package/src/__tests__/snapshots/text/text-path2-android.png +0 -0
- package/src/__tests__/snapshots/text/text-path2-ios.png +0 -0
- package/src/__tests__/snapshots/text/text-path2-node.png +0 -0
- package/src/__tests__/snapshots/transform/rectangles.png +0 -0
- package/src/__tests__/snapshots/transform/rotate-radiants.png +0 -0
- package/src/__tests__/snapshots/transform/rotate.png +0 -0
- package/src/__tests__/snapshots/transform/scale-origin.png +0 -0
- package/src/__tests__/snapshots/transform/scale.png +0 -0
- package/src/__tests__/snapshots/transform/skew.png +0 -0
- package/src/__tests__/snapshots/transparent.png +0 -0
- package/src/__tests__/snapshots/vertices/billinear-gradient.png +0 -0
- package/src/__tests__/snapshots/vertices/strip.png +0 -0
- package/src/__tests__/snapshots/vertices/vertices.png +0 -0
- package/src/dom/__tests__/Compose.spec.tsx +42 -0
- package/src/dom/__tests__/Demos.spec.tsx +145 -0
- package/src/dom/__tests__/DrawingContext.spec.tsx +99 -0
- package/src/dom/__tests__/Drawings.spec.tsx +95 -0
- package/src/dom/__tests__/Group.spec.tsx +132 -0
- package/src/dom/__tests__/Paint.spec.tsx +100 -0
- package/src/dom/__tests__/RenderNodes.spec.tsx +44 -0
- package/src/dom/__tests__/Shaders.spec.tsx +123 -0
- package/src/external/reanimated/buffers.ts +1 -1
- package/src/mock/index.ts +4 -0
- package/src/renderer/Container.tsx +1 -0
- package/src/renderer/HostConfig.ts +7 -3
- package/src/renderer/Reconciler.tsx +1 -0
- package/src/renderer/__tests__/Data.spec.tsx +67 -0
- package/src/renderer/__tests__/Drawings.spec.tsx +96 -0
- package/src/renderer/__tests__/FitBox.spec.tsx +126 -0
- package/src/renderer/__tests__/Glyphs.spec.tsx +46 -0
- package/src/renderer/__tests__/Image.spec.tsx +45 -0
- package/src/renderer/__tests__/Paths.spec.tsx +75 -0
- package/src/renderer/__tests__/Picture.spec.tsx +82 -0
- package/src/renderer/__tests__/Simple.spec.tsx +81 -0
- package/src/renderer/__tests__/SkiaDOM.spec.tsx +46 -0
- package/src/renderer/__tests__/Surfaces.spec.tsx +73 -0
- package/src/renderer/__tests__/Text.spec.tsx +134 -0
- package/src/renderer/__tests__/TouchHandler.spec.tsx +113 -0
- package/src/renderer/__tests__/Transform.spec.tsx +72 -0
- package/src/renderer/__tests__/documentation/Group.spec.tsx +171 -0
- package/src/renderer/__tests__/documentation/getting-started/HelloWorld.spec.tsx +51 -0
- package/src/renderer/__tests__/documentation/paint/Overview.spec.tsx +84 -0
- package/src/renderer/__tests__/documentation/shapes/Box.spec.tsx +46 -0
- package/src/renderer/__tests__/e2e/AnimatedImages.spec.tsx +88 -0
- package/src/renderer/__tests__/e2e/Atlas.spec.tsx +358 -0
- package/src/renderer/__tests__/e2e/BackdropFilters.spec.tsx +141 -0
- package/src/renderer/__tests__/e2e/Blending.spec.tsx +115 -0
- package/src/renderer/__tests__/e2e/Blur.spec.tsx +56 -0
- package/src/renderer/__tests__/e2e/Box.spec.tsx +83 -0
- package/src/renderer/__tests__/e2e/ColorFilters.spec.tsx +212 -0
- package/src/renderer/__tests__/e2e/Composition/ColorFilterComposition.spec.tsx +81 -0
- package/src/renderer/__tests__/e2e/CoonPatch.spec.tsx +74 -0
- package/src/renderer/__tests__/e2e/DataEncoding.spec.tsx +75 -0
- package/src/renderer/__tests__/e2e/Drawings.spec.tsx +209 -0
- package/src/renderer/__tests__/e2e/FontMgr.spec.tsx +150 -0
- package/src/renderer/__tests__/e2e/Gradient.spec.tsx +40 -0
- package/src/renderer/__tests__/e2e/Group.spec.tsx +129 -0
- package/src/renderer/__tests__/e2e/Image.spec.tsx +139 -0
- package/src/renderer/__tests__/e2e/ImageEncoding.spec.tsx +255 -0
- package/src/renderer/__tests__/e2e/ImageFilters.spec.tsx +230 -0
- package/src/renderer/__tests__/e2e/Mask.spec.tsx +85 -0
- package/src/renderer/__tests__/e2e/Matrix4.spec.tsx +275 -0
- package/src/renderer/__tests__/e2e/NativeBuffer.spec.tsx +156 -0
- package/src/renderer/__tests__/e2e/Offscreen.spec.tsx +109 -0
- package/src/renderer/__tests__/e2e/Opacity.spec.tsx +278 -0
- package/src/renderer/__tests__/e2e/Paint.spec.tsx +170 -0
- package/src/renderer/__tests__/e2e/ParagraphPaint.spec.tsx +262 -0
- package/src/renderer/__tests__/e2e/Paragraphs.spec.tsx +615 -0
- package/src/renderer/__tests__/e2e/PathEffects.spec.tsx +73 -0
- package/src/renderer/__tests__/e2e/Paths.spec.tsx +390 -0
- package/src/renderer/__tests__/e2e/Picture.spec.tsx +134 -0
- package/src/renderer/__tests__/e2e/Point.spec.tsx +35 -0
- package/src/renderer/__tests__/e2e/Rect.spec.tsx +139 -0
- package/src/renderer/__tests__/e2e/RuntimeShader.spec.tsx +324 -0
- package/src/renderer/__tests__/e2e/SDF.spec.tsx +148 -0
- package/src/renderer/__tests__/e2e/SVG.spec.tsx +191 -0
- package/src/renderer/__tests__/e2e/Shader.spec.tsx +260 -0
- package/src/renderer/__tests__/e2e/Snapshot.spec.tsx +29 -0
- package/src/renderer/__tests__/e2e/Surfaces.spec.tsx +17 -0
- package/src/renderer/__tests__/e2e/Text.spec.tsx +109 -0
- package/src/renderer/__tests__/e2e/TextPath.spec.tsx +45 -0
- package/src/renderer/__tests__/e2e/Transforms.spec.tsx +63 -0
- package/src/renderer/__tests__/e2e/Vertices.spec.tsx +30 -0
- package/src/renderer/__tests__/e2e/Video.ts +69 -0
- package/src/renderer/__tests__/e2e/setup/Paragraph.ts +56 -0
- package/src/renderer/__tests__/e2e/setup/SVG.ts +27 -0
- package/src/renderer/__tests__/e2e/setup/SkiaObject.ts +31 -0
- package/src/renderer/__tests__/e2e/setup/index.ts +3 -0
- package/src/renderer/__tests__/examples/BlendModes.spec.tsx +123 -0
- package/src/renderer/__tests__/setup.tsx +489 -0
- package/src/skia/__tests__/ColorFilter.spec.ts +67 -0
- package/src/skia/__tests__/Data.spec.ts +29 -0
- package/src/skia/__tests__/Drawings.spec.ts +119 -0
- package/src/skia/__tests__/Enums.spec.ts +114 -0
- package/src/skia/__tests__/Geometry.spec.ts +39 -0
- package/src/skia/__tests__/ImageFilter.spec.ts +19 -0
- package/src/skia/__tests__/Mock.spec.ts +7 -0
- package/src/skia/__tests__/Paint.spec.ts +25 -0
- package/src/skia/__tests__/Path.spec.ts +386 -0
- package/src/skia/__tests__/RuntimeEffect.spec.ts +66 -0
- package/src/skia/__tests__/Shader.spec.ts +96 -0
- package/src/skia/__tests__/Text.spec.ts +32 -0
- package/src/skia/__tests__/Transform.spec.ts +89 -0
- package/src/skia/__tests__/Vertices.spec.ts +40 -0
- package/src/skia/__tests__/assets/DIN-Medium.ttf +0 -0
- package/src/skia/__tests__/assets/NotoColorEmoji.ttf +0 -0
- package/src/skia/__tests__/assets/NotoSansSC-Regular.otf +0 -0
- package/src/skia/__tests__/assets/Pacifico-Regular.ttf +0 -0
- package/src/skia/__tests__/assets/Roboto-BlackItalic.ttf +0 -0
- package/src/skia/__tests__/assets/Roboto-Bold.ttf +0 -0
- package/src/skia/__tests__/assets/Roboto-Italic.ttf +0 -0
- package/src/skia/__tests__/assets/Roboto-Medium.ttf +0 -0
- package/src/skia/__tests__/assets/Roboto-Regular.ttf +0 -0
- package/src/skia/__tests__/assets/UberMove-Medium_mono.ttf +0 -0
- package/src/skia/__tests__/assets/bird.gif +0 -0
- package/src/skia/__tests__/assets/box.png +0 -0
- package/src/skia/__tests__/assets/box2.png +0 -0
- package/src/skia/__tests__/assets/card.png +0 -0
- package/src/skia/__tests__/assets/mask.png +0 -0
- package/src/skia/__tests__/assets/oslo.jpg +0 -0
- package/src/skia/__tests__/assets/product.png +0 -0
- package/src/skia/__tests__/assets/skia_logo.png +0 -0
- package/src/skia/__tests__/assets/skia_logo_jpeg.jpg +0 -0
- package/src/skia/__tests__/assets/tiger.svg +724 -0
- package/src/skia/__tests__/assets/zurich.jpg +0 -0
- package/src/skia/__tests__/setup.ts +77 -0
- package/src/skia/core/Picture.ts +2 -1
- package/src/skia/types/Matrix4.ts +2 -7
- package/src/skia/web/JsiSkCanvas.ts +26 -26
- package/src/skia/web/JsiSkNativeBufferFactory.ts +1 -5
- package/src/skia/web/JsiSkParagraphStyle.ts +2 -1
- package/src/views/SkiaDomView.tsx +0 -8
@@ -1,4 +1,4 @@
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
2
2
|
import React from "react";
|
3
3
|
export const Shader = ({
|
4
4
|
uniforms = {},
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","Shader","uniforms","props","createElement","_extends"],"sources":["Shader.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SkiaDefaultProps } from \"../../processors\";\nimport type { ShaderProps } from \"../../../dom/types\";\n\nexport const Shader = ({\n uniforms = {},\n ...props\n}: SkiaDefaultProps<ShaderProps, \"uniforms\">) => {\n return <skShader uniforms={uniforms} {...props} />;\n};\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,MAAM,GAAGA,CAAC;EACrBC,QAAQ,GAAG,CAAC,CAAC;EACb,GAAGC;AACsC,CAAC,KAAK;EAC/C,oBAAOH,KAAA,CAAAI,aAAA,aAAAC,QAAA;IAAUH,QAAQ,EAAEA;EAAS,GAAKC,KAAK,CAAG,CAAC;AACpD,CAAC"}
|
1
|
+
{"version":3,"names":["React","Shader","uniforms","props","createElement","_extends"],"sources":["Shader.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SkiaDefaultProps } from \"../../processors\";\nimport type { ShaderProps } from \"../../../dom/types\";\n\nexport const Shader = ({\n uniforms = {},\n ...props\n}: SkiaDefaultProps<ShaderProps, \"uniforms\">) => {\n return <skShader uniforms={uniforms} {...props} />;\n};\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,MAAM,GAAGA,CAAC;EACrBC,QAAQ,GAAG,CAAC,CAAC;EACb,GAAGC;AACsC,CAAC,KAAK;EAC/C,oBAAOH,KAAA,CAAAI,aAAA,aAAAC,QAAA;IAAUH,QAAQ,EAAEA;EAAS,GAAKC,KAAK,CAAG,CAAC;AACpD,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["MATH","COLORS","ShaderLib","Math","Colors"],"sources":["ShaderLib.ts"],"sourcesContent":["const MATH = `\nconst float PI = 3.1415926535897932384626433832795;\nconst float TAU = 2 * PI;\n\nfloat normalizeRad(float value) {\n float rest = mod(value, TAU);\n return rest > 0 ? rest : TAU + rest;\n}\n\nvec2 canvas2Cartesian(vec2 v, vec2 center) {\n return vec2(v.x - center.x, -1 * (v.y - center.y));\n}\n\nvec2 cartesian2Canvas(vec2 v, vec2 center) {\n return vec2(v.x + center.x, -1 * v.y + center.y);\n}\n\nvec2 cartesian2Polar(vec2 v) {\n return vec2(atan(v.y, v.x), sqrt(v.x * v.x + v.y * v.y));\n}\n\nvec2 polar2Cartesian(vec2 p) {\n return vec2(p.y * cos(p.x), p.y * sin(p.x));\n}\n\nvec2 polar2Canvas(vec2 p, vec2 center) {\n return cartesian2Canvas(polar2Cartesian(p), center);\n}\n\nvec2 canvas2Polar(vec2 v, vec2 center) {\n return cartesian2Polar(canvas2Cartesian(v, center));\n}\n`;\n\nconst COLORS = `\nvec4 hsv2rgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return vec4(c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y), 1.0);\n}\n`;\n\nexport const ShaderLib = {\n Math: MATH,\n Colors: COLORS,\n};\n"],"mappings":"AAAA,MAAMA,IAAI,
|
1
|
+
{"version":3,"names":["MATH","COLORS","ShaderLib","Math","Colors"],"sources":["ShaderLib.ts"],"sourcesContent":["const MATH = `\nconst float PI = 3.1415926535897932384626433832795;\nconst float TAU = 2 * PI;\n\nfloat normalizeRad(float value) {\n float rest = mod(value, TAU);\n return rest > 0 ? rest : TAU + rest;\n}\n\nvec2 canvas2Cartesian(vec2 v, vec2 center) {\n return vec2(v.x - center.x, -1 * (v.y - center.y));\n}\n\nvec2 cartesian2Canvas(vec2 v, vec2 center) {\n return vec2(v.x + center.x, -1 * v.y + center.y);\n}\n\nvec2 cartesian2Polar(vec2 v) {\n return vec2(atan(v.y, v.x), sqrt(v.x * v.x + v.y * v.y));\n}\n\nvec2 polar2Cartesian(vec2 p) {\n return vec2(p.y * cos(p.x), p.y * sin(p.x));\n}\n\nvec2 polar2Canvas(vec2 p, vec2 center) {\n return cartesian2Canvas(polar2Cartesian(p), center);\n}\n\nvec2 canvas2Polar(vec2 v, vec2 center) {\n return cartesian2Polar(canvas2Cartesian(v, center));\n}\n`;\n\nconst COLORS = `\nvec4 hsv2rgb(vec3 c) {\n vec4 K = vec4(1.0, 2.0 / 3.0, 1.0 / 3.0, 3.0);\n vec3 p = abs(fract(c.xxx + K.xyz) * 6.0 - K.www);\n return vec4(c.z * mix(K.xxx, clamp(p - K.xxx, 0.0, 1.0), c.y), 1.0);\n}\n`;\n\nexport const ShaderLib = {\n Math: MATH,\n Colors: COLORS,\n};\n"],"mappings":"AAAA,MAAMA,IAAI,GAAG;AACb;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;AAED,MAAMC,MAAM,GAAG;AACf;AACA;AACA;AACA;AACA;AACA,CAAC;AAED,OAAO,MAAMC,SAAS,GAAG;EACvBC,IAAI,EAAEH,IAAI;EACVI,MAAM,EAAEH;AACV,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","SweepGradient","props","createElement"],"sources":["SweepGradient.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SweepGradientProps } from \"../../../dom/types\";\nimport type { SkiaProps } from \"../../processors\";\n\nexport const SweepGradient = (props: SkiaProps<SweepGradientProps>) => {\n return <skSweepGradient {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,aAAa,GAAIC,KAAoC,IAAK;EACrE,oBAAOF,KAAA,CAAAG,aAAA,oBAAqBD,KAAQ,CAAC;AACvC,CAAC"}
|
1
|
+
{"version":3,"names":["React","SweepGradient","props","createElement"],"sources":["SweepGradient.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SweepGradientProps } from \"../../../dom/types\";\nimport type { SkiaProps } from \"../../processors\";\n\nexport const SweepGradient = (props: SkiaProps<SweepGradientProps>) => {\n return <skSweepGradient {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,aAAa,GAAIC,KAAoC,IAAK;EACrE,oBAAOF,KAAA,CAAAG,aAAA,oBAAqBD,KAAQ,CAAC;AACvC,CAAC","ignoreList":[]}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
2
2
|
import React from "react";
|
3
3
|
export const Turbulence = ({
|
4
4
|
seed = 0,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","Turbulence","seed","tileWidth","tileHeight","props","createElement","_extends"],"sources":["Turbulence.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { TurbulenceProps } from \"../../../dom/types\";\nimport type { SkiaDefaultProps } from \"../../processors/Animations/Animations\";\n\nexport const Turbulence = ({\n seed = 0,\n tileWidth = 0,\n tileHeight = 0,\n ...props\n}: SkiaDefaultProps<TurbulenceProps, \"seed\" | \"tileWidth\" | \"tileHeight\">) => {\n return (\n <skTurbulence\n seed={seed}\n tileWidth={tileWidth}\n tileHeight={tileHeight}\n {...props}\n />\n );\n};\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,UAAU,GAAGA,CAAC;EACzBC,IAAI,GAAG,CAAC;EACRC,SAAS,GAAG,CAAC;EACbC,UAAU,GAAG,CAAC;EACd,GAAGC;AACmE,CAAC,KAAK;EAC5E,oBACEL,KAAA,CAAAM,aAAA,iBAAAC,QAAA;IACEL,IAAI,EAAEA,IAAK;IACXC,SAAS,EAAEA,SAAU;IACrBC,UAAU,EAAEA;EAAW,GACnBC,KAAK,CACV,CAAC;AAEN,CAAC"}
|
1
|
+
{"version":3,"names":["React","Turbulence","seed","tileWidth","tileHeight","props","createElement","_extends"],"sources":["Turbulence.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { TurbulenceProps } from \"../../../dom/types\";\nimport type { SkiaDefaultProps } from \"../../processors/Animations/Animations\";\n\nexport const Turbulence = ({\n seed = 0,\n tileWidth = 0,\n tileHeight = 0,\n ...props\n}: SkiaDefaultProps<TurbulenceProps, \"seed\" | \"tileWidth\" | \"tileHeight\">) => {\n return (\n <skTurbulence\n seed={seed}\n tileWidth={tileWidth}\n tileHeight={tileHeight}\n {...props}\n />\n );\n};\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,UAAU,GAAGA,CAAC;EACzBC,IAAI,GAAG,CAAC;EACRC,SAAS,GAAG,CAAC;EACbC,UAAU,GAAG,CAAC;EACd,GAAGC;AACmE,CAAC,KAAK;EAC5E,oBACEL,KAAA,CAAAM,aAAA,iBAAAC,QAAA;IACEL,IAAI,EAAEA,IAAK;IACXC,SAAS,EAAEA,SAAU;IACrBC,UAAU,EAAEA;EAAW,GACnBC,KAAK,CACV,CAAC;AAEN,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","TwoPointConicalGradient","props","createElement"],"sources":["TwoPointConicalGradient.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { TwoPointConicalGradientProps } from \"../../../dom/types\";\nimport type { SkiaProps } from \"../../processors\";\n\nexport const TwoPointConicalGradient = (\n props: SkiaProps<TwoPointConicalGradientProps>\n) => {\n return <skTwoPointConicalGradient {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,uBAAuB,GAClCC,KAA8C,IAC3C;EACH,oBAAOF,KAAA,CAAAG,aAAA,8BAA+BD,KAAQ,CAAC;AACjD,CAAC"}
|
1
|
+
{"version":3,"names":["React","TwoPointConicalGradient","props","createElement"],"sources":["TwoPointConicalGradient.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { TwoPointConicalGradientProps } from \"../../../dom/types\";\nimport type { SkiaProps } from \"../../processors\";\n\nexport const TwoPointConicalGradient = (\n props: SkiaProps<TwoPointConicalGradientProps>\n) => {\n return <skTwoPointConicalGradient {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,uBAAuB,GAClCC,KAA8C,IAC3C;EACH,oBAAOF,KAAA,CAAAG,aAAA,8BAA+BD,KAAQ,CAAC;AACjD,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./RadialGradient\";\nexport * from \"./LinearGradient\";\nexport * from \"./TwoPointConicalGradient\";\nexport * from \"./SweepGradient\";\nexport * from \"./Color\";\nexport * from \"./Turbulence\";\nexport * from \"./FractalNoise\";\nexport * from \"./Shader\";\nexport * from \"./ShaderLib\";\n"],"mappings":"AAAA,cAAc,kBAAkB;AAChC,cAAc,kBAAkB;AAChC,cAAc,2BAA2B;AACzC,cAAc,iBAAiB;AAC/B,cAAc,SAAS;AACvB,cAAc,cAAc;AAC5B,cAAc,gBAAgB;AAC9B,cAAc,UAAU;AACxB,cAAc,aAAa"}
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./RadialGradient\";\nexport * from \"./LinearGradient\";\nexport * from \"./TwoPointConicalGradient\";\nexport * from \"./SweepGradient\";\nexport * from \"./Color\";\nexport * from \"./Turbulence\";\nexport * from \"./FractalNoise\";\nexport * from \"./Shader\";\nexport * from \"./ShaderLib\";\n"],"mappings":"AAAA,cAAc,kBAAkB;AAChC,cAAc,kBAAkB;AAChC,cAAc,2BAA2B;AACzC,cAAc,iBAAiB;AAC/B,cAAc,SAAS;AACvB,cAAc,cAAc;AAC5B,cAAc,gBAAgB;AAC9B,cAAc,UAAU;AACxB,cAAc,aAAa","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","Atlas","props","createElement"],"sources":["Atlas.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { AtlasProps } from \"../../../dom/types\";\nimport type { SkiaProps } from \"../../processors\";\n\nexport const Atlas = (props: SkiaProps<AtlasProps>) => {\n return <skAtlas {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,KAAK,GAAIC,KAA4B,IAAK;EACrD,oBAAOF,KAAA,CAAAG,aAAA,YAAaD,KAAQ,CAAC;AAC/B,CAAC"}
|
1
|
+
{"version":3,"names":["React","Atlas","props","createElement"],"sources":["Atlas.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { AtlasProps } from \"../../../dom/types\";\nimport type { SkiaProps } from \"../../processors\";\n\nexport const Atlas = (props: SkiaProps<AtlasProps>) => {\n return <skAtlas {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,KAAK,GAAIC,KAA4B,IAAK;EACrD,oBAAOF,KAAA,CAAAG,aAAA,YAAaD,KAAQ,CAAC;AAC/B,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","BoxShadow","props","createElement","Box"],"sources":["Box.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { BoxProps, BoxShadowProps } from \"../../../dom/types\";\nimport type { SkiaProps } from \"../../processors\";\n\nexport const BoxShadow = (props: SkiaProps<BoxShadowProps>) => {\n return <skBoxShadow {...props} />;\n};\n\nexport const Box = (props: SkiaProps<BoxProps>) => {\n return <skBox {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,SAAS,GAAIC,KAAgC,IAAK;EAC7D,oBAAOF,KAAA,CAAAG,aAAA,gBAAiBD,KAAQ,CAAC;AACnC,CAAC;AAED,OAAO,MAAME,GAAG,GAAIF,KAA0B,IAAK;EACjD,oBAAOF,KAAA,CAAAG,aAAA,UAAWD,KAAQ,CAAC;AAC7B,CAAC"}
|
1
|
+
{"version":3,"names":["React","BoxShadow","props","createElement","Box"],"sources":["Box.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { BoxProps, BoxShadowProps } from \"../../../dom/types\";\nimport type { SkiaProps } from \"../../processors\";\n\nexport const BoxShadow = (props: SkiaProps<BoxShadowProps>) => {\n return <skBoxShadow {...props} />;\n};\n\nexport const Box = (props: SkiaProps<BoxProps>) => {\n return <skBox {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,SAAS,GAAIC,KAAgC,IAAK;EAC7D,oBAAOF,KAAA,CAAAG,aAAA,gBAAiBD,KAAQ,CAAC;AACnC,CAAC;AAED,OAAO,MAAME,GAAG,GAAIF,KAA0B,IAAK;EACjD,oBAAOF,KAAA,CAAAG,aAAA,UAAWD,KAAQ,CAAC;AAC7B,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","Circle","props","createElement"],"sources":["Circle.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SkiaProps } from \"../../processors\";\nimport type { CircleProps } from \"../../../dom/types\";\n\nexport const Circle = (props: SkiaProps<CircleProps>) => {\n return <skCircle {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,MAAM,GAAIC,KAA6B,IAAK;EACvD,oBAAOF,KAAA,CAAAG,aAAA,aAAcD,KAAQ,CAAC;AAChC,CAAC"}
|
1
|
+
{"version":3,"names":["React","Circle","props","createElement"],"sources":["Circle.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SkiaProps } from \"../../processors\";\nimport type { CircleProps } from \"../../../dom/types\";\n\nexport const Circle = (props: SkiaProps<CircleProps>) => {\n return <skCircle {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,MAAM,GAAIC,KAA6B,IAAK;EACvD,oBAAOF,KAAA,CAAAG,aAAA,aAAcD,KAAQ,CAAC;AAChC,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","DiffRect","props","createElement"],"sources":["DiffRect.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SkiaProps } from \"../../processors/Animations/Animations\";\nimport type { DiffRectProps } from \"../../../dom/types\";\n\nexport const DiffRect = (props: SkiaProps<DiffRectProps>) => {\n return <skDiffRect {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,QAAQ,GAAIC,KAA+B,IAAK;EAC3D,oBAAOF,KAAA,CAAAG,aAAA,eAAgBD,KAAQ,CAAC;AAClC,CAAC"}
|
1
|
+
{"version":3,"names":["React","DiffRect","props","createElement"],"sources":["DiffRect.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SkiaProps } from \"../../processors/Animations/Animations\";\nimport type { DiffRectProps } from \"../../../dom/types\";\n\nexport const DiffRect = (props: SkiaProps<DiffRectProps>) => {\n return <skDiffRect {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,QAAQ,GAAIC,KAA+B,IAAK;EAC3D,oBAAOF,KAAA,CAAAG,aAAA,eAAgBD,KAAQ,CAAC;AAClC,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","Fill","props","createElement"],"sources":["Fill.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { DrawingNodeProps } from \"../../../dom/types\";\nimport type { SkiaProps } from \"../../processors/Animations/Animations\";\n\nexport const Fill = (props: SkiaProps<DrawingNodeProps>) => {\n return <skFill {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,IAAI,GAAIC,KAAkC,IAAK;EAC1D,oBAAOF,KAAA,CAAAG,aAAA,WAAYD,KAAQ,CAAC;AAC9B,CAAC"}
|
1
|
+
{"version":3,"names":["React","Fill","props","createElement"],"sources":["Fill.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { DrawingNodeProps } from \"../../../dom/types\";\nimport type { SkiaProps } from \"../../processors/Animations/Animations\";\n\nexport const Fill = (props: SkiaProps<DrawingNodeProps>) => {\n return <skFill {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,IAAI,GAAIC,KAAkC,IAAK;EAC1D,oBAAOF,KAAA,CAAAG,aAAA,WAAYD,KAAQ,CAAC;AAC9B,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","useMemo","fitRects","rect2rect","Group","fitbox","fit","src","dst","rotation","rects","x","y","width","height","result","translate","rotate","Math","PI","FitBox","children","transform","createElement"],"sources":["FitBox.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport React, { useMemo } from \"react\";\n\nimport type { Fit } from \"../../../dom/nodes\";\nimport { fitRects, rect2rect } from \"../../../dom/nodes\";\nimport type { SkRect, Transforms3d } from \"../../../skia/types\";\nimport { Group } from \"../Group\";\n\ninterface FitProps {\n fit?: Fit;\n src: SkRect;\n dst: SkRect;\n children: ReactNode | ReactNode[];\n}\n\nexport const fitbox = (\n fit: Fit,\n src: SkRect,\n dst: SkRect,\n rotation: 0 | 90 | 180 | 270 = 0\n) => {\n \"worklet\";\n const rects = fitRects(\n fit,\n rotation === 90 || rotation === 270\n ? { x: 0, y: 0, width: src.height, height: src.width }\n : src,\n dst\n );\n const result = rect2rect(rects.src, rects.dst);\n if (rotation === 90) {\n return [\n ...result,\n { translate: [src.height, 0] },\n { rotate: Math.PI / 2 },\n ] as Transforms3d;\n }\n if (rotation === 180) {\n return [\n ...result,\n { translate: [src.width, src.height] },\n { rotate: Math.PI },\n ] as Transforms3d;\n }\n if (rotation === 270) {\n return [\n ...result,\n { translate: [0, src.width] },\n { rotate: -Math.PI / 2 },\n ] as Transforms3d;\n }\n return result;\n};\n\nexport const FitBox = ({ fit = \"contain\", src, dst, children }: FitProps) => {\n const transform = useMemo(() => fitbox(fit, src, dst), [dst, fit, src]);\n return <Group transform={transform}>{children}</Group>;\n};\n"],"mappings":"AACA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AAGtC,SAASC,QAAQ,EAAEC,SAAS,QAAQ,oBAAoB;AAExD,SAASC,KAAK,QAAQ,UAAU;AAShC,OAAO,MAAMC,MAAM,GAAGA,CACpBC,GAAQ,EACRC,GAAW,EACXC,GAAW,EACXC,QAA4B,GAAG,CAAC,KAC7B;EACH,SAAS;;EACT,MAAMC,KAAK,GAAGR,QAAQ,CACpBI,GAAG,EACHG,QAAQ,KAAK,EAAE,IAAIA,QAAQ,KAAK,GAAG,GAC/B;IAAEE,CAAC,EAAE,CAAC;IAAEC,CAAC,EAAE,CAAC;IAAEC,KAAK,EAAEN,GAAG,CAACO,MAAM;IAAEA,MAAM,EAAEP,GAAG,CAACM;EAAM,CAAC,GACpDN,GAAG,EACPC,GACF,CAAC;EACD,MAAMO,MAAM,GAAGZ,SAAS,CAACO,KAAK,CAACH,GAAG,EAAEG,KAAK,CAACF,GAAG,CAAC;EAC9C,IAAIC,QAAQ,KAAK,EAAE,EAAE;IACnB,OAAO,CACL,GAAGM,MAAM,EACT;MAAEC,SAAS,EAAE,CAACT,GAAG,CAACO,MAAM,EAAE,CAAC;IAAE,CAAC,EAC9B;MAAEG,MAAM,EAAEC,IAAI,CAACC,EAAE,GAAG;IAAE,CAAC,CACxB;EACH;EACA,IAAIV,QAAQ,KAAK,GAAG,EAAE;IACpB,OAAO,CACL,GAAGM,MAAM,EACT;MAAEC,SAAS,EAAE,CAACT,GAAG,CAACM,KAAK,EAAEN,GAAG,CAACO,MAAM;IAAE,CAAC,EACtC;MAAEG,MAAM,EAAEC,IAAI,CAACC;IAAG,CAAC,CACpB;EACH;EACA,IAAIV,QAAQ,KAAK,GAAG,EAAE;IACpB,OAAO,CACL,GAAGM,MAAM,EACT;MAAEC,SAAS,EAAE,CAAC,CAAC,EAAET,GAAG,CAACM,KAAK;IAAE,CAAC,EAC7B;MAAEI,MAAM,EAAE,CAACC,IAAI,CAACC,EAAE,GAAG;IAAE,CAAC,CACzB;EACH;EACA,OAAOJ,MAAM;AACf,CAAC;AAED,OAAO,MAAMK,MAAM,GAAGA,CAAC;EAAEd,GAAG,GAAG,SAAS;EAAEC,GAAG;EAAEC,GAAG;EAAEa;AAAmB,CAAC,KAAK;EAC3E,MAAMC,SAAS,GAAGrB,OAAO,CAAC,MAAMI,MAAM,CAACC,GAAG,EAAEC,GAAG,EAAEC,GAAG,CAAC,EAAE,CAACA,GAAG,EAAEF,GAAG,EAAEC,GAAG,CAAC,CAAC;EACvE,oBAAOP,KAAA,CAAAuB,aAAA,CAACnB,KAAK;IAACkB,SAAS,EAAEA;EAAU,GAAED,QAAgB,CAAC;AACxD,CAAC"}
|
1
|
+
{"version":3,"names":["React","useMemo","fitRects","rect2rect","Group","fitbox","fit","src","dst","rotation","rects","x","y","width","height","result","translate","rotate","Math","PI","FitBox","children","transform","createElement"],"sources":["FitBox.tsx"],"sourcesContent":["import type { ReactNode } from \"react\";\nimport React, { useMemo } from \"react\";\n\nimport type { Fit } from \"../../../dom/nodes\";\nimport { fitRects, rect2rect } from \"../../../dom/nodes\";\nimport type { SkRect, Transforms3d } from \"../../../skia/types\";\nimport { Group } from \"../Group\";\n\ninterface FitProps {\n fit?: Fit;\n src: SkRect;\n dst: SkRect;\n children: ReactNode | ReactNode[];\n}\n\nexport const fitbox = (\n fit: Fit,\n src: SkRect,\n dst: SkRect,\n rotation: 0 | 90 | 180 | 270 = 0\n) => {\n \"worklet\";\n const rects = fitRects(\n fit,\n rotation === 90 || rotation === 270\n ? { x: 0, y: 0, width: src.height, height: src.width }\n : src,\n dst\n );\n const result = rect2rect(rects.src, rects.dst);\n if (rotation === 90) {\n return [\n ...result,\n { translate: [src.height, 0] },\n { rotate: Math.PI / 2 },\n ] as Transforms3d;\n }\n if (rotation === 180) {\n return [\n ...result,\n { translate: [src.width, src.height] },\n { rotate: Math.PI },\n ] as Transforms3d;\n }\n if (rotation === 270) {\n return [\n ...result,\n { translate: [0, src.width] },\n { rotate: -Math.PI / 2 },\n ] as Transforms3d;\n }\n return result;\n};\n\nexport const FitBox = ({ fit = \"contain\", src, dst, children }: FitProps) => {\n const transform = useMemo(() => fitbox(fit, src, dst), [dst, fit, src]);\n return <Group transform={transform}>{children}</Group>;\n};\n"],"mappings":"AACA,OAAOA,KAAK,IAAIC,OAAO,QAAQ,OAAO;AAGtC,SAASC,QAAQ,EAAEC,SAAS,QAAQ,oBAAoB;AAExD,SAASC,KAAK,QAAQ,UAAU;AAShC,OAAO,MAAMC,MAAM,GAAGA,CACpBC,GAAQ,EACRC,GAAW,EACXC,GAAW,EACXC,QAA4B,GAAG,CAAC,KAC7B;EACH,SAAS;;EACT,MAAMC,KAAK,GAAGR,QAAQ,CACpBI,GAAG,EACHG,QAAQ,KAAK,EAAE,IAAIA,QAAQ,KAAK,GAAG,GAC/B;IAAEE,CAAC,EAAE,CAAC;IAAEC,CAAC,EAAE,CAAC;IAAEC,KAAK,EAAEN,GAAG,CAACO,MAAM;IAAEA,MAAM,EAAEP,GAAG,CAACM;EAAM,CAAC,GACpDN,GAAG,EACPC,GACF,CAAC;EACD,MAAMO,MAAM,GAAGZ,SAAS,CAACO,KAAK,CAACH,GAAG,EAAEG,KAAK,CAACF,GAAG,CAAC;EAC9C,IAAIC,QAAQ,KAAK,EAAE,EAAE;IACnB,OAAO,CACL,GAAGM,MAAM,EACT;MAAEC,SAAS,EAAE,CAACT,GAAG,CAACO,MAAM,EAAE,CAAC;IAAE,CAAC,EAC9B;MAAEG,MAAM,EAAEC,IAAI,CAACC,EAAE,GAAG;IAAE,CAAC,CACxB;EACH;EACA,IAAIV,QAAQ,KAAK,GAAG,EAAE;IACpB,OAAO,CACL,GAAGM,MAAM,EACT;MAAEC,SAAS,EAAE,CAACT,GAAG,CAACM,KAAK,EAAEN,GAAG,CAACO,MAAM;IAAE,CAAC,EACtC;MAAEG,MAAM,EAAEC,IAAI,CAACC;IAAG,CAAC,CACpB;EACH;EACA,IAAIV,QAAQ,KAAK,GAAG,EAAE;IACpB,OAAO,CACL,GAAGM,MAAM,EACT;MAAEC,SAAS,EAAE,CAAC,CAAC,EAAET,GAAG,CAACM,KAAK;IAAE,CAAC,EAC7B;MAAEI,MAAM,EAAE,CAACC,IAAI,CAACC,EAAE,GAAG;IAAE,CAAC,CACzB;EACH;EACA,OAAOJ,MAAM;AACf,CAAC;AAED,OAAO,MAAMK,MAAM,GAAGA,CAAC;EAAEd,GAAG,GAAG,SAAS;EAAEC,GAAG;EAAEC,GAAG;EAAEa;AAAmB,CAAC,KAAK;EAC3E,MAAMC,SAAS,GAAGrB,OAAO,CAAC,MAAMI,MAAM,CAACC,GAAG,EAAEC,GAAG,EAAEC,GAAG,CAAC,EAAE,CAACA,GAAG,EAAEF,GAAG,EAAEC,GAAG,CAAC,CAAC;EACvE,oBAAOP,KAAA,CAAAuB,aAAA,CAACnB,KAAK;IAACkB,SAAS,EAAEA;EAAU,GAAED,QAAgB,CAAC;AACxD,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","Line","props","createElement"],"sources":["Line.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SkiaProps } from \"../../processors\";\nimport type { LineProps } from \"../../../dom/types\";\n\nexport const Line = (props: SkiaProps<LineProps>) => {\n return <skLine {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,IAAI,GAAIC,KAA2B,IAAK;EACnD,oBAAOF,KAAA,CAAAG,aAAA,WAAYD,KAAQ,CAAC;AAC9B,CAAC"}
|
1
|
+
{"version":3,"names":["React","Line","props","createElement"],"sources":["Line.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SkiaProps } from \"../../processors\";\nimport type { LineProps } from \"../../../dom/types\";\n\nexport const Line = (props: SkiaProps<LineProps>) => {\n return <skLine {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,IAAI,GAAIC,KAA2B,IAAK;EACnD,oBAAOF,KAAA,CAAAG,aAAA,WAAYD,KAAQ,CAAC;AAC9B,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","Oval","props","createElement"],"sources":["Oval.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { OvalProps } from \"../../../dom/types\";\nimport type { SkiaProps } from \"../../processors\";\n\nexport const Oval = (props: SkiaProps<OvalProps>) => {\n return <skOval {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,IAAI,GAAIC,KAA2B,IAAK;EACnD,oBAAOF,KAAA,CAAAG,aAAA,WAAYD,KAAQ,CAAC;AAC9B,CAAC"}
|
1
|
+
{"version":3,"names":["React","Oval","props","createElement"],"sources":["Oval.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { OvalProps } from \"../../../dom/types\";\nimport type { SkiaProps } from \"../../processors\";\n\nexport const Oval = (props: SkiaProps<OvalProps>) => {\n return <skOval {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,IAAI,GAAIC,KAA2B,IAAK;EACnD,oBAAOF,KAAA,CAAAG,aAAA,WAAYD,KAAQ,CAAC;AAC9B,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","Patch","props","createElement"],"sources":["Patch.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SkiaProps } from \"../../processors\";\nimport type { PatchProps } from \"../../../dom/types\";\n\nexport const Patch = (props: SkiaProps<PatchProps>) => {\n return <skPatch {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,KAAK,GAAIC,KAA4B,IAAK;EACrD,oBAAOF,KAAA,CAAAG,aAAA,YAAaD,KAAQ,CAAC;AAC/B,CAAC"}
|
1
|
+
{"version":3,"names":["React","Patch","props","createElement"],"sources":["Patch.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SkiaProps } from \"../../processors\";\nimport type { PatchProps } from \"../../../dom/types\";\n\nexport const Patch = (props: SkiaProps<PatchProps>) => {\n return <skPatch {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,KAAK,GAAIC,KAA4B,IAAK;EACrD,oBAAOF,KAAA,CAAAG,aAAA,YAAaD,KAAQ,CAAC;AAC/B,CAAC","ignoreList":[]}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
2
2
|
import React from "react";
|
3
3
|
export const Path = ({
|
4
4
|
start = 0,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","Path","start","end","props","createElement","_extends"],"sources":["Path.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SkiaDefaultProps } from \"../../processors\";\nimport type { PathProps } from \"../../../dom/types\";\n\nexport const Path = ({\n start = 0,\n end = 1,\n ...props\n}: SkiaDefaultProps<PathProps, \"start\" | \"end\">) => {\n return <skPath start={start} end={end} {...props} />;\n};\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,IAAI,GAAGA,CAAC;EACnBC,KAAK,GAAG,CAAC;EACTC,GAAG,GAAG,CAAC;EACP,GAAGC;AACyC,CAAC,KAAK;EAClD,oBAAOJ,KAAA,CAAAK,aAAA,WAAAC,QAAA;IAAQJ,KAAK,EAAEA,KAAM;IAACC,GAAG,EAAEA;EAAI,GAAKC,KAAK,CAAG,CAAC;AACtD,CAAC"}
|
1
|
+
{"version":3,"names":["React","Path","start","end","props","createElement","_extends"],"sources":["Path.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SkiaDefaultProps } from \"../../processors\";\nimport type { PathProps } from \"../../../dom/types\";\n\nexport const Path = ({\n start = 0,\n end = 1,\n ...props\n}: SkiaDefaultProps<PathProps, \"start\" | \"end\">) => {\n return <skPath start={start} end={end} {...props} />;\n};\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,IAAI,GAAGA,CAAC;EACnBC,KAAK,GAAG,CAAC;EACTC,GAAG,GAAG,CAAC;EACP,GAAGC;AACyC,CAAC,KAAK;EAClD,oBAAOJ,KAAA,CAAAK,aAAA,WAAAC,QAAA;IAAQJ,KAAK,EAAEA,KAAM;IAACC,GAAG,EAAEA;EAAI,GAAKC,KAAK,CAAG,CAAC;AACtD,CAAC","ignoreList":[]}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
2
2
|
import React from "react";
|
3
3
|
export const Points = ({
|
4
4
|
mode = "points",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","Points","mode","props","createElement","_extends"],"sources":["Points.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SkiaDefaultProps } from \"../../processors/Animations/Animations\";\nimport type { PointsProps } from \"../../../dom/types\";\n\nexport const Points = ({\n mode = \"points\",\n ...props\n}: SkiaDefaultProps<PointsProps, \"mode\">) => {\n return <skPoints mode={mode} {...props} />;\n};\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,MAAM,GAAGA,CAAC;EACrBC,IAAI,GAAG,QAAQ;EACf,GAAGC;AACkC,CAAC,KAAK;EAC3C,oBAAOH,KAAA,CAAAI,aAAA,aAAAC,QAAA;IAAUH,IAAI,EAAEA;EAAK,GAAKC,KAAK,CAAG,CAAC;AAC5C,CAAC"}
|
1
|
+
{"version":3,"names":["React","Points","mode","props","createElement","_extends"],"sources":["Points.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SkiaDefaultProps } from \"../../processors/Animations/Animations\";\nimport type { PointsProps } from \"../../../dom/types\";\n\nexport const Points = ({\n mode = \"points\",\n ...props\n}: SkiaDefaultProps<PointsProps, \"mode\">) => {\n return <skPoints mode={mode} {...props} />;\n};\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,MAAM,GAAGA,CAAC;EACrBC,IAAI,GAAG,QAAQ;EACf,GAAGC;AACkC,CAAC,KAAK;EAC3C,oBAAOH,KAAA,CAAAI,aAAA,aAAAC,QAAA;IAAUH,IAAI,EAAEA;EAAK,GAAKC,KAAK,CAAG,CAAC;AAC5C,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","Rect","props","createElement"],"sources":["Rect.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { RectProps } from \"../../../dom/types\";\nimport type { SkiaProps } from \"../../processors\";\n\nexport const Rect = (props: SkiaProps<RectProps>) => {\n return <skRect {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,IAAI,GAAIC,KAA2B,IAAK;EACnD,oBAAOF,KAAA,CAAAG,aAAA,WAAYD,KAAQ,CAAC;AAC9B,CAAC"}
|
1
|
+
{"version":3,"names":["React","Rect","props","createElement"],"sources":["Rect.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { RectProps } from \"../../../dom/types\";\nimport type { SkiaProps } from \"../../processors\";\n\nexport const Rect = (props: SkiaProps<RectProps>) => {\n return <skRect {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,IAAI,GAAIC,KAA2B,IAAK;EACnD,oBAAOF,KAAA,CAAAG,aAAA,WAAYD,KAAQ,CAAC;AAC9B,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","RoundedRect","props","createElement"],"sources":["RoundedRect.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { RoundedRectProps } from \"../../../dom/types\";\nimport type { SkiaProps } from \"../../processors\";\n\nexport const RoundedRect = (props: SkiaProps<RoundedRectProps>) => {\n return <skRRect {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,WAAW,GAAIC,KAAkC,IAAK;EACjE,oBAAOF,KAAA,CAAAG,aAAA,YAAaD,KAAQ,CAAC;AAC/B,CAAC"}
|
1
|
+
{"version":3,"names":["React","RoundedRect","props","createElement"],"sources":["RoundedRect.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { RoundedRectProps } from \"../../../dom/types\";\nimport type { SkiaProps } from \"../../processors\";\n\nexport const RoundedRect = (props: SkiaProps<RoundedRectProps>) => {\n return <skRRect {...props} />;\n};\n"],"mappings":"AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,WAAW,GAAIC,KAAkC,IAAK;EACjE,oBAAOF,KAAA,CAAAG,aAAA,YAAaD,KAAQ,CAAC;AAC/B,CAAC","ignoreList":[]}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
2
2
|
import React from "react";
|
3
3
|
export const Vertices = ({
|
4
4
|
mode = "triangles",
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","Vertices","mode","props","createElement","_extends"],"sources":["Vertices.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SkiaDefaultProps } from \"../../processors\";\nimport type { VerticesProps } from \"../../../dom/types\";\n\nexport const Vertices = ({\n mode = \"triangles\",\n ...props\n}: SkiaDefaultProps<VerticesProps, \"mode\">) => {\n return <skVertices mode={mode} {...props} />;\n};\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,QAAQ,GAAGA,CAAC;EACvBC,IAAI,GAAG,WAAW;EAClB,GAAGC;AACoC,CAAC,KAAK;EAC7C,oBAAOH,KAAA,CAAAI,aAAA,eAAAC,QAAA;IAAYH,IAAI,EAAEA;EAAK,GAAKC,KAAK,CAAG,CAAC;AAC9C,CAAC"}
|
1
|
+
{"version":3,"names":["React","Vertices","mode","props","createElement","_extends"],"sources":["Vertices.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SkiaDefaultProps } from \"../../processors\";\nimport type { VerticesProps } from \"../../../dom/types\";\n\nexport const Vertices = ({\n mode = \"triangles\",\n ...props\n}: SkiaDefaultProps<VerticesProps, \"mode\">) => {\n return <skVertices mode={mode} {...props} />;\n};\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,QAAQ,GAAGA,CAAC;EACvBC,IAAI,GAAG,WAAW;EAClB,GAAGC;AACoC,CAAC,KAAK;EAC7C,oBAAOH,KAAA,CAAAI,aAAA,eAAAC,QAAA;IAAYH,IAAI,EAAEA;EAAK,GAAKC,KAAK,CAAG,CAAC;AAC9C,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./Circle\";\nexport * from \"./Rect\";\nexport * from \"./RoundedRect\";\nexport * from \"./DiffRect\";\nexport * from \"./Line\";\nexport * from \"./Path\";\nexport * from \"./Oval\";\nexport * from \"./Points\";\nexport * from \"./Patch\";\nexport * from \"./Vertices\";\nexport * from \"./Fill\";\nexport * from \"./FitBox\";\nexport * from \"./Box\";\nexport * from \"./Atlas\";\n"],"mappings":"AAAA,cAAc,UAAU;AACxB,cAAc,QAAQ;AACtB,cAAc,eAAe;AAC7B,cAAc,YAAY;AAC1B,cAAc,QAAQ;AACtB,cAAc,QAAQ;AACtB,cAAc,QAAQ;AACtB,cAAc,UAAU;AACxB,cAAc,SAAS;AACvB,cAAc,YAAY;AAC1B,cAAc,QAAQ;AACtB,cAAc,UAAU;AACxB,cAAc,OAAO;AACrB,cAAc,SAAS"}
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./Circle\";\nexport * from \"./Rect\";\nexport * from \"./RoundedRect\";\nexport * from \"./DiffRect\";\nexport * from \"./Line\";\nexport * from \"./Path\";\nexport * from \"./Oval\";\nexport * from \"./Points\";\nexport * from \"./Patch\";\nexport * from \"./Vertices\";\nexport * from \"./Fill\";\nexport * from \"./FitBox\";\nexport * from \"./Box\";\nexport * from \"./Atlas\";\n"],"mappings":"AAAA,cAAc,UAAU;AACxB,cAAc,QAAQ;AACtB,cAAc,eAAe;AAC7B,cAAc,YAAY;AAC1B,cAAc,QAAQ;AACtB,cAAc,QAAQ;AACtB,cAAc,QAAQ;AACtB,cAAc,UAAU;AACxB,cAAc,SAAS;AACvB,cAAc,YAAY;AAC1B,cAAc,QAAQ;AACtB,cAAc,UAAU;AACxB,cAAc,OAAO;AACrB,cAAc,SAAS","ignoreList":[]}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
2
2
|
import React from "react";
|
3
3
|
export const Glyphs = ({
|
4
4
|
x = 0,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","Glyphs","x","y","props","createElement","_extends"],"sources":["Glyphs.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { GlyphsProps } from \"../../../dom/types\";\nimport type { SkiaDefaultProps } from \"../../processors/Animations/Animations\";\n\nexport const Glyphs = ({\n x = 0,\n y = 0,\n ...props\n}: SkiaDefaultProps<GlyphsProps, \"x\" | \"y\">) => {\n return <skGlyphs x={x} y={y} {...props} />;\n};\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,MAAM,GAAGA,CAAC;EACrBC,CAAC,GAAG,CAAC;EACLC,CAAC,GAAG,CAAC;EACL,GAAGC;AACqC,CAAC,KAAK;EAC9C,oBAAOJ,KAAA,CAAAK,aAAA,aAAAC,QAAA;IAAUJ,CAAC,EAAEA,CAAE;IAACC,CAAC,EAAEA;EAAE,GAAKC,KAAK,CAAG,CAAC;AAC5C,CAAC"}
|
1
|
+
{"version":3,"names":["React","Glyphs","x","y","props","createElement","_extends"],"sources":["Glyphs.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { GlyphsProps } from \"../../../dom/types\";\nimport type { SkiaDefaultProps } from \"../../processors/Animations/Animations\";\n\nexport const Glyphs = ({\n x = 0,\n y = 0,\n ...props\n}: SkiaDefaultProps<GlyphsProps, \"x\" | \"y\">) => {\n return <skGlyphs x={x} y={y} {...props} />;\n};\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,MAAM,GAAGA,CAAC;EACrBC,CAAC,GAAG,CAAC;EACLC,CAAC,GAAG,CAAC;EACL,GAAGC;AACqC,CAAC,KAAK;EAC9C,oBAAOJ,KAAA,CAAAK,aAAA,aAAAC,QAAA;IAAUJ,CAAC,EAAEA,CAAE;IAACC,CAAC,EAAEA;EAAE,GAAKC,KAAK,CAAG,CAAC;AAC5C,CAAC","ignoreList":[]}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
2
2
|
import React from "react";
|
3
3
|
export const Text = ({
|
4
4
|
x = 0,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","Text","x","y","props","createElement","_extends"],"sources":["Text.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SkiaDefaultProps } from \"../../processors\";\nimport type { TextProps } from \"../../../dom/types\";\n\nexport const Text = ({\n x = 0,\n y = 0,\n ...props\n}: SkiaDefaultProps<TextProps, \"x\" | \"y\">) => {\n return <skText x={x} y={y} {...props} />;\n};\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,IAAI,GAAGA,CAAC;EACnBC,CAAC,GAAG,CAAC;EACLC,CAAC,GAAG,CAAC;EACL,GAAGC;AACmC,CAAC,KAAK;EAC5C,oBAAOJ,KAAA,CAAAK,aAAA,WAAAC,QAAA;IAAQJ,CAAC,EAAEA,CAAE;IAACC,CAAC,EAAEA;EAAE,GAAKC,KAAK,CAAG,CAAC;AAC1C,CAAC"}
|
1
|
+
{"version":3,"names":["React","Text","x","y","props","createElement","_extends"],"sources":["Text.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SkiaDefaultProps } from \"../../processors\";\nimport type { TextProps } from \"../../../dom/types\";\n\nexport const Text = ({\n x = 0,\n y = 0,\n ...props\n}: SkiaDefaultProps<TextProps, \"x\" | \"y\">) => {\n return <skText x={x} y={y} {...props} />;\n};\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,IAAI,GAAGA,CAAC;EACnBC,CAAC,GAAG,CAAC;EACLC,CAAC,GAAG,CAAC;EACL,GAAGC;AACmC,CAAC,KAAK;EAC5C,oBAAOJ,KAAA,CAAAK,aAAA,WAAAC,QAAA;IAAQJ,CAAC,EAAEA,CAAE;IAACC,CAAC,EAAEA;EAAE,GAAKC,KAAK,CAAG,CAAC;AAC1C,CAAC","ignoreList":[]}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
2
2
|
import React from "react";
|
3
3
|
export const TextBlob = ({
|
4
4
|
x = 0,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","TextBlob","x","y","props","createElement","_extends"],"sources":["TextBlob.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SkiaDefaultProps } from \"../../processors\";\nimport type { TextBlobProps } from \"../../../dom/types\";\n\nexport const TextBlob = ({\n x = 0,\n y = 0,\n ...props\n}: SkiaDefaultProps<TextBlobProps, \"x\" | \"y\">) => {\n return <skTextBlob x={x} y={y} {...props} />;\n};\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,QAAQ,GAAGA,CAAC;EACvBC,CAAC,GAAG,CAAC;EACLC,CAAC,GAAG,CAAC;EACL,GAAGC;AACuC,CAAC,KAAK;EAChD,oBAAOJ,KAAA,CAAAK,aAAA,eAAAC,QAAA;IAAYJ,CAAC,EAAEA,CAAE;IAACC,CAAC,EAAEA;EAAE,GAAKC,KAAK,CAAG,CAAC;AAC9C,CAAC"}
|
1
|
+
{"version":3,"names":["React","TextBlob","x","y","props","createElement","_extends"],"sources":["TextBlob.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SkiaDefaultProps } from \"../../processors\";\nimport type { TextBlobProps } from \"../../../dom/types\";\n\nexport const TextBlob = ({\n x = 0,\n y = 0,\n ...props\n}: SkiaDefaultProps<TextBlobProps, \"x\" | \"y\">) => {\n return <skTextBlob x={x} y={y} {...props} />;\n};\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,QAAQ,GAAGA,CAAC;EACvBC,CAAC,GAAG,CAAC;EACLC,CAAC,GAAG,CAAC;EACL,GAAGC;AACuC,CAAC,KAAK;EAChD,oBAAOJ,KAAA,CAAAK,aAAA,eAAAC,QAAA;IAAYJ,CAAC,EAAEA,CAAE;IAACC,CAAC,EAAEA;EAAE,GAAKC,KAAK,CAAG,CAAC;AAC9C,CAAC","ignoreList":[]}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
2
2
|
import React from "react";
|
3
3
|
export const TextPath = ({
|
4
4
|
initialOffset = 0,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["React","TextPath","initialOffset","props","createElement","_extends"],"sources":["TextPath.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SkiaDefaultProps } from \"../../processors\";\nimport type { TextPathProps } from \"../../../dom/types\";\n\nexport const TextPath = ({\n initialOffset = 0,\n ...props\n}: SkiaDefaultProps<TextPathProps, \"initialOffset\">) => {\n return <skTextPath initialOffset={initialOffset} {...props} />;\n};\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,QAAQ,GAAGA,CAAC;EACvBC,aAAa,GAAG,CAAC;EACjB,GAAGC;AAC6C,CAAC,KAAK;EACtD,oBAAOH,KAAA,CAAAI,aAAA,eAAAC,QAAA;IAAYH,aAAa,EAAEA;EAAc,GAAKC,KAAK,CAAG,CAAC;AAChE,CAAC"}
|
1
|
+
{"version":3,"names":["React","TextPath","initialOffset","props","createElement","_extends"],"sources":["TextPath.tsx"],"sourcesContent":["import React from \"react\";\n\nimport type { SkiaDefaultProps } from \"../../processors\";\nimport type { TextPathProps } from \"../../../dom/types\";\n\nexport const TextPath = ({\n initialOffset = 0,\n ...props\n}: SkiaDefaultProps<TextPathProps, \"initialOffset\">) => {\n return <skTextPath initialOffset={initialOffset} {...props} />;\n};\n"],"mappings":";AAAA,OAAOA,KAAK,MAAM,OAAO;AAKzB,OAAO,MAAMC,QAAQ,GAAGA,CAAC;EACvBC,aAAa,GAAG,CAAC;EACjB,GAAGC;AAC6C,CAAC,KAAK;EACtD,oBAAOH,KAAA,CAAAI,aAAA,eAAAC,QAAA;IAAYH,aAAa,EAAEA;EAAc,GAAKC,KAAK,CAAG,CAAC;AAChE,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./Text\";\nexport * from \"./Glyphs\";\nexport * from \"./TextBlob\";\nexport * from \"./TextPath\";\n"],"mappings":"AAAA,cAAc,QAAQ;AACtB,cAAc,UAAU;AACxB,cAAc,YAAY;AAC1B,cAAc,YAAY"}
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./Text\";\nexport * from \"./Glyphs\";\nexport * from \"./TextBlob\";\nexport * from \"./TextPath\";\n"],"mappings":"AAAA,cAAc,QAAQ;AACtB,cAAc,UAAU;AACxB,cAAc,YAAY;AAC1B,cAAc,YAAY","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./components\";\n"],"mappings":"AAAA,cAAc,cAAc"}
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./components\";\n"],"mappings":"AAAA,cAAc,cAAc","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["Animations.ts"],"sourcesContent":["export type SharedValueType<T = number> = {\n value: T;\n};\n\nexport type AnimatedProp<T> = T | SharedValueType<T>;\n\nexport type AnimatedProps<T, O extends keyof T | never = never> = {\n [K in keyof T]: K extends \"children\"\n ? T[K]\n : K extends O\n ? T[K]\n : AnimatedProp<T[K]>;\n};\n\nexport type SkiaProps<\n P = object,\n O extends keyof P | never = never\n> = AnimatedProps<P, O>;\n\ntype WithOptional<T extends object, N extends keyof T> = Omit<T, N> & {\n [K in N]?: T[K];\n};\n\nexport type SkiaDefaultProps<\n T extends object,\n N extends keyof T\n> = WithOptional<SkiaProps<T>, N>;\n"],"mappings":""}
|
1
|
+
{"version":3,"names":[],"sources":["Animations.ts"],"sourcesContent":["export type SharedValueType<T = number> = {\n value: T;\n};\n\nexport type AnimatedProp<T> = T | SharedValueType<T>;\n\nexport type AnimatedProps<T, O extends keyof T | never = never> = {\n [K in keyof T]: K extends \"children\"\n ? T[K]\n : K extends O\n ? T[K]\n : AnimatedProp<T[K]>;\n};\n\nexport type SkiaProps<\n P = object,\n O extends keyof P | never = never\n> = AnimatedProps<P, O>;\n\ntype WithOptional<T extends object, N extends keyof T> = Omit<T, N> & {\n [K in N]?: T[K];\n};\n\nexport type SkiaDefaultProps<\n T extends object,\n N extends keyof T\n> = WithOptional<SkiaProps<T>, N>;\n"],"mappings":"","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./Animations\";\n"],"mappings":"AAAA,cAAc,cAAc"}
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./Animations\";\n"],"mappings":"AAAA,cAAc,cAAc","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./Animations\";\nexport * from \"./math\";\n"],"mappings":"AAAA,cAAc,cAAc;AAC5B,cAAc,QAAQ"}
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./Animations\";\nexport * from \"./math\";\n"],"mappings":"AAAA,cAAc,cAAc;AAC5B,cAAc,QAAQ","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["canvas2Cartesian","v","center","x","y","cartesian2Canvas","cartesian2Polar","theta","Math","atan2","radius","sqrt","polar2Cartesian","p","cos","sin","polar2Canvas","canvas2Polar"],"sources":["Coordinates.ts"],"sourcesContent":["import type { Vector } from \"../../../skia/types\";\n\nexport interface PolarPoint {\n theta: number;\n radius: number;\n}\n\nexport const canvas2Cartesian = (v: Vector, center: Vector) => {\n \"worklet\";\n return {\n x: v.x - center.x,\n y: -1 * (v.y - center.y),\n };\n};\n\nexport const cartesian2Canvas = (v: Vector, center: Vector) => {\n \"worklet\";\n return {\n x: v.x + center.x,\n y: -1 * v.y + center.y,\n };\n};\n\nexport const cartesian2Polar = (v: Vector) => {\n \"worklet\";\n return {\n theta: Math.atan2(v.y, v.x),\n radius: Math.sqrt(v.x ** 2 + v.y ** 2),\n };\n};\n\nexport const polar2Cartesian = (p: PolarPoint) => {\n \"worklet\";\n return {\n x: p.radius * Math.cos(p.theta),\n y: p.radius * Math.sin(p.theta),\n };\n};\n\nexport const polar2Canvas = (p: PolarPoint, center: Vector) => {\n \"worklet\";\n return cartesian2Canvas(polar2Cartesian(p), center);\n};\n\nexport const canvas2Polar = (v: Vector, center: Vector) => {\n \"worklet\";\n return cartesian2Polar(canvas2Cartesian(v, center));\n};\n"],"mappings":"AAOA,OAAO,MAAMA,gBAAgB,GAAGA,CAACC,CAAS,EAAEC,MAAc,KAAK;EAC7D,SAAS;;EACT,OAAO;IACLC,CAAC,EAAEF,CAAC,CAACE,CAAC,GAAGD,MAAM,CAACC,CAAC;IACjBC,CAAC,EAAE,CAAC,CAAC,IAAIH,CAAC,CAACG,CAAC,GAAGF,MAAM,CAACE,CAAC;EACzB,CAAC;AACH,CAAC;AAED,OAAO,MAAMC,gBAAgB,GAAGA,CAACJ,CAAS,EAAEC,MAAc,KAAK;EAC7D,SAAS;;EACT,OAAO;IACLC,CAAC,EAAEF,CAAC,CAACE,CAAC,GAAGD,MAAM,CAACC,CAAC;IACjBC,CAAC,EAAE,CAAC,CAAC,GAAGH,CAAC,CAACG,CAAC,GAAGF,MAAM,CAACE;EACvB,CAAC;AACH,CAAC;AAED,OAAO,MAAME,eAAe,GAAIL,CAAS,IAAK;EAC5C,SAAS;;EACT,OAAO;IACLM,KAAK,EAAEC,IAAI,CAACC,KAAK,CAACR,CAAC,CAACG,CAAC,EAAEH,CAAC,CAACE,CAAC,CAAC;IAC3BO,MAAM,EAAEF,IAAI,CAACG,IAAI,CAACV,CAAC,CAACE,CAAC,IAAI,CAAC,GAAGF,CAAC,CAACG,CAAC,IAAI,CAAC;EACvC,CAAC;AACH,CAAC;AAED,OAAO,MAAMQ,eAAe,GAAIC,CAAa,IAAK;EAChD,SAAS;;EACT,OAAO;IACLV,CAAC,EAAEU,CAAC,CAACH,MAAM,GAAGF,IAAI,CAACM,GAAG,CAACD,CAAC,CAACN,KAAK,CAAC;IAC/BH,CAAC,EAAES,CAAC,CAACH,MAAM,GAAGF,IAAI,CAACO,GAAG,CAACF,CAAC,CAACN,KAAK;EAChC,CAAC;AACH,CAAC;AAED,OAAO,MAAMS,YAAY,GAAGA,CAACH,CAAa,EAAEX,MAAc,KAAK;EAC7D,SAAS;;EACT,OAAOG,gBAAgB,CAACO,eAAe,CAACC,CAAC,CAAC,EAAEX,MAAM,CAAC;AACrD,CAAC;AAED,OAAO,MAAMe,YAAY,GAAGA,CAAChB,CAAS,EAAEC,MAAc,KAAK;EACzD,SAAS;;EACT,OAAOI,eAAe,CAACN,gBAAgB,CAACC,CAAC,EAAEC,MAAM,CAAC,CAAC;AACrD,CAAC"}
|
1
|
+
{"version":3,"names":["canvas2Cartesian","v","center","x","y","cartesian2Canvas","cartesian2Polar","theta","Math","atan2","radius","sqrt","polar2Cartesian","p","cos","sin","polar2Canvas","canvas2Polar"],"sources":["Coordinates.ts"],"sourcesContent":["import type { Vector } from \"../../../skia/types\";\n\nexport interface PolarPoint {\n theta: number;\n radius: number;\n}\n\nexport const canvas2Cartesian = (v: Vector, center: Vector) => {\n \"worklet\";\n return {\n x: v.x - center.x,\n y: -1 * (v.y - center.y),\n };\n};\n\nexport const cartesian2Canvas = (v: Vector, center: Vector) => {\n \"worklet\";\n return {\n x: v.x + center.x,\n y: -1 * v.y + center.y,\n };\n};\n\nexport const cartesian2Polar = (v: Vector) => {\n \"worklet\";\n return {\n theta: Math.atan2(v.y, v.x),\n radius: Math.sqrt(v.x ** 2 + v.y ** 2),\n };\n};\n\nexport const polar2Cartesian = (p: PolarPoint) => {\n \"worklet\";\n return {\n x: p.radius * Math.cos(p.theta),\n y: p.radius * Math.sin(p.theta),\n };\n};\n\nexport const polar2Canvas = (p: PolarPoint, center: Vector) => {\n \"worklet\";\n return cartesian2Canvas(polar2Cartesian(p), center);\n};\n\nexport const canvas2Polar = (v: Vector, center: Vector) => {\n \"worklet\";\n return cartesian2Polar(canvas2Cartesian(v, center));\n};\n"],"mappings":"AAOA,OAAO,MAAMA,gBAAgB,GAAGA,CAACC,CAAS,EAAEC,MAAc,KAAK;EAC7D,SAAS;;EACT,OAAO;IACLC,CAAC,EAAEF,CAAC,CAACE,CAAC,GAAGD,MAAM,CAACC,CAAC;IACjBC,CAAC,EAAE,CAAC,CAAC,IAAIH,CAAC,CAACG,CAAC,GAAGF,MAAM,CAACE,CAAC;EACzB,CAAC;AACH,CAAC;AAED,OAAO,MAAMC,gBAAgB,GAAGA,CAACJ,CAAS,EAAEC,MAAc,KAAK;EAC7D,SAAS;;EACT,OAAO;IACLC,CAAC,EAAEF,CAAC,CAACE,CAAC,GAAGD,MAAM,CAACC,CAAC;IACjBC,CAAC,EAAE,CAAC,CAAC,GAAGH,CAAC,CAACG,CAAC,GAAGF,MAAM,CAACE;EACvB,CAAC;AACH,CAAC;AAED,OAAO,MAAME,eAAe,GAAIL,CAAS,IAAK;EAC5C,SAAS;;EACT,OAAO;IACLM,KAAK,EAAEC,IAAI,CAACC,KAAK,CAACR,CAAC,CAACG,CAAC,EAAEH,CAAC,CAACE,CAAC,CAAC;IAC3BO,MAAM,EAAEF,IAAI,CAACG,IAAI,CAACV,CAAC,CAACE,CAAC,IAAI,CAAC,GAAGF,CAAC,CAACG,CAAC,IAAI,CAAC;EACvC,CAAC;AACH,CAAC;AAED,OAAO,MAAMQ,eAAe,GAAIC,CAAa,IAAK;EAChD,SAAS;;EACT,OAAO;IACLV,CAAC,EAAEU,CAAC,CAACH,MAAM,GAAGF,IAAI,CAACM,GAAG,CAACD,CAAC,CAACN,KAAK,CAAC;IAC/BH,CAAC,EAAES,CAAC,CAACH,MAAM,GAAGF,IAAI,CAACO,GAAG,CAACF,CAAC,CAACN,KAAK;EAChC,CAAC;AACH,CAAC;AAED,OAAO,MAAMS,YAAY,GAAGA,CAACH,CAAa,EAAEX,MAAc,KAAK;EAC7D,SAAS;;EACT,OAAOG,gBAAgB,CAACO,eAAe,CAACC,CAAC,CAAC,EAAEX,MAAM,CAAC;AACrD,CAAC;AAED,OAAO,MAAMe,YAAY,GAAGA,CAAChB,CAAS,EAAEC,MAAc,KAAK;EACzD,SAAS;;EACT,OAAOI,eAAe,CAACN,gBAAgB,CAACC,CAAC,EAAEC,MAAM,CAAC,CAAC;AACrD,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["mix","value","x","y","clamp","lowerBound","upperBound","Math","min","max","saturate"],"sources":["Math.ts"],"sourcesContent":["/**\n * Linear interpolation\n * @param value\n * @param x\n * @param y\n */\nexport const mix = (value: number, x: number, y: number) => {\n \"worklet\";\n return x * (1 - value) + y * value;\n};\n\n/**\n * @summary Clamps a node with a lower and upper bound.\n * @example\n clamp(-1, 0, 100); // 0\n clamp(1, 0, 100); // 1\n clamp(101, 0, 100); // 100\n */\nexport const clamp = (\n value: number,\n lowerBound: number,\n upperBound: number\n) => {\n \"worklet\";\n return Math.min(Math.max(lowerBound, value), upperBound);\n};\n\nexport const saturate = (value: number) => {\n \"worklet\";\n return clamp(value, 0, 1);\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,GAAG,GAAGA,CAACC,KAAa,EAAEC,CAAS,EAAEC,CAAS,KAAK;EAC1D,SAAS;;EACT,OAAOD,CAAC,IAAI,CAAC,GAAGD,KAAK,CAAC,GAAGE,CAAC,GAAGF,KAAK;AACpC,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMG,KAAK,GAAGA,CACnBH,KAAa,EACbI,UAAkB,EAClBC,UAAkB,KACf;EACH,SAAS;;EACT,OAAOC,IAAI,CAACC,GAAG,CAACD,IAAI,CAACE,GAAG,CAACJ,UAAU,EAAEJ,KAAK,CAAC,EAAEK,UAAU,CAAC;AAC1D,CAAC;AAED,OAAO,MAAMI,QAAQ,GAAIT,KAAa,IAAK;EACzC,SAAS;;EACT,OAAOG,KAAK,CAACH,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AAC3B,CAAC"}
|
1
|
+
{"version":3,"names":["mix","value","x","y","clamp","lowerBound","upperBound","Math","min","max","saturate"],"sources":["Math.ts"],"sourcesContent":["/**\n * Linear interpolation\n * @param value\n * @param x\n * @param y\n */\nexport const mix = (value: number, x: number, y: number) => {\n \"worklet\";\n return x * (1 - value) + y * value;\n};\n\n/**\n * @summary Clamps a node with a lower and upper bound.\n * @example\n clamp(-1, 0, 100); // 0\n clamp(1, 0, 100); // 1\n clamp(101, 0, 100); // 100\n */\nexport const clamp = (\n value: number,\n lowerBound: number,\n upperBound: number\n) => {\n \"worklet\";\n return Math.min(Math.max(lowerBound, value), upperBound);\n};\n\nexport const saturate = (value: number) => {\n \"worklet\";\n return clamp(value, 0, 1);\n};\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMA,GAAG,GAAGA,CAACC,KAAa,EAAEC,CAAS,EAAEC,CAAS,KAAK;EAC1D,SAAS;;EACT,OAAOD,CAAC,IAAI,CAAC,GAAGD,KAAK,CAAC,GAAGE,CAAC,GAAGF,KAAK;AACpC,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMG,KAAK,GAAGA,CACnBH,KAAa,EACbI,UAAkB,EAClBC,UAAkB,KACf;EACH,SAAS;;EACT,OAAOC,IAAI,CAACC,GAAG,CAACD,IAAI,CAACE,GAAG,CAACJ,UAAU,EAAEJ,KAAK,CAAC,EAAEK,UAAU,CAAC;AAC1D,CAAC;AAED,OAAO,MAAMI,QAAQ,GAAIT,KAAa,IAAK;EACzC,SAAS;;EACT,OAAOG,KAAK,CAACH,KAAK,EAAE,CAAC,EAAE,CAAC,CAAC;AAC3B,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["canvas2Polar","polar2Canvas","rotate","tr","origin","rotation","radius","theta"],"sources":["Transforms.ts"],"sourcesContent":["import type { Vector } from \"../../../skia/types\";\n\nimport { canvas2Polar, polar2Canvas } from \"./Coordinates\";\n\nexport const rotate = (tr: Vector, origin: Vector, rotation: number) => {\n \"worklet\";\n const { radius, theta } = canvas2Polar(tr, origin);\n return polar2Canvas({ radius, theta: theta + rotation }, origin);\n};\n"],"mappings":"AAEA,SAASA,YAAY,EAAEC,YAAY,QAAQ,eAAe;AAE1D,OAAO,MAAMC,MAAM,GAAGA,CAACC,EAAU,EAAEC,MAAc,EAAEC,QAAgB,KAAK;EACtE,SAAS;;EACT,MAAM;IAAEC,MAAM;IAAEC;EAAM,CAAC,GAAGP,YAAY,CAACG,EAAE,EAAEC,MAAM,CAAC;EAClD,OAAOH,YAAY,CAAC;IAAEK,MAAM;IAAEC,KAAK,EAAEA,KAAK,GAAGF;EAAS,CAAC,EAAED,MAAM,CAAC;AAClE,CAAC"}
|
1
|
+
{"version":3,"names":["canvas2Polar","polar2Canvas","rotate","tr","origin","rotation","radius","theta"],"sources":["Transforms.ts"],"sourcesContent":["import type { Vector } from \"../../../skia/types\";\n\nimport { canvas2Polar, polar2Canvas } from \"./Coordinates\";\n\nexport const rotate = (tr: Vector, origin: Vector, rotation: number) => {\n \"worklet\";\n const { radius, theta } = canvas2Polar(tr, origin);\n return polar2Canvas({ radius, theta: theta + rotation }, origin);\n};\n"],"mappings":"AAEA,SAASA,YAAY,EAAEC,YAAY,QAAQ,eAAe;AAE1D,OAAO,MAAMC,MAAM,GAAGA,CAACC,EAAU,EAAEC,MAAc,EAAEC,QAAgB,KAAK;EACtE,SAAS;;EACT,MAAM;IAAEC,MAAM;IAAEC;EAAM,CAAC,GAAGP,YAAY,CAACG,EAAE,EAAEC,MAAM,CAAC;EAClD,OAAOH,YAAY,CAAC;IAAEK,MAAM;IAAEC,KAAK,EAAEA,KAAK,GAAGF;EAAS,CAAC,EAAED,MAAM,CAAC;AAClE,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./Coordinates\";\nexport * from \"./Math\";\nexport * from \"./Transforms\";\n"],"mappings":"AAAA,cAAc,eAAe;AAC7B,cAAc,QAAQ;AACtB,cAAc,cAAc"}
|
1
|
+
{"version":3,"names":[],"sources":["index.ts"],"sourcesContent":["export * from \"./Coordinates\";\nexport * from \"./Math\";\nexport * from \"./Transforms\";\n"],"mappings":"AAAA,cAAc,eAAe;AAC7B,cAAc,QAAQ;AACtB,cAAc,cAAc","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["mapKeys","obj","Object","keys","exhaustiveCheck","a","Error","shallowEq","p1","p2","keys1","keys2","length","key"],"sources":["typeddash.ts"],"sourcesContent":["export const mapKeys = <T extends object>(obj: T) =>\n Object.keys(obj) as (keyof T)[];\n\nexport const exhaustiveCheck = (a: never): never => {\n \"worklet\";\n throw new Error(`Unexhaustive handling for ${a}`);\n};\n\n// Shallow eq on props (without children)\nexport const shallowEq = <P extends object>(p1: P, p2: P): boolean => {\n const keys1 = mapKeys(p1);\n const keys2 = mapKeys(p2);\n if (keys1.length !== keys2.length) {\n return false;\n }\n for (const key of keys1) {\n if (key === \"children\") {\n continue;\n }\n if (p1[key] !== p2[key]) {\n return false;\n }\n }\n return true;\n};\n"],"mappings":"AAAA,OAAO,MAAMA,OAAO,GAAsBC,GAAM,IAC9CC,MAAM,CAACC,IAAI,CAACF,GAAG,CAAgB;AAEjC,OAAO,MAAMG,eAAe,GAAIC,CAAQ,IAAY;EAClD,SAAS;;EACT,MAAM,IAAIC,KAAK,
|
1
|
+
{"version":3,"names":["mapKeys","obj","Object","keys","exhaustiveCheck","a","Error","shallowEq","p1","p2","keys1","keys2","length","key"],"sources":["typeddash.ts"],"sourcesContent":["export const mapKeys = <T extends object>(obj: T) =>\n Object.keys(obj) as (keyof T)[];\n\nexport const exhaustiveCheck = (a: never): never => {\n \"worklet\";\n throw new Error(`Unexhaustive handling for ${a}`);\n};\n\n// Shallow eq on props (without children)\nexport const shallowEq = <P extends object>(p1: P, p2: P): boolean => {\n const keys1 = mapKeys(p1);\n const keys2 = mapKeys(p2);\n if (keys1.length !== keys2.length) {\n return false;\n }\n for (const key of keys1) {\n if (key === \"children\") {\n continue;\n }\n if (p1[key] !== p2[key]) {\n return false;\n }\n }\n return true;\n};\n"],"mappings":"AAAA,OAAO,MAAMA,OAAO,GAAsBC,GAAM,IAC9CC,MAAM,CAACC,IAAI,CAACF,GAAG,CAAgB;AAEjC,OAAO,MAAMG,eAAe,GAAIC,CAAQ,IAAY;EAClD,SAAS;;EACT,MAAM,IAAIC,KAAK,CAAC,6BAA6BD,CAAC,EAAE,CAAC;AACnD,CAAC;;AAED;AACA,OAAO,MAAME,SAAS,GAAGA,CAAmBC,EAAK,EAAEC,EAAK,KAAc;EACpE,MAAMC,KAAK,GAAGV,OAAO,CAACQ,EAAE,CAAC;EACzB,MAAMG,KAAK,GAAGX,OAAO,CAACS,EAAE,CAAC;EACzB,IAAIC,KAAK,CAACE,MAAM,KAAKD,KAAK,CAACC,MAAM,EAAE;IACjC,OAAO,KAAK;EACd;EACA,KAAK,MAAMC,GAAG,IAAIH,KAAK,EAAE;IACvB,IAAIG,GAAG,KAAK,UAAU,EAAE;MACtB;IACF;IACA,IAAIL,EAAE,CAACK,GAAG,CAAC,KAAKJ,EAAE,CAACI,GAAG,CAAC,EAAE;MACvB,OAAO,KAAK;IACd;EACF;EACA,OAAO,IAAI;AACb,CAAC","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["Platform","NativeSkiaModule","OS","global","SkiaApi","SkiaModule","install","Error","result"],"sources":["NativeSetup.ts"],"sourcesContent":["import { Platform } from \"../Platform\";\nimport NativeSkiaModule from \"../specs/NativeSkiaModule\";\n\nif (Platform.OS !== \"web\" && global.SkiaApi == null) {\n // Initialize RN Skia\n const SkiaModule = NativeSkiaModule;\n if (SkiaModule == null || typeof SkiaModule.install !== \"function\") {\n throw new Error(\n \"Native RNSkia Module cannot be found! Make sure you correctly \" +\n \"installed native dependencies and rebuilt your app.\"\n );\n }\n const result = SkiaModule.install();\n if (result !== true) {\n throw new Error(\n `Native Skia Module failed to correctly install JSI Bindings! Result: ${result}`\n );\n }\n}\n"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,aAAa;AACtC,OAAOC,gBAAgB,MAAM,2BAA2B;AAExD,IAAID,QAAQ,CAACE,EAAE,KAAK,KAAK,IAAIC,MAAM,CAACC,OAAO,IAAI,IAAI,EAAE;EACnD;EACA,MAAMC,UAAU,GAAGJ,gBAAgB;EACnC,IAAII,UAAU,IAAI,IAAI,IAAI,OAAOA,UAAU,CAACC,OAAO,KAAK,UAAU,EAAE;IAClE,MAAM,IAAIC,KAAK,CACb,gEAAgE,GAC9D,qDACJ,CAAC;EACH;EACA,MAAMC,MAAM,GAAGH,UAAU,CAACC,OAAO,CAAC,CAAC;EACnC,IAAIE,MAAM,KAAK,IAAI,EAAE;IACnB,MAAM,IAAID,KAAK,
|
1
|
+
{"version":3,"names":["Platform","NativeSkiaModule","OS","global","SkiaApi","SkiaModule","install","Error","result"],"sources":["NativeSetup.ts"],"sourcesContent":["import { Platform } from \"../Platform\";\nimport NativeSkiaModule from \"../specs/NativeSkiaModule\";\n\nif (Platform.OS !== \"web\" && global.SkiaApi == null) {\n // Initialize RN Skia\n const SkiaModule = NativeSkiaModule;\n if (SkiaModule == null || typeof SkiaModule.install !== \"function\") {\n throw new Error(\n \"Native RNSkia Module cannot be found! Make sure you correctly \" +\n \"installed native dependencies and rebuilt your app.\"\n );\n }\n const result = SkiaModule.install();\n if (result !== true) {\n throw new Error(\n `Native Skia Module failed to correctly install JSI Bindings! Result: ${result}`\n );\n }\n}\n"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,aAAa;AACtC,OAAOC,gBAAgB,MAAM,2BAA2B;AAExD,IAAID,QAAQ,CAACE,EAAE,KAAK,KAAK,IAAIC,MAAM,CAACC,OAAO,IAAI,IAAI,EAAE;EACnD;EACA,MAAMC,UAAU,GAAGJ,gBAAgB;EACnC,IAAII,UAAU,IAAI,IAAI,IAAI,OAAOA,UAAU,CAACC,OAAO,KAAK,UAAU,EAAE;IAClE,MAAM,IAAIC,KAAK,CACb,gEAAgE,GAC9D,qDACJ,CAAC;EACH;EACA,MAAMC,MAAM,GAAGH,UAAU,CAACC,OAAO,CAAC,CAAC;EACnC,IAAIE,MAAM,KAAK,IAAI,EAAE;IACnB,MAAM,IAAID,KAAK,CACb,wEAAwEC,MAAM,EAChF,CAAC;EACH;AACF","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["Skia","SkiaApi"],"sources":["Skia.ts"],"sourcesContent":["/*global SkiaApi*/\nimport type { Skia as SkSkiaApi } from \"./types\";\n\n/**\n * Declares the SkiaApi as an available object in the global scope\n */\ndeclare global {\n var SkiaApi: SkSkiaApi;\n}\n\nexport const Skia = SkiaApi;\n"],"mappings":"AAAA;;AAGA;AACA;AACA;;AAKA,OAAO,MAAMA,IAAI,GAAGC,OAAO"}
|
1
|
+
{"version":3,"names":["Skia","SkiaApi"],"sources":["Skia.ts"],"sourcesContent":["/*global SkiaApi*/\nimport type { Skia as SkSkiaApi } from \"./types\";\n\n/**\n * Declares the SkiaApi as an available object in the global scope\n */\ndeclare global {\n var SkiaApi: SkSkiaApi;\n}\n\nexport const Skia = SkiaApi;\n"],"mappings":"AAAA;;AAGA;AACA;AACA;;AAKA,OAAO,MAAMA,IAAI,GAAGC,OAAO","ignoreList":[]}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["JsiSkApi","Skia","global","CanvasKit"],"sources":["Skia.web.ts"],"sourcesContent":["import { JsiSkApi } from \"./web\";\n\nexport const Skia = JsiSkApi(global.CanvasKit);\n"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,OAAO;AAEhC,OAAO,MAAMC,IAAI,GAAGD,QAAQ,CAACE,MAAM,CAACC,SAAS,CAAC"}
|
1
|
+
{"version":3,"names":["JsiSkApi","Skia","global","CanvasKit"],"sources":["Skia.web.ts"],"sourcesContent":["import { JsiSkApi } from \"./web\";\n\nexport const Skia = JsiSkApi(global.CanvasKit);\n"],"mappings":"AAAA,SAASA,QAAQ,QAAQ,OAAO;AAEhC,OAAO,MAAMC,IAAI,GAAGD,QAAQ,CAACE,MAAM,CAACC,SAAS,CAAC","ignoreList":[]}
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import type { Node } from "../../dom/types";
|
2
|
+
import { Skia } from "../types";
|
3
|
+
import { JsiSkApi } from "../web";
|
4
|
+
declare let Skia: ReturnType<typeof JsiSkApi>;
|
5
|
+
export declare const setupSkia: (width?: number, height?: number) => {
|
6
|
+
surface: import("../types").SkSurface;
|
7
|
+
width: number;
|
8
|
+
height: number;
|
9
|
+
center: {
|
10
|
+
x: number;
|
11
|
+
y: number;
|
12
|
+
};
|
13
|
+
canvas: import("../types").SkCanvas;
|
14
|
+
Skia: Skia;
|
15
|
+
CanvasKit: import("canvaskit-wasm").CanvasKit;
|
16
|
+
};
|
17
|
+
export declare const printAsXML: (node: Node<unknown>) => void;
|
18
|
+
export declare const asXML: (node: Node<unknown>, indent?: number) => string;
|
19
|
+
export {};
|
@@ -2,4 +2,4 @@ import type { DataSourceParam } from "../types";
|
|
2
2
|
/**
|
3
3
|
* Returns a Skia Animated Image object
|
4
4
|
* */
|
5
|
-
export declare const useAnimatedImage: (source: DataSourceParam, onError?: (
|
5
|
+
export declare const useAnimatedImage: (source: DataSourceParam, onError?: (err: Error) => void, managed?: boolean) => import("../types").SkAnimatedImage | null;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["Skia","useRawData","animatedImgFactory","AnimatedImage","MakeAnimatedImageFromEncoded","bind","useAnimatedImage","source","onError","managed"],"sources":["AnimatedImage.ts"],"sourcesContent":["import { Skia } from \"../Skia\";\nimport type { DataSourceParam } from \"../types\";\n\nimport { useRawData } from \"./Data\";\n\nconst animatedImgFactory = Skia.AnimatedImage.MakeAnimatedImageFromEncoded.bind(\n Skia.AnimatedImage\n);\n\n/**\n * Returns a Skia Animated Image object\n * */\nexport const useAnimatedImage = (\n source: DataSourceParam,\n onError?: (err: Error) => void,\n managed = true\n) => useRawData(source, animatedImgFactory, onError, managed);\n"],"mappings":"AAAA,SAASA,IAAI,QAAQ,SAAS;AAG9B,SAASC,UAAU,QAAQ,QAAQ;AAEnC,MAAMC,kBAAkB,GAAGF,IAAI,CAACG,aAAa,CAACC,4BAA4B,CAACC,IAAI,CAC7EL,IAAI,CAACG,aACP,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMG,gBAAgB,GAAGA,CAC9BC,MAAuB,EACvBC,OAA8B,EAC9BC,OAAO,GAAG,IAAI,KACXR,UAAU,CAACM,MAAM,EAAEL,kBAAkB,EAAEM,OAAO,EAAEC,OAAO,CAAC"}
|
1
|
+
{"version":3,"names":["Skia","useRawData","animatedImgFactory","AnimatedImage","MakeAnimatedImageFromEncoded","bind","useAnimatedImage","source","onError","managed"],"sources":["AnimatedImage.ts"],"sourcesContent":["import { Skia } from \"../Skia\";\nimport type { DataSourceParam } from \"../types\";\n\nimport { useRawData } from \"./Data\";\n\nconst animatedImgFactory = Skia.AnimatedImage.MakeAnimatedImageFromEncoded.bind(\n Skia.AnimatedImage\n);\n\n/**\n * Returns a Skia Animated Image object\n * */\nexport const useAnimatedImage = (\n source: DataSourceParam,\n onError?: (err: Error) => void,\n managed = true\n) => useRawData(source, animatedImgFactory, onError, managed);\n"],"mappings":"AAAA,SAASA,IAAI,QAAQ,SAAS;AAG9B,SAASC,UAAU,QAAQ,QAAQ;AAEnC,MAAMC,kBAAkB,GAAGF,IAAI,CAACG,aAAa,CAACC,4BAA4B,CAACC,IAAI,CAC7EL,IAAI,CAACG,aACP,CAAC;;AAED;AACA;AACA;AACA,OAAO,MAAMG,gBAAgB,GAAGA,CAC9BC,MAAuB,EACvBC,OAA8B,EAC9BC,OAAO,GAAG,IAAI,KACXR,UAAU,CAACM,MAAM,EAAEL,kBAAkB,EAAEM,OAAO,EAAEC,OAAO,CAAC","ignoreList":[]}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import type { SkData, DataSourceParam, SkJSIInstance } from "../types";
|
2
|
-
export declare const loadData: <T>(source: DataSourceParam, factory: (data: SkData) => T | null, onError?: (
|
2
|
+
export declare const loadData: <T>(source: DataSourceParam, factory: (data: SkData) => T | null, onError?: (err: Error) => void) => Promise<T | null>;
|
3
3
|
export declare const useCollectionLoading: <T extends SkJSIInstance<string>>(source: DataSourceParam[], loader: () => Promise<(T | null)[]>) => T[] | null;
|
4
|
-
export declare const useRawData: <T extends SkJSIInstance<string>>(source: DataSourceParam, factory: (data: SkData) => T | null, onError?: (
|
5
|
-
export declare const useData: (source: DataSourceParam, onError?: (
|
4
|
+
export declare const useRawData: <T extends SkJSIInstance<string>>(source: DataSourceParam, factory: (data: SkData) => T | null, onError?: (err: Error) => void, manage?: boolean) => T | null;
|
5
|
+
export declare const useData: (source: DataSourceParam, onError?: (err: Error) => void) => SkData | null;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"names":["useEffect","useRef","useState","Skia","Platform","factoryWrapper","data2","factory","onError","factoryResult","Error","loadData","source","undefined","Promise","resolve","Uint8Array","Data","fromBytes","uri","resolveAsset","fromURI","then","d","useLoading","loader","manage","mounted","data","setData","dataRef","current","value","_dataRef$current","dispose","useCollectionLoading","result","filter","r","_dataRef$current2","forEach","instance","useRawData","identity","useData"],"sources":["Data.ts"],"sourcesContent":["import { useEffect, useRef, useState } from \"react\";\n\nimport { Skia } from \"../Skia\";\nimport type { SkData, DataSourceParam, SkJSIInstance } from \"../types\";\nimport { Platform } from \"../../Platform\";\n\nconst factoryWrapper = <T>(\n data2: SkData,\n factory: (data: SkData) => T,\n onError?: (err: Error) => void\n) => {\n const factoryResult = factory(data2);\n if (factoryResult === null) {\n onError && onError(new Error(\"Could not load data\"));\n return null;\n } else {\n return factoryResult;\n }\n};\n\nexport const loadData = <T>(\n source: DataSourceParam,\n factory: (data: SkData) => T | null,\n onError?: (err: Error) => void\n): Promise<T | null> => {\n if (source === null || source === undefined) {\n return new Promise((resolve) => resolve(null));\n } else if (source instanceof Uint8Array) {\n return new Promise((resolve) =>\n resolve(factoryWrapper(Skia.Data.fromBytes(source), factory, onError))\n );\n } else {\n const uri =\n typeof source === \"string\" ? source : Platform.resolveAsset(source);\n return Skia.Data.fromURI(uri).then((d) =>\n factoryWrapper(d, factory, onError)\n );\n }\n};\n\nconst useLoading = <T extends SkJSIInstance<string>>(\n source: DataSourceParam,\n loader: () => Promise<T | null>,\n manage = true\n) => {\n const mounted = useRef(false);\n const [data, setData] = useState<T | null>(null);\n const dataRef = useRef<T | null>(null);\n useEffect(() => {\n mounted.current = true;\n loader().then((value) => {\n if (mounted.current) {\n setData(value);\n dataRef.current = value;\n }\n });\n return () => {\n if (manage) {\n dataRef.current?.dispose();\n }\n mounted.current = false;\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [source]);\n return data;\n};\n\nexport const useCollectionLoading = <T extends SkJSIInstance<string>>(\n source: DataSourceParam[],\n loader: () => Promise<(T | null)[]>\n) => {\n const mounted = useRef(false);\n const [data, setData] = useState<T[] | null>(null);\n const dataRef = useRef<T[] | null>(null);\n\n useEffect(() => {\n mounted.current = true;\n loader().then((result) => {\n const value = result.filter((r) => r !== null) as T[];\n if (mounted.current) {\n setData(value);\n dataRef.current = value;\n }\n });\n\n return () => {\n dataRef.current?.forEach((instance) => instance?.dispose());\n mounted.current = false;\n };\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [source]);\n\n return data;\n};\n\nexport const useRawData = <T extends SkJSIInstance<string>>(\n source: DataSourceParam,\n factory: (data: SkData) => T | null,\n onError?: (err: Error) => void,\n manage = true\n) => useLoading(source, () => loadData<T>(source, factory, onError), manage);\n\nconst identity = (data: SkData) => data;\n\nexport const useData = (\n source: DataSourceParam,\n onError?: (err: Error) => void\n) => useRawData(source, identity, onError);\n"],"mappings":"AAAA,SAASA,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AAEnD,SAASC,IAAI,QAAQ,SAAS;AAE9B,SAASC,QAAQ,QAAQ,gBAAgB;AAEzC,MAAMC,cAAc,GAAGA,CACrBC,KAAa,EACbC,OAA4B,EAC5BC,OAA8B,KAC3B;EACH,MAAMC,aAAa,GAAGF,OAAO,CAACD,KAAK,CAAC;EACpC,IAAIG,aAAa,KAAK,IAAI,EAAE;IAC1BD,OAAO,IAAIA,OAAO,CAAC,IAAIE,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACpD,OAAO,IAAI;EACb,CAAC,MAAM;IACL,OAAOD,aAAa;EACtB;AACF,CAAC;AAED,OAAO,MAAME,QAAQ,GAAGA,CACtBC,MAAuB,EACvBL,OAAmC,EACnCC,OAA8B,KACR;EACtB,IAAII,MAAM,KAAK,IAAI,IAAIA,MAAM,KAAKC,SAAS,EAAE;IAC3C,OAAO,IAAIC,OAAO,CAAEC,OAAO,IAAKA,OAAO,CAAC,IAAI,CAAC,CAAC;EAChD,CAAC,MAAM,IAAIH,MAAM,YAAYI,UAAU,EAAE;IACvC,OAAO,IAAIF,OAAO,CAAEC,OAAO,IACzBA,OAAO,CAACV,cAAc,CAACF,IAAI,CAACc,IAAI,CAACC,SAAS,CAACN,MAAM,CAAC,EAAEL,OAAO,EAAEC,OAAO,CAAC,CACvE,CAAC;EACH,CAAC,MAAM;IACL,MAAMW,GAAG,GACP,OAAOP,MAAM,KAAK,QAAQ,GAAGA,MAAM,GAAGR,QAAQ,CAACgB,YAAY,CAACR,MAAM,CAAC;IACrE,OAAOT,IAAI,CAACc,IAAI,CAACI,OAAO,CAACF,GAAG,CAAC,CAACG,IAAI,CAAEC,CAAC,IACnClB,cAAc,CAACkB,CAAC,EAAEhB,OAAO,EAAEC,OAAO,CACpC,CAAC;EACH;AACF,CAAC;AAED,MAAMgB,UAAU,GAAGA,CACjBZ,MAAuB,EACvBa,MAA+B,EAC/BC,MAAM,GAAG,IAAI,KACV;EACH,MAAMC,OAAO,GAAG1B,MAAM,CAAC,KAAK,CAAC;EAC7B,MAAM,CAAC2B,IAAI,EAAEC,OAAO,CAAC,GAAG3B,QAAQ,CAAW,IAAI,CAAC;EAChD,MAAM4B,OAAO,GAAG7B,MAAM,CAAW,IAAI,CAAC;EACtCD,SAAS,CAAC,MAAM;IACd2B,OAAO,CAACI,OAAO,GAAG,IAAI;IACtBN,MAAM,CAAC,CAAC,CAACH,IAAI,CAAEU,KAAK,IAAK;MACvB,IAAIL,OAAO,CAACI,OAAO,EAAE;QACnBF,OAAO,CAACG,KAAK,CAAC;QACdF,OAAO,CAACC,OAAO,GAAGC,KAAK;MACzB;IACF,CAAC,CAAC;IACF,OAAO,MAAM;MACX,IAAIN,MAAM,EAAE;QAAA,IAAAO,gBAAA;QACV,CAAAA,gBAAA,GAAAH,OAAO,CAACC,OAAO,cAAAE,gBAAA,eAAfA,gBAAA,CAAiBC,OAAO,CAAC,CAAC;MAC5B;MACAP,OAAO,CAACI,OAAO,GAAG,KAAK;IACzB,CAAC;IACD;EACF,CAAC,EAAE,CAACnB,MAAM,CAAC,CAAC;EACZ,OAAOgB,IAAI;AACb,CAAC;AAED,OAAO,MAAMO,oBAAoB,GAAGA,CAClCvB,MAAyB,EACzBa,MAAmC,KAChC;EACH,MAAME,OAAO,GAAG1B,MAAM,CAAC,KAAK,CAAC;EAC7B,MAAM,CAAC2B,IAAI,EAAEC,OAAO,CAAC,GAAG3B,QAAQ,CAAa,IAAI,CAAC;EAClD,MAAM4B,OAAO,GAAG7B,MAAM,CAAa,IAAI,CAAC;EAExCD,SAAS,CAAC,MAAM;IACd2B,OAAO,CAACI,OAAO,GAAG,IAAI;IACtBN,MAAM,CAAC,CAAC,CAACH,IAAI,CAAEc,MAAM,IAAK;MACxB,MAAMJ,KAAK,GAAGI,MAAM,CAACC,MAAM,CAAEC,CAAC,IAAKA,CAAC,KAAK,IAAI,CAAQ;MACrD,IAAIX,OAAO,CAACI,OAAO,EAAE;QACnBF,OAAO,CAACG,KAAK,CAAC;QACdF,OAAO,CAACC,OAAO,GAAGC,KAAK;MACzB;IACF,CAAC,CAAC;IAEF,OAAO,MAAM;MAAA,IAAAO,iBAAA;MACX,CAAAA,iBAAA,GAAAT,OAAO,CAACC,OAAO,cAAAQ,iBAAA,eAAfA,iBAAA,CAAiBC,OAAO,CAAEC,QAAQ,IAAKA,QAAQ,aAARA,QAAQ,uBAARA,QAAQ,CAAEP,OAAO,CAAC,CAAC,CAAC;MAC3DP,OAAO,CAACI,OAAO,GAAG,KAAK;IACzB,CAAC;;IAED;EACF,CAAC,EAAE,CAACnB,MAAM,CAAC,CAAC;EAEZ,OAAOgB,IAAI;AACb,CAAC;AAED,OAAO,MAAMc,UAAU,GAAGA,CACxB9B,MAAuB,EACvBL,OAAmC,EACnCC,OAA8B,EAC9BkB,MAAM,GAAG,IAAI,KACVF,UAAU,CAACZ,MAAM,EAAE,MAAMD,QAAQ,CAAIC,MAAM,EAAEL,OAAO,EAAEC,OAAO,CAAC,EAAEkB,MAAM,CAAC;AAE5E,MAAMiB,QAAQ,GAAIf,IAAY,IAAKA,IAAI;AAEvC,OAAO,MAAMgB,OAAO,GAAGA,CACrBhC,MAAuB,EACvBJ,OAA8B,KAC3BkC,UAAU,CAAC9B,MAAM,EAAE+B,QAAQ,EAAEnC,OAAO,CAAC"}
|
1
|
+
{"version":3,"names":["useEffect","useRef","useState","Skia","Platform","factoryWrapper","data2","factory","onError","factoryResult","Error","loadData","source","undefined","Promise","resolve","Uint8Array","Data","fromBytes","uri","resolveAsset","fromURI","then","d","useLoading","loader","manage","mounted","data","setData","dataRef","current","value","_dataRef$current","dispose","useCollectionLoading","result","filter","r","_dataRef$current2","forEach","instance","useRawData","identity","useData"],"sources":["Data.ts"],"sourcesContent":["import { useEffect, useRef, useState } from \"react\";\n\nimport { Skia } from \"../Skia\";\nimport type { SkData, DataSourceParam, SkJSIInstance } from \"../types\";\nimport { Platform } from \"../../Platform\";\n\nconst factoryWrapper = <T>(\n data2: SkData,\n factory: (data: SkData) => T,\n onError?: (err: Error) => void\n) => {\n const factoryResult = factory(data2);\n if (factoryResult === null) {\n onError && onError(new Error(\"Could not load data\"));\n return null;\n } else {\n return factoryResult;\n }\n};\n\nexport const loadData = <T>(\n source: DataSourceParam,\n factory: (data: SkData) => T | null,\n onError?: (err: Error) => void\n): Promise<T | null> => {\n if (source === null || source === undefined) {\n return new Promise((resolve) => resolve(null));\n } else if (source instanceof Uint8Array) {\n return new Promise((resolve) =>\n resolve(factoryWrapper(Skia.Data.fromBytes(source), factory, onError))\n );\n } else {\n const uri =\n typeof source === \"string\" ? source : Platform.resolveAsset(source);\n return Skia.Data.fromURI(uri).then((d) =>\n factoryWrapper(d, factory, onError)\n );\n }\n};\n\nconst useLoading = <T extends SkJSIInstance<string>>(\n source: DataSourceParam,\n loader: () => Promise<T | null>,\n manage = true\n) => {\n const mounted = useRef(false);\n const [data, setData] = useState<T | null>(null);\n const dataRef = useRef<T | null>(null);\n useEffect(() => {\n mounted.current = true;\n loader().then((value) => {\n if (mounted.current) {\n setData(value);\n dataRef.current = value;\n }\n });\n return () => {\n if (manage) {\n dataRef.current?.dispose();\n }\n mounted.current = false;\n };\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [source]);\n return data;\n};\n\nexport const useCollectionLoading = <T extends SkJSIInstance<string>>(\n source: DataSourceParam[],\n loader: () => Promise<(T | null)[]>\n) => {\n const mounted = useRef(false);\n const [data, setData] = useState<T[] | null>(null);\n const dataRef = useRef<T[] | null>(null);\n\n useEffect(() => {\n mounted.current = true;\n loader().then((result) => {\n const value = result.filter((r) => r !== null) as T[];\n if (mounted.current) {\n setData(value);\n dataRef.current = value;\n }\n });\n\n return () => {\n dataRef.current?.forEach((instance) => instance?.dispose());\n mounted.current = false;\n };\n\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [source]);\n\n return data;\n};\n\nexport const useRawData = <T extends SkJSIInstance<string>>(\n source: DataSourceParam,\n factory: (data: SkData) => T | null,\n onError?: (err: Error) => void,\n manage = true\n) => useLoading(source, () => loadData<T>(source, factory, onError), manage);\n\nconst identity = (data: SkData) => data;\n\nexport const useData = (\n source: DataSourceParam,\n onError?: (err: Error) => void\n) => useRawData(source, identity, onError);\n"],"mappings":"AAAA,SAASA,SAAS,EAAEC,MAAM,EAAEC,QAAQ,QAAQ,OAAO;AAEnD,SAASC,IAAI,QAAQ,SAAS;AAE9B,SAASC,QAAQ,QAAQ,gBAAgB;AAEzC,MAAMC,cAAc,GAAGA,CACrBC,KAAa,EACbC,OAA4B,EAC5BC,OAA8B,KAC3B;EACH,MAAMC,aAAa,GAAGF,OAAO,CAACD,KAAK,CAAC;EACpC,IAAIG,aAAa,KAAK,IAAI,EAAE;IAC1BD,OAAO,IAAIA,OAAO,CAAC,IAAIE,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACpD,OAAO,IAAI;EACb,CAAC,MAAM;IACL,OAAOD,aAAa;EACtB;AACF,CAAC;AAED,OAAO,MAAME,QAAQ,GAAGA,CACtBC,MAAuB,EACvBL,OAAmC,EACnCC,OAA8B,KACR;EACtB,IAAII,MAAM,KAAK,IAAI,IAAIA,MAAM,KAAKC,SAAS,EAAE;IAC3C,OAAO,IAAIC,OAAO,CAAEC,OAAO,IAAKA,OAAO,CAAC,IAAI,CAAC,CAAC;EAChD,CAAC,MAAM,IAAIH,MAAM,YAAYI,UAAU,EAAE;IACvC,OAAO,IAAIF,OAAO,CAAEC,OAAO,IACzBA,OAAO,CAACV,cAAc,CAACF,IAAI,CAACc,IAAI,CAACC,SAAS,CAACN,MAAM,CAAC,EAAEL,OAAO,EAAEC,OAAO,CAAC,CACvE,CAAC;EACH,CAAC,MAAM;IACL,MAAMW,GAAG,GACP,OAAOP,MAAM,KAAK,QAAQ,GAAGA,MAAM,GAAGR,QAAQ,CAACgB,YAAY,CAACR,MAAM,CAAC;IACrE,OAAOT,IAAI,CAACc,IAAI,CAACI,OAAO,CAACF,GAAG,CAAC,CAACG,IAAI,CAAEC,CAAC,IACnClB,cAAc,CAACkB,CAAC,EAAEhB,OAAO,EAAEC,OAAO,CACpC,CAAC;EACH;AACF,CAAC;AAED,MAAMgB,UAAU,GAAGA,CACjBZ,MAAuB,EACvBa,MAA+B,EAC/BC,MAAM,GAAG,IAAI,KACV;EACH,MAAMC,OAAO,GAAG1B,MAAM,CAAC,KAAK,CAAC;EAC7B,MAAM,CAAC2B,IAAI,EAAEC,OAAO,CAAC,GAAG3B,QAAQ,CAAW,IAAI,CAAC;EAChD,MAAM4B,OAAO,GAAG7B,MAAM,CAAW,IAAI,CAAC;EACtCD,SAAS,CAAC,MAAM;IACd2B,OAAO,CAACI,OAAO,GAAG,IAAI;IACtBN,MAAM,CAAC,CAAC,CAACH,IAAI,CAAEU,KAAK,IAAK;MACvB,IAAIL,OAAO,CAACI,OAAO,EAAE;QACnBF,OAAO,CAACG,KAAK,CAAC;QACdF,OAAO,CAACC,OAAO,GAAGC,KAAK;MACzB;IACF,CAAC,CAAC;IACF,OAAO,MAAM;MACX,IAAIN,MAAM,EAAE;QAAA,IAAAO,gBAAA;QACV,CAAAA,gBAAA,GAAAH,OAAO,CAACC,OAAO,cAAAE,gBAAA,eAAfA,gBAAA,CAAiBC,OAAO,CAAC,CAAC;MAC5B;MACAP,OAAO,CAACI,OAAO,GAAG,KAAK;IACzB,CAAC;IACD;EACF,CAAC,EAAE,CAACnB,MAAM,CAAC,CAAC;EACZ,OAAOgB,IAAI;AACb,CAAC;AAED,OAAO,MAAMO,oBAAoB,GAAGA,CAClCvB,MAAyB,EACzBa,MAAmC,KAChC;EACH,MAAME,OAAO,GAAG1B,MAAM,CAAC,KAAK,CAAC;EAC7B,MAAM,CAAC2B,IAAI,EAAEC,OAAO,CAAC,GAAG3B,QAAQ,CAAa,IAAI,CAAC;EAClD,MAAM4B,OAAO,GAAG7B,MAAM,CAAa,IAAI,CAAC;EAExCD,SAAS,CAAC,MAAM;IACd2B,OAAO,CAACI,OAAO,GAAG,IAAI;IACtBN,MAAM,CAAC,CAAC,CAACH,IAAI,CAAEc,MAAM,IAAK;MACxB,MAAMJ,KAAK,GAAGI,MAAM,CAACC,MAAM,CAAEC,CAAC,IAAKA,CAAC,KAAK,IAAI,CAAQ;MACrD,IAAIX,OAAO,CAACI,OAAO,EAAE;QACnBF,OAAO,CAACG,KAAK,CAAC;QACdF,OAAO,CAACC,OAAO,GAAGC,KAAK;MACzB;IACF,CAAC,CAAC;IAEF,OAAO,MAAM;MAAA,IAAAO,iBAAA;MACX,CAAAA,iBAAA,GAAAT,OAAO,CAACC,OAAO,cAAAQ,iBAAA,eAAfA,iBAAA,CAAiBC,OAAO,CAAEC,QAAQ,IAAKA,QAAQ,aAARA,QAAQ,uBAARA,QAAQ,CAAEP,OAAO,CAAC,CAAC,CAAC;MAC3DP,OAAO,CAACI,OAAO,GAAG,KAAK;IACzB,CAAC;;IAED;EACF,CAAC,EAAE,CAACnB,MAAM,CAAC,CAAC;EAEZ,OAAOgB,IAAI;AACb,CAAC;AAED,OAAO,MAAMc,UAAU,GAAGA,CACxB9B,MAAuB,EACvBL,OAAmC,EACnCC,OAA8B,EAC9BkB,MAAM,GAAG,IAAI,KACVF,UAAU,CAACZ,MAAM,EAAE,MAAMD,QAAQ,CAAIC,MAAM,EAAEL,OAAO,EAAEC,OAAO,CAAC,EAAEkB,MAAM,CAAC;AAE5E,MAAMiB,QAAQ,GAAIf,IAAY,IAAKA,IAAI;AAEvC,OAAO,MAAMgB,OAAO,GAAGA,CACrBhC,MAAuB,EACvBJ,OAA8B,KAC3BkC,UAAU,CAAC9B,MAAM,EAAE+B,QAAQ,EAAEnC,OAAO,CAAC","ignoreList":[]}
|
@@ -3,7 +3,7 @@ import type { SkTypefaceFontProvider } from "../types/Paragraph/TypefaceFontProv
|
|
3
3
|
/**
|
4
4
|
* Returns a Skia Font object
|
5
5
|
* */
|
6
|
-
export declare const useFont: (font: DataSourceParam, size?: number, onError?: (
|
6
|
+
export declare const useFont: (font: DataSourceParam, size?: number, onError?: (err: Error) => void) => import("../types").SkFont | null;
|
7
7
|
type Slant = "normal" | "italic" | "oblique";
|
8
8
|
type Weight = "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900";
|
9
9
|
interface RNFontStyle {
|