@mui/material 7.3.2 → 7.3.4

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 (282) hide show
  1. package/CHANGELOG.md +86 -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/TextField/TextField.js +1 -1
  10. package/esm/CircularProgress/CircularProgress.d.ts +6 -0
  11. package/esm/CircularProgress/CircularProgress.js +32 -5
  12. package/esm/CircularProgress/circularProgressClasses.d.ts +2 -0
  13. package/esm/CircularProgress/circularProgressClasses.js +1 -1
  14. package/esm/Divider/Divider.js +1 -1
  15. package/esm/MenuItem/MenuItem.js +1 -1
  16. package/esm/SnackbarContent/SnackbarContent.js +1 -1
  17. package/esm/TextField/TextField.js +1 -1
  18. package/esm/index.js +1 -1
  19. package/esm/locale/amET.d.ts +2 -0
  20. package/esm/locale/amET.js +73 -0
  21. package/esm/locale/arEG.d.ts +2 -0
  22. package/esm/locale/arEG.js +73 -0
  23. package/esm/locale/arSA.d.ts +2 -0
  24. package/esm/locale/arSA.js +73 -0
  25. package/esm/locale/arSD.d.ts +2 -0
  26. package/esm/locale/arSD.js +73 -0
  27. package/esm/locale/azAZ.d.ts +2 -0
  28. package/esm/locale/azAZ.js +77 -0
  29. package/esm/locale/beBY.d.ts +2 -0
  30. package/esm/locale/beBY.js +85 -0
  31. package/esm/locale/bgBG.d.ts +2 -0
  32. package/esm/locale/bgBG.js +70 -0
  33. package/esm/locale/bnBD.d.ts +2 -0
  34. package/esm/locale/bnBD.js +73 -0
  35. package/esm/locale/caES.d.ts +2 -0
  36. package/esm/locale/caES.js +70 -0
  37. package/esm/locale/csCZ.d.ts +2 -0
  38. package/esm/locale/csCZ.js +81 -0
  39. package/esm/locale/daDK.d.ts +2 -0
  40. package/esm/locale/daDK.js +73 -0
  41. package/esm/locale/deDE.d.ts +2 -0
  42. package/esm/locale/deDE.js +73 -0
  43. package/esm/locale/elGR.d.ts +2 -0
  44. package/esm/locale/elGR.js +75 -0
  45. package/esm/locale/enUS.d.ts +2 -0
  46. package/esm/locale/enUS.js +61 -0
  47. package/esm/locale/esES.d.ts +2 -0
  48. package/esm/locale/esES.js +73 -0
  49. package/esm/locale/etEE.d.ts +2 -0
  50. package/esm/locale/etEE.js +73 -0
  51. package/esm/locale/faIR.d.ts +2 -0
  52. package/esm/locale/faIR.js +78 -0
  53. package/esm/locale/fiFI.d.ts +2 -0
  54. package/esm/locale/fiFI.js +73 -0
  55. package/esm/locale/frFR.d.ts +2 -0
  56. package/esm/locale/frFR.js +73 -0
  57. package/esm/locale/heIL.d.ts +2 -0
  58. package/esm/locale/heIL.js +73 -0
  59. package/esm/locale/hiIN.d.ts +2 -0
  60. package/esm/locale/hiIN.js +73 -0
  61. package/esm/locale/hrHR.d.ts +2 -0
  62. package/esm/locale/hrHR.js +81 -0
  63. package/esm/locale/huHU.d.ts +2 -0
  64. package/esm/locale/huHU.js +70 -0
  65. package/esm/locale/hyAM.d.ts +2 -0
  66. package/esm/locale/hyAM.js +70 -0
  67. package/esm/locale/idID.d.ts +2 -0
  68. package/esm/locale/idID.js +70 -0
  69. package/esm/locale/index.d.ts +60 -82
  70. package/esm/locale/index.js +60 -4327
  71. package/esm/locale/isIS.d.ts +2 -0
  72. package/esm/locale/isIS.js +73 -0
  73. package/esm/locale/itIT.d.ts +2 -0
  74. package/esm/locale/itIT.js +73 -0
  75. package/esm/locale/jaJP.d.ts +2 -0
  76. package/esm/locale/jaJP.js +73 -0
  77. package/esm/locale/khKH.d.ts +2 -0
  78. package/esm/locale/khKH.js +73 -0
  79. package/esm/locale/kkKZ.d.ts +2 -0
  80. package/esm/locale/kkKZ.js +76 -0
  81. package/esm/locale/koKR.d.ts +2 -0
  82. package/esm/locale/koKR.js +73 -0
  83. package/esm/locale/kuCKB.d.ts +2 -0
  84. package/esm/locale/kuCKB.js +73 -0
  85. package/esm/locale/kuLatn.d.ts +2 -0
  86. package/esm/locale/kuLatn.js +73 -0
  87. package/esm/locale/mkMK.d.ts +2 -0
  88. package/esm/locale/mkMK.js +77 -0
  89. package/esm/locale/msMS.d.ts +2 -0
  90. package/esm/locale/msMS.js +77 -0
  91. package/esm/locale/myMY.d.ts +2 -0
  92. package/esm/locale/myMY.js +77 -0
  93. package/esm/locale/nbNO.d.ts +2 -0
  94. package/esm/locale/nbNO.js +73 -0
  95. package/esm/locale/neNP.d.ts +2 -0
  96. package/esm/locale/neNP.js +77 -0
  97. package/esm/locale/nlNL.d.ts +2 -0
  98. package/esm/locale/nlNL.js +73 -0
  99. package/esm/locale/nnNO.d.ts +2 -0
  100. package/esm/locale/nnNO.js +73 -0
  101. package/esm/locale/plPL.d.ts +2 -0
  102. package/esm/locale/plPL.js +82 -0
  103. package/esm/locale/psAF.d.ts +2 -0
  104. package/esm/locale/psAF.js +73 -0
  105. package/esm/locale/ptBR.d.ts +2 -0
  106. package/esm/locale/ptBR.js +73 -0
  107. package/esm/locale/ptPT.d.ts +2 -0
  108. package/esm/locale/ptPT.js +73 -0
  109. package/esm/locale/roRO.d.ts +2 -0
  110. package/esm/locale/roRO.js +73 -0
  111. package/esm/locale/ruRU.d.ts +2 -0
  112. package/esm/locale/ruRU.js +85 -0
  113. package/esm/locale/siLK.d.ts +2 -0
  114. package/esm/locale/siLK.js +73 -0
  115. package/esm/locale/skSK.d.ts +2 -0
  116. package/esm/locale/skSK.js +81 -0
  117. package/esm/locale/srRS.d.ts +2 -0
  118. package/esm/locale/srRS.js +81 -0
  119. package/esm/locale/svSE.d.ts +2 -0
  120. package/esm/locale/svSE.js +73 -0
  121. package/esm/locale/thTH.d.ts +2 -0
  122. package/esm/locale/thTH.js +73 -0
  123. package/esm/locale/tlTL.d.ts +2 -0
  124. package/esm/locale/tlTL.js +74 -0
  125. package/esm/locale/trTR.d.ts +2 -0
  126. package/esm/locale/trTR.js +73 -0
  127. package/esm/locale/ukUA.d.ts +2 -0
  128. package/esm/locale/ukUA.js +82 -0
  129. package/esm/locale/urPK.d.ts +2 -0
  130. package/esm/locale/urPK.js +73 -0
  131. package/esm/locale/utils/LocaleTextApi.d.ts +23 -0
  132. package/esm/locale/utils/LocaleTextApi.js +1 -0
  133. package/esm/locale/viVN.d.ts +2 -0
  134. package/esm/locale/viVN.js +73 -0
  135. package/esm/locale/zhCN.d.ts +2 -0
  136. package/esm/locale/zhCN.js +51 -0
  137. package/esm/locale/zhHK.d.ts +2 -0
  138. package/esm/locale/zhHK.js +51 -0
  139. package/esm/locale/zhTW.d.ts +2 -0
  140. package/esm/locale/zhTW.js +51 -0
  141. package/esm/styles/createColorScheme.js +2 -2
  142. package/esm/styles/createTheme.d.ts +13 -5
  143. package/esm/styles/createTheme.js +2 -2
  144. package/esm/styles/createThemeFoundation.d.ts +277 -0
  145. package/esm/styles/createThemeFoundation.js +37 -0
  146. package/esm/styles/createThemeNoVars.d.ts +1 -1
  147. package/esm/styles/createThemeWithVars.d.ts +23 -306
  148. package/esm/useAutocomplete/useAutocomplete.js +2 -2
  149. package/esm/version/index.js +2 -2
  150. package/index.js +1 -1
  151. package/locale/amET.d.ts +2 -0
  152. package/locale/amET.js +79 -0
  153. package/locale/arEG.d.ts +2 -0
  154. package/locale/arEG.js +79 -0
  155. package/locale/arSA.d.ts +2 -0
  156. package/locale/arSA.js +79 -0
  157. package/locale/arSD.d.ts +2 -0
  158. package/locale/arSD.js +79 -0
  159. package/locale/azAZ.d.ts +2 -0
  160. package/locale/azAZ.js +83 -0
  161. package/locale/beBY.d.ts +2 -0
  162. package/locale/beBY.js +91 -0
  163. package/locale/bgBG.d.ts +2 -0
  164. package/locale/bgBG.js +76 -0
  165. package/locale/bnBD.d.ts +2 -0
  166. package/locale/bnBD.js +79 -0
  167. package/locale/caES.d.ts +2 -0
  168. package/locale/caES.js +76 -0
  169. package/locale/csCZ.d.ts +2 -0
  170. package/locale/csCZ.js +87 -0
  171. package/locale/daDK.d.ts +2 -0
  172. package/locale/daDK.js +79 -0
  173. package/locale/deDE.d.ts +2 -0
  174. package/locale/deDE.js +79 -0
  175. package/locale/elGR.d.ts +2 -0
  176. package/locale/elGR.js +81 -0
  177. package/locale/enUS.d.ts +2 -0
  178. package/locale/enUS.js +67 -0
  179. package/locale/esES.d.ts +2 -0
  180. package/locale/esES.js +79 -0
  181. package/locale/etEE.d.ts +2 -0
  182. package/locale/etEE.js +79 -0
  183. package/locale/faIR.d.ts +2 -0
  184. package/locale/faIR.js +84 -0
  185. package/locale/fiFI.d.ts +2 -0
  186. package/locale/fiFI.js +79 -0
  187. package/locale/frFR.d.ts +2 -0
  188. package/locale/frFR.js +79 -0
  189. package/locale/heIL.d.ts +2 -0
  190. package/locale/heIL.js +79 -0
  191. package/locale/hiIN.d.ts +2 -0
  192. package/locale/hiIN.js +79 -0
  193. package/locale/hrHR.d.ts +2 -0
  194. package/locale/hrHR.js +87 -0
  195. package/locale/huHU.d.ts +2 -0
  196. package/locale/huHU.js +76 -0
  197. package/locale/hyAM.d.ts +2 -0
  198. package/locale/hyAM.js +76 -0
  199. package/locale/idID.d.ts +2 -0
  200. package/locale/idID.js +76 -0
  201. package/locale/index.d.ts +60 -82
  202. package/locale/index.js +660 -4328
  203. package/locale/isIS.d.ts +2 -0
  204. package/locale/isIS.js +79 -0
  205. package/locale/itIT.d.ts +2 -0
  206. package/locale/itIT.js +79 -0
  207. package/locale/jaJP.d.ts +2 -0
  208. package/locale/jaJP.js +79 -0
  209. package/locale/khKH.d.ts +2 -0
  210. package/locale/khKH.js +79 -0
  211. package/locale/kkKZ.d.ts +2 -0
  212. package/locale/kkKZ.js +82 -0
  213. package/locale/koKR.d.ts +2 -0
  214. package/locale/koKR.js +79 -0
  215. package/locale/kuCKB.d.ts +2 -0
  216. package/locale/kuCKB.js +79 -0
  217. package/locale/kuLatn.d.ts +2 -0
  218. package/locale/kuLatn.js +79 -0
  219. package/locale/mkMK.d.ts +2 -0
  220. package/locale/mkMK.js +83 -0
  221. package/locale/msMS.d.ts +2 -0
  222. package/locale/msMS.js +83 -0
  223. package/locale/myMY.d.ts +2 -0
  224. package/locale/myMY.js +83 -0
  225. package/locale/nbNO.d.ts +2 -0
  226. package/locale/nbNO.js +79 -0
  227. package/locale/neNP.d.ts +2 -0
  228. package/locale/neNP.js +83 -0
  229. package/locale/nlNL.d.ts +2 -0
  230. package/locale/nlNL.js +79 -0
  231. package/locale/nnNO.d.ts +2 -0
  232. package/locale/nnNO.js +79 -0
  233. package/locale/plPL.d.ts +2 -0
  234. package/locale/plPL.js +88 -0
  235. package/locale/psAF.d.ts +2 -0
  236. package/locale/psAF.js +79 -0
  237. package/locale/ptBR.d.ts +2 -0
  238. package/locale/ptBR.js +79 -0
  239. package/locale/ptPT.d.ts +2 -0
  240. package/locale/ptPT.js +79 -0
  241. package/locale/roRO.d.ts +2 -0
  242. package/locale/roRO.js +79 -0
  243. package/locale/ruRU.d.ts +2 -0
  244. package/locale/ruRU.js +91 -0
  245. package/locale/siLK.d.ts +2 -0
  246. package/locale/siLK.js +79 -0
  247. package/locale/skSK.d.ts +2 -0
  248. package/locale/skSK.js +87 -0
  249. package/locale/srRS.d.ts +2 -0
  250. package/locale/srRS.js +87 -0
  251. package/locale/svSE.d.ts +2 -0
  252. package/locale/svSE.js +79 -0
  253. package/locale/thTH.d.ts +2 -0
  254. package/locale/thTH.js +79 -0
  255. package/locale/tlTL.d.ts +2 -0
  256. package/locale/tlTL.js +80 -0
  257. package/locale/trTR.d.ts +2 -0
  258. package/locale/trTR.js +79 -0
  259. package/locale/ukUA.d.ts +2 -0
  260. package/locale/ukUA.js +88 -0
  261. package/locale/urPK.d.ts +2 -0
  262. package/locale/urPK.js +79 -0
  263. package/locale/utils/LocaleTextApi.d.ts +23 -0
  264. package/locale/utils/LocaleTextApi.js +5 -0
  265. package/locale/viVN.d.ts +2 -0
  266. package/locale/viVN.js +79 -0
  267. package/locale/zhCN.d.ts +2 -0
  268. package/locale/zhCN.js +57 -0
  269. package/locale/zhHK.d.ts +2 -0
  270. package/locale/zhHK.js +57 -0
  271. package/locale/zhTW.d.ts +2 -0
  272. package/locale/zhTW.js +57 -0
  273. package/package.json +8 -8
  274. package/styles/createColorScheme.js +2 -2
  275. package/styles/createTheme.d.ts +13 -5
  276. package/styles/createTheme.js +2 -2
  277. package/styles/createThemeFoundation.d.ts +277 -0
  278. package/styles/createThemeFoundation.js +5 -0
  279. package/styles/createThemeNoVars.d.ts +1 -1
  280. package/styles/createThemeWithVars.d.ts +23 -306
  281. package/useAutocomplete/useAutocomplete.js +2 -2
  282. package/version/index.js +2 -2
