@tamagui/react-native-svg 2.7.7 → 3.0.0-beta.1093.1

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.
@@ -3,67 +3,61 @@ 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) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
9
- });
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
10
  };
11
11
  var __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
- get: () => from[key],
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- return to;
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
+ get: () => from[key],
15
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
+ });
17
+ }
18
+ return to;
19
19
  };
20
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: true
22
- }), mod);
20
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
23
21
  var index_exports = {};
24
22
  __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
23
+ Circle: () => Circle,
24
+ ClipPath: () => ClipPath,
25
+ Defs: () => Defs,
26
+ Ellipse: () => Ellipse,
27
+ ForeignObject: () => ForeignObject,
28
+ G: () => G,
29
+ Image: () => Image,
30
+ Line: () => Line,
31
+ LinearGradient: () => LinearGradient,
32
+ Marker: () => Marker,
33
+ Mask: () => Mask,
34
+ Path: () => Path,
35
+ Pattern: () => Pattern,
36
+ Polygon: () => Polygon,
37
+ Polyline: () => Polyline,
38
+ RadialGradient: () => RadialGradient,
39
+ Rect: () => Rect,
40
+ Shape: () => Shape,
41
+ Stop: () => Stop,
42
+ Svg: () => Svg,
43
+ Symbol: () => Symbol2,
44
+ TSpan: () => TSpan,
45
+ Text: () => Text,
46
+ TextPath: () => TextPath,
47
+ Use: () => Use,
48
+ default: () => index_default
51
49
  });
52
50
  module.exports = __toCommonJS(index_exports);
53
51
  var import_react = require("react");
54
- const toDOMProps = props => {
55
- const {
56
- testID,
57
- accessibilityLabel,
58
- ...rest
59
- } = props;
60
- if (testID !== void 0) rest["data-testid"] = testID;
61
- if (accessibilityLabel !== void 0) rest["aria-label"] = accessibilityLabel;
62
- return rest;
52
+ const toDOMProps = (props) => {
53
+ const { testID, accessibilityLabel, ...rest } = props;
54
+ if (testID !== void 0) rest["data-testid"] = testID;
55
+ if (accessibilityLabel !== void 0) rest["aria-label"] = accessibilityLabel;
56
+ return rest;
63
57
  };
64
- const svgElement = tag => (0, import_react.forwardRef)((props, ref) => (0, import_react.createElement)(tag, {
65
- ...toDOMProps(props),
66
- ref
58
+ const svgElement = (tag) => (0, import_react.forwardRef)((props, ref) => (0, import_react.createElement)(tag, {
59
+ ...toDOMProps(props),
60
+ ref
67
61
  }));
68
62
  const Circle = svgElement("circle");
69
63
  const ClipPath = svgElement("clipPath");
@@ -90,4 +84,4 @@ const Text = svgElement("text");
90
84
  const TextPath = svgElement("clipPath");
91
85
  const TSpan = svgElement("tSpan");
92
86
  const Use = svgElement("use");
93
- var index_default = Svg;
87
+ var index_default = Svg;
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __export = (target, all) => {
10
+ for (var name in all) __defProp(target, name, {
11
+ get: all[name],
12
+ enumerable: true
13
+ });
14
+ };
15
+ var __copyProps = (to, from, except, desc) => {
16
+ if (from && typeof from === "object" || typeof from === "function") {
17
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
18
+ get: () => from[key],
19
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
20
+ });
21
+ }
22
+ return to;
23
+ };
24
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
25
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
26
+ value: mod,
27
+ enumerable: true
28
+ }) : target, mod));
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
+ var index_native_exports = {};
31
+ __export(index_native_exports, { default: () => import_react_native_svg.default });
32
+ module.exports = __toCommonJS(index_native_exports);
33
+ __reExport(index_native_exports, require("react-native-svg"), module.exports);
34
+ var import_react_native_svg = __toESM(require("react-native-svg"), 1);
@@ -7,38 +7,30 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
7
7
  var __getProtoOf = Object.getPrototypeOf;
