@mui/material 5.11.1 → 5.11.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.
- package/CHANGELOG.md +108 -0
- package/Popper/Popper.d.ts +1 -1
- package/Popper/Popper.js +11 -7
- package/Select/Select.d.ts +83 -25
- package/Select/SelectInput.js +11 -6
- package/Slider/Slider.js +0 -5
- package/TableCell/TableCell.js +5 -1
- package/index.js +1 -1
- package/legacy/Popper/Popper.js +13 -9
- package/legacy/Select/SelectInput.js +9 -6
- package/legacy/Slider/Slider.js +0 -5
- package/legacy/TableCell/TableCell.js +5 -1
- package/legacy/index.js +1 -1
- package/legacy/locale/index.js +195 -116
- package/locale/index.d.ts +1 -0
- package/locale/index.js +79 -4
- package/modern/Popper/Popper.js +11 -7
- package/modern/Select/SelectInput.js +7 -6
- package/modern/Slider/Slider.js +0 -5
- package/modern/TableCell/TableCell.js +5 -1
- package/modern/index.js +1 -1
- package/modern/locale/index.js +79 -4
- package/node/Popper/Popper.js +11 -7
- package/node/Select/SelectInput.js +11 -6
- package/node/Slider/Slider.js +0 -5
- package/node/TableCell/TableCell.js +5 -1
- package/node/index.js +1 -1
- package/node/locale/index.js +81 -5
- package/package.json +6 -6
- package/umd/material-ui.development.js +154 -83
- package/umd/material-ui.production.min.js +21 -21
|
@@ -159,6 +159,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
159
159
|
setDisplayNode(node);
|
|
160
160
|
}
|
|
161
161
|
}, []);
|
|
162
|
+
const anchorElement = displayNode?.parentNode;
|
|
162
163
|
React.useImperativeHandle(handleRef, () => ({
|
|
163
164
|
focus: () => {
|
|
164
165
|
displayRef.current.focus();
|
|
@@ -170,7 +171,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
170
171
|
// Resize menu on `defaultOpen` automatic toggle.
|
|
171
172
|
React.useEffect(() => {
|
|
172
173
|
if (defaultOpen && openState && displayNode && !isOpenControlled) {
|
|
173
|
-
setMenuMinWidthState(autoWidth ? null :
|
|
174
|
+
setMenuMinWidthState(autoWidth ? null : anchorElement.clientWidth);
|
|
174
175
|
displayRef.current.focus();
|
|
175
176
|
}
|
|
176
177
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
@@ -209,7 +210,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
209
210
|
onClose(event);
|
|
210
211
|
}
|
|
211
212
|
if (!isOpenControlled) {
|
|
212
|
-
setMenuMinWidthState(autoWidth ? null :
|
|
213
|
+
setMenuMinWidthState(autoWidth ? null : anchorElement.clientWidth);
|
|
213
214
|
setOpenState(open);
|
|
214
215
|
}
|
|
215
216
|
};
|
|
@@ -365,7 +366,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
365
366
|
if (value) {
|
|
366
367
|
return selected;
|
|
367
368
|
}
|
|
368
|
-
const firstSelectableElement = arr.find(item => item
|
|
369
|
+
const firstSelectableElement = arr.find(item => item?.props?.value !== undefined && item.props.disabled !== true);
|
|
369
370
|
if (child === firstSelectableElement) {
|
|
370
371
|
return true;
|
|
371
372
|
}
|
|
@@ -386,7 +387,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
386
387
|
}
|
|
387
388
|
},
|
|
388
389
|
role: 'option',
|
|
389
|
-
selected: arr[0]
|
|
390
|
+
selected: arr[0]?.props?.value === undefined || arr[0]?.props?.disabled === true ? isFirstSelectableElement() : selected,
|
|
390
391
|
value: undefined,
|
|
391
392
|
// The value is most likely not a valid HTML attribute.
|
|
392
393
|
'data-value': child.props.value // Instead, we provide it as a data attribute.
|
|
@@ -423,7 +424,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
423
424
|
// Avoid performing a layout computation in the render method.
|
|
424
425
|
let menuMinWidth = menuMinWidthState;
|
|
425
426
|
if (!autoWidth && isOpenControlled && displayNode) {
|
|
426
|
-
menuMinWidth =
|
|
427
|
+
menuMinWidth = anchorElement.clientWidth;
|
|
427
428
|
}
|
|
428
429
|
let tabIndex;
|
|
429
430
|
if (typeof tabIndexProp !== 'undefined') {
|
|
@@ -481,7 +482,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
481
482
|
ownerState: ownerState
|
|
482
483
|
}), /*#__PURE__*/_jsx(Menu, _extends({
|
|
483
484
|
id: `menu-${name || ''}`,
|
|
484
|
-
anchorEl:
|
|
485
|
+
anchorEl: anchorElement,
|
|
485
486
|
open: open,
|
|
486
487
|
onClose: handleClose,
|
|
487
488
|
anchorOrigin: {
|
package/modern/Slider/Slider.js
CHANGED
|
@@ -619,11 +619,6 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes /* remove-proptypes */
|
|
|
619
619
|
* @returns {string}
|
|
620
620
|
*/
|
|
621
621
|
getAriaValueText: PropTypes.func,
|
|
622
|
-
/**
|
|
623
|
-
* Indicates whether the theme context has rtl direction. It is set automatically.
|
|
624
|
-
* @default false
|
|
625
|
-
*/
|
|
626
|
-
isRtl: PropTypes.bool,
|
|
627
622
|
/**
|
|
628
623
|
* Marks indicate predetermined values to which the user can move the slider.
|
|
629
624
|
* If `true` the marks are spaced according the value of the `step` prop.
|
|
@@ -120,7 +120,11 @@ const TableCell = /*#__PURE__*/React.forwardRef(function TableCell(inProps, ref)
|
|
|
120
120
|
component = isHeadCell ? 'th' : 'td';
|
|
121
121
|
}
|
|
122
122
|
let scope = scopeProp;
|
|
123
|
-
|
|
123
|
+
// scope is not a valid attribute for <td/> elements.
|
|
124
|
+
// source: https://html.spec.whatwg.org/multipage/tables.html#the-td-element
|
|
125
|
+
if (component === 'td') {
|
|
126
|
+
scope = undefined;
|
|
127
|
+
} else if (!scope && isHeadCell) {
|
|
124
128
|
scope = 'col';
|
|
125
129
|
}
|
|
126
130
|
const variant = variantProp || tablelvl2 && tablelvl2.variant;
|
package/modern/index.js
CHANGED
package/modern/locale/index.js
CHANGED
|
@@ -1121,12 +1121,14 @@ export const faIR = {
|
|
|
1121
1121
|
// if (type === 'previous') {
|
|
1122
1122
|
return 'رفتن به صفحهی قبلی';
|
|
1123
1123
|
},
|
|
1124
|
-
labelRowsPerPage: 'تعداد سطرهای هر صفحه:'
|
|
1125
|
-
|
|
1126
|
-
|
|
1124
|
+
labelRowsPerPage: 'تعداد سطرهای هر صفحه:',
|
|
1125
|
+
labelDisplayedRows: ({
|
|
1126
|
+
from,
|
|
1127
|
+
to,
|
|
1128
|
+
count
|
|
1129
|
+
}) => `${from}–${to} از ${count !== -1 ? count : `بیشتر از ${to}`}`
|
|
1127
1130
|
}
|
|
1128
1131
|
},
|
|
1129
|
-
|
|
1130
1132
|
MuiRating: {
|
|
1131
1133
|
defaultProps: {
|
|
1132
1134
|
getLabelText: value => `${value} ستاره`,
|
|
@@ -2124,6 +2126,79 @@ export const koKR = {
|
|
|
2124
2126
|
}
|
|
2125
2127
|
}
|
|
2126
2128
|
};
|
|
2129
|
+
export const kuLatn = {
|
|
2130
|
+
components: {
|
|
2131
|
+
MuiBreadcrumbs: {
|
|
2132
|
+
defaultProps: {
|
|
2133
|
+
expandText: 'Rê nîşan bide'
|
|
2134
|
+
}
|
|
2135
|
+
},
|
|
2136
|
+
MuiTablePagination: {
|
|
2137
|
+
defaultProps: {
|
|
2138
|
+
getItemAriaLabel: type => {
|
|
2139
|
+
if (type === 'first') {
|
|
2140
|
+
return 'Biçe rûpela yekem';
|
|
2141
|
+
}
|
|
2142
|
+
if (type === 'last') {
|
|
2143
|
+
return 'Biçe rûpela dawî';
|
|
2144
|
+
}
|
|
2145
|
+
if (type === 'next') {
|
|
2146
|
+
return 'Biçe rûpela din';
|
|
2147
|
+
}
|
|
2148
|
+
// if (type === 'previous') {
|
|
2149
|
+
return 'Biçe rûpela berê';
|
|
2150
|
+
},
|
|
2151
|
+
labelRowsPerPage: 'Rêz li ser rûpelê:',
|
|
2152
|
+
labelDisplayedRows: ({
|
|
2153
|
+
from,
|
|
2154
|
+
to,
|
|
2155
|
+
count
|
|
2156
|
+
}) => `${from}–${to} of ${count !== -1 ? count : `zêdetir ji ${to}`}`
|
|
2157
|
+
}
|
|
2158
|
+
},
|
|
2159
|
+
MuiRating: {
|
|
2160
|
+
defaultProps: {
|
|
2161
|
+
getLabelText: value => `${value} Stêrk`,
|
|
2162
|
+
emptyLabelText: 'Vala'
|
|
2163
|
+
}
|
|
2164
|
+
},
|
|
2165
|
+
MuiAutocomplete: {
|
|
2166
|
+
defaultProps: {
|
|
2167
|
+
clearText: 'Paqij bike',
|
|
2168
|
+
closeText: 'Bigre',
|
|
2169
|
+
loadingText: 'Tê barkirin…',
|
|
2170
|
+
noOptionsText: 'Vebijêrk tune',
|
|
2171
|
+
openText: 'Veke'
|
|
2172
|
+
}
|
|
2173
|
+
},
|
|
2174
|
+
MuiAlert: {
|
|
2175
|
+
defaultProps: {
|
|
2176
|
+
closeText: 'Bigre'
|
|
2177
|
+
}
|
|
2178
|
+
},
|
|
2179
|
+
MuiPagination: {
|
|
2180
|
+
defaultProps: {
|
|
2181
|
+
'aria-label': 'Navîgasyona rûpelan',
|
|
2182
|
+
getItemAriaLabel: (type, page, selected) => {
|
|
2183
|
+
if (type === 'page') {
|
|
2184
|
+
return `${selected ? '' : 'Biçe '}rûpel ${page}`;
|
|
2185
|
+
}
|
|
2186
|
+
if (type === 'first') {
|
|
2187
|
+
return 'Biçe rûpela yekem';
|
|
2188
|
+
}
|
|
2189
|
+
if (type === 'last') {
|
|
2190
|
+
return 'Biçe rûpela dawî';
|
|
2191
|
+
}
|
|
2192
|
+
if (type === 'next') {
|
|
2193
|
+
return 'Biçe rûpela din';
|
|
2194
|
+
}
|
|
2195
|
+
// if (type === 'previous') {
|
|
2196
|
+
return 'Biçe rûpela berê';
|
|
2197
|
+
}
|
|
2198
|
+
}
|
|
2199
|
+
}
|
|
2200
|
+
}
|
|
2201
|
+
};
|
|
2127
2202
|
export const kkKZ = {
|
|
2128
2203
|
components: {
|
|
2129
2204
|
MuiBreadcrumbs: {
|
package/node/Popper/Popper.js
CHANGED
|
@@ -38,17 +38,17 @@ const PopperRoot = (0, _styles.styled)(_PopperUnstyled.default, {
|
|
|
38
38
|
const Popper = /*#__PURE__*/React.forwardRef(function Popper(inProps, ref) {
|
|
39
39
|
var _slots$root;
|
|
40
40
|
const theme = (0, _system.useThemeWithoutDefault)();
|
|
41
|
-
const
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
const props = (0, _styles.useThemeProps)({
|
|
42
|
+
props: inProps,
|
|
43
|
+
name: 'MuiPopper'
|
|
44
|
+
});
|
|
45
|
+
const {
|
|
46
46
|
components,
|
|
47
47
|
componentsProps,
|
|
48
48
|
slots,
|
|
49
49
|
slotProps
|
|
50
|
-
} =
|
|
51
|
-
other = (0, _objectWithoutPropertiesLoose2.default)(
|
|
50
|
+
} = props,
|
|
51
|
+
other = (0, _objectWithoutPropertiesLoose2.default)(props, _excluded);
|
|
52
52
|
const RootComponent = (_slots$root = slots == null ? void 0 : slots.root) != null ? _slots$root : components == null ? void 0 : components.Root;
|
|
53
53
|
return /*#__PURE__*/(0, _jsxRuntime.jsx)(PopperRoot, (0, _extends2.default)({
|
|
54
54
|
direction: theme == null ? void 0 : theme.direction,
|
|
@@ -139,6 +139,10 @@ process.env.NODE_ENV !== "production" ? Popper.propTypes /* remove-proptypes */
|
|
|
139
139
|
* If `true`, the component is shown.
|
|
140
140
|
*/
|
|
141
141
|
open: _propTypes.default.bool.isRequired,
|
|
142
|
+
/**
|
|
143
|
+
* @ignore
|
|
144
|
+
*/
|
|
145
|
+
ownerState: _propTypes.default.any,
|
|
142
146
|
/**
|
|
143
147
|
* Popper placement.
|
|
144
148
|
* @default 'bottom'
|
|
@@ -166,6 +166,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
166
166
|
setDisplayNode(node);
|
|
167
167
|
}
|
|
168
168
|
}, []);
|
|
169
|
+
const anchorElement = displayNode == null ? void 0 : displayNode.parentNode;
|
|
169
170
|
React.useImperativeHandle(handleRef, () => ({
|
|
170
171
|
focus: () => {
|
|
171
172
|
displayRef.current.focus();
|
|
@@ -177,7 +178,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
177
178
|
// Resize menu on `defaultOpen` automatic toggle.
|
|
178
179
|
React.useEffect(() => {
|
|
179
180
|
if (defaultOpen && openState && displayNode && !isOpenControlled) {
|
|
180
|
-
setMenuMinWidthState(autoWidth ? null :
|
|
181
|
+
setMenuMinWidthState(autoWidth ? null : anchorElement.clientWidth);
|
|
181
182
|
displayRef.current.focus();
|
|
182
183
|
}
|
|
183
184
|
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
@@ -216,7 +217,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
216
217
|
onClose(event);
|
|
217
218
|
}
|
|
218
219
|
if (!isOpenControlled) {
|
|
219
|
-
setMenuMinWidthState(autoWidth ? null :
|
|
220
|
+
setMenuMinWidthState(autoWidth ? null : anchorElement.clientWidth);
|
|
220
221
|
setOpenState(open);
|
|
221
222
|
}
|
|
222
223
|
};
|
|
@@ -336,6 +337,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
336
337
|
}
|
|
337
338
|
}
|
|
338
339
|
const items = childrenArray.map((child, index, arr) => {
|
|
340
|
+
var _arr$, _arr$$props, _arr$2, _arr$2$props;
|
|
339
341
|
if (! /*#__PURE__*/React.isValidElement(child)) {
|
|
340
342
|
return null;
|
|
341
343
|
}
|
|
@@ -372,7 +374,10 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
372
374
|
if (value) {
|
|
373
375
|
return selected;
|
|
374
376
|
}
|
|
375
|
-
const firstSelectableElement = arr.find(item =>
|
|
377
|
+
const firstSelectableElement = arr.find(item => {
|
|
378
|
+
var _item$props;
|
|
379
|
+
return (item == null ? void 0 : (_item$props = item.props) == null ? void 0 : _item$props.value) !== undefined && item.props.disabled !== true;
|
|
380
|
+
});
|
|
376
381
|
if (child === firstSelectableElement) {
|
|
377
382
|
return true;
|
|
378
383
|
}
|
|
@@ -393,7 +398,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
393
398
|
}
|
|
394
399
|
},
|
|
395
400
|
role: 'option',
|
|
396
|
-
selected: arr[0]
|
|
401
|
+
selected: ((_arr$ = arr[0]) == null ? void 0 : (_arr$$props = _arr$.props) == null ? void 0 : _arr$$props.value) === undefined || ((_arr$2 = arr[0]) == null ? void 0 : (_arr$2$props = _arr$2.props) == null ? void 0 : _arr$2$props.disabled) === true ? isFirstSelectableElement() : selected,
|
|
397
402
|
value: undefined,
|
|
398
403
|
// The value is most likely not a valid HTML attribute.
|
|
399
404
|
'data-value': child.props.value // Instead, we provide it as a data attribute.
|
|
@@ -430,7 +435,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
430
435
|
// Avoid performing a layout computation in the render method.
|
|
431
436
|
let menuMinWidth = menuMinWidthState;
|
|
432
437
|
if (!autoWidth && isOpenControlled && displayNode) {
|
|
433
|
-
menuMinWidth =
|
|
438
|
+
menuMinWidth = anchorElement.clientWidth;
|
|
434
439
|
}
|
|
435
440
|
let tabIndex;
|
|
436
441
|
if (typeof tabIndexProp !== 'undefined') {
|
|
@@ -488,7 +493,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
488
493
|
ownerState: ownerState
|
|
489
494
|
}), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Menu.default, (0, _extends2.default)({
|
|
490
495
|
id: `menu-${name || ''}`,
|
|
491
|
-
anchorEl:
|
|
496
|
+
anchorEl: anchorElement,
|
|
492
497
|
open: open,
|
|
493
498
|
onClose: handleClose,
|
|
494
499
|
anchorOrigin: {
|
package/node/Slider/Slider.js
CHANGED
|
@@ -630,11 +630,6 @@ process.env.NODE_ENV !== "production" ? Slider.propTypes /* remove-proptypes */
|
|
|
630
630
|
* @returns {string}
|
|
631
631
|
*/
|
|
632
632
|
getAriaValueText: _propTypes.default.func,
|
|
633
|
-
/**
|
|
634
|
-
* Indicates whether the theme context has rtl direction. It is set automatically.
|
|
635
|
-
* @default false
|
|
636
|
-
*/
|
|
637
|
-
isRtl: _propTypes.default.bool,
|
|
638
633
|
/**
|
|
639
634
|
* Marks indicate predetermined values to which the user can move the slider.
|
|
640
635
|
* If `true` the marks are spaced according the value of the `step` prop.
|
|
@@ -129,7 +129,11 @@ const TableCell = /*#__PURE__*/React.forwardRef(function TableCell(inProps, ref)
|
|
|
129
129
|
component = isHeadCell ? 'th' : 'td';
|
|
130
130
|
}
|
|
131
131
|
let scope = scopeProp;
|
|
132
|
-
|
|
132
|
+
// scope is not a valid attribute for <td/> elements.
|
|
133
|
+
// source: https://html.spec.whatwg.org/multipage/tables.html#the-td-element
|
|
134
|
+
if (component === 'td') {
|
|
135
|
+
scope = undefined;
|
|
136
|
+
} else if (!scope && isHeadCell) {
|
|
133
137
|
scope = 'col';
|
|
134
138
|
}
|
|
135
139
|
const variant = variantProp || tablelvl2 && tablelvl2.variant;
|
package/node/index.js
CHANGED
package/node/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.urPK = 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.koKR = exports.kkKZ = 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;
|
|
6
|
+
exports.zhTW = exports.zhHK = exports.zhCN = exports.viVN = exports.urPK = 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.kuLatn = exports.koKR = exports.kkKZ = 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: {
|
|
@@ -1141,12 +1141,14 @@ const faIR = {
|
|
|
1141
1141
|
// if (type === 'previous') {
|
|
1142
1142
|
return 'رفتن به صفحهی قبلی';
|
|
1143
1143
|
},
|
|
1144
|
-
labelRowsPerPage: 'تعداد سطرهای هر صفحه:'
|
|
1145
|
-
|
|
1146
|
-
|
|
1144
|
+
labelRowsPerPage: 'تعداد سطرهای هر صفحه:',
|
|
1145
|
+
labelDisplayedRows: ({
|
|
1146
|
+
from,
|
|
1147
|
+
to,
|
|
1148
|
+
count
|
|
1149
|
+
}) => `${from}–${to} از ${count !== -1 ? count : `بیشتر از ${to}`}`
|
|
1147
1150
|
}
|
|
1148
1151
|
},
|
|
1149
|
-
|
|
1150
1152
|
MuiRating: {
|
|
1151
1153
|
defaultProps: {
|
|
1152
1154
|
getLabelText: value => `${value} ستاره`,
|
|
@@ -2155,6 +2157,80 @@ const koKR = {
|
|
|
2155
2157
|
}
|
|
2156
2158
|
};
|
|
2157
2159
|
exports.koKR = koKR;
|
|
2160
|
+
const kuLatn = {
|
|
2161
|
+
components: {
|
|
2162
|
+
MuiBreadcrumbs: {
|
|
2163
|
+
defaultProps: {
|
|
2164
|
+
expandText: 'Rê nîşan bide'
|
|
2165
|
+
}
|
|
2166
|
+
},
|
|
2167
|
+
MuiTablePagination: {
|
|
2168
|
+
defaultProps: {
|
|
2169
|
+
getItemAriaLabel: type => {
|
|
2170
|
+
if (type === 'first') {
|
|
2171
|
+
return 'Biçe rûpela yekem';
|
|
2172
|
+
}
|
|
2173
|
+
if (type === 'last') {
|
|
2174
|
+
return 'Biçe rûpela dawî';
|
|
2175
|
+
}
|
|
2176
|
+
if (type === 'next') {
|
|
2177
|
+
return 'Biçe rûpela din';
|
|
2178
|
+
}
|
|
2179
|
+
// if (type === 'previous') {
|
|
2180
|
+
return 'Biçe rûpela berê';
|
|
2181
|
+
},
|
|
2182
|
+
labelRowsPerPage: 'Rêz li ser rûpelê:',
|
|
2183
|
+
labelDisplayedRows: ({
|
|
2184
|
+
from,
|
|
2185
|
+
to,
|
|
2186
|
+
count
|
|
2187
|
+
}) => `${from}–${to} of ${count !== -1 ? count : `zêdetir ji ${to}`}`
|
|
2188
|
+
}
|
|
2189
|
+
},
|
|
2190
|
+
MuiRating: {
|
|
2191
|
+
defaultProps: {
|
|
2192
|
+
getLabelText: value => `${value} Stêrk`,
|
|
2193
|
+
emptyLabelText: 'Vala'
|
|
2194
|
+
}
|
|
2195
|
+
},
|
|
2196
|
+
MuiAutocomplete: {
|
|
2197
|
+
defaultProps: {
|
|
2198
|
+
clearText: 'Paqij bike',
|
|
2199
|
+
closeText: 'Bigre',
|
|
2200
|
+
loadingText: 'Tê barkirin…',
|
|
2201
|
+
noOptionsText: 'Vebijêrk tune',
|
|
2202
|
+
openText: 'Veke'
|
|
2203
|
+
}
|
|
2204
|
+
},
|
|
2205
|
+
MuiAlert: {
|
|
2206
|
+
defaultProps: {
|
|
2207
|
+
closeText: 'Bigre'
|
|
2208
|
+
}
|
|
2209
|
+
},
|
|
2210
|
+
MuiPagination: {
|
|
2211
|
+
defaultProps: {
|
|
2212
|
+
'aria-label': 'Navîgasyona rûpelan',
|
|
2213
|
+
getItemAriaLabel: (type, page, selected) => {
|
|
2214
|
+
if (type === 'page') {
|
|
2215
|
+
return `${selected ? '' : 'Biçe '}rûpel ${page}`;
|
|
2216
|
+
}
|
|
2217
|
+
if (type === 'first') {
|
|
2218
|
+
return 'Biçe rûpela yekem';
|
|
2219
|
+
}
|
|
2220
|
+
if (type === 'last') {
|
|
2221
|
+
return 'Biçe rûpela dawî';
|
|
2222
|
+
}
|
|
2223
|
+
if (type === 'next') {
|
|
2224
|
+
return 'Biçe rûpela din';
|
|
2225
|
+
}
|
|
2226
|
+
// if (type === 'previous') {
|
|
2227
|
+
return 'Biçe rûpela berê';
|
|
2228
|
+
}
|
|
2229
|
+
}
|
|
2230
|
+
}
|
|
2231
|
+
}
|
|
2232
|
+
};
|
|
2233
|
+
exports.kuLatn = kuLatn;
|
|
2158
2234
|
const kkKZ = {
|
|
2159
2235
|
components: {
|
|
2160
2236
|
MuiBreadcrumbs: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mui/material",
|
|
3
|
-
"version": "5.11.
|
|
3
|
+
"version": "5.11.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"author": "MUI Team",
|
|
6
6
|
"description": "React components that implement Google's Material Design.",
|
|
@@ -45,12 +45,12 @@
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@babel/runtime": "^7.20.
|
|
49
|
-
"@mui/base": "5.0.0-alpha.
|
|
50
|
-
"@mui/core-downloads-tracker": "^5.11.
|
|
51
|
-
"@mui/system": "^5.11.
|
|
48
|
+
"@babel/runtime": "^7.20.7",
|
|
49
|
+
"@mui/base": "5.0.0-alpha.112",
|
|
50
|
+
"@mui/core-downloads-tracker": "^5.11.3",
|
|
51
|
+
"@mui/system": "^5.11.2",
|
|
52
52
|
"@mui/types": "^7.2.3",
|
|
53
|
-
"@mui/utils": "^5.11.
|
|
53
|
+
"@mui/utils": "^5.11.2",
|
|
54
54
|
"@types/react-transition-group": "^4.4.5",
|
|
55
55
|
"clsx": "^1.2.1",
|
|
56
56
|
"csstype": "^3.1.1",
|