@volr/react-ui 0.2.2 → 0.2.4
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 +267 -23
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.js +268 -24
- package/dist/index.js.map +1 -1
- package/package.json +3 -3
package/dist/index.d.cts
CHANGED
|
@@ -229,6 +229,8 @@ declare const en: {
|
|
|
229
229
|
readonly logout: "Log out";
|
|
230
230
|
};
|
|
231
231
|
readonly totalBalance: "Total Balance";
|
|
232
|
+
readonly lastUpdated: "Updated {{time}}";
|
|
233
|
+
readonly refresh: "Refresh balances";
|
|
232
234
|
readonly noAssets: "No assets configured";
|
|
233
235
|
readonly menu: {
|
|
234
236
|
readonly assets: "Assets";
|
|
@@ -257,10 +259,12 @@ declare const en: {
|
|
|
257
259
|
readonly useConnectedWallet: "Use connected wallet";
|
|
258
260
|
readonly confirm: "Confirm Withdrawal";
|
|
259
261
|
readonly processing: "Processing withdrawal...";
|
|
262
|
+
readonly processingHint: "This may take a moment. Please keep this window open.";
|
|
260
263
|
readonly success: "Withdrawal Successful";
|
|
261
264
|
readonly sent: "sent";
|
|
262
265
|
readonly failed: "Withdrawal Failed";
|
|
263
266
|
readonly unknownError: "An unknown error occurred";
|
|
267
|
+
readonly viewOnExplorer: "View on explorer";
|
|
264
268
|
};
|
|
265
269
|
readonly payments: {
|
|
266
270
|
readonly payment: "Payment";
|
|
@@ -394,8 +398,9 @@ declare function useI18n(): I18nContextValue;
|
|
|
394
398
|
*/
|
|
395
399
|
interface I18nProviderProps {
|
|
396
400
|
children: React$1.ReactNode;
|
|
401
|
+
allowedLocales?: Locale[];
|
|
397
402
|
}
|
|
398
|
-
declare function I18nProvider({ children }: I18nProviderProps): react_jsx_runtime.JSX.Element;
|
|
403
|
+
declare function I18nProvider({ children, allowedLocales }: I18nProviderProps): react_jsx_runtime.JSX.Element;
|
|
399
404
|
declare const useTranslation: typeof useI18n;
|
|
400
405
|
|
|
401
406
|
type ModalMode = "account" | "deposit" | "payment";
|
package/dist/index.d.ts
CHANGED
|
@@ -229,6 +229,8 @@ declare const en: {
|
|
|
229
229
|
readonly logout: "Log out";
|
|
230
230
|
};
|
|
231
231
|
readonly totalBalance: "Total Balance";
|
|
232
|
+
readonly lastUpdated: "Updated {{time}}";
|
|
233
|
+
readonly refresh: "Refresh balances";
|
|
232
234
|
readonly noAssets: "No assets configured";
|
|
233
235
|
readonly menu: {
|
|
234
236
|
readonly assets: "Assets";
|
|
@@ -257,10 +259,12 @@ declare const en: {
|
|
|
257
259
|
readonly useConnectedWallet: "Use connected wallet";
|
|
258
260
|
readonly confirm: "Confirm Withdrawal";
|
|
259
261
|
readonly processing: "Processing withdrawal...";
|
|
262
|
+
readonly processingHint: "This may take a moment. Please keep this window open.";
|
|
260
263
|
readonly success: "Withdrawal Successful";
|
|
261
264
|
readonly sent: "sent";
|
|
262
265
|
readonly failed: "Withdrawal Failed";
|
|
263
266
|
readonly unknownError: "An unknown error occurred";
|
|
267
|
+
readonly viewOnExplorer: "View on explorer";
|
|
264
268
|
};
|
|
265
269
|
readonly payments: {
|
|
266
270
|
readonly payment: "Payment";
|
|
@@ -394,8 +398,9 @@ declare function useI18n(): I18nContextValue;
|
|
|
394
398
|
*/
|
|
395
399
|
interface I18nProviderProps {
|
|
396
400
|
children: React$1.ReactNode;
|
|
401
|
+
allowedLocales?: Locale[];
|
|
397
402
|
}
|
|
398
|
-
declare function I18nProvider({ children }: I18nProviderProps): react_jsx_runtime.JSX.Element;
|
|
403
|
+
declare function I18nProvider({ children, allowedLocales }: I18nProviderProps): react_jsx_runtime.JSX.Element;
|
|
399
404
|
declare const useTranslation: typeof useI18n;
|
|
400
405
|
|
|
401
406
|
type ModalMode = "account" | "deposit" | "payment";
|