@tamagui/shapes 1.135.4 → 1.135.6

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.
@@ -1,29 +1,34 @@
1
1
  "use strict";
2
+
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
7
  var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: !0
11
+ });
12
+ },
13
+ __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
15
+ get: () => from[key],
16
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
+ });
18
+ return to;
19
+ };
20
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
+ value: !0
22
+ }), mod);
16
23
  var Circle_exports = {};
17
24
  __export(Circle_exports, {
18
25
  Circle: () => Circle
19
26
  });
20
27
  module.exports = __toCommonJS(Circle_exports);
21
- var import_web = require("@tamagui/web"), import_Square = require("./Square"), Circle = (0, import_web.styled)(import_Square.Square, {
22
- name: "Circle",
23
- circular: !0
24
- });
25
- // Annotate the CommonJS export names for ESM import in node:
26
- 0 && (module.exports = {
27
- Circle
28
- });
29
- //# sourceMappingURL=Circle.js.map
28
+ var import_web = require("@tamagui/web"),
29
+ import_Square = require("./Square.native.js"),
30
+ Circle = (0, import_web.styled)(import_Square.Square, {
31
+ name: "Circle",
32
+ circular: !0
33
+ });
34
+ //# sourceMappingURL=Circle.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Circle.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,iBAAuB,yBACvB,gBAAuB,qBACZ,aAAS,mBAAO,sBAAQ;AAAA,EAC/B,MAAM;AAAA,EACN,UAAU;AACd,CAAC;",
5
- "names": []
6
- }
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","Circle_exports","__export","Circle","module","exports","import_web","require","import_Square","styled","Square","name","circular"],"sources":["../../src/Circle.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,cAAA;AAAAC,QAAA,CAAAD,cAAA;EAAAE,MAAA,EAAAA,CAAA,KAAAA;AAAA;AACAC,MAAA,CAAAC,OAAA,GAAuBT,YAAA,CAAAK,cAEvB;AAEO,IAAAK,UAAM,GAAAC,OAAS,eAAO;EAAAC,aAAA,GAAAD,OAAQ;EAAAJ,MAAA,OAAAG,UAAA,CAAAG,MAAA,EAAAD,aAAA,CAAAE,MAAA;IACnCC,IAAA,EAAM;IACNC,QAAA,EAAU;EACZ,CAAC","ignoreList":[]}
@@ -1,38 +1,44 @@
1
1
  "use strict";
2
+
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
7
  var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: !0
11
+ });
12
+ },
13
+ __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
15
+ get: () => from[key],
16
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
+ });
18
+ return to;
19
+ };
20
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
+ value: !0
22
+ }), mod);
16
23
  var Square_exports = {};
17
24
  __export(Square_exports, {
18
25
  Square: () => Square
19
26
  });
20
27
  module.exports = __toCommonJS(Square_exports);
