@tamagui/shapes 1.13.3 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Circle.js +1 -33
- package/dist/cjs/Circle.js.map +2 -2
- package/dist/cjs/Square.js +1 -45
- package/dist/cjs/Square.js.map +2 -2
- package/dist/cjs/getShapeSize.js +1 -39
- package/dist/cjs/getShapeSize.js.map +2 -2
- package/dist/cjs/index.js +1 -20
- package/dist/cjs/index.js.map +2 -2
- package/dist/esm/Circle.js +1 -9
- package/dist/esm/Circle.js.map +2 -2
- package/dist/esm/Circle.mjs +1 -9
- package/dist/esm/Circle.mjs.map +2 -2
- package/dist/esm/Square.js +1 -21
- package/dist/esm/Square.js.map +2 -2
- package/dist/esm/Square.mjs +1 -21
- package/dist/esm/Square.mjs.map +2 -2
- package/dist/esm/getShapeSize.js +1 -15
- package/dist/esm/getShapeSize.js.map +2 -2
- package/dist/esm/getShapeSize.mjs +1 -15
- package/dist/esm/getShapeSize.mjs.map +2 -2
- package/dist/esm/index.js +1 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.mjs +1 -3
- package/dist/esm/index.mjs.map +1 -1
- package/dist/jsx/Circle.js +1 -9
- package/dist/jsx/Circle.js.map +2 -2
- package/dist/jsx/Circle.mjs +1 -9
- package/dist/jsx/Circle.mjs.map +2 -2
- package/dist/jsx/Square.js +1 -21
- package/dist/jsx/Square.js.map +2 -2
- package/dist/jsx/Square.mjs +1 -21
- package/dist/jsx/Square.mjs.map +2 -2
- package/dist/jsx/getShapeSize.js +1 -15
- package/dist/jsx/getShapeSize.js.map +2 -2
- package/dist/jsx/getShapeSize.mjs +1 -15
- package/dist/jsx/getShapeSize.mjs.map +2 -2
- package/dist/jsx/index.js +1 -3
- package/dist/jsx/index.js.map +1 -1
- package/dist/jsx/index.mjs +1 -3
- package/dist/jsx/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/cjs/Circle.js
CHANGED
|
@@ -1,34 +1,2 @@
|
|
|
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: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var Circle_exports = {};
|
|
20
|
-
__export(Circle_exports, {
|
|
21
|
-
Circle: () => Circle
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(Circle_exports);
|
|
24
|
-
var import_web = require("@tamagui/web");
|
|
25
|
-
var import_Square = require("./Square");
|
|
26
|
-
const Circle = (0, import_web.styled)(import_Square.Square, {
|
|
27
|
-
name: "Circle",
|
|
28
|
-
circular: true
|
|
29
|
-
});
|
|
30
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
31
|
-
0 && (module.exports = {
|
|
32
|
-
Circle
|
|
33
|
-
});
|
|
1
|
+
"use strict";var p=Object.defineProperty;var m=Object.getOwnPropertyDescriptor;var s=Object.getOwnPropertyNames;var C=Object.prototype.hasOwnProperty;var a=(e,r)=>{for(var t in r)p(e,t,{get:r[t],enumerable:!0})},f=(e,r,t,c)=>{if(r&&typeof r=="object"||typeof r=="function")for(let o of s(r))!C.call(e,o)&&o!==t&&p(e,o,{get:()=>r[o],enumerable:!(c=m(r,o))||c.enumerable});return e};var u=e=>f(p({},"__esModule",{value:!0}),e);var P={};a(P,{Circle:()=>y});module.exports=u(P);var i=require("@tamagui/web"),l=require("./Square");const y=(0,i.styled)(l.Square,{name:"Circle",circular:!0});0&&(module.exports={Circle});
|
|
34
2
|
//# sourceMappingURL=Circle.js.map
|
package/dist/cjs/Circle.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Circle.tsx"],
|
|
4
4
|
"sourcesContent": ["import { GetProps, styled } from '@tamagui/web'\n\nimport { Square } from './Square'\n\nexport const Circle = styled(Square, {\n name: 'Circle',\n circular: true,\n})\n\nexport type CircleProps = GetProps<typeof Circle>\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,YAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAAiC,wBAEjCC,EAAuB,oBAEhB,MAAMH,KAAS,UAAO,SAAQ,CACnC,KAAM,SACN,SAAU,EACZ,CAAC",
|
|
6
|
+
"names": ["Circle_exports", "__export", "Circle", "__toCommonJS", "import_web", "import_Square"]
|
|
7
7
|
}
|
package/dist/cjs/Square.js
CHANGED
|
@@ -1,46 +1,2 @@
|
|
|
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: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var Square_exports = {};
|
|
20
|
-
__export(Square_exports, {
|
|
21
|
-
Square: () => Square
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(Square_exports);
|
|
24
|
-
var import_stacks = require("@tamagui/stacks");
|
|
25
|
-
var import_web = require("@tamagui/web");
|
|
26
|
-
var import_getShapeSize = require("./getShapeSize");
|
|
27
|
-
const Square = (0, import_web.styled)(import_stacks.ThemeableStack, {
|
|
28
|
-
name: "Square",
|
|
29
|
-
alignItems: "center",
|
|
30
|
-
justifyContent: "center",
|
|
31
|
-
variants: {
|
|
32
|
-
circular: {
|
|
33
|
-
true: {
|
|
34
|
-
borderRadius: 1e5
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
size: {
|
|
38
|
-
"...size": import_getShapeSize.getShapeSize
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
});
|
|
42
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
43
|
-
0 && (module.exports = {
|
|
44
|
-
Square
|
|
45
|
-
});
|
|
1
|
+
"use strict";var a=Object.defineProperty;var n=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var S=(r,e)=>{for(var o in e)a(r,o,{get:e[o],enumerable:!0})},f=(r,e,o,s)=>{if(e&&typeof e=="object"||typeof e=="function")for(let t of u(e))!c.call(r,t)&&t!==o&&a(r,t,{get:()=>e[t],enumerable:!(s=n(e,t))||s.enumerable});return r};var l=r=>f(a({},"__esModule",{value:!0}),r);var y={};S(y,{Square:()=>q});module.exports=l(y);var i=require("@tamagui/stacks"),p=require("@tamagui/web"),m=require("./getShapeSize");const q=(0,p.styled)(i.ThemeableStack,{name:"Square",alignItems:"center",justifyContent:"center",variants:{circular:{true:{borderRadius:1e5}},size:{"...size":m.getShapeSize}}});0&&(module.exports={Square});
|
|
46
2
|
//# sourceMappingURL=Square.js.map
|
package/dist/cjs/Square.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Square.tsx"],
|
|
4
4
|
"sourcesContent": ["import { ThemeableStack } from '@tamagui/stacks'\nimport { GetProps, styled } from '@tamagui/web'\n\nimport { getShapeSize } from './getShapeSize'\n\nexport const Square = styled(ThemeableStack, {\n name: 'Square',\n alignItems: 'center',\n justifyContent: 'center',\n\n variants: {\n circular: {\n true: {\n borderRadius: 100_000,\n },\n },\n\n size: {\n '...size': getShapeSize,\n },\n } as const,\n})\n\nexport type SquareProps = GetProps<typeof Square>\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,YAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAA+B,2BAC/BC,EAAiC,wBAEjCC,EAA6B,0BAEtB,MAAMJ,KAAS,UAAO,iBAAgB,CAC3C,KAAM,SACN,WAAY,SACZ,eAAgB,SAEhB,SAAU,CACR,SAAU,CACR,KAAM,CACJ,aAAc,GAChB,CACF,EAEA,KAAM,CACJ,UAAW,cACb,CACF,CACF,CAAC",
|
|
6
|
+
"names": ["Square_exports", "__export", "Square", "__toCommonJS", "import_stacks", "import_web", "import_getShapeSize"]
|
|
7
7
|
}
|
package/dist/cjs/getShapeSize.js
CHANGED
|
@@ -1,40 +1,2 @@
|
|
|
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: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
var getShapeSize_exports = {};
|
|
20
|
-
__export(getShapeSize_exports, {
|
|
21
|
-
getShapeSize: () => getShapeSize
|
|
22
|
-
});
|
|
23
|
-
module.exports = __toCommonJS(getShapeSize_exports);
|
|
24
|
-
const getShapeSize = (size, { tokens }) => {
|
|
25
|
-
const width = tokens.size[size] ?? size;
|
|
26
|
-
const height = tokens.size[size] ?? size;
|
|
27
|
-
return {
|
|
28
|
-
width,
|
|
29
|
-
height,
|
|
30
|
-
minWidth: width,
|
|
31
|
-
maxWidth: width,
|
|
32
|
-
maxHeight: height,
|
|
33
|
-
minHeight: height
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
37
|
-
0 && (module.exports = {
|
|
38
|
-
getShapeSize
|
|
39
|
-
});
|
|
1
|
+
"use strict";var n=Object.defineProperty;var o=Object.getOwnPropertyDescriptor;var S=Object.getOwnPropertyNames;var h=Object.prototype.hasOwnProperty;var m=(t,i)=>{for(var a in i)n(t,a,{get:i[a],enumerable:!0})},p=(t,i,a,r)=>{if(i&&typeof i=="object"||typeof i=="function")for(let e of S(i))!h.call(t,e)&&e!==a&&n(t,e,{get:()=>i[e],enumerable:!(r=o(i,e))||r.enumerable});return t};var c=t=>p(n({},"__esModule",{value:!0}),t);var g={};m(g,{getShapeSize:()=>d});module.exports=c(g);const d=(t,{tokens:i})=>{const a=i.size[t]??t,r=i.size[t]??t;return{width:a,height:r,minWidth:a,maxWidth:a,maxHeight:r,minHeight:r}};0&&(module.exports={getShapeSize});
|
|
40
2
|
//# sourceMappingURL=getShapeSize.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/getShapeSize.tsx"],
|
|
4
4
|
"sourcesContent": ["import { SizableStackProps } from '@tamagui/stacks'\nimport { SizeVariantSpreadFunction } from '@tamagui/web'\n\nexport const getShapeSize: SizeVariantSpreadFunction<SizableStackProps> = (\n size,\n { tokens }\n) => {\n const width = tokens.size[size] ?? size\n const height = tokens.size[size] ?? size\n return {\n width,\n height,\n minWidth: width,\n maxWidth: width,\n maxHeight: height,\n minHeight: height,\n }\n}\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,kBAAAE,IAAA,eAAAC,EAAAH,GAGO,MAAME,EAA6D,CACxEE,EACA,CAAE,OAAAC,CAAO,IACN,CACH,MAAMC,EAAQD,EAAO,KAAKD,CAAI,GAAKA,EAC7BG,EAASF,EAAO,KAAKD,CAAI,GAAKA,EACpC,MAAO,CACL,MAAAE,EACA,OAAAC,EACA,SAAUD,EACV,SAAUA,EACV,UAAWC,EACX,UAAWA,CACb,CACF",
|
|
6
|
+
"names": ["getShapeSize_exports", "__export", "getShapeSize", "__toCommonJS", "size", "tokens", "width", "height"]
|
|
7
7
|
}
|
package/dist/cjs/index.js
CHANGED
|
@@ -1,21 +1,2 @@
|
|
|
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
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
-
}
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
-
var src_exports = {};
|
|
17
|
-
module.exports = __toCommonJS(src_exports);
|
|
18
|
-
__reExport(src_exports, require("./Square"), module.exports);
|
|
19
|
-
__reExport(src_exports, require("./Circle"), module.exports);
|
|
20
|
-
__reExport(src_exports, require("./getShapeSize"), module.exports);
|
|
1
|
+
"use strict";var a=Object.defineProperty;var b=Object.getOwnPropertyDescriptor;var c=Object.getOwnPropertyNames;var d=Object.prototype.hasOwnProperty;var t=(f,r,p,x)=>{if(r&&typeof r=="object"||typeof r=="function")for(let m of c(r))!d.call(f,m)&&m!==p&&a(f,m,{get:()=>r[m],enumerable:!(x=b(r,m))||x.enumerable});return f},e=(f,r,p)=>(t(f,r,"default"),p&&t(p,r,"default"));var g=f=>t(a({},"__esModule",{value:!0}),f);var o={};module.exports=g(o);e(o,require("./Square"),module.exports);e(o,require("./Circle"),module.exports);e(o,require("./getShapeSize"),module.exports);
|
|
21
2
|
//# sourceMappingURL=index.js.map
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
4
|
"sourcesContent": ["export * from './Square'\nexport * from './Circle'\nexport * from './getShapeSize'\n"],
|
|
5
|
-
"mappings": "
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "iaAAA,IAAAA,EAAA,kBAAAC,EAAAD,GAAAE,EAAAF,EAAc,oBAAd,gBACAE,EAAAF,EAAc,oBADd,gBAEAE,EAAAF,EAAc,0BAFd",
|
|
6
|
+
"names": ["src_exports", "__toCommonJS", "__reExport"]
|
|
7
7
|
}
|
package/dist/esm/Circle.js
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Square } from "./Square";
|
|
3
|
-
const Circle = styled(Square, {
|
|
4
|
-
name: "Circle",
|
|
5
|
-
circular: true
|
|
6
|
-
});
|
|
7
|
-
export {
|
|
8
|
-
Circle
|
|
9
|
-
};
|
|
1
|
+
import{styled as r}from"@tamagui/web";import{Square as e}from"./Square";const c=r(e,{name:"Circle",circular:!0});export{c as Circle};
|
|
10
2
|
//# sourceMappingURL=Circle.js.map
|
package/dist/esm/Circle.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Circle.tsx"],
|
|
4
4
|
"sourcesContent": ["import { GetProps, styled } from '@tamagui/web'\n\nimport { Square } from './Square'\n\nexport const Circle = styled(Square, {\n name: 'Circle',\n circular: true,\n})\n\nexport type CircleProps = GetProps<typeof Circle>\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "AAAA,OAAmB,UAAAA,MAAc,eAEjC,OAAS,UAAAC,MAAc,WAEhB,MAAMC,EAASF,EAAOC,EAAQ,CACnC,KAAM,SACN,SAAU,EACZ,CAAC",
|
|
6
|
+
"names": ["styled", "Square", "Circle"]
|
|
7
7
|
}
|
package/dist/esm/Circle.mjs
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Square } from "./Square";
|
|
3
|
-
const Circle = styled(Square, {
|
|
4
|
-
name: "Circle",
|
|
5
|
-
circular: true
|
|
6
|
-
});
|
|
7
|
-
export {
|
|
8
|
-
Circle
|
|
9
|
-
};
|
|
1
|
+
import{styled as r}from"@tamagui/web";import{Square as e}from"./Square";const c=r(e,{name:"Circle",circular:!0});export{c as Circle};
|
|
10
2
|
//# sourceMappingURL=Circle.mjs.map
|
package/dist/esm/Circle.mjs.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Circle.tsx"],
|
|
4
4
|
"sourcesContent": ["import { GetProps, styled } from '@tamagui/web'\n\nimport { Square } from './Square'\n\nexport const Circle = styled(Square, {\n name: 'Circle',\n circular: true,\n})\n\nexport type CircleProps = GetProps<typeof Circle>\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "AAAA,OAAmB,UAAAA,MAAc,eAEjC,OAAS,UAAAC,MAAc,WAEhB,MAAMC,EAASF,EAAOC,EAAQ,CACnC,KAAM,SACN,SAAU,EACZ,CAAC",
|
|
6
|
+
"names": ["styled", "Square", "Circle"]
|
|
7
7
|
}
|
package/dist/esm/Square.js
CHANGED
|
@@ -1,22 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { styled } from "@tamagui/web";
|
|
3
|
-
import { getShapeSize } from "./getShapeSize";
|
|
4
|
-
const Square = styled(ThemeableStack, {
|
|
5
|
-
name: "Square",
|
|
6
|
-
alignItems: "center",
|
|
7
|
-
justifyContent: "center",
|
|
8
|
-
variants: {
|
|
9
|
-
circular: {
|
|
10
|
-
true: {
|
|
11
|
-
borderRadius: 1e5
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
size: {
|
|
15
|
-
"...size": getShapeSize
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
export {
|
|
20
|
-
Square
|
|
21
|
-
};
|
|
1
|
+
import{ThemeableStack as e}from"@tamagui/stacks";import{styled as r}from"@tamagui/web";import{getShapeSize as t}from"./getShapeSize";const p=r(e,{name:"Square",alignItems:"center",justifyContent:"center",variants:{circular:{true:{borderRadius:1e5}},size:{"...size":t}}});export{p as Square};
|
|
22
2
|
//# sourceMappingURL=Square.js.map
|
package/dist/esm/Square.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Square.tsx"],
|
|
4
4
|
"sourcesContent": ["import { ThemeableStack } from '@tamagui/stacks'\nimport { GetProps, styled } from '@tamagui/web'\n\nimport { getShapeSize } from './getShapeSize'\n\nexport const Square = styled(ThemeableStack, {\n name: 'Square',\n alignItems: 'center',\n justifyContent: 'center',\n\n variants: {\n circular: {\n true: {\n borderRadius: 100_000,\n },\n },\n\n size: {\n '...size': getShapeSize,\n },\n } as const,\n})\n\nexport type SquareProps = GetProps<typeof Square>\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "AAAA,OAAS,kBAAAA,MAAsB,kBAC/B,OAAmB,UAAAC,MAAc,eAEjC,OAAS,gBAAAC,MAAoB,iBAEtB,MAAMC,EAASF,EAAOD,EAAgB,CAC3C,KAAM,SACN,WAAY,SACZ,eAAgB,SAEhB,SAAU,CACR,SAAU,CACR,KAAM,CACJ,aAAc,GAChB,CACF,EAEA,KAAM,CACJ,UAAWE,CACb,CACF,CACF,CAAC",
|
|
6
|
+
"names": ["ThemeableStack", "styled", "getShapeSize", "Square"]
|
|
7
7
|
}
|
package/dist/esm/Square.mjs
CHANGED
|
@@ -1,22 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { styled } from "@tamagui/web";
|
|
3
|
-
import { getShapeSize } from "./getShapeSize";
|
|
4
|
-
const Square = styled(ThemeableStack, {
|
|
5
|
-
name: "Square",
|
|
6
|
-
alignItems: "center",
|
|
7
|
-
justifyContent: "center",
|
|
8
|
-
variants: {
|
|
9
|
-
circular: {
|
|
10
|
-
true: {
|
|
11
|
-
borderRadius: 1e5
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
size: {
|
|
15
|
-
"...size": getShapeSize
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
export {
|
|
20
|
-
Square
|
|
21
|
-
};
|
|
1
|
+
import{ThemeableStack as e}from"@tamagui/stacks";import{styled as r}from"@tamagui/web";import{getShapeSize as t}from"./getShapeSize";const p=r(e,{name:"Square",alignItems:"center",justifyContent:"center",variants:{circular:{true:{borderRadius:1e5}},size:{"...size":t}}});export{p as Square};
|
|
22
2
|
//# sourceMappingURL=Square.mjs.map
|
package/dist/esm/Square.mjs.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Square.tsx"],
|
|
4
4
|
"sourcesContent": ["import { ThemeableStack } from '@tamagui/stacks'\nimport { GetProps, styled } from '@tamagui/web'\n\nimport { getShapeSize } from './getShapeSize'\n\nexport const Square = styled(ThemeableStack, {\n name: 'Square',\n alignItems: 'center',\n justifyContent: 'center',\n\n variants: {\n circular: {\n true: {\n borderRadius: 100_000,\n },\n },\n\n size: {\n '...size': getShapeSize,\n },\n } as const,\n})\n\nexport type SquareProps = GetProps<typeof Square>\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "AAAA,OAAS,kBAAAA,MAAsB,kBAC/B,OAAmB,UAAAC,MAAc,eAEjC,OAAS,gBAAAC,MAAoB,iBAEtB,MAAMC,EAASF,EAAOD,EAAgB,CAC3C,KAAM,SACN,WAAY,SACZ,eAAgB,SAEhB,SAAU,CACR,SAAU,CACR,KAAM,CACJ,aAAc,GAChB,CACF,EAEA,KAAM,CACJ,UAAWE,CACb,CACF,CACF,CAAC",
|
|
6
|
+
"names": ["ThemeableStack", "styled", "getShapeSize", "Square"]
|
|
7
7
|
}
|
package/dist/esm/getShapeSize.js
CHANGED
|
@@ -1,16 +1,2 @@
|
|
|
1
|
-
const
|
|
2
|
-
const width = tokens.size[size] ?? size;
|
|
3
|
-
const height = tokens.size[size] ?? size;
|
|
4
|
-
return {
|
|
5
|
-
width,
|
|
6
|
-
height,
|
|
7
|
-
minWidth: width,
|
|
8
|
-
maxWidth: width,
|
|
9
|
-
maxHeight: height,
|
|
10
|
-
minHeight: height
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export {
|
|
14
|
-
getShapeSize
|
|
15
|
-
};
|
|
1
|
+
const h=(t,{tokens:r})=>{const i=r.size[t]??t,a=r.size[t]??t;return{width:i,height:a,minWidth:i,maxWidth:i,maxHeight:a,minHeight:a}};export{h as getShapeSize};
|
|
16
2
|
//# sourceMappingURL=getShapeSize.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/getShapeSize.tsx"],
|
|
4
4
|
"sourcesContent": ["import { SizableStackProps } from '@tamagui/stacks'\nimport { SizeVariantSpreadFunction } from '@tamagui/web'\n\nexport const getShapeSize: SizeVariantSpreadFunction<SizableStackProps> = (\n size,\n { tokens }\n) => {\n const width = tokens.size[size] ?? size\n const height = tokens.size[size] ?? size\n return {\n width,\n height,\n minWidth: width,\n maxWidth: width,\n maxHeight: height,\n minHeight: height,\n }\n}\n"],
|
|
5
|
-
"mappings": "AAGO,
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "AAGO,MAAMA,EAA6D,CACxEC,EACA,CAAE,OAAAC,CAAO,IACN,CACH,MAAMC,EAAQD,EAAO,KAAKD,CAAI,GAAKA,EAC7BG,EAASF,EAAO,KAAKD,CAAI,GAAKA,EACpC,MAAO,CACL,MAAAE,EACA,OAAAC,EACA,SAAUD,EACV,SAAUA,EACV,UAAWC,EACX,UAAWA,CACb,CACF",
|
|
6
|
+
"names": ["getShapeSize", "size", "tokens", "width", "height"]
|
|
7
7
|
}
|
|
@@ -1,16 +1,2 @@
|
|
|
1
|
-
const
|
|
2
|
-
const width = tokens.size[size] ?? size;
|
|
3
|
-
const height = tokens.size[size] ?? size;
|
|
4
|
-
return {
|
|
5
|
-
width,
|
|
6
|
-
height,
|
|
7
|
-
minWidth: width,
|
|
8
|
-
maxWidth: width,
|
|
9
|
-
maxHeight: height,
|
|
10
|
-
minHeight: height
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export {
|
|
14
|
-
getShapeSize
|
|
15
|
-
};
|
|
1
|
+
const h=(t,{tokens:r})=>{const i=r.size[t]??t,a=r.size[t]??t;return{width:i,height:a,minWidth:i,maxWidth:i,maxHeight:a,minHeight:a}};export{h as getShapeSize};
|
|
16
2
|
//# sourceMappingURL=getShapeSize.mjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/getShapeSize.tsx"],
|
|
4
4
|
"sourcesContent": ["import { SizableStackProps } from '@tamagui/stacks'\nimport { SizeVariantSpreadFunction } from '@tamagui/web'\n\nexport const getShapeSize: SizeVariantSpreadFunction<SizableStackProps> = (\n size,\n { tokens }\n) => {\n const width = tokens.size[size] ?? size\n const height = tokens.size[size] ?? size\n return {\n width,\n height,\n minWidth: width,\n maxWidth: width,\n maxHeight: height,\n minHeight: height,\n }\n}\n"],
|
|
5
|
-
"mappings": "AAGO,
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "AAGO,MAAMA,EAA6D,CACxEC,EACA,CAAE,OAAAC,CAAO,IACN,CACH,MAAMC,EAAQD,EAAO,KAAKD,CAAI,GAAKA,EAC7BG,EAASF,EAAO,KAAKD,CAAI,GAAKA,EACpC,MAAO,CACL,MAAAE,EACA,OAAAC,EACA,SAAUD,EACV,SAAUA,EACV,UAAWC,EACX,UAAWA,CACb,CACF",
|
|
6
|
+
"names": ["getShapeSize", "size", "tokens", "width", "height"]
|
|
7
7
|
}
|
package/dist/esm/index.js
CHANGED
package/dist/esm/index.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
4
|
"sourcesContent": ["export * from './Square'\nexport * from './Circle'\nexport * from './getShapeSize'\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
5
|
+
"mappings": "AAAA,WAAc,WACd,WAAc,WACd,WAAc",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/index.mjs
CHANGED
package/dist/esm/index.mjs.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
4
|
"sourcesContent": ["export * from './Square'\nexport * from './Circle'\nexport * from './getShapeSize'\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
5
|
+
"mappings": "AAAA,WAAc,WACd,WAAc,WACd,WAAc",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/jsx/Circle.js
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Square } from "./Square";
|
|
3
|
-
const Circle = styled(Square, {
|
|
4
|
-
name: "Circle",
|
|
5
|
-
circular: true
|
|
6
|
-
});
|
|
7
|
-
export {
|
|
8
|
-
Circle
|
|
9
|
-
};
|
|
1
|
+
import{styled as r}from"@tamagui/web";import{Square as e}from"./Square";const c=r(e,{name:"Circle",circular:!0});export{c as Circle};
|
|
10
2
|
//# sourceMappingURL=Circle.js.map
|
package/dist/jsx/Circle.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Circle.tsx"],
|
|
4
4
|
"sourcesContent": ["import { GetProps, styled } from '@tamagui/web'\n\nimport { Square } from './Square'\n\nexport const Circle = styled(Square, {\n name: 'Circle',\n circular: true,\n})\n\nexport type CircleProps = GetProps<typeof Circle>\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "AAAA,OAAmB,UAAAA,MAAc,eAEjC,OAAS,UAAAC,MAAc,WAEhB,MAAMC,EAASF,EAAOC,EAAQ,CACnC,KAAM,SACN,SAAU,EACZ,CAAC",
|
|
6
|
+
"names": ["styled", "Square", "Circle"]
|
|
7
7
|
}
|
package/dist/jsx/Circle.mjs
CHANGED
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Square } from "./Square";
|
|
3
|
-
const Circle = styled(Square, {
|
|
4
|
-
name: "Circle",
|
|
5
|
-
circular: true
|
|
6
|
-
});
|
|
7
|
-
export {
|
|
8
|
-
Circle
|
|
9
|
-
};
|
|
1
|
+
import{styled as r}from"@tamagui/web";import{Square as e}from"./Square";const c=r(e,{name:"Circle",circular:!0});export{c as Circle};
|
|
10
2
|
//# sourceMappingURL=Circle.mjs.map
|
package/dist/jsx/Circle.mjs.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Circle.tsx"],
|
|
4
4
|
"sourcesContent": ["import { GetProps, styled } from '@tamagui/web'\n\nimport { Square } from './Square'\n\nexport const Circle = styled(Square, {\n name: 'Circle',\n circular: true,\n})\n\nexport type CircleProps = GetProps<typeof Circle>\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "AAAA,OAAmB,UAAAA,MAAc,eAEjC,OAAS,UAAAC,MAAc,WAEhB,MAAMC,EAASF,EAAOC,EAAQ,CACnC,KAAM,SACN,SAAU,EACZ,CAAC",
|
|
6
|
+
"names": ["styled", "Square", "Circle"]
|
|
7
7
|
}
|
package/dist/jsx/Square.js
CHANGED
|
@@ -1,22 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { styled } from "@tamagui/web";
|
|
3
|
-
import { getShapeSize } from "./getShapeSize";
|
|
4
|
-
const Square = styled(ThemeableStack, {
|
|
5
|
-
name: "Square",
|
|
6
|
-
alignItems: "center",
|
|
7
|
-
justifyContent: "center",
|
|
8
|
-
variants: {
|
|
9
|
-
circular: {
|
|
10
|
-
true: {
|
|
11
|
-
borderRadius: 1e5
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
size: {
|
|
15
|
-
"...size": getShapeSize
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
export {
|
|
20
|
-
Square
|
|
21
|
-
};
|
|
1
|
+
import{ThemeableStack as e}from"@tamagui/stacks";import{styled as r}from"@tamagui/web";import{getShapeSize as t}from"./getShapeSize";const p=r(e,{name:"Square",alignItems:"center",justifyContent:"center",variants:{circular:{true:{borderRadius:1e5}},size:{"...size":t}}});export{p as Square};
|
|
22
2
|
//# sourceMappingURL=Square.js.map
|
package/dist/jsx/Square.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Square.tsx"],
|
|
4
4
|
"sourcesContent": ["import { ThemeableStack } from '@tamagui/stacks'\nimport { GetProps, styled } from '@tamagui/web'\n\nimport { getShapeSize } from './getShapeSize'\n\nexport const Square = styled(ThemeableStack, {\n name: 'Square',\n alignItems: 'center',\n justifyContent: 'center',\n\n variants: {\n circular: {\n true: {\n borderRadius: 100_000,\n },\n },\n\n size: {\n '...size': getShapeSize,\n },\n } as const,\n})\n\nexport type SquareProps = GetProps<typeof Square>\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "AAAA,OAAS,kBAAAA,MAAsB,kBAC/B,OAAmB,UAAAC,MAAc,eAEjC,OAAS,gBAAAC,MAAoB,iBAEtB,MAAMC,EAASF,EAAOD,EAAgB,CAC3C,KAAM,SACN,WAAY,SACZ,eAAgB,SAEhB,SAAU,CACR,SAAU,CACR,KAAM,CACJ,aAAc,GAChB,CACF,EAEA,KAAM,CACJ,UAAWE,CACb,CACF,CACF,CAAC",
|
|
6
|
+
"names": ["ThemeableStack", "styled", "getShapeSize", "Square"]
|
|
7
7
|
}
|
package/dist/jsx/Square.mjs
CHANGED
|
@@ -1,22 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { styled } from "@tamagui/web";
|
|
3
|
-
import { getShapeSize } from "./getShapeSize";
|
|
4
|
-
const Square = styled(ThemeableStack, {
|
|
5
|
-
name: "Square",
|
|
6
|
-
alignItems: "center",
|
|
7
|
-
justifyContent: "center",
|
|
8
|
-
variants: {
|
|
9
|
-
circular: {
|
|
10
|
-
true: {
|
|
11
|
-
borderRadius: 1e5
|
|
12
|
-
}
|
|
13
|
-
},
|
|
14
|
-
size: {
|
|
15
|
-
"...size": getShapeSize
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
});
|
|
19
|
-
export {
|
|
20
|
-
Square
|
|
21
|
-
};
|
|
1
|
+
import{ThemeableStack as e}from"@tamagui/stacks";import{styled as r}from"@tamagui/web";import{getShapeSize as t}from"./getShapeSize";const p=r(e,{name:"Square",alignItems:"center",justifyContent:"center",variants:{circular:{true:{borderRadius:1e5}},size:{"...size":t}}});export{p as Square};
|
|
22
2
|
//# sourceMappingURL=Square.mjs.map
|
package/dist/jsx/Square.mjs.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Square.tsx"],
|
|
4
4
|
"sourcesContent": ["import { ThemeableStack } from '@tamagui/stacks'\nimport { GetProps, styled } from '@tamagui/web'\n\nimport { getShapeSize } from './getShapeSize'\n\nexport const Square = styled(ThemeableStack, {\n name: 'Square',\n alignItems: 'center',\n justifyContent: 'center',\n\n variants: {\n circular: {\n true: {\n borderRadius: 100_000,\n },\n },\n\n size: {\n '...size': getShapeSize,\n },\n } as const,\n})\n\nexport type SquareProps = GetProps<typeof Square>\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "AAAA,OAAS,kBAAAA,MAAsB,kBAC/B,OAAmB,UAAAC,MAAc,eAEjC,OAAS,gBAAAC,MAAoB,iBAEtB,MAAMC,EAASF,EAAOD,EAAgB,CAC3C,KAAM,SACN,WAAY,SACZ,eAAgB,SAEhB,SAAU,CACR,SAAU,CACR,KAAM,CACJ,aAAc,GAChB,CACF,EAEA,KAAM,CACJ,UAAWE,CACb,CACF,CACF,CAAC",
|
|
6
|
+
"names": ["ThemeableStack", "styled", "getShapeSize", "Square"]
|
|
7
7
|
}
|
package/dist/jsx/getShapeSize.js
CHANGED
|
@@ -1,16 +1,2 @@
|
|
|
1
|
-
const
|
|
2
|
-
const width = tokens.size[size] ?? size;
|
|
3
|
-
const height = tokens.size[size] ?? size;
|
|
4
|
-
return {
|
|
5
|
-
width,
|
|
6
|
-
height,
|
|
7
|
-
minWidth: width,
|
|
8
|
-
maxWidth: width,
|
|
9
|
-
maxHeight: height,
|
|
10
|
-
minHeight: height
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export {
|
|
14
|
-
getShapeSize
|
|
15
|
-
};
|
|
1
|
+
const h=(t,{tokens:r})=>{const i=r.size[t]??t,a=r.size[t]??t;return{width:i,height:a,minWidth:i,maxWidth:i,maxHeight:a,minHeight:a}};export{h as getShapeSize};
|
|
16
2
|
//# sourceMappingURL=getShapeSize.js.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/getShapeSize.tsx"],
|
|
4
4
|
"sourcesContent": ["import { SizableStackProps } from '@tamagui/stacks'\nimport { SizeVariantSpreadFunction } from '@tamagui/web'\n\nexport const getShapeSize: SizeVariantSpreadFunction<SizableStackProps> = (\n size,\n { tokens }\n) => {\n const width = tokens.size[size] ?? size\n const height = tokens.size[size] ?? size\n return {\n width,\n height,\n minWidth: width,\n maxWidth: width,\n maxHeight: height,\n minHeight: height,\n }\n}\n"],
|
|
5
|
-
"mappings": "AAGO,
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "AAGO,MAAMA,EAA6D,CACxEC,EACA,CAAE,OAAAC,CAAO,IACN,CACH,MAAMC,EAAQD,EAAO,KAAKD,CAAI,GAAKA,EAC7BG,EAASF,EAAO,KAAKD,CAAI,GAAKA,EACpC,MAAO,CACL,MAAAE,EACA,OAAAC,EACA,SAAUD,EACV,SAAUA,EACV,UAAWC,EACX,UAAWA,CACb,CACF",
|
|
6
|
+
"names": ["getShapeSize", "size", "tokens", "width", "height"]
|
|
7
7
|
}
|
|
@@ -1,16 +1,2 @@
|
|
|
1
|
-
const
|
|
2
|
-
const width = tokens.size[size] ?? size;
|
|
3
|
-
const height = tokens.size[size] ?? size;
|
|
4
|
-
return {
|
|
5
|
-
width,
|
|
6
|
-
height,
|
|
7
|
-
minWidth: width,
|
|
8
|
-
maxWidth: width,
|
|
9
|
-
maxHeight: height,
|
|
10
|
-
minHeight: height
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export {
|
|
14
|
-
getShapeSize
|
|
15
|
-
};
|
|
1
|
+
const h=(t,{tokens:r})=>{const i=r.size[t]??t,a=r.size[t]??t;return{width:i,height:a,minWidth:i,maxWidth:i,maxHeight:a,minHeight:a}};export{h as getShapeSize};
|
|
16
2
|
//# sourceMappingURL=getShapeSize.mjs.map
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/getShapeSize.tsx"],
|
|
4
4
|
"sourcesContent": ["import { SizableStackProps } from '@tamagui/stacks'\nimport { SizeVariantSpreadFunction } from '@tamagui/web'\n\nexport const getShapeSize: SizeVariantSpreadFunction<SizableStackProps> = (\n size,\n { tokens }\n) => {\n const width = tokens.size[size] ?? size\n const height = tokens.size[size] ?? size\n return {\n width,\n height,\n minWidth: width,\n maxWidth: width,\n maxHeight: height,\n minHeight: height,\n }\n}\n"],
|
|
5
|
-
"mappings": "AAGO,
|
|
6
|
-
"names": []
|
|
5
|
+
"mappings": "AAGO,MAAMA,EAA6D,CACxEC,EACA,CAAE,OAAAC,CAAO,IACN,CACH,MAAMC,EAAQD,EAAO,KAAKD,CAAI,GAAKA,EAC7BG,EAASF,EAAO,KAAKD,CAAI,GAAKA,EACpC,MAAO,CACL,MAAAE,EACA,OAAAC,EACA,SAAUD,EACV,SAAUA,EACV,UAAWC,EACX,UAAWA,CACb,CACF",
|
|
6
|
+
"names": ["getShapeSize", "size", "tokens", "width", "height"]
|
|
7
7
|
}
|
package/dist/jsx/index.js
CHANGED
package/dist/jsx/index.js.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
4
|
"sourcesContent": ["export * from './Square'\nexport * from './Circle'\nexport * from './getShapeSize'\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
5
|
+
"mappings": "AAAA,WAAc,WACd,WAAc,WACd,WAAc",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/jsx/index.mjs
CHANGED
package/dist/jsx/index.mjs.map
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
4
|
"sourcesContent": ["export * from './Square'\nexport * from './Circle'\nexport * from './getShapeSize'\n"],
|
|
5
|
-
"mappings": "AAAA,
|
|
5
|
+
"mappings": "AAAA,WAAc,WACd,WAAc,WACd,WAAc",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/shapes",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.14.0",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -31,14 +31,14 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@tamagui/stacks": "1.
|
|
35
|
-
"@tamagui/web": "1.
|
|
34
|
+
"@tamagui/stacks": "1.14.0",
|
|
35
|
+
"@tamagui/web": "1.14.0"
|
|
36
36
|
},
|
|
37
37
|
"peerDependencies": {
|
|
38
38
|
"react": "*"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@tamagui/build": "1.
|
|
41
|
+
"@tamagui/build": "1.14.0",
|
|
42
42
|
"react": "^18.2.0"
|
|
43
43
|
},
|
|
44
44
|
"publishConfig": {
|