@tamagui/stacks 1.0.1-beta.99 → 1.0.1-rc.0
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/SizableStack.js +3 -1
- package/dist/cjs/SizableStack.js.map +2 -2
- package/dist/cjs/Stacks.js +14 -8
- package/dist/cjs/Stacks.js.map +3 -3
- package/dist/cjs/ThemeableStack.js +12 -4
- package/dist/cjs/ThemeableStack.js.map +2 -2
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/variants.js +19 -30
- package/dist/cjs/variants.js.map +2 -2
- package/dist/esm/SizableStack.js +3 -2
- package/dist/esm/SizableStack.js.map +2 -2
- package/dist/esm/Stacks.js +13 -8
- package/dist/esm/Stacks.js.map +3 -3
- package/dist/esm/ThemeableStack.js +11 -4
- package/dist/esm/ThemeableStack.js.map +2 -2
- package/dist/esm/index.js +0 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/variants.js +18 -32
- package/dist/esm/variants.js.map +2 -2
- package/dist/jsx/.tamagui-dynamic-eval-SizableStack.js.js +23 -0
- package/dist/jsx/SizableStack.js +3 -2
- package/dist/jsx/SizableStack.js.map +2 -2
- package/dist/jsx/Stacks.js +13 -8
- package/dist/jsx/Stacks.js.map +3 -3
- package/dist/jsx/ThemeableStack.js +11 -4
- package/dist/jsx/ThemeableStack.js.map +2 -2
- package/dist/jsx/index.js +0 -0
- package/dist/jsx/index.js.map +1 -1
- package/dist/jsx/variants.js +1 -2
- package/dist/jsx/variants.js.map +2 -2
- package/package.json +11 -8
- package/src/SizableStack.tsx +4 -3
- package/src/Stacks.tsx +4 -1
- package/src/ThemeableStack.tsx +13 -5
- package/src/variants.tsx +1 -2
- package/types/SizableStack.d.ts +36 -36
- package/types/Stacks.d.ts +20 -17
- package/types/ThemeableStack.d.ts +52 -52
- package/types/index.d.ts +0 -0
- package/types/variants.d.ts +126 -111
- package/dist/cjs/ThemeableSizableStack.js +0 -70
- package/dist/cjs/ThemeableSizableStack.js.map +0 -7
- package/dist/esm/ThemeableSizableStack.js +0 -47
- package/dist/esm/ThemeableSizableStack.js.map +0 -7
- package/dist/jsx/ThemeableSizableStack.js +0 -46
- package/types/SizableStack.d.ts.map +0 -1
- package/types/Stacks.d.ts.map +0 -1
- package/types/ThemeableSizableStack.d.ts +0 -68
- package/types/ThemeableSizableStack.d.ts.map +0 -1
- package/types/ThemeableStack.d.ts.map +0 -1
- package/types/index.d.ts.map +0 -1
- package/types/variants.d.ts.map +0 -1
package/types/variants.d.ts
CHANGED
|
@@ -2,11 +2,12 @@
|
|
|
2
2
|
export declare const elevate: {
|
|
3
3
|
true: (_: boolean, extras: any) => {
|
|
4
4
|
[x: `$${string}`]: (import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").PseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>>>) | import("@tamagui/core").Variable<any> | undefined;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
[x: `$${number}`]: (import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>> & import("@tamagui/core").PseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>>>) | import("@tamagui/core").Variable<any> | undefined;
|
|
6
|
+
hitSlop?: import("@tamagui/types-react-native").Insets | (import("@tamagui/types-react-native").Insets & number) | import("@tamagui/core").Variable<any> | undefined;
|
|
7
|
+
onLayout?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").LayoutChangeEvent) => void) | undefined;
|
|
8
|
+
pointerEvents?: "none" | "box-none" | "box-only" | "auto" | import("@tamagui/core").Variable<any> | undefined;
|
|
8
9
|
removeClippedSubviews?: boolean | import("@tamagui/core").Variable<any> | undefined;
|
|
9
|
-
style?: import("@tamagui/core").Variable<any> | import("react-native").StyleProp<import("react-native").ViewStyle>;
|
|
10
|
+
style?: import("@tamagui/core").Variable<any> | import("@tamagui/types-react-native").StyleProp<import("@tamagui/types-react-native").ViewStyle>;
|
|
10
11
|
testID?: string | import("@tamagui/core").Variable<any> | undefined;
|
|
11
12
|
nativeID?: string | import("@tamagui/core").Variable<any> | undefined;
|
|
12
13
|
collapsable?: boolean | import("@tamagui/core").Variable<any> | undefined;
|
|
@@ -16,42 +17,56 @@ export declare const elevate: {
|
|
|
16
17
|
shouldRasterizeIOS?: boolean | import("@tamagui/core").Variable<any> | undefined;
|
|
17
18
|
isTVSelectable?: boolean | import("@tamagui/core").Variable<any> | undefined;
|
|
18
19
|
hasTVPreferredFocus?: boolean | import("@tamagui/core").Variable<any> | undefined;
|
|
19
|
-
tvParallaxProperties?: import("@tamagui/core").Variable<any> | import("react-native").TVParallaxProperties | undefined;
|
|
20
|
+
tvParallaxProperties?: import("@tamagui/core").Variable<any> | import("@tamagui/types-react-native").TVParallaxProperties | undefined;
|
|
20
21
|
tvParallaxShiftDistanceX?: number | import("@tamagui/core").Variable<any> | undefined;
|
|
21
22
|
tvParallaxShiftDistanceY?: number | import("@tamagui/core").Variable<any> | undefined;
|
|
22
23
|
tvParallaxTiltAngle?: number | import("@tamagui/core").Variable<any> | undefined;
|
|
23
24
|
tvParallaxMagnification?: number | import("@tamagui/core").Variable<any> | undefined;
|
|
24
|
-
onStartShouldSetResponder?: import("@tamagui/core").Variable<any> | ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
25
|
-
onMoveShouldSetResponder?: import("@tamagui/core").Variable<any> | ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
26
|
-
onResponderEnd?: import("@tamagui/core").Variable<any> | ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
27
|
-
onResponderGrant?: import("@tamagui/core").Variable<any> | ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
28
|
-
onResponderReject?: import("@tamagui/core").Variable<any> | ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
29
|
-
onResponderMove?: import("@tamagui/core").Variable<any> | ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
30
|
-
onResponderRelease?: import("@tamagui/core").Variable<any> | ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
31
|
-
onResponderStart?: import("@tamagui/core").Variable<any> | ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
32
|
-
onResponderTerminationRequest?: import("@tamagui/core").Variable<any> | ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
33
|
-
onResponderTerminate?: import("@tamagui/core").Variable<any> | ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
34
|
-
onStartShouldSetResponderCapture?: import("@tamagui/core").Variable<any> | ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
35
|
-
onMoveShouldSetResponderCapture?: import("@tamagui/core").Variable<any> | ((event: import("react-native").GestureResponderEvent) => boolean) | undefined;
|
|
36
|
-
onTouchStart?: import("@tamagui/core").Variable<any> | ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
37
|
-
onTouchMove?: import("@tamagui/core").Variable<any> | ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
38
|
-
onTouchEnd?: import("@tamagui/core").Variable<any> | ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
39
|
-
onTouchCancel?: import("@tamagui/core").Variable<any> | ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
40
|
-
onTouchEndCapture?: import("@tamagui/core").Variable<any> | ((event: import("react-native").GestureResponderEvent) => void) | undefined;
|
|
25
|
+
onStartShouldSetResponder?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").GestureResponderEvent) => boolean) | undefined;
|
|
26
|
+
onMoveShouldSetResponder?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").GestureResponderEvent) => boolean) | undefined;
|
|
27
|
+
onResponderEnd?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
28
|
+
onResponderGrant?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
29
|
+
onResponderReject?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
30
|
+
onResponderMove?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
31
|
+
onResponderRelease?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
32
|
+
onResponderStart?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
33
|
+
onResponderTerminationRequest?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").GestureResponderEvent) => boolean) | undefined;
|
|
34
|
+
onResponderTerminate?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
35
|
+
onStartShouldSetResponderCapture?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").GestureResponderEvent) => boolean) | undefined;
|
|
36
|
+
onMoveShouldSetResponderCapture?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").GestureResponderEvent) => boolean) | undefined;
|
|
37
|
+
onTouchStart?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
38
|
+
onTouchMove?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
39
|
+
onTouchEnd?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
40
|
+
onTouchCancel?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
41
|
+
onTouchEndCapture?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | undefined;
|
|
42
|
+
onPointerEnter?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
43
|
+
onPointerEnterCapture?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
44
|
+
onPointerLeave?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
45
|
+
onPointerLeaveCapture?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
46
|
+
onPointerMove?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
47
|
+
onPointerMoveCapture?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
48
|
+
onPointerCancel?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
49
|
+
onPointerCancelCapture?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
50
|
+
onPointerDown?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
51
|
+
onPointerDownCapture?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
52
|
+
onPointerUp?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
53
|
+
onPointerUpCapture?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").PointerEvent) => void) | undefined;
|
|
41
54
|
accessible?: boolean | import("@tamagui/core").Variable<any> | undefined;
|
|
42
55
|
accessibilityActions?: import("@tamagui/core").Variable<any> | readonly Readonly<{
|
|
43
56
|
name: string;
|
|
44
57
|
label?: string | undefined;
|
|
45
58
|
}>[] | undefined;
|
|
46
59
|
accessibilityLabel?: string | import("@tamagui/core").Variable<any> | undefined;
|
|
47
|
-
accessibilityRole?: "none" | "button" | "link" | "search" | "image" | "keyboardkey" | "text" | "adjustable" | "imagebutton" | "header" | "summary" | import("@tamagui/core").Variable<any> | undefined;
|
|
48
|
-
accessibilityState?: import("react-native").AccessibilityState | import("@tamagui/core").Variable<any> | undefined;
|
|
60
|
+
accessibilityRole?: "none" | "button" | "link" | "search" | "image" | "keyboardkey" | "text" | "adjustable" | "imagebutton" | "header" | "summary" | "list" | import("@tamagui/core").Variable<any> | undefined;
|
|
61
|
+
accessibilityState?: import("@tamagui/types-react-native").AccessibilityState | import("@tamagui/core").Variable<any> | undefined;
|
|
49
62
|
accessibilityHint?: string | import("@tamagui/core").Variable<any> | undefined;
|
|
50
|
-
accessibilityValue?: import("@tamagui/core").Variable<any> | import("react-native").AccessibilityValue | undefined;
|
|
51
|
-
onAccessibilityAction?: import("@tamagui/core").Variable<any> | ((event: import("react-native").AccessibilityActionEvent) => void) | undefined;
|
|
63
|
+
accessibilityValue?: import("@tamagui/core").Variable<any> | import("@tamagui/types-react-native").AccessibilityValue | undefined;
|
|
64
|
+
onAccessibilityAction?: import("@tamagui/core").Variable<any> | ((event: import("@tamagui/types-react-native").AccessibilityActionEvent) => void) | undefined;
|
|
65
|
+
accessibilityLabelledBy?: string | import("@tamagui/core").Variable<any> | string[] | undefined;
|
|
52
66
|
accessibilityLiveRegion?: "none" | import("@tamagui/core").Variable<any> | "polite" | "assertive" | undefined;
|
|
53
67
|
importantForAccessibility?: "auto" | import("@tamagui/core").Variable<any> | "yes" | "no" | "no-hide-descendants" | undefined;
|
|
54
68
|
accessibilityElementsHidden?: boolean | import("@tamagui/core").Variable<any> | undefined;
|
|
69
|
+
accessibilityLanguage?: string | import("@tamagui/core").Variable<any> | undefined;
|
|
55
70
|
accessibilityViewIsModal?: boolean | import("@tamagui/core").Variable<any> | undefined;
|
|
56
71
|
onAccessibilityEscape?: import("@tamagui/core").Variable<any> | (() => void) | undefined;
|
|
57
72
|
onAccessibilityTap?: import("@tamagui/core").Variable<any> | (() => void) | undefined;
|
|
@@ -67,10 +82,10 @@ export declare const elevate: {
|
|
|
67
82
|
rel?: string | undefined;
|
|
68
83
|
download?: boolean | undefined;
|
|
69
84
|
} | undefined;
|
|
70
|
-
onMouseDown?: (((event: import("react").MouseEvent<HTMLDivElement, MouseEvent>) => void) & (
|
|
85
|
+
onMouseDown?: (((event: import("react").MouseEvent<HTMLDivElement, MouseEvent>) => void) & import("react").MouseEventHandler<HTMLDivElement>) | import("@tamagui/core").Variable<any> | undefined;
|
|
71
86
|
onMouseUp?: import("@tamagui/core").Variable<any> | ((event: import("react").MouseEvent<HTMLDivElement, MouseEvent>) => void) | undefined;
|
|
72
|
-
onMouseEnter?: (((event: import("react").MouseEvent<HTMLDivElement, MouseEvent>) => void) & (
|
|
73
|
-
onMouseLeave?: (((event: import("react").MouseEvent<HTMLDivElement, MouseEvent>) => void) & (
|
|
87
|
+
onMouseEnter?: (((event: import("react").MouseEvent<HTMLDivElement, MouseEvent>) => void) & import("react").MouseEventHandler<HTMLDivElement>) | import("@tamagui/core").Variable<any> | undefined;
|
|
88
|
+
onMouseLeave?: (((event: import("react").MouseEvent<HTMLDivElement, MouseEvent>) => void) & import("react").MouseEventHandler<HTMLDivElement>) | import("@tamagui/core").Variable<any> | undefined;
|
|
74
89
|
onFocus?: import("@tamagui/core").Variable<any> | ((event: import("react").FocusEvent<HTMLDivElement, Element>) => void) | undefined;
|
|
75
90
|
onScroll?: import("@tamagui/core").Variable<any> | ((event: import("react").UIEvent<HTMLDivElement, UIEvent>) => void) | undefined;
|
|
76
91
|
onScrollShouldSetResponder?: unknown;
|
|
@@ -78,7 +93,7 @@ export declare const elevate: {
|
|
|
78
93
|
onSelectionChangeShouldSetResponder?: unknown;
|
|
79
94
|
onSelectionChangeShouldSetResponderCapture?: unknown;
|
|
80
95
|
asChild?: boolean | import("@tamagui/core").Variable<any> | undefined;
|
|
81
|
-
space?: import("@tamagui/core").
|
|
96
|
+
space?: import("@tamagui/core").Variable<any> | import("@tamagui/core").SpaceTokens | null | undefined;
|
|
82
97
|
spaceDirection?: import("@tamagui/core").Variable<any> | import("@tamagui/core").SpaceDirection | undefined;
|
|
83
98
|
separator?: import("react").ReactNode | import("@tamagui/core").Variable<any>;
|
|
84
99
|
dangerouslySetInnerHTML?: import("@tamagui/core").Variable<any> | {
|
|
@@ -90,91 +105,90 @@ export declare const elevate: {
|
|
|
90
105
|
debug?: import("@tamagui/core").Variable<any> | import("@tamagui/core").DebugProp | undefined;
|
|
91
106
|
disabled?: boolean | import("@tamagui/core").Variable<any> | undefined;
|
|
92
107
|
className?: string | import("@tamagui/core").Variable<any> | undefined;
|
|
108
|
+
themeShallow?: boolean | import("@tamagui/core").Variable<any> | undefined;
|
|
93
109
|
id?: string | import("@tamagui/core").Variable<any> | undefined;
|
|
94
110
|
tag?: string | import("@tamagui/core").Variable<any> | undefined;
|
|
95
|
-
theme?: import("@tamagui/core").Variable<any> |
|
|
111
|
+
theme?: string | import("@tamagui/core").Variable<any> | null | undefined;
|
|
96
112
|
componentName?: string | import("@tamagui/core").Variable<any> | undefined;
|
|
97
113
|
forceStyle?: import("@tamagui/core").Variable<any> | "hover" | "press" | "focus" | undefined;
|
|
98
|
-
onHoverIn?: import("@tamagui/core").Variable<any> |
|
|
99
|
-
onHoverOut?: import("@tamagui/core").Variable<any> |
|
|
100
|
-
onPress?: ((
|
|
101
|
-
onPressIn?: ((
|
|
102
|
-
onPressOut?: ((
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
borderRightWidth?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").Variable<any> | undefined;
|
|
119
|
-
borderStartColor?: import("@tamagui/core").Variable<any> | import("react-native").ColorValue | undefined;
|
|
114
|
+
onHoverIn?: import("react").MouseEventHandler<HTMLDivElement> | import("@tamagui/core").Variable<any> | undefined;
|
|
115
|
+
onHoverOut?: import("react").MouseEventHandler<HTMLDivElement> | import("@tamagui/core").Variable<any> | undefined;
|
|
116
|
+
onPress?: ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | import("@tamagui/core").Variable<any> | null | undefined;
|
|
117
|
+
onPressIn?: ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | import("@tamagui/core").Variable<any> | null | undefined;
|
|
118
|
+
onPressOut?: ((event: import("@tamagui/types-react-native").GestureResponderEvent) => void) | import("@tamagui/core").Variable<any> | null | undefined;
|
|
119
|
+
backgroundColor?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").ColorTokens | import("@tamagui/types-react-native").OpaqueColorValue | undefined;
|
|
120
|
+
borderBottomColor?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").ColorTokens | import("@tamagui/types-react-native").OpaqueColorValue | undefined;
|
|
121
|
+
borderBottomEndRadius?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").RadiusTokens | undefined;
|
|
122
|
+
borderBottomLeftRadius?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").RadiusTokens | undefined;
|
|
123
|
+
borderBottomRightRadius?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").RadiusTokens | undefined;
|
|
124
|
+
borderBottomStartRadius?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").RadiusTokens | undefined;
|
|
125
|
+
borderBottomWidth?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
126
|
+
borderColor?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").ColorTokens | import("@tamagui/types-react-native").OpaqueColorValue | undefined;
|
|
127
|
+
borderEndColor?: import("@tamagui/core").Variable<any> | import("@tamagui/types-react-native").ColorValue | undefined;
|
|
128
|
+
borderLeftColor?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").ColorTokens | import("@tamagui/types-react-native").OpaqueColorValue | undefined;
|
|
129
|
+
borderLeftWidth?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
130
|
+
borderRadius?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").RadiusTokens | undefined;
|
|
131
|
+
borderRightColor?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").ColorTokens | import("@tamagui/types-react-native").OpaqueColorValue | undefined;
|
|
132
|
+
borderRightWidth?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
133
|
+
borderStartColor?: import("@tamagui/core").Variable<any> | import("@tamagui/types-react-native").ColorValue | undefined;
|
|
120
134
|
borderStyle?: import("@tamagui/core").Variable<any> | "solid" | "dotted" | "dashed" | undefined;
|
|
121
|
-
borderTopColor?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").
|
|
122
|
-
borderTopEndRadius?: import("@tamagui/core").
|
|
123
|
-
borderTopLeftRadius?: import("@tamagui/core").
|
|
124
|
-
borderTopRightRadius?: import("@tamagui/core").
|
|
125
|
-
borderTopStartRadius?: import("@tamagui/core").
|
|
126
|
-
borderTopWidth?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
127
|
-
borderWidth?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
135
|
+
borderTopColor?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").ColorTokens | import("@tamagui/types-react-native").OpaqueColorValue | undefined;
|
|
136
|
+
borderTopEndRadius?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").RadiusTokens | undefined;
|
|
137
|
+
borderTopLeftRadius?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").RadiusTokens | undefined;
|
|
138
|
+
borderTopRightRadius?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").RadiusTokens | undefined;
|
|
139
|
+
borderTopStartRadius?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").RadiusTokens | undefined;
|
|
140
|
+
borderTopWidth?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
141
|
+
borderWidth?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
128
142
|
opacity?: number | import("@tamagui/core").Variable<any> | undefined;
|
|
129
143
|
alignContent?: import("@tamagui/core").Variable<any> | "flex-start" | "flex-end" | "center" | "stretch" | "space-between" | "space-around" | undefined;
|
|
130
|
-
alignItems?: import("@tamagui/core").Variable<any> | import("react-native").FlexAlignType | undefined;
|
|
131
|
-
alignSelf?: "auto" | import("@tamagui/core").Variable<any> | import("react-native").FlexAlignType | undefined;
|
|
144
|
+
alignItems?: import("@tamagui/core").Variable<any> | import("@tamagui/types-react-native").FlexAlignType | undefined;
|
|
145
|
+
alignSelf?: "auto" | import("@tamagui/core").Variable<any> | import("@tamagui/types-react-native").FlexAlignType | undefined;
|
|
132
146
|
aspectRatio?: number | import("@tamagui/core").Variable<any> | undefined;
|
|
133
|
-
borderEndWidth?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
134
|
-
borderStartWidth?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
135
|
-
bottom?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
147
|
+
borderEndWidth?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
148
|
+
borderStartWidth?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
149
|
+
bottom?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
136
150
|
end?: string | number | import("@tamagui/core").Variable<any> | undefined;
|
|
137
151
|
flex?: number | import("@tamagui/core").Variable<any> | undefined;
|
|
138
152
|
flexBasis?: string | number | import("@tamagui/core").Variable<any> | undefined;
|
|
139
|
-
flexDirection?: "column" | "
|
|
153
|
+
flexDirection?: "column" | import("@tamagui/core").Variable<any> | "row" | "row-reverse" | "column-reverse" | undefined;
|
|
140
154
|
flexGrow?: number | import("@tamagui/core").Variable<any> | undefined;
|
|
141
155
|
flexShrink?: number | import("@tamagui/core").Variable<any> | undefined;
|
|
142
156
|
flexWrap?: import("@tamagui/core").Variable<any> | "wrap" | "nowrap" | "wrap-reverse" | undefined;
|
|
143
|
-
height?: import("@tamagui/core").SizeTokens | import("@tamagui/core").ThemeValueFallback |
|
|
157
|
+
height?: import("@tamagui/core").SizeTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
144
158
|
justifyContent?: import("@tamagui/core").Variable<any> | "flex-start" | "flex-end" | "center" | "space-between" | "space-around" | "space-evenly" | undefined;
|
|
145
|
-
left?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
146
|
-
margin?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
147
|
-
marginBottom?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
148
|
-
marginEnd?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
149
|
-
marginHorizontal?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
150
|
-
marginLeft?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
151
|
-
marginRight?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
152
|
-
marginStart?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
153
|
-
marginTop?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
154
|
-
marginVertical?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
155
|
-
maxHeight?: import("@tamagui/core").SizeTokens | import("@tamagui/core").ThemeValueFallback |
|
|
156
|
-
maxWidth?: import("@tamagui/core").SizeTokens | import("@tamagui/core").ThemeValueFallback |
|
|
157
|
-
minHeight?: import("@tamagui/core").SizeTokens | import("@tamagui/core").ThemeValueFallback |
|
|
158
|
-
minWidth?: import("@tamagui/core").SizeTokens | import("@tamagui/core").ThemeValueFallback |
|
|
159
|
+
left?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
160
|
+
margin?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
161
|
+
marginBottom?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
162
|
+
marginEnd?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
163
|
+
marginHorizontal?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
164
|
+
marginLeft?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
165
|
+
marginRight?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
166
|
+
marginStart?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
167
|
+
marginTop?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
168
|
+
marginVertical?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
169
|
+
maxHeight?: import("@tamagui/core").SizeTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
170
|
+
maxWidth?: import("@tamagui/core").SizeTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
171
|
+
minHeight?: import("@tamagui/core").SizeTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
172
|
+
minWidth?: import("@tamagui/core").SizeTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
159
173
|
overflow?: import("@tamagui/core").Variable<any> | "visible" | "hidden" | "scroll" | undefined;
|
|
160
|
-
padding?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
161
|
-
paddingBottom?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
162
|
-
paddingEnd?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
163
|
-
paddingHorizontal?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
164
|
-
paddingLeft?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
165
|
-
paddingRight?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
166
|
-
paddingStart?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
167
|
-
paddingTop?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
168
|
-
paddingVertical?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
169
|
-
position?: "absolute" |
|
|
170
|
-
right?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
174
|
+
padding?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
175
|
+
paddingBottom?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
176
|
+
paddingEnd?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
177
|
+
paddingHorizontal?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
178
|
+
paddingLeft?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
179
|
+
paddingRight?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
180
|
+
paddingStart?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
181
|
+
paddingTop?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
182
|
+
paddingVertical?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
183
|
+
position?: "absolute" | import("@tamagui/core").Variable<any> | "relative" | undefined;
|
|
184
|
+
right?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
171
185
|
start?: string | number | import("@tamagui/core").Variable<any> | undefined;
|
|
172
|
-
top?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
173
|
-
width?: import("@tamagui/core").SizeTokens | import("@tamagui/core").ThemeValueFallback |
|
|
174
|
-
zIndex?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").
|
|
175
|
-
direction?:
|
|
176
|
-
shadowColor?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").
|
|
177
|
-
shadowOffset?: import("@tamagui/core").ThemeValueFallback |
|
|
186
|
+
top?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
187
|
+
width?: import("@tamagui/core").SizeTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
188
|
+
zIndex?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").ZIndexTokens | undefined;
|
|
189
|
+
direction?: import("@tamagui/core").Variable<any> | "inherit" | "ltr" | "rtl" | undefined;
|
|
190
|
+
shadowColor?: import("@tamagui/core").ThemeValueFallback | import("@tamagui/core").ColorTokens | import("@tamagui/types-react-native").OpaqueColorValue | undefined;
|
|
191
|
+
shadowOffset?: import("@tamagui/core").ThemeValueFallback | {
|
|
178
192
|
width: import("@tamagui/core").SpaceTokens;
|
|
179
193
|
height: import("@tamagui/core").SpaceTokens;
|
|
180
194
|
} | {
|
|
@@ -182,27 +196,29 @@ export declare const elevate: {
|
|
|
182
196
|
height: number;
|
|
183
197
|
} | undefined;
|
|
184
198
|
shadowOpacity?: number | import("@tamagui/core").Variable<any> | undefined;
|
|
185
|
-
shadowRadius?: import("@tamagui/core").SizeTokens | import("@tamagui/core").ThemeValueFallback |
|
|
186
|
-
transform?: import("@tamagui/core").Variable<any> | (import("react-native").PerpectiveTransform | import("react-native").RotateTransform | import("react-native").RotateXTransform | import("react-native").RotateYTransform | import("react-native").RotateZTransform | import("react-native").ScaleTransform | import("react-native").ScaleXTransform | import("react-native").ScaleYTransform | import("react-native").TranslateXTransform | import("react-native").TranslateYTransform | import("react-native").SkewXTransform | import("react-native").SkewYTransform | import("react-native").MatrixTransform)[] | undefined;
|
|
187
|
-
transformMatrix?:
|
|
199
|
+
shadowRadius?: import("@tamagui/core").SizeTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
200
|
+
transform?: import("@tamagui/core").Variable<any> | (import("@tamagui/types-react-native").PerpectiveTransform | import("@tamagui/types-react-native").RotateTransform | import("@tamagui/types-react-native").RotateXTransform | import("@tamagui/types-react-native").RotateYTransform | import("@tamagui/types-react-native").RotateZTransform | import("@tamagui/types-react-native").ScaleTransform | import("@tamagui/types-react-native").ScaleXTransform | import("@tamagui/types-react-native").ScaleYTransform | import("@tamagui/types-react-native").TranslateXTransform | import("@tamagui/types-react-native").TranslateYTransform | import("@tamagui/types-react-native").SkewXTransform | import("@tamagui/types-react-native").SkewYTransform | import("@tamagui/types-react-native").MatrixTransform)[] | undefined;
|
|
201
|
+
transformMatrix?: import("@tamagui/core").Variable<any> | number[] | undefined;
|
|
188
202
|
rotation?: number | import("@tamagui/core").Variable<any> | undefined;
|
|
189
|
-
scaleX?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
190
|
-
scaleY?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
203
|
+
scaleX?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
204
|
+
scaleY?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
191
205
|
translateX?: number | import("@tamagui/core").Variable<any> | undefined;
|
|
192
206
|
translateY?: number | import("@tamagui/core").Variable<any> | undefined;
|
|
193
|
-
x?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
194
|
-
y?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
207
|
+
x?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
208
|
+
y?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
195
209
|
perspective?: number | import("@tamagui/core").Variable<any> | undefined;
|
|
196
|
-
scale?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback |
|
|
210
|
+
scale?: import("@tamagui/core").SpaceTokens | import("@tamagui/core").ThemeValueFallback | undefined;
|
|
197
211
|
skewX?: string | import("@tamagui/core").Variable<any> | undefined;
|
|
198
212
|
skewY?: string | import("@tamagui/core").Variable<any> | undefined;
|
|
199
|
-
matrix?:
|
|
213
|
+
matrix?: import("@tamagui/core").Variable<any> | number[] | undefined;
|
|
200
214
|
rotate?: string | import("@tamagui/core").Variable<any> | undefined;
|
|
201
215
|
rotateY?: string | import("@tamagui/core").Variable<any> | undefined;
|
|
202
216
|
rotateX?: string | import("@tamagui/core").Variable<any> | undefined;
|
|
203
217
|
rotateZ?: string | import("@tamagui/core").Variable<any> | undefined;
|
|
204
|
-
|
|
205
|
-
|
|
218
|
+
cursor?: import("@tamagui/core").Variable<any> | import("csstype").Property.Cursor | undefined;
|
|
219
|
+
contain?: import("@tamagui/core").Variable<any> | import("csstype").Property.Contain | undefined;
|
|
220
|
+
display?: "flex" | "none" | import("@tamagui/core").Variable<any> | "inherit" | "inline" | "block" | "contents" | "inline-flex" | undefined;
|
|
221
|
+
userSelect?: import("@tamagui/core").Variable<any> | import("csstype").Property.UserSelect | undefined;
|
|
206
222
|
hoverStyle?: (import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>>) | import("@tamagui/core").Variable<any> | null | undefined;
|
|
207
223
|
pressStyle?: (import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>>) | import("@tamagui/core").Variable<any> | null | undefined;
|
|
208
224
|
focusStyle?: (import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStylePropsBase>>) | import("@tamagui/core").Variable<any> | null | undefined;
|
|
@@ -235,8 +251,7 @@ export declare const circular: {
|
|
|
235
251
|
minWidth: any;
|
|
236
252
|
minHeight: any;
|
|
237
253
|
borderRadius: number;
|
|
238
|
-
|
|
239
|
-
paddingHorizontal: number;
|
|
254
|
+
padding: number;
|
|
240
255
|
};
|
|
241
256
|
};
|
|
242
257
|
export declare const hoverTheme: {
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
8
|
-
};
|
|
9
|
-
var __copyProps = (to, from, except, desc) => {
|
|
10
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
11
|
-
for (let key of __getOwnPropNames(from))
|
|
12
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
13
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
14
|
-
}
|
|
15
|
-
return to;
|
|
16
|
-
};
|
|
17
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
-
var ThemeableSizableStack_exports = {};
|
|
19
|
-
__export(ThemeableSizableStack_exports, {
|
|
20
|
-
ThemeableSizableStack: () => ThemeableSizableStack
|
|
21
|
-
});
|
|
22
|
-
module.exports = __toCommonJS(ThemeableSizableStack_exports);
|
|
23
|
-
var import_core = require("@tamagui/core");
|
|
24
|
-
var import_Stacks = require("./Stacks");
|
|
25
|
-
var import_variants = require("./variants");
|
|
26
|
-
const ThemeableSizableStack = (0, import_core.styled)(import_Stacks.YStack, {
|
|
27
|
-
name: "SizableStack",
|
|
28
|
-
backgroundColor: "$background",
|
|
29
|
-
flexDirection: "row",
|
|
30
|
-
flexShrink: 1,
|
|
31
|
-
variants: {
|
|
32
|
-
fontFamily: () => ({}),
|
|
33
|
-
hoverable: import_variants.hoverable,
|
|
34
|
-
pressable: import_variants.pressable,
|
|
35
|
-
focusable: import_variants.focusable,
|
|
36
|
-
circular: import_variants.circular,
|
|
37
|
-
pad: import_variants.pad,
|
|
38
|
-
elevate: import_variants.elevate,
|
|
39
|
-
bordered: import_variants.bordered,
|
|
40
|
-
size: {
|
|
41
|
-
"...size": import_core.getButtonSize
|
|
42
|
-
},
|
|
43
|
-
disabled: {
|
|
44
|
-
true: {
|
|
45
|
-
opacity: 0.45,
|
|
46
|
-
backgroundColor: "$background",
|
|
47
|
-
hoverStyle: {
|
|
48
|
-
backgroundColor: "$background"
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
},
|
|
52
|
-
transparent: {
|
|
53
|
-
true: {
|
|
54
|
-
backgroundColor: "transparent"
|
|
55
|
-
}
|
|
56
|
-
},
|
|
57
|
-
chromeless: {
|
|
58
|
-
true: {
|
|
59
|
-
backgroundColor: "transparent",
|
|
60
|
-
borderColor: "transparent",
|
|
61
|
-
shadowColor: "transparent"
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
}
|
|
65
|
-
});
|
|
66
|
-
// Annotate the CommonJS export names for ESM import in node:
|
|
67
|
-
0 && (module.exports = {
|
|
68
|
-
ThemeableSizableStack
|
|
69
|
-
});
|
|
70
|
-
//# sourceMappingURL=ThemeableSizableStack.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/ThemeableSizableStack.tsx"],
|
|
4
|
-
"sourcesContent": ["import { GetProps, getButtonSize, styled } from '@tamagui/core'\n\nimport { YStack } from './Stacks'\nimport { bordered, circular, elevate, focusable, hoverable, pad, pressable } from './variants'\n\nexport const ThemeableSizableStack = styled(YStack, {\n name: 'SizableStack',\n backgroundColor: '$background',\n flexDirection: 'row',\n flexShrink: 1,\n\n variants: {\n // allows the type to come in for use in size\n fontFamily: () => ({}),\n\n hoverable,\n pressable,\n focusable,\n circular,\n pad,\n elevate,\n bordered,\n\n size: {\n '...size': getButtonSize,\n },\n\n disabled: {\n true: {\n // pointerEvents: 'none',\n opacity: 0.45,\n backgroundColor: '$background',\n hoverStyle: {\n backgroundColor: '$background',\n },\n },\n },\n\n transparent: {\n true: {\n backgroundColor: 'transparent',\n },\n },\n\n chromeless: {\n true: {\n backgroundColor: 'transparent',\n borderColor: 'transparent',\n shadowColor: 'transparent',\n },\n },\n },\n})\n\nexport type ThemeableSizableStackProps = GetProps<typeof ThemeableSizableStack>\n"],
|
|
5
|
-
"mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAgD;AAEhD,oBAAuB;AACvB,sBAAkF;AAE3E,MAAM,wBAAwB,wBAAO,sBAAQ;AAAA,EAClD,MAAM;AAAA,EACN,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,YAAY;AAAA,EAEZ,UAAU;AAAA,IAER,YAAY,MAAO,EAAC;AAAA,IAEpB;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IAEA,MAAM;AAAA,MACJ,WAAW;AAAA,IACb;AAAA,IAEA,UAAU;AAAA,MACR,MAAM;AAAA,QAEJ,SAAS;AAAA,QACT,iBAAiB;AAAA,QACjB,YAAY;AAAA,UACV,iBAAiB;AAAA,QACnB;AAAA,MACF;AAAA,IACF;AAAA,IAEA,aAAa;AAAA,MACX,MAAM;AAAA,QACJ,iBAAiB;AAAA,MACnB;AAAA,IACF;AAAA,IAEA,YAAY;AAAA,MACV,MAAM;AAAA,QACJ,iBAAiB;AAAA,QACjB,aAAa;AAAA,QACb,aAAa;AAAA,MACf;AAAA,IACF;AAAA,EACF;AACF,CAAC;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { getButtonSize, styled } from "@tamagui/core";
|
|
2
|
-
import { YStack } from "./Stacks";
|
|
3
|
-
import { bordered, circular, elevate, focusable, hoverable, pad, pressable } from "./variants";
|
|
4
|
-
const ThemeableSizableStack = styled(YStack, {
|
|
5
|
-
name: "SizableStack",
|
|
6
|
-
backgroundColor: "$background",
|
|
7
|
-
flexDirection: "row",
|
|
8
|
-
flexShrink: 1,
|
|
9
|
-
variants: {
|
|
10
|
-
fontFamily: () => ({}),
|
|
11
|
-
hoverable,
|
|
12
|
-
pressable,
|
|
13
|
-
focusable,
|
|
14
|
-
circular,
|
|
15
|
-
pad,
|
|
16
|
-
elevate,
|
|
17
|
-
bordered,
|
|
18
|
-
size: {
|
|
19
|
-
"...size": getButtonSize
|
|
20
|
-
},
|
|
21
|
-
disabled: {
|
|
22
|
-
true: {
|
|
23
|
-
opacity: 0.45,
|
|
24
|
-
backgroundColor: "$background",
|
|
25
|
-
hoverStyle: {
|
|
26
|
-
backgroundColor: "$background"
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
transparent: {
|
|
31
|
-
true: {
|
|
32
|
-
backgroundColor: "transparent"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
chromeless: {
|
|
36
|
-
true: {
|
|
37
|
-
backgroundColor: "transparent",
|
|
38
|
-
borderColor: "transparent",
|
|
39
|
-
shadowColor: "transparent"
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
export {
|
|
45
|
-
ThemeableSizableStack
|
|
46
|
-
};
|
|
47
|
-
//# sourceMappingURL=ThemeableSizableStack.js.map
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../src/ThemeableSizableStack.tsx"],
|
|
4
|
-
"sourcesContent": ["import { GetProps, getButtonSize, styled } from '@tamagui/core'\n\nimport { YStack } from './Stacks'\nimport { bordered, circular, elevate, focusable, hoverable, pad, pressable } from './variants'\n\nexport const ThemeableSizableStack = styled(YStack, {\n name: 'SizableStack',\n backgroundColor: '$background',\n flexDirection: 'row',\n flexShrink: 1,\n\n variants: {\n // allows the type to come in for use in size\n fontFamily: () => ({}),\n\n hoverable,\n pressable,\n focusable,\n circular,\n pad,\n elevate,\n bordered,\n\n size: {\n '...size': getButtonSize,\n },\n\n disabled: {\n true: {\n // pointerEvents: 'none',\n opacity: 0.45,\n backgroundColor: '$background',\n hoverStyle: {\n backgroundColor: '$background',\n },\n },\n },\n\n transparent: {\n true: {\n backgroundColor: 'transparent',\n },\n },\n\n chromeless: {\n true: {\n backgroundColor: 'transparent',\n borderColor: 'transparent',\n shadowColor: 'transparent',\n },\n },\n },\n})\n\nexport type ThemeableSizableStackProps = GetProps<typeof ThemeableSizableStack>\n"],
|
|
5
|
-
"mappings": "AAAA;AAEA;AACA;AAEO,MAAM,wBAAwB,OAAO,QAAQ;AAAA,EAClD,MAAM;AAAA,EACN,iBAAiB;AAAA,EACjB,eAAe;AAAA,EACf,YAAY;AAAA,EAEZ,UAAU;AAAA,IAER,YAAY,MAAO,EAAC;AAAA,IAEpB;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IACA;AAAA,IAEA,MAAM;AAAA,MACJ,WAAW;AAAA,IACb;AAAA,IAEA,UAAU;AAAA,MACR,MAAM;AAAA,QAEJ,SAAS;AAAA,QACT,iBAAiB;AAAA,QACjB,YAAY;AAAA,UACV,iBAAiB;AAAA,QACnB;AAAA,MACF;AAAA,IACF;AAAA,IAEA,aAAa;AAAA,MACX,MAAM;AAAA,QACJ,iBAAiB;AAAA,MACnB;AAAA,IACF;AAAA,IAEA,YAAY;AAAA,MACV,MAAM;AAAA,QACJ,iBAAiB;AAAA,QACjB,aAAa;AAAA,QACb,aAAa;AAAA,MACf;AAAA,IACF;AAAA,EACF;AACF,CAAC;",
|
|
6
|
-
"names": []
|
|
7
|
-
}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { getButtonSize, styled } from "@tamagui/core";
|
|
2
|
-
import { YStack } from "./Stacks";
|
|
3
|
-
import { bordered, circular, elevate, focusable, hoverable, pad, pressable } from "./variants";
|
|
4
|
-
const ThemeableSizableStack = styled(YStack, {
|
|
5
|
-
name: "SizableStack",
|
|
6
|
-
backgroundColor: "$background",
|
|
7
|
-
flexDirection: "row",
|
|
8
|
-
flexShrink: 1,
|
|
9
|
-
variants: {
|
|
10
|
-
fontFamily: () => ({}),
|
|
11
|
-
hoverable,
|
|
12
|
-
pressable,
|
|
13
|
-
focusable,
|
|
14
|
-
circular,
|
|
15
|
-
pad,
|
|
16
|
-
elevate,
|
|
17
|
-
bordered,
|
|
18
|
-
size: {
|
|
19
|
-
"...size": getButtonSize
|
|
20
|
-
},
|
|
21
|
-
disabled: {
|
|
22
|
-
true: {
|
|
23
|
-
opacity: 0.45,
|
|
24
|
-
backgroundColor: "$background",
|
|
25
|
-
hoverStyle: {
|
|
26
|
-
backgroundColor: "$background"
|
|
27
|
-
}
|
|
28
|
-
}
|
|
29
|
-
},
|
|
30
|
-
transparent: {
|
|
31
|
-
true: {
|
|
32
|
-
backgroundColor: "transparent"
|
|
33
|
-
}
|
|
34
|
-
},
|
|
35
|
-
chromeless: {
|
|
36
|
-
true: {
|
|
37
|
-
backgroundColor: "transparent",
|
|
38
|
-
borderColor: "transparent",
|
|
39
|
-
shadowColor: "transparent"
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
export {
|
|
45
|
-
ThemeableSizableStack
|
|
46
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SizableStack.d.ts","sourceRoot":"","sources":["../src/SizableStack.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAyB,MAAM,eAAe,CAAA;AAK/D,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAqBvB,CAAA;AAEF,oBAAY,iBAAiB,GAAG,QAAQ,CAAC,OAAO,YAAY,CAAC,CAAA"}
|
package/types/Stacks.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Stacks.d.ts","sourceRoot":"","sources":["../src/Stacks.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,UAAU,EACV,yBAAyB,EAEzB,UAAU,EACV,mBAAmB,EAIpB,MAAM,eAAe,CAAA;AAEtB,oBAAY,WAAW,GAAG,QAAQ,CAAC,OAAO,MAAM,CAAC,CAAA;AACjD,oBAAY,WAAW,GAAG,WAAW,CAAA;AACrC,oBAAY,WAAW,GAAG,WAAW,CAAA;AAErC,eAAO,MAAM,YAAY,EAAE,yBAAyB,CAAC,UAAU,CAM9D,CAAA;AAmBD,eAAO,MAAM,MAAM;;;;;;;;;;;;EAIjB,CAAA;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;EAIjB,CAAA;AAEF,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAUlB,CAAA;AAED,eAAO,MAAM,iBAAiB,QACvB,UAAU,GAAG,MAAM,GAAG,OAAO,qBACf,oBAAoB,GAAG,CAAC;;;;;;;CAuB5C,CAAA"}
|