@tamagui/card 1.5.15 → 1.5.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Card.js +7 -7
- package/dist/cjs/Card.js.map +2 -2
- package/dist/esm/Card.js +2 -2
- package/dist/esm/Card.js.map +2 -2
- package/dist/esm/Card.mjs +2 -2
- package/dist/esm/Card.mjs.map +2 -2
- package/dist/jsx/Card.js +2 -2
- package/dist/jsx/Card.js.map +2 -2
- package/dist/jsx/Card.mjs +2 -2
- package/dist/jsx/Card.mjs.map +2 -2
- package/package.json +5 -5
- package/src/Card.tsx +5 -8
- package/types/Card.d.ts +117 -118
- package/types/Card.d.ts.map +1 -1
package/dist/cjs/Card.js
CHANGED
|
@@ -39,10 +39,10 @@ var import_jsx_runtime = (
|
|
|
39
39
|
// <CardProvider scope={__scopeCard} size={size}>
|
|
40
40
|
require("react/jsx-runtime")
|
|
41
41
|
);
|
|
42
|
-
var import_core = require("@tamagui/core");
|
|
43
42
|
var import_stacks = require("@tamagui/stacks");
|
|
43
|
+
var import_web = require("@tamagui/web");
|
|
44
44
|
var import_react = __toESM(require("react"));
|
|
45
|
-
const CardFrame = (0,
|
|
45
|
+
const CardFrame = (0, import_web.styled)(import_stacks.ThemeableStack, {
|
|
46
46
|
name: "Card",
|
|
47
47
|
backgroundColor: "$background",
|
|
48
48
|
position: "relative",
|
|
@@ -60,7 +60,7 @@ const CardFrame = (0, import_core.styled)(import_stacks.ThemeableStack, {
|
|
|
60
60
|
size: "$true"
|
|
61
61
|
}
|
|
62
62
|
});
|
|
63
|
-
const CardHeader = (0,
|
|
63
|
+
const CardHeader = (0, import_web.styled)(import_stacks.ThemeableStack, {
|
|
64
64
|
name: "CardHeader",
|
|
65
65
|
zIndex: 10,
|
|
66
66
|
backgroundColor: "transparent",
|
|
@@ -75,14 +75,14 @@ const CardHeader = (0, import_core.styled)(import_stacks.ThemeableStack, {
|
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
});
|
|
78
|
-
const CardFooter = (0,
|
|
78
|
+
const CardFooter = (0, import_web.styled)(CardHeader, {
|
|
79
79
|
name: "CardFooter",
|
|
80
80
|
zIndex: 5,
|
|
81
81
|
flexDirection: "row",
|
|
82
82
|
marginTop: "auto",
|
|
83
83
|
marginBottom: 0
|
|
84
84
|
});
|
|
85
|
-
const CardBackground = (0,
|
|
85
|
+
const CardBackground = (0, import_web.styled)(import_stacks.ThemeableStack, {
|
|
86
86
|
name: "CardBackground",
|
|
87
87
|
zIndex: 0,
|
|
88
88
|
fullscreen: true,
|
|
@@ -90,12 +90,12 @@ const CardBackground = (0, import_core.styled)(import_stacks.ThemeableStack, {
|
|
|
90
90
|
pointerEvents: "none",
|
|
91
91
|
padding: 0
|
|
92
92
|
});
|
|
93
|
-
const Card = (0,
|
|
93
|
+
const Card = (0, import_web.withStaticProperties)(
|
|
94
94
|
CardFrame.extractable(
|
|
95
95
|
(0, import_react.forwardRef)(
|
|
96
96
|
({ size, __scopeCard, children, ...props }, ref) => {
|
|
97
97
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CardFrame, { ref, ...props, children: import_react.default.Children.map(children, (child) => {
|
|
98
|
-
if ((0,
|
|
98
|
+
if ((0, import_web.isTamaguiElement)(child) && !child.props.size) {
|
|
99
99
|
return (0, import_react.cloneElement)(child, {
|
|
100
100
|
size
|
|
101
101
|
});
|
package/dist/cjs/Card.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Card.tsx"],
|
|
4
|
-
"sourcesContent": ["import {
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;
|
|
4
|
+
"sourcesContent": ["import { ScopedProps } from '@tamagui/create-context'\nimport { ThemeableStack } from '@tamagui/stacks'\nimport {\n GetProps,\n TamaguiElement,\n isTamaguiElement,\n styled,\n withStaticProperties,\n} from '@tamagui/web'\nimport React, { cloneElement, forwardRef } from 'react'\n\n// const CARD_NAME = 'CARD'\n\n// type CardContextValue = {\n// size?: SizeTokens\n// }\n\n// const [createCardContext, createCardScope] = createContextScope(CARD_NAME)\n// const [CardProvider, useCardContext] = createCardContext<CardContextValue>(CARD_NAME)\n\nexport const CardFrame = styled(ThemeableStack, {\n name: 'Card',\n backgroundColor: '$background',\n position: 'relative',\n overflow: 'hidden',\n\n variants: {\n size: {\n '...size': (val, { tokens }) => {\n return {\n borderRadius: tokens.radius[val] ?? val,\n }\n },\n },\n } as const,\n\n defaultVariants: {\n size: '$true',\n },\n})\n\nexport const CardHeader = styled(ThemeableStack, {\n name: 'CardHeader',\n zIndex: 10,\n backgroundColor: 'transparent',\n marginBottom: 'auto',\n\n variants: {\n size: {\n '...size': (val, { tokens }) => {\n return {\n padding: tokens.space[val] ?? val,\n }\n },\n },\n } as const,\n})\n\nexport const CardFooter = styled(CardHeader, {\n name: 'CardFooter',\n zIndex: 5,\n flexDirection: 'row',\n marginTop: 'auto',\n marginBottom: 0,\n})\n\nexport const 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>\nexport type CardProps = GetProps<typeof CardFrame>\n\nexport const Card = withStaticProperties(\n CardFrame.extractable(\n forwardRef<TamaguiElement, ScopedProps<CardProps, 'Card'>>(\n ({ size, __scopeCard, children, ...props }, ref) => {\n return (\n // <CardProvider scope={__scopeCard} size={size}>\n <CardFrame ref={ref} {...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,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AM,aAAa,UAAU,GAAG,MAAM,GAAG,QAAQ;AAClD,eAEE,4CAAC,aAAU,KAAW,GAAG,OACtB,uBAAAA,QAAM,SAAS,IAAI,UAAU,CAAC,UAAU;AACvC,kBAAI,6BAAiB,KAAK,KAAK,CAAC,MAAM,MAAM,MAAM;AAChD,uBAAO,2BAAa,OAAO;AAAA,cACzB;AAAA,YACF,CAAC;AAAA,UACH;AACA,iBAAO;AAAA,QACT,CAAC,GACH;AAAA,MAGJ;AAAA,IACF;AAAA,EACF;AAAA,EACA;AAAA,IACE,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,YAAY;AAAA,EACd;AACF;",
|
|
6
6
|
"names": ["React"]
|
|
7
7
|
}
|
package/dist/esm/Card.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { ThemeableStack } from "@tamagui/stacks";
|
|
2
3
|
import {
|
|
3
4
|
isTamaguiElement,
|
|
4
5
|
styled,
|
|
5
6
|
withStaticProperties
|
|
6
|
-
} from "@tamagui/
|
|
7
|
-
import { ThemeableStack } from "@tamagui/stacks";
|
|
7
|
+
} from "@tamagui/web";
|
|
8
8
|
import React, { cloneElement, forwardRef } from "react";
|
|
9
9
|
const CardFrame = styled(ThemeableStack, {
|
|
10
10
|
name: "Card",
|
package/dist/esm/Card.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Card.tsx"],
|
|
4
|
-
"sourcesContent": ["import {
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import { ScopedProps } from '@tamagui/create-context'\nimport { ThemeableStack } from '@tamagui/stacks'\nimport {\n GetProps,\n TamaguiElement,\n isTamaguiElement,\n styled,\n withStaticProperties,\n} from '@tamagui/web'\nimport React, { cloneElement, forwardRef } from 'react'\n\n// const CARD_NAME = 'CARD'\n\n// type CardContextValue = {\n// size?: SizeTokens\n// }\n\n// const [createCardContext, createCardScope] = createContextScope(CARD_NAME)\n// const [CardProvider, useCardContext] = createCardContext<CardContextValue>(CARD_NAME)\n\nexport const CardFrame = styled(ThemeableStack, {\n name: 'Card',\n backgroundColor: '$background',\n position: 'relative',\n overflow: 'hidden',\n\n variants: {\n size: {\n '...size': (val, { tokens }) => {\n return {\n borderRadius: tokens.radius[val] ?? val,\n }\n },\n },\n } as const,\n\n defaultVariants: {\n size: '$true',\n },\n})\n\nexport const CardHeader = styled(ThemeableStack, {\n name: 'CardHeader',\n zIndex: 10,\n backgroundColor: 'transparent',\n marginBottom: 'auto',\n\n variants: {\n size: {\n '...size': (val, { tokens }) => {\n return {\n padding: tokens.space[val] ?? val,\n }\n },\n },\n } as const,\n})\n\nexport const CardFooter = styled(CardHeader, {\n name: 'CardFooter',\n zIndex: 5,\n flexDirection: 'row',\n marginTop: 'auto',\n marginBottom: 0,\n})\n\nexport const 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>\nexport type CardProps = GetProps<typeof CardFrame>\n\nexport const Card = withStaticProperties(\n CardFrame.extractable(\n forwardRef<TamaguiElement, ScopedProps<CardProps, 'Card'>>(\n ({ size, __scopeCard, children, ...props }, ref) => {\n return (\n // <CardProvider scope={__scopeCard} size={size}>\n <CardFrame ref={ref} {...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\n// export { createCardScope, useCardContext }\n"],
|
|
5
|
+
"mappings": "AAqFU;AApFV,SAAS,sBAAsB;AAC/B;AAAA,EAGE;AAAA,EACA;AAAA,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MAAM;AAChD,qBAAO,aAAa,OAAO;AAAA,gBACzB;AAAA,cACF,CAAC;AAAA,YACH;AACA,mBAAO;AAAA,UACT,CAAC,GACH;AAAA;AAAA,MAGJ;AAAA,IACF;AAAA,EACF;AAAA,EACA;AAAA,IACE,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,YAAY;AAAA,EACd;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/Card.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { ThemeableStack } from "@tamagui/stacks";
|
|
2
3
|
import {
|
|
3
4
|
isTamaguiElement,
|
|
4
5
|
styled,
|
|
5
6
|
withStaticProperties
|
|
6
|
-
} from "@tamagui/
|
|
7
|
-
import { ThemeableStack } from "@tamagui/stacks";
|
|
7
|
+
} from "@tamagui/web";
|
|
8
8
|
import React, { cloneElement, forwardRef } from "react";
|
|
9
9
|
const CardFrame = styled(ThemeableStack, {
|
|
10
10
|
name: "Card",
|
package/dist/esm/Card.mjs.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Card.tsx"],
|
|
4
|
-
"sourcesContent": ["import {
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import { ScopedProps } from '@tamagui/create-context'\nimport { ThemeableStack } from '@tamagui/stacks'\nimport {\n GetProps,\n TamaguiElement,\n isTamaguiElement,\n styled,\n withStaticProperties,\n} from '@tamagui/web'\nimport React, { cloneElement, forwardRef } from 'react'\n\n// const CARD_NAME = 'CARD'\n\n// type CardContextValue = {\n// size?: SizeTokens\n// }\n\n// const [createCardContext, createCardScope] = createContextScope(CARD_NAME)\n// const [CardProvider, useCardContext] = createCardContext<CardContextValue>(CARD_NAME)\n\nexport const CardFrame = styled(ThemeableStack, {\n name: 'Card',\n backgroundColor: '$background',\n position: 'relative',\n overflow: 'hidden',\n\n variants: {\n size: {\n '...size': (val, { tokens }) => {\n return {\n borderRadius: tokens.radius[val] ?? val,\n }\n },\n },\n } as const,\n\n defaultVariants: {\n size: '$true',\n },\n})\n\nexport const CardHeader = styled(ThemeableStack, {\n name: 'CardHeader',\n zIndex: 10,\n backgroundColor: 'transparent',\n marginBottom: 'auto',\n\n variants: {\n size: {\n '...size': (val, { tokens }) => {\n return {\n padding: tokens.space[val] ?? val,\n }\n },\n },\n } as const,\n})\n\nexport const CardFooter = styled(CardHeader, {\n name: 'CardFooter',\n zIndex: 5,\n flexDirection: 'row',\n marginTop: 'auto',\n marginBottom: 0,\n})\n\nexport const 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>\nexport type CardProps = GetProps<typeof CardFrame>\n\nexport const Card = withStaticProperties(\n CardFrame.extractable(\n forwardRef<TamaguiElement, ScopedProps<CardProps, 'Card'>>(\n ({ size, __scopeCard, children, ...props }, ref) => {\n return (\n // <CardProvider scope={__scopeCard} size={size}>\n <CardFrame ref={ref} {...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\n// export { createCardScope, useCardContext }\n"],
|
|
5
|
+
"mappings": "AAqFU;AApFV,SAAS,sBAAsB;AAC/B;AAAA,EAGE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,OAAO,SAAS,cAAc,kBAAkB;AAWzC,MAAM,YAAY,OAAO,gBAAgB;AAAA,EAC9C,MAAM;AAAA,EACN,iBAAiB;AAAA,EACjB,UAAU;AAAA,EACV,UAAU;AAAA,EAEV,UAAU;AA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;AAAA,IACR,QAAQ;AAAA,IACR,YAAY;AAAA,EACd;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/jsx/Card.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { ThemeableStack } from "@tamagui/stacks";
|
|
1
2
|
import {
|
|
2
3
|
isTamaguiElement,
|
|
3
4
|
styled,
|
|
4
5
|
withStaticProperties
|
|
5
|
-
} from "@tamagui/
|
|
6
|
-
import { ThemeableStack } from "@tamagui/stacks";
|
|
6
|
+
} from "@tamagui/web";
|
|
7
7
|
import React, { cloneElement, forwardRef } from "react";
|
|
8
8
|
const CardFrame = styled(ThemeableStack, {
|
|
9
9
|
name: "Card",
|
package/dist/jsx/Card.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Card.tsx"],
|
|
4
|
-
"sourcesContent": ["import {
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import { ScopedProps } from '@tamagui/create-context'\nimport { ThemeableStack } from '@tamagui/stacks'\nimport {\n GetProps,\n TamaguiElement,\n isTamaguiElement,\n styled,\n withStaticProperties,\n} from '@tamagui/web'\nimport React, { cloneElement, forwardRef } from 'react'\n\n// const CARD_NAME = 'CARD'\n\n// type CardContextValue = {\n// size?: SizeTokens\n// }\n\n// const [createCardContext, createCardScope] = createContextScope(CARD_NAME)\n// const [CardProvider, useCardContext] = createCardContext<CardContextValue>(CARD_NAME)\n\nexport const CardFrame = styled(ThemeableStack, {\n name: 'Card',\n backgroundColor: '$background',\n position: 'relative',\n overflow: 'hidden',\n\n variants: {\n size: {\n '...size': (val, { tokens }) => {\n return {\n borderRadius: tokens.radius[val] ?? val,\n }\n },\n },\n } as const,\n\n defaultVariants: {\n size: '$true',\n },\n})\n\nexport const CardHeader = styled(ThemeableStack, {\n name: 'CardHeader',\n zIndex: 10,\n backgroundColor: 'transparent',\n marginBottom: 'auto',\n\n variants: {\n size: {\n '...size': (val, { tokens }) => {\n return {\n padding: tokens.space[val] ?? val,\n }\n },\n },\n } as const,\n})\n\nexport const CardFooter = styled(CardHeader, {\n name: 'CardFooter',\n zIndex: 5,\n flexDirection: 'row',\n marginTop: 'auto',\n marginBottom: 0,\n})\n\nexport const 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>\nexport type CardProps = GetProps<typeof CardFrame>\n\nexport const Card = withStaticProperties(\n CardFrame.extractable(\n forwardRef<TamaguiElement, ScopedProps<CardProps, 'Card'>>(\n ({ size, __scopeCard, children, ...props }, ref) => {\n return (\n // <CardProvider scope={__scopeCard} size={size}>\n <CardFrame ref={ref} {...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\n// export { createCardScope, useCardContext }\n"],
|
|
5
|
+
"mappings": "AACA,SAAS,sBAAsB;AAC/B;AAAA,EAGE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,OAAO,SAAS,cAAc,kBAAkB;AAWzC,MAAM,YAAY,OAAO,gBAAgB;AAAA,EAC9C,MAAM;AAAA,EACN,iBAAiB;AAAA,EACjB,UAAU;AAAA,EACV,UAAU;AAAA,EAEV,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW,CAAC,KAAK,EAAE,OAAO,MAAM;AAC9B,eAAO;AAAA,UACL,cAAc,OAAO,OAAO,GAAG,KAAK;AAAA,QACtC;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EAEA,iBAAiB;AAAA,IACf,MAAM;AAAA,EACR;AACF,CAAC;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|
|
3
4
|
styled,
|
|
4
5
|
withStaticProperties
|
|
5
|
-
} from "@tamagui/
|
|
6
|
-
import { ThemeableStack } from "@tamagui/stacks";
|
|
6
|
+
} from "@tamagui/web";
|
|
7
7
|
import React, { cloneElement, forwardRef } from "react";
|
|
8
8
|
const CardFrame = styled(ThemeableStack, {
|
|
9
9
|
name: "Card",
|
package/dist/jsx/Card.mjs.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/Card.tsx"],
|
|
4
|
-
"sourcesContent": ["import {
|
|
5
|
-
"mappings": "
|
|
4
|
+
"sourcesContent": ["import { ScopedProps } from '@tamagui/create-context'\nimport { ThemeableStack } from '@tamagui/stacks'\nimport {\n GetProps,\n TamaguiElement,\n isTamaguiElement,\n styled,\n withStaticProperties,\n} from '@tamagui/web'\nimport React, { cloneElement, forwardRef } from 'react'\n\n// const CARD_NAME = 'CARD'\n\n// type CardContextValue = {\n// size?: SizeTokens\n// }\n\n// const [createCardContext, createCardScope] = createContextScope(CARD_NAME)\n// const [CardProvider, useCardContext] = createCardContext<CardContextValue>(CARD_NAME)\n\nexport const CardFrame = styled(ThemeableStack, {\n name: 'Card',\n backgroundColor: '$background',\n position: 'relative',\n overflow: 'hidden',\n\n variants: {\n size: {\n '...size': (val, { tokens }) => {\n return {\n borderRadius: tokens.radius[val] ?? val,\n }\n },\n },\n } as const,\n\n defaultVariants: {\n size: '$true',\n },\n})\n\nexport const CardHeader = styled(ThemeableStack, {\n name: 'CardHeader',\n zIndex: 10,\n backgroundColor: 'transparent',\n marginBottom: 'auto',\n\n variants: {\n size: {\n '...size': (val, { tokens }) => {\n return {\n padding: tokens.space[val] ?? val,\n }\n },\n },\n } as const,\n})\n\nexport const CardFooter = styled(CardHeader, {\n name: 'CardFooter',\n zIndex: 5,\n flexDirection: 'row',\n marginTop: 'auto',\n marginBottom: 0,\n})\n\nexport const 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>\nexport type CardProps = GetProps<typeof CardFrame>\n\nexport const Card = withStaticProperties(\n CardFrame.extractable(\n forwardRef<TamaguiElement, ScopedProps<CardProps, 'Card'>>(\n ({ size, __scopeCard, children, ...props }, ref) => {\n return (\n // <CardProvider scope={__scopeCard} size={size}>\n <CardFrame ref={ref} {...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\n// export { createCardScope, useCardContext }\n"],
|
|
5
|
+
"mappings": "AACA,SAAS,sBAAsB;AAC/B;AAAA,EAGE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,OAAO,SAAS,cAAc,kBAAkB;AAWzC,MAAM,YAAY,OAAO,gBAAgB;AAAA,EAC9C,MAAM;AAAA,EACN,iBAAiB;AAAA,EACjB,UAAU;AAAA,EACV,UAAU;AAAA,EAEV,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW,CAAC,KAAK,EAAE,OAAO,MAAM;AAC9B,eAAO;AAAA,UACL,cAAc,OAAO,OAAO,GAAG,KAAK;AAAA,QACtC;AAAA,MACF;AAAA,IACF;AAAA,EACF;AAAA,EAEA,iBAAiB;AAAA,IACf,MAAM;AAAA,EACR;AACF,CAAC;AAEM,MAAM,aAAa,OAAO,gBAAgB;AAAA,EAC/C,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,iBAAiB;AAAA,EACjB,cAAc;AAAA,EAEd,UAAU;AAAA,IACR,MAAM;AAAA,MACJ,WAAW,CAAC,KAAK,EAAE,OAAO,MAAM;AAC9B,eAAO;AAAA,UACL,SAAS,OAAO,MAAM,GAAG,KAAK;AAAA,QAChC;AAAA,MACF;AAAA,IACF;AAAA,EACF;AACF,CAAC;AAEM,MAAM,aAAa,OAAO,YAAY;AAAA,EAC3C,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,eAAe;AAAA,EACf,WAAW;AAAA,EACX,cAAc;AAChB,CAAC;AAEM,MAAM,iBAAiB,OAAO,gBAAgB;AAAA,EACnD,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,YAAY;AAAA,EACZ,UAAU;AAAA,EACV,eAAe;AAAA,EACf,SAAS;AACX,CAAC;AAMM,MAAM,OAAO;AAAA,EAClB,UAAU;AAAA,IACR;AAAA,MACE,CAAC,EAAE,MAAM,aAAa,UAAU,GAAG,MAAM,GAAG,QAAQ;AAClD;AAAA;AAAA,UAEE,CAAC,UAAU,KAAK,SAAS,QACtB,MAAM,SAAS,IAAI,UAAU,CAAC,UAAU;AACvC,gBAAI,iBAAiB,KAAK,KAAK,CAAC,MAAM,MAAM,MAAM;AAChD,qBAAO,aAAa,OAAO;AAAA,gBACzB;AAAA,cACF,CAAC;AAAA,YACH;AACA,mBAAO;AAAA,UACT,CAAC,EACH,EATC;AAAA;AAAA,MAYL;AAAA,IACF;AAAA,EACF;AAAA,EACA;AAAA,IACE,QAAQ;AAAA,IACR,QAAQ;AAAA,IACR,YAAY;AAAA,EACd;AACF;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/card",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.17",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -31,9 +31,9 @@
|
|
|
31
31
|
}
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@tamagui/
|
|
35
|
-
"@tamagui/
|
|
36
|
-
"@tamagui/
|
|
34
|
+
"@tamagui/create-context": "^1.5.17",
|
|
35
|
+
"@tamagui/stacks": "^1.5.17",
|
|
36
|
+
"@tamagui/web": "^1.5.17"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
39
|
"react": "*",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"react-native": "*"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@tamagui/build": "^1.5.
|
|
44
|
+
"@tamagui/build": "^1.5.17",
|
|
45
45
|
"react": "^18.2.0",
|
|
46
46
|
"react-dom": "^18.2.0",
|
|
47
47
|
"react-native": "*"
|
package/src/Card.tsx
CHANGED
|
@@ -1,15 +1,13 @@
|
|
|
1
|
+
import { ScopedProps } from '@tamagui/create-context'
|
|
2
|
+
import { ThemeableStack } from '@tamagui/stacks'
|
|
1
3
|
import {
|
|
2
4
|
GetProps,
|
|
3
|
-
|
|
5
|
+
TamaguiElement,
|
|
4
6
|
isTamaguiElement,
|
|
5
7
|
styled,
|
|
6
|
-
themeable,
|
|
7
8
|
withStaticProperties,
|
|
8
|
-
} from '@tamagui/
|
|
9
|
-
import { ScopedProps, createContextScope } from '@tamagui/create-context'
|
|
10
|
-
import { ThemeableStack } from '@tamagui/stacks'
|
|
9
|
+
} from '@tamagui/web'
|
|
11
10
|
import React, { cloneElement, forwardRef } from 'react'
|
|
12
|
-
import { View } from 'react-native'
|
|
13
11
|
|
|
14
12
|
// const CARD_NAME = 'CARD'
|
|
15
13
|
|
|
@@ -77,12 +75,11 @@ export const CardBackground = styled(ThemeableStack, {
|
|
|
77
75
|
|
|
78
76
|
export type CardHeaderProps = GetProps<typeof CardHeader>
|
|
79
77
|
export type CardFooterProps = GetProps<typeof CardFooter>
|
|
80
|
-
|
|
81
78
|
export type CardProps = GetProps<typeof CardFrame>
|
|
82
79
|
|
|
83
80
|
export const Card = withStaticProperties(
|
|
84
81
|
CardFrame.extractable(
|
|
85
|
-
forwardRef<
|
|
82
|
+
forwardRef<TamaguiElement, ScopedProps<CardProps, 'Card'>>(
|
|
86
83
|
({ size, __scopeCard, children, ...props }, ref) => {
|
|
87
84
|
return (
|
|
88
85
|
// <CardProvider scope={__scopeCard} size={size}>
|
package/types/Card.d.ts
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { GetProps,
|
|
1
|
+
import { GetProps, TamaguiElement } from '@tamagui/web';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import
|
|
4
|
-
export declare const CardFrame: import("@tamagui/core").TamaguiComponent<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/core").ExtendBaseStackProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
3
|
+
export declare const CardFrame: import("@tamagui/web").TamaguiComponent<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
5
4
|
readonly fullscreen?: boolean | undefined;
|
|
6
|
-
readonly elevation?: SizeTokens | undefined;
|
|
5
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
7
6
|
} & {
|
|
8
7
|
readonly backgrounded?: boolean | undefined;
|
|
9
8
|
readonly radiused?: boolean | undefined;
|
|
@@ -17,10 +16,10 @@ export declare const CardFrame: import("@tamagui/core").TamaguiComponent<Omit<im
|
|
|
17
16
|
readonly transparent?: boolean | undefined;
|
|
18
17
|
readonly chromeless?: boolean | "all" | undefined;
|
|
19
18
|
}, "size"> & {
|
|
20
|
-
readonly size?: SizeTokens | undefined;
|
|
21
|
-
} & import("@tamagui/
|
|
19
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
20
|
+
} & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
22
21
|
readonly fullscreen?: boolean | undefined;
|
|
23
|
-
readonly elevation?: SizeTokens | undefined;
|
|
22
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
24
23
|
} & {
|
|
25
24
|
readonly backgrounded?: boolean | undefined;
|
|
26
25
|
readonly radiused?: boolean | undefined;
|
|
@@ -34,10 +33,10 @@ export declare const CardFrame: import("@tamagui/core").TamaguiComponent<Omit<im
|
|
|
34
33
|
readonly transparent?: boolean | undefined;
|
|
35
34
|
readonly chromeless?: boolean | "all" | undefined;
|
|
36
35
|
}, "size"> & {
|
|
37
|
-
readonly size?: SizeTokens | undefined;
|
|
38
|
-
}>> & import("@tamagui/
|
|
36
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
37
|
+
}>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
39
38
|
readonly fullscreen?: boolean | undefined;
|
|
40
|
-
readonly elevation?: SizeTokens | undefined;
|
|
39
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
41
40
|
} & {
|
|
42
41
|
readonly backgrounded?: boolean | undefined;
|
|
43
42
|
readonly radiused?: boolean | undefined;
|
|
@@ -51,10 +50,10 @@ export declare const CardFrame: import("@tamagui/core").TamaguiComponent<Omit<im
|
|
|
51
50
|
readonly transparent?: boolean | undefined;
|
|
52
51
|
readonly chromeless?: boolean | "all" | undefined;
|
|
53
52
|
}, "size"> & {
|
|
54
|
-
readonly size?: SizeTokens | undefined;
|
|
55
|
-
}>>,
|
|
53
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
54
|
+
}>>, TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps, {
|
|
56
55
|
readonly fullscreen?: boolean | undefined;
|
|
57
|
-
readonly elevation?: SizeTokens | undefined;
|
|
56
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
58
57
|
} & {
|
|
59
58
|
readonly backgrounded?: boolean | undefined;
|
|
60
59
|
readonly radiused?: boolean | undefined;
|
|
@@ -68,11 +67,11 @@ export declare const CardFrame: import("@tamagui/core").TamaguiComponent<Omit<im
|
|
|
68
67
|
readonly transparent?: boolean | undefined;
|
|
69
68
|
readonly chromeless?: boolean | "all" | undefined;
|
|
70
69
|
} & {
|
|
71
|
-
readonly size?: SizeTokens | undefined;
|
|
70
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
72
71
|
}>;
|
|
73
|
-
export declare const CardHeader: import("@tamagui/
|
|
72
|
+
export declare const CardHeader: import("@tamagui/web").TamaguiComponent<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
74
73
|
readonly fullscreen?: boolean | undefined;
|
|
75
|
-
readonly elevation?: SizeTokens | undefined;
|
|
74
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
76
75
|
} & {
|
|
77
76
|
readonly backgrounded?: boolean | undefined;
|
|
78
77
|
readonly radiused?: boolean | undefined;
|
|
@@ -86,10 +85,10 @@ export declare const CardHeader: import("@tamagui/core").TamaguiComponent<Omit<i
|
|
|
86
85
|
readonly transparent?: boolean | undefined;
|
|
87
86
|
readonly chromeless?: boolean | "all" | undefined;
|
|
88
87
|
}, "size"> & {
|
|
89
|
-
readonly size?: SizeTokens | undefined;
|
|
90
|
-
} & import("@tamagui/
|
|
88
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
89
|
+
} & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
91
90
|
readonly fullscreen?: boolean | undefined;
|
|
92
|
-
readonly elevation?: SizeTokens | undefined;
|
|
91
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
93
92
|
} & {
|
|
94
93
|
readonly backgrounded?: boolean | undefined;
|
|
95
94
|
readonly radiused?: boolean | undefined;
|
|
@@ -103,10 +102,10 @@ export declare const CardHeader: import("@tamagui/core").TamaguiComponent<Omit<i
|
|
|
103
102
|
readonly transparent?: boolean | undefined;
|
|
104
103
|
readonly chromeless?: boolean | "all" | undefined;
|
|
105
104
|
}, "size"> & {
|
|
106
|
-
readonly size?: SizeTokens | undefined;
|
|
107
|
-
}>> & import("@tamagui/
|
|
105
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
106
|
+
}>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
108
107
|
readonly fullscreen?: boolean | undefined;
|
|
109
|
-
readonly elevation?: SizeTokens | undefined;
|
|
108
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
110
109
|
} & {
|
|
111
110
|
readonly backgrounded?: boolean | undefined;
|
|
112
111
|
readonly radiused?: boolean | undefined;
|
|
@@ -120,10 +119,10 @@ export declare const CardHeader: import("@tamagui/core").TamaguiComponent<Omit<i
|
|
|
120
119
|
readonly transparent?: boolean | undefined;
|
|
121
120
|
readonly chromeless?: boolean | "all" | undefined;
|
|
122
121
|
}, "size"> & {
|
|
123
|
-
readonly size?: SizeTokens | undefined;
|
|
124
|
-
}>>,
|
|
122
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
123
|
+
}>>, TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps, {
|
|
125
124
|
readonly fullscreen?: boolean | undefined;
|
|
126
|
-
readonly elevation?: SizeTokens | undefined;
|
|
125
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
127
126
|
} & {
|
|
128
127
|
readonly backgrounded?: boolean | undefined;
|
|
129
128
|
readonly radiused?: boolean | undefined;
|
|
@@ -137,11 +136,11 @@ export declare const CardHeader: import("@tamagui/core").TamaguiComponent<Omit<i
|
|
|
137
136
|
readonly transparent?: boolean | undefined;
|
|
138
137
|
readonly chromeless?: boolean | "all" | undefined;
|
|
139
138
|
} & {
|
|
140
|
-
readonly size?: SizeTokens | undefined;
|
|
139
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
141
140
|
}>;
|
|
142
|
-
export declare const CardFooter: import("@tamagui/
|
|
141
|
+
export declare const CardFooter: import("@tamagui/web").TamaguiComponent<(Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
143
142
|
readonly fullscreen?: boolean | undefined;
|
|
144
|
-
readonly elevation?: SizeTokens | undefined;
|
|
143
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
145
144
|
} & {
|
|
146
145
|
readonly backgrounded?: boolean | undefined;
|
|
147
146
|
readonly radiused?: boolean | undefined;
|
|
@@ -155,10 +154,10 @@ export declare const CardFooter: import("@tamagui/core").TamaguiComponent<(Omit<
|
|
|
155
154
|
readonly transparent?: boolean | undefined;
|
|
156
155
|
readonly chromeless?: boolean | "all" | undefined;
|
|
157
156
|
}, "size"> & {
|
|
158
|
-
readonly size?: SizeTokens | undefined;
|
|
159
|
-
} & import("@tamagui/
|
|
157
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
158
|
+
} & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
160
159
|
readonly fullscreen?: boolean | undefined;
|
|
161
|
-
readonly elevation?: SizeTokens | undefined;
|
|
160
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
162
161
|
} & {
|
|
163
162
|
readonly backgrounded?: boolean | undefined;
|
|
164
163
|
readonly radiused?: boolean | undefined;
|
|
@@ -172,10 +171,10 @@ export declare const CardFooter: import("@tamagui/core").TamaguiComponent<(Omit<
|
|
|
172
171
|
readonly transparent?: boolean | undefined;
|
|
173
172
|
readonly chromeless?: boolean | "all" | undefined;
|
|
174
173
|
}, "size"> & {
|
|
175
|
-
readonly size?: SizeTokens | undefined;
|
|
176
|
-
}>> & import("@tamagui/
|
|
174
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
175
|
+
}>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
177
176
|
readonly fullscreen?: boolean | undefined;
|
|
178
|
-
readonly elevation?: SizeTokens | undefined;
|
|
177
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
179
178
|
} & {
|
|
180
179
|
readonly backgrounded?: boolean | undefined;
|
|
181
180
|
readonly radiused?: boolean | undefined;
|
|
@@ -189,10 +188,10 @@ export declare const CardFooter: import("@tamagui/core").TamaguiComponent<(Omit<
|
|
|
189
188
|
readonly transparent?: boolean | undefined;
|
|
190
189
|
readonly chromeless?: boolean | "all" | undefined;
|
|
191
190
|
}, "size"> & {
|
|
192
|
-
readonly size?: SizeTokens | undefined;
|
|
193
|
-
}>>) | (Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/
|
|
191
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
192
|
+
}>>) | (Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
194
193
|
readonly fullscreen?: boolean | undefined;
|
|
195
|
-
readonly elevation?: SizeTokens | undefined;
|
|
194
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
196
195
|
} & {
|
|
197
196
|
readonly backgrounded?: boolean | undefined;
|
|
198
197
|
readonly radiused?: boolean | undefined;
|
|
@@ -206,12 +205,12 @@ export declare const CardFooter: import("@tamagui/core").TamaguiComponent<(Omit<
|
|
|
206
205
|
readonly transparent?: boolean | undefined;
|
|
207
206
|
readonly chromeless?: boolean | "all" | undefined;
|
|
208
207
|
} & {
|
|
209
|
-
readonly size?: SizeTokens | undefined;
|
|
208
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
210
209
|
}, string | number> & {
|
|
211
210
|
[x: string]: undefined;
|
|
212
|
-
} & import("@tamagui/
|
|
211
|
+
} & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
213
212
|
readonly fullscreen?: boolean | undefined;
|
|
214
|
-
readonly elevation?: SizeTokens | undefined;
|
|
213
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
215
214
|
} & {
|
|
216
215
|
readonly backgrounded?: boolean | undefined;
|
|
217
216
|
readonly radiused?: boolean | undefined;
|
|
@@ -225,12 +224,12 @@ export declare const CardFooter: import("@tamagui/core").TamaguiComponent<(Omit<
|
|
|
225
224
|
readonly transparent?: boolean | undefined;
|
|
226
225
|
readonly chromeless?: boolean | "all" | undefined;
|
|
227
226
|
} & {
|
|
228
|
-
readonly size?: SizeTokens | undefined;
|
|
227
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
229
228
|
}, string | number> & {
|
|
230
229
|
[x: string]: undefined;
|
|
231
|
-
}>> & import("@tamagui/
|
|
230
|
+
}>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
232
231
|
readonly fullscreen?: boolean | undefined;
|
|
233
|
-
readonly elevation?: SizeTokens | undefined;
|
|
232
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
234
233
|
} & {
|
|
235
234
|
readonly backgrounded?: boolean | undefined;
|
|
236
235
|
readonly radiused?: boolean | undefined;
|
|
@@ -244,12 +243,12 @@ export declare const CardFooter: import("@tamagui/core").TamaguiComponent<(Omit<
|
|
|
244
243
|
readonly transparent?: boolean | undefined;
|
|
245
244
|
readonly chromeless?: boolean | "all" | undefined;
|
|
246
245
|
} & {
|
|
247
|
-
readonly size?: SizeTokens | undefined;
|
|
246
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
248
247
|
}, string | number> & {
|
|
249
248
|
[x: string]: undefined;
|
|
250
|
-
}>>),
|
|
249
|
+
}>>), TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps, {
|
|
251
250
|
readonly fullscreen?: boolean | undefined;
|
|
252
|
-
readonly elevation?: SizeTokens | undefined;
|
|
251
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
253
252
|
} & {
|
|
254
253
|
readonly backgrounded?: boolean | undefined;
|
|
255
254
|
readonly radiused?: boolean | undefined;
|
|
@@ -263,13 +262,13 @@ export declare const CardFooter: import("@tamagui/core").TamaguiComponent<(Omit<
|
|
|
263
262
|
readonly transparent?: boolean | undefined;
|
|
264
263
|
readonly chromeless?: boolean | "all" | undefined;
|
|
265
264
|
} & {
|
|
266
|
-
readonly size?: SizeTokens | undefined;
|
|
265
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
267
266
|
} & ({} | {
|
|
268
267
|
[x: string]: undefined;
|
|
269
268
|
})>;
|
|
270
|
-
export declare const CardBackground: import("@tamagui/
|
|
269
|
+
export declare const CardBackground: import("@tamagui/web").TamaguiComponent<(Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
271
270
|
readonly fullscreen?: boolean | undefined;
|
|
272
|
-
readonly elevation?: SizeTokens | undefined;
|
|
271
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
273
272
|
}, "transparent" | "hoverTheme" | "pressTheme" | "focusTheme" | "circular" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless"> & {
|
|
274
273
|
readonly backgrounded?: boolean | undefined;
|
|
275
274
|
readonly radiused?: boolean | undefined;
|
|
@@ -282,9 +281,9 @@ export declare const CardBackground: import("@tamagui/core").TamaguiComponent<(O
|
|
|
282
281
|
readonly bordered?: number | boolean | undefined;
|
|
283
282
|
readonly transparent?: boolean | undefined;
|
|
284
283
|
readonly chromeless?: boolean | "all" | undefined;
|
|
285
|
-
} & import("@tamagui/
|
|
284
|
+
} & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
286
285
|
readonly fullscreen?: boolean | undefined;
|
|
287
|
-
readonly elevation?: SizeTokens | undefined;
|
|
286
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
288
287
|
}, "transparent" | "hoverTheme" | "pressTheme" | "focusTheme" | "circular" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless"> & {
|
|
289
288
|
readonly backgrounded?: boolean | undefined;
|
|
290
289
|
readonly radiused?: boolean | undefined;
|
|
@@ -297,9 +296,9 @@ export declare const CardBackground: import("@tamagui/core").TamaguiComponent<(O
|
|
|
297
296
|
readonly bordered?: number | boolean | undefined;
|
|
298
297
|
readonly transparent?: boolean | undefined;
|
|
299
298
|
readonly chromeless?: boolean | "all" | undefined;
|
|
300
|
-
}>> & import("@tamagui/
|
|
299
|
+
}>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
301
300
|
readonly fullscreen?: boolean | undefined;
|
|
302
|
-
readonly elevation?: SizeTokens | undefined;
|
|
301
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
303
302
|
}, "transparent" | "hoverTheme" | "pressTheme" | "focusTheme" | "circular" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless"> & {
|
|
304
303
|
readonly backgrounded?: boolean | undefined;
|
|
305
304
|
readonly radiused?: boolean | undefined;
|
|
@@ -312,9 +311,9 @@ export declare const CardBackground: import("@tamagui/core").TamaguiComponent<(O
|
|
|
312
311
|
readonly bordered?: number | boolean | undefined;
|
|
313
312
|
readonly transparent?: boolean | undefined;
|
|
314
313
|
readonly chromeless?: boolean | "all" | undefined;
|
|
315
|
-
}>>) | (Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/
|
|
314
|
+
}>>) | (Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
316
315
|
readonly fullscreen?: boolean | undefined;
|
|
317
|
-
readonly elevation?: SizeTokens | undefined;
|
|
316
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
318
317
|
} & {
|
|
319
318
|
readonly backgrounded?: boolean | undefined;
|
|
320
319
|
readonly radiused?: boolean | undefined;
|
|
@@ -329,9 +328,9 @@ export declare const CardBackground: import("@tamagui/core").TamaguiComponent<(O
|
|
|
329
328
|
readonly chromeless?: boolean | "all" | undefined;
|
|
330
329
|
}, string | number> & {
|
|
331
330
|
[x: string]: undefined;
|
|
332
|
-
} & import("@tamagui/
|
|
331
|
+
} & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
333
332
|
readonly fullscreen?: boolean | undefined;
|
|
334
|
-
readonly elevation?: SizeTokens | undefined;
|
|
333
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
335
334
|
} & {
|
|
336
335
|
readonly backgrounded?: boolean | undefined;
|
|
337
336
|
readonly radiused?: boolean | undefined;
|
|
@@ -346,9 +345,9 @@ export declare const CardBackground: import("@tamagui/core").TamaguiComponent<(O
|
|
|
346
345
|
readonly chromeless?: boolean | "all" | undefined;
|
|
347
346
|
}, string | number> & {
|
|
348
347
|
[x: string]: undefined;
|
|
349
|
-
}>> & import("@tamagui/
|
|
348
|
+
}>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
350
349
|
readonly fullscreen?: boolean | undefined;
|
|
351
|
-
readonly elevation?: SizeTokens | undefined;
|
|
350
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
352
351
|
} & {
|
|
353
352
|
readonly backgrounded?: boolean | undefined;
|
|
354
353
|
readonly radiused?: boolean | undefined;
|
|
@@ -363,9 +362,9 @@ export declare const CardBackground: import("@tamagui/core").TamaguiComponent<(O
|
|
|
363
362
|
readonly chromeless?: boolean | "all" | undefined;
|
|
364
363
|
}, string | number> & {
|
|
365
364
|
[x: string]: undefined;
|
|
366
|
-
}>>),
|
|
365
|
+
}>>), TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps, {
|
|
367
366
|
readonly fullscreen?: boolean | undefined;
|
|
368
|
-
readonly elevation?: SizeTokens | undefined;
|
|
367
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
369
368
|
} & {
|
|
370
369
|
readonly backgrounded?: boolean | undefined;
|
|
371
370
|
readonly radiused?: boolean | undefined;
|
|
@@ -384,9 +383,9 @@ export declare const CardBackground: import("@tamagui/core").TamaguiComponent<(O
|
|
|
384
383
|
export type CardHeaderProps = GetProps<typeof CardHeader>;
|
|
385
384
|
export type CardFooterProps = GetProps<typeof CardFooter>;
|
|
386
385
|
export type CardProps = GetProps<typeof CardFrame>;
|
|
387
|
-
export declare const Card: React.ForwardRefExoticComponent<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/
|
|
386
|
+
export declare const Card: React.ForwardRefExoticComponent<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
388
387
|
readonly fullscreen?: boolean | undefined;
|
|
389
|
-
readonly elevation?: SizeTokens | undefined;
|
|
388
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
390
389
|
} & {
|
|
391
390
|
readonly backgrounded?: boolean | undefined;
|
|
392
391
|
readonly radiused?: boolean | undefined;
|
|
@@ -400,10 +399,10 @@ export declare const Card: React.ForwardRefExoticComponent<Omit<import("react-na
|
|
|
400
399
|
readonly transparent?: boolean | undefined;
|
|
401
400
|
readonly chromeless?: boolean | "all" | undefined;
|
|
402
401
|
}, "size"> & {
|
|
403
|
-
readonly size?: SizeTokens | undefined;
|
|
404
|
-
} & import("@tamagui/
|
|
402
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
403
|
+
} & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
405
404
|
readonly fullscreen?: boolean | undefined;
|
|
406
|
-
readonly elevation?: SizeTokens | undefined;
|
|
405
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
407
406
|
} & {
|
|
408
407
|
readonly backgrounded?: boolean | undefined;
|
|
409
408
|
readonly radiused?: boolean | undefined;
|
|
@@ -417,10 +416,10 @@ export declare const Card: React.ForwardRefExoticComponent<Omit<import("react-na
|
|
|
417
416
|
readonly transparent?: boolean | undefined;
|
|
418
417
|
readonly chromeless?: boolean | "all" | undefined;
|
|
419
418
|
}, "size"> & {
|
|
420
|
-
readonly size?: SizeTokens | undefined;
|
|
421
|
-
}>> & import("@tamagui/
|
|
419
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
420
|
+
}>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
422
421
|
readonly fullscreen?: boolean | undefined;
|
|
423
|
-
readonly elevation?: SizeTokens | undefined;
|
|
422
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
424
423
|
} & {
|
|
425
424
|
readonly backgrounded?: boolean | undefined;
|
|
426
425
|
readonly radiused?: boolean | undefined;
|
|
@@ -434,13 +433,13 @@ export declare const Card: React.ForwardRefExoticComponent<Omit<import("react-na
|
|
|
434
433
|
readonly transparent?: boolean | undefined;
|
|
435
434
|
readonly chromeless?: boolean | "all" | undefined;
|
|
436
435
|
}, "size"> & {
|
|
437
|
-
readonly size?: SizeTokens | undefined;
|
|
436
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
438
437
|
}>> & {
|
|
439
438
|
__scopeCard?: import("@tamagui/create-context").Scope<any>;
|
|
440
|
-
} & React.RefAttributes<
|
|
441
|
-
Header: import("@tamagui/
|
|
439
|
+
} & React.RefAttributes<TamaguiElement>> & {
|
|
440
|
+
Header: import("@tamagui/web").TamaguiComponent<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
442
441
|
readonly fullscreen?: boolean | undefined;
|
|
443
|
-
readonly elevation?: SizeTokens | undefined;
|
|
442
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
444
443
|
} & {
|
|
445
444
|
readonly backgrounded?: boolean | undefined;
|
|
446
445
|
readonly radiused?: boolean | undefined;
|
|
@@ -454,10 +453,10 @@ export declare const Card: React.ForwardRefExoticComponent<Omit<import("react-na
|
|
|
454
453
|
readonly transparent?: boolean | undefined;
|
|
455
454
|
readonly chromeless?: boolean | "all" | undefined;
|
|
456
455
|
}, "size"> & {
|
|
457
|
-
readonly size?: SizeTokens | undefined;
|
|
458
|
-
} & import("@tamagui/
|
|
456
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
457
|
+
} & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
459
458
|
readonly fullscreen?: boolean | undefined;
|
|
460
|
-
readonly elevation?: SizeTokens | undefined;
|
|
459
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
461
460
|
} & {
|
|
462
461
|
readonly backgrounded?: boolean | undefined;
|
|
463
462
|
readonly radiused?: boolean | undefined;
|
|
@@ -471,10 +470,10 @@ export declare const Card: React.ForwardRefExoticComponent<Omit<import("react-na
|
|
|
471
470
|
readonly transparent?: boolean | undefined;
|
|
472
471
|
readonly chromeless?: boolean | "all" | undefined;
|
|
473
472
|
}, "size"> & {
|
|
474
|
-
readonly size?: SizeTokens | undefined;
|
|
475
|
-
}>> & import("@tamagui/
|
|
473
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
474
|
+
}>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
476
475
|
readonly fullscreen?: boolean | undefined;
|
|
477
|
-
readonly elevation?: SizeTokens | undefined;
|
|
476
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
478
477
|
} & {
|
|
479
478
|
readonly backgrounded?: boolean | undefined;
|
|
480
479
|
readonly radiused?: boolean | undefined;
|
|
@@ -488,10 +487,10 @@ export declare const Card: React.ForwardRefExoticComponent<Omit<import("react-na
|
|
|
488
487
|
readonly transparent?: boolean | undefined;
|
|
489
488
|
readonly chromeless?: boolean | "all" | undefined;
|
|
490
489
|
}, "size"> & {
|
|
491
|
-
readonly size?: SizeTokens | undefined;
|
|
492
|
-
}>>,
|
|
490
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
491
|
+
}>>, TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps, {
|
|
493
492
|
readonly fullscreen?: boolean | undefined;
|
|
494
|
-
readonly elevation?: SizeTokens | undefined;
|
|
493
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
495
494
|
} & {
|
|
496
495
|
readonly backgrounded?: boolean | undefined;
|
|
497
496
|
readonly radiused?: boolean | undefined;
|
|
@@ -505,11 +504,11 @@ export declare const Card: React.ForwardRefExoticComponent<Omit<import("react-na
|
|
|
505
504
|
readonly transparent?: boolean | undefined;
|
|
506
505
|
readonly chromeless?: boolean | "all" | undefined;
|
|
507
506
|
} & {
|
|
508
|
-
readonly size?: SizeTokens | undefined;
|
|
507
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
509
508
|
}>;
|
|
510
|
-
Footer: import("@tamagui/
|
|
509
|
+
Footer: import("@tamagui/web").TamaguiComponent<(Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
511
510
|
readonly fullscreen?: boolean | undefined;
|
|
512
|
-
readonly elevation?: SizeTokens | undefined;
|
|
511
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
513
512
|
} & {
|
|
514
513
|
readonly backgrounded?: boolean | undefined;
|
|
515
514
|
readonly radiused?: boolean | undefined;
|
|
@@ -523,10 +522,10 @@ export declare const Card: React.ForwardRefExoticComponent<Omit<import("react-na
|
|
|
523
522
|
readonly transparent?: boolean | undefined;
|
|
524
523
|
readonly chromeless?: boolean | "all" | undefined;
|
|
525
524
|
}, "size"> & {
|
|
526
|
-
readonly size?: SizeTokens | undefined;
|
|
527
|
-
} & import("@tamagui/
|
|
525
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
526
|
+
} & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
528
527
|
readonly fullscreen?: boolean | undefined;
|
|
529
|
-
readonly elevation?: SizeTokens | undefined;
|
|
528
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
530
529
|
} & {
|
|
531
530
|
readonly backgrounded?: boolean | undefined;
|
|
532
531
|
readonly radiused?: boolean | undefined;
|
|
@@ -540,10 +539,10 @@ export declare const Card: React.ForwardRefExoticComponent<Omit<import("react-na
|
|
|
540
539
|
readonly transparent?: boolean | undefined;
|
|
541
540
|
readonly chromeless?: boolean | "all" | undefined;
|
|
542
541
|
}, "size"> & {
|
|
543
|
-
readonly size?: SizeTokens | undefined;
|
|
544
|
-
}>> & import("@tamagui/
|
|
542
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
543
|
+
}>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
545
544
|
readonly fullscreen?: boolean | undefined;
|
|
546
|
-
readonly elevation?: SizeTokens | undefined;
|
|
545
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
547
546
|
} & {
|
|
548
547
|
readonly backgrounded?: boolean | undefined;
|
|
549
548
|
readonly radiused?: boolean | undefined;
|
|
@@ -557,10 +556,10 @@ export declare const Card: React.ForwardRefExoticComponent<Omit<import("react-na
|
|
|
557
556
|
readonly transparent?: boolean | undefined;
|
|
558
557
|
readonly chromeless?: boolean | "all" | undefined;
|
|
559
558
|
}, "size"> & {
|
|
560
|
-
readonly size?: SizeTokens | undefined;
|
|
561
|
-
}>>) | (Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/
|
|
559
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
560
|
+
}>>) | (Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
562
561
|
readonly fullscreen?: boolean | undefined;
|
|
563
|
-
readonly elevation?: SizeTokens | undefined;
|
|
562
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
564
563
|
} & {
|
|
565
564
|
readonly backgrounded?: boolean | undefined;
|
|
566
565
|
readonly radiused?: boolean | undefined;
|
|
@@ -574,12 +573,12 @@ export declare const Card: React.ForwardRefExoticComponent<Omit<import("react-na
|
|
|
574
573
|
readonly transparent?: boolean | undefined;
|
|
575
574
|
readonly chromeless?: boolean | "all" | undefined;
|
|
576
575
|
} & {
|
|
577
|
-
readonly size?: SizeTokens | undefined;
|
|
576
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
578
577
|
}, string | number> & {
|
|
579
578
|
[x: string]: undefined;
|
|
580
|
-
} & import("@tamagui/
|
|
579
|
+
} & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
581
580
|
readonly fullscreen?: boolean | undefined;
|
|
582
|
-
readonly elevation?: SizeTokens | undefined;
|
|
581
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
583
582
|
} & {
|
|
584
583
|
readonly backgrounded?: boolean | undefined;
|
|
585
584
|
readonly radiused?: boolean | undefined;
|
|
@@ -593,12 +592,12 @@ export declare const Card: React.ForwardRefExoticComponent<Omit<import("react-na
|
|
|
593
592
|
readonly transparent?: boolean | undefined;
|
|
594
593
|
readonly chromeless?: boolean | "all" | undefined;
|
|
595
594
|
} & {
|
|
596
|
-
readonly size?: SizeTokens | undefined;
|
|
595
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
597
596
|
}, string | number> & {
|
|
598
597
|
[x: string]: undefined;
|
|
599
|
-
}>> & import("@tamagui/
|
|
598
|
+
}>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
600
599
|
readonly fullscreen?: boolean | undefined;
|
|
601
|
-
readonly elevation?: SizeTokens | undefined;
|
|
600
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
602
601
|
} & {
|
|
603
602
|
readonly backgrounded?: boolean | undefined;
|
|
604
603
|
readonly radiused?: boolean | undefined;
|
|
@@ -612,12 +611,12 @@ export declare const Card: React.ForwardRefExoticComponent<Omit<import("react-na
|
|
|
612
611
|
readonly transparent?: boolean | undefined;
|
|
613
612
|
readonly chromeless?: boolean | "all" | undefined;
|
|
614
613
|
} & {
|
|
615
|
-
readonly size?: SizeTokens | undefined;
|
|
614
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
616
615
|
}, string | number> & {
|
|
617
616
|
[x: string]: undefined;
|
|
618
|
-
}>>),
|
|
617
|
+
}>>), TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps, {
|
|
619
618
|
readonly fullscreen?: boolean | undefined;
|
|
620
|
-
readonly elevation?: SizeTokens | undefined;
|
|
619
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
621
620
|
} & {
|
|
622
621
|
readonly backgrounded?: boolean | undefined;
|
|
623
622
|
readonly radiused?: boolean | undefined;
|
|
@@ -631,13 +630,13 @@ export declare const Card: React.ForwardRefExoticComponent<Omit<import("react-na
|
|
|
631
630
|
readonly transparent?: boolean | undefined;
|
|
632
631
|
readonly chromeless?: boolean | "all" | undefined;
|
|
633
632
|
} & {
|
|
634
|
-
readonly size?: SizeTokens | undefined;
|
|
633
|
+
readonly size?: import("@tamagui/web").SizeTokens | undefined;
|
|
635
634
|
} & ({} | {
|
|
636
635
|
[x: string]: undefined;
|
|
637
636
|
})>;
|
|
638
|
-
Background: import("@tamagui/
|
|
637
|
+
Background: import("@tamagui/web").TamaguiComponent<(Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
639
638
|
readonly fullscreen?: boolean | undefined;
|
|
640
|
-
readonly elevation?: SizeTokens | undefined;
|
|
639
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
641
640
|
}, "transparent" | "hoverTheme" | "pressTheme" | "focusTheme" | "circular" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless"> & {
|
|
642
641
|
readonly backgrounded?: boolean | undefined;
|
|
643
642
|
readonly radiused?: boolean | undefined;
|
|
@@ -650,9 +649,9 @@ export declare const Card: React.ForwardRefExoticComponent<Omit<import("react-na
|
|
|
650
649
|
readonly bordered?: number | boolean | undefined;
|
|
651
650
|
readonly transparent?: boolean | undefined;
|
|
652
651
|
readonly chromeless?: boolean | "all" | undefined;
|
|
653
|
-
} & import("@tamagui/
|
|
652
|
+
} & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
654
653
|
readonly fullscreen?: boolean | undefined;
|
|
655
|
-
readonly elevation?: SizeTokens | undefined;
|
|
654
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
656
655
|
}, "transparent" | "hoverTheme" | "pressTheme" | "focusTheme" | "circular" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless"> & {
|
|
657
656
|
readonly backgrounded?: boolean | undefined;
|
|
658
657
|
readonly radiused?: boolean | undefined;
|
|
@@ -665,9 +664,9 @@ export declare const Card: React.ForwardRefExoticComponent<Omit<import("react-na
|
|
|
665
664
|
readonly bordered?: number | boolean | undefined;
|
|
666
665
|
readonly transparent?: boolean | undefined;
|
|
667
666
|
readonly chromeless?: boolean | "all" | undefined;
|
|
668
|
-
}>> & import("@tamagui/
|
|
667
|
+
}>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
669
668
|
readonly fullscreen?: boolean | undefined;
|
|
670
|
-
readonly elevation?: SizeTokens | undefined;
|
|
669
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
671
670
|
}, "transparent" | "hoverTheme" | "pressTheme" | "focusTheme" | "circular" | "elevate" | "bordered" | "backgrounded" | "radiused" | "padded" | "chromeless"> & {
|
|
672
671
|
readonly backgrounded?: boolean | undefined;
|
|
673
672
|
readonly radiused?: boolean | undefined;
|
|
@@ -680,9 +679,9 @@ export declare const Card: React.ForwardRefExoticComponent<Omit<import("react-na
|
|
|
680
679
|
readonly bordered?: number | boolean | undefined;
|
|
681
680
|
readonly transparent?: boolean | undefined;
|
|
682
681
|
readonly chromeless?: boolean | "all" | undefined;
|
|
683
|
-
}>>) | (Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/
|
|
682
|
+
}>>) | (Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
684
683
|
readonly fullscreen?: boolean | undefined;
|
|
685
|
-
readonly elevation?: SizeTokens | undefined;
|
|
684
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
686
685
|
} & {
|
|
687
686
|
readonly backgrounded?: boolean | undefined;
|
|
688
687
|
readonly radiused?: boolean | undefined;
|
|
@@ -697,9 +696,9 @@ export declare const Card: React.ForwardRefExoticComponent<Omit<import("react-na
|
|
|
697
696
|
readonly chromeless?: boolean | "all" | undefined;
|
|
698
697
|
}, string | number> & {
|
|
699
698
|
[x: string]: undefined;
|
|
700
|
-
} & import("@tamagui/
|
|
699
|
+
} & import("@tamagui/web").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
701
700
|
readonly fullscreen?: boolean | undefined;
|
|
702
|
-
readonly elevation?: SizeTokens | undefined;
|
|
701
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
703
702
|
} & {
|
|
704
703
|
readonly backgrounded?: boolean | undefined;
|
|
705
704
|
readonly radiused?: boolean | undefined;
|
|
@@ -714,9 +713,9 @@ export declare const Card: React.ForwardRefExoticComponent<Omit<import("react-na
|
|
|
714
713
|
readonly chromeless?: boolean | "all" | undefined;
|
|
715
714
|
}, string | number> & {
|
|
716
715
|
[x: string]: undefined;
|
|
717
|
-
}>> & import("@tamagui/
|
|
716
|
+
}>> & import("@tamagui/web").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps & Omit<{
|
|
718
717
|
readonly fullscreen?: boolean | undefined;
|
|
719
|
-
readonly elevation?: SizeTokens | undefined;
|
|
718
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
720
719
|
} & {
|
|
721
720
|
readonly backgrounded?: boolean | undefined;
|
|
722
721
|
readonly radiused?: boolean | undefined;
|
|
@@ -731,9 +730,9 @@ export declare const Card: React.ForwardRefExoticComponent<Omit<import("react-na
|
|
|
731
730
|
readonly chromeless?: boolean | "all" | undefined;
|
|
732
731
|
}, string | number> & {
|
|
733
732
|
[x: string]: undefined;
|
|
734
|
-
}>>),
|
|
733
|
+
}>>), TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | "onLayout" | keyof import("react-native").GestureResponderHandlers> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/core/types/reactNativeTypes").RNViewProps, {
|
|
735
734
|
readonly fullscreen?: boolean | undefined;
|
|
736
|
-
readonly elevation?: SizeTokens | undefined;
|
|
735
|
+
readonly elevation?: import("@tamagui/web").SizeTokens | undefined;
|
|
737
736
|
} & {
|
|
738
737
|
readonly backgrounded?: boolean | undefined;
|
|
739
738
|
readonly radiused?: boolean | undefined;
|
package/types/Card.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../src/Card.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Card.d.ts","sourceRoot":"","sources":["../src/Card.tsx"],"names":[],"mappings":"AAEA,OAAO,EACL,QAAQ,EACR,cAAc,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