react-native-bottom-sheet-stack 1.5.2 → 1.5.3
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/lib/typescript/example/src/components/Badge.d.ts +1 -1
- package/lib/typescript/example/src/components/Badge.d.ts.map +1 -1
- package/lib/typescript/example/src/components/Button.d.ts.map +1 -1
- package/lib/typescript/example/src/components/DemoCard.d.ts.map +1 -1
- package/lib/typescript/example/src/components/Sheet.d.ts.map +1 -1
- package/lib/typescript/example/src/screens/HomeScreen.d.ts.map +1 -1
- package/lib/typescript/example/src/sheets/ContextSheets.d.ts.map +1 -1
- package/lib/typescript/example/src/sheets/DynamicContentSheet.d.ts.map +1 -1
- package/lib/typescript/example/src/sheets/NavigationSheets.d.ts.map +1 -1
- package/lib/typescript/example/src/sheets/NestedScaleSheets.d.ts.map +1 -1
- package/lib/typescript/example/src/styles/theme.d.ts +71 -35
- package/lib/typescript/example/src/styles/theme.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -4,6 +4,6 @@ interface BadgeProps {
|
|
|
4
4
|
color?: string;
|
|
5
5
|
style?: StyleProp<ViewStyle>;
|
|
6
6
|
}
|
|
7
|
-
export declare function Badge({ label, color, style }: BadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
export declare function Badge({ label, color, style, }: BadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
8
8
|
export {};
|
|
9
9
|
//# sourceMappingURL=Badge.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../example/src/components/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Badge.d.ts","sourceRoot":"","sources":["../../../../../example/src/components/Badge.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAItB,UAAU,UAAU;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,KAAK,CAAC,EACpB,KAAK,EACL,KAA0B,EAC1B,KAAK,GACN,EAAE,UAAU,2CAMZ"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../example/src/components/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAItB,UAAU,WAAW;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,MAAM,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,WAAW,2CAU5D;AAED,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,WAAW,2CAUrE;AAED,UAAU,gBAAiB,SAAQ,WAAW;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,WAAW,CAAC,EAC1B,OAAO,EACP,KAAK,EACL,KAAK,EACL,KAAK,GACN,EAAE,gBAAgB,
|
|
1
|
+
{"version":3,"file":"Button.d.ts","sourceRoot":"","sources":["../../../../../example/src/components/Button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAGL,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAItB,UAAU,WAAW;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,wBAAgB,MAAM,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,WAAW,2CAU5D;AAED,wBAAgB,eAAe,CAAC,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,WAAW,2CAUrE;AAED,UAAU,gBAAiB,SAAQ,WAAW;IAC5C,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,WAAW,CAAC,EAC1B,OAAO,EACP,KAAK,EACL,KAAK,EACL,KAAK,GACN,EAAE,gBAAgB,2CAclB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DemoCard.d.ts","sourceRoot":"","sources":["../../../../../example/src/components/DemoCard.tsx"],"names":[],"mappings":"AAIA,UAAU,aAAa;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,WAAW,EACX,KAAK,EACL,OAAO,GACR,EAAE,aAAa,
|
|
1
|
+
{"version":3,"file":"DemoCard.d.ts","sourceRoot":"","sources":["../../../../../example/src/components/DemoCard.tsx"],"names":[],"mappings":"AAIA,UAAU,aAAa;IACrB,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,WAAW,EACX,KAAK,EACL,OAAO,GACR,EAAE,aAAa,2CAaf;AAED,UAAU,gBAAgB;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;CACf;AAED,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,gBAAgB,2CAS5D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sheet.d.ts","sourceRoot":"","sources":["../../../../../example/src/components/Sheet.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Sheet.d.ts","sourceRoot":"","sources":["../../../../../example/src/components/Sheet.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AACpF,OAAO,EAAoC,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACzE,OAAO,EAAQ,KAAK,SAAS,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAMpE,UAAU,UAAU;IAClB,QAAQ,EAAE,SAAS,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB,mBAAmB,CAAC,EAAE,OAAO,CAAC;IAC9B,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;CAC9B;AAED,eAAO,MAAM,KAAK,2GA8FjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HomeScreen.d.ts","sourceRoot":"","sources":["../../../../../example/src/screens/HomeScreen.tsx"],"names":[],"mappings":"AAoBA,wBAAgB,UAAU,
|
|
1
|
+
{"version":3,"file":"HomeScreen.d.ts","sourceRoot":"","sources":["../../../../../example/src/screens/HomeScreen.tsx"],"names":[],"mappings":"AAoBA,wBAAgB,UAAU,4CAqHzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContextSheets.d.ts","sourceRoot":"","sources":["../../../../../example/src/sheets/ContextSheets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAmBpF,UAAU,2BAA2B;IACnC,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED,eAAO,MAAM,sBAAsB,
|
|
1
|
+
{"version":3,"file":"ContextSheets.d.ts","sourceRoot":"","sources":["../../../../../example/src/sheets/ContextSheets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAmBpF,UAAU,2BAA2B;IACnC,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B;AAED,eAAO,MAAM,sBAAsB,4HAgCjC,CAAC;AAIH,eAAO,MAAM,sBAAsB,8FA+BlC,CAAC;AAIF,eAAO,MAAM,kBAAkB,8FA6D7B,CAAC;AAIH,eAAO,MAAM,qBAAqB,8FAiCjC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicContentSheet.d.ts","sourceRoot":"","sources":["../../../../../example/src/sheets/DynamicContentSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;
|
|
1
|
+
{"version":3,"file":"DynamicContentSheet.d.ts","sourceRoot":"","sources":["../../../../../example/src/sheets/DynamicContentSheet.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAyBpF,eAAO,MAAM,UAAU,8FA+DrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationSheets.d.ts","sourceRoot":"","sources":["../../../../../example/src/sheets/NavigationSheets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAWpF,eAAO,MAAM,MAAM,
|
|
1
|
+
{"version":3,"file":"NavigationSheets.d.ts","sourceRoot":"","sources":["../../../../../example/src/sheets/NavigationSheets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAWpF,eAAO,MAAM,MAAM,8FAsCjB,CAAC;AAIH,eAAO,MAAM,MAAM,8FAiCjB,CAAC;AAIH,eAAO,MAAM,MAAM,8FAqBjB,CAAC;AAIH,eAAO,MAAM,MAAM,8FAgBjB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NestedScaleSheets.d.ts","sourceRoot":"","sources":["../../../../../example/src/sheets/NestedScaleSheets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAWpF,eAAO,MAAM,YAAY,8FA0BvB,CAAC;AAIH,eAAO,MAAM,YAAY,8FA0BvB,CAAC;AAIH,eAAO,MAAM,YAAY,
|
|
1
|
+
{"version":3,"file":"NestedScaleSheets.d.ts","sourceRoot":"","sources":["../../../../../example/src/sheets/NestedScaleSheets.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,2CAA2C,CAAC;AAWpF,eAAO,MAAM,YAAY,8FA0BvB,CAAC;AAIH,eAAO,MAAM,YAAY,8FA0BvB,CAAC;AAIH,eAAO,MAAM,YAAY,8FAyBvB,CAAC"}
|
|
@@ -1,54 +1,75 @@
|
|
|
1
1
|
export declare const colors: {
|
|
2
|
-
readonly background: "#
|
|
3
|
-
readonly surface: "#
|
|
4
|
-
readonly surfaceLight: "#
|
|
5
|
-
readonly surfaceDark: "#
|
|
6
|
-
readonly
|
|
2
|
+
readonly background: "#0a0a12";
|
|
3
|
+
readonly surface: "#151521";
|
|
4
|
+
readonly surfaceLight: "#1f1f2e";
|
|
5
|
+
readonly surfaceDark: "#0d0d16";
|
|
6
|
+
readonly surfaceElevated: "#1a1a28";
|
|
7
|
+
readonly border: "#2a2a3d";
|
|
8
|
+
readonly borderLight: "#3d3d52";
|
|
7
9
|
readonly text: "#ffffff";
|
|
8
|
-
readonly textSecondary: "#
|
|
9
|
-
readonly textMuted: "#
|
|
10
|
-
readonly primary: "#
|
|
11
|
-
readonly
|
|
12
|
-
readonly
|
|
13
|
-
readonly
|
|
14
|
-
readonly
|
|
15
|
-
readonly
|
|
16
|
-
readonly
|
|
17
|
-
readonly
|
|
18
|
-
readonly
|
|
10
|
+
readonly textSecondary: "#a1a1aa";
|
|
11
|
+
readonly textMuted: "#71717a";
|
|
12
|
+
readonly primary: "#818cf8";
|
|
13
|
+
readonly primaryDark: "#6366f1";
|
|
14
|
+
readonly success: "#34d399";
|
|
15
|
+
readonly successDark: "#10b981";
|
|
16
|
+
readonly error: "#f87171";
|
|
17
|
+
readonly errorDark: "#ef4444";
|
|
18
|
+
readonly warning: "#fbbf24";
|
|
19
|
+
readonly warningDark: "#f59e0b";
|
|
20
|
+
readonly purple: "#a78bfa";
|
|
21
|
+
readonly purpleDark: "#8b5cf6";
|
|
22
|
+
readonly pink: "#f472b6";
|
|
23
|
+
readonly pinkDark: "#ec4899";
|
|
24
|
+
readonly cyan: "#22d3ee";
|
|
25
|
+
readonly nested1: "#16162a";
|
|
26
|
+
readonly nested2: "#1c1c38";
|
|
27
|
+
readonly nested3: "#232347";
|
|
19
28
|
};
|
|
20
29
|
export declare const sharedStyles: {
|
|
21
30
|
root: {
|
|
22
31
|
flex: number;
|
|
23
|
-
backgroundColor: "#
|
|
32
|
+
backgroundColor: "#0a0a12";
|
|
24
33
|
};
|
|
25
34
|
container: {
|
|
26
35
|
flex: number;
|
|
27
|
-
backgroundColor: "#
|
|
36
|
+
backgroundColor: "#0a0a12";
|
|
28
37
|
};
|
|
29
38
|
button: {
|
|
30
39
|
backgroundColor: "#6366f1";
|
|
31
40
|
borderRadius: number;
|
|
32
|
-
|
|
41
|
+
paddingVertical: number;
|
|
42
|
+
paddingHorizontal: number;
|
|
33
43
|
alignItems: "center";
|
|
44
|
+
shadowColor: "#818cf8";
|
|
45
|
+
shadowOffset: {
|
|
46
|
+
width: number;
|
|
47
|
+
height: number;
|
|
48
|
+
};
|
|
49
|
+
shadowOpacity: number;
|
|
50
|
+
shadowRadius: number;
|
|
51
|
+
elevation: number;
|
|
34
52
|
};
|
|
35
53
|
buttonText: {
|
|
36
54
|
color: "#ffffff";
|
|
37
55
|
fontSize: number;
|
|
38
56
|
fontWeight: "600";
|
|
57
|
+
letterSpacing: number;
|
|
39
58
|
};
|
|
40
59
|
secondaryButton: {
|
|
41
|
-
backgroundColor:
|
|
60
|
+
backgroundColor: "#1a1a28";
|
|
42
61
|
borderRadius: number;
|
|
43
|
-
|
|
62
|
+
paddingVertical: number;
|
|
63
|
+
paddingHorizontal: number;
|
|
44
64
|
alignItems: "center";
|
|
45
65
|
borderWidth: number;
|
|
46
|
-
borderColor: "#
|
|
66
|
+
borderColor: "#2a2a3d";
|
|
47
67
|
};
|
|
48
68
|
secondaryButtonText: {
|
|
49
|
-
color: "#
|
|
69
|
+
color: "#a1a1aa";
|
|
50
70
|
fontSize: number;
|
|
51
71
|
fontWeight: "600";
|
|
72
|
+
letterSpacing: number;
|
|
52
73
|
};
|
|
53
74
|
smallButton: {
|
|
54
75
|
backgroundColor: "#6366f1";
|
|
@@ -67,16 +88,17 @@ export declare const sharedStyles: {
|
|
|
67
88
|
color: "#ffffff";
|
|
68
89
|
textAlign: "center";
|
|
69
90
|
marginBottom: number;
|
|
91
|
+
letterSpacing: number;
|
|
70
92
|
};
|
|
71
93
|
text: {
|
|
72
94
|
fontSize: number;
|
|
73
|
-
color: "#
|
|
95
|
+
color: "#a1a1aa";
|
|
74
96
|
marginVertical: number;
|
|
75
97
|
lineHeight: number;
|
|
76
98
|
};
|
|
77
99
|
sheetContent: {
|
|
78
100
|
paddingHorizontal: number;
|
|
79
|
-
|
|
101
|
+
paddingTop: number;
|
|
80
102
|
paddingBottom: number;
|
|
81
103
|
flexGrow: number;
|
|
82
104
|
};
|
|
@@ -91,74 +113,88 @@ export declare const sharedStyles: {
|
|
|
91
113
|
levelBadgeText: {
|
|
92
114
|
color: "#ffffff";
|
|
93
115
|
fontSize: number;
|
|
94
|
-
fontWeight: "
|
|
116
|
+
fontWeight: "700";
|
|
95
117
|
textTransform: "uppercase";
|
|
96
118
|
letterSpacing: number;
|
|
97
119
|
};
|
|
98
120
|
contextBox: {
|
|
99
|
-
backgroundColor: "#
|
|
121
|
+
backgroundColor: "#0d0d16";
|
|
100
122
|
borderRadius: number;
|
|
101
123
|
padding: number;
|
|
102
124
|
marginBottom: number;
|
|
103
125
|
borderWidth: number;
|
|
104
|
-
borderColor: "#
|
|
126
|
+
borderColor: "#2a2a3d";
|
|
105
127
|
};
|
|
106
128
|
contextTitle: {
|
|
107
129
|
color: "#ffffff";
|
|
108
130
|
fontSize: number;
|
|
109
131
|
fontWeight: "600";
|
|
110
132
|
marginBottom: number;
|
|
133
|
+
textTransform: "uppercase";
|
|
134
|
+
letterSpacing: number;
|
|
111
135
|
};
|
|
112
136
|
contextValue: {
|
|
113
|
-
color: "#
|
|
137
|
+
color: "#a1a1aa";
|
|
114
138
|
fontSize: number;
|
|
115
139
|
marginBottom: number;
|
|
116
140
|
fontFamily: string;
|
|
117
141
|
};
|
|
118
142
|
scaleInfo: {
|
|
119
|
-
backgroundColor: "#
|
|
143
|
+
backgroundColor: "#0d0d16";
|
|
120
144
|
borderRadius: number;
|
|
121
145
|
padding: number;
|
|
122
146
|
marginTop: number;
|
|
147
|
+
borderWidth: number;
|
|
148
|
+
borderColor: "#2a2a3d";
|
|
123
149
|
};
|
|
124
150
|
scaleInfoTitle: {
|
|
125
151
|
color: "#ffffff";
|
|
126
152
|
fontSize: number;
|
|
127
153
|
fontWeight: "600";
|
|
128
154
|
marginBottom: number;
|
|
155
|
+
textTransform: "uppercase";
|
|
156
|
+
letterSpacing: number;
|
|
129
157
|
};
|
|
130
158
|
scaleInfoItem: {
|
|
131
|
-
color: "#
|
|
159
|
+
color: "#a1a1aa";
|
|
132
160
|
fontSize: number;
|
|
133
161
|
marginBottom: number;
|
|
134
162
|
};
|
|
135
163
|
statBox: {
|
|
136
164
|
flex: number;
|
|
137
|
-
backgroundColor: "#
|
|
165
|
+
backgroundColor: "#1a1a28";
|
|
138
166
|
borderRadius: number;
|
|
139
167
|
padding: number;
|
|
140
168
|
alignItems: "center";
|
|
169
|
+
borderWidth: number;
|
|
170
|
+
borderColor: "#2a2a3d";
|
|
141
171
|
};
|
|
142
172
|
statValue: {
|
|
143
173
|
fontSize: number;
|
|
144
174
|
fontWeight: "700";
|
|
145
175
|
color: "#ffffff";
|
|
176
|
+
letterSpacing: number;
|
|
146
177
|
};
|
|
147
178
|
statLabel: {
|
|
148
179
|
fontSize: number;
|
|
149
|
-
color: "#
|
|
180
|
+
color: "#71717a";
|
|
150
181
|
marginTop: number;
|
|
182
|
+
textTransform: "uppercase";
|
|
183
|
+
letterSpacing: number;
|
|
151
184
|
};
|
|
152
185
|
loadingBox: {
|
|
153
|
-
backgroundColor: "#
|
|
186
|
+
backgroundColor: "#1a1a28";
|
|
154
187
|
borderRadius: number;
|
|
155
188
|
padding: number;
|
|
156
189
|
marginBottom: number;
|
|
190
|
+
borderWidth: number;
|
|
191
|
+
borderColor: "#f59e0b";
|
|
157
192
|
};
|
|
158
193
|
loadingText: {
|
|
159
|
-
color: "#
|
|
194
|
+
color: "#fbbf24";
|
|
160
195
|
textAlign: "center";
|
|
161
196
|
fontSize: number;
|
|
197
|
+
fontWeight: "500";
|
|
162
198
|
};
|
|
163
199
|
};
|
|
164
200
|
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../example/src/styles/theme.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../../../example/src/styles/theme.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCT,CAAC;AAEX,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwLvB,CAAC"}
|