@ethnolib/language-chooser-react-mui 0.0.38 → 0.0.39

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.
Files changed (3) hide show
  1. package/index.js +2 -2
  2. package/index.mjs +14 -4
  3. package/package.json +3 -3
package/index.mjs CHANGED
@@ -311076,15 +311076,25 @@ function Ju(e) {
311076
311076
  };
311077
311077
  }
311078
311078
  const Nw = {
311079
+ // Scripts which frequently show up as options for languages with multiple scripts
311079
311080
  latn: "A B C D",
311080
311081
  arab: "ا ب ت ث",
311081
- deva: " ",
311082
+ deva: " ",
311082
311083
  cyrl: "А Б В Г",
311083
311084
  tibt: "ཀ ཁ ག གྷ",
311084
311085
  ethi: "ሀ ሁ ሂ ሃ",
311085
311086
  thai: "ก ข ค ฆ",
311086
- beng: " ",
311087
- mymr: "က ခ ဂ ဃ"
311087
+ beng: " ",
311088
+ mymr: "က ခ ဂ ဃ",
311089
+ // Some additional Indian scripts
311090
+ guru: "ਕ ਖ ਗ ਘ",
311091
+ gujr: "ક ખ ગ ઘ",
311092
+ taml: "க ங ச ஞ",
311093
+ telu: "క ఖ గ ఘ",
311094
+ knda: "ಕ ಖ ಗ ಘ",
311095
+ mlym: "ക ഖ ഗ ഘ",
311096
+ orya: "କ ଖ ଗ ଘ",
311097
+ mtei: "ꯀ ꯈ ꯒ ꯔ"
311088
311098
  }, Tc = ({
311089
311099
  children: e,
311090
311100
  isSelected: t,
@@ -312457,7 +312467,7 @@ const tM = {
312457
312467
  children: /* @__PURE__ */ ja(
312458
312468
  eM,
312459
312469
  {
312460
- offset: u ? 1e6 : 500,
312470
+ offset: 500,
312461
312471
  height: aL,
312462
312472
  overflow: !0,
312463
312473
  children: [
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "A language chooser React component using MUI",
4
4
  "author": "SIL Global",
5
5
  "license": "MIT",
6
- "version": "0.0.38",
6
+ "version": "0.0.39",
7
7
  "main": "./index.js",
8
8
  "types": "./index.d.ts",
9
9
  "exports": {
@@ -18,8 +18,8 @@
18
18
  "e2e": "playwright test"
19
19
  },
20
20
  "dependencies": {
21
- "@ethnolib/find-language": "0.0.21",
22
- "@ethnolib/language-chooser-react-hook": "0.0.16",
21
+ "@ethnolib/find-language": "0.0.23",
22
+ "@ethnolib/language-chooser-react-hook": "0.0.17",
23
23
  "lodash": "^4.17.21",
24
24
  "react-lazyload": "^3.2.1",
25
25
  "@mui/icons-material": "^5.15.19"