@tamagui/group 1.142.0 → 2.0.0-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/dist/cjs/Group.cjs +9 -5
- package/dist/cjs/Group.js +11 -7
- package/dist/cjs/Group.js.map +1 -1
- package/dist/cjs/Group.native.js +9 -5
- package/dist/cjs/Group.native.js.map +1 -1
- package/dist/esm/Group.js +12 -13
- package/dist/esm/Group.js.map +1 -1
- package/dist/esm/Group.mjs +10 -6
- package/dist/esm/Group.mjs.map +1 -1
- package/dist/esm/Group.native.js +10 -6
- package/dist/esm/Group.native.js.map +1 -1
- package/dist/jsx/Group.js +12 -13
- package/dist/jsx/Group.js.map +1 -1
- package/dist/jsx/Group.mjs +10 -6
- package/dist/jsx/Group.mjs.map +1 -1
- package/dist/jsx/Group.native.js +9 -5
- package/dist/jsx/Group.native.js.map +1 -1
- package/package.json +8 -7
- package/src/Group.tsx +15 -17
- package/types/Group.d.ts +215 -295
- package/types/Group.d.ts.map +1 -1
package/types/Group.d.ts
CHANGED
|
@@ -1,35 +1,15 @@
|
|
|
1
1
|
import type { GetProps } from '@tamagui/core';
|
|
2
2
|
import type { Scope } from '@tamagui/create-context';
|
|
3
3
|
import React from 'react';
|
|
4
|
+
import { type SpaceProps } from '@tamagui/spacer';
|
|
4
5
|
type DisablePassBorderRadius = boolean | 'bottom' | 'top' | 'start' | 'end';
|
|
5
6
|
export declare const GroupFrame: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
6
7
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
7
|
-
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
8
|
-
top?: number;
|
|
9
|
-
bottom?: number;
|
|
10
|
-
left?: number;
|
|
11
|
-
right?: number;
|
|
12
|
-
} | null | undefined;
|
|
13
|
-
transparent?: boolean | undefined;
|
|
14
8
|
fullscreen?: boolean | undefined;
|
|
15
|
-
circular?: boolean | undefined;
|
|
16
|
-
hoverTheme?: boolean | undefined;
|
|
17
|
-
pressTheme?: boolean | undefined;
|
|
18
|
-
focusTheme?: boolean | undefined;
|
|
19
|
-
elevate?: boolean | undefined;
|
|
20
|
-
bordered?: number | boolean | undefined;
|
|
21
|
-
backgrounded?: boolean | undefined;
|
|
22
|
-
radiused?: boolean | undefined;
|
|
23
|
-
padded?: boolean | undefined;
|
|
24
|
-
chromeless?: boolean | "all" | undefined;
|
|
25
9
|
size?: any;
|
|
26
10
|
unstyled?: boolean | undefined;
|
|
27
11
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
28
|
-
export type GroupExtraProps = {
|
|
29
|
-
/**
|
|
30
|
-
* @deprecated use `orientation` instead
|
|
31
|
-
*/
|
|
32
|
-
axis?: 'horizontal' | 'vertical';
|
|
12
|
+
export type GroupExtraProps = SpaceProps & {
|
|
33
13
|
orientation?: 'horizontal' | 'vertical';
|
|
34
14
|
scrollable?: boolean;
|
|
35
15
|
/**
|
|
@@ -57,123 +37,103 @@ export declare const useGroupItem: (childrenProps: {
|
|
|
57
37
|
}, forcePlacement?: GroupItemProps["forcePlacement"], __scopeGroup?: Scope) => Record<string, any>;
|
|
58
38
|
export declare const Group: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
59
39
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
60
|
-
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
61
|
-
top?: number;
|
|
62
|
-
bottom?: number;
|
|
63
|
-
left?: number;
|
|
64
|
-
right?: number;
|
|
65
|
-
} | null | undefined;
|
|
66
|
-
transparent?: boolean | undefined;
|
|
67
40
|
fullscreen?: boolean | undefined;
|
|
68
|
-
circular?: boolean | undefined;
|
|
69
|
-
hoverTheme?: boolean | undefined;
|
|
70
|
-
pressTheme?: boolean | undefined;
|
|
71
|
-
focusTheme?: boolean | undefined;
|
|
72
|
-
elevate?: boolean | undefined;
|
|
73
|
-
bordered?: number | boolean | undefined;
|
|
74
|
-
backgrounded?: boolean | undefined;
|
|
75
|
-
radiused?: boolean | undefined;
|
|
76
|
-
padded?: boolean | undefined;
|
|
77
|
-
chromeless?: boolean | "all" | undefined;
|
|
78
41
|
size?: any;
|
|
79
42
|
unstyled?: boolean | undefined;
|
|
80
|
-
}>, keyof
|
|
43
|
+
}>, "disabled" | keyof SpaceProps | "orientation" | "scrollable" | "showScrollIndicator" | "disablePassBorderRadius" | "forceUseItem" | "__scopeGroup"> & SpaceProps & {
|
|
44
|
+
orientation?: "horizontal" | "vertical";
|
|
45
|
+
scrollable?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* @default false
|
|
48
|
+
*/
|
|
49
|
+
showScrollIndicator?: boolean;
|
|
50
|
+
disabled?: boolean;
|
|
51
|
+
disablePassBorderRadius?: DisablePassBorderRadius;
|
|
52
|
+
/**
|
|
53
|
+
* forces the group to use the Group.Item API
|
|
54
|
+
*/
|
|
55
|
+
forceUseItem?: boolean;
|
|
56
|
+
} & {
|
|
81
57
|
__scopeGroup?: Scope;
|
|
82
58
|
} & React.RefAttributes<import("@tamagui/core").TamaguiElement>> & import("@tamagui/core").StaticComponentObject<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
83
59
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
84
|
-
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
85
|
-
top?: number;
|
|
86
|
-
bottom?: number;
|
|
87
|
-
left?: number;
|
|
88
|
-
right?: number;
|
|
89
|
-
} | null | undefined;
|
|
90
|
-
transparent?: boolean | undefined;
|
|
91
60
|
fullscreen?: boolean | undefined;
|
|
92
|
-
circular?: boolean | undefined;
|
|
93
|
-
hoverTheme?: boolean | undefined;
|
|
94
|
-
pressTheme?: boolean | undefined;
|
|
95
|
-
focusTheme?: boolean | undefined;
|
|
96
|
-
elevate?: boolean | undefined;
|
|
97
|
-
bordered?: number | boolean | undefined;
|
|
98
|
-
backgrounded?: boolean | undefined;
|
|
99
|
-
radiused?: boolean | undefined;
|
|
100
|
-
padded?: boolean | undefined;
|
|
101
|
-
chromeless?: boolean | "all" | undefined;
|
|
102
61
|
size?: any;
|
|
103
62
|
unstyled?: boolean | undefined;
|
|
104
|
-
}>, keyof
|
|
63
|
+
}>, "disabled" | keyof SpaceProps | "orientation" | "scrollable" | "showScrollIndicator" | "disablePassBorderRadius" | "forceUseItem" | "__scopeGroup"> & SpaceProps & {
|
|
64
|
+
orientation?: "horizontal" | "vertical";
|
|
65
|
+
scrollable?: boolean;
|
|
66
|
+
/**
|
|
67
|
+
* @default false
|
|
68
|
+
*/
|
|
69
|
+
showScrollIndicator?: boolean;
|
|
70
|
+
disabled?: boolean;
|
|
71
|
+
disablePassBorderRadius?: DisablePassBorderRadius;
|
|
72
|
+
/**
|
|
73
|
+
* forces the group to use the Group.Item API
|
|
74
|
+
*/
|
|
75
|
+
forceUseItem?: boolean;
|
|
76
|
+
} & {
|
|
105
77
|
__scopeGroup?: Scope;
|
|
106
|
-
}, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps &
|
|
78
|
+
}, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & SpaceProps & {
|
|
79
|
+
orientation?: "horizontal" | "vertical";
|
|
80
|
+
scrollable?: boolean;
|
|
81
|
+
/**
|
|
82
|
+
* @default false
|
|
83
|
+
*/
|
|
84
|
+
showScrollIndicator?: boolean;
|
|
85
|
+
disabled?: boolean;
|
|
86
|
+
disablePassBorderRadius?: DisablePassBorderRadius;
|
|
87
|
+
/**
|
|
88
|
+
* forces the group to use the Group.Item API
|
|
89
|
+
*/
|
|
90
|
+
forceUseItem?: boolean;
|
|
91
|
+
} & {
|
|
107
92
|
__scopeGroup?: Scope;
|
|
108
93
|
}, import("@tamagui/core").StackStyleBase, {
|
|
109
94
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
110
|
-
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
111
|
-
top?: number;
|
|
112
|
-
bottom?: number;
|
|
113
|
-
left?: number;
|
|
114
|
-
right?: number;
|
|
115
|
-
} | null | undefined;
|
|
116
|
-
transparent?: boolean | undefined;
|
|
117
95
|
fullscreen?: boolean | undefined;
|
|
118
|
-
circular?: boolean | undefined;
|
|
119
|
-
hoverTheme?: boolean | undefined;
|
|
120
|
-
pressTheme?: boolean | undefined;
|
|
121
|
-
focusTheme?: boolean | undefined;
|
|
122
|
-
elevate?: boolean | undefined;
|
|
123
|
-
bordered?: number | boolean | undefined;
|
|
124
|
-
backgrounded?: boolean | undefined;
|
|
125
|
-
radiused?: boolean | undefined;
|
|
126
|
-
padded?: boolean | undefined;
|
|
127
|
-
chromeless?: boolean | "all" | undefined;
|
|
128
96
|
size?: any;
|
|
129
97
|
unstyled?: boolean | undefined;
|
|
130
|
-
}, import("@tamagui/core").StaticConfigPublic> & Omit<import("@tamagui/core").StaticConfigPublic, "staticConfig" | "
|
|
98
|
+
}, import("@tamagui/core").StaticConfigPublic> & Omit<import("@tamagui/core").StaticConfigPublic, "staticConfig" | "styleable"> & {
|
|
131
99
|
__tama: [Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
132
100
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
133
|
-
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
134
|
-
top?: number;
|
|
135
|
-
bottom?: number;
|
|
136
|
-
left?: number;
|
|
137
|
-
right?: number;
|
|
138
|
-
} | null | undefined;
|
|
139
|
-
transparent?: boolean | undefined;
|
|
140
101
|
fullscreen?: boolean | undefined;
|
|
141
|
-
circular?: boolean | undefined;
|
|
142
|
-
hoverTheme?: boolean | undefined;
|
|
143
|
-
pressTheme?: boolean | undefined;
|
|
144
|
-
focusTheme?: boolean | undefined;
|
|
145
|
-
elevate?: boolean | undefined;
|
|
146
|
-
bordered?: number | boolean | undefined;
|
|
147
|
-
backgrounded?: boolean | undefined;
|
|
148
|
-
radiused?: boolean | undefined;
|
|
149
|
-
padded?: boolean | undefined;
|
|
150
|
-
chromeless?: boolean | "all" | undefined;
|
|
151
102
|
size?: any;
|
|
152
103
|
unstyled?: boolean | undefined;
|
|
153
|
-
}>, keyof
|
|
104
|
+
}>, "disabled" | keyof SpaceProps | "orientation" | "scrollable" | "showScrollIndicator" | "disablePassBorderRadius" | "forceUseItem" | "__scopeGroup"> & SpaceProps & {
|
|
105
|
+
orientation?: "horizontal" | "vertical";
|
|
106
|
+
scrollable?: boolean;
|
|
107
|
+
/**
|
|
108
|
+
* @default false
|
|
109
|
+
*/
|
|
110
|
+
showScrollIndicator?: boolean;
|
|
111
|
+
disabled?: boolean;
|
|
112
|
+
disablePassBorderRadius?: DisablePassBorderRadius;
|
|
113
|
+
/**
|
|
114
|
+
* forces the group to use the Group.Item API
|
|
115
|
+
*/
|
|
116
|
+
forceUseItem?: boolean;
|
|
117
|
+
} & {
|
|
154
118
|
__scopeGroup?: Scope;
|
|
155
|
-
}, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps &
|
|
119
|
+
}, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & SpaceProps & {
|
|
120
|
+
orientation?: "horizontal" | "vertical";
|
|
121
|
+
scrollable?: boolean;
|
|
122
|
+
/**
|
|
123
|
+
* @default false
|
|
124
|
+
*/
|
|
125
|
+
showScrollIndicator?: boolean;
|
|
126
|
+
disabled?: boolean;
|
|
127
|
+
disablePassBorderRadius?: DisablePassBorderRadius;
|
|
128
|
+
/**
|
|
129
|
+
* forces the group to use the Group.Item API
|
|
130
|
+
*/
|
|
131
|
+
forceUseItem?: boolean;
|
|
132
|
+
} & {
|
|
156
133
|
__scopeGroup?: Scope;
|
|
157
134
|
}, import("@tamagui/core").StackStyleBase, {
|
|
158
135
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
159
|
-
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
160
|
-
top?: number;
|
|
161
|
-
bottom?: number;
|
|
162
|
-
left?: number;
|
|
163
|
-
right?: number;
|
|
164
|
-
} | null | undefined;
|
|
165
|
-
transparent?: boolean | undefined;
|
|
166
136
|
fullscreen?: boolean | undefined;
|
|
167
|
-
circular?: boolean | undefined;
|
|
168
|
-
hoverTheme?: boolean | undefined;
|
|
169
|
-
pressTheme?: boolean | undefined;
|
|
170
|
-
focusTheme?: boolean | undefined;
|
|
171
|
-
elevate?: boolean | undefined;
|
|
172
|
-
bordered?: number | boolean | undefined;
|
|
173
|
-
backgrounded?: boolean | undefined;
|
|
174
|
-
radiused?: boolean | undefined;
|
|
175
|
-
padded?: boolean | undefined;
|
|
176
|
-
chromeless?: boolean | "all" | undefined;
|
|
177
137
|
size?: any;
|
|
178
138
|
unstyled?: boolean | undefined;
|
|
179
139
|
}, import("@tamagui/core").StaticConfigPublic];
|
|
@@ -184,123 +144,103 @@ export declare const Group: React.ForwardRefExoticComponent<Omit<import("@tamagu
|
|
|
184
144
|
};
|
|
185
145
|
export declare const YGroup: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
186
146
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
187
|
-
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
188
|
-
top?: number;
|
|
189
|
-
bottom?: number;
|
|
190
|
-
left?: number;
|
|
191
|
-
right?: number;
|
|
192
|
-
} | null | undefined;
|
|
193
|
-
transparent?: boolean | undefined;
|
|
194
147
|
fullscreen?: boolean | undefined;
|
|
195
|
-
circular?: boolean | undefined;
|
|
196
|
-
hoverTheme?: boolean | undefined;
|
|
197
|
-
pressTheme?: boolean | undefined;
|
|
198
|
-
focusTheme?: boolean | undefined;
|
|
199
|
-
elevate?: boolean | undefined;
|
|
200
|
-
bordered?: number | boolean | undefined;
|
|
201
|
-
backgrounded?: boolean | undefined;
|
|
202
|
-
radiused?: boolean | undefined;
|
|
203
|
-
padded?: boolean | undefined;
|
|
204
|
-
chromeless?: boolean | "all" | undefined;
|
|
205
148
|
size?: any;
|
|
206
149
|
unstyled?: boolean | undefined;
|
|
207
|
-
}>, keyof
|
|
150
|
+
}>, "disabled" | keyof SpaceProps | "orientation" | "scrollable" | "showScrollIndicator" | "disablePassBorderRadius" | "forceUseItem" | "__scopeGroup"> & SpaceProps & {
|
|
151
|
+
orientation?: "horizontal" | "vertical";
|
|
152
|
+
scrollable?: boolean;
|
|
153
|
+
/**
|
|
154
|
+
* @default false
|
|
155
|
+
*/
|
|
156
|
+
showScrollIndicator?: boolean;
|
|
157
|
+
disabled?: boolean;
|
|
158
|
+
disablePassBorderRadius?: DisablePassBorderRadius;
|
|
159
|
+
/**
|
|
160
|
+
* forces the group to use the Group.Item API
|
|
161
|
+
*/
|
|
162
|
+
forceUseItem?: boolean;
|
|
163
|
+
} & {
|
|
208
164
|
__scopeGroup?: Scope;
|
|
209
165
|
} & React.RefAttributes<import("@tamagui/core").TamaguiElement>> & import("@tamagui/core").StaticComponentObject<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
210
166
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
211
|
-
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
212
|
-
top?: number;
|
|
213
|
-
bottom?: number;
|
|
214
|
-
left?: number;
|
|
215
|
-
right?: number;
|
|
216
|
-
} | null | undefined;
|
|
217
|
-
transparent?: boolean | undefined;
|
|
218
167
|
fullscreen?: boolean | undefined;
|
|
219
|
-
circular?: boolean | undefined;
|
|
220
|
-
hoverTheme?: boolean | undefined;
|
|
221
|
-
pressTheme?: boolean | undefined;
|
|
222
|
-
focusTheme?: boolean | undefined;
|
|
223
|
-
elevate?: boolean | undefined;
|
|
224
|
-
bordered?: number | boolean | undefined;
|
|
225
|
-
backgrounded?: boolean | undefined;
|
|
226
|
-
radiused?: boolean | undefined;
|
|
227
|
-
padded?: boolean | undefined;
|
|
228
|
-
chromeless?: boolean | "all" | undefined;
|
|
229
168
|
size?: any;
|
|
230
169
|
unstyled?: boolean | undefined;
|
|
231
|
-
}>, keyof
|
|
170
|
+
}>, "disabled" | keyof SpaceProps | "orientation" | "scrollable" | "showScrollIndicator" | "disablePassBorderRadius" | "forceUseItem" | "__scopeGroup"> & SpaceProps & {
|
|
171
|
+
orientation?: "horizontal" | "vertical";
|
|
172
|
+
scrollable?: boolean;
|
|
173
|
+
/**
|
|
174
|
+
* @default false
|
|
175
|
+
*/
|
|
176
|
+
showScrollIndicator?: boolean;
|
|
177
|
+
disabled?: boolean;
|
|
178
|
+
disablePassBorderRadius?: DisablePassBorderRadius;
|
|
179
|
+
/**
|
|
180
|
+
* forces the group to use the Group.Item API
|
|
181
|
+
*/
|
|
182
|
+
forceUseItem?: boolean;
|
|
183
|
+
} & {
|
|
232
184
|
__scopeGroup?: Scope;
|
|
233
|
-
}, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps &
|
|
185
|
+
}, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & SpaceProps & {
|
|
186
|
+
orientation?: "horizontal" | "vertical";
|
|
187
|
+
scrollable?: boolean;
|
|
188
|
+
/**
|
|
189
|
+
* @default false
|
|
190
|
+
*/
|
|
191
|
+
showScrollIndicator?: boolean;
|
|
192
|
+
disabled?: boolean;
|
|
193
|
+
disablePassBorderRadius?: DisablePassBorderRadius;
|
|
194
|
+
/**
|
|
195
|
+
* forces the group to use the Group.Item API
|
|
196
|
+
*/
|
|
197
|
+
forceUseItem?: boolean;
|
|
198
|
+
} & {
|
|
234
199
|
__scopeGroup?: Scope;
|
|
235
200
|
}, import("@tamagui/core").StackStyleBase, {
|
|
236
201
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
237
|
-
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
238
|
-
top?: number;
|
|
239
|
-
bottom?: number;
|
|
240
|
-
left?: number;
|
|
241
|
-
right?: number;
|
|
242
|
-
} | null | undefined;
|
|
243
|
-
transparent?: boolean | undefined;
|
|
244
202
|
fullscreen?: boolean | undefined;
|
|
245
|
-
circular?: boolean | undefined;
|
|
246
|
-
hoverTheme?: boolean | undefined;
|
|
247
|
-
pressTheme?: boolean | undefined;
|
|
248
|
-
focusTheme?: boolean | undefined;
|
|
249
|
-
elevate?: boolean | undefined;
|
|
250
|
-
bordered?: number | boolean | undefined;
|
|
251
|
-
backgrounded?: boolean | undefined;
|
|
252
|
-
radiused?: boolean | undefined;
|
|
253
|
-
padded?: boolean | undefined;
|
|
254
|
-
chromeless?: boolean | "all" | undefined;
|
|
255
203
|
size?: any;
|
|
256
204
|
unstyled?: boolean | undefined;
|
|
257
|
-
}, import("@tamagui/core").StaticConfigPublic> & Omit<import("@tamagui/core").StaticConfigPublic, "staticConfig" | "
|
|
205
|
+
}, import("@tamagui/core").StaticConfigPublic> & Omit<import("@tamagui/core").StaticConfigPublic, "staticConfig" | "styleable"> & {
|
|
258
206
|
__tama: [Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
259
207
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
260
|
-
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
261
|
-
top?: number;
|
|
262
|
-
bottom?: number;
|
|
263
|
-
left?: number;
|
|
264
|
-
right?: number;
|
|
265
|
-
} | null | undefined;
|
|
266
|
-
transparent?: boolean | undefined;
|
|
267
208
|
fullscreen?: boolean | undefined;
|
|
268
|
-
circular?: boolean | undefined;
|
|
269
|
-
hoverTheme?: boolean | undefined;
|
|
270
|
-
pressTheme?: boolean | undefined;
|
|
271
|
-
focusTheme?: boolean | undefined;
|
|
272
|
-
elevate?: boolean | undefined;
|
|
273
|
-
bordered?: number | boolean | undefined;
|
|
274
|
-
backgrounded?: boolean | undefined;
|
|
275
|
-
radiused?: boolean | undefined;
|
|
276
|
-
padded?: boolean | undefined;
|
|
277
|
-
chromeless?: boolean | "all" | undefined;
|
|
278
209
|
size?: any;
|
|
279
210
|
unstyled?: boolean | undefined;
|
|
280
|
-
}>, keyof
|
|
211
|
+
}>, "disabled" | keyof SpaceProps | "orientation" | "scrollable" | "showScrollIndicator" | "disablePassBorderRadius" | "forceUseItem" | "__scopeGroup"> & SpaceProps & {
|
|
212
|
+
orientation?: "horizontal" | "vertical";
|
|
213
|
+
scrollable?: boolean;
|
|
214
|
+
/**
|
|
215
|
+
* @default false
|
|
216
|
+
*/
|
|
217
|
+
showScrollIndicator?: boolean;
|
|
218
|
+
disabled?: boolean;
|
|
219
|
+
disablePassBorderRadius?: DisablePassBorderRadius;
|
|
220
|
+
/**
|
|
221
|
+
* forces the group to use the Group.Item API
|
|
222
|
+
*/
|
|
223
|
+
forceUseItem?: boolean;
|
|
224
|
+
} & {
|
|
281
225
|
__scopeGroup?: Scope;
|
|
282
|
-
}, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps &
|
|
226
|
+
}, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & SpaceProps & {
|
|
227
|
+
orientation?: "horizontal" | "vertical";
|
|
228
|
+
scrollable?: boolean;
|
|
229
|
+
/**
|
|
230
|
+
* @default false
|
|
231
|
+
*/
|
|
232
|
+
showScrollIndicator?: boolean;
|
|
233
|
+
disabled?: boolean;
|
|
234
|
+
disablePassBorderRadius?: DisablePassBorderRadius;
|
|
235
|
+
/**
|
|
236
|
+
* forces the group to use the Group.Item API
|
|
237
|
+
*/
|
|
238
|
+
forceUseItem?: boolean;
|
|
239
|
+
} & {
|
|
283
240
|
__scopeGroup?: Scope;
|
|
284
241
|
}, import("@tamagui/core").StackStyleBase, {
|
|
285
242
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
286
|
-
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
287
|
-
top?: number;
|
|
288
|
-
bottom?: number;
|
|
289
|
-
left?: number;
|
|
290
|
-
right?: number;
|
|
291
|
-
} | null | undefined;
|
|
292
|
-
transparent?: boolean | undefined;
|
|
293
243
|
fullscreen?: boolean | undefined;
|
|
294
|
-
circular?: boolean | undefined;
|
|
295
|
-
hoverTheme?: boolean | undefined;
|
|
296
|
-
pressTheme?: boolean | undefined;
|
|
297
|
-
focusTheme?: boolean | undefined;
|
|
298
|
-
elevate?: boolean | undefined;
|
|
299
|
-
bordered?: number | boolean | undefined;
|
|
300
|
-
backgrounded?: boolean | undefined;
|
|
301
|
-
radiused?: boolean | undefined;
|
|
302
|
-
padded?: boolean | undefined;
|
|
303
|
-
chromeless?: boolean | "all" | undefined;
|
|
304
244
|
size?: any;
|
|
305
245
|
unstyled?: boolean | undefined;
|
|
306
246
|
}, import("@tamagui/core").StaticConfigPublic];
|
|
@@ -311,123 +251,103 @@ export declare const YGroup: React.ForwardRefExoticComponent<Omit<import("@tamag
|
|
|
311
251
|
};
|
|
312
252
|
export declare const XGroup: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
313
253
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
314
|
-
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
315
|
-
top?: number;
|
|
316
|
-
bottom?: number;
|
|
317
|
-
left?: number;
|
|
318
|
-
right?: number;
|
|
319
|
-
} | null | undefined;
|
|
320
|
-
transparent?: boolean | undefined;
|
|
321
254
|
fullscreen?: boolean | undefined;
|
|
322
|
-
circular?: boolean | undefined;
|
|
323
|
-
hoverTheme?: boolean | undefined;
|
|
324
|
-
pressTheme?: boolean | undefined;
|
|
325
|
-
focusTheme?: boolean | undefined;
|
|
326
|
-
elevate?: boolean | undefined;
|
|
327
|
-
bordered?: number | boolean | undefined;
|
|
328
|
-
backgrounded?: boolean | undefined;
|
|
329
|
-
radiused?: boolean | undefined;
|
|
330
|
-
padded?: boolean | undefined;
|
|
331
|
-
chromeless?: boolean | "all" | undefined;
|
|
332
255
|
size?: any;
|
|
333
256
|
unstyled?: boolean | undefined;
|
|
334
|
-
}>, keyof
|
|
257
|
+
}>, "disabled" | keyof SpaceProps | "orientation" | "scrollable" | "showScrollIndicator" | "disablePassBorderRadius" | "forceUseItem" | "__scopeGroup"> & SpaceProps & {
|
|
258
|
+
orientation?: "horizontal" | "vertical";
|
|
259
|
+
scrollable?: boolean;
|
|
260
|
+
/**
|
|
261
|
+
* @default false
|
|
262
|
+
*/
|
|
263
|
+
showScrollIndicator?: boolean;
|
|
264
|
+
disabled?: boolean;
|
|
265
|
+
disablePassBorderRadius?: DisablePassBorderRadius;
|
|
266
|
+
/**
|
|
267
|
+
* forces the group to use the Group.Item API
|
|
268
|
+
*/
|
|
269
|
+
forceUseItem?: boolean;
|
|
270
|
+
} & {
|
|
335
271
|
__scopeGroup?: Scope;
|
|
336
272
|
} & React.RefAttributes<import("@tamagui/core").TamaguiElement>> & import("@tamagui/core").StaticComponentObject<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
337
273
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
338
|
-
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
339
|
-
top?: number;
|
|
340
|
-
bottom?: number;
|
|
341
|
-
left?: number;
|
|
342
|
-
right?: number;
|
|
343
|
-
} | null | undefined;
|
|
344
|
-
transparent?: boolean | undefined;
|
|
345
274
|
fullscreen?: boolean | undefined;
|
|
346
|
-
circular?: boolean | undefined;
|
|
347
|
-
hoverTheme?: boolean | undefined;
|
|
348
|
-
pressTheme?: boolean | undefined;
|
|
349
|
-
focusTheme?: boolean | undefined;
|
|
350
|
-
elevate?: boolean | undefined;
|
|
351
|
-
bordered?: number | boolean | undefined;
|
|
352
|
-
backgrounded?: boolean | undefined;
|
|
353
|
-
radiused?: boolean | undefined;
|
|
354
|
-
padded?: boolean | undefined;
|
|
355
|
-
chromeless?: boolean | "all" | undefined;
|
|
356
275
|
size?: any;
|
|
357
276
|
unstyled?: boolean | undefined;
|
|
358
|
-
}>, keyof
|
|
277
|
+
}>, "disabled" | keyof SpaceProps | "orientation" | "scrollable" | "showScrollIndicator" | "disablePassBorderRadius" | "forceUseItem" | "__scopeGroup"> & SpaceProps & {
|
|
278
|
+
orientation?: "horizontal" | "vertical";
|
|
279
|
+
scrollable?: boolean;
|
|
280
|
+
/**
|
|
281
|
+
* @default false
|
|
282
|
+
*/
|
|
283
|
+
showScrollIndicator?: boolean;
|
|
284
|
+
disabled?: boolean;
|
|
285
|
+
disablePassBorderRadius?: DisablePassBorderRadius;
|
|
286
|
+
/**
|
|
287
|
+
* forces the group to use the Group.Item API
|
|
288
|
+
*/
|
|
289
|
+
forceUseItem?: boolean;
|
|
290
|
+
} & {
|
|
359
291
|
__scopeGroup?: Scope;
|
|
360
|
-
}, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps &
|
|
292
|
+
}, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & SpaceProps & {
|
|
293
|
+
orientation?: "horizontal" | "vertical";
|
|
294
|
+
scrollable?: boolean;
|
|
295
|
+
/**
|
|
296
|
+
* @default false
|
|
297
|
+
*/
|
|
298
|
+
showScrollIndicator?: boolean;
|
|
299
|
+
disabled?: boolean;
|
|
300
|
+
disablePassBorderRadius?: DisablePassBorderRadius;
|
|
301
|
+
/**
|
|
302
|
+
* forces the group to use the Group.Item API
|
|
303
|
+
*/
|
|
304
|
+
forceUseItem?: boolean;
|
|
305
|
+
} & {
|
|
361
306
|
__scopeGroup?: Scope;
|
|
362
307
|
}, import("@tamagui/core").StackStyleBase, {
|
|
363
308
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
364
|
-
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
365
|
-
top?: number;
|
|
366
|
-
bottom?: number;
|
|
367
|
-
left?: number;
|
|
368
|
-
right?: number;
|
|
369
|
-
} | null | undefined;
|
|
370
|
-
transparent?: boolean | undefined;
|
|
371
309
|
fullscreen?: boolean | undefined;
|
|
372
|
-
circular?: boolean | undefined;
|
|
373
|
-
hoverTheme?: boolean | undefined;
|
|
374
|
-
pressTheme?: boolean | undefined;
|
|
375
|
-
focusTheme?: boolean | undefined;
|
|
376
|
-
elevate?: boolean | undefined;
|
|
377
|
-
bordered?: number | boolean | undefined;
|
|
378
|
-
backgrounded?: boolean | undefined;
|
|
379
|
-
radiused?: boolean | undefined;
|
|
380
|
-
padded?: boolean | undefined;
|
|
381
|
-
chromeless?: boolean | "all" | undefined;
|
|
382
310
|
size?: any;
|
|
383
311
|
unstyled?: boolean | undefined;
|
|
384
|
-
}, import("@tamagui/core").StaticConfigPublic> & Omit<import("@tamagui/core").StaticConfigPublic, "staticConfig" | "
|
|
312
|
+
}, import("@tamagui/core").StaticConfigPublic> & Omit<import("@tamagui/core").StaticConfigPublic, "staticConfig" | "styleable"> & {
|
|
385
313
|
__tama: [Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
386
314
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
387
|
-
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
388
|
-
top?: number;
|
|
389
|
-
bottom?: number;
|
|
390
|
-
left?: number;
|
|
391
|
-
right?: number;
|
|
392
|
-
} | null | undefined;
|
|
393
|
-
transparent?: boolean | undefined;
|
|
394
315
|
fullscreen?: boolean | undefined;
|
|
395
|
-
circular?: boolean | undefined;
|
|
396
|
-
hoverTheme?: boolean | undefined;
|
|
397
|
-
pressTheme?: boolean | undefined;
|
|
398
|
-
focusTheme?: boolean | undefined;
|
|
399
|
-
elevate?: boolean | undefined;
|
|
400
|
-
bordered?: number | boolean | undefined;
|
|
401
|
-
backgrounded?: boolean | undefined;
|
|
402
|
-
radiused?: boolean | undefined;
|
|
403
|
-
padded?: boolean | undefined;
|
|
404
|
-
chromeless?: boolean | "all" | undefined;
|
|
405
316
|
size?: any;
|
|
406
317
|
unstyled?: boolean | undefined;
|
|
407
|
-
}>, keyof
|
|
318
|
+
}>, "disabled" | keyof SpaceProps | "orientation" | "scrollable" | "showScrollIndicator" | "disablePassBorderRadius" | "forceUseItem" | "__scopeGroup"> & SpaceProps & {
|
|
319
|
+
orientation?: "horizontal" | "vertical";
|
|
320
|
+
scrollable?: boolean;
|
|
321
|
+
/**
|
|
322
|
+
* @default false
|
|
323
|
+
*/
|
|
324
|
+
showScrollIndicator?: boolean;
|
|
325
|
+
disabled?: boolean;
|
|
326
|
+
disablePassBorderRadius?: DisablePassBorderRadius;
|
|
327
|
+
/**
|
|
328
|
+
* forces the group to use the Group.Item API
|
|
329
|
+
*/
|
|
330
|
+
forceUseItem?: boolean;
|
|
331
|
+
} & {
|
|
408
332
|
__scopeGroup?: Scope;
|
|
409
|
-
}, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps &
|
|
333
|
+
}, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & SpaceProps & {
|
|
334
|
+
orientation?: "horizontal" | "vertical";
|
|
335
|
+
scrollable?: boolean;
|
|
336
|
+
/**
|
|
337
|
+
* @default false
|
|
338
|
+
*/
|
|
339
|
+
showScrollIndicator?: boolean;
|
|
340
|
+
disabled?: boolean;
|
|
341
|
+
disablePassBorderRadius?: DisablePassBorderRadius;
|
|
342
|
+
/**
|
|
343
|
+
* forces the group to use the Group.Item API
|
|
344
|
+
*/
|
|
345
|
+
forceUseItem?: boolean;
|
|
346
|
+
} & {
|
|
410
347
|
__scopeGroup?: Scope;
|
|
411
348
|
}, import("@tamagui/core").StackStyleBase, {
|
|
412
349
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
413
|
-
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
414
|
-
top?: number;
|
|
415
|
-
bottom?: number;
|
|
416
|
-
left?: number;
|
|
417
|
-
right?: number;
|
|
418
|
-
} | null | undefined;
|
|
419
|
-
transparent?: boolean | undefined;
|
|
420
350
|
fullscreen?: boolean | undefined;
|
|
421
|
-
circular?: boolean | undefined;
|
|
422
|
-
hoverTheme?: boolean | undefined;
|
|
423
|
-
pressTheme?: boolean | undefined;
|
|
424
|
-
focusTheme?: boolean | undefined;
|
|
425
|
-
elevate?: boolean | undefined;
|
|
426
|
-
bordered?: number | boolean | undefined;
|
|
427
|
-
backgrounded?: boolean | undefined;
|
|
428
|
-
radiused?: boolean | undefined;
|
|
429
|
-
padded?: boolean | undefined;
|
|
430
|
-
chromeless?: boolean | "all" | undefined;
|
|
431
351
|
size?: any;
|
|
432
352
|
unstyled?: boolean | undefined;
|
|
433
353
|
}, import("@tamagui/core").StaticConfigPublic];
|
package/types/Group.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../src/Group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAA6B,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"Group.d.ts","sourceRoot":"","sources":["../src/Group.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAA6B,MAAM,eAAe,CAAA;AAExE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAA;AAKpD,OAAO,KAAK,MAAM,OAAO,CAAA;AAGzB,OAAO,EAAkB,KAAK,UAAU,EAAE,MAAM,iBAAiB,C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