@kopexa/i18n 17.16.0 → 17.17.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/{chunk-EBWRQGOG.mjs → chunk-E7P7BGVX.mjs} +2 -1
- package/dist/i18n.js +2 -1
- package/dist/i18n.mjs +1 -1
- package/dist/index.js +2 -1
- package/dist/index.mjs +1 -1
- package/package.json +5 -4
|
@@ -10,6 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-DWCWMJZD.mjs";
|
|
11
11
|
|
|
12
12
|
// src/i18n.tsx
|
|
13
|
+
import { I18nProvider as AriaI18nProvider } from "@react-aria/i18n";
|
|
13
14
|
import { useMemo } from "react";
|
|
14
15
|
import { IntlProvider } from "react-intl";
|
|
15
16
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -39,7 +40,7 @@ var I18nProvider = (props) => {
|
|
|
39
40
|
locale,
|
|
40
41
|
messages: mergedMessages,
|
|
41
42
|
onError: () => null,
|
|
42
|
-
children
|
|
43
|
+
children: /* @__PURE__ */ jsx(AriaI18nProvider, { locale, children })
|
|
43
44
|
}
|
|
44
45
|
);
|
|
45
46
|
};
|
package/dist/i18n.js
CHANGED
|
@@ -25,6 +25,7 @@ __export(i18n_exports, {
|
|
|
25
25
|
I18nProvider: () => I18nProvider
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(i18n_exports);
|
|
28
|
+
var import_i18n = require("@react-aria/i18n");
|
|
28
29
|
var import_react4 = require("react");
|
|
29
30
|
var import_react_intl2 = require("react-intl");
|
|
30
31
|
|
|
@@ -721,7 +722,7 @@ var I18nProvider = (props) => {
|
|
|
721
722
|
locale,
|
|
722
723
|
messages: mergedMessages,
|
|
723
724
|
onError: () => null,
|
|
724
|
-
children
|
|
725
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_i18n.I18nProvider, { locale, children })
|
|
725
726
|
}
|
|
726
727
|
);
|
|
727
728
|
};
|
package/dist/i18n.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -49,6 +49,7 @@ var useSafeIntl = () => {
|
|
|
49
49
|
};
|
|
50
50
|
|
|
51
51
|
// src/i18n.tsx
|
|
52
|
+
var import_i18n = require("@react-aria/i18n");
|
|
52
53
|
var import_react4 = require("react");
|
|
53
54
|
var import_react_intl2 = require("react-intl");
|
|
54
55
|
|
|
@@ -725,7 +726,7 @@ var I18nProvider = (props) => {
|
|
|
725
726
|
locale,
|
|
726
727
|
messages: mergedMessages,
|
|
727
728
|
onError: () => null,
|
|
728
|
-
children
|
|
729
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_i18n.I18nProvider, { locale, children })
|
|
729
730
|
}
|
|
730
731
|
);
|
|
731
732
|
};
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kopexa/i18n",
|
|
3
|
-
"version": "17.
|
|
3
|
+
"version": "17.17.0",
|
|
4
4
|
"description": "i18n provider for kopexa apps",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"i18n"
|
|
@@ -28,12 +28,13 @@
|
|
|
28
28
|
"react": ">=19.0.0-rc.0",
|
|
29
29
|
"react-dom": ">=19.0.0-rc.0",
|
|
30
30
|
"motion": ">=12.23.6",
|
|
31
|
-
"@kopexa/theme": "17.
|
|
31
|
+
"@kopexa/theme": "17.36.0"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
+
"@react-aria/i18n": "^3.13.1",
|
|
34
35
|
"react-intl": "^7.1.14",
|
|
35
|
-
"@kopexa/shared-utils": "17.0.
|
|
36
|
-
"@kopexa/react-utils": "17.1.
|
|
36
|
+
"@kopexa/shared-utils": "17.0.95",
|
|
37
|
+
"@kopexa/react-utils": "17.1.37"
|
|
37
38
|
},
|
|
38
39
|
"clean-package": "../../../clean-package.config.json",
|
|
39
40
|
"module": "dist/index.mjs",
|