@tamagui/react-native-svg 1.114.4 → 1.115.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/index.cjs +152 -0
- package/package.json +4 -3
- package/dist/cjs/index.js +0 -54
- /package/dist/cjs/{index.js.map → index.cjs.map} +0 -0
|
@@ -0,0 +1,152 @@
|
|
|
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) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: !0
|
|
9
|
+
});
|
|
10
|
+
},
|
|
11
|
+
__copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
+
get: () => from[key],
|
|
14
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
+
});
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
+
value: !0
|
|
20
|
+
}), mod);
|
|
21
|
+
var src_exports = {};
|
|
22
|
+
__export(src_exports, {
|
|
23
|
+
Circle: () => Circle,
|
|
24
|
+
ClipPath: () => ClipPath,
|
|
25
|
+
Defs: () => Defs,
|
|
26
|
+
Ellipse: () => Ellipse,
|
|
27
|
+
ForeignObject: () => ForeignObject,
|
|
28
|
+
G: () => G,
|
|
29
|
+
Image: () => Image,
|
|
30
|
+
Line: () => Line,
|
|
31
|
+
LinearGradient: () => LinearGradient,
|
|
32
|
+
Marker: () => Marker,
|
|
33
|
+
Mask: () => Mask,
|
|
34
|
+
Path: () => Path,
|
|
35
|
+
Pattern: () => Pattern,
|
|
36
|
+
Polygon: () => Polygon,
|
|
37
|
+
Polyline: () => Polyline,
|
|
38
|
+
RadialGradient: () => RadialGradient,
|
|
39
|
+
Rect: () => Rect,
|
|
40
|
+
Shape: () => Shape,
|
|
41
|
+
Stop: () => Stop,
|
|
42
|
+
Svg: () => Svg,
|
|
43
|
+
Symbol: () => Symbol2,
|
|
44
|
+
TSpan: () => TSpan,
|
|
45
|
+
Text: () => Text,
|
|
46
|
+
TextPath: () => TextPath,
|
|
47
|
+
Use: () => Use,
|
|
48
|
+
default: () => src_default
|
|
49
|
+
});
|
|
50
|
+
module.exports = __toCommonJS(src_exports);
|
|
51
|
+
var import_react = require("react");
|
|
52
|
+
const Circle = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("circle", {
|
|
53
|
+
...p,
|
|
54
|
+
ref
|
|
55
|
+
})),
|
|
56
|
+
ClipPath = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("clipPath", {
|
|
57
|
+
...p,
|
|
58
|
+
ref
|
|
59
|
+
})),
|
|
60
|
+
Defs = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("defs", {
|
|
61
|
+
...p,
|
|
62
|
+
ref
|
|
63
|
+
})),
|
|
64
|
+
Ellipse = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("ellipse", {
|
|
65
|
+
...p,
|
|
66
|
+
ref
|
|
67
|
+
})),
|
|
68
|
+
ForeignObject = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("foreignObject", {
|
|
69
|
+
...p,
|
|
70
|
+
ref
|
|
71
|
+
})),
|
|
72
|
+
G = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("g", {
|
|
73
|
+
...p,
|
|
74
|
+
ref
|
|
75
|
+
})),
|
|
76
|
+
Image = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("image", {
|
|
77
|
+
...p,
|
|
78
|
+
ref
|
|
79
|
+
})),
|
|
80
|
+
Line = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("line", {
|
|
81
|
+
...p,
|
|
82
|
+
ref
|
|
83
|
+
})),
|
|
84
|
+
LinearGradient = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("linearGradient", {
|
|
85
|
+
...p,
|
|
86
|
+
ref
|
|
87
|
+
})),
|
|
88
|
+
Marker = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("marker", {
|
|
89
|
+
...p,
|
|
90
|
+
ref
|
|
91
|
+
})),
|
|
92
|
+
Mask = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("mask", {
|
|
93
|
+
...p,
|
|
94
|
+
ref
|
|
95
|
+
})),
|
|
96
|
+
Path = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("path", {
|
|
97
|
+
...p,
|
|
98
|
+
ref
|
|
99
|
+
})),
|
|
100
|
+
Pattern = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("pattern", {
|
|
101
|
+
...p,
|
|
102
|
+
ref
|
|
103
|
+
})),
|
|
104
|
+
Polygon = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("polygon", {
|
|
105
|
+
...p,
|
|
106
|
+
ref
|
|
107
|
+
})),
|
|
108
|
+
Polyline = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("polyline", {
|
|
109
|
+
...p,
|
|
110
|
+
ref
|
|
111
|
+
})),
|
|
112
|
+
RadialGradient = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("radialGradient", {
|
|
113
|
+
...p,
|
|
114
|
+
ref
|
|
115
|
+
})),
|
|
116
|
+
Rect = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("rect", {
|
|
117
|
+
...p,
|
|
118
|
+
ref
|
|
119
|
+
})),
|
|
120
|
+
Shape = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("shape", {
|
|
121
|
+
...p,
|
|
122
|
+
ref
|
|
123
|
+
})),
|
|
124
|
+
Stop = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("stop", {
|
|
125
|
+
...p,
|
|
126
|
+
ref
|
|
127
|
+
})),
|
|
128
|
+
Svg = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("svg", {
|
|
129
|
+
...p,
|
|
130
|
+
ref
|
|
131
|
+
})),
|
|
132
|
+
Symbol2 = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("symbol", {
|
|
133
|
+
...p,
|
|
134
|
+
ref
|
|
135
|
+
})),
|
|
136
|
+
Text = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("text", {
|
|
137
|
+
...p,
|
|
138
|
+
ref
|
|
139
|
+
})),
|
|
140
|
+
TextPath = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("clipPath", {
|
|
141
|
+
...p,
|
|
142
|
+
ref
|
|
143
|
+
})),
|
|
144
|
+
TSpan = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("tSpan", {
|
|
145
|
+
...p,
|
|
146
|
+
ref
|
|
147
|
+
})),
|
|
148
|
+
Use = (0, import_react.forwardRef)((p, ref) => (0, import_react.createElement)("use", {
|
|
149
|
+
...p,
|
|
150
|
+
ref
|
|
151
|
+
}));
|
|
152
|
+
var src_default = Svg;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/react-native-svg",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.115.0",
|
|
4
4
|
"main": "dist/cjs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
"react-native-import": "./dist/esm/index.native.js",
|
|
14
14
|
"react-native": "./dist/cjs/index.native.js",
|
|
15
15
|
"import": "./dist/esm/index.mjs",
|
|
16
|
-
"require": "./dist/cjs/index.
|
|
16
|
+
"require": "./dist/cjs/index.cjs",
|
|
17
|
+
"default": "./dist/cjs/index.native.js"
|
|
17
18
|
}
|
|
18
19
|
},
|
|
19
20
|
"scripts": {
|
|
@@ -23,6 +24,6 @@
|
|
|
23
24
|
"clean:build": "tamagui-build clean:build"
|
|
24
25
|
},
|
|
25
26
|
"devDependencies": {
|
|
26
|
-
"@tamagui/build": "1.
|
|
27
|
+
"@tamagui/build": "1.115.0"
|
|
27
28
|
}
|
|
28
29
|
}
|
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 src_exports = {};
|
|
16
|
-
__export(src_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: () => src_default
|
|
43
|
-
});
|
|
44
|
-
module.exports = __toCommonJS(src_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 src_default = Svg;
|
|
54
|
-
//# sourceMappingURL=index.js.map
|
|
File without changes
|