@tamagui/font-inter 1.0.1-beta.99 → 1.0.1-rc.0
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 +15 -25
- package/dist/cjs/index.js.map +2 -2
- package/dist/esm/index.js +15 -28
- package/dist/esm/index.js.map +2 -2
- package/dist/jsx/index.js +11 -8
- package/dist/jsx/index.js.map +2 -2
- package/otf/Inter-Black.otf +0 -0
- package/otf/Inter-BlackItalic.otf +0 -0
- package/otf/Inter-Bold.otf +0 -0
- package/otf/Inter-BoldItalic.otf +0 -0
- package/otf/Inter-ExtraBold.otf +0 -0
- package/otf/Inter-ExtraBoldItalic.otf +0 -0
- package/otf/Inter-ExtraLight.otf +0 -0
- package/otf/Inter-ExtraLightItalic.otf +0 -0
- package/otf/Inter-Italic.otf +0 -0
- package/otf/Inter-Light.otf +0 -0
- package/otf/Inter-LightItalic.otf +0 -0
- package/otf/Inter-Medium.otf +0 -0
- package/otf/Inter-MediumItalic.otf +0 -0
- package/otf/Inter-SemiBold.otf +0 -0
- package/otf/Inter-SemiBoldItalic.otf +0 -0
- package/otf/Inter-Thin.otf +0 -0
- package/otf/Inter-ThinItalic.otf +0 -0
- package/package.json +9 -4
- package/types/index.d.ts +0 -0
- package/woff2/Inter-Black.woff2 +0 -0
- package/woff2/Inter-BlackItalic.woff2 +0 -0
- package/woff2/Inter-Bold.woff2 +0 -0
- package/woff2/Inter-BoldItalic.woff2 +0 -0
- package/woff2/Inter-ExtraBold.woff2 +0 -0
- package/woff2/Inter-ExtraBoldItalic.woff2 +0 -0
- package/woff2/Inter-ExtraLight.woff2 +0 -0
- package/woff2/Inter-ExtraLightItalic.woff2 +0 -0
- package/woff2/Inter-Light.woff2 +0 -0
- package/woff2/Inter-LightItalic.woff2 +0 -0
- package/woff2/Inter-Medium.woff2 +0 -0
- package/woff2/Inter-MediumItalic.woff2 +0 -0
- package/woff2/Inter-Regular.woff2 +0 -0
- package/woff2/Inter-SemiBold.woff2 +0 -0
- package/woff2/Inter-SemiBoldItalic.woff2 +0 -0
- package/woff2/Inter-Thin.woff2 +0 -0
- package/woff2/Inter-ThinItalic.woff2 +0 -0
- package/ttf/Inter.ttf +0 -0
- package/types/index.d.ts.map +0 -1
package/dist/cjs/index.js
CHANGED
|
@@ -1,24 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
|
-
var __defProps = Object.defineProperties;
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
5
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
7
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
9
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
10
|
-
var __spreadValues = (a, b) => {
|
|
11
|
-
for (var prop in b || (b = {}))
|
|
12
|
-
if (__hasOwnProp.call(b, prop))
|
|
13
|
-
__defNormalProp(a, prop, b[prop]);
|
|
14
|
-
if (__getOwnPropSymbols)
|
|
15
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
16
|
-
if (__propIsEnum.call(b, prop))
|
|
17
|
-
__defNormalProp(a, prop, b[prop]);
|
|
18
|
-
}
|
|
19
|
-
return a;
|
|
20
|
-
};
|
|
21
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
22
6
|
var __export = (target, all) => {
|
|
23
7
|
for (var name in all)
|
|
24
8
|
__defProp(target, name, { get: all[name], enumerable: true });
|
|
@@ -38,24 +22,30 @@ __export(src_exports, {
|
|
|
38
22
|
});
|
|
39
23
|
module.exports = __toCommonJS(src_exports);
|
|
40
24
|
var import_core = require("@tamagui/core");
|
|
41
|
-
var import_react_native = require("react-native");
|
|
42
25
|
const createInterFont = (font = {}, {
|
|
43
26
|
sizeLineHeight = (size) => size + 10,
|
|
44
27
|
sizeSize = (size) => size * 1
|
|
45
28
|
} = {}) => {
|
|
46
|
-
const size = Object.fromEntries(
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
29
|
+
const size = Object.fromEntries(
|
|
30
|
+
Object.entries({
|
|
31
|
+
...defaultSizes,
|
|
32
|
+
...font.size
|
|
33
|
+
}).map(([k, v]) => [k, sizeSize(+v)])
|
|
34
|
+
);
|
|
35
|
+
return (0, import_core.createFont)({
|
|
36
|
+
family: import_core.isWeb ? 'Inter, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif' : "Inter",
|
|
37
|
+
lineHeight: Object.fromEntries(
|
|
38
|
+
Object.entries(size).map(([k, v]) => [k, sizeLineHeight((0, import_core.getVariableValue)(v))])
|
|
39
|
+
),
|
|
50
40
|
weight: {
|
|
51
41
|
4: "300"
|
|
52
42
|
},
|
|
53
43
|
letterSpacing: {
|
|
54
44
|
4: 0
|
|
55
|
-
}
|
|
56
|
-
|
|
45
|
+
},
|
|
46
|
+
...font,
|
|
57
47
|
size
|
|
58
|
-
})
|
|
48
|
+
});
|
|
59
49
|
};
|
|
60
50
|
const defaultSizes = {
|
|
61
51
|
1: 11,
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["import { GenericFont, createFont, getVariableValue } from '@tamagui/core'\
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import { GenericFont, createFont, getVariableValue, isWeb } from '@tamagui/core'\n\nexport const createInterFont = <A extends GenericFont<keyof typeof defaultSizes>>(\n font: {\n [Key in keyof Partial<A>]?: Partial<A[Key]>\n } = {},\n {\n sizeLineHeight = (size) => size + 10,\n sizeSize = (size) => size * 1,\n }: {\n sizeLineHeight?: (fontSize: number) => number\n sizeSize?: (size: number) => number\n } = {}\n): GenericFont<keyof typeof defaultSizes> => {\n // merge to allow individual overrides\n const size = Object.fromEntries(\n Object.entries({\n ...defaultSizes,\n ...font.size,\n }).map(([k, v]) => [k, sizeSize(+v)])\n )\n return createFont({\n family: isWeb\n ? 'Inter, -apple-system, system-ui, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif'\n : 'Inter',\n lineHeight: Object.fromEntries(\n Object.entries(size).map(([k, v]) => [k, sizeLineHeight(getVariableValue(v))])\n ),\n weight: {\n 4: '300',\n },\n letterSpacing: {\n 4: 0,\n },\n ...(font as any),\n size,\n })\n}\n\nconst defaultSizes = {\n 1: 11,\n 2: 12,\n 3: 13,\n 4: 14,\n 5: 16,\n 6: 18,\n 7: 20,\n 8: 23,\n 9: 30,\n 10: 46,\n 11: 55,\n 12: 62,\n 13: 72,\n 14: 92,\n 15: 114,\n 16: 134,\n} as const\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAiE;AAE1D,MAAM,kBAAkB,CAC7B,OAEI,CAAC,GACL;AAAA,EACE,iBAAiB,CAAC,SAAS,OAAO;AAAA,EAClC,WAAW,CAAC,SAAS,OAAO;AAC9B,IAGI,CAAC,MACsC;AAE3C,QAAM,OAAO,OAAO;AAAA,IAClB,OAAO,QAAQ;AAAA,MACb,GAAG;AAAA,MACH,GAAG,KAAK;AAAA,IACV,CAAC,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;AAAA,EACtC;AACA,aAAO,wBAAW;AAAA,IAChB,QAAQ,oBACJ,0GACA;AAAA,IACJ,YAAY,OAAO;AAAA,MACjB,OAAO,QAAQ,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,mBAAe,8BAAiB,CAAC,CAAC,CAAC,CAAC;AAAA,IAC/E;AAAA,IACA,QAAQ;AAAA,MACN,GAAG;AAAA,IACL;AAAA,IACA,eAAe;AAAA,MACb,GAAG;AAAA,IACL;AAAA,IACA,GAAI;AAAA,IACJ;AAAA,EACF,CAAC;AACH;AAEA,MAAM,eAAe;AAAA,EACnB,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -1,41 +1,28 @@
|
|
|
1
|
-
|
|
2
|
-
var __defProps = Object.defineProperties;
|
|
3
|
-
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
4
|
-
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
5
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
-
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
7
|
-
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
8
|
-
var __spreadValues = (a, b) => {
|
|
9
|
-
for (var prop in b || (b = {}))
|
|
10
|
-
if (__hasOwnProp.call(b, prop))
|
|
11
|
-
__defNormalProp(a, prop, b[prop]);
|
|
12
|
-
if (__getOwnPropSymbols)
|
|
13
|
-
for (var prop of __getOwnPropSymbols(b)) {
|
|
14
|
-
if (__propIsEnum.call(b, prop))
|
|
15
|
-
__defNormalProp(a, prop, b[prop]);
|
|
16
|
-
}
|
|
17
|
-
return a;
|
|
18
|
-
};
|
|
19
|
-
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
20
|
-
import { createFont, getVariableValue } from "@tamagui/core";
|
|
21
|
-
import { Platform } from "react-native";
|
|
1
|
+
import { createFont, getVariableValue, isWeb } from "@tamagui/core";
|
|
22
2
|
const createInterFont = (font = {}, {
|
|
23
3
|
sizeLineHeight = (size) => size + 10,
|
|
24
4
|
sizeSize = (size) => size * 1
|
|
25
5
|
} = {}) => {
|
|
26
|
-
const size = Object.fromEntries(
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
6
|
+
const size = Object.fromEntries(
|
|
7
|
+
Object.entries({
|
|
8
|
+
...defaultSizes,
|
|
9
|
+
...font.size
|
|
10
|
+
}).map(([k, v]) => [k, sizeSize(+v)])
|
|
11
|
+
);
|
|
12
|
+
return createFont({
|
|
13
|
+
family: isWeb ? 'Inter, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif' : "Inter",
|
|
14
|
+
lineHeight: Object.fromEntries(
|
|
15
|
+
Object.entries(size).map(([k, v]) => [k, sizeLineHeight(getVariableValue(v))])
|
|
16
|
+
),
|
|
30
17
|
weight: {
|
|
31
18
|
4: "300"
|
|
32
19
|
},
|
|
33
20
|
letterSpacing: {
|
|
34
21
|
4: 0
|
|
35
|
-
}
|
|
36
|
-
|
|
22
|
+
},
|
|
23
|
+
...font,
|
|
37
24
|
size
|
|
38
|
-
})
|
|
25
|
+
});
|
|
39
26
|
};
|
|
40
27
|
const defaultSizes = {
|
|
41
28
|
1: 11,
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["import { GenericFont, createFont, getVariableValue } from '@tamagui/core'\
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import { GenericFont, createFont, getVariableValue, isWeb } from '@tamagui/core'\n\nexport const createInterFont = <A extends GenericFont<keyof typeof defaultSizes>>(\n font: {\n [Key in keyof Partial<A>]?: Partial<A[Key]>\n } = {},\n {\n sizeLineHeight = (size) => size + 10,\n sizeSize = (size) => size * 1,\n }: {\n sizeLineHeight?: (fontSize: number) => number\n sizeSize?: (size: number) => number\n } = {}\n): GenericFont<keyof typeof defaultSizes> => {\n // merge to allow individual overrides\n const size = Object.fromEntries(\n Object.entries({\n ...defaultSizes,\n ...font.size,\n }).map(([k, v]) => [k, sizeSize(+v)])\n )\n return createFont({\n family: isWeb\n ? 'Inter, -apple-system, system-ui, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif'\n : 'Inter',\n lineHeight: Object.fromEntries(\n Object.entries(size).map(([k, v]) => [k, sizeLineHeight(getVariableValue(v))])\n ),\n weight: {\n 4: '300',\n },\n letterSpacing: {\n 4: 0,\n },\n ...(font as any),\n size,\n })\n}\n\nconst defaultSizes = {\n 1: 11,\n 2: 12,\n 3: 13,\n 4: 14,\n 5: 16,\n 6: 18,\n 7: 20,\n 8: 23,\n 9: 30,\n 10: 46,\n 11: 55,\n 12: 62,\n 13: 72,\n 14: 92,\n 15: 114,\n 16: 134,\n} as const\n"],
|
|
5
|
+
"mappings": "AAAA,SAAsB,YAAY,kBAAkB,aAAa;AAE1D,MAAM,kBAAkB,CAC7B,OAEI,CAAC,GACL;AAAA,EACE,iBAAiB,CAAC,SAAS,OAAO;AAAA,EAClC,WAAW,CAAC,SAAS,OAAO;AAC9B,IAGI,CAAC,MACsC;AAE3C,QAAM,OAAO,OAAO;AAAA,IAClB,OAAO,QAAQ;AAAA,MACb,GAAG;AAAA,MACH,GAAG,KAAK;AAAA,IACV,CAAC,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;AAAA,EACtC;AACA,SAAO,WAAW;AAAA,IAChB,QAAQ,QACJ,0GACA;AAAA,IACJ,YAAY,OAAO;AAAA,MACjB,OAAO,QAAQ,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,eAAe,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAAA,IAC/E;AAAA,IACA,QAAQ;AAAA,MACN,GAAG;AAAA,IACL;AAAA,IACA,eAAe;AAAA,MACb,GAAG;AAAA,IACL;AAAA,IACA,GAAI;AAAA,IACJ;AAAA,EACF,CAAC;AACH;AAEA,MAAM,eAAe;AAAA,EACnB,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/jsx/index.js
CHANGED
|
@@ -1,16 +1,19 @@
|
|
|
1
|
-
import { createFont, getVariableValue } from "@tamagui/core";
|
|
2
|
-
import { Platform } from "react-native";
|
|
1
|
+
import { createFont, getVariableValue, isWeb } from "@tamagui/core";
|
|
3
2
|
const createInterFont = (font = {}, {
|
|
4
3
|
sizeLineHeight = (size) => size + 10,
|
|
5
4
|
sizeSize = (size) => size * 1
|
|
6
5
|
} = {}) => {
|
|
7
|
-
const size = Object.fromEntries(
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
6
|
+
const size = Object.fromEntries(
|
|
7
|
+
Object.entries({
|
|
8
|
+
...defaultSizes,
|
|
9
|
+
...font.size
|
|
10
|
+
}).map(([k, v]) => [k, sizeSize(+v)])
|
|
11
|
+
);
|
|
11
12
|
return createFont({
|
|
12
|
-
family:
|
|
13
|
-
lineHeight: Object.fromEntries(
|
|
13
|
+
family: isWeb ? 'Inter, -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif' : "Inter",
|
|
14
|
+
lineHeight: Object.fromEntries(
|
|
15
|
+
Object.entries(size).map(([k, v]) => [k, sizeLineHeight(getVariableValue(v))])
|
|
16
|
+
),
|
|
14
17
|
weight: {
|
|
15
18
|
4: "300"
|
|
16
19
|
},
|
package/dist/jsx/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["import { GenericFont, createFont, getVariableValue } from '@tamagui/core'\
|
|
5
|
-
"mappings": "AAAA;
|
|
4
|
+
"sourcesContent": ["import { GenericFont, createFont, getVariableValue, isWeb } from '@tamagui/core'\n\nexport const createInterFont = <A extends GenericFont<keyof typeof defaultSizes>>(\n font: {\n [Key in keyof Partial<A>]?: Partial<A[Key]>\n } = {},\n {\n sizeLineHeight = (size) => size + 10,\n sizeSize = (size) => size * 1,\n }: {\n sizeLineHeight?: (fontSize: number) => number\n sizeSize?: (size: number) => number\n } = {}\n): GenericFont<keyof typeof defaultSizes> => {\n // merge to allow individual overrides\n const size = Object.fromEntries(\n Object.entries({\n ...defaultSizes,\n ...font.size,\n }).map(([k, v]) => [k, sizeSize(+v)])\n )\n return createFont({\n family: isWeb\n ? 'Inter, -apple-system, system-ui, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif'\n : 'Inter',\n lineHeight: Object.fromEntries(\n Object.entries(size).map(([k, v]) => [k, sizeLineHeight(getVariableValue(v))])\n ),\n weight: {\n 4: '300',\n },\n letterSpacing: {\n 4: 0,\n },\n ...(font as any),\n size,\n })\n}\n\nconst defaultSizes = {\n 1: 11,\n 2: 12,\n 3: 13,\n 4: 14,\n 5: 16,\n 6: 18,\n 7: 20,\n 8: 23,\n 9: 30,\n 10: 46,\n 11: 55,\n 12: 62,\n 13: 72,\n 14: 92,\n 15: 114,\n 16: 134,\n} as const\n"],
|
|
5
|
+
"mappings": "AAAA,SAAsB,YAAY,kBAAkB,aAAa;AAE1D,MAAM,kBAAkB,CAC7B,OAEI,CAAC,GACL;AAAA,EACE,iBAAiB,CAAC,SAAS,OAAO;AAAA,EAClC,WAAW,CAAC,SAAS,OAAO;AAC9B,IAGI,CAAC,MACsC;AAE3C,QAAM,OAAO,OAAO;AAAA,IAClB,OAAO,QAAQ;AAAA,MACb,GAAG;AAAA,MACH,GAAG,KAAK;AAAA,IACV,CAAC,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,SAAS,CAAC,CAAC,CAAC,CAAC;AAAA,EACtC;AACA,SAAO,WAAW;AAAA,IAChB,QAAQ,QACJ,0GACA;AAAA,IACJ,YAAY,OAAO;AAAA,MACjB,OAAO,QAAQ,IAAI,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,MAAM,CAAC,GAAG,eAAe,iBAAiB,CAAC,CAAC,CAAC,CAAC;AAAA,IAC/E;AAAA,IACA,QAAQ;AAAA,MACN,GAAG;AAAA,IACL;AAAA,IACA,eAAe;AAAA,MACb,GAAG;AAAA,IACL;AAAA,IACA,GAAI;AAAA,IACJ;AAAA,EACF,CAAC;AACH;AAEA,MAAM,eAAe;AAAA,EACnB,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,GAAG;AAAA,EACH,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AAAA,EACJ,IAAI;AACN;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/font-inter",
|
|
3
|
-
"version": "1.0.1-
|
|
3
|
+
"version": "1.0.1-rc.0",
|
|
4
4
|
"types": "./types/index.d.ts",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
@@ -9,19 +9,24 @@
|
|
|
9
9
|
"types",
|
|
10
10
|
"dist",
|
|
11
11
|
"css",
|
|
12
|
-
"
|
|
12
|
+
"otf",
|
|
13
|
+
"woff2"
|
|
13
14
|
],
|
|
14
15
|
"scripts": {
|
|
15
16
|
"build": "tamagui-build",
|
|
17
|
+
"subset": "node -r esbuild-register subset.ts",
|
|
16
18
|
"watch": "tamagui-build --watch",
|
|
19
|
+
"lint": "eslint src",
|
|
20
|
+
"lint:fix": "yarn lint --fix",
|
|
17
21
|
"clean": "tamagui-build clean",
|
|
18
22
|
"clean:build": "tamagui-build clean:build"
|
|
19
23
|
},
|
|
20
24
|
"dependencies": {
|
|
21
|
-
"@tamagui/core": "^1.0.1-
|
|
25
|
+
"@tamagui/core": "^1.0.1-rc.0"
|
|
22
26
|
},
|
|
23
27
|
"devDependencies": {
|
|
24
|
-
"@tamagui/build": "^1.0.1-
|
|
28
|
+
"@tamagui/build": "^1.0.1-rc.0",
|
|
29
|
+
"subset-font": "^1.6.1"
|
|
25
30
|
},
|
|
26
31
|
"publishConfig": {
|
|
27
32
|
"access": "public"
|
package/types/index.d.ts
CHANGED
|
File without changes
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/ttf/Inter.ttf
DELETED
|
Binary file
|
package/types/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAgC,MAAM,eAAe,CAAA;AAGzE,eAAO,MAAM,eAAe;iCAQI,MAAM,KAAK,MAAM;uBAC3B,MAAM,KAAK,MAAM;MAEpC,YAAY,MAAM,mBAAmB,CAyBvC,CAAA;AAED,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;CAiBR,CAAA"}
|