@tamagui/react-native-svg 2.0.0-rc.3 → 2.0.0-rc.30

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,2 +1,2 @@
1
1
  $ tamagui-build
2
- built @tamagui/react-native-svg in 281 ms
2
+ built @tamagui/react-native-svg in 673 ms
package/dist/cjs/index.js CHANGED
@@ -3,15 +3,21 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
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);
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);
15
21
  var index_exports = {};
16
22
  __export(index_exports, {
17
23
  Circle: () => Circle,
@@ -43,12 +49,104 @@ __export(index_exports, {
43
49
  });
44
50
  module.exports = __toCommonJS(index_exports);
45
51
  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
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 index_default = Svg;
@@ -34,9 +34,59 @@ var __export = (target, all) => {
34
34
  }), mod);
35
35
  var index_native_exports = {};
36
36
  __export(index_native_exports, {
37
- default: () => import_react_native_svg.default
37
+ Circle: () => import_elements.Circle,
38
+ ClipPath: () => import_elements.ClipPath,
39
+ Defs: () => import_elements.Defs,
40
+ Ellipse: () => import_elements.Ellipse,
41
+ FeBlend: () => import_elements.FeBlend,
42
+ FeColorMatrix: () => import_elements.FeColorMatrix,
43
+ FeComponentTransfer: () => import_elements.FeComponentTransfer,
44
+ FeComposite: () => import_elements.FeComposite,
45
+ FeConvolveMatrix: () => import_elements.FeConvolveMatrix,
46
+ FeDiffuseLighting: () => import_elements.FeDiffuseLighting,
47
+ FeDisplacementMap: () => import_elements.FeDisplacementMap,
48
+ FeDistantLight: () => import_elements.FeDistantLight,
49
+ FeDropShadow: () => import_elements.FeDropShadow,
50
+ FeFlood: () => import_elements.FeFlood,
51
+ FeFuncA: () => import_elements.FeFuncA,
52
+ FeFuncB: () => import_elements.FeFuncB,
53
+ FeFuncG: () => import_elements.FeFuncG,
54
+ FeFuncR: () => import_elements.FeFuncR,
55
+ FeGaussianBlur: () => import_elements.FeGaussianBlur,
56
+ FeImage: () => import_elements.FeImage,
57
+ FeMerge: () => import_elements.FeMerge,
58
+ FeMergeNode: () => import_elements.FeMergeNode,
59
+ FeMorphology: () => import_elements.FeMorphology,
60
+ FeOffset: () => import_elements.FeOffset,
61
+ FePointLight: () => import_elements.FePointLight,
62
+ FeSpecularLighting: () => import_elements.FeSpecularLighting,
63
+ FeSpotLight: () => import_elements.FeSpotLight,
64
+ FeTile: () => import_elements.FeTile,
65
+ FeTurbulence: () => import_elements.FeTurbulence,
66
+ Filter: () => import_elements.Filter,
67
+ ForeignObject: () => import_elements.ForeignObject,
68
+ G: () => import_elements.G,
69
+ Image: () => import_elements.Image,
70
+ Line: () => import_elements.Line,
71
+ LinearGradient: () => import_elements.LinearGradient,
72
+ Marker: () => import_elements.Marker,
73
+ Mask: () => import_elements.Mask,
74
+ Path: () => import_elements.Path,
75
+ Pattern: () => import_elements.Pattern,
76
+ Polygon: () => import_elements.Polygon,
77
+ Polyline: () => import_elements.Polyline,
78
+ RadialGradient: () => import_elements.RadialGradient,
79
+ Rect: () => import_elements.Rect,
80
+ Stop: () => import_elements.Stop,
81
+ Svg: () => import_elements.Svg,
82
+ Symbol: () => import_elements.Symbol,
83
+ TSpan: () => import_elements.TSpan,
84
+ Text: () => import_elements.Text,
85
+ TextPath: () => import_elements.TextPath,
86
+ Use: () => import_elements.Use,
87
+ default: () => import_elements.default
38
88
  });
39
89
  module.exports = __toCommonJS(index_native_exports);
