@npm-questionpro/wick-ui-lib 1.17.2-next.0 → 1.17.4-next.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/src/components/useTranslation/WuTranslationContext.d.ts +2 -0
- package/dist/src/components/useTranslation/WuTranslationProvider.d.ts +6 -0
- package/dist/src/components/useTranslation/index.d.ts +4 -1
- package/dist/src/components/useTranslation/types/index.d.ts +8 -0
- package/dist/src/components/useTranslation/useTranslationContext.d.ts +3 -0
- package/dist/src/index.d.ts +2 -1
- package/dist/wick-ui-lib/es/index.js +1253 -1208
- package/dist/wick-ui-lib/umd/index.js +6 -6
- package/package.json +1 -1
- package/dist/src/components/useTranslation/WuUseTranslation.d.ts +0 -15
- /package/dist/src/components/useTranslation/{WuUseTranslation.test.d.ts → WuTranslation.test.d.ts} +0 -0
package/package.json
CHANGED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export declare function __resetForTesting(): void;
|
|
2
|
-
export declare function setFallbackTranslations(fallback: Record<string, string>): void;
|
|
3
|
-
export declare function loadTranslations(url: string, fallback?: Record<string, string>): Promise<Record<string, string>>;
|
|
4
|
-
export declare function translate(key: string): string;
|
|
5
|
-
interface ITranslationContextValue {
|
|
6
|
-
t: (key: string) => string;
|
|
7
|
-
}
|
|
8
|
-
export declare function useTranslation(): ITranslationContextValue;
|
|
9
|
-
declare const _default: {
|
|
10
|
-
setFallbackTranslations: typeof setFallbackTranslations;
|
|
11
|
-
loadTranslations: typeof loadTranslations;
|
|
12
|
-
translate: typeof translate;
|
|
13
|
-
useTranslation: typeof useTranslation;
|
|
14
|
-
};
|
|
15
|
-
export default _default;
|
/package/dist/src/components/useTranslation/{WuUseTranslation.test.d.ts → WuTranslation.test.d.ts}
RENAMED
|
File without changes
|