@ahmadmubarak98/namozaj 1.4.2 → 1.4.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.
Files changed (2) hide show
  1. package/dist/namozaj.js +5 -1
  2. package/package.json +1 -1
package/dist/namozaj.js CHANGED
@@ -82630,7 +82630,11 @@ const Form = React__default.forwardRef(
82630
82630
  onValueChange: (b, w) => {
82631
82631
  var S, x, D;
82632
82632
  l(b), (x = (S = e.localization) == null ? void 0 : S.localePicker) != null && x.onLocaleChange && ((D = e.localization) == null || D.localePicker.onLocaleChange(
82633
- b,
82633
+ b.sort((I, k) => {
82634
+ var B, G;
82635
+ const A = ((B = e.localization) == null ? void 0 : B.locales.indexOf(I)) || 0, L = ((G = e.localization) == null ? void 0 : G.locales.indexOf(k)) || 0;
82636
+ return A - L;
82637
+ }),
82634
82638
  w
82635
82639
  ));
82636
82640
  },
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ahmadmubarak98/namozaj",
3
3
  "private": false,
4
- "version": "1.4.2",
4
+ "version": "1.4.3",
5
5
  "type": "module",
6
6
  "main": "dist/namozaj.js",
7
7
  "types": "dist/main.d.ts",