@tamagui/shapes 1.88.21 → 1.88.23

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,30 +1,10 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- 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);
16
- var Circle_exports = {};
17
- __export(Circle_exports, {
18
- Circle: () => Circle
19
- });
20
- module.exports = __toCommonJS(Circle_exports);
21
- var import_web = require("@tamagui/web"), import_Square = require("./Square");
22
- const Circle = (0, import_web.styled)(import_Square.Square, {
1
+ import { styled } from "@tamagui/web";
2
+ import { Square } from "./Square";
3
+ const Circle = styled(Square, {
23
4
  name: "Circle",
24
5
  circular: !0
25
6
  });
26
- // Annotate the CommonJS export names for ESM import in node:
27
- 0 && (module.exports = {
7
+ export {
28
8
  Circle
29
- });
9
+ };
30
10
  //# sourceMappingURL=Circle.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Circle.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,iBAAuB,yBAEvB,gBAAuB;AAEhB,MAAM,aAAS,mBAAO,sBAAQ;AAAA,EACnC,MAAM;AAAA,EACN,UAAU;AACZ,CAAC;",
4
+ "mappings": "AACA,SAAS,cAAc;AAEvB,SAAS,cAAc;AAEhB,MAAM,SAAS,OAAO,QAAQ;AAAA,EACnC,MAAM;AAAA,EACN,UAAU;AACZ,CAAC;",
5
5
  "names": []
6
6
  }
@@ -1,37 +1,18 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- 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);
16
- var Square_exports = {};
17
- __export(Square_exports, {
18
- Square: () => Square
19
- });
20
- module.exports = __toCommonJS(Square_exports);
21
- var import_stacks = require("@tamagui/stacks"), import_web = require("@tamagui/web"), import_getShapeSize = require("./getShapeSize");
22
- const Square = (0, import_web.styled)(import_stacks.ThemeableStack, {
1
+ import { ThemeableStack } from "@tamagui/stacks";
2
+ import { styled } from "@tamagui/web";
3
+ import { getShapeSize } from "./getShapeSize";
4
+ const Square = styled(ThemeableStack, {
23
5
  name: "Square",
24
6
  alignItems: "center",
25
7
  justifyContent: "center",
26
8
  variants: {
27
9
  size: {
28
- "...size": import_getShapeSize.getShapeSize,
29
- ":number": import_getShapeSize.getShapeSize
10
+ "...size": getShapeSize,
11
+ ":number": getShapeSize
30
12
  }
31
13
  }
32
14
  });
33
- // Annotate the CommonJS export names for ESM import in node:
34
- 0 && (module.exports = {
15
+ export {
35
16
  Square
36
- });
17
+ };
37
18
  //# sourceMappingURL=Square.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Square.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAA+B,4BAE/B,aAAuB,yBAEvB,sBAA6B;AAEtB,MAAM,aAAS,mBAAO,8BAAgB;AAAA,EAC3C,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAEhB,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW;AAAA,MACX,WAAW;AAAA,IACb;AAAA,EACF;AACF,CAAC;",
4
+ "mappings": "AAAA,SAAS,sBAAsB;AAE/B,SAAS,cAAc;AAEvB,SAAS,oBAAoB;AAEtB,MAAM,SAAS,OAAO,gBAAgB;AAAA,EAC3C,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAEhB,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW;AAAA,MACX,WAAW;AAAA,IACb;AAAA,EACF;AACF,CAAC;",
5
5
  "names": []
6
6
  }
@@ -1,23 +1,3 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- 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);
16
- var getShapeSize_exports = {};
17
- __export(getShapeSize_exports, {
18
- getShapeSize: () => getShapeSize
19
- });
20
- module.exports = __toCommonJS(getShapeSize_exports);
21
1
  const getShapeSize = (size, { tokens }) => {
22
2
  const width = tokens.size[size] ?? size, height = tokens.size[size] ?? size;
23
3
  return {
@@ -29,8 +9,7 @@ const getShapeSize = (size, { tokens }) => {
29
9
  minHeight: height
30
10
  };
31
11
  };
32
- // Annotate the CommonJS export names for ESM import in node:
33
- 0 && (module.exports = {
12
+ export {
34
13
  getShapeSize
35
- });
14
+ };
36
15
  //# sourceMappingURL=getShapeSize.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/getShapeSize.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGO,MAAM,eAA6D,CACxE,MACA,EAAE,OAAO,MACN;AACH,QAAM,QAAQ,OAAO,KAAK,IAAI,KAAK,MAC7B,SAAS,OAAO,KAAK,IAAI,KAAK;AACpC,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA,UAAU;AAAA,IACV,UAAU;AAAA,IACV,WAAW;AAAA,IACX,WAAW;AAAA,EACb;AACF;",
4
+ "mappings": "AAGO,MAAM,eAA6D,CACxE,MACA,EAAE,OAAO,MACN;AACH,QAAM,QAAQ,OAAO,KAAK,IAAI,KAAK,MAC7B,SAAS,OAAO,KAAK,IAAI,KAAK;AACpC,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA,UAAU;AAAA,IACV,UAAU;AAAA,IACV,WAAW;AAAA,IACX,WAAW;AAAA,EACb;AACF;",
5
5
  "names": []
6
6
  }
