@tamagui/config 3.0.0-beta.1313.1 → 3.0.0-beta.1341.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.
@@ -21,8 +21,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var settings_exports = {};
22
22
  __export(settings_exports, {
23
23
  selectionStyles: () => selectionStyles,
24
- settings: () => settings,
25
- sizes: () => sizes
24
+ settings: () => settings
26
25
  });
27
26
  module.exports = __toCommonJS(settings_exports);
28
27
  var import_media = require("./media.cjs");
@@ -41,36 +40,3 @@ const settings = {
41
40
  onlyAllowShorthands: true,
42
41
  styleCompat: "web"
43
42
  };
44
- const sizes = {
45
- default: "md",
46
- xs: {
47
- fontSize: "2",
48
- paddingX: "2",
49
- paddingY: "1-5",
50
- radius: "2"
51
- },
52
- sm: {
53
- fontSize: "3",
54
- paddingX: "3",
55
- paddingY: "2",
56
- radius: "3"
57
- },
58
- md: {
59
- fontSize: "4",
60
- paddingX: "4",
61
- paddingY: "2",
62
- radius: "4"
63
- },
64
- lg: {
65
- fontSize: "5",
66
- paddingX: "5",
67
- paddingY: "2-5",
68
- radius: "5"
69
- },
70
- xl: {
71
- fontSize: "6",
72
- paddingX: "6",
73
- paddingY: "3",
74
- radius: "6"
75
- }
76
- };
@@ -23,8 +23,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
23
23
  var settings_exports = {};
24
24
  __export(settings_exports, {
25
25
  selectionStyles: () => selectionStyles,
26
- settings: () => settings,
27
- sizes: () => sizes
26
+ settings: () => settings
28
27
  });
29
28
  module.exports = __toCommonJS(settings_exports);
30
29
  var import_media = require("./media.native.js");
@@ -45,36 +44,3 @@ var settings = {
45
44
  onlyAllowShorthands: true,
46
45
  styleCompat: "web"
47
46
  };
48
- var sizes = {
49
- default: "md",
50
- xs: {
51
- fontSize: "2",
52
- paddingX: "2",
53
- paddingY: "1-5",
54
- radius: "2"
55
- },
56
- sm: {
57
- fontSize: "3",
58
- paddingX: "3",
59
- paddingY: "2",
60
- radius: "3"
61
- },
62
- md: {
63
- fontSize: "4",
64
- paddingX: "4",
65
- paddingY: "2",
66
- radius: "4"
67
- },
68
- lg: {
69
- fontSize: "5",
70
- paddingX: "5",
71
- paddingY: "2-5",
72
- radius: "5"
73
- },
74
- xl: {
75
- fontSize: "6",
76
- paddingX: "6",
77
- paddingY: "3",
78
- radius: "6"
79
- }
80
- };
@@ -23,8 +23,7 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
23
23
  var settings_exports = {};
24
24
  __export(settings_exports, {
25
25
  selectionStyles: () => selectionStyles,
26
- settings: () => settings,
27
- sizes: () => sizes
26
+ settings: () => settings
28
27
  });
29
28
  module.exports = __toCommonJS(settings_exports);
30
29
  var import_media = require("./media.native.js");
@@ -45,38 +44,5 @@ var settings = {
45
44
  onlyAllowShorthands: true,
46
45
  styleCompat: "web"
47
46
  };
48
- var sizes = {
49
- default: "md",
50
- xs: {
51
- fontSize: "2",
52
- paddingX: "2",
53
- paddingY: "1-5",
54
- radius: "2"
55
- },
56
- sm: {
57
- fontSize: "3",
58
- paddingX: "3",
59
- paddingY: "2",
60
- radius: "3"
61
- },
62
- md: {
63
- fontSize: "4",
64
- paddingX: "4",
65
- paddingY: "2",
66
- radius: "4"
67
- },
68
- lg: {
69
- fontSize: "5",
70
- paddingX: "5",
71
- paddingY: "2-5",
72
- radius: "5"
73
- },
74
- xl: {
75
- fontSize: "6",
76
- paddingX: "6",
77
- paddingY: "3",
78
- radius: "6"
79
- }
80
- };
81
47
 
82
48
  //# sourceMappingURL=settings.native.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"settings.native.js","names":[],"sources":["cjs/settings.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 settings_exports = {};\n__export(settings_exports, {\n selectionStyles: () => selectionStyles,\n settings: () => settings,\n sizes: () => sizes\n});\nmodule.exports = __toCommonJS(settings_exports);\nvar import_media = require(\"./media\");\nvar selectionStyles = function(theme) {\n return theme.color5 ? {\n backgroundColor: theme.color5,\n color: theme.color11\n } : null;\n};\nvar settings = {\n mediaQueryDefaultActive: import_media.mediaQueryDefaultActive,\n selectionStyles,\n defaultFont: \"body\",\n fastSchemeChange: true,\n shouldAddPrefersColorThemes: true,\n allowedStyleValues: \"somewhat-strict-web\",\n addThemeClassName: \"html\",\n onlyAllowShorthands: true,\n styleCompat: \"web\"\n};\nvar sizes = {\n default: \"md\",\n xs: {\n fontSize: \"2\",\n paddingX: \"2\",\n paddingY: \"1-5\",\n radius: \"2\"\n },\n sm: {\n fontSize: \"3\",\n paddingX: \"3\",\n paddingY: \"2\",\n radius: \"3\"\n },\n md: {\n fontSize: \"4\",\n paddingX: \"4\",\n paddingY: \"2\",\n radius: \"4\"\n },\n lg: {\n fontSize: \"5\",\n paddingX: \"5\",\n paddingY: \"2-5\",\n radius: \"5\"\n },\n xl: {\n fontSize: \"6\",\n paddingX: \"6\",\n paddingY: \"3\",\n radius: \"6\"\n }\n};\n//# sourceMappingURL=settings.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AAC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CACA,IAAI;EACF,UAAU;EACV,UAAU;EACV,UAAU;EACV,QAAQ;CACV;AACF"}
