@tamagui/shapes 1.144.0 → 2.0.0-1767740890268

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.
@@ -27,5 +27,5 @@ var import_web = require("@tamagui/web"),
27
27
  import_Square = require("./Square.cjs");
28
28
  const Circle = (0, import_web.styled)(import_Square.Square, {
29
29
  name: "Circle",
30
- circular: !0
30
+ borderRadius: 1e8
31
31
  });
@@ -20,6 +20,6 @@ module.exports = __toCommonJS(Circle_exports);
20
20
  var import_web = require("@tamagui/web"), import_Square = require("./Square");
21
21
  const Circle = (0, import_web.styled)(import_Square.Square, {
22
22
  name: "Circle",
23
- circular: !0
23
+ borderRadius: 1e8
24
24
  });
25
25
  //# 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": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AACA,iBAAuB,yBAEvB,gBAAuB;AAEhB,MAAM,aAAS,mBAAO,sBAAQ;AAAA,EACnC,MAAM;AAAA,EACN,cAAc;AAChB,CAAC;",
5
5
  "names": []
6
6
  }
@@ -29,6 +29,6 @@ var import_web = require("@tamagui/web"),
29
29
  import_Square = require("./Square.native.js"),
30
30
  Circle = (0, import_web.styled)(import_Square.Square, {
31
31
  name: "Circle",
32
- circular: !0
32
+ borderRadius: 1e8
33
33
  });
34
34
  //# sourceMappingURL=Circle.native.js.map
@@ -1 +1 @@
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
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","Circle_exports","__export","Circle","module","exports","import_web","require","import_Square","styled","Square","name","borderRadius"],"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,YAAA,EAAc;EAChB,CAAC","ignoreList":[]}
@@ -2,7 +2,7 @@ import { styled } from "@tamagui/web";
2
2
  import { Square } from "./Square";
3
3
  const Circle = styled(Square, {
4
4
  name: "Circle",
5
- circular: !0
5
+ borderRadius: 1e8
6
6
  });
7
7
  export {
8
8
  Circle
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Circle.tsx"],
4
- "mappings": "AACA,SAAS,cAAc;AAEvB,SAAS,cAAc;AAEhB,MAAM,SAAS,OAAO,QAAQ;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,cAAc;AAChB,CAAC;",
5
5
  "names": []
6
6
  }
@@ -2,7 +2,7 @@ import { styled } from "@tamagui/web";
2
2
  import { Square } from "./Square.mjs";
3
3
  const Circle = styled(Square, {
4
4
  name: "Circle",
5
- circular: !0
5
+ borderRadius: 1e8
6
6
  });
7
7
  export { Circle };
8
8
  //# sourceMappingURL=Circle.mjs.map
