@tamagui/react-native-svg 1.139.0 → 1.139.2

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.
@@ -1 +1,2 @@
1
- built @tamagui/react-native-svg in 105 ms
1
+
2
+ built @tamagui/react-native-svg in 126 ms
@@ -1,9 +1,11 @@
1
1
  "use strict";
2
2
 
3
+ var __create = Object.create;
3
4
  var __defProp = Object.defineProperty;
4
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
- var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __getProtoOf = Object.getPrototypeOf,
8
+ __hasOwnProp = Object.prototype.hasOwnProperty;
7
9
  var __export = (target, all) => {
8
10
  for (var name in all) __defProp(target, name, {
9
11
  get: all[name],
@@ -16,190 +18,25 @@ var __export = (target, all) => {
16
18
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
19
  });
18
20
  return to;
19
- };
20
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: !0
22
- }), mod);
23
- var index_exports = {};
24
- __export(index_exports, {
25
- Circle: () => Circle,
26
- ClipPath: () => ClipPath,
27
- Defs: () => Defs,
28
- Ellipse: () => Ellipse,
29
- ForeignObject: () => ForeignObject,
30
- G: () => G,
31
- Image: () => Image,
32
- Line: () => Line,
33
- LinearGradient: () => LinearGradient,
34
- Marker: () => Marker,
35
- Mask: () => Mask,
36
- Path: () => Path,
37
- Pattern: () => Pattern,
38
- Polygon: () => Polygon,
39
- Polyline: () => Polyline,
40
- RadialGradient: () => RadialGradient,
41
- Rect: () => Rect,
42
- Shape: () => Shape,
43
- Stop: () => Stop,
44
- Svg: () => Svg,
45
- Symbol: () => Symbol2,
46
- TSpan: () => TSpan,
47
- Text: () => Text,
48
- TextPath: () => TextPath,
49
- Use: () => Use,
50
- default: () => index_default
21
+ },
22
+ __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default")),
23
+ __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
24
+ // If the importer is in node compatibility mode or this is not an ESM
25
+ // file that has been converted to a CommonJS file using a Babel-
26
+ // compatible transform (i.e. "__esModule" has not been set), then set
27
+ // "default" to the CommonJS "module.exports" for node compatibility.
28
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
29
+ value: mod,
30
+ enumerable: !0
31
+ }) : target, mod)),
32
+ __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
33
+ value: !0
34
+ }), mod);
35
+ var index_native_exports = {};
36
+ __export(index_native_exports, {
37
+ default: () => import_react_native_svg.default
51
38
  });