1
+ {"version":3,"file":"settings.native.js","names":[],"sources":["cjs/settings.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 settings_exports = {};\n__export(settings_exports, {\n selectionStyles: () => selectionStyles,\n settings: () => settings\n});\nmodule.exports = __toCommonJS(settings_exports);\nvar import_media = require(\"./media\");\nvar selectionStyles = function(theme) {\n return theme.color5 ? {\n backgroundColor: theme.color5,\n color: theme.color11\n } : null;\n};\nvar settings = {\n mediaQueryDefaultActive: import_media.mediaQueryDefaultActive,\n selectionStyles,\n defaultFont: \"body\",\n fastSchemeChange: true,\n shouldAddPrefersColorThemes: true,\n allowedStyleValues: \"somewhat-strict-web\",\n addThemeClassName: \"html\",\n onlyAllowShorthands: true,\n styleCompat: \"web\"\n};\n//# sourceMappingURL=settings.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,mBAAmB,CAAC;AACxB,SAAS,kBAAkB;CACzB,uBAAuB;CACvB,gBAAgB;AAClB,CAAC;AACD,OAAO,UAAU,aAAa,gBAAgB;AAC9C,IAAI,eAAe,QAAQ,mBAAS;AACpC,IAAI,kBAAkB,SAAS,OAAO;CACpC,OAAO,MAAM,SAAS;EACpB,iBAAiB,MAAM;EACvB,OAAO,MAAM;CACf,IAAI;AACN;AACA,IAAI,WAAW;CACb,yBAAyB,aAAa;CACtC;CACA,aAAa;CACb,kBAAkB;CAClB,6BAA6B;CAC7B,oBAAoB;CACpB,mBAAmB;CACnB,qBAAqB;CACrB,aAAa;AACf"}
@@ -26,10 +26,9 @@ __export(v5_base_exports, {
26
26
  fonts: () => import_v5_fonts2.fonts,
27
27
  media: () => import_media2.media,
28
28
  mediaQueryDefaultActive: () => import_media2.mediaQueryDefaultActive,
29
- selectionStyles: () => import_settings3.selectionStyles,
30
- settings: () => import_settings3.settings,
29
+ selectionStyles: () => import_settings2.selectionStyles,
30
+ settings: () => import_settings2.settings,
31
31
  shorthands: () => import_v42.shorthands,
32
- sizes: () => import_settings2.sizes,
33
32
  tokens: () => import_v52.tokens
34
33
  });
35
34
  module.exports = __toCommonJS(v5_base_exports);
@@ -39,17 +38,15 @@ var import_v5_fonts = require("./v5-fonts.cjs");
39
38
  var import_media = require("./media.cjs");
40
39
  var import_settings = require("./settings.cjs");
41
40
  var import_v42 = require("@tamagui/shorthands/v4");
42
- var import_settings2 = require("./settings.cjs");
43
41
  var import_v52 = require("@tamagui/themes/v5");
44
42
  var import_v5_fonts2 = require("./v5-fonts.cjs");
45
43
  var import_media2 = require("./media.cjs");
46
- var import_settings3 = require("./settings.cjs");
44
+ var import_settings2 = require("./settings.cjs");
47
45
  const defaultConfig = {
48
46
  media: import_media.media,
49
47
  shorthands: import_v4.shorthands,
50
48
  themes: import_v5.themes,
51
49
  tokens: import_v5.tokens,
52
50
  fonts: import_v5_fonts.fonts,
53
- sizes: import_settings.sizes,
54
51
  settings: import_settings.settings
55
52
  };
@@ -28,10 +28,9 @@ __export(v5_base_exports, {
28
28
  fonts: () => import_v5_fonts2.fonts,
29
29
  media: () => import_media2.media,
30
30
  mediaQueryDefaultActive: () => import_media2.mediaQueryDefaultActive,
31
- selectionStyles: () => import_settings3.selectionStyles,
32
- settings: () => import_settings3.settings,
31
+ selectionStyles: () => import_settings2.selectionStyles,
32
+ settings: () => import_settings2.settings,
33
33
  shorthands: () => import_v42.shorthands,
34
- sizes: () => import_settings2.sizes,
35
34
  tokens: () => import_v52.tokens
36
35
  });
37
36
  module.exports = __toCommonJS(v5_base_exports);
@@ -41,17 +40,15 @@ var import_v5_fonts = require("./v5-fonts.native.js");
41
40
  var import_media = require("./media.native.js");
42
41
  var import_settings = require("./settings.native.js");
43
42
  var import_v42 = require("@tamagui/shorthands/v4");
44
- var import_settings2 = require("./settings.native.js");
45
43
  var import_v52 = require("@tamagui/themes/v5");
46
44
  var import_v5_fonts2 = require("./v5-fonts.native.js");
47
45
  var import_media2 = require("./media.native.js");
48
- var import_settings3 = require("./settings.native.js");
46
+ var import_settings2 = require("./settings.native.js");
49
47
  var defaultConfig = {
50
48
  media: import_media.media,
51
49
  shorthands: import_v4.shorthands,
52
50
  themes: import_v5.themes,
53
51
  tokens: import_v5.tokens,
54
52
  fonts: import_v5_fonts.fonts,
55
- sizes: import_settings.sizes,
56
53
  settings: import_settings.settings
57
54
  };
@@ -28,10 +28,9 @@ __export(v5_base_exports, {
28
28
  fonts: () => import_v5_fonts2.fonts,
29
29
  media: () => import_media2.media,
30
30
  mediaQueryDefaultActive: () => import_media2.mediaQueryDefaultActive,
31
- selectionStyles: () => import_settings3.selectionStyles,
32
- settings: () => import_settings3.settings,
31
+ selectionStyles: () => import_settings2.selectionStyles,
32
+ settings: () => import_settings2.settings,
33
33
  shorthands: () => import_v42.shorthands,
34
- sizes: () => import_settings2.sizes,
35
34
  tokens: () => import_v52.tokens
36
35
  });
37
36
  module.exports = __toCommonJS(v5_base_exports);
@@ -41,18 +40,16 @@ var import_v5_fonts = require("./v5-fonts.native.js");
41
40
  var import_media = require("./media.native.js");
42
41
  var import_settings = require("./settings.native.js");
43
42
  var import_v42 = require("@tamagui/shorthands/v4");
44
- var import_settings2 = require("./settings.native.js");
45
43
  var import_v52 = require("@tamagui/themes/v5");
46
44
  var import_v5_fonts2 = require("./v5-fonts.native.js");
47
45
  var import_media2 = require("./media.native.js");
48
- var import_settings3 = require("./settings.native.js");
46
+ var import_settings2 = require("./settings.native.js");
49
47
  var defaultConfig = {
50
48
  media: import_media.media,
51
49
  shorthands: import_v4.shorthands,
52
50
  themes: import_v5.themes,
53
51
  tokens: import_v5.tokens,
54
52
  fonts: import_v5_fonts.fonts,
55
- sizes: import_settings.sizes,
56
53
  settings: import_settings.settings
57
54
  };
58
55
 
@@ -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_settings3.selectionStyles,\n settings: () => import_settings3.settings,\n shorthands: () => import_v42.shorthands,\n sizes: () => import_settings2.sizes,\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_settings2 = require(\"./settings\");\nvar import_v52 = require(\"@tamagui/themes/v5\");\nvar import_v5_fonts2 = require(\"./v5-fonts\");\nvar import_media2 = require(\"./media\");\nvar import_settings3 = 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 sizes: import_settings.sizes,\n settings: import_settings.settings\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,UAA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Y,UAAU;CACtB,QAAQ,UAAU;CAClB,QAAQ,UAAU;CAClB,OAAO,gBAAgB;CACvB,OAAO,gBAAgB;CACvB,UAAU,gBAAgB;AAC5B"}
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,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,kBAAkB,CAAC;AACvB,SAAS,iBAAiB;CACxB,mBAAmB,cAAc;CACjC,wBAAwB,iBAAiB;CACzC,qBAAqB;CACrB,aAAa,iBAAiB;CAC9B,aAAa,cAAc;CAC3B,+BAA+B,cAAc;CAC7C,uBAAuB,iBAAiB;CACxC,gBAAgB,iBAAiB;CACjC,kBAAkB,WAAW;CAC7B,cAAc,WAAW;AAC3B,CAAC;AACD,OAAO,UAAU,aAAa,eAAe;AAC7C,IAAI,YAAY,QAAQ,wBAAwB;AAChD,IAAI,YAAY,QAAQ,oBAAoB;AAC5C,IAAI,kBAAkB,QAAQ,sBAAY;AAC1C,IAAI,eAAe,QAAQ,mBAAS;AACpC,IAAI,kBAAkB,QAAQ,sBAAY;AAC1C,IAAI,aAAa,QAAQ,wBAAwB;AACjD,IAAI,aAAa,QAAQ,oBAAoB;AAC7C,IAAI,mBAAmB,QAAQ,sBAAY;AAC3C,IAAI,gBAAgB,QAAQ,mBAAS;AACrC,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;AAC5B"}
@@ -29,7 +29,6 @@ __export(v6_base_exports, {
29
29
  selectionStyles: () => selectionStyles,
30
30
  settings: () => settings,
31
31
  shorthands: () => import_v6.shorthands,
32
- sizes: () => sizes,
33
32
  tailwindSource: () => import_v6_tailwind_scales2.tailwindSource,
34
33
  toV6Themes: () => import_v6_themes2.toV6Themes,
35
34
  tokens: () => tokens,
@@ -197,44 +196,10 @@ function themesWithColorScales(themes, scales) {
197
196
  }
198
197
  };
199
198
  }
200
- const sizes = {
201
- default: "md",
202
- xs: {
203
- fontSize: "xs",
204
- paddingX: "2",
205
- paddingY: "1",
206
- radius: "sm"
207
- },
208
- sm: {
209
- fontSize: "sm",
210
- paddingX: "3",
211
- paddingY: "1.5",
212
- radius: "md"
213
- },
214
- md: {
215
- fontSize: "sm",
216
- paddingX: "4",
217
- paddingY: "2",
218
- radius: "md"
219
- },
220
- lg: {
221
- fontSize: "base",
222
- paddingX: "6",
223
- paddingY: "2",
224
- radius: "md"
225
- },
226
- xl: {
227
- fontSize: "lg",
228
- paddingX: "8",
229
- paddingY: "2.5",
230
- radius: "lg"
231
- }
232
- };
233
199
  const alignedConfig = {
234
200
  media: import_media.media,
235
201
  shorthands: import_v6.shorthands,
236
202
  fonts,
237
- sizes,
238
203
  settings
239
204
  };
240
205
  function createV6Config(colors) {
@@ -31,7 +31,6 @@ __export(v6_base_exports, {
31
31
  selectionStyles: () => selectionStyles,
32
32
  settings: () => settings,
33
33
  shorthands: () => import_v6.shorthands,
34
- sizes: () => sizes,
35
34
  tailwindSource: () => import_v6_tailwind_scales2.tailwindSource,
36
35
  toV6Themes: () => import_v6_themes2.toV6Themes,
37
36
  tokens: () => tokens,
@@ -202,44 +201,10 @@ function themesWithColorScales(themes, scales) {
202
201
  }
203
202
  };
204
203
  }
205
- var sizes = {
206
- default: "md",
207
- xs: {
208
- fontSize: "xs",
209
- paddingX: "2",
210
- paddingY: "1",
211
- radius: "sm"
212
- },
213
- sm: {
214
- fontSize: "sm",
215
- paddingX: "3",
216
- paddingY: "1.5",
217
- radius: "md"
218
- },
219
- md: {
220
- fontSize: "sm",
221
- paddingX: "4",
222
- paddingY: "2",
223
- radius: "md"
224
- },
225
- lg: {
226
- fontSize: "base",
227
- paddingX: "6",
228
- paddingY: "2",
229
- radius: "md"
230
- },
231
- xl: {
232
- fontSize: "lg",
233
- paddingX: "8",
234
- paddingY: "2.5",
235
- radius: "lg"
236
- }
237
- };
238
204
  var alignedConfig = {
239
205
  media: import_media.media,
240
206
  shorthands: import_v6.shorthands,
241
207
  fonts,
242
- sizes,
243
208
  settings
244
209
  };
245
210
  function createV6Config(colors) {
@@ -31,7 +31,6 @@ __export(v6_base_exports, {
31
31
  selectionStyles: () => selectionStyles,
32
32
  settings: () => settings,
33
33
  shorthands: () => import_v6.shorthands,
34
- sizes: () => sizes,
35
34
  tailwindSource: () => import_v6_tailwind_scales2.tailwindSource,
36
35
  toV6Themes: () => import_v6_themes2.toV6Themes,
37
36
  tokens: () => tokens,
@@ -202,44 +201,10 @@ function themesWithColorScales(themes, scales) {
202
201
  }
203
202
  };
204
203
  }
205
- var sizes = {
206
- default: "md",
207
- xs: {
208
- fontSize: "xs",
209
- paddingX: "2",
210
- paddingY: "1",
211
- radius: "sm"
212
- },
213
- sm: {
214
- fontSize: "sm",
215
- paddingX: "3",
216
- paddingY: "1.5",
217
- radius: "md"
218
- },
219
- md: {
220
- fontSize: "sm",
221
- paddingX: "4",
222
- paddingY: "2",
223
- radius: "md"
224
- },
225
- lg: {
226
- fontSize: "base",
227
- paddingX: "6",
228
- paddingY: "2",
229
- radius: "md"
230
- },
231
- xl: {
232
- fontSize: "lg",
233
- paddingX: "8",
234
- paddingY: "2.5",
235
- radius: "lg"
236
- }
237
- };
238
204
  var alignedConfig = {
239
205
  media: import_media.media,
240
206
  shorthands: import_v6.shorthands,
241
207
  fonts,
242
- sizes,
243
208
  settings
244
209
  };
245
210
  function createV6Config(colors) {
@@ -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 sizes: () => sizes,\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 sizes = {\n default: \"md\",\n xs: {\n fontSize: \"xs\",\n paddingX: \"2\",\n paddingY: \"1\",\n radius: \"sm\"\n },\n sm: {\n fontSize: \"sm\",\n paddingX: \"3\",\n paddingY: \"1.5\",\n radius: \"md\"\n },\n md: {\n fontSize: \"sm\",\n paddingX: \"4\",\n paddingY: \"2\",\n radius: \"md\"\n },\n lg: {\n fontSize: \"base\",\n paddingX: \"6\",\n paddingY: \"2\",\n radius: \"md\"\n },\n xl: {\n fontSize: \"lg\",\n paddingX: \"8\",\n paddingY: \"2.5\",\n radius: \"lg\"\n }\n};\nvar alignedConfig = {\n media: import_media.media,\n shorthands: import_v6.shorthands,\n fonts,\n sizes,\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,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AAO,SAAS,sBAAsB,OAAO,QAAQ,OAAO,MAAM,IAAI,OAAO;EACrF,QAAQ,OAAO,cAAc;GAC3B,GAAG;GACH,OAAO,OAAO;EAChB,IAAI;CACN;AACF"}
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,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,kBAAkB,CAAC;AACvB,SAAS,iBAAiB;CACxB,mBAAmB,cAAc;CACjC,wBAAwB,cAAc;CACtC,sBAAsB;CACtB,aAAa;CACb,aAAa,cAAc;CAC3B,+BAA+B,cAAc;CAC7C,uBAAuB;CACvB,gBAAgB;CAChB,kBAAkB,UAAU;CAC5B,sBAAsB,2BAA2B;CACjD,kBAAkB,kBAAkB;CACpC,cAAc;CACd,2BAA2B,iBAAiB;CAC5C,+BAA+B,iBAAiB;CAChD,6BAA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AI,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;AACF;AACA,SAAS,eAAe,QAAQ;CAC9B,OAAO;EACL,GAAG;EACH,QAAQ,OAAO,SAAS,sBAAsB,OAAO,QAAQ,OAAO,MAAM,IAAI,OAAO;EACrF,QAAQ,OAAO,cAAc;GAC3B,GAAG;GACH,OAAO,OAAO;EAChB,IAAI;CACN;AACF"}
@@ -15,39 +15,6 @@ const settings = {
15
15
  onlyAllowShorthands: true,
16
16
  styleCompat: "web"
17
17
  };
18
- const sizes = {
19
- default: "md",
20
- xs: {
21
- fontSize: "2",
22
- paddingX: "2",
23
- paddingY: "1-5",
24
- radius: "2"
25
- },
26
- sm: {
27
- fontSize: "3",
28
- paddingX: "3",
29
- paddingY: "2",
30
- radius: "3"
31
- },
32
- md: {
33
- fontSize: "4",
34
- paddingX: "4",
35
- paddingY: "2",
36
- radius: "4"
37
- },
38
- lg: {
39
- fontSize: "5",
40
- paddingX: "5",
41
- paddingY: "2-5",
42
- radius: "5"
43
- },
44
- xl: {
45
- fontSize: "6",
46
- paddingX: "6",
47
- paddingY: "3",
48
- radius: "6"
49
- }
50
- };
51
18
 
52
- export { selectionStyles, settings, sizes };
19
+ export { selectionStyles, settings };
53
20
  //# sourceMappingURL=settings.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"settings.js","names":[],"sources":["esm/settings.js"],"sourcesContent":["import { mediaQueryDefaultActive } from \"./media\";\nconst selectionStyles = (theme) => theme.color5 ? {\n backgroundColor: theme.color5,\n color: theme.color11\n} : null;\nconst settings = {\n mediaQueryDefaultActive,\n selectionStyles,\n defaultFont: \"body\",\n fastSchemeChange: true,\n shouldAddPrefersColorThemes: true,\n allowedStyleValues: \"somewhat-strict-web\",\n addThemeClassName: \"html\",\n onlyAllowShorthands: true,\n styleCompat: \"web\"\n};\nconst sizes = {\n default: \"md\",\n xs: { fontSize: \"2\", paddingX: \"2\", paddingY: \"1-5\", radius: \"2\" },\n sm: { fontSize: \"3\", paddingX: \"3\", paddingY: \"2\", radius: \"3\" },\n md: { fontSize: \"4\", paddingX: \"4\", paddingY: \"2\", radius: \"4\" },\n lg: { fontSize: \"5\", paddingX: \"5\", paddingY: \"2-5\", radius: \"5\" },\n xl: { fontSize: \"6\", paddingX: \"6\", paddingY: \"3\", radius: \"6\" }\n};\nexport {\n selectionStyles,\n settings,\n sizes\n};\n//# sourceMappingURL=settings.js.map\n"],"mappings":";;;AACA,MAAM,mBAAmB,UAAU,MAAM,SAAS;CAChD,iBAAiB,MAAM;CACvB,OAAO,MAAM;AACf,IAAI;AACJ,MAAM,WAAW;CACf;CACA;CACA,aAAa;CACb,kBAAkB;CAClB,6BAA6B;CAC7B,oBAAoB;CACpB,mBAAmB;CACnB,qBAAqB;CACrB,aAAa;AACf;AACA,MAAM,QAAQ;CACZ,SAAS;CACT,IAAI;EAAE,UAAU;EAAK,UAAU;EAAK,UAAU;EAAO,QAAQ;CAAI;CACjE,IAAI;EAAE,UAAU;EAAK,UAAU;EAAK,UAAU;EAAK,QAAQ;CAAI;CAC/D,IAAI;EAAE,UAAU;EAAK,UAAU;EAAK,UAAU;EAAK,QAAQ;CAAI;CAC/D,IAAI;EAAE,UAAU;EAAK,UAAU;EAAK,UAAU;EAAO,QAAQ;CAAI;CACjE,IAAI;EAAE,UAAU;EAAK,UAAU;EAAK,UAAU;EAAK,QAAQ;CAAI;AACjE"}
1
+ {"version":3,"file":"settings.js","names":[],"sources":["esm/settings.js"],"sourcesContent":["import { mediaQueryDefaultActive } from \"./media\";\nconst selectionStyles = (theme) => theme.color5 ? {\n backgroundColor: theme.color5,\n color: theme.color11\n} : null;\nconst settings = {\n mediaQueryDefaultActive,\n selectionStyles,\n defaultFont: \"body\",\n fastSchemeChange: true,\n shouldAddPrefersColorThemes: true,\n allowedStyleValues: \"somewhat-strict-web\",\n addThemeClassName: \"html\",\n onlyAllowShorthands: true,\n styleCompat: \"web\"\n};\nexport {\n selectionStyles,\n settings\n};\n//# sourceMappingURL=settings.js.map\n"],"mappings":";;;AACA,MAAM,mBAAmB,UAAU,MAAM,SAAS;CAChD,iBAAiB,MAAM;CACvB,OAAO,MAAM;AACf,IAAI;AACJ,MAAM,WAAW;CACf;CACA;CACA,aAAa;CACb,kBAAkB;CAClB,6BAA6B;CAC7B,oBAAoB;CACpB,mBAAmB;CACnB,qBAAqB;CACrB,aAAa;AACf"}
@@ -17,39 +17,6 @@ var settings = {
17
17
  onlyAllowShorthands: true,
18
18
  styleCompat: "web"
19
19
  };
20
- var sizes = {
21
- default: "md",
22
- xs: {
23
- fontSize: "2",
24
- paddingX: "2",
25
- paddingY: "1-5",
26
- radius: "2"
27
- },
28
- sm: {
29
- fontSize: "3",
30
- paddingX: "3",
31
- paddingY: "2",
32
- radius: "3"
33
- },
34
- md: {
35
- fontSize: "4",
36
- paddingX: "4",
37
- paddingY: "2",
38
- radius: "4"
39
- },
40
- lg: {
41
- fontSize: "5",
42
- paddingX: "5",
43
- paddingY: "2-5",
44
- radius: "5"
45
- },
46
- xl: {
47
- fontSize: "6",
48
- paddingX: "6",
49
- paddingY: "3",
50
- radius: "6"
51
- }
52
- };
53
20
 
54
- export { selectionStyles, settings, sizes };
21
+ export { selectionStyles, settings };
55
22
  //# sourceMappingURL=settings.native.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"settings.native.js","names":[],"sources":["esm/settings.native.js"],"sourcesContent":["import { mediaQueryDefaultActive } from \"./media\";\nvar selectionStyles = function(theme) {\n return theme.color5 ? {\n backgroundColor: theme.color5,\n color: theme.color11\n } : null;\n};\nvar settings = {\n mediaQueryDefaultActive,\n selectionStyles,\n defaultFont: \"body\",\n fastSchemeChange: true,\n shouldAddPrefersColorThemes: true,\n allowedStyleValues: \"somewhat-strict-web\",\n addThemeClassName: \"html\",\n onlyAllowShorthands: true,\n styleCompat: \"web\"\n};\nvar sizes = {\n default: \"md\",\n xs: {\n fontSize: \"2\",\n paddingX: \"2\",\n paddingY: \"1-5\",\n radius: \"2\"\n },\n sm: {\n fontSize: \"3\",\n paddingX: \"3\",\n paddingY: \"2\",\n radius: \"3\"\n },\n md: {\n fontSize: \"4\",\n paddingX: \"4\",\n paddingY: \"2\",\n radius: \"4\"\n },\n lg: {\n fontSize: \"5\",\n paddingX: \"5\",\n paddingY: \"2-5\",\n radius: \"5\"\n },\n xl: {\n fontSize: \"6\",\n paddingX: \"6\",\n paddingY: \"3\",\n radius: \"6\"\n }\n};\nexport {\n selectionStyles,\n settings,\n sizes\n};\n//# sourceMappingURL=settings.js.map\n"],"mappings":";;;AACA,IAAI,kBAAkB,SAAS,OAAO;CACpC,OAAO,MAAM,SAAS;EACpB,iBAAiB,MAAM;EACvB,OAAO,MAAM;CACf,IAAI;AACN;AACA,IAAI,WAAW;CACb;CACA;CACA,aAAa;CACb,kBAAkB;CAClB,6BAA6B;CAC7B,oBAAoB;CACpB,mBAAmB;CACnB,qBAAqB;CACrB,aAAa;AACf;AACA,IAAI,QAAQ;CACV,SAAS;CACT,IAAI;EACF,UAAU;EACV,UAAU;EACV,UAAU;EACV,QAAQ;CACV;CACA,IAAI;EACF,UAAU;EACV,UAAU;EACV,UAAU;EACV,QAAQ;CACV;CACA,IAAI;EACF,UAAU;EACV,UAAU;EACV,UAAU;EACV,QAAQ;CACV;CACA,IAAI;EACF,UAAU;EACV,UAAU;EACV,UAAU;EACV,QAAQ;CACV;CACA,IAAI;EACF,UAAU;EACV,UAAU;EACV,UAAU;EACV,QAAQ;CACV;AACF"}
1
+ {"version":3,"file":"settings.native.js","names":[],"sources":["esm/settings.native.js"],"sourcesContent":["import { mediaQueryDefaultActive } from \"./media\";\nvar selectionStyles = function(theme) {\n return theme.color5 ? {\n backgroundColor: theme.color5,\n color: theme.color11\n } : null;\n};\nvar settings = {\n mediaQueryDefaultActive,\n selectionStyles,\n defaultFont: \"body\",\n fastSchemeChange: true,\n shouldAddPrefersColorThemes: true,\n allowedStyleValues: \"somewhat-strict-web\",\n addThemeClassName: \"html\",\n onlyAllowShorthands: true,\n styleCompat: \"web\"\n};\nexport {\n selectionStyles,\n settings\n};\n//# sourceMappingURL=settings.js.map\n"],"mappings":";;;AACA,IAAI,kBAAkB,SAAS,OAAO;CACpC,OAAO,MAAM,SAAS;EACpB,iBAAiB,MAAM;EACvB,OAAO,MAAM;CACf,IAAI;AACN;AACA,IAAI,WAAW;CACb;CACA;CACA,aAAa;CACb,kBAAkB;CAClB,6BAA6B;CAC7B,oBAAoB;CACpB,mBAAmB;CACnB,qBAAqB;CACrB,aAAa;AACf"}
@@ -2,7 +2,7 @@ import { shorthands, shorthands as shorthands2 } from "@tamagui/shorthands/v4";
2
2
  import { themes, tokens, tokens as tokens2 } from "@tamagui/themes/v5";
3
3
  import { createSystemFont, fonts, fonts as fonts2 } from "./v5-fonts.mjs";
4
4
  import { breakpoints, media, media as media2, mediaQueryDefaultActive } from "./media.mjs";
5
- import { selectionStyles as selectionStyles2, settings, settings as settings2, sizes, sizes as sizes2 } from "./settings.mjs";
5
+ import { selectionStyles as selectionStyles2, settings, settings as settings2 } from "./settings.mjs";
6
6
 
7
7
  const defaultConfig = {
8
8
  media,
@@ -10,9 +10,8 @@ const defaultConfig = {
10
10
  themes,
11
11
  tokens,
12
12
  fonts,
13
- sizes,
14
13
  settings
15
14
  };
16
15
 
17
- export { breakpoints, createSystemFont, defaultConfig, fonts2 as fonts, media2 as media, mediaQueryDefaultActive, selectionStyles2 as selectionStyles, settings2 as settings, shorthands2 as shorthands, sizes2 as sizes, tokens2 as tokens };
16
+ export { breakpoints, createSystemFont, defaultConfig, fonts2 as fonts, media2 as media, mediaQueryDefaultActive, selectionStyles2 as selectionStyles, settings2 as settings, shorthands2 as shorthands, tokens2 as tokens };
18
17
  //# sourceMappingURL=v5-base.mjs.map
@@ -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, sizes } from \"./settings\";\nimport { shorthands as shorthands2 } from \"@tamagui/shorthands/v4\";\nimport { sizes as sizes2 } from \"./settings\";\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 sizes,\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 sizes2 as sizes,\n tokens2 as tokens\n};\n//# sourceMappingURL=v5-base.js.map\n"],"mappings":";;;;;;;AAaA,MAAM,gBAAgB;CACpB;CACA;CACA;CACA;CACA;CACA;CACA;AACF"}
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;AACF"}
@@ -2,7 +2,7 @@ import { shorthands, shorthands as shorthands2 } from "@tamagui/shorthands/v4";
2
2
  import { themes, tokens, tokens as tokens2 } from "@tamagui/themes/v5";
3
3
  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
- import { selectionStyles, settings, settings as settings2, sizes, sizes as sizes2 } from "./settings.native.js";
5
+ import { selectionStyles, settings, settings as settings2 } from "./settings.native.js";
6
6
 
7
7
  var defaultConfig = {
8
8
  media,
@@ -10,9 +10,8 @@ var defaultConfig = {
10
10
  themes,
11
11
  tokens,
12
12
  fonts,
13
- sizes,
14
13
  settings
15
14
  };
16
15
 
17
- export { breakpoints, createSystemFont, defaultConfig, fonts2 as fonts, media2 as media, mediaQueryDefaultActive, selectionStyles, settings2 as settings, shorthands2 as shorthands, sizes2 as sizes, tokens2 as tokens };
16
+ export { breakpoints, createSystemFont, defaultConfig, fonts2 as fonts, media2 as media, mediaQueryDefaultActive, selectionStyles, settings2 as settings, shorthands2 as shorthands, tokens2 as tokens };
18
17
  //# 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, sizes } from \"./settings\";\nimport { shorthands as shorthands2 } from \"@tamagui/shorthands/v4\";\nimport { sizes as sizes2 } from \"./settings\";\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 sizes,\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 sizes2 as sizes,\n tokens2 as tokens\n};\n//# sourceMappingURL=v5-base.js.map\n"],"mappings":";;;;;;;AAWA,IAAI,gBAAgB;CAClB;CACA;CACA;CACA;CACA;CACA;CACA;AACF"}
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;AACF"}
@@ -155,44 +155,10 @@ function themesWithColorScales(themes, scales) {
155
155
  }
156
156
  };
157
157
  }
158
- const sizes = {
159
- default: "md",
160
- xs: {
161
- fontSize: "xs",
162
- paddingX: "2",
163
- paddingY: "1",
164
- radius: "sm"
165
- },
166
- sm: {
167
- fontSize: "sm",
168
- paddingX: "3",
169
- paddingY: "1.5",
170
- radius: "md"
171
- },
172
- md: {
173
- fontSize: "sm",
174
- paddingX: "4",
175
- paddingY: "2",
176
- radius: "md"
177
- },
178
- lg: {
179
- fontSize: "base",
180
- paddingX: "6",
181
- paddingY: "2",
182
- radius: "md"
183
- },
184
- xl: {
185
- fontSize: "lg",
186
- paddingX: "8",
187
- paddingY: "2.5",
188
- radius: "lg"
189
- }
190
- };
191
158
  const alignedConfig = {
192
159
  media,
193
160
  shorthands,
194
161
  fonts,
195
- sizes,
196
162
  settings
197
163
  };
198
164
  function createV6Config(colors) {
@@ -206,5 +172,5 @@ function createV6Config(colors) {
206
172
  };
207
173
  }
208
174
 
209
- export { breakpoints, createSystemFont, createV6Config, fonts, media2 as media, mediaQueryDefaultActive, selectionStyles, settings, shorthands, sizes, tailwindSource, toV6Themes, tokens, v6RemovedThemeNames, v6ThemeNameReplacements, withTailwindTypeScale };
175
+ export { breakpoints, createSystemFont, createV6Config, fonts, media2 as media, mediaQueryDefaultActive, selectionStyles, settings, shorthands, tailwindSource, toV6Themes, tokens, v6RemovedThemeNames, v6ThemeNameReplacements, withTailwindTypeScale };
210
176
  //# sourceMappingURL=v6-base.mjs.map
@@ -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 sizes = {\n default: \"md\",\n xs: { fontSize: \"xs\", paddingX: \"2\", paddingY: \"1\", radius: \"sm\" },\n sm: { fontSize: \"sm\", paddingX: \"3\", paddingY: \"1.5\", radius: \"md\" },\n md: { fontSize: \"sm\", paddingX: \"4\", paddingY: \"2\", radius: \"md\" },\n lg: { fontSize: \"base\", paddingX: \"6\", paddingY: \"2\", radius: \"md\" },\n xl: { fontSize: \"lg\", paddingX: \"8\", paddingY: \"2.5\", radius: \"lg\" }\n};\nconst alignedConfig = {\n media,\n shorthands,\n fonts,\n sizes,\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 sizes,\n tailwindSource,\n toV6Themes,\n tokens,\n v6RemovedThemeNames,\n v6ThemeNameReplacements,\n withTailwindTypeScale\n};\n//# sourceMappingURL=v6-base.js.map\n"],"mappings":";;;;;;;;;AAmBA,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;EACH,GAAG;EACH,GAAG;EACH,GAAG;CACL;CACA,eAAe;EACb,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,MAAM,CAAC;EACP,MAAM,CAAC;EACP,MAAM,CAAC;EACP,MAAM,CAAC;CACT;CACA,WAAW;EACT,OAAO;EACP,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,OAAO;CACT;CACA,aAAa;EACX,UAAU;EACV,MAAM;EACN,QAAQ;EACR,UAAU;EACV,SAA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;EAAK,UAAU;EAAK,QAAQ;CAAK;CACjE,IAAI;EAAE,UAAU;EAAM,UAAU;EAAK,UAAU;EAAO,QAAQ;CAAK;CACnE,IAAI;EAAE,UAAU;EAAM,UAAU;EAAK,UAAU;EAAK,QAAQ;CAAK;CACjE,IAAI;EAAE,UAAU;EAAQ,UAAU;EAAK,UAAU;EAAK,QAAQ;CAAK;CACnE,IAAI;EAAE,UAAU;EAAM,UAAU;EAAK,UAAU;EAAO,QAAQ;CAAK;AACrE;AACA,MAAM,gBAAgB;CACpB;CACA;CACA;CACA;CACA;AACF;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
+ {"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":";;;;;;;;;AAmBA,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;C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;CACd,KAAK,MAAM,QAAQ,QAAQ;EACzB,MAAM,QAAQ,OAAO;EACrB,IAAI,MAAM,MAAM,WAAW,MAAM,MAAM,KAAK,WAAW,IAAI;GACzD,MAAM,IAAI,MACR,gBAAgB,KAAK,mDAAmD,MAAM,MAAM,OAAO,GAAG,MAAM,KAAK,QAC3G;EACF;EACA,MAAM,MAAM,SAAS,OAAO,UAAU;GACpC,MAAM,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;AACF;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"}
@@ -158,44 +158,10 @@ function themesWithColorScales(themes, scales) {
158
158
  }
159
159
  };
