@tamagui/font-silkscreen 3.0.0-beta.669.1 → 3.0.0-beta.728.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.
@@ -1,4 +1,3 @@
1
-
2
1
  var __defProp = Object.defineProperty;
3
2
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
 
3
-
4
3
  var __defProp = Object.defineProperty;
5
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1,6 +1,5 @@
1
1
  "use strict";
2
2
 
3
-
4
3
  var __defProp = Object.defineProperty;
5
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
@@ -1 +1 @@
1
- {"version":3,"file":"index.native.js","names":[],"sources":["cjs/index.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 index_exports = {};\n__export(index_exports, {\n createSilkscreenFont: () => createSilkscreenFont\n});\nmodule.exports = __toCommonJS(index_exports);\nvar import_core = require(\"@tamagui/core\");\nvar createSilkscreenFont = function() {\n var font = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};\n return (0, import_core.createFont)({\n family: import_core.isWeb ? \"Silkscreen, Fira Code, Monaco, Consolas, Ubuntu Mono, monospace\" : \"Silkscreen\",\n size,\n lineHeight: Object.fromEntries(Object.entries(font.size || size).map(function(param) {\n var [k, v] = param;\n return [\n k,\n typeof v === \"number\" ? Math.round(v * 1.2 + 6) : v\n ];\n })),\n weight: {\n 4: \"300\"\n },\n letterSpacing: {\n 4: 1,\n 5: 3,\n 6: 3,\n 9: -2,\n 10: -3,\n 12: -4\n },\n ...font\n });\n};\nvar size = {\n 1: 11,\n 2: 12,\n 3: 13,\n 4: 14,\n 5: 15,\n 6: 16,\n 7: 18,\n 8: 21,\n 9: 28,\n 10: 42,\n 11: 52,\n 12: 62,\n 13: 72,\n 14: 92,\n 15: 114,\n 16: 124\n};\n//# sourceMappingURL=index.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,gBAAgB,CAAC;AACrB,SAAS,eAAe,EACtB,4BAA4B,qBAC9B,CAAC;AACD,OAAO,UAAU,aAAa,aAAa;AAC3C,IAAI,cAAc,QAAQ,eAAe;AACzC,IAAI,uBAAuB,WAAW;CACpC,IAAI,OAAO,UAAU,SAAS,KAAK,UAAU,OAAO,KAAK,IAAI,UAAU,KAAK,CAAC;CAC7E,QAAQ,GAAG,YAAY,YAAY;EACjC,QAAQ,YAAY,QAAQ,oEAAoE;EAChG;EACA,YAAY,OAAO,YAAY,OAAO,QAAQ,KAAK,QAAQ,IAAI,EAAE,IAAI,SAAS,OAAO;GACnF,IAAI,CAAC,GAAG,KAAK;GACb,OAAO,CACL,GACA,OAAO,MAAM,WAAW,KAAK,MAAM,IAAI,MAAM,CAAC,IAAI,CACpD;EACF,CAAC,CAAC;EACF,QAAQ,EACN,GAAG,MACL;EACA,eAAe;GACb,GAAG;GACH,GAAG;GACH,GAAG;GACH,GAAG,CAAC;GACJ,IAAI,CAAC;GACL,IAAI,CAAC;EACP;EACA,GAAG;CACL,CAAC;AACH;AACA,IAAI,OAAO;CACT,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;AACN"}
1
+ {"version":3,"file":"index.native.js","names":[],"sources":["cjs/index.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 index_exports = {};\n__export(index_exports, {\n createSilkscreenFont: () => createSilkscreenFont\n});\nmodule.exports = __toCommonJS(index_exports);\nvar import_core = require(\"@tamagui/core\");\nvar createSilkscreenFont = function() {\n var font = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};\n return (0, import_core.createFont)({\n family: import_core.isWeb ? \"Silkscreen, Fira Code, Monaco, Consolas, Ubuntu Mono, monospace\" : \"Silkscreen\",\n size,\n lineHeight: Object.fromEntries(Object.entries(font.size || size).map(function(param) {\n var [k, v] = param;\n return [\n k,\n typeof v === \"number\" ? Math.round(v * 1.2 + 6) : v\n ];\n })),\n weight: {\n 4: \"300\"\n },\n letterSpacing: {\n 4: 1,\n 5: 3,\n 6: 3,\n 9: -2,\n 10: -3,\n 12: -4\n },\n ...font\n });\n};\nvar size = {\n 1: 11,\n 2: 12,\n 3: 13,\n 4: 14,\n 5: 15,\n 6: 16,\n 7: 18,\n 8: 21,\n 9: 28,\n 10: 42,\n 11: 52,\n 12: 62,\n 13: 72,\n 14: 92,\n 15: 114,\n 16: 124\n};\n//# sourceMappingURL=index.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,gBAAgB,CAAC;AACrB,SAAS,eAAe,EACtB,4BAA4B,qBAC9B,CAAC;AACD,OAAO,UAAU,aAAa,aAAa;AAC3C,IAAI,cAAc,QAAQ,eAAe;AACzC,IAAI,uBAAuB,WAAW;CACpC,IAAI,OAAO,UAAU,SAAS,KAAK,UAAU,OAAO,KAAK,IAAI,UAAU,KAAK,CAAC;CAC7E,QAAQ,GAAG,YAAY,WAAU,CAAE;EACjC,QAAQ,YAAY,QAAQ,oEAAoE;EAChG;EACA,YAAY,OAAO,YAAY,OAAO,QAAQ,KAAK,QAAQ,IAAI,CAAC,CAAC,IAAI,SAAS,OAAO;GACnF,IAAI,CAAC,GAAG,KAAK;GACb,OAAO,CACL,GACA,OAAO,MAAM,WAAW,KAAK,MAAM,IAAI,MAAM,CAAC,IAAI,CACpD;EACF,CAAC,CAAC;EACF,QAAQ,EACN,GAAG,MACL;EACA,eAAe;GACb,GAAG;GACH,GAAG;GACH,GAAG;GACH,GAAG,CAAC;GACJ,IAAI,CAAC;GACL,IAAI,CAAC;EACP;EACA,GAAG;CACL,CAAC;AACH;AACA,IAAI,OAAO;CACT,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;AACN"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["esm/index.js"],"sourcesContent":["import { createFont, isWeb } from \"@tamagui/core\";\nconst createSilkscreenFont = (font = {}) => {\n return createFont({\n family: isWeb ? \"Silkscreen, Fira Code, Monaco, Consolas, Ubuntu Mono, monospace\" : \"Silkscreen\",\n size,\n lineHeight: Object.fromEntries(\n Object.entries(font.size || size).map(([k, v]) => [\n k,\n typeof v === \"number\" ? Math.round(v * 1.2 + 6) : v\n ])\n ),\n weight: {\n 4: \"300\"\n },\n letterSpacing: {\n 4: 1,\n 5: 3,\n 6: 3,\n 9: -2,\n 10: -3,\n 12: -4\n },\n ...font\n });\n};\nconst size = {\n 1: 11,\n 2: 12,\n 3: 13,\n 4: 14,\n 5: 15,\n 6: 16,\n 7: 18,\n 8: 21,\n 9: 28,\n 10: 42,\n 11: 52,\n 12: 62,\n 13: 72,\n 14: 92,\n 15: 114,\n 16: 124\n};\nexport {\n createSilkscreenFont\n};\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;AACA,MAAM,wBAAwB,OAAO,CAAC,MAAM;CAC1C,OAAO,WAAW;EAChB,QAAQ,QAAQ,oEAAoE;EACpF;EACA,YAAY,OAAO,YACjB,OAAO,QAAQ,KAAK,QAAQ,IAAI,EAAE,KAAK,CAAC,GAAG,OAAO,CAChD,GACA,OAAO,MAAM,WAAW,KAAK,MAAM,IAAI,MAAM,CAAC,IAAI,CACpD,CAAC,CACH;EACA,QAAQ,EACN,GAAG,MACL;EACA,eAAe;GACb,GAAG;GACH,GAAG;GACH,GAAG;GACH,GAAG,CAAC;GACJ,IAAI,CAAC;GACL,IAAI,CAAC;EACP;EACA,GAAG;CACL,CAAC;AACH;AACA,MAAM,OAAO;CACX,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;AACN"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["esm/index.js"],"sourcesContent":["import { createFont, isWeb } from \"@tamagui/core\";\nconst createSilkscreenFont = (font = {}) => {\n return createFont({\n family: isWeb ? \"Silkscreen, Fira Code, Monaco, Consolas, Ubuntu Mono, monospace\" : \"Silkscreen\",\n size,\n lineHeight: Object.fromEntries(\n Object.entries(font.size || size).map(([k, v]) => [\n k,\n typeof v === \"number\" ? Math.round(v * 1.2 + 6) : v\n ])\n ),\n weight: {\n 4: \"300\"\n },\n letterSpacing: {\n 4: 1,\n 5: 3,\n 6: 3,\n 9: -2,\n 10: -3,\n 12: -4\n },\n ...font\n });\n};\nconst size = {\n 1: 11,\n 2: 12,\n 3: 13,\n 4: 14,\n 5: 15,\n 6: 16,\n 7: 18,\n 8: 21,\n 9: 28,\n 10: 42,\n 11: 52,\n 12: 62,\n 13: 72,\n 14: 92,\n 15: 114,\n 16: 124\n};\nexport {\n createSilkscreenFont\n};\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;AACA,MAAM,wBAAwB,OAAO,CAAC,MAAM;CAC1C,OAAO,WAAW;EAChB,QAAQ,QAAQ,oEAAoE;EACpF;EACA,YAAY,OAAO,YACjB,OAAO,QAAQ,KAAK,QAAQ,IAAI,CAAC,CAAC,KAAK,CAAC,GAAG,OAAO,CAChD,GACA,OAAO,MAAM,WAAW,KAAK,MAAM,IAAI,MAAM,CAAC,IAAI,CACpD,CAAC,CACH;EACA,QAAQ,EACN,GAAG,MACL;EACA,eAAe;GACb,GAAG;GACH,GAAG;GACH,GAAG;GACH,GAAG,CAAC;GACJ,IAAI,CAAC;GACL,IAAI,CAAC;EACP;EACA,GAAG;CACL,CAAC;AACH;AACA,MAAM,OAAO;CACX,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;AACN"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","names":[],"sources":["esm/index.js"],"sourcesContent":["import { createFont, isWeb } from \"@tamagui/core\";\nconst createSilkscreenFont = (font = {}) => {\n return createFont({\n family: isWeb ? \"Silkscreen, Fira Code, Monaco, Consolas, Ubuntu Mono, monospace\" : \"Silkscreen\",\n size,\n lineHeight: Object.fromEntries(\n Object.entries(font.size || size).map(([k, v]) => [\n k,\n typeof v === \"number\" ? Math.round(v * 1.2 + 6) : v\n ])\n ),\n weight: {\n 4: \"300\"\n },\n letterSpacing: {\n 4: 1,\n 5: 3,\n 6: 3,\n 9: -2,\n 10: -3,\n 12: -4\n },\n ...font\n });\n};\nconst size = {\n 1: 11,\n 2: 12,\n 3: 13,\n 4: 14,\n 5: 15,\n 6: 16,\n 7: 18,\n 8: 21,\n 9: 28,\n 10: 42,\n 11: 52,\n 12: 62,\n 13: 72,\n 14: 92,\n 15: 114,\n 16: 124\n};\nexport {\n createSilkscreenFont\n};\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;AACA,MAAM,wBAAwB,OAAO,CAAC,MAAM;CAC1C,OAAO,WAAW;EAChB,QAAQ,QAAQ,oEAAoE;EACpF;EACA,YAAY,OAAO,YACjB,OAAO,QAAQ,KAAK,QAAQ,IAAI,EAAE,KAAK,CAAC,GAAG,OAAO,CAChD,GACA,OAAO,MAAM,WAAW,KAAK,MAAM,IAAI,MAAM,CAAC,IAAI,CACpD,CAAC,CACH;EACA,QAAQ,EACN,GAAG,MACL;EACA,eAAe;GACb,GAAG;GACH,GAAG;GACH,GAAG;GACH,GAAG,CAAC;GACJ,IAAI,CAAC;GACL,IAAI,CAAC;EACP;EACA,GAAG;CACL,CAAC;AACH;AACA,MAAM,OAAO;CACX,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;AACN"}
1
+ {"version":3,"file":"index.js","names":[],"sources":["esm/index.js"],"sourcesContent":["import { createFont, isWeb } from \"@tamagui/core\";\nconst createSilkscreenFont = (font = {}) => {\n return createFont({\n family: isWeb ? \"Silkscreen, Fira Code, Monaco, Consolas, Ubuntu Mono, monospace\" : \"Silkscreen\",\n size,\n lineHeight: Object.fromEntries(\n Object.entries(font.size || size).map(([k, v]) => [\n k,\n typeof v === \"number\" ? Math.round(v * 1.2 + 6) : v\n ])\n ),\n weight: {\n 4: \"300\"\n },\n letterSpacing: {\n 4: 1,\n 5: 3,\n 6: 3,\n 9: -2,\n 10: -3,\n 12: -4\n },\n ...font\n });\n};\nconst size = {\n 1: 11,\n 2: 12,\n 3: 13,\n 4: 14,\n 5: 15,\n 6: 16,\n 7: 18,\n 8: 21,\n 9: 28,\n 10: 42,\n 11: 52,\n 12: 62,\n 13: 72,\n 14: 92,\n 15: 114,\n 16: 124\n};\nexport {\n createSilkscreenFont\n};\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;AACA,MAAM,wBAAwB,OAAO,CAAC,MAAM;CAC1C,OAAO,WAAW;EAChB,QAAQ,QAAQ,oEAAoE;EACpF;EACA,YAAY,OAAO,YACjB,OAAO,QAAQ,KAAK,QAAQ,IAAI,CAAC,CAAC,KAAK,CAAC,GAAG,OAAO,CAChD,GACA,OAAO,MAAM,WAAW,KAAK,MAAM,IAAI,MAAM,CAAC,IAAI,CACpD,CAAC,CACH;EACA,QAAQ,EACN,GAAG,MACL;EACA,eAAe;GACb,GAAG;GACH,GAAG;GACH,GAAG;GACH,GAAG,CAAC;GACJ,IAAI,CAAC;GACL,IAAI,CAAC;EACP;EACA,GAAG;CACL,CAAC;AACH;AACA,MAAM,OAAO;CACX,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;AACN"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.native.js","names":[],"sources":["esm/index.native.js"],"sourcesContent":["import { createFont, isWeb } from \"@tamagui/core\";\nvar createSilkscreenFont = function() {\n var font = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};\n return createFont({\n family: isWeb ? \"Silkscreen, Fira Code, Monaco, Consolas, Ubuntu Mono, monospace\" : \"Silkscreen\",\n size,\n lineHeight: Object.fromEntries(Object.entries(font.size || size).map(function(param) {\n var [k, v] = param;\n return [\n k,\n typeof v === \"number\" ? Math.round(v * 1.2 + 6) : v\n ];\n })),\n weight: {\n 4: \"300\"\n },\n letterSpacing: {\n 4: 1,\n 5: 3,\n 6: 3,\n 9: -2,\n 10: -3,\n 12: -4\n },\n ...font\n });\n};\nvar size = {\n 1: 11,\n 2: 12,\n 3: 13,\n 4: 14,\n 5: 15,\n 6: 16,\n 7: 18,\n 8: 21,\n 9: 28,\n 10: 42,\n 11: 52,\n 12: 62,\n 13: 72,\n 14: 92,\n 15: 114,\n 16: 124\n};\nexport {\n createSilkscreenFont\n};\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;AACA,IAAI,uBAAuB,WAAW;CACpC,IAAI,OAAO,UAAU,SAAS,KAAK,UAAU,OAAO,KAAK,IAAI,UAAU,KAAK,CAAC;CAC7E,OAAO,WAAW;EAChB,QAAQ,QAAQ,oEAAoE;EACpF;EACA,YAAY,OAAO,YAAY,OAAO,QAAQ,KAAK,QAAQ,IAAI,EAAE,IAAI,SAAS,OAAO;GACnF,IAAI,CAAC,GAAG,KAAK;GACb,OAAO,CACL,GACA,OAAO,MAAM,WAAW,KAAK,MAAM,IAAI,MAAM,CAAC,IAAI,CACpD;EACF,CAAC,CAAC;EACF,QAAQ,EACN,GAAG,MACL;EACA,eAAe;GACb,GAAG;GACH,GAAG;GACH,GAAG;GACH,GAAG,CAAC;GACJ,IAAI,CAAC;GACL,IAAI,CAAC;EACP;EACA,GAAG;CACL,CAAC;AACH;AACA,IAAI,OAAO;CACT,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;AACN"}
1
+ {"version":3,"file":"index.native.js","names":[],"sources":["esm/index.native.js"],"sourcesContent":["import { createFont, isWeb } from \"@tamagui/core\";\nvar createSilkscreenFont = function() {\n var font = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};\n return createFont({\n family: isWeb ? \"Silkscreen, Fira Code, Monaco, Consolas, Ubuntu Mono, monospace\" : \"Silkscreen\",\n size,\n lineHeight: Object.fromEntries(Object.entries(font.size || size).map(function(param) {\n var [k, v] = param;\n return [\n k,\n typeof v === \"number\" ? Math.round(v * 1.2 + 6) : v\n ];\n })),\n weight: {\n 4: \"300\"\n },\n letterSpacing: {\n 4: 1,\n 5: 3,\n 6: 3,\n 9: -2,\n 10: -3,\n 12: -4\n },\n ...font\n });\n};\nvar size = {\n 1: 11,\n 2: 12,\n 3: 13,\n 4: 14,\n 5: 15,\n 6: 16,\n 7: 18,\n 8: 21,\n 9: 28,\n 10: 42,\n 11: 52,\n 12: 62,\n 13: 72,\n 14: 92,\n 15: 114,\n 16: 124\n};\nexport {\n createSilkscreenFont\n};\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;AACA,IAAI,uBAAuB,WAAW;CACpC,IAAI,OAAO,UAAU,SAAS,KAAK,UAAU,OAAO,KAAK,IAAI,UAAU,KAAK,CAAC;CAC7E,OAAO,WAAW;EAChB,QAAQ,QAAQ,oEAAoE;EACpF;EACA,YAAY,OAAO,YAAY,OAAO,QAAQ,KAAK,QAAQ,IAAI,CAAC,CAAC,IAAI,SAAS,OAAO;GACnF,IAAI,CAAC,GAAG,KAAK;GACb,OAAO,CACL,GACA,OAAO,MAAM,WAAW,KAAK,MAAM,IAAI,MAAM,CAAC,IAAI,CACpD;EACF,CAAC,CAAC;EACF,QAAQ,EACN,GAAG,MACL;EACA,eAAe;GACb,GAAG;GACH,GAAG;GACH,GAAG;GACH,GAAG,CAAC;GACJ,IAAI,CAAC;GACL,IAAI,CAAC;EACP;EACA,GAAG;CACL,CAAC;AACH;AACA,IAAI,OAAO;CACT,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,GAAG;CACH,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;AACN"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/font-silkscreen",
3
- "version": "3.0.0-beta.669.1",
3
+ "version": "3.0.0-beta.728.1",
4
4
  "gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
5
5
  "files": [
6
6
  "types",
@@ -38,10 +38,10 @@
38
38
  "clean:build": "tamagui-build clean:build"
39
39
  },
40
40
  "dependencies": {
41
- "@tamagui/core": "3.0.0-beta.669.1"
41
+ "@tamagui/core": "3.0.0-beta.728.1"
42
42
  },
43
43
  "devDependencies": {
44
- "@tamagui/build": "3.0.0-beta.669.1"
44
+ "@tamagui/build": "3.0.0-beta.728.1"
45
45
  },
46
46
  "skipPublishIfUnchanged": false,
47
47
  "repository": {