21
- var import_stacks = require("@tamagui/stacks"), import_web = require("@tamagui/web"), import_getShapeSize = require("./getShapeSize"), Square = (0, import_web.styled)(import_stacks.ThemeableStack, {
22
- name: "Square",
23
- alignItems: "center",
24
- justifyContent: "center",
25
- variants: {
26
- size: {
27
- "...size": import_getShapeSize.getShapeSize,
28
- ":number": import_getShapeSize.getShapeSize
28
+ var import_stacks = require("@tamagui/stacks"),
29
+ import_web = require("@tamagui/web"),
30
+ import_getShapeSize = require("./getShapeSize.native.js"),
31
+ Square = (0, import_web.styled)(import_stacks.ThemeableStack, {
32
+ name: "Square",
33
+ alignItems: "center",
34
+ justifyContent: "center",
35
+ variants: {
36
+ size: {
37
+ "...size": import_getShapeSize.getShapeSize,
38
+ ":number": import_getShapeSize.getShapeSize
39
+ }
29
40
  }
30
- }
31
- }, {
32
- memo: !0
33
- });
34
- // Annotate the CommonJS export names for ESM import in node:
35
- 0 && (module.exports = {
36
- Square
37
- });
38
- //# sourceMappingURL=Square.js.map
41
+ }, {
42
+ memo: !0
43
+ });
44
+ //# sourceMappingURL=Square.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Square.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAA+B,4BAC/B,aAAuB,yBACvB,sBAA6B,2BAClB,aAAS,mBAAO,8BAAgB;AAAA,EACvC,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAChB,UAAU;AAAA,IACN,MAAM;AAAA,MACF,WAAW;AAAA,MACX,WAAW;AAAA,IACf;AAAA,EACJ;AACJ,GAAG;AAAA,EACC,MAAM;AACV,CAAC;",
5
- "names": []
6
- }
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","Square_exports","__export","Square","module","exports","import_stacks","require","import_web","import_getShapeSize","styled","ThemeableStack","name","alignItems","justifyContent","variants","size","getShapeSize","memo"],"sources":["../../src/Square.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,cAAA;AAAAC,QAAA,CAAAD,cAAA;EAAAE,MAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAA+B,CAAAK,cAAA;AAMxB,IAAAK,aAAM,GAASC,OAAA;EAAAC,UAAA,GAAAD,OAAA;EAAAE,mBAAA,GAAAF,OAAA;EAAAJ,MAAA,OAAAK,UAAA,CAAAE,MAAA,EAAAJ,aAAA,CAAAK,cAAA;IACpBC,IAAA;IACAC,UAAA;IAAAC,cACQ;IAAAC,QACN;MACAC,IAAA;QAEA,SAAU,EAAAP,mBAAA,CAAAQ,YAAA;QACR,SAAM,EAAAR,mBAAA,CAAAQ;MAAA;IACO;EACA;IACbC,IACF;EAAA,EACF","ignoreList":[]}
@@ -1,25 +1,38 @@
1
1
  "use strict";
2
+
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
7
  var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: !0
11
+ });
12
+ },
13
+ __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
15
+ get: () => from[key],
16
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
+ });
18
+ return to;
19
+ };
20
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
+ value: !0
22
+ }), mod);
16
23
  var getShapeSize_exports = {};
17
24
  __export(getShapeSize_exports, {
18
25
  getShapeSize: () => getShapeSize
19
26
  });
20
27
  module.exports = __toCommonJS(getShapeSize_exports);
