@tamagui/list-item 1.0.1-beta.133 → 1.0.1-beta.136
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/list-item",
|
|
3
|
-
"version": "1.0.1-beta.
|
|
3
|
+
"version": "1.0.1-beta.136",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -19,16 +19,16 @@
|
|
|
19
19
|
"watch": "tamagui-build --watch"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@tamagui/core": "^1.0.1-beta.
|
|
23
|
-
"@tamagui/font-size": "^1.0.1-beta.
|
|
24
|
-
"@tamagui/helpers-tamagui": "^1.0.1-beta.
|
|
22
|
+
"@tamagui/core": "^1.0.1-beta.136",
|
|
23
|
+
"@tamagui/font-size": "^1.0.1-beta.136",
|
|
24
|
+
"@tamagui/helpers-tamagui": "^1.0.1-beta.136"
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"react": "*",
|
|
28
28
|
"react-dom": "*"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@tamagui/build": "^1.0.1-beta.
|
|
31
|
+
"@tamagui/build": "^1.0.1-beta.136",
|
|
32
32
|
"react": "*",
|
|
33
33
|
"react-dom": "*"
|
|
34
34
|
},
|
package/types/Button.d.ts
DELETED
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import { GetProps, ReactComponentWithRef, ThemeableProps } from '@tamagui/core';
|
|
2
|
-
import { SizableTextProps } from '@tamagui/text';
|
|
3
|
-
import { FunctionComponent } from 'react';
|
|
4
|
-
import { View } from 'react-native';
|
|
5
|
-
declare type ButtonIconProps = {
|
|
6
|
-
color?: string;
|
|
7
|
-
size?: number;
|
|
8
|
-
};
|
|
9
|
-
declare type IconProp = JSX.Element | FunctionComponent<ButtonIconProps> | null;
|
|
10
|
-
export declare type ButtonProps = GetProps<typeof ButtonFrame> & ThemeableProps & {
|
|
11
|
-
icon?: IconProp;
|
|
12
|
-
iconAfter?: IconProp;
|
|
13
|
-
scaleIcon?: number;
|
|
14
|
-
noTextWrap?: boolean;
|
|
15
|
-
spaceFlex?: number | boolean;
|
|
16
|
-
scaleSpace?: number;
|
|
17
|
-
color?: SizableTextProps['color'];
|
|
18
|
-
fontWeight?: SizableTextProps['fontWeight'];
|
|
19
|
-
fontSize?: SizableTextProps['fontSize'];
|
|
20
|
-
fontFamily?: SizableTextProps['fontFamily'];
|
|
21
|
-
letterSpacing?: SizableTextProps['letterSpacing'];
|
|
22
|
-
textAlign?: SizableTextProps['textAlign'];
|
|
23
|
-
textProps?: Partial<SizableTextProps>;
|
|
24
|
-
};
|
|
25
|
-
declare const ButtonFrame: import("@tamagui/core").TamaguiComponent<Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
26
|
-
fullscreen?: boolean | undefined;
|
|
27
|
-
elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
28
|
-
} & {
|
|
29
|
-
fontFamily?: unknown;
|
|
30
|
-
backgrounded?: boolean | undefined;
|
|
31
|
-
hoverable?: boolean | undefined;
|
|
32
|
-
pressable?: boolean | undefined;
|
|
33
|
-
focusable?: boolean | undefined;
|
|
34
|
-
circular?: boolean | undefined;
|
|
35
|
-
pad?: boolean | undefined;
|
|
36
|
-
elevate?: boolean | undefined;
|
|
37
|
-
bordered?: number | boolean | undefined;
|
|
38
|
-
transparent?: boolean | undefined;
|
|
39
|
-
chromeless?: boolean | undefined;
|
|
40
|
-
}, "disabled" | "size" | "active"> & {
|
|
41
|
-
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
42
|
-
active?: boolean | undefined;
|
|
43
|
-
disabled?: boolean | undefined;
|
|
44
|
-
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
45
|
-
fullscreen?: boolean | undefined;
|
|
46
|
-
elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
47
|
-
} & {
|
|
48
|
-
fontFamily?: unknown;
|
|
49
|
-
backgrounded?: boolean | undefined;
|
|
50
|
-
hoverable?: boolean | undefined;
|
|
51
|
-
pressable?: boolean | undefined;
|
|
52
|
-
focusable?: boolean | undefined;
|
|
53
|
-
circular?: boolean | undefined;
|
|
54
|
-
pad?: boolean | undefined;
|
|
55
|
-
elevate?: boolean | undefined;
|
|
56
|
-
bordered?: number | boolean | undefined;
|
|
57
|
-
transparent?: boolean | undefined;
|
|
58
|
-
chromeless?: boolean | undefined;
|
|
59
|
-
}, "disabled" | "size" | "active"> & {
|
|
60
|
-
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
61
|
-
active?: boolean | undefined;
|
|
62
|
-
disabled?: boolean | undefined;
|
|
63
|
-
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").ViewProps, "display" | "children"> & import("@tamagui/core").RNWViewProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & Omit<{
|
|
64
|
-
fullscreen?: boolean | undefined;
|
|
65
|
-
elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
66
|
-
} & {
|
|
67
|
-
fontFamily?: unknown;
|
|
68
|
-
backgrounded?: boolean | undefined;
|
|
69
|
-
hoverable?: boolean | undefined;
|
|
70
|
-
pressable?: boolean | undefined;
|
|
71
|
-
focusable?: boolean | undefined;
|
|
72
|
-
circular?: boolean | undefined;
|
|
73
|
-
pad?: boolean | undefined;
|
|
74
|
-
elevate?: boolean | undefined;
|
|
75
|
-
bordered?: number | boolean | undefined;
|
|
76
|
-
transparent?: boolean | undefined;
|
|
77
|
-
chromeless?: boolean | undefined;
|
|
78
|
-
}, "disabled" | "size" | "active"> & {
|
|
79
|
-
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
80
|
-
active?: boolean | undefined;
|
|
81
|
-
disabled?: boolean | undefined;
|
|
82
|
-
}>>, any, import("@tamagui/core").StackPropsBase, {
|
|
83
|
-
fullscreen?: boolean | undefined;
|
|
84
|
-
elevation?: import("@tamagui/core").SizeTokens | undefined;
|
|
85
|
-
} & {
|
|
86
|
-
fontFamily?: unknown;
|
|
87
|
-
backgrounded?: boolean | undefined;
|
|
88
|
-
hoverable?: boolean | undefined;
|
|
89
|
-
pressable?: boolean | undefined;
|
|
90
|
-
focusable?: boolean | undefined;
|
|
91
|
-
circular?: boolean | undefined;
|
|
92
|
-
pad?: boolean | undefined;
|
|
93
|
-
elevate?: boolean | undefined;
|
|
94
|
-
bordered?: number | boolean | undefined;
|
|
95
|
-
transparent?: boolean | undefined;
|
|
96
|
-
chromeless?: boolean | undefined;
|
|
97
|
-
} & {
|
|
98
|
-
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
99
|
-
active?: boolean | undefined;
|
|
100
|
-
disabled?: boolean | undefined;
|
|
101
|
-
}>;
|
|
102
|
-
export declare const ButtonText: import("@tamagui/core").TamaguiComponent<(Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{}, "size"> & {
|
|
103
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
104
|
-
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{}, "size"> & {
|
|
105
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
106
|
-
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{}, "size"> & {
|
|
107
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
108
|
-
}>>) | (Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
109
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
110
|
-
}, string | number> & {
|
|
111
|
-
[x: string]: undefined;
|
|
112
|
-
} & import("@tamagui/core").MediaProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
113
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
114
|
-
}, string | number> & {
|
|
115
|
-
[x: string]: undefined;
|
|
116
|
-
}>> & import("@tamagui/core").PseudoProps<Partial<Omit<import("react-native").TextProps, "children"> & import("@tamagui/core").RNWTextProps & import("@tamagui/core").TamaguiComponentPropsBase & import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").TextStylePropsBase>> & Omit<{
|
|
117
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
118
|
-
}, string | number> & {
|
|
119
|
-
[x: string]: undefined;
|
|
120
|
-
}>>), any, import("@tamagui/core").TextPropsBase, {
|
|
121
|
-
size?: import("@tamagui/core").FontSizeTokens | undefined;
|
|
122
|
-
} & ({} | {
|
|
123
|
-
[x: string]: undefined;
|
|
124
|
-
})>;
|
|
125
|
-
export declare const Button: ReactComponentWithRef<ButtonProps, HTMLButtonElement | View>;
|
|
126
|
-
export {};
|
|
127
|
-
//# sourceMappingURL=Button.d.ts.map
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ColorTokens, ThemeValueFallback } from '@tamagui/core';
|
|
2
|
-
import { TextStyle } from 'react-native';
|
|
3
|
-
export declare const useCurrentColor: (colorProp: ColorProp) => any;
|
|
4
|
-
export declare type ColorProp = ThemeValueFallback | ColorTokens | TextStyle['color'] | undefined;
|
|
5
|
-
//# sourceMappingURL=useCurrentColor.d.ts.map
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { SizeTokens } from '@tamagui/core';
|
|
2
|
-
import React from 'react';
|
|
3
|
-
import { TextOnlyStyles } from './ListItem';
|
|
4
|
-
export declare function wrapStringChildrenInText({ children, textProps, size, noTextWrap, ...directTextProps }: TextOnlyStyles & {
|
|
5
|
-
children?: React.ReactNode;
|
|
6
|
-
size?: SizeTokens;
|
|
7
|
-
}): React.ReactNode;
|
|
8
|
-
//# sourceMappingURL=wrapStringChildrenInText.d.ts.map
|