package/locale/psAF.js ADDED
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.psAF = void 0;
7
+ const psAF = exports.psAF = {
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
+ }) => `${count !== -1 ? count : `${to} زیات له`} ${to}- ${from} د`
35
+ }
36
+ },
37
+ MuiRating: {
38
+ defaultProps: {
39
+ getLabelText: value => `${value} ستوری`,
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 ptBR: Localization;
package/locale/ptBR.js ADDED
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ptBR = void 0;
7
+ const ptBR = exports.ptBR = {
8
+ components: {
9
+ MuiBreadcrumbs: {
10
+ defaultProps: {
11
+ expandText: 'Mostrar caminho'
12
+ }
13
+ },
14
+ MuiTablePagination: {
15
+ defaultProps: {
16
+ getItemAriaLabel: type => {
17
+ if (type === 'first') {
18
+ return 'Ir para a primeira página';
19
+ }
20
+ if (type === 'last') {
21
+ return 'Ir para a última página';
22
+ }
23
+ if (type === 'next') {
24
+ return 'Ir para a próxima página';
25
+ }
26
+ // if (type === 'previous') {
27
+ return 'Ir para a página anterior';
28
+ },
29
+ labelRowsPerPage: 'Linhas por página:',
30
+ labelDisplayedRows: ({
31
+ from,
32
+ to,
33
+ count
34
+ }) => `${from}–${to} de ${count !== -1 ? count : `mais de ${to}`}`
35
+ }
36
+ },
37
+ MuiRating: {
38
+ defaultProps: {
39
+ getLabelText: value => `${value} Estrela${value !== 1 ? 's' : ''}`,
40
+ emptyLabelText: 'Vazio'
41
+ }
42
+ },
43
+ MuiAutocomplete: {
44
+ defaultProps: {
45
+ clearText: 'Limpar',
46
+ closeText: 'Fechar',
47
+ loadingText: 'Carregando…',
48
+ noOptionsText: 'Sem opções',
49
+ openText: 'Abrir'
50
+ }
51
+ },
52
+ MuiAlert: {
53
+ defaultProps: {
54
+ closeText: 'Fechar'
55
+ }
56
+ },
57
+ MuiPagination: {
58
+ defaultProps: {
59
+ 'aria-label': 'Navegar pela paginação',
60
+ getItemAriaLabel: (type, page, selected) => {
61
+ if (type === 'page') {
62
+ return `${selected ? '' : 'Ir para a '}página ${page}`;
63
+ }
64
+ if (type === 'first') {
65
+ return 'Ir para a primeira página';
66
+ }
67
+ if (type === 'last') {
68
+ return 'Ir para a última página';
69
+ }
70
+ if (type === 'next') {
71
+ return 'Ir para a próxima página';
72
+ }
73
+ // if (type === 'previous') {
74
+ return 'Ir para a página anterior';
75
+ }
76
+ }
77
+ }
78
+ }
79
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const ptPT: Localization;
package/locale/ptPT.js ADDED
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ptPT = void 0;
7
+ const ptPT = exports.ptPT = {
8
+ components: {
9
+ MuiBreadcrumbs: {
10
+ defaultProps: {
11
+ expandText: 'Mostrar caminho'
12
+ }
13
+ },
14
+ MuiTablePagination: {
15
+ defaultProps: {
16
+ getItemAriaLabel: type => {
17
+ if (type === 'first') {
18
+ return 'Primeira página';
19
+ }
20
+ if (type === 'last') {
21
+ return 'Última página';
22
+ }
23
+ if (type === 'next') {
24
+ return 'Próxima página';
25
+ }
26
+ // if (type === 'previous') {
27
+ return 'Página anterior';
28
+ },
29
+ labelRowsPerPage: 'Linhas por página:',
30
+ labelDisplayedRows: ({
31
+ from,
32
+ to,
33
+ count
34
+ }) => `${from}–${to} de ${count !== -1 ? count : `mais de ${to}`}`
35
+ }
36
+ },
37
+ MuiRating: {
38
+ defaultProps: {
39
+ getLabelText: value => `${value} Estrela${value !== 1 ? 's' : ''}`,
40
+ emptyLabelText: 'Vazio'
41
+ }
42
+ },
43
+ MuiAutocomplete: {
44
+ defaultProps: {
45
+ clearText: 'Limpar',
46
+ closeText: 'Fechar',
47
+ loadingText: 'A carregar…',
48
+ noOptionsText: 'Sem opções',
49
+ openText: 'Abrir'
50
+ }
51
+ },
52
+ MuiAlert: {
53
+ defaultProps: {
54
+ closeText: 'Fechar'
55
+ }
56
+ },
57
+ MuiPagination: {
58
+ defaultProps: {
59
+ 'aria-label': 'Navegar por páginas',
60
+ getItemAriaLabel: (type, page, selected) => {
61
+ if (type === 'page') {
62
+ return `${selected ? '' : 'Ir para a '}página ${page}`;
63
+ }
64
+ if (type === 'first') {
65
+ return 'Primeira página';
66
+ }
67
+ if (type === 'last') {
68
+ return 'Última página';
69
+ }
70
+ if (type === 'next') {
71
+ return 'Próxima página';
72
+ }
73
+ // if (type === 'previous') {
74
+ return 'Página anterior';
75
+ }
76
+ }
77
+ }
78
+ }
79
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const roRO: Localization;
package/locale/roRO.js ADDED
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.roRO = void 0;
7
+ const roRO = exports.roRO = {
8
+ components: {
9
+ MuiBreadcrumbs: {
10
+ defaultProps: {
11
+ expandText: 'Arată calea'
12
+ }
13
+ },
14
+ MuiTablePagination: {
15
+ defaultProps: {
16
+ getItemAriaLabel: type => {
17
+ if (type === 'first') {
18
+ return 'Mergi la prima pagină';
19
+ }
20
+ if (type === 'last') {
21
+ return 'Mergi la ultima pagină';
22
+ }
23
+ if (type === 'next') {
24
+ return 'Mergi la pagina următoare';
25
+ }
26
+ // if (type === 'previous') {
27
+ return 'Mergi la pagina precedentă';
28
+ },
29
+ labelRowsPerPage: 'Rânduri pe pagină:',
30
+ labelDisplayedRows: ({
31
+ from,
32
+ to,
33
+ count
34
+ }) => `${from}–${to} din ${count !== -1 ? count : `mai mult de ${to}`}`
35
+ }
36
+ },
37
+ MuiRating: {
38
+ defaultProps: {
39
+ getLabelText: value => `${value} St${value !== 1 ? 'ele' : 'ea'}`,
40
+ emptyLabelText: 'Gol'
41
+ }
42
+ },
43
+ MuiAutocomplete: {
44
+ defaultProps: {
45
+ clearText: 'Șterge',
46
+ closeText: 'Închide',
47
+ loadingText: 'Se încarcă…',
48
+ noOptionsText: 'Nicio opțiune',
49
+ openText: 'Deschide'
50
+ }
51
+ },
52
+ MuiAlert: {
53
+ defaultProps: {
54
+ closeText: 'Închide'
55
+ }
56
+ },
57
+ MuiPagination: {
58
+ defaultProps: {
59
+ 'aria-label': 'Navigare prin paginare',
60
+ getItemAriaLabel: (type, page, selected) => {
61
+ if (type === 'page') {
62
+ return `${selected ? '' : 'Mergi la '}pagina ${page}`;
63
+ }
64
+ if (type === 'first') {
65
+ return 'Mergi la prima pagină';
66
+ }
67
+ if (type === 'last') {
68
+ return 'Mergi la ultima pagină';
69
+ }
70
+ if (type === 'next') {
71
+ return 'Mergi la pagina următoare';
72
+ }
73
+ // if (type === 'previous') {
74
+ return 'Mergi la pagina precedentă';
75
+ }
76
+ }
77
+ }
78
+ }
79
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const ruRU: Localization;
package/locale/ruRU.js ADDED
@@ -0,0 +1,91 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.ruRU = void 0;
7
+ const ruRU = exports.ruRU = {
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) {
43
+ pluralForm = 'Звезды';
44
+ } else if (lastDigit === 1) {
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 siLK: Localization;
package/locale/siLK.js ADDED
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.siLK = void 0;
7
+ const siLK = exports.siLK = {
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}`,
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 `පිටුව ${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 skSK: Localization;
package/locale/skSK.js ADDED
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.skSK = void 0;
7
+ const skSK = exports.skSK = {
8
+ components: {
9
+ MuiBreadcrumbs: {
10
+ defaultProps: {
11
+ expandText: 'Ukázať cestu '
12
+ }
13
+ },
14
+ MuiTablePagination: {
15
+ defaultProps: {
16
+ getItemAriaLabel: type => {
17
+ if (type === 'first') {
18
+ return 'Ísť na prvú stránku';
19
+ }
20
+ if (type === 'last') {
21
+ return 'Ísť na poslednú stránku';
22
+ }
23
+ if (type === 'next') {
24
+ return 'Ísť na ďaľšiu stránku';
25
+ }
26
+ // if (type === 'previous') {
27
+ return 'Ísť na predchádzajúcu stránku';
28
+ },
29
+ labelRowsPerPage: 'Riadkov na stránke:',
30
+ labelDisplayedRows: ({
31
+ from,
32
+ to,
33
+ count
34
+ }) => `${from}–${to} z ${count !== -1 ? count : `viac ako ${to}`}`
35
+ }
36
+ },
37
+ MuiRating: {
38
+ defaultProps: {
39
+ getLabelText: value => {
40
+ if (value === 1) {
41
+ return `${value} hviezdička`;
42
+ }
43
+ if (value >= 2 && value <= 4) {
44
+ return `${value} hviezdičky`;
45
+ }
46
+ return `${value} hviezdičiek`;
47
+ },
48
+ emptyLabelText: 'Prázdne'
49
+ }
50
+ },
51
+ MuiAutocomplete: {
52
+ defaultProps: {
53
+ clearText: 'Vymazať',
54
+ closeText: 'Zavrieť',
55
+ loadingText: 'Načítanie…',
56
+ noOptionsText: 'Žiadne možnosti',
57
+ openText: 'Otvoriť'
58
+ }
59
+ },
60
+ MuiAlert: {
61
+ defaultProps: {
62
+ closeText: 'Zavrieť'
63
+ }
64
+ },
65
+ MuiPagination: {
66
+ defaultProps: {
67
+ 'aria-label': 'Navigácia stránkovanim',
68
+ getItemAriaLabel: (type, page, selected) => {
69
+ if (type === 'page') {
70
+ return `${selected ? '' : 'Ísť na '}stránku ${page}`;
71
+ }
72
+ if (type === 'first') {
73
+ return 'Ísť na prvú stránku';
74
+ }
75
+ if (type === 'last') {
76
+ return 'Ísť na poslednú stránku';
77
+ }
78
+ if (type === 'next') {
79
+ return 'Ísť na ďaľšiu stránku';
80
+ }
81
+ // if (type === 'previous') {
82
+ return 'Ísť na predchádzajúcu stránku';
83
+ }
84
+ }
85
+ }
86
+ }
87
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const srRS: Localization;
package/locale/srRS.js ADDED
@@ -0,0 +1,87 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.srRS = void 0;
7
+ // Serbian - Srpski
8
+ const srRS = exports.srRS = {
9
+ components: {
10
+ MuiBreadcrumbs: {
11
+ defaultProps: {
12
+ expandText: 'Pokaži putanju'
13
+ }
14
+ },
15
+ MuiTablePagination: {
16
+ defaultProps: {
17
+ getItemAriaLabel: type => {
18
+ if (type === 'first') {
19
+ return 'Idi na prvu stranicu';
20
+ }
21
+ if (type === 'last') {
22
+ return 'Idi na poslednju stranicu';
23
+ }
24
+ if (type === 'next') {
25
+ return 'Idi na sledeću stranicu';
26
+ }
27
+ // if (type === 'previous') {
28
+ return 'Idi na prethodnu stranicu';
29
+ },
30
+ labelRowsPerPage: 'Redova po stranici:',
31
+ labelDisplayedRows: ({
32
+ from,
33
+ to,
34
+ count
35
+ }) => `${from}–${to} od ${count !== -1 ? count : `više nego ${to}`}`
36
+ }
37
+ },
38
+ MuiRating: {
39
+ defaultProps: {
40
+ getLabelText: value => {
41
+ const lastDigit = value % 10;
42
+ const lastTwoDigits = value % 100;
43
+ if ([2, 3, 4].includes(lastDigit) && ![12, 13, 14].includes(lastTwoDigits)) {
44
+ return 'Zvezde';
45
+ }
46
+ return 'Zvezda';
47
+ },
48
+ emptyLabelText: 'Prazno'
49
+ }
50
+ },
51
+ MuiAutocomplete: {
52
+ defaultProps: {
53
+ clearText: 'Briši',
54
+ closeText: 'Zatvori',
55
+ loadingText: 'Učitavanje…',
56
+ noOptionsText: 'Nema opcija',
57
+ openText: 'Otvori'
58
+ }
59
+ },
60
+ MuiAlert: {
61
+ defaultProps: {
62
+ closeText: 'Zatvori'
63
+ }
64
+ },
65
+ MuiPagination: {
66
+ defaultProps: {
67
+ 'aria-label': 'Navigacija po stranicama',
68
+ getItemAriaLabel: (type, page, selected) => {
69
+ if (type === 'page') {
70
+ return `${selected ? '' : 'Idi na '}stranicu ${page}`;
71
+ }
72
+ if (type === 'first') {
73
+ return 'Idi na prvu stranicu';
74
+ }
75
+ if (type === 'last') {
76
+ return 'Idi na zadnju stranicu';
77
+ }
78
+ if (type === 'next') {
79
+ return 'Idi na sledeću stranicu';
80
+ }
81
+ // if (type === 'previous') {
82
+ return 'Idi na prethodnu stranicu';
83
+ }
84
+ }
85
+ }
86
+ }
87
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const svSE: Localization;