21
- var getShapeSize = function(size, param) {
22
- var { tokens } = param, _tokens_size_size, width = (_tokens_size_size = tokens.size[size]) !== null && _tokens_size_size !== void 0 ? _tokens_size_size : size, _tokens_size_size1, height = (_tokens_size_size1 = tokens.size[size]) !== null && _tokens_size_size1 !== void 0 ? _tokens_size_size1 : size;
28
+ var getShapeSize = function (size, param) {
29
+ var {
30
+ tokens
31
+ } = param,
32
+ _tokens_size_size,
33
+ width = (_tokens_size_size = tokens.size[size]) !== null && _tokens_size_size !== void 0 ? _tokens_size_size : size,
34
+ _tokens_size_size1,
35
+ height = (_tokens_size_size1 = tokens.size[size]) !== null && _tokens_size_size1 !== void 0 ? _tokens_size_size1 : size;
23
36
  return {
24
37
  width,
25
38
  height,
@@ -29,8 +42,4 @@ var getShapeSize = function(size, param) {
29
42
  minHeight: height
30
43
  };
31
44
  };
32
- // Annotate the CommonJS export names for ESM import in node:
33
- 0 && (module.exports = {
34
- getShapeSize
35
- });
36
- //# sourceMappingURL=getShapeSize.js.map
45
+ //# sourceMappingURL=getShapeSize.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/getShapeSize.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,IAAI,eAAe,SAAS,MAAM,OAAO;AAC5C,MAAI,EAAE,OAAO,IAAI,OACb,mBACA,SAAS,oBAAoB,OAAO,KAAK,IAAI,OAAO,QAAQ,sBAAsB,SAAS,oBAAoB,MAC/G,oBACA,UAAU,qBAAqB,OAAO,KAAK,IAAI,OAAO,QAAQ,uBAAuB,SAAS,qBAAqB;AACvH,SAAO;AAAA,IACH;AAAA,IACA;AAAA,IACA,UAAU;AAAA,IACV,UAAU;AAAA,IACV,WAAW;AAAA,IACX,WAAW;AAAA,EACf;AACJ;",
5
- "names": []
6
- }
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","getShapeSize_exports","__export","getShapeSize","module","exports","size","param","tokens","_tokens_size_size","width","_tokens_size_size1","height","minWidth","maxWidth","maxHeight","minHeight"],"sources":["../../src/getShapeSize.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,oBAAA;AAAAC,QAAA,CAAAD,oBAAA;EAAAE,YAAA,EAAAA,CAAA,KAAAA;AAAA;AAGOC,MAAM,CAAAC,OAAA,GAAAT,YAEX,CAAEK,oBACC;AACH,IAAAE,YAAc,YAAAA,CAAYG,IAAI,EAAAC,KAAK;EAEnC;MAAAC;IAAO,IAAAD,KAAA;IAAAE,iBAAA;IAAAC,KAAA,IAAAD,iBAAA,GAAAD,MAAA,CAAAF,IAAA,CAAAA,IAAA,eAAAG,iBAAA,cAAAA,iBAAA,GAAAH,IAAA;IAAAK,kBAAA;IAAAC,MAAA,IAAAD,kBAAA,GAAAH,MAAA,CAAAF,IAAA,CAAAA,IAAA,eAAAK,kBAAA,cAAAA,kBAAA,GAAAL,IAAA;EAAA,OACL;IACAI,KAAA;IACAE,MAAA;IACAC,QAAA,EAAUH,KAAA;IACVI,QAAA,EAAAJ,KAAW;IACXK,SAAA,EAAWH,MAAA;IACbI,SAAA,EAAAJ;EACF","ignoreList":[]}
@@ -1,24 +1,23 @@
1
1
  "use strict";
2
+
2
3
  var __defProp = Object.defineProperty;
3
4
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
5
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
6
7
  var __copyProps = (to, from, except, desc) => {
7
- if (from && typeof from == "object" || typeof from == "function")
8
- for (let key of __getOwnPropNames(from))
9
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
- return to;
11
- }, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
12
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
8
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
9
+ get: () => from[key],
10
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
11
+ });
12
+ return to;
13
+ },
14
+ __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
16
+ value: !0
17
+ }), mod);
13
18
  var index_exports = {};
14
19
  module.exports = __toCommonJS(index_exports);
15
- __reExport(index_exports, require("./Square"), module.exports);
16
- __reExport(index_exports, require("./Circle"), module.exports);
17
- __reExport(index_exports, require("./getShapeSize"), module.exports);
18
- // Annotate the CommonJS export names for ESM import in node:
19
- 0 && (module.exports = {
20
- ...require("./Square"),
21
- ...require("./Circle"),
22
- ...require("./getShapeSize")
23
- });
24
- //# sourceMappingURL=index.js.map
20
+ __reExport(index_exports, require("./Square.native.js"), module.exports);
21
+ __reExport(index_exports, require("./Circle.native.js"), module.exports);
22
+ __reExport(index_exports, require("./getShapeSize.native.js"), module.exports);
23
+ //# sourceMappingURL=index.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/index.ts"],
4
- "mappings": ";;;;;;;;;;;;AAAA;AAAA;AAAA,0BAAc,qBAAd;AACA,0BAAc,qBADd;AAEA,0BAAc,2BAFd;",
5
- "names": []
6
- }
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_exports","module","exports","__reExport","require"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAP,YAAc,CAAAK,aAAA;AACdG,UAAA,CAAAH,aAAA,EAAcI,OAAA,wBADdH,MAAA,CAAAC,OAAA;AAEAC,UAAA,CAAAH,aAAA,EAAcI,OAAA,wBAAAH,MAFd,CAAAC,OAAA","ignoreList":[]}
@@ -1,10 +1,34 @@
1
- import { styled } from "@tamagui/web";
2
- import { Square } from "./Square";
3
- var Circle = styled(Square, {
4
- name: "Circle",
5
- circular: !0
1
+ "use strict";
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: !0
11
+ });
12
+ },
13
+ __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
15
+ get: () => from[key],
16
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
+ });
18
+ return to;
19
+ };
20
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
+ value: !0
22
+ }), mod);
23
+ var Circle_exports = {};
24
+ __export(Circle_exports, {
25
+ Circle: () => Circle
6
26
  });
