@tamagui/react-native-svg 1.14.1 → 1.14.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.
- package/dist/cjs/index.js +129 -1
- package/dist/cjs/index.js.map +2 -2
- package/dist/esm/index.js +81 -1
- package/dist/esm/index.js.map +2 -2
- package/dist/esm/index.mjs +81 -1
- package/dist/esm/index.mjs.map +2 -2
- package/package.json +2 -2
package/dist/cjs/index.js
CHANGED
|
@@ -1,2 +1,130 @@
|
|
|
1
|
-
"use strict";
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var src_exports = {};
|
|
20
|
+
__export(src_exports, {
|
|
21
|
+
Circle: () => Circle,
|
|
22
|
+
ClipPath: () => ClipPath,
|
|
23
|
+
Defs: () => Defs,
|
|
24
|
+
Ellipse: () => Ellipse,
|
|
25
|
+
ForeignObject: () => ForeignObject,
|
|
26
|
+
G: () => G,
|
|
27
|
+
Image: () => Image,
|
|
28
|
+
Line: () => Line,
|
|
29
|
+
LinearGradient: () => LinearGradient,
|
|
30
|
+
Marker: () => Marker,
|
|
31
|
+
Mask: () => Mask,
|
|
32
|
+
Path: () => Path,
|
|
33
|
+
Pattern: () => Pattern,
|
|
34
|
+
Polygon: () => Polygon,
|
|
35
|
+
Polyline: () => Polyline,
|
|
36
|
+
RadialGradient: () => RadialGradient,
|
|
37
|
+
Rect: () => Rect,
|
|
38
|
+
Shape: () => Shape,
|
|
39
|
+
Stop: () => Stop,
|
|
40
|
+
Svg: () => Svg,
|
|
41
|
+
Symbol: () => Symbol2,
|
|
42
|
+
TSpan: () => TSpan,
|
|
43
|
+
Text: () => Text,
|
|
44
|
+
TextPath: () => TextPath,
|
|
45
|
+
Use: () => Use,
|
|
46
|
+
default: () => src_default
|
|
47
|
+
});
|
|
48
|
+
module.exports = __toCommonJS(src_exports);
|
|
49
|
+
var import_react = require("react");
|
|
50
|
+
const Circle = (p) => (0, import_react.createElement)("circle", p);
|
|
51
|
+
const ClipPath = (p) => (0, import_react.createElement)("clipPath", p);
|
|
52
|
+
const Defs = (p) => (0, import_react.createElement)("defs", p);
|
|
53
|
+
const Ellipse = (p) => (0, import_react.createElement)("ellipse", p);
|
|
54
|
+
const ForeignObject = (p) => (0, import_react.createElement)("foreignObject", p);
|
|
55
|
+
const G = (p) => (0, import_react.createElement)("g", p);
|
|
56
|
+
const Image = (p) => (0, import_react.createElement)("image", p);
|
|
57
|
+
const Line = (p) => (0, import_react.createElement)("line", p);
|
|
58
|
+
const LinearGradient = (p) => (0, import_react.createElement)("linearGradient", p);
|
|
59
|
+
const Marker = (p) => (0, import_react.createElement)("marker", p);
|
|
60
|
+
const Mask = (p) => (0, import_react.createElement)("mask", p);
|
|
61
|
+
const Path = (p) => (0, import_react.createElement)("path", p);
|
|
62
|
+
const Pattern = (p) => (0, import_react.createElement)("pattern", p);
|
|
63
|
+
const Polygon = (p) => (0, import_react.createElement)("polygon", p);
|
|
64
|
+
const Polyline = (p) => (0, import_react.createElement)("polyline", p);
|
|
65
|
+
const RadialGradient = (p) => (0, import_react.createElement)("radialGradient", p);
|
|
66
|
+
const Rect = (p) => (0, import_react.createElement)("rect", p);
|
|
67
|
+
const Shape = (p) => (0, import_react.createElement)("shape", p);
|
|
68
|
+
const Stop = (p) => (0, import_react.createElement)("stop", p);
|
|
69
|
+
const Svg = (p) => (0, import_react.createElement)("svg", p);
|
|
70
|
+
const Symbol2 = (p) => (0, import_react.createElement)("symbol", p);
|
|
71
|
+
const Text = (p) => (0, import_react.createElement)("text", p);
|
|
72
|
+
const TextPath = (p) => (0, import_react.createElement)("clipPath", p);
|
|
73
|
+
const TSpan = (p) => (0, import_react.createElement)("tSpan", p);
|
|
74
|
+
const Use = (p) => (0, import_react.createElement)("use", p);
|
|
75
|
+
var src_default = {
|
|
76
|
+
Circle,
|
|
77
|
+
ClipPath,
|
|
78
|
+
Defs,
|
|
79
|
+
Ellipse,
|
|
80
|
+
ForeignObject,
|
|
81
|
+
G,
|
|
82
|
+
Image,
|
|
83
|
+
Line,
|
|
84
|
+
LinearGradient,
|
|
85
|
+
Marker,
|
|
86
|
+
Mask,
|
|
87
|
+
Path,
|
|
88
|
+
Pattern,
|
|
89
|
+
Polygon,
|
|
90
|
+
Polyline,
|
|
91
|
+
RadialGradient,
|
|
92
|
+
Rect,
|
|
93
|
+
Shape,
|
|
94
|
+
Stop,
|
|
95
|
+
Svg,
|
|
96
|
+
Symbol: Symbol2,
|
|
97
|
+
Text,
|
|
98
|
+
TextPath,
|
|
99
|
+
TSpan,
|
|
100
|
+
Use
|
|
101
|
+
};
|
|
102
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
103
|
+
0 && (module.exports = {
|
|
104
|
+
Circle,
|
|
105
|
+
ClipPath,
|
|
106
|
+
Defs,
|
|
107
|
+
Ellipse,
|
|
108
|
+
ForeignObject,
|
|
109
|
+
G,
|
|
110
|
+
Image,
|
|
111
|
+
Line,
|
|
112
|
+
LinearGradient,
|
|
113
|
+
Marker,
|
|
114
|
+
Mask,
|
|
115
|
+
Path,
|
|
116
|
+
Pattern,
|
|
117
|
+
Polygon,
|
|
118
|
+
Polyline,
|
|
119
|
+
RadialGradient,
|
|
120
|
+
Rect,
|
|
121
|
+
Shape,
|
|
122
|
+
Stop,
|
|
123
|
+
Svg,
|
|
124
|
+
Symbol,
|
|
125
|
+
TSpan,
|
|
126
|
+
Text,
|
|
127
|
+
TextPath,
|
|
128
|
+
Use
|
|
129
|
+
});
|
|
2
130
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.js"],
|
|
4
4
|
"sourcesContent": ["import { createElement } from 'react'\n\nexport const Circle = (p) => createElement('circle', p)\nexport const ClipPath = (p) => createElement('clipPath', p)\nexport const Defs = (p) => createElement('defs', p)\nexport const Ellipse = (p) => createElement('ellipse', p)\nexport const ForeignObject = (p) => createElement('foreignObject', p)\nexport const G = (p) => createElement('g', p)\nexport const Image = (p) => createElement('image', p)\nexport const Line = (p) => createElement('line', p)\nexport const LinearGradient = (p) => createElement('linearGradient', p)\nexport const Marker = (p) => createElement('marker', p)\nexport const Mask = (p) => createElement('mask', p)\nexport const Path = (p) => createElement('path', p)\nexport const Pattern = (p) => createElement('pattern', p)\nexport const Polygon = (p) => createElement('polygon', p)\nexport const Polyline = (p) => createElement('polyline', p)\nexport const RadialGradient = (p) => createElement('radialGradient', p)\nexport const Rect = (p) => createElement('rect', p)\nexport const Shape = (p) => createElement('shape', p)\nexport const Stop = (p) => createElement('stop', p)\nexport const Svg = (p) => createElement('svg', p)\nexport const Symbol = (p) => createElement('symbol', p)\nexport const Text = (p) => createElement('text', p)\nexport const TextPath = (p) => createElement('clipPath', p)\nexport const TSpan = (p) => createElement('tSpan', p)\nexport const Use = (p) => createElement('use', p)\n\nexport default {\n Circle,\n ClipPath,\n Defs,\n Ellipse,\n ForeignObject,\n G,\n Image,\n Line,\n LinearGradient,\n Marker,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AAC;AAC/D,MAAM,OAAO,CAAC,UAAM,4BAAc,QAAQ,CAAC;AAC3C,MAAM,QAAQ,CAAC,UAAM,4BAAc,SAAS,CAAC;AAC7C,MAAM,OAAO,CAAC,UAAM,4BAAc,QAAQ,CAAC;AAC3C,MAAM,MAAM,CAAC,UAAM,4BAAc,OAAO,CAAC;AACzC,MAAMA,UAAS,CAAC,UAAM,4BAAc,UAAU,CAAC;AAC/C,MAAM,OAAO,CAAC,UAAM,4BAAc,QAAQ,CAAC;AAC3C,MAAM,WAAW,CAAC,UAAM,4BAAc,YAAY,CAAC;AACnD,MAAM,QAAQ,CAAC,UAAM,4BAAc,SAAS,CAAC;AAC7C,MAAM,MAAM,CAAC,UAAM,4BAAc,OAAO,CAAC;AAEhD,IAAO,cAAQ;AAAA,EACb;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,QAAAA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;",
|
|
6
|
+
"names": ["Symbol"]
|
|
7
7
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,2 +1,82 @@
|
|
|
1
|
-
import{createElement
|
|
1
|
+
import { createElement } from "react";
|
|
2
|
+
const Circle = (p) => createElement("circle", p);
|
|
3
|
+
const ClipPath = (p) => createElement("clipPath", p);
|
|
4
|
+
const Defs = (p) => createElement("defs", p);
|
|
5
|
+
const Ellipse = (p) => createElement("ellipse", p);
|
|
6
|
+
const ForeignObject = (p) => createElement("foreignObject", p);
|
|
7
|
+
const G = (p) => createElement("g", p);
|
|
8
|
+
const Image = (p) => createElement("image", p);
|
|
9
|
+
const Line = (p) => createElement("line", p);
|
|
10
|
+
const LinearGradient = (p) => createElement("linearGradient", p);
|
|
11
|
+
const Marker = (p) => createElement("marker", p);
|
|
12
|
+
const Mask = (p) => createElement("mask", p);
|
|
13
|
+
const Path = (p) => createElement("path", p);
|
|
14
|
+
const Pattern = (p) => createElement("pattern", p);
|
|
15
|
+
const Polygon = (p) => createElement("polygon", p);
|
|
16
|
+
const Polyline = (p) => createElement("polyline", p);
|
|
17
|
+
const RadialGradient = (p) => createElement("radialGradient", p);
|
|
18
|
+
const Rect = (p) => createElement("rect", p);
|
|
19
|
+
const Shape = (p) => createElement("shape", p);
|
|
20
|
+
const Stop = (p) => createElement("stop", p);
|
|
21
|
+
const Svg = (p) => createElement("svg", p);
|
|
22
|
+
const Symbol = (p) => createElement("symbol", p);
|
|
23
|
+
const Text = (p) => createElement("text", p);
|
|
24
|
+
const TextPath = (p) => createElement("clipPath", p);
|
|
25
|
+
const TSpan = (p) => createElement("tSpan", p);
|
|
26
|
+
const Use = (p) => createElement("use", p);
|
|
27
|
+
var src_default = {
|
|
28
|
+
Circle,
|
|
29
|
+
ClipPath,
|
|
30
|
+
Defs,
|
|
31
|
+
Ellipse,
|
|
32
|
+
ForeignObject,
|
|
33
|
+
G,
|
|
34
|
+
Image,
|
|
35
|
+
Line,
|
|
36
|
+
LinearGradient,
|
|
37
|
+
Marker,
|
|
38
|
+
Mask,
|
|
39
|
+
Path,
|
|
40
|
+
Pattern,
|
|
41
|
+
Polygon,
|
|
42
|
+
Polyline,
|
|
43
|
+
RadialGradient,
|
|
44
|
+
Rect,
|
|
45
|
+
Shape,
|
|
46
|
+
Stop,
|
|
47
|
+
Svg,
|
|
48
|
+
Symbol,
|
|
49
|
+
Text,
|
|
50
|
+
TextPath,
|
|
51
|
+
TSpan,
|
|
52
|
+
Use
|
|
53
|
+
};
|
|
54
|
+
export {
|
|
55
|
+
Circle,
|
|
56
|
+
ClipPath,
|
|
57
|
+
Defs,
|
|
58
|
+
Ellipse,
|
|
59
|
+
ForeignObject,
|
|
60
|
+
G,
|
|
61
|
+
Image,
|
|
62
|
+
Line,
|
|
63
|
+
LinearGradient,
|
|
64
|
+
Marker,
|
|
65
|
+
Mask,
|
|
66
|
+
Path,
|
|
67
|
+
Pattern,
|
|
68
|
+
Polygon,
|
|
69
|
+
Polyline,
|
|
70
|
+
RadialGradient,
|
|
71
|
+
Rect,
|
|
72
|
+
Shape,
|
|
73
|
+
Stop,
|
|
74
|
+
Svg,
|
|
75
|
+
Symbol,
|
|
76
|
+
TSpan,
|
|
77
|
+
Text,
|
|
78
|
+
TextPath,
|
|
79
|
+
Use,
|
|
80
|
+
src_default as default
|
|
81
|
+
};
|
|
2
82
|
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.js"],
|
|
4
4
|
"sourcesContent": ["import { createElement } from 'react'\n\nexport const Circle = (p) => createElement('circle', p)\nexport const ClipPath = (p) => createElement('clipPath', p)\nexport const Defs = (p) => createElement('defs', p)\nexport const Ellipse = (p) => createElement('ellipse', p)\nexport const ForeignObject = (p) => createElement('foreignObject', p)\nexport const G = (p) => createElement('g', p)\nexport const Image = (p) => createElement('image', p)\nexport const Line = (p) => createElement('line', p)\nexport const LinearGradient = (p) => createElement('linearGradient', p)\nexport const Marker = (p) => createElement('marker', p)\nexport const Mask = (p) => createElement('mask', p)\nexport const Path = (p) => createElement('path', p)\nexport const Pattern = (p) => createElement('pattern', p)\nexport const Polygon = (p) => createElement('polygon', p)\nexport const Polyline = (p) => createElement('polyline', p)\nexport const RadialGradient = (p) => createElement('radialGradient', p)\nexport const Rect = (p) => createElement('rect', p)\nexport const Shape = (p) => createElement('shape', p)\nexport const Stop = (p) => createElement('stop', p)\nexport const Svg = (p) => createElement('svg', p)\nexport const Symbol = (p) => createElement('symbol', p)\nexport const Text = (p) => createElement('text', p)\nexport const TextPath = (p) => createElement('clipPath', p)\nexport const TSpan = (p) => createElement('tSpan', p)\nexport const Use = (p) => createElement('use', p)\n\nexport default {\n Circle,\n ClipPath,\n Defs,\n Ellipse,\n ForeignObject,\n G,\n Image,\n Line,\n LinearGradient,\n Marker,\n Mask,\n Path,\n Pattern,\n Polygon,\n Polyline,\n RadialGradient,\n Rect,\n Shape,\n Stop,\n Svg,\n Symbol,\n Text,\n TextPath,\n TSpan,\n Use,\n}\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
6
|
-
"names": [
|
|
5
|
+
"mappings": "AAAA,SAAS,qBAAqB;AAEvB,MAAM,SAAS,CAAC,MAAM,cAAc,UAAU,CAAC;AAC/C,MAAM,WAAW,CAAC,MAAM,cAAc,YAAY,CAAC;AACnD,MAAM,OAAO,CAAC,MAAM,cAAc,QAAQ,CAAC;AAC3C,MAAM,UAAU,CAAC,MAAM,cAAc,WAAW,CAAC;AACjD,MAAM,gBAAgB,CAAC,MAAM,cAAc,iBAAiB,CAAC;AAC7D,MAAM,IAAI,CAAC,MAAM,cAAc,KAAK,CAAC;AACrC,MAAM,QAAQ,CAAC,MAAM,cAAc,SAAS,CAAC;AAC7C,MAAM,OAAO,CAAC,MAAM,cAAc,QAAQ,CAAC;AAC3C,MAAM,iBAAiB,CAAC,MAAM,cAAc,kBAAkB,CAAC;AAC/D,MAAM,SAAS,CAAC,MAAM,cAAc,UAAU,CAAC;AAC/C,MAAM,OAAO,CAAC,MAAM,cAAc,QAAQ,CAAC;AAC3C,MAAM,OAAO,CAAC,MAAM,cAAc,QAAQ,CAAC;AAC3C,MAAM,UAAU,CAAC,MAAM,cAAc,WAAW,CAAC;AACjD,MAAM,UAAU,CAAC,MAAM,cAAc,WAAW,CAAC;AACjD,MAAM,WAAW,CAAC,MAAM,cAAc,YAAY,CAAC;AACnD,MAAM,iBAAiB,CAAC,MAAM,cAAc,kBAAkB,CAAC;AAC/D,MAAM,OAAO,CAAC,MAAM,cAAc,QAAQ,CAAC;AAC3C,MAAM,QAAQ,CAAC,MAAM,cAAc,SAAS,CAAC;AAC7C,MAAM,OAAO,CAAC,MAAM,cAAc,QAAQ,CAAC;AAC3C,MAAM,MAAM,CAAC,MAAM,cAAc,OAAO,CAAC;AACzC,MAAM,SAAS,CAAC,MAAM,cAAc,UAAU,CAAC;AAC/C,MAAM,OAAO,CAAC,MAAM,cAAc,QAAQ,CAAC;AAC3C,MAAM,WAAW,CAAC,MAAM,cAAc,YAAY,CAAC;AACnD,MAAM,QAAQ,CAAC,MAAM,cAAc,SAAS,CAAC;AAC7C,MAAM,MAAM,CAAC,MAAM,cAAc,OAAO,CAAC;AAEhD,IAAO,cAAQ;AAAA,EACb;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,2 +1,82 @@
|
|
|
1
|
-
import{createElement
|
|
1
|
+
import { createElement } from "react";
|
|
2
|
+
const Circle = (p) => createElement("circle", p);
|
|
3
|
+
const ClipPath = (p) => createElement("clipPath", p);
|
|
4
|
+
const Defs = (p) => createElement("defs", p);
|
|
5
|
+
const Ellipse = (p) => createElement("ellipse", p);
|
|
6
|
+
const ForeignObject = (p) => createElement("foreignObject", p);
|
|
7
|
+
const G = (p) => createElement("g", p);
|
|
8
|
+
const Image = (p) => createElement("image", p);
|
|
9
|
+
const Line = (p) => createElement("line", p);
|
|
10
|
+
const LinearGradient = (p) => createElement("linearGradient", p);
|
|
11
|
+
const Marker = (p) => createElement("marker", p);
|
|
12
|
+
const Mask = (p) => createElement("mask", p);
|
|
13
|
+
const Path = (p) => createElement("path", p);
|
|
14
|
+
const Pattern = (p) => createElement("pattern", p);
|
|
15
|
+
const Polygon = (p) => createElement("polygon", p);
|
|
16
|
+
const Polyline = (p) => createElement("polyline", p);
|
|
17
|
+
const RadialGradient = (p) => createElement("radialGradient", p);
|
|
18
|
+
const Rect = (p) => createElement("rect", p);
|
|
19
|
+
const Shape = (p) => createElement("shape", p);
|
|
20
|
+
const Stop = (p) => createElement("stop", p);
|
|
21
|
+
const Svg = (p) => createElement("svg", p);
|
|
22
|
+
const Symbol = (p) => createElement("symbol", p);
|
|
23
|
+
const Text = (p) => createElement("text", p);
|
|
24
|
+
const TextPath = (p) => createElement("clipPath", p);
|
|
25
|
+
const TSpan = (p) => createElement("tSpan", p);
|
|
26
|
+
const Use = (p) => createElement("use", p);
|
|
27
|
+
var src_default = {
|
|
28
|
+
Circle,
|
|
29
|
+
ClipPath,
|
|
30
|
+
Defs,
|
|
31
|
+
Ellipse,
|
|
32
|
+
ForeignObject,
|
|
33
|
+
G,
|
|
34
|
+
Image,
|
|
35
|
+
Line,
|
|
36
|
+
LinearGradient,
|
|
37
|
+
Marker,
|
|
38
|
+
Mask,
|
|
39
|
+
Path,
|
|
40
|
+
Pattern,
|
|
41
|
+
Polygon,
|
|
42
|
+
Polyline,
|
|
43
|
+
RadialGradient,
|
|
44
|
+
Rect,
|
|
45
|
+
Shape,
|
|
46
|
+
Stop,
|
|
47
|
+
Svg,
|
|
48
|
+
Symbol,
|
|
49
|
+
Text,
|
|
50
|
+
TextPath,
|
|
51
|
+
TSpan,
|
|
52
|
+
Use
|
|
53
|
+
};
|
|
54
|
+
export {
|
|
55
|
+
Circle,
|
|
56
|
+
ClipPath,
|
|
57
|
+
Defs,
|
|
58
|
+
Ellipse,
|
|
59
|
+
ForeignObject,
|
|
60
|
+
G,
|
|
61
|
+
Image,
|
|
62
|
+
Line,
|
|
63
|
+
LinearGradient,
|
|
64
|
+
Marker,
|
|
65
|
+
Mask,
|
|
66
|
+
Path,
|
|
67
|
+
Pattern,
|
|
68
|
+
Polygon,
|
|
69
|
+
Polyline,
|
|
70
|
+
RadialGradient,
|
|
71
|
+
Rect,
|
|
72
|
+
Shape,
|
|
73
|
+
Stop,
|
|
74
|
+
Svg,
|
|
75
|
+
Symbol,
|
|
76
|
+
TSpan,
|
|
77
|
+
Text,
|
|
78
|
+
TextPath,
|
|
79
|
+
Use,
|
|
80
|
+
src_default as default
|
|
81
|
+
};
|
|
2
82
|
//# sourceMappingURL=index.mjs.map
|
package/dist/esm/index.mjs.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.js"],
|
|
4
4
|
"sourcesContent": ["import { createElement } from 'react'\n\nexport const Circle = (p) => createElement('circle', p)\nexport const ClipPath = (p) => createElement('clipPath', p)\nexport const Defs = (p) => createElement('defs', p)\nexport const Ellipse = (p) => createElement('ellipse', p)\nexport const ForeignObject = (p) => createElement('foreignObject', p)\nexport const G = (p) => createElement('g', p)\nexport const Image = (p) => createElement('image', p)\nexport const Line = (p) => createElement('line', p)\nexport const LinearGradient = (p) => createElement('linearGradient', p)\nexport const Marker = (p) => createElement('marker', p)\nexport const Mask = (p) => createElement('mask', p)\nexport const Path = (p) => createElement('path', p)\nexport const Pattern = (p) => createElement('pattern', p)\nexport const Polygon = (p) => createElement('polygon', p)\nexport const Polyline = (p) => createElement('polyline', p)\nexport const RadialGradient = (p) => createElement('radialGradient', p)\nexport const Rect = (p) => createElement('rect', p)\nexport const Shape = (p) => createElement('shape', p)\nexport const Stop = (p) => createElement('stop', p)\nexport const Svg = (p) => createElement('svg', p)\nexport const Symbol = (p) => createElement('symbol', p)\nexport const Text = (p) => createElement('text', p)\nexport const TextPath = (p) => createElement('clipPath', p)\nexport const TSpan = (p) => createElement('tSpan', p)\nexport const Use = (p) => createElement('use', p)\n\nexport default {\n Circle,\n ClipPath,\n Defs,\n Ellipse,\n ForeignObject,\n G,\n Image,\n Line,\n LinearGradient,\n Marker,\n Mask,\n Path,\n Pattern,\n Polygon,\n Polyline,\n RadialGradient,\n Rect,\n Shape,\n Stop,\n Svg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C;AAC3C,MAAM,WAAW,CAAC,MAAM,cAAc,YAAY,CAAC;AACnD,MAAM,QAAQ,CAAC,MAAM,cAAc,SAAS,CAAC;AAC7C,MAAM,MAAM,CAAC,MAAM,cAAc,OAAO,CAAC;AAEhD,IAAO,cAAQ;AAAA,EACb;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;",
|
|
6
|
+
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/react-native-svg",
|
|
3
|
-
"version": "1.14.
|
|
3
|
+
"version": "1.14.2",
|
|
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.14.
|
|
16
|
+
"@tamagui/build": "1.14.2"
|
|
17
17
|
}
|
|
18
18
|
}
|