@ethnolib/language-chooser-react-mui 0.4.0 → 0.4.1
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/index.js +1 -1
- package/index.mjs +7 -3
- package/package.json +3 -3
package/index.mjs
CHANGED
|
@@ -4661,9 +4661,13 @@ var ft = /* @__PURE__ */ function(e) {
|
|
|
4661
4661
|
return e.Ancient = "Ancient", e.Constructed = "Constructed", e.Extinct = "Extinct", e.Historical = "Historical", e.Living = "Living", e.Special = "Special", e.Unknown = "Unknown", e.Custom = "Custom", e;
|
|
4662
4662
|
}({});
|
|
4663
4663
|
function pD(e) {
|
|
4664
|
-
var
|
|
4665
|
-
|
|
4666
|
-
|
|
4664
|
+
var i;
|
|
4665
|
+
try {
|
|
4666
|
+
const t = new Intl.Locale(`und-${e}`), s = ((i = t.getTextInfo) == null ? void 0 : i.call(t)) ?? t.textInfo;
|
|
4667
|
+
return (s == null ? void 0 : s.direction) === "rtl";
|
|
4668
|
+
} catch {
|
|
4669
|
+
return !1;
|
|
4670
|
+
}
|
|
4667
4671
|
}
|
|
4668
4672
|
const hD = [
|
|
4669
4673
|
{
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
},
|
|
12
12
|
"author": "SIL Global",
|
|
13
13
|
"license": "MIT",
|
|
14
|
-
"version": "0.4.
|
|
14
|
+
"version": "0.4.1",
|
|
15
15
|
"main": "./index.js",
|
|
16
16
|
"types": "./index.d.ts",
|
|
17
17
|
"exports": {
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"e2e": "playwright test"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@ethnolib/find-language": "0.4.
|
|
32
|
-
"@ethnolib/language-chooser-react-hook": "0.3.
|
|
31
|
+
"@ethnolib/find-language": "0.4.1",
|
|
32
|
+
"@ethnolib/language-chooser-react-hook": "0.3.4",
|
|
33
33
|
"lodash": "4.17.21",
|
|
34
34
|
"react-lazyload": "3.2.1",
|
|
35
35
|
"@mui/icons-material": "5.18.0"
|