@tamagui/card 1.0.1-beta.32

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.
@@ -0,0 +1,142 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getOwnPropSymbols = Object.getOwnPropertySymbols;
6
+ var __getProtoOf = Object.getPrototypeOf;
7
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
8
+ var __propIsEnum = Object.prototype.propertyIsEnumerable;
9
+ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
10
+ var __spreadValues = (a, b) => {
11
+ for (var prop in b || (b = {}))
12
+ if (__hasOwnProp.call(b, prop))
13
+ __defNormalProp(a, prop, b[prop]);
14
+ if (__getOwnPropSymbols)
15
+ for (var prop of __getOwnPropSymbols(b)) {
16
+ if (__propIsEnum.call(b, prop))
17
+ __defNormalProp(a, prop, b[prop]);
18
+ }
19
+ return a;
20
+ };
21
+ var __objRest = (source, exclude) => {
22
+ var target = {};
23
+ for (var prop in source)
24
+ if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
25
+ target[prop] = source[prop];
26
+ if (source != null && __getOwnPropSymbols)
27
+ for (var prop of __getOwnPropSymbols(source)) {
28
+ if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
29
+ target[prop] = source[prop];
30
+ }
31
+ return target;
32
+ };
33
+ var __export = (target, all) => {
34
+ for (var name in all)
35
+ __defProp(target, name, { get: all[name], enumerable: true });
36
+ };
37
+ var __copyProps = (to, from, except, desc) => {
38
+ if (from && typeof from === "object" || typeof from === "function") {
39
+ for (let key of __getOwnPropNames(from))
40
+ if (!__hasOwnProp.call(to, key) && key !== except)
41
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
42
+ }
43
+ return to;
44
+ };
45
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
46
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
47
+ var Card_exports = {};
48
+ __export(Card_exports, {
49
+ Card: () => Card,
50
+ CardBackground: () => CardBackground,
51
+ CardFooter: () => CardFooter,
52
+ CardHeader: () => CardHeader,
53
+ createCardScope: () => createCardScope,
54
+ useCardContext: () => useCardContext
55
+ });
56
+ module.exports = __toCommonJS(Card_exports);
57
+ var import_core = require("@tamagui/core");
58
+ var import_create_context = require("@tamagui/create-context");
59
+ var import_stacks = require("@tamagui/stacks");
60
+ var import_react = __toESM(require("react"));
61
+ import_react.default["createElement"];
62
+ const CARD_NAME = "CARD";
63
+ const [createCardContext, createCardScope] = (0, import_create_context.createContextScope)(CARD_NAME);
64
+ const [CardProvider, useCardContext] = createCardContext(CARD_NAME);
65
+ const CardFrame = (0, import_core.styled)(import_stacks.ThemeableStack, {
66
+ name: "Card",
67
+ flexDirection: "column",
68
+ backgroundColor: "$background",
69
+ position: "relative",
70
+ overflow: "hidden",
71
+ variants: {
72
+ size: {
73
+ "...size": (val, { tokens }) => {
74
+ return {
75
+ borderRadius: tokens.size[val] ?? val
76
+ };
77
+ }
78
+ }
79
+ },
80
+ defaultVariants: {
81
+ size: "$4"
82
+ }
83
+ });
84
+ const CardHeader = (0, import_core.styled)(import_stacks.ThemeableStack, {
85
+ name: "CardHeader",
86
+ zIndex: 10,
87
+ flexDirection: "column",
88
+ backgroundColor: "transparent",
89
+ marginBottom: "auto",
90
+ variants: {
91
+ size: {
92
+ "...size": (val, { tokens }) => {
93
+ return {
94
+ padding: tokens.size[val] ?? val
95
+ };
96
+ }
97
+ }
98
+ }
99
+ });
100
+ const CardFooter = (0, import_core.styled)(CardHeader, {
101
+ name: "CardFooter",
102
+ zIndex: 5,
103
+ flexDirection: "row",
104
+ marginTop: "auto",
105
+ marginBottom: 0
106
+ });
107
+ const CardBackground = (0, import_core.styled)(import_stacks.ThemeableStack, {
108
+ name: "CardBackground",
109
+ zIndex: 0,
110
+ fullscreen: true,
111
+ overflow: "hidden",
112
+ pointerEvents: "none",
113
+ padding: 0
114
+ });
115
+ const Card = (0, import_core.withStaticProperties)((0, import_core.themeable)((0, import_react.forwardRef)((_a) => {
116
+ var _b = _a, { size, __scopeCard, children } = _b, props = __objRest(_b, ["size", "__scopeCard", "children"]);
117
+ return /* @__PURE__ */ import_react.default.createElement(CardProvider, {
118
+ scope: __scopeCard,
119
+ size
120
+ }, /* @__PURE__ */ import_react.default.createElement(CardFrame, __spreadValues({}, props), import_react.default.Children.map(children, (child) => {
121
+ if ((0, import_core.isTamaguiElement)(child) && !child.props.size) {
122
+ return (0, import_react.cloneElement)(child, {
123
+ size
124
+ });
125
+ }
126
+ return child;
127
+ })));
128
+ })), {
129
+ Header: CardHeader,
130
+ Footer: CardFooter,
131
+ Background: CardBackground
132
+ });
133
+ // Annotate the CommonJS export names for ESM import in node:
134
+ 0 && (module.exports = {
135
+ Card,
136
+ CardBackground,
137
+ CardFooter,
138
+ CardHeader,
139
+ createCardScope,
140
+ useCardContext
141
+ });
142
+ //# sourceMappingURL=Card.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/Card.tsx"],
4
+ "sourcesContent": ["import {\n GetProps,\n SizeTokens,\n isTamaguiElement,\n styled,\n themeable,\n withStaticProperties,\n} from '@tamagui/core'\nimport { ScopedProps, createContextScope } from '@tamagui/create-context'\nimport { ThemeableStack } from '@tamagui/stacks'\nimport React, { cloneElement, forwardRef } from 'react'\nimport { View } from 'react-native'\n\n// bugfix esbuild strips react jsx: 'preserve'\nReact['createElement']\n\nconst CARD_NAME = 'CARD'\n\ntype CardContextValue = {\n size?: SizeTokens\n}\n\nconst [createCardContext, createCardScope] = createContextScope(CARD_NAME)\nconst [CardProvider, useCardContext] = createCardContext<CardContextValue>(CARD_NAME)\n\nconst CardFrame = styled(ThemeableStack, {\n name: 'Card',\n flexDirection: 'column',\n backgroundColor: '$background',\n position: 'relative',\n overflow: 'hidden',\n\n variants: {\n size: {\n '...size': (val, { tokens }) => {\n return {\n borderRadius: tokens.size[val] ?? val,\n }\n },\n },\n },\n\n defaultVariants: {\n size: '$4',\n },\n})\n\nconst CardHeader = styled(ThemeableStack, {\n name: 'CardHeader',\n zIndex: 10,\n flexDirection: 'column',\n backgroundColor: 'transparent',\n marginBottom: 'auto',\n\n variants: {\n size: {\n '...size': (val, { tokens }) => {\n return {\n padding: tokens.size[val] ?? val,\n }\n },\n },\n },\n})\n\nconst CardFooter = styled(CardHeader, {\n name: 'CardFooter',\n zIndex: 5,\n flexDirection: 'row',\n marginTop: 'auto',\n marginBottom: 0,\n})\n\nconst CardBackground = styled(ThemeableStack, {\n name: 'CardBackground',\n zIndex: 0,\n fullscreen: true,\n overflow: 'hidden',\n pointerEvents: 'none',\n padding: 0,\n})\n\nexport type CardHeaderProps = GetProps<typeof CardHeader>\nexport type CardFooterProps = GetProps<typeof CardFooter>\n\nexport type CardProps = GetProps<typeof CardFrame>\n\nexport const Card = withStaticProperties(\n themeable(\n forwardRef<HTMLElement | View, ScopedProps<CardProps, 'Card'>>(\n ({ size, __scopeCard, children, ...props }) => {\n return (\n <CardProvider scope={__scopeCard} size={size}>\n <CardFrame {...props}>\n {React.Children.map(children, (child) => {\n if (isTamaguiElement(child) && !child.props.size) {\n return cloneElement(child, {\n size,\n })\n }\n return child\n })}\n </CardFrame>\n </CardProvider>\n )\n }\n )\n ),\n {\n Header: CardHeader,\n Footer: CardFooter,\n Background: CardBackground,\n }\n)\n\nexport { createCardScope, useCardContext, CardHeader, CardFooter, CardBackground }\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAOO;AACP,4BAAgD;AAChD,oBAA+B;AAC/B,mBAAgD;AAIhD,qBAAM;AAEN,MAAM,YAAY;AAMlB,MAAM,CAAC,mBAAmB,mBAAmB,8CAAmB,SAAS;AACzE,MAAM,CAAC,cAAc,kBAAkB,kBAAoC,SAAS;AAEpF,MAAM,YAAY,wBAAO,8BAAgB;AAAA,EACvC,MAAM;AAAA,EACN,eAAe;AAAA,EACf,iBAAiB;AAAA,EACjB,UAAU;AAAA,EACV,UAAU;AAAA,EAEV,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW,CAAC,KAAK,EAAE,aAAa;AAC9B,eAAO;AAAA,UACL,cAAc,OAAO,KAAK,QAAQ;AAAA,QACpC;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EAEA,iBAAiB;AAAA,IACf,MAAM;AAAA,EACR;AACF,CAAC;AAED,MAAM,aAAa,wBAAO,8BAAgB;AAAA,EACxC,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,eAAe;AAAA,EACf,iBAAiB;AAAA,EACjB,cAAc;AAAA,EAEd,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW,CAAC,KAAK,EAAE,aAAa;AAC9B,eAAO;AAAA,UACL,SAAS,OAAO,KAAK,QAAQ;AAAA,QAC/B;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF,CAAC;AAED,MAAM,aAAa,wBAAO,YAAY;AAAA,EACpC,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,eAAe;AAAA,EACf,WAAW;AAAA,EACX,cAAc;AAChB,CAAC;AAED,MAAM,iBAAiB,wBAAO,8BAAgB;AAAA,EAC5C,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,UAAU;AAAA,EACV,eAAe;AAAA,EACf,SAAS;AACX,CAAC;AAOM,MAAM,OAAO,sCAClB,2BACE,6BACE,CAAC,OAA8C;AAA9C,eAAE,QAAM,aAAa,aAArB,IAAkC,kBAAlC,IAAkC,CAAhC,QAAM,eAAa;AACpB,SACE,mDAAC;AAAA,IAAa,OAAO;AAAA,IAAa;AAAA,KAChC,mDAAC,8BAAc,QACZ,qBAAM,SAAS,IAAI,UAAU,CAAC,UAAU;AACvC,QAAI,kCAAiB,KAAK,KAAK,CAAC,MAAM,MAAM,MAAM;AAChD,aAAO,+BAAa,OAAO;AAAA,QACzB;AAAA,MACF,CAAC;AAAA,IACH;AACA,WAAO;AAAA,EACT,CAAC,CACH,CACF;AAEJ,CACF,CACF,GACA;AAAA,EACE,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,YAAY;AACd,CACF;",
6
+ "names": []
7
+ }
@@ -0,0 +1,18 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __copyProps = (to, from, except, desc) => {
6
+ if (from && typeof from === "object" || typeof from === "function") {
7
+ for (let key of __getOwnPropNames(from))
8
+ if (!__hasOwnProp.call(to, key) && key !== except)
9
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
+ }
11
+ return to;
12
+ };
13
+ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
14
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
15
+ var src_exports = {};
16
+ module.exports = __toCommonJS(src_exports);
17
+ __reExport(src_exports, require("./Card"), module.exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/index.ts"],
4
+ "sourcesContent": ["export * from './Card'\n"],
5
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,mBAAd;",
6
+ "names": []
7
+ }
@@ -0,0 +1,93 @@
1
+ import {
2
+ isTamaguiElement,
3
+ styled,
4
+ themeable,
5
+ withStaticProperties
6
+ } from "@tamagui/core";
7
+ import { createContextScope } from "@tamagui/create-context";
8
+ import { ThemeableStack } from "@tamagui/stacks";
9
+ import React, { cloneElement, forwardRef } from "react";
10
+ React["createElement"];
11
+ const CARD_NAME = "CARD";
12
+ const [createCardContext, createCardScope] = createContextScope(CARD_NAME);
13
+ const [CardProvider, useCardContext] = createCardContext(CARD_NAME);
14
+ const CardFrame = styled(ThemeableStack, {
15
+ name: "Card",
16
+ flexDirection: "column",
17
+ backgroundColor: "$background",
18
+ position: "relative",
19
+ overflow: "hidden",
20
+ variants: {
21
+ size: {
22
+ "...size": (val, { tokens }) => {
23
+ var _a;
24
+ return {
25
+ borderRadius: (_a = tokens.size[val]) != null ? _a : val
26
+ };
27
+ }
28
+ }
29
+ },
30
+ defaultVariants: {
31
+ size: "$4"
32
+ }
33
+ });
34
+ const CardHeader = styled(ThemeableStack, {
35
+ name: "CardHeader",
36
+ zIndex: 10,
37
+ flexDirection: "column",
38
+ backgroundColor: "transparent",
39
+ marginBottom: "auto",
40
+ variants: {
41
+ size: {
42
+ "...size": (val, { tokens }) => {
43
+ var _a;
44
+ return {
45
+ padding: (_a = tokens.size[val]) != null ? _a : val
46
+ };
47
+ }
48
+ }
49
+ }
50
+ });
51
+ const CardFooter = styled(CardHeader, {
52
+ name: "CardFooter",
53
+ zIndex: 5,
54
+ flexDirection: "row",
55
+ marginTop: "auto",
56
+ marginBottom: 0
57
+ });
58
+ const CardBackground = styled(ThemeableStack, {
59
+ name: "CardBackground",
60
+ zIndex: 0,
61
+ fullscreen: true,
62
+ overflow: "hidden",
63
+ pointerEvents: "none",
64
+ padding: 0
65
+ });
66
+ const Card = withStaticProperties(themeable(forwardRef(({ size, __scopeCard, children, ...props }) => {
67
+ return /* @__PURE__ */ React.createElement(CardProvider, {
68
+ scope: __scopeCard,
69
+ size
70
+ }, /* @__PURE__ */ React.createElement(CardFrame, {
71
+ ...props
72
+ }, React.Children.map(children, (child) => {
73
+ if (isTamaguiElement(child) && !child.props.size) {
74
+ return cloneElement(child, {
75
+ size
76
+ });
77
+ }
78
+ return child;
79
+ })));
80
+ })), {
81
+ Header: CardHeader,
82
+ Footer: CardFooter,
83
+ Background: CardBackground
84
+ });
85
+ export {
86
+ Card,
87
+ CardBackground,
88
+ CardFooter,
89
+ CardHeader,
90
+ createCardScope,
91
+ useCardContext
92
+ };
93
+ //# sourceMappingURL=Card.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/Card.tsx"],
4
+ "sourcesContent": ["import {\n GetProps,\n SizeTokens,\n isTamaguiElement,\n styled,\n themeable,\n withStaticProperties,\n} from '@tamagui/core'\nimport { ScopedProps, createContextScope } from '@tamagui/create-context'\nimport { ThemeableStack } from '@tamagui/stacks'\nimport React, { cloneElement, forwardRef } from 'react'\nimport { View } from 'react-native'\n\n// bugfix esbuild strips react jsx: 'preserve'\nReact['createElement']\n\nconst CARD_NAME = 'CARD'\n\ntype CardContextValue = {\n size?: SizeTokens\n}\n\nconst [createCardContext, createCardScope] = createContextScope(CARD_NAME)\nconst [CardProvider, useCardContext] = createCardContext<CardContextValue>(CARD_NAME)\n\nconst CardFrame = styled(ThemeableStack, {\n name: 'Card',\n flexDirection: 'column',\n backgroundColor: '$background',\n position: 'relative',\n overflow: 'hidden',\n\n variants: {\n size: {\n '...size': (val, { tokens }) => {\n return {\n borderRadius: tokens.size[val] ?? val,\n }\n },\n },\n },\n\n defaultVariants: {\n size: '$4',\n },\n})\n\nconst CardHeader = styled(ThemeableStack, {\n name: 'CardHeader',\n zIndex: 10,\n flexDirection: 'column',\n backgroundColor: 'transparent',\n marginBottom: 'auto',\n\n variants: {\n size: {\n '...size': (val, { tokens }) => {\n return {\n padding: tokens.size[val] ?? val,\n }\n },\n },\n },\n})\n\nconst CardFooter = styled(CardHeader, {\n name: 'CardFooter',\n zIndex: 5,\n flexDirection: 'row',\n marginTop: 'auto',\n marginBottom: 0,\n})\n\nconst CardBackground = styled(ThemeableStack, {\n name: 'CardBackground',\n zIndex: 0,\n fullscreen: true,\n overflow: 'hidden',\n pointerEvents: 'none',\n padding: 0,\n})\n\nexport type CardHeaderProps = GetProps<typeof CardHeader>\nexport type CardFooterProps = GetProps<typeof CardFooter>\n\nexport type CardProps = GetProps<typeof CardFrame>\n\nexport const Card = withStaticProperties(\n themeable(\n forwardRef<HTMLElement | View, ScopedProps<CardProps, 'Card'>>(\n ({ size, __scopeCard, children, ...props }) => {\n return (\n <CardProvider scope={__scopeCard} size={size}>\n <CardFrame {...props}>\n {React.Children.map(children, (child) => {\n if (isTamaguiElement(child) && !child.props.size) {\n return cloneElement(child, {\n size,\n })\n }\n return child\n })}\n </CardFrame>\n </CardProvider>\n )\n }\n )\n ),\n {\n Header: CardHeader,\n Footer: CardFooter,\n Background: CardBackground,\n }\n)\n\nexport { createCardScope, useCardContext, CardHeader, CardFooter, CardBackground }\n"],
5
+ "mappings": "AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAQA;AACA;AACA;AAIA,MAAM;AAEN,MAAM,YAAY;AAMlB,MAAM,CAAC,mBAAmB,mBAAmB,mBAAmB,SAAS;AACzE,MAAM,CAAC,cAAc,kBAAkB,kBAAoC,SAAS;AAEpF,MAAM,YAAY,OAAO,gBAAgB;AAAA,EACvC,MAAM;AAAA,EACN,eAAe;AAAA,EACf,iBAAiB;AAAA,EACjB,UAAU;AAAA,EACV,UAAU;AAAA,EAEV,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW,CAAC,KAAK,EAAE,aAAa;AAlCtC;AAmCQ,eAAO;AAAA,UACL,cAAc,aAAO,KAAK,SAAZ,YAAoB;AAAA,QACpC;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EAEA,iBAAiB;AAAA,IACf,MAAM;AAAA,EACR;AACF,CAAC;AAED,MAAM,aAAa,OAAO,gBAAgB;AAAA,EACxC,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,eAAe;AAAA,EACf,iBAAiB;AAAA,EACjB,cAAc;AAAA,EAEd,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW,CAAC,KAAK,EAAE,aAAa;AAxDtC;AAyDQ,eAAO;AAAA,UACL,SAAS,aAAO,KAAK,SAAZ,YAAoB;AAAA,QAC/B;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF,CAAC;AAED,MAAM,aAAa,OAAO,YAAY;AAAA,EACpC,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,eAAe;AAAA,EACf,WAAW;AAAA,EACX,cAAc;AAChB,CAAC;AAED,MAAM,iBAAiB,OAAO,gBAAgB;AAAA,EAC5C,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,UAAU;AAAA,EACV,eAAe;AAAA,EACf,SAAS;AACX,CAAC;AAOM,MAAM,OAAO,qBAClB,UACE,WACE,CAAC,EAAE,MAAM,aAAa,aAAa,YAAY;AAC7C,SACE,oCAAC;AAAA,IAAa,OAAO;AAAA,IAAa;AAAA,KAChC,oCAAC;AAAA,OAAc;AAAA,KACZ,MAAM,SAAS,IAAI,UAAU,CAAC,UAAU;AACvC,QAAI,iBAAiB,KAAK,KAAK,CAAC,MAAM,MAAM,MAAM;AAChD,aAAO,aAAa,OAAO;AAAA,QACzB;AAAA,MACF,CAAC;AAAA,IACH;AACA,WAAO;AAAA,EACT,CAAC,CACH,CACF;AAEJ,CACF,CACF,GACA;AAAA,EACE,QAAQ;AAAA,EACR,QAAQ;AAAA,EACR,YAAY;AACd,CACF;",
6
+ "names": []
7
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./Card";
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/index.ts"],
4
+ "sourcesContent": ["export * from './Card'\n"],
5
+ "mappings": "AAAA;",
6
+ "names": []
7
+ }
@@ -0,0 +1,87 @@
1
+ import {
2
+ isTamaguiElement,
3
+ styled,
4
+ themeable,
5
+ withStaticProperties
6
+ } from "@tamagui/core";
7
+ import { createContextScope } from "@tamagui/create-context";
8
+ import { ThemeableStack } from "@tamagui/stacks";
9
+ import React, { cloneElement, forwardRef } from "react";
10
+ React["createElement"];
11
+ const CARD_NAME = "CARD";
12
+ const [createCardContext, createCardScope] = createContextScope(CARD_NAME);
13
+ const [CardProvider, useCardContext] = createCardContext(CARD_NAME);
14
+ const CardFrame = styled(ThemeableStack, {
15
+ name: "Card",
16
+ flexDirection: "column",
17
+ backgroundColor: "$background",
18
+ position: "relative",
19
+ overflow: "hidden",
20
+ variants: {
21
+ size: {
22
+ "...size": (val, { tokens }) => {
23
+ var _a;
24
+ return {
25
+ borderRadius: (_a = tokens.size[val]) != null ? _a : val
26
+ };
27
+ }
28
+ }
29
+ },
30
+ defaultVariants: {
31
+ size: "$4"
32
+ }
33
+ });
34
+ const CardHeader = styled(ThemeableStack, {
35
+ name: "CardHeader",
36
+ zIndex: 10,
37
+ flexDirection: "column",
38
+ backgroundColor: "transparent",
39
+ marginBottom: "auto",
40
+ variants: {
41
+ size: {
42
+ "...size": (val, { tokens }) => {
43
+ var _a;
44
+ return {
45
+ padding: (_a = tokens.size[val]) != null ? _a : val
46
+ };
47
+ }
48
+ }
49
+ }
50
+ });
51
+ const CardFooter = styled(CardHeader, {
52
+ name: "CardFooter",
53
+ zIndex: 5,
54
+ flexDirection: "row",
55
+ marginTop: "auto",
56
+ marginBottom: 0
57
+ });
58
+ const CardBackground = styled(ThemeableStack, {
59
+ name: "CardBackground",
60
+ zIndex: 0,
61
+ fullscreen: true,
62
+ overflow: "hidden",
63
+ pointerEvents: "none",
64
+ padding: 0
65
+ });
66
+ const Card = withStaticProperties(themeable(forwardRef(({ size, __scopeCard, children, ...props }) => {
67
+ return <CardProvider scope={__scopeCard} size={size}><CardFrame {...props}>{React.Children.map(children, (child) => {
68
+ if (isTamaguiElement(child) && !child.props.size) {
69
+ return cloneElement(child, {
70
+ size
71
+ });
72
+ }
73
+ return child;
74
+ })}</CardFrame></CardProvider>;
75
+ })), {
76
+ Header: CardHeader,
77
+ Footer: CardFooter,
78
+ Background: CardBackground
79
+ });
80
+ export {
81
+ Card,
82
+ CardBackground,
83
+ CardFooter,
84
+ CardHeader,
85
+ createCardScope,
86
+ useCardContext
87
+ };
@@ -0,0 +1 @@
1
+ export * from "./Card";
package/package.json ADDED
@@ -0,0 +1,40 @@
1
+ {
2
+ "name": "@tamagui/card",
3
+ "version": "1.0.1-beta.32",
4
+ "sideEffects": true,
5
+ "source": "src/index.ts",
6
+ "types": "./types/index.d.ts",
7
+ "main": "dist/cjs",
8
+ "module": "dist/esm",
9
+ "module:jsx": "dist/jsx",
10
+ "files": [
11
+ "types",
12
+ "dist"
13
+ ],
14
+ "scripts": {
15
+ "build": "tamagui-build",
16
+ "watch": "tamagui-build --watch",
17
+ "clean": "tamagui-build clean",
18
+ "clean:build": "tamagui-build clean:build"
19
+ },
20
+ "dependencies": {
21
+ "@tamagui/core": "^1.0.1-beta.32",
22
+ "@tamagui/create-context": "^1.0.1-beta.32",
23
+ "@tamagui/stacks": "^1.0.1-beta.32"
24
+ },
25
+ "peerDependencies": {
26
+ "react": "*",
27
+ "react-dom": "*",
28
+ "react-native": "*"
29
+ },
30
+ "devDependencies": {
31
+ "@tamagui/build": "^1.0.1-beta.32",
32
+ "@types/react-native": "^0.67.3",
33
+ "react": "*",
34
+ "react-dom": "*",
35
+ "react-native": "*"
36
+ },
37
+ "publishConfig": {
38
+ "access": "public"
39
+ }
40
+ }
@@ -0,0 +1,719 @@
1
+ import { GetProps, SizeTokens } from '@tamagui/core';
2
+ import React from 'react';
3
+ import { View } from 'react-native';
4
+ declare type CardContextValue = {
5
+ size?: SizeTokens;
6
+ };
7
+ declare const createCardScope: import("@tamagui/create-context").CreateScope;
8
+ declare const useCardContext: (consumerName: string, scope: import("@tamagui/create-context").Scope<CardContextValue | undefined>) => CardContextValue;
9
+ declare const CardFrame: 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<{
10
+ fullscreen?: boolean | undefined;
11
+ elevation?: SizeTokens | undefined;
12
+ } & {
13
+ fontFamily?: unknown;
14
+ hoverable?: boolean | undefined;
15
+ pressable?: boolean | undefined;
16
+ focusable?: boolean | undefined;
17
+ circular?: boolean | undefined;
18
+ pad?: boolean | undefined;
19
+ elevate?: boolean | undefined;
20
+ bordered?: number | boolean | undefined;
21
+ transparent?: boolean | undefined;
22
+ chromeless?: boolean | undefined;
23
+ }, "size"> & {
24
+ size?: SizeTokens | undefined;
25
+ } & 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<{
26
+ fullscreen?: boolean | undefined;
27
+ elevation?: SizeTokens | undefined;
28
+ } & {
29
+ fontFamily?: unknown;
30
+ hoverable?: boolean | undefined;
31
+ pressable?: boolean | undefined;
32
+ focusable?: boolean | undefined;
33
+ circular?: boolean | undefined;
34
+ pad?: boolean | undefined;
35
+ elevate?: boolean | undefined;
36
+ bordered?: number | boolean | undefined;
37
+ transparent?: boolean | undefined;
38
+ chromeless?: boolean | undefined;
39
+ }, "size"> & {
40
+ size?: SizeTokens | undefined;
41
+ }>> & 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<{
42
+ fullscreen?: boolean | undefined;
43
+ elevation?: SizeTokens | undefined;
44
+ } & {
45
+ fontFamily?: unknown;
46
+ hoverable?: boolean | undefined;
47
+ pressable?: boolean | undefined;
48
+ focusable?: boolean | undefined;
49
+ circular?: boolean | undefined;
50
+ pad?: boolean | undefined;
51
+ elevate?: boolean | undefined;
52
+ bordered?: number | boolean | undefined;
53
+ transparent?: boolean | undefined;
54
+ chromeless?: boolean | undefined;
55
+ }, "size"> & {
56
+ size?: SizeTokens | undefined;
57
+ }>>, any, import("@tamagui/core").StackPropsBase, {
58
+ fullscreen?: boolean | undefined;
59
+ elevation?: SizeTokens | undefined;
60
+ } & {
61
+ fontFamily?: unknown;
62
+ hoverable?: boolean | undefined;
63
+ pressable?: boolean | undefined;
64
+ focusable?: boolean | undefined;
65
+ circular?: boolean | undefined;
66
+ pad?: boolean | undefined;
67
+ elevate?: boolean | undefined;
68
+ bordered?: number | boolean | undefined;
69
+ transparent?: boolean | undefined;
70
+ chromeless?: boolean | undefined;
71
+ } & {
72
+ size?: SizeTokens | undefined;
73
+ }>;
74
+ declare const CardHeader: 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<{
75
+ fullscreen?: boolean | undefined;
76
+ elevation?: SizeTokens | undefined;
77
+ } & {
78
+ fontFamily?: unknown;
79
+ hoverable?: boolean | undefined;
80
+ pressable?: boolean | undefined;
81
+ focusable?: boolean | undefined;
82
+ circular?: boolean | undefined;
83
+ pad?: boolean | undefined;
84
+ elevate?: boolean | undefined;
85
+ bordered?: number | boolean | undefined;
86
+ transparent?: boolean | undefined;
87
+ chromeless?: boolean | undefined;
88
+ }, "size"> & {
89
+ size?: SizeTokens | undefined;
90
+ } & 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<{
91
+ fullscreen?: boolean | undefined;
92
+ elevation?: SizeTokens | undefined;
93
+ } & {
94
+ fontFamily?: unknown;
95
+ hoverable?: boolean | undefined;
96
+ pressable?: boolean | undefined;
97
+ focusable?: boolean | undefined;
98
+ circular?: boolean | undefined;
99
+ pad?: boolean | undefined;
100
+ elevate?: boolean | undefined;
101
+ bordered?: number | boolean | undefined;
102
+ transparent?: boolean | undefined;
103
+ chromeless?: boolean | undefined;
104
+ }, "size"> & {
105
+ size?: SizeTokens | undefined;
106
+ }>> & 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<{
107
+ fullscreen?: boolean | undefined;
108
+ elevation?: SizeTokens | undefined;
109
+ } & {
110
+ fontFamily?: unknown;
111
+ hoverable?: boolean | undefined;
112
+ pressable?: boolean | undefined;
113
+ focusable?: boolean | undefined;
114
+ circular?: boolean | undefined;
115
+ pad?: boolean | undefined;
116
+ elevate?: boolean | undefined;
117
+ bordered?: number | boolean | undefined;
118
+ transparent?: boolean | undefined;
119
+ chromeless?: boolean | undefined;
120
+ }, "size"> & {
121
+ size?: SizeTokens | undefined;
122
+ }>>, any, import("@tamagui/core").StackPropsBase, {
123
+ fullscreen?: boolean | undefined;
124
+ elevation?: SizeTokens | undefined;
125
+ } & {
126
+ fontFamily?: unknown;
127
+ hoverable?: boolean | undefined;
128
+ pressable?: boolean | undefined;
129
+ focusable?: boolean | undefined;
130
+ circular?: boolean | undefined;
131
+ pad?: boolean | undefined;
132
+ elevate?: boolean | undefined;
133
+ bordered?: number | boolean | undefined;
134
+ transparent?: boolean | undefined;
135
+ chromeless?: boolean | undefined;
136
+ } & {
137
+ size?: SizeTokens | undefined;
138
+ }>;
139
+ declare const CardFooter: 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<{
140
+ fullscreen?: boolean | undefined;
141
+ elevation?: SizeTokens | undefined;
142
+ } & {
143
+ fontFamily?: unknown;
144
+ hoverable?: boolean | undefined;
145
+ pressable?: boolean | undefined;
146
+ focusable?: boolean | undefined;
147
+ circular?: boolean | undefined;
148
+ pad?: boolean | undefined;
149
+ elevate?: boolean | undefined;
150
+ bordered?: number | boolean | undefined;
151
+ transparent?: boolean | undefined;
152
+ chromeless?: boolean | undefined;
153
+ }, "size"> & {
154
+ size?: SizeTokens | undefined;
155
+ } & 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<{
156
+ fullscreen?: boolean | undefined;
157
+ elevation?: SizeTokens | undefined;
158
+ } & {
159
+ fontFamily?: unknown;
160
+ hoverable?: boolean | undefined;
161
+ pressable?: boolean | undefined;
162
+ focusable?: boolean | undefined;
163
+ circular?: boolean | undefined;
164
+ pad?: boolean | undefined;
165
+ elevate?: boolean | undefined;
166
+ bordered?: number | boolean | undefined;
167
+ transparent?: boolean | undefined;
168
+ chromeless?: boolean | undefined;
169
+ }, "size"> & {
170
+ size?: SizeTokens | undefined;
171
+ }>> & 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<{
172
+ fullscreen?: boolean | undefined;
173
+ elevation?: SizeTokens | undefined;
174
+ } & {
175
+ fontFamily?: unknown;
176
+ hoverable?: boolean | undefined;
177
+ pressable?: boolean | undefined;
178
+ focusable?: boolean | undefined;
179
+ circular?: boolean | undefined;
180
+ pad?: boolean | undefined;
181
+ elevate?: boolean | undefined;
182
+ bordered?: number | boolean | undefined;
183
+ transparent?: boolean | undefined;
184
+ chromeless?: boolean | undefined;
185
+ }, "size"> & {
186
+ size?: SizeTokens | undefined;
187
+ }>>) | (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<{
188
+ fullscreen?: boolean | undefined;
189
+ elevation?: SizeTokens | undefined;
190
+ } & {
191
+ fontFamily?: unknown;
192
+ hoverable?: boolean | undefined;
193
+ pressable?: boolean | undefined;
194
+ focusable?: boolean | undefined;
195
+ circular?: boolean | undefined;
196
+ pad?: boolean | undefined;
197
+ elevate?: boolean | undefined;
198
+ bordered?: number | boolean | undefined;
199
+ transparent?: boolean | undefined;
200
+ chromeless?: boolean | undefined;
201
+ } & {
202
+ size?: SizeTokens | undefined;
203
+ }, string | number> & {
204
+ [x: string]: undefined;
205
+ } & 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<{
206
+ fullscreen?: boolean | undefined;
207
+ elevation?: SizeTokens | undefined;
208
+ } & {
209
+ fontFamily?: unknown;
210
+ hoverable?: boolean | undefined;
211
+ pressable?: boolean | undefined;
212
+ focusable?: boolean | undefined;
213
+ circular?: boolean | undefined;
214
+ pad?: boolean | undefined;
215
+ elevate?: boolean | undefined;
216
+ bordered?: number | boolean | undefined;
217
+ transparent?: boolean | undefined;
218
+ chromeless?: boolean | undefined;
219
+ } & {
220
+ size?: SizeTokens | undefined;
221
+ }, string | number> & {
222
+ [x: string]: undefined;
223
+ }>> & 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<{
224
+ fullscreen?: boolean | undefined;
225
+ elevation?: SizeTokens | undefined;
226
+ } & {
227
+ fontFamily?: unknown;
228
+ hoverable?: boolean | undefined;
229
+ pressable?: boolean | undefined;
230
+ focusable?: boolean | undefined;
231
+ circular?: boolean | undefined;
232
+ pad?: boolean | undefined;
233
+ elevate?: boolean | undefined;
234
+ bordered?: number | boolean | undefined;
235
+ transparent?: boolean | undefined;
236
+ chromeless?: boolean | undefined;
237
+ } & {
238
+ size?: SizeTokens | undefined;
239
+ }, string | number> & {
240
+ [x: string]: undefined;
241
+ }>>), any, import("@tamagui/core").StackPropsBase, {
242
+ fullscreen?: boolean | undefined;
243
+ elevation?: SizeTokens | undefined;
244
+ } & {
245
+ fontFamily?: unknown;
246
+ hoverable?: boolean | undefined;
247
+ pressable?: boolean | undefined;
248
+ focusable?: boolean | undefined;
249
+ circular?: boolean | undefined;
250
+ pad?: boolean | undefined;
251
+ elevate?: boolean | undefined;
252
+ bordered?: number | boolean | undefined;
253
+ transparent?: boolean | undefined;
254
+ chromeless?: boolean | undefined;
255
+ } & {
256
+ size?: SizeTokens | undefined;
257
+ } & ({} | {
258
+ [x: string]: undefined;
259
+ })>;
260
+ declare const CardBackground: 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<{
261
+ fullscreen?: boolean | undefined;
262
+ elevation?: SizeTokens | undefined;
263
+ }, "focusable" | "fontFamily" | "hoverable" | "pressable" | "circular" | "elevate" | "bordered" | "transparent" | "pad" | "chromeless"> & {
264
+ fontFamily?: unknown;
265
+ hoverable?: boolean | undefined;
266
+ pressable?: boolean | undefined;
267
+ focusable?: boolean | undefined;
268
+ circular?: boolean | undefined;
269
+ pad?: boolean | undefined;
270
+ elevate?: boolean | undefined;
271
+ bordered?: number | boolean | undefined;
272
+ transparent?: boolean | undefined;
273
+ chromeless?: boolean | undefined;
274
+ } & 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<{
275
+ fullscreen?: boolean | undefined;
276
+ elevation?: SizeTokens | undefined;
277
+ }, "focusable" | "fontFamily" | "hoverable" | "pressable" | "circular" | "elevate" | "bordered" | "transparent" | "pad" | "chromeless"> & {
278
+ fontFamily?: unknown;
279
+ hoverable?: boolean | undefined;
280
+ pressable?: boolean | undefined;
281
+ focusable?: boolean | undefined;
282
+ circular?: boolean | undefined;
283
+ pad?: boolean | undefined;
284
+ elevate?: boolean | undefined;
285
+ bordered?: number | boolean | undefined;
286
+ transparent?: boolean | undefined;
287
+ chromeless?: boolean | undefined;
288
+ }>> & 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<{
289
+ fullscreen?: boolean | undefined;
290
+ elevation?: SizeTokens | undefined;
291
+ }, "focusable" | "fontFamily" | "hoverable" | "pressable" | "circular" | "elevate" | "bordered" | "transparent" | "pad" | "chromeless"> & {
292
+ fontFamily?: unknown;
293
+ hoverable?: boolean | undefined;
294
+ pressable?: boolean | undefined;
295
+ focusable?: boolean | undefined;
296
+ circular?: boolean | undefined;
297
+ pad?: boolean | undefined;
298
+ elevate?: boolean | undefined;
299
+ bordered?: number | boolean | undefined;
300
+ transparent?: boolean | undefined;
301
+ chromeless?: boolean | undefined;
302
+ }>>) | (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<{
303
+ fullscreen?: boolean | undefined;
304
+ elevation?: SizeTokens | undefined;
305
+ } & {
306
+ fontFamily?: unknown;
307
+ hoverable?: boolean | undefined;
308
+ pressable?: boolean | undefined;
309
+ focusable?: boolean | undefined;
310
+ circular?: boolean | undefined;
311
+ pad?: boolean | undefined;
312
+ elevate?: boolean | undefined;
313
+ bordered?: number | boolean | undefined;
314
+ transparent?: boolean | undefined;
315
+ chromeless?: boolean | undefined;
316
+ }, string | number> & {
317
+ [x: string]: undefined;
318
+ } & 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<{
319
+ fullscreen?: boolean | undefined;
320
+ elevation?: SizeTokens | undefined;
321
+ } & {
322
+ fontFamily?: unknown;
323
+ hoverable?: boolean | undefined;
324
+ pressable?: boolean | undefined;
325
+ focusable?: boolean | undefined;
326
+ circular?: boolean | undefined;
327
+ pad?: boolean | undefined;
328
+ elevate?: boolean | undefined;
329
+ bordered?: number | boolean | undefined;
330
+ transparent?: boolean | undefined;
331
+ chromeless?: boolean | undefined;
332
+ }, string | number> & {
333
+ [x: string]: undefined;
334
+ }>> & 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<{
335
+ fullscreen?: boolean | undefined;
336
+ elevation?: SizeTokens | undefined;
337
+ } & {
338
+ fontFamily?: unknown;
339
+ hoverable?: boolean | undefined;
340
+ pressable?: boolean | undefined;
341
+ focusable?: boolean | undefined;
342
+ circular?: boolean | undefined;
343
+ pad?: boolean | undefined;
344
+ elevate?: boolean | undefined;
345
+ bordered?: number | boolean | undefined;
346
+ transparent?: boolean | undefined;
347
+ chromeless?: boolean | undefined;
348
+ }, string | number> & {
349
+ [x: string]: undefined;
350
+ }>>), any, import("@tamagui/core").StackPropsBase, {
351
+ fullscreen?: boolean | undefined;
352
+ elevation?: SizeTokens | undefined;
353
+ } & {
354
+ fontFamily?: unknown;
355
+ hoverable?: boolean | undefined;
356
+ pressable?: boolean | undefined;
357
+ focusable?: boolean | undefined;
358
+ circular?: boolean | undefined;
359
+ pad?: boolean | undefined;
360
+ elevate?: boolean | undefined;
361
+ bordered?: number | boolean | undefined;
362
+ transparent?: boolean | undefined;
363
+ chromeless?: boolean | undefined;
364
+ } & ({} | {
365
+ [x: string]: undefined;
366
+ })>;
367
+ export declare type CardHeaderProps = GetProps<typeof CardHeader>;
368
+ export declare type CardFooterProps = GetProps<typeof CardFooter>;
369
+ export declare type CardProps = GetProps<typeof CardFrame>;
370
+ export declare const Card: ((props: Omit<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<{
371
+ fullscreen?: boolean | undefined;
372
+ elevation?: SizeTokens | undefined;
373
+ } & {
374
+ fontFamily?: unknown;
375
+ hoverable?: boolean | undefined;
376
+ pressable?: boolean | undefined;
377
+ focusable?: boolean | undefined;
378
+ circular?: boolean | undefined;
379
+ pad?: boolean | undefined;
380
+ elevate?: boolean | undefined;
381
+ bordered?: number | boolean | undefined;
382
+ transparent?: boolean | undefined;
383
+ chromeless?: boolean | undefined;
384
+ }, "size"> & {
385
+ size?: SizeTokens | undefined;
386
+ } & 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<{
387
+ fullscreen?: boolean | undefined;
388
+ elevation?: SizeTokens | undefined;
389
+ } & {
390
+ fontFamily?: unknown;
391
+ hoverable?: boolean | undefined;
392
+ pressable?: boolean | undefined;
393
+ focusable?: boolean | undefined;
394
+ circular?: boolean | undefined;
395
+ pad?: boolean | undefined;
396
+ elevate?: boolean | undefined;
397
+ bordered?: number | boolean | undefined;
398
+ transparent?: boolean | undefined;
399
+ chromeless?: boolean | undefined;
400
+ }, "size"> & {
401
+ size?: SizeTokens | undefined;
402
+ }>> & 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<{
403
+ fullscreen?: boolean | undefined;
404
+ elevation?: SizeTokens | undefined;
405
+ } & {
406
+ fontFamily?: unknown;
407
+ hoverable?: boolean | undefined;
408
+ pressable?: boolean | undefined;
409
+ focusable?: boolean | undefined;
410
+ circular?: boolean | undefined;
411
+ pad?: boolean | undefined;
412
+ elevate?: boolean | undefined;
413
+ bordered?: number | boolean | undefined;
414
+ transparent?: boolean | undefined;
415
+ chromeless?: boolean | undefined;
416
+ }, "size"> & {
417
+ size?: SizeTokens | undefined;
418
+ }>> & {
419
+ __scopeCard?: import("@tamagui/create-context").Scope<any>;
420
+ } & React.RefAttributes<View | HTMLElement>, "theme" | "themeInverse"> & {
421
+ theme?: import("@tamagui/core").ThemeName | null | undefined;
422
+ themeInverse?: boolean | undefined;
423
+ }) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null) & {
424
+ Header: 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<{
425
+ fullscreen?: boolean | undefined;
426
+ elevation?: SizeTokens | undefined;
427
+ } & {
428
+ fontFamily?: unknown;
429
+ hoverable?: boolean | undefined;
430
+ pressable?: boolean | undefined;
431
+ focusable?: boolean | undefined;
432
+ circular?: boolean | undefined;
433
+ pad?: boolean | undefined;
434
+ elevate?: boolean | undefined;
435
+ bordered?: number | boolean | undefined;
436
+ transparent?: boolean | undefined;
437
+ chromeless?: boolean | undefined;
438
+ }, "size"> & {
439
+ size?: SizeTokens | undefined;
440
+ } & 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<{
441
+ fullscreen?: boolean | undefined;
442
+ elevation?: SizeTokens | undefined;
443
+ } & {
444
+ fontFamily?: unknown;
445
+ hoverable?: boolean | undefined;
446
+ pressable?: boolean | undefined;
447
+ focusable?: boolean | undefined;
448
+ circular?: boolean | undefined;
449
+ pad?: boolean | undefined;
450
+ elevate?: boolean | undefined;
451
+ bordered?: number | boolean | undefined;
452
+ transparent?: boolean | undefined;
453
+ chromeless?: boolean | undefined;
454
+ }, "size"> & {
455
+ size?: SizeTokens | undefined;
456
+ }>> & 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<{
457
+ fullscreen?: boolean | undefined;
458
+ elevation?: SizeTokens | undefined;
459
+ } & {
460
+ fontFamily?: unknown;
461
+ hoverable?: boolean | undefined;
462
+ pressable?: boolean | undefined;
463
+ focusable?: boolean | undefined;
464
+ circular?: boolean | undefined;
465
+ pad?: boolean | undefined;
466
+ elevate?: boolean | undefined;
467
+ bordered?: number | boolean | undefined;
468
+ transparent?: boolean | undefined;
469
+ chromeless?: boolean | undefined;
470
+ }, "size"> & {
471
+ size?: SizeTokens | undefined;
472
+ }>>, any, import("@tamagui/core").StackPropsBase, {
473
+ fullscreen?: boolean | undefined;
474
+ elevation?: SizeTokens | undefined;
475
+ } & {
476
+ fontFamily?: unknown;
477
+ hoverable?: boolean | undefined;
478
+ pressable?: boolean | undefined;
479
+ focusable?: boolean | undefined;
480
+ circular?: boolean | undefined;
481
+ pad?: boolean | undefined;
482
+ elevate?: boolean | undefined;
483
+ bordered?: number | boolean | undefined;
484
+ transparent?: boolean | undefined;
485
+ chromeless?: boolean | undefined;
486
+ } & {
487
+ size?: SizeTokens | undefined;
488
+ }>;
489
+ Footer: 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<{
490
+ fullscreen?: boolean | undefined;
491
+ elevation?: SizeTokens | undefined;
492
+ } & {
493
+ fontFamily?: unknown;
494
+ hoverable?: boolean | undefined;
495
+ pressable?: boolean | undefined;
496
+ focusable?: boolean | undefined;
497
+ circular?: boolean | undefined;
498
+ pad?: boolean | undefined;
499
+ elevate?: boolean | undefined;
500
+ bordered?: number | boolean | undefined;
501
+ transparent?: boolean | undefined;
502
+ chromeless?: boolean | undefined;
503
+ }, "size"> & {
504
+ size?: SizeTokens | undefined;
505
+ } & 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<{
506
+ fullscreen?: boolean | undefined;
507
+ elevation?: SizeTokens | undefined;
508
+ } & {
509
+ fontFamily?: unknown;
510
+ hoverable?: boolean | undefined;
511
+ pressable?: boolean | undefined;
512
+ focusable?: boolean | undefined;
513
+ circular?: boolean | undefined;
514
+ pad?: boolean | undefined;
515
+ elevate?: boolean | undefined;
516
+ bordered?: number | boolean | undefined;
517
+ transparent?: boolean | undefined;
518
+ chromeless?: boolean | undefined;
519
+ }, "size"> & {
520
+ size?: SizeTokens | undefined;
521
+ }>> & 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<{
522
+ fullscreen?: boolean | undefined;
523
+ elevation?: SizeTokens | undefined;
524
+ } & {
525
+ fontFamily?: unknown;
526
+ hoverable?: boolean | undefined;
527
+ pressable?: boolean | undefined;
528
+ focusable?: boolean | undefined;
529
+ circular?: boolean | undefined;
530
+ pad?: boolean | undefined;
531
+ elevate?: boolean | undefined;
532
+ bordered?: number | boolean | undefined;
533
+ transparent?: boolean | undefined;
534
+ chromeless?: boolean | undefined;
535
+ }, "size"> & {
536
+ size?: SizeTokens | undefined;
537
+ }>>) | (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<{
538
+ fullscreen?: boolean | undefined;
539
+ elevation?: SizeTokens | undefined;
540
+ } & {
541
+ fontFamily?: unknown;
542
+ hoverable?: boolean | undefined;
543
+ pressable?: boolean | undefined;
544
+ focusable?: boolean | undefined;
545
+ circular?: boolean | undefined;
546
+ pad?: boolean | undefined;
547
+ elevate?: boolean | undefined;
548
+ bordered?: number | boolean | undefined;
549
+ transparent?: boolean | undefined;
550
+ chromeless?: boolean | undefined;
551
+ } & {
552
+ size?: SizeTokens | undefined;
553
+ }, string | number> & {
554
+ [x: string]: undefined;
555
+ } & 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<{
556
+ fullscreen?: boolean | undefined;
557
+ elevation?: SizeTokens | undefined;
558
+ } & {
559
+ fontFamily?: unknown;
560
+ hoverable?: boolean | undefined;
561
+ pressable?: boolean | undefined;
562
+ focusable?: boolean | undefined;
563
+ circular?: boolean | undefined;
564
+ pad?: boolean | undefined;
565
+ elevate?: boolean | undefined;
566
+ bordered?: number | boolean | undefined;
567
+ transparent?: boolean | undefined;
568
+ chromeless?: boolean | undefined;
569
+ } & {
570
+ size?: SizeTokens | undefined;
571
+ }, string | number> & {
572
+ [x: string]: undefined;
573
+ }>> & 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<{
574
+ fullscreen?: boolean | undefined;
575
+ elevation?: SizeTokens | undefined;
576
+ } & {
577
+ fontFamily?: unknown;
578
+ hoverable?: boolean | undefined;
579
+ pressable?: boolean | undefined;
580
+ focusable?: boolean | undefined;
581
+ circular?: boolean | undefined;
582
+ pad?: boolean | undefined;
583
+ elevate?: boolean | undefined;
584
+ bordered?: number | boolean | undefined;
585
+ transparent?: boolean | undefined;
586
+ chromeless?: boolean | undefined;
587
+ } & {
588
+ size?: SizeTokens | undefined;
589
+ }, string | number> & {
590
+ [x: string]: undefined;
591
+ }>>), any, import("@tamagui/core").StackPropsBase, {
592
+ fullscreen?: boolean | undefined;
593
+ elevation?: SizeTokens | undefined;
594
+ } & {
595
+ fontFamily?: unknown;
596
+ hoverable?: boolean | undefined;
597
+ pressable?: boolean | undefined;
598
+ focusable?: boolean | undefined;
599
+ circular?: boolean | undefined;
600
+ pad?: boolean | undefined;
601
+ elevate?: boolean | undefined;
602
+ bordered?: number | boolean | undefined;
603
+ transparent?: boolean | undefined;
604
+ chromeless?: boolean | undefined;
605
+ } & {
606
+ size?: SizeTokens | undefined;
607
+ } & ({} | {
608
+ [x: string]: undefined;
609
+ })>;
610
+ Background: 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<{
611
+ fullscreen?: boolean | undefined;
612
+ elevation?: SizeTokens | undefined;
613
+ }, "focusable" | "fontFamily" | "hoverable" | "pressable" | "circular" | "elevate" | "bordered" | "transparent" | "pad" | "chromeless"> & {
614
+ fontFamily?: unknown;
615
+ hoverable?: boolean | undefined;
616
+ pressable?: boolean | undefined;
617
+ focusable?: boolean | undefined;
618
+ circular?: boolean | undefined;
619
+ pad?: boolean | undefined;
620
+ elevate?: boolean | undefined;
621
+ bordered?: number | boolean | undefined;
622
+ transparent?: boolean | undefined;
623
+ chromeless?: boolean | undefined;
624
+ } & 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<{
625
+ fullscreen?: boolean | undefined;
626
+ elevation?: SizeTokens | undefined;
627
+ }, "focusable" | "fontFamily" | "hoverable" | "pressable" | "circular" | "elevate" | "bordered" | "transparent" | "pad" | "chromeless"> & {
628
+ fontFamily?: unknown;
629
+ hoverable?: boolean | undefined;
630
+ pressable?: boolean | undefined;
631
+ focusable?: boolean | undefined;
632
+ circular?: boolean | undefined;
633
+ pad?: boolean | undefined;
634
+ elevate?: boolean | undefined;
635
+ bordered?: number | boolean | undefined;
636
+ transparent?: boolean | undefined;
637
+ chromeless?: boolean | undefined;
638
+ }>> & 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<{
639
+ fullscreen?: boolean | undefined;
640
+ elevation?: SizeTokens | undefined;
641
+ }, "focusable" | "fontFamily" | "hoverable" | "pressable" | "circular" | "elevate" | "bordered" | "transparent" | "pad" | "chromeless"> & {
642
+ fontFamily?: unknown;
643
+ hoverable?: boolean | undefined;
644
+ pressable?: boolean | undefined;
645
+ focusable?: boolean | undefined;
646
+ circular?: boolean | undefined;
647
+ pad?: boolean | undefined;
648
+ elevate?: boolean | undefined;
649
+ bordered?: number | boolean | undefined;
650
+ transparent?: boolean | undefined;
651
+ chromeless?: boolean | undefined;
652
+ }>>) | (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<{
653
+ fullscreen?: boolean | undefined;
654
+ elevation?: SizeTokens | undefined;
655
+ } & {
656
+ fontFamily?: unknown;
657
+ hoverable?: boolean | undefined;
658
+ pressable?: boolean | undefined;
659
+ focusable?: boolean | undefined;
660
+ circular?: boolean | undefined;
661
+ pad?: boolean | undefined;
662
+ elevate?: boolean | undefined;
663
+ bordered?: number | boolean | undefined;
664
+ transparent?: boolean | undefined;
665
+ chromeless?: boolean | undefined;
666
+ }, string | number> & {
667
+ [x: string]: undefined;
668
+ } & 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<{
669
+ fullscreen?: boolean | undefined;
670
+ elevation?: SizeTokens | undefined;
671
+ } & {
672
+ fontFamily?: unknown;
673
+ hoverable?: boolean | undefined;
674
+ pressable?: boolean | undefined;
675
+ focusable?: boolean | undefined;
676
+ circular?: boolean | undefined;
677
+ pad?: boolean | undefined;
678
+ elevate?: boolean | undefined;
679
+ bordered?: number | boolean | undefined;
680
+ transparent?: boolean | undefined;
681
+ chromeless?: boolean | undefined;
682
+ }, string | number> & {
683
+ [x: string]: undefined;
684
+ }>> & 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<{
685
+ fullscreen?: boolean | undefined;
686
+ elevation?: SizeTokens | undefined;
687
+ } & {
688
+ fontFamily?: unknown;
689
+ hoverable?: boolean | undefined;
690
+ pressable?: boolean | undefined;
691
+ focusable?: boolean | undefined;
692
+ circular?: boolean | undefined;
693
+ pad?: boolean | undefined;
694
+ elevate?: boolean | undefined;
695
+ bordered?: number | boolean | undefined;
696
+ transparent?: boolean | undefined;
697
+ chromeless?: boolean | undefined;
698
+ }, string | number> & {
699
+ [x: string]: undefined;
700
+ }>>), any, import("@tamagui/core").StackPropsBase, {
701
+ fullscreen?: boolean | undefined;
702
+ elevation?: SizeTokens | undefined;
703
+ } & {
704
+ fontFamily?: unknown;
705
+ hoverable?: boolean | undefined;
706
+ pressable?: boolean | undefined;
707
+ focusable?: boolean | undefined;
708
+ circular?: boolean | undefined;
709
+ pad?: boolean | undefined;
710
+ elevate?: boolean | undefined;
711
+ bordered?: number | boolean | undefined;
712
+ transparent?: boolean | undefined;
713
+ chromeless?: boolean | undefined;
714
+ } & ({} | {
715
+ [x: string]: undefined;
716
+ })>;
717
+ };
718
+ export { createCardScope, useCardContext, CardHeader, CardFooter, CardBackground };
719
+ //# sourceMappingURL=Card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../src/Card.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,UAAU,EAKX,MAAM,eAAe,CAAA;AAGtB,OAAO,KAAmC,MAAM,OAAO,CAAA;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAOnC,aAAK,gBAAgB,GAAG;IACtB,IAAI,CAAC,EAAE,UAAU,CAAA;CAClB,CAAA;AAED,QAAA,MAA0B,eAAe,+CAAiC,CAAA;AAC1E,QAAA,MAAqB,cAAc,0HAAkD,CAAA;AAErF,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBb,CAAA;AAEF,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAgBd,CAAA;AAEF,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAMd,CAAA;AAEF,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAOlB,CAAA;AAEF,oBAAY,eAAe,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAA;AACzD,oBAAY,eAAe,GAAG,QAAQ,CAAC,OAAO,UAAU,CAAC,CAAA;AAEzD,oBAAY,SAAS,GAAG,QAAQ,CAAC,OAAO,SAAS,CAAC,CAAA;AAElD,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0BhB,CAAA;AAED,OAAO,EAAE,eAAe,EAAE,cAAc,EAAE,UAAU,EAAE,UAAU,EAAE,cAAc,EAAE,CAAA"}
@@ -0,0 +1,2 @@
1
+ export * from './Card';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAA"}