canopy-i18n 0.8.2 → 0.8.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.
|
@@ -21,7 +21,7 @@ export interface ClientLocaleProviderProps {
|
|
|
21
21
|
useLocaleSource?: UseLocaleSource;
|
|
22
22
|
pathPrefix?: string;
|
|
23
23
|
}
|
|
24
|
-
export declare function ClientLocaleProvider({ children, locales, fallbackLocale, paramKey, useLocaleSource, pathPrefix, }: ClientLocaleProviderProps): import("react
|
|
24
|
+
export declare function ClientLocaleProvider({ children, locales, fallbackLocale, paramKey, useLocaleSource, pathPrefix, }: ClientLocaleProviderProps): import("react").JSX.Element;
|
|
25
25
|
export declare function useLocaleClient(): LocaleContextValue;
|
|
26
26
|
export declare function useBindLocaleClient<T extends object>(messages: T): unknown;
|
|
27
27
|
export interface ClientLocaleLinkProps extends Omit<ComponentProps<typeof Link>, "href" | "locale"> {
|
|
@@ -29,4 +29,4 @@ export interface ClientLocaleLinkProps extends Omit<ComponentProps<typeof Link>,
|
|
|
29
29
|
href?: string;
|
|
30
30
|
children?: ReactNode;
|
|
31
31
|
}
|
|
32
|
-
export declare function ClientLocaleLink({ locale, href, children, ...rest }: ClientLocaleLinkProps): import("react
|
|
32
|
+
export declare function ClientLocaleLink({ locale, href, children, ...rest }: ClientLocaleLinkProps): import("react").JSX.Element;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "canopy-i18n",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.3",
|
|
4
4
|
"description": "The Type-Safe i18n library that your IDE will Love",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -54,12 +54,12 @@
|
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@tsconfig/node20": "^20.1.9",
|
|
56
56
|
"@types/node": "^25.9.1",
|
|
57
|
-
"@types/react": "^19.2.
|
|
57
|
+
"@types/react": "^19.2.16",
|
|
58
58
|
"next": "16",
|
|
59
|
-
"react": "^19.2.
|
|
60
|
-
"release-it": "^
|
|
59
|
+
"react": "^19.2.7",
|
|
60
|
+
"release-it": "^20.2.0",
|
|
61
61
|
"typescript": "^6.0.3",
|
|
62
|
-
"vitest": "^4.1.
|
|
62
|
+
"vitest": "^4.1.8"
|
|
63
63
|
},
|
|
64
64
|
"keywords": [
|
|
65
65
|
"i18n",
|