@tamagui/react-native-svg 1.90.15 → 1.91.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.js +8 -28
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.native.js +136 -77
- package/dist/cjs/index.native.js.map +2 -2
- package/dist/esm/index.js +9 -29
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +102 -53
- package/dist/esm/index.native.js +136 -78
- package/dist/esm/index.native.js.map +2 -2
- package/package.json +2 -2
- package/src/index.js +33 -53
package/dist/cjs/index.js
CHANGED
|
@@ -43,32 +43,12 @@ __export(src_exports, {
|
|
|
43
43
|
});
|
|
44
44
|
module.exports = __toCommonJS(src_exports);
|
|
45
45
|
var import_react = require("react");
|
|
46
|
-
const Circle = (
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
Image,
|
|
55
|
-
Line,
|
|
56
|
-
LinearGradient,
|
|
57
|
-
Marker,
|
|
58
|
-
Mask,
|
|
59
|
-
Path,
|
|
60
|
-
Pattern,
|
|
61
|
-
Polygon,
|
|
62
|
-
Polyline,
|
|
63
|
-
RadialGradient,
|
|
64
|
-
Rect,
|
|
65
|
-
Shape,
|
|
66
|
-
Stop,
|
|
67
|
-
Svg,
|
|
68
|
-
Symbol: Symbol2,
|
|
69
|
-
Text,
|
|
70
|
-
TextPath,
|
|
71
|
-
TSpan,
|
|
72
|
-
Use
|
|
73
|
-
};
|
|
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;
|
|
74
54
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
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,
|
|
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,YAAY,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GAC1E,WAAO,yBAAW,CAAC,GAAG,YAAQ,4BAAc,QAAQ,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GAClE,cAAU,yBAAW,CAAC,GAAG,YAAQ,4BAAc,WAAW,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GACxE,oBAAgB;AAAA,EAAW,CAAC,GAAG,YAC1C,4BAAc,iBAAiB,EAAE,GAAG,GAAG,IAAI,CAAC;AAC9C,GACa,QAAI,yBAAW,CAAC,G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,GAClE,UAAM,yBAAW,CAAC,GAAG,YAAQ,4BAAc,OAAO,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GAChEA,cAAS,yBAAW,CAAC,GAAG,YAAQ,4BAAc,UAAU,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GACtE,WAAO,yBAAW,CAAC,GAAG,YAAQ,4BAAc,QAAQ,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GAClE,eAAW,yBAAW,CAAC,GAAG,YAAQ,4BAAc,YAAY,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GAC1E,YAAQ,yBAAW,CAAC,GAAG,YAAQ,4BAAc,SAAS,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GACpE,UAAM,yBAAW,CAAC,GAAG,YAAQ,4BAAc,OAAO,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC;AAE7E,IAAO,cAAQ;",
|
|
5
5
|
"names": ["Symbol"]
|
|
6
6
|
}
|
package/dist/cjs/index.native.js
CHANGED
|
@@ -43,83 +43,142 @@ __export(src_exports, {
|
|
|
43
43
|
default: () => src_default
|
|
44
44
|
});
|
|
45
45
|
module.exports = __toCommonJS(src_exports);
|
|
46
|
-
var import_react = require("react")
|
|
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
|
-
return (
|
|
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
|
-
}
|
|
46
|
+
var import_react = require("react");
|
|
47
|
+
function _define_property(obj, key, value) {
|
|
48
|
+
return key in obj ? Object.defineProperty(obj, key, {
|
|
49
|
+
value,
|
|
50
|
+
enumerable: !0,
|
|
51
|
+
configurable: !0,
|
|
52
|
+
writable: !0
|
|
53
|
+
}) : obj[key] = value, obj;
|
|
54
|
+
}
|
|
55
|
+
function _object_spread(target) {
|
|
56
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
57
|
+
var source = arguments[i] != null ? arguments[i] : {}, ownKeys2 = Object.keys(source);
|
|
58
|
+
typeof Object.getOwnPropertySymbols == "function" && (ownKeys2 = ownKeys2.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
59
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
60
|
+
}))), ownKeys2.forEach(function(key) {
|
|
61
|
+
_define_property(target, key, source[key]);
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
return target;
|
|
65
|
+
}
|
|
66
|
+
function ownKeys(object, enumerableOnly) {
|
|
67
|
+
var keys = Object.keys(object);
|
|
68
|
+
if (Object.getOwnPropertySymbols) {
|
|
69
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
70
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
71
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
72
|
+
})), keys.push.apply(keys, symbols);
|
|
73
|
+
}
|
|
74
|
+
return keys;
|
|
75
|
+
}
|
|
76
|
+
function _object_spread_props(target, source) {
|
|
77
|
+
return source = source ?? {}, Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
|
|
78
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
79
|
+
}), target;
|
|
80
|
+
}
|
|
81
|
+
var Circle = (0, import_react.forwardRef)(function(p, ref) {
|
|
82
|
+
return (0, import_react.createElement)("circle", _object_spread_props(_object_spread({}, p), {
|
|
83
|
+
ref
|
|
84
|
+
}));
|
|
85
|
+
}), ClipPath = (0, import_react.forwardRef)(function(p, ref) {
|
|
86
|
+
return (0, import_react.createElement)("clipPath", _object_spread_props(_object_spread({}, p), {
|
|
87
|
+
ref
|
|
88
|
+
}));
|
|
89
|
+
}), Defs = (0, import_react.forwardRef)(function(p, ref) {
|
|
90
|
+
return (0, import_react.createElement)("defs", _object_spread_props(_object_spread({}, p), {
|
|
91
|
+
ref
|
|
92
|
+
}));
|
|
93
|
+
}), Ellipse = (0, import_react.forwardRef)(function(p, ref) {
|
|
94
|
+
return (0, import_react.createElement)("ellipse", _object_spread_props(_object_spread({}, p), {
|
|
95
|
+
ref
|
|
96
|
+
}));
|
|
97
|
+
}), ForeignObject = (0, import_react.forwardRef)(function(p, ref) {
|
|
98
|
+
return (0, import_react.createElement)("foreignObject", _object_spread_props(_object_spread({}, p), {
|
|
99
|
+
ref
|
|
100
|
+
}));
|
|
101
|
+
}), G = (0, import_react.forwardRef)(function(p, ref) {
|
|
102
|
+
return (0, import_react.createElement)("g", _object_spread_props(_object_spread({}, p), {
|
|
103
|
+
ref
|
|
104
|
+
}));
|
|
105
|
+
}), Image = (0, import_react.forwardRef)(function(p, ref) {
|
|
106
|
+
return (0, import_react.createElement)("image", _object_spread_props(_object_spread({}, p), {
|
|
107
|
+
ref
|
|
108
|
+
}));
|
|
109
|
+
}), Line = (0, import_react.forwardRef)(function(p, ref) {
|
|
110
|
+
return (0, import_react.createElement)("line", _object_spread_props(_object_spread({}, p), {
|
|
111
|
+
ref
|
|
112
|
+
}));
|
|
113
|
+
}), LinearGradient = (0, import_react.forwardRef)(function(p, ref) {
|
|
114
|
+
return (0, import_react.createElement)("linearGradient", _object_spread_props(_object_spread({}, p), {
|
|
115
|
+
ref
|
|
116
|
+
}));
|
|
117
|
+
}), Marker = (0, import_react.forwardRef)(function(p, ref) {
|
|
118
|
+
return (0, import_react.createElement)("marker", _object_spread_props(_object_spread({}, p), {
|
|
119
|
+
ref
|
|
120
|
+
}));
|
|
121
|
+
}), Mask = (0, import_react.forwardRef)(function(p, ref) {
|
|
122
|
+
return (0, import_react.createElement)("mask", _object_spread_props(_object_spread({}, p), {
|
|
123
|
+
ref
|
|
124
|
+
}));
|
|
125
|
+
}), Path = (0, import_react.forwardRef)(function(p, ref) {
|
|
126
|
+
return (0, import_react.createElement)("path", _object_spread_props(_object_spread({}, p), {
|
|
127
|
+
ref
|
|
128
|
+
}));
|
|
129
|
+
}), Pattern = (0, import_react.forwardRef)(function(p, ref) {
|
|
130
|
+
return (0, import_react.createElement)("pattern", _object_spread_props(_object_spread({}, p), {
|
|
131
|
+
ref
|
|
132
|
+
}));
|
|
133
|
+
}), Polygon = (0, import_react.forwardRef)(function(p, ref) {
|
|
134
|
+
return (0, import_react.createElement)("polygon", _object_spread_props(_object_spread({}, p), {
|
|
135
|
+
ref
|
|
136
|
+
}));
|
|
137
|
+
}), Polyline = (0, import_react.forwardRef)(function(p, ref) {
|
|
138
|
+
return (0, import_react.createElement)("polyline", _object_spread_props(_object_spread({}, p), {
|
|
139
|
+
ref
|
|
140
|
+
}));
|
|
141
|
+
}), RadialGradient = (0, import_react.forwardRef)(function(p, ref) {
|
|
142
|
+
return (0, import_react.createElement)("radialGradient", _object_spread_props(_object_spread({}, p), {
|
|
143
|
+
ref
|
|
144
|
+
}));
|
|
145
|
+
}), Rect = (0, import_react.forwardRef)(function(p, ref) {
|
|
146
|
+
return (0, import_react.createElement)("rect", _object_spread_props(_object_spread({}, p), {
|
|
147
|
+
ref
|
|
148
|
+
}));
|
|
149
|
+
}), Shape = (0, import_react.forwardRef)(function(p, ref) {
|
|
150
|
+
return (0, import_react.createElement)("shape", _object_spread_props(_object_spread({}, p), {
|
|
151
|
+
ref
|
|
152
|
+
}));
|
|
153
|
+
}), Stop = (0, import_react.forwardRef)(function(p, ref) {
|
|
154
|
+
return (0, import_react.createElement)("stop", _object_spread_props(_object_spread({}, p), {
|
|
155
|
+
ref
|
|
156
|
+
}));
|
|
157
|
+
}), Svg = (0, import_react.forwardRef)(function(p, ref) {
|
|
158
|
+
return (0, import_react.createElement)("svg", _object_spread_props(_object_spread({}, p), {
|
|
159
|
+
ref
|
|
160
|
+
}));
|
|
161
|
+
}), Symbol2 = (0, import_react.forwardRef)(function(p, ref) {
|
|
162
|
+
return (0, import_react.createElement)("symbol", _object_spread_props(_object_spread({}, p), {
|
|
163
|
+
ref
|
|
164
|
+
}));
|
|
165
|
+
}), Text = (0, import_react.forwardRef)(function(p, ref) {
|
|
166
|
+
return (0, import_react.createElement)("text", _object_spread_props(_object_spread({}, p), {
|
|
167
|
+
ref
|
|
168
|
+
}));
|
|
169
|
+
}), TextPath = (0, import_react.forwardRef)(function(p, ref) {
|
|
170
|
+
return (0, import_react.createElement)("clipPath", _object_spread_props(_object_spread({}, p), {
|
|
171
|
+
ref
|
|
172
|
+
}));
|
|
173
|
+
}), TSpan = (0, import_react.forwardRef)(function(p, ref) {
|
|
174
|
+
return (0, import_react.createElement)("tSpan", _object_spread_props(_object_spread({}, p), {
|
|
175
|
+
ref
|
|
176
|
+
}));
|
|
177
|
+
}), Use = (0, import_react.forwardRef)(function(p, ref) {
|
|
178
|
+
return (0, import_react.createElement)("use", _object_spread_props(_object_spread({}, p), {
|
|
179
|
+
ref
|
|
180
|
+
}));
|
|
181
|
+
}), src_default = Svg;
|
|
123
182
|
// Annotate the CommonJS export names for ESM import in node:
|
|
124
183
|
0 && (module.exports = {
|
|
125
184
|
Circle,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Users/n8/tamagui/packages/react-native-svg/src/index.js"],
|
|
4
|
-
"mappings": "
|
|
5
|
-
"names": ["
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mBAA0C;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEnC,IAAMA,aAASC,yBAAW,SAACC,GAAGC,KAAAA;aAAQC,4BAAc,UAAU,qBAAA,eAAA,CAAA,GAAKF,CAAAA,GAAAA;IAAGC;;IAChEE,eAAWJ,yBAAW,SAACC,GAAGC,KAAAA;aAAQC,4BAAc,YAAY,qBAAA,eAAA,CAAA,GAAKF,CAAAA,GAAAA;IAAGC;;IACpEG,WAAOL,yBAAW,SAACC,GAAGC,KAAAA;aAAQC,4BAAc,QAAQ,qBAAA,eAAA,CAAA,GAAKF,CAAAA,GAAAA;IAAGC;;IAC5DI,cAAUN,yBAAW,SAACC,GAAGC,KAAAA;aAAQC,4BAAc,WAAW,qBAAA,eAAA,CAAA,GAAKF,CAAAA,GAAAA;IAAGC;;IAClEK,oBAAgBP,yBAAW,SAACC,GAAGC,KAAAA;aAC1CC,4BAAc,iBAAiB,qBAAA,eAAA,CAAA,GAAKF,CAAAA,GAAAA;IAAGC;;IAE5BM,QAAIR,yBAAW,SAACC,GAAGC,KAAAA;aAAQC,4BAAc,KAAK,qBAAA,eAAA,CAAA,GAAKF,CAAAA,GAAAA;IAAGC;;IACtDO,YAAQT,yBAAW,SAACC,GAAGC,KAAAA;aAAQC,4BAAc,SAAS,qBAAA,eAAA,CAAA,GAAKF,CAAA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AS,qBAAA,eAAA,CAAA,GAAKF,CAAAA,GAAAA;IAAGC;;IAC9DmB,WAAOrB,yBAAW,SAACC,GAAGC,KAAAA;aAAQC,4BAAc,QAAQ,qBAAA,eAAA,CAAA,GAAKF,CAAAA,GAAAA;IAAGC;;IAC5DoB,UAAMtB,yBAAW,SAACC,GAAGC,KAAAA;aAAQC,4BAAc,OAAO,qBAAA,eAAA,CAAA,GAAKF,CAAAA,GAAAA;IAAGC;;IAC1DqB,cAASvB,yBAAW,SAACC,GAAGC,KAAAA;aAAQC,4BAAc,UAAU,qBAAA,eAAA,CAAA,GAAKF,CAAAA,GAAAA;IAAGC;;IAChEsB,WAAOxB,yBAAW,SAACC,GAAGC,KAAAA;aAAQC,4BAAc,QAAQ,qBAAA,eAAA,CAAA,GAAKF,CAAAA,GAAAA;IAAGC;;IAC5DuB,eAAWzB,yBAAW,SAACC,GAAGC,KAAAA;aAAQC,4BAAc,YAAY,qBAAA,eAAA,CAAA,GAAKF,CAAAA,GAAAA;IAAGC;;IACpEwB,YAAQ1B,yBAAW,SAACC,GAAGC,KAAAA;aAAQC,4BAAc,SAAS,qBAAA,eAAA,CAAA,GAAKF,CAAAA,GAAAA;IAAGC;;IAC9DyB,UAAM3B,yBAAW,SAACC,GAAGC,KAAAA;aAAQC,4BAAc,OAAO,qBAAA,eAAA,CAAA,GAAKF,CAAAA,GAAAA;IAAGC;;IAEvE,cAAeoB;",
|
|
5
|
+
"names": ["Circle", "forwardRef", "p", "ref", "createElement", "ClipPath", "Defs", "Ellipse", "ForeignObject", "G", "Image", "Line", "LinearGradient", "Marker", "Mask", "Path", "Pattern", "Polygon", "Polyline", "RadialGradient", "Rect", "Shape", "Stop", "Svg", "Symbol", "Text", "TextPath", "TSpan", "Use"]
|
|
6
6
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,32 +1,12 @@
|
|
|
1
|
-
import { createElement } from "react";
|
|
2
|
-
const Circle = (
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
Image,
|
|
11
|
-
Line,
|
|
12
|
-
LinearGradient,
|
|
13
|
-
Marker,
|
|
14
|
-
Mask,
|
|
15
|
-
Path,
|
|
16
|
-
Pattern,
|
|
17
|
-
Polygon,
|
|
18
|
-
Polyline,
|
|
19
|
-
RadialGradient,
|
|
20
|
-
Rect,
|
|
21
|
-
Shape,
|
|
22
|
-
Stop,
|
|
23
|
-
Svg,
|
|
24
|
-
Symbol,
|
|
25
|
-
Text,
|
|
26
|
-
TextPath,
|
|
27
|
-
TSpan,
|
|
28
|
-
Use
|
|
29
|
-
};
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
const Circle = forwardRef((p, ref) => createElement("circle", { ...p, ref })), ClipPath = forwardRef((p, ref) => createElement("clipPath", { ...p, ref })), Defs = forwardRef((p, ref) => createElement("defs", { ...p, ref })), Ellipse = forwardRef((p, ref) => createElement("ellipse", { ...p, ref })), ForeignObject = forwardRef(
|
|
3
|
+
(p, ref) => createElement("foreignObject", { ...p, ref })
|
|
4
|
+
), G = forwardRef((p, ref) => createElement("g", { ...p, ref })), Image = forwardRef((p, ref) => createElement("image", { ...p, ref })), Line = forwardRef((p, ref) => createElement("line", { ...p, ref })), LinearGradient = forwardRef(
|
|
5
|
+
(p, ref) => createElement("linearGradient", { ...p, ref })
|
|
6
|
+
), Marker = forwardRef((p, ref) => createElement("marker", { ...p, ref })), Mask = forwardRef((p, ref) => createElement("mask", { ...p, ref })), Path = forwardRef((p, ref) => createElement("path", { ...p, ref })), Pattern = forwardRef((p, ref) => createElement("pattern", { ...p, ref })), Polygon = forwardRef((p, ref) => createElement("polygon", { ...p, ref })), Polyline = forwardRef((p, ref) => createElement("polyline", { ...p, ref })), RadialGradient = forwardRef(
|
|
7
|
+
(p, ref) => createElement("radialGradient", { ...p, ref })
|
|
8
|
+
), Rect = forwardRef((p, ref) => createElement("rect", { ...p, ref })), Shape = forwardRef((p, ref) => createElement("shape", { ...p, ref })), Stop = forwardRef((p, ref) => createElement("stop", { ...p, ref })), Svg = forwardRef((p, ref) => createElement("svg", { ...p, ref })), Symbol = forwardRef((p, ref) => createElement("symbol", { ...p, ref })), Text = forwardRef((p, ref) => createElement("text", { ...p, ref })), TextPath = forwardRef((p, ref) => createElement("clipPath", { ...p, ref })), TSpan = forwardRef((p, ref) => createElement("tSpan", { ...p, ref })), Use = forwardRef((p, ref) => createElement("use", { ...p, ref }));
|
|
9
|
+
var src_default = Svg;
|
|
30
10
|
export {
|
|
31
11
|
Circle,
|
|
32
12
|
ClipPath,
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.js"],
|
|
4
|
-
"mappings": "AAAA,SAAS,
|
|
4
|
+
"mappings": "AAAA,SAAS,eAAe,kBAAkB;AAEnC,MAAM,SAAS,WAAW,CAAC,GAAG,QAAQ,cAAc,UAAU,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GACtE,WAAW,WAAW,CAAC,GAAG,QAAQ,cAAc,YAAY,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GAC1E,OAAO,WAAW,CAAC,GAAG,QAAQ,cAAc,QAAQ,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GAClE,UAAU,WAAW,CAAC,GAAG,QAAQ,cAAc,WAAW,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GACxE,gBAAgB;AAAA,EAAW,CAAC,GAAG,QAC1C,cAAc,iBAAiB,EAAE,GAAG,GAAG,IAAI,CAAC;AAC9C,GACa,IAAI,WAAW,CAAC,GAAG,QAAQ,cAAc,KAAK,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GAC5D,QAAQ,WAAW,CAAC,GAAG,QAAQ,cAAc,SAAS,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GACpE,OAAO,WAAW,CAAC,GAAG,QAA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Ac,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,cAAQ;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,54 +1,103 @@
|
|
|
1
|
-
import { createElement } from "react";
|
|
2
|
-
const Circle = p => createElement("circle",
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
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
|
-
}
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
const Circle = forwardRef((p, ref) => createElement("circle", {
|
|
3
|
+
...p,
|
|
4
|
+
ref
|
|
5
|
+
})),
|
|
6
|
+
ClipPath = forwardRef((p, ref) => createElement("clipPath", {
|
|
7
|
+
...p,
|
|
8
|
+
ref
|
|
9
|
+
})),
|
|
10
|
+
Defs = forwardRef((p, ref) => createElement("defs", {
|
|
11
|
+
...p,
|
|
12
|
+
ref
|
|
13
|
+
})),
|
|
14
|
+
Ellipse = forwardRef((p, ref) => createElement("ellipse", {
|
|
15
|
+
...p,
|
|
16
|
+
ref
|
|
17
|
+
})),
|
|
18
|
+
ForeignObject = forwardRef((p, ref) => createElement("foreignObject", {
|
|
19
|
+
...p,
|
|
20
|
+
ref
|
|
21
|
+
})),
|
|
22
|
+
G = forwardRef((p, ref) => createElement("g", {
|
|
23
|
+
...p,
|
|
24
|
+
ref
|
|
25
|
+
})),
|
|
26
|
+
Image = forwardRef((p, ref) => createElement("image", {
|
|
27
|
+
...p,
|
|
28
|
+
ref
|
|
29
|
+
})),
|
|
30
|
+
Line = forwardRef((p, ref) => createElement("line", {
|
|
31
|
+
...p,
|
|
32
|
+
ref
|
|
33
|
+
})),
|
|
34
|
+
LinearGradient = forwardRef((p, ref) => createElement("linearGradient", {
|
|
35
|
+
...p,
|
|
36
|
+
ref
|
|
37
|
+
})),
|
|
38
|
+
Marker = forwardRef((p, ref) => createElement("marker", {
|
|
39
|
+
...p,
|
|
40
|
+
ref
|
|
41
|
+
})),
|
|
42
|
+
Mask = forwardRef((p, ref) => createElement("mask", {
|
|
43
|
+
...p,
|
|
44
|
+
ref
|
|
45
|
+
})),
|
|
46
|
+
Path = forwardRef((p, ref) => createElement("path", {
|
|
47
|
+
...p,
|
|
48
|
+
ref
|
|
49
|
+
})),
|
|
50
|
+
Pattern = forwardRef((p, ref) => createElement("pattern", {
|
|
51
|
+
...p,
|
|
52
|
+
ref
|
|
53
|
+
})),
|
|
54
|
+
Polygon = forwardRef((p, ref) => createElement("polygon", {
|
|
55
|
+
...p,
|
|
56
|
+
ref
|
|
57
|
+
})),
|
|
58
|
+
Polyline = forwardRef((p, ref) => createElement("polyline", {
|
|
59
|
+
...p,
|
|
60
|
+
ref
|
|
61
|
+
})),
|
|
62
|
+
RadialGradient = forwardRef((p, ref) => createElement("radialGradient", {
|
|
63
|
+
...p,
|
|
64
|
+
ref
|
|
65
|
+
})),
|
|
66
|
+
Rect = forwardRef((p, ref) => createElement("rect", {
|
|
67
|
+
...p,
|
|
68
|
+
ref
|
|
69
|
+
})),
|
|
70
|
+
Shape = forwardRef((p, ref) => createElement("shape", {
|
|
71
|
+
...p,
|
|
72
|
+
ref
|
|
73
|
+
})),
|
|
74
|
+
Stop = forwardRef((p, ref) => createElement("stop", {
|
|
75
|
+
...p,
|
|
76
|
+
ref
|
|
77
|
+
})),
|
|
78
|
+
Svg = forwardRef((p, ref) => createElement("svg", {
|
|
79
|
+
...p,
|
|
80
|
+
ref
|
|
81
|
+
})),
|
|
82
|
+
Symbol = forwardRef((p, ref) => createElement("symbol", {
|
|
83
|
+
...p,
|
|
84
|
+
ref
|
|
85
|
+
})),
|
|
86
|
+
Text = forwardRef((p, ref) => createElement("text", {
|
|
87
|
+
...p,
|
|
88
|
+
ref
|
|
89
|
+
})),
|
|
90
|
+
TextPath = forwardRef((p, ref) => createElement("clipPath", {
|
|
91
|
+
...p,
|
|
92
|
+
ref
|
|
93
|
+
})),
|
|
94
|
+
TSpan = forwardRef((p, ref) => createElement("tSpan", {
|
|
95
|
+
...p,
|
|
96
|
+
ref
|
|
97
|
+
})),
|
|
98
|
+
Use = forwardRef((p, ref) => createElement("use", {
|
|
99
|
+
...p,
|
|
100
|
+
ref
|
|
101
|
+
}));
|
|
102
|
+
var src_default = Svg;
|
|
54
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, src_default as default };
|
package/dist/esm/index.native.js
CHANGED
|
@@ -1,81 +1,139 @@
|
|
|
1
|
-
import { createElement } from "react";
|
|
2
|
-
|
|
3
|
-
return
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
},
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
return
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
29
|
-
return
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
},
|
|
33
|
-
|
|
34
|
-
},
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
return createElement("
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
},
|
|
41
|
-
return createElement("
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
},
|
|
45
|
-
return createElement("
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
},
|
|
49
|
-
return createElement("
|
|
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
|
-
|
|
1
|
+
import { createElement, forwardRef } from "react";
|
|
2
|
+
function _define_property(obj, key, value) {
|
|
3
|
+
return key in obj ? Object.defineProperty(obj, key, {
|
|
4
|
+
value,
|
|
5
|
+
enumerable: !0,
|
|
6
|
+
configurable: !0,
|
|
7
|
+
writable: !0
|
|
8
|
+
}) : obj[key] = value, obj;
|
|
9
|
+
}
|
|
10
|
+
function _object_spread(target) {
|
|
11
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
12
|
+
var source = arguments[i] != null ? arguments[i] : {}, ownKeys2 = Object.keys(source);
|
|
13
|
+
typeof Object.getOwnPropertySymbols == "function" && (ownKeys2 = ownKeys2.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
14
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
15
|
+
}))), ownKeys2.forEach(function(key) {
|
|
16
|
+
_define_property(target, key, source[key]);
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
return target;
|
|
20
|
+
}
|
|
21
|
+
function ownKeys(object, enumerableOnly) {
|
|
22
|
+
var keys = Object.keys(object);
|
|
23
|
+
if (Object.getOwnPropertySymbols) {
|
|
24
|
+
var symbols = Object.getOwnPropertySymbols(object);
|
|
25
|
+
enumerableOnly && (symbols = symbols.filter(function(sym) {
|
|
26
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
27
|
+
})), keys.push.apply(keys, symbols);
|
|
28
|
+
}
|
|
29
|
+
return keys;
|
|
30
|
+
}
|
|
31
|
+
function _object_spread_props(target, source) {
|
|
32
|
+
return source = source ?? {}, Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function(key) {
|
|
33
|
+
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
34
|
+
}), target;
|
|
35
|
+
}
|
|
36
|
+
var Circle = forwardRef(function(p, ref) {
|
|
37
|
+
return createElement("circle", _object_spread_props(_object_spread({}, p), {
|
|
38
|
+
ref
|
|
39
|
+
}));
|
|
40
|
+
}), ClipPath = forwardRef(function(p, ref) {
|
|
41
|
+
return createElement("clipPath", _object_spread_props(_object_spread({}, p), {
|
|
42
|
+
ref
|
|
43
|
+
}));
|
|
44
|
+
}), Defs = forwardRef(function(p, ref) {
|
|
45
|
+
return createElement("defs", _object_spread_props(_object_spread({}, p), {
|
|
46
|
+
ref
|
|
47
|
+
}));
|
|
48
|
+
}), Ellipse = forwardRef(function(p, ref) {
|
|
49
|
+
return createElement("ellipse", _object_spread_props(_object_spread({}, p), {
|
|
50
|
+
ref
|
|
51
|
+
}));
|
|
52
|
+
}), ForeignObject = forwardRef(function(p, ref) {
|
|
53
|
+
return createElement("foreignObject", _object_spread_props(_object_spread({}, p), {
|
|
54
|
+
ref
|
|
55
|
+
}));
|
|
56
|
+
}), G = forwardRef(function(p, ref) {
|
|
57
|
+
return createElement("g", _object_spread_props(_object_spread({}, p), {
|
|
58
|
+
ref
|
|
59
|
+
}));
|
|
60
|
+
}), Image = forwardRef(function(p, ref) {
|
|
61
|
+
return createElement("image", _object_spread_props(_object_spread({}, p), {
|
|
62
|
+
ref
|
|
63
|
+
}));
|
|
64
|
+
}), Line = forwardRef(function(p, ref) {
|
|
65
|
+
return createElement("line", _object_spread_props(_object_spread({}, p), {
|
|
66
|
+
ref
|
|
67
|
+
}));
|
|
68
|
+
}), LinearGradient = forwardRef(function(p, ref) {
|
|
69
|
+
return createElement("linearGradient", _object_spread_props(_object_spread({}, p), {
|
|
70
|
+
ref
|
|
71
|
+
}));
|
|
72
|
+
}), Marker = forwardRef(function(p, ref) {
|
|
73
|
+
return createElement("marker", _object_spread_props(_object_spread({}, p), {
|
|
74
|
+
ref
|
|
75
|
+
}));
|
|
76
|
+
}), Mask = forwardRef(function(p, ref) {
|
|
77
|
+
return createElement("mask", _object_spread_props(_object_spread({}, p), {
|
|
78
|
+
ref
|
|
79
|
+
}));
|
|
80
|
+
}), Path = forwardRef(function(p, ref) {
|
|
81
|
+
return createElement("path", _object_spread_props(_object_spread({}, p), {
|
|
82
|
+
ref
|
|
83
|
+
}));
|
|
84
|
+
}), Pattern = forwardRef(function(p, ref) {
|
|
85
|
+
return createElement("pattern", _object_spread_props(_object_spread({}, p), {
|
|
86
|
+
ref
|
|
87
|
+
}));
|
|
88
|
+
}), Polygon = forwardRef(function(p, ref) {
|
|
89
|
+
return createElement("polygon", _object_spread_props(_object_spread({}, p), {
|
|
90
|
+
ref
|
|
91
|
+
}));
|
|
92
|
+
}), Polyline = forwardRef(function(p, ref) {
|
|
93
|
+
return createElement("polyline", _object_spread_props(_object_spread({}, p), {
|
|
94
|
+
ref
|
|
95
|
+
}));
|
|
96
|
+
}), RadialGradient = forwardRef(function(p, ref) {
|
|
97
|
+
return createElement("radialGradient", _object_spread_props(_object_spread({}, p), {
|
|
98
|
+
ref
|
|
99
|
+
}));
|
|
100
|
+
}), Rect = forwardRef(function(p, ref) {
|
|
101
|
+
return createElement("rect", _object_spread_props(_object_spread({}, p), {
|
|
102
|
+
ref
|
|
103
|
+
}));
|
|
104
|
+
}), Shape = forwardRef(function(p, ref) {
|
|
105
|
+
return createElement("shape", _object_spread_props(_object_spread({}, p), {
|
|
106
|
+
ref
|
|
107
|
+
}));
|
|
108
|
+
}), Stop = forwardRef(function(p, ref) {
|
|
109
|
+
return createElement("stop", _object_spread_props(_object_spread({}, p), {
|
|
110
|
+
ref
|
|
111
|
+
}));
|
|
112
|
+
}), Svg = forwardRef(function(p, ref) {
|
|
113
|
+
return createElement("svg", _object_spread_props(_object_spread({}, p), {
|
|
114
|
+
ref
|
|
115
|
+
}));
|
|
116
|
+
}), Symbol = forwardRef(function(p, ref) {
|
|
117
|
+
return createElement("symbol", _object_spread_props(_object_spread({}, p), {
|
|
118
|
+
ref
|
|
119
|
+
}));
|
|
120
|
+
}), Text = forwardRef(function(p, ref) {
|
|
121
|
+
return createElement("text", _object_spread_props(_object_spread({}, p), {
|
|
122
|
+
ref
|
|
123
|
+
}));
|
|
124
|
+
}), TextPath = forwardRef(function(p, ref) {
|
|
125
|
+
return createElement("clipPath", _object_spread_props(_object_spread({}, p), {
|
|
126
|
+
ref
|
|
127
|
+
}));
|
|
128
|
+
}), TSpan = forwardRef(function(p, ref) {
|
|
129
|
+
return createElement("tSpan", _object_spread_props(_object_spread({}, p), {
|
|
130
|
+
ref
|
|
131
|
+
}));
|
|
132
|
+
}), Use = forwardRef(function(p, ref) {
|
|
133
|
+
return createElement("use", _object_spread_props(_object_spread({}, p), {
|
|
134
|
+
ref
|
|
135
|
+
}));
|
|
136
|
+
}), src_default = Svg;
|
|
79
137
|
export {
|
|
80
138
|
Circle,
|
|
81
139
|
ClipPath,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Users/n8/tamagui/packages/react-native-svg/src/index.js"],
|
|
4
|
-
"mappings": "AAAA,SAASA,
|
|
5
|
-
"names": ["createElement", "Circle", "p", "ClipPath", "Defs", "Ellipse", "ForeignObject", "G", "Image", "Line", "LinearGradient", "Marker", "Mask", "Path", "Pattern", "Polygon", "Polyline", "RadialGradient", "Rect", "Shape", "Stop", "Svg", "Symbol", "Text", "TextPath", "TSpan", "Use"]
|
|
4
|
+
"mappings": "AAAA,SAASA,eAAeC,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEnC,IAAMC,SAASD,WAAW,SAACE,GAAGC,KAAAA;SAAQJ,cAAc,UAAU,qBAAA,eAAA,CAAA,GAAKG,CAAAA,GAAAA;IAAGC;;IAChEC,WAAWJ,WAAW,SAACE,GAAGC,KAAAA;SAAQJ,cAAc,YAAY,qBAAA,eAAA,CAAA,GAAKG,CAAAA,GAAAA;IAAGC;;IACpEE,OAAOL,WAAW,SAACE,GAAGC,KAAAA;SAAQJ,cAAc,QAAQ,qBAAA,eAAA,CAAA,GAAKG,CAAAA,GAAAA;IAAGC;;IAC5DG,UAAUN,WAAW,SAACE,GAAGC,KAAAA;SAAQJ,cAAc,WAAW,qBAAA,eAAA,CAAA,GAAKG,CAAAA,GAAAA;IAAGC;;IAClEI,gBAAgBP,WAAW,SAACE,GAAGC,KAAAA;SAC1CJ,cAAc,iBAAiB,qBAAA,eAAA,CAAA,GAAKG,CAAAA,GAAAA;IAAGC;;IAE5BK,IAAIR,WAAW,SAACE,GAAGC,KAAAA;SAAQJ,cAAc,KAAK,qBAAA,eAAA,CA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,qBAAA,eAAA,CAAA,GAAKG,CAAAA,GAAAA;IAAGC;;IAC5DiB,QAAQpB,WAAW,SAACE,GAAGC,KAAAA;SAAQJ,cAAc,SAAS,qBAAA,eAAA,CAAA,GAAKG,CAAAA,GAAAA;IAAGC;;IAC9DkB,OAAOrB,WAAW,SAACE,GAAGC,KAAAA;SAAQJ,cAAc,QAAQ,qBAAA,eAAA,CAAA,GAAKG,CAAAA,GAAAA;IAAGC;;IAC5DmB,MAAMtB,WAAW,SAACE,GAAGC,KAAAA;SAAQJ,cAAc,OAAO,qBAAA,eAAA,CAAA,GAAKG,CAAAA,GAAAA;IAAGC;;IAC1DoB,SAASvB,WAAW,SAACE,GAAGC,KAAAA;SAAQJ,cAAc,UAAU,qBAAA,eAAA,CAAA,GAAKG,CAAAA,GAAAA;IAAGC;;IAChEqB,OAAOxB,WAAW,SAACE,GAAGC,KAAAA;SAAQJ,cAAc,QAAQ,qBAAA,eAAA,CAAA,GAAKG,CAAAA,GAAAA;IAAGC;;IAC5DsB,WAAWzB,WAAW,SAACE,GAAGC,KAAAA;SAAQJ,cAAc,YAAY,qBAAA,eAAA,CAAA,GAAKG,CAAAA,GAAAA;IAAGC;;IACpEuB,QAAQ1B,WAAW,SAACE,GAAGC,KAAAA;SAAQJ,cAAc,SAAS,qBAAA,eAAA,CAAA,GAAKG,CAAAA,GAAAA;IAAGC;;IAC9DwB,MAAM3B,WAAW,SAACE,GAAGC,KAAAA;SAAQJ,cAAc,OAAO,qBAAA,eAAA,CAAA,GAAKG,CAAAA,GAAAA;IAAGC;;IAEvE,cAAemB;",
|
|
5
|
+
"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"]
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/react-native-svg",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.91.0",
|
|
4
4
|
"main": "dist/cjs/index.js",
|
|
5
5
|
"module": "dist/esm/index.js",
|
|
6
6
|
"publishConfig": {
|
|
@@ -13,6 +13,6 @@
|
|
|
13
13
|
"clean:build": "tamagui-build clean:build"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
|
-
"@tamagui/build": "1.
|
|
16
|
+
"@tamagui/build": "1.91.0"
|
|
17
17
|
}
|
|
18
18
|
}
|
package/src/index.js
CHANGED
|
@@ -1,55 +1,35 @@
|
|
|
1
|
-
import { createElement } from 'react'
|
|
1
|
+
import { createElement, forwardRef } from 'react'
|
|
2
2
|
|
|
3
|
-
export const Circle = (p) => createElement('circle', p)
|
|
4
|
-
export const ClipPath = (p) => createElement('clipPath', p)
|
|
5
|
-
export const Defs = (p) => createElement('defs', p)
|
|
6
|
-
export const Ellipse = (p) => createElement('ellipse', p)
|
|
7
|
-
export const ForeignObject = (p) =>
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export const
|
|
11
|
-
export const
|
|
12
|
-
export const
|
|
13
|
-
export const
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export const
|
|
17
|
-
export const
|
|
18
|
-
export const
|
|
19
|
-
export const
|
|
20
|
-
export const
|
|
21
|
-
export const
|
|
22
|
-
export const
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
export const
|
|
26
|
-
export const
|
|
27
|
-
export const
|
|
3
|
+
export const Circle = forwardRef((p, ref) => createElement('circle', { ...p, ref }))
|
|
4
|
+
export const ClipPath = forwardRef((p, ref) => createElement('clipPath', { ...p, ref }))
|
|
5
|
+
export const Defs = forwardRef((p, ref) => createElement('defs', { ...p, ref }))
|
|
6
|
+
export const Ellipse = forwardRef((p, ref) => createElement('ellipse', { ...p, ref }))
|
|
7
|
+
export const ForeignObject = forwardRef((p, ref) =>
|
|
8
|
+
createElement('foreignObject', { ...p, ref })
|
|
9
|
+
)
|
|
10
|
+
export const G = forwardRef((p, ref) => createElement('g', { ...p, ref }))
|
|
11
|
+
export const Image = forwardRef((p, ref) => createElement('image', { ...p, ref }))
|
|
12
|
+
export const Line = forwardRef((p, ref) => createElement('line', { ...p, ref }))
|
|
13
|
+
export const LinearGradient = forwardRef((p, ref) =>
|
|
14
|
+
createElement('linearGradient', { ...p, ref })
|
|
15
|
+
)
|
|
16
|
+
export const Marker = forwardRef((p, ref) => createElement('marker', { ...p, ref }))
|
|
17
|
+
export const Mask = forwardRef((p, ref) => createElement('mask', { ...p, ref }))
|
|
18
|
+
export const Path = forwardRef((p, ref) => createElement('path', { ...p, ref }))
|
|
19
|
+
export const Pattern = forwardRef((p, ref) => createElement('pattern', { ...p, ref }))
|
|
20
|
+
export const Polygon = forwardRef((p, ref) => createElement('polygon', { ...p, ref }))
|
|
21
|
+
export const Polyline = forwardRef((p, ref) => createElement('polyline', { ...p, ref }))
|
|
22
|
+
export const RadialGradient = forwardRef((p, ref) =>
|
|
23
|
+
createElement('radialGradient', { ...p, ref })
|
|
24
|
+
)
|
|
25
|
+
export const Rect = forwardRef((p, ref) => createElement('rect', { ...p, ref }))
|
|
26
|
+
export const Shape = forwardRef((p, ref) => createElement('shape', { ...p, ref }))
|
|
27
|
+
export const Stop = forwardRef((p, ref) => createElement('stop', { ...p, ref }))
|
|
28
|
+
export const Svg = forwardRef((p, ref) => createElement('svg', { ...p, ref }))
|
|
29
|
+
export const Symbol = forwardRef((p, ref) => createElement('symbol', { ...p, ref }))
|
|
30
|
+
export const Text = forwardRef((p, ref) => createElement('text', { ...p, ref }))
|
|
31
|
+
export const TextPath = forwardRef((p, ref) => createElement('clipPath', { ...p, ref }))
|
|
32
|
+
export const TSpan = forwardRef((p, ref) => createElement('tSpan', { ...p, ref }))
|
|
33
|
+
export const Use = forwardRef((p, ref) => createElement('use', { ...p, ref }))
|
|
28
34
|
|
|
29
|
-
export default
|
|
30
|
-
Circle,
|
|
31
|
-
ClipPath,
|
|
32
|
-
Defs,
|
|
33
|
-
Ellipse,
|
|
34
|
-
ForeignObject,
|
|
35
|
-
G,
|
|
36
|
-
Image,
|
|
37
|
-
Line,
|
|
38
|
-
LinearGradient,
|
|
39
|
-
Marker,
|
|
40
|
-
Mask,
|
|
41
|
-
Path,
|
|
42
|
-
Pattern,
|
|
43
|
-
Polygon,
|
|
44
|
-
Polyline,
|
|
45
|
-
RadialGradient,
|
|
46
|
-
Rect,
|
|
47
|
-
Shape,
|
|
48
|
-
Stop,
|
|
49
|
-
Svg,
|
|
50
|
-
Symbol,
|
|
51
|
-
Text,
|
|
52
|
-
TextPath,
|
|
53
|
-
TSpan,
|
|
54
|
-
Use,
|
|
55
|
-
}
|
|
35
|
+
export default Svg
|