react-intlayer 9.0.0-canary.2 → 9.0.0-canary.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/cjs/client/index.cjs +2 -0
- package/dist/cjs/client/usePathname.cjs +41 -0
- package/dist/cjs/client/usePathname.cjs.map +1 -0
- package/dist/esm/client/index.mjs +2 -1
- package/dist/esm/client/usePathname.mjs +39 -0
- package/dist/esm/client/usePathname.mjs.map +1 -0
- package/dist/types/client/index.d.ts +2 -1
- package/dist/types/client/usePathname.d.ts +23 -0
- package/dist/types/client/usePathname.d.ts.map +1 -0
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/markdown/MarkdownRenderer.d.ts +1 -1
- package/dist/types/markdown/MarkdownRenderer.d.ts.map +1 -1
- package/package.json +9 -9
|
@@ -11,6 +11,7 @@ const require_client_useIntlayer = require('./useIntlayer.cjs');
|
|
|
11
11
|
const require_client_useLocale = require('./useLocale.cjs');
|
|
12
12
|
const require_client_useLocaleBase = require('./useLocaleBase.cjs');
|
|
13
13
|
const require_client_useRewriteURL = require('./useRewriteURL.cjs');
|
|
14
|
+
const require_client_usePathname = require('./usePathname.cjs');
|
|
14
15
|
|
|
15
16
|
exports.IntlayerClientContext = require_client_IntlayerProvider.IntlayerClientContext;
|
|
16
17
|
exports.IntlayerProvider = require_client_IntlayerProvider.IntlayerProvider;
|
|
@@ -31,4 +32,5 @@ exports.useLocale = require_client_useLocale.useLocale;
|
|
|
31
32
|
exports.useLocaleBase = require_client_useLocaleBase.useLocaleBase;
|
|
32
33
|
exports.useLocaleCookie = require_client_useLocaleStorage.useLocaleCookie;
|
|
33
34
|
exports.useLocaleStorage = require_client_useLocaleStorage.useLocaleStorage;
|
|
35
|
+
exports.usePathname = require_client_usePathname.usePathname;
|
|
34
36
|
exports.useRewriteURL = require_client_useRewriteURL.useRewriteURL;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
4
|
+
const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
|
|
5
|
+
let react = require("react");
|
|
6
|
+
let _intlayer_core_localization = require("@intlayer/core/localization");
|
|
7
|
+
|
|
8
|
+
//#region src/client/usePathname.ts
|
|
9
|
+
/**
|
|
10
|
+
* React hook that returns the current pathname with the locale segment removed.
|
|
11
|
+
*
|
|
12
|
+
* Reacts to browser back/forward navigation via the `popstate` event.
|
|
13
|
+
* Falls back to an empty string during server-side rendering.
|
|
14
|
+
*
|
|
15
|
+
* @returns The current pathname without the locale prefix.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* ```tsx
|
|
19
|
+
* import { usePathname } from 'react-intlayer';
|
|
20
|
+
*
|
|
21
|
+
* const NavItem = ({ href }: { href: string }) => {
|
|
22
|
+
* const pathname = usePathname();
|
|
23
|
+
* return <a className={pathname === href ? 'active' : ''}>{href}</a>;
|
|
24
|
+
* };
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
const usePathname = () => {
|
|
28
|
+
const [rawPathname, setRawPathname] = (0, react.useState)(typeof window !== "undefined" ? window.location.pathname : "");
|
|
29
|
+
(0, react.useEffect)(() => {
|
|
30
|
+
const handleLocationChange = () => {
|
|
31
|
+
setRawPathname(window.location.pathname);
|
|
32
|
+
};
|
|
33
|
+
window.addEventListener("popstate", handleLocationChange);
|
|
34
|
+
return () => window.removeEventListener("popstate", handleLocationChange);
|
|
35
|
+
}, []);
|
|
36
|
+
return (0, react.useMemo)(() => (0, _intlayer_core_localization.getPathWithoutLocale)(rawPathname), [rawPathname]);
|
|
37
|
+
};
|
|
38
|
+
|
|
39
|
+
//#endregion
|
|
40
|
+
exports.usePathname = usePathname;
|
|
41
|
+
//# sourceMappingURL=usePathname.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePathname.cjs","names":[],"sources":["../../../src/client/usePathname.ts"],"sourcesContent":["'use client';\n\nimport { getPathWithoutLocale } from '@intlayer/core/localization';\nimport { useEffect, useMemo, useState } from 'react';\n\n/**\n * React hook that returns the current pathname with the locale segment removed.\n *\n * Reacts to browser back/forward navigation via the `popstate` event.\n * Falls back to an empty string during server-side rendering.\n *\n * @returns The current pathname without the locale prefix.\n *\n * @example\n * ```tsx\n * import { usePathname } from 'react-intlayer';\n *\n * const NavItem = ({ href }: { href: string }) => {\n * const pathname = usePathname();\n * return <a className={pathname === href ? 'active' : ''}>{href}</a>;\n * };\n * ```\n */\nexport const usePathname = (): string => {\n const [rawPathname, setRawPathname] = useState<string>(\n typeof window !== 'undefined' ? window.location.pathname : ''\n );\n\n useEffect(() => {\n const handleLocationChange = (): void => {\n setRawPathname(window.location.pathname);\n };\n\n window.addEventListener('popstate', handleLocationChange);\n return () => window.removeEventListener('popstate', handleLocationChange);\n }, []);\n\n return useMemo(() => getPathWithoutLocale(rawPathname), [rawPathname]);\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAuBA,MAAa,oBAA4B;CACvC,MAAM,CAAC,aAAa,sCAClB,OAAO,WAAW,cAAc,OAAO,SAAS,WAAW,GAC5D;AAED,4BAAgB;EACd,MAAM,6BAAmC;AACvC,kBAAe,OAAO,SAAS,SAAS;;AAG1C,SAAO,iBAAiB,YAAY,qBAAqB;AACzD,eAAa,OAAO,oBAAoB,YAAY,qBAAqB;IACxE,EAAE,CAAC;AAEN,uFAA0C,YAAY,EAAE,CAAC,YAAY,CAAC"}
|
|
@@ -10,5 +10,6 @@ import { useIntlayer } from "./useIntlayer.mjs";
|
|
|
10
10
|
import { useLocale } from "./useLocale.mjs";
|
|
11
11
|
import { useLocaleBase } from "./useLocaleBase.mjs";
|
|
12
12
|
import { useRewriteURL } from "./useRewriteURL.mjs";
|
|
13
|
+
import { usePathname } from "./usePathname.mjs";
|
|
13
14
|
|
|
14
|
-
export { IntlayerClientContext, IntlayerProvider, IntlayerProviderContent, localeCookie, localeInStorage, setLocaleCookie, setLocaleInStorage, t, useDictionary, useDictionaryAsync, useDictionaryDynamic, useI18n, useIntlayer, useIntlayerContext, useLoadDynamic, useLocale, useLocaleBase, useLocaleCookie, useLocaleStorage, useRewriteURL };
|
|
15
|
+
export { IntlayerClientContext, IntlayerProvider, IntlayerProviderContent, localeCookie, localeInStorage, setLocaleCookie, setLocaleInStorage, t, useDictionary, useDictionaryAsync, useDictionaryDynamic, useI18n, useIntlayer, useIntlayerContext, useLoadDynamic, useLocale, useLocaleBase, useLocaleCookie, useLocaleStorage, usePathname, useRewriteURL };
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
|
|
3
|
+
import { useEffect, useMemo, useState } from "react";
|
|
4
|
+
import { getPathWithoutLocale } from "@intlayer/core/localization";
|
|
5
|
+
|
|
6
|
+
//#region src/client/usePathname.ts
|
|
7
|
+
/**
|
|
8
|
+
* React hook that returns the current pathname with the locale segment removed.
|
|
9
|
+
*
|
|
10
|
+
* Reacts to browser back/forward navigation via the `popstate` event.
|
|
11
|
+
* Falls back to an empty string during server-side rendering.
|
|
12
|
+
*
|
|
13
|
+
* @returns The current pathname without the locale prefix.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* import { usePathname } from 'react-intlayer';
|
|
18
|
+
*
|
|
19
|
+
* const NavItem = ({ href }: { href: string }) => {
|
|
20
|
+
* const pathname = usePathname();
|
|
21
|
+
* return <a className={pathname === href ? 'active' : ''}>{href}</a>;
|
|
22
|
+
* };
|
|
23
|
+
* ```
|
|
24
|
+
*/
|
|
25
|
+
const usePathname = () => {
|
|
26
|
+
const [rawPathname, setRawPathname] = useState(typeof window !== "undefined" ? window.location.pathname : "");
|
|
27
|
+
useEffect(() => {
|
|
28
|
+
const handleLocationChange = () => {
|
|
29
|
+
setRawPathname(window.location.pathname);
|
|
30
|
+
};
|
|
31
|
+
window.addEventListener("popstate", handleLocationChange);
|
|
32
|
+
return () => window.removeEventListener("popstate", handleLocationChange);
|
|
33
|
+
}, []);
|
|
34
|
+
return useMemo(() => getPathWithoutLocale(rawPathname), [rawPathname]);
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
//#endregion
|
|
38
|
+
export { usePathname };
|
|
39
|
+
//# sourceMappingURL=usePathname.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePathname.mjs","names":[],"sources":["../../../src/client/usePathname.ts"],"sourcesContent":["'use client';\n\nimport { getPathWithoutLocale } from '@intlayer/core/localization';\nimport { useEffect, useMemo, useState } from 'react';\n\n/**\n * React hook that returns the current pathname with the locale segment removed.\n *\n * Reacts to browser back/forward navigation via the `popstate` event.\n * Falls back to an empty string during server-side rendering.\n *\n * @returns The current pathname without the locale prefix.\n *\n * @example\n * ```tsx\n * import { usePathname } from 'react-intlayer';\n *\n * const NavItem = ({ href }: { href: string }) => {\n * const pathname = usePathname();\n * return <a className={pathname === href ? 'active' : ''}>{href}</a>;\n * };\n * ```\n */\nexport const usePathname = (): string => {\n const [rawPathname, setRawPathname] = useState<string>(\n typeof window !== 'undefined' ? window.location.pathname : ''\n );\n\n useEffect(() => {\n const handleLocationChange = (): void => {\n setRawPathname(window.location.pathname);\n };\n\n window.addEventListener('popstate', handleLocationChange);\n return () => window.removeEventListener('popstate', handleLocationChange);\n }, []);\n\n return useMemo(() => getPathWithoutLocale(rawPathname), [rawPathname]);\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAuBA,MAAa,oBAA4B;CACvC,MAAM,CAAC,aAAa,kBAAkB,SACpC,OAAO,WAAW,cAAc,OAAO,SAAS,WAAW,GAC5D;AAED,iBAAgB;EACd,MAAM,6BAAmC;AACvC,kBAAe,OAAO,SAAS,SAAS;;AAG1C,SAAO,iBAAiB,YAAY,qBAAqB;AACzD,eAAa,OAAO,oBAAoB,YAAY,qBAAqB;IACxE,EAAE,CAAC;AAEN,QAAO,cAAc,qBAAqB,YAAY,EAAE,CAAC,YAAY,CAAC"}
|
|
@@ -9,5 +9,6 @@ import { useLoadDynamic } from "./useLoadDynamic.js";
|
|
|
9
9
|
import { useLocale } from "./useLocale.js";
|
|
10
10
|
import { useLocaleBase } from "./useLocaleBase.js";
|
|
11
11
|
import { localeCookie, localeInStorage, setLocaleCookie, setLocaleInStorage, useLocaleCookie, useLocaleStorage } from "./useLocaleStorage.js";
|
|
12
|
+
import { usePathname } from "./usePathname.js";
|
|
12
13
|
import { useRewriteURL } from "./useRewriteURL.js";
|
|
13
|
-
export { IntlayerClientContext, IntlayerProvider, IntlayerProviderContent, type IntlayerProviderProps, localeCookie, localeInStorage, setLocaleCookie, setLocaleInStorage, t, useDictionary, useDictionaryAsync, useDictionaryDynamic, useI18n, useIntlayer, useIntlayerContext, useLoadDynamic, useLocale, useLocaleBase, useLocaleCookie, useLocaleStorage, useRewriteURL };
|
|
14
|
+
export { IntlayerClientContext, IntlayerProvider, IntlayerProviderContent, type IntlayerProviderProps, localeCookie, localeInStorage, setLocaleCookie, setLocaleInStorage, t, useDictionary, useDictionaryAsync, useDictionaryDynamic, useI18n, useIntlayer, useIntlayerContext, useLoadDynamic, useLocale, useLocaleBase, useLocaleCookie, useLocaleStorage, usePathname, useRewriteURL };
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
//#region src/client/usePathname.d.ts
|
|
2
|
+
/**
|
|
3
|
+
* React hook that returns the current pathname with the locale segment removed.
|
|
4
|
+
*
|
|
5
|
+
* Reacts to browser back/forward navigation via the `popstate` event.
|
|
6
|
+
* Falls back to an empty string during server-side rendering.
|
|
7
|
+
*
|
|
8
|
+
* @returns The current pathname without the locale prefix.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* ```tsx
|
|
12
|
+
* import { usePathname } from 'react-intlayer';
|
|
13
|
+
*
|
|
14
|
+
* const NavItem = ({ href }: { href: string }) => {
|
|
15
|
+
* const pathname = usePathname();
|
|
16
|
+
* return <a className={pathname === href ? 'active' : ''}>{href}</a>;
|
|
17
|
+
* };
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
declare const usePathname: () => string;
|
|
21
|
+
//#endregion
|
|
22
|
+
export { usePathname };
|
|
23
|
+
//# sourceMappingURL=usePathname.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"usePathname.d.ts","names":[],"sources":["../../../src/client/usePathname.ts"],"mappings":";;AAuBA;;;;;;;;;;;;;;;;;cAAa,WAAA"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -71,7 +71,7 @@ declare const useMarkdownRenderer: ({
|
|
|
71
71
|
forceInline,
|
|
72
72
|
preserveFrontmatter,
|
|
73
73
|
tagfilter
|
|
74
|
-
}?: RenderMarkdownProps$1) => (content: string | _$_intlayer_core_markdown0.ParsedMarkdown) => string | number | bigint | boolean | Iterable<_$react.ReactNode> |
|
|
74
|
+
}?: RenderMarkdownProps$1) => (content: string | _$_intlayer_core_markdown0.ParsedMarkdown) => string | number | bigint | boolean | Iterable<_$react.ReactNode> | _$react.JSX.Element | Promise<_$react.ReactNode>;
|
|
75
75
|
/**
|
|
76
76
|
* @deprecated import from react-intlayer/markdown instead
|
|
77
77
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","names":[],"sources":["../../src/index.ts"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;YAIY,kBAAA,iBAAmC,aAAA,UACnC,uBAAA,CAAwB,CAAA,EAAG,CAAA,EAAG,CAAA;AAAA;;;;;;;cAqD7B,gBAAA,UAAgB,EAAA,CAAA,yBAAA;eAAA,cAAA;;4FAxBlB,yBAAA,EAAA,UAAA,GAAA,cAAA,oBAEG,OAAA,GAEN,OAAA,CAAA,EAAA,CAAA,OAAA,CAAA,cAAA,CAAA,WAAA,OAAA,OAAA,CAAA,SAAA,GAAA,OAAA,CAAA,OAAA,CAAA,SAAA;AAAA;aAAA,OAAA,CAAA,SAA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,WAAA,OAAA,OAAA,CAAA,SAAA,GAAA,OAAA,CAAA,OAAA,CAAA,SAAA;AAAA;;;;KAyCpB,uBAAA,GAA0B,yBAAA;AARtC;;;AAAA,cAYa,cAAA,GAAc,OAAA,WAAkB,0BAAA,CAAlB,cAAA;EAAA,UAAA;EAAA,OAAA;EAAA,UAAA;EAAA,WAAA;EAAA,mBAAA;EAAA;AAAA,IAAA,qBAAA,KAAA,OAAA,CAAA,GAAA,CAAA,OAAA;;;;cAId,mBAAA;EAAmB,UAAA;EAAA,OAAA;EAAA,UAAA;EAAA,WAAA;EAAA,mBAAA;EAAA;AAAA,IAAA,qBAAA,MAak1C,OAAA,WAbl1C,0BAAA,CAak1C,cAAA,0CAAgC,QAAA,CAAA,OAAA,CAAA,SAAA,IAAA,OAAA,CAAA,GAAA,CAAA,OAAA,GAAA,OAAA,CAAA,OAAA,CAAA,SAAA;;;;cATr4C,gBAAA,EAAgB,OAAA,CAAA,EAAA,CAAA,uBAAA;;;;KAIjB,mBAAA,GAAsB,qBAAA;;;;KAItB,qBAAA,GAAwB,uBAAA"}
|
|
@@ -134,7 +134,7 @@ declare const useMarkdownRenderer: ({
|
|
|
134
134
|
forceInline,
|
|
135
135
|
preserveFrontmatter,
|
|
136
136
|
tagfilter
|
|
137
|
-
}?: RenderMarkdownProps) => (content: string | ParsedMarkdown) => string | number | bigint | boolean | Iterable<ReactNode> | Promise<ReactNode
|
|
137
|
+
}?: RenderMarkdownProps) => (content: string | ParsedMarkdown) => string | number | bigint | boolean | Iterable<ReactNode> | JSX.Element | Promise<ReactNode>;
|
|
138
138
|
/**
|
|
139
139
|
* Props for the MarkdownRenderer component.
|
|
140
140
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MarkdownRenderer.d.ts","names":[],"sources":["../../../src/markdown/MarkdownRenderer.tsx"],"mappings":";;;;;;;;AAiCA;;;;;;;;;;;;;;;;;KAAY,mBAAA,GAAsB,uBAAA;EAwBO;AA4BzC;;;;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,SAAA;;;;;;;;;;;;AAmJ1C;;;;KA1GY,qBAAA,GAAwB,mBAAA;;;;;;;;;;;EAWlC,QAAA,WAAmB,cAAA;;;;;;;;;;;;;;;;;;;;;EAqBnB,cAAA,IACE,QAAA,WAAmB,cAAA,EACnB,OAAA;IACE,UAAA,GAAa,cAAA;IACb,OAAA,GAAU,EAAA;IACV,UAAA;IACA,WAAA;IACA,mBAAA;IACA,SAAA;EAAA,MAEC,SAAA,GAAY,OAAA,CAAQ,SAAA;AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAgEd,gBAAA,EAAkB,EAAA,CAAG,qBAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-intlayer",
|
|
3
|
-
"version": "9.0.0-canary.
|
|
3
|
+
"version": "9.0.0-canary.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Easily internationalize i18n your React applications with type-safe multilingual content management.",
|
|
6
6
|
"keywords": [
|
|
@@ -124,18 +124,18 @@
|
|
|
124
124
|
"typecheck": "tsc --noEmit --project tsconfig.types.json"
|
|
125
125
|
},
|
|
126
126
|
"dependencies": {
|
|
127
|
-
"@intlayer/api": "9.0.0-canary.
|
|
128
|
-
"@intlayer/config": "9.0.0-canary.
|
|
129
|
-
"@intlayer/core": "9.0.0-canary.
|
|
130
|
-
"@intlayer/dictionaries-entry": "9.0.0-canary.
|
|
131
|
-
"@intlayer/editor": "9.0.0-canary.
|
|
132
|
-
"@intlayer/editor-react": "9.0.0-canary.
|
|
133
|
-
"@intlayer/types": "9.0.0-canary.
|
|
127
|
+
"@intlayer/api": "9.0.0-canary.4",
|
|
128
|
+
"@intlayer/config": "9.0.0-canary.4",
|
|
129
|
+
"@intlayer/core": "9.0.0-canary.4",
|
|
130
|
+
"@intlayer/dictionaries-entry": "9.0.0-canary.4",
|
|
131
|
+
"@intlayer/editor": "9.0.0-canary.4",
|
|
132
|
+
"@intlayer/editor-react": "9.0.0-canary.4",
|
|
133
|
+
"@intlayer/types": "9.0.0-canary.4"
|
|
134
134
|
},
|
|
135
135
|
"devDependencies": {
|
|
136
136
|
"@craco/types": "7.1.0",
|
|
137
137
|
"@testing-library/react": "16.3.2",
|
|
138
|
-
"@types/node": "25.9.
|
|
138
|
+
"@types/node": "25.9.4",
|
|
139
139
|
"@types/react": ">=16.0.0",
|
|
140
140
|
"@types/react-dom": ">=16.0.0",
|
|
141
141
|
"@utils/ts-config": "1.0.4",
|