@tamagui/core 1.72.3 → 1.73.1

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.72.3",
3
+ "version": "1.73.1",
4
4
  "source": "src/index.ts",
5
5
  "main": "dist/cjs",
6
6
  "module": "dist/esm",
@@ -36,16 +36,16 @@
36
36
  "native-test.d.ts"
37
37
  ],
38
38
  "dependencies": {
39
- "@tamagui/react-native-use-pressable": "1.72.3",
40
- "@tamagui/react-native-use-responder-events": "1.72.3",
41
- "@tamagui/use-event": "1.72.3",
42
- "@tamagui/web": "1.72.3"
39
+ "@tamagui/react-native-use-pressable": "1.73.1",
40
+ "@tamagui/react-native-use-responder-events": "1.73.1",
41
+ "@tamagui/use-event": "1.73.1",
42
+ "@tamagui/web": "1.73.1"
43
43
  },
44
44
  "peerDependencies": {
45
45
  "react": "*"
46
46
  },
47
47
  "devDependencies": {
48
- "@tamagui/build": "1.72.3",
48
+ "@tamagui/build": "1.73.1",
49
49
  "@testing-library/react": "^14.0.0",
50
50
  "csstype": "^3.0.10",
51
51
  "react": "^18.2.0",
package/types/index.d.ts CHANGED
@@ -3,14 +3,114 @@ import type { TamaguiComponent, TamaguiElement, TamaguiTextElement } from '@tama
3
3
  import { RNViewProps } from './reactNativeTypes';
4
4
  export * from '@tamagui/web';
5
5
  export * from './reactNativeTypes';
6
- export declare const Stack: TamaguiComponent<Omit<import("react-native").ViewProps, "display" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers) | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
6
+ export declare const Stack: TamaguiComponent<Omit<import("react-native").ViewProps, "display" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers) | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & {
7
+ target?: string | undefined;
8
+ hitSlop?: number | import("react-native").Insets | null | undefined;
9
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
10
+ dangerouslySetInnerHTML?: {
11
+ __html: string;
12
+ } | undefined;
13
+ children?: any;
14
+ debug?: import("@tamagui/web").DebugProp | undefined;
15
+ disabled?: boolean | undefined;
16
+ className?: string | undefined;
17
+ themeShallow?: boolean | undefined;
18
+ id?: string | undefined;
19
+ tag?: string | undefined;
20
+ theme?: string | null | undefined;
21
+ group?: undefined;
22
+ untilMeasured?: "hide" | "show" | undefined;
23
+ componentName?: string | undefined;
24
+ tabIndex?: string | number | undefined;
25
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
26
+ disableOptimization?: boolean | undefined;
27
+ forceStyle?: "hover" | "press" | "focus" | undefined;
28
+ disableClassName?: boolean | undefined;
29
+ onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
30
+ onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
31
+ } & {
7
32
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
8
- } & 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>>>> & RNViewProps, TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers) | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").TamaguiComponentPropsBase & {
33
+ } & 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>>>> & RNViewProps, TamaguiElement, Omit<import("react-native").ViewProps, "display" | "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers) | "style"> & import("@tamagui/web").ExtendBaseStackProps & import("@tamagui/web").WebOnlyPressEvents & {
34
+ target?: string | undefined;
35
+ hitSlop?: number | import("react-native").Insets | null | undefined;
36
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
37
+ dangerouslySetInnerHTML?: {
38
+ __html: string;
39
+ } | undefined;
40
+ children?: any;
41
+ debug?: import("@tamagui/web").DebugProp | undefined;
42
+ disabled?: boolean | undefined;
43
+ className?: string | undefined;
44
+ themeShallow?: boolean | undefined;
45
+ id?: string | undefined;
46
+ tag?: string | undefined;
47
+ theme?: string | null | undefined;
48
+ group?: undefined;
49
+ untilMeasured?: "hide" | "show" | undefined;
50
+ componentName?: string | undefined;
51
+ tabIndex?: string | number | undefined;
52
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
53
+ disableOptimization?: boolean | undefined;
54
+ forceStyle?: "hover" | "press" | "focus" | undefined;
55
+ disableClassName?: boolean | undefined;
56
+ onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
57
+ onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
58
+ } & {
9
59
  style?: import("@tamagui/web").StyleProp<import("react-native").ViewStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").ViewStyle)>;
10
60
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStylePropsBase>> & RNViewProps>;
11
- export declare const Text: TamaguiComponent<Omit<import("react-native").TextProps, "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers) | "style"> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").TamaguiComponentPropsBase & {
61
+ export declare const Text: TamaguiComponent<Omit<import("react-native").TextProps, "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers) | "style"> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & {
62
+ target?: string | undefined;
63
+ hitSlop?: number | import("react-native").Insets | null | undefined;
64
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
65
+ dangerouslySetInnerHTML?: {
66
+ __html: string;
67
+ } | undefined;
68
+ children?: any;
69
+ debug?: import("@tamagui/web").DebugProp | undefined;
70
+ disabled?: boolean | undefined;
71
+ className?: string | undefined;
72
+ themeShallow?: boolean | undefined;
73
+ id?: string | undefined;
74
+ tag?: string | undefined;
75
+ theme?: string | null | undefined;
76
+ group?: undefined;
77
+ untilMeasured?: "hide" | "show" | undefined;
78
+ componentName?: string | undefined;
79
+ tabIndex?: string | number | undefined;
80
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
81
+ disableOptimization?: boolean | undefined;
82
+ forceStyle?: "hover" | "press" | "focus" | undefined;
83
+ disableClassName?: boolean | undefined;
84
+ onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
85
+ onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
86
+ } & {
12
87
  style?: import("@tamagui/web").StyleProp<import("react-native").TextStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").TextStyle)>;
13
- } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & import("@tamagui/web").PseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>>> & import("@tamagui/web").MediaProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & import("@tamagui/web").PseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>>>>, TamaguiTextElement, Omit<import("react-native").TextProps, "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers) | "style"> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").TamaguiComponentPropsBase & {
88
+ } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & import("@tamagui/web").PseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>>> & import("@tamagui/web").MediaProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & import("@tamagui/web").PseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>>>>, TamaguiTextElement, Omit<import("react-native").TextProps, "children" | ("onLayout" | keyof import("react-native").GestureResponderHandlers) | "style"> & import("@tamagui/web").ExtendBaseTextProps & import("@tamagui/web").WebOnlyPressEvents & {
89
+ target?: string | undefined;
90
+ hitSlop?: number | import("react-native").Insets | null | undefined;
91
+ asChild?: boolean | "web" | "except-style" | "except-style-web" | undefined;
92
+ dangerouslySetInnerHTML?: {
93
+ __html: string;
94
+ } | undefined;
95
+ children?: any;
96
+ debug?: import("@tamagui/web").DebugProp | undefined;
97
+ disabled?: boolean | undefined;
98
+ className?: string | undefined;
99
+ themeShallow?: boolean | undefined;
100
+ id?: string | undefined;
101
+ tag?: string | undefined;
102
+ theme?: string | null | undefined;
103
+ group?: undefined;
104
+ untilMeasured?: "hide" | "show" | undefined;
105
+ componentName?: string | undefined;
106
+ tabIndex?: string | number | undefined;
107
+ role?: import("@tamagui/web/types/interfaces/Role").Role | undefined;
108
+ disableOptimization?: boolean | undefined;
109
+ forceStyle?: "hover" | "press" | "focus" | undefined;
110
+ disableClassName?: boolean | undefined;
111
+ onFocus?: ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
112
+ onScroll?: ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
113
+ } & {
14
114
  style?: import("@tamagui/web").StyleProp<import("react-native").TextStyle | import("react").CSSProperties | (import("react").CSSProperties & import("react-native").TextStyle)>;
15
115
  } & import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & import("@tamagui/web").PseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>>> & import("@tamagui/web").MediaProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>> & import("@tamagui/web").PseudoProps<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>>>>>;
16
116
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EAGV,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAGnB,MAAM,cAAc,CAAA;AAYrB,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAIhD,cAAc,cAAc,CAAA;AAG5B,cAAc,oBAAoB,CAAA;AAIlC,eAAO,MAAM,KAAK;;;;iOAIjB,CAAA;AAED,eAAO,MAAM,IAAI;;;;y6BAIhB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EAGV,gBAAgB,EAChB,cAAc,EACd,kBAAkB,EAGnB,MAAM,cAAc,CAAA;AAYrB,OAAO,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AAIhD,cAAc,cAAc,CAAA;AAG5B,cAAc,oBAAoB,CAAA;AAIlC,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iOAIjB,CAAA;AAED,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;y6BAIhB,CAAA"}