@@ -1,24 +1,4 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- 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);
13
- var src_exports = {};
14
- module.exports = __toCommonJS(src_exports);
15
- __reExport(src_exports, require("./Square"), module.exports);
16
- __reExport(src_exports, require("./Circle"), module.exports);
17
- __reExport(src_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
- });
1
+ export * from "./Square";
2
+ export * from "./Circle";
3
+ export * from "./getShapeSize";
24
4
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.ts"],
4
- "mappings": ";;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,qBAAd;AACA,wBAAc,qBADd;AAEA,wBAAc,2BAFd;",
4
+ "mappings": "AAAA,cAAc;AACd,cAAc;AACd,cAAc;",
5
5
  "names": []
6
6
  }
@@ -1,30 +1,10 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- 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);
16
- var Circle_exports = {};
17
- __export(Circle_exports, {
18
- Circle: () => Circle
19
- });
20
- module.exports = __toCommonJS(Circle_exports);
21
- var import_web = require("@tamagui/web"), import_Square = require("./Square");
22
- const Circle = (0, import_web.styled)(import_Square.Square, {
1
+ import { styled } from "@tamagui/web";
2
+ import { Square } from "./Square";
3
+ const Circle = styled(Square, {
23
4
  name: "Circle",
24
5
  circular: !0
25
6
  });
26
- // Annotate the CommonJS export names for ESM import in node:
27
- 0 && (module.exports = {
7
+ export {
28
8
  Circle
29
- });
9
+ };
30
10
  //# sourceMappingURL=Circle.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Circle.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,iBAAuB,yBAEvB,gBAAuB;AAEhB,MAAM,aAAS,mBAAO,sBAAQ;AAAA,EACnC,MAAM;AAAA,EACN,UAAU;AACZ,CAAC;",
4
+ "mappings": "AACA,SAAS,cAAc;AAEvB,SAAS,cAAc;AAEhB,MAAM,SAAS,OAAO,QAAQ;AAAA,EACnC,MAAM;AAAA,EACN,UAAU;AACZ,CAAC;",
5
5
  "names": []
6
6
  }
@@ -1,37 +1,18 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- 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);
16
- var Square_exports = {};
17
- __export(Square_exports, {
18
- Square: () => Square
19
- });
20
- module.exports = __toCommonJS(Square_exports);
21
- var import_stacks = require("@tamagui/stacks"), import_web = require("@tamagui/web"), import_getShapeSize = require("./getShapeSize");
22
- const Square = (0, import_web.styled)(import_stacks.ThemeableStack, {
1
+ import { ThemeableStack } from "@tamagui/stacks";
2
+ import { styled } from "@tamagui/web";
3
+ import { getShapeSize } from "./getShapeSize";
4
+ const Square = styled(ThemeableStack, {
23
5
  name: "Square",
24
6
  alignItems: "center",
25
7
  justifyContent: "center",
26
8
  variants: {
27
9
  size: {
28
- "...size": import_getShapeSize.getShapeSize,
29
- ":number": import_getShapeSize.getShapeSize
10
+ "...size": getShapeSize,
11
+ ":number": getShapeSize
30
12
  }
31
13
  }
32
14
  });
33
- // Annotate the CommonJS export names for ESM import in node:
34
- 0 && (module.exports = {
15
+ export {
35
16
  Square
36
- });
17
+ };
37
18
  //# sourceMappingURL=Square.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Square.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,oBAA+B,4BAE/B,aAAuB,yBAEvB,sBAA6B;AAEtB,MAAM,aAAS,mBAAO,8BAAgB;AAAA,EAC3C,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAEhB,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW;AAAA,MACX,WAAW;AAAA,IACb;AAAA,EACF;AACF,CAAC;",
4
+ "mappings": "AAAA,SAAS,sBAAsB;AAE/B,SAAS,cAAc;AAEvB,SAAS,oBAAoB;AAEtB,MAAM,SAAS,OAAO,gBAAgB;AAAA,EAC3C,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAEhB,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW;AAAA,MACX,WAAW;AAAA,IACb;AAAA,EACF;AACF,CAAC;",
5
5
  "names": []
6
6
  }
@@ -1,23 +1,3 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- 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);
16
- var getShapeSize_exports = {};
17
- __export(getShapeSize_exports, {
18
- getShapeSize: () => getShapeSize
19
- });
20
- module.exports = __toCommonJS(getShapeSize_exports);
21
1
  const getShapeSize = (size, { tokens }) => {
22
2
  const width = tokens.size[size] ?? size, height = tokens.size[size] ?? size;
23
3
  return {
@@ -29,8 +9,7 @@ const getShapeSize = (size, { tokens }) => {
29
9
  minHeight: height
30
10
  };
31
11
  };
32
- // Annotate the CommonJS export names for ESM import in node:
33
- 0 && (module.exports = {
12
+ export {
34
13
  getShapeSize
35
- });
14
+ };
36
15
  //# sourceMappingURL=getShapeSize.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/getShapeSize.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGO,MAAM,eAA6D,CACxE,MACA,EAAE,OAAO,MACN;AACH,QAAM,QAAQ,OAAO,KAAK,IAAI,KAAK,MAC7B,SAAS,OAAO,KAAK,IAAI,KAAK;AACpC,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA,UAAU;AAAA,IACV,UAAU;AAAA,IACV,WAAW;AAAA,IACX,WAAW;AAAA,EACb;AACF;",
4
+ "mappings": "AAGO,MAAM,eAA6D,CACxE,MACA,EAAE,OAAO,MACN;AACH,QAAM,QAAQ,OAAO,KAAK,IAAI,KAAK,MAC7B,SAAS,OAAO,KAAK,IAAI,KAAK;AACpC,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA,UAAU;AAAA,IACV,UAAU;AAAA,IACV,WAAW;AAAA,IACX,WAAW;AAAA,EACb;AACF;",
5
5
  "names": []
6
6
  }
