@mui/material 7.3.1 → 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 (364) hide show
  1. package/Accordion/Accordion.d.ts +3 -3
  2. package/AccordionSummary/AccordionSummary.d.ts +3 -3
  3. package/Alert/Alert.d.ts +6 -6
  4. package/Avatar/Avatar.d.ts +3 -3
  5. package/Backdrop/Backdrop.d.ts +2 -2
  6. package/Badge/Badge.d.ts +2 -2
  7. package/BottomNavigationAction/BottomNavigationAction.d.ts +2 -2
  8. package/CHANGELOG.md +153 -4
  9. package/CardActionArea/CardActionArea.d.ts +2 -2
  10. package/CardHeader/CardHeader.d.ts +6 -6
  11. package/Checkbox/Checkbox.d.ts +2 -2
  12. package/Chip/Chip.d.ts +2 -2
  13. package/Chip/Chip.js +2 -2
  14. package/CircularProgress/CircularProgress.d.ts +6 -0
  15. package/CircularProgress/CircularProgress.js +31 -4
  16. package/CircularProgress/circularProgressClasses.d.ts +2 -0
  17. package/CircularProgress/circularProgressClasses.js +1 -1
  18. package/Dialog/Dialog.d.ts +5 -5
  19. package/Divider/Divider.js +1 -1
  20. package/Drawer/Drawer.d.ts +6 -6
  21. package/Drawer/Drawer.js +5 -1
  22. package/InputBase/InputBase.js +1 -1
  23. package/ListItem/ListItem.js +1 -1
  24. package/ListItemText/ListItemText.d.ts +2 -2
  25. package/Menu/Menu.d.ts +5 -5
  26. package/MenuItem/MenuItem.js +1 -1
  27. package/MobileStepper/MobileStepper.d.ts +4 -4
  28. package/OutlinedInput/OutlinedInput.js +1 -1
  29. package/PaginationItem/PaginationItem.d.ts +36 -4
  30. package/Popover/Popover.d.ts +5 -5
  31. package/Popover/Popover.js +2 -2
  32. package/Radio/Radio.d.ts +2 -2
  33. package/Rating/Rating.d.ts +5 -5
  34. package/Slider/Slider.js +1 -1
  35. package/Snackbar/Snackbar.d.ts +3 -3
  36. package/SnackbarContent/SnackbarContent.js +1 -1
  37. package/SpeedDial/SpeedDial.d.ts +2 -2
  38. package/SpeedDialAction/SpeedDialAction.d.ts +4 -4
  39. package/StepContent/StepContent.d.ts +1 -1
  40. package/StepLabel/StepLabel.d.ts +3 -3
  41. package/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
  42. package/Switch/Switch.d.ts +5 -5
  43. package/TablePagination/TablePagination.d.ts +10 -10
  44. package/TablePagination/TablePagination.js +3 -3
  45. package/TablePaginationActions/TablePaginationActions.d.ts +2 -2
  46. package/TablePaginationActions/TablePaginationActions.js +2 -2
  47. package/Tabs/Tabs.d.ts +8 -8
  48. package/Tabs/Tabs.js +5 -0
  49. package/TextField/TextField.d.ts +6 -6
  50. package/TextField/TextField.js +1 -1
  51. package/Tooltip/Tooltip.d.ts +4 -4
  52. package/esm/Accordion/Accordion.d.ts +3 -3
  53. package/esm/AccordionSummary/AccordionSummary.d.ts +3 -3
  54. package/esm/Alert/Alert.d.ts +6 -6
  55. package/esm/Avatar/Avatar.d.ts +3 -3
  56. package/esm/Backdrop/Backdrop.d.ts +2 -2
  57. package/esm/Badge/Badge.d.ts +2 -2
  58. package/esm/BottomNavigationAction/BottomNavigationAction.d.ts +2 -2
  59. package/esm/CardActionArea/CardActionArea.d.ts +2 -2
  60. package/esm/CardHeader/CardHeader.d.ts +6 -6
  61. package/esm/Checkbox/Checkbox.d.ts +2 -2
  62. package/esm/Chip/Chip.d.ts +2 -2
  63. package/esm/Chip/Chip.js +2 -2
  64. package/esm/CircularProgress/CircularProgress.d.ts +6 -0
  65. package/esm/CircularProgress/CircularProgress.js +32 -5
  66. package/esm/CircularProgress/circularProgressClasses.d.ts +2 -0
  67. package/esm/CircularProgress/circularProgressClasses.js +1 -1
  68. package/esm/Dialog/Dialog.d.ts +5 -5
  69. package/esm/Divider/Divider.js +1 -1
  70. package/esm/Drawer/Drawer.d.ts +6 -6
  71. package/esm/Drawer/Drawer.js +5 -1
  72. package/esm/InputBase/InputBase.js +1 -1
  73. package/esm/ListItem/ListItem.js +1 -1
  74. package/esm/ListItemText/ListItemText.d.ts +2 -2
  75. package/esm/Menu/Menu.d.ts +5 -5
  76. package/esm/MenuItem/MenuItem.js +1 -1
  77. package/esm/MobileStepper/MobileStepper.d.ts +4 -4
  78. package/esm/OutlinedInput/OutlinedInput.js +1 -1
  79. package/esm/PaginationItem/PaginationItem.d.ts +36 -4
  80. package/esm/Popover/Popover.d.ts +5 -5
  81. package/esm/Popover/Popover.js +2 -2
  82. package/esm/Radio/Radio.d.ts +2 -2
  83. package/esm/Rating/Rating.d.ts +5 -5
  84. package/esm/Slider/Slider.js +1 -1
  85. package/esm/Snackbar/Snackbar.d.ts +3 -3
  86. package/esm/SnackbarContent/SnackbarContent.js +1 -1
  87. package/esm/SpeedDial/SpeedDial.d.ts +2 -2
  88. package/esm/SpeedDialAction/SpeedDialAction.d.ts +4 -4
  89. package/esm/StepContent/StepContent.d.ts +1 -1
  90. package/esm/StepLabel/StepLabel.d.ts +3 -3
  91. package/esm/SwipeableDrawer/SwipeableDrawer.d.ts +1 -1
  92. package/esm/Switch/Switch.d.ts +5 -5
  93. package/esm/TablePagination/TablePagination.d.ts +10 -10
  94. package/esm/TablePagination/TablePagination.js +3 -3
  95. package/esm/TablePaginationActions/TablePaginationActions.d.ts +2 -2
  96. package/esm/TablePaginationActions/TablePaginationActions.js +2 -2
  97. package/esm/Tabs/Tabs.d.ts +8 -8
  98. package/esm/Tabs/Tabs.js +5 -0
  99. package/esm/TextField/TextField.d.ts +6 -6
  100. package/esm/TextField/TextField.js +1 -1
  101. package/esm/Tooltip/Tooltip.d.ts +4 -4
  102. package/esm/index.js +1 -1
  103. package/esm/internal/SwitchBase.d.ts +1 -1
  104. package/esm/locale/amET.d.ts +2 -0
  105. package/esm/locale/amET.js +73 -0
  106. package/esm/locale/arEG.d.ts +2 -0
  107. package/esm/locale/arEG.js +73 -0
  108. package/esm/locale/arSA.d.ts +2 -0
  109. package/esm/locale/arSA.js +73 -0
  110. package/esm/locale/arSD.d.ts +2 -0
  111. package/esm/locale/arSD.js +73 -0
  112. package/esm/locale/azAZ.d.ts +2 -0
  113. package/esm/locale/azAZ.js +77 -0
  114. package/esm/locale/beBY.d.ts +2 -0
  115. package/esm/locale/beBY.js +85 -0
  116. package/esm/locale/bgBG.d.ts +2 -0
  117. package/esm/locale/bgBG.js +70 -0
  118. package/esm/locale/bnBD.d.ts +2 -0
  119. package/esm/locale/bnBD.js +73 -0
  120. package/esm/locale/caES.d.ts +2 -0
  121. package/esm/locale/caES.js +70 -0
  122. package/esm/locale/csCZ.d.ts +2 -0
  123. package/esm/locale/csCZ.js +81 -0
  124. package/esm/locale/daDK.d.ts +2 -0
  125. package/esm/locale/daDK.js +73 -0
  126. package/esm/locale/deDE.d.ts +2 -0
  127. package/esm/locale/deDE.js +73 -0
  128. package/esm/locale/elGR.d.ts +2 -0
  129. package/esm/locale/elGR.js +75 -0
  130. package/esm/locale/enUS.d.ts +2 -0
  131. package/esm/locale/enUS.js +61 -0
  132. package/esm/locale/esES.d.ts +2 -0
  133. package/esm/locale/esES.js +73 -0
  134. package/esm/locale/etEE.d.ts +2 -0
  135. package/esm/locale/etEE.js +73 -0
  136. package/esm/locale/faIR.d.ts +2 -0
  137. package/esm/locale/faIR.js +78 -0
  138. package/esm/locale/fiFI.d.ts +2 -0
  139. package/esm/locale/fiFI.js +73 -0
  140. package/esm/locale/frFR.d.ts +2 -0
  141. package/esm/locale/frFR.js +73 -0
  142. package/esm/locale/heIL.d.ts +2 -0
  143. package/esm/locale/heIL.js +73 -0
  144. package/esm/locale/hiIN.d.ts +2 -0
  145. package/esm/locale/hiIN.js +73 -0
  146. package/esm/locale/hrHR.d.ts +2 -0
  147. package/esm/locale/hrHR.js +81 -0
  148. package/esm/locale/huHU.d.ts +2 -0
  149. package/esm/locale/huHU.js +70 -0
  150. package/esm/locale/hyAM.d.ts +2 -0
  151. package/esm/locale/hyAM.js +70 -0
  152. package/esm/locale/idID.d.ts +2 -0
  153. package/esm/locale/idID.js +70 -0
  154. package/esm/locale/index.d.ts +60 -82
  155. package/esm/locale/index.js +60 -4327
  156. package/esm/locale/isIS.d.ts +2 -0
  157. package/esm/locale/isIS.js +73 -0
  158. package/esm/locale/itIT.d.ts +2 -0
  159. package/esm/locale/itIT.js +73 -0
  160. package/esm/locale/jaJP.d.ts +2 -0
  161. package/esm/locale/jaJP.js +73 -0
  162. package/esm/locale/khKH.d.ts +2 -0
  163. package/esm/locale/khKH.js +73 -0
  164. package/esm/locale/kkKZ.d.ts +2 -0
  165. package/esm/locale/kkKZ.js +76 -0
  166. package/esm/locale/koKR.d.ts +2 -0
  167. package/esm/locale/koKR.js +73 -0
  168. package/esm/locale/kuCKB.d.ts +2 -0
  169. package/esm/locale/kuCKB.js +73 -0
  170. package/esm/locale/kuLatn.d.ts +2 -0
  171. package/esm/locale/kuLatn.js +73 -0
  172. package/esm/locale/mkMK.d.ts +2 -0
  173. package/esm/locale/mkMK.js +77 -0
  174. package/esm/locale/msMS.d.ts +2 -0
  175. package/esm/locale/msMS.js +77 -0
  176. package/esm/locale/myMY.d.ts +2 -0
  177. package/esm/locale/myMY.js +77 -0
  178. package/esm/locale/nbNO.d.ts +2 -0
  179. package/esm/locale/nbNO.js +73 -0
  180. package/esm/locale/neNP.d.ts +2 -0
  181. package/esm/locale/neNP.js +77 -0
  182. package/esm/locale/nlNL.d.ts +2 -0
  183. package/esm/locale/nlNL.js +73 -0
  184. package/esm/locale/nnNO.d.ts +2 -0
  185. package/esm/locale/nnNO.js +73 -0
  186. package/esm/locale/plPL.d.ts +2 -0
  187. package/esm/locale/plPL.js +82 -0
  188. package/esm/locale/psAF.d.ts +2 -0
  189. package/esm/locale/psAF.js +73 -0
  190. package/esm/locale/ptBR.d.ts +2 -0
  191. package/esm/locale/ptBR.js +73 -0
  192. package/esm/locale/ptPT.d.ts +2 -0
  193. package/esm/locale/ptPT.js +73 -0
  194. package/esm/locale/roRO.d.ts +2 -0
  195. package/esm/locale/roRO.js +73 -0
  196. package/esm/locale/ruRU.d.ts +2 -0
  197. package/esm/locale/ruRU.js +85 -0
  198. package/esm/locale/siLK.d.ts +2 -0
  199. package/esm/locale/siLK.js +73 -0
  200. package/esm/locale/skSK.d.ts +2 -0
  201. package/esm/locale/skSK.js +81 -0
  202. package/esm/locale/srRS.d.ts +2 -0
  203. package/esm/locale/srRS.js +81 -0
  204. package/esm/locale/svSE.d.ts +2 -0
  205. package/esm/locale/svSE.js +73 -0
  206. package/esm/locale/thTH.d.ts +2 -0
  207. package/esm/locale/thTH.js +73 -0
  208. package/esm/locale/tlTL.d.ts +2 -0
  209. package/esm/locale/tlTL.js +74 -0
  210. package/esm/locale/trTR.d.ts +2 -0
  211. package/esm/locale/trTR.js +73 -0
  212. package/esm/locale/ukUA.d.ts +2 -0
  213. package/esm/locale/ukUA.js +82 -0
  214. package/esm/locale/urPK.d.ts +2 -0
  215. package/esm/locale/urPK.js +73 -0
  216. package/esm/locale/utils/LocaleTextApi.d.ts +23 -0
  217. package/esm/locale/utils/LocaleTextApi.js +1 -0
  218. package/esm/locale/viVN.d.ts +2 -0
  219. package/esm/locale/viVN.js +73 -0
  220. package/esm/locale/zhCN.d.ts +2 -0
  221. package/esm/locale/zhCN.js +51 -0
  222. package/esm/locale/zhHK.d.ts +2 -0
  223. package/esm/locale/zhHK.js +51 -0
  224. package/esm/locale/zhTW.d.ts +2 -0
  225. package/esm/locale/zhTW.js +51 -0
  226. package/esm/styles/createColorScheme.js +2 -2
  227. package/esm/styles/createTheme.js +2 -2
  228. package/esm/useAutocomplete/useAutocomplete.js +2 -2
  229. package/esm/utils/shouldSpreadAdditionalProps.js +1 -1
  230. package/esm/version/index.js +2 -2
  231. package/index.js +1 -1
  232. package/internal/SwitchBase.d.ts +1 -1
  233. package/locale/amET.d.ts +2 -0
  234. package/locale/amET.js +79 -0
  235. package/locale/arEG.d.ts +2 -0
  236. package/locale/arEG.js +79 -0
  237. package/locale/arSA.d.ts +2 -0
  238. package/locale/arSA.js +79 -0
  239. package/locale/arSD.d.ts +2 -0
  240. package/locale/arSD.js +79 -0
  241. package/locale/azAZ.d.ts +2 -0
  242. package/locale/azAZ.js +83 -0
  243. package/locale/beBY.d.ts +2 -0
  244. package/locale/beBY.js +91 -0
  245. package/locale/bgBG.d.ts +2 -0
  246. package/locale/bgBG.js +76 -0
  247. package/locale/bnBD.d.ts +2 -0
  248. package/locale/bnBD.js +79 -0
  249. package/locale/caES.d.ts +2 -0
  250. package/locale/caES.js +76 -0
  251. package/locale/csCZ.d.ts +2 -0
  252. package/locale/csCZ.js +87 -0
  253. package/locale/daDK.d.ts +2 -0
  254. package/locale/daDK.js +79 -0
  255. package/locale/deDE.d.ts +2 -0
  256. package/locale/deDE.js +79 -0
  257. package/locale/elGR.d.ts +2 -0
  258. package/locale/elGR.js +81 -0
  259. package/locale/enUS.d.ts +2 -0
  260. package/locale/enUS.js +67 -0
  261. package/locale/esES.d.ts +2 -0
  262. package/locale/esES.js +79 -0
  263. package/locale/etEE.d.ts +2 -0
  264. package/locale/etEE.js +79 -0
  265. package/locale/faIR.d.ts +2 -0
  266. package/locale/faIR.js +84 -0
  267. package/locale/fiFI.d.ts +2 -0
  268. package/locale/fiFI.js +79 -0
  269. package/locale/frFR.d.ts +2 -0
  270. package/locale/frFR.js +79 -0
  271. package/locale/heIL.d.ts +2 -0
  272. package/locale/heIL.js +79 -0
  273. package/locale/hiIN.d.ts +2 -0
  274. package/locale/hiIN.js +79 -0
  275. package/locale/hrHR.d.ts +2 -0
  276. package/locale/hrHR.js +87 -0
  277. package/locale/huHU.d.ts +2 -0
  278. package/locale/huHU.js +76 -0
  279. package/locale/hyAM.d.ts +2 -0
  280. package/locale/hyAM.js +76 -0
  281. package/locale/idID.d.ts +2 -0
  282. package/locale/idID.js +76 -0
  283. package/locale/index.d.ts +60 -82
  284. package/locale/index.js +660 -4328
  285. package/locale/isIS.d.ts +2 -0
  286. package/locale/isIS.js +79 -0
  287. package/locale/itIT.d.ts +2 -0
  288. package/locale/itIT.js +79 -0
  289. package/locale/jaJP.d.ts +2 -0
  290. package/locale/jaJP.js +79 -0
  291. package/locale/khKH.d.ts +2 -0
  292. package/locale/khKH.js +79 -0
  293. package/locale/kkKZ.d.ts +2 -0
  294. package/locale/kkKZ.js +82 -0
  295. package/locale/koKR.d.ts +2 -0
  296. package/locale/koKR.js +79 -0
  297. package/locale/kuCKB.d.ts +2 -0
  298. package/locale/kuCKB.js +79 -0
  299. package/locale/kuLatn.d.ts +2 -0
  300. package/locale/kuLatn.js +79 -0
  301. package/locale/mkMK.d.ts +2 -0
  302. package/locale/mkMK.js +83 -0
  303. package/locale/msMS.d.ts +2 -0
  304. package/locale/msMS.js +83 -0
  305. package/locale/myMY.d.ts +2 -0
  306. package/locale/myMY.js +83 -0
  307. package/locale/nbNO.d.ts +2 -0
  308. package/locale/nbNO.js +79 -0
  309. package/locale/neNP.d.ts +2 -0
  310. package/locale/neNP.js +83 -0
  311. package/locale/nlNL.d.ts +2 -0
  312. package/locale/nlNL.js +79 -0
  313. package/locale/nnNO.d.ts +2 -0
  314. package/locale/nnNO.js +79 -0
  315. package/locale/plPL.d.ts +2 -0
  316. package/locale/plPL.js +88 -0
  317. package/locale/psAF.d.ts +2 -0
  318. package/locale/psAF.js +79 -0
  319. package/locale/ptBR.d.ts +2 -0
  320. package/locale/ptBR.js +79 -0
  321. package/locale/ptPT.d.ts +2 -0
  322. package/locale/ptPT.js +79 -0
  323. package/locale/roRO.d.ts +2 -0
  324. package/locale/roRO.js +79 -0
  325. package/locale/ruRU.d.ts +2 -0
  326. package/locale/ruRU.js +91 -0
  327. package/locale/siLK.d.ts +2 -0
  328. package/locale/siLK.js +79 -0
  329. package/locale/skSK.d.ts +2 -0
  330. package/locale/skSK.js +87 -0
  331. package/locale/srRS.d.ts +2 -0
  332. package/locale/srRS.js +87 -0
  333. package/locale/svSE.d.ts +2 -0
  334. package/locale/svSE.js +79 -0
  335. package/locale/thTH.d.ts +2 -0
  336. package/locale/thTH.js +79 -0
  337. package/locale/tlTL.d.ts +2 -0
  338. package/locale/tlTL.js +80 -0
  339. package/locale/trTR.d.ts +2 -0
  340. package/locale/trTR.js +79 -0
  341. package/locale/ukUA.d.ts +2 -0
  342. package/locale/ukUA.js +88 -0
  343. package/locale/urPK.d.ts +2 -0
  344. package/locale/urPK.js +79 -0
  345. package/locale/utils/LocaleTextApi.d.ts +23 -0
  346. package/locale/utils/LocaleTextApi.js +5 -0
  347. package/locale/viVN.d.ts +2 -0
  348. package/locale/viVN.js +79 -0
  349. package/locale/zhCN.d.ts +2 -0
  350. package/locale/zhCN.js +57 -0
  351. package/locale/zhHK.d.ts +2 -0
  352. package/locale/zhHK.js +57 -0
  353. package/locale/zhTW.d.ts +2 -0
  354. package/locale/zhTW.js +57 -0
  355. package/package.json +36 -37
  356. package/styles/createColorScheme.js +2 -2
  357. package/styles/createTheme.js +2 -2
  358. package/useAutocomplete/useAutocomplete.js +2 -2
  359. package/utils/shouldSpreadAdditionalProps.js +1 -1
  360. package/version/index.js +2 -2
  361. package/esm/utils/isHostComponent.d.ts +0 -6
  362. package/esm/utils/isHostComponent.js +0 -7
  363. package/utils/isHostComponent.d.ts +0 -6
  364. package/utils/isHostComponent.js +0 -13
