@tamagui/slider 1.124.16 → 1.124.18
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 +12 -12
- package/types/constants.d.ts +19 -28
- package/types/constants.d.ts.map +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/slider",
|
|
3
|
-
"version": "1.124.
|
|
3
|
+
"version": "1.124.18",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -36,22 +36,22 @@
|
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@tamagui/compose-refs": "1.124.
|
|
40
|
-
"@tamagui/constants": "1.124.
|
|
41
|
-
"@tamagui/core": "1.124.
|
|
42
|
-
"@tamagui/create-context": "1.124.
|
|
43
|
-
"@tamagui/get-token": "1.124.
|
|
44
|
-
"@tamagui/helpers": "1.124.
|
|
45
|
-
"@tamagui/stacks": "1.124.
|
|
46
|
-
"@tamagui/use-controllable-state": "1.124.
|
|
47
|
-
"@tamagui/use-debounce": "1.124.
|
|
48
|
-
"@tamagui/use-direction": "1.124.
|
|
39
|
+
"@tamagui/compose-refs": "1.124.18",
|
|
40
|
+
"@tamagui/constants": "1.124.18",
|
|
41
|
+
"@tamagui/core": "1.124.18",
|
|
42
|
+
"@tamagui/create-context": "1.124.18",
|
|
43
|
+
"@tamagui/get-token": "1.124.18",
|
|
44
|
+
"@tamagui/helpers": "1.124.18",
|
|
45
|
+
"@tamagui/stacks": "1.124.18",
|
|
46
|
+
"@tamagui/use-controllable-state": "1.124.18",
|
|
47
|
+
"@tamagui/use-debounce": "1.124.18",
|
|
48
|
+
"@tamagui/use-direction": "1.124.18"
|
|
49
49
|
},
|
|
50
50
|
"peerDependencies": {
|
|
51
51
|
"react": "*"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@tamagui/build": "1.124.
|
|
54
|
+
"@tamagui/build": "1.124.18",
|
|
55
55
|
"react": "*",
|
|
56
56
|
"react-native": "^0.76.5"
|
|
57
57
|
},
|
package/types/constants.d.ts
CHANGED
|
@@ -1,45 +1,36 @@
|
|
|
1
1
|
import type { SizeTokens } from '@tamagui/core';
|
|
2
2
|
import type { Direction, SliderContextValue } from './types';
|
|
3
3
|
export declare const SLIDER_NAME = "Slider";
|
|
4
|
-
export declare const createSliderContext: <ContextValueType extends object | null>(rootComponentName: string, defaultContext?: ContextValueType) => readonly [{
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
displayName: string;
|
|
10
|
-
}, (consumerName: string, scope: import("@tamagui/create-context").Scope<ContextValueType | undefined>, options?: {
|
|
4
|
+
export declare const createSliderContext: <ContextValueType extends object | null>(rootComponentName: string, defaultContext?: ContextValueType) => readonly [(props: ContextValueType & {
|
|
5
|
+
scope: import("@tamagui/create-context").Scope<ContextValueType>;
|
|
6
|
+
children: React.ReactNode;
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element, (consumerName: string, scope: import("@tamagui/create-context").Scope<ContextValueType | undefined>, options?: {
|
|
11
8
|
warn?: boolean;
|
|
12
9
|
fallback?: Partial<ContextValueType>;
|
|
13
10
|
}) => ContextValueType], createSliderScope: import("@tamagui/create-context").CreateScope;
|
|
14
|
-
export declare const SliderProvider: {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
displayName: string;
|
|
20
|
-
}, useSliderContext: (consumerName: string, scope: import("@tamagui/create-context").Scope<SliderContextValue | undefined>, options?: {
|
|
11
|
+
export declare const SliderProvider: (props: SliderContextValue & {
|
|
12
|
+
scope: import("@tamagui/create-context").Scope<SliderContextValue>;
|
|
13
|
+
children: React.ReactNode;
|
|
14
|
+
}) => import("react/jsx-runtime").JSX.Element, useSliderContext: (consumerName: string, scope: import("@tamagui/create-context").Scope<SliderContextValue | undefined>, options?: {
|
|
21
15
|
warn?: boolean;
|
|
22
16
|
fallback?: Partial<SliderContextValue> | undefined;
|
|
23
17
|
} | undefined) => SliderContextValue;
|
|
24
|
-
export declare const SliderOrientationProvider: {
|
|
25
|
-
|
|
18
|
+
export declare const SliderOrientationProvider: (props: {
|
|
19
|
+
startEdge: "bottom" | "left" | "right";
|
|
20
|
+
endEdge: "top" | "right" | "left";
|
|
21
|
+
sizeProp: "width" | "height";
|
|
22
|
+
size: number | SizeTokens;
|
|
23
|
+
direction: number;
|
|
24
|
+
} & {
|
|
25
|
+
scope: import("@tamagui/create-context").Scope<{
|
|
26
26
|
startEdge: "bottom" | "left" | "right";
|
|
27
27
|
endEdge: "top" | "right" | "left";
|
|
28
28
|
sizeProp: "width" | "height";
|
|
29
29
|
size: number | SizeTokens;
|
|
30
30
|
direction: number;
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
endEdge: "top" | "right" | "left";
|
|
35
|
-
sizeProp: "width" | "height";
|
|
36
|
-
size: number | SizeTokens;
|
|
37
|
-
direction: number;
|
|
38
|
-
}>;
|
|
39
|
-
children: React.ReactNode;
|
|
40
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
41
|
-
displayName: string;
|
|
42
|
-
}, useSliderOrientationContext: (consumerName: string, scope: import("@tamagui/create-context").Scope<{
|
|
31
|
+
}>;
|
|
32
|
+
children: React.ReactNode;
|
|
33
|
+
}) => import("react/jsx-runtime").JSX.Element, useSliderOrientationContext: (consumerName: string, scope: import("@tamagui/create-context").Scope<{
|
|
43
34
|
startEdge: "bottom" | "left" | "right";
|
|
44
35
|
endEdge: "top" | "right" | "left";
|
|
45
36
|
sizeProp: "width" | "height";
|
package/types/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.tsx"],"names":[],"mappings":"AAAA,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