160
160
  }
161
- var sizes = {
162
- default: "md",
163
- xs: {
164
- fontSize: "xs",
165
- paddingX: "2",
166
- paddingY: "1",
167
- radius: "sm"
168
- },
169
- sm: {
170
- fontSize: "sm",
171
- paddingX: "3",
172
- paddingY: "1.5",
173
- radius: "md"
174
- },
175
- md: {
176
- fontSize: "sm",
177
- paddingX: "4",
178
- paddingY: "2",
179
- radius: "md"
180
- },
181
- lg: {
182
- fontSize: "base",
183
- paddingX: "6",
184
- paddingY: "2",
185
- radius: "md"
186
- },
187
- xl: {
188
- fontSize: "lg",
189
- paddingX: "8",
190
- paddingY: "2.5",
191
- radius: "lg"
192
- }
193
- };
194
161
  var alignedConfig = {
195
162
  media,
196
163
  shorthands,
197
164
  fonts,
198
- sizes,
199
165
  settings
200
166
  };
201
167
  function createV6Config(colors) {
@@ -209,5 +175,5 @@ function createV6Config(colors) {
209
175
  };
210
176
  }
211
177
 
212
- export { breakpoints, createSystemFont, createV6Config, fonts, media2 as media, mediaQueryDefaultActive, selectionStyles, settings, shorthands, sizes, tailwindSource, toV6Themes, tokens, v6RemovedThemeNames, v6ThemeNameReplacements, withTailwindTypeScale };
178
+ export { breakpoints, createSystemFont, createV6Config, fonts, media2 as media, mediaQueryDefaultActive, selectionStyles, settings, shorthands, tailwindSource, toV6Themes, tokens, v6RemovedThemeNames, v6ThemeNameReplacements, withTailwindTypeScale };
213
179
  //# 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 sizes = {\n default: \"md\",\n xs: {\n fontSize: \"xs\",\n paddingX: \"2\",\n paddingY: \"1\",\n radius: \"sm\"\n },\n sm: {\n fontSize: \"sm\",\n paddingX: \"3\",\n paddingY: \"1.5\",\n radius: \"md\"\n },\n md: {\n fontSize: \"sm\",\n paddingX: \"4\",\n paddingY: \"2\",\n radius: \"md\"\n },\n lg: {\n fontSize: \"base\",\n paddingX: \"6\",\n paddingY: \"2\",\n radius: \"md\"\n },\n xl: {\n fontSize: \"lg\",\n paddingX: \"8\",\n paddingY: \"2.5\",\n radius: \"lg\"\n }\n};\nvar alignedConfig = {\n media,\n shorthands,\n fonts,\n sizes,\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 sizes,\n tailwindSource,\n toV6Themes,\n tokens,\n v6RemovedThemeNames,\n v6ThemeNameReplacements,\n withTailwindTypeScale\n};\n//# sourceMappingURL=v6-base.js.map\n"],"mappings":";;;;;;;;;AAUA,IAAI,wBAAwB;CAC1B,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,IAAI,SAAS;CACX,OAAO;CACP,MAAM;CACN,OAAO;EACL,GAAG;EACH,GAAG;CACL;CACA,UAAU;EACR,GAAG;EACH,GAAG;CACL;CACA,UAAU;EACR,GAAG;EACH,GAAG;CACL;CACA,YAAY;EACV,GAAG;EACH,GAAG;CACL;CACA,eAAe;EACb,GAAG;EACH,GAAG;CACL;CACA,eAAe;EACb,GAAG;EACH,GAAG;CACL;CACA,WAAW;EACT,GAAG;EACH,GAAG;CACL;CACA,cAAc;EACZ,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;CACL;CACA,eAAe;EACb,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,MAAM,CAAC;EACP,MAAM,CAAC;EACP,MAAM,CAAC;EACP,MAAM,CAAC;CACT;CACA,WAAW;EACT,OAAO;EACP,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,OAAO;CACT;CACA,aAAa;EACX,UAAU;EACV,MAAM;EACN,QAAQ;EACR,UAAU;EACV,SAAS;CACX;CACA,QAAQ;EACN,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,GAAG;EACH,IAAI;EACJ,IAAI;EACJ,IAAI;EACJ,GAAG;CACL;AACF;AACA,SAAS,sBAAsB,MAAM;CACnC,OAAO;EACL,GAAG;EACH,MAAM;GACJ,GAAG,KAAK;GACR,GAAG;EACL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I;EACF,UAAU;EACV,UAAU;EACV,UAAU;EACV,QAAQ;CACV;AACF;AACA,IAAI,gBAAgB;CAClB;CACA;CACA;CACA;CACA;AACF;AACA,SAAS,eAAe,QAAQ;CAC9B,OAAO;EACL,GAAG;EACH,QAAQ,OAAO,SAAS,sBAAsB,OAAO,QAAQ,OAAO,MAAM,IAAI,OAAO;EACrF,QAAQ,OAAO,cAAc;GAC3B,GAAG;GACH,OAAO,OAAO;EAChB,IAAI;CACN;AACF"}
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":";;;;;;;;;AAUA,IAAI,wBAAwB;CAC1B,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,IAAI,SAAS;CACX,OAAO;CACP,MAAM;CACN,OAAO;EACL,GAAG;EACH,GAAG;CACL;CACA,UAAU;EACR,GAAG;EACH,GAAG;CACL;CACA,UAAU;EACR,GAAG;EACH,GAAG;CACL;CACA,YAAY;EACV,GAAG;EACH,GAAG;CACL;CACA,eAAe;EACb,GAAG;EACH,GAAG;CACL;CACA,eAAe;EACb,GAAG;EACH,GAAG;CACL;CACA,WAAW;EACT,GAA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AS,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;CACA;CACA;CACA;AACF;AACA,SAAS,eAAe,QAAQ;CAC9B,OAAO;EACL,GAAG;EACH,QAAQ,OAAO,SAAS,sBAAsB,OAAO,QAAQ,OAAO,MAAM,IAAI,OAAO;EACrF,QAAQ,OAAO,cAAc;GAC3B,GAAG;GACH,OAAO,OAAO;EAChB,IAAI;CACN;AACF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/config",
3
- "version": "3.0.0-beta.1313.1",
3
+ "version": "3.0.0-beta.1341.1",
4
4
  "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.1313.1",