52
- module.exports = __toCommonJS(index_exports);
53
- var import_react = require("react"),
54
- Circle = (0, import_react.forwardRef)(function (p, ref) {
55
- return (0, import_react.createElement)("circle", {
56
- ...p,
57
- ref
58
- });
59
- }),
60
- ClipPath = (0, import_react.forwardRef)(function (p, ref) {
61
- return (0, import_react.createElement)("clipPath", {
62
- ...p,
63
- ref
64
- });
65
- }),
66
- Defs = (0, import_react.forwardRef)(function (p, ref) {
67
- return (0, import_react.createElement)("defs", {
68
- ...p,
69
- ref
70
- });
71
- }),
72
- Ellipse = (0, import_react.forwardRef)(function (p, ref) {
73
- return (0, import_react.createElement)("ellipse", {
74
- ...p,
75
- ref
76
- });
77
- }),
78
- ForeignObject = (0, import_react.forwardRef)(function (p, ref) {
79
- return (0, import_react.createElement)("foreignObject", {
80
- ...p,
81
- ref
82
- });
83
- }),
84
- G = (0, import_react.forwardRef)(function (p, ref) {
85
- return (0, import_react.createElement)("g", {
86
- ...p,
87
- ref
88
- });
89
- }),
90
- Image = (0, import_react.forwardRef)(function (p, ref) {
91
- return (0, import_react.createElement)("image", {
92
- ...p,
93
- ref
94
- });
95
- }),
96
- Line = (0, import_react.forwardRef)(function (p, ref) {
97
- return (0, import_react.createElement)("line", {
98
- ...p,
99
- ref
100
- });
101
- }),
102
- LinearGradient = (0, import_react.forwardRef)(function (p, ref) {
103
- return (0, import_react.createElement)("linearGradient", {
104
- ...p,
105
- ref
106
- });
107
- }),
108
- Marker = (0, import_react.forwardRef)(function (p, ref) {
109
- return (0, import_react.createElement)("marker", {
110
- ...p,
111
- ref
112
- });
113
- }),
114
- Mask = (0, import_react.forwardRef)(function (p, ref) {
115
- return (0, import_react.createElement)("mask", {
116
- ...p,
117
- ref
118
- });
119
- }),
120
- Path = (0, import_react.forwardRef)(function (p, ref) {
121
- return (0, import_react.createElement)("path", {
122
- ...p,
123
- ref
124
- });
125
- }),
126
- Pattern = (0, import_react.forwardRef)(function (p, ref) {
127
- return (0, import_react.createElement)("pattern", {
128
- ...p,
129
- ref
130
- });
131
- }),
132
- Polygon = (0, import_react.forwardRef)(function (p, ref) {
133
- return (0, import_react.createElement)("polygon", {
134
- ...p,
135
- ref
136
- });
137
- }),
138
- Polyline = (0, import_react.forwardRef)(function (p, ref) {
139
- return (0, import_react.createElement)("polyline", {
140
- ...p,
141
- ref
142
- });
143
- }),
144
- RadialGradient = (0, import_react.forwardRef)(function (p, ref) {
145
- return (0, import_react.createElement)("radialGradient", {
146
- ...p,
147
- ref
148
- });
149
- }),
150
- Rect = (0, import_react.forwardRef)(function (p, ref) {
151
- return (0, import_react.createElement)("rect", {
152
- ...p,
153
- ref
154
- });
155
- }),
156
- Shape = (0, import_react.forwardRef)(function (p, ref) {
157
- return (0, import_react.createElement)("shape", {
158
- ...p,
159
- ref
160
- });
161
- }),
162
- Stop = (0, import_react.forwardRef)(function (p, ref) {
163
- return (0, import_react.createElement)("stop", {
164
- ...p,
165
- ref
166
- });
167
- }),
168
- Svg = (0, import_react.forwardRef)(function (p, ref) {
169
- return (0, import_react.createElement)("svg", {
170
- ...p,
171
- ref
172
- });
173
- }),
174
- Symbol2 = (0, import_react.forwardRef)(function (p, ref) {
175
- return (0, import_react.createElement)("symbol", {
176
- ...p,
177
- ref
178
- });
179
- }),
180
- Text = (0, import_react.forwardRef)(function (p, ref) {
181
- return (0, import_react.createElement)("text", {
182
- ...p,
183
- ref
184
- });
185
- }),
186
- TextPath = (0, import_react.forwardRef)(function (p, ref) {
187
- return (0, import_react.createElement)("clipPath", {
188
- ...p,
189
- ref
190
- });
191
- }),
192
- TSpan = (0, import_react.forwardRef)(function (p, ref) {
193
- return (0, import_react.createElement)("tSpan", {
194
- ...p,
195
- ref
196
- });
197
- }),
198
- Use = (0, import_react.forwardRef)(function (p, ref) {
199
- return (0, import_react.createElement)("use", {
200
- ...p,
201
- ref
202
- });
203
- }),
204
- index_default = Svg;
39
+ module.exports = __toCommonJS(index_native_exports);
40
+ __reExport(index_native_exports, require("react-native-svg"), module.exports);
41
+ var import_react_native_svg = __toESM(require("react-native-svg"), 1);
205
42
  //# sourceMappingURL=index.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_exports","__export","Circle","ClipPath","Defs","Ellipse","ForeignObject","G","Image","Line","LinearGradient","Marker","Mask","Path","Pattern","Polygon","Polyline","RadialGradient","Rect","Shape","Stop","Svg","Symbol","Symbol2","TSpan","Text","TextPath","Use","default","index_default","module","exports","import_react","require","forwardRef","p","ref","createElement"],"sources":["../../src/index.js"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA;AAAAC,QAAA,CAAAD,aAAA;EAAAE,MAAA,EAAAA,CAAA,KAAAA,MAAA;EAAAC,QAAA,EAAAA,CAAA,KAAAA,QAAA;EAAAC,IAAA,EAAAA,CAAA,KAAAA,IAAA;EAAAC,OAAA,EAAAA,CAAA,KAAAA,OAAA;EAAAC,aAAA,EAAAA,CAAA,KAAAA,aAAA;EAAAC,CAAA,EAAAA,CAAA,KAAAA,CAAA;EAAAC,KAAA,EAAAA,CAAA,KAAA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__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":[]}