@@ -1,24 +1,4 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- 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);
13
- var src_exports = {};
14
- module.exports = __toCommonJS(src_exports);
15
- __reExport(src_exports, require("./Square"), module.exports);
16
- __reExport(src_exports, require("./Circle"), module.exports);
17
- __reExport(src_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
- });
1
+ export * from "./Square";
2
+ export * from "./Circle";
3
+ export * from "./getShapeSize";
24
4
  //# sourceMappingURL=index.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.ts"],
4
- "mappings": ";;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,qBAAd;AACA,wBAAc,qBADd;AAEA,wBAAc,2BAFd;",
4
+ "mappings": "AAAA,cAAc;AACd,cAAc;AACd,cAAc;",
5
5
  "names": []
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/shapes",
3
- "version": "1.88.21",
3
+ "version": "1.88.23",
4
4
  "sideEffects": [
5
5
  "*.css"
6
6
  ],
@@ -32,14 +32,14 @@
32
32
  }
33
33
  },
34
34
  "dependencies": {
35
- "@tamagui/stacks": "1.88.21",
36
- "@tamagui/web": "1.88.21"
35
+ "@tamagui/stacks": "1.88.23",
36
+ "@tamagui/web": "1.88.23"
37
37
  },
38
38
  "peerDependencies": {
39
39
  "react": "*"
40
40
  },
41
41
  "devDependencies": {
42
- "@tamagui/build": "1.88.21",
42
+ "@tamagui/build": "1.88.23",
43
43
  "react": "^18.2.0"
44
44
  },
45
45
  "publishConfig": {