@tamagui/config 3.0.0-beta.1356.1 → 3.0.0-beta.1359.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.
- package/dist/cjs/v5-base.cjs +73 -1
- package/dist/cjs/v5-base.native.cjs +73 -1
- package/dist/cjs/v5-base.native.js +73 -1
- package/dist/cjs/v5-base.native.js.map +1 -1
- package/dist/cjs/v6-base.cjs +4 -1
- package/dist/cjs/v6-base.native.cjs +4 -1
- package/dist/cjs/v6-base.native.js +4 -1
- package/dist/cjs/v6-base.native.js.map +1 -1
- package/dist/esm/v5-base.mjs +73 -2
- package/dist/esm/v5-base.mjs.map +1 -1
- package/dist/esm/v5-base.native.js +73 -2
- package/dist/esm/v5-base.native.js.map +1 -1
- package/dist/esm/v6-base.mjs +4 -2
- package/dist/esm/v6-base.mjs.map +1 -1
- package/dist/esm/v6-base.native.js +4 -2
- package/dist/esm/v6-base.native.js.map +1 -1
- package/package.json +13 -13
- package/src/v5-base.ts +57 -0
- package/src/v6-base.ts +3 -0
- package/types/v5-base.d.ts +72 -0
- package/types/v5-base.d.ts.map +1 -1
- package/types/v6-base.d.ts +47 -0
- package/types/v6-base.d.ts.map +1 -1
- package/types/v6.d.ts +45 -0
- package/types/v6.d.ts.map +1 -1
package/dist/cjs/v5-base.cjs
CHANGED
|
@@ -23,6 +23,7 @@ __export(v5_base_exports, {
|
|
|
23
23
|
breakpoints: () => import_media2.breakpoints,
|
|
24
24
|
createSystemFont: () => import_v5_fonts2.createSystemFont,
|
|
25
25
|
defaultConfig: () => defaultConfig,
|
|
26
|
+
defaultSizing: () => defaultSizing,
|
|
26
27
|
fonts: () => import_v5_fonts2.fonts,
|
|
27
28
|
media: () => import_media2.media,
|
|
28
29
|
mediaQueryDefaultActive: () => import_media2.mediaQueryDefaultActive,
|
|
@@ -42,11 +43,82 @@ var import_v52 = require("@tamagui/themes/v5");
|
|
|
42
43
|
var import_v5_fonts2 = require("./v5-fonts.cjs");
|
|
43
44
|
var import_media2 = require("./media.cjs");
|
|
44
45
|
var import_settings2 = require("./settings.cjs");
|
|
46
|
+
const defaultSizing = {
|
|
47
|
+
default: "md",
|
|
48
|
+
sizes: {
|
|
49
|
+
xs: {
|
|
50
|
+
fontSize: "1",
|
|
51
|
+
controlFontSize: "1",
|
|
52
|
+
paddingInline: "2",
|
|
53
|
+
paddingBlock: "1-5",
|
|
54
|
+
gap: "1-5",
|
|
55
|
+
radius: "1",
|
|
56
|
+
px: {
|
|
57
|
+
height: 24,
|
|
58
|
+
icon: 12,
|
|
59
|
+
square: 17
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
sm: {
|
|
63
|
+
fontSize: "3",
|
|
64
|
+
controlFontSize: "3",
|
|
65
|
+
paddingInline: "3",
|
|
66
|
+
paddingBlock: "2",
|
|
67
|
+
gap: "2",
|
|
68
|
+
radius: "2",
|
|
69
|
+
px: {
|
|
70
|
+
height: 32,
|
|
71
|
+
icon: 16,
|
|
72
|
+
square: 20
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
md: {
|
|
76
|
+
fontSize: "3",
|
|
77
|
+
controlFontSize: "3",
|
|
78
|
+
paddingInline: "3-5",
|
|
79
|
+
paddingBlock: "2",
|
|
80
|
+
gap: "2",
|
|
81
|
+
radius: "2",
|
|
82
|
+
px: {
|
|
83
|
+
height: 36,
|
|
84
|
+
icon: 16,
|
|
85
|
+
square: 22
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
lg: {
|
|
89
|
+
fontSize: "5",
|
|
90
|
+
controlFontSize: "5",
|
|
91
|
+
paddingInline: "5",
|
|
92
|
+
paddingBlock: "2",
|
|
93
|
+
gap: "2",
|
|
94
|
+
radius: "2",
|
|
95
|
+
px: {
|
|
96
|
+
height: 40,
|
|
97
|
+
icon: 16,
|
|
98
|
+
square: 25
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
xl: {
|
|
102
|
+
fontSize: "6",
|
|
103
|
+
controlFontSize: "6",
|
|
104
|
+
paddingInline: "6",
|
|
105
|
+
paddingBlock: "2-5",
|
|
106
|
+
gap: "2-5",
|
|
107
|
+
radius: "3",
|
|
108
|
+
px: {
|
|
109
|
+
height: 48,
|
|
110
|
+
icon: 20,
|
|
111
|
+
square: 28
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
};
|
|
45
116
|
const defaultConfig = {
|
|
46
117
|
media: import_media.media,
|
|
47
118
|
shorthands: import_v4.shorthands,
|
|
48
119
|
themes: import_v5.themes,
|
|
49
120
|
tokens: import_v5.tokens,
|
|
50
121
|
fonts: import_v5_fonts.fonts,
|
|
51
|
-
settings: import_settings.settings
|
|
122
|
+
settings: import_settings.settings,
|
|
123
|
+
sizing: defaultSizing
|
|
52
124
|
};
|
|
@@ -25,6 +25,7 @@ __export(v5_base_exports, {
|
|
|
25
25
|
breakpoints: () => import_media2.breakpoints,
|
|
26
26
|
createSystemFont: () => import_v5_fonts2.createSystemFont,
|
|
27
27
|
defaultConfig: () => defaultConfig,
|
|
28
|
+
defaultSizing: () => defaultSizing,
|
|
28
29
|
fonts: () => import_v5_fonts2.fonts,
|
|
29
30
|
media: () => import_media2.media,
|
|
30
31
|
mediaQueryDefaultActive: () => import_media2.mediaQueryDefaultActive,
|
|
@@ -44,11 +45,82 @@ var import_v52 = require("@tamagui/themes/v5");
|
|
|
44
45
|
var import_v5_fonts2 = require("./v5-fonts.native.js");
|
|
45
46
|
var import_media2 = require("./media.native.js");
|
|
46
47
|
var import_settings2 = require("./settings.native.js");
|
|
48
|
+
var defaultSizing = {
|
|
49
|
+
default: "md",
|
|
50
|
+
sizes: {
|
|
51
|
+
xs: {
|
|
52
|
+
fontSize: "1",
|
|
53
|
+
controlFontSize: "1",
|
|
54
|
+
paddingInline: "2",
|
|
55
|
+
paddingBlock: "1-5",
|
|
56
|
+
gap: "1-5",
|
|
57
|
+
radius: "1",
|
|
58
|
+
px: {
|
|
59
|
+
height: 24,
|
|
60
|
+
icon: 12,
|
|
61
|
+
square: 17
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
sm: {
|
|
65
|
+
fontSize: "3",
|
|
66
|
+
controlFontSize: "3",
|
|
67
|
+
paddingInline: "3",
|
|
68
|
+
paddingBlock: "2",
|
|
69
|
+
gap: "2",
|
|
70
|
+
radius: "2",
|
|
71
|
+
px: {
|
|
72
|
+
height: 32,
|
|
73
|
+
icon: 16,
|
|
74
|
+
square: 20
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
md: {
|
|
78
|
+
fontSize: "3",
|
|
79
|
+
controlFontSize: "3",
|
|
80
|
+
paddingInline: "3-5",
|
|
81
|
+
paddingBlock: "2",
|
|
82
|
+
gap: "2",
|
|
83
|
+
radius: "2",
|
|
84
|
+
px: {
|
|
85
|
+
height: 36,
|
|
86
|
+
icon: 16,
|
|
87
|
+
square: 22
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
lg: {
|
|
91
|
+
fontSize: "5",
|
|
92
|
+
controlFontSize: "5",
|
|
93
|
+
paddingInline: "5",
|
|
94
|
+
paddingBlock: "2",
|
|
95
|
+
gap: "2",
|
|
96
|
+
radius: "2",
|
|
97
|
+
px: {
|
|
98
|
+
height: 40,
|
|
99
|
+
icon: 16,
|
|
100
|
+
square: 25
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
xl: {
|
|
104
|
+
fontSize: "6",
|
|
105
|
+
controlFontSize: "6",
|
|
106
|
+
paddingInline: "6",
|
|
107
|
+
paddingBlock: "2-5",
|
|
108
|
+
gap: "2-5",
|
|
109
|
+
radius: "3",
|
|
110
|
+
px: {
|
|
111
|
+
height: 48,
|
|
112
|
+
icon: 20,
|
|
113
|
+
square: 28
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
};
|
|
47
118
|
var defaultConfig = {
|
|
48
119
|
media: import_media.media,
|
|
49
120
|
shorthands: import_v4.shorthands,
|
|
50
121
|
themes: import_v5.themes,
|
|
51
122
|
tokens: import_v5.tokens,
|
|
52
123
|
fonts: import_v5_fonts.fonts,
|
|
53
|
-
settings: import_settings.settings
|
|
124
|
+
settings: import_settings.settings,
|
|
125
|
+
sizing: defaultSizing
|
|
54
126
|
};
|
|
@@ -25,6 +25,7 @@ __export(v5_base_exports, {
|
|
|
25
25
|
breakpoints: () => import_media2.breakpoints,
|
|
26
26
|
createSystemFont: () => import_v5_fonts2.createSystemFont,
|
|
27
27
|
defaultConfig: () => defaultConfig,
|
|
28
|
+
defaultSizing: () => defaultSizing,
|
|
28
29
|
fonts: () => import_v5_fonts2.fonts,
|
|
29
30
|
media: () => import_media2.media,
|
|
30
31
|
mediaQueryDefaultActive: () => import_media2.mediaQueryDefaultActive,
|
|
@@ -44,13 +45,84 @@ var import_v52 = require("@tamagui/themes/v5");
|
|
|
44
45
|
var import_v5_fonts2 = require("./v5-fonts.native.js");
|
|
45
46
|
var import_media2 = require("./media.native.js");
|
|
46
47
|
var import_settings2 = require("./settings.native.js");
|
|
48
|
+
var defaultSizing = {
|
|
49
|
+
default: "md",
|
|
50
|
+
sizes: {
|
|
51
|
+
xs: {
|
|
52
|
+
fontSize: "1",
|
|
53
|
+
controlFontSize: "1",
|
|
54
|
+
paddingInline: "2",
|
|
55
|
+
paddingBlock: "1-5",
|
|
56
|
+
gap: "1-5",
|
|
57
|
+
radius: "1",
|
|
58
|
+
px: {
|
|
59
|
+
height: 24,
|
|
60
|
+
icon: 12,
|
|
61
|
+
square: 17
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
sm: {
|
|
65
|
+
fontSize: "3",
|
|
66
|
+
controlFontSize: "3",
|
|
67
|
+
paddingInline: "3",
|
|
68
|
+
paddingBlock: "2",
|
|
69
|
+
gap: "2",
|
|
70
|
+
radius: "2",
|
|
71
|
+
px: {
|
|
72
|
+
height: 32,
|
|
73
|
+
icon: 16,
|
|
74
|
+
square: 20
|
|
75
|
+
}
|
|
76
|
+
},
|
|
77
|
+
md: {
|
|
78
|
+
fontSize: "3",
|
|
79
|
+
controlFontSize: "3",
|
|
80
|
+
paddingInline: "3-5",
|
|
81
|
+
paddingBlock: "2",
|
|
82
|
+
gap: "2",
|
|
83
|
+
radius: "2",
|
|
84
|
+
px: {
|
|
85
|
+
height: 36,
|
|
86
|
+
icon: 16,
|
|
87
|
+
square: 22
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
lg: {
|
|
91
|
+
fontSize: "5",
|
|
92
|
+
controlFontSize: "5",
|
|
93
|
+
paddingInline: "5",
|
|
94
|
+
paddingBlock: "2",
|
|
95
|
+
gap: "2",
|
|
96
|
+
radius: "2",
|
|
97
|
+
px: {
|
|
98
|
+
height: 40,
|
|
99
|
+
icon: 16,
|
|
100
|
+
square: 25
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
xl: {
|
|
104
|
+
fontSize: "6",
|
|
105
|
+
controlFontSize: "6",
|
|
106
|
+
paddingInline: "6",
|
|
107
|
+
paddingBlock: "2-5",
|
|
108
|
+
gap: "2-5",
|
|
109
|
+
radius: "3",
|
|
110
|
+
px: {
|
|
111
|
+
height: 48,
|
|
112
|
+
icon: 20,
|
|
113
|
+
square: 28
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
}
|
|
117
|
+
};
|
|
47
118
|
var defaultConfig = {
|
|
48
119
|
media: import_media.media,
|
|
49
120
|
shorthands: import_v4.shorthands,
|
|
50
121
|
themes: import_v5.themes,
|
|
51
122
|
tokens: import_v5.tokens,
|
|
52
123
|
fonts: import_v5_fonts.fonts,
|
|
53
|
-
settings: import_settings.settings
|
|
124
|
+
settings: import_settings.settings,
|
|
125
|
+
sizing: defaultSizing
|
|
54
126
|
};
|
|
55
127
|
|
|
56
128
|
//# sourceMappingURL=v5-base.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v5-base.native.js","names":[],"sources":["cjs/v5-base.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 v5_base_exports = {};\n__export(v5_base_exports, {\n breakpoints: () => import_media2.breakpoints,\n createSystemFont: () => import_v5_fonts2.createSystemFont,\n defaultConfig: () => defaultConfig,\n fonts: () => import_v5_fonts2.fonts,\n media: () => import_media2.media,\n mediaQueryDefaultActive: () => import_media2.mediaQueryDefaultActive,\n selectionStyles: () => import_settings2.selectionStyles,\n settings: () => import_settings2.settings,\n shorthands: () => import_v42.shorthands,\n tokens: () => import_v52.tokens\n});\nmodule.exports = __toCommonJS(v5_base_exports);\nvar import_v4 = require(\"@tamagui/shorthands/v4\");\nvar import_v5 = require(\"@tamagui/themes/v5\");\nvar import_v5_fonts = require(\"./v5-fonts\");\nvar import_media = require(\"./media\");\nvar import_settings = require(\"./settings\");\nvar import_v42 = require(\"@tamagui/shorthands/v4\");\nvar import_v52 = require(\"@tamagui/themes/v5\");\nvar import_v5_fonts2 = require(\"./v5-fonts\");\nvar import_media2 = require(\"./media\");\nvar import_settings2 = require(\"./settings\");\nvar defaultConfig = {\n media: import_media.media,\n shorthands: import_v4.shorthands,\n themes: import_v5.themes,\n tokens: import_v5.tokens,\n fonts: import_v5_fonts.fonts,\n settings: import_settings.settings\n};\n//# sourceMappingURL=v5-base.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAA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IAAI,mBAAmB,QAAQ,sBAAY;AAC3C,IAAI,gBAAgB;CAClB,OAAO,aAAa;CACpB,YAAY,UAAU;CACtB,QAAQ,UAAU;CAClB,QAAQ,UAAU;CAClB,OAAO,gBAAgB;CACvB,UAAU,gBAAgB;
|
|
1
|
+
{"version":3,"file":"v5-base.native.js","names":[],"sources":["cjs/v5-base.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 v5_base_exports = {};\n__export(v5_base_exports, {\n breakpoints: () => import_media2.breakpoints,\n createSystemFont: () => import_v5_fonts2.createSystemFont,\n defaultConfig: () => defaultConfig,\n defaultSizing: () => defaultSizing,\n fonts: () => import_v5_fonts2.fonts,\n media: () => import_media2.media,\n mediaQueryDefaultActive: () => import_media2.mediaQueryDefaultActive,\n selectionStyles: () => import_settings2.selectionStyles,\n settings: () => import_settings2.settings,\n shorthands: () => import_v42.shorthands,\n tokens: () => import_v52.tokens\n});\nmodule.exports = __toCommonJS(v5_base_exports);\nvar import_v4 = require(\"@tamagui/shorthands/v4\");\nvar import_v5 = require(\"@tamagui/themes/v5\");\nvar import_v5_fonts = require(\"./v5-fonts\");\nvar import_media = require(\"./media\");\nvar import_settings = require(\"./settings\");\nvar import_v42 = require(\"@tamagui/shorthands/v4\");\nvar import_v52 = require(\"@tamagui/themes/v5\");\nvar import_v5_fonts2 = require(\"./v5-fonts\");\nvar import_media2 = require(\"./media\");\nvar import_settings2 = require(\"./settings\");\nvar defaultSizing = {\n default: \"md\",\n sizes: {\n xs: {\n fontSize: \"1\",\n controlFontSize: \"1\",\n paddingInline: \"2\",\n paddingBlock: \"1-5\",\n gap: \"1-5\",\n radius: \"1\",\n px: {\n height: 24,\n icon: 12,\n square: 17\n }\n },\n sm: {\n fontSize: \"3\",\n controlFontSize: \"3\",\n paddingInline: \"3\",\n paddingBlock: \"2\",\n gap: \"2\",\n radius: \"2\",\n px: {\n height: 32,\n icon: 16,\n square: 20\n }\n },\n md: {\n fontSize: \"3\",\n controlFontSize: \"3\",\n paddingInline: \"3-5\",\n paddingBlock: \"2\",\n gap: \"2\",\n radius: \"2\",\n px: {\n height: 36,\n icon: 16,\n square: 22\n }\n },\n lg: {\n fontSize: \"5\",\n controlFontSize: \"5\",\n paddingInline: \"5\",\n paddingBlock: \"2\",\n gap: \"2\",\n radius: \"2\",\n px: {\n height: 40,\n icon: 16,\n square: 25\n }\n },\n xl: {\n fontSize: \"6\",\n controlFontSize: \"6\",\n paddingInline: \"6\",\n paddingBlock: \"2-5\",\n gap: \"2-5\",\n radius: \"3\",\n px: {\n height: 48,\n icon: 20,\n square: 28\n }\n }\n }\n};\nvar defaultConfig = {\n media: import_media.media,\n shorthands: import_v4.shorthands,\n themes: import_v5.themes,\n tokens: import_v5.tokens,\n fonts: import_v5_fonts.fonts,\n settings: import_settings.settings,\n sizing: defaultSizing\n};\n//# sourceMappingURL=v5-base.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,IAA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AAQ;GACV;EACF;EACA,IAAI;GACF,UAAU;GACV,iBAAiB;GACjB,eAAe;GACf,cAAc;GACd,KAAK;GACL,QAAQ;GACR,IAAI;IACF,QAAQ;IACR,MAAM;IACN,QAAQ;GACV;EACF;EACA,IAAI;GACF,UAAU;GACV,iBAAiB;GACjB,eAAe;GACf,cAAc;GACd,KAAK;GACL,QAAQ;GACR,IAAI;IACF,QAAQ;IACR,MAAM;IACN,QAAQ;GACV;EACF;EACA,IAAI;GACF,UAAU;GACV,iBAAiB;GACjB,eAAe;GACf,cAAc;GACd,KAAK;GACL,QAAQ;GACR,IAAI;IACF,QAAQ;IACR,MAAM;IACN,QAAQ;GACV;EACF;EACA,IAAI;GACF,UAAU;GACV,iBAAiB;GACjB,eAAe;GACf,cAAc;GACd,KAAK;GACL,QAAQ;GACR,IAAI;IACF,QAAQ;IACR,MAAM;IACN,QAAQ;GACV;EACF;CACF;AACF;AACA,IAAI,gBAAgB;CAClB,OAAO,aAAa;CACpB,YAAY,UAAU;CACtB,QAAQ,UAAU;CAClB,QAAQ,UAAU;CAClB,OAAO,gBAAgB;CACvB,UAAU,gBAAgB;CAC1B,QAAQ;AACV"}
|
package/dist/cjs/v6-base.cjs
CHANGED
|
@@ -23,6 +23,7 @@ __export(v6_base_exports, {
|
|
|
23
23
|
breakpoints: () => import_media2.breakpoints,
|
|
24
24
|
createSystemFont: () => import_fonts2.createSystemFont,
|
|
25
25
|
createV6Config: () => createV6Config,
|
|
26
|
+
defaultSizing: () => import_web.defaultSizing,
|
|
26
27
|
fonts: () => fonts,
|
|
27
28
|
media: () => import_media2.media,
|
|
28
29
|
mediaQueryDefaultActive: () => import_media2.mediaQueryDefaultActive,
|
|
@@ -38,6 +39,7 @@ __export(v6_base_exports, {
|
|
|
38
39
|
});
|
|
39
40
|
module.exports = __toCommonJS(v6_base_exports);
|
|
40
41
|
var import_v6 = require("@tamagui/shorthands/v6");
|
|
42
|
+
var import_web = require("@tamagui/web");
|
|
41
43
|
var import_fonts = require("./fonts.cjs");
|
|
42
44
|
var import_media = require("./media.cjs");
|
|
43
45
|
var import_settings = require("./settings.cjs");
|
|
@@ -200,7 +202,8 @@ const alignedConfig = {
|
|
|
200
202
|
media: import_media.media,
|
|
201
203
|
shorthands: import_v6.shorthands,
|
|
202
204
|
fonts,
|
|
203
|
-
settings
|
|
205
|
+
settings,
|
|
206
|
+
sizing: import_web.defaultSizing
|
|
204
207
|
};
|
|
205
208
|
function createV6Config(colors) {
|
|
206
209
|
return {
|
|
@@ -25,6 +25,7 @@ __export(v6_base_exports, {
|
|
|
25
25
|
breakpoints: () => import_media2.breakpoints,
|
|
26
26
|
createSystemFont: () => import_fonts2.createSystemFont,
|
|
27
27
|
createV6Config: () => createV6Config,
|
|
28
|
+
defaultSizing: () => import_web.defaultSizing,
|
|
28
29
|
fonts: () => fonts,
|
|
29
30
|
media: () => import_media2.media,
|
|
30
31
|
mediaQueryDefaultActive: () => import_media2.mediaQueryDefaultActive,
|
|
@@ -40,6 +41,7 @@ __export(v6_base_exports, {
|
|
|
40
41
|
});
|
|
41
42
|
module.exports = __toCommonJS(v6_base_exports);
|
|
42
43
|
var import_v6 = require("@tamagui/shorthands/v6");
|
|
44
|
+
var import_web = require("@tamagui/web");
|
|
43
45
|
var import_fonts = require("./fonts.native.js");
|
|
44
46
|
var import_media = require("./media.native.js");
|
|
45
47
|
var import_settings = require("./settings.native.js");
|
|
@@ -205,7 +207,8 @@ var alignedConfig = {
|
|
|
205
207
|
media: import_media.media,
|
|
206
208
|
shorthands: import_v6.shorthands,
|
|
207
209
|
fonts,
|
|
208
|
-
settings
|
|
210
|
+
settings,
|
|
211
|
+
sizing: import_web.defaultSizing
|
|
209
212
|
};
|
|
210
213
|
function createV6Config(colors) {
|
|
211
214
|
return {
|
|
@@ -25,6 +25,7 @@ __export(v6_base_exports, {
|
|
|
25
25
|
breakpoints: () => import_media2.breakpoints,
|
|
26
26
|
createSystemFont: () => import_fonts2.createSystemFont,
|
|
27
27
|
createV6Config: () => createV6Config,
|
|
28
|
+
defaultSizing: () => import_web.defaultSizing,
|
|
28
29
|
fonts: () => fonts,
|
|
29
30
|
media: () => import_media2.media,
|
|
30
31
|
mediaQueryDefaultActive: () => import_media2.mediaQueryDefaultActive,
|
|
@@ -40,6 +41,7 @@ __export(v6_base_exports, {
|
|
|
40
41
|
});
|
|
41
42
|
module.exports = __toCommonJS(v6_base_exports);
|
|
42
43
|
var import_v6 = require("@tamagui/shorthands/v6");
|
|
44
|
+
var import_web = require("@tamagui/web");
|
|
43
45
|
var import_fonts = require("./fonts.native.js");
|
|
44
46
|
var import_media = require("./media.native.js");
|
|
45
47
|
var import_settings = require("./settings.native.js");
|
|
@@ -205,7 +207,8 @@ var alignedConfig = {
|
|
|
205
207
|
media: import_media.media,
|
|
206
208
|
shorthands: import_v6.shorthands,
|
|
207
209
|
fonts,
|
|
208
|
-
settings
|
|
210
|
+
settings,
|
|
211
|
+
sizing: import_web.defaultSizing
|
|
209
212
|
};
|
|
210
213
|
function createV6Config(colors) {
|
|
211
214
|
return {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v6-base.native.js","names":[],"sources":["cjs/v6-base.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 v6_base_exports = {};\n__export(v6_base_exports, {\n breakpoints: () => import_media2.breakpoints,\n createSystemFont: () => import_fonts2.createSystemFont,\n createV6Config: () => createV6Config,\n fonts: () => fonts,\n media: () => import_media2.media,\n mediaQueryDefaultActive: () => import_media2.mediaQueryDefaultActive,\n selectionStyles: () => selectionStyles,\n settings: () => settings,\n shorthands: () => import_v6.shorthands,\n tailwindSource: () => import_v6_tailwind_scales2.tailwindSource,\n toV6Themes: () => import_v6_themes2.toV6Themes,\n tokens: () => tokens,\n v6RemovedThemeNames: () => import_v6_themes.v6RemovedThemeNames,\n v6ThemeNameReplacements: () => import_v6_themes.v6ThemeNameReplacements,\n withTailwindTypeScale: () => withTailwindTypeScale\n});\nmodule.exports = __toCommonJS(v6_base_exports);\nvar import_v6 = require(\"@tamagui/shorthands/v6\");\nvar import_fonts = require(\"./fonts\");\nvar import_media = require(\"./media\");\nvar import_settings = require(\"./settings\");\nvar import_v6_tailwind_scales = require(\"./v6-tailwind-scales.generated\");\nvar import_v6_themes = require(\"@tamagui/style-grammar/v6-themes\");\nvar import_fonts2 = require(\"./fonts\");\nvar import_media2 = require(\"./media\");\nvar import_v6_tailwind_scales2 = require(\"./v6-tailwind-scales.generated\");\nvar import_v6_themes2 = require(\"./v6-themes\");\nvar tailwindContainerSize = {\n \"3xs\": 256,\n \"2xs\": 288,\n xs: 320,\n sm: 384,\n md: 448,\n lg: 512,\n xl: 576,\n \"2xl\": 672,\n \"3xl\": 768,\n \"4xl\": 896,\n \"5xl\": 1024,\n \"6xl\": 1152,\n \"7xl\": 1280\n};\nvar tokens = {\n space: import_v6_tailwind_scales.tailwindSpace,\n size: import_v6_tailwind_scales.tailwindSize,\n width: {\n ...import_v6_tailwind_scales.tailwindSize,\n ...tailwindContainerSize\n },\n minWidth: {\n ...import_v6_tailwind_scales.tailwindSize,\n ...tailwindContainerSize\n },\n maxWidth: {\n ...import_v6_tailwind_scales.tailwindSize,\n ...tailwindContainerSize\n },\n inlineSize: {\n ...import_v6_tailwind_scales.tailwindSize,\n ...tailwindContainerSize\n },\n minInlineSize: {\n ...import_v6_tailwind_scales.tailwindSize,\n ...tailwindContainerSize\n },\n maxInlineSize: {\n ...import_v6_tailwind_scales.tailwindSize,\n ...tailwindContainerSize\n },\n flexBasis: {\n ...import_v6_tailwind_scales.tailwindSize,\n ...tailwindContainerSize\n },\n outlineWidth: {\n 0: 0,\n 1: 1,\n 2: 2,\n 4: 4,\n 8: 8\n },\n outlineOffset: {\n 0: 0,\n 1: 1,\n 2: 2,\n 4: 4,\n 8: 8,\n \"-1\": -1,\n \"-2\": -2,\n \"-4\": -4,\n \"-8\": -8\n },\n boxShadow: {\n \"2xs\": \"0 1px rgb(0 0 0 / 0.05)\",\n xs: \"0 1px 2px 0 rgb(0 0 0 / 0.05)\",\n sm: \"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)\",\n md: \"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)\",\n lg: \"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)\",\n xl: \"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)\",\n \"2xl\": \"0 25px 50px -12px rgb(0 0 0 / 0.25)\"\n },\n perspective: {\n dramatic: 100,\n near: 300,\n normal: 500,\n midrange: 800,\n distant: 1200\n },\n radius: {\n 0: 0,\n 1: 3,\n 2: 5,\n 3: 7,\n 4: 9,\n 5: 10,\n 6: 16,\n 7: 19,\n 8: 22,\n 9: 26,\n 10: 34,\n 11: 42,\n 12: 50,\n ...import_v6_tailwind_scales.tailwindRadius\n }\n};\nfunction withTailwindTypeScale(font) {\n return {\n ...font,\n size: {\n ...font.size,\n ...import_v6_tailwind_scales.tailwindFontSize\n },\n lineHeight: {\n ...font.lineHeight,\n ...import_v6_tailwind_scales.tailwindLineHeight\n }\n };\n}\nvar fonts = {\n body: withTailwindTypeScale(import_fonts.fonts.body),\n heading: withTailwindTypeScale(import_fonts.fonts.heading)\n};\nvar selectionStyles = function(theme) {\n return theme[\"color-5\"] ? {\n backgroundColor: theme[\"color-5\"],\n color: theme[\"color-11\"]\n } : null;\n};\nvar settings = {\n ...import_settings.settings,\n selectionStyles\n};\nfunction themesWithColorScales(themes, scales) {\n var _loop = function(name2) {\n var scale = scales[name2];\n if (scale.light.length !== 12 || scale.dark.length !== 12) {\n throw new Error(`color scale \"${name2}\" needs exactly 12 light and 12 dark values, got ${scale.light.length}/${scale.dark.length}`);\n }\n scale.light.forEach(function(value, index) {\n light[`${name2}-${index + 1}`] = value;\n });\n scale.dark.forEach(function(value, index) {\n dark[`${name2}-${index + 1}`] = value;\n });\n };\n var light = {};\n var dark = {};\n for (var name in scales) _loop(name);\n return {\n ...themes,\n light: {\n ...themes.light,\n ...light\n },\n dark: {\n ...themes.dark,\n ...dark\n }\n };\n}\nvar alignedConfig = {\n media: import_media.media,\n shorthands: import_v6.shorthands,\n fonts,\n settings\n};\nfunction createV6Config(colors) {\n return {\n ...alignedConfig,\n themes: colors.scales ? themesWithColorScales(colors.themes, colors.scales) : colors.themes,\n tokens: colors.colorTokens ? {\n ...tokens,\n color: colors.colorTokens\n } : tokens\n };\n}\n//# sourceMappingURL=v6-base.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,QACz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CACb,GAAG,gBAAgB;CACnB;AACF;AACA,SAAS,sBAAsB,QAAQ,QAAQ;CAC7C,IAAI,QAAQ,SAAS,OAAO;EAC1B,IAAI,QAAQ,OAAO;EACnB,IAAI,MAAM,MAAM,WAAW,MAAM,MAAM,KAAK,WAAW,IAAI;GACzD,MAAM,IAAI,MAAM,gBAAgB,MAAM,mDAAmD,MAAM,MAAM,OAAO,GAAG,MAAM,KAAK,QAAQ;EACpI;EACA,MAAM,MAAM,QAAQ,SAAS,OAAO,OAAO;GACzC,MAAM,GAAG,MAAM,GAAG,QAAQ,OAAO;EACnC,CAAC;EACD,MAAM,KAAK,QAAQ,SAAS,OAAO,OAAO;GACxC,KAAK,GAAG,MAAM,GAAG,QAAQ,OAAO;EAClC,CAAC;CACH;CACA,IAAI,QAAQ,CAAC;CACb,IAAI,OAAO,CAAC;CACZ,KAAK,IAAI,QAAQ,QAAQ,MAAM,IAAI;CACnC,OAAO;EACL,GAAG;EACH,OAAO;GACL,GAAG,OAAO;GACV,GAAG;EACL;EACA,MAAM;GACJ,GAAG,OAAO;GACV,GAAG;EACL;CACF;AACF;AACA,IAAI,gBAAgB;CAClB,OAAO,aAAa;CACpB,YAAY,UAAU;CACtB;CACA;
|
|
1
|
+
{"version":3,"file":"v6-base.native.js","names":[],"sources":["cjs/v6-base.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 v6_base_exports = {};\n__export(v6_base_exports, {\n breakpoints: () => import_media2.breakpoints,\n createSystemFont: () => import_fonts2.createSystemFont,\n createV6Config: () => createV6Config,\n defaultSizing: () => import_web.defaultSizing,\n fonts: () => fonts,\n media: () => import_media2.media,\n mediaQueryDefaultActive: () => import_media2.mediaQueryDefaultActive,\n selectionStyles: () => selectionStyles,\n settings: () => settings,\n shorthands: () => import_v6.shorthands,\n tailwindSource: () => import_v6_tailwind_scales2.tailwindSource,\n toV6Themes: () => import_v6_themes2.toV6Themes,\n tokens: () => tokens,\n v6RemovedThemeNames: () => import_v6_themes.v6RemovedThemeNames,\n v6ThemeNameReplacements: () => import_v6_themes.v6ThemeNameReplacements,\n withTailwindTypeScale: () => withTailwindTypeScale\n});\nmodule.exports = __toCommonJS(v6_base_exports);\nvar import_v6 = require(\"@tamagui/shorthands/v6\");\nvar import_web = require(\"@tamagui/web\");\nvar import_fonts = require(\"./fonts\");\nvar import_media = require(\"./media\");\nvar import_settings = require(\"./settings\");\nvar import_v6_tailwind_scales = require(\"./v6-tailwind-scales.generated\");\nvar import_v6_themes = require(\"@tamagui/style-grammar/v6-themes\");\nvar import_fonts2 = require(\"./fonts\");\nvar import_media2 = require(\"./media\");\nvar import_v6_tailwind_scales2 = require(\"./v6-tailwind-scales.generated\");\nvar import_v6_themes2 = require(\"./v6-themes\");\nvar tailwindContainerSize = {\n \"3xs\": 256,\n \"2xs\": 288,\n xs: 320,\n sm: 384,\n md: 448,\n lg: 512,\n xl: 576,\n \"2xl\": 672,\n \"3xl\": 768,\n \"4xl\": 896,\n \"5xl\": 1024,\n \"6xl\": 1152,\n \"7xl\": 1280\n};\nvar tokens = {\n space: import_v6_tailwind_scales.tailwindSpace,\n size: import_v6_tailwind_scales.tailwindSize,\n width: {\n ...import_v6_tailwind_scales.tailwindSize,\n ...tailwindContainerSize\n },\n minWidth: {\n ...import_v6_tailwind_scales.tailwindSize,\n ...tailwindContainerSize\n },\n maxWidth: {\n ...import_v6_tailwind_scales.tailwindSize,\n ...tailwindContainerSize\n },\n inlineSize: {\n ...import_v6_tailwind_scales.tailwindSize,\n ...tailwindContainerSize\n },\n minInlineSize: {\n ...import_v6_tailwind_scales.tailwindSize,\n ...tailwindContainerSize\n },\n maxInlineSize: {\n ...import_v6_tailwind_scales.tailwindSize,\n ...tailwindContainerSize\n },\n flexBasis: {\n ...import_v6_tailwind_scales.tailwindSize,\n ...tailwindContainerSize\n },\n outlineWidth: {\n 0: 0,\n 1: 1,\n 2: 2,\n 4: 4,\n 8: 8\n },\n outlineOffset: {\n 0: 0,\n 1: 1,\n 2: 2,\n 4: 4,\n 8: 8,\n \"-1\": -1,\n \"-2\": -2,\n \"-4\": -4,\n \"-8\": -8\n },\n boxShadow: {\n \"2xs\": \"0 1px rgb(0 0 0 / 0.05)\",\n xs: \"0 1px 2px 0 rgb(0 0 0 / 0.05)\",\n sm: \"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)\",\n md: \"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)\",\n lg: \"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)\",\n xl: \"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)\",\n \"2xl\": \"0 25px 50px -12px rgb(0 0 0 / 0.25)\"\n },\n perspective: {\n dramatic: 100,\n near: 300,\n normal: 500,\n midrange: 800,\n distant: 1200\n },\n radius: {\n 0: 0,\n 1: 3,\n 2: 5,\n 3: 7,\n 4: 9,\n 5: 10,\n 6: 16,\n 7: 19,\n 8: 22,\n 9: 26,\n 10: 34,\n 11: 42,\n 12: 50,\n ...import_v6_tailwind_scales.tailwindRadius\n }\n};\nfunction withTailwindTypeScale(font) {\n return {\n ...font,\n size: {\n ...font.size,\n ...import_v6_tailwind_scales.tailwindFontSize\n },\n lineHeight: {\n ...font.lineHeight,\n ...import_v6_tailwind_scales.tailwindLineHeight\n }\n };\n}\nvar fonts = {\n body: withTailwindTypeScale(import_fonts.fonts.body),\n heading: withTailwindTypeScale(import_fonts.fonts.heading)\n};\nvar selectionStyles = function(theme) {\n return theme[\"color-5\"] ? {\n backgroundColor: theme[\"color-5\"],\n color: theme[\"color-11\"]\n } : null;\n};\nvar settings = {\n ...import_settings.settings,\n selectionStyles\n};\nfunction themesWithColorScales(themes, scales) {\n var _loop = function(name2) {\n var scale = scales[name2];\n if (scale.light.length !== 12 || scale.dark.length !== 12) {\n throw new Error(`color scale \"${name2}\" needs exactly 12 light and 12 dark values, got ${scale.light.length}/${scale.dark.length}`);\n }\n scale.light.forEach(function(value, index) {\n light[`${name2}-${index + 1}`] = value;\n });\n scale.dark.forEach(function(value, index) {\n dark[`${name2}-${index + 1}`] = value;\n });\n };\n var light = {};\n var dark = {};\n for (var name in scales) _loop(name);\n return {\n ...themes,\n light: {\n ...themes.light,\n ...light\n },\n dark: {\n ...themes.dark,\n ...dark\n }\n };\n}\nvar alignedConfig = {\n media: import_media.media,\n shorthands: import_v6.shorthands,\n fonts,\n settings,\n sizing: import_web.defaultSizing\n};\nfunction createV6Config(colors) {\n return {\n ...alignedConfig,\n themes: colors.scales ? themesWithColorScales(colors.themes, colors.scales) : colors.themes,\n tokens: colors.colorTokens ? {\n ...tokens,\n color: colors.colorTokens\n } : tokens\n };\n}\n//# sourceMappingURL=v6-base.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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 +4,85 @@ import { createSystemFont, fonts, fonts as fonts2 } from "./v5-fonts.mjs";
|
|
|
4
4
|
import { breakpoints, media, media as media2, mediaQueryDefaultActive } from "./media.mjs";
|
|
5
5
|
import { selectionStyles as selectionStyles2, settings, settings as settings2 } from "./settings.mjs";
|
|
6
6
|
|
|
7
|
+
const defaultSizing = {
|
|
8
|
+
default: "md",
|
|
9
|
+
sizes: {
|
|
10
|
+
xs: {
|
|
11
|
+
fontSize: "1",
|
|
12
|
+
controlFontSize: "1",
|
|
13
|
+
paddingInline: "2",
|
|
14
|
+
paddingBlock: "1-5",
|
|
15
|
+
gap: "1-5",
|
|
16
|
+
radius: "1",
|
|
17
|
+
px: {
|
|
18
|
+
height: 24,
|
|
19
|
+
icon: 12,
|
|
20
|
+
square: 17
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
sm: {
|
|
24
|
+
fontSize: "3",
|
|
25
|
+
controlFontSize: "3",
|
|
26
|
+
paddingInline: "3",
|
|
27
|
+
paddingBlock: "2",
|
|
28
|
+
gap: "2",
|
|
29
|
+
radius: "2",
|
|
30
|
+
px: {
|
|
31
|
+
height: 32,
|
|
32
|
+
icon: 16,
|
|
33
|
+
square: 20
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
md: {
|
|
37
|
+
fontSize: "3",
|
|
38
|
+
controlFontSize: "3",
|
|
39
|
+
paddingInline: "3-5",
|
|
40
|
+
paddingBlock: "2",
|
|
41
|
+
gap: "2",
|
|
42
|
+
radius: "2",
|
|
43
|
+
px: {
|
|
44
|
+
height: 36,
|
|
45
|
+
icon: 16,
|
|
46
|
+
square: 22
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
lg: {
|
|
50
|
+
fontSize: "5",
|
|
51
|
+
controlFontSize: "5",
|
|
52
|
+
paddingInline: "5",
|
|
53
|
+
paddingBlock: "2",
|
|
54
|
+
gap: "2",
|
|
55
|
+
radius: "2",
|
|
56
|
+
px: {
|
|
57
|
+
height: 40,
|
|
58
|
+
icon: 16,
|
|
59
|
+
square: 25
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
xl: {
|
|
63
|
+
fontSize: "6",
|
|
64
|
+
controlFontSize: "6",
|
|
65
|
+
paddingInline: "6",
|
|
66
|
+
paddingBlock: "2-5",
|
|
67
|
+
gap: "2-5",
|
|
68
|
+
radius: "3",
|
|
69
|
+
px: {
|
|
70
|
+
height: 48,
|
|
71
|
+
icon: 20,
|
|
72
|
+
square: 28
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
};
|
|
7
77
|
const defaultConfig = {
|
|
8
78
|
media,
|
|
9
79
|
shorthands,
|
|
10
80
|
themes,
|
|
11
81
|
tokens,
|
|
12
82
|
fonts,
|
|
13
|
-
settings
|
|
83
|
+
settings,
|
|
84
|
+
sizing: defaultSizing
|
|
14
85
|
};
|
|
15
86
|
|
|
16
|
-
export { breakpoints, createSystemFont, defaultConfig, fonts2 as fonts, media2 as media, mediaQueryDefaultActive, selectionStyles2 as selectionStyles, settings2 as settings, shorthands2 as shorthands, tokens2 as tokens };
|
|
87
|
+
export { breakpoints, createSystemFont, defaultConfig, defaultSizing, fonts2 as fonts, media2 as media, mediaQueryDefaultActive, selectionStyles2 as selectionStyles, settings2 as settings, shorthands2 as shorthands, tokens2 as tokens };
|
|
17
88
|
//# sourceMappingURL=v5-base.mjs.map
|
package/dist/esm/v5-base.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v5-base.js","names":[],"sources":["esm/v5-base.js"],"sourcesContent":["import { shorthands } from \"@tamagui/shorthands/v4\";\nimport { themes, tokens } from \"@tamagui/themes/v5\";\nimport { fonts } from \"./v5-fonts\";\nimport { media } from \"./media\";\nimport { settings } from \"./settings\";\nimport { shorthands as shorthands2 } from \"@tamagui/shorthands/v4\";\nimport {\n tokens as tokens2\n} from \"@tamagui/themes/v5\";\nimport { createSystemFont, fonts as fonts2 } from \"./v5-fonts\";\nimport { breakpoints, media as media2, mediaQueryDefaultActive } from \"./media\";\nimport { selectionStyles as selectionStyles2, settings as settings2 } from \"./settings\";\nconst defaultConfig = {\n media,\n shorthands,\n themes,\n tokens,\n fonts,\n settings\n};\nexport {\n breakpoints,\n createSystemFont,\n defaultConfig,\n fonts2 as fonts,\n media2 as media,\n mediaQueryDefaultActive,\n selectionStyles2 as selectionStyles,\n settings2 as settings,\n shorthands2 as shorthands,\n tokens2 as tokens\n};\n//# sourceMappingURL=v5-base.js.map\n"],"mappings":";;;;;;;AAYA,MAAM,gBAAgB;CACpB;CACA;CACA;CACA;CACA;CACA;
|
|
1
|
+
{"version":3,"file":"v5-base.js","names":[],"sources":["esm/v5-base.js"],"sourcesContent":["import { shorthands } from \"@tamagui/shorthands/v4\";\nimport { themes, tokens } from \"@tamagui/themes/v5\";\nimport { fonts } from \"./v5-fonts\";\nimport { media } from \"./media\";\nimport { settings } from \"./settings\";\nimport { shorthands as shorthands2 } from \"@tamagui/shorthands/v4\";\nimport {\n tokens as tokens2\n} from \"@tamagui/themes/v5\";\nimport { createSystemFont, fonts as fonts2 } from \"./v5-fonts\";\nimport { breakpoints, media as media2, mediaQueryDefaultActive } from \"./media\";\nimport { selectionStyles as selectionStyles2, settings as settings2 } from \"./settings\";\nconst defaultSizing = {\n default: \"md\",\n sizes: {\n xs: {\n fontSize: \"1\",\n controlFontSize: \"1\",\n paddingInline: \"2\",\n paddingBlock: \"1-5\",\n gap: \"1-5\",\n radius: \"1\",\n px: { height: 24, icon: 12, square: 17 }\n },\n sm: {\n fontSize: \"3\",\n controlFontSize: \"3\",\n paddingInline: \"3\",\n paddingBlock: \"2\",\n gap: \"2\",\n radius: \"2\",\n px: { height: 32, icon: 16, square: 20 }\n },\n md: {\n fontSize: \"3\",\n controlFontSize: \"3\",\n paddingInline: \"3-5\",\n paddingBlock: \"2\",\n gap: \"2\",\n radius: \"2\",\n px: { height: 36, icon: 16, square: 22 }\n },\n lg: {\n fontSize: \"5\",\n controlFontSize: \"5\",\n paddingInline: \"5\",\n paddingBlock: \"2\",\n gap: \"2\",\n radius: \"2\",\n px: { height: 40, icon: 16, square: 25 }\n },\n xl: {\n fontSize: \"6\",\n controlFontSize: \"6\",\n paddingInline: \"6\",\n paddingBlock: \"2-5\",\n gap: \"2-5\",\n radius: \"3\",\n px: { height: 48, icon: 20, square: 28 }\n }\n }\n};\nconst defaultConfig = {\n media,\n shorthands,\n themes,\n tokens,\n fonts,\n settings,\n sizing: defaultSizing\n};\nexport {\n breakpoints,\n createSystemFont,\n defaultConfig,\n defaultSizing,\n fonts2 as fonts,\n media2 as media,\n mediaQueryDefaultActive,\n selectionStyles2 as selectionStyles,\n settings2 as settings,\n shorthands2 as shorthands,\n tokens2 as tokens\n};\n//# sourceMappingURL=v5-base.js.map\n"],"mappings":";;;;;;;AAYA,MAAM,gBAAgB;CACpB,SAAS;CACT,OAAO;EACL,IAAI;GACF,UAAU;GACV,iBAAiB;GACjB,eAAe;GACf,cAAc;GACd,KAAK;GACL,QAAQ;GACR,IAAI;IAAE,QAAQ;IAAI,MAAM;IAAI,QAAQ;GAAG;EACzC;EACA,IAAI;GACF,UAAU;GACV,iBAAiB;GACjB,eAAe;GACf,cAAc;GACd,KAAK;GACL,QAAQ;GACR,IAAI;IAAE,QAAQ;IAAI,MAAM;IAAI,QAAQ;GAAG;EACzC;EACA,IAAI;GACF,UAAU;GACV,iBAAiB;GACjB,eAAe;GACf,cAAc;GACd,KAAK;GACL,QAAQ;GACR,IAAI;IAAE,QAAQ;IAAI,MAAM;IAAI,QAAQ;GAAG;EACzC;EACA,IAAI;GACF,UAAU;GACV,iBAAiB;GACjB,eAAe;GACf,cAAc;GACd,KAAK;GACL,QAAQ;GACR,IAAI;IAAE,QAAQ;IAAI,MAAM;IAAI,QAAQ;GAAG;EACzC;EACA,IAAI;GACF,UAAU;GACV,iBAAiB;GACjB,eAAe;GACf,cAAc;GACd,KAAK;GACL,QAAQ;GACR,IAAI;IAAE,QAAQ;IAAI,MAAM;IAAI,QAAQ;GAAG;EACzC;CACF;AACF;AACA,MAAM,gBAAgB;CACpB;CACA;CACA;CACA;CACA;CACA;CACA,QAAQ;AACV"}
|
|
@@ -4,14 +4,85 @@ import { createSystemFont, fonts, fonts as fonts2 } from "./v5-fonts.native.js";
|
|
|
4
4
|
import { breakpoints, media, media as media2, mediaQueryDefaultActive } from "./media.native.js";
|
|
5
5
|
import { selectionStyles, settings, settings as settings2 } from "./settings.native.js";
|
|
6
6
|
|
|
7
|
+
var defaultSizing = {
|
|
8
|
+
default: "md",
|
|
9
|
+
sizes: {
|
|
10
|
+
xs: {
|
|
11
|
+
fontSize: "1",
|
|
12
|
+
controlFontSize: "1",
|
|
13
|
+
paddingInline: "2",
|
|
14
|
+
paddingBlock: "1-5",
|
|
15
|
+
gap: "1-5",
|
|
16
|
+
radius: "1",
|
|
17
|
+
px: {
|
|
18
|
+
height: 24,
|
|
19
|
+
icon: 12,
|
|
20
|
+
square: 17
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
sm: {
|
|
24
|
+
fontSize: "3",
|
|
25
|
+
controlFontSize: "3",
|
|
26
|
+
paddingInline: "3",
|
|
27
|
+
paddingBlock: "2",
|
|
28
|
+
gap: "2",
|
|
29
|
+
radius: "2",
|
|
30
|
+
px: {
|
|
31
|
+
height: 32,
|
|
32
|
+
icon: 16,
|
|
33
|
+
square: 20
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
md: {
|
|
37
|
+
fontSize: "3",
|
|
38
|
+
controlFontSize: "3",
|
|
39
|
+
paddingInline: "3-5",
|
|
40
|
+
paddingBlock: "2",
|
|
41
|
+
gap: "2",
|
|
42
|
+
radius: "2",
|
|
43
|
+
px: {
|
|
44
|
+
height: 36,
|
|
45
|
+
icon: 16,
|
|
46
|
+
square: 22
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
lg: {
|
|
50
|
+
fontSize: "5",
|
|
51
|
+
controlFontSize: "5",
|
|
52
|
+
paddingInline: "5",
|
|
53
|
+
paddingBlock: "2",
|
|
54
|
+
gap: "2",
|
|
55
|
+
radius: "2",
|
|
56
|
+
px: {
|
|
57
|
+
height: 40,
|
|
58
|
+
icon: 16,
|
|
59
|
+
square: 25
|
|
60
|
+
}
|
|
61
|
+
},
|
|
62
|
+
xl: {
|
|
63
|
+
fontSize: "6",
|
|
64
|
+
controlFontSize: "6",
|
|
65
|
+
paddingInline: "6",
|
|
66
|
+
paddingBlock: "2-5",
|
|
67
|
+
gap: "2-5",
|
|
68
|
+
radius: "3",
|
|
69
|
+
px: {
|
|
70
|
+
height: 48,
|
|
71
|
+
icon: 20,
|
|
72
|
+
square: 28
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
};
|
|
7
77
|
var defaultConfig = {
|
|
8
78
|
media,
|
|
9
79
|
shorthands,
|
|
10
80
|
themes,
|
|
11
81
|
tokens,
|
|
12
82
|
fonts,
|
|
13
|
-
settings
|
|
83
|
+
settings,
|
|
84
|
+
sizing: defaultSizing
|
|
14
85
|
};
|
|
15
86
|
|
|
16
|
-
export { breakpoints, createSystemFont, defaultConfig, fonts2 as fonts, media2 as media, mediaQueryDefaultActive, selectionStyles, settings2 as settings, shorthands2 as shorthands, tokens2 as tokens };
|
|
87
|
+
export { breakpoints, createSystemFont, defaultConfig, defaultSizing, fonts2 as fonts, media2 as media, mediaQueryDefaultActive, selectionStyles, settings2 as settings, shorthands2 as shorthands, tokens2 as tokens };
|
|
17
88
|
//# sourceMappingURL=v5-base.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v5-base.native.js","names":[],"sources":["esm/v5-base.native.js"],"sourcesContent":["import { shorthands } from \"@tamagui/shorthands/v4\";\nimport { themes, tokens } from \"@tamagui/themes/v5\";\nimport { fonts } from \"./v5-fonts\";\nimport { media } from \"./media\";\nimport { settings } from \"./settings\";\nimport { shorthands as shorthands2 } from \"@tamagui/shorthands/v4\";\nimport { tokens as tokens2 } from \"@tamagui/themes/v5\";\nimport { createSystemFont, fonts as fonts2 } from \"./v5-fonts\";\nimport { breakpoints, media as media2, mediaQueryDefaultActive } from \"./media\";\nimport { selectionStyles, settings as settings2 } from \"./settings\";\nvar defaultConfig = {\n media,\n shorthands,\n themes,\n tokens,\n fonts,\n settings\n};\nexport {\n breakpoints,\n createSystemFont,\n defaultConfig,\n fonts2 as fonts,\n media2 as media,\n mediaQueryDefaultActive,\n selectionStyles,\n settings2 as settings,\n shorthands2 as shorthands,\n tokens2 as tokens\n};\n//# sourceMappingURL=v5-base.js.map\n"],"mappings":";;;;;;;AAUA,IAAI,gBAAgB;CAClB;CACA;CACA;CACA;CACA;CACA;
|
|
1
|
+
{"version":3,"file":"v5-base.native.js","names":[],"sources":["esm/v5-base.native.js"],"sourcesContent":["import { shorthands } from \"@tamagui/shorthands/v4\";\nimport { themes, tokens } from \"@tamagui/themes/v5\";\nimport { fonts } from \"./v5-fonts\";\nimport { media } from \"./media\";\nimport { settings } from \"./settings\";\nimport { shorthands as shorthands2 } from \"@tamagui/shorthands/v4\";\nimport { tokens as tokens2 } from \"@tamagui/themes/v5\";\nimport { createSystemFont, fonts as fonts2 } from \"./v5-fonts\";\nimport { breakpoints, media as media2, mediaQueryDefaultActive } from \"./media\";\nimport { selectionStyles, settings as settings2 } from \"./settings\";\nvar defaultSizing = {\n default: \"md\",\n sizes: {\n xs: {\n fontSize: \"1\",\n controlFontSize: \"1\",\n paddingInline: \"2\",\n paddingBlock: \"1-5\",\n gap: \"1-5\",\n radius: \"1\",\n px: {\n height: 24,\n icon: 12,\n square: 17\n }\n },\n sm: {\n fontSize: \"3\",\n controlFontSize: \"3\",\n paddingInline: \"3\",\n paddingBlock: \"2\",\n gap: \"2\",\n radius: \"2\",\n px: {\n height: 32,\n icon: 16,\n square: 20\n }\n },\n md: {\n fontSize: \"3\",\n controlFontSize: \"3\",\n paddingInline: \"3-5\",\n paddingBlock: \"2\",\n gap: \"2\",\n radius: \"2\",\n px: {\n height: 36,\n icon: 16,\n square: 22\n }\n },\n lg: {\n fontSize: \"5\",\n controlFontSize: \"5\",\n paddingInline: \"5\",\n paddingBlock: \"2\",\n gap: \"2\",\n radius: \"2\",\n px: {\n height: 40,\n icon: 16,\n square: 25\n }\n },\n xl: {\n fontSize: \"6\",\n controlFontSize: \"6\",\n paddingInline: \"6\",\n paddingBlock: \"2-5\",\n gap: \"2-5\",\n radius: \"3\",\n px: {\n height: 48,\n icon: 20,\n square: 28\n }\n }\n }\n};\nvar defaultConfig = {\n media,\n shorthands,\n themes,\n tokens,\n fonts,\n settings,\n sizing: defaultSizing\n};\nexport {\n breakpoints,\n createSystemFont,\n defaultConfig,\n defaultSizing,\n fonts2 as fonts,\n media2 as media,\n mediaQueryDefaultActive,\n selectionStyles,\n settings2 as settings,\n shorthands2 as shorthands,\n tokens2 as tokens\n};\n//# sourceMappingURL=v5-base.js.map\n"],"mappings":";;;;;;;AAUA,IAAI,gBAAgB;CAClB,SAAS;CACT,OAAO;EACL,IAAI;GACF,UAAU;GACV,iBAAiB;GACjB,eAAe;GACf,cAAc;GACd,KAAK;GACL,QAAQ;GACR,IAAI;IACF,QAAQ;IACR,MAAM;IACN,QAAQ;GACV;EACF;EACA,IAAI;GACF,UAAU;GACV,iBAAiB;GACjB,eAAe;GACf,cAAc;GACd,KAAK;GACL,QAAQ;GACR,IAAI;IACF,QAAQ;IACR,MAAM;IACN,QAAQ;GACV;EACF;EACA,IAAI;GACF,UAAU;GACV,iBAAiB;GACjB,eAAe;GACf,cAAc;GACd,KAAK;GACL,QAAQ;GACR,IAAI;IACF,QAAQ;IACR,MAAM;IACN,QAAQ;GACV;EACF;EACA,IAAI;GACF,UAAU;GACV,iBAAiB;GACjB,eAAe;GACf,cAAc;GACd,KAAK;GACL,QAAQ;GACR,IAAI;IACF,QAAQ;IACR,MAAM;IACN,QAAQ;GACV;EACF;EACA,IAAI;GACF,UAAU;GACV,iBAAiB;GACjB,eAAe;GACf,cAAc;GACd,KAAK;GACL,QAAQ;GACR,IAAI;IACF,QAAQ;IACR,MAAM;IACN,QAAQ;GACV;EACF;CACF;AACF;AACA,IAAI,gBAAgB;CAClB;CACA;CACA;CACA;CACA;CACA;CACA,QAAQ;AACV"}
|
package/dist/esm/v6-base.mjs
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { shorthands } from "@tamagui/shorthands/v6";
|
|
2
|
+
import { defaultSizing } from "@tamagui/web";
|
|
2
3
|
import { createSystemFont, fonts as fonts$1 } from "./fonts.mjs";
|
|
3
4
|
import { breakpoints, media, media as media2, mediaQueryDefaultActive } from "./media.mjs";
|
|
4
5
|
import { settings as settings$1 } from "./settings.mjs";
|
|
@@ -159,7 +160,8 @@ const alignedConfig = {
|
|
|
159
160
|
media,
|
|
160
161
|
shorthands,
|
|
161
162
|
fonts,
|
|
162
|
-
settings
|
|
163
|
+
settings,
|
|
164
|
+
sizing: defaultSizing
|
|
163
165
|
};
|
|
164
166
|
function createV6Config(colors) {
|
|
165
167
|
return {
|
|
@@ -172,5 +174,5 @@ function createV6Config(colors) {
|
|
|
172
174
|
};
|
|
173
175
|
}
|
|
174
176
|
|
|
175
|
-
export { breakpoints, createSystemFont, createV6Config, fonts, media2 as media, mediaQueryDefaultActive, selectionStyles, settings, shorthands, tailwindSource, toV6Themes, tokens, v6RemovedThemeNames, v6ThemeNameReplacements, withTailwindTypeScale };
|
|
177
|
+
export { breakpoints, createSystemFont, createV6Config, defaultSizing, fonts, media2 as media, mediaQueryDefaultActive, selectionStyles, settings, shorthands, tailwindSource, toV6Themes, tokens, v6RemovedThemeNames, v6ThemeNameReplacements, withTailwindTypeScale };
|
|
176
178
|
//# sourceMappingURL=v6-base.mjs.map
|
package/dist/esm/v6-base.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v6-base.js","names":["systemFonts","baseSettings"],"sources":["esm/v6-base.js"],"sourcesContent":["import { shorthands } from \"@tamagui/shorthands/v6\";\nimport { fonts as systemFonts } from \"./fonts\";\nimport { media } from \"./media\";\nimport { settings as baseSettings } from \"./settings\";\nimport {\n tailwindFontSize,\n tailwindLineHeight,\n tailwindRadius,\n tailwindSize,\n tailwindSpace\n} from \"./v6-tailwind-scales.generated\";\nimport {\n v6RemovedThemeNames,\n v6ThemeNameReplacements\n} from \"@tamagui/style-grammar/v6-themes\";\nimport { createSystemFont } from \"./fonts\";\nimport { breakpoints, media as media2, mediaQueryDefaultActive } from \"./media\";\nimport { tailwindSource } from \"./v6-tailwind-scales.generated\";\nimport { toV6Themes } from \"./v6-themes\";\nconst tailwindContainerSize = {\n \"3xs\": 256,\n \"2xs\": 288,\n xs: 320,\n sm: 384,\n md: 448,\n lg: 512,\n xl: 576,\n \"2xl\": 672,\n \"3xl\": 768,\n \"4xl\": 896,\n \"5xl\": 1024,\n \"6xl\": 1152,\n \"7xl\": 1280\n};\nconst tokens = {\n space: tailwindSpace,\n size: tailwindSize,\n width: {\n ...tailwindSize,\n ...tailwindContainerSize\n },\n minWidth: { ...tailwindSize, ...tailwindContainerSize },\n maxWidth: { ...tailwindSize, ...tailwindContainerSize },\n inlineSize: { ...tailwindSize, ...tailwindContainerSize },\n minInlineSize: { ...tailwindSize, ...tailwindContainerSize },\n maxInlineSize: { ...tailwindSize, ...tailwindContainerSize },\n flexBasis: { ...tailwindSize, ...tailwindContainerSize },\n outlineWidth: {\n 0: 0,\n 1: 1,\n 2: 2,\n 4: 4,\n 8: 8\n },\n outlineOffset: {\n 0: 0,\n 1: 1,\n 2: 2,\n 4: 4,\n 8: 8,\n \"-1\": -1,\n \"-2\": -2,\n \"-4\": -4,\n \"-8\": -8\n },\n boxShadow: {\n \"2xs\": \"0 1px rgb(0 0 0 / 0.05)\",\n xs: \"0 1px 2px 0 rgb(0 0 0 / 0.05)\",\n sm: \"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)\",\n md: \"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)\",\n lg: \"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)\",\n xl: \"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)\",\n \"2xl\": \"0 25px 50px -12px rgb(0 0 0 / 0.25)\"\n },\n perspective: {\n dramatic: 100,\n near: 300,\n normal: 500,\n midrange: 800,\n distant: 1200\n },\n radius: {\n 0: 0,\n 1: 3,\n 2: 5,\n 3: 7,\n 4: 9,\n 5: 10,\n 6: 16,\n 7: 19,\n 8: 22,\n 9: 26,\n 10: 34,\n 11: 42,\n 12: 50,\n ...tailwindRadius\n }\n};\nfunction withTailwindTypeScale(font) {\n return {\n ...font,\n size: { ...font.size, ...tailwindFontSize },\n lineHeight: { ...font.lineHeight, ...tailwindLineHeight }\n };\n}\nconst fonts = {\n body: withTailwindTypeScale(systemFonts.body),\n heading: withTailwindTypeScale(systemFonts.heading)\n};\nconst selectionStyles = (theme) => theme[\"color-5\"] ? {\n backgroundColor: theme[\"color-5\"],\n color: theme[\"color-11\"]\n} : null;\nconst settings = {\n ...baseSettings,\n selectionStyles\n};\nfunction themesWithColorScales(themes, scales) {\n const light = {};\n const dark = {};\n for (const name in scales) {\n const scale = scales[name];\n if (scale.light.length !== 12 || scale.dark.length !== 12) {\n throw new Error(\n `color scale \"${name}\" needs exactly 12 light and 12 dark values, got ${scale.light.length}/${scale.dark.length}`\n );\n }\n scale.light.forEach((value, index) => {\n light[`${name}-${index + 1}`] = value;\n });\n scale.dark.forEach((value, index) => {\n dark[`${name}-${index + 1}`] = value;\n });\n }\n return {\n ...themes,\n light: { ...themes.light, ...light },\n dark: { ...themes.dark, ...dark }\n };\n}\nconst alignedConfig = {\n media,\n shorthands,\n fonts,\n settings\n};\nfunction createV6Config(colors) {\n return {\n ...alignedConfig,\n themes: colors.scales ? themesWithColorScales(colors.themes, colors.scales) : colors.themes,\n tokens: colors.colorTokens ? { ...tokens, color: colors.colorTokens } : tokens\n };\n}\nexport {\n breakpoints,\n createSystemFont,\n createV6Config,\n fonts,\n media2 as media,\n mediaQueryDefaultActive,\n selectionStyles,\n settings,\n shorthands,\n tailwindSource,\n toV6Themes,\n tokens,\n v6RemovedThemeNames,\n v6ThemeNameReplacements,\n withTailwindTypeScale\n};\n//# sourceMappingURL=v6-base.js.map\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"v6-base.js","names":["systemFonts","baseSettings"],"sources":["esm/v6-base.js"],"sourcesContent":["import { shorthands } from \"@tamagui/shorthands/v6\";\nimport { defaultSizing } from \"@tamagui/web\";\nimport { fonts as systemFonts } from \"./fonts\";\nimport { media } from \"./media\";\nimport { settings as baseSettings } from \"./settings\";\nimport {\n tailwindFontSize,\n tailwindLineHeight,\n tailwindRadius,\n tailwindSize,\n tailwindSpace\n} from \"./v6-tailwind-scales.generated\";\nimport {\n v6RemovedThemeNames,\n v6ThemeNameReplacements\n} from \"@tamagui/style-grammar/v6-themes\";\nimport { createSystemFont } from \"./fonts\";\nimport { breakpoints, media as media2, mediaQueryDefaultActive } from \"./media\";\nimport { tailwindSource } from \"./v6-tailwind-scales.generated\";\nimport { toV6Themes } from \"./v6-themes\";\nconst tailwindContainerSize = {\n \"3xs\": 256,\n \"2xs\": 288,\n xs: 320,\n sm: 384,\n md: 448,\n lg: 512,\n xl: 576,\n \"2xl\": 672,\n \"3xl\": 768,\n \"4xl\": 896,\n \"5xl\": 1024,\n \"6xl\": 1152,\n \"7xl\": 1280\n};\nconst tokens = {\n space: tailwindSpace,\n size: tailwindSize,\n width: {\n ...tailwindSize,\n ...tailwindContainerSize\n },\n minWidth: { ...tailwindSize, ...tailwindContainerSize },\n maxWidth: { ...tailwindSize, ...tailwindContainerSize },\n inlineSize: { ...tailwindSize, ...tailwindContainerSize },\n minInlineSize: { ...tailwindSize, ...tailwindContainerSize },\n maxInlineSize: { ...tailwindSize, ...tailwindContainerSize },\n flexBasis: { ...tailwindSize, ...tailwindContainerSize },\n outlineWidth: {\n 0: 0,\n 1: 1,\n 2: 2,\n 4: 4,\n 8: 8\n },\n outlineOffset: {\n 0: 0,\n 1: 1,\n 2: 2,\n 4: 4,\n 8: 8,\n \"-1\": -1,\n \"-2\": -2,\n \"-4\": -4,\n \"-8\": -8\n },\n boxShadow: {\n \"2xs\": \"0 1px rgb(0 0 0 / 0.05)\",\n xs: \"0 1px 2px 0 rgb(0 0 0 / 0.05)\",\n sm: \"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)\",\n md: \"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)\",\n lg: \"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)\",\n xl: \"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)\",\n \"2xl\": \"0 25px 50px -12px rgb(0 0 0 / 0.25)\"\n },\n perspective: {\n dramatic: 100,\n near: 300,\n normal: 500,\n midrange: 800,\n distant: 1200\n },\n radius: {\n 0: 0,\n 1: 3,\n 2: 5,\n 3: 7,\n 4: 9,\n 5: 10,\n 6: 16,\n 7: 19,\n 8: 22,\n 9: 26,\n 10: 34,\n 11: 42,\n 12: 50,\n ...tailwindRadius\n }\n};\nfunction withTailwindTypeScale(font) {\n return {\n ...font,\n size: { ...font.size, ...tailwindFontSize },\n lineHeight: { ...font.lineHeight, ...tailwindLineHeight }\n };\n}\nconst fonts = {\n body: withTailwindTypeScale(systemFonts.body),\n heading: withTailwindTypeScale(systemFonts.heading)\n};\nconst selectionStyles = (theme) => theme[\"color-5\"] ? {\n backgroundColor: theme[\"color-5\"],\n color: theme[\"color-11\"]\n} : null;\nconst settings = {\n ...baseSettings,\n selectionStyles\n};\nfunction themesWithColorScales(themes, scales) {\n const light = {};\n const dark = {};\n for (const name in scales) {\n const scale = scales[name];\n if (scale.light.length !== 12 || scale.dark.length !== 12) {\n throw new Error(\n `color scale \"${name}\" needs exactly 12 light and 12 dark values, got ${scale.light.length}/${scale.dark.length}`\n );\n }\n scale.light.forEach((value, index) => {\n light[`${name}-${index + 1}`] = value;\n });\n scale.dark.forEach((value, index) => {\n dark[`${name}-${index + 1}`] = value;\n });\n }\n return {\n ...themes,\n light: { ...themes.light, ...light },\n dark: { ...themes.dark, ...dark }\n };\n}\nconst alignedConfig = {\n media,\n shorthands,\n fonts,\n settings,\n sizing: defaultSizing\n};\nfunction createV6Config(colors) {\n return {\n ...alignedConfig,\n themes: colors.scales ? themesWithColorScales(colors.themes, colors.scales) : colors.themes,\n tokens: colors.colorTokens ? { ...tokens, color: colors.colorTokens } : tokens\n };\n}\nexport {\n breakpoints,\n createSystemFont,\n createV6Config,\n defaultSizing,\n fonts,\n media2 as media,\n mediaQueryDefaultActive,\n selectionStyles,\n settings,\n shorthands,\n tailwindSource,\n toV6Themes,\n tokens,\n v6RemovedThemeNames,\n v6ThemeNameReplacements,\n withTailwindTypeScale\n};\n//# sourceMappingURL=v6-base.js.map\n"],"mappings":";;;;;;;;;;AAoBA,MAAM,wBAAwB;CAC5B,OAAO;CACP,OAAO;CACP,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,IAAI;CACJ,OAAO;CACP,OAAO;CACP,OAAO;CACP,OAAO;CACP,OAAO;CACP,OAAO;AACT;AACA,MAAM,SAAS;CACb,OAAO;CACP,MAAM;CACN,OAAO;EACL,GAAG;EACH,GAAG;CACL;CACA,UAAU;EAAE,GAAG;EAAc,GAAG;CAAsB;CACtD,UAAU;EAAE,GAAG;EAAc,GAAG;CAAsB;CACtD,YAAY;EAAE,GAAG;EAAc,GAAG;CAAsB;CACxD,eAAe;EAAE,GAAG;EAAc,GAAG;CAAsB;CAC3D,eAAe;EAAE,GAAG;EAAc,GAAG;CAAsB;CAC3D,WAAW;EAAE,GAAG;EAAc,GAAG;CAAsB;CACvD,cAAc;EACZ,GAAG;EACH,GAAG;E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AAM,GAAG,KAAK,GAAG,QAAQ,OAAO;EAClC,CAAC;EACD,MAAM,KAAK,SAAS,OAAO,UAAU;GACnC,KAAK,GAAG,KAAK,GAAG,QAAQ,OAAO;EACjC,CAAC;CACH;CACA,OAAO;EACL,GAAG;EACH,OAAO;GAAE,GAAG,OAAO;GAAO,GAAG;EAAM;EACnC,MAAM;GAAE,GAAG,OAAO;GAAM,GAAG;EAAK;CAClC;AACF;AACA,MAAM,gBAAgB;CACpB;CACA;CACA;CACA;CACA,QAAQ;AACV;AACA,SAAS,eAAe,QAAQ;CAC9B,OAAO;EACL,GAAG;EACH,QAAQ,OAAO,SAAS,sBAAsB,OAAO,QAAQ,OAAO,MAAM,IAAI,OAAO;EACrF,QAAQ,OAAO,cAAc;GAAE,GAAG;GAAQ,OAAO,OAAO;EAAY,IAAI;CAC1E;AACF"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { shorthands } from "@tamagui/shorthands/v6";
|
|
2
|
+
import { defaultSizing } from "@tamagui/web";
|
|
2
3
|
import { createSystemFont, fonts as fonts$1 } from "./fonts.native.js";
|
|
3
4
|
import { breakpoints, media, media as media2, mediaQueryDefaultActive } from "./media.native.js";
|
|
4
5
|
import { settings as settings$1 } from "./settings.native.js";
|
|
@@ -162,7 +163,8 @@ var alignedConfig = {
|
|
|
162
163
|
media,
|
|
163
164
|
shorthands,
|
|
164
165
|
fonts,
|
|
165
|
-
settings
|
|
166
|
+
settings,
|
|
167
|
+
sizing: defaultSizing
|
|
166
168
|
};
|
|
167
169
|
function createV6Config(colors) {
|
|
168
170
|
return {
|
|
@@ -175,5 +177,5 @@ function createV6Config(colors) {
|
|
|
175
177
|
};
|
|
176
178
|
}
|
|
177
179
|
|
|
178
|
-
export { breakpoints, createSystemFont, createV6Config, fonts, media2 as media, mediaQueryDefaultActive, selectionStyles, settings, shorthands, tailwindSource, toV6Themes, tokens, v6RemovedThemeNames, v6ThemeNameReplacements, withTailwindTypeScale };
|
|
180
|
+
export { breakpoints, createSystemFont, createV6Config, defaultSizing, fonts, media2 as media, mediaQueryDefaultActive, selectionStyles, settings, shorthands, tailwindSource, toV6Themes, tokens, v6RemovedThemeNames, v6ThemeNameReplacements, withTailwindTypeScale };
|
|
179
181
|
//# sourceMappingURL=v6-base.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v6-base.native.js","names":["systemFonts","baseSettings"],"sources":["esm/v6-base.native.js"],"sourcesContent":["import { shorthands } from \"@tamagui/shorthands/v6\";\nimport { fonts as systemFonts } from \"./fonts\";\nimport { media } from \"./media\";\nimport { settings as baseSettings } from \"./settings\";\nimport { tailwindFontSize, tailwindLineHeight, tailwindRadius, tailwindSize, tailwindSpace } from \"./v6-tailwind-scales.generated\";\nimport { v6RemovedThemeNames, v6ThemeNameReplacements } from \"@tamagui/style-grammar/v6-themes\";\nimport { createSystemFont } from \"./fonts\";\nimport { breakpoints, media as media2, mediaQueryDefaultActive } from \"./media\";\nimport { tailwindSource } from \"./v6-tailwind-scales.generated\";\nimport { toV6Themes } from \"./v6-themes\";\nvar tailwindContainerSize = {\n \"3xs\": 256,\n \"2xs\": 288,\n xs: 320,\n sm: 384,\n md: 448,\n lg: 512,\n xl: 576,\n \"2xl\": 672,\n \"3xl\": 768,\n \"4xl\": 896,\n \"5xl\": 1024,\n \"6xl\": 1152,\n \"7xl\": 1280\n};\nvar tokens = {\n space: tailwindSpace,\n size: tailwindSize,\n width: {\n ...tailwindSize,\n ...tailwindContainerSize\n },\n minWidth: {\n ...tailwindSize,\n ...tailwindContainerSize\n },\n maxWidth: {\n ...tailwindSize,\n ...tailwindContainerSize\n },\n inlineSize: {\n ...tailwindSize,\n ...tailwindContainerSize\n },\n minInlineSize: {\n ...tailwindSize,\n ...tailwindContainerSize\n },\n maxInlineSize: {\n ...tailwindSize,\n ...tailwindContainerSize\n },\n flexBasis: {\n ...tailwindSize,\n ...tailwindContainerSize\n },\n outlineWidth: {\n 0: 0,\n 1: 1,\n 2: 2,\n 4: 4,\n 8: 8\n },\n outlineOffset: {\n 0: 0,\n 1: 1,\n 2: 2,\n 4: 4,\n 8: 8,\n \"-1\": -1,\n \"-2\": -2,\n \"-4\": -4,\n \"-8\": -8\n },\n boxShadow: {\n \"2xs\": \"0 1px rgb(0 0 0 / 0.05)\",\n xs: \"0 1px 2px 0 rgb(0 0 0 / 0.05)\",\n sm: \"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)\",\n md: \"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)\",\n lg: \"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)\",\n xl: \"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)\",\n \"2xl\": \"0 25px 50px -12px rgb(0 0 0 / 0.25)\"\n },\n perspective: {\n dramatic: 100,\n near: 300,\n normal: 500,\n midrange: 800,\n distant: 1200\n },\n radius: {\n 0: 0,\n 1: 3,\n 2: 5,\n 3: 7,\n 4: 9,\n 5: 10,\n 6: 16,\n 7: 19,\n 8: 22,\n 9: 26,\n 10: 34,\n 11: 42,\n 12: 50,\n ...tailwindRadius\n }\n};\nfunction withTailwindTypeScale(font) {\n return {\n ...font,\n size: {\n ...font.size,\n ...tailwindFontSize\n },\n lineHeight: {\n ...font.lineHeight,\n ...tailwindLineHeight\n }\n };\n}\nvar fonts = {\n body: withTailwindTypeScale(systemFonts.body),\n heading: withTailwindTypeScale(systemFonts.heading)\n};\nvar selectionStyles = function(theme) {\n return theme[\"color-5\"] ? {\n backgroundColor: theme[\"color-5\"],\n color: theme[\"color-11\"]\n } : null;\n};\nvar settings = {\n ...baseSettings,\n selectionStyles\n};\nfunction themesWithColorScales(themes, scales) {\n var _loop = function(name2) {\n var scale = scales[name2];\n if (scale.light.length !== 12 || scale.dark.length !== 12) {\n throw new Error(`color scale \"${name2}\" needs exactly 12 light and 12 dark values, got ${scale.light.length}/${scale.dark.length}`);\n }\n scale.light.forEach(function(value, index) {\n light[`${name2}-${index + 1}`] = value;\n });\n scale.dark.forEach(function(value, index) {\n dark[`${name2}-${index + 1}`] = value;\n });\n };\n var light = {};\n var dark = {};\n for (var name in scales) _loop(name);\n return {\n ...themes,\n light: {\n ...themes.light,\n ...light\n },\n dark: {\n ...themes.dark,\n ...dark\n }\n };\n}\nvar alignedConfig = {\n media,\n shorthands,\n fonts,\n settings\n};\nfunction createV6Config(colors) {\n return {\n ...alignedConfig,\n themes: colors.scales ? themesWithColorScales(colors.themes, colors.scales) : colors.themes,\n tokens: colors.colorTokens ? {\n ...tokens,\n color: colors.colorTokens\n } : tokens\n };\n}\nexport {\n breakpoints,\n createSystemFont,\n createV6Config,\n fonts,\n media2 as media,\n mediaQueryDefaultActive,\n selectionStyles,\n settings,\n shorthands,\n tailwindSource,\n toV6Themes,\n tokens,\n v6RemovedThemeNames,\n v6ThemeNameReplacements,\n withTailwindTypeScale\n};\n//# sourceMappingURL=v6-base.js.map\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"v6-base.native.js","names":["systemFonts","baseSettings"],"sources":["esm/v6-base.native.js"],"sourcesContent":["import { shorthands } from \"@tamagui/shorthands/v6\";\nimport { defaultSizing } from \"@tamagui/web\";\nimport { fonts as systemFonts } from \"./fonts\";\nimport { media } from \"./media\";\nimport { settings as baseSettings } from \"./settings\";\nimport { tailwindFontSize, tailwindLineHeight, tailwindRadius, tailwindSize, tailwindSpace } from \"./v6-tailwind-scales.generated\";\nimport { v6RemovedThemeNames, v6ThemeNameReplacements } from \"@tamagui/style-grammar/v6-themes\";\nimport { createSystemFont } from \"./fonts\";\nimport { breakpoints, media as media2, mediaQueryDefaultActive } from \"./media\";\nimport { tailwindSource } from \"./v6-tailwind-scales.generated\";\nimport { toV6Themes } from \"./v6-themes\";\nvar tailwindContainerSize = {\n \"3xs\": 256,\n \"2xs\": 288,\n xs: 320,\n sm: 384,\n md: 448,\n lg: 512,\n xl: 576,\n \"2xl\": 672,\n \"3xl\": 768,\n \"4xl\": 896,\n \"5xl\": 1024,\n \"6xl\": 1152,\n \"7xl\": 1280\n};\nvar tokens = {\n space: tailwindSpace,\n size: tailwindSize,\n width: {\n ...tailwindSize,\n ...tailwindContainerSize\n },\n minWidth: {\n ...tailwindSize,\n ...tailwindContainerSize\n },\n maxWidth: {\n ...tailwindSize,\n ...tailwindContainerSize\n },\n inlineSize: {\n ...tailwindSize,\n ...tailwindContainerSize\n },\n minInlineSize: {\n ...tailwindSize,\n ...tailwindContainerSize\n },\n maxInlineSize: {\n ...tailwindSize,\n ...tailwindContainerSize\n },\n flexBasis: {\n ...tailwindSize,\n ...tailwindContainerSize\n },\n outlineWidth: {\n 0: 0,\n 1: 1,\n 2: 2,\n 4: 4,\n 8: 8\n },\n outlineOffset: {\n 0: 0,\n 1: 1,\n 2: 2,\n 4: 4,\n 8: 8,\n \"-1\": -1,\n \"-2\": -2,\n \"-4\": -4,\n \"-8\": -8\n },\n boxShadow: {\n \"2xs\": \"0 1px rgb(0 0 0 / 0.05)\",\n xs: \"0 1px 2px 0 rgb(0 0 0 / 0.05)\",\n sm: \"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)\",\n md: \"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)\",\n lg: \"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)\",\n xl: \"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)\",\n \"2xl\": \"0 25px 50px -12px rgb(0 0 0 / 0.25)\"\n },\n perspective: {\n dramatic: 100,\n near: 300,\n normal: 500,\n midrange: 800,\n distant: 1200\n },\n radius: {\n 0: 0,\n 1: 3,\n 2: 5,\n 3: 7,\n 4: 9,\n 5: 10,\n 6: 16,\n 7: 19,\n 8: 22,\n 9: 26,\n 10: 34,\n 11: 42,\n 12: 50,\n ...tailwindRadius\n }\n};\nfunction withTailwindTypeScale(font) {\n return {\n ...font,\n size: {\n ...font.size,\n ...tailwindFontSize\n },\n lineHeight: {\n ...font.lineHeight,\n ...tailwindLineHeight\n }\n };\n}\nvar fonts = {\n body: withTailwindTypeScale(systemFonts.body),\n heading: withTailwindTypeScale(systemFonts.heading)\n};\nvar selectionStyles = function(theme) {\n return theme[\"color-5\"] ? {\n backgroundColor: theme[\"color-5\"],\n color: theme[\"color-11\"]\n } : null;\n};\nvar settings = {\n ...baseSettings,\n selectionStyles\n};\nfunction themesWithColorScales(themes, scales) {\n var _loop = function(name2) {\n var scale = scales[name2];\n if (scale.light.length !== 12 || scale.dark.length !== 12) {\n throw new Error(`color scale \"${name2}\" needs exactly 12 light and 12 dark values, got ${scale.light.length}/${scale.dark.length}`);\n }\n scale.light.forEach(function(value, index) {\n light[`${name2}-${index + 1}`] = value;\n });\n scale.dark.forEach(function(value, index) {\n dark[`${name2}-${index + 1}`] = value;\n });\n };\n var light = {};\n var dark = {};\n for (var name in scales) _loop(name);\n return {\n ...themes,\n light: {\n ...themes.light,\n ...light\n },\n dark: {\n ...themes.dark,\n ...dark\n }\n };\n}\nvar alignedConfig = {\n media,\n shorthands,\n fonts,\n settings,\n sizing: defaultSizing\n};\nfunction createV6Config(colors) {\n return {\n ...alignedConfig,\n themes: colors.scales ? themesWithColorScales(colors.themes, colors.scales) : colors.themes,\n tokens: colors.colorTokens ? {\n ...tokens,\n color: colors.colorTokens\n } : tokens\n };\n}\nexport {\n breakpoints,\n createSystemFont,\n createV6Config,\n defaultSizing,\n fonts,\n media2 as media,\n mediaQueryDefaultActive,\n selectionStyles,\n settings,\n shorthands,\n tailwindSource,\n toV6Themes,\n tokens,\n v6RemovedThemeNames,\n v6ThemeNameReplacements,\n withTailwindTypeScale\n};\n//# sourceMappingURL=v6-base.js.map\n"],"mappings":";;;;;;;;;;AAWA,IAAI,wBAAwB;CA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license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -177,21 +177,21 @@
|
|
|
177
177
|
"clean:build": "tamagui-build clean:build"
|
|
178
178
|
},
|
|
179
179
|
"dependencies": {
|
|
180
|
-
"@tamagui/animation-helpers": "3.0.0-beta.
|
|
181
|
-
"@tamagui/animations-css": "3.0.0-beta.
|
|
182
|
-
"@tamagui/animations-motion": "3.0.0-beta.
|
|
183
|
-
"@tamagui/animations-react-native": "3.0.0-beta.
|
|
184
|
-
"@tamagui/animations-reanimated": "3.0.0-beta.
|
|
185
|
-
"@tamagui/create-system-font": "3.0.0-beta.
|
|
186
|
-
"@tamagui/shorthands": "3.0.0-beta.
|
|
187
|
-
"@tamagui/style-grammar": "3.0.0-beta.
|
|
188
|
-
"@tamagui/themes": "3.0.0-beta.
|
|
189
|
-
"@tamagui/web": "3.0.0-beta.
|
|
180
|
+
"@tamagui/animation-helpers": "3.0.0-beta.1359.1",
|
|
181
|
+
"@tamagui/animations-css": "3.0.0-beta.1359.1",
|
|
182
|
+
"@tamagui/animations-motion": "3.0.0-beta.1359.1",
|
|
183
|
+
"@tamagui/animations-react-native": "3.0.0-beta.1359.1",
|
|
184
|
+
"@tamagui/animations-reanimated": "3.0.0-beta.1359.1",
|
|
185
|
+
"@tamagui/create-system-font": "3.0.0-beta.1359.1",
|
|
186
|
+
"@tamagui/shorthands": "3.0.0-beta.1359.1",
|
|
187
|
+
"@tamagui/style-grammar": "3.0.0-beta.1359.1",
|
|
188
|
+
"@tamagui/themes": "3.0.0-beta.1359.1",
|
|
189
|
+
"@tamagui/web": "3.0.0-beta.1359.1"
|
|
190
190
|
},
|
|
191
191
|
"devDependencies": {
|
|
192
192
|
"@csstools/color-helpers": "6.1.0",
|
|
193
|
-
"@tamagui/build": "3.0.0-beta.
|
|
194
|
-
"@tamagui/cli": "3.0.0-beta.
|
|
193
|
+
"@tamagui/build": "3.0.0-beta.1359.1",
|
|
194
|
+
"@tamagui/cli": "3.0.0-beta.1359.1",
|
|
195
195
|
"tailwindcss": "4.3.0"
|
|
196
196
|
},
|
|
197
197
|
"repository": {
|
package/src/v5-base.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { shorthands } from '@tamagui/shorthands/v4' // v4 same as v5
|
|
|
2
2
|
import type { Shorthands } from '@tamagui/shorthands/v4'
|
|
3
3
|
import { themes, tokens } from '@tamagui/themes/v5'
|
|
4
4
|
import type { V5Themes, V5Tokens } from '@tamagui/themes/v5'
|
|
5
|
+
import type { GenericSizing } from '@tamagui/web'
|
|
5
6
|
import { fonts } from './v5-fonts'
|
|
6
7
|
import type { V5Fonts } from './v5-fonts'
|
|
7
8
|
import { media } from './media'
|
|
@@ -33,8 +34,63 @@ export type V5DefaultConfig = {
|
|
|
33
34
|
tokens: V5Tokens
|
|
34
35
|
fonts: V5Fonts
|
|
35
36
|
settings: V5Settings
|
|
37
|
+
sizing: GenericSizing
|
|
36
38
|
}
|
|
37
39
|
|
|
40
|
+
// v5's numeric scales cannot derive the ladder, so each rung points text,
|
|
41
|
+
// padding and radius at v5 keys and pins the frozen geometry: v5 buttons
|
|
42
|
+
// keep their heights while their text and spacing go v5-native
|
|
43
|
+
export const defaultSizing = {
|
|
44
|
+
default: 'md',
|
|
45
|
+
sizes: {
|
|
46
|
+
xs: {
|
|
47
|
+
fontSize: '1',
|
|
48
|
+
controlFontSize: '1',
|
|
49
|
+
paddingInline: '2',
|
|
50
|
+
paddingBlock: '1-5',
|
|
51
|
+
gap: '1-5',
|
|
52
|
+
radius: '1',
|
|
53
|
+
px: { height: 24, icon: 12, square: 17 },
|
|
54
|
+
},
|
|
55
|
+
sm: {
|
|
56
|
+
fontSize: '3',
|
|
57
|
+
controlFontSize: '3',
|
|
58
|
+
paddingInline: '3',
|
|
59
|
+
paddingBlock: '2',
|
|
60
|
+
gap: '2',
|
|
61
|
+
radius: '2',
|
|
62
|
+
px: { height: 32, icon: 16, square: 20 },
|
|
63
|
+
},
|
|
64
|
+
md: {
|
|
65
|
+
fontSize: '3',
|
|
66
|
+
controlFontSize: '3',
|
|
67
|
+
paddingInline: '3-5',
|
|
68
|
+
paddingBlock: '2',
|
|
69
|
+
gap: '2',
|
|
70
|
+
radius: '2',
|
|
71
|
+
px: { height: 36, icon: 16, square: 22 },
|
|
72
|
+
},
|
|
73
|
+
lg: {
|
|
74
|
+
fontSize: '5',
|
|
75
|
+
controlFontSize: '5',
|
|
76
|
+
paddingInline: '5',
|
|
77
|
+
paddingBlock: '2',
|
|
78
|
+
gap: '2',
|
|
79
|
+
radius: '2',
|
|
80
|
+
px: { height: 40, icon: 16, square: 25 },
|
|
81
|
+
},
|
|
82
|
+
xl: {
|
|
83
|
+
fontSize: '6',
|
|
84
|
+
controlFontSize: '6',
|
|
85
|
+
paddingInline: '6',
|
|
86
|
+
paddingBlock: '2-5',
|
|
87
|
+
gap: '2-5',
|
|
88
|
+
radius: '3',
|
|
89
|
+
px: { height: 48, icon: 20, square: 28 },
|
|
90
|
+
},
|
|
91
|
+
},
|
|
92
|
+
} as const satisfies GenericSizing
|
|
93
|
+
|
|
38
94
|
// base config without animations - users must provide their own
|
|
39
95
|
export const defaultConfig: V5DefaultConfig = {
|
|
40
96
|
media,
|
|
@@ -43,4 +99,5 @@ export const defaultConfig: V5DefaultConfig = {
|
|
|
43
99
|
tokens,
|
|
44
100
|
fonts,
|
|
45
101
|
settings,
|
|
102
|
+
sizing: defaultSizing,
|
|
46
103
|
}
|
package/src/v6-base.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// the aligned v6 base: Tailwind-aligned shorthands, scales, fonts, media and settings.
|
|
2
2
|
// colors and themes are deliberately separate so createV6Config can accept any pack.
|
|
3
3
|
import { shorthands } from '@tamagui/shorthands/v6'
|
|
4
|
+
import { defaultSizing } from '@tamagui/web'
|
|
4
5
|
import type { CreateTamaguiProps } from '@tamagui/web'
|
|
5
6
|
import { fonts as systemFonts } from './fonts'
|
|
6
7
|
import { media } from './media'
|
|
@@ -18,6 +19,7 @@ import {
|
|
|
18
19
|
} from '@tamagui/style-grammar/v6-themes'
|
|
19
20
|
|
|
20
21
|
export { shorthands }
|
|
22
|
+
export { defaultSizing }
|
|
21
23
|
export { createSystemFont } from './fonts'
|
|
22
24
|
export { breakpoints, media, mediaQueryDefaultActive } from './media'
|
|
23
25
|
export { tailwindSource } from './v6-tailwind-scales.generated'
|
|
@@ -233,6 +235,7 @@ const alignedConfig = {
|
|
|
233
235
|
shorthands,
|
|
234
236
|
fonts,
|
|
235
237
|
settings,
|
|
238
|
+
sizing: defaultSizing,
|
|
236
239
|
}
|
|
237
240
|
|
|
238
241
|
/** Compose the aligned v6 base with a colors pack into a createTamagui-ready config. */
|
package/types/v5-base.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { Shorthands } from '@tamagui/shorthands/v4';
|
|
2
2
|
import type { V5Themes, V5Tokens } from '@tamagui/themes/v5';
|
|
3
|
+
import type { GenericSizing } from '@tamagui/web';
|
|
3
4
|
import type { V5Fonts } from './v5-fonts';
|
|
4
5
|
import type { Media as V5Media } from './media';
|
|
5
6
|
import type { Settings as V5Settings } from './settings';
|
|
@@ -18,6 +19,77 @@ export type V5DefaultConfig = {
|
|
|
18
19
|
tokens: V5Tokens;
|
|
19
20
|
fonts: V5Fonts;
|
|
20
21
|
settings: V5Settings;
|
|
22
|
+
sizing: GenericSizing;
|
|
23
|
+
};
|
|
24
|
+
export declare const defaultSizing: {
|
|
25
|
+
readonly default: 'md';
|
|
26
|
+
readonly sizes: {
|
|
27
|
+
readonly xs: {
|
|
28
|
+
readonly fontSize: '1';
|
|
29
|
+
readonly controlFontSize: '1';
|
|
30
|
+
readonly paddingInline: '2';
|
|
31
|
+
readonly paddingBlock: '1-5';
|
|
32
|
+
readonly gap: '1-5';
|
|
33
|
+
readonly radius: '1';
|
|
34
|
+
readonly px: {
|
|
35
|
+
readonly height: 24;
|
|
36
|
+
readonly icon: 12;
|
|
37
|
+
readonly square: 17;
|
|
38
|
+
};
|
|
39
|
+
};
|
|
40
|
+
readonly sm: {
|
|
41
|
+
readonly fontSize: '3';
|
|
42
|
+
readonly controlFontSize: '3';
|
|
43
|
+
readonly paddingInline: '3';
|
|
44
|
+
readonly paddingBlock: '2';
|
|
45
|
+
readonly gap: '2';
|
|
46
|
+
readonly radius: '2';
|
|
47
|
+
readonly px: {
|
|
48
|
+
readonly height: 32;
|
|
49
|
+
readonly icon: 16;
|
|
50
|
+
readonly square: 20;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
readonly md: {
|
|
54
|
+
readonly fontSize: '3';
|
|
55
|
+
readonly controlFontSize: '3';
|
|
56
|
+
readonly paddingInline: '3-5';
|
|
57
|
+
readonly paddingBlock: '2';
|
|
58
|
+
readonly gap: '2';
|
|
59
|
+
readonly radius: '2';
|
|
60
|
+
readonly px: {
|
|
61
|
+
readonly height: 36;
|
|
62
|
+
readonly icon: 16;
|
|
63
|
+
readonly square: 22;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
readonly lg: {
|
|
67
|
+
readonly fontSize: '5';
|
|
68
|
+
readonly controlFontSize: '5';
|
|
69
|
+
readonly paddingInline: '5';
|
|
70
|
+
readonly paddingBlock: '2';
|
|
71
|
+
readonly gap: '2';
|
|
72
|
+
readonly radius: '2';
|
|
73
|
+
readonly px: {
|
|
74
|
+
readonly height: 40;
|
|
75
|
+
readonly icon: 16;
|
|
76
|
+
readonly square: 25;
|
|
77
|
+
};
|
|
78
|
+
};
|
|
79
|
+
readonly xl: {
|
|
80
|
+
readonly fontSize: '6';
|
|
81
|
+
readonly controlFontSize: '6';
|
|
82
|
+
readonly paddingInline: '6';
|
|
83
|
+
readonly paddingBlock: '2-5';
|
|
84
|
+
readonly gap: '2-5';
|
|
85
|
+
readonly radius: '3';
|
|
86
|
+
readonly px: {
|
|
87
|
+
readonly height: 48;
|
|
88
|
+
readonly icon: 20;
|
|
89
|
+
readonly square: 28;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
};
|
|
21
93
|
};
|
|
22
94
|
export declare const defaultConfig: V5DefaultConfig;
|
|
23
95
|
//# sourceMappingURL=v5-base.d.ts.map
|
package/types/v5-base.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v5-base.d.ts","sourceRoot":"","sources":["../src/v5-base.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAExD,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;
|
|
1
|
+
{"version":3,"file":"v5-base.d.ts","sourceRoot":"","sources":["../src/v5-base.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAExD,OAAO,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,oBAAoB,CAAA;AAC5D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AAEjD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEzC,OAAO,KAAK,EAAE,KAAK,IAAI,OAAO,EAAE,MAAM,SAAS,CAAA;AAE/C,OAAO,KAAK,EAAE,QAAQ,IAAI,UAAU,EAAE,MAAM,YAAY,CAAA;AAExD,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AAGnD,OAAO,EACL,MAAM,EACN,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,QAAQ,EACb,KAAK,QAAQ,GACd,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,gBAAgB,EAAE,KAAK,EAAE,MAAM,YAAY,CAAA;AACpD,YAAY,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AACzC,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AACrE,YAAY,EAAE,KAAK,IAAI,OAAO,EAAE,MAAM,SAAS,CAA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,GAAG;qBACpB,aAAa,EAAE,GAAG;qBAClB,YAAY,EAAE,GAAG;qBACjB,GAAG,EAAE,GAAG;qBACR,MAAM,EAAE,GAAG;qBACX,EAAE;yBAAI,MAAM,EAAE,EAAE;yBAAE,IAAI,EAAE,EAAE;yBAAE,MAAM,EAAE,EAAE;;;iBAExC,EAAE;qBACA,QAAQ,EAAE,GAAG;qBACb,eAAe,EAAE,GAAG;qBACpB,aAAa,EAAE,GAAG;qBAClB,YAAY,EAAE,KAAK;qBACnB,GAAG,EAAE,KAAK;qBACV,MAAM,EAAE,GAAG;qBACX,EAAE;yBAAI,MAAM,EAAE,EAAE;yBAAE,IAAI,EAAE,EAAE;yBAAE,MAAM,EAAE,EAAE;;;;CAGV,CAAA;AAGlC,eAAO,MAAM,aAAa,EAAE,eAQ3B,CAAA"}
|
package/types/v6-base.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { shorthands } from '@tamagui/shorthands/v6';
|
|
2
|
+
import { defaultSizing } from '@tamagui/web';
|
|
2
3
|
import type { CreateTamaguiProps } from '@tamagui/web';
|
|
3
4
|
import { v6RemovedThemeNames, v6ThemeNameReplacements } from '@tamagui/style-grammar/v6-themes';
|
|
4
5
|
export { shorthands };
|
|
6
|
+
export { defaultSizing };
|
|
5
7
|
export { createSystemFont } from './fonts';
|
|
6
8
|
export { breakpoints, media, mediaQueryDefaultActive } from './media';
|
|
7
9
|
export { tailwindSource } from './v6-tailwind-scales.generated';
|
|
@@ -985,6 +987,51 @@ declare const alignedConfig: {
|
|
|
985
987
|
styleCompat: "web";
|
|
986
988
|
selectionStyles: typeof selectionStyles;
|
|
987
989
|
};
|
|
990
|
+
sizing: {
|
|
991
|
+
readonly default: 'md';
|
|
992
|
+
readonly sizes: {
|
|
993
|
+
readonly xs: {
|
|
994
|
+
readonly fontSize: 'xs';
|
|
995
|
+
readonly controlFontSize: 'xs';
|
|
996
|
+
readonly paddingInline: '2';
|
|
997
|
+
readonly paddingBlock: '1';
|
|
998
|
+
readonly gap: '1';
|
|
999
|
+
readonly radius: 'sm';
|
|
1000
|
+
};
|
|
1001
|
+
readonly sm: {
|
|
1002
|
+
readonly fontSize: 'sm';
|
|
1003
|
+
readonly controlFontSize: 'sm';
|
|
1004
|
+
readonly paddingInline: '3';
|
|
1005
|
+
readonly paddingBlock: '1.5';
|
|
1006
|
+
readonly gap: '1.5';
|
|
1007
|
+
readonly radius: 'md';
|
|
1008
|
+
};
|
|
1009
|
+
readonly md: {
|
|
1010
|
+
readonly fontSize: 'sm';
|
|
1011
|
+
readonly controlFontSize: 'base';
|
|
1012
|
+
readonly paddingInline: '4';
|
|
1013
|
+
readonly paddingBlock: '2';
|
|
1014
|
+
readonly gap: '2';
|
|
1015
|
+
readonly radius: 'md';
|
|
1016
|
+
};
|
|
1017
|
+
readonly lg: {
|
|
1018
|
+
readonly fontSize: 'base';
|
|
1019
|
+
readonly controlFontSize: 'lg';
|
|
1020
|
+
readonly paddingInline: '6';
|
|
1021
|
+
readonly paddingBlock: '2';
|
|
1022
|
+
readonly gap: '2';
|
|
1023
|
+
readonly radius: 'md';
|
|
1024
|
+
};
|
|
1025
|
+
readonly xl: {
|
|
1026
|
+
readonly fontSize: 'lg';
|
|
1027
|
+
readonly controlFontSize: 'xl';
|
|
1028
|
+
readonly paddingInline: '8';
|
|
1029
|
+
readonly paddingBlock: '2.5';
|
|
1030
|
+
readonly gap: '2.5';
|
|
1031
|
+
readonly radius: 'lg';
|
|
1032
|
+
};
|
|
1033
|
+
};
|
|
1034
|
+
};
|
|
988
1035
|
};
|
|
989
1036
|
/** Compose the aligned v6 base with a colors pack into a createTamagui-ready config. */
|
|
990
1037
|
export declare function createV6Config<Themes extends NonNullable<CreateTamaguiProps['themes']>, ColorTokens extends Record<string, string>, Scales extends V6ColorScales = Record<never, V6ColorScale>>(colors: {
|
package/types/v6-base.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v6-base.d.ts","sourceRoot":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ACvC,MAAM,EAAE,OAAO,MAAM,CAAA;CACtB,CAAA"}
|
package/types/v6.d.ts
CHANGED
|
@@ -1401,6 +1401,51 @@ export declare const defaultConfig: {
|
|
|
1401
1401
|
styleCompat: "web";
|
|
1402
1402
|
selectionStyles: typeof import("./v6-base").selectionStyles;
|
|
1403
1403
|
};
|
|
1404
|
+
sizing: {
|
|
1405
|
+
readonly default: 'md';
|
|
1406
|
+
readonly sizes: {
|
|
1407
|
+
readonly xs: {
|
|
1408
|
+
readonly fontSize: 'xs';
|
|
1409
|
+
readonly controlFontSize: 'xs';
|
|
1410
|
+
readonly paddingInline: '2';
|
|
1411
|
+
readonly paddingBlock: '1';
|
|
1412
|
+
readonly gap: '1';
|
|
1413
|
+
readonly radius: 'sm';
|
|
1414
|
+
};
|
|
1415
|
+
readonly sm: {
|
|
1416
|
+
readonly fontSize: 'sm';
|
|
1417
|
+
readonly controlFontSize: 'sm';
|
|
1418
|
+
readonly paddingInline: '3';
|
|
1419
|
+
readonly paddingBlock: '1.5';
|
|
1420
|
+
readonly gap: '1.5';
|
|
1421
|
+
readonly radius: 'md';
|
|
1422
|
+
};
|
|
1423
|
+
readonly md: {
|
|
1424
|
+
readonly fontSize: 'sm';
|
|
1425
|
+
readonly controlFontSize: 'base';
|
|
1426
|
+
readonly paddingInline: '4';
|
|
1427
|
+
readonly paddingBlock: '2';
|
|
1428
|
+
readonly gap: '2';
|
|
1429
|
+
readonly radius: 'md';
|
|
1430
|
+
};
|
|
1431
|
+
readonly lg: {
|
|
1432
|
+
readonly fontSize: 'base';
|
|
1433
|
+
readonly controlFontSize: 'lg';
|
|
1434
|
+
readonly paddingInline: '6';
|
|
1435
|
+
readonly paddingBlock: '2';
|
|
1436
|
+
readonly gap: '2';
|
|
1437
|
+
readonly radius: 'md';
|
|
1438
|
+
};
|
|
1439
|
+
readonly xl: {
|
|
1440
|
+
readonly fontSize: 'lg';
|
|
1441
|
+
readonly controlFontSize: 'xl';
|
|
1442
|
+
readonly paddingInline: '8';
|
|
1443
|
+
readonly paddingBlock: '2.5';
|
|
1444
|
+
readonly gap: '2.5';
|
|
1445
|
+
readonly radius: 'lg';
|
|
1446
|
+
};
|
|
1447
|
+
};
|
|
1448
|
+
};
|
|
1404
1449
|
} & {
|
|
1405
1450
|
themes: {
|
|
1406
1451
|
dark: Theme & {};
|
package/types/v6.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"v6.d.ts","sourceRoot":"","sources":["../src/v6.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,cAAc,EACd,MAAM,EAEN,KAAK,KAAK,EACV,KAAK,UAAU,EACf,KAAK,MAAM,EACZ,MAAM,iBAAiB,CAAA;AAKxB,cAAc,WAAW,CAAA;AACzB,OAAO,EAAE,cAAc,EAAE,MAAM,EAAE,CAAA;AACjC,YAAY,EAAE,KAAK,IAAI,OAAO,EAAE,UAAU,IAAI,YAAY,EAAE,MAAM,IAAI,QAAQ,EAAE,CAAA;AAEhF,sFAAsF;AACtF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGC,CAAA;AAEpB,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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