@@ -1,154 +1,4 @@
1
- import { createElement, forwardRef } from "react";
2
- var Circle = forwardRef(function (p, ref) {
3
- return createElement("circle", {
4
- ...p,
5
- ref
6
- });
7
- }),
8
- ClipPath = forwardRef(function (p, ref) {
9
- return createElement("clipPath", {
10
- ...p,
11
- ref
12
- });
13
- }),
14
- Defs = forwardRef(function (p, ref) {
15
- return createElement("defs", {
16
- ...p,
17
- ref
18
- });
19
- }),
20
- Ellipse = forwardRef(function (p, ref) {
21
- return createElement("ellipse", {
22
- ...p,
23
- ref
24
- });
25
- }),
26
- ForeignObject = forwardRef(function (p, ref) {
27
- return createElement("foreignObject", {
28
- ...p,
29
- ref
30
- });
31
- }),
32
- G = forwardRef(function (p, ref) {
33
- return createElement("g", {
34
- ...p,
35
- ref
36
- });
37
- }),
38
- Image = forwardRef(function (p, ref) {
39
- return createElement("image", {
40
- ...p,
41
- ref
42
- });
43
- }),
44
- Line = forwardRef(function (p, ref) {
45
- return createElement("line", {
46
- ...p,
47
- ref
48
- });
49
- }),
50
- LinearGradient = forwardRef(function (p, ref) {
51
- return createElement("linearGradient", {
52
- ...p,
53
- ref
54
- });
55
- }),
56
- Marker = forwardRef(function (p, ref) {
57
- return createElement("marker", {
58
- ...p,
59
- ref
60
- });
61
- }),
62
- Mask = forwardRef(function (p, ref) {
63
- return createElement("mask", {
64
- ...p,
65
- ref
66
- });
67
- }),
68
- Path = forwardRef(function (p, ref) {
69
- return createElement("path", {
70
- ...p,
71
- ref
72
- });
73
- }),
74
- Pattern = forwardRef(function (p, ref) {
75
- return createElement("pattern", {
76
- ...p,
77
- ref
78
- });
79
- }),
80
- Polygon = forwardRef(function (p, ref) {
81
- return createElement("polygon", {
82
- ...p,
83
- ref
84
- });
85
- }),
86
- Polyline = forwardRef(function (p, ref) {
87
- return createElement("polyline", {
88
- ...p,
89
- ref
90
- });
91
- }),
92
- RadialGradient = forwardRef(function (p, ref) {
93
- return createElement("radialGradient", {
94
- ...p,
95
- ref
96
- });
97
- }),
98
- Rect = forwardRef(function (p, ref) {
99
- return createElement("rect", {
100
- ...p,
101
- ref
102
- });
103
- }),
104
- Shape = forwardRef(function (p, ref) {
105
- return createElement("shape", {
106
- ...p,
107
- ref
108
- });
109
- }),
110
- Stop = forwardRef(function (p, ref) {
111
- return createElement("stop", {
112
- ...p,
113
- ref
114
- });
115
- }),
116
- Svg = forwardRef(function (p, ref) {
117
- return createElement("svg", {
118
- ...p,
119
- ref
120
- });
121
- }),
122
- Symbol = forwardRef(function (p, ref) {
123
- return createElement("symbol", {
124
- ...p,
125
- ref
126
- });
127
- }),
128
- Text = forwardRef(function (p, ref) {
129
- return createElement("text", {
130
- ...p,
131
- ref
132
- });
133
- }),
134
- TextPath = forwardRef(function (p, ref) {
135
- return createElement("clipPath", {
136
- ...p,
137
- ref
138
- });
139
- }),
140
- TSpan = forwardRef(function (p, ref) {
141
- return createElement("tSpan", {
142
- ...p,
143
- ref
144
- });
145
- }),
146
- Use = forwardRef(function (p, ref) {
147
- return createElement("use", {
148
- ...p,
149
- ref
150
- });
151
- }),
152
- index_default = Svg;
153
- 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 };
1
+ export * from "react-native-svg";
2
+ import { default as default2 } from "react-native-svg";
3
+ export { default2 as default };
154
4
  //# sourceMappingURL=index.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["createElement","forwardRef","Circle","p","ref","ClipPath"],"sources":["../../src/index.js"],"sourcesContent":[null],"mappings":"AAAA,SAASA,aAAA,EAAeC,UAAA,QAAkB;AAEnC,IAAAC,MAAM,GAAAD,UAAS,WAAeE,CAAA,EAAAC,GAAQ;IAIL,OAAIJ,aAC1C,SAAc;MAEH,GAAIG,CAAA;MAGyBC;IAE1C,CACa;EAMiB,EAAW;EAACC,QAAG,GAC3CJ,UAAA,WAAcE,CAAA,EAAAC,GAAA;IAChB,OACaJ,aAAmB,WAAW;MAUpC,GAAAG,CAAA","ignoreList":[]}
1
+ {"version":3,"names":["default","default2"],"sources":["../../src/index.native.js"],"sourcesContent":[null],"mappings":"AACA,cAAc;AACd,SAASA,OAAA,IAAAC,QAAA,QAAe","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/react-native-svg",
3
- "version": "1.139.0",
3
+ "version": "1.139.2",
4
4
  "main": "dist/cjs",
5
5
  "type": "module",
6
6
  "module": "dist/esm/index.js",
@@ -25,7 +25,16 @@
25
25
  "clean": "tamagui-build clean",
26
26
  "clean:build": "tamagui-build clean:build"
27
27
  },
28
+ "peerDependencies": {
29
+ "react-native-svg": "*"
30
+ },
31
+ "peerDependenciesMeta": {
32
+ "react-native-svg": {
33
+ "optional": true
34
+ }
35
+ },
28
36
  "devDependencies": {
29
- "@tamagui/build": "1.139.0"
37
+ "@tamagui/build": "1.139.2",
38
+ "react-native-svg": "15.12.1"
30
39
  }
31
40
  }
@@ -0,0 +1,3 @@
1
+ // re-export react-native-svg for native platforms
2
+ export * from 'react-native-svg'
3
+ export { default } from 'react-native-svg'