@aznabee/freehand-ui 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/native.cjs +2 -12
- package/dist/native.js +2 -1
- package/package.json +1 -1
package/dist/native.cjs
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
var __create = Object.create;
|
|
2
1
|
var __defProp = Object.defineProperty;
|
|
3
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf;
|
|
6
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
5
|
var __export = (target, all) => {
|
|
8
6
|
for (var name in all)
|
|
@@ -16,14 +14,6 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
14
|
}
|
|
17
15
|
return to;
|
|
18
16
|
};
|
|
19
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
20
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
21
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
22
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
23
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
24
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
25
|
-
mod
|
|
26
|
-
));
|
|
27
17
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
28
18
|
|
|
29
19
|
// src/native/react-native.js
|
|
@@ -36,7 +26,7 @@ __export(react_native_exports, {
|
|
|
36
26
|
module.exports = __toCommonJS(react_native_exports);
|
|
37
27
|
var import_react = require("react");
|
|
38
28
|
var import_react_native = require("react-native");
|
|
39
|
-
var import_react_native_svg =
|
|
29
|
+
var import_react_native_svg = require("react-native-svg");
|
|
40
30
|
|
|
41
31
|
// src/animation.js
|
|
42
32
|
var STYLE_MARKER = "data-freehand-animation";
|
|
@@ -2229,7 +2219,7 @@ function LayerSvg({ nodes, bounds, clock, prefix }) {
|
|
|
2229
2219
|
const context = { defs: [], clock, prefix };
|
|
2230
2220
|
const content = nodes.map((node, index) => renderNode(node, index, context));
|
|
2231
2221
|
return (0, import_react.createElement)(
|
|
2232
|
-
import_react_native_svg.
|
|
2222
|
+
import_react_native_svg.Svg,
|
|
2233
2223
|
{
|
|
2234
2224
|
style: import_react_native.StyleSheet.absoluteFill,
|
|
2235
2225
|
width: bounds.width,
|
package/dist/native.js
CHANGED
package/package.json
CHANGED