@tamagui/slider 1.120.2 → 1.121.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 +13 -13
- package/types/Slider.d.ts +103 -103
- package/types/Slider.d.ts.map +1 -1
- package/types/SliderImpl.d.ts +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/slider",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.121.1",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -36,24 +36,24 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@tamagui/compose-refs": "1.
|
|
40
|
-
"@tamagui/constants": "1.
|
|
41
|
-
"@tamagui/core": "1.
|
|
42
|
-
"@tamagui/create-context": "1.
|
|
43
|
-
"@tamagui/get-token": "1.
|
|
44
|
-
"@tamagui/helpers": "1.
|
|
45
|
-
"@tamagui/stacks": "1.
|
|
46
|
-
"@tamagui/use-controllable-state": "1.
|
|
47
|
-
"@tamagui/use-debounce": "1.
|
|
48
|
-
"@tamagui/use-direction": "1.
|
|
39
|
+
"@tamagui/compose-refs": "1.121.1",
|
|
40
|
+
"@tamagui/constants": "1.121.1",
|
|
41
|
+
"@tamagui/core": "1.121.1",
|
|
42
|
+
"@tamagui/create-context": "1.121.1",
|
|
43
|
+
"@tamagui/get-token": "1.121.1",
|
|
44
|
+
"@tamagui/helpers": "1.121.1",
|
|
45
|
+
"@tamagui/stacks": "1.121.1",
|
|
46
|
+
"@tamagui/use-controllable-state": "1.121.1",
|
|
47
|
+
"@tamagui/use-debounce": "1.121.1",
|
|
48
|
+
"@tamagui/use-direction": "1.121.1"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"react": "*"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@tamagui/build": "1.
|
|
54
|
+
"@tamagui/build": "1.121.1",
|
|
55
55
|
"react": "*",
|
|
56
|
-
"react-native": "0.
|
|
56
|
+
"react-native": "^0.76.5"
|
|
57
57
|
},
|
|
58
58
|
"publishConfig": {
|
|
59
59
|
"access": "public"
|
package/types/Slider.d.ts
CHANGED
|
@@ -6,28 +6,28 @@ import type { SliderProps, SliderTrackProps } from './types';
|
|
|
6
6
|
type SliderTrackElement = HTMLElement | View;
|
|
7
7
|
export declare const SliderTrackFrame: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
8
8
|
elevation?: number | SizeTokens | undefined;
|
|
9
|
-
size?: any;
|
|
10
|
-
fullscreen?: boolean | undefined;
|
|
11
9
|
inset?: number | SizeTokens | {
|
|
12
10
|
top?: number;
|
|
13
11
|
bottom?: number;
|
|
14
12
|
left?: number;
|
|
15
13
|
right?: number;
|
|
16
|
-
} | undefined;
|
|
14
|
+
} | null | undefined;
|
|
15
|
+
size?: any;
|
|
16
|
+
fullscreen?: boolean | undefined;
|
|
17
17
|
unstyled?: boolean | undefined;
|
|
18
18
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
19
19
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
20
|
-
declare const SliderTrack: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "elevation" | keyof import("@tamagui/core").StackStyleBase | "size" | "fullscreen" | "circular" | "
|
|
21
|
-
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
20
|
+
declare const SliderTrack: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "elevation" | keyof import("@tamagui/core").StackStyleBase | "size" | "fullscreen" | "circular" | "hoverTheme" | "pressTheme" | "focusTheme" | "elevate" | "bordered" | "unstyled"> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & {
|
|
22
21
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
23
|
-
fullscreen?: boolean | undefined;
|
|
24
|
-
circular?: boolean | undefined;
|
|
25
22
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
26
23
|
top?: number;
|
|
27
24
|
bottom?: number;
|
|
28
25
|
left?: number;
|
|
29
26
|
right?: number;
|
|
30
|
-
} | undefined;
|
|
27
|
+
} | null | undefined;
|
|
28
|
+
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
29
|
+
fullscreen?: boolean | undefined;
|
|
30
|
+
circular?: boolean | undefined;
|
|
31
31
|
hoverTheme?: boolean | undefined;
|
|
32
32
|
pressTheme?: boolean | undefined;
|
|
33
33
|
focusTheme?: boolean | undefined;
|
|
@@ -35,16 +35,16 @@ declare const SliderTrack: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
35
35
|
bordered?: number | boolean | undefined;
|
|
36
36
|
unstyled?: boolean | undefined;
|
|
37
37
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & {
|
|
38
|
-
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
39
38
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
40
|
-
fullscreen?: boolean | undefined;
|
|
41
|
-
circular?: boolean | undefined;
|
|
42
39
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
43
40
|
top?: number;
|
|
44
41
|
bottom?: number;
|
|
45
42
|
left?: number;
|
|
46
43
|
right?: number;
|
|
47
|
-
} | undefined;
|
|
44
|
+
} | null | undefined;
|
|
45
|
+
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
46
|
+
fullscreen?: boolean | undefined;
|
|
47
|
+
circular?: boolean | undefined;
|
|
48
48
|
hoverTheme?: boolean | undefined;
|
|
49
49
|
pressTheme?: boolean | undefined;
|
|
50
50
|
focusTheme?: boolean | undefined;
|
|
@@ -52,16 +52,16 @@ declare const SliderTrack: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
52
52
|
bordered?: number | boolean | undefined;
|
|
53
53
|
unstyled?: boolean | undefined;
|
|
54
54
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {
|
|
55
|
-
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
56
55
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
57
|
-
fullscreen?: boolean | undefined;
|
|
58
|
-
circular?: boolean | undefined;
|
|
59
56
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
60
57
|
top?: number;
|
|
61
58
|
bottom?: number;
|
|
62
59
|
left?: number;
|
|
63
60
|
right?: number;
|
|
64
|
-
} | undefined;
|
|
61
|
+
} | null | undefined;
|
|
62
|
+
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
63
|
+
fullscreen?: boolean | undefined;
|
|
64
|
+
circular?: boolean | undefined;
|
|
65
65
|
hoverTheme?: boolean | undefined;
|
|
66
66
|
pressTheme?: boolean | undefined;
|
|
67
67
|
focusTheme?: boolean | undefined;
|
|
@@ -71,62 +71,62 @@ declare const SliderTrack: React.ForwardRefExoticComponent<Omit<import("@tamagui
|
|
|
71
71
|
}>> & React.RefAttributes<SliderTrackElement>>;
|
|
72
72
|
export declare const SliderTrackActiveFrame: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
73
73
|
elevation?: number | SizeTokens | undefined;
|
|
74
|
-
size?: any;
|
|
75
|
-
fullscreen?: boolean | undefined;
|
|
76
74
|
inset?: number | SizeTokens | {
|
|
77
75
|
top?: number;
|
|
78
76
|
bottom?: number;
|
|
79
77
|
left?: number;
|
|
80
78
|
right?: number;
|
|
81
|
-
} | undefined;
|
|
79
|
+
} | null | undefined;
|
|
80
|
+
size?: any;
|
|
81
|
+
fullscreen?: boolean | undefined;
|
|
82
82
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
83
83
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
84
84
|
type SliderTrackActiveProps = GetProps<typeof SliderTrackActiveFrame>;
|
|
85
|
-
declare const SliderTrackActive: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "elevation" | keyof import("@tamagui/core").StackStyleBase | "size" | "fullscreen" | "
|
|
85
|
+
declare const SliderTrackActive: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "elevation" | keyof import("@tamagui/core").StackStyleBase | "size" | "fullscreen" | "orientation"> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & {
|
|
86
86
|
elevation?: number | SizeTokens | undefined;
|
|
87
|
-
size?: any;
|
|
88
|
-
fullscreen?: boolean | undefined;
|
|
89
87
|
inset?: number | SizeTokens | {
|
|
90
88
|
top?: number;
|
|
91
89
|
bottom?: number;
|
|
92
90
|
left?: number;
|
|
93
91
|
right?: number;
|
|
94
|
-
} | undefined;
|
|
92
|
+
} | null | undefined;
|
|
93
|
+
size?: any;
|
|
94
|
+
fullscreen?: boolean | undefined;
|
|
95
95
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
96
96
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & {
|
|
97
97
|
elevation?: number | SizeTokens | undefined;
|
|
98
|
-
size?: any;
|
|
99
|
-
fullscreen?: boolean | undefined;
|
|
100
98
|
inset?: number | SizeTokens | {
|
|
101
99
|
top?: number;
|
|
102
100
|
bottom?: number;
|
|
103
101
|
left?: number;
|
|
104
102
|
right?: number;
|
|
105
|
-
} | undefined;
|
|
103
|
+
} | null | undefined;
|
|
104
|
+
size?: any;
|
|
105
|
+
fullscreen?: boolean | undefined;
|
|
106
106
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
107
107
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {
|
|
108
108
|
elevation?: number | SizeTokens | undefined;
|
|
109
|
-
size?: any;
|
|
110
|
-
fullscreen?: boolean | undefined;
|
|
111
109
|
inset?: number | SizeTokens | {
|
|
112
110
|
top?: number;
|
|
113
111
|
bottom?: number;
|
|
114
112
|
left?: number;
|
|
115
113
|
right?: number;
|
|
116
|
-
} | undefined;
|
|
114
|
+
} | null | undefined;
|
|
115
|
+
size?: any;
|
|
116
|
+
fullscreen?: boolean | undefined;
|
|
117
117
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
118
118
|
}>> & React.RefAttributes<View>>;
|
|
119
119
|
export declare const SliderThumbFrame: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
120
120
|
elevation?: number | SizeTokens | undefined;
|
|
121
|
-
size?: SizeTokens | undefined;
|
|
122
|
-
fullscreen?: boolean | undefined;
|
|
123
|
-
circular?: boolean | undefined;
|
|
124
121
|
inset?: number | SizeTokens | {
|
|
125
122
|
top?: number;
|
|
126
123
|
bottom?: number;
|
|
127
124
|
left?: number;
|
|
128
125
|
right?: number;
|
|
129
|
-
} | undefined;
|
|
126
|
+
} | null | undefined;
|
|
127
|
+
size?: SizeTokens | undefined;
|
|
128
|
+
fullscreen?: boolean | undefined;
|
|
129
|
+
circular?: boolean | undefined;
|
|
130
130
|
hoverTheme?: boolean | undefined;
|
|
131
131
|
pressTheme?: boolean | undefined;
|
|
132
132
|
focusTheme?: boolean | undefined;
|
|
@@ -146,15 +146,15 @@ export interface SliderThumbProps extends SizableStackProps, SliderThumbExtraPro
|
|
|
146
146
|
}
|
|
147
147
|
declare const SliderThumb: React.MemoExoticComponent<import("@tamagui/core").TamaguiComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
148
148
|
elevation?: number | SizeTokens | undefined;
|
|
149
|
-
size?: SizeTokens | undefined;
|
|
150
|
-
fullscreen?: boolean | undefined;
|
|
151
|
-
circular?: boolean | undefined;
|
|
152
149
|
inset?: number | SizeTokens | {
|
|
153
150
|
top?: number;
|
|
154
151
|
bottom?: number;
|
|
155
152
|
left?: number;
|
|
156
153
|
right?: number;
|
|
157
|
-
} | undefined;
|
|
154
|
+
} | null | undefined;
|
|
155
|
+
size?: SizeTokens | undefined;
|
|
156
|
+
fullscreen?: boolean | undefined;
|
|
157
|
+
circular?: boolean | undefined;
|
|
158
158
|
hoverTheme?: boolean | undefined;
|
|
159
159
|
pressTheme?: boolean | undefined;
|
|
160
160
|
focusTheme?: boolean | undefined;
|
|
@@ -168,15 +168,15 @@ declare const SliderThumb: React.MemoExoticComponent<import("@tamagui/core").Tam
|
|
|
168
168
|
chromeless?: boolean | "all" | undefined;
|
|
169
169
|
}>, "index"> & SliderThumbExtraProps, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & SliderThumbExtraProps, import("@tamagui/core").StackStyleBase, {
|
|
170
170
|
elevation?: number | SizeTokens | undefined;
|
|
171
|
-
size?: SizeTokens | undefined;
|
|
172
|
-
fullscreen?: boolean | undefined;
|
|
173
|
-
circular?: boolean | undefined;
|
|
174
171
|
inset?: number | SizeTokens | {
|
|
175
172
|
top?: number;
|
|
176
173
|
bottom?: number;
|
|
177
174
|
left?: number;
|
|
178
175
|
right?: number;
|
|
179
|
-
} | undefined;
|
|
176
|
+
} | null | undefined;
|
|
177
|
+
size?: SizeTokens | undefined;
|
|
178
|
+
fullscreen?: boolean | undefined;
|
|
179
|
+
circular?: boolean | undefined;
|
|
180
180
|
hoverTheme?: boolean | undefined;
|
|
181
181
|
pressTheme?: boolean | undefined;
|
|
182
182
|
focusTheme?: boolean | undefined;
|
|
@@ -192,17 +192,17 @@ declare const SliderThumb: React.MemoExoticComponent<import("@tamagui/core").Tam
|
|
|
192
192
|
declare const Slider: React.ForwardRefExoticComponent<SliderProps & {
|
|
193
193
|
__scopeSlider?: import("@tamagui/create-context").Scope;
|
|
194
194
|
} & React.RefAttributes<unknown>> & {
|
|
195
|
-
Track: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "elevation" | keyof import("@tamagui/core").StackStyleBase | "size" | "fullscreen" | "circular" | "
|
|
196
|
-
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
195
|
+
Track: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "elevation" | keyof import("@tamagui/core").StackStyleBase | "size" | "fullscreen" | "circular" | "hoverTheme" | "pressTheme" | "focusTheme" | "elevate" | "bordered" | "unstyled"> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & {
|
|
197
196
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
198
|
-
fullscreen?: boolean | undefined;
|
|
199
|
-
circular?: boolean | undefined;
|
|
200
197
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
201
198
|
top?: number;
|
|
202
199
|
bottom?: number;
|
|
203
200
|
left?: number;
|
|
204
201
|
right?: number;
|
|
205
|
-
} | undefined;
|
|
202
|
+
} | null | undefined;
|
|
203
|
+
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
204
|
+
fullscreen?: boolean | undefined;
|
|
205
|
+
circular?: boolean | undefined;
|
|
206
206
|
hoverTheme?: boolean | undefined;
|
|
207
207
|
pressTheme?: boolean | undefined;
|
|
208
208
|
focusTheme?: boolean | undefined;
|
|
@@ -210,16 +210,16 @@ declare const Slider: React.ForwardRefExoticComponent<SliderProps & {
|
|
|
210
210
|
bordered?: number | boolean | undefined;
|
|
211
211
|
unstyled?: boolean | undefined;
|
|
212
212
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & {
|
|
213
|
-
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
214
213
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
215
|
-
fullscreen?: boolean | undefined;
|
|
216
|
-
circular?: boolean | undefined;
|
|
217
214
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
218
215
|
top?: number;
|
|
219
216
|
bottom?: number;
|
|
220
217
|
left?: number;
|
|
221
218
|
right?: number;
|
|
222
|
-
} | undefined;
|
|
219
|
+
} | null | undefined;
|
|
220
|
+
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
221
|
+
fullscreen?: boolean | undefined;
|
|
222
|
+
circular?: boolean | undefined;
|
|
223
223
|
hoverTheme?: boolean | undefined;
|
|
224
224
|
pressTheme?: boolean | undefined;
|
|
225
225
|
focusTheme?: boolean | undefined;
|
|
@@ -227,16 +227,16 @@ declare const Slider: React.ForwardRefExoticComponent<SliderProps & {
|
|
|
227
227
|
bordered?: number | boolean | undefined;
|
|
228
228
|
unstyled?: boolean | undefined;
|
|
229
229
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {
|
|
230
|
-
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
231
230
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
232
|
-
fullscreen?: boolean | undefined;
|
|
233
|
-
circular?: boolean | undefined;
|
|
234
231
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
235
232
|
top?: number;
|
|
236
233
|
bottom?: number;
|
|
237
234
|
left?: number;
|
|
238
235
|
right?: number;
|
|
239
|
-
} | undefined;
|
|
236
|
+
} | null | undefined;
|
|
237
|
+
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
238
|
+
fullscreen?: boolean | undefined;
|
|
239
|
+
circular?: boolean | undefined;
|
|
240
240
|
hoverTheme?: boolean | undefined;
|
|
241
241
|
pressTheme?: boolean | undefined;
|
|
242
242
|
focusTheme?: boolean | undefined;
|
|
@@ -244,51 +244,51 @@ declare const Slider: React.ForwardRefExoticComponent<SliderProps & {
|
|
|
244
244
|
bordered?: number | boolean | undefined;
|
|
245
245
|
unstyled?: boolean | undefined;
|
|
246
246
|
}>> & React.RefAttributes<SliderTrackElement>>;
|
|
247
|
-
TrackActive: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "elevation" | keyof import("@tamagui/core").StackStyleBase | "size" | "fullscreen" | "
|
|
247
|
+
TrackActive: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "elevation" | keyof import("@tamagui/core").StackStyleBase | "size" | "fullscreen" | "orientation"> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & {
|
|
248
248
|
elevation?: number | SizeTokens | undefined;
|
|
249
|
-
size?: any;
|
|
250
|
-
fullscreen?: boolean | undefined;
|
|
251
249
|
inset?: number | SizeTokens | {
|
|
252
250
|
top?: number;
|
|
253
251
|
bottom?: number;
|
|
254
252
|
left?: number;
|
|
255
253
|
right?: number;
|
|
256
|
-
} | undefined;
|
|
254
|
+
} | null | undefined;
|
|
255
|
+
size?: any;
|
|
256
|
+
fullscreen?: boolean | undefined;
|
|
257
257
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
258
258
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & {
|
|
259
259
|
elevation?: number | SizeTokens | undefined;
|
|
260
|
-
size?: any;
|
|
261
|
-
fullscreen?: boolean | undefined;
|
|
262
260
|
inset?: number | SizeTokens | {
|
|
263
261
|
top?: number;
|
|
264
262
|
bottom?: number;
|
|
265
263
|
left?: number;
|
|
266
264
|
right?: number;
|
|
267
|
-
} | undefined;
|
|
265
|
+
} | null | undefined;
|
|
266
|
+
size?: any;
|
|
267
|
+
fullscreen?: boolean | undefined;
|
|
268
268
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
269
269
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {
|
|
270
270
|
elevation?: number | SizeTokens | undefined;
|
|
271
|
-
size?: any;
|
|
272
|
-
fullscreen?: boolean | undefined;
|
|
273
271
|
inset?: number | SizeTokens | {
|
|
274
272
|
top?: number;
|
|
275
273
|
bottom?: number;
|
|
276
274
|
left?: number;
|
|
277
275
|
right?: number;
|
|
278
|
-
} | undefined;
|
|
276
|
+
} | null | undefined;
|
|
277
|
+
size?: any;
|
|
278
|
+
fullscreen?: boolean | undefined;
|
|
279
279
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
280
280
|
}>> & React.RefAttributes<View>>;
|
|
281
281
|
Thumb: React.MemoExoticComponent<import("@tamagui/core").TamaguiComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
282
282
|
elevation?: number | SizeTokens | undefined;
|
|
283
|
-
size?: SizeTokens | undefined;
|
|
284
|
-
fullscreen?: boolean | undefined;
|
|
285
|
-
circular?: boolean | undefined;
|
|
286
283
|
inset?: number | SizeTokens | {
|
|
287
284
|
top?: number;
|
|
288
285
|
bottom?: number;
|
|
289
286
|
left?: number;
|
|
290
287
|
right?: number;
|
|
291
|
-
} | undefined;
|
|
288
|
+
} | null | undefined;
|
|
289
|
+
size?: SizeTokens | undefined;
|
|
290
|
+
fullscreen?: boolean | undefined;
|
|
291
|
+
circular?: boolean | undefined;
|
|
292
292
|
hoverTheme?: boolean | undefined;
|
|
293
293
|
pressTheme?: boolean | undefined;
|
|
294
294
|
focusTheme?: boolean | undefined;
|
|
@@ -302,15 +302,15 @@ declare const Slider: React.ForwardRefExoticComponent<SliderProps & {
|
|
|
302
302
|
chromeless?: boolean | "all" | undefined;
|
|
303
303
|
}>, "index"> & SliderThumbExtraProps, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & SliderThumbExtraProps, import("@tamagui/core").StackStyleBase, {
|
|
304
304
|
elevation?: number | SizeTokens | undefined;
|
|
305
|
-
size?: SizeTokens | undefined;
|
|
306
|
-
fullscreen?: boolean | undefined;
|
|
307
|
-
circular?: boolean | undefined;
|
|
308
305
|
inset?: number | SizeTokens | {
|
|
309
306
|
top?: number;
|
|
310
307
|
bottom?: number;
|
|
311
308
|
left?: number;
|
|
312
309
|
right?: number;
|
|
313
|
-
} | undefined;
|
|
310
|
+
} | null | undefined;
|
|
311
|
+
size?: SizeTokens | undefined;
|
|
312
|
+
fullscreen?: boolean | undefined;
|
|
313
|
+
circular?: boolean | undefined;
|
|
314
314
|
hoverTheme?: boolean | undefined;
|
|
315
315
|
pressTheme?: boolean | undefined;
|
|
316
316
|
focusTheme?: boolean | undefined;
|
|
@@ -324,17 +324,17 @@ declare const Slider: React.ForwardRefExoticComponent<SliderProps & {
|
|
|
324
324
|
chromeless?: boolean | "all" | undefined;
|
|
325
325
|
}, import("@tamagui/core").StaticConfigPublic>>;
|
|
326
326
|
};
|
|
327
|
-
declare const Track: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "elevation" | keyof import("@tamagui/core").StackStyleBase | "size" | "fullscreen" | "circular" | "
|
|
328
|
-
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
327
|
+
declare const Track: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "elevation" | keyof import("@tamagui/core").StackStyleBase | "size" | "fullscreen" | "circular" | "hoverTheme" | "pressTheme" | "focusTheme" | "elevate" | "bordered" | "unstyled"> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & {
|
|
329
328
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
330
|
-
fullscreen?: boolean | undefined;
|
|
331
|
-
circular?: boolean | undefined;
|
|
332
329
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
333
330
|
top?: number;
|
|
334
331
|
bottom?: number;
|
|
335
332
|
left?: number;
|
|
336
333
|
right?: number;
|
|
337
|
-
} | undefined;
|
|
334
|
+
} | null | undefined;
|
|
335
|
+
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
336
|
+
fullscreen?: boolean | undefined;
|
|
337
|
+
circular?: boolean | undefined;
|
|
338
338
|
hoverTheme?: boolean | undefined;
|
|
339
339
|
pressTheme?: boolean | undefined;
|
|
340
340
|
focusTheme?: boolean | undefined;
|
|
@@ -342,16 +342,16 @@ declare const Track: React.ForwardRefExoticComponent<Omit<import("@tamagui/core"
|
|
|
342
342
|
bordered?: number | boolean | undefined;
|
|
343
343
|
unstyled?: boolean | undefined;
|
|
344
344
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & {
|
|
345
|
-
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
346
345
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
347
|
-
fullscreen?: boolean | undefined;
|
|
348
|
-
circular?: boolean | undefined;
|
|
349
346
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
350
347
|
top?: number;
|
|
351
348
|
bottom?: number;
|
|
352
349
|
left?: number;
|
|
353
350
|
right?: number;
|
|
354
|
-
} | undefined;
|
|
351
|
+
} | null | undefined;
|
|
352
|
+
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
353
|
+
fullscreen?: boolean | undefined;
|
|
354
|
+
circular?: boolean | undefined;
|
|
355
355
|
hoverTheme?: boolean | undefined;
|
|
356
356
|
pressTheme?: boolean | undefined;
|
|
357
357
|
focusTheme?: boolean | undefined;
|
|
@@ -359,16 +359,16 @@ declare const Track: React.ForwardRefExoticComponent<Omit<import("@tamagui/core"
|
|
|
359
359
|
bordered?: number | boolean | undefined;
|
|
360
360
|
unstyled?: boolean | undefined;
|
|
361
361
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {
|
|
362
|
-
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
363
362
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
364
|
-
fullscreen?: boolean | undefined;
|
|
365
|
-
circular?: boolean | undefined;
|
|
366
363
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
367
364
|
top?: number;
|
|
368
365
|
bottom?: number;
|
|
369
366
|
left?: number;
|
|
370
367
|
right?: number;
|
|
371
|
-
} | undefined;
|
|
368
|
+
} | null | undefined;
|
|
369
|
+
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
370
|
+
fullscreen?: boolean | undefined;
|
|
371
|
+
circular?: boolean | undefined;
|
|
372
372
|
hoverTheme?: boolean | undefined;
|
|
373
373
|
pressTheme?: boolean | undefined;
|
|
374
374
|
focusTheme?: boolean | undefined;
|
|
@@ -376,51 +376,51 @@ declare const Track: React.ForwardRefExoticComponent<Omit<import("@tamagui/core"
|
|
|
376
376
|
bordered?: number | boolean | undefined;
|
|
377
377
|
unstyled?: boolean | undefined;
|
|
378
378
|
}>> & React.RefAttributes<SliderTrackElement>>;
|
|
379
|
-
declare const Range: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "elevation" | keyof import("@tamagui/core").StackStyleBase | "size" | "fullscreen" | "
|
|
379
|
+
declare const Range: React.ForwardRefExoticComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "elevation" | keyof import("@tamagui/core").StackStyleBase | "size" | "fullscreen" | "orientation"> & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & {
|
|
380
380
|
elevation?: number | SizeTokens | undefined;
|
|
381
|
-
size?: any;
|
|
382
|
-
fullscreen?: boolean | undefined;
|
|
383
381
|
inset?: number | SizeTokens | {
|
|
384
382
|
top?: number;
|
|
385
383
|
bottom?: number;
|
|
386
384
|
left?: number;
|
|
387
385
|
right?: number;
|
|
388
|
-
} | undefined;
|
|
386
|
+
} | null | undefined;
|
|
387
|
+
size?: any;
|
|
388
|
+
fullscreen?: boolean | undefined;
|
|
389
389
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
390
390
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & {
|
|
391
391
|
elevation?: number | SizeTokens | undefined;
|
|
392
|
-
size?: any;
|
|
393
|
-
fullscreen?: boolean | undefined;
|
|
394
392
|
inset?: number | SizeTokens | {
|
|
395
393
|
top?: number;
|
|
396
394
|
bottom?: number;
|
|
397
395
|
left?: number;
|
|
398
396
|
right?: number;
|
|
399
|
-
} | undefined;
|
|
397
|
+
} | null | undefined;
|
|
398
|
+
size?: any;
|
|
399
|
+
fullscreen?: boolean | undefined;
|
|
400
400
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
401
401
|
} & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {
|
|
402
402
|
elevation?: number | SizeTokens | undefined;
|
|
403
|
-
size?: any;
|
|
404
|
-
fullscreen?: boolean | undefined;
|
|
405
403
|
inset?: number | SizeTokens | {
|
|
406
404
|
top?: number;
|
|
407
405
|
bottom?: number;
|
|
408
406
|
left?: number;
|
|
409
407
|
right?: number;
|
|
410
|
-
} | undefined;
|
|
408
|
+
} | null | undefined;
|
|
409
|
+
size?: any;
|
|
410
|
+
fullscreen?: boolean | undefined;
|
|
411
411
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
412
412
|
}>> & React.RefAttributes<View>>;
|
|
413
413
|
declare const Thumb: React.MemoExoticComponent<import("@tamagui/core").TamaguiComponent<Omit<import("@tamagui/core").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
414
414
|
elevation?: number | SizeTokens | undefined;
|
|
415
|
-
size?: SizeTokens | undefined;
|
|
416
|
-
fullscreen?: boolean | undefined;
|
|
417
|
-
circular?: boolean | undefined;
|
|
418
415
|
inset?: number | SizeTokens | {
|
|
419
416
|
top?: number;
|
|
420
417
|
bottom?: number;
|
|
421
418
|
left?: number;
|
|
422
419
|
right?: number;
|
|
423
|
-
} | undefined;
|
|
420
|
+
} | null | undefined;
|
|
421
|
+
size?: SizeTokens | undefined;
|
|
422
|
+
fullscreen?: boolean | undefined;
|
|
423
|
+
circular?: boolean | undefined;
|
|
424
424
|
hoverTheme?: boolean | undefined;
|
|
425
425
|
pressTheme?: boolean | undefined;
|
|
426
426
|
focusTheme?: boolean | undefined;
|
|
@@ -434,15 +434,15 @@ declare const Thumb: React.MemoExoticComponent<import("@tamagui/core").TamaguiCo
|
|
|
434
434
|
chromeless?: boolean | "all" | undefined;
|
|
435
435
|
}>, "index"> & SliderThumbExtraProps, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & SliderThumbExtraProps, import("@tamagui/core").StackStyleBase, {
|
|
436
436
|
elevation?: number | SizeTokens | undefined;
|
|
437
|
-
size?: SizeTokens | undefined;
|
|
438
|
-
fullscreen?: boolean | undefined;
|
|
439
|
-
circular?: boolean | undefined;
|
|
440
437
|
inset?: number | SizeTokens | {
|
|
441
438
|
top?: number;
|
|
442
439
|
bottom?: number;
|
|
443
440
|
left?: number;
|
|
444
441
|
right?: number;
|
|
445
|
-
} | undefined;
|
|
442
|
+
} | null | undefined;
|
|
443
|
+
size?: SizeTokens | undefined;
|
|
444
|
+
fullscreen?: boolean | undefined;
|
|
445
|
+
circular?: boolean | undefined;
|
|
446
446
|
hoverTheme?: boolean | undefined;
|
|
447
447
|
pressTheme?: boolean | undefined;
|
|
448
448
|
focusTheme?: boolean | undefined;
|
package/types/Slider.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../src/Slider.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAEV,QAAQ,EACR,UAAU,EACV,cAAc,EACf,MAAM,eAAe,CAAA;AAKtB,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAA;AAIxD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAC9B,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,cAAc,CAAA;AAwBxC,OAAO,KAAK,EAIV,WAAW,EACX,gBAAgB,EAEjB,MAAM,SAAS,CAAA;AAiPhB,KAAK,kBAAkB,GAAG,WAAW,GAAG,IAAI,CAAA;AAE5C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;8CAmB3B,CAAA;AAEF,QAAA,MAAM,WAAW;
|
|
1
|
+
{"version":3,"file":"Slider.d.ts","sourceRoot":"","sources":["../src/Slider.tsx"],"names":[],"mappings":"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"}
|
package/types/SliderImpl.d.ts
CHANGED
|
@@ -4,14 +4,14 @@ import type { View } from 'react-native';
|
|
|
4
4
|
import type { SliderImplProps } from './types';
|
|
5
5
|
export declare const SliderFrame: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {
|
|
6
6
|
elevation?: number | import("@tamagui/core").SizeTokens | undefined;
|
|
7
|
-
size?: any;
|
|
8
|
-
fullscreen?: boolean | undefined;
|
|
9
7
|
inset?: number | import("@tamagui/core").SizeTokens | {
|
|
10
8
|
top?: number;
|
|
11
9
|
bottom?: number;
|
|
12
10
|
left?: number;
|
|
13
11
|
right?: number;
|
|
14
|
-
} | undefined;
|
|
12
|
+
} | null | undefined;
|
|
13
|
+
size?: any;
|
|
14
|
+
fullscreen?: boolean | undefined;
|
|
15
15
|
orientation?: "horizontal" | "vertical" | undefined;
|
|
16
16
|
}, import("@tamagui/core").StaticConfigPublic>;
|
|
17
17
|
export declare const SliderImpl: React.ForwardRefExoticComponent<SliderImplProps & React.RefAttributes<View>>;
|