@tamagui/font-silkscreen 3.0.7 → 3.0.9
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.
|
@@ -24,7 +24,7 @@ var index_exports = {};
|
|
|
24
24
|
__export(index_exports, { createSilkscreenFont: () => createSilkscreenFont });
|
|
25
25
|
module.exports = __toCommonJS(index_exports);
|
|
26
26
|
var import_core = require("@tamagui/core");
|
|
27
|
-
var createSilkscreenFont = function() {
|
|
27
|
+
var createSilkscreenFont = function createSilkscreenFont2() {
|
|
28
28
|
var font = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
29
29
|
return (0, import_core.createFont)({
|
|
30
30
|
family: import_core.isWeb ? "Silkscreen, Fira Code, Monaco, Consolas, Ubuntu Mono, monospace" : "Silkscreen",
|
package/dist/cjs/index.native.js
CHANGED
|
@@ -24,7 +24,7 @@ var index_exports = {};
|
|
|
24
24
|
__export(index_exports, { createSilkscreenFont: () => createSilkscreenFont });
|
|
25
25
|
module.exports = __toCommonJS(index_exports);
|
|
26
26
|
var import_core = require("@tamagui/core");
|
|
27
|
-
var createSilkscreenFont = function() {
|
|
27
|
+
var createSilkscreenFont = function createSilkscreenFont2() {
|
|
28
28
|
var font = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
29
29
|
return (0, import_core.createFont)({
|
|
30
30
|
family: import_core.isWeb ? "Silkscreen, Fira Code, Monaco, Consolas, Ubuntu Mono, monospace" : "Silkscreen",
|
|
@@ -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,
|
|
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 createSilkscreenFont2() {\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,SAAS,wBAAwB;CAC1D,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"}
|
package/dist/esm/index.native.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { createFont, isWeb } from "@tamagui/core";
|
|
2
2
|
|
|
3
|
-
var createSilkscreenFont = function() {
|
|
3
|
+
var createSilkscreenFont = function createSilkscreenFont2() {
|
|
4
4
|
var font = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
5
5
|
return createFont({
|
|
6
6
|
family: isWeb ? "Silkscreen, Fira Code, Monaco, Consolas, Ubuntu Mono, monospace" : "Silkscreen",
|
|
@@ -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,
|
|
1
|
+
{"version":3,"file":"index.native.js","names":[],"sources":["esm/index.native.js"],"sourcesContent":["import { createFont, isWeb } from \"@tamagui/core\";\nvar createSilkscreenFont = function createSilkscreenFont2() {\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,SAAS,wBAAwB;CAC1D,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.
|
|
3
|
+
"version": "3.0.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
6
6
|
"files": [
|
|
@@ -39,10 +39,10 @@
|
|
|
39
39
|
"clean:build": "tamagui-build clean:build"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@tamagui/core": "3.0.
|
|
42
|
+
"@tamagui/core": "3.0.9"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
45
|
-
"@tamagui/build": "3.0.
|
|
45
|
+
"@tamagui/build": "3.0.9"
|
|
46
46
|
},
|
|
47
47
|
"skipPublishIfUnchanged": false,
|
|
48
48
|
"repository": {
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"url": "git+https://github.com/tamagui/tamagui.git",
|
|
51
51
|
"directory": "code/core/font-silkscreen"
|
|
52
52
|
},
|
|
53
|
-
"releaseSourceCommit": "
|
|
53
|
+
"releaseSourceCommit": "1971272fa9915450004c84ea48188100fdf278ff"
|
|
54
54
|
}
|