@tamagui/helpers-tamagui 3.0.6 → 3.0.8

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.
@@ -30,7 +30,7 @@ var getIcon_exports = {};
30
30
  __export(getIcon_exports, { getIcon: () => getIcon });
31
31
  module.exports = __toCommonJS(getIcon_exports);
32
32
  var import_react = __toESM(require("react"), 1);
33
- var getIcon = function(el, props) {
33
+ var getIcon = function getIcon2(el, props) {
34
34
  if (!el) return el;
35
35
  if (/* @__PURE__ */ import_react.default.isValidElement(el)) {
36
36
  return /* @__PURE__ */ import_react.default.cloneElement(el, {
@@ -30,7 +30,7 @@ var getIcon_exports = {};
30
30
  __export(getIcon_exports, { getIcon: () => getIcon });
31
31
  module.exports = __toCommonJS(getIcon_exports);
32
32
  var import_react = __toESM(require("react"), 1);
33
- var getIcon = function(el, props) {
33
+ var getIcon = function getIcon2(el, props) {
34
34
  if (!el) return el;
35
35
  if (/* @__PURE__ */ import_react.default.isValidElement(el)) {
36
36
  return /* @__PURE__ */ import_react.default.cloneElement(el, {
@@ -1 +1 @@
1
- {"version":3,"file":"getIcon.native.js","names":[],"sources":["cjs/getIcon.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 __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 getIcon_exports = {};\n__export(getIcon_exports, {\n getIcon: () => getIcon\n});\nmodule.exports = __toCommonJS(getIcon_exports);\nvar import_react = __toESM(require(\"react\"), 1);\nvar getIcon = function(el, props) {\n if (!el) return el;\n if (/* @__PURE__ */ import_react.default.isValidElement(el)) {\n return /* @__PURE__ */ import_react.default.cloneElement(el, {\n ...props,\n // @ts-expect-error\n ...el.props\n });\n }\n return /* @__PURE__ */ import_react.default.createElement(el, props);\n};\n//# sourceMappingURL=getIcon.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,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,kBAAkB,CAAC;AACvB,SAAS,iBAAiB,EACxB,eAAe,QACjB,CAAC;AACD,OAAO,UAAU,aAAa,eAAe;AAC7C,IAAI,eAAe,QAAQ,QAAQ,OAAO,GAAG,CAAC;AAC9C,IAAI,UAAU,SAAS,IAAI,OAAO;CAChC,IAAI,CAAC,IAAI,OAAO;CAChB,IAAoB,6BAAa,QAAQ,eAAe,EAAE,GAAG;EAC3D,OAAuB,6BAAa,QAAQ,aAAa,IAAI;GAC3D,GAAG;GAEH,GAAG,GAAG;EACR,CAAC;CACH;CACA,OAAuB,6BAAa,QAAQ,cAAc,IAAI,KAAK;AACrE"}
1
+ {"version":3,"file":"getIcon.native.js","names":[],"sources":["cjs/getIcon.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 __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 getIcon_exports = {};\n__export(getIcon_exports, {\n getIcon: () => getIcon\n});\nmodule.exports = __toCommonJS(getIcon_exports);\nvar import_react = __toESM(require(\"react\"), 1);\nvar getIcon = function getIcon2(el, props) {\n if (!el) return el;\n if (/* @__PURE__ */ import_react.default.isValidElement(el)) {\n return /* @__PURE__ */ import_react.default.cloneElement(el, {\n ...props,\n // @ts-expect-error\n ...el.props\n });\n }\n return /* @__PURE__ */ import_react.default.createElement(el, props);\n};\n//# sourceMappingURL=getIcon.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,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,kBAAkB,CAAC;AACvB,SAAS,iBAAiB,EACxB,eAAe,QACjB,CAAC;AACD,OAAO,UAAU,aAAa,eAAe;AAC7C,IAAI,eAAe,QAAQ,QAAQ,OAAO,GAAG,CAAC;AAC9C,IAAI,UAAU,SAAS,SAAS,IAAI,OAAO;CACzC,IAAI,CAAC,IAAI,OAAO;CAChB,IAAoB,6BAAa,QAAQ,eAAe,EAAE,GAAG;EAC3D,OAAuB,6BAAa,QAAQ,aAAa,IAAI;GAC3D,GAAG;GAEH,GAAG,GAAG;EACR,CAAC;CACH;CACA,OAAuB,6BAAa,QAAQ,cAAc,IAAI,KAAK;AACrE"}
@@ -23,6 +23,6 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
23
23
  var prevent_exports = {};
24
24
  __export(prevent_exports, { prevent: () => prevent });
25
25
  module.exports = __toCommonJS(prevent_exports);
26
- var prevent = function(e) {
26
+ var prevent = function prevent2(e) {
27
27
  return [e.preventDefault(), e.stopPropagation()];
28
28
  };
@@ -23,7 +23,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
23
23
  var prevent_exports = {};
24
24
  __export(prevent_exports, { prevent: () => prevent });
25
25
  module.exports = __toCommonJS(prevent_exports);
26
- var prevent = function(e) {
26
+ var prevent = function prevent2(e) {
27
27
  return [e.preventDefault(), e.stopPropagation()];
28
28
  };
29
29
 
@@ -1 +1 @@
1
- {"version":3,"file":"prevent.native.js","names":[],"sources":["cjs/prevent.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\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 __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar prevent_exports = {};\n__export(prevent_exports, {\n prevent: () => prevent\n});\nmodule.exports = __toCommonJS(prevent_exports);\nvar prevent = function(e) {\n return [\n e.preventDefault(),\n e.stopPropagation()\n ];\n};\n//# sourceMappingURL=prevent.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,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,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,kBAAkB,CAAC;AACvB,SAAS,iBAAiB,EACxB,eAAe,QACjB,CAAC;AACD,OAAO,UAAU,aAAa,eAAe;AAC7C,IAAI,UAAU,SAAS,GAAG;CACxB,OAAO,CACL,EAAE,eAAe,GACjB,EAAE,gBAAgB,CACpB;AACF"}
1
+ {"version":3,"file":"prevent.native.js","names":[],"sources":["cjs/prevent.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\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 __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar prevent_exports = {};\n__export(prevent_exports, {\n prevent: () => prevent\n});\nmodule.exports = __toCommonJS(prevent_exports);\nvar prevent = function prevent2(e) {\n return [\n e.preventDefault(),\n e.stopPropagation()\n ];\n};\n//# sourceMappingURL=prevent.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,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,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,kBAAkB,CAAC;AACvB,SAAS,iBAAiB,EACxB,eAAe,QACjB,CAAC;AACD,OAAO,UAAU,aAAa,eAAe;AAC7C,IAAI,UAAU,SAAS,SAAS,GAAG;CACjC,OAAO,CACL,EAAE,eAAe,GACjB,EAAE,gBAAgB,CACpB;AACF"}
@@ -24,7 +24,7 @@ var useCurrentColor_exports = {};
24
24
  __export(useCurrentColor_exports, { useCurrentColor: () => useCurrentColor });
25
25
  module.exports = __toCommonJS(useCurrentColor_exports);
26
26
  var import_web = require("@tamagui/web");
27
- var useCurrentColor = function(colorProp) {
27
+ var useCurrentColor = function useCurrentColor2(colorProp) {
28
28
  var _theme_colorProp, _theme_color;
29
29
  var theme = (0, import_web.useTheme)();
30
30
  var out = colorProp ? (0, import_web.getVariable)(colorProp) : ((_theme_colorProp = theme[colorProp]) === null || _theme_colorProp === void 0 ? void 0 : _theme_colorProp.get()) || ((_theme_color = theme.color) === null || _theme_color === void 0 ? void 0 : _theme_color.get());
@@ -24,7 +24,7 @@ var useCurrentColor_exports = {};
24
24
  __export(useCurrentColor_exports, { useCurrentColor: () => useCurrentColor });
25
25
  module.exports = __toCommonJS(useCurrentColor_exports);
26
26
  var import_web = require("@tamagui/web");
27
- var useCurrentColor = function(colorProp) {
27
+ var useCurrentColor = function useCurrentColor2(colorProp) {
28
28
  var _theme_colorProp, _theme_color;
29
29
  var theme = (0, import_web.useTheme)();
30
30
  var out = colorProp ? (0, import_web.getVariable)(colorProp) : ((_theme_colorProp = theme[colorProp]) === null || _theme_colorProp === void 0 ? void 0 : _theme_colorProp.get()) || ((_theme_color = theme.color) === null || _theme_color === void 0 ? void 0 : _theme_color.get());
@@ -1 +1 @@
1
- {"version":3,"file":"useCurrentColor.native.js","names":[],"sources":["cjs/useCurrentColor.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\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 __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar useCurrentColor_exports = {};\n__export(useCurrentColor_exports, {\n useCurrentColor: () => useCurrentColor\n});\nmodule.exports = __toCommonJS(useCurrentColor_exports);\nvar import_web = require(\"@tamagui/web\");\nvar useCurrentColor = function(colorProp) {\n var _theme_colorProp, _theme_color;\n var theme = (0, import_web.useTheme)();\n var out = colorProp ? (0, import_web.getVariable)(colorProp) : ((_theme_colorProp = theme[colorProp]) === null || _theme_colorProp === void 0 ? void 0 : _theme_colorProp.get()) || ((_theme_color = theme.color) === null || _theme_color === void 0 ? void 0 : _theme_color.get());\n return out;\n};\n//# sourceMappingURL=useCurrentColor.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,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,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,0BAA0B,CAAC;AAC/B,SAAS,yBAAyB,EAChC,uBAAuB,gBACzB,CAAC;AACD,OAAO,UAAU,aAAa,uBAAuB;AACrD,IAAI,aAAa,QAAQ,cAAc;AACvC,IAAI,kBAAkB,SAAS,WAAW;CACxC,IAAI,kBAAkB;CACtB,IAAI,SAAS,GAAG,WAAW,SAAQ,CAAE;CACrC,IAAI,MAAM,aAAa,GAAG,WAAW,YAAW,CAAE,SAAS,MAAM,mBAAmB,MAAM,gBAAgB,QAAQ,qBAAqB,KAAK,IAAI,KAAK,IAAI,iBAAiB,IAAI,QAAQ,eAAe,MAAM,WAAW,QAAQ,iBAAiB,KAAK,IAAI,KAAK,IAAI,aAAa,IAAI;CAClR,OAAO;AACT"}
1
+ {"version":3,"file":"useCurrentColor.native.js","names":[],"sources":["cjs/useCurrentColor.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\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 __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar useCurrentColor_exports = {};\n__export(useCurrentColor_exports, {\n useCurrentColor: () => useCurrentColor\n});\nmodule.exports = __toCommonJS(useCurrentColor_exports);\nvar import_web = require(\"@tamagui/web\");\nvar useCurrentColor = function useCurrentColor2(colorProp) {\n var _theme_colorProp, _theme_color;\n var theme = (0, import_web.useTheme)();\n var out = colorProp ? (0, import_web.getVariable)(colorProp) : ((_theme_colorProp = theme[colorProp]) === null || _theme_colorProp === void 0 ? void 0 : _theme_colorProp.get()) || ((_theme_color = theme.color) === null || _theme_color === void 0 ? void 0 : _theme_color.get());\n return out;\n};\n//# sourceMappingURL=useCurrentColor.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,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,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,0BAA0B,CAAC;AAC/B,SAAS,yBAAyB,EAChC,uBAAuB,gBACzB,CAAC;AACD,OAAO,UAAU,aAAa,uBAAuB;AACrD,IAAI,aAAa,QAAQ,cAAc;AACvC,IAAI,kBAAkB,SAAS,iBAAiB,WAAW;CACzD,IAAI,kBAAkB;CACtB,IAAI,SAAS,GAAG,WAAW,SAAQ,CAAE;CACrC,IAAI,MAAM,aAAa,GAAG,WAAW,YAAW,CAAE,SAAS,MAAM,mBAAmB,MAAM,gBAAgB,QAAQ,qBAAqB,KAAK,IAAI,KAAK,IAAI,iBAAiB,IAAI,QAAQ,eAAe,MAAM,WAAW,QAAQ,iBAAiB,KAAK,IAAI,KAAK,IAAI,aAAa,IAAI;CAClR,OAAO;AACT"}
@@ -29,13 +29,13 @@ module.exports = __toCommonJS(useGetThemedIcon_exports);
29
29
  var import_font_size = require("@tamagui/font-size");
30
30
  var import_getIcon = require("./getIcon.native.js");
31
31
  var import_useCurrentColor = require("./useCurrentColor.native.js");
32
- var getThemedIconSize = function(size) {
32
+ var getThemedIconSize = function getThemedIconSize2(size) {
33
33
  var scaleIcon = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
34
34
  if (typeof size === "number") return size * scaleIcon;
35
35
  if (typeof size === "string") return (0, import_font_size.getFontSize)(size) * scaleIcon;
36
36
  return 16 * scaleIcon;
37
37
  };
38
- var useGetThemedIcon = function(props) {
38
+ var useGetThemedIcon = function useGetThemedIcon2(props) {
39
39
  var color = (0, import_useCurrentColor.useCurrentColor)(props.color);
40
40
  return function(el) {
41
41
  return (0, import_getIcon.getIcon)(el, {
@@ -29,13 +29,13 @@ module.exports = __toCommonJS(useGetThemedIcon_exports);
29
29
  var import_font_size = require("@tamagui/font-size");
30
30
  var import_getIcon = require("./getIcon.native.js");
31
31
  var import_useCurrentColor = require("./useCurrentColor.native.js");
32
- var getThemedIconSize = function(size) {
32
+ var getThemedIconSize = function getThemedIconSize2(size) {
33
33
  var scaleIcon = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
34
34
  if (typeof size === "number") return size * scaleIcon;
35
35
  if (typeof size === "string") return (0, import_font_size.getFontSize)(size) * scaleIcon;
36
36
  return 16 * scaleIcon;
37
37
  };
38
- var useGetThemedIcon = function(props) {
38
+ var useGetThemedIcon = function useGetThemedIcon2(props) {
39
39
  var color = (0, import_useCurrentColor.useCurrentColor)(props.color);
40
40
  return function(el) {
41
41
  return (0, import_getIcon.getIcon)(el, {
@@ -1 +1 @@
1
- {"version":3,"file":"useGetThemedIcon.native.js","names":[],"sources":["cjs/useGetThemedIcon.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\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 __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar useGetThemedIcon_exports = {};\n__export(useGetThemedIcon_exports, {\n getThemedIconSize: () => getThemedIconSize,\n useGetThemedIcon: () => useGetThemedIcon\n});\nmodule.exports = __toCommonJS(useGetThemedIcon_exports);\nvar import_font_size = require(\"@tamagui/font-size\");\nvar import_getIcon = require(\"./getIcon\");\nvar import_useCurrentColor = require(\"./useCurrentColor\");\nvar getThemedIconSize = function(size) {\n var scaleIcon = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;\n if (typeof size === \"number\") return size * scaleIcon;\n if (typeof size === \"string\") return (0, import_font_size.getFontSize)(size) * scaleIcon;\n return 16 * scaleIcon;\n};\nvar useGetThemedIcon = function(props) {\n var color = (0, import_useCurrentColor.useCurrentColor)(props.color);\n return function(el) {\n return (0, import_getIcon.getIcon)(el, {\n ...props,\n color\n });\n };\n};\n//# sourceMappingURL=useGetThemedIcon.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,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,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,2BAA2B,CAAC;AAChC,SAAS,0BAA0B;CACjC,yBAAyB;CACzB,wBAAwB;AAC1B,CAAC;AACD,OAAO,UAAU,aAAa,wBAAwB;AACtD,IAAI,mBAAmB,QAAQ,oBAAoB;AACnD,IAAI,iBAAiB,QAAQ,qBAAW;AACxC,IAAI,yBAAyB,QAAQ,6BAAmB;AACxD,IAAI,oBAAoB,SAAS,MAAM;CACrC,IAAI,YAAY,UAAU,SAAS,KAAK,UAAU,OAAO,KAAK,IAAI,UAAU,KAAK;CACjF,IAAI,OAAO,SAAS,UAAU,OAAO,OAAO;CAC5C,IAAI,OAAO,SAAS,UAAU,QAAQ,GAAG,iBAAiB,YAAW,CAAE,IAAI,IAAI;CAC/E,OAAO,KAAK;AACd;AACA,IAAI,mBAAmB,SAAS,OAAO;CACrC,IAAI,SAAS,GAAG,uBAAuB,gBAAe,CAAE,MAAM,KAAK;CACnE,OAAO,SAAS,IAAI;EAClB,QAAQ,GAAG,eAAe,QAAO,CAAE,IAAI;GACrC,GAAG;GACH;EACF,CAAC;CACH;AACF"}
1
+ {"version":3,"file":"useGetThemedIcon.native.js","names":[],"sources":["cjs/useGetThemedIcon.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\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 __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar useGetThemedIcon_exports = {};\n__export(useGetThemedIcon_exports, {\n getThemedIconSize: () => getThemedIconSize,\n useGetThemedIcon: () => useGetThemedIcon\n});\nmodule.exports = __toCommonJS(useGetThemedIcon_exports);\nvar import_font_size = require(\"@tamagui/font-size\");\nvar import_getIcon = require(\"./getIcon\");\nvar import_useCurrentColor = require(\"./useCurrentColor\");\nvar getThemedIconSize = function getThemedIconSize2(size) {\n var scaleIcon = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;\n if (typeof size === \"number\") return size * scaleIcon;\n if (typeof size === \"string\") return (0, import_font_size.getFontSize)(size) * scaleIcon;\n return 16 * scaleIcon;\n};\nvar useGetThemedIcon = function useGetThemedIcon2(props) {\n var color = (0, import_useCurrentColor.useCurrentColor)(props.color);\n return function(el) {\n return (0, import_getIcon.getIcon)(el, {\n ...props,\n color\n });\n };\n};\n//# sourceMappingURL=useGetThemedIcon.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,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,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,2BAA2B,CAAC;AAChC,SAAS,0BAA0B;CACjC,yBAAyB;CACzB,wBAAwB;AAC1B,CAAC;AACD,OAAO,UAAU,aAAa,wBAAwB;AACtD,IAAI,mBAAmB,QAAQ,oBAAoB;AACnD,IAAI,iBAAiB,QAAQ,qBAAW;AACxC,IAAI,yBAAyB,QAAQ,6BAAmB;AACxD,IAAI,oBAAoB,SAAS,mBAAmB,MAAM;CACxD,IAAI,YAAY,UAAU,SAAS,KAAK,UAAU,OAAO,KAAK,IAAI,UAAU,KAAK;CACjF,IAAI,OAAO,SAAS,UAAU,OAAO,OAAO;CAC5C,IAAI,OAAO,SAAS,UAAU,QAAQ,GAAG,iBAAiB,YAAW,CAAE,IAAI,IAAI;CAC/E,OAAO,KAAK;AACd;AACA,IAAI,mBAAmB,SAAS,kBAAkB,OAAO;CACvD,IAAI,SAAS,GAAG,uBAAuB,gBAAe,CAAE,MAAM,KAAK;CACnE,OAAO,SAAS,IAAI;EAClB,QAAQ,GAAG,eAAe,QAAO,CAAE,IAAI;GACrC,GAAG;GACH;EACF,CAAC;CACH;AACF"}
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
2
 
3
- var getIcon = function(el, props) {
3
+ var getIcon = function getIcon2(el, props) {
4
4
  if (!el) return el;
5
5
  if (/* @__PURE__ */ React.isValidElement(el)) {
6
6
  return /* @__PURE__ */ React.cloneElement(el, {
@@ -1 +1 @@
1
- {"version":3,"file":"getIcon.native.js","names":[],"sources":["esm/getIcon.native.js"],"sourcesContent":["import React from \"react\";\nvar getIcon = function(el, props) {\n if (!el) return el;\n if (/* @__PURE__ */ React.isValidElement(el)) {\n return /* @__PURE__ */ React.cloneElement(el, {\n ...props,\n // @ts-expect-error\n ...el.props\n });\n }\n return /* @__PURE__ */ React.createElement(el, props);\n};\nexport {\n getIcon\n};\n//# sourceMappingURL=getIcon.js.map\n"],"mappings":";;;AACA,IAAI,UAAU,SAAS,IAAI,OAAO;CAChC,IAAI,CAAC,IAAI,OAAO;CAChB,IAAoB,sBAAM,eAAe,EAAE,GAAG;EAC5C,OAAuB,sBAAM,aAAa,IAAI;GAC5C,GAAG;GAEH,GAAG,GAAG;EACR,CAAC;CACH;CACA,OAAuB,sBAAM,cAAc,IAAI,KAAK;AACtD"}
1
+ {"version":3,"file":"getIcon.native.js","names":[],"sources":["esm/getIcon.native.js"],"sourcesContent":["import React from \"react\";\nvar getIcon = function getIcon2(el, props) {\n if (!el) return el;\n if (/* @__PURE__ */ React.isValidElement(el)) {\n return /* @__PURE__ */ React.cloneElement(el, {\n ...props,\n // @ts-expect-error\n ...el.props\n });\n }\n return /* @__PURE__ */ React.createElement(el, props);\n};\nexport {\n getIcon\n};\n//# sourceMappingURL=getIcon.js.map\n"],"mappings":";;;AACA,IAAI,UAAU,SAAS,SAAS,IAAI,OAAO;CACzC,IAAI,CAAC,IAAI,OAAO;CAChB,IAAoB,sBAAM,eAAe,EAAE,GAAG;EAC5C,OAAuB,sBAAM,aAAa,IAAI;GAC5C,GAAG;GAEH,GAAG,GAAG;EACR,CAAC;CACH;CACA,OAAuB,sBAAM,cAAc,IAAI,KAAK;AACtD"}
@@ -1,4 +1,4 @@
1
- var prevent = function(e) {
1
+ var prevent = function prevent2(e) {
2
2
  return [e.preventDefault(), e.stopPropagation()];
3
3
  };
4
4
 
@@ -1 +1 @@
1
- {"version":3,"file":"prevent.native.js","names":[],"sources":["esm/prevent.native.js"],"sourcesContent":["var prevent = function(e) {\n return [\n e.preventDefault(),\n e.stopPropagation()\n ];\n};\nexport {\n prevent\n};\n//# sourceMappingURL=prevent.js.map\n"],"mappings":";AAAA,IAAI,UAAU,SAAS,GAAG;CACxB,OAAO,CACL,EAAE,eAAe,GACjB,EAAE,gBAAgB,CACpB;AACF"}
1
+ {"version":3,"file":"prevent.native.js","names":[],"sources":["esm/prevent.native.js"],"sourcesContent":["var prevent = function prevent2(e) {\n return [\n e.preventDefault(),\n e.stopPropagation()\n ];\n};\nexport {\n prevent\n};\n//# sourceMappingURL=prevent.js.map\n"],"mappings":";AAAA,IAAI,UAAU,SAAS,SAAS,GAAG;CACjC,OAAO,CACL,EAAE,eAAe,GACjB,EAAE,gBAAgB,CACpB;AACF"}
@@ -1,6 +1,6 @@
1
1
  import { getVariable, useTheme } from "@tamagui/web";
2
2
 
3
- var useCurrentColor = function(colorProp) {
3
+ var useCurrentColor = function useCurrentColor2(colorProp) {
4
4
  var _theme_colorProp, _theme_color;
5
5
  var theme = useTheme();
6
6
  var out = colorProp ? getVariable(colorProp) : ((_theme_colorProp = theme[colorProp]) === null || _theme_colorProp === void 0 ? void 0 : _theme_colorProp.get()) || ((_theme_color = theme.color) === null || _theme_color === void 0 ? void 0 : _theme_color.get());
@@ -1 +1 @@
1
- {"version":3,"file":"useCurrentColor.native.js","names":[],"sources":["esm/useCurrentColor.native.js"],"sourcesContent":["import { getVariable, useTheme } from \"@tamagui/web\";\nvar useCurrentColor = function(colorProp) {\n var _theme_colorProp, _theme_color;\n var theme = useTheme();\n var out = colorProp ? getVariable(colorProp) : ((_theme_colorProp = theme[colorProp]) === null || _theme_colorProp === void 0 ? void 0 : _theme_colorProp.get()) || ((_theme_color = theme.color) === null || _theme_color === void 0 ? void 0 : _theme_color.get());\n return out;\n};\nexport {\n useCurrentColor\n};\n//# sourceMappingURL=useCurrentColor.js.map\n"],"mappings":";;;AACA,IAAI,kBAAkB,SAAS,WAAW;CACxC,IAAI,kBAAkB;CACtB,IAAI,QAAQ,SAAS;CACrB,IAAI,MAAM,YAAY,YAAY,SAAS,MAAM,mBAAmB,MAAM,gBAAgB,QAAQ,qBAAqB,KAAK,IAAI,KAAK,IAAI,iBAAiB,IAAI,QAAQ,eAAe,MAAM,WAAW,QAAQ,iBAAiB,KAAK,IAAI,KAAK,IAAI,aAAa,IAAI;CAClQ,OAAO;AACT"}
1
+ {"version":3,"file":"useCurrentColor.native.js","names":[],"sources":["esm/useCurrentColor.native.js"],"sourcesContent":["import { getVariable, useTheme } from \"@tamagui/web\";\nvar useCurrentColor = function useCurrentColor2(colorProp) {\n var _theme_colorProp, _theme_color;\n var theme = useTheme();\n var out = colorProp ? getVariable(colorProp) : ((_theme_colorProp = theme[colorProp]) === null || _theme_colorProp === void 0 ? void 0 : _theme_colorProp.get()) || ((_theme_color = theme.color) === null || _theme_color === void 0 ? void 0 : _theme_color.get());\n return out;\n};\nexport {\n useCurrentColor\n};\n//# sourceMappingURL=useCurrentColor.js.map\n"],"mappings":";;;AACA,IAAI,kBAAkB,SAAS,iBAAiB,WAAW;CACzD,IAAI,kBAAkB;CACtB,IAAI,QAAQ,SAAS;CACrB,IAAI,MAAM,YAAY,YAAY,SAAS,MAAM,mBAAmB,MAAM,gBAAgB,QAAQ,qBAAqB,KAAK,IAAI,KAAK,IAAI,iBAAiB,IAAI,QAAQ,eAAe,MAAM,WAAW,QAAQ,iBAAiB,KAAK,IAAI,KAAK,IAAI,aAAa,IAAI;CAClQ,OAAO;AACT"}
@@ -2,13 +2,13 @@ import { getFontSize } from "@tamagui/font-size";
2
2
  import { getIcon } from "./getIcon.native.js";
3
3
  import { useCurrentColor } from "./useCurrentColor.native.js";
4
4
 
5
- var getThemedIconSize = function(size) {
5
+ var getThemedIconSize = function getThemedIconSize2(size) {
6
6
  var scaleIcon = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
7
7
  if (typeof size === "number") return size * scaleIcon;
8
8
  if (typeof size === "string") return getFontSize(size) * scaleIcon;
9
9
  return 16 * scaleIcon;
10
10
  };
11
- var useGetThemedIcon = function(props) {
11
+ var useGetThemedIcon = function useGetThemedIcon2(props) {
12
12
  var color = useCurrentColor(props.color);
13
13
  return function(el) {
14
14
  return getIcon(el, {
@@ -1 +1 @@
1
- {"version":3,"file":"useGetThemedIcon.native.js","names":[],"sources":["esm/useGetThemedIcon.native.js"],"sourcesContent":["import { getFontSize } from \"@tamagui/font-size\";\nimport { getIcon } from \"./getIcon\";\nimport { useCurrentColor } from \"./useCurrentColor\";\nvar getThemedIconSize = function(size) {\n var scaleIcon = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;\n if (typeof size === \"number\") return size * scaleIcon;\n if (typeof size === \"string\") return getFontSize(size) * scaleIcon;\n return 16 * scaleIcon;\n};\nvar useGetThemedIcon = function(props) {\n var color = useCurrentColor(props.color);\n return function(el) {\n return getIcon(el, {\n ...props,\n color\n });\n };\n};\nexport {\n getThemedIconSize,\n useGetThemedIcon\n};\n//# sourceMappingURL=useGetThemedIcon.js.map\n"],"mappings":";;;;;AAGA,IAAI,oBAAoB,SAAS,MAAM;CACrC,IAAI,YAAY,UAAU,SAAS,KAAK,UAAU,OAAO,KAAK,IAAI,UAAU,KAAK;CACjF,IAAI,OAAO,SAAS,UAAU,OAAO,OAAO;CAC5C,IAAI,OAAO,SAAS,UAAU,OAAO,YAAY,IAAI,IAAI;CACzD,OAAO,KAAK;AACd;AACA,IAAI,mBAAmB,SAAS,OAAO;CACrC,IAAI,QAAQ,gBAAgB,MAAM,KAAK;CACvC,OAAO,SAAS,IAAI;EAClB,OAAO,QAAQ,IAAI;GACjB,GAAG;GACH;EACF,CAAC;CACH;AACF"}
1
+ {"version":3,"file":"useGetThemedIcon.native.js","names":[],"sources":["esm/useGetThemedIcon.native.js"],"sourcesContent":["import { getFontSize } from \"@tamagui/font-size\";\nimport { getIcon } from \"./getIcon\";\nimport { useCurrentColor } from \"./useCurrentColor\";\nvar getThemedIconSize = function getThemedIconSize2(size) {\n var scaleIcon = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;\n if (typeof size === \"number\") return size * scaleIcon;\n if (typeof size === \"string\") return getFontSize(size) * scaleIcon;\n return 16 * scaleIcon;\n};\nvar useGetThemedIcon = function useGetThemedIcon2(props) {\n var color = useCurrentColor(props.color);\n return function(el) {\n return getIcon(el, {\n ...props,\n color\n });\n };\n};\nexport {\n getThemedIconSize,\n useGetThemedIcon\n};\n//# sourceMappingURL=useGetThemedIcon.js.map\n"],"mappings":";;;;;AAGA,IAAI,oBAAoB,SAAS,mBAAmB,MAAM;CACxD,IAAI,YAAY,UAAU,SAAS,KAAK,UAAU,OAAO,KAAK,IAAI,UAAU,KAAK;CACjF,IAAI,OAAO,SAAS,UAAU,OAAO,OAAO;CAC5C,IAAI,OAAO,SAAS,UAAU,OAAO,YAAY,IAAI,IAAI;CACzD,OAAO,KAAK;AACd;AACA,IAAI,mBAAmB,SAAS,kBAAkB,OAAO;CACvD,IAAI,QAAQ,gBAAgB,MAAM,KAAK;CACvC,OAAO,SAAS,IAAI;EAClB,OAAO,QAAQ,IAAI;GACjB,GAAG;GACH;EACF,CAAC;CACH;AACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/helpers-tamagui",
3
- "version": "3.0.6",
3
+ "version": "3.0.8",
4
4
  "license": "MIT",
5
5
  "source": "src/index.ts",
6
6
  "files": [
@@ -35,13 +35,13 @@
35
35
  "clean:build": "tamagui-build clean:build"
36
36
  },
37
37
  "dependencies": {
38
- "@tamagui/helpers": "3.0.6",
39
- "@tamagui/react-native-types": "3.0.6",
40
- "@tamagui/web": "3.0.6",
41
- "@tamagui/font-size": "3.0.6"
38
+ "@tamagui/helpers": "3.0.8",
39
+ "@tamagui/react-native-types": "3.0.8",
40
+ "@tamagui/web": "3.0.8",
41
+ "@tamagui/font-size": "3.0.8"
42
42
  },
43
43
  "devDependencies": {
44
- "@tamagui/build": "3.0.6",
44
+ "@tamagui/build": "3.0.8",
45
45
  "react": "19.2.3",
46
46
  "react-native": "0.87.1",
47
47
  "vitest": "4.1.0"
@@ -54,5 +54,5 @@
54
54
  "url": "git+https://github.com/tamagui/tamagui.git",
55
55
  "directory": "code/core/helpers-tamagui"
56
56
  },
57
- "releaseSourceCommit": "ee01c1a5d113f9d0f4e9e26c35154165ce25add6"
57
+ "releaseSourceCommit": "b723356193510591d9ad15877b8937e8e6a31910"
58
58
  }