40
90
  __reExport(index_native_exports, require("react-native-svg"), module.exports);
41
- var import_react_native_svg = __toESM(require("react-native-svg"), 1);
91
+ var import_elements = __toESM(require("react-native-svg/src/elements"), 1);
42
92
  //# sourceMappingURL=index.native.js.map
@@ -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":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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
+ {"version":3,"names":["index_native_exports","__export","Circle","import_elements","ClipPath","Defs","Ellipse","FeBlend","FeColorMatrix","FeComponentTransfer","FeComposite","FeConvolveMatrix","FeDiffuseLighting","FeDisplacementMap","FeDistantLight","FeDropShadow","FeFlood","FeFuncA","FeFuncB","FeFuncG","FeFuncR","FeGaussianBlur","FeImage","FeMerge","FeMergeNode","FeMorphology","FeOffset","FePointLight","FeSpecularLighting","FeSpotLight","FeTile","FeTurbulence","Filter","ForeignObject","G","Image","Line","LinearGradient","Marker","Mask","Path","Pattern","Polygon","Polyline","RadialGradient","Rect","Stop","Svg","Symbol","TSpan","Text","TextPath","Use","default","module","exports","__toCommonJS","__reExport","require","__toESM"],"sources":["../../src/index.native.js"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,oBAAA;AAAAC,QAAA,CAAAD,oBAAA;EAAAE,MAAA,EAAAA,CAAA,KAAAC,eAAA,CAAAD,MAAA;EAAAE,QAAA,EAAAA,CAAA,KAAAD,eAAA,CAAAC,QAAA;EAAAC,IAAA,EAAAA,CAAA,KAAAF,eAAA,CAAAE,IAAA;EAAAC,OAAA,EAAAA,CAAA,KAAAH,eAAA,CAAAG,OAAA;EAAAC,OAAA,EAAAA,CAAA,KAAAJ,eAAA,CAAAI,OAAA;EAAAC,aAAA,EAAAA,CAAA,KAAAL,eAAA,CAAAK,aAAA;EAAAC,mBAAA,EAAAA,CAAA,KAAAN,eAAA,CAAAM,mBAAA;EAAAC,WAAA,EAAAA,CAAA,KAAAP,eAAA,CAAAO,WAAA;EAAAC,gBAAA,EAAAA,CAAA,KAAAR,eAAA,CAAAQ,gBAAA;EAAAC,iBAAA,EAAAA,CAAA,KAAAT,eAAA,CAAAS,iBAAA;EAAAC,iBAAA,EAAAA,CAAA,KAAAV,eAAA,CAAAU,iBAAA;EAAAC,cAAA,EAAAA,CAAA,KAAAX,eAAA,CAAAW,cAAA;EAAAC,YAAA,EAAAA,CAAA,KAAAZ,eAAA,CAAAY,YAAA;EAAAC,OAAA,EAAAA,CAAA,KAAAb,eAAA,CAAAa,OAAA;EAAAC,OAAA,EAAAA,CAAA,KAAAd,eAAA,CAAAc,OAAA;EAAAC,OAAA,EAAAA,CAAA,KAAAf,eAAA,CAAAe,OAAA;EAAAC,OAAA,EAAAA,CAAA,KAAAhB,eAAA,CAAAgB,OAAA;EAAAC,OAAA,EAAAA,CAAA,KAAAjB,eAAA,CAAAiB,OAAA;EAAAC,cAAA,EAAAA,CAAA,KAAAlB,eAA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EAAAC,cAAA,EAAAA,CAAA,KAAAzC,eAAA,CAAAyC,cAAA;EAAAC,IAAA,EAAAA,CAAA,KAAA1C,eAAA,CAAA0C,IAAA;EAAAC,IAAA,EAAAA,CAAA,KAAA3C,eAAA,CAAA2C,IAAA;EAAAC,GAAA,EAAAA,CAAA,KAAA5C,eAAA,CAAA4C,GAAA;EAAAC,MAAA,EAAAA,CAAA,KAAA7C,eAAA,CAAA6C,MAAA;EAAAC,KAAA,EAAAA,CAAA,KAAA9C,eAAA,CAAA8C,KAAA;EAAAC,IAAA,EAAAA,CAAA,KAAA/C,eAAA,CAAA+C,IAAA;EAAAC,QAAA,EAAAA,CAAA,KAAAhD,eAAA,CAAAgD,QAAA;EAAAC,GAAA,EAAAA,CAAA,KAAAjD,eAAA,CAAAiD,GAAA;EAAAC,OAAA,EAAAA,CAAA,KAAAlD,eAAA,CAAAkD;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAC,YAAA,CAAAxD,oBAAA;AAGAyD,UAAA,CAAAzD,oBAAA,EAAc0D,OAAA,sBAHdJ,MAAA,CAAAC,OAAA;AAIA,IAAApD,eAAA,GAA8iBwD,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", { ...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 }));
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
+ }));
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
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/index.js"],
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,QAAQ,cAAc,QAAQ,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GAClE,iBAAiB;AAAA,EAAW,CAAC,GAAG,QAC3C,cAAc,kBAAkB,EAAE,GAAG,GAAG,IAAI,CAAC;AAC/C,GACa,SAAS,WAAW,CAAC,GAAG,QAAQ,cAAc,UAAU,EAAE,GAAG,GAAG,IAAI,CAAC,CAAC,GACtE,OAAO,WAAW,CAAC,G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Ac,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"],"sourcesContent":[null],"mappings":"AAAA,SAASA,aAAA,EAAeC,UAAA,QAAkB;AAEnC,MAAMC,MAAA,GAASD,UAAA,CAAW,CAACE,CAAA,EAAGC,GAAA,KAAQJ,aAAA,CAAc,UAAU;IAAE,GAAGG,CAAA;IAAGC;EAAI,CAAC,CAAC;EACtEC,QAAA,GAAWJ,UAAA,CAAW,CAACE,CAAA,EAAGC,GAAA,KAAQJ,aAAA,CAAc,YAAY;IAAE,GAAGG,CAAA;IAAGC;EAAI,CAAC,CAAC;EAC1EE,IAAA,GAAOL,UAAA,CAAW,CAACE,CAAA,EAAGC,GAAA,KAAQJ,aAAA,CAAc,QAAQ;IAAE,GAAGG,CAAA;IAAGC;EAAI,CAAC,CAAC;EAClEG,OAAA,GAAUN,UAAA,CAAW,CAACE,CAAA,EAAGC,GAAA,KAAQJ,aAAA,CAAc,WAAW;IAAE,GAAGG,CAAA;IAAGC;EAAI,CAAC,CAAC;EACxEI,aAAA,GAAgBP,UAAA,CAAW,CAACE,CAAA,EAAGC,GAAA,KAC1CJ,aAAA,CAAc,iBAAiB;IAAE,GAAGG,CAAA;IAAGC;EAAI,CAAC,CAC9C;EACaK,CAAA,GAAIR,UAAA,CAAW,CAACE,CAAA,EAAGC,GAAA,KAAQJ,aAAA,CAAc,KAAK;IAAE,GAAGG,CAAA;IAAGC;EAAI,CAAC,CAAC;EAC5DM,KAAA,GAAQT,UAAA,CAAW,CAACE,CAAA,EAAGC,GAAA,KAAQJ,aAAA,CAAc,SAAS;IAAE,GAAGG,CAAA;IAA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native-svg";
2
- import { default as default2 } from "react-native-svg";
3
- export { default2 as default };
2
+ import { default as default2, Circle, ClipPath, Defs, Ellipse, ForeignObject, G, Image, Line, LinearGradient, Marker, Mask, Path, Pattern, Polygon, Polyline, RadialGradient, Rect, Stop, Svg, Symbol, TSpan, Text, TextPath, Use, Filter, FeBlend, FeColorMatrix, FeComponentTransfer, FeComposite, FeConvolveMatrix, FeDiffuseLighting, FeDisplacementMap, FeDistantLight, FeDropShadow, FeFlood, FeFuncA, FeFuncB, FeFuncG, FeFuncR, FeGaussianBlur, FeImage, FeMerge, FeMergeNode, FeMorphology, FeOffset, FePointLight, FeSpecularLighting, FeSpotLight, FeTile, FeTurbulence } from "react-native-svg/src/elements";
3
+ export { Circle, ClipPath, Defs, Ellipse, FeBlend, FeColorMatrix, FeComponentTransfer, FeComposite, FeConvolveMatrix, FeDiffuseLighting, FeDisplacementMap, FeDistantLight, FeDropShadow, FeFlood, FeFuncA, FeFuncB, FeFuncG, FeFuncR, FeGaussianBlur, FeImage, FeMerge, FeMergeNode, FeMorphology, FeOffset, FePointLight, FeSpecularLighting, FeSpotLight, FeTile, FeTurbulence, Filter, ForeignObject, G, Image, Line, LinearGradient, Marker, Mask, Path, Pattern, Polygon, Polyline, RadialGradient, Rect, Stop, Svg, Symbol, TSpan, Text, TextPath, Use, default2 as default };
4
4
  //# sourceMappingURL=index.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["default","default2"],"sources":["../../src/index.native.js"],"sourcesContent":[null],"mappings":"AACA,cAAc;AACd,SAASA,OAAA,IAAAC,QAAA,QAAe","ignoreList":[]}