7
- export {
8
- Circle
9
- };
10
- //# sourceMappingURL=Circle.js.map
27
+ module.exports = __toCommonJS(Circle_exports);
28
+ var import_web = require("@tamagui/web"),
29
+ import_Square = require("./Square.native.js"),
30
+ Circle = (0, import_web.styled)(import_Square.Square, {
31
+ name: "Circle",
32
+ circular: !0
33
+ });
34
+ //# sourceMappingURL=Circle.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Circle.tsx"],
4
- "mappings": "AAAA,SAAS,cAAc;AACvB,SAAS,cAAc;AAChB,IAAI,SAAS,OAAO,QAAQ;AAAA,EAC/B,MAAM;AAAA,EACN,UAAU;AACd,CAAC;",
5
- "names": []
6
- }
1
+ {"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all"],"sources":["../../src/Circle.tsx"],"sourcesContent":[null],"mappings":"AACA,YAAS;;AAET,IAAAA,SAAS,GAAAC,MAAA,CAAcC,cAAA;AAEhB,IAAAC,gBAAe,GAAOF,MAAA,CAAQG,wBAAA;AAAA,IACnCC,iBAAM,GAAAJ,MAAA,CAAAK,mBAAA;AAAA,IACNC,YAAU,GAAAN,MAAA,CAAAO,SAAA,CAAAC,cAAA;AACZ,IAACC,QAAA,GAAAA,CAAAC,MAAA,EAAAC,GAAA","ignoreList":[]}
@@ -1,20 +1,44 @@
1
- import { ThemeableStack } from "@tamagui/stacks";
2
- import { styled } from "@tamagui/web";
3
- import { getShapeSize } from "./getShapeSize";
4
- var Square = styled(ThemeableStack, {
5
- name: "Square",
6
- alignItems: "center",
7
- justifyContent: "center",
8
- variants: {
9
- size: {
10
- "...size": getShapeSize,
11
- ":number": getShapeSize
12
- }
13
- }
14
- }, {
15
- memo: !0
1
+ "use strict";
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: !0
11
+ });
12
+ },
13
+ __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
15
+ get: () => from[key],
16
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
+ });
18
+ return to;
19
+ };
20
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
+ value: !0
22
+ }), mod);
23
+ var Square_exports = {};
24
+ __export(Square_exports, {
25
+ Square: () => Square
16
26
  });
