@tamagui/image 1.0.1-beta.48 → 1.0.1-beta.51

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/image",
3
- "version": "1.0.1-beta.48",
3
+ "version": "1.0.1-beta.51",
4
4
  "sideEffects": true,
5
5
  "source": "src/index.ts",
6
6
  "types": "./types/index.d.ts",
@@ -18,14 +18,14 @@
18
18
  "clean:build": "tamagui-build clean:build"
19
19
  },
20
20
  "dependencies": {
21
- "@tamagui/core": "^1.0.1-beta.48"
21
+ "@tamagui/core": "^1.0.1-beta.51"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "react": "*",
25
25
  "react-native": "*"
26
26
  },
27
27
  "devDependencies": {
28
- "@tamagui/build": "^1.0.1-beta.48",
28
+ "@tamagui/build": "^1.0.1-beta.51",
29
29
  "react": "*",
30
30
  "react-native": "*"
31
31
  },
@@ -1,33 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var Circle_exports = {};
19
- __export(Circle_exports, {
20
- Circle: () => Circle
21
- });
22
- module.exports = __toCommonJS(Circle_exports);
23
- var import_core = require("@tamagui/core");
24
- var import_Square = require("./Square");
25
- const Circle = (0, import_core.styled)(import_Square.Square, {
26
- name: "Circle",
27
- circular: true
28
- });
29
- // Annotate the CommonJS export names for ESM import in node:
30
- 0 && (module.exports = {
31
- Circle
32
- });
33
- //# sourceMappingURL=Circle.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Circle.tsx"],
4
- "sourcesContent": ["import { GetProps, styled } from '@tamagui/core'\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;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAiC;AAEjC,oBAAuB;AAEhB,MAAM,SAAS,wBAAO,sBAAQ;AAAA,EACnC,MAAM;AAAA,EACN,UAAU;AACZ,CAAC;",
6
- "names": []
7
- }
@@ -1,41 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: true });
8
- };
9
- var __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from === "object" || typeof from === "function") {
11
- for (let key of __getOwnPropNames(from))
12
- if (!__hasOwnProp.call(to, key) && key !== except)
13
- __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
- }
15
- return to;
16
- };
17
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
- var Square_exports = {};
19
- __export(Square_exports, {
20
- Square: () => Square
21
- });
22
- module.exports = __toCommonJS(Square_exports);
23
- var import_core = require("@tamagui/core");
24
- var import_stacks = require("@tamagui/stacks");
25
- var import_getShapeSize = require("./getShapeSize");
26
- const Square = (0, import_core.styled)(import_stacks.SizableStack, {
27
- name: "Square",
28
- alignItems: "center",
29
- justifyContent: "center",
30
- overflow: "hidden",
31
- variants: {
32
- size: {
33
- "...size": import_getShapeSize.getShapeSize
34
- }
35
- }
36
- });
37
- // Annotate the CommonJS export names for ESM import in node:
38
- 0 && (module.exports = {
39
- Square
40
- });
41
- //# sourceMappingURL=Square.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Square.tsx"],
4
- "sourcesContent": ["import { GetProps, styled } from '@tamagui/core'\nimport { SizableStack } from '@tamagui/stacks'\n\nimport { getShapeSize } from './getShapeSize'\n\nexport const Square = styled(SizableStack, {\n name: 'Square',\n alignItems: 'center',\n justifyContent: 'center',\n overflow: 'hidden',\n\n variants: {\n size: {\n '...size': getShapeSize,\n },\n },\n})\n\nexport type SquareProps = GetProps<typeof Square>\n"],
5
- "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAiC;AACjC,oBAA6B;AAE7B,0BAA6B;AAEtB,MAAM,SAAS,wBAAO,4BAAc;AAAA,EACzC,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAChB,UAAU;AAAA,EAEV,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW;AAAA,IACb;AAAA,EACF;AACF,CAAC;",
6
- "names": []
7
- }
@@ -1,40 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
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 = /* @__PURE__ */ __name((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
- }, "getShapeSize");
36
- // Annotate the CommonJS export names for ESM import in node:
37
- 0 && (module.exports = {
38
- getShapeSize
39
- });
40
- //# sourceMappingURL=getShapeSize.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/getShapeSize.tsx"],
4
- "sourcesContent": ["import { SizeVariantSpreadFunction } from '@tamagui/core'\nimport { SizableStackProps } from '@tamagui/stacks'\n\nexport const getShapeSize: SizeVariantSpreadFunction<SizableStackProps> = (size, { tokens }) => {\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": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAGO,MAAM,eAA6D,wBAAC,MAAM,EAAE,aAAa;AAC9F,QAAM,QAAQ,OAAO,KAAK,SAAS;AACnC,QAAM,SAAS,OAAO,KAAK,SAAS;AACpC,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA,UAAU;AAAA,IACV,UAAU;AAAA,IACV,WAAW;AAAA,IACX,WAAW;AAAA,EACb;AACF,GAX0E;",
6
- "names": []
7
- }
@@ -1,10 +0,0 @@
1
- import { styled } from "@tamagui/core";
2
- import { Square } from "./Square";
3
- const Circle = styled(Square, {
4
- name: "Circle",
5
- circular: true
6
- });
7
- export {
8
- Circle
9
- };
10
- //# sourceMappingURL=Circle.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Circle.tsx"],
4
- "sourcesContent": ["import { GetProps, styled } from '@tamagui/core'\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;AAEA;AAEO,MAAM,SAAS,OAAO,QAAQ;AAAA,EACnC,MAAM;AAAA,EACN,UAAU;AACZ,CAAC;",
6
- "names": []
7
- }
@@ -1,18 +0,0 @@
1
- import { styled } from "@tamagui/core";
2
- import { SizableStack } from "@tamagui/stacks";
3
- import { getShapeSize } from "./getShapeSize";
4
- const Square = styled(SizableStack, {
5
- name: "Square",
6
- alignItems: "center",
7
- justifyContent: "center",
8
- overflow: "hidden",
9
- variants: {
10
- size: {
11
- "...size": getShapeSize
12
- }
13
- }
14
- });
15
- export {
16
- Square
17
- };
18
- //# sourceMappingURL=Square.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/Square.tsx"],
4
- "sourcesContent": ["import { GetProps, styled } from '@tamagui/core'\nimport { SizableStack } from '@tamagui/stacks'\n\nimport { getShapeSize } from './getShapeSize'\n\nexport const Square = styled(SizableStack, {\n name: 'Square',\n alignItems: 'center',\n justifyContent: 'center',\n overflow: 'hidden',\n\n variants: {\n size: {\n '...size': getShapeSize,\n },\n },\n})\n\nexport type SquareProps = GetProps<typeof Square>\n"],
5
- "mappings": "AAAA;AACA;AAEA;AAEO,MAAM,SAAS,OAAO,cAAc;AAAA,EACzC,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,gBAAgB;AAAA,EAChB,UAAU;AAAA,EAEV,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW;AAAA,IACb;AAAA,EACF;AACF,CAAC;",
6
- "names": []
7
- }
@@ -1,19 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
- const getShapeSize = /* @__PURE__ */ __name((size, { tokens }) => {
4
- var _a, _b;
5
- const width = (_a = tokens.size[size]) != null ? _a : size;
6
- const height = (_b = tokens.size[size]) != null ? _b : size;
7
- return {
8
- width,
9
- height,
10
- minWidth: width,
11
- maxWidth: width,
12
- maxHeight: height,
13
- minHeight: height
14
- };
15
- }, "getShapeSize");
16
- export {
17
- getShapeSize
18
- };
19
- //# sourceMappingURL=getShapeSize.js.map
@@ -1,7 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/getShapeSize.tsx"],
4
- "sourcesContent": ["import { SizeVariantSpreadFunction } from '@tamagui/core'\nimport { SizableStackProps } from '@tamagui/stacks'\n\nexport const getShapeSize: SizeVariantSpreadFunction<SizableStackProps> = (size, { tokens }) => {\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,MAAM,eAA6D,wBAAC,MAAM,EAAE,aAAa;AAHhG;AAIE,QAAM,QAAQ,aAAO,KAAK,UAAZ,YAAqB;AACnC,QAAM,SAAS,aAAO,KAAK,UAAZ,YAAqB;AACpC,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA,UAAU;AAAA,IACV,UAAU;AAAA,IACV,WAAW;AAAA,IACX,WAAW;AAAA,EACb;AACF,GAX0E;",
6
- "names": []
7
- }
@@ -1,9 +0,0 @@
1
- import { styled } from "@tamagui/core";
2
- import { Square } from "./Square";
3
- const Circle = styled(Square, {
4
- name: "Circle",
5
- circular: true
6
- });
7
- export {
8
- Circle
9
- };
@@ -1,17 +0,0 @@
1
- import { styled } from "@tamagui/core";
2
- import { SizableStack } from "@tamagui/stacks";
3
- import { getShapeSize } from "./getShapeSize";
4
- const Square = styled(SizableStack, {
5
- name: "Square",
6
- alignItems: "center",
7
- justifyContent: "center",
8
- overflow: "hidden",
9
- variants: {
10
- size: {
11
- "...size": getShapeSize
12
- }
13
- }
14
- });
15
- export {
16
- Square
17
- };
@@ -1,18 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
- const getShapeSize = /* @__PURE__ */ __name((size, { tokens }) => {
4
- var _a, _b;
5
- const width = (_a = tokens.size[size]) != null ? _a : size;
6
- const height = (_b = tokens.size[size]) != null ? _b : size;
7
- return {
8
- width,
9
- height,
10
- minWidth: width,
11
- maxWidth: width,
12
- maxHeight: height,
13
- minHeight: height
14
- };
15
- }, "getShapeSize");
16
- export {
17
- getShapeSize
18
- };
package/types/Circle.d.ts DELETED
@@ -1,110 +0,0 @@
1
- import { GetProps } from '@tamagui/core';
2
- export declare const Circle: import("@tamagui/core").TamaguiComponent<(Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
3
- readonly fullscreen?: boolean | undefined;
4
- readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
5
- } & {
6
- fontFamily?: unknown;
7
- hoverable?: boolean | undefined;
8
- pressable?: boolean | undefined;
9
- focusable?: boolean | undefined;
10
- circular?: boolean | undefined;
11
- elevate?: boolean | undefined;
12
- bordered?: number | boolean | undefined;
13
- size?: import("@tamagui/core").SizeTokens | undefined;
14
- }, "size"> & {
15
- size?: import("@tamagui/core").SizeTokens | undefined;
16
- } & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
17
- readonly fullscreen?: boolean | undefined;
18
- readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
19
- } & {
20
- fontFamily?: unknown;
21
- hoverable?: boolean | undefined;
22
- pressable?: boolean | undefined;
23
- focusable?: boolean | undefined;
24
- circular?: boolean | undefined;
25
- elevate?: boolean | undefined;
26
- bordered?: number | boolean | undefined;
27
- size?: import("@tamagui/core").SizeTokens | undefined;
28
- }, "size"> & {
29
- size?: import("@tamagui/core").SizeTokens | undefined;
30
- }>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
31
- readonly fullscreen?: boolean | undefined;
32
- readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
33
- } & {
34
- fontFamily?: unknown;
35
- hoverable?: boolean | undefined;
36
- pressable?: boolean | undefined;
37
- focusable?: boolean | undefined;
38
- circular?: boolean | undefined;
39
- elevate?: boolean | undefined;
40
- bordered?: number | boolean | undefined;
41
- size?: import("@tamagui/core").SizeTokens | undefined;
42
- }, "size"> & {
43
- size?: import("@tamagui/core").SizeTokens | undefined;
44
- }>>) | (Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
45
- readonly fullscreen?: boolean | undefined;
46
- readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
47
- } & {
48
- fontFamily?: unknown;
49
- hoverable?: boolean | undefined;
50
- pressable?: boolean | undefined;
51
- focusable?: boolean | undefined;
52
- circular?: boolean | undefined;
53
- elevate?: boolean | undefined;
54
- bordered?: number | boolean | undefined;
55
- size?: import("@tamagui/core").SizeTokens | undefined;
56
- } & {
57
- size?: import("@tamagui/core").SizeTokens | undefined;
58
- }, string | number> & {
59
- [x: string]: undefined;
60
- } & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
61
- readonly fullscreen?: boolean | undefined;
62
- readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
63
- } & {
64
- fontFamily?: unknown;
65
- hoverable?: boolean | undefined;
66
- pressable?: boolean | undefined;
67
- focusable?: boolean | undefined;
68
- circular?: boolean | undefined;
69
- elevate?: boolean | undefined;
70
- bordered?: number | boolean | undefined;
71
- size?: import("@tamagui/core").SizeTokens | undefined;
72
- } & {
73
- size?: import("@tamagui/core").SizeTokens | undefined;
74
- }, string | number> & {
75
- [x: string]: undefined;
76
- }>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
77
- readonly fullscreen?: boolean | undefined;
78
- readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
79
- } & {
80
- fontFamily?: unknown;
81
- hoverable?: boolean | undefined;
82
- pressable?: boolean | undefined;
83
- focusable?: boolean | undefined;
84
- circular?: boolean | undefined;
85
- elevate?: boolean | undefined;
86
- bordered?: number | boolean | undefined;
87
- size?: import("@tamagui/core").SizeTokens | undefined;
88
- } & {
89
- size?: import("@tamagui/core").SizeTokens | undefined;
90
- }, string | number> & {
91
- [x: string]: undefined;
92
- }>>), any, import("@tamagui/core").StackPropsBase, {
93
- readonly fullscreen?: boolean | undefined;
94
- readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
95
- } & {
96
- fontFamily?: unknown;
97
- hoverable?: boolean | undefined;
98
- pressable?: boolean | undefined;
99
- focusable?: boolean | undefined;
100
- circular?: boolean | undefined;
101
- elevate?: boolean | undefined;
102
- bordered?: number | boolean | undefined;
103
- size?: import("@tamagui/core").SizeTokens | undefined;
104
- } & {
105
- size?: import("@tamagui/core").SizeTokens | undefined;
106
- } & ({} | {
107
- [x: string]: undefined;
108
- })>;
109
- export declare type CircleProps = GetProps<typeof Circle>;
110
- //# sourceMappingURL=Circle.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Circle.d.ts","sourceRoot":"","sources":["../src/Circle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAU,MAAM,eAAe,CAAA;AAIhD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAGjB,CAAA;AAEF,oBAAY,WAAW,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAA"}
package/types/Square.d.ts DELETED
@@ -1,60 +0,0 @@
1
- import { GetProps } from '@tamagui/core';
2
- export declare const Square: import("@tamagui/core").TamaguiComponent<Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
3
- readonly fullscreen?: boolean | undefined;
4
- readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
5
- } & {
6
- fontFamily?: unknown;
7
- hoverable?: boolean | undefined;
8
- pressable?: boolean | undefined;
9
- focusable?: boolean | undefined;
10
- circular?: boolean | undefined;
11
- elevate?: boolean | undefined;
12
- bordered?: number | boolean | undefined;
13
- size?: import("@tamagui/core").SizeTokens | undefined;
14
- }, "size"> & {
15
- size?: import("@tamagui/core").SizeTokens | undefined;
16
- } & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
17
- readonly fullscreen?: boolean | undefined;
18
- readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
19
- } & {
20
- fontFamily?: unknown;
21
- hoverable?: boolean | undefined;
22
- pressable?: boolean | undefined;
23
- focusable?: boolean | undefined;
24
- circular?: boolean | undefined;
25
- elevate?: boolean | undefined;
26
- bordered?: number | boolean | undefined;
27
- size?: import("@tamagui/core").SizeTokens | undefined;
28
- }, "size"> & {
29
- size?: import("@tamagui/core").SizeTokens | undefined;
30
- }>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
31
- readonly fullscreen?: boolean | undefined;
32
- readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
33
- } & {
34
- fontFamily?: unknown;
35
- hoverable?: boolean | undefined;
36
- pressable?: boolean | undefined;
37
- focusable?: boolean | undefined;
38
- circular?: boolean | undefined;
39
- elevate?: boolean | undefined;
40
- bordered?: number | boolean | undefined;
41
- size?: import("@tamagui/core").SizeTokens | undefined;
42
- }, "size"> & {
43
- size?: import("@tamagui/core").SizeTokens | undefined;
44
- }>>, any, import("@tamagui/core").StackPropsBase, {
45
- readonly fullscreen?: boolean | undefined;
46
- readonly elevation?: import("@tamagui/core").SizeTokens | undefined;
47
- } & {
48
- fontFamily?: unknown;
49
- hoverable?: boolean | undefined;
50
- pressable?: boolean | undefined;
51
- focusable?: boolean | undefined;
52
- circular?: boolean | undefined;
53
- elevate?: boolean | undefined;
54
- bordered?: number | boolean | undefined;
55
- size?: import("@tamagui/core").SizeTokens | undefined;
56
- } & {
57
- size?: import("@tamagui/core").SizeTokens | undefined;
58
- }>;
59
- export declare type SquareProps = GetProps<typeof Square>;
60
- //# sourceMappingURL=Square.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Square.d.ts","sourceRoot":"","sources":["../src/Square.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAU,MAAM,eAAe,CAAA;AAKhD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAWjB,CAAA;AAEF,oBAAY,WAAW,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAA"}
@@ -1,4 +0,0 @@
1
- import { SizeVariantSpreadFunction } from '@tamagui/core';
2
- import { SizableStackProps } from '@tamagui/stacks';
3
- export declare const getShapeSize: SizeVariantSpreadFunction<SizableStackProps>;
4
- //# sourceMappingURL=getShapeSize.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getShapeSize.d.ts","sourceRoot":"","sources":["../src/getShapeSize.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,eAAe,CAAA;AACzD,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAEnD,eAAO,MAAM,YAAY,EAAE,yBAAyB,CAAC,iBAAiB,CAWrE,CAAA"}