@tamagui/react-native-svg 2.0.0-rc.4 → 2.0.0-rc.40
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/.turbo/turbo-build.log +1 -1
- package/dist/cjs/index.cjs +111 -109
- package/dist/cjs/index.native.js +26 -24
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/esm/index.js +101 -35
- package/dist/esm/index.js.map +1 -6
- package/dist/esm/index.mjs +99 -99
- package/dist/esm/index.mjs.map +1 -1
- package/package.json +6 -9
- package/dist/cjs/index.js +0 -54
- package/dist/cjs/index.js.map +0 -6
package/.turbo/turbo-build.log
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
$ tamagui-build
|
|
2
|
-
built @tamagui/react-native-svg in
|
|
2
|
+
built @tamagui/react-native-svg in 186 ms
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -3,20 +3,22 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
5
|
var __export = (target, all) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: true
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
13
14
|
get: () => from[key],
|
|
14
15
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
16
|
});
|
|
16
|
-
|
|
17
|
-
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
18
20
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
-
value:
|
|
21
|
+
value: true
|
|
20
22
|
}), mod);
|
|
21
23
|
var index_exports = {};
|
|
22
24
|
__export(index_exports, {
|
|
@@ -50,103 +52,103 @@ __export(index_exports, {
|
|
|
50
52
|
module.exports = __toCommonJS(index_exports);
|
|
51
53
|
var import_react = require("react");
|
|
52
54
|
const Circle = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("circle", {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
55
|
+
...p,
|
|
56
|
+
ref
|
|
57
|
+
}));
|
|
58
|
+
const ClipPath = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("clipPath", {
|
|
59
|
+
...p,
|
|
60
|
+
ref
|
|
61
|
+
}));
|
|
62
|
+
const Defs = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("defs", {
|
|
63
|
+
...p,
|
|
64
|
+
ref
|
|
65
|
+
}));
|
|
66
|
+
const Ellipse = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("ellipse", {
|
|
67
|
+
...p,
|
|
68
|
+
ref
|
|
69
|
+
}));
|
|
70
|
+
const ForeignObject = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("foreignObject", {
|
|
71
|
+
...p,
|
|
72
|
+
ref
|
|
73
|
+
}));
|
|
74
|
+
const G = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("g", {
|
|
75
|
+
...p,
|
|
76
|
+
ref
|
|
77
|
+
}));
|
|
78
|
+
const Image = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("image", {
|
|
79
|
+
...p,
|
|
80
|
+
ref
|
|
81
|
+
}));
|
|
82
|
+
const Line = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("line", {
|
|
83
|
+
...p,
|
|
84
|
+
ref
|
|
85
|
+
}));
|
|
86
|
+
const LinearGradient = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("linearGradient", {
|
|
87
|
+
...p,
|
|
88
|
+
ref
|
|
89
|
+
}));
|
|
90
|
+
const Marker = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("marker", {
|
|
91
|
+
...p,
|
|
92
|
+
ref
|
|
93
|
+
}));
|
|
94
|
+
const Mask = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("mask", {
|
|
95
|
+
...p,
|
|
96
|
+
ref
|
|
97
|
+
}));
|
|
98
|
+
const Path = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("path", {
|
|
99
|
+
...p,
|
|
100
|
+
ref
|
|
101
|
+
}));
|
|
102
|
+
const Pattern = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("pattern", {
|
|
103
|
+
...p,
|
|
104
|
+
ref
|
|
105
|
+
}));
|
|
106
|
+
const Polygon = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("polygon", {
|
|
107
|
+
...p,
|
|
108
|
+
ref
|
|
109
|
+
}));
|
|
110
|
+
const Polyline = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("polyline", {
|
|
111
|
+
...p,
|
|
112
|
+
ref
|
|
113
|
+
}));
|
|
114
|
+
const RadialGradient = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("radialGradient", {
|
|
115
|
+
...p,
|
|
116
|
+
ref
|
|
117
|
+
}));
|
|
118
|
+
const Rect = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("rect", {
|
|
119
|
+
...p,
|
|
120
|
+
ref
|
|
121
|
+
}));
|
|
122
|
+
const Shape = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("shape", {
|
|
123
|
+
...p,
|
|
124
|
+
ref
|
|
125
|
+
}));
|
|
126
|
+
const Stop = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("stop", {
|
|
127
|
+
...p,
|
|
128
|
+
ref
|
|
129
|
+
}));
|
|
130
|
+
const Svg = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("svg", {
|
|
131
|
+
...p,
|
|
132
|
+
ref
|
|
133
|
+
}));
|
|
134
|
+
const Symbol2 = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("symbol", {
|
|
135
|
+
...p,
|
|
136
|
+
ref
|
|
137
|
+
}));
|
|
138
|
+
const Text = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("text", {
|
|
139
|
+
...p,
|
|
140
|
+
ref
|
|
141
|
+
}));
|
|
142
|
+
const TextPath = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("clipPath", {
|
|
143
|
+
...p,
|
|
144
|
+
ref
|
|
145
|
+
}));
|
|
146
|
+
const TSpan = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("tSpan", {
|
|
147
|
+
...p,
|
|
148
|
+
ref
|
|
149
|
+
}));
|
|
150
|
+
const Use = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("use", {
|
|
151
|
+
...p,
|
|
152
|
+
ref
|
|
153
|
+
}));
|
|
152
154
|
var index_default = Svg;
|
package/dist/cjs/index.native.js
CHANGED
|
@@ -4,34 +4,36 @@ var __create = Object.create;
|
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
-
var __getProtoOf = Object.getPrototypeOf
|
|
8
|
-
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
9
|
var __export = (target, all) => {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
for (var name in all) __defProp(target, name, {
|
|
11
|
+
get: all[name],
|
|
12
|
+
enumerable: true
|
|
13
|
+
});
|
|
14
|
+
};
|
|
15
|
+
var __copyProps = (to, from, except, desc) => {
|
|
16
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
17
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
17
18
|
get: () => from[key],
|
|
18
19
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
20
|
});
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
21
|
+
}
|
|
22
|
+
return to;
|
|
23
|
+
};
|
|
24
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
25
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
26
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
27
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
28
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
29
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
30
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
31
|
+
value: mod,
|
|
32
|
+
enumerable: true
|
|
33
|
+
}) : target, mod));
|
|
34
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
35
|
+
value: true
|
|
36
|
+
}), mod);
|
|
35
37
|
var index_native_exports = {};
|
|
36
38
|
__export(index_native_exports, {
|
|
37
39
|
default: () => import_react_native_svg.default
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["index_native_exports","__export","default","import_react_native_svg","module","exports","__toCommonJS","__reExport","require","__toESM"],"sources":["../../src/index.native.js"],"sourcesContent":[null],"mappings":"
|
|
1
|
+
{"version":3,"names":["index_native_exports","__export","default","import_react_native_svg","module","exports","__toCommonJS","__reExport","require","__toESM"],"sources":["../../src/index.native.js"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,oBAAA;AAAAC,QAAA,CAAAD,oBAAA;EAAAE,OAAA,EAAAA,CAAA,KAAAC,uBAAA,CAAAD;AAAA;AAAAE,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAN,oBAAA;AACAO,UAAA,CAAAP,oBAAA,EAAcQ,OAAA,sBADdJ,MAAA,CAAAC,OAAA;AAEA,IAAAF,uBAAA,GAAwBM,OAAA,CAAAD,OAAA","ignoreList":[]}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,38 +1,104 @@
|
|
|
1
1
|
import { createElement, forwardRef } from "react";
|
|
2
|
-
const Circle = forwardRef((p, ref) => createElement("circle", {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
2
|
+
const Circle = forwardRef((p, ref) => createElement("circle", {
|
|
3
|
+
...p,
|
|
4
|
+
ref
|
|
5
|
+
}));
|
|
6
|
+
const ClipPath = forwardRef((p, ref) => createElement("clipPath", {
|
|
7
|
+
...p,
|
|
8
|
+
ref
|
|
9
|
+
}));
|
|
10
|
+
const Defs = forwardRef((p, ref) => createElement("defs", {
|
|
11
|
+
...p,
|
|
12
|
+
ref
|
|
13
|
+
}));
|
|
14
|
+
const Ellipse = forwardRef((p, ref) => createElement("ellipse", {
|
|
15
|
+
...p,
|
|
16
|
+
ref
|
|
17
|
+
}));
|
|
18
|
+
const ForeignObject = forwardRef((p, ref) => createElement("foreignObject", {
|
|
19
|
+
...p,
|
|
20
|
+
ref
|
|
21
|
+
}));
|
|
22
|
+
const G = forwardRef((p, ref) => createElement("g", {
|
|
23
|
+
...p,
|
|
24
|
+
ref
|
|
25
|
+
}));
|
|
26
|
+
const Image = forwardRef((p, ref) => createElement("image", {
|
|
27
|
+
...p,
|
|
28
|
+
ref
|
|
29
|
+
}));
|
|
30
|
+
const Line = forwardRef((p, ref) => createElement("line", {
|
|
31
|
+
...p,
|
|
32
|
+
ref
|
|
33
|
+
}));
|
|
34
|
+
const LinearGradient = forwardRef((p, ref) => createElement("linearGradient", {
|
|
35
|
+
...p,
|
|
36
|
+
ref
|
|
37
|
+
}));
|
|
38
|
+
const Marker = forwardRef((p, ref) => createElement("marker", {
|
|
39
|
+
...p,
|
|
40
|
+
ref
|
|
41
|
+
}));
|
|
42
|
+
const Mask = forwardRef((p, ref) => createElement("mask", {
|
|
43
|
+
...p,
|
|
44
|
+
ref
|
|
45
|
+
}));
|
|
46
|
+
const Path = forwardRef((p, ref) => createElement("path", {
|
|
47
|
+
...p,
|
|
48
|
+
ref
|
|
49
|
+
}));
|
|
50
|
+
const Pattern = forwardRef((p, ref) => createElement("pattern", {
|
|
51
|
+
...p,
|
|
52
|
+
ref
|
|
53
|
+
}));
|
|
54
|
+
const Polygon = forwardRef((p, ref) => createElement("polygon", {
|
|
55
|
+
...p,
|
|
56
|
+
ref
|
|
57
|
+
}));
|
|
58
|
+
const Polyline = forwardRef((p, ref) => createElement("polyline", {
|
|
59
|
+
...p,
|
|
60
|
+
ref
|
|
61
|
+
}));
|
|
62
|
+
const RadialGradient = forwardRef((p, ref) => createElement("radialGradient", {
|
|
63
|
+
...p,
|
|
64
|
+
ref
|
|
65
|
+
}));
|
|
66
|
+
const Rect = forwardRef((p, ref) => createElement("rect", {
|
|
67
|
+
...p,
|
|
68
|
+
ref
|
|
69
|
+
}));
|
|
70
|
+
const Shape = forwardRef((p, ref) => createElement("shape", {
|
|
71
|
+
...p,
|
|
72
|
+
ref
|
|
73
|
+
}));
|
|
74
|
+
const Stop = forwardRef((p, ref) => createElement("stop", {
|
|
75
|
+
...p,
|
|
76
|
+
ref
|
|
77
|
+
}));
|
|
78
|
+
const Svg = forwardRef((p, ref) => createElement("svg", {
|
|
79
|
+
...p,
|
|
80
|
+
ref
|
|
81
|
+
}));
|
|
82
|
+
const Symbol = forwardRef((p, ref) => createElement("symbol", {
|
|
83
|
+
...p,
|
|
84
|
+
ref
|
|
85
|
+
}));
|
|
86
|
+
const Text = forwardRef((p, ref) => createElement("text", {
|
|
87
|
+
...p,
|
|
88
|
+
ref
|
|
89
|
+
}));
|
|
90
|
+
const TextPath = forwardRef((p, ref) => createElement("clipPath", {
|
|
91
|
+
...p,
|
|
92
|
+
ref
|
|
93
|
+
}));
|
|
94
|
+
const TSpan = forwardRef((p, ref) => createElement("tSpan", {
|
|
95
|
+
...p,
|
|
96
|
+
ref
|
|
97
|
+
}));
|
|
98
|
+
const Use = forwardRef((p, ref) => createElement("use", {
|
|
99
|
+
...p,
|
|
100
|
+
ref
|
|
101
|
+
}));
|
|
9
102
|
var index_default = Svg;
|
|
10
|
-
export {
|
|
11
|
-
Circle,
|
|
12
|
-
ClipPath,
|
|
13
|
-
Defs,
|
|
14
|
-
Ellipse,
|
|
15
|
-
ForeignObject,
|
|
16
|
-
G,
|
|
17
|
-
Image,
|
|
18
|
-
Line,
|
|
19
|
-
LinearGradient,
|
|
20
|
-
Marker,
|
|
21
|
-
Mask,
|
|
22
|
-
Path,
|
|
23
|
-
Pattern,
|
|
24
|
-
Polygon,
|
|
25
|
-
Polyline,
|
|
26
|
-
RadialGradient,
|
|
27
|
-
Rect,
|
|
28
|
-
Shape,
|
|
29
|
-
Stop,
|
|
30
|
-
Svg,
|
|
31
|
-
Symbol,
|
|
32
|
-
TSpan,
|
|
33
|
-
Text,
|
|
34
|
-
TextPath,
|
|
35
|
-
Use,
|
|
36
|
-
index_default as default
|
|
37
|
-
};
|
|
103
|
+
export { Circle, ClipPath, Defs, Ellipse, ForeignObject, G, Image, Line, LinearGradient, Marker, Mask, Path, Pattern, Polygon, Polyline, RadialGradient, Rect, Shape, Stop, Svg, Symbol, TSpan, Text, TextPath, Use, index_default as default };
|
|
38
104
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1,6 +1 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/index.js"],
|
|
4
|
-
"mappings": "AAAA,SAAS,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AI,CAAC,CAAC,GACxE,WAAW,WAAW,CAAC,GAAG,QAAQ,cAAc,YAAY,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GAC1E,iBAAiB;AAAA,EAAW,CAAC,GAAG,QAC3C,cAAc,kBAAkB,EAAE,GAAG,GAAG,IAAI,CAAC;AAC/C,GACa,OAAO,WAAW,CAAC,GAAG,QAAQ,cAAc,QAAQ,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GAClE,QAAQ,WAAW,CAAC,GAAG,QAAQ,cAAc,SAAS,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GACpE,OAAO,WAAW,CAAC,GAAG,QAAQ,cAAc,QAAQ,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GAClE,MAAM,WAAW,CAAC,GAAG,QAAQ,cAAc,OAAO,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GAChE,SAAS,WAAW,CAAC,GAAG,QAAQ,cAAc,UAAU,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GACtE,OAAO,WAAW,CAAC,GAAG,QAAQ,cAAc,QAAQ,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GAClE,WAAW,WAAW,CAAC,GAAG,QAAQ,cAAc,YAAY,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GAC1E,QAAQ,WAAW,CAAC,GAAG,QAAQ,cAAc,SAAS,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GACpE,MAAM,WAAW,CAAC,GAAG,QAAQ,cAAc,OAAO,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC;AAE7E,IAAO,gBAAQ;",
|
|
5
|
-
"names": []
|
|
6
|
-
}
|
|
1
|
+
{"version":3,"names":["createElement","forwardRef","Circle","p","ref","ClipPath","Defs","Ellipse","ForeignObject","G","Image","Line","LinearGradient","Marker","Mask","Path","Pattern","Polygon","Polyline","RadialGradient","Rect","Shape","Stop","Svg","Symbol","Text","TextPath","TSpan","Use","index_default"],"sources":["../../src/index.js"],"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|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
3
|
+
...p,
|
|
4
|
+
ref
|
|
5
|
+
}));
|
|
6
|
+
const ClipPath = forwardRef((p, ref) => createElement("clipPath", {
|
|
7
|
+
...p,
|
|
8
|
+
ref
|
|
9
|
+
}));
|
|
10
|
+
const Defs = forwardRef((p, ref) => createElement("defs", {
|
|
11
|
+
...p,
|
|
12
|
+
ref
|
|
13
|
+
}));
|
|
14
|
+
const Ellipse = forwardRef((p, ref) => createElement("ellipse", {
|
|
15
|
+
...p,
|
|
16
|
+
ref
|
|
17
|
+
}));
|
|
18
|
+
const ForeignObject = forwardRef((p, ref) => createElement("foreignObject", {
|
|
19
|
+
...p,
|
|
20
|
+
ref
|
|
21
|
+
}));
|
|
22
|
+
const G = forwardRef((p, ref) => createElement("g", {
|
|
23
|
+
...p,
|
|
24
|
+
ref
|
|
25
|
+
}));
|
|
26
|
+
const Image = forwardRef((p, ref) => createElement("image", {
|
|
27
|
+
...p,
|
|
28
|
+
ref
|
|
29
|
+
}));
|
|
30
|
+
const Line = forwardRef((p, ref) => createElement("line", {
|
|
31
|
+
...p,
|
|
32
|
+
ref
|
|
33
|
+
}));
|
|
34
|
+
const LinearGradient = forwardRef((p, ref) => createElement("linearGradient", {
|
|
35
|
+
...p,
|
|
36
|
+
ref
|
|
37
|
+
}));
|
|
38
|
+
const Marker = forwardRef((p, ref) => createElement("marker", {
|
|
39
|
+
...p,
|
|
40
|
+
ref
|
|
41
|
+
}));
|
|
42
|
+
const Mask = forwardRef((p, ref) => createElement("mask", {
|
|
43
|
+
...p,
|
|
44
|
+
ref
|
|
45
|
+
}));
|
|
46
|
+
const Path = forwardRef((p, ref) => createElement("path", {
|
|
47
|
+
...p,
|
|
48
|
+
ref
|
|
49
|
+
}));
|
|
50
|
+
const Pattern = forwardRef((p, ref) => createElement("pattern", {
|
|
51
|
+
...p,
|
|
52
|
+
ref
|
|
53
|
+
}));
|
|
54
|
+
const Polygon = forwardRef((p, ref) => createElement("polygon", {
|
|
55
|
+
...p,
|
|
56
|
+
ref
|
|
57
|
+
}));
|
|
58
|
+
const Polyline = forwardRef((p, ref) => createElement("polyline", {
|
|
59
|
+
...p,
|
|
60
|
+
ref
|
|
61
|
+
}));
|
|
62
|
+
const RadialGradient = forwardRef((p, ref) => createElement("radialGradient", {
|
|
63
|
+
...p,
|
|
64
|
+
ref
|
|
65
|
+
}));
|
|
66
|
+
const Rect = forwardRef((p, ref) => createElement("rect", {
|
|
67
|
+
...p,
|
|
68
|
+
ref
|
|
69
|
+
}));
|
|
70
|
+
const Shape = forwardRef((p, ref) => createElement("shape", {
|
|
71
|
+
...p,
|
|
72
|
+
ref
|
|
73
|
+
}));
|
|
74
|
+
const Stop = forwardRef((p, ref) => createElement("stop", {
|
|
75
|
+
...p,
|
|
76
|
+
ref
|
|
77
|
+
}));
|
|
78
|
+
const Svg = forwardRef((p, ref) => createElement("svg", {
|
|
79
|
+
...p,
|
|
80
|
+
ref
|
|
81
|
+
}));
|
|
82
|
+
const Symbol = forwardRef((p, ref) => createElement("symbol", {
|
|
83
|
+
...p,
|
|
84
|
+
ref
|
|
85
|
+
}));
|
|
86
|
+
const Text = forwardRef((p, ref) => createElement("text", {
|
|
87
|
+
...p,
|
|
88
|
+
ref
|
|
89
|
+
}));
|
|
90
|
+
const TextPath = forwardRef((p, ref) => createElement("clipPath", {
|
|
91
|
+
...p,
|
|
92
|
+
ref
|
|
93
|
+
}));
|
|
94
|
+
const TSpan = forwardRef((p, ref) => createElement("tSpan", {
|
|
95
|
+
...p,
|
|
96
|
+
ref
|
|
97
|
+
}));
|
|
98
|
+
const Use = forwardRef((p, ref) => createElement("use", {
|
|
99
|
+
...p,
|
|
100
|
+
ref
|
|
101
|
+
}));
|
|
102
102
|
var index_default = Svg;
|
|
103
103
|
export { Circle, ClipPath, Defs, Ellipse, ForeignObject, G, Image, Line, LinearGradient, Marker, Mask, Path, Pattern, Polygon, Polyline, RadialGradient, Rect, Shape, Stop, Svg, Symbol, TSpan, Text, TextPath, Use, index_default as default };
|
|
104
104
|
//# sourceMappingURL=index.mjs.map
|
package/dist/esm/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createElement","forwardRef","Circle","p","ref","ClipPath","Defs","Ellipse","ForeignObject","G","Image","Line","LinearGradient","Marker","Mask","Path","Pattern","Polygon","Polyline","RadialGradient","Rect","Shape","Stop","Svg","Symbol","Text","TextPath","TSpan","Use","index_default"],"sources":["../../src/index.js"],"sourcesContent":[null],"mappings":"AAAA,SAASA,aAAA,EAAeC,UAAA,QAAkB;AAEnC,MAAMC,MAAA,GAASD,UAAA,CAAW,CAACE,CAAA,EAAGC,GAAA,KAAQJ,aAAA,CAAc,UAAU;
|
|
1
|
+
{"version":3,"names":["createElement","forwardRef","Circle","p","ref","ClipPath","Defs","Ellipse","ForeignObject","G","Image","Line","LinearGradient","Marker","Mask","Path","Pattern","Polygon","Polyline","RadialGradient","Rect","Shape","Stop","Svg","Symbol","Text","TextPath","TSpan","Use","index_default"],"sources":["../../src/index.js"],"sourcesContent":[null],"mappings":"AAAA,SAASA,aAAA,EAAeC,UAAA,QAAkB;AAEnC,MAAMC,MAAA,GAASD,UAAA,CAAW,CAACE,CAAA,EAAGC,GAAA,KAAQJ,aAAA,CAAc,UAAU;EAAE,GAAGG,CAAA;EAAGC;AAAI,CAAC,CAAC;AAC5E,MAAMC,QAAA,GAAWJ,UAAA,CAAW,CAACE,CAAA,EAAGC,GAAA,KAAQJ,aAAA,CAAc,YAAY;EAAE,GAAGG,CAAA;EAAGC;AAAI,CAAC,CAAC;AAChF,MAAME,IAAA,GAAOL,UAAA,CAAW,CAACE,CAAA,EAAGC,GAAA,KAAQJ,aAAA,CAAc,QAAQ;EAAE,GAAGG,CAAA;EAAGC;AAAI,CAAC,CAAC;AACxE,MAAMG,OAAA,GAAUN,UAAA,CAAW,CAACE,CAAA,EAAGC,GAAA,KAAQJ,aAAA,CAAc,WAAW;EAAE,GAAGG,CAAA;EAAGC;AAAI,CAAC,CAAC;AAC9E,MAAMI,aAAA,GAAgBP,UAAA,CAAW,CAACE,CAAA,EAAGC,GAAA,KAC1CJ,aAAA,C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,aAAA,CAAc,YAAY;EAAE,GAAGG,CAAA;EAAGC;AAAI,CAAC,CAAC;AAChF,MAAMuB,KAAA,GAAQ1B,UAAA,CAAW,CAACE,CAAA,EAAGC,GAAA,KAAQJ,aAAA,CAAc,SAAS;EAAE,GAAGG,CAAA;EAAGC;AAAI,CAAC,CAAC;AAC1E,MAAMwB,GAAA,GAAM3B,UAAA,CAAW,CAACE,CAAA,EAAGC,GAAA,KAAQJ,aAAA,CAAc,OAAO;EAAE,GAAGG,CAAA;EAAGC;AAAI,CAAC,CAAC;AAE7E,IAAOyB,aAAA,GAAQN,GAAA","ignoreList":[]}
|
package/package.json
CHANGED
|
@@ -1,21 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/react-native-svg",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.40",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
7
7
|
"exports": {
|
|
8
8
|
"./package.json": "./package.json",
|
|
9
9
|
".": {
|
|
10
|
-
"react-native":
|
|
11
|
-
|
|
12
|
-
"import": "./dist/esm/index.native.js",
|
|
13
|
-
"require": "./dist/cjs/index.native.js"
|
|
14
|
-
},
|
|
10
|
+
"react-native": "./dist/esm/index.native.js",
|
|
11
|
+
"browser": "./dist/esm/index.mjs",
|
|
15
12
|
"module": "./dist/esm/index.mjs",
|
|
16
13
|
"import": "./dist/esm/index.mjs",
|
|
17
14
|
"require": "./dist/cjs/index.cjs",
|
|
18
|
-
"default": "./dist/
|
|
15
|
+
"default": "./dist/esm/index.mjs"
|
|
19
16
|
}
|
|
20
17
|
},
|
|
21
18
|
"publishConfig": {
|
|
@@ -28,8 +25,8 @@
|
|
|
28
25
|
"clean:build": "tamagui-build clean:build"
|
|
29
26
|
},
|
|
30
27
|
"devDependencies": {
|
|
31
|
-
"@tamagui/build": "2.0.0-rc.
|
|
32
|
-
"react-native-svg": "15.
|
|
28
|
+
"@tamagui/build": "2.0.0-rc.40",
|
|
29
|
+
"react-native-svg": "15.15.3"
|
|
33
30
|
},
|
|
34
31
|
"peerDependencies": {
|
|
35
32
|
"react-native-svg": "*"
|
package/dist/cjs/index.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
-
for (let key of __getOwnPropNames(from))
|
|
11
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
-
var index_exports = {};
|
|
16
|
-
__export(index_exports, {
|
|
17
|
-
Circle: () => Circle,
|
|
18
|
-
ClipPath: () => ClipPath,
|
|
19
|
-
Defs: () => Defs,
|
|
20
|
-
Ellipse: () => Ellipse,
|
|
21
|
-
ForeignObject: () => ForeignObject,
|
|
22
|
-
G: () => G,
|
|
23
|
-
Image: () => Image,
|
|
24
|
-
Line: () => Line,
|
|
25
|
-
LinearGradient: () => LinearGradient,
|
|
26
|
-
Marker: () => Marker,
|
|
27
|
-
Mask: () => Mask,
|
|
28
|
-
Path: () => Path,
|
|
29
|
-
Pattern: () => Pattern,
|
|
30
|
-
Polygon: () => Polygon,
|
|
31
|
-
Polyline: () => Polyline,
|
|
32
|
-
RadialGradient: () => RadialGradient,
|
|
33
|
-
Rect: () => Rect,
|
|
34
|
-
Shape: () => Shape,
|
|
35
|
-
Stop: () => Stop,
|
|
36
|
-
Svg: () => Svg,
|
|
37
|
-
Symbol: () => Symbol2,
|
|
38
|
-
TSpan: () => TSpan,
|
|
39
|
-
Text: () => Text,
|
|
40
|
-
TextPath: () => TextPath,
|
|
41
|
-
Use: () => Use,
|
|
42
|
-
default: () => index_default
|
|
43
|
-
});
|
|
44
|
-
module.exports = __toCommonJS(index_exports);
|
|
45
|
-
var import_react = require("react");
|
|
46
|
-
const Circle = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("circle", { ...p, ref })), ClipPath = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("clipPath", { ...p, ref })), Defs = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("defs", { ...p, ref })), Ellipse = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("ellipse", { ...p, ref })), ForeignObject = (0, import_react.forwardRef)(
|
|
47
|
-
(p, ref) => (0, import_react.createElement)("foreignObject", { ...p, ref })
|
|
48
|
-
), G = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("g", { ...p, ref })), Image = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("image", { ...p, ref })), Line = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("line", { ...p, ref })), LinearGradient = (0, import_react.forwardRef)(
|
|
49
|
-
(p, ref) => (0, import_react.createElement)("linearGradient", { ...p, ref })
|
|
50
|
-
), Marker = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("marker", { ...p, ref })), Mask = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("mask", { ...p, ref })), Path = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("path", { ...p, ref })), Pattern = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("pattern", { ...p, ref })), Polygon = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("polygon", { ...p, ref })), Polyline = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("polyline", { ...p, ref })), RadialGradient = (0, import_react.forwardRef)(
|
|
51
|
-
(p, ref) => (0, import_react.createElement)("radialGradient", { ...p, ref })
|
|
52
|
-
), Rect = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("rect", { ...p, ref })), Shape = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("shape", { ...p, ref })), Stop = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("stop", { ...p, ref })), Svg = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("svg", { ...p, ref })), Symbol2 = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("symbol", { ...p, ref })), Text = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("text", { ...p, ref })), TextPath = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("clipPath", { ...p, ref })), TSpan = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("tSpan", { ...p, ref })), Use = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("use", { ...p, ref }));
|
|
53
|
-
var index_default = Svg;
|
|
54
|
-
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/index.js"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,gBAAAA;AAAA,EAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAA0C;AAEnC,MAAM,aAAS,yBAAW,CAAC,GAAG,YAAQ,4BAAc,UAAU,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GACtE,eAAW,yBAAW,CAAC,GAAG,YAAQ,4BAAc,YA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