@mui/material 5.10.7 → 5.10.8
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.
- package/Accordion/accordionClasses.d.ts +18 -18
- package/AccordionActions/accordionActionsClasses.d.ts +10 -10
- package/AccordionDetails/accordionDetailsClasses.d.ts +8 -8
- package/AccordionSummary/accordionSummaryClasses.d.ts +22 -22
- package/Alert/alertClasses.d.ts +44 -44
- package/AlertTitle/alertTitleClasses.d.ts +8 -8
- package/AppBar/appBarClasses.d.ts +28 -28
- package/Autocomplete/autocompleteClasses.d.ts +54 -54
- package/Avatar/avatarClasses.d.ts +20 -20
- package/AvatarGroup/avatarGroupClasses.d.ts +10 -10
- package/Backdrop/backdropClasses.d.ts +10 -10
- package/Badge/badgeClasses.d.ts +56 -56
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/BottomNavigation/bottomNavigationClasses.d.ts +8 -8
- package/BottomNavigationAction/bottomNavigationActionClasses.d.ts +14 -14
- package/Breadcrumbs/breadcrumbsClasses.d.ts +14 -14
- package/Button/buttonClasses.d.ts +100 -100
- package/ButtonBase/buttonBaseClasses.d.ts +12 -12
- package/ButtonBase/touchRippleClasses.d.ts +20 -20
- package/ButtonGroup/ButtonGroupContext.d.ts +18 -18
- package/ButtonGroup/buttonGroupClasses.d.ts +58 -58
- package/Card/cardClasses.d.ts +8 -8
- package/CardActionArea/cardActionAreaClasses.d.ts +12 -12
- package/CardActions/cardActionsClasses.d.ts +10 -10
- package/CardContent/cardContentClasses.d.ts +8 -8
- package/CardHeader/cardHeaderClasses.d.ts +18 -18
- package/CardMedia/cardMediaClasses.d.ts +12 -12
- package/Checkbox/checkboxClasses.d.ts +18 -18
- package/Chip/chipClasses.d.ts +96 -96
- package/CircularProgress/circularProgressClasses.d.ts +26 -26
- package/ClickAwayListener/index.d.ts +2 -2
- package/Collapse/collapseClasses.d.ts +18 -18
- package/Container/containerClasses.d.ts +6 -6
- package/Dialog/DialogContext.d.ts +6 -6
- package/Dialog/dialogClasses.d.ts +36 -36
- package/DialogActions/dialogActionsClasses.d.ts +10 -10
- package/DialogContent/dialogContentClasses.d.ts +10 -10
- package/DialogContentText/dialogContentTextClasses.d.ts +8 -8
- package/DialogTitle/dialogTitleClasses.d.ts +8 -8
- package/Divider/dividerClasses.d.ts +34 -34
- package/Drawer/drawerClasses.d.ts +30 -30
- package/Fab/Fab.js +5 -2
- package/Fab/fabClasses.d.ts +26 -26
- package/FilledInput/filledInputClasses.d.ts +40 -40
- package/FormControl/formControlClasses.d.ts +14 -14
- package/FormControlLabel/FormControlLabel.d.ts +1 -1
- package/FormControlLabel/formControlLabelClasses.d.ts +20 -20
- package/FormGroup/formGroupClasses.d.ts +12 -12
- package/FormHelperText/formHelperTextClasses.d.ts +22 -22
- package/FormLabel/formLabelClasses.d.ts +22 -22
- package/Grid/gridClasses.d.ts +48 -48
- package/Icon/iconClasses.d.ts +24 -24
- package/IconButton/iconButtonClasses.d.ts +26 -26
- package/ImageList/imageListClasses.d.ts +16 -16
- package/ImageListItem/imageListItemClasses.d.ts +18 -18
- package/ImageListItemBar/imageListItemBarClasses.d.ts +30 -30
- package/Input/inputClasses.d.ts +34 -34
- package/InputAdornment/inputAdornmentClasses.d.ts +24 -24
- package/InputBase/inputBaseClasses.d.ts +46 -46
- package/InputLabel/inputLabelClasses.d.ts +32 -32
- package/LinearProgress/linearProgressClasses.d.ts +42 -42
- package/Link/getTextDecoration.d.ts +15 -15
- package/Link/linkClasses.d.ts +18 -18
- package/List/listClasses.d.ts +14 -14
- package/ListItem/listItemClasses.d.ts +30 -30
- package/ListItemAvatar/listItemAvatarClasses.d.ts +10 -10
- package/ListItemButton/listItemButtonClasses.d.ts +22 -22
- package/ListItemIcon/listItemIconClasses.d.ts +10 -10
- package/ListItemSecondaryAction/listItemSecondaryActionClasses.d.ts +10 -10
- package/ListItemText/listItemTextClasses.d.ts +18 -18
- package/ListSubheader/listSubheaderClasses.d.ts +18 -18
- package/Menu/menuClasses.d.ts +12 -12
- package/MenuItem/menuItemClasses.d.ts +20 -20
- package/MobileStepper/mobileStepperClasses.d.ts +22 -22
- package/NativeSelect/nativeSelectClasses.d.ts +32 -32
- package/OutlinedInput/outlinedInputClasses.d.ts +36 -36
- package/OverridableComponentAugmentation.d.ts +31 -31
- package/Pagination/paginationClasses.d.ts +14 -14
- package/PaginationItem/paginationItemClasses.d.ts +42 -42
- package/Paper/paperClasses.d.ts +39 -39
- package/Popover/Popover.js +1 -0
- package/Popover/popoverClasses.d.ts +10 -10
- package/Popper/Popper.d.ts +24 -24
- package/Radio/radioClasses.d.ts +16 -16
- package/RadioGroup/RadioGroupContext.d.ts +11 -11
- package/RadioGroup/useRadioGroup.d.ts +4 -4
- package/Rating/ratingClasses.d.ts +40 -40
- package/ScopedCssBaseline/scopedCssBaselineClasses.d.ts +8 -8
- package/Select/selectClasses.d.ts +30 -30
- package/Skeleton/skeletonClasses.d.ts +26 -26
- package/Snackbar/snackbarClasses.d.ts +20 -20
- package/SnackbarContent/snackbarContentClasses.d.ts +12 -12
- package/SpeedDial/speedDialClasses.d.ts +22 -22
- package/SpeedDialAction/speedDialActionClasses.d.ts +20 -20
- package/SpeedDialIcon/speedDialIconClasses.d.ts +18 -18
- package/Step/StepContext.d.ts +20 -20
- package/Step/stepClasses.d.ts +16 -16
- package/StepButton/stepButtonClasses.d.ts +14 -14
- package/StepConnector/stepConnectorClasses.d.ts +26 -26
- package/StepContent/stepContentClasses.d.ts +12 -12
- package/StepIcon/stepIconClasses.d.ts +16 -16
- package/StepLabel/stepLabelClasses.d.ts +28 -28
- package/Stepper/StepperContext.d.ts +18 -18
- package/Stepper/stepperClasses.d.ts +14 -14
- package/SvgIcon/svgIconClasses.d.ts +26 -26
- package/Switch/switchClasses.d.ts +32 -32
- package/Tab/tabClasses.d.ts +26 -26
- package/TabScrollButton/tabScrollButtonClasses.d.ts +12 -12
- package/Table/tableClasses.d.ts +10 -10
- package/TableBody/tableBodyClasses.d.ts +8 -8
- package/TableCell/tableCellClasses.d.ts +32 -32
- package/TableContainer/tableContainerClasses.d.ts +8 -8
- package/TableFooter/tableFooterClasses.d.ts +8 -8
- package/TableHead/tableHeadClasses.d.ts +8 -8
- package/TablePagination/tablePaginationClasses.d.ts +28 -28
- package/TableRow/tableRowClasses.d.ts +16 -16
- package/TableSortLabel/tableSortLabelClasses.d.ts +16 -16
- package/Tabs/tabsClasses.d.ts +32 -32
- package/TextField/textFieldClasses.d.ts +8 -8
- package/ToggleButton/toggleButtonClasses.d.ts +24 -24
- package/ToggleButtonGroup/toggleButtonGroupClasses.d.ts +18 -18
- package/Toolbar/toolbarClasses.d.ts +14 -14
- package/Tooltip/tooltipClasses.d.ts +30 -30
- package/Typography/typographyClasses.d.ts +50 -50
- package/Unstable_Grid2/Grid2.d.ts +4 -4
- package/Unstable_Grid2/Grid2Props.d.ts +15 -15
- package/Unstable_Grid2/grid2Classes.d.ts +5 -5
- package/Unstable_Grid2/index.d.ts +4 -4
- package/className/index.d.ts +1 -1
- package/darkScrollbar/index.d.ts +28 -28
- package/esm/BottomNavigation/BottomNavigation.js +0 -0
- package/esm/Fab/Fab.js +5 -2
- package/esm/Popover/Popover.js +1 -0
- package/esm/locale/index.js +81 -1
- package/index.js +1 -1
- package/internal/switchBaseClasses.d.ts +12 -12
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Fab/Fab.js +7 -2
- package/legacy/Popover/Popover.js +1 -0
- package/legacy/index.js +1 -1
- package/legacy/locale/index.js +224 -141
- package/locale/index.d.ts +72 -71
- package/locale/index.js +83 -2
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Fab/Fab.js +5 -2
- package/modern/Popover/Popover.js +1 -0
- package/modern/index.js +1 -1
- package/modern/locale/index.js +81 -1
- package/package.json +4 -4
- package/styles/CssVarsProvider.d.ts +14 -14
- package/styles/excludeVariablesFromRoot.d.ts +5 -5
- package/transitions/index.d.ts +1 -1
- package/transitions/transition.d.ts +13 -13
- package/transitions/utils.d.ts +23 -23
- package/umd/material-ui.development.js +8 -4
- package/umd/material-ui.production.min.js +4 -4
- package/useMediaQuery/useMediaQuery.d.ts +31 -31
- package/useTouchRipple/index.d.ts +1 -1
- package/useTouchRipple/useTouchRipple.d.ts +28 -28
- package/utils/getScrollbarSize.d.ts +2 -2
- package/utils/ownerDocument.d.ts +2 -2
- package/utils/ownerWindow.d.ts +2 -2
- package/utils/setRef.d.ts +2 -2
package/locale/index.d.ts
CHANGED
|
@@ -1,71 +1,72 @@
|
|
|
1
|
-
import { ComponentsPropsList } from '../styles/props';
|
|
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
|
|
27
|
-
export declare const
|
|
28
|
-
export declare const
|
|
29
|
-
export declare const
|
|
30
|
-
export declare const
|
|
31
|
-
export declare const
|
|
32
|
-
export declare const
|
|
33
|
-
export declare const
|
|
34
|
-
export declare const
|
|
35
|
-
export declare const
|
|
36
|
-
export declare const
|
|
37
|
-
export declare const
|
|
38
|
-
export declare const
|
|
39
|
-
export declare const
|
|
40
|
-
export declare const
|
|
41
|
-
export declare const
|
|
42
|
-
export declare const
|
|
43
|
-
export declare const
|
|
44
|
-
export declare const
|
|
45
|
-
export declare const
|
|
46
|
-
export declare const
|
|
47
|
-
export declare const
|
|
48
|
-
export declare const
|
|
49
|
-
export declare const
|
|
50
|
-
export declare const
|
|
51
|
-
export declare const
|
|
52
|
-
export declare const
|
|
53
|
-
export declare const
|
|
54
|
-
export declare const
|
|
55
|
-
export declare const
|
|
56
|
-
export declare const
|
|
57
|
-
export declare const
|
|
58
|
-
export declare const
|
|
59
|
-
export declare const
|
|
60
|
-
export declare const
|
|
61
|
-
export declare const
|
|
62
|
-
export declare const
|
|
63
|
-
export declare const
|
|
64
|
-
export declare const
|
|
65
|
-
export declare const
|
|
66
|
-
export declare const
|
|
67
|
-
export declare const
|
|
68
|
-
export declare const
|
|
69
|
-
export declare const
|
|
70
|
-
export declare const
|
|
71
|
-
export declare const
|
|
1
|
+
import { ComponentsPropsList } from '../styles/props';
|
|
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 bgBG: Localization;
|
|
31
|
+
export declare const caES: Localization;
|
|
32
|
+
export declare const csCZ: Localization;
|
|
33
|
+
export declare const daDK: Localization;
|
|
34
|
+
export declare const deDE: Localization;
|
|
35
|
+
export declare const elGR: Localization;
|
|
36
|
+
export declare const enUS: Localization;
|
|
37
|
+
export declare const esES: Localization;
|
|
38
|
+
export declare const etEE: Localization;
|
|
39
|
+
export declare const faIR: Localization;
|
|
40
|
+
export declare const fiFI: Localization;
|
|
41
|
+
export declare const frFR: Localization;
|
|
42
|
+
export declare const heIL: Localization;
|
|
43
|
+
export declare const hiIN: Localization;
|
|
44
|
+
export declare const hrHR: Localization;
|
|
45
|
+
export declare const huHU: Localization;
|
|
46
|
+
export declare const hyAM: Localization;
|
|
47
|
+
export declare const idID: Localization;
|
|
48
|
+
export declare const isIS: Localization;
|
|
49
|
+
export declare const itIT: Localization;
|
|
50
|
+
export declare const jaJP: Localization;
|
|
51
|
+
export declare const khKH: Localization;
|
|
52
|
+
export declare const koKR: Localization;
|
|
53
|
+
export declare const kzKZ: Localization;
|
|
54
|
+
export declare const mkMK: Localization;
|
|
55
|
+
export declare const nbNO: Localization;
|
|
56
|
+
export declare const nlNL: Localization;
|
|
57
|
+
export declare const plPL: Localization;
|
|
58
|
+
export declare const ptBR: Localization;
|
|
59
|
+
export declare const ptPT: Localization;
|
|
60
|
+
export declare const roRO: Localization;
|
|
61
|
+
export declare const srRS: Localization;
|
|
62
|
+
export declare const ruRU: Localization;
|
|
63
|
+
export declare const siLK: Localization;
|
|
64
|
+
export declare const skSK: Localization;
|
|
65
|
+
export declare const svSE: Localization;
|
|
66
|
+
export declare const thTH: Localization;
|
|
67
|
+
export declare const trTR: Localization;
|
|
68
|
+
export declare const ukUA: Localization;
|
|
69
|
+
export declare const viVN: Localization;
|
|
70
|
+
export declare const zhCN: Localization;
|
|
71
|
+
export declare const zhHK: Localization;
|
|
72
|
+
export declare const zhTW: Localization;
|
package/locale/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.zhTW = exports.zhHK = exports.zhCN = exports.viVN = exports.ukUA = exports.trTR = exports.thTH = exports.svSE = exports.srRS = exports.skSK = exports.siLK = exports.ruRU = exports.roRO = exports.ptPT = exports.ptBR = exports.plPL = exports.nlNL = exports.nbNO = exports.mkMK = exports.kzKZ = exports.koKR = exports.khKH = exports.jaJP = exports.itIT = exports.isIS = exports.idID = exports.hyAM = exports.huHU = exports.hrHR = exports.hiIN = exports.heIL = exports.frFR = exports.fiFI = exports.faIR = exports.etEE = exports.esES = exports.enUS = exports.elGR = exports.deDE = exports.daDK = exports.csCZ = exports.caES = exports.bnBD = exports.bgBG = exports.azAZ = exports.arSD = exports.arEG = exports.amET = void 0;
|
|
6
|
+
exports.zhTW = exports.zhHK = exports.zhCN = exports.viVN = exports.ukUA = exports.trTR = exports.thTH = exports.svSE = exports.srRS = exports.skSK = exports.siLK = exports.ruRU = exports.roRO = exports.ptPT = exports.ptBR = exports.plPL = exports.nlNL = exports.nbNO = exports.mkMK = exports.kzKZ = exports.koKR = exports.khKH = exports.jaJP = exports.itIT = exports.isIS = exports.idID = exports.hyAM = exports.huHU = exports.hrHR = exports.hiIN = exports.heIL = exports.frFR = exports.fiFI = exports.faIR = exports.etEE = exports.esES = exports.enUS = exports.elGR = exports.deDE = exports.daDK = exports.csCZ = exports.caES = exports.bnBD = exports.bgBG = exports.azAZ = exports.arSD = exports.arSA = exports.arEG = exports.amET = void 0;
|
|
7
7
|
const amET = {
|
|
8
8
|
components: {
|
|
9
9
|
MuiBreadcrumbs: {
|
|
@@ -166,6 +166,87 @@ const arEG = {
|
|
|
166
166
|
}
|
|
167
167
|
};
|
|
168
168
|
exports.arEG = arEG;
|
|
169
|
+
const arSA = {
|
|
170
|
+
components: {
|
|
171
|
+
MuiBreadcrumbs: {
|
|
172
|
+
defaultProps: {
|
|
173
|
+
expandText: 'إظهار المسار'
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
MuiTablePagination: {
|
|
177
|
+
defaultProps: {
|
|
178
|
+
getItemAriaLabel: type => {
|
|
179
|
+
if (type === 'first') {
|
|
180
|
+
return 'الانتقال إلى الصفحة الأولى';
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
if (type === 'last') {
|
|
184
|
+
return 'الانتقال إلى الصفحة الأخيرة';
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
if (type === 'next') {
|
|
188
|
+
return 'الانتقال إلى الصفحة التالية';
|
|
189
|
+
} // if (type === 'previous') {
|
|
190
|
+
|
|
191
|
+
|
|
192
|
+
return 'الانتقال إلى الصفحة السابقة';
|
|
193
|
+
},
|
|
194
|
+
labelRowsPerPage: 'عدد الصفوف في الصفحة:',
|
|
195
|
+
labelDisplayedRows: ({
|
|
196
|
+
from,
|
|
197
|
+
to,
|
|
198
|
+
count
|
|
199
|
+
}) => `${from}–${to} من ${count !== -1 ? count : ` أكثر من${to}`}`
|
|
200
|
+
}
|
|
201
|
+
},
|
|
202
|
+
MuiRating: {
|
|
203
|
+
defaultProps: {
|
|
204
|
+
getLabelText: value => `${value} ${value !== 1 ? 'نجوم' : 'نجمة'}`,
|
|
205
|
+
emptyLabelText: 'فارغ'
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
MuiAutocomplete: {
|
|
209
|
+
defaultProps: {
|
|
210
|
+
clearText: 'مسح',
|
|
211
|
+
closeText: 'إغلاق',
|
|
212
|
+
loadingText: 'جار التحميل...',
|
|
213
|
+
noOptionsText: 'لا توجد خيارات',
|
|
214
|
+
openText: 'فتح'
|
|
215
|
+
}
|
|
216
|
+
},
|
|
217
|
+
MuiAlert: {
|
|
218
|
+
defaultProps: {
|
|
219
|
+
closeText: 'إغلاق'
|
|
220
|
+
}
|
|
221
|
+
},
|
|
222
|
+
MuiPagination: {
|
|
223
|
+
defaultProps: {
|
|
224
|
+
'aria-label': 'التنقل عبر الصفحات',
|
|
225
|
+
getItemAriaLabel: (type, page, selected) => {
|
|
226
|
+
if (type === 'page') {
|
|
227
|
+
return `${selected ? '' : 'الانتقال إلى '} صفحة ${page}`;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
if (type === 'first') {
|
|
231
|
+
return 'الانتقال إلى الصفحة الأولى';
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
if (type === 'last') {
|
|
235
|
+
return 'الانتقال الي الصفحة الأخيرة';
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
if (type === 'next') {
|
|
239
|
+
return 'الانتقال إلى الصفحة التالية';
|
|
240
|
+
} // if (type === 'previous') {
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
return 'الانتقال إلى الصفحة السابقة';
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
};
|
|
249
|
+
exports.arSA = arSA;
|
|
169
250
|
const arSD = {
|
|
170
251
|
components: {
|
|
171
252
|
MuiBreadcrumbs: {
|
|
@@ -3805,7 +3886,7 @@ const zhTW = {
|
|
|
3805
3886
|
|
|
3806
3887
|
return '上一頁';
|
|
3807
3888
|
},
|
|
3808
|
-
labelRowsPerPage: '
|
|
3889
|
+
labelRowsPerPage: '每頁行數:',
|
|
3809
3890
|
labelDisplayedRows: ({
|
|
3810
3891
|
from,
|
|
3811
3892
|
to,
|
|
File without changes
|
package/modern/Fab/Fab.js
CHANGED
|
@@ -9,7 +9,7 @@ import ButtonBase from '../ButtonBase';
|
|
|
9
9
|
import capitalize from '../utils/capitalize';
|
|
10
10
|
import useThemeProps from '../styles/useThemeProps';
|
|
11
11
|
import fabClasses, { getFabUtilityClass } from './fabClasses';
|
|
12
|
-
import styled from '../styles/styled';
|
|
12
|
+
import styled, { rootShouldForwardProp } from '../styles/styled';
|
|
13
13
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
14
14
|
|
|
15
15
|
const useUtilityClasses = ownerState => {
|
|
@@ -22,12 +22,14 @@ const useUtilityClasses = ownerState => {
|
|
|
22
22
|
const slots = {
|
|
23
23
|
root: ['root', variant, `size${capitalize(size)}`, color === 'inherit' ? 'colorInherit' : color]
|
|
24
24
|
};
|
|
25
|
-
|
|
25
|
+
const composedClasses = composeClasses(slots, getFabUtilityClass, classes);
|
|
26
|
+
return _extends({}, classes, composedClasses);
|
|
26
27
|
};
|
|
27
28
|
|
|
28
29
|
const FabRoot = styled(ButtonBase, {
|
|
29
30
|
name: 'MuiFab',
|
|
30
31
|
slot: 'Root',
|
|
32
|
+
shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',
|
|
31
33
|
overridesResolver: (props, styles) => {
|
|
32
34
|
const {
|
|
33
35
|
ownerState
|
|
@@ -149,6 +151,7 @@ const Fab = /*#__PURE__*/React.forwardRef(function Fab(inProps, ref) {
|
|
|
149
151
|
ownerState: ownerState,
|
|
150
152
|
ref: ref
|
|
151
153
|
}, other, {
|
|
154
|
+
classes: classes,
|
|
152
155
|
children: children
|
|
153
156
|
}));
|
|
154
157
|
});
|
package/modern/index.js
CHANGED
package/modern/locale/index.js
CHANGED
|
@@ -158,6 +158,86 @@ export const arEG = {
|
|
|
158
158
|
}
|
|
159
159
|
}
|
|
160
160
|
};
|
|
161
|
+
export const arSA = {
|
|
162
|
+
components: {
|
|
163
|
+
MuiBreadcrumbs: {
|
|
164
|
+
defaultProps: {
|
|
165
|
+
expandText: 'إظهار المسار'
|
|
166
|
+
}
|
|
167
|
+
},
|
|
168
|
+
MuiTablePagination: {
|
|
169
|
+
defaultProps: {
|
|
170
|
+
getItemAriaLabel: type => {
|
|
171
|
+
if (type === 'first') {
|
|
172
|
+
return 'الانتقال إلى الصفحة الأولى';
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
if (type === 'last') {
|
|
176
|
+
return 'الانتقال إلى الصفحة الأخيرة';
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
if (type === 'next') {
|
|
180
|
+
return 'الانتقال إلى الصفحة التالية';
|
|
181
|
+
} // if (type === 'previous') {
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
return 'الانتقال إلى الصفحة السابقة';
|
|
185
|
+
},
|
|
186
|
+
labelRowsPerPage: 'عدد الصفوف في الصفحة:',
|
|
187
|
+
labelDisplayedRows: ({
|
|
188
|
+
from,
|
|
189
|
+
to,
|
|
190
|
+
count
|
|
191
|
+
}) => `${from}–${to} من ${count !== -1 ? count : ` أكثر من${to}`}`
|
|
192
|
+
}
|
|
193
|
+
},
|
|
194
|
+
MuiRating: {
|
|
195
|
+
defaultProps: {
|
|
196
|
+
getLabelText: value => `${value} ${value !== 1 ? 'نجوم' : 'نجمة'}`,
|
|
197
|
+
emptyLabelText: 'فارغ'
|
|
198
|
+
}
|
|
199
|
+
},
|
|
200
|
+
MuiAutocomplete: {
|
|
201
|
+
defaultProps: {
|
|
202
|
+
clearText: 'مسح',
|
|
203
|
+
closeText: 'إغلاق',
|
|
204
|
+
loadingText: 'جار التحميل...',
|
|
205
|
+
noOptionsText: 'لا توجد خيارات',
|
|
206
|
+
openText: 'فتح'
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
MuiAlert: {
|
|
210
|
+
defaultProps: {
|
|
211
|
+
closeText: 'إغلاق'
|
|
212
|
+
}
|
|
213
|
+
},
|
|
214
|
+
MuiPagination: {
|
|
215
|
+
defaultProps: {
|
|
216
|
+
'aria-label': 'التنقل عبر الصفحات',
|
|
217
|
+
getItemAriaLabel: (type, page, selected) => {
|
|
218
|
+
if (type === 'page') {
|
|
219
|
+
return `${selected ? '' : 'الانتقال إلى '} صفحة ${page}`;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
if (type === 'first') {
|
|
223
|
+
return 'الانتقال إلى الصفحة الأولى';
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
if (type === 'last') {
|
|
227
|
+
return 'الانتقال الي الصفحة الأخيرة';
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
if (type === 'next') {
|
|
231
|
+
return 'الانتقال إلى الصفحة التالية';
|
|
232
|
+
} // if (type === 'previous') {
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
return 'الانتقال إلى الصفحة السابقة';
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
};
|
|
161
241
|
export const arSD = {
|
|
162
242
|
components: {
|
|
163
243
|
MuiBreadcrumbs: {
|
|
@@ -3752,7 +3832,7 @@ export const zhTW = {
|
|
|
3752
3832
|
|
|
3753
3833
|
return '上一頁';
|
|
3754
3834
|
},
|
|
3755
|
-
labelRowsPerPage: '
|
|
3835
|
+
labelRowsPerPage: '每頁行數:',
|
|
3756
3836
|
labelDisplayedRows: ({
|
|
3757
3837
|
from,
|
|
3758
3838
|
to,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/material",
|
|
3
|
-
"version": "5.10.
|
|
3
|
+
"version": "5.10.8",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "React components that implement Google's Material Design.",
|
|
@@ -46,9 +46,9 @@
|
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
48
|
"@babel/runtime": "^7.19.0",
|
|
49
|
-
"@mui/base": "5.0.0-alpha.
|
|
50
|
-
"@mui/core-downloads-tracker": "^5.10.
|
|
51
|
-
"@mui/system": "^5.10.
|
|
49
|
+
"@mui/base": "5.0.0-alpha.100",
|
|
50
|
+
"@mui/core-downloads-tracker": "^5.10.8",
|
|
51
|
+
"@mui/system": "^5.10.8",
|
|
52
52
|
"@mui/types": "^7.2.0",
|
|
53
53
|
"@mui/utils": "^5.10.6",
|
|
54
54
|
"@types/react-transition-group": "^4.4.5",
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SupportedColorScheme } from './experimental_extendTheme';
|
|
3
|
-
declare const shouldSkipGeneratingVar: (keys: string[]) => boolean;
|
|
4
|
-
declare const CssVarsProvider: (props: import("react").PropsWithChildren<Partial<import("@mui/system").CssVarsProviderConfig<SupportedColorScheme>> & {
|
|
5
|
-
theme?: {
|
|
6
|
-
cssVarPrefix?: string | undefined;
|
|
7
|
-
colorSchemes: Record<SupportedColorScheme, Record<string, any>>;
|
|
8
|
-
} | undefined;
|
|
9
|
-
documentNode?: Document | null | undefined;
|
|
10
|
-
colorSchemeNode?: Document | HTMLElement | null | undefined;
|
|
11
|
-
colorSchemeSelector?: string | undefined;
|
|
12
|
-
storageWindow?: Window | null | undefined;
|
|
13
|
-
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, useColorScheme: () => import("@mui/system").ColorSchemeContextValue<SupportedColorScheme>, getInitColorSchemeScript: typeof import("@mui/system").getInitColorSchemeScript;
|
|
14
|
-
export { useColorScheme, getInitColorSchemeScript, shouldSkipGeneratingVar, CssVarsProvider as Experimental_CssVarsProvider, };
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SupportedColorScheme } from './experimental_extendTheme';
|
|
3
|
+
declare const shouldSkipGeneratingVar: (keys: string[]) => boolean;
|
|
4
|
+
declare const CssVarsProvider: (props: import("react").PropsWithChildren<Partial<import("@mui/system").CssVarsProviderConfig<SupportedColorScheme>> & {
|
|
5
|
+
theme?: {
|
|
6
|
+
cssVarPrefix?: string | undefined;
|
|
7
|
+
colorSchemes: Record<SupportedColorScheme, Record<string, any>>;
|
|
8
|
+
} | undefined;
|
|
9
|
+
documentNode?: Document | null | undefined;
|
|
10
|
+
colorSchemeNode?: Document | HTMLElement | null | undefined;
|
|
11
|
+
colorSchemeSelector?: string | undefined;
|
|
12
|
+
storageWindow?: Window | null | undefined;
|
|
13
|
+
}>) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>, useColorScheme: () => import("@mui/system").ColorSchemeContextValue<SupportedColorScheme>, getInitColorSchemeScript: typeof import("@mui/system").getInitColorSchemeScript;
|
|
14
|
+
export { useColorScheme, getInitColorSchemeScript, shouldSkipGeneratingVar, CssVarsProvider as Experimental_CssVarsProvider, };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* @internal These variables should not appear in the :root stylesheet when the `defaultMode="dark"`
|
|
3
|
-
*/
|
|
4
|
-
declare const excludeVariablesFromRoot: (cssVarPrefix: string) => string[];
|
|
5
|
-
export default excludeVariablesFromRoot;
|
|
1
|
+
/**
|
|
2
|
+
* @internal These variables should not appear in the :root stylesheet when the `defaultMode="dark"`
|
|
3
|
+
*/
|
|
4
|
+
declare const excludeVariablesFromRoot: (cssVarPrefix: string) => string[];
|
|
5
|
+
export default excludeVariablesFromRoot;
|
package/transitions/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './transition';
|
|
1
|
+
export * from './transition';
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { TransitionProps as _TransitionProps, TransitionActions } from 'react-transition-group/Transition';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
export declare type TransitionHandlerKeys = 'onEnter' | 'onEntering' | 'onEntered' | 'onExit' | 'onExiting' | 'onExited';
|
|
4
|
-
export declare type TransitionHandlerProps = Pick<_TransitionProps, TransitionHandlerKeys>;
|
|
5
|
-
export interface EasingProps {
|
|
6
|
-
easing: string | {
|
|
7
|
-
enter?: string;
|
|
8
|
-
exit?: string;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
11
|
-
export declare type TransitionKeys = 'in' | 'mountOnEnter' | 'unmountOnExit' | 'timeout' | 'easing' | 'addEndListener' | TransitionHandlerKeys;
|
|
12
|
-
export interface TransitionProps extends TransitionActions, Partial<Pick<_TransitionProps & EasingProps, TransitionKeys>>, React.HTMLAttributes<HTMLElement> {
|
|
13
|
-
}
|
|
1
|
+
import { TransitionProps as _TransitionProps, TransitionActions } from 'react-transition-group/Transition';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export declare type TransitionHandlerKeys = 'onEnter' | 'onEntering' | 'onEntered' | 'onExit' | 'onExiting' | 'onExited';
|
|
4
|
+
export declare type TransitionHandlerProps = Pick<_TransitionProps, TransitionHandlerKeys>;
|
|
5
|
+
export interface EasingProps {
|
|
6
|
+
easing: string | {
|
|
7
|
+
enter?: string;
|
|
8
|
+
exit?: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
11
|
+
export declare type TransitionKeys = 'in' | 'mountOnEnter' | 'unmountOnExit' | 'timeout' | 'easing' | 'addEndListener' | TransitionHandlerKeys;
|
|
12
|
+
export interface TransitionProps extends TransitionActions, Partial<Pick<_TransitionProps & EasingProps, TransitionKeys>>, React.HTMLAttributes<HTMLElement> {
|
|
13
|
+
}
|
package/transitions/utils.d.ts
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export declare const reflow: (node: Element) => number;
|
|
3
|
-
interface ComponentProps {
|
|
4
|
-
easing: string | {
|
|
5
|
-
enter?: string;
|
|
6
|
-
exit?: string;
|
|
7
|
-
} | undefined;
|
|
8
|
-
style: React.CSSProperties | undefined;
|
|
9
|
-
timeout: number | {
|
|
10
|
-
enter?: number;
|
|
11
|
-
exit?: number;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
interface Options {
|
|
15
|
-
mode: 'enter' | 'exit';
|
|
16
|
-
}
|
|
17
|
-
interface TransitionProps {
|
|
18
|
-
duration: string | number;
|
|
19
|
-
easing: string | undefined;
|
|
20
|
-
delay: string | undefined;
|
|
21
|
-
}
|
|
22
|
-
export declare function getTransitionProps(props: ComponentProps, options: Options): TransitionProps;
|
|
23
|
-
export {};
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export declare const reflow: (node: Element) => number;
|
|
3
|
+
interface ComponentProps {
|
|
4
|
+
easing: string | {
|
|
5
|
+
enter?: string;
|
|
6
|
+
exit?: string;
|
|
7
|
+
} | undefined;
|
|
8
|
+
style: React.CSSProperties | undefined;
|
|
9
|
+
timeout: number | {
|
|
10
|
+
enter?: number;
|
|
11
|
+
exit?: number;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
interface Options {
|
|
15
|
+
mode: 'enter' | 'exit';
|
|
16
|
+
}
|
|
17
|
+
interface TransitionProps {
|
|
18
|
+
duration: string | number;
|
|
19
|
+
easing: string | undefined;
|
|
20
|
+
delay: string | undefined;
|
|
21
|
+
}
|
|
22
|
+
export declare function getTransitionProps(props: ComponentProps, options: Options): TransitionProps;
|
|
23
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** @license MUI v5.10.
|
|
1
|
+
/** @license MUI v5.10.8
|
|
2
2
|
*
|
|
3
3
|
* This source code is licensed under the MIT license found in the
|
|
4
4
|
* LICENSE file in the root directory of this source tree.
|
|
@@ -9238,7 +9238,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
9238
9238
|
input = stripDiacritics(input);
|
|
9239
9239
|
}
|
|
9240
9240
|
|
|
9241
|
-
const filteredOptions = options.filter(option => {
|
|
9241
|
+
const filteredOptions = !input ? options : options.filter(option => {
|
|
9242
9242
|
let candidate = (stringify || getOptionLabel)(option);
|
|
9243
9243
|
|
|
9244
9244
|
if (ignoreCase) {
|
|
@@ -15064,7 +15064,7 @@ The following color spaces are supported: srgb, display-p3, a98-rgb, prophoto-rg
|
|
|
15064
15064
|
className: clsx(classes.markLabel, markLabelProps.className, markActive && classes.markLabelActive),
|
|
15065
15065
|
children: mark.label
|
|
15066
15066
|
})) : null]
|
|
15067
|
-
},
|
|
15067
|
+
}, index);
|
|
15068
15068
|
}), values.map((value, index) => {
|
|
15069
15069
|
const percent = valueToPercent(value, min, max);
|
|
15070
15070
|
const style = axisProps[axis].offset(percent);
|
|
@@ -30365,12 +30365,14 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30365
30365
|
const slots = {
|
|
30366
30366
|
root: ['root', variant, `size${capitalize(size)}`, color === 'inherit' ? 'colorInherit' : color]
|
|
30367
30367
|
};
|
|
30368
|
-
|
|
30368
|
+
const composedClasses = composeClasses(slots, getFabUtilityClass, classes);
|
|
30369
|
+
return _extends({}, classes, composedClasses);
|
|
30369
30370
|
};
|
|
30370
30371
|
|
|
30371
30372
|
const FabRoot = styled$1(ButtonBase$1, {
|
|
30372
30373
|
name: 'MuiFab',
|
|
30373
30374
|
slot: 'Root',
|
|
30375
|
+
shouldForwardProp: prop => rootShouldForwardProp(prop) || prop === 'classes',
|
|
30374
30376
|
overridesResolver: (props, styles) => {
|
|
30375
30377
|
const {
|
|
30376
30378
|
ownerState
|
|
@@ -30496,6 +30498,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
30496
30498
|
ownerState: ownerState,
|
|
30497
30499
|
ref: ref
|
|
30498
30500
|
}, other, {
|
|
30501
|
+
classes: classes,
|
|
30499
30502
|
children: children
|
|
30500
30503
|
}));
|
|
30501
30504
|
});
|
|
@@ -37719,6 +37722,7 @@ See https://mui.com/r/migration-v4/#mui-material-styles for more details.` );
|
|
|
37719
37722
|
}, PaperProps, {
|
|
37720
37723
|
ref: handlePaperRef,
|
|
37721
37724
|
className: clsx(classes.paper, PaperProps.className),
|
|
37725
|
+
ownerState: ownerState,
|
|
37722
37726
|
children: children
|
|
37723
37727
|
}))
|
|
37724
37728
|
}))
|