@tamagui/spacer 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,11 +21,10 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
21
21
  var Spacer_exports = {};
22
22
  __export(Spacer_exports, { Spacer: () => Spacer });
23
23
  module.exports = __toCommonJS(Spacer_exports);
24
- var import_size = require("@tamagui/size");
25
24
  var import_web = require("@tamagui/web");
26
25
  const getSpacerSize = import_web.styled.dynamic((size, env) => {
27
26
  if (size === false) return;
28
- const sizePx = typeof size === "number" ? size : (0, import_size.resolveSize)(size, env).frame.paddingHorizontal;
27
+ const sizePx = typeof size === "number" ? size : env.tokens.space[size === true ? "4" : String(size).replace(/^\$/, "")];
29
28
  return {
30
29
  width: sizePx,
31
30
  height: sizePx,
@@ -23,11 +23,10 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
23
23
  var Spacer_exports = {};
24
24
  __export(Spacer_exports, { Spacer: () => Spacer });
25
25
  module.exports = __toCommonJS(Spacer_exports);
26
- var import_size = require("@tamagui/size");
27
26
  var import_web = require("@tamagui/web");
28
27
  var getSpacerSize = import_web.styled.dynamic(function(size, env) {
29
28
  if (size === false) return;
30
- var sizePx = typeof size === "number" ? size : (0, import_size.resolveSize)(size, env).frame.paddingHorizontal;
29
+ var sizePx = typeof size === "number" ? size : env.tokens.space[size === true ? "4" : String(size).replace(/^\$/, "")];
31
30
  return {
32
31
  width: sizePx,
33
32
  height: sizePx,
@@ -23,11 +23,10 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
23
23
  var Spacer_exports = {};
24
24
  __export(Spacer_exports, { Spacer: () => Spacer });
25
25
  module.exports = __toCommonJS(Spacer_exports);
26
- var import_size = require("@tamagui/size");
27
26
  var import_web = require("@tamagui/web");
28
27
  var getSpacerSize = import_web.styled.dynamic(function(size, env) {
29
28
  if (size === false) return;
30
- var sizePx = typeof size === "number" ? size : (0, import_size.resolveSize)(size, env).frame.paddingHorizontal;
29
+ var sizePx = typeof size === "number" ? size : env.tokens.space[size === true ? "4" : String(size).replace(/^\$/, "")];
31
30
  return {
32
31
  width: sizePx,
33
32
  height: sizePx,
@@ -1 +1 @@
1
- {"version":3,"file":"Spacer.native.js","names":[],"sources":["cjs/Spacer.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 Spacer_exports = {};\n__export(Spacer_exports, {\n Spacer: () => Spacer\n});\nmodule.exports = __toCommonJS(Spacer_exports);\nvar import_size = require(\"@tamagui/size\");\nvar import_web = require(\"@tamagui/web\");\nvar getSpacerSize = import_web.styled.dynamic(function(size, env) {\n if (size === false) return;\n var sizePx = typeof size === \"number\" ? size : (0, import_size.resolveSize)(size, env).frame.paddingHorizontal;\n return {\n width: sizePx,\n height: sizePx,\n minWidth: sizePx,\n minHeight: sizePx\n };\n});\nvar Spacer = (0, import_web.styled)(import_web.View, {\n displayName: \"Spacer\",\n pointerEvents: \"none\",\n render: \"span\",\n variants: {\n size: getSpacerSize,\n direction: {\n horizontal: {\n height: 0,\n minHeight: 0\n },\n vertical: {\n width: 0,\n minWidth: 0\n },\n both: {}\n }\n },\n defaultVariants: {\n // @ts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R,MAAM;EACN,WAAW;GACT,YAAY;IACV,QAAQ;IACR,WAAW;GACb;GACA,UAAU;IACR,OAAO;IACP,UAAU;GACZ;GACA,MAAM,CAAC;EACT;CACF;CACA,iBAAiB,EAEf,MAAM,KACR;AACF,CAAC"}
1
+ {"version":3,"file":"Spacer.native.js","names":[],"sources":["cjs/Spacer.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 Spacer_exports = {};\n__export(Spacer_exports, {\n Spacer: () => Spacer\n});\nmodule.exports = __toCommonJS(Spacer_exports);\nvar import_web = require(\"@tamagui/web\");\nvar getSpacerSize = import_web.styled.dynamic(function(size, env) {\n if (size === false) return;\n var sizePx = typeof size === \"number\" ? size : env.tokens.space[size === true ? \"4\" : String(size).replace(/^\\$/, \"\")];\n return {\n width: sizePx,\n height: sizePx,\n minWidth: sizePx,\n minHeight: sizePx\n };\n});\nvar Spacer = (0, import_web.styled)(import_web.View, {\n displayName: \"Spacer\",\n pointerEvents: \"none\",\n render: \"span\",\n variants: {\n size: getSpacerSize,\n direction: {\n horizontal: {\n height: 0,\n minHeight: 0\n },\n vertical: {\n width: 0,\n minWidth: 0\n },\n both: {}\n }\n },\n defaultVariants: {\n // @ts-ignore\n size: true\n }\n});\n//# sourceMappingURL=Spacer.js.map\n"],"mappings":";;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AU;IACR,OAAO;IACP,UAAU;GACZ;GACA,MAAM,CAAC;EACT;CACF;CACA,iBAAiB,EAEf,MAAM,KACR;AACF,CAAC"}
@@ -1,9 +1,8 @@
1
- import { resolveSize } from "@tamagui/size";
2
1
  import { View, styled } from "@tamagui/web";
3
2
 
4
3
  const getSpacerSize = styled.dynamic((size, env) => {
5
4
  if (size === false) return;
6
- const sizePx = typeof size === "number" ? size : resolveSize(size, env).frame.paddingHorizontal;
5
+ const sizePx = typeof size === "number" ? size : env.tokens.space[size === true ? "4" : String(size).replace(/^\$/, "")];
7
6
  return {
8
7
  width: sizePx,
9
8
  height: sizePx,
@@ -1 +1 @@
1
- {"version":3,"file":"Spacer.js","names":[],"sources":["esm/Spacer.js"],"sourcesContent":["import { resolveSize } from \"@tamagui/size\";\nimport { styled, View } from \"@tamagui/web\";\nconst getSpacerSize = styled.dynamic((size, env) => {\n if (size === false) return;\n const sizePx = typeof size === \"number\" ? size : resolveSize(size, env).frame.paddingHorizontal;\n return {\n width: sizePx,\n height: sizePx,\n minWidth: sizePx,\n minHeight: sizePx\n };\n});\nconst Spacer = styled(View, {\n displayName: \"Spacer\",\n pointerEvents: \"none\",\n render: \"span\",\n variants: {\n size: getSpacerSize,\n direction: {\n horizontal: {\n height: 0,\n minHeight: 0\n },\n vertical: {\n width: 0,\n minWidth: 0\n },\n both: {}\n }\n },\n defaultVariants: {\n // @ts-ignore\n size: true\n }\n});\nexport {\n Spacer\n};\n//# sourceMappingURL=Spacer.js.map\n"],"mappings":";;;;AAEA,MAAM,gBAAgB,OAAO,SAAS,MAAM,QAAQ;CAClD,IAAI,SAAS,OAAO;CACpB,MAAM,SAAS,OAAO,SAAS,WAAW,OAAO,YAAY,MAAM,GAAG,CAAC,CAAC,MAAM;CAC9E,OAAO;EACL,OAAO;EACP,QAAQ;EACR,UAAU;EACV,WAAW;CACb;AACF,CAAC;AACD,MAAM,SAAS,OAAO,MAAM;CAC1B,aAAa;CACb,eAAe;CACf,QAAQ;CACR,UAAU;EACR,MAAM;EACN,WAAW;GACT,YAAY;IACV,QAAQ;IACR,WAAW;GACb;GACA,UAAU;IACR,OAAO;IACP,UAAU;GACZ;GACA,MAAM,CAAC;EACT;CACF;CACA,iBAAiB,EAEf,MAAM,KACR;AACF,CAAC"}
1
+ {"version":3,"file":"Spacer.js","names":[],"sources":["esm/Spacer.js"],"sourcesContent":["import { styled, View } from \"@tamagui/web\";\nconst getSpacerSize = styled.dynamic((size, env) => {\n if (size === false) return;\n const sizePx = typeof size === \"number\" ? size : env.tokens.space[size === true ? \"4\" : String(size).replace(/^\\$/, \"\")];\n return {\n width: sizePx,\n height: sizePx,\n minWidth: sizePx,\n minHeight: sizePx\n };\n});\nconst Spacer = styled(View, {\n displayName: \"Spacer\",\n pointerEvents: \"none\",\n render: \"span\",\n variants: {\n size: getSpacerSize,\n direction: {\n horizontal: {\n height: 0,\n minHeight: 0\n },\n vertical: {\n width: 0,\n minWidth: 0\n },\n both: {}\n }\n },\n defaultVariants: {\n // @ts-ignore\n size: true\n }\n});\nexport {\n Spacer\n};\n//# sourceMappingURL=Spacer.js.map\n"],"mappings":";;;AACA,MAAM,gBAAgB,OAAO,SAAS,MAAM,QAAQ;CAClD,IAAI,SAAS,OAAO;CACpB,MAAM,SAAS,OAAO,SAAS,WAAW,OAAO,IAAI,OAAO,MAAM,SAAS,OAAO,MAAM,OAAO,IAAI,CAAC,CAAC,QAAQ,OAAO,EAAE;CACtH,OAAO;EACL,OAAO;EACP,QAAQ;EACR,UAAU;EACV,WAAW;CACb;AACF,CAAC;AACD,MAAM,SAAS,OAAO,MAAM;CAC1B,aAAa;CACb,eAAe;CACf,QAAQ;CACR,UAAU;EACR,MAAM;EACN,WAAW;GACT,YAAY;IACV,QAAQ;IACR,WAAW;GACb;GACA,UAAU;IACR,OAAO;IACP,UAAU;GACZ;GACA,MAAM,CAAC;EACT;CACF;CACA,iBAAiB,EAEf,MAAM,KACR;AACF,CAAC"}
@@ -1,9 +1,8 @@
1
- import { resolveSize } from "@tamagui/size";
2
1
  import { View, styled } from "@tamagui/web";
3
2
 
4
3
  var getSpacerSize = styled.dynamic(function(size, env) {
5
4
  if (size === false) return;
6
- var sizePx = typeof size === "number" ? size : resolveSize(size, env).frame.paddingHorizontal;
5
+ var sizePx = typeof size === "number" ? size : env.tokens.space[size === true ? "4" : String(size).replace(/^\$/, "")];
7
6
  return {
8
7
  width: sizePx,
9
8
  height: sizePx,
@@ -1 +1 @@
1
- {"version":3,"file":"Spacer.native.js","names":[],"sources":["esm/Spacer.native.js"],"sourcesContent":["import { resolveSize } from \"@tamagui/size\";\nimport { styled, View } from \"@tamagui/web\";\nvar getSpacerSize = styled.dynamic(function(size, env) {\n if (size === false) return;\n var sizePx = typeof size === \"number\" ? size : resolveSize(size, env).frame.paddingHorizontal;\n return {\n width: sizePx,\n height: sizePx,\n minWidth: sizePx,\n minHeight: sizePx\n };\n});\nvar Spacer = styled(View, {\n displayName: \"Spacer\",\n pointerEvents: \"none\",\n render: \"span\",\n variants: {\n size: getSpacerSize,\n direction: {\n horizontal: {\n height: 0,\n minHeight: 0\n },\n vertical: {\n width: 0,\n minWidth: 0\n },\n both: {}\n }\n },\n defaultVariants: {\n // @ts-ignore\n size: true\n }\n});\nexport {\n Spacer\n};\n//# sourceMappingURL=Spacer.js.map\n"],"mappings":";;;;AAEA,IAAI,gBAAgB,OAAO,QAAQ,SAAS,MAAM,KAAK;CACrD,IAAI,SAAS,OAAO;CACpB,IAAI,SAAS,OAAO,SAAS,WAAW,OAAO,YAAY,MAAM,GAAG,CAAC,CAAC,MAAM;CAC5E,OAAO;EACL,OAAO;EACP,QAAQ;EACR,UAAU;EACV,WAAW;CACb;AACF,CAAC;AACD,IAAI,SAAS,OAAO,MAAM;CACxB,aAAa;CACb,eAAe;CACf,QAAQ;CACR,UAAU;EACR,MAAM;EACN,WAAW;GACT,YAAY;IACV,QAAQ;IACR,WAAW;GACb;GACA,UAAU;IACR,OAAO;IACP,UAAU;GACZ;GACA,MAAM,CAAC;EACT;CACF;CACA,iBAAiB,EAEf,MAAM,KACR;AACF,CAAC"}
1
+ {"version":3,"file":"Spacer.native.js","names":[],"sources":["esm/Spacer.native.js"],"sourcesContent":["import { styled, View } from \"@tamagui/web\";\nvar getSpacerSize = styled.dynamic(function(size, env) {\n if (size === false) return;\n var sizePx = typeof size === \"number\" ? size : env.tokens.space[size === true ? \"4\" : String(size).replace(/^\\$/, \"\")];\n return {\n width: sizePx,\n height: sizePx,\n minWidth: sizePx,\n minHeight: sizePx\n };\n});\nvar Spacer = styled(View, {\n displayName: \"Spacer\",\n pointerEvents: \"none\",\n render: \"span\",\n variants: {\n size: getSpacerSize,\n direction: {\n horizontal: {\n height: 0,\n minHeight: 0\n },\n vertical: {\n width: 0,\n minWidth: 0\n },\n both: {}\n }\n },\n defaultVariants: {\n // @ts-ignore\n size: true\n }\n});\nexport {\n Spacer\n};\n//# sourceMappingURL=Spacer.js.map\n"],"mappings":";;;AACA,IAAI,gBAAgB,OAAO,QAAQ,SAAS,MAAM,KAAK;CACrD,IAAI,SAAS,OAAO;CACpB,IAAI,SAAS,OAAO,SAAS,WAAW,OAAO,IAAI,OAAO,MAAM,SAAS,OAAO,MAAM,OAAO,IAAI,CAAC,CAAC,QAAQ,OAAO,EAAE;CACpH,OAAO;EACL,OAAO;EACP,QAAQ;EACR,UAAU;EACV,WAAW;CACb;AACF,CAAC;AACD,IAAI,SAAS,OAAO,MAAM;CACxB,aAAa;CACb,eAAe;CACf,QAAQ;CACR,UAAU;EACR,MAAM;EACN,WAAW;GACT,YAAY;IACV,QAAQ;IACR,WAAW;GACb;GACA,UAAU;IACR,OAAO;IACP,UAAU;GACZ;GACA,MAAM,CAAC;EACT;CACF;CACA,iBAAiB,EAEf,MAAM,KACR;AACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/spacer",
3
- "version": "3.0.0-beta.1313.1",
3
+ "version": "3.0.0-beta.1341.1",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "src",
@@ -34,11 +34,10 @@
34
34
  "clean:build": "tamagui-build clean:build"
35
35
  },
36
36
  "dependencies": {
37
- "@tamagui/size": "3.0.0-beta.1313.1",
38
- "@tamagui/web": "3.0.0-beta.1313.1"
37
+ "@tamagui/web": "3.0.0-beta.1341.1"
39
38
  },
40
39
  "devDependencies": {
41
- "@tamagui/build": "3.0.0-beta.1313.1",
40
+ "@tamagui/build": "3.0.0-beta.1341.1",
42
41
  "react": "19.2.3",
43
42
  "react-native": "0.86.2"
44
43
  },
package/src/Spacer.tsx CHANGED
@@ -1,10 +1,12 @@
1
- import { resolveSize } from '@tamagui/size'
2
- import { styled, View, type SizeTokens } from '@tamagui/web'
1
+ import { styled, View, type SpaceTokens } from '@tamagui/web'
3
2
 
4
- const getSpacerSize = styled.dynamic<SizeTokens | number | boolean>((size, env) => {
3
+ const getSpacerSize = styled.dynamic<SpaceTokens | number | false>((size, env) => {
5
4
  if (size === false) return
5
+ // a number is px. `true` is the default gap, else a space token key.
6
6
  const sizePx =
7
- typeof size === 'number' ? size : resolveSize(size, env).frame.paddingHorizontal
7
+ typeof size === 'number'
8
+ ? size
9
+ : env.tokens.space[size === true ? '4' : String(size).replace(/^\$/, '')]
8
10
  return {
9
11
  width: sizePx,
10
12
  height: sizePx,
package/types/Spacer.d.ts CHANGED
@@ -1,15 +1,15 @@
1
1
  export declare const Spacer: import("react").FunctionComponent<Omit<import("@tamagui/web").StackNonStyleProps, "size" | keyof import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase> & import("@tamagui/web").WithFlatVariantValues<{
2
2
  direction?: "both" | "horizontal" | "vertical" | undefined;
3
- size?: number | false | import("@tamagui/web").Size | undefined;
3
+ size?: number | false | import("@tamagui/web").Space | undefined;
4
4
  }> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>> & {
5
5
  ref?: import("react").Ref<import("@tamagui/web").TamaguiElement> | undefined;
6
6
  }> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/web").StackNonStyleProps, import("@tamagui/web").StackStyleBase, {
7
7
  direction?: "both" | "horizontal" | "vertical" | undefined;
8
- size?: number | false | import("@tamagui/web").Size | undefined;
8
+ size?: number | false | import("@tamagui/web").Space | undefined;
9
9
  }, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig"> & {
10
10
  __tama: [import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/web").StackNonStyleProps, import("@tamagui/web").StackStyleBase, {
11
11
  direction?: "both" | "horizontal" | "vertical" | undefined;
12
- size?: number | false | import("@tamagui/web").Size | undefined;
12
+ size?: number | false | import("@tamagui/web").Space | undefined;
13
13
  }, import("@tamagui/web").StaticConfigPublic];
14
14
  };
15
15
  //# sourceMappingURL=Spacer.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Spacer.d.ts","sourceRoot":"","sources":["../src/Spacer.tsx"],"names":[],"mappings":"AAeA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CAyBjB,CAAA"}
1
+ {"version":3,"file":"Spacer.d.ts","sourceRoot":"","sources":["../src/Spacer.tsx"],"names":[],"mappings":"AAiBA,eAAO,MAAM,MAAM;;;;;;;;;;;;;CAyBjB,CAAA"}