@@ -1 +1 @@
1
- {"version":3,"names":["styled","Square","Circle","name","circular"],"sources":["../../src/Circle.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,MAAA,QAAc;AAEvB,SAASC,MAAA,QAAc;AAEhB,MAAMC,MAAA,GAASF,MAAA,CAAOC,MAAA,EAAQ;EACnCE,IAAA,EAAM;EACNC,QAAA,EAAU;AACZ,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["styled","Square","Circle","name","borderRadius"],"sources":["../../src/Circle.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,MAAA,QAAc;AAEvB,SAASC,MAAA,QAAc;AAEhB,MAAMC,MAAA,GAASF,MAAA,CAAOC,MAAA,EAAQ;EACnCE,IAAA,EAAM;EACNC,YAAA,EAAc;AAChB,CAAC","ignoreList":[]}
@@ -2,7 +2,7 @@ import { styled } from "@tamagui/web";
2
2
  import { Square } from "./Square.native.js";
3
3
  var Circle = styled(Square, {
4
4
  name: "Circle",
5
- circular: !0
5
+ borderRadius: 1e8
6
6
  });
7
7
  export { Circle };
8
8
  //# sourceMappingURL=Circle.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["styled","Square","Circle","name","circular"],"sources":["../../src/Circle.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,MAAA,QAAc;AAEvB,SAASC,MAAA,QAAc;AAEhB,IAAAC,MAAM,GAAAF,MAAS,CAAAC,MAAO;EAC3BE,IAAA,EAAM;EACNC,QAAA,EAAU;AACZ,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["styled","Square","Circle","name","borderRadius"],"sources":["../../src/Circle.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,MAAA,QAAc;AAEvB,SAASC,MAAA,QAAc;AAEhB,IAAAC,MAAM,GAAAF,MAAS,CAAAC,MAAO;EAC3BE,IAAA,EAAM;EACNC,YAAA,EAAc;AAChB,CAAC","ignoreList":[]}
@@ -2,7 +2,7 @@ import { styled } from "@tamagui/web";
2
2
  import { Square } from "./Square";
3
3
  const Circle = styled(Square, {
4
4
  name: "Circle",
5
- circular: !0
5
+ borderRadius: 1e8
6
6
  });
7
7
  export {
8
8
  Circle
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/Circle.tsx"],
4
- "mappings": "AACA,SAAS,cAAc;AAEvB,SAAS,cAAc;AAEhB,MAAM,SAAS,OAAO,QAAQ;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,cAAc;AAChB,CAAC;",
5
5
  "names": []
6
6
  }
@@ -2,7 +2,7 @@ import { styled } from "@tamagui/web";
2
2
  import { Square } from "./Square.mjs";
3
3
  const Circle = styled(Square, {
4
4
  name: "Circle",
5
- circular: !0
5
+ borderRadius: 1e8
6
6
  });
7
7
  export { Circle };
8
8
  //# sourceMappingURL=Circle.mjs.map
@@ -1 +1 @@
1
- {"version":3,"names":["styled","Square","Circle","name","circular"],"sources":["../../src/Circle.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,MAAA,QAAc;AAEvB,SAASC,MAAA,QAAc;AAEhB,MAAMC,MAAA,GAASF,MAAA,CAAOC,MAAA,EAAQ;EACnCE,IAAA,EAAM;EACNC,QAAA,EAAU;AACZ,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["styled","Square","Circle","name","borderRadius"],"sources":["../../src/Circle.tsx"],"sourcesContent":[null],"mappings":"AACA,SAASA,MAAA,QAAc;AAEvB,SAASC,MAAA,QAAc;AAEhB,MAAMC,MAAA,GAASF,MAAA,CAAOC,MAAA,EAAQ;EACnCE,IAAA,EAAM;EACNC,YAAA,EAAc;AAChB,CAAC","ignoreList":[]}
@@ -29,6 +29,6 @@ var import_web = require("@tamagui/web"),
29
29
  import_Square = require("./Square.native.js"),
30
30
  Circle = (0, import_web.styled)(import_Square.Square, {
31
31
  name: "Circle",
32
- circular: !0
32
+ borderRadius: 1e8
33
33
  });
34
34
  //# sourceMappingURL=Circle.native.js.map
@@ -1 +1 @@
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
+ {"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,YAAc,GAAAN,MAAA,CAAAO,SAAA,CAAAC,cAAA;AAChB,IAACC,QAAA,GAAAA,CAAAC,MAAA,EAAAC,GAAA","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/shapes",
3
- "version": "1.144.0",
3
+ "version": "2.0.0-1767740890268",
4
4
  "type": "module",
5
5
  "sideEffects": [
6
6
  "*.css"
@@ -39,11 +39,11 @@
39
39
  }
40
40
  },
41
41
  "dependencies": {
42
- "@tamagui/stacks": "1.144.0",
43
- "@tamagui/web": "1.144.0"
42
+ "@tamagui/stacks": "2.0.0-1767740890268",
43
+ "@tamagui/web": "2.0.0-1767740890268"
44
44
  },
45
45
  "devDependencies": {
46
- "@tamagui/build": "1.144.0",
46
+ "@tamagui/build": "2.0.0-1767740890268",
47
47
  "react": "*"
48
48
  },
49
49
  "publishConfig": {
package/src/Circle.tsx CHANGED
@@ -5,7 +5,7 @@ import { Square } from './Square'
5
5
 
6
6
  export const Circle = styled(Square, {
7
7
  name: 'Circle',
8
- circular: true,
8
+ borderRadius: 100_000_000,
9
9
  })
10
10
 
11
11
  export type CircleProps = GetProps<typeof Circle>
package/types/Circle.d.ts CHANGED
@@ -1,24 +1,18 @@
1
1
  import type { GetProps } from '@tamagui/web';
2
2
  export declare const Circle: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
3
3
  elevation?: number | import("@tamagui/web").SizeTokens | undefined;
4
- inset?: number | import("@tamagui/web").SizeTokens | {
5
- top?: number;
6
- bottom?: number;
7
- left?: number;
8
- right?: number;
9
- } | null | undefined;
10
4
  size?: number | import("@tamagui/web").SizeTokens | undefined;
5
+ transparent?: boolean | undefined;
11
6
  fullscreen?: boolean | undefined;
12
7
  circular?: boolean | undefined;
8
+ backgrounded?: boolean | undefined;
9
+ radiused?: boolean | undefined;
13
10
  hoverTheme?: boolean | undefined;
14
11
  pressTheme?: boolean | undefined;
15
12
  focusTheme?: boolean | undefined;
13
+ padded?: boolean | undefined;
16
14
  elevate?: boolean | undefined;
17
15
  bordered?: number | boolean | undefined;
18
- transparent?: boolean | undefined;
19
- backgrounded?: boolean | undefined;
20
- radiused?: boolean | undefined;
21
- padded?: boolean | undefined;
22
16
  chromeless?: boolean | "all" | undefined;
23
17
  }, import("@tamagui/web").StaticConfigPublic & {
24
18
  memo: true;
@@ -1 +1 @@
1
- {"version":3,"file":"Circle.d.ts","sourceRoot":"","sources":["../src/Circle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAK5C,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;EAGjB,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAA"}
1
+ {"version":3,"file":"Circle.d.ts","sourceRoot":"","sources":["../src/Circle.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAK5C,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;EAGjB,CAAA;AAEF,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAA"}
package/types/Square.d.ts CHANGED
@@ -1,24 +1,18 @@
1
1
  import type { GetProps } from '@tamagui/web';
2
2
  export declare const Square: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
3
3
  elevation?: number | import("@tamagui/web").SizeTokens | undefined;
4
- inset?: number | import("@tamagui/web").SizeTokens | {
5
- top?: number;
6
- bottom?: number;
7
- left?: number;
8
- right?: number;
9
- } | null | undefined;
10
4
  size?: number | import("@tamagui/web").SizeTokens | undefined;
5
+ transparent?: boolean | undefined;
11
6
  fullscreen?: boolean | undefined;
12
7
  circular?: boolean | undefined;
8
+ backgrounded?: boolean | undefined;
9
+ radiused?: boolean | undefined;
13
10
  hoverTheme?: boolean | undefined;
14
11
  pressTheme?: boolean | undefined;
15
12
  focusTheme?: boolean | undefined;
13
+ padded?: boolean | undefined;
16
14
  elevate?: boolean | undefined;
17
15
  bordered?: number | boolean | undefined;
18
- transparent?: boolean | undefined;
19
- backgrounded?: boolean | undefined;
20
- radiused?: boolean | undefined;
21
- padded?: boolean | undefined;
22
16
  chromeless?: boolean | "all" | undefined;
23
17
  }, import("@tamagui/web").StaticConfigPublic & {
24
18
  memo: true;
@@ -1 +1 @@
1
- {"version":3,"file":"Square.d.ts","sourceRoot":"","sources":["../src/Square.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAK5C,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;EAiBlB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAA"}
1
+ {"version":3,"file":"Square.d.ts","sourceRoot":"","sources":["../src/Square.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,cAAc,CAAA;AAK5C,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;EAiBlB,CAAA;AAED,MAAM,MAAM,WAAW,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAA"}