@apps-in-toss/framework 2.7.0 → 2.8.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/index.cjs +581 -369
- package/dist/index.d.cts +17 -15
- package/dist/index.d.ts +17 -15
- package/dist/index.js +459 -247
- package/package.json +7 -7
package/dist/index.d.cts
CHANGED
|
@@ -147,22 +147,24 @@ declare function useGeolocation({ accuracy, distanceInterval, timeInterval }: Us
|
|
|
147
147
|
*/
|
|
148
148
|
declare function useWaitForReturnNavigator<T extends Record<string, object | undefined>>(): <RouteName extends keyof T>(route: RouteName, params?: T[RouteName]) => Promise<void>;
|
|
149
149
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
uri: string;
|
|
156
|
-
};
|
|
157
|
-
name?: never;
|
|
158
|
-
} | {
|
|
159
|
-
name: string;
|
|
160
|
-
source?: never;
|
|
150
|
+
interface AccessoryButton {
|
|
151
|
+
id: string;
|
|
152
|
+
icon: {
|
|
153
|
+
source: {
|
|
154
|
+
uri: string;
|
|
161
155
|
};
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
156
|
+
name?: never;
|
|
157
|
+
} | {
|
|
158
|
+
name: string;
|
|
159
|
+
source?: never;
|
|
160
|
+
};
|
|
161
|
+
title: string;
|
|
162
|
+
onPress?: () => void;
|
|
163
|
+
disabled?: boolean;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
declare function useTopNavigation(): {
|
|
167
|
+
addAccessoryButton: (button: AccessoryButton) => void;
|
|
166
168
|
removeAccessoryButton: () => void;
|
|
167
169
|
};
|
|
168
170
|
|
package/dist/index.d.ts
CHANGED
|
@@ -147,22 +147,24 @@ declare function useGeolocation({ accuracy, distanceInterval, timeInterval }: Us
|
|
|
147
147
|
*/
|
|
148
148
|
declare function useWaitForReturnNavigator<T extends Record<string, object | undefined>>(): <RouteName extends keyof T>(route: RouteName, params?: T[RouteName]) => Promise<void>;
|
|
149
149
|
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
uri: string;
|
|
156
|
-
};
|
|
157
|
-
name?: never;
|
|
158
|
-
} | {
|
|
159
|
-
name: string;
|
|
160
|
-
source?: never;
|
|
150
|
+
interface AccessoryButton {
|
|
151
|
+
id: string;
|
|
152
|
+
icon: {
|
|
153
|
+
source: {
|
|
154
|
+
uri: string;
|
|
161
155
|
};
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
156
|
+
name?: never;
|
|
157
|
+
} | {
|
|
158
|
+
name: string;
|
|
159
|
+
source?: never;
|
|
160
|
+
};
|
|
161
|
+
title: string;
|
|
162
|
+
onPress?: () => void;
|
|
163
|
+
disabled?: boolean;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
declare function useTopNavigation(): {
|
|
167
|
+
addAccessoryButton: (button: AccessoryButton) => void;
|
|
166
168
|
removeAccessoryButton: () => void;
|
|
167
169
|
};
|
|
168
170
|
|