@tamagui/scroll-view
Advanced tools
Comparing version 1.5.9 to 1.5.10
@@ -24,15 +24,21 @@ "use strict"; | ||
module.exports = __toCommonJS(ScrollView_exports); | ||
var import_core = require("@tamagui/core"); | ||
var import_core2 = require("@tamagui/core"); | ||
var import_stacks = require("@tamagui/stacks"); | ||
var import_web = require("@tamagui/web"); | ||
var import_react_native = require("react-native"); | ||
(0, import_core2.setupReactNative)({ | ||
(0, import_web.setupReactNative)({ | ||
ScrollView: import_react_native.ScrollView | ||
}); | ||
const ScrollView = (0, import_core.styled)( | ||
const ScrollView = (0, import_web.styled)( | ||
import_react_native.ScrollView, | ||
{ | ||
name: "ScrollView", | ||
scrollEnabled: true | ||
scrollEnabled: true, | ||
variants: { | ||
fullscreen: { | ||
true: import_stacks.fullscreenStyle | ||
} | ||
} | ||
}, | ||
{ | ||
// this maybe not necesssary since setupReactNative is called? | ||
isReactNative: true | ||
@@ -39,0 +45,0 @@ } |
@@ -1,3 +0,3 @@ | ||
import { styled } from "@tamagui/core"; | ||
import { setupReactNative } from "@tamagui/core"; | ||
import { fullscreenStyle } from "@tamagui/stacks"; | ||
import { setupReactNative, styled } from "@tamagui/web"; | ||
import { ScrollView as ScrollViewNative } from "react-native"; | ||
@@ -11,5 +11,11 @@ setupReactNative({ | ||
name: "ScrollView", | ||
scrollEnabled: true | ||
scrollEnabled: true, | ||
variants: { | ||
fullscreen: { | ||
true: fullscreenStyle | ||
} | ||
} | ||
}, | ||
{ | ||
// this maybe not necesssary since setupReactNative is called? | ||
isReactNative: true | ||
@@ -16,0 +22,0 @@ } |
@@ -1,3 +0,3 @@ | ||
import { styled } from "@tamagui/core"; | ||
import { setupReactNative } from "@tamagui/core"; | ||
import { fullscreenStyle } from "@tamagui/stacks"; | ||
import { setupReactNative, styled } from "@tamagui/web"; | ||
import { ScrollView as ScrollViewNative } from "react-native"; | ||
@@ -11,5 +11,11 @@ setupReactNative({ | ||
name: "ScrollView", | ||
scrollEnabled: true | ||
scrollEnabled: true, | ||
variants: { | ||
fullscreen: { | ||
true: fullscreenStyle | ||
} | ||
} | ||
}, | ||
{ | ||
// this maybe not necesssary since setupReactNative is called? | ||
isReactNative: true | ||
@@ -16,0 +22,0 @@ } |
{ | ||
"name": "@tamagui/scroll-view", | ||
"version": "1.5.9", | ||
"version": "1.5.10", | ||
"sideEffects": [ | ||
@@ -24,3 +24,4 @@ "*.css" | ||
"dependencies": { | ||
"@tamagui/core": "^1.5.9" | ||
"@tamagui/stacks": "^1.5.10", | ||
"@tamagui/web": "^1.5.10" | ||
}, | ||
@@ -32,3 +33,3 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@tamagui/build": "^1.5.9", | ||
"@tamagui/build": "^1.5.10", | ||
"react": "^18.2.0", | ||
@@ -35,0 +36,0 @@ "react-dom": "^18.2.0" |
@@ -1,12 +0,12 @@ | ||
import { GetProps } from '@tamagui/core'; | ||
export declare const ScrollView: import("@tamagui/core").TamaguiComponent<(import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps>) | (import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, string | number> & { | ||
[x: string]: undefined; | ||
} & import("@tamagui/core").MediaProps<Partial<import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, string | number> & { | ||
[x: string]: undefined; | ||
}>> & import("@tamagui/core").PseudoProps<Partial<import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, string | number> & { | ||
[x: string]: undefined; | ||
}>>), import("@tamagui/core").TamaguiElement, import("react-native").ScrollViewProps & Omit<import("@tamagui/core").StackProps, keyof import("react-native").ScrollViewProps>, {} | { | ||
[x: string]: undefined; | ||
import { GetProps } from '@tamagui/web'; | ||
export declare const ScrollView: import("@tamagui/web").TamaguiComponent<import("react-native").ScrollViewProps & Omit<import("@tamagui/web").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, "fullscreen"> & { | ||
readonly fullscreen?: boolean | undefined; | ||
} & import("@tamagui/web").MediaProps<Partial<import("react-native").ScrollViewProps & Omit<import("@tamagui/web").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, "fullscreen"> & { | ||
readonly fullscreen?: boolean | undefined; | ||
}>> & import("@tamagui/web").PseudoProps<Partial<import("react-native").ScrollViewProps & Omit<import("@tamagui/web").StackProps, keyof import("react-native").ScrollViewProps> & Omit<{}, "fullscreen"> & { | ||
readonly fullscreen?: boolean | undefined; | ||
}>>, import("@tamagui/web").TamaguiElement, import("react-native").ScrollViewProps & Omit<import("@tamagui/web").StackProps, keyof import("react-native").ScrollViewProps>, { | ||
readonly fullscreen?: boolean | undefined; | ||
}>; | ||
export type ScrollViewProps = GetProps<typeof ScrollView>; | ||
//# sourceMappingURL=ScrollView.d.ts.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
23387
36
349
4
+ Added@tamagui/stacks@^1.5.10
+ Added@tamagui/web@^1.5.10
+ Added@tamagui/stacks@1.112.22(transitive)
- Removed@tamagui/core@^1.5.9