@tamagui/config-base 1.0.1-beta.55 → 1.0.1-beta.59
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/tamagui.config.js +2 -2
- package/dist/cjs/tamagui.config.js.map +2 -2
- package/dist/esm/tamagui.config.js +2 -2
- package/dist/esm/tamagui.config.js.map +2 -2
- package/dist/jsx/tamagui.config.js +2 -2
- package/package.json +9 -10
- package/types/tamagui.config.d.ts +12267 -13352
- package/types/tamagui.config.d.ts.map +1 -1
|
@@ -58,8 +58,8 @@ const headingFont = (0, import_font_inter.createInterFont)({
|
|
|
58
58
|
}
|
|
59
59
|
});
|
|
60
60
|
const bodyFont = (0, import_font_inter.createInterFont)({}, {
|
|
61
|
-
sizeSize: (size) => Math.round(size * 1.
|
|
62
|
-
sizeLineHeight: (size) => Math.round(size * 1.1 + (size
|
|
61
|
+
sizeSize: (size) => Math.round(size * 1.1),
|
|
62
|
+
sizeLineHeight: (size) => Math.round(size * 1.1 + (size >= 12 ? 12 : 4))
|
|
63
63
|
});
|
|
64
64
|
const monoFont = (0, import_createGenericFont.createGenericFont)(`"ui-monospace", "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace`);
|
|
65
65
|
const config = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/tamagui.config.ts"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;
|
|
4
|
+
"sourcesContent": ["import { createInterFont } from '@tamagui/font-inter'\nimport { createSilkscreenFont } from '@tamagui/font-silkscreen'\nimport { shorthands } from '@tamagui/shorthands'\nimport { themes, tokens } from '@tamagui/theme-base'\n\nimport { animations } from './animations'\nimport { createGenericFont } from './createGenericFont'\nimport { media } from './media'\n\nconst silkscreenFont = createSilkscreenFont()\nconst headingFont = createInterFont({\n size: {\n 5: 13,\n 6: 15,\n },\n transform: {\n 6: 'uppercase',\n 7: 'none',\n },\n weight: {\n 6: '400',\n 7: '700',\n },\n color: {\n 6: '$colorFocus',\n 7: '$color',\n },\n letterSpacing: {\n 5: 2,\n 6: 1,\n 7: 0,\n 8: 0,\n 9: -1,\n 10: -1,\n 12: -2,\n 14: -3,\n 15: -4,\n },\n})\nconst bodyFont = createInterFont(\n {},\n {\n sizeSize: (size) => Math.round(size * 1.1),\n sizeLineHeight: (size) => Math.round(size * 1.1 + (size >= 12 ? 12 : 4)),\n }\n)\nconst monoFont = createGenericFont(\n `\"ui-monospace\", \"SFMono-Regular\", \"SF Mono\", Menlo, Consolas, \"Liberation Mono\", monospace`\n)\n\nexport const config = {\n defaultTheme: 'light',\n shouldAddPrefersColorThemes: true,\n themeClassNameOnRoot: true,\n animations,\n media,\n shorthands,\n themes,\n tokens,\n fonts: {\n // noto: notoFont as any,\n heading: headingFont,\n body: bodyFont,\n mono: monoFont,\n silkscreen: silkscreenFont,\n },\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,wBAAgC;AAChC,6BAAqC;AACrC,wBAA2B;AAC3B,wBAA+B;AAE/B,wBAA2B;AAC3B,+BAAkC;AAClC,mBAAsB;AAEtB,MAAM,iBAAiB,iDAAqB;AAC5C,MAAM,cAAc,uCAAgB;AAAA,EAClC,MAAM;AAAA,IACJ,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,WAAW;AAAA,IACT,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,QAAQ;AAAA,IACN,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,OAAO;AAAA,IACL,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,eAAe;AAAA,IACb,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EACN;AACF,CAAC;AACD,MAAM,WAAW,uCACf,CAAC,GACD;AAAA,EACE,UAAU,CAAC,SAAS,KAAK,MAAM,OAAO,GAAG;AAAA,EACzC,gBAAgB,CAAC,SAAS,KAAK,MAAM,OAAO,MAAO,SAAQ,KAAK,KAAK,EAAE;AACzE,CACF;AACA,MAAM,WAAW,gDACf,4FACF;AAEO,MAAM,SAAS;AAAA,EACpB,cAAc;AAAA,EACd,6BAA6B;AAAA,EAC7B,sBAAsB;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,OAAO;AAAA,IAEL,SAAS;AAAA,IACT,MAAM;AAAA,IACN,MAAM;AAAA,IACN,YAAY;AAAA,EACd;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -36,8 +36,8 @@ const headingFont = createInterFont({
|
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
38
|
const bodyFont = createInterFont({}, {
|
|
39
|
-
sizeSize: (size) => Math.round(size * 1.
|
|
40
|
-
sizeLineHeight: (size) => Math.round(size * 1.1 + (size
|
|
39
|
+
sizeSize: (size) => Math.round(size * 1.1),
|
|
40
|
+
sizeLineHeight: (size) => Math.round(size * 1.1 + (size >= 12 ? 12 : 4))
|
|
41
41
|
});
|
|
42
42
|
const monoFont = createGenericFont(`"ui-monospace", "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace`);
|
|
43
43
|
const config = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/tamagui.config.ts"],
|
|
4
|
-
"sourcesContent": ["
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import { createInterFont } from '@tamagui/font-inter'\nimport { createSilkscreenFont } from '@tamagui/font-silkscreen'\nimport { shorthands } from '@tamagui/shorthands'\nimport { themes, tokens } from '@tamagui/theme-base'\n\nimport { animations } from './animations'\nimport { createGenericFont } from './createGenericFont'\nimport { media } from './media'\n\nconst silkscreenFont = createSilkscreenFont()\nconst headingFont = createInterFont({\n size: {\n 5: 13,\n 6: 15,\n },\n transform: {\n 6: 'uppercase',\n 7: 'none',\n },\n weight: {\n 6: '400',\n 7: '700',\n },\n color: {\n 6: '$colorFocus',\n 7: '$color',\n },\n letterSpacing: {\n 5: 2,\n 6: 1,\n 7: 0,\n 8: 0,\n 9: -1,\n 10: -1,\n 12: -2,\n 14: -3,\n 15: -4,\n },\n})\nconst bodyFont = createInterFont(\n {},\n {\n sizeSize: (size) => Math.round(size * 1.1),\n sizeLineHeight: (size) => Math.round(size * 1.1 + (size >= 12 ? 12 : 4)),\n }\n)\nconst monoFont = createGenericFont(\n `\"ui-monospace\", \"SFMono-Regular\", \"SF Mono\", Menlo, Consolas, \"Liberation Mono\", monospace`\n)\n\nexport const config = {\n defaultTheme: 'light',\n shouldAddPrefersColorThemes: true,\n themeClassNameOnRoot: true,\n animations,\n media,\n shorthands,\n themes,\n tokens,\n fonts: {\n // noto: notoFont as any,\n heading: headingFont,\n body: bodyFont,\n mono: monoFont,\n silkscreen: silkscreenFont,\n },\n}\n"],
|
|
5
|
+
"mappings": "AAAA;AACA;AACA;AACA;AAEA;AACA;AACA;AAEA,MAAM,iBAAiB,qBAAqB;AAC5C,MAAM,cAAc,gBAAgB;AAAA,EAClC,MAAM;AAAA,IACJ,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,WAAW;AAAA,IACT,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,QAAQ;AAAA,IACN,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,OAAO;AAAA,IACL,GAAG;AAAA,IACH,GAAG;AAAA,EACL;AAAA,EACA,eAAe;AAAA,IACb,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,GAAG;AAAA,IACH,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,IACJ,IAAI;AAAA,EACN;AACF,CAAC;AACD,MAAM,WAAW,gBACf,CAAC,GACD;AAAA,EACE,UAAU,CAAC,SAAS,KAAK,MAAM,OAAO,GAAG;AAAA,EACzC,gBAAgB,CAAC,SAAS,KAAK,MAAM,OAAO,MAAO,SAAQ,KAAK,KAAK,EAAE;AACzE,CACF;AACA,MAAM,WAAW,kBACf,4FACF;AAEO,MAAM,SAAS;AAAA,EACpB,cAAc;AAAA,EACd,6BAA6B;AAAA,EAC7B,sBAAsB;AAAA,EACtB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA,OAAO;AAAA,IAEL,SAAS;AAAA,IACT,MAAM;AAAA,IACN,MAAM;AAAA,IACN,YAAY;AAAA,EACd;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -36,8 +36,8 @@ const headingFont = createInterFont({
|
|
|
36
36
|
}
|
|
37
37
|
});
|
|
38
38
|
const bodyFont = createInterFont({}, {
|
|
39
|
-
sizeSize: (size) => Math.round(size * 1.
|
|
40
|
-
sizeLineHeight: (size) => Math.round(size * 1.1 + (size
|
|
39
|
+
sizeSize: (size) => Math.round(size * 1.1),
|
|
40
|
+
sizeLineHeight: (size) => Math.round(size * 1.1 + (size >= 12 ? 12 : 4))
|
|
41
41
|
});
|
|
42
42
|
const monoFont = createGenericFont(`"ui-monospace", "SFMono-Regular", "SF Mono", Menlo, Consolas, "Liberation Mono", monospace`);
|
|
43
43
|
const config = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/config-base",
|
|
3
|
-
"version": "1.0.1-beta.
|
|
3
|
+
"version": "1.0.1-beta.59",
|
|
4
4
|
"types": "./types/index.d.ts",
|
|
5
5
|
"main": "dist/cjs",
|
|
6
6
|
"module": "dist/esm",
|
|
@@ -16,17 +16,16 @@
|
|
|
16
16
|
"clean:build": "tamagui-build clean:build"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@
|
|
20
|
-
"@tamagui/
|
|
21
|
-
"@tamagui/
|
|
22
|
-
"@tamagui/
|
|
23
|
-
"@tamagui/font-
|
|
24
|
-
"@tamagui/
|
|
25
|
-
"@tamagui/
|
|
26
|
-
"@tamagui/theme-base": "^1.0.1-beta.55"
|
|
19
|
+
"@tamagui/animations-reanimated": "^1.0.1-beta.59",
|
|
20
|
+
"@tamagui/colors": "^1.0.1-beta.59",
|
|
21
|
+
"@tamagui/core": "^1.0.1-beta.59",
|
|
22
|
+
"@tamagui/font-inter": "^1.0.1-beta.59",
|
|
23
|
+
"@tamagui/font-silkscreen": "^1.0.1-beta.59",
|
|
24
|
+
"@tamagui/shorthands": "^1.0.1-beta.59",
|
|
25
|
+
"@tamagui/theme-base": "^1.0.1-beta.59"
|
|
27
26
|
},
|
|
28
27
|
"devDependencies": {
|
|
29
|
-
"@tamagui/build": "^1.0.1-beta.
|
|
28
|
+
"@tamagui/build": "^1.0.1-beta.59"
|
|
30
29
|
},
|
|
31
30
|
"publishConfig": {
|
|
32
31
|
"access": "public"
|