@mui/material 7.3.2 → 7.3.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 (274) hide show
  1. package/CHANGELOG.md +61 -0
  2. package/CircularProgress/CircularProgress.d.ts +6 -0
  3. package/CircularProgress/CircularProgress.js +31 -4
  4. package/CircularProgress/circularProgressClasses.d.ts +2 -0
  5. package/CircularProgress/circularProgressClasses.js +1 -1
  6. package/Divider/Divider.js +1 -1
  7. package/MenuItem/MenuItem.js +1 -1
  8. package/SnackbarContent/SnackbarContent.js +1 -1
  9. package/Tabs/Tabs.js +5 -0
  10. package/TextField/TextField.js +1 -1
  11. package/esm/CircularProgress/CircularProgress.d.ts +6 -0
  12. package/esm/CircularProgress/CircularProgress.js +32 -5
  13. package/esm/CircularProgress/circularProgressClasses.d.ts +2 -0
  14. package/esm/CircularProgress/circularProgressClasses.js +1 -1
  15. package/esm/Divider/Divider.js +1 -1
  16. package/esm/MenuItem/MenuItem.js +1 -1
  17. package/esm/SnackbarContent/SnackbarContent.js +1 -1
  18. package/esm/Tabs/Tabs.js +5 -0
  19. package/esm/TextField/TextField.js +1 -1
  20. package/esm/index.js +1 -1
  21. package/esm/locale/amET.d.ts +2 -0
  22. package/esm/locale/amET.js +73 -0
  23. package/esm/locale/arEG.d.ts +2 -0
  24. package/esm/locale/arEG.js +73 -0
  25. package/esm/locale/arSA.d.ts +2 -0
  26. package/esm/locale/arSA.js +73 -0
  27. package/esm/locale/arSD.d.ts +2 -0
  28. package/esm/locale/arSD.js +73 -0
  29. package/esm/locale/azAZ.d.ts +2 -0
  30. package/esm/locale/azAZ.js +77 -0
  31. package/esm/locale/beBY.d.ts +2 -0
  32. package/esm/locale/beBY.js +85 -0
  33. package/esm/locale/bgBG.d.ts +2 -0
  34. package/esm/locale/bgBG.js +70 -0
  35. package/esm/locale/bnBD.d.ts +2 -0
  36. package/esm/locale/bnBD.js +73 -0
  37. package/esm/locale/caES.d.ts +2 -0
  38. package/esm/locale/caES.js +70 -0
  39. package/esm/locale/csCZ.d.ts +2 -0
  40. package/esm/locale/csCZ.js +81 -0
  41. package/esm/locale/daDK.d.ts +2 -0
  42. package/esm/locale/daDK.js +73 -0
  43. package/esm/locale/deDE.d.ts +2 -0
  44. package/esm/locale/deDE.js +73 -0
  45. package/esm/locale/elGR.d.ts +2 -0
  46. package/esm/locale/elGR.js +75 -0
  47. package/esm/locale/enUS.d.ts +2 -0
  48. package/esm/locale/enUS.js +61 -0
  49. package/esm/locale/esES.d.ts +2 -0
  50. package/esm/locale/esES.js +73 -0
  51. package/esm/locale/etEE.d.ts +2 -0
  52. package/esm/locale/etEE.js +73 -0
  53. package/esm/locale/faIR.d.ts +2 -0
  54. package/esm/locale/faIR.js +78 -0
  55. package/esm/locale/fiFI.d.ts +2 -0
  56. package/esm/locale/fiFI.js +73 -0
  57. package/esm/locale/frFR.d.ts +2 -0
  58. package/esm/locale/frFR.js +73 -0
  59. package/esm/locale/heIL.d.ts +2 -0
  60. package/esm/locale/heIL.js +73 -0
  61. package/esm/locale/hiIN.d.ts +2 -0
  62. package/esm/locale/hiIN.js +73 -0
  63. package/esm/locale/hrHR.d.ts +2 -0
  64. package/esm/locale/hrHR.js +81 -0
  65. package/esm/locale/huHU.d.ts +2 -0
  66. package/esm/locale/huHU.js +70 -0
  67. package/esm/locale/hyAM.d.ts +2 -0
  68. package/esm/locale/hyAM.js +70 -0
  69. package/esm/locale/idID.d.ts +2 -0
  70. package/esm/locale/idID.js +70 -0
  71. package/esm/locale/index.d.ts +60 -82
  72. package/esm/locale/index.js +60 -4327
  73. package/esm/locale/isIS.d.ts +2 -0
  74. package/esm/locale/isIS.js +73 -0
  75. package/esm/locale/itIT.d.ts +2 -0
  76. package/esm/locale/itIT.js +73 -0
  77. package/esm/locale/jaJP.d.ts +2 -0
  78. package/esm/locale/jaJP.js +73 -0
  79. package/esm/locale/khKH.d.ts +2 -0
  80. package/esm/locale/khKH.js +73 -0
  81. package/esm/locale/kkKZ.d.ts +2 -0
  82. package/esm/locale/kkKZ.js +76 -0
  83. package/esm/locale/koKR.d.ts +2 -0
  84. package/esm/locale/koKR.js +73 -0
  85. package/esm/locale/kuCKB.d.ts +2 -0
  86. package/esm/locale/kuCKB.js +73 -0
  87. package/esm/locale/kuLatn.d.ts +2 -0
  88. package/esm/locale/kuLatn.js +73 -0
  89. package/esm/locale/mkMK.d.ts +2 -0
  90. package/esm/locale/mkMK.js +77 -0
  91. package/esm/locale/msMS.d.ts +2 -0
  92. package/esm/locale/msMS.js +77 -0
  93. package/esm/locale/myMY.d.ts +2 -0
  94. package/esm/locale/myMY.js +77 -0
  95. package/esm/locale/nbNO.d.ts +2 -0
  96. package/esm/locale/nbNO.js +73 -0
  97. package/esm/locale/neNP.d.ts +2 -0
  98. package/esm/locale/neNP.js +77 -0
  99. package/esm/locale/nlNL.d.ts +2 -0
  100. package/esm/locale/nlNL.js +73 -0
  101. package/esm/locale/nnNO.d.ts +2 -0
  102. package/esm/locale/nnNO.js +73 -0
  103. package/esm/locale/plPL.d.ts +2 -0
  104. package/esm/locale/plPL.js +82 -0
  105. package/esm/locale/psAF.d.ts +2 -0
  106. package/esm/locale/psAF.js +73 -0
  107. package/esm/locale/ptBR.d.ts +2 -0
  108. package/esm/locale/ptBR.js +73 -0
  109. package/esm/locale/ptPT.d.ts +2 -0
  110. package/esm/locale/ptPT.js +73 -0
  111. package/esm/locale/roRO.d.ts +2 -0
  112. package/esm/locale/roRO.js +73 -0
  113. package/esm/locale/ruRU.d.ts +2 -0
  114. package/esm/locale/ruRU.js +85 -0
  115. package/esm/locale/siLK.d.ts +2 -0
  116. package/esm/locale/siLK.js +73 -0
  117. package/esm/locale/skSK.d.ts +2 -0
  118. package/esm/locale/skSK.js +81 -0
  119. package/esm/locale/srRS.d.ts +2 -0
  120. package/esm/locale/srRS.js +81 -0
  121. package/esm/locale/svSE.d.ts +2 -0
  122. package/esm/locale/svSE.js +73 -0
  123. package/esm/locale/thTH.d.ts +2 -0
  124. package/esm/locale/thTH.js +73 -0
  125. package/esm/locale/tlTL.d.ts +2 -0
  126. package/esm/locale/tlTL.js +74 -0
  127. package/esm/locale/trTR.d.ts +2 -0
  128. package/esm/locale/trTR.js +73 -0
  129. package/esm/locale/ukUA.d.ts +2 -0
  130. package/esm/locale/ukUA.js +82 -0
  131. package/esm/locale/urPK.d.ts +2 -0
  132. package/esm/locale/urPK.js +73 -0
  133. package/esm/locale/utils/LocaleTextApi.d.ts +23 -0
  134. package/esm/locale/utils/LocaleTextApi.js +1 -0
  135. package/esm/locale/viVN.d.ts +2 -0
  136. package/esm/locale/viVN.js +73 -0
  137. package/esm/locale/zhCN.d.ts +2 -0
  138. package/esm/locale/zhCN.js +51 -0
  139. package/esm/locale/zhHK.d.ts +2 -0
  140. package/esm/locale/zhHK.js +51 -0
  141. package/esm/locale/zhTW.d.ts +2 -0
  142. package/esm/locale/zhTW.js +51 -0
  143. package/esm/styles/createColorScheme.js +2 -2
  144. package/esm/styles/createTheme.js +2 -2
  145. package/esm/useAutocomplete/useAutocomplete.js +2 -2
  146. package/esm/version/index.js +2 -2
  147. package/index.js +1 -1
  148. package/locale/amET.d.ts +2 -0
  149. package/locale/amET.js +79 -0
  150. package/locale/arEG.d.ts +2 -0
  151. package/locale/arEG.js +79 -0
  152. package/locale/arSA.d.ts +2 -0
  153. package/locale/arSA.js +79 -0
  154. package/locale/arSD.d.ts +2 -0
  155. package/locale/arSD.js +79 -0
  156. package/locale/azAZ.d.ts +2 -0
  157. package/locale/azAZ.js +83 -0
  158. package/locale/beBY.d.ts +2 -0
  159. package/locale/beBY.js +91 -0
  160. package/locale/bgBG.d.ts +2 -0
  161. package/locale/bgBG.js +76 -0
  162. package/locale/bnBD.d.ts +2 -0
  163. package/locale/bnBD.js +79 -0
  164. package/locale/caES.d.ts +2 -0
  165. package/locale/caES.js +76 -0
  166. package/locale/csCZ.d.ts +2 -0
  167. package/locale/csCZ.js +87 -0
  168. package/locale/daDK.d.ts +2 -0
  169. package/locale/daDK.js +79 -0
  170. package/locale/deDE.d.ts +2 -0
  171. package/locale/deDE.js +79 -0
  172. package/locale/elGR.d.ts +2 -0
  173. package/locale/elGR.js +81 -0
  174. package/locale/enUS.d.ts +2 -0
  175. package/locale/enUS.js +67 -0
  176. package/locale/esES.d.ts +2 -0
  177. package/locale/esES.js +79 -0
  178. package/locale/etEE.d.ts +2 -0
  179. package/locale/etEE.js +79 -0
  180. package/locale/faIR.d.ts +2 -0
  181. package/locale/faIR.js +84 -0
  182. package/locale/fiFI.d.ts +2 -0
  183. package/locale/fiFI.js +79 -0
  184. package/locale/frFR.d.ts +2 -0
  185. package/locale/frFR.js +79 -0
  186. package/locale/heIL.d.ts +2 -0
  187. package/locale/heIL.js +79 -0
  188. package/locale/hiIN.d.ts +2 -0
  189. package/locale/hiIN.js +79 -0
  190. package/locale/hrHR.d.ts +2 -0
  191. package/locale/hrHR.js +87 -0
  192. package/locale/huHU.d.ts +2 -0
  193. package/locale/huHU.js +76 -0
  194. package/locale/hyAM.d.ts +2 -0
  195. package/locale/hyAM.js +76 -0
  196. package/locale/idID.d.ts +2 -0
  197. package/locale/idID.js +76 -0
  198. package/locale/index.d.ts +60 -82
  199. package/locale/index.js +660 -4328
  200. package/locale/isIS.d.ts +2 -0
  201. package/locale/isIS.js +79 -0
  202. package/locale/itIT.d.ts +2 -0
  203. package/locale/itIT.js +79 -0
  204. package/locale/jaJP.d.ts +2 -0
  205. package/locale/jaJP.js +79 -0
  206. package/locale/khKH.d.ts +2 -0
  207. package/locale/khKH.js +79 -0
  208. package/locale/kkKZ.d.ts +2 -0
  209. package/locale/kkKZ.js +82 -0
  210. package/locale/koKR.d.ts +2 -0
  211. package/locale/koKR.js +79 -0
  212. package/locale/kuCKB.d.ts +2 -0
  213. package/locale/kuCKB.js +79 -0
  214. package/locale/kuLatn.d.ts +2 -0
  215. package/locale/kuLatn.js +79 -0
  216. package/locale/mkMK.d.ts +2 -0
  217. package/locale/mkMK.js +83 -0
  218. package/locale/msMS.d.ts +2 -0
  219. package/locale/msMS.js +83 -0
  220. package/locale/myMY.d.ts +2 -0
  221. package/locale/myMY.js +83 -0
  222. package/locale/nbNO.d.ts +2 -0
  223. package/locale/nbNO.js +79 -0
  224. package/locale/neNP.d.ts +2 -0
  225. package/locale/neNP.js +83 -0
  226. package/locale/nlNL.d.ts +2 -0
  227. package/locale/nlNL.js +79 -0
  228. package/locale/nnNO.d.ts +2 -0
  229. package/locale/nnNO.js +79 -0
  230. package/locale/plPL.d.ts +2 -0
  231. package/locale/plPL.js +88 -0
  232. package/locale/psAF.d.ts +2 -0
  233. package/locale/psAF.js +79 -0
  234. package/locale/ptBR.d.ts +2 -0
  235. package/locale/ptBR.js +79 -0
  236. package/locale/ptPT.d.ts +2 -0
  237. package/locale/ptPT.js +79 -0
  238. package/locale/roRO.d.ts +2 -0
  239. package/locale/roRO.js +79 -0
  240. package/locale/ruRU.d.ts +2 -0
  241. package/locale/ruRU.js +91 -0
  242. package/locale/siLK.d.ts +2 -0
  243. package/locale/siLK.js +79 -0
  244. package/locale/skSK.d.ts +2 -0
  245. package/locale/skSK.js +87 -0
  246. package/locale/srRS.d.ts +2 -0
  247. package/locale/srRS.js +87 -0
  248. package/locale/svSE.d.ts +2 -0
  249. package/locale/svSE.js +79 -0
  250. package/locale/thTH.d.ts +2 -0
  251. package/locale/thTH.js +79 -0
  252. package/locale/tlTL.d.ts +2 -0
  253. package/locale/tlTL.js +80 -0
  254. package/locale/trTR.d.ts +2 -0
  255. package/locale/trTR.js +79 -0
  256. package/locale/ukUA.d.ts +2 -0
  257. package/locale/ukUA.js +88 -0
  258. package/locale/urPK.d.ts +2 -0
  259. package/locale/urPK.js +79 -0
  260. package/locale/utils/LocaleTextApi.d.ts +23 -0
  261. package/locale/utils/LocaleTextApi.js +5 -0
  262. package/locale/viVN.d.ts +2 -0
  263. package/locale/viVN.js +79 -0
  264. package/locale/zhCN.d.ts +2 -0
  265. package/locale/zhCN.js +57 -0
  266. package/locale/zhHK.d.ts +2 -0
  267. package/locale/zhHK.js +57 -0
  268. package/locale/zhTW.d.ts +2 -0
  269. package/locale/zhTW.js +57 -0
  270. package/package.json +8 -8
  271. package/styles/createColorScheme.js +2 -2
  272. package/styles/createTheme.js +2 -2
  273. package/useAutocomplete/useAutocomplete.js +2 -2
  274. package/version/index.js +2 -2