8
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
9
9
  var __export = (target, all) => {
10
- for (var name in all) __defProp(target, name, {
11
- get: all[name],
12
- enumerable: true
13
- });
10
+ for (var name in all) __defProp(target, name, {
11
+ get: all[name],
12
+ enumerable: true
13
+ });
14
14
  };
15
15
  var __copyProps = (to, from, except, desc) => {
16
- if (from && typeof from === "object" || typeof from === "function") {
17
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
18
- get: () => from[key],
19
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
20
- });
21
- }
22
- return to;
16
+ if (from && typeof from === "object" || typeof from === "function") {
17
+ for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
18
+ get: () => from[key],
19
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
20
+ });
21
+ }
22
+ return to;
23
23
  };
24
24
  var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
25
- var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
26
- // If the importer is in node compatibility mode or this is not an ESM
27
- // file that has been converted to a CommonJS file using a Babel-
28
- // compatible transform (i.e. "__esModule" has not been set), then set
29
- // "default" to the CommonJS "module.exports" for node compatibility.
30
- isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
31
- value: mod,
32
- enumerable: true
25
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
26
+ value: mod,
27
+ enumerable: true
33
28
  }) : target, mod));
34
- var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
35
- value: true
36
- }), mod);
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
37
30
  var index_native_exports = {};
38
- __export(index_native_exports, {
39
- default: () => import_react_native_svg.default
40
- });
31
+ __export(index_native_exports, { default: () => import_react_native_svg.default });
41
32
  module.exports = __toCommonJS(index_native_exports);
42
33
  __reExport(index_native_exports, require("react-native-svg"), module.exports);
43
34
  var import_react_native_svg = __toESM(require("react-native-svg"), 1);
35
+
44
36
  //# 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,"file":"index.native.js","names":[],"sources":["cjs/index.native.js"],"sourcesContent":["\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_native_exports = {};\n__export(index_native_exports, {\n default: () => import_react_native_svg.default\n});\nmodule.exports = __toCommonJS(index_native_exports);\n__reExport(index_native_exports, require(\"react-native-svg\"), module.exports);\nvar import_react_native_svg = __toESM(require(\"react-native-svg\"), 1);\n//# sourceMappingURL=index.native.js.map\n"],"mappings":";;;AACA,IAAI,WAAW,OAAO;AACtB,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO;AAC1B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,cAAc,QAAQ,KAAK,kBAAkB,YAAY,QAAQ,KAAK,SAAS,GAAG,gBAAgB,YAAY,cAAc,KAAK,SAAS;AAC9I,IAAI,WAAW,KAAK,YAAY,YAAY,SAAS,OAAO,OAAO,SAAS,aAAa,GAAG,CAAC,IAAI,CAAC,GAAG,YAKnG,cAAc,CAAC,OAAO,CAAC,IAAI,aAAa,UAAU,QAAQ,WAAW;CAAE,OAAO;CAAK,YAAY;AAAK,CAAC,IAAI,QACzG,GACF;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,uBAAuB,CAAC;AAC5B,SAAS,sBAAsB,EAC7B,eAAe,wBAAwB,QACzC,CAAC;AACD,OAAO,UAAU,aAAa,oBAAoB;AAClD,WAAW,sBAAsB,QAAQ,kBAAkB,GAAG,OAAO,OAAO;AAC5E,IAAI,0BAA0B,QAAQ,QAAQ,kBAAkB,GAAG,CAAC"}
@@ -1,17 +1,14 @@
1
1
  import { createElement, forwardRef } from "react";