17
- export {
18
- Square
19
- };
20
- //# sourceMappingURL=Square.js.map
27
+ module.exports = __toCommonJS(Square_exports);
28
+ var import_stacks = require("@tamagui/stacks"),
29
+ import_web = require("@tamagui/web"),
30
+ import_getShapeSize = require("./getShapeSize.native.js"),
31
+ Square = (0, import_web.styled)(import_stacks.ThemeableStack, {
32
+ name: "Square",
33
+ alignItems: "center",
34
+ justifyContent: "center",
35
+ variants: {
36
+ size: {
37
+ "...size": import_getShapeSize.getShapeSize,
38
+ ":number": import_getShapeSize.getShapeSize
39
+ }
40
+ }
41
+ }, {
42
+ memo: !0
43
+ });
44
+ //# sourceMappingURL=Square.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Square.tsx"],
4
- "mappings": "AAAA,SAAS,sBAAsB;AAC/B,SAAS,cAAc;AACvB,SAAS,oBAAoB;AACtB,IAAI,SAAS,OAAO,gBAAgB;AAAA,EACvC,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAChB,UAAU;AAAA,IACN,MAAM;AAAA,MACF,WAAW;AAAA,MACX,WAAW;AAAA,IACf;AAAA,EACJ;AACJ,GAAG;AAAA,EACC,MAAM;AACV,CAAC;",
5
- "names": []
6
- }
1
+ {"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","Square_exports","Square","module","exports"],"sources":["../../src/Square.tsx"],"sourcesContent":[null],"mappings":"AAAA,YAAS;;AAET,IAAAA,SAAS,GAAAC,MAAA,CAAcC,cAAA;AAEvB,IAAAC,gBAAS,GAAAF,MAAoB,CAAAG,wBAAA;AAEtB,IAAAC,iBAAe,GAAAJ,MAAA,CAAAK,mBAAA;AAAA,IACpBC,YAAA,GAAAN,MAAA,CAAAO,SAAA,CAAAC,cAAA;AAAA,IACAC,QAAA,GAAAA,CAAAC,MAAA,EAAAC,GAAA;IAAA,KACE,IAAMC,IAAA,IAAAD,GAAA,EACNZ,SAAA,CAAAW,MAAY,EAAAE,IAAA;MAAAC,GAAA,EAAAF,GAAA,CAAAC,IAAA;MAAAE,UAAA;IAAA;EAAA;EAAAC,WACZ,GAAAA,CAAAC,EAAgB,EAAAC,IAAA,EAAAC,MAAA,EAAAC,IAAA;IAAA,IAEhBF,IAAA,IAAU,OAAAA,IAAA,uBAAAA,IAAA,qBACR,IAAMG,GAAA,IAAAhB,iBAAA,CAAAa,IAAA,IAAAX,YACO,CAAAe,IAAA,CAAAL,EAAA,EAAAI,GAAA,KAAAA,GAAA,KAAAF,MAAA,IAAAnB,SAAA,CAAAiB,EAAA,EAAAI,GAAA;MAAAP,GAAA,EAAAA,CAAA,KAAAI,IAAA,CAAAG,GAAA;MAAAN,UAAA,IAAAK,IAAA,GAAAjB,gBAAA,CAAAe,IAAA,EAAAG,GAAA,MAAAD,IAAA,CAAAL;IAAA;IAAA,OACXE,EAAA;EAAW;AACb,IACFM,YAAA,GAAAC,GAAA,IAAAR,WAAA,CAAAhB,SAAA;EAAAyB,KAAA;AAAA,IAAAD,GAAA;AAAA,IACFE,cAAA;AAAAhB,QACA,CAAAgB,cAAA;EAAAC,MACE,EAAMA,CAAA,KAAAA;AAAA,EACR;AACFC,MAAA,CAAAC,OAAA,GAAAN,YAAA,CAAAG,cAAA","ignoreList":[]}
@@ -1,5 +1,38 @@
1
- var getShapeSize = function(size, param) {
2
- var { tokens } = param, _tokens_size_size, width = (_tokens_size_size = tokens.size[size]) !== null && _tokens_size_size !== void 0 ? _tokens_size_size : size, _tokens_size_size1, height = (_tokens_size_size1 = tokens.size[size]) !== null && _tokens_size_size1 !== void 0 ? _tokens_size_size1 : size;
1
+ "use strict";
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __export = (target, all) => {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: !0
11
+ });
12
+ },
13
+ __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
15
+ get: () => from[key],
16
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
+ });
18
+ return to;
19
+ };
20
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
+ value: !0
22
+ }), mod);
23
+ var getShapeSize_exports = {};
24
+ __export(getShapeSize_exports, {
25
+ getShapeSize: () => getShapeSize
26
+ });
27
+ module.exports = __toCommonJS(getShapeSize_exports);
28
+ var getShapeSize = function (size, param) {
29
+ var {
30
+ tokens
31
+ } = param,
32
+ _tokens_size_size,
33
+ width = (_tokens_size_size = tokens.size[size]) !== null && _tokens_size_size !== void 0 ? _tokens_size_size : size,
34
+ _tokens_size_size1,
35
+ height = (_tokens_size_size1 = tokens.size[size]) !== null && _tokens_size_size1 !== void 0 ? _tokens_size_size1 : size;
3
36
  return {
4
37
  width,
5
38
  height,
@@ -9,7 +42,4 @@ var getShapeSize = function(size, param) {
9
42
  minHeight: height
10
43
  };
11
44
  };
12
- export {
13
- getShapeSize
14
- };
15
- //# sourceMappingURL=getShapeSize.js.map
45
+ //# sourceMappingURL=getShapeSize.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/getShapeSize.tsx"],
4
- "mappings": "AAAO,IAAI,eAAe,SAAS,MAAM,OAAO;AAC5C,MAAI,EAAE,OAAO,IAAI,OACb,mBACA,SAAS,oBAAoB,OAAO,KAAK,IAAI,OAAO,QAAQ,sBAAsB,SAAS,oBAAoB,MAC/G,oBACA,UAAU,qBAAqB,OAAO,KAAK,IAAI,OAAO,QAAQ,uBAAuB,SAAS,qBAAqB;AACvH,SAAO;AAAA,IACH;AAAA,IACA;AAAA,IACA,UAAU;AAAA,IACV,UAAU;AAAA,IACV,WAAW;AAAA,IACX,WAAW;AAAA,EACf;AACJ;",
5
- "names": []
6
- }
1
+ {"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key"],"sources":["../../src/getShapeSize.tsx"],"sourcesContent":[null],"mappings":"AAGO,YAAM;;AAIX,IAAAA,SAAM,GAAQC,MAAA,CAAOC,cAAc;AAEnC,IAAAC,gBAAO,GAAAF,MAAA,CAAAG,wBAAA;AAAA,IACLC,iBAAA,GAAAJ,MAAA,CAAAK,mBAAA;AAAA,IACAC,YAAA,GAAAN,MAAA,CAAAO,SAAA,CAAAC,cAAA;AAAA,IACAC,QAAA,GAAUA,CAAAC,MAAA,EAAAC,GAAA;IAAA,KACV,IAAAC,IAAU,IAAAD,GAAA,EACVZ,SAAA,CAAAW,MAAW,EAAAE,IAAA;MAAAC,GAAA,EAAAF,GAAA,CAAAC,IAAA;MAAAE,UAAA;IAAA;EAAA;EAAAC,WACX,GAAWA,CAAAC,EAAA,EAAAC,IAAA,EAAAC,MAAA,EAAAC,IAAA;IACb,IAAAF,IAAA,WAAAA,IAAA,uBAAAA,IAAA,gBACF,SAAAG,GAAA,IAAAhB,iBAAA,CAAAa,IAAA,G","ignoreList":[]}
@@ -1,4 +1,23 @@
1
- export * from "./Square";
2
- export * from "./Circle";
3
- export * from "./getShapeSize";
4
- //# sourceMappingURL=index.js.map
1
+ "use strict";
2
+
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __copyProps = (to, from, except, desc) => {
8
+ if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
9
+ get: () => from[key],
10
+ enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
11
+ });
12
+ return to;
13
+ },
14
+ __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
+ var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
16
+ value: !0
17
+ }), mod);
18
+ var index_exports = {};
19
+ module.exports = __toCommonJS(index_exports);
20
+ __reExport(index_exports, require("./Square.native.js"), module.exports);
21
+ __reExport(index_exports, require("./Circle.native.js"), module.exports);
22
+ __reExport(index_exports, require("./getShapeSize.native.js"), module.exports);
23
+ //# sourceMappingURL=index.native.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/index.ts"],
4
- "mappings": "AAAA,cAAc;AACd,cAAc;AACd,cAAc;",
5
- "names": []
6
- }
1
+ {"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA;;AACA,IAAAA,SAAA,GAAcC,MAAA,CAAAC,cAAA;AACd,IAAAC,gBAAc,GAAAF,MAAA,CAAAG,wBAAA","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@tamagui/shapes",
3
- "version": "1.135.4",
3
+ "version": "1.135.6",
4
+ "type": "module",
4
5
  "sideEffects": [
5
6
  "*.css"
6
7
  ],
@@ -36,11 +37,11 @@
36
37
  }
37
38
  },
38
39
  "dependencies": {
39
- "@tamagui/stacks": "1.135.4",
40
- "@tamagui/web": "1.135.4"
40
+ "@tamagui/stacks": "1.135.6",
41
+ "@tamagui/web": "1.135.6"
41
42
  },
42
43
  "devDependencies": {
43
- "@tamagui/build": "1.135.4",
44
+ "@tamagui/build": "1.135.6",
44
45
  "react": "*"
45
46
  },
46
47
  "publishConfig": {