@@ -0,0 +1,51 @@
1
+ export const zhTW = {
2
+ components: {
3
+ MuiBreadcrumbs: {
4
+ defaultProps: {
5
+ expandText: '展開'
6
+ }
7
+ },
8
+ MuiTablePagination: {
9
+ defaultProps: {
10
+ getItemAriaLabel: type => {
11
+ if (type === 'first') {
12
+ return '第一頁';
13
+ }
14
+ if (type === 'last') {
15
+ return '最後一頁';
16
+ }
17
+ if (type === 'next') {
18
+ return '下一頁';
19
+ }
20
+ return '上一頁';
21
+ },
22
+ labelRowsPerPage: '每頁數量:',
23
+ labelDisplayedRows: ({
24
+ from,
25
+ to,
26
+ count
27
+ }) => `${from} ~ ${to} / ${count !== -1 ? count : `${to} 以上`}`
28
+ }
29
+ },
30
+ MuiRating: {
31
+ defaultProps: {
32
+ getLabelText: value => `${value} 顆星`,
33
+ emptyLabelText: '無標籤'
34
+ }
35
+ },
36
+ MuiAutocomplete: {
37
+ defaultProps: {
38
+ clearText: '清空',
39
+ closeText: '關閉',
40
+ loadingText: '載入中…',
41
+ noOptionsText: '沒有可用選項',
42
+ openText: '打開'
43
+ }
44
+ },
45
+ MuiAlert: {
46
+ defaultProps: {
47
+ closeText: '關閉'
48
+ }
49
+ }
50
+ }
51
+ };
@@ -27,7 +27,7 @@ export default function createColorScheme(options) {
27
27
  opacity,
28
28
  overlays,
29
29
  colorSpace,
30
- ...rest
30
+ ...other
31
31
  } = options;