181
- "@tamagui/animations-css": "3.0.0-beta.1313.1",
182
- "@tamagui/animations-motion": "3.0.0-beta.1313.1",
183
- "@tamagui/animations-react-native": "3.0.0-beta.1313.1",
184
- "@tamagui/animations-reanimated": "3.0.0-beta.1313.1",
185
- "@tamagui/create-system-font": "3.0.0-beta.1313.1",
186
- "@tamagui/shorthands": "3.0.0-beta.1313.1",
187
- "@tamagui/style-grammar": "3.0.0-beta.1313.1",
188
- "@tamagui/themes": "3.0.0-beta.1313.1",
189
- "@tamagui/web": "3.0.0-beta.1313.1"
180
+ "@tamagui/animation-helpers": "3.0.0-beta.1341.1",
181
+ "@tamagui/animations-css": "3.0.0-beta.1341.1",
182
+ "@tamagui/animations-motion": "3.0.0-beta.1341.1",
183
+ "@tamagui/animations-react-native": "3.0.0-beta.1341.1",
184
+ "@tamagui/animations-reanimated": "3.0.0-beta.1341.1",
185
+ "@tamagui/create-system-font": "3.0.0-beta.1341.1",
186
+ "@tamagui/shorthands": "3.0.0-beta.1341.1",
187
+ "@tamagui/style-grammar": "3.0.0-beta.1341.1",
188
+ "@tamagui/themes": "3.0.0-beta.1341.1",
189
+ "@tamagui/web": "3.0.0-beta.1341.1"
190
190
  },
