@mui/material 5.14.9 → 5.14.11
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/Autocomplete/Autocomplete.d.ts +2 -0
- package/Avatar/Avatar.js +1 -1
- package/BottomNavigation/BottomNavigation.js +0 -0
- package/CHANGELOG.md +133 -0
- package/Chip/Chip.js +2 -0
- package/ListSubheader/listSubheaderClasses.js +1 -1
- package/Select/SelectInput.js +1 -0
- package/TablePagination/TablePagination.d.ts +1 -0
- package/Tabs/Tabs.d.ts +1 -1
- package/Tabs/Tabs.js +1 -1
- package/index.js +1 -1
- package/legacy/Avatar/Avatar.js +1 -1
- package/legacy/BottomNavigation/BottomNavigation.js +0 -0
- package/legacy/Chip/Chip.js +2 -0
- package/legacy/ListSubheader/listSubheaderClasses.js +1 -1
- package/legacy/Select/SelectInput.js +1 -0
- package/legacy/Tabs/Tabs.js +1 -1
- package/legacy/index.js +1 -1
- package/legacy/locale/index.js +35 -32
- package/locale/index.js +6 -4
- package/modern/Avatar/Avatar.js +1 -1
- package/modern/BottomNavigation/BottomNavigation.js +0 -0
- package/modern/Chip/Chip.js +2 -0
- package/modern/ListSubheader/listSubheaderClasses.js +1 -1
- package/modern/Select/SelectInput.js +1 -0
- package/modern/Tabs/Tabs.js +1 -1
- package/modern/index.js +1 -1
- package/modern/locale/index.js +6 -4
- package/node/Avatar/Avatar.js +1 -1
- package/node/BottomNavigation/BottomNavigation.js +0 -0
- package/node/Chip/Chip.js +2 -0
- package/node/ListSubheader/listSubheaderClasses.js +2 -2
- package/node/Select/SelectInput.js +1 -0
- package/node/TablePagination/TablePagination.js +3 -2
- package/node/Tabs/Tabs.js +1 -1
- package/node/index.js +1 -1
- package/node/locale/index.js +6 -4
- package/package.json +5 -5
- package/umd/material-ui.development.js +51 -49
- package/umd/material-ui.production.min.js +4 -4
|
@@ -7,6 +7,7 @@ import {
|
|
|
7
7
|
AutocompleteChangeReason,
|
|
8
8
|
AutocompleteCloseReason,
|
|
9
9
|
AutocompleteInputChangeReason,
|
|
10
|
+
AutocompleteValue,
|
|
10
11
|
createFilterOptions,
|
|
11
12
|
UseAutocompleteProps,
|
|
12
13
|
AutocompleteFreeSoloValueMapping,
|
|
@@ -22,6 +23,7 @@ export {
|
|
|
22
23
|
AutocompleteChangeReason,
|
|
23
24
|
AutocompleteCloseReason,
|
|
24
25
|
AutocompleteInputChangeReason,
|
|
26
|
+
AutocompleteValue,
|
|
25
27
|
createFilterOptions,
|
|
26
28
|
};
|
|
27
29
|
|
package/Avatar/Avatar.js
CHANGED
|
@@ -158,8 +158,8 @@ const Avatar = /*#__PURE__*/React.forwardRef(function Avatar(inProps, ref) {
|
|
|
158
158
|
if (hasImgNotFailing) {
|
|
159
159
|
children = /*#__PURE__*/_jsx(AvatarImg, _extends({
|
|
160
160
|
alt: alt,
|
|
161
|
-
src: src,
|
|
162
161
|
srcSet: srcSet,
|
|
162
|
+
src: src,
|
|
163
163
|
sizes: sizes,
|
|
164
164
|
ownerState: ownerState,
|
|
165
165
|
className: classes.img
|
|
File without changes
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,138 @@
|
|
|
1
1
|
# [Versions](https://mui.com/versions/)
|
|
2
2
|
|
|
3
|
+
## 5.14.11
|
|
4
|
+
|
|
5
|
+
<!-- generated comparing v5.14.10..master -->
|
|
6
|
+
|
|
7
|
+
_Sep 26, 2023_
|
|
8
|
+
|
|
9
|
+
A big thanks to the 23 contributors who made this release possible.
|
|
10
|
+
This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
|
|
11
|
+
|
|
12
|
+
### `@mui/material@5.14.11`
|
|
13
|
+
|
|
14
|
+
- [Autocomplete] Re-export `AutocompleteValue` to make it available from path import (#38638) @vadimka123
|
|
15
|
+
- [Select][material-ui] Missing aria-multiselectable attribute on multiple Select component (#38855) @gitstart
|
|
16
|
+
- [l10n] labelDisplayedRows is added for trTR localization (#39056) @tebersefa
|
|
17
|
+
|
|
18
|
+
### `@mui/utils@5.14.11`
|
|
19
|
+
|
|
20
|
+
- Support RSC in `isMuiElement` util (#38129) @sai6855
|
|
21
|
+
|
|
22
|
+
### `@mui/base@5.0.0-beta.17`
|
|
23
|
+
|
|
24
|
+
- [NumberInput] Support adornments (#38900) @anle9650
|
|
25
|
+
- [Menu] Align external props handling for useMenu/MenuButton/MenuItem (#38946) @mj12albert
|
|
26
|
+
- [Select] Align external props handling (#39038) @mj12albert
|
|
27
|
+
- [TextareaAutosize] Simplify logic and add test (#38728) @oliviertassinari
|
|
28
|
+
|
|
29
|
+
### `@mui/joy@5.0.0-beta.8`
|
|
30
|
+
|
|
31
|
+
- [Button] Fix disabled button styling when component prop is provided (#38996) @sai6855
|
|
32
|
+
- [Drawer] Add missing `JoyDrawer` in theme components (#39074) @Studio384
|
|
33
|
+
|
|
34
|
+
### `@mui/material-next@6.0.0-alpha.103`
|
|
35
|
+
|
|
36
|
+
- [FormControl] Copy v5 FormControl (#39039) @mj12albert
|
|
37
|
+
|
|
38
|
+
### `@mui/lab@5.0.0-alpha.146`
|
|
39
|
+
|
|
40
|
+
- [TreeView] Fix JSDoc comments in TreeView and TreeItem (#38874) @jergason
|
|
41
|
+
|
|
42
|
+
### Docs
|
|
43
|
+
|
|
44
|
+
- Improve focus trap demo (#38985) @oliviertassinari
|
|
45
|
+
- Add Tailwind CSS + plain CSS demo on the Tabs page (#39000) @alisasanib
|
|
46
|
+
- Improve the default theme viewer design (#39049) @danilo-leal
|
|
47
|
+
- Add live demo with CssVarsProvider (#38792) @oliviertassinari
|
|
48
|
+
- Fix wrong hash on Card's page (#39151) @mnajdova
|
|
49
|
+
- Revise the Drawer page (#38988) @danilo-leal
|
|
50
|
+
- Simplify the button's loading indicator demo (#39082) @danilo-leal
|
|
51
|
+
- Fix the Templates link on the Overview page (#39086) @danilo-leal
|
|
52
|
+
- Refine the Sign in template (#38942) @zanivan
|
|
53
|
+
- Add `use-count-up` integration with the Circular Progress (#38952) @anon-phantom
|
|
54
|
+
|
|
55
|
+
### Core
|
|
56
|
+
|
|
57
|
+
- [blog] Add a company values blog post (#38802) @mikailaread
|
|
58
|
+
- [core] Downgrade lerna to 7.2.0 (#39149) @michaldudak
|
|
59
|
+
- [core] Simplify docs feedback interaction (#39075) @alexfauquette
|
|
60
|
+
- [core] Improve ref type definition (#38903) @oliviertassinari
|
|
61
|
+
- [core] Simplify career (#39112) @oliviertassinari
|
|
62
|
+
- [core] Update Babel types along with source packages (#39070) @michaldudak
|
|
63
|
+
- [core] Add a comment to explain `useEnhancedEffect` (#39035) @Janpot
|
|
64
|
+
- [docs-infra] Fix code removal in table of content (#39165) @alexfauquette
|
|
65
|
+
- [docs-infra] Improve callouts design (#39084) @danilo-leal
|
|
66
|
+
- [docs-infra] Fix key warning in Base UI Slider slots section (#38954) @ZeeshanTamboli
|
|
67
|
+
- [docs-infra] Fix error when redirecting to the root page (#38451) @maheshguntur
|
|
68
|
+
- [docs-infra] Open demo crash in the right repository (#39006) @oliviertassinari
|
|
69
|
+
- [test] Split the test package (#39061) @michaldudak
|
|
70
|
+
- [website] React Engineer - xCharts role (#38976) @DanailH
|
|
71
|
+
- [website] Improve the highlighter component colors (#39087) @danilo-leal
|
|
72
|
+
- [website] Fix Pricing page row hover (#39097) @danilo-leal
|
|
73
|
+
- [website] Fix typo with straight quote @oliviertassinari
|
|
74
|
+
- [website] Sync about page @oliviertassinari
|
|
75
|
+
- [website] Update the about page (#38733) @danilo-leal
|
|
76
|
+
- [website] Small fixes on the X marketing page (#38975) @flaviendelangle
|
|
77
|
+
- [website] Add stray design tweaks to the X page (#38589) @danilo-leal
|
|
78
|
+
|
|
79
|
+
All contributors of this release in alphabetical order: @alexfauquette, @alisasanib, @anle9650, @anon-phantom, @DanailH, @danilo-leal, @DiegoAndai, @flaviendelangle, @gitstart, @Janpot, @jergason, @maheshguntur, @michaldudak, @mikailaread, @mj12albert, @mnajdova, @oliviertassinari, @sai6855, @Studio384, @tebersefa, @vadimka123, @zanivan, @ZeeshanTamboli
|
|
80
|
+
|
|
81
|
+
## 5.14.10
|
|
82
|
+
|
|
83
|
+
<!-- generated comparing v5.14.9..master -->
|
|
84
|
+
|
|
85
|
+
_Sep 18, 2023_
|
|
86
|
+
|
|
87
|
+
A big thanks to the 16 contributors who made this release possible. This release was mostly about 🐛 bug fixes and 📚 documentation improvements.
|
|
88
|
+
|
|
89
|
+
### `@mui/material@5.14.10`
|
|
90
|
+
|
|
91
|
+
- ​<!-- 20 -->[Chip] Add cursor CSS property reset (#38984) @DiegoAndai
|
|
92
|
+
|
|
93
|
+
### `@mui/utils@5.14.10`
|
|
94
|
+
|
|
95
|
+
- ​<!-- 05 -->[utils] Move @types/prop-types back to dependencies (#39030) @Methuselah96
|
|
96
|
+
|
|
97
|
+
### `@mui/base@5.0.0-beta.16`
|
|
98
|
+
|
|
99
|
+
- ​<!-- 24 -->[NumberInput][base-ui] Warn when changing control mode with `useControlled` (#38757) @sai6855
|
|
100
|
+
- ​<!-- 23 -->[Select][base-ui] Fix Select button layout shift, add placeholder prop (#38796) @mj12albert
|
|
101
|
+
- ​<!-- 22 -->[useList][base-ui] Accept arbitrary external props and forward to root (#38848) @mj12albert
|
|
102
|
+
- ​<!-- 25 -->[Autocomplete][base-ui] Added ref to getInputProps return value (#38919) @DarhkVoyd
|
|
103
|
+
|
|
104
|
+
### `@mui/joy@5.0.0-beta.7`
|
|
105
|
+
|
|
106
|
+
- ​<!-- 26 -->[AccordionGroup][joy-ui] Fix console warning when using custom color (#38950) @sai6855
|
|
107
|
+
- ​<!-- 07 -->[GlobalStyles][joy-ui] Ensure compatibility with RSC (#38955) @mateuseap
|
|
108
|
+
|
|
109
|
+
### Docs
|
|
110
|
+
|
|
111
|
+
- ​<!-- 21 -->[docs][base] Add Tailwind CSS + plain CSS demo on the NumberInput page (#38928) @alisasanib
|
|
112
|
+
- ​<!-- 13 -->[docs][Dialog] Add non-modal dialog docs & demo (#38684) @mnajdova
|
|
113
|
+
- ​<!-- 12 -->[docs] Fix number input wrong demo @oliviertassinari
|
|
114
|
+
- ​<!-- 11 -->[docs] Exclude joy-ui LinearProgressCountup from visual regression (#38969) @siriwatknp
|
|
115
|
+
- ​<!-- 09 -->[docs][joy-ui] Revise the Overview page (#38842) @danilo-leal
|
|
116
|
+
- ​<!-- 08 -->[docs][material-ui][Pagination] Add `TablePagination` to the API components list (#38486) @MonstraG
|
|
117
|
+
|
|
118
|
+
### Core
|
|
119
|
+
|
|
120
|
+
- ​<!-- 19 -->[core] Add more context about useEventCallback @oliviertassinari
|
|
121
|
+
- ​<!-- 18 -->[core] Allow deeper import of @mui/utils (#38806) @oliviertassinari
|
|
122
|
+
- ​<!-- 17 -->[core] Remove react-dom from @mui/utils peerDependencies (#38974) @michaldudak
|
|
123
|
+
- ​<!-- 16 -->[core] Remove react from styled-engine dependencies (#38971) @michaldudak
|
|
124
|
+
- ​<!-- 15 -->[core] Fix image loading bug on Safari @oliviertassinari
|
|
125
|
+
- ​<!-- 14 -->[core] Fix bundle size upload to S3 job (#38956) @Janpot
|
|
126
|
+
- ​<!-- 20 -->[core] Move eslint to peer dependencies of eslint-plugin-material-ui (#39033) @michaldudak
|
|
127
|
+
- ​<!-- 10 -->[docs-infra] Display markdown lists correctly in docs for props description (#38973) @ZeeshanTamboli
|
|
128
|
+
- ​<!-- 04 -->[website] Improve lighthouse score (#39011) @oliviertassinari
|
|
129
|
+
- ​<!-- 03 -->[website] Fix lighthouse issues @oliviertassinari
|
|
130
|
+
- ​<!-- 02 -->[website] Create the `InfoCard` component (#38987) @danilo-leal
|
|
131
|
+
- ​<!-- 01 -->[website] Small tweaks for performance @oliviertassinari
|
|
132
|
+
- ​<!-- 06 -->[zero][next] Setup nextjs plugin package (#38852) @brijeshb42
|
|
133
|
+
|
|
134
|
+
All contributors of this release in alphabetical order: @alisasanib, @brijeshb42, @danilo-leal, @DarhkVoyd, @DiegoAndai, @Janpot, @mateuseap, @Methuselah96, @michaldudak, @mj12albert, @mnajdova, @MonstraG, @oliviertassinari, @sai6855, @siriwatknp, @ZeeshanTamboli
|
|
135
|
+
|
|
3
136
|
## 5.14.9
|
|
4
137
|
|
|
5
138
|
<!-- generated comparing v5.14.8..master -->
|
package/Chip/Chip.js
CHANGED
|
@@ -93,6 +93,8 @@ const ChipRoot = styled('div', {
|
|
|
93
93
|
borderRadius: 32 / 2,
|
|
94
94
|
whiteSpace: 'nowrap',
|
|
95
95
|
transition: theme.transitions.create(['background-color', 'box-shadow']),
|
|
96
|
+
// reset cursor explicitly in case ButtonBase is used
|
|
97
|
+
cursor: 'unset',
|
|
96
98
|
// We disable the focus ring for mouse, touch and keyboard users.
|
|
97
99
|
outline: 0,
|
|
98
100
|
textDecoration: 'none',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
|
|
2
2
|
import generateUtilityClass from '../generateUtilityClass';
|
|
3
3
|
export function getListSubheaderUtilityClass(slot) {
|
|
4
4
|
return generateUtilityClass('MuiListSubheader', slot);
|
package/Select/SelectInput.js
CHANGED
|
@@ -493,6 +493,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
493
493
|
MenuListProps: _extends({
|
|
494
494
|
'aria-labelledby': labelId,
|
|
495
495
|
role: 'listbox',
|
|
496
|
+
'aria-multiselectable': multiple ? 'true' : undefined,
|
|
496
497
|
disableListWrap: true
|
|
497
498
|
}, MenuProps.MenuListProps),
|
|
498
499
|
slotProps: {
|
package/Tabs/Tabs.d.ts
CHANGED
|
@@ -155,7 +155,7 @@ export interface TabsOwnProps {
|
|
|
155
155
|
*
|
|
156
156
|
* - `scrollable` will invoke scrolling properties and allow for horizontally
|
|
157
157
|
* scrolling (or swiping) of the tab bar.
|
|
158
|
-
*
|
|
158
|
+
* - `fullWidth` will make the tabs grow to use all the available space,
|
|
159
159
|
* which should be used for small views, like on mobile.
|
|
160
160
|
* - `standard` will render the default state.
|
|
161
161
|
* @default 'standard'
|
package/Tabs/Tabs.js
CHANGED
|
@@ -798,7 +798,7 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
|
|
|
798
798
|
*
|
|
799
799
|
* - `scrollable` will invoke scrolling properties and allow for horizontally
|
|
800
800
|
* scrolling (or swiping) of the tab bar.
|
|
801
|
-
*
|
|
801
|
+
* - `fullWidth` will make the tabs grow to use all the available space,
|
|
802
802
|
* which should be used for small views, like on mobile.
|
|
803
803
|
* - `standard` will render the default state.
|
|
804
804
|
* @default 'standard'
|
package/index.js
CHANGED
package/legacy/Avatar/Avatar.js
CHANGED
|
@@ -159,8 +159,8 @@ var Avatar = /*#__PURE__*/React.forwardRef(function Avatar(inProps, ref) {
|
|
|
159
159
|
if (hasImgNotFailing) {
|
|
160
160
|
children = /*#__PURE__*/_jsx(AvatarImg, _extends({
|
|
161
161
|
alt: alt,
|
|
162
|
-
src: src,
|
|
163
162
|
srcSet: srcSet,
|
|
163
|
+
src: src,
|
|
164
164
|
sizes: sizes,
|
|
165
165
|
ownerState: ownerState,
|
|
166
166
|
className: classes.img
|
|
File without changes
|
package/legacy/Chip/Chip.js
CHANGED
|
@@ -67,6 +67,8 @@ var ChipRoot = styled('div', {
|
|
|
67
67
|
borderRadius: 32 / 2,
|
|
68
68
|
whiteSpace: 'nowrap',
|
|
69
69
|
transition: theme.transitions.create(['background-color', 'box-shadow']),
|
|
70
|
+
// reset cursor explicitly in case ButtonBase is used
|
|
71
|
+
cursor: 'unset',
|
|
70
72
|
// We disable the focus ring for mouse, touch and keyboard users.
|
|
71
73
|
outline: 0,
|
|
72
74
|
textDecoration: 'none',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
|
|
2
2
|
import generateUtilityClass from '../generateUtilityClass';
|
|
3
3
|
export function getListSubheaderUtilityClass(slot) {
|
|
4
4
|
return generateUtilityClass('MuiListSubheader', slot);
|
|
@@ -504,6 +504,7 @@ var SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, ref)
|
|
|
504
504
|
MenuListProps: _extends({
|
|
505
505
|
'aria-labelledby': labelId,
|
|
506
506
|
role: 'listbox',
|
|
507
|
+
'aria-multiselectable': multiple ? 'true' : undefined,
|
|
507
508
|
disableListWrap: true
|
|
508
509
|
}, MenuProps.MenuListProps),
|
|
509
510
|
slotProps: {
|
package/legacy/Tabs/Tabs.js
CHANGED
|
@@ -809,7 +809,7 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
|
|
|
809
809
|
*
|
|
810
810
|
* - `scrollable` will invoke scrolling properties and allow for horizontally
|
|
811
811
|
* scrolling (or swiping) of the tab bar.
|
|
812
|
-
*
|
|
812
|
+
* - `fullWidth` will make the tabs grow to use all the available space,
|
|
813
813
|
* which should be used for small views, like on mobile.
|
|
814
814
|
* - `standard` will render the default state.
|
|
815
815
|
* @default 'standard'
|
package/legacy/index.js
CHANGED
package/legacy/locale/index.js
CHANGED
|
@@ -3791,12 +3791,15 @@ export var trTR = {
|
|
|
3791
3791
|
// if (type === 'previous') {
|
|
3792
3792
|
return 'Önceki sayfaya git';
|
|
3793
3793
|
},
|
|
3794
|
-
labelRowsPerPage: 'Sayfa başına satır:'
|
|
3795
|
-
|
|
3796
|
-
|
|
3794
|
+
labelRowsPerPage: 'Sayfa başına satır:',
|
|
3795
|
+
labelDisplayedRows: function labelDisplayedRows(_ref41) {
|
|
3796
|
+
var from = _ref41.from,
|
|
3797
|
+
to = _ref41.to,
|
|
3798
|
+
count = _ref41.count;
|
|
3799
|
+
return "".concat(from, "-").concat(to, " / ").concat(count !== -1 ? count : "".concat(to, "'den fazla"));
|
|
3800
|
+
}
|
|
3797
3801
|
}
|
|
3798
3802
|
},
|
|
3799
|
-
|
|
3800
3803
|
MuiRating: {
|
|
3801
3804
|
defaultProps: {
|
|
3802
3805
|
getLabelText: function getLabelText(value) {
|
|
@@ -3867,10 +3870,10 @@ export var tlTL = {
|
|
|
3867
3870
|
return 'Pumunta sa nakaraang pahina';
|
|
3868
3871
|
},
|
|
3869
3872
|
labelRowsPerPage: 'Mga hilera bawat pahina:',
|
|
3870
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
3871
|
-
var from =
|
|
3872
|
-
to =
|
|
3873
|
-
count =
|
|
3873
|
+
labelDisplayedRows: function labelDisplayedRows(_ref42) {
|
|
3874
|
+
var from = _ref42.from,
|
|
3875
|
+
to = _ref42.to,
|
|
3876
|
+
count = _ref42.count;
|
|
3874
3877
|
return "".concat(from, "\u2013").concat(to, " ng ").concat(count !== -1 ? count : "higit sa ".concat(to));
|
|
3875
3878
|
}
|
|
3876
3879
|
}
|
|
@@ -3943,10 +3946,10 @@ export var ukUA = {
|
|
|
3943
3946
|
return 'Перейти на попередню сторінку';
|
|
3944
3947
|
},
|
|
3945
3948
|
labelRowsPerPage: 'Рядків на сторінці:',
|
|
3946
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
3947
|
-
var from =
|
|
3948
|
-
to =
|
|
3949
|
-
count =
|
|
3949
|
+
labelDisplayedRows: function labelDisplayedRows(_ref43) {
|
|
3950
|
+
var from = _ref43.from,
|
|
3951
|
+
to = _ref43.to,
|
|
3952
|
+
count = _ref43.count;
|
|
3950
3953
|
return "".concat(from, "\u2013").concat(to, " \u0437 ").concat(count !== -1 ? count : "\u043F\u043E\u043D\u0430\u0434 ".concat(to));
|
|
3951
3954
|
}
|
|
3952
3955
|
}
|
|
@@ -4026,10 +4029,10 @@ export var urPK = {
|
|
|
4026
4029
|
return 'پچھلے صفحے پر جائیں';
|
|
4027
4030
|
},
|
|
4028
4031
|
labelRowsPerPage: 'ایک صفحے پر قطاریں:',
|
|
4029
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
4030
|
-
var from =
|
|
4031
|
-
to =
|
|
4032
|
-
count =
|
|
4032
|
+
labelDisplayedRows: function labelDisplayedRows(_ref44) {
|
|
4033
|
+
var from = _ref44.from,
|
|
4034
|
+
to = _ref44.to,
|
|
4035
|
+
count = _ref44.count;
|
|
4033
4036
|
return "".concat(count !== -1 ? "".concat(count, " \u0645\u06CC\u06BA \u0633\u06D2") : "".concat(to, " \u0633\u06D2 \u0630\u06CC\u0627\u062F\u06C1 \u0645\u06CC\u06BA \u0633\u06D2"), " ").concat(from, " \u0633\u06D2 ").concat(to, " \u0642\u0637\u0627\u0631\u06CC\u06BA");
|
|
4034
4037
|
}
|
|
4035
4038
|
}
|
|
@@ -4102,10 +4105,10 @@ export var viVN = {
|
|
|
4102
4105
|
return 'Về trang trước đó';
|
|
4103
4106
|
},
|
|
4104
4107
|
labelRowsPerPage: 'Số hàng mỗi trang:',
|
|
4105
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
4106
|
-
var from =
|
|
4107
|
-
to =
|
|
4108
|
-
count =
|
|
4108
|
+
labelDisplayedRows: function labelDisplayedRows(_ref45) {
|
|
4109
|
+
var from = _ref45.from,
|
|
4110
|
+
to = _ref45.to,
|
|
4111
|
+
count = _ref45.count;
|
|
4109
4112
|
return "".concat(from, "\u2013").concat(to, " trong ").concat(count !== -1 ? count : "nhi\u1EC1u h\u01A1n ".concat(to));
|
|
4110
4113
|
}
|
|
4111
4114
|
}
|
|
@@ -4177,10 +4180,10 @@ export var zhCN = {
|
|
|
4177
4180
|
return '上一页';
|
|
4178
4181
|
},
|
|
4179
4182
|
labelRowsPerPage: '每页行数:',
|
|
4180
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
4181
|
-
var from =
|
|
4182
|
-
to =
|
|
4183
|
-
count =
|
|
4183
|
+
labelDisplayedRows: function labelDisplayedRows(_ref46) {
|
|
4184
|
+
var from = _ref46.from,
|
|
4185
|
+
to = _ref46.to,
|
|
4186
|
+
count = _ref46.count;
|
|
4184
4187
|
return "\u7B2C ".concat(from, " \u6761\u5230\u7B2C ").concat(to, " \u6761\uFF0C").concat(count !== -1 ? "\u5171 ".concat(count, " \u6761") : "\u81F3\u5C11 ".concat(to, " \u6761"));
|
|
4185
4188
|
}
|
|
4186
4189
|
}
|
|
@@ -4231,10 +4234,10 @@ export var zhHK = {
|
|
|
4231
4234
|
return '上一頁';
|
|
4232
4235
|
},
|
|
4233
4236
|
labelRowsPerPage: '每頁行數:',
|
|
4234
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
4235
|
-
var from =
|
|
4236
|
-
to =
|
|
4237
|
-
count =
|
|
4237
|
+
labelDisplayedRows: function labelDisplayedRows(_ref47) {
|
|
4238
|
+
var from = _ref47.from,
|
|
4239
|
+
to = _ref47.to,
|
|
4240
|
+
count = _ref47.count;
|
|
4238
4241
|
return "\u7B2C ".concat(from, " \u9805\u81F3\u7B2C ").concat(to, " \u9805\uFF0C").concat(count !== -1 ? "\u5171 ".concat(count, " \u9805") : "\u8D85\u904E ".concat(to, " \u9805"));
|
|
4239
4242
|
}
|
|
4240
4243
|
}
|
|
@@ -4285,10 +4288,10 @@ export var zhTW = {
|
|
|
4285
4288
|
return '上一頁';
|
|
4286
4289
|
},
|
|
4287
4290
|
labelRowsPerPage: '每頁數量:',
|
|
4288
|
-
labelDisplayedRows: function labelDisplayedRows(
|
|
4289
|
-
var from =
|
|
4290
|
-
to =
|
|
4291
|
-
count =
|
|
4291
|
+
labelDisplayedRows: function labelDisplayedRows(_ref48) {
|
|
4292
|
+
var from = _ref48.from,
|
|
4293
|
+
to = _ref48.to,
|
|
4294
|
+
count = _ref48.count;
|
|
4292
4295
|
return "".concat(from, " ~ ").concat(to, " / ").concat(count !== -1 ? count : "".concat(to, " \u4EE5\u4E0A"));
|
|
4293
4296
|
}
|
|
4294
4297
|
}
|
package/locale/index.js
CHANGED
|
@@ -3679,12 +3679,14 @@ export const trTR = {
|
|
|
3679
3679
|
// if (type === 'previous') {
|
|
3680
3680
|
return 'Önceki sayfaya git';
|
|
3681
3681
|
},
|
|
3682
|
-
labelRowsPerPage: 'Sayfa başına satır:'
|
|
3683
|
-
|
|
3684
|
-
|
|
3682
|
+
labelRowsPerPage: 'Sayfa başına satır:',
|
|
3683
|
+
labelDisplayedRows: ({
|
|
3684
|
+
from,
|
|
3685
|
+
to,
|
|
3686
|
+
count
|
|
3687
|
+
}) => `${from}-${to} / ${count !== -1 ? count : `${to}'den fazla`}`
|
|
3685
3688
|
}
|
|
3686
3689
|
},
|
|
3687
|
-
|
|
3688
3690
|
MuiRating: {
|
|
3689
3691
|
defaultProps: {
|
|
3690
3692
|
getLabelText: value => `${value} Yıldız`,
|
package/modern/Avatar/Avatar.js
CHANGED
|
@@ -158,8 +158,8 @@ const Avatar = /*#__PURE__*/React.forwardRef(function Avatar(inProps, ref) {
|
|
|
158
158
|
if (hasImgNotFailing) {
|
|
159
159
|
children = /*#__PURE__*/_jsx(AvatarImg, _extends({
|
|
160
160
|
alt: alt,
|
|
161
|
-
src: src,
|
|
162
161
|
srcSet: srcSet,
|
|
162
|
+
src: src,
|
|
163
163
|
sizes: sizes,
|
|
164
164
|
ownerState: ownerState,
|
|
165
165
|
className: classes.img
|
|
File without changes
|
package/modern/Chip/Chip.js
CHANGED
|
@@ -93,6 +93,8 @@ const ChipRoot = styled('div', {
|
|
|
93
93
|
borderRadius: 32 / 2,
|
|
94
94
|
whiteSpace: 'nowrap',
|
|
95
95
|
transition: theme.transitions.create(['background-color', 'box-shadow']),
|
|
96
|
+
// reset cursor explicitly in case ButtonBase is used
|
|
97
|
+
cursor: 'unset',
|
|
96
98
|
// We disable the focus ring for mouse, touch and keyboard users.
|
|
97
99
|
outline: 0,
|
|
98
100
|
textDecoration: 'none',
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import generateUtilityClasses from '@mui/utils/generateUtilityClasses';
|
|
2
2
|
import generateUtilityClass from '../generateUtilityClass';
|
|
3
3
|
export function getListSubheaderUtilityClass(slot) {
|
|
4
4
|
return generateUtilityClass('MuiListSubheader', slot);
|
|
@@ -492,6 +492,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
492
492
|
MenuListProps: _extends({
|
|
493
493
|
'aria-labelledby': labelId,
|
|
494
494
|
role: 'listbox',
|
|
495
|
+
'aria-multiselectable': multiple ? 'true' : undefined,
|
|
495
496
|
disableListWrap: true
|
|
496
497
|
}, MenuProps.MenuListProps),
|
|
497
498
|
slotProps: {
|
package/modern/Tabs/Tabs.js
CHANGED
|
@@ -798,7 +798,7 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
|
|
|
798
798
|
*
|
|
799
799
|
* - `scrollable` will invoke scrolling properties and allow for horizontally
|
|
800
800
|
* scrolling (or swiping) of the tab bar.
|
|
801
|
-
*
|
|
801
|
+
* - `fullWidth` will make the tabs grow to use all the available space,
|
|
802
802
|
* which should be used for small views, like on mobile.
|
|
803
803
|
* - `standard` will render the default state.
|
|
804
804
|
* @default 'standard'
|
package/modern/index.js
CHANGED
package/modern/locale/index.js
CHANGED
|
@@ -3679,12 +3679,14 @@ export const trTR = {
|
|
|
3679
3679
|
// if (type === 'previous') {
|
|
3680
3680
|
return 'Önceki sayfaya git';
|
|
3681
3681
|
},
|
|
3682
|
-
labelRowsPerPage: 'Sayfa başına satır:'
|
|
3683
|
-
|
|
3684
|
-
|
|
3682
|
+
labelRowsPerPage: 'Sayfa başına satır:',
|
|
3683
|
+
labelDisplayedRows: ({
|
|
3684
|
+
from,
|
|
3685
|
+
to,
|
|
3686
|
+
count
|
|
3687
|
+
}) => `${from}-${to} / ${count !== -1 ? count : `${to}'den fazla`}`
|
|
3685
3688
|
}
|
|
3686
3689
|
},
|
|
3687
|
-
|
|
3688
3690
|
MuiRating: {
|
|
3689
3691
|
defaultProps: {
|
|
3690
3692
|
getLabelText: value => `${value} Yıldız`,
|
package/node/Avatar/Avatar.js
CHANGED
|
@@ -166,8 +166,8 @@ const Avatar = /*#__PURE__*/React.forwardRef(function Avatar(inProps, ref) {
|
|
|
166
166
|
if (hasImgNotFailing) {
|
|
167
167
|
children = /*#__PURE__*/(0, _jsxRuntime.jsx)(AvatarImg, (0, _extends2.default)({
|
|
168
168
|
alt: alt,
|
|
169
|
-
src: src,
|
|
170
169
|
srcSet: srcSet,
|
|
170
|
+
src: src,
|
|
171
171
|
sizes: sizes,
|
|
172
172
|
ownerState: ownerState,
|
|
173
173
|
className: classes.img
|
|
File without changes
|
package/node/Chip/Chip.js
CHANGED
|
@@ -100,6 +100,8 @@ const ChipRoot = (0, _styled.default)('div', {
|
|
|
100
100
|
borderRadius: 32 / 2,
|
|
101
101
|
whiteSpace: 'nowrap',
|
|
102
102
|
transition: theme.transitions.create(['background-color', 'box-shadow']),
|
|
103
|
+
// reset cursor explicitly in case ButtonBase is used
|
|
104
|
+
cursor: 'unset',
|
|
103
105
|
// We disable the focus ring for mouse, touch and keyboard users.
|
|
104
106
|
outline: 0,
|
|
105
107
|
textDecoration: 'none',
|
|
@@ -6,11 +6,11 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
});
|
|
7
7
|
exports.default = void 0;
|
|
8
8
|
exports.getListSubheaderUtilityClass = getListSubheaderUtilityClass;
|
|
9
|
-
var
|
|
9
|
+
var _generateUtilityClasses = _interopRequireDefault(require("@mui/utils/generateUtilityClasses"));
|
|
10
10
|
var _generateUtilityClass = _interopRequireDefault(require("../generateUtilityClass"));
|
|
11
11
|
function getListSubheaderUtilityClass(slot) {
|
|
12
12
|
return (0, _generateUtilityClass.default)('MuiListSubheader', slot);
|
|
13
13
|
}
|
|
14
|
-
const listSubheaderClasses = (0,
|
|
14
|
+
const listSubheaderClasses = (0, _generateUtilityClasses.default)('MuiListSubheader', ['root', 'colorPrimary', 'colorInherit', 'gutters', 'inset', 'sticky']);
|
|
15
15
|
var _default = listSubheaderClasses;
|
|
16
16
|
exports.default = _default;
|
|
@@ -499,6 +499,7 @@ const SelectInput = /*#__PURE__*/React.forwardRef(function SelectInput(props, re
|
|
|
499
499
|
MenuListProps: (0, _extends2.default)({
|
|
500
500
|
'aria-labelledby': labelId,
|
|
501
501
|
role: 'listbox',
|
|
502
|
+
'aria-multiselectable': multiple ? 'true' : undefined,
|
|
502
503
|
disableListWrap: true
|
|
503
504
|
}, MenuProps.MenuListProps),
|
|
504
505
|
slotProps: {
|
|
@@ -8,7 +8,8 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
8
8
|
exports.default = void 0;
|
|
9
9
|
var _objectWithoutPropertiesLoose2 = _interopRequireDefault(require("@babel/runtime/helpers/objectWithoutPropertiesLoose"));
|
|
10
10
|
var _extends2 = _interopRequireDefault(require("@babel/runtime/helpers/extends"));
|
|
11
|
-
var
|
|
11
|
+
var _react = _interopRequireWildcard(require("react"));
|
|
12
|
+
var React = _react;
|
|
12
13
|
var _propTypes = _interopRequireDefault(require("prop-types"));
|
|
13
14
|
var _clsx = _interopRequireDefault(require("clsx"));
|
|
14
15
|
var _utils = require("@mui/utils");
|
|
@@ -223,7 +224,7 @@ const TablePagination = /*#__PURE__*/React.forwardRef(function TablePagination(i
|
|
|
223
224
|
// TODO v5 remove `selectIcon`
|
|
224
225
|
icon: (0, _clsx.default)(classes.selectIcon, (SelectProps.classes || {}).icon)
|
|
225
226
|
}),
|
|
226
|
-
children: rowsPerPageOptions.map(rowsPerPageOption => /*#__PURE__*/(0,
|
|
227
|
+
children: rowsPerPageOptions.map(rowsPerPageOption => /*#__PURE__*/(0, _react.createElement)(MenuItemComponent, (0, _extends2.default)({}, !(0, _base.isHostComponent)(MenuItemComponent) && {
|
|
227
228
|
ownerState
|
|
228
229
|
}, {
|
|
229
230
|
className: classes.menuItem,
|
package/node/Tabs/Tabs.js
CHANGED
|
@@ -805,7 +805,7 @@ process.env.NODE_ENV !== "production" ? Tabs.propTypes /* remove-proptypes */ =
|
|
|
805
805
|
*
|
|
806
806
|
* - `scrollable` will invoke scrolling properties and allow for horizontally
|
|
807
807
|
* scrolling (or swiping) of the tab bar.
|
|
808
|
-
*
|
|
808
|
+
* - `fullWidth` will make the tabs grow to use all the available space,
|
|
809
809
|
* which should be used for small views, like on mobile.
|
|
810
810
|
* - `standard` will render the default state.
|
|
811
811
|
* @default 'standard'
|
package/node/index.js
CHANGED
package/node/locale/index.js
CHANGED
|
@@ -3730,12 +3730,14 @@ const trTR = {
|
|
|
3730
3730
|
// if (type === 'previous') {
|
|
3731
3731
|
return 'Önceki sayfaya git';
|
|
3732
3732
|
},
|
|
3733
|
-
labelRowsPerPage: 'Sayfa başına satır:'
|
|
3734
|
-
|
|
3735
|
-
|
|
3733
|
+
labelRowsPerPage: 'Sayfa başına satır:',
|
|
3734
|
+
labelDisplayedRows: ({
|
|
3735
|
+
from,
|
|
3736
|
+
to,
|
|
3737
|
+
count
|
|
3738
|
+
}) => `${from}-${to} / ${count !== -1 ? count : `${to}'den fazla`}`
|
|
3736
3739
|
}
|
|
3737
3740
|
},
|
|
3738
|
-
|
|
3739
3741
|
MuiRating: {
|
|
3740
3742
|
defaultProps: {
|
|
3741
3743
|
getLabelText: value => `${value} Yıldız`,
|