32
32
  // need to cast because `colorSpace` is considered internal at the moment.
33
33
  const palette = createPalette({
@@ -41,6 +41,6 @@ export default function createColorScheme(options) {
41
41
  ...opacity
42
42
  },
43
43
  overlays: overlays || getOverlays(palette.mode),
44
- ...rest
44
+ ...other
45
45
  };
46
46
  }
@@ -33,7 +33,7 @@ export default function createTheme(options = {},
33
33
  light: true
34
34
  } : undefined,
35
35
  defaultColorScheme: initialDefaultColorScheme = palette?.mode,
36
- ...rest
36
+ ...other
37
37
  } = options;
38
38
  const defaultColorSchemeInput = initialDefaultColorScheme || 'light';
39
39
  const defaultScheme = initialColorSchemes?.[defaultColorSchemeInput];
@@ -90,7 +90,7 @@ export default function createTheme(options = {},
90
90
  colorSchemesInput.light = true;
91
91
  }
92
92
  return createThemeWithVars({
93
- ...rest,
93
+ ...other,
94
94
  colorSchemes: colorSchemesInput,
95
95
  defaultColorScheme: defaultColorSchemeInput,
96
96
  ...(typeof cssVariables !== 'boolean' && cssVariables)
@@ -486,10 +486,10 @@ function useAutocomplete(props) {
486
486
  }, [componentName]);
487
487
  }