2
- const toDOMProps = props => {
3
- const {
4
- testID,
5
- accessibilityLabel,
6
- ...rest
7
- } = props;
8
- if (testID !== void 0) rest["data-testid"] = testID;
9
- if (accessibilityLabel !== void 0) rest["aria-label"] = accessibilityLabel;
10
- return rest;
2
+
3
+ const toDOMProps = (props) => {
4
+ const { testID, accessibilityLabel, ...rest } = props;
5
+ if (testID !== void 0) rest["data-testid"] = testID;
6
+ if (accessibilityLabel !== void 0) rest["aria-label"] = accessibilityLabel;
7
+ return rest;
11
8
  };
12
- const svgElement = tag => forwardRef((props, ref) => createElement(tag, {
13
- ...toDOMProps(props),
14
- ref
9
+ const svgElement = (tag) => forwardRef((props, ref) => createElement(tag, {
10
+ ...toDOMProps(props),
11
+ ref
15
12
  }));
16
13
  const Circle = svgElement("circle");
17
14
  const ClipPath = svgElement("clipPath");
@@ -39,5 +36,6 @@ const TextPath = svgElement("clipPath");
39
36
  const TSpan = svgElement("tSpan");
40
37
  const Use = svgElement("use");
41
38
  var index_default = Svg;
39
+
42
40
  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 };
43
41
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"names":["createElement","forwardRef","toDOMProps","props","testID","accessibilityLabel","rest","svgElement","tag","ref","Circle","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;AAM1C,MAAMC,UAAA,GAAcC,KAAA,IAAU;EAC5B,MAAM;IAAEC,MAAA;IAAQC,kBAAA;IAAoB,GAAGC;EAAK,IAAIH,KAAA;EAChD,IAAIC,MAAA,KAAW,QAAWE,IAAA,CAAK,aAAa,IAAIF,MAAA;EAChD,IAAIC,kBAAA,KAAuB,QAAWC,IAAA,CAAK,YAAY,IAAID,kBAAA;EAC3D,OAAOC,IAAA;AACT;AAEA,MAAMC,UAAA,GAAcC,GAAA,IAClBP,UAAA,CAAW,CAACE,KAAA,EAAOM,GAAA,KAAQT,aAAA,CAAcQ,GAAA,EAAK;EAAE,GAAGN,UAAA,CAAWC,KAAK;EAAGM;AAAI,CAAC,CAAC;AAEvE,MAAMC,MAAA,GAASH,UAAA,CAAW,QAAQ;AAClC,MAAMI,QAAA,GAAWJ,UAAA,CAAW,UAAU;AACtC,MAAMK,IAAA,GAAOL,UAAA,CAAW,MAAM;AAC9B,MAAMM,OAAA,GAAUN,UAAA,CAAW,SAAS;AACpC,MAAMO,aAAA,GAAgBP,UAAA,CAAW,eAAe;AAChD,MAAMQ,CAAA,GAAIR,UAAA,CAAW,GAAG;AACxB,MAAMS,KAAA,GAAQT,UAAA,CAAW,OAAO;AAChC,MAAMU,IAAA,GAAOV,UAAA,CAAW,MAAM;AAC9B,MAAMW,cAAA,GAAiBX,UAAA,CAAW,gBAAgB;AAClD,MAAMY,MAAA,GAASZ,UAAA,CAAW,QAAQ;AAClC,MAAMa,IAAA,GAAOb,UAAA,CAAW,MAAM;AAC9B,MAAMc,IAAA,GAAOd,UAAA,CAAW,MAAM;AAC9B,MAAMe,OAAA,GAAUf,UAAA,CAAW,SAAS;AACpC,MAAMgB,OAAA,GAAUhB,UAAA,CAAW,SAAS;AACpC,MAAMiB,QAAA,GAAWjB,UAAA,CAAW,UAAU;AACtC,MAAMkB,cAAA,GAAiBlB,UAAA,CAAW,gBAAgB;AAClD,MAAMmB,IAAA,GAAOnB,UAAA,CAAW,MAAM;AAC9B,MAAMoB,KAAA,GAAQpB,UAAA,CAAW,OAAO;AAChC,MAAMqB,IAAA,GAAOrB,UAAA,CAAW,MAAM;AAC9B,MAAMsB,GAAA,GAAMtB,UAAA,CAAW,KAAK;AAC5B,MAAMuB,MAAA,GAASvB,UAAA,CAAW,QAAQ;AAClC,MAAMwB,IAAA,GAAOxB,UAAA,CAAW,MAAM;AAC9B,MAAMyB,QAAA,GAAWzB,UAAA,CAAW,UAAU;AACtC,MAAM0B,KAAA,GAAQ1B,UAAA,CAAW,OAAO;AAChC,MAAM2B,GAAA,GAAM3B,UAAA,CAAW,KAAK;AAEnC,IAAO4B,aAAA,GAAQN,GAAA","ignoreList":[]}
1
+ {"version":3,"file":"index.js","names":[],"sources":["esm/index.js"],"sourcesContent":["import { createElement, forwardRef } from \"react\";\nconst toDOMProps = (props) => {\n const { testID, accessibilityLabel, ...rest } = props;\n if (testID !== void 0) rest[\"data-testid\"] = testID;\n if (accessibilityLabel !== void 0) rest[\"aria-label\"] = accessibilityLabel;\n return rest;\n};\nconst svgElement = (tag) => forwardRef((props, ref) => createElement(tag, { ...toDOMProps(props), ref }));\nconst Circle = svgElement(\"circle\");\nconst ClipPath = svgElement(\"clipPath\");\nconst Defs = svgElement(\"defs\");\nconst Ellipse = svgElement(\"ellipse\");\nconst ForeignObject = svgElement(\"foreignObject\");\nconst G = svgElement(\"g\");\nconst Image = svgElement(\"image\");\nconst Line = svgElement(\"line\");\nconst LinearGradient = svgElement(\"linearGradient\");\nconst Marker = svgElement(\"marker\");\nconst Mask = svgElement(\"mask\");\nconst Path = svgElement(\"path\");\nconst Pattern = svgElement(\"pattern\");\nconst Polygon = svgElement(\"polygon\");\nconst Polyline = svgElement(\"polyline\");\nconst RadialGradient = svgElement(\"radialGradient\");\nconst Rect = svgElement(\"rect\");\nconst Shape = svgElement(\"shape\");\nconst Stop = svgElement(\"stop\");\nconst Svg = svgElement(\"svg\");\nconst Symbol = svgElement(\"symbol\");\nconst Text = svgElement(\"text\");\nconst TextPath = svgElement(\"clipPath\");\nconst TSpan = svgElement(\"tSpan\");\nconst Use = svgElement(\"use\");\nvar index_default = Svg;\nexport {\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 TSpan,\n Text,\n TextPath,\n Use,\n index_default as default\n};\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;AACA,MAAM,cAAc,UAAU;CAC5B,MAAM,EAAE,QAAQ,oBAAoB,GAAG,SAAS;CAChD,IAAI,WAAW,KAAK,GAAG,KAAK,iBAAiB;CAC7C,IAAI,uBAAuB,KAAK,GAAG,KAAK,gBAAgB;CACxD,OAAO;AACT;AACA,MAAM,cAAc,QAAQ,YAAY,OAAO,QAAQ,cAAc,KAAK;CAAE,GAAG,WAAW,KAAK;CAAG;AAAI,CAAC,CAAC;AACxG,MAAM,SAAS,WAAW,QAAQ;AAClC,MAAM,WAAW,WAAW,UAAU;AACtC,MAAM,OAAO,WAAW,MAAM;AAC9B,MAAM,UAAU,WAAW,SAAS;AACpC,MAAM,gBAAgB,WAAW,eAAe;AAChD,MAAM,IAAI,WAAW,GAAG;AACxB,MAAM,QAAQ,WAAW,OAAO;AAChC,MAAM,OAAO,WAAW,MAAM;AAC9B,MAAM,iBAAiB,WAAW,gBAAgB;AAClD,MAAM,SAAS,WAAW,QAAQ;AAClC,MAAM,OAAO,WAAW,MAAM;AAC9B,MAAM,OAAO,WAAW,MAAM;AAC9B,MAAM,UAAU,WAAW,SAAS;AACpC,MAAM,UAAU,WAAW,SAAS;AACpC,MAAM,WAAW,WAAW,UAAU;AACtC,MAAM,iBAAiB,WAAW,gBAAgB;AAClD,MAAM,OAAO,WAAW,MAAM;AAC9B,MAAM,QAAQ,WAAW,OAAO;AAChC,MAAM,OAAO,WAAW,MAAM;AAC9B,MAAM,MAAM,WAAW,KAAK;AAC5B,MAAM,SAAS,WAAW,QAAQ;AAClC,MAAM,OAAO,WAAW,MAAM;AAC9B,MAAM,WAAW,WAAW,UAAU;AACtC,MAAM,QAAQ,WAAW,OAAO;AAChC,MAAM,MAAM,WAAW,KAAK;AAC5B,IAAI,gBAAgB"}
@@ -1,4 +1,5 @@
1
- export * from "react-native-svg";
2
- import { default as default2 } from "react-native-svg";
3
- export { default2 as default };
4
- //# sourceMappingURL=index.native.js.map
1
+ import default2 from "react-native-svg";
2
+
3
+ export * from "react-native-svg"
4
+
5
+ export { default2 as default };
package/package.json CHANGED
@@ -1,9 +1,14 @@
1
1
  {
2
2
  "name": "@tamagui/react-native-svg",
3
- "version": "2.7.7",
3
+ "version": "3.0.0-beta.1093.1",
4
+ "license": "MIT",
4
5
  "type": "module",
5
- "main": "dist/cjs",
6
- "module": "dist/esm/index.js",
6
+ "files": [
7
+ "src",
8
+ "dist"
9
+ ],
10
+ "main": "dist/cjs/index.cjs",
11
+ "module": "dist/esm/index.mjs",
7
12
  "exports": {
8
13
  "./package.json": "./package.json",
9
14
  ".": {
@@ -25,8 +30,11 @@
25
30
  "clean:build": "tamagui-build clean:build"
26
31
  },
27
32
  "devDependencies": {
28
- "@tamagui/build": "2.7.7",
29
- "react-native-svg": "15.15.3"
33
+ "@tamagui/build": "3.0.0-beta.1093.1",
34
+ "react-native-svg": "15.15.4"
35
+ },
36
+ "peerDependencies": {
37
+ "react": ">=19"
30
38
  },
31
39
  "repository": {
32
40
  "type": "git",
@@ -1,2 +0,0 @@
1
- $ tamagui-build
2
- built @tamagui/react-native-svg in 199 ms
package/dist/esm/index.js DELETED
@@ -1,43 +0,0 @@
1
- import { createElement, forwardRef } from "react";
2
- const toDOMProps = props => {
3
- const {
4
- testID,
5
- accessibilityLabel,
6
- ...rest
7
- } = props;
8
- if (testID !== void 0) rest["data-testid"] = testID;
9
- if (accessibilityLabel !== void 0) rest["aria-label"] = accessibilityLabel;
10
- return rest;
11
- };
12
- const svgElement = tag => forwardRef((props, ref) => createElement(tag, {
13
- ...toDOMProps(props),
14
- ref
15
- }));
16
- const Circle = svgElement("circle");
17
- const ClipPath = svgElement("clipPath");
18
- const Defs = svgElement("defs");
19
- const Ellipse = svgElement("ellipse");
20
- const ForeignObject = svgElement("foreignObject");
21
- const G = svgElement("g");
22
- const Image = svgElement("image");
23
- const Line = svgElement("line");
24
- const LinearGradient = svgElement("linearGradient");
25
- const Marker = svgElement("marker");
26
- const Mask = svgElement("mask");
27
- const Path = svgElement("path");
28
- const Pattern = svgElement("pattern");
29
- const Polygon = svgElement("polygon");
30
- const Polyline = svgElement("polyline");
31
- const RadialGradient = svgElement("radialGradient");
32
- const Rect = svgElement("rect");
33
- const Shape = svgElement("shape");
34
- const Stop = svgElement("stop");
35
- const Svg = svgElement("svg");
36
- const Symbol = svgElement("symbol");
37
- const Text = svgElement("text");
38
- const TextPath = svgElement("clipPath");
39
- const TSpan = svgElement("tSpan");
40
- const Use = svgElement("use");
41
- var index_default = Svg;
42
- 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 };
43
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"names":["createElement","forwardRef","toDOMProps","props","testID","accessibilityLabel","rest","svgElement","tag","ref","Circle","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;AAM1C,MAAMC,UAAA,GAAcC,KAAA,IAAU;EAC5B,MAAM;IAAEC,MAAA;IAAQC,kBAAA;IAAoB,GAAGC;EAAK,IAAIH,KAAA;EAChD,IAAIC,MAAA,KAAW,QAAWE,IAAA,CAAK,aAAa,IAAIF,MAAA;EAChD,IAAIC,kBAAA,KAAuB,QAAWC,IAAA,CAAK,YAAY,IAAID,kBAAA;EAC3D,OAAOC,IAAA;AACT;AAEA,MAAMC,UAAA,GAAcC,GAAA,IAClBP,UAAA,CAAW,CAACE,KAAA,EAAOM,GAAA,KAAQT,aAAA,CAAcQ,GAAA,EAAK;EAAE,GAAGN,UAAA,CAAWC,KAAK;EAAGM;AAAI,CAAC,CAAC;AAEvE,MAAMC,MAAA,GAASH,UAAA,CAAW,QAAQ;AAClC,MAAMI,QAAA,GAAWJ,UAAA,CAAW,UAAU;AACtC,MAAMK,IAAA,GAAOL,UAAA,CAAW,MAAM;AAC9B,MAAMM,OAAA,GAAUN,UAAA,CAAW,SAAS;AACpC,MAAMO,aAAA,GAAgBP,UAAA,CAAW,eAAe;AAChD,MAAMQ,CAAA,GAAIR,UAAA,CAAW,GAAG;AACxB,MAAMS,KAAA,GAAQT,UAAA,CAAW,OAAO;AAChC,MAAMU,IAAA,GAAOV,UAAA,CAAW,MAAM;AAC9B,MAAMW,cAAA,GAAiBX,UAAA,CAAW,gBAAgB;AAClD,MAAMY,MAAA,GAASZ,UAAA,CAAW,QAAQ;AAClC,MAAMa,IAAA,GAAOb,UAAA,CAAW,MAAM;AAC9B,MAAMc,IAAA,GAAOd,UAAA,CAAW,MAAM;AAC9B,MAAMe,OAAA,GAAUf,UAAA,CAAW,SAAS;AACpC,MAAMgB,OAAA,GAAUhB,UAAA,CAAW,SAAS;AACpC,MAAMiB,QAAA,GAAWjB,UAAA,CAAW,UAAU;AACtC,MAAMkB,cAAA,GAAiBlB,UAAA,CAAW,gBAAgB;AAClD,MAAMmB,IAAA,GAAOnB,UAAA,CAAW,MAAM;AAC9B,MAAMoB,KAAA,GAAQpB,UAAA,CAAW,OAAO;AAChC,MAAMqB,IAAA,GAAOrB,UAAA,CAAW,MAAM;AAC9B,MAAMsB,GAAA,GAAMtB,UAAA,CAAW,KAAK;AAC5B,MAAMuB,MAAA,GAASvB,UAAA,CAAW,QAAQ;AAClC,MAAMwB,IAAA,GAAOxB,UAAA,CAAW,MAAM;AAC9B,MAAMyB,QAAA,GAAWzB,UAAA,CAAW,UAAU;AACtC,MAAM0B,KAAA,GAAQ1B,UAAA,CAAW,OAAO;AAChC,MAAM2B,GAAA,GAAM3B,UAAA,CAAW,KAAK;AAEnC,IAAO4B,aAAA,GAAQN,GAAA","ignoreList":[]}
@@ -1 +0,0 @@
1
- {"version":3,"names":["default","default2"],"sources":["../../src/index.native.js"],"sourcesContent":[null],"mappings":"AACA,cAAc;AACd,SAASA,OAAA,IAAAC,QAAA,QAAe","ignoreList":[]}
package/tsconfig.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "extends": "../../../tsconfig.json",
3
- "compilerOptions": {
4
- "composite": true
5
- },
6
- "references": []
7
- }