1
+ {"version":3,"names":["default","default2","Circle","ClipPath","Defs","Ellipse","ForeignObject","G","Image","Line","LinearGradient","Marker","Mask","Path","Pattern","Polygon","Polyline","RadialGradient","Rect","Stop","Svg","Symbol","TSpan","Text","TextPath","Use","Filter","FeBlend","FeColorMatrix","FeComponentTransfer","FeComposite","FeConvolveMatrix","FeDiffuseLighting","FeDisplacementMap","FeDistantLight","FeDropShadow","FeFlood","FeFuncA","FeFuncB","FeFuncG","FeFuncR","FeGaussianBlur","FeImage","FeMerge","FeMergeNode","FeMorphology","FeOffset","FePointLight","FeSpecularLighting","FeSpotLight","FeTile","FeTurbulence"],"sources":["../../src/index.native.js"],"sourcesContent":[null],"mappings":"AAGA,cAAc;AACd,SAASA,OAAA,IAAAC,QAAA,EAASC,MAAA,EAAQC,QAAA,EAAUC,IAAA,EAAMC,OAAA,EAASC,aAAA,EAAeC,CAAA,EAAGC,KAAA,EAAOC,IAAA,EAAMC,cAAA,EAAgBC,MAAA,EAAQC,IAAA,EAAMC,IAAA,EAAMC,OAAA,EAASC,OAAA,EAASC,QAAA,EAAUC,cAAA,EAAgBC,IAAA,EAAMC,IAAA,EAAMC,GAAA,EAAKC,MAAA,EAAQC,KAAA,EAAOC,IAAA,EAAMC,QAAA,EAAUC,GAAA,EAAKC,MAAA,EAAQC,OAAA,EAASC,aAAA,EAAeC,mBAAA,EAAqBC,WAAA,EAAaC,gBAAA,EAAkBC,iBAAA,EAAmBC,iBAAA,EAAmBC,cAAA,EAAgBC,YAAA,EAAcC,OAAA,EAASC,OAAA,EAASC,OAAA,EAASC,OAAA,EAASC,OAAA,EAASC,cAAA,EAAgBC,OAAA,EAASC,OAAA,EAASC,WAAA,EAAaC,YAAA,EAAcC,QAAA,EAAUC,YAAA,EAAcC,kBAAA,EAAoBC,WAAA,EAAaC,MAAA,EAAQC,YAAA,QAAoB","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",
3
+ "version": "2.0.0-rc.30",
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
- "module": "./dist/esm/index.native.js",
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/cjs/index.native.js"
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.3",
32
- "react-native-svg": "15.12.1"
28
+ "@tamagui/build": "2.0.0-rc.30",
29
+ "react-native-svg": "15.15.3"
33
30
  },
34
31
  "peerDependencies": {
35
32
  "react-native-svg": "*"