488
488
  React.useEffect(() => {
489
- if (filteredOptionsChanged) {
489
+ if (filteredOptionsChanged || popupOpen) {
490
490
  syncHighlightedIndex();
491
491
  }
492
- }, [syncHighlightedIndex, filteredOptionsChanged]);
492
+ }, [syncHighlightedIndex, filteredOptionsChanged, popupOpen]);
493
493
  const handleOpen = event => {
494
494
  if (open) {
495
495
  return;
@@ -1,6 +1,6 @@
1
- export const version = "7.3.2";
1
+ export const version = "7.3.3";
2
2
  export const major = Number("7");
3
3
  export const minor = Number("3");
4
- export const patch = Number("2");
4
+ export const patch = Number("3");
5
5
  export const prerelease = undefined;
6
6
  export default version;
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @mui/material v7.3.2
2
+ * @mui/material v7.3.3
3
3
  *
4
4
  * @license MIT
5
5
  * This source code is licensed under the MIT license found in the
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const amET: Localization;
package/locale/amET.js ADDED
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.amET = void 0;
7
+ const amET = exports.amET = {
8
+ components: {
9
+ MuiBreadcrumbs: {
10
+ defaultProps: {
11
+ expandText: 'መንገድ አሳይ'
12
+ }
13
+ },
14
+ MuiTablePagination: {
15
+ defaultProps: {
16
+ getItemAriaLabel: type => {
17
+ if (type === 'first') {
18
+ return 'ወደ መጀመሪያው ገጽ ይሂዱ';
19
+ }
20
+ if (type === 'last') {
21
+ return 'ወደ መጨረሻው ገጽ ይሂዱ';
22
+ }
23
+ if (type === 'next') {
24
+ return 'ወደ ቀጣዩ ገጽ ይሂዱ';
25
+ }
26
+ // if (type === 'previous') {
27
+ return 'ወደ ቀዳሚው ገጽ ይሂዱ';
28
+ },
29
+ labelRowsPerPage: 'ረድፎች በአንድ ገጽ:',
30
+ labelDisplayedRows: ({
31
+ from,
32
+ to,
33
+ count
34
+ }) => `${from}-${to} ከ ${count !== -1 ? count : `${to} በላይ`}`
35
+ }
36
+ },
37
+ MuiRating: {
38
+ defaultProps: {
39
+ getLabelText: value => `${value} ኮከ${value !== 1 ? 'ቦች' : 'ብ'}`,
40
+ emptyLabelText: 'ባዶ'
41
+ }
42
+ },
43
+ MuiAutocomplete: {
44
+ defaultProps: {
45
+ clearText: 'አጽዳ',
46
+ closeText: 'ዝጋ',
47
+ loadingText: 'በመጫን ላይ…',
48
+ noOptionsText: 'አማራጮች የሉም',
49
+ openText: 'ክፈት'
50
+ }
51
+ },
52
+ MuiAlert: {
53
+ defaultProps: {
54
+ closeText: 'ዝጋ'
55
+ }
56
+ },
57
+ MuiPagination: {
58
+ defaultProps: {
59
+ 'aria-label': 'የገጽ አሰሳ',
60
+ getItemAriaLabel: (type, page, selected) => {
61
+ if (type === 'page') {
62
+ return `${selected ? '' : 'ወደ '}ገጽ ${page}${selected ? '' : ' ሂድ'}`;
63
+ }
64
+ if (type === 'first') {
65
+ return 'ወደ መጀመሪያው ገጽ ይሂዱ';
66
+ }
67
+ if (type === 'last') {
68
+ return 'ወደ መጨረሻው ገጽ ይሂዱ';
69
+ }
70
+ if (type === 'next') {
71
+ return 'ወደ ቀጣዩ ገጽ ይሂዱ';
72
+ }
73
+ // if (type === 'previous') {
74
+ return 'ወደ ቀዳሚው ገጽ ይሂዱ';
75
+ }
76
+ }
77
+ }
78
+ }
79
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const arEG: Localization;
package/locale/arEG.js ADDED
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.arEG = void 0;
7
+ const arEG = exports.arEG = {
8
+ components: {
9
+ MuiBreadcrumbs: {
10
+ defaultProps: {
11
+ expandText: 'إظهار المسار'
12
+ }
13
+ },
14
+ MuiTablePagination: {
15
+ defaultProps: {
16
+ getItemAriaLabel: type => {
17
+ if (type === 'first') {
18
+ return 'انتقل إلى الصفحة الأولى';
19
+ }
20
+ if (type === 'last') {
21
+ return 'انتقل إلى الصفحة الأخيرة';
22
+ }
23
+ if (type === 'next') {
24
+ return 'انتقل إلى الصفحة التالية';
25
+ }
26
+ // if (type === 'previous') {
27
+ return 'انتقل إلى الصفحة السابقة';
28
+ },
29
+ labelRowsPerPage: 'عدد الصفوف في الصفحة:',
30
+ labelDisplayedRows: ({
31
+ from,
32
+ to,
33
+ count
34
+ }) => `${from}–${to} من ${count !== -1 ? count : ` أكثر من${to}`}`
35
+ }
36
+ },
37
+ MuiRating: {
38
+ defaultProps: {
39
+ getLabelText: value => `${value} ${value !== 1 ? 'نجوم' : 'نجمة'}`,
40
+ emptyLabelText: 'فارغ'
41
+ }
42
+ },
43
+ MuiAutocomplete: {
44
+ defaultProps: {
45
+ clearText: 'مسح',
46
+ closeText: 'إغلاق',
47
+ loadingText: 'جار التحميل...',
48
+ noOptionsText: 'لا يوجد خيارات',
49
+ openText: 'فتح'
50
+ }
51
+ },
52
+ MuiAlert: {
53
+ defaultProps: {
54
+ closeText: 'إغلاق'
55
+ }
56
+ },
57
+ MuiPagination: {
58
+ defaultProps: {
59
+ 'aria-label': 'التنقل عبر الصفحات',
60
+ getItemAriaLabel: (type, page, selected) => {
61
+ if (type === 'page') {
62
+ return `${selected ? '' : 'انتقل إلى '} صفحة ${page}`;
63
+ }
64
+ if (type === 'first') {
65
+ return 'انتقل إلى الصفحة الأولى';
66
+ }
67
+ if (type === 'last') {
68
+ return 'انتقل إلى الصفحة الأخيرة';
69
+ }
70
+ if (type === 'next') {
71
+ return 'انتقل إلى الصفحة التالية';
72
+ }
73
+ // if (type === 'previous') {
74
+ return 'انتقل إلى الصفحة السابقة';
75
+ }
76
+ }
77
+ }
78
+ }
79
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const arSA: Localization;
package/locale/arSA.js ADDED
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.arSA = void 0;
7
+ const arSA = exports.arSA = {
8
+ components: {
9
+ MuiBreadcrumbs: {
10
+ defaultProps: {
11
+ expandText: 'إظهار المسار'
12
+ }
13
+ },
14
+ MuiTablePagination: {
15
+ defaultProps: {
16
+ getItemAriaLabel: type => {
17
+ if (type === 'first') {
18
+ return 'الانتقال إلى الصفحة الأولى';
19
+ }
20
+ if (type === 'last') {
21
+ return 'الانتقال إلى الصفحة الأخيرة';
22
+ }
23
+ if (type === 'next') {
24
+ return 'الانتقال إلى الصفحة التالية';
25
+ }
26
+ // if (type === 'previous') {
27
+ return 'الانتقال إلى الصفحة السابقة';
28
+ },
29
+ labelRowsPerPage: 'عدد الصفوف في الصفحة:',
30
+ labelDisplayedRows: ({
31
+ from,
32
+ to,
33
+ count
34
+ }) => `${from}–${to} من ${count !== -1 ? count : ` أكثر من${to}`}`
35
+ }
36
+ },
37
+ MuiRating: {
38
+ defaultProps: {
39
+ getLabelText: value => `${value} ${value !== 1 ? 'نجوم' : 'نجمة'}`,
40
+ emptyLabelText: 'فارغ'
41
+ }
42
+ },
43
+ MuiAutocomplete: {
44
+ defaultProps: {
45
+ clearText: 'مسح',
46
+ closeText: 'إغلاق',
47
+ loadingText: 'جار التحميل...',
48
+ noOptionsText: 'لا توجد خيارات',
49
+ openText: 'فتح'
50
+ }
51
+ },
52
+ MuiAlert: {
53
+ defaultProps: {
54
+ closeText: 'إغلاق'
55
+ }
56
+ },
57
+ MuiPagination: {
58
+ defaultProps: {
59
+ 'aria-label': 'التنقل عبر الصفحات',
60
+ getItemAriaLabel: (type, page, selected) => {
61
+ if (type === 'page') {
62
+ return `${selected ? '' : 'الانتقال إلى '} صفحة ${page}`;
63
+ }
64
+ if (type === 'first') {
65
+ return 'الانتقال إلى الصفحة الأولى';
66
+ }
67
+ if (type === 'last') {
68
+ return 'الانتقال الي الصفحة الأخيرة';
69
+ }
70
+ if (type === 'next') {
71
+ return 'الانتقال إلى الصفحة التالية';
72
+ }
73
+ // if (type === 'previous') {
74
+ return 'الانتقال إلى الصفحة السابقة';
75
+ }
76
+ }
77
+ }
78
+ }
79
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const arSD: Localization;
package/locale/arSD.js ADDED
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.arSD = void 0;
7
+ const arSD = exports.arSD = {
8
+ components: {
9
+ MuiBreadcrumbs: {
10
+ defaultProps: {
11
+ expandText: 'إظهار المسار'
12
+ }
13
+ },
14
+ MuiTablePagination: {
15
+ defaultProps: {
16
+ getItemAriaLabel: type => {
17
+ if (type === 'first') {
18
+ return 'انتقل إلى الصفحة الأولى';
19
+ }
20
+ if (type === 'last') {
21
+ return 'انتقل إلى الصفحة الأخيرة';
22
+ }
23
+ if (type === 'next') {
24
+ return 'انتقل إلى الصفحة التالية';
25
+ }
26
+ // if (type === 'previous') {
27
+ return 'انتقل إلى الصفحة السابقة';
28
+ },
29
+ labelRowsPerPage: 'عدد الصفوف في الصفحة:',
30
+ labelDisplayedRows: ({
31
+ from,
32
+ to,
33
+ count
34
+ }) => `${from}–${to} من ${count !== -1 ? count : ` أكثر من${to}`}`
35
+ }
36
+ },
37
+ MuiRating: {
38
+ defaultProps: {
39
+ getLabelText: value => `${value} ${value !== 1 ? 'نجوم' : 'نجمة'}`,
40
+ emptyLabelText: 'فارغ'
41
+ }
42
+ },
43
+ MuiAutocomplete: {
44
+ defaultProps: {
45
+ clearText: 'مسح',
46
+ closeText: 'إغلاق',
47
+ loadingText: 'جار التحميل...',
48
+ noOptionsText: 'لا يوجد خيارات',
49
+ openText: 'فتح'
50
+ }
51
+ },
52
+ MuiAlert: {
53
+ defaultProps: {
54
+ closeText: 'إغلاق'
55
+ }
56
+ },
57
+ MuiPagination: {
58
+ defaultProps: {
59
+ 'aria-label': 'التنقل عبر الصفحات',
60
+ getItemAriaLabel: (type, page, selected) => {
61
+ if (type === 'page') {
62
+ return `${selected ? '' : 'انتقل إلى '} صفحة ${page}`;
63
+ }
64
+ if (type === 'first') {
65
+ return 'انتقل إلى الصفحة الأولى';
66
+ }
67
+ if (type === 'last') {
68
+ return 'انتقل الي الصفحة الأخيرة';
69
+ }
70
+ if (type === 'next') {
71
+ return 'انتقل إلى الصفحة التالية';
72
+ }
73
+ // if (type === 'previous') {
74
+ return 'انتقل إلى الصفحة السابقة';
75
+ }
76
+ }
77
+ }
78
+ }
79
+ };
@@ -0,0 +1,2 @@
1
+ import { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const azAZ: Localization;
package/locale/azAZ.js ADDED
@@ -0,0 +1,83 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.azAZ = void 0;
7
+ const azAZ = exports.azAZ = {
8
+ components: {
9
+ MuiBreadcrumbs: {
10
+ defaultProps: {
11
+ expandText: 'Yolu göstər'
12
+ }
13
+ },
14
+ MuiTablePagination: {
15
+ defaultProps: {
16
+ getItemAriaLabel: type => {
17
+ if (type === 'first') {
18
+ return 'Birinci səhifəyə keç';
19
+ }
20
+ if (type === 'last') {
21
+ return 'Sonuncu səhifəyə keç';
22
+ }
23
+ if (type === 'next') {
24
+ return 'Növbəti səhifəyə keç';
25
+ }
26
+ // if (type === 'previous') {
27
+ return 'Əvvəlki səhifəyə keç';
28
+ },
29
+ labelRowsPerPage: 'Səhifəyə düşən sətrlər:'
30
+ // labelDisplayedRows: ({ from, to, count }) =>
31
+ // `${from}–${to} dən ${count !== -1 ? count : `more than ${to}`}`,
32
+ }
33
+ },
34
+ MuiRating: {
35
+ defaultProps: {
36
+ getLabelText: value => {
37
+ let pluralForm = 'Ulduz';
38
+ const lastDigit = value % 10;
39
+ if (lastDigit > 1 && lastDigit < 5) {
40
+ pluralForm = 'Ulduzlar';
41
+ }
42
+ return `${value} ${pluralForm}`;
43
+ },
44
+ emptyLabelText: 'Boş'
45
+ }
46
+ },
47
+ MuiAutocomplete: {
48
+ defaultProps: {
49
+ clearText: 'Silmək',
50
+ closeText: 'Bağlamaq',
51
+ loadingText: 'Yüklənir…',
52
+ noOptionsText: 'Seçimlər mövcud deyil',
53
+ openText: 'Открыть'
54
+ }
55
+ },
56
+ MuiAlert: {
57
+ defaultProps: {
58
+ closeText: 'Bağlamaq'
59
+ }
60
+ },
61
+ MuiPagination: {
62
+ defaultProps: {
63
+ 'aria-label': 'Səhifənin naviqasiyası',
64
+ getItemAriaLabel: (type, page, selected) => {
65
+ if (type === 'page') {
66
+ return `${page} ${selected ? 'səhifə' : 'səhifəyə keç'}`;
67
+ }
68
+ if (type === 'first') {
69
+ return 'Birinci səhifəyə keç';
70
+ }
71
+ if (type === 'last') {
72
+ return 'Sonuncu səhifəyə keç';
73
+ }
74
+ if (type === 'next') {
75
+ return 'Növbəti səhifəyə keç';
76
+ }
77
+ // if (type === 'previous') {
78
+ return 'Əvvəlki səhifəyə keç';
79
+ }
80
+ }
81
+ }
82
+ }
83
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const beBY: Localization;
package/locale/beBY.js ADDED
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.beBY = void 0;
7
+ const beBY = exports.beBY = {
8
+ components: {
9
+ MuiBreadcrumbs: {
10
+ defaultProps: {
11
+ expandText: 'Паказаць шлях'
12
+ }
13
+ },
14
+ MuiTablePagination: {
15
+ defaultProps: {
16
+ getItemAriaLabel: type => {
17
+ if (type === 'first') {
18
+ return 'Перайсці на першую старонку';
19
+ }
20
+ if (type === 'last') {
21
+ return 'Перайсці на апошнюю старонку';
22
+ }
23
+ if (type === 'next') {
24
+ return 'Перайсці на наступную старонку';
25
+ }
26
+ // if (type === 'previous') {
27
+ return 'Перайсці на папярэднюю старонку';
28
+ },
29
+ labelRowsPerPage: 'Радкоў на старонцы:',
30
+ labelDisplayedRows: ({
31
+ from,
32
+ to,
33
+ count
34
+ }) => `${from}–${to} з ${count !== -1 ? count : `больш чым ${to}`}`
35
+ }
36
+ },
37
+ MuiRating: {
38
+ defaultProps: {
39
+ getLabelText: value => {
40
+ let pluralForm = 'Зорак';
41
+ const lastDigit = value % 10;
42
+ if (lastDigit > 1 && lastDigit < 5 && (value < 10 || value > 20)) {
43
+ pluralForm = 'Зоркі';
44
+ } else if (lastDigit === 1 && value % 100 !== 11) {
45
+ pluralForm = 'Зорка';
46
+ }
47
+ return `${value} ${pluralForm}`;
48
+ },
49
+ emptyLabelText: 'Рэйтынг адсутнічае'
50
+ }
51
+ },
52
+ MuiAutocomplete: {
53
+ defaultProps: {
54
+ clearText: 'Ачысціць',
55
+ closeText: 'Закрыць',
56
+ loadingText: 'Загрузка…',
57
+ noOptionsText: 'Няма варыянтаў',
58
+ openText: 'Адкрыць'
59
+ }
60
+ },
61
+ MuiAlert: {
62
+ defaultProps: {
63
+ closeText: 'Закрыць'
64
+ }
65
+ },
66
+ MuiPagination: {
67
+ defaultProps: {
68
+ 'aria-label': 'Навігацыя па старонкам',
69
+ getItemAriaLabel: (type, page, selected) => {
70
+ if (type === 'page') {
71
+ if (selected) {
72
+ return `${page} старонка`;
73
+ }
74
+ return `Перайсці на ${page} старонку`;
75
+ }
76
+ if (type === 'first') {
77
+ return 'Перайсці на першую старонку';
78
+ }
79
+ if (type === 'last') {
80
+ return 'Перайсці на апошнюю старонку';
81
+ }
82
+ if (type === 'next') {
83
+ return 'Перайсці на наступную старонку';
84
+ }
85
+ // if (type === 'previous') {
86
+ return 'Перайсці на папярэднюю старонку';
87
+ }
88
+ }
89
+ }
90
+ }
91
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const bgBG: Localization;