@tamagui/core 1.75.7 → 1.75.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/core",
3
- "version": "1.75.7",
3
+ "version": "1.75.8",
4
4
  "source": "src/index.tsx",
5
5
  "main": "dist/cjs",
6
6
  "module": "dist/esm",
@@ -35,16 +35,16 @@
35
35
  "native-test.d.ts"
36
36
  ],
37
37
  "dependencies": {
38
- "@tamagui/react-native-use-pressable": "1.75.7",
39
- "@tamagui/react-native-use-responder-events": "1.75.7",
40
- "@tamagui/use-event": "1.75.7",
41
- "@tamagui/web": "1.75.7"
38
+ "@tamagui/react-native-use-pressable": "1.75.8",
39
+ "@tamagui/react-native-use-responder-events": "1.75.8",
40
+ "@tamagui/use-event": "1.75.8",
41
+ "@tamagui/web": "1.75.8"
42
42
  },
43
43
  "peerDependencies": {
44
44
  "react": "*"
45
45
  },
46
46
  "devDependencies": {
47
- "@tamagui/build": "1.75.7",
47
+ "@tamagui/build": "1.75.8",
48
48
  "@testing-library/react": "^14.0.0",
49
49
  "csstype": "^3.0.10",
50
50
  "react": "^18.2.0",
package/src/index.tsx CHANGED
@@ -11,6 +11,7 @@ import type {
11
11
  import {
12
12
  Stack as WebStack,
13
13
  Text as WebText,
14
+ View as WebView,
14
15
  composeEventHandlers,
15
16
  setupHooks,
16
17
  } from '@tamagui/web'
@@ -33,6 +34,13 @@ export * from './reactNativeTypes'
33
34
 
34
35
  type RNExclusiveViewProps = Omit<RNViewProps, keyof StackProps>
35
36
 
37
+ export const View = WebView as any as TamaguiComponent<
38
+ StackProps & RNExclusiveViewProps,
39
+ TamaguiElement,
40
+ StackPropsBase & RNExclusiveViewProps,
41
+ void
42
+ >
43
+
36
44
  export const Stack = WebStack as any as TamaguiComponent<
37
45
  StackProps & RNExclusiveViewProps,
38
46
  TamaguiElement,
package/types/index.d.ts CHANGED
@@ -4,6 +4,11 @@ import { RNTextProps, RNViewProps } from './reactNativeTypes';
4
4
  export * from '@tamagui/web';
5
5
  export * from './reactNativeTypes';
6
6
  type RNExclusiveViewProps = Omit<RNViewProps, keyof StackProps>;
7
+ export declare const View: TamaguiComponent<Omit<import("react-native").ViewProps, "style" | "display" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & import("@tamagui/web").TamaguiComponentPropsBaseBase & {
8
+ style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
9
+ } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/web").PseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>>> & import("@tamagui/web").MediaProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/web").PseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>>>> & RNExclusiveViewProps, TamaguiElement, Omit<import("react-native").ViewProps, "style" | "display" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & import("@tamagui/web").TamaguiComponentPropsBaseBase & {
10
+ style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
11
+ } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & RNExclusiveViewProps, void>;
7
12
  export declare const Stack: TamaguiComponent<Omit<import("react-native").ViewProps, "style" | "display" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & import("@tamagui/web").TamaguiComponentPropsBaseBase & {
8
13
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
9
14
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/web").PseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>>> & import("@tamagui/web").MediaProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & import("@tamagui/web").PseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>>>> & RNExclusiveViewProps, TamaguiElement, Omit<import("react-native").ViewProps, "style" | "display" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers)> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & import("@tamagui/web").TamaguiComponentPropsBaseBase & {
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EACV,UAAU,EAEV,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,SAAS,EAEV,MAAM,cAAc,CAAA;AAarB,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAI7D,cAAc,cAAc,CAAA;AAG5B,cAAc,oBAAoB,CAAA;AAIlC,KAAK,oBAAoB,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,UAAU,CAAC,CAAA;AAE/D,eAAO,MAAM,KAAK;;;;gPAKjB,CAAA;AAED,KAAK,oBAAoB,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,SAAS,CAAC,CAAA;AAE9D,eAAO,MAAM,IAAI;;;;8OAKhB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.tsx"],"names":[],"mappings":";AACA,OAAO,KAAK,EACV,UAAU,EAEV,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAClB,SAAS,EAEV,MAAM,cAAc,CAAA;AAcrB,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAI7D,cAAc,cAAc,CAAA;AAG5B,cAAc,oBAAoB,CAAA;AAIlC,KAAK,oBAAoB,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,UAAU,CAAC,CAAA;AAE/D,eAAO,MAAM,IAAI;;;;gPAKhB,CAAA;AAED,eAAO,MAAM,KAAK;;;;gPAKjB,CAAA;AAED,KAAK,oBAAoB,GAAG,IAAI,CAAC,WAAW,EAAE,MAAM,SAAS,CAAC,CAAA;AAE9D,eAAO,MAAM,IAAI;;;;8OAKhB,CAAA"}