tamagui 1.0.0-alpha.21 → 1.0.0-alpha.25
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/index.js +1 -0
- package/dist/cjs/index.js.map +2 -2
- package/dist/cjs/views/Tooltip.js.map +2 -2
- package/dist/esm/index.js +1 -0
- package/dist/esm/index.js.map +2 -2
- package/dist/esm/views/Tooltip.js.map +2 -2
- package/dist/jsx/index.js +1 -0
- package/package.json +8 -9
- package/types/index.d.ts +1 -0
- package/types/index.d.ts.map +1 -1
- package/types/views/BlurView.native.d.ts +5 -1
- package/types/views/BlurView.native.d.ts.map +1 -1
- package/types/views/Box.d.ts +11 -1
- package/types/views/Box.d.ts.map +1 -1
- package/types/views/Button.d.ts +30 -2
- package/types/views/Button.d.ts.map +1 -1
- package/types/views/Circle.d.ts +5 -1
- package/types/views/Circle.d.ts.map +1 -1
- package/types/views/EnsureFlexed.d.ts +5 -1
- package/types/views/EnsureFlexed.d.ts.map +1 -1
- package/types/views/Form.d.ts +15 -3
- package/types/views/Form.d.ts.map +1 -1
- package/types/views/Headings.d.ts +115 -7
- package/types/views/Headings.d.ts.map +1 -1
- package/types/views/InteractiveContainer.d.ts +5 -1
- package/types/views/InteractiveContainer.d.ts.map +1 -1
- package/types/views/InteractiveFrame.d.ts +23 -1
- package/types/views/InteractiveFrame.d.ts.map +1 -1
- package/types/views/Layouts.d.ts +35 -7
- package/types/views/Layouts.d.ts.map +1 -1
- package/types/views/LinearGradient.d.ts +3 -1
- package/types/views/LinearGradient.d.ts.map +1 -1
- package/types/views/LinearGradient.native.d.ts +4 -1
- package/types/views/LinearGradient.native.d.ts.map +1 -1
- package/types/views/Modal.d.ts +11 -1
- package/types/views/Modal.d.ts.map +1 -1
- package/types/views/Paragraph.d.ts +9 -1
- package/types/views/Paragraph.d.ts.map +1 -1
- package/types/views/Popover/PopoverArrow.d.ts +23 -1
- package/types/views/Popover/PopoverArrow.d.ts.map +1 -1
- package/types/views/Popover/PopoverContent.d.ts +23 -1
- package/types/views/Popover/PopoverContent.d.ts.map +1 -1
- package/types/views/Popper.d.ts +24 -1
- package/types/views/Popper.d.ts.map +1 -1
- package/types/views/Separator.d.ts +5 -1
- package/types/views/Separator.d.ts.map +1 -1
- package/types/views/SizableText.d.ts +5 -1
- package/types/views/SizableText.d.ts.map +1 -1
- package/types/views/Stacks.d.ts +29 -3
- package/types/views/Stacks.d.ts.map +1 -1
- package/types/views/Table.d.ts +30 -6
- package/types/views/Table.d.ts.map +1 -1
- package/types/views/VisuallyHidden.d.ts +5 -1
- package/types/views/VisuallyHidden.d.ts.map +1 -1
- package/src/helpers/normalizeColor.tsx +0 -38
- package/src/helpers/prevent.tsx +0 -1
- package/src/hooks/useControllableState.ts +0 -74
- package/src/hooks/useDebounce.ts +0 -82
- package/src/hooks/useKeyboardDismissable.tsx +0 -97
- package/src/hooks/useLayout.tsx +0 -62
- package/src/index.ts +0 -43
- package/src/viewTypes.tsx +0 -50
- package/src/views/BlurView.native.tsx +0 -37
- package/src/views/BlurView.tsx +0 -67
- package/src/views/Box.tsx +0 -10
- package/src/views/Button.tsx +0 -107
- package/src/views/Circle.tsx +0 -26
- package/src/views/EnsureFlexed.tsx +0 -13
- package/src/views/ExitAnimationContext.ts +0 -28
- package/src/views/Form.tsx +0 -41
- package/src/views/Grid.tsx +0 -49
- package/src/views/Headings.tsx +0 -50
- package/src/views/Hoverable.tsx +0 -95
- package/src/views/HoverablePopover.tsx +0 -146
- package/src/views/InteractiveContainer.tsx +0 -12
- package/src/views/InteractiveFrame.tsx +0 -81
- package/src/views/Layouts.tsx +0 -41
- package/src/views/LinearGradient.native.tsx +0 -18
- package/src/views/LinearGradient.tsx +0 -74
- package/src/views/Modal.tsx +0 -173
- package/src/views/NativeLinearGradientProps.tsx +0 -12
- package/src/views/Overlay.tsx +0 -77
- package/src/views/Paragraph.tsx +0 -11
- package/src/views/Popover/Popover.tsx +0 -150
- package/src/views/Popover/PopoverArrow.tsx +0 -31
- package/src/views/Popover/PopoverContent.tsx +0 -79
- package/src/views/Popover/PopoverContext.tsx +0 -36
- package/src/views/Popover/PopoverProvider.tsx +0 -14
- package/src/views/Popover/types.ts +0 -174
- package/src/views/Popper.tsx +0 -325
- package/src/views/SafeAreaProvider.tsx +0 -33
- package/src/views/Separator.tsx +0 -18
- package/src/views/SizableText.tsx +0 -55
- package/src/views/Stacks.tsx +0 -50
- package/src/views/Table.tsx +0 -51
- package/src/views/Toast.tsx +0 -122
- package/src/views/Tooltip.tsx +0 -66
- package/src/views/TouchableOpacity.tsx +0 -30
- package/src/views/Transitions/PresenceTransition.tsx +0 -59
- package/src/views/Transitions/Transition.tsx +0 -199
- package/src/views/Transitions/index.ts +0 -24
- package/src/views/Transitions/types.ts +0 -139
- package/src/views/VisuallyHidden.tsx +0 -15
package/dist/cjs/index.js
CHANGED
|
@@ -41,6 +41,7 @@ __reExport(exports, __toModule(require("./views/Headings")));
|
|
|
41
41
|
__reExport(exports, __toModule(require("./views/Hoverable")));
|
|
42
42
|
__reExport(exports, __toModule(require("./views/HoverablePopover")));
|
|
43
43
|
__reExport(exports, __toModule(require("./views/InteractiveContainer")));
|
|
44
|
+
__reExport(exports, __toModule(require("./views/InteractiveFrame")));
|
|
44
45
|
__reExport(exports, __toModule(require("./views/Layouts")));
|
|
45
46
|
__reExport(exports, __toModule(require("./views/LinearGradient")));
|
|
46
47
|
__reExport(exports, __toModule(require("./views/Modal")));
|
package/dist/cjs/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["export { useSafeAreaInsets } from 'react-native-safe-area-context'\n\nexport * from './viewTypes'\n\nexport * from '@tamagui/use-debounce'\nexport * from '@tamagui/use-force-update'\n\nexport * from './hooks/useLayout'\nexport * from './hooks/useKeyboardDismissable'\n\nexport * from './views/BlurView'\nexport * from './views/Box'\nexport * from './views/Button'\nexport * from './views/Circle'\nexport * from './views/EnsureFlexed'\nexport * from './views/Form'\nexport * from './views/Grid'\nexport * from './views/Headings'\nexport * from './views/Hoverable'\nexport * from './views/HoverablePopover'\nexport * from './views/InteractiveContainer'\nexport * from './views/Layouts'\nexport * from './views/LinearGradient'\nexport * from './views/Modal'\nexport * from './views/Overlay'\nexport * from './views/Paragraph'\nexport * from './views/Popover/Popover'\nexport * from './views/Popover/PopoverProvider'\nexport * from './views/SafeAreaProvider'\nexport * from './views/Separator'\nexport * from './views/SizableText'\nexport * from './views/Stacks'\nexport * from './views/Table'\nexport * from './views/Toast'\nexport * from './views/Tooltip'\nexport * from './views/TouchableOpacity'\nexport * from './views/Transitions'\nexport * from './views/VisuallyHidden'\n\nexport * from './helpers/prevent'\n\nexport * from '@tamagui/helpers'\nexport * from '@tamagui/core'\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA,4CAAkC;AAElC,oBAAc;AAEd,oBAAc;AACd,oBAAc;AAEd,oBAAc;AACd,oBAAc;AAEd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AAEd,oBAAc;AAEd,oBAAc;AACd,oBAAc;",
|
|
4
|
+
"sourcesContent": ["export { useSafeAreaInsets } from 'react-native-safe-area-context'\n\nexport * from './viewTypes'\n\nexport * from '@tamagui/use-debounce'\nexport * from '@tamagui/use-force-update'\n\nexport * from './hooks/useLayout'\nexport * from './hooks/useKeyboardDismissable'\n\nexport * from './views/BlurView'\nexport * from './views/Box'\nexport * from './views/Button'\nexport * from './views/Circle'\nexport * from './views/EnsureFlexed'\nexport * from './views/Form'\nexport * from './views/Grid'\nexport * from './views/Headings'\nexport * from './views/Hoverable'\nexport * from './views/HoverablePopover'\nexport * from './views/InteractiveContainer'\nexport * from './views/InteractiveFrame'\nexport * from './views/Layouts'\nexport * from './views/LinearGradient'\nexport * from './views/Modal'\nexport * from './views/Overlay'\nexport * from './views/Paragraph'\nexport * from './views/Popover/Popover'\nexport * from './views/Popover/PopoverProvider'\nexport * from './views/SafeAreaProvider'\nexport * from './views/Separator'\nexport * from './views/SizableText'\nexport * from './views/Stacks'\nexport * from './views/Table'\nexport * from './views/Toast'\nexport * from './views/Tooltip'\nexport * from './views/TouchableOpacity'\nexport * from './views/Transitions'\nexport * from './views/VisuallyHidden'\n\nexport * from './helpers/prevent'\n\nexport * from '@tamagui/helpers'\nexport * from '@tamagui/core'\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA,4CAAkC;AAElC,oBAAc;AAEd,oBAAc;AACd,oBAAc;AAEd,oBAAc;AACd,oBAAc;AAEd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AACd,oBAAc;AAEd,oBAAc;AAEd,oBAAc;AACd,oBAAc;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/views/Tooltip.tsx"],
|
|
4
|
-
"sourcesContent": ["import { StackProps, Text, Theme, isTamaguiElement, isWeb } from '@tamagui/core'\nimport React from 'react'\n\nimport { HoverablePopover, HoverablePopoverProps } from './HoverablePopover'\nimport { Paragraph } from './Paragraph'\nimport { YStack } from './Stacks'\n\nexport type TooltipProps = Omit<HoverablePopoverProps, 'trigger'> & {\n contents?: string | any\n tooltipFrameProps?: Omit<StackProps, 'children'>\n}\n\nexport const Tooltip = ({ contents, tooltipFrameProps, ...props }: TooltipProps) => {\n // this causes ssr issues\n // if (isTouchDevice) {\n // // TODO optionally have it show something on tap\n // return <>{props.children}</>\n // }\n return (\n <HoverablePopover\n placement=\"bottom\"\n delay={200}\n disableUntilSettled\n {...props}\n trigger={(triggerProps) =>\n isTamaguiElement(props.children) ? (\n React.cloneElement(props.children, triggerProps)\n ) : (\n // TODO validate works on native (see Hero <Tooltip /> font)\n <Text\n {...(isWeb && {\n fontFamily: 'inherit',\n fontSize: 'inherit',\n })}\n {...triggerProps}\n >\n {props.children}\n </Text>\n )\n }\n >\n {({ open }) => {\n return open ? (\n <Theme name=\"dark\">\n <YStack\n margin={10}\n backgroundColor=\"$bg2\"\n paddingHorizontal=\"$2\"\n paddingVertical=\"$2\"\n maxWidth={400}\n borderRadius=\"$2\"\n shadowColor=\"$shadowColor\"\n shadowRadius={2}\n shadowOffset={{ height: 2, width: 0 }}\n {...tooltipFrameProps}\n >\n <Paragraph textAlign=\"center\" fontSize={14} color=\"$color\">\n {contents}\n </Paragraph>\n </YStack>\n </Theme>\n ) : null\n }}\n </HoverablePopover>\n )\n}\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA,kBAAiE;AACjE,mBAAkB;AAElB,8BAAwD;AACxD,uBAA0B;AAC1B,oBAAuB;AAOhB,MAAM,UAAU,wBAAC,OAA4D;AAA5D,eAAE,YAAU,sBAAZ,IAAkC,kBAAlC,IAAkC,CAAhC,YAAU;AAMlC,SACE,mDAAC,0CAAD;AAAA,IACE,WAAU;AAAA,IACV,OAAO;AAAA,IACP,qBAAmB;AAAA,KACf,QAJN;AAAA,IAKE,SAAS,CAAC,iBACR,kCAAiB,MAAM,YACrB,qBAAM,aAAa,MAAM,
|
|
4
|
+
"sourcesContent": ["import { StackProps, Text, Theme, isTamaguiElement, isWeb } from '@tamagui/core'\nimport React from 'react'\n\nimport { HoverablePopover, HoverablePopoverProps } from './HoverablePopover'\nimport { Paragraph } from './Paragraph'\nimport { YStack } from './Stacks'\n\nexport type TooltipProps = Omit<HoverablePopoverProps, 'trigger'> & {\n contents?: string | any\n tooltipFrameProps?: Omit<StackProps, 'children'>\n}\n\nexport const Tooltip = ({ contents, tooltipFrameProps, ...props }: TooltipProps) => {\n // this causes ssr issues\n // if (isTouchDevice) {\n // // TODO optionally have it show something on tap\n // return <>{props.children}</>\n // }\n return (\n <HoverablePopover\n placement=\"bottom\"\n delay={200}\n disableUntilSettled\n {...props}\n trigger={(triggerProps) =>\n isTamaguiElement(props.children) ? (\n React.cloneElement(props.children as any, triggerProps)\n ) : (\n // TODO validate works on native (see Hero <Tooltip /> font)\n <Text\n {...(isWeb && {\n fontFamily: 'inherit',\n fontSize: 'inherit',\n })}\n {...triggerProps}\n >\n {props.children}\n </Text>\n )\n }\n >\n {({ open }) => {\n return open ? (\n <Theme name=\"dark\">\n <YStack\n margin={10}\n backgroundColor=\"$bg2\"\n paddingHorizontal=\"$2\"\n paddingVertical=\"$2\"\n maxWidth={400}\n borderRadius=\"$2\"\n shadowColor=\"$shadowColor\"\n shadowRadius={2}\n shadowOffset={{ height: 2, width: 0 }}\n {...tooltipFrameProps}\n >\n <Paragraph textAlign=\"center\" fontSize={14} color=\"$color\">\n {contents}\n </Paragraph>\n </YStack>\n </Theme>\n ) : null\n }}\n </HoverablePopover>\n )\n}\n"],
|
|
5
|
+
"mappings": ";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA,kBAAiE;AACjE,mBAAkB;AAElB,8BAAwD;AACxD,uBAA0B;AAC1B,oBAAuB;AAOhB,MAAM,UAAU,wBAAC,OAA4D;AAA5D,eAAE,YAAU,sBAAZ,IAAkC,kBAAlC,IAAkC,CAAhC,YAAU;AAMlC,SACE,mDAAC,0CAAD;AAAA,IACE,WAAU;AAAA,IACV,OAAO;AAAA,IACP,qBAAmB;AAAA,KACf,QAJN;AAAA,IAKE,SAAS,CAAC,iBACR,kCAAiB,MAAM,YACrB,qBAAM,aAAa,MAAM,UAAiB,gBAG1C,mDAAC,kBAAD,kCACO,qBAAS;AAAA,MACZ,YAAY;AAAA,MACZ,UAAU;AAAA,QAER,eAEH,MAAM;AAAA,MAKZ,CAAC,EAAE,WAAW;AACb,WAAO,OACL,mDAAC,mBAAD;AAAA,MAAO,MAAK;AAAA,OACV,mDAAC,sBAAD;AAAA,MACE,QAAQ;AAAA,MACR,iBAAgB;AAAA,MAChB,mBAAkB;AAAA,MAClB,iBAAgB;AAAA,MAChB,UAAU;AAAA,MACV,cAAa;AAAA,MACb,aAAY;AAAA,MACZ,cAAc;AAAA,MACd,cAAc,EAAE,QAAQ,GAAG,OAAO;AAAA,OAC9B,oBAEJ,mDAAC,4BAAD;AAAA,MAAW,WAAU;AAAA,MAAS,UAAU;AAAA,MAAI,OAAM;AAAA,OAC/C,cAIL;AAAA;AAAA,GAjDW;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/esm/index.js
CHANGED
|
@@ -15,6 +15,7 @@ export * from "./views/Headings";
|
|
|
15
15
|
export * from "./views/Hoverable";
|
|
16
16
|
export * from "./views/HoverablePopover";
|
|
17
17
|
export * from "./views/InteractiveContainer";
|
|
18
|
+
export * from "./views/InteractiveFrame";
|
|
18
19
|
export * from "./views/Layouts";
|
|
19
20
|
export * from "./views/LinearGradient";
|
|
20
21
|
export * from "./views/Modal";
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["export { useSafeAreaInsets } from 'react-native-safe-area-context'\n\nexport * from './viewTypes'\n\nexport * from '@tamagui/use-debounce'\nexport * from '@tamagui/use-force-update'\n\nexport * from './hooks/useLayout'\nexport * from './hooks/useKeyboardDismissable'\n\nexport * from './views/BlurView'\nexport * from './views/Box'\nexport * from './views/Button'\nexport * from './views/Circle'\nexport * from './views/EnsureFlexed'\nexport * from './views/Form'\nexport * from './views/Grid'\nexport * from './views/Headings'\nexport * from './views/Hoverable'\nexport * from './views/HoverablePopover'\nexport * from './views/InteractiveContainer'\nexport * from './views/Layouts'\nexport * from './views/LinearGradient'\nexport * from './views/Modal'\nexport * from './views/Overlay'\nexport * from './views/Paragraph'\nexport * from './views/Popover/Popover'\nexport * from './views/Popover/PopoverProvider'\nexport * from './views/SafeAreaProvider'\nexport * from './views/Separator'\nexport * from './views/SizableText'\nexport * from './views/Stacks'\nexport * from './views/Table'\nexport * from './views/Toast'\nexport * from './views/Tooltip'\nexport * from './views/TouchableOpacity'\nexport * from './views/Transitions'\nexport * from './views/VisuallyHidden'\n\nexport * from './helpers/prevent'\n\nexport * from '@tamagui/helpers'\nexport * from '@tamagui/core'\n"],
|
|
5
|
-
"mappings": "AAAA;AAEA;AAEA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAEA;AACA;",
|
|
4
|
+
"sourcesContent": ["export { useSafeAreaInsets } from 'react-native-safe-area-context'\n\nexport * from './viewTypes'\n\nexport * from '@tamagui/use-debounce'\nexport * from '@tamagui/use-force-update'\n\nexport * from './hooks/useLayout'\nexport * from './hooks/useKeyboardDismissable'\n\nexport * from './views/BlurView'\nexport * from './views/Box'\nexport * from './views/Button'\nexport * from './views/Circle'\nexport * from './views/EnsureFlexed'\nexport * from './views/Form'\nexport * from './views/Grid'\nexport * from './views/Headings'\nexport * from './views/Hoverable'\nexport * from './views/HoverablePopover'\nexport * from './views/InteractiveContainer'\nexport * from './views/InteractiveFrame'\nexport * from './views/Layouts'\nexport * from './views/LinearGradient'\nexport * from './views/Modal'\nexport * from './views/Overlay'\nexport * from './views/Paragraph'\nexport * from './views/Popover/Popover'\nexport * from './views/Popover/PopoverProvider'\nexport * from './views/SafeAreaProvider'\nexport * from './views/Separator'\nexport * from './views/SizableText'\nexport * from './views/Stacks'\nexport * from './views/Table'\nexport * from './views/Toast'\nexport * from './views/Tooltip'\nexport * from './views/TouchableOpacity'\nexport * from './views/Transitions'\nexport * from './views/VisuallyHidden'\n\nexport * from './helpers/prevent'\n\nexport * from '@tamagui/helpers'\nexport * from '@tamagui/core'\n"],
|
|
5
|
+
"mappings": "AAAA;AAEA;AAEA;AACA;AAEA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAEA;AAEA;AACA;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/views/Tooltip.tsx"],
|
|
4
|
-
"sourcesContent": ["import { StackProps, Text, Theme, isTamaguiElement, isWeb } from '@tamagui/core'\nimport React from 'react'\n\nimport { HoverablePopover, HoverablePopoverProps } from './HoverablePopover'\nimport { Paragraph } from './Paragraph'\nimport { YStack } from './Stacks'\n\nexport type TooltipProps = Omit<HoverablePopoverProps, 'trigger'> & {\n contents?: string | any\n tooltipFrameProps?: Omit<StackProps, 'children'>\n}\n\nexport const Tooltip = ({ contents, tooltipFrameProps, ...props }: TooltipProps) => {\n // this causes ssr issues\n // if (isTouchDevice) {\n // // TODO optionally have it show something on tap\n // return <>{props.children}</>\n // }\n return (\n <HoverablePopover\n placement=\"bottom\"\n delay={200}\n disableUntilSettled\n {...props}\n trigger={(triggerProps) =>\n isTamaguiElement(props.children) ? (\n React.cloneElement(props.children, triggerProps)\n ) : (\n // TODO validate works on native (see Hero <Tooltip /> font)\n <Text\n {...(isWeb && {\n fontFamily: 'inherit',\n fontSize: 'inherit',\n })}\n {...triggerProps}\n >\n {props.children}\n </Text>\n )\n }\n >\n {({ open }) => {\n return open ? (\n <Theme name=\"dark\">\n <YStack\n margin={10}\n backgroundColor=\"$bg2\"\n paddingHorizontal=\"$2\"\n paddingVertical=\"$2\"\n maxWidth={400}\n borderRadius=\"$2\"\n shadowColor=\"$shadowColor\"\n shadowRadius={2}\n shadowOffset={{ height: 2, width: 0 }}\n {...tooltipFrameProps}\n >\n <Paragraph textAlign=\"center\" fontSize={14} color=\"$color\">\n {contents}\n </Paragraph>\n </YStack>\n </Theme>\n ) : null\n }}\n </HoverablePopover>\n )\n}\n"],
|
|
5
|
-
"mappings": ";;AAAA;AACA;AAEA;AACA;AACA;AAOO,MAAM,UAAU,wBAAC,EAAE,UAAU,sBAAsB,YAA0B;AAMlF,SACE,oCAAC,kBAAD;AAAA,IACE,WAAU;AAAA,IACV,OAAO;AAAA,IACP,qBAAmB;AAAA,OACf;AAAA,IACJ,SAAS,CAAC,iBACR,iBAAiB,MAAM,YACrB,MAAM,aAAa,MAAM,
|
|
4
|
+
"sourcesContent": ["import { StackProps, Text, Theme, isTamaguiElement, isWeb } from '@tamagui/core'\nimport React from 'react'\n\nimport { HoverablePopover, HoverablePopoverProps } from './HoverablePopover'\nimport { Paragraph } from './Paragraph'\nimport { YStack } from './Stacks'\n\nexport type TooltipProps = Omit<HoverablePopoverProps, 'trigger'> & {\n contents?: string | any\n tooltipFrameProps?: Omit<StackProps, 'children'>\n}\n\nexport const Tooltip = ({ contents, tooltipFrameProps, ...props }: TooltipProps) => {\n // this causes ssr issues\n // if (isTouchDevice) {\n // // TODO optionally have it show something on tap\n // return <>{props.children}</>\n // }\n return (\n <HoverablePopover\n placement=\"bottom\"\n delay={200}\n disableUntilSettled\n {...props}\n trigger={(triggerProps) =>\n isTamaguiElement(props.children) ? (\n React.cloneElement(props.children as any, triggerProps)\n ) : (\n // TODO validate works on native (see Hero <Tooltip /> font)\n <Text\n {...(isWeb && {\n fontFamily: 'inherit',\n fontSize: 'inherit',\n })}\n {...triggerProps}\n >\n {props.children}\n </Text>\n )\n }\n >\n {({ open }) => {\n return open ? (\n <Theme name=\"dark\">\n <YStack\n margin={10}\n backgroundColor=\"$bg2\"\n paddingHorizontal=\"$2\"\n paddingVertical=\"$2\"\n maxWidth={400}\n borderRadius=\"$2\"\n shadowColor=\"$shadowColor\"\n shadowRadius={2}\n shadowOffset={{ height: 2, width: 0 }}\n {...tooltipFrameProps}\n >\n <Paragraph textAlign=\"center\" fontSize={14} color=\"$color\">\n {contents}\n </Paragraph>\n </YStack>\n </Theme>\n ) : null\n }}\n </HoverablePopover>\n )\n}\n"],
|
|
5
|
+
"mappings": ";;AAAA;AACA;AAEA;AACA;AACA;AAOO,MAAM,UAAU,wBAAC,EAAE,UAAU,sBAAsB,YAA0B;AAMlF,SACE,oCAAC,kBAAD;AAAA,IACE,WAAU;AAAA,IACV,OAAO;AAAA,IACP,qBAAmB;AAAA,OACf;AAAA,IACJ,SAAS,CAAC,iBACR,iBAAiB,MAAM,YACrB,MAAM,aAAa,MAAM,UAAiB,gBAG1C,oCAAC,MAAD;AAAA,SACO,SAAS;AAAA,QACZ,YAAY;AAAA,QACZ,UAAU;AAAA;AAAA,SAER;AAAA,OAEH,MAAM;AAAA,KAKZ,CAAC,EAAE,WAAW;AACb,WAAO,OACL,oCAAC,OAAD;AAAA,MAAO,MAAK;AAAA,OACV,oCAAC,QAAD;AAAA,MACE,QAAQ;AAAA,MACR,iBAAgB;AAAA,MAChB,mBAAkB;AAAA,MAClB,iBAAgB;AAAA,MAChB,UAAU;AAAA,MACV,cAAa;AAAA,MACb,aAAY;AAAA,MACZ,cAAc;AAAA,MACd,cAAc,EAAE,QAAQ,GAAG,OAAO;AAAA,SAC9B;AAAA,OAEJ,oCAAC,WAAD;AAAA,MAAW,WAAU;AAAA,MAAS,UAAU;AAAA,MAAI,OAAM;AAAA,OAC/C,cAIL;AAAA;AAAA,GAjDW;",
|
|
6
6
|
"names": []
|
|
7
7
|
}
|
package/dist/jsx/index.js
CHANGED
|
@@ -15,6 +15,7 @@ export * from "./views/Headings";
|
|
|
15
15
|
export * from "./views/Hoverable";
|
|
16
16
|
export * from "./views/HoverablePopover";
|
|
17
17
|
export * from "./views/InteractiveContainer";
|
|
18
|
+
export * from "./views/InteractiveFrame";
|
|
18
19
|
export * from "./views/Layouts";
|
|
19
20
|
export * from "./views/LinearGradient";
|
|
20
21
|
export * from "./views/Modal";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tamagui",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.25",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
"module:jsx": "dist/jsx",
|
|
12
12
|
"files": [
|
|
13
13
|
"types",
|
|
14
|
-
"src",
|
|
15
14
|
"dist"
|
|
16
15
|
],
|
|
17
16
|
"scripts": {
|
|
@@ -24,12 +23,12 @@
|
|
|
24
23
|
"@react-native-aria/focus": "^0.2.5",
|
|
25
24
|
"@react-native-aria/overlays": "^0.3.2",
|
|
26
25
|
"@react-native-community/blur": "^3.6.0",
|
|
27
|
-
"@tamagui/core": "^1.0.0-alpha.
|
|
26
|
+
"@tamagui/core": "^1.0.0-alpha.25",
|
|
28
27
|
"@tamagui/fake-react-native": "^1.0.0-alpha.17",
|
|
29
|
-
"@tamagui/helpers": "^1.0.0-alpha.
|
|
30
|
-
"@tamagui/use-debounce": "^1.0.0-alpha.
|
|
31
|
-
"@tamagui/use-force-update": "^1.0.0-alpha.
|
|
32
|
-
"expo-linear-gradient": "^
|
|
28
|
+
"@tamagui/helpers": "^1.0.0-alpha.25",
|
|
29
|
+
"@tamagui/use-debounce": "^1.0.0-alpha.25",
|
|
30
|
+
"@tamagui/use-force-update": "^1.0.0-alpha.25",
|
|
31
|
+
"expo-linear-gradient": "^10.0.3",
|
|
33
32
|
"normalize-css-color": "*",
|
|
34
33
|
"react": "*",
|
|
35
34
|
"react-dom": "*",
|
|
@@ -39,10 +38,10 @@
|
|
|
39
38
|
"react-native-web": "*"
|
|
40
39
|
},
|
|
41
40
|
"devDependencies": {
|
|
42
|
-
"@tamagui/build": "^1.0.0-alpha.
|
|
41
|
+
"@tamagui/build": "^1.0.0-alpha.22",
|
|
43
42
|
"@types/node": "^16.11.9",
|
|
44
43
|
"@types/react": "^17.0.35",
|
|
45
44
|
"react-native-web": "^0.17.5"
|
|
46
45
|
},
|
|
47
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "38d6b306363a6dd1e52c40e50b8aa6ba697fe743"
|
|
48
47
|
}
|
package/types/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export * from './views/Headings';
|
|
|
15
15
|
export * from './views/Hoverable';
|
|
16
16
|
export * from './views/HoverablePopover';
|
|
17
17
|
export * from './views/InteractiveContainer';
|
|
18
|
+
export * from './views/InteractiveFrame';
|
|
18
19
|
export * from './views/Layouts';
|
|
19
20
|
export * from './views/LinearGradient';
|
|
20
21
|
export * from './views/Modal';
|
package/types/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAElE,cAAc,aAAa,CAAA;AAE3B,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AAEzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,gCAAgC,CAAA;AAE9C,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,sBAAsB,CAAA;AACpC,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,mBAAmB,CAAA;AACjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA;AACvC,cAAc,iCAAiC,CAAA;AAC/C,cAAc,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,0BAA0B,CAAA;AACxC,cAAc,qBAAqB,CAAA;AACnC,cAAc,wBAAwB,CAAA;AAEtC,cAAc,mBAAmB,CAAA;AAEjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,gCAAgC,CAAA;AAElE,cAAc,aAAa,CAAA;AAE3B,cAAc,uBAAuB,CAAA;AACrC,cAAc,2BAA2B,CAAA;AAEzC,cAAc,mBAAmB,CAAA;AACjC,cAAc,gCAAgC,CAAA;AAE9C,cAAc,kBAAkB,CAAA;AAChC,cAAc,aAAa,CAAA;AAC3B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,gBAAgB,CAAA;AAC9B,cAAc,sBAAsB,CAAA;AACpC,cAAc,cAAc,CAAA;AAC5B,cAAc,cAAc,CAAA;AAC5B,cAAc,kBAAkB,CAAA;AAChC,cAAc,mBAAmB,CAAA;AACjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,0BAA0B,CAAA;AACxC,cAAc,iBAAiB,CAAA;AAC/B,cAAc,wBAAwB,CAAA;AACtC,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA;AACvC,cAAc,iCAAiC,CAAA;AAC/C,cAAc,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,eAAe,CAAA;AAC7B,cAAc,iBAAiB,CAAA;AAC/B,cAAc,0BAA0B,CAAA;AACxC,cAAc,qBAAqB,CAAA;AACnC,cAAc,wBAAwB,CAAA;AAEtC,cAAc,mBAAmB,CAAA;AAEjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA"}
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
export declare const BlurView: any
|
|
1
|
+
export declare const BlurView: import("@tamagui/core").StaticComponent<Omit<any, never> & ({} | {
|
|
2
|
+
[x: string]: string | number | undefined;
|
|
3
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
4
|
+
[x: string]: string | number | undefined;
|
|
5
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
2
6
|
//# sourceMappingURL=BlurView.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlurView.native.d.ts","sourceRoot":"","sources":["../../src/views/BlurView.native.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,QAAQ,
|
|
1
|
+
{"version":3,"file":"BlurView.native.d.ts","sourceRoot":"","sources":["../../src/views/BlurView.native.tsx"],"names":[],"mappings":"AASA,eAAO,MAAM,QAAQ;;;;yDASnB,CAAA"}
|
package/types/views/Box.d.ts
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
import { GetProps } from '@tamagui/core';
|
|
2
|
-
export declare const Box:
|
|
2
|
+
export declare const Box: import("@tamagui/core").StaticComponent<Omit<Omit<import("@tamagui/core").StackProps, "elevation" | "fullscreen"> & {
|
|
3
|
+
fullscreen?: boolean | undefined;
|
|
4
|
+
elevation?: `$${string}` | `$${number}` | undefined;
|
|
5
|
+
} & import("@tamagui/core").MediaProps<{
|
|
6
|
+
fullscreen?: boolean | undefined;
|
|
7
|
+
elevation?: `$${string}` | `$${number}` | undefined;
|
|
8
|
+
}>, never> & ({} | {
|
|
9
|
+
[x: string]: string | number | undefined;
|
|
10
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
11
|
+
[x: string]: string | number | undefined;
|
|
12
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
3
13
|
export declare type BoxProps = GetProps<typeof Box>;
|
|
4
14
|
//# sourceMappingURL=Box.d.ts.map
|
package/types/views/Box.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../src/views/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAU,MAAM,eAAe,CAAA;AAIhD,eAAO,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"Box.d.ts","sourceRoot":"","sources":["../../src/views/Box.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAU,MAAM,eAAe,CAAA;AAIhD,eAAO,MAAM,GAAG;;;;;;;;;;yDAGd,CAAA;AAEF,oBAAY,QAAQ,GAAG,QAAQ,CAAC,OAAO,GAAG,CAAC,CAAA"}
|
package/types/views/Button.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { TextProps, ThemeableProps } from '@tamagui/core';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
import { InteractiveFrameProps } from './InteractiveFrame';
|
|
4
4
|
export declare type ButtonProps = InteractiveFrameProps & ThemeableProps & {
|
|
5
5
|
textProps?: Omit<TextProps, 'children'>;
|
|
@@ -8,5 +8,33 @@ export declare type ButtonProps = InteractiveFrameProps & ThemeableProps & {
|
|
|
8
8
|
iconAfter?: JSX.Element | null;
|
|
9
9
|
themeIcon?: boolean;
|
|
10
10
|
};
|
|
11
|
-
export declare const Button:
|
|
11
|
+
export declare const Button: (props: Pick<Omit<Omit<Omit<import("@tamagui/core").StackProps, "elevation" | "fullscreen"> & {
|
|
12
|
+
fullscreen?: boolean | undefined;
|
|
13
|
+
elevation?: `$${string}` | `$${number}` | undefined;
|
|
14
|
+
} & import("@tamagui/core").MediaProps<{
|
|
15
|
+
fullscreen?: boolean | undefined;
|
|
16
|
+
elevation?: `$${string}` | `$${number}` | undefined;
|
|
17
|
+
}>, never> & ({} | {
|
|
18
|
+
[x: string]: string | number | undefined;
|
|
19
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
20
|
+
[x: string]: string | number | undefined;
|
|
21
|
+
}>, "size" | "transparent" | "disabled" | "active" | "chromeless"> & {
|
|
22
|
+
size?: `$${string}` | `$${number}` | undefined;
|
|
23
|
+
disabled?: boolean | undefined;
|
|
24
|
+
active?: boolean | undefined;
|
|
25
|
+
transparent?: boolean | undefined;
|
|
26
|
+
chromeless?: boolean | undefined;
|
|
27
|
+
} & import("@tamagui/core").MediaProps<{
|
|
28
|
+
size?: `$${string}` | `$${number}` | undefined;
|
|
29
|
+
disabled?: boolean | undefined;
|
|
30
|
+
active?: boolean | undefined;
|
|
31
|
+
transparent?: boolean | undefined;
|
|
32
|
+
chromeless?: boolean | undefined;
|
|
33
|
+
}> & ThemeableProps & {
|
|
34
|
+
textProps?: Omit<TextProps, "children"> | undefined;
|
|
35
|
+
noTextWrap?: boolean | undefined;
|
|
36
|
+
icon?: JSX.Element | null | undefined;
|
|
37
|
+
iconAfter?: JSX.Element | null | undefined;
|
|
38
|
+
themeIcon?: boolean | undefined;
|
|
39
|
+
}, "width" | "height" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingHorizontal" | "paddingVertical" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "marginHorizontal" | "marginVertical" | "flex" | "flexDirection" | "flexWrap" | "flexGrow" | "flexShrink" | "flexBasis" | "alignItems" | "alignContent" | "justifyContent" | "alignSelf" | "backgroundColor" | "borderRadius" | "borderTopRightRadius" | "borderBottomRightRadius" | "borderBottomLeftRadius" | "borderTopLeftRadius" | "zIndex" | "left" | "right" | "onLayout" | "children" | "accessibilityState" | "accessibilityValue" | "focusable" | "nativeID" | "onBlur" | "onClick" | "onClickCapture" | "onContextMenu" | "onFocus" | "onKeyDown" | "onKeyUp" | "onMoveShouldSetResponder" | "onMoveShouldSetResponderCapture" | "onResponderEnd" | "onResponderGrant" | "onResponderMove" | "onResponderReject" | "onResponderRelease" | "onResponderStart" | "onResponderTerminate" | "onResponderTerminationRequest" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onStartShouldSetResponder" | "onStartShouldSetResponderCapture" | "pointerEvents" | "testID" | "dataSet" | "onMouseDown" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onMouseUp" | "onScroll" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onWheel" | "href" | "hrefAttrs" | "display" | "hitSlop" | "removeClippedSubviews" | "style" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "accessibilityRole" | "accessibilityHint" | "onAccessibilityAction" | "accessibilityLiveRegion" | "importantForAccessibility" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | `$${string}` | "elevation" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomStartRadius" | "borderBottomWidth" | "borderColor" | "borderEndColor" | "borderLeftColor" | "borderLeftWidth" | "borderRightColor" | "borderRightWidth" | "borderStartColor" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopStartRadius" | "borderTopWidth" | "borderWidth" | "opacity" | "aspectRatio" | "borderEndWidth" | "borderStartWidth" | "bottom" | "end" | "marginEnd" | "marginStart" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "paddingEnd" | "paddingStart" | "position" | "start" | "top" | "direction" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "scaleX" | "scaleY" | "translateX" | "translateY" | "x" | "y" | "perspective" | "scale" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "cursor" | "contain" | "fullscreen" | "hoverStyle" | "pressStyle" | "className" | "tag" | "animated" | "onHoverIn" | "onHoverOut" | "onPress" | "onPressIn" | "onPressOut" | "space" | "size" | "transparent" | "disabled" | "active" | "chromeless" | (`$${string}` & string) | "icon" | "iconAfter" | "textProps" | "noTextWrap" | "themeIcon" | keyof ThemeableProps> & React.RefAttributes<unknown>) => React.ReactElement<any, string | React.JSXElementConstructor<any>> | null;
|
|
12
40
|
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/views/Button.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../src/views/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,cAAc,EAAkC,MAAM,eAAe,CAAA;AACzF,OAAO,KAAqC,MAAM,OAAO,CAAA;AAEzD,OAAO,EAAoB,qBAAqB,EAAE,MAAM,oBAAoB,CAAA;AAM5E,oBAAY,WAAW,GAAG,qBAAqB,GAC7C,cAAc,GAAG;IACf,SAAS,CAAC,EAAE,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC,CAAA;IACvC,UAAU,CAAC,EAAE,OAAO,CAAA;IACpB,IAAI,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,IAAI,CAAA;IACzB,SAAS,CAAC,EAAE,GAAG,CAAC,OAAO,GAAG,IAAI,CAAA;IAG9B,SAAS,CAAC,EAAE,OAAO,CAAA;CACpB,CAAA;AAEH,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;qnHA4ElB,CAAA"}
|
package/types/views/Circle.d.ts
CHANGED
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
import { GetProps } from '@tamagui/core';
|
|
2
|
-
export declare const Circle:
|
|
2
|
+
export declare const Circle: import("@tamagui/core").StaticComponent<Omit<import("@tamagui/core").StackProps, "size"> & {
|
|
3
|
+
size?: `$${string}` | `$${number}` | undefined;
|
|
4
|
+
} & import("@tamagui/core").MediaProps<{
|
|
5
|
+
size?: `$${string}` | `$${number}` | undefined;
|
|
6
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
3
7
|
export declare type CircleProps = GetProps<typeof Circle>;
|
|
4
8
|
//# sourceMappingURL=Circle.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Circle.d.ts","sourceRoot":"","sources":["../../src/views/Circle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAiB,MAAM,eAAe,CAAA;AAEvD,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"Circle.d.ts","sourceRoot":"","sources":["../../src/views/Circle.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAiB,MAAM,eAAe,CAAA;AAEvD,eAAO,MAAM,MAAM;;;;yDAgBjB,CAAA;AAEF,oBAAY,WAAW,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAA"}
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
export declare const EnsureFlexed:
|
|
1
|
+
export declare const EnsureFlexed: import("@tamagui/core").StaticComponent<Omit<import("@tamagui/core").TextProps, never> & ({} | {
|
|
2
|
+
[x: string]: string | number | undefined;
|
|
3
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
4
|
+
[x: string]: string | number | undefined;
|
|
5
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
2
6
|
//# sourceMappingURL=EnsureFlexed.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EnsureFlexed.d.ts","sourceRoot":"","sources":["../../src/views/EnsureFlexed.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"EnsureFlexed.d.ts","sourceRoot":"","sources":["../../src/views/EnsureFlexed.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,YAAY;;;;yDAQvB,CAAA"}
|
package/types/views/Form.d.ts
CHANGED
|
@@ -1,4 +1,16 @@
|
|
|
1
|
-
export declare const Form:
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
export declare const Form: import("@tamagui/core").StaticComponent<Omit<import("@tamagui/core").StackProps, never> & ({} | {
|
|
2
|
+
[x: string]: string | number | undefined;
|
|
3
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
4
|
+
[x: string]: string | number | undefined;
|
|
5
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
6
|
+
export declare const Input: import("@tamagui/core").StaticComponent<Omit<any, never> & ({} | {
|
|
7
|
+
[x: string]: string | number | undefined;
|
|
8
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
9
|
+
[x: string]: string | number | undefined;
|
|
10
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
11
|
+
export declare const TextArea: import("@tamagui/core").StaticComponent<Omit<any, never> & ({} | {
|
|
12
|
+
[x: string]: string | number | undefined;
|
|
13
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
14
|
+
[x: string]: string | number | undefined;
|
|
15
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
4
16
|
//# sourceMappingURL=Form.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../src/views/Form.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI,
|
|
1
|
+
{"version":3,"file":"Form.d.ts","sourceRoot":"","sources":["../../src/views/Form.tsx"],"names":[],"mappings":"AAGA,eAAO,MAAM,IAAI;;;;yDAEf,CAAA;AAIF,eAAO,MAAM,KAAK;;;;yDAIhB,CAAA;AAIF,eAAO,MAAM,QAAQ;;;;yDAOnB,CAAA"}
|
|
@@ -1,8 +1,116 @@
|
|
|
1
|
-
export declare const Title:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
export declare const Title: import("@tamagui/core").StaticComponent<Omit<Omit<Omit<import("@tamagui/core").TextProps, "size"> & {
|
|
2
|
+
size?: `$${string}` | `$${number}` | undefined;
|
|
3
|
+
} & import("@tamagui/core").MediaProps<{
|
|
4
|
+
size?: `$${string}` | `$${number}` | undefined;
|
|
5
|
+
}>, never> & ({} | {
|
|
6
|
+
[x: string]: string | number | undefined;
|
|
7
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
8
|
+
[x: string]: string | number | undefined;
|
|
9
|
+
}>, never> & ({} | {
|
|
10
|
+
[x: string]: string | number | undefined;
|
|
11
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
12
|
+
[x: string]: string | number | undefined;
|
|
13
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
14
|
+
export declare const H1: import("@tamagui/core").StaticComponent<Omit<Omit<Omit<Omit<import("@tamagui/core").TextProps, "size"> & {
|
|
15
|
+
size?: `$${string}` | `$${number}` | undefined;
|
|
16
|
+
} & import("@tamagui/core").MediaProps<{
|
|
17
|
+
size?: `$${string}` | `$${number}` | undefined;
|
|
18
|
+
}>, never> & ({} | {
|
|
19
|
+
[x: string]: string | number | undefined;
|
|
20
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
21
|
+
[x: string]: string | number | undefined;
|
|
22
|
+
}>, never> & ({} | {
|
|
23
|
+
[x: string]: string | number | undefined;
|
|
24
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
25
|
+
[x: string]: string | number | undefined;
|
|
26
|
+
}>, never> & ({} | {
|
|
27
|
+
[x: string]: string | number | undefined;
|
|
28
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
29
|
+
[x: string]: string | number | undefined;
|
|
30
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
31
|
+
export declare const H2: import("@tamagui/core").StaticComponent<Omit<Omit<Omit<Omit<import("@tamagui/core").TextProps, "size"> & {
|
|
32
|
+
size?: `$${string}` | `$${number}` | undefined;
|
|
33
|
+
} & import("@tamagui/core").MediaProps<{
|
|
34
|
+
size?: `$${string}` | `$${number}` | undefined;
|
|
35
|
+
}>, never> & ({} | {
|
|
36
|
+
[x: string]: string | number | undefined;
|
|
37
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
38
|
+
[x: string]: string | number | undefined;
|
|
39
|
+
}>, never> & ({} | {
|
|
40
|
+
[x: string]: string | number | undefined;
|
|
41
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
42
|
+
[x: string]: string | number | undefined;
|
|
43
|
+
}>, never> & ({} | {
|
|
44
|
+
[x: string]: string | number | undefined;
|
|
45
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
46
|
+
[x: string]: string | number | undefined;
|
|
47
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
48
|
+
export declare const H3: import("@tamagui/core").StaticComponent<Omit<Omit<Omit<Omit<import("@tamagui/core").TextProps, "size"> & {
|
|
49
|
+
size?: `$${string}` | `$${number}` | undefined;
|
|
50
|
+
} & import("@tamagui/core").MediaProps<{
|
|
51
|
+
size?: `$${string}` | `$${number}` | undefined;
|
|
52
|
+
}>, never> & ({} | {
|
|
53
|
+
[x: string]: string | number | undefined;
|
|
54
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
55
|
+
[x: string]: string | number | undefined;
|
|
56
|
+
}>, never> & ({} | {
|
|
57
|
+
[x: string]: string | number | undefined;
|
|
58
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
59
|
+
[x: string]: string | number | undefined;
|
|
60
|
+
}>, never> & ({} | {
|
|
61
|
+
[x: string]: string | number | undefined;
|
|
62
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
63
|
+
[x: string]: string | number | undefined;
|
|
64
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
65
|
+
export declare const H4: import("@tamagui/core").StaticComponent<Omit<Omit<Omit<Omit<import("@tamagui/core").TextProps, "size"> & {
|
|
66
|
+
size?: `$${string}` | `$${number}` | undefined;
|
|
67
|
+
} & import("@tamagui/core").MediaProps<{
|
|
68
|
+
size?: `$${string}` | `$${number}` | undefined;
|
|
69
|
+
}>, never> & ({} | {
|
|
70
|
+
[x: string]: string | number | undefined;
|
|
71
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
72
|
+
[x: string]: string | number | undefined;
|
|
73
|
+
}>, never> & ({} | {
|
|
74
|
+
[x: string]: string | number | undefined;
|
|
75
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
76
|
+
[x: string]: string | number | undefined;
|
|
77
|
+
}>, never> & ({} | {
|
|
78
|
+
[x: string]: string | number | undefined;
|
|
79
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
80
|
+
[x: string]: string | number | undefined;
|
|
81
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
82
|
+
export declare const H5: import("@tamagui/core").StaticComponent<Omit<Omit<Omit<Omit<import("@tamagui/core").TextProps, "size"> & {
|
|
83
|
+
size?: `$${string}` | `$${number}` | undefined;
|
|
84
|
+
} & import("@tamagui/core").MediaProps<{
|
|
85
|
+
size?: `$${string}` | `$${number}` | undefined;
|
|
86
|
+
}>, never> & ({} | {
|
|
87
|
+
[x: string]: string | number | undefined;
|
|
88
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
89
|
+
[x: string]: string | number | undefined;
|
|
90
|
+
}>, never> & ({} | {
|
|
91
|
+
[x: string]: string | number | undefined;
|
|
92
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
93
|
+
[x: string]: string | number | undefined;
|
|
94
|
+
}>, never> & ({} | {
|
|
95
|
+
[x: string]: string | number | undefined;
|
|
96
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
97
|
+
[x: string]: string | number | undefined;
|
|
98
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
99
|
+
export declare const H6: import("@tamagui/core").StaticComponent<Omit<Omit<Omit<Omit<import("@tamagui/core").TextProps, "size"> & {
|
|
100
|
+
size?: `$${string}` | `$${number}` | undefined;
|
|
101
|
+
} & import("@tamagui/core").MediaProps<{
|
|
102
|
+
size?: `$${string}` | `$${number}` | undefined;
|
|
103
|
+
}>, never> & ({} | {
|
|
104
|
+
[x: string]: string | number | undefined;
|
|
105
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
106
|
+
[x: string]: string | number | undefined;
|
|
107
|
+
}>, never> & ({} | {
|
|
108
|
+
[x: string]: string | number | undefined;
|
|
109
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
110
|
+
[x: string]: string | number | undefined;
|
|
111
|
+
}>, never> & ({} | {
|
|
112
|
+
[x: string]: string | number | undefined;
|
|
113
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
114
|
+
[x: string]: string | number | undefined;
|
|
115
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
8
116
|
//# sourceMappingURL=Headings.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Headings.d.ts","sourceRoot":"","sources":["../../src/views/Headings.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"Headings.d.ts","sourceRoot":"","sources":["../../src/views/Headings.tsx"],"names":[],"mappings":"AAIA,eAAO,MAAM,KAAK;;;;;;;;;;;;yDAIhB,CAAA;AAEF,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;yDAIb,CAAA;AAEF,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;yDAIb,CAAA;AAEF,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;yDAKb,CAAA;AAEF,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;yDAIb,CAAA;AAEF,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;yDAMb,CAAA;AAEF,eAAO,MAAM,EAAE;;;;;;;;;;;;;;;;yDAMb,CAAA"}
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
export declare const InteractiveContainer:
|
|
1
|
+
export declare const InteractiveContainer: import("@tamagui/core").StaticComponent<Omit<import("@tamagui/core").StackProps, never> & ({} | {
|
|
2
|
+
[x: string]: string | number | undefined;
|
|
3
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
4
|
+
[x: string]: string | number | undefined;
|
|
5
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
2
6
|
//# sourceMappingURL=InteractiveContainer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InteractiveContainer.d.ts","sourceRoot":"","sources":["../../src/views/InteractiveContainer.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"InteractiveContainer.d.ts","sourceRoot":"","sources":["../../src/views/InteractiveContainer.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,oBAAoB;;;;yDAS/B,CAAA"}
|
|
@@ -1,4 +1,26 @@
|
|
|
1
1
|
import { GetProps } from '@tamagui/core';
|
|
2
|
-
export declare const InteractiveFrame:
|
|
2
|
+
export declare const InteractiveFrame: import("@tamagui/core").StaticComponent<Omit<Omit<Omit<import("@tamagui/core").StackProps, "elevation" | "fullscreen"> & {
|
|
3
|
+
fullscreen?: boolean | undefined;
|
|
4
|
+
elevation?: `$${string}` | `$${number}` | undefined;
|
|
5
|
+
} & import("@tamagui/core").MediaProps<{
|
|
6
|
+
fullscreen?: boolean | undefined;
|
|
7
|
+
elevation?: `$${string}` | `$${number}` | undefined;
|
|
8
|
+
}>, never> & ({} | {
|
|
9
|
+
[x: string]: string | number | undefined;
|
|
10
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
11
|
+
[x: string]: string | number | undefined;
|
|
12
|
+
}>, "size" | "transparent" | "disabled" | "active" | "chromeless"> & {
|
|
13
|
+
size?: `$${string}` | `$${number}` | undefined;
|
|
14
|
+
disabled?: boolean | undefined;
|
|
15
|
+
active?: boolean | undefined;
|
|
16
|
+
transparent?: boolean | undefined;
|
|
17
|
+
chromeless?: boolean | undefined;
|
|
18
|
+
} & import("@tamagui/core").MediaProps<{
|
|
19
|
+
size?: `$${string}` | `$${number}` | undefined;
|
|
20
|
+
disabled?: boolean | undefined;
|
|
21
|
+
active?: boolean | undefined;
|
|
22
|
+
transparent?: boolean | undefined;
|
|
23
|
+
chromeless?: boolean | undefined;
|
|
24
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
3
25
|
export declare type InteractiveFrameProps = GetProps<typeof InteractiveFrame>;
|
|
4
26
|
//# sourceMappingURL=InteractiveFrame.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InteractiveFrame.d.ts","sourceRoot":"","sources":["../../src/views/InteractiveFrame.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAY,MAAM,eAAe,CAAA;AAOlD,eAAO,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"InteractiveFrame.d.ts","sourceRoot":"","sources":["../../src/views/InteractiveFrame.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAY,MAAM,eAAe,CAAA;AAOlD,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;yDAuE3B,CAAA;AAEF,oBAAY,qBAAqB,GAAG,QAAQ,CAAC,OAAO,gBAAgB,CAAC,CAAA"}
|
package/types/views/Layouts.d.ts
CHANGED
|
@@ -1,8 +1,36 @@
|
|
|
1
|
-
export declare const Section:
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare const
|
|
7
|
-
|
|
1
|
+
export declare const Section: import("@tamagui/core").StaticComponent<Omit<import("@tamagui/core").StackProps, never> & ({} | {
|
|
2
|
+
[x: string]: string | number | undefined;
|
|
3
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
4
|
+
[x: string]: string | number | undefined;
|
|
5
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
6
|
+
export declare const Article: import("@tamagui/core").StaticComponent<Omit<import("@tamagui/core").StackProps, never> & ({} | {
|
|
7
|
+
[x: string]: string | number | undefined;
|
|
8
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
9
|
+
[x: string]: string | number | undefined;
|
|
10
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
11
|
+
export declare const Main: import("@tamagui/core").StaticComponent<Omit<import("@tamagui/core").StackProps, never> & ({} | {
|
|
12
|
+
[x: string]: string | number | undefined;
|
|
13
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
14
|
+
[x: string]: string | number | undefined;
|
|
15
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
16
|
+
export declare const Header: import("@tamagui/core").StaticComponent<Omit<import("@tamagui/core").StackProps, never> & ({} | {
|
|
17
|
+
[x: string]: string | number | undefined;
|
|
18
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
19
|
+
[x: string]: string | number | undefined;
|
|
20
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
21
|
+
export declare const Aside: import("@tamagui/core").StaticComponent<Omit<import("@tamagui/core").StackProps, never> & ({} | {
|
|
22
|
+
[x: string]: string | number | undefined;
|
|
23
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
24
|
+
[x: string]: string | number | undefined;
|
|
25
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
26
|
+
export declare const Footer: import("@tamagui/core").StaticComponent<Omit<import("@tamagui/core").StackProps, never> & ({} | {
|
|
27
|
+
[x: string]: string | number | undefined;
|
|
28
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
29
|
+
[x: string]: string | number | undefined;
|
|
30
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
31
|
+
export declare const Nav: import("@tamagui/core").StaticComponent<Omit<import("@tamagui/core").StackProps, never> & ({} | {
|
|
32
|
+
[x: string]: string | number | undefined;
|
|
33
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
34
|
+
[x: string]: string | number | undefined;
|
|
35
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
8
36
|
//# sourceMappingURL=Layouts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layouts.d.ts","sourceRoot":"","sources":["../../src/views/Layouts.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"Layouts.d.ts","sourceRoot":"","sources":["../../src/views/Layouts.tsx"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO;;;;yDAIlB,CAAA;AAEF,eAAO,MAAM,OAAO;;;;yDAGlB,CAAA;AAEF,eAAO,MAAM,IAAI;;;;yDAGf,CAAA;AAEF,eAAO,MAAM,MAAM;;;;yDAIjB,CAAA;AAEF,eAAO,MAAM,KAAK;;;;yDAIhB,CAAA;AAEF,eAAO,MAAM,MAAM;;;;yDAIjB,CAAA;AAEF,eAAO,MAAM,GAAG;;;;yDAId,CAAA"}
|
|
@@ -1,2 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
|
+
import { NativeLinearGradientProps } from './NativeLinearGradientProps';
|
|
3
|
+
export declare const LinearGradient: ({ colors, locations, start, end, ...props }: NativeLinearGradientProps) => ReactElement;
|
|
2
4
|
//# sourceMappingURL=LinearGradient.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinearGradient.d.ts","sourceRoot":"","sources":["../../src/views/LinearGradient.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LinearGradient.d.ts","sourceRoot":"","sources":["../../src/views/LinearGradient.tsx"],"names":[],"mappings":"AACA,OAAc,EAAE,YAAY,EAAY,MAAM,OAAO,CAAA;AAIrD,OAAO,EAA6B,yBAAyB,EAAE,MAAM,6BAA6B,CAAA;AAKlG,eAAO,MAAM,cAAc,gDAC0B,yBAAyB,KAAG,YA8DhF,CAAA"}
|
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { StackProps } from '@tamagui/core';
|
|
3
|
+
import { LinearGradientProps } from 'expo-linear-gradient';
|
|
4
|
+
export declare const LinearGradient: ({ start, end, colors, ...props }: StackProps & LinearGradientProps) => JSX.Element;
|
|
2
5
|
//# sourceMappingURL=LinearGradient.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LinearGradient.native.d.ts","sourceRoot":"","sources":["../../src/views/LinearGradient.native.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"LinearGradient.native.d.ts","sourceRoot":"","sources":["../../src/views/LinearGradient.native.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAS,UAAU,EAAE,MAAM,eAAe,CAAA;AACjD,OAAO,EAA0C,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAGlG,eAAO,MAAM,cAAc,qCACU,UAAU,GAAG,mBAAmB,gBAYpE,CAAA"}
|
package/types/views/Modal.d.ts
CHANGED
|
@@ -8,5 +8,15 @@ export declare type ModalProps = Omit<ModalPropsReact, 'children'> & AnimatedSta
|
|
|
8
8
|
children?: any | ((isOpen?: boolean) => any);
|
|
9
9
|
};
|
|
10
10
|
export declare const Modal: (props: ModalProps) => JSX.Element;
|
|
11
|
-
export declare const ModalYStack:
|
|
11
|
+
export declare const ModalYStack: import("@tamagui/core").StaticComponent<Omit<Omit<import("@tamagui/core").StackProps, "elevation" | "fullscreen"> & {
|
|
12
|
+
fullscreen?: boolean | undefined;
|
|
13
|
+
elevation?: `$${string}` | `$${number}` | undefined;
|
|
14
|
+
} & import("@tamagui/core").MediaProps<{
|
|
15
|
+
fullscreen?: boolean | undefined;
|
|
16
|
+
elevation?: `$${string}` | `$${number}` | undefined;
|
|
17
|
+
}>, never> & ({} | {
|
|
18
|
+
[x: string]: string | number | undefined;
|
|
19
|
+
}) & import("@tamagui/core").MediaProps<{} | {
|
|
20
|
+
[x: string]: string | number | undefined;
|
|
21
|
+
}>, any, import("@tamagui/core").StaticConfigParsed, any>;
|
|
12
22
|
//# sourceMappingURL=Modal.d.ts.map
|