package/locale/huHU.js ADDED
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.huHU = void 0;
7
+ const huHU = exports.huHU = {
8
+ components: {
9
+ MuiBreadcrumbs: {
10
+ defaultProps: {
11
+ expandText: 'Útvonal'
12
+ }
13
+ },
14
+ MuiTablePagination: {
15
+ defaultProps: {
16
+ getItemAriaLabel: type => {
17
+ if (type === 'first') {
18
+ return 'Első oldalra';
19
+ }
20
+ if (type === 'last') {
21
+ return 'Utolsó oldalra';
22
+ }
23
+ if (type === 'next') {
24
+ return 'Következő oldalra';
25
+ }
26
+ // if (type === 'previous') {
27
+ return 'Előző oldalra';
28
+ },
29
+ labelRowsPerPage: 'Sorok száma:'
30
+ // labelDisplayedRows: ({ from, to, count }) =>
31
+ // `${from}–${to} / ${count !== -1 ? count : `more than ${to}`}`,
32
+ }
33
+ },
34
+ MuiRating: {
35
+ defaultProps: {
36
+ getLabelText: value => `${value} Csillag`,
37
+ emptyLabelText: 'Üres'
38
+ }
39
+ },
40
+ MuiAutocomplete: {
41
+ defaultProps: {
42
+ clearText: 'Törlés',
43
+ closeText: 'Bezárás',
44
+ loadingText: 'Töltés…',
45
+ noOptionsText: 'Nincs találat',
46
+ openText: 'Megnyitás'
47
+ }
48
+ },
49
+ MuiAlert: {
50
+ defaultProps: {
51
+ closeText: 'Bezárás'
52
+ }
53
+ },
54
+ MuiPagination: {
55
+ defaultProps: {
56
+ 'aria-label': 'Lapozás',
57
+ getItemAriaLabel: (type, page, selected) => {
58
+ if (type === 'page') {
59
+ return `${page}. oldal${selected ? '' : 'ra'}`;
60
+ }
61
+ if (type === 'first') {
62
+ return 'Első oldalra';
63
+ }
64
+ if (type === 'last') {
65
+ return 'Utolsó oldalra';
66
+ }
67
+ if (type === 'next') {
68
+ return 'Következő oldalra';
69
+ }
70
+ // if (type === 'previous') {
71
+ return 'Előző oldalra';
72
+ }
73
+ }
74
+ }
75
+ }
76
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const hyAM: Localization;
package/locale/hyAM.js ADDED
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.hyAM = void 0;
7
+ const hyAM = exports.hyAM = {
8
+ components: {
9
+ // MuiBreadcrumbs: {
10
+ // defaultProps: {
11
+ // expandText: 'Show path',
12
+ // },
13
+ // },
14
+ MuiTablePagination: {
15
+ defaultProps: {
16
+ // getItemAriaLabel: (type) => {
17
+ // if (type === 'first') {
18
+ // return 'Go to first page';
19
+ // }
20
+ // if (type === 'last') {
21
+ // return 'Go to last page';
22
+ // }
23
+ // if (type === 'next') {
24
+ // return 'Go to next page';
25
+ // }
26
+ // // if (type === 'previous') {
27
+ // return 'Go to previous page';
28
+ // },
29
+ labelRowsPerPage: 'Տողեր մեկ էջում`'
30
+ // labelDisplayedRows: ({ from, to, count }) =>
31
+ // `${from}–${to} / ${count !== -1 ? count : `more than ${to}`}`,
32
+ }
33
+ },
34
+ MuiRating: {
35
+ defaultProps: {
36
+ getLabelText: value => `${value} Աստղ`,
37
+ emptyLabelText: 'Դատարկ'
38
+ }
39
+ },
40
+ MuiAutocomplete: {
41
+ defaultProps: {
42
+ clearText: 'Մաքրել',
43
+ closeText: 'Փակել',
44
+ loadingText: 'Բեռնում…',
45
+ noOptionsText: 'Տարբերակներ չկան',
46
+ openText: 'Բացել'
47
+ }
48
+ },
49
+ MuiAlert: {
50
+ defaultProps: {
51
+ closeText: 'Փակել'
52
+ }
53
+ }
54
+ // MuiPagination: {
55
+ // defaultProps: {
56
+ // 'aria-label': 'Pagination navigation',
57
+ // getItemAriaLabel: (type, page, selected) => {
58
+ // if (type === 'page') {
59
+ // return `${selected ? '' : 'Go to '}page ${page}`;
60
+ // }
61
+ // if (type === 'first') {
62
+ // return 'Go to first page';
63
+ // }
64
+ // if (type === 'last') {
65
+ // return 'Go to last page';
66
+ // }
67
+ // if (type === 'next') {
68
+ // return 'Go to next page';
69
+ // }
70
+ // // if (type === 'previous') {
71
+ // return 'Go to previous page';
72
+ // },
73
+ // },
74
+ // },
75
+ }
76
+ };
@@ -0,0 +1,2 @@
1
+ import type { Localization } from "./utils/LocaleTextApi.js";
2
+ export declare const idID: Localization;
package/locale/idID.js ADDED
@@ -0,0 +1,76 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.idID = void 0;
7
+ const idID = exports.idID = {
8
+ components: {
9
+ // MuiBreadcrumbs: {
10
+ // defaultProps: {
11
+ // expandText: 'Show path',
12
+ // },
13
+ // },
14
+ MuiTablePagination: {
15
+ defaultProps: {
16
+ // getItemAriaLabel: (type) => {
17
+ // if (type === 'first') {
18
+ // return 'Go to first page';
19
+ // }
20
+ // if (type === 'last') {
21
+ // return 'Go to last page';
22
+ // }
23
+ // if (type === 'next') {
24
+ // return 'Go to next page';
25
+ // }
26
+ // // if (type === 'previous') {
27
+ // return 'Go to previous page';
28
+ // },
29
+ labelRowsPerPage: 'Baris per halaman:'
30
+ // labelDisplayedRows: ({ from, to, count }) =>
31
+ // `${from}–${to} dari ${count !== -1 ? count : `more than ${to}`}`,
32
+ }
33
+ },
34
+ MuiRating: {
35
+ defaultProps: {
36
+ getLabelText: value => `${value} Bintang`
37
+ // emptyLabelText: 'Empty',
38
+ }
39
+ },
40
+ MuiAutocomplete: {
41
+ defaultProps: {
42
+ clearText: 'Hapus',
43
+ closeText: 'Tutup',
44
+ loadingText: 'Memuat…',
45
+ noOptionsText: 'Tidak ada opsi',
46
+ openText: 'Buka'
47
+ }
48
+ },
49
+ MuiAlert: {
50
+ defaultProps: {
51
+ closeText: 'Tutup'
52
+ }
53
+ }
54
+ // MuiPagination: {
55
+ // defaultProps: {
56
+ // 'aria-label': 'Pagination navigation',
57
+ // getItemAriaLabel: (type, page, selected) => {
58
+ // if (type === 'page') {
59
+ // return `${selected ? '' : 'Go to '}page ${page}`;
60
+ // }
61
+ // if (type === 'first') {
62
+ // return 'Go to first page';
63
+ // }
64
+ // if (type === 'last') {
65
+ // return 'Go to last page';
66
+ // }
67
+ // if (type === 'next') {
68
+ // return 'Go to next page';
69
+ // }
70
+ // // if (type === 'previous') {
71
+ // return 'Go to previous page';
72
+ // },
73
+ // },
74
+ // },
75
+ }
76
+ };
package/locale/index.d.ts CHANGED
@@ -1,82 +1,60 @@
1
- import { ComponentsPropsList } from "../styles/props.js";
2
- export interface Localization {
3
- components?: {
4
- MuiAlert?: {
5
- defaultProps: Pick<ComponentsPropsList['MuiAlert'], 'closeText'>;
6
- };
7
- MuiBreadcrumbs?: {
8
- defaultProps: Pick<ComponentsPropsList['MuiBreadcrumbs'], 'expandText'>;
9
- };
10
- MuiTablePagination?: {
11
- defaultProps: Pick<ComponentsPropsList['MuiTablePagination'], 'labelRowsPerPage' | 'labelDisplayedRows' | 'getItemAriaLabel'>;
12
- };
13
- MuiRating?: {
14
- defaultProps: Pick<ComponentsPropsList['MuiRating'], 'emptyLabelText' | 'getLabelText'>;
15
- };
16
- MuiAutocomplete?: {
17
- defaultProps: Pick<ComponentsPropsList['MuiAutocomplete'], 'clearText' | 'closeText' | 'loadingText' | 'noOptionsText' | 'openText'>;
18
- };
19
- MuiPagination?: {
20
- defaultProps: Pick<ComponentsPropsList['MuiPagination'], 'aria-label' | 'getItemAriaLabel'>;
21
- };
22
- };
23
- }
24
- export declare const amET: Localization;
25
- export declare const arEG: Localization;
26
- export declare const arSA: Localization;
27
- export declare const arSD: Localization;
28
- export declare const azAZ: Localization;
29
- export declare const bnBD: Localization;
30
- export declare const beBY: Localization;
31
- export declare const bgBG: Localization;
32
- export declare const caES: Localization;
33
- export declare const csCZ: Localization;
34
- export declare const daDK: Localization;
35
- export declare const deDE: Localization;
36
- export declare const elGR: Localization;
37
- export declare const enUS: Localization;
38
- export declare const esES: Localization;
39
- export declare const etEE: Localization;
40
- export declare const faIR: Localization;
41
- export declare const fiFI: Localization;
42
- export declare const frFR: Localization;
43
- export declare const heIL: Localization;
44
- export declare const hiIN: Localization;
45
- export declare const hrHR: Localization;
46
- export declare const huHU: Localization;
47
- export declare const hyAM: Localization;
48
- export declare const idID: Localization;
49
- export declare const isIS: Localization;
50
- export declare const itIT: Localization;
51
- export declare const jaJP: Localization;
52
- export declare const khKH: Localization;
53
- export declare const koKR: Localization;
54
- export declare const kuCKB: Localization;
55
- export declare const kuLatn: Localization;
56
- export declare const kkKZ: Localization;
57
- export declare const mkMK: Localization;
58
- export declare const myMY: Localization;
59
- export declare const msMS: Localization;
60
- export declare const neNP: Localization;
61
- export declare const nbNO: Localization;
62
- export declare const nnNO: Localization;
63
- export declare const nlNL: Localization;
64
- export declare const plPL: Localization;
65
- export declare const psAF: Localization;
66
- export declare const ptBR: Localization;
67
- export declare const ptPT: Localization;
68
- export declare const roRO: Localization;
69
- export declare const srRS: Localization;
70
- export declare const ruRU: Localization;
71
- export declare const siLK: Localization;
72
- export declare const skSK: Localization;
73
- export declare const svSE: Localization;
74
- export declare const thTH: Localization;
75
- export declare const trTR: Localization;
76
- export declare const tlTL: Localization;
77
- export declare const ukUA: Localization;
78
- export declare const urPK: Localization;
79
- export declare const viVN: Localization;
80
- export declare const zhCN: Localization;
81
- export declare const zhHK: Localization;
82
- export declare const zhTW: Localization;
1
+ export * from "./utils/LocaleTextApi.js";
2
+ export * from "./amET.js";
3
+ export * from "./arEG.js";
4
+ export * from "./arSA.js";
5
+ export * from "./arSD.js";
6
+ export * from "./azAZ.js";
7
+ export * from "./beBY.js";
8
+ export * from "./bgBG.js";
9
+ export * from "./bnBD.js";
10
+ export * from "./caES.js";
11
+ export * from "./csCZ.js";
12
+ export * from "./daDK.js";
13
+ export * from "./deDE.js";
14
+ export * from "./elGR.js";
15
+ export * from "./enUS.js";
16
+ export * from "./esES.js";
17
+ export * from "./etEE.js";
18
+ export * from "./faIR.js";
19
+ export * from "./fiFI.js";
20
+ export * from "./frFR.js";
21
+ export * from "./heIL.js";
22
+ export * from "./hiIN.js";
23
+ export * from "./hrHR.js";
24
+ export * from "./huHU.js";
25
+ export * from "./hyAM.js";
26
+ export * from "./idID.js";
27
+ export * from "./isIS.js";
28
+ export * from "./itIT.js";
29
+ export * from "./jaJP.js";
30
+ export * from "./khKH.js";
31
+ export * from "./koKR.js";
32
+ export * from "./kuCKB.js";
33
+ export * from "./kuLatn.js";
34
+ export * from "./kkKZ.js";
35
+ export * from "./mkMK.js";
36
+ export * from "./msMS.js";
37
+ export * from "./myMY.js";
38
+ export * from "./nbNO.js";
39
+ export * from "./neNP.js";
40
+ export * from "./nnNO.js";
41
+ export * from "./nlNL.js";
42
+ export * from "./plPL.js";
43
+ export * from "./psAF.js";
44
+ export * from "./ptBR.js";
45
+ export * from "./ptPT.js";
46
+ export * from "./roRO.js";
47
+ export * from "./ruRU.js";
48
+ export * from "./siLK.js";
49
+ export * from "./skSK.js";
50
+ export * from "./srRS.js";
51
+ export * from "./svSE.js";
52
+ export * from "./thTH.js";
53
+ export * from "./trTR.js";
54
+ export * from "./tlTL.js";
55
+ export * from "./ukUA.js";
56
+ export * from "./urPK.js";
57
+ export * from "./viVN.js";
58
+ export * from "./zhCN.js";
59
+ export * from "./zhHK.js";
60
+ export * from "./zhTW.js";