191
191
  "devDependencies": {
192
192
  "@csstools/color-helpers": "6.1.0",
193
- "@tamagui/build": "3.0.0-beta.1313.1",
194
- "@tamagui/cli": "3.0.0-beta.1313.1",
193
+ "@tamagui/build": "3.0.0-beta.1341.1",
194
+ "@tamagui/cli": "3.0.0-beta.1341.1",
195
195
  "tailwindcss": "4.3.0"
196
196
  },
197
197
  "repository": {
package/src/settings.ts CHANGED
@@ -22,16 +22,3 @@ export const settings = {
22
22
  } satisfies CreateTamaguiProps['settings']
23
23
 
24
24
  export type Settings = typeof settings
25
-
26
- /**
27
- * Named control sizes on the v5 scales. v5 space is a fraction of size, so the
28
- * keys step unevenly: space 2 = 7px, 2-5 = 10px, 3 = 13px, 4 = 18px.
29
- */
30
- export const sizes = {
31
- default: 'md',
32
- xs: { fontSize: '2', paddingX: '2', paddingY: '1-5', radius: '2' },
33
- sm: { fontSize: '3', paddingX: '3', paddingY: '2', radius: '3' },
34
- md: { fontSize: '4', paddingX: '4', paddingY: '2', radius: '4' },
35
- lg: { fontSize: '5', paddingX: '5', paddingY: '2-5', radius: '5' },
36
- xl: { fontSize: '6', paddingX: '6', paddingY: '3', radius: '6' },
37
- } as const
package/src/v5-base.ts CHANGED
@@ -6,11 +6,10 @@ import { fonts } from './v5-fonts'
6
6
  import type { V5Fonts } from './v5-fonts'
7
7
  import { media } from './media'
8
8
  import type { Media as V5Media } from './media'
9
- import { selectionStyles, settings, sizes } from './settings'
9
+ import { selectionStyles, settings } from './settings'
10
10
  import type { Settings as V5Settings } from './settings'
11
11
 
12
12
  export { shorthands } from '@tamagui/shorthands/v4'
13
- export { sizes } from './settings'
14
13
  // static re-exports only, so this compatibility config stays free of the
15
14
  // retired v5 theme builder on native.
16
15
  export {
@@ -34,7 +33,6 @@ export type V5DefaultConfig = {
34
33
  tokens: V5Tokens
35
34
  fonts: V5Fonts
36
35
  settings: V5Settings
37
- sizes: typeof sizes
38
36
  }
39
37
 
40
38
  // base config without animations - users must provide their own
@@ -44,6 +42,5 @@ export const defaultConfig: V5DefaultConfig = {
44
42
  themes,
45
43
  tokens,
46
44
  fonts,
47
- sizes,
48
45
  settings,
49
46
  }
package/src/v5-fonts.ts CHANGED
@@ -15,11 +15,9 @@ const headingLineHeight = (size: number) =>
15
15
  // smooth curve for v6, and a v5 app must not resize when it takes the update
16
16
  const v5Scale = { sizes: v5SystemFontSizes, sizeLineHeight: v5SystemFontLineHeight }
17
17
 
18
- // pin the v5 font size + lineHeight scales to exact "Npx" strings. numbers are
19
- // reserved for the v6 multiplier semantics; px strings mean "exact pixels" and
20
- // are normalized back to numbers (with a needsPx flag) at token creation, so
21
- // rendering is identical to the previous numeric config. the numeric type is
22
- // preserved via cast to avoid widening every font-size consumer.
18
+ // keep v5 font scales explicitly absolute. numeric font definitions also retain
19
+ // pixel units in v3; only authored numeric styles and numeric-string font values
20
+ // express line-height ratios. token creation preserves numeric values for arithmetic.
23
21
  const toPxScale = <T extends Record<string, number>>(obj: T): T =>
24
22
  Object.fromEntries(
25
23
  Object.entries(obj).map(([k, v]) => [k, typeof v === 'number' ? `${v}px` : v])
package/src/v6-base.ts CHANGED
@@ -115,8 +115,7 @@ export const tokens = {
115
115
  } as const
116
116
 
117
117
  /**
118
- * Adds the tailwind type-scale keys (`xs sm base lg xl 2xl ...`) a font needs
119
- * for the named sizes, which read `sizes.md.fontSize` and so on from the font.
118
+ * Adds the tailwind type-scale keys (`xs sm base lg xl 2xl ...`) to a font.
120
119
  * Wrap any font you pass to a v6 config with it.
121
120
  */
122
121
  export function withTailwindTypeScale<F extends { size: object; lineHeight: object }>(
@@ -229,25 +228,10 @@ function themesWithColorScales<
229
228
  } as WithColorScales<Themes, Scales>
230
229
  }
231
230
 
232
- /**
233
- * Named control sizes as recipes of tailwind token keys. Heights are never set:
234
- * a control is line-height plus vertical padding tall, so at `md` a button is
235
- * 20 + 8 + 8 = 36px, shadcn's `h-9 px-4 py-2 text-sm`.
236
- */
237
- export const sizes = {
238
- default: 'md',
239
- xs: { fontSize: 'xs', paddingX: '2', paddingY: '1', radius: 'sm' },
240
- sm: { fontSize: 'sm', paddingX: '3', paddingY: '1.5', radius: 'md' },
241
- md: { fontSize: 'sm', paddingX: '4', paddingY: '2', radius: 'md' },
242
- lg: { fontSize: 'base', paddingX: '6', paddingY: '2', radius: 'md' },
243
- xl: { fontSize: 'lg', paddingX: '8', paddingY: '2.5', radius: 'lg' },
244
- } as const satisfies NonNullable<CreateTamaguiProps['sizes']>
245
-
246
231
  const alignedConfig = {
247
232
  media,
248
233
  shorthands,
249
234
  fonts,
250
- sizes,
251
235
  settings,
252
236
  }
253
237
 
@@ -39,41 +39,4 @@ export declare const settings: {
39
39
  styleCompat: "web";
40
40
  };
41
41
  export type Settings = typeof settings;
42
- /**
43
- * Named control sizes on the v5 scales. v5 space is a fraction of size, so the
44
- * keys step unevenly: space 2 = 7px, 2-5 = 10px, 3 = 13px, 4 = 18px.
45
- */
46
- export declare const sizes: {
47
- readonly default: 'md';
48
- readonly xs: {
49
- readonly fontSize: '2';
50
- readonly paddingX: '2';
51
- readonly paddingY: '1-5';
52
- readonly radius: '2';
53
- };
54
- readonly sm: {
55
- readonly fontSize: '3';
56
- readonly paddingX: '3';
57
- readonly paddingY: '2';
58
- readonly radius: '3';
59
- };
60
- readonly md: {
61
- readonly fontSize: '4';
62
- readonly paddingX: '4';
63
- readonly paddingY: '2';
64
- readonly radius: '4';
65
- };
66
- readonly lg: {
67
- readonly fontSize: '5';
68
- readonly paddingX: '5';
69
- readonly paddingY: '2-5';
70
- readonly radius: '5';
71
- };
72
- readonly xl: {
73
- readonly fontSize: '6';
74
- readonly paddingX: '6';
75
- readonly paddingY: '3';
76
- readonly radius: '6';
77
- };
78
- };
79
42
  //# sourceMappingURL=settings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../src/settings.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;;;QAMlB,CAAA;AAEV,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUqB,CAAA;AAE1C,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAA;AAEtC;;;GAGG;AACH,eAAO,MAAM,KAAK;aAChB,OAAO,EAAE,IAAI;aACb,EAAE;iBAAI,QAAQ,EAAE,GAAG;iBAAE,QAAQ,EAAE,GAAG;iBAAE,QAAQ,EAAE,KAAK;iBAAE,MAAM,EAAE,GAAG;;aAChE,EAAE;iBAAI,QAAQ,EAAE,GAAG;iBAAE,QAAQ,EAAE,GAAG;iBAAE,QAAQ,EAAE,GAAG;iBAAE,MAAM,EAAE,GAAG;;aAC9D,EAAE;iBAAI,QAAQ,EAAE,GAAG;iBAAE,QAAQ,EAAE,GAAG;iBAAE,QAAQ,EAAE,GAAG;iBAAE,MAAM,EAAE,GAAG;;aAC9D,EAAE;iBAAI,QAAQ,EAAE,GAAG;iBAAE,QAAQ,EAAE,GAAG;iBAAE,QAAQ,EAAE,KAAK;iBAAE,MAAM,EAAE,GAAG;;aAChE,EAAE;iBAAI,QAAQ,EAAE,GAAG;iBAAE,QAAQ,EAAE,GAAG;iBAAE,QAAQ,EAAE,GAAG;iBAAE,MAAM,EAAE,GAAG;;CACtD,CAAA"}
1
+ {"version":3,"file":"settings.d.ts","sourceRoot":"","sources":["../src/settings.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,eAAe;;;QAMlB,CAAA;AAEV,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAUqB,CAAA;AAE1C,MAAM,MAAM,QAAQ,GAAG,OAAO,QAAQ,CAAA"}
@@ -2,10 +2,8 @@ import type { Shorthands } from '@tamagui/shorthands/v4';
2
2
  import type { V5Themes, V5Tokens } from '@tamagui/themes/v5';
3
3
  import type { V5Fonts } from './v5-fonts';
4
4
  import type { Media as V5Media } from './media';
5
- import { sizes } from './settings';
6
5
  import type { Settings as V5Settings } from './settings';
7
6
  export { shorthands } from '@tamagui/shorthands/v4';
8
- export { sizes } from './settings';
9
7
  export { tokens, type V5Theme, type V5ThemeNames, type V5Themes, type V5Tokens, } from '@tamagui/themes/v5';
10
8
  export { createSystemFont, fonts } from './v5-fonts';
11
9
  export type { V5Fonts } from './v5-fonts';
@@ -20,7 +18,6 @@ export type V5DefaultConfig = {
20
18
  tokens: V5Tokens;
21
19
  fonts: V5Fonts;
22
20
  settings: V5Settings;
23
- sizes: typeof sizes;
24
21
  };
25
22
  export declare const defaultConfig: V5DefaultConfig;
26
23
  //# sourceMappingURL=v5-base.d.ts.map
@@ -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;AAE5D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,YAAY,CAAA;AAEzC,OAAO,KAAK,EAAE,KAAK,IAAI,OAAO,EAAE,MAAM,SAAS,CAAA;AAC/C,OAAO,EAA6B,KAAK,EAAE,MAAM,YAAY,CAAA;AAC7D,OAAO,KAAK,EAAE,QAAQ,IAAI,UAAU,EAAE,MAAM,YAAY,CAAA;AAExD,OAAO,EAAE,UAAU,E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,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,CAAA;AAC/C,OAAO,EAAE,eAAe,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAA;AACtD,YAAY,EAAE,QAAQ,IAAI,UAAU,EAAE,MAAM,YAAY,CAAA;AAExD,MAAM,MAAM,eAAe,GAAG;IAC5B,KAAK,EAAE,OAAO,CAAA;IACd,UAAU,EAAE,UAAU,CAAA;IACtB,MAAM,EAAE,QAAQ,CAAA;IAChB,MAAM,EAAE,QAAQ,CAAA;IAChB,KAAK,EAAE,OAAO,CAAA;IACd,QAAQ,EAAE,UAAU,CAAA;CACrB,CAAA;AAGD,eAAO,MAAM,aAAa,EAAE,eAO3B,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"v5-fonts.d.ts","sourceRoot":"","sources":["../src/v5-fonts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAGjB,MAAM,6BAA6B,CAAA;AAGpC,OAAO,EAAE,gBAAgB,EAAE,CAAA;AA0B3B,eAAO,MAAM,KAAK;IAChB,IAAI;IACJ,OAAO;CAaR,CAAA;AAED,MAAM,MAAM,OAAO,GAAG,OAAO,KAAK,CAAA"}
1
+ {"version":3,"file":"v5-fonts.d.ts","sourceRoot":"","sources":["../src/v5-fonts.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,EAGjB,MAAM,6BAA6B,CAAA;AAGpC,OAAO,EAAE,gBAAgB,EAAE,CAAA;AAwB3B,eAAO,MAAM,KAAK;IAChB,IAAI;IACJ,OAAO;CAaR,CAAA;AAED,MAAM,MAAM,OAAO,GAAG,OAAO,KAAK,CAAA"}
@@ -566,8 +566,7 @@ export declare const tokens: {
566
566
  };
567
567
  };
568
568
  /**
569
- * Adds the tailwind type-scale keys (`xs sm base lg xl 2xl ...`) a font needs
570
- * for the named sizes, which read `sizes.md.fontSize` and so on from the font.
569
+ * Adds the tailwind type-scale keys (`xs sm base lg xl 2xl ...`) to a font.
571
570
  * Wrap any font you pass to a v6 config with it.
572
571
  */
573
572
  export declare function withTailwindTypeScale<F extends {
@@ -751,44 +750,6 @@ type ColorScaleThemeKeys<Scales extends V6ColorScales> = {
751
750
  type WithColorScales<Themes extends Record<string, object>, Scales extends V6ColorScales> = {
752
751
  [Name in keyof Themes]: Name extends 'light' | 'dark' ? Themes[Name] & ColorScaleThemeKeys<Scales> : Themes[Name];
753
752
  };
754
- /**
755
- * Named control sizes as recipes of tailwind token keys. Heights are never set:
756
- * a control is line-height plus vertical padding tall, so at `md` a button is
757
- * 20 + 8 + 8 = 36px, shadcn's `h-9 px-4 py-2 text-sm`.
758
- */
759
- export declare const sizes: {
760
- readonly default: 'md';
761
- readonly xs: {
762
- readonly fontSize: 'xs';
763
- readonly paddingX: '2';
764
- readonly paddingY: '1';
765
- readonly radius: 'sm';
766
- };
767
- readonly sm: {
768
- readonly fontSize: 'sm';
769
- readonly paddingX: '3';
770
- readonly paddingY: '1.5';
771
- readonly radius: 'md';
772
- };
773
- readonly md: {
774
- readonly fontSize: 'sm';
775
- readonly paddingX: '4';
776
- readonly paddingY: '2';
777
- readonly radius: 'md';
778
- };
779
- readonly lg: {
780
- readonly fontSize: 'base';
781
- readonly paddingX: '6';
782
- readonly paddingY: '2';
783
- readonly radius: 'md';
784
- };
785
- readonly xl: {
786
- readonly fontSize: 'lg';
787
- readonly paddingX: '8';
788
- readonly paddingY: '2.5';
789
- readonly radius: 'lg';
790
- };
791
- };
792
753
  declare const alignedConfig: {
793
754
  media: {
794
755
  readonly touchable: {
@@ -988,39 +949,6 @@ declare const alignedConfig: {
988
949
  };
989
950
  };
990
951
  };
991
- sizes: {
992
- readonly default: 'md';
993
- readonly xs: {
994
- readonly fontSize: 'xs';
995
- readonly paddingX: '2';
996
- readonly paddingY: '1';
997
- readonly radius: 'sm';
998
- };
999
- readonly sm: {
1000
- readonly fontSize: 'sm';
1001
- readonly paddingX: '3';
1002
- readonly paddingY: '1.5';
1003
- readonly radius: 'md';
1004
- };
1005
- readonly md: {
1006
- readonly fontSize: 'sm';
1007
- readonly paddingX: '4';
1008
- readonly paddingY: '2';
1009
- readonly radius: 'md';
1010
- };
1011
- readonly lg: {
1012
- readonly fontSize: 'base';
1013
- readonly paddingX: '6';
1014
- readonly paddingY: '2';
1015
- readonly radius: 'md';
1016
- };
1017
- readonly xl: {
1018
- readonly fontSize: 'lg';
1019
- readonly paddingX: '8';
1020
- readonly paddingY: '2.5';
1021
- readonly radius: 'lg';
1022
- };
1023
- };
1024
952
  settings: {
1025
953
  mediaQueryDefaultActive: {
1026
954
  touchable: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"v6-base.d.ts","sourceRoot":"","sources":["../src/v6-base.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAA;AAWtD,OAAO,EACL,mBAAmB,EACnB,uBAAuB,EACxB,MAAM,kCAAkC,CAAA;AAEzC,OAAO,EAAE,UAAU,EAAE,CAAA;AACrB,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAA;AAC1C,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAA;AACrE,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;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MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,GAAG,OAAO,aAAa,GAAG;IACzB,MAAM,EAAE,eAAe,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACvC,MAAM,EAAE,OAAO,MAAM,GAAG;QAAE,KAAK,EAAE,WAAW,CAAA;KAAE,CAAA;CAC/C,CAAA;AACD,wBAAgB,cAAc,CAC5B,MAAM,SAAS,WAAW,CAAC,kBAAkB,CAAC,QAAQ,CAAC,CAAC,EACxD,MAAM,SAAS,aAAa,GAAG,MAAM,CAAC,KAAK,EAAE,YAAY,CAAC,EAC1D,MAAM,EAAE;IACR,MAAM,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,SAAS,CAAA;IACvB,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB,GAAG,OAAO,aAAa,GAAG;IACzB,MAAM,EAAE,eAAe,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;IACvC,MAAM,EAAE,OAAO,MAAM,CAAA;CACtB,CAAA"}
package/types/v6.d.ts CHANGED
@@ -1365,39 +1365,6 @@ export declare const defaultConfig: {
1365
1365
  };
1366
1366
  };
1367
1367
  };
1368
- sizes: {
1369
- readonly default: 'md';
1370
- readonly xs: {
1371
- readonly fontSize: 'xs';
1372
- readonly paddingX: '2';
1373
- readonly paddingY: '1';
1374
- readonly radius: 'sm';
1375
- };
1376
- readonly sm: {
1377
- readonly fontSize: 'sm';
1378
- readonly paddingX: '3';
1379
- readonly paddingY: '1.5';
1380
- readonly radius: 'md';
1381
- };
1382
- readonly md: {
1383
- readonly fontSize: 'sm';
1384
- readonly paddingX: '4';
1385
- readonly paddingY: '2';
1386
- readonly radius: 'md';
1387
- };
1388
- readonly lg: {
1389
- readonly fontSize: 'base';
1390
- readonly paddingX: '6';
1391
- readonly paddingY: '2';
1392
- readonly radius: 'md';
1393
- };
1394
- readonly xl: {
1395
- readonly fontSize: 'lg';
1396
- readonly paddingX: '8';
1397
- readonly paddingY: '2.5';
1398
- readonly radius: 'lg';
1399
- };
1400
- };
1401
1368
  settings: {
1402
1369
  mediaQueryDefaultActive: {
1403
1370
  touchable: boolean;
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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